@xtctwins/tctwins-bimx-engine 0.2.44 → 0.2.46

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 (52) hide show
  1. package/dist/{AnnotationTool-DlWXzpPe.mjs → AnnotationTool-CYSBNMEm.mjs} +10 -10
  2. package/dist/BIMX_Viewer_Lib.es.js +12 -7
  3. package/dist/BIMX_Viewer_Lib.umd.js +169 -169
  4. package/dist/CommentTool-BJyUEGpp.mjs +1530 -0
  5. package/dist/{HiddenTool-C84vGAtK.mjs → HiddenTool-Bqo4_PrD.mjs} +15 -15
  6. package/dist/InspectorTool-mHRoQ-GI.mjs +679 -0
  7. package/dist/MeasureTool-RqNo_Ckx.mjs +324 -0
  8. package/dist/{MouseTool-0cUY9YI6.mjs → MouseTool-BoNaoQct.mjs} +1 -1
  9. package/dist/{NavigateTool-DD3wibk3.mjs → NavigateTool-CByCoaJH.mjs} +10 -10
  10. package/dist/RoamTool-DCjBsvoI.mjs +288 -0
  11. package/dist/ScreenShotTool-Da1O0iGY.mjs +116 -0
  12. package/dist/SectionTool-DieQ55pG.mjs +332 -0
  13. package/dist/SettingTool-CZCVaXaF.mjs +865 -0
  14. package/dist/StructureTree-DKV-7jzz.mjs +1876 -0
  15. package/dist/alert-CpFuS6Gd.mjs +48 -0
  16. package/dist/{const-1h5SNeT6.mjs → const-DHP_A8oY.mjs} +65 -40
  17. package/dist/el-input-number-PPKOnKXi.mjs +1169 -0
  18. package/dist/el-radio-group-D_mYSkem.mjs +392 -0
  19. package/dist/{index-BsQHuOtQ.mjs → index-CAETKPrv.mjs} +48008 -44686
  20. package/dist/{panel.vue_vue_type_style_index_0_lang-BoCXA-Su.mjs → panel.vue_vue_type_style_index_0_lang-KyKwKK6P.mjs} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{tallPanel-6zR8_KxY.mjs → tallPanel-CJYLA-N6.mjs} +6 -6
  23. package/package.json +16 -5
  24. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +27 -0
  25. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +14 -14
  26. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +14 -14
  27. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +772 -620
  28. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +14 -14
  29. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +14 -14
  30. package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -1
  31. package/types/i18n/index.d.ts +1537 -0
  32. package/types/i18n/locales/en-US.d.ts +381 -0
  33. package/types/i18n/locales/zh-CN.d.ts +381 -0
  34. package/types/i18n/types.d.ts +144 -0
  35. package/types/index.d.ts +6 -3
  36. package/types/pages/viewerEntry.vue.d.ts +3 -1
  37. package/types/store/bcfReflect.d.ts +6 -6
  38. package/types/store/const.d.ts +14 -1
  39. package/types/store/initConfigs.d.ts +1 -1
  40. package/types/store/localeStore.d.ts +22 -0
  41. package/types/store/propertyReflect.d.ts +1 -1
  42. package/types/utils/roles.d.ts +1 -1
  43. package/dist/CommentTool-C0GJuglr.mjs +0 -1529
  44. package/dist/InspectorTool-DmwjDZMT.mjs +0 -678
  45. package/dist/MeasureTool-CctdiJZ5.mjs +0 -323
  46. package/dist/RoamTool-DfdjoYNI.mjs +0 -287
  47. package/dist/ScreenShotTool-Cc8EuVgN.mjs +0 -391
  48. package/dist/SectionTool--31htn2k.mjs +0 -331
  49. package/dist/SettingTool-B8kwPsNg.mjs +0 -660
  50. package/dist/StructureTree-DNSm4_KZ.mjs +0 -1708
  51. package/dist/alert-BBtNdmZc.mjs +0 -46
  52. package/dist/el-input-number-cVe5h6tA.mjs +0 -904
@@ -1,7 +1,7 @@
1
- import { _ as X } from "./alert-BBtNdmZc.mjs";
1
+ import { _ as X } from "./alert-CpFuS6Gd.mjs";
2
2
  import { defineComponent as D, ref as b, watch as H, onMounted as O, onBeforeUnmount as q, createElementBlock as i, openBlock as a, withDirectives as R, unref as n, createCommentVNode as p, createElementVNode as r, normalizeClass as f, Fragment as B, renderList as C, toDisplayString as U, createVNode as z, vShow as F } from "vue";
