@solar-taro/ui-vant 2.5.0 → 2.5.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 (134) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/cascader/index.scss +6 -0
  3. package/directives/binding.d.ts +10 -0
  4. package/directives/index.d.ts +1 -0
  5. package/index.js +18 -16
  6. package/index10.js +213 -196
  7. package/index100.js +7 -10
  8. package/index101.js +9 -6
  9. package/index102.js +6 -17
  10. package/index103.js +17 -4
  11. package/index104.js +4 -4
  12. package/index105.js +4 -3
  13. package/index106.js +3 -3
  14. package/index107.js +3 -14
  15. package/index108.js +14 -7
  16. package/index109.js +8 -6
  17. package/index110.js +5 -5
  18. package/index111.js +5 -5
  19. package/index112.js +5 -5
  20. package/index113.js +5 -5
  21. package/index114.js +6 -3
  22. package/index115.js +3 -18
  23. package/index116.js +17 -5
  24. package/index117.js +5 -3
  25. package/index118.js +3 -3
  26. package/index119.js +3 -9
  27. package/index12.js +3 -28
  28. package/index120.js +9 -5
  29. package/index121.js +5 -4
  30. package/index122.js +4 -5
  31. package/index123.js +6 -3
  32. package/index124.js +3 -5
  33. package/index125.js +4 -4
  34. package/index126.js +4 -10
  35. package/index127.js +4 -6
  36. package/index128.js +10 -6
  37. package/index129.js +6 -4
  38. package/index13.js +28 -4
  39. package/index130.js +6 -7
  40. package/index131.js +8 -3
  41. package/index132.js +5 -0
  42. package/index14.js +5 -64
  43. package/index15.js +64 -2
  44. package/index16.js +1 -1
  45. package/index18.js +1 -1
  46. package/index2.js +1 -1
  47. package/index20.js +1 -1
  48. package/index22.js +1 -1
  49. package/index23.js +2 -6
  50. package/index24.js +5 -3
  51. package/index25.js +3 -62
  52. package/index26.js +62 -3
  53. package/index27.js +4 -8
  54. package/index28.js +7 -6
  55. package/index29.js +6 -3
  56. package/index3.js +1 -0
  57. package/index30.js +4 -2
  58. package/index31.js +2 -6
  59. package/index32.js +5 -9
  60. package/index33.js +9 -4
  61. package/index34.js +5 -4
  62. package/index35.js +4 -3
  63. package/index36.js +3 -4
  64. package/index37.js +3 -7
  65. package/index38.js +7 -4
  66. package/index39.js +5 -5
  67. package/index4.js +1 -1
  68. package/index40.js +5 -7
  69. package/index41.js +6 -5
  70. package/index42.js +6 -9
  71. package/index43.js +9 -5
  72. package/index44.js +5 -7
  73. package/index45.js +6 -4
  74. package/index46.js +5 -10
  75. package/index47.js +9 -6
  76. package/index48.js +6 -17
  77. package/index49.js +17 -11
  78. package/index5.js +1 -1
  79. package/index50.js +11 -6
  80. package/index51.js +6 -12
  81. package/index52.js +12 -3
  82. package/index53.js +3 -11
  83. package/index54.js +11 -7
  84. package/index55.js +7 -9
  85. package/index56.js +9 -5
  86. package/index57.js +5 -5
  87. package/index58.js +6 -9
  88. package/index59.js +8 -15
  89. package/index60.js +15 -5
  90. package/index61.js +5 -5
  91. package/index62.js +5 -8
  92. package/index63.js +8 -6
  93. package/index64.js +6 -5
  94. package/index65.js +4 -4
  95. package/index66.js +5 -6
  96. package/index67.js +5 -5
  97. package/index68.js +7 -26
  98. package/index69.js +26 -6
  99. package/index7.js +25 -19
  100. package/index70.js +5 -39
  101. package/index71.js +39 -6
  102. package/index72.js +6 -5
  103. package/index73.js +6 -15
  104. package/index74.js +14 -7
  105. package/index75.js +8 -2
  106. package/index76.js +2 -3
  107. package/index77.js +3 -13
  108. package/index78.js +12 -4
  109. package/index79.js +5 -3
  110. package/index8.js +1 -1
  111. package/index80.js +3 -4
  112. package/index81.js +4 -4
  113. package/index82.js +4 -4
  114. package/index83.js +4 -4
  115. package/index84.js +4 -4
  116. package/index85.js +3 -14
  117. package/index86.js +14 -13
  118. package/index87.js +13 -8
  119. package/index88.js +9 -3
  120. package/index89.js +3 -6
  121. package/index90.js +5 -5
  122. package/index91.js +5 -5
  123. package/index92.js +5 -7
  124. package/index93.js +7 -17
  125. package/index94.js +17 -10
  126. package/index95.js +9 -4
  127. package/index96.js +5 -4
  128. package/index97.js +4 -4
  129. package/index98.js +4 -5
  130. package/index99.js +5 -6
  131. package/modal/index.vue.d.ts +1 -0
  132. package/package.json +1 -1
  133. package/selector/index.scss +11 -0
  134. package/selector/index.vue.d.ts +2 -1
