@solar-taro/ui-vant 3.3.2 → 3.4.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 (122) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index15.js +1 -1
  3. package/index16.js +1 -1
  4. package/index17.js +1 -1
  5. package/index18.js +1 -1
  6. package/index19.js +1 -1
  7. package/index20.js +1 -1
  8. package/index21.js +1 -1
  9. package/index22.js +35 -5
  10. package/index23.js +23 -34
  11. package/index4.js +1 -1
  12. package/index9.js +2 -2
  13. package/package.json +1 -1
  14. package/index100.js +0 -9
  15. package/index101.js +0 -12
  16. package/index102.js +0 -9
  17. package/index103.js +0 -20
  18. package/index104.js +0 -7
  19. package/index105.js +0 -7
  20. package/index106.js +0 -6
  21. package/index107.js +0 -6
  22. package/index108.js +0 -17
  23. package/index109.js +0 -10
  24. package/index110.js +0 -8
  25. package/index111.js +0 -8
  26. package/index112.js +0 -8
  27. package/index113.js +0 -8
  28. package/index114.js +0 -8
  29. package/index115.js +0 -5
  30. package/index116.js +0 -20
  31. package/index117.js +0 -8
  32. package/index118.js +0 -6
  33. package/index119.js +0 -6
  34. package/index120.js +0 -12
  35. package/index121.js +0 -8
  36. package/index122.js +0 -7
  37. package/index123.js +0 -8
  38. package/index124.js +0 -5
  39. package/index125.js +0 -7
  40. package/index126.js +0 -7
  41. package/index127.js +0 -7
  42. package/index128.js +0 -13
  43. package/index129.js +0 -9
  44. package/index130.js +0 -9
  45. package/index131.js +0 -10
  46. package/index132.js +0 -5
  47. package/index24.js +0 -6
  48. package/index25.js +0 -27
  49. package/index26.js +0 -65
  50. package/index27.js +0 -6
  51. package/index28.js +0 -10
  52. package/index29.js +0 -9
  53. package/index30.js +0 -6
  54. package/index31.js +0 -4
  55. package/index32.js +0 -8
  56. package/index33.js +0 -12
  57. package/index34.js +0 -7
  58. package/index35.js +0 -6
  59. package/index36.js +0 -5
  60. package/index37.js +0 -6
  61. package/index38.js +0 -10
  62. package/index39.js +0 -7
  63. package/index40.js +0 -7
  64. package/index41.js +0 -9
  65. package/index42.js +0 -8
  66. package/index43.js +0 -11
  67. package/index44.js +0 -7
  68. package/index45.js +0 -9
  69. package/index46.js +0 -7
  70. package/index47.js +0 -12
  71. package/index48.js +0 -9
  72. package/index49.js +0 -20
  73. package/index50.js +0 -14
  74. package/index51.js +0 -9
  75. package/index52.js +0 -15
  76. package/index53.js +0 -6
  77. package/index54.js +0 -14
  78. package/index55.js +0 -10
  79. package/index56.js +0 -12
  80. package/index57.js +0 -8
  81. package/index58.js +0 -8
  82. package/index59.js +0 -11
  83. package/index60.js +0 -18
  84. package/index61.js +0 -8
  85. package/index62.js +0 -8
  86. package/index63.js +0 -11
  87. package/index64.js +0 -9
  88. package/index65.js +0 -8
  89. package/index66.js +0 -8
  90. package/index67.js +0 -9
  91. package/index68.js +0 -9
  92. package/index69.js +0 -28
  93. package/index70.js +0 -8
  94. package/index71.js +0 -42
  95. package/index72.js +0 -9
  96. package/index73.js +0 -8
  97. package/index74.js +0 -17
  98. package/index75.js +0 -10
  99. package/index76.js +0 -4
  100. package/index77.js +0 -5
  101. package/index78.js +0 -15
  102. package/index79.js +0 -7
  103. package/index80.js +0 -5
  104. package/index81.js +0 -6
  105. package/index82.js +0 -6
  106. package/index83.js +0 -6
  107. package/index84.js +0 -6
  108. package/index85.js +0 -6
  109. package/index86.js +0 -17
  110. package/index87.js +0 -16
  111. package/index88.js +0 -11
  112. package/index89.js +0 -5
  113. package/index90.js +0 -8
  114. package/index91.js +0 -8
  115. package/index92.js +0 -8
  116. package/index93.js +0 -10
  117. package/index94.js +0 -20
  118. package/index95.js +0 -13
  119. package/index96.js +0 -8
  120. package/index97.js +0 -7
  121. package/index98.js +0 -7
  122. package/index99.js +0 -8
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 3.4.0 (2026-07-21)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **ui-sun:** add virtual list component
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
11
+ ## 3.3.2 (2026-07-17)
12
+
13
+ This was a version bump only for ui-vant to align it with other projects, there were no code changes.
14
+
1
15
  ## 3.3.1 (2026-07-17)
