ss-component-new 1.2.89 → 1.2.90

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.
Files changed (63) hide show
  1. package/dist/{animationData-BceOYz3t.cjs → animationData-ChnEQcWN.cjs} +1 -1
  2. package/dist/{animationData-cz9yaraV.js → animationData-R5RUbyuY.js} +1 -1
  3. package/dist/{index-DnWV9aik.js → index-43r-KEgN.js} +1 -1
  4. package/dist/{index-gEhfvrw9.js → index-945YmMLJ.js} +1 -1
  5. package/dist/{index-BBedBiu1.js → index-B3hVexQF.js} +3 -3
  6. package/dist/{index-CZ6HZJE2.js → index-B67-PgYw.js} +1 -1
  7. package/dist/{index-Ckha_JO6.js → index-BRVn_EF1.js} +2 -2
  8. package/dist/{index-Cx6WbHc4.cjs → index-BW7_3RoD.cjs} +1 -1
  9. package/dist/{index-HaBsmo21.js → index-BhhFLASG.js} +5 -5
  10. package/dist/{index-CrJ-2GSh.cjs → index-CGhvoFIh.cjs} +1 -1
  11. package/dist/{index-DlmzYZjv.js → index-CIL8wLzQ.js} +2 -2
  12. package/dist/{index-VAIyDbcT.js → index-CKzD8tit.js} +1 -1
  13. package/dist/{index-DHSqydCb.js → index-CNKc5GU4.js} +1 -1
  14. package/dist/{index-kJYCjFRC.cjs → index-CRBj0IE1.cjs} +1 -1
  15. package/dist/{index-Cx0e9wI7.cjs → index-CSASPaZP.cjs} +1 -1
  16. package/dist/{index-CvNF7UrX.cjs → index-Cj-t-GUv.cjs} +1 -1
  17. package/dist/{index-Do55CjH4.cjs → index-ClxM8xCG.cjs} +1 -1
  18. package/dist/{index-DLF-rZp-.js → index-CmPnaCqr.js} +12 -12
  19. package/dist/{index-BMd3PTaa.cjs → index-CpGj9jjq.cjs} +1 -1
  20. package/dist/{index-C3TG-567.js → index-CxuGIbhq.js} +1 -1
  21. package/dist/{index-TvxCcWL3.cjs → index-D5VkPezA.cjs} +1 -1
  22. package/dist/{index-DGA9Umxw.cjs → index-DBndBAmi.cjs} +1 -1
  23. package/dist/{index-D4L62Ng5.cjs → index-DLShoBAD.cjs} +1 -1
  24. package/dist/{index-Cui0eEum.cjs → index-DNWalfgy.cjs} +1 -1
  25. package/dist/{index-7pAPxJKA.js → index-DP_i5ftZ.js} +1 -1
  26. package/dist/{index-XAGbFQyj.cjs → index-DRxhdO38.cjs} +1 -1
  27. package/dist/{index-BIFWKFgy.cjs → index-DfghibBM.cjs} +1 -1
  28. package/dist/{index-CF3EDmxa.js → index-Dm2K00uW.js} +4 -4
  29. package/dist/{index-DwP4dBya.js → index-DsLShQZL.js} +2 -2
  30. package/dist/{index-DmWD_94x.cjs → index-DvSKjwnE.cjs} +1 -1
  31. package/dist/{index-CZQcTyH7.cjs → index-H5zWVryT.cjs} +1 -1
  32. package/dist/{index-BBcGTAcF.js → index-PsB2VFdd.js} +2 -2
  33. package/dist/{index-KosCsYsR.cjs → index-XW9cdt8O.cjs} +1 -1
  34. package/dist/{index-Bs_LoZjG.js → index-_PqtVmB5.js} +3 -3
  35. package/dist/{index-BMsn8UNC.cjs → index-bFdNa8aj.cjs} +1 -1
  36. package/dist/{index-_NRJBGmA.js → index-pziqfdAa.js} +1 -1
  37. package/dist/{index-pPR2Vmk4.js → index-s_rVCHvs.js} +1 -1
  38. package/dist/{index-Go9mCE8z.cjs → index-wZjCbQV_.cjs} +1 -1
  39. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Dsh8O5SA.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-0MW1VRgy.js} +4 -4
  40. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D33Zn0tl.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-1NUhtQk0.cjs} +1 -1
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-axNB8U_I.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BMKC5TVn.js} +2 -2
  42. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BrA_L4QZ.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-C72Rr1SH.cjs} +1 -1
  43. package/dist/{index.vue_vue_type_style_index_1_lang-BLhks2a1.js → index.vue_vue_type_style_index_1_lang-C-2EhQeU.js} +1 -1
  44. package/dist/{index.vue_vue_type_style_index_1_lang-DmKFKo03.cjs → index.vue_vue_type_style_index_1_lang-Xo4JSq-J.cjs} +1 -1
  45. package/dist/{main-CtXTseBB.cjs → main-BE-iA6hW.cjs} +1 -1
  46. package/dist/{main-uXXF2UAJ.js → main-Bv7oX7Xn.js} +2 -2
  47. package/dist/ss-component.cjs +1 -1
  48. package/dist/ss-component.js +6 -6
  49. package/dist/ss-component2.cjs +1 -1
  50. package/dist/ss-component2.js +10 -10
  51. package/dist/{threeModel-CzOa_LSd.js → threeModel-BmkWoPdy.js} +2 -2
  52. package/dist/{threeModel-OGJISKHI.cjs → threeModel-cN3XeS9l.cjs} +1 -1
  53. package/dist/{threeSceneView-Fsu73EkI.cjs → threeSceneView-EIPGJRbv.cjs} +1 -1
  54. package/dist/{threeSceneView-Ct0gR37j.js → threeSceneView-afr3Fv7q.js} +3 -3
  55. package/dist/{threeSceneViewForCPMPIP-BEKYa0p7.cjs → threeSceneViewForCPMPIP-BxakXYgn.cjs} +1 -1
  56. package/dist/{threeSceneViewForCPMPIP-DgzzW1p5.js → threeSceneViewForCPMPIP-CR5y7Hzt.js} +3 -3
  57. package/dist/{threeTrackPathView-DejvRIf1.js → threeTrackPathView-CKhnsfKP.js} +4 -2
  58. package/dist/{threeTrackPathView-lhebTqR7.cjs → threeTrackPathView-WLhJTcJd.cjs} +2 -2
  59. package/dist/{threeViewerHost-BZOpA6mF.js → threeViewerHost-5yvNo1Ub.js} +1 -1
  60. package/dist/{threeViewerHost-cIBL_Tao.cjs → threeViewerHost-Ym_dg2DG.cjs} +1 -1
  61. package/dist/{workpieceTreePanel-CTj1J8en.cjs → workpieceTreePanel-CTOK6c6d.cjs} +1 -1
  62. package/dist/{workpieceTreePanel-UKomlBEL.js → workpieceTreePanel-D3a0Vvh1.js} +2 -2
  63. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";const V=require("./index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs"),k=require("./threeViewerHost-cIBL_Tao.cjs"),a=require("./dataUtil-DrslFFRT.cjs"),q=require("./index-C8qRkCgn.cjs"),E=async()=>{let n={};const c=["弯管仿真加工分析","模具筛选安装"],y=await a.getMenuData(c),L=a.getTargetGroup("输入(加工件)",y),i=a.getFormData(L),u=i.管长||0,m=i.外径||0;console.log("管长",u,"外径",m,i);const P=u,C=m/2,T=["弯管仿真加工分析","加工位姿生成"],G=await a.getMenuData(T),R=a.getTargetGroup("输入",G),g=a.getFormData(R),D=g.夹持长度||0;console.log("夹持长度",D,g);const _=Number(D),r={},A=["弯管仿真加工分析","仿真动画生成"],s=await a.getMenuData(A);s==null||s.forEach(t=>{var h,b,f,d,M,F;if((t==null?void 0:t.comp)==="Table"){let w=[],p=(f=(b=(h=t==null?void 0:t.compData)==null?void 0:h.find(e=>(e==null?void 0:e.key)==="header"))==null?void 0:b.contents)==null?void 0:f.map(e=>e==null?void 0:e.label),l=(F=(M=(d=t==null?void 0:t.compData)==null?void 0:d.find(e=>(e==null?void 0:e.key)==="tableContents"))==null?void 0:M.contents)==null?void 0:F.map(e=>(e=e==null?void 0:e.filter(o=>!(o!=null&&o.id)),e));l==null||l.forEach(e=>{w.push(V.getValueToObjectValue(e,p==null?void 0:p.filter(o=>o!=="操作")))}),r[t.name]=w,r[t.name+"Content"]=t}});const x=q.cloneDeep(r)||[];return n={initialPipeLength:P,pipeRadius:C,clampLength:_,animationData:x},n},O=async()=>{let n={};const c=["双弯管仿真加工分析","模具筛选安装"],y=await a.getMenuData(c),L=a.getTargetGroup("输入(加工件)",y),i=a.getFormData(L),u=i.管长||0,m=i.外径||0;console.log("管长",u,"外径",m,i);const P=u,C=m/2,T=["双弯管仿真加工分析","加工工艺生成"],G=await a.getMenuData(T),R=a.getTargetGroup("输入",G),g=a.getFormData(R),D=g.夹持位置||0;console.log("夹持长度",D,g);const _=Number(D),r={},A=["双弯管仿真加工分析","仿真动画生成"],s=await a.getMenuData(A);s==null||s.forEach(t=>{var h,b,f,d,M,F;if((t==null?void 0:t.comp)==="Table"){let w=[],p=(f=(b=(h=t==null?void 0:t.compData)==null?void 0:h.find(e=>(e==null?void 0:e.key)==="header"))==null?void 0:b.contents)==null?void 0:f.map(e=>e==null?void 0:e.label),l=(F=(M=(d=t==null?void 0:t.compData)==null?void 0:d.find(e=>(e==null?void 0:e.key)==="tableContents"))==null?void 0:M.contents)==null?void 0:F.map(e=>(e=e==null?void 0:e.filter(o=>!(o!=null&&o.id)),e));l==null||l.forEach(e=>{w.push(V.getValueToObjectValue(e,p==null?void 0:p.filter(o=>o!=="操作")))}),r[t.name]=w,r[t.name+"Content"]=t}});const x=q.cloneDeep(r)||[];return n={initialPipeLength:P,pipeRadius:C,clampLength:_,animationData:x},n},B=async n=>await k.downloadFile(n),X=async n=>await k.readCsv(n),Y=async n=>{const c=await B(n);return await X(c)};exports.fetchDoubleRobotAnimationData=O;exports.fetchSingleRobotAnimationData=E;exports.initXYZBCList=Y;
