ss-component-new 1.2.96 → 1.2.97
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/{MTLLoader-8qht74Q7.js → MTLLoader-DnouUI-8.js} +1 -1
- package/dist/{MTLLoader-BmycYKH6.cjs → MTLLoader-zZDM0NQh.cjs} +1 -1
- package/dist/{OrbitControls-Bzn7u6zE.cjs → OrbitControls-B85G8nPk.cjs} +1 -1
- package/dist/{OrbitControls-BjJ79rTx.js → OrbitControls-DFhYzlF3.js} +1 -1
- package/dist/{animationData-0jCpD3l0.js → animationData-DfKVkFbz.js} +3 -3
- package/dist/{animationData-CAppfuqr.cjs → animationData-DxBvEqB1.cjs} +1 -1
- package/dist/{array-Dg-eQLeS.cjs → array-CYnA_0YM.cjs} +1 -1
- package/dist/{array-Cn-xxeGh.js → array-jPdolPpm.js} +1 -1
- package/dist/{dataUtil-BFP1At6d.cjs → dataUtil-B4sGo38_.cjs} +1 -1
- package/dist/{dataUtil-C4lMM2nY.js → dataUtil-DQX9rTvE.js} +1 -1
- package/dist/{iconfont-CYyOVK2s.cjs → iconfont-C7kE-QbU.cjs} +1 -1
- package/dist/{iconfont-m9s2eWSa.js → iconfont-WOKNi2xx.js} +2 -2
- package/dist/{index-B_GqgLqE.cjs → index-331j518H.cjs} +1 -1
- package/dist/{index-CO1At3Qt.cjs → index-6sZXjGGz.cjs} +1 -1
- package/dist/{index-CIu1uGjo.js → index-B-AhHUV1.js} +1 -1
- package/dist/{index-CTh_Ncuz.cjs → index-B21qNg4A.cjs} +1 -1
- package/dist/{index-DJSzUDVP.cjs → index-BDxPlbe2.cjs} +1 -1
- package/dist/{index-C0g2wZa2.js → index-BFzMf0GC.js} +1 -1
- package/dist/{index-DijDlKaY.js → index-BI7g3c_u.js} +19 -19
- package/dist/{index-BdvqBTDW.js → index-BODyH6MD.js} +2 -2
- package/dist/{index-BayQ6HRi.js → index-BXfKtvF-.js} +1 -1
- package/dist/{index-i247pLsX.js → index-BXv3aZ7v.js} +2 -2
- package/dist/{index-BgKE_tia.js → index-BYk9Fb6p.js} +5 -5
- package/dist/{index-M8PsQPdI.js → index-B_zjoT4m.js} +2 -2
- package/dist/{index-Bt57uQ3d.js → index-Bhha7SY3.js} +2 -2
- package/dist/{index-D6G3wQov.js → index-BoTiP0aV.js} +2 -2
- package/dist/{index-Df60duTb.js → index-BxZ-k8Ww.js} +1 -1
- package/dist/{index-VzkNVYhI.cjs → index-C-dlFxRJ.cjs} +1 -1
- package/dist/{index-DMwTF1Hl.cjs → index-CGRb8BQx.cjs} +1 -1
- package/dist/{index-TGJkSdz2.js → index-CJOQxUog.js} +2 -2
- package/dist/{index-Bvvx3SbS.cjs → index-CLOUp_4j.cjs} +1 -1
- package/dist/{index-3JUnbgIT.cjs → index-CPAXrzNY.cjs} +1 -1
- package/dist/{index-PUTWsBgd.cjs → index-CQRJ3pLh.cjs} +1 -1
- package/dist/{index-DEX2MMzx.js → index-CSQJCfDf.js} +1 -1
- package/dist/{index-FKHrqiVz.js → index-CV2JWX-7.js} +1 -1
- package/dist/{index-Bag6byEJ.cjs → index-CZPnP0uy.cjs} +1 -1
- package/dist/{index-D0NuMuh5.js → index-CcwTi2WJ.js} +1 -1
- package/dist/{index-oIwmn1U8.js → index-CeGM8aBH.js} +4 -4
- package/dist/{index-j16y0mCJ.cjs → index-Cnk_4Zz5.cjs} +1 -1
- package/dist/{index-C8dRWVYa.cjs → index-Cppt0AsF.cjs} +1 -1
- package/dist/{index-BIvGwNqR.js → index-CqI3frdZ.js} +11 -11
- package/dist/{index-B01K_q9I.js → index-Cr5if46q.js} +2 -2
- package/dist/{index-DlnbkEM7.cjs → index-Cw3gRBT3.cjs} +1 -1
- package/dist/{index-D-7WLmXf.cjs → index-D0hovh9R.cjs} +1 -1
- package/dist/{index-BnLOogVf.cjs → index-D6u590uA.cjs} +1 -1
- package/dist/{index-5hihfJxO.cjs → index-DHBoRe9V.cjs} +1 -1
- package/dist/{index-6Chvz-6H.cjs → index-DHZMd8iK.cjs} +1 -1
- package/dist/{index-CaaRetWn.js → index-DHjtOySN.js} +5 -5
- package/dist/{index-MCoX9dAt.js → index-DJ6qg2Mo.js} +5 -5
- package/dist/{index-Dgpx-Hra.js → index-DRfVnLTN.js} +8 -8
- package/dist/{index-Bg0aEQlB.js → index-DRizRbU3.js} +1 -1
- package/dist/{index-traVr_lk.cjs → index-DSPjcpWK.cjs} +1 -1
- package/dist/{index-C3pEzgj_.js → index-D_RGoDln.js} +5 -5
- package/dist/{index-ii79t_b4.cjs → index-D_igus4A.cjs} +1 -1
- package/dist/{index-D-7Puf0_.cjs → index-DbDM-XfB.cjs} +1 -1
- package/dist/{index-B-gCmSbm.js → index-DeOwZgqL.js} +7 -7
- package/dist/{index-1l1PVuvD.js → index-DgZVeYqH.js} +1 -1
- package/dist/{index-DY8hmk1Q.cjs → index-DhufphmT.cjs} +1 -1
- package/dist/{index-CQm-J0AU.cjs → index-DrzK0O_g.cjs} +1 -1
- package/dist/{index-CSZdFHsD.cjs → index-DwFpQNpA.cjs} +1 -1
- package/dist/{index-B7d98_nQ.cjs → index-S1LIIzCa.cjs} +1 -1
- package/dist/{index-ykiHcw47.cjs → index-_PP-dSm3.cjs} +1 -1
- package/dist/{index-BjjK_8u-.cjs → index-a6bC3A9D.cjs} +1 -1
- package/dist/{index-dme4eW3i.cjs → index-eaKFpHpQ.cjs} +1 -1
- package/dist/{index-D98HbHeq.js → index-hhS08X8b.js} +3 -3
- package/dist/{index-DgnURGHM.cjs → index-iErxMZBi.cjs} +1 -1
- package/dist/{index-B0eWCQHx.js → index-iZ9BRKg5.js} +2 -2
- package/dist/{index-C3nNOYlY.js → index-kLDMroPk.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BweLdgQg.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DSlAeFA3.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bln4NQBz.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-ERjMISIK.js} +11 -11
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DFR9Kcwi.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js} +1648 -1643
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C2CSvQmH.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dzyqt2Z-.cjs} +59 -59
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CPnq8zy9.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DODc2KPN.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BNgp6mzJ.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-mJB_yl_P.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs → index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-D0fEUDml.js → index.vue_vue_type_style_index_1_lang-BH0DRFVE.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-Dk-QY9vy.cjs → index.vue_vue_type_style_index_1_lang-BRFs_L5R.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js → index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js} +159 -163
- package/dist/{main-Da2N7L0r.cjs → main-B541MQH8.cjs} +1 -1
- package/dist/{main-Dc3xXHlm.js → main-Z5UMyCj6.js} +4 -4
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-Db0eOtGe.js → threeModel-BcjGbIJZ.js} +4 -4
- package/dist/{threeModel-B5m5e2r3.cjs → threeModel-tKq0hvaK.cjs} +1 -1
- package/dist/{threePreview-Bd5BpbCA.js → threePreview-BnPMGQ2H.js} +3 -3
- package/dist/{threePreview-CIuFqz2p.cjs → threePreview-DD0br2ae.cjs} +1 -1
- package/dist/{threeSceneView-mXWAjDOa.js → threeSceneView-BUD002PP.js} +10 -10
- package/dist/{threeSceneView-ClZqVdCB.cjs → threeSceneView-DVUTlm6F.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-Cs2p48GK.cjs → threeSceneViewForCPMPIP-BYYbyqD7.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DAYVqOg4.js → threeSceneViewForCPMPIP-D4RC4BAo.js} +9 -9
- package/dist/{threeTrackPathView-CC7mxoKt.cjs → threeTrackPathView-BvUihuyk.cjs} +1 -1
- package/dist/{threeTrackPathView-BypIKggF.js → threeTrackPathView-DDCEu3Gx.js} +4 -4
- package/dist/{threeViewerHost-D8aKuUdC.js → threeViewerHost-BVeUteVd.js} +3 -3
- package/dist/{threeViewerHost-CG9MEd0B.cjs → threeViewerHost-Sda_AoRw.cjs} +2 -2
- package/dist/{urdfTree-CXBSDiJj.cjs → urdfTree-Br9VYqKp.cjs} +1 -1
- package/dist/{urdfTree-DxLmsFUL.js → urdfTree-DaWvX-6R.js} +1 -1
- package/dist/{workpieceTreePanel-u_fWFvEp.js → workpieceTreePanel-BdRaFNRp.js} +5 -5
- package/dist/{workpieceTreePanel-C0gVhVe8.cjs → workpieceTreePanel-Z3aVdOWB.cjs} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("vue"),ce=require("./index-BpPyaNFa.cjs"),w=require("./index-C8qRkCgn.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-C8qRkCgn.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dzyqt2Z-.cjs");const B=require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs"),ae=require("./index-DhufphmT.cjs"),ie=require("vue-router"),A=require("./index-9hspBVrQ.cjs"),pe=require("./index-_PP-dSm3.cjs"),P=s.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-C-dlFxRJ.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 z, 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 { bO as Me, p as me, s as Ce, bN as ye, g as de } from "./index-BUYYl2Pc.js";
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
5
|
-
import { u as Ae, a as we, E as ke } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { s as Te } from "./index-
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js";
|
|
5
|
+
import { u as Ae, a as we, E as ke } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
|
|
6
|
+
import { s as Te } from "./index-DRizRbU3.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-DRfVnLTN.js";
|
|
10
|
+
const x = ae(() => import("./index-DJ6qg2Mo.js").then((p) => p.j));
|
|
11
11
|
x.install = (p) => {
|
|
12
12
|
p.component("ssMenu", x);
|
|
13
13
|
};
|