@xtctwins/tctwins-bimx-engine 0.1.10 → 0.1.12

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 (42) hide show
  1. package/README.md +3 -1
  2. package/dist/{AnnotationTool-DMpWktQD.mjs → AnnotationTool-BccfVdFQ.mjs} +31 -30
  3. package/dist/BIMX_Viewer_Lib.es.js +4 -4
  4. package/dist/BIMX_Viewer_Lib.umd.js +449 -90098
  5. package/dist/CommentTool-CtEjrjgf.mjs +337 -0
  6. package/dist/HiddenTool-GPS4SL5O.mjs +57 -0
  7. package/dist/{InspectorTool-Lm7frPMG.mjs → InspectorTool-D0cediPx.mjs} +51 -51
  8. package/dist/{MeasureTool-CQk5pe_r.mjs → MeasureTool-CRwS4esw.mjs} +473 -468
  9. package/dist/{NavigateTool-D0f1t01o.mjs → NavigateTool-BwQKvnnF.mjs} +9 -9
  10. package/dist/RoamTool-C2YMu_ex.mjs +208 -0
  11. package/dist/{ScreenShotTool-3VHOK0fx.mjs → ScreenShotTool-Dr7iY7ik.mjs} +31 -31
  12. package/dist/SectionTool-DLuBK1tG.mjs +625 -0
  13. package/dist/SettingTool-hDSHYEMH.mjs +539 -0
  14. package/dist/{StructureTree-0sXxkDZc.mjs → StructureTree-DUgNvSpI.mjs} +315 -316
  15. package/dist/{closeButton.vue_vue_type_style_index_0_scope_true_lang-CiQh2ieB.mjs → closeButton.vue_vue_type_style_index_0_scope_true_lang-4hkP3puO.mjs} +1 -1
  16. package/dist/{const-NjnIwsEB.mjs → const-CbUmfuHy.mjs} +24 -19
  17. package/dist/{debounce-B6bSTCKP.mjs → debounce-BmruhrmU.mjs} +18 -18
  18. package/dist/{el-checkbox-BGceCCPw.mjs → el-checkbox-BBryIO1h.mjs} +39 -39
  19. package/dist/el-input-C6nYwunQ.mjs +669 -0
  20. package/dist/{el-input-number-BTnGSkkl.mjs → el-input-number-DvDNGVBV.mjs} +185 -184
  21. package/dist/{index-DggAWqWo.mjs → index-B4lpsrzc.mjs} +1 -1
  22. package/dist/index-C0G061KF.mjs +75373 -0
  23. package/dist/index.html +17 -17
  24. package/dist/{isEqual-D_kOuRCu.mjs → isEqual-CZBomy0h.mjs} +9 -9
  25. package/dist/style.css +1 -1
  26. package/package.json +68 -46
  27. package/types/BIMX_Viewer_Initial/viewerInitial.d.ts +1 -10
  28. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +14 -0
  29. package/types/components/BimX_Viewer.vue.d.ts +0 -2
  30. package/types/index.d.ts +2 -2
  31. package/types/pages/BIMXViewer.vue.d.ts +38 -0
  32. package/types/services/request/config.d.ts +7 -13
  33. package/types/store/const.d.ts +6 -0
  34. package/types/store/initConfigs.d.ts +13 -18
  35. package/types/store/toolbars.d.ts +66 -15
  36. package/types/utils/OSSHelper.d.ts +0 -1
  37. package/dist/CommentTool-BZ9ogHU8.mjs +0 -332
  38. package/dist/RoamTool-DoBQd-zO.mjs +0 -208
  39. package/dist/SectionTool-ymkefKsi.mjs +0 -605
  40. package/dist/SettingTool-DXJs601P.mjs +0 -546
  41. package/dist/el-input-BGcq5mEN.mjs +0 -845
  42. package/dist/index-D3YjezbJ.mjs +0 -94475