1
+ "use strict";const V=require("./index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs"),k=require("./threeViewerHost-Ym_dg2DG.cjs"),a=require("./dataUtil-DrslFFRT.cjs"),q=require("./index-C8qRkCgn.cjs"),E=async()=>{let n={};const c=["弯管仿真加工分析","模具筛选安装"],y=await a.getMenuData(c),L=a.getTargetGroup("输入(加工件)",y),i=a.getFormData(L),u=i.管长||0,m=i.外径||0;console.log("管长",u,"外径",m,i);const P=u,C=m/2,T=["弯管仿真加工分析","加工位姿生成"],G=await a.getMenuData(T),R=a.getTargetGroup("输入",G),g=a.getFormData(R),D=g.夹持长度||0;console.log("夹持长度",D,g);const _=Number(D),r={},A=["弯管仿真加工分析","仿真动画生成"],s=await a.getMenuData(A);s==null||s.forEach(t=>{var h,b,f,d,M,F;if((t==null?void 0:t.comp)==="Table"){let w=[],p=(f=(b=(h=t==null?void 0:t.compData)==null?void 0:h.find(e=>(e==null?void 0:e.key)==="header"))==null?void 0:b.contents)==null?void 0:f.map(e=>e==null?void 0:e.label),l=(F=(M=(d=t==null?void 0:t.compData)==null?void 0:d.find(e=>(e==null?void 0:e.key)==="tableContents"))==null?void 0:M.contents)==null?void 0:F.map(e=>(e=e==null?void 0:e.filter(o=>!(o!=null&&o.id)),e));l==null||l.forEach(e=>{w.push(V.getValueToObjectValue(e,p==null?void 0:p.filter(o=>o!=="操作")))}),r[t.name]=w,r[t.name+"Content"]=t}});const x=q.cloneDeep(r)||[];return n={initialPipeLength:P,pipeRadius:C,clampLength:_,animationData:x},n},O=async()=>{let n={};const c=["双弯管仿真加工分析","模具筛选安装"],y=await a.getMenuData(c),L=a.getTargetGroup("输入(加工件)",y),i=a.getFormData(L),u=i.管长||0,m=i.外径||0;console.log("管长",u,"外径",m,i);const P=u,C=m/2,T=["双弯管仿真加工分析","加工工艺生成"],G=await a.getMenuData(T),R=a.getTargetGroup("输入",G),g=a.getFormData(R),D=g.夹持位置||0;console.log("夹持长度",D,g);const _=Number(D),r={},A=["双弯管仿真加工分析","仿真动画生成"],s=await a.getMenuData(A);s==null||s.forEach(t=>{var h,b,f,d,M,F;if((t==null?void 0:t.comp)==="Table"){let w=[],p=(f=(b=(h=t==null?void 0:t.compData)==null?void 0:h.find(e=>(e==null?void 0:e.key)==="header"))==null?void 0:b.contents)==null?void 0:f.map(e=>e==null?void 0:e.label),l=(F=(M=(d=t==null?void 0:t.compData)==null?void 0:d.find(e=>(e==null?void 0:e.key)==="tableContents"))==null?void 0:M.contents)==null?void 0:F.map(e=>(e=e==null?void 0:e.filter(o=>!(o!=null&&o.id)),e));l==null||l.forEach(e=>{w.push(V.getValueToObjectValue(e,p==null?void 0:p.filter(o=>o!=="操作")))}),r[t.name]=w,r[t.name+"Content"]=t}});const x=q.cloneDeep(r)||[];return n={initialPipeLength:P,pipeRadius:C,clampLength:_,animationData:x},n},B=async n=>await k.downloadFile(n),X=async n=>await k.readCsv(n),Y=async n=>{const c=await B(n);return await X(c)};exports.fetchDoubleRobotAnimationData=O;exports.fetchSingleRobotAnimationData=E;exports.initXYZBCList=Y;
@@ -1,5 +1,5 @@
1
1
  import { k as x } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
