@solar-taro/ui-vant 2.6.4 → 2.7.1

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 (125) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/cascader/index.vue.d.ts +1 -0
  3. package/index10.js +200 -190
  4. package/index100.js +4 -6
  5. package/index101.js +6 -10
  6. package/index102.js +6 -6
  7. package/index103.js +10 -18
  8. package/index104.js +6 -4
  9. package/index105.js +17 -4
  10. package/index106.js +4 -3
  11. package/index107.js +4 -3
  12. package/index108.js +3 -14
  13. package/index109.js +4 -8
  14. package/index110.js +14 -5
  15. package/index111.js +8 -6
  16. package/index112.js +5 -5
  17. package/index113.js +5 -5
  18. package/index114.js +5 -5
  19. package/index115.js +6 -3
  20. package/index116.js +5 -17
  21. package/index117.js +3 -6
  22. package/index118.js +17 -3
  23. package/index119.js +5 -3
  24. package/index120.js +3 -9
  25. package/index121.js +3 -5
  26. package/index122.js +9 -4
  27. package/index123.js +5 -5
  28. package/index124.js +5 -3
  29. package/index125.js +5 -4
  30. package/index126.js +3 -5
  31. package/index127.js +4 -10
  32. package/index128.js +4 -6
  33. package/index129.js +10 -6
  34. package/index130.js +6 -4
  35. package/index131.js +6 -7
  36. package/index132.js +5 -3
  37. package/index133.js +10 -0
  38. package/index134.js +5 -0
  39. package/index16.js +1 -1
  40. package/index17.js +1 -1
  41. package/index18.js +1 -1
  42. package/index19.js +1 -1
  43. package/index20.js +1 -1
  44. package/index21.js +1 -1
  45. package/index22.js +1 -1
  46. package/index23.js +1 -1
  47. package/index24.js +1 -1
  48. package/index25.js +35 -3
  49. package/index26.js +3 -62
  50. package/index27.js +24 -3
  51. package/index28.js +63 -8
  52. package/index29.js +3 -6
  53. package/index3.js +28 -27
  54. package/index30.js +8 -4
  55. package/index31.js +7 -2
  56. package/index32.js +2 -4
  57. package/index33.js +2 -10
  58. package/index34.js +5 -4
  59. package/index35.js +10 -4
  60. package/index36.js +4 -2
  61. package/index37.js +4 -4
  62. package/index38.js +3 -8
  63. package/index39.js +3 -4
  64. package/index40.js +7 -4
  65. package/index41.js +4 -6
  66. package/index42.js +5 -6
  67. package/index43.js +7 -9
  68. package/index44.js +6 -5
  69. package/index45.js +9 -7
  70. package/index46.js +5 -5
  71. package/index47.js +6 -9
  72. package/index48.js +4 -6
  73. package/index49.js +9 -17
  74. package/index50.js +4 -9
  75. package/index51.js +17 -6
  76. package/index52.js +9 -10
  77. package/index53.js +6 -3
  78. package/index54.js +12 -7
  79. package/index55.js +3 -9
  80. package/index56.js +2 -2
  81. package/index57.js +7 -5
  82. package/index58.js +9 -5
  83. package/index59.js +6 -9
  84. package/index60.js +5 -15
  85. package/index61.js +9 -6
  86. package/index62.js +15 -5
  87. package/index63.js +5 -8
  88. package/index64.js +5 -6
  89. package/index65.js +8 -5
  90. package/index66.js +6 -5
  91. package/index67.js +4 -5
  92. package/index68.js +5 -6
  93. package/index69.js +7 -26
  94. package/index70.js +6 -5
  95. package/index71.js +26 -40
  96. package/index72.js +3 -4
  97. package/index73.js +39 -5
  98. package/index74.js +7 -15
  99. package/index75.js +5 -7
  100. package/index76.js +15 -2
  101. package/index77.js +8 -3
  102. package/index78.js +3 -13
  103. package/index79.js +12 -4
  104. package/index80.js +5 -3
  105. package/index81.js +2 -4
  106. package/index82.js +3 -4
  107. package/index83.js +4 -4
  108. package/index84.js +4 -4
  109. package/index85.js +4 -4
  110. package/index86.js +4 -15
  111. package/index87.js +4 -14
  112. package/index88.js +14 -8
  113. package/index89.js +14 -3
  114. package/index90.js +8 -5
  115. package/index91.js +3 -6
  116. package/index92.js +5 -5
  117. package/index93.js +5 -7
  118. package/index94.js +5 -17
  119. package/index95.js +7 -10
  120. package/index96.js +17 -5
  121. package/index97.js +10 -4
  122. package/index98.js +5 -4
  123. package/index99.js +4 -5
  124. package/package.json +3 -2
  125. package/selector/index.vue.d.ts +4 -0
