@xtctwins/tctwins-bimx-engine 0.1.10 → 0.1.12
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 +3 -1
- package/dist/{AnnotationTool-DMpWktQD.mjs → AnnotationTool-BccfVdFQ.mjs} +31 -30
- package/dist/BIMX_Viewer_Lib.es.js +4 -4
- package/dist/BIMX_Viewer_Lib.umd.js +449 -90098
- package/dist/CommentTool-CtEjrjgf.mjs +337 -0
- package/dist/HiddenTool-GPS4SL5O.mjs +57 -0
- package/dist/{InspectorTool-Lm7frPMG.mjs → InspectorTool-D0cediPx.mjs} +51 -51
- package/dist/{MeasureTool-CQk5pe_r.mjs → MeasureTool-CRwS4esw.mjs} +473 -468
- package/dist/{NavigateTool-D0f1t01o.mjs → NavigateTool-BwQKvnnF.mjs} +9 -9
- package/dist/RoamTool-C2YMu_ex.mjs +208 -0
- package/dist/{ScreenShotTool-3VHOK0fx.mjs → ScreenShotTool-Dr7iY7ik.mjs} +31 -31
- package/dist/SectionTool-DLuBK1tG.mjs +625 -0
- package/dist/SettingTool-hDSHYEMH.mjs +539 -0
- package/dist/{StructureTree-0sXxkDZc.mjs → StructureTree-DUgNvSpI.mjs} +315 -316
- package/dist/{closeButton.vue_vue_type_style_index_0_scope_true_lang-CiQh2ieB.mjs → closeButton.vue_vue_type_style_index_0_scope_true_lang-4hkP3puO.mjs} +1 -1
- package/dist/{const-NjnIwsEB.mjs → const-CbUmfuHy.mjs} +24 -19
- package/dist/{debounce-B6bSTCKP.mjs → debounce-BmruhrmU.mjs} +18 -18
- package/dist/{el-checkbox-BGceCCPw.mjs → el-checkbox-BBryIO1h.mjs} +39 -39
- package/dist/el-input-C6nYwunQ.mjs +669 -0
- package/dist/{el-input-number-BTnGSkkl.mjs → el-input-number-DvDNGVBV.mjs} +185 -184
- package/dist/{index-DggAWqWo.mjs → index-B4lpsrzc.mjs} +1 -1
- package/dist/index-C0G061KF.mjs +75373 -0
- package/dist/index.html +17 -17
- package/dist/{isEqual-D_kOuRCu.mjs → isEqual-CZBomy0h.mjs} +9 -9
- package/dist/style.css +1 -1
- package/package.json +68 -46
- package/types/BIMX_Viewer_Initial/viewerInitial.d.ts +1 -10
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +14 -0
- package/types/components/BimX_Viewer.vue.d.ts +0 -2
- package/types/index.d.ts +2 -2
- package/types/pages/BIMXViewer.vue.d.ts +38 -0
- package/types/services/request/config.d.ts +7 -13
- package/types/store/const.d.ts +6 -0
- package/types/store/initConfigs.d.ts +13 -18
- package/types/store/toolbars.d.ts +66 -15
- package/types/utils/OSSHelper.d.ts +0 -1
- package/dist/CommentTool-BZ9ogHU8.mjs +0 -332
- package/dist/RoamTool-DoBQd-zO.mjs +0 -208
- package/dist/SectionTool-ymkefKsi.mjs +0 -605
- package/dist/SettingTool-DXJs601P.mjs +0 -546
- package/dist/el-input-BGcq5mEN.mjs +0 -845
- package/dist/index-D3YjezbJ.mjs +0 -94475
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent as E, ref as
|
|
3
|
-
import { A as T } from "./const-
|
|
4
|
-
const f = (l) => (D("data-v-
|
|
1
|
+
import { p as d, q as S, O as e, s as y, v as x } from "./index-C0G061KF.mjs";
|
|
2
|
+
import { defineComponent as E, ref as p, onMounted as N, watch as W, openBlock as a, createElementBlock as s, unref as c, createElementVNode as t, Fragment as g, renderList as b, normalizeClass as w, createCommentVNode as X, createVNode as L, withCtx as O, toDisplayString as q, pushScopeId as D, popScopeId as H } from "vue";
|
|
3
|
+
import { A as T } from "./const-CbUmfuHy.mjs";
|
|
4
|
+
const f = (l) => (D("data-v-4f475052"), l = l(), H(), l), z = { class: "annotation_component" }, F = {
|
|
5
5
|
key: 0,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}, R = { class: "annotation_toolbar_wrapper" }, U = { class: "annotation_toolbar_group" }, j = ["
|
|
6
|
+
id: "annotation_toolbar",
|
|
7
|
+
class: "annotation_toolbar"
|
|
8
|
+
}, R = { class: "annotation_toolbar_wrapper" }, U = { class: "annotation_toolbar_group" }, j = ["id", "onClick"], G = ["src"], J = /* @__PURE__ */ f(() => /* @__PURE__ */ t("div", { class: "toolbar_trangle" }, null, -1)), K = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "mobile_annotation_toolbar"
|
|
11
11
|
}, P = /* @__PURE__ */ f(() => /* @__PURE__ */ t("div", { class: "label-title-box" }, [
|
|
@@ -18,16 +18,16 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
|
|
|
18
18
|
const h = A, r = (n) => {
|
|
19
19
|
h("emitHandler", n);
|
|
20
20
|
};
|
|
21
|
-
let
|
|
22
|
-
const i =
|
|
21
|
+
let u;
|
|
22
|
+
const i = p("");
|
|
23
23
|
let _;
|
|
24
|
-
const
|
|
24
|
+
const B = p(), I = l;
|
|
25
25
|
N(() => {
|
|
26
|
-
|
|
27
|
-
}), W(
|
|
26
|
+
B.value = d("annoLimit");
|
|
27
|
+
}), W(I, (n) => {
|
|
28
28
|
n.componentInfo.isOpen ? window.BimViewer.SetAnnotationToolActive(!0) : window.BimViewer.SetAnnotationToolActive(!1);
|
|
29
29
|
});
|
|
30
|
-
let
|
|
30
|
+
let V = {
|
|
31
31
|
image: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
|
|
32
32
|
file: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
|
|
33
33
|
record: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
|
|
@@ -35,7 +35,7 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
|
|
|
35
35
|
video: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
|
|
36
36
|
};
|
|
37
37
|
S.on("BimViewer", () => {
|
|
38
|
-
|
|
38
|
+
u = window.BimViewer.annotationTool, u.setTypeImage(V), _ = window.BimViewer.eventTrigger, _.on("createAnnotation", (n) => {
|
|
39
39
|
r({
|
|
40
40
|
isTool: !0,
|
|
41
41
|
event_target: "AnnotationTool",
|
|
@@ -53,7 +53,7 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
|
|
|
53
53
|
targetAnno: n
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
}),
|
|
56
|
+
}), d("isMobile") || _.on("requestDeleteMarker", (n) => {
|
|
57
57
|
r({
|
|
58
58
|
isTool: !0,
|
|
59
59
|
event_target: "AnnotationTool",
|
|
@@ -65,12 +65,12 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
|
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
|
-
const
|
|
69
|
-
i.value === n.code ? i.value = "" : (
|
|
70
|
-
}, V = (n) => {
|
|
71
|
-
window.BimViewer.annotationTool.setEnabled(n);
|
|
68
|
+
const v = (n) => {
|
|
69
|
+
i.value === n.code ? i.value = "" : (C(n), i.value = n.code);
|
|
72
70
|
}, k = (n) => {
|
|
73
|
-
|
|
71
|
+
window.BimViewer.annotationTool.setEnabled(n);
|
|
72
|
+
}, C = (n) => {
|
|
73
|
+
k(!0), window.BimViewer.annotationTool.setCurrentType(n.code), r({
|
|
74
74
|
isTool: !0,
|
|
75
75
|
event_target: "AnnotationTool",
|
|
76
76
|
event_name: "clickAnnoTool",
|
|
@@ -80,18 +80,18 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
|
-
return (n,
|
|
84
|
-
const
|
|
83
|
+
return (n, an) => {
|
|
84
|
+
const $ = y;
|
|
85
85
|
return a(), s("div", z, [
|
|
86
|
-
c(
|
|
86
|
+
c(d)("isMobile") ? (a(), s("div", K, [
|
|
87
87
|
P,
|
|
88
|
-
L(
|
|
88
|
+
L($, null, {
|
|
89
89
|
default: O(() => [
|
|
90
90
|
t("div", Q, [
|
|
91
91
|
(a(!0), s(g, null, b(c(T), (o, m) => (a(), s("div", {
|
|
92
92
|
key: m,
|
|
93
93
|
class: w(["label-item", { "label-item-active": i.value === o.code }]),
|
|
94
|
-
onClick: (
|
|
94
|
+
onClick: (M) => v(o)
|
|
95
95
|
}, [
|
|
96
96
|
t("div", Z, [
|
|
97
97
|
t("img", {
|
|
@@ -115,15 +115,16 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
|
|
|
115
115
|
t("div", R, [
|
|
116
116
|
t("div", U, [
|
|
117
117
|
(a(!0), s(g, null, b(c(T), (o, m) => (a(), s("button", {
|
|
118
|
-
|
|
118
|
+
id: `annotation_tool_btn_${m}`,
|
|
119
|
+
key: m,
|
|
119
120
|
class: w(["annotation_tool_btn", { active: i.value === o.code }]),
|
|
120
|
-
|
|
121
|
+
onClick: (M) => v(o)
|
|
121
122
|
}, [
|
|
122
123
|
X("", !0),
|
|
123
124
|
t("img", {
|
|
124
125
|
src: `${c(e)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${i.value !== o.code ? o.img : o.img_active}.png`
|
|
125
126
|
}, null, 8, G)
|
|
126
|
-
], 10, j))),
|
|
127
|
+
], 10, j))), 128))
|
|
127
128
|
])
|
|
128
129
|
]),
|
|
129
130
|
J
|
|
@@ -131,7 +132,7 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
|
|
|
131
132
|
]);
|
|
132
133
|
};
|
|
133
134
|
}
|
|
134
|
-
}),
|
|
135
|
+
}), rn = /* @__PURE__ */ x(en, [["__scopeId", "data-v-4f475052"]]);
|
|
135
136
|
export {
|
|
136
|
-
|
|
137
|
+
rn as default
|
|
137
138
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { al as s, x as e, am as n, ao as o, an as I } from "./index-C0G061KF.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as BIMXViewer,
|
|
4
4
|
e as BIMX_CONFIGS,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
n as InitialViewer,
|
|
6
|
+
o as InitializeConfigs,
|
|
7
|
+
I as setConfigs
|
|
8
8
|
};
|