@xtctwins/tctwins-bimx-engine 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/{AnnotationTool-BvFG1vTX.mjs → AnnotationTool-CgiAUuLM.mjs} +12 -12
  2. package/dist/BIMX_Viewer_Lib.es.js +4 -4
  3. package/dist/BIMX_Viewer_Lib.umd.js +86 -91
  4. package/dist/CommentTool-BeT1ECI-.mjs +338 -0
  5. package/dist/HiddenTool-qqISJ_uV.mjs +58 -0
  6. package/dist/InspectorTool-CLPjV6WW.mjs +609 -0
  7. package/dist/MeasureTool-Be-rmUeb.mjs +1540 -0
  8. package/dist/{NavigateTool-CCIb1X4u.mjs → NavigateTool-C-VsKB0k.mjs} +7 -7
  9. package/dist/{RoamTool-B1w0efz8.mjs → RoamTool-DdHBNeVg.mjs} +20 -20
  10. package/dist/{ScreenShotTool-BviRVFSg.mjs → ScreenShotTool-Da7D2dkW.mjs} +67 -67
  11. package/dist/SectionTool-CHcmUQul.mjs +624 -0
  12. package/dist/SettingTool-CkR1F4x_.mjs +525 -0
  13. package/dist/StructureTree-DBu9xTue.mjs +1438 -0
  14. package/dist/{debounce-Cg3LHv0T.mjs → debounce-DLzt_q3i.mjs} +13 -13
  15. package/dist/{el-checkbox-lp8vWAXQ.mjs → el-checkbox-DsUGOsl_.mjs} +46 -46
  16. package/dist/{el-input-Bwqgf3wZ.mjs → el-input-UdjCNTtW.mjs} +66 -68
  17. package/dist/{el-input-number-0OWyX276.mjs → el-input-number-ySU-dVGM.mjs} +75 -75
  18. package/dist/{index-CQ8depiU.mjs → index-BfLgpvcd.mjs} +3 -3
  19. package/dist/{index-CYEu_kT4.mjs → index-DQKkZiNH.mjs} +1 -1
  20. package/dist/{index-DX-eYsBm.mjs → index-DyFDTMAw.mjs} +1795 -1794
  21. package/dist/{isEqual-Bg-tyY30.mjs → isEqual-BWlMaoTp.mjs} +9 -9
  22. package/dist/panel.vue_vue_type_style_index_0_lang-ZCDiwNFo.mjs +96 -0
  23. package/dist/style.css +1 -1
  24. package/dist/tallPanel-Cz_n6AsB.mjs +49 -0
  25. package/package.json +1 -1
  26. package/types/components/utilsComponents/tallPanel.vue.d.ts +41 -0
  27. package/types/services/fileApi/fileManager.d.ts +5 -5
  28. package/types/store/themeManager.d.ts +1 -1
  29. package/dist/CommentTool-B6ruuuGV.mjs +0 -338
  30. package/dist/HiddenTool-DW-lRdW5.mjs +0 -58
  31. package/dist/InspectorTool-Cc288ySp.mjs +0 -515
  32. package/dist/MeasureTool-DdfM3U_3.mjs +0 -1542
  33. package/dist/SectionTool-jSjWX32j.mjs +0 -630
  34. package/dist/SettingTool-CVMZAx2H.mjs +0 -536
  35. package/dist/StructureTree-4OCdRRPG.mjs +0 -2672
  36. package/dist/panel.vue_vue_type_style_index_0_scope_true_lang-BfE1I0S9.mjs +0 -82
