ss-component-new 1.1.321 → 1.1.322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{array-B7a7NPJU.cjs → array-BbvvSsMu.cjs} +1 -1
- package/dist/{array-C-FBt-w6.js → array-D1c5z7wR.js} +2 -2
- package/dist/{cloneDeep-Dfe27GGP.cjs → cloneDeep-Cz5C3YTY.cjs} +1 -1
- package/dist/{cloneDeep-BCBo2P7c.js → cloneDeep-_BP6PqFE.js} +1 -1
- package/dist/{index-DtKo1EwI.cjs → index-2DyWZAdI.cjs} +1 -1
- package/dist/{index-B8R_1YcJ.cjs → index-8Hh6ndcp.cjs} +1 -1
- package/dist/{index-BQg0VVq4.cjs → index-B04yaoqW.cjs} +1 -1
- package/dist/{index-zKJ_fhRb.js → index-B5mGte2C.js} +1 -1
- package/dist/{index-BYj7719b.js → index-B5xspgKx.js} +4 -4
- package/dist/{index-DYKwo9dQ.cjs → index-BDEd8FiZ.cjs} +1 -1
- package/dist/{index-B31X029_.js → index-BHVJl56b.js} +1 -1
- package/dist/{index-DH_8-yVF.cjs → index-BLnGKCeV.cjs} +1 -1
- package/dist/{index-CvyP7SN4.cjs → index-BViHfbD_.cjs} +1 -1
- package/dist/{index-DJCo-V_0.js → index-Bbd67AeJ.js} +3 -3
- package/dist/{index-Bs0aQvhY.cjs → index-BcojRq7f.cjs} +1 -1
- package/dist/{index-B9ylWbtH.cjs → index-BmH4vIv5.cjs} +1 -1
- package/dist/{index-BW8fHFr3.cjs → index-BnhhKe8F.cjs} +1 -1
- package/dist/{index-IynRqxzh.js → index-Bo9FXjtY.js} +9 -9
- package/dist/{index-BhRm0szn.cjs → index-BtqwaqYq.cjs} +1 -1
- package/dist/{index-CXJxkaVz.cjs → index-BvHZX-h-.cjs} +1 -1
- package/dist/{index-BCoI86GW.js → index-C6JIrngm.js} +8 -8
- package/dist/{index-a2ldY1f-.js → index-CAc69tT_.js} +188 -175
- package/dist/{index-C_ALukSb.js → index-CCK5r26s.js} +5 -5
- package/dist/{index-9GphTnn3.js → index-CFmGx7au.js} +3 -3
- package/dist/{index-Bgho40P2.cjs → index-CIKYVmYG.cjs} +1 -1
- package/dist/{index-Ca2rHt6C.js → index-COd6JefL.js} +1 -1
- package/dist/{index-BeJ-4T1d.js → index-CPFvyv9G.js} +7 -7
- package/dist/{index-56_km5fJ.cjs → index-CS1cZGwT.cjs} +1 -1
- package/dist/{index-GQAcezLl.cjs → index-CVOAzSks.cjs} +1 -1
- package/dist/{index-XAfW8sqN.js → index-CZoo5L0I.js} +8 -8
- package/dist/{index-CymFMSAS.js → index-C_IxW7Md.js} +9 -9
- package/dist/{index-bag5UhkN.js → index-Cex_DdEz.js} +6 -6
- package/dist/{index-6JoL18KU.js → index-CifB8Q5h.js} +6 -6
- package/dist/{index-B1pGYX6g.js → index-Cq_-kyms.js} +3 -3
- package/dist/{index-Cum9FmiL.js → index-CvmUTrUZ.js} +7 -7
- package/dist/{index-CLaDIaSW.cjs → index-CvqVEDJp.cjs} +1 -1
- package/dist/{index-CnyOW-3P.js → index-Cy7V5CTy.js} +4 -4
- package/dist/{index-DSmYcj7E.cjs → index-D7VphCVl.cjs} +1 -1
- package/dist/{index-ZC9w1ZOi.cjs → index-DAwrHG2B.cjs} +1 -1
- package/dist/{index-Yb-y-7vb.js → index-DFfFpmpu.js} +5 -5
- package/dist/{index-BK4WawKM.cjs → index-DHpjhrEA.cjs} +1 -1
- package/dist/index-DK5Q4nqN.cjs +11 -0
- package/dist/{index-DGQdhDlx.cjs → index-DSg6qN3u.cjs} +1 -1
- package/dist/{index-DFnqEKzJ.cjs → index-D_43dEyj.cjs} +1 -1
- package/dist/{index-ETZte82B.js → index-DdlsSh-T.js} +5 -5
- package/dist/{index-yAPzGZyB.js → index-DfXZ2EMp.js} +3 -3
- package/dist/{index-B2enzaE2.js → index-DiNYreUx.js} +3 -3
- package/dist/{index-DzbEZsq7.cjs → index-DiPSBd5G.cjs} +1 -1
- package/dist/{index-41WzW0HQ.js → index-Djvu9TqC.js} +8 -8
- package/dist/{index-DWRuDpPB.js → index-GuVmUiOk.js} +1 -1
- package/dist/{index-rsQ55kHW.cjs → index-RK4ejtZg.cjs} +1 -1
- package/dist/{index-CO1MoNNj.cjs → index-TdIgNVKx.cjs} +1 -1
- package/dist/{index-CksMAtZu.cjs → index-UEe32A7X.cjs} +161 -161
- package/dist/{index-gv4Kx45I.cjs → index-feWSPCw8.cjs} +1 -1
- package/dist/index-q45-pnfC.js +5632 -0
- package/dist/{index-C9giOxZg.js → index-znmNCY8T.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-CI6HPiSn.js → index.vue_vue_type_script_setup_true_lang-DCkScM42.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dhlx6gOT.cjs → index.vue_vue_type_script_setup_true_lang-DXsUWEZn.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_62633fa4_lang-CMqyfT8F.js +1146 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_62633fa4_lang-CtS3lsVS.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-CUJRJXLZ.js → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-BxpfZWjj.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-BRb9nIeN.cjs → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-tJav1eMA.cjs} +1 -1
- package/dist/{login-DFyLmZjC.js → login-B19t0BgJ.js} +2 -2
- package/dist/{login-DI3Yef8J.cjs → login-CIjEq-GP.cjs} +1 -1
- package/dist/{main-MMs-Ocq5.cjs → main-EHe9Q7Jw.cjs} +1 -1
- package/dist/{main-KRl16v8X.js → main-vsUpk0Pc.js} +7 -7
- package/dist/{menu-ClaTWnGZ.cjs → menu-BwznZPTB.cjs} +1 -1
- package/dist/{menu-9axm5sPU.js → menu-DXatuTQB.js} +1 -1
- package/dist/model/final.pcd +19333 -0
- package/dist/model/target.pcd +29276 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/package.json +1 -1
- package/public/model/final.pcd +19333 -0
- package/public/model/target.pcd +29276 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-Coyk-8_r.js +0 -5421
- package/dist/index-aBU24Yq6.cjs +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_63a4bd9d_lang-BRkLNqo1.js +0 -1091
- package/dist/index.vue_vue_type_style_index_0_scoped_63a4bd9d_lang-C-PKZjBI.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as Sp, onMounted as Ab, watch as vL, onUnmounted as cL, createElementBlock as Mb, openBlock as Ib, createVNode as pL } from "vue";
|
|
2
2
|
import { _ as Lb } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { c as Ki } from "./cloneDeep-
|
|
3
|
+
import { c as Ki } from "./cloneDeep-_BP6PqFE.js";
|
|
4
4
|
/*! *****************************************************************************
|
|
5
5
|
Copyright (c) Microsoft Corporation.
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as H, resolveComponent as U, createBlock as N, openBlock as m, defineComponent as Ne, onMounted as We, withCtx as O, createVNode as se, createElementVNode as ce, createElementBlock as V, Fragment as oe, renderList as ee, createTextVNode as Be, toDisplayString as xe, watch as De, renderSlot as te, createCommentVNode as J, resolveDynamicComponent as ht, createSlots as Re, mergeProps as pt, normalizeProps as G2, guardReactiveProps as W2, nextTick as Je, normalizeStyle as fe, computed as ft, unref as x2, h as a2, reactive as S2, onBeforeUnmount as Y2, toRefs as q2, withDirectives as i2, vShow as l2, normalizeClass as X2 } from "vue";
|
|
2
2
|
import { S as r2 } from "./index-BHtNKL1L.js";
|
|
3
3
|
import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { c as we } from "./cloneDeep-
|
|
5
|
-
import { E as D2, g as Jt, u as K2, s as J2, a as Z2 } from "./menu-
|
|
6
|
-
import { _ as Q2 } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { c as e0 } from "./index-
|
|
4
|
+
import { c as we } from "./cloneDeep-_BP6PqFE.js";
|
|
5
|
+
import { E as D2, g as Jt, u as K2, s as J2, a as Z2 } from "./menu-DXatuTQB.js";
|
|
6
|
+
import { _ as Q2 } from "./index.vue_vue_type_script_setup_true_lang-DCkScM42.js";
|
|
7
|
+
import { c as e0 } from "./index-Bo9FXjtY.js";
|
|
8
8
|
function t0(o) {
|
|
9
9
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-DXsUWEZn.cjs"),y=require("./menu-BwznZPTB.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),N=require("./index-DAwrHG2B.cjs"),B=require("./index-BpPyaNFa.cjs");function x(c){const d=sessionStorage.getItem("loginToken")??"123456";return y.service({url:"/api/sysFile/uploadAvatar",method:"post",data:c,headers:{Authorization:d,"Content-Type":"multipart/form-data"}})}function A(c){const d=sessionStorage.getItem("loginToken")??"123456";return y.service({url:"/api/sysFile/downloadFile",method:"post",data:c,headers:{Authorization:d,Accept:"application/octet-stream"},responseType:"blob"})}const T={class:"avatar-model-wrap"},V=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(c,{emit:d}){const u=c,i=d,_=e.computed(()=>"http://139.196.154.85:20013"),m=e.ref(""),g=e.ref(""),b=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.avatarUrl},o=>{g.value=o},{immediate:!0});const S=async()=>{if(!(u!=null&&u.disabled))try{const o=await A({url:m.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,p,t,n,l;try{const r=await x(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(g.value=_.value+"/"+((t=(p=r.data)==null?void 0:p.result)==null?void 0:t.url),m.value=(l=(n=r.data)==null?void 0:n.result)==null?void 0:l.url,i("submitImage",g.value))}catch(r){y.ElMessage.error(r)}},w=async()=>{try{if(!g.value)return}catch(o){y.ElMessage.error(o)}};return(o,f)=>{var p,t,n;return e.openBlock(),e.createElementBlock("div",T,[e.createVNode(I._sfc_main,{avatarUrl:g.value,avatarBlob:b.value,onClickAvatar:S,onSubmitImage:k,onDeleteImage:w},{avatarDefault:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString(((l=c.userInfo)==null?void 0:l.account)??"未知"),1)]}),_:1},8,["avatarUrl","avatarBlob"]),e.createElementVNode("span",null,e.toDisplayString((p=c.userInfo)!=null&&p.userName?(t=c.userInfo)==null?void 0:t.userName:(n=c.userInfo)==null?void 0:n.account),1)])}}}),E=C._export_sfc(V,[["__scopeId","data-v-bcb7a17f"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(c,{emit:d}){const u=c,i=e.ref({}),_=e.ref([]),m=d,g=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",m("clickSignButton",t)},b=()=>{i.value.dialogShow=!1,m("beforeDestroy")},S=e.computed(()=>"http://139.196.154.85:20013"),k=t=>{var a;const n=t.split(","),l=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let s=r.length;const v=new Uint8Array(s);for(;s--;)v[s]=r.charCodeAt(s);return new Blob([v],{type:l})},w=async t=>{var n,l,r;try{const s=await x(t);((n=s==null?void 0:s.data)==null?void 0:n.code)===200&&m("clickSubmitSign",S.value+"/"+((r=(l=s.data)==null?void 0:l.result)==null?void 0:r.url))}catch(s){y.ElMessage.error(s)}},o=e.ref(""),f=t=>{o.value=t,i.value.dialogShow=!1;const n=new FormData,l=k(t);n.append("file",l,"image.png"),w(n)},p=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),w(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var l,r,s,v;o.value="",(l=i.value)!=null&&l.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=(s=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:s.contents,_.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 l=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),s=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(N.Signature,{signPadInfo:i.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,h;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:(h=c.userInfo)==null?void 0:h.signature,fit:"contain"},{error:e.withCtx(()=>[e.createVNode(l,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,a=>{var h;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(h=a.label)!=null&&h.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":p,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(s,{disabled:a.disabled,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(s,{key:1,type:"primary",disabled:a.disabled,onClick:F=>g(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=C._export_sfc(U,[["__scopeId","data-v-0bab2515"]]);exports.downloadAvatarApi=A;exports.ssAvatar=E;exports.ssSignature=q;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as A } from "./menu-
|
|
1
|
+
import { j as A } from "./menu-DXatuTQB.js";
|
|
2
2
|
const w = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, O = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, $ = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
3
3
|
function E(r, t) {
|
|
4
4
|
if (r === "__proto__" || r === "constructor" && t && typeof t == "object" && "prototype" in t) {
|