gs-eant-comp 3.3.0 → 3.3.1
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/dist/{NotificationCenter-DYK_tiZk.js → CommonNotificationCenter-r_IwwpQl.js} +20 -20
- package/dist/{OrderCenter-DYxx0AVB.js → CommonOrderCenter-D1ZreMGY.js} +10 -10
- package/dist/ContainerManager-B_SXuZKk.js +602 -0
- package/dist/{ActivityFeed-DI9hNxV4.js → MobileActivityFeed-2gjV0ke2.js} +11 -11
- package/dist/{BannerCarousel-CC_uykla.js → MobileBanner-CxZ2jR0b.js} +11 -11
- package/dist/MobileHomeConfig-Cl0Q8T46.js +212 -0
- package/dist/{NoticeList-gioopR6r.js → MobileNoticeList-sqdXC7CC.js} +12 -12
- package/dist/{QuickActions-BdAibhSL.js → MobileQuickActions-Dg6wzSAQ.js} +7 -7
- package/dist/{QuickMenu-VY9bW-XU.js → MobileQuickMenu-DDyshzKm.js} +13 -13
- package/dist/{ShoppingCart-Bv7KU5Qh.js → MobileShoppingCart-L50vZizN.js} +25 -25
- package/dist/{StatCard-DkTQeLrf.js → MobileStatCard-DTm63DiG.js} +18 -18
- package/dist/{TodoList-Bskuy_aU.js → MobileTodoList-CzFB3E6k.js} +12 -12
- package/dist/{ActivityTable-C6yju1oZ.js → PcActivityTable-CbXZsRXT.js} +3 -3
- package/dist/PcAiSummary-C8uTPEOy.js +286 -0
- package/dist/PcHomeConfig-DlG8_m9K.js +59 -0
- package/dist/{QuickActionsPanel-CU778wqz.js → PcQuickActions-CEJse6Ey.js} +9 -9
- package/dist/{StatCards-BWasvRXQ.js → PcStatCards-C2_qAraR.js} +13 -13
- package/dist/PcWorkspaceEntry-DTd8-gnF.js +45 -0
- package/dist/gs-eant-comp.css +1 -1
- package/dist/gs-eant-comp.js +23 -28
- package/dist/gs-eant-comp.umd.cjs +4 -4
- package/dist/{index--CCglFst.js → index-x6RwsCx2.js} +3545 -3408
- package/package.json +2 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as y, computed as f, createElementBlock as n, openBlock as d, createElementVNode as t, toDisplayString as i, Fragment as v, renderList as h, normalizeStyle as
|
|
2
|
-
import { _ as k } from "./index
|
|
1
|
+
import { ref as y, computed as f, createElementBlock as n, openBlock as d, createElementVNode as t, toDisplayString as i, Fragment as v, renderList as h, normalizeStyle as c, normalizeClass as l, createCommentVNode as m } from "vue";
|
|
2
|
+
import { _ as k } from "./index-x6RwsCx2.js";
|
|
3
3
|
const x = { class: "todo-list h-100" }, g = { class: "todo-list-header" }, C = { class: "todo-count" }, b = { class: "todo-list-body" }, L = ["onClick"], z = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "todo-check-icon"
|
|
6
6
|
}, B = { class: "todo-text" }, D = {
|
|
7
|
-
__name: "
|
|
7
|
+
__name: "MobileTodoList",
|
|
8
8
|
setup(E) {
|
|
9
9
|
const s = y([
|
|
10
10
|
{ id: 1, text: "提交季度绩效考核表", done: !1, priority: "紧急" },
|
|
@@ -21,31 +21,31 @@ const x = { class: "todo-list h-100" }, g = { class: "todo-list-header" }, C = {
|
|
|
21
21
|
t("span", C, i(p.value) + " / " + i(s.value.length), 1)
|
|
22
22
|
]),
|
|
23
23
|
t("div", b, [
|
|
24
|
-
(d(!0), n(v, null, h(s.value, (o,
|
|
24
|
+
(d(!0), n(v, null, h(s.value, (o, a) => (d(), n("div", {
|
|
25
25
|
key: o.id,
|
|
26
|
-
class:
|
|
27
|
-
style:
|
|
28
|
-
onClick: (
|
|
26
|
+
class: l(["todo-item", { done: o.done }]),
|
|
27
|
+
style: c({ animationDelay: a * 0.04 + "s" }),
|
|
28
|
+
onClick: (M) => u(a)
|
|
29
29
|
}, [
|
|
30
30
|
t("div", {
|
|
31
|
-
class:
|
|
31
|
+
class: l(["todo-check", { checked: o.done }])
|
|
32
32
|
}, [
|
|
33
33
|
o.done ? (d(), n("span", z, "✓")) : m("", !0)
|
|
34
34
|
], 2),
|
|
35
35
|
t("div", B, [
|
|
36
36
|
t("span", {
|
|
37
|
-
class:
|
|
37
|
+
class: l(["todo-title-text", { crossed: o.done }])
|
|
38
38
|
}, i(o.text), 3),
|
|
39
39
|
t("span", {
|
|
40
40
|
class: "todo-priority",
|
|
41
|
-
style:
|
|
41
|
+
style: c({ background: _(o.priority) })
|
|
42
42
|
}, i(o.priority), 5)
|
|
43
43
|
])
|
|
44
44
|
], 14, L))), 128))
|
|
45
45
|
])
|
|
46
46
|
]));
|
|
47
47
|
}
|
|
48
|
-
},
|
|
48
|
+
}, T = /* @__PURE__ */ k(D, [["__scopeId", "data-v-fc819f59"]]);
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
T as default
|
|
51
51
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as n, createElementBlock as r, openBlock as o, createElementVNode as y, createVNode as u, withCtx as s, createTextVNode as c, createBlock as d, createCommentVNode as k, toDisplayString as l } from "vue";
|
|
2
|
-
import { _ as g } from "./index
|
|
2
|
+
import { _ as g } from "./index-x6RwsCx2.js";
|
|
3
3
|
const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "cell-time"
|
|
@@ -7,7 +7,7 @@ const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
|
7
7
|
key: 2,
|
|
8
8
|
class: "cell-content"
|
|
9
9
|
}, h = {
|
|
10
|
-
__name: "
|
|
10
|
+
__name: "PcActivityTable",
|
|
11
11
|
props: {
|
|
12
12
|
data: {
|
|
13
13
|
type: Array,
|
|
@@ -103,7 +103,7 @@ const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
|
103
103
|
]);
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
}, D = /* @__PURE__ */ g(h, [["__scopeId", "data-v-
|
|
106
|
+
}, D = /* @__PURE__ */ g(h, [["__scopeId", "data-v-156ee9e8"]]);
|
|
107
107
|
export {
|
|
108
108
|
D as default
|
|
109
109
|
};
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { inject as A, resolveComponent as d, createElementBlock as a, openBlock as c, createElementVNode as t, createVNode as i, withCtx as o, createTextVNode as n, Fragment as r, renderList as u, toDisplayString as l, normalizeStyle as j } from "vue";
|
|
2
|
+
import { message as S } from "ant-design-vue";
|
|
3
|
+
import { _ as P } from "./index-x6RwsCx2.js";
|
|
4
|
+
const $ = { class: "pc-ai-workspace" }, z = { class: "pc-ai-hero d-flex align-items-start justify-content-between gap-4" }, B = { class: "pc-ai-status text-end" }, L = { class: "row g-3 mt-1" }, N = { class: "col-12" }, V = { class: "pc-ai-panel h-100" }, E = { class: "pc-ai-panel-title d-flex align-items-center justify-content-between mb-3" }, Q = { class: "d-flex flex-column gap-2" }, T = ["onClick"], W = { class: "d-flex align-items-center justify-content-between gap-3" }, q = { class: "fw-semibold" }, D = { class: "small text-muted mt-1" }, F = { class: "col-12" }, R = { class: "pc-ai-panel h-100" }, G = { class: "pc-ai-panel-title d-flex align-items-center justify-content-between mb-3" }, H = { class: "row g-2" }, J = { class: "pc-ai-insight h-100" }, K = { class: "d-flex align-items-center justify-content-between mb-3" }, M = { class: "small text-muted" }, O = { class: "pc-ai-insight-value" }, U = { class: "fw-semibold mt-2" }, X = { class: "small text-muted mt-2" }, Y = { class: "pc-ai-chart mt-3" }, Z = { class: "pc-ai-bars d-flex align-items-end gap-2" }, tt = ["title"], st = { class: "row g-3 mt-1" }, et = { class: "col-12" }, lt = { class: "pc-ai-panel h-100" }, it = { class: "pc-ai-panel-title d-flex align-items-center justify-content-between mb-3" }, ot = { class: "row g-3" }, nt = { class: "pc-ai-result h-100" }, at = { class: "d-flex align-items-center justify-content-between mb-2" }, ct = { class: "small text-muted" }, dt = { class: "fw-semibold" }, rt = { class: "small text-muted mt-2" }, ut = { class: "col-12" }, mt = { class: "pc-ai-panel h-100" }, pt = {
|
|
5
|
+
__name: "PcAiSummary",
|
|
6
|
+
setup(_t) {
|
|
7
|
+
const v = A("openWorkspacePane", null), h = [
|
|
8
|
+
{
|
|
9
|
+
title: "系统问答",
|
|
10
|
+
description: "解释基础管理功能、入口和常用操作",
|
|
11
|
+
icon: "icon-message"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
title: "操作日志分析",
|
|
15
|
+
description: "识别异常访问、权限变更和高频操作",
|
|
16
|
+
icon: "icon-file-search"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
title: "数据概览",
|
|
20
|
+
description: "汇总菜单、用户、角色、接口等基础数据",
|
|
21
|
+
icon: "icon-bar-chart"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
title: "SQL 辅助",
|
|
25
|
+
description: "生成查询思路,预览只读 SQL 结果",
|
|
26
|
+
icon: "icon-database"
|
|
27
|
+
}
|
|
28
|
+
], y = [
|
|
29
|
+
{
|
|
30
|
+
label: "日志审计",
|
|
31
|
+
status: "需关注",
|
|
32
|
+
color: "orange",
|
|
33
|
+
value: "37",
|
|
34
|
+
title: "异常操作线索",
|
|
35
|
+
description: "集中在夜间访问和连续失败操作。"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: "系统访问",
|
|
39
|
+
status: "稳定",
|
|
40
|
+
color: "green",
|
|
41
|
+
value: "86%",
|
|
42
|
+
title: "核心功能覆盖",
|
|
43
|
+
description: "菜单管理、角色配置访问频率较高。"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "任务建议",
|
|
47
|
+
status: "待处理",
|
|
48
|
+
color: "blue",
|
|
49
|
+
value: "12",
|
|
50
|
+
title: "可执行建议",
|
|
51
|
+
description: "可生成核查清单或导出审计报告。"
|
|
52
|
+
}
|
|
53
|
+
], g = [
|
|
54
|
+
{ label: "周一", value: 42 },
|
|
55
|
+
{ label: "周二", value: 58 },
|
|
56
|
+
{ label: "周三", value: 46 },
|
|
57
|
+
{ label: "周四", value: 68 },
|
|
58
|
+
{ label: "周五", value: 76 },
|
|
59
|
+
{ label: "周六", value: 52 },
|
|
60
|
+
{ label: "周日", value: 61 }
|
|
61
|
+
], k = [
|
|
62
|
+
{
|
|
63
|
+
type: "表格",
|
|
64
|
+
time: "10:24",
|
|
65
|
+
title: "最近 7 天异常操作列表",
|
|
66
|
+
description: "返回结构化表格,可继续筛选、导出和追问。"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: "图表",
|
|
70
|
+
time: "09:48",
|
|
71
|
+
title: "操作模块访问分布",
|
|
72
|
+
description: "按模块聚合访问次数,辅助识别高频入口。"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
type: "报告",
|
|
76
|
+
time: "昨天",
|
|
77
|
+
title: "系统基础管理巡检摘要",
|
|
78
|
+
description: "生成一段可直接放入周报的业务化总结。"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
type: "任务",
|
|
82
|
+
time: "昨天",
|
|
83
|
+
title: "权限变更核查清单",
|
|
84
|
+
description: "沉淀为待办任务,后续可接入真实流程。"
|
|
85
|
+
}
|
|
86
|
+
], w = [
|
|
87
|
+
{ title: "模块", dataIndex: "module", key: "module" },
|
|
88
|
+
{ title: "风险", dataIndex: "risk", key: "risk" },
|
|
89
|
+
{ title: "次数", dataIndex: "count", key: "count" }
|
|
90
|
+
], C = [
|
|
91
|
+
{ key: 1, module: "菜单管理", risk: "权限变更", count: 8 },
|
|
92
|
+
{ key: 2, module: "角色管理", risk: "高频访问", count: 13 },
|
|
93
|
+
{ key: 3, module: "接口管理", risk: "失败重试", count: 6 }
|
|
94
|
+
], b = (f) => {
|
|
95
|
+
S.info(`${f}:当前为 AI 工作台静态预览`);
|
|
96
|
+
}, m = () => {
|
|
97
|
+
if (v) {
|
|
98
|
+
v("ai");
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
b("AI 智能中心");
|
|
102
|
+
};
|
|
103
|
+
return (f, s) => {
|
|
104
|
+
const p = d("a-tag"), _ = d("a-button"), x = d("a-icon"), I = d("a-table");
|
|
105
|
+
return c(), a("section", $, [
|
|
106
|
+
t("div", z, [
|
|
107
|
+
s[3] || (s[3] = t("div", null, [
|
|
108
|
+
t("div", { class: "small text-muted mb-2" }, "AI 能力区"),
|
|
109
|
+
t("h2", { class: "mb-2" }, "让控制台承载智能分析结果"),
|
|
110
|
+
t("p", { class: "mb-0 text-muted" }, " 聊天助手负责发起任务,控制台负责展示结构化结果、分析建议和后续操作入口。 ")
|
|
111
|
+
], -1)),
|
|
112
|
+
t("div", B, [
|
|
113
|
+
i(p, { color: "blue" }, {
|
|
114
|
+
default: o(() => [...s[0] || (s[0] = [
|
|
115
|
+
n("静态预览", -1)
|
|
116
|
+
])]),
|
|
117
|
+
_: 1
|
|
118
|
+
}),
|
|
119
|
+
s[2] || (s[2] = t("div", { class: "small text-muted mt-2" }, "后续接入真实 AI 任务", -1)),
|
|
120
|
+
i(_, {
|
|
121
|
+
size: "small",
|
|
122
|
+
type: "primary",
|
|
123
|
+
class: "mt-3",
|
|
124
|
+
onClick: m
|
|
125
|
+
}, {
|
|
126
|
+
default: o(() => [...s[1] || (s[1] = [
|
|
127
|
+
n(" 进入 AI 中心 ", -1)
|
|
128
|
+
])]),
|
|
129
|
+
_: 1
|
|
130
|
+
})
|
|
131
|
+
])
|
|
132
|
+
]),
|
|
133
|
+
t("div", L, [
|
|
134
|
+
t("div", N, [
|
|
135
|
+
t("div", V, [
|
|
136
|
+
t("div", E, [
|
|
137
|
+
s[4] || (s[4] = t("div", null, [
|
|
138
|
+
t("div", { class: "small text-muted" }, "推荐任务"),
|
|
139
|
+
t("h4", { class: "mb-0" }, "AI 快捷任务")
|
|
140
|
+
], -1)),
|
|
141
|
+
i(x, { type: "icon-rocket" })
|
|
142
|
+
]),
|
|
143
|
+
t("div", Q, [
|
|
144
|
+
(c(), a(r, null, u(h, (e) => t("button", {
|
|
145
|
+
key: e.title,
|
|
146
|
+
class: "pc-ai-task text-start",
|
|
147
|
+
onClick: (vt) => b(e.title)
|
|
148
|
+
}, [
|
|
149
|
+
t("div", W, [
|
|
150
|
+
t("div", null, [
|
|
151
|
+
t("div", q, l(e.title), 1),
|
|
152
|
+
t("div", D, l(e.description), 1)
|
|
153
|
+
]),
|
|
154
|
+
i(x, {
|
|
155
|
+
type: e.icon
|
|
156
|
+
}, null, 8, ["type"])
|
|
157
|
+
])
|
|
158
|
+
], 8, T)), 64))
|
|
159
|
+
])
|
|
160
|
+
])
|
|
161
|
+
]),
|
|
162
|
+
t("div", F, [
|
|
163
|
+
t("div", R, [
|
|
164
|
+
t("div", G, [
|
|
165
|
+
s[6] || (s[6] = t("div", null, [
|
|
166
|
+
t("div", { class: "small text-muted" }, "智能分析"),
|
|
167
|
+
t("h4", { class: "mb-0" }, "基础管理洞察")
|
|
168
|
+
], -1)),
|
|
169
|
+
i(_, {
|
|
170
|
+
type: "link",
|
|
171
|
+
class: "px-0",
|
|
172
|
+
onClick: m
|
|
173
|
+
}, {
|
|
174
|
+
default: o(() => [...s[5] || (s[5] = [
|
|
175
|
+
n("查看完整分析", -1)
|
|
176
|
+
])]),
|
|
177
|
+
_: 1
|
|
178
|
+
})
|
|
179
|
+
]),
|
|
180
|
+
t("div", H, [
|
|
181
|
+
(c(), a(r, null, u(y, (e) => t("div", {
|
|
182
|
+
key: e.title,
|
|
183
|
+
class: "col-4"
|
|
184
|
+
}, [
|
|
185
|
+
t("div", J, [
|
|
186
|
+
t("div", K, [
|
|
187
|
+
t("span", M, l(e.label), 1),
|
|
188
|
+
i(p, {
|
|
189
|
+
color: e.color
|
|
190
|
+
}, {
|
|
191
|
+
default: o(() => [
|
|
192
|
+
n(l(e.status), 1)
|
|
193
|
+
]),
|
|
194
|
+
_: 2
|
|
195
|
+
}, 1032, ["color"])
|
|
196
|
+
]),
|
|
197
|
+
t("div", O, l(e.value), 1),
|
|
198
|
+
t("div", U, l(e.title), 1),
|
|
199
|
+
t("div", X, l(e.description), 1)
|
|
200
|
+
])
|
|
201
|
+
])), 64))
|
|
202
|
+
]),
|
|
203
|
+
t("div", Y, [
|
|
204
|
+
s[7] || (s[7] = t("div", { class: "d-flex align-items-center justify-content-between mb-3" }, [
|
|
205
|
+
t("div", { class: "fw-semibold" }, "操作日志趋势预览"),
|
|
206
|
+
t("span", { class: "small text-muted" }, "近 7 天")
|
|
207
|
+
], -1)),
|
|
208
|
+
t("div", Z, [
|
|
209
|
+
(c(), a(r, null, u(g, (e) => t("span", {
|
|
210
|
+
key: e.label,
|
|
211
|
+
class: "pc-ai-bar",
|
|
212
|
+
style: j({ height: e.value + "%" }),
|
|
213
|
+
title: `${e.label}:${e.value}`
|
|
214
|
+
}, null, 12, tt)), 64))
|
|
215
|
+
])
|
|
216
|
+
])
|
|
217
|
+
])
|
|
218
|
+
])
|
|
219
|
+
]),
|
|
220
|
+
t("div", st, [
|
|
221
|
+
t("div", et, [
|
|
222
|
+
t("div", lt, [
|
|
223
|
+
t("div", it, [
|
|
224
|
+
s[9] || (s[9] = t("div", null, [
|
|
225
|
+
t("div", { class: "small text-muted" }, "最近结果"),
|
|
226
|
+
t("h4", { class: "mb-0" }, "AI 任务结果承载")
|
|
227
|
+
], -1)),
|
|
228
|
+
i(_, {
|
|
229
|
+
type: "link",
|
|
230
|
+
class: "px-0",
|
|
231
|
+
onClick: m
|
|
232
|
+
}, {
|
|
233
|
+
default: o(() => [...s[8] || (s[8] = [
|
|
234
|
+
n("打开中心", -1)
|
|
235
|
+
])]),
|
|
236
|
+
_: 1
|
|
237
|
+
})
|
|
238
|
+
]),
|
|
239
|
+
t("div", ot, [
|
|
240
|
+
(c(), a(r, null, u(k, (e) => t("div", {
|
|
241
|
+
key: e.title,
|
|
242
|
+
class: "col-12"
|
|
243
|
+
}, [
|
|
244
|
+
t("div", nt, [
|
|
245
|
+
t("div", at, [
|
|
246
|
+
i(p, null, {
|
|
247
|
+
default: o(() => [
|
|
248
|
+
n(l(e.type), 1)
|
|
249
|
+
]),
|
|
250
|
+
_: 2
|
|
251
|
+
}, 1024),
|
|
252
|
+
t("span", ct, l(e.time), 1)
|
|
253
|
+
]),
|
|
254
|
+
t("div", dt, l(e.title), 1),
|
|
255
|
+
t("div", rt, l(e.description), 1)
|
|
256
|
+
])
|
|
257
|
+
])), 64))
|
|
258
|
+
])
|
|
259
|
+
])
|
|
260
|
+
]),
|
|
261
|
+
t("div", ut, [
|
|
262
|
+
t("div", mt, [
|
|
263
|
+
s[10] || (s[10] = t("div", { class: "pc-ai-panel-title mb-3" }, [
|
|
264
|
+
t("div", { class: "small text-muted" }, "结构化结果"),
|
|
265
|
+
t("h4", { class: "mb-0" }, "异常操作日志预览")
|
|
266
|
+
], -1)),
|
|
267
|
+
i(I, {
|
|
268
|
+
size: "small",
|
|
269
|
+
columns: w,
|
|
270
|
+
"data-source": C,
|
|
271
|
+
pagination: !1
|
|
272
|
+
}),
|
|
273
|
+
s[11] || (s[11] = t("div", { class: "pc-ai-summary mt-3" }, [
|
|
274
|
+
t("div", { class: "fw-semibold mb-2" }, "AI 建议"),
|
|
275
|
+
t("div", { class: "small text-muted" }, " 建议优先核查夜间高频访问、菜单权限变化和连续失败操作,并保留审计记录。 ")
|
|
276
|
+
], -1))
|
|
277
|
+
])
|
|
278
|
+
])
|
|
279
|
+
])
|
|
280
|
+
]);
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
}, ht = /* @__PURE__ */ P(pt, [["__scopeId", "data-v-f4e432a3"]]);
|
|
284
|
+
export {
|
|
285
|
+
ht as default
|
|
286
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { inject as u, ref as d, computed as m, resolveComponent as _, createElementBlock as v, openBlock as b, createElementVNode as e, toDisplayString as f, createVNode as s, withCtx as c, unref as y } from "vue";
|
|
2
|
+
import { _ as g, H as k } from "./ContainerManager-B_SXuZKk.js";
|
|
3
|
+
import { _ as C } from "./index-x6RwsCx2.js";
|
|
4
|
+
const P = { class: "pc-config-workbench" }, h = { class: "workbench-hero" }, H = { class: "hero-status" }, w = { class: "status-card" }, L = { class: "workbench-body" }, x = /* @__PURE__ */ Object.assign({
|
|
5
|
+
name: "PcHomeConfig"
|
|
6
|
+
}, {
|
|
7
|
+
__name: "PcHomeConfig",
|
|
8
|
+
setup(E) {
|
|
9
|
+
const i = u("$API"), a = [
|
|
10
|
+
{ key: "pcHomeLayout", label: "PC首页布局" },
|
|
11
|
+
{ key: "containerManager", label: "容器管理" }
|
|
12
|
+
], t = d("pcHomeLayout"), l = m(() => a.find((n) => n.key === t.value)?.label || "PC首页布局");
|
|
13
|
+
return (n, o) => {
|
|
14
|
+
const r = _("ETabs");
|
|
15
|
+
return b(), v("section", P, [
|
|
16
|
+
e("div", h, [
|
|
17
|
+
o[3] || (o[3] = e("div", { class: "hero-copy" }, [
|
|
18
|
+
e("div", { class: "hero-kicker" }, "PC workspace configuration"),
|
|
19
|
+
e("h2", null, "PC 首页配置中枢"),
|
|
20
|
+
e("p", null, "独立维护 PC 控制台首页画布和动态容器,为后续 PC 端工作台继续扩展预留空间。")
|
|
21
|
+
], -1)),
|
|
22
|
+
e("div", H, [
|
|
23
|
+
e("div", w, [
|
|
24
|
+
o[1] || (o[1] = e("span", null, "当前面板", -1)),
|
|
25
|
+
e("strong", null, f(l.value), 1)
|
|
26
|
+
]),
|
|
27
|
+
o[2] || (o[2] = e("div", { class: "status-card accent" }, [
|
|
28
|
+
e("span", null, "配置模式"),
|
|
29
|
+
e("strong", null, "PC Layout Studio")
|
|
30
|
+
], -1))
|
|
31
|
+
])
|
|
32
|
+
]),
|
|
33
|
+
e("div", L, [
|
|
34
|
+
s(r, {
|
|
35
|
+
activeKey: t.value,
|
|
36
|
+
"onUpdate:activeKey": o[0] || (o[0] = (p) => t.value = p),
|
|
37
|
+
tabs: a,
|
|
38
|
+
class: "workbench-tabs segmented"
|
|
39
|
+
}, {
|
|
40
|
+
pcHomeLayout: c(() => [
|
|
41
|
+
s(k, {
|
|
42
|
+
api: y(i),
|
|
43
|
+
start: 2,
|
|
44
|
+
platform: "pc"
|
|
45
|
+
}, null, 8, ["api"])
|
|
46
|
+
]),
|
|
47
|
+
containerManager: c(() => [
|
|
48
|
+
s(g)
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
}, 8, ["activeKey"])
|
|
52
|
+
])
|
|
53
|
+
]);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}), B = /* @__PURE__ */ C(x, [["__scopeId", "data-v-6a92327c"]]);
|
|
57
|
+
export {
|
|
58
|
+
B as default
|
|
59
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
2
|
-
import { _ as y } from "./index
|
|
1
|
+
import { resolveComponent as b, createElementBlock as l, openBlock as c, createElementVNode as e, Fragment as _, renderList as m, normalizeStyle as n, createVNode as C, toDisplayString as u } from "vue";
|
|
2
|
+
import { _ as y } from "./index-x6RwsCx2.js";
|
|
3
3
|
const g = { class: "quick-actions-panel" }, k = { class: "panel-body" }, v = ["onClick"], h = { class: "action-label" }, A = {
|
|
4
|
-
__name: "
|
|
4
|
+
__name: "PcQuickActions",
|
|
5
5
|
props: {
|
|
6
6
|
actions: {
|
|
7
7
|
type: Array,
|
|
@@ -16,21 +16,21 @@ const g = { class: "quick-actions-panel" }, k = { class: "panel-body" }, v = ["o
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
emits: ["click"],
|
|
19
|
-
setup(
|
|
19
|
+
setup(a, { emit: r }) {
|
|
20
20
|
const f = r, d = (t) => {
|
|
21
21
|
f("click", t);
|
|
22
22
|
};
|
|
23
23
|
return (t, i) => {
|
|
24
|
-
const p =
|
|
24
|
+
const p = b("a-icon");
|
|
25
25
|
return c(), l("div", g, [
|
|
26
26
|
i[0] || (i[0] = e("div", { class: "panel-header" }, [
|
|
27
27
|
e("span", { class: "panel-title" }, "快捷操作")
|
|
28
28
|
], -1)),
|
|
29
29
|
e("div", k, [
|
|
30
|
-
(c(!0), l(
|
|
31
|
-
key:
|
|
30
|
+
(c(!0), l(_, null, m(a.actions, (o, s) => (c(), l("div", {
|
|
31
|
+
key: s,
|
|
32
32
|
class: "action-item",
|
|
33
|
-
style: n({ animationDelay: `${
|
|
33
|
+
style: n({ animationDelay: `${s * 50}ms` }),
|
|
34
34
|
onClick: (q) => d(o)
|
|
35
35
|
}, [
|
|
36
36
|
e("div", {
|
|
@@ -48,7 +48,7 @@ const g = { class: "quick-actions-panel" }, k = { class: "panel-body" }, v = ["o
|
|
|
48
48
|
]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}, D = /* @__PURE__ */ y(A, [["__scopeId", "data-v-
|
|
51
|
+
}, D = /* @__PURE__ */ y(A, [["__scopeId", "data-v-6bc47e43"]]);
|
|
52
52
|
export {
|
|
53
53
|
D as default
|
|
54
54
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { resolveComponent as l, createElementBlock as s, openBlock as a, createVNode as v, withCtx as
|
|
2
|
-
import { _ as w } from "./index
|
|
3
|
-
const k = { class: "stat-cards" },
|
|
1
|
+
import { resolveComponent as l, createElementBlock as s, openBlock as a, createVNode as v, withCtx as d, Fragment as m, renderList as g, createBlock as i, createElementVNode as e, normalizeStyle as f, toDisplayString as n, normalizeClass as y, createCommentVNode as _ } from "vue";
|
|
2
|
+
import { _ as w } from "./index-x6RwsCx2.js";
|
|
3
|
+
const k = { class: "stat-cards" }, x = { class: "d-flex align-items-start justify-content-between" }, b = { class: "stat-content" }, C = { class: "stat-label" }, B = { class: "stat-value" }, z = { key: 1 }, S = { class: "stat-compare text-truncate" }, N = {
|
|
4
4
|
key: 0,
|
|
5
5
|
width: "16",
|
|
6
6
|
height: "16",
|
|
@@ -13,7 +13,7 @@ const k = { class: "stat-cards" }, b = { class: "d-flex align-items-start justif
|
|
|
13
13
|
viewBox: "0 0 16 16",
|
|
14
14
|
fill: "currentColor"
|
|
15
15
|
}, D = { key: 2 }, E = {
|
|
16
|
-
__name: "
|
|
16
|
+
__name: "PcStatCards",
|
|
17
17
|
props: {
|
|
18
18
|
stats: {
|
|
19
19
|
type: Array,
|
|
@@ -34,21 +34,21 @@ const k = { class: "stat-cards" }, b = { class: "d-flex align-items-start justif
|
|
|
34
34
|
const p = l("a-skeleton"), u = l("a-col"), h = l("a-row");
|
|
35
35
|
return a(), s("div", k, [
|
|
36
36
|
v(h, { gutter: 16 }, {
|
|
37
|
-
default:
|
|
38
|
-
(a(!0), s(m, null,
|
|
39
|
-
key:
|
|
37
|
+
default: d(() => [
|
|
38
|
+
(a(!0), s(m, null, g(r.stats, (t, c) => (a(), i(u, {
|
|
39
|
+
key: c,
|
|
40
40
|
xs: 24,
|
|
41
41
|
sm: 12,
|
|
42
42
|
md: 6,
|
|
43
43
|
class: "mb-4"
|
|
44
44
|
}, {
|
|
45
|
-
default:
|
|
45
|
+
default: d(() => [
|
|
46
46
|
e("div", {
|
|
47
47
|
class: "stat-card",
|
|
48
|
-
style:
|
|
48
|
+
style: f({ animationDelay: `${c * 80}ms` })
|
|
49
49
|
}, [
|
|
50
|
-
e("div",
|
|
51
|
-
e("div",
|
|
50
|
+
e("div", x, [
|
|
51
|
+
e("div", b, [
|
|
52
52
|
e("div", C, n(t.label), 1),
|
|
53
53
|
e("div", B, [
|
|
54
54
|
r.loading ? (a(), i(p, {
|
|
@@ -85,7 +85,7 @@ const k = { class: "stat-cards" }, b = { class: "d-flex align-items-start justif
|
|
|
85
85
|
]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, j = /* @__PURE__ */ w(E, [["__scopeId", "data-v-c9c8d037"]]);
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
j as default
|
|
91
91
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { inject as l, resolveComponent as y, createElementBlock as o, openBlock as s, createElementVNode as e, createVNode as c, Fragment as u, renderList as k, unref as m, toDisplayString as i } from "vue";
|
|
2
|
+
import { _ as f } from "./index-x6RwsCx2.js";
|
|
3
|
+
const g = { class: "pc-workspace-entry-panel" }, h = { class: "pc-config-panel-title" }, v = ["onClick"], E = { class: "entry-icon" }, P = { class: "entry-copy" }, b = {
|
|
4
|
+
__name: "PcWorkspaceEntry",
|
|
5
|
+
setup(w) {
|
|
6
|
+
const _ = l("workspaceEntries", []), r = l("openWorkspacePane", null), d = (a) => {
|
|
7
|
+
r && r(a);
|
|
8
|
+
};
|
|
9
|
+
return (a, p) => {
|
|
10
|
+
const t = y("a-icon");
|
|
11
|
+
return s(), o("section", g, [
|
|
12
|
+
e("div", h, [
|
|
13
|
+
p[0] || (p[0] = e("div", null, [
|
|
14
|
+
e("div", { class: "small text-muted" }, "工作区入口"),
|
|
15
|
+
e("h4", { class: "mb-0" }, "控制台内嵌页面")
|
|
16
|
+
], -1)),
|
|
17
|
+
c(t, { type: "icon-appstore" })
|
|
18
|
+
]),
|
|
19
|
+
(s(!0), o(u, null, k(m(_), (n) => (s(), o("button", {
|
|
20
|
+
key: n.key,
|
|
21
|
+
type: "button",
|
|
22
|
+
class: "pc-config-entry",
|
|
23
|
+
onClick: (x) => d(n.key)
|
|
24
|
+
}, [
|
|
25
|
+
e("span", E, [
|
|
26
|
+
c(t, {
|
|
27
|
+
type: n.icon
|
|
28
|
+
}, null, 8, ["type"])
|
|
29
|
+
]),
|
|
30
|
+
e("span", P, [
|
|
31
|
+
e("strong", null, i(n.title), 1),
|
|
32
|
+
e("small", null, i(n.description), 1)
|
|
33
|
+
]),
|
|
34
|
+
c(t, {
|
|
35
|
+
type: "icon-right",
|
|
36
|
+
class: "entry-arrow"
|
|
37
|
+
})
|
|
38
|
+
], 8, v))), 128))
|
|
39
|
+
]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}, B = /* @__PURE__ */ f(b, [["__scopeId", "data-v-8f058db6"]]);
|
|
43
|
+
export {
|
|
44
|
+
B as default
|
|
45
|
+
};
|