@@ -0,0 +1,525 @@
1
+ import { z as ye, K as ke, N as we, U as Z, e as J, I as Q, u as Ce, W as Ie, d as de, _ as Se, Y as ue, Z as Ee, w as Te, j as Be, T as re, l as ve, k as me, m as Ne } from "./index-DyFDTMAw.mjs";
2
+ import { _ as Pe, a as Ue } from "./panel.vue_vue_type_style_index_0_lang-ZCDiwNFo.mjs";
3
+ import { E as Me, a as ze } from "./el-checkbox-DsUGOsl_.mjs";
4
+ import { E as Ae } from "./el-input-number-ySU-dVGM.mjs";
5
+ import { c as $e, i as j, U as X, C as x, I as ee, e as De, u as Fe, f as Le, h as Oe, E as U } from "./el-input-UdjCNTtW.mjs";
6
+ import { defineComponent as le, computed as P, ref as m, watch as he, onMounted as ge, openBlock as i, createElementBlock as p, normalizeClass as g, unref as n, withModifiers as Ke, createElementVNode as l, withKeys as Ge, createBlock as h, withCtx as _, resolveDynamicComponent as F, createCommentVNode as f, toDisplayString as O, normalizeStyle as L, createVNode as r, renderSlot as pe, nextTick as Re, createTextVNode as V, Fragment as H, renderList as Y } from "vue";
7
+ import { b as fe } from "./const-CbUmfuHy.mjs";
8
+ import { Loading as We } from "@element-plus/icons-vue";
9
+ const je = (d) => ["", ...$e].includes(d), He = ye({
10
+ modelValue: {
11
+ type: [Boolean, String, Number],
12
+ default: !1
13
+ },
14
+ disabled: Boolean,
15
+ loading: Boolean,
16
+ size: {
17
+ type: String,
18
+ validator: je
19
+ },
20
+ width: {
21
+ type: [String, Number],
22
+ default: ""
23
+ },
24
+ inlinePrompt: Boolean,
25
+ inactiveActionIcon: {
26
+ type: j
27
+ },
28
+ activeActionIcon: {
29
+ type: j
30
+ },
31
+ activeIcon: {
32
+ type: j
33
+ },
34
+ inactiveIcon: {
35
+ type: j
36
+ },
37
+ activeText: {
38
+ type: String,
39
+ default: ""
40
+ },
41
+ inactiveText: {
42
+ type: String,
43
+ default: ""
44
+ },
45
+ activeValue: {
46
+ type: [Boolean, String, Number],
47
+ default: !0
48
+ },
49
+ inactiveValue: {
50
+ type: [Boolean, String, Number],
51
+ default: !1
52
+ },
53
+ name: {
54
+ type: String,
55
+ default: ""
56
+ },
57
+ validateEvent: {
58
+ type: Boolean,
59
+ default: !0
60
+ },
61
+ beforeChange: {
62
+ type: ke(Function)
63
+ },
64
+ id: String,
65
+ tabindex: {
66
+ type: [String, Number]
67
+ },
68
+ ...we(["ariaLabel"])
69
+ }), Ye = {
70
+ [X]: (d) => Z(d) || J(d) || Q(d),
71
+ [x]: (d) => Z(d) || J(d) || Q(d),
72
+ [ee]: (d) => Z(d) || J(d) || Q(d)
73
+ }, te = "ElSwitch", Ze = le({
74
+ name: te
75
+ }), qe = /* @__PURE__ */ le({
76
+ ...Ze,
77
+ props: He,
78
+ emits: Ye,
79
+ setup(d, { expose: q, emit: w }) {
80
+ const a = d, { formItem: C } = De(), I = Fe(), s = Ce("switch"), { inputId: K } = Le(a, {
81
+ formItemContext: C
82
+ }), y = Oe(P(() => a.loading)), N = m(a.modelValue !== !1), b = m(), z = m(), S = P(() => [
83
+ s.b(),
84
+ s.m(I.value),
85
+ s.is("disabled", y.value),
86
+ s.is("checked", c.value)
87
+ ]), E = P(() => [
88
+ s.e("label"),
89
+ s.em("label", "left"),
90
+ s.is("active", !c.value)
91
+ ]), T = P(() => [
92
+ s.e("label"),
93
+ s.em("label", "right"),
94
+ s.is("active", c.value)
95
+ ]), G = P(() => ({
96
+ width: Ie(a.width)
97
+ }));
98
+ he(() => a.modelValue, () => {
99
+ N.value = !0;
100
+ });
101
+ const A = P(() => N.value ? a.modelValue : !1), c = P(() => A.value === a.activeValue);
102
+ [a.activeValue, a.inactiveValue].includes(A.value) || (w(X, a.inactiveValue), w(x, a.inactiveValue), w(ee, a.inactiveValue)), he(c, (e) => {
103
+ var v;
104
+ b.value.checked = e, a.validateEvent && ((v = C == null ? void 0 : C.validate) == null || v.call(C, "change").catch((D) => de(D)));
105
+ });
106
+ const B = () => {
107
+ const e = c.value ? a.inactiveValue : a.activeValue;
108
+ w(X, e), w(x, e), w(ee, e), Re(() => {
109
+ b.value.checked = c.value;
110
+ });
111
+ }, $ = () => {
112
+ if (y.value)
113
+ return;
114
+ const { beforeChange: e } = a;
115
+ if (!e) {
116
+ B();
117
+ return;
118
+ }
119
+ const v = e();
120
+ [
121
+ ue(v),
122
+ Z(v)
123
+ ].includes(!0) || Ee(te, "beforeChange must return type `Promise<boolean>` or `boolean`"), ue(v) ? v.then((M) => {
124
+ M && B();
125
+ }).catch((M) => {
126
+ de(te, `some error occurred: ${M}`);
127
+ }) : v && B();
128
+ }, R = () => {
129
+ var e, v;
130
+ (v = (e = b.value) == null ? void 0 : e.focus) == null || v.call(e);
131
+ };
132
+ return ge(() => {
133
+ b.value.checked = c.value;
134
+ }), q({
135
+ focus: R,
136
+ checked: c
137
+ }), (e, v) => (i(), p("div", {
138
+ class: g(n(S)),
139
+ onClick: Ke($, ["prevent"])
140
+ }, [
141
+ l("input", {
142
+ id: n(K),
143
+ ref_key: "input",
144
+ ref: b,
145
+ class: g(n(s).e("input")),
146
+ type: "checkbox",
147
+ role: "switch",
148
+ "aria-checked": n(c),
149
+ "aria-disabled": n(y),
150
+ "aria-label": e.ariaLabel,
151
+ name: e.name,
152
+ "true-value": e.activeValue,
153
+ "false-value": e.inactiveValue,
154
+ disabled: n(y),
155
+ tabindex: e.tabindex,
156
+ onChange: B,
157
+ onKeydown: Ge($, ["enter"])
158
+ }, null, 42, ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"]),
159
+ !e.inlinePrompt && (e.inactiveIcon || e.inactiveText) ? (i(), p("span", {
160
+ key: 0,
161
+ class: g(n(E))
162
+ }, [
163
+ e.inactiveIcon ? (i(), h(n(U), { key: 0 }, {
164
+ default: _(() => [
165
+ (i(), h(F(e.inactiveIcon)))
166
+ ]),
167
+ _: 1
168
+ })) : f("v-if", !0),
169
+ !e.inactiveIcon && e.inactiveText ? (i(), p("span", {
170
+ key: 1,
171
+ "aria-hidden": n(c)
172
+ }, O(e.inactiveText), 9, ["aria-hidden"])) : f("v-if", !0)
173
+ ], 2)) : f("v-if", !0),
174
+ l("span", {
175
+ ref_key: "core",
176
+ ref: z,
177
+ class: g(n(s).e("core")),
178
+ style: L(n(G))
179
+ }, [
180
+ e.inlinePrompt ? (i(), p("div", {
181
+ key: 0,
182
+ class: g(n(s).e("inner"))
183
+ }, [
184
+ e.activeIcon || e.inactiveIcon ? (i(), h(n(U), {
185
+ key: 0,
186
+ class: g(n(s).is("icon"))
187
+ }, {
188
+ default: _(() => [
189
+ (i(), h(F(n(c) ? e.activeIcon : e.inactiveIcon)))
190
+ ]),
191
+ _: 1
192
+ }, 8, ["class"])) : e.activeText || e.inactiveText ? (i(), p("span", {
193
+ key: 1,
194
+ class: g(n(s).is("text")),
195
+ "aria-hidden": !n(c)
196
+ }, O(n(c) ? e.activeText : e.inactiveText), 11, ["aria-hidden"])) : f("v-if", !0)
197
+ ], 2)) : f("v-if", !0),
198
+ l("div", {
199
+ class: g(n(s).e("action"))
200
+ }, [
201
+ e.loading ? (i(), h(n(U), {
202
+ key: 0,
203
+ class: g(n(s).is("loading"))
204
+ }, {
205
+ default: _(() => [
206
+ r(n(We))
207
+ ]),
208
+ _: 1
209
+ }, 8, ["class"])) : n(c) ? pe(e.$slots, "active-action", { key: 1 }, () => [
210
+ e.activeActionIcon ? (i(), h(n(U), { key: 0 }, {
211
+ default: _(() => [
212
+ (i(), h(F(e.activeActionIcon)))
213
+ ]),
214
+ _: 1
215
+ })) : f("v-if", !0)
216
+ ]) : n(c) ? f("v-if", !0) : pe(e.$slots, "inactive-action", { key: 2 }, () => [
217
+ e.inactiveActionIcon ? (i(), h(n(U), { key: 0 }, {
218
+ default: _(() => [
219
+ (i(), h(F(e.inactiveActionIcon)))
220
+ ]),
221
+ _: 1
222
+ })) : f("v-if", !0)
223
+ ])
224
+ ], 2)
225
+ ], 6),
226
+ !e.inlinePrompt && (e.activeIcon || e.activeText) ? (i(), p("span", {
227
+ key: 1,
228
+ class: g(n(T))
229
+ }, [
230
+ e.activeIcon ? (i(), h(n(U), { key: 0 }, {
231
+ default: _(() => [
232
+ (i(), h(F(e.activeIcon)))
233
+ ]),
234
+ _: 1
235
+ })) : f("v-if", !0),
236
+ !e.activeIcon && e.activeText ? (i(), p("span", {
237
+ key: 1,
238
+ "aria-hidden": !n(c)
239
+ }, O(e.activeText), 9, ["aria-hidden"])) : f("v-if", !0)
240
+ ], 2)) : f("v-if", !0)
241
+ ], 10, ["onClick"]));
242
+ }
243
+ });
244
+ var Je = /* @__PURE__ */ Se(qe, [["__file", "switch.vue"]]);
245
+ const Qe = Te(Je), Xe = { style: { height: "var(--setting-content-height)" } }, xe = /* @__PURE__ */ l("div", { class: "setting-title" }, "效果", -1), et = {
246
+ key: 0,
247
+ class: "color-list"
248
+ }, tt = ["onClick"], lt = { class: "setting-effect" }, ot = { class: "setting-effect" }, nt = { class: "light-slider" }, it = /* @__PURE__ */ l("div", { class: "setting-title" }, "外观模式", -1), st = { class: "setting-effect" }, at = /* @__PURE__ */ l("div", { class: "setting-title" }, "模型视角切换", -1), ct = { class: "setting-effect" }, dt = { class: "setting-effect" }, ut = { class: "setting-effect" }, rt = { class: "setting-effect" }, vt = { class: "setting_panel" }, mt = { class: "setting-title-box" }, ht = /* @__PURE__ */ l("div", { class: "setting-title" }, "设置", -1), pt = { class: "setting-title-icon" }, ft = { class: "setting-color-box" }, gt = { class: "setting-color-list" }, _t = ["onClick"], bt = { class: "setting-config-box" }, Vt = { class: "setting-switch-item" }, yt = /* @__PURE__ */ l("div", null, "显示边缘", -1), kt = { class: "setting-switch-item" }, wt = /* @__PURE__ */ l("div", null, "光源强度", -1), Ct = { class: "light-slider" }, It = { class: "setting-switch-item" }, St = /* @__PURE__ */ l("div", null, "透视/正交", -1), Et = { class: "setting-switch-item" }, Tt = /* @__PURE__ */ l("div", null, "2D/3D", -1), Bt = { class: "setting-switch-item" }, Nt = /* @__PURE__ */ l("div", null, "显示模型空间", -1), Pt = { class: "setting-switch-item" }, Ut = /* @__PURE__ */ l("div", null, "空间效果", -1), Gt = /* @__PURE__ */ le({
249
+ __name: "SettingTool",
250
+ props: ["componentId"],
251
+ emits: ["closePanel"],
252
+ setup(d, { emit: q }) {
253
+ const w = Be(), a = d, C = m(0);
254
+ ge(() => {
255
+ w.setReadyById(a.componentId), re.currentTheme == "blue" ? C.value = 240 : re.currentTheme == "light-gray" && (C.value = 202);
256
+ });
257
+ let I;
258
+ const s = m(!1), K = m(!0), y = m(!1), N = m(!0), b = m(!1), z = m(!1), S = m(), E = m(50), T = m(["亮"]), G = m(["亮", "暗"]), A = m("#linear-gradient(180deg, #fffefb 0%, #daebff 100%)"), c = q;
259
+ ve.on("BimViewer", () => {
260
+ I = window.BimViewer, console.log("BimViewer"), v(!1);
261
+ });
262
+ const B = (u) => {
263
+ u && u.target.id != "setting_back" || (c("closePanel"), $(!1));
264
+ }, $ = (u = !z.value) => {
265
+ z.value = u;
266
+ }, R = (u) => {
267
+ S.value = u.id, A.value = u.color, ve.emit("changeBackgroundColor", u.color);
268
+ }, e = (u) => {
269
+ I.setLightIntensity(u);
270
+ }, v = (u) => {
271
+ I.setEdgesEnabled(u);
272
+ }, D = () => {
273
+ I.SetThreeDModeActive(), me("isMobile") && (window.BimViewer.navCubeMode.visible = !1);
274
+ }, M = () => {
275
+ I.SetOrthoModeActive();
276
+ }, oe = () => {
277
+ I.SetShowSpaceModeActive();
278
+ }, ne = (u) => {
279
+ u == "亮" ? window.BimViewer.setSpaceMaterialColor(1) : window.BimViewer.setSpaceMaterialColor(2), T.value = T.value.includes(u) ? [u] : [];
280
+ };
281
+ return (u, o) => {
282
+ const k = Qe, ie = Ae, se = Me, ae = ze, ce = Ne, _e = Pe, be = Ue, Ve = U;
283
+ return n(me)("isMobile") ? (i(), p("div", {
284
+ key: 1,
285
+ id: "setting_back",
286
+ class: "setting_back",
287
+ onClick: B
288
+ }, [
289
+ l("div", vt, [
290
+ l("div", mt, [
291
+ ht,
292
+ l("div", pt, [
293
+ r(be, { "click-handle": B })
294
+ ])
295
+ ]),
296
+ l("div", ft, [
297
+ l("div", gt, [
298
+ (i(!0), p(H, null, Y(n(fe), (t, W) => (i(), p("div", {
299
+ key: W,
300
+ class: g(["setting-color-item", {
301
+ "setting-color-item-active": S.value === t.id
302
+ }]),
303
+ onClick: (Mt) => R(t)
304
+ }, [
305
+ l("div", {
306
+ class: "setting-color-icon",
307
+ style: L({
308
+ background: t.color,
309
+ border: t.id === S.value ? "0.02rem solid #0065FC" : ""
310
+ })
311
+ }, null, 4),
312
+ l("div", {
313
+ class: "setting-color-name",
314
+ style: L({ color: t.id === S.value ? "#0065FC" : "" })
315
+ }, [
316
+ V(O(t.name) + " ", 1),
317
+ t.id === S.value ? (i(), h(Ve, {
318
+ key: 0,
319
+ color: "#0065fc",
320
+ size: "0.24rem"
321
+ })) : f("", !0)
322
+ ], 4)
323
+ ], 10, _t))), 128))
324
+ ])
325
+ ]),
326
+ l("div", bt, [
327
+ r(ce, { height: "188" }, {
328
+ default: _(() => [
329
+ l("div", Vt, [
330
+ yt,
331
+ l("div", null, [
332
+ r(k, {
333
+ modelValue: s.value,
334
+ "onUpdate:modelValue": o[10] || (o[10] = (t) => s.value = t),
335
+ size: "large",
336
+ onChange: o[11] || (o[11] = (t) => v())
337
+ }, null, 8, ["modelValue"])
338
+ ])
339
+ ]),
340
+ l("div", kt, [
341
+ wt,
342
+ l("div", Ct, [
343
+ r(ie, {
344
+ modelValue: E.value,
345
+ "onUpdate:modelValue": o[12] || (o[12] = (t) => E.value = t),
346
+ onInput: o[13] || (o[13] = (t) => e(E.value))
347
+ }, null, 8, ["modelValue"])
348
+ ])
349
+ ]),
350
+ l("div", It, [
351
+ St,
352
+ l("div", null, [
353
+ r(k, {
354
+ modelValue: y.value,
355
+ "onUpdate:modelValue": o[14] || (o[14] = (t) => y.value = t),
356
+ size: "large",
357
+ onChange: M
358
+ }, null, 8, ["modelValue"])
359
+ ])
360
+ ]),
361
+ l("div", Et, [
362
+ Tt,
363
+ l("div", null, [
364
+ r(k, {
365
+ modelValue: N.value,
366
+ "onUpdate:modelValue": o[15] || (o[15] = (t) => N.value = t),
367
+ size: "large",
368
+ onChange: D
369
+ }, null, 8, ["modelValue"])
370
+ ])
371
+ ]),
372
+ l("div", Bt, [
373
+ Nt,
374
+ l("div", null, [
375
+ r(k, {
376
+ modelValue: b.value,
377
+ "onUpdate:modelValue": o[16] || (o[16] = (t) => b.value = t),
378
+ size: "large",
379
+ onChange: oe
380
+ }, null, 8, ["modelValue"])
381
+ ])
382
+ ]),
383
+ l("div", Pt, [
384
+ Ut,
385
+ r(ae, {
386
+ modelValue: T.value,
387
+ "onUpdate:modelValue": o[17] || (o[17] = (t) => T.value = t)
388
+ }, {
389
+ default: _(() => [
390
+ (i(!0), p(H, null, Y(G.value, (t) => (i(), h(se, {
391
+ key: t,
392
+ label: t,
393
+ onChange: (W) => ne(t)
394
+ }, null, 8, ["label", "onChange"]))), 128))
395
+ ]),
396
+ _: 1
397
+ }, 8, ["modelValue"])
398
+ ])
399
+ ]),
400
+ _: 1
401
+ })
402
+ ])
403
+ ])
404
+ ])) : (i(), h(_e, {
405
+ key: 0,
406
+ class: "setting_contaier",
407
+ width: C.value,
408
+ panelTitle: "设置",
409
+ "click-handle": B,
410
+ style: { height: "var(--setting-panel-height)" }
411
+ }, {
412
+ default: _(() => [
413
+ l("div", Xe, [
414
+ r(ce, null, {
415
+ default: _(() => [
416
+ xe,
417
+ l("div", {
418
+ class: "setting-effect",
419
+ onClick: o[0] || (o[0] = (t) => $())
420
+ }, [
421
+ V(" 背景颜色 "),
422
+ l("div", {
423
+ class: "choose-color",
424
+ style: L({ background: A.value })
425
+ }, null, 4)
426
+ ]),
427
+ z.value ? (i(), p("div", et, [
428
+ (i(!0), p(H, null, Y(n(fe), (t) => (i(), p("div", {
429
+ key: t.id,
430
+ class: g(["color-item", { "color-item-active": S.value === t.id }]),
431
+ onClick: (W) => R(t)
432
+ }, [
433
+ l("div", {
434
+ class: "bg",
435
+ style: L({ background: t.color, border: t.id === 4 ? "1px solid #F1F1F1" : "none" })
436
+ }, null, 4),
437
+ V(" " + O(t.name), 1)
438
+ ], 10, tt))), 128))
439
+ ])) : f("", !0),
440
+ l("div", lt, [
441
+ V(" 显示边缘 "),
442
+ r(k, {
443
+ modelValue: s.value,
444
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => s.value = t),
445
+ style: { "--el-switch-on-color": "#0065fc" },
446
+ onChange: o[2] || (o[2] = (t) => v())
447
+ }, null, 8, ["modelValue"])
448
+ ]),
449
+ l("div", ot, [
450
+ V(" 光源强度 "),
451
+ l("div", nt, [
452
+ r(ie, {
453
+ modelValue: E.value,
454
+ "onUpdate:modelValue": o[3] || (o[3] = (t) => E.value = t),
455
+ onInput: o[4] || (o[4] = (t) => e(E.value))
456
+ }, null, 8, ["modelValue"])
457
+ ])
458
+ ]),
459
+ it,
460
+ l("div", st, [
461
+ V(" 日间/夜间模式 "),
462
+ r(k, {
463
+ modelValue: K.value,
464
+ "onUpdate:modelValue": o[5] || (o[5] = (t) => K.value = t),
465
+ style: { "--el-switch-on-color": "#0065fc" }
466
+ }, null, 8, ["modelValue"])
467
+ ]),
468
+ at,
469
+ l("div", ct, [
470
+ V(" 透视/正交 "),
471
+ r(k, {
472
+ modelValue: y.value,
473
+ "onUpdate:modelValue": o[6] || (o[6] = (t) => y.value = t),
474
+ style: { "--el-switch-on-color": "#0065fc" },
475
+ onChange: M
476
+ }, null, 8, ["modelValue"])
477
+ ]),
478
+ l("div", dt, [
479
+ V(" 2D/3D "),
480
+ r(k, {
481
+ modelValue: N.value,
482
+ "onUpdate:modelValue": o[7] || (o[7] = (t) => N.value = t),
483
+ style: { "--el-switch-on-color": "#0065fc" },
484
+ onChange: D
485
+ }, null, 8, ["modelValue"])
486
+ ]),
487
+ l("div", ut, [
488
+ V(" 显示模型空间 "),
489
+ r(k, {
490
+ modelValue: b.value,
491
+ "onUpdate:modelValue": o[8] || (o[8] = (t) => b.value = t),
492
+ style: { "--el-switch-on-color": "#0065fc" },
493
+ onChange: oe
494
+ }, null, 8, ["modelValue"])
495
+ ]),
496
+ l("div", rt, [
497
+ V(" 空间效果 "),
498
+ r(ae, {
499
+ modelValue: T.value,
500
+ "onUpdate:modelValue": o[9] || (o[9] = (t) => T.value = t),
501
+ size: "small"
502
+ }, {
503
+ default: _(() => [
504
+ (i(!0), p(H, null, Y(G.value, (t) => (i(), h(se, {
505
+ key: t,
506
+ label: t,
507
+ onChange: (W) => ne(t)
508
+ }, null, 8, ["label", "onChange"]))), 128))
509
+ ]),
510
+ _: 1
511
+ }, 8, ["modelValue"])
512
+ ])
513
+ ]),
514
+ _: 1
515
+ })
516
+ ])
517
+ ]),
518
+ _: 1
519
+ }, 8, ["width"]));
520
+ };
521
+ }
522
+ });
523
+ export {
524
+ Gt as default
525
+ };