2
- import { i as N, j as V } from "./threeViewerHost-BZOpA6mF.js";
2
+ import { i as N, j as V } from "./threeViewerHost-5yvNo1Ub.js";
3
3
  import { g as r, a as L, e as y } from "./dataUtil-BS-wt9Xk.js";
4
4
  import { c as O } from "./index-BUYYl2Pc.js";
5
5
  const z = async () => {
@@ -1,5 +1,5 @@
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-BBedBiu1.js";
2
+ import { s as u } from "./index-B3hVexQF.js";
3
3
  import { S as i } from "./index-CMb4s6NV.js";
4
4
  import { u as p, ap as l } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
5
5
  import { s as d } from "./index-BUYYl2Pc.js";
@@ -5,7 +5,7 @@ import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { bS as z4, bT as P4, cf as Zr, cg as bs, bG as e8, b8 as t3, U as t8, ae as A4, aJ as kt, b7 as _s, Z as V4, ch as i8, E as E3, p as i3, s as n3, c as Y2, a as B4, ci as n8, aW as s8, aw as o8, cj as l8, b as r8, b2 as a8 } from "./index-BUYYl2Pc.js";
6
6
  import { _ as me, s as Mn } from "./index-DkEISMpK.js";
7
7
  import { a as Tn, u as E4, aB as L4 } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
8
- import { g as c8, b as H4, T as Q3, a as h8, d as d8 } from "./threeViewerHost-BZOpA6mF.js";
8
+ import { g as c8, b as H4, T as Q3, a as h8, d as d8 } from "./threeViewerHost-5yvNo1Ub.js";
9
9
  import { s as u8 } from "./index-fbsH9PEh.js";
10
10
  var f8 = "[object Date]";
11
11
  function p8(n) {
@@ -1,10 +1,10 @@
1
1
  import { ref as R, watch as Me, nextTick as sa, resolveComponent as Ne, createBlock as Oe, openBlock as Y, withCtx as G, createElementVNode as de, renderSlot as Fa, onMounted as Sa, createElementBlock as Se, normalizeStyle as vl, normalizeClass as ar, toDisplayString as _e, createCommentVNode as xe, createVNode as ne, unref as Qe, Fragment as tl, renderList as cl, createTextVNode as Fe, defineComponent as rr, reactive as Fl, inject as sn, provide as un, onBeforeUnmount as on, computed as za, onUnmounted as tn, createSlots as cn, withDirectives as Ja, vShow as Ra } from "vue";
2
2
  import { by as Wa, ay as qa, c as J, E as Ke, cb as ka, p as yl, s as Al, u as dn, bI as ra, d as ya, b as Ul, g as zl, bK as pn, f as fn, ce as gn } from "./index-BUYYl2Pc.js";
3
3
  import { d as Ga, aP as hn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js";
4
- import { c as xl, _ as Qa, h as yn, e as vn, E as bn } from "./index-gEhfvrw9.js";
5
- import { c as Sn, e as Rl, a as kn, T as mn, d as va, w as Tn } from "./threeViewerHost-BZOpA6mF.js";
4
+ import { c as xl, _ as Qa, h as yn, e as vn, E as bn } from "./index-945YmMLJ.js";
5
+ import { c as Sn, e as Rl, a as kn, T as mn, d as va, w as Tn } from "./threeViewerHost-5yvNo1Ub.js";
6
6
  import { aA as ua, av as An, k as Un, i as xn, u as _n, az as Cn, a as On, j as Ge, aO as Ha, aP as Xa, aQ as En, aR as Dn, l as na, E as Ya, ax as Za, aS as Ln } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
7
- import "./index.vue_vue_type_style_index_1_lang-BLhks2a1.js";
7
+ import "./index.vue_vue_type_style_index_1_lang-C-2EhQeU.js";
8
8
  import { _ as oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  import { s as Jl } from "./index-DkEISMpK.js";
10
10
  import "./index-C7Ks0zLC.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
2
2
  import { S as m } from "./index-DZQ1Y80J.js";
3
- import { s as _ } from "./index-BBedBiu1.js";
3
+ import { s as _ } from "./index-B3hVexQF.js";
4
4
  import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
6
6
  __name: "index",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as g, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
2
2
  import { S as I, t as x } from "./index-C7Ks0zLC.js";
3
- import { s as w, a as L } from "./index-DlmzYZjv.js";
3
+ import { s as w, a as L } from "./index-CIL8wLzQ.js";
4
4
  import "./index-BHtNKL1L.js";
5
5
  import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js";
6
- import { d as E } from "./index-gEhfvrw9.js";
6
+ import { d as E } from "./index-945YmMLJ.js";
7
7
  import "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
8
8
  import { u as N, s as U } from "./index-BUYYl2Pc.js";
9
9
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-Cui0eEum.cjs");const h=require("./index-C8qRkCgn.cjs");require("./array-BQH8ILpd.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-BrA_L4QZ.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D33Zn0tl.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QzgaFA5S.cjs");require("./index.vue_vue_type_style_index_1_lang-DmKFKo03.cjs");require("./index-D4EyLxA0.cjs");require("vue-router");require("./index-CrJ-2GSh.cjs");require("./dataUtil-DrslFFRT.cjs");;/* empty css */require("./index-C1IhJdLY.cjs");const S={__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:!0},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const e=o,i=c,s=h.useLoginState();n.watch(()=>e==null?void 0:e.systemKey,t=>{s.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{s.setSystemInfo(t)},{immediate:!0});const l=()=>{i("buildContent")},m=()=>{i("setLoginInfo")},y=t=>{i("openThreeBuild",t)},f=t=>{i("threeData",t)},u=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,d=16,w=t/r,g=d*w;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{u(),window.addEventListener("resize",u)}),n.onUnmounted(()=>{window.removeEventListener("resize",u)}),(t,r)=>{const d=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(d,{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:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:l,onOpenThreeBuild:y,pageKey:o.pageKey,onThreeData:f,onSetLoginInfo:m},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},q=C._export_sfc(S,[["__scopeId","data-v-8729380f"]]);exports.default=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-DNWalfgy.cjs");const h=require("./index-C8qRkCgn.cjs");require("./array-BQH8ILpd.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-C72Rr1SH.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-1NUhtQk0.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QzgaFA5S.cjs");require("./index.vue_vue_type_style_index_1_lang-Xo4JSq-J.cjs");require("./index-D4EyLxA0.cjs");require("vue-router");require("./index-CGhvoFIh.cjs");require("./dataUtil-DrslFFRT.cjs");;/* empty css */require("./index-C1IhJdLY.cjs");const S={__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:!0},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const e=o,i=c,s=h.useLoginState();n.watch(()=>e==null?void 0:e.systemKey,t=>{s.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{s.setSystemInfo(t)},{immediate:!0});const l=()=>{i("buildContent")},m=()=>{i("setLoginInfo")},y=t=>{i("openThreeBuild",t)},f=t=>{i("threeData",t)},u=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,d=16,w=t/r,g=d*w;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{u(),window.addEventListener("resize",u)}),n.onUnmounted(()=>{window.removeEventListener("resize",u)}),(t,r)=>{const d=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(d,{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:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:l,onOpenThreeBuild:y,pageKey:o.pageKey,onThreeData:f,onSetLoginInfo:m},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},q=C._export_sfc(S,[["__scopeId","data-v-8729380f"]]);exports.default=q;
@@ -1,17 +1,17 @@
1
1
  import { watch as u, onMounted as g, onUnmounted as C, resolveComponent as S, createElementBlock as v, openBlock as B, createVNode as I } from "vue";
2
- import "./index-CF3EDmxa.js";
2
+ import "./index-Dm2K00uW.js";
3
3
  import { u as K } from "./index-BUYYl2Pc.js";
4
4
  import "./array-Ct6rQOAk.js";
5
5
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-axNB8U_I.js";
8
- import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Dsh8O5SA.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-BMKC5TVn.js";
8
+ import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-0MW1VRgy.js";
9
9
  import "./index-BHtNKL1L.js";
10
10
  import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js";
11
- import "./index.vue_vue_type_style_index_1_lang-BLhks2a1.js";
11
+ import "./index.vue_vue_type_style_index_1_lang-C-2EhQeU.js";
12
12
  import "./index-C7Ks0zLC.js";
13
13
  import "vue-router";
14
- import "./index-DlmzYZjv.js";
14
+ import "./index-CIL8wLzQ.js";
15
15
  import "./dataUtil-BS-wt9Xk.js";
16
16
  /* empty css */
17
17
  import "./index-Dgdu_Hp_.js";
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),I=require("./index-BeEVAZ15.cjs"),k=require("./threeViewerHost-cIBL_Tao.cjs"),C=require("./index-C8qRkCgn.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-KosCsYsR.cjs"),S=require("./index-BpPyaNFa.cjs"),V={class:"avatar-model-wrap"},N={key:0},E=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(s,{emit:w}){const u=s,i=w,m=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),h=e.ref(""),b=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const _=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});b.value=f}catch(o){throw new Error(o)}},B=async o=>{var f,g,t,n,c;try{const r=await k.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(h.value=m.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),d.value=(c=(n=r.data)==null?void 0:n.result)==null?void 0:c.url,i("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},y=async()=>{try{if(!h.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(I.ssAvatar,{avatarUrl:h.value,avatarBlob:b.value,size:s.size,onClickAvatar:_,onSubmitImage:B,onDeleteImage:y},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=s.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=s.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size"]),s.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=s.userInfo)==null?void 0:g.account)||((t=s.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-882723d5"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(s,{emit:w}){const u=s,i=e.ref({}),m=e.ref([]),d=w,h=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{i.value.dialogShow=!1,d("beforeDestroy")},_=e.computed(()=>"http://222.92.178.198:62001"),B=t=>{var a;const n=t.split(","),c=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let l=r.length;const v=new Uint8Array(l);for(;l--;)v[l]=r.charCodeAt(l);return new Blob([v],{type:c})},y=async t=>{var n,c,r;try{const l=await k.uploadFile(t);((n=l==null?void 0:l.data)==null?void 0:n.code)===200&&d("clickSubmitSign",(r=(c=l.data)==null?void 0:c.result)==null?void 0:r.url)}catch(l){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,i.value.dialogShow=!1;const n=new FormData,c=B(t);n.append("file",c,"image.png"),y(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),y(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var c,r,l,v;o.value="",(c=i.value)!=null&&c.dialogShow&&(i.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),i.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,m.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const c=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),l=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:i.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=i.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:_.value+"/"+((p=s.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,a=>{var p;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(p=a.label)!=null&&p.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>h(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=x._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
1
+ "use strict";const e=require("vue"),I=require("./index-BeEVAZ15.cjs"),k=require("./threeViewerHost-Ym_dg2DG.cjs"),C=require("./index-C8qRkCgn.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-XW9cdt8O.cjs"),S=require("./index-BpPyaNFa.cjs"),V={class:"avatar-model-wrap"},N={key:0},E=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(s,{emit:w}){const u=s,i=w,m=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),h=e.ref(""),b=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const _=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});b.value=f}catch(o){throw new Error(o)}},B=async o=>{var f,g,t,n,c;try{const r=await k.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(h.value=m.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),d.value=(c=(n=r.data)==null?void 0:n.result)==null?void 0:c.url,i("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},y=async()=>{try{if(!h.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(I.ssAvatar,{avatarUrl:h.value,avatarBlob:b.value,size:s.size,onClickAvatar:_,onSubmitImage:B,onDeleteImage:y},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=s.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=s.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size"]),s.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=s.userInfo)==null?void 0:g.account)||((t=s.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-882723d5"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(s,{emit:w}){const u=s,i=e.ref({}),m=e.ref([]),d=w,h=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{i.value.dialogShow=!1,d("beforeDestroy")},_=e.computed(()=>"http://222.92.178.198:62001"),B=t=>{var a;const n=t.split(","),c=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let l=r.length;const v=new Uint8Array(l);for(;l--;)v[l]=r.charCodeAt(l);return new Blob([v],{type:c})},y=async t=>{var n,c,r;try{const l=await k.uploadFile(t);((n=l==null?void 0:l.data)==null?void 0:n.code)===200&&d("clickSubmitSign",(r=(c=l.data)==null?void 0:c.result)==null?void 0:r.url)}catch(l){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,i.value.dialogShow=!1;const n=new FormData,c=B(t);n.append("file",c,"image.png"),y(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),y(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var c,r,l,v;o.value="",(c=i.value)!=null&&c.dialogShow&&(i.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),i.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,m.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const c=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),l=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:i.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=i.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:_.value+"/"+((p=s.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,a=>{var p;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(p=a.label)!=null&&p.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>h(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=x._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as F, computed as N, ref as p, watch as $, createElementBlock as k, openBlock as b, createVNode as v, createCommentVNode as j, withCtx as i, createTextVNode as T, toDisplayString as I, resolveComponent as B, 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-fbsH9PEh.js";
3
- import { d as M, b as P } from "./threeViewerHost-BZOpA6mF.js";
3
+ import { d as M, b as P } from "./threeViewerHost-5yvNo1Ub.js";
4
4
  import { E as z } from "./index-BUYYl2Pc.js";
5
5
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { S as W } from "./index-gEhfvrw9.js";
6
+ import { S as W } from "./index-945YmMLJ.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",
@@ -1,7 +1,7 @@
1
1
  import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
2
2
  import { u as be, a as he, ao as Ce } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
3
3
  import { c as J, s as Ie, g as L, bP as ke, E as S, p as U, e as ae, f as oe, bL as Te, d as Me } from "./index-BUYYl2Pc.js";
4
- import { u as Se } from "./index-BBedBiu1.js";
4
+ import { u as Se } from "./index-B3hVexQF.js";
5
5
  const F = he(U), ne = Se(U), C = be(U), { menus: ue, configMenu: R, activeMenuPath: $, cacheStructures: K } = Ie(C), q = i(!1), se = j(() => {
6
6
  var e, t;
7
7
  return [
@@ -1,5 +1,5 @@
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-BBedBiu1.js";
2
+ import { s as m } from "./index-B3hVexQF.js";
3
3
  import { u as d, ar as p, ap as l } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
4
4
  import { s as g, u as h } from "./index-BUYYl2Pc.js";
5
5
  const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({