package/index102.js CHANGED
@@ -1,20 +1,9 @@
1
- import p from "./index118.js";
2
- import a from "./index119.js";
3
- import i from "./index120.js";
4
- import h from "./index121.js";
5
- import s from "./index122.js";
6
- function t(e) {
7
- var o = -1, l = e == null ? 0 : e.length;
8
- for (this.clear(); ++o < l; ) {
9
- var r = e[o];
10
- this.set(r[0], r[1]);
11
- }
1
+ import r from "./index87.js";
2
+ import i from "./index118.js";
3
+ function f(t, a) {
4
+ var e = i(t, a);
5
+ return r(e) ? e : void 0;
12
6
  }
13
- t.prototype.clear = p;
14
- t.prototype.delete = a;
15
- t.prototype.get = i;
16
- t.prototype.has = h;
17
- t.prototype.set = s;
18
7
  export {
19
- t as default
8
+ f as default
20
9
  };
package/index103.js CHANGED
@@ -1,7 +1,20 @@
1
- import t from "./index102.js";
2
- function e() {
3
- this.__data__ = new t(), this.size = 0;
1
+ import p from "./index119.js";
2
+ import a from "./index120.js";
3
+ import i from "./index121.js";
4
+ import h from "./index122.js";
5
+ import s from "./index123.js";
6
+ function t(e) {
7
+ var o = -1, l = e == null ? 0 : e.length;
8
+ for (this.clear(); ++o < l; ) {
9
+ var r = e[o];
10
+ this.set(r[0], r[1]);
11
+ }
4
12
  }
13
+ t.prototype.clear = p;
14
+ t.prototype.delete = a;
15
+ t.prototype.get = i;
16
+ t.prototype.has = h;
17
+ t.prototype.set = s;
5
18
  export {
6
- e as default
19
+ t as default
7
20
  };
package/index104.js CHANGED
@@ -1,7 +1,7 @@
1
- function s(t) {
2
- var e = this.__data__, a = e.delete(t);
3
- return this.size = e.size, a;
1
+ import t from "./index103.js";
2
+ function e() {
3
+ this.__data__ = new t(), this.size = 0;
4
4
  }
5
5
  export {
6
- s as default
6
+ e as default
7
7
  };
package/index105.js CHANGED
@@ -1,6 +1,7 @@
1
- function a(t) {
2
- return this.__data__.get(t);
1
+ function s(t) {
2
+ var e = this.__data__, a = e.delete(t);
3
+ return this.size = e.size, a;
3
4
  }
4
5
  export {
5
- a as default
6
+ s as default
6
7
  };
package/index106.js CHANGED
@@ -1,6 +1,6 @@
1
- function t(a) {
2
- return this.__data__.has(a);
1
+ function a(t) {
2
+ return this.__data__.get(t);
3
3
  }
4
4
  export {
5
- t as default
5
+ a as default
6
6
  };
package/index107.js CHANGED
@@ -1,17 +1,6 @@
1
- import _ from "./index102.js";
2
- import e from "./index81.js";
3
- import r from "./index93.js";
4
- var h = 200;
5
- function m(i, s) {
6
- var t = this.__data__;
7
- if (t instanceof _) {
8
- var a = t.__data__;
9
- if (!e || a.length < h - 1)
10
- return a.push([i, s]), this.size = ++t.size, this;
11
- t = this.__data__ = new r(a);
12
- }
13
- return t.set(i, s), this.size = t.size, this;
1
+ function t(a) {
2
+ return this.__data__.has(a);
14
3
  }
15
4
  export {
16
- m as default
5
+ t as default
17
6
  };
package/index108.js CHANGED
@@ -1,10 +1,17 @@
1
- import o from "./index74.js";
2
- import a from "./index52.js";
3
- var n = Object.prototype, l = n.propertyIsEnumerable, t = Object.getOwnPropertySymbols, m = t ? function(r) {
4
- return r == null ? [] : (r = Object(r), o(t(r), function(e) {
5
- return l.call(r, e);
6
- }));
7
- } : a;
1
+ import _ from "./index103.js";
2
+ import e from "./index82.js";
3
+ import r from "./index94.js";
4
+ var h = 200;
5
+ function m(i, s) {
6
+ var t = this.__data__;
7
+ if (t instanceof _) {
8
+ var a = t.__data__;
9
+ if (!e || a.length < h - 1)
10
+ return a.push([i, s]), this.size = ++t.size, this;
11
+ t = this.__data__ = new r(a);
12
+ }
13
+ return t.set(i, s), this.size = t.size, this;
14
+ }
8
15
  export {
9
16
  m as default
10
17
  };
package/index109.js CHANGED
@@ -1,8 +1,10 @@
1
- import n from "./index123.js";
2
- function o(t) {
3
- var e = new t.constructor(t.byteLength);
4
- return new n(e).set(new n(t)), e;
5
- }
1
+ import o from "./index75.js";
2
+ import a from "./index53.js";
3
+ var n = Object.prototype, l = n.propertyIsEnumerable, t = Object.getOwnPropertySymbols, m = t ? function(r) {
4
+ return r == null ? [] : (r = Object(r), o(t(r), function(e) {
5
+ return l.call(r, e);
6
+ }));
7
+ } : a;
6
8
  export {
7
- o as default
9
+ m as default
8
10
  };
package/index110.js CHANGED
@@ -1,8 +1,8 @@
1
- import n from "./index109.js";
2
- function t(r, f) {
3
- var e = f ? n(r.buffer) : r.buffer;
4
- return new r.constructor(e, r.byteOffset, r.byteLength);
1
+ import n from "./index124.js";
2
+ function o(t) {
3
+ var e = new t.constructor(t.byteLength);
4
+ return new n(e).set(new n(t)), e;
5
5
  }
6
6
  export {
7
- t as default
7
+ o as default
8
8
  };
package/index111.js CHANGED
@@ -1,8 +1,8 @@
1
- var a = /\w*$/;
2
- function e(t) {
3
- var n = new t.constructor(t.source, a.exec(t));
4
- return n.lastIndex = t.lastIndex, n;
1
+ import n from "./index110.js";
2
+ function t(r, f) {
3
+ var e = f ? n(r.buffer) : r.buffer;
4
+ return new r.constructor(e, r.byteOffset, r.byteLength);
5
5
  }
6
6
  export {
7
- e as default
7
+ t as default
8
8
  };
package/index112.js CHANGED
@@ -1,8 +1,8 @@
1
- import o from "./index76.js";
2
- var e = o ? o.prototype : void 0, l = e ? e.valueOf : void 0;
3
- function r(t) {
4
- return l ? Object(l.call(t)) : {};
1
+ var a = /\w*$/;
2
+ function e(t) {
3
+ var n = new t.constructor(t.source, a.exec(t));
4
+ return n.lastIndex = t.lastIndex, n;
5
5
  }
6
6
  export {
7
- r as default
7
+ e as default
8
8
  };
package/index113.js CHANGED
@@ -1,8 +1,8 @@
1
- import o from "./index109.js";
2
- function u(f, e) {
3
- var n = e ? o(f.buffer) : f.buffer;
4
- return new f.constructor(n, f.byteOffset, f.length);
1
+ import o from "./index77.js";
2
+ var e = o ? o.prototype : void 0, l = e ? e.valueOf : void 0;
3
+ function r(t) {
4
+ return l ? Object(l.call(t)) : {};
5
5
  }
6
6
  export {
7
- u as default
7
+ r as default
8
8
  };
package/index114.js CHANGED
@@ -1,5 +1,8 @@
1
- import r from "./index35.js";
2
- var a = r["__core-js_shared__"];
1
+ import o from "./index110.js";
2
+ function u(f, e) {
3
+ var n = e ? o(f.buffer) : f.buffer;
4
+ return new f.constructor(n, f.byteOffset, f.length);
5
+ }
3
6
  export {
4
- a as default
7
+ u as default
5
8
  };
package/index115.js CHANGED
@@ -1,20 +1,5 @@
1
- import p from "./index124.js";
2
- import a from "./index125.js";
3
- import l from "./index126.js";
4
- import s from "./index127.js";
5
- import m from "./index128.js";
6
- function t(o) {
7
- var e = -1, h = o == null ? 0 : o.length;
8
- for (this.clear(); ++e < h; ) {
9
- var r = o[e];
10
- this.set(r[0], r[1]);
11
- }
12
- }
13
- t.prototype.clear = p;
14
- t.prototype.delete = a;
15
- t.prototype.get = l;
16
- t.prototype.has = s;
17
- t.prototype.set = m;
1
+ import r from "./index36.js";
2
+ var a = r["__core-js_shared__"];
18
3
  export {
19
- t as default
4
+ a as default
20
5
  };
package/index116.js CHANGED
@@ -1,8 +1,20 @@
1
- import e from "./index129.js";
2
- function n(r, a) {
3
- var t = r.__data__;
4
- return e(a) ? t[typeof a == "string" ? "string" : "hash"] : t.map;
1
+ import p from "./index126.js";
2
+ import a from "./index127.js";
3
+ import l from "./index128.js";
4
+ import s from "./index129.js";
5
+ import m from "./index130.js";
6
+ function t(o) {
7
+ var e = -1, h = o == null ? 0 : o.length;
8
+ for (this.clear(); ++e < h; ) {
9
+ var r = o[e];
10
+ this.set(r[0], r[1]);
11
+ }
5
12
  }
13
+ t.prototype.clear = p;
14
+ t.prototype.delete = a;
15
+ t.prototype.get = l;
16
+ t.prototype.has = s;
17
+ t.prototype.set = m;
6
18
  export {
7
- n as default
19
+ t as default
8
20
  };
package/index117.js CHANGED
@@ -1,6 +1,8 @@
1
- function u(e, n) {
2
- return e == null ? void 0 : e[n];
1
+ import e from "./index125.js";
2
+ function n(r, a) {
3
+ var t = r.__data__;
4
+ return e(a) ? t[typeof a == "string" ? "string" : "hash"] : t.map;
3
5
  }
4
6
  export {
5
- u as default
7
+ n as default
6
8
  };
package/index118.js CHANGED
@@ -1,6 +1,6 @@
1
- function t() {
2
- this.__data__ = [], this.size = 0;
1
+ function u(e, n) {
2
+ return e == null ? void 0 : e[n];
3
3
  }
4
4
  export {
5
- t as default
5
+ u as default
6
6
  };
package/index119.js CHANGED
@@ -1,12 +1,6 @@
1
- import s from "./index130.js";
2
- var i = Array.prototype, l = i.splice;
3
- function n(r) {
4
- var e = this.__data__, a = s(e, r);
5
- if (a < 0)
6
- return !1;
7
- var t = e.length - 1;
8
- return a == t ? e.pop() : l.call(e, a, 1), --this.size, !0;
1
+ function t() {
2
+ this.__data__ = [], this.size = 0;
9
3
  }
10
4
  export {
11
- n as default
5
+ t as default
12
6
  };
package/index12.js CHANGED
@@ -1,31 +1,6 @@
1
- import { getCurrentInstance as s, nextTick as n } from "@tarojs/taro";
2
- const m = {
3
- mounted(c) {
4
- const { page: o } = s();
5
- n(() => {
6
- n(() => {
7
- const r = o.selectComponent(`#${c.id}`);
8
- r.setData({
9
- formatter: (e, t) => {
10
- switch (e) {
11
- case "year":
12
- return `${t}年`;
13
- case "month":
14
- return `${t}月`;
15
- case "day":
16
- return `${t}日`;
17
- case "hour":
18
- return `${t}时`;
19
- case "minute":
20
- return `${t}分`;
21
- }
22
- },
23
- filter: (e, t) => e === "minute" ? t.filter((i) => +i % 5 === 0) : t
24
- }), r.updateValue();
25
- });
26
- });
27
- }
1
+ const r = (e, t) => {
2
+ e.setAttribute(t.arg, t.value);
28
3
  };
29
4
  export {
30
- m as vDatetimePicker
5
+ r as vBinding
31
6
  };
package/index120.js CHANGED
@@ -1,8 +1,12 @@
1
- import d from "./index130.js";
2
- function i(e) {
3
- var t = this.__data__, a = d(t, e);
4
- return a < 0 ? void 0 : t[a][1];
1
+ import s from "./index131.js";
2
+ var i = Array.prototype, l = i.splice;
3
+ function n(r) {
4
+ var e = this.__data__, a = s(e, r);
5
+ if (a < 0)
6
+ return !1;
7
+ var t = e.length - 1;
8
+ return a == t ? e.pop() : l.call(e, a, 1), --this.size, !0;
5
9
  }
6
10
  export {
7
- i as default
11
+ n as default
8
12
  };
package/index121.js CHANGED
@@ -1,7 +1,8 @@
1
- import a from "./index130.js";
2
- function e(t) {
3
- return a(this.__data__, t) > -1;
1
+ import d from "./index131.js";
2
+ function i(e) {
3
+ var t = this.__data__, a = d(t, e);
4
+ return a < 0 ? void 0 : t[a][1];
4
5
  }
5
6
  export {
6
- e as default
7
+ i as default
7
8
  };
package/index122.js CHANGED
@@ -1,8 +1,7 @@
1
- import e from "./index130.js";
2
- function d(s, i) {
3
- var t = this.__data__, a = e(t, s);
4
- return a < 0 ? (++this.size, t.push([s, i])) : t[a][1] = i, this;
1
+ import a from "./index131.js";
2
+ function e(t) {
3
+ return a(this.__data__, t) > -1;
5
4
  }
6
5
  export {
7
- d as default
6
+ e as default
8
7
  };
package/index123.js CHANGED
@@ -1,5 +1,8 @@
1
- import r from "./index35.js";
2
- var a = r.Uint8Array;
1
+ import e from "./index131.js";
2
+ function d(s, i) {
3
+ var t = this.__data__, a = e(t, s);
4
+ return a < 0 ? (++this.size, t.push([s, i])) : t[a][1] = i, this;
5
+ }
3
6
  export {
4
- a as default
7
+ d as default
5
8
  };
package/index124.js CHANGED
@@ -1,7 +1,5 @@
1
- import t from "./index131.js";
2
- function e() {
3
- this.__data__ = t ? t(null) : {}, this.size = 0;
4
- }
1
+ import r from "./index36.js";
2
+ var a = r.Uint8Array;
5
3
  export {
6
- e as default
4
+ a as default
7
5
  };
package/index125.js CHANGED
@@ -1,7 +1,7 @@
1
- function s(t) {
2
- var e = this.has(t) && delete this.__data__[t];
3
- return this.size -= e ? 1 : 0, e;
1
+ function e(t) {
2
+ var o = typeof t;
3
+ return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
4
4
  }
5
5
  export {
6
- s as default
6
+ e as default
7
7
  };
package/index126.js CHANGED
@@ -1,13 +1,7 @@
1
- import e from "./index131.js";
2
- var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
3
- function h(a) {
4
- var r = this.__data__;
5
- if (e) {
6
- var t = r[a];
7
- return t === n ? void 0 : t;
8
- }
9
- return _.call(r, a) ? r[a] : void 0;
1
+ import t from "./index132.js";
2
+ function e() {
3
+ this.__data__ = t ? t(null) : {}, this.size = 0;
10
4
  }
11
5
  export {
12
- h as default
6
+ e as default
13
7
  };
package/index127.js CHANGED
@@ -1,9 +1,7 @@
1
- import r from "./index131.js";
2
- var e = Object.prototype, o = e.hasOwnProperty;
3
- function p(t) {
4
- var a = this.__data__;
5
- return r ? a[t] !== void 0 : o.call(a, t);
1
+ function s(t) {
2
+ var e = this.has(t) && delete this.__data__[t];
3
+ return this.size -= e ? 1 : 0, e;
6
4
  }
7
5
  export {
8
- p as default
6
+ s as default
9
7
  };
package/index128.js CHANGED
@@ -1,9 +1,13 @@
1
- import e from "./index131.js";
2
- var h = "__lodash_hash_undefined__";
3
- function s(t, a) {
4
- var _ = this.__data__;
5
- return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
1
+ import e from "./index132.js";
2
+ var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
3
+ function h(a) {
4
+ var r = this.__data__;
5
+ if (e) {
6
+ var t = r[a];
7
+ return t === n ? void 0 : t;
8
+ }
9
+ return _.call(r, a) ? r[a] : void 0;
6
10
  }
7
11
  export {
8
- s as default
12
+ h as default
9
13
  };
package/index129.js CHANGED
@@ -1,7 +1,9 @@
1
- function e(t) {
2
- var o = typeof t;
3
- return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
1
+ import r from "./index132.js";
2
+ var e = Object.prototype, o = e.hasOwnProperty;
3
+ function p(t) {
4
+ var a = this.__data__;
5
+ return r ? a[t] !== void 0 : o.call(a, t);
4
6
  }
5
7
  export {
6
- e as default
8
+ p as default
7
9
  };
package/index13.js CHANGED
@@ -1,7 +1,31 @@
1
- const r = (t, o) => {
2
- var e;
3
- t.setAttribute("readonly", (e = o.value) != null ? e : !0);
1
+ import { getCurrentInstance as s, nextTick as n } from "@tarojs/taro";
2
+ const m = {
3
+ mounted(c) {
4
+ const { page: o } = s();
5
+ n(() => {
6
+ n(() => {
7
+ const r = o.selectComponent(`#${c.id}`);
8
+ r.setData({
9
+ formatter: (e, t) => {
10
+ switch (e) {
11
+ case "year":
12
+ return `${t}年`;
13
+ case "month":
14
+ return `${t}月`;
15
+ case "day":
16
+ return `${t}日`;
17
+ case "hour":
18
+ return `${t}时`;
19
+ case "minute":
20
+ return `${t}分`;
21
+ }
22
+ },
23
+ filter: (e, t) => e === "minute" ? t.filter((i) => +i % 5 === 0) : t
24
+ }), r.updateValue();
25
+ });
26
+ });
27
+ }
4
28
  };
5
29
  export {
6
- r as vReadonly
30
+ m as vDatetimePicker
7
31
  };
package/index130.js CHANGED
@@ -1,10 +1,9 @@
1
- import r from "./index26.js";
2
- function o(t, n) {
3
- for (var e = t.length; e--; )
4
- if (r(t[e][0], n))
5
- return e;
6
- return -1;
1
+ import e from "./index132.js";
2
+ var h = "__lodash_hash_undefined__";
3
+ function s(t, a) {
4
+ var _ = this.__data__;
5
+ return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
7
6
  }
8
7
  export {
9
- o as default
8
+ s as default
10
9
  };
package/index131.js CHANGED
@@ -1,5 +1,10 @@
1
- import e from "./index101.js";
2
- var a = e(Object, "create");
1
+ import r from "./index27.js";
2
+ function o(t, n) {
3
+ for (var e = t.length; e--; )
4
+ if (r(t[e][0], n))
5
+ return e;
6
+ return -1;
7
+ }
3
8
  export {
4
- a as default
9
+ o as default
5
10
  };
package/index132.js ADDED
@@ -0,0 +1,5 @@
1
+ import e from "./index102.js";
2
+ var a = e(Object, "create");
3
+ export {
4
+ a as default
5
+ };