@bimdata/bcf-components 6.0.0-rc.10 → 6.0.0-rc.11

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.
@@ -1,5 +1,5 @@
1
1
  import "./style.css";
2
- import { reactive as Wt, computed as j, ref as S, watch as ie, openBlock as r, createElementBlock as p, normalizeClass as O, normalizeStyle as k, renderSlot as M, resolveComponent as f, createBlock as B, withCtx as h, createVNode as _, createElementVNode as u, mergeProps as Be, toDisplayString as g, createCommentVNode as C, pushScopeId as _e, popScopeId as fe, createTextVNode as A, resolveDirective as De, withDirectives as W, Transition as ne, Fragment as z, renderList as J, vShow as ee, resolveDynamicComponent as Me, toRaw as rt, withModifiers as P, withKeys as F, createSlots as Dt, createStaticVNode as Ct, inject as It, onMounted as Ye, onBeforeUnmount as wt } from "vue";
2
+ import { reactive as Wt, computed as j, ref as $, watch as ne, openBlock as r, createElementBlock as p, normalizeClass as S, normalizeStyle as T, renderSlot as x, resolveComponent as f, createBlock as B, withCtx as h, createVNode as _, createElementVNode as u, mergeProps as Be, toDisplayString as g, createCommentVNode as C, pushScopeId as _e, popScopeId as fe, createTextVNode as A, resolveDirective as De, withDirectives as W, Transition as oe, Fragment as z, renderList as J, vShow as ee, resolveDynamicComponent as Me, toRaw as rt, withModifiers as P, withKeys as F, createSlots as Dt, createStaticVNode as Ct, inject as It, onMounted as Ye, onBeforeUnmount as wt } from "vue";
3
3
  const Bt = Object.freeze([
4
4
  "Priority",
5
5
  "Type",
@@ -190,9 +190,9 @@ var ss = Ne.exports;
190
190
  }
191
191
  function d(y) {
192
192
  var D = y ? Object.keys(y) : [], b = -1, w = D.length;
193
- return function T() {
194
- var $ = D[++b];
195
- return $ === "__proto__" ? T() : b < w ? { value: y[$], key: $ } : null;
193
+ return function V() {
194
+ var M = D[++b];
195
+ return M === "__proto__" ? V() : b < w ? { value: y[M], key: M } : null;
196
196
  };
197
197
  }
198
198
  function m(y) {
@@ -218,7 +218,7 @@ var ns = Pe.exports, Ue = { exports: {} };
218
218
  }
219
219
  e.exports = t.default;
220
220
  })(Ue, Ue.exports);
