@xtctwins/tctwins-bimx-engine 0.3.11 → 0.3.13
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 +1 -1
- package/dist/{AnnotationTool-BnLd0s38.mjs → AnnotationTool-k3W4xmw6.mjs} +13 -14
- package/dist/BIMX_Viewer_Lib.es.js +5 -5
- package/dist/BIMX_Viewer_Lib.umd.js +184 -164
- package/dist/{CameraViewTool-BGmwAori.mjs → CameraViewTool-CuXnJa74.mjs} +15 -15
- package/dist/{CommentTool-B9TgO52t.mjs → CommentTool-CUtaZc7Y.mjs} +276 -277
- package/dist/{HiddenTool-CNMJqZzC.mjs → HiddenTool-CzJ19mP1.mjs} +9 -10
- package/dist/{InspectorTool-CiyN_aCB.mjs → InspectorTool-BTH82K8b.mjs} +3 -3
- package/dist/MeasureTool-BvPkIvmX.mjs +593 -0
- package/dist/{MouseTool-B07SstRZ.mjs → MouseTool-CiywjpW3.mjs} +6 -6
- package/dist/{NavigateTool-B8qIl9xy.mjs → NavigateTool-CDlYpMXl.mjs} +13 -14
- package/dist/OperateTool-NMIYz2YN.mjs +185 -0
- package/dist/{RoamTool-3sDI1Ouu.mjs → RoamTool-BkwJBBAg.mjs} +1 -1
- package/dist/{ScreenShotTool-CjsT2-Va.mjs → ScreenShotTool-BP-xDRKf.mjs} +16 -17
- package/dist/SectionTool-mt4iqa1I.mjs +241 -0
- package/dist/SettingTool-DieHq4VO.mjs +1745 -0
- package/dist/{StructureTree-B183vT5b.mjs → StructureTree-C8C435JY.mjs} +5 -6
- package/dist/{alert-DN7oOiZl.mjs → alert-B9Uw8l52.mjs} +18 -13
- package/dist/{index-DfRswjrC.mjs → index-B_IMYBaJ.mjs} +59333 -53195
- package/dist/{panel.vue_vue_type_style_index_0_lang-DOsptET6.mjs → panel.vue_vue_type_style_index_0_lang-BswWCo8x.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-D0Zgkc3n.mjs → tallPanel-CnTIaRU-.mjs} +1 -1
- package/package.json +5 -5
- package/types/components/BimViewerComponents/OperateTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/SectionModeBar.vue.d.ts +2 -0
- package/types/components/BimxViewerComp.vue.d.ts +2 -0
- package/types/components/utilsComponents/alert.vue.d.ts +9 -0
- package/types/i18n/index.d.ts +212 -0
- package/types/i18n/locales/en-US.d.ts +53 -0
- package/types/i18n/locales/zh-CN.d.ts +53 -0
- package/types/pages/BimxViewerEntry.vue.d.ts +3 -0
- package/types/store/const.d.ts +12 -0
- package/types/store/toolbars.d.ts +53 -1
- package/types/utils/OSSHelper.d.ts +2 -0
- package/types/utils/eventBus.d.ts +6 -1
- package/types/viewerManager/load/loadModel.d.ts +88 -0
- package/types/viewerManager/sectionManager.d.ts +524 -0
- package/types/viewerManager/viewerManager.d.ts +7 -1
- package/dist/AnnotationTool-Bp8DGFFA.mjs +0 -167
- package/dist/CameraViewTool-BwVnc0ua.mjs +0 -164
- package/dist/CommentTool-C7NLPxMd.mjs +0 -1529
- package/dist/HiddenTool-i1AESn4-.mjs +0 -57
- package/dist/InspectorTool-D4gr7uiQ.mjs +0 -679
- package/dist/MeasureTool-BNBUx-1X.mjs +0 -323
- package/dist/MeasureTool-Cxnp9MVY.mjs +0 -323
- package/dist/MouseTool-DVqNDADf.mjs +0 -84
- package/dist/NavigateTool-DKTSPVCL.mjs +0 -52
- package/dist/RoamTool-CazuxheL.mjs +0 -287
- package/dist/ScreenShotTool-fYVxpPrW.mjs +0 -430
- package/dist/SectionTool-Bpk5jewK.mjs +0 -331
- package/dist/SectionTool-DMSGkjYm.mjs +0 -331
- package/dist/SettingTool-BuSm2JB6.mjs +0 -695
- package/dist/SettingTool-IBRpWdfo.mjs +0 -695
- package/dist/StructureTree-D9z28tm4.mjs +0 -1686
- package/dist/alert-DwTFq4bp.mjs +0 -47
- package/dist/const-DOnRsYpZ.mjs +0 -389
- package/dist/el-slider-C9_q447A.mjs +0 -1059
- package/dist/el-slider-dslleM3g.mjs +0 -1059
- package/dist/index-BzB8rqmg.mjs +0 -131961
- package/dist/panel.vue_vue_type_style_index_0_lang-E8w23EhV.mjs +0 -61
- package/dist/tallPanel-Dp1ZbCTR.mjs +0 -84
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { L as r, T as o } from "./index-DfRswjrC.mjs";
|
|
2
|
-
import { defineComponent as c, ref as u, onMounted as p, openBlock as m, createBlock 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
|
-
import { ElDialog as v } from "element-plus";
|
|
4
|
-
const y = { class: "panel_top" }, T = { class: "panel_title" }, V = { class: "panel_close" }, S = { class: "panel_content" }, C = /* @__PURE__ */ c({
|
|
5
|
-
__name: "panel",
|
|
6
|
-
props: {
|
|
7
|
-
panelTitle: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: ""
|
|
10
|
-
},
|
|
11
|
-
width: {
|
|
12
|
-
type: Number,
|
|
13
|
-
default: 240
|
|
14
|
-
},
|
|
15
|
-
clickHandle: {
|
|
16
|
-
type: Function,
|
|
17
|
-
default: () => {
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(t) {
|
|
22
|
-
const n = u(!0);
|
|
23
|
-
return p(() => {
|
|
24
|
-
}), (i, a) => {
|
|
25
|
-
const d = r;
|
|
26
|
-
return m(), h(l(v), {
|
|
27
|
-
class: "panel_dialog",
|
|
28
|
-
modelValue: n.value,
|
|
29
|
-
"onUpdate:modelValue": a[0] || (a[0] = (s) => n.value = s),
|
|
30
|
-
width: t.width,
|
|
31
|
-
draggable: ""
|
|
32
|
-
}, {
|
|
33
|
-
default: _(() => [
|
|
34
|
-
e("div", {
|
|
35
|
-
class: "panel_wrapper",
|
|
36
|
-
style: g({ width: t.width.toString() + "px" })
|
|
37
|
-
}, [
|
|
38
|
-
e("div", y, [
|
|
39
|
-
e("div", T, f(t.panelTitle), 1),
|
|
40
|
-
e("div", V, [
|
|
41
|
-
w(d, {
|
|
42
|
-
width: 18,
|
|
43
|
-
"click-handle": t.clickHandle,
|
|
44
|
-
light: l(o).currentTheme == "blue",
|
|
45
|
-
dark: l(o).currentTheme == "light-gray"
|
|
46
|
-
}, null, 8, ["click-handle", "light", "dark"])
|
|
47
|
-
])
|
|
48
|
-
]),
|
|
49
|
-
e("div", S, [
|
|
50
|
-
k(i.$slots, "default")
|
|
51
|
-
])
|
|
52
|
-
], 4)
|
|
53
|
-
]),
|
|
54
|
-
_: 3
|
|
55
|
-
}, 8, ["modelValue", "width"]);
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
export {
|
|
60
|
-
C as _
|
|
61
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { G as g, H as t, T as r, Q as y, R as x, L as S, M as b } from "./index-BzB8rqmg.mjs";
|
|
2
|
-
import { defineComponent as k, ref as c, onMounted as P, watch as W, openBlock as _, createElementBlock as f, normalizeStyle as w, createElementVNode as o, toDisplayString as C, createVNode as T, unref as h, renderSlot as N, createCommentVNode as E } from "vue";
|
|
3
|
-
const H = { class: "tall_panel_content" }, $ = { class: "panel_top" }, B = { class: "panel_title" }, L = { class: "panel_close" }, M = { class: "panel_content" }, V = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "width-set",
|
|
6
|
-
id: "lineWidthSet"
|
|
7
|
-
}, X = /* @__PURE__ */ k({
|
|
8
|
-
__name: "tallPanel",
|
|
9
|
-
props: {
|
|
10
|
-
panelTitle: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: ""
|
|
13
|
-
},
|
|
14
|
-
width: {
|
|
15
|
-
type: Number,
|
|
16
|
-
default: 286
|
|
17
|
-
},
|
|
18
|
-
clickHandle: {
|
|
19
|
-
type: Function,
|
|
20
|
-
default: () => {
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
pos: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: "left"
|
|
26
|
-
},
|
|
27
|
-
setWidth: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: !1
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
setup(a) {
|
|
33
|
-
const m = g(), i = a, n = c(), l = c(i.width);
|
|
34
|
-
P(() => {
|
|
35
|
-
i.pos == "left" && (n.value.style.left = `${0 + t("leftWidth")}px`), i.pos == "right" && (n.value.style.right = `${0 + t("rightWidth")}px`), n.value.style.top = `${0 + t("topHeight")}px`, n.value.style.bottom = `${0 + t("bottomHeight")}px`;
|
|
36
|
-
});
|
|
37
|
-
let d, p = 0, u = 0;
|
|
38
|
-
return document.addEventListener("mousedown", (e) => {
|
|
39
|
-
var s;
|
|
40
|
-
((s = e.target) == null ? void 0 : s.id) == "lineWidthSet" && i.setWidth && (d = !0, p = e.x);
|
|
41
|
-
}), document.addEventListener("mousemove", (e) => {
|
|
42
|
-
d && (u = e.x - p, p = e.x, l.value += u, l.value < 286 && (l.value = 286), r.setProperty("--left-toggle-left", (14 + l.value).toString() + "px"));
|
|
43
|
-
}), document.addEventListener("mouseup", (e) => {
|
|
44
|
-
d = !1;
|
|
45
|
-
}), W(
|
|
46
|
-
() => m.isToolActive(0),
|
|
47
|
-
(e) => {
|
|
48
|
-
t("navCubePos").pos.includes(t("treePos")) && y("navCubePos", { pos: t("navCubePos").pos, posNum: x(e, 286) }), r.setProperty("--left-toggle-left", e ? (14 + l.value).toString() + "px" : "14px");
|
|
49
|
-
}
|
|
50
|
-
), (e, s) => {
|
|
51
|
-
const v = S;
|
|
52
|
-
return _(), f("div", {
|
|
53
|
-
ref_key: "tallPanelWrapper",
|
|
54
|
-
ref: n,
|
|
55
|
-
class: "tall_panel_wrapper",
|
|
56
|
-
id: "tall_panel_wrapper",
|
|
57
|
-
style: w({ width: l.value.toString() + "px" })
|
|
58
|
-
}, [
|
|
59
|
-
o("div", H, [
|
|
60
|
-
o("div", $, [
|
|
61
|
-
o("div", B, C(a.panelTitle), 1),
|
|
62
|
-
o("div", L, [
|
|
63
|
-
T(v, {
|
|
64
|
-
width: 18,
|
|
65
|
-
"click-handle": a.clickHandle,
|
|
66
|
-
light: h(r).currentTheme == "blue",
|
|
67
|
-
dark: h(r).currentTheme == "light-gray"
|
|
68
|
-
}, null, 8, ["click-handle", "light", "dark"])
|
|
69
|
-
])
|
|
70
|
-
]),
|
|
71
|
-
o("div", M, [
|
|
72
|
-
N(e.$slots, "default", {}, void 0, !0)
|
|
73
|
-
])
|
|
74
|
-
]),
|
|
75
|
-
a.setWidth ? (_(), f("div", V, [...s[0] || (s[0] = [
|
|
76
|
-
o("div", { class: "set-line" }, null, -1)
|
|
77
|
-
])])) : E("", !0)
|
|
78
|
-
], 4);
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
}), D = /* @__PURE__ */ b(X, [["__scopeId", "data-v-3e2b56c6"]]);
|
|
82
|
-
export {
|
|
83
|
-
D as _
|
|
84
|
-
};
|