package/index76.js CHANGED
@@ -1,4 +1,17 @@
1
- var l = typeof global == "object" && global && global.Object === Object && global;
1
+ import u from "./index41.js";
2
+ var r = Object.create, c = /* @__PURE__ */ function() {
3
+ function e() {
4
+ }
5
+ return function(t) {
6
+ if (!u(t))
7
+ return {};
8
+ if (r)
9
+ return r(t);
10
+ e.prototype = t;
11
+ var n = new e();
12
+ return e.prototype = void 0, n;
13
+ };
14
+ }();
2
15
  export {
3
- l as default
16
+ c as default
4
17
  };
package/index77.js CHANGED
@@ -1,5 +1,10 @@
1
- import o from "./index36.js";
2
- var m = o.Symbol;
1
+ function d(e, i) {
2
+ for (var n = -1, r = e == null ? 0 : e.length, u = 0, t = []; ++n < r; ) {
3
+ var l = e[n];
4
+ i(l, n, e) && (t[u++] = l);
5
+ }
6
+ return t;
7
+ }
3
8
  export {
4
- m as default
9
+ d as default
5
10
  };
package/index78.js CHANGED
@@ -1,15 +1,5 @@
1
- import e from "./index77.js";
2
- var o = Object.prototype, c = o.hasOwnProperty, f = o.toString, r = e ? e.toStringTag : void 0;
3
- function p(t) {
4
- var a = c.call(t, r), n = t[r];
5
- try {
6
- t[r] = void 0;
7
- var i = !0;
8
- } catch {
9
- }
10
- var g = f.call(t);
11
- return i && (a ? t[r] = n : delete t[r]), g;
12
- }
1
+ import o from "./index38.js";
2
+ var m = o.Symbol;
13
3
  export {
14
- p as default
4
+ m as default
15
5
  };
package/index79.js CHANGED
@@ -1,7 +1,15 @@
1
- var o = Object.prototype, r = o.toString;
2
- function e(t) {
3
- return r.call(t);
1
+ import e from "./index78.js";
2
+ var o = Object.prototype, c = o.hasOwnProperty, f = o.toString, r = e ? e.toStringTag : void 0;
3
+ function p(t) {
4
+ var a = c.call(t, r), n = t[r];
5
+ try {
6
+ t[r] = void 0;
7
+ var i = !0;
8
+ } catch {
9
+ }
10
+ var g = f.call(t);
11
+ return i && (a ? t[r] = n : delete t[r]), g;
4
12
  }
5
13
  export {
6
- e as default
14
+ p as default
7
15
  };
package/index80.js CHANGED
@@ -1,5 +1,7 @@
1
- import e from "./index90.js";
2
- var t = e(Object.keys, Object);
1
+ var o = Object.prototype, r = o.toString;
2
+ function e(t) {
3
+ return r.call(t);
4
+ }
3
5
  export {
4
- t as default
6
+ e as default
5
7
  };
package/index81.js CHANGED
@@ -1,6 +1,4 @@
1
- import t from "./index102.js";
2
- import a from "./index36.js";
3
- var e = t(a, "DataView");
1
+ var l = typeof global == "object" && global && global.Object === Object && global;
4
2
  export {
5
- e as default
3
+ l as default
6
4
  };
package/index82.js CHANGED
@@ -1,6 +1,5 @@
1
- import o from "./index102.js";
2
- import r from "./index36.js";
3
- var p = o(r, "Map");
1
+ import e from "./index92.js";
2
+ var t = e(Object.keys, Object);
4
3
  export {
5
- p as default
4
+ t as default
6
5
  };
package/index83.js CHANGED
@@ -1,6 +1,6 @@
1
- import o from "./index102.js";
2
- import r from "./index36.js";
3
- var m = o(r, "Promise");
1
+ import t from "./index104.js";
2
+ import a from "./index38.js";
3
+ var e = t(a, "DataView");
4
4
  export {
5
- m as default
5
+ e as default
6
6
  };
package/index84.js CHANGED
@@ -1,6 +1,6 @@
1
- import t from "./index102.js";
2
- import o from "./index36.js";
3
- var a = t(o, "Set");
1
+ import o from "./index104.js";
2
+ import r from "./index38.js";
3
+ var p = o(r, "Map");
4
4
  export {
5
- a as default
5
+ p as default
6
6
  };
package/index85.js CHANGED
@@ -1,6 +1,6 @@
1
- import a from "./index102.js";
2
- import o from "./index36.js";
3
- var e = a(o, "WeakMap");
1
+ import o from "./index104.js";
2
+ import r from "./index38.js";
3
+ var m = o(r, "Promise");
4
4
  export {
5
- e as default
5
+ m as default
6
6
  };
package/index86.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 t from "./index104.js";
2
+ import o from "./index38.js";
3
+ var a = t(o, "Set");
15
4
  export {
16
- e as default
5
+ a as default
17
6
  };
package/index87.js CHANGED
@@ -1,16 +1,6 @@
1
- import o from "./index33.js";
2
- import e from "./index88.js";
3
- import a from "./index39.js";
4
- import n from "./index86.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));
13
- }
1
+ import a from "./index104.js";
2
+ import o from "./index38.js";
3
+ var e = a(o, "WeakMap");
14
4
  export {
15
- O as default
5
+ e as default
16
6
  };
