@solar-taro/ui-vant 1.4.2 → 1.5.0

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 (113) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/cascader/index.vue.d.ts +2 -2
  3. package/cascader-picker/index.vue.d.ts +4 -4
  4. package/date-range-picker/index.vue.d.ts +1 -1
  5. package/index100.js +5 -5
  6. package/index101.js +5 -7
  7. package/index102.js +7 -17
  8. package/index103.js +17 -10
  9. package/index104.js +10 -5
  10. package/index105.js +4 -3
  11. package/index106.js +4 -4
  12. package/index107.js +4 -5
  13. package/index108.js +5 -6
  14. package/index109.js +7 -10
  15. package/index110.js +10 -32
  16. package/index111.js +1 -1
  17. package/index117.js +2 -2
  18. package/index118.js +2 -2
  19. package/index122.js +1 -1
  20. package/index124.js +1 -1
  21. package/index133.js +1 -1
  22. package/index140.js +1 -1
  23. package/index17.js +1 -1
  24. package/index18.js +1 -1
  25. package/index19.js +1 -1
  26. package/index20.js +1 -1
  27. package/index21.js +1 -1
  28. package/index22.js +1 -1
  29. package/index23.js +1 -1
  30. package/index24.js +1 -1
  31. package/index25.js +1 -1
  32. package/index26.js +1 -1
  33. package/index27.js +13 -5
  34. package/index28.js +9 -13
  35. package/index29.js +7 -8
  36. package/index3.js +1 -1
  37. package/index30.js +5 -8
  38. package/index32.js +6 -62
  39. package/index33.js +793 -3
  40. package/index34.js +63 -8
  41. package/index35.js +3 -6
  42. package/index36.js +8 -4
  43. package/index37.js +7 -2
  44. package/index38.js +2 -4
  45. package/index39.js +2 -10
  46. package/index4.js +1 -1
  47. package/index40.js +5 -4
  48. package/index41.js +10 -4
  49. package/index42.js +4 -2
  50. package/index43.js +4 -4
  51. package/index44.js +3 -8
  52. package/index45.js +3 -4
  53. package/index46.js +7 -4
  54. package/index47.js +4 -6
  55. package/index48.js +5 -6
  56. package/index49.js +7 -9
  57. package/index50.js +6 -5
  58. package/index51.js +9 -7
  59. package/index52.js +5 -5
  60. package/index53.js +6 -9
  61. package/index54.js +4 -6
  62. package/index55.js +9 -17
  63. package/index56.js +4 -9
  64. package/index57.js +17 -6
  65. package/index58.js +9 -10
  66. package/index59.js +6 -3
  67. package/index60.js +11 -10
  68. package/index61.js +3 -7
  69. package/index62.js +31 -9
  70. package/index63.js +7 -5
  71. package/index64.js +9 -6
  72. package/index65.js +10 -792
  73. package/index66.js +5 -5
  74. package/index67.js +6 -9
  75. package/index68.js +9 -16
  76. package/index69.js +15 -5
  77. package/index7.js +13 -16
  78. package/index70.js +5 -5
  79. package/index71.js +5 -8
  80. package/index72.js +8 -6
  81. package/index73.js +6 -5
  82. package/index74.js +4 -4
  83. package/index75.js +5 -6
  84. package/index76.js +5 -5
  85. package/index77.js +7 -26
  86. package/index78.js +26 -6
  87. package/index79.js +5 -39
  88. package/index80.js +39 -6
  89. package/index81.js +6 -5
  90. package/index82.js +6 -15
  91. package/index83.js +14 -7
  92. package/index84.js +8 -2
  93. package/index85.js +2 -3
  94. package/index86.js +3 -13
  95. package/index87.js +12 -4
  96. package/index88.js +5 -3
  97. package/index89.js +3 -4
  98. package/index9.js +2 -2
  99. package/index90.js +4 -4
  100. package/index91.js +3 -3
  101. package/index92.js +4 -4
  102. package/index93.js +4 -4
  103. package/index94.js +3 -14
  104. package/index95.js +14 -13
  105. package/index96.js +13 -8
  106. package/index97.js +9 -3
  107. package/index98.js +3 -6
  108. package/index99.js +5 -5
  109. package/list/index.vue.d.ts +1 -1
  110. package/modal/index.vue.d.ts +2 -2
  111. package/package.json +1 -1
  112. package/select-picker/index.vue.d.ts +4 -4
  113. package/selector/index.vue.d.ts +2 -2
