ss-component-new 1.1.853 → 1.1.855
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-D6pgin7s.js → OrbitControls-gYa_5NWG.js} +1 -1
- package/dist/{STLLoader-LGKv5i3H.js → STLLoader-C7r5KNYq.js} +62 -62
- package/dist/{animationData-KAxUchWe.cjs → animationData-BXgbauj6.cjs} +1 -1
- package/dist/{animationData-D6OOjzXl.js → animationData-DAhL1uD9.js} +14 -14
- package/dist/{array-BnZwZW4j.js → array-Bh8i5GAF.js} +1 -1
- package/dist/{iconfont-Gy2Sm4qn.js → iconfont-rXCTwm0T.js} +14 -14
- package/dist/icons/svg/expand.svg +1 -0
- package/dist/icons/svg/pack.svg +1 -0
- package/dist/{index-BqRWDq0Z.cjs → index-043QsSqJ.cjs} +1 -1
- package/dist/{index-ikEQx6Bs.js → index-5_geeDej.js} +3 -3
- package/dist/{index-B37NdhnE.js → index-6BTB5J5l.js} +2 -2
- package/dist/index-7Vsz_8zy.js +124 -0
- package/dist/{index-D61i5YoM.js → index-7la7nIh1.js} +3 -3
- package/dist/{index-B1GFscbN.js → index-B2rIHkVL.js} +2 -2
- package/dist/{index-CKDXwox1.cjs → index-BBxIIV8s.cjs} +1 -1
- package/dist/{index-CtDy5Y3l.cjs → index-BCPBOkg9.cjs} +1 -1
- package/dist/{index-COgEZjvB.js → index-BDvJk-eK.js} +13 -11
- package/dist/{index-CwBxDO0l.cjs → index-BIXEW6IU.cjs} +1 -1
- package/dist/{index-Bh1eEeiV.cjs → index-BKZTypMs.cjs} +1 -1
- package/dist/{index-oF3iEzy1.js → index-BQYcSD81.js} +4 -4
- package/dist/{index-BhypcNwn.cjs → index-Bjay3dC2.cjs} +1 -1
- package/dist/{index-DWHN8dvC.js → index-BkeIblNn.js} +7 -7
- package/dist/{index-Yvh76-uC.js → index-BmrQ5Ozs.js} +17 -17
- package/dist/{index-BPWaeK6D.js → index-BomaVfXe.js} +5 -5
- package/dist/{index-REV8B9KJ.js → index-BpABtF_e.js} +3 -3
- package/dist/{index-CYHgu7LA.js → index-BwMLANfu.js} +4 -4
- package/dist/{index-B1VLOoQB.cjs → index-C5tpYGOF.cjs} +1 -1
- package/dist/{index-BJIgpq6w.cjs → index-C91qtbT5.cjs} +1 -1
- package/dist/index-CERRVhjv.cjs +1 -0
- package/dist/{index-M_rR7JL9.cjs → index-CJ7RmT5W.cjs} +1 -1
- package/dist/{index-_zGMpbZz.cjs → index-CLjO8fqm.cjs} +1 -1
- package/dist/{index-D-9hjprP.js → index-COCLp2Lo.js} +2 -2
- package/dist/{index-CZOulUm8.js → index-CPeuGq6w.js} +2 -2
- package/dist/{index-n6yQP4P2.cjs → index-CS5EOVBw.cjs} +1 -1
- package/dist/{index-D-OMVXx5.js → index-CSQDvBfX.js} +3 -3
- package/dist/{index-CF5vRkEL.js → index-CSjeLBFK.js} +4 -4
- package/dist/{index-Dj-rPk1l.js → index-CfJFSedI.js} +4 -4
- package/dist/{index-BXafM8Cu.cjs → index-CuAYRMa2.cjs} +1 -1
- package/dist/{index-BnJwzNND.cjs → index-Cyu8yuE7.cjs} +1 -1
- package/dist/{index-32xNcLNv.cjs → index-D4_5pWp8.cjs} +1 -1
- package/dist/{index-C4130Mvp.cjs → index-D5PfCLdX.cjs} +1 -1
- package/dist/index-DEYZ41C5.cjs +1 -0
- package/dist/{index-av_70Z1u.js → index-DIM1wgF4.js} +1 -1
- package/dist/{index-C8VUQZy9.js → index-DNKsGkXT.js} +847 -794
- package/dist/{index-BChgkSj0.js → index-DONymtn0.js} +2 -2
- package/dist/{index-C5NkebBx.cjs → index-DVemmkcX.cjs} +1 -1
- package/dist/{index-CYj7m3Ij.js → index-DYaB2Hgi.js} +3 -3
- package/dist/{index-BrfP_0vn.js → index-Dah0p-6V.js} +1840 -1720
- package/dist/{index-unAoMWWj.cjs → index-DbxLGxg8.cjs} +1 -1
- package/dist/{index-BSHw5K_i.cjs → index-Did82L3E.cjs} +1 -1
- package/dist/{index-DRW3m8Ly.js → index-DknCPzjv.js} +2 -2
- package/dist/{index-d6dau2fS.js → index-DlwBunKG.js} +1 -1
- package/dist/index-DmM-ViyG.cjs +1 -0
- package/dist/{index-Cyk0aNOI.cjs → index-DqDmpNZ3.cjs} +1 -1
- package/dist/{index-Bdow29_8.js → index-DuZDuHT4.js} +5 -5
- package/dist/{index-BUnSWsCi.js → index-Dy6Quw6R.js} +1 -1
- package/dist/{index-C6oIkSXt.cjs → index-G3xd2Wj9.cjs} +1 -1
- package/dist/{index-mWMm2hO0.cjs → index-IMkmOnMU.cjs} +1 -1
- package/dist/index-NZ8wMFi6.js +26739 -0
- package/dist/{index-CXSISBmN.js → index-OJ4phau7.js} +2 -2
- package/dist/{index-BG6lLPAU.cjs → index-QI34RdbX.cjs} +1 -1
- package/dist/{index-za20H62e.js → index-VIAO5uDD.js} +2 -2
- package/dist/{index-c96rRF9v.js → index-Yo2MTaCQ.js} +1 -1
- package/dist/{index-QIplGW8c.js → index-cBBkyIJo.js} +5 -5
- package/dist/{index-q752RXuG.cjs → index-lnT74sAO.cjs} +1 -1
- package/dist/index-lrP5RDqk.cjs +4 -0
- package/dist/index-tAmfTZac.cjs +104 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-7MIi3bVk.js → index.vue_vue_type_script_setup_true_lang-C2QCL04z.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-B7eQrZnw.cjs → index.vue_vue_type_script_setup_true_lang-CskOLJg8.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-EpxT6imb.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BzSu7V0U.cjs} +57 -57
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dtx2bJyz.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dq10kvEQ.js} +1715 -1720
- package/dist/{index.vue_vue_type_style_index_0_scoped_3e6df338_lang-CErXyvp5.cjs → index.vue_vue_type_style_index_0_scoped_54875f48_lang-C28KNFGJ.cjs} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_3e6df338_lang-DnY0uHg4.js → index.vue_vue_type_style_index_0_scoped_54875f48_lang-DwFTb5UF.js} +4841 -4802
- package/dist/index.vue_vue_type_style_index_0_scoped_92477073_lang-5eVyLv_s.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_92477073_lang-Djshg1o2.js +203 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-BgU9xv6G.js → index.vue_vue_type_style_index_1_lang-BPk25bz_.js} +9 -9
- package/dist/{index.vue_vue_type_style_index_1_lang-CJTAEj-5.cjs → index.vue_vue_type_style_index_1_lang-C5wp2NqT.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_1_lang-DHWXu3pp.js +3075 -0
- package/dist/index.vue_vue_type_style_index_1_lang-DaFBUzf0.cjs +6 -0
- package/dist/{isUndefined-B-hLovfa.js → isUndefined-Cii5tZGi.js} +1 -1
- package/dist/{main-C7ivWWym.js → main-ChIMsE5q.js} +5 -5
- package/dist/{main-CTnTuUnZ.cjs → main-c102sBXH.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/threeLatheView-CP4Yrtx5.js +399 -0
- package/dist/threeLatheView-kq062cKL.cjs +1 -0
- package/dist/{threeModel-DFlhcIm_.js → threeModel-BSyBgHxb.js} +7 -6
- package/dist/threeModel-C5L0EXOe.cjs +1 -0
- package/dist/{threePreview-Bj6p-vsY.js → threePreview-Bxe-WsS_.js} +142 -142
- package/dist/threeSceneView-CfA4B6ko.js +1270 -0
- package/dist/threeSceneView-DqhVNE_Z.cjs +5 -0
- package/dist/threeViewerHost-CNPXc47W.js +165 -0
- package/dist/threeViewerHost-DGXSSxTu.cjs +1 -0
- package/dist/urdfTree-Bjn6BxrP.js +200 -0
- package/dist/urdfTree-hY-C0CsG.cjs +1 -0
- package/package.json +1 -1
- package/public/icons/svg/expand.svg +1 -0
- package/public/icons/svg/pack.svg +1 -0
- package/dist/index-BgVIYwcP.js +0 -29789
- package/dist/index-BxYq1kxR.js +0 -116
- package/dist/index-Bz91MSX_.cjs +0 -109
- package/dist/index-CaY3eWef.cjs +0 -4
- package/dist/index-D5TG9jw7.cjs +0 -1
- package/dist/index-D8iw26h2.cjs +0 -1
- package/dist/index-iDO8jukC.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-3P66PF3t.js +0 -197
- package/dist/index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-C4gHufk9.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/threeModel-CvyRBMnD.cjs +0 -1
- package/dist/threeSceneView-7vYCCHNk.cjs +0 -5
- package/dist/threeSceneView-DWCHYdLk.js +0 -1461
- package/dist/threeViewerHost-BIKgFrHU.js +0 -159
- package/dist/threeViewerHost-BnnbQ6wO.cjs +0 -1
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aG as S, V as p, M as u, aH as _,
|
|
1
|
+
import { aG as S, V as p, M as u, aH as _, Q as E, aI as P, w as c, aJ as w, j as O, l as R } from "./STLLoader-C7r5KNYq.js";
|
|
2
2
|
const D = { type: "change" }, b = { type: "start" }, M = { type: "end" }, f = new w(), T = new O(), j = Math.cos(70 * R.DEG2RAD), n = new p(), r = 2 * Math.PI, o = {
|
|
3
3
|
NONE: -1,
|
|
4
4
|
ROTATE: 0,
|
|
@@ -26543,7 +26543,7 @@ class a0 extends An {
|
|
|
26543
26543
|
}
|
|
26544
26544
|
}
|
|
26545
26545
|
export {
|
|
26546
|
-
|
|
26546
|
+
uu as $,
|
|
26547
26547
|
au as A,
|
|
26548
26548
|
nn as B,
|
|
26549
26549
|
bt as C,
|
|
@@ -26552,72 +26552,72 @@ export {
|
|
|
26552
26552
|
Ts as F,
|
|
26553
26553
|
Qv as G,
|
|
26554
26554
|
Yv as H,
|
|
26555
|
-
|
|
26556
|
-
|
|
26557
|
-
|
|
26555
|
+
Vv as I,
|
|
26556
|
+
ie as J,
|
|
26557
|
+
Zd as K,
|
|
26558
26558
|
$d as L,
|
|
26559
26559
|
Dv as M,
|
|
26560
|
-
|
|
26560
|
+
Zv as N,
|
|
26561
26561
|
r0 as O,
|
|
26562
26562
|
Ie as P,
|
|
26563
|
-
|
|
26564
|
-
|
|
26563
|
+
Sn as Q,
|
|
26564
|
+
pe as R,
|
|
26565
26565
|
fd as S,
|
|
26566
26566
|
fh as T,
|
|
26567
|
-
|
|
26567
|
+
sh as U,
|
|
26568
26568
|
R as V,
|
|
26569
26569
|
n0 as W,
|
|
26570
26570
|
i0 as X,
|
|
26571
|
-
|
|
26572
|
-
|
|
26573
|
-
|
|
26571
|
+
Nn as Y,
|
|
26572
|
+
vr as Z,
|
|
26573
|
+
Cs as _,
|
|
26574
26574
|
Fh as a,
|
|
26575
|
-
|
|
26576
|
-
|
|
26577
|
-
|
|
26578
|
-
|
|
26579
|
-
|
|
26580
|
-
|
|
26581
|
-
|
|
26582
|
-
|
|
26583
|
-
|
|
26584
|
-
|
|
26585
|
-
|
|
26586
|
-
|
|
26587
|
-
|
|
26588
|
-
|
|
26589
|
-
|
|
26575
|
+
Be as a0,
|
|
26576
|
+
ze as a1,
|
|
26577
|
+
Di as a2,
|
|
26578
|
+
Da as a3,
|
|
26579
|
+
yn as a4,
|
|
26580
|
+
tr as a5,
|
|
26581
|
+
Ve as a6,
|
|
26582
|
+
Ri as a7,
|
|
26583
|
+
Bd as a8,
|
|
26584
|
+
Fi as a9,
|
|
26585
|
+
_h as aA,
|
|
26586
|
+
pr as aB,
|
|
26587
|
+
Uo as aC,
|
|
26588
|
+
hh as aD,
|
|
26589
|
+
Bv as aE,
|
|
26590
26590
|
t0 as aF,
|
|
26591
26591
|
e0 as aG,
|
|
26592
26592
|
Iv as aH,
|
|
26593
26593
|
_f as aI,
|
|
26594
26594
|
fr as aJ,
|
|
26595
|
-
|
|
26596
|
-
|
|
26597
|
-
|
|
26598
|
-
|
|
26599
|
-
|
|
26600
|
-
|
|
26601
|
-
|
|
26602
|
-
|
|
26603
|
-
|
|
26604
|
-
|
|
26605
|
-
|
|
26606
|
-
|
|
26607
|
-
|
|
26608
|
-
|
|
26609
|
-
|
|
26610
|
-
|
|
26611
|
-
|
|
26612
|
-
|
|
26613
|
-
|
|
26614
|
-
|
|
26615
|
-
|
|
26616
|
-
|
|
26617
|
-
|
|
26618
|
-
|
|
26619
|
-
|
|
26620
|
-
|
|
26595
|
+
ne as aa,
|
|
26596
|
+
he as ab,
|
|
26597
|
+
zv as ac,
|
|
26598
|
+
ms as ad,
|
|
26599
|
+
lh as ae,
|
|
26600
|
+
kv as af,
|
|
26601
|
+
ia as ag,
|
|
26602
|
+
Fo as ah,
|
|
26603
|
+
oh as ai,
|
|
26604
|
+
Xv as aj,
|
|
26605
|
+
md as ak,
|
|
26606
|
+
hs as al,
|
|
26607
|
+
so as am,
|
|
26608
|
+
cn as an,
|
|
26609
|
+
be as ao,
|
|
26610
|
+
_s as ap,
|
|
26611
|
+
gs as aq,
|
|
26612
|
+
bs as ar,
|
|
26613
|
+
Ht as as,
|
|
26614
|
+
bn as at,
|
|
26615
|
+
Es as au,
|
|
26616
|
+
rn as av,
|
|
26617
|
+
Gt as aw,
|
|
26618
|
+
Ov as ax,
|
|
26619
|
+
qv as ay,
|
|
26620
|
+
Wv as az,
|
|
26621
26621
|
ge as b,
|
|
26622
26622
|
Ss as c,
|
|
26623
26623
|
Hv as d,
|
|
@@ -26633,14 +26633,14 @@ export {
|
|
|
26633
26633
|
Qi as n,
|
|
26634
26634
|
a0 as o,
|
|
26635
26635
|
s0 as p,
|
|
26636
|
-
|
|
26637
|
-
|
|
26638
|
-
|
|
26639
|
-
|
|
26640
|
-
|
|
26641
|
-
|
|
26642
|
-
|
|
26643
|
-
|
|
26644
|
-
|
|
26645
|
-
|
|
26636
|
+
Uv as q,
|
|
26637
|
+
Fv as r,
|
|
26638
|
+
Nv as s,
|
|
26639
|
+
An as t,
|
|
26640
|
+
nf as u,
|
|
26641
|
+
Gv as v,
|
|
26642
|
+
ht as w,
|
|
26643
|
+
Ii as x,
|
|
26644
|
+
jv as y,
|
|
26645
|
+
Il as z
|
|
26646
26646
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const l=require("./index.vue_vue_type_style_index_1_lang-C5wp2NqT.cjs"),K=require("./index-DGKTZoR7.cjs"),T=async()=>{const m="弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工位姿生成`,f,"");let _=["夹持长度"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持长度;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D},$=async()=>{const m="双弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工工艺生成`,f,"");let _=["夹持位置"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持位置;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D};exports.fetchDoubleRobotAnimationData=$;exports.fetchSingleRobotAnimationData=T;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as I } from "./index-
|
|
1
|
+
import { i as b, j as A } from "./index.vue_vue_type_style_index_1_lang-BPk25bz_.js";
|
|
2
|
+
import { c as I } from "./index-BkeIblNn.js";
|
|
3
3
|
const j = async () => {
|
|
4
4
|
const m = "弯管仿真加工分析";
|
|
5
|
-
let
|
|
6
|
-
const l = sessionStorage.getItem("systemKey"), f = await
|
|
5
|
+
let k = {};
|
|
6
|
+
const l = sessionStorage.getItem("systemKey"), f = await b(`${m}/管件解析`, l, "");
|
|
7
7
|
let w = ["管长", "外径"], i = {};
|
|
8
8
|
f == null || f.forEach((e) => {
|
|
9
9
|
var c;
|
|
@@ -16,7 +16,7 @@ const j = async () => {
|
|
|
16
16
|
});
|
|
17
17
|
const E = i.管长, d = i.外径;
|
|
18
18
|
console.log("管长", E, "外径", d, i);
|
|
19
|
-
const K = E, R = d / 2, s = await
|
|
19
|
+
const K = E, R = d / 2, s = await b(`${m}/加工位姿生成`, l, "");
|
|
20
20
|
let $ = ["夹持长度"], p = {};
|
|
21
21
|
s == null || s.forEach((e) => {
|
|
22
22
|
var c;
|
|
@@ -29,7 +29,7 @@ const j = async () => {
|
|
|
29
29
|
});
|
|
30
30
|
const F = p.夹持长度;
|
|
31
31
|
console.log("夹持长度", F, p);
|
|
32
|
-
const x = Number(F), h = {}, y = await
|
|
32
|
+
const x = Number(F), h = {}, y = await b(`${m}/仿真动画生成`, l, "");
|
|
33
33
|
y == null || y.forEach((e) => {
|
|
34
34
|
var c, n, t, a, D, C;
|
|
35
35
|
if ((e == null ? void 0 : e.comp) === "Table") {
|
|
@@ -45,16 +45,16 @@ const j = async () => {
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
const T = I(h);
|
|
48
|
-
return
|
|
48
|
+
return k = {
|
|
49
49
|
initialPipeLength: K,
|
|
50
50
|
pipeRadius: R,
|
|
51
51
|
clampLength: x,
|
|
52
52
|
animationData: T
|
|
53
|
-
},
|
|
53
|
+
}, k;
|
|
54
54
|
}, N = async () => {
|
|
55
55
|
const m = "双弯管仿真加工分析";
|
|
56
|
-
let
|
|
57
|
-
const l = sessionStorage.getItem("systemKey"), f = await
|
|
56
|
+
let k = {};
|
|
57
|
+
const l = sessionStorage.getItem("systemKey"), f = await b(`${m}/管件解析`, l, "");
|
|
58
58
|
let w = ["管长", "外径"], i = {};
|
|
59
59
|
f == null || f.forEach((e) => {
|
|
60
60
|
var c;
|
|
@@ -67,7 +67,7 @@ const j = async () => {
|
|
|
67
67
|
});
|
|
68
68
|
const E = i.管长, d = i.外径;
|
|
69
69
|
console.log("管长", E, "外径", d, i);
|
|
70
|
-
const K = E, R = d / 2, s = await
|
|
70
|
+
const K = E, R = d / 2, s = await b(`${m}/加工工艺生成`, l, "");
|
|
71
71
|
let $ = ["夹持位置"], p = {};
|
|
72
72
|
s == null || s.forEach((e) => {
|
|
73
73
|
var c;
|
|
@@ -80,7 +80,7 @@ const j = async () => {
|
|
|
80
80
|
});
|
|
81
81
|
const F = p.夹持位置;
|
|
82
82
|
console.log("夹持长度", F, p);
|
|
83
|
-
const x = Number(F), h = {}, y = await
|
|
83
|
+
const x = Number(F), h = {}, y = await b(`${m}/仿真动画生成`, l, "");
|
|
84
84
|
y == null || y.forEach((e) => {
|
|
85
85
|
var c, n, t, a, D, C;
|
|
86
86
|
if ((e == null ? void 0 : e.comp) === "Table") {
|
|
@@ -96,12 +96,12 @@ const j = async () => {
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
const T = I(h);
|
|
99
|
-
return
|
|
99
|
+
return k = {
|
|
100
100
|
initialPipeLength: K,
|
|
101
101
|
pipeRadius: R,
|
|
102
102
|
clampLength: x,
|
|
103
103
|
animationData: T
|
|
104
|
-
},
|
|
104
|
+
}, k;
|
|
105
105
|
};
|
|
106
106
|
export {
|
|
107
107
|
N as a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowRef as l2, ref as L, defineComponent as t2, computed as O, createElementBlock as X, openBlock as U, normalizeStyle as J, normalizeClass as K, createElementVNode as a2 } from "vue";
|
|
2
|
-
import { V as n, B as
|
|
3
|
-
import { O as u2 } from "./OrbitControls-
|
|
2
|
+
import { V as n, B as S, S as e2, C as i2, P as c2, W as h2, a as o2, A as n2, b as s2, M as Q, aF as p2, X as d2, G as v2, c as T, d as r2, e as j, f as z2, D as W, H as f2, g as Y, av as M2, h as A2, i as m2, j as q, E as N } from "./STLLoader-C7r5KNYq.js";
|
|
3
|
+
import { O as u2 } from "./OrbitControls-gYa_5NWG.js";
|
|
4
4
|
import { _ as F2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
function L2(A) {
|
|
6
6
|
let c = null, i = null, h = null, e = null, s = null, r = null, t = null, M = null, f = null;
|
|
@@ -52,9 +52,9 @@ function L2(A) {
|
|
|
52
52
|
w(100, new n(0, 0, 0));
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
55
|
-
const l = new
|
|
56
|
-
if (g.value.forEach((
|
|
57
|
-
|
|
55
|
+
const l = new S();
|
|
56
|
+
if (g.value.forEach((E) => {
|
|
57
|
+
E.userData.boundingBox instanceof S ? l.union(E.userData.boundingBox) : l.expandByObject(E);
|
|
58
58
|
}), l.isEmpty()) {
|
|
59
59
|
console.warn("模型没有有效边界框,网格和阴影平面更新失败");
|
|
60
60
|
return;
|
|
@@ -76,16 +76,16 @@ function L2(A) {
|
|
|
76
76
|
}), g.value = [], b());
|
|
77
77
|
}, P = () => {
|
|
78
78
|
if (!i || !e || !c || g.value.length === 0) return;
|
|
79
|
-
const l = new
|
|
79
|
+
const l = new S();
|
|
80
80
|
g.value.forEach((_) => {
|
|
81
|
-
_.userData.boundingBox instanceof
|
|
81
|
+
_.userData.boundingBox instanceof S && !_.userData.boundingBox.isEmpty() ? l.union(_.userData.boundingBox) : (_.updateMatrixWorld(!0), l.expandByObject(_));
|
|
82
82
|
});
|
|
83
83
|
const d = l.getSize(new n());
|
|
84
84
|
if (l.getCenter(new n()), l.isEmpty() || d.length() === 0) {
|
|
85
85
|
console.warn("模型没有有效边界框,相机适配失败"), e.target.set(0, 0, 0), i.position.set(8, -8, 6), e.update();
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
|
-
const u = l.getBoundingSphere(new M2()), H = u.center, D = u.radius, R = 1.5,
|
|
88
|
+
const u = l.getBoundingSphere(new M2()), H = u.center, D = u.radius, R = 1.5, E = i.fov * (Math.PI / 180), G = Math.abs(D / Math.sin(E / 2)) * R, k = new n();
|
|
89
89
|
i.getWorldDirection(k), k.lengthSq() === 0 && k.set(0.5, -0.7, 0.4).normalize();
|
|
90
90
|
const Z = H.clone().sub(k.multiplyScalar(G));
|
|
91
91
|
i.position.copy(Z), i.near = Math.max(0.1, G - D * 20), i.far = G + D * 20, i.updateProjectionMatrix(), e.target.copy(H), e.update(), C.value.copy(i.position), z.value.copy(H);
|
|
@@ -141,7 +141,7 @@ function L2(A) {
|
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function S2(A, c) {
|
|
145
145
|
const i = L(!1);
|
|
146
146
|
let h = null, e = 12700, s = new n(), r = new n(), t = new n(), M = 0, f = null;
|
|
147
147
|
const x = (a) => a < 0.5 ? 4 * a * a * a : 1 - Math.pow(-2 * a + 2, 3) / 2, F = (a) => {
|
|
@@ -176,7 +176,7 @@ function E2(A, c) {
|
|
|
176
176
|
const { camera: a, controls: o } = A();
|
|
177
177
|
if (!a || !o) return;
|
|
178
178
|
s.copy(a.position), r.copy(o.target);
|
|
179
|
-
const p = new
|
|
179
|
+
const p = new S();
|
|
180
180
|
c.value.forEach((P) => {
|
|
181
181
|
p.expandByObject(P);
|
|
182
182
|
});
|
|
@@ -214,9 +214,9 @@ function E2(A, c) {
|
|
|
214
214
|
stopAnimation: C
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function E2(A, c) {
|
|
218
218
|
const i = L(!1), h = L("none");
|
|
219
|
-
let e = [], s = [], r = new
|
|
219
|
+
let e = [], s = [], r = new S(), t = new n();
|
|
220
220
|
const M = () => {
|
|
221
221
|
e = [
|
|
222
222
|
new q(new n(1, 0, 0), 0),
|
|
@@ -360,7 +360,7 @@ window._iconfont_svg_string_4634042 = '<svg><symbol id="icon-zuobiaoxi" viewBox=
|
|
|
360
360
|
})(window);
|
|
361
361
|
export {
|
|
362
362
|
_2 as S,
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
S2 as a,
|
|
364
|
+
E2 as b,
|
|
365
365
|
L2 as u
|
|
366
366
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758244017444" class="icon" viewBox="0 0 1161 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10697" xmlns:xlink="http://www.w3.org/1999/xlink" width="36.28125" height="32"><path d="M862.344533 326.997333v434.858667a34.133333 34.133333 0 0 0 58.368 24.029867l216.541867-218.180267a34.133333 34.133333 0 0 0-0.068267-48.196267l-216.610133-216.610133a34.133333 34.133333 0 0 0-58.231467 24.1664zM1079.364267 157.013333a54.613333 54.613333 0 1 0 0-109.226666h-1024a54.613333 54.613333 0 1 0 0 109.226666h1024z m-409.6 273.066667a54.613333 54.613333 0 1 0 0-109.226667H54.613333a54.613333 54.613333 0 1 0 0 109.226667H669.696z m0 273.066667a54.613333 54.613333 0 1 0 0-109.226667H54.613333a54.613333 54.613333 0 1 0 0 109.226667H669.696z m389.051733 273.066666a54.613333 54.613333 0 1 0 0-109.226666H54.545067a54.613333 54.613333 0 1 0 0 109.226666H1058.816z" p-id="10698"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758250121741" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4502" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M64 960L960 960c38.4 0 64-25.6 64-64s-25.6-64-64-64l-896 0c-38.4 0-64 25.6-64 64s25.6 64 64 64zM960 576l-512 0c-38.4 0-64 25.6-64 64s25.6 64 64 64L960 704c38.4 0 64-25.6 64-64s-25.6-64-64-64z m0-256l-512 0c-38.4 0-64 25.6-64 64s25.6 64 64 64L960 448c38.4 0 64-25.6 64-64s-25.6-64-64-64z m-896-128L960 192c38.4 0 64-25.6 64-64s-25.6-64-64-64l-896 0c-38.4 0-64 25.6-64 64s25.6 64 64 64z m140.8 166.4l-172.8 128c-19.2 12.8-19.2 38.4 0 51.2l172.8 128c19.2 12.8 51.2 0 51.2-25.6l0-256c0-25.6-32-38.4-51.2-25.6z" p-id="4503"></path></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),N=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),N=require("./index-BBxIIV8s.cjs"),s=require("./index-DGKTZoR7.cjs"),B=require("./index.vue_vue_type_style_index_1_lang-C5wp2NqT.cjs");require("./array-qx4N1D5z.cjs");const I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DEEZPcpU.cjs"),O=require("./index-lrP5RDqk.cjs"),L={class:"type-select"},j=["onClick"],z={class:"list-icon"},H={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,activeItemIndex:D}=s.storeToRefs(p),C=u=>{var k;let i=null;const h=s.cloneDeep(r.value);if(D.value>=0&&(i=h==null?void 0:h[D.value]),i&&i.comp==="Layout"){const{compData:g=[]}=i;((k=g==null?void 0:g.find(E=>{const{key:w}=E;return w==="children"}))==null?void 0:k.contents).push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(h);return}const d=s.cloneDeep(r.value);d.push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(d)};return(u,i)=>{const h=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(N.slotContent),(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:k},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(d)},[e.createElementVNode("div",z,[e.createVNode(h,{name:d.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(d.name),1)],8,j)]))),128))])}}},G=I._export_sfc(H,[["__scopeId","data-v-2cd8410b"]]),J={class:"fill-content"},K={class:"operate-content"},Q=["onClick"],W={class:"collapse-title-item"},X={key:1},Y=["onClick"],Z={class:"icon-content"},P={key:0,class:"edit-content"},ee=["onClick"],te=["onClick"],ne={class:"parent-main"},oe={style:{display:"flex","justify-content":"space-between"}},le={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,originalData:D}=s.storeToRefs(p),C=e.ref([]);e.ref([]);const u=e.ref([]),i=e.ref([]),h=e.ref([]),d=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!0),n));i.value=o},k=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!1),n));i.value=o,C.value=s.cloneDeep(r.value)},g=(l,o)=>{var v;let a=(v=s.cloneDeep(i.value))==null?void 0:v.map((_,c)=>(l===c&&(_.content=!1),_));i.value=a;const n=s.cloneDeep(r.value),t=n==null?void 0:n.filter((_,c)=>(c===l&&(_.name=o),_));p.setOriginalData(t),p.setItemData(t)},x=l=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.map((n,t)=>((n==null?void 0:n.name)===(l==null?void 0:l.name)?n.isShow=!(l!=null&&l.isShow):n.isShow=n.isShow,n));r.value=a};e.watch(()=>r.value,()=>{var l,o,a,n;!r.value||((l=r.value)==null?void 0:l.length)===0?C.value=[]:C.value=(o=s.cloneDeep(r.value))==null?void 0:o.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),u.value=C.value,i.value=(a=s.cloneDeep(u.value))==null?void 0:a.map((t,v)=>({id:v,content:!1})),h.value=(n=s.cloneDeep(u.value))==null?void 0:n.map((t,v)=>({id:v,isShow:t==null?void 0:t.isShow}))},{deep:!0,immediate:!0});const E=l=>N.getComponent(l),w=(l,o,a,n)=>{var v,_;if(!l)return;let t=s.cloneDeep(r.value);t=(v=t==null?void 0:t.map((c,f)=>{if(n&&f===a){const{compData:y,itemChildData:V}=l;return c.compData=y,c.itemChildData=V,c}return f===a&&(c.compData=l),c}))==null?void 0:v.filter(c=>(c==null?void 0:c.comp)!=="methodButton"),i.value=(_=s.cloneDeep(t))==null?void 0:_.map((c,f)=>({id:f,content:!1})),p.setOriginalData(t),p.setItemData(t)},U=e.ref(null),$=(l,o)=>{if(!o){p.setActiveItemIndex(l);return}p.setActiveItemIndex(-1)},b=l=>{B.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.filter((n,t)=>t!==l);p.setOriginalData(a),p.setItemData(a),p.setActiveItemIndex(-1),s.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(l,o)=>{const a=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",J,[o[3]||(o[3]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",K,[e.createVNode(A.default,{class:"collapse-content",collapseContents:C.value,ref_key:"ssCollapseRef",ref:U},{title:e.withCtx(({item:n,index:t,isActive:v})=>{var _,c,f,y,V,M,q,R,F,T;return[e.createElementVNode("div",{class:"collapse-title-content",onClick:m=>$(t,v)},[e.createElementVNode("div",W,[(c=(_=i.value)==null?void 0:_.find(m=>m.id===t))!=null&&c.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:n.name&&n.name!==""?"8px":"0px"})},e.toDisplayString(n.name),5)),(y=(f=i.value)==null?void 0:f.find(m=>m.id===t))!=null&&y.content?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(O._sfc_main$3,{modelValue:n.name,"onUpdate:modelValue":m=>n.name=m,onClick:o[0]||(o[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(M=(V=i.value)==null?void 0:V.find(m=>m.id===t))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(m=>d(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Edit",style:{width:"16px",height:"16px"}})],8,Y))]),e.createElementVNode("div",Z,[(R=(q=i.value)==null?void 0:q.find(m=>m.id===t))!=null&&R.content?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(a,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(m=>k(t),["stop"])},null,8,["onClick"]),e.createVNode(a,{name:"Save",onClick:e.withModifiers(m=>g(t,n.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(T=(F=i.value)==null?void 0:F.find(m=>m.id===t))!=null&&T.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(m=>b(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Delete",style:{width:"16px",height:"16px"}})],8,ee))])],8,Q)]}),content:e.withCtx(({item:n,index:t})=>{var v,_;return[e.createElementVNode("div",{class:"comp-child",onClick:c=>$(t)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(E(n.comp+"Operate")),{itemContents:n==null?void 0:n.compData,originalItemContents:(_=(v=u.value)==null?void 0:v.find((c,f)=>f===t))==null?void 0:_.compData,itemChildData:n==null?void 0:n.itemChildData,onChange:(c,f)=>w(c,n,t,f)},null,40,["itemContents","originalItemContents","itemChildData","onChange"]))],8,te),e.createElementVNode("div",ne,[o[2]||(o[2]=e.createElementVNode("div",{class:"operate-title"},[e.createElementVNode("div",null,e.toDisplayString("显隐控制"))],-1)),e.createElementVNode("div",oe,[o[1]||(o[1]=e.createElementVNode("div",{class:"operate-center-content"},e.toDisplayString("是否显示"),-1)),e.createVNode(O._sfc_main$2,{value:h.value.find(c=>c.id===t).isShow,"onUpdate:value":c=>h.value.find(f=>f.id===t).isShow=c,onClick:c=>x(n)},null,8,["value","onUpdate:value","onClick"])])])]}),_:1},8,["collapseContents"])])])}}},ce=I._export_sfc(le,[["__scopeId","data-v-1f5fca05"]]),ae={key:0,class:"show-content"},se={style:{display:"flex"}},ie={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r}=s.storeToRefs(p),D=e.ref([]);e.watch(()=>r.value,()=>{var u;!r.value||((u=r.value)==null?void 0:u.length)===0?D.value=[]:D.value=s.cloneDeep(r.value)},{deep:!0,immediate:!0});const C=u=>N.getComponent(u);return(u,i)=>{var h;return((h=D.value)==null?void 0:h.length)>0?(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:k},[e.createElementVNode("div",se,e.toDisplayString(d.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C(d.comp)),{itemData:d==null?void 0:d.compData,childItemData:d==null?void 0:d.itemChildData,key:k},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},re=I._export_sfc(ie,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ce;exports.modelSelect=G;exports.modelShow=re;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as D, openBlock as O, createElementVNode as b, renderSlot as L, defineComponent as X, ref as B, resolveComponent as E, createVNode as g, withCtx as y, reactive as H, watch as Y, unref as K, toDisplayString as U, createTextVNode as R } from "vue";
|
|
2
2
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-BPk25bz_.js";
|
|
4
4
|
import { useRouter as me } from "vue-router";
|
|
5
|
-
import { a as be, u as he, p as ve, s as _e, E as S, b as we, g as Q } from "./index-
|
|
6
|
-
import { v as Ce } from "./index-
|
|
5
|
+
import { a as be, u as he, p as ve, s as _e, E as S, b as we, g as Q } from "./index-BkeIblNn.js";
|
|
6
|
+
import { v as Ce } from "./index-CPeuGq6w.js";
|
|
7
7
|
const Ie = {}, ke = { class: "left-wrap" }, Ee = { class: "left-bg" };
|
|
8
8
|
function Se(I, T) {
|
|
9
9
|
return O(), D("div", ke, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as _, computed as A } from "vue";
|
|
2
|
-
import { d as I, E as l, g as M } from "./index-
|
|
3
|
-
import { E as N } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { d as I, E as l, g as M } from "./index-BkeIblNn.js";
|
|
3
|
+
import { E as N } from "./index.vue_vue_type_style_index_1_lang-BPk25bz_.js";
|
|
4
4
|
const K = _([]), T = A(() => [
|
|
5
5
|
{
|
|
6
6
|
key: "extraButton",
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-Djshg1o2.js";
|
|
2
|
+
import { resolveComponent as r, createElementBlock as i, openBlock as n, Fragment as p, createVNode as l, createCommentVNode as k, withCtx as s, createElementVNode as d, normalizeStyle as w, toDisplayString as c, renderList as v, createTextVNode as _, createBlock as B, resolveDynamicComponent as I } from "vue";
|
|
3
|
+
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const V = ["title"], $ = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "menu-operate-icon"
|
|
7
|
+
}, N = { class: "menu-config-wrap" }, m = ["onClick"], S = { class: "module-dialog-content" };
|
|
8
|
+
function E(t, a, F, O, R, T) {
|
|
9
|
+
var C;
|
|
10
|
+
const g = r("svg-icon"), M = r("el-popover"), y = r("ssMenu"), f = r("el-button"), D = r("ssDialog");
|
|
11
|
+
return n(), i(p, null, [
|
|
12
|
+
l(y, {
|
|
13
|
+
class: "vertical-menu",
|
|
14
|
+
mode: t.mode,
|
|
15
|
+
menuList: t.renderMenuList,
|
|
16
|
+
isCollapse: t.isCollapse,
|
|
17
|
+
onClickMenu: t.clickMenu,
|
|
18
|
+
onOpenMenu: t.openMenu,
|
|
19
|
+
onCloseMenu: t.closeMenu
|
|
20
|
+
}, {
|
|
21
|
+
title: s(({ menu: e }) => {
|
|
22
|
+
var u, h;
|
|
23
|
+
return [
|
|
24
|
+
d("span", {
|
|
25
|
+
title: e.title,
|
|
26
|
+
class: "menu-title",
|
|
27
|
+
style: w({ marginRight: e != null && e.config && ((u = e == null ? void 0 : e.config) == null ? void 0 : u.length) > 0 ? "25px" : "1px" })
|
|
28
|
+
}, c(e.title ?? ""), 13, V),
|
|
29
|
+
e != null && e.config && ((h = e == null ? void 0 : e.config) == null ? void 0 : h.length) > 0 ? (n(), i("span", $, [
|
|
30
|
+
l(M, {
|
|
31
|
+
title: "",
|
|
32
|
+
placement: "bottom-start",
|
|
33
|
+
trigger: "click",
|
|
34
|
+
"popper-class": "menu-operate-popover"
|
|
35
|
+
}, {
|
|
36
|
+
reference: s(() => [
|
|
37
|
+
l(g, { name: "config" })
|
|
38
|
+
]),
|
|
39
|
+
default: s(() => [
|
|
40
|
+
d("div", N, [
|
|
41
|
+
(n(!0), i(p, null, v(e == null ? void 0 : e.config, (o) => (n(), i("div", {
|
|
42
|
+
class: "menu-config-item",
|
|
43
|
+
key: o.id,
|
|
44
|
+
onClick: (z) => t.clickMenuIcon(e, o)
|
|
45
|
+
}, [
|
|
46
|
+
l(g, {
|
|
47
|
+
name: o == null ? void 0 : o.operateIcon,
|
|
48
|
+
style: { width: "15px", height: "15px", "margin-right": "8px" }
|
|
49
|
+
}, null, 8, ["name"]),
|
|
50
|
+
d("span", null, c(o == null ? void 0 : o.operateType), 1)
|
|
51
|
+
], 8, m))), 128))
|
|
52
|
+
])
|
|
53
|
+
]),
|
|
54
|
+
_: 2
|
|
55
|
+
}, 1024)
|
|
56
|
+
])) : k("", !0)
|
|
57
|
+
];
|
|
58
|
+
}),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["mode", "menuList", "isCollapse", "onClickMenu", "onOpenMenu", "onCloseMenu"]),
|
|
61
|
+
((C = t.renderMenuList) == null ? void 0 : C.length) > 0 ? (n(), i("div", {
|
|
62
|
+
key: 0,
|
|
63
|
+
class: "fold-icon",
|
|
64
|
+
onClick: a[0] || (a[0] = (...e) => t.handleMenuCollapse && t.handleMenuCollapse(...e))
|
|
65
|
+
}, [
|
|
66
|
+
l(g, {
|
|
67
|
+
name: t.isCollapse ? "expand" : "pack",
|
|
68
|
+
style: { width: "15px", height: "15px" }
|
|
69
|
+
}, null, 8, ["name"])
|
|
70
|
+
])) : k("", !0),
|
|
71
|
+
l(D, {
|
|
72
|
+
class: "module-dialog",
|
|
73
|
+
title: t.dialogInfo.title,
|
|
74
|
+
visible: t.dialogInfo.show,
|
|
75
|
+
width: t.dialogInfo.width,
|
|
76
|
+
onBeforeDestroy: t.beforeDialogDestroy
|
|
77
|
+
}, {
|
|
78
|
+
default: s(() => [
|
|
79
|
+
d("div", S, [
|
|
80
|
+
(n(!0), i(p, null, v(t.dialogRenderComps, (e) => (n(), i("div", {
|
|
81
|
+
key: e.id
|
|
82
|
+
}, [
|
|
83
|
+
(n(), B(I(t.getComponents((e == null ? void 0 : e.comp) ?? "Input")), {
|
|
84
|
+
itemData: e == null ? void 0 : e.compData,
|
|
85
|
+
key: e == null ? void 0 : e.id,
|
|
86
|
+
content: (e == null ? void 0 : e.contents) ?? [],
|
|
87
|
+
config: e == null ? void 0 : e.config,
|
|
88
|
+
onContentChange: t.handleCompChange
|
|
89
|
+
}, null, 40, ["itemData", "content", "config", "onContentChange"]))
|
|
90
|
+
]))), 128))
|
|
91
|
+
])
|
|
92
|
+
]),
|
|
93
|
+
footer: s(() => [
|
|
94
|
+
d("div", null, [
|
|
95
|
+
l(f, {
|
|
96
|
+
id: "themeBorderButton",
|
|
97
|
+
onClick: t.beforeDialogDestroy
|
|
98
|
+
}, {
|
|
99
|
+
default: s(() => a[1] || (a[1] = [
|
|
100
|
+
_("取消")
|
|
101
|
+
])),
|
|
102
|
+
_: 1,
|
|
103
|
+
__: [1]
|
|
104
|
+
}, 8, ["onClick"]),
|
|
105
|
+
l(f, {
|
|
106
|
+
id: "themeButton",
|
|
107
|
+
onClick: t.clickSubmitForm
|
|
108
|
+
}, {
|
|
109
|
+
default: s(() => a[2] || (a[2] = [
|
|
110
|
+
_(" 确认 ")
|
|
111
|
+
])),
|
|
112
|
+
_: 1,
|
|
113
|
+
__: [2]
|
|
114
|
+
}, 8, ["onClick"])
|
|
115
|
+
])
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
119
|
+
], 64);
|
|
120
|
+
}
|
|
121
|
+
const G = /* @__PURE__ */ L(b, [["render", E], ["__scopeId", "data-v-92477073"]]);
|
|
122
|
+
export {
|
|
123
|
+
G as default
|
|
124
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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 c, 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-
|
|
3
|
-
import { u as F, aC as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
-
import { s as O, c as H } from "./index-
|
|
2
|
+
import { s as E } from "./index-NZ8wMFi6.js";
|
|
3
|
+
import { u as F, aC as x } from "./index.vue_vue_type_style_index_1_lang-BPk25bz_.js";
|
|
4
|
+
import { s as O, c as H } from "./index-BkeIblNn.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" }, q = ["title"], G = { title: "更多" }, J = { class: "dialog-footer" }, K = /* @__PURE__ */ z({
|
|
7
7
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as b, createVNode as m } from "vue";
|
|
2
|
-
import { s as d } from "./index-
|
|
3
|
-
import { g as f, c as _ } from "./index-
|
|
2
|
+
import { s as d } from "./index-NZ8wMFi6.js";
|
|
3
|
+
import { g as f, c as _ } from "./index-6BTB5J5l.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
6
6
|
{
|