ss-component-new 1.2.30 → 1.2.32

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 (106) hide show
  1. package/dist/{MTLLoader-CGJ_BoN_.cjs → MTLLoader-BK95MfNU.cjs} +1 -1
  2. package/dist/{MTLLoader-DKu2hJu8.js → MTLLoader-BzJ43684.js} +1 -1
  3. package/dist/{OrbitControls-CcSIJs8U.cjs → OrbitControls-2eTi7aWC.cjs} +1 -1
  4. package/dist/{OrbitControls-BqqUzhiB.js → OrbitControls-D-HKj8Fo.js} +1 -1
  5. package/dist/{animationData-CqnPk9Xj.cjs → animationData-0sWRlTij.cjs} +1 -1
  6. package/dist/{animationData-C9-csPUd.js → animationData-B5nSa3Wr.js} +3 -3
  7. package/dist/{array-GAxUIYkk.js → array-BRaoaWrW.js} +1 -1
  8. package/dist/{array-CNff52dF.cjs → array-C44hFkbE.cjs} +1 -1
  9. package/dist/{dataUtil-B8GQMfU9.cjs → dataUtil-CEoQ4Ndk.cjs} +1 -1
  10. package/dist/{dataUtil-CUqnwA-C.js → dataUtil-CQtKj9uA.js} +1 -1
  11. package/dist/{fileUtil-2jbB0UOW.js → fileUtil-Dj784v6C.js} +1 -1
  12. package/dist/{fileUtil-DmlOwzdA.cjs → fileUtil-DtGYyEnX.cjs} +1 -1
  13. package/dist/{iconfont-Clbumxhq.js → iconfont-B00HEBSZ.js} +2 -2
  14. package/dist/{iconfont-BRjtaT1w.cjs → iconfont-C9S_ZYmF.cjs} +1 -1
  15. package/dist/{index-LjM9Nk8B.js → index--C6k-D2N.js} +16 -16
  16. package/dist/{index-D_vF-xur.js → index-15b-TQsb.js} +2 -2
  17. package/dist/{index-B1K65cVA.js → index-7_o-VRMN.js} +2 -2
  18. package/dist/{index-CLYAJN6W.js → index-B--EuduQ.js} +8 -8
  19. package/dist/{index-DnxJ5v5h.js → index-BDRc8Y81.js} +1 -1
  20. package/dist/{index-B1TG4KX4.js → index-BDnhFcKf.js} +2 -2
  21. package/dist/{index-DPJaR6_y.cjs → index-BWrns3Oc.cjs} +1 -1
  22. package/dist/{index-Bg67M1I0.cjs → index-BalMucur.cjs} +1 -1
  23. package/dist/{index-CGrK7vLD.cjs → index-BdKvrPvY.cjs} +10 -10
  24. package/dist/{index-BVx8ubcY.js → index-BhXhtoRc.js} +2 -2
  25. package/dist/{index-Bnlo1Vn9.cjs → index-BtpjDKvW.cjs} +1 -1
  26. package/dist/{index-CPUuPtdW.cjs → index-C1qs0RQj.cjs} +1 -1
  27. package/dist/{index-D-vSuC_W.cjs → index-C4l0VtK0.cjs} +1 -1
  28. package/dist/{index-BUqXSmZN.cjs → index-C8Pcs5aU.cjs} +1 -1
  29. package/dist/{index-T8lPGzLV.cjs → index-CD9AL3Zp.cjs} +1 -1
  30. package/dist/{index-NsYVgt6J.cjs → index-CIIVTNal.cjs} +1 -1
  31. package/dist/{index-CVduLh5F.js → index-CNwegUef.js} +3 -3
  32. package/dist/{index-DOqV1gv2.js → index-CPGdT7Ir.js} +3 -3
  33. package/dist/{index-B4kwMjRZ.cjs → index-CWLJn5Pm.cjs} +1 -1
  34. package/dist/{index-BH-dztWs.js → index-CamDUXA9.js} +1 -1
  35. package/dist/{index-Cx-hhVVM.js → index-Cf9pDAXa.js} +5 -5
  36. package/dist/index-CgjAehAI.cjs +1 -0
  37. package/dist/{index-M0XPuhvZ.cjs → index-CkTe2T2S.cjs} +1 -1
  38. package/dist/{index-BuPMGirQ.js → index-ClIX3WK6.js} +841 -830
  39. package/dist/{index-CWvU6SMj.js → index-ClijEvVw.js} +2 -2
  40. package/dist/{index-Dc_H7_4Q.cjs → index-CnE7ML6c.cjs} +1 -1
  41. package/dist/{index-BR2gy9VY.js → index-CocGAXyD.js} +11 -11
  42. package/dist/index-CshWG_Bn.cjs +1 -0
  43. package/dist/{index-BDHmuN0R.cjs → index-D7eQxqbc.cjs} +1 -1
  44. package/dist/{index-CF3_9CuM.js → index-DABjfIra.js} +1 -1
  45. package/dist/{index-C5bKf4Rc.cjs → index-DBtBAS_Q.cjs} +1 -1
  46. package/dist/{index-B524ZAt_.js → index-DFF7L3iO.js} +1 -1
  47. package/dist/{index-CSkbFCKk.js → index-DH8MpnEO.js} +1 -1
  48. package/dist/{index-ZxdNFChm.js → index-DRtjEAPe.js} +2 -2
  49. package/dist/{index-eU4qzdNW.cjs → index-DVYQdx3z.cjs} +1 -1
  50. package/dist/{index-Bf_EwhXB.js → index-DZR8LUZN.js} +2 -2
  51. package/dist/{index-DC41esc7.cjs → index-DcJFFIQw.cjs} +1 -1
  52. package/dist/index-Dj0KOUf5.js +2761 -0
  53. package/dist/{index-BKH5yrms.cjs → index-DjhlRPC-.cjs} +1 -1
  54. package/dist/{index-Dyk6Ept4.cjs → index-DlHrVgZ8.cjs} +1 -1
  55. package/dist/{index-4vFpZiro.cjs → index-Dmx1WOtT.cjs} +1 -1
  56. package/dist/{index-Ct1BlKod.cjs → index-Dpt2UYlJ.cjs} +1 -1
  57. package/dist/{index-DLNYVMBT.js → index-Dr4WmRi_.js} +32 -33
  58. package/dist/{index-DQEoNTv9.js → index-Dwzx2xTf.js} +1 -1
  59. package/dist/{index-C4sVFEb2.cjs → index-HQwjD7os.cjs} +1 -1
  60. package/dist/index-J7ZV_p_y.js +2874 -0
  61. package/dist/{index-h2jxROLW.js → index-aYtsSmZR.js} +2 -2
  62. package/dist/{index-DpHuDey-.js → index-b8sQiO-W.js} +5 -5
  63. package/dist/{index-CVfE7lev.cjs → index-fLRprcfZ.cjs} +1 -1
  64. package/dist/{index-DNmodmj5.js → index-pApFSSVJ.js} +2 -2
  65. package/dist/index-rwUPu6ZD.cjs +1 -0
  66. package/dist/{index-zfSd0dDx.cjs → index-sNFUCD37.cjs} +1 -1
  67. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BAJOxaYG.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CX15bSA6.js} +7381 -7364
  68. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bz5a6KNq.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-hIVK_HWV.cjs} +13 -13
  69. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1Mv6nQqI.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0V41x5SW.cjs} +1 -1
  70. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-jN5HQ4-h.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C5hViTw-.js} +1 -1
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B5pFO8Nu.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-B95xPNJf.js} +5 -5
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CfeHVTqR.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-qUMVkjAK.cjs} +1 -1
  73. package/dist/{index.vue_vue_type_style_index_1_lang-C_c9xkIT.js → index.vue_vue_type_style_index_1_lang-4wOK4zzH.js} +1711 -1685
  74. package/dist/{index.vue_vue_type_style_index_1_lang-Dn15anMU.cjs → index.vue_vue_type_style_index_1_lang-C1o8R3nH.cjs} +1 -1
  75. package/dist/index.vue_vue_type_style_index_1_lang-C4diM8a_.cjs +32 -0
  76. package/dist/{index.vue_vue_type_style_index_1_lang-C_-spRZf.js → index.vue_vue_type_style_index_1_lang-Cgrrd0F_.js} +4 -4
  77. package/dist/{main-Cqs48dh5.cjs → main-CB1J3P3P.cjs} +1 -1
  78. package/dist/{main-D13CgkQa.js → main-DJo5OeDN.js} +4 -4
  79. package/dist/ss-component.cjs +1 -1
  80. package/dist/ss-component.css +2 -2
  81. package/dist/ss-component.js +10 -10
  82. package/dist/ss-component2.cjs +1 -1
  83. package/dist/ss-component2.js +11 -11
  84. package/dist/{threeModel-B1Q-W8uT.cjs → threeModel-CuxcqV63.cjs} +1 -1
  85. package/dist/{threeModel-CdhAh8Bx.js → threeModel-D04_GFIf.js} +4 -4
  86. package/dist/{threePreview-DFaqe_Df.cjs → threePreview-CW0sFOSX.cjs} +1 -1
  87. package/dist/{threePreview-qK1L0B-6.js → threePreview-V9Xz9HjD.js} +3 -3
  88. package/dist/{threeSceneView-MV6u29zj.cjs → threeSceneView-BF_WPeoa.cjs} +1 -1
  89. package/dist/{threeSceneView-D7A2EUjB.js → threeSceneView-DDsAajYr.js} +10 -10
  90. package/dist/{threeSceneViewForCPMPIP-CFMeh1a1.js → threeSceneViewForCPMPIP-BRcYZwUP.js} +9 -9
  91. package/dist/{threeSceneViewForCPMPIP-DWIRSSMI.cjs → threeSceneViewForCPMPIP-QaddctTy.cjs} +1 -1
  92. package/dist/{threeTrackPathView-zpNY2aoY.js → threeTrackPathView-4BeFstTz.js} +4 -4
  93. package/dist/{threeTrackPathView-jcnhqw1L.cjs → threeTrackPathView-B7nPn2Ux.cjs} +1 -1
  94. package/dist/{threeViewerHost-SnFuinLz.js → threeViewerHost-Cn8KRcg6.js} +3 -3
  95. package/dist/{threeViewerHost-Bmk1dyAX.cjs → threeViewerHost-jb5Evx2L.cjs} +1 -1
  96. package/dist/{urdfTree-BqMKYhyU.js → urdfTree-6IOpa4uv.js} +1 -1
  97. package/dist/{urdfTree-BhIdc1in.cjs → urdfTree-BKFaMWwA.cjs} +1 -1
  98. package/dist/{workpieceTreePanel-CrJBeLgr.js → workpieceTreePanel-BxHEIkWb.js} +5 -5
  99. package/dist/{workpieceTreePanel-ugZl4wP-.cjs → workpieceTreePanel-cCIDMmlI.cjs} +1 -1
  100. package/package.json +2 -2
  101. package/dist/index-B6nEh_Jv.js +0 -2865
  102. package/dist/index-BQ4Ui0xZ.cjs +0 -1
  103. package/dist/index-CBzeyNqc.cjs +0 -1
  104. package/dist/index-CJz9KUlK.js +0 -2761
  105. package/dist/index-CQGU-KUl.cjs +0 -1
  106. package/dist/index.vue_vue_type_style_index_1_lang-Dk9u-CTP.cjs +0 -32
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),I=require("./index-D-vSuC_W.cjs"),B=require("./threeViewerHost-Bmk1dyAX.cjs"),C=require("./index-DEBf-IBT.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-CGrK7vLD.cjs"),_=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:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(i,{emit:w}){const s=i,u=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=s.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const S=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"]});b.value=f}catch(o){throw new Error(o)}},k=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&&(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,u("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:i.size,onClickAvatar:S,onSubmitImage:k,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",N,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._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:w}){const s=i,u=e.ref({}),m=e.ref([]),d=w,h=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{u.value.dialogShow=!1,d("beforeDestroy")},S=e.computed(()=>"http://222.92.178.198:62001"),k=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){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=k(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,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:u.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;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:S.value+"/"+((p=i.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(_.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(_.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(_.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-C4l0VtK0.cjs"),B=require("./threeViewerHost-jb5Evx2L.cjs"),C=require("./index-DEBf-IBT.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-BdKvrPvY.cjs"),_=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:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(i,{emit:w}){const s=i,u=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=s.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const S=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"]});b.value=f}catch(o){throw new Error(o)}},k=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&&(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,u("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:i.size,onClickAvatar:S,onSubmitImage:k,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",N,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._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:w}){const s=i,u=e.ref({}),m=e.ref([]),d=w,h=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{u.value.dialogShow=!1,d("beforeDestroy")},S=e.computed(()=>"http://222.92.178.198:62001"),k=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){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=k(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,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:u.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;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:S.value+"/"+((p=i.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(_.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(_.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(_.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,6 +1,6 @@
1
1
  import { ref as _, computed as A } from "vue";
2
2
  import { e as I, E as s, g as M } from "./index-DBDeHECn.js";
3
- import { E as N } from "./index.vue_vue_type_style_index_1_lang-C_c9xkIT.js";
3
+ import { E as N } from "./index.vue_vue_type_style_index_1_lang-4wOK4zzH.js";
4
4
  const K = _([]), T = A(() => [
5
5
  {
6
6
  key: "extraButton",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-NsYVgt6J.cjs");const h=require("./index-DEBf-IBT.cjs");require("./array-CNff52dF.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_1_lang-Dk9u-CTP.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-CfeHVTqR.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bz5a6KNq.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1Mv6nQqI.cjs");require("./index.vue_vue_type_style_index_1_lang-Dn15anMU.cjs");require("./index-BUqXSmZN.cjs");require("vue-router");require("./index-BDHmuN0R.cjs");require("./dataUtil-B8GQMfU9.cjs");;/* empty css */require("./index-Dyk6Ept4.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-CIIVTNal.cjs");const h=require("./index-DEBf-IBT.cjs");require("./array-C44hFkbE.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_1_lang-C4diM8a_.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-qUMVkjAK.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-hIVK_HWV.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0V41x5SW.cjs");require("./index.vue_vue_type_style_index_1_lang-C1o8R3nH.cjs");require("./index-C8Pcs5aU.cjs");require("vue-router");require("./index-D7eQxqbc.cjs");require("./dataUtil-CEoQ4Ndk.cjs");;/* empty css */require("./index-DlHrVgZ8.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,5 +1,5 @@
1
1
  import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as N, nextTick as q, Fragment as z, withDirectives as H, renderSlot as $, vShow as M } from "vue";
2
- import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-jN5HQ4-h.js";
2
+ import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C5hViTw-.js";
3
3
  import { I as X, a4 as J, Z as W, B as D, C as c, av as B, W as g } from "./index-DBDeHECn.js";
4
4
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Y = "ElUpload";
@@ -1,6 +1,6 @@
1
1
  import { ref as f, computed as S, reactive as P } from "vue";
2
2
  import { s as R, c9 as $, ca as B, c8 as H, g as _, u as j, p as L, c as J, d as x, E as T } from "./index-DBDeHECn.js";
3
- import { b4 as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-C_c9xkIT.js";
3
+ import { b4 as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-4wOK4zzH.js";
4
4
  const A = j(L), { loginUserInfo: o, cryptoInfo: c } = R(A), Y = G(L), { activeMenuPath: g } = R(Y), Z = f(0), M = S(() => {
5
5
  var s, a, t, r, l, n, e, u, p, d, v;
6
6
  return [
@@ -1,5 +1,5 @@
1
- import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-B5pFO8Nu.js";
2
- import { s as K } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-B5pFO8Nu.js";
1
+ import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-B95xPNJf.js";
2
+ import { s as K } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-B95xPNJf.js";
3
3
  import { resolveComponent as r, createElementBlock as s, openBlock as n, Fragment as p, createVNode as l, createCommentVNode as k, withCtx as i, createElementVNode as d, normalizeStyle as w, toDisplayString as c, renderList as v, createTextVNode as _, createBlock as B, resolveDynamicComponent as I } from "vue";
4
4
  import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const L = ["title"], V = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-zfSd0dDx.cjs"),r=require("./index-CBzeyNqc.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-sNFUCD37.cjs"),r=require("./index-rwUPu6ZD.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
@@ -1,7 +1,7 @@
1
1
  import { ref as i, computed as j, reactive as ie, nextTick as A, watch as ye } from "vue";
2
- import { u as be, a as he, ay as Ce } from "./index.vue_vue_type_style_index_1_lang-C_c9xkIT.js";
2
+ import { u as be, a as he, ay as Ce } from "./index.vue_vue_type_style_index_1_lang-4wOK4zzH.js";
3
3
  import { c as J, s as Ie, g as U, bA as ke, E as S, p as $, f as ae, d as oe, bw as Te, e as Me } from "./index-DBDeHECn.js";
4
- import { u as Se } from "./index-B6nEh_Jv.js";
4
+ import { u as Se } from "./index-J7ZV_p_y.js";
5
5
  const F = he($), ne = Se($), C = be($), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = Ie(C), z = i(!1), se = j(() => {
6
6
  var e, t;
7
7
  return [
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-CBzeyNqc.cjs"),c=require("./index-DEBf-IBT.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-Dk9u-CTP.cjs"),g=r.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},_=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((p,y)=>{s[`a${y}`]=p}),s}else return{...t.tableData,id:t.id}})},k={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:D,onButtonClick:h,onDoubleClick:_,pageData:u,queryFormData:m,structureId:d,tempPostPageData:k},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(b.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-rwUPu6ZD.cjs"),c=require("./index-DEBf-IBT.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-C4diM8a_.cjs"),g=r.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},_=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((p,y)=>{s[`a${y}`]=p}),s}else return{...t.tableData,id:t.id}})},k={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:D,onButtonClick:h,onDoubleClick:_,pageData:u,queryFormData:m,structureId:d,tempPostPageData:k},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(b.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;