@solar-taro/ui-sun 2.8.11 → 2.9.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/fab/index.scss +4 -0
  3. package/index.d.ts +1 -0
  4. package/index.js +16 -14
  5. package/index13.js +1 -1
  6. package/index14.js +1 -1
  7. package/index15.js +1 -1
  8. package/index16.js +4 -4
  9. package/index19.js +1 -1
  10. package/index24.js +30 -119
  11. package/index25.js +118 -9
  12. package/index26.js +14 -11
  13. package/index27.js +5 -5
  14. package/index28.js +9 -6
  15. package/index29.js +6 -8
  16. package/index30.js +9 -9
  17. package/index31.js +10 -2
  18. package/index32.js +1 -1
  19. package/index33.js +1 -1
  20. package/index34.js +1 -1
  21. package/index35.js +1 -1
  22. package/index36.js +1 -1
  23. package/index37.js +1 -1
  24. package/index39.js +1 -1
  25. package/index4.js +1 -1
  26. package/index40.js +1 -1
  27. package/index41.js +1 -1
  28. package/index42.js +1 -1
  29. package/index43.js +1 -1
  30. package/index44.js +1 -1
  31. package/index45.js +1 -1
  32. package/index46.js +1 -1
  33. package/index47.js +1 -1
  34. package/index49.js +1 -1
  35. package/index50.js +1 -1
  36. package/index51.js +1 -1
  37. package/index52.js +1 -1
  38. package/index53.js +1 -1
  39. package/index54.js +2 -3
  40. package/index55.js +525 -65
  41. package/index56.js +3 -12
  42. package/index57.js +64 -23
  43. package/index58.js +11 -13
  44. package/index59.js +25 -2
  45. package/index60.js +14 -526
  46. package/index61.js +2 -26
  47. package/index62.js +2 -2
  48. package/index63.js +24 -504
  49. package/index64.js +2 -79
  50. package/index65.js +498 -62
  51. package/index66.js +58 -48
  52. package/index67.js +62 -535
  53. package/index68.js +69 -2
  54. package/index69.js +543 -2
  55. package/index70.js +2 -2
  56. package/index71.js +2 -4
  57. package/index72.js +2 -2
  58. package/index73.js +4 -4
  59. package/index75.js +4 -2
  60. package/index77.js +2 -48
  61. package/index78.js +2 -82
  62. package/index80.js +48 -2
  63. package/index81.js +82 -2
  64. package/index82.js +2 -2
  65. package/index83.js +4 -0
  66. package/index84.js +4 -0
  67. package/index9.js +1 -1
  68. package/package.json +1 -1
  69. package/toggle/index.d.ts +1 -0
  70. package/toggle/index.scss +95 -0
  71. package/toggle/index.vue.d.ts +16 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 2.8.11 (2026-07-06)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **ui-sun/fab:** support color propetry
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
1
11
  ## 2.8.10 (2026-07-01)
2
12
 
3
13
  This was a version bump only for ui-sun to align it with other projects, there were no code changes.
package/fab/index.scss CHANGED
@@ -66,6 +66,10 @@
66
66
  --background: var(--color-medium);
67
67
  }
68
68
 
69
+ > .sun-icon {
70
+ font-size: 30px;
71
+ }
72
+
69
73
  &-group {
70
74
  position: fixed;
71
75
  right: calc(15px + var(--safe-right));
package/index.d.ts CHANGED
@@ -21,4 +21,5 @@ export * from './tabbar';
21
21
  export * from './table';
22
22
  export * from './tag';
23
23
  export * from './title';
24
+ export * from './toggle';
24
25
  export * from './virtual-scroll';
package/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SolarSun as a } from "./index2.js";
1
+ import { SolarSun as o } from "./index2.js";
2
2
  import { default as t } from "./index3.js";
3
3
  import { default as f } from "./index4.js";
4
- import { default as l } from "./index5.js";
4
+ import { default as n } from "./index5.js";
5
5
  import { default as d } from "./index6.js";
6
6
  import { default as m } from "./index7.js";
7
7
  import { default as x } from "./index8.js";
8
8
  import { default as c } from "./index9.js";
9
- import { default as T } from "./index10.js";
9
+ import { default as g } from "./index10.js";
10
10
  import { default as k } from "./index11.js";
11
11
  import { default as B } from "./index12.js";
12
12
  import { default as P } from "./index13.js";
