@solar-taro/ui-vant 2.8.8 → 2.8.10

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 (67) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/index10.js +152 -144
  3. package/index102.js +1 -1
  4. package/index103.js +1 -1
  5. package/index111.js +1 -1
  6. package/index117.js +1 -1
  7. package/index126.js +1 -1
  8. package/index133.js +1 -1
  9. package/index17.js +1 -1
  10. package/index18.js +1 -1
  11. package/index19.js +1 -1
  12. package/index20.js +1 -1
  13. package/index21.js +1 -1
  14. package/index22.js +1 -1
  15. package/index23.js +1 -1
  16. package/index24.js +1 -1
  17. package/index25.js +1 -1
  18. package/index27.js +62 -24
  19. package/index28.js +3 -62
  20. package/index29.js +8 -4
  21. package/index30.js +6 -7
  22. package/index31.js +3 -6
  23. package/index32.js +2 -4
  24. package/index33.js +6 -2
  25. package/index34.js +9 -5
  26. package/index35.js +4 -9
  27. package/index36.js +4 -5
  28. package/index37.js +3 -4
  29. package/index38.js +4 -3
  30. package/index39.js +7 -3
  31. package/index40.js +4 -7
  32. package/index41.js +5 -5
  33. package/index42.js +7 -5
  34. package/index43.js +5 -6
  35. package/index44.js +9 -6
  36. package/index45.js +5 -9
  37. package/index46.js +7 -5
  38. package/index47.js +4 -6
  39. package/index48.js +10 -5
  40. package/index49.js +6 -9
  41. package/index50.js +17 -6
  42. package/index51.js +11 -17
  43. package/index52.js +6 -11
  44. package/index53.js +12 -6
  45. package/index54.js +3 -12
  46. package/index55.js +24 -3
  47. package/index56.js +11 -7
  48. package/index57.js +7 -9
  49. package/index58.js +9 -11
  50. package/index63.js +2 -2
  51. package/index64.js +2 -2
  52. package/index65.js +1 -1
  53. package/index67.js +1 -1
  54. package/index68.js +1 -1
  55. package/index69.js +1 -1
  56. package/index70.js +1 -1
  57. package/index71.js +1 -1
  58. package/index76.js +1 -1
  59. package/index79.js +1 -1
  60. package/index83.js +1 -1
  61. package/index84.js +1 -1
  62. package/index85.js +1 -1
  63. package/index86.js +1 -1
  64. package/index87.js +1 -1
  65. package/index89.js +2 -2
  66. package/package.json +1 -1
  67. package/selector/index.vue.d.ts +10 -5
