@xtctwins/tctwins-bimx-engine 0.2.2 → 0.2.4
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/README.md +2 -2
- package/dist/{AnnotationTool-BaH4ZhnK.mjs → AnnotationTool-DfWmxD1D.mjs} +2 -2
- package/dist/BIMX_Viewer_Lib.es.js +1 -1
- package/dist/BIMX_Viewer_Lib.umd.js +97 -97
- package/dist/{CommentTool-1K5X3dOV.mjs → CommentTool-DzLliiYS.mjs} +1 -1
- package/dist/{HiddenTool-QYeyOoMf.mjs → HiddenTool-Cm5Ci0MZ.mjs} +1 -1
- package/dist/{InspectorTool-CfO82Cxw.mjs → InspectorTool-Do9RSiMf.mjs} +3 -3
- package/dist/{MeasureTool-BxewbRN-.mjs → MeasureTool-B1UuEsP8.mjs} +2 -2
- package/dist/{NavigateTool-CXm7RwIg.mjs → NavigateTool-C7Z_NPVF.mjs} +1 -1
- package/dist/{RoamTool-CfvpMBOw.mjs → RoamTool-CagIOosk.mjs} +1 -1
- package/dist/{ScreenShotTool-BhsCuXbx.mjs → ScreenShotTool-0Vi9AUTn.mjs} +2 -2
- package/dist/{SectionTool-DgLoed3c.mjs → SectionTool-DesNemnC.mjs} +4 -4
- package/dist/SettingTool-1o0vXdCC.mjs +655 -0
- package/dist/{StructureTree-Bz-olgHD.mjs → StructureTree-DSsjc8Bc.mjs} +3 -3
- package/dist/{alert-rYHSP5Fm.mjs → alert-Db9AVTpX.mjs} +1 -1
- package/dist/{el-input-number-CkfxerCT.mjs → el-input-number-CO9UqpSF.mjs} +1 -1
- package/dist/{index-CrYdrQmt.mjs → index-B1Qpy05N.mjs} +97 -97
- package/dist/{panel.vue_vue_type_style_index_0_lang-D6jJ0P3X.mjs → panel.vue_vue_type_style_index_0_lang-zF-8T-so.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-9aSAu1ZV.mjs → tallPanel-CY30jxbV.mjs} +1 -1
- package/package.json +4 -7
- package/types/components/BimViewerComponents/SettingTool.vue.d.ts +8 -3
- package/types/utils/eventBus.d.ts +2 -0
- package/dist/SettingTool-Cxfwu47P.mjs +0 -605
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _V = Object.defineProperty;
|
|
2
2
|
var wV = (L, Q, a) => Q in L ? _V(L, Q, { enumerable: !0, configurable: !0, writable: !0, value: a }) : L[Q] = a;
|
|
3
3
|
var nn = (L, Q, a) => wV(L, typeof Q != "symbol" ? Q + "" : Q, a);
|
|
4
|
-
import { unref as Be, getCurrentScope as xV, onScopeDispose as CV, getCurrentInstance as rs, onMounted as sn, nextTick as Ni, watch as Or, ref as mt, warn as PV, computed as Bt, inject as bi, isRef as zh, shallowRef as Nh, onBeforeUnmount as _s, onBeforeMount as BV, provide as Xs, defineComponent as Br, openBlock as ct, createElementBlock as Dt, mergeProps as po, renderSlot as Dr, toRef as En, onUnmounted as EV, useAttrs as Ip, useSlots as uu, createCommentVNode as sr, Fragment as oi, normalizeClass as Ft, createElementVNode as Ye, createBlock as gr, withCtx as ar, resolveDynamicComponent as qn, withModifiers as ln, createVNode as $t, toDisplayString as vr, normalizeStyle as Mn, Transition as Fp, withDirectives as
|
|
4
|
+
import { unref as Be, getCurrentScope as xV, onScopeDispose as CV, getCurrentInstance as rs, onMounted as sn, nextTick as Ni, watch as Or, ref as mt, warn as PV, computed as Bt, inject as bi, isRef as zh, shallowRef as Nh, onBeforeUnmount as _s, onBeforeMount as BV, provide as Xs, defineComponent as Br, openBlock as ct, createElementBlock as Dt, mergeProps as po, renderSlot as Dr, toRef as En, onUnmounted as EV, useAttrs as Ip, useSlots as uu, createCommentVNode as sr, Fragment as oi, normalizeClass as Ft, createElementVNode as Ye, createBlock as gr, withCtx as ar, resolveDynamicComponent as qn, withModifiers as ln, createVNode as $t, toDisplayString as vr, normalizeStyle as Mn, Transition as Fp, withDirectives as Wi, vShow as Qn, reactive as cu, onActivated as SV, onUpdated as MV, cloneVNode as TV, Text as EB, Comment as kV, Teleport as IV, readonly as FV, onDeactivated as DV, renderList as Ei, createTextVNode as bs, toRaw as wp, vModelCheckbox as xp, toRefs as iy, withKeys as Ha, watchEffect as RV, resolveComponent as eu, resolveDirective as OV, toHandlerKey as LV, vModelText as jV, createStaticVNode as NV, defineAsyncComponent as Pa } from "vue";
|
|
5
5
|
import UV from "mitt";
|
|
6
6
|
import { defineStore as VV } from "pinia";
|
|
7
7
|
import HV from "axios";
|
|
@@ -3012,7 +3012,7 @@ const fo = Wa(hX), nc = 4, fX = {
|
|
|
3012
3012
|
persisted: ""
|
|
3013
3013
|
}, {
|
|
3014
3014
|
default: ar(() => [
|
|
3015
|
-
|
|
3015
|
+
Wi(Ye("div", {
|
|
3016
3016
|
ref_key: "instance",
|
|
3017
3017
|
ref: E,
|
|
3018
3018
|
class: Ft([Be(B).e("bar"), Be(B).is(Be(c).key)]),
|
|
@@ -3309,7 +3309,7 @@ const P0 = "ElOnlyChild", IX = Br({
|
|
|
3309
3309
|
if (d.length > 1)
|
|
3310
3310
|
return ts(P0, "requires exact only one valid child."), null;
|
|
3311
3311
|
const u = ME(d);
|
|
3312
|
-
return u ?
|
|
3312
|
+
return u ? Wi(TV(u, a), [[y]]) : (ts(P0, "no valid child node found"), null);
|
|
3313
3313
|
};
|
|
3314
3314
|
}
|
|
3315
3315
|
});
|
|
@@ -4171,7 +4171,7 @@ const w$ = Wa(_$), x$ = Br({
|
|
|
4171
4171
|
onBeforeLeave: I
|
|
4172
4172
|
}, {
|
|
4173
4173
|
default: ar(() => [
|
|
4174
|
-
Be(S) ?
|
|
4174
|
+
Be(S) ? Wi((ct(), gr(Be(l$), po({
|
|
4175
4175
|
key: 0,
|
|
4176
4176
|
id: Be(u),
|
|
4177
4177
|
ref_key: "contentRef",
|
|
@@ -6314,7 +6314,7 @@ const kp = {
|
|
|
6314
6314
|
class: Ft([Be(B).be("spinner", "wrapper"), Be(B).is("arrow")]),
|
|
6315
6315
|
onMouseenter: (Z) => S(ee)
|
|
6316
6316
|
}, [
|
|
6317
|
-
|
|
6317
|
+
Wi((ct(), gr(Be(Ti), {
|
|
6318
6318
|
class: Ft(["arrow-up", Be(B).be("spinner", "arrow")])
|
|
6319
6319
|
}, {
|
|
6320
6320
|
default: ar(() => [
|
|
@@ -6324,7 +6324,7 @@ const kp = {
|
|
|
6324
6324
|
}, 8, ["class"])), [
|
|
6325
6325
|
[Be(mB), G]
|
|
6326
6326
|
]),
|
|
6327
|
-
|
|
6327
|
+
Wi((ct(), gr(Be(Ti), {
|
|
6328
6328
|
class: Ft(["arrow-down", Be(B).be("spinner", "arrow")])
|
|
6329
6329
|
}, {
|
|
6330
6330
|
default: ar(() => [
|
|
@@ -6756,7 +6756,7 @@ const gY = /* @__PURE__ */ $o(mY), WE = {
|
|
|
6756
6756
|
Ye("span", {
|
|
6757
6757
|
class: Ft(Be(g))
|
|
6758
6758
|
}, [
|
|
6759
|
-
w.trueValue || w.falseValue || w.trueLabel || w.falseLabel ?
|
|
6759
|
+
w.trueValue || w.falseValue || w.trueLabel || w.falseLabel ? Wi((ct(), Dt("input", {
|
|
6760
6760
|
key: 0,
|
|
6761
6761
|
id: Be(B),
|
|
6762
6762
|
"onUpdate:modelValue": (R) => zh(l) ? l.value = R : null,
|
|
@@ -6775,7 +6775,7 @@ const gY = /* @__PURE__ */ $o(mY), WE = {
|
|
|
6775
6775
|
}, ["stop"])
|
|
6776
6776
|
}, null, 42, ["id", "onUpdate:modelValue", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
6777
6777
|
[xp, Be(l)]
|
|
6778
|
-
]) :
|
|
6778
|
+
]) : Wi((ct(), Dt("input", {
|
|
6779
6779
|
key: 1,
|
|
6780
6780
|
id: Be(B),
|
|
6781
6781
|
"onUpdate:modelValue": (R) => zh(l) ? l.value = R : null,
|
|
@@ -6850,7 +6850,7 @@ const BY = Br({
|
|
|
6850
6850
|
return ct(), Dt("label", {
|
|
6851
6851
|
class: Ft(Be(p))
|
|
6852
6852
|
}, [
|
|
6853
|
-
m.trueValue || m.falseValue || m.trueLabel || m.falseLabel ?
|
|
6853
|
+
m.trueValue || m.falseValue || m.trueLabel || m.falseLabel ? Wi((ct(), Dt("input", {
|
|
6854
6854
|
key: 0,
|
|
6855
6855
|
"onUpdate:modelValue": (x) => zh(d) ? d.value = x : null,
|
|
6856
6856
|
class: Ft(Be(c).be("button", "original")),
|
|
@@ -6867,7 +6867,7 @@ const BY = Br({
|
|
|
6867
6867
|
}, ["stop"])
|
|
6868
6868
|
}, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
6869
6869
|
[xp, Be(d)]
|
|
6870
|
-
]) :
|
|
6870
|
+
]) : Wi((ct(), Dt("input", {
|
|
6871
6871
|
key: 1,
|
|
6872
6872
|
"onUpdate:modelValue": (x) => zh(d) ? d.value = x : null,
|
|
6873
6873
|
class: Ft(Be(c).be("button", "original")),
|
|
@@ -8071,7 +8071,7 @@ const hJ = /* @__PURE__ */ Br({
|
|
|
8071
8071
|
onChange: me
|
|
8072
8072
|
}, null, 8, ["placeholder", "model-value", "onInput"])
|
|
8073
8073
|
], 2),
|
|
8074
|
-
|
|
8074
|
+
Wi((ct(), Dt("span", {
|
|
8075
8075
|
class: Ft(Be(y).e("editor-wrap"))
|
|
8076
8076
|
}, [
|
|
8077
8077
|
$t(Be(fo), {
|
|
@@ -8093,7 +8093,7 @@ const hJ = /* @__PURE__ */ Br({
|
|
|
8093
8093
|
[Be(kp), ve]
|
|
8094
8094
|
])
|
|
8095
8095
|
], 2)) : sr("v-if", !0),
|
|
8096
|
-
|
|
8096
|
+
Wi(Ye("div", {
|
|
8097
8097
|
class: Ft([
|
|
8098
8098
|
Be(y).e("header"),
|
|
8099
8099
|
(D.value === "year" || D.value === "month") && Be(y).e("header--bordered")
|
|
@@ -8117,7 +8117,7 @@ const hJ = /* @__PURE__ */ Br({
|
|
|
8117
8117
|
})
|
|
8118
8118
|
])
|
|
8119
8119
|
], 10, ["aria-label", "onClick"]),
|
|
8120
|
-
|
|
8120
|
+
Wi(Ye("button", {
|
|
8121
8121
|
type: "button",
|
|
8122
8122
|
"aria-label": Be(u)("el.datepicker.prevMonth"),
|
|
8123
8123
|
class: Ft([Be(E).e("icon-btn"), "arrow-left"]),
|
|
@@ -8143,7 +8143,7 @@ const hJ = /* @__PURE__ */ Br({
|
|
|
8143
8143
|
onKeydown: Ha((at) => te("year"), ["enter"]),
|
|
8144
8144
|
onClick: (at) => te("year")
|
|
8145
8145
|
}, vr(Be(U)), 43, ["onKeydown", "onClick"]),
|
|
8146
|
-
|
|
8146
|
+
Wi(Ye("span", {
|
|
8147
8147
|
role: "button",
|
|
8148
8148
|
"aria-live": "polite",
|
|
8149
8149
|
tabindex: "0",
|
|
@@ -8159,7 +8159,7 @@ const hJ = /* @__PURE__ */ Br({
|
|
|
8159
8159
|
Ye("span", {
|
|
8160
8160
|
class: Ft(Be(y).e("next-btn"))
|
|
8161
8161
|
}, [
|
|
8162
|
-
|
|
8162
|
+
Wi(Ye("button", {
|
|
8163
8163
|
type: "button",
|
|
8164
8164
|
"aria-label": Be(u)("el.datepicker.nextMonth"),
|
|
8165
8165
|
class: Ft([Be(E).e("icon-btn"), "arrow-right"]),
|
|
@@ -8233,10 +8233,10 @@ const hJ = /* @__PURE__ */ Br({
|
|
|
8233
8233
|
], 34)
|
|
8234
8234
|
], 2)
|
|
8235
8235
|
], 2),
|
|
8236
|
-
|
|
8236
|
+
Wi(Ye("div", {
|
|
8237
8237
|
class: Ft(Be(E).e("footer"))
|
|
8238
8238
|
}, [
|
|
8239
|
-
|
|
8239
|
+
Wi($t(Be(Tp), {
|
|
8240
8240
|
text: "",
|
|
8241
8241
|
size: "small",
|
|
8242
8242
|
class: Ft(Be(E).e("link-btn")),
|
|
@@ -8491,7 +8491,7 @@ const dJ = Si({
|
|
|
8491
8491
|
onChange: (Ke) => Le(Ke, "min")
|
|
8492
8492
|
}, null, 8, ["disabled", "placeholder", "class", "model-value", "onInput", "onChange"])
|
|
8493
8493
|
], 2),
|
|
8494
|
-
|
|
8494
|
+
Wi((ct(), Dt("span", {
|
|
8495
8495
|
class: Ft(Be(x).e("time-picker-wrap"))
|
|
8496
8496
|
}, [
|
|
8497
8497
|
$t(Be(fo), {
|
|
@@ -8542,7 +8542,7 @@ const dJ = Si({
|
|
|
8542
8542
|
onChange: (Ke) => Le(Ke, "max")
|
|
8543
8543
|
}, null, 8, ["class", "disabled", "placeholder", "model-value", "readonly", "onInput", "onChange"])
|
|
8544
8544
|
], 2),
|
|
8545
|
-
|
|
8545
|
+
Wi((ct(), Dt("span", {
|
|
8546
8546
|
class: Ft(Be(x).e("time-picker-wrap"))
|
|
8547
8547
|
}, [
|
|
8548
8548
|
$t(Be(fo), {
|
|
@@ -9424,7 +9424,7 @@ const kJ = Br({
|
|
|
9424
9424
|
}
|
|
9425
9425
|
});
|
|
9426
9426
|
function IJ(L, Q, a, B, E, y) {
|
|
9427
|
-
return
|
|
9427
|
+
return Wi((ct(), Dt("li", {
|
|
9428
9428
|
id: L.id,
|
|
9429
9429
|
class: Ft(L.containerKls),
|
|
9430
9430
|
role: "option",
|
|
@@ -9963,7 +9963,7 @@ const NJ = Si({
|
|
|
9963
9963
|
});
|
|
9964
9964
|
function VJ(L, Q, a, B, E, y) {
|
|
9965
9965
|
const f = eu("el-tag"), d = eu("el-tooltip"), u = eu("el-icon"), o = eu("el-option"), l = eu("el-options"), c = eu("el-scrollbar"), h = eu("el-select-menu"), p = OV("click-outside");
|
|
9966
|
-
return
|
|
9966
|
+
return Wi((ct(), Dt("div", {
|
|
9967
9967
|
ref: "selectRef",
|
|
9968
9968
|
class: Ft([L.nsSelect.b(), L.nsSelect.m(L.selectSize)]),
|
|
9969
9969
|
[LV(L.mouseEnterEventName)]: (m) => L.states.inputHovering = !0,
|
|
@@ -10121,7 +10121,7 @@ function VJ(L, Q, a, B, E, y) {
|
|
|
10121
10121
|
L.nsSelect.is("hidden", !L.filterable)
|
|
10122
10122
|
])
|
|
10123
10123
|
}, [
|
|
10124
|
-
|
|
10124
|
+
Wi(Ye("input", {
|
|
10125
10125
|
id: L.inputId,
|
|
10126
10126
|
ref: "inputRef",
|
|
10127
10127
|
"onUpdate:modelValue": (b) => L.states.inputValue = b,
|
|
@@ -10227,7 +10227,7 @@ function VJ(L, Q, a, B, E, y) {
|
|
|
10227
10227
|
}, [
|
|
10228
10228
|
Dr(L.$slots, "header")
|
|
10229
10229
|
], 10, ["onClick"])) : sr("v-if", !0),
|
|
10230
|
-
|
|
10230
|
+
Wi($t(c, {
|
|
10231
10231
|
id: L.contentId,
|
|
10232
10232
|
ref: "scrollbarRef",
|
|
10233
10233
|
tag: "ul",
|
|
@@ -10325,7 +10325,7 @@ const zJ = Br({
|
|
|
10325
10325
|
}
|
|
10326
10326
|
});
|
|
10327
10327
|
function QJ(L, Q, a, B, E, y) {
|
|
10328
|
-
return
|
|
10328
|
+
return Wi((ct(), Dt("ul", {
|
|
10329
10329
|
ref: "groupRef",
|
|
10330
10330
|
class: Ft(L.ns.be("group", "wrap"))
|
|
10331
10331
|
}, [
|
|
@@ -10349,7 +10349,7 @@ const uS = Wa(HJ, {
|
|
|
10349
10349
|
OptionGroup: lS
|
|
10350
10350
|
}), cS = qh(Iy);
|
|
10351
10351
|
qh(lS);
|
|
10352
|
-
const
|
|
10352
|
+
const Gi = UV();
|
|
10353
10353
|
let vc = {
|
|
10354
10354
|
BIMX_CONFIGS: {
|
|
10355
10355
|
viewerManager: !1,
|
|
@@ -10360,7 +10360,7 @@ let vc = {
|
|
|
10360
10360
|
viewerManager: !1
|
|
10361
10361
|
}
|
|
10362
10362
|
};
|
|
10363
|
-
const GJ = "https://bimkk-api
|
|
10363
|
+
const GJ = "https://bimkk-api.tctwins.com", li = "https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com", WJ = "https://convert.tctwins.com", KJ = {
|
|
10364
10364
|
isMember: !1,
|
|
10365
10365
|
isInShare: !1,
|
|
10366
10366
|
isShareHost: !1,
|
|
@@ -10404,7 +10404,7 @@ function lZ() {
|
|
|
10404
10404
|
};
|
|
10405
10405
|
}
|
|
10406
10406
|
function hS(L = "") {
|
|
10407
|
-
|
|
10407
|
+
Gi.emit("BIMX_CONFIGS", L);
|
|
10408
10408
|
}
|
|
10409
10409
|
function uZ(L) {
|
|
10410
10410
|
for (const Q in L)
|
|
@@ -10768,13 +10768,13 @@ function _B(L, Q) {
|
|
|
10768
10768
|
return B.sort((E, y) => E.index - y.index), B.map((E) => E.value);
|
|
10769
10769
|
}
|
|
10770
10770
|
let fS = !1;
|
|
10771
|
-
vc.BIMX_CONFIGS.viewerManager || (
|
|
10771
|
+
vc.BIMX_CONFIGS.viewerManager || (Gi.on("BIMX_CONFIGS", (L) => {
|
|
10772
10772
|
window.bimViewer ? Ga.ConfigViewer(L) : fS = !0;
|
|
10773
10773
|
}), vc.BIMX_CONFIGS.viewerManager = !0);
|
|
10774
10774
|
const dZ = () => {
|
|
10775
10775
|
Ga.SetAllClose(), window.bimViewer.setEdgesEnabled(!1), fS && Ga.ConfigViewer();
|
|
10776
10776
|
};
|
|
10777
|
-
vc.BimViewer.viewerManager || (
|
|
10777
|
+
vc.BimViewer.viewerManager || (Gi.on("BimViewer", dZ), vc.BimViewer.viewerManager = !0);
|
|
10778
10778
|
class Ga {
|
|
10779
10779
|
static ConfigViewer(Q = "") {
|
|
10780
10780
|
if (Q == "") {
|
|
@@ -10888,7 +10888,7 @@ const pZ = { class: "mobile_toolbar" }, AZ = { class: "tctwins_toolbar" }, vZ =
|
|
|
10888
10888
|
const B = Q, E = (o) => {
|
|
10889
10889
|
B("emitHandler", o);
|
|
10890
10890
|
}, y = mt(!1), f = (o) => {
|
|
10891
|
-
a.isToolActive(o) || o != 13 && o != 10 && (a.setAllToolClose([13]), Ga.SetAllClose()), (o === 10 || o == 13) && (a.isToolActive(o) ? (y.value = !1,
|
|
10891
|
+
a.isToolActive(o) || o != 13 && o != 10 && (a.setAllToolClose([13]), Ga.SetAllClose()), (o === 10 || o == 13) && (a.isToolActive(o) ? (y.value = !1, Gi.emit("mobileFullscreen", !1)) : (y.value = !0, Gi.emit("mobileFullscreen", !0)));
|
|
10892
10892
|
const l = a.getToolById(o);
|
|
10893
10893
|
d(l);
|
|
10894
10894
|
}, d = (o) => {
|
|
@@ -10983,7 +10983,7 @@ const pZ = { class: "mobile_toolbar" }, AZ = { class: "tctwins_toolbar" }, vZ =
|
|
|
10983
10983
|
for (const [B, E] of Q)
|
|
10984
10984
|
a[B] = E;
|
|
10985
10985
|
return a;
|
|
10986
|
-
}, EZ = /* @__PURE__ */ is(BZ, [["__scopeId", "data-v-
|
|
10986
|
+
}, EZ = /* @__PURE__ */ is(BZ, [["__scopeId", "data-v-69a73d23"]]), SZ = { class: "bimx-tools-wrapper" }, MZ = { class: "left_buttons" }, TZ = ["src"], kZ = ["src"], IZ = { class: "tctwins_toolbar_wrapper" }, FZ = { class: "tctwins_toolbar" }, DZ = ["onClick"], RZ = ["src"], OZ = {
|
|
10987
10987
|
key: 0,
|
|
10988
10988
|
class: "splitLine"
|
|
10989
10989
|
}, LZ = { class: "right_operate_panel" }, jZ = ["onClick"], NZ = ["src"], UZ = /* @__PURE__ */ Br({
|
|
@@ -10993,7 +10993,7 @@ const pZ = { class: "mobile_toolbar" }, AZ = { class: "tctwins_toolbar" }, vZ =
|
|
|
10993
10993
|
setup(L, { emit: Q }) {
|
|
10994
10994
|
sn(() => {
|
|
10995
10995
|
zn.showTree && E.setToolActiveStatus(0, !0);
|
|
10996
|
-
}), vc.BIMX_CONFIGS.Toolbar || (
|
|
10996
|
+
}), vc.BIMX_CONFIGS.Toolbar || (Gi.on("BIMX_CONFIGS", () => {
|
|
10997
10997
|
zn.showTree && E.setToolActiveStatus(0, !0);
|
|
10998
10998
|
}), vc.BIMX_CONFIGS.Toolbar = !0);
|
|
10999
10999
|
const a = Q, B = (u) => {
|
|
@@ -11131,7 +11131,7 @@ const pZ = { class: "mobile_toolbar" }, AZ = { class: "tctwins_toolbar" }, vZ =
|
|
|
11131
11131
|
]);
|
|
11132
11132
|
};
|
|
11133
11133
|
}
|
|
11134
|
-
}), VZ = /* @__PURE__ */ is(UZ, [["__scopeId", "data-v-f61ed34c"]]), HZ = "0.1.
|
|
11134
|
+
}), VZ = /* @__PURE__ */ is(UZ, [["__scopeId", "data-v-f61ed34c"]]), HZ = "0.1.28";
|
|
11135
11135
|
async function zZ() {
|
|
11136
11136
|
try {
|
|
11137
11137
|
return (await HV.get(`${GJ}/oss/sts`)).data.data;
|
|
@@ -19902,7 +19902,7 @@ Fragment shader:
|
|
|
19902
19902
|
}
|
|
19903
19903
|
}
|
|
19904
19904
|
function Mt(Nt) {
|
|
19905
|
-
var qt = [], ur = [], tr = [], ei = [], Jr = [], zr = [], ni = [], Kr = [], pi = [], Xr = [], hi = [], mi = [],
|
|
19905
|
+
var qt = [], ur = [], tr = [], ei = [], Jr = [], zr = [], ni = [], Kr = [], pi = [], Xr = [], hi = [], mi = [], Ki = [], Dn = [], vs = [], ia = [], ls = i._lightsState.getAmbientColorAndIntensity();
|
|
19906
19906
|
if (e.reset(), e.pass = Nt.pass, e.withSAO = !1, e.pbrEnabled = we && !!i.pbrEnabled, e.colorTextureEnabled = Ee && !!i.colorTextureEnabled, s.viewport(0, 0, s.drawingBufferWidth, s.drawingBufferHeight), n)
|
|
19907
19907
|
s.clearColor(0, 0, 0, 0);
|
|
19908
19908
|
else {
|
|
@@ -19921,7 +19921,7 @@ Fragment shader:
|
|
|
19921
19921
|
for (var dn = 0, pn = 0, jn = 0, Rn = 0, Pn = 0, gs = 0, tn = 0, Nn = 0, Un = 0, Ji = 0, yn = 0, xi = 0, Vn = 0, rn = 0, na = 0, bn = 0, _a = 0, Oa = Y.length; _a < Oa; _a++)
|
|
19922
19922
|
if (fi = Y[_a], !(fi.culled === !0 || fi.visible === !1)) {
|
|
19923
19923
|
var Qi = fi.renderFlags;
|
|
19924
|
-
Qi.colorOpaque && (xe && Wn && fi.saoEnabled ? qt[dn++] = fi : fi.drawColorOpaque(e)), Ae && Qi.colorTransparent && (tr[jn++] = fi), Qi.xrayedSilhouetteTransparent && (ni[tn++] = fi), Qi.xrayedSilhouetteOpaque && (Jr[Pn++] = fi), Qi.highlightedSilhouetteTransparent && (hi[yn++] = fi), Qi.highlightedSilhouetteOpaque && (pi[Un++] = fi), Qi.selectedSilhouetteTransparent && (vs[na++] = fi), Qi.selectedSilhouetteOpaque && (
|
|
19924
|
+
Qi.colorOpaque && (xe && Wn && fi.saoEnabled ? qt[dn++] = fi : fi.drawColorOpaque(e)), Ae && Qi.colorTransparent && (tr[jn++] = fi), Qi.xrayedSilhouetteTransparent && (ni[tn++] = fi), Qi.xrayedSilhouetteOpaque && (Jr[Pn++] = fi), Qi.highlightedSilhouetteTransparent && (hi[yn++] = fi), Qi.highlightedSilhouetteOpaque && (pi[Un++] = fi), Qi.selectedSilhouetteTransparent && (vs[na++] = fi), Qi.selectedSilhouetteOpaque && (Ki[Vn++] = fi), fi.edges && be && (Qi.edgesOpaque && (ur[pn++] = fi), Qi.edgesTransparent && (ei[Rn++] = fi), Qi.selectedEdgesTransparent && (ia[bn++] = fi), Qi.selectedEdgesOpaque && (Dn[rn++] = fi), Qi.xrayedEdgesTransparent && (Kr[Nn++] = fi), Qi.xrayedEdgesOpaque && (zr[gs++] = fi), Qi.highlightedEdgesTransparent && (mi[xi++] = fi), Qi.highlightedEdgesOpaque && (Xr[Ji++] = fi));
|
|
19925
19925
|
}
|
|
19926
19926
|
if (dn > 0)
|
|
19927
19927
|
for (e.withSAO = !0, fr = 0; fr < dn; fr++)
|
|
@@ -19973,7 +19973,7 @@ Fragment shader:
|
|
|
19973
19973
|
Dn[fr].drawEdgesSelected(e);
|
|
19974
19974
|
if (Vn > 0)
|
|
19975
19975
|
for (fr = 0; fr < Vn; fr++)
|
|
19976
|
-
|
|
19976
|
+
Ki[fr].drawSilhouetteSelected(e);
|
|
19977
19977
|
}
|
|
19978
19978
|
if (na > 0 || bn > 0) {
|
|
19979
19979
|
if (e.lastProgramId = null, i.selectedMaterial.glowThrough && s.clear(s.DEPTH_BUFFER_BIT), s.enable(s.CULL_FACE), s.enable(s.BLEND), s.blendEquation(s.FUNC_ADD), s.blendFuncSeparate(s.SRC_ALPHA, s.ONE_MINUS_SRC_ALPHA, s.ONE, s.ONE_MINUS_SRC_ALPHA), bn > 0)
|
|
@@ -19999,21 +19999,21 @@ Fragment shader:
|
|
|
19999
19999
|
return P.vec3(), P.vec3(), function(pi) {
|
|
20000
20000
|
var Xr = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ei;
|
|
20001
20001
|
Xr.reset(), ze();
|
|
20002
|
-
var hi, mi = null,
|
|
20003
|
-
Xr.pickSurface = pi.pickSurface, pi.canvasPos ? (zr[0] = pi.canvasPos[0], zr[1] = pi.canvasPos[1], mi = i.camera.viewMatrix,
|
|
20002
|
+
var hi, mi = null, Ki = null, Dn = null;
|
|
20003
|
+
Xr.pickSurface = pi.pickSurface, pi.canvasPos ? (zr[0] = pi.canvasPos[0], zr[1] = pi.canvasPos[1], mi = i.camera.viewMatrix, Ki = i.camera.projMatrix, Dn = i.camera.projection, Xr.canvasPos = pi.canvasPos) : (pi.matrix ? (mi = pi.matrix, Ki = i.camera.projMatrix, Dn = i.camera.projection) : (ni.set(pi.origin || [0, 0, 0]), Kr.set(pi.direction || [0, 0, 1]), hi = P.addVec3(ni, Kr, Nt), ur[0] = Math.random(), ur[1] = Math.random(), ur[2] = Math.random(), P.normalizeVec3(ur), P.cross3Vec3(Kr, ur, tr), mi = P.lookAtMat4v(ni, hi, tr, qt), Ki = i.camera.ortho.matrix, Dn = "ortho", Xr.origin = ni, Xr.direction = Kr), zr[0] = r.clientWidth * 0.5, zr[1] = r.clientHeight * 0.5);
|
|
20004
20004
|
for (var vs in C)
|
|
20005
20005
|
if (C.hasOwnProperty(vs))
|
|
20006
20006
|
for (var ia = C[vs].drawableList, ls = 0, ms = ia.length; ls < ms; ls++) {
|
|
20007
20007
|
var Wn = ia[ls];
|
|
20008
|
-
Wn.setPickMatrices && Wn.setPickMatrices(mi,
|
|
20008
|
+
Wn.setPickMatrices && Wn.setPickMatrices(mi, Ki);
|
|
20009
20009
|
}
|
|
20010
20010
|
var Hi = Ie.getRenderBuffer("pick", { size: [1, 1] });
|
|
20011
20011
|
Hi.bind();
|
|
20012
|
-
var fr = zt(Hi, zr, mi,
|
|
20012
|
+
var fr = zt(Hi, zr, mi, Ki, pi, Xr);
|
|
20013
20013
|
if (!fr)
|
|
20014
20014
|
return Hi.unbind(), null;
|
|
20015
20015
|
var fi = fr.delegatePickedEntity ? fr.delegatePickedEntity() : fr;
|
|
20016
|
-
return fi ? (pi.pickSurface && (fr.canPickTriangle && fr.canPickTriangle() ? (Xt(Hi, fr, zr, mi,
|
|
20016
|
+
return fi ? (pi.pickSurface && (fr.canPickTriangle && fr.canPickTriangle() ? (Xt(Hi, fr, zr, mi, Ki, Xr), fr.pickTriangleSurface(mi, Ki, Dn, Xr), Xr.pickSurfacePrecision = !1) : fr.canPickWorldPos && fr.canPickWorldPos() && (Jr[0] = i.camera.project.near, Jr[1] = i.camera.project.far, Gt(Hi, fr, zr, mi, Ki, Jr, Xr), pi.pickSurfaceNormal !== !1 && dr(Hi, fr, zr, mi, Ki, Xr), Xr.pickSurfacePrecision = !1)), Hi.unbind(), Xr.entity = fi, Xr) : (Hi.unbind(), null);
|
|
20017
20017
|
};
|
|
20018
20018
|
}();
|
|
20019
20019
|
function zt(Nt, qt, ur, tr, ei, Jr) {
|
|
@@ -20023,9 +20023,9 @@ Fragment shader:
|
|
|
20023
20023
|
var hi = Y[pi];
|
|
20024
20024
|
hi.culled === !0 || hi.visible === !1 || !hi.drawPickMesh || ei.pickInvisible !== !0 && hi.visible === !1 || hi.pickable === !1 || ni && !ni[hi.id] || Kr && Kr[hi.id] || hi.drawPickMesh(e);
|
|
20025
20025
|
}
|
|
20026
|
-
var mi = Nt.read(0, 0),
|
|
20027
|
-
if (!(
|
|
20028
|
-
var Dn = _.items[
|
|
20026
|
+
var mi = Nt.read(0, 0), Ki = mi[0] + (mi[1] << 8) + (mi[2] << 16) + (mi[3] << 24);
|
|
20027
|
+
if (!(Ki < 0)) {
|
|
20028
|
+
var Dn = _.items[Ki];
|
|
20029
20029
|
return Dn;
|
|
20030
20030
|
}
|
|
20031
20031
|
}
|
|
@@ -20039,9 +20039,9 @@ Fragment shader:
|
|
|
20039
20039
|
}
|
|
20040
20040
|
var Gt = function() {
|
|
20041
20041
|
var Nt = P.vec4(), qt = P.vec4(), ur = P.vec4(), tr = P.vec4(), ei = P.vec4(), Jr = P.mat4(), zr = P.mat4(), ni = P.mat4();
|
|
20042
|
-
return function(Kr, pi, Xr, hi, mi,
|
|
20042
|
+
return function(Kr, pi, Xr, hi, mi, Ki, Dn) {
|
|
20043
20043
|
var vs = i.canvas.resolutionScale;
|
|
20044
|
-
e.reset(), e.backfaces = !0, e.frontface = !0, e.pickOrigin = Dn.origin, e.pickViewMatrix = hi, e.pickProjMatrix = mi, e.pickZNear =
|
|
20044
|
+
e.reset(), e.backfaces = !0, e.frontface = !0, e.pickOrigin = Dn.origin, e.pickViewMatrix = hi, e.pickProjMatrix = mi, e.pickZNear = Ki[0], e.pickZFar = Ki[1], e.pickElementsCount = pi.pickElementsCount, e.pickElementsOffset = pi.pickElementsOffset, e.pickClipPos = [Hr(Xr[0] * vs, s.drawingBufferWidth), Ir(Xr[1] * vs, s.drawingBufferHeight)], s.viewport(0, 0, 1, 1), s.clearColor(0, 0, 0, 0), s.depthMask(!0), s.enable(s.DEPTH_TEST), s.disable(s.CULL_FACE), s.disable(s.BLEND), s.clear(s.COLOR_BUFFER_BIT | s.DEPTH_BUFFER_BIT), pi.drawPickDepths(e);
|
|
20045
20045
|
var ia = Kr.read(0, 0), ls = ii(ia), ms = (Xr[0] - r.clientWidth / 2) / (r.clientWidth / 2), Wn = -(Xr[1] - r.clientHeight / 2) / (r.clientHeight / 2), Hi = pi.origin, fr;
|
|
20046
20046
|
if (Hi) {
|
|
20047
20047
|
var fi = Ze(hi, Hi, Jr);
|
|
@@ -20091,9 +20091,9 @@ Fragment shader:
|
|
|
20091
20091
|
var Xr = zr || 30, hi = Ie.getRenderBuffer("uniquePickColors-aabs", { depthTexture: !0, size: [2 * Xr + 1, 2 * Xr + 1] });
|
|
20092
20092
|
e.snapVectorA = [tr ? Hr(tr[0] * pi, s.drawingBufferWidth) : 0, tr ? Ir(tr[1] * pi, s.drawingBufferHeight) : 0], e.snapInvVectorAB = [s.drawingBufferWidth / (2 * Xr), s.drawingBufferHeight / (2 * Xr)], hi.bind(s.RGBA32I, s.RGBA32I, s.RGBA8UI), s.viewport(0, 0, hi.size[0], hi.size[1]), s.enable(s.DEPTH_TEST), s.frontFace(s.CCW), s.disable(s.CULL_FACE), s.depthMask(!0), s.disable(s.BLEND), s.depthFunc(s.LEQUAL), s.clear(s.DEPTH_BUFFER_BIT), s.clearBufferiv(s.COLOR, 0, new Int32Array([0, 0, 0, 0])), s.clearBufferiv(s.COLOR, 1, new Int32Array([0, 0, 0, 0])), s.clearBufferuiv(s.COLOR, 2, new Uint32Array([0, 0, 0, 0])), e.pickViewMatrix = tr ? i.camera.viewMatrix : P.lookAtMat4v(ei, P.addVec3(ei, Jr, P.vec3()), P.vec3([0, 1, 0]), P.mat4());
|
|
20093
20093
|
var mi = i.camera.projMatrix;
|
|
20094
|
-
for (var
|
|
20095
|
-
if (C.hasOwnProperty(
|
|
20096
|
-
for (var Dn = C[
|
|
20094
|
+
for (var Ki in C)
|
|
20095
|
+
if (C.hasOwnProperty(Ki))
|
|
20096
|
+
for (var Dn = C[Ki].drawableList, vs = 0, ia = Dn.length; vs < ia; vs++) {
|
|
20097
20097
|
var ls = Dn[vs];
|
|
20098
20098
|
ls.setPickMatrices && ls.setPickMatrices(e.pickViewMatrix, mi);
|
|
20099
20099
|
}
|
|
@@ -31956,8 +31956,8 @@ Fragment shader:
|
|
|
31956
31956
|
if (Ee.entityOffsetsEnabled)
|
|
31957
31957
|
for (var hi = 0; hi < De; hi++)
|
|
31958
31958
|
Ie.offsets.push(0), Ie.offsets.push(0), Ie.offsets.push(0);
|
|
31959
|
-
var mi = this._portions.length,
|
|
31960
|
-
return Ee.pickSurfacePrecisionEnabled && (
|
|
31959
|
+
var mi = this._portions.length, Ki = { vertsBaseIndex: ke, numVerts: De, indicesBaseIndex: Ie.indices.length - Y.length, numIndices: Y.length };
|
|
31960
|
+
return Ee.pickSurfacePrecisionEnabled && (Ki.indices = Y, Ee.entityOffsetsEnabled && (Ki.offset = new Float32Array(3))), this._portions.push(Ki), this._numPortions++, this.model.numPortions++, this._numVerts += Ki.numVerts, this._meshes.push(t), mi;
|
|
31961
31961
|
}
|
|
31962
31962
|
/**
|
|
31963
31963
|
* Builds batch VBOs from appended geometries.
|
|
@@ -60907,7 +60907,7 @@ Fragment shader:
|
|
|
60907
60907
|
fe ^= -1;
|
|
60908
60908
|
for (var Qt = At; Qt < Ot; Qt++) fe = fe >>> 8 ^ dt[255 & (fe ^ Qe[Qt])];
|
|
60909
60909
|
return -1 ^ fe;
|
|
60910
|
-
}, ii = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }, dr = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_MEM_ERROR: -4, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 }, Nt = mr._tr_init, qt = mr._tr_stored_block, ur = mr._tr_flush_block, tr = mr._tr_tally, ei = mr._tr_align, Jr = dr.Z_NO_FLUSH, zr = dr.Z_PARTIAL_FLUSH, ni = dr.Z_FULL_FLUSH, Kr = dr.Z_FINISH, pi = dr.Z_BLOCK, Xr = dr.Z_OK, hi = dr.Z_STREAM_END, mi = dr.Z_STREAM_ERROR,
|
|
60910
|
+
}, ii = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }, dr = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_MEM_ERROR: -4, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 }, Nt = mr._tr_init, qt = mr._tr_stored_block, ur = mr._tr_flush_block, tr = mr._tr_tally, ei = mr._tr_align, Jr = dr.Z_NO_FLUSH, zr = dr.Z_PARTIAL_FLUSH, ni = dr.Z_FULL_FLUSH, Kr = dr.Z_FINISH, pi = dr.Z_BLOCK, Xr = dr.Z_OK, hi = dr.Z_STREAM_END, mi = dr.Z_STREAM_ERROR, Ki = dr.Z_DATA_ERROR, Dn = dr.Z_BUF_ERROR, vs = dr.Z_DEFAULT_COMPRESSION, ia = dr.Z_FILTERED, ls = dr.Z_HUFFMAN_ONLY, ms = dr.Z_RLE, Wn = dr.Z_FIXED, Hi = dr.Z_DEFAULT_STRATEGY, fr = dr.Z_UNKNOWN, fi = dr.Z_DEFLATED, Ln = 258, dn = 262, pn = 42, jn = 113, Rn = 666, Pn = function(fe, Qe) {
|
|
60911
60911
|
return fe.msg = ii[Qe], Qe;
|
|
60912
60912
|
}, gs = function(fe) {
|
|
60913
60913
|
return 2 * fe - (fe > 4 ? 9 : 0);
|
|
@@ -61130,7 +61130,7 @@ Fragment shader:
|
|
|
61130
61130
|
}, deflateEnd: function(fe) {
|
|
61131
61131
|
if (Ss(fe)) return mi;
|
|
61132
61132
|
var Qe = fe.state.status;
|
|
61133
|
-
return fe.state = null, Qe === jn ? Pn(fe,
|
|
61133
|
+
return fe.state = null, Qe === jn ? Pn(fe, Ki) : Xr;
|
|
61134
61134
|
}, deflateSetDictionary: function(fe, Qe) {
|
|
61135
61135
|
var Ce = Qe.length;
|
|
61136
61136
|
if (Ss(fe)) return mi;
|
|
@@ -61898,13 +61898,13 @@ Fragment shader:
|
|
|
61898
61898
|
O[tr + 2], O[tr + 3];
|
|
61899
61899
|
var zr = O[tr + 4], ni = O[tr + 5], Kr = O[tr + 6], pi = O[tr + 7], Xr = O[tr + 8];
|
|
61900
61900
|
if (ur) {
|
|
61901
|
-
var hi = new Uint8Array(_.subarray(dr, Nt)), mi = hi.buffer,
|
|
61901
|
+
var hi = new Uint8Array(_.subarray(dr, Nt)), mi = hi.buffer, Ki = "".concat(n, "-texture-").concat(Ir);
|
|
61902
61902
|
if (ei)
|
|
61903
|
-
e.createTexture({ id:
|
|
61903
|
+
e.createTexture({ id: Ki, buffers: [mi], minFilter: zr, magFilter: ni, wrapS: Kr, wrapT: pi, wrapR: Xr });
|
|
61904
61904
|
else {
|
|
61905
61905
|
var Dn = Jr === Cb ? "image/jpeg" : Jr === Pb ? "image/png" : "image/gif", vs = new Blob([mi], { type: Dn }), ia = window.URL || window.webkitURL, ls = ia.createObjectURL(vs), ms = document.createElement("img");
|
|
61906
61906
|
ms.src = ls, e.createTexture({
|
|
61907
|
-
id:
|
|
61907
|
+
id: Ki,
|
|
61908
61908
|
image: ms,
|
|
61909
61909
|
//mediaType,
|
|
61910
61910
|
minFilter: zr,
|
|
@@ -96271,7 +96271,7 @@ const JZ = { class: "bimx-viewer-wrapper" }, ZZ = {
|
|
|
96271
96271
|
!E && !y && !f ? console.log("未传入模型路径或名称,使用'model1'") : E ? u = E : y ? u = jh(y) ? jh(y) : y : f && (u = jh(f)), B.modelBuffer && B.metaBuffer ? (console.log("已获取modelBuffer & metaBuffer"), o = B.modelBuffer, l = B.metaBuffer, c = !0, m()) : B.modelBuffer ? (o = B.modelBuffer, console.log("已获取modelBuffer。后续等待meta......."), m()) : B.filePath && (console.log("已获取modelPath: ", B.filePath), g(B.filePath));
|
|
96272
96272
|
}, m = () => {
|
|
96273
96273
|
a.ifToolAllReady() ? YZ(() => {
|
|
96274
|
-
|
|
96274
|
+
Gi.emit("BimViewer", u), b();
|
|
96275
96275
|
}) : setTimeout(() => {
|
|
96276
96276
|
m();
|
|
96277
96277
|
}, 300);
|
|
@@ -96331,8 +96331,8 @@ const JZ = { class: "bimx-viewer-wrapper" }, ZZ = {
|
|
|
96331
96331
|
}
|
|
96332
96332
|
});
|
|
96333
96333
|
};
|
|
96334
|
-
|
|
96335
|
-
|
|
96334
|
+
Gi.on("changeBackgroundColor", T), _s(() => {
|
|
96335
|
+
Gi.off("changeBackgroundColor", T);
|
|
96336
96336
|
});
|
|
96337
96337
|
const R = (V, z) => {
|
|
96338
96338
|
h || (c ? z() : setTimeout(() => {
|
|
@@ -96401,7 +96401,7 @@ const JZ = { class: "bimx-viewer-wrapper" }, ZZ = {
|
|
|
96401
96401
|
]));
|
|
96402
96402
|
}
|
|
96403
96403
|
}), bc = /* @__PURE__ */ is(aq, [["__scopeId", "data-v-648147da"]]);
|
|
96404
|
-
|
|
96404
|
+
Gi.on("ThemeConfig", () => {
|
|
96405
96405
|
qr.ConfigViewer();
|
|
96406
96406
|
});
|
|
96407
96407
|
class qr {
|
|
@@ -96513,7 +96513,7 @@ const D0 = (L, Q) => {
|
|
|
96513
96513
|
style: Mn({ width: y.value.toString() + "px" })
|
|
96514
96514
|
}, [
|
|
96515
96515
|
Ye("div", oq, [
|
|
96516
|
-
|
|
96516
|
+
Wi(Ye("div", lq, [
|
|
96517
96517
|
Ye("div", uq, [
|
|
96518
96518
|
Ye("span", null, vr(L.panelTitle), 1),
|
|
96519
96519
|
Ye("div", {
|
|
@@ -96908,7 +96908,7 @@ const Hq = { class: "comment_content" }, zq = { class: "title" }, Qq = ["src"],
|
|
|
96908
96908
|
};
|
|
96909
96909
|
return Q({ updateList: m }), (g, w) => (ct(), Dt("div", cee, [
|
|
96910
96910
|
Ye("div", hee, [
|
|
96911
|
-
|
|
96911
|
+
Wi(Ye("img", {
|
|
96912
96912
|
class: "left",
|
|
96913
96913
|
onMouseover: w[0] || (w[0] = (x) => f.value = "back_hover"),
|
|
96914
96914
|
onMouseleave: w[1] || (w[1] = (x) => f.value = "back_regular"),
|
|
@@ -96917,7 +96917,7 @@ const Hq = { class: "comment_content" }, zq = { class: "title" }, Qq = ["src"],
|
|
|
96917
96917
|
}, null, 40, fee), [
|
|
96918
96918
|
[Qn, u.value.length != 1 && o.value != 0]
|
|
96919
96919
|
]),
|
|
96920
|
-
|
|
96920
|
+
Wi(Ye("img", {
|
|
96921
96921
|
class: "right",
|
|
96922
96922
|
onMouseover: w[3] || (w[3] = (x) => d.value = "next_hover"),
|
|
96923
96923
|
onMouseleave: w[4] || (w[4] = (x) => d.value = "next_regular"),
|
|
@@ -97176,7 +97176,7 @@ const BB = (L) => {
|
|
|
97176
97176
|
event_target: "BCFTool",
|
|
97177
97177
|
event_name: "deleteBcf",
|
|
97178
97178
|
content: { bcf_guid: d.value }
|
|
97179
|
-
}),
|
|
97179
|
+
}), Gi.emit("bcfLoading", !0), M.value = !1, Te();
|
|
97180
97180
|
}, Te = () => {
|
|
97181
97181
|
a("closeDetail");
|
|
97182
97182
|
}, Pe = () => {
|
|
@@ -97191,7 +97191,7 @@ const BB = (L) => {
|
|
|
97191
97191
|
let me = c.value.length;
|
|
97192
97192
|
c.value.push({ guid: window.bimViewer.bcfTool.getNewGuid(), bcfView: ge, index: me }), k.value && k.value.updateList(c.value);
|
|
97193
97193
|
}, ue = () => {
|
|
97194
|
-
|
|
97194
|
+
Gi.emit("bcfLoading", !0), a("refreshCurrentBcf");
|
|
97195
97195
|
};
|
|
97196
97196
|
return (ge, me) => {
|
|
97197
97197
|
const Me = bc, Le = pS, Ue = dS, Je = uee, ht = Ml, ut = Lq, wt = Sq;
|
|
@@ -97406,7 +97406,7 @@ const BB = (L) => {
|
|
|
97406
97406
|
M.value = !1;
|
|
97407
97407
|
})
|
|
97408
97408
|
}, null, 8, ["delete-content-name", "delete-type", "comment-id"])) : sr("", !0),
|
|
97409
|
-
|
|
97409
|
+
Wi($t(wt, {
|
|
97410
97410
|
"entity-list": $.value.get(G.value),
|
|
97411
97411
|
onCloseCheck: me[7] || (me[7] = (nt) => F.value = !1),
|
|
97412
97412
|
onClosePanel: Pe
|
|
@@ -97867,7 +97867,7 @@ const BB = (L) => {
|
|
|
97867
97867
|
])
|
|
97868
97868
|
]),
|
|
97869
97869
|
Ye("div", are, [
|
|
97870
|
-
|
|
97870
|
+
Wi(Ye("div", ore, [
|
|
97871
97871
|
Ye("img", {
|
|
97872
97872
|
class: "newBcfView",
|
|
97873
97873
|
src: Be(li) + "/bim-viewer/bcf-images/camera_gray.png",
|
|
@@ -98130,7 +98130,7 @@ const BB = (L) => {
|
|
|
98130
98130
|
}, null, 8, Vre),
|
|
98131
98131
|
R[7] || (R[7] = Ye("span", null, "筛选", -1))
|
|
98132
98132
|
]),
|
|
98133
|
-
|
|
98133
|
+
Wi(Ye("div", Hre, [
|
|
98134
98134
|
Ye("div", zre, [
|
|
98135
98135
|
R[8] || (R[8] = Ye("span", null, "筛选", -1)),
|
|
98136
98136
|
$t(V, {
|
|
@@ -121423,7 +121423,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121423
121423
|
}, x = (R) => {
|
|
121424
121424
|
f.value = R;
|
|
121425
121425
|
}, S = (R, V) => {
|
|
121426
|
-
|
|
121426
|
+
Gi.emit("bcfLoading", !0), B({
|
|
121427
121427
|
isTool: !0,
|
|
121428
121428
|
event_target: "BCFTool",
|
|
121429
121429
|
event_name: "checkBcfDetail",
|
|
@@ -121566,9 +121566,9 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121566
121566
|
b.value = j;
|
|
121567
121567
|
};
|
|
121568
121568
|
sn(() => {
|
|
121569
|
-
a.setReadyById(20),
|
|
121569
|
+
a.setReadyById(20), Gi.on("bcfLoading", E);
|
|
121570
121570
|
}), _s(() => {
|
|
121571
|
-
|
|
121571
|
+
Gi.off("bcfLoading", E);
|
|
121572
121572
|
}), Or(
|
|
121573
121573
|
() => a.isToolActive(20),
|
|
121574
121574
|
(j) => {
|
|
@@ -121580,7 +121580,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121580
121580
|
() => y.instruction,
|
|
121581
121581
|
(j) => {
|
|
121582
121582
|
var M;
|
|
121583
|
-
j && (j.instruct_name == "updateBcfList" && j.content.bcfList && (f.value = JSON.parse(JSON.stringify(j.content.bcfList)),
|
|
121583
|
+
j && (j.instruct_name == "updateBcfList" && j.content.bcfList && (f.value = JSON.parse(JSON.stringify(j.content.bcfList)), Gi.emit("bcfLoading", !1)), j.instruct_name == "checkBcfDetail" && j.content.bcfDetail && (u.value = JSON.parse(JSON.stringify(j.content.bcfDetail)), S((M = u.value) == null ? void 0 : M._id), Gi.emit("bcfLoading", !1)));
|
|
121584
121584
|
},
|
|
121585
121585
|
{ deep: !0 }
|
|
121586
121586
|
);
|
|
@@ -121599,7 +121599,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121599
121599
|
event_target: "BCFTool",
|
|
121600
121600
|
event_name: "checkBcfDetail",
|
|
121601
121601
|
content: { bcf_guid: F }
|
|
121602
|
-
}),
|
|
121602
|
+
}), Gi.emit("bcfLoading", !0));
|
|
121603
121603
|
}, R = () => {
|
|
121604
121604
|
if (m.value = "add", f.value.length > 0) {
|
|
121605
121605
|
const j = f.value[0], M = f.value[f.value.length - 1];
|
|
@@ -121667,7 +121667,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121667
121667
|
event_target: "BCFTool",
|
|
121668
121668
|
event_name: "submitUpdateBcf",
|
|
121669
121669
|
content: { bcf_guid: j, bcf: M }
|
|
121670
|
-
}),
|
|
121670
|
+
}), Gi.emit("bcfLoading", !0);
|
|
121671
121671
|
}, N = () => {
|
|
121672
121672
|
m.value = "edit", o.value = !1, l.value = !1, c.value = !0;
|
|
121673
121673
|
}, H = (j) => {
|
|
@@ -121676,12 +121676,12 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121676
121676
|
event_target: "BCFTool",
|
|
121677
121677
|
event_name: "submitNewBcf",
|
|
121678
121678
|
content: { bcf: j }
|
|
121679
|
-
}),
|
|
121679
|
+
}), Gi.emit("bcfLoading", !0), x();
|
|
121680
121680
|
}, G = (j) => {
|
|
121681
121681
|
h.value = !0, p.value = j;
|
|
121682
121682
|
}, $ = () => {
|
|
121683
121683
|
var j;
|
|
121684
|
-
|
|
121684
|
+
Gi.emit("bcfLoading", !0), w({
|
|
121685
121685
|
isTool: !0,
|
|
121686
121686
|
event_target: "BCFTool",
|
|
121687
121687
|
event_name: "checkBcfDetail",
|
|
@@ -121690,7 +121690,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121690
121690
|
}, W = () => {
|
|
121691
121691
|
g("closePanel");
|
|
121692
121692
|
}, I = () => {
|
|
121693
|
-
w({ isTool: !0, event_target: "BCFTool", event_name: "refreshBcfList", content: {} }),
|
|
121693
|
+
w({ isTool: !0, event_target: "BCFTool", event_name: "refreshBcfList", content: {} }), Gi.emit("bcfLoading", !0);
|
|
121694
121694
|
};
|
|
121695
121695
|
return (j, M) => {
|
|
121696
121696
|
const F = Die, D = Dre, U = mte, k = gq, K = Aq;
|
|
@@ -121705,7 +121705,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121705
121705
|
setWidth: ""
|
|
121706
121706
|
}, {
|
|
121707
121707
|
default: ar(() => [
|
|
121708
|
-
|
|
121708
|
+
Wi($t(F, {
|
|
121709
121709
|
instruction: j.instruction,
|
|
121710
121710
|
"bcf-list": f.value,
|
|
121711
121711
|
onEmitHandler: w,
|
|
@@ -121761,17 +121761,17 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121761
121761
|
__proto__: null,
|
|
121762
121762
|
default: yS
|
|
121763
121763
|
}, Symbol.toStringTag, { value: "Module" })), jie = {
|
|
121764
|
-
StructureTree: Pa(() => import("./StructureTree-
|
|
121765
|
-
InspectorTool: Pa(() => import("./InspectorTool-
|
|
121766
|
-
RoamTool: Pa(() => import("./RoamTool-
|
|
121767
|
-
HiddenTool: Pa(() => import("./HiddenTool-
|
|
121768
|
-
MeasureTool: Pa(() => import("./MeasureTool-
|
|
121769
|
-
SectionTool: Pa(() => import("./SectionTool-
|
|
121770
|
-
CommentTool: Pa(() => import("./CommentTool-
|
|
121771
|
-
AnnotationTool: Pa(() => import("./AnnotationTool-
|
|
121772
|
-
ScreenShotTool: Pa(() => import("./ScreenShotTool-
|
|
121773
|
-
SettingTool: Pa(() => import("./SettingTool-
|
|
121774
|
-
NavigateTool: Pa(() => import("./NavigateTool-
|
|
121764
|
+
StructureTree: Pa(() => import("./StructureTree-DSsjc8Bc.mjs")),
|
|
121765
|
+
InspectorTool: Pa(() => import("./InspectorTool-Do9RSiMf.mjs")),
|
|
121766
|
+
RoamTool: Pa(() => import("./RoamTool-CagIOosk.mjs")),
|
|
121767
|
+
HiddenTool: Pa(() => import("./HiddenTool-Cm5Ci0MZ.mjs")),
|
|
121768
|
+
MeasureTool: Pa(() => import("./MeasureTool-B1UuEsP8.mjs")),
|
|
121769
|
+
SectionTool: Pa(() => import("./SectionTool-DesNemnC.mjs")),
|
|
121770
|
+
CommentTool: Pa(() => import("./CommentTool-DzLliiYS.mjs")),
|
|
121771
|
+
AnnotationTool: Pa(() => import("./AnnotationTool-DfWmxD1D.mjs")),
|
|
121772
|
+
ScreenShotTool: Pa(() => import("./ScreenShotTool-0Vi9AUTn.mjs")),
|
|
121773
|
+
SettingTool: Pa(() => import("./SettingTool-1o0vXdCC.mjs")),
|
|
121774
|
+
NavigateTool: Pa(() => import("./NavigateTool-C7Z_NPVF.mjs")),
|
|
121775
121775
|
BCFTool: Pa(() => Promise.resolve().then(() => Lie))
|
|
121776
121776
|
}, Nie = {
|
|
121777
121777
|
key: 0,
|
|
@@ -121854,7 +121854,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121854
121854
|
}) => {
|
|
121855
121855
|
xn("isMobile", B.phone), xn("isPc", B.isPc), xn("hideTool", B.hideTool), xn("backButton", B.backButton), xn("topHeight", B.topHeight), xn("bottomHeight", B.bottomHeight), xn("leftWidth", B.leftWidth), xn("rightWidth", B.rightWidth), xn("themeColor", B.themeColor), xn("navCubeSize", B.navCubeSize), xn("navCubePos", B.navCubePos), xn("commentOffset", B.commentOffset), xn("measureOffset", B.measureOffset), xn("treePos", B.treePos), xn("inspectorPos", B.inspectorPos), xn("commentPos", B.commentPos), xn("annotationPos", B.annotationPos), xn("roamPos", B.roamPos), B.bcfContent && (Zn.BcfStaffList = B.bcfContent.staffList), o.value = Ur("hideTool");
|
|
121856
121856
|
let S = new Image();
|
|
121857
|
-
S.crossOrigin = "anonymous", S.src = "https://bimkk-oss-test.oss-cn-beijing.aliyuncs.com/bim-viewer/skybox/skybox.jpeg", xn("skyboxImg", S),
|
|
121857
|
+
S.crossOrigin = "anonymous", S.src = "https://bimkk-oss-test.oss-cn-beijing.aliyuncs.com/bim-viewer/skybox/skybox.jpeg", xn("skyboxImg", S), Gi.emit("ThemeConfig"), T();
|
|
121858
121858
|
function T() {
|
|
121859
121859
|
const R = Object.entries(B);
|
|
121860
121860
|
let V = [];
|
|
@@ -121892,16 +121892,16 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121892
121892
|
}, b = (x) => {
|
|
121893
121893
|
o.value = x;
|
|
121894
121894
|
};
|
|
121895
|
-
|
|
121895
|
+
Gi.on("hideToolbar", b);
|
|
121896
121896
|
const g = mt(!1), w = (x) => {
|
|
121897
121897
|
g.value = x;
|
|
121898
121898
|
};
|
|
121899
|
-
return
|
|
121900
|
-
|
|
121899
|
+
return Gi.on("mobileFullscreen", w), _s(() => {
|
|
121900
|
+
Gi.off("mobileFullscreen", w), Gi.off("hideToolbar", b);
|
|
121901
121901
|
}), Or(
|
|
121902
121902
|
() => B.instruction,
|
|
121903
121903
|
(x) => {
|
|
121904
|
-
x && (x.instruct_name == "changeBackgroundColor" && x.content.color &&
|
|
121904
|
+
x && (x.instruct_name == "changeBackgroundColor" && x.content.color && Gi.emit("changeBackgroundColor", x.content.color), x.instruct_name == "setNavCube" && (xn("navCubePos", { pos: Ur("navCubePos").pos, posNum: D0(!!x.content.move, 286) }), qr.setProperty("--operate-item-right", x.content.move ? "300px" : "14px")), x.instruct_name == "setAnnoStatus" && Gi.emit("setAnnoStatus", x.content), x.instruct_name == "lastSetsContent" && Gi.emit("lastSetsContent", x.content));
|
|
121905
121905
|
}
|
|
121906
121906
|
), Or(
|
|
121907
121907
|
() => a.isToolActive(8),
|
|
@@ -121917,7 +121917,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121917
121917
|
const T = yS, R = iq, V = VZ, z = EZ;
|
|
121918
121918
|
return u.value ? (ct(), Dt("div", Nie, [
|
|
121919
121919
|
Ye("div", Uie, [
|
|
121920
|
-
B.bcf && B.bcfContent && B.bcfContent.bcfList && B.bcfContent.staffList ?
|
|
121920
|
+
B.bcf && B.bcfContent && B.bcfContent.bcfList && B.bcfContent.staffList ? Wi((ct(), gr(T, {
|
|
121921
121921
|
key: 0,
|
|
121922
121922
|
instruction: x.instruction,
|
|
121923
121923
|
"user-id": B.bcfContent.userId,
|
|
@@ -121940,7 +121940,7 @@ const lie = { class: "bcf_wrapper" }, uie = { class: "bcf_content" }, cie = { cl
|
|
|
121940
121940
|
onEmitHandler: m
|
|
121941
121941
|
}, null, 8, ["instruction", "model-buffer", "meta-buffer", "model-type", "file-id", "file-name", "file-path"]),
|
|
121942
121942
|
Be(a).visibleTools.length != 0 ? (ct(), Dt("div", Hie, [
|
|
121943
|
-
(ct(!0), Dt(oi, null, Ei(Be(a).visibleTools, (N, H) =>
|
|
121943
|
+
(ct(!0), Dt(oi, null, Ei(Be(a).visibleTools, (N, H) => Wi((ct(), Dt("div", { key: H }, [
|
|
121944
121944
|
N.id !== 20 && N.id !== 21 ? (ct(), gr(qn(Be(jie)[N.component]), {
|
|
121945
121945
|
key: 0,
|
|
121946
121946
|
"component-id": N.id,
|
|
@@ -122039,7 +122039,7 @@ export {
|
|
|
122039
122039
|
Mp as m,
|
|
122040
122040
|
ha as n,
|
|
122041
122041
|
Ur as o,
|
|
122042
|
-
|
|
122042
|
+
Gi as p,
|
|
122043
122043
|
fo as q,
|
|
122044
122044
|
ene as r,
|
|
122045
122045
|
Jp as s,
|