@solar-taro/ui-vant 2.8.4 → 2.8.5

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,13 @@
1
+ ## 2.8.4 (2026-05-27)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **ui-vant/date-range-picker:** update icon color
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
1
11
  ## 2.8.3 (2026-05-21)
2
12
 
3
13
  ### 🚀 Features
package/index10.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as _, ref as I, computed as v, renderSlot as x, toDisplayString as ee, createTextVNode as le, Fragment as te, openBlock as oe, createElementBlock as se, createCommentVNode as ae, renderList as ne, unref as re, withCtx as ie, createBlock as ue, createElementVNode as de, mergeProps as pe, resolveDirective as ce, withDirectives as fe, normalizeClass as ve, createSlots as me, createVNode as ye, normalizeStyle as he } from "vue";
2
2
  import { useFilterList as be } from "@solar-taro/core";
3
3
  import { SunTag as ge, SunLazyRender as ke, SunVirtualScroll as Ve, SunItem as M } from "@solar-taro/ui-sun";
4
- import { createReusableTemplate as $e } from "./index25.js";
4
+ import { createReusableTemplate as $e } from "./index24.js";
5
5
  import we from "./index7.js";
6
6
  import Se from "./index6.js";
7
- import P from "./index26.js";
7
+ import P from "./index25.js";
8
8
  const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n = ie, B = ue, y = de, A = pe, Te = ce, U = fe, G = ve, D = me, b = ye, W = he, Be = ["label", "placeholder", "required", "disabled"], Ke = {
9
9
  key: 0,
10
10
  name: "input",
package/index16.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.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 "./index4.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 "./index7.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index19.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.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 "./index9.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index23.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index4.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/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/index7.js CHANGED
@@ -1,12 +1,12 @@
1
- import { defineComponent as p, ref as u, computed as f, onUnmounted as h, renderSlot as b, createElementVNode as y, toDisplayString as g, openBlock as v, createElementBlock as k, createCommentVNode as w, mergeProps as _ } from "vue";
2
- import { onKeyboardHeightChange as B, offKeyboardHeightChange as C } from "@tarojs/taro";
3
- const n = b, r = y, $ = g, a = v, i = k, D = w, E = _, N = ["show", "title", "close-on-click-overlay"], S = {
1
+ import { defineComponent as f, ref as h, computed as b, watch as y, onUnmounted as g, renderSlot as v, createElementVNode as w, toDisplayString as k, openBlock as B, createElementBlock as _, createCommentVNode as C, mergeProps as $ } from "vue";
2
+ import { onKeyboardHeightChange as D, offKeyboardHeightChange as E } from "@tarojs/taro";
3
+ const n = v, r = w, N = k, a = B, i = _, S = C, V = $, H = ["show", "title", "close-on-click-overlay"], K = {
4
4
  class: "sun-modal-extra",
5
5
  style: { position: "absolute", top: "0", left: "16px", display: "flex", alignItems: "center", height: "48px" }
6
- }, V = {
6
+ }, P = {
7
7
  key: 0,
8
8
  class: "van-button-container van-button-group"
9
- }, H = ["disabled"], x = /* @__PURE__ */ p({
9
+ }, T = ["disabled"], U = /* @__PURE__ */ f({
10
10
  __name: "index",
11
11
  props: {
12
12
  show: { type: Boolean },
@@ -16,39 +16,39 @@ const n = b, r = y, $ = g, a = v, i = k, D = w, E = _, N = ["show", "title", "cl
16
16
  confirmDisabled: { type: Boolean }
17
17
  },
18
18
  emits: ["update:show", "close", "confirm"],
19
- setup(K, { emit: d }) {
20
- const t = d, s = u(0), c = f(() => s.value === 0);
19
+ setup(c, { emit: d }) {
20
+ const t = d, m = c, s = h(0), p = b(() => s.value === 0);
21
21
  function l(e) {
22
22
  s.value = e.height;
23
23
  }
24
- return B(l), h(() => {
25
- C(l);
26
- }), (e, o) => (a(), i("van-action-sheet", E(e.$attrs, {
24
+ return y(() => m.show, (e) => {
25
+ e || t("close");
26
+ }), D(l), g(() => {
27
+ E(l);
28
+ }), (e, o) => (a(), i("van-action-sheet", V(e.$attrs, {
27
29
  show: e.show,
28
30
  title: e.title,
29
- "close-on-click-overlay": c.value,
30
- onClose: o[1] || (o[1] = (m) => {
31
- t("update:show", !1), t("close");
32
- })
31
+ "close-on-click-overlay": p.value,
32
+ onClose: o[1] || (o[1] = (u) => t("update:show", !1))
33
33
  }), [
34
- r("view", S, [
34
+ r("view", K, [
35
35
  n(e.$slots, "extra")
36
36
  ]),
37
37
  n(e.$slots, "default"),
38
- e.showButtons ? (a(), i("view", V, [
38
+ e.showButtons ? (a(), i("view", P, [
39
39
  n(e.$slots, "buttons", {}, () => [
40
40
  r("van-button", {
41
41
  type: "primary",
42
42
  round: "true",
43
43
  block: "true",
44
44
  disabled: e.confirmDisabled,
45
- onClick: o[0] || (o[0] = (m) => t("confirm"))
46
- }, $(e.confirmText), 9, H)
45
+ onClick: o[0] || (o[0] = (u) => t("confirm"))
46
+ }, N(e.confirmText), 9, T)
47
47
  ])
48
- ])) : D("", !0)
49
- ], 16, N));
48
+ ])) : S("", !0)
49
+ ], 16, H));
50
50
  }
51
51
  });
52
52
  export {
53
- x as default
53
+ U as default
54
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "2.8.4",
3
+ "version": "2.8.5",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",