2
16
 
3
17
  This was a version bump only for ui-vant to align it with other projects, there were no code changes.
package/index15.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index16.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index17.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index18.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index19.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index20.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index22.js CHANGED
@@ -1,8 +1,38 @@
1
- import o from "./index26.js";
2
- var r = 1, n = 4;
3
- function L(e) {
4
- return o(e, r | n);
1
+ import { makeDestructurable as d, camelize as f } from "./index23.js";
2
+ import { shallowRef as p, defineComponent as i } from "vue";
3
+ // @__NO_SIDE_EFFECTS__
4
+ function h(r = {}) {
5
+ const { inheritAttrs: t = !0 } = r, e = p(), u = i({ setup(a, { slots: o }) {
6
+ return () => {
7
+ e.value = o.default;
8
+ };
9
+ } }), s = i({
10
+ inheritAttrs: t,
11
+ props: r.props,
12
+ setup(a, { attrs: o, slots: c }) {
13
+ return () => {
14
+ var l;
15
+ if (!e.value) throw new Error("[VueUse] Failed to find the definition of reusable template");
16
+ const n = (l = e.value) === null || l === void 0 ? void 0 : l.call(e, {
17
+ ...r.props == null ? m(o) : a,
18
+ $slots: c
19
+ });
20
+ return t && (n == null ? void 0 : n.length) === 1 ? n[0] : n;
21
+ };
22
+ }
23
+ });
24
+ return d({
25
+ define: u,
26
+ reuse: s
27
+ }, [u, s]);
28
+ }
29
+ function m(r) {
30
+ const t = {};
31
+ for (const e in r) t[f(e)] = r[e];
32
+ return t;
5
33
  }
6
34
  export {
7
- L as default
35
+ f as camelize,
36
+ h as createReusableTemplate,
37
+ d as makeDestructurable
8
38
  };
package/index23.js CHANGED
@@ -1,38 +1,27 @@
1
- import { makeDestructurable as d, camelize as f } from "./index25.js";
2
- import { shallowRef as p, defineComponent as i } from "vue";
3
- // @__NO_SIDE_EFFECTS__
4
- function h(r = {}) {
5
- const { inheritAttrs: t = !0 } = r, e = p(), u = i({ setup(a, { slots: o }) {
6
- return () => {
7
- e.value = o.default;
8
- };
9
- } }), s = i({
10
- inheritAttrs: t,
11
- props: r.props,
12
- setup(a, { attrs: o, slots: c }) {
13
- return () => {
14
- var l;
15
- if (!e.value) throw new Error("[VueUse] Failed to find the definition of reusable template");
16
- const n = (l = e.value) === null || l === void 0 ? void 0 : l.call(e, {
17
- ...r.props == null ? m(o) : a,
18
- $slots: c
19
- });
20
- return t && (n == null ? void 0 : n.length) === 1 ? n[0] : n;
21
- };
22
- }
23
- });
24
- return d({
25
- define: u,
26
- reuse: s
27
- }, [u, s]);
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));
28
6
  }
29
- function m(r) {
30
- const t = {};
31
- for (const e in r) t[f(e)] = r[e];
32
- return t;
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);
33
23
  }
