lw-cdp-ui 1.0.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.
@@ -0,0 +1,258 @@
1
+ import V from "sortablejs";
2
+ import { resolveComponent as u, openBlock as m, createElementBlock as p, Fragment as x, createElementVNode as r, renderList as k, normalizeClass as v, withModifiers as g, createVNode as o, withCtx as c, toDisplayString as I, createBlock as L, createCommentVNode as T, Transition as C, normalizeStyle as S, createTextVNode as d } from "vue";
3
+ import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const D = {
5
+ name: "tags",
6
+ data() {
7
+ return {
8
+ contextMenuVisible: !1,
9
+ contextMenuItem: null,
10
+ left: 0,
11
+ top: 0,
12
+ tipVisible: !1,
13
+ tipDisplayed: !1
14
+ };
15
+ },
16
+ props: {},
17
+ computed: {
18
+ tagList() {
19
+ return this.$store.state.viewTags.viewTags;
20
+ }
21
+ },
22
+ watch: {
23
+ $route(e) {
24
+ this.addViewTags(e), this.$nextTick(() => {
25
+ const t = this.$refs.tags;
26
+ t && t.scrollWidth > t.clientWidth && (t.querySelector(".active").scrollIntoView(), this.tipDisplayed || (this.tipVisible = !0));
27
+ });
28
+ },
29
+ contextMenuVisible(e) {
30
+ var t = this, i = function(s) {
31
+ let a = document.getElementById("contextmenu");
32
+ a && !a.contains(s.target) && t.closeMenu();
33
+ };
34
+ e ? document.body.addEventListener("click", (s) => i(s)) : document.body.removeEventListener("click", (s) => i(s));
35
+ }
36
+ },
37
+ created() {
38
+ this.init();
39
+ },
40
+ mounted() {
41
+ this.tagDrop(), this.scrollInit();
42
+ },
43
+ methods: {
44
+ // 初始化
45
+ init() {
46
+ var e = this.$router.sc_getMenu(), t = this.treeFind(e, (i) => i.path == this.$CONFIG.DASHBOARD_URL);
47
+ t && (t.fullPath = t.path, this.addViewTags(t), this.addViewTags(this.$route));
48
+ },
49
+ //查找树
50
+ treeFind(e, t) {
51
+ for (const i of e) {
52
+ if (t(i)) return i;
53
+ if (i.children) {
54
+ const s = this.treeFind(i.children, t);
55
+ if (s) return s;
56
+ }
57
+ }
58
+ return null;
59
+ },
60
+ //标签拖拽排序
61
+ tagDrop() {
62
+ const e = this.$refs.tags;
63
+ V.create(e, {
64
+ draggable: "li",
65
+ animation: 300
66
+ });
67
+ },
68
+ //增加tag
69
+ addViewTags(e) {
70
+ e.name && !e.meta.fullpage && (this.$store.commit("pushViewTags", e), this.$store.commit("pushKeepLive", e.name));
71
+ },
72
+ //高亮tag
73
+ isActive(e) {
74
+ return e.fullPath === this.$route.fullPath;
75
+ },
76
+ //关闭tag
77
+ closeSelectedTag(e, t = !0) {
78
+ if (this.$store.commit("removeViewTags", e), this.$store.commit("removeIframeList", e), this.$store.commit("removeKeepLive", e.name), t && this.isActive(e)) {
79
+ const i = this.tagList.slice(-1)[0];
80
+ i ? this.$router.push(i) : this.$router.push("/");
81
+ }
82
+ },
83
+ //tag右键
84
+ openContextMenu(e, t) {
85
+ this.contextMenuItem = t, this.contextMenuVisible = !0, this.left = e.clientX + 1, this.top = e.clientY + 1, this.$nextTick(() => {
86
+ let i = document.getElementById("contextmenu");
87
+ document.body.offsetWidth - e.clientX < i.offsetWidth && (this.left = document.body.offsetWidth - i.offsetWidth + 1, this.top = e.clientY + 1);
88
+ });
89
+ },
90
+ //关闭右键菜单
91
+ closeMenu() {
92
+ this.contextMenuItem = null, this.contextMenuVisible = !1;
93
+ },
94
+ //TAB 刷新
95
+ refreshTab() {
96
+ var e = this.contextMenuItem;
97
+ this.contextMenuVisible = !1, this.$route.fullPath != e.fullPath && this.$router.push({
98
+ path: e.fullPath,
99
+ query: e.query
100
+ }), this.$store.commit("refreshIframe", e);
101
+ var t = this;
102
+ setTimeout(function() {
103
+ t.$store.commit("removeKeepLive", e.name), t.$store.commit("setRouteShow", !1), t.$nextTick(() => {
104
+ t.$store.commit("pushKeepLive", e.name), t.$store.commit("setRouteShow", !0);
105
+ });
106
+ }, 0);
107
+ },
108
+ //TAB 关闭
109
+ closeTabs() {
110
+ var e = this.contextMenuItem;
111
+ e.meta.affix || (this.closeSelectedTag(e), this.contextMenuVisible = !1);
112
+ },
113
+ //TAB 关闭其他
114
+ closeOtherTabs() {
115
+ var e = this.contextMenuItem;
116
+ this.$route.fullPath != e.fullPath && this.$router.push({
117
+ path: e.fullPath,
118
+ query: e.query
119
+ });
120
+ var t = [...this.tagList];
121
+ t.forEach((i) => {
122
+ if (i.meta && i.meta.affix || e.fullPath == i.fullPath)
123
+ return !0;
124
+ this.closeSelectedTag(i, !1);
125
+ }), this.contextMenuVisible = !1;
126
+ },
127
+ //TAB 最大化
128
+ maximize() {
129
+ var e = this.contextMenuItem;
130
+ this.contextMenuVisible = !1, this.$route.fullPath != e.fullPath && this.$router.push({
131
+ path: e.fullPath,
132
+ query: e.query
133
+ }), document.getElementById("app").classList.add("main-maximize");
134
+ },
135
+ //新窗口打开
136
+ openWindow() {
137
+ var e = this.contextMenuItem, t = e.href || "/";
138
+ e.meta.affix || this.closeSelectedTag(e), window.open(t), this.contextMenuVisible = !1;
139
+ },
140
+ //横向滚动
141
+ scrollInit() {
142
+ const e = this.$refs.tags;
143
+ e.addEventListener("mousewheel", t, !1) || e.addEventListener("DOMMouseScroll", t, !1);
144
+ function t(i) {
145
+ const s = i.wheelDelta || i.detail, a = 1, l = -1;
146
+ let h = 0;
147
+ s == 3 || s < 0 && s != -3 ? h = a * 50 : h = l * 50, e.scrollLeft += h;
148
+ }
149
+ },
150
+ hideTip() {
151
+ this.tipVisible = !1, this.tipDisplayed = !0;
152
+ }
153
+ }
154
+ }, E = { class: "adminui-tags" }, B = { ref: "tags" }, W = ["onContextmenu"], q = /* @__PURE__ */ r("hr", null, null, -1), z = /* @__PURE__ */ r("hr", null, null, -1);
155
+ function F(e, t, i, s, a, l) {
156
+ const h = u("el-icon-close"), f = u("el-icon"), b = u("router-link"), w = u("el-icon-refresh"), M = u("el-icon-folder-delete"), $ = u("el-icon-full-screen"), y = u("el-icon-copy-document");
157
+ return m(), p(x, null, [
158
+ r("div", E, [
159
+ r("ul", B, [
160
+ (m(!0), p(x, null, k(l.tagList, (n) => (m(), p("li", {
161
+ key: n,
162
+ class: v([l.isActive(n) ? "active" : "", n.meta.affix ? "affix" : ""]),
163
+ onContextmenu: g((_) => l.openContextMenu(_, n), ["prevent"])
164
+ }, [
165
+ o(b, { to: n }, {
166
+ default: c(() => [
167
+ r("span", null, I(n.meta.title), 1),
168
+ n.meta.affix ? T("", !0) : (m(), L(f, {
169
+ key: 0,
170
+ onClick: g((_) => l.closeSelectedTag(n), ["prevent", "stop"])
171
+ }, {
172
+ default: c(() => [
173
+ o(h)
174
+ ]),
175
+ _: 2
176
+ }, 1032, ["onClick"]))
177
+ ]),
178
+ _: 2
179
+ }, 1032, ["to"])
180
+ ], 42, W))), 128))
181
+ ], 512)
182
+ ]),
183
+ o(C, { name: "el-zoom-in-top" }, {
184
+ default: c(() => [
185
+ a.contextMenuVisible ? (m(), p("ul", {
186
+ key: 0,
187
+ style: S({ left: a.left + "px", top: a.top + "px" }),
188
+ class: "contextmenu",
189
+ id: "contextmenu"
190
+ }, [
191
+ r("li", {
192
+ onClick: t[0] || (t[0] = (n) => l.refreshTab())
193
+ }, [
194
+ o(f, null, {
195
+ default: c(() => [
196
+ o(w)
197
+ ]),
198
+ _: 1
199
+ }),
200
+ d("刷新")
201
+ ]),
202
+ q,
203
+ r("li", {
204
+ onClick: t[1] || (t[1] = (n) => l.closeTabs()),
205
+ class: v(a.contextMenuItem.meta.affix ? "disabled" : "")
206
+ }, [
207
+ o(f, null, {
208
+ default: c(() => [
209
+ o(h)
210
+ ]),
211
+ _: 1
212
+ }),
213
+ d("关闭标签 ")
214
+ ], 2),
215
+ r("li", {
216
+ onClick: t[2] || (t[2] = (n) => l.closeOtherTabs())
217
+ }, [
218
+ o(f, null, {
219
+ default: c(() => [
220
+ o(M)
221
+ ]),
222
+ _: 1
223
+ }),
224
+ d("关闭其他标签 ")
225
+ ]),
226
+ z,
227
+ r("li", {
228
+ onClick: t[3] || (t[3] = (n) => l.maximize())
229
+ }, [
230
+ o(f, null, {
231
+ default: c(() => [
232
+ o($)
233
+ ]),
234
+ _: 1
235
+ }),
236
+ d("最大化")
237
+ ]),
238
+ r("li", {
239
+ onClick: t[4] || (t[4] = (n) => l.openWindow())
240
+ }, [
241
+ o(f, null, {
242
+ default: c(() => [
243
+ o(y)
244
+ ]),
245
+ _: 1
246
+ }),
247
+ d("在新的窗口中打开 ")
248
+ ])
249
+ ], 4)) : T("", !0)
250
+ ]),
251
+ _: 1
252
+ })
253
+ ], 64);
254
+ }
255
+ const R = /* @__PURE__ */ P(D, [["render", F]]);
256
+ export {
257
+ R as default
258
+ };
@@ -0,0 +1,143 @@
1
+ import { resolveComponent as t, resolveDirective as f, withDirectives as y, openBlock as s, createBlock as c, withCtx as o, createVNode as r, createCommentVNode as i, createElementBlock as z, Fragment as S, renderList as V, createElementVNode as e, toDisplayString as A, createTextVNode as _, pushScopeId as B, popScopeId as E } from "vue";
2
+ import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const L = {
4
+ data() {
5
+ return {
6
+ loading: !1,
7
+ tasks: []
8
+ };
9
+ },
10
+ mounted() {
11
+ this.getData();
12
+ },
13
+ methods: {
14
+ async getData() {
15
+ this.loading = !0;
16
+ var l = await this.$API.system.tasks.list.get();
17
+ this.tasks = l.data, this.loading = !1;
18
+ },
19
+ refresh() {
20
+ this.getData();
21
+ },
22
+ download(l) {
23
+ let a = document.createElement("a");
24
+ a.style = "display: none", a.target = "_blank", a.href = l.result, document.body.appendChild(a), a.click(), document.body.removeChild(a);
25
+ }
26
+ }
27
+ }, g = (l) => (B("data-v-0912f73d"), l = l(), E(), l), M = /* @__PURE__ */ g(() => /* @__PURE__ */ e("h2", null, "没有正在执行的任务", -1)), P = /* @__PURE__ */ g(() => /* @__PURE__ */ e("p", { style: { "font-size": "14px", color: "#999", "line-height": "1.5", margin: "0 40px" } }, "在处理耗时过久的任务时为了不阻碍正在处理的工作,可在任务中心进行异步执行。", -1)), T = { class: "user-bar-tasks-item-body" }, $ = { class: "taskIcon" }, j = { class: "taskMain" }, q = { class: "title" }, G = { class: "bottom" }, H = { class: "state" }, J = { class: "handler" };
28
+ function K(l, a, O, Q, d, p) {
29
+ const v = t("el-empty"), k = t("el-icon-paperclip"), u = t("el-icon"), x = t("el-icon-dataAnalysis"), m = t("el-tag"), h = t("el-button"), b = t("el-card"), C = t("el-main"), w = t("el-footer"), D = t("el-container"), I = f("time"), N = f("loading");
30
+ return y((s(), c(D, null, {
31
+ default: o(() => [
32
+ r(C, null, {
33
+ default: o(() => [
34
+ d.tasks.length == 0 ? (s(), c(v, {
35
+ key: 0,
36
+ "image-size": 120
37
+ }, {
38
+ description: o(() => [
39
+ M
40
+ ]),
41
+ default: o(() => [
42
+ P
43
+ ]),
44
+ _: 1
45
+ })) : i("", !0),
46
+ (s(!0), z(S, null, V(d.tasks, (n) => (s(), c(b, {
47
+ key: n.id,
48
+ shadow: "hover",
49
+ class: "user-bar-tasks-item"
50
+ }, {
51
+ default: o(() => [
52
+ e("div", T, [
53
+ e("div", $, [
54
+ n.type == "export" ? (s(), c(u, {
55
+ key: 0,
56
+ size: 20
57
+ }, {
58
+ default: o(() => [
59
+ r(k)
60
+ ]),
61
+ _: 1
62
+ })) : i("", !0),
63
+ n.type == "report" ? (s(), c(u, {
64
+ key: 1,
65
+ size: 20
66
+ }, {
67
+ default: o(() => [
68
+ r(x)
69
+ ]),
70
+ _: 1
71
+ })) : i("", !0)
72
+ ]),
73
+ e("div", j, [
74
+ e("div", q, [
75
+ e("h2", null, A(n.taskName), 1),
76
+ e("p", null, [
77
+ y(e("span", null, null, 512), [
78
+ [
79
+ I,
80
+ n.createDate,
81
+ void 0,
82
+ { tip: !0 }
83
+ ]
84
+ ]),
85
+ _(" 创建")
86
+ ])
87
+ ]),
88
+ e("div", G, [
89
+ e("div", H, [
90
+ n.state == "0" ? (s(), c(m, {
91
+ key: 0,
92
+ type: "info"
93
+ }, {
94
+ default: o(() => [
95
+ _("执行中")
96
+ ]),
97
+ _: 1
98
+ })) : i("", !0),
99
+ n.state == "1" ? (s(), c(m, { key: 1 }, {
100
+ default: o(() => [
101
+ _("完成")
102
+ ]),
103
+ _: 1
104
+ })) : i("", !0)
105
+ ]),
106
+ e("div", J, [
107
+ n.state == "1" ? (s(), c(h, {
108
+ key: 0,
109
+ type: "primary",
110
+ circle: "",
111
+ icon: "el-icon-download",
112
+ onClick: (R) => p.download(n)
113
+ }, null, 8, ["onClick"])) : i("", !0)
114
+ ])
115
+ ])
116
+ ])
117
+ ])
118
+ ]),
119
+ _: 2
120
+ }, 1024))), 128))
121
+ ]),
122
+ _: 1
123
+ }),
124
+ r(w, { style: { padding: "10px", "text-align": "right" } }, {
125
+ default: o(() => [
126
+ r(h, {
127
+ circle: "",
128
+ icon: "el-icon-refresh",
129
+ onClick: p.refresh
130
+ }, null, 8, ["onClick"])
131
+ ]),
132
+ _: 1
133
+ })
134
+ ]),
135
+ _: 1
136
+ })), [
137
+ [N, d.loading]
138
+ ]);
139
+ }
140
+ const X = /* @__PURE__ */ F(L, [["render", K], ["__scopeId", "data-v-0912f73d"]]);
141
+ export {
142
+ X as default
143
+ };
@@ -0,0 +1,75 @@
1
+ import { resolveComponent as a, openBlock as o, createElementBlock as c, createElementVNode as d, createVNode as s, withCtx as r, TransitionGroup as b, Fragment as i, renderList as h, createBlock as n, resolveDynamicComponent as f, createCommentVNode as l, createTextVNode as v, toDisplayString as g, renderSlot as B, pushScopeId as k, popScopeId as $ } from "vue";
2
+ import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const y = {
4
+ data() {
5
+ return {
6
+ breadList: []
7
+ };
8
+ },
9
+ created() {
10
+ this.getBreadcrumb();
11
+ },
12
+ watch: {
13
+ $route() {
14
+ this.getBreadcrumb();
15
+ }
16
+ },
17
+ methods: {
18
+ getBreadcrumb() {
19
+ let e = this.$route.meta.breadcrumb;
20
+ this.breadList = e;
21
+ }
22
+ }
23
+ }, S = (e) => (k("data-v-e30390db"), e = e(), $(), e), x = { class: "adminui-topbar" }, C = { class: "left-panel" }, I = /* @__PURE__ */ S(() => /* @__PURE__ */ d("div", { class: "center-panel" }, null, -1)), L = { class: "right-panel" };
24
+ function N(e, V, T, D, m, E) {
25
+ const u = a("el-icon"), _ = a("el-breadcrumb-item"), p = a("el-breadcrumb");
26
+ return o(), c("div", x, [
27
+ d("div", C, [
28
+ s(p, {
29
+ "separator-icon": "el-icon-arrow-right",
30
+ class: "hidden-sm-and-down"
31
+ }, {
32
+ default: r(() => [
33
+ s(b, {
34
+ name: "breadcrumb",
35
+ mode: "out-in"
36
+ }, {
37
+ default: r(() => [
38
+ (o(!0), c(i, null, h(m.breadList, (t) => (o(), c(i, {
39
+ key: t.title
40
+ }, [
41
+ t.path != "/" && !t.meta.hiddenBreadcrumb ? (o(), n(_, {
42
+ key: t.meta.title
43
+ }, {
44
+ default: r(() => [
45
+ t.meta.icon ? (o(), n(u, {
46
+ key: 0,
47
+ class: "icon"
48
+ }, {
49
+ default: r(() => [
50
+ (o(), n(f(t.meta.icon)))
51
+ ]),
52
+ _: 2
53
+ }, 1024)) : l("", !0),
54
+ v(g(t.meta.title), 1)
55
+ ]),
56
+ _: 2
57
+ }, 1024)) : l("", !0)
58
+ ], 64))), 128))
59
+ ]),
60
+ _: 1
61
+ })
62
+ ]),
63
+ _: 1
64
+ })
65
+ ]),
66
+ I,
67
+ d("div", L, [
68
+ B(e.$slots, "default", {}, void 0, !0)
69
+ ])
70
+ ]);
71
+ }
72
+ const j = /* @__PURE__ */ w(y, [["render", N], ["__scopeId", "data-v-e30390db"]]);
73
+ export {
74
+ j as default
75
+ };
@@ -0,0 +1,164 @@
1
+ import $ from "./search-CxkTZQGs.js";
2
+ import w from "./tasks-DrTo25su.js";
3
+ import v from "./bu-CPymL6sw.js";
4
+ import { resolveComponent as s, openBlock as k, createElementBlock as y, Fragment as C, createElementVNode as a, createVNode as t, withCtx as o, toDisplayString as l, createTextVNode as u } from "vue";
5
+ import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const L = {
7
+ components: {
8
+ search: $,
9
+ bu: v,
10
+ tasks: w
11
+ },
12
+ data() {
13
+ return {
14
+ userName: "",
15
+ userNameF: "",
16
+ searchVisible: !1,
17
+ tasksVisible: !1,
18
+ msg: !1
19
+ };
20
+ },
21
+ created() {
22
+ this.$store.state.user = this.$TOOL.data.get("userAuthInfo");
23
+ },
24
+ methods: {
25
+ //个人信息
26
+ handleUser(e) {
27
+ e == "uc" && this.$router.push({ path: "/user" }), e == "cmd" && this.$router.push({ path: "/cmd" }), e == "clearCache" && this.$confirm("清除缓存会将系统初始化,包括登录状态、主题、语言设置等,是否继续?", "提示", {
28
+ type: "info"
29
+ }).then(() => {
30
+ const r = this.$loading();
31
+ this.$TOOL.data.clear(), this.$router.replace({ path: "/login" }), setTimeout(() => {
32
+ r.close(), location.reload();
33
+ }, 1e3);
34
+ }).catch(() => {
35
+ }), e == "outLogin" && this.$confirm("确认是否退出当前用户?", "提示", {
36
+ type: "warning",
37
+ confirmButtonText: "退出",
38
+ confirmButtonClass: "el-button--danger"
39
+ }).then(() => {
40
+ this.$router.replace({ path: "/login" });
41
+ }).catch(() => {
42
+ });
43
+ },
44
+ //全屏
45
+ screen() {
46
+ var e = document.documentElement;
47
+ this.$TOOL.screen(e);
48
+ },
49
+ //显示短消息
50
+ showMsg() {
51
+ this.msg = !0;
52
+ },
53
+ //搜索
54
+ search() {
55
+ this.searchVisible = !0;
56
+ },
57
+ //任务
58
+ tasks() {
59
+ this.tasksVisible = !0;
60
+ }
61
+ }
62
+ }, N = { class: "user-bar" }, O = { class: "user-avatar" }, T = { class: "user-body" }, U = { class: "user-name" };
63
+ function z(e, r, E, D, n, m) {
64
+ const p = s("bu"), d = s("el-avatar"), i = s("el-dropdown-item"), h = s("el-dropdown-menu"), _ = s("el-dropdown"), f = s("search"), g = s("el-dialog"), b = s("tasks"), V = s("el-drawer");
65
+ return k(), y(C, null, [
66
+ a("div", N, [
67
+ t(p),
68
+ t(_, {
69
+ class: "user panel-item",
70
+ trigger: "click",
71
+ onCommand: m.handleUser
72
+ }, {
73
+ dropdown: o(() => [
74
+ t(h, null, {
75
+ default: o(() => [
76
+ t(i, { command: "uc" }, {
77
+ default: o(() => [
78
+ a("div", T, [
79
+ t(d, {
80
+ size: 30,
81
+ src: e.$store.state.user.username
82
+ }, null, 8, ["src"]),
83
+ a("div", U, [
84
+ a("label", null, l(e.$store.state.user.realName), 1),
85
+ a("label", null, l(e.$store.state.user.username), 1)
86
+ ])
87
+ ])
88
+ ]),
89
+ _: 1
90
+ }),
91
+ t(i, {
92
+ command: "uc",
93
+ divided: ""
94
+ }, {
95
+ default: o(() => [
96
+ u(l(e.$t("layout.userData")), 1)
97
+ ]),
98
+ _: 1
99
+ }),
100
+ t(i, { command: "clearCache" }, {
101
+ default: o(() => [
102
+ u(l(e.$t("layout.clearCache")), 1)
103
+ ]),
104
+ _: 1
105
+ }),
106
+ t(i, {
107
+ divided: "",
108
+ command: "outLogin"
109
+ }, {
110
+ default: o(() => [
111
+ u(l(e.$t("layout.outLogin")), 1)
112
+ ]),
113
+ _: 1
114
+ })
115
+ ]),
116
+ _: 1
117
+ })
118
+ ]),
119
+ default: o(() => [
120
+ a("div", O, [
121
+ t(d, {
122
+ size: 30,
123
+ src: e.$store.state.user.username
124
+ }, null, 8, ["src"])
125
+ ])
126
+ ]),
127
+ _: 1
128
+ }, 8, ["onCommand"])
129
+ ]),
130
+ t(g, {
131
+ modelValue: n.searchVisible,
132
+ "onUpdate:modelValue": r[1] || (r[1] = (c) => n.searchVisible = c),
133
+ width: 700,
134
+ title: "搜索",
135
+ "custom-class": "drawerBG",
136
+ center: "",
137
+ "destroy-on-close": ""
138
+ }, {
139
+ default: o(() => [
140
+ t(f, {
141
+ onSuccess: r[0] || (r[0] = (c) => n.searchVisible = !1)
142
+ })
143
+ ]),
144
+ _: 1
145
+ }, 8, ["modelValue"]),
146
+ t(V, {
147
+ modelValue: n.tasksVisible,
148
+ "onUpdate:modelValue": r[2] || (r[2] = (c) => n.tasksVisible = c),
149
+ size: 450,
150
+ title: "任务中心",
151
+ "custom-class": "drawerBG",
152
+ "destroy-on-close": ""
153
+ }, {
154
+ default: o(() => [
155
+ t(b)
156
+ ]),
157
+ _: 1
158
+ }, 8, ["modelValue"])
159
+ ], 64);
160
+ }
161
+ const M = /* @__PURE__ */ B(L, [["render", z], ["__scopeId", "data-v-f9e694a9"]]);
162
+ export {
163
+ M as default
164
+ };
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "lw-cdp-ui",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.esm.js",
7
+ "license": "MIT",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "dev": "vite",
13
+ "build": "vite build",
14
+ "preview": "vite preview"
15
+ },
16
+ "dependencies": {
17
+ "element-plus": "^2.8.0",
18
+ "jsencrypt": "^3.3.2",
19
+ "sortablejs": "^1.15.2",
20
+ "vue": "^3.4.35"
21
+ },
22
+ "devDependencies": {
23
+ "@vitejs/plugin-vue": "^5.1.2",
24
+ "sass": "^1.77.8",
25
+ "sass-loader": "^16.0.0",
26
+ "vite": "^5.4.0"
27
+ },
28
+ "peerDependencies": {
29
+ "element-plus": "^2.8.0",
30
+ "jsencrypt": "^3.3.2",
31
+ "sortablejs": "^1.15.2",
32
+ "vue": "^3.4.35"
33
+ }
34
+ }