ss-component-new 1.2.175 → 1.2.176

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 (87) hide show
  1. package/dist/{MTLLoader-CR-R4D3A.cjs → MTLLoader-45vFx6Ci.cjs} +1 -1
  2. package/dist/{MTLLoader-D05WSq-q.js → MTLLoader-DgByTNTq.js} +1 -1
  3. package/dist/{OrbitControls-DkAdlZPz.cjs → OrbitControls-CV-MrHG5.cjs} +1 -1
  4. package/dist/{OrbitControls-DGyaLqZV.js → OrbitControls-Cv9SGdpv.js} +1 -1
  5. package/dist/{URDFLoader-rXQKxYBd.js → URDFLoader-BY2oim56.js} +2 -2
  6. package/dist/{URDFLoader-x8vUKwPr.cjs → URDFLoader-DwCZd3DT.cjs} +1 -1
  7. package/dist/{animationData-CGKa2au1.js → animationData-B8-fvoQG.js} +1 -1
  8. package/dist/{animationData-DBwtb8zr.cjs → animationData-BKJUksL6.cjs} +1 -1
  9. package/dist/{array-DlS90r5w.js → array-DDU6IBRR.js} +1 -1
  10. package/dist/{array-Dw4Yc0on.cjs → array-iLq62gEW.cjs} +1 -1
  11. package/dist/{iconfont-DTy0GXFn.cjs → iconfont-B1otHnDa.cjs} +1 -1
  12. package/dist/{iconfont-Bh6I7yoc.js → iconfont-CbHnKyhA.js} +2 -2
  13. package/dist/{index-BpbXVqPH.js → index--EnWvfjl.js} +8 -8
  14. package/dist/{index-DUPTbPtM.cjs → index-1Dx828Pd.cjs} +1 -1
  15. package/dist/{index-BmIdmZp6.cjs → index-2T7wIHAe.cjs} +1 -1
  16. package/dist/{index-vUmI_aAz.cjs → index-B6EJeVdw.cjs} +1 -1
  17. package/dist/{index-Xz5odwQo.cjs → index-B8sq_vLt.cjs} +1 -1
  18. package/dist/{index-Bw3_5l5O.js → index-BCLmAS_S.js} +1 -1
  19. package/dist/{index-CpCjSu_n.js → index-BGy8QZn-.js} +1 -1
  20. package/dist/{index-BqpWqgSt.js → index-BHKVF-1G.js} +3 -3
  21. package/dist/{index-5MfOfDqd.cjs → index-BJ73Hg5A.cjs} +1 -1
  22. package/dist/{index-CruAXu_m.cjs → index-BW4bir8C.cjs} +1 -1
  23. package/dist/{index-C6NYcqQj.cjs → index-B_UBWpUs.cjs} +1 -1
  24. package/dist/{index-BKP1yyHm.cjs → index-Bb1ASXl0.cjs} +1 -1
  25. package/dist/{index-D5LAwrWR.cjs → index-Bc0ovJko.cjs} +1 -1
  26. package/dist/{index-Bgfn_1PY.cjs → index-BeqOPHw8.cjs} +1 -1
  27. package/dist/{index-Dy40DEnD.js → index-Bh6Cfkzz.js} +1 -1
  28. package/dist/{index-a4D2ISWg.js → index-BoKPQB2W.js} +2 -2
  29. package/dist/{index-BxkOJwR0.js → index-CHSOjR_9.js} +1 -1
  30. package/dist/{index-fveEMEQr.js → index-CJlqtSTk.js} +1 -1
  31. package/dist/{index-DBlrqy2z.js → index-CJxrfrKo.js} +1 -1
  32. package/dist/{index-CHIienMN.js → index-CLY3ClAw.js} +5 -5
  33. package/dist/{index-Cy0TW-Cc.js → index-CLcEWUQQ.js} +4 -4
  34. package/dist/{index-B-gaEXuH.cjs → index-CMdOKx6I.cjs} +1 -1
  35. package/dist/{index-CQfanE9k.cjs → index-CTTqwfEF.cjs} +1 -1
  36. package/dist/{index-D___JfrA.cjs → index-CXpkAw7j.cjs} +1 -1
  37. package/dist/{index-u22RYT6X.js → index-Cbz6asV0.js} +16 -16
  38. package/dist/{index-C9MdLFq4.cjs → index-ChkP8gF9.cjs} +1 -1
  39. package/dist/{index-BYrG8OBb.js → index-CxwoI7_o.js} +7 -7
  40. package/dist/{index-e-AcrHyq.cjs → index-CzxvgOoq.cjs} +1 -1
  41. package/dist/{index-tnXXGyGw.js → index-DBeShjqg.js} +1 -1
  42. package/dist/{index-D5Y_Pm_3.cjs → index-DR2LCnDS.cjs} +1 -1
  43. package/dist/{index-DKca7iRT.cjs → index-DUfSCM58.cjs} +1 -1
  44. package/dist/{index-Czs-ptVO.js → index-DYp9HoIy.js} +2 -2
  45. package/dist/{index-BQ4uZmL2.cjs → index-DaBJPfdj.cjs} +1 -1
  46. package/dist/{index-l9Pk1XBp.cjs → index-DbA1QvN6.cjs} +1 -1
  47. package/dist/{index-D2_BSB58.js → index-DdGM4pfX.js} +4 -4
  48. package/dist/{index-C6oRl7w0.js → index-DsBk8w3n.js} +4 -4
  49. package/dist/{index-ZsNhppF_.js → index-DspBnzO8.js} +1 -1
  50. package/dist/{index-DyNBPmUy.js → index-DuZuYtAR.js} +1 -1
  51. package/dist/{index-YWQNDnbh.js → index-DwS0e871.js} +1 -1
  52. package/dist/{index-A2vAi7vP.cjs → index-Ium3D9Xn.cjs} +1 -1
  53. package/dist/{index-CmNhcax9.cjs → index-JX0xIJJs.cjs} +1 -1
  54. package/dist/{index-DgY30UFg.cjs → index-ebb7fOBC.cjs} +1 -1
  55. package/dist/{index-XCNh-jZY.js → index-p7fh1xeg.js} +1 -1
  56. package/dist/{index-ruvk89Uz.js → index-zTfKUp5L.js} +3 -3
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Ct2nep0f.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-21n-WGUD.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-2AD5eQB1.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-GhCn4ra9.js} +7 -7
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B_P-I7Kf.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B7Adlltj.cjs} +1 -1
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DeWDRnK-.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DoTLasl4.js} +1 -1
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-9_ehDmOC.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Bz5MX8WX.js} +4 -4
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BW1MPKr7.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-XNlqwY8T.cjs} +1 -1
  63. package/dist/{index.vue_vue_type_style_index_1_lang-46IdC_8L.js → index.vue_vue_type_style_index_1_lang-BObmb_2e.js} +3 -3
  64. package/dist/{index.vue_vue_type_style_index_1_lang-CmFbshDy.cjs → index.vue_vue_type_style_index_1_lang-BgpaLloL.cjs} +1 -1
  65. package/dist/{main-DTcn4amP.js → main-CdSJrviV.js} +3 -3
  66. package/dist/{main-9L2fq1tN.cjs → main-TkudtmSP.cjs} +1 -1
  67. package/dist/ss-component.cjs +1 -1
  68. package/dist/ss-component.js +9 -9
  69. package/dist/ss-component2.cjs +1 -1
  70. package/dist/ss-component2.js +10 -10
  71. package/dist/{threeModel-DETrDZhQ.js → threeModel-CC7wm7qI.js} +4 -4
  72. package/dist/{threeModel-oOClIGBp.cjs → threeModel-CILtwOhV.cjs} +1 -1
  73. package/dist/{threePreview-BGQ5FlOC.cjs → threePreview-6K0uX_kn.cjs} +1 -1
  74. package/dist/{threePreview-B-2nMWcI.js → threePreview-B2c38aNi.js} +3 -3
  75. package/dist/{threeSceneView-DmtE3lwc.js → threeSceneView-DKe-yheh.js} +8 -8
  76. package/dist/{threeSceneView-CU32CHkR.cjs → threeSceneView-R3C2C5mu.cjs} +1 -1
  77. package/dist/{threeSceneViewForCPMPIP-Cc9J6xz6.js → threeSceneViewForCPMPIP-B8KV3E55.js} +7 -7
  78. package/dist/{threeSceneViewForCPMPIP-CBw9wJUT.cjs → threeSceneViewForCPMPIP-D5GmzScE.cjs} +1 -1
  79. package/dist/{threeTrackPathView-DcR0RXPb.js → threeTrackPathView-AOVKXiLQ.js} +3 -3
  80. package/dist/{threeTrackPathView-Bmtfv7VK.cjs → threeTrackPathView-BYJQxkco.cjs} +1 -1
  81. package/dist/{threeViewerHost-C6gjvpcg.cjs → threeViewerHost-Birr5icJ.cjs} +1 -1
  82. package/dist/{threeViewerHost-DKsihx3G.js → threeViewerHost-D3nc548f.js} +2 -2
  83. package/dist/{urdfTree-D55cXXY_.js → urdfTree-BORFZd89.js} +1 -1
  84. package/dist/{urdfTree-CB9GhNL7.cjs → urdfTree-j7pQuwXM.cjs} +1 -1
  85. package/dist/{workpieceTreePanel-DfC-7RWt.cjs → workpieceTreePanel-C3Ah_exL.cjs} +1 -1
  86. package/dist/{workpieceTreePanel-BnLl9nv-.js → workpieceTreePanel-vnbkBGAm.js} +4 -4
  87. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  import { ref as V, computed as Z, resolveComponent as K, createElementBlock as w, openBlock as r, Fragment as ee, renderList as ae, createElementVNode as g, toDisplayString as Q, createVNode as C, watch as ue, createBlock as A, resolveDynamicComponent as X, unref as h, withCtx as D, isRef as ze, createTextVNode as te, createCommentVNode as G, normalizeStyle as Xe, withModifiers as ne, normalizeClass as Ge, nextTick as Ke } from "vue";
