ss-component-new 1.1.965 → 1.1.967
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-B9YU5qld.cjs → animationData-Dt5fYIKF.cjs} +1 -1
- package/dist/{animationData-CHqG8tg6.js → animationData-OpE9j0Q4.js} +2 -2
- package/dist/{index-DALlv3Ak.js → index-21fcNyqv.js} +3 -3
- package/dist/{index-GxzJCXdZ.js → index-2F2yiNx1.js} +1 -1
- package/dist/{index-ClD7_Fzx.js → index-573No4Bv.js} +2 -2
- package/dist/{index-d8S3gL9d.cjs → index-7dJUeQyX.cjs} +1 -1
- package/dist/{index-Cf6s-5uc.js → index-8NJgtzqK.js} +5 -5
- package/dist/{index-DAkZWIjf.js → index-B5MIsEVX.js} +2 -2
- package/dist/{index-BZUd2Fc3.js → index-BD9heV5y.js} +2 -2
- package/dist/{index-o18yr0cS.js → index-BDGIn1A-.js} +1 -1
- package/dist/{index-A4jZvZtO.js → index-BHRSQhB6.js} +1 -1
- package/dist/{index-J819J4_L.js → index-BTq5oPdN.js} +1 -1
- package/dist/{index-AEkh4LhN.cjs → index-BWkVKDzy.cjs} +1 -1
- package/dist/{index-Btop4efQ.cjs → index-BdHcdEnw.cjs} +1 -1
- package/dist/{index-CDfpAYAw.js → index-BjUd5Zxi.js} +1 -1
- package/dist/{index-mi5S4_j0.cjs → index-Bkodej3S.cjs} +1 -1
- package/dist/{index-DP8tAKUE.js → index-Bl0JmsD1.js} +5 -5
- package/dist/{index-BqBO5rsH.js → index-BmO29y0S.js} +2 -2
- package/dist/{index-QosK-pzg.js → index-BpFMYYIg.js} +2 -2
- package/dist/{index-D048twqo.cjs → index-Bt91L-4V.cjs} +1 -1
- package/dist/{index-PnpSO5yh.js → index-Bu04C0qj.js} +1 -1
- package/dist/{index-BrthTXLt.js → index-BuNipzay.js} +1 -1
- package/dist/{index-53G9dyPY.cjs → index-Bwtp9GOE.cjs} +1 -1
- package/dist/{index-DbNC-t9f.cjs → index-BxEki0jM.cjs} +1 -1
- package/dist/{index-Bybby4hv.js → index-C4S85WxE.js} +1 -1
- package/dist/{index-CTjMokiP.cjs → index-C4oV0Dl3.cjs} +1 -1
- package/dist/index-C5nPOTyx.cjs +1 -0
- package/dist/{index-4S4sQRHC.cjs → index-CCFBjUq4.cjs} +1 -1
- package/dist/{index-DFvMyy23.js → index-CEAgUyMn.js} +2 -2
- package/dist/{index-Bsf2bocH.cjs → index-CIYgpADx.cjs} +1 -1
- package/dist/{index-D2e1fVig.cjs → index-CRt7db31.cjs} +1 -1
- package/dist/{index-Dpl3wTia.cjs → index-CeXZddiO.cjs} +1 -1
- package/dist/index-CluPyjMg.cjs +1 -0
- package/dist/{index-CIErocLM.js → index-Cmazys8p.js} +5 -5
- package/dist/{index-J-veVlOQ.js → index-CnqZw08_.js} +164 -160
- package/dist/{index-BF0JVyZY.js → index-D2-PljA7.js} +2 -2
- package/dist/{index-C3Y0MlaT.js → index-D50qpjZ7.js} +4 -4
- package/dist/{index-DjRluBZP.js → index-D98tqZL2.js} +1 -1
- package/dist/{index-Cyyid0UW.cjs → index-DLKaCPyQ.cjs} +1 -1
- package/dist/{index-CbOEpfaO.cjs → index-DNW1K506.cjs} +1 -1
- package/dist/{index-xoWtN52d.cjs → index-DQ828YJ3.cjs} +1 -1
- package/dist/{index-DscoLcOw.cjs → index-Dd0f1BbW.cjs} +1 -1
- package/dist/{index-CPB0w2l6.cjs → index-Dedec4ge.cjs} +1 -1
- package/dist/{index-D9dO5j-f.cjs → index-Dh-jVn_k.cjs} +1 -1
- package/dist/{index-DpFZafVa.cjs → index-DiH1XJT7.cjs} +1 -1
- package/dist/index-Dk2JasnZ.js +7160 -0
- package/dist/{index-X8WF79UU.js → index-DreiOrpO.js} +1 -1
- package/dist/{index-bYvPlXhg.js → index-DwthEhtx.js} +3 -3
- package/dist/index-DxzYZpUF.cjs +1 -0
- package/dist/{index-CbAodooU.cjs → index-EJijm_gT.cjs} +1 -1
- package/dist/{index-DfpAZOjr.cjs → index-H0DqKmLL.cjs} +1 -1
- package/dist/{index-CawlWi8m.js → index-Jg0ql8Mp.js} +1 -1
- package/dist/{index-Drq0txk5.js → index-Zany59GI.js} +5 -5
- package/dist/{index-DPy37ZAL.js → index-_2ipiKVV.js} +9 -9
- package/dist/{index-DK2cvNrz.cjs → index-e13kvxAL.cjs} +1 -1
- package/dist/{index-DzM6WA1r.cjs → index-iWe5mgri.cjs} +1 -1
- package/dist/{index-Cz8PRGBZ.cjs → index-oYpgUnY4.cjs} +1 -1
- package/dist/{index-DGVhaqMU.js → index-oeigx9VH.js} +9 -9
- package/dist/{index-BHhaGNHS.cjs → index-xgedt-d6.cjs} +1 -1
- package/dist/{index-DtSXRjG7.cjs → index-yHAzEkeM.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CZOeA7Y9.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BRXN7Gfo.cjs} +57 -57
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BeaDQFEl.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BvMhQyZH.js} +1719 -1714
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CJs6HWwL.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-4z39-zw0.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-4_st9FDQ.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CHCGWDD5.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Kt1Vrh-p.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BdozJyyK.js} +3593 -3593
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-rzJNifUt.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DftQyV40.cjs} +13 -13
- package/dist/{index.vue_vue_type_style_index_1_lang-DBNg5_px.js → index.vue_vue_type_style_index_1_lang-4sB5488P.js} +725 -725
- package/dist/{index.vue_vue_type_style_index_1_lang-D2ywVr0z.cjs → index.vue_vue_type_style_index_1_lang-DBAgORk2.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-BYX5pR4k.js → index.vue_vue_type_style_index_1_lang-DsYKKsZA.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-OU9B_H97.cjs → index.vue_vue_type_style_index_1_lang-IgCzvgcg.cjs} +9 -9
- package/dist/{main-XCOYGDd2.cjs → main-C71Jj6LB.cjs} +1 -1
- package/dist/{main-DAoVnpFx.js → main-LuUE70sZ.js} +3 -3
- package/dist/{menu-BvSqU62v.cjs → menu-D6AENiAF.cjs} +1 -1
- package/dist/{menu-CNI3sNvL.js → menu-DGdwyPQB.js} +1 -1
- 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.css +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/{threeLatheView-R-8CkQbF.js → threeLatheView-CGXwmd8H.js} +5 -5
- package/dist/{threeLatheView-DzwMIuVs.cjs → threeLatheView-SBTAb9qw.cjs} +1 -1
- package/dist/{threeModel-DpXjYLZi.js → threeModel-S39zf8zH.js} +2 -2
- package/dist/{threeModel-IBF1uOnl.cjs → threeModel-sxF7_Gtz.cjs} +1 -1
- package/dist/{threePreview-DOlWq0Cj.js → threePreview-BUy9iFev.js} +2 -2
- package/dist/{threePreview-D_e73Uj2.cjs → threePreview-BekOk_mN.cjs} +1 -1
- package/dist/{threeSceneView-MGQe7KD6.cjs → threeSceneView-Ca5ylpgi.cjs} +1 -1
- package/dist/{threeSceneView-Dsyxl9x_.js → threeSceneView-CzZlOwc4.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-Skqr7Cdg.js → threeSceneViewForCPMPIP-Cf2h2A2E.js} +4 -4
- package/dist/{threeSceneViewForCPMPIP-DjIxRlCW.cjs → threeSceneViewForCPMPIP-CsSfcWCI.cjs} +1 -1
- package/dist/{threeViewerHost-DkD5iiX5.cjs → threeViewerHost-Ckjp01Nl.cjs} +1 -1
- package/dist/{threeViewerHost-Bd8qkbAo.js → threeViewerHost-DEaqs_Q6.js} +4 -4
- package/dist/{useClipping-B5qFcl1Y.cjs → useClipping-CKcppHoI.cjs} +1 -1
- package/dist/{useClipping-Dtj7R8Lk.js → useClipping-Cr5xcila.js} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-BUGtd-rF.cjs +0 -1
- package/dist/index-COg4Cgp2.js +0 -7166
- package/dist/index-CRMSwhCo.cjs +0 -1
- package/dist/index-DlGqy3Io.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-IgCzvgcg.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-Ckjp01Nl.cjs"),U=require("./index-x-j1smHg.cjs");function P(r){try{const c=new URL(r).pathname,i=c.substring(c.lastIndexOf("/")+1);return decodeURIComponent(i)}catch(c){return console.error("无法解析URL以提取文件名:",r,c),"未知文件名"}}function S(r){if(!r)return;const c=r.match(/filename\*\s*=\s*([^;]+)/i);if(c){let n=c[1].trim();n=n.replace(/^"(.*)"$/,"$1");const h=n.split("''");if(h.length===2){const m=h[0].toUpperCase(),f=h[1];try{if(m==="UTF-8")return decodeURIComponent(f)}catch{}return f}try{return decodeURIComponent(n)}catch{return n}}const i=r.match(/filename\s*=\s*("?)([^";]+)\1/i);if(i)return i[2].trim()}async function K(r){let c,i;if(/^https?:\/\//.test(r))try{const n=await fetch(r,{method:"GET",cache:"no-store"});if(!n.ok)throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);c=await n.blob(),i=P(r)}catch(n){throw console.error("使用 fetch 下载文件时出错:",n),n}else try{const n=await _.downloadAvatarApi({url:r});if(n.status!==200)throw new Error(`下载失败: ${n.status}`);const h=n.headers["content-disposition"];i=S(h)||"无文件名",c=n.data}catch(n){throw console.error("通过 API 下载文件时出错:",n),n}return new File([c],i,{type:c.type})}function N(r){return new Promise((c,i)=>{const n=new FileReader;n.onload=h=>{var m;try{const f=(m=h.target)==null?void 0:m.result,u=T.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=T.utils.sheet_to_json(F);c(E)}catch(f){i(f)}},n.readAsArrayBuffer(r)})}const V=async()=>{const r="弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let A=["夹持长度"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{A.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度;console.log("夹持长度",k,g);const $=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let x=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{x.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=x,w[e.name+"Content"]=e}});const I=U.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:$,animationData:I},c},q=async()=>{const r="双弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let A=["夹持位置"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{A.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置;console.log("夹持长度",k,g);const $=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let x=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{x.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=x,w[e.name+"Content"]=e}});const I=U.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:$,animationData:I},c},B=async r=>await K(r),j=async r=>await N(r),X=async r=>{const c=await B(r);return await j(c)};exports.fetchDoubleRobotAnimationData=q;exports.fetchSingleRobotAnimationData=V;exports.initXYZBCList=X;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-4sB5488P.js";
|
|
2
2
|
import { r as K, u as S } from "./xlsx-ByPOQ6N_.js";
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
3
|
+
import { d as I } from "./threeViewerHost-DEaqs_Q6.js";
|
|
4
4
|
import { c as P } from "./index-XsSjkhOk.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as n, reactive as o, onMounted as r, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
|
-
import { s as u } from "./index-
|
|
3
|
-
import { S as i } from "./index-
|
|
4
|
-
import { u as p, aI as l } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { s as u } from "./index-_2ipiKVV.js";
|
|
3
|
+
import { S as i } from "./index-DreiOrpO.js";
|
|
4
|
+
import { u as p, aI as l } from "./index.vue_vue_type_style_index_1_lang-4sB5488P.js";
|
|
5
5
|
import { s as d } from "./index-XsSjkhOk.js";
|
|
6
6
|
const I = /* @__PURE__ */ n({
|
|
7
7
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as S, E as v, u as P, p as K } from "./index-XsSjkhOk.js";
|
|
2
|
-
import { u as k } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { u as k } from "./index.vue_vue_type_style_index_1_lang-4sB5488P.js";
|
|
3
3
|
import { ref as h } from "vue";
|
|
4
4
|
const A = k(K), E = P(K), x = h(!1), D = h(!1), j = async () => {
|
|
5
5
|
const I = S({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as D, openBlock as O, createElementVNode as b, renderSlot as B, defineComponent as X, ref as U, resolveComponent as S, createVNode as y, withCtx as f, reactive as z, watch as Y, unref as L, toDisplayString as N, createTextVNode as R } from "vue";
|
|
2
2
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-4sB5488P.js";
|
|
4
4
|
import { useRouter as be } from "vue-router";
|
|
5
5
|
import { a as me, u as he, p as ve, s as _e, E, b as we, g as Q } from "./index-XsSjkhOk.js";
|
|
6
|
-
import { v as Ce } from "./index-
|
|
6
|
+
import { v as Ce } from "./index-2F2yiNx1.js";
|
|
7
7
|
const Ie = {}, ke = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
8
8
|
function Ee(I, K) {
|
|
9
9
|
return O(), D("div", ke, [
|