@solar-taro/ui-vant 1.4.1 → 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 (109) hide show
  1. package/CHANGELOG.md +20 -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/index11.js +61 -61
  16. package/index110.js +10 -32
  17. package/index111.js +1 -1
  18. package/index117.js +2 -2
  19. package/index118.js +2 -2
  20. package/index122.js +1 -1
  21. package/index124.js +1 -1
  22. package/index133.js +1 -1
  23. package/index140.js +1 -1
  24. package/index17.js +1 -1
  25. package/index20.js +1 -1
  26. package/index21.js +1 -1
  27. package/index22.js +1 -1
  28. package/index23.js +1 -1
  29. package/index27.js +13 -5
  30. package/index28.js +9 -13
  31. package/index29.js +7 -8
  32. package/index3.js +1 -1
  33. package/index30.js +5 -8
  34. package/index32.js +6 -62
  35. package/index33.js +793 -3
  36. package/index34.js +63 -8
  37. package/index35.js +3 -6
  38. package/index36.js +8 -4
  39. package/index37.js +7 -2
  40. package/index38.js +2 -4
  41. package/index39.js +2 -10
  42. package/index4.js +1 -1
  43. package/index40.js +5 -4
  44. package/index41.js +10 -4
  45. package/index42.js +4 -2
  46. package/index43.js +4 -4
  47. package/index44.js +3 -8
  48. package/index45.js +3 -4
  49. package/index46.js +7 -4
  50. package/index47.js +4 -6
  51. package/index48.js +5 -6
  52. package/index49.js +7 -9
  53. package/index50.js +6 -5
  54. package/index51.js +9 -7
  55. package/index52.js +5 -5
  56. package/index53.js +6 -9
  57. package/index54.js +4 -6
  58. package/index55.js +9 -17
  59. package/index56.js +4 -9
  60. package/index57.js +17 -6
  61. package/index58.js +9 -10
  62. package/index59.js +6 -3
  63. package/index60.js +12 -6
  64. package/index61.js +3 -793
  65. package/index62.js +31 -7
  66. package/index63.js +7 -9
  67. package/index64.js +9 -11
  68. package/index65.js +11 -5
  69. package/index66.js +5 -5
  70. package/index67.js +6 -9
  71. package/index68.js +9 -16
  72. package/index69.js +15 -5
  73. package/index7.js +13 -16
  74. package/index70.js +5 -5
  75. package/index71.js +5 -8
  76. package/index72.js +8 -6
  77. package/index73.js +6 -5
  78. package/index74.js +4 -4
  79. package/index75.js +5 -6
  80. package/index76.js +5 -5
  81. package/index77.js +7 -26
  82. package/index78.js +26 -6
  83. package/index79.js +5 -39
  84. package/index80.js +39 -6
  85. package/index81.js +6 -5
  86. package/index82.js +6 -15
  87. package/index83.js +14 -7
  88. package/index84.js +8 -2
  89. package/index85.js +2 -3
  90. package/index86.js +3 -13
  91. package/index87.js +12 -4
  92. package/index88.js +5 -3
  93. package/index89.js +3 -4
  94. package/index9.js +2 -2
  95. package/index90.js +4 -4
  96. package/index91.js +3 -3
  97. package/index92.js +4 -4
  98. package/index93.js +4 -4
  99. package/index94.js +3 -14
  100. package/index95.js +14 -13
  101. package/index96.js +13 -8
  102. package/index97.js +9 -3
  103. package/index98.js +3 -6
  104. package/index99.js +5 -5
  105. package/list/index.vue.d.ts +1 -1
  106. package/modal/index.vue.d.ts +2 -2
  107. package/package.json +1 -1
  108. package/select-picker/index.vue.d.ts +4 -4
  109. package/selector/index.vue.d.ts +5 -2
package/index86.js CHANGED
@@ -1,15 +1,5 @@
1
- import e from "./index85.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 "./index44.js";
2
+ var m = o.Symbol;
13
3
  export {
14
- p as default
4
+ m as default
15
5
  };
package/index87.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 "./index86.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/index88.js CHANGED
@@ -1,5 +1,7 @@
1
- import e from "./index98.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/index89.js CHANGED
@@ -1,6 +1,5 @@
1
- import t from "./index111.js";
2
- import a from "./index42.js";
3
- var e = t(a, "DataView");
1
+ import e from "./index99.js";
2
+ var t = e(Object.keys, Object);
4
3
  export {
5
- e as default
4
+ t as default
6
5
  };
