@xtctwins/tctwins-bimx-engine 0.1.21 → 0.1.22

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 (36) hide show
  1. package/dist/{AnnotationTool-BvFG1vTX.mjs → AnnotationTool-CgiAUuLM.mjs} +12 -12
  2. package/dist/BIMX_Viewer_Lib.es.js +4 -4
  3. package/dist/BIMX_Viewer_Lib.umd.js +86 -91
  4. package/dist/CommentTool-BeT1ECI-.mjs +338 -0
  5. package/dist/HiddenTool-qqISJ_uV.mjs +58 -0
  6. package/dist/InspectorTool-CLPjV6WW.mjs +609 -0
  7. package/dist/MeasureTool-Be-rmUeb.mjs +1540 -0
  8. package/dist/{NavigateTool-CCIb1X4u.mjs → NavigateTool-C-VsKB0k.mjs} +7 -7
  9. package/dist/{RoamTool-B1w0efz8.mjs → RoamTool-DdHBNeVg.mjs} +20 -20
  10. package/dist/{ScreenShotTool-BviRVFSg.mjs → ScreenShotTool-Da7D2dkW.mjs} +67 -67
  11. package/dist/SectionTool-CHcmUQul.mjs +624 -0
  12. package/dist/SettingTool-CkR1F4x_.mjs +525 -0
  13. package/dist/StructureTree-DBu9xTue.mjs +1438 -0
  14. package/dist/{debounce-Cg3LHv0T.mjs → debounce-DLzt_q3i.mjs} +13 -13
  15. package/dist/{el-checkbox-lp8vWAXQ.mjs → el-checkbox-DsUGOsl_.mjs} +46 -46
  16. package/dist/{el-input-Bwqgf3wZ.mjs → el-input-UdjCNTtW.mjs} +66 -68
  17. package/dist/{el-input-number-0OWyX276.mjs → el-input-number-ySU-dVGM.mjs} +75 -75
  18. package/dist/{index-CQ8depiU.mjs → index-BfLgpvcd.mjs} +3 -3
  19. package/dist/{index-CYEu_kT4.mjs → index-DQKkZiNH.mjs} +1 -1
  20. package/dist/{index-DX-eYsBm.mjs → index-DyFDTMAw.mjs} +1795 -1794
  21. package/dist/{isEqual-Bg-tyY30.mjs → isEqual-BWlMaoTp.mjs} +9 -9
  22. package/dist/panel.vue_vue_type_style_index_0_lang-ZCDiwNFo.mjs +96 -0
  23. package/dist/style.css +1 -1
  24. package/dist/tallPanel-Cz_n6AsB.mjs +49 -0
  25. package/package.json +1 -1
  26. package/types/components/utilsComponents/tallPanel.vue.d.ts +41 -0
  27. package/types/services/fileApi/fileManager.d.ts +5 -5
  28. package/types/store/themeManager.d.ts +1 -1
  29. package/dist/CommentTool-B6ruuuGV.mjs +0 -338
  30. package/dist/HiddenTool-DW-lRdW5.mjs +0 -58
  31. package/dist/InspectorTool-Cc288ySp.mjs +0 -515
  32. package/dist/MeasureTool-DdfM3U_3.mjs +0 -1542
  33. package/dist/SectionTool-jSjWX32j.mjs +0 -630
  34. package/dist/SettingTool-CVMZAx2H.mjs +0 -536
  35. package/dist/StructureTree-4OCdRRPG.mjs +0 -2672
  36. package/dist/panel.vue_vue_type_style_index_0_scope_true_lang-BfE1I0S9.mjs +0 -82
@@ -1,4 +1,4 @@
1
- import { aj as L, A as v, a3 as M } from "./index-DX-eYsBm.mjs";
1
+ import { ah as L, p as v, a1 as M } from "./index-DyFDTMAw.mjs";
2
2
  var N = /\s/;
