@xtctwins/tctwins-bimx-engine 0.1.21 → 0.1.23

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 (38) hide show
  1. package/dist/{AnnotationTool-BvFG1vTX.mjs → AnnotationTool-DojqlWub.mjs} +12 -12
  2. package/dist/BIMX_Viewer_Lib.es.js +4 -4
  3. package/dist/BIMX_Viewer_Lib.umd.js +89 -94
  4. package/dist/CommentTool-CR9lVrzW.mjs +338 -0
  5. package/dist/HiddenTool-Wi-kOd2H.mjs +58 -0
  6. package/dist/InspectorTool-DIayiHOO.mjs +625 -0
  7. package/dist/MeasureTool-CHZ67WhG.mjs +1540 -0
  8. package/dist/{NavigateTool-CCIb1X4u.mjs → NavigateTool-CQoj_On8.mjs} +7 -7
  9. package/dist/{RoamTool-B1w0efz8.mjs → RoamTool-C3CV1E9g.mjs} +20 -20
  10. package/dist/{ScreenShotTool-BviRVFSg.mjs → ScreenShotTool-BIIBp4eQ.mjs} +67 -67
  11. package/dist/SectionTool-CihpG2Fy.mjs +624 -0
  12. package/dist/SettingTool-nEoxPwEr.mjs +525 -0
  13. package/dist/StructureTree-CJH8jkPI.mjs +1427 -0
  14. package/dist/{debounce-Cg3LHv0T.mjs → debounce-BjnjVRfm.mjs} +13 -13
  15. package/dist/{el-checkbox-lp8vWAXQ.mjs → el-checkbox-CSuEX00S.mjs} +46 -46
  16. package/dist/{el-input-Bwqgf3wZ.mjs → el-input-Bm753NUP.mjs} +66 -68
  17. package/dist/{el-input-number-0OWyX276.mjs → el-input-number-BvvuoubO.mjs} +75 -75
  18. package/dist/{index-DX-eYsBm.mjs → index-BlDGbvS0.mjs} +2885 -2877
  19. package/dist/{index-CQ8depiU.mjs → index-BognDb0Q.mjs} +3 -3
  20. package/dist/{index-CYEu_kT4.mjs → index-CtoOocrY.mjs} +1 -1
  21. package/dist/{isEqual-Bg-tyY30.mjs → isEqual-BULlB8Co.mjs} +9 -9
  22. package/dist/panel.vue_vue_type_style_index_0_lang-tTB1oDNs.mjs +97 -0
  23. package/dist/style.css +1 -1
  24. package/dist/tallPanel-CmlMVBG1.mjs +49 -0
  25. package/package.json +2 -2
  26. package/types/components/utilsComponents/tallPanel.vue.d.ts +41 -0
  27. package/types/pages/BIMXViewer.vue.d.ts +2 -0
  28. package/types/services/fileApi/fileManager.d.ts +5 -5
  29. package/types/store/initConfigs.d.ts +1 -1
  30. package/types/store/themeManager.d.ts +2 -1
  31. package/dist/CommentTool-B6ruuuGV.mjs +0 -338
  32. package/dist/HiddenTool-DW-lRdW5.mjs +0 -58
  33. package/dist/InspectorTool-Cc288ySp.mjs +0 -515
  34. package/dist/MeasureTool-DdfM3U_3.mjs +0 -1542
  35. package/dist/SectionTool-jSjWX32j.mjs +0 -630
  36. package/dist/SettingTool-CVMZAx2H.mjs +0 -536
  37. package/dist/StructureTree-4OCdRRPG.mjs +0 -2672
  38. package/dist/panel.vue_vue_type_style_index_0_scope_true_lang-BfE1I0S9.mjs +0 -82
@@ -1,5 +1,5 @@
1
1
  import { inject as c, ref as l, computed as s, unref as i, isRef as d } from "vue";
2
- import { G as u } from "./index-DX-eYsBm.mjs";
2
+ import { v as u } from "./index-BlDGbvS0.mjs";
3
3
  function m(e, t, a) {
4
4
  var o = e == null ? void 0 : u(e, t);
5
5
  return o === void 0 ? a : o;
@@ -193,11 +193,11 @@ const h = (e) => (t, a) => g(t, a, i(e)), g = (e, t, a) => m(a, e, e).replace(/\
193
193
  locale: a,
194
194
  t: h(e)
195
195
  };
196
- }, b = Symbol("localeContextKey"), v = (e) => {
196
+ }, b = Symbol("localeContextKey"), w = (e) => {
197
197
  const t = c(b, l());
198
198
  return f(s(() => t.value || p));
199
199
  };
200
200
  export {
201
201
  m as g,
202
- v as u
202
+ w as u
203
203
  };
@@ -1,5 +1,5 @@
1
1
  import { watch as m, unref as p } from "vue";