@@ -25,36 +25,38 @@ import { default as W } from "./index25.js";
25
25
  import { default as Y } from "./index26.js";
26
26
  import { default as _ } from "./index27.js";
27
27
  import { default as ee } from "./index28.js";
28
- import { default as ae } from "./index29.js";
28
+ import { default as oe } from "./index29.js";
29
29
  import { default as te } from "./index30.js";
30
+ import { default as fe } from "./index31.js";
30
31
  export {
31
- a as SolarSun,
32
+ o as SolarSun,
32
33
  t as SunAccordion,
33
34
  f as SunBackButton,
34
- l as SunChip,
35
+ n as SunChip,
35
36
  d as SunCircularProgress,
36
37
  x as SunFab,
37
38
  m as SunFabGroup,
38
- W as SunIcon,
39
+ Y as SunIcon,
39
40
  c as SunItem,
40
- T as SunLazyRender,
41
- Y as SunListHeader,
41
+ g as SunLazyRender,
42
+ _ as SunListHeader,
42
43
  k as SunNavbar,
43
- _ as SunPageHeader,
44
+ ee as SunPageHeader,
44
45
  B as SunPopover,
45
46
  P as SunQrcode,
46
47
  H as SunSegment,
47
48
  v as SunSegmentBtn,
48
- ee as SunSkeleton,
49
+ oe as SunSkeleton,
49
50
  R as SunSliderCaptcha,
50
51
  y as SunSpinner,
51
52
  A as SunSudoku,
52
- ae as SunSudokuItem,
53
+ te as SunSudokuItem,
53
54
  N as SunTabbar,
54
55
  K as SunTag,
55
56
  E as SunTb,
56
57
  V as SunTbCell,
57
58
  q as SunTbRow,
58
- te as SunTitle,
59
- O as SunVirtualScroll
59
+ fe as SunTitle,
60
+ O as SunToggle,
61
+ W as SunVirtualScroll
60
62
  };
package/index13.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as C, watch as I, onMounted as L, onUnmounted as M, createElementVNode as k, unref as w, openBlock as z, createElementBlock as R } from "vue";
2
2
  import { createSelectorQuery as y, getWindowInfo as Q, previewImage as S } from "@tarojs/taro";
3
- import { QrCode as U, QrCodeEcc as a } from "./index60.js";
3
+ import { QrCode as U, QrCodeEcc as a } from "./index55.js";
4
4
  const h = k, A = w, B = z, D = R;
5
5
  let T = 1;
