@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
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { _ as D } from "./alert-
|
|
2
|
-
import { defineComponent as H, ref as
|
|
3
|
-
import { F as j, G as J, H as o, I as v, P as r, M as K } from "./index-
|
|
4
|
-
import { A as l } from "./const-DOnRsYpZ.mjs";
|
|
1
|
+
import { _ as D } from "./alert-B9Uw8l52.mjs";
|
|
2
|
+
import { defineComponent as H, ref as b, watch as O, onMounted as q, onBeforeUnmount as F, openBlock as i, createElementBlock as a, unref as n, createCommentVNode as p, createElementVNode as c, normalizeClass as f, Fragment as B, renderList as C, toDisplayString as R, withDirectives as U, createVNode as z, vShow as G } from "vue";
|
|
3
|
+
import { F as j, G as J, H as o, I as v, al as l, P as r, M as K } from "./index-B_IMYBaJ.mjs";
|
|
5
4
|
const Q = { class: "annotation_component" }, Y = {
|
|
6
5
|
key: 0,
|
|
7
6
|
id: "annotation_toolbar",
|
|
@@ -15,7 +14,7 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
15
14
|
}, ie = {
|
|
16
15
|
key: 1,
|
|
17
16
|
class: "mobile_annotation_toolbar"
|
|
18
|
-
}, ae = { class: "anno_toolList" }, se = { class: "label-list" }, ce = ["onClick"],
|
|
17
|
+
}, ae = { class: "anno_toolList" }, se = { class: "label-list" }, ce = ["onClick"], le = { class: "item-img" }, re = ["src"], _e = { class: "item-name" }, de = /* @__PURE__ */ H({
|
|
19
18
|
__name: "AnnotationTool",
|
|
20
19
|
props: ["componentId"],
|
|
21
20
|
emits: ["uploadImage", "clickAnnotation", "emitHandler"],
|
|
@@ -24,9 +23,9 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
24
23
|
M("emitHandler", e);
|
|
25
24
|
};
|
|
26
25
|
let T;
|
|
27
|
-
const A =
|
|
26
|
+
const A = b(!0), s = b("");
|
|
28
27
|
let m;
|
|
29
|
-
const S =
|
|
28
|
+
const S = b(), h = P;
|
|
30
29
|
O(
|
|
31
30
|
() => w.isToolActive(h.componentId),
|
|
32
31
|
(e) => {
|
|
@@ -118,19 +117,19 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
118
117
|
class: f(["label-item", { "label-item-active": s.value === t.code && n(o)("editPrivilege") == 0, noPermission: n(o)("editPrivilege") == 1 }]),
|
|
119
118
|
onClick: (X) => g(t)
|
|
120
119
|
}, [
|
|
121
|
-
c("div",
|
|
120
|
+
c("div", le, [
|
|
122
121
|
c("img", {
|
|
123
122
|
class: "label-item-img",
|
|
124
123
|
src: n(r) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${s.value === t.code && n(o)("editPrivilege") == 0 ? t.imgActive : t.img}.svg`,
|
|
125
124
|
alt: ""
|
|
126
|
-
}, null, 8,
|
|
125
|
+
}, null, 8, re),
|
|
127
126
|
c("div", _e, R(n(y)(t.name)), 1)
|
|
128
127
|
])
|
|
129
128
|
], 10, ce))), 128))
|
|
130
129
|
])
|
|
131
130
|
])
|
|
132
131
|
])) : (i(), a("div", Y, [
|
|
133
|
-
n(o)("annotationPos").pos.includes("top") ? (i(), a("div", Z)) :
|
|
132
|
+
n(o)("annotationPos").pos.includes("top") ? (i(), a("div", Z)) : p("", !0),
|
|
134
133
|
c("div", {
|
|
135
134
|
class: f(["annotation_toolbar_wrapper", { annotation_toolbar_wrapper_disable: n(o)("editPrivilege") == 1 }])
|
|
136
135
|
}, [
|
|
@@ -142,14 +141,14 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
142
141
|
disabled: n(o)("editPrivilege") == 1,
|
|
143
142
|
onClick: (X) => g(t)
|
|
144
143
|
}, [
|
|
145
|
-
|
|
144
|
+
p("", !0),
|
|
146
145
|
c("img", {
|
|
147
146
|
src: `${n(r)}/bim-viewer/action-bars/panno-${s.value !== t.code ? t.img : t.imgActive}.svg`
|
|
148
147
|
}, null, 8, te)
|
|
149
148
|
], 10, ne))), 128))
|
|
150
149
|
])
|
|
151
150
|
], 2),
|
|
152
|
-
n(o)("annotationPos").pos.includes("bottom") ? (i(), a("div", oe)) :
|
|
151
|
+
n(o)("annotationPos").pos.includes("bottom") ? (i(), a("div", oe)) : p("", !0)
|
|
153
152
|
])),
|
|
154
153
|
U(z(W, {
|
|
155
154
|
"click-handle": () => {
|
|
@@ -161,7 +160,7 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
161
160
|
]);
|
|
162
161
|
};
|
|
163
162
|
}
|
|
164
|
-
}),
|
|
163
|
+
}), ge = /* @__PURE__ */ K(de, [["__scopeId", "data-v-7c08da5a"]]);
|
|
165
164
|
export {
|
|
166
|
-
|
|
165
|
+
ge as default
|
|
167
166
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aL as e, U as t, aM as o, aN as i, a0 as l, aO as n, aP as I, aQ as r, aR as f, aS as g, aT as C, aU as M, aV as S, O as u } from "./index-B_IMYBaJ.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BIMXViewer,
|
|
4
4
|
t as BIMX_CONFIGS,
|
|
@@ -8,10 +8,10 @@ export {
|
|
|
8
8
|
n as bimxMessages,
|
|
9
9
|
I as defaultI18nConfig,
|
|
10
10
|
r as setAllToolClose,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
f as setConfigs,
|
|
12
|
+
g as setGlobalI18n,
|
|
13
|
+
C as setI18nInstance,
|
|
14
|
+
M as setToolStatusById,
|
|
15
15
|
S as setToolStatusBykey,
|
|
16
16
|
u as useLocaleStore
|
|
17
17
|
};
|