@xtctwins/tctwins-bimx-engine 0.3.8 → 0.3.10
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/dist/{AnnotationTool-DgppLcwx.mjs → AnnotationTool-w5bGE9cJ.mjs} +32 -32
- package/dist/BIMX_Viewer_Lib.es.js +4 -4
- package/dist/BIMX_Viewer_Lib.umd.js +211 -161
- package/dist/{CameraViewTool-BReDlFEv.mjs → CameraViewTool-CojdKWOg.mjs} +36 -36
- package/dist/{CommentTool-D6DWQCa5.mjs → CommentTool-B9VooYuw.mjs} +137 -137
- package/dist/{HiddenTool-B8rcAH0z.mjs → HiddenTool-Ckt9Rq-S.mjs} +14 -14
- package/dist/{InspectorTool-WZToT3N-.mjs → InspectorTool-IbSGNc-p.mjs} +12 -12
- package/dist/{MeasureTool-DIHDiSpu.mjs → MeasureTool-ce0glmOH.mjs} +57 -57
- package/dist/{MouseTool-DgV53G0A.mjs → MouseTool-DEx7EQjC.mjs} +12 -12
- package/dist/{NavigateTool-8DMKaXiT.mjs → NavigateTool-CezBNc2T.mjs} +3 -3
- package/dist/{RoamTool-CyvTgXrr.mjs → RoamTool-B-sG7gTn.mjs} +15 -15
- package/dist/ScreenShotTool-Ybx6fN8G.mjs +430 -0
- package/dist/{SectionTool-DfjGtjao.mjs → SectionTool-Bk_tM0iv.mjs} +60 -60
- package/dist/SettingTool-I5JTKEs4.mjs +695 -0
- package/dist/StructureTree-B4zsT8iE.mjs +1686 -0
- package/dist/{alert-DRz67LTB.mjs → alert-mCw4l6h5.mjs} +6 -6
- package/dist/el-slider-Coa3NGV1.mjs +1059 -0
- package/dist/{index-Bv-246pp.mjs → index-12nO3dW-.mjs} +63048 -61137
- package/dist/{panel.vue_vue_type_style_index_0_lang-DMkX22H2.mjs → panel.vue_vue_type_style_index_0_lang-DrlLccGf.mjs} +1 -1
- package/dist/style.css +3 -3
- package/dist/{tallPanel-CBDkSWkE.mjs → tallPanel-B3pDz4Za.mjs} +10 -10
- package/package.json +11 -3
- package/types/App.vue.d.ts +3 -1
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
- package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
- package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
- package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
- package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
- package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +270 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +291 -7
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
- package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +11642 -1
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimxViewerComp.vue.d.ts +7 -21
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +291 -7
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +270 -1
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -7
- package/types/components/utilsComponents/alert.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
- package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
- package/types/components/utilsComponents/loading.vue.d.ts +1 -1
- package/types/components/utilsComponents/panel.vue.d.ts +8 -2
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
- package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
- package/types/pages/BimxViewerEntry.vue.d.ts +4 -63
- package/types/store/toolbars.d.ts +50 -50
- package/types/utils/OSSHelper.d.ts +0 -2
- package/types/viewerManager/load/loadModel.d.ts +0 -88
- package/dist/01.xtc +0 -0
- package/dist/02.xtc +0 -0
- package/dist/03.xtc +0 -0
- package/dist/ScreenShotTool-HqPWEnrT.mjs +0 -357
- package/dist/SettingTool-DTIFj4Tj.mjs +0 -657
- package/dist/StructureTree-Cu7KYRrz.mjs +0 -1583
- package/dist/el-input-number-BGkEOqim.mjs +0 -818
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +0 -10
- package/types/components/bimxViewer.vue.d.ts +0 -27
- package/types/pages/viewerEntry.vue.d.ts +0 -116
- package/types/tests/cmt.d.ts +0 -1
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
import { c as Fe, an as fe, g as ee, o as ve, ac as re, ab as ge, ad as he, b as Ke, h as J, af as Re, j as We, aj as _e, a as je, u as He, ak as Ge, ag as Ye, ao as Ze, x as $e, N as qe, E as F, ap as Ae, aq as Je, w as Qe, F as Xe, O as et, G as tt, T as Ue, H as L, I as K, K as lt, ar as ot, v as nt, L as it, Y as st, M as at } from "./index-12nO3dW-.mjs";
|
|
2
|
+
import { _ as ut } from "./panel.vue_vue_type_style_index_0_lang-DrlLccGf.mjs";
|
|
3
|
+
import { E as dt } from "./el-slider-Coa3NGV1.mjs";
|
|
4
|
+
import { Loading as ct } from "@element-plus/icons-vue";
|
|
5
|
+
import { defineComponent as Be, computed as O, ref as p, shallowRef as vt, watch as pe, onMounted as Me, openBlock as s, createElementBlock as g, withModifiers as rt, normalizeClass as C, createElementVNode as l, withKeys as mt, unref as n, renderSlot as R, createBlock as w, withCtx as I, resolveDynamicComponent as W, createCommentVNode as y, toDisplayString as a, normalizeStyle as Y, createVNode as r, nextTick as ft, onBeforeUnmount as gt, Fragment as Q, createTextVNode as M, renderList as me } from "vue";
|
|
6
|
+
import { b as _ } from "./const-DOnRsYpZ.mjs";
|
|
7
|
+
import { T as ht } from "./timer-DoTiGoWP.mjs";
|
|
8
|
+
const pt = (o) => ["", ...Fe].includes(o), yt = Ke({
|
|
9
|
+
/**
|
|
10
|
+
* @description binding value, it should be equivalent to either `active-value` or `inactive-value`, by default it's `boolean` type
|
|
11
|
+
*/
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: [
|
|
14
|
+
Boolean,
|
|
15
|
+
String,
|
|
16
|
+
Number
|
|
17
|
+
],
|
|
18
|
+
default: !1
|
|
19
|
+
},
|
|
20
|
+
/**
|
|
21
|
+
* @description whether Switch is disabled
|
|
22
|
+
*/
|
|
23
|
+
disabled: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: void 0
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* @description whether Switch is in loading state
|
|
29
|
+
*/
|
|
30
|
+
loading: Boolean,
|
|
31
|
+
/**
|
|
32
|
+
* @description size of Switch
|
|
33
|
+
*/
|
|
34
|
+
size: {
|
|
35
|
+
type: String,
|
|
36
|
+
validator: pt
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
* @description width of Switch
|
|
40
|
+
*/
|
|
41
|
+
width: {
|
|
42
|
+
type: [String, Number],
|
|
43
|
+
default: ""
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* @description whether icon or text is displayed inside dot, only the first character will be rendered for text
|
|
47
|
+
*/
|
|
48
|
+
inlinePrompt: Boolean,
|
|
49
|
+
/**
|
|
50
|
+
* @description component of the icon displayed in action when in `off` state
|
|
51
|
+
*/
|
|
52
|
+
inactiveActionIcon: { type: J },
|
|
53
|
+
/**
|
|
54
|
+
* @description component of the icon displayed in action when in `on` state
|
|
55
|
+
*/
|
|
56
|
+
activeActionIcon: { type: J },
|
|
57
|
+
/**
|
|
58
|
+
* @description component of the icon displayed when in `on` state, overrides `active-text`
|
|
59
|
+
*/
|
|
60
|
+
activeIcon: { type: J },
|
|
61
|
+
/**
|
|
62
|
+
* @description component of the icon displayed when in `off` state, overrides `inactive-text`
|
|
63
|
+
*/
|
|
64
|
+
inactiveIcon: { type: J },
|
|
65
|
+
/**
|
|
66
|
+
* @description text displayed when in `on` state
|
|
67
|
+
*/
|
|
68
|
+
activeText: {
|
|
69
|
+
type: String,
|
|
70
|
+
default: ""
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* @description text displayed when in `off` state
|
|
74
|
+
*/
|
|
75
|
+
inactiveText: {
|
|
76
|
+
type: String,
|
|
77
|
+
default: ""
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* @description switch value when in `on` state
|
|
81
|
+
*/
|
|
82
|
+
activeValue: {
|
|
83
|
+
type: [
|
|
84
|
+
Boolean,
|
|
85
|
+
String,
|
|
86
|
+
Number
|
|
87
|
+
],
|
|
88
|
+
default: !0
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* @description switch value when in `off` state
|
|
92
|
+
*/
|
|
93
|
+
inactiveValue: {
|
|
94
|
+
type: [
|
|
95
|
+
Boolean,
|
|
96
|
+
String,
|
|
97
|
+
Number
|
|
98
|
+
],
|
|
99
|
+
default: !1
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* @description input name of Switch
|
|
103
|
+
*/
|
|
104
|
+
name: {
|
|
105
|
+
type: String,
|
|
106
|
+
default: ""
|
|
107
|
+
},
|
|
108
|
+
/**
|
|
109
|
+
* @description whether to trigger form validation
|
|
110
|
+
*/
|
|
111
|
+
validateEvent: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: !0
|
|
114
|
+
},
|
|
115
|
+
/**
|
|
116
|
+
* @description before-change hook before the switch state changes. If `false` is returned or a `Promise` is returned and then is rejected, will stop switching
|
|
117
|
+
*/
|
|
118
|
+
beforeChange: { type: We(Function) },
|
|
119
|
+
/**
|
|
120
|
+
* @description id for input
|
|
121
|
+
*/
|
|
122
|
+
id: String,
|
|
123
|
+
/**
|
|
124
|
+
* @description tabindex for input
|
|
125
|
+
*/
|
|
126
|
+
tabindex: { type: [String, Number] },
|
|
127
|
+
...Re(["ariaLabel"])
|
|
128
|
+
}), wt = {
|
|
129
|
+
[he]: (o) => ee(o) || ve(o) || re(o),
|
|
130
|
+
[ge]: (o) => ee(o) || ve(o) || re(o),
|
|
131
|
+
[fe]: (o) => ee(o) || ve(o) || re(o)
|
|
132
|
+
}, bt = [
|
|
133
|
+
"id",
|
|
134
|
+
"aria-checked",
|
|
135
|
+
"aria-disabled",
|
|
136
|
+
"aria-label",
|
|
137
|
+
"name",
|
|
138
|
+
"true-value",
|
|
139
|
+
"false-value",
|
|
140
|
+
"disabled",
|
|
141
|
+
"tabindex"
|
|
142
|
+
], Vt = ["aria-hidden"], kt = { key: 1 }, St = { key: 1 }, Ct = ["aria-hidden"], X = "ElSwitch";
|
|
143
|
+
var It = /* @__PURE__ */ Be({
|
|
144
|
+
name: X,
|
|
145
|
+
__name: "switch",
|
|
146
|
+
props: yt,
|
|
147
|
+
emits: wt,
|
|
148
|
+
setup(o, { expose: te, emit: u }) {
|
|
149
|
+
const h = o, D = u, { formItem: z } = _e(), j = je(), d = He("switch"), { inputId: E } = Ge(h, { formItemContext: z }), b = Ye(O(() => {
|
|
150
|
+
if (h.loading) return !0;
|
|
151
|
+
})), x = p(h.modelValue !== !1), V = vt(), k = O(() => [
|
|
152
|
+
d.b(),
|
|
153
|
+
d.m(j.value),
|
|
154
|
+
d.is("disabled", b.value),
|
|
155
|
+
d.is("checked", v.value)
|
|
156
|
+
]), A = O(() => [
|
|
157
|
+
d.e("label"),
|
|
158
|
+
d.em("label", "left"),
|
|
159
|
+
d.is("active", !v.value)
|
|
160
|
+
]), T = O(() => [
|
|
161
|
+
d.e("label"),
|
|
162
|
+
d.em("label", "right"),
|
|
163
|
+
d.is("active", v.value)
|
|
164
|
+
]), H = O(() => ({ width: Ze(h.width) }));
|
|
165
|
+
pe(() => h.modelValue, () => {
|
|
166
|
+
x.value = !0;
|
|
167
|
+
});
|
|
168
|
+
const $ = O(() => x.value ? h.modelValue : !1), v = O(() => $.value === h.activeValue);
|
|
169
|
+
[h.activeValue, h.inactiveValue].includes($.value) || ($e(X, "model-value must be active-value or inactive-value"), D(he, h.inactiveValue), D(ge, h.inactiveValue), D(fe, h.inactiveValue)), pe(v, (c) => {
|
|
170
|
+
var f;
|
|
171
|
+
V.value.checked = c, h.validateEvent && ((f = z == null ? void 0 : z.validate) == null || f.call(z, "change").catch(qe));
|
|
172
|
+
});
|
|
173
|
+
const N = () => {
|
|
174
|
+
const c = v.value ? h.inactiveValue : h.activeValue;
|
|
175
|
+
D(he, c), D(ge, c), D(fe, c), ft(() => {
|
|
176
|
+
V.value.checked = v.value;
|
|
177
|
+
});
|
|
178
|
+
}, U = () => {
|
|
179
|
+
if (b.value) return;
|
|
180
|
+
const { beforeChange: c } = h;
|
|
181
|
+
if (!c) {
|
|
182
|
+
N();
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
const f = c();
|
|
186
|
+
[Ae(f), ee(f)].includes(!0) || Je(X, "beforeChange must return type `Promise<boolean>` or `boolean`"), Ae(f) ? f.then((B) => {
|
|
187
|
+
B && N();
|
|
188
|
+
}).catch((B) => {
|
|
189
|
+
$e(X, `some error occurred: ${B}`);
|
|
190
|
+
}) : f && N();
|
|
191
|
+
}, Z = () => {
|
|
192
|
+
var c, f;
|
|
193
|
+
(f = (c = V.value) == null ? void 0 : c.focus) == null || f.call(c);
|
|
194
|
+
};
|
|
195
|
+
return Me(() => {
|
|
196
|
+
V.value.checked = v.value;
|
|
197
|
+
}), te({
|
|
198
|
+
/**
|
|
199
|
+
* @description manual focus to the switch component
|
|
200
|
+
**/
|
|
201
|
+
focus: Z,
|
|
202
|
+
/**
|
|
203
|
+
* @description whether Switch is checked
|
|
204
|
+
*/
|
|
205
|
+
checked: v
|
|
206
|
+
}), (c, f) => (s(), g("div", {
|
|
207
|
+
class: C(k.value),
|
|
208
|
+
onClick: rt(U, ["prevent"])
|
|
209
|
+
}, [
|
|
210
|
+
l("input", {
|
|
211
|
+
id: n(E),
|
|
212
|
+
ref_key: "input",
|
|
213
|
+
ref: V,
|
|
214
|
+
class: C(n(d).e("input")),
|
|
215
|
+
type: "checkbox",
|
|
216
|
+
role: "switch",
|
|
217
|
+
"aria-checked": v.value,
|
|
218
|
+
"aria-disabled": n(b),
|
|
219
|
+
"aria-label": o.ariaLabel,
|
|
220
|
+
name: o.name,
|
|
221
|
+
"true-value": o.activeValue,
|
|
222
|
+
"false-value": o.inactiveValue,
|
|
223
|
+
disabled: n(b),
|
|
224
|
+
tabindex: o.tabindex,
|
|
225
|
+
onChange: N,
|
|
226
|
+
onKeydown: mt(U, ["enter"])
|
|
227
|
+
}, null, 42, bt),
|
|
228
|
+
!o.inlinePrompt && (o.inactiveIcon || o.inactiveText || c.$slots.inactive) ? (s(), g("span", {
|
|
229
|
+
key: 0,
|
|
230
|
+
class: C(A.value)
|
|
231
|
+
}, [R(c.$slots, "inactive", {}, () => [o.inactiveIcon ? (s(), w(n(F), { key: 0 }, {
|
|
232
|
+
default: I(() => [(s(), w(W(o.inactiveIcon)))]),
|
|
233
|
+
_: 1
|
|
234
|
+
})) : y("v-if", !0), !o.inactiveIcon && o.inactiveText ? (s(), g("span", {
|
|
235
|
+
key: 1,
|
|
236
|
+
"aria-hidden": v.value
|
|
237
|
+
}, a(o.inactiveText), 9, Vt)) : y("v-if", !0)])], 2)) : y("v-if", !0),
|
|
238
|
+
l("span", {
|
|
239
|
+
class: C(n(d).e("core")),
|
|
240
|
+
style: Y(H.value)
|
|
241
|
+
}, [o.inlinePrompt ? (s(), g("div", {
|
|
242
|
+
key: 0,
|
|
243
|
+
class: C(n(d).e("inner"))
|
|
244
|
+
}, [v.value ? (s(), g("div", {
|
|
245
|
+
key: 1,
|
|
246
|
+
class: C(n(d).e("inner-wrapper"))
|
|
247
|
+
}, [R(c.$slots, "active", {}, () => [o.activeIcon ? (s(), w(n(F), { key: 0 }, {
|
|
248
|
+
default: I(() => [(s(), w(W(o.activeIcon)))]),
|
|
249
|
+
_: 1
|
|
250
|
+
})) : y("v-if", !0), !o.activeIcon && o.activeText ? (s(), g("span", St, a(o.activeText), 1)) : y("v-if", !0)])], 2)) : (s(), g("div", {
|
|
251
|
+
key: 0,
|
|
252
|
+
class: C(n(d).e("inner-wrapper"))
|
|
253
|
+
}, [R(c.$slots, "inactive", {}, () => [o.inactiveIcon ? (s(), w(n(F), { key: 0 }, {
|
|
254
|
+
default: I(() => [(s(), w(W(o.inactiveIcon)))]),
|
|
255
|
+
_: 1
|
|
256
|
+
})) : y("v-if", !0), !o.inactiveIcon && o.inactiveText ? (s(), g("span", kt, a(o.inactiveText), 1)) : y("v-if", !0)])], 2))], 2)) : y("v-if", !0), l("div", { class: C(n(d).e("action")) }, [o.loading ? (s(), w(n(F), {
|
|
257
|
+
key: 0,
|
|
258
|
+
class: C(n(d).is("loading"))
|
|
259
|
+
}, {
|
|
260
|
+
default: I(() => [r(n(ct))]),
|
|
261
|
+
_: 1
|
|
262
|
+
}, 8, ["class"])) : v.value ? R(c.$slots, "active-action", { key: 1 }, () => [o.activeActionIcon ? (s(), w(n(F), { key: 0 }, {
|
|
263
|
+
default: I(() => [(s(), w(W(o.activeActionIcon)))]),
|
|
264
|
+
_: 1
|
|
265
|
+
})) : y("v-if", !0)]) : v.value ? y("v-if", !0) : R(c.$slots, "inactive-action", { key: 2 }, () => [o.inactiveActionIcon ? (s(), w(n(F), { key: 0 }, {
|
|
266
|
+
default: I(() => [(s(), w(W(o.inactiveActionIcon)))]),
|
|
267
|
+
_: 1
|
|
268
|
+
})) : y("v-if", !0)])], 2)], 6),
|
|
269
|
+
!o.inlinePrompt && (o.activeIcon || o.activeText || c.$slots.active) ? (s(), g("span", {
|
|
270
|
+
key: 1,
|
|
271
|
+
class: C(T.value)
|
|
272
|
+
}, [R(c.$slots, "active", {}, () => [o.activeIcon ? (s(), w(n(F), { key: 0 }, {
|
|
273
|
+
default: I(() => [(s(), w(W(o.activeIcon)))]),
|
|
274
|
+
_: 1
|
|
275
|
+
})) : y("v-if", !0), !o.activeIcon && o.activeText ? (s(), g("span", {
|
|
276
|
+
key: 1,
|
|
277
|
+
"aria-hidden": !v.value
|
|
278
|
+
}, a(o.activeText), 9, Ct)) : y("v-if", !0)])], 2)) : y("v-if", !0)
|
|
279
|
+
], 2));
|
|
280
|
+
}
|
|
281
|
+
}), Et = It;
|
|
282
|
+
const xt = Qe(Et), Tt = { style: { height: "var(--setting-content-height)" } }, $t = { class: "setting-title" }, At = {
|
|
283
|
+
key: 0,
|
|
284
|
+
class: "color-list"
|
|
285
|
+
}, Ut = ["onClick"], Bt = { class: "setting-effect" }, Mt = { class: "setting-effect" }, Dt = { class: "light-slider" }, zt = {
|
|
286
|
+
key: 1,
|
|
287
|
+
class: "setting-title"
|
|
288
|
+
}, Nt = {
|
|
289
|
+
key: 2,
|
|
290
|
+
class: "setting-effect"
|
|
291
|
+
}, Pt = { class: "setting-title" }, Lt = { class: "setting-effect" }, Ot = { class: "setting-effect" }, Ft = { class: "setting-effect" }, Kt = { class: "setting-effect" }, Rt = { class: "setting-effect" }, Wt = { class: "setting-effect" }, _t = {
|
|
292
|
+
key: 1,
|
|
293
|
+
class: "setting_panel"
|
|
294
|
+
}, jt = { class: "setting-title-box" }, Ht = { class: "setting-title" }, Gt = { class: "setting-title-icon" }, Yt = { class: "setting-color-box" }, Zt = { class: "setting-color-list" }, qt = ["onClick"], Jt = { class: "setting-config-box" }, Qt = { class: "setting-switch-item" }, Xt = { class: "setting-switch-item" }, el = { class: "setting-switch-item" }, tl = { class: "setting-switch-item" }, ll = { class: "setting-switch-item" }, ol = { class: "setting-switch-item" }, nl = { class: "setting-switch-item" }, il = { class: "setting-switch-item" }, sl = { class: "light-slider" }, al = { class: "setting-switch-item" }, ul = { class: "speed-slider" }, dl = /* @__PURE__ */ Be({
|
|
295
|
+
__name: "SettingTool",
|
|
296
|
+
props: {
|
|
297
|
+
instruction: {},
|
|
298
|
+
componentId: {}
|
|
299
|
+
},
|
|
300
|
+
emits: ["closePanel", "emitHandler"],
|
|
301
|
+
setup(o, { emit: te }) {
|
|
302
|
+
const u = Xe(), h = et(), D = tt(), z = o, j = p(0);
|
|
303
|
+
Me(() => {
|
|
304
|
+
D.setReadyById(z.componentId), Ue.currentTheme == "blue" ? j.value = 240 : Ue.currentTheme == "light-gray" && (j.value = 202);
|
|
305
|
+
});
|
|
306
|
+
let d;
|
|
307
|
+
const E = p(!1), b = p(!1), x = p(!1), V = p(!1), k = p(!1), A = p(!0), T = p(!1), H = p(!1), $ = p(1), v = p(50), N = p(!1), U = p(!1), Z = new ht(5), c = p(!1);
|
|
308
|
+
pe(
|
|
309
|
+
() => D.isToolActive(z.componentId),
|
|
310
|
+
(i) => {
|
|
311
|
+
i === !1 ? (Z.stop(), N.value && ke()) : c.value || (c.value = !0);
|
|
312
|
+
}
|
|
313
|
+
);
|
|
314
|
+
const f = p(50), B = p(["亮"]), ye = p(["亮", "暗"]), De = {
|
|
315
|
+
亮: "setting.spaceEffects.bright",
|
|
316
|
+
暗: "setting.spaceEffects.dark"
|
|
317
|
+
}, we = p("linear-gradient(180deg, #fffefb 0%, #daebff 100%)"), be = te;
|
|
318
|
+
O({
|
|
319
|
+
get: () => h.locale,
|
|
320
|
+
set: (i) => h.setLocale(i)
|
|
321
|
+
});
|
|
322
|
+
const Ve = () => {
|
|
323
|
+
d = window.bimViewer, d.viewer.scene.on("aabb", () => {
|
|
324
|
+
q(T.value), de(!0);
|
|
325
|
+
});
|
|
326
|
+
}, S = () => {
|
|
327
|
+
c.value && (N.value = !0, Z.start(() => {
|
|
328
|
+
ke();
|
|
329
|
+
}));
|
|
330
|
+
}, ke = () => {
|
|
331
|
+
var e, m;
|
|
332
|
+
let i;
|
|
333
|
+
L("isMobile") ? i = {
|
|
334
|
+
backgroundColor: ((e = _.find((P) => P.id == $.value)) == null ? void 0 : e.name) ?? "渐变蓝",
|
|
335
|
+
showEdges: x.value,
|
|
336
|
+
lightIntensity: v.value,
|
|
337
|
+
skyBox: V.value,
|
|
338
|
+
orthoMode: k.value,
|
|
339
|
+
modelType2D: A.value,
|
|
340
|
+
yAxisDown: E.value,
|
|
341
|
+
zAxisUp: b.value,
|
|
342
|
+
showSpace: T.value,
|
|
343
|
+
spaceEffect: U.value,
|
|
344
|
+
touchDollySpeed: f.value
|
|
345
|
+
} : i = {
|
|
346
|
+
backgroundColor: ((m = _.find((P) => P.id == $.value)) == null ? void 0 : m.name) ?? "渐变蓝",
|
|
347
|
+
showEdges: x.value,
|
|
348
|
+
lightIntensity: v.value,
|
|
349
|
+
skyBox: V.value,
|
|
350
|
+
orthoMode: k.value,
|
|
351
|
+
modelType2D: A.value,
|
|
352
|
+
yAxisDown: E.value,
|
|
353
|
+
zAxisUp: b.value,
|
|
354
|
+
showSpace: T.value,
|
|
355
|
+
spaceEffect: B.value[0],
|
|
356
|
+
touchDollySpeed: f.value
|
|
357
|
+
}, ze({
|
|
358
|
+
isTool: !0,
|
|
359
|
+
event_target: "SettingTool",
|
|
360
|
+
event_name: "saveSetting",
|
|
361
|
+
content: {
|
|
362
|
+
newSets: i
|
|
363
|
+
}
|
|
364
|
+
}), N.value = !1;
|
|
365
|
+
}, Se = (i) => {
|
|
366
|
+
const e = i.lastSet, m = _.find((P) => P.name == e.backgroundColor);
|
|
367
|
+
$.value = m ? m.id : 1, ne(m ?? _[0]), x.value = e.showEdges, se(x.value), v.value = e.lightIntensity, ie(v.value), k.value = e.orthoMode, G(k.value), A.value = e.modelType2D, ae(A.value), T.value = e.showSpace, q(T.value), L("isMobile") ? (U.value = typeof e.spaceEffect == "string" ? e.spaceEffect == "亮" : typeof e.spaceEffect == "boolean" ? e.spaceEffect : !0, de(U.value)) : (B.value = [e.spaceEffect], ue(B.value[0])), E.value = e.yAxisDown, E.value && oe(), b.value = e.zAxisUp, b.value && le(), f.value = e.touchDollySpeed ?? 50, L("isMobile") ? xe(f.value) : (V.value = e.skyBox, Ee(V.value)), N.value = !1;
|
|
368
|
+
};
|
|
369
|
+
K.on("BimViewer", Ve), K.on("lastSetsContent", Se), gt(() => {
|
|
370
|
+
K.off("BimViewer", Ve), K.off("lastSetsContent", Se);
|
|
371
|
+
});
|
|
372
|
+
const ze = (i) => {
|
|
373
|
+
be("emitHandler", i);
|
|
374
|
+
}, Ce = (i) => {
|
|
375
|
+
i && i.target.id != "setting_back" || (K.emit("hideToolbar", !1), be("closePanel"), Ie(!1));
|
|
376
|
+
}, Ie = (i = !H.value) => {
|
|
377
|
+
H.value = i;
|
|
378
|
+
}, le = (i) => {
|
|
379
|
+
S(), window.bimViewer.setWorldAxisZUp(b.value), G(k.value);
|
|
380
|
+
}, oe = (i) => {
|
|
381
|
+
S(), window.bimViewer.setWorldAxisYDown(E.value), G(k.value);
|
|
382
|
+
}, ne = (i) => {
|
|
383
|
+
S(), $.value = i.id, we.value = i.color, K.emit("changeBackgroundColor", i.color);
|
|
384
|
+
}, ie = (i) => {
|
|
385
|
+
S(), d.setLightIntensity(i);
|
|
386
|
+
}, se = (i) => {
|
|
387
|
+
S(), d.setAllObjectsEdges(i), i || d.setObjectsEdges(st.entityState.edgesObjectIds, !0);
|
|
388
|
+
}, ae = (i) => {
|
|
389
|
+
S(), d.SetThreeDModeActive(i), L("isMobile") && (window.bimViewer.navCubeMode.visible = !1);
|
|
390
|
+
}, G = (i) => {
|
|
391
|
+
S(), d.SetOrthoModeActive(i);
|
|
392
|
+
}, q = (i) => {
|
|
393
|
+
S(), d.SetShowSpaceModeActive(i), ue(U.value ? 1 : 2);
|
|
394
|
+
}, ue = (i) => {
|
|
395
|
+
S(), i == "亮" ? window.bimViewer.setSpaceMaterialColor(1) : window.bimViewer.setSpaceMaterialColor(2), B.value = ye.value.includes(i) ? [i] : [];
|
|
396
|
+
}, de = (i = !U.value) => {
|
|
397
|
+
S(), window.bimViewer.setSpaceMaterialColor(i ? 2 : 1);
|
|
398
|
+
}, Ee = (i) => {
|
|
399
|
+
S(), d.SetSkyBoxToolActive(i);
|
|
400
|
+
}, xe = (i) => {
|
|
401
|
+
S(), i == 0 ? d.viewer.cameraControl.customTouchDollyRate = 0.05 / 50 : d.viewer.cameraControl.customTouchDollyRate = i / 50;
|
|
402
|
+
};
|
|
403
|
+
return (i, e) => {
|
|
404
|
+
const m = xt, P = dt, Ne = nt, Pe = ot, Te = lt, Le = ut, Oe = it;
|
|
405
|
+
return s(), g(Q, null, [
|
|
406
|
+
n(L)("isMobile") ? y("", !0) : (s(), w(Le, {
|
|
407
|
+
key: 0,
|
|
408
|
+
class: "setting_contaier",
|
|
409
|
+
width: j.value,
|
|
410
|
+
panelTitle: n(u)("setting.title"),
|
|
411
|
+
"click-handle": Ce,
|
|
412
|
+
style: { height: "var(--setting-panel-height)" }
|
|
413
|
+
}, {
|
|
414
|
+
default: I(() => [
|
|
415
|
+
l("div", Tt, [
|
|
416
|
+
r(Te, null, {
|
|
417
|
+
default: I(() => [
|
|
418
|
+
l("div", $t, a(n(u)("setting.effect")), 1),
|
|
419
|
+
l("div", {
|
|
420
|
+
class: "setting-effect",
|
|
421
|
+
onClick: e[0] || (e[0] = (t) => Ie())
|
|
422
|
+
}, [
|
|
423
|
+
M(a(n(u)("setting.bgColor")) + " ", 1),
|
|
424
|
+
l("div", {
|
|
425
|
+
class: "choose-color",
|
|
426
|
+
style: Y({ background: we.value })
|
|
427
|
+
}, null, 4)
|
|
428
|
+
]),
|
|
429
|
+
H.value ? (s(), g("div", At, [
|
|
430
|
+
(s(!0), g(Q, null, me(n(_), (t) => (s(), g("div", {
|
|
431
|
+
key: t.id,
|
|
432
|
+
class: C(["color-item", { "color-item-active": $.value === t.id }]),
|
|
433
|
+
onClick: (ce) => ne(t)
|
|
434
|
+
}, [
|
|
435
|
+
l("div", {
|
|
436
|
+
class: "bg",
|
|
437
|
+
style: Y({ background: t.color, border: t.id === 4 ? "1px solid #F1F1F1" : "none" })
|
|
438
|
+
}, null, 4),
|
|
439
|
+
M(" " + a(n(u)(t.label || t.name)), 1)
|
|
440
|
+
], 10, Ut))), 128))
|
|
441
|
+
])) : y("", !0),
|
|
442
|
+
l("div", Bt, [
|
|
443
|
+
M(a(n(u)("setting.showEdges")) + " ", 1),
|
|
444
|
+
r(m, {
|
|
445
|
+
modelValue: x.value,
|
|
446
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => x.value = t),
|
|
447
|
+
style: { "--el-switch-on-color": "#0065fc" },
|
|
448
|
+
onChange: e[2] || (e[2] = (t) => se())
|
|
449
|
+
}, null, 8, ["modelValue"])
|
|
450
|
+
]),
|
|
451
|
+
l("div", Mt, [
|
|
452
|
+
M(a(n(u)("setting.lightIntensity")) + " ", 1),
|
|
453
|
+
l("div", Dt, [
|
|
454
|
+
r(P, {
|
|
455
|
+
modelValue: v.value,
|
|
456
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => v.value = t),
|
|
457
|
+
onInput: e[4] || (e[4] = (t) => ie(v.value))
|
|
458
|
+
}, null, 8, ["modelValue"])
|
|
459
|
+
])
|
|
460
|
+
]),
|
|
461
|
+
n(L)("skyboxImg") ? (s(), g("div", zt, a(n(u)("setting.appearance")), 1)) : y("", !0),
|
|
462
|
+
n(L)("skyboxImg") ? (s(), g("div", Nt, [
|
|
463
|
+
M(a(n(u)("setting.skybox")) + " ", 1),
|
|
464
|
+
r(m, {
|
|
465
|
+
modelValue: V.value,
|
|
466
|
+
"onUpdate:modelValue": e[5] || (e[5] = (t) => V.value = t),
|
|
467
|
+
style: { "--el-switch-on-color": "#0065fc" },
|
|
468
|
+
onChange: e[6] || (e[6] = (t) => Ee())
|
|
469
|
+
}, null, 8, ["modelValue"])
|
|
470
|
+
])) : y("", !0),
|
|
471
|
+
l("div", Pt, a(n(u)("setting.modelViewSwitch")), 1),
|
|
472
|
+
l("div", Lt, [
|
|
473
|
+
M(a(n(u)("setting.perspective")) + " ", 1),
|
|
474
|
+
r(m, {
|
|
475
|
+
modelValue: k.value,
|
|
476
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => k.value = t),
|
|
477
|
+
style: { "--el-switch-on-color": "#0065fc" },
|
|
478
|
+
onChange: e[8] || (e[8] = (t) => G())
|
|
479
|
+
}, null, 8, ["modelValue"])
|
|
480
|
+
]),
|
|
481
|
+
l("div", Ot, [
|
|
482
|
+
M(a(n(u)("setting.mode2d3d")) + " ", 1),
|
|
483
|
+
r(m, {
|
|
484
|
+
modelValue: A.value,
|
|
485
|
+
"onUpdate:modelValue": e[9] || (e[9] = (t) => A.value = t),
|
|
486
|
+
style: { "--el-switch-on-color": "#0065fc" },
|
|
487
|
+
onChange: e[10] || (e[10] = (t) => ae())
|
|
488
|
+
}, null, 8, ["modelValue"])
|
|
489
|
+
]),
|
|
490
|
+
l("div", Ft, [
|
|
491
|
+
l("div", null, a(n(u)("setting.modelInvert")), 1),
|
|
492
|
+
l("div", null, [
|
|
493
|
+
r(m, {
|
|
494
|
+
modelValue: E.value,
|
|
495
|
+
"onUpdate:modelValue": e[11] || (e[11] = (t) => E.value = t),
|
|
496
|
+
style: { "--el-switch-on-color": "#0065fc" },
|
|
497
|
+
onChange: e[12] || (e[12] = (t) => oe())
|
|
498
|
+
}, null, 8, ["modelValue"])
|
|
499
|
+
])
|
|
500
|
+
]),
|
|
501
|
+
l("div", Kt, [
|
|
502
|
+
l("div", null, a(n(u)("setting.zAxisUp")), 1),
|
|
503
|
+
l("div", null, [
|
|
504
|
+
r(m, {
|
|
505
|
+
modelValue: b.value,
|
|
506
|
+
"onUpdate:modelValue": e[13] || (e[13] = (t) => b.value = t),
|
|
507
|
+
style: { "--el-switch-on-color": "#0065fc" },
|
|
508
|
+
onChange: e[14] || (e[14] = (t) => le())
|
|
509
|
+
}, null, 8, ["modelValue"])
|
|
510
|
+
])
|
|
511
|
+
]),
|
|
512
|
+
l("div", Rt, [
|
|
513
|
+
M(a(n(u)("setting.modelSpace")) + " ", 1),
|
|
514
|
+
r(m, {
|
|
515
|
+
modelValue: T.value,
|
|
516
|
+
"onUpdate:modelValue": e[15] || (e[15] = (t) => T.value = t),
|
|
517
|
+
style: { "--el-switch-on-color": "#0065fc" },
|
|
518
|
+
onChange: e[16] || (e[16] = (t) => q())
|
|
519
|
+
}, null, 8, ["modelValue"])
|
|
520
|
+
]),
|
|
521
|
+
l("div", Wt, [
|
|
522
|
+
M(a(n(u)("setting.spaceEffect")) + " ", 1),
|
|
523
|
+
r(Pe, {
|
|
524
|
+
modelValue: B.value,
|
|
525
|
+
"onUpdate:modelValue": e[17] || (e[17] = (t) => B.value = t),
|
|
526
|
+
size: "small"
|
|
527
|
+
}, {
|
|
528
|
+
default: I(() => [
|
|
529
|
+
(s(!0), g(Q, null, me(ye.value, (t) => (s(), w(Ne, {
|
|
530
|
+
key: t,
|
|
531
|
+
label: t,
|
|
532
|
+
onChange: (ce) => ue(t)
|
|
533
|
+
}, {
|
|
534
|
+
default: I(() => [
|
|
535
|
+
M(a(n(u)(De[t])), 1)
|
|
536
|
+
]),
|
|
537
|
+
_: 2
|
|
538
|
+
}, 1032, ["label", "onChange"]))), 128))
|
|
539
|
+
]),
|
|
540
|
+
_: 1
|
|
541
|
+
}, 8, ["modelValue"])
|
|
542
|
+
])
|
|
543
|
+
]),
|
|
544
|
+
_: 1
|
|
545
|
+
})
|
|
546
|
+
])
|
|
547
|
+
]),
|
|
548
|
+
_: 1
|
|
549
|
+
}, 8, ["width", "panelTitle"])),
|
|
550
|
+
n(L)("isMobile") ? (s(), g("div", _t, [
|
|
551
|
+
l("div", jt, [
|
|
552
|
+
l("div", Ht, a(n(u)("setting.title")), 1),
|
|
553
|
+
l("div", Gt, [
|
|
554
|
+
r(Oe, {
|
|
555
|
+
width: 0.4,
|
|
556
|
+
"size-type": "rem",
|
|
557
|
+
"click-handle": Ce
|
|
558
|
+
})
|
|
559
|
+
])
|
|
560
|
+
]),
|
|
561
|
+
l("div", Yt, [
|
|
562
|
+
l("div", Zt, [
|
|
563
|
+
(s(!0), g(Q, null, me(n(_), (t, ce) => (s(), g("div", {
|
|
564
|
+
key: ce,
|
|
565
|
+
class: C(["setting-color-item", {
|
|
566
|
+
"setting-color-item-active": $.value === t.id
|
|
567
|
+
}]),
|
|
568
|
+
onClick: (cl) => ne(t)
|
|
569
|
+
}, [
|
|
570
|
+
l("div", {
|
|
571
|
+
class: "setting-color-icon",
|
|
572
|
+
style: Y({
|
|
573
|
+
background: t.color,
|
|
574
|
+
border: t.id === $.value ? "0.02rem solid #0065FC" : ""
|
|
575
|
+
})
|
|
576
|
+
}, null, 4),
|
|
577
|
+
l("div", {
|
|
578
|
+
class: "setting-color-name",
|
|
579
|
+
style: Y({ color: t.id === $.value ? "#0065FC" : "" })
|
|
580
|
+
}, a(n(u)(t.label || t.name)), 5)
|
|
581
|
+
], 10, qt))), 128))
|
|
582
|
+
])
|
|
583
|
+
]),
|
|
584
|
+
l("div", Jt, [
|
|
585
|
+
r(Te, { height: "230" }, {
|
|
586
|
+
default: I(() => [
|
|
587
|
+
l("div", Qt, [
|
|
588
|
+
l("div", null, a(n(u)("setting.showEdges")), 1),
|
|
589
|
+
l("div", null, [
|
|
590
|
+
r(m, {
|
|
591
|
+
modelValue: x.value,
|
|
592
|
+
"onUpdate:modelValue": e[18] || (e[18] = (t) => x.value = t),
|
|
593
|
+
size: "small",
|
|
594
|
+
onChange: e[19] || (e[19] = (t) => se())
|
|
595
|
+
}, null, 8, ["modelValue"])
|
|
596
|
+
])
|
|
597
|
+
]),
|
|
598
|
+
l("div", Xt, [
|
|
599
|
+
l("div", null, a(n(u)("setting.perspective")), 1),
|
|
600
|
+
l("div", null, [
|
|
601
|
+
r(m, {
|
|
602
|
+
modelValue: k.value,
|
|
603
|
+
"onUpdate:modelValue": e[20] || (e[20] = (t) => k.value = t),
|
|
604
|
+
size: "small",
|
|
605
|
+
onChange: e[21] || (e[21] = (t) => G())
|
|
606
|
+
}, null, 8, ["modelValue"])
|
|
607
|
+
])
|
|
608
|
+
]),
|
|
609
|
+
l("div", el, [
|
|
610
|
+
l("div", null, a(n(u)("setting.mode2d3d")), 1),
|
|
611
|
+
l("div", null, [
|
|
612
|
+
r(m, {
|
|
613
|
+
modelValue: A.value,
|
|
614
|
+
"onUpdate:modelValue": e[22] || (e[22] = (t) => A.value = t),
|
|
615
|
+
size: "small",
|
|
616
|
+
onChange: e[23] || (e[23] = (t) => ae())
|
|
617
|
+
}, null, 8, ["modelValue"])
|
|
618
|
+
])
|
|
619
|
+
]),
|
|
620
|
+
l("div", tl, [
|
|
621
|
+
l("div", null, a(n(u)("setting.modelInvert")), 1),
|
|
622
|
+
l("div", null, [
|
|
623
|
+
r(m, {
|
|
624
|
+
modelValue: E.value,
|
|
625
|
+
"onUpdate:modelValue": e[24] || (e[24] = (t) => E.value = t),
|
|
626
|
+
size: "small",
|
|
627
|
+
onChange: e[25] || (e[25] = (t) => oe())
|
|
628
|
+
}, null, 8, ["modelValue"])
|
|
629
|
+
])
|
|
630
|
+
]),
|
|
631
|
+
l("div", ll, [
|
|
632
|
+
l("div", null, a(n(u)("setting.zAxisUp")), 1),
|
|
633
|
+
l("div", null, [
|
|
634
|
+
r(m, {
|
|
635
|
+
modelValue: b.value,
|
|
636
|
+
"onUpdate:modelValue": e[26] || (e[26] = (t) => b.value = t),
|
|
637
|
+
size: "small",
|
|
638
|
+
onChange: e[27] || (e[27] = (t) => le())
|
|
639
|
+
}, null, 8, ["modelValue"])
|
|
640
|
+
])
|
|
641
|
+
]),
|
|
642
|
+
l("div", ol, [
|
|
643
|
+
l("div", null, a(n(u)("setting.modelSpace")), 1),
|
|
644
|
+
l("div", null, [
|
|
645
|
+
r(m, {
|
|
646
|
+
modelValue: T.value,
|
|
647
|
+
"onUpdate:modelValue": e[28] || (e[28] = (t) => T.value = t),
|
|
648
|
+
size: "small",
|
|
649
|
+
onChange: e[29] || (e[29] = (t) => q())
|
|
650
|
+
}, null, 8, ["modelValue"])
|
|
651
|
+
])
|
|
652
|
+
]),
|
|
653
|
+
l("div", nl, [
|
|
654
|
+
l("div", null, a(n(u)("setting.spaceEffect")), 1),
|
|
655
|
+
l("div", null, [
|
|
656
|
+
r(m, {
|
|
657
|
+
modelValue: U.value,
|
|
658
|
+
"onUpdate:modelValue": e[30] || (e[30] = (t) => U.value = t),
|
|
659
|
+
size: "small",
|
|
660
|
+
onChange: e[31] || (e[31] = (t) => de())
|
|
661
|
+
}, null, 8, ["modelValue"])
|
|
662
|
+
])
|
|
663
|
+
]),
|
|
664
|
+
l("div", il, [
|
|
665
|
+
l("div", null, a(n(u)("setting.lightIntensity")), 1),
|
|
666
|
+
l("div", sl, [
|
|
667
|
+
r(P, {
|
|
668
|
+
modelValue: v.value,
|
|
669
|
+
"onUpdate:modelValue": e[32] || (e[32] = (t) => v.value = t),
|
|
670
|
+
onInput: e[33] || (e[33] = (t) => ie(v.value))
|
|
671
|
+
}, null, 8, ["modelValue"])
|
|
672
|
+
])
|
|
673
|
+
]),
|
|
674
|
+
l("div", al, [
|
|
675
|
+
l("div", null, a(n(u)("setting.zoomSpeed")), 1),
|
|
676
|
+
l("div", ul, [
|
|
677
|
+
r(P, {
|
|
678
|
+
modelValue: f.value,
|
|
679
|
+
"onUpdate:modelValue": e[34] || (e[34] = (t) => f.value = t),
|
|
680
|
+
onInput: e[35] || (e[35] = (t) => xe(f.value))
|
|
681
|
+
}, null, 8, ["modelValue"])
|
|
682
|
+
])
|
|
683
|
+
])
|
|
684
|
+
]),
|
|
685
|
+
_: 1
|
|
686
|
+
})
|
|
687
|
+
])
|
|
688
|
+
])) : y("", !0)
|
|
689
|
+
], 64);
|
|
690
|
+
};
|
|
691
|
+
}
|
|
692
|
+
}), yl = /* @__PURE__ */ at(dl, [["__scopeId", "data-v-b2c5e0c6"]]);
|
|
693
|
+
export {
|
|
694
|
+
yl as default
|
|
695
|
+
};
|