package/index88.js CHANGED
@@ -1,11 +1,17 @@
1
- import e from "./index115.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
+ 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 "";
8
14
  }
9
15
  export {
10
- t as default
16
+ e as default
11
17
  };
package/index89.js CHANGED
@@ -1,5 +1,16 @@
1
- import t from "./index90.js";
2
- var o = t(Object.getPrototypeOf, Object);
1
+ import o from "./index35.js";
2
+ import e from "./index90.js";
3
+ import a from "./index41.js";
4
+ import n from "./index88.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));
13
+ }
3
14
  export {
4
- o as default
15
+ O as default
5
16
  };
package/index90.js CHANGED
@@ -1,8 +1,11 @@
1
- function e(r, n) {
2
- return function(t) {
3
- return r(n(t));
4
- };
1
+ import e from "./index117.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;
5
8
  }
6
9
  export {
7
- e as default
10
+ t as default
8
11
  };
package/index91.js CHANGED
@@ -1,8 +1,5 @@
1
- function i(r, t) {
2
- for (var e = -1, a = Array(r); ++e < r; )
3
- a[e] = t(e);
4
- return a;
5
- }
1
+ import t from "./index92.js";
2
+ var o = t(Object.getPrototypeOf, Object);
6
3
  export {
7
- i as default
4
+ o as default
8
5
  };
