ss-component-new 1.1.36 → 1.1.37
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/{array-CzNEYoMK.js → array-ldqp0vlM.js} +750 -742
- package/dist/{index-Mm5rtrNj.js → index-5XXpg_9o.js} +2 -2
- package/dist/{index-BxaQLJoi.js → index-C8dZocQc.js} +21 -21
- package/dist/index-DRUzFI-f.js +4 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DQ2k4Z7D.js +42 -0
- package/dist/{main-BLptbMXz.js → main-WlRCRzNu.js} +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -7
- package/dist/ss-component.umd.cjs +43 -43
- package/package.json +2 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as D, onMounted as ee, createElementBlock as m, openBlock as i, Fragment as z, renderList as H, createElementVNode as N, createCommentVNode as T, toDisplayString as U, watch as O, createVNode as R, unref as E, createBlock as G, resolveDynamicComponent as te } from "vue";
|
|
2
|
-
import { p as J, u as ae, d as ne, e as oe, g as se, m as le, a as re, b as ce, c as ue } from "./array-
|
|
2
|
+
import { p as J, u as ae, d as ne, e as oe, g as se, m as le, a as re, b as ce, c as ue } from "./array-ldqp0vlM.js";
|
|
3
3
|
import { u as Q } from "./modelComp-CqA1NVfH.js";
|
|
4
4
|
import { u as X, s as P } from "./menu-oGClEGzK.js";
|
|
5
|
-
import ie from "./index-
|
|
5
|
+
import ie from "./index-C8dZocQc.js";
|
|
6
6
|
import { _ as V, c as B } from "./_plugin-vue_export-helper-B7R8Jogt.js";
|
|
7
7
|
const de = { class: "bread-content" }, me = ["onClick"], fe = { key: 0 }, he = {
|
|
8
8
|
__name: "index",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, computed as E, onMounted as O, resolveComponent as A, createBlock as C, openBlock as b, withCtx as F, resolveDynamicComponent as B, defineComponent as U, ref as
|
|
2
|
-
import { E as y, u as H, s as
|
|
1
|
+
import { defineAsyncComponent as j, computed as E, onMounted as O, resolveComponent as A, createBlock as C, openBlock as b, withCtx as F, resolveDynamicComponent as B, defineComponent as U, ref as T, watch as G, createVNode as V, createElementVNode as q, toDisplayString as z } from "vue";
|
|
2
|
+
import { E as y, u as H, s as $ } from "./menu-oGClEGzK.js";
|
|
3
3
|
import { u as J } from "./modelComp-CqA1NVfH.js";
|
|
4
4
|
import { c as _, _ as K } from "./_plugin-vue_export-helper-B7R8Jogt.js";
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
r.component("ssMenu",
|
|
5
|
+
const v = j(() => import("./index-BvoThyOF.js"));
|
|
6
|
+
v.install = (r) => {
|
|
7
|
+
r.component("ssMenu", v);
|
|
8
8
|
};
|
|
9
9
|
const Q = {
|
|
10
10
|
__name: "index",
|
|
@@ -29,11 +29,11 @@ const Q = {
|
|
|
29
29
|
}, W = U({
|
|
30
30
|
name: "menu",
|
|
31
31
|
components: {
|
|
32
|
-
ssMenu:
|
|
32
|
+
ssMenu: v,
|
|
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 } = $(r), { itemData: f } = $(c), d = T([]);
|
|
37
37
|
let M;
|
|
38
38
|
((e) => {
|
|
39
39
|
e[e.Menu = 0] = "Menu", e[e.FolderOpened = 1] = "FolderOpened";
|
|
@@ -48,8 +48,8 @@ const Q = {
|
|
|
48
48
|
e == null || e.forEach((t) => {
|
|
49
49
|
Array.isArray(t) ? s.push({ children: h(t, []) }) : s.push({ title: t });
|
|
50
50
|
});
|
|
51
|
-
let u = s.reduce((t, a) => (Object.entries(a).forEach(([
|
|
52
|
-
t[
|
|
51
|
+
let u = s.reduce((t, a) => (Object.entries(a).forEach(([l, i]) => {
|
|
52
|
+
t[l] === void 0 ? i != null && i.title ? t[l] = [i] : t[l] = i : (Array.isArray(t[l]) || (t[l] = [{ title: t[l] }]), i != null && i.title || Array.isArray(i) ? t[l].push(i) : t[l].push({ title: i }));
|
|
53
53
|
}), t), {});
|
|
54
54
|
return u = I(_(u)), n.push(u), Array.isArray(n) && (n == null ? void 0 : n.length) > 1 ? n : n == null ? void 0 : n[0];
|
|
55
55
|
}, I = (e) => {
|
|
@@ -62,24 +62,24 @@ const Q = {
|
|
|
62
62
|
var u;
|
|
63
63
|
return (u = s == null ? void 0 : s.title) != null && u.children ? s == null ? void 0 : s.title : s;
|
|
64
64
|
}), o;
|
|
65
|
-
},
|
|
65
|
+
}, D = (e, o = "", n = 0) => {
|
|
66
66
|
var t;
|
|
67
67
|
const s = _(f.value), u = (t = s == null ? void 0 : s.filter((a) => {
|
|
68
|
-
var
|
|
69
|
-
return ((
|
|
68
|
+
var l;
|
|
69
|
+
return ((l = a.comp) == null ? void 0 : l.toUpperCase()) === "GROUP";
|
|
70
70
|
})) == null ? void 0 : t.map((a) => a.name);
|
|
71
71
|
return e == null ? void 0 : e.map((a) => {
|
|
72
|
-
const
|
|
72
|
+
const l = o ? `${o}/${a.title}` : a.title, i = {
|
|
73
73
|
...a,
|
|
74
|
-
path:
|
|
74
|
+
path: l,
|
|
75
75
|
level: n,
|
|
76
76
|
icon: M[`${n}`],
|
|
77
|
-
carryData: u == null ? void 0 : u.includes(
|
|
77
|
+
carryData: u == null ? void 0 : u.includes(l)
|
|
78
78
|
};
|
|
79
|
-
return a.children && a.children.length > 0 && (
|
|
79
|
+
return a.children && a.children.length > 0 && (i.children = D(a.children, l, n + 1)), i;
|
|
80
80
|
});
|
|
81
|
-
},
|
|
82
|
-
const e =
|
|
81
|
+
}, S = E(() => {
|
|
82
|
+
const e = D(d.value);
|
|
83
83
|
return console.log("temps", e), r.setMenus(e), e;
|
|
84
84
|
}), k = (e) => {
|
|
85
85
|
console.log("clickMenu", e), r.setMenuTriggerType("click"), r.setActiveMenuPath(e == null ? void 0 : e.path);
|
|
@@ -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 = T([
|
|
91
91
|
{
|
|
92
92
|
name: "--ssComponent-menu-bg",
|
|
93
93
|
value: "#426ec4"
|
|
@@ -124,13 +124,13 @@ const Q = {
|
|
|
124
124
|
var o, n, s;
|
|
125
125
|
if (e) {
|
|
126
126
|
const u = (s = (n = (o = _(e)) == null ? void 0 : o.compData) == null ? void 0 : n[0]) == null ? void 0 : s.contents;
|
|
127
|
-
d.value = g(u), console.log("rawMenu",
|
|
127
|
+
d.value = g(u), console.log("rawMenu", S.value);
|
|
128
128
|
} else
|
|
129
129
|
r.setActiveMenuPath("");
|
|
130
130
|
}, {
|
|
131
131
|
immediate: !0
|
|
132
132
|
}), {
|
|
133
|
-
renderMenuList:
|
|
133
|
+
renderMenuList: S,
|
|
134
134
|
clickMenu: k,
|
|
135
135
|
openMenu: w,
|
|
136
136
|
closeMenu: L,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as u, ref as e, resolveComponent as a, createBlock as _, openBlock as f, withCtx as o, createVNode as v, renderSlot as s } from "vue";
|
|
2
|
+
const C = /* @__PURE__ */ u({
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
name: {
|
|
6
|
+
// 注意prop变量类型定义的写法:PropType
|
|
7
|
+
type: String,
|
|
8
|
+
default: ""
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
setup(c) {
|
|
12
|
+
const i = e("left"), t = e(""), p = e(!1);
|
|
13
|
+
return (n, l) => {
|
|
14
|
+
const m = a("el-collapse-item"), r = a("el-collapse");
|
|
15
|
+
return f(), _(r, {
|
|
16
|
+
"expand-icon-position": i.value,
|
|
17
|
+
modelValue: t.value,
|
|
18
|
+
"onUpdate:modelValue": l[0] || (l[0] = (d) => t.value = d),
|
|
19
|
+
accordion: p.value
|
|
20
|
+
}, {
|
|
21
|
+
default: o(() => [
|
|
22
|
+
v(m, {
|
|
23
|
+
title: "Consistency",
|
|
24
|
+
name: c.name
|
|
25
|
+
}, {
|
|
26
|
+
title: o(() => [
|
|
27
|
+
s(n.$slots, "title")
|
|
28
|
+
]),
|
|
29
|
+
default: o(() => [
|
|
30
|
+
s(n.$slots, "default")
|
|
31
|
+
]),
|
|
32
|
+
_: 3
|
|
33
|
+
}, 8, ["name"])
|
|
34
|
+
]),
|
|
35
|
+
_: 3
|
|
36
|
+
}, 8, ["expand-icon-position", "modelValue", "accordion"]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
C as _
|
|
42
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as _, watch as V, createElementBlock as C, createCommentVNode as I, openBlock as f, Fragment as le, renderList as se, createElementVNode as O, createBlock as Z, toDisplayString as v, resolveDynamicComponent as ue, onMounted as ce, createVNode as A } from "vue";
|
|
2
|
-
import { p as E, e as ie, g as de, m as me, a as ye, b as fe, c as ge } from "./array-
|
|
2
|
+
import { p as E, e as ie, g as de, m as me, a as ye, b as fe, c as ge } from "./array-ldqp0vlM.js";
|
|
3
3
|
import { u as ee } from "./modelComp-CqA1NVfH.js";
|
|
4
4
|
import { s as te, u as he } from "./menu-oGClEGzK.js";
|
|
5
5
|
import { _ as ne, c as k } from "./_plugin-vue_export-helper-B7R8Jogt.js";
|
package/dist/ss-component.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}.menu-wrap[data-v-2cbe7506]{width:100%;height:100%}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item.is-active{background:var(--ssComponent-menuitem-active-bg)}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.el-dialog__headerbtn{margin-top:8px}.dialog-title[data-v-5547662c]{display:flex}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}.form-content[data-v-39978581]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-39978581]{width:100%}.form-content .form-content-view .form-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-39978581]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-39978581]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-39978581]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-39978581] .el-form-item__label{padding:0;justify-content:start}[data-v-39978581] .el-form-item__content{align-items:start;width:220px}.extra-button-content[data-v-1d46278f]{display:flex;flex-direction:row;justify-content:space-between}.extra-button-content .extra-header[data-v-1d46278f],.extra-button-content .extra-header .extra-contents[data-v-1d46278f]{display:flex;flex-direction:row;gap:8px}.extra-button-content .extra-header .extra-contents .extra-content[data-v-1d46278f]{padding:4px 12px;border-radius:8px;cursor:pointer}.extra-button-content .extra-button-filter[data-v-1d46278f]{display:flex;gap:8px;flex-direction:row}.extra-button-content .extra-button-filter .button-style[data-v-1d46278f]{width:24px;height:24px;cursor:pointer}[data-v-67bc73bd] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-67bc73bd] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-67bc73bd] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-67bc73bd] .el-table__body .el-table__row{height:48px}[data-v-67bc73bd] .el-table__body{height:100%}.table-content-show[data-v-67bc73bd]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-67bc73bd]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-67bc73bd]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-67bc73bd]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-67bc73bd]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-67bc73bd]{height:inherit}[data-v-67bc73bd] .el-table__body-wrapper{overflow:auto}.table-content[data-v-781eace3]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-781eace3]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-781eace3],.table-content .dialog-footer .ok-button[data-v-781eace3],.table-content .extra-button-label[data-v-781eace3]{cursor:pointer}.form-content[data-v-626135b5]{display:flex;flex-direction:column;gap:16px}[data-v-626135b5] .el-form-item{margin-bottom:0}[data-v-626135b5] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}:root{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c;--ssComponent-bgColor: #426ec4;--ssComponent-menu-bg: #426ec4;--ssComponent-submenu-hover-bg: #00000033;--ssComponent-submenu-open-bg: #2DA0FF;--ssComponent-submenu-open-inline-bg: #1C4275;--ssComponent-menuitem-hover-bg: #1d7bef;--ssComponent-menuitem-active-bg: #1d7bef}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.menuList-wrap[data-v-dc84a8f7]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-dc84a8f7]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg)}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-0f232eaa]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-0f232eaa]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-0f232eaa]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-0f232eaa]{display:flex}.system-wrap .show-content .item-content[data-v-0f232eaa]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-0f232eaa]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-876d48c6]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-876d48c6]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-876d48c6]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-876d48c6]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-876d48c6]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-876d48c6]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-876d48c6]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.c-menuA[data-v-87aa07ff]{width:300px;height:300px;border:1px solid red}.chart-model-class[data-v-798284db]{display:flex;width:100%;height:100%}.eCharts[data-v-0440fac3]{display:flex;align-items:center;justify-content:center;height:300px}
|
|
1
|
+
.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}.menu-wrap[data-v-2cbe7506]{width:100%;height:100%}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item.is-active{background:var(--ssComponent-menuitem-active-bg)}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}.form-content[data-v-39978581]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-39978581]{width:100%}.form-content .form-content-view .form-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-39978581]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-39978581]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-39978581]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-39978581] .el-form-item__label{padding:0;justify-content:start}[data-v-39978581] .el-form-item__content{align-items:start;width:220px}.extra-button-content[data-v-1d46278f]{display:flex;flex-direction:row;justify-content:space-between}.extra-button-content .extra-header[data-v-1d46278f],.extra-button-content .extra-header .extra-contents[data-v-1d46278f]{display:flex;flex-direction:row;gap:8px}.extra-button-content .extra-header .extra-contents .extra-content[data-v-1d46278f]{padding:4px 12px;border-radius:8px;cursor:pointer}.extra-button-content .extra-button-filter[data-v-1d46278f]{display:flex;gap:8px;flex-direction:row}.extra-button-content .extra-button-filter .button-style[data-v-1d46278f]{width:24px;height:24px;cursor:pointer}[data-v-67bc73bd] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-67bc73bd] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-67bc73bd] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-67bc73bd] .el-table__body .el-table__row{height:48px}[data-v-67bc73bd] .el-table__body{height:100%}.table-content-show[data-v-67bc73bd]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-67bc73bd]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-67bc73bd]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-67bc73bd]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-67bc73bd]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-67bc73bd]{height:inherit}[data-v-67bc73bd] .el-table__body-wrapper{overflow:auto}.table-content[data-v-781eace3]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-781eace3]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-781eace3],.table-content .dialog-footer .ok-button[data-v-781eace3],.table-content .extra-button-label[data-v-781eace3]{cursor:pointer}.form-content[data-v-626135b5]{display:flex;flex-direction:column;gap:16px}[data-v-626135b5] .el-form-item{margin-bottom:0}[data-v-626135b5] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}:root{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c;--ssComponent-bgColor: #426ec4;--ssComponent-menu-bg: #426ec4;--ssComponent-submenu-hover-bg: #00000033;--ssComponent-submenu-open-bg: #2DA0FF;--ssComponent-submenu-open-inline-bg: #1C4275;--ssComponent-menuitem-hover-bg: #1d7bef;--ssComponent-menuitem-active-bg: #1d7bef}.menuList-wrap[data-v-dc84a8f7]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-dc84a8f7]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg)}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-0f232eaa]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-0f232eaa]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-0f232eaa]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-0f232eaa]{display:flex}.system-wrap .show-content .item-content[data-v-0f232eaa]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-0f232eaa]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-876d48c6]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-876d48c6]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-876d48c6]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-876d48c6]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-876d48c6]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-876d48c6]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-876d48c6]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.c-menuA[data-v-87aa07ff]{width:300px;height:300px;border:1px solid red}.chart-model-class[data-v-798284db]{display:flex;width:100%;height:100%}.eCharts[data-v-0440fac3]{display:flex;align-items:center;justify-content:center;height:300px}
|
package/dist/ss-component.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as s } from "vue";
|
|
2
|
-
const o = s(() => import("./main-
|
|
2
|
+
const o = s(() => import("./main-WlRCRzNu.js"));
|
|
3
3
|
o.install = (n) => {
|
|
4
4
|
n.component("ssComponent", o);
|
|
5
5
|
};
|
|
@@ -7,11 +7,11 @@ const t = s(() => import("./index-C3BeiYFL.js").then((n) => n.i));
|
|
|
7
7
|
t.install = (n) => {
|
|
8
8
|
n.component("ssTab", t);
|
|
9
9
|
};
|
|
10
|
-
const e = s(() => import("./index-
|
|
10
|
+
const e = s(() => import("./index-C8dZocQc.js"));
|
|
11
11
|
e.install = (n) => {
|
|
12
12
|
n.component("ssMenu", e);
|
|
13
13
|
};
|
|
14
|
-
const m = s(() => import("./index-
|
|
14
|
+
const m = s(() => import("./index-5XXpg_9o.js"));
|
|
15
15
|
m.install = (n) => {
|
|
16
16
|
n.component("ssMenuComponent", m);
|
|
17
17
|
};
|
|
@@ -19,11 +19,15 @@ const p = s(() => import("./index-10n3uNlg.js"));
|
|
|
19
19
|
p.install = (n) => {
|
|
20
20
|
n.component("ssCanvas", p);
|
|
21
21
|
};
|
|
22
|
-
const c =
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
const c = s(() => import("./index-DRUzFI-f.js"));
|
|
23
|
+
c.install = (n) => {
|
|
24
|
+
n.component("ssFold", c);
|
|
25
|
+
};
|
|
26
|
+
const a = [o, t, e, m, p, c], r = (n) => {
|
|
27
|
+
a.forEach((l) => {
|
|
28
|
+
n.use(l);
|
|
25
29
|
});
|
|
26
30
|
};
|
|
27
31
|
export {
|
|
28
|
-
|
|
32
|
+
r as default
|
|
29
33
|
};
|