@xtctwins/tctwins-industry-engine 0.0.2 → 0.0.3
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-CckYT7oM.mjs → AnnotationTool-B_8kk4PT.mjs} +2 -2
- package/dist/{BCFTool-BSX5QGiL.mjs → BCFTool-CCEs0Hcv.mjs} +2 -2
- package/dist/{CommentTool-DkFNdJsC.mjs → CommentTool-Ceu3dEvG.mjs} +1 -1
- package/dist/Industry_Viewer_Lib.es.js +1 -1
- package/dist/Industry_Viewer_Lib.umd.js +102 -102
- package/dist/{InspectorTool-CByW1-RR.mjs → InspectorTool-DizW4rLc.mjs} +3 -3
- package/dist/{MeasureTool-NaIXjx25.mjs → MeasureTool-DwPFiKtr.mjs} +1 -1
- package/dist/{MouseTool-DPn1c8VH.mjs → MouseTool-C5bYjpv8.mjs} +1 -1
- package/dist/{NavigateTool-CKzyxNb1.mjs → NavigateTool-DYsv1Kx-.mjs} +1 -1
- package/dist/{RoamTool-CGCd0ISJ.mjs → RoamTool-B0_CFWw5.mjs} +1 -1
- package/dist/{ScreenShotTool-FxhSh-H4.mjs → ScreenShotTool-BBapcvr-.mjs} +2 -2
- package/dist/{SectionTool-BvMnghTr.mjs → SectionTool-CRrzpXtp.mjs} +3 -3
- package/dist/{SettingTool-Qwh1ZQW9.mjs → SettingTool-4JZBHK89.mjs} +221 -221
- package/dist/{StructureTree-BfcLg0fH.mjs → StructureTree-COEz3wVF.mjs} +4 -4
- package/dist/XRayTool-BSGbsSyp.mjs +57 -0
- package/dist/{alert-21rvT3x0.mjs → alert-DXy73YAR.mjs} +1 -1
- package/dist/{el-checkbox-DhCHlVlj.mjs → el-checkbox-CHHqPLrg.mjs} +1 -1
- package/dist/{el-input-number-BM57GTck.mjs → el-input-number-HgHfv0L_.mjs} +1 -1
- package/dist/{index-D7CWZ7YS.mjs → index-CDNB06AU.mjs} +3078 -3027
- package/dist/{panel.vue_vue_type_style_index_0_lang-BNEWti6-.mjs → panel.vue_vue_type_style_index_0_lang-moPEUl7t.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-uzpBjNGL.mjs → tallPanel-zfPrZtgS.mjs} +1 -1
- package/package.json +2 -2
- package/types/viewerManager/viewerManager.d.ts +7 -0
- package/dist/XRayTool-Cyvx3oRp.mjs +0 -57
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as de, _ as ke, w as Be, h as be, i as Pe, a as fe, b as _e, c as ve, d as Ae, e as Me, f as He, r as Ce, g as ze, E as Fe, j as qe, k as Re, l as Q, m as Ve, n as Ue, s as We, o as Ye, p as Ge, q as X, t as me, T as De, v as Je, x as Qe, y as Xe, z as Ze } from "./index-
|
|
2
|
-
import { _ as et } from "./tallPanel-
|
|
3
|
-
import { _ as tt } from "./panel.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { E as nt } from "./el-checkbox-
|
|
1
|
+
import { u as de, _ as ke, w as Be, h as be, i as Pe, a as fe, b as _e, c as ve, d as Ae, e as Me, f as He, r as Ce, g as ze, E as Fe, j as qe, k as Re, l as Q, m as Ve, n as Ue, s as We, o as Ye, p as Ge, q as X, t as me, T as De, v as Je, x as Qe, y as Xe, z as Ze } from "./index-CDNB06AU.mjs";
|
|
2
|
+
import { _ as et } from "./tallPanel-zfPrZtgS.mjs";
|
|
3
|
+
import { _ as tt } from "./panel.vue_vue_type_style_index_0_lang-moPEUl7t.mjs";
|
|
4
|
+
import { E as nt } from "./el-checkbox-CHHqPLrg.mjs";
|
|
5
5
|
import { defineComponent as re, openBlock as D, createBlock as G, Transition as ot, mergeProps as st, unref as U, toHandlers as dt, withCtx as I, renderSlot as Ke, reactive as rt, inject as se, h as Te, provide as he, ref as x, getCurrentInstance as Le, watch as M, nextTick as ge, resolveComponent as ee, withDirectives as W, createElementBlock as $, normalizeClass as H, withModifiers as Z, createElementVNode as _, normalizeStyle as at, resolveDynamicComponent as it, createCommentVNode as ie, createVNode as S, Fragment as ce, renderList as ue, vShow as Y, shallowRef as Se, onMounted as $e, onUpdated as lt, computed as ct, toDisplayString as q, onBeforeUnmount as ut } from "vue";
|
|
6
6
|
import { S as pe } from "./const-DeViLYl5.mjs";
|
|
7
7
|
import { Loading as ht, CaretRight as ft } from "@element-plus/icons-vue";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as h, onMounted as V, ref as E, onBeforeUnmount as k, openBlock as s, createElementBlock as r, createElementVNode as l, Fragment as x, renderList as B, unref as d, normalizeClass as w, toDisplayString as C } from "vue";
|
|
2
|
+
import { p as S, t as m, O as A, q as O, z as T } from "./index-CDNB06AU.mjs";
|
|
3
|
+
import { X as I } from "./const-DeViLYl5.mjs";
|
|
4
|
+
const R = { class: "xray_wrapper" }, H = { class: "xray_content" }, X = ["onClick"], j = ["src"], L = /* @__PURE__ */ h({
|
|
5
|
+
__name: "XRayTool",
|
|
6
|
+
props: ["componentId"],
|
|
7
|
+
emits: ["closePanel", "emitHandler"],
|
|
8
|
+
setup(u, { emit: z }) {
|
|
9
|
+
const n = S(), _ = u;
|
|
10
|
+
V(() => {
|
|
11
|
+
n.setReadyById(_.componentId);
|
|
12
|
+
});
|
|
13
|
+
const t = E(0), a = () => {
|
|
14
|
+
const { eventTrigger: e } = window.bimViewer;
|
|
15
|
+
O("isMobile") ? e.on("touchEntity", (o) => {
|
|
16
|
+
!window.bimViewer.disableClickEvent || !n.isToolActiveBykey("xray") || c(o);
|
|
17
|
+
}) : e.on("pickedEntity", (o) => {
|
|
18
|
+
!window.bimViewer.disableClickEvent || !n.isToolActiveBykey("xray") || c(o);
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
m.on("BimViewer", a), k(() => {
|
|
22
|
+
m.off("BimViewer", a);
|
|
23
|
+
});
|
|
24
|
+
const c = (e) => {
|
|
25
|
+
t.value != -1 && (t.value == 1 ? v(e) : t.value == 2 ? f(e) : t.value == 3 && p(e));
|
|
26
|
+
}, v = (e) => {
|
|
27
|
+
window.bimViewer.setEntityVisible(e);
|
|
28
|
+
}, f = (e) => {
|
|
29
|
+
window.bimViewer.setEntityHighlighted(e);
|
|
30
|
+
}, p = (e) => {
|
|
31
|
+
window.bimViewer.setEntitySelected(e);
|
|
32
|
+
}, b = () => {
|
|
33
|
+
window.bimViewer.setAllObjectsVisible(!0), window.bimViewer.setAllObjectsHighlighted(!1), window.bimViewer.setAllObjectsSelected(!1);
|
|
34
|
+
}, y = (e) => {
|
|
35
|
+
e == 0 ? (t.value = e, b()) : t.value = e;
|
|
36
|
+
};
|
|
37
|
+
return (e, o) => (s(), r("div", R, [
|
|
38
|
+
l("div", H, [
|
|
39
|
+
(s(!0), r(x, null, B(d(I), (i, g) => (s(), r("div", {
|
|
40
|
+
key: g,
|
|
41
|
+
class: w(["button_", { button_active: t.value == i.id }]),
|
|
42
|
+
onClick: (M) => y(i.id)
|
|
43
|
+
}, [
|
|
44
|
+
l("img", {
|
|
45
|
+
src: d(A) + `/industry-viewer/xray-bar/${t.value == i.id ? i.img_active : i.img}.svg`
|
|
46
|
+
}, null, 8, j),
|
|
47
|
+
l("span", {
|
|
48
|
+
class: w({ active_text: t.value == i.id })
|
|
49
|
+
}, C(i.name), 3)
|
|
50
|
+
], 10, X))), 128))
|
|
51
|
+
])
|
|
52
|
+
]));
|
|
53
|
+
}
|
|
54
|
+
}), D = /* @__PURE__ */ T(L, [["__scopeId", "data-v-d28ce989"]]);
|
|
55
|
+
export {
|
|
56
|
+
D as default
|
|
57
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as s, y as l, z as _ } from "./index-
|
|
1
|
+
import { O as s, y as l, z as _ } from "./index-CDNB06AU.mjs";
|
|
2
2
|
import { defineComponent as c, openBlock as a, createElementBlock as i, createElementVNode as e, unref as r, createVNode as d } from "vue";
|
|
3
3
|
const p = { class: "alert_wrapper" }, m = { class: "alert_box_wrapper" }, u = { class: "alert_box" }, f = { class: "alert_img" }, h = ["src"], v = { class: "alert_close" }, g = /* @__PURE__ */ c({
|
|
4
4
|
__name: "alert",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject as F, computed as v, getCurrentInstance as Z, watch as ee, nextTick as le, ref as U, toRaw as H, defineComponent as E, useSlots as ne, openBlock as x, createBlock as ae, resolveDynamicComponent as ue, unref as a, normalizeClass as C, withCtx as te, createElementVNode as J, withDirectives as N, createElementBlock as S, isRef as $, withModifiers as z, vModelCheckbox as D, renderSlot as R, Fragment as pe, createTextVNode as oe, toDisplayString as se, createCommentVNode as P, normalizeStyle as ge, provide as Ce, toRefs as xe } from "vue";
|
|
2
|
-
import { H as ie, M as de, U as G, d as Q, F as X, i as T, b as M, K as Ve, P as A, j as re, a as I, f as O, e as ye, aq as Se, J as Y, Q as ce, L as w, u as K, _ as j, D as Le, W as Be, ar as Ee, w as _e, R as be } from "./index-
|
|
2
|
+
import { H as ie, M as de, U as G, d as Q, F as X, i as T, b as M, K as Ve, P as A, j as re, a as I, f as O, e as ye, aq as Se, J as Y, Q as ce, L as w, u as K, _ as j, D as Le, W as Be, ar as Ee, w as _e, R as be } from "./index-CDNB06AU.mjs";
|
|
3
3
|
const fe = {
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: [Number, String, Boolean],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as ee, reactive as Pe, computed as y, watch as de, onMounted as Ke, onUpdated as Ge, openBlock as B, createElementBlock as Y, normalizeClass as R, unref as n, withModifiers as Ve, withDirectives as Te, withKeys as ve, renderSlot as be, createVNode as ce, withCtx as le, createBlock as Z, createCommentVNode as ae, createSlots as Je, inject as Qe, nextTick as ye, toRefs as Be, normalizeStyle as te, createElementVNode as re, toDisplayString as qe, h as Ze, shallowRef as De, provide as en, Fragment as ge, renderList as ke } from "vue";
|
|
2
|
-
import { D as pe, H as xe, F as z, M as Ae, G as Se, X as D, a0 as me, U, n as Ye, u as Ne, P as Re, b as he, j as ue, J as Xe, K as nn, E as Fe, a1 as ze, v as tn, _ as Me, $ as Ue, d as Ie, a2 as ln, w as We, W as ie, a3 as Oe, a as fe, k as we, a4 as _e, l as G, a5 as an, Q as rn } from "./index-
|
|
2
|
+
import { D as pe, H as xe, F as z, M as Ae, G as Se, X as D, a0 as me, U, n as Ye, u as Ne, P as Re, b as he, j as ue, J as Xe, K as nn, E as Fe, a1 as ze, v as tn, _ as Me, $ as Ue, d as Ie, a2 as ln, w as We, W as ie, a3 as Oe, a as fe, k as we, a4 as _e, l as G, a5 as an, Q as rn } from "./index-CDNB06AU.mjs";
|
|
3
3
|
import { ArrowDown as un, Minus as on, ArrowUp as sn, Plus as dn } from "@element-plus/icons-vue";
|
|
4
4
|
const cn = pe({
|
|
5
5
|
id: {
|