ss-component-new 1.2.174 → 1.2.175

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 (108) hide show
  1. package/dist/{MTLLoader-DnU-_0qE.cjs → MTLLoader-CR-R4D3A.cjs} +1 -1
  2. package/dist/{MTLLoader-Dl-ac2Xc.js → MTLLoader-D05WSq-q.js} +1 -1
  3. package/dist/{OrbitControls-08gYRf-k.js → OrbitControls-DGyaLqZV.js} +1 -1
  4. package/dist/{OrbitControls-DBaOfNY1.cjs → OrbitControls-DkAdlZPz.cjs} +1 -1
  5. package/dist/{URDFLoader-C11oinCY.js → URDFLoader-rXQKxYBd.js} +2 -2
  6. package/dist/{URDFLoader-BYN2TFBY.cjs → URDFLoader-x8vUKwPr.cjs} +1 -1
  7. package/dist/{animationData-fw9gK6CN.js → animationData-CGKa2au1.js} +2 -2
  8. package/dist/{animationData-BwErKO8V.cjs → animationData-DBwtb8zr.cjs} +1 -1
  9. package/dist/{array-CjCpc4js.js → array-DlS90r5w.js} +3 -3
  10. package/dist/{array-D4229AW1.cjs → array-Dw4Yc0on.cjs} +1 -1
  11. package/dist/{iconfont-Dr0PaeMz.js → iconfont-Bh6I7yoc.js} +2 -2
  12. package/dist/{iconfont-B4PGRH37.cjs → iconfont-DTy0GXFn.cjs} +1 -1
  13. package/dist/{index-B0Y6mTFc.cjs → index-5MfOfDqd.cjs} +1 -1
  14. package/dist/{index-yLCU5zNq.cjs → index-A2vAi7vP.cjs} +1 -1
  15. package/dist/{index-BAz8tyeQ.cjs → index-B-gaEXuH.cjs} +1 -1
  16. package/dist/{index-BbzUzdxF.cjs → index-BAsZ3voF.cjs} +1 -1
  17. package/dist/{index-_lg-jrRI.js → index-BIiBz_NW.js} +2 -2
  18. package/dist/{index-B9RgIMDB.cjs → index-BKP1yyHm.cjs} +1 -1
  19. package/dist/{index-CwZLLmeE.cjs → index-BQ4uZmL2.cjs} +1 -1
  20. package/dist/{index-gvHJ-SKY.js → index-BTwnAq9V.js} +2 -2
  21. package/dist/{index-BoXjy_oE.cjs → index-BXaReejM.cjs} +1 -1
  22. package/dist/{index-D0TxueFB.js → index-BYrG8OBb.js} +11 -11
  23. package/dist/{index-62PHNV7A.js → index-B_OASRUO.js} +2 -2
  24. package/dist/{index--o3zbzBq.cjs → index-Bgfn_1PY.cjs} +1 -1
  25. package/dist/{index-FpU5EJWF.cjs → index-BmIdmZp6.cjs} +8 -8
  26. package/dist/{index-B21qqUNb.js → index-BpbXVqPH.js} +12 -12
  27. package/dist/{index-B5qThuu5.js → index-BqpWqgSt.js} +4 -4
  28. package/dist/{index-2EVaN5A_.js → index-Bqrm3VDZ.js} +1 -1
  29. package/dist/{index-DSpiwuKc.js → index-Bw3_5l5O.js} +3 -3
  30. package/dist/{index-D8bsSh35.js → index-BxkOJwR0.js} +1 -1
  31. package/dist/{index-DOCHgBta.cjs → index-C5woD5Cw.cjs} +1 -1
  32. package/dist/{index-B9Fj4p7y.cjs → index-C6NYcqQj.cjs} +1 -1
  33. package/dist/{index-BTwAhIqv.js → index-C6oRl7w0.js} +6 -6
  34. package/dist/{index-Bu0HcZoI.cjs → index-C9MdLFq4.cjs} +1 -1
  35. package/dist/index-CHIienMN.js +3003 -0
  36. package/dist/{index-YRgFFlVF.cjs → index-CQfanE9k.cjs} +1 -1
  37. package/dist/{index-Z3NUprRN.cjs → index-CdvvA3L2.cjs} +1 -1
  38. package/dist/{index-Dow79ST3.js → index-Cepu8Qla.js} +3 -3
  39. package/dist/{index-JzEXlhfX.cjs → index-CmNhcax9.cjs} +1 -1
  40. package/dist/{index-BWdWpylx.js → index-CpCjSu_n.js} +2 -2
  41. package/dist/{index-CcIz2WvB.cjs → index-CruAXu_m.cjs} +1 -1
  42. package/dist/{index-BgqcOjwU.js → index-Cy0TW-Cc.js} +309 -309
  43. package/dist/{index-zHH5odRp.js → index-CyZCNsOm.js} +1 -1
  44. package/dist/{index-CJsP-Bi6.js → index-Czs-ptVO.js} +4 -4
  45. package/dist/{index-VWXFMFZK.js → index-D2_BSB58.js} +6 -6
  46. package/dist/{index-8NtV5Za3.cjs → index-D5LAwrWR.cjs} +1 -1
  47. package/dist/{index-BKFgofzO.cjs → index-D5Y_Pm_3.cjs} +1 -1
  48. package/dist/{index-CNKq3fM4.js → index-DBlrqy2z.js} +1 -1
  49. package/dist/{index-JabYXYXQ.cjs → index-DKca7iRT.cjs} +1 -1
  50. package/dist/{index-T0S7XRLq.cjs → index-DUPTbPtM.cjs} +1 -1
  51. package/dist/{index-DVLGD_xN.cjs → index-D___JfrA.cjs} +1 -1
  52. package/dist/{index-C851lMfD.cjs → index-DgY30UFg.cjs} +1 -1
  53. package/dist/{index-AIq5wzuR.js → index-Dh_LOm8w.js} +1 -1
  54. package/dist/{index-D11k4SIo.js → index-Dy40DEnD.js} +4 -4
  55. package/dist/{index-De916rC8.js → index-DyNBPmUy.js} +2 -2
  56. package/dist/{index-DIUrwul5.js → index-KFoWHXov.js} +7 -5
  57. package/dist/{index-CYqvvs6c.js → index-XCNh-jZY.js} +2 -2
  58. package/dist/{index-BIkQWptd.cjs → index-Xb_d3z-H.cjs} +1 -1
  59. package/dist/index-Xz5odwQo.cjs +1 -0
  60. package/dist/{index-D_HjcWeY.js → index-YWQNDnbh.js} +3 -3
  61. package/dist/{index-CvlhzNfh.js → index-ZsNhppF_.js} +3 -3
  62. package/dist/{index-BVJgsri-.js → index-a4D2ISWg.js} +2 -2
  63. package/dist/{index-CJDd22HW.cjs → index-e-AcrHyq.cjs} +1 -1
  64. package/dist/{index-u_XtQAdw.js → index-fveEMEQr.js} +2 -2
  65. package/dist/{index-DZJF7-NI.cjs → index-l9Pk1XBp.cjs} +1 -1
  66. package/dist/{index-D_tbgi5B.cjs → index-mRt4-HgX.cjs} +1 -1
  67. package/dist/{index-CcS5ZULi.cjs → index-nPMsxEkB.cjs} +1 -1
  68. package/dist/{index-DnG4TOG3.js → index-ruvk89Uz.js} +5 -5
  69. package/dist/{index-DEXbyvkC.js → index-tnXXGyGw.js} +3 -3
  70. package/dist/{index-BJG5F2fN.js → index-u22RYT6X.js} +20 -20
  71. package/dist/{index-DO9m7iwV.cjs → index-vUmI_aAz.cjs} +1 -1
  72. package/dist/{index-C8qRkCgn.cjs → index-y1mE3_ai.cjs} +1 -1
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B-HlXjPZ.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-2AD5eQB1.js} +10 -10
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CGlYjPep.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Ct2nep0f.cjs} +1 -1
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DK2lOc59.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B_P-I7Kf.cjs} +302 -302
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CB4xwX-n.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DeWDRnK-.js} +9997 -9976
  77. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DIXVC7ze.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-9_ehDmOC.js} +7 -7
  78. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CEuWgO-Z.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BW1MPKr7.cjs} +1 -1
  79. package/dist/{index.vue_vue_type_style_index_1_lang-BHmG03vO.js → index.vue_vue_type_style_index_1_lang-46IdC_8L.js} +5 -5
  80. package/dist/{index.vue_vue_type_style_index_1_lang-DpEHApyB.cjs → index.vue_vue_type_style_index_1_lang-CmFbshDy.cjs} +1 -1
  81. package/dist/{isString-CN3i5s9o.js → isString-BcJYo5aE.js} +1 -1
  82. package/dist/{isString--eJE54G5.cjs → isString-MUYgjroV.cjs} +1 -1
  83. package/dist/{main-CcP8l8bC.cjs → main-9L2fq1tN.cjs} +1 -1
  84. package/dist/{main-B7pZ1zpO.js → main-DTcn4amP.js} +5 -5
  85. package/dist/ss-component.cjs +1 -1
  86. package/dist/ss-component.css +2 -2
  87. package/dist/ss-component.js +11 -11
  88. package/dist/ss-component2.cjs +1 -1
  89. package/dist/ss-component2.js +12 -12
  90. package/dist/{threeModel-BiIAmv8u.js → threeModel-DETrDZhQ.js} +5 -5
  91. package/dist/{threeModel-DG60NMbV.cjs → threeModel-oOClIGBp.cjs} +1 -1
  92. package/dist/{threePreview-eGNGV75a.js → threePreview-B-2nMWcI.js} +4 -4
  93. package/dist/{threePreview-D1i8Yoq7.cjs → threePreview-BGQ5FlOC.cjs} +1 -1
  94. package/dist/{threeSceneView-DHcAYydA.cjs → threeSceneView-CU32CHkR.cjs} +1 -1
  95. package/dist/{threeSceneView-gtG3gW_n.js → threeSceneView-DmtE3lwc.js} +11 -11
  96. package/dist/{threeSceneViewForCPMPIP-BGHtc9I0.cjs → threeSceneViewForCPMPIP-CBw9wJUT.cjs} +1 -1
  97. package/dist/{threeSceneViewForCPMPIP-93ehCJ6D.js → threeSceneViewForCPMPIP-Cc9J6xz6.js} +8 -8
  98. package/dist/{threeTrackPathView-DDHWF6Xv.cjs → threeTrackPathView-Bmtfv7VK.cjs} +1 -1
  99. package/dist/{threeTrackPathView-BLdeA91H.js → threeTrackPathView-DcR0RXPb.js} +5 -5
  100. package/dist/{threeViewerHost-xz57yFOy.cjs → threeViewerHost-C6gjvpcg.cjs} +1 -1
  101. package/dist/{threeViewerHost-D80DHj4z.js → threeViewerHost-DKsihx3G.js} +4 -4
  102. package/dist/{urdfTree-3xrRaA9A.cjs → urdfTree-CB9GhNL7.cjs} +1 -1
  103. package/dist/{urdfTree-BItMIcjh.js → urdfTree-D55cXXY_.js} +1 -1
  104. package/dist/{workpieceTreePanel-BaZfzpLg.js → workpieceTreePanel-BnLl9nv-.js} +4 -4
  105. package/dist/{workpieceTreePanel-BtfT-tQ_.cjs → workpieceTreePanel-DfC-7RWt.cjs} +1 -1
  106. package/package.json +1 -1
  107. package/dist/index-BYdpkgf5.cjs +0 -1
  108. package/dist/index-HWW9JSNL.js +0 -2990
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),I=require("./index-JabYXYXQ.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DK2lOc59.cjs"),x=require("./index-C8qRkCgn.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-FpU5EJWF.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-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;