@solar-taro/ui-vant 2.7.1 → 2.8.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 2.7.2 (2026-05-13)
2
+
3
+ This was a version bump only for ui-vant to align it with other projects, there were no code changes.
4
+
5
+ ## 2.7.1 (2026-04-23)
6
+
7
+ ### 🚀 Features
8
+
9
+ - **ui-vant/selector:** and list slot for list rendering
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - HyperLife1119
14
+
1
15
  ## 2.7.0 (2026-04-15)
2
16
 
3
17
  ### 🚀 Features
package/index10.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as X, ref as F, computed as m, renderSlot as Y, openBlock as Z, createElementBlock as _, createCommentVNode as x, createElementVNode as ee, mergeProps as le, resolveDirective as te, withDirectives as oe, unref as ae, toDisplayString as se, createTextVNode as ne, normalizeClass as re, withCtx as ie, createSlots as ue, createVNode as de, normalizeStyle as pe, createBlock as ce, Fragment as fe, renderList as ve } from "vue";
2
2
  import { useFilterList as me } from "@solar-taro/core";
3
3
  import { SunLazyRender as he, SunVirtualScroll as ye, SunItem as O } from "@solar-taro/ui-sun";
4
- import { createReusableTemplate as be } from "./index25.js";
5
- import B from "./index26.js";
4
+ import { createReusableTemplate as be } from "./index24.js";
5
+ import B from "./index25.js";
6
6
  import ge from "./index7.js";
7
7
  import Ve from "./index6.js";
8
8
  const u = Y, n = Z, p = _, h = x, v = ee, I = le, ke = te, M = oe, r = ae, P = se, $e = ne, j = re, s = ie, C = ue, y = de, z = pe, N = ce, L = fe, we = ve, Se = ["label", "value", "placeholder", "required", "disabled"], Ke = { name: "right-icon" }, Te = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], Be = { name: "right-icon" }, Ce = ["value"], ze = { class: "sun-selector-option-label" }, Fe = /* @__PURE__ */ X({
package/index115.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index78.js";
1
+ import o from "./index79.js";
2
2
  var e = o ? o.prototype : void 0, l = e ? e.valueOf : void 0;
3
3
  function r(t) {
4
4
  return l ? Object(l.call(t)) : {};
package/index16.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index17.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index18.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index19.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index22.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index23.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index24.js CHANGED
@@ -1,8 +1,38 @@
1
- import o from "./index28.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 "./index27.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/index25.js CHANGED
@@ -1,38 +1,6 @@
1
- import { makeDestructurable as d, camelize as f } from "./index27.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;
1
+ function n(l) {
2
+ return l == null;
33
3
  }
34
4
  export {
35
- f as camelize,
36
- h as createReusableTemplate,
37
- d as makeDestructurable
5
+ n as default
38
6
  };
package/index26.js CHANGED
@@ -1,6 +1,8 @@
1
- function n(l) {
2
- return l == null;
1
+ import o from "./index28.js";
2
+ var r = 1, n = 4;
3
+ function L(e) {
4
+ return o(e, r | n);
3
5
  }
4
6
  export {
5
- n as default
7
+ L as default
6
8
  };
package/index38.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "./index81.js";
1
+ import e from "./index78.js";
2
2
  var t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
3
3
  export {
4
4
  r as default
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 "./index24.js";
2
+ import y from "./index26.js";
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/index40.js CHANGED
@@ -1,6 +1,6 @@
1
- import t from "./index78.js";
2
- import e from "./index79.js";
3
- import o from "./index80.js";
1
+ import t from "./index79.js";
2
+ import e from "./index80.js";
3
+ import o from "./index81.js";
4
4
  var i = "[object Null]", f = "[object Undefined]", r = t ? t.toStringTag : void 0;
5
5
  function m(n) {
6
6
  return n == null ? n === void 0 ? f : i : r && r in Object(n) ? e(n) : o(n);
package/index45.js CHANGED
@@ -1,4 +1,4 @@
1
- import p from "./index81.js";
1
+ import p from "./index78.js";
2
2
  var t = typeof exports == "object" && exports && !exports.nodeType && exports, e = t && typeof module == "object" && module && !module.nodeType && module, u = e && e.exports === t, r = u && p.process, l = function() {
3
3
  try {
4
4
  var o = e && e.require && e.require("util").types;
package/index78.js CHANGED
@@ -1,5 +1,4 @@
1
- import o from "./index38.js";
2
- var m = o.Symbol;
1
+ var l = typeof global == "object" && global && global.Object === Object && global;
3
2
  export {
4
- m as default
3
+ l as default
5
4
  };
package/index79.js CHANGED
@@ -1,15 +1,5 @@
1
- import e from "./index78.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 "./index38.js";
2
+ var m = o.Symbol;
13
3
  export {
14
- p as default
4
+ m as default
15
5
  };
package/index80.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 "./index79.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/index81.js CHANGED
@@ -1,4 +1,7 @@
1
- var l = typeof global == "object" && global && global.Object === Object && global;
1
+ var o = Object.prototype, r = o.toString;
2
+ function e(t) {
3
+ return r.call(t);
4
+ }
2
5
  export {
3
- l as default
6
+ e as default
4
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",