ss-component-new 1.1.87 → 1.1.89
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-DMmwiVeP.cjs +9 -0
- package/dist/array-XoXyYHwT.js +3354 -0
- package/dist/{cloneDeep-BpK0E_ef.js → cloneDeep-BNmbDv00.js} +1 -1
- package/dist/{cloneDeep-B3VC5L8Z.cjs → cloneDeep-DPVvcaHp.cjs} +1 -1
- package/dist/index-4EVOV-QJ.cjs +7 -0
- package/dist/{index-CQuV8YFa.js → index-B5Rq3XMZ.js} +2 -2
- package/dist/index-BCat-xG7.js +165 -0
- package/dist/{index-C6UYDisz.cjs → index-Bf_v25jY.cjs} +1 -1
- package/dist/{index-Dakgk1fr.js → index-C05xMHsm.js} +2 -2
- package/dist/index-CTpfNPrd.cjs +1 -0
- package/dist/index-CUhSPuUp.cjs +1 -0
- package/dist/index-CoC1Qlco.cjs +1 -0
- package/dist/{index-DZAs9vSe.cjs → index-CozHldDr.cjs} +1 -1
- package/dist/{index-CdxjVh-X.cjs → index-Ctx2gfUg.cjs} +1 -1
- package/dist/{index-nChhWjuh.js → index-TEDi8PFd.js} +7 -12
- package/dist/{index-CQvBB7B8.js → index-W1360Du0.js} +4 -5
- package/dist/{index-DtoLslf_.js → index-emAMfqsw.js} +1 -1
- package/dist/index-m5EvpgPM.js +953 -0
- package/dist/{main-BIsSHE8k.js → main-3srQVh7O.js} +27 -28
- package/dist/main-Do3EuI59.cjs +1 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/array-C8gxudwq.js +0 -3233
- package/dist/array-q8pUBU30.cjs +0 -9
- package/dist/index-B-jDNH2e.cjs +0 -1
- package/dist/index-B7LUAJqu.cjs +0 -1
- package/dist/index-BLoamlbm.cjs +0 -1
- package/dist/index-BW-bmuq0.cjs +0 -1
- package/dist/index-Dc21Fkf9.js +0 -345
- package/dist/index-gsysGhDn.js +0 -26
- package/dist/index-iaj5xJUJ.js +0 -131
- package/dist/index-wRmYoZQa.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0d13cfeb_lang-Ce-Paygw.js +0 -618
- package/dist/index.vue_vue_type_style_index_0_scoped_0d13cfeb_lang-CwZAxgWm.cjs +0 -7
- package/dist/index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-B67eMpk2.js +0 -144
- package/dist/index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-CL3yi2CW.cjs +0 -1
- package/dist/main-C_3s_51_.cjs +0 -1
|
@@ -1,10 +1,9 @@
|
|
|
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 {
|
|
3
|
-
import { p as E, e as ye, g as fe, a as ge } from "./array-C8gxudwq.js";
|
|
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-XoXyYHwT.js";
|
|
4
3
|
import { u as ee } from "./modelComp-B3sxj_Kp.js";
|
|
5
4
|
import { s as te, u as he } from "./menu-BIINB-0Y.js";
|
|
6
5
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { c as k } from "./cloneDeep-
|
|
6
|
+
import { c as k } from "./cloneDeep-BNmbDv00.js";
|
|
8
7
|
const x = [
|
|
9
8
|
{
|
|
10
9
|
key: "FormName",
|
|
@@ -83,12 +82,12 @@ const x = [
|
|
|
83
82
|
return;
|
|
84
83
|
}
|
|
85
84
|
if (!(e != null && e.content) || (e == null ? void 0 : e.content) === "") return;
|
|
86
|
-
const l =
|
|
85
|
+
const l = ie(e == null ? void 0 : e.content);
|
|
87
86
|
h.setOriginalData(l), h.setItemData(l);
|
|
88
87
|
},
|
|
89
88
|
{ deep: !0, immediate: !0 }
|
|
90
89
|
);
|
|
91
|
-
const N = (l) =>
|
|
90
|
+
const N = (l) => de(l);
|
|
92
91
|
return (l, g) => {
|
|
93
92
|
var S;
|
|
94
93
|
return ((S = w.value) == null ? void 0 : S.length) > 0 ? (f(), C("div", ke, [
|
|
@@ -147,8 +146,8 @@ const x = [
|
|
|
147
146
|
}, c = async (o) => {
|
|
148
147
|
var u;
|
|
149
148
|
const a = (u = k(o == null ? void 0 : o.wholeValue)) == null ? void 0 : u.map((n) => {
|
|
150
|
-
var
|
|
151
|
-
return (n == null ? void 0 : n.comp) === "Form" && (n.compData = (
|
|
149
|
+
var m;
|
|
150
|
+
return (n == null ? void 0 : n.comp) === "Form" && (n.compData = (m = n.compData) == null ? void 0 : m.map((y) => ((y == null ? void 0 : y.key) === "formContent" && (y.contents = ge(y == null ? void 0 : y.contents)), y))), n;
|
|
152
151
|
});
|
|
153
152
|
$("change", {
|
|
154
153
|
originalContents: D.value,
|
|
@@ -161,8 +160,8 @@ const x = [
|
|
|
161
160
|
var u;
|
|
162
161
|
let a = [];
|
|
163
162
|
return (u = k(o)) == null || u.forEach((n) => {
|
|
164
|
-
var
|
|
165
|
-
x != null && x.find((t) => (t == null ? void 0 : t.value) === (n == null ? void 0 : n.comp)) && a.push(((
|
|
163
|
+
var m, y;
|
|
164
|
+
x != null && x.find((t) => (t == null ? void 0 : t.value) === (n == null ? void 0 : n.comp)) && a.push(((m = x == null ? void 0 : x.find((t) => (t == null ? void 0 : t.value) === (n == null ? void 0 : n.comp))) == null ? void 0 : m.key) + "=" + n.name + "/r/n"), (y = n == null ? void 0 : n.compData) == null || y.forEach((t) => {
|
|
166
165
|
var M, R, z, W, q, G, H, K, P, Q, U, X;
|
|
167
166
|
if (s != null && s.find((i) => (i == null ? void 0 : i.value) === (t == null ? void 0 : t.key)))
|
|
168
167
|
if (!((M = t == null ? void 0 : t.contents) != null && M.length))
|
|
@@ -171,21 +170,21 @@ const x = [
|
|
|
171
170
|
let i = (z = t == null ? void 0 : t.contents) == null ? void 0 : z[0];
|
|
172
171
|
if (!i) return;
|
|
173
172
|
if (Object.keys(i).includes("label") && Object.keys(i).includes("key") && Object.keys(i).includes("width"))
|
|
174
|
-
if (((q = (W = t.contents) == null ? void 0 : W.filter((
|
|
175
|
-
const
|
|
176
|
-
a.push(((H = s == null ? void 0 : s.find((r) => (r == null ? void 0 : r.value) === (t == null ? void 0 : t.key))) == null ? void 0 : H.key) + "=" + JSON.stringify(
|
|
173
|
+
if (((q = (W = t.contents) == null ? void 0 : W.filter((d) => d.width !== 1)) == null ? void 0 : q.length) === 0) {
|
|
174
|
+
const d = (G = k(t == null ? void 0 : t.contents)) == null ? void 0 : G.map((r) => ({ [r.label]: r.value }));
|
|
175
|
+
a.push(((H = s == null ? void 0 : s.find((r) => (r == null ? void 0 : r.value) === (t == null ? void 0 : t.key))) == null ? void 0 : H.key) + "=" + JSON.stringify(d) + "/r/n");
|
|
177
176
|
} else {
|
|
178
|
-
let
|
|
177
|
+
let d = [];
|
|
179
178
|
(K = k(t == null ? void 0 : t.contents)) == null || K.reduce((r, J) => {
|
|
180
179
|
var Y;
|
|
181
|
-
return r[J.label] = J.key, ((Y = Object.keys(k(r))) == null ? void 0 : Y.length) >= J.width && (
|
|
182
|
-
}, {}), a.push(((P = s == null ? void 0 : s.find((r) => (r == null ? void 0 : r.value) === (t == null ? void 0 : t.key))) == null ? void 0 : P.key) + "=" + JSON.stringify(
|
|
180
|
+
return r[J.label] = J.key, ((Y = Object.keys(k(r))) == null ? void 0 : Y.length) >= J.width && (d.push(k(r)), r = {}), r;
|
|
181
|
+
}, {}), a.push(((P = s == null ? void 0 : s.find((r) => (r == null ? void 0 : r.value) === (t == null ? void 0 : t.key))) == null ? void 0 : P.key) + "=" + JSON.stringify(d) + "/r/n");
|
|
183
182
|
}
|
|
184
183
|
else if (Object.keys(i).includes("label")) {
|
|
185
|
-
const
|
|
186
|
-
a.push(((U = s == null ? void 0 : s.find((r) => (r == null ? void 0 : r.value) === (t == null ? void 0 : t.key))) == null ? void 0 : U.key) + "=" + JSON.stringify(
|
|
184
|
+
const d = (Q = k(t == null ? void 0 : t.contents)) == null ? void 0 : Q.map((r) => r.label);
|
|
185
|
+
a.push(((U = s == null ? void 0 : s.find((r) => (r == null ? void 0 : r.value) === (t == null ? void 0 : t.key))) == null ? void 0 : U.key) + "=" + JSON.stringify(d) + "/r/n");
|
|
187
186
|
} else
|
|
188
|
-
a.push(((X = s == null ? void 0 : s.find((
|
|
187
|
+
a.push(((X = s == null ? void 0 : s.find((d) => (d == null ? void 0 : d.value) === (t == null ? void 0 : t.key))) == null ? void 0 : X.key) + "=" + JSON.stringify(t == null ? void 0 : t.contents) + "/r/n");
|
|
189
188
|
}
|
|
190
189
|
});
|
|
191
190
|
}), JSON.stringify(a);
|
|
@@ -198,8 +197,8 @@ const x = [
|
|
|
198
197
|
u.onload = (n) => {
|
|
199
198
|
try {
|
|
200
199
|
h.value = n.target.result, T.value = re(n.target.result), l.value++;
|
|
201
|
-
} catch (
|
|
202
|
-
console.error("解析失败:",
|
|
200
|
+
} catch (m) {
|
|
201
|
+
console.error("解析失败:", m);
|
|
203
202
|
}
|
|
204
203
|
}, u.onerror = (n) => {
|
|
205
204
|
console.error("文件读取错误:", n);
|
|
@@ -228,9 +227,9 @@ const x = [
|
|
|
228
227
|
return JSON.parse(a);
|
|
229
228
|
} catch (u) {
|
|
230
229
|
try {
|
|
231
|
-
const
|
|
232
|
-
if (Array.isArray(
|
|
233
|
-
return
|
|
230
|
+
const m = new Function(`return ${a}`)();
|
|
231
|
+
if (Array.isArray(m) || typeof m == "object")
|
|
232
|
+
return m;
|
|
234
233
|
throw new Error(`解析结果不是有效的数组或对象: ${u}`);
|
|
235
234
|
} catch (n) {
|
|
236
235
|
throw new Error(`无法解析JSON: ${n.message}`);
|
|
@@ -259,16 +258,16 @@ const x = [
|
|
|
259
258
|
])) : I("", !0),
|
|
260
259
|
(e == null ? void 0 : e.mode) === "edit" ? (f(), C("div", xe, [
|
|
261
260
|
O("div", Oe, [
|
|
262
|
-
A(
|
|
261
|
+
A(me)
|
|
263
262
|
]),
|
|
264
263
|
(f(), C("div", {
|
|
265
264
|
class: "model-show",
|
|
266
265
|
key: b.value
|
|
267
266
|
}, [
|
|
268
|
-
A(
|
|
267
|
+
A(ye)
|
|
269
268
|
])),
|
|
270
269
|
O("div", Ie, [
|
|
271
|
-
A(
|
|
270
|
+
A(fe)
|
|
272
271
|
])
|
|
273
272
|
])) : I("", !0),
|
|
274
273
|
(e == null ? void 0 : e.mode) === "view" ? (f(), C("div", Ne, [
|
|
@@ -282,7 +281,7 @@ const x = [
|
|
|
282
281
|
]);
|
|
283
282
|
};
|
|
284
283
|
}
|
|
285
|
-
},
|
|
284
|
+
}, Ae = /* @__PURE__ */ ne(Te, [["__scopeId", "data-v-b25bde75"]]);
|
|
286
285
|
export {
|
|
287
|
-
|
|
286
|
+
Ae as default
|
|
288
287
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./array-DMmwiVeP.cjs"),K=require("./modelComp-DAsVXKA0.cjs"),T=require("./menu-B_Az9K_F.cjs"),Q=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),h=require("./cloneDeep-DPVvcaHp.cjs"),N=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"}],s=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"LineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"}],Z={key:0,class:"show-content"},v={class:"item-view-group"},ee={__name:"index",props:{content:String,jsonContents:Array},emits:["change"],setup(E,{emit:D}){const t=E,S=D,g=K.useModelComp(p.pinia),{itemData:_}=T.storeToRefs(g),C=e.ref([]),B=e.ref([]),I=c=>{S("change",{wholeValue:C.value,editValue:c})},x=c=>{const k=h.cloneDeep(C.value),V=k==null?void 0:k.map((i,b)=>(b===(c==null?void 0:c.index)&&(i.compData=c==null?void 0:c.contents),i));C.value=V};e.watch(()=>_.value,()=>{var c;!_.value||((c=_.value)==null?void 0:c.length)===0||(B.value=_.value,C.value=_.value)},{deep:!0,immediate:!0}),e.watch(()=>[t==null?void 0:t.content,t==null?void 0:t.jsonContents],()=>{var k;if(((k=t==null?void 0:t.jsonContents)==null?void 0:k.length)>0){g.setOriginalData(t==null?void 0:t.jsonContents),g.setItemData(t==null?void 0:t.jsonContents);return}if(!(t!=null&&t.content)||(t==null?void 0:t.content)==="")return;const c=p.expandStringToJson(t==null?void 0:t.content);g.setOriginalData(c),g.setItemData(c)},{deep:!0,immediate:!0});const w=c=>p.getComponent(c);return(c,k)=>{var V;return((V=B.value)==null?void 0:V.length)>0?(e.openBlock(),e.createElementBlock("div",Z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,(i,b)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:b},[e.createElementVNode("div",v,e.toDisplayString(i.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w(i.comp)),{itemData:i==null?void 0:i.compData,childItemData:i==null?void 0:i.itemChildData,key:b,onChange:I,index:b,onContentChange:x},null,40,["itemData","childItemData","index"]))]))),128))])):e.createCommentVNode("",!0)}}},te=Q._export_sfc(ee,[["__scopeId","data-v-869e6e20"]]),ne={class:"add-model-content"},oe={key:0,class:"model-import-data"},ae={class:"import-button"},le={key:0},re={key:1,class:"model-operate"},ce={class:"model-select"},se={class:"model-fill"},ue={key:2,class:"model-view ssComponent"},ie={__name:"main",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change"],setup(E,{emit:D}){const t=E,S=D,g=e.ref(""),_=e.ref([]),C=e.ref(0),B=K.useModelComp(p.pinia);T.useMenuState(p.pinia);const{itemData:I,originalData:x}=T.storeToRefs(B),w=e.ref(null),c=e.ref(0),k=e.ref(""),V=()=>{C.value=window.innerWidth},i=async l=>{var u;const a=(u=h.cloneDeep(l==null?void 0:l.wholeValue))==null?void 0:u.map(o=>{var y;return(o==null?void 0:o.comp)==="Form"&&(o.compData=(y=o.compData)==null?void 0:y.map(f=>((f==null?void 0:f.key)==="formContent"&&(f.contents=p.arrayToNumberArray(f==null?void 0:f.contents)),f))),o});S("change",{originalContents:x.value,currentContents:l==null?void 0:l.wholeValue,editContent:l==null?void 0:l.editValue,stringContent:b(h.cloneDeep(l==null?void 0:l.wholeValue)),arrayToContents:a})},b=l=>{var u;let a=[];return(u=h.cloneDeep(l))==null||u.forEach(o=>{var y,f;N!=null&&N.find(n=>(n==null?void 0:n.value)===(o==null?void 0:o.comp))&&a.push(((y=N==null?void 0:N.find(n=>(n==null?void 0:n.value)===(o==null?void 0:o.comp)))==null?void 0:y.key)+"="+o.name+"/r/n"),(f=o==null?void 0:o.compData)==null||f.forEach(n=>{var F,$,J,A,q,M,R,L,z,W,H,P;if(s!=null&&s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))if(!((F=n==null?void 0:n.contents)!=null&&F.length))a.push((($=s==null?void 0:s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))==null?void 0:$.key)+"="+(n.contents===!0?'""':"Vertical")+"/r/n");else{let d=(J=n==null?void 0:n.contents)==null?void 0:J[0];if(!d)return;if(Object.keys(d).includes("label")&&Object.keys(d).includes("key")&&Object.keys(d).includes("width"))if(((q=(A=n.contents)==null?void 0:A.filter(m=>m.width!==1))==null?void 0:q.length)===0){const m=(M=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:M.map(r=>({[r.label]:r.value}));a.push(((R=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:R.key)+"="+JSON.stringify(m)+"/r/n")}else{let m=[];(L=h.cloneDeep(n==null?void 0:n.contents))==null||L.reduce((r,O)=>{var G;return r[O.label]=O.key,((G=Object.keys(h.cloneDeep(r)))==null?void 0:G.length)>=O.width&&(m.push(h.cloneDeep(r)),r={}),r},{}),a.push(((z=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:z.key)+"="+JSON.stringify(m)+"/r/n")}else if(Object.keys(d).includes("label")){const m=(W=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:W.map(r=>r.label);a.push(((H=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:H.key)+"="+JSON.stringify(m)+"/r/n")}else a.push(((P=s==null?void 0:s.find(m=>(m==null?void 0:m.value)===(n==null?void 0:n.key)))==null?void 0:P.key)+"="+JSON.stringify(n==null?void 0:n.contents)+"/r/n")}})}),JSON.stringify(a)},j=e.ref([]),U=()=>{w.value.click()},X=l=>{const a=l.target.files[0];if(!a)return;const u=new FileReader;u.onload=o=>{try{g.value=o.target.result,j.value=Y(o.target.result),c.value++}catch(y){console.error("解析失败:",y)}},u.onerror=o=>{console.error("文件读取错误:",o)},u.readAsText(a)};e.onMounted(()=>{window.addEventListener("resize",V)}),e.watch(()=>[t==null?void 0:t.content,t==null?void 0:t.jsonContents],()=>{g.value=t==null?void 0:t.content,_.value=t==null?void 0:t.jsonContents},{deep:!0,immediate:!0}),e.watch(()=>c.value,()=>{var l;((l=j.value)==null?void 0:l.length)!==0&&(B.setOriginalData(j.value),B.setItemData(j.value))},{deep:!0,immediate:!0});const Y=l=>{let a=l.replace(/,/g,",").replace(/;/g,";").replace(/:/g,":");a=a.replace(/(\w+)\s*:/g,"$1:"),a=a.replace(/\r\n/g,"").replace(/\n/g,"").replace(/\t/g,"").replace(/\s+/g," ").trim(),a=a.replace(/,\s*([}\]])/g,"$1"),a=a.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g,": $2$4");try{return JSON.parse(a)}catch(u){try{const y=new Function(`return ${a}`)();if(Array.isArray(y)||typeof y=="object")return y;throw new Error(`解析结果不是有效的数组或对象: ${u}`)}catch(o){throw new Error(`无法解析JSON: ${o.message}`)}}};return(l,a)=>{var u;return e.openBlock(),e.createElementBlock("div",ne,[((u=t==null?void 0:t.jsonContents)==null?void 0:u.length)===0?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",ae,[e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:w,accept:".txt",onChange:X,style:{display:"none"}},null,544),e.createElementVNode("button",{onClick:U,class:"import-button-content"},"导入文件"),k.value?(e.openBlock(),e.createElementBlock("span",le,e.toDisplayString(k.value),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="edit"?(e.openBlock(),e.createElementBlock("div",re,[e.createElementVNode("div",ce,[e.createVNode(p.modelSelect)]),(e.openBlock(),e.createElementBlock("div",{class:"model-show",key:C.value},[e.createVNode(p.modelShow)])),e.createElementVNode("div",se,[e.createVNode(p.modelFill)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="view"?(e.openBlock(),e.createElementBlock("div",ue,[(e.openBlock(),e.createBlock(te,{content:g.value,onChange:i,jsonContents:_.value,key:C.value},null,8,["content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},de=Q._export_sfc(ie,[["__scopeId","data-v-b25bde75"]]);exports.default=de;
|
package/dist/ss-component.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("./index-Bf_v25jY.cjs"),s=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-Do3EuI59.cjs")));s.install=e=>{e.component("ssComponent",s)};const t=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CozHldDr.cjs")).then(e=>e.index));t.install=e=>{e.component("ssTab",t)};const r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CoC1Qlco.cjs")));r.install=e=>{e.component("ssMenu",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CUhSPuUp.cjs")));i.install=e=>{e.component("ssMenuComponent",i)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-Ctx2gfUg.cjs")));l.install=e=>{e.component("ssCanvas",l)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BCHKDSAB.cjs")));u.install=e=>{e.component("ssFold",u)};const m=[s,t,r,i,l,u],a=e=>{m.forEach(c=>{e.use(c)}),e.use(o.router),e.config.globalProperties.$router=o.router};exports.router=o.router;exports.default=a;
|
package/dist/ss-component.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.header-wrapper[data-v-0498c988]{width:95%;height:100%;margin:0 auto;display:flex;flex-wrap:wrap;align-content:center;padding:20px;box-sizing:border-box}.header-wrapper .header-horizontal[data-v-0498c988]{width:100%;min-height:30px;display:flex;gap:8px;align-items:center}.header-wrapper .header-horizontal .header-logo[data-v-0498c988]{display:inline-block;width:30px;height:30px}.header-wrapper .header-horizontal .header-cTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-cTitle-fontSize);font-weight:800}.header-wrapper .header-horizontal .header-eTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-eTitle-fontSize);font-weight:500}.left-wrap[data-v-06d813c8]{width:100%;display:flex;justify-content:right}.left-wrap .left-bg[data-v-06d813c8]{width:70%}@keyframes electric-flow-c5b59515{0%{border-color:transparent}25%{border-left-color:var(--login-sys-title-color)}50%{border-top-color:var(--login-sys-title-color)}75%{border-right-color:var(--login-sys-title-color)}to{border-bottom-color:var(--login-sys-title-color)}}.right-wrap[data-v-c5b59515]{width:100%;height:65%;border:1px solid transparent;animation:electric-flow-c5b59515 2s linear infinite}.right-wrap .right-title[data-v-c5b59515]{width:100%;height:15%;display:flex;align-items:center;justify-content:center;color:var(--login-sys-title-color);font-size:var(--login-sys-loginTitle-fontSize);font-weight:500}.right-wrap .right-content[data-v-c5b59515]{width:100%;height:85%}.right-wrap .right-content[data-v-c5b59515] .right-tabs{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__header{padding:0 30px;height:40px}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content{height:calc(100% - 40px);padding:0 30px;box-sizing:border-box}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane{height:100%;display:flex;flex-direction:column}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-content{flex:1}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button{width:100%;min-height:50px;margin:5% auto;cursor:pointer}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button .el-button{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.common>.el-button{background:#f4f4f5}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.special>.el-button{background:var(--login-sys-title-color);color:#fff}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-tips{width:100%;height:100px;color:#c7c7c9;display:flex;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:wrap}.account-wrap[data-v-53a41975]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item[data-v-53a41975]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-53a41975]{width:100%;height:40px}.card-wrap[data-v-23f91251]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-content:space-between;justify-content:space-between;padding-top:8%;box-sizing:border-box}.card-wrap .card-icon[data-v-23f91251]{width:100%;text-align:center}.card-wrap .card-input[data-v-23f91251]{width:100%}.card-wrap .card-input .el-input[data-v-23f91251]{height:40px}.card-wrap .card-icon.card[data-v-23f91251]{padding:0}.login-wrap[data-v-17a13d48]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px;background:var(--system-bg)}.login-wrap .login-header[data-v-17a13d48]{width:100%}.login-wrap .login-body[data-v-17a13d48]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-17a13d48]{height:100%}.login-wrap .login-body .left[data-v-17a13d48]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-17a13d48]{width:32%;padding:0 70px;box-sizing:border-box}.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)}.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}[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-156885e4]{display:flex;flex-direction:column;gap:16px}[data-v-156885e4] .el-form-item{margin-bottom:0}[data-v-156885e4] .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}.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-c89dc4ab]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-c89dc4ab]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-c89dc4ab]{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-c89dc4ab]{display:flex}.system-wrap .show-content .item-content[data-v-c89dc4ab]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-c89dc4ab]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-0d13cfeb]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-0d13cfeb]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-0d13cfeb]{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-0d13cfeb]{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-0d13cfeb]{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-0d13cfeb]{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-0d13cfeb]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-0d13cfeb]{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-0d13cfeb]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.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;--login-sys-title-color: #2DA0FF;--login-sys-cTitle-fontSize: 2em;--login-sys-loginTitle-fontSize: 1.5em;--login-sys-eTitle-fontSize: 1.3em;--system-bg:#fff}.c-menuA[data-v-958cc72e]{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
|
+
.header-wrapper[data-v-0498c988]{width:95%;height:100%;margin:0 auto;display:flex;flex-wrap:wrap;align-content:center;padding:20px;box-sizing:border-box}.header-wrapper .header-horizontal[data-v-0498c988]{width:100%;min-height:30px;display:flex;gap:8px;align-items:center}.header-wrapper .header-horizontal .header-logo[data-v-0498c988]{display:inline-block;width:30px;height:30px}.header-wrapper .header-horizontal .header-cTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-cTitle-fontSize);font-weight:800}.header-wrapper .header-horizontal .header-eTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-eTitle-fontSize);font-weight:500}.left-wrap[data-v-06d813c8]{width:100%;display:flex;justify-content:right}.left-wrap .left-bg[data-v-06d813c8]{width:70%}@keyframes electric-flow-c5b59515{0%{border-color:transparent}25%{border-left-color:var(--login-sys-title-color)}50%{border-top-color:var(--login-sys-title-color)}75%{border-right-color:var(--login-sys-title-color)}to{border-bottom-color:var(--login-sys-title-color)}}.right-wrap[data-v-c5b59515]{width:100%;height:65%;border:1px solid transparent;animation:electric-flow-c5b59515 2s linear infinite}.right-wrap .right-title[data-v-c5b59515]{width:100%;height:15%;display:flex;align-items:center;justify-content:center;color:var(--login-sys-title-color);font-size:var(--login-sys-loginTitle-fontSize);font-weight:500}.right-wrap .right-content[data-v-c5b59515]{width:100%;height:85%}.right-wrap .right-content[data-v-c5b59515] .right-tabs{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__header{padding:0 30px;height:40px}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content{height:calc(100% - 40px);padding:0 30px;box-sizing:border-box}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane{height:100%;display:flex;flex-direction:column}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-content{flex:1}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button{width:100%;min-height:50px;margin:5% auto;cursor:pointer}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button .el-button{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.common>.el-button{background:#f4f4f5}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.special>.el-button{background:var(--login-sys-title-color);color:#fff}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-tips{width:100%;height:100px;color:#c7c7c9;display:flex;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:wrap}.account-wrap[data-v-1706c8eb]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-1706c8eb]{width:100%}.account-wrap .el-form .el-form-item[data-v-1706c8eb]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-1706c8eb]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-1706c8eb]{width:100%;height:40px}.card-wrap[data-v-23f91251]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-content:space-between;justify-content:space-between;padding-top:8%;box-sizing:border-box}.card-wrap .card-icon[data-v-23f91251]{width:100%;text-align:center}.card-wrap .card-input[data-v-23f91251]{width:100%}.card-wrap .card-input .el-input[data-v-23f91251]{height:40px}.card-wrap .card-icon.card[data-v-23f91251]{padding:0}.login-wrap[data-v-17a13d48]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px;background:var(--system-bg)}.login-wrap .login-header[data-v-17a13d48]{width:100%}.login-wrap .login-body[data-v-17a13d48]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-17a13d48]{height:100%}.login-wrap .login-body .left[data-v-17a13d48]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-17a13d48]{width:32%;padding:0 70px;box-sizing:border-box}.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)}.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}[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-156885e4]{display:flex;flex-direction:column;gap:16px}[data-v-156885e4] .el-form-item{margin-bottom:0}[data-v-156885e4] .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}.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-c89dc4ab]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-c89dc4ab]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-c89dc4ab]{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-c89dc4ab]{display:flex}.system-wrap .show-content .item-content[data-v-c89dc4ab]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-c89dc4ab]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-182a34bf]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-182a34bf]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-182a34bf]{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-182a34bf]{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-182a34bf]{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-182a34bf]{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-182a34bf]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-182a34bf]{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-182a34bf]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.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;--login-sys-title-color: #2DA0FF;--login-sys-cTitle-fontSize: 2em;--login-sys-loginTitle-fontSize: 1.5em;--login-sys-eTitle-fontSize: 1.3em;--system-bg:#fff}.c-menuA[data-v-cdd1c49c]{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,22 +1,22 @@
|
|
|
1
1
|
import { defineAsyncComponent as n } from "vue";
|
|
2
|
-
import { r } from "./index-
|
|
3
|
-
const s = n(() => import("./main-
|
|
2
|
+
import { r } from "./index-B5Rq3XMZ.js";
|
|
3
|
+
const s = n(() => import("./main-3srQVh7O.js"));
|
|
4
4
|
s.install = (o) => {
|
|
5
5
|
o.component("ssComponent", s);
|
|
6
6
|
};
|
|
7
|
-
const t = n(() => import("./index-
|
|
7
|
+
const t = n(() => import("./index-C05xMHsm.js").then((o) => o.i));
|
|
8
8
|
t.install = (o) => {
|
|
9
9
|
o.component("ssTab", t);
|
|
10
10
|
};
|
|
11
|
-
const e = n(() => import("./index-
|
|
11
|
+
const e = n(() => import("./index-BCat-xG7.js"));
|
|
12
12
|
e.install = (o) => {
|
|
13
13
|
o.component("ssMenu", e);
|
|
14
14
|
};
|
|
15
|
-
const m = n(() => import("./index-
|
|
15
|
+
const m = n(() => import("./index-TEDi8PFd.js"));
|
|
16
16
|
m.install = (o) => {
|
|
17
17
|
o.component("ssMenuComponent", m);
|
|
18
18
|
};
|
|
19
|
-
const i = n(() => import("./index-
|
|
19
|
+
const i = n(() => import("./index-emAMfqsw.js"));
|
|
20
20
|
i.install = (o) => {
|
|
21
21
|
o.component("ssCanvas", i);
|
|
22
22
|
};
|
package/dist/ss-component2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("vue-router");const r=require("./index-
|
|
1
|
+
"use strict";require("vue-router");const r=require("./index-Bf_v25jY.cjs");module.exports=r.router;
|
package/dist/ss-component2.js
CHANGED