package/index55.js CHANGED
@@ -1,6 +1,27 @@
1
- function r() {
2
- return [];
1
+ import "vue";
2
+ typeof WorkerGlobalScope != "undefined" && globalThis instanceof WorkerGlobalScope;
3
+ function r(t) {
4
+ const n = /* @__PURE__ */ Object.create(null);
5
+ return (e) => n[e] || (n[e] = t(e));
6
+ }
7
+ const c = /-(\w)/g, a = r((t) => t.replace(c, (n, e) => e ? e.toUpperCase() : ""));
8
+ // @__NO_SIDE_EFFECTS__
9
+ function u(t, n) {
10
+ if (typeof Symbol != "undefined") {
11
+ const e = { ...t };
12
+ return Object.defineProperty(e, Symbol.iterator, {
13
+ enumerable: !1,
14
+ value() {
15
+ let o = 0;
16
+ return { next: () => ({
17
+ value: n[o++],
18
+ done: o > n.length
19
+ }) };
20
+ }
21
+ }), e;
22
+ } else return Object.assign([...n], t);
3
23
  }
4
24
  export {
5
- r as default
25
+ a as camelize,
26
+ u as makeDestructurable
6
27
  };
package/index56.js CHANGED
@@ -1,10 +1,14 @@
1
- import t from "./index57.js";
2
- import i from "./index29.js";
3
- var s = Object.prototype, p = s.hasOwnProperty;
4
- function l(r, a, o) {
5
- var n = r[a];
6
- (!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
1
+ import m from "./index57.js";
2
+ import t from "./index58.js";
3
+ function v(a, f, i, u) {
4
+ var d = !i;
5
+ i || (i = {});
6
+ for (var s = -1, e = f.length; ++s < e; ) {
7
+ var n = f[s], r = void 0;
8
+ r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
9
+ }
10
+ return i;
7
11
  }
8
12
  export {
9
- l as default
13
+ v as default
10
14
  };
package/index57.js CHANGED
@@ -1,12 +1,10 @@
1
- import u from "./index61.js";
2
- function i(r, e, t) {
3
- e == "__proto__" && u ? u(r, e, {
4
- configurable: !0,
5
- enumerable: !0,
6
- value: t,
7
- writable: !0
8
- }) : r[e] = t;
1
+ import t from "./index58.js";
2
+ import i from "./index28.js";
3
+ var s = Object.prototype, p = s.hasOwnProperty;
4
+ function l(r, a, o) {
5
+ var n = r[a];
6
+ (!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
9
7
  }
10
8
  export {
11
- i as default
9
+ l as default
12
10
  };
package/index58.js CHANGED
@@ -1,14 +1,12 @@
1
- import m from "./index56.js";
2
- import t from "./index57.js";
3
- function v(a, f, i, u) {
4
- var d = !i;
5
- i || (i = {});
6
- for (var s = -1, e = f.length; ++s < e; ) {
7
- var n = f[s], r = void 0;
8
- r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
9
- }
10
- return i;
1
+ import u from "./index61.js";
2
+ function i(r, e, t) {
3
+ e == "__proto__" && u ? u(r, e, {
4
+ configurable: !0,
5
+ enumerable: !0,
6
+ value: t,
7
+ writable: !0
8
+ }) : r[e] = t;
11
9
  }
12
10
  export {
13
- v as default
11
+ i as default
14
12
  };
package/index63.js CHANGED
@@ -1,5 +1,5 @@
1
- import o from "./index58.js";
2
- import e from "./index50.js";
1
+ import o from "./index56.js";
2
+ import e from "./index49.js";
3
3
  function m(r, t) {
4
4
  return r && o(t, e(t), r);
5
5
  }
package/index64.js CHANGED
@@ -1,5 +1,5 @@
1
- import t from "./index58.js";
2
- import o from "./index53.js";
1
+ import t from "./index56.js";
2
+ import o from "./index52.js";
3
3
  function i(n, r) {
4
4
  return n && t(r, o(r), n);
5
5
  }
package/index65.js CHANGED
@@ -1,4 +1,4 @@
1
- import d from "./index38.js";
1
+ import d from "./index37.js";
2
2
  var p = typeof exports == "object" && exports && !exports.nodeType && exports, t = p && typeof module == "object" && module && !module.nodeType && module, s = t && t.exports === p, n = s ? d.Buffer : void 0, l = n ? n.allocUnsafe : void 0;
3
3
  function a(e, u) {
4
4
  if (u)
package/index67.js CHANGED
@@ -1,4 +1,4 @@
1
- import m from "./index58.js";
1
+ import m from "./index56.js";
2
2
  import r from "./index111.js";
3
3
  function f(o, t) {
4
4
  return m(o, r(o), t);
package/index68.js CHANGED
@@ -1,4 +1,4 @@
1
- import m from "./index58.js";
1
+ import m from "./index56.js";
2
2
  import r from "./index103.js";
3
3
  function e(o, t) {
4
4
  return m(o, r(o), t);
package/index69.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import t from "./index102.js";
2
2
  import o from "./index111.js";
3
- import r from "./index50.js";
3
+ import r from "./index49.js";
4
4
  function f(e) {
5
5
  return t(e, r, o);
6
6
  }
package/index70.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import t from "./index102.js";
2
2
  import o from "./index103.js";
3
- import r from "./index53.js";
3
+ import r from "./index52.js";
4
4
  function s(e) {
5
5
  return t(e, r, o);
6
6
  }
package/index71.js CHANGED
@@ -3,7 +3,7 @@ import a from "./index84.js";
3
3
  import o from "./index85.js";
4
4
  import i from "./index86.js";
5
5
  import n from "./index87.js";
6
- import S from "./index40.js";
6
+ import S from "./index39.js";
7
7
  import t from "./index88.js";
8
8
  var g = "[object Map]", j = "[object Object]", f = "[object Promise]", u = "[object Set]", w = "[object WeakMap]", b = "[object DataView]", T = t(e), C = t(a), M = t(o), d = t(i), v = t(n), r = S;
9
9
  (e && r(new e(new ArrayBuffer(1))) != b || a && r(new a()) != g || o && r(o.resolve()) != f || i && r(new i()) != u || n && r(new n()) != w) && (r = function(m) {
package/index76.js CHANGED
@@ -1,4 +1,4 @@
1
- import u from "./index41.js";
1
+ import u from "./index40.js";
2
2
  var r = Object.create, c = /* @__PURE__ */ function() {
3
3
  function e() {
4
4
  }
package/index79.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index38.js";
1
+ import o from "./index37.js";
2
2
  var m = o.Symbol;
3
3
  export {
4
4
  m as default
package/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import t from "./index104.js";
2
- import a from "./index38.js";
2
+ import a from "./index37.js";
3
3
  var e = t(a, "DataView");
4
4
  export {
5
5
  e as default
package/index84.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import o from "./index104.js";
2
- import r from "./index38.js";
2
+ import r from "./index37.js";
3
3
  var p = o(r, "Map");
4
4
  export {
5
5
  p as default
package/index85.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import o from "./index104.js";
2
- import r from "./index38.js";
2
+ import r from "./index37.js";
3
3
  var m = o(r, "Promise");
4
4
  export {
5
5
  m as default
package/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import t from "./index104.js";
2
- import o from "./index38.js";
2
+ import o from "./index37.js";
3
3
  var a = t(o, "Set");
4
4
  export {
5
5
  a as default
package/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import a from "./index104.js";
2
- import o from "./index38.js";
2
+ import o from "./index37.js";
3
3
  var e = a(o, "WeakMap");
4
4
  export {
5
5
  e as default
package/index89.js CHANGED
@@ -1,6 +1,6 @@
1
- import o from "./index35.js";
1
+ import o from "./index34.js";
2
2
  import e from "./index90.js";
3
- import a from "./index41.js";
3
+ import a from "./index40.js";
4
4
  import n from "./index88.js";
5
5
  var p = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, s = Function.prototype, c = Object.prototype, f = s.toString, m = c.hasOwnProperty, u = RegExp(
6
6
  "^" + f.call(m).replace(p, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "2.8.8",
3
+ "version": "2.8.10",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -6,8 +6,11 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
6
6
  readonly onConfirm?: ((args_0: T[]) => any) | undefined;
7
7
  readonly "onUpdate:modelValue"?: ((args_0: unknown) => any) | undefined;
8
8
  readonly onRefresh?: (() => any) | undefined;
9
+ readonly "onUpdate:keyword"?: ((value: string) => any) | undefined;
9
10
  readonly onUnselect?: ((args_0: T) => any) | undefined;
10
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:modelValue" | "onRefresh" | "onClose" | "onClear" | "onConfirm" | "onUnselect"> & {
11
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:modelValue" | "onRefresh" | "onClose" | "onClear" | "onConfirm" | "onUpdate:keyword" | "onUnselect"> & ({
12
+ keyword?: string;
13
+ } & {
11
14
  type?: "field" | "search";
12
15
  mode?: "single" | "multiple";
13
16
  label?: string;
@@ -31,17 +34,18 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
31
34
  refresher?: boolean;
32
35
  refreshing?: boolean;
33
36
  compareWith?: (a: any, b: any) => boolean;
34
- } & Partial<{}>> & import('vue').PublicProps;
37
+ }) & Partial<{}>> & import('vue').PublicProps;
35
38
  expose(exposed: import('vue').ShallowUnwrapRef<{
36
39
  present: () => void;
37
40
  clear: () => void;
41
+ keyword: import('vue').ModelRef<string, string, string, string>;
38
42
  }>): void;
39
43
  attrs: any;
40
44
  slots: {
41
45
  default?(_: {
42
46
  present: () => void;
43
- label: any;
44
- selectedOptions: any;
47
+ label: string;
48
+ selectedOptions: T[];
45
49
  }): any;
46
50
  end?(_: {}): any;
47
51
  end?(_: {}): any;
@@ -79,13 +83,14 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
79
83
  active: boolean;
80
84
  }): any;
81
85
  list?(_: {
86
+ rendered: boolean;
82
87
  ListTemplate: import('@vueuse/core').ReuseTemplateComponent<Record<string, any>, Record<"default", undefined>>;
83
88
  }): any;
84
89
  buttons?(_: {
85
90
  confirm: () => void;
86
91
  }): any;
87
92
  };
88
- emit: ((evt: "close") => void) & ((evt: "select", args_0: T) => void) & ((evt: "clear", args_0: unknown) => void) & ((evt: "confirm", args_0: T[]) => void) & ((evt: "update:modelValue", args_0: unknown) => void) & ((evt: "refresh") => void) & ((evt: "unselect", args_0: T) => void);
93
+ emit: (((evt: "close") => void) & ((evt: "select", args_0: T) => void) & ((evt: "clear", args_0: unknown) => void) & ((evt: "confirm", args_0: T[]) => void) & ((evt: "update:modelValue", args_0: unknown) => void) & ((evt: "refresh") => void) & ((evt: "unselect", args_0: T) => void)) & ((evt: "update:keyword", value: string) => void);
89
94
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
90
95
  [key: string]: any;
91
96
  }> & {