2
- import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-BpbXVqPH.js";
2
+ import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index--EnWvfjl.js";
3
3
  import { p as ie, s as le, c as R, E as ea } from "./index-KFoWHXov.js";
4
4
  import { a as me, u as qe, E as aa } from "./index-Dh_LOm8w.js";
5
- import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-DlS90r5w.js";
5
+ import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-DDU6IBRR.js";
6
6
  import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import ia from "./index-rlStojTL.js";
8
- import { b as da, c as pa } from "./index-Cy0TW-Cc.js";
9
- import { s as va } from "./index-BxkOJwR0.js";
8
+ import { b as da, c as pa } from "./index-CLcEWUQQ.js";
9
+ import { s as va } from "./index-CHSOjR_9.js";
10
10
  const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
11
11
  __name: "index",
12
12
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
2
- import { S as x } from "./index-ZsNhppF_.js";
3
- import { s as B } from "./index-CHIienMN.js";
4
- import { s as F } from "./index-BxkOJwR0.js";
5
- import { d as y } from "./index-Cy0TW-Cc.js";
2
+ import { S as x } from "./index-DspBnzO8.js";
3
+ import { s as B } from "./index-CLY3ClAw.js";
4
+ import { s as F } from "./index-CHSOjR_9.js";
5
+ import { d as y } from "./index-CLcEWUQQ.js";
6
6
  import { u as S } from "./index-Dh_LOm8w.js";