6
6
  const N = /* @__PURE__ */ C({
package/index14.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, inject as a, getCurrentInstance as c, onUnmounted as m, unref as u, renderSlot as i, mergeProps as _, openBlock as f, createElementBlock as v } from "vue";
2
- import { ACTIVE_CHILD as d, PARENT as g } from "./index54.js";
2
+ import { ACTIVE_CHILD as d, PARENT as g } from "./index56.js";
3
3
  const o = u, k = i, C = _, B = f, E = v, $ = /* @__PURE__ */ p({
4
4
  __name: "segment-btn",
5
5
  props: {
package/index15.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, getCurrentInstance as V, shallowRef as E, shallowReactive as k, computed as a, provide as i, watch as C, onMounted as w, renderSlot as y, createElementVNode as B, mergeProps as I, openBlock as O, createElementBlock as A } from "vue";
2
- import { ACTIVE_CHILD as N, PARENT as P } from "./index54.js";
2
+ import { ACTIVE_CHILD as N, PARENT as P } from "./index56.js";
3
3
  const R = y, T = B, b = I, L = O, S = A, $ = { class: "sun-segment-inner" }, M = /* @__PURE__ */ x({
4
4
  __name: "segment",
5
5
  props: {
package/index16.js CHANGED
@@ -7,10 +7,10 @@ import { useCommonInterceptor as re } from "@solar-taro/http";
7
7
  import { SunSpinner as ce } from "@solar-taro/ui-sun";
8
8
  import { attachLoading as le } from "@solar-vue/core";
9
9
  import { createSelectorQuery as pe, getWindowInfo as ue } from "@tarojs/taro";
10
- import { a as de } from "./index55.js";
11
- import { e as D } from "./index56.js";
12
- import me from "./index57.js";
13
- import ve from "./index58.js";
10
+ import { a as de } from "./index57.js";
11
+ import { e as D } from "./index58.js";
12
+ import me from "./index59.js";
13
+ import ve from "./index60.js";
14
14
  const g = K, H = O, o = Q, w = X, fe = Y, N = ee, he = te, U = ae, $ = ne, ye = { class: "sun-slider-captcha" }, ge = { class: "sun-slider-captcha-container" }, we = { class: "sun-slider-captcha-mask" }, ke = { class: "sun-slider-captcha-track" }, _e = ["x", "disabled"], V = "sun-slider-captcha", be = 155, Ie = 310, ze = 155, xe = 50, Le = /* @__PURE__ */ J({
15
15
  __name: "index",
16
16
  props: {
package/index19.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as p, renderList as _, Fragment as f, openBlock as d, createElementBlock as g, renderSlot as v, unref as b, createBlock as k, createCommentVNode as h, toDisplayString as B, createTextVNode as y, normalizeClass as C, mergeProps as $ } from "vue";
2
- import w from "./index25.js";
2
+ import w from "./index26.js";
3
3
  const N = _, S = f, r = d, n = g, T = v, V = b, L = k, z = h, D = B, E = y, F = C, P = $, j = ["scroll-left"], q = ["onTap"], I = /* @__PURE__ */ u({
4
4
  __name: "index",
5
5
  props: {
package/index24.js CHANGED
@@ -1,125 +1,36 @@
1
- import { defineComponent as I, ref as f, computed as a, onActivated as D, onMounted as L, onUnmounted as N, renderList as A, Fragment as M, openBlock as E, createElementBlock as K, renderSlot as R, normalizeStyle as j, createCommentVNode as q, toDisplayString as O, createTextVNode as Q, unref as U, withCtx as W, createBlock as X, mergeProps as Y } from "vue";
2
- import { withPixel as b } from "@solar-kit/core";
3
- import { rpxToPx as G, vibrator as H } from "@solar-taro/core";
4
- import { createSelectorQuery as J } from "@tarojs/taro";
5
- import Z from "./index17.js";
6
- const ee = A, te = M, s = E, c = K, z = R, g = j, re = q, le = O, oe = Q, B = U, ie = W, ne = X, ae = Y, se = ["id", "refresher-enabled", "refresher-triggered", "refresher-background", "scroll-x", "scroll-y", "scroll-top", "scroll-left"], ue = {
7
- key: 1,
8
- class: "sun-virtual-scroll-placeholder",
9
- style: { display: "flex", "justify-content": "center", "align-items": "center", height: "85%" }
10
- };
11
- let ce = 1;
12
- const he = /* @__PURE__ */ I({
1
+ import { defineComponent as r, mergeModels as d, useModel as c, computed as u, createElementVNode as i, normalizeClass as m, openBlock as g, createElementBlock as p } from "vue";
2
+ const t = i, v = m, f = g, k = p, w = /* @__PURE__ */ r({
13
3
  __name: "index",
14
- props: {
15
- refreshing: { type: Boolean },
16
- refresher: { type: Boolean },
17
- refresherBg: { default: "transparent" },
18
- direction: { default: "vertical" },
19
- items: {},
20
- itemSize: {},
21
- itemKey: {},
22
- id: { default: () => `sun-virtual-scroll-${ce++}` },
23
- bottomSpace: { default: 0 },
24
- loading: { type: Boolean },
25
- loadingText: { default: "Loading" }
26
- },
27
- emits: ["refresh", "lower"],
28
- setup($, { emit: x }) {
29
- const y = x, r = $;
30
- let m, i = 0, S = !1;
31
- const u = f(0), v = f(0), p = f(0), h = f(0), t = a(() => r.direction === "vertical"), _ = a(() => ({
32
- right: t.value ? "0" : "auto",
33
- transform: `translate${t.value ? "Y" : "X"}(${p.value}px)`,
34
- "white-space": t.value ? "normal" : "nowrap"
35
- })), n = a(() => typeof r.itemSize == "number" ? r.itemSize : r.itemSize.endsWith("rpx") ? G(parseFloat(r.itemSize)) : parseFloat(r.itemSize)), C = a(() => n.value * r.items.length), T = a(() => ({
36
- [t.value ? "height" : "width"]: b(C.value + r.bottomSpace)
37
- })), F = a(() => ({
38
- display: t.value ? "block" : "inline-block",
39
- [t.value ? "height" : "width"]: b(n.value)
40
- })), P = a(
41
- () => r.items.slice(
42
- Math.max(v.value - u.value, 0),
43
- v.value + u.value * 2
44
- )
45
- );
46
- function V({ detail: e }) {
47
- m && cancelAnimationFrame(m), m = requestAnimationFrame(() => {
48
- i = t.value ? e.scrollTop : e.scrollLeft, v.value = ~~(i / n.value), v.value > u.value - 1 ? p.value = i - n.value * u.value - i % n.value : p.value = i - i % (n.value * u.value), m = 0;
49
- });
50
- }
51
- function w() {
52
- setTimeout(() => {
53
- J().select(`#${r.id}`).boundingClientRect((e) => {
54
- if (S) return;
55
- if (e = e, !(e != null && e.height) || !(e != null && e.width))
56
- return w();
57
- const { height: l, width: o } = e, d = t.value ? l : o;
58
- u.value = Math.ceil(d / n.value);
59
- }).exec();
60
- }, 50);
4
+ props: /* @__PURE__ */ d({
5
+ disabled: { type: Boolean },
6
+ color: { default: "primary" }
7
+ }, {
8
+ modelValue: { type: Boolean },
9
+ modelModifiers: {}
10
+ }),
11
+ emits: ["update:modelValue"],
12
+ setup(s) {
13
+ const o = s, l = c(s, "modelValue"), n = u(() => [
14
+ `sun-toggle-${o.color}`,
15
+ {
16
+ "sun-toggle-disabled": o.disabled,
17
+ "sun-toggle-checked": l.value
18
+ }
19
+ ]);
20
+ function a() {
21
+ o.disabled || (l.value = !l.value);
61
22
  }
62
- return D(() => {
63
- h.value = i;
64
- }), L(() => {
65
- w();
66
- }), N(() => {
67
- S = !0;
68
- }), (e, l) => (s(), c("scroll-view", ae(e.$attrs, {
69
- id: e.id,
70
- class: "sun-virtual-scroll",
71
- "refresher-enabled": e.refresher,
72
- "refresher-triggered": e.refreshing,
73
- "refresher-background": e.refresherBg,
74
- "scroll-x": !t.value,
75
- "scroll-y": t.value,
76
- "scroll-top": t.value ? h.value : 0,
77
- "scroll-left": t.value ? 0 : h.value,
78
- enhanced: !0,
79
- "lower-threshold": 300,
80
- onScrollPassive: l[0] || (l[0] = (o) => V(o)),
81
- onRefresherrefresh: l[1] || (l[1] = (o) => {
82
- B(H).short("light"), y("refresh");
83
- }),
84
- onScrolltolower: l[2] || (l[2] = (o) => y("lower"))
85
- }), [
86
- e.items.length ? (s(), c("view", {
87
- key: 0,
88
- class: "sun-virtual-scroll-content-container",
89
- style: g(_.value)
90
- }, [
91
- (s(!0), c(te, null, ee(P.value, (o, d) => {
92
- var k;
93
- return s(), c("view", {
94
- key: (k = o[e.itemKey]) != null ? k : d,
95
- class: "sun-virtual-scroll-item",
96
- style: g(F.value)
97
- }, [
98
- z(e.$slots, "default", {
99
- item: o,
100
- index: d
101
- })
102
- ], 4);
103
- }), 128))
104
- ], 4)) : (s(), c("view", ue, [
105
- e.loading ? (s(), ne(B(Z), {
106
- key: 0,
107
- size: "large"
108
- }, {
109
- default: ie(() => [
110
- oe(le(e.loadingText), 1)
111
- ]),
112
- _: 1
113
- })) : z(e.$slots, "empty", { key: 1 })
114
- ])),
115
- e.items.length ? (s(), c("view", {
116
- key: 2,
117
- class: "sun-virtual-scroll-spacer",
118
- style: g(T.value)
119
- }, null, 4)) : re("", !0)
120
- ], 16, se));
23
+ return (B, e) => (f(), k("view", {
24
+ class: v(["sun-toggle", n.value]),
25
+ "hover-class": "hover",
26
+ onTap: e[0] || (e[0] = (V) => a())
27
+ }, e[1] || (e[1] = [
28
+ t("view", { class: "sun-toggle-toggle-icon-wrapper" }, [
29
+ t("view", { class: "sun-toggle-toggle-icon" })
30
+ ], -1)
31
+ ]), 34));
121
32
  }
122
33
  });
123
34
  export {
124
- he as default
35
+ w as default
125
36
  };
package/index25.js CHANGED
@@ -1,16 +1,125 @@
1
- import { defineComponent as c, computed as s, normalizeClass as t, openBlock as a, createElementBlock as l } from "vue";
2
- const r = t, i = a, m = l, d = /* @__PURE__ */ c({
1
+ import { defineComponent as I, ref as f, computed as a, onActivated as D, onMounted as L, onUnmounted as N, renderList as A, Fragment as M, openBlock as E, createElementBlock as K, renderSlot as R, normalizeStyle as j, createCommentVNode as q, toDisplayString as O, createTextVNode as Q, unref as U, withCtx as W, createBlock as X, mergeProps as Y } from "vue";
2
+ import { withPixel as b } from "@solar-kit/core";
3
+ import { rpxToPx as G, vibrator as H } from "@solar-taro/core";
4
+ import { createSelectorQuery as J } from "@tarojs/taro";
5
+ import Z from "./index17.js";
6
+ const ee = A, te = M, s = E, c = K, z = R, g = j, re = q, le = O, oe = Q, B = U, ie = W, ne = X, ae = Y, se = ["id", "refresher-enabled", "refresher-triggered", "refresher-background", "scroll-x", "scroll-y", "scroll-top", "scroll-left"], ue = {
7
+ key: 1,
8
+ class: "sun-virtual-scroll-placeholder",
9
+ style: { display: "flex", "justify-content": "center", "align-items": "center", height: "85%" }
10
+ };
11
+ let ce = 1;
12
+ const he = /* @__PURE__ */ I({
3
13
  __name: "index",
4
14
  props: {
5
- name: {}
15
+ refreshing: { type: Boolean },
16
+ refresher: { type: Boolean },
17
+ refresherBg: { default: "transparent" },
18
+ direction: { default: "vertical" },
19
+ items: {},
20
+ itemSize: {},
21
+ itemKey: {},
22
+ id: { default: () => `sun-virtual-scroll-${ce++}` },
23
+ bottomSpace: { default: 0 },
24
+ loading: { type: Boolean },
25
+ loadingText: { default: "Loading" }
6
26
  },
7
- setup(e) {
8
- const n = e, o = s(() => `ionicon-${n.name}`);
9
- return (p, _) => (i(), m("view", {
10
- class: r(["sun-icon ionicon", o.value])
11
- }, null, 2));
27
+ emits: ["refresh", "lower"],
28
+ setup($, { emit: x }) {
29
+ const y = x, r = $;
30
+ let m, i = 0, S = !1;
31
+ const u = f(0), v = f(0), p = f(0), h = f(0), t = a(() => r.direction === "vertical"), _ = a(() => ({
32
+ right: t.value ? "0" : "auto",
33
+ transform: `translate${t.value ? "Y" : "X"}(${p.value}px)`,
34
+ "white-space": t.value ? "normal" : "nowrap"
35
+ })), n = a(() => typeof r.itemSize == "number" ? r.itemSize : r.itemSize.endsWith("rpx") ? G(parseFloat(r.itemSize)) : parseFloat(r.itemSize)), C = a(() => n.value * r.items.length), T = a(() => ({
36
+ [t.value ? "height" : "width"]: b(C.value + r.bottomSpace)
37
+ })), F = a(() => ({
38
+ display: t.value ? "block" : "inline-block",
39
+ [t.value ? "height" : "width"]: b(n.value)
40
+ })), P = a(
41
+ () => r.items.slice(
42
+ Math.max(v.value - u.value, 0),
43
+ v.value + u.value * 2
44
+ )
45
+ );
46
+ function V({ detail: e }) {
47
+ m && cancelAnimationFrame(m), m = requestAnimationFrame(() => {
48
+ i = t.value ? e.scrollTop : e.scrollLeft, v.value = ~~(i / n.value), v.value > u.value - 1 ? p.value = i - n.value * u.value - i % n.value : p.value = i - i % (n.value * u.value), m = 0;
49
+ });
50
+ }
51
+ function w() {
52
+ setTimeout(() => {
53
+ J().select(`#${r.id}`).boundingClientRect((e) => {
54
+ if (S) return;
55
+ if (e = e, !(e != null && e.height) || !(e != null && e.width))
56
+ return w();
57
+ const { height: l, width: o } = e, d = t.value ? l : o;
58
+ u.value = Math.ceil(d / n.value);
59
+ }).exec();
60
+ }, 50);
61
+ }
62
+ return D(() => {
63
+ h.value = i;
64
+ }), L(() => {
65
+ w();
66
+ }), N(() => {
67
+ S = !0;
68
+ }), (e, l) => (s(), c("scroll-view", ae(e.$attrs, {
69
+ id: e.id,
70
+ class: "sun-virtual-scroll",
71
+ "refresher-enabled": e.refresher,
72
+ "refresher-triggered": e.refreshing,
73
+ "refresher-background": e.refresherBg,
74
+ "scroll-x": !t.value,
75
+ "scroll-y": t.value,
76
+ "scroll-top": t.value ? h.value : 0,
77
+ "scroll-left": t.value ? 0 : h.value,
78
+ enhanced: !0,
79
+ "lower-threshold": 300,
80
+ onScrollPassive: l[0] || (l[0] = (o) => V(o)),
81
+ onRefresherrefresh: l[1] || (l[1] = (o) => {
82
+ B(H).short("light"), y("refresh");
83
+ }),
84
+ onScrolltolower: l[2] || (l[2] = (o) => y("lower"))
85
+ }), [
86
+ e.items.length ? (s(), c("view", {
87
+ key: 0,
88
+ class: "sun-virtual-scroll-content-container",
89
+ style: g(_.value)
90
+ }, [
91
+ (s(!0), c(te, null, ee(P.value, (o, d) => {
92
+ var k;
93
+ return s(), c("view", {
94
+ key: (k = o[e.itemKey]) != null ? k : d,
95
+ class: "sun-virtual-scroll-item",
96
+ style: g(F.value)
97
+ }, [
98
+ z(e.$slots, "default", {
99
+ item: o,
100
+ index: d
101
+ })
102
+ ], 4);
103
+ }), 128))
104
+ ], 4)) : (s(), c("view", ue, [
105
+ e.loading ? (s(), ne(B(Z), {
106
+ key: 0,
107
+ size: "large"
108
+ }, {
109
+ default: ie(() => [
110
+ oe(le(e.loadingText), 1)
111
+ ]),
112
+ _: 1
113
+ })) : z(e.$slots, "empty", { key: 1 })
114
+ ])),
115
+ e.items.length ? (s(), c("view", {
116
+ key: 2,
117
+ class: "sun-virtual-scroll-spacer",
118
+ style: g(T.value)
119
+ }, null, 4)) : re("", !0)
120
+ ], 16, se));
12
121
  }
13
122
  });
14
123
  export {
15
- d as default
124
+ he as default
16
125
  };
package/index26.js CHANGED
@@ -1,13 +1,16 @@
1
- import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
- import s from "./index38.js";
3
- const c = {}, o = t, l = n, _ = r, d = { class: "sun-list-header" };
4
- function a(e, f) {
5
- return l(), _("view", d, [
6
- o(e.$slots, "default"),
7
- o(e.$slots, "end")
8
- ]);
9
- }
10
- const p = /* @__PURE__ */ s(c, [["render", a]]);
1
+ import { defineComponent as c, computed as s, normalizeClass as t, openBlock as a, createElementBlock as l } from "vue";
2
+ const r = t, i = a, m = l, d = /* @__PURE__ */ c({
3
+ __name: "index",
4
+ props: {
5
+ name: {}
6
+ },
7
+ setup(e) {
8
+ const n = e, o = s(() => `ionicon-${n.name}`);
9
+ return (p, _) => (i(), m("view", {
10
+ class: r(["sun-icon ionicon", o.value])
11
+ }, null, 2));
12
+ }
13
+ });
11
14
  export {
12
- p as default
15
+ d as default
13
16
  };
package/index27.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
- import c from "./index38.js";
3
- const s = {}, o = t, l = n, _ = r, a = { class: "sun-page-header" };
4
- function d(e, f) {
5
- return l(), _("view", a, [
2
+ import s from "./index38.js";
3
+ const c = {}, o = t, l = n, _ = r, d = { class: "sun-list-header" };
4
+ function a(e, f) {
5
+ return l(), _("view", d, [
6
6
  o(e.$slots, "default"),
7
7
  o(e.$slots, "end")
8
8
  ]);
9
9
  }
10
- const p = /* @__PURE__ */ c(s, [["render", d]]);
10
+ const p = /* @__PURE__ */ s(c, [["render", a]]);
11
11
  export {
12
12
  p as default
13
13
  };
package/index28.js CHANGED
@@ -1,10 +1,13 @@
1
- import { mergeProps as o, openBlock as r, createElementBlock as t } from "vue";
1
+ import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
2
  import c from "./index38.js";
3
- const n = {}, s = o, _ = r, l = t;
4
- function m(e, a) {
5
- return _(), l("view", s(e.$attrs, { class: "sun-skeleton" }), " ", 16);
3
+ const s = {}, o = t, l = n, _ = r, a = { class: "sun-page-header" };
4
+ function d(e, f) {
5
+ return l(), _("view", a, [
6
+ o(e.$slots, "default"),
7
+ o(e.$slots, "end")
8
+ ]);
6
9
  }
7
- const i = /* @__PURE__ */ c(n, [["render", m]]);
10
+ const p = /* @__PURE__ */ c(s, [["render", d]]);
8
11
  export {
9
- i as default
12
+ p as default
10
13
  };
package/index29.js CHANGED
@@ -1,12 +1,10 @@
1
- import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
2
- import n from "./index38.js";
3
- const c = {}, l = o, m = r, _ = t, a = s;
4
- function u(e, d) {
5
- return _(), a("view", m(e.$attrs, { class: "sun-sudoku-item" }), [
6
- l(e.$slots, "default")
7
- ], 16);
1
+ import { mergeProps as o, openBlock as r, createElementBlock as t } from "vue";
2
+ import c from "./index38.js";
3
+ const n = {}, s = o, _ = r, l = t;
4
+ function m(e, a) {
5
+ return _(), l("view", s(e.$attrs, { class: "sun-skeleton" }), " ", 16);
8
6
  }
9
- const i = /* @__PURE__ */ n(c, [["render", u]]);
7
+ const i = /* @__PURE__ */ c(n, [["render", m]]);
10
8
  export {
11
9
  i as default
12
10
  };
package/index30.js CHANGED
@@ -1,12 +1,12 @@
1
- import { renderSlot as t, openBlock as o, createElementBlock as n } from "vue";
2
- import r from "./index38.js";
3
- const c = {}, s = t, l = o, _ = n, a = { class: "sun-title" };
4
- function d(e, f) {
5
- return l(), _("view", a, [
6
- s(e.$slots, "default")
7
- ]);
1
+ import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
2
+ import n from "./index38.js";
3
+ const c = {}, l = o, m = r, _ = t, a = s;
4
+ function u(e, d) {
5
+ return _(), a("view", m(e.$attrs, { class: "sun-sudoku-item" }), [
6
+ l(e.$slots, "default")
7
+ ], 16);
8
8
  }
9
- const p = /* @__PURE__ */ r(c, [["render", d]]);
9
+ const i = /* @__PURE__ */ n(c, [["render", u]]);
10
10
  export {
11
- p as default
11
+ i as default
12
12
  };
package/index31.js CHANGED
@@ -1,4 +1,12 @@
1
- import f from "./index7.js";
1
+ import { renderSlot as t, openBlock as o, createElementBlock as n } from "vue";
2
+ import r from "./index38.js";
3
+ const c = {}, s = t, l = o, _ = n, a = { class: "sun-title" };
4
+ function d(e, f) {
5
+ return l(), _("view", a, [
6
+ s(e.$slots, "default")
7
+ ]);
8
+ }
9
+ const p = /* @__PURE__ */ r(c, [["render", d]]);
2
10
  export {
3
- f as default
11
+ p as default
4
12
  };
package/index32.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index33.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index34.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index25.js";
1
+ import f from "./index26.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index35.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index36.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index11.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index37.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index39.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index13.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index4.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, unref as r, openBlock as t, createBlock as c } from "vue";
2
2
  import { router as a } from "@solar-taro/core";
3
- import m from "./index25.js";
3
+ import m from "./index26.js";
4
4
  const n = r, p = t, _ = c, b = /* @__PURE__ */ o({
5
5
  __name: "index",
6
6
  setup(s) {
package/index40.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index11.js";
1
+ import f from "./index10.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index41.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index10.js";
1
+ import f from "./index14.js";
2
2
  export {
3
3
  f as default
4
4
  };