package/index93.js CHANGED
@@ -1,6 +1,6 @@
1
- import a from "./index111.js";
2
- import o from "./index42.js";
3
- var e = a(o, "WeakMap");
1
+ import t from "./index111.js";
2
+ import o from "./index44.js";
3
+ var a = t(o, "Set");
4
4
  export {
5
- e as default
5
+ a as default
6
6
  };
package/index94.js CHANGED
@@ -1,17 +1,6 @@
1
- var o = Function.prototype, n = o.toString;
2
- function e(t) {
3
- if (t != null) {
4
- try {
5
- return n.call(t);
6
- } catch {
7
- }
8
- try {
9
- return t + "";
10
- } catch {
11
- }
12
- }
13
- return "";
14
- }
1
+ import a from "./index111.js";
2
+ import o from "./index44.js";
3
+ var e = a(o, "WeakMap");
15
4
  export {
16
5
  e as default
17
6
  };
package/index95.js CHANGED
@@ -1,16 +1,17 @@
1
- import o from "./index39.js";
2
- import e from "./index96.js";
3
- import a from "./index45.js";
4
- import n from "./index94.js";
5
- var p = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, s = Function.prototype, c = Object.prototype, f = s.toString, m = c.hasOwnProperty, u = RegExp(
6
- "^" + f.call(m).replace(p, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7
- );
8
- function O(r) {
9
- if (!a(r) || e(r))
10
- return !1;
11
- var t = o(r) ? u : i;
12
- return t.test(n(r));
1
+ var o = Function.prototype, n = o.toString;
2
+ function e(t) {
3
+ if (t != null) {
4
+ try {
5
+ return n.call(t);
6
+ } catch {
7
+ }
8
+ try {
9
+ return t + "";
10
+ } catch {
11
+ }
12
+ }
13
+ return "";
13
14
  }
14
15
  export {
15
- O as default
16
+ e as default
16
17
  };
package/index96.js CHANGED
@@ -1,11 +1,16 @@
1
- import e from "./index124.js";
2
- var a = function() {
3
- var r = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
4
- return r ? "Symbol(src)_1." + r : "";
5
- }();
6
- function t(r) {
7
- return !!a && a in r;
1
+ import o from "./index41.js";
2
+ import e from "./index97.js";
3
+ import a from "./index47.js";
4
+ import n from "./index95.js";
5
+ var p = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, s = Function.prototype, c = Object.prototype, f = s.toString, m = c.hasOwnProperty, u = RegExp(
6
+ "^" + f.call(m).replace(p, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7
+ );
8
+ function O(r) {
9
+ if (!a(r) || e(r))
10
+ return !1;
11
+ var t = o(r) ? u : i;
12
+ return t.test(n(r));
8
13
  }
9
14
  export {
10
- t as default
15
+ O as default
11
16
  };
package/index97.js CHANGED
@@ -1,5 +1,11 @@
1
- import t from "./index98.js";
2
- var o = t(Object.getPrototypeOf, Object);
1
+ import e from "./index124.js";
2
+ var a = function() {
3
+ var r = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
4
+ return r ? "Symbol(src)_1." + r : "";
5
+ }();
6
+ function t(r) {
7
+ return !!a && a in r;
8
+ }
3
9
  export {
4
- o as default
10
+ t as default
5
11
  };
package/index98.js CHANGED
@@ -1,8 +1,5 @@
1
- function e(r, n) {
2
- return function(t) {
3
- return r(n(t));
4
- };
5
- }
1
+ import t from "./index99.js";
2
+ var o = t(Object.getPrototypeOf, Object);
6
3
  export {
7
- e as default
4
+ o as default
8
5
  };
package/index99.js CHANGED
@@ -1,8 +1,8 @@
1
- function i(r, t) {
2
- for (var e = -1, a = Array(r); ++e < r; )
3
- a[e] = t(e);
4
- return a;
1
+ function e(r, n) {
2
+ return function(t) {
3
+ return r(n(t));
4
+ };
5
5
  }
6
6
  export {
7
- i as default
7
+ e as default
8
8
  };
@@ -93,7 +93,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
93
93
  refresherBg: string;
94
94
  loadingText: string;
95
95
  flex: boolean;
96
- emptyType: "search" | "default" | "error" | "network";
96
+ emptyType: "default" | "error" | "search" | "network";
97
97
  emptyText: string;
98
98
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
99
99
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -12,8 +12,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
12
12
  confirmText: string;
13
13
  showButtons: boolean;
14
14
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- confirm: () => void;
16
15
  close: () => void;
16
+ confirm: () => void;
17
17
  "update:show": (args_0: boolean) => void;
18
18
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
19
  show: boolean;
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
25
25
  confirmText: string;
26
26
  showButtons: boolean;
27
27
  }>>> & Readonly<{
28
- onConfirm?: (() => any) | undefined;
29
28
  onClose?: (() => any) | undefined;
29
+ onConfirm?: (() => any) | undefined;
30
30
  "onUpdate:show"?: ((args_0: boolean) => any) | undefined;
31
31
  }>, {
32
32
  showButtons: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "1.4.2",
3
+ "version": "1.5.0",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -16,11 +16,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
16
16
  valueKey: string;
17
17
  searchable: boolean;
18
18
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ cancel: (model: any) => void;
20
+ close: () => void;
19
21
  confirm: (options: any) => void;
20
22
  "update:modelValue": (model: any) => void;
21
- close: () => void;
22
23
  "update:show": (args_0: boolean) => void;
23
- cancel: (model: any) => void;
24
24
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
25
25
  show: boolean;
26
26
  labelKey?: string;
@@ -36,11 +36,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
36
36
  valueKey: string;
37
37
  searchable: boolean;
38
38
  }>>> & Readonly<{
39
+ onCancel?: ((model: any) => any) | undefined;
40
+ onClose?: (() => any) | undefined;
39
41
  onConfirm?: ((options: any) => any) | undefined;
40
42
  "onUpdate:modelValue"?: ((model: any) => any) | undefined;
41
- onClose?: (() => any) | undefined;
42
43
  "onUpdate:show"?: ((args_0: boolean) => any) | undefined;
43
- onCancel?: ((model: any) => any) | undefined;
44
44
  }>, {
45
45
  labelKey: string;
46
46
  valueKey: string;
@@ -68,12 +68,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
68
68
  present: typeof present;
69
69
  clear: typeof clear;
70
70
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
71
+ close: () => void;
71
72
  select: (args_0: SelectorOption) => void;
72
73
  clear: (args_0: unknown) => void;
73
74
  confirm: (args_0: SelectorOption[]) => void;
74
75
  "update:modelValue": (args_0: unknown) => void;
75
76
  refresh: () => void;
76
- close: () => void;
77
77
  unselect: (args_0: SelectorOption) => void;
78
78
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
79
79
  type?: "field" | "search";
@@ -108,12 +108,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
108
108
  searchable: boolean;
109
109
  compareWith: (a: any, b: any) => boolean;
110
110
  }>>> & Readonly<{
111
+ onClose?: (() => any) | undefined;
111
112
  onSelect?: ((args_0: SelectorOption) => any) | undefined;
112
113
  onClear?: ((args_0: unknown) => any) | undefined;
113
114
  onConfirm?: ((args_0: SelectorOption[]) => any) | undefined;
114
115
  "onUpdate:modelValue"?: ((args_0: unknown) => any) | undefined;
115
116
  onRefresh?: (() => any) | undefined;
116
- onClose?: (() => any) | undefined;
117
117
  onUnselect?: ((args_0: SelectorOption) => any) | undefined;
118
118
  }>, {
119
119
  type: "field" | "search";