7
7
  import { p as I, s as N } from "./index-KFoWHXov.js";
8
8
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -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, ad as Ce } from "./index-Dh_LOm8w.js";
3
3
  import { c as U, s as Ie, g as J, bU as ke, E as S, p as L, h as ae, e as oe, bL as Te, f as Me } from "./index-KFoWHXov.js";
4
- import { u as Se } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DeWDRnK-.js";
4
+ import { u as Se } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DoTLasl4.js";
5
5
  const F = he(L), ne = Se(L), C = be(L), { menus: ue, configMenu: R, activeMenuPath: $, cacheStructures: K } = Ie(C), q = i(!1), se = j(() => {
6
6
  var e, t;
7
7
  return [
@@ -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-B_OASRUO.js";
3
- import { s as _ } from "./index-CHIienMN.js";
3
+ import { s as _ } from "./index-CLY3ClAw.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,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-CHIienMN.js";
2
+ import { s as E } from "./index-CLY3ClAw.js";
3
3
  import { u as F, ah as x } from "./index-Dh_LOm8w.js";
4
4
  import { s as O, c as H } from "./index-KFoWHXov.js";
5
5
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),I=require("./index-DKca7iRT.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B_P-I7Kf.cjs"),x=require("./index-y1mE3_ai.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-BmIdmZp6.cjs"),k=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V={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:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(i,{emit:b}){const s=i,u=b,h=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),p=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=s.userInfo)==null?void 0:o.头像},o=>{p.value=h.value+"/"+o},{immediate:!0});const w=async()=>{if(!(s!=null&&s.disabled))try{const o=await B.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"]});_.value=f}catch(o){throw new Error(o)}},S=async o=>{var f,g,t,n,c;try{const r=await B.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(p.value=h.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,u("submitImage",d.value))}catch(r){x.ElMessage.error(r)}},y=async()=>{try{if(!p.value)return}catch(o){x.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(I.ssAvatar,{avatarUrl:p.value,avatarBlob:_.value,size:i.size,onClickAvatar:w,onSubmitImage:S,onDeleteImage:y,clickStop:s==null?void 0:s.clickStop},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=i.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=i.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size","clickStop"]),i.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",V,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=C._export_sfc(E,[["__scopeId","data-v-747bdfb7"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:b}){const s=i,u=e.ref({}),h=e.ref([]),d=b,p=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},_=()=>{u.value.dialogShow=!1,d("beforeDestroy")},w=e.computed(()=>"http://222.92.178.198:62001"),S=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 B.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){x.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=S(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(()=>s==null?void 0:s.itemData,t=>{var c,r,l,v;o.value="",(c=u.value)!=null&&c.dialogShow&&(u.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]}),u.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,h.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:u.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=u.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:w.value+"/"+((m=i.userInfo)==null?void 0:m.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.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(k.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:$=>p(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=C._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
1
+ "use strict";const e=require("vue"),I=require("./index-DUfSCM58.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B7Adlltj.cjs"),x=require("./index-y1mE3_ai.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-2T7wIHAe.cjs"),k=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V={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:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(i,{emit:b}){const s=i,u=b,h=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),p=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=s.userInfo)==null?void 0:o.头像},o=>{p.value=h.value+"/"+o},{immediate:!0});const w=async()=>{if(!(s!=null&&s.disabled))try{const o=await B.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"]});_.value=f}catch(o){throw new Error(o)}},S=async o=>{var f,g,t,n,c;try{const r=await B.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(p.value=h.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,u("submitImage",d.value))}catch(r){x.ElMessage.error(r)}},y=async()=>{try{if(!p.value)return}catch(o){x.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(I.ssAvatar,{avatarUrl:p.value,avatarBlob:_.value,size:i.size,onClickAvatar:w,onSubmitImage:S,onDeleteImage:y,clickStop:s==null?void 0:s.clickStop},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=i.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=i.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size","clickStop"]),i.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",V,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=C._export_sfc(E,[["__scopeId","data-v-747bdfb7"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:b}){const s=i,u=e.ref({}),h=e.ref([]),d=b,p=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},_=()=>{u.value.dialogShow=!1,d("beforeDestroy")},w=e.computed(()=>"http://222.92.178.198:62001"),S=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 B.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){x.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=S(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(()=>s==null?void 0:s.itemData,t=>{var c,r,l,v;o.value="",(c=u.value)!=null&&c.dialogShow&&(u.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]}),u.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,h.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:u.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=u.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:w.value+"/"+((m=i.userInfo)==null?void 0:m.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.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(k.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:$=>p(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=C._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-Xz5odwQo.cjs"),n=require("./index-C5woD5Cw.cjs"),a=require("./index-y1mE3_ai.cjs"),s={class:"routerPage-wrapper"},i=t.defineComponent({__name:"index",setup(d){const o=n.useMenuState(),{activeMenuPath:c}=a.storeToRefs(o),r=a.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{r.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(c.value)}),(l,g)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(u.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-B8sq_vLt.cjs"),n=require("./index-C5woD5Cw.cjs"),a=require("./index-y1mE3_ai.cjs"),s={class:"routerPage-wrapper"},i=t.defineComponent({__name:"index",setup(d){const o=n.useMenuState(),{activeMenuPath:c}=a.storeToRefs(o),r=a.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{r.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(c.value)}),(l,g)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(u.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BW1MPKr7.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},M=["onClick"],m={class:"module-dialog-content"};function V(o,l,E,w,D,S){var a;const u=e.resolveComponent("ss-input"),s=e.resolveComponent("svg-icon"),C=e.resolveComponent("el-popover"),h=e.resolveComponent("ss-menu"),r=e.resolveComponent("el-button"),k=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(h,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var d,c,p,g;return[!o.fixElement||(t==null?void 0:t.path)!==((d=o.fixElement)==null?void 0:d.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((c=t==null?void 0:t.config)==null?void 0:c.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((p=o.fixElement)==null?void 0:p.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(u,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((g=t==null?void 0:t.config)==null?void 0:g.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(C,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(s,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(s,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,M))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((a=o.renderMenuList)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(s,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(k,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const N=f._export_sfc(i._sfc_main,[["render",V],["__scopeId","data-v-140f5e74"]]);exports.addSelectMenu=i.addSelectMenu;exports.deleteSelectMenu=i.deleteSelectMenu;exports.fixSelectMenu=i.fixSelectMenu;exports.setComponent=i.setComponent;exports.default=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-XNlqwY8T.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},M=["onClick"],m={class:"module-dialog-content"};function V(o,l,E,w,D,S){var a;const u=e.resolveComponent("ss-input"),s=e.resolveComponent("svg-icon"),C=e.resolveComponent("el-popover"),h=e.resolveComponent("ss-menu"),r=e.resolveComponent("el-button"),k=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(h,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var d,c,p,g;return[!o.fixElement||(t==null?void 0:t.path)!==((d=o.fixElement)==null?void 0:d.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((c=t==null?void 0:t.config)==null?void 0:c.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((p=o.fixElement)==null?void 0:p.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(u,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((g=t==null?void 0:t.config)==null?void 0:g.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(C,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(s,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(s,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,M))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((a=o.renderMenuList)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(s,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(k,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const N=f._export_sfc(i._sfc_main,[["render",V],["__scopeId","data-v-140f5e74"]]);exports.addSelectMenu=i.addSelectMenu;exports.deleteSelectMenu=i.deleteSelectMenu;exports.fixSelectMenu=i.fixSelectMenu;exports.setComponent=i.setComponent;exports.default=N;
@@ -1,5 +1,5 @@
1
1
  import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
2
- import { s as m } from "./index-CHIienMN.js";
2
+ import { s as m } from "./index-CLY3ClAw.js";
3
3
  import { g as d, c as _ } from "./index-B_OASRUO.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const l = n([]), g = c(() => [
@@ -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-BIiBz_NW.js";
3
- import { s as w, a as L } from "./index-BqpWqgSt.js";
3
+ import { s as w, a as L } from "./index-BHKVF-1G.js";
4
4
  import "./index-BHtNKL1L.js";
5
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DeWDRnK-.js";
6
- import { h as E } from "./index-Cy0TW-Cc.js";
5
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DoTLasl4.js";
6
+ import { h as E } from "./index-CLcEWUQQ.js";
7
7
  import { u as N, s as U } from "./index-KFoWHXov.js";
8
8
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({