ss-component-new 1.3.367 → 1.3.368

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.
Files changed (106) hide show
  1. package/dist/{MTLLoader-Bwq8YOLy.js → MTLLoader-BXo7uAz1.js} +1 -1
  2. package/dist/{MTLLoader-CmAqDwiZ.cjs → MTLLoader-HQ9_HPVv.cjs} +1 -1
  3. package/dist/{OrbitControls-B3711Oa1.js → OrbitControls-BDK5M2Wv.js} +1 -1
  4. package/dist/{OrbitControls-CApAYvVq.cjs → OrbitControls-IbVOWA4j.cjs} +1 -1
  5. package/dist/{URDFLoader-C1qOfAQy.js → URDFLoader-Bg_LFPw1.js} +2 -2
  6. package/dist/{URDFLoader-BQznFMXI.cjs → URDFLoader-DEhmYKKG.cjs} +1 -1
  7. package/dist/{animationData-B5JsGpJY.cjs → animationData-BNjx497g.cjs} +1 -1
  8. package/dist/{animationData-B1vtf_9N.js → animationData-DbyIBbU3.js} +3 -3
  9. package/dist/{array-m9EWKum0.cjs → array-RAki5hQ5.cjs} +1 -1
  10. package/dist/{array-gQdC099c.js → array-nKLeOF-y.js} +3 -3
  11. package/dist/clone-lZuOJI1b.cjs +1 -0
  12. package/dist/{clone-BdM_mMBe.js → clone-mFCVwr-G.js} +1 -1
  13. package/dist/{iconfont-G8zD0tzl.cjs → iconfont-gSkE5QnX.cjs} +1 -1
  14. package/dist/{iconfont-CWxr4V1h.js → iconfont-oix54uJK.js} +2 -2
  15. package/dist/{index-Cw3ZR9KG.cjs → index-0AwREool.cjs} +1 -1
  16. package/dist/{index-CyPUiBgj.js → index-2cJiyA4I.js} +2 -2
  17. package/dist/{index-XyNL56Pr.cjs → index-6nl_N4qo.cjs} +1 -1
  18. package/dist/{index-DE8uBo3T.cjs → index-B62rzx7R.cjs} +1 -1
  19. package/dist/{index-mB3yZe20.js → index-B8tt5bqd.js} +2 -2
  20. package/dist/{index-Cdbpiw_0.cjs → index-BEgk9LDj.cjs} +1 -1
  21. package/dist/{index-DsnjLs_6.cjs → index-BEli6-9O.cjs} +6 -5
  22. package/dist/{index-CBnhmDYl.cjs → index-BKl6FwQV.cjs} +1 -1
  23. package/dist/{index-DT2JGvXU.cjs → index-BLJ-oqRd.cjs} +1 -1
  24. package/dist/{index-D_rDxYYw.cjs → index-BQqYCx-2.cjs} +1 -1
  25. package/dist/{index-BAboKNSU.cjs → index-BRXK1xrm.cjs} +1 -1
  26. package/dist/{index-CXURAEJY.js → index-BRaaqaJs.js} +1 -1
  27. package/dist/{index-CynjsoHn.js → index-BTn0ktGp.js} +4 -4
  28. package/dist/{index-CVZihFWP.js → index-BXP2Ie3L.js} +3 -3
  29. package/dist/{index-xbas0SI9.js → index-BXP5hSfA.js} +2 -2
  30. package/dist/{index-CzdGvRTe.js → index-B_WpE68k.js} +1 -1
  31. package/dist/{index-BiQ0qDhn.js → index-BaJXONy1.js} +2 -2
  32. package/dist/{index-B63TM8dK.js → index-Bf6oI_Vt.js} +3 -3
  33. package/dist/{index-BLKIKjAZ.js → index-Bi-PYsF7.js} +2 -2
  34. package/dist/{index-FCjRaFtc.cjs → index-BrBW7tRO.cjs} +21 -21
  35. package/dist/{index-BYA2TpxQ.cjs → index-Bslyl2ID.cjs} +1 -1
  36. package/dist/{index-C6tZLNMp.cjs → index-Btg2_fkL.cjs} +1 -1
  37. package/dist/{index-BljNYaSR.js → index-Bz19ISL6.js} +4 -4
  38. package/dist/{index-C7srQ6Cq.cjs → index-CGNYnvO0.cjs} +1 -1
  39. package/dist/{index-ek-OSvj7.js → index-CMFL7zjT.js} +2 -2
  40. package/dist/{index-BKzE1WZB.js → index-CN3lOl9L.js} +17 -17
  41. package/dist/{index-DWecJVIA.js → index-CTMMHmwj.js} +380 -468
  42. package/dist/{index-BSW02jr1.js → index-Cde7_752.js} +4271 -4287
  43. package/dist/{index-RVerD5Ur.cjs → index-Ck1Oilyz.cjs} +1 -1
  44. package/dist/{index-CxaT8nUG.js → index-CyWy0nyd.js} +8 -8
  45. package/dist/{index-BiTlAZny.cjs → index-D7H81vN9.cjs} +1 -1
  46. package/dist/{index-7_XzJDZJ.js → index-DCSqmK8s.js} +1 -1
  47. package/dist/index-DDpWNBFO.cjs +25 -0
  48. package/dist/{index-lNchCF26.js → index-DIfJQHZp.js} +2 -2
  49. package/dist/{index-vNqVZx-u.cjs → index-DQ6jmi_D.cjs} +1 -1
  50. package/dist/{index-n_wZZKv5.cjs → index-DVGBqCVu.cjs} +1 -1
  51. package/dist/{index-m3UklLeE.cjs → index-DWPuMwu-.cjs} +1 -1
  52. package/dist/{index-CxNKv1iw.cjs → index-DflscIO5.cjs} +1 -1
  53. package/dist/{index-BFNFnOPJ.cjs → index-DgX0z-6T.cjs} +1 -1
  54. package/dist/{index-BFqe1zjQ.js → index-Dj2OpT0q.js} +1 -1
  55. package/dist/{index-D4Enuq4j.js → index-Dk3oPwtn.js} +2 -2
  56. package/dist/{index-CyYrW6yn.js → index-DkTQi1Vq.js} +1 -1
  57. package/dist/{index-Do-QOShm.cjs → index-DkW6SNWc.cjs} +1 -1
  58. package/dist/{index-5rJBTfN0.js → index-DkYlSN6W.js} +1 -1
  59. package/dist/{index-Cyl9Zwx0.cjs → index-DlWlqQXP.cjs} +1 -1
  60. package/dist/{index-CScVxCHK.cjs → index-DljiGtdC.cjs} +1 -1
  61. package/dist/{index-Bh79XTGT.js → index-DsMPZC4m.js} +3 -3
  62. package/dist/{index-C582B_1F.cjs → index-Ff9cJTW6.cjs} +1 -1
  63. package/dist/{index-Bha5jYuH.js → index-Fmivd5TB.js} +1 -1
  64. package/dist/{index-Byf08qem.cjs → index-H6unuPpB.cjs} +1 -1
  65. package/dist/{index-BJx-YLNm.js → index-JhEMFPZu.js} +8936 -8940
  66. package/dist/{index-C1KvNCq0.cjs → index-KB0XWCq4.cjs} +1 -1
  67. package/dist/{index-B1lx7QGJ.js → index-QpJbzLNb.js} +94 -77
  68. package/dist/{index-CY1t1-es.js → index-eLBcYZGA.js} +7 -7
  69. package/dist/{index-BDZodiM7.cjs → index-lusIr8v1.cjs} +13 -13
  70. package/dist/{index-BXQU2C9L.cjs → index-mHYDJOd1.cjs} +1 -1
  71. package/dist/{index-CL1jsLyH.js → index-w433dSfa.js} +4 -4
  72. package/dist/{index-BoVJe9Sz.js → index-ySgRpDhk.js} +5 -5
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-C6enof9-.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-8FBI7Z3I.js} +1847 -1842
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-czn7gBz_.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-eirpGIM9.cjs} +61 -61
  75. package/dist/{main-CRaLCwZe.cjs → main-CbppiF13.cjs} +1 -1
  76. package/dist/{main-C6NaLLT2.js → main-DjlxeqbY.js} +4 -4
  77. package/dist/{menuIndex-Q8yPyfym.cjs → menuIndex-4akJxcU5.cjs} +1 -1
  78. package/dist/{menuIndex-B8pC2BD4.js → menuIndex-DUFFnrEE.js} +1 -1
  79. package/dist/obj/model.mtl +42 -0
  80. package/dist/obj/model.obj +26110 -0
  81. package/dist/ss-component.cjs +1 -1
  82. package/dist/ss-component.css +2 -2
  83. package/dist/ss-component.js +11 -11
  84. package/dist/ss-component2.cjs +1 -1
  85. package/dist/ss-component2.js +12 -12
  86. package/dist/{threeModel-DTvHMeUt.cjs → threeModel-BfVKlerx.cjs} +1 -1
  87. package/dist/{threeModel-DV7OOwJA.js → threeModel-VmsDzpUI.js} +4 -4
  88. package/dist/{threePreview-BbYOxZhG.cjs → threePreview-C4Dz9uRV.cjs} +1 -1
  89. package/dist/{threePreview-DObruSmA.js → threePreview-DR7DsGG1.js} +4 -4
  90. package/dist/{threeSceneView-RiGOA1xI.js → threeSceneView-B1kux2Lo.js} +11 -11
  91. package/dist/{threeSceneView-RK444IXm.cjs → threeSceneView-Zn2Tl6ZM.cjs} +1 -1
  92. package/dist/{threeSceneViewForCPMPIP-VzD8Y6VA.js → threeSceneViewForCPMPIP-BKJK3uF6.js} +8 -8
  93. package/dist/{threeSceneViewForCPMPIP-0EDp524J.cjs → threeSceneViewForCPMPIP-gge-iN67.cjs} +1 -1
  94. package/dist/{threeTrackPathView-DM79CjTV.js → threeTrackPathView-D2W0twne.js} +4 -4
  95. package/dist/{threeTrackPathView-B1n0AxKK.cjs → threeTrackPathView-WAbp0BS6.cjs} +1 -1
  96. package/dist/{threeViewerHost-C5Hp5hHL.js → threeViewerHost-D1uC5WJx.js} +3 -3
  97. package/dist/{threeViewerHost-AnDdFENf.cjs → threeViewerHost-DRfKnV3P.cjs} +1 -1
  98. package/dist/{urdfTree-AqKBDzXZ.js → urdfTree-BaLdXoaH.js} +1 -1
  99. package/dist/{urdfTree-BhZDUgBI.cjs → urdfTree-CKIM8z4M.cjs} +1 -1
  100. package/dist/{workpieceTreePanel-DVi8rEx5.cjs → workpieceTreePanel-CHUvDngw.cjs} +1 -1
  101. package/dist/{workpieceTreePanel-D4KufWPQ.js → workpieceTreePanel-h8L0fbmd.js} +4 -4
  102. package/package.json +1 -1
  103. package/public/obj/model.mtl +42 -0
  104. package/public/obj/model.obj +26110 -0
  105. package/dist/clone-DyCrtBLX.cjs +0 -1
  106. package/dist/index-D7cQkzZS.cjs +0 -25
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-czn7gBz_.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;
1
+ "use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-eirpGIM9.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;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-D7cQkzZS.cjs"),d=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u=()=>{const l=e.ref("日志管理"),n=e.ref(),o=e.ref([{key:"header",contents:[{prop:"name",align:"center",isRun:!1,label:"日志名称",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"time",align:"center",isRun:!1,label:"生成时间",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"sort",align:"operator",isRun:!1,label:"操作人",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"remark",align:"center",isRun:!1,label:"备注",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{label:"操作",isMainKey:!0}]},{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"删除"}]},{key:"tableFilter",contents:[]},{key:"tableContents",contents:[[{id:764397741125751},"test","test","test","test"]]}]);return{compName:l,changedRow:n,tableInfo:o,handleItemDataChange:a=>{},clickRowButton:async(a,r)=>{}}},f={class:"log-management"},m={class:"body"},p=e.defineComponent({__name:"index",setup(l){const{compName:n,changedRow:o,tableInfo:s,handleItemDataChange:i,clickRowButton:a}=u();return(r,t)=>(e.openBlock(),e.createElementBlock("div",f,[t[0]||(t[0]=e.createElementVNode("div",{class:"header"},null,-1)),e.createElementVNode("div",m,[e.createVNode(c.ssTable,{compName:e.unref(n),itemData:e.unref(s),changedContent:e.unref(o),onChange:e.unref(i),onOnButtonClick:e.unref(a)},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"])]),t[1]||(t[1]=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("div",{class:"footer-left"}),e.createElementVNode("div",{class:"footer-right"})],-1))]))}}),g=d._export_sfc(p,[["__scopeId","data-v-5bfd5576"]]);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-DDpWNBFO.cjs"),d=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u=()=>{const l=e.ref("日志管理"),n=e.ref(),o=e.ref([{key:"header",contents:[{prop:"name",align:"center",isRun:!1,label:"日志名称",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"time",align:"center",isRun:!1,label:"生成时间",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"sort",align:"operator",isRun:!1,label:"操作人",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"remark",align:"center",isRun:!1,label:"备注",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{label:"操作",isMainKey:!0}]},{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"删除"}]},{key:"tableFilter",contents:[]},{key:"tableContents",contents:[[{id:764397741125751},"test","test","test","test"]]}]);return{compName:l,changedRow:n,tableInfo:o,handleItemDataChange:a=>{},clickRowButton:async(a,r)=>{}}},f={class:"log-management"},m={class:"body"},p=e.defineComponent({__name:"index",setup(l){const{compName:n,changedRow:o,tableInfo:s,handleItemDataChange:i,clickRowButton:a}=u();return(r,t)=>(e.openBlock(),e.createElementBlock("div",f,[t[0]||(t[0]=e.createElementVNode("div",{class:"header"},null,-1)),e.createElementVNode("div",m,[e.createVNode(c.ssTable,{compName:e.unref(n),itemData:e.unref(s),changedContent:e.unref(o),onChange:e.unref(i),onOnButtonClick:e.unref(a)},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"])]),t[1]||(t[1]=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("div",{class:"footer-left"}),e.createElementVNode("div",{class:"footer-right"})],-1))]))}}),g=d._export_sfc(p,[["__scopeId","data-v-5bfd5576"]]);exports.default=g;
@@ -1,12 +1,12 @@
1
1
  import { ref as h, computed as E, reactive as W, defineComponent as q, watch as H, createElementBlock as N, openBlock as k, createVNode as A, createCommentVNode as ue, withCtx as _, createTextVNode as x, toDisplayString as F, resolveComponent as D, createBlock as R, Fragment as ie, renderList as ce, createElementVNode as de, normalizeStyle as pe } from "vue";
2
2
  import { au as fe, av as ve, aw as ge, E as T } from "./request-CbksSN84.js";
3
- import { s as J, b as ye, u as be, p as G, c as me, j as he, k as Q } from "./index-DWecJVIA.js";
3
+ import { s as J, b as ye, u as be, p as G, c as me, j as he, k as Q } from "./index-CTMMHmwj.js";
4
4
  import { g as X, u as we } from "./index-CIGlEa5l.js";
5
5
  import { J as Y } from "./JSEncrypt-B36c1iN5.js";
6
- import { a1 as Se } from "./index-B1lx7QGJ.js";
7
- import { A as _e } from "./index-CyPUiBgj.js";
6
+ import { a2 as Se } from "./index-QpJbzLNb.js";
7
+ import { A as _e } from "./index-2cJiyA4I.js";
8
8
  import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { n as Ce } from "./index-BSW02jr1.js";
9
+ import { n as Ce } from "./index-Cde7_752.js";
10
10
  import { S as V } from "./index-BHtNKL1L.js";
11
11
  function Ae(t, s) {
12
12
  const e = new Y();
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-czn7gBz_.cjs"),a=require("./request-BC2w2vGr.cjs"),k=require("./index-DsnjLs_6.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O="ElUpload";class B extends Error{constructor(o,l,i,p){super(o),this.name="UploadAjaxError",this.status=l,this.method=i,this.url=p}}function h(r,o,l){let i;return l.response?i=`${l.response.error||l.response}`:l.responseText?i=`${l.responseText}`:i=`fail to ${o.method} ${r} ${l.status}`,new B(i,l.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 T=r=>{typeof XMLHttpRequest>"u"&&a.throwError(O,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,l=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(h(l,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(h(l,r,o));r.onSuccess(R(o))}),o.open(r.method,l,!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))k.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},U=["text","picture","picture-card"];let D=1;const L=()=>Date.now()+D++,F=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:U,default:"text"},httpRequest:{type:a.definePropType(Function),default:T},disabled:Boolean,limit:Number});a.buildProps({...F,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)}});const j={style:{"text-align":"left"}},q={class:"cropper-warp"},A={class:"cropper-warp-left"},$=["src"],H={class:"cropper-warp-right"},z={class:"cropper-warp-right-item"},M={class:"cropper-warp-right-value"},X=["src"],J={class:"cropper-warp-right-item"},G={class:"cropper-warp-right-value"},K=["src"],Q={class:"dialog-footer"},W=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:l}){const i=l,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async s=>{if(t.isShowDialog=!0,!s)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s),e.nextTick(()=>{w()})},f=()=>{var s;(s=t.cropper)==null||s.destroy(),t.isShowDialog=!1},m=()=>{f()},y=async()=>{const s=await v();i("submitImage",{file:s}),f()},d=async()=>{i("deleteImage")},w=()=>{const s=document.querySelector(".cropper-warp-left-img");s&&s.setAttribute("crossOrigin","anonymous"),t.cropper=new I.Cropper(s,{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")}})},v=async()=>t!=null&&t.cropper?new Promise(s=>{var n,u;(u=(n=t==null?void 0:t.cropper)==null?void 0:n.getCroppedCanvas())==null||u.toBlob(_=>{s(_)})}):(await fetch(t.cropperImg)).blob(),x=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},E=s=>{p.value.clearFiles();const n=s[0];n.uid=L(),p.value.handleStart(n)};return o({openDialog:c}),(s,n)=>{const u=e.resolveComponent("ele-Edit"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("el-button"),P=e.resolveComponent("el-upload"),V=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(V,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=S=>t.isShowDialog=S),width:"769px","before-close":m},{header:e.withCtx(()=>[e.createElementVNode("div",j,[e.createVNode(_,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(u)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",Q,[e.createVNode(P,{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(g,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(g,{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(g,{onClick:m,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(g,{onClick:y,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",q,[e.createElementVNode("div",A,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,$)]),e.createElementVNode("div",H,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",z,[e.createElementVNode("div",M,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,X)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",J,[e.createElementVNode("div",G,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,K)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),b=C._export_sfc(W,[["__scopeId","data-v-4a19ffcf"]]),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},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const l=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,f=async()=>{var d;l!=null&&l.banClick||(t("clickAvatar",l.avatarUrl),(d=i.value)==null||d.openDialog(l.avatarBlob))},m=async d=>{t("submitImage",d)},y=async()=>{t("deleteImage")};return(d,w)=>{const v=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(v,{src:r.avatarUrl,onClick:f,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(b,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:m,onDeleteImage:y},null,8,["avatarUrl"]),[[e.vShow,r.showCropper&&(l==null?void 0:l.clickStop)]])],64)}}}),N=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));exports.Avatar=N;exports.CropperDialog=b;exports.index=Z;
1
+ "use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-eirpGIM9.cjs"),a=require("./request-BC2w2vGr.cjs"),k=require("./index-BEli6-9O.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O="ElUpload";class B extends Error{constructor(o,l,i,p){super(o),this.name="UploadAjaxError",this.status=l,this.method=i,this.url=p}}function h(r,o,l){let i;return l.response?i=`${l.response.error||l.response}`:l.responseText?i=`${l.responseText}`:i=`fail to ${o.method} ${r} ${l.status}`,new B(i,l.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 T=r=>{typeof XMLHttpRequest>"u"&&a.throwError(O,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,l=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(h(l,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(h(l,r,o));r.onSuccess(R(o))}),o.open(r.method,l,!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))k.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},U=["text","picture","picture-card"];let D=1;const L=()=>Date.now()+D++,F=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:U,default:"text"},httpRequest:{type:a.definePropType(Function),default:T},disabled:Boolean,limit:Number});a.buildProps({...F,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)}});const j={style:{"text-align":"left"}},q={class:"cropper-warp"},A={class:"cropper-warp-left"},$=["src"],H={class:"cropper-warp-right"},z={class:"cropper-warp-right-item"},M={class:"cropper-warp-right-value"},X=["src"],J={class:"cropper-warp-right-item"},G={class:"cropper-warp-right-value"},K=["src"],Q={class:"dialog-footer"},W=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:l}){const i=l,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async s=>{if(t.isShowDialog=!0,!s)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s),e.nextTick(()=>{w()})},f=()=>{var s;(s=t.cropper)==null||s.destroy(),t.isShowDialog=!1},m=()=>{f()},y=async()=>{const s=await v();i("submitImage",{file:s}),f()},d=async()=>{i("deleteImage")},w=()=>{const s=document.querySelector(".cropper-warp-left-img");s&&s.setAttribute("crossOrigin","anonymous"),t.cropper=new I.Cropper(s,{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")}})},v=async()=>t!=null&&t.cropper?new Promise(s=>{var n,u;(u=(n=t==null?void 0:t.cropper)==null?void 0:n.getCroppedCanvas())==null||u.toBlob(_=>{s(_)})}):(await fetch(t.cropperImg)).blob(),x=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},E=s=>{p.value.clearFiles();const n=s[0];n.uid=L(),p.value.handleStart(n)};return o({openDialog:c}),(s,n)=>{const u=e.resolveComponent("ele-Edit"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("el-button"),P=e.resolveComponent("el-upload"),V=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(V,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=S=>t.isShowDialog=S),width:"769px","before-close":m},{header:e.withCtx(()=>[e.createElementVNode("div",j,[e.createVNode(_,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(u)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",Q,[e.createVNode(P,{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(g,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(g,{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(g,{onClick:m,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(g,{onClick:y,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",q,[e.createElementVNode("div",A,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,$)]),e.createElementVNode("div",H,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",z,[e.createElementVNode("div",M,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,X)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",J,[e.createElementVNode("div",G,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,K)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),b=C._export_sfc(W,[["__scopeId","data-v-4a19ffcf"]]),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},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const l=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,f=async()=>{var d;l!=null&&l.banClick||(t("clickAvatar",l.avatarUrl),(d=i.value)==null||d.openDialog(l.avatarBlob))},m=async d=>{t("submitImage",d)},y=async()=>{t("deleteImage")};return(d,w)=>{const v=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(v,{src:r.avatarUrl,onClick:f,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(b,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:m,onDeleteImage:y},null,8,["avatarUrl"]),[[e.vShow,r.showCropper&&(l==null?void 0:l.clickStop)]])],64)}}}),N=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));exports.Avatar=N;exports.CropperDialog=b;exports.index=Z;
@@ -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
- import { S as m } from "./index-7_XzJDZJ.js";
3
- import { V as _ } from "./index-BJx-YLNm.js";
2
+ import { S as m } from "./index-DCSqmK8s.js";
3
+ import { V as _ } from "./index-JhEMFPZu.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,32 +1,32 @@
1
1
  import { computed as Al, defineComponent as _l, defineProps as Et, ref as T, watch as gl, onMounted as ql, resolveComponent as ce, createBlock as De, openBlock as k, withCtx as o, createElementVNode as W, toDisplayString as ul, createElementBlock as de, Fragment as dl, renderList as Cl, createCommentVNode as je, normalizeStyle as El, createVNode as t, unref as i, resolveDynamicComponent as oa, provide as $a, shallowRef as Wn, resolveDirective as tt, withDirectives as Yl, vShow as da, createTextVNode as cl, renderSlot as Kl, normalizeClass as Ql, createSlots as gt, mergeProps as pn, withModifiers as Vl, defineAsyncComponent as $t, reactive as Pl, nextTick as Hl, onUnmounted as Dt, withKeys as Yn } from "vue";
2
- import { m as Pt, a as Rt, b as xt, c as Hn } from "./array-gQdC099c.js";
3
- import { _ as nt, s as Vt, a as Jn } from "./index-CxaT8nUG.js";
4
- import { u as jl, p as bl, s as vl, c as wl, a as ea, b as Fl, h as Ta, d as yt, i as va, j as ht, k as Fn, E as ga, m as kt, n as vt, v as et, o as fn, q as Gn, r as hn, g as Xn, t as vn, w as Ia, x as en, y as zn, z as gn, A as Zn, B as $n, C as es, D as ls, F as as } from "./index-DWecJVIA.js";
2
+ import { m as Pt, a as Rt, b as xt, c as Hn } from "./array-nKLeOF-y.js";
3
+ import { _ as nt, s as Vt, a as Jn } from "./index-CyWy0nyd.js";
4
+ import { u as jl, p as bl, s as vl, c as wl, a as ea, b as Fl, h as Ta, d as yt, i as va, j as ht, k as Fn, E as ga, m as kt, n as vt, v as et, o as fn, q as Gn, r as hn, g as Xn, t as vn, w as Ia, x as en, y as zn, z as gn, A as Zn, B as $n, C as es, D as ls, F as as } from "./index-CTMMHmwj.js";
5
5
  import { useRouter as Ba } from "vue-router";
6
6
  import { a as st, d as jt, e as ot, f as it, g as rt, h as ct, t as ts, c as ns, b as ss } from "./index-C2UiLe43.js";
7
- import { g as Sa, s as os, a as ln, _ as Mt, b as is, c as yn, X as rs, Q as cs } from "./index-BSW02jr1.js";
7
+ import { g as Sa, s as os, a as ln, _ as Mt, b as is, c as yn, X as rs, Q as cs } from "./index-Cde7_752.js";
8
8
  import { u as bn, g as an, b as tn, c as us, a as ds } from "./index-CIGlEa5l.js";
9
9
  import { E as Il, a as Cn, b as ia, I as ps, s as la, d as mn, c as wn, e as An, f as fs, g as hs, p as kn, m as vs, h as gs, i as ys } from "./request-CbksSN84.js";
10
- import { g as Mn, b as bs, u as Ut, c as na, d as at, o as In, l as Cs, n as ms, e as ws, f as pa, s as ft, t as As, h as ks } from "./index-B1lx7QGJ.js";
11
- import { d as Ms, g as lt, a as Is } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-C6enof9-.js";
10
+ import { g as Mn, b as bs, u as Ut, c as na, d as at, o as In, l as Cs, n as ms, e as ws, f as pa, s as ft, t as As, h as ks } from "./index-QpJbzLNb.js";
11
+ import { d as Ms, g as lt, a as Is } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-8FBI7Z3I.js";
12
12
  import "./JSEncrypt-B36c1iN5.js";
13
- import "./index-Bh79XTGT.js";
13
+ import "./index-DsMPZC4m.js";
14
14
  import "./index-CmYd6_TA.js";
15
- import { c as Lt, f as Ol, b as _n, a as _s, g as Ss, d as nn } from "./menuIndex-B8pC2BD4.js";
15
+ import { c as Lt, f as Ol, b as _n, a as _s, g as Ss, d as nn } from "./menuIndex-DUFFnrEE.js";
16
16
  import { _ as Nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- import { C as Ts } from "./index-CyPUiBgj.js";
17
+ import { C as Ts } from "./index-2cJiyA4I.js";
18
18
  import { S as Tl } from "./index-BHtNKL1L.js";
19
- import Bs from "./threeModel-DV7OOwJA.js";
20
- import { a as Sn, b as ua, u as Tn, s as ta, c as sn, d as on, r as Sl, o as ra, e as ca, f as Bn, h as It, i as En, j as Ot, k as Es, t as Ds, l as ba, m as bt, n as dt, p as Ca, q as Xa, v as ma, w as Ps, x as wa, y as Aa, z as Rs, A as ka, B as Ma, C as za, D as rn, E as xs, F as cn, G as pt, H as Ct, I as Vs, J as Gl, K as js, L as Us, M as mt, N as Ls, O as Os, P as Qs, g as Dn, Q as Ns, R as un, S as Ks, T as qs } from "./index-BJx-YLNm.js";
19
+ import Bs from "./threeModel-VmsDzpUI.js";
20
+ import { a as Sn, b as ua, u as Tn, s as ta, c as sn, d as on, r as Sl, o as ra, e as ca, f as Bn, h as It, i as En, j as Ot, k as Es, t as Ds, l as ba, m as bt, n as dt, p as Ca, q as Xa, v as ma, w as Ps, x as wa, y as Aa, z as Rs, A as ka, B as Ma, C as za, D as rn, E as xs, F as cn, G as pt, H as Ct, I as Vs, J as Gl, K as js, L as Us, M as mt, N as Ls, O as Os, P as Qs, g as Dn, Q as Ns, R as un, S as Ks, T as qs } from "./index-JhEMFPZu.js";
21
21
  import { _ as sa } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
22
22
  import { s as aa } from "./index-IQyGe1Ql.js";
23
- import { T as _t, u as Ws, a as Ys } from "./threeViewerHost-C5Hp5hHL.js";
24
- import { s as St } from "./index-BljNYaSR.js";
25
- import { u as Hs } from "./index-5rJBTfN0.js";
26
- import { u as Js } from "./index-CyYrW6yn.js";
27
- import { u as Pn } from "./index-lNchCF26.js";
23
+ import { T as _t, u as Ws, a as Ys } from "./threeViewerHost-D1uC5WJx.js";
24
+ import { s as St } from "./index-Bz19ISL6.js";
25
+ import { u as Hs } from "./index-DkYlSN6W.js";
26
+ import { u as Js } from "./index-DkTQi1Vq.js";
27
+ import { u as Pn } from "./index-DIfJQHZp.js";
28
28
  import { T as dn } from "./svgIcon-4u4PW7Is.js";
29
- import { f as Fs, a as Gs } from "./animationData-B1vtf_9N.js";
29
+ import { f as Fs, a as Gs } from "./animationData-DbyIBbU3.js";
30
30
  jl();
31
31
  const Xs = jl(), Rn = async (n, q) => {
32
32
  var f, B, z, G;