package/index92.js CHANGED
@@ -1,8 +1,8 @@
1
- var o = 9007199254740991, d = /^(?:0|[1-9]\d*)$/;
2
- function f(r, s) {
3
- var t = typeof r;
4
- return s = s == null ? o : s, !!s && (t == "number" || t != "symbol" && d.test(r)) && r > -1 && r % 1 == 0 && r < s;
1
+ function e(r, n) {
2
+ return function(t) {
3
+ return r(n(t));
4
+ };
5
5
  }
6
6
  export {
7
- f as default
7
+ e as default
8
8
  };
package/index93.js CHANGED
@@ -1,10 +1,8 @@
1
- function t(n) {
2
- var r = [];
3
- if (n != null)
4
- for (var e in Object(n))
5
- r.push(e);
6
- return r;
1
+ function i(r, t) {
2
+ for (var e = -1, a = Array(r); ++e < r; )
3
+ a[e] = t(e);
4
+ return a;
7
5
  }
8
6
  export {
9
- t as default
7
+ i as default
10
8
  };
package/index94.js CHANGED
@@ -1,20 +1,8 @@
1
- import r from "./index95.js";
2
- import m from "./index96.js";
3
- import h from "./index97.js";
4
- import l from "./index98.js";
5
- import c from "./index99.js";
6
- function e(t) {
7
- var o = -1, a = t == null ? 0 : t.length;
8
- for (this.clear(); ++o < a; ) {
9
- var p = t[o];
10
- this.set(p[0], p[1]);
11
- }
1
+ var o = 9007199254740991, d = /^(?:0|[1-9]\d*)$/;
2
+ function f(r, s) {
3
+ var t = typeof r;
4
+ return s = s == null ? o : s, !!s && (t == "number" || t != "symbol" && d.test(r)) && r > -1 && r % 1 == 0 && r < s;
12
5
  }
13
- e.prototype.clear = r;
14
- e.prototype.delete = m;
15
- e.prototype.get = h;
16
- e.prototype.has = l;
17
- e.prototype.set = c;
18
6
  export {
19
- e as default
7
+ f as default
20
8
  };
package/index95.js CHANGED
@@ -1,13 +1,10 @@
1
- import a from "./index116.js";
2
- import t from "./index103.js";
3
- import e from "./index82.js";
4
- function o() {
5
- this.size = 0, this.__data__ = {
6
- hash: new a(),
7
- map: new (e || t)(),
8
- string: new a()
9
- };
1
+ function t(n) {
2
+ var r = [];
3
+ if (n != null)
4
+ for (var e in Object(n))
5
+ r.push(e);
6
+ return r;
10
7
  }
11
8
  export {
12
- o as default
9
+ t as default
13
10
  };
package/index96.js CHANGED
@@ -1,8 +1,20 @@
1
- import a from "./index117.js";
2
- function i(e) {
3
- var t = a(this, e).delete(e);
4
- return this.size -= t ? 1 : 0, t;
1
+ import r from "./index97.js";
2
+ import m from "./index98.js";
3
+ import h from "./index99.js";
4
+ import l from "./index100.js";
5
+ import c from "./index101.js";
6
+ function e(t) {
7
+ var o = -1, a = t == null ? 0 : t.length;
8
+ for (this.clear(); ++o < a; ) {
9
+ var p = t[o];
10
+ this.set(p[0], p[1]);
11
+ }
5
12
  }
13
+ e.prototype.clear = r;
14
+ e.prototype.delete = m;
15
+ e.prototype.get = h;
16
+ e.prototype.has = l;
17
+ e.prototype.set = c;
6
18
  export {
7
- i as default
19
+ e as default
8
20
  };
package/index97.js CHANGED
@@ -1,7 +1,13 @@
1
- import a from "./index117.js";
2
- function r(t) {
3
- return a(this, t).get(t);
1
+ import a from "./index118.js";
2
+ import t from "./index105.js";
3
+ import e from "./index84.js";
4
+ function o() {
5
+ this.size = 0, this.__data__ = {
6
+ hash: new a(),
7
+ map: new (e || t)(),
8
+ string: new a()
9
+ };
4
10
  }
5
11
  export {
6
- r as default
12
+ o as default
7
13
  };
package/index98.js CHANGED
@@ -1,7 +1,8 @@
1
- import t from "./index117.js";
2
- function e(a) {
3
- return t(this, a).has(a);
1
+ import a from "./index119.js";
2
+ function i(e) {
3
+ var t = a(this, e).delete(e);
4
+ return this.size -= t ? 1 : 0, t;
4
5
  }
5
6
  export {
6
- e as default
7
+ i as default
7
8
  };
package/index99.js CHANGED
@@ -1,8 +1,7 @@
1
- import s from "./index117.js";
2
- function h(a, e) {
3
- var t = s(this, a), i = t.size;
4
- return t.set(a, e), this.size += t.size == i ? 0 : 1, this;
1
+ import a from "./index119.js";
2
+ function r(t) {
3
+ return a(this, t).get(t);
5
4
  }
6
5
  export {
7
- h as default
6
+ r as default
8
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "2.6.4",
3
+ "version": "2.7.1",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -10,7 +10,8 @@
10
10
  "access": "public"
11
11
  },
12
12
  "dependencies": {
13
- "lodash-es": "^4.17.0"
13
+ "lodash-es": "^4.17.0",
14
+ "@vueuse/core": "^14.0.0"
14
15
  },
15
16
  "devDependencies": {
16
17
  "@types/lodash-es": "^4.17.0"
@@ -23,6 +23,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
23
23
  /** 多选模式下,分割符 */
24
24
  delimiter?: string;
25
25
  searchable?: boolean;
26
+ clearable?: boolean;
26
27
  searcher?: (option: T, keyword: string) => boolean;
27
28
  virtual?: boolean | {
28
29
  itemSize?: number;
@@ -76,6 +77,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
76
77
  index: number;
77
78
  active: boolean;
78
79
  }): any;
80
+ list?(_: {
81
+ ListTemplate: import('@vueuse/core').ReuseTemplateComponent<Record<string, any>, Record<"default", undefined>>;
82
+ }): any;
79
83
  buttons?(_: {
80
84
  confirm: () => void;
81
85
  }): any;