@xtctwins/tctwins-bimx-engine 0.3.21 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +196 -196
- package/dist/{AnnotationTool-DCHJcLix.mjs → AnnotationTool-CtRhDcPK.mjs} +35 -35
- package/dist/BIMX_Viewer_Lib.es.js +6 -6
- package/dist/BIMX_Viewer_Lib.umd.js +214 -167
- package/dist/{CameraViewTool-CJfs6vWu.mjs → CameraViewTool-CtLUEw0Q.mjs} +38 -38
- package/dist/{CommentTool-mcXTV3bv.mjs → CommentTool-B8fvijhz.mjs} +192 -192
- package/dist/{HiddenTool-BXTqbPUK.mjs → HiddenTool-511eglcE.mjs} +13 -13
- package/dist/{InspectorTool-D6DtUWoh.mjs → InspectorTool-D9Yjs6eH.mjs} +13 -13
- package/dist/{MeasureTool-BZxE7H7U.mjs → MeasureTool-C5Ce0Nef.mjs} +125 -125
- package/dist/{MouseTool-Clt4JeIj.mjs → MouseTool-BJX4hgly.mjs} +8 -8
- package/dist/{NavigateTool-cQshheaw.mjs → NavigateTool-BxOX-2P9.mjs} +8 -8
- package/dist/{OperateTool-C86C-l1z.mjs → OperateTool-DdkSl849.mjs} +61 -58
- package/dist/{RoamTool-DueJxPwv.mjs → RoamTool-CzNcha7A.mjs} +27 -27
- package/dist/ScreenShotTool-_TQ3T0xw.mjs +429 -0
- package/dist/{SectionTool-CKrvJEQ9.mjs → SectionTool-DlUhDw_i.mjs} +70 -70
- package/dist/SettingTool-yhgi_CY0.mjs +1787 -0
- package/dist/StructureTree-CNKrxyeJ.mjs +1685 -0
- package/dist/{alert-D-agI6w6.mjs → alert-B0WoSDD3.mjs} +14 -14
- package/dist/{index-jngVSTsO.mjs → index-D7FcGpin.mjs} +56419 -53825
- package/dist/index.html +17 -17
- package/dist/{panel.vue_vue_type_style_index_0_lang-DfDOwKP2.mjs → panel.vue_vue_type_style_index_0_lang-BG2LZoNF.mjs} +1 -1
- package/dist/style.css +3 -3
- package/dist/{tallPanel-CNORaYkU.mjs → tallPanel-DpEzw_w-.mjs} +12 -12
- package/package.json +85 -85
- 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 -66
- package/types/store/toolbars.d.ts +50 -50
- package/types/viewerManager/sectionManager.d.ts +25 -25
- package/dist/01.xtc +0 -0
- package/dist/02.xtc +0 -0
- package/dist/03.xtc +0 -0
- package/dist/ScreenShotTool-DDtQfqF5.mjs +0 -356
- package/dist/SettingTool-CWAOl-yl.mjs +0 -1508
- package/dist/StructureTree-BTqIDob7.mjs +0 -1582
- 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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"],
|
|
1
|
+
import { defineComponent as y, onMounted as E, ref as k, onBeforeUnmount as B, openBlock as s, createElementBlock as l, createElementVNode as r, Fragment as C, renderList as H, unref as c, normalizeClass as w, toDisplayString as I } from "vue";
|
|
2
|
+
import { F as S, G as T, I as m, X as A, P as O, H as x, M as j } from "./index-D7FcGpin.mjs";
|
|
3
|
+
const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], F = ["src"], N = /* @__PURE__ */ y({
|
|
4
4
|
__name: "HiddenTool",
|
|
5
5
|
props: ["componentId"],
|
|
6
6
|
emits: ["closePanel", "emitHandler"],
|
|
7
|
-
setup(u, { emit:
|
|
8
|
-
const _ =
|
|
7
|
+
setup(u, { emit: P }) {
|
|
8
|
+
const _ = S(), o = T(), b = u;
|
|
9
9
|
E(() => {
|
|
10
10
|
o.setReadyById(b.componentId);
|
|
11
11
|
});
|
|
@@ -35,22 +35,22 @@ const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["on
|
|
|
35
35
|
};
|
|
36
36
|
return (e, n) => (s(), l("div", D, [
|
|
37
37
|
r("div", L, [
|
|
38
|
-
(s(!0), l(C, null, H(c(
|
|
39
|
-
key:
|
|
38
|
+
(s(!0), l(C, null, H(c(A), (t, V) => (s(), l("div", {
|
|
39
|
+
key: V,
|
|
40
40
|
class: w(["button_", { button_active: i.value == t.id }]),
|
|
41
|
-
onClick: (
|
|
41
|
+
onClick: (R) => g(t.id)
|
|
42
42
|
}, [
|
|
43
43
|
r("img", {
|
|
44
|
-
src: c(
|
|
45
|
-
}, null, 8,
|
|
44
|
+
src: c(O) + `/bim-viewer/hidden-bar/new-icon/bimkk-mobile-hidden-${i.value == t.id ? t.img_active : t.img}.svg`
|
|
45
|
+
}, null, 8, F),
|
|
46
46
|
r("span", {
|
|
47
47
|
class: w({ active_text: i.value == t.id })
|
|
48
|
-
},
|
|
48
|
+
}, I(c(_)(t.name)), 3)
|
|
49
49
|
], 10, M))), 128))
|
|
50
50
|
])
|
|
51
51
|
]));
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), z = /* @__PURE__ */ j(N, [["__scopeId", "data-v-8b4085d8"]]);
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
z as default
|
|
56
56
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as ae } from "./tallPanel-
|
|
3
|
-
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { O as ee, F as te, G as ne, I as D, H as v, T as N, K as oe, P as H, L as se, M as ie } from "./index-D7FcGpin.mjs";
|
|
2
|
+
import { _ as ae } from "./tallPanel-DpEzw_w-.mjs";
|
|
3
|
+
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-BG2LZoNF.mjs";
|
|
4
4
|
import { defineComponent as ce, onMounted as re, ref as W, reactive as G, watch as _e, onBeforeUnmount as pe, openBlock as c, createElementBlock as r, Fragment as y, unref as n, createBlock as Q, withCtx as I, withDirectives as d, createElementVNode as e, createVNode as B, toDisplayString as t, vShow as m, renderList as f, createCommentVNode as O } from "vue";
|
|
5
5
|
const Z = {
|
|
6
6
|
ExtendToStructure: "扩建物",
|
|
@@ -262,7 +262,7 @@ function k(C, b) {
|
|
|
262
262
|
const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src"], ye = { class: "properties_content" }, ve = { class: "basic_info_title" }, fe = { class: "basic_info_value" }, Ce = { class: "propertysets" }, ge = ["onClick"], Pe = { class: "title" }, be = ["src"], Te = { class: "properties_content" }, Se = { class: "content_title_value" }, Ie = { class: "content_title" }, ke = { class: "content_value" }, Re = { class: "myInspector_empty" }, we = ["src"], xe = {
|
|
263
263
|
class: "pc_Inspector_type_button",
|
|
264
264
|
style: { display: "none" }
|
|
265
|
-
}, Ee = { class: "type_button" }, De = { class: "type_button" }, Be = { class: "pc_Inspector_content" }, Fe = { class: "pc_myInspector_content" }, Me = { class: "title" }, Le = ["src"], Oe = { class: "properties_content" }, je = { class: "basic_info_title" }, Ve = { class: "basic_info_value" }, Ae = { class: "propertysets" }, Ne = ["onClick"], He = { class: "title" }, We = ["src"], Ue = { class: "properties_content" }, $e = { class: "content_title_value" }, ze = { class: "content_title" },
|
|
265
|
+
}, Ee = { class: "type_button" }, De = { class: "type_button" }, Be = { class: "pc_Inspector_content" }, Fe = { class: "pc_myInspector_content" }, Me = { class: "title" }, Le = ["src"], Oe = { class: "properties_content" }, je = { class: "basic_info_title" }, Ve = { class: "basic_info_value" }, Ae = { class: "propertysets" }, Ne = ["onClick"], He = { class: "title" }, We = ["src"], Ue = { class: "properties_content" }, $e = { class: "content_title_value" }, ze = { class: "content_title" }, Ke = { class: "content_value" }, qe = { class: "pc_model_info" }, Ge = { class: "model_info_content" }, Qe = { class: "model_info_value" }, Ze = { class: "model_info_content" }, Je = { class: "model_info_value" }, Xe = {
|
|
266
266
|
key: 0,
|
|
267
267
|
class: "model_info_content"
|
|
268
268
|
}, Ye = { class: "model_info_value" }, et = { class: "model_info_content" }, tt = { class: "model_info_value" }, nt = {
|
|
@@ -325,18 +325,18 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
327
|
});
|
|
328
|
-
},
|
|
328
|
+
}, K = (i) => {
|
|
329
329
|
if (!i) return;
|
|
330
330
|
const l = L.getObjectProperties(i.id);
|
|
331
|
-
l && (R.value = i.id, h.value = !0,
|
|
331
|
+
l && (R.value = i.id, h.value = !0, q(l));
|
|
332
332
|
};
|
|
333
|
-
D.on("BimViewer", z), D.on("tree_clickNode",
|
|
334
|
-
D.off("BimViewer", z), D.off("tree_clickNode",
|
|
333
|
+
D.on("BimViewer", z), D.on("tree_clickNode", K), pe(() => {
|
|
334
|
+
D.off("BimViewer", z), D.off("tree_clickNode", K);
|
|
335
335
|
});
|
|
336
336
|
const V = (i, l) => {
|
|
337
337
|
if (R.value = i, h.value = !0, !F.isToolActive(M.componentId)) return;
|
|
338
338
|
const u = L.getObjectProperties(i);
|
|
339
|
-
u &&
|
|
339
|
+
u && q(u), $.value = i, v("isMobile") ? j({
|
|
340
340
|
isTool: !0,
|
|
341
341
|
event_target: "InspectorTool",
|
|
342
342
|
event_name: "touchEntity",
|
|
@@ -355,7 +355,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
355
355
|
D.emit("hideToolbar", !1), U("closePanel");
|
|
356
356
|
}, T = (i) => {
|
|
357
357
|
i.expanded = !i.expanded;
|
|
358
|
-
}, S = (i) => i ? `${H}/bim-viewer/down_icon.png` : `${H}/bim-viewer/right_icon.png`,
|
|
358
|
+
}, S = (i) => i ? `${H}/bim-viewer/down_icon.png` : `${H}/bim-viewer/right_icon.png`, q = (i) => {
|
|
359
359
|
s.entity_name = i.name, s.entity_type = i.type, s.entity_id = i.id, i.propertySets && (s.propertySets = i.propertySets, s.propertySets.forEach((l) => {
|
|
360
360
|
N.currentTheme == "light-gray" ? l.expanded = !0 : l.expanded = !1;
|
|
361
361
|
}));
|
|
@@ -518,7 +518,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
518
518
|
key: P
|
|
519
519
|
}, [
|
|
520
520
|
e("span", ze, t(n(k)(P)), 1),
|
|
521
|
-
e("span",
|
|
521
|
+
e("span", Ke, t(E), 1)
|
|
522
522
|
]))), 128))
|
|
523
523
|
]))), 128))
|
|
524
524
|
])
|
|
@@ -533,7 +533,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
533
533
|
], 512), [
|
|
534
534
|
[m, h.value]
|
|
535
535
|
]),
|
|
536
|
-
d(e("div",
|
|
536
|
+
d(e("div", qe, [
|
|
537
537
|
e("div", Ge, [
|
|
538
538
|
e("span", null, t(n(o)("inspector.objectCount")), 1),
|
|
539
539
|
e("span", Qe, t(a.objectCount), 1)
|
|
@@ -673,7 +673,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
673
673
|
], 64);
|
|
674
674
|
};
|
|
675
675
|
}
|
|
676
|
-
}), jt = /* @__PURE__ */ ie(Bt, [["__scopeId", "data-v-
|
|
676
|
+
}), jt = /* @__PURE__ */ ie(Bt, [["__scopeId", "data-v-09ce2c78"]]);
|
|
677
677
|
export {
|
|
678
678
|
jt as default
|
|
679
679
|
};
|