@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.
- package/CHANGELOG.md +15 -0
- package/index.d.ts +1 -0
- package/index.js +13 -11
- package/index12.js +1 -1
- package/index13.js +1 -1
- package/index14.js +1 -1
- package/index15.js +4 -4
- package/index18.js +1 -1
- package/index22.js +17 -118
- package/index23.js +123 -14
- package/index24.js +14 -14
- package/index25.js +14 -11
- package/index26.js +5 -5
- package/index27.js +10 -7
- package/index28.js +6 -8
- package/index29.js +9 -9
- package/index30.js +10 -2
- package/index31.js +1 -1
- package/index33.js +1 -1
- package/index34.js +2 -7
- package/index35.js +7 -2
- package/index36.js +1 -1
- package/index37.js +1 -1
- package/index38.js +1 -1
- package/index39.js +1 -1
- package/index4.js +1 -1
- package/index40.js +1 -1
- package/index41.js +1 -1
- package/index42.js +1 -1
- package/index43.js +1 -1
- package/index44.js +1 -1
- package/index45.js +1 -1
- package/index46.js +1 -1
- package/index47.js +1 -1
- package/index48.js +1 -1
- package/index49.js +1 -1
- package/index50.js +1 -1
- package/index51.js +1 -1
- package/index52.js +2 -3
- package/index53.js +2 -526
- package/index54.js +3 -66
- package/index55.js +526 -12
- package/index56.js +64 -23
- package/index57.js +11 -13
- package/index58.js +25 -26
- package/index59.js +14 -2
- package/index60.js +24 -504
- package/index61.js +2 -79
- package/index62.js +498 -62
- package/index63.js +58 -48
- package/index64.js +62 -535
- package/index65.js +69 -2
- package/index66.js +543 -2
- package/index67.js +2 -2
- package/index68.js +2 -4
- package/index69.js +2 -2
- package/index70.js +4 -4
- package/index72.js +4 -2
- package/index75.js +2 -48
- package/index76.js +41 -75
- package/index77.js +82 -2
- package/index78.js +2 -2
- package/index79.js +2 -2
- package/index8.js +1 -1
- package/index80.js +4 -0
- package/index81.js +4 -0
- package/package.json +1 -1
- package/tag/index.d.ts +1 -0
- package/tag/index.scss +89 -0
- 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
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SolarSun as
|
|
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
|
|
28
|
+
import { default as ae } from "./index29.js";
|
|
29
|
+
import { default as te } from "./index30.js";
|
|
29
30
|
export {
|
|
30
|
-
|
|
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
|
-
|
|
36
|
+
O as SunFab,
|
|
36
37
|
m as SunFabGroup,
|
|
37
|
-
|
|
38
|
+
W as SunIcon,
|
|
38
39
|
x as SunItem,
|
|
39
40
|
c as SunLazyRender,
|
|
40
|
-
|
|
41
|
+
Y as SunListHeader,
|
|
41
42
|
T as SunNavbar,
|
|
42
|
-
|
|
43
|
+
_ as SunPageHeader,
|
|
43
44
|
k as SunPopover,
|
|
44
45
|
B as SunQrcode,
|
|
45
46
|
v as SunSegment,
|
|
46
47
|
P as SunSegmentBtn,
|
|
47
|
-
|
|
48
|
+
ee as SunSkeleton,
|
|
48
49
|
H as SunSliderCaptcha,
|
|
49
50
|
R as SunSpinner,
|
|
50
51
|
y as SunSudoku,
|
|
51
|
-
|
|
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
|
-
|
|
57
|
-
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
11
|
-
import { e as D } from "./
|
|
12
|
-
import me from "./
|
|
13
|
-
import ve from "./
|
|
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 "./
|
|
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
|
|
2
|
-
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
23
|
+
g as default
|
|
125
24
|
};
|
package/index23.js
CHANGED
|
@@ -1,16 +1,125 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
124
|
+
he as default
|
|
16
125
|
};
|
package/index24.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
15
|
+
u as default
|
|
16
16
|
};
|
package/index25.js
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
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
|
|
3
|
-
const
|
|
4
|
-
function
|
|
5
|
-
return l(), _("view",
|
|
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
|
|
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 {
|
|
2
|
-
import c from "./
|
|
3
|
-
const
|
|
4
|
-
function
|
|
5
|
-
return
|
|
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
|
|
10
|
+
const p = /* @__PURE__ */ c(s, [["render", d]]);
|
|
8
11
|
export {
|
|
9
|
-
|
|
12
|
+
p as default
|
|
10
13
|
};
|
package/index28.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
function
|
|
5
|
-
return _(),
|
|
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
|
|
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
|
|
2
|
-
import
|
|
3
|
-
const c = {},
|
|
4
|
-
function
|
|
5
|
-
return
|
|
6
|
-
|
|
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
|
|
9
|
+
const i = /* @__PURE__ */ n(c, [["render", u]]);
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
i as default
|
|
12
12
|
};
|
package/index30.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import
|
|
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
|
-
|
|
11
|
+
p as default
|
|
4
12
|
};
|
package/index31.js
CHANGED
package/index33.js
CHANGED
package/index34.js
CHANGED
package/index35.js
CHANGED
package/index36.js
CHANGED
package/index37.js
CHANGED
package/index38.js
CHANGED
package/index39.js
CHANGED