ss-component-new 1.3.535 → 1.3.537

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 (55) hide show
  1. package/dist/App-Bs9l6gBz.js +207 -0
  2. package/dist/{MTLLoader-C39kpgdW.js → MTLLoader-CJpSdxp4.js} +1 -1
  3. package/dist/{OrbitControls-gxPdDfJE.js → OrbitControls-Dn5RI8yb.js} +1 -1
  4. package/dist/{URDFLoader-_Fx0i2TU.js → URDFLoader-CBCUFT9t.js} +2 -2
  5. package/dist/{animationData-CluZJZuh.js → animationData-CePYKY0n.js} +3 -3
  6. package/dist/{array-DuN9o1CB.js → array-De_ksRNY.js} +3 -3
  7. package/dist/clone-CXsLtSvf.js +8 -0
  8. package/dist/header-B1G-mIVr.js +651 -0
  9. package/dist/{iconfont-SlSF8dh4.js → iconfont-CZ40-aPC.js} +2 -2
  10. package/dist/{index-zS5CYCHZ.js → index-B-C5TdFW.js} +16 -16
  11. package/dist/{index-Ds-fktuI.js → index-BZECuG4k.js} +1 -1
  12. package/dist/{index-DlLguf17.js → index-BZjBZlTS.js} +2 -2
  13. package/dist/{index-DwfSty3e.js → index-BnWsptYg.js} +17 -17
  14. package/dist/{index-YYc9OuUQ.js → index-BrqL9KU9.js} +2 -2
  15. package/dist/{index-BALpnTRw.js → index-C0zUtuoD.js} +26 -25
  16. package/dist/{index-DmaDbz-y.js → index-C2FVe2U6.js} +26 -26
  17. package/dist/{index-2-sJOX9Q.js → index-CGWCPa7J.js} +8 -8
  18. package/dist/{index-CqUR7JfB.js → index-CH17Cg3K.js} +13 -13
  19. package/dist/{index-B3osj0rP.js → index-CHI_k9PI.js} +1 -1
  20. package/dist/{index-CxVcoSUk.js → index-CTtYLr1S.js} +20039 -20678
  21. package/dist/{index-DaiIPbLP.js → index-CisHksIK.js} +4 -4
  22. package/dist/{index-BLlYLkpo.js → index-CkW_ja7U.js} +2 -2
  23. package/dist/{index-DB1HWx1W.js → index-Cn16Hic7.js} +1 -1
  24. package/dist/{index-CjtaTTIm.js → index-CzLHT5lM.js} +32 -32
  25. package/dist/{index-KxgyPOIl.js → index-D94Xd2N1.js} +3 -3
  26. package/dist/{index-CVIPXYtg.js → index-DEI7Vflb.js} +1 -1
  27. package/dist/index-DISV4b3h.js +1048 -0
  28. package/dist/{index-DbitOpek.js → index-DQ3EYkwb.js} +2 -2
  29. package/dist/{index-DcNXwXrV.js → index-DdlbvI4c.js} +14 -14
  30. package/dist/{index-CThJS2hV.js → index-Ddn47YOo.js} +1 -1
  31. package/dist/{index-DqXvOyIs.js → index-DeGxq_J_.js} +197 -192
  32. package/dist/{index-B-SRrjLA.js → index-DfKuu864.js} +4 -4
  33. package/dist/{index-CocPelja.js → index-DwJLblIq.js} +4 -4
  34. package/dist/{index-CPBWRSLW.js → index-DxOcC8k8.js} +1 -1
  35. package/dist/{index-nPZNbGhn.js → index-EP4_0PDS.js} +8 -8
  36. package/dist/{index-Fy4MrrOF.js → index-eNJ1M05y.js} +25 -25
  37. package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js} +3 -3
  38. package/dist/{main-DRjjtvpI.js → main---mNjhuu.js} +4 -4
  39. package/dist/{menuIndex-VozC7XXB.js → menuIndex-CUwbp3jl.js} +1 -1
  40. package/dist/ss-component.css +1 -1
  41. package/dist/ss-component.js +11 -11
  42. package/dist/ss-component2.js +12 -12
  43. package/dist/{threeModel-DZ5d5vQL.js → threeModel-om3lolpg.js} +4 -4
  44. package/dist/{threePreview-DPTGt5fZ.js → threePreview-BKq8-BNs.js} +4 -4
  45. package/dist/{threeSceneView-BU2-G2Dr.js → threeSceneView-B9HE-6FF.js} +14 -13
  46. package/dist/{threeSceneViewForCPMPIP-CbagCLwV.js → threeSceneViewForCPMPIP-B3iqjUVV.js} +8 -8
  47. package/dist/{threeTrackPathView-CHwHb3Z5.js → threeTrackPathView-Cua5p2_z.js} +4 -4
  48. package/dist/{threeViewerHost-tz3s8Mvi.js → threeViewerHost-BgkLy3Px.js} +12 -12
  49. package/dist/{urdfTree-_2vCDAO7.js → urdfTree-CEVNcjbP.js} +1 -1
  50. package/dist/{workpieceTreePanel-BaMbkaOM.js → workpieceTreePanel-5Z2rOZ9E.js} +4 -4
  51. package/package.json +1 -1
  52. package/dist/clone-ez7vwxnP.js +0 -8
  53. package/dist/index-BscI3lbU.js +0 -55
  54. package/dist/index-CQD9tf3F.js +0 -197
  55. package/dist/index-RLUSh93k.js +0 -1000
