ss-component-new 1.1.707 → 1.1.708
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--BKY6t09.js → index-B2ZJJoT9.js} +1 -1
- package/dist/{index-BNFlELdW.cjs → index-BNkTi_Un.cjs} +1 -1
- package/dist/{index-BX997DA0.js → index-BTiKUORz.js} +1 -1
- package/dist/{index-DXCBhoy9.cjs → index-BUkhaqd8.cjs} +1 -1
- package/dist/{index-CAk5h97W.js → index-Bz3Cezt5.js} +1 -1
- package/dist/{index-BqKCUIAh.js → index-C5iB-Jqa.js} +1 -1
- package/dist/{index-BcYG8wjE.cjs → index-CJX26tPy.cjs} +1 -1
- package/dist/{index-CFvDfrn7.cjs → index-CLNkIjl-.cjs} +1 -1
- package/dist/{index-Djy7tVKB.cjs → index-CRQxupO9.cjs} +1 -1
- package/dist/{index-BvHT4_-u.js → index-CZTZmXUb.js} +1 -1
- package/dist/{index-D0Y__qdd.js → index-CZcYAuy-.js} +1 -1
- package/dist/{index-C_0_jtSi.cjs → index-CdYqA8UG.cjs} +1 -1
- package/dist/{index-D6TpnpGO.cjs → index-ChoJA9-j.cjs} +40 -40
- package/dist/{index-BSNZVFKa.js → index-CuB10mRD.js} +2 -2
- package/dist/{index-C968jgil.js → index-D-tQ0jb6.js} +7 -7
- package/dist/{index-Cgxq0tAs.js → index-DAMRPbhU.js} +4 -4
- package/dist/{index-CDe8uAMr.js → index-DAXBDVD_.js} +1 -1
- package/dist/{index-5qBWrSZU.cjs → index-DGJWUlc0.cjs} +1 -1
- package/dist/{index-B9in1by_.js → index-Dc2D3OrH.js} +1 -1
- package/dist/{index-RRvgacXx.cjs → index-Dl7UsRXv.cjs} +1 -1
- package/dist/{index-DWGvYkk9.js → index-Dm9remQj.js} +6203 -6181
- package/dist/{index-SWU-wgRh.js → index-Dr7Fdc81.js} +1 -1
- package/dist/{index-BpxPo5VN.cjs → index-ISxzVDVL.cjs} +1 -1
- package/dist/{index-DlD9sRqq.cjs → index-cn2PPpBp.cjs} +1 -1
- package/dist/{index-ChbTmas3.cjs → index-d_ANkYaS.cjs} +1 -1
- package/dist/{index-CNmvvV-c.cjs → index-lVXpDd-x.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-DZhCOVL9.js → index.vue_vue_type_style_index_0_scoped_8606206c_lang-BiGhmLqK.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-DO2vPyVK.cjs → index.vue_vue_type_style_index_0_scoped_8606206c_lang-DAqIbp0A.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CwX4Xyil.cjs → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-Do7w7r05.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-0THhazyL.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-qJpParw9.js} +1 -1
- package/dist/{main-CEEPDwK7.cjs → main-8orFqQ9f.cjs} +1 -1
- package/dist/{main-Dy0la9NS.js → main-ZNwRxRST.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +4 -4
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +7 -7
- package/dist/{threeModel-DPwvjltF.cjs → threeModel-B8u76uPb.cjs} +1 -1
- package/dist/{threeModel-DjgnMY8_.js → threeModel-Dx_dcQrK.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Ha, a as Ga, t as qa, f as Qa, g as Xa, c as Fa, i as Ta, s as Ya } from "./index-
|
|
1
|
+
import { b as Ha, a as Ga, t as qa, f as Qa, g as Xa, c as Fa, i as Ta, s as Ya } from "./index-Dm9remQj.js";
|
|
2
2
|
import { ref as Q, watch as Xe, createElementBlock as _e, openBlock as ie, createVNode as le, createBlock as Fe, createCommentVNode as Qe, withCtx as fe, resolveComponent as Le, Fragment as Ve, renderList as Pe, createElementVNode as S, toDisplayString as we, createTextVNode as Ee, defineComponent as Tl, reactive as Ca, resolveDynamicComponent as ca, unref as xl, computed as wa, renderSlot as da, createSlots as Za, mergeProps as ei, normalizeStyle as li, withModifiers as ra } from "vue";
|
|
3
3
|
import { p as al, s as sl, c as l, a as Oa, u as Da, h as ai } from "./menu-BRpPhHno.js";
|
|
4
4
|
import { e as el, f as La, s as ll, h as Va, a as Ea, i as ii, j as si, b as ni } from "./index-C0jLgnJF.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./menu-vml_xHJD.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./menu-vml_xHJD.cjs"),_=require("./index-ChoJA9-j.cjs"),r=require("./index-BrQVl4Zd.cjs"),C=require("./index-2p69g4HY.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const d=u.useMenuState(u.pinia),{menus:c}=u.storeToRefs(d),p=l.ref([]),f=async()=>{var o,t,n,a;const e=await C.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((o=e==null?void 0:e.data)==null?void 0:o.type)==="success"){let i=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return i=(a=u.cloneDeep(i))==null?void 0:a.map(s=>{var m;const b=Object.values((m=s==null?void 0:s.value)==null?void 0:m.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),i}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,o)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(_.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as L, createElementBlock as _, openBlock as r, Fragment as j, renderList as q, unref as W, createElementVNode as C, createVNode as D, toDisplayString as E, ref as I, watch as A, withCtx as z, createBlock as G, resolveDynamicComponent as H, createCommentVNode as y, normalizeStyle as X, withModifiers as w } from "vue";
|
|
2
|
-
import { s as Y, g as J } from "./index
|
|
2
|
+
import { s as Y, g as J } from "./index-B2ZJJoT9.js";
|
|
3
3
|
import { u as B, p as V, s as S, c as v } from "./menu-BRpPhHno.js";
|
|
4
4
|
import "./array-D1rENrtC.js";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-ChoJA9-j.cjs"),n=require("./index-B1XyxOHh.cjs"),o=require("./menu-vml_xHJD.cjs"),i=require("./login-CCz_BcJe.cjs"),s=t.defineComponent({__name:"index",setup(l){const a=o.useMenuState(),{activeMenuPath:c}=o.storeToRefs(a),u=i.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{u.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(c.value)}),(d,m)=>(t.openBlock(),t.createElementBlock("div",null,[t.createVNode(r.ssTable,{compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as m, createVNode as i } from "vue";
|
|
2
|
-
import { s as u } from "./index-
|
|
2
|
+
import { s as u } from "./index-Dm9remQj.js";
|
|
3
3
|
import { S as l, i as p } from "./index-CCxinvIS.js";
|
|
4
4
|
import { a as d, s as g } from "./menu-BRpPhHno.js";
|
|
5
5
|
import { u as f } from "./login-h0Hl0hFq.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, reactive as M, onMounted as y, watch as V, nextTick as N, resolveComponent as s, createElementBlock as C, openBlock as u, createVNode as r, withCtx as l, createElementVNode as p, toDisplayString as g, Fragment as S, renderList as z, createBlock as R, createTextVNode as _ } from "vue";
|
|
2
|
-
import { s as T } from "./index-
|
|
2
|
+
import { s as T } from "./index-Dm9remQj.js";
|
|
3
3
|
import { j as m } from "./index-CCxinvIS.js";
|
|
4
4
|
import { a as A, s as I, c as P } from "./menu-BRpPhHno.js";
|
|
5
5
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -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-CRQxupO9.cjs");require("./menu-vml_xHJD.cjs");require("./array-DiC30wYM.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-Do7w7r05.cjs");require("./index.vue_vue_type_style_index_0_scoped_8606206c_lang-DAqIbp0A.cjs");require("./login-CCz_BcJe.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dc6lRgBQ.cjs");require("./index-2p69g4HY.cjs");require("./index-ChoJA9-j.cjs");require("vue-router");const m={__name:"index",props:{windowConfig:{type:Object,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(i,{emit:c}){const e=i,o=c,l=()=>{o("buildContent")},s=()=>{o("setLoginInfo")},w=t=>{o("openThreeBuild",t)},f=t=>{o("threeData",t)},u=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,d=16,h=t/r,g=d*h;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{u(),window.addEventListener("resize",u)}),(t,r)=>{const d=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(d,{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:i.windowConfig,onBuildContent:l,onOpenThreeBuild:w,pageKey:i.pageKey,onThreeData:f,onSetLoginInfo:s},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","pageKey"])])}}},y=C._export_sfc(m,[["__scopeId","data-v-7138c9e0"]]);exports.default=y;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-Do7w7r05.cjs"),e=require("vue"),_=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C=["title"],f={key:0,class:"menu-operate-icon"},u={class:"menu-config-wrap"},k=["onClick"],h={class:"module-dialog-content"};function v(o,l,B,V,N,M){const i=e.resolveComponent("svg-icon"),d=e.resolveComponent("el-popover"),c=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(c,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var s,a;return[e.createVNode(i,{name:t.icon??((t==null?void 0:t.level)<=2?"default":""),class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((s=t==null?void 0:t.config)==null?void 0:s.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,C),t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(d,{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",u,[(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:D=>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,k))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),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",h,[(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[0]||(l[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const y=_._export_sfc(p._sfc_main,[["render",v],["__scopeId","data-v-c81d0427"]]);exports.default=y;
|