ss-component-new 1.2.193 → 1.2.194
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-DguG_DO9.cjs → MTLLoader-ChzwRvuY.cjs} +1 -1
- package/dist/{MTLLoader-BSh7F1Fn.js → MTLLoader-ew4DOYTU.js} +1 -1
- package/dist/{OrbitControls-DYFKWAA1.js → OrbitControls-5Z_MP-xn.js} +1 -1
- package/dist/{OrbitControls-B_2GOGJi.cjs → OrbitControls-Cr0HYnJH.cjs} +1 -1
- package/dist/{URDFLoader-_oupFYo6.cjs → URDFLoader-Bdmv25t5.cjs} +1 -1
- package/dist/{URDFLoader-CWYVsMHt.js → URDFLoader-CGrAKfuG.js} +2 -2
- package/dist/{animationData-ZB440Irc.cjs → animationData-D6phPW4u.cjs} +1 -1
- package/dist/{animationData-Nl0it_q1.js → animationData-D6urlYiy.js} +1 -1
- package/dist/{array-CnprVx2o.js → array-BxROzgwC.js} +1 -1
- package/dist/{array-ChJaWGTV.cjs → array-Cy4nKC4G.cjs} +1 -1
- package/dist/{iconfont-DO3oS6Fj.js → iconfont-C5nBYFiv.js} +2 -2
- package/dist/{iconfont-vbTylzKO.cjs → iconfont-IilY-2ZB.cjs} +1 -1
- package/dist/{index-B4bAk9t4.js → index-0RtxTn38.js} +1 -1
- package/dist/{index-pl4dpQN7.js → index-1WkJ3Ck1.js} +4 -4
- package/dist/{index-CjhSG0k4.js → index-2EQHGlpr.js} +1 -1
- package/dist/{index-CJt4WQ6i.js → index-6F6agFOk.js} +4 -4
- package/dist/{index-DkH4mxoV.js → index-9PM9Iw-l.js} +3 -3
- package/dist/{index-BKdQILG2.cjs → index-B0ff2Mpx.cjs} +1 -1
- package/dist/{index-DKtrwwy-.cjs → index-B5AnqoHF.cjs} +1 -1
- package/dist/{index-Do8-goUf.cjs → index-B6UjgrH5.cjs} +1 -1
- package/dist/{index-CWFEUxGH.js → index-BFeTNeDL.js} +1 -1
- package/dist/{index-viOQOWHj.cjs → index-BHClwKRa.cjs} +1 -1
- package/dist/{index-1gz1igwk.cjs → index-BUwWwa6k.cjs} +1 -1
- package/dist/{index-eP1HBUMn.cjs → index-BXBoC0dx.cjs} +1 -1
- package/dist/index-BZIpRKZ7.js +3112 -0
- package/dist/{index-BOHtn_4E.js → index-BZUFpRKB.js} +1 -1
- package/dist/{index-CgpCRnnG.cjs → index-BgPU4SSB.cjs} +1 -1
- package/dist/{index-uJ_obmMg.cjs → index-BisWzVRQ.cjs} +1 -1
- package/dist/{index-CV96CWmA.js → index-BjsgDCQC.js} +1 -1
- package/dist/{index-FmjS2kdQ.js → index-CEzwVXSb.js} +8 -8
- package/dist/{index-B2KwEUMh.js → index-CFbD5Mfc.js} +1 -1
- package/dist/{index-Codyv6_w.cjs → index-CHD4dwtz.cjs} +1 -1
- package/dist/{index-CRi5__xt.js → index-CPM9hqlL.js} +1 -1
- package/dist/{index-DdlT2Wku.cjs → index-CQ3bkzZj.cjs} +1 -1
- package/dist/{index-BSQIoSFd.js → index-CVD7zGdp.js} +2 -2
- package/dist/{index-BHPiCnJi.cjs → index-CZk5Wm7V.cjs} +1 -1
- package/dist/{index-CSIbBVAu.cjs → index-Ck62Xj_b.cjs} +1 -1
- package/dist/{index-BXxrPrVQ.js → index-DKYZoGlo.js} +1583 -1573
- package/dist/{index-BwPDjUkZ.cjs → index-DRbvMuCM.cjs} +1 -1
- package/dist/{index-Cqss8ayE.cjs → index-DRhtjPNS.cjs} +1 -1
- package/dist/{index-B9RBrU9O.cjs → index-DaGOdvSj.cjs} +1 -1
- package/dist/{index-cg2EFnzZ.js → index-De_PLu5b.js} +1 -1
- package/dist/{index-DcBx3Gvj.cjs → index-DelwfYnb.cjs} +1 -1
- package/dist/{index-BicR5rsf.js → index-DshETWtD.js} +7 -7
- package/dist/{index-m2bg-joe.js → index-Gw_GVQ3j.js} +16 -16
- package/dist/{index-DhMqkhfd.js → index-JTcEcTRF.js} +3 -3
- package/dist/{index-B64sxYFD.js → index-PGmNJSdU.js} +1 -1
- package/dist/{index-BMf3w1fA.cjs → index-S6Ruzqai.cjs} +1 -1
- package/dist/{index-LoNO_h2U.cjs → index-W9srrOFx.cjs} +1 -1
- package/dist/{index-CHauFiWM.cjs → index-YdVz0v1H.cjs} +1 -1
- package/dist/{index-1M0ivA-P.cjs → index-elzylzvG.cjs} +12 -12
- package/dist/{index-DLVT5wbT.js → index-feBLMJnX.js} +1 -1
- package/dist/{index-CPyDchJM.js → index-iWIiPYAR.js} +2 -2
- package/dist/{index-mJH0XHvD.js → index-irI6tYoy.js} +1 -1
- package/dist/index-k7GzmCL_.cjs +1 -0
- package/dist/{index-Bk3lNknq.cjs → index-x0gQbbRy.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CZLeCIYk.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Crmrat0D.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B71hYd8V.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Dbyr0pXA.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bc9wY1DC.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-7MldAs6X.cjs} +131 -131
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BwJ0ZUSS.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Jcpc1m1G.js} +4545 -4545
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Ctjb8pbP.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Co04eJ3h.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DMI9CMut.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DgYug2KC.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-CV5O1eU8.cjs → index.vue_vue_type_style_index_1_lang-Cm49J42h.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-CXX9hYLt.js → index.vue_vue_type_style_index_1_lang-YyReVStF.js} +3 -3
- package/dist/{main-DPHY60lh.cjs → main-DDE8IQAi.cjs} +1 -1
- package/dist/{main-DOdmTXXl.js → main-u45MQVuu.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-BxQEitGc.cjs → threeModel-BjMHi5GI.cjs} +1 -1
- package/dist/{threeModel-kWuDM2TB.js → threeModel-DrM4fymz.js} +4 -4
- package/dist/{threePreview-DrICYLde.js → threePreview-BvVcP9rD.js} +3 -3
- package/dist/{threePreview-uNyRtbRD.cjs → threePreview-ZcJs5Ya1.cjs} +1 -1
- package/dist/{threeSceneView-XfrTEfFk.cjs → threeSceneView-CZuS6Z_q.cjs} +1 -1
- package/dist/{threeSceneView-BggbVNn1.js → threeSceneView-bXTrZ80K.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-BZkkV_Y0.js → threeSceneViewForCPMPIP-CJE1jAhJ.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-5dl01l1P.cjs → threeSceneViewForCPMPIP-DOexU-Lg.cjs} +1 -1
- package/dist/{threeTrackPathView-CHz2fXK6.cjs → threeTrackPathView--xQey12e.cjs} +1 -1
- package/dist/{threeTrackPathView-DY_nKzg8.js → threeTrackPathView-0kTJQuX_.js} +3 -3
- package/dist/{threeViewerHost-p_FHIzB6.cjs → threeViewerHost-B32gazrH.cjs} +1 -1
- package/dist/{threeViewerHost-FoY6i-dk.js → threeViewerHost-C-V0LMIP.js} +2 -2
- package/dist/{urdfTree-DSm76cLI.cjs → urdfTree-Bu5Jaam5.cjs} +1 -1
- package/dist/{urdfTree-CqW072b0.js → urdfTree-CsjnXqb1.js} +1 -1
- package/dist/{workpieceTreePanel-CrzW-6RN.js → workpieceTreePanel-D8vyKd76.js} +4 -4
- package/dist/{workpieceTreePanel-txKYEv-X.cjs → workpieceTreePanel-KkqGTFzy.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-CLnPyxYi.js +0 -3101
- package/dist/index-mQbv-Mmq.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-DRhtjPNS.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-7MldAs6X.cjs"),x=require("./index-BP07Gnjo.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-elzylzvG.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,5 +1,5 @@
|
|
|
1
1
|
import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
|
|
2
|
-
import { af as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { af as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Jcpc1m1G.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-k7GzmCL_.cjs"),n=require("./index-DtFLuXja.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|