@@ -0,0 +1,207 @@
1
+ import { defineComponent as P, ref as p, onMounted as q, resolveComponent as g, createElementBlock as x, openBlock as h, createVNode as u, withCtx as i, createElementVNode as w, Fragment as G, renderList as J, withModifiers as $, normalizeStyle as K, toDisplayString as B, createTextVNode as M, createBlock as Q } from "vue";
2
+ import { g as O, c as R, f as X, b as Y, d as Z } from "./index-DeGxq_J_.js";
3
+ import { s as ee, a as ae } from "./index-B-C5TdFW.js";
4
+ import { t as te } from "./header-B1G-mIVr.js";
5
+ import { s as le } from "./index-11kpzK0A.js";
6
+ import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ const oe = { class: "main-content" }, se = { class: "menu-config-wrap" }, re = ["onClick"], ne = { class: "form-content" }, pe = { class: "dialog-footer" }, ue = /* @__PURE__ */ P({
8
+ __name: "index",
9
+ setup(W) {
10
+ const _ = p([
11
+ {
12
+ prop: "plat_id",
13
+ label: "编号"
14
+ },
15
+ {
16
+ prop: "account",
17
+ label: "账号"
18
+ },
19
+ {
20
+ prop: "password",
21
+ label: "密码"
22
+ },
23
+ {
24
+ prop: "plat_name",
25
+ label: "平台名称"
26
+ },
27
+ {
28
+ prop: "plat_type",
29
+ label: "平台类型"
30
+ },
31
+ {
32
+ prop: "plat_version",
33
+ label: "平台版本"
34
+ },
35
+ {
36
+ prop: "operate",
37
+ label: "操作",
38
+ type: "operate"
39
+ }
40
+ ]), d = p(""), j = p(720), v = p(!1), s = p({}), k = p(), f = p([]), I = p([]), z = p([{
41
+ label: "新增"
42
+ }]), D = p([{
43
+ label: "修改"
44
+ }]);
45
+ q(async () => {
46
+ var a, r, n;
47
+ I.value = (a = _.value) == null ? void 0 : a.map((e) => e == null ? void 0 : e.label);
48
+ let t = await O({});
49
+ f.value = ((n = (r = t == null ? void 0 : t.data) == null ? void 0 : r.result) == null ? void 0 : n.sort((e, o) => parseInt(e == null ? void 0 : e.platId) - parseInt(o == null ? void 0 : o.platId))) ?? [];
50
+ });
51
+ const A = (t, a, r) => {
52
+ t === "新增" ? (d.value = "新增", N(""), v.value = !0) : t === "修改" && (d.value = "修改", N(a), v.value = !0);
53
+ }, N = (t) => {
54
+ var r, n;
55
+ const a = [];
56
+ for (let e in t)
57
+ Array.isArray(t == null ? void 0 : t[e]);
58
+ (n = (r = R(_.value)) == null ? void 0 : r.filter((e) => (e == null ? void 0 : e.label) !== "操作")) == null || n.forEach((e) => {
59
+ a.push({
60
+ label: e == null ? void 0 : e.label,
61
+ prop: e == null ? void 0 : e.prop,
62
+ name: e == null ? void 0 : e.prop,
63
+ type: "Input",
64
+ value: (t == null ? void 0 : t[e == null ? void 0 : e.prop]) ?? "",
65
+ width: 2,
66
+ disabled: (e == null ? void 0 : e.prop) === "plat_id"
67
+ });
68
+ }), k.value = a;
69
+ }, H = (t) => {
70
+ s.value = t;
71
+ }, L = async () => {
72
+ var r, n, e, o, c, l, m, b, S, T, V, E, F;
73
+ v.value = !1;
74
+ const t = X(Date.now());
75
+ d.value === "新增" ? await Y({
76
+ userName: (r = s.value) == null ? void 0 : r.account,
77
+ password: (n = s.value) == null ? void 0 : n.password,
78
+ platName: (e = s.value) == null ? void 0 : e.plat_name,
79
+ platType: (o = s.value) == null ? void 0 : o.plat_type,
80
+ platVersion: (c = s.value) == null ? void 0 : c.plat_version,
81
+ platCreatedAt: t,
82
+ platUpdatedAt: t
83
+ }) : d.value === "修改" && await Z({
84
+ platId: parseInt((l = s.value) == null ? void 0 : l.plat_id),
85
+ userName: (m = s.value) == null ? void 0 : m.account,
86
+ password: (b = s.value) == null ? void 0 : b.password,
87
+ platName: (S = s.value) == null ? void 0 : S.plat_name,
88
+ platType: (T = s.value) == null ? void 0 : T.plat_type,
89
+ platVersion: (V = s.value) == null ? void 0 : V.plat_version,
90
+ platUpdatedAt: t
91
+ });
92
+ let a = await O({});
93
+ f.value = ((F = (E = a == null ? void 0 : a.data) == null ? void 0 : E.result) == null ? void 0 : F.sort((y, C) => parseInt(y == null ? void 0 : y.platId) - parseInt(C == null ? void 0 : C.platId))) ?? [];
94
+ };
95
+ return (t, a) => {
96
+ const r = g("svg-icon"), n = g("el-popover"), e = g("el-button");
97
+ return h(), x("div", oe, [
98
+ u(ee, {
99
+ columns: _.value,
100
+ tableData: f.value,
101
+ checkedColumns: I.value,
102
+ isShowEdit: !1,
103
+ isShowDelete: !1,
104
+ style: { width: "80%", height: "70%" },
105
+ extraButton: z.value,
106
+ rowButton: D.value
107
+ }, {
108
+ headerButton: i((o) => {
109
+ var c;
110
+ return [
111
+ u(te, {
112
+ dataNums: (c = f.value) == null ? void 0 : c.length,
113
+ buttons: o.buttons,
114
+ onButtonClick: a[0] || (a[0] = (l, m, b) => A(l, m)),
115
+ columns: _.value
116
+ }, null, 8, ["dataNums", "buttons", "columns"])
117
+ ];
118
+ }),
119
+ actions: i(({ item: o, fIndex: c }) => [
120
+ u(n, {
121
+ title: "",
122
+ placement: "left-start",
123
+ "popper-class": "menu-operate-popover"
124
+ }, {
125
+ reference: i(() => [
126
+ u(r, {
127
+ name: "more",
128
+ style: { cursor: "pointer", width: "15px", height: "15px" },
129
+ onClick: a[1] || (a[1] = $(() => {
130
+ }, ["stop"]))
131
+ })
132
+ ]),
133
+ default: i(() => [
134
+ w("div", se, [
135
+ (h(!0), x(G, null, J(D.value, (l, m) => (h(), x("div", {
136
+ class: "menu-config-item",
137
+ key: m,
138
+ onClick: $((b) => A(l == null ? void 0 : l.label, o), ["stop"])
139
+ }, [
140
+ w("div", {
141
+ style: K({ color: l == null ? void 0 : l.textColor }),
142
+ class: "extra-button-label"
143
+ }, B(l == null ? void 0 : l.label), 5)
144
+ ], 8, re))), 128))
145
+ ])
146
+ ]),
147
+ _: 2
148
+ }, 1024)
149
+ ]),
150
+ _: 1
151
+ }, 8, ["columns", "tableData", "checkedColumns", "extraButton", "rowButton"]),
152
+ u(le, {
153
+ title: d.value,
154
+ visible: v.value,
155
+ width: j.value,
156
+ onBeforeDestroy: a[4] || (a[4] = (o) => v.value = !1),
157
+ style: { height: "74%" }
158
+ }, {
159
+ default: i(() => [
160
+ w("div", ne, [
161
+ u(ae, {
162
+ rowContents: k.value,
163
+ isEnableWrap: !1,
164
+ showOperator: !1,
165
+ onChange: H
166
+ }, null, 8, ["rowContents"])
167
+ ])
168
+ ]),
169
+ footer: i(() => [
170
+ w("div", pe, [
171
+ u(e, {
172
+ onClick: a[2] || (a[2] = (o) => v.value = !1),
173
+ id: "themeBorderButton"
174
+ }, {
175
+ default: i(() => a[5] || (a[5] = [
176
+ M(B("取消"))
177
+ ])),
178
+ _: 1,
179
+ __: [5]
180
+ }),
181
+ u(e, {
182
+ class: "ok-button",
183
+ onClick: a[3] || (a[3] = (o) => L()),
184
+ id: "themeButton"
185
+ }, {
186
+ default: i(() => a[6] || (a[6] = [
187
+ M(B("确认"))
188
+ ])),
189
+ _: 1,
190
+ __: [6]
191
+ })
192
+ ])
193
+ ]),
194
+ _: 1
195
+ }, 8, ["title", "visible", "width"])
196
+ ]);
197
+ };
198
+ }
199
+ }), ie = /* @__PURE__ */ U(ue, [["__scopeId", "data-v-0b0a1145"]]), de = {
200
+ __name: "App",
201
+ setup(W) {
202
+ return (_, d) => (h(), Q(ie, { class: "component-view" }));
203
+ }
204
+ }, we = /* @__PURE__ */ U(de, [["__scopeId", "data-v-da5e6a7b"]]);
205
+ export {
206
+ we as default
207
+ };
@@ -1,4 +1,4 @@
1
- import { R as Z, U as Y, u as D, C as P, c as S, a1 as H, V as O, Y as k, s as ie, a2 as N, aI as X, _ as T, k as ne, aM as $, $ as W, h as K, an as ae, a4 as oe, aF as le, aZ as q, ap as Q, b9 as ce, aw as he } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
1
+ import { R as Z, U as Y, u as D, C as P, c as S, a1 as H, V as O, Y as k, s as ie, a2 as N, aI as X, _ as T, k as ne, aM as $, $ as W, h as K, an as ae, a4 as oe, aF as le, aZ as q, ap as Q, b9 as ce, aw as he } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js";
2
2
  class xe extends Z {
3
3
  /**
4
4
  * Constructs a new STL loader.
@@ -1,4 +1,4 @@
1
- import { bj as S, V as p, M as u, bk as _, at as E, bl as P, ap as c, bm as w, m as O, o as R } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
1
+ import { bj as S, V as p, M as u, bk as _, at as E, bl as P, ap as c, bm as w, m as O, o as R } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.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,
@@ -1,5 +1,5 @@
1
- import { S as Ln } from "./MTLLoader-C39kpgdW.js";
2
- import { b7 as vn, az as Rn, R as lt, an as At, U as In, V as pe, n as he, aJ as dt, S as Mn, aw as Tt, C as ut, o as Le, aQ as ft, b8 as Sn, k as ve, aZ as Se, c as me, ap as On, l as Gn, a4 as Pn, P as ht, aO as qn, i as jn, ar as Fn, j as Un, D as Hn, s as pt, at as Et, aW as mt, aY as Bn, u as zn, Y as ye, aR as Dn, a2 as bt, aL as Vn, h as Ce, w as Jn, aM as Wn, aP as Kn, aF as Oe, aH as gt, b9 as Yn, ba as Xn, bb as yt, bc as $n, bd as Zn, be as Qn, bf as ei, a0 as ti, bg as ni, bh as ii, E as si } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
1
+ import { S as Ln } from "./MTLLoader-CJpSdxp4.js";
2
+ import { b7 as vn, az as Rn, R as lt, an as At, U as In, V as pe, n as he, aJ as dt, S as Mn, aw as Tt, C as ut, o as Le, aQ as ft, b8 as Sn, k as ve, aZ as Se, c as me, ap as On, l as Gn, a4 as Pn, P as ht, aO as qn, i as jn, ar as Fn, j as Un, D as Hn, s as pt, at as Et, aW as mt, aY as Bn, u as zn, Y as ye, aR as Dn, a2 as bt, aL as Vn, h as Ce, w as Jn, aM as Wn, aP as Kn, aF as Oe, aH as gt, b9 as Yn, ba as Xn, bb as yt, bc as $n, bd as Zn, be as Qn, bf as ei, a0 as ti, bg as ni, bh as ii, E as si } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js";
3
3
  class wt extends vn {
4
4
  /**
5
5
  * Constructs a new TGA loader.
@@ -1,6 +1,6 @@
1
- import { d as K, y as C, e as x } from "./index-DB1HWx1W.js";
2
- import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
3
- import { c as O } from "./index-DqXvOyIs.js";
1
+ import { d as K, y as C, e as x } from "./index-Cn16Hic7.js";
2
+ import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js";
3
+ import { c as O } from "./index-DeGxq_J_.js";
4
4
  const g = async (n) => {
5
5
  const e = n.join("/"), c = sessionStorage.getItem("systemKey");
6
6
  return await K(e, c, "");
@@ -1,9 +1,9 @@
1
1
  import { ref as k, computed as ae, resolveComponent as te, createElementBlock as H, openBlock as p, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as be, createBlock as j, resolveDynamicComponent as le, unref as _, withCtx as L, isRef as Ye, createTextVNode as de, createCommentVNode as q, normalizeStyle as ta, withModifiers as ve, normalizeClass as qe, nextTick as na } from "vue";
2
- import { V as Ie, g as aa, E as oa, G as sa, H as Je, c as ra } from "./index-CxVcoSUk.js";
3
- import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-DqXvOyIs.js";
2
+ import { V as Ie, g as aa, E as oa, G as sa, H as Je, c as ra } from "./index-CTtYLr1S.js";
3
+ import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-DeGxq_J_.js";
4
4
  import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import ca from "./index-rlStojTL.js";
6
- import { d as ia, c as da } from "./index-zS5CYCHZ.js";
6
+ import { e as ia, d as da } from "./index-B-C5TdFW.js";
7
7
  import { s as va } from "./index-11kpzK0A.js";
8
8
  import { E as pa } from "./request-B1c8BUkR.js";
9
9
  const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
@@ -0,0 +1,8 @@
1
+ import { a1 as r } from "./index-DeGxq_J_.js";
2
+ var a = 4;
3
+ function n(o) {
4
+ return r(o, a);
5
+ }
6
+ export {
7
+ n as c
8
+ };