ss-component-new 1.2.59 → 1.2.61
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/{animationData-FLuoH13j.cjs → animationData-BduUBmUR.cjs} +1 -1
- package/dist/{animationData-CEkMmPAJ.js → animationData-ksWjRBya.js} +1 -1
- package/dist/{index-DkNldOC0.cjs → index-01wgxMDL.cjs} +1 -1
- package/dist/{index-BTwRUubF.js → index-B0wbu4Yi.js} +2 -2
- package/dist/{index-DLU6Qv3w.cjs → index-B7Qvtv0u.cjs} +1 -1
- package/dist/{index-LVKvj2hU.cjs → index-B9v5hZgH.cjs} +1 -1
- package/dist/{index-DuamAhUi.cjs → index-BBuy5K5J.cjs} +1 -1
- package/dist/{index-DXGiAs1G.cjs → index-BGRk7yKa.cjs} +1 -1
- package/dist/{index-BgwYXT31.cjs → index-BZ_4uOOn.cjs} +1 -1
- package/dist/{index--qwZeW47.js → index-Bay7I9Bm.js} +1 -1
- package/dist/{index-FUWILZwY.js → index-Bmu2x9mX.js} +22 -19
- package/dist/{index-CWG2zhJZ.cjs → index-BpuhfaBg.cjs} +1 -1
- package/dist/{index-ChyicQIl.js → index-C2Eyvf5V.js} +1 -1
- package/dist/{index-BxEjroD6.cjs → index-C3gW2PyS.cjs} +1 -1
- package/dist/{index-rPWz6KHn.js → index-CBkHg1j7.js} +2 -2
- package/dist/index-CCWTxFmY.cjs +1 -0
- package/dist/{index-YoJfAd5X.js → index-CK30KLFM.js} +1 -1
- package/dist/index-CKeQA94a.cjs +1 -0
- package/dist/{index-CDW8XzWT.cjs → index-CVmhjMww.cjs} +1 -1
- package/dist/{index-C9C84gkB.cjs → index-CXn5smWf.cjs} +1 -1
- package/dist/{index-DN40xEbb.js → index-CkC7f2YA.js} +2 -2
- package/dist/{index-DNs7ujiq.js → index-CoQ-IzJk.js} +1 -1
- package/dist/{index-DIpWkFjh.cjs → index-Cs5rVLDE.cjs} +1 -1
- package/dist/{index-BiUFu7a_.js → index-D1NeHiNE.js} +334 -339
- package/dist/{index-BFHCLxvz.js → index-D2-lClm5.js} +1 -1
- package/dist/{index-DAJoy_Z5.js → index-D7QHwREN.js} +1 -1
- package/dist/{index-JXXdn01K.cjs → index-DIc7XjOi.cjs} +1 -1
- package/dist/{index-B1U77nyf.cjs → index-DLSVySRQ.cjs} +1 -1
- package/dist/{index-BNES2eKm.js → index-DQs8vKMu.js} +1 -1
- package/dist/{index-gcSJbApQ.cjs → index-DRlQXINk.cjs} +1 -1
- package/dist/{index-DvgAOa6m.js → index-DaJktADu.js} +3 -3
- package/dist/{index-bcbWOGXs.js → index-DhUpDiKd.js} +3 -3
- package/dist/{index-BooTgcW2.js → index-DlMveOaQ.js} +1 -1
- package/dist/{index-BN4opOSk.cjs → index-DlYhArOW.cjs} +1 -1
- package/dist/{index-OLQpbvuS.js → index-Dq1hvZtX.js} +5 -5
- package/dist/{index-DZQjq0ZR.js → index-DqZAVSNH.js} +1 -1
- package/dist/{index-BYIlecoJ.cjs → index-DyiVOF0A.cjs} +1 -1
- package/dist/{index-C8IFPtAJ.js → index-aBQ2sEfI.js} +5 -5
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BypjxmMI.cjs +37 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D6uh0ooh.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-GWvj-CP4.js} +10159 -10096
- package/dist/index.vue_vue_type_style_index_0_scoped_46e2f5ea_lang-C7FUrOoA.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_46e2f5ea_lang-DvMhRFrq.js +256 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-BUhvhTqt.js → index.vue_vue_type_style_index_1_lang-DqQPBn21.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-DDYxgdQk.cjs → index.vue_vue_type_style_index_1_lang-Qv4smhed.cjs} +1 -1
- package/dist/{main-D-bdppOV.cjs → main-DVHpLepU.cjs} +1 -1
- package/dist/{main-ChUyYPuq.js → main-DVImlHpP.js} +2 -2
- 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 +10 -10
- package/dist/{threeModel-DcuAlWjb.js → threeModel-C-_-1kt1.js} +2 -2
- package/dist/{threeModel-CDFo3As-.cjs → threeModel-D7w_6Pj0.cjs} +1 -1
- package/dist/{threeSceneView-CAsVH82L.cjs → threeSceneView-CgL4kV3p.cjs} +1 -1
- package/dist/{threeSceneView-Dav7AGkH.js → threeSceneView-DGTBY2Ny.js} +4 -4
- package/dist/{threeSceneViewForCPMPIP-9__8NGa5.cjs → threeSceneViewForCPMPIP-CJCwiWY-.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DxFYivgN.js → threeSceneViewForCPMPIP-evlwiSv-.js} +4 -4
- package/dist/{threeTrackPathView-DXCMl3aZ.js → threeTrackPathView-BDOUYCiU.js} +1 -1
- package/dist/{threeTrackPathView-B7yrSLKq.cjs → threeTrackPathView-DopwJzcl.cjs} +1 -1
- package/dist/{threeViewerHost-D70yS3z2.cjs → threeViewerHost-CUT-oKqD.cjs} +1 -1
- package/dist/{threeViewerHost-BNnzz6WM.js → threeViewerHost-Cl30BkDb.js} +1 -1
- package/dist/{workpieceTreePanel-KdP9UaVe.cjs → workpieceTreePanel-CtfU-Ro2.cjs} +1 -1
- package/dist/{workpieceTreePanel-CCbVIIlm.js → workpieceTreePanel-yp3E4Dho.js} +2 -2
- package/package.json +1 -1
- package/dist/index-CHzlphv9.cjs +0 -1
- package/dist/index-lP-_9Gsb.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bff2sYnQ.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-DlyCfLDJ.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-Dt5lXvbN.js +0 -195
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-fAuSnfOH.cjs"),x=require("./threeViewerHost-
|
|
1
|
+
"use strict";const k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-fAuSnfOH.cjs"),x=require("./threeViewerHost-CUT-oKqD.cjs");require("./index-qDBAJZN2.cjs");const O=require("./index-C8qRkCgn.cjs"),g=async e=>{const o=e.join("/"),c=sessionStorage.getItem("systemKey");return await k.getItemData(o,c,"")},B={TABLE:"Table",FROM:"Form"},F=(e,o)=>o==null?void 0:o.find(s=>{const{name:a}=s;return a===e}),S=(e,o="")=>{if(!e||e.length===0)return[];const c=[];for(let s=0;s<e.length;s++){const a=e==null?void 0:e[s],i=a==null?void 0:a.children;if(!i||i.length===0){a._parent=o,c.push(a);continue}const r=S(i,a.name);c.push(...r)}return c},j=(e,o)=>!e||!e.length?[]:e.filter(s=>{const{comp:a}=s;return a===o}),L=e=>{var a;const o=e==null?void 0:e.compData,c=(a=o==null?void 0:o.find(i=>{const{key:r}=i;return r==="formContent"}))==null?void 0:a.contents,s={};return c==null||c.forEach(i=>{const{prop:r,value:f}=i;s[r]=f}),s},X=async()=>{let e={};const c=await g(["弯管仿真加工分析","模具筛选安装"]),s=F("输入(加工件)",c),a=L(s),i=a.管长||0,r=a.外径||0;console.log("管长",i,"外径",r,a);const f=i,C=r/2,_=await g(["弯管仿真加工分析","加工位姿生成"]),R=F("输入",_),d=L(R),D=d.夹持长度||0;console.log("夹持长度",D,d);const A=Number(D),l={},u=await g(["弯管仿真加工分析","仿真动画生成"]);u==null||u.forEach(n=>{var b,y,M,P,G,T;if((n==null?void 0:n.comp)==="Table"){let w=[],m=(M=(y=(b=n==null?void 0:n.compData)==null?void 0:b.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:y.contents)==null?void 0:M.map(t=>t==null?void 0:t.label),h=(T=(G=(P=n==null?void 0:n.compData)==null?void 0:P.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:G.contents)==null?void 0:T.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));h==null||h.forEach(t=>{w.push(k.getValueToObjectValue(t,m==null?void 0:m.filter(p=>p!=="操作")))}),l[n.name]=w,l[n.name+"Content"]=n}});const E=O.cloneDeep(l)||[];return e={initialPipeLength:f,pipeRadius:C,clampLength:A,animationData:E},e},Y=async()=>{let e={};const c=await g(["双弯管仿真加工分析","模具筛选安装"]),s=F("输入(加工件)",c),a=L(s),i=a.管长||0,r=a.外径||0;console.log("管长",i,"外径",r,a);const f=i,C=r/2,_=await g(["双弯管仿真加工分析","加工工艺生成"]),R=F("输入",_),d=L(R),D=d.夹持位置||0;console.log("夹持长度",D,d);const A=Number(D),l={},u=await g(["双弯管仿真加工分析","仿真动画生成"]);u==null||u.forEach(n=>{var b,y,M,P,G,T;if((n==null?void 0:n.comp)==="Table"){let w=[],m=(M=(y=(b=n==null?void 0:n.compData)==null?void 0:b.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:y.contents)==null?void 0:M.map(t=>t==null?void 0:t.label),h=(T=(G=(P=n==null?void 0:n.compData)==null?void 0:P.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:G.contents)==null?void 0:T.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));h==null||h.forEach(t=>{w.push(k.getValueToObjectValue(t,m==null?void 0:m.filter(p=>p!=="操作")))}),l[n.name]=w,l[n.name+"Content"]=n}});const E=O.cloneDeep(l)||[];return e={initialPipeLength:f,pipeRadius:C,clampLength:A,animationData:E},e},Z=async e=>await x.downloadFile(e),K=async e=>await x.readCsv(e),N=async e=>{const o=await Z(e);return await K(o)};exports.compType=B;exports.fetchDoubleRobotAnimationData=Y;exports.fetchSingleRobotAnimationData=X;exports.flattenGroups=S;exports.getFormData=L;exports.getMenuData=g;exports.getSpecifiedTypeGroups=j;exports.getTargetGroup=F;exports.initXYZBCList=N;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as j, a as O } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BZPnZF-N.js";
|
|
2
|
-
import { k as K, l as N } from "./threeViewerHost-
|
|
2
|
+
import { k as K, l as N } from "./threeViewerHost-Cl30BkDb.js";
|
|
3
3
|
import "./index-BEfSpHE6.js";
|
|
4
4
|
import { c as x } from "./index-DsSA-OiE.js";
|
|
5
5
|
const f = async (n) => {
|
|
@@ -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-CKeQA94a.cjs");const a=require("./index-C8qRkCgn.cjs");require("./array-BLzorBeE.cjs");const S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-fAuSnfOH.cjs");require("./index.vue_vue_type_style_index_0_scoped_46e2f5ea_lang-C7FUrOoA.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BypjxmMI.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_1_lang-Qv4smhed.cjs");require("./index-CF3dfQ01.cjs");require("./index-CX2C-kjD.cjs");require("vue-router");require("./index-B9v5hZgH.cjs");;/* empty css */require("./index-qDBAJZN2.cjs");require("./index-BAgQCn1y.cjs");const q={__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:!1},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const u=a.useLoginState(a.pinia),{loginUserInfo:m}=a.storeToRefs(u),e=o,s=c,y=n.computed(()=>{var t,i;return(e==null?void 0:e.showButton)||((i=(t=m.value)==null?void 0:t.layer)==null?void 0:i.toUpperCase())==="SUPERADMIN"});n.watch(()=>e==null?void 0:e.systemKey,t=>{u.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{u.setSystemInfo(t)},{immediate:!0});const f=()=>{s("buildContent")},w=()=>{s("setLoginInfo")},g=t=>{s("openThreeBuild",t)},h=t=>{s("threeData",t)},d=()=>{var l;const t=e!=null&&e.windowConfig?(l=e==null?void 0:e.windowConfig)==null?void 0:l.width:window.innerWidth,i=1920,r=16,C=t/i,v=r*C;document.documentElement.style.fontSize=`${v}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,i)=>{const r=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(r,{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:y.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:f,onOpenThreeBuild:g,pageKey:o.pageKey,onThreeData:h,onSetLoginInfo:w},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},B=S._export_sfc(q,[["__scopeId","data-v-a9684a30"]]);exports.default=B;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as F, computed as N, ref as p, watch as $, createElementBlock as B, openBlock as b, createVNode as v, createCommentVNode as j, withCtx as u, createTextVNode as T, toDisplayString as I, resolveComponent as k, createBlock as x, Fragment as L, renderList as O, createElementVNode as R, normalizeStyle as q } from "vue";
|
|
2
2
|
import { s as H } from "./index-NUzOUiu0.js";
|
|
3
|
-
import { d as M, u as P } from "./threeViewerHost-
|
|
3
|
+
import { d as M, u as P } from "./threeViewerHost-Cl30BkDb.js";
|
|
4
4
|
import { E as z } from "./index-DsSA-OiE.js";
|
|
5
5
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { S as W } from "./index-
|
|
6
|
+
import { S as W } from "./index-DlMveOaQ.js";
|
|
7
7
|
import { S as E } from "./index-BHtNKL1L.js";
|
|
8
8
|
const D = { class: "avatar-model-wrap" }, G = { key: 0 }, J = /* @__PURE__ */ F({
|
|
9
9
|
__name: "index",
|