jmash-core 0.0.3 → 0.0.5
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/401-DZeMj80g.mjs +103 -0
- package/dist/404-D1KiG-19.mjs +37 -0
- package/dist/BarChart-BYm859ri.mjs +203 -0
- package/dist/FileSaver.min-DJ2XURfB.mjs +77 -0
- package/dist/FunnelChart-Czy2TVI1.mjs +106 -0
- package/dist/PieChart-BRbbIH3_.mjs +4 -0
- package/dist/PieChart.vue_vue_type_script_setup_true_lang-XjLBqCzM.mjs +90 -0
- package/dist/RadarChart-Bk_uy6Km.mjs +4 -0
- package/dist/RadarChart.vue_vue_type_script_setup_true_lang-COsDkkQU.mjs +109 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/caret-bottom-DGvkHVYd.mjs +59 -0
- package/dist/common-DuVBTwAv.mjs +36 -0
- package/dist/debounce-XYByYe_I.mjs +81 -0
- package/dist/dropdown2-D_RJXnOl.mjs +160 -0
- package/dist/edit-BTjApg1x.mjs +468 -0
- package/dist/edit-BcLHrCSo.mjs +4 -0
- package/dist/edit-DC3SyT6J.mjs +4 -0
- package/dist/edit-DmP9tv3r.mjs +4 -0
- package/dist/edit-Dr-9X4r3.mjs +4 -0
- package/dist/edit-FjRAXd1B.mjs +832 -0
- package/dist/edit-bpHMc65Q.mjs +4 -0
- package/dist/edit-lB54egzx.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BKutjIoX.mjs +621 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BVXBx_a-.mjs +221 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-Bm1SAtWP.mjs +225 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CYZNHUnm.mjs +156 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CZmh3q4f.mjs +287 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DqZ2GCoE.mjs +136 -0
- package/dist/el-card-Da9MvaWO.mjs +61 -0
- package/dist/el-checkbox-B44P9jFr.mjs +548 -0
- package/dist/el-checkbox-group-l0sNRNKZ.mjs +1 -0
- package/dist/el-col-BY0nB6k3.mjs +135 -0
- package/dist/el-date-picker-CVwJoDEA.mjs +3349 -0
- package/dist/el-dialog-CSWvTJrq.mjs +378 -0
- package/dist/el-dropdown-item-CD8hUpml.mjs +675 -0
- package/dist/el-form-item-f-baJSfe.mjs +1489 -0
- package/dist/el-icon-l0sNRNKZ.mjs +1 -0
- package/dist/el-popover-D8RrIMbA.mjs +159 -0
- package/dist/el-popper-C13p_dqu.mjs +1656 -0
- package/dist/el-progress-CHUzIxT1.mjs +898 -0
- package/dist/el-radio-BpdPD-RN.mjs +251 -0
- package/dist/el-scrollbar-B8QteGV0.mjs +607 -0
- package/dist/el-select-ChOy6agQ.mjs +1040 -0
- package/dist/el-switch-cqWxQwcb.mjs +254 -0
- package/dist/el-table-c9Sup56w.mjs +3168 -0
- package/dist/el-tag-l0sNRNKZ.mjs +1 -0
- package/dist/el-tooltip-l0sNRNKZ.mjs +1 -0
- package/dist/el-tree-select-CKOwMXR7.mjs +1316 -0
- package/dist/importUpload.vue_vue_type_script_setup_true_lang-DWrcOBGS.mjs +116 -0
- package/dist/index-B6wY38lY.mjs +13173 -0
- package/dist/index-BH-_mfRR.mjs +107 -0
- package/dist/index-BfhiNV8H.mjs +486 -0
- package/dist/index-BjqMDjBg.mjs +43994 -0
- package/dist/index-BuHauank.mjs +13 -0
- package/dist/index-CBJwB8q2.mjs +633 -0
- package/dist/index-CGCQHwLq.mjs +482 -0
- package/dist/index-CU0iVHXP.mjs +281 -0
- package/dist/index-CYxGYOaT.mjs +504 -0
- package/dist/index-Cjii0qCc.mjs +278 -0
- package/dist/index-Czh2Pqwr.mjs +63 -0
- package/dist/index-DJ08yxAP.mjs +11 -0
- package/dist/index-DUKlDGLk.mjs +2589 -0
- package/dist/index-DUVtKaDI.mjs +515 -0
- package/dist/index-Dgd4Zhxz.mjs +93 -0
- package/dist/index-Di5--Hao.mjs +328 -0
- package/dist/index-DjkMA-Wh.mjs +40 -0
- package/dist/index-DrKW_cyG.mjs +247 -0
- package/dist/index-LuiPOgGW.mjs +291 -0
- package/dist/index-VD-Tf32c.mjs +74 -0
- package/dist/index-cRrjzkNb.mjs +452 -0
- package/dist/index-cp7l4CIE.mjs +134 -0
- package/dist/index-dKz1IRM_.mjs +279 -0
- package/dist/index-dLPnFa10.mjs +964 -0
- package/dist/index-uykKwY2Z.mjs +12 -0
- package/dist/index-vp1_Sd0A.mjs +55 -0
- package/dist/index.mjs +22 -273
- package/dist/index.vue_vue_type_script_setup_true_lang-DcIQIMBC.mjs +286 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DidEhco6.mjs +58 -0
- package/dist/isUndefined-CUQZk6oB.mjs +6 -0
- package/dist/moment-CMYwqyVT.mjs +2579 -0
- package/dist/picture-kDaEiPHi.mjs +599 -0
- package/dist/profile-Sn98YUfh.mjs +319 -0
- package/dist/refs-COP_DuTD.mjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types-BolK_Oyb.mjs +205 -0
- package/dist/updatePwd-B3rEU05i.mjs +4 -0
- package/dist/updatePwd.vue_vue_type_script_setup_true_lang-1LEdjkQ3.mjs +151 -0
- package/dist/useColumnToggleTable-CC9EXcfR.mjs +272 -0
- package/dts/src/App.vue.d.ts +1 -1
- package/dts/src/api/auth/index.d.ts +41 -0
- package/dts/src/api/auth/types.d.ts +180 -0
- package/dts/src/api/file/index.d.ts +14 -0
- package/dts/src/api/file/types.d.ts +7 -0
- package/dts/src/api/system/dept/index.d.ts +91 -0
- package/dts/src/api/system/dept/types.d.ts +63 -0
- package/dts/src/api/system/index.d.ts +7 -0
- package/dts/src/api/system/job/index.d.ts +42 -0
- package/dts/src/api/system/job/types.d.ts +60 -0
- package/dts/src/api/system/log/index.d.ts +29 -0
- package/dts/src/api/system/log/types.d.ts +42 -0
- package/dts/src/api/system/menu/index.d.ts +103 -0
- package/dts/src/api/system/menu/types.d.ts +96 -0
- package/dts/src/api/system/module/index.d.ts +57 -0
- package/dts/src/api/system/module/types.d.ts +13 -0
- package/dts/src/api/system/operation/index.d.ts +51 -0
- package/dts/src/api/system/operation/types.d.ts +12 -0
- package/dts/src/api/system/permission/index.d.ts +50 -0
- package/dts/src/api/system/permission/types.d.ts +12 -0
- package/dts/src/api/system/role/index.d.ts +77 -0
- package/dts/src/api/system/role/types.d.ts +26 -0
- package/dts/src/api/system/user/index.d.ts +133 -0
- package/dts/src/api/system/user/types.d.ts +53 -0
- package/dts/src/api/system/userLog/index.d.ts +29 -0
- package/dts/src/api/system/userLog/types.d.ts +22 -0
- package/dts/src/assets/icons/index.d.ts +0 -0
- package/dts/src/components/{icons/IconDocumentation.vue.d.ts → Breadcrumb/index.vue.d.ts} +1 -1
- package/dts/src/components/DictRadio/index.vue.d.ts +23 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +41 -0
- package/dts/src/components/Dictionary/index.vue.d.ts +47 -0
- package/dts/src/components/{TheWelcome.vue.d.ts → GithubCorner/index.vue.d.ts} +1 -1
- package/dts/src/components/Hamburger/index.vue.d.ts +18 -0
- package/dts/src/components/IconSelect/index.vue.d.ts +20 -0
- package/dts/src/components/IconSelect/requireIcons.d.ts +2 -0
- package/dts/src/components/{icons/IconEcosystem.vue.d.ts → LangSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +88 -0
- package/dts/src/components/RightPanel/index.vue.d.ts +21 -0
- package/dts/src/components/{icons/IconCommunity.vue.d.ts → SizeSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/SvgIcon/index.vue.d.ts +43 -0
- package/dts/src/components/Table/index.vue.d.ts +73 -0
- package/dts/src/components/TableSet/index.vue.d.ts +29 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
- package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
- package/dts/src/components/Upload/index.vue.d.ts +18 -0
- package/dts/src/components/WangEditor/index.vue.d.ts +18 -0
- package/dts/src/directive/index.d.ts +5 -0
- package/dts/src/directive/permission/index.d.ts +9 -0
- package/dts/src/enums/MenuTypeEnum.d.ts +18 -0
- package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/index.d.ts +29 -3
- package/dts/src/lang/index.d.ts +534 -0
- package/dts/src/lang/package/en.d.ts +261 -0
- package/dts/src/lang/package/zh-cn.d.ts +275 -0
- package/dts/src/layout/components/AppMain.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Settings/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/Item.vue.d.ts +23 -0
- package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +24 -0
- package/dts/src/layout/components/Sidebar/Link.vue.d.ts +19 -0
- package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +12 -0
- package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +42 -0
- package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +16 -0
- package/dts/src/layout/components/TagsView/index.vue.d.ts +2 -0
- package/dts/src/layout/components/index.d.ts +4 -0
- package/dts/src/layout/index.vue.d.ts +2 -0
- package/dts/src/layout/main.vue.d.ts +2 -0
- package/dts/src/main.d.ts +5 -1
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +10 -0
- package/dts/src/settings.d.ts +13 -0
- package/dts/src/stores/index.d.ts +7 -0
- package/dts/src/stores/modules/tagsView.d.ts +82 -0
- package/dts/src/utils/common.d.ts +6 -0
- package/dts/src/utils/grpc.d.ts +2 -0
- package/dts/src/utils/i18n.d.ts +1 -0
- package/dts/src/utils/index.d.ts +24 -0
- package/dts/src/utils/request.d.ts +2 -0
- package/dts/src/utils/resize.d.ts +1 -0
- package/dts/src/utils/scroll-to.d.ts +6 -0
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/index.vue.d.ts +2 -0
- package/dts/src/views/error-page/401.vue.d.ts +2 -0
- package/dts/src/views/error-page/404.vue.d.ts +2 -0
- package/dts/src/views/login/components/types.vue.d.ts +2 -0
- package/dts/src/views/login/index.vue.d.ts +2 -0
- package/dts/src/views/my/profile.vue.d.ts +2 -0
- package/dts/src/views/my/updatePwd.vue.d.ts +18 -0
- package/dts/src/views/redirect/index.vue.d.ts +2 -0
- package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
- package/dts/src/views/system/dept/index.vue.d.ts +2 -0
- package/dts/src/views/system/job/edit.vue.d.ts +30 -0
- package/dts/src/views/system/job/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
- package/dts/src/views/system/menu/index.vue.d.ts +2 -0
- package/dts/src/views/system/module/edit.vue.d.ts +31 -0
- package/dts/src/views/system/module/index.vue.d.ts +2 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
- package/dts/src/views/system/operation/index.vue.d.ts +2 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
- package/dts/src/views/system/permission/index.vue.d.ts +2 -0
- package/dts/src/views/system/role/edit.vue.d.ts +31 -0
- package/dts/src/views/system/role/index.vue.d.ts +2 -0
- package/dts/src/views/system/user/edit.vue.d.ts +31 -0
- package/dts/src/views/system/user/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +31 -2
- package/dts/src/components/HelloWorld.vue.d.ts +0 -15
- package/dts/src/components/WelcomeItem.vue.d.ts +0 -11
- package/dts/src/components/icons/IconSupport.vue.d.ts +0 -2
- package/dts/src/components/icons/IconTooling.vue.d.ts +0 -2
- package/dts/src/stores/counter.d.ts +0 -13
- package/dts/src/views/AboutView.vue.d.ts +0 -2
- package/dts/src/views/HomeView.vue.d.ts +0 -2
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { bV as c } from "./index-B6wY38lY.mjs";
|
|
2
|
+
var E = { exports: {} };
|
|
3
|
+
(function(h, j) {
|
|
4
|
+
(function(p, i) {
|
|
5
|
+
i();
|
|
6
|
+
})(c, function() {
|
|
7
|
+
function p(e, t) {
|
|
8
|
+
return typeof t > "u" ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
|
|
9
|
+
}
|
|
10
|
+
function i(e, t, r) {
|
|
11
|
+
var n = new XMLHttpRequest();
|
|
12
|
+
n.open("GET", e), n.responseType = "blob", n.onload = function() {
|
|
13
|
+
u(n.response, t, r);
|
|
14
|
+
}, n.onerror = function() {
|
|
15
|
+
console.error("could not download file");
|
|
16
|
+
}, n.send();
|
|
17
|
+
}
|
|
18
|
+
function v(e) {
|
|
19
|
+
var t = new XMLHttpRequest();
|
|
20
|
+
t.open("HEAD", e, !1);
|
|
21
|
+
try {
|
|
22
|
+
t.send();
|
|
23
|
+
} catch {
|
|
24
|
+
}
|
|
25
|
+
return 200 <= t.status && 299 >= t.status;
|
|
26
|
+
}
|
|
27
|
+
function l(e) {
|
|
28
|
+
try {
|
|
29
|
+
e.dispatchEvent(new MouseEvent("click"));
|
|
30
|
+
} catch {
|
|
31
|
+
var t = document.createEvent("MouseEvents");
|
|
32
|
+
t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
var a = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof c == "object" && c.global === c ? c : void 0, w = a.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), u = a.saveAs || (typeof window != "object" || window !== a ? function() {
|
|
36
|
+
} : "download" in HTMLAnchorElement.prototype && !w ? function(e, t, r) {
|
|
37
|
+
var n = a.URL || a.webkitURL, o = document.createElement("a");
|
|
38
|
+
t = t || e.name || "download", o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin === location.origin ? l(o) : v(o.href) ? i(e, t, r) : l(o, o.target = "_blank")) : (o.href = n.createObjectURL(e), setTimeout(function() {
|
|
39
|
+
n.revokeObjectURL(o.href);
|
|
40
|
+
}, 4e4), setTimeout(function() {
|
|
41
|
+
l(o);
|
|
42
|
+
}, 0));
|
|
43
|
+
} : "msSaveOrOpenBlob" in navigator ? function(e, t, r) {
|
|
44
|
+
if (t = t || e.name || "download", typeof e != "string")
|
|
45
|
+
navigator.msSaveOrOpenBlob(p(e, r), t);
|
|
46
|
+
else if (v(e))
|
|
47
|
+
i(e, t, r);
|
|
48
|
+
else {
|
|
49
|
+
var n = document.createElement("a");
|
|
50
|
+
n.href = e, n.target = "_blank", setTimeout(function() {
|
|
51
|
+
l(n);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
} : function(e, t, r, n) {
|
|
55
|
+
if (n = n || open("", "_blank"), n && (n.document.title = n.document.body.innerText = "downloading..."), typeof e == "string")
|
|
56
|
+
return i(e, t, r);
|
|
57
|
+
var o = e.type === "application/octet-stream", b = /constructor/i.test(a.HTMLElement) || a.safari, m = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
58
|
+
if ((m || o && b || w) && typeof FileReader < "u") {
|
|
59
|
+
var d = new FileReader();
|
|
60
|
+
d.onloadend = function() {
|
|
61
|
+
var s = d.result;
|
|
62
|
+
s = m ? s : s.replace(/^data:[^;]*;/, "data:attachment/file;"), n ? n.location.href = s : location = s, n = null;
|
|
63
|
+
}, d.readAsDataURL(e);
|
|
64
|
+
} else {
|
|
65
|
+
var y = a.URL || a.webkitURL, f = y.createObjectURL(e);
|
|
66
|
+
n ? n.location = f : location.href = f, n = null, setTimeout(function() {
|
|
67
|
+
y.revokeObjectURL(f);
|
|
68
|
+
}, 4e4);
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
a.saveAs = u.saveAs = u, h.exports = u;
|
|
72
|
+
});
|
|
73
|
+
})(E);
|
|
74
|
+
var R = E.exports;
|
|
75
|
+
export {
|
|
76
|
+
R as F
|
|
77
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { defineComponent as l, onMounted as o, openBlock as r, createElementBlock as a, normalizeClass as d, normalizeStyle as s } from "vue";
|
|
2
|
+
import { i as u } from "./index-BjqMDjBg.mjs";
|
|
3
|
+
const c = ["id"], p = /* @__PURE__ */ l({
|
|
4
|
+
__name: "FunnelChart",
|
|
5
|
+
props: {
|
|
6
|
+
id: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "funnelChart"
|
|
9
|
+
},
|
|
10
|
+
className: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: ""
|
|
13
|
+
},
|
|
14
|
+
width: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "200px",
|
|
17
|
+
required: !0
|
|
18
|
+
},
|
|
19
|
+
height: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "200px",
|
|
22
|
+
required: !0
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(e) {
|
|
26
|
+
const n = e, i = {
|
|
27
|
+
title: {
|
|
28
|
+
show: !0,
|
|
29
|
+
text: "订单线索转化漏斗图",
|
|
30
|
+
x: "center",
|
|
31
|
+
padding: 15,
|
|
32
|
+
textStyle: {
|
|
33
|
+
fontSize: 18,
|
|
34
|
+
fontStyle: "normal",
|
|
35
|
+
fontWeight: "bold",
|
|
36
|
+
color: "#337ecc"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
grid: {
|
|
40
|
+
left: "2%",
|
|
41
|
+
right: "2%",
|
|
42
|
+
bottom: "10%",
|
|
43
|
+
containLabel: !0
|
|
44
|
+
},
|
|
45
|
+
legend: {
|
|
46
|
+
x: "center",
|
|
47
|
+
y: "bottom",
|
|
48
|
+
data: ["Show", "Click", "Visit", "Inquiry", "Order"]
|
|
49
|
+
},
|
|
50
|
+
series: [
|
|
51
|
+
{
|
|
52
|
+
name: "Funnel",
|
|
53
|
+
type: "funnel",
|
|
54
|
+
left: "20%",
|
|
55
|
+
top: 60,
|
|
56
|
+
bottom: 60,
|
|
57
|
+
width: "60%",
|
|
58
|
+
sort: "descending",
|
|
59
|
+
gap: 2,
|
|
60
|
+
label: {
|
|
61
|
+
show: !0,
|
|
62
|
+
position: "inside"
|
|
63
|
+
},
|
|
64
|
+
labelLine: {
|
|
65
|
+
length: 10,
|
|
66
|
+
lineStyle: {
|
|
67
|
+
width: 1,
|
|
68
|
+
type: "solid"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
itemStyle: {
|
|
72
|
+
borderColor: "#fff",
|
|
73
|
+
borderWidth: 1
|
|
74
|
+
},
|
|
75
|
+
emphasis: {
|
|
76
|
+
label: {
|
|
77
|
+
fontSize: 20
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
data: [
|
|
81
|
+
{ value: 60, name: "Visit" },
|
|
82
|
+
{ value: 40, name: "Inquiry" },
|
|
83
|
+
{ value: 20, name: "Order" },
|
|
84
|
+
{ value: 80, name: "Click" },
|
|
85
|
+
{ value: 100, name: "Show" }
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
};
|
|
90
|
+
return o(() => {
|
|
91
|
+
const t = u(
|
|
92
|
+
document.getElementById(n.id)
|
|
93
|
+
);
|
|
94
|
+
t.setOption(i), window.addEventListener("resize", () => {
|
|
95
|
+
t.resize();
|
|
96
|
+
});
|
|
97
|
+
}), (t, m) => (r(), a("div", {
|
|
98
|
+
id: e.id,
|
|
99
|
+
class: d(e.className),
|
|
100
|
+
style: s({ height: e.height, width: e.width })
|
|
101
|
+
}, null, 14, c));
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
export {
|
|
105
|
+
p as default
|
|
106
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import "./index-B6wY38lY.mjs";
|
|
2
|
+
import { E as d } from "./el-card-Da9MvaWO.mjs";
|
|
3
|
+
import { defineComponent as l, onMounted as s, openBlock as c, createBlock as m, withCtx as i, createTextVNode as u, createElementVNode as h, normalizeClass as p, normalizeStyle as g } from "vue";
|
|
4
|
+
import { i as f } from "./index-BjqMDjBg.mjs";
|
|
5
|
+
const y = ["id"], v = /* @__PURE__ */ l({
|
|
6
|
+
__name: "PieChart",
|
|
7
|
+
props: {
|
|
8
|
+
id: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "pieChart"
|
|
11
|
+
},
|
|
12
|
+
className: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ""
|
|
15
|
+
},
|
|
16
|
+
width: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "200px",
|
|
19
|
+
required: !0
|
|
20
|
+
},
|
|
21
|
+
height: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "200px",
|
|
24
|
+
required: !0
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(e) {
|
|
28
|
+
const r = e, a = {
|
|
29
|
+
grid: {
|
|
30
|
+
left: "2%",
|
|
31
|
+
right: "2%",
|
|
32
|
+
bottom: "10%",
|
|
33
|
+
containLabel: !0
|
|
34
|
+
},
|
|
35
|
+
legend: {
|
|
36
|
+
top: "bottom",
|
|
37
|
+
textStyle: {
|
|
38
|
+
color: "#999"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
series: [
|
|
42
|
+
{
|
|
43
|
+
name: "Nightingale Chart",
|
|
44
|
+
type: "pie",
|
|
45
|
+
radius: [50, 130],
|
|
46
|
+
center: ["50%", "50%"],
|
|
47
|
+
roseType: "area",
|
|
48
|
+
itemStyle: {
|
|
49
|
+
borderRadius: 1,
|
|
50
|
+
color: function(t) {
|
|
51
|
+
return ["#409EFF", "#67C23A", "#E6A23C", "#F56C6C"][t.dataIndex];
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
data: [
|
|
55
|
+
{ value: 26, name: "家用电器" },
|
|
56
|
+
{ value: 27, name: "户外运动" },
|
|
57
|
+
{ value: 24, name: "汽车用品" },
|
|
58
|
+
{ value: 23, name: "手机数码" }
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
};
|
|
63
|
+
return s(() => {
|
|
64
|
+
const t = f(
|
|
65
|
+
document.getElementById(r.id)
|
|
66
|
+
);
|
|
67
|
+
t.setOption(a), window.addEventListener("resize", () => {
|
|
68
|
+
t.resize();
|
|
69
|
+
});
|
|
70
|
+
}), (t, n) => {
|
|
71
|
+
const o = d;
|
|
72
|
+
return c(), m(o, null, {
|
|
73
|
+
header: i(() => [
|
|
74
|
+
u(" 产品分类饼图 ")
|
|
75
|
+
]),
|
|
76
|
+
default: i(() => [
|
|
77
|
+
h("div", {
|
|
78
|
+
id: e.id,
|
|
79
|
+
class: p(e.className),
|
|
80
|
+
style: g({ height: e.height, width: e.width })
|
|
81
|
+
}, null, 14, y)
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
export {
|
|
89
|
+
v as _
|
|
90
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import "./index-B6wY38lY.mjs";
|
|
2
|
+
import { E as d } from "./el-card-Da9MvaWO.mjs";
|
|
3
|
+
import { defineComponent as l, onMounted as s, openBlock as c, createBlock as m, withCtx as a, createTextVNode as u, createElementVNode as h, normalizeClass as p, normalizeStyle as g } from "vue";
|
|
4
|
+
import { i as f } from "./index-BjqMDjBg.mjs";
|
|
5
|
+
const y = ["id"], v = /* @__PURE__ */ l({
|
|
6
|
+
__name: "RadarChart",
|
|
7
|
+
props: {
|
|
8
|
+
id: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "radarChart"
|
|
11
|
+
},
|
|
12
|
+
className: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ""
|
|
15
|
+
},
|
|
16
|
+
width: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "200px",
|
|
19
|
+
required: !0
|
|
20
|
+
},
|
|
21
|
+
height: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "200px",
|
|
24
|
+
required: !0
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(e) {
|
|
28
|
+
const n = e, r = {
|
|
29
|
+
grid: {
|
|
30
|
+
left: "2%",
|
|
31
|
+
right: "2%",
|
|
32
|
+
bottom: "10%",
|
|
33
|
+
containLabel: !0
|
|
34
|
+
},
|
|
35
|
+
legend: {
|
|
36
|
+
x: "center",
|
|
37
|
+
y: "bottom",
|
|
38
|
+
data: ["预定数量", "下单数量", "发货数量"],
|
|
39
|
+
textStyle: {
|
|
40
|
+
color: "#999"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
radar: {
|
|
44
|
+
// shape: 'circle',
|
|
45
|
+
radius: "60%",
|
|
46
|
+
indicator: [
|
|
47
|
+
{ name: "家用电器" },
|
|
48
|
+
{ name: "服装箱包" },
|
|
49
|
+
{ name: "运动户外" },
|
|
50
|
+
{ name: "手机数码" },
|
|
51
|
+
{ name: "汽车用品" },
|
|
52
|
+
{ name: "家具厨具" }
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
series: [
|
|
56
|
+
{
|
|
57
|
+
name: "Budget vs spending",
|
|
58
|
+
type: "radar",
|
|
59
|
+
itemStyle: {
|
|
60
|
+
borderRadius: 6,
|
|
61
|
+
color: function(t) {
|
|
62
|
+
return ["#409EFF", "#67C23A", "#E6A23C", "#F56C6C"][t.dataIndex];
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
data: [
|
|
66
|
+
{
|
|
67
|
+
value: [400, 400, 400, 400, 400, 400],
|
|
68
|
+
name: "预定数量"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
value: [300, 300, 300, 300, 300, 300],
|
|
72
|
+
name: "下单数量"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
value: [200, 200, 200, 200, 200, 200],
|
|
76
|
+
name: "发货数量"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
};
|
|
82
|
+
return s(() => {
|
|
83
|
+
const t = f(
|
|
84
|
+
document.getElementById(n.id)
|
|
85
|
+
);
|
|
86
|
+
t.setOption(r), window.addEventListener("resize", () => {
|
|
87
|
+
t.resize();
|
|
88
|
+
});
|
|
89
|
+
}), (t, i) => {
|
|
90
|
+
const o = d;
|
|
91
|
+
return c(), m(o, null, {
|
|
92
|
+
header: a(() => [
|
|
93
|
+
u(" 订单状态雷达图 ")
|
|
94
|
+
]),
|
|
95
|
+
default: a(() => [
|
|
96
|
+
h("div", {
|
|
97
|
+
id: e.id,
|
|
98
|
+
class: p(e.className),
|
|
99
|
+
style: g({ height: e.height, width: e.width })
|
|
100
|
+
}, null, 14, y)
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
export {
|
|
108
|
+
v as _
|
|
109
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineComponent as a, computed as c, openBlock as r, createElementBlock as n, normalizeClass as l, unref as o, normalizeStyle as p, renderSlot as u, createCommentVNode as m, createElementVNode as _ } from "vue";
|
|
2
|
+
import { m as f, n as v, x as h, _ as y, L as S } from "./index-B6wY38lY.mjs";
|
|
3
|
+
const g = f({
|
|
4
|
+
direction: {
|
|
5
|
+
type: String,
|
|
6
|
+
values: ["horizontal", "vertical"],
|
|
7
|
+
default: "horizontal"
|
|
8
|
+
},
|
|
9
|
+
contentPosition: {
|
|
10
|
+
type: String,
|
|
11
|
+
values: ["left", "center", "right"],
|
|
12
|
+
default: "center"
|
|
13
|
+
},
|
|
14
|
+
borderStyle: {
|
|
15
|
+
type: v(String),
|
|
16
|
+
default: "solid"
|
|
17
|
+
}
|
|
18
|
+
}), b = a({
|
|
19
|
+
name: "ElDivider"
|
|
20
|
+
}), z = /* @__PURE__ */ a({
|
|
21
|
+
...b,
|
|
22
|
+
props: g,
|
|
23
|
+
setup(i) {
|
|
24
|
+
const s = i, e = h("divider"), d = c(() => e.cssVar({
|
|
25
|
+
"border-style": s.borderStyle
|
|
26
|
+
}));
|
|
27
|
+
return (t, B) => (r(), n("div", {
|
|
28
|
+
class: l([o(e).b(), o(e).m(t.direction)]),
|
|
29
|
+
style: p(o(d)),
|
|
30
|
+
role: "separator"
|
|
31
|
+
}, [
|
|
32
|
+
t.$slots.default && t.direction !== "vertical" ? (r(), n("div", {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: l([o(e).e("text"), o(e).is(t.contentPosition)])
|
|
35
|
+
}, [
|
|
36
|
+
u(t.$slots, "default")
|
|
37
|
+
], 2)) : m("v-if", !0)
|
|
38
|
+
], 6));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
var E = /* @__PURE__ */ y(z, [["__file", "divider.vue"]]);
|
|
42
|
+
const V = S(E), P = {
|
|
43
|
+
viewBox: "0 0 1024 1024",
|
|
44
|
+
width: "1.2em",
|
|
45
|
+
height: "1.2em"
|
|
46
|
+
}, C = /* @__PURE__ */ _("path", {
|
|
47
|
+
fill: "currentColor",
|
|
48
|
+
d: "m192 384l320 384l320-384z"
|
|
49
|
+
}, null, -1), k = [
|
|
50
|
+
C
|
|
51
|
+
];
|
|
52
|
+
function w(i, s) {
|
|
53
|
+
return r(), n("svg", P, [...k]);
|
|
54
|
+
}
|
|
55
|
+
const x = { name: "ep-caret-bottom", render: w };
|
|
56
|
+
export {
|
|
57
|
+
V as E,
|
|
58
|
+
x as _
|
|
59
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
function c() {
|
|
2
|
+
const o = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", e = "abcdefghijklmnopqrstuvwxyz", n = "0123456789", a = "!@#$%^&*()_+~`|}{[]\\:;?><,./-=", r = o + e + n + a, s = Math.floor(Math.random() * 13) + 8;
|
|
3
|
+
let t = "";
|
|
4
|
+
t += o[Math.floor(Math.random() * o.length)], t += e[Math.floor(Math.random() * e.length)], t += n[Math.floor(Math.random() * n.length)], t += a[Math.floor(Math.random() * a.length)];
|
|
5
|
+
for (let l = 0; l < s - 4; l++) {
|
|
6
|
+
const h = Math.floor(Math.random() * r.length);
|
|
7
|
+
t += r[h];
|
|
8
|
+
}
|
|
9
|
+
return t = t.split("").sort(() => Math.random() - 0.5).join(""), t;
|
|
10
|
+
}
|
|
11
|
+
function i(o) {
|
|
12
|
+
let e;
|
|
13
|
+
o ? e = new Date(o) : e = /* @__PURE__ */ new Date(), console.log(e);
|
|
14
|
+
let n = e.getFullYear();
|
|
15
|
+
const a = e.getMonth();
|
|
16
|
+
let r = a + 1, s, t;
|
|
17
|
+
a > 12 && (r -= 12, n++);
|
|
18
|
+
const l = new Date(n, r, 1), h = new Date(l.getTime() - 1e3 * 60 * 60 * 24).getDate();
|
|
19
|
+
return r < 10 ? s = "0" + r : s = r, h < 10 ? t = "0" + h : t = h, [
|
|
20
|
+
n + "-" + s + "-0" + l.getDate(),
|
|
21
|
+
// 选择月份的最后一天
|
|
22
|
+
n + "-" + s + "-" + t
|
|
23
|
+
];
|
|
24
|
+
}
|
|
25
|
+
function m(o, e) {
|
|
26
|
+
const n = [];
|
|
27
|
+
return Object.keys(o).some((a) => {
|
|
28
|
+
if (o[a].key === e)
|
|
29
|
+
return n.push(o[a].value), !0;
|
|
30
|
+
}), n.join("");
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
c as a,
|
|
34
|
+
i as g,
|
|
35
|
+
m as u
|
|
36
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { bN as C, k as h, bb as L } from "./index-B6wY38lY.mjs";
|
|
2
|
+
var M = /\s/;
|
|
3
|
+
function B(n) {
|
|
4
|
+
for (var r = n.length; r-- && M.test(n.charAt(r)); )
|
|
5
|
+
;
|
|
6
|
+
return r;
|
|
7
|
+
}
|
|
8
|
+
var R = /^\s+/;
|
|
9
|
+
function $(n) {
|
|
10
|
+
return n && n.slice(0, B(n) + 1).replace(R, "");
|
|
11
|
+
}
|
|
12
|
+
var k = NaN, F = /^[-+]0x[0-9a-f]+$/i, _ = /^0b[01]+$/i, j = /^0o[0-7]+$/i, D = parseInt;
|
|
13
|
+
function S(n) {
|
|
14
|
+
if (typeof n == "number")
|
|
15
|
+
return n;
|
|
16
|
+
if (C(n))
|
|
17
|
+
return k;
|
|
18
|
+
if (h(n)) {
|
|
19
|
+
var r = typeof n.valueOf == "function" ? n.valueOf() : n;
|
|
20
|
+
n = h(r) ? r + "" : r;
|
|
21
|
+
}
|
|
22
|
+
if (typeof n != "string")
|
|
23
|
+
return n === 0 ? n : +n;
|
|
24
|
+
n = $(n);
|
|
25
|
+
var t = _.test(n);
|
|
26
|
+
return t || j.test(n) ? D(n.slice(2), t ? 2 : 8) : F.test(n) ? k : +n;
|
|
27
|
+
}
|
|
28
|
+
var b = function() {
|
|
29
|
+
return L.Date.now();
|
|
30
|
+
}, H = "Expected a function", P = Math.max, U = Math.min;
|
|
31
|
+
function q(n, r, t) {
|
|
32
|
+
var u, c, l, s, i, f, d = 0, v = !1, o = !1, T = !0;
|
|
33
|
+
if (typeof n != "function")
|
|
34
|
+
throw new TypeError(H);
|
|
35
|
+
r = S(r) || 0, h(t) && (v = !!t.leading, o = "maxWait" in t, l = o ? P(S(t.maxWait) || 0, r) : l, T = "trailing" in t ? !!t.trailing : T);
|
|
36
|
+
function x(e) {
|
|
37
|
+
var a = u, m = c;
|
|
38
|
+
return u = c = void 0, d = e, s = n.apply(m, a), s;
|
|
39
|
+
}
|
|
40
|
+
function W(e) {
|
|
41
|
+
return d = e, i = setTimeout(g, r), v ? x(e) : s;
|
|
42
|
+
}
|
|
43
|
+
function N(e) {
|
|
44
|
+
var a = e - f, m = e - d, E = r - a;
|
|
45
|
+
return o ? U(E, l - m) : E;
|
|
46
|
+
}
|
|
47
|
+
function p(e) {
|
|
48
|
+
var a = e - f, m = e - d;
|
|
49
|
+
return f === void 0 || a >= r || a < 0 || o && m >= l;
|
|
50
|
+
}
|
|
51
|
+
function g() {
|
|
52
|
+
var e = b();
|
|
53
|
+
if (p(e))
|
|
54
|
+
return y(e);
|
|
55
|
+
i = setTimeout(g, N(e));
|
|
56
|
+
}
|
|
57
|
+
function y(e) {
|
|
58
|
+
return i = void 0, T && u ? x(e) : (u = c = void 0, s);
|
|
59
|
+
}
|
|
60
|
+
function O() {
|
|
61
|
+
i !== void 0 && clearTimeout(i), d = 0, u = f = c = i = void 0;
|
|
62
|
+
}
|
|
63
|
+
function A() {
|
|
64
|
+
return i === void 0 ? s : y(b());
|
|
65
|
+
}
|
|
66
|
+
function I() {
|
|
67
|
+
var e = b(), a = p(e);
|
|
68
|
+
if (u = arguments, c = this, f = e, a) {
|
|
69
|
+
if (i === void 0)
|
|
70
|
+
return W(f);
|
|
71
|
+
if (o)
|
|
72
|
+
return clearTimeout(i), i = setTimeout(g, r), x(f);
|
|
73
|
+
}
|
|
74
|
+
return i === void 0 && (i = setTimeout(g, r)), s;
|
|
75
|
+
}
|
|
76
|
+
return I.cancel = O, I.flush = A, I;
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
q as d,
|
|
80
|
+
S as t
|
|
81
|
+
};
|