@solar-taro/ui-vant 2.8.9 → 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 (72) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/index10.js +144 -137
  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/index118.js +5 -5
  8. package/index119.js +1 -1
  9. package/index126.js +1 -1
  10. package/index127.js +3 -3
  11. package/index128.js +4 -4
  12. package/index129.js +10 -4
  13. package/index130.js +6 -10
  14. package/index131.js +6 -6
  15. package/index132.js +4 -6
  16. package/index133.js +1 -1
  17. package/index16.js +1 -1
  18. package/index17.js +1 -1
  19. package/index18.js +1 -1
  20. package/index19.js +1 -1
  21. package/index20.js +1 -1
  22. package/index21.js +1 -1
  23. package/index22.js +1 -1
  24. package/index23.js +1 -1
  25. package/index24.js +1 -1
  26. package/index25.js +1 -1
  27. package/index27.js +62 -24
  28. package/index28.js +3 -62
  29. package/index29.js +8 -4
  30. package/index30.js +6 -7
  31. package/index31.js +3 -6
  32. package/index32.js +2 -4
  33. package/index33.js +6 -2
  34. package/index34.js +9 -5
  35. package/index35.js +4 -9
  36. package/index36.js +4 -5
  37. package/index37.js +3 -4
  38. package/index38.js +4 -3
  39. package/index39.js +7 -3
  40. package/index40.js +4 -7
  41. package/index41.js +5 -5
  42. package/index42.js +7 -5
  43. package/index43.js +5 -6
  44. package/index44.js +9 -6
  45. package/index45.js +5 -9
  46. package/index46.js +7 -5
  47. package/index47.js +4 -6
  48. package/index48.js +10 -5
  49. package/index49.js +6 -9
  50. package/index50.js +17 -6
  51. package/index51.js +11 -17
  52. package/index52.js +6 -11
  53. package/index53.js +12 -6
  54. package/index54.js +3 -12
  55. package/index55.js +24 -3
  56. package/index57.js +1 -1
  57. package/index63.js +1 -1
  58. package/index64.js +1 -1
  59. package/index65.js +1 -1
  60. package/index69.js +1 -1
  61. package/index70.js +1 -1
  62. package/index71.js +1 -1
  63. package/index76.js +1 -1
  64. package/index79.js +1 -1
  65. package/index83.js +1 -1
  66. package/index84.js +1 -1
  67. package/index85.js +1 -1
  68. package/index86.js +1 -1
  69. package/index87.js +1 -1
  70. package/index89.js +2 -2
  71. package/package.json +1 -1
  72. package/selector/index.vue.d.ts +10 -6
package/index52.js CHANGED
@@ -1,14 +1,9 @@
1
- import a from "./index59.js";
2
- import e from "./index82.js";
3
- var s = Object.prototype, n = s.hasOwnProperty;
4
- function f(r) {
5
- if (!a(r))
6
- return e(r);
7
- var o = [];
8
- for (var t in Object(r))
9
- n.call(r, t) && t != "constructor" && o.push(t);
10
- return o;
1
+ import e from "./index50.js";
2
+ import i from "./index53.js";
3
+ import a from "./index33.js";
4
+ function t(r) {
5
+ return a(r) ? e(r, !0) : i(r);
11
6
  }
12
7
  export {
13
- f as default
8
+ t as default
14
9
  };
package/index53.js CHANGED
@@ -1,9 +1,15 @@
1
- import e from "./index51.js";
2
- import i from "./index54.js";
3
- import a from "./index34.js";
4
- function t(r) {
5
- return a(r) ? e(r, !0) : i(r);
1
+ import a from "./index40.js";
2
+ import i from "./index59.js";
3
+ import n from "./index95.js";
4
+ var e = Object.prototype, p = e.hasOwnProperty;
5
+ function v(r) {
6
+ if (!a(r))
7
+ return n(r);
8
+ var s = i(r), o = [];
9
+ for (var t in r)
10
+ t == "constructor" && (s || !p.call(r, t)) || o.push(t);
11
+ return o;
6
12
  }
7
13
  export {
8
- t as default
14
+ v as default
9
15
  };
package/index54.js CHANGED
@@ -1,15 +1,6 @@
1
- import a from "./index41.js";
2
- import i from "./index59.js";
3
- import n from "./index95.js";
4
- var e = Object.prototype, p = e.hasOwnProperty;
5
- function v(r) {
6
- if (!a(r))
7
- return n(r);
8
- var s = i(r), o = [];
9
- for (var t in r)
10
- t == "constructor" && (s || !p.call(r, t)) || o.push(t);
11
- return o;
1
+ function r() {
2
+ return [];
12
3
  }
13
4
  export {
14
- v as default
5
+ r as default
15
6
  };
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/index57.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import t from "./index58.js";
2
- import i from "./index29.js";
2
+ import i from "./index28.js";
3
3
  var s = Object.prototype, p = s.hasOwnProperty;
4
4
  function l(r, a, o) {
5
5
  var n = r[a];
package/index63.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import o from "./index56.js";
2
- import e from "./index50.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
1
  import t from "./index56.js";
2
- import o from "./index53.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/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.9",
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,18 +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;
38
- keyword: import('vue').Ref<string, string>;
41
+ keyword: import('vue').ModelRef<string, string, string, string>;
39
42
  }>): void;
40
43
  attrs: any;
41
44
  slots: {
42
45
  default?(_: {
43
46
  present: () => void;
44
- label: any;
45
- selectedOptions: any;
47
+ label: string;
48
+ selectedOptions: T[];
46
49
  }): any;
47
50
  end?(_: {}): any;
48
51
  end?(_: {}): any;
@@ -80,13 +83,14 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
80
83
  active: boolean;
81
84
  }): any;
82
85
  list?(_: {
86
+ rendered: boolean;
83
87
  ListTemplate: import('@vueuse/core').ReuseTemplateComponent<Record<string, any>, Record<"default", undefined>>;
84
88
  }): any;
85
89
  buttons?(_: {
86
90
  confirm: () => void;
87
91
  }): any;
88
92
  };
89
- 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);
90
94
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
91
95
  [key: string]: any;
92
96
  }> & {