ss-component-new 1.2.191 → 1.2.192
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/{index-Cxc1PVXd.cjs → index-1ODHK9Cd.cjs} +1 -1
- package/dist/{index-D1ueogxS.cjs → index-B23XP8Sd.cjs} +1 -1
- package/dist/{index-BirQQ3lc.cjs → index-B3s6qd3M.cjs} +1 -1
- package/dist/{index-D65YDXKW.js → index-B5LJ6FGn.js} +1 -1
- package/dist/{index-rZ7014Sk.js → index-BEj44QUg.js} +1 -1
- package/dist/{index-C70zIE55.js → index-BLWD7etg.js} +1 -1
- package/dist/{index-CMIPZKPf.js → index-BQdex7jO.js} +1 -1
- package/dist/{index-BXqKOxuS.js → index-BZrGQ9o1.js} +3 -3
- package/dist/{index-C2JrWyll.js → index-BcBjGzet.js} +3 -3
- package/dist/{index-CBrhRCO-.js → index-BcZW8n6c.js} +1 -1
- package/dist/{index-CWYagSpt.cjs → index-BguIX2P4.cjs} +1 -1
- package/dist/{index-RnSoY-22.cjs → index-Bm50ZZuq.cjs} +1 -1
- package/dist/{index-BymuSJDI.js → index-BowckPW8.js} +1 -1
- package/dist/{index-B-NCl3gS.cjs → index-Bq-dJJvd.cjs} +1 -1
- package/dist/{index-BxzBPUPM.js → index-C5vtEDy4.js} +2 -2
- package/dist/{index-pE7as_kK.cjs → index-C6aP1eIU.cjs} +1 -1
- package/dist/{index-DJG_XEjD.js → index-CLrQ3JMC.js} +2 -2
- package/dist/{index-BX8rwlid.js → index-CMpTpds8.js} +4 -4
- package/dist/{index-DJK5gz0F.js → index-CWGLA4xe.js} +1 -1
- package/dist/{index-cEI9vLYk.cjs → index-Csi6xtxp.cjs} +1 -1
- package/dist/{index-CfrhAsQz.cjs → index-CwX0OwiF.cjs} +1 -1
- package/dist/{index-ClXBdclA.js → index-CxMRlSKH.js} +1 -1
- package/dist/{index-3YRDwSPj.cjs → index-D2ZwX2kR.cjs} +1 -1
- package/dist/{index-Dn1Qel0o.cjs → index-D4T0v2f_.cjs} +1 -1
- package/dist/{index-DVgUQo5m.cjs → index-DNy_qVvw.cjs} +1 -1
- package/dist/{index-uqjKMDh5.js → index-DoqduP20.js} +11 -11
- package/dist/{index-CG3mcSTj.cjs → index-Dv-xHM7h.cjs} +1 -1
- package/dist/{index-BJoXWCIX.js → index-DvuQ6n5o.js} +2 -2
- package/dist/{index-BuL5m2Nq.js → index-Dz5O73IZ.js} +5 -5
- package/dist/{index-ipWINep3.cjs → index-Llg0-BL5.cjs} +1 -1
- package/dist/{index-CPcvHs6z.cjs → index-NG0JZKkn.cjs} +1 -1
- package/dist/{index-zTq3bNpY.js → index-Un7xS2Nb.js} +2 -2
- package/dist/{index-CvNZtYfg.cjs → index-VLwmyIOb.cjs} +1 -1
- package/dist/{index-CgRDUt8V.cjs → index-hYa8rJWO.cjs} +1 -1
- package/dist/{index-cH3mCnr4.js → index-iuq5na-k.js} +1 -1
- package/dist/{index-D-Yo1xz-.cjs → index-r_n9bpW_.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bsm0qkYt.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BU_MX7_0.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D6b-8gl4.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DlOjCfkj.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BCaM-Lqa.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BEFZSjlw.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CQS0SuIY.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BnVkqouB.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-BFSnWFIG.js → index.vue_vue_type_style_index_1_lang-Cgm8Cuer.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Clj-_LIm.cjs → index.vue_vue_type_style_index_1_lang-DXs-lrLT.cjs} +1 -1
- package/dist/{main-Ce1JDbwN.cjs → main-CK7a4eej.cjs} +1 -1
- package/dist/{main-SkCnXTUx.js → main-eQ2yMiP4.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-X2Nc978i.cjs → threeModel-BQWHG33C.cjs} +1 -1
- package/dist/{threeModel-Byuhg7mk.js → threeModel-BsE51SUL.js} +2 -2
- package/dist/{threeSceneView-CYij3StZ.cjs → threeSceneView-B-TXh0v2.cjs} +1 -1
- package/dist/{threeSceneView-6zjO4BPx.js → threeSceneView-D4ii8mhH.js} +2 -2
- package/dist/{threeSceneViewForCPMPIP-D4udu9q8.js → threeSceneViewForCPMPIP-D_Z1UGet.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-UVqs5Mfj.cjs → threeSceneViewForCPMPIP-uSbrD0_x.cjs} +1 -1
- package/dist/threeTrackPathView-B_CJ1S5Z.cjs +1 -0
- package/dist/{threeTrackPathView-DuiJbPwP.js → threeTrackPathView-DNh-AvDU.js} +80 -79
- package/dist/{threeViewerHost-BoBcYLbp.js → threeViewerHost-B3D4LzMe.js} +1 -1
- package/dist/{threeViewerHost-B2o6xcaT.cjs → threeViewerHost-DyPs12hY.cjs} +1 -1
- package/dist/{workpieceTreePanel-B55jmeoM.cjs → workpieceTreePanel-BLf_clDa.cjs} +1 -1
- package/dist/{workpieceTreePanel-1eij5wwB.js → workpieceTreePanel-BiQ4O4B7.js} +2 -2
- package/package.json +1 -1
- package/dist/threeTrackPathView-CvJHDcL3.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as F, computed as N, ref as p, watch as $, createElementBlock as k, openBlock as b, createVNode as v, createCommentVNode as j, withCtx as i, createTextVNode as T, toDisplayString as I, resolveComponent as B, createBlock as x, Fragment as L, renderList as O, createElementVNode as R, normalizeStyle as q } from "vue";
|
|
2
2
|
import { s as H } from "./index-C0cHsnRQ.js";
|
|
3
|
-
import { d as M, e as P } from "./threeViewerHost-
|
|
3
|
+
import { d as M, e as P } from "./threeViewerHost-B3D4LzMe.js";
|
|
4
4
|
import { E as z } from "./index-CA0SFykF.js";
|
|
5
5
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { S as W } from "./index-
|
|
6
|
+
import { S as W } from "./index-BQdex7jO.js";
|
|
7
7
|
import { S as E } from "./index-BHtNKL1L.js";
|
|
8
8
|
const D = { class: "avatar-model-wrap" }, G = { key: 0 }, J = /* @__PURE__ */ F({
|
|
9
9
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-BXOt6i8Y.cjs"),k=require("./threeViewerHost-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-BXOt6i8Y.cjs"),k=require("./threeViewerHost-DyPs12hY.cjs"),C=require("./index-CEwxrYB-.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-Csi6xtxp.cjs"),S=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:{}}},emits:["submitImage","deleteImage"],setup(s,{emit:w}){const u=s,i=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=u.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const _=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.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)}},B=async o=>{var f,g,t,n,c;try{const r=await k.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,i("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:s.size,onClickAvatar:_,onSubmitImage:B,onDeleteImage:y},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=s.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=s.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size"]),s.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=s.userInfo)==null?void 0:g.account)||((t=s.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-882723d5"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(s,{emit:w}){const u=s,i=e.ref({}),m=e.ref([]),d=w,h=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{i.value.dialogShow=!1,d("beforeDestroy")},_=e.computed(()=>"http://222.92.178.198:62001"),B=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 k.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,i.value.dialogShow=!1;const n=new FormData,c=B(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(()=>u==null?void 0:u.itemData,t=>{var c,r,l,v;o.value="",(c=i.value)!=null&&c.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=(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:i.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;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:_.value+"/"+((p=s.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(S.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(S.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(S.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,11 +1,11 @@
|
|
|
1
1
|
import { ref as V, computed as Z, resolveComponent as K, createElementBlock as w, openBlock as r, Fragment as ae, renderList as te, createElementVNode as g, toDisplayString as j, createVNode as C, watch as ue, createBlock as A, resolveDynamicComponent as X, unref as h, withCtx as D, isRef as ze, createTextVNode as ee, createCommentVNode as G, normalizeStyle as Xe, withModifiers as ne, normalizeClass as Ge, nextTick as Ke } from "vue";
|
|
2
|
-
import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-
|
|
2
|
+
import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-CMpTpds8.js";
|
|
3
3
|
import { p as ie, s as le, c as R, E as ea } from "./index-CA0SFykF.js";
|
|
4
4
|
import { a as me, u as qe, E as aa } from "./index.vue_vue_type_style_index_1_lang-mHz69z2I.js";
|
|
5
5
|
import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-C_QRPq8X.js";
|
|
6
6
|
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import ia from "./index-rlStojTL.js";
|
|
8
|
-
import { a as da, b as pa } from "./index-
|
|
8
|
+
import { a as da, b as pa } from "./index-BQdex7jO.js";
|
|
9
9
|
import { s as va } from "./index-CQpoN-3d.js";
|
|
10
10
|
const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
|
|
11
11
|
__name: "index",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as Mo, a as Ro, f as Lo, g as Fo, u as Ko, s as jo } from "./index-
|
|
1
|
+
import { b as Mo, a as Ro, f as Lo, g as Fo, u as Ko, s as jo } from "./index-BZrGQ9o1.js";
|
|
2
2
|
import { computed as Gt, ref as ue, watch as kt, onUnmounted as Uo, resolveComponent as Kt, createElementBlock as Je, openBlock as Pe, createVNode as Te, createBlock as Bt, createCommentVNode as fa, withCtx as Ke, createElementVNode as le, Fragment as Nt, renderList as Zt, toDisplayString as gt, nextTick as Ha, createTextVNode as At, defineComponent as xa, resolveDynamicComponent as cn, onMounted as On, unref as Lt, reactive as Ka, renderSlot as Sn, createSlots as No, mergeProps as cr, normalizeStyle as Tn, withModifiers as $n, getCurrentInstance as Wo, inject as ml, shallowRef as Vo, toRef as Ho, onBeforeMount as dr, watchEffect as qo, onBeforeUnmount as fr, normalizeClass as bl, getCurrentScope as Go, onScopeDispose as Xo, provide as kl, toRefs as xl, withDirectives as Yo, vShow as Jo } from "vue";
|
|
3
3
|
import { c1 as Qo, j as ei, c2 as Zo, bD as es, bE as ts, s as Qt, p as Xt, u as Ri, c as v, bu as Ai, g as ha, b as Oi, E as jt, f as Yi, bv as In, bt as Fn, d as dn, e as pr, c0 as as } from "./index-CA0SFykF.js";
|
|
4
|
-
import { u as ns, c as ca, a as rl, e as hr, E as vr, f as gr, d as is, b as ls, i as yi } from "./index-
|
|
4
|
+
import { u as ns, c as ca, a as rl, e as hr, E as vr, f as gr, d as is, b as ls, i as yi } from "./index-BQdex7jO.js";
|
|
5
5
|
import { a as zn, u as Kn, i as Li, aE as rs, aF as yr, au as Ji, aG as zi, aH as Qi, j as ia, aI as ol, E as qa, aJ as Zi, aK as ga, aL as Rn, aM as ln, aN as Cn, aO as Wi, l as os, aP as ss, aQ as us, aR as cs, aS as ds, aT as fs, aU as ps, aV as hs, aW as vs } from "./index.vue_vue_type_style_index_1_lang-mHz69z2I.js";
|
|
6
6
|
import { s as va, _ as wl } from "./index-CQpoN-3d.js";
|
|
7
|
-
import { a as gs, T as ys } from "./threeViewerHost-
|
|
7
|
+
import { a as gs, T as ys } from "./threeViewerHost-B3D4LzMe.js";
|
|
8
8
|
import { aF as ms, aG as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-dK7WSb7x.js";
|
|
9
9
|
import { _ as ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as _l } from "./isString-C_qk7R_g.js";
|
|
11
|
-
import { a as ks, s as xs } from "./index-
|
|
11
|
+
import { a as ks, s as xs } from "./index-C5vtEDy4.js";
|
|
12
12
|
import mr from "./index-rlStojTL.js";
|
|
13
13
|
import { s as ws } from "./index-BCVZXH_H.js";
|
|
14
14
|
var _s = /\s/;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
2
|
import { S as m } from "./index-CQEFScjn.js";
|
|
3
|
-
import { s as _ } from "./index-
|
|
3
|
+
import { s as _ } from "./index-BZrGQ9o1.js";
|
|
4
4
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
6
6
|
__name: "index",
|