ss-component-new 1.1.655 → 1.1.657
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/{OrbitControls-D9nKHzWI.cjs → OrbitControls-BEKKxuGm.cjs} +1 -1
- package/dist/{OrbitControls-DwXvs1D0.js → OrbitControls-BOEvop3S.js} +1 -1
- package/dist/icons/svg/App.svg +1 -1
- package/dist/icons/svg/default.svg +1 -0
- package/dist/{index-BGpFUEIS.js → index-18I80P2C.js} +946 -943
- package/dist/{index-Bn5W2VSB.cjs → index-5Tz1CEi4.cjs} +1 -1
- package/dist/{index-emRCM9IK.cjs → index-B9EAWpHA.cjs} +1 -1
- package/dist/{index-RjnJBBx6.js → index-BEOtbIkr.js} +2 -2
- package/dist/index-BJ-_BFDQ.js +937 -0
- package/dist/{index-CTgARncA.cjs → index-BUUyeg1A.cjs} +1 -1
- package/dist/index-Bql9uSd9.cjs +1 -0
- package/dist/{index-Co6swGtf.js → index-BtaCqM9k.js} +6 -6
- package/dist/{index-CGQy7TNo.cjs → index-BwgTgC3g.cjs} +23 -23
- package/dist/{index-Dd1dwoeb.cjs → index-ByGdCG1z.cjs} +1 -1
- package/dist/{index-BqXlY78Z.js → index-C-2-K8d_.js} +4 -4
- package/dist/{index-CRvj8aLR.js → index-C-gEdNr0.js} +8 -8
- package/dist/{index-CCjr219w.cjs → index-C5DS2GFh.cjs} +1 -1
- package/dist/{index-BsvVSF4o.js → index-C7UOeJXE.js} +2 -2
- package/dist/{index-CobgiEdI.js → index-CEgLrX1K.js} +1 -1
- package/dist/{index-BhgtdEx-.js → index-CXLF6NN2.js} +1 -1
- package/dist/{index-CPB-ibvL.js → index-CZYP6IBQ.js} +6 -6
- package/dist/{index-BgaEKsCm.cjs → index-CbOwdFfA.cjs} +1 -1
- package/dist/{index-DCsNmvBU.cjs → index-Ch8p7MB6.cjs} +12 -12
- package/dist/index-Cpq5CxLg.cjs +1 -0
- package/dist/{index-BS3o451k.js → index-CzFQu8Xs.js} +4 -4
- package/dist/{index-2XK4FGHS.js → index-D6bQX-A7.js} +980 -977
- package/dist/{index-CxkOqyPv.cjs → index-DBP4GP7-.cjs} +1 -1
- package/dist/{index-C6b4hcJI.cjs → index-DMXqCWi6.cjs} +1 -1
- package/dist/{index-C-KBNjgZ.js → index-DP61HK9f.js} +2108 -2102
- package/dist/{index-C2WIVd64.js → index-DXwPc9BY.js} +3 -3
- package/dist/{index-DJDKJtgu.js → index-Dkaxtb_Q.js} +1 -1
- package/dist/{index-Cc40D3dB.cjs → index-DrngtiGy.cjs} +1 -1
- package/dist/{index-ugxO6ZpQ.cjs → index-DwXqMKtB.cjs} +1 -1
- package/dist/index-QtUcw2wp.cjs +1 -0
- package/dist/{index-Cr73vrta.cjs → index-ZNJ6gJe4.cjs} +1 -1
- package/dist/{index-DQ3MUufv.cjs → index-bpyajBX1.cjs} +1 -1
- package/dist/index-sGnDwWMZ.js +506 -0
- package/dist/{index-BvZOUOT4.js → index-xpn_cZWG.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-cZvH5EKb.js → index.vue_vue_type_style_index_0_scoped_264dc673_lang-B5Qp2wHm.js} +266 -266
- package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-BjOBwJ4U.cjs → index.vue_vue_type_style_index_0_scoped_264dc673_lang-BcoocGYl.cjs} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-DSsVbBCh.js → index.vue_vue_type_style_index_0_scoped_f6ebd097_lang-CwddZPfc.js} +85 -65
- package/dist/index.vue_vue_type_style_index_0_scoped_f6ebd097_lang-w8npdWDC.cjs +1 -0
- package/dist/{main-C94pWU5b.js → main-Bb1_RKkL.js} +2 -2
- package/dist/{main-DO-9rBq_.cjs → main-rS8VYP_S.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-CVaPp35l.cjs → threeModel-CkiW511u.cjs} +1 -1
- package/dist/{threeModel-Tkojgty1.js → threeModel-DiIrep6b.js} +68 -68
- package/package.json +1 -1
- package/public/icons/svg/App.svg +1 -1
- package/public/icons/svg/default.svg +1 -0
- package/dist/index-BZnOhYs3.cjs +0 -1
- package/dist/index-BpPyRes1.cjs +0 -1
- package/dist/index-BypkILb5.cjs +0 -1
- package/dist/index-Cmfum9Rm.js +0 -1363
- package/dist/index-DWfglGK2.js +0 -533
- package/dist/index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-DG35z52M.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CbD8iBb1.cjs");const n=require("./menu-ScIJ5kqr.cjs"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CbD8iBb1.cjs");const n=require("./menu-ScIJ5kqr.cjs"),u=require("./index-BwgTgC3g.cjs"),o=require("./index-DtsQ-ZoV.cjs"),c=require("./index-BE8DQhoN.cjs"),i=e.defineComponent({__name:"index",setup(s){const t=e.reactive({...o.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await c.getActivePageStructureId(r.value)}),(d,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-DrwwH91V.cjs"),y=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-DrwwH91V.cjs"),y=require("./index-Ch8p7MB6.cjs"),C=require("./menu-ScIJ5kqr.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=require("./index-BpPyaNFa.cjs"),A={class:"avatar-model-wrap"},N=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(i,{emit:w}){const u=i,c=w,h=e.computed(()=>"http://139.196.154.85:20013"),p=e.ref(""),d=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.avatarUrl},o=>{d.value=o},{immediate:!0});const S=async()=>{if(!(u!=null&&u.disabled))try{const o=await y.downloadAvatarApi({url:p.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)}},B=async o=>{var f,g,t,n,l;try{const r=await y.uploadAvatarApi(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(d.value=h.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),p.value=(l=(n=r.data)==null?void 0:n.result)==null?void 0:l.url,c("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},b=async()=>{try{if(!d.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t,n;return e.openBlock(),e.createElementBlock("div",A,[e.createVNode(I._sfc_main,{avatarUrl:d.value,avatarBlob:_.value,onClickAvatar:S,onSubmitImage:B,onDeleteImage:b},{avatarDefault:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString(((l=i.userInfo)==null?void 0:l.account)??"未知"),1)]}),_:1},8,["avatarUrl","avatarBlob"]),e.createElementVNode("span",null,e.toDisplayString((g=i.userInfo)!=null&&g.userName?(t=i.userInfo)==null?void 0:t.userName:(n=i.userInfo)==null?void 0:n.account),1)])}}}),V=x._export_sfc(N,[["__scopeId","data-v-bcb7a17f"]]),E=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:w}){const u=i,c=e.ref({}),h=e.ref([]),p=w,d=t=>{c.value.dialogShow=(t==null?void 0:t.label)==="电子签名",p("clickSignButton",t)},_=()=>{c.value.dialogShow=!1,p("beforeDestroy")},S=e.computed(()=>"http://139.196.154.85:20013"),B=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})},b=async t=>{var n,l,r;try{const s=await y.uploadAvatarApi(t);((n=s==null?void 0:s.data)==null?void 0:n.code)===200&&p("clickSubmitSign",S.value+"/"+((r=(l=s.data)==null?void 0:l.result)==null?void 0:r.url))}catch(s){C.ElMessage.error(s)}},o=e.ref(""),f=t=>{o.value=t,c.value.dialogShow=!1;const n=new FormData,l=B(t);n.append("file",l,"image.png"),b(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),b(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var l,r,s,v;o.value="",(l=c.value)!=null&&l.dialogShow&&(c.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]}),c.value=(s=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:s.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 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(y.Signature,{signPadInfo:c.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=c.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:(m=i.userInfo)==null?void 0:m.signature,fit:"contain"},{error:e.withCtx(()=>[e.createVNode(l,{"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(s,{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(s,{key:1,id:"themeButton",disabled:a.disabled,onClick:T=>d(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"])}}}),U=x._export_sfc(E,[["__scopeId","data-v-b9bd887d"]]);exports.ssAvatar=V;exports.ssSignature=U;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { resolveComponent as L, createElementBlock as _, openBlock as r, Fragment as j, renderList as q, unref as W, createElementVNode as C, createVNode as D, toDisplayString as E, ref as I, watch as A, withCtx as z, createBlock as G, resolveDynamicComponent as H, createCommentVNode as y, normalizeStyle as X, withModifiers as w } from "vue";
|
|
2
|
-
import { s as Y, g as J } from "./index-
|
|
2
|
+
import { s as Y, g as J } from "./index-18I80P2C.js";
|
|
3
3
|
import { p as B, s as V, c as v, E as Z } from "./menu-Bj0eSg6d.js";
|
|
4
4
|
import { u as S } from "./modelComp-CUCWitDo.js";
|
|
5
5
|
import "./array-CrFbJF1B.js";
|
|
6
6
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import ee from "./index-CZtXRS3l.js";
|
|
8
|
-
import { b as te } from "./index-
|
|
8
|
+
import { b as te } from "./index-D6bQX-A7.js";
|
|
9
9
|
import { E as ne } from "./index-CL7Kg1Kn.js";
|
|
10
10
|
const oe = { class: "type-select" }, se = ["onClick"], ae = { class: "list-icon" }, le = {
|
|
11
11
|
__name: "index",
|