ss-component-new 1.1.936 → 1.1.938
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-B0u3q9gY.js → index-3LpiPA3P.js} +5 -5
- package/dist/{index-CSRpXlex.js → index-BHIalS3k.js} +1 -1
- package/dist/{index-kw7GlwSP.cjs → index-BMQocCpu.cjs} +1 -1
- package/dist/{index-VUdQSZCm.js → index-CJM2RvDt.js} +1 -1
- package/dist/{index-BmvlxAn4.cjs → index-CeiWE-o2.cjs} +1 -1
- package/dist/index-D17umcsr.cjs +1 -0
- package/dist/{index-CpWTynTA.js → index-DfnGchPn.js} +3 -3
- package/dist/{index-Bjzh2pbW.js → index-JB8GbKyW.js} +1 -1
- package/dist/{index-DOf21A3g.cjs → index-ZlaAdSjV.cjs} +1 -1
- package/dist/{index-DmTi59BU.cjs → index-p7M6nLkw.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DyQyNEJt.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CrQApTxL.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DHO6agio.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-z6U2v3CV.js} +23 -22
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-3P6nu5cT.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Did8trHC.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-tCfm9bFN.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DyxUCg5C.js} +1 -1
- package/dist/{main-DmKsCqxa.js → main-B6kvLSs1.js} +2 -2
- package/dist/{main-tIxk3iHe.cjs → main-DUcWwQK4.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +3 -3
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/index-DTxkb-aX.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { resolveComponent as ye, createBlock as de, openBlock as A, withCtx as k, createElementVNode as u, toDisplayString as ee, ref as R, onMounted as Ut, watch as me, createElementBlock as U, Fragment as Se, renderList as Ke, createCommentVNode as z, normalizeStyle as gt, defineComponent as Dt, resolveDynamicComponent as jt, unref as p, computed as We, provide as Jt, onUnmounted as Wt, resolveDirective as Lt, createVNode as d, withDirectives as xe, createTextVNode as Qe, renderSlot as yt, vShow as kt, normalizeClass as Et } from "vue";
|
|
2
|
-
import { m as Mt, a as Pt, b as Kt } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
2
|
+
import { m as Mt, a as Pt, b as Kt } from "./index-CJM2RvDt.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-DyxUCg5C.js";
|
|
4
4
|
import { _ as Oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as Ot, e as Ht, s as Vt } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-
|
|
5
|
+
import { _ as Ot, e as Ht, s as Vt } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-z6U2v3CV.js";
|
|
6
6
|
import { c as Fe, i as qt, p as ve, s as Ie, u as Yt, b as _e, E as Pe, g as $e, d as St, e as Xt, f as Zt } from "./index-BQYjK74w.js";
|
|
7
7
|
import { i as ke, j as Ct, k as zt, a as ht, u as pt, l as _t, m as Tt } from "./index.vue_vue_type_style_index_1_lang-CKG-47Pf.js";
|
|
8
8
|
import { S as Me } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Ft, s as Je, o as Qt, b as Rt, c as $t, d as ea, e as ta, f as aa, h as na, i as oa, j as sa, k as la, l as ia, m as ra } from "./index-
|
|
9
|
+
import { a as Ft, s as Je, o as Qt, b as Rt, c as $t, d as ea, e as ta, f as aa, h as na, i as oa, j as sa, k as la, l as ia, m as ra } from "./index-BHIalS3k.js";
|
|
10
10
|
import { a as ca } from "./array-Dv1oMcqh.js";
|
|
11
11
|
import { u as Nt, a as ua } from "./index-_XFMxPWj.js";
|
|
12
12
|
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CFhd0pad.js";
|
|
@@ -14,7 +14,7 @@ import "./STLLoader-CXf8uOlr.js";
|
|
|
14
14
|
import "./index.vue_vue_type_style_index_1_lang-BED4_os7.js";
|
|
15
15
|
import "./index-CwCq-PDq.js";
|
|
16
16
|
import { useRouter as da } from "vue-router";
|
|
17
|
-
import Aa from "./index-
|
|
17
|
+
import Aa from "./index-JB8GbKyW.js";
|
|
18
18
|
import ga from "./threeModel-1fdaGhCa.js";
|
|
19
19
|
import { _ as Le } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
20
|
import { s as mt, _ as et } from "./index-CK-q8jnY.js";
|
|
@@ -3218,7 +3218,7 @@ const pt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), ft = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3218
3218
|
const l = [];
|
|
3219
3219
|
let a = "", t = 0;
|
|
3220
3220
|
for (const k of r)
|
|
3221
|
-
t++, k.includes("{") || a.includes("{") || k.includes("[") || a.includes("[") || k.includes("【") || a.includes("【") || k.includes("(") || a.includes("(") || k.includes("(") || a.includes("(") || k.includes("/*") || a.includes("/*") ? (a += k.trim(), s(a).split("{").length - 1 === s(a).split("}").length - 1 && s(a).split("【").length - 1 === s(a).split("】").length - 1 && s(a).split("[").length - 1 === s(a).split("]").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("/*").length - 1 === s(a).split("*/").length - 1 &&
|
|
3221
|
+
t++, k.includes("{") || a.includes("{") || k.includes("[") || a.includes("[") || k.includes("【") || a.includes("【") || k.includes("(") || a.includes("(") || k.includes("(") || a.includes("(") || k.includes("/*") || a.includes("/*") ? (a += k.trim(), s(a).split("{").length - 1 === s(a).split("}").length - 1 && s(a).split("【").length - 1 === s(a).split("】").length - 1 && s(a).split("[").length - 1 === s(a).split("]").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("/*").length - 1 === s(a).split("*/").length - 1 && a[a.length - 1] === y ? (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "") : t === (e == null ? void 0 : e.length) && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "")) : (a += k.trim(), (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === y && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = ""));
|
|
3222
3222
|
return (a == null ? void 0 : a.length) !== 0 && l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), l;
|
|
3223
3223
|
}, yt = (e) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(s(e)), ht = (e) => {
|
|
3224
3224
|
var y, r, l, a, t, k, h, E, g, f, L, D, oe, K, me, P, U, he, m, A, c, w, ie, H, Le, Ye, cl, Je, ze, v, b, N, O, re, _e, F, C, Ie, ce, Oe, Ne, Te, le, Ke, Y, be, ke, we, M, $, Q, ue, je, Pe, i, u, n, o, S, G, X, B, x, _, J, V, j, d, ae, R, pe, ye, ne, I, z, ee, $e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-D17umcsr.cjs");const h=require("./index-1z9RrjZc.cjs");require("./array-7dwJEV9V.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-Did8trHC.cjs");require("./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CrQApTxL.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C04VBW2K.cjs");require("./STLLoader-Ck442nWz.cjs");require("./index.vue_vue_type_style_index_1_lang-CllbOzlH.cjs");require("./index.vue_vue_type_style_index_1_lang-BYMA64VN.cjs");require("./index-Chs0dEFu.cjs");require("vue-router");require("./index-sJXomYPJ.cjs");require("./index-CrnVUo5c.cjs");const S={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const e=o,i=c,s=h.useLoginState();n.watch(()=>e==null?void 0:e.systemKey,t=>{s.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{s.setSystemInfo(t)},{immediate:!0});const l=()=>{i("buildContent")},m=()=>{i("setLoginInfo")},y=t=>{i("openThreeBuild",t)},f=t=>{i("threeData",t)},d=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,u=16,w=t/r,g=u*w;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,r)=>{const u=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(u,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:l,onOpenThreeBuild:y,pageKey:o.pageKey,onThreeData:f,onSetLoginInfo:m},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},q=C._export_sfc(S,[["__scopeId","data-v-8729380f"]]);exports.default=q;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as J, createElementBlock as k, openBlock as h, Fragment as K, renderList as Q, unref as te, createElementVNode as m, createVNode as w, toDisplayString as x, ref as I, watch as W, withCtx as H, createBlock as X, resolveDynamicComponent as Y, createCommentVNode as S, normalizeStyle as ne, withModifiers as E } from "vue";
|
|
2
|
-
import { n as oe, g as Z } from "./index-
|
|
2
|
+
import { n as oe, g as Z } from "./index-BHIalS3k.js";
|
|
3
3
|
import { p as O, s as R, c as d, E as se } from "./index-BQYjK74w.js";
|
|
4
4
|
import { a as U, E as ae } from "./index.vue_vue_type_style_index_1_lang-CKG-47Pf.js";
|
|
5
5
|
import "./array-Dv1oMcqh.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-Did8trHC.cjs"),e=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=["title"],f={key:0,class:"menu-operate-icon"},h={class:"menu-config-wrap"},_=["onClick"],v={class:"module-dialog-content"};function y(o,l,V,M,N,m){var s;const i=e.resolveComponent("svg-icon"),c=e.resolveComponent("el-popover"),p=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(p,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var a,d;return[e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,k),t!=null&&t.config&&((d=t==null?void 0:t.config)==null?void 0:d.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(c,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:w=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,_))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((s=o.renderMenuList)==null?void 0:s.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(i,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const B=u._export_sfc(C._sfc_main,[["render",y],["__scopeId","data-v-92477073"]]);exports.default=B;
|