@bimdata/bcf-components 6.0.0-rc.13 → 6.0.0-rc.14

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 $, 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";
2
+ import { reactive as Wt, computed as H, ref as $, watch as ne, openBlock as r, createElementBlock as p, normalizeClass as O, normalizeStyle as T, renderSlot as k, resolveComponent as f, createBlock as M, withCtx as h, createVNode as _, createElementVNode as u, mergeProps as Be, toDisplayString as g, createCommentVNode as I, 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 E, createSlots as Dt, createStaticVNode as It, inject as Ct, onMounted as Ye, onBeforeUnmount as wt } from "vue";
3
3
  const Bt = Object.freeze([
4
4
  "Priority",
5
5
  "Type",
@@ -30,41 +30,35 @@ const Bt = Object.freeze([
30
30
  PANORAMA: "panorama"
31
31
  }), $t = Object.freeze({
32
32
  [ue.IFC3D]: {
33
- order: 1,
34
33
  window: "3d",
35
34
  plugin: "viewer3d",
36
35
  icon: "fileIfcPolychrome"
37
36
  },
38
37
  [ue.POINT_CLOUD]: {
39
- order: 2,
40
38
  window: "pointCloud",
41
39
  plugin: "pointCloud"
42
40
  },
43
41
  [ue.IFC2D]: {
44
- order: 3,
45
42
  window: "2d",
46
43
  plugin: "viewer2d",
47
44
  icon: "fileIfcPolychrome"
48
45
  },
49
46
  [ue.DWG]: {
50
- order: 4,
51
47
  window: "dwg",
52
48
  plugin: "dwg",
53
49
  icon: "fileDwgPolychrome"
54
50
  },
55
51
  [ue.PLAN]: {
56
- order: 5,
57
52
  window: "plan",
58
53
  plugin: "plan",
59
54
  icon: "filePlanPolychrome"
60
55
  },
61
56
  [ue.PANORAMA]: {
62
- order: 6,
63
57
  window: "panorama",
64
58
  plugin: "panorama",
65
59
  icon: "filePlanPolychrome"
66
60
  }
67
- }), k_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61
+ }), x_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
68
62
  __proto__: null,
69
63
  DEFAULT_PRIORITY_COLOR: Ze,
70
64
  DEFAULT_STATUS_COLOR: Tt,
@@ -184,15 +178,15 @@ var ss = Ne.exports;
184
178
  function l(y) {
185
179
  var D = -1;
186
180
  return function() {
187
- var w = y.next();
188
- return w.done ? null : (D++, { value: w.value, key: D });
181
+ var B = y.next();
182
+ return B.done ? null : (D++, { value: B.value, key: D });
189
183
  };
190
184
  }
191
185
  function d(y) {
192
- var D = y ? Object.keys(y) : [], b = -1, w = D.length;
186
+ var D = y ? Object.keys(y) : [], b = -1, B = D.length;
193
187
  return function V() {
194
- var M = D[++b];
195
- return M === "__proto__" ? V() : b < w ? { value: y[M], key: M } : null;
188
+ var x = D[++b];
189
+ return x === "__proto__" ? V() : b < B ? { value: y[x], key: x } : null;
196
190
  };
197
191
  }
198
192
  function m(y) {
@@ -257,18 +251,18 @@ function cs() {
257
251
  }
258
252
  function l(y) {
259
253
  return (0, i.isAsync)(y) ? function(...D) {
260
- const b = D.pop(), w = y.apply(this, D);
261
- return d(w, b);
254
+ const b = D.pop(), B = y.apply(this, D);
255
+ return d(B, b);
262
256
  } : (0, n.default)(function(D, b) {
263
- var w;
257
+ var B;
264
258
  try {
265
- w = y.apply(this, D);
259
+ B = y.apply(this, D);
266
260
  } catch (V) {
267
261
  return b(V);
268
262
  }
269
- if (w && typeof w.then == "function")
270
- return d(w, b);
271
- b(null, w);
263
+ if (B && typeof B.then == "function")
264
+ return d(B, b);
265
+ b(null, B);
272
266
  });
273
267
  }
274
268
  function d(y, D) {
@@ -281,10 +275,10 @@ function cs() {
281
275
  function m(y, D, b) {
282
276
  try {
283
277
  y(D, b);
284
- } catch (w) {
278
+ } catch (B) {
285
279
  (0, o.default)((V) => {
286
280
  throw V;
287
- }, w);
281
+ }, B);
288
282
  }
289
283
  }
290
284
  e.exports = t.default;
@@ -335,19 +329,19 @@ var Vt = je.exports;
335
329
  return i && i.__esModule ? i : { default: i };
336
330
  }
