ss-component-new 1.3.585 → 1.3.587
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/{MTLLoader-lglF6AsF.js → MTLLoader-CQf7B6Ke.js} +2 -2
- package/dist/{OrbitControls-BqZN20Rt.js → OrbitControls-DYGD8PMZ.js} +1 -1
- package/dist/{URDFLoader-IkRlWaki.js → URDFLoader-C6rB5h5L.js} +584 -589
- package/dist/{animationData-D0cZme2U.js → animationData-CkEa6eHD.js} +3 -3
- package/dist/{array-5ZYisp88.js → array-CU3GR-p9.js} +14 -13
- package/dist/{clone-CRxSyuWf.js → clone-ESeDvnJv.js} +1 -1
- package/dist/{eleIcon-BoKZ_PzU.js → eleIcon-C7Pz9jha.js} +2 -2
- package/dist/{iconfont-yQIyvQXR.js → iconfont-CnWH2HBt.js} +4 -4
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-BULCVBD8.js → index-95FKYNW8.js} +62 -60
- package/dist/{index-DHiLQExG.js → index-B-DoOXmZ.js} +5 -5
- package/dist/{index-BVmtkTE_.js → index-B0M1YCUY.js} +7 -7
- package/dist/{index-BtnksMyb.js → index-B2SW5XjJ.js} +8727 -9172
- package/dist/{index-CQwd4Yho.js → index-BBBCr4Oo.js} +2 -2
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-vdHc4lFg.js → index-BLvu93ER.js} +20 -18
- package/dist/{index-BdZMxiC_.js → index-BUqviBFi.js} +35 -29
- package/dist/{index-C3uWREg6.js → index-BXh02EAd.js} +4 -4
- package/dist/{index-Cz0WowdS.js → index-B_fRppeJ.js} +8 -8
- package/dist/{index-D-QiCx2o.js → index-Bq9ROITA.js} +27044 -26922
- package/dist/{index-MOUxRFwG.js → index-BrGkwHIw.js} +3 -3
- package/dist/{index-Pq6WSe_M.js → index-BvkIoiVW.js} +3 -3
- package/dist/{index-BynHhKF0.js → index-C-ELzAfH.js} +157 -148
- package/dist/{index-Bp8_1HIx.js → index-C3pboX9W.js} +5 -5
- package/dist/{index-CdNoVvbF.js → index-CPW7tdrA.js} +20 -17
- package/dist/{index-D2Qimmt6.js → index-CX8Apbo7.js} +1 -1
- package/dist/{index-CozBg9U8.js → index-Ce1Of6uw.js} +4 -4
- package/dist/{index-DhzLMJ4A.js → index-D1E8EPxn.js} +61 -57
- package/dist/{index-D2eUttRQ.js → index-D8UY4uNQ.js} +1495 -1501
- package/dist/{index-W7-0iUXC.js → index-D9xMYIes.js} +3 -3
- package/dist/{index-Da5hzjgH.js → index-DWkuQCJw.js} +4 -4
- package/dist/{index-CJZc--yD.js → index-D_3REwvv.js} +40 -36
- package/dist/index-DjMtW8dW.js +10740 -0
- package/dist/{index-BpOJFzyr.js → index-DjabG6aq.js} +8 -8
- package/dist/{index-CvZcm-Tt.js → index-DlQXFCw8.js} +8 -7
- package/dist/index-DoHZJSqr.js +572 -0
- package/dist/{index-CBniJUYQ.js → index-DsdWSuDi.js} +483 -482
- package/dist/{index-Lm4ZKNF3.js → index-Dv34ETGo.js} +6 -6
- package/dist/{index-DzSdRXaZ.js → index-JvgrtIDP.js} +3 -3
- package/dist/{index-DCY5J8nu.js → index-XvX6TMzr.js} +1 -1
- package/dist/{index-B4NcYIuS.js → index-YvUJL9Us.js} +1 -1
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-ajdo5mwF.js → index-tMqKF2l6.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-B2BlpBsO.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-X_k372gl.js} +27735 -27760
- package/dist/isString-BlNsHiyU.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-D6gh-TBd.js → main-BMLrLuQz.js} +9 -9
- package/dist/{menuIndex-C_KNU7iT.js → menuIndex-DAW9B-9g.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-BfrhYBTM.js → request-B1c8BUkR.js} +3075 -3493
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +71 -9
- package/dist/ss-component2.js +114 -71
- package/dist/ss-component3.js +10 -115
- package/dist/svgIcon-4u4PW7Is.js +42 -0
- package/dist/{threeModel-awQEmUQA.js → threeModel-CYaF8za_.js} +174 -174
- package/dist/{threePreview-BGGp9yDg.js → threePreview-CJVkhfw5.js} +13 -13
- package/dist/{threeSceneView-CKCRVWrW.js → threeSceneView-BbQW44Pj.js} +25 -24
- package/dist/{threeSceneViewForCPMPIP-BQaDdkTU.js → threeSceneViewForCPMPIP-DLre2v8f.js} +18 -17
- package/dist/{threeTrackPathView-BWcw6yWT.js → threeTrackPathView-C84dt-gU.js} +8 -8
- package/dist/{threeViewerHost-gQMuchtN.js → threeViewerHost-D9JGic__.js} +4 -4
- package/dist/{urdfTree-c8bZiZ3M.js → urdfTree-CbPBpTUR.js} +9 -9
- package/dist/{workpieceTreePanel-DZQu4h1F.js → workpieceTreePanel-BI9xr9Da.js} +60 -56
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-NMx22SFX.js +0 -2623
- package/dist/index-wi3x2kbn.js +0 -10843
- package/dist/isString-Dxm3W5iX.js +0 -8
- package/dist/svgIcon-4m2zaZkj.js +0 -42
package/dist/ss-component.js
CHANGED
|
@@ -1,12 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { defineAsyncComponent as o } from "vue";
|
|
2
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-X_k372gl.js";
|
|
3
|
+
import { S as j } from "./index-BHtNKL1L.js";
|
|
4
|
+
import { u as C } from "./index-D8UY4uNQ.js";
|
|
5
|
+
import "./index-DsdWSuDi.js";
|
|
6
|
+
import "./request-B1c8BUkR.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import u from "./ss-component2.js";
|
|
9
|
+
import { t as g, c as T, b as P } from "./index-ChNfRlIP.js";
|
|
10
|
+
const n = o(() => import("./main-BMLrLuQz.js"));
|
|
11
|
+
n.install = (t) => {
|
|
12
|
+
t.component("ssComponent", n);
|
|
4
13
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
14
|
+
const s = o(() => import("./index-B2SW5XjJ.js").then((t) => t.q));
|
|
15
|
+
s.install = (t) => {
|
|
16
|
+
t.component("ssTab", s);
|
|
17
|
+
};
|
|
18
|
+
const r = o(() => import("./index-95FKYNW8.js").then((t) => t.i));
|
|
19
|
+
r.install = (t) => {
|
|
20
|
+
t.component("ssMenu", r);
|
|
21
|
+
};
|
|
22
|
+
const m = o(() => import("./index-BvkIoiVW.js"));
|
|
23
|
+
m.install = (t) => {
|
|
24
|
+
t.component("ssMenuComponent", m);
|
|
25
|
+
};
|
|
26
|
+
const i = o(() => import("./index-Ce1Of6uw.js"));
|
|
27
|
+
i.install = (t) => {
|
|
28
|
+
t.component("ssCanvas", i);
|
|
29
|
+
};
|
|
30
|
+
const c = o(() => import("./index-rlStojTL.js"));
|
|
31
|
+
c.install = (t) => {
|
|
32
|
+
t.component("ssFold", c);
|
|
33
|
+
};
|
|
34
|
+
const a = o(() => import("./index-D_3REwvv.js").then((t) => t.i));
|
|
35
|
+
a.install = (t) => {
|
|
36
|
+
t.component("ssAvatar", a);
|
|
37
|
+
};
|
|
38
|
+
const l = o(() => import("./threeModel-CYaF8za_.js"));
|
|
39
|
+
l.install = (t) => {
|
|
40
|
+
t.component("ssThree", l);
|
|
41
|
+
};
|
|
42
|
+
const p = o(() => import("./threeViewerHost-D9JGic__.js").then((t) => t.t));
|
|
43
|
+
p.install = (t) => {
|
|
44
|
+
t.component("threeViewerHost", p);
|
|
45
|
+
};
|
|
46
|
+
const f = C(), d = [n, s, r, m, i, c, a, l, p], V = (t) => {
|
|
47
|
+
d.forEach((e) => {
|
|
48
|
+
t.use(e);
|
|
49
|
+
}), t.use(u), t.config.globalProperties.$router = u;
|
|
50
|
+
}, b = (t) => {
|
|
51
|
+
switch (t) {
|
|
52
|
+
case "browser":
|
|
53
|
+
return P;
|
|
54
|
+
case "client":
|
|
55
|
+
return T;
|
|
56
|
+
case "three":
|
|
57
|
+
return g;
|
|
58
|
+
}
|
|
59
|
+
}, v = (t) => {
|
|
60
|
+
const e = document.documentElement;
|
|
61
|
+
t == null || t.forEach((h) => {
|
|
62
|
+
e.style.setProperty(h.name, h.value);
|
|
63
|
+
});
|
|
64
|
+
}, w = (t) => {
|
|
65
|
+
f.setPlatform(t);
|
|
66
|
+
const e = b(t);
|
|
67
|
+
v(e);
|
|
68
|
+
}, q = { getPlatform: f.getPlatform, setPlatform: f.setPlatform, initPlatform: w };
|
|
8
69
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
70
|
+
j as SvgIcon,
|
|
71
|
+
V as default,
|
|
72
|
+
q as platformApi,
|
|
73
|
+
u as router
|
|
12
74
|
};
|
package/dist/ss-component2.js
CHANGED
|
@@ -1,74 +1,117 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
1
|
+
import { createRouter as t, createWebHashHistory as e } from "vue-router";
|
|
2
|
+
const a = [
|
|
3
|
+
{
|
|
4
|
+
path: "/tenant",
|
|
5
|
+
name: "Tenant",
|
|
6
|
+
component: async () => import("./index-DlQXFCw8.js")
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
path: "/login",
|
|
10
|
+
name: "Login",
|
|
11
|
+
component: async () => import("./index-D1E8EPxn.js")
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
path: "/",
|
|
15
|
+
name: "Model",
|
|
16
|
+
component: async () => import("./index-DjMtW8dW.js"),
|
|
17
|
+
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
18
|
+
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
19
|
+
// component: async ()=>import('@/components/views/test/index.vue'),
|
|
20
|
+
children: [
|
|
21
|
+
{
|
|
22
|
+
path: "系统配置/站内信",
|
|
23
|
+
name: "Message",
|
|
24
|
+
component: async () => import("./index-CV_jQDcg.js")
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
path: "系统配置/自动生成",
|
|
28
|
+
name: "Automatic",
|
|
29
|
+
component: async () => import("./index-uF-ibwG0.js")
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
path: "平台管理/菜单管理",
|
|
33
|
+
name: "Menu",
|
|
34
|
+
component: async () => import("./index-BLvu93ER.js")
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
path: "平台管理/主菜单管理",
|
|
38
|
+
name: "MainMenu",
|
|
39
|
+
component: async () => import("./index-Dv34ETGo.js")
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
path: "系统管理/个人中心",
|
|
43
|
+
name: "PersonalCenter",
|
|
44
|
+
component: async () => import("./index-DjabG6aq.js")
|
|
45
|
+
},
|
|
46
|
+
// {
|
|
47
|
+
// path: '系统管理/职位管理',
|
|
48
|
+
// name: 'Post',
|
|
49
|
+
// component: async () => import('@/pages/post/index.vue')
|
|
50
|
+
// },
|
|
51
|
+
// {
|
|
52
|
+
// path: '系统管理/用户管理',
|
|
53
|
+
// name: 'User',
|
|
54
|
+
// component: async () => import('@/pages/user/index.vue')
|
|
55
|
+
// },
|
|
56
|
+
// {
|
|
57
|
+
// path: '系统管理/角色管理',
|
|
58
|
+
// name: 'Role',
|
|
59
|
+
// component: async () => import('@/pages/role/index.vue')
|
|
60
|
+
// },
|
|
61
|
+
// {
|
|
62
|
+
// path: '系统管理/部门管理',
|
|
63
|
+
// name: 'Dept',
|
|
64
|
+
// component: async () => import('@/pages/dept/index.vue')
|
|
65
|
+
// },
|
|
66
|
+
{
|
|
67
|
+
path: "系统维护/登录日志",
|
|
68
|
+
name: "LoginLog",
|
|
69
|
+
component: async () => import("./index-DWkuQCJw.js")
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
path: "系统维护/操作日志",
|
|
73
|
+
name: "OperateLog",
|
|
74
|
+
component: async () => import("./index-B-DoOXmZ.js")
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
path: "角色管理",
|
|
78
|
+
name: "Role",
|
|
79
|
+
component: async () => import("./index-C-ELzAfH.js")
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
path: "部门管理",
|
|
83
|
+
name: "Department",
|
|
84
|
+
component: async () => import("./index-CPW7tdrA.js")
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
path: "职位管理",
|
|
88
|
+
name: "Position",
|
|
89
|
+
component: async () => import("./index-BUqviBFi.js")
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
path: "个人中心",
|
|
93
|
+
name: "PersonalCenter",
|
|
94
|
+
component: async () => import("./index-B_fRppeJ.js")
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
path: "log",
|
|
98
|
+
name: "log",
|
|
99
|
+
component: async () => import("./index-JvgrtIDP.js")
|
|
100
|
+
}
|
|
101
|
+
// {
|
|
102
|
+
// path: 'priority',
|
|
103
|
+
// name: 'Priority',
|
|
104
|
+
// component: async () => import('@/pages/priority/index.vue'),
|
|
105
|
+
// },
|
|
106
|
+
]
|
|
58
107
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
const e = b(t);
|
|
67
|
-
v(e);
|
|
68
|
-
}, q = { getPlatform: f.getPlatform, setPlatform: f.setPlatform, initPlatform: w };
|
|
108
|
+
], m = t({
|
|
109
|
+
history: e(),
|
|
110
|
+
routes: a
|
|
111
|
+
});
|
|
112
|
+
m.beforeEach((o, p, n) => {
|
|
113
|
+
!sessionStorage.getItem("loginToken") && o.path !== "/login" ? n("/login") : n();
|
|
114
|
+
});
|
|
69
115
|
export {
|
|
70
|
-
|
|
71
|
-
V as default,
|
|
72
|
-
q as platformApi,
|
|
73
|
-
u as router
|
|
116
|
+
m as default
|
|
74
117
|
};
|
package/dist/ss-component3.js
CHANGED
|
@@ -1,117 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
path: "/login",
|
|
10
|
-
name: "Login",
|
|
11
|
-
component: async () => import("./index-DhzLMJ4A.js")
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
path: "/",
|
|
15
|
-
name: "Model",
|
|
16
|
-
component: async () => import("./index-wi3x2kbn.js"),
|
|
17
|
-
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
18
|
-
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
19
|
-
// component: async ()=>import('@/components/views/test/index.vue'),
|
|
20
|
-
children: [
|
|
21
|
-
{
|
|
22
|
-
path: "系统配置/站内信",
|
|
23
|
-
name: "Message",
|
|
24
|
-
component: async () => import("./index-CV_jQDcg.js")
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
path: "系统配置/自动生成",
|
|
28
|
-
name: "Automatic",
|
|
29
|
-
component: async () => import("./index-uF-ibwG0.js")
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
path: "平台管理/菜单管理",
|
|
33
|
-
name: "Menu",
|
|
34
|
-
component: async () => import("./index-vdHc4lFg.js")
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
path: "平台管理/主菜单管理",
|
|
38
|
-
name: "MainMenu",
|
|
39
|
-
component: async () => import("./index-Lm4ZKNF3.js")
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
path: "系统管理/个人中心",
|
|
43
|
-
name: "PersonalCenter",
|
|
44
|
-
component: async () => import("./index-BpOJFzyr.js")
|
|
45
|
-
},
|
|
46
|
-
// {
|
|
47
|
-
// path: '系统管理/职位管理',
|
|
48
|
-
// name: 'Post',
|
|
49
|
-
// component: async () => import('@/pages/post/index.vue')
|
|
50
|
-
// },
|
|
51
|
-
// {
|
|
52
|
-
// path: '系统管理/用户管理',
|
|
53
|
-
// name: 'User',
|
|
54
|
-
// component: async () => import('@/pages/user/index.vue')
|
|
55
|
-
// },
|
|
56
|
-
// {
|
|
57
|
-
// path: '系统管理/角色管理',
|
|
58
|
-
// name: 'Role',
|
|
59
|
-
// component: async () => import('@/pages/role/index.vue')
|
|
60
|
-
// },
|
|
61
|
-
// {
|
|
62
|
-
// path: '系统管理/部门管理',
|
|
63
|
-
// name: 'Dept',
|
|
64
|
-
// component: async () => import('@/pages/dept/index.vue')
|
|
65
|
-
// },
|
|
66
|
-
{
|
|
67
|
-
path: "系统维护/登录日志",
|
|
68
|
-
name: "LoginLog",
|
|
69
|
-
component: async () => import("./index-Da5hzjgH.js")
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
path: "系统维护/操作日志",
|
|
73
|
-
name: "OperateLog",
|
|
74
|
-
component: async () => import("./index-DHiLQExG.js")
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
path: "角色管理",
|
|
78
|
-
name: "Role",
|
|
79
|
-
component: async () => import("./index-BynHhKF0.js")
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
path: "部门管理",
|
|
83
|
-
name: "Department",
|
|
84
|
-
component: async () => import("./index-CdNoVvbF.js")
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
path: "职位管理",
|
|
88
|
-
name: "Position",
|
|
89
|
-
component: async () => import("./index-BdZMxiC_.js")
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
path: "个人中心",
|
|
93
|
-
name: "PersonalCenter",
|
|
94
|
-
component: async () => import("./index-Cz0WowdS.js")
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
path: "log",
|
|
98
|
-
name: "log",
|
|
99
|
-
component: async () => import("./index-DzSdRXaZ.js")
|
|
100
|
-
}
|
|
101
|
-
// {
|
|
102
|
-
// path: 'priority',
|
|
103
|
-
// name: 'Priority',
|
|
104
|
-
// component: async () => import('@/pages/priority/index.vue'),
|
|
105
|
-
// },
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
], m = t({
|
|
109
|
-
history: e(),
|
|
110
|
-
routes: a
|
|
111
|
-
});
|
|
112
|
-
m.beforeEach((o, p, n) => {
|
|
113
|
-
!sessionStorage.getItem("loginToken") && o.path !== "/login" ? n("/login") : n();
|
|
114
|
-
});
|
|
1
|
+
import { S as o } from "./index-BHtNKL1L.js";
|
|
2
|
+
const c = {
|
|
3
|
+
SvgIcon: o
|
|
4
|
+
};
|
|
5
|
+
function p(n) {
|
|
6
|
+
n.component("SvgIcon", o);
|
|
7
|
+
}
|
|
115
8
|
export {
|
|
116
|
-
|
|
9
|
+
o as SvgIcon,
|
|
10
|
+
c as components,
|
|
11
|
+
p as setupGlobalComponents
|
|
117
12
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as f, computed as t, createElementBlock as a, openBlock as s, normalizeStyle as l, normalizeClass as r, createElementVNode as u } from "vue";
|
|
2
|
+
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const v = ["xlink:href"], _ = /* @__PURE__ */ f({
|
|
4
|
+
__name: "svgIcon",
|
|
5
|
+
props: {
|
|
6
|
+
backgroundColor: { default: "#f0f0f0" },
|
|
7
|
+
prefix: { default: "icon" },
|
|
8
|
+
name: {},
|
|
9
|
+
size: { default: 16 },
|
|
10
|
+
spin: { type: Boolean, default: !1 },
|
|
11
|
+
active: { type: Boolean, default: !1 }
|
|
12
|
+
},
|
|
13
|
+
setup(c) {
|
|
14
|
+
const n = c, i = t(
|
|
15
|
+
() => ({
|
|
16
|
+
backgroundColor: n.backgroundColor
|
|
17
|
+
})
|
|
18
|
+
), p = t(() => `#${n.prefix}-${n.name}`), d = t(() => {
|
|
19
|
+
const { size: e } = n;
|
|
20
|
+
let o = `${e}`;
|
|
21
|
+
return o = `${o.replace("px", "")}px`, {
|
|
22
|
+
width: o,
|
|
23
|
+
height: o
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
return (e, o) => (s(), a("div", {
|
|
27
|
+
class: r(["container", { active: e.active }]),
|
|
28
|
+
style: l(i.value)
|
|
29
|
+
}, [
|
|
30
|
+
(s(), a("svg", {
|
|
31
|
+
class: r(["svg-icon", [e.$attrs.class, e.spin && "svg-icon-spin"]]),
|
|
32
|
+
style: l(d.value),
|
|
33
|
+
"aria-hidden": "true"
|
|
34
|
+
}, [
|
|
35
|
+
u("use", { "xlink:href": p.value }, null, 8, v)
|
|
36
|
+
], 6))
|
|
37
|
+
], 6));
|
|
38
|
+
}
|
|
39
|
+
}), y = /* @__PURE__ */ m(_, [["__scopeId", "data-v-00a72991"]]);
|
|
40
|
+
export {
|
|
41
|
+
y as T
|
|
42
|
+
};
|