@solar-taro/ui-sun 2.7.2 → 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.
Files changed (70) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/index.d.ts +1 -0
  3. package/index.js +13 -11
  4. package/index12.js +1 -1
  5. package/index13.js +1 -1
  6. package/index14.js +1 -1
  7. package/index15.js +4 -4
  8. package/index18.js +1 -1
  9. package/index22.js +17 -118
  10. package/index23.js +123 -14
  11. package/index24.js +14 -14
  12. package/index25.js +14 -11
  13. package/index26.js +5 -5
  14. package/index27.js +10 -7
  15. package/index28.js +6 -8
  16. package/index29.js +9 -9
  17. package/index30.js +10 -2
  18. package/index31.js +1 -1
  19. package/index33.js +1 -1
  20. package/index34.js +2 -7
  21. package/index35.js +7 -2
  22. package/index36.js +1 -1
  23. package/index37.js +1 -1
  24. package/index38.js +1 -1
  25. package/index39.js +1 -1
  26. package/index4.js +1 -1
  27. package/index40.js +1 -1
  28. package/index41.js +1 -1
  29. package/index42.js +1 -1
  30. package/index43.js +1 -1
  31. package/index44.js +1 -1
  32. package/index45.js +1 -1
  33. package/index46.js +1 -1
  34. package/index47.js +1 -1
  35. package/index48.js +1 -1
  36. package/index49.js +1 -1
  37. package/index50.js +1 -1
  38. package/index51.js +1 -1
  39. package/index52.js +2 -3
  40. package/index53.js +2 -526
  41. package/index54.js +3 -66
  42. package/index55.js +526 -12
  43. package/index56.js +64 -23
  44. package/index57.js +11 -13
  45. package/index58.js +25 -26
  46. package/index59.js +14 -2
  47. package/index60.js +24 -504
  48. package/index61.js +2 -79
  49. package/index62.js +498 -62
  50. package/index63.js +58 -48
  51. package/index64.js +62 -535
  52. package/index65.js +69 -2
  53. package/index66.js +543 -2
  54. package/index67.js +2 -2
  55. package/index68.js +2 -4
  56. package/index69.js +2 -2
  57. package/index70.js +4 -4
  58. package/index72.js +4 -2
  59. package/index75.js +2 -48
  60. package/index76.js +41 -75
  61. package/index77.js +82 -2
  62. package/index78.js +2 -2
  63. package/index79.js +2 -2
  64. package/index8.js +1 -1
  65. package/index80.js +4 -0
  66. package/index81.js +4 -0
  67. package/package.json +1 -1
  68. package/tag/index.d.ts +1 -0
  69. package/tag/index.scss +89 -0
  70. package/tag/index.vue.d.ts +26 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 2.7.2 (2026-05-13)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **ui-sun/page-header:** add 'end' slot for additional content
6
+ - **ui-sun/list-header:** add 'end' slot for additional content
7
+
8
+ ### 🩹 Fixes
9
+
10
+ - **ui-sun/table:** fix bug
11
+
12
+ ### ❤️ Thank You
13
+
14
+ - HyperLife1119
15
+
1
16
  ## 2.7.1 (2026-04-23)
2
17
 
3
18
  ### 🚀 Features
package/index.d.ts CHANGED
@@ -19,5 +19,6 @@ export * from './spinner';
19
19
  export * from './sudoku';
20
20
  export * from './tabbar';
21
21
  export * from './table';
22
+ export * from './tag';
22
23
  export * from './title';
23
24
  export * from './virtual-scroll';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { SolarSun as o } from "./index2.js";
1
+ import { SolarSun as a } from "./index2.js";
2
2
  import { default as t } from "./index3.js";
3
3
  import { default as f } from "./index4.js";
4
4
  import { default as l } from "./index5.js";
@@ -25,34 +25,36 @@ 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 oe } from "./index29.js";
28
+ import { default as ae } from "./index29.js";
29
+ import { default as te } from "./index30.js";
29
30
  export {
30
- o as SolarSun,
31
+ a as SolarSun,
31
32
  t as SunAccordion,
32
33
  f as SunBackButton,
33
34
  l as SunChip,
34
35
  d as SunCircularProgress,
35
- K as SunFab,
36
+ O as SunFab,
36
37
  m as SunFabGroup,
37
- O as SunIcon,
38
+ W as SunIcon,
38
39
  x as SunItem,
39
40
  c as SunLazyRender,
40
- W as SunListHeader,
41
+ Y as SunListHeader,
41
42
  T as SunNavbar,
42
- Y as SunPageHeader,
43
+ _ as SunPageHeader,
43
44
  k as SunPopover,
44
45
  B as SunQrcode,
45
46
  v as SunSegment,
46
47
  P as SunSegmentBtn,
47
- _ as SunSkeleton,
48
+ ee as SunSkeleton,
48
49
  H as SunSliderCaptcha,
49
50
  R as SunSpinner,
50
51
  y as SunSudoku,
51
- ee as SunSudokuItem,
52
+ ae as SunSudokuItem,
52
53
  A as SunTabbar,
54
+ E as SunTag,
53
55
  q as SunTb,
54
56
  N as SunTbCell,
55
57
  V as SunTbRow,
56
- oe as SunTitle,
57
- E as SunVirtualScroll
58
+ te as SunTitle,
59
+ K as SunVirtualScroll
58
60
  };