2
- import { l as u } from "./index-DX-eYsBm.mjs";
2
+ import { d as u } from "./index-BlDGbvS0.mjs";
3
3
  const c = ({ from: e, replacement: t, scope: r, version: a, ref: i, type: o = "API" }, s) => {
4
4
  m(() => p(s), (d) => {
5
5
  d && u(r, `[${o}] ${e} is about to be deprecated in version ${a}, please use ${t} instead.
@@ -1,4 +1,4 @@
1
- import { a2 as L, a3 as O, a4 as se, a5 as ce, a6 as R, a7 as F, a8 as de, a9 as ye, aa as ve, z as x, ab as N, ac as E, ad as fe, ae as _e, af as h, ag as K, ah as Te } from "./index-DX-eYsBm.mjs";
1
+ import { a0 as L, a1 as O, a2 as se, a3 as ce, a4 as R, a5 as F, a6 as de, a7 as ye, a8 as ve, o as x, a9 as N, aa as E, ab as fe, ac as _e, ad as P, ae as K, af as Te } from "./index-BlDGbvS0.mjs";
2
2
  var C = L(O, "WeakMap");
3
3
  function be(e) {
4
4
  return e != null && se(e.length) && !ce(e);
@@ -13,10 +13,10 @@ function Oe(e, r) {
13
13
  a[t] = r(t);
14
14
  return a;
15
15
  }
16
- function he() {
16
+ function Pe() {
17
17
  return !1;
18
18
  }
19
- var oe = typeof exports == "object" && exports && !exports.nodeType && exports, q = oe && typeof module == "object" && module && !module.nodeType && module, Pe = q && q.exports === oe, z = Pe ? O.Buffer : void 0, $e = z ? z.isBuffer : void 0, D = $e || he, Se = "[object Arguments]", je = "[object Array]", xe = "[object Boolean]", Ee = "[object Date]", me = "[object Error]", Le = "[object Function]", Ie = "[object Map]", Me = "[object Number]", Re = "[object Object]", Ce = "[object RegExp]", De = "[object Set]", Be = "[object String]", Ge = "[object WeakMap]", Ue = "[object ArrayBuffer]", Fe = "[object DataView]", Ne = "[object Float32Array]", He = "[object Float64Array]", Ke = "[object Int8Array]", qe = "[object Int16Array]", ze = "[object Int32Array]", We = "[object Uint8Array]", Ye = "[object Uint8ClampedArray]", Ze = "[object Uint16Array]", Je = "[object Uint32Array]", i = {};
19
+ var oe = typeof exports == "object" && exports && !exports.nodeType && exports, q = oe && typeof module == "object" && module && !module.nodeType && module, he = q && q.exports === oe, z = he ? O.Buffer : void 0, $e = z ? z.isBuffer : void 0, D = $e || Pe, Se = "[object Arguments]", je = "[object Array]", xe = "[object Boolean]", Ee = "[object Date]", me = "[object Error]", Le = "[object Function]", Ie = "[object Map]", Me = "[object Number]", Re = "[object Object]", Ce = "[object RegExp]", De = "[object Set]", Be = "[object String]", Ge = "[object WeakMap]", Ue = "[object ArrayBuffer]", Fe = "[object DataView]", Ne = "[object Float32Array]", He = "[object Float64Array]", Ke = "[object Int8Array]", qe = "[object Int16Array]", ze = "[object Int32Array]", We = "[object Uint8Array]", Ye = "[object Uint8ClampedArray]", Ze = "[object Uint16Array]", Je = "[object Uint32Array]", i = {};
20
20
  i[Ne] = i[He] = i[Ke] = i[qe] = i[ze] = i[We] = i[Ye] = i[Ze] = i[Je] = !0;
21
21
  i[Se] = i[je] = i[Ue] = i[xe] = i[Fe] = i[Ee] = i[me] = i[Le] = i[Ie] = i[Me] = i[Re] = i[Ce] = i[De] = i[Be] = i[Ge] = !1;
22
22
  function Qe(e) {
@@ -27,9 +27,9 @@ function Xe(e) {
27
27
  return e(r);
28
28
  };
29
29
  }
30
- var ue = typeof exports == "object" && exports && !exports.nodeType && exports, P = ue && typeof module == "object" && module && !module.nodeType && module, Ve = P && P.exports === ue, I = Ve && de.process, W = function() {
30
+ var ue = typeof exports == "object" && exports && !exports.nodeType && exports, h = ue && typeof module == "object" && module && !module.nodeType && module, Ve = h && h.exports === ue, I = Ve && de.process, W = function() {
31
31
  try {
32
- var e = P && P.require && P.require("util").types;
32
+ var e = h && h.require && h.require("util").types;
33
33
  return e || I && I.binding && I.binding("util");
34
34
  } catch {
35
35
  }
@@ -116,18 +116,18 @@ function br(e, r, t) {
116
116
  function J(e) {
117
117
  return br(e, fr, Tr);
118
118
  }
119
- var B = L(O, "DataView"), G = L(O, "Promise"), U = L(O, "Set"), Q = "[object Map]", Ar = "[object Object]", X = "[object Promise]", V = "[object Set]", k = "[object WeakMap]", ee = "[object DataView]", wr = h(B), Or = h(E), hr = h(G), Pr = h(U), $r = h(C), T = F;
119
+ var B = L(O, "DataView"), G = L(O, "Promise"), U = L(O, "Set"), Q = "[object Map]", Ar = "[object Object]", X = "[object Promise]", V = "[object Set]", k = "[object WeakMap]", ee = "[object DataView]", wr = P(B), Or = P(E), Pr = P(G), hr = P(U), $r = P(C), T = F;
120
120
  (B && T(new B(new ArrayBuffer(1))) != ee || E && T(new E()) != Q || G && T(G.resolve()) != X || U && T(new U()) != V || C && T(new C()) != k) && (T = function(e) {
121
- var r = F(e), t = r == Ar ? e.constructor : void 0, a = t ? h(t) : "";
121
+ var r = F(e), t = r == Ar ? e.constructor : void 0, a = t ? P(t) : "";
122
122
  if (a)
123
123
  switch (a) {
124
124
  case wr:
125
125
  return ee;
126
126
  case Or:
127
127
  return Q;
128
- case hr:
129
- return X;
130
128
  case Pr:
129
+ return X;
130
+ case hr:
131
131
  return V;
132
132
  case $r:
133
133
  return k;
@@ -0,0 +1,97 @@
1
+ import { defineComponent as r, ref as c, onMounted as u, openBlock as p, createElementBlock as m, createElementVNode as t, unref as a, createBlock as f, withCtx as g, normalizeStyle as k, toDisplayString as w, createVNode as v, renderSlot as y } from "vue";
2
+ import { O as B, n as S, T as d } from "./index-BlDGbvS0.mjs";
3
+ import { ElDialog as $ } from "element-plus";
4
+ const b = { class: "close_wrapper" }, T = ["width", "height", "src"], V = /* @__PURE__ */ r({
5
+ __name: "closeButton",
6
+ props: {
7
+ width: {
8
+ type: Number,
9
+ default: 22
10
+ },
11
+ light: {
12
+ type: Boolean,
13
+ default: !1
14
+ },
15
+ dark: {
16
+ type: Boolean,
17
+ default: !1
18
+ },
19
+ clickHandle: {
20
+ type: Function,
21
+ default: () => {
22
+ }
23
+ }
24
+ },
25
+ setup(e) {
26
+ const o = e, l = c(!0);
27
+ return u(() => {
28
+ !o.dark && o.light && (l.value = !1);
29
+ }), (i, n) => (p(), m("div", b, [
30
+ t("img", {
31
+ width: e.width,
32
+ height: e.width,
33
+ class: "close_icon",
34
+ src: `${a(B)}/BIMX_Website/icon/${l.value ? "icon_close_1" : "icon_close"}.png`,
35
+ onClick: n[0] || (n[0] = (s) => e.clickHandle())
36
+ }, null, 8, T)
37
+ ]));
38
+ }
39
+ }), x = /* @__PURE__ */ S(V, [["__scopeId", "data-v-432ca115"]]), C = { class: "panel_top" }, H = { class: "panel_title" }, N = { class: "panel_close" }, E = { class: "panel_content" }, F = /* @__PURE__ */ r({
40
+ __name: "panel",
41
+ props: {
42
+ panelTitle: {
43
+ type: String,
44
+ default: ""
45
+ },
46
+ width: {
47
+ type: Number,
48
+ default: 240
49
+ },
50
+ clickHandle: {
51
+ type: Function,
52
+ default: () => {
53
+ }
54
+ }
55
+ },
56
+ setup(e) {
57
+ const l = c(e.width), i = c(!0);
58
+ return u(() => {
59
+ }), (n, s) => {
60
+ const h = x;
61
+ return p(), f(a($), {
62
+ class: "panel_dialog",
63
+ modelValue: i.value,
64
+ "onUpdate:modelValue": s[0] || (s[0] = (_) => i.value = _),
65
+ width: l.value,
66
+ draggable: ""
67
+ }, {
68
+ default: g(() => [
69
+ t("div", {
70
+ class: "panel_wrapper",
71
+ style: k({ width: e.width.toString() + "px" })
72
+ }, [
73
+ t("div", C, [
74
+ t("div", H, w(e.panelTitle), 1),
75
+ t("div", N, [
76
+ v(h, {
77
+ width: 18,
78
+ "click-handle": e.clickHandle,
79
+ light: a(d).currentTheme == "blue",
80
+ dark: a(d).currentTheme == "light-gray"
81
+ }, null, 8, ["click-handle", "light", "dark"])
82
+ ])
83
+ ]),
84
+ t("div", E, [
85
+ y(n.$slots, "default")
86
+ ])
87
+ ], 4)
88
+ ]),
89
+ _: 3
90
+ }, 8, ["modelValue", "width"]);
91
+ };
92
+ }
93
+ });
94
+ export {
95
+ F as _,
96
+ x as a
97
+ };