build-dxf 0.0.51 → 0.0.53
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/README.md +167 -156
- package/package.json +45 -45
- package/src/{selectLocalFile.js → DomEventRegister.js} +738 -806
- package/src/build.d.ts +2 -2
- package/src/build.js +2254 -1691
- package/src/index.css +1 -1
- package/src/index.js +10 -9
- package/src/index2.js +8 -8
- package/src/index3.js +297 -429
- package/src/utils/DxfSystem/DxfSystem.d.ts +10 -0
- package/src/utils/DxfSystem/components/Dxf.d.ts +1 -1
- package/src/utils/DxfSystem/components/ThreeVJia.d.ts +7 -45
- package/src/utils/DxfSystem/index.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/Editor/components/Editor.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/Editor/components/index.d.ts +0 -1
- package/src/utils/DxfSystem/plugin/Editor/index.d.ts +1 -0
- package/src/utils/DxfSystem/utils/BoundExt.d.ts +27 -1
- package/src/utils/DxfSystem/utils/CAD.d.ts +17 -0
- package/src/utils/DxfSystem/utils/DoubleWallHelper.d.ts +15 -0
- package/src/utils/DxfSystem/utils/buildGroup.d.ts +12 -0
- package/src/utils/DxfSystem/utils/clippingDoubleWall.d.ts +1 -6
- package/src/utils/DxfSystem/utils/findDiscretePointLine.d.ts +7 -0
- package/src/utils/DxfSystem/utils/index.d.ts +8 -1
- package/src/utils/DxfSystem/utils/lineDataToThreeVJiaJson.d.ts +46 -0
- package/src/utils/LineSegment.d.ts +12 -2
- package/src/utils/Point.d.ts +4 -1
- package/src/utils/PointVirtualGrid/index.d.ts +1 -1
- package/src/utils/Polygon.d.ts +11 -1
- package/src/utils/UndirectedGraph.d.ts +13 -0
- package/src/utils/index.d.ts +3 -3
- /package/src/utils/DxfSystem/utils/{findClosedPolygons01.d.ts → findClosedPolygons.d.ts} +0 -0
package/src/index3.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import * as p from "three";
|
|
2
|
-
import {
|
|
3
|
-
import { C as Se, P as A, L as N, B as tt, E as nt, b as Te, Q as Ve, c as je, d as zt, u as Ot, A as Qt, r as _e, W as Tt, T as Vt, V as jt } from "./build.js";
|
|
2
|
+
import { C as Pe, P as A, b as F, L as we, B as et, c as ze, Q as Oe, d as Te, e as Et, u as xt, A as At, r as Qe, W as Lt, T as Mt, V as It, S as Dt, f as kt } from "./build.js";
|
|
4
3
|
import "clipper-lib";
|
|
5
4
|
import "dxf-writer";
|
|
6
|
-
import {
|
|
5
|
+
import { i as Pt, n as Bt, r as tt, t as nt, c as Be, d as St, e as Kt, f as Se, g as G, _ as ot, u as Nt, h as Ce, j as Ve, w as Ft, k as Rt, l as zt, p as Ot, m as Tt, o as Qt, T as je, q as _e, s as Vt, v as jt, x as Ge, y as ke, z as Ie, A as _t, B as Gt, D as Ut, b as Ue, E as me } from "./DomEventRegister.js";
|
|
6
|
+
import { watch as J, ref as P, defineComponent as pe, computed as k, createElementBlock as N, openBlock as D, normalizeClass as j, unref as f, renderSlot as Ee, createVNode as O, Transition as xe, withCtx as V, withDirectives as st, createElementVNode as M, normalizeStyle as Ke, createTextVNode as te, toDisplayString as he, vShow as at, shallowReactive as Jt, onMounted as it, createBlock as fe, createCommentVNode as H, resolveDynamicComponent as Ht, Fragment as ye, withModifiers as Wt, nextTick as be, isVNode as rt, render as Je, toRaw as qt, onUnmounted as Zt, renderList as De, createStaticVNode as Yt, TransitionGroup as Xt, createApp as $t } from "vue";
|
|
7
7
|
import "three/addons/controls/OrbitControls.js";
|
|
8
|
-
function
|
|
8
|
+
function dt(c) {
|
|
9
9
|
var e;
|
|
10
|
-
const t =
|
|
10
|
+
const t = tt(c);
|
|
11
11
|
return (e = t?.$el) != null ? e : t;
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
function
|
|
13
|
+
const lt = Be ? window : void 0;
|
|
14
|
+
function en(...c) {
|
|
15
15
|
let e, t, n, o;
|
|
16
|
-
if (
|
|
17
|
-
return
|
|
16
|
+
if (Pt(c[0]) || Array.isArray(c[0]) ? ([t, n, o] = c, e = lt) : [e, t, n, o] = c, !e)
|
|
17
|
+
return Bt;
|
|
18
18
|
Array.isArray(t) || (t = [t]), Array.isArray(n) || (n = [n]);
|
|
19
19
|
const s = [], a = () => {
|
|
20
20
|
s.forEach((l) => l()), s.length = 0;
|
|
21
|
-
}, d = (l, m, g, w) => (l.addEventListener(m, g, w), () => l.removeEventListener(m, g, w)), r = J(() => [
|
|
21
|
+
}, d = (l, m, g, w) => (l.addEventListener(m, g, w), () => l.removeEventListener(m, g, w)), r = J(() => [dt(e), tt(o)], ([l, m]) => {
|
|
22
22
|
a(), l && s.push(...t.flatMap((g) => n.map((w) => d(l, g, w, m))));
|
|
23
23
|
}, { immediate: !0, flush: "post" }), i = () => {
|
|
24
24
|
r(), a();
|
|
25
25
|
};
|
|
26
|
-
return
|
|
26
|
+
return nt(i), i;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function tn(c, e = !1) {
|
|
29
29
|
const t = P(), n = () => t.value = !!c();
|
|
30
|
-
return n(),
|
|
30
|
+
return n(), St(n, e), t;
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
var
|
|
32
|
+
const He = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, We = "__vueuse_ssr_handlers__";
|
|
33
|
+
He[We] = He[We] || {};
|
|
34
|
+
var qe = Object.getOwnPropertySymbols, nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable, sn = (c, e) => {
|
|
35
35
|
var t = {};
|
|
36
36
|
for (var n in c)
|
|
37
|
-
|
|
38
|
-
if (c != null &&
|
|
39
|
-
for (var n of
|
|
40
|
-
e.indexOf(n) < 0 &&
|
|
37
|
+
nn.call(c, n) && e.indexOf(n) < 0 && (t[n] = c[n]);
|
|
38
|
+
if (c != null && qe)
|
|
39
|
+
for (var n of qe(c))
|
|
40
|
+
e.indexOf(n) < 0 && on.call(c, n) && (t[n] = c[n]);
|
|
41
41
|
return t;
|
|
42
42
|
};
|
|
43
|
-
function
|
|
44
|
-
const n = t, { window: o =
|
|
43
|
+
function an(c, e, t = {}) {
|
|
44
|
+
const n = t, { window: o = lt } = n, s = sn(n, ["window"]);
|
|
45
45
|
let a;
|
|
46
|
-
const d =
|
|
46
|
+
const d = tn(() => o && "ResizeObserver" in o), r = () => {
|
|
47
47
|
a && (a.disconnect(), a = void 0);
|
|
48
|
-
}, i = J(() =>
|
|
48
|
+
}, i = J(() => dt(c), (m) => {
|
|
49
49
|
r(), d.value && o && m && (a = new ResizeObserver(e), a.observe(m, s));
|
|
50
50
|
}, { immediate: !0, flush: "post" }), l = () => {
|
|
51
51
|
r(), i();
|
|
52
52
|
};
|
|
53
|
-
return
|
|
53
|
+
return nt(l), {
|
|
54
54
|
isSupported: d,
|
|
55
55
|
stop: l
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Ze;
|
|
59
59
|
(function(c) {
|
|
60
60
|
c.UP = "UP", c.RIGHT = "RIGHT", c.DOWN = "DOWN", c.LEFT = "LEFT", c.NONE = "NONE";
|
|
61
|
-
})(
|
|
62
|
-
var
|
|
61
|
+
})(Ze || (Ze = {}));
|
|
62
|
+
var rn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, Xe = (c, e, t) => e in c ? rn(c, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[e] = t, cn = (c, e) => {
|
|
63
63
|
for (var t in e || (e = {}))
|
|
64
|
-
|
|
65
|
-
if (
|
|
66
|
-
for (var t of
|
|
67
|
-
|
|
64
|
+
dn.call(e, t) && Xe(c, t, e[t]);
|
|
65
|
+
if (Ye)
|
|
66
|
+
for (var t of Ye(e))
|
|
67
|
+
ln.call(e, t) && Xe(c, t, e[t]);
|
|
68
68
|
return c;
|
|
69
69
|
};
|
|
70
|
-
const
|
|
70
|
+
const mn = {
|
|
71
71
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
72
72
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
73
73
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -93,12 +93,12 @@ const dn = {
|
|
|
93
93
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
94
94
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
95
95
|
};
|
|
96
|
-
|
|
97
|
-
linear:
|
|
98
|
-
},
|
|
99
|
-
const
|
|
96
|
+
cn({
|
|
97
|
+
linear: Kt
|
|
98
|
+
}, mn);
|
|
99
|
+
const hn = (c) => c, un = {
|
|
100
100
|
esc: "Escape"
|
|
101
|
-
},
|
|
101
|
+
}, pn = Se({
|
|
102
102
|
value: {
|
|
103
103
|
type: [String, Number],
|
|
104
104
|
default: ""
|
|
@@ -129,26 +129,26 @@ const ln = (c) => c, cn = {
|
|
|
129
129
|
badgeClass: {
|
|
130
130
|
type: String
|
|
131
131
|
}
|
|
132
|
-
}),
|
|
132
|
+
}), gn = pe({
|
|
133
133
|
name: "ElBadge"
|
|
134
|
-
}),
|
|
135
|
-
...
|
|
136
|
-
props:
|
|
134
|
+
}), vn = /* @__PURE__ */ pe({
|
|
135
|
+
...gn,
|
|
136
|
+
props: pn,
|
|
137
137
|
setup(c, { expose: e }) {
|
|
138
|
-
const t = c, n =
|
|
138
|
+
const t = c, n = Nt("badge"), o = k(() => t.isDot ? "" : Ce(t.value) && Ce(t.max) ? t.max < t.value ? `${t.max}+` : `${t.value}` : `${t.value}`), s = k(() => {
|
|
139
139
|
var a, d, r, i, l;
|
|
140
140
|
return [
|
|
141
141
|
{
|
|
142
142
|
backgroundColor: t.color,
|
|
143
|
-
marginRight:
|
|
144
|
-
marginTop:
|
|
143
|
+
marginRight: Ve(-((d = (a = t.offset) == null ? void 0 : a[0]) != null ? d : 0)),
|
|
144
|
+
marginTop: Ve((i = (r = t.offset) == null ? void 0 : r[1]) != null ? i : 0)
|
|
145
145
|
},
|
|
146
146
|
(l = t.badgeStyle) != null ? l : {}
|
|
147
147
|
];
|
|
148
148
|
});
|
|
149
149
|
return e({
|
|
150
150
|
content: o
|
|
151
|
-
}), (a, d) => (
|
|
151
|
+
}), (a, d) => (D(), N("div", {
|
|
152
152
|
class: j(f(n).b())
|
|
153
153
|
}, [
|
|
154
154
|
Ee(a.$slots, "default"),
|
|
@@ -157,7 +157,7 @@ const ln = (c) => c, cn = {
|
|
|
157
157
|
persisted: ""
|
|
158
158
|
}, {
|
|
159
159
|
default: V(() => [
|
|
160
|
-
|
|
160
|
+
st(M("sup", {
|
|
161
161
|
class: j([
|
|
162
162
|
f(n).e("content"),
|
|
163
163
|
f(n).em("content", a.type),
|
|
@@ -166,13 +166,13 @@ const ln = (c) => c, cn = {
|
|
|
166
166
|
f(n).is("hide-zero", !a.showZero && t.value === 0),
|
|
167
167
|
a.badgeClass
|
|
168
168
|
]),
|
|
169
|
-
style:
|
|
169
|
+
style: Ke(f(s))
|
|
170
170
|
}, [
|
|
171
171
|
Ee(a.$slots, "content", { value: f(o) }, () => [
|
|
172
|
-
te(
|
|
172
|
+
te(he(f(o)), 1)
|
|
173
173
|
])
|
|
174
174
|
], 6), [
|
|
175
|
-
[
|
|
175
|
+
[at, !a.hidden && (f(o) || a.isDot || a.$slots.content)]
|
|
176
176
|
])
|
|
177
177
|
]),
|
|
178
178
|
_: 3
|
|
@@ -180,8 +180,8 @@ const ln = (c) => c, cn = {
|
|
|
180
180
|
], 2));
|
|
181
181
|
}
|
|
182
182
|
});
|
|
183
|
-
var
|
|
184
|
-
const
|
|
183
|
+
var fn = /* @__PURE__ */ ot(vn, [["__file", "badge.vue"]]);
|
|
184
|
+
const yn = Ft(fn), wn = Se({
|
|
185
185
|
a11y: {
|
|
186
186
|
type: Boolean,
|
|
187
187
|
default: !0
|
|
@@ -189,7 +189,7 @@ const gn = Lt(pn), vn = Be({
|
|
|
189
189
|
locale: {
|
|
190
190
|
type: G(Object)
|
|
191
191
|
},
|
|
192
|
-
size:
|
|
192
|
+
size: zt,
|
|
193
193
|
button: {
|
|
194
194
|
type: G(Object)
|
|
195
195
|
},
|
|
@@ -217,26 +217,26 @@ const gn = Lt(pn), vn = Be({
|
|
|
217
217
|
type: String,
|
|
218
218
|
default: "el"
|
|
219
219
|
},
|
|
220
|
-
...
|
|
221
|
-
}),
|
|
220
|
+
...Rt
|
|
221
|
+
}), Q = {};
|
|
222
222
|
pe({
|
|
223
223
|
name: "ElConfigProvider",
|
|
224
|
-
props:
|
|
224
|
+
props: wn,
|
|
225
225
|
setup(c, { slots: e }) {
|
|
226
|
-
const t =
|
|
226
|
+
const t = Ot(c);
|
|
227
227
|
return J(() => c.message, (n) => {
|
|
228
228
|
var o, s;
|
|
229
|
-
Object.assign(
|
|
229
|
+
Object.assign(Q, (s = (o = t?.value) == null ? void 0 : o.message) != null ? s : {}, n ?? {});
|
|
230
230
|
}, { immediate: !0, deep: !0 }), () => Ee(e, "default", { config: t?.value });
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
|
-
const
|
|
233
|
+
const ct = [
|
|
234
234
|
"primary",
|
|
235
235
|
"success",
|
|
236
236
|
"info",
|
|
237
237
|
"warning",
|
|
238
238
|
"error"
|
|
239
|
-
], R =
|
|
239
|
+
], R = hn({
|
|
240
240
|
customClass: "",
|
|
241
241
|
dangerouslyUseHTMLString: !1,
|
|
242
242
|
duration: 3e3,
|
|
@@ -251,8 +251,8 @@ const lt = [
|
|
|
251
251
|
zIndex: 0,
|
|
252
252
|
grouping: !1,
|
|
253
253
|
repeatNum: 1,
|
|
254
|
-
appendTo:
|
|
255
|
-
}),
|
|
254
|
+
appendTo: Be ? document.body : void 0
|
|
255
|
+
}), Cn = Se({
|
|
256
256
|
customClass: {
|
|
257
257
|
type: String,
|
|
258
258
|
default: R.customClass
|
|
@@ -266,7 +266,7 @@ const lt = [
|
|
|
266
266
|
default: R.duration
|
|
267
267
|
},
|
|
268
268
|
icon: {
|
|
269
|
-
type:
|
|
269
|
+
type: Tt,
|
|
270
270
|
default: R.icon
|
|
271
271
|
},
|
|
272
272
|
id: {
|
|
@@ -291,7 +291,7 @@ const lt = [
|
|
|
291
291
|
},
|
|
292
292
|
type: {
|
|
293
293
|
type: String,
|
|
294
|
-
values:
|
|
294
|
+
values: ct,
|
|
295
295
|
default: R.type
|
|
296
296
|
},
|
|
297
297
|
plain: {
|
|
@@ -314,67 +314,67 @@ const lt = [
|
|
|
314
314
|
type: Number,
|
|
315
315
|
default: R.repeatNum
|
|
316
316
|
}
|
|
317
|
-
}),
|
|
317
|
+
}), bn = {
|
|
318
318
|
destroy: () => !0
|
|
319
|
-
}, U =
|
|
319
|
+
}, U = Jt([]), En = (c) => {
|
|
320
320
|
const e = U.findIndex((o) => o.id === c), t = U[e];
|
|
321
321
|
let n;
|
|
322
322
|
return e > 0 && (n = U[e - 1]), { current: t, prev: n };
|
|
323
|
-
},
|
|
324
|
-
const { prev: e } =
|
|
323
|
+
}, xn = (c) => {
|
|
324
|
+
const { prev: e } = En(c);
|
|
325
325
|
return e ? e.vm.exposed.bottom.value : 0;
|
|
326
|
-
},
|
|
326
|
+
}, An = (c, e) => U.findIndex((n) => n.id === c) > 0 ? 16 : e, Ln = pe({
|
|
327
327
|
name: "ElMessage"
|
|
328
|
-
}),
|
|
329
|
-
...
|
|
330
|
-
props:
|
|
331
|
-
emits:
|
|
328
|
+
}), Mn = /* @__PURE__ */ pe({
|
|
329
|
+
...Ln,
|
|
330
|
+
props: Cn,
|
|
331
|
+
emits: bn,
|
|
332
332
|
setup(c, { expose: e, emit: t }) {
|
|
333
|
-
const n = c, { Close: o } =
|
|
333
|
+
const n = c, { Close: o } = Vt, s = P(!1), { ns: a, zIndex: d } = Qt("message"), { currentZIndex: r, nextZIndex: i } = d, l = P(), m = P(!1), g = P(0);
|
|
334
334
|
let w;
|
|
335
|
-
const h =
|
|
335
|
+
const h = k(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), C = k(() => {
|
|
336
336
|
const E = n.type;
|
|
337
|
-
return { [a.bm("icon", E)]: E &&
|
|
338
|
-
}), v =
|
|
337
|
+
return { [a.bm("icon", E)]: E && je[E] };
|
|
338
|
+
}), v = k(() => n.icon || je[n.type] || ""), x = k(() => xn(n.id)), L = k(() => An(n.id, n.offset) + x.value), B = k(() => g.value + L.value), $ = k(() => ({
|
|
339
339
|
top: `${L.value}px`,
|
|
340
340
|
zIndex: r.value
|
|
341
341
|
}));
|
|
342
342
|
function ee() {
|
|
343
|
-
n.duration !== 0 && ({ stop: w } =
|
|
344
|
-
|
|
343
|
+
n.duration !== 0 && ({ stop: w } = jt(() => {
|
|
344
|
+
T();
|
|
345
345
|
}, n.duration));
|
|
346
346
|
}
|
|
347
347
|
function _() {
|
|
348
348
|
w?.();
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function T() {
|
|
351
351
|
m.value = !1, be(() => {
|
|
352
352
|
var E;
|
|
353
353
|
s.value || ((E = n.onClose) == null || E.call(n), t("destroy"));
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
function W({ code: E }) {
|
|
357
|
-
E ===
|
|
357
|
+
E === un.esc && T();
|
|
358
358
|
}
|
|
359
|
-
return
|
|
359
|
+
return it(() => {
|
|
360
360
|
ee(), i(), m.value = !0;
|
|
361
361
|
}), J(() => n.repeatNum, () => {
|
|
362
362
|
_(), ee();
|
|
363
|
-
}),
|
|
363
|
+
}), en(document, "keydown", W), an(l, () => {
|
|
364
364
|
g.value = l.value.getBoundingClientRect().height;
|
|
365
365
|
}), e({
|
|
366
366
|
visible: m,
|
|
367
367
|
bottom: B,
|
|
368
|
-
close:
|
|
369
|
-
}), (E, q) => (
|
|
368
|
+
close: T
|
|
369
|
+
}), (E, q) => (D(), fe(xe, {
|
|
370
370
|
name: f(a).b("fade"),
|
|
371
|
-
onBeforeEnter: (
|
|
371
|
+
onBeforeEnter: (K) => s.value = !0,
|
|
372
372
|
onBeforeLeave: E.onClose,
|
|
373
|
-
onAfterLeave: (
|
|
373
|
+
onAfterLeave: (K) => E.$emit("destroy"),
|
|
374
374
|
persisted: ""
|
|
375
375
|
}, {
|
|
376
376
|
default: V(() => [
|
|
377
|
-
|
|
377
|
+
st(M("div", {
|
|
378
378
|
id: E.id,
|
|
379
379
|
ref_key: "messageRef",
|
|
380
380
|
ref: l,
|
|
@@ -385,42 +385,42 @@ const lt = [
|
|
|
385
385
|
f(a).is("plain", E.plain),
|
|
386
386
|
E.customClass
|
|
387
387
|
]),
|
|
388
|
-
style:
|
|
388
|
+
style: Ke(f($)),
|
|
389
389
|
role: "alert",
|
|
390
390
|
onMouseenter: _,
|
|
391
391
|
onMouseleave: ee
|
|
392
392
|
}, [
|
|
393
|
-
E.repeatNum > 1 ? (
|
|
393
|
+
E.repeatNum > 1 ? (D(), fe(f(yn), {
|
|
394
394
|
key: 0,
|
|
395
395
|
value: E.repeatNum,
|
|
396
396
|
type: f(h),
|
|
397
397
|
class: j(f(a).e("badge"))
|
|
398
398
|
}, null, 8, ["value", "type", "class"])) : H("v-if", !0),
|
|
399
|
-
f(v) ? (
|
|
399
|
+
f(v) ? (D(), fe(f(_e), {
|
|
400
400
|
key: 1,
|
|
401
401
|
class: j([f(a).e("icon"), f(C)])
|
|
402
402
|
}, {
|
|
403
403
|
default: V(() => [
|
|
404
|
-
(
|
|
404
|
+
(D(), fe(Ht(f(v))))
|
|
405
405
|
]),
|
|
406
406
|
_: 1
|
|
407
407
|
}, 8, ["class"])) : H("v-if", !0),
|
|
408
408
|
Ee(E.$slots, "default", {}, () => [
|
|
409
|
-
E.dangerouslyUseHTMLString ? (
|
|
409
|
+
E.dangerouslyUseHTMLString ? (D(), N(ye, { key: 1 }, [
|
|
410
410
|
H(" Caution here, message could've been compromised, never use user's input as message "),
|
|
411
411
|
M("p", {
|
|
412
412
|
class: j(f(a).e("content")),
|
|
413
413
|
innerHTML: E.message
|
|
414
414
|
}, null, 10, ["innerHTML"])
|
|
415
|
-
], 2112)) : (
|
|
415
|
+
], 2112)) : (D(), N("p", {
|
|
416
416
|
key: 0,
|
|
417
417
|
class: j(f(a).e("content"))
|
|
418
|
-
},
|
|
418
|
+
}, he(E.message), 3))
|
|
419
419
|
]),
|
|
420
|
-
E.showClose ? (
|
|
420
|
+
E.showClose ? (D(), fe(f(_e), {
|
|
421
421
|
key: 2,
|
|
422
422
|
class: j(f(a).e("closeBtn")),
|
|
423
|
-
onClick:
|
|
423
|
+
onClick: Wt(T, ["stop"])
|
|
424
424
|
}, {
|
|
425
425
|
default: V(() => [
|
|
426
426
|
O(f(o))
|
|
@@ -428,48 +428,48 @@ const lt = [
|
|
|
428
428
|
_: 1
|
|
429
429
|
}, 8, ["class", "onClick"])) : H("v-if", !0)
|
|
430
430
|
], 46, ["id"]), [
|
|
431
|
-
[
|
|
431
|
+
[at, m.value]
|
|
432
432
|
])
|
|
433
433
|
]),
|
|
434
434
|
_: 3
|
|
435
435
|
}, 8, ["name", "onBeforeEnter", "onBeforeLeave", "onAfterLeave"]));
|
|
436
436
|
}
|
|
437
437
|
});
|
|
438
|
-
var
|
|
439
|
-
let
|
|
440
|
-
const
|
|
441
|
-
const e = !c ||
|
|
438
|
+
var In = /* @__PURE__ */ ot(Mn, [["__file", "message.vue"]]);
|
|
439
|
+
let Dn = 1;
|
|
440
|
+
const mt = (c) => {
|
|
441
|
+
const e = !c || Ge(c) || rt(c) || ke(c) ? { message: c } : c, t = {
|
|
442
442
|
...R,
|
|
443
443
|
...e
|
|
444
444
|
};
|
|
445
445
|
if (!t.appendTo)
|
|
446
446
|
t.appendTo = document.body;
|
|
447
|
-
else if (
|
|
447
|
+
else if (Ge(t.appendTo)) {
|
|
448
448
|
let n = document.querySelector(t.appendTo);
|
|
449
|
-
|
|
449
|
+
_t(n) || (n = document.body), t.appendTo = n;
|
|
450
450
|
}
|
|
451
|
-
return Ie(
|
|
452
|
-
},
|
|
451
|
+
return Ie(Q.grouping) && !t.grouping && (t.grouping = Q.grouping), Ce(Q.duration) && t.duration === 3e3 && (t.duration = Q.duration), Ce(Q.offset) && t.offset === 16 && (t.offset = Q.offset), Ie(Q.showClose) && !t.showClose && (t.showClose = Q.showClose), Ie(Q.plain) && !t.plain && (t.plain = Q.plain), t;
|
|
452
|
+
}, kn = (c) => {
|
|
453
453
|
const e = U.indexOf(c);
|
|
454
454
|
if (e === -1)
|
|
455
455
|
return;
|
|
456
456
|
U.splice(e, 1);
|
|
457
457
|
const { handler: t } = c;
|
|
458
458
|
t.close();
|
|
459
|
-
},
|
|
460
|
-
const n = `message_${
|
|
459
|
+
}, Pn = ({ appendTo: c, ...e }, t) => {
|
|
460
|
+
const n = `message_${Dn++}`, o = e.onClose, s = document.createElement("div"), a = {
|
|
461
461
|
...e,
|
|
462
462
|
id: n,
|
|
463
463
|
onClose: () => {
|
|
464
|
-
o?.(),
|
|
464
|
+
o?.(), kn(l);
|
|
465
465
|
},
|
|
466
466
|
onDestroy: () => {
|
|
467
|
-
|
|
467
|
+
Je(null, s);
|
|
468
468
|
}
|
|
469
|
-
}, d = O(
|
|
470
|
-
default:
|
|
469
|
+
}, d = O(In, a, ke(a.message) || rt(a.message) ? {
|
|
470
|
+
default: ke(a.message) ? a.message : () => a.message
|
|
471
471
|
} : null);
|
|
472
|
-
d.appContext = t || ue._context,
|
|
472
|
+
d.appContext = t || ue._context, Je(d, s), c.appendChild(s.firstElementChild);
|
|
473
473
|
const r = d.component, l = {
|
|
474
474
|
id: n,
|
|
475
475
|
vnode: d,
|
|
@@ -483,10 +483,10 @@ const ct = (c) => {
|
|
|
483
483
|
};
|
|
484
484
|
return l;
|
|
485
485
|
}, ue = (c = {}, e) => {
|
|
486
|
-
if (!
|
|
486
|
+
if (!Be)
|
|
487
487
|
return { close: () => {
|
|
488
488
|
} };
|
|
489
|
-
const t =
|
|
489
|
+
const t = mt(c);
|
|
490
490
|
if (t.grouping && U.length) {
|
|
491
491
|
const o = U.find(({ vnode: s }) => {
|
|
492
492
|
var a;
|
|
@@ -495,27 +495,27 @@ const ct = (c) => {
|
|
|
495
495
|
if (o)
|
|
496
496
|
return o.props.repeatNum += 1, o.props.type = t.type, o.handler;
|
|
497
497
|
}
|
|
498
|
-
if (
|
|
498
|
+
if (Ce(Q.max) && U.length >= Q.max)
|
|
499
499
|
return { close: () => {
|
|
500
500
|
} };
|
|
501
|
-
const n =
|
|
501
|
+
const n = Pn(t, e);
|
|
502
502
|
return U.push(n), n.handler;
|
|
503
503
|
};
|
|
504
|
-
|
|
504
|
+
ct.forEach((c) => {
|
|
505
505
|
ue[c] = (e = {}, t) => {
|
|
506
|
-
const n =
|
|
506
|
+
const n = mt(e);
|
|
507
507
|
return ue({ ...n, type: c }, t);
|
|
508
508
|
};
|
|
509
509
|
});
|
|
510
|
-
function
|
|
510
|
+
function Bn(c) {
|
|
511
511
|
const e = [...U];
|
|
512
512
|
for (const t of e)
|
|
513
513
|
(!c || c === t.props.type) && t.handler.close();
|
|
514
514
|
}
|
|
515
|
-
ue.closeAll =
|
|
515
|
+
ue.closeAll = Bn;
|
|
516
516
|
ue._context = null;
|
|
517
|
-
const I =
|
|
518
|
-
class z extends
|
|
517
|
+
const I = Gt(ue, "$message");
|
|
518
|
+
class z extends Pe {
|
|
519
519
|
_renderer;
|
|
520
520
|
get renderer() {
|
|
521
521
|
return this._renderer || (this._renderer = this.parent?.findComponentByName("Renderer")), this._renderer;
|
|
@@ -625,7 +625,7 @@ class z extends Se {
|
|
|
625
625
|
setBaseLine(r, i) {
|
|
626
626
|
if (s = r, o = i, r && i) {
|
|
627
627
|
const l = r.normal();
|
|
628
|
-
a = new
|
|
628
|
+
a = new F(
|
|
629
629
|
i.clone().add(l.clone().multiplyScalar(10)),
|
|
630
630
|
i.clone().add(l.multiplyScalar(-10))
|
|
631
631
|
);
|
|
@@ -634,7 +634,7 @@ class z extends Se {
|
|
|
634
634
|
};
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
-
class
|
|
637
|
+
class Ne extends z {
|
|
638
638
|
static name = "DrawLine";
|
|
639
639
|
container = new p.Group();
|
|
640
640
|
interruptKeys = ["escape"];
|
|
@@ -652,7 +652,7 @@ class mt extends z {
|
|
|
652
652
|
*/
|
|
653
653
|
selectPoint(e) {
|
|
654
654
|
this.dispatchEvent({ type: "start" });
|
|
655
|
-
let t = this.parent?.findComponentByName("Editor"), n = null, o = null, s = [], a = this.renderer.createCircle(A.zero(), { color: 65280 }), d = t.domContainer.domElement, r = new
|
|
655
|
+
let t = this.parent?.findComponentByName("Editor"), n = null, o = null, s = [], a = this.renderer.createCircle(A.zero(), { color: 65280 }), d = t.domContainer.domElement, r = new we([], 16711935), i = new we([
|
|
656
656
|
new p.Vector3(-1e4, 0, 0),
|
|
657
657
|
new p.Vector3(1e4, 0, 0),
|
|
658
658
|
new p.Vector3(0, -1e4, 0),
|
|
@@ -681,13 +681,13 @@ class mt extends z {
|
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
683
|
o = m.clone(), s.push(n.clone(), o.clone());
|
|
684
|
-
const h = new
|
|
684
|
+
const h = new F(A.from(n), A.from(o));
|
|
685
685
|
w.setBaseLine(h, h.end), n.copy(o), l(), this.dispatchEvent({ type: "appendLine", points: s });
|
|
686
686
|
} else if (t.eventInput.isOnlyKeyDowns(this.withdrawalKeys)) {
|
|
687
687
|
if (s.length) {
|
|
688
688
|
const { point: h } = t.renderManager.adsorption();
|
|
689
689
|
if (s.pop(), o?.copy(h), n?.copy(s.pop()), l(), s.length >= 2) {
|
|
690
|
-
const C = new
|
|
690
|
+
const C = new F(A.from(s[s.length - 2]), A.from(s[s.length - 1]));
|
|
691
691
|
w.setBaseLine(C, C.end);
|
|
692
692
|
}
|
|
693
693
|
this.dispatchEvent({ type: "revoke", points: s });
|
|
@@ -705,7 +705,7 @@ class mt extends z {
|
|
|
705
705
|
end(e, t) {
|
|
706
706
|
const n = [];
|
|
707
707
|
for (let o = 0; o < t.length; o += 2)
|
|
708
|
-
n.push(new
|
|
708
|
+
n.push(new F(A.from(t[o]), A.from(t[o + 1])));
|
|
709
709
|
e(n);
|
|
710
710
|
}
|
|
711
711
|
/** 执行完成
|
|
@@ -727,7 +727,7 @@ class mt extends z {
|
|
|
727
727
|
return this.completed(e), e;
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
class
|
|
730
|
+
class Fe extends z {
|
|
731
731
|
static name = "Default";
|
|
732
732
|
container = new p.Group();
|
|
733
733
|
onAddFromParent() {
|
|
@@ -816,7 +816,7 @@ class ht extends z {
|
|
|
816
816
|
i.copy(e.pointerPosition), m();
|
|
817
817
|
}, w = () => {
|
|
818
818
|
document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", w), l.removeFromParent();
|
|
819
|
-
const h = Math.min(r.x, i.x), C = Math.max(r.x, i.x), v = Math.min(r.y, i.y), x = Math.max(r.y, i.y), L = new
|
|
819
|
+
const h = Math.min(r.x, i.x), C = Math.max(r.x, i.x), v = Math.min(r.y, i.y), x = Math.max(r.y, i.y), L = new et(h, C, v, x), B = e.renderManager.quadtree.queryBox(L);
|
|
820
820
|
this.removeSelectLineAll(), B.forEach(($) => this.addSelectLine($.line)), this.updateSelectLinesGeometry();
|
|
821
821
|
};
|
|
822
822
|
document.addEventListener("mousemove", g), document.addEventListener("mouseup", w);
|
|
@@ -865,204 +865,62 @@ class ht extends z {
|
|
|
865
865
|
this.canceEventRecord("clear"), this.removeSelectLineAll(), this.updateSelectLinesGeometry();
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
|
|
869
|
-
list = [];
|
|
870
|
-
rollbacklist = [];
|
|
871
|
-
revokeRollbacklist = [];
|
|
872
|
-
// 是否写入操作记录
|
|
873
|
-
writeOperationList = !0;
|
|
874
|
-
loop = !1;
|
|
875
|
-
setLoop(e) {
|
|
876
|
-
return this.loop = e, this;
|
|
877
|
-
}
|
|
878
|
-
/**
|
|
879
|
-
*
|
|
880
|
-
* @param operation
|
|
881
|
-
* @returns
|
|
882
|
-
*/
|
|
883
|
-
add(e) {
|
|
884
|
-
return this.list.push(e), this;
|
|
885
|
-
}
|
|
886
|
-
/** 添加回滚回调列表
|
|
887
|
-
* @param callBack
|
|
888
|
-
*/
|
|
889
|
-
addRollback(e) {
|
|
890
|
-
return this.rollbacklist.push(e), this;
|
|
891
|
-
}
|
|
892
|
-
/** 添加撤回回滚回调列表
|
|
893
|
-
* @param callBack
|
|
894
|
-
* @returns
|
|
895
|
-
*/
|
|
896
|
-
addRevokeRollback(e) {
|
|
897
|
-
return this.revokeRollbacklist.push(e), this;
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
class Pn extends nt {
|
|
901
|
-
commandFlowMap = /* @__PURE__ */ new Map();
|
|
902
|
-
lock = !1;
|
|
903
|
-
abortController = null;
|
|
904
|
-
resolve = null;
|
|
905
|
-
currentName = null;
|
|
906
|
-
_disabled = !1;
|
|
907
|
-
set disabled(e) {
|
|
908
|
-
this._disabled = e, this._disabled && this.cancel();
|
|
909
|
-
}
|
|
910
|
-
get disabled() {
|
|
911
|
-
return this._disabled;
|
|
912
|
-
}
|
|
913
|
-
/**
|
|
914
|
-
* 操作记录
|
|
915
|
-
*/
|
|
916
|
-
operationList = [];
|
|
917
|
-
rollbackList = [];
|
|
918
|
-
constructor() {
|
|
919
|
-
super();
|
|
920
|
-
}
|
|
921
|
-
/** 添加命令流
|
|
922
|
-
* @param name
|
|
923
|
-
* @returns
|
|
924
|
-
*/
|
|
925
|
-
addCommandFlow(e) {
|
|
926
|
-
if (this.commandFlowMap.has(e)) throw new Error(`${e} 命令已经存在`);
|
|
927
|
-
const t = new Dn();
|
|
928
|
-
return this.commandFlowMap.set(e, t), t;
|
|
929
|
-
}
|
|
930
|
-
executionPromise = null;
|
|
931
|
-
executionResolve = null;
|
|
932
|
-
/** 执行控制流
|
|
933
|
-
* @param name
|
|
934
|
-
* @returns
|
|
935
|
-
*/
|
|
936
|
-
async start(e, t = null, n = 0) {
|
|
937
|
-
if (this.disabled) throw new Error("命令管理器已禁用,无法启动新的命令流");
|
|
938
|
-
if (this.dispatchEvent({
|
|
939
|
-
type: "startedBefore",
|
|
940
|
-
name: e,
|
|
941
|
-
currentName: this.currentName
|
|
942
|
-
}), this.executionPromise && await this.executionPromise, this.executionPromise = null, this.lock)
|
|
943
|
-
throw new Error("命令管理器已被 " + this.currentName + " 命令锁定,无法启动新的命令流,请退出或等待命令执行结束");
|
|
944
|
-
const o = this.commandFlowMap.get(e);
|
|
945
|
-
if (!o)
|
|
946
|
-
throw new Error(`命令流 ${e} 不存在`);
|
|
947
|
-
this.lock = !0, this.abortController = new AbortController(), this.currentName = e, o.dispatchEvent({ type: "started" }), this.dispatchEvent({ type: "started", name: e });
|
|
948
|
-
try {
|
|
949
|
-
for (let s = n; s < o.list.length; s++) {
|
|
950
|
-
const a = o.list[s];
|
|
951
|
-
if (o.dispatchEvent({ type: "executing", index: s }), this.dispatchEvent({ type: "executing", name: e, index: s }), t = await new Promise((d) => {
|
|
952
|
-
this.resolve = d, a(d, t);
|
|
953
|
-
}), this.abortController.signal.aborted) {
|
|
954
|
-
o.dispatchEvent({ type: "executionInterrupt", index: s }), this.dispatchEvent({ type: "executionInterrupt", name: e, index: s }), this.dispatchEvent({ type: "cancel", name: e });
|
|
955
|
-
break;
|
|
956
|
-
} else
|
|
957
|
-
o.dispatchEvent({ type: "executionCompleted", index: s, data: t }), this.dispatchEvent({ type: "executionCompleted", name: e, index: s, data: t });
|
|
958
|
-
}
|
|
959
|
-
} catch (s) {
|
|
960
|
-
console.error(s);
|
|
961
|
-
} finally {
|
|
962
|
-
this.lock = !1, this.currentName = null, this.abortController && !this.abortController.signal.aborted && (o.dispatchEvent({ type: "completed", data: t }), this.dispatchEvent({ type: "completed", name: e, data: t }), o.writeOperationList && (this.operationList.push({ name: e, data: t }), this.rollbackList.length = 0), o.loop && queueMicrotask(() => this.start(e))), this.abortController = null, o.dispatchEvent({ type: "finally" }), this.dispatchEvent({ type: "finally", name: e }), this.executionResolve && (this.executionResolve(null), this.executionResolve = null);
|
|
963
|
-
}
|
|
964
|
-
return t;
|
|
965
|
-
}
|
|
966
|
-
/** 取消当前命令
|
|
967
|
-
*/
|
|
968
|
-
cancel() {
|
|
969
|
-
this.abortController && (this.abortController.abort(), this.resolve && this.resolve(), this.executionPromise = new Promise((e) => this.executionResolve = e));
|
|
970
|
-
}
|
|
971
|
-
/**
|
|
972
|
-
* 回滚
|
|
973
|
-
*/
|
|
974
|
-
rollback() {
|
|
975
|
-
try {
|
|
976
|
-
const e = this.operationList.pop();
|
|
977
|
-
if (!e) return !1;
|
|
978
|
-
const t = this.commandFlowMap.get(e.name);
|
|
979
|
-
if (!t) return !1;
|
|
980
|
-
const n = t.rollbacklist.reduce((o, s) => s(o), e.data);
|
|
981
|
-
return this.dispatchEvent({ type: "rollback", name: e.name }), this.rollbackList.push({
|
|
982
|
-
data: n,
|
|
983
|
-
name: e.name
|
|
984
|
-
}), !0;
|
|
985
|
-
} catch (e) {
|
|
986
|
-
throw new Error(`回滚失败:${e}`);
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
/**
|
|
990
|
-
* 撤销回滚
|
|
991
|
-
*/
|
|
992
|
-
revokeRollback() {
|
|
993
|
-
try {
|
|
994
|
-
const e = this.rollbackList.pop();
|
|
995
|
-
if (!e) return !1;
|
|
996
|
-
const t = this.commandFlowMap.get(e.name);
|
|
997
|
-
if (!t) return !1;
|
|
998
|
-
const n = t.revokeRollbacklist.reduce((o, s) => s(o), e.data);
|
|
999
|
-
return this.dispatchEvent({ type: "revokeRollback", name: e.name }), this.operationList.push({ name: e.name, data: n }), !0;
|
|
1000
|
-
} catch (e) {
|
|
1001
|
-
throw new Error(`撤回回滚失败:${e}`);
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
destroy() {
|
|
1005
|
-
this.cancel(), this.addEventListener("cancel", () => {
|
|
1006
|
-
this.commandFlowMap.clear(), this.lock = !1, this.abortController = null, this.resolve = null, this.executionResolve = null, this.executionPromise = null, this.currentName = null, this.operationList.length = 0, this.rollbackList.length = 0;
|
|
1007
|
-
}, { once: !0 });
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
const Bn = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5569'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M522.1888%20811.3152a412.1088%20412.1088%200%200%200-114.5344-269.7728l-244.48%20269.7728h359.0144zM450.816%20493.824c83.5072%2085.3504%20132.7104%20197.4784%20136.5504%20317.4912h417.5872v63.232H18.9952L676.1472%20149.4016l48.9472%2041.7792-274.2784%20302.6432z'%20%3e%3c/path%3e%3c/svg%3e", Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1011
|
-
__proto__: null,
|
|
1012
|
-
default: Bn
|
|
1013
|
-
}, Symbol.toStringTag, { value: "Module" })), Fn = "data:image/svg+xml,%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M639.999191%20893.597594c-0.999994-54.699654-36.39977-101.099361-85.39946-118.399252-6.39996-2.199986-10.599933-8.299948-10.599933-14.999905V263.801573c0-6.699958%204.199973-12.799919%2010.599933-14.999905%2049.09969-17.299891%2084.399467-63.599598%2085.39946-118.399252C641.299183%2059.902862%20583.399549%200.503237%20512.899994%200.00324%20441.800444-0.496757%20384.000809%2057.00288%20384.000809%20128.002431c0%2055.699648%2035.599775%20103.099349%2085.299461%20120.699238%206.39996%202.299985%2010.699932%208.299948%2010.699932%2015.099904v496.396864c0%206.799957-4.299973%2012.799919-10.699932%2015.099904-49.699686%2017.599889-85.299461%2064.999589-85.299461%20120.699238%200%2070.999551%2057.799635%20128.499188%20128.899185%20127.999191%2070.499555-0.499997%20128.399189-59.899622%20127.099197-130.399176zM448.000404%20128.002431c0-35.299777%2028.699819-63.999596%2063.999596-63.999595s63.999596%2028.699819%2063.999596%2063.999595-28.699819%2063.999596-63.999596%2063.999596-63.999596-28.699819-63.999596-63.999596z%20m0%20767.995148c0-35.299777%2028.699819-63.999596%2063.999596-63.999596s63.999596%2028.699819%2063.999596%2063.999596-28.699819%2063.999596-63.999596%2063.999595-63.999596-28.699819-63.999596-63.999595z'%3e%3c/path%3e%3c/svg%3e", Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
868
|
+
const Sn = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5569'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M522.1888%20811.3152a412.1088%20412.1088%200%200%200-114.5344-269.7728l-244.48%20269.7728h359.0144zM450.816%20493.824c83.5072%2085.3504%20132.7104%20197.4784%20136.5504%20317.4912h417.5872v63.232H18.9952L676.1472%20149.4016l48.9472%2041.7792-274.2784%20302.6432z'%20%3e%3c/path%3e%3c/svg%3e", Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1014
869
|
__proto__: null,
|
|
1015
|
-
default:
|
|
1016
|
-
}, Symbol.toStringTag, { value: "Module" })), Nn = "data:image/svg+xml,%
|
|
870
|
+
default: Sn
|
|
871
|
+
}, Symbol.toStringTag, { value: "Module" })), Nn = "data:image/svg+xml,%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M639.999191%20893.597594c-0.999994-54.699654-36.39977-101.099361-85.39946-118.399252-6.39996-2.199986-10.599933-8.299948-10.599933-14.999905V263.801573c0-6.699958%204.199973-12.799919%2010.599933-14.999905%2049.09969-17.299891%2084.399467-63.599598%2085.39946-118.399252C641.299183%2059.902862%20583.399549%200.503237%20512.899994%200.00324%20441.800444-0.496757%20384.000809%2057.00288%20384.000809%20128.002431c0%2055.699648%2035.599775%20103.099349%2085.299461%20120.699238%206.39996%202.299985%2010.699932%208.299948%2010.699932%2015.099904v496.396864c0%206.799957-4.299973%2012.799919-10.699932%2015.099904-49.699686%2017.599889-85.299461%2064.999589-85.299461%20120.699238%200%2070.999551%2057.799635%20128.499188%20128.899185%20127.999191%2070.499555-0.499997%20128.399189-59.899622%20127.099197-130.399176zM448.000404%20128.002431c0-35.299777%2028.699819-63.999596%2063.999596-63.999595s63.999596%2028.699819%2063.999596%2063.999595-28.699819%2063.999596-63.999596%2063.999596-63.999596-28.699819-63.999596-63.999596z%20m0%20767.995148c0-35.299777%2028.699819-63.999596%2063.999596-63.999596s63.999596%2028.699819%2063.999596%2063.999596-28.699819%2063.999596-63.999596%2063.999595-63.999596-28.699819-63.999596-63.999595z'%3e%3c/path%3e%3c/svg%3e", Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1017
872
|
__proto__: null,
|
|
1018
873
|
default: Nn
|
|
1019
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
874
|
+
}, Symbol.toStringTag, { value: "Module" })), Rn = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8193'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M426.666667%20255.872c0%2031.232-8.405333%2060.544-23.04%2085.76L512%20451.498667l287.061333-287.061334a85.333333%2085.333333%200%200%201%20120.661334%200l-516.693334%20516.693334a170.666667%20170.666667%200%201%201-60.330666-60.330667l108.970666-108.970667-108.970666-108.970666A170.666667%20170.666667%200%201%201%20426.666667%20255.872z%20m-85.333334%200a85.333333%2085.333333%200%201%200-170.666666%200%2085.333333%2085.333333%200%200%200%20170.666666%200z%20m578.389334%20603.392a85.333333%2085.333333%200%200%201-120.661334%200l-226.858666-226.858667%2060.373333-60.330666%20287.146667%20287.146666zM682.666667%20469.205333h85.333333v85.333334h-85.333333v-85.333334z%20m170.666666%200h85.333334v85.333334h-85.333334v-85.333334z%20m-597.333333%200h85.333333v85.333334H256v-85.333334z%20m-170.666667%200h85.333334v85.333334H85.333333v-85.333334z%20m170.666667%20384a85.333333%2085.333333%200%201%200%200-170.666666%2085.333333%2085.333333%200%200%200%200%20170.666666z'%3e%3c/path%3e%3c/svg%3e", zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1020
875
|
__proto__: null,
|
|
1021
|
-
default:
|
|
1022
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
876
|
+
default: Rn
|
|
877
|
+
}, Symbol.toStringTag, { value: "Module" })), On = "data:image/svg+xml,%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M909.050991%20169.476903l-217.554898%200%200-31.346939c0-39.5866-32.205493-71.792093-71.793116-71.792093L408.15591%2066.337871c-39.5866%200-71.792093%2032.205493-71.792093%2071.792093l0%2031.346939L113.349581%20169.476903c-11.013845%200-19.942191%208.940626-19.942191%2019.954471s8.928347%2019.954471%2019.942191%2019.954471l84.264149%200%200%20640.687918c0%2060.479443%2049.203632%20109.683075%20109.683075%20109.683075l416.474366%200c60.479443%200%20109.683075-49.203632%20109.683075-109.683075L833.454246%20209.385844l75.595722%200c11.012821%200%2019.942191-8.940626%2019.942191-19.954471S920.063813%20169.476903%20909.050991%20169.476903zM376.2482%20138.130987c0-17.593703%2014.314007-31.907711%2031.907711-31.907711l211.547067%200c17.593703%200%2031.907711%2014.314007%2031.907711%2031.907711l0%2031.346939L376.2482%20169.477926%20376.2482%20138.130987zM793.569864%20850.074785c0%2038.486546-31.312146%2069.798692-69.798692%2069.798692L307.297828%20919.873478c-38.486546%200-69.798692-31.312146-69.798692-69.798692L237.499136%20211.042577l556.070728%200L793.569864%20850.074785zM510.662539%20861.276918c11.012821%200%2019.954471-8.92937%2019.954471-19.942191L530.61701%20294.912753c0-11.013845-8.94165-19.942191-19.954471-19.942191s-19.954471%208.928347-19.954471%2019.942191L490.708068%20841.334727C490.708068%20852.347548%20499.649717%20861.276918%20510.662539%20861.276918zM374.562814%20801.449321c11.012821%200%2019.954471-8.92937%2019.954471-19.942191L394.517285%20354.74035c0-11.013845-8.94165-19.942191-19.954471-19.942191s-19.954471%208.928347-19.954471%2019.942191l0%20426.76678C354.608344%20792.519951%20363.549993%20801.449321%20374.562814%20801.449321zM649.832182%20801.449321c11.012821%200%2019.954471-8.92937%2019.954471-19.942191L669.786653%20354.74035c0-11.013845-8.94165-19.942191-19.954471-19.942191s-19.954471%208.928347-19.954471%2019.942191l0%20426.76678C629.877711%20792.519951%20638.81936%20801.449321%20649.832182%20801.449321z'%20%3e%3c/path%3e%3c/svg%3e", Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
878
|
+
__proto__: null,
|
|
879
|
+
default: On
|
|
880
|
+
}, Symbol.toStringTag, { value: "Module" })), Qn = "data:image/svg+xml,%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M220.451548%20913.518482V318.145854c0-27.62038%2022.505495-50.125874%2050.125875-50.125874H865.95005c27.62038%200%2050.125874%2022.505495%2050.125874%2050.125874v218.917083h59.332667V318.145854c0-60.355644-49.102897-109.458541-109.458541-109.458541h-39.896104v-99.228772C826.053946%2049.102897%20776.951049%200%20716.595405%200H121.222777C60.867133%200%2011.764236%2049.102897%2011.764236%20109.458541V705.854146c0%2060.355644%2049.102897%20109.458541%20109.458541%20109.458541h39.896104v99.228772c0%2060.355644%2049.102897%20109.458541%20109.458542%20109.458541h257.790209v-59.332667H269.554446c-26.597403-1.022977-49.102897-23.528472-49.102898-51.148851z%20m-59.332667-595.372628v436.811189h-39.896104c-27.62038%200-50.125874-22.505495-50.125874-50.125874V109.458541c0-27.62038%2022.505495-50.125874%2050.125874-50.125874H716.595405c27.62038%200%2050.125874%2022.505495%2050.125874%2050.125874v99.228772H269.554446c-59.332667%200-108.435564%2049.102897-108.435565%20109.458541z'%20%3e%3c/path%3e%3cpath%20d='M902.777223%20854.185814l98.205794-98.205794c15.344655-15.344655%2015.344655-40.919081%200-56.263736s-40.919081-15.344655-56.263736%200L846.513487%20797.922078%20747.284715%20699.716284c-15.344655-15.344655-40.919081-15.344655-56.263736%200s-15.344655%2040.919081%200%2056.263736l98.205794%2098.205794-98.205794%2098.205794c-15.344655%2015.344655-15.344655%2040.919081%200%2056.263737s40.919081%2015.344655%2056.263736%200l98.205794-98.205795%2098.205795%2098.205795c15.344655%2015.344655%2040.919081%2015.344655%2056.263736%200s15.344655-40.919081%200-56.263737l-97.182817-98.205794z'%20%3e%3c/path%3e%3c/svg%3e", Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1023
881
|
__proto__: null,
|
|
1024
882
|
default: Qn
|
|
1025
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
883
|
+
}, Symbol.toStringTag, { value: "Module" })), jn = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1757902601497'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9801'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M761.344%20119.296H226.816c-18.944%200-39.424%2011.776-39.424%2030.72V921.6h614.4V148.48c0.512-18.944-22.016-29.184-40.448-29.184z%20m-537.6%20768c-2.048%200-2.048%200%200%200L221.696%20163.84c0-5.12%205.12-10.24%2010.24-10.24h522.24c8.704%200%2013.824%205.12%2013.824%2013.824v720.384s0%201.536-1.536%201.536h-15.36V194.56c0-16.896-8.704-24.064-29.184-24.064H266.24c-18.944%200-27.136%208.704-27.136%2024.064v692.736h-15.36z%20m49.152%200V204.8H716.8v682.496H272.896z'%20p-id='9802'%3e%3c/path%3e%3cpath%20d='M648.704%20508.416c-16.896%200-32.256%2013.824-32.256%2032.256%200%2016.896%2013.824%2032.256%2032.256%2032.256s32.256-13.824%2032.256-32.256c0-16.896-13.824-32.256-32.256-32.256z'%20p-id='9803'%3e%3c/path%3e%3c/svg%3e", _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1026
884
|
__proto__: null,
|
|
1027
|
-
default:
|
|
1028
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
885
|
+
default: jn
|
|
886
|
+
}, Symbol.toStringTag, { value: "Module" })), Gn = "data:image/svg+xml,%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M491.80027198%20557.44938977c-10.0998647-15.14979706-20.19972802-25.24966037-35.34952507-35.34952507-15.14979706-10.0998647-30.29959271-15.14979706-50.49932211-15.14979704-55.54925309%200-100.99864286%2045.44938977-100.99864287%20100.99864285%200%2015.14979706%205.04993234%2035.34952507%2015.14979568%2050.49932212%2010.0998647%2015.14979706%2020.19972802%2030.29959271%2035.34952506%2035.34952508%2015.14979706%2010.0998647%2035.34952507%2015.14979706%2050.49932213%2015.14979567%2055.54925309%200%20100.99864286-45.44938977%20100.99864286-100.99864287%200-15.14979706-5.04993234-35.34952507-15.14979568-50.49932074z%20m-85.84884718%20100.99864286h-15.14979706c-20.19972802-5.04993234-30.29959271-20.19972802-35.34952507-35.34952507V612.99864286c0-30.29959271%2025.24966037-50.49932212%2050.49932213-50.49932074h10.09986469c15.14979706%205.04993234%2030.29959271%2015.14979706%2035.34952507%2035.34952507v15.14979567c5.04993234%2025.24966037-20.19972802%2045.44938977-45.44938976%2045.44938977z'%3e%3c/path%3e%3cpath%20d='M390.80162774%20658.44803263l-40.39945604%2040.39945743-227.24694747%20222.19701373-35.34952506-35.34952508%20227.24694745-227.24694608%2040.39945605-40.39945743c5.04993234%2020.19972802%2020.19972802%2035.34952507%2035.34952507%2040.39945743zM648.34816793%20405.9514248l-40.39945742%2040.3994574-116.14843853%20116.14843992-40.39945742%2035.34952507c-5.04993234-20.19972802-20.19972802-30.29959271-35.34952507-35.34952507l40.39945742-40.39945742%20116.14843853-111.09850756%2035.34952507-35.34952507c10.0998647%2015.14979706%2020.19972802%2025.24966037%2040.39945742%2030.29959273zM926.09443614%20133.25508894L749.34681078%20310.00271428l-40.3994574%2040.39945742c-5.04993234-20.19972802-15.14979706-35.34952507-30.29959272-40.39945742l35.34952506-40.39945742%20176.74762534-176.74762535%2035.34952508%2040.39945743z'%20%3e%3c/path%3e%3cpath%20d='M749.34681078%20310.00271428c-10.0998647-15.14979706-20.19972802-30.29959271-35.34952506-35.34952506-15.14979706-10.0998647-35.34952507-15.14979706-55.54925309-15.14979706-55.54925309%200-100.99864286%2045.44938977-100.99864286%20100.99864286%200%2020.19972802%205.04993234%2040.39945743%2015.14979567%2055.54925447%2010.0998647%2015.14979706%2020.19972802%2025.24966037%2035.34952507%2035.34952507%2015.14979706%2010.0998647%2030.29959271%2015.14979706%2050.49932212%2015.14979567%2055.54925309%200%20100.99864286-45.44938977%20100.99864286-100.99864286%200-25.24966037-5.04993234-40.39945743-10.09986471-55.54925309z%20m-90.89877815%2095.94871052h-10.0998647c-20.19972802-5.04993234-35.34952507-15.14979706-40.39945742-35.34952509%200-5.04993234-5.04993234-10.0998647-5.04993234-15.14979704%200-30.29959271%2025.24966037-50.49932212%2050.49932212-50.49932074%205.04993234%200%2010.0998647%200%2015.14979704%205.04993235%2015.14979706%205.04993234%2030.29959271%2020.19972802%2030.29959273%2040.39945742v10.09986332c10.0998647%2025.24966037-15.14979706%2045.44938977-40.39945743%2045.44938978z'%20%3e%3c/path%3e%3c/svg%3e", Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1029
887
|
__proto__: null,
|
|
1030
|
-
default:
|
|
1031
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
888
|
+
default: Gn
|
|
889
|
+
}, Symbol.toStringTag, { value: "Module" })), Jn = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1757902422799'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1735'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M843.2%20726.4c-20.2%200-39.2%205.2-55.8%2014.3L283.8%20237.2c9-16.5%2014.1-35.4%2014.1-55.5%200-64.2-52.3-116.5-116.5-116.5S65%20117.4%2065%20181.6s52.3%20116.5%20116.5%20116.5c20.2%200%2039.2-5.2%2055.8-14.2l503.5%20503.5c-9%2016.5-14.1%2035.4-14.1%2055.5%200%2064.2%2052.3%20116.5%20116.5%20116.5s116.5-52.3%20116.5-116.5-52.3-116.5-116.5-116.5zM181.4%20232.1c-27.8%200-50.5-22.6-50.5-50.5s22.6-50.5%2050.5-50.5%2050.5%2022.6%2050.5%2050.5-22.6%2050.5-50.5%2050.5z%20m661.8%20661.3c-27.8%200-50.5-22.6-50.5-50.5%200-27.8%2022.6-50.5%2050.5-50.5s50.5%2022.6%2050.5%2050.5c0%2027.8-22.7%2050.5-50.5%2050.5z'%20fill='%23231815'%20p-id='1736'%3e%3c/path%3e%3c/svg%3e", Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1032
890
|
__proto__: null,
|
|
1033
|
-
default:
|
|
1034
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
891
|
+
default: Jn
|
|
892
|
+
}, Symbol.toStringTag, { value: "Module" })), Wn = "data:image/svg+xml,%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M114.176%2046.528h618.496c37.312%200.064%2067.584%2030.336%2067.648%2067.648v618.56c0%2037.248-30.336%2067.584-67.648%2067.584H114.176A67.776%2067.776%200%200%201%2046.528%20732.8V114.176c0-37.312%2030.336-67.648%2067.648-67.648z%20m2.176%20686.208l616.32-2.24-2.176-616.32-614.144%202.176v616.32zM907.648%20291.2l2.176%20616.32H291.264a34.88%2034.88%200%201%200%200%2069.888h618.56c37.312%200%2067.648-30.336%2067.648-67.648V291.264a34.88%2034.88%200%201%200-69.824%200z'%20%3e%3c/path%3e%3c/svg%3e", qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1035
893
|
__proto__: null,
|
|
1036
|
-
default:
|
|
1037
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
894
|
+
default: Wn
|
|
895
|
+
}, Symbol.toStringTag, { value: "Module" })), Zn = "data:image/svg+xml,%3csvg%20viewBox='0%200%201029%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M788.17984%2016l-55.424%2060.672%20116.48%20106.56H418.13184a410.816%20410.816%200%201%200%200%20821.632h547.712v-82.176H418.13184a328.64%20328.64%200%200%201%200-657.28l441.792-0.128-124.8%2098.368%2050.752%2064.512%20243.328-191.488L788.17984%2016z'%3e%3c/path%3e%3c/svg%3e", Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1038
896
|
__proto__: null,
|
|
1039
|
-
default:
|
|
1040
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
897
|
+
default: Zn
|
|
898
|
+
}, Symbol.toStringTag, { value: "Module" })), Xn = "data:image/svg+xml,%3csvg%20viewBox='0%200%201048%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M310.04722%20451.334244A49.95122%2049.95122%200%200%201%20239.416195%20521.990244L27.473171%20310.04722a49.95122%2049.95122%200%200%201%200-70.631025L239.416195%2027.473171a49.95122%2049.95122%200%200%201%2070.631025%2070.631024l-126.651318%20126.626342L649.365854%20224.780488c220.709463%200%20399.609756%20178.900293%20399.609756%20399.609756s-178.900293%20399.609756-399.609756%20399.609756H124.878049a49.95122%2049.95122%200%201%201%200-99.902439h524.487805c165.513366%200%20299.707317-134.193951%20299.707317-299.707317s-134.193951-299.707317-299.707317-299.707317H183.395902l126.651318%20126.651317z'%3e%3c/path%3e%3c/svg%3e", $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1041
899
|
__proto__: null,
|
|
1042
|
-
default:
|
|
1043
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
900
|
+
default: Xn
|
|
901
|
+
}, Symbol.toStringTag, { value: "Module" })), eo = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='11576'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M102.4%20302.08c5.12%205.12%2015.36%2010.24%2025.6%2010.24s15.36-5.12%2025.6-10.24l174.08-174.08c5.12-5.12%2010.24-15.36%2010.24-25.6s-5.12-15.36-10.24-25.6c-20.48-5.12-40.96-5.12-51.2%2010.24l-148.48%20153.6-71.68-76.8C51.2%20158.72%2040.96%20158.72%2035.84%20158.72c-10.24%200-15.36%205.12-25.6%2010.24-5.12%205.12-10.24%2010.24-10.24%2020.48s5.12%2015.36%2010.24%2025.6L102.4%20302.08zM276.48%20409.6l-148.48%20153.6-71.68-71.68C51.2%20486.4%2040.96%20481.28%2035.84%20481.28c-10.24%200-15.36%205.12-25.6%2010.24-5.12%2010.24-10.24%2015.36-10.24%2025.6s5.12%2015.36%2010.24%2025.6L102.4%20629.76c5.12%205.12%2015.36%2010.24%2025.6%2010.24s15.36-5.12%2025.6-10.24L322.56%20460.8c5.12-5.12%2010.24-15.36%2010.24-25.6s-5.12-15.36-10.24-25.6c-10.24-10.24-30.72-10.24-46.08%200z%20m0%20327.68l-148.48%20153.6L56.32%20819.2c-5.12-5.12-15.36-10.24-25.6-10.24s-15.36%205.12-25.6%2010.24c0%205.12-5.12%2015.36-5.12%2025.6s5.12%2015.36%2010.24%2025.6L102.4%20957.44c5.12%205.12%2015.36%2010.24%2025.6%2010.24h5.12c10.24%200%2015.36-5.12%2025.6-10.24l174.08-174.08c5.12-5.12%2010.24-15.36%2010.24-25.6s-5.12-15.36-10.24-25.6c-25.6-5.12-40.96-5.12-56.32%205.12zM1024%20153.6c0%2030.72-25.6%2056.32-56.32%2056.32h-460.8c-30.72%200-61.44-25.6-61.44-56.32%200-30.72%2025.6-56.32%2056.32-56.32h455.68c35.84-5.12%2066.56%2020.48%2066.56%2056.32z%20m0%20358.4c0%2030.72-25.6%2056.32-56.32%2056.32h-460.8c-30.72%200-56.32-25.6-56.32-56.32s25.6-56.32%2056.32-56.32h455.68c35.84%200%2061.44%2025.6%2061.44%2056.32z%20m-5.12%20358.4c0%2030.72-25.6%2056.32-56.32%2056.32h-460.8c-30.72%200-56.32-25.6-56.32-56.32%200-30.72%2025.6-56.32%2056.32-56.32h455.68c35.84%200%2061.44%2025.6%2061.44%2056.32z%20m0%200'%20%3e%3c/path%3e%3c/svg%3e", to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1044
902
|
__proto__: null,
|
|
1045
|
-
default:
|
|
1046
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
903
|
+
default: eo
|
|
904
|
+
}, Symbol.toStringTag, { value: "Module" })), no = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1757902488735'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3957'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M520.416%20179.392c-12.384%200-22.4%204.672-22.4%2010.432l-0.032%20139.136c0%205.76%2010.016%2010.432%2022.368%2010.432%2012.352%200%2022.368-4.672%2022.368-10.432l0.064-139.136c0-5.76-10.016-10.432-22.4-10.432M520.32%20623.04c-12.352%200-22.368%204.64-22.368%2010.4l-0.032%20139.168c0%205.76%2010.016%2010.432%2022.368%2010.432%2012.352%200%2022.368-4.672%2022.368-10.432l0.064-139.168c0-5.76-10.016-10.4-22.4-10.4M800.256%20458.72l-139.168-0.064c-5.76%200-10.432%2010.016-10.432%2022.4%200%2012.352%204.672%2022.368%2010.432%2022.368l139.168%200.032c5.76%200%2010.4-10.016%2010.4-22.368%200-12.352-4.64-22.368-10.4-22.4zM352.256%20458.72l-139.168-0.064c-5.76%200-10.432%2010.016-10.432%2022.4%200%2012.352%204.672%2022.368%2010.432%2022.368l139.168%200.032c5.76%200%2010.4-10.016%2010.4-22.368%200-12.352-4.64-22.368-10.4-22.4M801.568%20748.672l-72.544-72.544%2073.792-23.2a4.416%204.416%200%200%200%200.096-8.384l-183.136-62.4a4.416%204.416%200%200%200-5.6%205.568l62.464%20183.168a4.416%204.416%200%200%200%208.352-0.064l23.36-73.6%2072.32%2072.32a14.752%2014.752%200%200%200%2020.896-20.864M510.688%20382.112c49.952%200%2092.8%2040.832%2092.8%2092.8%200%2051.968-42.848%2092.8-92.8%2092.8-49.984%200-92.8-40.832-92.8-92.8%200-51.968%2042.816-92.8%2092.8-92.8z'%20p-id='3958'%3e%3c/path%3e%3c/svg%3e", oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1047
905
|
__proto__: null,
|
|
1048
|
-
default:
|
|
1049
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
906
|
+
default: no
|
|
907
|
+
}, Symbol.toStringTag, { value: "Module" })), so = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10587'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='%23555'%20width='16'%20height='16'%3e%3cpath%20d='M64.21%20703.88h888.34M64.21%20667.88h888.34v72H64.21z'%3e%3c/path%3e%3cpath%20d='M509.58%20102.72v566.13M473.58%20102.72h72v566.14h-72z'%3e%3c/path%3e%3c/svg%3e", ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1050
908
|
__proto__: null,
|
|
1051
|
-
default:
|
|
1052
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
909
|
+
default: so
|
|
910
|
+
}, Symbol.toStringTag, { value: "Module" })), io = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1759051895215'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1800'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M272.5888%20886.784v70.8608H203.2128V886.784h69.376z%20m416.256-256.6144l270.6944%20152.5248-270.6944%20148.1216v-114.8928H64.4608v-70.8608h624.384v-114.8928z%20m-416.256-26.88v70.912H203.2128v-70.912h69.376z%20m0-141.7216V532.48H203.2128V461.568h69.376z%20m-34.7136-398.336L385.024%20319.7952H272.5888V390.656H203.2128V319.8464H90.7776l147.0976-256.6656z'%20fill='%23444444'%20p-id='1801'%3e%3c/path%3e%3cpath%20d='M566.272%2073.3184l173.2608%20264.192V512h71.8848V337.5104l173.2608-264.192H898.048l-122.2656%20197.2224-122.88-197.2224H566.272z'%20fill='%230077FF'%20p-id='1802'%3e%3c/path%3e%3c/svg%3e", ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1053
911
|
__proto__: null,
|
|
1054
|
-
default:
|
|
1055
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
912
|
+
default: io
|
|
913
|
+
}, Symbol.toStringTag, { value: "Module" })), lo = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1757902547951'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5129'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M59.355%2091.776v867.881h867.881V91.776H59.356zM897.31%20929.73H89.282V121.703h808.027V929.73z'%20fill=''%20p-id='5130'%3e%3c/path%3e%3cpath%20d='M833.964%20185.048H152.627v681.337h681.337V185.048z%20m-355.632%20651.41H182.554V532.2h295.778v304.257z%20m0-334.184H182.554V214.975h295.778v287.299z%20m325.705%20334.184H508.259V532.2h295.778v304.257z%20m0-334.184H508.259V214.975h295.778v287.299z'%20fill=''%20p-id='5131'%3e%3c/path%3e%3c/svg%3e", co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1056
914
|
__proto__: null,
|
|
1057
|
-
default:
|
|
1058
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1059
|
-
class
|
|
915
|
+
default: lo
|
|
916
|
+
}, Symbol.toStringTag, { value: "Module" })), mo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAKdUlEQVR4AeydbZrUKBRGq2YjOjvpWYntStSVjK5EdzLOSsr7arBLOkkBAcLHmacwlQQInMsZUvdP/3Xhv+oEbrfbk5XYz1P1gfLAC4KwCCCwQwBBduBwCwIIwhqAwA4BBNmBwy0IFBQEuBDonwCC9B9DZlCQAIIUhEvX/RNAkP5jyAwKEkCQgnDpun8CfQrSP3dm0AkBBOkkUAzzHAIIcg53ntoJAQTpJFAM8xwCCHIOd57aCQEE8QLFKQTuCSDIPQ2+Q8AjgCAeEE4hcE8AQe5p8B0CHgEE8YBwCoF7AghyT6Psd3rvkACCdBg0hlyPAILUY82TOiSAIB0GjSHXI4Ag9VjzpA4JIEiHQXs9ZK6UIoAgpcjS7xAEEGSIMDKJUgQQpBRZ+h2CAIIMEUYmUYoAgpQiO0q/k88DQSZfAEx/nwCC7PPh7uQEEGTyBcD09wkgyD4f7k5OAEEmXwBnTr+HZyNID1FijKcRQBAP/e12e2vl2cqHUsUe+c5K7OddqfG4fmMHNEN9BPGifL1ev9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FUAGksuIqLpcC5AYnlK1nbQQEB0kF0FRlHAQESx1eytIMCAqSD6CoyjgICJI6vZGkHBQRIJdGV7RgK/AMAAP//4C6KhwAAAAZJREFUAwD4/NzNgTbrjAAAAABJRU5ErkJggg==", ht = new p.TextureLoader(), uo = ht.load(mo), po = ht.load(ho);
|
|
917
|
+
class ut extends Pe {
|
|
1060
918
|
static name = "RenderManager";
|
|
1061
919
|
container = new p.Group();
|
|
1062
920
|
lines = [];
|
|
1063
|
-
pointVirtualGrid = new
|
|
1064
|
-
quadtree = new
|
|
1065
|
-
verticalReferenceLineFlag = new p.Mesh(new p.PlaneGeometry(0.3, 0.3), new p.MeshBasicMaterial({ map:
|
|
921
|
+
pointVirtualGrid = new ze();
|
|
922
|
+
quadtree = new Oe(new et());
|
|
923
|
+
verticalReferenceLineFlag = new p.Mesh(new p.PlaneGeometry(0.3, 0.3), new p.MeshBasicMaterial({ map: uo, color: 58111, transparent: !0 }));
|
|
1066
924
|
onAddFromParent() {
|
|
1067
925
|
const e = this.dxfLineModel;
|
|
1068
926
|
this.editor.container.add(this.container), this.editor.container.add(e.dxfModelGroup), e.dxfLineModel.material = new p.LineBasicMaterial({
|
|
@@ -1091,9 +949,9 @@ class po extends Se {
|
|
|
1091
949
|
return;
|
|
1092
950
|
} else
|
|
1093
951
|
this.updatedMode = "dxf";
|
|
1094
|
-
this.pointVirtualGrid = new
|
|
952
|
+
this.pointVirtualGrid = new ze();
|
|
1095
953
|
const e = this.dxf.box.clone().expansion(Math.max(this.dxf.box.width, this.dxf.box.height) * 2);
|
|
1096
|
-
(e.width === 0 || e.height === 0) && e.set(-200, -200, 200, 200), this.quadtree = new
|
|
954
|
+
(e.width === 0 || e.height === 0) && e.set(-200, -200, 200, 200), this.quadtree = new Oe(e), this.lines.length = 0;
|
|
1097
955
|
const t = this.dxf.getLineSegments();
|
|
1098
956
|
this.addLines(t), this.draw();
|
|
1099
957
|
}
|
|
@@ -1188,7 +1046,7 @@ class po extends Se {
|
|
|
1188
1046
|
transparent: !0
|
|
1189
1047
|
}), d.computeLineDistances();
|
|
1190
1048
|
}
|
|
1191
|
-
this.renderer.createCircle(s, { map:
|
|
1049
|
+
this.renderer.createCircle(s, { map: po, size: 0.4, sizeAttenuation: !0, color: 16777215 }, this.container), e && this.synchronizeDxf();
|
|
1192
1050
|
}
|
|
1193
1051
|
/** 获取鼠标当前点, 吸附后的点
|
|
1194
1052
|
* @param point
|
|
@@ -1235,7 +1093,7 @@ class po extends Se {
|
|
|
1235
1093
|
return this.lines.map((e) => {
|
|
1236
1094
|
const t = e.userData, n = t.drawWindow, o = this.quadtree.queryLineSegment(e).filter((s) => s.line !== e && !s.userData?.isDoor).map((s) => ({ index: this.lines.indexOf(s.line) }));
|
|
1237
1095
|
return {
|
|
1238
|
-
...
|
|
1096
|
+
...Te(t),
|
|
1239
1097
|
start: e.start.toJson(this.dxf.originalZAverage),
|
|
1240
1098
|
end: e.end.toJson(this.dxf.originalZAverage),
|
|
1241
1099
|
insetionArr: o,
|
|
@@ -1246,7 +1104,7 @@ class po extends Se {
|
|
|
1246
1104
|
isVerticalReferenceLine: t.isVerticalReferenceLine,
|
|
1247
1105
|
wallWidth: e.userData.wallWidth,
|
|
1248
1106
|
drawWindow: n && n.map((s) => ({
|
|
1249
|
-
...
|
|
1107
|
+
...Te(s),
|
|
1250
1108
|
p: { x: s.p.x, y: s.p.y, z: s.p.z },
|
|
1251
1109
|
width: s.width,
|
|
1252
1110
|
full: s.full,
|
|
@@ -1266,7 +1124,7 @@ class po extends Se {
|
|
|
1266
1124
|
}
|
|
1267
1125
|
this._timer && clearTimeout(this._timer), this._timer = setTimeout(() => {
|
|
1268
1126
|
this.updatedMode = "self";
|
|
1269
|
-
const e = this.dxf, t = this.toJson(), n = this.parent?.findComponentByType(
|
|
1127
|
+
const e = this.dxf, t = this.toJson(), n = this.parent?.findComponentByType(Et);
|
|
1270
1128
|
n.skipFindDoor = !0, e.set(t).then(() => e.lineOffset());
|
|
1271
1129
|
}, 10);
|
|
1272
1130
|
}
|
|
@@ -1289,7 +1147,7 @@ class po extends Se {
|
|
|
1289
1147
|
return this.parent?.findComponentByName("DxfLineModel");
|
|
1290
1148
|
}
|
|
1291
1149
|
}
|
|
1292
|
-
class
|
|
1150
|
+
class pt extends z {
|
|
1293
1151
|
static name = "DrawDoorLine";
|
|
1294
1152
|
container = new p.Group();
|
|
1295
1153
|
interruptKeys = ["escape"];
|
|
@@ -1308,7 +1166,7 @@ class go extends z {
|
|
|
1308
1166
|
* @param next
|
|
1309
1167
|
*/
|
|
1310
1168
|
selectPoint(e) {
|
|
1311
|
-
let t = this.parent?.findComponentByName("Editor"), n = null, o = this.renderer.createCircle(A.zero(), { color: 65280 }), s = new
|
|
1169
|
+
let t = this.parent?.findComponentByName("Editor"), n = null, o = this.renderer.createCircle(A.zero(), { color: 65280 }), s = new we([], 16711935), a = new we([
|
|
1312
1170
|
new p.Vector3(-1e4, 0, 0),
|
|
1313
1171
|
new p.Vector3(1e4, 0, 0),
|
|
1314
1172
|
new p.Vector3(0, -1e4, 0),
|
|
@@ -1353,16 +1211,16 @@ class go extends z {
|
|
|
1353
1211
|
let i = null;
|
|
1354
1212
|
d === r && (i = {
|
|
1355
1213
|
oldLine: d,
|
|
1356
|
-
newLine1: new
|
|
1214
|
+
newLine1: new F(
|
|
1357
1215
|
d.start,
|
|
1358
1216
|
d.start.distance(s) < d.start.distance(a) ? s.clone() : a.clone()
|
|
1359
1217
|
),
|
|
1360
|
-
newLine2: new
|
|
1218
|
+
newLine2: new F(
|
|
1361
1219
|
d.end,
|
|
1362
1220
|
d.end.distance(s) < d.end.distance(a) ? s.clone() : a.clone()
|
|
1363
1221
|
)
|
|
1364
1222
|
});
|
|
1365
|
-
const l = new
|
|
1223
|
+
const l = new F(s, a);
|
|
1366
1224
|
l.userData.isDoor = !0, l.userData.doorDirectConnection = !0, n.push({
|
|
1367
1225
|
line: l,
|
|
1368
1226
|
option: i
|
|
@@ -1393,7 +1251,7 @@ class go extends z {
|
|
|
1393
1251
|
return this.completed(e), e;
|
|
1394
1252
|
}
|
|
1395
1253
|
}
|
|
1396
|
-
class
|
|
1254
|
+
class gt extends z {
|
|
1397
1255
|
static name = "DrawWindow";
|
|
1398
1256
|
container = new p.Group();
|
|
1399
1257
|
interruptKeys = ["escape"];
|
|
@@ -1434,7 +1292,7 @@ class vo extends z {
|
|
|
1434
1292
|
* @param points
|
|
1435
1293
|
*/
|
|
1436
1294
|
end(e, { start: t, end: n, line: o }) {
|
|
1437
|
-
const s = new
|
|
1295
|
+
const s = new F(A.from(t), A.from(n)), a = s.center, d = s.length(), r = {
|
|
1438
1296
|
p: { x: a.x, y: a.y, z: 0 },
|
|
1439
1297
|
width: d,
|
|
1440
1298
|
full: Math.abs(d - o.length()) < 0.01
|
|
@@ -1465,7 +1323,7 @@ class vo extends z {
|
|
|
1465
1323
|
return this.completed(e), e;
|
|
1466
1324
|
}
|
|
1467
1325
|
}
|
|
1468
|
-
class
|
|
1326
|
+
class ce extends z {
|
|
1469
1327
|
static name = "VerticalCorrection";
|
|
1470
1328
|
container = new p.Group();
|
|
1471
1329
|
shortcutKeys = ["control", "c"];
|
|
@@ -1474,9 +1332,9 @@ class he extends z {
|
|
|
1474
1332
|
axisAlignment = !1;
|
|
1475
1333
|
onAddFromParent(e) {
|
|
1476
1334
|
super.onAddFromParent(e), this.editor.container.add(this.container), this.container.position.z = 1e-3;
|
|
1477
|
-
const t = this.commandManager.addCommandFlow(
|
|
1335
|
+
const t = this.commandManager.addCommandFlow(ce.commandName).add(this.createInterrupt()).add(this.constraint.bind(this)).add(this.verticalCorrection.bind(this)).addRollback(this.rollback.bind(this)).addRevokeRollback(this.revokeRollback.bind(this));
|
|
1478
1336
|
t.addEventListener("finally", this.createFinally()), t.addEventListener("completed", (n) => this.completed(n.data)), this.eventInput.addEventListener("codeChange", async () => {
|
|
1479
|
-
this.eventInput.isOnlyKeyDowns(this.shortcutKeys) ? (this.axisAlignment = !1, this.commandManager.start(
|
|
1337
|
+
this.eventInput.isOnlyKeyDowns(this.shortcutKeys) ? (this.axisAlignment = !1, this.commandManager.start(ce.commandName, [...this.default.selectLines])) : this.eventInput.isOnlyKeyDowns(this.shortcutKeys3) && (this.axisAlignment = !0, this.commandManager.start(ce.commandName, [...this.default.selectLines]));
|
|
1480
1338
|
}), this.eventInput.addCancelDefaultBehavior(() => this.eventInput.isOnlyKeyDowns(this.shortcutKeys));
|
|
1481
1339
|
}
|
|
1482
1340
|
/**
|
|
@@ -1501,7 +1359,7 @@ class he extends z {
|
|
|
1501
1359
|
* @param id
|
|
1502
1360
|
* @returns
|
|
1503
1361
|
*/
|
|
1504
|
-
setLinePoint(e, t, n, o = "all", s = [], a =
|
|
1362
|
+
setLinePoint(e, t, n, o = "all", s = [], a = xt()) {
|
|
1505
1363
|
if (e.userData.setLinePointUUid === a) return [];
|
|
1506
1364
|
e.userData.setLinePointUUid = a;
|
|
1507
1365
|
let d = [], r = [];
|
|
@@ -1561,7 +1419,7 @@ class he extends z {
|
|
|
1561
1419
|
a.forEach((i) => {
|
|
1562
1420
|
const l = i.direction(), m = s.angleBetween(l, "angle");
|
|
1563
1421
|
if (Math.abs(90 - m) > 45) return !1;
|
|
1564
|
-
const w = e.sameEndpointAsStart(i) ? e.start : e.end, h = i.sameEndpointAsStart(e) ? i.end : i.start, C = new
|
|
1422
|
+
const w = e.sameEndpointAsStart(i) ? e.start : e.end, h = i.sameEndpointAsStart(e) ? i.end : i.start, C = new F(
|
|
1565
1423
|
h.clone().add(s.clone().multiplyScalar(1)),
|
|
1566
1424
|
h.clone().add(s.clone().multiplyScalar(-1))
|
|
1567
1425
|
), v = C.projectPoint(w, !1);
|
|
@@ -1581,7 +1439,7 @@ class he extends z {
|
|
|
1581
1439
|
const g = e.projectPoint(l);
|
|
1582
1440
|
if (g) i.copy(g);
|
|
1583
1441
|
else {
|
|
1584
|
-
const w = new
|
|
1442
|
+
const w = new F(
|
|
1585
1443
|
l.clone().add(s.clone().multiplyScalar(1)),
|
|
1586
1444
|
l.clone().add(s.clone().multiplyScalar(-1))
|
|
1587
1445
|
), h = w.projectPoint(i, !1);
|
|
@@ -1605,7 +1463,7 @@ class he extends z {
|
|
|
1605
1463
|
else {
|
|
1606
1464
|
const l = e.getIntersection(i);
|
|
1607
1465
|
if (l) {
|
|
1608
|
-
const m = new
|
|
1466
|
+
const m = new F(
|
|
1609
1467
|
i.start.clone().add(s.clone().multiplyScalar(1)),
|
|
1610
1468
|
i.start.clone().add(s.clone().multiplyScalar(-1))
|
|
1611
1469
|
), g = m.projectPoint(l, !1);
|
|
@@ -1613,7 +1471,7 @@ class he extends z {
|
|
|
1613
1471
|
const C = [];
|
|
1614
1472
|
this.setLinePoint(i, g, i.end, "start", C), t.push(C);
|
|
1615
1473
|
}
|
|
1616
|
-
const w = new
|
|
1474
|
+
const w = new F(
|
|
1617
1475
|
i.end.clone().add(s.clone().multiplyScalar(1)),
|
|
1618
1476
|
i.end.clone().add(s.clone().multiplyScalar(-1))
|
|
1619
1477
|
), h = w.projectPoint(l, !1);
|
|
@@ -1631,7 +1489,7 @@ class he extends z {
|
|
|
1631
1489
|
*/
|
|
1632
1490
|
axisAlignmentCorrection(e) {
|
|
1633
1491
|
const t = [...this.renderManager.lines];
|
|
1634
|
-
return { newLines:
|
|
1492
|
+
return { newLines: At.correction(t, e, { groupMethod: "cross", fittingMethod: "max", crossAxistThreshold: 0.08 }), oldLines: t };
|
|
1635
1493
|
}
|
|
1636
1494
|
/** 开始
|
|
1637
1495
|
* @param next
|
|
@@ -1651,7 +1509,7 @@ class he extends z {
|
|
|
1651
1509
|
const { line: s, newPoint: a, point: d } = o;
|
|
1652
1510
|
d.copy(a), this.renderManager.removeLine(s), this.renderManager.addLine(s), s.userData.isWindow && t.push(s);
|
|
1653
1511
|
});
|
|
1654
|
-
}),
|
|
1512
|
+
}), Qe(...t);
|
|
1655
1513
|
} else
|
|
1656
1514
|
this.renderManager.removeLines(e.oldLines), this.renderManager.addLines(e.newLines);
|
|
1657
1515
|
this.renderManager.draw();
|
|
@@ -1669,7 +1527,7 @@ class he extends z {
|
|
|
1669
1527
|
i.copy(r), this.renderManager.removeLine(d), this.renderManager.addLine(d), d.userData.isWindow && t.push(d);
|
|
1670
1528
|
}
|
|
1671
1529
|
}
|
|
1672
|
-
|
|
1530
|
+
Qe(...t);
|
|
1673
1531
|
} else
|
|
1674
1532
|
this.renderManager.removeLines(e.newLines), this.renderManager.addLines(e.oldLines);
|
|
1675
1533
|
return this.renderManager.draw(), e;
|
|
@@ -1682,6 +1540,15 @@ class he extends z {
|
|
|
1682
1540
|
return this.completed(e), e;
|
|
1683
1541
|
}
|
|
1684
1542
|
}
|
|
1543
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1544
|
+
__proto__: null,
|
|
1545
|
+
Default: Fe,
|
|
1546
|
+
DrawDoorLine: pt,
|
|
1547
|
+
DrawLine: Ne,
|
|
1548
|
+
DrawWindow: gt,
|
|
1549
|
+
RenderManager: ut,
|
|
1550
|
+
VerticalCorrection: ce
|
|
1551
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1685
1552
|
class ne extends z {
|
|
1686
1553
|
static name = "MergeLine";
|
|
1687
1554
|
shortcutKeys = ["control", "g"];
|
|
@@ -1705,8 +1572,8 @@ class ne extends z {
|
|
|
1705
1572
|
*/
|
|
1706
1573
|
mergeLines(e, t) {
|
|
1707
1574
|
t = t.filter((s) => !s.userData.isDoor);
|
|
1708
|
-
const
|
|
1709
|
-
n.length ? (e({ newLines:
|
|
1575
|
+
const n = /* @__PURE__ */ new Set(), o = [];
|
|
1576
|
+
F.brokenLineMerging(t, void 0, n, o), o.length ? (e({ newLines: o, deleteLines: [...n] }), I({ message: "已合并", type: "success" })) : (I({ message: "合并失败,未找到共用点", type: "warning" }), this.commandManager.cancel());
|
|
1710
1577
|
}
|
|
1711
1578
|
/** 执行完成
|
|
1712
1579
|
* @param data
|
|
@@ -1792,7 +1659,7 @@ class se extends z {
|
|
|
1792
1659
|
l < s && (n = r, o = i, s = l);
|
|
1793
1660
|
}
|
|
1794
1661
|
if (n && o) {
|
|
1795
|
-
const a = new
|
|
1662
|
+
const a = new F(n.clone(), o.clone());
|
|
1796
1663
|
e(a), I({ message: "连接成功", type: "success" });
|
|
1797
1664
|
} else this.cancel();
|
|
1798
1665
|
}
|
|
@@ -1987,16 +1854,16 @@ class de extends z {
|
|
|
1987
1854
|
const [n, o] = t, s = Math.min(n.length() * 0.8, o.length() * 0.8);
|
|
1988
1855
|
let a, d, r, i = 0, l = 0;
|
|
1989
1856
|
n.sameEndpointAsStart(o) ? (a = n.start, d = n.end) : (a = n.end, d = n.start), o.sameEndpointAsStart(n) ? r = o.end : r = o.start;
|
|
1990
|
-
function m(
|
|
1991
|
-
const E = W.x -
|
|
1992
|
-
let
|
|
1993
|
-
return
|
|
1857
|
+
function m(T, W) {
|
|
1858
|
+
const E = W.x - T.x, q = W.y - T.y;
|
|
1859
|
+
let K = Math.atan2(q, E) * (180 / Math.PI);
|
|
1860
|
+
return K < 0 && (K += 360), K;
|
|
1994
1861
|
}
|
|
1995
1862
|
const g = m(a, d), w = m(a, r), h = Math.min(g, w), C = Math.max(g, w), v = [];
|
|
1996
|
-
function x(
|
|
1997
|
-
for (let E =
|
|
1998
|
-
const q = Math.cos(E * Math.PI / 180) * s + a.x,
|
|
1999
|
-
v.push(q,
|
|
1863
|
+
function x(T, W) {
|
|
1864
|
+
for (let E = T; E <= W; E++) {
|
|
1865
|
+
const q = Math.cos(E * Math.PI / 180) * s + a.x, K = Math.sin(E * Math.PI / 180) * s + a.y, S = Math.cos((E + 1) * Math.PI / 180) * s + a.x, X = Math.sin((E + 1) * Math.PI / 180) * s + a.y;
|
|
1866
|
+
v.push(q, K, 0, S, X, 0);
|
|
2000
1867
|
}
|
|
2001
1868
|
}
|
|
2002
1869
|
C - h > 180 ? (x(0, h), x(C, 360), i = 360 - (C - h), l = (C + i / 2) % 360) : (x(h, C), i = C - h, l = h + i / 2);
|
|
@@ -2013,7 +1880,7 @@ class de extends z {
|
|
|
2013
1880
|
}));
|
|
2014
1881
|
}
|
|
2015
1882
|
}
|
|
2016
|
-
class
|
|
1883
|
+
class vt extends z {
|
|
2017
1884
|
static name = "ClippingLine";
|
|
2018
1885
|
container = new p.Group();
|
|
2019
1886
|
shortcutKeys = ["control", "x"];
|
|
@@ -2057,11 +1924,11 @@ class pt extends z {
|
|
|
2057
1924
|
const s = A.from(t), a = A.from(n);
|
|
2058
1925
|
e({
|
|
2059
1926
|
oldLine: o,
|
|
2060
|
-
newLine1: new
|
|
1927
|
+
newLine1: new F(
|
|
2061
1928
|
o.start,
|
|
2062
1929
|
o.start.distance(s) < o.start.distance(a) ? s.clone() : a.clone()
|
|
2063
1930
|
),
|
|
2064
|
-
newLine2: new
|
|
1931
|
+
newLine2: new F(
|
|
2065
1932
|
o.end,
|
|
2066
1933
|
o.end.distance(s) < o.end.distance(a) ? s.clone() : a.clone()
|
|
2067
1934
|
)
|
|
@@ -2114,25 +1981,25 @@ class le extends z {
|
|
|
2114
1981
|
}), t[0].userData.isVerticalReferenceLine = !0, e(), this.renderManager.draw();
|
|
2115
1982
|
}
|
|
2116
1983
|
}
|
|
2117
|
-
const
|
|
1984
|
+
const go = {
|
|
2118
1985
|
key: 0,
|
|
2119
1986
|
class: "mt-[5px] text-[#ccc] text-[11px] absolute left-[10px] bottom-[10px] rounded-[8px] min-w-[150px] bg-black/15 p-[10px]"
|
|
2120
|
-
},
|
|
1987
|
+
}, vo = { class: "text-start max-w-[150px]" }, fo = { class: "inline-block ml-[10px] text-[var(--color-primary)]" }, yo = {
|
|
2121
1988
|
key: 0,
|
|
2122
1989
|
class: "p-[5px] max-w-[200px]"
|
|
2123
|
-
},
|
|
1990
|
+
}, wo = { class: "text-[14px] flex flex-col" }, Co = ["onClick"], bo = { class: "flex flex-row items-center" }, Eo = { class: "flex justify-center items-center size-[20px] bg-[#f0f0f0] rounded-[2px] mr-[10px]" }, xo = ["src"], Ao = { class: "text-wrap" }, Lo = {
|
|
2124
1991
|
key: 0,
|
|
2125
1992
|
class: "flex items-center gap-[5px]"
|
|
2126
|
-
},
|
|
1993
|
+
}, Mo = {
|
|
2127
1994
|
key: 1,
|
|
2128
1995
|
class: "text-[#999]"
|
|
2129
|
-
},
|
|
1996
|
+
}, Io = {
|
|
2130
1997
|
style: { "--el-color-primary": "var(--primary-color)" },
|
|
2131
1998
|
class: "flex flex-row items-center justify-between gap-[5px] mt-[10px] text-[10px]"
|
|
2132
|
-
},
|
|
1999
|
+
}, Do = {
|
|
2133
2000
|
key: 0,
|
|
2134
2001
|
class: "flex flex-row items-center flex-wrap justify-between gap-[10px] mt-[10px] text-[10px]"
|
|
2135
|
-
},
|
|
2002
|
+
}, ko = { class: "flex-wrap border-t-1 border-t-[#eee] mt-[5px] pt-[5px] flex items-center gap-[10px]" }, Po = ["onClick", "title"], Bo = ["src"], So = /* @__PURE__ */ pe({
|
|
2136
2003
|
__name: "EditorTool",
|
|
2137
2004
|
props: {
|
|
2138
2005
|
dxfSystem: {},
|
|
@@ -2141,7 +2008,7 @@ const fo = {
|
|
|
2141
2008
|
setup(c) {
|
|
2142
2009
|
function e(b, u, y = g.value.getBoundingClientRect(), Y = w.value.getBoundingClientRect()) {
|
|
2143
2010
|
const ge = y.width - Y.width, ve = 0, Me = y.height - Y.height;
|
|
2144
|
-
b = Math.max(0, Math.min(b, ge)), u = Math.max(ve, Math.min(u, Me)),
|
|
2011
|
+
b = Math.max(0, Math.min(b, ge)), u = Math.max(ve, Math.min(u, Me)), K.value = { left: b, top: u };
|
|
2145
2012
|
}
|
|
2146
2013
|
function t(b) {
|
|
2147
2014
|
C.value !== b.command && (C.value !== "default" && L.commandManager.cancel(), setTimeout(() => L.commandManager.start(b.command)));
|
|
@@ -2157,7 +2024,7 @@ const fo = {
|
|
|
2157
2024
|
}
|
|
2158
2025
|
}
|
|
2159
2026
|
async function o() {
|
|
2160
|
-
const b = await
|
|
2027
|
+
const b = await Dt.json();
|
|
2161
2028
|
Array.isArray(b) && (localStorage.removeItem("orbitControls"), n(b));
|
|
2162
2029
|
}
|
|
2163
2030
|
function s() {
|
|
@@ -2180,7 +2047,7 @@ const fo = {
|
|
|
2180
2047
|
};
|
|
2181
2048
|
document.body.addEventListener("mousemove", Y), document.addEventListener("mouseup", Le);
|
|
2182
2049
|
}
|
|
2183
|
-
const d = c, r = P(!0), i = P(!0), l = P(!0), m = P(!1), g = P(), w = P(), h = P(!0), C = P(""), v =
|
|
2050
|
+
const d = c, r = P(!0), i = P(!0), l = P(!0), m = P(!1), g = P(), w = P(), h = P(!0), C = P(""), v = qt(d.dxfSystem), x = v.findComponentByType(Ut), L = v.findComponentByType(ft), B = v.findComponentByType(Fe), $ = v.findComponentByType(Lt), ee = v.findComponentByType(Mt), _ = v.findComponentByType(It), T = v.findComponentByType(Ne), W = P(0), E = P(0), q = P(0), K = P({ left: 10, top: 100 }), S = /* @__PURE__ */ Object.assign({ "./assets/images/angle.svg": Kn, "./assets/images/connection.svg": Fn, "./assets/images/cutLine.svg": zn, "./assets/images/deleteSelectLine.svg": Tn, "./assets/images/deleteSelectWindow.svg": Vn, "./assets/images/door.svg": _n, "./assets/images/intersectionConnection.svg": Un, "./assets/images/line.svg": Hn, "./assets/images/mergeLine.svg": qn, "./assets/images/revokeRollback.svg": Yn, "./assets/images/rollback.svg": $n, "./assets/images/selectAll.svg": to, "./assets/images/selectPoint.svg": oo, "./assets/images/verticalCorrection.svg": ao, "./assets/images/verticalLine.svg": ro, "./assets/images/window.svg": co }), X = P(!1), Z = P(0), Re = P(!1), Ae = new ResizeObserver(() => e(K.value.left, K.value.top)), yt = [
|
|
2184
2051
|
{ name: "开启绘制线段命令", shortcut: "Ctrl + L" },
|
|
2185
2052
|
{ name: "开启绘制门线命令", shortcut: "Ctrl + M" },
|
|
2186
2053
|
{ name: "开启绘制窗户线命令", shortcut: "Ctrl + Q" },
|
|
@@ -2200,7 +2067,7 @@ const fo = {
|
|
|
2200
2067
|
{ name: "取消命令", shortcut: "Esc" },
|
|
2201
2068
|
{ name: "回滚操作", shortcut: "Ctrl + Z" },
|
|
2202
2069
|
{ name: "取消回滚操作", shortcut: "Ctrl + Y" }
|
|
2203
|
-
],
|
|
2070
|
+
], wt = [
|
|
2204
2071
|
{
|
|
2205
2072
|
command: "default",
|
|
2206
2073
|
name: "默认",
|
|
@@ -2213,7 +2080,7 @@ const fo = {
|
|
|
2213
2080
|
src: S["./assets/images/line.svg"].default,
|
|
2214
2081
|
show: !0,
|
|
2215
2082
|
shortcut: "Ctrl + L",
|
|
2216
|
-
confirm:
|
|
2083
|
+
confirm: k(() => q.value > 0)
|
|
2217
2084
|
},
|
|
2218
2085
|
{
|
|
2219
2086
|
command: "draw-door-line",
|
|
@@ -2237,18 +2104,18 @@ const fo = {
|
|
|
2237
2104
|
shortcut: "Ctrl + P"
|
|
2238
2105
|
},
|
|
2239
2106
|
{
|
|
2240
|
-
command:
|
|
2107
|
+
command: vt.commandName,
|
|
2241
2108
|
name: "裁剪线段",
|
|
2242
2109
|
show: !0,
|
|
2243
2110
|
src: S["./assets/images/cutLine.svg"].default,
|
|
2244
2111
|
shortcut: "Ctrl + X"
|
|
2245
2112
|
}
|
|
2246
|
-
],
|
|
2113
|
+
], Ct = [
|
|
2247
2114
|
{
|
|
2248
2115
|
command: "",
|
|
2249
2116
|
name: "操作回滚",
|
|
2250
2117
|
src: S["./assets/images/rollback.svg"].default,
|
|
2251
|
-
show:
|
|
2118
|
+
show: k(() => W.value !== 0),
|
|
2252
2119
|
shortcut: "Ctrl + Z",
|
|
2253
2120
|
action() {
|
|
2254
2121
|
L.commandManager.rollback();
|
|
@@ -2258,7 +2125,7 @@ const fo = {
|
|
|
2258
2125
|
command: "",
|
|
2259
2126
|
name: "撤销操作回滚",
|
|
2260
2127
|
src: S["./assets/images/revokeRollback.svg"].default,
|
|
2261
|
-
show:
|
|
2128
|
+
show: k(() => E.value !== 0),
|
|
2262
2129
|
shortcut: "Ctrl + Y",
|
|
2263
2130
|
class: "rotateY-[180deg]",
|
|
2264
2131
|
action() {
|
|
@@ -2269,27 +2136,27 @@ const fo = {
|
|
|
2269
2136
|
command: ne.commandName,
|
|
2270
2137
|
name: "合并",
|
|
2271
2138
|
src: S["./assets/images/mergeLine.svg"].default,
|
|
2272
|
-
show:
|
|
2139
|
+
show: k(() => Z.value === 2),
|
|
2273
2140
|
shortcut: "Ctrl + G"
|
|
2274
2141
|
},
|
|
2275
2142
|
{
|
|
2276
2143
|
command: se.commandName,
|
|
2277
2144
|
name: "两点连接",
|
|
2278
|
-
show:
|
|
2145
|
+
show: k(() => Z.value === 2),
|
|
2279
2146
|
src: S["./assets/images/connection.svg"].default,
|
|
2280
2147
|
shortcut: "Shift + L"
|
|
2281
2148
|
},
|
|
2282
2149
|
{
|
|
2283
2150
|
command: ae.commandName,
|
|
2284
2151
|
name: "延长线交点连接",
|
|
2285
|
-
show:
|
|
2152
|
+
show: k(() => Z.value === 2),
|
|
2286
2153
|
src: S["./assets/images/intersectionConnection.svg"].default,
|
|
2287
2154
|
shortcut: "Ctrl + Shift + L"
|
|
2288
2155
|
},
|
|
2289
2156
|
{
|
|
2290
|
-
command:
|
|
2157
|
+
command: ce.commandName,
|
|
2291
2158
|
name: "线段垂直纠正",
|
|
2292
|
-
show:
|
|
2159
|
+
show: k(() => Z.value === 1),
|
|
2293
2160
|
src: S["./assets/images/verticalCorrection.svg"].default,
|
|
2294
2161
|
shortcut: `
|
|
2295
2162
|
Ctrl + C 垂直纠正
|
|
@@ -2299,7 +2166,7 @@ const fo = {
|
|
|
2299
2166
|
{
|
|
2300
2167
|
command: le.commandName,
|
|
2301
2168
|
name: "y轴垂直基准线",
|
|
2302
|
-
show:
|
|
2169
|
+
show: k(
|
|
2303
2170
|
() => Z.value === 1 && !B.selectLines[0].userData.isDoor
|
|
2304
2171
|
),
|
|
2305
2172
|
src: S["./assets/images/verticalLine.svg"].default,
|
|
@@ -2308,41 +2175,41 @@ const fo = {
|
|
|
2308
2175
|
{
|
|
2309
2176
|
command: de.commandName,
|
|
2310
2177
|
name: "角度显示",
|
|
2311
|
-
show:
|
|
2178
|
+
show: k(() => Z.value === 2 && B.selectLines[0].sameEndpoint(B.selectLines[1])),
|
|
2312
2179
|
src: S["./assets/images/angle.svg"].default,
|
|
2313
2180
|
shortcut: "r"
|
|
2314
2181
|
},
|
|
2315
2182
|
{
|
|
2316
2183
|
command: re.commandName,
|
|
2317
2184
|
name: "全选",
|
|
2318
|
-
show:
|
|
2185
|
+
show: k(() => Z.value !== L.renderManager.lines.length),
|
|
2319
2186
|
src: S["./assets/images/selectAll.svg"].default,
|
|
2320
2187
|
shortcut: "Ctrl + A"
|
|
2321
2188
|
},
|
|
2322
2189
|
{
|
|
2323
2190
|
command: ie.commandName,
|
|
2324
2191
|
name: "清除窗户",
|
|
2325
|
-
show:
|
|
2192
|
+
show: k(() => Re.value),
|
|
2326
2193
|
src: S["./assets/images/deleteSelectWindow.svg"].default,
|
|
2327
2194
|
shortcut: "Q + Delete"
|
|
2328
2195
|
},
|
|
2329
2196
|
{
|
|
2330
2197
|
command: oe.commandName,
|
|
2331
2198
|
name: "删除",
|
|
2332
|
-
show:
|
|
2199
|
+
show: k(() => Z.value > 0),
|
|
2333
2200
|
src: S["./assets/images/deleteSelectLine.svg"].default,
|
|
2334
2201
|
shortcut: "Delete"
|
|
2335
2202
|
}
|
|
2336
2203
|
];
|
|
2337
|
-
J(
|
|
2338
|
-
localStorage.setItem("toolBarExpand", h.value + ""), h.value && be(() => e(
|
|
2204
|
+
J(K, () => localStorage.setItem("editorToolPosition", JSON.stringify(K.value))), J(X, () => localStorage.setItem("showShortcutKey", X.value + "")), J(h, () => {
|
|
2205
|
+
localStorage.setItem("toolBarExpand", h.value + ""), h.value && be(() => e(K.value.left, K.value.top));
|
|
2339
2206
|
}), J(r, () => v.Variable.set("originalLineVisible", r.value)), J(i, () => {
|
|
2340
2207
|
localStorage.setItem("dxfVisible", i.value + ""), v.Variable.set("dxfVisible", i.value);
|
|
2341
|
-
}), J(l, () => v.Variable.set("whiteModelVisible", l.value)), v.Variable.addEventListener("isLook", (b) => m.value = b.value), v.Variable.addEventListener("originalLineVisible", (b) => r.value = b.value), v.Variable.addEventListener("dxfVisible", (b) => i.value = b.value), v.Variable.addEventListener("whiteModelVisible", (b) => l.value = b.value),
|
|
2342
|
-
const
|
|
2208
|
+
}), J(l, () => v.Variable.set("whiteModelVisible", l.value)), v.Variable.addEventListener("isLook", (b) => m.value = b.value), v.Variable.addEventListener("originalLineVisible", (b) => r.value = b.value), v.Variable.addEventListener("dxfVisible", (b) => i.value = b.value), v.Variable.addEventListener("whiteModelVisible", (b) => l.value = b.value), T.addEventListener("start", () => q.value = 0), T.addEventListener("appendLine", (b) => q.value = b.points.length), T.addEventListener("revoke", (b) => q.value = b.points.length);
|
|
2209
|
+
const bt = L.commandManager.addEventListener("started", (b) => {
|
|
2343
2210
|
C.value = b.name;
|
|
2344
2211
|
});
|
|
2345
|
-
return localStorage.getItem("showShortcutKey") && (X.value = localStorage.getItem("showShortcutKey") === "true"), localStorage.getItem("toolBarExpand") && (h.value = localStorage.getItem("toolBarExpand") === "true"),
|
|
2212
|
+
return localStorage.getItem("showShortcutKey") && (X.value = localStorage.getItem("showShortcutKey") === "true"), localStorage.getItem("toolBarExpand") && (h.value = localStorage.getItem("toolBarExpand") === "true"), it(() => {
|
|
2346
2213
|
w.value.style.display = "none", setTimeout(() => {
|
|
2347
2214
|
if (w.value.style.display = "block", localStorage.getItem("editorToolPosition")) {
|
|
2348
2215
|
const { left: b, top: u } = JSON.parse(localStorage.getItem("editorToolPosition") ?? "{}");
|
|
@@ -2350,7 +2217,7 @@ const fo = {
|
|
|
2350
2217
|
} else
|
|
2351
2218
|
be(() => Ae.observe(g.value));
|
|
2352
2219
|
}, 100), B.addEventListener("selectLineChange", () => {
|
|
2353
|
-
Z.value = B.selectLines.length,
|
|
2220
|
+
Z.value = B.selectLines.length, Re.value = B.selectLines.some((b) => b.userData.isWindow);
|
|
2354
2221
|
}), ["rollback", "completed", "revokeRollback"].forEach((b) => {
|
|
2355
2222
|
L.commandManager.addEventListener(b, () => {
|
|
2356
2223
|
setTimeout(() => {
|
|
@@ -2358,22 +2225,22 @@ const fo = {
|
|
|
2358
2225
|
});
|
|
2359
2226
|
});
|
|
2360
2227
|
}), localStorage.getItem("dxfVisible") && (i.value = localStorage.getItem("dxfVisible") == "true");
|
|
2361
|
-
}),
|
|
2362
|
-
x.mouseMoveEventProxylock = !1,
|
|
2363
|
-
}), (b, u) => (
|
|
2228
|
+
}), Zt(() => {
|
|
2229
|
+
x.mouseMoveEventProxylock = !1, bt(), Ae.disconnect();
|
|
2230
|
+
}), (b, u) => (D(), N("div", {
|
|
2364
2231
|
ref_key: "elRef",
|
|
2365
2232
|
ref: g,
|
|
2366
2233
|
class: "editorTool pointer-events-none overflow-hidden absolute left-0 top-0 w-full h-full z-[20] flex flex-row justify-between p-[5px] box-border select-none pointer-events-[all]"
|
|
2367
2234
|
}, [
|
|
2368
2235
|
O(xe, null, {
|
|
2369
2236
|
default: V(() => [
|
|
2370
|
-
X.value ? (
|
|
2371
|
-
(
|
|
2237
|
+
X.value ? (D(), N("div", go, [
|
|
2238
|
+
(D(), N(ye, null, De(yt, (y) => M("div", {
|
|
2372
2239
|
class: "p-[4px_0px] flex justify-between text-right border-b-1 border-b-[rgba(255,255,255,0.1)] last-of-type:border-b-0",
|
|
2373
2240
|
key: y.name
|
|
2374
2241
|
}, [
|
|
2375
|
-
M("p",
|
|
2376
|
-
M("span",
|
|
2242
|
+
M("p", vo, he(y.name), 1),
|
|
2243
|
+
M("span", fo, he(y.shortcut), 1)
|
|
2377
2244
|
])), 64))
|
|
2378
2245
|
])) : H("", !0)
|
|
2379
2246
|
]),
|
|
@@ -2382,7 +2249,7 @@ const fo = {
|
|
|
2382
2249
|
M("div", {
|
|
2383
2250
|
ref_key: "toolBarRef",
|
|
2384
2251
|
ref: w,
|
|
2385
|
-
style:
|
|
2252
|
+
style: Ke({ left: K.value.left + "px", top: K.value.top + "px" }),
|
|
2386
2253
|
class: j(["overflow-hidden pointer-events-auto w-fit max-w-[260px] transition-[border-radius] text-[#333] absolute z-[11] bg-white select-none", { "rounded-[8px] ": h.value }]),
|
|
2387
2254
|
onMousedown: u[10] || (u[10] = (y) => y.stopPropagation())
|
|
2388
2255
|
}, [
|
|
@@ -2390,13 +2257,13 @@ const fo = {
|
|
|
2390
2257
|
onMousedown: a,
|
|
2391
2258
|
class: j([{ "border-b-[#eee] border-b-1": h.value }, "flex flex-row justify-between header text-[14px] font-bold p-[10px 0px]"])
|
|
2392
2259
|
}, [
|
|
2393
|
-
u[12] || (u[12] =
|
|
2260
|
+
u[12] || (u[12] = Yt('<div class="flex flex-row" data-v-f28c0a81><div class="p-[2px_5px] flex items-center pointer-events-none" data-v-f28c0a81><svg fill="#aaa" width="20" height="20" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" data-v-f28c0a81><path d="M341.333333 298.666667a85.333333 85.333333 0 1 0 0-170.666667 85.333333 85.333333 0 0 0 0 170.666667z m0 298.666666a85.333333 85.333333 0 1 0 0-170.666666 85.333333 85.333333 0 0 0 0 170.666666z m85.333334 213.333334a85.333333 85.333333 0 1 1-170.666667 0 85.333333 85.333333 0 0 1 170.666667 0z m256-512a85.333333 85.333333 0 1 0 0-170.666667 85.333333 85.333333 0 0 0 0 170.666667z m85.333333 213.333333a85.333333 85.333333 0 1 1-170.666667 0 85.333333 85.333333 0 0 1 170.666667 0z m-85.333333 384a85.333333 85.333333 0 1 0 0-170.666667 85.333333 85.333333 0 0 0 0 170.666667z" data-v-f28c0a81></path></svg></div><h5 class="flex text-nowrap text-[12px] items-center pointer-events-none" data-v-f28c0a81>绘制工具</h5></div>', 1)),
|
|
2394
2261
|
M("div", {
|
|
2395
2262
|
onMousedown: u[0] || (u[0] = (y) => y.stopPropagation()),
|
|
2396
2263
|
onClick: u[1] || (u[1] = (y) => h.value = !h.value),
|
|
2397
2264
|
class: "cursor-pointer flex items-center p-[0px_5px]"
|
|
2398
2265
|
}, [
|
|
2399
|
-
(
|
|
2266
|
+
(D(), N("svg", {
|
|
2400
2267
|
fill: "#666",
|
|
2401
2268
|
class: j([{ "rotate-90": h.value }, "transition-all"]),
|
|
2402
2269
|
viewBox: "0 0 1024 1024",
|
|
@@ -2409,12 +2276,12 @@ const fo = {
|
|
|
2409
2276
|
]), 2))
|
|
2410
2277
|
], 32)
|
|
2411
2278
|
], 34),
|
|
2412
|
-
h.value ? (
|
|
2413
|
-
M("ul",
|
|
2414
|
-
(
|
|
2279
|
+
h.value ? (D(), N("div", yo, [
|
|
2280
|
+
M("ul", wo, [
|
|
2281
|
+
(D(), N(ye, null, De(wt, (y) => (D(), N(ye, {
|
|
2415
2282
|
key: y.command
|
|
2416
2283
|
}, [
|
|
2417
|
-
y.show ? (
|
|
2284
|
+
y.show ? (D(), N("li", {
|
|
2418
2285
|
key: 0,
|
|
2419
2286
|
onClick: (Y) => t(y),
|
|
2420
2287
|
class: j([{
|
|
@@ -2422,18 +2289,18 @@ const fo = {
|
|
|
2422
2289
|
// '!cursor-no-drop': currentCommand !== item.command && currentCommand !== 'default',
|
|
2423
2290
|
}, "gap-[10px] text-[12px] hover:bg-[#ddd] transition-all rounded-[6px] p-[5px] flex flex-row items-center justify-between cursor-pointer"])
|
|
2424
2291
|
}, [
|
|
2425
|
-
M("div",
|
|
2426
|
-
M("div",
|
|
2292
|
+
M("div", bo, [
|
|
2293
|
+
M("div", Eo, [
|
|
2427
2294
|
M("img", {
|
|
2428
2295
|
class: "size-[14px]",
|
|
2429
2296
|
src: y.src,
|
|
2430
2297
|
alt: "",
|
|
2431
2298
|
srcset: ""
|
|
2432
|
-
}, null, 8,
|
|
2299
|
+
}, null, 8, xo)
|
|
2433
2300
|
]),
|
|
2434
|
-
M("span",
|
|
2301
|
+
M("span", Ao, he(y.name), 1)
|
|
2435
2302
|
]),
|
|
2436
|
-
C.value === y.command ? (
|
|
2303
|
+
C.value === y.command ? (D(), N("div", Lo, [
|
|
2437
2304
|
M("div", {
|
|
2438
2305
|
title: "取消命令(Esc)",
|
|
2439
2306
|
class: "active:scale-[0.7] transition-all flex items-center justify-center",
|
|
@@ -2451,7 +2318,7 @@ const fo = {
|
|
|
2451
2318
|
M("path", { d: "M236.437333 463.914667l549.333333 0 0 96.874667-549.333333 0 0-96.874667Z" })
|
|
2452
2319
|
], -1)
|
|
2453
2320
|
])),
|
|
2454
|
-
y.confirm?.value ? (
|
|
2321
|
+
y.confirm?.value ? (D(), N("div", {
|
|
2455
2322
|
key: 0,
|
|
2456
2323
|
onClick: s,
|
|
2457
2324
|
title: "确认命令(Enter)",
|
|
@@ -2468,26 +2335,26 @@ const fo = {
|
|
|
2468
2335
|
M("path", { d: "M512 1024c-281.6 0-512-230.4-512-512s230.4-512 512-512 512 230.4 512 512-230.4 512-512 512zM512 128C300.8 128 128 300.8 128 512s172.8 384 384 384 384-172.8 384-384-172.8-384-384-384z m-12.8 556.8c-12.8 12.8-32 19.2-51.2 19.2-19.2 0-38.4-6.4-51.2-19.2L275.2 569.6c-25.6-25.6-25.6-70.4 0-96 25.6-25.6 70.4-25.6 96 0L448 544l198.4-204.8c25.6-25.6 70.4-25.6 96 0 25.6 25.6 25.6 70.4 0 96l-243.2 249.6z" })
|
|
2469
2336
|
], -1)
|
|
2470
2337
|
]))) : H("", !0)
|
|
2471
|
-
])) : y.shortcut ? (
|
|
2472
|
-
], 10,
|
|
2338
|
+
])) : y.shortcut ? (D(), N("div", Mo, he(y.shortcut), 1)) : H("", !0)
|
|
2339
|
+
], 10, Co)) : H("", !0)
|
|
2473
2340
|
], 64))), 64))
|
|
2474
2341
|
]),
|
|
2475
|
-
M("div",
|
|
2476
|
-
O(f(
|
|
2342
|
+
M("div", Io, [
|
|
2343
|
+
O(f(Ue), {
|
|
2477
2344
|
size: "small",
|
|
2478
2345
|
modelValue: X.value,
|
|
2479
2346
|
"onUpdate:modelValue": u[3] || (u[3] = (y) => X.value = y),
|
|
2480
2347
|
label: "快捷键提示"
|
|
2481
2348
|
}, null, 8, ["modelValue"]),
|
|
2482
|
-
O(f(
|
|
2349
|
+
O(f(Ue), {
|
|
2483
2350
|
size: "small",
|
|
2484
2351
|
modelValue: i.value,
|
|
2485
2352
|
"onUpdate:modelValue": u[4] || (u[4] = (y) => i.value = y),
|
|
2486
2353
|
label: "dxf"
|
|
2487
2354
|
}, null, 8, ["modelValue"])
|
|
2488
2355
|
]),
|
|
2489
|
-
b.permission === "admin" ? (
|
|
2490
|
-
O(f(
|
|
2356
|
+
b.permission === "admin" ? (D(), N("div", Do, [
|
|
2357
|
+
O(f(me), {
|
|
2491
2358
|
style: { padding: "5px", "font-size": "10px" },
|
|
2492
2359
|
size: "small",
|
|
2493
2360
|
type: "success",
|
|
@@ -2499,7 +2366,7 @@ const fo = {
|
|
|
2499
2366
|
_: 1,
|
|
2500
2367
|
__: [15]
|
|
2501
2368
|
}),
|
|
2502
|
-
O(f(
|
|
2369
|
+
O(f(me), {
|
|
2503
2370
|
style: { padding: "5px", "font-size": "10px" },
|
|
2504
2371
|
size: "small",
|
|
2505
2372
|
type: "primary",
|
|
@@ -2511,7 +2378,7 @@ const fo = {
|
|
|
2511
2378
|
_: 1,
|
|
2512
2379
|
__: [16]
|
|
2513
2380
|
}),
|
|
2514
|
-
O(f(
|
|
2381
|
+
O(f(me), {
|
|
2515
2382
|
style: { padding: "5px", "font-size": "10px" },
|
|
2516
2383
|
size: "small",
|
|
2517
2384
|
type: "primary",
|
|
@@ -2523,7 +2390,7 @@ const fo = {
|
|
|
2523
2390
|
_: 1,
|
|
2524
2391
|
__: [17]
|
|
2525
2392
|
}),
|
|
2526
|
-
O(f(
|
|
2393
|
+
O(f(me), {
|
|
2527
2394
|
style: { padding: "5px", "font-size": "10px" },
|
|
2528
2395
|
size: "small",
|
|
2529
2396
|
type: "primary",
|
|
@@ -2535,7 +2402,7 @@ const fo = {
|
|
|
2535
2402
|
_: 1,
|
|
2536
2403
|
__: [18]
|
|
2537
2404
|
}),
|
|
2538
|
-
O(f(
|
|
2405
|
+
O(f(me), {
|
|
2539
2406
|
style: { padding: "5px", "font-size": "10px" },
|
|
2540
2407
|
size: "small",
|
|
2541
2408
|
type: "primary",
|
|
@@ -2547,7 +2414,7 @@ const fo = {
|
|
|
2547
2414
|
_: 1,
|
|
2548
2415
|
__: [19]
|
|
2549
2416
|
}),
|
|
2550
|
-
O(f(
|
|
2417
|
+
O(f(me), {
|
|
2551
2418
|
style: { padding: "5px", "font-size": "10px" },
|
|
2552
2419
|
size: "small",
|
|
2553
2420
|
type: "primary",
|
|
@@ -2562,10 +2429,10 @@ const fo = {
|
|
|
2562
2429
|
])) : H("", !0),
|
|
2563
2430
|
O(xe, null, {
|
|
2564
2431
|
default: V(() => [
|
|
2565
|
-
M("div",
|
|
2566
|
-
O(
|
|
2432
|
+
M("div", ko, [
|
|
2433
|
+
O(Xt, null, {
|
|
2567
2434
|
default: V(() => [
|
|
2568
|
-
(
|
|
2435
|
+
(D(), N(ye, null, De(Ct, (y) => M("div", {
|
|
2569
2436
|
onClick: (Y) => y.show.value && C.value === "default" && (y.action ? y.action() : f(L).commandManager.start(y.command, [...f(B).selectLines])),
|
|
2570
2437
|
title: `${y.name}(${y.shortcut})`,
|
|
2571
2438
|
class: j(["size-[20px] flex justify-center items-center relative overflow-hidden active:scale-[0.8] border-1 border-[#ccc] rounded-[4px] transition-all cursor-pointer", {
|
|
@@ -2577,8 +2444,8 @@ const fo = {
|
|
|
2577
2444
|
M("img", {
|
|
2578
2445
|
class: "size-[14px]",
|
|
2579
2446
|
src: y.src
|
|
2580
|
-
}, null, 8,
|
|
2581
|
-
], 10,
|
|
2447
|
+
}, null, 8, Bo)
|
|
2448
|
+
], 10, Po)), 64))
|
|
2582
2449
|
]),
|
|
2583
2450
|
_: 1
|
|
2584
2451
|
})
|
|
@@ -2590,13 +2457,13 @@ const fo = {
|
|
|
2590
2457
|
], 38)
|
|
2591
2458
|
], 512));
|
|
2592
2459
|
}
|
|
2593
|
-
}),
|
|
2460
|
+
}), Ko = (c, e) => {
|
|
2594
2461
|
const t = c.__vccOpts || c;
|
|
2595
2462
|
for (const [n, o] of e)
|
|
2596
2463
|
t[n] = o;
|
|
2597
2464
|
return t;
|
|
2598
|
-
},
|
|
2599
|
-
let
|
|
2465
|
+
}, No = /* @__PURE__ */ Ko(So, [["__scopeId", "data-v-f28c0a81"]]);
|
|
2466
|
+
let ft = class extends Pe {
|
|
2600
2467
|
static name = "Editor";
|
|
2601
2468
|
container = new p.Group();
|
|
2602
2469
|
get renderer() {
|
|
@@ -2620,7 +2487,7 @@ let gt = class extends Se {
|
|
|
2620
2487
|
get domContainer() {
|
|
2621
2488
|
return this.parent?.findComponentByName("DomContainer");
|
|
2622
2489
|
}
|
|
2623
|
-
commandManager = new
|
|
2490
|
+
commandManager = new kt();
|
|
2624
2491
|
plane = new p.Mesh(new p.PlaneGeometry(2e3, 2e3, 2, 2));
|
|
2625
2492
|
app;
|
|
2626
2493
|
domElement = document.createElement("div");
|
|
@@ -2650,7 +2517,7 @@ let gt = class extends Se {
|
|
|
2650
2517
|
this.domContainer.domElement.parentElement && (this.domContainer.domElement.parentElement.appendChild(this.domElement), this.domContainer.domElement.parentElement.appendChild(this.imgEl), n());
|
|
2651
2518
|
});
|
|
2652
2519
|
setTimeout(() => {
|
|
2653
|
-
this.app =
|
|
2520
|
+
this.app = $t(No, { dxfSystem: this.parent, permission: this.viewPermission }), this.app.mount(this.domElement);
|
|
2654
2521
|
}), e.AngleCorrectionDxf.addEventListener("lineOffset", async () => {
|
|
2655
2522
|
this.imgEl.src && URL.revokeObjectURL(this.imgEl.src), setTimeout(async () => {
|
|
2656
2523
|
this.imgEl.src = URL.createObjectURL(await e.AngleCorrectionDxf.toDxfImageBlob("Centimeters", "image/png", "transparent"));
|
|
@@ -2712,7 +2579,7 @@ let gt = class extends Se {
|
|
|
2712
2579
|
this.commandManager.destroy(), super.destroy(), this.exitEdit(), this.renderer.scene.remove(this.container), this.domElement.remove(), this.app?.unmount();
|
|
2713
2580
|
}
|
|
2714
2581
|
};
|
|
2715
|
-
class
|
|
2582
|
+
class Fo extends z {
|
|
2716
2583
|
static name = "PointDrag";
|
|
2717
2584
|
container = new p.Group();
|
|
2718
2585
|
interruptKeys = ["escape"];
|
|
@@ -2745,7 +2612,7 @@ class zo extends z {
|
|
|
2745
2612
|
*/
|
|
2746
2613
|
drag(e, { point: t, line: n }) {
|
|
2747
2614
|
this.domElement.style.cursor = "crosshair";
|
|
2748
|
-
const o = n.start.equal(A.from(t)) ? "start" : "end", s = o == "start" ? new p.Vector3(n.end.x, n.end.y, 0) : new p.Vector3(n.start.x, n.start.y, 0), a = t.clone(), d = new
|
|
2615
|
+
const o = n.start.equal(A.from(t)) ? "start" : "end", s = o == "start" ? new p.Vector3(n.end.x, n.end.y, 0) : new p.Vector3(n.start.x, n.start.y, 0), a = t.clone(), d = new we([s, a], 16711935), r = this.renderer.createCircle(A.zero(), { color: 16711935, size: 10 });
|
|
2749
2616
|
this.container.add(d), this.addEventRecord("clear").add(this.editor.addEventListener("pointerPositionChange", () => {
|
|
2750
2617
|
let { point: i, find: l } = this.editor.renderManager.adsorption(), m = "none";
|
|
2751
2618
|
if (i) {
|
|
@@ -2780,15 +2647,16 @@ class zo extends z {
|
|
|
2780
2647
|
return this.completed(e), e;
|
|
2781
2648
|
}
|
|
2782
2649
|
}
|
|
2783
|
-
function
|
|
2784
|
-
c.addComponent(new
|
|
2650
|
+
function $e(c, e = {}) {
|
|
2651
|
+
c.addComponent(new ft(e.viewPermission)), c.addComponent(new ut()), c.addComponent(new Fe()), c.addComponent(new Ne()), c.addComponent(new pt()), c.addComponent(new gt()), c.addComponent(new Fo()), c.addComponent(new oe()), c.addComponent(new ne()), c.addComponent(new ce()), c.addComponent(new se()), c.addComponent(new ae()), c.addComponent(new ie()), c.addComponent(new re()), c.addComponent(new de()), c.addComponent(new le()), c.addComponent(new vt());
|
|
2785
2652
|
}
|
|
2786
|
-
const
|
|
2653
|
+
const Go = Object.assign($e, {
|
|
2787
2654
|
create(c = {}) {
|
|
2788
|
-
return (e) =>
|
|
2655
|
+
return (e) => $e(e, c);
|
|
2789
2656
|
}
|
|
2790
2657
|
});
|
|
2791
2658
|
export {
|
|
2792
|
-
|
|
2793
|
-
|
|
2659
|
+
Go as Editor,
|
|
2660
|
+
$e as Editor_,
|
|
2661
|
+
jo as components
|
|
2794
2662
|
};
|