@xtctwins/tctwins-bimx-engine 0.3.12 → 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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/dist/{AnnotationTool-BnLd0s38.mjs → AnnotationTool-k3W4xmw6.mjs} +13 -14
  3. package/dist/BIMX_Viewer_Lib.es.js +5 -5
  4. package/dist/BIMX_Viewer_Lib.umd.js +184 -164
  5. package/dist/{CameraViewTool-BwVnc0ua.mjs → CameraViewTool-CuXnJa74.mjs} +15 -15
  6. package/dist/{CommentTool-B9TgO52t.mjs → CommentTool-CUtaZc7Y.mjs} +276 -277
  7. package/dist/{HiddenTool-CNMJqZzC.mjs → HiddenTool-CzJ19mP1.mjs} +9 -10
  8. package/dist/{InspectorTool-D4gr7uiQ.mjs → InspectorTool-BTH82K8b.mjs} +3 -3
  9. package/dist/MeasureTool-BvPkIvmX.mjs +593 -0
  10. package/dist/{MouseTool-DVqNDADf.mjs → MouseTool-CiywjpW3.mjs} +6 -6
  11. package/dist/{NavigateTool-B8qIl9xy.mjs → NavigateTool-CDlYpMXl.mjs} +13 -14
  12. package/dist/OperateTool-NMIYz2YN.mjs +185 -0
  13. package/dist/{RoamTool-3sDI1Ouu.mjs → RoamTool-BkwJBBAg.mjs} +1 -1
  14. package/dist/{ScreenShotTool-CjsT2-Va.mjs → ScreenShotTool-BP-xDRKf.mjs} +16 -17
  15. package/dist/SectionTool-mt4iqa1I.mjs +241 -0
  16. package/dist/SettingTool-DieHq4VO.mjs +1745 -0
  17. package/dist/{StructureTree-D9z28tm4.mjs → StructureTree-C8C435JY.mjs} +5 -6
  18. package/dist/{alert-DwTFq4bp.mjs → alert-B9Uw8l52.mjs} +18 -13
  19. package/dist/{index-DfRswjrC.mjs → index-B_IMYBaJ.mjs} +59333 -53195
  20. package/dist/{panel.vue_vue_type_style_index_0_lang-E8w23EhV.mjs → panel.vue_vue_type_style_index_0_lang-BswWCo8x.mjs} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{tallPanel-D0Zgkc3n.mjs → tallPanel-CnTIaRU-.mjs} +1 -1
  23. package/package.json +5 -5
  24. package/types/components/BimViewerComponents/OperateTool.vue.d.ts +12 -0
  25. package/types/components/BimViewerComponents/SectionModeBar.vue.d.ts +2 -0
  26. package/types/components/BimxViewerComp.vue.d.ts +2 -0
  27. package/types/components/utilsComponents/alert.vue.d.ts +9 -0
  28. package/types/i18n/index.d.ts +212 -0
  29. package/types/i18n/locales/en-US.d.ts +53 -0
  30. package/types/i18n/locales/zh-CN.d.ts +53 -0
  31. package/types/pages/BimxViewerEntry.vue.d.ts +3 -0
  32. package/types/store/const.d.ts +12 -0
  33. package/types/store/toolbars.d.ts +53 -1
  34. package/types/utils/OSSHelper.d.ts +2 -0
  35. package/types/utils/eventBus.d.ts +6 -1
  36. package/types/viewerManager/load/loadModel.d.ts +88 -0
  37. package/types/viewerManager/sectionManager.d.ts +524 -0
  38. package/types/viewerManager/viewerManager.d.ts +7 -1
  39. package/dist/MeasureTool-BNBUx-1X.mjs +0 -323
  40. package/dist/SectionTool-Bpk5jewK.mjs +0 -331
  41. package/dist/SettingTool-BuSm2JB6.mjs +0 -695
  42. package/dist/const-DOnRsYpZ.mjs +0 -389
  43. package/dist/el-slider-C9_q447A.mjs +0 -1059