package/README.md CHANGED
@@ -1 +1,3 @@
1
- # @xtctwins/tctwins-bimx-engine
1
+ # @xtctwins/tctwins-bimx-engine
2
+
3
+ # mode: dev
@@ -1,11 +1,11 @@
1
- import { a1 as y, p as S, q as u, O as e, s as M, x } from "./index-D3YjezbJ.mjs";
2
- import { defineComponent as E, ref as v, onMounted as N, watch as W, openBlock as a, createElementBlock as s, unref as c, createElementVNode as t, Fragment as g, renderList as b, normalizeClass as w, createCommentVNode as X, createVNode as L, withCtx as O, toDisplayString as q, pushScopeId as D, popScopeId as H } from "vue";
3
- import { A as T } from "./const-NjnIwsEB.mjs";
4
- const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotation_component" }, F = {
1
+ import { p as d, q as S, O as e, s as y, v as x } from "./index-C0G061KF.mjs";
2
+ import { defineComponent as E, ref as p, onMounted as N, watch as W, openBlock as a, createElementBlock as s, unref as c, createElementVNode as t, Fragment as g, renderList as b, normalizeClass as w, createCommentVNode as X, createVNode as L, withCtx as O, toDisplayString as q, pushScopeId as D, popScopeId as H } from "vue";
3
+ import { A as T } from "./const-CbUmfuHy.mjs";
4
+ const f = (l) => (D("data-v-4f475052"), l = l(), H(), l), z = { class: "annotation_component" }, F = {
5
5
  key: 0,
6
- class: "annotation_toolbar",
7
- id: "annotation_toolbar"
8
- }, R = { class: "annotation_toolbar_wrapper" }, U = { class: "annotation_toolbar_group" }, j = ["onClick", "id"], G = ["src"], J = /* @__PURE__ */ f(() => /* @__PURE__ */ t("div", { class: "toolbar_trangle" }, null, -1)), K = {
6
+ id: "annotation_toolbar",
7
+ class: "annotation_toolbar"
8
+ }, R = { class: "annotation_toolbar_wrapper" }, U = { class: "annotation_toolbar_group" }, j = ["id", "onClick"], G = ["src"], J = /* @__PURE__ */ f(() => /* @__PURE__ */ t("div", { class: "toolbar_trangle" }, null, -1)), K = {
9
9
  key: 1,
10
10
  class: "mobile_annotation_toolbar"
11
11
  }, P = /* @__PURE__ */ f(() => /* @__PURE__ */ t("div", { class: "label-title-box" }, [
@@ -18,16 +18,16 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
18
18
  const h = A, r = (n) => {
19
19
  h("emitHandler", n);
20
20
  };
21
- let d;
22
- const i = v("");
21
+ let u;
22
+ const i = p("");
23
23
  let _;
24
- const I = v();
24
+ const B = p(), I = l;
25
25
  N(() => {
26
- I.value = y();
27
- }), W(l, (n) => {
26
+ B.value = d("annoLimit");
27
+ }), W(I, (n) => {
28
28
  n.componentInfo.isOpen ? window.BimViewer.SetAnnotationToolActive(!0) : window.BimViewer.SetAnnotationToolActive(!1);
29
29
  });
30
- let B = {
30
+ let V = {
31
31
  image: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
32
32
  file: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
33
33
  record: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
@@ -35,7 +35,7 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
35
35
  video: `${e}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
36
36
  };
37
37
  S.on("BimViewer", () => {
38
- d = window.BimViewer.annotationTool, d.setTypeImage(B), _ = window.BimViewer.eventTrigger, _.on("createAnnotation", (n) => {
38
+ u = window.BimViewer.annotationTool, u.setTypeImage(V), _ = window.BimViewer.eventTrigger, _.on("createAnnotation", (n) => {
39
39
  r({
40
40
  isTool: !0,
41
41
  event_target: "AnnotationTool",
@@ -53,7 +53,7 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
53
53
  targetAnno: n
54
54
  }
55
55
  });
56
- }), u() || _.on("requestDeleteMarker", (n) => {
56
+ }), d("isMobile") || _.on("requestDeleteMarker", (n) => {
57
57
  r({
58
58
  isTool: !0,
59
59
  event_target: "AnnotationTool",
@@ -65,12 +65,12 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
65
65
  });
66
66
  });
67
67
  });
68
- const p = (n) => {
69
- i.value === n.code ? i.value = "" : (k(n), i.value = n.code);
70
- }, V = (n) => {
71
- window.BimViewer.annotationTool.setEnabled(n);
68
+ const v = (n) => {
69
+ i.value === n.code ? i.value = "" : (C(n), i.value = n.code);
72
70
  }, k = (n) => {
73
- V(!0), window.BimViewer.annotationTool.setCurrentType(n.code), r({
71
+ window.BimViewer.annotationTool.setEnabled(n);
72
+ }, C = (n) => {
73
+ k(!0), window.BimViewer.annotationTool.setCurrentType(n.code), r({
74
74
  isTool: !0,
75
75
  event_target: "AnnotationTool",
76
76
  event_name: "clickAnnoTool",
@@ -80,18 +80,18 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
80
80
  }
81
81
  });
82
82
  };
83
- return (n, sn) => {
84
- const C = M;
83
+ return (n, an) => {
84
+ const $ = y;
85
85
  return a(), s("div", z, [
86
- c(u)() ? (a(), s("div", K, [
86
+ c(d)("isMobile") ? (a(), s("div", K, [
87
87
  P,
88
- L(C, null, {
88
+ L($, null, {
89
89
  default: O(() => [
90
90
  t("div", Q, [
91
91
  (a(!0), s(g, null, b(c(T), (o, m) => (a(), s("div", {
92
92
  key: m,
93
93
  class: w(["label-item", { "label-item-active": i.value === o.code }]),
94
- onClick: ($) => p(o)
94
+ onClick: (M) => v(o)
95
95
  }, [
96
96
  t("div", Z, [
97
97
  t("img", {
@@ -115,15 +115,16 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
115
115
  t("div", R, [
116
116
  t("div", U, [
117
117
  (a(!0), s(g, null, b(c(T), (o, m) => (a(), s("button", {
118
- onClick: ($) => p(o),
118
+ id: `annotation_tool_btn_${m}`,
119
+ key: m,
119
120
  class: w(["annotation_tool_btn", { active: i.value === o.code }]),
120
- id: `annotation_tool_btn_${m}`
121
+ onClick: (M) => v(o)
121
122
  }, [
122
123
  X("", !0),
123
124
  t("img", {
124
125
  src: `${c(e)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${i.value !== o.code ? o.img : o.img_active}.png`
125
126
  }, null, 8, G)
126
- ], 10, j))), 256))
127
+ ], 10, j))), 128))
127
128
  ])
128
129
  ]),
129
130
  J
@@ -131,7 +132,7 @@ const f = (l) => (D("data-v-5015747d"), l = l(), H(), l), z = { class: "annotati
131
132
  ]);
132
133
  };
133
134
  }
134
- }), _n = /* @__PURE__ */ x(en, [["__scopeId", "data-v-5015747d"]]);
135
+ }), rn = /* @__PURE__ */ x(en, [["__scopeId", "data-v-4f475052"]]);
135
136
  export {
136
- _n as default
137
+ rn as default
137
138
  };
@@ -1,8 +1,8 @@
1
- import { ap as s, y as e, aq as r, as as I, ar as n } from "./index-D3YjezbJ.mjs";
1
+ import { al as s, x as e, am as n, ao as o, an as I } from "./index-C0G061KF.mjs";
2
2
  export {
3
3
  s as BIMXViewer,
4
4
  e as BIMX_CONFIGS,
5
- r as InitialViewer,
6
- I as InitializeConfigs,
7
- n as setConfigs
5
+ n as InitialViewer,
6
+ o as InitializeConfigs,
7
+ I as setConfigs
8
8
  };