ss-component-new 1.1.975 → 1.1.977
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-BfejrE7V.js → animationData-DeUd0MQ0.js} +3 -3
- package/dist/{animationData-C5H4pWzb.cjs → animationData-w4Y_8FmM.cjs} +1 -1
- package/dist/{index-CqMz6ftH.cjs → index-1Bkgv34t.cjs} +1 -1
- package/dist/{index-DZlsgyP8.cjs → index-2vryH0V5.cjs} +1 -1
- package/dist/{index-ljane3uc.js → index-7J2iviL6.js} +2 -2
- package/dist/{index-DKtrB6tJ.cjs → index-9XD17kVa.cjs} +1 -1
- package/dist/{index-CE61S_ya.js → index-B4Rf20QM.js} +4 -4
- package/dist/{index-D0VQAnry.cjs → index-B7AmfAjB.cjs} +1 -1
- package/dist/{index-i1Ur0X2r.cjs → index-B8EZL7vn.cjs} +1 -1
- package/dist/{index-DCRcLA58.js → index-BEvpcrN1.js} +193 -198
- package/dist/{index-D5yofb1u.js → index-BPf2BpP4.js} +7 -7
- package/dist/{index-CUAz6NED.cjs → index-BQ9HHqA7.cjs} +1 -1
- package/dist/{index-1Pyn5J0n.cjs → index-BWs2_OCw.cjs} +1 -1
- package/dist/{index-D8kdbDEu.js → index-BYuBk31H.js} +1 -1
- package/dist/{index-C9QiVBOB.js → index-BfeRKbtN.js} +2 -2
- package/dist/{index-CC-HwaNO.cjs → index-BhtaFtOG.cjs} +1 -1
- package/dist/{index-7d1PPepw.cjs → index-Bk7aedV8.cjs} +1 -1
- package/dist/{index--62BfHQR.js → index-BnI5HMLf.js} +1 -1
- package/dist/{index-M636OoDV.js → index-BoTMxXw1.js} +3 -3
- package/dist/{index-Du65T89B.cjs → index-BufozHUX.cjs} +1 -1
- package/dist/{index-tQ1OzSBW.js → index-Bv7E80lX.js} +9 -9
- package/dist/{index-CHJuOJ6-.cjs → index-C0pIGVH-.cjs} +1 -1
- package/dist/{index-zwLopk-G.cjs → index-CEqFXYrt.cjs} +1 -1
- package/dist/{index-BdlRJSgS.cjs → index-CGR0sOgw.cjs} +1 -1
- package/dist/{index-DzRa4tGz.cjs → index-CHKinrGL.cjs} +1 -1
- package/dist/{index-DHKTnO2Y.cjs → index-CLZexN8a.cjs} +1 -1
- package/dist/{index-CN4uY01z.js → index-CpXY1KVy.js} +1 -1
- package/dist/{index-vPUIHSwq.js → index-CpeLetCK.js} +2 -2
- package/dist/{index-Cp90RXIL.js → index-CppGiGdT.js} +5 -5
- package/dist/{index-BEl0sHgI.js → index-Cq3UwcWr.js} +1 -1
- package/dist/{index-gnTIUKEr.js → index-CwmRt1Hk.js} +1 -1
- package/dist/{index-9Z8xfWSz.js → index-CyNgxesM.js} +1 -1
- package/dist/{index-BMCXBaQL.js → index-D-QwIhVr.js} +3 -3
- package/dist/{index-CqLChYLA.cjs → index-D8PR_kFh.cjs} +1 -1
- package/dist/{index-C96NFOTd.cjs → index-DANR-4oc.cjs} +1 -1
- package/dist/{index-CKCJzfsT.js → index-DDUzJ1lI.js} +2 -2
- package/dist/{index-DN2kwgIa.cjs → index-DIpBACh5.cjs} +1 -1
- package/dist/{index-CKRp3POy.cjs → index-DJjXSHO4.cjs} +1 -1
- package/dist/{index-CUzJl3x5.cjs → index-DNsoiI1F.cjs} +1 -1
- package/dist/{index-CqMQDnfv.js → index-DSDRu83v.js} +1 -1
- package/dist/{index-JpGzzrTI.cjs → index-DY6F_dIY.cjs} +1 -1
- package/dist/{index-4Gx8auT8.js → index-DaRV0lth.js} +4 -4
- package/dist/{index-Dqn92Hhj.cjs → index-Dg2bWa6e.cjs} +1 -1
- package/dist/{index-YT2M5M0x.cjs → index-DjLDrIUQ.cjs} +1 -1
- package/dist/{index-DLtZySnO.js → index-Dq0yrjMi.js} +2 -2
- package/dist/{index-DGb9iTmP.js → index-DqALbckq.js} +5 -5
- package/dist/{index-dKzFotS8.cjs → index-Ds_dlgfJ.cjs} +1 -1
- package/dist/{index-Bzrr6jc9.js → index-DzDGRgwd.js} +1 -1
- package/dist/{index-B07bc3dn.cjs → index-HTWq8MYP.cjs} +1 -1
- package/dist/{index-B2BS6oxD.js → index-IQvJz8qi.js} +5 -5
- package/dist/{index-CmNhwnCp.js → index-LUCZMUfi.js} +8 -8
- package/dist/{index-BM9JTSVJ.js → index-S-EQUVL4.js} +1 -1
- package/dist/{index-D7rFcx4h.js → index-SXPBsaq8.js} +1 -1
- package/dist/{index-BJeHXU0M.js → index-YBzht3N2.js} +2 -2
- package/dist/{index-DO1TN5VE.cjs → index-ahNNnAxi.cjs} +1 -1
- package/dist/{index-pAuMIs8a.cjs → index-b-p3DSpm.cjs} +1 -1
- package/dist/{index-DDhhMRAy.js → index-baKiLH9U.js} +2 -2
- package/dist/{index-Co-9CZNH.js → index-kt6CvKde.js} +1 -1
- package/dist/{index-CsfS0nO3.cjs → index-pmlctLhc.cjs} +1 -1
- package/dist/{index-DoAelakE.cjs → index-qZg6Cakw.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfKE5vMF.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ByFaI6-o.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CB1Ix4VK.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C6wv8d-e.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-_5DPjrhm.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-C5p5Qh75.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-pMuXs1GW.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DBnP_VRh.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-C88Vw2aE.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BTXlLCOQ.cjs} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Y70nNdJ6.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-hkHJm4A-.js} +14 -14
- package/dist/{index.vue_vue_type_style_index_1_lang-D_InzCcX.js → index.vue_vue_type_style_index_1_lang-CMiNtItK.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-DciO92jy.cjs → index.vue_vue_type_style_index_1_lang-CmtFtnS5.cjs} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-DpJZSHCw.cjs → index.vue_vue_type_style_index_1_lang-CsZWESNo.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-CczBMUxW.js → index.vue_vue_type_style_index_1_lang-DmGr8EKo.js} +581 -579
- package/dist/{main-CJzr8rCB.js → main-BfPVc5jm.js} +3 -3
- package/dist/{main-BAjwTP2L.cjs → main-CPHosOeE.cjs} +1 -1
- 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-CiI7sSZ_.cjs → threeLatheView-DdqsY1i1.cjs} +1 -1
- package/dist/{threeLatheView-D3Rd8xrU.js → threeLatheView-vznev2Nl.js} +1 -1
- package/dist/{threeModel-n3T4ciUx.js → threeModel-BktKFqR3.js} +2 -2
- package/dist/{threeModel-Bs4-TLkn.cjs → threeModel-CIzqaHG6.cjs} +1 -1
- package/dist/{threeSceneView-BHuQqA4P.js → threeSceneView-BWUsVMjy.js} +9 -9
- package/dist/{threeSceneView-CoWgUGHf.cjs → threeSceneView-C8lkG5uT.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-Bp76feep.cjs → threeSceneViewForCPMPIP-Bipk1NnT.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-auShVbWJ.js → threeSceneViewForCPMPIP-Bx9JYDDa.js} +7 -7
- package/dist/{threeViewerHost-5iTZns9u.js → threeViewerHost-BK22VNoo.js} +3 -3
- package/dist/{threeViewerHost-QDZVCJEb.cjs → threeViewerHost-D9T1Nmwl.cjs} +1 -1
- package/dist/{urdfTree-Bu3LnEDY.js → urdfTree-BuTtRGdl.js} +47 -44
- package/dist/urdfTree-CCktg0FK.cjs +1 -0
- package/dist/{useRayCaster-FNiGsLvt.js → useRayCaster-C8OXXUEV.js} +1 -1
- package/dist/{useRayCaster-PiDvwWg5.cjs → useRayCaster-XGuxiWr-.cjs} +1 -1
- package/package.json +1 -1
- package/dist/urdfTree-DRLRpM_I.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
-
import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
1
|
+
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-DmGr8EKo.js";
|
|
2
|
+
import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-CMiNtItK.js";
|
|
3
|
+
import { d as I } from "./threeViewerHost-BK22VNoo.js";
|
|
4
4
|
import { c as P } from "./index-BJbNtdLp.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-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-CmtFtnS5.cjs"),I=require("./index.vue_vue_type_style_index_1_lang-CsZWESNo.cjs"),U=require("./threeViewerHost-D9T1Nmwl.cjs"),T=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 U.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=I.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=I.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 $=["夹持长度"],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=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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 $=["夹持位置"],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=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DIpBACh5.cjs"),n=require("./index-DJjXSHO4.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-x-j1smHg.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-x-j1smHg.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-CmtFtnS5.cjs"),C=require("./index-DIpBACh5.cjs"),r=require("./index-BxGHSUPl.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
3
|
-
import { u as d, at as p, ar as l } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { s as m } from "./index-BPf2BpP4.js";
|
|
3
|
+
import { u as d, at as p, ar as l } from "./index.vue_vue_type_style_index_1_lang-DmGr8EKo.js";
|
|
4
4
|
import { s as g, u as h } from "./index-BJbNtdLp.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
6
6
|
__name: "index",
|