ss-component-new 1.2.294 → 1.2.296
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/{OBJLoader-CB9WJT82.cjs → OBJLoader-8gDmNV2i.cjs} +1 -1
- package/dist/{OBJLoader-BNv6XCtP.js → OBJLoader-Ck9W3Ir7.js} +1 -1
- package/dist/{OrbitControls-Csw6mD-P.js → OrbitControls-BIGKrhyi.js} +1 -1
- package/dist/{OrbitControls-R243A2UI.cjs → OrbitControls-BWF5w18E.cjs} +1 -1
- package/dist/{PCDLoader-cSzkUgjw.js → PCDLoader-CkJ5aJWh.js} +1 -1
- package/dist/{PCDLoader-BsFAYeJ2.cjs → PCDLoader-D-K96lwY.cjs} +1 -1
- package/dist/{animationData-BNWYvI2q.js → animationData-BlzkiZT-.js} +1 -1
- package/dist/{animationData-j8m9iee2.cjs → animationData-Dzb7SwCQ.cjs} +1 -1
- package/dist/{iconfont-CGucCJqY.js → iconfont-B8t8JT6z.js} +2 -2
- package/dist/{iconfont-BELvOiht.cjs → iconfont-Btynh8XG.cjs} +1 -1
- package/dist/{index-CHxAiQtk.js → index-0uGvrFMJ.js} +3 -3
- package/dist/{index-SnOaE90Y.js → index-8iIO_ocM.js} +3 -3
- package/dist/{index-Cvo0V0hW.cjs → index-B-SQuycq.cjs} +1 -1
- package/dist/{index-DBYidyLi.js → index-B-qFtrGT.js} +1 -1
- package/dist/{index-gW_IQxDq.cjs → index-B2nCv699.cjs} +1 -1
- package/dist/{index-w2CRXMRQ.js → index-B7DZXq3g.js} +6 -6
- package/dist/{index-79I_iorC.js → index-B8yivODj.js} +1 -1
- package/dist/{index-CZm0g4PU.js → index-BVXIOYWQ.js} +9 -7
- package/dist/{index-DQqCL4ju.cjs → index-B_qXEQkF.cjs} +1 -1
- package/dist/{index-Cuz9ELzW.js → index-Bgw0FBZB.js} +1 -1
- package/dist/{index-C0igWyW4.js → index-BsQ-qwMF.js} +13 -13
- package/dist/{index-71M6SFRc.js → index-BtwkxysC.js} +1 -1
- package/dist/{index-CmRzCos6.js → index-Bu1pHSKB.js} +843 -823
- package/dist/index-BwavyD4W.cjs +1 -0
- package/dist/{index-DKofIQfe.js → index-CIZi1SsV.js} +1 -1
- package/dist/{index-B0OE5_Ny.js → index-CJ-zljKi.js} +1 -1
- package/dist/{index-BkSFOSV8.cjs → index-CQn_Bk7v.cjs} +1 -1
- package/dist/{index-_yqtp0Dh.cjs → index-CSrPyW_f.cjs} +1 -1
- package/dist/{index-CZSaHDnf.js → index-CYPJ4mm3.js} +1 -1
- package/dist/{index-ByJJvmV6.js → index-CtbAPra-.js} +3 -3
- package/dist/{index-IClu4Xf8.cjs → index-D0jGNd-H.cjs} +1 -1
- package/dist/{index-9Nz7Dg2Z.js → index-D6bXtF73.js} +1 -1
- package/dist/{index-BC4uFre2.cjs → index-D9i7wZaC.cjs} +1 -1
- package/dist/{index-gHB9TMLI.cjs → index-DGVafVuW.cjs} +1 -1
- package/dist/{index-C5SNPyky.cjs → index-DKCWuetb.cjs} +1 -1
- package/dist/{index-LT5l3lP1.cjs → index-DO9bzS7t.cjs} +1 -1
- package/dist/{index-DU8A2Rcx.js → index-DOsxjhUA.js} +2 -2
- package/dist/{index-CkSlNi8L.js → index-DQTWAF7D.js} +2 -2
- package/dist/{index-BD9p0Xlt.js → index-DT0pnWzT.js} +2 -2
- package/dist/{index-D12kMfBu.cjs → index-DTjWhnIF.cjs} +1 -1
- package/dist/{index-C98tDP8u.cjs → index-DjaN4VhG.cjs} +1 -1
- package/dist/index-DvfqgYXo.cjs +1 -0
- package/dist/{index-DL8dLTof.cjs → index-DyDrPMvD.cjs} +1 -1
- package/dist/{index-_2EYJgni.cjs → index-K4Aol2cP.cjs} +1 -1
- package/dist/{index-CmcomRyN.js → index-_kvrccCu.js} +1 -1
- package/dist/{index-CvykFWHw.cjs → index-_wyT2-AA.cjs} +1 -1
- package/dist/{index-Dq3HNSET.js → index-dTA9hAgr.js} +3261 -3248
- package/dist/{index-CGoPD35H.cjs → index-hBEZJTBK.cjs} +1 -1
- package/dist/{index-DsOj_EOL.cjs → index-hKbFMqEu.cjs} +12 -12
- package/dist/{index-C4efuh6q.cjs → index-hORaVIHc.cjs} +1 -1
- package/dist/{index-D5O3A6Fx.js → index-jfKxOdn1.js} +1 -1
- package/dist/{index-xpsuJRYD.cjs → index-l7UB2yUy.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BqQN_vwd.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BNPzwHXs.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B_3YixjC.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CNiwHtU5.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BAniHexV.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bgts3--T.cjs} +59 -59
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B8FQIQZU.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-h7N9rXk9.js} +1643 -1648
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DRUxrXlC.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BOzovrSr.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Dg0WsT5i.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BuwJQ9eE.js} +19 -19
- package/dist/{index.vue_vue_type_style_index_1_lang-C-HS1nJI.cjs → index.vue_vue_type_style_index_1_lang-CDoOP6Aw.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang--VeL916J.js → index.vue_vue_type_style_index_1_lang-ZmTqB1dO.js} +4 -4
- package/dist/{main-Dx_m6QdJ.cjs → main-CBor783N.cjs} +1 -1
- package/dist/{main-BKAAdzBm.js → main-Yx9pP1an.js} +2 -2
- package/dist/{pointTrack-05CcPzgf.cjs → pointTrack-BkpbGc8n.cjs} +1 -1
- package/dist/{pointTrack-BRZj2fRP.js → pointTrack-CMyadDzE.js} +2 -2
- package/dist/{robotUtil-DGZFmHa1.js → robotUtil-BAK-GNOJ.js} +1 -1
- package/dist/{robotUtil-_esgRFP3.cjs → robotUtil-BtBh1-GY.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +31 -31
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-euHdSZWK.cjs → threeModel-C0vGemcj.cjs} +1 -1
- package/dist/{threeModel-WVUvmnEU.js → threeModel-C44vcdqj.js} +5 -5
- package/dist/{threePreview-BvzwkKZR.js → threePreview-CKjG0F-q.js} +4 -4
- package/dist/{threePreview-B3amehMf.cjs → threePreview-PffN5Aiq.cjs} +1 -1
- package/dist/{threeSceneView-BV580zYO.js → threeSceneView-4FffGfEx.js} +7 -7
- package/dist/{threeSceneView-BYYPjbrf.cjs → threeSceneView-BI__dTV5.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BcL1uoBQ.js → threeSceneViewForCPMPIP-Bo1U2avY.js} +9 -9
- package/dist/{threeSceneViewForCPMPIP-CSKEFRk_.cjs → threeSceneViewForCPMPIP-DZddF3u8.cjs} +1 -1
- package/dist/{threeTrackPathView-BpunMIGZ.js → threeTrackPathView-DzU4AIwq.js} +5 -5
- package/dist/{threeTrackPathView-CGEH2zTP.cjs → threeTrackPathView-oMFtTDLX.cjs} +1 -1
- package/dist/{threeViewerHost-BPu_LZha.cjs → threeViewerHost-BcIsHd7R.cjs} +2 -2
- package/dist/{threeViewerHost-CiYZBM4H.js → threeViewerHost-DUzh9-TD.js} +2 -2
- package/dist/{urdfTree-CoHIn4kK.js → urdfTree-BVGBRI7Z.js} +1 -1
- package/dist/{urdfTree-BjckM2-i.cjs → urdfTree-C_RPoplj.cjs} +1 -1
- package/dist/{workpieceTreePanel-CbsK-tey.cjs → workpieceTreePanel-B1eC1Q8u.cjs} +1 -1
- package/dist/{workpieceTreePanel-CtLKTnWz.js → workpieceTreePanel-_Vo2EKuP.js} +6 -6
- package/package.json +1 -1
- package/dist/index-CslSvatz.cjs +0 -1
- package/dist/index-IvJ1OjwT.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("vue"),ce=require("./index-BpPyaNFa.cjs"),w=require("./index-CEwxrYB-.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const s=require("vue"),ce=require("./index-BpPyaNFa.cjs"),w=require("./index-CEwxrYB-.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bgts3--T.cjs");const B=require("./index.vue_vue_type_style_index_1_lang-coQLbheN.cjs"),ae=require("./index-Dmi6R0kU.cjs"),ie=require("vue-router"),A=require("./index-9hspBVrQ.cjs"),pe=require("./index-DvfqgYXo.cjs"),P=s.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-hKbFMqEu.cjs")).then(v=>v.index));P.install=v=>{v.component("ssMenu",P)};const z={__name:"index",props:{name:String},setup(v){const b=v,S=s.computed(()=>w.ElIcons[b.name]);return s.onMounted(()=>{}),(x,a)=>{const T=s.resolveComponent("el-icon");return s.openBlock(),s.createBlock(T,null,{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(S.value)))]),_:1})}}};function H(v="menu"){return{name:v,components:{SvgIcon:ce.SvgIcon,ssMenu:P,DynamicIcon:z,ssDialog:ae.ssDialog},setup(b,{emit:S}){const x=s.defineProps({mode:{type:String,default:"vertical"}}),a=B.useMenuState(),T=B.useModelComp(w.pinia),F=s.ref(0),d=ie.useRouter(),{asideMenus:W,menuTriggerType:J,platform:K}=w.storeToRefs(a),L=s.computed(()=>x==null?void 0:x.mode),$=s.computed(()=>{let e=[...W.value];if((e==null?void 0:e.length)===0)return d.push("/"),[];const t=Y(e,Q.value);return t.isFlag||(e=t==null?void 0:t.data),e}),j=async e=>{T.setRouteToChildPath(""),a.setMenuTriggerType("click"),a.setActiveMenuPath(e==null?void 0:e.path),a.setActiveAsideMenu(e),e.isRouter?d.push(e.path):d.push("/"),S("node-click",e)},G=async e=>{const t=w.findNodeByPropInTree($.value,"path",e);a.setActiveAsideMenu(t),T.setRouteToChildPath(""),J.value==="click"?F.value===1?a.setActiveMenuPath(sessionStorage.getItem("pageKey")):a.setActiveMenuPath(e):(a.setMenuTriggerType("click"),a.setActiveMenuPath(e)),e!=null&&e.startsWith("/")?d.push(e):d.push("/"),F.value++},I=e=>{a.setActiveMenuPath(e)},g=e=>{const t=document.documentElement;e==null||e.forEach(o=>{t.style.setProperty(o.name,o.value)})};s.onMounted(()=>{F.value=1});const Q=s.computed(()=>{const e=sessionStorage.getItem("authority");return e?JSON.parse(e):[]});s.watch(()=>K.value,e=>{e==="browser"?g(A.browserVerticalMenuClasses):e==="client"?(g(A.clientHorizontalMenuClasses),g(A.clientVerticalMenuClasses)):e==="three"&&(g(A.threeHorizontalMenuClasses),g(A.threeVerticalMenuClasses))},{immediate:!0});const X=(e,t)=>{function o(u){u==null||u.forEach(n=>{var M,y;const c=(M=n==null?void 0:n.path)!=null&&M.startsWith("/")?(y=n==null?void 0:n.path)==null?void 0:y.substring(1):n==null?void 0:n.path;n.show=t==null?void 0:t.some(f=>f==null?void 0:f.includes(c)),n.children&&o(n.children)})}return o(e),e},Y=(e,t)=>{if(Array.isArray(t)){const o=Array.from(new Set(t==null?void 0:t.map(u=>u.substring(0,u.lastIndexOf("/")))));return{data:X(e,o),isFlag:!1}}else return{isFlag:(t==null?void 0:t.toUpperCase())==="SUPERADMIN"}},p=s.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),Z=e=>pe.getComponent(e),ee=s.ref({}),q=s.ref([]),te=async(e,t,o)=>{var y,f,N;if(!(e!=null&&e.structureIds)||((y=e==null?void 0:e.structureIds)==null?void 0:y.length)===0)return;const u=(N=(f=e==null?void 0:e.structureIds)==null?void 0:f.filter(r=>(r==null?void 0:r.key)==="dialogConfig"))==null?void 0:N.map(r=>r==null?void 0:r.id);let n=u==null?void 0:u.map(r=>w.getInsofDataApi({id:r}));const c=await Promise.all(n);if(c==null?void 0:c.every(r=>{var l;return((l=r==null?void 0:r.data)==null?void 0:l.code)===200})){const r=c==null?void 0:c.map(l=>{var _,m,i,k,D,U,V;return{id:(i=(m=(_=l==null?void 0:l.data)==null?void 0:_.result)==null?void 0:m[0])==null?void 0:i.id,...(V=(U=(D=(k=l==null?void 0:l.data)==null?void 0:k.result)==null?void 0:D[0])==null?void 0:U.value)==null?void 0:V.pageData}});t==="create"&&(q.value=r),t==="update"&&(q.value=r==null?void 0:r.map(l=>{var _,m;return((_=l==null?void 0:l.comp)==null?void 0:_.toUpperCase())==="FORM"?{...l,compData:(m=l==null?void 0:l.compData)==null?void 0:m.map(i=>{var k;return(i==null?void 0:i.key)==="formContent"?{...i,contents:(k=i==null?void 0:i.contents)==null?void 0:k.map(D=>({...D,value:o==null?void 0:o.title}))}:i})}:l}))}},C=s.ref({}),h=s.ref({}),se=e=>{switch(e){case"新增":return"create";case"编辑":return"update";case"删除":return"delete"}},E=s.ref({}),O=e=>{a.setCacheInputMenu({type:p.type,data:e}),a.setIsRefreshMenus(!0)},ne=async(e,t)=>{p.type=se(t==null?void 0:t.operateType),await te(t,p.type,e),h.value=e,E.value=t,(t==null?void 0:t.operateType)!=="删除"?(p.show=(t==null?void 0:t.trigger)==="openDialog",p.title=(t==null?void 0:t.operateType)+"菜单"):B.ElMessageBox.confirm(`是否确认要删除【${e==null?void 0:e.title}】`,"",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{O(e)})},re=()=>{p.show=!1},le=e=>e==null?void 0:e.filter(t=>t.allowInherit),oe=()=>{var o,u,n,c,M;let e;p.type==="create"&&(e=((o=h.value)==null?void 0:o.path)+"/"+C.value[(u=C.value)==null?void 0:u.prop]),p.type==="update"&&(e=(n=h.value)==null?void 0:n.path);const t={...h.value,config:le((c=h.value)==null?void 0:c.config),children:[],childMenus:[],title:C.value[(M=C.value)==null?void 0:M.prop],path:e};console.log("clickSubmitForm",E.value,h.value,t),O(t),p.show=!1},ue=e=>{var o,u;const t=(o=e==null?void 0:e.contents)==null?void 0:o.find(n=>n.key==="formContent");t&&(C.value=(u=t==null?void 0:t.contents)==null?void 0:u.reduce((n,c)=>(n[c.key]=c.value,n.prop=c.key,n),{}))},R=s.ref(!1);return{isCollapse:R,handleMenuCollapse:()=>{R.value=!R.value},handleCompChange:ue,dialogForm:ee,dialogRenderComps:q,getComponents:Z,clickSubmitForm:oe,dialogInfo:p,beforeDialogDestroy:re,clickMenuIcon:ne,mode:L,renderMenuList:$,clickMenu:j,openMenu:G,closeMenu:I,changeMenuStyle:g}}}}const ve=s.defineComponent(H());exports._sfc_main=ve;exports._sfc_main$1=z;exports.setComponent=H;exports.ssMenu=P;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as ae, computed as D, onMounted as W, resolveComponent as ue, createBlock as V, openBlock as H, withCtx as ce, resolveDynamicComponent as ie, defineComponent as pe, defineProps as ge, ref as g, watch as ve, reactive as fe } from "vue";
|
|
2
2
|
import { S as he } from "./index-BHtNKL1L.js";
|
|
3
3
|
import { bz as Me, p as me, s as Ce, by as ye, g as de } from "./index-CA0SFykF.js";
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
5
|
-
import { u as Ae, a as
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-h7N9rXk9.js";
|
|
5
|
+
import { u as Ae, a as ke, E as we } from "./index.vue_vue_type_style_index_1_lang-BKgS2iFu.js";
|
|
6
6
|
import { s as Te } from "./index-CM4PTcFN.js";
|
|
7
7
|
import { useRouter as Se } from "vue-router";
|
|
8
8
|
import { a as De, e as Pe, f as _e, g as be, h as Fe } from "./index-CAPx0_D4.js";
|
|
9
|
-
import { g as xe } from "./index-
|
|
10
|
-
const x = ae(() => import("./index-
|
|
9
|
+
import { g as xe } from "./index-dTA9hAgr.js";
|
|
10
|
+
const x = ae(() => import("./index-BVXIOYWQ.js").then((p) => p.k));
|
|
11
11
|
x.install = (p) => {
|
|
12
12
|
p.component("ssMenu", x);
|
|
13
13
|
};
|
|
@@ -19,7 +19,7 @@ const Re = {
|
|
|
19
19
|
setup(p) {
|
|
20
20
|
const R = p, P = D(() => Me[R.name]);
|
|
21
21
|
return W(() => {
|
|
22
|
-
}), (
|
|
22
|
+
}), (w, u) => {
|
|
23
23
|
const T = ue("el-icon");
|
|
24
24
|
return H(), V(T, null, {
|
|
25
25
|
default: ce(() => [
|
|
@@ -40,22 +40,22 @@ function Be(p = "menu") {
|
|
|
40
40
|
ssDialog: Te
|
|
41
41
|
},
|
|
42
42
|
setup(R, { emit: P }) {
|
|
43
|
-
const
|
|
43
|
+
const w = ge({
|
|
44
44
|
mode: {
|
|
45
45
|
type: String,
|
|
46
46
|
default: "vertical"
|
|
47
47
|
}
|
|
48
|
-
}), u = Ae(), T =
|
|
48
|
+
}), u = Ae(), T = ke(me), _ = g(0), m = Se(), { asideMenus: $, menuTriggerType: J, platform: K } = Ce(u), L = D(() => w == null ? void 0 : w.mode), B = D(() => {
|
|
49
49
|
let e = [...$.value];
|
|
50
50
|
if ((e == null ? void 0 : e.length) === 0)
|
|
51
51
|
return m.push("/"), [];
|
|
52
52
|
const t = Y(e, Q.value);
|
|
53
53
|
return t.isFlag || (e = t == null ? void 0 : t.data), e;
|
|
54
|
-
}),
|
|
54
|
+
}), j = async (e) => {
|
|
55
55
|
T.setRouteToChildPath(""), u.setMenuTriggerType("click"), u.setActiveMenuPath(e == null ? void 0 : e.path), u.setActiveAsideMenu(e), e.isRouter ? m.push(e.path) : m.push("/"), P("node-click", e);
|
|
56
56
|
}, q = async (e) => {
|
|
57
57
|
const t = ye(B.value, "path", e);
|
|
58
|
-
u.setActiveAsideMenu(t), T.setRouteToChildPath(""),
|
|
58
|
+
u.setActiveAsideMenu(t), T.setRouteToChildPath(""), J.value === "click" ? _.value === 1 ? u.setActiveMenuPath(sessionStorage.getItem("pageKey")) : u.setActiveMenuPath(e) : (u.setMenuTriggerType("click"), u.setActiveMenuPath(e)), e != null && e.startsWith("/") ? m.push(e) : m.push("/"), _.value++;
|
|
59
59
|
}, G = (e) => {
|
|
60
60
|
u.setActiveMenuPath(e);
|
|
61
61
|
}, v = (e) => {
|
|
@@ -72,7 +72,7 @@ function Be(p = "menu") {
|
|
|
72
72
|
return e ? JSON.parse(e) : [];
|
|
73
73
|
});
|
|
74
74
|
ve(
|
|
75
|
-
() =>
|
|
75
|
+
() => K.value,
|
|
76
76
|
(e) => {
|
|
77
77
|
e === "browser" ? v(De) : e === "client" ? (v(Pe), v(_e)) : e === "three" && (v(be), v(Fe));
|
|
78
78
|
},
|
|
@@ -114,10 +114,10 @@ function Be(p = "menu") {
|
|
|
114
114
|
return ((n = r == null ? void 0 : r.data) == null ? void 0 : n.code) === 200;
|
|
115
115
|
})) {
|
|
116
116
|
const r = a == null ? void 0 : a.map((n) => {
|
|
117
|
-
var d, A, c,
|
|
117
|
+
var d, A, c, k, S, N, U;
|
|
118
118
|
return {
|
|
119
119
|
id: (c = (A = (d = n == null ? void 0 : n.data) == null ? void 0 : d.result) == null ? void 0 : A[0]) == null ? void 0 : c.id,
|
|
120
|
-
...(U = (N = (S = (
|
|
120
|
+
...(U = (N = (S = (k = n == null ? void 0 : n.data) == null ? void 0 : k.result) == null ? void 0 : S[0]) == null ? void 0 : N.value) == null ? void 0 : U.pageData
|
|
121
121
|
};
|
|
122
122
|
});
|
|
123
123
|
t === "create" && (b.value = r), t === "update" && (b.value = r == null ? void 0 : r.map((n) => {
|
|
@@ -125,10 +125,10 @@ function Be(p = "menu") {
|
|
|
125
125
|
return ((d = n == null ? void 0 : n.comp) == null ? void 0 : d.toUpperCase()) === "FORM" ? {
|
|
126
126
|
...n,
|
|
127
127
|
compData: (A = n == null ? void 0 : n.compData) == null ? void 0 : A.map((c) => {
|
|
128
|
-
var
|
|
128
|
+
var k;
|
|
129
129
|
return (c == null ? void 0 : c.key) === "formContent" ? {
|
|
130
130
|
...c,
|
|
131
|
-
contents: (
|
|
131
|
+
contents: (k = c == null ? void 0 : c.contents) == null ? void 0 : k.map((S) => ({
|
|
132
132
|
...S,
|
|
133
133
|
value: l == null ? void 0 : l.title
|
|
134
134
|
}))
|
|
@@ -152,7 +152,7 @@ function Be(p = "menu") {
|
|
|
152
152
|
data: e
|
|
153
153
|
}), u.setIsRefreshMenus(!0);
|
|
154
154
|
}, se = async (e, t) => {
|
|
155
|
-
i.type = te(t == null ? void 0 : t.operateType), await ee(t, i.type, e), f.value = e, E.value = t, (t == null ? void 0 : t.operateType) !== "删除" ? (i.show = (t == null ? void 0 : t.trigger) === "openDialog", i.title = (t == null ? void 0 : t.operateType) + "菜单") :
|
|
155
|
+
i.type = te(t == null ? void 0 : t.operateType), await ee(t, i.type, e), f.value = e, E.value = t, (t == null ? void 0 : t.operateType) !== "删除" ? (i.show = (t == null ? void 0 : t.trigger) === "openDialog", i.title = (t == null ? void 0 : t.operateType) + "菜单") : we.confirm(`是否确认要删除【${e == null ? void 0 : e.title}】`, "", {
|
|
156
156
|
confirmButtonText: "确认",
|
|
157
157
|
cancelButtonText: "取消",
|
|
158
158
|
type: "warning"
|
|
@@ -193,9 +193,9 @@ function Be(p = "menu") {
|
|
|
193
193
|
dialogInfo: i,
|
|
194
194
|
beforeDialogDestroy: re,
|
|
195
195
|
clickMenuIcon: se,
|
|
196
|
-
mode:
|
|
196
|
+
mode: L,
|
|
197
197
|
renderMenuList: B,
|
|
198
|
-
clickMenu:
|
|
198
|
+
clickMenu: j,
|
|
199
199
|
openMenu: q,
|
|
200
200
|
closeMenu: G,
|
|
201
201
|
changeMenuStyle: v
|
|
@@ -203,9 +203,9 @@ function Be(p = "menu") {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
|
-
const
|
|
206
|
+
const Ke = pe(Be());
|
|
207
207
|
export {
|
|
208
|
-
|
|
208
|
+
Ke as _,
|
|
209
209
|
Re as a,
|
|
210
210
|
x as b,
|
|
211
211
|
Be as s
|