ss-component-new 1.2.90 → 1.2.91
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-D80GV1WB.cjs → MTLLoader-B7nny5Fq.cjs} +1 -1
- package/dist/{MTLLoader-B5xRp-vz.js → MTLLoader-BFJXexXd.js} +1 -1
- package/dist/{OrbitControls-Dh9PyFO4.js → OrbitControls-C9jawbH9.js} +1 -1
- package/dist/{OrbitControls-CqIpswqa.cjs → OrbitControls-xaR75UGu.cjs} +1 -1
- package/dist/{animationData-ChnEQcWN.cjs → animationData-CBP3-eEz.cjs} +1 -1
- package/dist/{animationData-R5RUbyuY.js → animationData-CgRkXv4t.js} +1 -1
- package/dist/{iconfont-0T5xTLj8.cjs → iconfont-CP5tSbKZ.cjs} +1 -1
- package/dist/{iconfont-DN8mra_i.js → iconfont-CjxxsF1M.js} +2 -2
- package/dist/{index-945YmMLJ.js → index-1K0-Lril.js} +3 -3
- package/dist/{index-43r-KEgN.js → index-4C4_axeD.js} +1 -1
- package/dist/{index-XW9cdt8O.cjs → index-5IXozXfb.cjs} +1 -1
- package/dist/{index-Cj-t-GUv.cjs → index-7Birt--o.cjs} +1 -1
- package/dist/{index-CGhvoFIh.cjs → index-7slO1Rxz.cjs} +1 -1
- package/dist/{index-CNKc5GU4.js → index-8zvR_tOe.js} +1 -1
- package/dist/{index-H5zWVryT.cjs → index-B2gEqMwz.cjs} +1 -1
- package/dist/{index-fbsH9PEh.js → index-B8bmwRCI.js} +1 -1
- package/dist/{index-DP_i5ftZ.js → index-BAhJFVq5.js} +2 -2
- package/dist/{index-CZLI4UKD.js → index-BEvmMS0i.js} +1 -1
- package/dist/{index-B3hVexQF.js → index-BMP_6QMQ.js} +4 -4
- package/dist/{index-B67-PgYw.js → index-BQ2epFRD.js} +1 -1
- package/dist/{index-DBndBAmi.cjs → index-BXnPM7aS.cjs} +1 -1
- package/dist/{index-pziqfdAa.js → index-B_PGXhqu.js} +1 -1
- package/dist/{index-DsLShQZL.js → index-Bb1-JDSj.js} +2 -2
- package/dist/{index-BeEVAZ15.cjs → index-BekTYc0y.cjs} +1 -1
- package/dist/{index-BdwtuRne.cjs → index-BlCQ16SZ.cjs} +1 -1
- package/dist/{index-DNWalfgy.cjs → index-BtAr_AHh.cjs} +1 -1
- package/dist/{index-DRxhdO38.cjs → index-BuBu-8ML.cjs} +1 -1
- package/dist/{index-Dm2K00uW.js → index-C-L7sbsd.js} +421 -418
- package/dist/{index-s_rVCHvs.js → index-C3T-KdRt.js} +1 -1
- package/dist/{index-DLShoBAD.cjs → index-C8yBntW8.cjs} +1 -1
- package/dist/{index-BRVn_EF1.js → index-CETcLmm9.js} +3 -3
- package/dist/{index-m_VPPkQD.cjs → index-CP7aP3gS.cjs} +1 -1
- package/dist/{index-CRBj0IE1.cjs → index-CUEf5Kz5.cjs} +1 -1
- package/dist/{index-CKzD8tit.js → index-D9EZRG95.js} +1 -1
- package/dist/{index-CmPnaCqr.js → index-DFI9yzK6.js} +13 -13
- package/dist/{index-BW7_3RoD.cjs → index-DG16Kf33.cjs} +1 -1
- package/dist/{index-D5VkPezA.cjs → index-DUVWJUDm.cjs} +1 -1
- package/dist/{index-wZjCbQV_.cjs → index-DYPr6Y5L.cjs} +1 -1
- package/dist/{index-ClxM8xCG.cjs → index-Dp0Qfw7S.cjs} +1 -1
- package/dist/{index-CewrcECw.js → index-Dp6H2nKE.js} +1 -1
- package/dist/{index-DvSKjwnE.cjs → index-DqVT7oIp.cjs} +1 -1
- package/dist/{index-CIL8wLzQ.js → index-DvGuZe_T.js} +3 -3
- package/dist/{index-CxuGIbhq.js → index-Ebo1c622.js} +1 -1
- package/dist/{index-PsB2VFdd.js → index-Vsjvei0H.js} +2 -2
- package/dist/{index-CSASPaZP.cjs → index-aQEd-0P6.cjs} +1 -1
- package/dist/{index-CpGj9jjq.cjs → index-aSIQAW_v.cjs} +1 -1
- package/dist/{index-BhhFLASG.js → index-dDyNP3sZ.js} +6 -6
- package/dist/{index-DfghibBM.cjs → index-ihwK0f5N.cjs} +1 -1
- package/dist/{index-_PqtVmB5.js → index-q5RVI5cd.js} +3 -3
- package/dist/{index-bFdNa8aj.cjs → index-vOASo2vq.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-0MW1VRgy.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CFsZEbkA.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-1NUhtQk0.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DecIEtG7.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QzgaFA5S.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cwx8FIbY.cjs} +58 -58
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js} +1647 -1642
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BMKC5TVn.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-B10uDdFf.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-C72Rr1SH.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BX54cUHO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-C-2EhQeU.js → index.vue_vue_type_style_index_1_lang-B-okL2FZ.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-Xo4JSq-J.cjs → index.vue_vue_type_style_index_1_lang-CTa9TwBd.cjs} +1 -1
- package/dist/{main-BE-iA6hW.cjs → main-Cwa67iI0.cjs} +1 -1
- package/dist/{main-Bv7oX7Xn.js → main-t0azuc9l.js} +2 -2
- 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.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-cN3XeS9l.cjs → threeModel-BsTUf7j3.cjs} +1 -1
- package/dist/{threeModel-BmkWoPdy.js → threeModel-Byx2BFHA.js} +4 -4
- package/dist/{threePreview-Dmaba2U-.js → threePreview-B9a62AVY.js} +3 -3
- package/dist/{threePreview-B9kbeN1y.cjs → threePreview-DGcEWlwZ.cjs} +1 -1
- package/dist/{threeSceneView-EIPGJRbv.cjs → threeSceneView-BYc0Z0CJ.cjs} +1 -1
- package/dist/{threeSceneView-afr3Fv7q.js → threeSceneView-C59wI_1_.js} +6 -6
- package/dist/{threeSceneViewForCPMPIP-CR5y7Hzt.js → threeSceneViewForCPMPIP-BslGbi80.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-BxakXYgn.cjs → threeSceneViewForCPMPIP-kGIus7ge.cjs} +1 -1
- package/dist/{threeTrackPathView-WLhJTcJd.cjs → threeTrackPathView-C5outYjx.cjs} +1 -1
- package/dist/{threeTrackPathView-CKhnsfKP.js → threeTrackPathView-CNiRDEIa.js} +4 -4
- package/dist/{threeViewerHost-5yvNo1Ub.js → threeViewerHost-C2iVAVlI.js} +2 -2
- package/dist/{threeViewerHost-Ym_dg2DG.cjs → threeViewerHost-D3ZmD_As.cjs} +2 -2
- package/dist/{urdfTree-CWwnorES.cjs → urdfTree-DEo6cc0y.cjs} +1 -1
- package/dist/{urdfTree-DIyCunQo.js → urdfTree-D_oX4idQ.js} +1 -1
- package/dist/{workpieceTreePanel-D3a0Vvh1.js → workpieceTreePanel--92uvFwB.js} +5 -5
- package/dist/{workpieceTreePanel-CTOK6c6d.cjs → workpieceTreePanel-C0Lq3HIU.cjs} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-CUEf5Kz5.cjs"),o=require("./index-DavM6N4X.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs"),c=require("./index-C8qRkCgn.cjs"),i=e.defineComponent({__name:"index",setup(s){const t=e.reactive({...o.State}),a=n.useMenuState(),{activeMenuPath:r}=c.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.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-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-BekTYc0y.cjs"),k=require("./threeViewerHost-D3ZmD_As.cjs"),C=require("./index-C8qRkCgn.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-5IXozXfb.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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
2
|
+
import { s as m } from "./index-BMP_6QMQ.js";
|
|
3
3
|
import { u as d, ar as p, ap as l } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
|
|
4
4
|
import { s as g, u as h } from "./index-BUYYl2Pc.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-BwaM5xSn.cjs"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-BwaM5xSn.cjs"),r=require("./index-CUEf5Kz5.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, ref as S, reactive as T, resolveComponent as m, createElementBlock as x, openBlock as B, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as w, toDisplayString as H, nextTick as N, Fragment as $, withDirectives as q, renderSlot as z, vShow as M } from "vue";
|
|
2
|
-
import { aZ as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { aZ as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js";
|
|
3
3
|
import { M as X, a8 as G, a2 as J, G as E, H as c, aD as I, $ as g } from "./index-BUYYl2Pc.js";
|
|
4
4
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = "ElUpload";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as r, onMounted as n, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js";
|
|
4
4
|
import { u as i, ap as p } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
|
|
5
5
|
import { s as u } from "./index-BUYYl2Pc.js";
|
|
6
|
-
import { s as l } from "./index-
|
|
6
|
+
import { s as l } from "./index-BMP_6QMQ.js";
|
|
7
7
|
import { S as d } from "./index-CV7OZAqo.js";
|
|
8
8
|
const _ = { class: "role-wrapper" }, k = /* @__PURE__ */ o({
|
|
9
9
|
__name: "index",
|
|
@@ -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 { aR as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { aR as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as R, watch as Me, nextTick as sa, resolveComponent as Ne, createBlock as Oe, openBlock as Y, withCtx as G, createElementVNode as de, renderSlot as Fa, onMounted as Sa, createElementBlock as Se, normalizeStyle as vl, normalizeClass as ar, toDisplayString as _e, createCommentVNode as xe, createVNode as ne, unref as Qe, Fragment as tl, renderList as cl, createTextVNode as Fe, defineComponent as rr, reactive as Fl, inject as sn, provide as un, onBeforeUnmount as on, computed as za, onUnmounted as tn, createSlots as cn, withDirectives as Ja, vShow as Ra } from "vue";
|
|
2
2
|
import { by as Wa, ay as qa, c as J, E as Ke, cb as ka, p as yl, s as Al, u as dn, bI as ra, d as ya, b as Ul, g as zl, bK as pn, f as fn, ce as gn } from "./index-BUYYl2Pc.js";
|
|
3
|
-
import { d as Ga, aP as hn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as xl, _ as Qa, h as yn, e as vn, E as bn } from "./index-
|
|
5
|
-
import { c as Sn, e as Rl, a as kn, T as mn, d as va, w as Tn } from "./threeViewerHost-
|
|
3
|
+
import { d as Ga, aP as hn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js";
|
|
4
|
+
import { c as xl, _ as Qa, h as yn, e as vn, E as bn } from "./index-1K0-Lril.js";
|
|
5
|
+
import { c as Sn, e as Rl, a as kn, T as mn, d as va, w as Tn } from "./threeViewerHost-C2iVAVlI.js";
|
|
6
6
|
import { aA as ua, av as An, k as Un, i as xn, u as _n, az as Cn, a as On, j as Ge, aO as Ha, aP as Xa, aQ as En, aR as Dn, l as na, E as Ya, ax as Za, aS as Ln } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
|
|
7
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
+
import "./index.vue_vue_type_style_index_1_lang-B-okL2FZ.js";
|
|
8
8
|
import { _ as oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import { s as Jl } from "./index-DkEISMpK.js";
|
|
10
10
|
import "./index-C7Ks0zLC.js";
|
|
@@ -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-DZQ1Y80J.js";
|
|
3
|
-
import { s as _ } from "./index-
|
|
3
|
+
import { s as _ } from "./index-BMP_6QMQ.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",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-ihwK0f5N.cjs"),p=require("./index-CUEf5Kz5.cjs"),m=require("./index-D_6peWlG.cjs"),h=require("./index-5IXozXfb.cjs"),C=require("./index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs"),d=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({..._.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var r;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=l.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((r=n.value)==null?void 0:r.path)}),(r,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(p.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as s, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
|
|
2
|
-
import { s as E } from "./index-
|
|
2
|
+
import { s as E } from "./index-BMP_6QMQ.js";
|
|
3
3
|
import { u as F, as as x } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
|
|
4
4
|
import { s as O, c as H } from "./index-BUYYl2Pc.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -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-C-L7sbsd.js";
|
|
3
3
|
import { p as ie, s as le, c as R, E as ea } from "./index-BUYYl2Pc.js";
|
|
4
4
|
import { a as me, u as qe, E as aa } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.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-Ct6rQOAk.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-1K0-Lril.js";
|
|
9
9
|
import { s as va } from "./index-DkEISMpK.js";
|
|
10
10
|
const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
|
|
11
11
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cwx8FIbY.cjs"),a=require("./index-C8qRkCgn.cjs"),w=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B="ElUpload";class T extends Error{constructor(o,s,i,p){super(o),this.name="UploadAjaxError",this.status=s,this.method=i,this.url=p}}function _(r,o,s){let i;return s.response?i=`${s.response.error||s.response}`:s.responseText?i=`${s.responseText}`:i=`fail to ${o.method} ${r} ${s.status}`,new T(i,s.status,o.method,r)}function R(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const U=r=>{typeof XMLHttpRequest>"u"&&a.throwError(B,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,s=r.action;o.upload&&o.upload.addEventListener("progress",t=>{const c=t;c.percent=t.total>0?t.loaded/t.total*100:0,r.onProgress(c)});const i=new FormData;if(r.data)for(const[t,c]of Object.entries(r.data))a.isArray$1(c)&&c.length?i.append(t,...c):i.append(t,c);i.append(r.filename,r.file,r.file.name),o.addEventListener("error",()=>{r.onError(_(s,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(_(s,r,o));r.onSuccess(R(o))}),o.open(r.method,s,!0),r.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0);const p=r.headers||{};if(p instanceof Headers)p.forEach((t,c)=>o.setRequestHeader(c,t));else for(const[t,c]of Object.entries(p))a.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},h=["text","picture","picture-card"];let D=1;const C=()=>Date.now()+D++,N=a.buildProps({action:{type:String,default:"#"},headers:{type:a.definePropType(Object)},method:{type:String,default:"post"},data:{type:a.definePropType([Object,Function,Promise]),default:()=>a.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:a.definePropType(Array),default:()=>a.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:h,default:"text"},httpRequest:{type:a.definePropType(Function),default:U},disabled:Boolean,limit:Number}),L=a.buildProps({...N,beforeUpload:{type:a.definePropType(Function),default:a.NOOP},beforeRemove:{type:a.definePropType(Function)},onRemove:{type:a.definePropType(Function),default:a.NOOP},onChange:{type:a.definePropType(Function),default:a.NOOP},onPreview:{type:a.definePropType(Function),default:a.NOOP},onSuccess:{type:a.definePropType(Function),default:a.NOOP},onProgress:{type:a.definePropType(Function),default:a.NOOP},onError:{type:a.definePropType(Function),default:a.NOOP},onExceed:{type:a.definePropType(Function),default:a.NOOP},crossorigin:{type:a.definePropType(String)}}),F={style:{"text-align":"left"}},j={class:"cropper-warp"},A={class:"cropper-warp-left"},q=["src"],$={class:"cropper-warp-right"},H={class:"cropper-warp-right-item"},z={class:"cropper-warp-right-value"},M=["src"],X={class:"cropper-warp-right-item"},J={class:"cropper-warp-right-value"},G=["src"],K={class:"dialog-footer"},Q=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:s}){const i=s,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async l=>{if(!l)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(l),t.isShowDialog=!0,e.nextTick(()=>{v()})},u=()=>{var l;(l=t.cropper)==null||l.destroy(),t.isShowDialog=!1},f=()=>{u()},g=async()=>{const l=await y();i("submitImage",{file:l}),u()},d=async()=>{i("deleteImage")},v=()=>{const l=document.querySelector(".cropper-warp-left-img");l&&l.setAttribute("crossOrigin","anonymous"),t.cropper=new k.Cropper(l,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".before",background:!0,autoCropArea:1,checkCrossOrigin:!1,crop:()=>{t.cropperImgBase64=t.cropper.getCroppedCanvas().toDataURL("image/jpeg")}})},y=()=>new Promise(l=>{t.cropper.getCroppedCanvas().toBlob(n=>{l(n)})}),x=async l=>{let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(l.raw),t.cropper.replace(t.cropperImg)},E=l=>{p.value.clearFiles();const n=l[0];n.uid=C(),p.value.handleStart(n)};return o({openDialog:c}),(l,n)=>{const P=e.resolveComponent("ele-Edit"),V=e.resolveComponent("el-icon"),m=e.resolveComponent("el-button"),S=e.resolveComponent("el-upload"),I=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(I,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=O=>t.isShowDialog=O),width:"769px","before-close":f},{header:e.withCtx(()=>[e.createElementVNode("div",F,[e.createVNode(V,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(P)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",K,[e.createVNode(S,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":x,"on-exceed":E},{trigger:e.withCtx(()=>[e.createVNode(m,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(m,{onClick:d,type:"danger",icon:"ele-Picture",style:{"margin-left":"8px"}},{default:e.withCtx(()=>n[5]||(n[5]=[e.createTextVNode("删除图片")])),_:1,__:[5]})]),_:1},512),e.createElementVNode("div",null,[e.createVNode(m,{onClick:f,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(m,{onClick:g,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("div",A,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,q)]),e.createElementVNode("div",$,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",H,[e.createElementVNode("div",z,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,M)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",X,[e.createElementVNode("div",J,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,G)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),W=w._export_sfc(Q,[["__scopeId","data-v-5d760968"]]),Y=e.defineComponent({__name:"index",props:{avatarUrl:{type:String,default:""},avatarBlob:{type:Blob,default:""},size:{type:[String,Number],default:"large"},showCropper:{type:Boolean,default:!0},banClick:{type:Boolean,default:!1}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const s=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,u=async()=>{var d;s!=null&&s.banClick||(t("clickAvatar",s.avatarUrl),(d=i.value)==null||d.openDialog(s.avatarBlob))},f=async d=>{t("submitImage",d)},g=async()=>{t("deleteImage")};return(d,v)=>{const y=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(y,{src:r.avatarUrl,onClick:u,fit:"cover",size:r.size,ref_key:"avatarRef",ref:p,style:{background:"var(--user-avatar-bg)"},alt:"头像查找失败",onError:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"avatarDefault",{},void 0,!0)]),_:3},8,["src","size"]),e.withDirectives(e.createVNode(W,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:f,onDeleteImage:g},null,8,["avatarUrl"]),[[e.vShow,r.showCropper]])],64)}}}),b=w._export_sfc(Y,[["__scopeId","data-v-d7aa160e"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"}));exports.genFileId=C;exports.index=Z;exports.ssAvatar=b;exports.uploadBaseProps=N;exports.uploadListTypes=h;exports.uploadProps=L;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cwx8FIbY.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
|