gs-eant-comp 3.1.8-beta.1 → 3.1.8-beta.3
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/ActivityFeed-mHiHcj2r.js +51 -0
- package/dist/BannerCarousel-afFuVVXz.js +74 -0
- package/dist/NoticeList-D-P810lX.js +45 -0
- package/dist/QuickActions-DDDwj0VY.js +41 -0
- package/dist/QuickMenu-Bxy7TyKw.js +48 -0
- package/dist/ShoppingCart-lZGjadLM.js +136 -0
- package/dist/StatCard-BwTbMy4_.js +60 -0
- package/dist/TodoList-BGaVYuzF.js +51 -0
- package/dist/gs-eant-comp.css +1 -1
- package/dist/gs-eant-comp.js +27 -21
- package/dist/gs-eant-comp.umd.cjs +4 -4
- package/dist/{index-Cp-0jUSL.js → index-BIXBusA2.js} +1075 -1010
- package/package.json +1 -1
- package/dist/ContainerWrapper-qIGfmJk2.js +0 -39
- package/dist/NoticeList-BSv_VH51.js +0 -32
- package/dist/QuickMenu-1jC2RHOq.js +0 -51
- package/dist/StatCard-CjJc_X5l.js +0 -41
package/package.json
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as t, openBlock as n, normalizeStyle as a, createCommentVNode as o, createElementVNode as r, toDisplayString as s, renderSlot as c } from "vue";
|
|
2
|
-
import { _ as d } from "./index-Cp-0jUSL.js";
|
|
3
|
-
const f = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "container-header d-flex align-items-center justify-content-between px-3 py-2"
|
|
6
|
-
}, p = {
|
|
7
|
-
class: "fw-medium",
|
|
8
|
-
style: { "font-size": "14px" }
|
|
9
|
-
}, m = { class: "container-body flex-fill px-3 pb-2 overflow-hidden" }, u = {
|
|
10
|
-
__name: "ContainerWrapper",
|
|
11
|
-
props: {
|
|
12
|
-
title: { type: String, default: "" },
|
|
13
|
-
moreLink: { type: String, default: "" },
|
|
14
|
-
bgColor: { type: String, default: "#fff" }
|
|
15
|
-
},
|
|
16
|
-
setup(e) {
|
|
17
|
-
const i = () => {
|
|
18
|
-
};
|
|
19
|
-
return (l, y) => (n(), t("div", {
|
|
20
|
-
class: "container-wrapper h-100 d-flex flex-column",
|
|
21
|
-
style: a({ background: e.bgColor })
|
|
22
|
-
}, [
|
|
23
|
-
e.title ? (n(), t("div", f, [
|
|
24
|
-
r("span", p, s(e.title), 1),
|
|
25
|
-
e.moreLink ? (n(), t("a", {
|
|
26
|
-
key: 0,
|
|
27
|
-
onClick: i,
|
|
28
|
-
style: { "font-size": "12px" }
|
|
29
|
-
}, "更多 ›")) : o("", !0)
|
|
30
|
-
])) : o("", !0),
|
|
31
|
-
r("div", m, [
|
|
32
|
-
c(l.$slots, "default", {}, void 0, !0)
|
|
33
|
-
])
|
|
34
|
-
], 4));
|
|
35
|
-
}
|
|
36
|
-
}, g = /* @__PURE__ */ d(u, [["__scopeId", "data-v-10ac3557"]]);
|
|
37
|
-
export {
|
|
38
|
-
g as C
|
|
39
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createBlock as l, openBlock as r, withCtx as s, createElementVNode as e, createElementBlock as n, Fragment as a, renderList as d, toDisplayString as i } from "vue";
|
|
2
|
-
import { C as p } from "./ContainerWrapper-qIGfmJk2.js";
|
|
3
|
-
const c = { class: "d-flex flex-column gap-2" }, f = {
|
|
4
|
-
class: "flex-fill",
|
|
5
|
-
style: { "font-size": "13px", color: "#333", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }
|
|
6
|
-
}, x = { style: { "font-size": "11px", color: "#999", "flex-shrink": "0", "margin-left": "8px" } }, g = {
|
|
7
|
-
__name: "NoticeList",
|
|
8
|
-
setup(m) {
|
|
9
|
-
return (_, o) => (r(), l(p, {
|
|
10
|
-
title: "系统公告",
|
|
11
|
-
moreLink: "/notice"
|
|
12
|
-
}, {
|
|
13
|
-
default: s(() => [
|
|
14
|
-
e("div", c, [
|
|
15
|
-
(r(), n(a, null, d(4, (t) => e("div", {
|
|
16
|
-
key: t,
|
|
17
|
-
class: "d-flex align-items-center",
|
|
18
|
-
style: { "border-bottom": "1px solid #f5f5f5", padding: "6px 0" }
|
|
19
|
-
}, [
|
|
20
|
-
o[0] || (o[0] = e("div", { style: { width: "6px", height: "6px", background: "#1a73e8", "border-radius": "50%", "margin-right": "8px", "flex-shrink": "0" } }, null, -1)),
|
|
21
|
-
e("div", f, " 系统公告标题" + i(t), 1),
|
|
22
|
-
e("div", x, "04-2" + i(t), 1)
|
|
23
|
-
])), 64))
|
|
24
|
-
])
|
|
25
|
-
]),
|
|
26
|
-
_: 1
|
|
27
|
-
}));
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
g as default
|
|
32
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { inject as m, resolveComponent as n, createBlock as r, openBlock as o, withCtx as c, createElementVNode as s, createVNode as a, createElementBlock as f, Fragment as h, renderList as x, unref as y, toDisplayString as k } from "vue";
|
|
2
|
-
import { useRouter as g } from "vue-router";
|
|
3
|
-
import { C } from "./ContainerWrapper-qIGfmJk2.js";
|
|
4
|
-
const v = { class: "h-100 d-flex align-items-center" }, w = { class: "d-flex flex-column align-items-center justify-content-center py-2" }, B = {
|
|
5
|
-
class: "mt-1 text-center",
|
|
6
|
-
style: { "font-size": "11px", color: "#666" }
|
|
7
|
-
}, D = {
|
|
8
|
-
__name: "QuickMenu",
|
|
9
|
-
setup(b) {
|
|
10
|
-
const l = g(), _ = m("menus", []), i = (t) => {
|
|
11
|
-
t.path && l.push(t.path);
|
|
12
|
-
};
|
|
13
|
-
return (t, j) => {
|
|
14
|
-
const p = n("a-icon"), u = n("a-col"), d = n("a-row");
|
|
15
|
-
return o(), r(C, { title: "快捷入口" }, {
|
|
16
|
-
default: c(() => [
|
|
17
|
-
s("div", v, [
|
|
18
|
-
a(d, {
|
|
19
|
-
class: "w-100",
|
|
20
|
-
gutter: [8, 8]
|
|
21
|
-
}, {
|
|
22
|
-
default: c(() => [
|
|
23
|
-
(o(!0), f(h, null, x(y(_), (e) => (o(), r(u, {
|
|
24
|
-
span: 6,
|
|
25
|
-
key: e.cddm,
|
|
26
|
-
onClick: (z) => i(e)
|
|
27
|
-
}, {
|
|
28
|
-
default: c(() => [
|
|
29
|
-
s("div", w, [
|
|
30
|
-
a(p, {
|
|
31
|
-
type: e.tab_icon || e.icon,
|
|
32
|
-
style: { "font-size": "22px" }
|
|
33
|
-
}, null, 8, ["type"]),
|
|
34
|
-
s("div", B, k(e.tab_title || e.cdmc), 1)
|
|
35
|
-
])
|
|
36
|
-
]),
|
|
37
|
-
_: 2
|
|
38
|
-
}, 1032, ["onClick"]))), 128))
|
|
39
|
-
]),
|
|
40
|
-
_: 1
|
|
41
|
-
})
|
|
42
|
-
])
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
D as default
|
|
51
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { createBlock as i, openBlock as o, withCtx as c, createElementVNode as t, createElementBlock as l, Fragment as n, renderList as r, toDisplayString as d } from "vue";
|
|
2
|
-
import { C as a } from "./ContainerWrapper-qIGfmJk2.js";
|
|
3
|
-
const _ = { class: "h-100 d-flex flex-column justify-content-around" }, f = { class: "row text-center g-0" }, u = {
|
|
4
|
-
class: "text-muted",
|
|
5
|
-
style: { "font-size": "12px" }
|
|
6
|
-
}, p = { class: "row text-center g-0" }, m = {
|
|
7
|
-
class: "text-muted",
|
|
8
|
-
style: { "font-size": "12px" }
|
|
9
|
-
}, w = {
|
|
10
|
-
__name: "StatCard",
|
|
11
|
-
setup(x) {
|
|
12
|
-
return (v, s) => (o(), i(a, { title: "数据概览" }, {
|
|
13
|
-
default: c(() => [
|
|
14
|
-
t("div", _, [
|
|
15
|
-
t("div", f, [
|
|
16
|
-
(o(), l(n, null, r(3, (e) => t("div", {
|
|
17
|
-
class: "col-4",
|
|
18
|
-
key: "top-" + e
|
|
19
|
-
}, [
|
|
20
|
-
s[0] || (s[0] = t("div", { class: "fw-bold fs-5" }, "--", -1)),
|
|
21
|
-
t("div", u, "指标" + d(e), 1)
|
|
22
|
-
])), 64))
|
|
23
|
-
]),
|
|
24
|
-
t("div", p, [
|
|
25
|
-
(o(), l(n, null, r(3, (e) => t("div", {
|
|
26
|
-
class: "col-4",
|
|
27
|
-
key: "bot-" + e
|
|
28
|
-
}, [
|
|
29
|
-
s[1] || (s[1] = t("div", { class: "fw-bold fs-5" }, "--", -1)),
|
|
30
|
-
t("div", m, "指标" + d(e + 3), 1)
|
|
31
|
-
])), 64))
|
|
32
|
-
])
|
|
33
|
-
])
|
|
34
|
-
]),
|
|
35
|
-
_: 1
|
|
36
|
-
}));
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
w as default
|
|
41
|
-
};
|