221
- var os = Ue.exports, oe = {}, we = { exports: {} }, He = { exports: {} };
221
+ var os = Ue.exports, ie = {}, we = { exports: {} }, He = { exports: {} };
222
222
  (function(e, t) {
223
223
  Object.defineProperty(t, "__esModule", {
224
224
  value: !0
@@ -263,8 +263,8 @@ function cs() {
263
263
  var w;
264
264
  try {
265
265
  w = y.apply(this, D);
266
- } catch (T) {
267
- return b(T);
266
+ } catch (V) {
267
+ return b(V);
268
268
  }
269
269
  if (w && typeof w.then == "function")
270
270
  return d(w, b);
@@ -282,8 +282,8 @@ function cs() {
282
282
  try {
283
283
  y(D, b);
284
284
  } catch (w) {
285
- (0, o.default)((T) => {
286
- throw T;
285
+ (0, o.default)((V) => {
286
+ throw V;
287
287
  }, w);
288
288
  }
289
289
  }
@@ -293,10 +293,10 @@ function cs() {
293
293
  var ut;
294
294
  function Je() {
295
295
  if (ut)
296
- return oe;
297
- ut = 1, Object.defineProperty(oe, "__esModule", {
296
+ return ie;
297
+ ut = 1, Object.defineProperty(ie, "__esModule", {
298
298
  value: !0
299
- }), oe.isAsyncIterable = oe.isAsyncGenerator = oe.isAsync = void 0;
299
+ }), ie.isAsyncIterable = ie.isAsyncGenerator = ie.isAsync = void 0;
300
300
  var e = cs(), t = s(e);
301
301
  function s(c) {
302
302
  return c && c.__esModule ? c : { default: c };
@@ -315,7 +315,7 @@ function Je() {
315
315
  throw new Error("expected a function");
316
316
  return n(c) ? (0, t.default)(c) : c;
317
317
  }
318
- return oe.default = i, oe.isAsync = n, oe.isAsyncGenerator = a, oe.isAsyncIterable = o, oe;
318
+ return ie.default = i, ie.isAsync = n, ie.isAsyncGenerator = a, ie.isAsyncIterable = o, ie;
319
319
  }
320
320
  var ze = { exports: {} }, je = { exports: {} };
321
321
  (function(e, t) {
@@ -336,18 +336,18 @@ var Vt = je.exports;
336
336
  }
337
337
  function o(i, c, l, d) {
338
338
  let m = !1, y = !1, D = !1, b = 0, w = 0;
339
- function T() {
339
+ function V() {
340
340
  b >= c || D || m || (D = !0, i.next().then(({ value: L, done: K }) => {
341
341
  if (!(y || m)) {
342
342
  if (D = !1, K) {
343
343
  m = !0, b <= 0 && d(null);
344
344
  return;
345
345
  }
346
- b++, l(L, w, $), w++, T();
346
+ b++, l(L, w, M), w++, V();
347
347
  }
348
348
  }).catch(N));
349
349
  }
350
- function $(L, K) {
350
+ function M(L, K) {
351
351
  if (b -= 1, !y) {
352
352
  if (L)
353
353
  return N(L);
@@ -357,13 +357,13 @@ var Vt = je.exports;
357
357
  }
358
358
  if (K === n.default || m && b <= 0)
359
359
  return m = !0, d(null);
360
- T();
360
+ V();
361
361
  }
362
362
  }
363
363
  function N(L) {
364
364
  y || (D = !1, m = !0, d(L));
365
365
  }
366
- T();
366
+ V();
367
367
  }
368
368
  e.exports = t.default;
369
369
  })(ze, ze.exports);
@@ -376,36 +376,36 @@ var ds = ze.exports;
376
376
  function b(w) {
377
377
  return w && w.__esModule ? w : { default: w };
378
378
  }
379
- t.default = (w) => (T, $, N) => {
379
+ t.default = (w) => (V, M, N) => {
380
380
  if (N = (0, n.default)(N), w <= 0)
381
381
  throw new RangeError("concurrency limit cannot be less than 1");
382
- if (!T)
382
+ if (!V)
383
383
  return N(null);
384
- if ((0, l.isAsyncGenerator)(T))
385
- return (0, m.default)(T, w, $, N);
386
- if ((0, l.isAsyncIterable)(T))
387
- return (0, m.default)(T[Symbol.asyncIterator](), w, $, N);
388
- var L = (0, o.default)(T), K = !1, R = !1, V = 0, X = !1;
384
+ if ((0, l.isAsyncGenerator)(V))
385
+ return (0, m.default)(V, w, M, N);
386
+ if ((0, l.isAsyncIterable)(V))
387
+ return (0, m.default)(V[Symbol.asyncIterator](), w, M, N);
388
+ var L = (0, o.default)(V), K = !1, R = !1, O = 0, X = !1;
389
389
  function q(Q, U) {
390
390
  if (!R)
391
- if (V -= 1, Q)
391
+ if (O -= 1, Q)
392
392
  K = !0, N(Q);
393
393
  else if (Q === !1)
394
394
  K = !0, R = !0;
395
395
  else {
396
- if (U === D.default || K && V <= 0)
396
+ if (U === D.default || K && O <= 0)
397
397
  return K = !0, N(null);
398
398
  X || te();
399
399
  }
400
400
  }
401
401
  function te() {
402
- for (X = !0; V < w && !K; ) {
402
+ for (X = !0; O < w && !K; ) {
403
403
  var Q = L();
404
404
  if (Q === null) {
405
- K = !0, V <= 0 && N(null);
405
+ K = !0, O <= 0 && N(null);
406
406
  return;
407
407
  }
408
- V += 1, $(Q.value, Q.key, (0, c.default)(q));
408
+ O += 1, M(Q.value, Q.key, (0, c.default)(q));
409
409
  }
410
410
  X = !1;
411
411
  }
@@ -452,8 +452,8 @@ var fs = qe.exports;
452
452
  function m(D) {
453
453
  return D && D.__esModule ? D : { default: D };
454
454
  }
455
- function y(D, b, w, T) {
456
- return (0, n.default)(b)(D, (0, o.default)((0, c.default)(w)), T);
455
+ function y(D, b, w, V) {
456
+ return (0, n.default)(b)(D, (0, o.default)((0, c.default)(w)), V);
457
457
  }
458
458
  t.default = (0, d.default)(y, 4), e.exports = t.default;
459
459
  })(Fe, Fe.exports);
@@ -483,17 +483,17 @@ async function _t(e, t) {
483
483
  }
484
484
  let Et = null;
485
485
  function T_(e, { fetchUsers: t }) {
486
- const s = t ? (x) => t(x) : (x) => e.collaborationApi.getProjectUsers(x.cloud.id, x.id), n = () => e.bcfApi.getUser(), a = async (x, { extensions: I, users: E } = {}) => {
487
- const H = I ?? await e.bcfApi.getDetailedExtensions(x.id), Y = E ?? await s(x), se = await e.bcfApi.getTopics(x.id);
486
+ const s = t ? (k) => t(k) : (k) => e.collaborationApi.getProjectUsers(k.cloud.id, k.id), n = () => e.bcfApi.getUser(), a = async (k, { extensions: I, users: E } = {}) => {
487
+ const H = I ?? await e.bcfApi.getDetailedExtensions(k.id), Y = E ?? await s(k), se = await e.bcfApi.getTopics(k.id);
488
488
  return se.sort((ae, Oe) => Oe.index - ae.index), se.forEach((ae) => {
489
489
  ae.color = me(ae, H), ae.creator = Y.find((Oe) => Oe.email === ae.creation_author);
490
490
  }), se;
491
- }, o = async (x, I) => {
492
- const E = await e.bcfApi.getDetailedExtensions(x.id), H = await e.bcfApi.getFullTopic(I, x.id, "url");
491
+ }, o = async (k, I) => {
492
+ const E = await e.bcfApi.getDetailedExtensions(k.id), H = await e.bcfApi.getFullTopic(I, k.id, "url");
493
493
  return H.color = me(H, E), H;
494
- }, i = (x, I) => e.bcfApi.createTopic(x.id, I), c = (x, I) => e.bcfApi.updateTopic(I.guid, x.id, I), l = (x, I) => e.bcfApi.deleteTopic(I.guid, x.id), d = async (x, I) => {
494
+ }, i = (k, I) => e.bcfApi.createTopic(k.id, I), c = (k, I) => e.bcfApi.updateTopic(I.guid, k.id, I), l = (k, I) => e.bcfApi.deleteTopic(I.guid, k.id), d = async (k, I) => {
495
495
  const E = new FormData();
496
- E.append("name", I.name), E.append("file", I), await fetch(`${e.config.basePath}/bcf/2.1/projects/${x.id}/import`, {
496
+ E.append("name", I.name), E.append("file", I), await fetch(`${e.config.basePath}/bcf/2.1/projects/${k.id}/import`, {
497
497
  method: "POST",
498
498
  credentials: "include",
499
499
  headers: {
@@ -501,25 +501,25 @@ function T_(e, { fetchUsers: t }) {
501
501
  },
502
502
  body: E
503
503
  });
504
- }, m = async (x, I) => {
504
+ }, m = async (k, I) => {
505
505
  const E = await e.bcfApi.downloadBcfExport(
506
- x.id,
506
+ k.id,
507
507
  void 0,
508
508
  I.map((H) => H.guid).join(",")
509
509
  );
510
- _t(`${x.name}.bcf`, E);
511
- }, y = async (x, I) => {
510
+ _t(`${k.name}.bcf`, E);
511
+ }, y = async (k, I) => {
512
512
  const E = await e.bcfApi.downloadBcfExportXlsx(
513
- x.id,
513
+ k.id,
514
514
  void 0,
515
515
  I.map((H) => H.guid).join(",")
516
516
  );
517
- _t(`${x.name}.xlsx`, E);
518
- }, D = async (x, I) => (await hs(I, 10, (E, H) => {
519
- b(x, E).then((Y) => {
517
+ _t(`${k.name}.xlsx`, E);
518
+ }, D = async (k, I) => (await hs(I, 10, (E, H) => {
519
+ b(k, E).then((Y) => {
520
520
  E.viewpoints = Y, H();
521
521
  }, H);
522
- }), I), b = (x, I) => e.bcfApi.getTopicViewpoints(x.id, I.guid, "url");
522
+ }), I), b = (k, I) => e.bcfApi.getTopicViewpoints(k.id, I.guid, "url");
523
523
  return {
524
524
  fetchCurrentUser: n,
525
525
  fetchTopics: a,
@@ -532,31 +532,31 @@ function T_(e, { fetchUsers: t }) {
532
532
  exportBcfXLSX: y,
533
533
  loadTopicsViewpoints: D,
534
534
  fetchTopicViewpoints: b,
535
- fetchTopicCommentViewpoint: (x, I, E) => e.bcfApi.getViewpoint(E.viewpoint_guid, x.id, I.guid),
536
- createViewpoint: (x, I, E) => e.bcfApi.createViewpoint(x.id, I.guid, "url", E),
537
- updateViewpoint: (x, I, E) => e.bcfApi.updateViewpoint(E.guid, x.id, I.guid, "url", E),
538
- deleteViewpoint: (x, I, E) => e.bcfApi.deleteViewpoint(E.guid, x.id, I.guid),
539
- fetchTopicComments: async (x, I) => {
540
- const E = await s(x), H = await e.bcfApi.getComments(x.id, I.guid);
535
+ fetchTopicCommentViewpoint: (k, I, E) => e.bcfApi.getViewpoint(E.viewpoint_guid, k.id, I.guid),
536
+ createViewpoint: (k, I, E) => e.bcfApi.createViewpoint(k.id, I.guid, "url", E),
537
+ updateViewpoint: (k, I, E) => e.bcfApi.updateViewpoint(E.guid, k.id, I.guid, "url", E),
538
+ deleteViewpoint: (k, I, E) => e.bcfApi.deleteViewpoint(E.guid, k.id, I.guid),
539
+ fetchTopicComments: async (k, I) => {
540
+ const E = await s(k), H = await e.bcfApi.getComments(k.id, I.guid);
541
541
  return H.sort((Y, se) => Y.date > se.date ? -1 : 1), H.forEach((Y) => {
542
542
  Y.user = E.find((se) => se.email === Y.author);
543
543
  }), H;
544
544
  },
545
- createComment: (x, I, E) => e.bcfApi.createComment(x.id, I.guid, E),
546
- updateComment: (x, I, E, H) => e.bcfApi.updateComment(E.guid, x.id, I.guid, H),
547
- deleteComment: (x, I, E) => e.bcfApi.deleteComment(E.guid, x.id, I.guid),
548
- fetchExtensions: (x) => e.bcfApi.getExtensions(x.id),
549
- fetchDetailedExtensions: (x) => e.bcfApi.getDetailedExtensions(x.id),
550
- createExtension: async (x, I, E) => await e.bcfApi[`createExtension${I}`](x.id, {
545
+ createComment: (k, I, E) => e.bcfApi.createComment(k.id, I.guid, E),
546
+ updateComment: (k, I, E, H) => e.bcfApi.updateComment(E.guid, k.id, I.guid, H),
547
+ deleteComment: (k, I, E) => e.bcfApi.deleteComment(E.guid, k.id, I.guid),
548
+ fetchExtensions: (k) => e.bcfApi.getExtensions(k.id),
549
+ fetchDetailedExtensions: (k) => e.bcfApi.getDetailedExtensions(k.id),
550
+ createExtension: async (k, I, E) => await e.bcfApi[`createExtension${I}`](k.id, {
551
551
  [he(I)]: E.value,
552
552
  color: Gt()
553
553
  }),
554
- updateExtension: async (x, I, E, H) => await e.bcfApi[`updateExtension${I}`](E.id, x.id, {
554
+ updateExtension: async (k, I, E, H) => await e.bcfApi[`updateExtension${I}`](E.id, k.id, {
555
555
  [he(I)]: H.value,
556
556
  color: H.color
557
557
  }),
558
- deleteExtension: async (x, I, E) => {
559
- await e.bcfApi[`deleteExtension${I}`](E.id, x.id);
558
+ deleteExtension: async (k, I, E) => {
559
+ await e.bcfApi[`deleteExtension${I}`](E.id, k.id);
560
560
  }
561
561
  };
562
562
  }
@@ -605,8 +605,8 @@ const gs = [
605
605
  "description"
606
606
  ];
607
607
  function S_(e) {
608
- const t = S(""), s = S([]);
609
- return ie(
608
+ const t = $(""), s = $([]);
609
+ return ne(
610
610
  [e, t],
611
611
  () => {
612
612
  if (t.value) {
@@ -626,10 +626,10 @@ function S_(e) {
626
626
  };
627
627
  }
628
628
  function Ve(e, t = (s) => s) {
629
- const s = S(e), n = (i = "asc") => {
629
+ const s = $(e), n = (i = "asc") => {
630
630
  const c = s.value.slice().sort((l, d) => t(l) < t(d) ? -1 : 1);
631
631
  i === "desc" && c.reverse(), s.value = c;
632
- }, a = S("none");
632
+ }, a = $("none");
633
633
  return {
634
634
  sortOrder: a,
635
635
  sortToggle: () => {
@@ -638,7 +638,7 @@ function Ve(e, t = (s) => s) {
638
638
  };
639
639
  }
640
640
  function O_(e) {
641
- const { sortToggle: t, sortOrder: s } = Ve(e, (y) => y.index), { sortToggle: n, sortOrder: a } = Ve(e, (y) => y.title), { sortToggle: o, sortOrder: i } = Ve(e, (y) => y.creation_date), c = S("");
641
+ const { sortToggle: t, sortOrder: s } = Ve(e, (y) => y.index), { sortToggle: n, sortOrder: a } = Ve(e, (y) => y.title), { sortToggle: o, sortOrder: i } = Ve(e, (y) => y.creation_date), c = $("");
642
642
  return {
643
643
  sortedBy: c,
644
644
  sortByIndex: () => {
@@ -759,13 +759,13 @@ const v = (e, t) => {
759
759
  }, Ds = ["color"];
760
760
  function Cs(e, t, s, n, a, o) {
761
761
  return r(), p("button", {
762
- class: O(["bimdata-btn", o.classes]),
763
- style: k(o.style),
762
+ class: S(["bimdata-btn", o.classes]),
763
+ style: T(o.style),
764
764
  onClick: t[0] || (t[0] = (i) => e.$emit("click", i)),
765
765
  color: s.color,
766
766
  type: "button"
767
767
  }, [
768
- M(e.$slots, "default", {}, void 0, !0)
768
+ x(e.$slots, "default", {}, void 0, !0)
769
769
  ], 14, Ds);
770
770
  }
771
771
  const Z = /* @__PURE__ */ v(vs, [["render", Cs], ["__scopeId", "data-v-cc5f3236"]]), Xe = Object.freeze([
@@ -875,10 +875,10 @@ function Bs(e, t, s, n, a, o) {
875
875
  width: "100%",
876
876
  fill: s.fillColor,
877
877
  color: s.color,
878
- style: k(o.style),
879
- class: O(o.classes)
878
+ style: T(o.style),
879
+ class: S(o.classes)
880
880
  }, [
881
- M(e.$slots, "default", {}, void 0, !0)
881
+ x(e.$slots, "default", {}, void 0, !0)
882
882
  ], 14, ws);
883
883
  }
884
884
  const Ms = /* @__PURE__ */ v(Is, [["render", Bs], ["__scopeId", "data-v-3c56485e"]]), ht = {
@@ -978,8 +978,8 @@ function Os(e, t, s, n, a, o) {
978
978
  fill: e.fill,
979
979
  fillColor: e.fillColor,
980
980
  color: e.color,
981
- class: O(e.classes),
982
- style: k(e.style)
981
+ class: S(e.classes),
982
+ style: T(e.style)
983
983
  }, {
984
984
  default: h(() => [
985
985
  _(i)
@@ -1000,8 +1000,8 @@ function As(e, t, s, n, a, o) {
1000
1000
  fill: e.fill,
1001
1001
  fillColor: e.fillColor,
1002
1002
  color: e.color,
1003
- class: O(e.classes),
1004
- style: k(e.style)
1003
+ class: S(e.classes),
1004
+ style: T(e.style)
1005
1005
  }, {
1006
1006
  default: h(() => [
1007
1007
  _(i)
@@ -1026,8 +1026,8 @@ function Rs(e, t, s, n, a, o) {
1026
1026
  fill: e.fill,
1027
1027
  fillColor: e.fillColor,
1028
1028
  color: e.color,
1029
- class: O(e.classes),
1030
- style: k(e.style)
1029
+ class: S(e.classes),
1030
+ style: T(e.style)
1031
1031
  }, {
1032
1032
  default: h(() => [
1033
1033
  _(i)
@@ -1048,8 +1048,8 @@ function Js(e, t, s, n, a, o) {
1048
1048
  fill: e.fill,
1049
1049
  fillColor: e.fillColor,
1050
1050
  color: e.color,
1051
- class: O(e.classes),
1052
- style: k(e.style)
1051
+ class: S(e.classes),
1052
+ style: T(e.style)
1053
1053
  }, {
1054
1054
  default: h(() => [
1055
1055
  _(i)
@@ -1070,8 +1070,8 @@ function sn(e, t, s, n, a, o) {
1070
1070
  fill: e.fill,
1071
1071
  fillColor: e.fillColor,
1072
1072
  color: e.color,
1073
- class: O(e.classes),
1074
- style: k(e.style)
1073
+ class: S(e.classes),
1074
+ style: T(e.style)
1075
1075
  }, {
1076
1076
  default: h(() => [
1077
1077
  _(i)
@@ -1096,8 +1096,8 @@ function cn(e, t, s, n, a, o) {
1096
1096
  fill: e.fill,
1097
1097
  fillColor: e.fillColor,
1098
1098
  color: e.color,
1099
- class: O(e.classes),
1100
- style: k(e.style)
1099
+ class: S(e.classes),
1100
+ style: T(e.style)
1101
1101
  }, {
1102
1102
  default: h(() => [
1103
1103
  _(i)
@@ -1122,8 +1122,8 @@ function hn(e, t, s, n, a, o) {
1122
1122
  fill: e.fill,
1123
1123
  fillColor: e.fillColor,
1124
1124
  color: e.color,
1125
- class: O(e.classes),
1126
- style: k(e.style)
1125
+ class: S(e.classes),
1126
+ style: T(e.style)
1127
1127
  }, {
1128
1128
  default: h(() => [
1129
1129
  _(i)
@@ -1147,8 +1147,8 @@ function wn(e, t, s, n, a, o) {
1147
1147
  fill: e.fill,
1148
1148
  fillColor: e.fillColor,
1149
1149
  color: e.color,
1150
- class: O(e.classes),
1151
- style: k(e.style)
1150
+ class: S(e.classes),
1151
+ style: T(e.style)
1152
1152
  }, {
1153
1153
  default: h(() => [
1154
1154
  _(i)
@@ -1173,8 +1173,8 @@ function Sn(e, t, s, n, a, o) {
1173
1173
  fill: e.fill,
1174
1174
  fillColor: e.fillColor,
1175
1175
  color: e.color,
1176
- class: O(e.classes),
1177
- style: k(e.style)
1176
+ class: S(e.classes),
1177
+ style: T(e.style)
1178
1178
  }, {
1179
1179
  default: h(() => [
1180
1180
  _(i)
@@ -1199,8 +1199,8 @@ function An(e, t, s, n, a, o) {
1199
1199
  fill: e.fill,
1200
1200
  fillColor: e.fillColor,
1201
1201
  color: e.color,
1202
- class: O(e.classes),
1203
- style: k(e.style)
1202
+ class: S(e.classes),
1203
+ style: T(e.style)
1204
1204
  }, {
1205
1205
  default: h(() => [
1206
1206
  _(i)
@@ -1225,8 +1225,8 @@ function Rn(e, t, s, n, a, o) {
1225
1225
  fill: e.fill,
1226
1226
  fillColor: e.fillColor,
1227
1227
  color: e.color,
1228
- class: O(e.classes),
1229
- style: k(e.style)
1228
+ class: S(e.classes),
1229
+ style: T(e.style)
1230
1230
  }, {
1231
1231
  default: h(() => [
1232
1232
  _(i)
@@ -1251,8 +1251,8 @@ function Jn(e, t, s, n, a, o) {
1251
1251
  fill: e.fill,
1252
1252
  fillColor: e.fillColor,
1253
1253
  color: e.color,
1254
- class: O(e.classes),
1255
- style: k(e.style)
1254
+ class: S(e.classes),
1255
+ style: T(e.style)
1256
1256
  }, {
1257
1257
  default: h(() => [
1258
1258
  _(i)
@@ -1277,8 +1277,8 @@ function so(e, t, s, n, a, o) {
1277
1277
  fill: e.fill,
1278
1278
  fillColor: e.fillColor,
1279
1279
  color: e.color,
1280
- class: O(e.classes),
1281
- style: k(e.style)
1280
+ class: S(e.classes),
1281
+ style: T(e.style)
1282
1282
  }, {
1283
1283
  default: h(() => [
1284
1284
  _(i)
@@ -1299,8 +1299,8 @@ function co(e, t, s, n, a, o) {
1299
1299
  fill: e.fill,
1300
1300
  fillColor: e.fillColor,
1301
1301
  color: e.color,
1302
- class: O(e.classes),
1303
- style: k(e.style)
1302
+ class: S(e.classes),
1303
+ style: T(e.style)
1304
1304
  }, {
1305
1305
  default: h(() => [
1306
1306
  _(i)
@@ -1325,8 +1325,8 @@ function go(e, t, s, n, a, o) {
1325
1325
  fill: e.fill,
1326
1326
  fillColor: e.fillColor,
1327
1327
  color: e.color,
1328
- class: O(e.classes),
1329
- style: k(e.style)
1328
+ class: S(e.classes),
1329
+ style: T(e.style)
1330
1330
  }, {
1331
1331
  default: h(() => [
1332
1332
  _(i)
@@ -1350,8 +1350,8 @@ function wo(e, t, s, n, a, o) {
1350
1350
  fill: e.fill,
1351
1351
  fillColor: e.fillColor,
1352
1352
  color: e.color,
1353
- class: O(e.classes),
1354
- style: k(e.style)
1353
+ class: S(e.classes),
1354
+ style: T(e.style)
1355
1355
  }, {
1356
1356
  default: h(() => [
1357
1357
  _(i)
@@ -1376,8 +1376,8 @@ function So(e, t, s, n, a, o) {
1376
1376
  fill: e.fill,
1377
1377
  fillColor: e.fillColor,
1378
1378
  color: e.color,
1379
- class: O(e.classes),
1380
- style: k(e.style)
1379
+ class: S(e.classes),
1380
+ style: T(e.style)
1381
1381
  }, {
1382
1382
  default: h(() => [
1383
1383
  _(i)
@@ -1397,8 +1397,8 @@ function Po(e, t, s, n, a, o) {
1397
1397
  fill: e.fill,
1398
1398
  fillColor: e.fillColor,
1399
1399
  color: e.color,
1400
- class: O(e.classes),
1401
- style: k(e.style)
1400
+ class: S(e.classes),
1401
+ style: T(e.style)
1402
1402
  }, {
1403
1403
  default: h(() => [
1404
1404
  _(i)
@@ -1492,8 +1492,8 @@ const No = {
1492
1492
  };
1493
1493
  function Yo(e, t, s, n, a, o) {
1494
1494
  return r(), p("div", {
1495
- class: O(["bimdata-input", { error: s.error, success: s.success, disabled: s.disabled, loading: s.loading, "not-empty": !!s.modelValue }]),
1496
- style: k(o.style)
1495
+ class: S(["bimdata-input", { error: s.error, success: s.success, disabled: s.disabled, loading: s.loading, "not-empty": !!s.modelValue }]),
1496
+ style: T(o.style)
1497
1497
  }, [
1498
1498
  u("input", Be({
1499
1499
  ref: "input",
@@ -1510,7 +1510,7 @@ function Yo(e, t, s, n, a, o) {
1510
1510
  autocomplete: s.autocomplete ? "on" : "off"
1511
1511
  }, e.$attrs), null, 16, Ho),
1512
1512
  u("div", zo, [
1513
- M(e.$slots, "inputIcon", {}, void 0, !0)
1513
+ x(e.$slots, "inputIcon", {}, void 0, !0)
1514
1514
  ]),
1515
1515
  u("label", {
1516
1516
  for: `bimdata-input-${e.uuid}`
@@ -1596,7 +1596,7 @@ function Xo(e, t, s, n, a, o) {
1596
1596
  }, e.$attrs), [
1597
1597
  Jo,
1598
1598
  s.text ? (r(), p("span", Go, [
1599
- M(e.$slots, "default", {}, () => [
1599
+ x(e.$slots, "default", {}, () => [
1600
1600
  A(g(s.text), 1)
1601
1601
  ], !0)
1602
1602
  ])) : C("", !0)
@@ -1691,12 +1691,12 @@ const Qo = {
1691
1691
  function ai(e, t, s, n, a, o) {
1692
1692
  const i = f("BIMDataIconChevron"), c = f("BIMDataCheckbox"), l = De("clickaway");
1693
1693
  return W((r(), p("div", {
1694
- class: O(["bimdata-select", {
1694
+ class: S(["bimdata-select", {
1695
1695
  disabled: s.disabled,
1696
1696
  active: a.isOpen,
1697
1697
  "not-empty": s.modelValue.length > 0
1698
1698
  }]),
1699
- style: k({ width: s.width })
1699
+ style: T({ width: s.width })
1700
1700
  }, [
1701
1701
  u("div", ti, [
1702
1702
  u("div", {
@@ -1712,11 +1712,11 @@ function ai(e, t, s, n, a, o) {
1712
1712
  u("label", si, g(s.label), 1),
1713
1713
  ni
1714
1714
  ]),
1715
- _(ne, { name: "slide-fade-down" }, {
1715
+ _(oe, { name: "slide-fade-down" }, {
1716
1716
  default: h(() => [
1717
1717
  W(u("ul", oi, [
1718
1718
  (r(!0), p(z, null, J(s.options, (d, m) => (r(), p("li", {
1719
- class: O(["bimdata-select__option-list__entry", {
1719
+ class: S(["bimdata-select__option-list__entry", {
1720
1720
  selected: o.isSelected(d),
1721
1721
  disabled: o.isDisabled(d),
1722
1722
  "option-group": o.isOptionGroup(d)
@@ -1830,12 +1830,12 @@ const ri = {
1830
1830
  function hi(e, t, s, n, a, o) {
1831
1831
  const i = f("BIMDataIconChevron"), c = De("clickaway");
1832
1832
  return W((r(), p("div", {
1833
- class: O(["bimdata-select", {
1833
+ class: S(["bimdata-select", {
1834
1834
  disabled: s.disabled,
1835
1835
  active: a.isOpen,
1836
1836
  "not-empty": s.modelValue !== void 0 && s.modelValue !== null
1837
1837
  }]),
1838
- style: k({ width: s.width })
1838
+ style: T({ width: s.width })
1839
1839
  }, [
1840
1840
  u("div", di, [
1841
1841
  u("div", {
@@ -1851,7 +1851,7 @@ function hi(e, t, s, n, a, o) {
1851
1851
  u("label", ui, g(s.label), 1),
1852
1852
  _i
1853
1853
  ]),
1854
- _(ne, { name: "slide-fade-down" }, {
1854
+ _(oe, { name: "slide-fade-down" }, {
1855
1855
  default: h(() => [
1856
1856
  W(u("ul", fi, [
1857
1857
  s.nullValue ? (r(), p("li", {
@@ -1860,7 +1860,7 @@ function hi(e, t, s, n, a, o) {
1860
1860
  onClick: t[1] || (t[1] = (l) => o.onNullValueClick())
1861
1861
  }, g(s.nullLabel || "None"), 1)) : C("", !0),
1862
1862
  (r(!0), p(z, null, J(s.options, (l, d) => (r(), p("li", {
1863
- class: O(["bimdata-select__option-list__entry", {
1863
+ class: S(["bimdata-select__option-list__entry", {
1864
1864
  selected: o.isSelected(l),
1865
1865
  disabled: o.isDisabled(l),
1866
1866
  "option-group": o.isOptionGroup(l)
@@ -1957,30 +1957,41 @@ const bi = {
1957
1957
  topics: {
1958
1958
  type: Array,
1959
1959
  required: !0
1960
+ },
1961
+ initFilters: {
1962
+ type: Object
1960
1963
  }
1961
1964
  },
1962
1965
  emits: ["submit"],
1963
1966
  setup(e, { emit: t }) {
1964
- const s = S(!1), n = () => s.value = !1, a = () => s.value = !s.value, { filters: o, filteredTopics: i, reset: c } = ms(j(() => e.topics)), l = j(
1965
- () => ye(e.topics.map((T) => T.priority))
1966
- ), d = j(
1967
- () => ye(e.topics.map((T) => T.topic_status))
1967
+ const s = $(!1), n = () => s.value = !1, a = () => s.value = !s.value, { filters: o, filteredTopics: i, reset: c, apply: l } = ms(j(() => e.topics));
1968
+ ne(
1969
+ () => e.initFilters,
1970
+ () => {
1971
+ e.initFilters && l(e.initFilters);
1972
+ },
1973
+ { deep: !0 }
1974
+ );
1975
+ const d = j(
1976
+ () => ye(e.topics.map((M) => M.priority))
1968
1977
  ), m = j(
1969
- () => ye(e.topics.map((T) => T.assigned_to))
1978
+ () => ye(e.topics.map((M) => M.topic_status))
1970
1979
  ), y = j(
1971
- () => ye(e.topics.map((T) => T.creation_author))
1980
+ () => ye(e.topics.map((M) => M.assigned_to))
1972
1981
  ), D = j(
1973
- () => ye(e.topics.flatMap((T) => T.labels))
1982
+ () => ye(e.topics.map((M) => M.creation_author))
1983
+ ), b = j(
1984
+ () => ye(e.topics.flatMap((M) => M.labels))
1974
1985
  );
1975
1986
  return {
1976
1987
  // References
1977
- creatorOptions: y,
1988
+ creatorOptions: D,
1978
1989
  filters: o,
1979
1990
  isOpen: s,
1980
- labelOptions: D,
1981
- priorityOptions: l,
1982
- statusOptions: d,
1983
- userOptions: m,
1991
+ labelOptions: b,
1992
+ priorityOptions: d,
1993
+ statusOptions: m,
1994
+ userOptions: y,
1984
1995
  // Methods
1985
1996
  close: n,
1986
1997
  resetFilters: () => {
@@ -1990,8 +2001,8 @@ const bi = {
1990
2001
  });
1991
2002
  },
1992
2003
  submitFilters: () => {
1993
- var T;
1994
- (T = o.endDate) == null || T.setHours(23, 59, 59), t("submit", {
2004
+ var M;
2005
+ (M = o.endDate) == null || M.setHours(23, 59, 59), t("submit", {
1995
2006
  filters: rt(o),
1996
2007
  topics: i.value
1997
2008
  }), s.value = !1;
@@ -2023,7 +2034,7 @@ function Mi(e, t, s, n, a, o) {
2023
2034
  ]),
2024
2035
  _: 1
2025
2036
  }, 8, ["disabled", "onClick"]),
2026
- _(ne, { name: "slide-fade-up" }, {
2037
+ _(oe, { name: "slide-fade-up" }, {
2027
2038
  default: h(() => [
2028
2039
  W(u("div", Di, [
2029
2040
  u("div", Ci, [
@@ -2143,7 +2154,7 @@ function Mi(e, t, s, n, a, o) {
2143
2154
  [D, n.close]
2144
2155
  ]);
2145
2156
  }
2146
- const xi = /* @__PURE__ */ v(bi, [["render", Mi], ["__scopeId", "data-v-fc1e0bc2"]]);
2157
+ const xi = /* @__PURE__ */ v(bi, [["render", Mi], ["__scopeId", "data-v-97434a45"]]);
2147
2158
  const ki = {
2148
2159
  props: {
2149
2160
  text: {
@@ -2154,10 +2165,10 @@ const ki = {
2154
2165
  function Oi(e, t, s, n, a, o) {
2155
2166
  return r(), p("div", Ti, [
2156
2167
  u("div", $i, [
2157
- M(e.$slots, "left", {}, void 0, !0),
2168
+ x(e.$slots, "left", {}, void 0, !0),
2158
2169
  s.text ? (r(), p("span", Si, g(s.text), 1)) : C("", !0)
2159
2170
  ]),
2160
- M(e.$slots, "right", {}, void 0, !0)
2171
+ x(e.$slots, "right", {}, void 0, !0)
2161
2172
  ]);
2162
2173
  }
2163
2174
  const Vi = /* @__PURE__ */ v(ki, [["render", Oi], ["__scopeId", "data-v-6e7b4167"]]);
@@ -2203,8 +2214,8 @@ const Fi = {
2203
2214
  function Pi(e, t, s, n, a, o) {
2204
2215
  const i = f("BIMDataCardBand");
2205
2216
  return r(), p("div", {
2206
- class: O(["bimdata-card", o.classes]),
2207
- style: k({ "min-width": s.width, "border-radius": s.borderRadius })
2217
+ class: S(["bimdata-card", o.classes]),
2218
+ style: T({ "min-width": s.width, "border-radius": s.borderRadius })
2208
2219
  }, [
2209
2220
  s.titleHeader || e.$slots.headerIcons ? (r(), B(i, {
2210
2221
  key: 0,
@@ -2212,7 +2223,7 @@ function Pi(e, t, s, n, a, o) {
2212
2223
  class: "bimdata-card__header"
2213
2224
  }, {
2214
2225
  right: h(() => [
2215
- M(e.$slots, "headerIcons", {}, void 0, !0)
2226
+ x(e.$slots, "headerIcons", {}, void 0, !0)
2216
2227
  ]),
2217
2228
  _: 3
2218
2229
  }, 8, ["text"])) : C("", !0),
@@ -2222,18 +2233,18 @@ function Pi(e, t, s, n, a, o) {
2222
2233
  text: s.submenuText
2223
2234
  }, {
2224
2235
  left: h(() => [
2225
- M(e.$slots, "left", {}, void 0, !0)
2236
+ x(e.$slots, "left", {}, void 0, !0)
2226
2237
  ]),
2227
2238
  right: h(() => [
2228
- M(e.$slots, "right", {}, void 0, !0)
2239
+ x(e.$slots, "right", {}, void 0, !0)
2229
2240
  ]),
2230
2241
  _: 3
2231
2242
  }, 8, ["text"])) : C("", !0),
2232
2243
  e.$slots.content ? (r(), p("div", Ei, [
2233
- M(e.$slots, "content", {}, void 0, !0)
2244
+ x(e.$slots, "content", {}, void 0, !0)
2234
2245
  ])) : C("", !0),
2235
2246
  e.$slots.footer ? (r(), p("footer", Li, [
2236
- M(e.$slots, "footer", {}, void 0, !0)
2247
+ x(e.$slots, "footer", {}, void 0, !0)
2237
2248
  ])) : C("", !0)
2238
2249
  ], 6);
2239
2250
  }
@@ -2265,9 +2276,9 @@ function zi(e, t, s, n, a, o) {
2265
2276
  key: `colorLine${l}`
2266
2277
  }, [
2267
2278
  (r(!0), p(z, null, J(c, ([d, m], y) => (r(), p("div", {
2268
- class: O(["color-selector__line__element", { selected: m === s.modelValue }]),
2279
+ class: S(["color-selector__line__element", { selected: m === s.modelValue }]),
2269
2280
  key: `colorElement${y}ofColorLine${l}`,
2270
- style: k(`background-color: #${m}`),
2281
+ style: T(`background-color: #${m}`),
2271
2282
  title: d,
2272
2283
  onClick: P((D) => e.$emit("update:modelValue", m), ["stop"])
2273
2284
  }, null, 14, Hi))), 128))
@@ -2295,8 +2306,8 @@ const Ri = {
2295
2306
  },
2296
2307
  emits: ["update-extension", "delete-extension"],
2297
2308
  setup(e, { emit: t }) {
2298
- const s = S(!1), n = S(!1), a = S(!1), o = S(e.extension[he(e.extensionType)]), i = S(e.extension.color), c = S(null);
2299
- return ie(s, () => setTimeout(() => s.value && c.value.focus(), 50)), {
2309
+ const s = $(!1), n = $(!1), a = $(!1), o = $(e.extension[he(e.extensionType)]), i = $(e.extension.color), c = $(null);
2310
+ return ne(s, () => setTimeout(() => s.value && c.value.focus(), 50)), {
2300
2311
  // References
2301
2312
  editMode: s,
2302
2313
  extensionColor: i,
@@ -2375,7 +2386,7 @@ function Ji(e, t, s, n, a, o) {
2375
2386
  n.EXTENSION_WITH_COLOR.includes(s.extensionType) ? (r(), p(z, { key: 0 }, [
2376
2387
  u("span", {
2377
2388
  class: "setting-card-item__color",
2378
- style: k({
2389
+ style: T({
2379
2390
  "border-color": n.adjustBorderColor(`${n.extensionColor}`, -50),
2380
2391
  "background-color": `#${n.extensionColor}`
2381
2392
  }),
@@ -2446,7 +2457,7 @@ const Xi = {
2446
2457
  setup(e, { emit: t }) {
2447
2458
  const s = j(
2448
2459
  () => Ft(e.extensionType, e.detailedExtensions)
2449
- ), n = S(null), a = S(""), o = S(!1), i = () => o.value = !1, c = () => o.value = !o.value, l = S(!1), d = () => {
2460
+ ), n = $(null), a = $(""), o = $(!1), i = () => o.value = !1, c = () => o.value = !o.value, l = $(!1), d = () => {
2450
2461
  a.value = "", l.value = !1;
2451
2462
  };
2452
2463
  return {
@@ -2510,7 +2521,7 @@ function la(e, t, s, n, a, o) {
2510
2521
  _: 1
2511
2522
  }, 8, ["onClick"])
2512
2523
  ]),
2513
- _(ne, { name: "slide-fade-up" }, {
2524
+ _(oe, { name: "slide-fade-up" }, {
2514
2525
  default: h(() => [
2515
2526
  W(u("div", oa, [
2516
2527
  _(d, {
@@ -2721,17 +2732,17 @@ function wa(e, t, s, n, a, o) {
2721
2732
  const i = f("BIMDataIconDoubleChevron"), c = f("BIMDataButton"), l = f("BIMDataIconChevron");
2722
2733
  return r(), p("ul", {
2723
2734
  class: "bimdata-list bimdata-navigation",
2724
- style: k({ "background-color": s.backgroundColor })
2735
+ style: T({ "background-color": s.backgroundColor })
2725
2736
  }, [
2726
2737
  u("li", ya, [
2727
- M(e.$slots, "left", {}, void 0, !0)
2738
+ x(e.$slots, "left", {}, void 0, !0)
2728
2739
  ]),
2729
2740
  s.first ? (r(), p("li", ba, [
2730
2741
  _(c, {
2731
2742
  onClick: t[0] || (t[0] = (d) => e.$emit("first")),
2732
2743
  disabled: s.firstDisabled,
2733
2744
  ghost: "",
2734
- class: O({ disabled: s.firstDisabled }),
2745
+ class: S({ disabled: s.firstDisabled }),
2735
2746
  width: "21px",
2736
2747
  height: "21px"
2737
2748
  }, {
@@ -2749,7 +2760,7 @@ function wa(e, t, s, n, a, o) {
2749
2760
  onClick: t[1] || (t[1] = (d) => e.$emit("previous")),
2750
2761
  disabled: s.previousDisabled,
2751
2762
  ghost: "",
2752
- class: O({ disabled: s.previousDisabled }),
2763
+ class: S({ disabled: s.previousDisabled }),
2753
2764
  width: "21px",
2754
2765
  height: "21px"
2755
2766
  }, {
@@ -2763,14 +2774,14 @@ function wa(e, t, s, n, a, o) {
2763
2774
  }, 8, ["disabled", "class"])
2764
2775
  ])) : C("", !0),
2765
2776
  u("li", null, [
2766
- M(e.$slots, "default", {}, void 0, !0)
2777
+ x(e.$slots, "default", {}, void 0, !0)
2767
2778
  ]),
2768
2779
  s.next ? (r(), p("li", Da, [
2769
2780
  _(c, {
2770
2781
  onClick: t[2] || (t[2] = (d) => e.$emit("next")),
2771
2782
  disabled: s.nextDisabled,
2772
2783
  ghost: "",
2773
- class: O({ disabled: s.nextDisabled }),
2784
+ class: S({ disabled: s.nextDisabled }),
2774
2785
  width: "21px",
2775
2786
  height: "21px"
2776
2787
  }, {
@@ -2785,7 +2796,7 @@ function wa(e, t, s, n, a, o) {
2785
2796
  onClick: t[3] || (t[3] = (d) => e.$emit("last")),
2786
2797
  disabled: s.lastDisabled,
2787
2798
  ghost: "",
2788
- class: O({ disabled: s.lastDisabled }),
2799
+ class: S({ disabled: s.lastDisabled }),
2789
2800
  width: "21px",
2790
2801
  height: "21px"
2791
2802
  }, {
@@ -2796,7 +2807,7 @@ function wa(e, t, s, n, a, o) {
2796
2807
  }, 8, ["disabled", "class"])
2797
2808
  ])) : C("", !0),
2798
2809
  u("li", Ia, [
2799
- M(e.$slots, "right", {}, void 0, !0)
2810
+ x(e.$slots, "right", {}, void 0, !0)
2800
2811
  ])
2801
2812
  ], 4);
2802
2813
  }
@@ -2920,7 +2931,7 @@ function Oa(e, t, s, n, a, o) {
2920
2931
  return r(), p("div", Sa, [
2921
2932
  u("div", {
2922
2933
  class: "bimdata-spinner--square",
2923
- style: k(o.getStyle())
2934
+ style: T(o.getStyle())
2924
2935
  }, null, 4)
2925
2936
  ]);
2926
2937
  }
@@ -3029,21 +3040,21 @@ function Na(e, t, s, n, a, o) {
3029
3040
  const i = f("BIMDataSpinner"), c = f("BIMDataPagination");
3030
3041
  return r(), p("div", Ea, [
3031
3042
  s.loading ? (r(), B(i, { key: 0 })) : (r(), p("div", La, [
3032
- M(e.$slots, "header", {}, void 0, !0),
3043
+ x(e.$slots, "header", {}, void 0, !0),
3033
3044
  u("ul", Pa, [
3034
3045
  (r(!0), p(z, null, J(o.page, (l) => (r(), p("li", {
3035
3046
  key: s.elementKey ? l[s.elementKey] : l,
3036
3047
  onClick: (d) => e.$emit("element-click", l),
3037
3048
  ref_for: !0,
3038
3049
  ref: "elements",
3039
- class: O({ "active-element": o.isElementActive(l) })
3050
+ class: S({ "active-element": o.isElementActive(l) })
3040
3051
  }, [
3041
- M(e.$slots, "element", { element: l }, () => [
3052
+ x(e.$slots, "element", { element: l }, () => [
3042
3053
  A(g(l && l.toString()), 1)
3043
3054
  ], !0)
3044
3055
  ], 10, Aa))), 128))
3045
3056
  ]),
3046
- s.list.length === 0 ? M(e.$slots, "empty", { key: 0 }, void 0, !0) : C("", !0),
3057
+ s.list.length === 0 ? x(e.$slots, "empty", { key: 0 }, void 0, !0) : C("", !0),
3047
3058
  o.totalPages > 1 ? (r(), B(c, {
3048
3059
  key: 1,
3049
3060
  length: s.list.length,
@@ -3145,7 +3156,7 @@ function qa(e, t, s, n, a, o) {
3145
3156
  return r(), p("div", Ha, [
3146
3157
  (r(), p("svg", {
3147
3158
  viewBox: o.viewBox,
3148
- style: k(`--graph-draw-time: ${s.graphDrawTime}s;`)
3159
+ style: T(`--graph-draw-time: ${s.graphDrawTime}s;`)
3149
3160
  }, [
3150
3161
  s.placeholder ? (r(), p("circle", {
3151
3162
  key: 0,
@@ -3232,7 +3243,7 @@ function sl(e, t, s, n, a, o) {
3232
3243
  u("div", Xa, [
3233
3244
  u("span", {
3234
3245
  class: "bcf-statistics__content__legend__item__mark",
3235
- style: k({ borderColor: l.color })
3246
+ style: T({ borderColor: l.color })
3236
3247
  }, null, 4),
3237
3248
  u("span", Qa, g(l.percentage.toFixed(0)) + " % ", 1),
3238
3249
  u("span", el, [
@@ -3323,7 +3334,7 @@ function al(e, t, s, n, a, o) {
3323
3334
  return r(), p("div", {
3324
3335
  ref: "textBox",
3325
3336
  class: "bimdata-textbox",
3326
- style: k({
3337
+ style: T({
3327
3338
  width: s.width,
3328
3339
  minWidth: s.minWidth,
3329
3340
  maxWidth: s.maxWidth
@@ -3334,7 +3345,7 @@ function al(e, t, s, n, a, o) {
3334
3345
  u("span", {
3335
3346
  ref: "textHead",
3336
3347
  class: "bimdata-textbox__text--head",
3337
- style: k({
3348
+ style: T({
3338
3349
  width: a.textTail ? "50%" : "100%",
3339
3350
  direction: s.cutPosition === "start" ? "rtl" : "ltr"
3340
3351
  })
@@ -3348,7 +3359,7 @@ function al(e, t, s, n, a, o) {
3348
3359
  ]),
3349
3360
  s.tooltip && a.isOverflowing ? W((r(), p("div", {
3350
3361
  key: 0,
3351
- class: O(["bimdata-textbox__tooltip", [
3362
+ class: S(["bimdata-textbox__tooltip", [
3352
3363
  `bimdata-textbox__tooltip--${s.tooltipPosition}`,
3353
3364
  `bimdata-textbox__tooltip--${s.tooltipColor}`
3354
3365
  ]])
@@ -3398,7 +3409,7 @@ const _l = {
3398
3409
  },
3399
3410
  emits: ["open-topic", "update:selected"],
3400
3411
  setup(e) {
3401
- const t = S(!1), s = j(() => me(e.topic, e.detailedExtensions)), n = j(() => Ge(e.topic, e.detailedExtensions)), a = j(
3412
+ const t = $(!1), s = j(() => me(e.topic, e.detailedExtensions)), n = j(() => Ge(e.topic, e.detailedExtensions)), a = j(
3402
3413
  () => {
3403
3414
  var i, c;
3404
3415
  return (c = (i = e.topic.viewpoints) == null ? void 0 : i.filter((l) => l.snapshot)[0]) == null ? void 0 : c.snapshot.snapshot_data;
@@ -3422,14 +3433,14 @@ const _l = {
3422
3433
  function wl(e, t, s, n, a, o) {
3423
3434
  const i = f("BIMDataTextbox"), c = f("BIMDataCheckbox"), l = f("BIMDataIconInformation"), d = f("BcfTopicDefaultImage"), m = f("BIMDataIconModel3D"), y = f("BIMDataButton");
3424
3435
  return r(), p("div", {
3425
- class: O(["bcf-topic-card", { selected: s.selected }]),
3436
+ class: S(["bcf-topic-card", { selected: s.selected }]),
3426
3437
  onMouseover: t[2] || (t[2] = (D) => n.hover = !0),
3427
3438
  onMouseleave: t[3] || (t[3] = (D) => n.hover = !1)
3428
3439
  }, [
3429
3440
  u("div", fl, [
3430
3441
  u("div", {
3431
3442
  class: "index",
3432
- style: k({
3443
+ style: T({
3433
3444
  "background-color": `#${n.priorityColor}`,
3434
3445
  color: n.adjustTextColor(`#${n.priorityColor}`, "#FFF", "var(--color-text)")
3435
3446
  })
@@ -3453,7 +3464,7 @@ function wl(e, t, s, n, a, o) {
3453
3464
  s.topic.topic_status ? (r(), p("div", {
3454
3465
  key: 0,
3455
3466
  class: "status",
3456
- style: k({
3467
+ style: T({
3457
3468
  "background-color": `#${n.statusColor}`,
3458
3469
  color: n.adjustTextColor(`#${n.statusColor}`, "#FFF", "var(--color-text)")
3459
3470
  })
@@ -3479,7 +3490,7 @@ function wl(e, t, s, n, a, o) {
3479
3490
  u("div", null, [
3480
3491
  u("strong", null, g(e.$t("BcfComponents.BcfTopicCard.priority")), 1),
3481
3492
  u("span", {
3482
- style: k({ color: `#${n.priorityColor}` })
3493
+ style: T({ color: `#${n.priorityColor}` })
3483
3494
  }, g(s.topic.priority || e.$t("BcfComponents.BcfTopicCard.noPriority")), 5)
3484
3495
  ]),
3485
3496
  u("div", null, [
@@ -3575,7 +3586,7 @@ function Hl(e, t, s, n, a, o) {
3575
3586
  return r(), p("div", Al, [
3576
3587
  u("div", {
3577
3588
  class: "safe-zone",
3578
- style: k({ width: s.width })
3589
+ style: T({ width: s.width })
3579
3590
  }, [
3580
3591
  u("div", Nl, [
3581
3592
  _(i, {
@@ -3585,11 +3596,11 @@ function Hl(e, t, s, n, a, o) {
3585
3596
  color: "high"
3586
3597
  }, null, 8, ["name"]),
3587
3598
  u("p", null, [
3588
- M(e.$slots, "text", {}, void 0, !0)
3599
+ x(e.$slots, "text", {}, void 0, !0)
3589
3600
  ])
3590
3601
  ]),
3591
3602
  u("div", Ul, [
3592
- M(e.$slots, "actions", {}, void 0, !0)
3603
+ x(e.$slots, "actions", {}, void 0, !0)
3593
3604
  ])
3594
3605
  ], 4)
3595
3606
  ]);
@@ -4475,9 +4486,9 @@ const Jl = {
4475
4486
  function sr(e, t, s, n, a, o) {
4476
4487
  const i = f("BIMDataIconDelete"), c = f("BIMDataButton");
4477
4488
  return r(), p("div", {
4478
- class: O({ "not-empty": o.formattedValue })
4489
+ class: S({ "not-empty": o.formattedValue })
4479
4490
  }, [
4480
- M(e.$slots, "beforeDateInput"),
4491
+ x(e.$slots, "beforeDateInput"),
4481
4492
  e.calendarButton ? (r(), p("button", {
4482
4493
  key: 0,
4483
4494
  ref: "calendarButton",
@@ -4488,9 +4499,9 @@ function sr(e, t, s, n, a, o) {
4488
4499
  onFocus: t[1] || (t[1] = (...l) => o.handleButtonFocus && o.handleButtonFocus(...l))
4489
4500
  }, [
4490
4501
  u("span", null, [
4491
- M(e.$slots, "calendarBtn", {}, () => [
4502
+ x(e.$slots, "calendarBtn", {}, () => [
4492
4503
  u("i", {
4493
- class: O(e.calendarButtonIcon)
4504
+ class: S(e.calendarButtonIcon)
4494
4505
  }, [
4495
4506
  A(g(e.calendarButtonIconContent) + " ", 1),
4496
4507
  e.calendarButtonIcon ? C("", !0) : (r(), p("span", Ql, "…"))
@@ -4506,7 +4517,7 @@ function sr(e, t, s, n, a, o) {
4506
4517
  ref: e.refName,
4507
4518
  autocomplete: "off",
4508
4519
  autofocus: e.autofocus,
4509
- class: O([o.computedInputClass, { required: s.required }]),
4520
+ class: S([o.computedInputClass, { required: s.required }]),
4510
4521
  clearButton: e.clearButton,
4511
4522
  disabled: e.disabled,
4512
4523
  maxlength: e.maxlength,
@@ -4545,7 +4556,7 @@ function sr(e, t, s, n, a, o) {
4545
4556
  onClick: o.clearDate
4546
4557
  }, {
4547
4558
  default: h(() => [
4548
- M(e.$slots, "clearBtn", {}, () => [
4559
+ x(e.$slots, "clearBtn", {}, () => [
4549
4560
  _(i, {
4550
4561
  size: "xxxs",
4551
4562
  fill: "",
@@ -4555,7 +4566,7 @@ function sr(e, t, s, n, a, o) {
4555
4566
  ]),
4556
4567
  _: 3
4557
4568
  }, 8, ["disabled", "onClick"])) : C("", !0),
4558
- M(e.$slots, "afterDateInput")
4569
+ x(e.$slots, "afterDateInput")
4559
4570
  ], 2);
4560
4571
  }
4561
4572
  const nr = /* @__PURE__ */ v(Gl, [["render", sr]]), or = {
@@ -4759,9 +4770,9 @@ const nr = /* @__PURE__ */ v(Gl, [["render", sr]]), or = {
4759
4770
  function cr(e, t, s, n, a, o) {
4760
4771
  const i = f("BIMDataIconDelete"), c = f("BIMDataButton");
4761
4772
  return r(), p("div", {
4762
- class: O({ "not-empty": o.formattedValue })
4773
+ class: S({ "not-empty": o.formattedValue })
4763
4774
  }, [
4764
- M(e.$slots, "beforeDateInput"),
4775
+ x(e.$slots, "beforeDateInput"),
4765
4776
  e.calendarButton ? (r(), p("button", {
4766
4777
  key: 0,
4767
4778
  ref: "calendarButton",
@@ -4772,9 +4783,9 @@ function cr(e, t, s, n, a, o) {
4772
4783
  onFocus: t[1] || (t[1] = (...l) => o.handleButtonFocus && o.handleButtonFocus(...l))
4773
4784
  }, [
4774
4785
  u("span", null, [
4775
- M(e.$slots, "calendarBtn", {}, () => [
4786
+ x(e.$slots, "calendarBtn", {}, () => [
4776
4787
  u("i", {
4777
- class: O(e.calendarButtonIcon)
4788
+ class: S(e.calendarButtonIcon)
4778
4789
  }, [
4779
4790
  A(g(e.calendarButtonIconContent) + " ", 1),
4780
4791
  e.calendarButtonIcon ? C("", !0) : (r(), p("span", ar, "…"))
@@ -4790,7 +4801,7 @@ function cr(e, t, s, n, a, o) {
4790
4801
  ref: e.refName,
4791
4802
  autocomplete: "off",
4792
4803
  autofocus: e.autofocus,
4793
- class: O([o.computedInputClass, { required: s.required }]),
4804
+ class: S([o.computedInputClass, { required: s.required }]),
4794
4805
  clearButton: e.clearButton,
4795
4806
  disabled: e.disabled,
4796
4807
  maxlength: e.maxlength,
@@ -4829,7 +4840,7 @@ function cr(e, t, s, n, a, o) {
4829
4840
  onClick: o.clear
4830
4841
  }, {
4831
4842
  default: h(() => [
4832
- M(e.$slots, "clearBtn", {}, () => [
4843
+ x(e.$slots, "clearBtn", {}, () => [
4833
4844
  _(i, {
4834
4845
  size: "xxxs",
4835
4846
  fill: "",
@@ -4839,7 +4850,7 @@ function cr(e, t, s, n, a, o) {
4839
4850
  ]),
4840
4851
  _: 3
4841
4852
  }, 8, ["disabled", "onClick"])) : C("", !0),
4842
- M(e.$slots, "afterDateInput")
4853
+ x(e.$slots, "afterDateInput")
4843
4854
  ], 2);
4844
4855
  }
4845
4856
  const dr = /* @__PURE__ */ v(or, [["render", cr]]), ur = {
@@ -5471,7 +5482,7 @@ function yr(e, t, s, n, a, o) {
5471
5482
  t[4] || (t[4] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5472
5483
  ]
5473
5484
  }, [
5474
- M(e.$slots, "prevIntervalBtn", {}, () => [
5485
+ x(e.$slots, "prevIntervalBtn", {}, () => [
5475
5486
  _(i, {
5476
5487
  name: "doubleChevron",
5477
5488
  size: "xxxs",
@@ -5494,7 +5505,7 @@ function yr(e, t, s, n, a, o) {
5494
5505
  t[9] || (t[9] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5495
5506
  ]
5496
5507
  }, [
5497
- M(e.$slots, "prevIntervalBtn", {}, () => [
5508
+ x(e.$slots, "prevIntervalBtn", {}, () => [
5498
5509
  _(i, {
5499
5510
  name: "chevron",
5500
5511
  size: "xxxs",
@@ -5504,7 +5515,7 @@ function yr(e, t, s, n, a, o) {
5504
5515
  })
5505
5516
  ])
5506
5517
  ], 40, hr),
5507
- M(e.$slots, "default"),
5518
+ x(e.$slots, "default"),
5508
5519
  u("button", {
5509
5520
  ref: "next",
5510
5521
  class: "next",
@@ -5518,7 +5529,7 @@ function yr(e, t, s, n, a, o) {
5518
5529
  t[14] || (t[14] = F(P((...d) => o.arrowRightNext && o.arrowRightNext(...d), ["prevent"]), ["right"]))
5519
5530
  ]
5520
5531
  }, [
5521
- M(e.$slots, "nextIntervalBtn", {}, () => [
5532
+ x(e.$slots, "nextIntervalBtn", {}, () => [
5522
5533
  _(c, {
5523
5534
  size: "xxxs",
5524
5535
  fill: "",
@@ -5540,7 +5551,7 @@ function yr(e, t, s, n, a, o) {
5540
5551
  t[19] || (t[19] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5541
5552
  ]
5542
5553
  }, [
5543
- M(e.$slots, "prevIntervalBtn", {}, () => [
5554
+ x(e.$slots, "prevIntervalBtn", {}, () => [
5544
5555
  _(l, {
5545
5556
  size: "xxxs",
5546
5557
  fill: "",
@@ -5934,7 +5945,7 @@ function Ir(e, t, s, n, a, o) {
5934
5945
  key: i.timestamp,
5935
5946
  ref_for: !0,
5936
5947
  ref: i.isOpenDate ? "openDate" : null,
5937
- class: O(o.cellClasses(i)),
5948
+ class: S(o.cellClasses(i)),
5938
5949
  id: c,
5939
5950
  dataTestTabbableCell: o.isTabbableCell(i, c),
5940
5951
  dataTestOpenDate: i.isOpenDate,
@@ -5950,7 +5961,7 @@ function Ir(e, t, s, n, a, o) {
5950
5961
  ],
5951
5962
  onMouseover: (l) => e.$emit("hover", i)
5952
5963
  }, [
5953
- M(e.$slots, "default", { cell: i })
5964
+ x(e.$slots, "default", { cell: i })
5954
5965
  ], 42, Cr))), 128))
5955
5966
  ]);
5956
5967
  }
@@ -5976,7 +5987,7 @@ function Mr(e, t, s, n, a, o) {
5976
5987
  t[4] || (t[4] = F(P((i) => e.$emit("set-focus"), ["prevent"]), ["right"]))
5977
5988
  ]
5978
5989
  }, [
5979
- M(e.$slots, "default")
5990
+ x(e.$slots, "default")
5980
5991
  ], 40, Br);
5981
5992
  }
5982
5993
  const at = /* @__PURE__ */ v(wr, [["render", Mr]]), xr = {
@@ -6224,7 +6235,7 @@ function Or(e, t, s, n, a, o) {
6224
6235
  const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
6225
6236
  return r(), p("div", null, [
6226
6237
  e.$slots.beforeCalendarHeaderDay ? (r(), p("div", kr, [
6227
- M(e.$slots, "beforeCalendarHeaderDay")
6238
+ x(e.$slots, "beforeCalendarHeaderDay")
6228
6239
  ])) : C("", !0),
6229
6240
  e.showHeader ? (r(), B(c, {
6230
6241
  key: 1,
@@ -6237,10 +6248,10 @@ function Or(e, t, s, n, a, o) {
6237
6248
  onSetFocus: t[3] || (t[3] = (d) => e.$emit("set-focus", d))
6238
6249
  }, {
6239
6250
  prevIntervalBtn: h(() => [
6240
- M(e.$slots, "prevIntervalBtn")
6251
+ x(e.$slots, "prevIntervalBtn")
6241
6252
  ]),
6242
6253
  nextIntervalBtn: h(() => [
6243
- M(e.$slots, "nextIntervalBtn")
6254
+ x(e.$slots, "nextIntervalBtn")
6244
6255
  ]),
6245
6256
  default: h(() => [
6246
6257
  _(i, {
@@ -6263,7 +6274,7 @@ function Or(e, t, s, n, a, o) {
6263
6274
  (r(!0), p(z, null, J(o.daysOfWeek, (d) => (r(), p("span", { key: d }, g(d), 1))), 128))
6264
6275
  ]),
6265
6276
  u("div", $r, [
6266
- _(ne, { name: e.transitionName }, {
6277
+ _(oe, { name: e.transitionName }, {
6267
6278
  default: h(() => [
6268
6279
  (r(), B(l, {
6269
6280
  ref: "cells",
@@ -6277,7 +6288,7 @@ function Or(e, t, s, n, a, o) {
6277
6288
  onHover: t[6] || (t[6] = (d) => o.hover(d))
6278
6289
  }, {
6279
6290
  default: h(({ cell: d }) => [
6280
- M(e.$slots, "dayCellContent", { cell: d }, () => [
6291
+ x(e.$slots, "dayCellContent", { cell: d }, () => [
6281
6292
  A(g(s.dayCellContent(d)), 1)
6282
6293
  ])
6283
6294
  ]),
@@ -6289,7 +6300,7 @@ function Or(e, t, s, n, a, o) {
6289
6300
  ])
6290
6301
  ]),
6291
6302
  e.$slots.calendarFooterDay ? (r(), p("div", Sr, [
6292
- M(e.$slots, "calendarFooterDay")
6303
+ x(e.$slots, "calendarFooterDay")
6293
6304
  ])) : C("", !0)
6294
6305
  ]);
6295
6306
  }
@@ -6382,7 +6393,7 @@ function Ar(e, t, s, n, a, o) {
6382
6393
  const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
6383
6394
  return r(), p("div", null, [
6384
6395
  e.$slots.beforeCalendarHeaderMonth ? (r(), p("div", Er, [
6385
- M(e.$slots, "beforeCalendarHeaderMonth")
6396
+ x(e.$slots, "beforeCalendarHeaderMonth")
6386
6397
  ])) : C("", !0),
6387
6398
  e.showHeader ? (r(), B(c, {
6388
6399
  key: 1,
@@ -6394,10 +6405,10 @@ function Ar(e, t, s, n, a, o) {
6394
6405
  onSetFocus: t[3] || (t[3] = (d) => e.$emit("set-focus", d))
6395
6406
  }, {
6396
6407
  prevIntervalBtn: h(() => [
6397
- M(e.$slots, "prevIntervalBtn")
6408
+ x(e.$slots, "prevIntervalBtn")
6398
6409
  ]),
6399
6410
  nextIntervalBtn: h(() => [
6400
- M(e.$slots, "nextIntervalBtn")
6411
+ x(e.$slots, "nextIntervalBtn")
6401
6412
  ]),
6402
6413
  default: h(() => [
6403
6414
  _(i, {
@@ -6416,7 +6427,7 @@ function Ar(e, t, s, n, a, o) {
6416
6427
  _: 3
6417
6428
  }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : C("", !0),
6418
6429
  u("div", Lr, [
6419
- _(ne, { name: e.transitionName }, {
6430
+ _(oe, { name: e.transitionName }, {
6420
6431
  default: h(() => [
6421
6432
  (r(), B(l, {
6422
6433
  ref: "cells",
@@ -6437,7 +6448,7 @@ function Ar(e, t, s, n, a, o) {
6437
6448
  }, 8, ["name"])
6438
6449
  ]),
6439
6450
  e.$slots.calendarFooterMonth ? (r(), p("div", Pr, [
6440
- M(e.$slots, "calendarFooterMonth")
6451
+ x(e.$slots, "calendarFooterMonth")
6441
6452
  ])) : C("", !0)
6442
6453
  ]);
6443
6454
  }
@@ -6555,7 +6566,7 @@ function Rr(e, t, s, n, a, o) {
6555
6566
  const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
6556
6567
  return r(), p("div", null, [
6557
6568
  e.$slots.beforeCalendarHeaderYear ? (r(), p("div", Hr, [
6558
- M(e.$slots, "beforeCalendarHeaderYear")
6569
+ x(e.$slots, "beforeCalendarHeaderYear")
6559
6570
  ])) : C("", !0),
6560
6571
  e.showHeader ? (r(), B(c, {
6561
6572
  key: 1,
@@ -6567,10 +6578,10 @@ function Rr(e, t, s, n, a, o) {
6567
6578
  onSetFocus: t[1] || (t[1] = (d) => e.$emit("set-focus", d))
6568
6579
  }, {
6569
6580
  prevIntervalBtn: h(() => [
6570
- M(e.$slots, "prevIntervalBtn")
6581
+ x(e.$slots, "prevIntervalBtn")
6571
6582
  ]),
6572
6583
  nextIntervalBtn: h(() => [
6573
- M(e.$slots, "nextIntervalBtn")
6584
+ x(e.$slots, "nextIntervalBtn")
6574
6585
  ]),
6575
6586
  default: h(() => [
6576
6587
  _(i, {
@@ -6586,7 +6597,7 @@ function Rr(e, t, s, n, a, o) {
6586
6597
  _: 3
6587
6598
  }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : C("", !0),
6588
6599
  u("div", zr, [
6589
- _(ne, { name: e.transitionName }, {
6600
+ _(oe, { name: e.transitionName }, {
6590
6601
  default: h(() => [
6591
6602
  (r(), B(l, {
6592
6603
  ref: "cells",
@@ -6607,7 +6618,7 @@ function Rr(e, t, s, n, a, o) {
6607
6618
  }, 8, ["name"])
6608
6619
  ]),
6609
6620
  e.$slots.calendarFooterYear ? (r(), p("div", jr, [
6610
- M(e.$slots, "calendarFooterYear")
6621
+ x(e.$slots, "calendarFooterYear")
6611
6622
  ])) : C("", !0)
6612
6623
  ]);
6613
6624
  }
@@ -7091,7 +7102,7 @@ function Xr(e, t, s, n, a, o) {
7091
7102
  return r(), p("div", {
7092
7103
  id: o.datepickerId,
7093
7104
  ref: "datepicker",
7094
- class: O(["bimdata-datepicker", [s.wrapperClass]]),
7105
+ class: S(["bimdata-datepicker", [s.wrapperClass]]),
7095
7106
  onFocusin: t[10] || (t[10] = (l) => e.handleFocusIn(l)),
7096
7107
  onFocusout: t[11] || (t[11] = (l) => e.handleFocusOut(l)),
7097
7108
  onKeydown: t[12] || (t[12] = F((...l) => o.resetOrClose && o.resetOrClose(...l), ["esc"]))
@@ -7129,19 +7140,19 @@ function Xr(e, t, s, n, a, o) {
7129
7140
  onOpen: o.open,
7130
7141
  onSetFocus: t[0] || (t[0] = (l) => e.setFocus(l)),
7131
7142
  onTab: e.tabThroughNavigation,
7132
- style: k(o.style)
7143
+ style: T(o.style)
7133
7144
  }, {
7134
7145
  beforeDateInput: h(() => [
7135
- M(e.$slots, "beforeDateInput")
7146
+ x(e.$slots, "beforeDateInput")
7136
7147
  ]),
7137
7148
  afterDateInput: h(() => [
7138
- M(e.$slots, "afterDateInput")
7149
+ x(e.$slots, "afterDateInput")
7139
7150
  ]),
7140
7151
  clearBtn: h(() => [
7141
- M(e.$slots, "clearBtn")
7152
+ x(e.$slots, "clearBtn")
7142
7153
  ]),
7143
7154
  calendarBtn: h(() => [
7144
- M(e.$slots, "calendarBtn")
7155
+ x(e.$slots, "calendarBtn")
7145
7156
  ]),
7146
7157
  _: 3
7147
7158
  }, 8, ["id", "autofocus", "calendarButton", "calendarButtonIcon", "calendarButtonIconContent", "clearButton", "clearButtonIcon", "disabled", "format", "inline", "inputClass", "isOpen", "maxlength", "name", "parser", "pattern", "placeholder", "refName", "required", "selectedDates", "showCalendarOnButtonClick", "showCalendarOnFocus", "tabIndex", "translation", "useUtc", "onClear", "onClose", "onOpen", "onTab", "style"])) : (r(), B(c, {
@@ -7178,27 +7189,27 @@ function Xr(e, t, s, n, a, o) {
7178
7189
  onOpen: o.open,
7179
7190
  onSetFocus: t[1] || (t[1] = (l) => e.setFocus(l)),
7180
7191
  onTab: e.tabThroughNavigation,
7181
- style: k(o.style)
7192
+ style: T(o.style)
7182
7193
  }, {
7183
7194
  beforeDateInput: h(() => [
7184
- M(e.$slots, "beforeDateInput")
7195
+ x(e.$slots, "beforeDateInput")
7185
7196
  ]),
7186
7197
  afterDateInput: h(() => [
7187
- M(e.$slots, "afterDateInput")
7198
+ x(e.$slots, "afterDateInput")
7188
7199
  ]),
7189
7200
  clearBtn: h(() => [
7190
- M(e.$slots, "clearBtn")
7201
+ x(e.$slots, "clearBtn")
7191
7202
  ]),
7192
7203
  calendarBtn: h(() => [
7193
- M(e.$slots, "calendarBtn")
7204
+ x(e.$slots, "calendarBtn")
7194
7205
  ]),
7195
7206
  _: 3
7196
7207
  }, 8, ["id", "autofocus", "calendarButton", "calendarButtonIcon", "calendarButtonIconContent", "clearButton", "clearButtonIcon", "disabled", "format", "inline", "inputClass", "isOpen", "maxlength", "name", "parser", "pattern", "placeholder", "refName", "required", "selectedDate", "showCalendarOnButtonClick", "showCalendarOnFocus", "tabIndex", "translation", "typeable", "useUtc", "onClearDate", "onClose", "onOpen", "onTab", "style"])),
7197
7208
  o.isOpen ? (r(), p("div", Wr, [
7198
- _(ne, { name: "toggle" }, {
7209
+ _(oe, { name: "toggle" }, {
7199
7210
  default: h(() => [
7200
7211
  W(u("div", {
7201
- class: O(["bimdata-datepicker__calendar", [o.pickerClasses, s.fixedPosition]]),
7212
+ class: S(["bimdata-datepicker__calendar", [o.pickerClasses, s.fixedPosition]]),
7202
7213
  onMousedown: t[5] || (t[5] = P(() => {
7203
7214
  }, ["prevent"])),
7204
7215
  onFocusin: t[6] || (t[6] = P((l) => e.handleFocusIn(l), ["stop"])),
@@ -7208,14 +7219,14 @@ function Xr(e, t, s, n, a, o) {
7208
7219
  t[9] || (t[9] = F(P((l) => e.tabThroughNavigation(l), ["stop"]), ["tab"]))
7209
7220
  ]
7210
7221
  }, [
7211
- _(ne, { name: "view" }, {
7222
+ _(oe, { name: "view" }, {
7212
7223
  default: h(() => [
7213
7224
  (r(), p("div", {
7214
7225
  ref: "view",
7215
7226
  key: a.view
7216
7227
  }, [
7217
7228
  e.$slots.beforeCalendarHeader ? (r(), p("div", Jr, [
7218
- M(e.$slots, "beforeCalendarHeader")
7229
+ x(e.$slots, "beforeCalendarHeader")
7219
7230
  ])) : C("", !0),
7220
7231
  (r(), B(Me(o.picker), {
7221
7232
  ref: "picker",
@@ -7249,7 +7260,7 @@ function Xr(e, t, s, n, a, o) {
7249
7260
  onSetView: o.setView
7250
7261
  }, Dt({
7251
7262
  dayCellContent: h(({ cell: l }) => [
7252
- l ? M(e.$slots, "dayCellContent", {
7263
+ l ? x(e.$slots, "dayCellContent", {
7253
7264
  key: 0,
7254
7265
  cell: l
7255
7266
  }) : C("", !0)
@@ -7259,12 +7270,12 @@ function Xr(e, t, s, n, a, o) {
7259
7270
  J(a.calendarSlots, (l) => ({
7260
7271
  name: l,
7261
7272
  fn: h(() => [
7262
- M(e.$slots, l)
7273
+ x(e.$slots, l)
7263
7274
  ])
7264
7275
  }))
7265
7276
  ]), 1064, ["day-cell-content", "disabledDates", "firstDayOfWeek", "typeable", "isUpDisabled", "isMinimumView", "openDate", "pageDate", "selectedDate", "selectedToDate", "isDateRange", "showEdgeDates", "fullMonthName", "showHeader", "slideDuration", "tabbableCellId", "transitionName", "translation", "useUtc", "view", "yearPickerRange", "onPageChange", "onSelect", "onSetView"])),
7266
7277
  e.$slots.calendarFooter ? (r(), p("div", Gr, [
7267
- M(e.$slots, "calendarFooter")
7278
+ x(e.$slots, "calendarFooter")
7268
7279
  ])) : C("", !0)
7269
7280
  ]))
7270
7281
  ]),
@@ -7352,11 +7363,11 @@ const Qr = /* @__PURE__ */ v(Yr, [["render", Xr]]), ec = {
7352
7363
  };
7353
7364
  function tc(e, t, s, n, a, o) {
7354
7365
  return r(), B(Me(s.component), {
7355
- style: k(o.style),
7356
- class: O(o.classes)
7366
+ style: T(o.style),
7367
+ class: S(o.classes)
7357
7368
  }, {
7358
7369
  default: h(() => [
7359
- M(e.$slots, "default")
7370
+ x(e.$slots, "default")
7360
7371
  ]),
7361
7372
  _: 3
7362
7373
  }, 8, ["style", "class"]);
@@ -7485,12 +7496,12 @@ const rc = {
7485
7496
  };
7486
7497
  function hc(e, t, s, n, a, o) {
7487
7498
  return r(), p("div", {
7488
- class: O(["bimdata-textarea", {
7499
+ class: S(["bimdata-textarea", {
7489
7500
  "not-empty": s.modelValue !== null && s.modelValue !== "" || s.placeholder !== null,
7490
7501
  error: s.error,
7491
7502
  success: s.success
7492
7503
  }]),
7493
- style: k({ "min-width": s.width, "min-height": s.height })
7504
+ style: T({ "min-width": s.width, "min-height": s.height })
7494
7505
  }, [
7495
7506
  u("textarea", Be({
7496
7507
  ref: "textarea",
@@ -7577,19 +7588,19 @@ function yc(e, t, s, n, a, o) {
7577
7588
  onMouseover: t[0] || (t[0] = (i) => a.hover = !0),
7578
7589
  onMouseleave: t[1] || (t[1] = (i) => a.hover = !1)
7579
7590
  }, [
7580
- M(e.$slots, "content", {}, void 0, !0),
7581
- M(e.$slots, "default", {}, void 0, !0)
7591
+ x(e.$slots, "content", {}, void 0, !0),
7592
+ x(e.$slots, "default", {}, void 0, !0)
7582
7593
  ], 32),
7583
- _(ne, { name: "fade" }, {
7594
+ _(oe, { name: "fade" }, {
7584
7595
  default: h(() => [
7585
7596
  W(u("div", {
7586
7597
  ref: "tooltipText",
7587
- class: O(["bimdata-tooltip__tooltip", [
7598
+ class: S(["bimdata-tooltip__tooltip", [
7588
7599
  `bimdata-tooltip__tooltip--${s.position}`,
7589
7600
  `bimdata-tooltip__tooltip--${s.color}`,
7590
7601
  ...o._className
7591
7602
  ]]),
7592
- style: k({ maxWidth: s.maxWidth })
7603
+ style: T({ maxWidth: s.maxWidth })
7593
7604
  }, g(o._text), 7), [
7594
7605
  [ee, o.isDisplayed]
7595
7606
  ])
@@ -7658,7 +7669,7 @@ function Oc(e, t, s, n, a, o) {
7658
7669
  s.viewpoints.length > 0 ? (r(), p(z, { key: 0 }, [
7659
7670
  u("div", wc, [
7660
7671
  (r(!0), p(z, null, J(s.viewpoints.slice(0, 4), (m, y) => (r(), p("div", {
7661
- class: O(["image-preview", { single: s.viewpoints.length === 1 }]),
7672
+ class: S(["image-preview", { single: s.viewpoints.length === 1 }]),
7662
7673
  key: m.guid || y
7663
7674
  }, [
7664
7675
  m.snapshot.snapshot_data ? (r(), p("img", {
@@ -7795,7 +7806,7 @@ function Uc(e, t, s, n, a, o) {
7795
7806
  const i = f("BIMDataIconCamera"), c = f("BIMDataButton"), l = f("BIMDataTooltip"), d = f("BIMDataIconUnarchive");
7796
7807
  return s.isXs ? (r(), p("div", {
7797
7808
  key: 0,
7798
- class: O(["bcf-topic-snapshots-actions flex", { "bcf-topic-snapshots-actions__xs": s.isXs }])
7809
+ class: S(["bcf-topic-snapshots-actions flex", { "bcf-topic-snapshots-actions__xs": s.isXs }])
7799
7810
  }, [
7800
7811
  _(l, {
7801
7812
  disabled: s.viewpoints.length >= 4,
@@ -7940,7 +7951,7 @@ function Kc(e, t, s, n, a, o) {
7940
7951
  return r(), p("div", zc, [
7941
7952
  s.viewpoints.length > 0 ? (r(), p("div", jc, [
7942
7953
  (r(!0), p(z, null, J(s.viewpoints.slice(0, 4), (d, m) => (r(), p("div", {
7943
- class: O(["snapshot-preview", { single: s.viewpoints.length === 1 }]),
7954
+ class: S(["snapshot-preview", { single: s.viewpoints.length === 1 }]),
7944
7955
  key: d.guid || m
7945
7956
  }, [
7946
7957
  d.snapshot.snapshot_data ? (r(), p("img", {
@@ -8068,12 +8079,12 @@ const Zc = {
8068
8079
  "topic-update-error"
8069
8080
  ],
8070
8081
  setup(e, { emit: t }) {
8071
- const s = Ce(), n = j(() => !e.topic), a = j(() => Math.max(0, ...e.topics.map((U) => U.index)) + 1), o = S(""), i = S(null), c = S(null), l = S(null), d = S(null), m = S(null), y = S(null), D = S(""), b = S([]), w = S([]), T = S([]), $ = S([]), N = S([]), L = j(
8072
- () => w.value.concat(T.value).filter((U) => !N.value.some((x) => x.guid === U.guid)).filter((U) => U.snapshot)
8073
- ), K = S(!1), R = S(!1), V = S(!1), X = () => {
8074
- o.value = "", i.value = null, c.value = null, l.value = null, d.value = null, m.value = null, y.value = null, D.value = "", b.value = [], w.value = [], T.value = [], $.value = [], N.value = [], K.value = !1, R.value = !1, V.value = !1;
8082
+ const s = Ce(), n = j(() => !e.topic), a = j(() => Math.max(0, ...e.topics.map((U) => U.index)) + 1), o = $(""), i = $(null), c = $(null), l = $(null), d = $(null), m = $(null), y = $(null), D = $(""), b = $([]), w = $([]), V = $([]), M = $([]), N = $([]), L = j(
8083
+ () => w.value.concat(V.value).filter((U) => !N.value.some((k) => k.guid === U.guid)).filter((U) => U.snapshot)
8084
+ ), K = $(!1), R = $(!1), O = $(!1), X = () => {
8085
+ o.value = "", i.value = null, c.value = null, l.value = null, d.value = null, m.value = null, y.value = null, D.value = "", b.value = [], w.value = [], V.value = [], M.value = [], N.value = [], K.value = !1, R.value = !1, O.value = !1;
8075
8086
  };
8076
- return ie(
8087
+ return ne(
8077
8088
  () => e.topic,
8078
8089
  (U) => {
8079
8090
  U ? (o.value = U.title || "", i.value = U.topic_type || null, c.value = U.priority || null, l.value = U.topic_status || null, d.value = U.stage || null, m.value = U.assigned_to || null, y.value = U.due_date, D.value = U.description || "", b.value = U.labels || [], w.value = U.viewpoints || []) : X();
@@ -8084,7 +8095,7 @@ const Zc = {
8084
8095
  hasErrorTitle: K,
8085
8096
  isCreation: n,
8086
8097
  isOpenModal: R,
8087
- loading: V,
8098
+ loading: O,
8088
8099
  nextIndex: a,
8089
8100
  topicAssignedTo: m,
8090
8101
  topicDescription: D,
@@ -8098,33 +8109,33 @@ const Zc = {
8098
8109
  viewpointsToDisplay: L,
8099
8110
  // Methods
8100
8111
  createViewpoint: (U) => {
8101
- T.value.push(U);
8112
+ V.value.push(U);
8102
8113
  },
8103
8114
  deleteViewpoint: (U) => {
8104
8115
  if (U.guid)
8105
8116
  N.value.push(U);
8106
8117
  else {
8107
- let x = T.value.indexOf(U);
8108
- T.value.splice(x, 1);
8118
+ let k = V.value.indexOf(U);
8119
+ V.value.splice(k, 1);
8109
8120
  }
8110
8121
  },
8111
8122
  submit: async () => {
8112
- var U, x;
8123
+ var U, k;
8113
8124
  if (!o.value) {
8114
8125
  K.value = !0;
8115
8126
  return;
8116
8127
  }
8117
8128
  try {
8118
- V.value = !0, $.value = w.value.map((Y) => ({
8129
+ O.value = !0, M.value = w.value.map((Y) => ({
8119
8130
  ...Y,
8120
8131
  snapshot: void 0
8121
- })), $.value.length === 0 && T.value.sort(
8132
+ })), M.value.length === 0 && V.value.sort(
8122
8133
  (Y, se) => (Y.order ?? 1 / 0) - (se.order ?? 1 / 0)
8123
8134
  );
8124
- const I = $.value.concat(T.value);
8135
+ const I = M.value.concat(V.value);
8125
8136
  e.topicObjects && (I.length > 0 ? I.forEach((Y) => {
8126
8137
  Object.assign(Y, { components: e.topicObjects }), bs(Y);
8127
- }) : T.value.push({ components: e.topicObjects })), e.topicAnnotations && I.forEach((Y) => Y.pins = e.topicAnnotations);
8138
+ }) : V.value.push({ components: e.topicObjects })), e.topicAnnotations && I.forEach((Y) => Y.pins = e.topicAnnotations);
8128
8139
  const E = {
8129
8140
  guid: (U = e.topic) == null ? void 0 : U.guid,
8130
8141
  title: o.value,
@@ -8137,14 +8148,14 @@ const Zc = {
8137
8148
  description: D.value,
8138
8149
  labels: b.value,
8139
8150
  // Keep topic models unchanged if any, otherwise use provided topic models.
8140
- models: ((x = e.topic) == null ? void 0 : x.models) || e.topicModels
8151
+ models: ((k = e.topic) == null ? void 0 : k.models) || e.topicModels
8141
8152
  };
8142
8153
  let H;
8143
8154
  n.value ? H = await s.createTopic(e.project, E) : H = await s.updateTopic(e.project, E), await Promise.all([
8144
- ...T.value.map(
8155
+ ...V.value.map(
8145
8156
  (Y) => s.createViewpoint(e.project, H, Y)
8146
8157
  ),
8147
- ...$.value.map(
8158
+ ...M.value.map(
8148
8159
  (Y) => s.updateViewpoint(e.project, H, Y)
8149
8160
  ),
8150
8161
  ...N.value.map(
@@ -8154,7 +8165,7 @@ const Zc = {
8154
8165
  } catch (I) {
8155
8166
  t(n.value ? "topic-create-error" : "topic-update-error", I);
8156
8167
  } finally {
8157
- V.value = !1;
8168
+ O.value = !1;
8158
8169
  }
8159
8170
  }
8160
8171
  };
@@ -8170,7 +8181,7 @@ const Zc = {
8170
8181
  class: "bcf-topic-form__loader"
8171
8182
  };
8172
8183
  function cd(e, t, s, n, a, o) {
8173
- const i = f("BIMDataIconArrow"), c = f("BIMDataButton"), l = f("BIMDataTextbox"), d = f("BIMDataIconClose"), m = f("BcfTopicSnapshots"), y = f("BcfTopicSnapshotsActions"), D = f("BIMDataIconPlus"), b = f("BIMDataTooltip"), w = f("BcfTopicImages"), T = f("BIMDataInput"), $ = f("BIMDataSelect"), N = f("BIMDataDatePicker"), L = f("BIMDataTextarea"), K = f("BIMDataLoading"), R = f("BIMDataSafeZoneModal");
8184
+ const i = f("BIMDataIconArrow"), c = f("BIMDataButton"), l = f("BIMDataTextbox"), d = f("BIMDataIconClose"), m = f("BcfTopicSnapshots"), y = f("BcfTopicSnapshotsActions"), D = f("BIMDataIconPlus"), b = f("BIMDataTooltip"), w = f("BcfTopicImages"), V = f("BIMDataInput"), M = f("BIMDataSelect"), N = f("BIMDataDatePicker"), L = f("BIMDataTextarea"), K = f("BIMDataLoading"), R = f("BIMDataSafeZoneModal");
8174
8185
  return r(), p("div", Wc, [
8175
8186
  u("div", Jc, [
8176
8187
  s.uiConfig.backButton ? (r(), B(c, {
@@ -8178,7 +8189,7 @@ function cd(e, t, s, n, a, o) {
8178
8189
  ghost: "",
8179
8190
  rounded: "",
8180
8191
  icon: "",
8181
- onClick: t[0] || (t[0] = (V) => e.$emit("back"))
8192
+ onClick: t[0] || (t[0] = (O) => e.$emit("back"))
8182
8193
  }, {
8183
8194
  default: h(() => [
8184
8195
  _(i, {
@@ -8203,7 +8214,7 @@ function cd(e, t, s, n, a, o) {
8203
8214
  ghost: "",
8204
8215
  rounded: "",
8205
8216
  icon: "",
8206
- onClick: t[1] || (t[1] = (V) => e.$emit("close"))
8217
+ onClick: t[1] || (t[1] = (O) => e.$emit("close"))
8207
8218
  }, {
8208
8219
  default: h(() => [
8209
8220
  _(d, {
@@ -8239,7 +8250,7 @@ function cd(e, t, s, n, a, o) {
8239
8250
  fill: "",
8240
8251
  radius: "",
8241
8252
  disabled: !s.objectsEditEnabled,
8242
- onClick: t[2] || (t[2] = (V) => e.$emit("edit-topic-objects", s.topic))
8253
+ onClick: t[2] || (t[2] = (O) => e.$emit("edit-topic-objects", s.topic))
8243
8254
  }, {
8244
8255
  default: h(() => [
8245
8256
  _(D, {
@@ -8263,7 +8274,7 @@ function cd(e, t, s, n, a, o) {
8263
8274
  fill: "",
8264
8275
  radius: "",
8265
8276
  disabled: !s.annotationsEditEnabled || n.viewpointsToDisplay.length === 0,
8266
- onClick: t[3] || (t[3] = (V) => e.$emit("edit-topic-annotations", s.topic))
8277
+ onClick: t[3] || (t[3] = (O) => e.$emit("edit-topic-annotations", s.topic))
8267
8278
  }, {
8268
8279
  default: h(() => [
8269
8280
  _(D, {
@@ -8286,53 +8297,53 @@ function cd(e, t, s, n, a, o) {
8286
8297
  onDeleteViewpoint: n.deleteViewpoint
8287
8298
  }, null, 8, ["viewpoints", "onCreateViewpoint", "onDeleteViewpoint"])),
8288
8299
  u("div", id, [
8289
- _(T, {
8300
+ _(V, {
8290
8301
  placeholder: e.$t("BcfComponents.BcfTopicForm.titlePlaceholder"),
8291
8302
  error: n.hasErrorTitle,
8292
8303
  errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
8293
8304
  modelValue: n.topicTitle,
8294
- "onUpdate:modelValue": t[4] || (t[4] = (V) => n.topicTitle = V),
8305
+ "onUpdate:modelValue": t[4] || (t[4] = (O) => n.topicTitle = O),
8295
8306
  onKeyup: F(P(n.submit, ["stop"]), ["enter"])
8296
8307
  }, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
8297
- _($, {
8308
+ _(M, {
8298
8309
  width: "100%",
8299
8310
  label: e.$t("BcfComponents.BcfTopicForm.typeLabel"),
8300
8311
  options: s.extensions.topic_type,
8301
8312
  disabled: s.extensions.topic_type.length === 0,
8302
8313
  modelValue: n.topicType,
8303
- "onUpdate:modelValue": t[5] || (t[5] = (V) => n.topicType = V)
8314
+ "onUpdate:modelValue": t[5] || (t[5] = (O) => n.topicType = O)
8304
8315
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8305
- _($, {
8316
+ _(M, {
8306
8317
  width: "100%",
8307
8318
  label: e.$t("BcfComponents.BcfTopicForm.priorityLabel"),
8308
8319
  options: s.extensions.priority,
8309
8320
  disabled: s.extensions.priority.length === 0,
8310
8321
  modelValue: n.topicPriority,
8311
- "onUpdate:modelValue": t[6] || (t[6] = (V) => n.topicPriority = V)
8322
+ "onUpdate:modelValue": t[6] || (t[6] = (O) => n.topicPriority = O)
8312
8323
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8313
- _($, {
8324
+ _(M, {
8314
8325
  width: "100%",
8315
8326
  label: e.$t("BcfComponents.BcfTopicForm.statusLabel"),
8316
8327
  options: s.extensions.topic_status,
8317
8328
  disabled: s.extensions.topic_status.length === 0,
8318
8329
  modelValue: n.topicStatus,
8319
- "onUpdate:modelValue": t[7] || (t[7] = (V) => n.topicStatus = V)
8330
+ "onUpdate:modelValue": t[7] || (t[7] = (O) => n.topicStatus = O)
8320
8331
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8321
- _($, {
8332
+ _(M, {
8322
8333
  width: "100%",
8323
8334
  label: e.$t("BcfComponents.BcfTopicForm.stageLabel"),
8324
8335
  options: s.extensions.stage,
8325
8336
  disabled: s.extensions.stage.length === 0,
8326
8337
  modelValue: n.topicStage,
8327
- "onUpdate:modelValue": t[8] || (t[8] = (V) => n.topicStage = V)
8338
+ "onUpdate:modelValue": t[8] || (t[8] = (O) => n.topicStage = O)
8328
8339
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8329
- _($, {
8340
+ _(M, {
8330
8341
  width: "100%",
8331
8342
  label: e.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
8332
8343
  options: s.extensions.user_id_type,
8333
8344
  disabled: s.extensions.user_id_type.length === 0,
8334
8345
  modelValue: n.topicAssignedTo,
8335
- "onUpdate:modelValue": t[9] || (t[9] = (V) => n.topicAssignedTo = V)
8346
+ "onUpdate:modelValue": t[9] || (t[9] = (O) => n.topicAssignedTo = O)
8336
8347
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8337
8348
  u("div", ad, [
8338
8349
  _(N, {
@@ -8340,7 +8351,7 @@ function cd(e, t, s, n, a, o) {
8340
8351
  placeholder: e.$t("BcfComponents.BcfTopicForm.dueDateLabel"),
8341
8352
  value: n.topicDueDate,
8342
8353
  modelValue: n.topicDueDate,
8343
- "onUpdate:modelValue": t[10] || (t[10] = (V) => n.topicDueDate = V),
8354
+ "onUpdate:modelValue": t[10] || (t[10] = (O) => n.topicDueDate = O),
8344
8355
  clearButton: !0
8345
8356
  }, null, 8, ["placeholder", "value", "modelValue"])
8346
8357
  ]),
@@ -8349,16 +8360,16 @@ function cd(e, t, s, n, a, o) {
8349
8360
  name: "description",
8350
8361
  label: e.$t("BcfComponents.BcfTopicForm.descriptionLabel"),
8351
8362
  modelValue: n.topicDescription,
8352
- "onUpdate:modelValue": t[11] || (t[11] = (V) => n.topicDescription = V),
8363
+ "onUpdate:modelValue": t[11] || (t[11] = (O) => n.topicDescription = O),
8353
8364
  fitContent: ""
8354
8365
  }, null, 8, ["label", "modelValue"]),
8355
- _($, {
8366
+ _(M, {
8356
8367
  width: "100%",
8357
8368
  label: e.$t("BcfComponents.BcfTopicForm.labelsLabel"),
8358
8369
  options: s.extensions.topic_label,
8359
8370
  disabled: s.extensions.topic_label.length === 0,
8360
8371
  modelValue: n.topicLabels,
8361
- "onUpdate:modelValue": t[12] || (t[12] = (V) => n.topicLabels = V),
8372
+ "onUpdate:modelValue": t[12] || (t[12] = (O) => n.topicLabels = O),
8362
8373
  multi: !0
8363
8374
  }, null, 8, ["label", "options", "disabled", "modelValue"])
8364
8375
  ])
@@ -8391,7 +8402,7 @@ function cd(e, t, s, n, a, o) {
8391
8402
  color: "high",
8392
8403
  fill: "",
8393
8404
  radius: "",
8394
- onClick: t[13] || (t[13] = (V) => e.$emit("close"))
8405
+ onClick: t[13] || (t[13] = (O) => e.$emit("close"))
8395
8406
  }, {
8396
8407
  default: h(() => [
8397
8408
  A(g(e.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
@@ -8402,7 +8413,7 @@ function cd(e, t, s, n, a, o) {
8402
8413
  color: "primary",
8403
8414
  outline: "",
8404
8415
  radius: "",
8405
- onClick: t[14] || (t[14] = (V) => n.isOpenModal = !1)
8416
+ onClick: t[14] || (t[14] = (O) => n.isOpenModal = !1)
8406
8417
  }, {
8407
8418
  default: h(() => [
8408
8419
  A(g(e.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
@@ -8500,14 +8511,14 @@ function fd(e, t, s, n, a, o) {
8500
8511
  class: "bimdata-dropdown-list",
8501
8512
  direction: s.directionClass,
8502
8513
  closeOnElementClick: s.closeOnElementClick,
8503
- style: k(o.style)
8514
+ style: T(o.style)
8504
8515
  }, [
8505
8516
  u("div", {
8506
- class: O(["bimdata-dropdown-list__content", { active: a.displayed, disabled: s.disabled }]),
8517
+ class: S(["bimdata-dropdown-list__content", { active: a.displayed, disabled: s.disabled }]),
8507
8518
  onClick: t[0] || (t[0] = (...m) => o.onHeaderClick && o.onHeaderClick(...m)),
8508
- style: k(o.style)
8519
+ style: T(o.style)
8509
8520
  }, [
8510
- M(e.$slots, "header", { isOpen: a.displayed }, void 0, !0),
8521
+ x(e.$slots, "header", { isOpen: a.displayed }, void 0, !0),
8511
8522
  _(c, {
8512
8523
  color: "default",
8513
8524
  icon: "",
@@ -8524,14 +8535,14 @@ function fd(e, t, s, n, a, o) {
8524
8535
  ]),
8525
8536
  _: 1
8526
8537
  }),
8527
- M(e.$slots, "contentAfterBtn", { isOpen: a.displayed }, void 0, !0)
8538
+ x(e.$slots, "contentAfterBtn", { isOpen: a.displayed }, void 0, !0)
8528
8539
  ], 6),
8529
- _(ne, {
8540
+ _(oe, {
8530
8541
  name: `slide-fade-${s.transitionName}`
8531
8542
  }, {
8532
8543
  default: h(() => [
8533
8544
  W(_(l, {
8534
- class: O(`submenu submenu--${s.directionClass}`),
8545
+ class: S(`submenu submenu--${s.directionClass}`),
8535
8546
  list: s.list,
8536
8547
  perPage: s.perPage,
8537
8548
  elementKey: s.elementKey,
@@ -8539,7 +8550,7 @@ function fd(e, t, s, n, a, o) {
8539
8550
  loading: s.loading
8540
8551
  }, {
8541
8552
  element: h(({ element: m }) => [
8542
- M(e.$slots, "element", {
8553
+ x(e.$slots, "element", {
8543
8554
  element: m,
8544
8555
  close: o.away,
8545
8556
  isOpen: a.displayed
@@ -8591,8 +8602,8 @@ const hd = {
8591
8602
  function gd(e, t, s, n, a, o) {
8592
8603
  const i = f("BIMDataIconUser");
8593
8604
  return r(), p("div", {
8594
- class: O(["user-avatar", `user-avatar--${s.user.profile_picture ? "silver-light" : s.color}`]),
8595
- style: k({
8605
+ class: S(["user-avatar", `user-avatar--${s.user.profile_picture ? "silver-light" : s.color}`]),
8606
+ style: T({
8596
8607
  width: `${s.size}px`,
8597
8608
  height: `${s.size}px`,
8598
8609
  fontSize: `${s.initialsSize ? s.initialsSize : +s.size * 0.382}px`
@@ -8649,27 +8660,27 @@ const yd = {
8649
8660
  },
8650
8661
  emits: ["comment-updated", "comment-deleted", "view-comment-snapshot"],
8651
8662
  setup(e, { emit: t }) {
8652
- const s = It("$viewer", null), n = Ce(), a = S(!1), o = S(!1), i = () => o.value = !1, c = () => o.value = !o.value, l = S(e.comment.comment), d = S(null), m = async () => {
8663
+ const s = It("$viewer", null), n = Ce(), a = $(!1), o = $(!1), i = () => o.value = !1, c = () => o.value = !o.value, l = $(e.comment.comment), d = $(null), m = async () => {
8653
8664
  d.value = await n.fetchTopicCommentViewpoint(
8654
8665
  e.project,
8655
8666
  e.topic,
8656
8667
  e.comment
8657
8668
  );
8658
- }, y = S(!1), D = () => {
8669
+ }, y = $(!1), D = () => {
8659
8670
  y.value = !0, i();
8660
8671
  }, b = () => {
8661
8672
  y.value = !1, l.value = e.comment.comment;
8662
8673
  }, w = async () => {
8663
8674
  d.value.guid && await n.deleteViewpoint(e.project, e.topic, d.value), d.value = null;
8664
- }, T = S(!1), $ = S([]), N = (I) => {
8675
+ }, V = $(!1), M = $([]), N = (I) => {
8665
8676
  I.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", I.$viewer.localContext.el.style.boxSizing = "border-box", I.$viewer.localContext.el.style.opacity = ".85";
8666
8677
  }, L = (I) => {
8667
8678
  I.$viewer.localContext.el.style.border = "", I.$viewer.localContext.el.style.boxSizing = "", I.$viewer.localContext.el.style.opacity = "";
8668
8679
  }, K = async () => {
8669
- $.value.length === 1 ? await R($.value[0]) : $.value.length > 1 && (T.value = !0);
8680
+ M.value.length === 1 ? await R(M.value[0]) : M.value.length > 1 && (V.value = !0);
8670
8681
  }, R = async ({ viewer: I }) => {
8671
- L(I), T.value = !1, d.value = await I.getViewpoint();
8672
- }, V = async () => {
8682
+ L(I), V.value = !1, d.value = await I.getViewpoint();
8683
+ }, O = async () => {
8673
8684
  var I;
8674
8685
  try {
8675
8686
  if (e.comment.comment === l.value && !d.value) {
@@ -8694,7 +8705,7 @@ const yd = {
8694
8705
  } finally {
8695
8706
  a.value = !1;
8696
8707
  }
8697
- }, X = S(!1), q = () => {
8708
+ }, X = $(!1), q = () => {
8698
8709
  X.value = !0, i();
8699
8710
  }, te = async () => {
8700
8711
  try {
@@ -8716,7 +8727,7 @@ const yd = {
8716
8727
  { viewpoint: I }
8717
8728
  ) : t("view-comment-snapshot", I);
8718
8729
  };
8719
- let U, x;
8730
+ let U, k;
8720
8731
  return Ye(async () => {
8721
8732
  if (e.comment.viewpoint_guid && await m(), s) {
8722
8733
  const I = () => {
@@ -8725,14 +8736,14 @@ const yd = {
8725
8736
  ([H, Y]) => Y.map((se, ae) => ({ key: `${H}-${ae}`, id: H, index: ae, viewer: se }))
8726
8737
  ).flat();
8727
8738
  };
8728
- $.value = I(), U = s.globalContext.hub.on("plugin-created", () => {
8729
- $.value = I();
8730
- }), x = s.globalContext.hub.on("plugin-destroyed", () => {
8731
- $.value = I();
8739
+ M.value = I(), U = s.globalContext.hub.on("plugin-created", () => {
8740
+ M.value = I();
8741
+ }), k = s.globalContext.hub.on("plugin-destroyed", () => {
8742
+ M.value = I();
8732
8743
  });
8733
8744
  }
8734
8745
  }), wt(() => {
8735
- s && (s.globalContext.hub.off(U), s.globalContext.hub.off(x));
8746
+ s && (s.globalContext.hub.off(U), s.globalContext.hub.off(k));
8736
8747
  }), {
8737
8748
  // References
8738
8749
  isDeleting: X,
@@ -8741,8 +8752,8 @@ const yd = {
8741
8752
  loading: a,
8742
8753
  showMenu: o,
8743
8754
  text: l,
8744
- viewerSelectOptions: $,
8745
- viewerSelectVisible: T,
8755
+ viewerSelectOptions: M,
8756
+ viewerSelectVisible: V,
8746
8757
  viewpoint: d,
8747
8758
  // Methods
8748
8759
  cancelUpdate: b,
@@ -8755,7 +8766,7 @@ const yd = {
8755
8766
  openCommentSnapshot: Q,
8756
8767
  setCommentViewpoint: K,
8757
8768
  submitDelete: te,
8758
- submitUpdate: V,
8769
+ submitUpdate: O,
8759
8770
  toggleMenu: c,
8760
8771
  loadViewpoint: m,
8761
8772
  unhighlightViewer: L
@@ -8775,7 +8786,7 @@ const yd = {
8775
8786
  class: "topic-comment__content__snapshot"
8776
8787
  }, Fd = ["src"];
8777
8788
  function Ed(e, t, s, n, a, o) {
8778
- const i = f("UserAvatar"), c = f("BIMDataIconUser"), l = f("BIMDataTextbox"), d = f("BIMDataIconEdit"), m = f("BIMDataButton"), y = f("BIMDataIconDelete"), D = f("BIMDataIconClose"), b = f("BIMDataIconUndo"), w = f("BIMDataIconValidate"), T = f("BIMDataIconEllipsis"), $ = f("BIMDataTextarea"), N = f("BIMDataIconCamera"), L = f("BIMDataDropdownList"), K = f("BIMDataLoading");
8789
+ const i = f("UserAvatar"), c = f("BIMDataIconUser"), l = f("BIMDataTextbox"), d = f("BIMDataIconEdit"), m = f("BIMDataButton"), y = f("BIMDataIconDelete"), D = f("BIMDataIconClose"), b = f("BIMDataIconUndo"), w = f("BIMDataIconValidate"), V = f("BIMDataIconEllipsis"), M = f("BIMDataTextarea"), N = f("BIMDataIconCamera"), L = f("BIMDataDropdownList"), K = f("BIMDataLoading");
8779
8790
  return r(), p("div", vd, [
8780
8791
  u("div", Dd, [
8781
8792
  u("div", Cd, [
@@ -8926,7 +8937,7 @@ function Ed(e, t, s, n, a, o) {
8926
8937
  onClick: n.toggleMenu
8927
8938
  }, {
8928
8939
  default: h(() => [
8929
- _(T, {
8940
+ _(V, {
8930
8941
  size: "l",
8931
8942
  fill: "",
8932
8943
  color: "granite-light"
@@ -8938,8 +8949,8 @@ function Ed(e, t, s, n, a, o) {
8938
8949
  ])
8939
8950
  ]),
8940
8951
  u("div", $d, [
8941
- _($, {
8942
- class: O({ editing: n.isEditing }),
8952
+ _(M, {
8953
+ class: S({ editing: n.isEditing }),
8943
8954
  width: "100%",
8944
8955
  rows: "1",
8945
8956
  modelValue: n.text,
@@ -8973,8 +8984,8 @@ function Ed(e, t, s, n, a, o) {
8973
8984
  element: h(({ element: R }) => [
8974
8985
  u("div", {
8975
8986
  style: { width: "100%" },
8976
- onMouseenter: (V) => n.highlightViewer(R.viewer),
8977
- onMouseleave: (V) => n.unhighlightViewer(R.viewer)
8987
+ onMouseenter: (O) => n.highlightViewer(R.viewer),
8988
+ onMouseleave: (O) => n.unhighlightViewer(R.viewer)
8978
8989
  }, g(`${R.id} (${R.index})`), 41, Od)
8979
8990
  ]),
8980
8991
  _: 1
@@ -9041,15 +9052,15 @@ const Pd = {
9041
9052
  },
9042
9053
  emis: ["comment-created", "comment-updated", "comment-deleted", "view-comment-snapshot"],
9043
9054
  setup(e, { emit: t }) {
9044
- const s = Ce(), n = S([]), a = S(!1), o = S(!1), i = S(null), c = S(""), l = S(null), d = async () => {
9055
+ const s = Ce(), n = $([]), a = $(!1), o = $(!1), i = $(null), c = $(""), l = $(null), d = async () => {
9045
9056
  n.value = await s.fetchTopicComments(e.project, e.topic);
9046
- }, m = It("$viewer", null), y = S(!1), D = S([]), b = (q) => {
9057
+ }, m = It("$viewer", null), y = $(!1), D = $([]), b = (q) => {
9047
9058
  q.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", q.$viewer.localContext.el.style.boxSizing = "border-box", q.$viewer.localContext.el.style.opacity = ".85";
9048
9059
  }, w = (q) => {
9049
9060
  q.$viewer.localContext.el.style.border = "", q.$viewer.localContext.el.style.boxSizing = "", q.$viewer.localContext.el.style.opacity = "";
9050
- }, T = async () => {
9051
- D.value.length === 1 ? await $(D.value[0]) : D.value.length > 1 && (y.value = !0);
9052
- }, $ = async ({ viewer: q }) => {
9061
+ }, V = async () => {
9062
+ D.value.length === 1 ? await M(D.value[0]) : D.value.length > 1 && (y.value = !0);
9063
+ }, M = async ({ viewer: q }) => {
9053
9064
  w(q), y.value = !1, l.value = await q.getViewpoint();
9054
9065
  }, N = () => {
9055
9066
  l.value = null;
@@ -9074,28 +9085,28 @@ const Pd = {
9074
9085
  }, R = (q) => {
9075
9086
  d(), t("comment-deleted", q);
9076
9087
  };
9077
- ie(
9088
+ ne(
9078
9089
  () => e.topic,
9079
9090
  () => d(),
9080
9091
  { immediate: !0 }
9081
- ), ie(a, () => setTimeout(() => a.value && i.value.focus(), 50));
9082
- let V, X;
9092
+ ), ne(a, () => setTimeout(() => a.value && i.value.focus(), 50));
9093
+ let O, X;
9083
9094
  return Ye(() => {
9084
9095
  if (m) {
9085
9096
  const q = () => {
9086
9097
  var te;
9087
9098
  return Object.entries(((te = e.getViewers) == null ? void 0 : te.call(e)) ?? []).map(
9088
- ([Q, U]) => U.map((x, I) => ({ key: `${Q}-${I}`, id: Q, index: I, viewer: x }))
9099
+ ([Q, U]) => U.map((k, I) => ({ key: `${Q}-${I}`, id: Q, index: I, viewer: k }))
9089
9100
  ).flat();
9090
9101
  };
9091
- D.value = q(), V = m.globalContext.hub.on("plugin-created", () => {
9102
+ D.value = q(), O = m.globalContext.hub.on("plugin-created", () => {
9092
9103
  D.value = q();
9093
9104
  }), X = m.globalContext.hub.on("plugin-destroyed", () => {
9094
9105
  D.value = q();
9095
9106
  });
9096
9107
  }
9097
9108
  }), wt(() => {
9098
- m && (m.globalContext.hub.off(V), m.globalContext.hub.off(X));
9109
+ m && (m.globalContext.hub.off(O), m.globalContext.hub.off(X));
9099
9110
  }), {
9100
9111
  // References
9101
9112
  comments: n,
@@ -9108,13 +9119,13 @@ const Pd = {
9108
9119
  viewpoint: l,
9109
9120
  isViewer: !!m,
9110
9121
  // Methods
9111
- createViewpoint: $,
9122
+ createViewpoint: M,
9112
9123
  deleteViewpoint: N,
9113
9124
  highlightViewer: b,
9114
9125
  loadComments: d,
9115
9126
  onCommentDeleted: R,
9116
9127
  onCommentUpdated: K,
9117
- setCommentViewpoint: T,
9128
+ setCommentViewpoint: V,
9118
9129
  submitComment: L,
9119
9130
  unhighlightViewer: w
9120
9131
  };
@@ -9344,11 +9355,11 @@ function su(e, t, s, n, a, o) {
9344
9355
  u("div", {
9345
9356
  class: "bimdata-carousel__container__slider",
9346
9357
  ref: "slider",
9347
- style: k({
9358
+ style: T({
9348
9359
  transform: `translateX(-${a.translations[a.index]}px)`
9349
9360
  })
9350
9361
  }, [
9351
- M(e.$slots, "default", {}, void 0, !0)
9362
+ x(e.$slots, "default", {}, void 0, !0)
9352
9363
  ], 4)
9353
9364
  ]),
9354
9365
  W(_(c, {
@@ -9459,8 +9470,8 @@ function iu(e, t, s, n, a, o) {
9459
9470
  fill: s.fill,
9460
9471
  fillColor: s.fillColor,
9461
9472
  color: s.color,
9462
- class: O(o.classes),
9463
- style: k(o.style)
9473
+ class: S(o.classes),
9474
+ style: T(o.style)
9464
9475
  }, null, 8, ["fill", "fillColor", "color", "class", "style"]);
9465
9476
  }
9466
9477
  const au = /* @__PURE__ */ v(ou, [["render", iu], ["__scopeId", "data-v-a53c2882"]]);
@@ -9504,12 +9515,12 @@ const lu = {
9504
9515
  function cu(e, t, s, n, a, o) {
9505
9516
  const i = f("BIMDataIconInformation"), c = f("BIMDataIcon"), l = f("BIMDataCarousel"), d = f("BcfTopicDefaultImage");
9506
9517
  return r(), p("div", {
9507
- class: O(["bcf-topic-viewpoints", { empty: n.viewpoints.length === 0 }])
9518
+ class: S(["bcf-topic-viewpoints", { empty: n.viewpoints.length === 0 }])
9508
9519
  }, [
9509
9520
  s.topic.topic_status ? (r(), p("div", {
9510
9521
  key: 0,
9511
9522
  class: "status-badge",
9512
- style: k({
9523
+ style: T({
9513
9524
  backgroundColor: `#${n.statusColor}`,
9514
9525
  color: n.adjustTextColor(`#${n.statusColor}`, "#FFF", "#2F374A")
9515
9526
  })
@@ -9608,10 +9619,10 @@ const uu = {
9608
9619
  "view-topic-viewpoint"
9609
9620
  ],
9610
9621
  setup(e, { emit: t }) {
9611
- const s = Ce(), n = S(!1), a = S(!1), o = j(() => me(e.topic, e.detailedExtensions)), i = j(() => {
9622
+ const s = Ce(), n = $(!1), a = $(!1), o = j(() => me(e.topic, e.detailedExtensions)), i = j(() => {
9612
9623
  var y, D, b;
9613
9624
  return ((b = (D = (y = e.topic.viewpoints) == null ? void 0 : y[0]) == null ? void 0 : D.components) == null ? void 0 : b.selection) ?? [];
9614
- }), c = j(() => Array.from(e.topic.labels ?? []).sort()), l = S(""), d = async () => {
9625
+ }), c = j(() => Array.from(e.topic.labels ?? []).sort()), l = $(""), d = async () => {
9615
9626
  l.value = (await s.fetchCurrentUser()).email ?? "";
9616
9627
  }, m = async () => {
9617
9628
  try {
@@ -9643,7 +9654,7 @@ const uu = {
9643
9654
  style: { "white-space": "pre-line" }
9644
9655
  }, xu = { class: "line" }, ku = { class: "label" }, Tu = { class: "value" }, $u = { class: "line" }, Su = { class: "label" }, Ou = { class: "value" }, Vu = { class: "bcf-topic-overview__content__card" }, Fu = { class: "title" }, Eu = { class: "line" }, Lu = { class: "label" }, Pu = { class: "value" }, Au = { class: "line" }, Nu = { class: "label" }, Uu = { class: "value" }, Hu = { class: "line" }, zu = { class: "label" }, ju = { class: "line" }, Ru = { class: "label" }, qu = { class: "value" }, Ku = { class: "line m-t-12" }, Yu = { class: "label" }, Zu = { class: "value" }, Wu = { key: 1 };
9645
9656
  function Ju(e, t, s, n, a, o) {
9646
- const i = f("BIMDataIconArrow"), c = f("BIMDataButton"), l = f("BIMDataTextbox"), d = f("BIMDataIconEdit"), m = f("BIMDataIconDelete"), y = f("BIMDataIconClose"), D = f("BcfTopicViewpoints"), b = f("BIMDataIconModel3D"), w = f("BIMDataIconBcf"), T = f("BcfTopicComments"), $ = f("BIMDataSafeZoneModal"), N = f("BIMDataLoading");
9657
+ const i = f("BIMDataIconArrow"), c = f("BIMDataButton"), l = f("BIMDataTextbox"), d = f("BIMDataIconEdit"), m = f("BIMDataIconDelete"), y = f("BIMDataIconClose"), D = f("BcfTopicViewpoints"), b = f("BIMDataIconModel3D"), w = f("BIMDataIconBcf"), V = f("BcfTopicComments"), M = f("BIMDataSafeZoneModal"), N = f("BIMDataLoading");
9647
9658
  return r(), p("div", _u, [
9648
9659
  u("div", fu, [
9649
9660
  s.uiConfig.backButton ? (r(), B(c, {
@@ -9715,7 +9726,7 @@ function Ju(e, t, s, n, a, o) {
9715
9726
  u("div", gu, [
9716
9727
  u("div", {
9717
9728
  class: "bcf-topic-overview__content__head__index",
9718
- style: k({
9729
+ style: T({
9719
9730
  backgroundColor: `#${n.priorityColor}`,
9720
9731
  color: n.adjustTextColor(`#${n.priorityColor}`, "#FFF", "#2F374A")
9721
9732
  })
@@ -9799,7 +9810,7 @@ function Ju(e, t, s, n, a, o) {
9799
9810
  u("span", zu, g(e.$t("BcfComponents.BcfTopicOverview.priority")), 1),
9800
9811
  u("span", {
9801
9812
  class: "value",
9802
- style: k({ color: `#${n.priorityColor}` })
9813
+ style: T({ color: `#${n.priorityColor}` })
9803
9814
  }, g(s.topic.priority || e.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 5)
9804
9815
  ]),
9805
9816
  u("div", ju, [
@@ -9811,7 +9822,7 @@ function Ju(e, t, s, n, a, o) {
9811
9822
  u("span", Zu, g(n.topicLabels.length ? n.topicLabels.join(", ") : e.$t("BcfComponents.BcfTopicOverview.noTags")), 1)
9812
9823
  ])
9813
9824
  ]),
9814
- _(T, {
9825
+ _(V, {
9815
9826
  uiConfig: s.uiConfig,
9816
9827
  project: s.project,
9817
9828
  topic: s.topic,
@@ -9823,7 +9834,7 @@ function Ju(e, t, s, n, a, o) {
9823
9834
  onViewCommentSnapshot: t[10] || (t[10] = (L) => e.$emit("view-comment-snapshot", L))
9824
9835
  }, null, 8, ["uiConfig", "project", "topic", "currentUserEmail", "getViewers"])
9825
9836
  ]),
9826
- n.showDeleteModal ? (r(), B($, {
9837
+ n.showDeleteModal ? (r(), B(M, {
9827
9838
  key: 0,
9828
9839
  class: "delete-modal"
9829
9840
  }, {
@@ -9908,8 +9919,8 @@ function Xu(e, t, {
9908
9919
  fullSelectionToggleEffect: a = () => {
9909
9920
  }
9910
9921
  } = {}) {
9911
- const o = S(/* @__PURE__ */ new Map());
9912
- return ie(
9922
+ const o = $(/* @__PURE__ */ new Map());
9923
+ return ne(
9913
9924
  e,
9914
9925
  () => {
9915
9926
  o.value = new Map(
@@ -9917,13 +9928,13 @@ function Xu(e, t, {
9917
9928
  );
9918
9929
  },
9919
9930
  { immediate: !0 }
9920
- ), ie(
9931
+ ), ne(
9921
9932
  t,
9922
9933
  () => {
9923
9934
  o.value = t.value;
9924
9935
  },
9925
9936
  { immediate: !0 }
9926
- ), ie(
9937
+ ), ne(
9927
9938
  o,
9928
9939
  () => {
9929
9940
  s(o.value);
@@ -10006,47 +10017,47 @@ const Qu = {
10006
10017
  ],
10007
10018
  setup(e, { emit: t }) {
10008
10019
  const s = j(
10009
- () => e.rows.map(($, N) => ({ key: $[e.rowKey] ?? N, data: $ }))
10020
+ () => e.rows.map((M, N) => ({ key: M[e.rowKey] ?? N, data: M }))
10010
10021
  ), { rowSelection: n, toggleRowSelection: a, toggleFullSelection: o } = Xu(
10011
10022
  s,
10012
10023
  j(() => e.selection),
10013
10024
  {
10014
- rowSelectionUpdateEffect: ($) => {
10015
- t("update:selection", $), t("selection-changed", Array.from($.values()));
10025
+ rowSelectionUpdateEffect: (M) => {
10026
+ t("update:selection", M), t("selection-changed", Array.from(M.values()));
10016
10027
  },
10017
- rowSelectionToggleEffect: ($, { data: N }) => {
10018
- t($ ? "row-selected" : "row-deselected", N);
10028
+ rowSelectionToggleEffect: (M, { data: N }) => {
10029
+ t(M ? "row-selected" : "row-deselected", N);
10019
10030
  },
10020
- fullSelectionToggleEffect: ($) => {
10021
- t($ ? "all-selected" : "all-deselected");
10031
+ fullSelectionToggleEffect: (M) => {
10032
+ t(M ? "all-selected" : "all-deselected");
10022
10033
  }
10023
10034
  }
10024
- ), i = ($) => {
10025
- e.selectable && a($);
10035
+ ), i = (M) => {
10036
+ e.selectable && a(M);
10026
10037
  }, c = () => {
10027
10038
  e.selectable && o();
10028
- }, l = S([]), d = S(0), m = S(1), y = S(e.perPage);
10029
- ie(
10039
+ }, l = $([]), d = $(0), m = $(1), y = $(e.perPage);
10040
+ ne(
10030
10041
  [s, () => e.perPage],
10031
10042
  () => {
10032
10043
  d.value = 0;
10033
10044
  },
10034
10045
  { immediate: !0 }
10035
- ), ie(
10046
+ ), ne(
10036
10047
  [s, () => e.paginated, () => e.perPage, d],
10037
- ([$, N, L, K]) => {
10038
- const R = $.map((V) => V.key);
10048
+ ([M, N, L, K]) => {
10049
+ const R = M.map((O) => O.key);
10039
10050
  if (N) {
10040
- const V = L * K, X = V + L;
10041
- l.value = R.slice(V, X), m.value = V + 1, y.value = Math.min(X, $.length);
10051
+ const O = L * K, X = O + L;
10052
+ l.value = R.slice(O, X), m.value = O + 1, y.value = Math.min(X, M.length);
10042
10053
  } else
10043
10054
  l.value = R;
10044
10055
  },
10045
10056
  { immediate: !0 }
10046
10057
  );
10047
- const D = ($, N) => {
10048
- e.canDragOverRow($) && (t("row-drop", { data: $, event: N }), b.value = null);
10049
- }, b = S(null);
10058
+ const D = (M, N) => {
10059
+ e.canDragOverRow(M) && (t("row-drop", { data: M, event: N }), b.value = null);
10060
+ }, b = $(null);
10050
10061
  return {
10051
10062
  // References
10052
10063
  computedRows: s,
@@ -10058,8 +10069,8 @@ const Qu = {
10058
10069
  dragOveredRowKey: b,
10059
10070
  // Methods
10060
10071
  onDrop: D,
10061
- onDragover: ($, N, L) => {
10062
- e.canDragOverRow(N) && (L.preventDefault(), b.value = $);
10072
+ onDragover: (M, N, L) => {
10073
+ e.canDragOverRow(N) && (L.preventDefault(), b.value = M);
10063
10074
  },
10064
10075
  onDragleave: () => {
10065
10076
  b.value = null;
@@ -10080,17 +10091,17 @@ function l_(e, t, s, n, a, o) {
10080
10091
  return r(), p("div", e_, [
10081
10092
  u("div", {
10082
10093
  class: "bimdata-table__container",
10083
- style: k({
10094
+ style: T({
10084
10095
  height: s.paginated ? `${(s.perPage + 1) * s.rowHeight}px` : void 0
10085
10096
  })
10086
10097
  }, [
10087
10098
  u("table", {
10088
- style: k({ width: s.tableWidth, tableLayout: s.tableLayout })
10099
+ style: T({ width: s.tableWidth, tableLayout: s.tableLayout })
10089
10100
  }, [
10090
10101
  u("thead", null, [
10091
10102
  u("tr", {
10092
10103
  key: "head-row-0",
10093
- style: k({ height: `${s.rowHeight}px` })
10104
+ style: T({ height: `${s.rowHeight}px` })
10094
10105
  }, [
10095
10106
  s.selectable ? (r(), p("th", t_, [
10096
10107
  _(i, {
@@ -10101,7 +10112,7 @@ function l_(e, t, s, n, a, o) {
10101
10112
  ])) : C("", !0),
10102
10113
  (r(!0), p(z, null, J(s.columns, (d, m) => (r(), p("th", {
10103
10114
  key: `head-row-0-col-${m}`,
10104
- style: k({
10115
+ style: T({
10105
10116
  width: d.width || "auto",
10106
10117
  textAlign: d.align || "left"
10107
10118
  })
@@ -10112,7 +10123,7 @@ function l_(e, t, s, n, a, o) {
10112
10123
  class: "cell-sub-header",
10113
10124
  colspan: s.columns.length + s.selectable
10114
10125
  }, [
10115
- M(e.$slots, "sub-header", {}, void 0, !0)
10126
+ x(e.$slots, "sub-header", {}, void 0, !0)
10116
10127
  ], 8, n_)
10117
10128
  ])
10118
10129
  ]),
@@ -10121,10 +10132,10 @@ function l_(e, t, s, n, a, o) {
10121
10132
  }, [
10122
10133
  (r(!0), p(z, null, J(n.computedRows, ({ key: d, data: m }) => W((r(), p("tr", {
10123
10134
  key: `body-row-${d}`,
10124
- style: k({ height: `${s.rowHeight}px` }),
10135
+ style: T({ height: `${s.rowHeight}px` }),
10125
10136
  onDrop: (y) => n.onDrop(m, y),
10126
10137
  onDragover: (y) => n.onDragover(d, m, y),
10127
- class: O({
10138
+ class: S({
10128
10139
  "bimdata-table__row--drag-overed": n.dragOveredRowKey === d
10129
10140
  })
10130
10141
  }, [
@@ -10136,12 +10147,12 @@ function l_(e, t, s, n, a, o) {
10136
10147
  ])) : C("", !0),
10137
10148
  (r(!0), p(z, null, J(s.columns, (y, D) => (r(), p("td", {
10138
10149
  key: `body-row-${d}-col-${D}`,
10139
- style: k({
10150
+ style: T({
10140
10151
  width: y.width || "auto",
10141
10152
  textAlign: y.align || "left"
10142
10153
  })
10143
10154
  }, [
10144
- M(e.$slots, `cell-${y.id}`, { row: m }, () => [
10155
+ x(e.$slots, `cell-${y.id}`, { row: m }, () => [
10145
10156
  A(g(m[y.id] || m[D]), 1)
10146
10157
  ], !0)
10147
10158
  ], 4))), 128))
@@ -10153,11 +10164,11 @@ function l_(e, t, s, n, a, o) {
10153
10164
  s.rows.length === 0 ? (r(), p("div", {
10154
10165
  key: 0,
10155
10166
  class: "bimdata-table__container__placeholder",
10156
- style: k({
10167
+ style: T({
10157
10168
  height: `calc(100% - ${s.rowHeight}px)`
10158
10169
  })
10159
10170
  }, [
10160
- M(e.$slots, "placeholder", {}, () => [
10171
+ x(e.$slots, "placeholder", {}, () => [
10161
10172
  A(g(s.placeholder), 1)
10162
10173
  ], !0)
10163
10174
  ], 4)) : C("", !0)
@@ -10165,7 +10176,7 @@ function l_(e, t, s, n, a, o) {
10165
10176
  s.paginated ? (r(), p("div", {
10166
10177
  key: 0,
10167
10178
  class: "bimdata-table__page-nav",
10168
- style: k({ visibility: s.rows.length > s.perPage ? "visible" : "hidden" })
10179
+ style: T({ visibility: s.rows.length > s.perPage ? "visible" : "hidden" })
10169
10180
  }, [
10170
10181
  _(l, {
10171
10182
  ghost: "",
@@ -10256,7 +10267,7 @@ function m_(e, t, s, n, a, o) {
10256
10267
  return r(), p("div", p_, [
10257
10268
  u("span", {
10258
10269
  class: "left-stripe",
10259
- style: k({ backgroundColor: `#${n.priorityColor}` })
10270
+ style: T({ backgroundColor: `#${n.priorityColor}` })
10260
10271
  }, null, 4),
10261
10272
  u("span", h_, g(s.topic.index), 1)
10262
10273
  ]);
@@ -10285,7 +10296,7 @@ const y_ = {
10285
10296
  function b_(e, t, s, n, a, o) {
10286
10297
  return r(), p("span", {
10287
10298
  class: "bcf-topic-priority-cell",
10288
- style: k({ color: `#${n.priorityColor}` })
10299
+ style: T({ color: `#${n.priorityColor}` })
10289
10300
  }, g(s.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
10290
10301
  }
10291
10302
  const v_ = /* @__PURE__ */ v(y_, [["render", b_], ["__scopeId", "data-v-1d15fcf6"]]);
@@ -10314,7 +10325,7 @@ const D_ = {
10314
10325
  function C_(e, t, s, n, a, o) {
10315
10326
  return r(), p("span", {
10316
10327
  class: "bcf-topic-status-cell",
10317
- style: k({
10328
+ style: T({
10318
10329
  backgroundColor: `#${n.statusColor}`,
10319
10330
  color: n.adjustTextColor(n.statusColor, "#ffffff", "var(--color-text)")
10320
10331
  })
@@ -10423,8 +10434,8 @@ function B_(e, t, s, n, a, o) {
10423
10434
  text: w.title
10424
10435
  }, null, 8, ["text"])
10425
10436
  ]),
10426
- "cell-creator": h(({ row: { creator: w, creation_author: T } }) => [
10427
- _(y, { text: T }, {
10437
+ "cell-creator": h(({ row: { creator: w, creation_author: V } }) => [
10438
+ _(y, { text: V }, {
10428
10439
  default: h(() => [
10429
10440
  _(m, {
10430
10441
  user: w || {},
@@ -10442,7 +10453,7 @@ function B_(e, t, s, n, a, o) {
10442
10453
  "cell-actions": h(({ row: w }) => [
10443
10454
  _(D, {
10444
10455
  topic: w,
10445
- onOpenTopic: t[0] || (t[0] = (T) => e.$emit("open-topic", T))
10456
+ onOpenTopic: t[0] || (t[0] = (V) => e.$emit("open-topic", V))
10446
10457
  }, null, 8, ["topic"])
10447
10458
  ]),
10448
10459
  _: 1