vue-color-ui 0.0.42 → 0.0.43
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/README.md +0 -0
- package/lib/css/animation.css +0 -0
- package/lib/css/icon.css +0 -0
- package/lib/css/main.css +0 -0
- package/lib/style.css +1 -1
- package/lib/temp-color-ui.js +52 -47
- package/lib/temp-color-ui.umd.cjs +2 -2
- package/lib/vite.svg +0 -0
- package/package.json +1 -1
- package/type/Menu.d.ts +0 -0
- package/type/chat.d.ts +0 -0
- package/type/color.d.ts +0 -0
- package/type/grid.d.ts +0 -0
- package/type/icon.d.ts +0 -0
- package/type/index.d.ts +0 -0
- package/type/timeline.d.ts +0 -0
- package/types/pkg/Base/Avatar.vue.d.ts +13 -13
- package/types/pkg/Base/AvatarGroup.vue.d.ts +6 -6
- package/types/pkg/Base/Button.vue.d.ts +14 -14
- package/types/pkg/Base/Icon.vue.d.ts +4 -4
- package/types/pkg/Base/Tag.vue.d.ts +11 -11
- package/types/pkg/Base/Title.vue.d.ts +13 -12
- package/types/pkg/Base/index.d.ts +0 -0
- package/types/pkg/ChatList/ChatListItem.vue.d.ts +11 -11
- package/types/pkg/ChatList/index.d.ts +0 -0
- package/types/pkg/ChatList/index.vue.d.ts +8 -8
- package/types/pkg/ChatRoom/index.d.ts +0 -0
- package/types/pkg/ChatRoom/index.vue.d.ts +8 -8
- package/types/pkg/GridGroup/index.d.ts +0 -0
- package/types/pkg/GridGroup/index.vue.d.ts +4 -4
- package/types/pkg/InputBar/components/CandidateBox.vue.d.ts +9 -11
- package/types/pkg/InputBar/components/EmojiPanel.vue.d.ts +0 -0
- package/types/pkg/InputBar/components/FunctionPanel.vue.d.ts +3 -4
- package/types/pkg/InputBar/index.d.ts +0 -0
- package/types/pkg/InputBar/index.vue.d.ts +46 -16
- package/types/pkg/Loading/index.d.ts +0 -0
- package/types/pkg/Loading/index.vue.d.ts +4 -4
- package/types/pkg/Loading/loading2.vue.d.ts +4 -4
- package/types/pkg/Menu/index.d.ts +0 -0
- package/types/pkg/Menu/index.vue.d.ts +4 -4
- package/types/pkg/NavBar/index.d.ts +0 -0
- package/types/pkg/NavBar/index.vue.d.ts +4 -4
- package/types/pkg/NavCard/index.d.ts +0 -0
- package/types/pkg/NavCard/index.vue.d.ts +4 -4
- package/types/pkg/NewCard/index.d.ts +0 -0
- package/types/pkg/NewCard/index.vue.d.ts +4 -4
- package/types/pkg/SearchBar/index.d.ts +0 -0
- package/types/pkg/SearchBar/index.vue.d.ts +4 -4
- package/types/pkg/ShareCard/index.d.ts +0 -0
- package/types/pkg/ShareCard/index.vue.d.ts +4 -4
- package/types/pkg/Steps/index.d.ts +0 -0
- package/types/pkg/Steps/index.vue.d.ts +4 -4
- package/types/pkg/Tab/TTab.vue.d.ts +14 -13
- package/types/pkg/Tab/index.d.ts +0 -0
- package/types/pkg/Tab/index.vue.d.ts +12 -12
- package/types/pkg/TimeLine/index.d.ts +0 -0
- package/types/pkg/TimeLine/index.vue.d.ts +13 -11
- package/types/pkg/TopBar/index.d.ts +0 -0
- package/types/pkg/TopBar/index.vue.d.ts +4 -4
- package/types/pkg/VirtualScrollSlide/index.d.ts +0 -0
- package/types/pkg/VirtualScrollSlide/index.vue.d.ts +0 -0
- package/types/pkg/index.d.ts +0 -0
- package/types/pkg/modal/index.d.ts +0 -0
- package/types/pkg/modal/index.vue.d.ts +11 -11
- package/types/pkg/tools.d.ts +0 -0
- package/types/src/App.vue.d.ts +0 -0
- package/types/src/components/HelloWorld.vue.d.ts +3 -4
- package/types/src/main.d.ts +0 -0
- package/types/utils/size.d.ts +0 -0
- package/types/index.d.ts +0 -0
package/README.md
CHANGED
|
File without changes
|
package/lib/css/animation.css
CHANGED
|
File without changes
|
package/lib/css/icon.css
CHANGED
|
File without changes
|
package/lib/css/main.css
CHANGED
|
File without changes
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.nav-list{display:flex;flex-wrap:wrap;padding:0 20px;justify-content:space-between}.nav-li{padding:15px;border-radius:6px;width:45%;margin:0 2.5% 20px;background-size:cover;background-position:center;position:relative;z-index:1;cursor:pointer}.nav-li:after{content:"";position:absolute;z-index:-1;background-color:inherit;width:100%;height:100%;left:0;bottom:-10%;border-radius:5px;opacity:.2;transform:scale(.9)}.nav-li.cur{color:#fff;background:#5eb95e;box-shadow:2px 2px 3px #5eb95e66}.nav-title{font-size:16px;font-weight:300}.nav-title:first-letter{font-size:20px;margin-right:2px}.nav-name{font-size:14px;text-transform:Capitalize;margin-top:10px;position:relative}.nav-name:before{content:"";position:absolute;display:block;width:20px;height:3px;background:#fff;bottom:0;right:0;opacity:.5}.nav-name:after{content:"";position:absolute;display:block;width:50px;height:1px;background:#fff;bottom:0;right:20px;opacity:.3}.nav-name:first-letter{font-weight:700;font-size:18px;margin-right:1px}.nav-li text{position:absolute;right:15px;top:15px;font-size:26px;width:30px;height:30px;text-align:center;line-height:30px}.text-light{font-weight:300}@keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}@-webkit-keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}.cu-card-cover[data-v-bbdb83ff]{width:100%}.cu-card .content img[data-v-bbdb83ff]{width:33%;object-fit:cover}.cu-card-cover{width:100%}.cu-card .content img{width:33%;object-fit:cover}.string-list[data-v-c7a21a1c]{width:100%;display:block;list-style:none;background-color:#fff;padding:2px 5px;margin:0;box-shadow:0 4px 8px #0000001a}.string-list li[data-v-c7a21a1c]{line-height:1.5rem;padding:8px 12px;border-bottom:1px solid #eee;transition:background-color .3s,color .3s}.string-list li[data-v-c7a21a1c]:last-child{border-bottom:none}.string-list li[data-v-c7a21a1c]:hover{background-color:#f0f0f0;color:#333;cursor:pointer;border-radius:4px}.emoji-panel[data-v-e9a4aa4d]{background-color:#fff;border:1px solid #ccc;padding:10px;display:flex;flex-wrap:wrap;z-index:1000;height:280px;overflow-y:auto}.emoji-panel span[data-v-e9a4aa4d]{cursor:pointer;font-size:24px;margin:5px}.function-panel-container[data-v-1fefca20]{background-color:#fff;box-sizing:border-box;width:100vw;border-top:1px solid #66666631}.function-panel[data-v-1fefca20]{display:flex;flex-wrap:wrap;background-color:#fff;padding:10px;z-index:1000;max-width:360px;gap:18px;margin:0 auto}.function-item[data-v-1fefca20]{display:flex;flex-direction:column;align-items:center;margin:10px 0;cursor:pointer;width:70px;height:70px;background-color:#f9f9f9;border-radius:10px;justify-content:center;transition:background-color .3s}.function-item[data-v-1fefca20]:hover{background-color:#e6e6e6}.function-item span[data-v-1fefca20]{margin-top:5px;font-size:14px;color:#333;text-align:center}input[data-v-
|
|
1
|
+
.nav-list{display:flex;flex-wrap:wrap;padding:0 20px;justify-content:space-between}.nav-li{padding:15px;border-radius:6px;width:45%;margin:0 2.5% 20px;background-size:cover;background-position:center;position:relative;z-index:1;cursor:pointer}.nav-li:after{content:"";position:absolute;z-index:-1;background-color:inherit;width:100%;height:100%;left:0;bottom:-10%;border-radius:5px;opacity:.2;transform:scale(.9)}.nav-li.cur{color:#fff;background:#5eb95e;box-shadow:2px 2px 3px #5eb95e66}.nav-title{font-size:16px;font-weight:300}.nav-title:first-letter{font-size:20px;margin-right:2px}.nav-name{font-size:14px;text-transform:Capitalize;margin-top:10px;position:relative}.nav-name:before{content:"";position:absolute;display:block;width:20px;height:3px;background:#fff;bottom:0;right:0;opacity:.5}.nav-name:after{content:"";position:absolute;display:block;width:50px;height:1px;background:#fff;bottom:0;right:20px;opacity:.3}.nav-name:first-letter{font-weight:700;font-size:18px;margin-right:1px}.nav-li text{position:absolute;right:15px;top:15px;font-size:26px;width:30px;height:30px;text-align:center;line-height:30px}.text-light{font-weight:300}@keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}@-webkit-keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}.cu-card-cover[data-v-bbdb83ff]{width:100%}.cu-card .content img[data-v-bbdb83ff]{width:33%;object-fit:cover}.cu-card-cover{width:100%}.cu-card .content img{width:33%;object-fit:cover}.string-list[data-v-c7a21a1c]{width:100%;display:block;list-style:none;background-color:#fff;padding:2px 5px;margin:0;box-shadow:0 4px 8px #0000001a}.string-list li[data-v-c7a21a1c]{line-height:1.5rem;padding:8px 12px;border-bottom:1px solid #eee;transition:background-color .3s,color .3s}.string-list li[data-v-c7a21a1c]:last-child{border-bottom:none}.string-list li[data-v-c7a21a1c]:hover{background-color:#f0f0f0;color:#333;cursor:pointer;border-radius:4px}.emoji-panel[data-v-e9a4aa4d]{background-color:#fff;border:1px solid #ccc;padding:10px;display:flex;flex-wrap:wrap;z-index:1000;height:280px;overflow-y:auto}.emoji-panel span[data-v-e9a4aa4d]{cursor:pointer;font-size:24px;margin:5px}.function-panel-container[data-v-1fefca20]{background-color:#fff;box-sizing:border-box;width:100vw;border-top:1px solid #66666631}.function-panel[data-v-1fefca20]{display:flex;flex-wrap:wrap;background-color:#fff;padding:10px;z-index:1000;max-width:360px;gap:18px;margin:0 auto}.function-item[data-v-1fefca20]{display:flex;flex-direction:column;align-items:center;margin:10px 0;cursor:pointer;width:70px;height:70px;background-color:#f9f9f9;border-radius:10px;justify-content:center;transition:background-color .3s}.function-item[data-v-1fefca20]:hover{background-color:#e6e6e6}.function-item span[data-v-1fefca20]{margin-top:5px;font-size:14px;color:#333;text-align:center}input[data-v-643af320]:focus{outline:none}.tab-content{padding:10px 16px;background:#fff}canvas[data-v-022c82bd]{margin:0 auto}.slide-wrapper[data-v-8600af8d]{overflow:hidden;position:relative;width:100vw;height:100vh}.slide-list[data-v-8600af8d]{position:absolute;width:100%;transition:transform .3s ease}.slide-item[data-v-8600af8d]{position:absolute;width:100%}
|
package/lib/temp-color-ui.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var we = Object.defineProperty;
|
|
2
2
|
var Ce = (t, e, c) => e in t ? we(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c;
|
|
3
|
-
var M = (t, e, c) =>
|
|
4
|
-
import { defineComponent as _,
|
|
3
|
+
var M = (t, e, c) => Ce(t, typeof e != "symbol" ? e + "" : e, c);
|
|
4
|
+
import { defineComponent as _, createElementBlock as l, openBlock as n, Fragment as b, renderList as k, normalizeStyle as w, normalizeClass as d, createElementVNode as o, toDisplayString as u, createCommentVNode as p, createTextVNode as y, pushScopeId as xe, popScopeId as Te, computed as j, renderSlot as x, createBlock as V, ref as B, withModifiers as de, unref as Be, onMounted as D, resolveComponent as ke, createVNode as P, onUnmounted as Se, withDirectives as he, withKeys as je, vShow as pe, provide as ve, watch as Ie, inject as fe, withCtx as re, reactive as Ee, KeepAlive as Ve, resolveDynamicComponent as Me } from "vue";
|
|
5
5
|
const ze = { class: "nav-list" }, qe = ["onClick"], Ae = { class: "nav-title" }, Ne = { class: "nav-name" }, Pe = {
|
|
6
6
|
name: "TNavCard"
|
|
7
7
|
}, R = /* @__PURE__ */ _({
|
|
@@ -15,7 +15,7 @@ const ze = { class: "nav-list" }, qe = ["onClick"], Ae = { class: "nav-title" },
|
|
|
15
15
|
c("chickItem", i, a);
|
|
16
16
|
};
|
|
17
17
|
return (i, a) => (n(), l("div", ze, [
|
|
18
|
-
(n(!0), l(b, null,
|
|
18
|
+
(n(!0), l(b, null, k(i.items, (h, r) => (n(), l("div", {
|
|
19
19
|
"hover-class": "none",
|
|
20
20
|
class: d(["nav-li", "bg-" + h.color]),
|
|
21
21
|
style: w([{ animation: "show " + ((r + 1) * 0.2 + 1) + "s 1" }]),
|
|
@@ -74,7 +74,7 @@ const ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-i
|
|
|
74
74
|
o("div", Xe, [
|
|
75
75
|
o("div", Ye, u(e.description), 1),
|
|
76
76
|
o("div", null, [
|
|
77
|
-
(n(!0), l(b, null,
|
|
77
|
+
(n(!0), l(b, null, k(e.tags, (s) => (n(), l("div", {
|
|
78
78
|
key: s,
|
|
79
79
|
class: "cu-tag bg-red light sm round"
|
|
80
80
|
}, u(s), 1))), 128))
|
|
@@ -84,15 +84,15 @@ const ge = (t) => (xe("data-v-bbdb83ff"), t = t(), Te(), t), Le = { class: "cu-i
|
|
|
84
84
|
e.footerInfo ? (n(), l("div", Oe, [
|
|
85
85
|
o("div", He, [
|
|
86
86
|
Ge,
|
|
87
|
-
|
|
87
|
+
y(" " + u(e.footerInfo.likes) + " ", 1),
|
|
88
88
|
Ke,
|
|
89
|
-
|
|
89
|
+
y(" " + u(e.footerInfo.appreciations) + " ", 1),
|
|
90
90
|
Je,
|
|
91
|
-
|
|
91
|
+
y(" " + u(e.footerInfo.comments), 1)
|
|
92
92
|
]),
|
|
93
93
|
o("div", Qe, [
|
|
94
94
|
o("div", We, u(e.footerInfo.author), 1),
|
|
95
|
-
|
|
95
|
+
y(" " + u(e.footerInfo.timeAgo), 1)
|
|
96
96
|
])
|
|
97
97
|
])) : p("", !0)
|
|
98
98
|
])
|
|
@@ -182,7 +182,7 @@ const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, n
|
|
|
182
182
|
o("div", {
|
|
183
183
|
class: d(["grid flex-sub padding-lr", e.isCard ? "col-3 grid-square" : "col-1"])
|
|
184
184
|
}, [
|
|
185
|
-
(n(!0), l(b, null,
|
|
185
|
+
(n(!0), l(b, null, k(e.isCard ? 9 : 1, (s) => (n(), l("div", {
|
|
186
186
|
class: d(["bg-img", e.isCard ? "" : "only-img"]),
|
|
187
187
|
style: w({ backgroundImage: `url(${e.imageUrl})` }),
|
|
188
188
|
key: s
|
|
@@ -190,13 +190,13 @@ const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, n
|
|
|
190
190
|
], 2),
|
|
191
191
|
o("div", it, [
|
|
192
192
|
ct,
|
|
193
|
-
|
|
193
|
+
y(" " + u(e.likes) + " ", 1),
|
|
194
194
|
rt,
|
|
195
|
-
|
|
195
|
+
y(" " + u(e.appreciations) + " ", 1),
|
|
196
196
|
ut,
|
|
197
|
-
|
|
197
|
+
y(" " + u(e.comments), 1)
|
|
198
198
|
]),
|
|
199
|
-
(n(!0), l(b, null,
|
|
199
|
+
(n(!0), l(b, null, k(e.commentsList, (s) => {
|
|
200
200
|
var i;
|
|
201
201
|
return n(), l("div", {
|
|
202
202
|
class: "cu-list menu-avatar comment solids-top",
|
|
@@ -210,7 +210,7 @@ const tt = { class: "cu-item shadow" }, st = { class: "cu-list menu-avatar" }, n
|
|
|
210
210
|
o("div", ht, [
|
|
211
211
|
o("div", pt, u(s.author), 1),
|
|
212
212
|
o("div", ft, u(s.text), 1),
|
|
213
|
-
(n(!0), l(b, null,
|
|
213
|
+
(n(!0), l(b, null, k(s.replies, (a) => (n(), l("div", {
|
|
214
214
|
key: a.id,
|
|
215
215
|
class: "bg-grey padding-sm radius margin-top-sm text-sm"
|
|
216
216
|
}, [
|
|
@@ -406,7 +406,7 @@ const xt = {
|
|
|
406
406
|
},
|
|
407
407
|
setup(t) {
|
|
408
408
|
return (e, c) => (n(), l("div", Ut, [
|
|
409
|
-
(n(!0), l(b, null,
|
|
409
|
+
(n(!0), l(b, null, k(e.urls, (s, i) => (n(), V(z, {
|
|
410
410
|
key: i,
|
|
411
411
|
url: s,
|
|
412
412
|
size: e.size
|
|
@@ -551,7 +551,7 @@ const Jt = ["onClick"], Qt = {
|
|
|
551
551
|
return (s, i) => (n(), l("div", {
|
|
552
552
|
class: d(["cu-bar tabbar", `bg-${s.bg} ${s.isFoot ? "foot" : ""}`])
|
|
553
553
|
}, [
|
|
554
|
-
(n(!0), l(b, null,
|
|
554
|
+
(n(!0), l(b, null, k(s.items, (a, h) => (n(), l("div", {
|
|
555
555
|
key: h,
|
|
556
556
|
class: d(["action", `text-${h === s.activeIndex ? s.activeColor : s.color}`]),
|
|
557
557
|
onClick: (r) => c(a, h)
|
|
@@ -710,7 +710,7 @@ const fs = {
|
|
|
710
710
|
return r;
|
|
711
711
|
}));
|
|
712
712
|
return (h, r) => h.stringArray.length ? (n(), l("ul", fs, [
|
|
713
|
-
(n(!0), l(b, null,
|
|
713
|
+
(n(!0), l(b, null, k(a.value, (f, $) => (n(), l("li", {
|
|
714
714
|
key: $,
|
|
715
715
|
innerHTML: f,
|
|
716
716
|
onClick: (g) => i(h.stringArray[$].text, h.stringArray[$])
|
|
@@ -833,7 +833,7 @@ const fs = {
|
|
|
833
833
|
onClick: a[0] || (a[0] = de(() => {
|
|
834
834
|
}, ["stop"]))
|
|
835
835
|
}, [
|
|
836
|
-
(n(!0), l(b, null,
|
|
836
|
+
(n(!0), l(b, null, k(Be(vs), (h) => (n(), l("span", {
|
|
837
837
|
key: h,
|
|
838
838
|
onClick: (r) => s(h)
|
|
839
839
|
}, u(h), 9, bs))), 128))
|
|
@@ -855,7 +855,7 @@ const fs = {
|
|
|
855
855
|
ref_key: "functionPanel",
|
|
856
856
|
ref: e
|
|
857
857
|
}, [
|
|
858
|
-
(n(!0), l(b, null,
|
|
858
|
+
(n(!0), l(b, null, k(c.items, (a, h) => (n(), l("div", {
|
|
859
859
|
key: h,
|
|
860
860
|
class: "function-item",
|
|
861
861
|
onClick: a.event
|
|
@@ -877,7 +877,7 @@ const fs = {
|
|
|
877
877
|
}, Bs = {
|
|
878
878
|
key: 1,
|
|
879
879
|
class: "action"
|
|
880
|
-
}, Ss = ["value"], js = { class: "action" }, Es = { name: "TInputBar" }, Vs = /* @__PURE__ */ _({
|
|
880
|
+
}, Ss = ["value", "placeholder"], js = { class: "action" }, Es = { name: "TInputBar" }, Vs = /* @__PURE__ */ _({
|
|
881
881
|
...Es,
|
|
882
882
|
props: {
|
|
883
883
|
modelValue: {},
|
|
@@ -887,7 +887,8 @@ const fs = {
|
|
|
887
887
|
buttonText: { default: "发送" },
|
|
888
888
|
stringArray: { default: () => [] },
|
|
889
889
|
functionItems: { default: () => [] },
|
|
890
|
-
buttonBg: { default: "green" }
|
|
890
|
+
buttonBg: { default: "green" },
|
|
891
|
+
placeholder: { default: "" }
|
|
891
892
|
},
|
|
892
893
|
emits: ["update:modelValue", "send"],
|
|
893
894
|
setup(t, { emit: e }) {
|
|
@@ -936,8 +937,13 @@ const fs = {
|
|
|
936
937
|
maxlength: "300",
|
|
937
938
|
"cursor-spacing": "10",
|
|
938
939
|
value: m.modelValue,
|
|
939
|
-
onInput: E
|
|
940
|
+
onInput: E,
|
|
941
|
+
placeholder: m.placeholder,
|
|
942
|
+
"<!--": "",
|
|
943
|
+
添加这一行: "",
|
|
944
|
+
"--": ""
|
|
940
945
|
}, null, 40, Ss),
|
|
946
|
+
y(" /> "),
|
|
941
947
|
o("div", js, [
|
|
942
948
|
o("text", {
|
|
943
949
|
class: d(`cuIcon-${m.rightIcon} text-grey`),
|
|
@@ -954,7 +960,7 @@ const fs = {
|
|
|
954
960
|
onClick: C[2] || (C[2] = (N) => $())
|
|
955
961
|
}, [
|
|
956
962
|
x(m.$slots, "default", {}, () => [
|
|
957
|
-
|
|
963
|
+
y(u(m.buttonText), 1)
|
|
958
964
|
], !0)
|
|
959
965
|
], 2)
|
|
960
966
|
]),
|
|
@@ -966,7 +972,7 @@ const fs = {
|
|
|
966
972
|
])
|
|
967
973
|
], 64));
|
|
968
974
|
}
|
|
969
|
-
}), Q = /* @__PURE__ */ A(Vs, [["__scopeId", "data-v-
|
|
975
|
+
}), Q = /* @__PURE__ */ A(Vs, [["__scopeId", "data-v-643af320"]]);
|
|
970
976
|
Q.install = (t) => {
|
|
971
977
|
t.component(Q.name, Q);
|
|
972
978
|
};
|
|
@@ -1010,7 +1016,7 @@ const Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
|
|
|
1010
1016
|
class: d(["nav flex", [, `bg-${g.bg}`, `text-${g.text}`]]),
|
|
1011
1017
|
style: w(f.value)
|
|
1012
1018
|
}, [
|
|
1013
|
-
(n(!0), l(b, null,
|
|
1019
|
+
(n(!0), l(b, null, k(i.value, (S, E) => (n(), l("div", {
|
|
1014
1020
|
class: d(["cu-item", $.value(E)]),
|
|
1015
1021
|
key: E,
|
|
1016
1022
|
onClick: (m) => h(E, S)
|
|
@@ -1019,7 +1025,7 @@ const Ms = ["onClick"], zs = { class: "tab-content" }, qs = {
|
|
|
1019
1025
|
key: 0,
|
|
1020
1026
|
class: d(`cuIcon-${S.icon} text-${a.value === E ? g.color : S.iconColor}`)
|
|
1021
1027
|
}, null, 2)) : p("", !0),
|
|
1022
|
-
|
|
1028
|
+
y(" " + u(S.label), 1)
|
|
1023
1029
|
], 10, Ms))), 128))
|
|
1024
1030
|
], 6),
|
|
1025
1031
|
o("div", zs, [
|
|
@@ -1185,7 +1191,7 @@ const Ls = ["onClick"], Ds = {
|
|
|
1185
1191
|
return (i, a) => (n(), l("div", {
|
|
1186
1192
|
class: d(["cu-list grid", ["col-" + i.gridCol, i.gridBorder ? "" : "no-border"]])
|
|
1187
1193
|
}, [
|
|
1188
|
-
(n(!0), l(b, null,
|
|
1194
|
+
(n(!0), l(b, null, k(i.cuIconList, (h, r) => (n(), l("div", {
|
|
1189
1195
|
class: "cu-item",
|
|
1190
1196
|
key: r,
|
|
1191
1197
|
style: w(`width: calc(100% / ${i.gridCol})`),
|
|
@@ -1300,7 +1306,7 @@ const Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { c
|
|
|
1300
1306
|
return (s, i) => (n(), l("div", {
|
|
1301
1307
|
class: d(["cu-list menu", [s.menuBorder ? "sm-border" : "", s.menuCard ? "card-menu" : ""]])
|
|
1302
1308
|
}, [
|
|
1303
|
-
(n(!0), l(b, null,
|
|
1309
|
+
(n(!0), l(b, null, k(s.menuItems, (a, h) => (n(), l("div", {
|
|
1304
1310
|
key: h,
|
|
1305
1311
|
class: d(["cu-item", s.menuArrow ? "arrow" : ""]),
|
|
1306
1312
|
onClick: (r) => e(a)
|
|
@@ -1339,9 +1345,9 @@ const Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { c
|
|
|
1339
1345
|
name: a.btn.icon,
|
|
1340
1346
|
color: "white"
|
|
1341
1347
|
}, null, 8, ["name"])) : p("", !0),
|
|
1342
|
-
|
|
1348
|
+
y(" " + u(a.btn.text), 1)
|
|
1343
1349
|
], 10, Ks)) : p("", !0),
|
|
1344
|
-
a.tags ? (n(!0), l(b, { key: 3 },
|
|
1350
|
+
a.tags ? (n(!0), l(b, { key: 3 }, k(a.tags, (r, f) => (n(), V(q, {
|
|
1345
1351
|
size: r.size,
|
|
1346
1352
|
key: f,
|
|
1347
1353
|
bg: r.bg,
|
|
@@ -1349,7 +1355,7 @@ const Us = ["onClick"], Xs = { class: "content" }, Ys = ["src", "alt"], Os = { c
|
|
|
1349
1355
|
shape: "round"
|
|
1350
1356
|
}, {
|
|
1351
1357
|
default: re(() => [
|
|
1352
|
-
|
|
1358
|
+
y(u(r.text), 1)
|
|
1353
1359
|
]),
|
|
1354
1360
|
_: 2
|
|
1355
1361
|
}, 1032, ["size", "bg", "light"]))), 128)) : p("", !0),
|
|
@@ -1446,7 +1452,7 @@ const Ws = {
|
|
|
1446
1452
|
},
|
|
1447
1453
|
setup(t) {
|
|
1448
1454
|
return (e, c) => (n(), l("div", cn, [
|
|
1449
|
-
(n(!0), l(b, null,
|
|
1455
|
+
(n(!0), l(b, null, k(e.items, (s, i) => (n(), V(me, {
|
|
1450
1456
|
"avatar-name": s.avatarName,
|
|
1451
1457
|
"avatar-bg": s.avatarBg,
|
|
1452
1458
|
time: s.time,
|
|
@@ -1463,7 +1469,7 @@ const Ws = {
|
|
|
1463
1469
|
}, {
|
|
1464
1470
|
default: re(() => [
|
|
1465
1471
|
x(e.$slots, "default", { item: s }, () => [
|
|
1466
|
-
|
|
1472
|
+
y(u(s.content), 1)
|
|
1467
1473
|
])
|
|
1468
1474
|
]),
|
|
1469
1475
|
_: 2
|
|
@@ -1496,14 +1502,14 @@ const un = { class: "cu-chat" }, dn = {
|
|
|
1496
1502
|
},
|
|
1497
1503
|
setup(t) {
|
|
1498
1504
|
return (e, c) => (n(), l("div", un, [
|
|
1499
|
-
(n(!0), l(b, null,
|
|
1505
|
+
(n(!0), l(b, null, k(e.messages, (s) => (n(), l("div", {
|
|
1500
1506
|
key: s.id,
|
|
1501
1507
|
class: d(["cu-item", { self: s.self }])
|
|
1502
1508
|
}, [
|
|
1503
1509
|
s.type === "info" ? (n(), l(b, { key: 0 }, [
|
|
1504
1510
|
s.self ? (n(), l("div", dn, u(s.content), 1)) : (n(), l("div", hn, [
|
|
1505
1511
|
pn,
|
|
1506
|
-
|
|
1512
|
+
y(" " + u(s.content), 1)
|
|
1507
1513
|
]))
|
|
1508
1514
|
], 64)) : (n(), l(b, { key: 1 }, [
|
|
1509
1515
|
s.self ? p("", !0) : (n(), V(z, {
|
|
@@ -1527,7 +1533,7 @@ const un = { class: "cu-chat" }, dn = {
|
|
|
1527
1533
|
o("div", vn, u(s.content), 1)
|
|
1528
1534
|
])) : s.type === "location" ? (n(), l("div", bn, [
|
|
1529
1535
|
$n,
|
|
1530
|
-
|
|
1536
|
+
y(" " + u(s.content), 1)
|
|
1531
1537
|
])) : s.type === "warning" ? (n(), l(b, { key: 4 }, [
|
|
1532
1538
|
o("div", yn, u(s.content), 1),
|
|
1533
1539
|
kn
|
|
@@ -1577,12 +1583,12 @@ const Cn = { class: "cu-time" }, xn = {
|
|
|
1577
1583
|
}
|
|
1578
1584
|
}
|
|
1579
1585
|
return (s, i) => (n(), l("div", null, [
|
|
1580
|
-
(n(!0), l(b, null,
|
|
1586
|
+
(n(!0), l(b, null, k(s.items, (a, h) => (n(), l("div", {
|
|
1581
1587
|
key: h,
|
|
1582
1588
|
class: "cu-timeline"
|
|
1583
1589
|
}, [
|
|
1584
1590
|
o("div", Cn, u(a.date), 1),
|
|
1585
|
-
(n(!0), l(b, null,
|
|
1591
|
+
(n(!0), l(b, null, k(a.items, (r) => {
|
|
1586
1592
|
var f, $, g;
|
|
1587
1593
|
return n(), l("div", {
|
|
1588
1594
|
key: r.key,
|
|
@@ -1596,7 +1602,7 @@ const Cn = { class: "cu-time" }, xn = {
|
|
|
1596
1602
|
bg: e(($ = r.capsule) == null ? void 0 : $.color)
|
|
1597
1603
|
}, {
|
|
1598
1604
|
default: re(() => [
|
|
1599
|
-
|
|
1605
|
+
y(u(r.capsule.list[0]), 1)
|
|
1600
1606
|
]),
|
|
1601
1607
|
_: 2
|
|
1602
1608
|
}, 1032, ["bg"]),
|
|
@@ -1605,7 +1611,7 @@ const Cn = { class: "cu-time" }, xn = {
|
|
|
1605
1611
|
light: !0
|
|
1606
1612
|
}, {
|
|
1607
1613
|
default: re(() => [
|
|
1608
|
-
|
|
1614
|
+
y(u(r.capsule.list[1]), 1)
|
|
1609
1615
|
]),
|
|
1610
1616
|
_: 2
|
|
1611
1617
|
}, 1032, ["bg"])
|
|
@@ -1614,7 +1620,7 @@ const Cn = { class: "cu-time" }, xn = {
|
|
|
1614
1620
|
class: d(r.capsule ? "margin-top-sm" : "")
|
|
1615
1621
|
}, [
|
|
1616
1622
|
x(s.$slots, `item-${r.key}`, {}, () => [
|
|
1617
|
-
|
|
1623
|
+
y(u(r.content), 1)
|
|
1618
1624
|
])
|
|
1619
1625
|
], 2)
|
|
1620
1626
|
], 2)
|
|
@@ -1643,7 +1649,7 @@ const Bn = { class: "bg-white padding" }, Sn = ["data-index"], jn = {
|
|
|
1643
1649
|
o("div", {
|
|
1644
1650
|
class: d(["cu-steps", { "scroll-x": c.scrollX }])
|
|
1645
1651
|
}, [
|
|
1646
|
-
(n(!0), l(b, null,
|
|
1652
|
+
(n(!0), l(b, null, k(c.steps, (i, a) => (n(), l("div", {
|
|
1647
1653
|
class: d(["cu-item", a > c.modelValue ? "" : `text-${c.color}`]),
|
|
1648
1654
|
key: a
|
|
1649
1655
|
}, [
|
|
@@ -1651,7 +1657,7 @@ const Bn = { class: "bg-white padding" }, Sn = ["data-index"], jn = {
|
|
|
1651
1657
|
class: d(i.cuIcon ? "cuIcon-" + i.cuIcon : "num"),
|
|
1652
1658
|
"data-index": a + 1
|
|
1653
1659
|
}, u(i.cuIcon ? "" : a + 1), 11, Sn),
|
|
1654
|
-
|
|
1660
|
+
y(" " + u(i.name), 1)
|
|
1655
1661
|
], 2))), 128))
|
|
1656
1662
|
], 2)
|
|
1657
1663
|
]));
|
|
@@ -1688,7 +1694,7 @@ const En = { class: "cu-dialog" }, Vn = { class: "cu-bar bg-white justify-end pa
|
|
|
1688
1694
|
]),
|
|
1689
1695
|
o("div", An, [
|
|
1690
1696
|
x(i.$slots, "default", {}, () => [
|
|
1691
|
-
|
|
1697
|
+
y("Modal 内容~")
|
|
1692
1698
|
])
|
|
1693
1699
|
])
|
|
1694
1700
|
])
|
|
@@ -1743,8 +1749,7 @@ const Pn = { class: "loading-animation" }, Ln = {
|
|
|
1743
1749
|
}
|
|
1744
1750
|
const c = t, s = B(null);
|
|
1745
1751
|
return D(() => {
|
|
1746
|
-
if (!s.value)
|
|
1747
|
-
return;
|
|
1752
|
+
if (!s.value) return;
|
|
1748
1753
|
const i = s.value.getContext("2d"), { width: a, height: h, particleRadius: r, particleDecay: f } = c, $ = window.devicePixelRatio || 1;
|
|
1749
1754
|
s.value.width = a * $, s.value.height = h * $, s.value.style.width = a + "px", s.value.style.height = h + "px", i.scale($, $);
|
|
1750
1755
|
const g = a * 0.5, I = [];
|
|
@@ -1851,7 +1856,7 @@ const Fn = ["data-index"], Rn = { name: "TVirtualScrollSlide" }, Un = /* @__PURE
|
|
|
1851
1856
|
style: w({ transform: `translateY(${h.value}px)` })
|
|
1852
1857
|
}, [
|
|
1853
1858
|
(n(), V(Ve, { include: F.value }, [
|
|
1854
|
-
(n(!0), l(b, null,
|
|
1859
|
+
(n(!0), l(b, null, k(f.value, (_e, ue) => (n(), l("div", {
|
|
1855
1860
|
key: _e.id,
|
|
1856
1861
|
"data-index": ue,
|
|
1857
1862
|
class: d($),
|