ss-component-new 1.3.71 → 1.3.73
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/{MTLLoader-Bk-3r2ef.cjs → MTLLoader-BmVWiY_L.cjs} +1 -1
- package/dist/{MTLLoader-BC8AAkj3.js → MTLLoader-BnW0QbvD.js} +1 -1
- package/dist/{OrbitControls-DVV_dd2I.cjs → OrbitControls-DT_fJft5.cjs} +1 -1
- package/dist/{OrbitControls-BLar7zWU.js → OrbitControls-aj7APKeL.js} +1 -1
- package/dist/{URDFLoader-DBxceMJh.cjs → URDFLoader-DJRlNIJX.cjs} +1 -1
- package/dist/{URDFLoader-CJKEHX6W.js → URDFLoader-DwZ7u4OY.js} +2 -2
- package/dist/{animationData-CeSmYvhE.js → animationData-CjkMBYd2.js} +2 -2
- package/dist/{animationData-CWZF2q9d.cjs → animationData-G7GPUUPU.cjs} +1 -1
- package/dist/{array-DzSQJpzE.cjs → array-Dh-A7jle.cjs} +1 -1
- package/dist/{array-Cob9-erO.js → array-sJwvZynh.js} +5 -5
- package/dist/{iconfont-LHF1s2fv.cjs → iconfont-BQYJXZ0j.cjs} +1 -1
- package/dist/{iconfont-DUOFjGTn.js → iconfont-CKL4t_qj.js} +2 -2
- package/dist/{index-DGJ5KO3g.cjs → index-5MpPq33s.cjs} +1 -1
- package/dist/index-94WFs02l.cjs +1 -0
- package/dist/{index-CsKMsplc.cjs → index-9KGs7whM.cjs} +1 -1
- package/dist/{index-DAFYxRFH.js → index-BDPv6PGL.js} +2 -2
- package/dist/{index-lz-ekKYh.js → index-BHrQS0PO.js} +1 -1
- package/dist/{index-Dol0o7Tn.js → index-BKKLS83Q.js} +1 -1
- package/dist/{index-CmzjWp3L.js → index-BKQu8b42.js} +1 -1
- package/dist/index-BO2SzicS.js +3871 -0
- package/dist/{index-6owInJCL.cjs → index-BPIqIM_a.cjs} +1 -1
- package/dist/{index-BZ9wEgPo.cjs → index-BPPcQ4_M.cjs} +1 -1
- package/dist/{index-0OisJOpx.cjs → index-BQu6Fpbk.cjs} +1 -1
- package/dist/{index-CglCPKf7.cjs → index-B_j1sFJ7.cjs} +1 -1
- package/dist/{index-B7xsjItC.cjs → index-B_vXxIGd.cjs} +13 -13
- package/dist/{index-VLg62SAv.js → index-BbREGM4J.js} +13 -13
- package/dist/{index-D14GEmO2.js → index-BjRRaKW2.js} +1353 -1384
- package/dist/{index-CVCJuzlD.cjs → index-C036vLtM.cjs} +1 -1
- package/dist/{index-D-tWss8l.js → index-C0ar9TXN.js} +1 -1
- package/dist/{index-CUP4nxxS.cjs → index-C3qSTp9J.cjs} +1 -1
- package/dist/index-C5pQXH0_.cjs +11 -0
- package/dist/{index-DoCSUnCZ.js → index-CD4F-OmC.js} +4 -4
- package/dist/{index-DMQNKzW2.js → index-CEJJB1_A.js} +2 -2
- package/dist/{index-DH_CI9BF.cjs → index-CEyDjpWD.cjs} +1 -1
- package/dist/{index-G3aOn9P2.js → index-CIqvcKX_.js} +2 -2
- package/dist/{index-Dhf1rxFg.js → index-CM8QEOIe.js} +3 -3
- package/dist/{index-D_AzaoXr.js → index-COtwZu5v.js} +8 -8
- package/dist/{index-Bc0DjeGJ.js → index-CYAEfACa.js} +4 -4
- package/dist/{index-D36u9cVc.js → index-CbNN_p1y.js} +8 -8
- package/dist/{index-DKPpY9O7.cjs → index-Ceiu-jba.cjs} +1 -1
- package/dist/{index-Dc4I56Pa.cjs → index-Cf0Y4zav.cjs} +1 -1
- package/dist/{index-CwbNBszS.cjs → index-CjXOUGmo.cjs} +1 -1
- package/dist/{index-IXSeTLub.js → index-Cn7cuOeM.js} +4 -4
- package/dist/{index-ydWa0VvV.js → index-CnmkPahV.js} +1 -1
- package/dist/index-Cp68Aa8G.cjs +11 -0
- package/dist/{index-CqABPmeY.js → index-Cr4PDNa4.js} +3371 -3363
- package/dist/{index-DgN3eeTQ.js → index-Ct1Ul4ea.js} +4 -4
- package/dist/{index-DA0ojcIK.cjs → index-Cwb3YO5-.cjs} +1 -1
- package/dist/{index-B0eaVCBU.js → index-Cwmin1ye.js} +1 -1
- package/dist/{index-CuhlLpft.js → index-D0hhR7_L.js} +2612 -2665
- package/dist/{index-CcQOgqpN.cjs → index-D3QoZ29d.cjs} +1 -1
- package/dist/{index-nRi860fp.cjs → index-D8f_yaYM.cjs} +1 -1
- package/dist/{index-BQtjyT2j.cjs → index-DFZOCQ_1.cjs} +1 -1
- package/dist/{index-DcqWejmU.cjs → index-DHdrBDP4.cjs} +1 -1
- package/dist/{index-iEZCBYSk.cjs → index-DRIJn74B.cjs} +1 -1
- package/dist/{index-CbttDXoB.js → index-DZAoe0YQ.js} +1 -1
- package/dist/index-Dkb93gli.cjs +13 -0
- package/dist/{index-Qn_oY_Pi.js → index-DlhGQC5h.js} +2 -2
- package/dist/{index-DI6S1RKN.cjs → index-DolfKJiF.cjs} +1 -1
- package/dist/{index-dey2A0N0.js → index-DtWkoC81.js} +5 -5
- package/dist/{index-D4m9mcwv.cjs → index-DtvBUVyE.cjs} +1 -1
- package/dist/{index-Dpot0iM5.js → index-DwTVLqfZ.js} +957 -954
- package/dist/{index-B5i-XCGU.js → index-Dyhg1YNv.js} +1 -1
- package/dist/{index-jkHlUTog.js → index-K1n-pA4G.js} +2545 -2616
- package/dist/index-Lx9WVRw6.cjs +42 -0
- package/dist/{index-D2GQJyQD.cjs → index-M1TyGRiF.cjs} +1 -1
- package/dist/{index-DLgz-UTm.js → index-N83NRi2K.js} +6 -6
- package/dist/{index-CqwcMpin.js → index-SHqJ0cwG.js} +2 -2
- package/dist/{index-CERm48fB.cjs → index-V5cMOBtr.cjs} +1 -1
- package/dist/{index-CH4zGd4t.cjs → index-VZzCfKCC.cjs} +1 -1
- package/dist/{index-i8BgzHL7.cjs → index-ciCCkZew.cjs} +1 -1
- package/dist/{index-Cq00epFc.js → index-gHhE4tiq.js} +4 -4
- package/dist/{index-RB2IVQbr.cjs → index-iIWkjzE_.cjs} +1 -1
- package/dist/{index-2xfpCKJQ.cjs → index-int00xes.cjs} +1 -1
- package/dist/{index-CTl5T386.js → index-oa1r-ylv.js} +2 -2
- package/dist/{index-C6bhcF6O.js → index-tEu4f9lM.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CgO3Meij.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-5bWuAGGO.js} +2076 -2071
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIKeq3VK.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CcGgDB4E.cjs} +49 -49
- package/dist/{index.vue_vue_type_style_index_1_lang-CVorpatQ.js → index.vue_vue_type_style_index_1_lang-C9ZWGOE_.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-dIqvfFII.cjs → index.vue_vue_type_style_index_1_lang-DVJ-x-dv.cjs} +1 -1
- package/dist/{isString-DhPkQDQg.cjs → isString-Cdf6R00a.cjs} +1 -1
- package/dist/{isString-Bn5VcA2n.js → isString-D4Yi9bDE.js} +1 -1
- package/dist/{main-BBMo5Awc.js → main-BKdjwR7r.js} +4 -4
- package/dist/{main-B0fNqy8l.cjs → main-CyV6vjiF.cjs} +1 -1
- package/dist/{menuIndex-TS0rz6PO.js → menuIndex-19Ruf69F.js} +1 -1
- package/dist/{menuIndex-DkJgWkrd.cjs → menuIndex-BtkpgAAq.cjs} +1 -1
- 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 +2 -2
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +14 -14
- package/dist/{threeModel-CXgDk4Ef.js → threeModel-DFNXfXRG.js} +6 -6
- package/dist/{threeModel--Du5basO.cjs → threeModel-DJuzBw05.cjs} +1 -1
- package/dist/{threePreview-BMfkXUjK.cjs → threePreview-BrZjF4eC.cjs} +1 -1
- package/dist/{threePreview-81glBl9g.js → threePreview-D_Wos3LS.js} +5 -5
- package/dist/{threeSceneView-DrBd5uFQ.cjs → threeSceneView-BEYAcypx.cjs} +1 -1
- package/dist/{threeSceneView-Cf1CB9Fh.js → threeSceneView-DpTiFJaa.js} +11 -11
- package/dist/{threeSceneViewForCPMPIP-Cfs37U13.cjs → threeSceneViewForCPMPIP-BxeILghC.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-1_LFM8oX.js → threeSceneViewForCPMPIP-CISy1L0U.js} +9 -9
- package/dist/{threeTrackPathView-DMUyCZEJ.cjs → threeTrackPathView-B3Pv2bdS.cjs} +1 -1
- package/dist/{threeTrackPathView-C_FxpF48.js → threeTrackPathView-DMVNt168.js} +6 -6
- package/dist/{threeViewerHost-BMVZLvwa.js → threeViewerHost-ATO1eJ5g.js} +3 -3
- package/dist/{threeViewerHost-lgbdeDTc.cjs → threeViewerHost-DPRAryxf.cjs} +1 -1
- package/dist/{urdfTree-O0EiSftj.cjs → urdfTree-BFkOOnWh.cjs} +1 -1
- package/dist/{urdfTree-DJZR1glz.js → urdfTree-_wSayOr_.js} +1 -1
- package/dist/{workpieceTreePanel-BA8SD3g9.js → workpieceTreePanel-CFmrXk2r.js} +4 -4
- package/dist/{workpieceTreePanel-1qt7IOrl.cjs → workpieceTreePanel-D_VSdlXy.cjs} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-B3c-zTPP.cjs +0 -42
- package/dist/index-B5BgK7go.cjs +0 -11
- package/dist/index-CJc9ck5O.cjs +0 -13
- package/dist/index-CyuxBQNL.cjs +0 -1
- package/dist/index-D-dmY4ht.js +0 -3869
- package/dist/index-Dc6Q0f3F.cjs +0 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
|
-
import { u as h, p as k, s as x, c as m } from "./index-
|
|
3
|
-
import { s as M } from "./index-
|
|
4
|
-
import { a as D, d as T, f as S } from "./index-
|
|
5
|
-
import { g as w } from "./index-
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-D0hhR7_L.js";
|
|
3
|
+
import { s as M } from "./index-BjRRaKW2.js";
|
|
4
|
+
import { a as D, d as T, f as S } from "./index-Dyhg1YNv.js";
|
|
5
|
+
import { g as w } from "./index-K1n-pA4G.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
8
8
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-VZzCfKCC.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CcGgDB4E.cjs"),x=require("./index-C5pQXH0_.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-B_vXxIGd.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=o?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.Avatar,{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-e466982c"]]),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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, computed as S, watch as c, onMounted as I, onUnmounted as B, resolveComponent as D, createElementBlock as K, openBlock as L, createVNode as j } from "vue";
|
|
2
|
-
import { b as x, p as z, s as _ } from "./index-
|
|
2
|
+
import { b as x, p as z, s as _ } from "./index-D0hhR7_L.js";
|
|
3
3
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const E = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|