ss-component-new 1.1.30 → 1.1.31
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/{index-BBJEg3iA.js → index-CVUTr_Jx.js} +6 -6
- package/dist/index-jzApTvmM.js +12 -0
- package/dist/{index-DgZmDcFp.js → index-qVlyboaS.js} +55 -8
- package/dist/main-BolQoZMW.js +3601 -0
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +4 -4
- package/dist/ss-component.umd.cjs +47 -47
- package/package.json +1 -1
- package/dist/array-QkRCQCnN.js +0 -3332
- package/dist/index-CTaEFnK5.js +0 -351
- package/dist/main-c_r6_1l3.js +0 -286
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, computed as
|
|
2
|
-
import { E as y, u as H, s as
|
|
1
|
+
import { defineAsyncComponent as j, computed as $, onMounted as O, resolveComponent as A, createBlock as C, openBlock as b, withCtx as F, resolveDynamicComponent as B, defineComponent as U, ref as v, watch as G, createVNode as V, createElementVNode as q, toDisplayString as z } from "vue";
|
|
2
|
+
import { E as y, u as H, s as E } from "./menu-CER-9e62.js";
|
|
3
3
|
import { u as J } from "./modelComp-BrI6MfnJ.js";
|
|
4
4
|
import { c as _, _ as K } from "./_plugin-vue_export-helper-B7R8Jogt.js";
|
|
5
5
|
const D = j(() => import("./index-BbRwol9Q.js"));
|
|
@@ -12,7 +12,7 @@ const Q = {
|
|
|
12
12
|
name: String
|
|
13
13
|
},
|
|
14
14
|
setup(r) {
|
|
15
|
-
const c = r, p =
|
|
15
|
+
const c = r, p = $(() => y[c.name]);
|
|
16
16
|
return O(() => {
|
|
17
17
|
const m = Object.keys(y);
|
|
18
18
|
console.log("iconComponent", p.value, c.name, y, m);
|
|
@@ -33,7 +33,7 @@ const Q = {
|
|
|
33
33
|
DynamicIcon: Q
|
|
34
34
|
},
|
|
35
35
|
setup() {
|
|
36
|
-
const r = H(), c = J(), { rawMenu: p, menuTriggerType: m } =
|
|
36
|
+
const r = H(), c = J(), { rawMenu: p, menuTriggerType: m } = E(r), { itemData: f } = E(c), d = v([]);
|
|
37
37
|
let M;
|
|
38
38
|
((e) => {
|
|
39
39
|
e[e.Menu = 0] = "Menu", e[e.FolderOpened = 1] = "FolderOpened";
|
|
@@ -78,7 +78,7 @@ const Q = {
|
|
|
78
78
|
};
|
|
79
79
|
return a.children && a.children.length > 0 && (l.children = S(a.children, i, n + 1)), l;
|
|
80
80
|
});
|
|
81
|
-
}, T =
|
|
81
|
+
}, T = $(() => {
|
|
82
82
|
const e = S(d.value);
|
|
83
83
|
return console.log("temps", e), r.setMenus(e), e;
|
|
84
84
|
}), k = (e) => {
|
|
@@ -87,7 +87,7 @@ const Q = {
|
|
|
87
87
|
m.value === "click" ? r.setActiveMenuPath(e) : r.setMenuTriggerType("click");
|
|
88
88
|
}, L = (e) => {
|
|
89
89
|
r.setActiveMenuPath(e);
|
|
90
|
-
}, N =
|
|
90
|
+
}, N = v([
|
|
91
91
|
{
|
|
92
92
|
name: "--ssComponent-menu-bg",
|
|
93
93
|
value: "#426ec4"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createBlock as e, openBlock as o } from "vue";
|
|
2
|
+
import t from "./index-qVlyboaS.js";
|
|
3
|
+
import { _ as r } from "./_plugin-vue_export-helper-B7R8Jogt.js";
|
|
4
|
+
const c = {
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(n) {
|
|
7
|
+
return (s, _) => (o(), e(t, { class: "ssComponent" }));
|
|
8
|
+
}
|
|
9
|
+
}, d = /* @__PURE__ */ r(c, [["__scopeId", "data-v-d76bceae"]]);
|
|
10
|
+
export {
|
|
11
|
+
d as default
|
|
12
|
+
};
|
|
@@ -43964,7 +43964,10 @@ const d7 = {
|
|
|
43964
43964
|
},
|
|
43965
43965
|
xAxis: {
|
|
43966
43966
|
type: "category",
|
|
43967
|
-
|
|
43967
|
+
axisLabel: {
|
|
43968
|
+
interval: 0
|
|
43969
|
+
// 强制显示所有标签
|
|
43970
|
+
},
|
|
43968
43971
|
data: []
|
|
43969
43972
|
},
|
|
43970
43973
|
yAxis: {
|
|
@@ -43979,16 +43982,60 @@ const d7 = {
|
|
|
43979
43982
|
eChartContents: Array
|
|
43980
43983
|
},
|
|
43981
43984
|
setup(r) {
|
|
43982
|
-
const e =
|
|
43985
|
+
const e = Sp({});
|
|
43983
43986
|
return Ab(() => {
|
|
43984
|
-
var
|
|
43985
|
-
const
|
|
43986
|
-
|
|
43987
|
-
|
|
43988
|
-
|
|
43987
|
+
var a;
|
|
43988
|
+
const t = {
|
|
43989
|
+
name: "折线图",
|
|
43990
|
+
compData: [
|
|
43991
|
+
{
|
|
43992
|
+
x: "海阳在役检查项目241101",
|
|
43993
|
+
y: {
|
|
43994
|
+
最大值: 44.5,
|
|
43995
|
+
最小值: 1,
|
|
43996
|
+
平均值: 42.186956521739134
|
|
43997
|
+
}
|
|
43998
|
+
},
|
|
43999
|
+
{
|
|
44000
|
+
x: "海阳302",
|
|
44001
|
+
y: {
|
|
44002
|
+
最大值: 44.5,
|
|
44003
|
+
最小值: 40.2,
|
|
44004
|
+
平均值: 43.052173913043475
|
|
44005
|
+
}
|
|
44006
|
+
},
|
|
44007
|
+
{
|
|
44008
|
+
x: "海阳301项目",
|
|
44009
|
+
y: {
|
|
44010
|
+
最大值: 44.5,
|
|
44011
|
+
最小值: 40.2,
|
|
44012
|
+
平均值: 43.052173913043475
|
|
44013
|
+
}
|
|
44014
|
+
},
|
|
44015
|
+
{
|
|
44016
|
+
x: "HY202",
|
|
44017
|
+
y: {
|
|
44018
|
+
最大值: 44.5,
|
|
44019
|
+
最小值: 40.2,
|
|
44020
|
+
平均值: 43.052173913043475
|
|
44021
|
+
}
|
|
44022
|
+
},
|
|
44023
|
+
{
|
|
44024
|
+
x: "HY201",
|
|
44025
|
+
y: {
|
|
44026
|
+
最大值: 44.5,
|
|
44027
|
+
最小值: 40.2,
|
|
44028
|
+
平均值: 43.052173913043475
|
|
44029
|
+
}
|
|
44030
|
+
}
|
|
44031
|
+
]
|
|
44032
|
+
};
|
|
44033
|
+
e.value = y7(Ki(t == null ? void 0 : t.compData), (a = _p == null ? void 0 : _p.find((n) => (n == null ? void 0 : n.key) === (t == null ? void 0 : t.name))) == null ? void 0 : a.value);
|
|
44034
|
+
}), (t, a) => (Ib(), Mb("div", m7, [
|
|
44035
|
+
pL(g7, { optionContents: e.value }, null, 8, ["optionContents"])
|
|
43989
44036
|
]));
|
|
43990
44037
|
}
|
|
43991
|
-
}, w7 = /* @__PURE__ */ Lb(_7, [["__scopeId", "data-v-
|
|
44038
|
+
}, w7 = /* @__PURE__ */ Lb(_7, [["__scopeId", "data-v-ee12b7c9"]]);
|
|
43992
44039
|
export {
|
|
43993
44040
|
w7 as default
|
|
43994
44041
|
};
|