@@ -1,9 +1,8 @@
1
- import { u as ae, w as Be, b as Re, c as et, a as tt, i as se, d as nt, e as ot, r as st, f as $e, g as xe, h as at, j as ye, k as De, l as ve, m as we, n as me, o as qe, N as rt, p as dt, q as je, s as Ee, t as it, E as lt, v as ct, x as ut, _ as Ve, y as ht, z as ft, A as Z, B as pt, C as yt, D as vt, F as gt, G as kt, H as ne, I as ge, T as Me, J as Nt, K as Ct, L as mt, M as bt } from "./index-DfRswjrC.mjs";
2
- import { _ as _t } from "./tallPanel-D0Zgkc3n.mjs";
1
+ import { u as ae, w as Be, b as Re, c as et, a as tt, i as se, d as nt, e as ot, r as st, f as $e, g as xe, h as at, j as ye, k as De, l as ve, m as we, n as me, o as qe, N as rt, p as dt, q as je, s as Ee, t as it, E as lt, v as ct, x as ut, _ as Ve, y as ht, z as ft, A as Z, B as pt, C as yt, D as vt, F as gt, G as kt, H as ne, I as ge, T as Me, S as ke, J as Nt, K as Ct, L as mt, M as bt } from "./index-B_IMYBaJ.mjs";
2
+ import { _ as _t } from "./tallPanel-CnTIaRU-.mjs";
3
3
  import { defineComponent as re, openBlock as I, createBlock as Y, Transition as Et, mergeProps as xt, unref as T, toHandlers as Dt, withCtx as A, renderSlot as be, ref as w, computed as Ke, watch as F, onMounted as Ae, onBeforeUnmount as Le, resolveDynamicComponent as Ue, normalizeStyle as Ye, normalizeClass as R, reactive as wt, nextTick as he, inject as fe, provide as pe, h as He, getCurrentInstance as We, resolveComponent as oe, withDirectives as G, createElementBlock as j, withModifiers as ee, createElementVNode as D, createCommentVNode as ie, createVNode as B, Fragment as ce, renderList as ue, vShow as Q, onUpdated as Kt, toDisplayString as q } from "vue";
4
4
  import { Loading as Tt, CaretRight as It } from "@element-plus/icons-vue";
5
- import { _ as St } from "./panel.vue_vue_type_style_index_0_lang-E8w23EhV.mjs";
6
- import { S as ke } from "./const-DOnRsYpZ.mjs";
5
+ import { _ as St } from "./panel.vue_vue_type_style_index_0_lang-BswWCo8x.mjs";
7
6
  var Bt = /* @__PURE__ */ re({
8
7
  name: "ElCollapseTransition",
9
8
  __name: "collapse-transition",
@@ -1680,7 +1679,7 @@ const tn = Be(en), nn = {
1680
1679
  ]));
1681
1680
  };
1682
1681
  }
1683
- }), Fn = /* @__PURE__ */ bt(Ln, [["__scopeId", "data-v-d7b4d053"]]);
1682
+ }), zn = /* @__PURE__ */ bt(Ln, [["__scopeId", "data-v-d7b4d053"]]);
1684
1683
  export {
1685
- Fn as default
1684
+ zn as default
1686
1685
  };
@@ -1,8 +1,13 @@
1
- import { F as c, P as _, L as l, M as a } from "./index-DfRswjrC.mjs";
2
- import { defineComponent as i, openBlock as r, createElementBlock as d, createElementVNode as e, unref as t, toDisplayString as p, createVNode as m } from "vue";
3
- const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = { class: "alert_box" }, g = { class: "alert_img" }, v = ["src"], k = { class: "alert_title" }, w = { class: "alert_close" }, x = /* @__PURE__ */ i({
1
+ import { F as l, P as o, L as _, M as a } from "./index-B_IMYBaJ.mjs";
2
+ import { defineComponent as i, openBlock as r, createElementBlock as d, createElementVNode as e, unref as n, toDisplayString as p, createVNode as u } from "vue";
3
+ const m = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = { class: "alert_box" }, g = { class: "alert_img" }, v = ["src"], k = { class: "alert_title" }, w = { class: "alert_close" }, x = /* @__PURE__ */ i({
4
4
  __name: "alert",
5
5
  props: {
6
+ // 提示文字,由使用方传入(一般传 t('...') 的翻译结果),不传则用默认的标注提示
7
+ title: {
8
+ type: String,
9
+ default: ""
10
+ },
6
11
  panelTitle: {
7
12
  type: String,
8
13
  default: ""
@@ -17,22 +22,22 @@ const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = {
17
22
  }
18
23
  }
19
24
  },
20
- setup(n) {
21
- const s = c();
22
- return (b, y) => {
23
- const o = l;
24
- return r(), d("div", u, [
25
+ setup(t) {
26
+ const s = l();
27
+ return (y, S) => {
28
+ const c = _;
29
+ return r(), d("div", m, [
25
30
  e("div", h, [
26
31
  e("div", f, [
27
32
  e("div", g, [
28
33
  e("img", {
29
- src: `${t(_)}/bim-viewer/alert_warning.png`
34
+ src: `${n(o)}/bim-viewer/alert_warning.png`
30
35
  }, null, 8, v)
31
36
  ]),
32
- e("div", k, p(t(s)("alert.selectPoint")), 1),
37
+ e("div", k, p(t.title || n(s)("alert.selectPoint")), 1),
33
38
  e("div", w, [
34
- m(o, {
35
- "click-handle": n.clickHandle,
39
+ u(c, {
40
+ "click-handle": t.clickHandle,
36
41
  width: 18
37
42
  }, null, 8, ["click-handle"])
38
43
  ])
@@ -41,7 +46,7 @@ const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = {
41
46
  ]);
42
47
  };
43
48
  }
44
- }), N = /* @__PURE__ */ a(x, [["__scopeId", "data-v-ef140d1a"]]);
49
+ }), N = /* @__PURE__ */ a(x, [["__scopeId", "data-v-7c2c9d5e"]]);
45
50
  export {
46
51
  N as _
47
52
  };