@xtctwins/tctwins-bimx-engine 0.2.1 → 0.2.2

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.
@@ -1,4 +1,4 @@
1
- import { n as g, o as t, T as i, y, z as x, v as S, x as b } from "./index-D7jkFc1M.mjs";
1
+ import { n as g, o as t, T as i, y, z as x, v as S, x as b } from "./index-CrYdrQmt.mjs";
2
2
  import { defineComponent as k, ref as u, onMounted as P, watch as w, openBlock as _, createElementBlock as f, normalizeStyle as W, createElementVNode as o, toDisplayString as C, createVNode as T, unref as h, renderSlot as N, createCommentVNode as E } from "vue";
3
3
  const $ = { class: "tall_panel_content" }, B = { class: "panel_top" }, H = { class: "panel_title" }, L = { class: "panel_close" }, z = { class: "panel_content" }, M = {
4
4
  key: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-bimx-engine",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "main": "dist/BIMX_Viewer_Lib.umd.js",
5
5
  "style": "dist/style.css",
6
6
  "module": "dist/BIMX_Viewer_Lib.es.js",
@@ -1,615 +0,0 @@
1
- import { X as Ae, G as Ne, k as G, Y as De, P as ze, U as te, I as X, f as Q, H as ee, J as oe, Z as ne, R as Me, L as _e, u as Fe, S as xe, M as Le, $ as Oe, d as be, c as $, _ as Ke, a0 as ye, a1 as Re, w as We, n as Ze, T as we, p as le, o as Y, E as Ge, a2 as Ye, t as He, v as Je, x as Xe } from "./index-D7jkFc1M.mjs";
2
- import { _ as je } from "./panel.vue_vue_type_style_index_0_lang-BuYvCXko.mjs";
3
- import { E as qe } from "./el-input-number-CLHWlCKL.mjs";
4
- import { defineComponent as ie, computed as P, ref as r, watch as ke, onMounted as Se, openBlock as s, createElementBlock as m, normalizeClass as b, unref as n, withModifiers as Qe, createElementVNode as t, withKeys as el, createBlock as f, withCtx as y, resolveDynamicComponent as L, createCommentVNode as g, toDisplayString as K, normalizeStyle as O, createVNode as a, renderSlot as he, nextTick as ll, onBeforeUnmount as tl, resolveComponent as ol, createTextVNode as C, Fragment as H, renderList as J } from "vue";
5
- import { b as Ce } from "./const-B1FlFgEN.mjs";
6
- import { Loading as nl } from "@element-plus/icons-vue";
7
- const sl = (c) => ["", ...Ae].includes(c), il = Ne({
8
- modelValue: {
9
- type: [Boolean, String, Number],
10
- default: !1
11
- },
12
- disabled: Boolean,
13
- loading: Boolean,
14
- size: {
15
- type: String,
16
- validator: sl
17
- },
18
- width: {
19
- type: [String, Number],
20
- default: ""
21
- },
22
- inlinePrompt: Boolean,
23
- inactiveActionIcon: {
24
- type: G
25
- },
26
- activeActionIcon: {
27
- type: G
28
- },
29
- activeIcon: {
30
- type: G
31
- },
32
- inactiveIcon: {
33
- type: G
34
- },
35
- activeText: {
36
- type: String,
37
- default: ""
38
- },
39
- inactiveText: {
40
- type: String,
41
- default: ""
42
- },
43
- activeValue: {
44
- type: [Boolean, String, Number],
45
- default: !0
46
- },
47
- inactiveValue: {
48
- type: [Boolean, String, Number],
49
- default: !1
50
- },
51
- name: {
52
- type: String,
53
- default: ""
54
- },
55
- validateEvent: {
56
- type: Boolean,
57
- default: !0
58
- },
59
- beforeChange: {
60
- type: De(Function)
61
- },
62
- id: String,
63
- tabindex: {
64
- type: [String, Number]
65
- },
66
- ...ze(["ariaLabel"])
67
- }), al = {
68
- [te]: (c) => X(c) || Q(c) || ee(c),
69
- [oe]: (c) => X(c) || Q(c) || ee(c),
70
- [ne]: (c) => X(c) || Q(c) || ee(c)
71
- }, se = "ElSwitch", dl = ie({
72
- name: se
73
- }), ul = /* @__PURE__ */ ie({
74
- ...dl,
75
- props: il,
76
- emits: al,
77
- setup(c, { expose: j, emit: T }) {
78
- const v = c, { formItem: E } = Me(), w = _e(), i = Fe("switch"), { inputId: S } = xe(v, {
79
- formItemContext: E
80
- }), I = Le(P(() => v.loading)), _ = r(v.modelValue !== !1), h = r(), A = r(), N = P(() => [
81
- i.b(),
82
- i.m(w.value),
83
- i.is("disabled", I.value),
84
- i.is("checked", u.value)
85
- ]), F = P(() => [
86
- i.e("label"),
87
- i.em("label", "left"),
88
- i.is("active", !u.value)
89
- ]), U = P(() => [
90
- i.e("label"),
91
- i.em("label", "right"),
92
- i.is("active", u.value)
93
- ]), B = P(() => ({
94
- width: Oe(v.width)
95
- }));
96
- ke(() => v.modelValue, () => {
97
- _.value = !0;
98
- });
99
- const D = P(() => _.value ? v.modelValue : !1), u = P(() => D.value === v.activeValue);
100
- [v.activeValue, v.inactiveValue].includes(D.value) || (T(te, v.inactiveValue), T(oe, v.inactiveValue), T(ne, v.inactiveValue)), ke(u, (o) => {
101
- var p;
102
- h.value.checked = o, v.validateEvent && ((p = E == null ? void 0 : E.validate) == null || p.call(E, "change").catch((z) => be(z)));
103
- });
104
- const k = () => {
105
- const o = u.value ? v.inactiveValue : v.activeValue;
106
- T(te, o), T(oe, o), T(ne, o), ll(() => {
107
- h.value.checked = u.value;
108
- });
109
- }, x = () => {
110
- if (I.value)
111
- return;
112
- const { beforeChange: o } = v;
113
- if (!o) {
114
- k();
115
- return;
116
- }
117
- const p = o();
118
- [
119
- ye(p),
120
- X(p)
121
- ].includes(!0) || Re(se, "beforeChange must return type `Promise<boolean>` or `boolean`"), ye(p) ? p.then((M) => {
122
- M && k();
123
- }).catch((M) => {
124
- be(se, `some error occurred: ${M}`);
125
- }) : p && k();
126
- }, R = () => {
127
- var o, p;
128
- (p = (o = h.value) == null ? void 0 : o.focus) == null || p.call(o);
129
- };
130
- return Se(() => {
131
- h.value.checked = u.value;
132
- }), j({
133
- focus: R,
134
- checked: u
135
- }), (o, p) => (s(), m("div", {
136
- class: b(n(N)),
137
- onClick: Qe(x, ["prevent"])
138
- }, [
139
- t("input", {
140
- id: n(S),
141
- ref_key: "input",
142
- ref: h,
143
- class: b(n(i).e("input")),
144
- type: "checkbox",
145
- role: "switch",
146
- "aria-checked": n(u),
147
- "aria-disabled": n(I),
148
- "aria-label": o.ariaLabel,
149
- name: o.name,
150
- "true-value": o.activeValue,
151
- "false-value": o.inactiveValue,
152
- disabled: n(I),
153
- tabindex: o.tabindex,
154
- onChange: k,
155
- onKeydown: el(x, ["enter"])
156
- }, null, 42, ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"]),
157
- !o.inlinePrompt && (o.inactiveIcon || o.inactiveText) ? (s(), m("span", {
158
- key: 0,
159
- class: b(n(F))
160
- }, [
161
- o.inactiveIcon ? (s(), f(n($), { key: 0 }, {
162
- default: y(() => [
163
- (s(), f(L(o.inactiveIcon)))
164
- ]),
165
- _: 1
166
- })) : g("v-if", !0),
167
- !o.inactiveIcon && o.inactiveText ? (s(), m("span", {
168
- key: 1,
169
- "aria-hidden": n(u)
170
- }, K(o.inactiveText), 9, ["aria-hidden"])) : g("v-if", !0)
171
- ], 2)) : g("v-if", !0),
172
- t("span", {
173
- ref_key: "core",
174
- ref: A,
175
- class: b(n(i).e("core")),
176
- style: O(n(B))
177
- }, [
178
- o.inlinePrompt ? (s(), m("div", {
179
- key: 0,
180
- class: b(n(i).e("inner"))
181
- }, [
182
- o.activeIcon || o.inactiveIcon ? (s(), f(n($), {
183
- key: 0,
184
- class: b(n(i).is("icon"))
185
- }, {
186
- default: y(() => [
187
- (s(), f(L(n(u) ? o.activeIcon : o.inactiveIcon)))
188
- ]),
189
- _: 1
190
- }, 8, ["class"])) : o.activeText || o.inactiveText ? (s(), m("span", {
191
- key: 1,
192
- class: b(n(i).is("text")),
193
- "aria-hidden": !n(u)
194
- }, K(n(u) ? o.activeText : o.inactiveText), 11, ["aria-hidden"])) : g("v-if", !0)
195
- ], 2)) : g("v-if", !0),
196
- t("div", {
197
- class: b(n(i).e("action"))
198
- }, [
199
- o.loading ? (s(), f(n($), {
200
- key: 0,
201
- class: b(n(i).is("loading"))
202
- }, {
203
- default: y(() => [
204
- a(n(nl))
205
- ]),
206
- _: 1
207
- }, 8, ["class"])) : n(u) ? he(o.$slots, "active-action", { key: 1 }, () => [
208
- o.activeActionIcon ? (s(), f(n($), { key: 0 }, {
209
- default: y(() => [
210
- (s(), f(L(o.activeActionIcon)))
211
- ]),
212
- _: 1
213
- })) : g("v-if", !0)
214
- ]) : n(u) ? g("v-if", !0) : he(o.$slots, "inactive-action", { key: 2 }, () => [
215
- o.inactiveActionIcon ? (s(), f(n($), { key: 0 }, {
216
- default: y(() => [
217
- (s(), f(L(o.inactiveActionIcon)))
218
- ]),
219
- _: 1
220
- })) : g("v-if", !0)
221
- ])
222
- ], 2)
223
- ], 6),
224
- !o.inlinePrompt && (o.activeIcon || o.activeText) ? (s(), m("span", {
225
- key: 1,
226
- class: b(n(U))
227
- }, [
228
- o.activeIcon ? (s(), f(n($), { key: 0 }, {
229
- default: y(() => [
230
- (s(), f(L(o.activeIcon)))
231
- ]),
232
- _: 1
233
- })) : g("v-if", !0),
234
- !o.activeIcon && o.activeText ? (s(), m("span", {
235
- key: 1,
236
- "aria-hidden": !n(u)
237
- }, K(o.activeText), 9, ["aria-hidden"])) : g("v-if", !0)
238
- ], 2)) : g("v-if", !0)
239
- ], 10, ["onClick"]));
240
- }
241
- });
242
- var rl = /* @__PURE__ */ Ke(ul, [["__file", "switch.vue"]]);
243
- const vl = We(rl), cl = { style: { height: "var(--setting-content-height)" } }, ml = {
244
- key: 0,
245
- class: "color-list"
246
- }, pl = ["onClick"], fl = { class: "setting-effect" }, gl = { class: "setting-effect" }, Vl = { class: "light-slider" }, bl = {
247
- key: 1,
248
- class: "setting-title"
249
- }, yl = {
250
- key: 2,
251
- class: "setting-effect"
252
- }, wl = { class: "setting-effect" }, kl = { class: "setting-effect" }, hl = { class: "setting-effect" }, Cl = { class: "setting-effect" }, Sl = { class: "setting-effect" }, Il = { class: "setting-effect" }, Tl = { class: "setting_panel" }, El = { class: "setting-title-box" }, Ul = { class: "setting-title-icon" }, Bl = { class: "setting-color-box" }, Pl = { class: "setting-color-list" }, $l = ["onClick"], Al = { class: "setting-config-box" }, Nl = { class: "setting-switch-item" }, Dl = { class: "setting-switch-item" }, zl = { class: "light-slider" }, Ml = { class: "setting-switch-item" }, _l = { class: "setting-switch-item" }, Fl = { class: "setting-switch-item" }, xl = { class: "setting-switch-item" }, Ll = { class: "setting-switch-item" }, Ol = { class: "setting-switch-item" }, Kl = { class: "setting-switch-item" }, Rl = { class: "speed-slider" }, Wl = { class: "setting-switch-item" }, Zl = { class: "speed-slider" }, Gl = /* @__PURE__ */ ie({
253
- __name: "SettingTool",
254
- props: ["componentId"],
255
- emits: ["closePanel"],
256
- setup(c, { emit: j }) {
257
- const T = Ze(), v = c, E = r(0);
258
- Se(() => {
259
- T.setReadyById(v.componentId), we.currentTheme == "blue" ? E.value = 240 : we.currentTheme == "light-gray" && (E.value = 202);
260
- });
261
- let w;
262
- const i = r(!1), S = r(!1), I = r(!1), _ = r(!1), h = r(!1), A = r(!0), N = r(!1), F = r(!1), U = r(1), B = r(50), D = r(50), u = r(50), k = r(["亮"]), x = r(["亮", "暗"]), R = r("linear-gradient(180deg, #fffefb 0%, #daebff 100%)"), o = j, p = () => {
263
- w = window.bimViewer, q(!1);
264
- };
265
- le.on("BimViewer", p), tl(() => {
266
- le.off("BimViewer", p);
267
- });
268
- const z = (d) => {
269
- d && d.target.id != "setting_back" || (o("closePanel"), M(!1));
270
- }, M = (d = !F.value) => {
271
- F.value = d;
272
- }, ae = () => {
273
- window.bimViewer.setWorldAxisZUp(S.value), S.value && (i.value = !1);
274
- }, de = () => {
275
- window.bimViewer.setWorldAxisYDown(i.value), i.value && (S.value = !1);
276
- }, ue = (d) => {
277
- U.value = d.id, R.value = d.color, le.emit("changeBackgroundColor", d.color);
278
- }, re = (d) => {
279
- w.setLightIntensity(d);
280
- }, q = (d) => {
281
- w.setEdgesEnabled(d);
282
- }, ve = () => {
283
- w.SetThreeDModeActive(), Y("isMobile") && (window.bimViewer.navCubeMode.visible = !1);
284
- }, ce = () => {
285
- w.SetOrthoModeActive();
286
- }, me = () => {
287
- w.SetShowSpaceModeActive();
288
- }, pe = (d) => {
289
- d == "亮" ? window.bimViewer.setSpaceMaterialColor(1) : window.bimViewer.setSpaceMaterialColor(2), k.value = k.value.includes(d) ? [d] : [];
290
- }, Ie = () => {
291
- w.SetSkyBoxToolActive();
292
- }, Te = (d) => {
293
- w.viewer.cameraControl.customTouchDollyRate = d / 50;
294
- }, Ee = (d) => {
295
- w.viewer.cameraControl.customTouchPanRate = d / 50;
296
- };
297
- return (d, e) => {
298
- const V = vl, W = qe, fe = Ge, ge = Ye, Ve = He, Ue = je, Be = Je, Pe = ol("SuccessFilled"), $e = $;
299
- return n(Y)("isMobile") ? (s(), m("div", {
300
- key: 1,
301
- id: "setting_back",
302
- class: "mobile_setting setting_back",
303
- onClick: z
304
- }, [
305
- t("div", Tl, [
306
- t("div", El, [
307
- e[42] || (e[42] = t("div", { class: "setting-title" }, "设置", -1)),
308
- t("div", Ul, [
309
- a(Be, {
310
- width: 0.4,
311
- "size-type": "rem",
312
- "click-handle": z
313
- })
314
- ])
315
- ]),
316
- t("div", Bl, [
317
- t("div", Pl, [
318
- (s(!0), m(H, null, J(n(Ce), (l, Z) => (s(), m("div", {
319
- key: Z,
320
- class: b(["setting-color-item", {
321
- "setting-color-item-active": U.value === l.id
322
- }]),
323
- onClick: (Yl) => ue(l)
324
- }, [
325
- t("div", {
326
- class: "setting-color-icon",
327
- style: O({
328
- background: l.color,
329
- border: l.id === U.value ? "0.02rem solid #0065FC" : ""
330
- })
331
- }, null, 4),
332
- t("div", {
333
- class: "setting-color-name",
334
- style: O({ color: l.id === U.value ? "#0065FC" : "" })
335
- }, [
336
- C(K(l.name) + " ", 1),
337
- l.id === U.value ? (s(), f($e, {
338
- key: 0,
339
- color: "#0065fc",
340
- size: "0.24rem"
341
- }, {
342
- default: y(() => [
343
- a(Pe)
344
- ]),
345
- _: 1
346
- })) : g("", !0)
347
- ], 4)
348
- ], 10, $l))), 128))
349
- ])
350
- ]),
351
- t("div", Al, [
352
- a(Ve, { height: "188" }, {
353
- default: y(() => [
354
- t("div", Nl, [
355
- e[43] || (e[43] = t("div", null, "显示边缘", -1)),
356
- t("div", null, [
357
- a(V, {
358
- modelValue: I.value,
359
- "onUpdate:modelValue": e[14] || (e[14] = (l) => I.value = l),
360
- size: "large",
361
- onChange: e[15] || (e[15] = (l) => q())
362
- }, null, 8, ["modelValue"])
363
- ])
364
- ]),
365
- t("div", Dl, [
366
- e[44] || (e[44] = t("div", null, "光源强度", -1)),
367
- t("div", zl, [
368
- a(W, {
369
- modelValue: B.value,
370
- "onUpdate:modelValue": e[16] || (e[16] = (l) => B.value = l),
371
- onInput: e[17] || (e[17] = (l) => re(B.value))
372
- }, null, 8, ["modelValue"])
373
- ])
374
- ]),
375
- t("div", Ml, [
376
- e[45] || (e[45] = t("div", null, "透视/正交", -1)),
377
- t("div", null, [
378
- a(V, {
379
- modelValue: h.value,
380
- "onUpdate:modelValue": e[18] || (e[18] = (l) => h.value = l),
381
- size: "large",
382
- onChange: ce
383
- }, null, 8, ["modelValue"])
384
- ])
385
- ]),
386
- t("div", _l, [
387
- e[46] || (e[46] = t("div", null, "2D/3D", -1)),
388
- t("div", null, [
389
- a(V, {
390
- modelValue: A.value,
391
- "onUpdate:modelValue": e[19] || (e[19] = (l) => A.value = l),
392
- size: "large",
393
- onChange: ve
394
- }, null, 8, ["modelValue"])
395
- ])
396
- ]),
397
- t("div", Fl, [
398
- e[47] || (e[47] = t("div", null, "模型倒置", -1)),
399
- t("div", null, [
400
- a(V, {
401
- modelValue: i.value,
402
- "onUpdate:modelValue": e[20] || (e[20] = (l) => i.value = l),
403
- size: "large",
404
- onChange: e[21] || (e[21] = (l) => de())
405
- }, null, 8, ["modelValue"])
406
- ])
407
- ]),
408
- t("div", xl, [
409
- e[48] || (e[48] = t("div", null, "Z轴向上", -1)),
410
- t("div", null, [
411
- a(V, {
412
- modelValue: S.value,
413
- "onUpdate:modelValue": e[22] || (e[22] = (l) => S.value = l),
414
- size: "large",
415
- onChange: e[23] || (e[23] = (l) => ae())
416
- }, null, 8, ["modelValue"])
417
- ])
418
- ]),
419
- t("div", Ll, [
420
- e[49] || (e[49] = t("div", null, "显示模型空间", -1)),
421
- t("div", null, [
422
- a(V, {
423
- modelValue: N.value,
424
- "onUpdate:modelValue": e[24] || (e[24] = (l) => N.value = l),
425
- size: "large",
426
- onChange: me
427
- }, null, 8, ["modelValue"])
428
- ])
429
- ]),
430
- t("div", Ol, [
431
- e[50] || (e[50] = t("div", null, "空间效果", -1)),
432
- a(ge, {
433
- modelValue: k.value,
434
- "onUpdate:modelValue": e[25] || (e[25] = (l) => k.value = l)
435
- }, {
436
- default: y(() => [
437
- (s(!0), m(H, null, J(x.value, (l) => (s(), f(fe, {
438
- key: l,
439
- label: l,
440
- onChange: (Z) => pe(l)
441
- }, null, 8, ["label", "onChange"]))), 128))
442
- ]),
443
- _: 1
444
- }, 8, ["modelValue"])
445
- ]),
446
- t("div", Kl, [
447
- e[51] || (e[51] = t("div", null, "移动速率", -1)),
448
- t("div", Rl, [
449
- a(W, {
450
- modelValue: D.value,
451
- "onUpdate:modelValue": e[26] || (e[26] = (l) => D.value = l),
452
- onInput: e[27] || (e[27] = (l) => Te(D.value))
453
- }, null, 8, ["modelValue"])
454
- ])
455
- ]),
456
- t("div", Wl, [
457
- e[52] || (e[52] = t("div", null, "缩放速率", -1)),
458
- t("div", Zl, [
459
- a(W, {
460
- modelValue: u.value,
461
- "onUpdate:modelValue": e[28] || (e[28] = (l) => u.value = l),
462
- onInput: e[29] || (e[29] = (l) => Ee(u.value))
463
- }, null, 8, ["modelValue"])
464
- ])
465
- ])
466
- ]),
467
- _: 1
468
- })
469
- ])
470
- ])
471
- ])) : (s(), f(Ue, {
472
- key: 0,
473
- class: "setting_contaier",
474
- width: E.value,
475
- panelTitle: "设置",
476
- "click-handle": z,
477
- style: { height: "var(--setting-panel-height)" }
478
- }, {
479
- default: y(() => [
480
- t("div", cl, [
481
- a(Ve, null, {
482
- default: y(() => [
483
- e[40] || (e[40] = t("div", { class: "setting-title" }, "效果", -1)),
484
- t("div", {
485
- class: "setting-effect",
486
- onClick: e[0] || (e[0] = (l) => M())
487
- }, [
488
- e[30] || (e[30] = C(" 背景颜色 ")),
489
- t("div", {
490
- class: "choose-color",
491
- style: O({ background: R.value })
492
- }, null, 4)
493
- ]),
494
- F.value ? (s(), m("div", ml, [
495
- (s(!0), m(H, null, J(n(Ce), (l) => (s(), m("div", {
496
- key: l.id,
497
- class: b(["color-item", { "color-item-active": U.value === l.id }]),
498
- onClick: (Z) => ue(l)
499
- }, [
500
- t("div", {
501
- class: "bg",
502
- style: O({ background: l.color, border: l.id === 4 ? "1px solid #F1F1F1" : "none" })
503
- }, null, 4),
504
- C(" " + K(l.name), 1)
505
- ], 10, pl))), 128))
506
- ])) : g("", !0),
507
- t("div", fl, [
508
- e[31] || (e[31] = C(" 显示边缘 ")),
509
- a(V, {
510
- modelValue: I.value,
511
- "onUpdate:modelValue": e[1] || (e[1] = (l) => I.value = l),
512
- style: { "--el-switch-on-color": "#0065fc" },
513
- onChange: e[2] || (e[2] = (l) => q())
514
- }, null, 8, ["modelValue"])
515
- ]),
516
- t("div", gl, [
517
- e[32] || (e[32] = C(" 光源强度 ")),
518
- t("div", Vl, [
519
- a(W, {
520
- modelValue: B.value,
521
- "onUpdate:modelValue": e[3] || (e[3] = (l) => B.value = l),
522
- onInput: e[4] || (e[4] = (l) => re(B.value))
523
- }, null, 8, ["modelValue"])
524
- ])
525
- ]),
526
- n(Y)("skyboxImg") ? (s(), m("div", bl, " 外观模式 ")) : g("", !0),
527
- n(Y)("skyboxImg") ? (s(), m("div", yl, [
528
- e[33] || (e[33] = C(" 天空盒 ")),
529
- a(V, {
530
- modelValue: _.value,
531
- "onUpdate:modelValue": e[5] || (e[5] = (l) => _.value = l),
532
- style: { "--el-switch-on-color": "#0065fc" },
533
- onChange: Ie
534
- }, null, 8, ["modelValue"])
535
- ])) : g("", !0),
536
- e[41] || (e[41] = t("div", { class: "setting-title" }, "模型视角切换", -1)),
537
- t("div", wl, [
538
- e[34] || (e[34] = C(" 透视/正交 ")),
539
- a(V, {
540
- modelValue: h.value,
541
- "onUpdate:modelValue": e[6] || (e[6] = (l) => h.value = l),
542
- style: { "--el-switch-on-color": "#0065fc" },
543
- onChange: ce
544
- }, null, 8, ["modelValue"])
545
- ]),
546
- t("div", kl, [
547
- e[35] || (e[35] = C(" 2D/3D ")),
548
- a(V, {
549
- modelValue: A.value,
550
- "onUpdate:modelValue": e[7] || (e[7] = (l) => A.value = l),
551
- style: { "--el-switch-on-color": "#0065fc" },
552
- onChange: ve
553
- }, null, 8, ["modelValue"])
554
- ]),
555
- t("div", hl, [
556
- e[36] || (e[36] = t("div", null, "模型倒置", -1)),
557
- t("div", null, [
558
- a(V, {
559
- modelValue: i.value,
560
- "onUpdate:modelValue": e[8] || (e[8] = (l) => i.value = l),
561
- style: { "--el-switch-on-color": "#0065fc" },
562
- onChange: e[9] || (e[9] = (l) => de())
563
- }, null, 8, ["modelValue"])
564
- ])
565
- ]),
566
- t("div", Cl, [
567
- e[37] || (e[37] = t("div", null, "Z轴向上", -1)),
568
- t("div", null, [
569
- a(V, {
570
- modelValue: S.value,
571
- "onUpdate:modelValue": e[10] || (e[10] = (l) => S.value = l),
572
- style: { "--el-switch-on-color": "#0065fc" },
573
- onChange: e[11] || (e[11] = (l) => ae())
574
- }, null, 8, ["modelValue"])
575
- ])
576
- ]),
577
- t("div", Sl, [
578
- e[38] || (e[38] = C(" 显示模型空间 ")),
579
- a(V, {
580
- modelValue: N.value,
581
- "onUpdate:modelValue": e[12] || (e[12] = (l) => N.value = l),
582
- style: { "--el-switch-on-color": "#0065fc" },
583
- onChange: me
584
- }, null, 8, ["modelValue"])
585
- ]),
586
- t("div", Il, [
587
- e[39] || (e[39] = C(" 空间效果 ")),
588
- a(ge, {
589
- modelValue: k.value,
590
- "onUpdate:modelValue": e[13] || (e[13] = (l) => k.value = l),
591
- size: "small"
592
- }, {
593
- default: y(() => [
594
- (s(!0), m(H, null, J(x.value, (l) => (s(), f(fe, {
595
- key: l,
596
- label: l,
597
- onChange: (Z) => pe(l)
598
- }, null, 8, ["label", "onChange"]))), 128))
599
- ]),
600
- _: 1
601
- }, 8, ["modelValue"])
602
- ])
603
- ]),
604
- _: 1
605
- })
606
- ])
607
- ]),
608
- _: 1
609
- }, 8, ["width"]));
610
- };
611
- }
612
- }), et = /* @__PURE__ */ Xe(Gl, [["__scopeId", "data-v-04b77ebb"]]);
613
- export {
614
- et as default
615
- };