package/index12.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 "./index53.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/index13.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 "./index52.js";
2
+ import { ACTIVE_CHILD as d, PARENT as g } from "./index54.js";
3
3
  const o = u, k = i, C = _, B = f, E = v, $ = /* @__PURE__ */ p({
4
4
  __name: "segment-btn",
5
5
  props: {
package/index14.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 "./index52.js";
2
+ import { ACTIVE_CHILD as N, PARENT as P } from "./index54.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/index15.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 "./index54.js";
11
- import { e as D } from "./index55.js";
12
- import me from "./index56.js";
13
- import ve from "./index57.js";
10
+ import { a as de } from "./index56.js";
11
+ import { e as D } from "./index57.js";
12
+ import me from "./index58.js";
13
+ import ve from "./index59.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/index18.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 "./index24.js";
2
+ import w from "./index25.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/index22.js CHANGED
@@ -1,125 +1,24 @@
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 "./index16.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 n, computed as a, renderSlot as l, normalizeClass as r, openBlock as c, createElementBlock as p } from "vue";
2
+ const u = l, d = r, m = c, _ = p, g = /* @__PURE__ */ n({
13
3
  __name: "index",
14
4
  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" }
5
+ type: { default: "solid" },
6
+ color: {},
7
+ shape: { default: "round" }
26
8
  },
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));
9
+ setup(o) {
10
+ const e = o, t = a(() => [
11
+ `sun-tag-${e.type}`,
12
+ `sun-tag-${e.color}`,
13
+ `sun-tag-${e.shape}`
14
+ ]);
15
+ return (s, i) => (m(), _("view", {
16
+ class: d(["sun-tag", t.value])
17
+ }, [
18
+ u(s.$slots, "default")
19
+ ], 2));
121
20
  }
122
21
  });
123
22
  export {
124
- he as default
23
+ g as default
125
24
  };
package/index23.js CHANGED
@@ -1,16 +1,125 @@
1
- import { renderSlot as r, mergeProps as o, openBlock as t, createElementBlock as s } from "vue";
2
- import c from "./index34.js";
3
- const n = {}, a = r, l = o, f = t, m = s;
4
- function _(e, p) {
5
- return f(), m("view", l(e.$attrs, {
6
- class: "sun-fab",
7
- "hover-class": "hover",
8
- "hover-stay-time": "200"
9
- }), [
10
- a(e.$slots, "default")
11
- ], 16);
12
- }
13
- const u = /* @__PURE__ */ c(n, [["render", _]]);
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 "./index16.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({
13
+ __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);
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));
121
+ }
122
+ });
14
123
  export {
15
- u as default
124
+ he as default
16
125
  };
package/index24.js CHANGED
@@ -1,16 +1,16 @@
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
- });
1
+ import { renderSlot as r, mergeProps as o, openBlock as t, createElementBlock as s } from "vue";
2
+ import c from "./index35.js";
3
+ const n = {}, a = r, l = o, f = t, m = s;
4
+ function _(e, p) {
5
+ return f(), m("view", l(e.$attrs, {
6
+ class: "sun-fab",
7
+ "hover-class": "hover",
8
+ "hover-stay-time": "200"
9
+ }), [
10
+ a(e.$slots, "default")
11
+ ], 16);
12
+ }
13
+ const u = /* @__PURE__ */ c(n, [["render", _]]);
14
14
  export {
15
- d as default
15
+ u as default
16
16
  };
package/index25.js CHANGED
@@ -1,13 +1,16 @@
1
- import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
- import s from "./index34.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/index26.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
- import c from "./index34.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 "./index35.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/index27.js CHANGED
@@ -1,10 +1,13 @@
1
- import { mergeProps as o, openBlock as r, createElementBlock as t } from "vue";
2
- import c from "./index34.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);
1
+ import { renderSlot as t, openBlock as n, createElementBlock as r } from "vue";
2
+ import c from "./index35.js";
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/index28.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 "./index34.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 "./index35.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/index29.js CHANGED
@@ -1,12 +1,12 @@
1
- import { renderSlot as t, openBlock as o, createElementBlock as n } from "vue";
2
- import r from "./index34.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 "./index35.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/index30.js CHANGED
@@ -1,4 +1,12 @@
1
- import f from "./index3.js";
1
+ import { renderSlot as t, openBlock as o, createElementBlock as n } from "vue";
2
+ import r from "./index35.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/index31.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index24.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 "./index7.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index34.js CHANGED
@@ -1,9 +1,4 @@
1
- const s = (t, e) => {
2
- const o = t.__vccOpts || t;
3
- for (const [r, c] of e)
4
- o[r] = c;
5
- return o;
6
- };
1
+ import f from "./index7.js";
7
2
  export {
8
- s as default
3
+ f as default
9
4
  };
package/index35.js CHANGED
@@ -1,4 +1,9 @@
1
- import f from "./index6.js";
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
2
7
  export {
3
- f as default
8
+ s as default
4
9
  };
package/index36.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index17.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index37.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index13.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index38.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index14.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index39.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index13.js";
2
2
  export {
3
3
  f as default
4
4
  };