@xtctwins/tctwins-bimx-engine 0.3.15 → 0.3.16
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/01.xtc +0 -0
- package/dist/02.xtc +0 -0
- package/dist/03.xtc +0 -0
- package/dist/{AnnotationTool-B6og2Glz.mjs → AnnotationTool-nASKNjgr.mjs} +19 -19
- package/dist/BIMX_Viewer_Lib.es.js +6 -6
- package/dist/BIMX_Viewer_Lib.umd.js +166 -216
- package/dist/{CameraViewTool-DHsH_nT2.mjs → CameraViewTool-DhAfiKWu.mjs} +31 -31
- package/dist/{CommentTool-FNv2gMNk.mjs → CommentTool-a-BELMsU.mjs} +189 -189
- package/dist/{HiddenTool-BDSk2sdn.mjs → HiddenTool-CqWfECbU.mjs} +13 -13
- package/dist/{InspectorTool-1sTEP0Ws.mjs → InspectorTool-x0VVNWza.mjs} +12 -12
- package/dist/{MeasureTool-GbBIX0Yk.mjs → MeasureTool-DznYUEiR.mjs} +120 -120
- package/dist/{MouseTool-BteU7vCT.mjs → MouseTool-D8x8R2Hl.mjs} +8 -8
- package/dist/{NavigateTool-BG3JKhQg.mjs → NavigateTool-D16vm_Ng.mjs} +8 -8
- package/dist/{OperateTool-D3gf6bCT.mjs → OperateTool-_E-8qp5I.mjs} +38 -38
- package/dist/{RoamTool-V9vWQIDB.mjs → RoamTool-ClbGAw0m.mjs} +15 -15
- package/dist/ScreenShotTool-BLHWBbYl.mjs +356 -0
- package/dist/{SectionTool-DMFA7ztx.mjs → SectionTool-BduU5qr3.mjs} +70 -70
- package/dist/SettingTool-Dd-fS2IZ.mjs +1508 -0
- package/dist/StructureTree-Byfx-R9w.mjs +1582 -0
- package/dist/{alert-CbVefMZQ.mjs → alert-GVU1wFz1.mjs} +5 -5
- package/dist/{index-DpV5VBf5.mjs → index-CdBeaeTl.mjs} +55562 -58943
- package/dist/{panel.vue_vue_type_style_index_0_lang-CcDA1fsF.mjs → panel.vue_vue_type_style_index_0_lang-BsP4zr2g.mjs} +1 -1
- package/dist/style.css +3 -3
- package/dist/{tallPanel-Br-fRsqc.mjs → tallPanel-B5pNGD_G.mjs} +10 -10
- package/package.json +2 -2
- package/types/App.vue.d.ts +1 -3
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
- package/types/components/BCFComponents/commentInput.vue.d.ts +10 -36
- package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
- package/types/components/BCFComponents/imageView.vue.d.ts +7 -5
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
- 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 +1 -32
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +8 -6
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -270
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -291
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
- 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 +6 -4
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -11642
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +10 -0
- package/types/components/BimxViewerComp.vue.d.ts +23 -7
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -291
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -270
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
- package/types/components/bimxViewer.vue.d.ts +27 -0
- 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 +2 -8
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
- package/types/components/utilsComponents/tallPanel.vue.d.ts +3 -13
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +3 -13
- package/types/i18n/index.d.ts +16 -0
- package/types/i18n/locales/en-US.d.ts +4 -0
- package/types/i18n/locales/zh-CN.d.ts +4 -0
- package/types/pages/BimxViewerEntry.vue.d.ts +66 -4
- package/types/pages/viewerEntry.vue.d.ts +116 -0
- package/types/store/toolbars.d.ts +50 -50
- package/types/tests/cmt.d.ts +1 -0
- package/types/viewerManager/load/loadModel.d.ts +28 -6
- package/types/viewerManager/sectionManager.d.ts +25 -25
- package/dist/ScreenShotTool-DwZpoH2C.mjs +0 -429
- package/dist/SettingTool-dR6DkE24.mjs +0 -1787
- package/dist/StructureTree-w9pdtGNu.mjs +0 -1685
|
@@ -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 V, 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 S } from "vue";
|
|
2
|
+
import { n as I, o as O, q as m, H as T, O as A, p as x, y as j } from "./index-CdBeaeTl.mjs";
|
|
3
|
+
const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], N = ["src"], R = /* @__PURE__ */ V({
|
|
4
4
|
__name: "HiddenTool",
|
|
5
5
|
props: ["componentId"],
|
|
6
6
|
emits: ["closePanel", "emitHandler"],
|
|
7
|
-
setup(u, { emit:
|
|
8
|
-
const _ =
|
|
7
|
+
setup(u, { emit: U }) {
|
|
8
|
+
const _ = I(), o = O(), 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(T), (t, y) => (s(), l("div", {
|
|
39
|
+
key: y,
|
|
40
40
|
class: w(["button_", { button_active: i.value == t.id }]),
|
|
41
|
-
onClick: (
|
|
41
|
+
onClick: ($) => g(t.id)
|
|
42
42
|
}, [
|
|
43
43
|
r("img", {
|
|
44
|
-
src: c(
|
|
45
|
-
}, null, 8,
|
|
44
|
+
src: c(A) + `/bim-viewer/hidden-bar/new-icon/bimkk-mobile-hidden-${i.value == t.id ? t.img_active : t.img}.svg`
|
|
45
|
+
}, null, 8, N),
|
|
46
46
|
r("span", {
|
|
47
47
|
class: w({ active_text: i.value == t.id })
|
|
48
|
-
},
|
|
48
|
+
}, S(c(_)(t.name)), 3)
|
|
49
49
|
], 10, M))), 128))
|
|
50
50
|
])
|
|
51
51
|
]));
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), F = /* @__PURE__ */ j(R, [["__scopeId", "data-v-a3ff9c01"]]);
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
F 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 { z as ee, n as te, o as ne, q as D, p as v, T as N, O as H, v as oe, x as se, y as ie } from "./index-CdBeaeTl.mjs";
|
|
2
|
+
import { _ as ae } from "./tallPanel-B5pNGD_G.mjs";
|
|
3
|
+
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-BsP4zr2g.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" }, qe = { class: "content_value" }, Ke = { 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
|
+
}, q = (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, K(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", q), pe(() => {
|
|
334
|
+
D.off("BimViewer", z), D.off("tree_clickNode", q);
|
|
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 && K(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`, K = (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", qe, 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", Ke, [
|
|
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)
|