@xtctwins/tctwins-bimx-engine 0.2.53 → 0.2.55
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-BU5DCBHd.mjs → AnnotationTool-CPBZcbp_.mjs} +2 -2
- package/dist/BIMX_Viewer_Lib.es.js +1 -1
- package/dist/BIMX_Viewer_Lib.umd.js +6 -6
- package/dist/{CommentTool-D_AlsrTE.mjs → CommentTool-ChVib2Wg.mjs} +586 -594
- package/dist/{HiddenTool-DvSKSssY.mjs → HiddenTool-CilrXe5l.mjs} +1 -1
- package/dist/{InspectorTool-DLWyGXgI.mjs → InspectorTool-BXArGZHO.mjs} +28 -28
- package/dist/{MeasureTool-BcVGavki.mjs → MeasureTool-DtUiP4t1.mjs} +4 -4
- package/dist/{MouseTool-YNKPFjAo.mjs → MouseTool-2Nxz447f.mjs} +1 -1
- package/dist/{NavigateTool-DsY1_TdT.mjs → NavigateTool-COsSnxyD.mjs} +1 -1
- package/dist/{RoamTool-BFVE2V3K.mjs → RoamTool-CjRywSYn.mjs} +1 -1
- package/dist/{ScreenShotTool-BDUErHu1.mjs → ScreenShotTool-g1dzvqn2.mjs} +4 -4
- package/dist/{SectionTool-4cRL2V6O.mjs → SectionTool-DlnlE6Pv.mjs} +22 -22
- package/dist/{SettingTool-BzaZsP21.mjs → SettingTool-y_hp2XrJ.mjs} +44 -44
- package/dist/{StructureTree-zC5APcxf.mjs → StructureTree-CtJ4Yf5_.mjs} +3 -3
- package/dist/{alert-p1T29wPF.mjs → alert-C0MgdbKf.mjs} +1 -1
- package/dist/{el-input-number-BWTLtMdM.mjs → el-input-number-BjEspzGk.mjs} +1 -1
- package/dist/{index-DNbbNkvv.mjs → index-DTeJ8S3e.mjs} +41 -42
- package/dist/{panel.vue_vue_type_style_index_0_lang-6c_lx4nG.mjs → panel.vue_vue_type_style_index_0_lang-CN9vybau.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-ubDUD9VF.mjs → tallPanel-Ddd7gAie.mjs} +1 -1
- package/package.json +2 -2
- package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +2 -0
- package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +2 -0
- package/types/components/BimViewerComponents/SectionTool.vue.d.ts +4 -0
- /package/types/components/BimViewerComponents/MobileCommentsTool/{add.vue.d.ts → MobileCommentAdd.vue.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Fe, d as ee, j as ve, a6 as re, b as Re, ai as ge, a7 as he, a8 as ye, ac as We, v as je, t as Q, ae as He, a as Ke, u as Ge, af as Ye, aa as Ze, aj as _e, o as $e, E as F, ak as Ae, al as Je, w as qe, A as Qe, J as Xe, B as et, T as Be, C as N, D as W, G as tt, am as lt, n as ot, H as nt, V as it, I as st } from "./index-
|
|
2
|
-
import { _ as at } from "./panel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { E as ut } from "./el-input-number-
|
|
4
|
-
import { defineComponent as Ue, computed as L, ref as y, shallowRef as dt, watch as pe, onMounted as De, createElementBlock as g, openBlock as s, withModifiers as ct, normalizeClass as C, createElementVNode as l, createCommentVNode as p, withKeys as vt, unref as n, renderSlot as j, createBlock as
|
|
1
|
+
import { c as Fe, d as ee, j as ve, a6 as re, b as Re, ai as ge, a7 as he, a8 as ye, ac as We, v as je, t as Q, ae as He, a as Ke, u as Ge, af as Ye, aa as Ze, aj as _e, o as $e, E as F, ak as Ae, al as Je, w as qe, A as Qe, J as Xe, B as et, T as Be, C as N, D as W, G as tt, am as lt, n as ot, H as nt, V as it, I as st } from "./index-DTeJ8S3e.mjs";
|
|
2
|
+
import { _ as at } from "./panel.vue_vue_type_style_index_0_lang-CN9vybau.mjs";
|
|
3
|
+
import { E as ut } from "./el-input-number-BjEspzGk.mjs";
|
|
4
|
+
import { defineComponent as Ue, computed as L, ref as y, shallowRef as dt, watch as pe, onMounted as De, createElementBlock as g, openBlock as s, withModifiers as ct, normalizeClass as C, createElementVNode as l, createCommentVNode as p, withKeys as vt, unref as n, renderSlot as j, createBlock as w, withCtx as I, resolveDynamicComponent as H, toDisplayString as a, normalizeStyle as _, createVNode as r, nextTick as rt, onBeforeUnmount as mt, Fragment as X, createTextVNode as U, renderList as me } from "vue";
|
|
5
5
|
import { b as K } from "./const-DOnRsYpZ.mjs";
|
|
6
6
|
import { T as ft } from "./timer-DoTiGoWP.mjs";
|
|
7
7
|
import { Loading as gt } from "@element-plus/icons-vue";
|
|
@@ -129,7 +129,7 @@ const ht = (o) => ["", ...Fe].includes(o), yt = Re({
|
|
|
129
129
|
[ye]: (o) => ee(o) || ve(o) || re(o),
|
|
130
130
|
[he]: (o) => ee(o) || ve(o) || re(o),
|
|
131
131
|
[ge]: (o) => ee(o) || ve(o) || re(o)
|
|
132
|
-
},
|
|
132
|
+
}, wt = ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex"], bt = ["aria-hidden"], Vt = { key: 1 }, kt = { key: 1 }, St = ["aria-hidden"], fe = "ElSwitch";
|
|
133
133
|
var Ct = /* @__PURE__ */ Ue({
|
|
134
134
|
name: fe,
|
|
135
135
|
__name: "switch",
|
|
@@ -138,7 +138,7 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
138
138
|
setup(o, { expose: te, emit: u }) {
|
|
139
139
|
const h = o, D = u, { formItem: O } = He(), G = Ke(), d = Ge("switch"), { inputId: E } = Ye(h, {
|
|
140
140
|
formItemContext: O
|
|
141
|
-
}),
|
|
141
|
+
}), b = Ze(
|
|
142
142
|
L(() => {
|
|
143
143
|
if (h.loading)
|
|
144
144
|
return !0;
|
|
@@ -146,7 +146,7 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
146
146
|
), x = y(h.modelValue !== !1), V = dt(), k = L(() => [
|
|
147
147
|
d.b(),
|
|
148
148
|
d.m(G.value),
|
|
149
|
-
d.is("disabled",
|
|
149
|
+
d.is("disabled", b.value),
|
|
150
150
|
d.is("checked", c.value)
|
|
151
151
|
]), A = L(() => [
|
|
152
152
|
d.e("label"),
|
|
@@ -176,7 +176,7 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
176
176
|
V.value.checked = c.value;
|
|
177
177
|
});
|
|
178
178
|
}, B = () => {
|
|
179
|
-
if (
|
|
179
|
+
if (b.value) return;
|
|
180
180
|
const { beforeChange: v } = h;
|
|
181
181
|
if (!v) {
|
|
182
182
|
M();
|
|
@@ -224,16 +224,16 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
224
224
|
type: "checkbox",
|
|
225
225
|
role: "switch",
|
|
226
226
|
"aria-checked": c.value,
|
|
227
|
-
"aria-disabled": n(
|
|
227
|
+
"aria-disabled": n(b),
|
|
228
228
|
"aria-label": o.ariaLabel,
|
|
229
229
|
name: o.name,
|
|
230
230
|
"true-value": o.activeValue,
|
|
231
231
|
"false-value": o.inactiveValue,
|
|
232
|
-
disabled: n(
|
|
232
|
+
disabled: n(b),
|
|
233
233
|
tabindex: o.tabindex,
|
|
234
234
|
onChange: M,
|
|
235
235
|
onKeydown: vt(B, ["enter"])
|
|
236
|
-
}, null, 42,
|
|
236
|
+
}, null, 42, wt),
|
|
237
237
|
!o.inlinePrompt && (o.inactiveIcon || o.inactiveText || v.$slots.inactive) ? (s(), g(
|
|
238
238
|
"span",
|
|
239
239
|
{
|
|
@@ -242,9 +242,9 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
242
242
|
},
|
|
243
243
|
[
|
|
244
244
|
j(v.$slots, "inactive", {}, () => [
|
|
245
|
-
o.inactiveIcon ? (s(),
|
|
245
|
+
o.inactiveIcon ? (s(), w(n(F), { key: 0 }, {
|
|
246
246
|
default: I(() => [
|
|
247
|
-
(s(),
|
|
247
|
+
(s(), w(H(o.inactiveIcon)))
|
|
248
248
|
]),
|
|
249
249
|
_: 1
|
|
250
250
|
/* STABLE */
|
|
@@ -252,7 +252,7 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
252
252
|
!o.inactiveIcon && o.inactiveText ? (s(), g("span", {
|
|
253
253
|
key: 1,
|
|
254
254
|
"aria-hidden": c.value
|
|
255
|
-
}, a(o.inactiveText), 9,
|
|
255
|
+
}, a(o.inactiveText), 9, bt)) : p("v-if", !0)
|
|
256
256
|
])
|
|
257
257
|
],
|
|
258
258
|
2
|
|
@@ -280,9 +280,9 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
280
280
|
},
|
|
281
281
|
[
|
|
282
282
|
j(v.$slots, "active", {}, () => [
|
|
283
|
-
o.activeIcon ? (s(),
|
|
283
|
+
o.activeIcon ? (s(), w(n(F), { key: 0 }, {
|
|
284
284
|
default: I(() => [
|
|
285
|
-
(s(),
|
|
285
|
+
(s(), w(H(o.activeIcon)))
|
|
286
286
|
]),
|
|
287
287
|
_: 1
|
|
288
288
|
/* STABLE */
|
|
@@ -306,9 +306,9 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
306
306
|
},
|
|
307
307
|
[
|
|
308
308
|
j(v.$slots, "inactive", {}, () => [
|
|
309
|
-
o.inactiveIcon ? (s(),
|
|
309
|
+
o.inactiveIcon ? (s(), w(n(F), { key: 0 }, {
|
|
310
310
|
default: I(() => [
|
|
311
|
-
(s(),
|
|
311
|
+
(s(), w(H(o.inactiveIcon)))
|
|
312
312
|
]),
|
|
313
313
|
_: 1
|
|
314
314
|
/* STABLE */
|
|
@@ -335,7 +335,7 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
335
335
|
class: C(n(d).e("action"))
|
|
336
336
|
},
|
|
337
337
|
[
|
|
338
|
-
o.loading ? (s(),
|
|
338
|
+
o.loading ? (s(), w(n(F), {
|
|
339
339
|
key: 0,
|
|
340
340
|
class: C(n(d).is("loading"))
|
|
341
341
|
}, {
|
|
@@ -345,17 +345,17 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
345
345
|
_: 1
|
|
346
346
|
/* STABLE */
|
|
347
347
|
}, 8, ["class"])) : c.value ? j(v.$slots, "active-action", { key: 1 }, () => [
|
|
348
|
-
o.activeActionIcon ? (s(),
|
|
348
|
+
o.activeActionIcon ? (s(), w(n(F), { key: 0 }, {
|
|
349
349
|
default: I(() => [
|
|
350
|
-
(s(),
|
|
350
|
+
(s(), w(H(o.activeActionIcon)))
|
|
351
351
|
]),
|
|
352
352
|
_: 1
|
|
353
353
|
/* STABLE */
|
|
354
354
|
})) : p("v-if", !0)
|
|
355
355
|
]) : c.value ? p("v-if", !0) : j(v.$slots, "inactive-action", { key: 2 }, () => [
|
|
356
|
-
o.inactiveActionIcon ? (s(),
|
|
356
|
+
o.inactiveActionIcon ? (s(), w(n(F), { key: 0 }, {
|
|
357
357
|
default: I(() => [
|
|
358
|
-
(s(),
|
|
358
|
+
(s(), w(H(o.inactiveActionIcon)))
|
|
359
359
|
]),
|
|
360
360
|
_: 1
|
|
361
361
|
/* STABLE */
|
|
@@ -377,9 +377,9 @@ var Ct = /* @__PURE__ */ Ue({
|
|
|
377
377
|
},
|
|
378
378
|
[
|
|
379
379
|
j(v.$slots, "active", {}, () => [
|
|
380
|
-
o.activeIcon ? (s(),
|
|
380
|
+
o.activeIcon ? (s(), w(n(F), { key: 0 }, {
|
|
381
381
|
default: I(() => [
|
|
382
|
-
(s(),
|
|
382
|
+
(s(), w(H(o.activeIcon)))
|
|
383
383
|
]),
|
|
384
384
|
_: 1
|
|
385
385
|
/* STABLE */
|
|
@@ -424,7 +424,7 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
424
424
|
D.setReadyById(O.componentId), Be.currentTheme == "blue" ? G.value = 240 : Be.currentTheme == "light-gray" && (G.value = 202);
|
|
425
425
|
});
|
|
426
426
|
let d;
|
|
427
|
-
const E = y(!1),
|
|
427
|
+
const E = y(!1), b = y(!1), x = y(!1), V = y(!1), k = y(!1), A = y(!0), T = y(!1), Y = y(!1), $ = y(1), c = y(50), M = y(!1), B = y(!1), J = new ft(5), v = y(!1);
|
|
428
428
|
pe(
|
|
429
429
|
() => D.isToolActive(O.componentId),
|
|
430
430
|
(i) => {
|
|
@@ -434,7 +434,7 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
434
434
|
const f = y(50), z = y(["亮"]), R = y(["亮", "暗"]), Me = {
|
|
435
435
|
亮: "setting.spaceEffects.bright",
|
|
436
436
|
暗: "setting.spaceEffects.dark"
|
|
437
|
-
},
|
|
437
|
+
}, we = y("linear-gradient(180deg, #fffefb 0%, #daebff 100%)"), be = te;
|
|
438
438
|
L({
|
|
439
439
|
get: () => h.locale,
|
|
440
440
|
set: (i) => h.setLocale(i)
|
|
@@ -458,7 +458,7 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
458
458
|
orthoMode: k.value,
|
|
459
459
|
modelType2D: A.value,
|
|
460
460
|
yAxisDown: E.value,
|
|
461
|
-
zAxisUp:
|
|
461
|
+
zAxisUp: b.value,
|
|
462
462
|
showSpace: T.value,
|
|
463
463
|
spaceEffect: B.value,
|
|
464
464
|
touchDollySpeed: f.value
|
|
@@ -470,7 +470,7 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
470
470
|
orthoMode: k.value,
|
|
471
471
|
modelType2D: A.value,
|
|
472
472
|
yAxisDown: E.value,
|
|
473
|
-
zAxisUp:
|
|
473
|
+
zAxisUp: b.value,
|
|
474
474
|
showSpace: T.value,
|
|
475
475
|
spaceEffect: z.value[0],
|
|
476
476
|
touchDollySpeed: f.value
|
|
@@ -484,23 +484,23 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
484
484
|
}), M.value = !1;
|
|
485
485
|
}, Se = (i) => {
|
|
486
486
|
const e = i.lastSet, m = K.find((P) => P.name == e.backgroundColor);
|
|
487
|
-
$.value = m ? m.id : 1, ne(m ?? K[0]), x.value = e.showEdges, se(x.value), c.value = e.lightIntensity, ie(c.value), k.value = e.orthoMode, Z(k.value), A.value = e.modelType2D, ae(A.value), T.value = e.showSpace, q(T.value), N("isMobile") ? (B.value = typeof e.spaceEffect == "string" ? e.spaceEffect == "亮" : typeof e.spaceEffect == "boolean" ? e.spaceEffect : !0, de(B.value)) : (z.value = [e.spaceEffect], ue(z.value[0])), E.value = e.yAxisDown, E.value && oe(),
|
|
487
|
+
$.value = m ? m.id : 1, ne(m ?? K[0]), x.value = e.showEdges, se(x.value), c.value = e.lightIntensity, ie(c.value), k.value = e.orthoMode, Z(k.value), A.value = e.modelType2D, ae(A.value), T.value = e.showSpace, q(T.value), N("isMobile") ? (B.value = typeof e.spaceEffect == "string" ? e.spaceEffect == "亮" : typeof e.spaceEffect == "boolean" ? e.spaceEffect : !0, de(B.value)) : (z.value = [e.spaceEffect], ue(z.value[0])), E.value = e.yAxisDown, E.value && oe(), b.value = e.zAxisUp, b.value && le(), f.value = e.touchDollySpeed ?? 50, N("isMobile") ? xe(f.value) : (V.value = e.skyBox, Ee(V.value)), M.value = !1;
|
|
488
488
|
};
|
|
489
489
|
W.on("BimViewer", Ve), W.on("lastSetsContent", Se), mt(() => {
|
|
490
490
|
W.off("BimViewer", Ve), W.off("lastSetsContent", Se);
|
|
491
491
|
});
|
|
492
492
|
const ze = (i) => {
|
|
493
|
-
|
|
493
|
+
be("emitHandler", i);
|
|
494
494
|
}, Ce = (i) => {
|
|
495
|
-
i && i.target.id != "setting_back" || (W.emit("hideToolbar", !1),
|
|
495
|
+
i && i.target.id != "setting_back" || (W.emit("hideToolbar", !1), be("closePanel"), Ie(!1));
|
|
496
496
|
}, Ie = (i = !Y.value) => {
|
|
497
497
|
Y.value = i;
|
|
498
498
|
}, le = (i) => {
|
|
499
|
-
S(), window.bimViewer.setWorldAxisZUp(
|
|
499
|
+
S(), window.bimViewer.setWorldAxisZUp(b.value), Z(k.value);
|
|
500
500
|
}, oe = (i) => {
|
|
501
501
|
S(), window.bimViewer.setWorldAxisYDown(E.value), Z(k.value);
|
|
502
502
|
}, ne = (i) => {
|
|
503
|
-
S(), $.value = i.id,
|
|
503
|
+
S(), $.value = i.id, we.value = i.color, W.emit("changeBackgroundColor", i.color);
|
|
504
504
|
}, ie = (i) => {
|
|
505
505
|
S(), d.setLightIntensity(i);
|
|
506
506
|
}, se = (i) => {
|
|
@@ -523,7 +523,7 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
523
523
|
return (i, e) => {
|
|
524
524
|
const m = It, P = ut, Pe = ot, Ne = lt, Te = tt, Le = at, Oe = nt;
|
|
525
525
|
return s(), g(X, null, [
|
|
526
|
-
n(N)("isMobile") ? p("", !0) : (s(),
|
|
526
|
+
n(N)("isMobile") ? p("", !0) : (s(), w(Le, {
|
|
527
527
|
key: 0,
|
|
528
528
|
class: "setting_contaier",
|
|
529
529
|
width: G.value,
|
|
@@ -543,7 +543,7 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
543
543
|
U(a(n(u)("setting.bgColor")) + " ", 1),
|
|
544
544
|
l("div", {
|
|
545
545
|
class: "choose-color",
|
|
546
|
-
style: _({ background:
|
|
546
|
+
style: _({ background: we.value })
|
|
547
547
|
}, null, 4)
|
|
548
548
|
]),
|
|
549
549
|
Y.value ? (s(), g("div", Tt, [
|
|
@@ -622,8 +622,8 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
622
622
|
l("div", null, a(n(u)("setting.zAxisUp")), 1),
|
|
623
623
|
l("div", null, [
|
|
624
624
|
r(m, {
|
|
625
|
-
modelValue:
|
|
626
|
-
"onUpdate:modelValue": e[13] || (e[13] = (t) =>
|
|
625
|
+
modelValue: b.value,
|
|
626
|
+
"onUpdate:modelValue": e[13] || (e[13] = (t) => b.value = t),
|
|
627
627
|
style: { "--el-switch-on-color": "#0065fc" },
|
|
628
628
|
onChange: e[14] || (e[14] = (t) => le())
|
|
629
629
|
}, null, 8, ["modelValue"])
|
|
@@ -646,16 +646,16 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
646
646
|
size: "small"
|
|
647
647
|
}, {
|
|
648
648
|
default: I(() => [
|
|
649
|
-
(s(!0), g(X, null, me(R.value, (t) => (s(),
|
|
649
|
+
(s(!0), g(X, null, me(R.value, (t) => (s(), w(Pe, {
|
|
650
650
|
key: t,
|
|
651
|
-
|
|
651
|
+
value: t,
|
|
652
652
|
onChange: (ce) => ue(t)
|
|
653
653
|
}, {
|
|
654
654
|
default: I(() => [
|
|
655
655
|
U(a(n(u)(Me[t])), 1)
|
|
656
656
|
]),
|
|
657
657
|
_: 2
|
|
658
|
-
}, 1032, ["
|
|
658
|
+
}, 1032, ["value", "onChange"]))), 128))
|
|
659
659
|
]),
|
|
660
660
|
_: 1
|
|
661
661
|
}, 8, ["modelValue"])
|
|
@@ -752,8 +752,8 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
752
752
|
l("div", null, a(n(u)("setting.zAxisUp")), 1),
|
|
753
753
|
l("div", null, [
|
|
754
754
|
r(m, {
|
|
755
|
-
modelValue:
|
|
756
|
-
"onUpdate:modelValue": e[26] || (e[26] = (t) =>
|
|
755
|
+
modelValue: b.value,
|
|
756
|
+
"onUpdate:modelValue": e[26] || (e[26] = (t) => b.value = t),
|
|
757
757
|
size: "small",
|
|
758
758
|
onChange: e[27] || (e[27] = (t) => le())
|
|
759
759
|
}, null, 8, ["modelValue"])
|
|
@@ -809,7 +809,7 @@ const It = qe(Ct), Et = { style: { height: "var(--setting-content-height)" } },
|
|
|
809
809
|
], 64);
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
}), hl = /* @__PURE__ */ st(al, [["__scopeId", "data-v-
|
|
812
|
+
}), hl = /* @__PURE__ */ st(al, [["__scopeId", "data-v-ffef76c0"]]);
|
|
813
813
|
export {
|
|
814
814
|
hl as default
|
|
815
815
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as ie, w as Pe, b as Re, c as tt, a as nt, i as ae, h as Ke, d as Te, e as Ne, f as Ie, g as _e, j as qe, N as ot, k as st, l as Me, r as we, m as dt, E as at, n as rt, o as it, _ as Ue, p as lt, q as ct, s as te, t as ut, v as Ce, x as ht, y as ft, z as pt, A as vt, B as yt, C as se, D as me, T as je, F as gt, G as kt, H as Nt, I as Ct } from "./index-
|
|
2
|
-
import { _ as mt } from "./tallPanel-
|
|
3
|
-
import { _ as bt } from "./panel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { u as ie, w as Pe, b as Re, c as tt, a as nt, i as ae, h as Ke, d as Te, e as Ne, f as Ie, g as _e, j as qe, N as ot, k as st, l as Me, r as we, m as dt, E as at, n as rt, o as it, _ as Ue, p as lt, q as ct, s as te, t as ut, v as Ce, x as ht, y as ft, z as pt, A as vt, B as yt, C as se, D as me, T as je, F as gt, G as kt, H as Nt, I as Ct } from "./index-DTeJ8S3e.mjs";
|
|
2
|
+
import { _ as mt } from "./tallPanel-Ddd7gAie.mjs";
|
|
3
|
+
import { _ as bt } from "./panel.vue_vue_type_style_index_0_lang-CN9vybau.mjs";
|
|
4
4
|
import { defineComponent as ce, createBlock as J, openBlock as I, Transition as Et, mergeProps as _t, unref as T, toHandlers as xt, withCtx as L, renderSlot as xe, ref as w, computed as Se, onMounted as Le, onUpdated as Ve, resolveDynamicComponent as Ye, normalizeStyle as We, normalizeClass as q, useAttrs as Dt, reactive as wt, nextTick as ye, inject as ge, h as He, onBeforeUnmount as Je, provide as ke, getCurrentInstance as Ge, watch as V, resolveComponent as de, withDirectives as X, createElementBlock as H, withModifiers as ne, createElementVNode as D, createVNode as P, createCommentVNode as he, Fragment as pe, renderList as ve, vShow as Z, toDisplayString as U } from "vue";
|
|
5
5
|
import { S as be } from "./const-DOnRsYpZ.mjs";
|
|
6
6
|
import { Loading as Kt, CaretRight as Tt } from "@element-plus/icons-vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as c, O as _, H as l, I as a } from "./index-
|
|
1
|
+
import { A as c, O as _, H as l, I as a } from "./index-DTeJ8S3e.mjs";
|
|
2
2
|
import { defineComponent as i, createElementBlock as r, openBlock as d, createElementVNode as e, unref as t, toDisplayString as p, createVNode as m } from "vue";
|
|
3
3
|
const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = { class: "alert_box" }, g = { class: "alert_img" }, v = ["src"], k = { class: "alert_title" }, w = { class: "alert_close" }, x = /* @__PURE__ */ i({
|
|
4
4
|
__name: "alert",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Se, ref as ae, reactive as Ce, computed as S, watch as se, onMounted as $e, onUpdated as Qe, createElementBlock as U, openBlock as C, withModifiers as Ke, normalizeClass as O, unref as t, withDirectives as Le, createCommentVNode as oe, createVNode as ve, withKeys as Te, renderSlot as ge, withCtx as ue, createBlock as le, createSlots as Ze, inject as _e, nextTick as ye, toRefs as Be, normalizeStyle as re, createElementVNode as ie, toDisplayString as De, h as et, shallowRef as tt, provide as lt, Fragment as he, renderList as ke } from "vue";
|
|
2
|
-
import { a6 as $, f as fe, b as pe, a8 as H, ai as ne, a7 as Ne, v as te, ac as Xe, a9 as Ie, x as Ye, u as Ee, ae as Ue, i as Ve, o as ee, a as Oe, aa as We, E as Fe, an as ze, F as nt, al as je, j as Pe, q as Ge, ao as at, s as J, w as qe, e as be, ap as He, p as we, aq as Ae, ar as rt, as as ot, af as ut } from "./index-
|
|
2
|
+
import { a6 as $, f as fe, b as pe, a8 as H, ai as ne, a7 as Ne, v as te, ac as Xe, a9 as Ie, x as Ye, u as Ee, ae as Ue, i as Ve, o as ee, a as Oe, aa as We, E as Fe, an as ze, F as nt, al as je, j as Pe, q as Ge, ao as at, s as J, w as qe, e as be, ap as He, p as we, aq as Ae, ar as rt, as as ot, af as ut } from "./index-DTeJ8S3e.mjs";
|
|
3
3
|
import { ArrowDown as it, Minus as st, ArrowUp as dt, Plus as ct } from "@element-plus/icons-vue";
|
|
4
4
|
const mt = pe({
|
|
5
5
|
/**
|
|
@@ -793,7 +793,7 @@ const _fe = (M) => {
|
|
|
793
793
|
}, Dn = () => {
|
|
794
794
|
const M = zE();
|
|
795
795
|
return M ? (Q, ...a) => M.global.t(`bimxViewer.${Q}`, ...a) : (Q) => Q;
|
|
796
|
-
}, Gz = "https://bimkk-api
|
|
796
|
+
}, Gz = "https://bimkk-api.tcbim.com", cr = "https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com", Wz = "https://convert.tcbim.com", wi = Dz();
|
|
797
797
|
let nA = {
|
|
798
798
|
BIMX_CONFIGS: {
|
|
799
799
|
viewerManager: !1,
|
|
@@ -16199,15 +16199,14 @@ const Mb = (M, Q) => {
|
|
|
16199
16199
|
class: "tctwins_btn-group",
|
|
16200
16200
|
onClick: (V) => p(T)
|
|
16201
16201
|
}, [
|
|
16202
|
-
u.value(T.key) ? (qe(), rr(S, {
|
|
16202
|
+
T.position == 0 && u.value(T.key) ? (qe(), rr(S, {
|
|
16203
16203
|
key: 0,
|
|
16204
16204
|
content: ce(a)(T.name),
|
|
16205
16205
|
placement: "top",
|
|
16206
16206
|
effect: "light"
|
|
16207
16207
|
}, {
|
|
16208
16208
|
default: ir(() => [
|
|
16209
|
-
|
|
16210
|
-
key: 0,
|
|
16209
|
+
Te("div", {
|
|
16211
16210
|
class: kt(["tctwins_btn", {
|
|
16212
16211
|
tctwins_btn_active: T.isActive && T.hasActiveState
|
|
16213
16212
|
}])
|
|
@@ -16217,7 +16216,7 @@ const Mb = (M, Q) => {
|
|
|
16217
16216
|
src: `${ce(cr)}/bim-viewer/action-bars/${T.isActive ? T.imgActive : T.img}.svg`,
|
|
16218
16217
|
alt: ""
|
|
16219
16218
|
}, null, 8, yre)
|
|
16220
|
-
], 2)
|
|
16219
|
+
], 2)
|
|
16221
16220
|
]),
|
|
16222
16221
|
_: 2
|
|
16223
16222
|
}, 1032, ["content"])) : Wt("", !0),
|
|
@@ -16256,7 +16255,7 @@ const Mb = (M, Q) => {
|
|
|
16256
16255
|
]);
|
|
16257
16256
|
};
|
|
16258
16257
|
}
|
|
16259
|
-
}), Bre = /* @__PURE__ */ An(Pre, [["__scopeId", "data-v-
|
|
16258
|
+
}), Bre = /* @__PURE__ */ An(Pre, [["__scopeId", "data-v-af1b51b4"]]), Ere = "0.1.30";
|
|
16260
16259
|
async function Sre() {
|
|
16261
16260
|
try {
|
|
16262
16261
|
return (await Fz.get(`${Gz}/oss/sts`)).data.data;
|
|
@@ -102413,7 +102412,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
102413
102412
|
setup(M, { emit: Q }) {
|
|
102414
102413
|
const a = Q, P = M, { bcfId: E, mode: b, userId: d, bcfContent: u, bcfList: c } = P, o = Dn();
|
|
102415
102414
|
tt("select");
|
|
102416
|
-
const l = tt(""), f = tt(), h = tt([]), p = tt(), v = tt(), y = tt(""), g = tt(""), w = tt(""), x = tt(""), S = tt(""), T = tt(), j = tt(), V = tt(""), z = tt([]), O = tt(GM), H = tt(UA), W = tt(VA), $ = tt(WM), G = tt(HA), k = tt(Yi.BcfStaffList), L = tt(), I = tt(0), D = tt(), R = tt(!1), U = (Se) => {
|
|
102415
|
+
const l = tt(""), f = tt(), h = tt([]), p = tt(), v = tt(), y = tt(""), g = tt(""), w = tt(""), x = tt(""), S = tt(""), T = tt(), j = tt(), V = tt(""), z = tt([]), O = tt(GM()), H = tt(UA()), W = tt(VA()), $ = tt(WM()), G = tt(HA()), k = tt(Yi.BcfStaffList), L = tt(), I = tt(0), D = tt(), R = tt(!1), U = (Se) => {
|
|
102417
102416
|
R.value || (window.bimViewer.setEntitySelected(Se), D.value = window.bimViewer.viewer.scene.selectedObjectIds, I.value = D.value.length);
|
|
102418
102417
|
};
|
|
102419
102418
|
$i(() => {
|
|
@@ -102429,7 +102428,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
102429
102428
|
} else if (u)
|
|
102430
102429
|
if (v.value = u.index, y.value = u.title, g.value = u.type ? u.type : "", w.value = u.priority ? Uc(u.priority) : "", x.value = u.status ? u.status : "", S.value = u.stage ? u.stage : "", T.value = typeof u.assignedTo == "number" ? u.assignedTo : void 0, j.value = u.dueDate ? Ls(u.dueDate) : "", V.value = u.description ? u.description : "", z.value = u.labels ? u.labels : [], u.viewPoints) {
|
|
102431
102430
|
if (L.value = 0, h.value = u.viewPoints, u.viewPoints.length == 0) return;
|
|
102432
|
-
let Se = u.viewPoints[0].bcfView
|
|
102431
|
+
let { components: Se } = u.viewPoints[0].bcfView;
|
|
102433
102432
|
Se ? Se.selection ? (D.value = Se.selection.map((be) => be.ifc_guid), I.value = D.value.length, window.bimViewer.setObjectsSelected(D.value, !0)) : (D.value = [], window.bimViewer.setAllObjectsSelected(!1)) : window.bimViewer.setAllObjectsSelected(!1);
|
|
102434
102433
|
} else
|
|
102435
102434
|
window.bimViewer.setAllObjectsSelected(!1);
|
|
@@ -102472,7 +102471,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
102472
102471
|
L.value = Se;
|
|
102473
102472
|
let be = h.value[L.value].bcfView;
|
|
102474
102473
|
if (be && be.components) {
|
|
102475
|
-
let le = be.components
|
|
102474
|
+
let { selection: le } = be.components;
|
|
102476
102475
|
D.value = le == null ? void 0 : le.map((Ae) => Ae.ifc_guid), I.value = D.value && D.value.length;
|
|
102477
102476
|
} else
|
|
102478
102477
|
L.value = void 0, D.value = [], I.value = 0;
|
|
@@ -102818,7 +102817,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
102818
102817
|
]);
|
|
102819
102818
|
};
|
|
102820
102819
|
}
|
|
102821
|
-
}), Yie = /* @__PURE__ */ An(Xie, [["__scopeId", "data-v-
|
|
102820
|
+
}), Yie = /* @__PURE__ */ An(Xie, [["__scopeId", "data-v-31d5833a"]]), Jie = { class: "dialog_background" }, Zie = { class: "dialog_panel" }, qie = { class: "confirm_content" }, ene = ["src"], tne = { class: "delete_content" }, rne = { class: "text" }, ine = { class: "name" }, nne = { class: "buttons" }, sne = /* @__PURE__ */ jr({
|
|
102822
102821
|
__name: "dialogPanel",
|
|
102823
102822
|
props: {
|
|
102824
102823
|
deleteContentName: {},
|
|
@@ -103286,7 +103285,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103286
103285
|
onClick: B
|
|
103287
103286
|
}, [
|
|
103288
103287
|
Te("img", {
|
|
103289
|
-
src: ce(cr)
|
|
103288
|
+
src: `${ce(cr)}/bim-viewer/bcf-images/back.png`,
|
|
103290
103289
|
alt: ""
|
|
103291
103290
|
}, null, 8, $ne),
|
|
103292
103291
|
Te("div", Kne, bt(v.value), 1)
|
|
@@ -103297,7 +103296,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103297
103296
|
}, [
|
|
103298
103297
|
Te("img", {
|
|
103299
103298
|
class: "refresh",
|
|
103300
|
-
src: ce(cr)
|
|
103299
|
+
src: `${ce(cr)}/bim-viewer/bcf-images/refresh.png`,
|
|
103301
103300
|
alt: ""
|
|
103302
103301
|
}, null, 8, Xne)
|
|
103303
103302
|
])
|
|
@@ -103328,7 +103327,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103328
103327
|
onSwitchViewPoints: ne
|
|
103329
103328
|
}, null, 8, ["snapshot-list"])) : (qe(), ht("div", tse, [
|
|
103330
103329
|
Te("img", {
|
|
103331
|
-
src: ce(cr)
|
|
103330
|
+
src: `${ce(cr)}/bim-viewer/bcf-images/empty.png`,
|
|
103332
103331
|
alt: ""
|
|
103333
103332
|
}, null, 8, rse)
|
|
103334
103333
|
])),
|
|
@@ -103338,7 +103337,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103338
103337
|
style: Wi({ backgroundColor: ce(QM)(w.value) })
|
|
103339
103338
|
}, [
|
|
103340
103339
|
Te("img", {
|
|
103341
|
-
src: ce(cr)
|
|
103340
|
+
src: `${ce(cr)}/bim-viewer/bcf-images/bulb.png`,
|
|
103342
103341
|
alt: ""
|
|
103343
103342
|
}, null, 8, ise),
|
|
103344
103343
|
Te("span", null, bt(w.value), 1)
|
|
@@ -103465,7 +103464,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103465
103464
|
])) : Wt("", !0);
|
|
103466
103465
|
};
|
|
103467
103466
|
}
|
|
103468
|
-
}), Lse = /* @__PURE__ */ An(Ose, [["__scopeId", "data-v-
|
|
103467
|
+
}), Lse = /* @__PURE__ */ An(Ose, [["__scopeId", "data-v-37ef9519"]]), jse = {
|
|
103469
103468
|
key: 0,
|
|
103470
103469
|
class: "mobile-bcf-filter-container"
|
|
103471
103470
|
}, Nse = {
|
|
@@ -103523,10 +103522,10 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103523
103522
|
}), o = tt(), l = tt(""), f = tt(""), h = tt(""), p = tt([]), v = (H) => {
|
|
103524
103523
|
switch (l.value = H, H) {
|
|
103525
103524
|
case "priority":
|
|
103526
|
-
f.value = `${b("bcf.filter")} ${b("bcf.priority")}`, p.value = UA, h.value = u.value.bcf_priority, P.value = !1, E.value = !0;
|
|
103525
|
+
f.value = `${b("bcf.filter")} ${b("bcf.priority")}`, p.value = UA(), h.value = u.value.bcf_priority, P.value = !1, E.value = !0;
|
|
103527
103526
|
break;
|
|
103528
103527
|
case "status":
|
|
103529
|
-
f.value = `${b("bcf.filter")} ${b("bcf.status")}`, p.value = VA, h.value = u.value.bcf_status, P.value = !1, E.value = !0;
|
|
103528
|
+
f.value = `${b("bcf.filter")} ${b("bcf.status")}`, p.value = VA(), h.value = u.value.bcf_status, P.value = !1, E.value = !0;
|
|
103530
103529
|
break;
|
|
103531
103530
|
case "createDate":
|
|
103532
103531
|
f.value = `${b("bcf.filter")} ${b("bcf.createDate")}`, o.value.handleOpen();
|
|
@@ -103538,7 +103537,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103538
103537
|
f.value = `${b("bcf.filter")} ${b("bcf.creator")}`, p.value = d.value, h.value = u.value.bcf_authorId, P.value = !1, E.value = !0;
|
|
103539
103538
|
break;
|
|
103540
103539
|
case "tag":
|
|
103541
|
-
f.value = b("mobileComments.filter.tag"), p.value = HA, h.value = u.value.bcf_tag, P.value = !1, E.value = !0;
|
|
103540
|
+
f.value = b("mobileComments.filter.tag"), p.value = HA(), h.value = u.value.bcf_tag, P.value = !1, E.value = !0;
|
|
103542
103541
|
break;
|
|
103543
103542
|
}
|
|
103544
103543
|
}, y = (H) => {
|
|
@@ -103865,7 +103864,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
103865
103864
|
])) : Wt("", !0);
|
|
103866
103865
|
};
|
|
103867
103866
|
}
|
|
103868
|
-
}), aoe = /* @__PURE__ */ An(soe, [["__scopeId", "data-v-
|
|
103867
|
+
}), aoe = /* @__PURE__ */ An(soe, [["__scopeId", "data-v-ba3e3f1f"]]), ooe = { class: "empty" }, loe = ["src"], uoe = { class: "title" }, coe = /* @__PURE__ */ jr({
|
|
103869
103868
|
__name: "emptyPage",
|
|
103870
103869
|
props: {
|
|
103871
103870
|
title: String
|
|
@@ -105146,14 +105145,14 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105146
105145
|
default: ir(() => [
|
|
105147
105146
|
(qe(!0), ht(Dr, null, ri(u.value, (G, k) => (qe(), rr(H, {
|
|
105148
105147
|
class: kt(k % 2 == 1 ? "line1" : "line2"),
|
|
105149
|
-
|
|
105148
|
+
value: G,
|
|
105150
105149
|
key: G
|
|
105151
105150
|
}, {
|
|
105152
105151
|
default: ir(() => [
|
|
105153
105152
|
Te("span", null, bt(G), 1)
|
|
105154
105153
|
]),
|
|
105155
105154
|
_: 2
|
|
105156
|
-
}, 1032, ["class", "
|
|
105155
|
+
}, 1032, ["class", "value"]))), 128))
|
|
105157
105156
|
]),
|
|
105158
105157
|
_: 1
|
|
105159
105158
|
}, 8, ["modelValue"])
|
|
@@ -105224,7 +105223,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105224
105223
|
default: ir(() => [
|
|
105225
105224
|
(qe(!0), ht(Dr, null, ri(u.value, (G, k) => (qe(), rr(H, {
|
|
105226
105225
|
class: kt(k % 2 == 1 ? "line1" : "line2"),
|
|
105227
|
-
|
|
105226
|
+
value: G,
|
|
105228
105227
|
key: G
|
|
105229
105228
|
}, {
|
|
105230
105229
|
default: ir(() => [
|
|
@@ -105236,7 +105235,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105236
105235
|
Te("span", null, bt(G), 1)
|
|
105237
105236
|
]),
|
|
105238
105237
|
_: 2
|
|
105239
|
-
}, 1032, ["class", "
|
|
105238
|
+
}, 1032, ["class", "value"]))), 128))
|
|
105240
105239
|
]),
|
|
105241
105240
|
_: 1
|
|
105242
105241
|
}, 8, ["modelValue"])
|
|
@@ -105252,7 +105251,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105252
105251
|
]);
|
|
105253
105252
|
};
|
|
105254
105253
|
}
|
|
105255
|
-
}), fce = /* @__PURE__ */ An(hce, [["__scopeId", "data-v-
|
|
105254
|
+
}), fce = /* @__PURE__ */ An(hce, [["__scopeId", "data-v-56c20c32"]]), dce = { class: "bcf_add_wrapper" }, pce = { class: "add_page_title" }, Ace = ["src"], mce = { class: "close" }, vce = { class: "content_scrollbar" }, gce = { class: "bcf_add_content" }, bce = { class: "bcf_id_time" }, yce = { class: "snpshot_wrapper" }, _ce = { class: "snapshot_container" }, wce = {
|
|
105256
105255
|
key: 0,
|
|
105257
105256
|
class: "upload_button"
|
|
105258
105257
|
}, xce = ["src"], Cce = ["src"], Pce = { class: "add_object_annotation" }, Bce = { class: "new_icon" }, Ece = ["src"], Sce = ["src"], Mce = { class: "new_button" }, Tce = ["src"], kce = {
|
|
@@ -105269,7 +105268,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105269
105268
|
},
|
|
105270
105269
|
emits: ["closePanel", "closeAdd", "submitBcf", "updateBcf", "imageZoomIn"],
|
|
105271
105270
|
setup(M, { emit: Q }) {
|
|
105272
|
-
const a = Dn(), P = Q, E = M, { bcfId: b, mode: d, userId: u, bcfContent: c, bcfList: o } = E, l = tt("select"), f = tt(""), h = tt(), p = tt(), v = tt([]), y = tt(), g = tt(), w = tt(""), x = tt(""), S = tt(""), T = tt(""), j = tt(""), V = tt(), z = tt(), O = tt(""), H = tt([]), W = tt(GM), $ = tt(UA), G = tt(VA), k = tt(WM), L = tt(HA), I = tt(Yi.BcfStaffList), D = tt(), R = tt(0), U = tt(), F = tt(!1), X = (B) => {
|
|
105271
|
+
const a = Dn(), P = Q, E = M, { bcfId: b, mode: d, userId: u, bcfContent: c, bcfList: o } = E, l = tt("select"), f = tt(""), h = tt(), p = tt(), v = tt([]), y = tt(), g = tt(), w = tt(""), x = tt(""), S = tt(""), T = tt(""), j = tt(""), V = tt(), z = tt(), O = tt(""), H = tt([]), W = tt(GM()), $ = tt(UA()), G = tt(VA()), k = tt(WM()), L = tt(HA()), I = tt(Yi.BcfStaffList), D = tt(), R = tt(0), U = tt(), F = tt(!1), X = (B) => {
|
|
105273
105272
|
F.value || window.bimViewer.setEntitySelected(B);
|
|
105274
105273
|
};
|
|
105275
105274
|
$i(() => {
|
|
@@ -105285,7 +105284,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105285
105284
|
} else if (c)
|
|
105286
105285
|
if (g.value = c.index, w.value = c.title, x.value = c.type ? c.type : "", S.value = c.priority ? Uc(c.priority) : "", T.value = c.status ? c.status : "", j.value = c.stage ? c.stage : "", V.value = typeof c.assignedTo == "number" ? c.assignedTo : void 0, z.value = c.dueDate ? Ls(c.dueDate) : "", O.value = c.description ? c.description : "", H.value = c.labels ? c.labels : [], c.viewPoints) {
|
|
105287
105286
|
if (D.value = 0, v.value = c.viewPoints, c.viewPoints.length == 0) return;
|
|
105288
|
-
let B = c.viewPoints[0].bcfView
|
|
105287
|
+
let { components: B } = c.viewPoints[0].bcfView;
|
|
105289
105288
|
B ? B.selection ? (U.value = B.selection.map((Me) => Me.ifc_guid), R.value = U.value.length, window.bimViewer.setObjectsSelected(U.value, !0)) : (U.value = [], window.bimViewer.setAllObjectsSelected(!1)) : window.bimViewer.setAllObjectsSelected(!1);
|
|
105290
105289
|
} else
|
|
105291
105290
|
window.bimViewer.setAllObjectsSelected(!1);
|
|
@@ -105318,7 +105317,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105318
105317
|
D.value = B;
|
|
105319
105318
|
let Me = v.value[D.value].bcfView;
|
|
105320
105319
|
if (Me && Me.components) {
|
|
105321
|
-
let Ce = Me.components
|
|
105320
|
+
let { selection: Ce } = Me.components;
|
|
105322
105321
|
U.value = Ce == null ? void 0 : Ce.map((de) => de.ifc_guid), R.value = U.value && U.value.length;
|
|
105323
105322
|
} else
|
|
105324
105323
|
D.value = void 0, U.value = [], R.value = 0;
|
|
@@ -105698,7 +105697,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105698
105697
|
], 64);
|
|
105699
105698
|
};
|
|
105700
105699
|
}
|
|
105701
|
-
}), qce = /* @__PURE__ */ An(Zce, [["__scopeId", "data-v-
|
|
105700
|
+
}), qce = /* @__PURE__ */ An(Zce, [["__scopeId", "data-v-487b38d3"]]), ehe = { class: "filter" }, the = ["src"], rhe = { class: "filter_panel" }, ihe = { class: "header" }, nhe = { class: "content" }, she = { class: "select_item" }, ahe = { class: "select_wrapper" }, ohe = { class: "select_item" }, lhe = { class: "select_wrapper" }, uhe = { class: "select_item" }, che = { class: "select_wrapper" }, hhe = { class: "select_item" }, fhe = { class: "select_wrapper" }, dhe = { class: "select_item" }, phe = { class: "select_wrapper" }, Ahe = { class: "select_item" }, mhe = { class: "select_wrapper" }, vhe = { class: "footer" }, ghe = /* @__PURE__ */ jr({
|
|
105702
105701
|
__name: "BCFFilter",
|
|
105703
105702
|
props: {
|
|
105704
105703
|
instruction: {},
|
|
@@ -105714,7 +105713,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105714
105713
|
},
|
|
105715
105714
|
{ deep: !0 }
|
|
105716
105715
|
);
|
|
105717
|
-
const d = tt(), u = tt(), c = tt(), o = tt(), l = tt(), f = tt(), h = tt(Yi.BcfStaffList), p = tt(!1), v = tt(UA), y = tt(VA), g = tt(HA), w = tt(!1), x = () => {
|
|
105716
|
+
const d = tt(), u = tt(), c = tt(), o = tt(), l = tt(), f = tt(), h = tt(Yi.BcfStaffList), p = tt(!1), v = tt(UA()), y = tt(VA()), g = tt(HA()), w = tt(!1), x = () => {
|
|
105718
105717
|
w.value = !0;
|
|
105719
105718
|
}, S = () => {
|
|
105720
105719
|
if (!d.value && !u.value && !c.value && !o.value && !o.value && !l.value && (!f.value || f.value.length == 0))
|
|
@@ -105885,7 +105884,7 @@ const fie = { class: "mobile_bcf_add_wrapper" }, die = { class: "add_page_title"
|
|
|
105885
105884
|
]);
|
|
105886
105885
|
};
|
|
105887
105886
|
}
|
|
105888
|
-
}), bhe = /* @__PURE__ */ An(ghe, [["__scopeId", "data-v-
|
|
105887
|
+
}), bhe = /* @__PURE__ */ An(ghe, [["__scopeId", "data-v-6b5eebd6"]]);
|
|
105889
105888
|
function Zp(M) {
|
|
105890
105889
|
throw new Error('Could not dynamically require "' + M + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
105891
105890
|
}
|
|
@@ -129389,19 +129388,19 @@ const whe = { class: "bcf_wrapper" }, xhe = { class: "bcf_content" }, Che = { cl
|
|
|
129389
129388
|
__proto__: null,
|
|
129390
129389
|
default: ZM
|
|
129391
129390
|
}, Symbol.toStringTag, { value: "Module" })), ife = {
|
|
129392
|
-
StructureTree: ma(() => import("./StructureTree-
|
|
129393
|
-
InspectorTool: ma(() => import("./InspectorTool-
|
|
129394
|
-
RoamTool: ma(() => import("./RoamTool-
|
|
129395
|
-
HiddenTool: ma(() => import("./HiddenTool-
|
|
129396
|
-
MeasureTool: ma(() => import("./MeasureTool-
|
|
129397
|
-
SectionTool: ma(() => import("./SectionTool-
|
|
129398
|
-
CommentTool: ma(() => import("./CommentTool-
|
|
129399
|
-
AnnotationTool: ma(() => import("./AnnotationTool-
|
|
129400
|
-
ScreenShotTool: ma(() => import("./ScreenShotTool-
|
|
129401
|
-
SettingTool: ma(() => import("./SettingTool-
|
|
129402
|
-
NavigateTool: ma(() => import("./NavigateTool-
|
|
129391
|
+
StructureTree: ma(() => import("./StructureTree-CtJ4Yf5_.mjs")),
|
|
129392
|
+
InspectorTool: ma(() => import("./InspectorTool-BXArGZHO.mjs")),
|
|
129393
|
+
RoamTool: ma(() => import("./RoamTool-CjRywSYn.mjs")),
|
|
129394
|
+
HiddenTool: ma(() => import("./HiddenTool-CilrXe5l.mjs")),
|
|
129395
|
+
MeasureTool: ma(() => import("./MeasureTool-DtUiP4t1.mjs")),
|
|
129396
|
+
SectionTool: ma(() => import("./SectionTool-DlnlE6Pv.mjs")),
|
|
129397
|
+
CommentTool: ma(() => import("./CommentTool-ChVib2Wg.mjs")),
|
|
129398
|
+
AnnotationTool: ma(() => import("./AnnotationTool-CPBZcbp_.mjs")),
|
|
129399
|
+
ScreenShotTool: ma(() => import("./ScreenShotTool-g1dzvqn2.mjs")),
|
|
129400
|
+
SettingTool: ma(() => import("./SettingTool-y_hp2XrJ.mjs")),
|
|
129401
|
+
NavigateTool: ma(() => import("./NavigateTool-COsSnxyD.mjs")),
|
|
129403
129402
|
BCFTool: ma(() => Promise.resolve().then(() => rfe)),
|
|
129404
|
-
MouseTool: ma(() => import("./MouseTool-
|
|
129403
|
+
MouseTool: ma(() => import("./MouseTool-2Nxz447f.mjs"))
|
|
129405
129404
|
}, nfe = qb("userInfo", {
|
|
129406
129405
|
state: () => ({
|
|
129407
129406
|
userId: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as r, T as o } from "./index-
|
|
1
|
+
import { H as r, T as o } from "./index-DTeJ8S3e.mjs";
|
|
2
2
|
import { defineComponent as c, ref as u, onMounted as p, createBlock as m, openBlock as h, unref as l, withCtx as _, createElementVNode as e, normalizeStyle as g, toDisplayString as f, createVNode as w, renderSlot as k } from "vue";
|
|
3
3
|
import { ElDialog as v } from "element-plus";
|
|
4
4
|
const y = { class: "panel_top" }, T = { class: "panel_title" }, V = { class: "panel_close" }, S = { class: "panel_content" }, C = /* @__PURE__ */ c({
|