@xtctwins/tctwins-bimx-engine 0.2.44 → 0.2.45

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 (51) hide show
  1. package/dist/{AnnotationTool-DlWXzpPe.mjs → AnnotationTool-CdbPR6vA.mjs} +18 -18
  2. package/dist/BIMX_Viewer_Lib.es.js +1 -1
  3. package/dist/BIMX_Viewer_Lib.umd.js +222 -200
  4. package/dist/CommentTool-CgxzzYy9.mjs +1529 -0
  5. package/dist/{HiddenTool-C84vGAtK.mjs → HiddenTool-DpwkIWbh.mjs} +17 -17
  6. package/dist/InspectorTool-cG9RoPIu.mjs +678 -0
  7. package/dist/MeasureTool-B4ph06NM.mjs +323 -0
  8. package/dist/{MouseTool-0cUY9YI6.mjs → MouseTool-Z83_M8Su.mjs} +17 -17
  9. package/dist/{NavigateTool-DD3wibk3.mjs → NavigateTool-BaEtBWaH.mjs} +11 -11
  10. package/dist/RoamTool-DTlGQktI.mjs +287 -0
  11. package/dist/ScreenShotTool-CvCaG6uf.mjs +115 -0
  12. package/dist/SectionTool-6slU6yC5.mjs +331 -0
  13. package/dist/SettingTool-CoN_Y6Tg.mjs +710 -0
  14. package/dist/StructureTree-Y2_B0gO8.mjs +1708 -0
  15. package/dist/alert-BDJdRIjy.mjs +47 -0
  16. package/dist/{const-1h5SNeT6.mjs → const-DHP_A8oY.mjs} +65 -40
  17. package/dist/{el-input-number-cVe5h6tA.mjs → el-input-number-CpIXEleT.mjs} +23 -23
  18. package/dist/el-radio-group-CcbrZkON.mjs +283 -0
  19. package/dist/{index-BsQHuOtQ.mjs → index-umj7W-u7.mjs} +61217 -56432
  20. package/dist/{panel.vue_vue_type_style_index_0_lang-BoCXA-Su.mjs → panel.vue_vue_type_style_index_0_lang-Dx2fZ51E.mjs} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{tallPanel-6zR8_KxY.mjs → tallPanel-Dbx2JFJz.mjs} +7 -7
  23. package/package.json +3 -2
  24. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +27 -0
  25. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +6 -6
  26. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +2 -2
  27. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +4 -4
  28. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  29. package/types/components/utilsComponents/prompt.vue.d.ts +2 -2
  30. package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -1
  31. package/types/i18n/index.d.ts +764 -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 +2 -2
  36. package/types/pages/viewerEntry.vue.d.ts +3 -1
  37. package/types/store/bcfReflect.d.ts +5 -5
  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 +21 -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
@@ -1,7 +1,7 @@
1
- import { _ as X } from "./alert-BBtNdmZc.mjs";
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";
1
+ import { _ as W } from "./alert-BDJdRIjy.mjs";
2
+ import { defineComponent as X, ref as b, watch as O, onMounted as H, 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 { B as j, C as t, D as v, O as l, I as G } from "./index-umj7W-u7.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",
@@ -15,7 +15,7 @@ const J = { class: "annotation_component" }, K = {
15
15
  }, oe = {
16
16
  key: 1,
17
17
  class: "mobile_annotation_toolbar"
18
- }, te = { class: "anno_toolList" }, ie = { class: "label-list" }, ae = ["onClick"], se = { class: "item-img" }, re = ["src"], le = { class: "item-name" }, ce = /* @__PURE__ */ D({
18
+ }, te = { class: "anno_toolList" }, ie = { class: "label-list" }, ae = ["onClick"], se = { class: "item-img" }, re = ["src"], le = { class: "item-name" }, ce = /* @__PURE__ */ X({
19
19
  __name: "AnnotationTool",
20
20
  props: ["componentId"],
21
21
  emits: ["uploadImage", "clickAnnotation", "emitHandler"],
@@ -27,12 +27,12 @@ const J = { class: "annotation_component" }, K = {
27
27
  const A = b(!0), s = b("");
28
28
  let m;
29
29
  const S = b(), h = $;
30
- H(
30
+ O(
31
31
  () => w.isToolActive(h.componentId),
32
32
  (e) => {
33
33
  e || (s.value = "");
34
34
  }
35
- ), O(() => {
35
+ ), H(() => {
36
36
  S.value = t("annoLimit"), w.setReadyById(h.componentId);
37
37
  });
38
38
  const M = {
@@ -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",
@@ -108,7 +108,7 @@ const J = { class: "annotation_component" }, K = {
108
108
  });
109
109
  };
110
110
  return (e, _) => {
111
- const E = X;
111
+ const D = W;
112
112
  return a(), i("div", J, [
113
113
  n(t)("isMobile") ? (a(), i("div", oe, [
114
114
  r("div", te, [
@@ -116,7 +116,7 @@ const J = { class: "annotation_component" }, K = {
116
116
  (a(!0), i(B, null, C(n(c), (o, u) => (a(), i("div", {
117
117
  key: u,
118
118
  class: f(["label-item", { "label-item-active": s.value === o.code && n(t)("editPrivilege") == 0, noPermission: n(t)("editPrivilege") == 1 }]),
119
- onClick: (W) => g(o)
119
+ onClick: (E) => g(o)
120
120
  }, [
121
121
  r("div", se, [
122
122
  r("img", {
@@ -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
  ])
@@ -140,7 +140,7 @@ const J = { class: "annotation_component" }, K = {
140
140
  key: u,
141
141
  class: f(["annotation_tool_btn", { active: s.value === o.code }]),
142
142
  disabled: n(t)("editPrivilege") == 1,
143
- onClick: (W) => g(o)
143
+ onClick: (E) => g(o)
144
144
  }, [
145
145
  p("", !0),
146
146
  r("img", {
@@ -151,7 +151,7 @@ const J = { class: "annotation_component" }, K = {
151
151
  ], 2),
152
152
  n(t)("annotationPos").pos.includes("bottom") ? (a(), i("div", ne)) : p("", !0)
153
153
  ])),
154
- R(z(E, {
154
+ R(z(D, {
155
155
  "click-handle": () => {
156
156
  A.value = !1;
157
157
  }
@@ -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,4 +1,4 @@
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 { at as e, M as t, au as o, aw as i, V as l, az as r, av as I, ax as n, ay as w } from "./index-umj7W-u7.mjs";
2
2
  export {
3
3
  e as BIMXViewer,
4
4
  t as BIMX_CONFIGS,