34
24
  export {
35
- f as camelize,
36
- h as createReusableTemplate,
37
- d as makeDestructurable
25
+ a as camelize,
26
+ u as makeDestructurable
38
27
  };
package/index4.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, ref as N, computed as r, mergeProps as I, createElementVNode as L, openBlock as P, createElementBlock as $, createCommentVNode as q } from "vue";
2
- import y from "./index22.js";
2
+ import { cloneDeep as y } from "lodash-es";
3
3
  const D = I, A = L, v = P, h = $, T = q, j = ["show"], z = ["title", "value-key", "columns", "loading"], H = /* @__PURE__ */ E({
4
4
  inheritAttrs: !1,
5
5
  __name: "index",
package/index9.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as x, mergeModels as F, ref as I, computed as f, useModel as ee, renderSlot as le, toDisplayString as te, createTextVNode as oe, Fragment as ae, openBlock as ne, createElementBlock as se, createCommentVNode as re, renderList as ie, unref as ue, withCtx as de, createBlock as pe, createElementVNode as ce, mergeProps as ve, resolveDirective as fe, withDirectives as me, normalizeClass as ye, createSlots as he, createVNode as be, normalizeStyle as ge } from "vue";
2
2
  import { SunTag as ke, SunLazyRender as Ve, SunVirtualScroll as $e, SunItem as P, SunEmpty as we, SunList as Se } from "@solar-taro/ui-sun";
3
- import { createReusableTemplate as Te } from "./index23.js";
3
+ import { createReusableTemplate as Te } from "./index22.js";
4
+ import { isNil as j } from "lodash-es";
4
5
  import Be from "./index6.js";
5
- import j from "./index24.js";
6
6
  const u = le, K = te, D = oe, g = ae, n = ne, r = se, m = re, A = ie, p = ue, s = de, C = pe, y = ce, U = ve, Ke = fe, G = me, H = ye, W = he, h = be, q = ge, Ce = ["label", "placeholder", "required", "disabled"], ze = {
7
7
  key: 0,
8
8
  name: "input",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "3.3.2",
3
+ "version": "3.4.1",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/index100.js DELETED
@@ -1,9 +0,0 @@
1
- import e from "./index73.js";
2
- import u from "./index31.js";
3
- function l(r, s, t) {
4
- var a = s(r);
5
- return u(r) ? a : e(a, t(r));
6
- }
7
- export {
8
- l as default
9
- };
package/index101.js DELETED
@@ -1,12 +0,0 @@
1
- import o from "./index73.js";
2
- import m from "./index89.js";
3
- import e from "./index109.js";
4
- import a from "./index53.js";
5
- var s = Object.getOwnPropertySymbols, f = s ? function(r) {
6
- for (var t = []; r; )
7
- o(t, e(r)), r = m(r);
8
- return t;
9
- } : a;
10
- export {
11
- f as default
12
- };
package/index102.js DELETED
@@ -1,9 +0,0 @@
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;
6
- }
7
- export {
8
- f as default
9
- };
package/index103.js DELETED
@@ -1,20 +0,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
- }
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;
18
- export {
19
- t as default
20
- };
package/index104.js DELETED
@@ -1,7 +0,0 @@
1
- import t from "./index103.js";
2
- function e() {
3
- this.__data__ = new t(), this.size = 0;
4
- }
5
- export {
6
- e as default
7
- };
package/index105.js DELETED
@@ -1,7 +0,0 @@
1
- function s(t) {
2
- var e = this.__data__, a = e.delete(t);
3
- return this.size = e.size, a;
4
- }
5
- export {
6
- s as default
7
- };
package/index106.js DELETED
@@ -1,6 +0,0 @@
1
- function a(t) {
2
- return this.__data__.get(t);
3
- }
4
- export {
5
- a as default
6
- };
package/index107.js DELETED
@@ -1,6 +0,0 @@
1
- function t(a) {
2
- return this.__data__.has(a);
3
- }
4
- export {
5
- t as default
6
- };
package/index108.js DELETED
@@ -1,17 +0,0 @@
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
- }
15
- export {
16
- m as default
17
- };
package/index109.js DELETED
@@ -1,10 +0,0 @@
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;
8
- export {
9
- m as default
10
- };
package/index110.js DELETED
@@ -1,8 +0,0 @@
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
- }
6
- export {
7
- o as default
8
- };
package/index111.js DELETED
@@ -1,8 +0,0 @@
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
- }
6
- export {
7
- t as default
8
- };
package/index112.js DELETED
@@ -1,8 +0,0 @@
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
- }
6
- export {
7
- e as default
8
- };
package/index113.js DELETED
@@ -1,8 +0,0 @@
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
- }
6
- export {
7
- r as default
8
- };
package/index114.js DELETED
@@ -1,8 +0,0 @@
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
- }
6
- export {
7
- u as default
8
- };
package/index115.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index36.js";
2
- var a = r["__core-js_shared__"];
3
- export {
4
- a as default
5
- };
package/index116.js DELETED
@@ -1,20 +0,0 @@
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
- }
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;
18
- export {
19
- t as default
20
- };
package/index117.js DELETED
@@ -1,8 +0,0 @@
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;
5
- }
6
- export {
7
- n as default
8
- };
package/index118.js DELETED
@@ -1,6 +0,0 @@
1
- function u(e, n) {
2
- return e == null ? void 0 : e[n];
3
- }
4
- export {
5
- u as default
6
- };
package/index119.js DELETED
@@ -1,6 +0,0 @@
1
- function t() {
2
- this.__data__ = [], this.size = 0;
3
- }
4
- export {
5
- t as default
6
- };
package/index120.js DELETED
@@ -1,12 +0,0 @@
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;
9
- }
10
- export {
11
- n as default
12
- };
package/index121.js DELETED
@@ -1,8 +0,0 @@
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];
5
- }
6
- export {
7
- i as default
8
- };
package/index122.js DELETED
@@ -1,7 +0,0 @@
1
- import a from "./index131.js";
2
- function e(t) {
3
- return a(this.__data__, t) > -1;
4
- }
5
- export {
6
- e as default
7
- };
package/index123.js DELETED
@@ -1,8 +0,0 @@
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
- }
6
- export {
7
- d as default
8
- };
package/index124.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index36.js";
2
- var a = r.Uint8Array;
3
- export {
4
- a as default
5
- };
package/index125.js DELETED
@@ -1,7 +0,0 @@
1
- function e(t) {
2
- var o = typeof t;
3
- return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
4
- }
5
- export {
6
- e as default
7
- };
package/index126.js DELETED
@@ -1,7 +0,0 @@
1
- import t from "./index132.js";
2
- function e() {
3
- this.__data__ = t ? t(null) : {}, this.size = 0;
4
- }
5
- export {
6
- e as default
7
- };
package/index127.js DELETED
@@ -1,7 +0,0 @@
1
- function s(t) {
2
- var e = this.has(t) && delete this.__data__[t];
3
- return this.size -= e ? 1 : 0, e;
4
- }
5
- export {
6
- s as default
7
- };
package/index128.js DELETED
@@ -1,13 +0,0 @@
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;
10
- }
11
- export {
12
- h as default
13
- };
package/index129.js DELETED
@@ -1,9 +0,0 @@
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);
6
- }
7
- export {
8
- p as default
9
- };
package/index130.js DELETED
@@ -1,9 +0,0 @@
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;
6
- }
7
- export {
8
- s as default
9
- };
package/index131.js DELETED
@@ -1,10 +0,0 @@
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
- }
8
- export {
9
- o as default
10
- };
package/index132.js DELETED
@@ -1,5 +0,0 @@
1
- import e from "./index102.js";
2
- var a = e(Object, "create");
3
- export {
4
- a as default
5
- };
package/index24.js DELETED
@@ -1,6 +0,0 @@
1
- function n(l) {
2
- return l == null;
3
- }
4
- export {
5
- n as default
6
- };
package/index25.js DELETED
@@ -1,27 +0,0 @@
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);
23
- }
24
- export {
25
- a as camelize,
26
- u as makeDestructurable
27
- };