ss-component-new 1.1.918 → 1.1.919
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-CfTiH3Ud.js → animationData-B0iQgUBJ.js} +1 -1
- package/dist/{animationData-BxCcRPZ5.cjs → animationData-CNrBNhiu.cjs} +1 -1
- package/dist/{index-B3shqLJM.js → index-A2zJBkQT.js} +1 -1
- package/dist/{index-Oy_yEimw.cjs → index-BEk0Qtgy.cjs} +1 -1
- package/dist/{index-BUbNf_rj.cjs → index-BVWnLWoe.cjs} +1 -1
- package/dist/{index-BRXibRYH.js → index-BWFdq9hW.js} +1 -1
- package/dist/{index-B-qSWQ9d.cjs → index-BdKTO_bs.cjs} +1 -1
- package/dist/{index-CsMQDXQk.js → index-BpSSMyhr.js} +1 -1
- package/dist/{index-Cmpx1RdG.cjs → index-Br_XSSFa.cjs} +1 -1
- package/dist/index-Bw9MRBXk.js +2431 -0
- package/dist/{index-BeHiTg6Y.js → index-C2lWch1l.js} +5 -5
- package/dist/{index-DnyAUDVD.js → index-C8joPfZA.js} +1 -1
- package/dist/{index-CYR1cOmN.cjs → index-CEdpzzZQ.cjs} +1 -1
- package/dist/{index-DweqMv7Y.js → index-CJbUYtbV.js} +3 -3
- package/dist/{index-Be89K6rB.js → index-CR6Drdbl.js} +3 -3
- package/dist/{index-Bv4GPGeA.cjs → index-CWMs7JWe.cjs} +1 -1
- package/dist/{index-BoKhau01.cjs → index-Cl5MWEXF.cjs} +1 -1
- package/dist/{index-BWCa_Qr3.js → index-CmVc5fYM.js} +1 -1
- package/dist/index-Cqnabqn2.cjs +1 -0
- package/dist/{index-q-rO-Vj2.js → index-CxtW69Cv.js} +2 -2
- package/dist/{index-Bj0i_Qk0.js → index-DRlCvFpe.js} +1 -1
- package/dist/{index-DFhj7ZnO.js → index-DSLz3sew.js} +1 -1
- package/dist/{index-DW-90ZpG.js → index-DYPEqVAR.js} +1 -1
- package/dist/{index-SwAnfzZf.cjs → index-DZxgSPeU.cjs} +1 -1
- package/dist/{index-WPZA8VHj.cjs → index-DdB8_fBd.cjs} +1 -1
- package/dist/{index-WQynbOva.cjs → index-Desjs7sb.cjs} +1 -1
- package/dist/{index-JKsH0liA.js → index-Dm5LNQgS.js} +2 -2
- package/dist/index-Dwr_vmrx.cjs +1 -0
- package/dist/{index-FAmaor7y.js → index-FCefFXPU.js} +1 -1
- package/dist/{index-BCfg5pjp.cjs → index-GMUJqU1y.cjs} +1 -1
- package/dist/{index-DAFta38x.js → index-L2JbW0WM.js} +13 -13
- package/dist/{index-Cxw8LmU3.cjs → index-S48ArOp5.cjs} +1 -1
- package/dist/{index-B8Bt5Kc6.cjs → index-TIM4-CYj.cjs} +1 -1
- package/dist/index-a_XQ0b-n.js +7016 -0
- package/dist/{index-CPxgYT8Y.cjs → index-hiBehVVa.cjs} +1 -1
- package/dist/{index-DEy1Jgro.js → index-kQLRE1yN.js} +2 -2
- package/dist/{index-n_ZZK4do.cjs → index-npMCcWWd.cjs} +1 -1
- package/dist/{index-ClbKCFCN.cjs → index-wON-BG6o.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-C9wxca36.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-B4s3tl_3.cjs} +14 -14
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-3ii_OJWI.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CzSBxbjC.js} +9499 -9463
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Dfle53kG.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-B1JyyIOG.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CGqckgEU.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BMqk6Pa9.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-9htxIQIP.cjs → index.vue_vue_type_style_index_1_lang-CZe5YKkf.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Bh80XgxM.js → index.vue_vue_type_style_index_1_lang-DUTolTnr.js} +1 -1
- package/dist/{main-CjKRs8lf.cjs → main-BFNvK2tU.cjs} +1 -1
- package/dist/{main-CwIJpIdu.js → main-Cicc0CtD.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeLatheView-COJKteTM.js → threeLatheView-CjKMJFBC.js} +1 -1
- package/dist/{threeLatheView-Cyo_eLlA.cjs → threeLatheView-eg0G-W87.cjs} +1 -1
- package/dist/{threeModel-Djh-POJf.cjs → threeModel-DSUjkyfX.cjs} +1 -1
- package/dist/{threeModel-ql_8tao-.js → threeModel-dJrzefAP.js} +2 -2
- package/dist/{threeSceneView-9IiOAeOk.cjs → threeSceneView-CTXHlYwd.cjs} +1 -1
- package/dist/{threeSceneView-4ob-ZV0I.js → threeSceneView-DjtbUMz5.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-CJLtTek-.cjs → threeSceneViewForCPMPIP-C4WwqEku.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-WCFMIlRy.js → threeSceneViewForCPMPIP-VDjGH0Dv.js} +1 -1
- package/dist/{threeViewerHost-D5YYwfCI.cjs → threeViewerHost-9zNtl8ZW.cjs} +1 -1
- package/dist/{threeViewerHost-gq4oC6L-.js → threeViewerHost-CxLZglRT.js} +1 -1
- package/package.json +1 -1
- package/dist/index-BjOAdImF.js +0 -6982
- package/dist/index-CyzKYBU1.cjs +0 -1
- package/dist/index-Dmj_XlRJ.js +0 -2387
- package/dist/index-SlYilQqw.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-BO0ESRoA.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-CxLZglRT.js";
|
|
4
4
|
import { c as P } from "./index-BQYjK74w.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-C6Wqwl0x.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-C6Wqwl0x.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-9zNtl8ZW.cjs"),U=require("./index-1z9RrjZc.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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
|
|
2
|
-
import { s as E } from "./index-
|
|
2
|
+
import { s as E } from "./index-Bw9MRBXk.js";
|
|
3
3
|
import { u as F, aK as x } from "./index.vue_vue_type_style_index_1_lang-BO0ESRoA.js";
|
|
4
4
|
import { s as O, c as H } from "./index-BQYjK74w.js";
|
|
5
5
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-1z9RrjZc.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-C6Wqwl0x.cjs"),C=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-1z9RrjZc.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-C6Wqwl0x.cjs"),C=require("./index-Dwr_vmrx.cjs"),r=require("./index-CjI5pDiU.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=f.useMenuState(u.pinia),{menus:_}=u.storeToRefs(m),p=l.ref([]),c=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await c(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(_.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,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|