3
- import { A as j, B as t, C as v, O as l, H as G } from "./index-BsQHuOtQ.mjs";
4
- import { A as c } from "./const-1h5SNeT6.mjs";
3
+ import { A as j, B as t, C as v, O as l, H as G } from "./index-CAETKPrv.mjs";
4
+ import { A as c } from "./const-DHP_A8oY.mjs";
5
5
  const J = { class: "annotation_component" }, K = {
6
6
  key: 0,
7
7
  id: "annotation_toolbar",
@@ -74,12 +74,12 @@ const J = { class: "annotation_component" }, K = {
74
74
  };
75
75
  v.on("BimViewer", k);
76
76
  const I = (e) => {
77
- g(x(e.type));
77
+ g(L(e.type));
78
78
  };
79
79
  v.on("setAnnoStatus", I), q(() => {
80
80
  v.off("BimViewer", k), v.off("setAnnoStatus", I);
81
81
  });
82
- const x = (e) => {
82
+ const L = (e) => {
83
83
  if (e === "image")
84
84
  return c[0];
85
85
  if (e === "record")
@@ -92,11 +92,11 @@ const J = { class: "annotation_component" }, K = {
92
92
  return c[4];
93
93
  }, g = (e) => {
94
94
  t("editPrivilege") != 1 && (s.value === e.code ? (s.value = "", V(e, !1)) : (s.value = e.code, V(e, !0)));
95
- }, L = (e) => {
95
+ }, N = (e) => {
96
96
  window.bimViewer.annotationTool.setEnabled(e);
97
97
  }, V = (e, _) => {
98
- L(_), N(e.code, _);
99
- }, N = (e, _) => {
98
+ N(_), x(e.code, _);
99
+ }, x = (e, _) => {
100
100
  window.bimViewer.annotationTool.setCurrentType(e), d({
101
101
  isTool: !0,
102
102
  event_target: "AnnotationTool",
@@ -124,7 +124,7 @@ const J = { class: "annotation_component" }, K = {
124
124
  src: n(l) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${s.value === o.code && n(t)("editPrivilege") == 0 ? o.imgActive : o.img}.svg`,
125
125
  alt: ""
126
126
  }, null, 8, re),
127
- r("div", le, U(o.name), 1)
127
+ r("div", le, U(e.$t(o.name)), 1)
128
128
  ])
129
129
  ], 10, ae))), 128))
130
130
  ])
@@ -161,7 +161,7 @@ const J = { class: "annotation_component" }, K = {
161
161
  ]);
162
162
  };
163
163
  }
164
- }), ve = /* @__PURE__ */ G(ce, [["__scopeId", "data-v-59b9d05d"]]);
164
+ }), ve = /* @__PURE__ */ G(ce, [["__scopeId", "data-v-941b900d"]]);
165
165
  export {
166
166
  ve as default
167
167
  };
@@ -1,12 +1,17 @@
1
- import { ar as e, K as t, as as o, au as i, V as l, ax as r, at as I, av as n, aw as w } from "./index-BsQHuOtQ.mjs";
1
+ import { as as e, L as o, at as t, az as i, V as l, ay as n, aw as I, ax as r, aC as C, au as f, aA as g, aB as u, I as B, av as S } from "./index-CAETKPrv.mjs";
2
2
  export {
3
3
  e as BIMXViewer,
4
- t as BIMX_CONFIGS,
5
- o as InitialViewer,
4
+ o as BIMX_CONFIGS,
5
+ t as InitialViewer,
6
6
  i as InitializeConfigs,
7
7
  l as ViewerManager,
8
- r as setAllToolClose,
9
- I as setConfigs,
10
- n as setToolStatusById,
11
- w as setToolStatusBykey
8
+ n as defaultI18nConfig,
9
+ I as enUS,
10
+ r as messages,
11
+ C as setAllToolClose,
12
+ f as setConfigs,
13
+ g as setToolStatusById,
14
+ u as setToolStatusBykey,
15
+ B as useLocaleStore,
16
+ S as zhCN
12
17
  };