3
3
  function B(n) {
4
4
  for (var r = n.length; r-- && N.test(n.charAt(r)); )
@@ -9,7 +9,7 @@ var R = /^\s+/;
9
9
  function $(n) {
10
10
  return n && n.slice(0, B(n) + 1).replace(R, "");
11
11
  }
12
- var k = NaN, j = /^[-+]0x[0-9a-f]+$/i, F = /^0b[01]+$/i, _ = /^0o[0-7]+$/i, D = parseInt;
12
+ var k = NaN, F = /^[-+]0x[0-9a-f]+$/i, _ = /^0b[01]+$/i, j = /^0o[0-7]+$/i, D = parseInt;
13
13
  function S(n) {
14
14
  if (typeof n == "number")
15
15
  return n;
@@ -22,10 +22,10 @@ function S(n) {
22
22
  if (typeof n != "string")
23
23
  return n === 0 ? n : +n;
24
24
  n = $(n);
25
- var t = F.test(n);
26
- return t || _.test(n) ? D(n.slice(2), t ? 2 : 8) : j.test(n) ? k : +n;
25
+ var t = _.test(n);
26
+ return t || j.test(n) ? D(n.slice(2), t ? 2 : 8) : F.test(n) ? k : +n;
27
27
  }
28
- var h = function() {
28
+ var I = function() {
29
29
  return M.Date.now();
30
30
  }, H = "Expected a function", P = Math.max, U = Math.min;
31
31
  function q(n, r, t) {
@@ -40,7 +40,7 @@ function q(n, r, t) {
40
40
  function W(e) {
41
41
  return d = e, i = setTimeout(g, r), p ? x(e) : s;
42
42
  }
43
- function A(e) {
43
+ function O(e) {
44
44
  var a = e - f, m = e - d, E = r - a;
45
45
  return o ? U(E, l - m) : E;
46
46
  }
@@ -49,22 +49,22 @@ function q(n, r, t) {
49
49
  return f === void 0 || a >= r || a < 0 || o && m >= l;
50
50
  }
51
51
  function g() {
52
- var e = h();
52
+ var e = I();
53
53
  if (y(e))
54
54
  return b(e);
55
- i = setTimeout(g, A(e));
55
+ i = setTimeout(g, O(e));
56
56
  }
57
57
  function b(e) {
58
58
  return i = void 0, T && u ? x(e) : (u = c = void 0, s);
59
59
  }
60
- function O() {
60
+ function A() {
61
61
  i !== void 0 && clearTimeout(i), d = 0, u = f = c = i = void 0;
62
62
  }
63
63
  function C() {
64
- return i === void 0 ? s : b(h());
64
+ return i === void 0 ? s : b(I());
65
65
  }
66
- function I() {
67
- var e = h(), a = y(e);
66
+ function h() {
67
+ var e = I(), a = y(e);
68
68
  if (u = arguments, c = this, f = e, a) {
69
69
  if (i === void 0)
70
70
  return W(f);
@@ -73,7 +73,7 @@ function q(n, r, t) {
73
73
  }
74
74
  return i === void 0 && (i = setTimeout(g, r)), s;
75
75
  }
76
- return I.cancel = O, I.flush = C, I;
76
+ return h.cancel = A, h.flush = C, h;
77
77
  }
78
78
  export {
79
79
  q as d
@@ -1,8 +1,8 @@
1
- import { inject as F, computed as h, getCurrentInstance as Q, watch as X, nextTick as Z, ref as U, toRaw as q, defineComponent as L, useSlots as ee, openBlock as C, createBlock as le, resolveDynamicComponent as ae, unref as n, normalizeClass as g, withCtx as ne, createElementVNode as W, withDirectives as N, createElementBlock as V, isRef as $, withModifiers as z, vModelCheckbox as G, renderSlot as j, Fragment as he, createTextVNode as te, toDisplayString as oe, createCommentVNode as P, normalizeStyle as ke, provide as pe, toRefs as ge } from "vue";
2
- import { h as ue, U as w, j as Ce, f as A, u as Y, g as se } from "./el-input-Bwqgf3wZ.mjs";
3
- import { S as ie, f as H, c as J, Y as T, M, l as re, L as _, j as O, g as xe, u as R, _ as K, a as Ve, d as ye, a1 as Se, w as Le, V as ce } from "./index-DX-eYsBm.mjs";
4
- import { i as Be } from "./isEqual-Bg-tyY30.mjs";
5
- import { u as D } from "./index-CYEu_kT4.mjs";
1
+ import { inject as _, computed as h, getCurrentInstance as X, watch as Y, nextTick as Z, ref as D, toRaw as q, defineComponent as L, useSlots as ee, openBlock as C, createBlock as le, resolveDynamicComponent as ae, unref as n, normalizeClass as g, withCtx as ne, createElementVNode as W, withDirectives as N, createElementBlock as V, isRef as $, withModifiers as z, vModelCheckbox as G, renderSlot as A, Fragment as he, createTextVNode as te, toDisplayString as oe, createCommentVNode as P, normalizeStyle as ke, provide as pe, toRefs as ge } from "vue";
2
+ import { g as ue, U, h as Ce, e as K, u as H, f as se } from "./el-input-UdjCNTtW.mjs";
3
+ import { N as ie, e as J, I as Q, U as T, G as O, d as re, F, a as R, i as xe, u as M, _ as j, z as Ve, K as ye, $ as Se, w as Le, R as ce } from "./index-DyFDTMAw.mjs";
4
+ import { i as Be } from "./isEqual-BWlMaoTp.mjs";
5
+ import { u as w } from "./index-DQKkZiNH.mjs";
6
6
  const de = {
7
7
  modelValue: {
8
8
  type: [Number, String, Boolean],
@@ -52,16 +52,16 @@ const de = {
52
52
  },
53
53
  ...ie(["ariaControls"])
54
54
  }, be = {
55
- [w]: (e) => H(e) || J(e) || T(e),
56
- change: (e) => H(e) || J(e) || T(e)
55
+ [U]: (e) => J(e) || Q(e) || T(e),
56
+ change: (e) => J(e) || Q(e) || T(e)
57
57
  }, B = Symbol("checkboxGroupContextKey"), Ee = ({
58
58
  model: e,
59
59
  isChecked: c
60
60
  }) => {
61
- const i = F(B, void 0), a = h(() => {
61
+ const i = _(B, void 0), a = h(() => {
62
62
  var r, d;
63
63
  const t = (r = i == null ? void 0 : i.max) == null ? void 0 : r.value, v = (d = i == null ? void 0 : i.min) == null ? void 0 : d.value;
64
- return !M(t) && e.value.length >= t && !c.value || !M(v) && e.value.length <= v && c.value;
64
+ return !O(t) && e.value.length >= t && !c.value || !O(v) && e.value.length <= v && c.value;
65
65
  });
66
66
  return {
67
67
  isDisabled: Ce(h(() => (i == null ? void 0 : i.disabled.value) || a.value)),
@@ -74,7 +74,7 @@ const de = {
74
74
  isDisabled: b,
75
75
  isLabeledByFormItem: r
76
76
  }) => {
77
- const d = F(B, void 0), { formItem: t } = A(), { emit: v } = Q();
77
+ const d = _(B, void 0), { formItem: t } = K(), { emit: v } = X();
78
78
  function s(l) {
79
79
  var k, p, u, f;
80
80
  return [!0, e.trueValue, e.trueLabel].includes(l) ? (p = (k = e.trueValue) != null ? k : e.trueLabel) != null ? p : !0 : (f = (u = e.falseValue) != null ? u : e.falseLabel) != null ? f : !1;
@@ -92,21 +92,21 @@ const de = {
92
92
  i.value || !a.value && !b.value && r.value && (l.composedPath().some((u) => u.tagName === "LABEL") || (c.value = s([!1, e.falseValue, e.falseLabel].includes(c.value)), await Z(), o(c.value, l)));
93
93
  }
94
94
  const y = h(() => (d == null ? void 0 : d.validateEvent) || e.validateEvent);
95
- return X(() => e.modelValue, () => {
95
+ return Y(() => e.modelValue, () => {
96
96
  y.value && (t == null || t.validate("change").catch((l) => re(l)));
97
97
  }), {
98
98
  handleChange: m,
99
99
  onClickRoot: x
100
100
  };
101
- }, _e = (e) => {
102
- const c = U(!1), { emit: i } = Q(), a = F(B, void 0), b = h(() => M(a) === !1), r = U(!1), d = h({
101
+ }, Fe = (e) => {
102
+ const c = D(!1), { emit: i } = X(), a = _(B, void 0), b = h(() => O(a) === !1), r = D(!1), d = h({
103
103
  get() {
104
104
  var t, v;
105
105
  return b.value ? (t = a == null ? void 0 : a.modelValue) == null ? void 0 : t.value : (v = e.modelValue) != null ? v : c.value;
106
106
  },
107
107
  set(t) {
108
108
  var v, s;
109
- b.value && _(t) ? (r.value = ((v = a == null ? void 0 : a.max) == null ? void 0 : v.value) !== void 0 && t.length > (a == null ? void 0 : a.max.value) && t.length > d.value.length, r.value === !1 && ((s = a == null ? void 0 : a.changeEvent) == null || s.call(a, t))) : (i(w, t), c.value = t);
109
+ b.value && F(t) ? (r.value = ((v = a == null ? void 0 : a.max) == null ? void 0 : v.value) !== void 0 && t.length > (a == null ? void 0 : a.max.value) && t.length > d.value.length, r.value === !1 && ((s = a == null ? void 0 : a.changeEvent) == null || s.call(a, t))) : (i(U, t), c.value = t);
110
110
  }
111
111
  });
112
112
  return {
@@ -114,19 +114,19 @@ const de = {
114
114
  isGroup: b,
115
115
  isLimitExceeded: r
116
116
  };
117
- }, Fe = (e, c, { model: i }) => {
118
- const a = F(B, void 0), b = U(!1), r = h(() => O(e.value) ? e.label : e.value), d = h(() => {
117
+ }, _e = (e, c, { model: i }) => {
118
+ const a = _(B, void 0), b = D(!1), r = h(() => R(e.value) ? e.label : e.value), d = h(() => {
119
119
  const o = i.value;
120
- return T(o) ? o : _(o) ? xe(r.value) ? o.map(q).some((m) => Be(m, r.value)) : o.map(q).includes(r.value) : o != null ? o === e.trueValue || o === e.trueLabel : !!o;
121
- }), t = Y(h(() => {
120
+ return T(o) ? o : F(o) ? xe(r.value) ? o.map(q).some((m) => Be(m, r.value)) : o.map(q).includes(r.value) : o != null ? o === e.trueValue || o === e.trueLabel : !!o;
121
+ }), t = H(h(() => {
122
122
  var o;
123
123
  return (o = a == null ? void 0 : a.size) == null ? void 0 : o.value;
124
124
  }), {
125
125
  prop: !0
126
- }), v = Y(h(() => {
126
+ }), v = H(h(() => {
127
127
  var o;
128
128
  return (o = a == null ? void 0 : a.size) == null ? void 0 : o.value;
129
- })), s = h(() => !!c.default || !O(r.value));
129
+ })), s = h(() => !!c.default || !R(r.value));
130
130
  return {
131
131
  checkboxButtonSize: t,
132
132
  isChecked: d,
@@ -136,14 +136,14 @@ const de = {
136
136
  actualValue: r
137
137
  };
138
138
  }, ve = (e, c) => {
139
- const { formItem: i } = A(), { model: a, isGroup: b, isLimitExceeded: r } = _e(e), {
139
+ const { formItem: i } = K(), { model: a, isGroup: b, isLimitExceeded: r } = Fe(e), {
140
140
  isFocused: d,
141
141
  isChecked: t,
142
142
  checkboxButtonSize: v,
143
143
  checkboxSize: s,
144
144
  hasOwnLabel: o,
145
145
  actualValue: m
146
- } = Fe(e, c, { model: a }), { isDisabled: x } = Ee({ model: a, isChecked: t }), { inputId: y, isLabeledByFormItem: l } = se(e, {
146
+ } = _e(e, c, { model: a }), { isDisabled: x } = Ee({ model: a, isChecked: t }), { inputId: y, isLabeledByFormItem: l } = se(e, {
147
147
  formItemContext: i,
148
148
  disableIdGeneration: o,
149
149
  disableIdManagement: b
@@ -157,22 +157,22 @@ const de = {
157
157
  return (() => {
158
158
  function f() {
159
159
  var E, I;
160
- _(a.value) && !a.value.includes(m.value) ? a.value.push(m.value) : a.value = (I = (E = e.trueValue) != null ? E : e.trueLabel) != null ? I : !0;
160
+ F(a.value) && !a.value.includes(m.value) ? a.value.push(m.value) : a.value = (I = (E = e.trueValue) != null ? E : e.trueLabel) != null ? I : !0;
161
161
  }
162
162
  e.checked && f();
163
- })(), D({
163
+ })(), w({
164
164
  from: "label act as value",
165
165
  replacement: "value",
166
166
  version: "3.0.0",
167
167
  scope: "el-checkbox",
168
168
  ref: "https://element-plus.org/en-US/component/checkbox.html"
169
- }, h(() => b.value && O(e.value))), D({
169
+ }, h(() => b.value && R(e.value))), w({
170
170
  from: "true-label",
171
171
  replacement: "true-value",
172
172
  version: "3.0.0",
173
173
  scope: "el-checkbox",
174
174
  ref: "https://element-plus.org/en-US/component/checkbox.html"
175
- }, h(() => !!e.trueLabel)), D({
175
+ }, h(() => !!e.trueLabel)), w({
176
176
  from: "false-label",
177
177
  replacement: "false-value",
178
178
  version: "3.0.0",
@@ -211,7 +211,7 @@ const de = {
211
211
  actualValue: m,
212
212
  handleChange: x,
213
213
  onClickRoot: y
214
- } = ve(c, i), l = R("checkbox"), k = h(() => [
214
+ } = ve(c, i), l = M("checkbox"), k = h(() => [
215
215
  l.b(),
216
216
  l.m(v.value),
217
217
  l.is("disabled", d.value),
@@ -281,7 +281,7 @@ const de = {
281
281
  key: 0,
282
282
  class: g(n(l).e("label"))
283
283
  }, [
284
- j(u.$slots, "default"),
284
+ A(u.$slots, "default"),
285
285
  u.$slots.default ? P("v-if", !0) : (C(), V(he, { key: 0 }, [
286
286
  te(oe(u.label), 1)
287
287
  ], 64))
@@ -292,10 +292,10 @@ const de = {
292
292
  }, 8, ["class", "aria-controls", "onClick"]));
293
293
  }
294
294
  });
295
- var ze = /* @__PURE__ */ K($e, [["__file", "checkbox.vue"]]);
295
+ var ze = /* @__PURE__ */ j($e, [["__file", "checkbox.vue"]]);
296
296
  const Ge = L({
297
297
  name: "ElCheckboxButton"
298
- }), we = /* @__PURE__ */ L({
298
+ }), Ue = /* @__PURE__ */ L({
299
299
  ...Ge,
300
300
  props: de,
301
301
  emits: be,
@@ -308,7 +308,7 @@ const Ge = L({
308
308
  model: t,
309
309
  actualValue: v,
310
310
  handleChange: s
311
- } = ve(c, i), o = F(B, void 0), m = R("checkbox"), x = h(() => {
311
+ } = ve(c, i), o = _(B, void 0), m = M("checkbox"), x = h(() => {
312
312
  var l, k, p, u;
313
313
  const f = (k = (l = o == null ? void 0 : o.fill) == null ? void 0 : l.value) != null ? k : "";
314
314
  return {
@@ -368,7 +368,7 @@ const Ge = L({
368
368
  class: g(n(m).be("button", "inner")),
369
369
  style: ke(n(b) ? n(x) : void 0)
370
370
  }, [
371
- j(l.$slots, "default", {}, () => [
371
+ A(l.$slots, "default", {}, () => [
372
372
  te(oe(l.label), 1)
373
373
  ])
374
374
  ], 6)) : P("v-if", !0)
@@ -376,8 +376,8 @@ const Ge = L({
376
376
  };
377
377
  }
378
378
  });
379
- var me = /* @__PURE__ */ K(we, [["__file", "checkbox-button.vue"]]);
380
- const De = Ve({
379
+ var me = /* @__PURE__ */ j(Ue, [["__file", "checkbox-button.vue"]]);
380
+ const we = Ve({
381
381
  modelValue: {
382
382
  type: ye(Array),
383
383
  default: () => []
@@ -397,20 +397,20 @@ const De = Ve({
397
397
  default: !0
398
398
  },
399
399
  ...ie(["ariaLabel"])
400
- }), Ue = {
401
- [w]: (e) => _(e),
402
- change: (e) => _(e)
400
+ }), De = {
401
+ [U]: (e) => F(e),
402
+ change: (e) => F(e)
403
403
  }, Pe = L({
404
404
  name: "ElCheckboxGroup"
405
405
  }), Te = /* @__PURE__ */ L({
406
406
  ...Pe,
407
- props: De,
408
- emits: Ue,
407
+ props: we,
408
+ emits: De,
409
409
  setup(e, { emit: c }) {
410
- const i = e, a = R("checkbox"), { formItem: b } = A(), { inputId: r, isLabeledByFormItem: d } = se(i, {
410
+ const i = e, a = M("checkbox"), { formItem: b } = K(), { inputId: r, isLabeledByFormItem: d } = se(i, {
411
411
  formItemContext: b
412
412
  }), t = async (s) => {
413
- c(w, s), await Z(), c("change", s);
413
+ c(U, s), await Z(), c("change", s);
414
414
  }, v = h({
415
415
  get() {
416
416
  return i.modelValue;
@@ -431,7 +431,7 @@ const De = Ve({
431
431
  ]),
432
432
  modelValue: v,
433
433
  changeEvent: t
434
- }), X(() => i.modelValue, () => {
434
+ }), Y(() => i.modelValue, () => {
435
435
  i.validateEvent && (b == null || b.validate("change").catch((s) => re(s)));
436
436
  }), (s, o) => {
437
437
  var m;
@@ -443,21 +443,21 @@ const De = Ve({
443
443
  "aria-labelledby": n(d) ? (m = n(b)) == null ? void 0 : m.labelId : void 0
444
444
  }, {
445
445
  default: ne(() => [
446
- j(s.$slots, "default")
446
+ A(s.$slots, "default")
447
447
  ]),
448
448
  _: 3
449
449
  }, 8, ["id", "class", "aria-label", "aria-labelledby"]);
450
450
  };
451
451
  }
452
452
  });
453
- var fe = /* @__PURE__ */ K(Te, [["__file", "checkbox-group.vue"]]);
454
- const Ke = Le(ze, {
453
+ var fe = /* @__PURE__ */ j(Te, [["__file", "checkbox-group.vue"]]);
454
+ const je = Le(ze, {
455
455
  CheckboxButton: me,
456
456
  CheckboxGroup: fe
457
457
  });
458
458
  ce(me);
459
459
  const qe = ce(fe);
460
460
  export {
461
- Ke as E,
461
+ je as E,
462
462
  qe as a
463
463
  };