package/index9.js CHANGED
@@ -4,10 +4,10 @@ import { BluetoothLowEnergeDevice as me } from "@opper/wx";
4
4
  import { checkBluetooth as V, bluetoothService as w, vibrator as fe, overlay as r, withLoading as we } from "@solar-taro/core";
5
5
  import { getSystemInfo as he, openSetting as be } from "@tarojs/taro";
6
6
  import { filter as A, switchMap as m, combineLatest as ge, of as E, map as $, catchError as D, tap as B, timer as ye, takeUntil as N, finalize as O, from as _e } from "rxjs";
7
- import { useObservable as j } from "./index29.js";
7
+ import { useObservable as j } from "./index28.js";
8
8
  import De from "./index7.js";
9
9
  import { dialog as Se } from "./index16.js";
10
- import { useDestroyed as F } from "./index30.js";
10
+ import { useDestroyed as F } from "./index29.js";
11
11
  const l = Z, n = ee, p = te, Ce = ne, ke = oe, xe = ie, Ie = se, T = re, h = le, b = ce, Ee = ae, $e = ue, Be = de, Ne = pe, Oe = { class: "sun-opper-controller" }, Te = ["show"], Me = { class: "sun-opper-controller-device" }, Pe = { class: "sun-opper-controller-device-header" }, Re = { class: "sun-opper-controller-device-name" }, ze = { class: "sun-opper-controller-device-infos" }, Le = { class: "sun-opper-controller-device-info" }, Ve = { class: "sun-opper-controller-device-info" }, Ae = { class: "sun-opper-controller-device-info" }, je = { class: "sun-opper-controller-device-info" }, Fe = { class: "van-button-container" }, Ue = ["title", "label", "onTap"], qe = { class: "van-button-container" }, Ke = ["show"], nt = /* @__PURE__ */ J({
12
12
  __name: "index",
13
13
  props: {
package/index90.js CHANGED
@@ -1,6 +1,6 @@
1
- import o from "./index111.js";
2
- import r from "./index42.js";
3
- var p = o(r, "Map");
1
+ import t from "./index111.js";
2
+ import a from "./index44.js";
3
+ var e = t(a, "DataView");
4
4
  export {
5
- p as default
5
+ e as default
6
6
  };
package/index91.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import o from "./index111.js";
2
- import r from "./index42.js";
3
- var m = o(r, "Promise");
2
+ import r from "./index44.js";
3
+ var p = o(r, "Map");
4
4
  export {
5
- m as default
5
+ p as default
6
6
  };
package/index92.js CHANGED
@@ -1,6 +1,6 @@
1
- import t from "./index111.js";
2
- import o from "./index42.js";
3
- var a = t(o, "Set");
1
+ import o from "./index111.js";
2
+ import r from "./index44.js";
3
+ var m = o(r, "Promise");
4
4
  export {
5
- a as default
5
+ m as default
6
6
  };
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.1",
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;
@@ -10,6 +10,9 @@ declare function __VLS_template(): {
10
10
  label: any;
11
11
  }): any;
12
12
  end?(_: {}): any;
13
+ filter?(_: {
14
+ rendered: boolean;
15
+ }): any;
13
16
  "option-start"?(_: {
14
17
  option: SelectorOption;
15
18
  index: number;
@@ -65,12 +68,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
65
68
  present: typeof present;
66
69
  clear: typeof clear;
67
70
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
71
+ close: () => void;
68
72
  select: (args_0: SelectorOption) => void;
69
73
  clear: (args_0: unknown) => void;
70
74
  confirm: (args_0: SelectorOption[]) => void;
71
75
  "update:modelValue": (args_0: unknown) => void;
72
76
  refresh: () => void;
73
- close: () => void;
74
77
  unselect: (args_0: SelectorOption) => void;
75
78
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
76
79
  type?: "field" | "search";
@@ -105,12 +108,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
105
108
  searchable: boolean;
106
109
  compareWith: (a: any, b: any) => boolean;
107
110
  }>>> & Readonly<{
111
+ onClose?: (() => any) | undefined;
108
112
  onSelect?: ((args_0: SelectorOption) => any) | undefined;
109
113
  onClear?: ((args_0: unknown) => any) | undefined;
110
114
  onConfirm?: ((args_0: SelectorOption[]) => any) | undefined;
111
115
  "onUpdate:modelValue"?: ((args_0: unknown) => any) | undefined;
112
116
  onRefresh?: (() => any) | undefined;
113
- onClose?: (() => any) | undefined;
114
117
  onUnselect?: ((args_0: SelectorOption) => any) | undefined;
115
118
  }>, {
116
119
  type: "field" | "search";