337
331
  function o(i, c, l, d) {
338
- let m = !1, y = !1, D = !1, b = 0, w = 0;
332
+ let m = !1, y = !1, D = !1, b = 0, B = 0;
339
333
  function V() {
340
- b >= c || D || m || (D = !0, i.next().then(({ value: L, done: K }) => {
334
+ b >= c || D || m || (D = !0, i.next().then(({ value: L, done: q }) => {
341
335
  if (!(y || m)) {
342
- if (D = !1, K) {
336
+ if (D = !1, q) {
343
337
  m = !0, b <= 0 && d(null);
344
338
  return;
345
339
  }
346
- b++, l(L, w, M), w++, V();
340
+ b++, l(L, B, x), B++, V();
347
341
  }
348
342
  }).catch(N));
349
343
  }
350
- function M(L, K) {
344
+ function x(L, q) {
351
345
  if (b -= 1, !y) {
352
346
  if (L)
353
347
  return N(L);
@@ -355,7 +349,7 @@ var Vt = je.exports;
355
349
  m = !0, y = !0;
356
350
  return;
357
351
  }
358
- if (K === n.default || m && b <= 0)
352
+ if (q === n.default || m && b <= 0)
359
353
  return m = !0, d(null);
360
354
  V();
361
355
  }
@@ -373,39 +367,39 @@ var ds = ze.exports;
373
367
  value: !0
374
368
  });
375
369
  var s = es, n = b(s), a = ns, o = b(a), i = os, c = b(i), l = Je(), d = ds, m = b(d), y = Vt, D = b(y);
376
- function b(w) {
377
- return w && w.__esModule ? w : { default: w };
370
+ function b(B) {
371
+ return B && B.__esModule ? B : { default: B };
378
372
  }
379
- t.default = (w) => (V, M, N) => {
380
- if (N = (0, n.default)(N), w <= 0)
373
+ t.default = (B) => (V, x, N) => {
374
+ if (N = (0, n.default)(N), B <= 0)
381
375
  throw new RangeError("concurrency limit cannot be less than 1");
382
376
  if (!V)
383
377
  return N(null);
384
378
  if ((0, l.isAsyncGenerator)(V))
385
- return (0, m.default)(V, w, M, N);
379
+ return (0, m.default)(V, B, x, N);
386
380
  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
- function q(Q, U) {
390
- if (!R)
391
- if (O -= 1, Q)
392
- K = !0, N(Q);
381
+ return (0, m.default)(V[Symbol.asyncIterator](), B, x, N);
382
+ var L = (0, o.default)(V), q = !1, j = !1, F = 0, X = !1;
383
+ function R(Q, ae) {
384
+ if (!j)
385
+ if (F -= 1, Q)
386
+ q = !0, N(Q);
393
387
  else if (Q === !1)
394
- K = !0, R = !0;
388
+ q = !0, j = !0;
395
389
  else {
396
- if (U === D.default || K && O <= 0)
397
- return K = !0, N(null);
390
+ if (ae === D.default || q && F <= 0)
391
+ return q = !0, N(null);
398
392
  X || te();
399
393
  }
400
394
  }
401
395
  function te() {
402
- for (X = !0; O < w && !K; ) {
396
+ for (X = !0; F < B && !q; ) {
403
397
  var Q = L();
404
398
  if (Q === null) {
405
- K = !0, O <= 0 && N(null);
399
+ q = !0, F <= 0 && N(null);
406
400
  return;
407
401
  }
408
- O += 1, M(Q.value, Q.key, (0, c.default)(q));
402
+ F += 1, x(Q.value, Q.key, (0, c.default)(R));
409
403
  }
410
404
  X = !1;
411
405
  }
@@ -452,8 +446,8 @@ var fs = qe.exports;
452
446
  function m(D) {
453
447
  return D && D.__esModule ? D : { default: D };
454
448
  }
455
- function y(D, b, w, V) {
456
- return (0, n.default)(b)(D, (0, o.default)((0, c.default)(w)), V);
449
+ function y(D, b, B, V) {
450
+ return (0, n.default)(b)(D, (0, o.default)((0, c.default)(B)), V);
457
451
  }
458
452
  t.default = (0, d.default)(y, 4), e.exports = t.default;
459
453
  })(Fe, Fe.exports);
@@ -482,48 +476,48 @@ async function _t(e, t) {
482
476
  n.rel = "noopener", n.download = e, n.href = s.createObjectURL(t), setTimeout(() => n.click(), 0), setTimeout(() => s.revokeObjectURL(n.href), 3e4);
483
477
  }
484
478
  let Et = null;
485
- function T_(e, { fetchUsers: t }) {
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
- return se.sort((ae, Oe) => Oe.index - ae.index), se.forEach((ae) => {
489
- ae.color = me(ae, H), ae.creator = Y.find((Oe) => Oe.email === ae.creation_author);
490
- }), se;
491
- }, o = async (k, I) => {
492
- const E = await e.bcfApi.getDetailedExtensions(k.id), H = await e.bcfApi.getFullTopic(I, k.id, "url");
493
- return H.color = me(H, E), H;
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
- const E = new FormData();
496
- E.append("name", I.name), E.append("file", I), await fetch(`${e.config.basePath}/bcf/2.1/projects/${k.id}/import`, {
479
+ function k_(e, { fetchUsers: t }) {
480
+ const s = t ? (C) => t(C) : (C) => e.collaborationApi.getProjectUsers(C.cloud.id, C.id), n = () => e.bcfApi.getUser(), a = async (C, { extensions: w, users: S } = {}) => {
481
+ const U = w ?? await e.bcfApi.getDetailedExtensions(C.id), Y = S ?? await s(C), K = await e.bcfApi.getTopics(C.id);
482
+ return K.sort((se, Oe) => Oe.index - se.index), K.forEach((se) => {
483
+ se.color = me(se, U), se.creator = Y.find((Oe) => Oe.email === se.creation_author);
484
+ }), K;
485
+ }, o = async (C, w) => {
486
+ const S = await e.bcfApi.getDetailedExtensions(C.id), U = await e.bcfApi.getFullTopic(w, C.id, "url");
487
+ return U.color = me(U, S), U;
488
+ }, i = (C, w) => e.bcfApi.createTopic(C.id, w), c = (C, w) => e.bcfApi.updateTopic(w.guid, C.id, w), l = (C, w) => e.bcfApi.deleteTopic(w.guid, C.id), d = async (C, w) => {
489
+ const S = new FormData();
490
+ S.append("name", w.name), S.append("file", w), await fetch(`${e.config.basePath}/bcf/2.1/projects/${C.id}/import`, {
497
491
  method: "POST",
498
492
  credentials: "include",
499
493
  headers: {
500
494
  ...e.authHeader
501
495
  },
502
- body: E
496
+ body: S
503
497
  });
504
- }, m = async (k, I) => {
505
- const E = await e.bcfApi.downloadBcfExport(
506
- k.id,
498
+ }, m = async (C, w) => {
499
+ const S = await e.bcfApi.downloadBcfExport(
500
+ C.id,
507
501
  void 0,
508
502
  // Format
509
- I.map((H) => H.guid).join(",")
503
+ w.map((U) => U.guid).join(",")
510
504
  );
511
- _t(`${k.name}.bcf`, E);
512
- }, y = async (k, I) => {
513
- const E = await e.bcfApi.downloadBcfExportXlsx(
514
- k.id,
505
+ _t(`${C.name}.bcf`, S);
506
+ }, y = async (C, w) => {
507
+ const S = await e.bcfApi.downloadBcfExportXlsx(
508
+ C.id,
515
509
  void 0,
516
510
  // Format
517
511
  void 0,
518
512
  // Locale
519
- I.map((H) => H.guid).join(",")
513
+ w.map((U) => U.guid).join(",")
520
514
  );
521
- _t(`${k.name}.xlsx`, E);
522
- }, D = async (k, I) => (await hs(I, 10, (E, H) => {
523
- b(k, E).then((Y) => {
524
- E.viewpoints = Y, H();
525
- }, H);
526
- }), I), b = (k, I) => e.bcfApi.getTopicViewpoints(k.id, I.guid, "url");
515
+ _t(`${C.name}.xlsx`, S);
516
+ }, D = async (C, w) => (await hs(w, 10, (S, U) => {
517
+ b(C, S).then((Y) => {
518
+ S.viewpoints = Y, U();
519
+ }, U);
520
+ }), w), b = (C, w) => e.bcfApi.getTopicViewpoints(C.id, w.guid, "url");
527
521
  return {
528
522
  fetchCurrentUser: n,
529
523
  fetchTopics: a,
@@ -536,38 +530,38 @@ function T_(e, { fetchUsers: t }) {
536
530
  exportBcfXLSX: y,
537
531
  loadTopicsViewpoints: D,
538
532
  fetchTopicViewpoints: b,
539
- fetchTopicCommentViewpoint: (k, I, E) => e.bcfApi.getViewpoint(E.viewpoint_guid, k.id, I.guid),
540
- createViewpoint: (k, I, E) => e.bcfApi.createViewpoint(k.id, I.guid, "url", E),
541
- updateViewpoint: (k, I, E) => e.bcfApi.updateViewpoint(E.guid, k.id, I.guid, "url", E),
542
- deleteViewpoint: (k, I, E) => e.bcfApi.deleteViewpoint(E.guid, k.id, I.guid),
543
- fetchTopicComments: async (k, I) => {
544
- const E = await s(k), H = await e.bcfApi.getComments(k.id, I.guid);
545
- return H.sort((Y, se) => Y.date > se.date ? -1 : 1), H.forEach((Y) => {
546
- Y.user = E.find((se) => se.email === Y.author);
547
- }), H;
548
- },
549
- createComment: (k, I, E) => e.bcfApi.createComment(k.id, I.guid, E),
550
- updateComment: (k, I, E, H) => e.bcfApi.updateComment(E.guid, k.id, I.guid, H),
551
- deleteComment: (k, I, E) => e.bcfApi.deleteComment(E.guid, k.id, I.guid),
552
- fetchExtensions: (k) => e.bcfApi.getExtensions(k.id),
553
- fetchDetailedExtensions: (k) => e.bcfApi.getDetailedExtensions(k.id),
554
- createExtension: async (k, I, E) => await e.bcfApi[`createExtension${I}`](k.id, {
555
- [he(I)]: E.value,
533
+ fetchTopicCommentViewpoint: (C, w, S) => e.bcfApi.getViewpoint(S.viewpoint_guid, C.id, w.guid),
534
+ createViewpoint: (C, w, S) => e.bcfApi.createViewpoint(C.id, w.guid, "url", S),
535
+ updateViewpoint: (C, w, S) => e.bcfApi.updateViewpoint(S.guid, C.id, w.guid, "url", S),
536
+ deleteViewpoint: (C, w, S) => e.bcfApi.deleteViewpoint(S.guid, C.id, w.guid),
537
+ fetchTopicComments: async (C, w) => {
538
+ const S = await s(C), U = await e.bcfApi.getComments(C.id, w.guid);
539
+ return U.sort((Y, K) => Y.date > K.date ? -1 : 1), U.forEach((Y) => {
540
+ Y.user = S.find((K) => K.email === Y.author);
541
+ }), U;
542
+ },
543
+ createComment: (C, w, S) => e.bcfApi.createComment(C.id, w.guid, S),
544
+ updateComment: (C, w, S, U) => e.bcfApi.updateComment(S.guid, C.id, w.guid, U),
545
+ deleteComment: (C, w, S) => e.bcfApi.deleteComment(S.guid, C.id, w.guid),
546
+ fetchExtensions: (C) => e.bcfApi.getExtensions(C.id),
547
+ fetchDetailedExtensions: (C) => e.bcfApi.getDetailedExtensions(C.id),
548
+ createExtension: async (C, w, S) => await e.bcfApi[`createExtension${w}`](C.id, {
549
+ [he(w)]: S.value,
556
550
  color: Gt()
557
551
  }),
558
- updateExtension: async (k, I, E, H) => await e.bcfApi[`updateExtension${I}`](E.id, k.id, {
559
- [he(I)]: H.value,
560
- color: H.color
552
+ updateExtension: async (C, w, S, U) => await e.bcfApi[`updateExtension${w}`](S.id, C.id, {
553
+ [he(w)]: U.value,
554
+ color: U.color
561
555
  }),
562
- deleteExtension: async (k, I, E) => {
563
- await e.bcfApi[`deleteExtension${I}`](E.id, k.id);
556
+ deleteExtension: async (C, w, S) => {
557
+ await e.bcfApi[`deleteExtension${w}`](S.id, C.id);
564
558
  }
565
559
  };
566
560
  }
567
- function $_(e) {
561
+ function T_(e) {
568
562
  Et = e;
569
563
  }
570
- function Ce() {
564
+ function Ie() {
571
565
  return Et;
572
566
  }
573
567
  const ft = {
@@ -580,7 +574,7 @@ const ft = {
580
574
  endDate: null
581
575
  };
582
576
  function ms(e) {
583
- const t = Wt({ ...ft }), s = j(() => {
577
+ const t = Wt({ ...ft }), s = H(() => {
584
578
  let o = e.value;
585
579
  return t.priorities.length > 0 && (o = o.filter((i) => t.priorities.includes(i.priority))), t.statuses.length > 0 && (o = o.filter((i) => t.statuses.includes(i.topic_status))), t.users.length > 0 && (o = o.filter((i) => t.users.includes(i.assigned_to))), t.creators.length > 0 && (o = o.filter((i) => t.creators.includes(i.creation_author))), t.labels.length > 0 && (o = o.filter((i) => t.labels.some((c) => i.labels.includes(c)))), t.startDate && t.endDate && (o = o.filter((i) => i.creation_date >= t.startDate && i.creation_date <= t.endDate)), o;
586
580
  });
@@ -608,7 +602,7 @@ const gs = [
608
602
  "assigned_to",
609
603
  "description"
610
604
  ];
611
- function S_(e) {
605
+ function $_(e) {
612
606
  const t = $(""), s = $([]);
613
607
  return ne(
614
608
  [e, t],
@@ -641,7 +635,7 @@ function Ve(e, t = (s) => s) {
641
635
  }
642
636
  };
643
637
  }
644
- function O_(e) {
638
+ function S_(e) {
645
639
  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 = $("");
646
640
  return {
647
641
  sortedBy: c,
@@ -761,18 +755,18 @@ const v = (e, t) => {
761
755
  }
762
756
  }
763
757
  }, Ds = ["color"];
764
- function Cs(e, t, s, n, a, o) {
758
+ function Is(e, t, s, n, a, o) {
765
759
  return r(), p("button", {
766
- class: S(["bimdata-btn", o.classes]),
760
+ class: O(["bimdata-btn", o.classes]),
767
761
  style: T(o.style),
768
762
  onClick: t[0] || (t[0] = (i) => e.$emit("click", i)),
769
763
  color: s.color,
770
764
  type: "button"
771
765
  }, [
772
- x(e.$slots, "default", {}, void 0, !0)
766
+ k(e.$slots, "default", {}, void 0, !0)
773
767
  ], 14, Ds);
774
768
  }
775
- const Z = /* @__PURE__ */ v(vs, [["render", Cs], ["__scopeId", "data-v-cc5f3236"]]), Xe = Object.freeze([
769
+ const Z = /* @__PURE__ */ v(vs, [["render", Is], ["__scopeId", "data-v-cc5f3236"]]), Xe = Object.freeze([
776
770
  "black",
777
771
  "default",
778
772
  "granite",
@@ -797,7 +791,7 @@ const pt = {
797
791
  xl: 36,
798
792
  xxl: 45,
799
793
  xxxl: 60
800
- }, Is = {
794
+ }, Cs = {
801
795
  name: "BIMDataIcon",
802
796
  props: {
803
797
  // name: {
@@ -880,12 +874,12 @@ function Bs(e, t, s, n, a, o) {
880
874
  fill: s.fillColor,
881
875
  color: s.color,
882
876
  style: T(o.style),
883
- class: S(o.classes)
877
+ class: O(o.classes)
884
878
  }, [
885
- x(e.$slots, "default", {}, void 0, !0)
879
+ k(e.$slots, "default", {}, void 0, !0)
886
880
  ], 14, ws);
887
881
  }
888
- const Ms = /* @__PURE__ */ v(Is, [["render", Bs], ["__scopeId", "data-v-3c56485e"]]), ht = {
882
+ const Ms = /* @__PURE__ */ v(Cs, [["render", Bs], ["__scopeId", "data-v-3c56485e"]]), ht = {
889
883
  xxxs: 10,
890
884
  xxs: 13,
891
885
  xs: 16,
@@ -978,11 +972,11 @@ const $s = /* @__PURE__ */ v(xs, [["render", Ts]]);
978
972
  const Ss = G("Arrow", $s);
979
973
  function Os(e, t, s, n, a, o) {
980
974
  const i = f("Arrow"), c = f("Icon");
981
- return r(), B(c, {
975
+ return r(), M(c, {
982
976
  fill: e.fill,
983
977
  fillColor: e.fillColor,
984
978
  color: e.color,
985
- class: S(e.classes),
979
+ class: O(e.classes),
986
980
  style: T(e.style)
987
981
  }, {
988
982
  default: h(() => [
@@ -1000,11 +994,11 @@ const Ls = /* @__PURE__ */ v(Vs, [["render", Es]]);
1000
994
  const Ps = G("Camera", Ls);
1001
995
  function As(e, t, s, n, a, o) {
1002
996
  const i = f("Camera"), c = f("Icon");
1003
- return r(), B(c, {
997
+ return r(), M(c, {
1004
998
  fill: e.fill,
1005
999
  fillColor: e.fillColor,
1006
1000
  color: e.color,
1007
- class: S(e.classes),
1001
+ class: O(e.classes),
1008
1002
  style: T(e.style)
1009
1003
  }, {
1010
1004
  default: h(() => [
@@ -1026,11 +1020,11 @@ const zs = /* @__PURE__ */ v(Ns, [["render", Hs]]);
1026
1020
  const js = G("Chevron", zs);
1027
1021
  function Rs(e, t, s, n, a, o) {
1028
1022
  const i = f("Chevron"), c = f("Icon");
1029
- return r(), B(c, {
1023
+ return r(), M(c, {
1030
1024
  fill: e.fill,
1031
1025
  fillColor: e.fillColor,
1032
1026
  color: e.color,
1033
- class: S(e.classes),
1027
+ class: O(e.classes),
1034
1028
  style: T(e.style)
1035
1029
  }, {
1036
1030
  default: h(() => [
@@ -1048,11 +1042,11 @@ const Zs = /* @__PURE__ */ v(qs, [["render", Ys]]);
1048
1042
  const Ws = G("Close", Zs);
1049
1043
  function Js(e, t, s, n, a, o) {
1050
1044
  const i = f("Close"), c = f("Icon");
1051
- return r(), B(c, {
1045
+ return r(), M(c, {
1052
1046
  fill: e.fill,
1053
1047
  fillColor: e.fillColor,
1054
1048
  color: e.color,
1055
- class: S(e.classes),
1049
+ class: O(e.classes),
1056
1050
  style: T(e.style)
1057
1051
  }, {
1058
1052
  default: h(() => [
@@ -1070,11 +1064,11 @@ const en = /* @__PURE__ */ v(Gs, [["render", Qs]]);
1070
1064
  const tn = G("Delete", en);
1071
1065
  function sn(e, t, s, n, a, o) {
1072
1066
  const i = f("Delete"), c = f("Icon");
1073
- return r(), B(c, {
1067
+ return r(), M(c, {
1074
1068
  fill: e.fill,
1075
1069
  fillColor: e.fillColor,
1076
1070
  color: e.color,
1077
- class: S(e.classes),
1071
+ class: O(e.classes),
1078
1072
  style: T(e.style)
1079
1073
  }, {
1080
1074
  default: h(() => [
@@ -1096,11 +1090,11 @@ const ln = /* @__PURE__ */ v(nn, [["render", an]]);
1096
1090
  const rn = G("DoubleChevron", ln);
1097
1091
  function cn(e, t, s, n, a, o) {
1098
1092
  const i = f("DoubleChevron"), c = f("Icon");
1099
- return r(), B(c, {
1093
+ return r(), M(c, {
1100
1094
  fill: e.fill,
1101
1095
  fillColor: e.fillColor,
1102
1096
  color: e.color,
1103
- class: S(e.classes),
1097
+ class: O(e.classes),
1104
1098
  style: T(e.style)
1105
1099
  }, {
1106
1100
  default: h(() => [
@@ -1122,11 +1116,11 @@ const fn = /* @__PURE__ */ v(dn, [["render", _n]]);
1122
1116
  const pn = G("Edit", fn);
1123
1117
  function hn(e, t, s, n, a, o) {
1124
1118
  const i = f("Edit"), c = f("Icon");
1125
- return r(), B(c, {
1119
+ return r(), M(c, {
1126
1120
  fill: e.fill,
1127
1121
  fillColor: e.fillColor,
1128
1122
  color: e.color,
1129
- class: S(e.classes),
1123
+ class: O(e.classes),
1130
1124
  style: T(e.style)
1131
1125
  }, {
1132
1126
  default: h(() => [
@@ -1143,15 +1137,15 @@ const At = /* @__PURE__ */ v(pn, [["render", hn], ["__scopeId", "data-v-dd5975dd
1143
1137
  function Dn(e, t) {
1144
1138
  return r(), p("g", null, vn);
1145
1139
  }
1146
- const Cn = /* @__PURE__ */ v(mn, [["render", Dn]]);
1147
- const In = G("Ellipsis", Cn);
1140
+ const In = /* @__PURE__ */ v(mn, [["render", Dn]]);
1141
+ const Cn = G("Ellipsis", In);
1148
1142
  function wn(e, t, s, n, a, o) {
1149
1143
  const i = f("Ellipsis"), c = f("Icon");
1150
- return r(), B(c, {
1144
+ return r(), M(c, {
1151
1145
  fill: e.fill,
1152
1146
  fillColor: e.fillColor,
1153
1147
  color: e.color,
1154
- class: S(e.classes),
1148
+ class: O(e.classes),
1155
1149
  style: T(e.style)
1156
1150
  }, {
1157
1151
  default: h(() => [
@@ -1160,7 +1154,7 @@ function wn(e, t, s, n, a, o) {
1160
1154
  _: 1
1161
1155
  }, 8, ["fill", "fillColor", "color", "class", "style"]);
1162
1156
  }
1163
- const Bn = /* @__PURE__ */ v(In, [["render", wn], ["__scopeId", "data-v-f2ffb91a"]]);
1157
+ const Bn = /* @__PURE__ */ v(Cn, [["render", wn], ["__scopeId", "data-v-f2ffb91a"]]);
1164
1158
  const Mn = {}, xn = {
1165
1159
  "fill-rule": "evenodd",
1166
1160
  "clip-rule": "evenodd",
@@ -1173,11 +1167,11 @@ const Tn = /* @__PURE__ */ v(Mn, [["render", kn]]);
1173
1167
  const $n = G("FilterList", Tn);
1174
1168
  function Sn(e, t, s, n, a, o) {
1175
1169
  const i = f("FilterList"), c = f("Icon");
1176
- return r(), B(c, {
1170
+ return r(), M(c, {
1177
1171
  fill: e.fill,
1178
1172
  fillColor: e.fillColor,
1179
1173
  color: e.color,
1180
- class: S(e.classes),
1174
+ class: O(e.classes),
1181
1175
  style: T(e.style)
1182
1176
  }, {
1183
1177
  default: h(() => [
@@ -1199,11 +1193,11 @@ const Ln = /* @__PURE__ */ v(Vn, [["render", En]]);
1199
1193
  const Pn = G("Information", Ln);
1200
1194
  function An(e, t, s, n, a, o) {
1201
1195
  const i = f("Information"), c = f("Icon");
1202
- return r(), B(c, {
1196
+ return r(), M(c, {
1203
1197
  fill: e.fill,
1204
1198
  fillColor: e.fillColor,
1205
1199
  color: e.color,
1206
- class: S(e.classes),
1200
+ class: O(e.classes),
1207
1201
  style: T(e.style)
1208
1202
  }, {
1209
1203
  default: h(() => [
@@ -1225,11 +1219,11 @@ const zn = /* @__PURE__ */ v(Nn, [["render", Hn]]);
1225
1219
  const jn = G("Model3D", zn);
1226
1220
  function Rn(e, t, s, n, a, o) {
1227
1221
  const i = f("Model3D"), c = f("Icon");
1228
- return r(), B(c, {
1222
+ return r(), M(c, {
1229
1223
  fill: e.fill,
1230
1224
  fillColor: e.fillColor,
1231
1225
  color: e.color,
1232
- class: S(e.classes),
1226
+ class: O(e.classes),
1233
1227
  style: T(e.style)
1234
1228
  }, {
1235
1229
  default: h(() => [
@@ -1251,11 +1245,11 @@ const Zn = /* @__PURE__ */ v(qn, [["render", Yn]]);
1251
1245
  const Wn = G("Plus", Zn);
1252
1246
  function Jn(e, t, s, n, a, o) {
1253
1247
  const i = f("Plus"), c = f("Icon");
1254
- return r(), B(c, {
1248
+ return r(), M(c, {
1255
1249
  fill: e.fill,
1256
1250
  fillColor: e.fillColor,
1257
1251
  color: e.color,
1258
- class: S(e.classes),
1252
+ class: O(e.classes),
1259
1253
  style: T(e.style)
1260
1254
  }, {
1261
1255
  default: h(() => [
@@ -1277,11 +1271,11 @@ const eo = /* @__PURE__ */ v(Gn, [["render", Qn]]);
1277
1271
  const to = G("Search", eo);
1278
1272
  function so(e, t, s, n, a, o) {
1279
1273
  const i = f("Search"), c = f("Icon");
1280
- return r(), B(c, {
1274
+ return r(), M(c, {
1281
1275
  fill: e.fill,
1282
1276
  fillColor: e.fillColor,
1283
1277
  color: e.color,
1284
- class: S(e.classes),
1278
+ class: O(e.classes),
1285
1279
  style: T(e.style)
1286
1280
  }, {
1287
1281
  default: h(() => [
@@ -1299,11 +1293,11 @@ const lo = /* @__PURE__ */ v(oo, [["render", ao]]);
1299
1293
  const ro = G("Show", lo);
1300
1294
  function co(e, t, s, n, a, o) {
1301
1295
  const i = f("Show"), c = f("Icon");
1302
- return r(), B(c, {
1296
+ return r(), M(c, {
1303
1297
  fill: e.fill,
1304
1298
  fillColor: e.fillColor,
1305
1299
  color: e.color,
1306
- class: S(e.classes),
1300
+ class: O(e.classes),
1307
1301
  style: T(e.style)
1308
1302
  }, {
1309
1303
  default: h(() => [
@@ -1325,11 +1319,11 @@ const ho = /* @__PURE__ */ v(_o, [["render", po]]);
1325
1319
  const mo = G("Unarchive", ho);
1326
1320
  function go(e, t, s, n, a, o) {
1327
1321
  const i = f("Unarchive"), c = f("Icon");
1328
- return r(), B(c, {
1322
+ return r(), M(c, {
1329
1323
  fill: e.fill,
1330
1324
  fillColor: e.fillColor,
1331
1325
  color: e.color,
1332
- class: S(e.classes),
1326
+ class: O(e.classes),
1333
1327
  style: T(e.style)
1334
1328
  }, {
1335
1329
  default: h(() => [
@@ -1346,15 +1340,15 @@ const yo = /* @__PURE__ */ v(mo, [["render", go], ["__scopeId", "data-v-0d237791
1346
1340
  function Do(e, t) {
1347
1341
  return r(), p("path", vo);
1348
1342
  }
1349
- const Co = /* @__PURE__ */ v(bo, [["render", Do]]);
1350
- const Io = G("Undo", Co);
1343
+ const Io = /* @__PURE__ */ v(bo, [["render", Do]]);
1344
+ const Co = G("Undo", Io);
1351
1345
  function wo(e, t, s, n, a, o) {
1352
1346
  const i = f("Undo"), c = f("Icon");
1353
- return r(), B(c, {
1347
+ return r(), M(c, {
1354
1348
  fill: e.fill,
1355
1349
  fillColor: e.fillColor,
1356
1350
  color: e.color,
1357
- class: S(e.classes),
1351
+ class: O(e.classes),
1358
1352
  style: T(e.style)
1359
1353
  }, {
1360
1354
  default: h(() => [
@@ -1363,7 +1357,7 @@ function wo(e, t, s, n, a, o) {
1363
1357
  _: 1
1364
1358
  }, 8, ["fill", "fillColor", "color", "class", "style"]);
1365
1359
  }
1366
- const Bo = /* @__PURE__ */ v(Io, [["render", wo], ["__scopeId", "data-v-b49e6e27"]]);
1360
+ const Bo = /* @__PURE__ */ v(Co, [["render", wo], ["__scopeId", "data-v-b49e6e27"]]);
1367
1361
  const Mo = {}, xo = {
1368
1362
  "fill-rule": "evenodd",
1369
1363
  "clip-rule": "evenodd",
@@ -1376,11 +1370,11 @@ const To = /* @__PURE__ */ v(Mo, [["render", ko]]);
1376
1370
  const $o = G("User", To);
1377
1371
  function So(e, t, s, n, a, o) {
1378
1372
  const i = f("User"), c = f("Icon");
1379
- return r(), B(c, {
1373
+ return r(), M(c, {
1380
1374
  fill: e.fill,
1381
1375
  fillColor: e.fillColor,
1382
1376
  color: e.color,
1383
- class: S(e.classes),
1377
+ class: O(e.classes),
1384
1378
  style: T(e.style)
1385
1379
  }, {
1386
1380
  default: h(() => [
@@ -1397,11 +1391,11 @@ const Eo = /* @__PURE__ */ v(Oo, [["render", Fo]]);
1397
1391
  const Lo = G("Validate", Eo);
1398
1392
  function Po(e, t, s, n, a, o) {
1399
1393
  const i = f("Validate"), c = f("Icon");
1400
- return r(), B(c, {
1394
+ return r(), M(c, {
1401
1395
  fill: e.fill,
1402
1396
  fillColor: e.fillColor,
1403
1397
  color: e.color,
1404
- class: S(e.classes),
1398
+ class: O(e.classes),
1405
1399
  style: T(e.style)
1406
1400
  }, {
1407
1401
  default: h(() => [
@@ -1496,7 +1490,7 @@ const No = {
1496
1490
  };
1497
1491
  function Yo(e, t, s, n, a, o) {
1498
1492
  return r(), p("div", {
1499
- class: S(["bimdata-input", { error: s.error, success: s.success, disabled: s.disabled, loading: s.loading, "not-empty": !!s.modelValue }]),
1493
+ class: O(["bimdata-input", { error: s.error, success: s.success, disabled: s.disabled, loading: s.loading, "not-empty": !!s.modelValue }]),
1500
1494
  style: T(o.style)
1501
1495
  }, [
1502
1496
  u("input", Be({
@@ -1514,14 +1508,14 @@ function Yo(e, t, s, n, a, o) {
1514
1508
  autocomplete: s.autocomplete ? "on" : "off"
1515
1509
  }, e.$attrs), null, 16, Ho),
1516
1510
  u("div", zo, [
1517
- x(e.$slots, "inputIcon", {}, void 0, !0)
1511
+ k(e.$slots, "inputIcon", {}, void 0, !0)
1518
1512
  ]),
1519
1513
  u("label", {
1520
1514
  for: `bimdata-input-${e.uuid}`
1521
1515
  }, g(s.placeholder), 9, jo),
1522
1516
  Ro,
1523
- s.error ? (r(), p("span", qo, g(s.errorMessage), 1)) : C("", !0),
1524
- s.success ? (r(), p("span", Ko, g(s.successMessage), 1)) : C("", !0)
1517
+ s.error ? (r(), p("span", qo, g(s.errorMessage), 1)) : I("", !0),
1518
+ s.success ? (r(), p("span", Ko, g(s.successMessage), 1)) : I("", !0)
1525
1519
  ], 6);
1526
1520
  }
1527
1521
  const Te = /* @__PURE__ */ v(No, [["render", Yo], ["__scopeId", "data-v-3449a404"]]), tt = {
@@ -1600,10 +1594,10 @@ function Xo(e, t, s, n, a, o) {
1600
1594
  }, e.$attrs), [
1601
1595
  Jo,
1602
1596
  s.text ? (r(), p("span", Go, [
1603
- x(e.$slots, "default", {}, () => [
1597
+ k(e.$slots, "default", {}, () => [
1604
1598
  A(g(s.text), 1)
1605
1599
  ], !0)
1606
- ])) : C("", !0)
1600
+ ])) : I("", !0)
1607
1601
  ], 16);
1608
1602
  }
1609
1603
  const zt = /* @__PURE__ */ v(Zo, [["render", Xo], ["__scopeId", "data-v-ee1415f6"]]);
@@ -1695,7 +1689,7 @@ const Qo = {
1695
1689
  function ai(e, t, s, n, a, o) {
1696
1690
  const i = f("BIMDataIconChevron"), c = f("BIMDataCheckbox"), l = De("clickaway");
1697
1691
  return W((r(), p("div", {
1698
- class: S(["bimdata-select", {
1692
+ class: O(["bimdata-select", {
1699
1693
  disabled: s.disabled,
1700
1694
  active: a.isOpen,
1701
1695
  "not-empty": s.modelValue.length > 0
@@ -1720,7 +1714,7 @@ function ai(e, t, s, n, a, o) {
1720
1714
  default: h(() => [
1721
1715
  W(u("ul", oi, [
1722
1716
  (r(!0), p(z, null, J(s.options, (d, m) => (r(), p("li", {
1723
- class: S(["bimdata-select__option-list__entry", {
1717
+ class: O(["bimdata-select__option-list__entry", {
1724
1718
  selected: o.isSelected(d),
1725
1719
  disabled: o.isDisabled(d),
1726
1720
  "option-group": o.isOptionGroup(d)
@@ -1730,7 +1724,7 @@ function ai(e, t, s, n, a, o) {
1730
1724
  }, [
1731
1725
  o.isOptionGroup(d) ? (r(), p(z, { key: 0 }, [
1732
1726
  A(g(o.optionLabel(d)), 1)
1733
- ], 64)) : (r(), B(c, {
1727
+ ], 64)) : (r(), M(c, {
1734
1728
  key: 1,
1735
1729
  modelValue: o.isSelected(d),
1736
1730
  disabled: o.isDisabled(d),
@@ -1834,7 +1828,7 @@ const ri = {
1834
1828
  function hi(e, t, s, n, a, o) {
1835
1829
  const i = f("BIMDataIconChevron"), c = De("clickaway");
1836
1830
  return W((r(), p("div", {
1837
- class: S(["bimdata-select", {
1831
+ class: O(["bimdata-select", {
1838
1832
  disabled: s.disabled,
1839
1833
  active: a.isOpen,
1840
1834
  "not-empty": s.modelValue !== void 0 && s.modelValue !== null
@@ -1862,9 +1856,9 @@ function hi(e, t, s, n, a, o) {
1862
1856
  key: 0,
1863
1857
  class: "bimdata-select__option-list__entry",
1864
1858
  onClick: t[1] || (t[1] = (l) => o.onNullValueClick())
1865
- }, g(s.nullLabel || "None"), 1)) : C("", !0),
1859
+ }, g(s.nullLabel || "None"), 1)) : I("", !0),
1866
1860
  (r(!0), p(z, null, J(s.options, (l, d) => (r(), p("li", {
1867
- class: S(["bimdata-select__option-list__entry", {
1861
+ class: O(["bimdata-select__option-list__entry", {
1868
1862
  selected: o.isSelected(l),
1869
1863
  disabled: o.isDisabled(l),
1870
1864
  "option-group": o.isOptionGroup(l)
@@ -1937,7 +1931,7 @@ const mi = /* @__PURE__ */ v(ri, [["render", hi], ["__scopeId", "data-v-4b484f97
1937
1931
  }
1938
1932
  };
1939
1933
  function yi(e, t, s, n, a, o) {
1940
- return r(), B(Me(o.selectorComponent), Be(e.$props, {
1934
+ return r(), M(Me(o.selectorComponent), Be(e.$props, {
1941
1935
  modelValue: s.modelValue,
1942
1936
  "onUpdate:modelValue": t[0] || (t[0] = (i) => e.$emit("update:modelValue", i))
1943
1937
  }), null, 16, ["modelValue"]);
@@ -1968,7 +1962,7 @@ const bi = {
1968
1962
  },
1969
1963
  emits: ["submit"],
1970
1964
  setup(e, { emit: t }) {
1971
- const s = $(!1), n = () => s.value = !1, a = () => s.value = !s.value, { filters: o, filteredTopics: i, reset: c, apply: l } = ms(j(() => e.topics));
1965
+ const s = $(!1), n = () => s.value = !1, a = () => s.value = !s.value, { filters: o, filteredTopics: i, reset: c, apply: l } = ms(H(() => e.topics));
1972
1966
  ne(
1973
1967
  () => e.initFilters,
1974
1968
  () => {
@@ -1976,16 +1970,16 @@ const bi = {
1976
1970
  },
1977
1971
  { deep: !0 }
1978
1972
  );
1979
- const d = j(
1980
- () => ye(e.topics.map((M) => M.priority))
1981
- ), m = j(
1982
- () => ye(e.topics.map((M) => M.topic_status))
1983
- ), y = j(
1984
- () => ye(e.topics.map((M) => M.assigned_to))
1985
- ), D = j(
1986
- () => ye(e.topics.map((M) => M.creation_author))
1987
- ), b = j(
1988
- () => ye(e.topics.flatMap((M) => M.labels))
1973
+ const d = H(
1974
+ () => ye(e.topics.map((x) => x.priority))
1975
+ ), m = H(
1976
+ () => ye(e.topics.map((x) => x.topic_status))
1977
+ ), y = H(
1978
+ () => ye(e.topics.map((x) => x.assigned_to))
1979
+ ), D = H(
1980
+ () => ye(e.topics.map((x) => x.creation_author))
1981
+ ), b = H(
1982
+ () => ye(e.topics.flatMap((x) => x.labels))
1989
1983
  );
1990
1984
  return {
1991
1985
  // References
@@ -2005,8 +1999,8 @@ const bi = {
2005
1999
  });
2006
2000
  },
2007
2001
  submitFilters: () => {
2008
- var M;
2009
- (M = o.endDate) == null || M.setHours(23, 59, 59), t("submit", {
2002
+ var x;
2003
+ (x = o.endDate) == null || x.setHours(23, 59, 59), t("submit", {
2010
2004
  filters: rt(o),
2011
2005
  topics: i.value
2012
2006
  }), s.value = !1;
@@ -2014,7 +2008,7 @@ const bi = {
2014
2008
  toggle: a
2015
2009
  };
2016
2010
  }
2017
- }, vi = { class: "bcf-filters" }, Di = { class: "bcf-filters__container" }, Ci = { class: "bcf-filters__container__header" }, Ii = { class: "bcf-filters__container__header__title" }, wi = { class: "bcf-filters__container__date" }, Bi = { class: "bcf-filters__container__actions" };
2011
+ }, vi = { class: "bcf-filters" }, Di = { class: "bcf-filters__container" }, Ii = { class: "bcf-filters__container__header" }, Ci = { class: "bcf-filters__container__header__title" }, wi = { class: "bcf-filters__container__date" }, Bi = { class: "bcf-filters__container__actions" };
2018
2012
  function Mi(e, t, s, n, a, o) {
2019
2013
  const i = f("BIMDataIconFilterList"), c = f("BIMDataButton"), l = f("BIMDataIconClose"), d = f("BIMDataSelect"), m = f("BIMDataDatePicker"), y = f("BIMDataIconSearch"), D = De("click-away");
2020
2014
  return W((r(), p("div", vi, [
@@ -2041,8 +2035,8 @@ function Mi(e, t, s, n, a, o) {
2041
2035
  _(oe, { name: "slide-fade-up" }, {
2042
2036
  default: h(() => [
2043
2037
  W(u("div", Di, [
2044
- u("div", Ci, [
2045
- u("div", Ii, g(e.$t("BcfComponents.BcfFilters.filtersTitle")), 1),
2038
+ u("div", Ii, [
2039
+ u("div", Ci, g(e.$t("BcfComponents.BcfFilters.filtersTitle")), 1),
2046
2040
  _(c, {
2047
2041
  color: "primary",
2048
2042
  ghost: "",
@@ -2169,10 +2163,10 @@ const ki = {
2169
2163
  function Oi(e, t, s, n, a, o) {
2170
2164
  return r(), p("div", Ti, [
2171
2165
  u("div", $i, [
2172
- x(e.$slots, "left", {}, void 0, !0),
2173
- s.text ? (r(), p("span", Si, g(s.text), 1)) : C("", !0)
2166
+ k(e.$slots, "left", {}, void 0, !0),
2167
+ s.text ? (r(), p("span", Si, g(s.text), 1)) : I("", !0)
2174
2168
  ]),
2175
- x(e.$slots, "right", {}, void 0, !0)
2169
+ k(e.$slots, "right", {}, void 0, !0)
2176
2170
  ]);
2177
2171
  }
2178
2172
  const Vi = /* @__PURE__ */ v(ki, [["render", Oi], ["__scopeId", "data-v-6e7b4167"]]);
@@ -2218,38 +2212,38 @@ const Fi = {
2218
2212
  function Pi(e, t, s, n, a, o) {
2219
2213
  const i = f("BIMDataCardBand");
2220
2214
  return r(), p("div", {
2221
- class: S(["bimdata-card", o.classes]),
2215
+ class: O(["bimdata-card", o.classes]),
2222
2216
  style: T({ "min-width": s.width, "border-radius": s.borderRadius })
2223
2217
  }, [
2224
- s.titleHeader || e.$slots.headerIcons ? (r(), B(i, {
2218
+ s.titleHeader || e.$slots.headerIcons ? (r(), M(i, {
2225
2219
  key: 0,
2226
2220
  text: s.titleHeader,
2227
2221
  class: "bimdata-card__header"
2228
2222
  }, {
2229
2223
  right: h(() => [
2230
- x(e.$slots, "headerIcons", {}, void 0, !0)
2224
+ k(e.$slots, "headerIcons", {}, void 0, !0)
2231
2225
  ]),
2232
2226
  _: 3
2233
- }, 8, ["text"])) : C("", !0),
2234
- e.$slots.left || s.submenuText || e.$slots.right ? (r(), B(i, {
2227
+ }, 8, ["text"])) : I("", !0),
2228
+ e.$slots.left || s.submenuText || e.$slots.right ? (r(), M(i, {
2235
2229
  key: 1,
2236
2230
  class: "bimdata-card__submenu",
2237
2231
  text: s.submenuText
2238
2232
  }, {
2239
2233
  left: h(() => [
2240
- x(e.$slots, "left", {}, void 0, !0)
2234
+ k(e.$slots, "left", {}, void 0, !0)
2241
2235
  ]),
2242
2236
  right: h(() => [
2243
- x(e.$slots, "right", {}, void 0, !0)
2237
+ k(e.$slots, "right", {}, void 0, !0)
2244
2238
  ]),
2245
2239
  _: 3
2246
- }, 8, ["text"])) : C("", !0),
2240
+ }, 8, ["text"])) : I("", !0),
2247
2241
  e.$slots.content ? (r(), p("div", Ei, [
2248
- x(e.$slots, "content", {}, void 0, !0)
2249
- ])) : C("", !0),
2242
+ k(e.$slots, "content", {}, void 0, !0)
2243
+ ])) : I("", !0),
2250
2244
  e.$slots.footer ? (r(), p("footer", Li, [
2251
- x(e.$slots, "footer", {}, void 0, !0)
2252
- ])) : C("", !0)
2245
+ k(e.$slots, "footer", {}, void 0, !0)
2246
+ ])) : I("", !0)
2253
2247
  ], 6);
2254
2248
  }
2255
2249
  const Ai = /* @__PURE__ */ v(Fi, [["render", Pi], ["__scopeId", "data-v-c80927ec"]]);
@@ -2273,14 +2267,14 @@ const Ni = Object.entries(We).reduce((e, t, s) => (s % 5 === 0 ? e.push([t]) : e
2273
2267
  }, Hi = ["title", "onClick"];
2274
2268
  function zi(e, t, s, n, a, o) {
2275
2269
  const i = f("BIMDataCard");
2276
- return r(), B(i, { class: "color-selector" }, {
2270
+ return r(), M(i, { class: "color-selector" }, {
2277
2271
  content: h(() => [
2278
2272
  (r(!0), p(z, null, J(a.colorLines, (c, l) => (r(), p("div", {
2279
2273
  class: "color-selector__line",
2280
2274
  key: `colorLine${l}`
2281
2275
  }, [
2282
2276
  (r(!0), p(z, null, J(c, ([d, m], y) => (r(), p("div", {
2283
- class: S(["color-selector__line__element", { selected: m === s.modelValue }]),
2277
+ class: O(["color-selector__line__element", { selected: m === s.modelValue }]),
2284
2278
  key: `colorElement${y}ofColorLine${l}`,
2285
2279
  style: T(`background-color: #${m}`),
2286
2280
  title: d,
@@ -2352,12 +2346,12 @@ const Ri = {
2352
2346
  function Ji(e, t, s, n, a, o) {
2353
2347
  const i = f("BIMDataInput"), c = f("BIMDataIcon"), l = f("BIMDataButton"), d = f("BIMDataIconDelete"), m = f("BIMDataColorSelector"), y = f("BIMDataIconClose"), D = De("click-away");
2354
2348
  return r(), p("li", qi, [
2355
- n.editMode ? (r(), B(i, {
2349
+ n.editMode ? (r(), M(i, {
2356
2350
  key: 1,
2357
2351
  ref: "input",
2358
2352
  modelValue: n.extensionName,
2359
2353
  "onUpdate:modelValue": t[0] || (t[0] = (b) => n.extensionName = b),
2360
- onKeyup: F(P(n.submitValue, ["stop"]), ["enter"])
2354
+ onKeyup: E(P(n.submitValue, ["stop"]), ["enter"])
2361
2355
  }, null, 8, ["modelValue", "onKeyup"])) : (r(), p("span", Ki, g(s.extension[n.getExtensionField(s.extensionType)]), 1)),
2362
2356
  u("div", Yi, [
2363
2357
  _(l, {
@@ -2396,15 +2390,15 @@ function Ji(e, t, s, n, a, o) {
2396
2390
  }),
2397
2391
  onClick: t[3] || (t[3] = (b) => n.isOpenColorSelector = !0)
2398
2392
  }, null, 4),
2399
- n.isOpenColorSelector ? W((r(), B(m, {
2393
+ n.isOpenColorSelector ? W((r(), M(m, {
2400
2394
  key: 0,
2401
2395
  class: "setting-card-item__color-selector",
2402
2396
  modelValue: n.extensionColor,
2403
2397
  "onUpdate:modelValue": n.submitColor
2404
2398
  }, null, 8, ["modelValue", "onUpdate:modelValue"])), [
2405
2399
  [D, () => n.isOpenColorSelector = !1]
2406
- ]) : C("", !0)
2407
- ], 64)) : C("", !0)
2400
+ ]) : I("", !0)
2401
+ ], 64)) : I("", !0)
2408
2402
  ]),
2409
2403
  n.isOpenDeleteGuard ? (r(), p("div", Zi, [
2410
2404
  u("p", null, g(e.$t("BcfComponents.SettingCard.deleteExtensionText")), 1),
@@ -2435,7 +2429,7 @@ function Ji(e, t, s, n, a, o) {
2435
2429
  _: 1
2436
2430
  })
2437
2431
  ])
2438
- ])) : C("", !0)
2432
+ ])) : I("", !0)
2439
2433
  ]);
2440
2434
  }
2441
2435
  const Gi = /* @__PURE__ */ v(Ri, [["render", Ji], ["__scopeId", "data-v-81829ea9"]]);
@@ -2459,7 +2453,7 @@ const Xi = {
2459
2453
  },
2460
2454
  emits: ["create-extension", "update-extension", "delete-extension"],
2461
2455
  setup(e, { emit: t }) {
2462
- const s = j(
2456
+ const s = H(
2463
2457
  () => Ft(e.extensionType, e.detailedExtensions)
2464
2458
  ), n = $(null), a = $(""), o = $(!1), i = () => o.value = !1, c = () => o.value = !o.value, l = $(!1), d = () => {
2465
2459
  a.value = "", l.value = !1;
@@ -2499,7 +2493,7 @@ function la(e, t, s, n, a, o) {
2499
2493
  }, [
2500
2494
  u("div", ea, g(e.$t(`BcfComponents.SettingCard.title.${s.extensionType}`)), 1),
2501
2495
  u("div", ta, [
2502
- n.availableExtensions ? (r(), p("div", sa, g(n.availableExtensions.length), 1)) : C("", !0),
2496
+ n.availableExtensions ? (r(), p("div", sa, g(n.availableExtensions.length), 1)) : I("", !0),
2503
2497
  _(i, {
2504
2498
  size: "xxs",
2505
2499
  rotate: n.isOpen ? 90 : 0
@@ -2533,7 +2527,7 @@ function la(e, t, s, n, a, o) {
2533
2527
  placeholder: e.$t(`BcfComponents.SettingCard.input.${s.extensionType}`),
2534
2528
  modelValue: n.name,
2535
2529
  "onUpdate:modelValue": t[1] || (t[1] = (y) => n.name = y),
2536
- onKeyup: F(P(n.addExtension, ["stop"]), ["enter"])
2530
+ onKeyup: E(P(n.addExtension, ["stop"]), ["enter"])
2537
2531
  }, null, 8, ["placeholder", "modelValue", "onKeyup"]),
2538
2532
  u("div", ia, [
2539
2533
  _(l, {
@@ -2565,7 +2559,7 @@ function la(e, t, s, n, a, o) {
2565
2559
  _: 1
2566
2560
  }),
2567
2561
  u("ul", aa, [
2568
- (r(!0), p(z, null, J(n.availableExtensions, (y) => (r(), B(m, {
2562
+ (r(!0), p(z, null, J(n.availableExtensions, (y) => (r(), M(m, {
2569
2563
  key: y.id,
2570
2564
  extensionType: s.extensionType,
2571
2565
  extension: y,
@@ -2605,7 +2599,7 @@ const ca = {
2605
2599
  },
2606
2600
  emits: ["back", "close", "extension-created", "extension-updated", "extension-deleted"],
2607
2601
  setup(e, { emit: t }) {
2608
- const s = Ce();
2602
+ const s = Ie();
2609
2603
  return {
2610
2604
  // References
2611
2605
  EXTENSION_TYPES: Bt,
@@ -2633,7 +2627,7 @@ function ha(e, t, s, n, a, o) {
2633
2627
  const i = f("BIMDataIconArrow"), c = f("BIMDataButton"), l = f("BIMDataIconClose"), d = f("SettingCard");
2634
2628
  return r(), p("div", da, [
2635
2629
  u("div", ua, [
2636
- s.uiConfig.backButton ? (r(), B(c, {
2630
+ s.uiConfig.backButton ? (r(), M(c, {
2637
2631
  key: 0,
2638
2632
  color: "granite",
2639
2633
  ghost: "",
@@ -2645,9 +2639,9 @@ function ha(e, t, s, n, a, o) {
2645
2639
  _(i, { size: "xxs" })
2646
2640
  ]),
2647
2641
  _: 1
2648
- })) : C("", !0),
2642
+ })) : I("", !0),
2649
2643
  u("span", _a, g(e.$t("BcfComponents.BcfSettings.title")), 1),
2650
- s.uiConfig.closeButton ? (r(), B(c, {
2644
+ s.uiConfig.closeButton ? (r(), M(c, {
2651
2645
  key: 1,
2652
2646
  color: "granite",
2653
2647
  ghost: "",
@@ -2659,11 +2653,11 @@ function ha(e, t, s, n, a, o) {
2659
2653
  _(l, { size: "xxs" })
2660
2654
  ]),
2661
2655
  _: 1
2662
- })) : C("", !0)
2656
+ })) : I("", !0)
2663
2657
  ]),
2664
2658
  u("div", fa, [
2665
2659
  u("div", pa, g(e.$t("BcfComponents.BcfSettings.text")), 1),
2666
- (r(!0), p(z, null, J(n.EXTENSION_TYPES, (m) => (r(), B(d, {
2660
+ (r(!0), p(z, null, J(n.EXTENSION_TYPES, (m) => (r(), M(d, {
2667
2661
  detailedExtensions: s.detailedExtensions,
2668
2662
  extensionType: m,
2669
2663
  onCreateExtension: n.createExtension,
@@ -2728,10 +2722,10 @@ const ga = {
2728
2722
  }, Da = {
2729
2723
  key: 2,
2730
2724
  class: "bimdata-navigation__item"
2731
- }, Ca = {
2725
+ }, Ia = {
2732
2726
  key: 3,
2733
2727
  class: "bimdata-navigation__item"
2734
- }, Ia = { class: "bimdata-navigation__right" };
2728
+ }, Ca = { class: "bimdata-navigation__right" };
2735
2729
  function wa(e, t, s, n, a, o) {
2736
2730
  const i = f("BIMDataIconDoubleChevron"), c = f("BIMDataButton"), l = f("BIMDataIconChevron");
2737
2731
  return r(), p("ul", {
@@ -2739,14 +2733,14 @@ function wa(e, t, s, n, a, o) {
2739
2733
  style: T({ "background-color": s.backgroundColor })
2740
2734
  }, [
2741
2735
  u("li", ya, [
2742
- x(e.$slots, "left", {}, void 0, !0)
2736
+ k(e.$slots, "left", {}, void 0, !0)
2743
2737
  ]),
2744
2738
  s.first ? (r(), p("li", ba, [
2745
2739
  _(c, {
2746
2740
  onClick: t[0] || (t[0] = (d) => e.$emit("first")),
2747
2741
  disabled: s.firstDisabled,
2748
2742
  ghost: "",
2749
- class: S({ disabled: s.firstDisabled }),
2743
+ class: O({ disabled: s.firstDisabled }),
2750
2744
  width: "21px",
2751
2745
  height: "21px"
2752
2746
  }, {
@@ -2758,13 +2752,13 @@ function wa(e, t, s, n, a, o) {
2758
2752
  ]),
2759
2753
  _: 1
2760
2754
  }, 8, ["disabled", "class"])
2761
- ])) : C("", !0),
2755
+ ])) : I("", !0),
2762
2756
  s.previous ? (r(), p("li", va, [
2763
2757
  _(c, {
2764
2758
  onClick: t[1] || (t[1] = (d) => e.$emit("previous")),
2765
2759
  disabled: s.previousDisabled,
2766
2760
  ghost: "",
2767
- class: S({ disabled: s.previousDisabled }),
2761
+ class: O({ disabled: s.previousDisabled }),
2768
2762
  width: "21px",
2769
2763
  height: "21px"
2770
2764
  }, {
@@ -2776,16 +2770,16 @@ function wa(e, t, s, n, a, o) {
2776
2770
  ]),
2777
2771
  _: 1
2778
2772
  }, 8, ["disabled", "class"])
2779
- ])) : C("", !0),
2773
+ ])) : I("", !0),
2780
2774
  u("li", null, [
2781
- x(e.$slots, "default", {}, void 0, !0)
2775
+ k(e.$slots, "default", {}, void 0, !0)
2782
2776
  ]),
2783
2777
  s.next ? (r(), p("li", Da, [
2784
2778
  _(c, {
2785
2779
  onClick: t[2] || (t[2] = (d) => e.$emit("next")),
2786
2780
  disabled: s.nextDisabled,
2787
2781
  ghost: "",
2788
- class: S({ disabled: s.nextDisabled }),
2782
+ class: O({ disabled: s.nextDisabled }),
2789
2783
  width: "21px",
2790
2784
  height: "21px"
2791
2785
  }, {
@@ -2794,13 +2788,13 @@ function wa(e, t, s, n, a, o) {
2794
2788
  ]),
2795
2789
  _: 1
2796
2790
  }, 8, ["disabled", "class"])
2797
- ])) : C("", !0),
2798
- s.last ? (r(), p("li", Ca, [
2791
+ ])) : I("", !0),
2792
+ s.last ? (r(), p("li", Ia, [
2799
2793
  _(c, {
2800
2794
  onClick: t[3] || (t[3] = (d) => e.$emit("last")),
2801
2795
  disabled: s.lastDisabled,
2802
2796
  ghost: "",
2803
- class: S({ disabled: s.lastDisabled }),
2797
+ class: O({ disabled: s.lastDisabled }),
2804
2798
  width: "21px",
2805
2799
  height: "21px"
2806
2800
  }, {
@@ -2809,9 +2803,9 @@ function wa(e, t, s, n, a, o) {
2809
2803
  ]),
2810
2804
  _: 1
2811
2805
  }, 8, ["disabled", "class"])
2812
- ])) : C("", !0),
2813
- u("li", Ia, [
2814
- x(e.$slots, "right", {}, void 0, !0)
2806
+ ])) : I("", !0),
2807
+ u("li", Ca, [
2808
+ k(e.$slots, "right", {}, void 0, !0)
2815
2809
  ])
2816
2810
  ], 4);
2817
2811
  }
@@ -2880,7 +2874,7 @@ const Ma = {
2880
2874
  }, xa = { class: "bimdata-pagination__item" };
2881
2875
  function ka(e, t, s, n, a, o) {
2882
2876
  const i = f("BIMDataButton"), c = f("BIMDataNavigation");
2883
- return r(), B(c, {
2877
+ return r(), M(c, {
2884
2878
  onFirst: t[0] || (t[0] = (l) => o.firstPage()),
2885
2879
  onPrevious: t[1] || (t[1] = (l) => o.previousPage()),
2886
2880
  onNext: t[2] || (t[2] = (l) => o.nextPage()),
@@ -3043,23 +3037,23 @@ const Fa = {
3043
3037
  function Na(e, t, s, n, a, o) {
3044
3038
  const i = f("BIMDataSpinner"), c = f("BIMDataPagination");
3045
3039
  return r(), p("div", Ea, [
3046
- s.loading ? (r(), B(i, { key: 0 })) : (r(), p("div", La, [
3047
- x(e.$slots, "header", {}, void 0, !0),
3040
+ s.loading ? (r(), M(i, { key: 0 })) : (r(), p("div", La, [
3041
+ k(e.$slots, "header", {}, void 0, !0),
3048
3042
  u("ul", Pa, [
3049
3043
  (r(!0), p(z, null, J(o.page, (l) => (r(), p("li", {
3050
3044
  key: s.elementKey ? l[s.elementKey] : l,
3051
3045
  onClick: (d) => e.$emit("element-click", l),
3052
3046
  ref_for: !0,
3053
3047
  ref: "elements",
3054
- class: S({ "active-element": o.isElementActive(l) })
3048
+ class: O({ "active-element": o.isElementActive(l) })
3055
3049
  }, [
3056
- x(e.$slots, "element", { element: l }, () => [
3050
+ k(e.$slots, "element", { element: l }, () => [
3057
3051
  A(g(l && l.toString()), 1)
3058
3052
  ], !0)
3059
3053
  ], 10, Aa))), 128))
3060
3054
  ]),
3061
- s.list.length === 0 ? x(e.$slots, "empty", { key: 0 }, void 0, !0) : C("", !0),
3062
- o.totalPages > 1 ? (r(), B(c, {
3055
+ s.list.length === 0 ? k(e.$slots, "empty", { key: 0 }, void 0, !0) : I("", !0),
3056
+ o.totalPages > 1 ? (r(), M(c, {
3063
3057
  key: 1,
3064
3058
  length: s.list.length,
3065
3059
  currentPage: a.currentPage,
@@ -3070,7 +3064,7 @@ function Na(e, t, s, n, a, o) {
3070
3064
  last: s.last,
3071
3065
  numberDataElements: s.numberDataElements,
3072
3066
  backgroundColor: s.backgroundColor
3073
- }, null, 8, ["length", "currentPage", "onPagechanged", "totalPages", "perPage", "first", "last", "numberDataElements", "backgroundColor"])) : C("", !0)
3067
+ }, null, 8, ["length", "currentPage", "onPagechanged", "totalPages", "perPage", "first", "last", "numberDataElements", "backgroundColor"])) : I("", !0)
3074
3068
  ]))
3075
3069
  ]);
3076
3070
  }
@@ -3170,7 +3164,7 @@ function qa(e, t, s, n, a, o) {
3170
3164
  "stroke-width": s.placeholderStrokeWidth,
3171
3165
  stroke: s.placeholderColor,
3172
3166
  fill: "none"
3173
- }, null, 8, ja)) : C("", !0),
3167
+ }, null, 8, ja)) : I("", !0),
3174
3168
  (r(!0), p(z, null, J(o.displayedBarsData, (i, c) => (r(), p("g", { key: c }, [
3175
3169
  i.percentage > 0 ? (r(), p("path", {
3176
3170
  key: 0,
@@ -3179,7 +3173,7 @@ function qa(e, t, s, n, a, o) {
3179
3173
  "stroke-width": s.barStrokeWidth,
3180
3174
  stroke: i.color,
3181
3175
  fill: "none"
3182
- }, null, 8, Ra)) : C("", !0)
3176
+ }, null, 8, Ra)) : I("", !0)
3183
3177
  ]))), 128))
3184
3178
  ], 12, za))
3185
3179
  ], 512);
@@ -3205,7 +3199,7 @@ const Ya = {
3205
3199
  },
3206
3200
  setup(e) {
3207
3201
  return {
3208
- chartData: j(() => {
3202
+ chartData: H(() => {
3209
3203
  if (e.topics.length === 0)
3210
3204
  return [];
3211
3205
  const s = he(e.extensionType), n = Ft(e.extensionType, e.detailedExtensions);
@@ -3363,22 +3357,22 @@ function al(e, t, s, n, a, o) {
3363
3357
  ]),
3364
3358
  s.tooltip && a.isOverflowing ? W((r(), p("div", {
3365
3359
  key: 0,
3366
- class: S(["bimdata-textbox__tooltip", [
3360
+ class: O(["bimdata-textbox__tooltip", [
3367
3361
  `bimdata-textbox__tooltip--${s.tooltipPosition}`,
3368
3362
  `bimdata-textbox__tooltip--${s.tooltipColor}`
3369
3363
  ]])
3370
3364
  }, g(s.text), 3)), [
3371
3365
  [ee, a.showTooltip]
3372
- ]) : C("", !0)
3366
+ ]) : I("", !0)
3373
3367
  ], 36);
3374
3368
  }
3375
- const Ie = /* @__PURE__ */ v(ol, [["render", al], ["__scopeId", "data-v-76b03520"]]), ll = {}, rl = {
3369
+ const Ce = /* @__PURE__ */ v(ol, [["render", al], ["__scopeId", "data-v-76b03520"]]), ll = {}, rl = {
3376
3370
  width: "84",
3377
3371
  height: "81",
3378
3372
  viewBox: "0 0 84 81",
3379
3373
  fill: "none",
3380
3374
  xmlns: "http://www.w3.org/2000/svg"
3381
- }, cl = /* @__PURE__ */ Ct('<path d="M83.3154 40.6328C83.3154 62.7242 65.4068 80.6328 43.3154 80.6328C21.224 80.6328 3.31543 62.7242 3.31543 40.6328C3.31543 18.5414 21.224 0.632812 43.3154 0.632812C65.4068 0.632812 83.3154 18.5414 83.3154 40.6328Z" fill="#FFFFFF"></path><path d="M46.2756 13.5376L34.124 58.8879C33.9787 59.4301 34.3035 59.9926 34.8457 60.1379L68.3655 69.1195C68.9077 69.2648 69.4702 68.94 69.6155 68.3978L78.333 35.8639L67.4883 32.9581C66.9461 32.8128 66.6213 32.2503 66.7666 31.708L70.2008 18.8916L47.5256 12.8159C46.9834 12.6706 46.4209 12.9953 46.2756 13.5376Z" fill="#FFFFFF"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.7926 13.4082C46.0094 12.5992 46.8461 12.1161 47.655 12.3329L70.8131 18.5381L67.2496 31.8374C67.1758 32.1129 67.0765 32.4855 67.0765 32.4855L78.92 35.6661L70.0985 68.5272C69.8817 69.3362 69.045 69.8192 68.2361 69.6024L34.7163 60.6209C33.9073 60.4041 33.4243 59.5674 33.641 58.7584L45.7926 13.4082ZM47.3962 13.2988C47.1207 13.225 46.8324 13.3915 46.7585 13.667L34.607 59.0173C34.5331 59.2928 34.6996 59.5811 34.9751 59.6549L68.4949 68.6365C68.7704 68.7103 69.0587 68.5439 69.1326 68.2684L77.7206 36.2174L67.3589 33.441C66.55 33.2243 66.0669 32.3876 66.2837 31.5786L69.5884 19.2452L47.3962 13.2988Z" class="fill-silver"></path><path d="M67.0765 32.4855L70.8131 18.5404L78.92 35.6661L67.0765 32.4855Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.3876 52.686L48.3872 37.7594L67.8264 42.9682L63.8269 57.8947L44.3876 52.686ZM47.0917 37.0402C47.2458 36.4651 47.837 36.1238 48.4121 36.2779L68.5456 41.6726C69.1208 41.8268 69.4621 42.4179 69.308 42.9931L65.1224 58.6139C64.9683 59.1891 64.3771 59.5304 63.802 59.3763L43.6684 53.9815C43.0933 53.8274 42.752 53.2362 42.9061 52.6611L47.0917 37.0402ZM53.3118 42.9855C52.9778 44.2316 51.697 44.9712 50.4508 44.6373C49.2047 44.3034 48.4652 43.0225 48.7991 41.7763C49.133 40.5302 50.4139 39.7907 51.66 40.1246C52.9061 40.4585 53.6457 41.7394 53.3118 42.9855ZM46.7528 49.4132L46.1482 51.6695L62.8104 56.1342L64.2521 50.7536L60.6945 44.5916L52.992 49.0387L51.5943 46.6179L46.7528 49.4132Z" class="fill-silver"></path><path d="M7.70191 20.1034L19.8535 65.4537C19.9988 65.9959 20.5613 66.3207 21.1035 66.1754L54.6233 57.1938C55.1655 57.0485 55.4903 56.486 55.345 55.9437L46.6276 23.4098L35.783 26.3157C35.2407 26.4609 34.6782 26.1362 34.5329 25.5939L31.0988 12.7776L8.42363 18.8533C7.88139 18.9986 7.55662 19.5612 7.70191 20.1034Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.21895 20.2328C7.00219 19.4238 7.48525 18.5871 8.29422 18.3704L31.4523 12.1652L35.0159 25.4645C35.0897 25.74 35.1918 26.119 35.1918 26.119L47.0371 22.9451L55.828 55.8143C56.0447 56.6233 55.5617 57.46 54.7527 57.6767L21.2329 66.6583C20.424 66.8751 19.5873 66.392 19.3705 65.5831L7.21895 20.2328ZM8.55304 19.3363C8.27754 19.4101 8.11106 19.6985 8.18488 19.974L20.3365 65.3243C20.4103 65.5998 20.6986 65.7662 20.9741 65.6924L54.4939 56.7108C54.7694 56.637 54.9359 56.3487 54.8621 56.0732L46.274 24.0222L35.9124 26.7986C35.1034 27.0154 34.2667 26.5323 34.0499 25.7234L30.7452 13.3899L8.55304 19.3363Z" class="fill-silver"></path><path d="M35.1918 26.119L31.4534 12.1672L47.0371 22.9451L35.1918 26.119Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M25.6411 54.9509L21.6416 40.0243L41.0808 34.8156L45.0804 49.7422L25.6411 54.9509ZM20.16 40.0492C20.0059 39.4741 20.3472 38.8829 20.9224 38.7288L41.0559 33.3341C41.631 33.1799 42.2222 33.5213 42.3763 34.0964L46.5619 49.7172C46.716 50.2924 46.3747 50.8836 45.7996 51.0377L25.666 56.4324C25.0909 56.5865 24.4997 56.2452 24.3456 55.6701L20.16 40.0492ZM28.5194 42.088C28.8533 43.3341 28.1138 44.615 26.8676 44.9489C25.6215 45.2828 24.3406 44.5433 24.0067 43.2971C23.6728 42.051 24.4123 40.7701 25.6585 40.4362C26.9046 40.1023 28.1855 40.8418 28.5194 42.088ZM26.053 50.934L26.6576 53.1903L43.3198 48.7257L41.8781 43.3452L35.7161 39.7876L31.2691 47.4901L28.8483 46.0924L26.053 50.934Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.9375 17.1323V12.6323H7.9375V17.1323H6.9375Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.72393 18.0419L2.54195 14.8599L3.24906 14.1528L6.43104 17.3348L5.72393 18.0419Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.46582 19.615H0.96582L0.96582 18.615H5.46582V19.615Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M46.5972 10.507L47.7619 6.16033L48.7278 6.41915L47.5631 10.7658L46.5972 10.507Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.1895 11.0715L42.9395 7.17435L43.8056 6.67435L46.0556 10.5715L45.1895 11.0715Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.5331 12.5242L40.1864 11.3595L40.4452 10.3936L44.7919 11.5582L44.5331 12.5242Z" class="fill-primary"></path>', 15), dl = [
3375
+ }, cl = /* @__PURE__ */ It('<path d="M83.3154 40.6328C83.3154 62.7242 65.4068 80.6328 43.3154 80.6328C21.224 80.6328 3.31543 62.7242 3.31543 40.6328C3.31543 18.5414 21.224 0.632812 43.3154 0.632812C65.4068 0.632812 83.3154 18.5414 83.3154 40.6328Z" fill="#FFFFFF"></path><path d="M46.2756 13.5376L34.124 58.8879C33.9787 59.4301 34.3035 59.9926 34.8457 60.1379L68.3655 69.1195C68.9077 69.2648 69.4702 68.94 69.6155 68.3978L78.333 35.8639L67.4883 32.9581C66.9461 32.8128 66.6213 32.2503 66.7666 31.708L70.2008 18.8916L47.5256 12.8159C46.9834 12.6706 46.4209 12.9953 46.2756 13.5376Z" fill="#FFFFFF"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.7926 13.4082C46.0094 12.5992 46.8461 12.1161 47.655 12.3329L70.8131 18.5381L67.2496 31.8374C67.1758 32.1129 67.0765 32.4855 67.0765 32.4855L78.92 35.6661L70.0985 68.5272C69.8817 69.3362 69.045 69.8192 68.2361 69.6024L34.7163 60.6209C33.9073 60.4041 33.4243 59.5674 33.641 58.7584L45.7926 13.4082ZM47.3962 13.2988C47.1207 13.225 46.8324 13.3915 46.7585 13.667L34.607 59.0173C34.5331 59.2928 34.6996 59.5811 34.9751 59.6549L68.4949 68.6365C68.7704 68.7103 69.0587 68.5439 69.1326 68.2684L77.7206 36.2174L67.3589 33.441C66.55 33.2243 66.0669 32.3876 66.2837 31.5786L69.5884 19.2452L47.3962 13.2988Z" class="fill-silver"></path><path d="M67.0765 32.4855L70.8131 18.5404L78.92 35.6661L67.0765 32.4855Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.3876 52.686L48.3872 37.7594L67.8264 42.9682L63.8269 57.8947L44.3876 52.686ZM47.0917 37.0402C47.2458 36.4651 47.837 36.1238 48.4121 36.2779L68.5456 41.6726C69.1208 41.8268 69.4621 42.4179 69.308 42.9931L65.1224 58.6139C64.9683 59.1891 64.3771 59.5304 63.802 59.3763L43.6684 53.9815C43.0933 53.8274 42.752 53.2362 42.9061 52.6611L47.0917 37.0402ZM53.3118 42.9855C52.9778 44.2316 51.697 44.9712 50.4508 44.6373C49.2047 44.3034 48.4652 43.0225 48.7991 41.7763C49.133 40.5302 50.4139 39.7907 51.66 40.1246C52.9061 40.4585 53.6457 41.7394 53.3118 42.9855ZM46.7528 49.4132L46.1482 51.6695L62.8104 56.1342L64.2521 50.7536L60.6945 44.5916L52.992 49.0387L51.5943 46.6179L46.7528 49.4132Z" class="fill-silver"></path><path d="M7.70191 20.1034L19.8535 65.4537C19.9988 65.9959 20.5613 66.3207 21.1035 66.1754L54.6233 57.1938C55.1655 57.0485 55.4903 56.486 55.345 55.9437L46.6276 23.4098L35.783 26.3157C35.2407 26.4609 34.6782 26.1362 34.5329 25.5939L31.0988 12.7776L8.42363 18.8533C7.88139 18.9986 7.55662 19.5612 7.70191 20.1034Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.21895 20.2328C7.00219 19.4238 7.48525 18.5871 8.29422 18.3704L31.4523 12.1652L35.0159 25.4645C35.0897 25.74 35.1918 26.119 35.1918 26.119L47.0371 22.9451L55.828 55.8143C56.0447 56.6233 55.5617 57.46 54.7527 57.6767L21.2329 66.6583C20.424 66.8751 19.5873 66.392 19.3705 65.5831L7.21895 20.2328ZM8.55304 19.3363C8.27754 19.4101 8.11106 19.6985 8.18488 19.974L20.3365 65.3243C20.4103 65.5998 20.6986 65.7662 20.9741 65.6924L54.4939 56.7108C54.7694 56.637 54.9359 56.3487 54.8621 56.0732L46.274 24.0222L35.9124 26.7986C35.1034 27.0154 34.2667 26.5323 34.0499 25.7234L30.7452 13.3899L8.55304 19.3363Z" class="fill-silver"></path><path d="M35.1918 26.119L31.4534 12.1672L47.0371 22.9451L35.1918 26.119Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M25.6411 54.9509L21.6416 40.0243L41.0808 34.8156L45.0804 49.7422L25.6411 54.9509ZM20.16 40.0492C20.0059 39.4741 20.3472 38.8829 20.9224 38.7288L41.0559 33.3341C41.631 33.1799 42.2222 33.5213 42.3763 34.0964L46.5619 49.7172C46.716 50.2924 46.3747 50.8836 45.7996 51.0377L25.666 56.4324C25.0909 56.5865 24.4997 56.2452 24.3456 55.6701L20.16 40.0492ZM28.5194 42.088C28.8533 43.3341 28.1138 44.615 26.8676 44.9489C25.6215 45.2828 24.3406 44.5433 24.0067 43.2971C23.6728 42.051 24.4123 40.7701 25.6585 40.4362C26.9046 40.1023 28.1855 40.8418 28.5194 42.088ZM26.053 50.934L26.6576 53.1903L43.3198 48.7257L41.8781 43.3452L35.7161 39.7876L31.2691 47.4901L28.8483 46.0924L26.053 50.934Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.9375 17.1323V12.6323H7.9375V17.1323H6.9375Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.72393 18.0419L2.54195 14.8599L3.24906 14.1528L6.43104 17.3348L5.72393 18.0419Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.46582 19.615H0.96582L0.96582 18.615H5.46582V19.615Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M46.5972 10.507L47.7619 6.16033L48.7278 6.41915L47.5631 10.7658L46.5972 10.507Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.1895 11.0715L42.9395 7.17435L43.8056 6.67435L46.0556 10.5715L45.1895 11.0715Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.5331 12.5242L40.1864 11.3595L40.4452 10.3936L44.7919 11.5582L44.5331 12.5242Z" class="fill-primary"></path>', 15), dl = [
3382
3376
  cl
3383
3377
  ];
3384
3378
  function ul(e, t) {
@@ -3391,7 +3385,7 @@ const _l = {
3391
3385
  BIMDataButton: Z,
3392
3386
  BIMDataIconInformation: Nt,
3393
3387
  BIMDataIconModel3D: Ut,
3394
- BIMDataTextbox: Ie
3388
+ BIMDataTextbox: Ce
3395
3389
  },
3396
3390
  props: {
3397
3391
  detailedExtensions: {
@@ -3413,12 +3407,12 @@ const _l = {
3413
3407
  },
3414
3408
  emits: ["open-topic", "update:selected"],
3415
3409
  setup(e) {
3416
- const t = $(!1), s = j(() => me(e.topic, e.detailedExtensions)), n = j(() => Ge(e.topic, e.detailedExtensions)), a = j(
3410
+ const t = $(!1), s = H(() => me(e.topic, e.detailedExtensions)), n = H(() => Ge(e.topic, e.detailedExtensions)), a = H(
3417
3411
  () => {
3418
3412
  var i, c;
3419
3413
  return (c = (i = e.topic.viewpoints) == null ? void 0 : i.filter((l) => l.snapshot)[0]) == null ? void 0 : c.snapshot.snapshot_data;
3420
3414
  }
3421
- ), o = j(() => {
3415
+ ), o = H(() => {
3422
3416
  var i, c, l;
3423
3417
  return ((l = (c = (i = e.topic.viewpoints) == null ? void 0 : i[0]) == null ? void 0 : c.components) == null ? void 0 : l.selection) ?? [];
3424
3418
  });
@@ -3433,11 +3427,11 @@ const _l = {
3433
3427
  adjustTextColor: xe
3434
3428
  };
3435
3429
  }
3436
- }, fl = { class: "bcf-topic-card__header" }, pl = { class: "title" }, hl = { class: "checkbox" }, ml = { class: "bcf-topic-card__image" }, gl = { class: "m-l-6" }, yl = { class: "date" }, bl = ["src"], vl = { class: "bcf-topic-card__content" }, Dl = { class: "flex justify-around m-t-12" }, Cl = { class: "flex items-center" }, Il = { class: "m-l-6" };
3430
+ }, fl = { class: "bcf-topic-card__header" }, pl = { class: "title" }, hl = { class: "checkbox" }, ml = { class: "bcf-topic-card__image" }, gl = { class: "m-l-6" }, yl = { class: "date" }, bl = ["src"], vl = { class: "bcf-topic-card__content" }, Dl = { class: "flex justify-around m-t-12" }, Il = { class: "flex items-center" }, Cl = { class: "m-l-6" };
3437
3431
  function wl(e, t, s, n, a, o) {
3438
3432
  const i = f("BIMDataTextbox"), c = f("BIMDataCheckbox"), l = f("BIMDataIconInformation"), d = f("BcfTopicDefaultImage"), m = f("BIMDataIconModel3D"), y = f("BIMDataButton");
3439
3433
  return r(), p("div", {
3440
- class: S(["bcf-topic-card", { selected: s.selected }]),
3434
+ class: O(["bcf-topic-card", { selected: s.selected }]),
3441
3435
  onMouseover: t[2] || (t[2] = (D) => n.hover = !0),
3442
3436
  onMouseleave: t[3] || (t[3] = (D) => n.hover = !1)
3443
3437
  }, [
@@ -3478,14 +3472,14 @@ function wl(e, t, s, n, a, o) {
3478
3472
  color: "default"
3479
3473
  }),
3480
3474
  u("span", gl, g(s.topic.topic_status), 1)
3481
- ], 4)) : C("", !0),
3475
+ ], 4)) : I("", !0),
3482
3476
  u("div", yl, g(e.$d(s.topic.creation_date, "short")), 1),
3483
3477
  n.topicImage ? (r(), p("img", {
3484
3478
  key: 1,
3485
3479
  src: n.topicImage,
3486
3480
  alt: "topic viewpoint",
3487
3481
  loading: "lazy"
3488
- }, null, 8, bl)) : (r(), B(d, {
3482
+ }, null, 8, bl)) : (r(), M(d, {
3489
3483
  key: 2,
3490
3484
  class: "img-default"
3491
3485
  }))
@@ -3502,13 +3496,13 @@ function wl(e, t, s, n, a, o) {
3502
3496
  u("span", null, g(s.topic.assigned_to || e.$t("BcfComponents.BcfTopicCard.notSpecified")), 1)
3503
3497
  ]),
3504
3498
  u("div", Dl, [
3505
- u("div", Cl, [
3499
+ u("div", Il, [
3506
3500
  _(m, {
3507
3501
  fill: "",
3508
3502
  color: "default",
3509
3503
  size: "xs"
3510
3504
  }),
3511
- u("span", Il, g(e.$t("BcfComponents.BcfTopicCard.elements", { n: n.topicObjects.length })), 1)
3505
+ u("span", Cl, g(e.$t("BcfComponents.BcfTopicCard.elements", { n: n.topicObjects.length })), 1)
3512
3506
  ]),
3513
3507
  _(y, {
3514
3508
  width: "48%",
@@ -3532,7 +3526,7 @@ const Bl = /* @__PURE__ */ v(_l, [["render", wl], ["__scopeId", "data-v-b442d721
3532
3526
  viewBox: "0 0 66 60",
3533
3527
  fill: "none",
3534
3528
  xmlns: "http://www.w3.org/2000/svg"
3535
- }, kl = /* @__PURE__ */ Ct('<path opacity="0.21" d="M14.4999 59.2445C22.2871 59.2445 28.5999 58.9311 28.5999 58.5445C28.5999 58.1579 22.2871 57.8445 14.4999 57.8445C6.71269 57.8445 0.399902 58.1579 0.399902 58.5445C0.399902 58.9311 6.71269 59.2445 14.4999 59.2445Z" class="fill-granite-light"></path><path d="M46.84 26.5444C45.0533 26.5444 43.5645 28.0444 43.5645 29.8444C43.5645 31.6444 45.0533 33.1444 46.84 33.1444C48.6267 33.1444 50.1156 31.6444 50.1156 29.8444C50.1156 28.0444 48.6267 26.5444 46.84 26.5444ZM48.4282 29.8444C48.4282 30.7444 47.7333 31.4444 46.84 31.4444C45.9467 31.4444 45.2519 30.7444 45.2519 29.8444C45.2519 28.9444 45.9467 28.2444 46.84 28.2444C47.7333 28.2444 48.4282 29.0444 48.4282 29.8444Z" class="fill-silver-dark"></path><path d="M54.8797 27.6444C52.9938 27.6444 51.5049 29.1444 51.5049 31.0444C51.5049 32.9444 52.9938 34.4444 54.8797 34.4444C56.7656 34.4444 58.2545 32.9444 58.2545 31.0444C58.1553 29.1444 56.6664 27.6444 54.8797 27.6444ZM56.4678 31.0444C56.4678 31.9444 55.773 32.6444 54.8797 32.6444C53.9864 32.6444 53.2916 31.9444 53.2916 31.0444C53.2916 30.1444 53.9864 29.4444 54.8797 29.4444C55.773 29.4444 56.4678 30.1444 56.4678 31.0444Z" class="fill-silver-dark"></path><path d="M52.1005 11.1444C44.7554 11.1444 38.7998 17.1444 38.7998 24.5444V50.9444C38.7998 53.0444 40.4872 54.8444 42.6709 54.8444C42.9687 54.8444 43.2665 54.8444 43.5642 54.7444C43.6635 56.8444 45.3509 58.5444 47.4354 58.5444C49.5198 58.5444 51.3065 56.8444 51.3065 54.6444V52.7444C51.6042 52.8444 51.902 52.8444 52.1998 52.8444H52.3983C52.6961 52.8444 52.9939 52.8444 53.2917 52.7444C53.4902 54.7444 55.0783 56.2444 57.0635 56.2444C57.3613 56.2444 57.6591 56.2444 57.9568 56.1444C58.3539 57.9444 59.8428 59.2444 61.7287 59.2444C63.8131 59.2444 65.5998 57.5444 65.5998 55.3444V24.5444C65.4013 17.1444 59.4457 11.1444 52.1005 11.1444ZM57.7583 47.8444V52.4444C57.7583 52.9444 57.3613 53.3444 56.865 53.3444C56.3687 53.3444 55.9717 52.9444 55.9717 52.4444V47.1444H52.9939V49.0444C52.9939 49.5444 52.5968 49.9444 52.1005 49.9444H51.902C51.4057 49.9444 51.0087 49.5444 51.0087 49.0444V42.0444H48.0309V54.6444C48.0309 55.1444 47.6339 55.5444 47.1376 55.5444C46.6413 55.5444 46.2442 55.1444 46.2442 54.6444V48.5444H43.2665V51.0444C43.2665 51.5444 42.8694 51.9444 42.3731 51.9444C41.8768 51.9444 41.4798 51.5444 41.4798 51.0444V24.5444C41.4798 18.8444 46.145 14.1444 51.8028 14.1444C57.4605 14.1444 62.1257 18.8444 62.1257 24.5444V55.3444C62.1257 55.8444 61.7287 56.2444 61.2324 56.2444C60.7361 56.2444 60.3391 55.8444 60.3391 55.3444V47.8444H57.7583Z" class="fill-silver-dark"></path><path d="M29.8001 6.84446C31.5674 6.84446 33.0001 5.41177 33.0001 3.64446C33.0001 1.87715 31.5674 0.444458 29.8001 0.444458C28.0328 0.444458 26.6001 1.87715 26.6001 3.64446C26.6001 5.41177 28.0328 6.84446 29.8001 6.84446Z" class="fill-silver-dark"></path><path d="M23.8997 15.9444C25.1147 15.9444 26.0997 14.9595 26.0997 13.7444C26.0997 12.5294 25.1147 11.5444 23.8997 11.5444C22.6847 11.5444 21.6997 12.5294 21.6997 13.7444C21.6997 14.9595 22.6847 15.9444 23.8997 15.9444Z" class="fill-secondary"></path><path d="M28.8999 22.0444C29.7283 22.0444 30.3999 21.3729 30.3999 20.5444C30.3999 19.716 29.7283 19.0444 28.8999 19.0444C28.0715 19.0444 27.3999 19.716 27.3999 20.5444C27.3999 21.3729 28.0715 22.0444 28.8999 22.0444Z" class="fill-silver-dark"></path><path d="M13.9995 33.5444C15.2995 34.1444 16.4995 34.8444 17.5995 35.7444C19.1995 37.1444 20.4995 38.7444 21.3995 40.6444C21.6995 41.2444 21.8995 41.8444 22.0995 42.4444C22.5995 43.9444 22.2995 45.2444 21.1995 46.3444C18.8995 48.6444 16.1995 49.3444 13.0995 48.5444C12.8995 48.5444 12.6995 48.5444 12.5995 48.5444C11.3995 48.7444 10.0995 48.8444 8.89951 48.6444C8.59951 48.6444 8.39951 48.5444 7.99951 48.5444C8.29951 49.0444 8.59951 49.4444 8.89951 49.9444C9.79951 51.2444 11.0995 52.2444 12.4995 52.8444C14.3995 53.6444 16.2995 53.8444 18.2995 53.4444C20.0995 53.0444 21.6995 52.1444 22.9995 50.7444C24.3995 49.2444 25.2995 47.4444 25.4995 45.3444C25.5995 44.0444 25.5995 42.6444 25.0995 41.4444C24.6995 40.4444 24.0995 39.5444 23.3995 38.7444C22.0995 37.0444 20.5995 35.5444 19.0995 34.0444C18.4995 33.4444 17.8995 32.9444 17.2995 32.4444C17.1995 32.3444 17.0995 32.3444 16.9995 32.3444C15.6995 32.1444 14.7995 32.3444 13.9995 33.5444Z" class="fill-silver-dark"></path><path d="M11.4997 29.6444C10.3997 29.5444 9.49967 29.6444 8.59967 29.9444C7.39967 30.2444 6.19967 30.8444 5.19967 31.6444C4.19967 32.4444 3.39967 33.3444 2.79967 34.5444C1.99967 36.0444 1.59967 37.6444 1.69967 39.3444C1.79967 41.0444 2.29967 42.7444 3.29967 44.1444C4.19967 45.4444 5.29967 46.4444 6.59967 47.1444C7.59967 47.6444 8.49967 48.0444 9.59967 48.0444C11.3997 48.0444 13.1997 47.8444 14.8997 47.3444C16.1997 47.0444 17.5997 46.6444 18.8997 46.2444C19.4997 46.0444 20.1997 45.9444 20.7997 45.5444C21.1997 45.3444 21.3997 44.8444 21.5997 44.3444C21.7997 43.6444 21.7997 42.9444 21.3997 42.2444C21.0997 42.4444 20.7997 42.6444 20.4997 42.8444C19.1997 43.6444 17.7997 44.2444 16.2997 44.6444C14.2997 45.1444 12.1997 45.1444 10.1997 44.8444C8.89967 44.6444 7.79967 44.0444 7.09967 42.7444C6.69967 41.8444 6.49967 40.9444 6.49967 39.9444C6.39967 37.5444 7.29967 35.5444 8.99967 33.8444C8.99967 33.8444 9.19967 33.5444 9.29967 33.2444C9.79967 31.9444 10.3997 30.7444 11.4997 29.6444Z" class="fill-silver-dark"></path><path d="M9.89953 44.2445C9.89953 44.0445 9.89953 43.8445 9.89953 43.7445C9.69953 41.5445 9.99953 39.4445 10.7995 37.4445C11.4995 35.5445 12.5995 33.9445 13.9995 32.5445C14.8995 31.6445 15.9995 31.4445 17.1995 31.6445C19.7995 32.2445 21.7995 33.6445 22.8995 36.1445C23.0995 36.6445 23.1995 37.2445 23.4995 37.7445C23.5995 38.0445 23.8995 38.3445 24.0995 38.6445C24.7995 39.6445 25.4995 40.7445 25.8995 41.9445C25.8995 41.9445 25.8995 42.0445 25.9995 42.1445C26.2995 41.4445 26.6995 40.7445 26.9995 40.1445C27.4995 38.9445 27.5995 37.6445 27.4995 36.3445C27.2995 34.1445 26.4995 32.1445 24.8995 30.5445C23.7995 29.3445 22.3995 28.5445 20.7995 28.1445C19.0995 27.6445 17.2995 27.6445 15.5995 28.2445C13.9995 28.7445 12.5995 29.5445 11.4995 30.9445C11.0995 31.4445 10.6995 32.0445 10.3995 32.7445C9.79953 34.0445 9.29953 35.4445 8.89953 36.7445C8.39953 38.5445 7.99953 40.4445 7.59953 42.2445C7.49953 42.8445 7.89953 43.2445 8.29953 43.6445C8.59953 43.9445 9.19953 44.1445 9.89953 44.2445Z" class="fill-silver-dark"></path><path d="M37.3997 7.04441C38.3386 7.04441 39.0997 6.28329 39.0997 5.34441C39.0997 4.40553 38.3386 3.64441 37.3997 3.64441C36.4608 3.64441 35.6997 4.40553 35.6997 5.34441C35.6997 6.28329 36.4608 7.04441 37.3997 7.04441Z" class="fill-secondary"></path>', 11), Tl = [
3529
+ }, kl = /* @__PURE__ */ It('<path opacity="0.21" d="M14.4999 59.2445C22.2871 59.2445 28.5999 58.9311 28.5999 58.5445C28.5999 58.1579 22.2871 57.8445 14.4999 57.8445C6.71269 57.8445 0.399902 58.1579 0.399902 58.5445C0.399902 58.9311 6.71269 59.2445 14.4999 59.2445Z" class="fill-granite-light"></path><path d="M46.84 26.5444C45.0533 26.5444 43.5645 28.0444 43.5645 29.8444C43.5645 31.6444 45.0533 33.1444 46.84 33.1444C48.6267 33.1444 50.1156 31.6444 50.1156 29.8444C50.1156 28.0444 48.6267 26.5444 46.84 26.5444ZM48.4282 29.8444C48.4282 30.7444 47.7333 31.4444 46.84 31.4444C45.9467 31.4444 45.2519 30.7444 45.2519 29.8444C45.2519 28.9444 45.9467 28.2444 46.84 28.2444C47.7333 28.2444 48.4282 29.0444 48.4282 29.8444Z" class="fill-silver-dark"></path><path d="M54.8797 27.6444C52.9938 27.6444 51.5049 29.1444 51.5049 31.0444C51.5049 32.9444 52.9938 34.4444 54.8797 34.4444C56.7656 34.4444 58.2545 32.9444 58.2545 31.0444C58.1553 29.1444 56.6664 27.6444 54.8797 27.6444ZM56.4678 31.0444C56.4678 31.9444 55.773 32.6444 54.8797 32.6444C53.9864 32.6444 53.2916 31.9444 53.2916 31.0444C53.2916 30.1444 53.9864 29.4444 54.8797 29.4444C55.773 29.4444 56.4678 30.1444 56.4678 31.0444Z" class="fill-silver-dark"></path><path d="M52.1005 11.1444C44.7554 11.1444 38.7998 17.1444 38.7998 24.5444V50.9444C38.7998 53.0444 40.4872 54.8444 42.6709 54.8444C42.9687 54.8444 43.2665 54.8444 43.5642 54.7444C43.6635 56.8444 45.3509 58.5444 47.4354 58.5444C49.5198 58.5444 51.3065 56.8444 51.3065 54.6444V52.7444C51.6042 52.8444 51.902 52.8444 52.1998 52.8444H52.3983C52.6961 52.8444 52.9939 52.8444 53.2917 52.7444C53.4902 54.7444 55.0783 56.2444 57.0635 56.2444C57.3613 56.2444 57.6591 56.2444 57.9568 56.1444C58.3539 57.9444 59.8428 59.2444 61.7287 59.2444C63.8131 59.2444 65.5998 57.5444 65.5998 55.3444V24.5444C65.4013 17.1444 59.4457 11.1444 52.1005 11.1444ZM57.7583 47.8444V52.4444C57.7583 52.9444 57.3613 53.3444 56.865 53.3444C56.3687 53.3444 55.9717 52.9444 55.9717 52.4444V47.1444H52.9939V49.0444C52.9939 49.5444 52.5968 49.9444 52.1005 49.9444H51.902C51.4057 49.9444 51.0087 49.5444 51.0087 49.0444V42.0444H48.0309V54.6444C48.0309 55.1444 47.6339 55.5444 47.1376 55.5444C46.6413 55.5444 46.2442 55.1444 46.2442 54.6444V48.5444H43.2665V51.0444C43.2665 51.5444 42.8694 51.9444 42.3731 51.9444C41.8768 51.9444 41.4798 51.5444 41.4798 51.0444V24.5444C41.4798 18.8444 46.145 14.1444 51.8028 14.1444C57.4605 14.1444 62.1257 18.8444 62.1257 24.5444V55.3444C62.1257 55.8444 61.7287 56.2444 61.2324 56.2444C60.7361 56.2444 60.3391 55.8444 60.3391 55.3444V47.8444H57.7583Z" class="fill-silver-dark"></path><path d="M29.8001 6.84446C31.5674 6.84446 33.0001 5.41177 33.0001 3.64446C33.0001 1.87715 31.5674 0.444458 29.8001 0.444458C28.0328 0.444458 26.6001 1.87715 26.6001 3.64446C26.6001 5.41177 28.0328 6.84446 29.8001 6.84446Z" class="fill-silver-dark"></path><path d="M23.8997 15.9444C25.1147 15.9444 26.0997 14.9595 26.0997 13.7444C26.0997 12.5294 25.1147 11.5444 23.8997 11.5444C22.6847 11.5444 21.6997 12.5294 21.6997 13.7444C21.6997 14.9595 22.6847 15.9444 23.8997 15.9444Z" class="fill-secondary"></path><path d="M28.8999 22.0444C29.7283 22.0444 30.3999 21.3729 30.3999 20.5444C30.3999 19.716 29.7283 19.0444 28.8999 19.0444C28.0715 19.0444 27.3999 19.716 27.3999 20.5444C27.3999 21.3729 28.0715 22.0444 28.8999 22.0444Z" class="fill-silver-dark"></path><path d="M13.9995 33.5444C15.2995 34.1444 16.4995 34.8444 17.5995 35.7444C19.1995 37.1444 20.4995 38.7444 21.3995 40.6444C21.6995 41.2444 21.8995 41.8444 22.0995 42.4444C22.5995 43.9444 22.2995 45.2444 21.1995 46.3444C18.8995 48.6444 16.1995 49.3444 13.0995 48.5444C12.8995 48.5444 12.6995 48.5444 12.5995 48.5444C11.3995 48.7444 10.0995 48.8444 8.89951 48.6444C8.59951 48.6444 8.39951 48.5444 7.99951 48.5444C8.29951 49.0444 8.59951 49.4444 8.89951 49.9444C9.79951 51.2444 11.0995 52.2444 12.4995 52.8444C14.3995 53.6444 16.2995 53.8444 18.2995 53.4444C20.0995 53.0444 21.6995 52.1444 22.9995 50.7444C24.3995 49.2444 25.2995 47.4444 25.4995 45.3444C25.5995 44.0444 25.5995 42.6444 25.0995 41.4444C24.6995 40.4444 24.0995 39.5444 23.3995 38.7444C22.0995 37.0444 20.5995 35.5444 19.0995 34.0444C18.4995 33.4444 17.8995 32.9444 17.2995 32.4444C17.1995 32.3444 17.0995 32.3444 16.9995 32.3444C15.6995 32.1444 14.7995 32.3444 13.9995 33.5444Z" class="fill-silver-dark"></path><path d="M11.4997 29.6444C10.3997 29.5444 9.49967 29.6444 8.59967 29.9444C7.39967 30.2444 6.19967 30.8444 5.19967 31.6444C4.19967 32.4444 3.39967 33.3444 2.79967 34.5444C1.99967 36.0444 1.59967 37.6444 1.69967 39.3444C1.79967 41.0444 2.29967 42.7444 3.29967 44.1444C4.19967 45.4444 5.29967 46.4444 6.59967 47.1444C7.59967 47.6444 8.49967 48.0444 9.59967 48.0444C11.3997 48.0444 13.1997 47.8444 14.8997 47.3444C16.1997 47.0444 17.5997 46.6444 18.8997 46.2444C19.4997 46.0444 20.1997 45.9444 20.7997 45.5444C21.1997 45.3444 21.3997 44.8444 21.5997 44.3444C21.7997 43.6444 21.7997 42.9444 21.3997 42.2444C21.0997 42.4444 20.7997 42.6444 20.4997 42.8444C19.1997 43.6444 17.7997 44.2444 16.2997 44.6444C14.2997 45.1444 12.1997 45.1444 10.1997 44.8444C8.89967 44.6444 7.79967 44.0444 7.09967 42.7444C6.69967 41.8444 6.49967 40.9444 6.49967 39.9444C6.39967 37.5444 7.29967 35.5444 8.99967 33.8444C8.99967 33.8444 9.19967 33.5444 9.29967 33.2444C9.79967 31.9444 10.3997 30.7444 11.4997 29.6444Z" class="fill-silver-dark"></path><path d="M9.89953 44.2445C9.89953 44.0445 9.89953 43.8445 9.89953 43.7445C9.69953 41.5445 9.99953 39.4445 10.7995 37.4445C11.4995 35.5445 12.5995 33.9445 13.9995 32.5445C14.8995 31.6445 15.9995 31.4445 17.1995 31.6445C19.7995 32.2445 21.7995 33.6445 22.8995 36.1445C23.0995 36.6445 23.1995 37.2445 23.4995 37.7445C23.5995 38.0445 23.8995 38.3445 24.0995 38.6445C24.7995 39.6445 25.4995 40.7445 25.8995 41.9445C25.8995 41.9445 25.8995 42.0445 25.9995 42.1445C26.2995 41.4445 26.6995 40.7445 26.9995 40.1445C27.4995 38.9445 27.5995 37.6445 27.4995 36.3445C27.2995 34.1445 26.4995 32.1445 24.8995 30.5445C23.7995 29.3445 22.3995 28.5445 20.7995 28.1445C19.0995 27.6445 17.2995 27.6445 15.5995 28.2445C13.9995 28.7445 12.5995 29.5445 11.4995 30.9445C11.0995 31.4445 10.6995 32.0445 10.3995 32.7445C9.79953 34.0445 9.29953 35.4445 8.89953 36.7445C8.39953 38.5445 7.99953 40.4445 7.59953 42.2445C7.49953 42.8445 7.89953 43.2445 8.29953 43.6445C8.59953 43.9445 9.19953 44.1445 9.89953 44.2445Z" class="fill-silver-dark"></path><path d="M37.3997 7.04441C38.3386 7.04441 39.0997 6.28329 39.0997 5.34441C39.0997 4.40553 38.3386 3.64441 37.3997 3.64441C36.4608 3.64441 35.6997 4.40553 35.6997 5.34441C35.6997 6.28329 36.4608 7.04441 37.3997 7.04441Z" class="fill-secondary"></path>', 11), Tl = [
3536
3530
  kl
3537
3531
  ];
3538
3532
  function $l(e, t) {
@@ -3600,11 +3594,11 @@ function Hl(e, t, s, n, a, o) {
3600
3594
  color: "high"
3601
3595
  }, null, 8, ["name"]),
3602
3596
  u("p", null, [
3603
- x(e.$slots, "text", {}, void 0, !0)
3597
+ k(e.$slots, "text", {}, void 0, !0)
3604
3598
  ])
3605
3599
  ]),
3606
3600
  u("div", Ul, [
3607
- x(e.$slots, "actions", {}, void 0, !0)
3601
+ k(e.$slots, "actions", {}, void 0, !0)
3608
3602
  ])
3609
3603
  ], 4)
3610
3604
  ]);
@@ -4490,9 +4484,9 @@ const Jl = {
4490
4484
  function sr(e, t, s, n, a, o) {
4491
4485
  const i = f("BIMDataIconDelete"), c = f("BIMDataButton");
4492
4486
  return r(), p("div", {
4493
- class: S({ "not-empty": o.formattedValue })
4487
+ class: O({ "not-empty": o.formattedValue })
4494
4488
  }, [
4495
- x(e.$slots, "beforeDateInput"),
4489
+ k(e.$slots, "beforeDateInput"),
4496
4490
  e.calendarButton ? (r(), p("button", {
4497
4491
  key: 0,
4498
4492
  ref: "calendarButton",
@@ -4503,16 +4497,16 @@ function sr(e, t, s, n, a, o) {
4503
4497
  onFocus: t[1] || (t[1] = (...l) => o.handleButtonFocus && o.handleButtonFocus(...l))
4504
4498
  }, [
4505
4499
  u("span", null, [
4506
- x(e.$slots, "calendarBtn", {}, () => [
4500
+ k(e.$slots, "calendarBtn", {}, () => [
4507
4501
  u("i", {
4508
- class: S(e.calendarButtonIcon)
4502
+ class: O(e.calendarButtonIcon)
4509
4503
  }, [
4510
4504
  A(g(e.calendarButtonIconContent) + " ", 1),
4511
- e.calendarButtonIcon ? C("", !0) : (r(), p("span", Ql, "…"))
4505
+ e.calendarButtonIcon ? I("", !0) : (r(), p("span", Ql, "…"))
4512
4506
  ], 2)
4513
4507
  ])
4514
4508
  ])
4515
- ], 40, Xl)) : C("", !0),
4509
+ ], 40, Xl)) : I("", !0),
4516
4510
  u("label", {
4517
4511
  for: `bimdata-input-${e.id}`
4518
4512
  }, g(e.placeholder), 9, er),
@@ -4521,7 +4515,7 @@ function sr(e, t, s, n, a, o) {
4521
4515
  ref: e.refName,
4522
4516
  autocomplete: "off",
4523
4517
  autofocus: e.autofocus,
4524
- class: S([o.computedInputClass, { required: s.required }]),
4518
+ class: O([o.computedInputClass, { required: s.required }]),
4525
4519
  clearButton: e.clearButton,
4526
4520
  disabled: e.disabled,
4527
4521
  maxlength: e.maxlength,
@@ -4536,20 +4530,20 @@ function sr(e, t, s, n, a, o) {
4536
4530
  onClick: t[3] || (t[3] = (...l) => o.handleInputClick && o.handleInputClick(...l)),
4537
4531
  onFocus: t[4] || (t[4] = (...l) => o.handleInputFocus && o.handleInputFocus(...l)),
4538
4532
  onKeydown: [
4539
- t[5] || (t[5] = F((...l) => o.handleDelete && o.handleDelete(...l), ["backspace"])),
4540
- t[6] || (t[6] = F((...l) => o.handleDelete && o.handleDelete(...l), ["delete"])),
4541
- t[7] || (t[7] = F(P((...l) => o.handleKeydownDown && o.handleKeydownDown(...l), ["prevent"]), ["down"])),
4542
- t[8] || (t[8] = F(P((...l) => o.handleKeydownEnter && o.handleKeydownEnter(...l), ["prevent"]), ["enter"])),
4543
- t[9] || (t[9] = F(P((...l) => o.handleKeydownEscape && o.handleKeydownEscape(...l), ["prevent"]), ["esc"])),
4544
- t[10] || (t[10] = F((l) => o.handleKeydownSpace(l), ["space"])),
4545
- t[11] || (t[11] = F((l) => e.$emit("tab", l), ["tab"]))
4533
+ t[5] || (t[5] = E((...l) => o.handleDelete && o.handleDelete(...l), ["backspace"])),
4534
+ t[6] || (t[6] = E((...l) => o.handleDelete && o.handleDelete(...l), ["delete"])),
4535
+ t[7] || (t[7] = E(P((...l) => o.handleKeydownDown && o.handleKeydownDown(...l), ["prevent"]), ["down"])),
4536
+ t[8] || (t[8] = E(P((...l) => o.handleKeydownEnter && o.handleKeydownEnter(...l), ["prevent"]), ["enter"])),
4537
+ t[9] || (t[9] = E(P((...l) => o.handleKeydownEscape && o.handleKeydownEscape(...l), ["prevent"]), ["esc"])),
4538
+ t[10] || (t[10] = E((l) => o.handleKeydownSpace(l), ["space"])),
4539
+ t[11] || (t[11] = E((l) => e.$emit("tab", l), ["tab"]))
4546
4540
  ],
4547
4541
  onKeyup: [
4548
4542
  t[12] || (t[12] = (l) => o.handleKeyup(l)),
4549
- t[13] || (t[13] = F((l) => o.handleKeyupSpace(l), ["space"]))
4543
+ t[13] || (t[13] = E((l) => o.handleKeyupSpace(l), ["space"]))
4550
4544
  ]
4551
4545
  }, null, 42, tr),
4552
- e.clearButton && s.selectedDate ? (r(), B(c, {
4546
+ e.clearButton && s.selectedDate ? (r(), M(c, {
4553
4547
  key: 1,
4554
4548
  disabled: e.disabled,
4555
4549
  class: "bimdata-datepicker__clear-button",
@@ -4560,7 +4554,7 @@ function sr(e, t, s, n, a, o) {
4560
4554
  onClick: o.clearDate
4561
4555
  }, {
4562
4556
  default: h(() => [
4563
- x(e.$slots, "clearBtn", {}, () => [
4557
+ k(e.$slots, "clearBtn", {}, () => [
4564
4558
  _(i, {
4565
4559
  size: "xxxs",
4566
4560
  fill: "",
@@ -4569,8 +4563,8 @@ function sr(e, t, s, n, a, o) {
4569
4563
  ])
4570
4564
  ]),
4571
4565
  _: 3
4572
- }, 8, ["disabled", "onClick"])) : C("", !0),
4573
- x(e.$slots, "afterDateInput")
4566
+ }, 8, ["disabled", "onClick"])) : I("", !0),
4567
+ k(e.$slots, "afterDateInput")
4574
4568
  ], 2);
4575
4569
  }
4576
4570
  const nr = /* @__PURE__ */ v(Gl, [["render", sr]]), or = {
@@ -4774,9 +4768,9 @@ const nr = /* @__PURE__ */ v(Gl, [["render", sr]]), or = {
4774
4768
  function cr(e, t, s, n, a, o) {
4775
4769
  const i = f("BIMDataIconDelete"), c = f("BIMDataButton");
4776
4770
  return r(), p("div", {
4777
- class: S({ "not-empty": o.formattedValue })
4771
+ class: O({ "not-empty": o.formattedValue })
4778
4772
  }, [
4779
- x(e.$slots, "beforeDateInput"),
4773
+ k(e.$slots, "beforeDateInput"),
4780
4774
  e.calendarButton ? (r(), p("button", {
4781
4775
  key: 0,
4782
4776
  ref: "calendarButton",
@@ -4787,16 +4781,16 @@ function cr(e, t, s, n, a, o) {
4787
4781
  onFocus: t[1] || (t[1] = (...l) => o.handleButtonFocus && o.handleButtonFocus(...l))
4788
4782
  }, [
4789
4783
  u("span", null, [
4790
- x(e.$slots, "calendarBtn", {}, () => [
4784
+ k(e.$slots, "calendarBtn", {}, () => [
4791
4785
  u("i", {
4792
- class: S(e.calendarButtonIcon)
4786
+ class: O(e.calendarButtonIcon)
4793
4787
  }, [
4794
4788
  A(g(e.calendarButtonIconContent) + " ", 1),
4795
- e.calendarButtonIcon ? C("", !0) : (r(), p("span", ar, "…"))
4789
+ e.calendarButtonIcon ? I("", !0) : (r(), p("span", ar, "…"))
4796
4790
  ], 2)
4797
4791
  ])
4798
4792
  ])
4799
- ], 40, ir)) : C("", !0),
4793
+ ], 40, ir)) : I("", !0),
4800
4794
  u("label", {
4801
4795
  for: `bimdata-input-${e.id}`
4802
4796
  }, g(e.placeholder), 9, lr),
@@ -4805,7 +4799,7 @@ function cr(e, t, s, n, a, o) {
4805
4799
  ref: e.refName,
4806
4800
  autocomplete: "off",
4807
4801
  autofocus: e.autofocus,
4808
- class: S([o.computedInputClass, { required: s.required }]),
4802
+ class: O([o.computedInputClass, { required: s.required }]),
4809
4803
  clearButton: e.clearButton,
4810
4804
  disabled: e.disabled,
4811
4805
  maxlength: e.maxlength,
@@ -4820,20 +4814,20 @@ function cr(e, t, s, n, a, o) {
4820
4814
  onClick: t[3] || (t[3] = (...l) => o.handleInputClick && o.handleInputClick(...l)),
4821
4815
  onFocus: t[4] || (t[4] = (...l) => o.handleInputFocus && o.handleInputFocus(...l)),
4822
4816
  onKeydown: [
4823
- t[5] || (t[5] = F((...l) => o.handleDelete && o.handleDelete(...l), ["backspace"])),
4824
- t[6] || (t[6] = F((...l) => o.handleDelete && o.handleDelete(...l), ["delete"])),
4825
- t[7] || (t[7] = F(P((...l) => o.handleKeydownDown && o.handleKeydownDown(...l), ["prevent"]), ["down"])),
4826
- t[8] || (t[8] = F(P((...l) => o.handleKeydownEnter && o.handleKeydownEnter(...l), ["prevent"]), ["enter"])),
4827
- t[9] || (t[9] = F(P((...l) => o.handleKeydownEscape && o.handleKeydownEscape(...l), ["prevent"]), ["esc"])),
4828
- t[10] || (t[10] = F((l) => o.handleKeydownSpace(l), ["space"])),
4829
- t[11] || (t[11] = F((l) => e.$emit("tab", l), ["tab"]))
4817
+ t[5] || (t[5] = E((...l) => o.handleDelete && o.handleDelete(...l), ["backspace"])),
4818
+ t[6] || (t[6] = E((...l) => o.handleDelete && o.handleDelete(...l), ["delete"])),
4819
+ t[7] || (t[7] = E(P((...l) => o.handleKeydownDown && o.handleKeydownDown(...l), ["prevent"]), ["down"])),
4820
+ t[8] || (t[8] = E(P((...l) => o.handleKeydownEnter && o.handleKeydownEnter(...l), ["prevent"]), ["enter"])),
4821
+ t[9] || (t[9] = E(P((...l) => o.handleKeydownEscape && o.handleKeydownEscape(...l), ["prevent"]), ["esc"])),
4822
+ t[10] || (t[10] = E((l) => o.handleKeydownSpace(l), ["space"])),
4823
+ t[11] || (t[11] = E((l) => e.$emit("tab", l), ["tab"]))
4830
4824
  ],
4831
4825
  onKeyup: [
4832
4826
  t[12] || (t[12] = (l) => o.handleKeyup(l)),
4833
- t[13] || (t[13] = F((l) => o.handleKeyupSpace(l), ["space"]))
4827
+ t[13] || (t[13] = E((l) => o.handleKeyupSpace(l), ["space"]))
4834
4828
  ]
4835
4829
  }, null, 42, rr),
4836
- e.clearButton && !o.noDateSelected ? (r(), B(c, {
4830
+ e.clearButton && !o.noDateSelected ? (r(), M(c, {
4837
4831
  key: 1,
4838
4832
  disabled: e.disabled,
4839
4833
  class: "bimdata-datepicker__clear-button",
@@ -4844,7 +4838,7 @@ function cr(e, t, s, n, a, o) {
4844
4838
  onClick: o.clear
4845
4839
  }, {
4846
4840
  default: h(() => [
4847
- x(e.$slots, "clearBtn", {}, () => [
4841
+ k(e.$slots, "clearBtn", {}, () => [
4848
4842
  _(i, {
4849
4843
  size: "xxxs",
4850
4844
  fill: "",
@@ -4853,8 +4847,8 @@ function cr(e, t, s, n, a, o) {
4853
4847
  ])
4854
4848
  ]),
4855
4849
  _: 3
4856
- }, 8, ["disabled", "onClick"])) : C("", !0),
4857
- x(e.$slots, "afterDateInput")
4850
+ }, 8, ["disabled", "onClick"])) : I("", !0),
4851
+ k(e.$slots, "afterDateInput")
4858
4852
  ], 2);
4859
4853
  }
4860
4854
  const dr = /* @__PURE__ */ v(or, [["render", cr]]), ur = {
@@ -5480,13 +5474,13 @@ function yr(e, t, s, n, a, o) {
5480
5474
  type: "button",
5481
5475
  onClick: t[0] || (t[0] = P((d) => e.$emit("page-change", a.doublePreviousPage), ["stop"])),
5482
5476
  onKeydown: [
5483
- t[1] || (t[1] = F(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5484
- t[2] || (t[2] = F(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5485
- t[3] || (t[3] = F(P((...d) => o.arrowLeftPrev && o.arrowLeftPrev(...d), ["prevent"]), ["left"])),
5486
- t[4] || (t[4] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5477
+ t[1] || (t[1] = E(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5478
+ t[2] || (t[2] = E(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5479
+ t[3] || (t[3] = E(P((...d) => o.arrowLeftPrev && o.arrowLeftPrev(...d), ["prevent"]), ["left"])),
5480
+ t[4] || (t[4] = E(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5487
5481
  ]
5488
5482
  }, [
5489
- x(e.$slots, "prevIntervalBtn", {}, () => [
5483
+ k(e.$slots, "prevIntervalBtn", {}, () => [
5490
5484
  _(i, {
5491
5485
  name: "doubleChevron",
5492
5486
  size: "xxxs",
@@ -5495,7 +5489,7 @@ function yr(e, t, s, n, a, o) {
5495
5489
  rotate: 180
5496
5490
  })
5497
5491
  ])
5498
- ], 40, pr)) : C("", !0),
5492
+ ], 40, pr)) : I("", !0),
5499
5493
  u("button", {
5500
5494
  ref: "prev",
5501
5495
  class: "prev",
@@ -5503,13 +5497,13 @@ function yr(e, t, s, n, a, o) {
5503
5497
  type: "button",
5504
5498
  onClick: t[5] || (t[5] = P((d) => e.$emit("page-change", a.previousPage), ["stop"])),
5505
5499
  onKeydown: [
5506
- t[6] || (t[6] = F(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5507
- t[7] || (t[7] = F(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5508
- t[8] || (t[8] = F(P((...d) => o.arrowLeftPrev && o.arrowLeftPrev(...d), ["prevent"]), ["left"])),
5509
- t[9] || (t[9] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5500
+ t[6] || (t[6] = E(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5501
+ t[7] || (t[7] = E(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5502
+ t[8] || (t[8] = E(P((...d) => o.arrowLeftPrev && o.arrowLeftPrev(...d), ["prevent"]), ["left"])),
5503
+ t[9] || (t[9] = E(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5510
5504
  ]
5511
5505
  }, [
5512
- x(e.$slots, "prevIntervalBtn", {}, () => [
5506
+ k(e.$slots, "prevIntervalBtn", {}, () => [
5513
5507
  _(i, {
5514
5508
  name: "chevron",
5515
5509
  size: "xxxs",
@@ -5519,7 +5513,7 @@ function yr(e, t, s, n, a, o) {
5519
5513
  })
5520
5514
  ])
5521
5515
  ], 40, hr),
5522
- x(e.$slots, "default"),
5516
+ k(e.$slots, "default"),
5523
5517
  u("button", {
5524
5518
  ref: "next",
5525
5519
  class: "next",
@@ -5527,13 +5521,13 @@ function yr(e, t, s, n, a, o) {
5527
5521
  type: "button",
5528
5522
  onClick: t[10] || (t[10] = P((d) => e.$emit("page-change", a.nextPage), ["stop"])),
5529
5523
  onKeydown: [
5530
- t[11] || (t[11] = F(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5531
- t[12] || (t[12] = F(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5532
- t[13] || (t[13] = F(P((...d) => o.arrowLeftNext && o.arrowLeftNext(...d), ["prevent"]), ["left"])),
5533
- t[14] || (t[14] = F(P((...d) => o.arrowRightNext && o.arrowRightNext(...d), ["prevent"]), ["right"]))
5524
+ t[11] || (t[11] = E(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5525
+ t[12] || (t[12] = E(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5526
+ t[13] || (t[13] = E(P((...d) => o.arrowLeftNext && o.arrowLeftNext(...d), ["prevent"]), ["left"])),
5527
+ t[14] || (t[14] = E(P((...d) => o.arrowRightNext && o.arrowRightNext(...d), ["prevent"]), ["right"]))
5534
5528
  ]
5535
5529
  }, [
5536
- x(e.$slots, "nextIntervalBtn", {}, () => [
5530
+ k(e.$slots, "nextIntervalBtn", {}, () => [
5537
5531
  _(c, {
5538
5532
  size: "xxxs",
5539
5533
  fill: "",
@@ -5549,20 +5543,20 @@ function yr(e, t, s, n, a, o) {
5549
5543
  type: "button",
5550
5544
  onClick: t[15] || (t[15] = P((d) => e.$emit("page-change", a.doubleNextPage), ["stop"])),
5551
5545
  onKeydown: [
5552
- t[16] || (t[16] = F(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5553
- t[17] || (t[17] = F(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5554
- t[18] || (t[18] = F(P((...d) => o.arrowLeftPrev && o.arrowLeftPrev(...d), ["prevent"]), ["left"])),
5555
- t[19] || (t[19] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5546
+ t[16] || (t[16] = E(P((...d) => o.focusTabbableCell && o.focusTabbableCell(...d), ["prevent"]), ["down"])),
5547
+ t[17] || (t[17] = E(P((d) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5548
+ t[18] || (t[18] = E(P((...d) => o.arrowLeftPrev && o.arrowLeftPrev(...d), ["prevent"]), ["left"])),
5549
+ t[19] || (t[19] = E(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
5556
5550
  ]
5557
5551
  }, [
5558
- x(e.$slots, "prevIntervalBtn", {}, () => [
5552
+ k(e.$slots, "prevIntervalBtn", {}, () => [
5559
5553
  _(l, {
5560
5554
  size: "xxxs",
5561
5555
  fill: "",
5562
5556
  color: "default"
5563
5557
  })
5564
5558
  ])
5565
- ], 40, gr)) : C("", !0)
5559
+ ], 40, gr)) : I("", !0)
5566
5560
  ]);
5567
5561
  }
5568
5562
  const br = /* @__PURE__ */ v(fr, [["render", yr]]), ot = {
@@ -5942,14 +5936,14 @@ const vr = {
5942
5936
  return this.tabbableCellId ? t === this.tabbableCellId : e.isOpenDate;
5943
5937
  }
5944
5938
  }
5945
- }, Dr = { class: "picker-cells" }, Cr = ["id", "dataTestTabbableCell", "dataTestOpenDate", "dataTestTodayCell", "disabled", "onClick", "onKeydown", "onMouseover"];
5946
- function Ir(e, t, s, n, a, o) {
5939
+ }, Dr = { class: "picker-cells" }, Ir = ["id", "dataTestTabbableCell", "dataTestOpenDate", "dataTestTodayCell", "disabled", "onClick", "onKeydown", "onMouseover"];
5940
+ function Cr(e, t, s, n, a, o) {
5947
5941
  return r(), p("div", Dr, [
5948
5942
  (r(!0), p(z, null, J(s.cells, (i, c) => (r(), p("button", {
5949
5943
  key: i.timestamp,
5950
5944
  ref_for: !0,
5951
5945
  ref: i.isOpenDate ? "openDate" : null,
5952
- class: S(o.cellClasses(i)),
5946
+ class: O(o.cellClasses(i)),
5953
5947
  id: c,
5954
5948
  dataTestTabbableCell: o.isTabbableCell(i, c),
5955
5949
  dataTestOpenDate: i.isOpenDate,
@@ -5958,18 +5952,18 @@ function Ir(e, t, s, n, a, o) {
5958
5952
  type: "button",
5959
5953
  onClick: (l) => e.$emit("select", i),
5960
5954
  onKeydown: [
5961
- F(P((l) => o.handleArrow(c, -o.columns), ["prevent"]), ["up"]),
5962
- F(P((l) => o.handleArrow(c, o.columns), ["prevent"]), ["down"]),
5963
- F(P((l) => o.handleArrow(c), ["prevent"]), ["left"]),
5964
- F(P((l) => o.handleArrow(c), ["prevent"]), ["right"])
5955
+ E(P((l) => o.handleArrow(c, -o.columns), ["prevent"]), ["up"]),
5956
+ E(P((l) => o.handleArrow(c, o.columns), ["prevent"]), ["down"]),
5957
+ E(P((l) => o.handleArrow(c), ["prevent"]), ["left"]),
5958
+ E(P((l) => o.handleArrow(c), ["prevent"]), ["right"])
5965
5959
  ],
5966
5960
  onMouseover: (l) => e.$emit("hover", i)
5967
5961
  }, [
5968
- x(e.$slots, "default", { cell: i })
5969
- ], 42, Cr))), 128))
5962
+ k(e.$slots, "default", { cell: i })
5963
+ ], 42, Ir))), 128))
5970
5964
  ]);
5971
5965
  }
5972
- const it = /* @__PURE__ */ v(vr, [["render", Ir]]), wr = {
5966
+ const it = /* @__PURE__ */ v(vr, [["render", Cr]]), wr = {
5973
5967
  name: "UpButton",
5974
5968
  props: {
5975
5969
  isDisabled: {
@@ -5985,13 +5979,13 @@ function Mr(e, t, s, n, a, o) {
5985
5979
  type: "button",
5986
5980
  onClick: t[0] || (t[0] = (i) => e.$emit("select")),
5987
5981
  onKeydown: [
5988
- t[1] || (t[1] = F(P((i) => e.$emit("set-focus", ["tabbableCell"]), ["prevent"]), ["down"])),
5989
- t[2] || (t[2] = F(P((i) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5990
- t[3] || (t[3] = F(P((i) => e.$emit("set-focus"), ["prevent"]), ["left"])),
5991
- t[4] || (t[4] = F(P((i) => e.$emit("set-focus"), ["prevent"]), ["right"]))
5982
+ t[1] || (t[1] = E(P((i) => e.$emit("set-focus", ["tabbableCell"]), ["prevent"]), ["down"])),
5983
+ t[2] || (t[2] = E(P((i) => e.$emit("focus-input"), ["prevent"]), ["up"])),
5984
+ t[3] || (t[3] = E(P((i) => e.$emit("set-focus"), ["prevent"]), ["left"])),
5985
+ t[4] || (t[4] = E(P((i) => e.$emit("set-focus"), ["prevent"]), ["right"]))
5992
5986
  ]
5993
5987
  }, [
5994
- x(e.$slots, "default")
5988
+ k(e.$slots, "default")
5995
5989
  ], 40, Br);
5996
5990
  }
5997
5991
  const at = /* @__PURE__ */ v(wr, [["render", Mr]]), xr = {
@@ -6239,9 +6233,9 @@ function Or(e, t, s, n, a, o) {
6239
6233
  const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
6240
6234
  return r(), p("div", null, [
6241
6235
  e.$slots.beforeCalendarHeaderDay ? (r(), p("div", kr, [
6242
- x(e.$slots, "beforeCalendarHeaderDay")
6243
- ])) : C("", !0),
6244
- e.showHeader ? (r(), B(c, {
6236
+ k(e.$slots, "beforeCalendarHeaderDay")
6237
+ ])) : I("", !0),
6238
+ e.showHeader ? (r(), M(c, {
6245
6239
  key: 1,
6246
6240
  ref: "pickerHeader",
6247
6241
  isNextDisabled: o.isNextDisabled,
@@ -6252,10 +6246,10 @@ function Or(e, t, s, n, a, o) {
6252
6246
  onSetFocus: t[3] || (t[3] = (d) => e.$emit("set-focus", d))
6253
6247
  }, {
6254
6248
  prevIntervalBtn: h(() => [
6255
- x(e.$slots, "prevIntervalBtn")
6249
+ k(e.$slots, "prevIntervalBtn")
6256
6250
  ]),
6257
6251
  nextIntervalBtn: h(() => [
6258
- x(e.$slots, "nextIntervalBtn")
6252
+ k(e.$slots, "nextIntervalBtn")
6259
6253
  ]),
6260
6254
  default: h(() => [
6261
6255
  _(i, {
@@ -6272,7 +6266,7 @@ function Or(e, t, s, n, a, o) {
6272
6266
  }, 8, ["isDisabled", "onFocusInput"])
6273
6267
  ]),
6274
6268
  _: 3
6275
- }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : C("", !0),
6269
+ }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : I("", !0),
6276
6270
  u("div", null, [
6277
6271
  u("div", Tr, [
6278
6272
  (r(!0), p(z, null, J(o.daysOfWeek, (d) => (r(), p("span", { key: d }, g(d), 1))), 128))
@@ -6280,7 +6274,7 @@ function Or(e, t, s, n, a, o) {
6280
6274
  u("div", $r, [
6281
6275
  _(oe, { name: e.transitionName }, {
6282
6276
  default: h(() => [
6283
- (r(), B(l, {
6277
+ (r(), M(l, {
6284
6278
  ref: "cells",
6285
6279
  key: o.pageTitleDay,
6286
6280
  cells: o.cells,
@@ -6292,7 +6286,7 @@ function Or(e, t, s, n, a, o) {
6292
6286
  onHover: t[6] || (t[6] = (d) => o.hover(d))
6293
6287
  }, {
6294
6288
  default: h(({ cell: d }) => [
6295
- x(e.$slots, "dayCellContent", { cell: d }, () => [
6289
+ k(e.$slots, "dayCellContent", { cell: d }, () => [
6296
6290
  A(g(s.dayCellContent(d)), 1)
6297
6291
  ])
6298
6292
  ]),
@@ -6304,8 +6298,8 @@ function Or(e, t, s, n, a, o) {
6304
6298
  ])
6305
6299
  ]),
6306
6300
  e.$slots.calendarFooterDay ? (r(), p("div", Sr, [
6307
- x(e.$slots, "calendarFooterDay")
6308
- ])) : C("", !0)
6301
+ k(e.$slots, "calendarFooterDay")
6302
+ ])) : I("", !0)
6309
6303
  ]);
6310
6304
  }
6311
6305
  const Vr = /* @__PURE__ */ v(xr, [["render", Or]]), Fr = {
@@ -6397,9 +6391,9 @@ function Ar(e, t, s, n, a, o) {
6397
6391
  const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
6398
6392
  return r(), p("div", null, [
6399
6393
  e.$slots.beforeCalendarHeaderMonth ? (r(), p("div", Er, [
6400
- x(e.$slots, "beforeCalendarHeaderMonth")
6401
- ])) : C("", !0),
6402
- e.showHeader ? (r(), B(c, {
6394
+ k(e.$slots, "beforeCalendarHeaderMonth")
6395
+ ])) : I("", !0),
6396
+ e.showHeader ? (r(), M(c, {
6403
6397
  key: 1,
6404
6398
  ref: "pickerHeader",
6405
6399
  isNextDisabled: o.isNextDisabled,
@@ -6409,10 +6403,10 @@ function Ar(e, t, s, n, a, o) {
6409
6403
  onSetFocus: t[3] || (t[3] = (d) => e.$emit("set-focus", d))
6410
6404
  }, {
6411
6405
  prevIntervalBtn: h(() => [
6412
- x(e.$slots, "prevIntervalBtn")
6406
+ k(e.$slots, "prevIntervalBtn")
6413
6407
  ]),
6414
6408
  nextIntervalBtn: h(() => [
6415
- x(e.$slots, "nextIntervalBtn")
6409
+ k(e.$slots, "nextIntervalBtn")
6416
6410
  ]),
6417
6411
  default: h(() => [
6418
6412
  _(i, {
@@ -6429,11 +6423,11 @@ function Ar(e, t, s, n, a, o) {
6429
6423
  }, 8, ["isDisabled", "onFocusInput"])
6430
6424
  ]),
6431
6425
  _: 3
6432
- }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : C("", !0),
6426
+ }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : I("", !0),
6433
6427
  u("div", Lr, [
6434
6428
  _(oe, { name: e.transitionName }, {
6435
6429
  default: h(() => [
6436
- (r(), B(l, {
6430
+ (r(), M(l, {
6437
6431
  ref: "cells",
6438
6432
  key: o.pageTitleMonth,
6439
6433
  cells: o.cells,
@@ -6452,8 +6446,8 @@ function Ar(e, t, s, n, a, o) {
6452
6446
  }, 8, ["name"])
6453
6447
  ]),
6454
6448
  e.$slots.calendarFooterMonth ? (r(), p("div", Pr, [
6455
- x(e.$slots, "calendarFooterMonth")
6456
- ])) : C("", !0)
6449
+ k(e.$slots, "calendarFooterMonth")
6450
+ ])) : I("", !0)
6457
6451
  ]);
6458
6452
  }
6459
6453
  const Nr = /* @__PURE__ */ v(Fr, [["render", Ar]]), Ur = {
@@ -6570,9 +6564,9 @@ function Rr(e, t, s, n, a, o) {
6570
6564
  const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
6571
6565
  return r(), p("div", null, [
6572
6566
  e.$slots.beforeCalendarHeaderYear ? (r(), p("div", Hr, [
6573
- x(e.$slots, "beforeCalendarHeaderYear")
6574
- ])) : C("", !0),
6575
- e.showHeader ? (r(), B(c, {
6567
+ k(e.$slots, "beforeCalendarHeaderYear")
6568
+ ])) : I("", !0),
6569
+ e.showHeader ? (r(), M(c, {
6576
6570
  key: 1,
6577
6571
  ref: "pickerHeader",
6578
6572
  "is-next-disabled": o.isNextDisabled,
@@ -6582,10 +6576,10 @@ function Rr(e, t, s, n, a, o) {
6582
6576
  onSetFocus: t[1] || (t[1] = (d) => e.$emit("set-focus", d))
6583
6577
  }, {
6584
6578
  prevIntervalBtn: h(() => [
6585
- x(e.$slots, "prevIntervalBtn")
6579
+ k(e.$slots, "prevIntervalBtn")
6586
6580
  ]),
6587
6581
  nextIntervalBtn: h(() => [
6588
- x(e.$slots, "nextIntervalBtn")
6582
+ k(e.$slots, "nextIntervalBtn")
6589
6583
  ]),
6590
6584
  default: h(() => [
6591
6585
  _(i, {
@@ -6599,11 +6593,11 @@ function Rr(e, t, s, n, a, o) {
6599
6593
  }, 512)
6600
6594
  ]),
6601
6595
  _: 3
6602
- }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : C("", !0),
6596
+ }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : I("", !0),
6603
6597
  u("div", zr, [
6604
6598
  _(oe, { name: e.transitionName }, {
6605
6599
  default: h(() => [
6606
- (r(), B(l, {
6600
+ (r(), M(l, {
6607
6601
  ref: "cells",
6608
6602
  key: o.pageTitleYear,
6609
6603
  cells: o.cells,
@@ -6622,8 +6616,8 @@ function Rr(e, t, s, n, a, o) {
6622
6616
  }, 8, ["name"])
6623
6617
  ]),
6624
6618
  e.$slots.calendarFooterYear ? (r(), p("div", jr, [
6625
- x(e.$slots, "calendarFooterYear")
6626
- ])) : C("", !0)
6619
+ k(e.$slots, "calendarFooterYear")
6620
+ ])) : I("", !0)
6627
6621
  ]);
6628
6622
  }
6629
6623
  const qr = /* @__PURE__ */ v(Ur, [["render", Rr]]);
@@ -7106,12 +7100,12 @@ function Xr(e, t, s, n, a, o) {
7106
7100
  return r(), p("div", {
7107
7101
  id: o.datepickerId,
7108
7102
  ref: "datepicker",
7109
- class: S(["bimdata-datepicker", [s.wrapperClass]]),
7103
+ class: O(["bimdata-datepicker", [s.wrapperClass]]),
7110
7104
  onFocusin: t[10] || (t[10] = (l) => e.handleFocusIn(l)),
7111
7105
  onFocusout: t[11] || (t[11] = (l) => e.handleFocusOut(l)),
7112
- onKeydown: t[12] || (t[12] = F((...l) => o.resetOrClose && o.resetOrClose(...l), ["esc"]))
7106
+ onKeydown: t[12] || (t[12] = E((...l) => o.resetOrClose && o.resetOrClose(...l), ["esc"]))
7113
7107
  }, [
7114
- s.isDateRange ? (r(), B(i, {
7108
+ s.isDateRange ? (r(), M(i, {
7115
7109
  key: 0,
7116
7110
  id: e.id,
7117
7111
  ref: "dateInput",
@@ -7147,19 +7141,19 @@ function Xr(e, t, s, n, a, o) {
7147
7141
  style: T(o.style)
7148
7142
  }, {
7149
7143
  beforeDateInput: h(() => [
7150
- x(e.$slots, "beforeDateInput")
7144
+ k(e.$slots, "beforeDateInput")
7151
7145
  ]),
7152
7146
  afterDateInput: h(() => [
7153
- x(e.$slots, "afterDateInput")
7147
+ k(e.$slots, "afterDateInput")
7154
7148
  ]),
7155
7149
  clearBtn: h(() => [
7156
- x(e.$slots, "clearBtn")
7150
+ k(e.$slots, "clearBtn")
7157
7151
  ]),
7158
7152
  calendarBtn: h(() => [
7159
- x(e.$slots, "calendarBtn")
7153
+ k(e.$slots, "calendarBtn")
7160
7154
  ]),
7161
7155
  _: 3
7162
- }, 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, {
7156
+ }, 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(), M(c, {
7163
7157
  key: 1,
7164
7158
  id: e.id,
7165
7159
  ref: "dateInput",
@@ -7196,16 +7190,16 @@ function Xr(e, t, s, n, a, o) {
7196
7190
  style: T(o.style)
7197
7191
  }, {
7198
7192
  beforeDateInput: h(() => [
7199
- x(e.$slots, "beforeDateInput")
7193
+ k(e.$slots, "beforeDateInput")
7200
7194
  ]),
7201
7195
  afterDateInput: h(() => [
7202
- x(e.$slots, "afterDateInput")
7196
+ k(e.$slots, "afterDateInput")
7203
7197
  ]),
7204
7198
  clearBtn: h(() => [
7205
- x(e.$slots, "clearBtn")
7199
+ k(e.$slots, "clearBtn")
7206
7200
  ]),
7207
7201
  calendarBtn: h(() => [
7208
- x(e.$slots, "calendarBtn")
7202
+ k(e.$slots, "calendarBtn")
7209
7203
  ]),
7210
7204
  _: 3
7211
7205
  }, 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"])),
@@ -7213,14 +7207,14 @@ function Xr(e, t, s, n, a, o) {
7213
7207
  _(oe, { name: "toggle" }, {
7214
7208
  default: h(() => [
7215
7209
  W(u("div", {
7216
- class: S(["bimdata-datepicker__calendar", [o.pickerClasses, s.fixedPosition]]),
7210
+ class: O(["bimdata-datepicker__calendar", [o.pickerClasses, s.fixedPosition]]),
7217
7211
  onMousedown: t[5] || (t[5] = P(() => {
7218
7212
  }, ["prevent"])),
7219
7213
  onFocusin: t[6] || (t[6] = P((l) => e.handleFocusIn(l), ["stop"])),
7220
7214
  onFocusout: t[7] || (t[7] = P((l) => e.handleFocusOut(l), ["stop"])),
7221
7215
  onKeydown: [
7222
- t[8] || (t[8] = F(P((...l) => o.resetOrClose && o.resetOrClose(...l), ["stop"]), ["esc"])),
7223
- t[9] || (t[9] = F(P((l) => e.tabThroughNavigation(l), ["stop"]), ["tab"]))
7216
+ t[8] || (t[8] = E(P((...l) => o.resetOrClose && o.resetOrClose(...l), ["stop"]), ["esc"])),
7217
+ t[9] || (t[9] = E(P((l) => e.tabThroughNavigation(l), ["stop"]), ["tab"]))
7224
7218
  ]
7225
7219
  }, [
7226
7220
  _(oe, { name: "view" }, {
@@ -7230,9 +7224,9 @@ function Xr(e, t, s, n, a, o) {
7230
7224
  key: a.view
7231
7225
  }, [
7232
7226
  e.$slots.beforeCalendarHeader ? (r(), p("div", Jr, [
7233
- x(e.$slots, "beforeCalendarHeader")
7234
- ])) : C("", !0),
7235
- (r(), B(Me(o.picker), {
7227
+ k(e.$slots, "beforeCalendarHeader")
7228
+ ])) : I("", !0),
7229
+ (r(), M(Me(o.picker), {
7236
7230
  ref: "picker",
7237
7231
  class: "picker-view",
7238
7232
  "day-cell-content": s.dayCellContent,
@@ -7264,23 +7258,23 @@ function Xr(e, t, s, n, a, o) {
7264
7258
  onSetView: o.setView
7265
7259
  }, Dt({
7266
7260
  dayCellContent: h(({ cell: l }) => [
7267
- l ? x(e.$slots, "dayCellContent", {
7261
+ l ? k(e.$slots, "dayCellContent", {
7268
7262
  key: 0,
7269
7263
  cell: l
7270
- }) : C("", !0)
7264
+ }) : I("", !0)
7271
7265
  ]),
7272
7266
  _: 2
7273
7267
  }, [
7274
7268
  J(a.calendarSlots, (l) => ({
7275
7269
  name: l,
7276
7270
  fn: h(() => [
7277
- x(e.$slots, l)
7271
+ k(e.$slots, l)
7278
7272
  ])
7279
7273
  }))
7280
7274
  ]), 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"])),
7281
7275
  e.$slots.calendarFooter ? (r(), p("div", Gr, [
7282
- x(e.$slots, "calendarFooter")
7283
- ])) : C("", !0)
7276
+ k(e.$slots, "calendarFooter")
7277
+ ])) : I("", !0)
7284
7278
  ]))
7285
7279
  ]),
7286
7280
  _: 3
@@ -7291,7 +7285,7 @@ function Xr(e, t, s, n, a, o) {
7291
7285
  ]),
7292
7286
  _: 3
7293
7287
  })
7294
- ])) : C("", !0)
7288
+ ])) : I("", !0)
7295
7289
  ], 42, Zr);
7296
7290
  }
7297
7291
  const Qr = /* @__PURE__ */ v(Yr, [["render", Xr]]), ec = {
@@ -7366,12 +7360,12 @@ const Qr = /* @__PURE__ */ v(Yr, [["render", Xr]]), ec = {
7366
7360
  }
7367
7361
  };
7368
7362
  function tc(e, t, s, n, a, o) {
7369
- return r(), B(Me(s.component), {
7363
+ return r(), M(Me(s.component), {
7370
7364
  style: T(o.style),
7371
- class: S(o.classes)
7365
+ class: O(o.classes)
7372
7366
  }, {
7373
7367
  default: h(() => [
7374
- x(e.$slots, "default")
7368
+ k(e.$slots, "default")
7375
7369
  ]),
7376
7370
  _: 3
7377
7371
  }, 8, ["style", "class"]);
@@ -7500,7 +7494,7 @@ const rc = {
7500
7494
  };
7501
7495
  function hc(e, t, s, n, a, o) {
7502
7496
  return r(), p("div", {
7503
- class: S(["bimdata-textarea", {
7497
+ class: O(["bimdata-textarea", {
7504
7498
  "not-empty": s.modelValue !== null && s.modelValue !== "" || s.placeholder !== null,
7505
7499
  error: s.error,
7506
7500
  success: s.success
@@ -7518,8 +7512,8 @@ function hc(e, t, s, n, a, o) {
7518
7512
  }, e.$attrs), null, 16, dc),
7519
7513
  u("label", { for: s.name }, g(s.label), 9, uc),
7520
7514
  _c,
7521
- s.error ? (r(), p("span", fc, g(s.errorMessage), 1)) : C("", !0),
7522
- s.success ? (r(), p("span", pc, g(s.successMessage), 1)) : C("", !0)
7515
+ s.error ? (r(), p("span", fc, g(s.errorMessage), 1)) : I("", !0),
7516
+ s.success ? (r(), p("span", pc, g(s.successMessage), 1)) : I("", !0)
7523
7517
  ], 6);
7524
7518
  }
7525
7519
  const lt = /* @__PURE__ */ v(rc, [["render", hc], ["__scopeId", "data-v-77c71958"]]);
@@ -7592,14 +7586,14 @@ function yc(e, t, s, n, a, o) {
7592
7586
  onMouseover: t[0] || (t[0] = (i) => a.hover = !0),
7593
7587
  onMouseleave: t[1] || (t[1] = (i) => a.hover = !1)
7594
7588
  }, [
7595
- x(e.$slots, "content", {}, void 0, !0),
7596
- x(e.$slots, "default", {}, void 0, !0)
7589
+ k(e.$slots, "content", {}, void 0, !0),
7590
+ k(e.$slots, "default", {}, void 0, !0)
7597
7591
  ], 32),
7598
7592
  _(oe, { name: "fade" }, {
7599
7593
  default: h(() => [
7600
7594
  W(u("div", {
7601
7595
  ref: "tooltipText",
7602
- class: S(["bimdata-tooltip__tooltip", [
7596
+ class: O(["bimdata-tooltip__tooltip", [
7603
7597
  `bimdata-tooltip__tooltip--${s.position}`,
7604
7598
  `bimdata-tooltip__tooltip--${s.color}`,
7605
7599
  ...o._className
@@ -7618,7 +7612,7 @@ function Dc() {
7618
7612
  const e = navigator.userAgent.toLowerCase(), t = bc.test(e), s = vc.test(e);
7619
7613
  return t || s;
7620
7614
  }
7621
- const Cc = {
7615
+ const Ic = {
7622
7616
  components: {
7623
7617
  BIMDataButton: Z,
7624
7618
  BIMDataIconDelete: de,
@@ -7657,7 +7651,7 @@ const Cc = {
7657
7651
  isTabletOrMobile: Dc
7658
7652
  };
7659
7653
  }
7660
- }, Ic = { class: "bcf-topic-images" }, wc = { class: "bcf-topic-images__images" }, Bc = ["src"], Mc = { for: "files" }, xc = ["disabled"], kc = {
7654
+ }, Cc = { class: "bcf-topic-images" }, wc = { class: "bcf-topic-images__images" }, Bc = ["src"], Mc = { for: "files" }, xc = ["disabled"], kc = {
7661
7655
  key: 1,
7662
7656
  class: "bcf-topic-images__upload"
7663
7657
  }, Tc = { class: "icon" }, $c = {
@@ -7669,17 +7663,17 @@ const Cc = {
7669
7663
  };
7670
7664
  function Oc(e, t, s, n, a, o) {
7671
7665
  const i = f("BIMDataIconDelete"), c = f("BIMDataButton"), l = f("BIMDataIconCamera"), d = f("BIMDataIconUnarchive");
7672
- return r(), p("div", Ic, [
7666
+ return r(), p("div", Cc, [
7673
7667
  s.viewpoints.length > 0 ? (r(), p(z, { key: 0 }, [
7674
7668
  u("div", wc, [
7675
7669
  (r(!0), p(z, null, J(s.viewpoints.slice(0, 4), (m, y) => (r(), p("div", {
7676
- class: S(["image-preview", { single: s.viewpoints.length === 1 }]),
7670
+ class: O(["image-preview", { single: s.viewpoints.length === 1 }]),
7677
7671
  key: m.guid || y
7678
7672
  }, [
7679
7673
  m.snapshot.snapshot_data ? (r(), p("img", {
7680
7674
  key: 0,
7681
7675
  src: m.snapshot.snapshot_data
7682
- }, null, 8, Bc)) : C("", !0),
7676
+ }, null, 8, Bc)) : I("", !0),
7683
7677
  _(c, {
7684
7678
  class: "btn-delete",
7685
7679
  fill: "",
@@ -7752,13 +7746,9 @@ function Oc(e, t, s, n, a, o) {
7752
7746
  ]))
7753
7747
  ]);
7754
7748
  }
7755
- const Vc = /* @__PURE__ */ v(Cc, [["render", Oc], ["__scopeId", "data-v-a0c4f81e"]]);
7749
+ const Vc = /* @__PURE__ */ v(Ic, [["render", Oc], ["__scopeId", "data-v-a0c4f81e"]]);
7756
7750
  const Fc = {
7757
7751
  props: {
7758
- isXs: {
7759
- type: Boolean,
7760
- default: !1
7761
- },
7762
7752
  viewpoints: {
7763
7753
  type: Array,
7764
7754
  default: () => []
@@ -7767,53 +7757,23 @@ const Fc = {
7767
7757
  type: Function
7768
7758
  }
7769
7759
  },
7770
- emits: ["create-viewpoint"],
7771
- setup(e, { emit: t }) {
7760
+ emits: ["create-viewpoint", "upload-viewpoint"],
7761
+ setup(e) {
7772
7762
  return {
7773
- // Methods
7774
- createViewpoints: () => {
7775
- var o;
7776
- Object.values(((o = e.getViewers) == null ? void 0 : o.call(e)) ?? {}).flat().forEach(async (i) => {
7777
- const c = await i.getViewpoint();
7778
- t("create-viewpoint", c);
7779
- });
7780
- },
7781
- uploadViewpoints: (a) => {
7782
- [...a.target.files].forEach((o) => {
7783
- let i;
7784
- o.type === "image/png" ? i = "png" : o.type === "image/jpeg" ? i = "jpg" : i = o.type;
7785
- const c = new FileReader();
7786
- c.addEventListener("load", () => {
7787
- const l = {
7788
- snapshot: {
7789
- snapshot_type: i,
7790
- snapshot_data: c.result
7791
- }
7792
- };
7793
- t("create-viewpoint", l);
7794
- }), c.readAsDataURL(o);
7795
- });
7796
- }
7763
+ snapshotedViewpoints: H(
7764
+ () => e.viewpoints.filter((s) => !s.isUpload)
7765
+ )
7797
7766
  };
7798
7767
  }
7799
- }, Ec = {
7800
- for: "files",
7801
- class: "flex items-center"
7802
- }, Lc = ["disabled"], Pc = {
7803
- key: 1,
7804
- class: "bcf-topic-snapshots-actions"
7805
- }, Ac = {
7768
+ }, Ec = { class: "bcf-topic-snapshots-actions flex" }, Lc = {
7806
7769
  for: "files",
7807
7770
  class: "flex items-center"
7808
- }, Nc = ["disabled"];
7809
- function Uc(e, t, s, n, a, o) {
7771
+ };
7772
+ function Pc(e, t, s, n, a, o) {
7810
7773
  const i = f("BIMDataIconCamera"), c = f("BIMDataButton"), l = f("BIMDataTooltip"), d = f("BIMDataIconUnarchive");
7811
- return s.isXs ? (r(), p("div", {
7812
- key: 0,
7813
- class: S(["bcf-topic-snapshots-actions flex", { "bcf-topic-snapshots-actions__xs": s.isXs }])
7814
- }, [
7774
+ return r(), p("div", Ec, [
7815
7775
  _(l, {
7816
- disabled: s.viewpoints.length >= 4,
7776
+ disabled: n.snapshotedViewpoints.length > 0,
7817
7777
  text: e.$t("BcfComponents.BcfTopicForm.takeSnapshot"),
7818
7778
  color: "primary",
7819
7779
  position: "right"
@@ -7824,19 +7784,18 @@ function Uc(e, t, s, n, a, o) {
7824
7784
  ghost: "",
7825
7785
  rounded: "",
7826
7786
  icon: "",
7827
- onClick: n.createViewpoints,
7828
- disabled: s.viewpoints.length >= 4
7787
+ onClick: t[0] || (t[0] = (m) => e.$emit("create-viewpoint")),
7788
+ disabled: n.snapshotedViewpoints.length > 0
7829
7789
  }, {
7830
7790
  default: h(() => [
7831
7791
  _(i, { size: "s" })
7832
7792
  ]),
7833
7793
  _: 1
7834
- }, 8, ["onClick", "disabled"])
7794
+ }, 8, ["disabled"])
7835
7795
  ]),
7836
7796
  _: 1
7837
7797
  }, 8, ["disabled", "text"]),
7838
7798
  _(l, {
7839
- disabled: s.viewpoints.length >= 4,
7840
7799
  text: e.$t("BcfComponents.BcfTopicForm.importFile"),
7841
7800
  color: "primary",
7842
7801
  position: "right"
@@ -7846,11 +7805,10 @@ function Uc(e, t, s, n, a, o) {
7846
7805
  color: "default",
7847
7806
  ghost: "",
7848
7807
  rounded: "",
7849
- icon: "",
7850
- disabled: s.viewpoints.length >= 4
7808
+ icon: ""
7851
7809
  }, {
7852
7810
  default: h(() => [
7853
- u("label", Ec, [
7811
+ u("label", Lc, [
7854
7812
  _(d, {
7855
7813
  fill: "",
7856
7814
  color: "default",
@@ -7858,67 +7816,23 @@ function Uc(e, t, s, n, a, o) {
7858
7816
  })
7859
7817
  ]),
7860
7818
  u("input", {
7861
- disabled: s.viewpoints.length >= 4,
7862
7819
  hidden: "",
7863
7820
  id: "files",
7864
7821
  type: "file",
7865
7822
  multiple: "",
7866
7823
  accept: "image/png, image/jpeg",
7867
- onChange: t[0] || (t[0] = (...m) => n.uploadViewpoints && n.uploadViewpoints(...m))
7868
- }, null, 40, Lc)
7824
+ onChange: t[1] || (t[1] = (m) => e.$emit("upload-viewpoint", m))
7825
+ }, null, 32)
7869
7826
  ]),
7870
7827
  _: 1
7871
- }, 8, ["disabled"])
7872
- ]),
7873
- _: 1
7874
- }, 8, ["disabled", "text"])
7875
- ], 2)) : (r(), p("div", Pc, [
7876
- _(c, {
7877
- color: "primary",
7878
- fill: "",
7879
- radius: "",
7880
- onClick: n.createViewpoints
7881
- }, {
7882
- default: h(() => [
7883
- _(i, {
7884
- size: "s",
7885
- margin: "0 6px 0 0"
7886
- }),
7887
- u("span", null, g(e.$t("BcfComponents.BcfTopicForm.takeSnapshot")), 1)
7888
- ]),
7889
- _: 1
7890
- }, 8, ["onClick"]),
7891
- _(c, {
7892
- color: "primary",
7893
- outline: "",
7894
- radius: ""
7895
- }, {
7896
- default: h(() => [
7897
- u("label", Ac, [
7898
- _(d, {
7899
- fill: "",
7900
- color: "default",
7901
- size: "s",
7902
- margin: "0 6px 0 0"
7903
- }),
7904
- u("span", null, g(e.$t("BcfComponents.BcfTopicForm.importFile")), 1)
7905
- ]),
7906
- u("input", {
7907
- disabled: s.viewpoints.length >= 4,
7908
- hidden: "",
7909
- id: "files",
7910
- type: "file",
7911
- multiple: "",
7912
- accept: "image/png, image/jpeg",
7913
- onChange: t[1] || (t[1] = (...m) => n.uploadViewpoints && n.uploadViewpoints(...m))
7914
- }, null, 40, Nc)
7828
+ })
7915
7829
  ]),
7916
7830
  _: 1
7917
- })
7918
- ]));
7831
+ }, 8, ["text"])
7832
+ ]);
7919
7833
  }
7920
- const Yt = /* @__PURE__ */ v(Fc, [["render", Uc], ["__scopeId", "data-v-bacf2753"]]);
7921
- const Hc = {
7834
+ const Yt = /* @__PURE__ */ v(Fc, [["render", Pc], ["__scopeId", "data-v-f2f714f6"]]);
7835
+ const Ac = {
7922
7836
  components: {
7923
7837
  BcfTopicSnapshotsActions: Yt,
7924
7838
  BIMDataButton: Z,
@@ -7934,40 +7848,35 @@ const Hc = {
7934
7848
  type: Function
7935
7849
  }
7936
7850
  },
7937
- emits: ["create-viewpoint", "delete-viewpoint"],
7938
- setup(e, { emit: t }) {
7939
- return {
7940
- // Methods
7941
- deleteViewpoint: (n) => {
7942
- t("delete-viewpoint", n);
7943
- }
7944
- };
7945
- }
7946
- }, zc = { class: "bcf-topic-snapshots" }, jc = {
7851
+ emits: ["create-viewpoint", "upload-viewpoint", "delete-viewpoint"]
7852
+ }, Nc = { class: "bcf-topic-snapshots" }, Uc = {
7947
7853
  key: 0,
7948
7854
  class: "bcf-topic-snapshots__snapshots"
7949
- }, Rc = ["src"], qc = {
7855
+ }, Hc = ["src"], zc = {
7950
7856
  key: 1,
7951
7857
  class: "bcf-topic-snapshots__create"
7952
- };
7953
- function Kc(e, t, s, n, a, o) {
7954
- const i = f("BIMDataIconDelete"), c = f("BIMDataButton"), l = f("BcfTopicSnapshotsActions");
7955
- return r(), p("div", zc, [
7956
- s.viewpoints.length > 0 ? (r(), p("div", jc, [
7957
- (r(!0), p(z, null, J(s.viewpoints.slice(0, 4), (d, m) => (r(), p("div", {
7958
- class: S(["snapshot-preview", { single: s.viewpoints.length === 1 }]),
7959
- key: d.guid || m
7858
+ }, jc = {
7859
+ for: "files",
7860
+ class: "flex items-center"
7861
+ }, Rc = ["disabled"];
7862
+ function qc(e, t, s, n, a, o) {
7863
+ const i = f("BIMDataIconDelete"), c = f("BIMDataButton"), l = f("BIMDataIconCamera"), d = f("BIMDataIconUnarchive");
7864
+ return r(), p("div", Nc, [
7865
+ s.viewpoints.length > 0 ? (r(), p("div", Uc, [
7866
+ (r(!0), p(z, null, J(s.viewpoints.slice(0, 4), (m, y) => (r(), p("div", {
7867
+ class: O(["snapshot-preview", { single: s.viewpoints.length === 1 }]),
7868
+ key: m.guid || y
7960
7869
  }, [
7961
- d.snapshot.snapshot_data ? (r(), p("img", {
7870
+ m.snapshot.snapshot_data ? (r(), p("img", {
7962
7871
  key: 0,
7963
- src: d.snapshot.snapshot_data
7964
- }, null, 8, Rc)) : C("", !0),
7872
+ src: m.snapshot.snapshot_data
7873
+ }, null, 8, Hc)) : I("", !0),
7965
7874
  _(c, {
7966
7875
  class: "btn-delete",
7967
7876
  fill: "",
7968
7877
  rounded: "",
7969
7878
  icon: "",
7970
- onClick: (y) => n.deleteViewpoint(d)
7879
+ onClick: (D) => e.$emit("delete-viewpoint", m)
7971
7880
  }, {
7972
7881
  default: h(() => [
7973
7882
  _(i, {
@@ -7979,20 +7888,58 @@ function Kc(e, t, s, n, a, o) {
7979
7888
  _: 2
7980
7889
  }, 1032, ["onClick"])
7981
7890
  ], 2))), 128))
7982
- ])) : (r(), p("div", qc, [
7983
- _(l, {
7984
- viewpoints: s.viewpoints,
7985
- getViewers: s.getViewers,
7986
- onCreateViewpoint: t[0] || (t[0] = (d) => e.$emit("create-viewpoint", d))
7987
- }, null, 8, ["viewpoints", "getViewers"])
7891
+ ])) : (r(), p("div", zc, [
7892
+ _(c, {
7893
+ color: "primary",
7894
+ fill: "",
7895
+ radius: "",
7896
+ onClick: t[0] || (t[0] = (m) => e.$emit("create-viewpoint"))
7897
+ }, {
7898
+ default: h(() => [
7899
+ _(l, {
7900
+ size: "s",
7901
+ margin: "0 6px 0 0"
7902
+ }),
7903
+ u("span", null, g(e.$t("BcfComponents.BcfTopicForm.takeSnapshot")), 1)
7904
+ ]),
7905
+ _: 1
7906
+ }),
7907
+ _(c, {
7908
+ color: "primary",
7909
+ outline: "",
7910
+ radius: "",
7911
+ class: "m-t-12"
7912
+ }, {
7913
+ default: h(() => [
7914
+ u("label", jc, [
7915
+ _(d, {
7916
+ fill: "",
7917
+ color: "default",
7918
+ size: "s",
7919
+ margin: "0 6px 0 0"
7920
+ }),
7921
+ u("span", null, g(e.$t("BcfComponents.BcfTopicForm.importFile")), 1)
7922
+ ]),
7923
+ u("input", {
7924
+ disabled: s.viewpoints.length >= 4,
7925
+ hidden: "",
7926
+ id: "files",
7927
+ type: "file",
7928
+ multiple: "",
7929
+ accept: "image/png, image/jpeg",
7930
+ onChange: t[1] || (t[1] = (m) => e.$emit("upload-viewpoint", m))
7931
+ }, null, 40, Rc)
7932
+ ]),
7933
+ _: 1
7934
+ })
7988
7935
  ]))
7989
7936
  ]);
7990
7937
  }
7991
- const Yc = /* @__PURE__ */ v(Hc, [["render", Kc], ["__scopeId", "data-v-aad452fb"]]);
7992
- const Zc = {
7938
+ const Kc = /* @__PURE__ */ v(Ac, [["render", qc], ["__scopeId", "data-v-09aa1fe2"]]);
7939
+ const Yc = {
7993
7940
  components: {
7994
7941
  BcfTopicImages: Vc,
7995
- BcfTopicSnapshots: Yc,
7942
+ BcfTopicSnapshots: Kc,
7996
7943
  BcfTopicSnapshotsActions: Yt,
7997
7944
  BIMDataButton: Z,
7998
7945
  BIMDataDatePicker: Qr,
@@ -8004,7 +7951,7 @@ const Zc = {
8004
7951
  BIMDataSafeZoneModal: qt,
8005
7952
  BIMDataSelect: jt,
8006
7953
  BIMDataTextarea: lt,
8007
- BIMDataTextbox: Ie,
7954
+ BIMDataTextbox: Ce,
8008
7955
  BIMDataTooltip: Kt
8009
7956
  },
8010
7957
  props: {
@@ -8083,23 +8030,23 @@ const Zc = {
8083
8030
  "topic-update-error"
8084
8031
  ],
8085
8032
  setup(e, { emit: t }) {
8086
- 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(
8087
- () => w.value.concat(V.value).filter((U) => !N.value.some((k) => k.guid === U.guid)).filter((U) => U.snapshot)
8088
- ), K = $(!1), R = $(!1), O = $(!1), X = () => {
8089
- 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;
8033
+ const s = Ie(), n = H(() => !e.topic), a = H(() => Math.max(0, ...e.topics.map((C) => C.index)) + 1), o = $(""), i = $(null), c = $(null), l = $(null), d = $(null), m = $(null), y = $(null), D = $(""), b = $([]), B = $([]), V = $([]), x = $([]), N = $([]), L = H(
8034
+ () => B.value.concat(V.value).filter((C) => !N.value.some((w) => w.guid === C.guid)).filter((C) => C.snapshot)
8035
+ ), q = $(!1), j = $(!1), F = $(!1), X = () => {
8036
+ o.value = "", i.value = null, c.value = null, l.value = null, d.value = null, m.value = null, y.value = null, D.value = "", b.value = [], B.value = [], V.value = [], x.value = [], N.value = [], q.value = !1, j.value = !1, F.value = !1;
8090
8037
  };
8091
8038
  return ne(
8092
8039
  () => e.topic,
8093
- (U) => {
8094
- 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();
8040
+ (C) => {
8041
+ C ? (o.value = C.title || "", i.value = C.topic_type || null, c.value = C.priority || null, l.value = C.topic_status || null, d.value = C.stage || null, m.value = C.assigned_to || null, y.value = C.due_date, D.value = C.description || "", b.value = C.labels || [], B.value = C.viewpoints || []) : X();
8095
8042
  },
8096
8043
  { immediate: !0 }
8097
8044
  ), {
8098
8045
  // References
8099
- hasErrorTitle: K,
8046
+ hasErrorTitle: q,
8100
8047
  isCreation: n,
8101
- isOpenModal: R,
8102
- loading: O,
8048
+ isOpenModal: j,
8049
+ loading: F,
8103
8050
  nextIndex: a,
8104
8051
  topicAssignedTo: m,
8105
8052
  topicDescription: D,
@@ -8112,36 +8059,57 @@ const Zc = {
8112
8059
  topicType: i,
8113
8060
  viewpointsToDisplay: L,
8114
8061
  // Methods
8115
- createViewpoint: (U) => {
8116
- V.value.push(U);
8062
+ createViewpoint: () => {
8063
+ var w;
8064
+ Object.values(((w = e.getViewers) == null ? void 0 : w.call(e)) ?? {}).flat().forEach(async (S) => {
8065
+ const U = await S.getViewpoint();
8066
+ V.value.push(U);
8067
+ });
8117
8068
  },
8118
- deleteViewpoint: (U) => {
8119
- if (U.guid)
8120
- N.value.push(U);
8069
+ uploadViewpoint: (C) => {
8070
+ [...C.target.files].forEach((w) => {
8071
+ let S;
8072
+ w.type === "image/png" ? S = "png" : w.type === "image/jpeg" ? S = "jpg" : S = w.type;
8073
+ const U = new FileReader();
8074
+ U.addEventListener("load", () => {
8075
+ const Y = {
8076
+ isUpload: !0,
8077
+ snapshot: {
8078
+ snapshot_type: S,
8079
+ snapshot_data: U.result
8080
+ }
8081
+ };
8082
+ V.value.push(Y);
8083
+ }), U.readAsDataURL(w);
8084
+ });
8085
+ },
8086
+ deleteViewpoint: (C) => {
8087
+ if (C.guid)
8088
+ N.value.push(C);
8121
8089
  else {
8122
- let k = V.value.indexOf(U);
8123
- V.value.splice(k, 1);
8090
+ let w = V.value.indexOf(C);
8091
+ V.value.splice(w, 1);
8124
8092
  }
8125
8093
  },
8126
8094
  submit: async () => {
8127
- var U, k;
8095
+ var C, w;
8128
8096
  if (!o.value) {
8129
- K.value = !0;
8097
+ q.value = !0;
8130
8098
  return;
8131
8099
  }
8132
8100
  try {
8133
- O.value = !0, M.value = w.value.map((Y) => ({
8134
- ...Y,
8101
+ F.value = !0, x.value = B.value.map((K) => ({
8102
+ ...K,
8135
8103
  snapshot: void 0
8136
- })), M.value.length === 0 && V.value.sort(
8137
- (Y, se) => (Y.order ?? 1 / 0) - (se.order ?? 1 / 0)
8104
+ })), x.value.length === 0 && V.value.sort(
8105
+ (K, se) => (K.order ?? 1 / 0) - (se.order ?? 1 / 0)
8138
8106
  );
8139
- const I = M.value.concat(V.value);
8140
- e.topicObjects && (I.length > 0 ? I.forEach((Y) => {
8141
- Object.assign(Y, { components: e.topicObjects }), bs(Y);
8142
- }) : V.value.push({ components: e.topicObjects })), e.topicAnnotations && I.forEach((Y) => Y.pins = e.topicAnnotations);
8143
- const E = {
8144
- guid: (U = e.topic) == null ? void 0 : U.guid,
8107
+ const S = x.value.concat(V.value);
8108
+ e.topicObjects && (S.length > 0 ? S.forEach((K) => {
8109
+ Object.assign(K, { components: e.topicObjects }), bs(K);
8110
+ }) : V.value.push({ components: e.topicObjects })), e.topicAnnotations && S.forEach((K) => K.pins = e.topicAnnotations);
8111
+ const U = {
8112
+ guid: (C = e.topic) == null ? void 0 : C.guid,
8145
8113
  title: o.value,
8146
8114
  topic_type: i.value,
8147
8115
  priority: c.value,
@@ -8152,48 +8120,48 @@ const Zc = {
8152
8120
  description: D.value,
8153
8121
  labels: b.value,
8154
8122
  // Keep topic models unchanged if any, otherwise use provided topic models.
8155
- models: ((k = e.topic) == null ? void 0 : k.models) || e.topicModels
8123
+ models: ((w = e.topic) == null ? void 0 : w.models) || e.topicModels
8156
8124
  };
8157
- let H;
8158
- n.value ? H = await s.createTopic(e.project, E) : H = await s.updateTopic(e.project, E), await Promise.all([
8125
+ let Y;
8126
+ n.value ? Y = await s.createTopic(e.project, U) : Y = await s.updateTopic(e.project, U), await Promise.all([
8159
8127
  ...V.value.map(
8160
- (Y) => s.createViewpoint(e.project, H, Y)
8128
+ (K) => s.createViewpoint(e.project, Y, K)
8161
8129
  ),
8162
- ...M.value.map(
8163
- (Y) => s.updateViewpoint(e.project, H, Y)
8130
+ ...x.value.map(
8131
+ (K) => s.updateViewpoint(e.project, Y, K)
8164
8132
  ),
8165
8133
  ...N.value.map(
8166
- (Y) => s.deleteViewpoint(e.project, H, Y)
8134
+ (K) => s.deleteViewpoint(e.project, Y, K)
8167
8135
  )
8168
- ]), n.value ? (t("topic-created", H), X()) : t("topic-updated", H);
8169
- } catch (I) {
8170
- t(n.value ? "topic-create-error" : "topic-update-error", I);
8136
+ ]), n.value ? (t("topic-created", Y), X()) : t("topic-updated", Y);
8137
+ } catch (S) {
8138
+ t(n.value ? "topic-create-error" : "topic-update-error", S);
8171
8139
  } finally {
8172
- O.value = !1;
8140
+ F.value = !1;
8173
8141
  }
8174
8142
  }
8175
8143
  };
8176
8144
  }
8177
- }, Wc = { class: "bcf-topic-form" }, Jc = { class: "bcf-topic-form__header" }, Gc = { class: "bcf-topic-form__header__title" }, Xc = { class: "bcf-topic-form__content" }, Qc = { class: "bcf-topic-form__content__head" }, ed = { class: "bcf-topic-form__content__head__index" }, td = { class: "bcf-topic-form__content__head__date" }, sd = { class: "bcf-topic-form__content__actions" }, nd = {
8145
+ }, Zc = { class: "bcf-topic-form" }, Wc = { class: "bcf-topic-form__header" }, Jc = { class: "bcf-topic-form__header__title" }, Gc = { class: "bcf-topic-form__content" }, Xc = { class: "bcf-topic-form__content__head" }, Qc = { class: "bcf-topic-form__content__head__index" }, ed = { class: "bcf-topic-form__content__head__date" }, td = { class: "bcf-topic-form__content__actions" }, sd = {
8178
8146
  key: 0,
8179
8147
  class: "count-objects"
8180
- }, od = {
8148
+ }, nd = {
8181
8149
  key: 0,
8182
8150
  class: "count-annotations"
8183
- }, id = { class: "bcf-topic-form__content__body" }, ad = { class: "m-b-30" }, ld = { class: "bcf-topic-form__footer" }, rd = {
8151
+ }, od = { class: "bcf-topic-form__content__body" }, id = { class: "m-b-30" }, ad = { class: "bcf-topic-form__footer" }, ld = {
8184
8152
  key: 0,
8185
8153
  class: "bcf-topic-form__loader"
8186
8154
  };
8187
- function cd(e, t, s, n, a, o) {
8188
- 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");
8189
- return r(), p("div", Wc, [
8190
- u("div", Jc, [
8191
- s.uiConfig.backButton ? (r(), B(c, {
8155
+ function rd(e, t, s, n, a, o) {
8156
+ 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"), B = f("BcfTopicImages"), V = f("BIMDataInput"), x = f("BIMDataSelect"), N = f("BIMDataDatePicker"), L = f("BIMDataTextarea"), q = f("BIMDataLoading"), j = f("BIMDataSafeZoneModal");
8157
+ return r(), p("div", Zc, [
8158
+ u("div", Wc, [
8159
+ s.uiConfig.backButton ? (r(), M(c, {
8192
8160
  key: 0,
8193
8161
  ghost: "",
8194
8162
  rounded: "",
8195
8163
  icon: "",
8196
- onClick: t[0] || (t[0] = (O) => e.$emit("back"))
8164
+ onClick: t[0] || (t[0] = (F) => e.$emit("back"))
8197
8165
  }, {
8198
8166
  default: h(() => [
8199
8167
  _(i, {
@@ -8203,22 +8171,22 @@ function cd(e, t, s, n, a, o) {
8203
8171
  })
8204
8172
  ]),
8205
8173
  _: 1
8206
- })) : C("", !0),
8207
- u("div", Gc, [
8174
+ })) : I("", !0),
8175
+ u("div", Jc, [
8208
8176
  n.isCreation ? (r(), p(z, { key: 0 }, [
8209
8177
  A(g(e.$t("BcfComponents.BcfTopicForm.createTitle")), 1)
8210
- ], 64)) : (r(), B(l, {
8178
+ ], 64)) : (r(), M(l, {
8211
8179
  key: 1,
8212
8180
  maxWidth: "250px",
8213
8181
  text: s.topic.title
8214
8182
  }, null, 8, ["text"]))
8215
8183
  ]),
8216
- s.uiConfig.closeButton ? (r(), B(c, {
8184
+ s.uiConfig.closeButton ? (r(), M(c, {
8217
8185
  key: 1,
8218
8186
  ghost: "",
8219
8187
  rounded: "",
8220
8188
  icon: "",
8221
- onClick: t[1] || (t[1] = (O) => e.$emit("close"))
8189
+ onClick: t[1] || (t[1] = (F) => e.$emit("close"))
8222
8190
  }, {
8223
8191
  default: h(() => [
8224
8192
  _(d, {
@@ -8228,33 +8196,34 @@ function cd(e, t, s, n, a, o) {
8228
8196
  })
8229
8197
  ]),
8230
8198
  _: 1
8231
- })) : C("", !0)
8199
+ })) : I("", !0)
8232
8200
  ]),
8233
- u("div", Xc, [
8234
- u("div", Qc, [
8235
- u("div", ed, g(n.isCreation ? n.nextIndex : s.topic.index), 1),
8236
- u("div", td, g(e.$d(n.isCreation ? /* @__PURE__ */ new Date() : s.topic.creation_date, "short")), 1)
8201
+ u("div", Gc, [
8202
+ u("div", Xc, [
8203
+ u("div", Qc, g(n.isCreation ? n.nextIndex : s.topic.index), 1),
8204
+ u("div", ed, g(e.$d(n.isCreation ? /* @__PURE__ */ new Date() : s.topic.creation_date, "short")), 1)
8237
8205
  ]),
8238
8206
  s.uiConfig.viewerMode ? (r(), p(z, { key: 0 }, [
8239
8207
  _(m, {
8240
8208
  viewpoints: n.viewpointsToDisplay,
8241
8209
  getViewers: s.getViewers,
8242
8210
  onCreateViewpoint: n.createViewpoint,
8211
+ onUploadViewpoint: n.uploadViewpoint,
8243
8212
  onDeleteViewpoint: n.deleteViewpoint
8244
- }, null, 8, ["viewpoints", "getViewers", "onCreateViewpoint", "onDeleteViewpoint"]),
8245
- u("div", sd, [
8246
- n.viewpointsToDisplay.length > 0 ? (r(), B(y, {
8213
+ }, null, 8, ["viewpoints", "getViewers", "onCreateViewpoint", "onUploadViewpoint", "onDeleteViewpoint"]),
8214
+ u("div", td, [
8215
+ n.viewpointsToDisplay.length > 0 ? (r(), M(y, {
8247
8216
  key: 0,
8248
- isXs: !0,
8249
8217
  viewpoints: n.viewpointsToDisplay,
8250
8218
  getViewers: s.getViewers,
8251
- onCreateViewpoint: n.createViewpoint
8252
- }, null, 8, ["viewpoints", "getViewers", "onCreateViewpoint"])) : C("", !0),
8219
+ onCreateViewpoint: n.createViewpoint,
8220
+ onUploadViewpoint: n.uploadViewpoint
8221
+ }, null, 8, ["viewpoints", "getViewers", "onCreateViewpoint", "onUploadViewpoint"])) : I("", !0),
8253
8222
  _(c, {
8254
8223
  fill: "",
8255
8224
  radius: "",
8256
8225
  disabled: !s.objectsEditEnabled,
8257
- onClick: t[2] || (t[2] = (O) => e.$emit("edit-topic-objects", s.topic))
8226
+ onClick: t[2] || (t[2] = (F) => e.$emit("edit-topic-objects", s.topic))
8258
8227
  }, {
8259
8228
  default: h(() => [
8260
8229
  _(D, {
@@ -8262,7 +8231,7 @@ function cd(e, t, s, n, a, o) {
8262
8231
  margin: "0 6px 0 0"
8263
8232
  }),
8264
8233
  u("span", null, g(e.$t("BcfComponents.BcfTopicForm.addObjectButton")), 1),
8265
- s.topicObjects ? (r(), p("span", nd, g(s.topicObjects.selection.length), 1)) : C("", !0)
8234
+ s.topicObjects ? (r(), p("span", sd, g(s.topicObjects.selection.length), 1)) : I("", !0)
8266
8235
  ]),
8267
8236
  _: 1
8268
8237
  }, 8, ["disabled"]),
@@ -8278,7 +8247,7 @@ function cd(e, t, s, n, a, o) {
8278
8247
  fill: "",
8279
8248
  radius: "",
8280
8249
  disabled: !s.annotationsEditEnabled || n.viewpointsToDisplay.length === 0,
8281
- onClick: t[3] || (t[3] = (O) => e.$emit("edit-topic-annotations", s.topic))
8250
+ onClick: t[3] || (t[3] = (F) => e.$emit("edit-topic-annotations", s.topic))
8282
8251
  }, {
8283
8252
  default: h(() => [
8284
8253
  _(D, {
@@ -8286,7 +8255,7 @@ function cd(e, t, s, n, a, o) {
8286
8255
  margin: "0 6px 0 0"
8287
8256
  }),
8288
8257
  u("span", null, g(e.$t("BcfComponents.BcfTopicForm.addAnnotationButton")), 1),
8289
- s.topicAnnotations ? (r(), p("span", od, g(s.topicAnnotations.length), 1)) : C("", !0)
8258
+ s.topicAnnotations ? (r(), p("span", nd, g(s.topicAnnotations.length), 1)) : I("", !0)
8290
8259
  ]),
8291
8260
  _: 1
8292
8261
  }, 8, ["disabled"])
@@ -8294,68 +8263,68 @@ function cd(e, t, s, n, a, o) {
8294
8263
  _: 1
8295
8264
  }, 8, ["disabled", "text"])
8296
8265
  ])
8297
- ], 64)) : (r(), B(w, {
8266
+ ], 64)) : (r(), M(B, {
8298
8267
  key: 1,
8299
8268
  viewpoints: n.viewpointsToDisplay,
8300
8269
  onCreateViewpoint: n.createViewpoint,
8301
8270
  onDeleteViewpoint: n.deleteViewpoint
8302
8271
  }, null, 8, ["viewpoints", "onCreateViewpoint", "onDeleteViewpoint"])),
8303
- u("div", id, [
8272
+ u("div", od, [
8304
8273
  _(V, {
8305
8274
  placeholder: e.$t("BcfComponents.BcfTopicForm.titlePlaceholder"),
8306
8275
  error: n.hasErrorTitle,
8307
8276
  errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
8308
8277
  modelValue: n.topicTitle,
8309
- "onUpdate:modelValue": t[4] || (t[4] = (O) => n.topicTitle = O),
8310
- onKeyup: F(P(n.submit, ["stop"]), ["enter"])
8278
+ "onUpdate:modelValue": t[4] || (t[4] = (F) => n.topicTitle = F),
8279
+ onKeyup: E(P(n.submit, ["stop"]), ["enter"])
8311
8280
  }, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
8312
- _(M, {
8281
+ _(x, {
8313
8282
  width: "100%",
8314
8283
  label: e.$t("BcfComponents.BcfTopicForm.typeLabel"),
8315
8284
  options: s.extensions.topic_type,
8316
8285
  disabled: s.extensions.topic_type.length === 0,
8317
8286
  modelValue: n.topicType,
8318
- "onUpdate:modelValue": t[5] || (t[5] = (O) => n.topicType = O)
8287
+ "onUpdate:modelValue": t[5] || (t[5] = (F) => n.topicType = F)
8319
8288
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8320
- _(M, {
8289
+ _(x, {
8321
8290
  width: "100%",
8322
8291
  label: e.$t("BcfComponents.BcfTopicForm.priorityLabel"),
8323
8292
  options: s.extensions.priority,
8324
8293
  disabled: s.extensions.priority.length === 0,
8325
8294
  modelValue: n.topicPriority,
8326
- "onUpdate:modelValue": t[6] || (t[6] = (O) => n.topicPriority = O)
8295
+ "onUpdate:modelValue": t[6] || (t[6] = (F) => n.topicPriority = F)
8327
8296
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8328
- _(M, {
8297
+ _(x, {
8329
8298
  width: "100%",
8330
8299
  label: e.$t("BcfComponents.BcfTopicForm.statusLabel"),
8331
8300
  options: s.extensions.topic_status,
8332
8301
  disabled: s.extensions.topic_status.length === 0,
8333
8302
  modelValue: n.topicStatus,
8334
- "onUpdate:modelValue": t[7] || (t[7] = (O) => n.topicStatus = O)
8303
+ "onUpdate:modelValue": t[7] || (t[7] = (F) => n.topicStatus = F)
8335
8304
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8336
- _(M, {
8305
+ _(x, {
8337
8306
  width: "100%",
8338
8307
  label: e.$t("BcfComponents.BcfTopicForm.stageLabel"),
8339
8308
  options: s.extensions.stage,
8340
8309
  disabled: s.extensions.stage.length === 0,
8341
8310
  modelValue: n.topicStage,
8342
- "onUpdate:modelValue": t[8] || (t[8] = (O) => n.topicStage = O)
8311
+ "onUpdate:modelValue": t[8] || (t[8] = (F) => n.topicStage = F)
8343
8312
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8344
- _(M, {
8313
+ _(x, {
8345
8314
  width: "100%",
8346
8315
  label: e.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
8347
8316
  options: s.extensions.user_id_type,
8348
8317
  disabled: s.extensions.user_id_type.length === 0,
8349
8318
  modelValue: n.topicAssignedTo,
8350
- "onUpdate:modelValue": t[9] || (t[9] = (O) => n.topicAssignedTo = O)
8319
+ "onUpdate:modelValue": t[9] || (t[9] = (F) => n.topicAssignedTo = F)
8351
8320
  }, null, 8, ["label", "options", "disabled", "modelValue"]),
8352
- u("div", ad, [
8321
+ u("div", id, [
8353
8322
  _(N, {
8354
8323
  width: "100%",
8355
8324
  placeholder: e.$t("BcfComponents.BcfTopicForm.dueDateLabel"),
8356
8325
  value: n.topicDueDate,
8357
8326
  modelValue: n.topicDueDate,
8358
- "onUpdate:modelValue": t[10] || (t[10] = (O) => n.topicDueDate = O),
8327
+ "onUpdate:modelValue": t[10] || (t[10] = (F) => n.topicDueDate = F),
8359
8328
  clearButton: !0
8360
8329
  }, null, 8, ["placeholder", "value", "modelValue"])
8361
8330
  ]),
@@ -8364,21 +8333,21 @@ function cd(e, t, s, n, a, o) {
8364
8333
  name: "description",
8365
8334
  label: e.$t("BcfComponents.BcfTopicForm.descriptionLabel"),
8366
8335
  modelValue: n.topicDescription,
8367
- "onUpdate:modelValue": t[11] || (t[11] = (O) => n.topicDescription = O),
8336
+ "onUpdate:modelValue": t[11] || (t[11] = (F) => n.topicDescription = F),
8368
8337
  fitContent: ""
8369
8338
  }, null, 8, ["label", "modelValue"]),
8370
- _(M, {
8339
+ _(x, {
8371
8340
  width: "100%",
8372
8341
  label: e.$t("BcfComponents.BcfTopicForm.labelsLabel"),
8373
8342
  options: s.extensions.topic_label,
8374
8343
  disabled: s.extensions.topic_label.length === 0,
8375
8344
  modelValue: n.topicLabels,
8376
- "onUpdate:modelValue": t[12] || (t[12] = (O) => n.topicLabels = O),
8345
+ "onUpdate:modelValue": t[12] || (t[12] = (F) => n.topicLabels = F),
8377
8346
  multi: !0
8378
8347
  }, null, 8, ["label", "options", "disabled", "modelValue"])
8379
8348
  ])
8380
8349
  ]),
8381
- u("div", ld, [
8350
+ u("div", ad, [
8382
8351
  _(c, {
8383
8352
  width: "100%",
8384
8353
  color: "primary",
@@ -8393,10 +8362,10 @@ function cd(e, t, s, n, a, o) {
8393
8362
  _: 1
8394
8363
  }, 8, ["disabled", "onClick"])
8395
8364
  ]),
8396
- n.loading ? (r(), p("div", rd, [
8397
- _(K)
8398
- ])) : C("", !0),
8399
- n.isOpenModal ? (r(), B(R, { key: 1 }, {
8365
+ n.loading ? (r(), p("div", ld, [
8366
+ _(q)
8367
+ ])) : I("", !0),
8368
+ n.isOpenModal ? (r(), M(j, { key: 1 }, {
8400
8369
  text: h(() => [
8401
8370
  A(g(e.$t("BcfComponents.BcfTopicForm.modalText", { name: s.topic.title })), 1)
8402
8371
  ]),
@@ -8406,7 +8375,7 @@ function cd(e, t, s, n, a, o) {
8406
8375
  color: "high",
8407
8376
  fill: "",
8408
8377
  radius: "",
8409
- onClick: t[13] || (t[13] = (O) => e.$emit("close"))
8378
+ onClick: t[13] || (t[13] = (F) => e.$emit("close"))
8410
8379
  }, {
8411
8380
  default: h(() => [
8412
8381
  A(g(e.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
@@ -8417,7 +8386,7 @@ function cd(e, t, s, n, a, o) {
8417
8386
  color: "primary",
8418
8387
  outline: "",
8419
8388
  radius: "",
8420
- onClick: t[14] || (t[14] = (O) => n.isOpenModal = !1)
8389
+ onClick: t[14] || (t[14] = (F) => n.isOpenModal = !1)
8421
8390
  }, {
8422
8391
  default: h(() => [
8423
8392
  A(g(e.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
@@ -8426,11 +8395,11 @@ function cd(e, t, s, n, a, o) {
8426
8395
  })
8427
8396
  ]),
8428
8397
  _: 1
8429
- })) : C("", !0)
8398
+ })) : I("", !0)
8430
8399
  ]);
8431
8400
  }
8432
- const dd = /* @__PURE__ */ v(Zc, [["render", cd], ["__scopeId", "data-v-db511480"]]);
8433
- const ud = {
8401
+ const cd = /* @__PURE__ */ v(Yc, [["render", rd], ["__scopeId", "data-v-2f204ac3"]]);
8402
+ const dd = {
8434
8403
  components: {
8435
8404
  BIMDataIconChevron: ce,
8436
8405
  BIMDataPaginatedList: Rt,
@@ -8508,8 +8477,8 @@ const ud = {
8508
8477
  this.displayed = !1;
8509
8478
  }
8510
8479
  }
8511
- }, _d = ["direction", "closeOnElementClick"];
8512
- function fd(e, t, s, n, a, o) {
8480
+ }, ud = ["direction", "closeOnElementClick"];
8481
+ function _d(e, t, s, n, a, o) {
8513
8482
  const i = f("BIMDataIconChevron"), c = f("BIMDataButton"), l = f("BIMDataPaginatedList"), d = De("clickaway");
8514
8483
  return W((r(), p("div", {
8515
8484
  class: "bimdata-dropdown-list",
@@ -8518,11 +8487,11 @@ function fd(e, t, s, n, a, o) {
8518
8487
  style: T(o.style)
8519
8488
  }, [
8520
8489
  u("div", {
8521
- class: S(["bimdata-dropdown-list__content", { active: a.displayed, disabled: s.disabled }]),
8490
+ class: O(["bimdata-dropdown-list__content", { active: a.displayed, disabled: s.disabled }]),
8522
8491
  onClick: t[0] || (t[0] = (...m) => o.onHeaderClick && o.onHeaderClick(...m)),
8523
8492
  style: T(o.style)
8524
8493
  }, [
8525
- x(e.$slots, "header", { isOpen: a.displayed }, void 0, !0),
8494
+ k(e.$slots, "header", { isOpen: a.displayed }, void 0, !0),
8526
8495
  _(c, {
8527
8496
  color: "default",
8528
8497
  icon: "",
@@ -8539,14 +8508,14 @@ function fd(e, t, s, n, a, o) {
8539
8508
  ]),
8540
8509
  _: 1
8541
8510
  }),
8542
- x(e.$slots, "contentAfterBtn", { isOpen: a.displayed }, void 0, !0)
8511
+ k(e.$slots, "contentAfterBtn", { isOpen: a.displayed }, void 0, !0)
8543
8512
  ], 6),
8544
8513
  _(oe, {
8545
8514
  name: `slide-fade-${s.transitionName}`
8546
8515
  }, {
8547
8516
  default: h(() => [
8548
8517
  W(_(l, {
8549
- class: S(`submenu submenu--${s.directionClass}`),
8518
+ class: O(`submenu submenu--${s.directionClass}`),
8550
8519
  list: s.list,
8551
8520
  perPage: s.perPage,
8552
8521
  elementKey: s.elementKey,
@@ -8554,7 +8523,7 @@ function fd(e, t, s, n, a, o) {
8554
8523
  loading: s.loading
8555
8524
  }, {
8556
8525
  element: h(({ element: m }) => [
8557
- x(e.$slots, "element", {
8526
+ k(e.$slots, "element", {
8558
8527
  element: m,
8559
8528
  close: o.away,
8560
8529
  isOpen: a.displayed
@@ -8567,12 +8536,12 @@ function fd(e, t, s, n, a, o) {
8567
8536
  ]),
8568
8537
  _: 3
8569
8538
  }, 8, ["name"])
8570
- ], 12, _d)), [
8539
+ ], 12, ud)), [
8571
8540
  [d, o.away]
8572
8541
  ]);
8573
8542
  }
8574
- const pd = /* @__PURE__ */ v(ud, [["render", fd], ["__scopeId", "data-v-f8189f62"]]);
8575
- const hd = {
8543
+ const fd = /* @__PURE__ */ v(dd, [["render", _d], ["__scopeId", "data-v-f8189f62"]]);
8544
+ const pd = {
8576
8545
  components: {
8577
8546
  BIMDataIconUser: Ht
8578
8547
  },
@@ -8597,16 +8566,16 @@ const hd = {
8597
8566
  },
8598
8567
  setup(e) {
8599
8568
  return {
8600
- initials: j(
8569
+ initials: H(
8601
8570
  () => `${e.user.firstname && e.user.firstname[0] || ""}${e.user.lastname && e.user.lastname[0] || ""}`.toUpperCase()
8602
8571
  )
8603
8572
  };
8604
8573
  }
8605
- }, md = ["src"];
8606
- function gd(e, t, s, n, a, o) {
8574
+ }, hd = ["src"];
8575
+ function md(e, t, s, n, a, o) {
8607
8576
  const i = f("BIMDataIconUser");
8608
8577
  return r(), p("div", {
8609
- class: S(["user-avatar", `user-avatar--${s.user.profile_picture ? "silver-light" : s.color}`]),
8578
+ class: O(["user-avatar", `user-avatar--${s.user.profile_picture ? "silver-light" : s.color}`]),
8610
8579
  style: T({
8611
8580
  width: `${s.size}px`,
8612
8581
  height: `${s.size}px`,
@@ -8616,16 +8585,16 @@ function gd(e, t, s, n, a, o) {
8616
8585
  s.user.profile_picture ? (r(), p("img", {
8617
8586
  key: 0,
8618
8587
  src: s.user.profile_picture
8619
- }, null, 8, md)) : n.initials ? (r(), p(z, { key: 1 }, [
8588
+ }, null, 8, hd)) : n.initials ? (r(), p(z, { key: 1 }, [
8620
8589
  A(g(n.initials), 1)
8621
- ], 64)) : (r(), B(i, {
8590
+ ], 64)) : (r(), M(i, {
8622
8591
  key: 2,
8623
8592
  size: "xs"
8624
8593
  }))
8625
8594
  ], 6);
8626
8595
  }
8627
- const Zt = /* @__PURE__ */ v(hd, [["render", gd], ["__scopeId", "data-v-c9a531da"]]);
8628
- const yd = {
8596
+ const Zt = /* @__PURE__ */ v(pd, [["render", md], ["__scopeId", "data-v-c9a531da"]]);
8597
+ const gd = {
8629
8598
  components: {
8630
8599
  BIMDataButton: Z,
8631
8600
  BIMDataIconUser: Ht,
@@ -8638,7 +8607,7 @@ const yd = {
8638
8607
  BIMDataIconCamera: ke,
8639
8608
  BIMDataLoading: Se,
8640
8609
  BIMDataTextarea: lt,
8641
- BIMDataTextbox: Ie,
8610
+ BIMDataTextbox: Ce,
8642
8611
  UserAvatar: Zt
8643
8612
  },
8644
8613
  props: {
@@ -8664,7 +8633,7 @@ const yd = {
8664
8633
  },
8665
8634
  emits: ["comment-updated", "comment-deleted", "view-comment-snapshot"],
8666
8635
  setup(e, { emit: t }) {
8667
- 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 () => {
8636
+ const s = Ct("$viewer", null), n = Ie(), a = $(!1), o = $(!1), i = () => o.value = !1, c = () => o.value = !o.value, l = $(e.comment.comment), d = $(null), m = async () => {
8668
8637
  d.value = await n.fetchTopicCommentViewpoint(
8669
8638
  e.project,
8670
8639
  e.topic,
@@ -8674,18 +8643,18 @@ const yd = {
8674
8643
  y.value = !0, i();
8675
8644
  }, b = () => {
8676
8645
  y.value = !1, l.value = e.comment.comment;
8677
- }, w = async () => {
8646
+ }, B = async () => {
8678
8647
  d.value.guid && await n.deleteViewpoint(e.project, e.topic, d.value), d.value = null;
8679
- }, V = $(!1), M = $([]), N = (I) => {
8680
- 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";
8681
- }, L = (I) => {
8682
- I.$viewer.localContext.el.style.border = "", I.$viewer.localContext.el.style.boxSizing = "", I.$viewer.localContext.el.style.opacity = "";
8683
- }, K = async () => {
8684
- M.value.length === 1 ? await R(M.value[0]) : M.value.length > 1 && (V.value = !0);
8685
- }, R = async ({ viewer: I }) => {
8686
- L(I), V.value = !1, d.value = await I.getViewpoint();
8687
- }, O = async () => {
8688
- var I;
8648
+ }, V = $(!1), x = $([]), N = (w) => {
8649
+ w.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", w.$viewer.localContext.el.style.boxSizing = "border-box", w.$viewer.localContext.el.style.opacity = ".85";
8650
+ }, L = (w) => {
8651
+ w.$viewer.localContext.el.style.border = "", w.$viewer.localContext.el.style.boxSizing = "", w.$viewer.localContext.el.style.opacity = "";
8652
+ }, q = async () => {
8653
+ x.value.length === 1 ? await j(x.value[0]) : x.value.length > 1 && (V.value = !0);
8654
+ }, j = async ({ viewer: w }) => {
8655
+ L(w), V.value = !1, d.value = await w.getViewpoint();
8656
+ }, F = async () => {
8657
+ var w;
8689
8658
  try {
8690
8659
  if (e.comment.comment === l.value && !d.value) {
8691
8660
  y.value = !1;
@@ -8697,19 +8666,19 @@ const yd = {
8697
8666
  d.value
8698
8667
  )), e.comment.comment !== l.value || e.comment.viewpoint_guid !== d.value.guid) {
8699
8668
  a.value = !0;
8700
- const E = await n.updateComment(
8669
+ const S = await n.updateComment(
8701
8670
  e.project,
8702
8671
  e.topic,
8703
8672
  e.comment,
8704
- { comment: l.value, viewpoint_guid: (I = d.value) == null ? void 0 : I.guid }
8673
+ { comment: l.value, viewpoint_guid: (w = d.value) == null ? void 0 : w.guid }
8705
8674
  );
8706
- t("comment-updated", E);
8675
+ t("comment-updated", S);
8707
8676
  }
8708
8677
  y.value = !1;
8709
8678
  } finally {
8710
8679
  a.value = !1;
8711
8680
  }
8712
- }, X = $(!1), q = () => {
8681
+ }, X = $(!1), R = () => {
8713
8682
  X.value = !0, i();
8714
8683
  }, te = async () => {
8715
8684
  try {
@@ -8717,7 +8686,7 @@ const yd = {
8717
8686
  } finally {
8718
8687
  a.value = !1;
8719
8688
  }
8720
- }, Q = (I) => {
8689
+ }, Q = (w) => {
8721
8690
  s ? s.globalContext.modals.pushModal(
8722
8691
  {
8723
8692
  template: '<img :src="viewpoint.snapshot.snapshot_data" />',
@@ -8728,26 +8697,26 @@ const yd = {
8728
8697
  }
8729
8698
  }
8730
8699
  },
8731
- { viewpoint: I }
8732
- ) : t("view-comment-snapshot", I);
8700
+ { viewpoint: w }
8701
+ ) : t("view-comment-snapshot", w);
8733
8702
  };
8734
- let U, k;
8703
+ let ae, C;
8735
8704
  return Ye(async () => {
8736
8705
  if (e.comment.viewpoint_guid && await m(), s) {
8737
- const I = () => {
8738
- var E;
8739
- return Object.entries(((E = e.getViewers) == null ? void 0 : E.call(e)) ?? []).map(
8740
- ([H, Y]) => Y.map((se, ae) => ({ key: `${H}-${ae}`, id: H, index: ae, viewer: se }))
8706
+ const w = () => {
8707
+ var S;
8708
+ return Object.entries(((S = e.getViewers) == null ? void 0 : S.call(e)) ?? []).map(
8709
+ ([U, Y]) => Y.map((K, se) => ({ key: `${U}-${se}`, id: U, index: se, viewer: K }))
8741
8710
  ).flat();
8742
8711
  };
8743
- M.value = I(), U = s.globalContext.hub.on("plugin-created", () => {
8744
- M.value = I();
8745
- }), k = s.globalContext.hub.on("plugin-destroyed", () => {
8746
- M.value = I();
8712
+ x.value = w(), ae = s.globalContext.hub.on("plugin-created", () => {
8713
+ x.value = w();
8714
+ }), C = s.globalContext.hub.on("plugin-destroyed", () => {
8715
+ x.value = w();
8747
8716
  });
8748
8717
  }
8749
8718
  }), wt(() => {
8750
- s && (s.globalContext.hub.off(U), s.globalContext.hub.off(k));
8719
+ s && (s.globalContext.hub.off(ae), s.globalContext.hub.off(C));
8751
8720
  }), {
8752
8721
  // References
8753
8722
  isDeleting: X,
@@ -8756,45 +8725,45 @@ const yd = {
8756
8725
  loading: a,
8757
8726
  showMenu: o,
8758
8727
  text: l,
8759
- viewerSelectOptions: M,
8728
+ viewerSelectOptions: x,
8760
8729
  viewerSelectVisible: V,
8761
8730
  viewpoint: d,
8762
8731
  // Methods
8763
8732
  cancelUpdate: b,
8764
8733
  closeMenu: i,
8765
- createViewpoint: R,
8766
- deleteViewpoint: w,
8734
+ createViewpoint: j,
8735
+ deleteViewpoint: B,
8767
8736
  highlightViewer: N,
8768
- onOpenDelete: q,
8737
+ onOpenDelete: R,
8769
8738
  onOpenEdit: D,
8770
8739
  openCommentSnapshot: Q,
8771
- setCommentViewpoint: K,
8740
+ setCommentViewpoint: q,
8772
8741
  submitDelete: te,
8773
- submitUpdate: O,
8742
+ submitUpdate: F,
8774
8743
  toggleMenu: c,
8775
8744
  loadViewpoint: m,
8776
8745
  unhighlightViewer: L
8777
8746
  };
8778
8747
  }
8779
- }, bd = (e) => (_e("data-v-9b7a38e5"), e = e(), fe(), e), vd = { class: "topic-comment m-t-18" }, Dd = { class: "topic-comment__header flex items-center justify-between" }, Cd = { class: "topic-comment__header__left flex items-center" }, Id = {
8748
+ }, yd = (e) => (_e("data-v-9b7a38e5"), e = e(), fe(), e), bd = { class: "topic-comment m-t-18" }, vd = { class: "topic-comment__header flex items-center justify-between" }, Dd = { class: "topic-comment__header__left flex items-center" }, Id = {
8780
8749
  key: 1,
8781
8750
  class: "topic-comment__header__left__user flex items-center justify-center m-r-12"
8782
- }, wd = /* @__PURE__ */ bd(() => /* @__PURE__ */ u("span", { class: "color-granite m-x-6" }, " • ", -1)), Bd = { class: "color-granite" }, Md = { class: "topic-comment__header__right" }, xd = { class: "topic-comment__header__right__actions flex" }, kd = {
8751
+ }, Cd = /* @__PURE__ */ yd(() => /* @__PURE__ */ u("span", { class: "color-granite m-x-6" }, " • ", -1)), wd = { class: "color-granite" }, Bd = { class: "topic-comment__header__right" }, Md = { class: "topic-comment__header__right__actions flex" }, xd = {
8783
8752
  key: 0,
8784
8753
  class: "topic-comment__header__right__delete p-x-12"
8785
- }, Td = { class: "flex items-center" }, $d = { class: "topic-comment__content" }, Sd = {
8754
+ }, kd = { class: "flex items-center" }, Td = { class: "topic-comment__content" }, $d = {
8786
8755
  key: 0,
8787
8756
  class: "flex"
8788
- }, Od = ["onMouseenter", "onMouseleave"], Vd = {
8757
+ }, Sd = ["onMouseenter", "onMouseleave"], Od = {
8789
8758
  key: 1,
8790
8759
  class: "topic-comment__content__snapshot"
8791
- }, Fd = ["src"];
8792
- function Ed(e, t, s, n, a, o) {
8793
- 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");
8794
- return r(), p("div", vd, [
8795
- u("div", Dd, [
8796
- u("div", Cd, [
8797
- s.comment.user ? (r(), B(i, {
8760
+ }, Vd = ["src"];
8761
+ function Fd(e, t, s, n, a, o) {
8762
+ 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"), B = f("BIMDataIconValidate"), V = f("BIMDataIconEllipsis"), x = f("BIMDataTextarea"), N = f("BIMDataIconCamera"), L = f("BIMDataDropdownList"), q = f("BIMDataLoading");
8763
+ return r(), p("div", bd, [
8764
+ u("div", vd, [
8765
+ u("div", Dd, [
8766
+ s.comment.user ? (r(), M(i, {
8798
8767
  key: 0,
8799
8768
  class: "m-r-12",
8800
8769
  style: { "box-shadow": "var(--box-shadow)" },
@@ -8815,12 +8784,12 @@ function Ed(e, t, s, n, a, o) {
8815
8784
  cutPosition: "end",
8816
8785
  text: s.comment.author
8817
8786
  }, null, 8, ["text"]),
8818
- wd,
8819
- u("span", Bd, g(e.$d(s.comment.date, "long")), 1)
8787
+ Cd,
8788
+ u("span", wd, g(e.$d(s.comment.date, "long")), 1)
8820
8789
  ]),
8821
- u("div", Md, [
8790
+ u("div", Bd, [
8822
8791
  s.currentUserEmail === s.comment.author ? (r(), p(z, { key: 0 }, [
8823
- u("div", xd, [
8792
+ u("div", Md, [
8824
8793
  n.showMenu ? (r(), p(z, { key: 0 }, [
8825
8794
  _(m, {
8826
8795
  ghost: "",
@@ -8867,7 +8836,7 @@ function Ed(e, t, s, n, a, o) {
8867
8836
  ]),
8868
8837
  _: 1
8869
8838
  }, 8, ["onClick"])
8870
- ], 64)) : C("", !0),
8839
+ ], 64)) : I("", !0),
8871
8840
  n.isEditing ? (r(), p(z, { key: 1 }, [
8872
8841
  _(m, {
8873
8842
  ghost: "",
@@ -8891,7 +8860,7 @@ function Ed(e, t, s, n, a, o) {
8891
8860
  onClick: n.submitUpdate
8892
8861
  }, {
8893
8862
  default: h(() => [
8894
- _(w, {
8863
+ _(B, {
8895
8864
  size: "xxs",
8896
8865
  fill: "",
8897
8866
  color: "granite-light"
@@ -8899,11 +8868,11 @@ function Ed(e, t, s, n, a, o) {
8899
8868
  ]),
8900
8869
  _: 1
8901
8870
  }, 8, ["onClick"])
8902
- ], 64)) : C("", !0)
8871
+ ], 64)) : I("", !0)
8903
8872
  ]),
8904
- n.isDeleting ? (r(), p("div", kd, [
8873
+ n.isDeleting ? (r(), p("div", xd, [
8905
8874
  u("span", null, g(e.$t("BcfComponents.BcfTopicComments.deleteCommentText")), 1),
8906
- u("div", Td, [
8875
+ u("div", kd, [
8907
8876
  _(m, {
8908
8877
  class: "m-r-6",
8909
8878
  color: "high",
@@ -8920,7 +8889,7 @@ function Ed(e, t, s, n, a, o) {
8920
8889
  ghost: "",
8921
8890
  rounded: "",
8922
8891
  icon: "",
8923
- onClick: t[0] || (t[0] = (R) => n.isDeleting = !1)
8892
+ onClick: t[0] || (t[0] = (j) => n.isDeleting = !1)
8924
8893
  }, {
8925
8894
  default: h(() => [
8926
8895
  _(D, {
@@ -8932,8 +8901,8 @@ function Ed(e, t, s, n, a, o) {
8932
8901
  _: 1
8933
8902
  })
8934
8903
  ])
8935
- ])) : C("", !0),
8936
- !n.showMenu && !n.isDeleting && !n.isEditing ? (r(), B(m, {
8904
+ ])) : I("", !0),
8905
+ !n.showMenu && !n.isDeleting && !n.isEditing ? (r(), M(m, {
8937
8906
  key: 1,
8938
8907
  class: "topic-comment__header__right__btn",
8939
8908
  rounded: "",
@@ -8948,34 +8917,34 @@ function Ed(e, t, s, n, a, o) {
8948
8917
  })
8949
8918
  ]),
8950
8919
  _: 1
8951
- }, 8, ["onClick"])) : C("", !0)
8952
- ], 64)) : C("", !0)
8920
+ }, 8, ["onClick"])) : I("", !0)
8921
+ ], 64)) : I("", !0)
8953
8922
  ])
8954
8923
  ]),
8955
- u("div", $d, [
8956
- _(M, {
8957
- class: S({ editing: n.isEditing }),
8924
+ u("div", Td, [
8925
+ _(x, {
8926
+ class: O({ editing: n.isEditing }),
8958
8927
  width: "100%",
8959
8928
  rows: "1",
8960
8929
  modelValue: n.text,
8961
- "onUpdate:modelValue": t[1] || (t[1] = (R) => n.text = R),
8930
+ "onUpdate:modelValue": t[1] || (t[1] = (j) => n.text = j),
8962
8931
  fitContent: "",
8963
8932
  autofocus: "",
8964
8933
  resizable: !1,
8965
8934
  readonly: !n.isEditing
8966
8935
  }, null, 8, ["class", "modelValue", "readonly"]),
8967
- n.isViewer && n.isEditing && !n.viewpoint ? (r(), p("div", Sd, [
8968
- n.viewerSelectVisible ? C("", !0) : (r(), p("div", {
8936
+ n.isViewer && n.isEditing && !n.viewpoint ? (r(), p("div", $d, [
8937
+ n.viewerSelectVisible ? I("", !0) : (r(), p("div", {
8969
8938
  key: 0,
8970
8939
  class: "topic-comment__content__camera m-r-12",
8971
- onClick: t[2] || (t[2] = (...R) => n.setCommentViewpoint && n.setCommentViewpoint(...R))
8940
+ onClick: t[2] || (t[2] = (...j) => n.setCommentViewpoint && n.setCommentViewpoint(...j))
8972
8941
  }, [
8973
8942
  _(N, {
8974
8943
  fill: "",
8975
8944
  color: "default"
8976
8945
  })
8977
8946
  ])),
8978
- n.viewerSelectVisible ? (r(), B(L, {
8947
+ n.viewerSelectVisible ? (r(), M(L, {
8979
8948
  key: 1,
8980
8949
  list: n.viewerSelectOptions,
8981
8950
  elementKey: "key",
@@ -8985,22 +8954,22 @@ function Ed(e, t, s, n, a, o) {
8985
8954
  header: h(() => [
8986
8955
  A(g(e.$t("BcfComponents.BcfTopicComments.takeSnapshot")), 1)
8987
8956
  ]),
8988
- element: h(({ element: R }) => [
8957
+ element: h(({ element: j }) => [
8989
8958
  u("div", {
8990
8959
  style: { width: "100%" },
8991
- onMouseenter: (O) => n.highlightViewer(R.viewer),
8992
- onMouseleave: (O) => n.unhighlightViewer(R.viewer)
8993
- }, g(`${R.id} (${R.index})`), 41, Od)
8960
+ onMouseenter: (F) => n.highlightViewer(j.viewer),
8961
+ onMouseleave: (F) => n.unhighlightViewer(j.viewer)
8962
+ }, g(`${j.id} (${j.index})`), 41, Sd)
8994
8963
  ]),
8995
8964
  _: 1
8996
- }, 8, ["list", "onElementClick"])) : C("", !0)
8997
- ])) : C("", !0),
8998
- n.viewpoint && n.viewpoint.snapshot ? (r(), p("div", Vd, [
8965
+ }, 8, ["list", "onElementClick"])) : I("", !0)
8966
+ ])) : I("", !0),
8967
+ n.viewpoint && n.viewpoint.snapshot ? (r(), p("div", Od, [
8999
8968
  u("img", {
9000
8969
  src: n.viewpoint.snapshot.snapshot_data,
9001
- onClick: t[3] || (t[3] = (R) => n.openCommentSnapshot(n.viewpoint))
9002
- }, null, 8, Fd),
9003
- n.isEditing ? (r(), B(m, {
8970
+ onClick: t[3] || (t[3] = (j) => n.openCommentSnapshot(n.viewpoint))
8971
+ }, null, 8, Vd),
8972
+ n.isEditing ? (r(), M(m, {
9004
8973
  key: 0,
9005
8974
  class: "btn-delete",
9006
8975
  fill: "",
@@ -9016,22 +8985,22 @@ function Ed(e, t, s, n, a, o) {
9016
8985
  })
9017
8986
  ]),
9018
8987
  _: 1
9019
- }, 8, ["onClick"])) : C("", !0)
9020
- ])) : C("", !0)
8988
+ }, 8, ["onClick"])) : I("", !0)
8989
+ ])) : I("", !0)
9021
8990
  ]),
9022
- n.loading ? (r(), B(K, { key: 0 })) : C("", !0)
8991
+ n.loading ? (r(), M(q, { key: 0 })) : I("", !0)
9023
8992
  ]);
9024
8993
  }
9025
- const Ld = /* @__PURE__ */ v(yd, [["render", Ed], ["__scopeId", "data-v-9b7a38e5"]]);
9026
- const Pd = {
8994
+ const Ed = /* @__PURE__ */ v(gd, [["render", Fd], ["__scopeId", "data-v-9b7a38e5"]]);
8995
+ const Ld = {
9027
8996
  components: {
9028
8997
  BIMDataButton: Z,
9029
- BIMDataDropdownList: pd,
8998
+ BIMDataDropdownList: fd,
9030
8999
  BIMDataIconDelete: de,
9031
9000
  BIMDataIconCamera: ke,
9032
9001
  BIMDataLoading: Se,
9033
9002
  BIMDataTextarea: lt,
9034
- TopicComment: Ld
9003
+ TopicComment: Ed
9035
9004
  },
9036
9005
  props: {
9037
9006
  project: {
@@ -9056,20 +9025,20 @@ const Pd = {
9056
9025
  },
9057
9026
  emis: ["comment-created", "comment-updated", "comment-deleted", "view-comment-snapshot"],
9058
9027
  setup(e, { emit: t }) {
9059
- const s = Ce(), n = $([]), a = $(!1), o = $(!1), i = $(null), c = $(""), l = $(null), d = async () => {
9028
+ const s = Ie(), n = $([]), a = $(!1), o = $(!1), i = $(null), c = $(""), l = $(null), d = async () => {
9060
9029
  n.value = await s.fetchTopicComments(e.project, e.topic);
9061
- }, m = It("$viewer", null), y = $(!1), D = $([]), b = (q) => {
9062
- 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";
9063
- }, w = (q) => {
9064
- q.$viewer.localContext.el.style.border = "", q.$viewer.localContext.el.style.boxSizing = "", q.$viewer.localContext.el.style.opacity = "";
9030
+ }, m = Ct("$viewer", null), y = $(!1), D = $([]), b = (R) => {
9031
+ R.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", R.$viewer.localContext.el.style.boxSizing = "border-box", R.$viewer.localContext.el.style.opacity = ".85";
9032
+ }, B = (R) => {
9033
+ R.$viewer.localContext.el.style.border = "", R.$viewer.localContext.el.style.boxSizing = "", R.$viewer.localContext.el.style.opacity = "";
9065
9034
  }, V = async () => {
9066
- D.value.length === 1 ? await M(D.value[0]) : D.value.length > 1 && (y.value = !0);
9067
- }, M = async ({ viewer: q }) => {
9068
- w(q), y.value = !1, l.value = await q.getViewpoint();
9035
+ D.value.length === 1 ? await x(D.value[0]) : D.value.length > 1 && (y.value = !0);
9036
+ }, x = async ({ viewer: R }) => {
9037
+ B(R), y.value = !1, l.value = await R.getViewpoint();
9069
9038
  }, N = () => {
9070
9039
  l.value = null;
9071
9040
  }, L = async () => {
9072
- var q;
9041
+ var R;
9073
9042
  try {
9074
9043
  o.value = !0, l.value && (l.value = await s.createViewpoint(
9075
9044
  e.project,
@@ -9078,39 +9047,39 @@ const Pd = {
9078
9047
  ));
9079
9048
  const te = await s.createComment(e.project, e.topic, {
9080
9049
  comment: c.value,
9081
- viewpoint_guid: (q = l.value) == null ? void 0 : q.guid
9050
+ viewpoint_guid: (R = l.value) == null ? void 0 : R.guid
9082
9051
  });
9083
9052
  d(), t("comment-created", te), a.value = !1, c.value = "";
9084
9053
  } finally {
9085
9054
  o.value = !1, l.value = null;
9086
9055
  }
9087
- }, K = (q) => {
9088
- d(), t("comment-updated", q);
9089
- }, R = (q) => {
9090
- d(), t("comment-deleted", q);
9056
+ }, q = (R) => {
9057
+ d(), t("comment-updated", R);
9058
+ }, j = (R) => {
9059
+ d(), t("comment-deleted", R);
9091
9060
  };
9092
9061
  ne(
9093
9062
  () => e.topic,
9094
9063
  () => d(),
9095
9064
  { immediate: !0 }
9096
9065
  ), ne(a, () => setTimeout(() => a.value && i.value.focus(), 50));
9097
- let O, X;
9066
+ let F, X;
9098
9067
  return Ye(() => {
9099
9068
  if (m) {
9100
- const q = () => {
9069
+ const R = () => {
9101
9070
  var te;
9102
9071
  return Object.entries(((te = e.getViewers) == null ? void 0 : te.call(e)) ?? []).map(
9103
- ([Q, U]) => U.map((k, I) => ({ key: `${Q}-${I}`, id: Q, index: I, viewer: k }))
9072
+ ([Q, ae]) => ae.map((C, w) => ({ key: `${Q}-${w}`, id: Q, index: w, viewer: C }))
9104
9073
  ).flat();
9105
9074
  };
9106
- D.value = q(), O = m.globalContext.hub.on("plugin-created", () => {
9107
- D.value = q();
9075
+ D.value = R(), F = m.globalContext.hub.on("plugin-created", () => {
9076
+ D.value = R();
9108
9077
  }), X = m.globalContext.hub.on("plugin-destroyed", () => {
9109
- D.value = q();
9078
+ D.value = R();
9110
9079
  });
9111
9080
  }
9112
9081
  }), wt(() => {
9113
- m && (m.globalContext.hub.off(O), m.globalContext.hub.off(X));
9082
+ m && (m.globalContext.hub.off(F), m.globalContext.hub.off(X));
9114
9083
  }), {
9115
9084
  // References
9116
9085
  comments: n,
@@ -9123,31 +9092,31 @@ const Pd = {
9123
9092
  viewpoint: l,
9124
9093
  isViewer: !!m,
9125
9094
  // Methods
9126
- createViewpoint: M,
9095
+ createViewpoint: x,
9127
9096
  deleteViewpoint: N,
9128
9097
  highlightViewer: b,
9129
9098
  loadComments: d,
9130
- onCommentDeleted: R,
9131
- onCommentUpdated: K,
9099
+ onCommentDeleted: j,
9100
+ onCommentUpdated: q,
9132
9101
  setCommentViewpoint: V,
9133
9102
  submitComment: L,
9134
- unhighlightViewer: w
9103
+ unhighlightViewer: B
9135
9104
  };
9136
9105
  }
9137
- }, Ad = { class: "bcf-topic-comments" }, Nd = {
9106
+ }, Pd = { class: "bcf-topic-comments" }, Ad = {
9138
9107
  key: 1,
9139
9108
  class: "bcf-topic-comments__post-comment m-t-24"
9140
- }, Ud = { class: "color-granite m-b-24" }, Hd = { class: "bcf-comment-input m-t-24" }, zd = {
9109
+ }, Nd = { class: "color-granite m-b-24" }, Ud = { class: "bcf-comment-input m-t-24" }, Hd = {
9141
9110
  key: 0,
9142
9111
  class: "bcf-topic-comments__post-comment__snapshot m-b-12"
9143
- }, jd = ["src"], Rd = { class: "flex items-center justify-between" }, qd = { class: "flex items-center" }, Kd = ["onMouseenter", "onMouseleave"], Yd = { class: "flex items-center justify-end" }, Zd = { class: "bcf-topic-comments__list m-t-18" }, Wd = { class: "color-granite" }, Jd = { key: 0 };
9144
- function Gd(e, t, s, n, a, o) {
9112
+ }, zd = ["src"], jd = { class: "flex items-center justify-between" }, Rd = { class: "flex items-center" }, qd = ["onMouseenter", "onMouseleave"], Kd = { class: "flex items-center justify-end" }, Yd = { class: "bcf-topic-comments__list m-t-18" }, Zd = { class: "color-granite" }, Wd = { key: 0 };
9113
+ function Jd(e, t, s, n, a, o) {
9145
9114
  const i = f("BIMDataButton"), c = f("BIMDataTextarea"), l = f("BIMDataIconDelete"), d = f("BIMDataIconCamera"), m = f("BIMDataDropdownList"), y = f("TopicComment"), D = f("BIMDataLoading");
9146
- return r(), p("div", Ad, [
9115
+ return r(), p("div", Pd, [
9147
9116
  s.uiConfig.commentCreation ? (r(), p(z, { key: 0 }, [
9148
- n.isOpen ? (r(), p("div", Nd, [
9149
- u("p", Ud, g(e.$t("BcfComponents.BcfTopicComments.commentText")), 1),
9150
- u("div", Hd, [
9117
+ n.isOpen ? (r(), p("div", Ad, [
9118
+ u("p", Nd, g(e.$t("BcfComponents.BcfTopicComments.commentText")), 1),
9119
+ u("div", Ud, [
9151
9120
  _(c, {
9152
9121
  ref: "input",
9153
9122
  width: "100%",
@@ -9157,11 +9126,11 @@ function Gd(e, t, s, n, a, o) {
9157
9126
  autofocus: "",
9158
9127
  resizable: ""
9159
9128
  }, null, 8, ["label", "modelValue"]),
9160
- n.viewpoint ? (r(), p("div", zd, [
9129
+ n.viewpoint ? (r(), p("div", Hd, [
9161
9130
  n.viewpoint.snapshot.snapshot_data ? (r(), p("img", {
9162
9131
  key: 0,
9163
9132
  src: n.viewpoint.snapshot.snapshot_data
9164
- }, null, 8, jd)) : C("", !0),
9133
+ }, null, 8, zd)) : I("", !0),
9165
9134
  _(i, {
9166
9135
  class: "btn-delete",
9167
9136
  fill: "",
@@ -9178,9 +9147,9 @@ function Gd(e, t, s, n, a, o) {
9178
9147
  ]),
9179
9148
  _: 1
9180
9149
  }, 8, ["onClick"])
9181
- ])) : C("", !0),
9182
- u("div", Rd, [
9183
- u("div", qd, [
9150
+ ])) : I("", !0),
9151
+ u("div", jd, [
9152
+ u("div", Rd, [
9184
9153
  !n.viewerSelectVisible && n.isViewer ? (r(), p("div", {
9185
9154
  key: 0,
9186
9155
  class: "bcf-topic-comments__post-comment__camera m-r-12",
@@ -9190,8 +9159,8 @@ function Gd(e, t, s, n, a, o) {
9190
9159
  fill: "",
9191
9160
  color: "default"
9192
9161
  })
9193
- ])) : C("", !0),
9194
- n.viewerSelectVisible && n.isViewer ? (r(), B(m, {
9162
+ ])) : I("", !0),
9163
+ n.viewerSelectVisible && n.isViewer ? (r(), M(m, {
9195
9164
  key: 1,
9196
9165
  list: n.viewerSelectOptions,
9197
9166
  elementKey: "key",
@@ -9204,14 +9173,14 @@ function Gd(e, t, s, n, a, o) {
9204
9173
  element: h(({ element: b }) => [
9205
9174
  u("div", {
9206
9175
  style: { width: "100%" },
9207
- onMouseenter: (w) => n.highlightViewer(b.viewer),
9208
- onMouseleave: (w) => n.unhighlightViewer(b.viewer)
9209
- }, g(`${b.id} (${b.index})`), 41, Kd)
9176
+ onMouseenter: (B) => n.highlightViewer(b.viewer),
9177
+ onMouseleave: (B) => n.unhighlightViewer(b.viewer)
9178
+ }, g(`${b.id} (${b.index})`), 41, qd)
9210
9179
  ]),
9211
9180
  _: 1
9212
- }, 8, ["list", "onElementClick"])) : C("", !0)
9181
+ }, 8, ["list", "onElementClick"])) : I("", !0)
9213
9182
  ]),
9214
- u("div", Yd, [
9183
+ u("div", Kd, [
9215
9184
  _(i, {
9216
9185
  color: "primary",
9217
9186
  ghost: "",
@@ -9239,7 +9208,7 @@ function Gd(e, t, s, n, a, o) {
9239
9208
  ])
9240
9209
  ])
9241
9210
  ])
9242
- ])) : (r(), B(i, {
9211
+ ])) : (r(), M(i, {
9243
9212
  key: 0,
9244
9213
  width: "100%",
9245
9214
  color: "primary",
@@ -9252,11 +9221,11 @@ function Gd(e, t, s, n, a, o) {
9252
9221
  ]),
9253
9222
  _: 1
9254
9223
  }))
9255
- ], 64)) : C("", !0),
9256
- u("div", Zd, [
9257
- u("p", Wd, g((n.comments ? n.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
9258
- n.comments && n.comments.length ? (r(), p("div", Jd, [
9259
- (r(!0), p(z, null, J(n.comments, (b) => (r(), B(y, {
9224
+ ], 64)) : I("", !0),
9225
+ u("div", Yd, [
9226
+ u("p", Zd, g((n.comments ? n.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
9227
+ n.comments && n.comments.length ? (r(), p("div", Wd, [
9228
+ (r(!0), p(z, null, J(n.comments, (b) => (r(), M(y, {
9260
9229
  key: b.guid,
9261
9230
  project: s.project,
9262
9231
  topic: s.topic,
@@ -9264,15 +9233,15 @@ function Gd(e, t, s, n, a, o) {
9264
9233
  currentUserEmail: s.currentUserEmail,
9265
9234
  onCommentUpdated: n.onCommentUpdated,
9266
9235
  onCommentDeleted: n.onCommentDeleted,
9267
- onViewCommentSnapshot: t[4] || (t[4] = (w) => e.$emit("view-comment-snapshot", w))
9236
+ onViewCommentSnapshot: t[4] || (t[4] = (B) => e.$emit("view-comment-snapshot", B))
9268
9237
  }, null, 8, ["project", "topic", "comment", "currentUserEmail", "onCommentUpdated", "onCommentDeleted"]))), 128))
9269
- ])) : C("", !0)
9238
+ ])) : I("", !0)
9270
9239
  ]),
9271
- n.loading ? (r(), B(D, { key: 1 })) : C("", !0)
9240
+ n.loading ? (r(), M(D, { key: 1 })) : I("", !0)
9272
9241
  ]);
9273
9242
  }
9274
- const Xd = /* @__PURE__ */ v(Pd, [["render", Gd], ["__scopeId", "data-v-c4415633"]]);
9275
- const Qd = {
9243
+ const Gd = /* @__PURE__ */ v(Ld, [["render", Jd], ["__scopeId", "data-v-c4415633"]]);
9244
+ const Xd = {
9276
9245
  components: {
9277
9246
  BIMDataButton: Z,
9278
9247
  BIMDataIconChevron: ce
@@ -9333,10 +9302,10 @@ const Qd = {
9333
9302
  }
9334
9303
  }
9335
9304
  }
9336
- }, eu = { class: "bimdata-carousel" }, tu = { class: "bimdata-carousel__container" };
9337
- function su(e, t, s, n, a, o) {
9305
+ }, Qd = { class: "bimdata-carousel" }, eu = { class: "bimdata-carousel__container" };
9306
+ function tu(e, t, s, n, a, o) {
9338
9307
  const i = f("BIMDataIconChevron"), c = f("BIMDataButton");
9339
- return r(), p("div", eu, [
9308
+ return r(), p("div", Qd, [
9340
9309
  W(_(c, {
9341
9310
  class: "bimdata-carousel__btn-prev",
9342
9311
  color: "default",
@@ -9355,7 +9324,7 @@ function su(e, t, s, n, a, o) {
9355
9324
  }, 512), [
9356
9325
  [ee, a.index > 0]
9357
9326
  ]),
9358
- u("div", tu, [
9327
+ u("div", eu, [
9359
9328
  u("div", {
9360
9329
  class: "bimdata-carousel__container__slider",
9361
9330
  ref: "slider",
@@ -9363,7 +9332,7 @@ function su(e, t, s, n, a, o) {
9363
9332
  transform: `translateX(-${a.translations[a.index]}px)`
9364
9333
  })
9365
9334
  }, [
9366
- x(e.$slots, "default", {}, void 0, !0)
9335
+ k(e.$slots, "default", {}, void 0, !0)
9367
9336
  ], 4)
9368
9337
  ]),
9369
9338
  W(_(c, {
@@ -9383,7 +9352,7 @@ function su(e, t, s, n, a, o) {
9383
9352
  ])
9384
9353
  ]);
9385
9354
  }
9386
- const nu = /* @__PURE__ */ v(Qd, [["render", su], ["__scopeId", "data-v-7f5cfb86"]]);
9355
+ const su = /* @__PURE__ */ v(Xd, [["render", tu], ["__scopeId", "data-v-7f5cfb86"]]);
9387
9356
  const bt = {
9388
9357
  xxxs: 10,
9389
9358
  xxs: 13,
@@ -9394,7 +9363,7 @@ const bt = {
9394
9363
  xl: 36,
9395
9364
  xxl: 45,
9396
9365
  xxxl: 60
9397
- }, ou = {
9366
+ }, nu = {
9398
9367
  name: "BIMDataIcon",
9399
9368
  props: {
9400
9369
  name: {
@@ -9469,21 +9438,21 @@ const bt = {
9469
9438
  }
9470
9439
  }
9471
9440
  };
9472
- function iu(e, t, s, n, a, o) {
9473
- return r(), B(Me(`BIMDataIcon${o.capitalized(s.name)}`), {
9441
+ function ou(e, t, s, n, a, o) {
9442
+ return r(), M(Me(`BIMDataIcon${o.capitalized(s.name)}`), {
9474
9443
  fill: s.fill,
9475
9444
  fillColor: s.fillColor,
9476
9445
  color: s.color,
9477
- class: S(o.classes),
9446
+ class: O(o.classes),
9478
9447
  style: T(o.style)
9479
9448
  }, null, 8, ["fill", "fillColor", "color", "class", "style"]);
9480
9449
  }
9481
- const au = /* @__PURE__ */ v(ou, [["render", iu], ["__scopeId", "data-v-a53c2882"]]);
9482
- const lu = {
9450
+ const iu = /* @__PURE__ */ v(nu, [["render", ou], ["__scopeId", "data-v-a53c2882"]]);
9451
+ const au = {
9483
9452
  components: {
9484
9453
  BcfTopicDefaultImage: st,
9485
- BIMDataCarousel: nu,
9486
- BIMDataIcon: au,
9454
+ BIMDataCarousel: su,
9455
+ BIMDataIcon: iu,
9487
9456
  BIMDataIconInformation: Nt
9488
9457
  },
9489
9458
  props: {
@@ -9498,7 +9467,7 @@ const lu = {
9498
9467
  },
9499
9468
  emits: ["view-topic-viewpoint"],
9500
9469
  setup(e) {
9501
- const t = j(
9470
+ const t = H(
9502
9471
  () => (e.topic.viewpoints ?? []).filter((n) => n.snapshot).map((n) => {
9503
9472
  var a;
9504
9473
  return {
@@ -9509,17 +9478,17 @@ const lu = {
9509
9478
  );
9510
9479
  return {
9511
9480
  // References
9512
- statusColor: j(() => Ge(e.topic, e.detailedExtensions)),
9481
+ statusColor: H(() => Ge(e.topic, e.detailedExtensions)),
9513
9482
  viewpoints: t,
9514
9483
  // Methods
9515
9484
  adjustTextColor: xe
9516
9485
  };
9517
9486
  }
9518
- }, ru = ["src", "onClick"];
9519
- function cu(e, t, s, n, a, o) {
9487
+ }, lu = ["src", "onClick"];
9488
+ function ru(e, t, s, n, a, o) {
9520
9489
  const i = f("BIMDataIconInformation"), c = f("BIMDataIcon"), l = f("BIMDataCarousel"), d = f("BcfTopicDefaultImage");
9521
9490
  return r(), p("div", {
9522
- class: S(["bcf-topic-viewpoints", { empty: n.viewpoints.length === 0 }])
9491
+ class: O(["bcf-topic-viewpoints", { empty: n.viewpoints.length === 0 }])
9523
9492
  }, [
9524
9493
  s.topic.topic_status ? (r(), p("div", {
9525
9494
  key: 0,
@@ -9534,8 +9503,8 @@ function cu(e, t, s, n, a, o) {
9534
9503
  color: "default"
9535
9504
  }),
9536
9505
  u("span", null, g(s.topic.topic_status), 1)
9537
- ], 4)) : C("", !0),
9538
- n.viewpoints.length > 0 ? (r(), B(l, {
9506
+ ], 4)) : I("", !0),
9507
+ n.viewpoints.length > 0 ? (r(), M(l, {
9539
9508
  key: 1,
9540
9509
  sliderPadding: 0
9541
9510
  }, {
@@ -9548,28 +9517,28 @@ function cu(e, t, s, n, a, o) {
9548
9517
  key: 0,
9549
9518
  src: m.snapshot.snapshot_data,
9550
9519
  onClick: (y) => e.$emit("view-topic-viewpoint", m)
9551
- }, null, 8, ru)) : C("", !0),
9552
- m.icon ? (r(), B(c, {
9520
+ }, null, 8, lu)) : I("", !0),
9521
+ m.icon ? (r(), M(c, {
9553
9522
  key: 1,
9554
9523
  class: "icon",
9555
9524
  name: m.icon,
9556
9525
  size: "xl"
9557
- }, null, 8, ["name"])) : C("", !0)
9526
+ }, null, 8, ["name"])) : I("", !0)
9558
9527
  ]))), 128))
9559
9528
  ]),
9560
9529
  _: 1
9561
- })) : (r(), B(d, {
9530
+ })) : (r(), M(d, {
9562
9531
  key: 2,
9563
9532
  class: "default-image"
9564
9533
  }))
9565
9534
  ], 2);
9566
9535
  }
9567
- const du = /* @__PURE__ */ v(lu, [["render", cu], ["__scopeId", "data-v-fc19874c"]]);
9568
- const uu = {
9536
+ const cu = /* @__PURE__ */ v(au, [["render", ru], ["__scopeId", "data-v-fc19874c"]]);
9537
+ const du = {
9569
9538
  components: {
9570
- BcfTopicComments: Xd,
9539
+ BcfTopicComments: Gd,
9571
9540
  BcfTopicDefaultImage: st,
9572
- BcfTopicViewpoints: du,
9541
+ BcfTopicViewpoints: cu,
9573
9542
  BIMDataButton: Z,
9574
9543
  BIMDataIconArrow: Qe,
9575
9544
  BIMDataIconEdit: At,
@@ -9578,7 +9547,7 @@ const uu = {
9578
9547
  BIMDataIconModel3D: Ut,
9579
9548
  BIMDataLoading: Se,
9580
9549
  BIMDataSafeZoneModal: qt,
9581
- BIMDataTextbox: Ie
9550
+ BIMDataTextbox: Ce
9582
9551
  },
9583
9552
  props: {
9584
9553
  uiConfig: {
@@ -9623,10 +9592,10 @@ const uu = {
9623
9592
  "view-topic-viewpoint"
9624
9593
  ],
9625
9594
  setup(e, { emit: t }) {
9626
- const s = Ce(), n = $(!1), a = $(!1), o = j(() => me(e.topic, e.detailedExtensions)), i = j(() => {
9595
+ const s = Ie(), n = $(!1), a = $(!1), o = H(() => me(e.topic, e.detailedExtensions)), i = H(() => {
9627
9596
  var y, D, b;
9628
9597
  return ((b = (D = (y = e.topic.viewpoints) == null ? void 0 : y[0]) == null ? void 0 : D.components) == null ? void 0 : b.selection) ?? [];
9629
- }), c = j(() => Array.from(e.topic.labels ?? []).sort()), l = $(""), d = async () => {
9598
+ }), c = H(() => Array.from(e.topic.labels ?? []).sort()), l = $(""), d = async () => {
9630
9599
  l.value = (await s.fetchCurrentUser()).email ?? "";
9631
9600
  }, m = async () => {
9632
9601
  try {
@@ -9650,18 +9619,18 @@ const uu = {
9650
9619
  deleteTopic: m
9651
9620
  };
9652
9621
  }
9653
- }, _u = { class: "bcf-topic-overview" }, fu = { class: "bcf-topic-overview__header" }, pu = { class: "bcf-topic-overview__header__title" }, hu = { class: "bcf-topic-overview__header__actions" }, mu = { class: "bcf-topic-overview__content" }, gu = { class: "bcf-topic-overview__content__head" }, yu = { class: "bcf-topic-overview__content__head__date" }, bu = { class: "bcf-topic-overview__content__card" }, vu = {
9622
+ }, uu = { class: "bcf-topic-overview" }, _u = { class: "bcf-topic-overview__header" }, fu = { class: "bcf-topic-overview__header__title" }, pu = { class: "bcf-topic-overview__header__actions" }, hu = { class: "bcf-topic-overview__content" }, mu = { class: "bcf-topic-overview__content__head" }, gu = { class: "bcf-topic-overview__content__head__date" }, yu = { class: "bcf-topic-overview__content__card" }, bu = {
9654
9623
  key: 0,
9655
9624
  class: "title"
9656
- }, Du = { class: "line" }, Cu = { class: "label" }, Iu = { class: "value" }, wu = { class: "line" }, Bu = { class: "label" }, Mu = {
9625
+ }, vu = { class: "line" }, Du = { class: "label" }, Iu = { class: "value" }, Cu = { class: "line" }, wu = { class: "label" }, Bu = {
9657
9626
  class: "value",
9658
9627
  style: { "white-space": "pre-line" }
9659
- }, 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 };
9660
- function Ju(e, t, s, n, a, o) {
9661
- 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");
9662
- return r(), p("div", _u, [
9663
- u("div", fu, [
9664
- s.uiConfig.backButton ? (r(), B(c, {
9628
+ }, Mu = { class: "line" }, xu = { class: "label" }, ku = { class: "value" }, Tu = { class: "line" }, $u = { class: "label" }, Su = { class: "value" }, Ou = { class: "bcf-topic-overview__content__card" }, Vu = { class: "title" }, Fu = { class: "line" }, Eu = { class: "label" }, Lu = { class: "value" }, Pu = { class: "line" }, Au = { class: "label" }, Nu = { class: "value" }, Uu = { class: "line" }, Hu = { class: "label" }, zu = { class: "line" }, ju = { class: "label" }, Ru = { class: "value" }, qu = { class: "line m-t-12" }, Ku = { class: "label" }, Yu = { class: "value" }, Zu = { key: 1 };
9629
+ function Wu(e, t, s, n, a, o) {
9630
+ 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"), B = f("BIMDataIconBcf"), V = f("BcfTopicComments"), x = f("BIMDataSafeZoneModal"), N = f("BIMDataLoading");
9631
+ return r(), p("div", uu, [
9632
+ u("div", _u, [
9633
+ s.uiConfig.backButton ? (r(), M(c, {
9665
9634
  key: 0,
9666
9635
  ghost: "",
9667
9636
  rounded: "",
@@ -9676,15 +9645,15 @@ function Ju(e, t, s, n, a, o) {
9676
9645
  })
9677
9646
  ]),
9678
9647
  _: 1
9679
- })) : C("", !0),
9680
- u("div", pu, [
9648
+ })) : I("", !0),
9649
+ u("div", fu, [
9681
9650
  _(l, {
9682
9651
  maxWidth: "250px",
9683
9652
  text: s.topic.title
9684
9653
  }, null, 8, ["text"])
9685
9654
  ]),
9686
- u("div", hu, [
9687
- s.uiConfig.editButton ? (r(), B(c, {
9655
+ u("div", pu, [
9656
+ s.uiConfig.editButton ? (r(), M(c, {
9688
9657
  key: 0,
9689
9658
  ghost: "",
9690
9659
  rounded: "",
@@ -9695,8 +9664,8 @@ function Ju(e, t, s, n, a, o) {
9695
9664
  _(d, { size: "xxs" })
9696
9665
  ]),
9697
9666
  _: 1
9698
- })) : C("", !0),
9699
- s.uiConfig.deleteButton ? (r(), B(c, {
9667
+ })) : I("", !0),
9668
+ s.uiConfig.deleteButton ? (r(), M(c, {
9700
9669
  key: 1,
9701
9670
  ghost: "",
9702
9671
  rounded: "",
@@ -9707,8 +9676,8 @@ function Ju(e, t, s, n, a, o) {
9707
9676
  _(m, { size: "xxs" })
9708
9677
  ]),
9709
9678
  _: 1
9710
- })) : C("", !0),
9711
- s.uiConfig.closeButton ? (r(), B(c, {
9679
+ })) : I("", !0),
9680
+ s.uiConfig.closeButton ? (r(), M(c, {
9712
9681
  key: 2,
9713
9682
  ghost: "",
9714
9683
  rounded: "",
@@ -9723,11 +9692,11 @@ function Ju(e, t, s, n, a, o) {
9723
9692
  })
9724
9693
  ]),
9725
9694
  _: 1
9726
- })) : C("", !0)
9695
+ })) : I("", !0)
9727
9696
  ])
9728
9697
  ]),
9729
- u("div", mu, [
9730
- u("div", gu, [
9698
+ u("div", hu, [
9699
+ u("div", mu, [
9731
9700
  u("div", {
9732
9701
  class: "bcf-topic-overview__content__head__index",
9733
9702
  style: T({
@@ -9735,14 +9704,14 @@ function Ju(e, t, s, n, a, o) {
9735
9704
  color: n.adjustTextColor(`#${n.priorityColor}`, "#FFF", "#2F374A")
9736
9705
  })
9737
9706
  }, g(s.topic.index), 5),
9738
- u("div", yu, g(e.$d(s.topic.creation_date, "short")), 1)
9707
+ u("div", gu, g(e.$d(s.topic.creation_date, "short")), 1)
9739
9708
  ]),
9740
9709
  _(D, {
9741
9710
  detailedExtensions: s.detailedExtensions,
9742
9711
  topic: s.topic,
9743
9712
  onViewTopicViewpoint: t[4] || (t[4] = (L) => e.$emit("view-topic-viewpoint", L))
9744
9713
  }, null, 8, ["detailedExtensions", "topic"]),
9745
- s.uiConfig.viewerMode ? (r(), B(c, {
9714
+ s.uiConfig.viewerMode ? (r(), M(c, {
9746
9715
  key: 0,
9747
9716
  width: "100%",
9748
9717
  fill: "",
@@ -9762,7 +9731,7 @@ function Ju(e, t, s, n, a, o) {
9762
9731
  ], 64))
9763
9732
  ]),
9764
9733
  _: 1
9765
- }, 8, ["disabled"])) : (r(), B(c, {
9734
+ }, 8, ["disabled"])) : (r(), M(c, {
9766
9735
  key: 1,
9767
9736
  width: "100%",
9768
9737
  color: "primary",
@@ -9775,55 +9744,55 @@ function Ju(e, t, s, n, a, o) {
9775
9744
  ]),
9776
9745
  _: 1
9777
9746
  })),
9778
- u("div", bu, [
9779
- s.uiConfig.viewerMode ? C("", !0) : (r(), p("div", vu, [
9747
+ u("div", yu, [
9748
+ s.uiConfig.viewerMode ? I("", !0) : (r(), p("div", bu, [
9780
9749
  _(b, { size: "xs" }),
9781
9750
  u("span", null, g(e.$t("BcfComponents.BcfTopicOverview.elements", { count: n.topicObjects.length })), 1)
9782
9751
  ])),
9783
- u("div", Du, [
9784
- u("span", Cu, g(e.$t("BcfComponents.BcfTopicOverview.type")), 1),
9752
+ u("div", vu, [
9753
+ u("span", Du, g(e.$t("BcfComponents.BcfTopicOverview.type")), 1),
9785
9754
  u("span", Iu, g(s.topic.topic_type ? s.topic.topic_type : e.$t("BcfComponents.BcfTopicOverview.noTypeSpecified")), 1)
9786
9755
  ]),
9787
- u("div", wu, [
9788
- u("span", Bu, g(e.$t("BcfComponents.BcfTopicOverview.description")), 1),
9789
- u("span", Mu, g(s.topic.description ? s.topic.description : e.$t("BcfComponents.BcfTopicOverview.noDescriptionProvided")), 1)
9756
+ u("div", Cu, [
9757
+ u("span", wu, g(e.$t("BcfComponents.BcfTopicOverview.description")), 1),
9758
+ u("span", Bu, g(s.topic.description ? s.topic.description : e.$t("BcfComponents.BcfTopicOverview.noDescriptionProvided")), 1)
9790
9759
  ]),
9791
- u("div", xu, [
9792
- u("span", ku, g(e.$t("BcfComponents.BcfTopicOverview.assignedTo")), 1),
9793
- u("span", Tu, g(s.topic.assigned_to ? s.topic.assigned_to : e.$t("BcfComponents.BcfTopicOverview.notAssigned")), 1)
9760
+ u("div", Mu, [
9761
+ u("span", xu, g(e.$t("BcfComponents.BcfTopicOverview.assignedTo")), 1),
9762
+ u("span", ku, g(s.topic.assigned_to ? s.topic.assigned_to : e.$t("BcfComponents.BcfTopicOverview.notAssigned")), 1)
9794
9763
  ]),
9795
- u("div", $u, [
9796
- u("span", Su, g(e.$t("BcfComponents.BcfTopicOverview.dueDate")), 1),
9797
- u("span", Ou, g(s.topic.due_date ? e.$d(s.topic.due_date, "short") : e.$t("BcfComponents.BcfTopicOverview.noDueDate")), 1)
9764
+ u("div", Tu, [
9765
+ u("span", $u, g(e.$t("BcfComponents.BcfTopicOverview.dueDate")), 1),
9766
+ u("span", Su, g(s.topic.due_date ? e.$d(s.topic.due_date, "short") : e.$t("BcfComponents.BcfTopicOverview.noDueDate")), 1)
9798
9767
  ])
9799
9768
  ]),
9800
- u("div", Vu, [
9801
- u("div", Fu, [
9802
- _(w),
9769
+ u("div", Ou, [
9770
+ u("div", Vu, [
9771
+ _(B),
9803
9772
  u("span", null, g(e.$t("BcfComponents.BcfTopicOverview.informations")), 1)
9804
9773
  ]),
9805
- u("div", Eu, [
9806
- u("span", Lu, g(e.$t("BcfComponents.BcfTopicOverview.status")), 1),
9807
- u("span", Pu, g(s.topic.topic_status || e.$t("BcfComponents.BcfTopicOverview.noStatusSpecified")), 1)
9774
+ u("div", Fu, [
9775
+ u("span", Eu, g(e.$t("BcfComponents.BcfTopicOverview.status")), 1),
9776
+ u("span", Lu, g(s.topic.topic_status || e.$t("BcfComponents.BcfTopicOverview.noStatusSpecified")), 1)
9808
9777
  ]),
9809
- u("div", Au, [
9810
- u("span", Nu, g(e.$t("BcfComponents.BcfTopicOverview.stage")), 1),
9811
- u("span", Uu, g(s.topic.stage || e.$t("BcfComponents.BcfTopicOverview.noStageProvided")), 1)
9778
+ u("div", Pu, [
9779
+ u("span", Au, g(e.$t("BcfComponents.BcfTopicOverview.stage")), 1),
9780
+ u("span", Nu, g(s.topic.stage || e.$t("BcfComponents.BcfTopicOverview.noStageProvided")), 1)
9812
9781
  ]),
9813
- u("div", Hu, [
9814
- u("span", zu, g(e.$t("BcfComponents.BcfTopicOverview.priority")), 1),
9782
+ u("div", Uu, [
9783
+ u("span", Hu, g(e.$t("BcfComponents.BcfTopicOverview.priority")), 1),
9815
9784
  u("span", {
9816
9785
  class: "value",
9817
9786
  style: T({ color: `#${n.priorityColor}` })
9818
9787
  }, g(s.topic.priority || e.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 5)
9819
9788
  ]),
9820
- u("div", ju, [
9821
- u("span", Ru, g(e.$t("BcfComponents.BcfTopicOverview.author")), 1),
9822
- u("span", qu, g(s.topic.creation_author), 1)
9789
+ u("div", zu, [
9790
+ u("span", ju, g(e.$t("BcfComponents.BcfTopicOverview.author")), 1),
9791
+ u("span", Ru, g(s.topic.creation_author), 1)
9823
9792
  ]),
9824
- u("div", Ku, [
9825
- u("span", Yu, g(e.$t("BcfComponents.BcfTopicOverview.tags")), 1),
9826
- u("span", Zu, g(n.topicLabels.length ? n.topicLabels.join(", ") : e.$t("BcfComponents.BcfTopicOverview.noTags")), 1)
9793
+ u("div", qu, [
9794
+ u("span", Ku, g(e.$t("BcfComponents.BcfTopicOverview.tags")), 1),
9795
+ u("span", Yu, g(n.topicLabels.length ? n.topicLabels.join(", ") : e.$t("BcfComponents.BcfTopicOverview.noTags")), 1)
9827
9796
  ])
9828
9797
  ]),
9829
9798
  _(V, {
@@ -9838,7 +9807,7 @@ function Ju(e, t, s, n, a, o) {
9838
9807
  onViewCommentSnapshot: t[10] || (t[10] = (L) => e.$emit("view-comment-snapshot", L))
9839
9808
  }, null, 8, ["uiConfig", "project", "topic", "currentUserEmail", "getViewers"])
9840
9809
  ]),
9841
- n.showDeleteModal ? (r(), B(M, {
9810
+ n.showDeleteModal ? (r(), M(x, {
9842
9811
  key: 0,
9843
9812
  class: "delete-modal"
9844
9813
  }, {
@@ -9871,13 +9840,13 @@ function Ju(e, t, s, n, a, o) {
9871
9840
  })
9872
9841
  ]),
9873
9842
  _: 1
9874
- })) : C("", !0),
9875
- n.loading ? (r(), p("div", Wu, [
9843
+ })) : I("", !0),
9844
+ n.loading ? (r(), p("div", Zu, [
9876
9845
  _(N)
9877
- ])) : C("", !0)
9846
+ ])) : I("", !0)
9878
9847
  ]);
9879
9848
  }
9880
- const Gu = /* @__PURE__ */ v(uu, [["render", Ju], ["__scopeId", "data-v-3b5dc746"]]), vt = [
9849
+ const Ju = /* @__PURE__ */ v(du, [["render", Wu], ["__scopeId", "data-v-3b5dc746"]]), vt = [
9881
9850
  {
9882
9851
  id: "index",
9883
9852
  label: "#",
@@ -9915,7 +9884,7 @@ const Gu = /* @__PURE__ */ v(uu, [["render", Ju], ["__scopeId", "data-v-3b5dc746
9915
9884
  align: "center"
9916
9885
  }
9917
9886
  ];
9918
- function Xu(e, t, {
9887
+ function Gu(e, t, {
9919
9888
  rowSelectionUpdateEffect: s = () => {
9920
9889
  },
9921
9890
  rowSelectionToggleEffect: n = () => {
@@ -9955,7 +9924,7 @@ function Xu(e, t, {
9955
9924
  }
9956
9925
  };
9957
9926
  }
9958
- const Qu = {
9927
+ const Xu = {
9959
9928
  components: {
9960
9929
  BIMDataButton: Z,
9961
9930
  BIMDataCheckbox: zt,
@@ -10020,24 +9989,24 @@ const Qu = {
10020
9989
  "row-drop"
10021
9990
  ],
10022
9991
  setup(e, { emit: t }) {
10023
- const s = j(
10024
- () => e.rows.map((M, N) => ({ key: M[e.rowKey] ?? N, data: M }))
10025
- ), { rowSelection: n, toggleRowSelection: a, toggleFullSelection: o } = Xu(
9992
+ const s = H(
9993
+ () => e.rows.map((x, N) => ({ key: x[e.rowKey] ?? N, data: x }))
9994
+ ), { rowSelection: n, toggleRowSelection: a, toggleFullSelection: o } = Gu(
10026
9995
  s,
10027
- j(() => e.selection),
9996
+ H(() => e.selection),
10028
9997
  {
10029
- rowSelectionUpdateEffect: (M) => {
10030
- t("update:selection", M), t("selection-changed", Array.from(M.values()));
9998
+ rowSelectionUpdateEffect: (x) => {
9999
+ t("update:selection", x), t("selection-changed", Array.from(x.values()));
10031
10000
  },
10032
- rowSelectionToggleEffect: (M, { data: N }) => {
10033
- t(M ? "row-selected" : "row-deselected", N);
10001
+ rowSelectionToggleEffect: (x, { data: N }) => {
10002
+ t(x ? "row-selected" : "row-deselected", N);
10034
10003
  },
10035
- fullSelectionToggleEffect: (M) => {
10036
- t(M ? "all-selected" : "all-deselected");
10004
+ fullSelectionToggleEffect: (x) => {
10005
+ t(x ? "all-selected" : "all-deselected");
10037
10006
  }
10038
10007
  }
10039
- ), i = (M) => {
10040
- e.selectable && a(M);
10008
+ ), i = (x) => {
10009
+ e.selectable && a(x);
10041
10010
  }, c = () => {
10042
10011
  e.selectable && o();
10043
10012
  }, l = $([]), d = $(0), m = $(1), y = $(e.perPage);
@@ -10049,18 +10018,18 @@ const Qu = {
10049
10018
  { immediate: !0 }
10050
10019
  ), ne(
10051
10020
  [s, () => e.paginated, () => e.perPage, d],
10052
- ([M, N, L, K]) => {
10053
- const R = M.map((O) => O.key);
10021
+ ([x, N, L, q]) => {
10022
+ const j = x.map((F) => F.key);
10054
10023
  if (N) {
10055
- const O = L * K, X = O + L;
10056
- l.value = R.slice(O, X), m.value = O + 1, y.value = Math.min(X, M.length);
10024
+ const F = L * q, X = F + L;
10025
+ l.value = j.slice(F, X), m.value = F + 1, y.value = Math.min(X, x.length);
10057
10026
  } else
10058
- l.value = R;
10027
+ l.value = j;
10059
10028
  },
10060
10029
  { immediate: !0 }
10061
10030
  );
10062
- const D = (M, N) => {
10063
- e.canDragOverRow(M) && (t("row-drop", { data: M, event: N }), b.value = null);
10031
+ const D = (x, N) => {
10032
+ e.canDragOverRow(x) && (t("row-drop", { data: x, event: N }), b.value = null);
10064
10033
  }, b = $(null);
10065
10034
  return {
10066
10035
  // References
@@ -10073,8 +10042,8 @@ const Qu = {
10073
10042
  dragOveredRowKey: b,
10074
10043
  // Methods
10075
10044
  onDrop: D,
10076
- onDragover: (M, N, L) => {
10077
- e.canDragOverRow(N) && (L.preventDefault(), b.value = M);
10045
+ onDragover: (x, N, L) => {
10046
+ e.canDragOverRow(N) && (L.preventDefault(), b.value = x);
10078
10047
  },
10079
10048
  onDragleave: () => {
10080
10049
  b.value = null;
@@ -10083,16 +10052,16 @@ const Qu = {
10083
10052
  toggleRow: i
10084
10053
  };
10085
10054
  }
10086
- }, e_ = { class: "bimdata-table" }, t_ = {
10055
+ }, Qu = { class: "bimdata-table" }, e_ = {
10087
10056
  key: 0,
10088
10057
  class: "cell-checkbox"
10089
- }, s_ = { key: "head-row-1" }, n_ = ["colspan"], o_ = ["onDrop", "onDragover"], i_ = {
10058
+ }, t_ = { key: "head-row-1" }, s_ = ["colspan"], n_ = ["onDrop", "onDragover"], o_ = {
10090
10059
  key: 0,
10091
10060
  class: "cell-checkbox"
10092
- }, a_ = { class: "bimdata-table__page-nav__text" };
10093
- function l_(e, t, s, n, a, o) {
10061
+ }, i_ = { class: "bimdata-table__page-nav__text" };
10062
+ function a_(e, t, s, n, a, o) {
10094
10063
  const i = f("BIMDataCheckbox"), c = f("BIMDataIconChevron"), l = f("BIMDataButton");
10095
- return r(), p("div", e_, [
10064
+ return r(), p("div", Qu, [
10096
10065
  u("div", {
10097
10066
  class: "bimdata-table__container",
10098
10067
  style: T({
@@ -10107,13 +10076,13 @@ function l_(e, t, s, n, a, o) {
10107
10076
  key: "head-row-0",
10108
10077
  style: T({ height: `${s.rowHeight}px` })
10109
10078
  }, [
10110
- s.selectable ? (r(), p("th", t_, [
10079
+ s.selectable ? (r(), p("th", e_, [
10111
10080
  _(i, {
10112
10081
  disabled: s.rows.length === 0,
10113
10082
  modelValue: s.rows.length > 0 && n.rowSelection.size === s.rows.length,
10114
10083
  "onUpdate:modelValue": n.toggleAll
10115
10084
  }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])
10116
- ])) : C("", !0),
10085
+ ])) : I("", !0),
10117
10086
  (r(!0), p(z, null, J(s.columns, (d, m) => (r(), p("th", {
10118
10087
  key: `head-row-0-col-${m}`,
10119
10088
  style: T({
@@ -10122,13 +10091,13 @@ function l_(e, t, s, n, a, o) {
10122
10091
  })
10123
10092
  }, g(d.id ? d.label || d.id : d), 5))), 128))
10124
10093
  ], 4),
10125
- u("tr", s_, [
10094
+ u("tr", t_, [
10126
10095
  u("th", {
10127
10096
  class: "cell-sub-header",
10128
10097
  colspan: s.columns.length + s.selectable
10129
10098
  }, [
10130
- x(e.$slots, "sub-header", {}, void 0, !0)
10131
- ], 8, n_)
10099
+ k(e.$slots, "sub-header", {}, void 0, !0)
10100
+ ], 8, s_)
10132
10101
  ])
10133
10102
  ]),
10134
10103
  u("tbody", {
@@ -10139,16 +10108,16 @@ function l_(e, t, s, n, a, o) {
10139
10108
  style: T({ height: `${s.rowHeight}px` }),
10140
10109
  onDrop: (y) => n.onDrop(m, y),
10141
10110
  onDragover: (y) => n.onDragover(d, m, y),
10142
- class: S({
10111
+ class: O({
10143
10112
  "bimdata-table__row--drag-overed": n.dragOveredRowKey === d
10144
10113
  })
10145
10114
  }, [
10146
- s.selectable ? (r(), p("td", i_, [
10115
+ s.selectable ? (r(), p("td", o_, [
10147
10116
  _(i, {
10148
10117
  modelValue: n.rowSelection.has(d),
10149
10118
  "onUpdate:modelValue": (y) => n.toggleRow({ key: d, data: m })
10150
10119
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
10151
- ])) : C("", !0),
10120
+ ])) : I("", !0),
10152
10121
  (r(!0), p(z, null, J(s.columns, (y, D) => (r(), p("td", {
10153
10122
  key: `body-row-${d}-col-${D}`,
10154
10123
  style: T({
@@ -10156,11 +10125,11 @@ function l_(e, t, s, n, a, o) {
10156
10125
  textAlign: y.align || "left"
10157
10126
  })
10158
10127
  }, [
10159
- x(e.$slots, `cell-${y.id}`, { row: m }, () => [
10128
+ k(e.$slots, `cell-${y.id}`, { row: m }, () => [
10160
10129
  A(g(m[y.id] || m[D]), 1)
10161
10130
  ], !0)
10162
10131
  ], 4))), 128))
10163
- ], 46, o_)), [
10132
+ ], 46, n_)), [
10164
10133
  [ee, n.displayedRows.includes(d)]
10165
10134
  ])), 128))
10166
10135
  ], 32)
@@ -10172,10 +10141,10 @@ function l_(e, t, s, n, a, o) {
10172
10141
  height: `calc(100% - ${s.rowHeight}px)`
10173
10142
  })
10174
10143
  }, [
10175
- x(e.$slots, "placeholder", {}, () => [
10144
+ k(e.$slots, "placeholder", {}, () => [
10176
10145
  A(g(s.placeholder), 1)
10177
10146
  ], !0)
10178
- ], 4)) : C("", !0)
10147
+ ], 4)) : I("", !0)
10179
10148
  ], 4),
10180
10149
  s.paginated ? (r(), p("div", {
10181
10150
  key: 0,
@@ -10197,7 +10166,7 @@ function l_(e, t, s, n, a, o) {
10197
10166
  ]),
10198
10167
  _: 1
10199
10168
  }, 8, ["disabled"]),
10200
- u("span", a_, g(`${n.pageIndexStart} - ${n.pageIndexEnd} / ${s.rows.length}`), 1),
10169
+ u("span", i_, g(`${n.pageIndexStart} - ${n.pageIndexEnd} / ${s.rows.length}`), 1),
10201
10170
  _(l, {
10202
10171
  ghost: "",
10203
10172
  rounded: "",
@@ -10210,11 +10179,11 @@ function l_(e, t, s, n, a, o) {
10210
10179
  ]),
10211
10180
  _: 1
10212
10181
  }, 8, ["disabled"])
10213
- ], 4)) : C("", !0)
10182
+ ], 4)) : I("", !0)
10214
10183
  ]);
10215
10184
  }
10216
- const r_ = /* @__PURE__ */ v(Qu, [["render", l_], ["__scopeId", "data-v-4fef3626"]]);
10217
- const c_ = {
10185
+ const l_ = /* @__PURE__ */ v(Xu, [["render", a_], ["__scopeId", "data-v-4fef3626"]]);
10186
+ const r_ = {
10218
10187
  components: {
10219
10188
  BIMDataButton: Z,
10220
10189
  BIMDataIconShow: uo
@@ -10228,10 +10197,10 @@ const c_ = {
10228
10197
  emits: [
10229
10198
  "open-topic"
10230
10199
  ]
10231
- }, d_ = { class: "bcf-topic-actions-cell" };
10232
- function u_(e, t, s, n, a, o) {
10200
+ }, c_ = { class: "bcf-topic-actions-cell" };
10201
+ function d_(e, t, s, n, a, o) {
10233
10202
  const i = f("BIMDataIconShow"), c = f("BIMDataButton");
10234
- return r(), p("div", d_, [
10203
+ return r(), p("div", c_, [
10235
10204
  _(c, {
10236
10205
  color: "primary",
10237
10206
  outline: "",
@@ -10246,8 +10215,8 @@ function u_(e, t, s, n, a, o) {
10246
10215
  })
10247
10216
  ]);
10248
10217
  }
10249
- const __ = /* @__PURE__ */ v(c_, [["render", u_], ["__scopeId", "data-v-dba0f1d9"]]);
10250
- const f_ = {
10218
+ const u_ = /* @__PURE__ */ v(r_, [["render", d_], ["__scopeId", "data-v-dba0f1d9"]]);
10219
+ const __ = {
10251
10220
  props: {
10252
10221
  detailedExtensions: {
10253
10222
  type: Object,
@@ -10261,23 +10230,23 @@ const f_ = {
10261
10230
  setup(e) {
10262
10231
  return {
10263
10232
  // References
10264
- priorityColor: j(
10233
+ priorityColor: H(
10265
10234
  () => me(e.topic, e.detailedExtensions)
10266
10235
  )
10267
10236
  };
10268
10237
  }
10269
- }, p_ = { class: "bcf-topic-index-cell" }, h_ = { class: "index" };
10270
- function m_(e, t, s, n, a, o) {
10271
- return r(), p("div", p_, [
10238
+ }, f_ = { class: "bcf-topic-index-cell" }, p_ = { class: "index" };
10239
+ function h_(e, t, s, n, a, o) {
10240
+ return r(), p("div", f_, [
10272
10241
  u("span", {
10273
10242
  class: "left-stripe",
10274
10243
  style: T({ backgroundColor: `#${n.priorityColor}` })
10275
10244
  }, null, 4),
10276
- u("span", h_, g(s.topic.index), 1)
10245
+ u("span", p_, g(s.topic.index), 1)
10277
10246
  ]);
10278
10247
  }
10279
- const g_ = /* @__PURE__ */ v(f_, [["render", m_], ["__scopeId", "data-v-2afda176"]]);
10280
- const y_ = {
10248
+ const m_ = /* @__PURE__ */ v(__, [["render", h_], ["__scopeId", "data-v-2afda176"]]);
10249
+ const g_ = {
10281
10250
  props: {
10282
10251
  detailedExtensions: {
10283
10252
  type: Object,
@@ -10291,20 +10260,20 @@ const y_ = {
10291
10260
  setup(e) {
10292
10261
  return {
10293
10262
  // References
10294
- priorityColor: j(
10263
+ priorityColor: H(
10295
10264
  () => me(e.topic, e.detailedExtensions)
10296
10265
  )
10297
10266
  };
10298
10267
  }
10299
10268
  };
10300
- function b_(e, t, s, n, a, o) {
10269
+ function y_(e, t, s, n, a, o) {
10301
10270
  return r(), p("span", {
10302
10271
  class: "bcf-topic-priority-cell",
10303
10272
  style: T({ color: `#${n.priorityColor}` })
10304
10273
  }, g(s.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
10305
10274
  }
10306
- const v_ = /* @__PURE__ */ v(y_, [["render", b_], ["__scopeId", "data-v-1d15fcf6"]]);
10307
- const D_ = {
10275
+ const b_ = /* @__PURE__ */ v(g_, [["render", y_], ["__scopeId", "data-v-1d15fcf6"]]);
10276
+ const v_ = {
10308
10277
  props: {
10309
10278
  detailedExtensions: {
10310
10279
  type: Object,
@@ -10318,7 +10287,7 @@ const D_ = {
10318
10287
  setup(e) {
10319
10288
  return {
10320
10289
  // References
10321
- statusColor: j(
10290
+ statusColor: H(
10322
10291
  () => Ge(e.topic, e.detailedExtensions)
10323
10292
  ),
10324
10293
  // Methods
@@ -10326,7 +10295,7 @@ const D_ = {
10326
10295
  };
10327
10296
  }
10328
10297
  };
10329
- function C_(e, t, s, n, a, o) {
10298
+ function D_(e, t, s, n, a, o) {
10330
10299
  return r(), p("span", {
10331
10300
  class: "bcf-topic-status-cell",
10332
10301
  style: T({
@@ -10335,14 +10304,14 @@ function C_(e, t, s, n, a, o) {
10335
10304
  })
10336
10305
  }, g(s.topic.topic_status), 5);
10337
10306
  }
10338
- const I_ = /* @__PURE__ */ v(D_, [["render", C_], ["__scopeId", "data-v-42bc2d8e"]]), w_ = {
10307
+ const I_ = /* @__PURE__ */ v(v_, [["render", D_], ["__scopeId", "data-v-42bc2d8e"]]), C_ = {
10339
10308
  components: {
10340
- BcfTopicActionsCell: __,
10341
- BcfTopicIndexCell: g_,
10342
- BcfTopicPriorityCell: v_,
10309
+ BcfTopicActionsCell: u_,
10310
+ BcfTopicIndexCell: m_,
10311
+ BcfTopicPriorityCell: b_,
10343
10312
  BcfTopicStatusCell: I_,
10344
- BIMDataTable: r_,
10345
- BIMDataTextbox: Ie,
10313
+ BIMDataTable: l_,
10314
+ BIMDataTextbox: Ce,
10346
10315
  BIMDataTooltip: Kt,
10347
10316
  UserAvatar: Zt
10348
10317
  },
@@ -10382,7 +10351,7 @@ const I_ = /* @__PURE__ */ v(D_, [["render", C_], ["__scopeId", "data-v-42bc2d8e
10382
10351
  setup(e) {
10383
10352
  return {
10384
10353
  // References
10385
- displayedColumns: j(
10354
+ displayedColumns: H(
10386
10355
  () => e.columns && e.columns.length > 0 ? vt.filter((n) => e.columns.includes(n.id)) : vt
10387
10356
  ),
10388
10357
  // Methods
@@ -10395,14 +10364,14 @@ const I_ = /* @__PURE__ */ v(D_, [["render", C_], ["__scopeId", "data-v-42bc2d8e
10395
10364
  };
10396
10365
  }
10397
10366
  };
10398
- function B_(e, t, s, n, a, o) {
10367
+ function w_(e, t, s, n, a, o) {
10399
10368
  const i = f("BcfTopicIndexCell"), c = f("BcfTopicPriorityCell"), l = f("BcfTopicStatusCell"), d = f("BIMDataTextbox"), m = f("UserAvatar"), y = f("BIMDataTooltip"), D = f("BcfTopicActionsCell"), b = f("BIMDataTable");
10400
- return r(), B(b, {
10369
+ return r(), M(b, {
10401
10370
  class: "bcf-topics-table",
10402
10371
  tableLayout: "fixed",
10403
- columns: n.displayedColumns.map((w) => ({
10404
- ...w,
10405
- label: w.label || e.$t(`BcfComponents.BcfTopicsTable.headers.${w.id}`)
10372
+ columns: n.displayedColumns.map((B) => ({
10373
+ ...B,
10374
+ label: B.label || e.$t(`BcfComponents.BcfTopicsTable.headers.${B.id}`)
10406
10375
  })),
10407
10376
  rows: s.topics,
10408
10377
  rowKey: "guid",
@@ -10411,38 +10380,38 @@ function B_(e, t, s, n, a, o) {
10411
10380
  rowHeight: 42,
10412
10381
  selectable: s.selectable,
10413
10382
  selection: s.selection,
10414
- "onUpdate:selection": t[1] || (t[1] = (w) => e.$emit("update:selection", w))
10383
+ "onUpdate:selection": t[1] || (t[1] = (B) => e.$emit("update:selection", B))
10415
10384
  }, {
10416
- "cell-index": h(({ row: w }) => [
10385
+ "cell-index": h(({ row: B }) => [
10417
10386
  _(i, {
10418
10387
  detailedExtensions: s.detailedExtensions,
10419
- topic: w
10388
+ topic: B
10420
10389
  }, null, 8, ["detailedExtensions", "topic"])
10421
10390
  ]),
10422
- "cell-priority": h(({ row: w }) => [
10391
+ "cell-priority": h(({ row: B }) => [
10423
10392
  _(c, {
10424
10393
  detailedExtensions: s.detailedExtensions,
10425
- topic: w
10394
+ topic: B
10426
10395
  }, null, 8, ["detailedExtensions", "topic"])
10427
10396
  ]),
10428
- "cell-status": h(({ row: w }) => [
10429
- w.topic_status ? (r(), B(l, {
10397
+ "cell-status": h(({ row: B }) => [
10398
+ B.topic_status ? (r(), M(l, {
10430
10399
  key: 0,
10431
10400
  detailedExtensions: s.detailedExtensions,
10432
- topic: w
10433
- }, null, 8, ["detailedExtensions", "topic"])) : C("", !0)
10401
+ topic: B
10402
+ }, null, 8, ["detailedExtensions", "topic"])) : I("", !0)
10434
10403
  ]),
10435
- "cell-title": h(({ row: w }) => [
10404
+ "cell-title": h(({ row: B }) => [
10436
10405
  _(d, {
10437
10406
  maxWidth: "100%",
10438
- text: w.title
10407
+ text: B.title
10439
10408
  }, null, 8, ["text"])
10440
10409
  ]),
10441
- "cell-creator": h(({ row: { creator: w, creation_author: V } }) => [
10410
+ "cell-creator": h(({ row: { creator: B, creation_author: V } }) => [
10442
10411
  _(y, { text: V }, {
10443
10412
  default: h(() => [
10444
10413
  _(m, {
10445
- user: w || {},
10414
+ user: B || {},
10446
10415
  size: 30,
10447
10416
  color: "silver-light",
10448
10417
  style: { margin: "auto" }
@@ -10451,27 +10420,27 @@ function B_(e, t, s, n, a, o) {
10451
10420
  _: 2
10452
10421
  }, 1032, ["text"])
10453
10422
  ]),
10454
- "cell-date": h(({ row: w }) => [
10455
- A(g(n.toShortDateFormat(w.creation_date)), 1)
10423
+ "cell-date": h(({ row: B }) => [
10424
+ A(g(n.toShortDateFormat(B.creation_date)), 1)
10456
10425
  ]),
10457
- "cell-actions": h(({ row: w }) => [
10426
+ "cell-actions": h(({ row: B }) => [
10458
10427
  _(D, {
10459
- topic: w,
10428
+ topic: B,
10460
10429
  onOpenTopic: t[0] || (t[0] = (V) => e.$emit("open-topic", V))
10461
10430
  }, null, 8, ["topic"])
10462
10431
  ]),
10463
10432
  _: 1
10464
10433
  }, 8, ["columns", "rows", "paginated", "perPage", "selectable", "selection"]);
10465
10434
  }
10466
- const M_ = /* @__PURE__ */ v(w_, [["render", B_]]), V_ = {
10435
+ const B_ = /* @__PURE__ */ v(C_, [["render", w_]]), O_ = {
10467
10436
  BcfFilters: xi,
10468
10437
  BcfSettings: ma,
10469
10438
  BcfStatistics: nl,
10470
10439
  BcfTopicCard: Bl,
10471
10440
  BcfTopicCreationCard: Ll,
10472
- BcfTopicForm: dd,
10473
- BcfTopicOverview: Gu,
10474
- BcfTopicsTable: M_
10441
+ BcfTopicForm: cd,
10442
+ BcfTopicOverview: Ju,
10443
+ BcfTopicsTable: B_
10475
10444
  };
10476
10445
  export {
10477
10446
  xi as BcfFilters,
@@ -10479,18 +10448,18 @@ export {
10479
10448
  nl as BcfStatistics,
10480
10449
  Bl as BcfTopicCard,
10481
10450
  Ll as BcfTopicCreationCard,
10482
- dd as BcfTopicForm,
10483
- Gu as BcfTopicOverview,
10484
- M_ as BcfTopicsTable,
10485
- V_ as components,
10486
- k_ as config,
10487
- T_ as createService,
10451
+ cd as BcfTopicForm,
10452
+ Ju as BcfTopicOverview,
10453
+ B_ as BcfTopicsTable,
10454
+ O_ as components,
10455
+ x_ as config,
10456
+ k_ as createService,
10488
10457
  me as getPriorityColor,
10489
10458
  Ge as getStatusColor,
10490
10459
  ys as getViewpointConfig,
10491
- $_ as setService,
10460
+ T_ as setService,
10492
10461
  ms as useBcfFilter,
10493
- S_ as useBcfSearch,
10494
- O_ as useBcfSort,
10495
- Ce as useService
10462
+ $_ as useBcfSearch,
10463
+ S_ as useBcfSort,
10464
+ Ie as useService
10496
10465
  };