@xtctwins/tctwins-bimx-engine 0.1.21 → 0.1.23

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