@bimdata/bcf-components 6.0.0-rc.10 → 6.0.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bcf-components.mjs +405 -390
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/bcf-components.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as Wt, computed as j, ref as
|
|
2
|
+
import { reactive as Wt, computed as j, ref as $, watch as ne, openBlock as r, createElementBlock as p, normalizeClass as S, normalizeStyle as T, renderSlot as x, resolveComponent as f, createBlock as B, withCtx as h, createVNode as _, createElementVNode as u, mergeProps as Be, toDisplayString as g, createCommentVNode as C, pushScopeId as _e, popScopeId as fe, createTextVNode as A, resolveDirective as De, withDirectives as W, Transition as oe, Fragment as z, renderList as J, vShow as ee, resolveDynamicComponent as Me, toRaw as rt, withModifiers as P, withKeys as F, createSlots as Dt, createStaticVNode as Ct, inject as It, onMounted as Ye, onBeforeUnmount as wt } from "vue";
|
|
3
3
|
const Bt = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -190,9 +190,9 @@ var ss = Ne.exports;
|
|
|
190
190
|
}
|
|
191
191
|
function d(y) {
|
|
192
192
|
var D = y ? Object.keys(y) : [], b = -1, w = D.length;
|
|
193
|
-
return function
|
|
194
|
-
var
|
|
195
|
-
return
|
|
193
|
+
return function V() {
|
|
194
|
+
var M = D[++b];
|
|
195
|
+
return M === "__proto__" ? V() : b < w ? { value: y[M], key: M } : null;
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
198
|
function m(y) {
|
|
@@ -218,7 +218,7 @@ var ns = Pe.exports, Ue = { exports: {} };
|
|
|
218
218
|
}
|
|
219
219
|
e.exports = t.default;
|
|
220
220
|
})(Ue, Ue.exports);
|
|
221
|
-
var os = Ue.exports,
|
|
221
|
+
var os = Ue.exports, ie = {}, we = { exports: {} }, He = { exports: {} };
|
|
222
222
|
(function(e, t) {
|
|
223
223
|
Object.defineProperty(t, "__esModule", {
|
|
224
224
|
value: !0
|
|
@@ -263,8 +263,8 @@ function cs() {
|
|
|
263
263
|
var w;
|
|
264
264
|
try {
|
|
265
265
|
w = y.apply(this, D);
|
|
266
|
-
} catch (
|
|
267
|
-
return b(
|
|
266
|
+
} catch (V) {
|
|
267
|
+
return b(V);
|
|
268
268
|
}
|
|
269
269
|
if (w && typeof w.then == "function")
|
|
270
270
|
return d(w, b);
|
|
@@ -282,8 +282,8 @@ function cs() {
|
|
|
282
282
|
try {
|
|
283
283
|
y(D, b);
|
|
284
284
|
} catch (w) {
|
|
285
|
-
(0, o.default)((
|
|
286
|
-
throw
|
|
285
|
+
(0, o.default)((V) => {
|
|
286
|
+
throw V;
|
|
287
287
|
}, w);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
@@ -293,10 +293,10 @@ function cs() {
|
|
|
293
293
|
var ut;
|
|
294
294
|
function Je() {
|
|
295
295
|
if (ut)
|
|
296
|
-
return
|
|
297
|
-
ut = 1, Object.defineProperty(
|
|
296
|
+
return ie;
|
|
297
|
+
ut = 1, Object.defineProperty(ie, "__esModule", {
|
|
298
298
|
value: !0
|
|
299
|
-
}),
|
|
299
|
+
}), ie.isAsyncIterable = ie.isAsyncGenerator = ie.isAsync = void 0;
|
|
300
300
|
var e = cs(), t = s(e);
|
|
301
301
|
function s(c) {
|
|
302
302
|
return c && c.__esModule ? c : { default: c };
|
|
@@ -315,7 +315,7 @@ function Je() {
|
|
|
315
315
|
throw new Error("expected a function");
|
|
316
316
|
return n(c) ? (0, t.default)(c) : c;
|
|
317
317
|
}
|
|
318
|
-
return
|
|
318
|
+
return ie.default = i, ie.isAsync = n, ie.isAsyncGenerator = a, ie.isAsyncIterable = o, ie;
|
|
319
319
|
}
|
|
320
320
|
var ze = { exports: {} }, je = { exports: {} };
|
|
321
321
|
(function(e, t) {
|
|
@@ -336,18 +336,18 @@ var Vt = je.exports;
|
|
|
336
336
|
}
|
|
337
337
|
function o(i, c, l, d) {
|
|
338
338
|
let m = !1, y = !1, D = !1, b = 0, w = 0;
|
|
339
|
-
function
|
|
339
|
+
function V() {
|
|
340
340
|
b >= c || D || m || (D = !0, i.next().then(({ value: L, done: K }) => {
|
|
341
341
|
if (!(y || m)) {
|
|
342
342
|
if (D = !1, K) {
|
|
343
343
|
m = !0, b <= 0 && d(null);
|
|
344
344
|
return;
|
|
345
345
|
}
|
|
346
|
-
b++, l(L, w,
|
|
346
|
+
b++, l(L, w, M), w++, V();
|
|
347
347
|
}
|
|
348
348
|
}).catch(N));
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function M(L, K) {
|
|
351
351
|
if (b -= 1, !y) {
|
|
352
352
|
if (L)
|
|
353
353
|
return N(L);
|
|
@@ -357,13 +357,13 @@ var Vt = je.exports;
|
|
|
357
357
|
}
|
|
358
358
|
if (K === n.default || m && b <= 0)
|
|
359
359
|
return m = !0, d(null);
|
|
360
|
-
|
|
360
|
+
V();
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
function N(L) {
|
|
364
364
|
y || (D = !1, m = !0, d(L));
|
|
365
365
|
}
|
|
366
|
-
|
|
366
|
+
V();
|
|
367
367
|
}
|
|
368
368
|
e.exports = t.default;
|
|
369
369
|
})(ze, ze.exports);
|
|
@@ -376,36 +376,36 @@ var ds = ze.exports;
|
|
|
376
376
|
function b(w) {
|
|
377
377
|
return w && w.__esModule ? w : { default: w };
|
|
378
378
|
}
|
|
379
|
-
t.default = (w) => (
|
|
379
|
+
t.default = (w) => (V, M, N) => {
|
|
380
380
|
if (N = (0, n.default)(N), w <= 0)
|
|
381
381
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
382
|
-
if (!
|
|
382
|
+
if (!V)
|
|
383
383
|
return N(null);
|
|
384
|
-
if ((0, l.isAsyncGenerator)(
|
|
385
|
-
return (0, m.default)(
|
|
386
|
-
if ((0, l.isAsyncIterable)(
|
|
387
|
-
return (0, m.default)(
|
|
388
|
-
var L = (0, o.default)(
|
|
384
|
+
if ((0, l.isAsyncGenerator)(V))
|
|
385
|
+
return (0, m.default)(V, w, M, N);
|
|
386
|
+
if ((0, l.isAsyncIterable)(V))
|
|
387
|
+
return (0, m.default)(V[Symbol.asyncIterator](), w, M, N);
|
|
388
|
+
var L = (0, o.default)(V), K = !1, R = !1, O = 0, X = !1;
|
|
389
389
|
function q(Q, U) {
|
|
390
390
|
if (!R)
|
|
391
|
-
if (
|
|
391
|
+
if (O -= 1, Q)
|
|
392
392
|
K = !0, N(Q);
|
|
393
393
|
else if (Q === !1)
|
|
394
394
|
K = !0, R = !0;
|
|
395
395
|
else {
|
|
396
|
-
if (U === D.default || K &&
|
|
396
|
+
if (U === D.default || K && O <= 0)
|
|
397
397
|
return K = !0, N(null);
|
|
398
398
|
X || te();
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
function te() {
|
|
402
|
-
for (X = !0;
|
|
402
|
+
for (X = !0; O < w && !K; ) {
|
|
403
403
|
var Q = L();
|
|
404
404
|
if (Q === null) {
|
|
405
|
-
K = !0,
|
|
405
|
+
K = !0, O <= 0 && N(null);
|
|
406
406
|
return;
|
|
407
407
|
}
|
|
408
|
-
|
|
408
|
+
O += 1, M(Q.value, Q.key, (0, c.default)(q));
|
|
409
409
|
}
|
|
410
410
|
X = !1;
|
|
411
411
|
}
|
|
@@ -452,8 +452,8 @@ var fs = qe.exports;
|
|
|
452
452
|
function m(D) {
|
|
453
453
|
return D && D.__esModule ? D : { default: D };
|
|
454
454
|
}
|
|
455
|
-
function y(D, b, w,
|
|
456
|
-
return (0, n.default)(b)(D, (0, o.default)((0, c.default)(w)),
|
|
455
|
+
function y(D, b, w, V) {
|
|
456
|
+
return (0, n.default)(b)(D, (0, o.default)((0, c.default)(w)), V);
|
|
457
457
|
}
|
|
458
458
|
t.default = (0, d.default)(y, 4), e.exports = t.default;
|
|
459
459
|
})(Fe, Fe.exports);
|
|
@@ -483,17 +483,17 @@ async function _t(e, t) {
|
|
|
483
483
|
}
|
|
484
484
|
let Et = null;
|
|
485
485
|
function T_(e, { fetchUsers: t }) {
|
|
486
|
-
const s = t ? (
|
|
487
|
-
const H = I ?? await e.bcfApi.getDetailedExtensions(
|
|
486
|
+
const s = t ? (k) => t(k) : (k) => e.collaborationApi.getProjectUsers(k.cloud.id, k.id), n = () => e.bcfApi.getUser(), a = async (k, { extensions: I, users: E } = {}) => {
|
|
487
|
+
const H = I ?? await e.bcfApi.getDetailedExtensions(k.id), Y = E ?? await s(k), se = await e.bcfApi.getTopics(k.id);
|
|
488
488
|
return se.sort((ae, Oe) => Oe.index - ae.index), se.forEach((ae) => {
|
|
489
489
|
ae.color = me(ae, H), ae.creator = Y.find((Oe) => Oe.email === ae.creation_author);
|
|
490
490
|
}), se;
|
|
491
|
-
}, o = async (
|
|
492
|
-
const E = await e.bcfApi.getDetailedExtensions(
|
|
491
|
+
}, o = async (k, I) => {
|
|
492
|
+
const E = await e.bcfApi.getDetailedExtensions(k.id), H = await e.bcfApi.getFullTopic(I, k.id, "url");
|
|
493
493
|
return H.color = me(H, E), H;
|
|
494
|
-
}, i = (
|
|
494
|
+
}, i = (k, I) => e.bcfApi.createTopic(k.id, I), c = (k, I) => e.bcfApi.updateTopic(I.guid, k.id, I), l = (k, I) => e.bcfApi.deleteTopic(I.guid, k.id), d = async (k, I) => {
|
|
495
495
|
const E = new FormData();
|
|
496
|
-
E.append("name", I.name), E.append("file", I), await fetch(`${e.config.basePath}/bcf/2.1/projects/${
|
|
496
|
+
E.append("name", I.name), E.append("file", I), await fetch(`${e.config.basePath}/bcf/2.1/projects/${k.id}/import`, {
|
|
497
497
|
method: "POST",
|
|
498
498
|
credentials: "include",
|
|
499
499
|
headers: {
|
|
@@ -501,25 +501,29 @@ function T_(e, { fetchUsers: t }) {
|
|
|
501
501
|
},
|
|
502
502
|
body: E
|
|
503
503
|
});
|
|
504
|
-
}, m = async (
|
|
504
|
+
}, m = async (k, I) => {
|
|
505
505
|
const E = await e.bcfApi.downloadBcfExport(
|
|
506
|
-
|
|
506
|
+
k.id,
|
|
507
507
|
void 0,
|
|
508
|
+
// Format
|
|
508
509
|
I.map((H) => H.guid).join(",")
|
|
509
510
|
);
|
|
510
|
-
_t(`${
|
|
511
|
-
}, y = async (
|
|
511
|
+
_t(`${k.name}.bcf`, E);
|
|
512
|
+
}, y = async (k, I) => {
|
|
512
513
|
const E = await e.bcfApi.downloadBcfExportXlsx(
|
|
513
|
-
|
|
514
|
+
k.id,
|
|
514
515
|
void 0,
|
|
516
|
+
// Format
|
|
517
|
+
void 0,
|
|
518
|
+
// Locale
|
|
515
519
|
I.map((H) => H.guid).join(",")
|
|
516
520
|
);
|
|
517
|
-
_t(`${
|
|
518
|
-
}, D = async (
|
|
519
|
-
b(
|
|
521
|
+
_t(`${k.name}.xlsx`, E);
|
|
522
|
+
}, D = async (k, I) => (await hs(I, 10, (E, H) => {
|
|
523
|
+
b(k, E).then((Y) => {
|
|
520
524
|
E.viewpoints = Y, H();
|
|
521
525
|
}, H);
|
|
522
|
-
}), I), b = (
|
|
526
|
+
}), I), b = (k, I) => e.bcfApi.getTopicViewpoints(k.id, I.guid, "url");
|
|
523
527
|
return {
|
|
524
528
|
fetchCurrentUser: n,
|
|
525
529
|
fetchTopics: a,
|
|
@@ -532,31 +536,31 @@ function T_(e, { fetchUsers: t }) {
|
|
|
532
536
|
exportBcfXLSX: y,
|
|
533
537
|
loadTopicsViewpoints: D,
|
|
534
538
|
fetchTopicViewpoints: b,
|
|
535
|
-
fetchTopicCommentViewpoint: (
|
|
536
|
-
createViewpoint: (
|
|
537
|
-
updateViewpoint: (
|
|
538
|
-
deleteViewpoint: (
|
|
539
|
-
fetchTopicComments: async (
|
|
540
|
-
const E = await s(
|
|
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);
|
|
541
545
|
return H.sort((Y, se) => Y.date > se.date ? -1 : 1), H.forEach((Y) => {
|
|
542
546
|
Y.user = E.find((se) => se.email === Y.author);
|
|
543
547
|
}), H;
|
|
544
548
|
},
|
|
545
|
-
createComment: (
|
|
546
|
-
updateComment: (
|
|
547
|
-
deleteComment: (
|
|
548
|
-
fetchExtensions: (
|
|
549
|
-
fetchDetailedExtensions: (
|
|
550
|
-
createExtension: async (
|
|
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, {
|
|
551
555
|
[he(I)]: E.value,
|
|
552
556
|
color: Gt()
|
|
553
557
|
}),
|
|
554
|
-
updateExtension: async (
|
|
558
|
+
updateExtension: async (k, I, E, H) => await e.bcfApi[`updateExtension${I}`](E.id, k.id, {
|
|
555
559
|
[he(I)]: H.value,
|
|
556
560
|
color: H.color
|
|
557
561
|
}),
|
|
558
|
-
deleteExtension: async (
|
|
559
|
-
await e.bcfApi[`deleteExtension${I}`](E.id,
|
|
562
|
+
deleteExtension: async (k, I, E) => {
|
|
563
|
+
await e.bcfApi[`deleteExtension${I}`](E.id, k.id);
|
|
560
564
|
}
|
|
561
565
|
};
|
|
562
566
|
}
|
|
@@ -605,8 +609,8 @@ const gs = [
|
|
|
605
609
|
"description"
|
|
606
610
|
];
|
|
607
611
|
function S_(e) {
|
|
608
|
-
const t =
|
|
609
|
-
return
|
|
612
|
+
const t = $(""), s = $([]);
|
|
613
|
+
return ne(
|
|
610
614
|
[e, t],
|
|
611
615
|
() => {
|
|
612
616
|
if (t.value) {
|
|
@@ -626,10 +630,10 @@ function S_(e) {
|
|
|
626
630
|
};
|
|
627
631
|
}
|
|
628
632
|
function Ve(e, t = (s) => s) {
|
|
629
|
-
const s =
|
|
633
|
+
const s = $(e), n = (i = "asc") => {
|
|
630
634
|
const c = s.value.slice().sort((l, d) => t(l) < t(d) ? -1 : 1);
|
|
631
635
|
i === "desc" && c.reverse(), s.value = c;
|
|
632
|
-
}, a =
|
|
636
|
+
}, a = $("none");
|
|
633
637
|
return {
|
|
634
638
|
sortOrder: a,
|
|
635
639
|
sortToggle: () => {
|
|
@@ -638,7 +642,7 @@ function Ve(e, t = (s) => s) {
|
|
|
638
642
|
};
|
|
639
643
|
}
|
|
640
644
|
function O_(e) {
|
|
641
|
-
const { sortToggle: t, sortOrder: s } = Ve(e, (y) => y.index), { sortToggle: n, sortOrder: a } = Ve(e, (y) => y.title), { sortToggle: o, sortOrder: i } = Ve(e, (y) => y.creation_date), c =
|
|
645
|
+
const { sortToggle: t, sortOrder: s } = Ve(e, (y) => y.index), { sortToggle: n, sortOrder: a } = Ve(e, (y) => y.title), { sortToggle: o, sortOrder: i } = Ve(e, (y) => y.creation_date), c = $("");
|
|
642
646
|
return {
|
|
643
647
|
sortedBy: c,
|
|
644
648
|
sortByIndex: () => {
|
|
@@ -759,13 +763,13 @@ const v = (e, t) => {
|
|
|
759
763
|
}, Ds = ["color"];
|
|
760
764
|
function Cs(e, t, s, n, a, o) {
|
|
761
765
|
return r(), p("button", {
|
|
762
|
-
class:
|
|
763
|
-
style:
|
|
766
|
+
class: S(["bimdata-btn", o.classes]),
|
|
767
|
+
style: T(o.style),
|
|
764
768
|
onClick: t[0] || (t[0] = (i) => e.$emit("click", i)),
|
|
765
769
|
color: s.color,
|
|
766
770
|
type: "button"
|
|
767
771
|
}, [
|
|
768
|
-
|
|
772
|
+
x(e.$slots, "default", {}, void 0, !0)
|
|
769
773
|
], 14, Ds);
|
|
770
774
|
}
|
|
771
775
|
const Z = /* @__PURE__ */ v(vs, [["render", Cs], ["__scopeId", "data-v-cc5f3236"]]), Xe = Object.freeze([
|
|
@@ -875,10 +879,10 @@ function Bs(e, t, s, n, a, o) {
|
|
|
875
879
|
width: "100%",
|
|
876
880
|
fill: s.fillColor,
|
|
877
881
|
color: s.color,
|
|
878
|
-
style:
|
|
879
|
-
class:
|
|
882
|
+
style: T(o.style),
|
|
883
|
+
class: S(o.classes)
|
|
880
884
|
}, [
|
|
881
|
-
|
|
885
|
+
x(e.$slots, "default", {}, void 0, !0)
|
|
882
886
|
], 14, ws);
|
|
883
887
|
}
|
|
884
888
|
const Ms = /* @__PURE__ */ v(Is, [["render", Bs], ["__scopeId", "data-v-3c56485e"]]), ht = {
|
|
@@ -978,8 +982,8 @@ function Os(e, t, s, n, a, o) {
|
|
|
978
982
|
fill: e.fill,
|
|
979
983
|
fillColor: e.fillColor,
|
|
980
984
|
color: e.color,
|
|
981
|
-
class:
|
|
982
|
-
style:
|
|
985
|
+
class: S(e.classes),
|
|
986
|
+
style: T(e.style)
|
|
983
987
|
}, {
|
|
984
988
|
default: h(() => [
|
|
985
989
|
_(i)
|
|
@@ -1000,8 +1004,8 @@ function As(e, t, s, n, a, o) {
|
|
|
1000
1004
|
fill: e.fill,
|
|
1001
1005
|
fillColor: e.fillColor,
|
|
1002
1006
|
color: e.color,
|
|
1003
|
-
class:
|
|
1004
|
-
style:
|
|
1007
|
+
class: S(e.classes),
|
|
1008
|
+
style: T(e.style)
|
|
1005
1009
|
}, {
|
|
1006
1010
|
default: h(() => [
|
|
1007
1011
|
_(i)
|
|
@@ -1026,8 +1030,8 @@ function Rs(e, t, s, n, a, o) {
|
|
|
1026
1030
|
fill: e.fill,
|
|
1027
1031
|
fillColor: e.fillColor,
|
|
1028
1032
|
color: e.color,
|
|
1029
|
-
class:
|
|
1030
|
-
style:
|
|
1033
|
+
class: S(e.classes),
|
|
1034
|
+
style: T(e.style)
|
|
1031
1035
|
}, {
|
|
1032
1036
|
default: h(() => [
|
|
1033
1037
|
_(i)
|
|
@@ -1048,8 +1052,8 @@ function Js(e, t, s, n, a, o) {
|
|
|
1048
1052
|
fill: e.fill,
|
|
1049
1053
|
fillColor: e.fillColor,
|
|
1050
1054
|
color: e.color,
|
|
1051
|
-
class:
|
|
1052
|
-
style:
|
|
1055
|
+
class: S(e.classes),
|
|
1056
|
+
style: T(e.style)
|
|
1053
1057
|
}, {
|
|
1054
1058
|
default: h(() => [
|
|
1055
1059
|
_(i)
|
|
@@ -1070,8 +1074,8 @@ function sn(e, t, s, n, a, o) {
|
|
|
1070
1074
|
fill: e.fill,
|
|
1071
1075
|
fillColor: e.fillColor,
|
|
1072
1076
|
color: e.color,
|
|
1073
|
-
class:
|
|
1074
|
-
style:
|
|
1077
|
+
class: S(e.classes),
|
|
1078
|
+
style: T(e.style)
|
|
1075
1079
|
}, {
|
|
1076
1080
|
default: h(() => [
|
|
1077
1081
|
_(i)
|
|
@@ -1096,8 +1100,8 @@ function cn(e, t, s, n, a, o) {
|
|
|
1096
1100
|
fill: e.fill,
|
|
1097
1101
|
fillColor: e.fillColor,
|
|
1098
1102
|
color: e.color,
|
|
1099
|
-
class:
|
|
1100
|
-
style:
|
|
1103
|
+
class: S(e.classes),
|
|
1104
|
+
style: T(e.style)
|
|
1101
1105
|
}, {
|
|
1102
1106
|
default: h(() => [
|
|
1103
1107
|
_(i)
|
|
@@ -1122,8 +1126,8 @@ function hn(e, t, s, n, a, o) {
|
|
|
1122
1126
|
fill: e.fill,
|
|
1123
1127
|
fillColor: e.fillColor,
|
|
1124
1128
|
color: e.color,
|
|
1125
|
-
class:
|
|
1126
|
-
style:
|
|
1129
|
+
class: S(e.classes),
|
|
1130
|
+
style: T(e.style)
|
|
1127
1131
|
}, {
|
|
1128
1132
|
default: h(() => [
|
|
1129
1133
|
_(i)
|
|
@@ -1147,8 +1151,8 @@ function wn(e, t, s, n, a, o) {
|
|
|
1147
1151
|
fill: e.fill,
|
|
1148
1152
|
fillColor: e.fillColor,
|
|
1149
1153
|
color: e.color,
|
|
1150
|
-
class:
|
|
1151
|
-
style:
|
|
1154
|
+
class: S(e.classes),
|
|
1155
|
+
style: T(e.style)
|
|
1152
1156
|
}, {
|
|
1153
1157
|
default: h(() => [
|
|
1154
1158
|
_(i)
|
|
@@ -1173,8 +1177,8 @@ function Sn(e, t, s, n, a, o) {
|
|
|
1173
1177
|
fill: e.fill,
|
|
1174
1178
|
fillColor: e.fillColor,
|
|
1175
1179
|
color: e.color,
|
|
1176
|
-
class:
|
|
1177
|
-
style:
|
|
1180
|
+
class: S(e.classes),
|
|
1181
|
+
style: T(e.style)
|
|
1178
1182
|
}, {
|
|
1179
1183
|
default: h(() => [
|
|
1180
1184
|
_(i)
|
|
@@ -1199,8 +1203,8 @@ function An(e, t, s, n, a, o) {
|
|
|
1199
1203
|
fill: e.fill,
|
|
1200
1204
|
fillColor: e.fillColor,
|
|
1201
1205
|
color: e.color,
|
|
1202
|
-
class:
|
|
1203
|
-
style:
|
|
1206
|
+
class: S(e.classes),
|
|
1207
|
+
style: T(e.style)
|
|
1204
1208
|
}, {
|
|
1205
1209
|
default: h(() => [
|
|
1206
1210
|
_(i)
|
|
@@ -1225,8 +1229,8 @@ function Rn(e, t, s, n, a, o) {
|
|
|
1225
1229
|
fill: e.fill,
|
|
1226
1230
|
fillColor: e.fillColor,
|
|
1227
1231
|
color: e.color,
|
|
1228
|
-
class:
|
|
1229
|
-
style:
|
|
1232
|
+
class: S(e.classes),
|
|
1233
|
+
style: T(e.style)
|
|
1230
1234
|
}, {
|
|
1231
1235
|
default: h(() => [
|
|
1232
1236
|
_(i)
|
|
@@ -1251,8 +1255,8 @@ function Jn(e, t, s, n, a, o) {
|
|
|
1251
1255
|
fill: e.fill,
|
|
1252
1256
|
fillColor: e.fillColor,
|
|
1253
1257
|
color: e.color,
|
|
1254
|
-
class:
|
|
1255
|
-
style:
|
|
1258
|
+
class: S(e.classes),
|
|
1259
|
+
style: T(e.style)
|
|
1256
1260
|
}, {
|
|
1257
1261
|
default: h(() => [
|
|
1258
1262
|
_(i)
|
|
@@ -1277,8 +1281,8 @@ function so(e, t, s, n, a, o) {
|
|
|
1277
1281
|
fill: e.fill,
|
|
1278
1282
|
fillColor: e.fillColor,
|
|
1279
1283
|
color: e.color,
|
|
1280
|
-
class:
|
|
1281
|
-
style:
|
|
1284
|
+
class: S(e.classes),
|
|
1285
|
+
style: T(e.style)
|
|
1282
1286
|
}, {
|
|
1283
1287
|
default: h(() => [
|
|
1284
1288
|
_(i)
|
|
@@ -1299,8 +1303,8 @@ function co(e, t, s, n, a, o) {
|
|
|
1299
1303
|
fill: e.fill,
|
|
1300
1304
|
fillColor: e.fillColor,
|
|
1301
1305
|
color: e.color,
|
|
1302
|
-
class:
|
|
1303
|
-
style:
|
|
1306
|
+
class: S(e.classes),
|
|
1307
|
+
style: T(e.style)
|
|
1304
1308
|
}, {
|
|
1305
1309
|
default: h(() => [
|
|
1306
1310
|
_(i)
|
|
@@ -1325,8 +1329,8 @@ function go(e, t, s, n, a, o) {
|
|
|
1325
1329
|
fill: e.fill,
|
|
1326
1330
|
fillColor: e.fillColor,
|
|
1327
1331
|
color: e.color,
|
|
1328
|
-
class:
|
|
1329
|
-
style:
|
|
1332
|
+
class: S(e.classes),
|
|
1333
|
+
style: T(e.style)
|
|
1330
1334
|
}, {
|
|
1331
1335
|
default: h(() => [
|
|
1332
1336
|
_(i)
|
|
@@ -1350,8 +1354,8 @@ function wo(e, t, s, n, a, o) {
|
|
|
1350
1354
|
fill: e.fill,
|
|
1351
1355
|
fillColor: e.fillColor,
|
|
1352
1356
|
color: e.color,
|
|
1353
|
-
class:
|
|
1354
|
-
style:
|
|
1357
|
+
class: S(e.classes),
|
|
1358
|
+
style: T(e.style)
|
|
1355
1359
|
}, {
|
|
1356
1360
|
default: h(() => [
|
|
1357
1361
|
_(i)
|
|
@@ -1376,8 +1380,8 @@ function So(e, t, s, n, a, o) {
|
|
|
1376
1380
|
fill: e.fill,
|
|
1377
1381
|
fillColor: e.fillColor,
|
|
1378
1382
|
color: e.color,
|
|
1379
|
-
class:
|
|
1380
|
-
style:
|
|
1383
|
+
class: S(e.classes),
|
|
1384
|
+
style: T(e.style)
|
|
1381
1385
|
}, {
|
|
1382
1386
|
default: h(() => [
|
|
1383
1387
|
_(i)
|
|
@@ -1397,8 +1401,8 @@ function Po(e, t, s, n, a, o) {
|
|
|
1397
1401
|
fill: e.fill,
|
|
1398
1402
|
fillColor: e.fillColor,
|
|
1399
1403
|
color: e.color,
|
|
1400
|
-
class:
|
|
1401
|
-
style:
|
|
1404
|
+
class: S(e.classes),
|
|
1405
|
+
style: T(e.style)
|
|
1402
1406
|
}, {
|
|
1403
1407
|
default: h(() => [
|
|
1404
1408
|
_(i)
|
|
@@ -1492,8 +1496,8 @@ const No = {
|
|
|
1492
1496
|
};
|
|
1493
1497
|
function Yo(e, t, s, n, a, o) {
|
|
1494
1498
|
return r(), p("div", {
|
|
1495
|
-
class:
|
|
1496
|
-
style:
|
|
1499
|
+
class: S(["bimdata-input", { error: s.error, success: s.success, disabled: s.disabled, loading: s.loading, "not-empty": !!s.modelValue }]),
|
|
1500
|
+
style: T(o.style)
|
|
1497
1501
|
}, [
|
|
1498
1502
|
u("input", Be({
|
|
1499
1503
|
ref: "input",
|
|
@@ -1510,7 +1514,7 @@ function Yo(e, t, s, n, a, o) {
|
|
|
1510
1514
|
autocomplete: s.autocomplete ? "on" : "off"
|
|
1511
1515
|
}, e.$attrs), null, 16, Ho),
|
|
1512
1516
|
u("div", zo, [
|
|
1513
|
-
|
|
1517
|
+
x(e.$slots, "inputIcon", {}, void 0, !0)
|
|
1514
1518
|
]),
|
|
1515
1519
|
u("label", {
|
|
1516
1520
|
for: `bimdata-input-${e.uuid}`
|
|
@@ -1596,7 +1600,7 @@ function Xo(e, t, s, n, a, o) {
|
|
|
1596
1600
|
}, e.$attrs), [
|
|
1597
1601
|
Jo,
|
|
1598
1602
|
s.text ? (r(), p("span", Go, [
|
|
1599
|
-
|
|
1603
|
+
x(e.$slots, "default", {}, () => [
|
|
1600
1604
|
A(g(s.text), 1)
|
|
1601
1605
|
], !0)
|
|
1602
1606
|
])) : C("", !0)
|
|
@@ -1691,12 +1695,12 @@ const Qo = {
|
|
|
1691
1695
|
function ai(e, t, s, n, a, o) {
|
|
1692
1696
|
const i = f("BIMDataIconChevron"), c = f("BIMDataCheckbox"), l = De("clickaway");
|
|
1693
1697
|
return W((r(), p("div", {
|
|
1694
|
-
class:
|
|
1698
|
+
class: S(["bimdata-select", {
|
|
1695
1699
|
disabled: s.disabled,
|
|
1696
1700
|
active: a.isOpen,
|
|
1697
1701
|
"not-empty": s.modelValue.length > 0
|
|
1698
1702
|
}]),
|
|
1699
|
-
style:
|
|
1703
|
+
style: T({ width: s.width })
|
|
1700
1704
|
}, [
|
|
1701
1705
|
u("div", ti, [
|
|
1702
1706
|
u("div", {
|
|
@@ -1712,11 +1716,11 @@ function ai(e, t, s, n, a, o) {
|
|
|
1712
1716
|
u("label", si, g(s.label), 1),
|
|
1713
1717
|
ni
|
|
1714
1718
|
]),
|
|
1715
|
-
_(
|
|
1719
|
+
_(oe, { name: "slide-fade-down" }, {
|
|
1716
1720
|
default: h(() => [
|
|
1717
1721
|
W(u("ul", oi, [
|
|
1718
1722
|
(r(!0), p(z, null, J(s.options, (d, m) => (r(), p("li", {
|
|
1719
|
-
class:
|
|
1723
|
+
class: S(["bimdata-select__option-list__entry", {
|
|
1720
1724
|
selected: o.isSelected(d),
|
|
1721
1725
|
disabled: o.isDisabled(d),
|
|
1722
1726
|
"option-group": o.isOptionGroup(d)
|
|
@@ -1830,12 +1834,12 @@ const ri = {
|
|
|
1830
1834
|
function hi(e, t, s, n, a, o) {
|
|
1831
1835
|
const i = f("BIMDataIconChevron"), c = De("clickaway");
|
|
1832
1836
|
return W((r(), p("div", {
|
|
1833
|
-
class:
|
|
1837
|
+
class: S(["bimdata-select", {
|
|
1834
1838
|
disabled: s.disabled,
|
|
1835
1839
|
active: a.isOpen,
|
|
1836
1840
|
"not-empty": s.modelValue !== void 0 && s.modelValue !== null
|
|
1837
1841
|
}]),
|
|
1838
|
-
style:
|
|
1842
|
+
style: T({ width: s.width })
|
|
1839
1843
|
}, [
|
|
1840
1844
|
u("div", di, [
|
|
1841
1845
|
u("div", {
|
|
@@ -1851,7 +1855,7 @@ function hi(e, t, s, n, a, o) {
|
|
|
1851
1855
|
u("label", ui, g(s.label), 1),
|
|
1852
1856
|
_i
|
|
1853
1857
|
]),
|
|
1854
|
-
_(
|
|
1858
|
+
_(oe, { name: "slide-fade-down" }, {
|
|
1855
1859
|
default: h(() => [
|
|
1856
1860
|
W(u("ul", fi, [
|
|
1857
1861
|
s.nullValue ? (r(), p("li", {
|
|
@@ -1860,7 +1864,7 @@ function hi(e, t, s, n, a, o) {
|
|
|
1860
1864
|
onClick: t[1] || (t[1] = (l) => o.onNullValueClick())
|
|
1861
1865
|
}, g(s.nullLabel || "None"), 1)) : C("", !0),
|
|
1862
1866
|
(r(!0), p(z, null, J(s.options, (l, d) => (r(), p("li", {
|
|
1863
|
-
class:
|
|
1867
|
+
class: S(["bimdata-select__option-list__entry", {
|
|
1864
1868
|
selected: o.isSelected(l),
|
|
1865
1869
|
disabled: o.isDisabled(l),
|
|
1866
1870
|
"option-group": o.isOptionGroup(l)
|
|
@@ -1957,30 +1961,41 @@ const bi = {
|
|
|
1957
1961
|
topics: {
|
|
1958
1962
|
type: Array,
|
|
1959
1963
|
required: !0
|
|
1964
|
+
},
|
|
1965
|
+
initFilters: {
|
|
1966
|
+
type: Object
|
|
1960
1967
|
}
|
|
1961
1968
|
},
|
|
1962
1969
|
emits: ["submit"],
|
|
1963
1970
|
setup(e, { emit: t }) {
|
|
1964
|
-
const s =
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
() =>
|
|
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));
|
|
1972
|
+
ne(
|
|
1973
|
+
() => e.initFilters,
|
|
1974
|
+
() => {
|
|
1975
|
+
e.initFilters && l(e.initFilters);
|
|
1976
|
+
},
|
|
1977
|
+
{ deep: !0 }
|
|
1978
|
+
);
|
|
1979
|
+
const d = j(
|
|
1980
|
+
() => ye(e.topics.map((M) => M.priority))
|
|
1968
1981
|
), m = j(
|
|
1969
|
-
() => ye(e.topics.map((
|
|
1982
|
+
() => ye(e.topics.map((M) => M.topic_status))
|
|
1970
1983
|
), y = j(
|
|
1971
|
-
() => ye(e.topics.map((
|
|
1984
|
+
() => ye(e.topics.map((M) => M.assigned_to))
|
|
1972
1985
|
), D = j(
|
|
1973
|
-
() => ye(e.topics.
|
|
1986
|
+
() => ye(e.topics.map((M) => M.creation_author))
|
|
1987
|
+
), b = j(
|
|
1988
|
+
() => ye(e.topics.flatMap((M) => M.labels))
|
|
1974
1989
|
);
|
|
1975
1990
|
return {
|
|
1976
1991
|
// References
|
|
1977
|
-
creatorOptions:
|
|
1992
|
+
creatorOptions: D,
|
|
1978
1993
|
filters: o,
|
|
1979
1994
|
isOpen: s,
|
|
1980
|
-
labelOptions:
|
|
1981
|
-
priorityOptions:
|
|
1982
|
-
statusOptions:
|
|
1983
|
-
userOptions:
|
|
1995
|
+
labelOptions: b,
|
|
1996
|
+
priorityOptions: d,
|
|
1997
|
+
statusOptions: m,
|
|
1998
|
+
userOptions: y,
|
|
1984
1999
|
// Methods
|
|
1985
2000
|
close: n,
|
|
1986
2001
|
resetFilters: () => {
|
|
@@ -1990,8 +2005,8 @@ const bi = {
|
|
|
1990
2005
|
});
|
|
1991
2006
|
},
|
|
1992
2007
|
submitFilters: () => {
|
|
1993
|
-
var
|
|
1994
|
-
(
|
|
2008
|
+
var M;
|
|
2009
|
+
(M = o.endDate) == null || M.setHours(23, 59, 59), t("submit", {
|
|
1995
2010
|
filters: rt(o),
|
|
1996
2011
|
topics: i.value
|
|
1997
2012
|
}), s.value = !1;
|
|
@@ -2023,7 +2038,7 @@ function Mi(e, t, s, n, a, o) {
|
|
|
2023
2038
|
]),
|
|
2024
2039
|
_: 1
|
|
2025
2040
|
}, 8, ["disabled", "onClick"]),
|
|
2026
|
-
_(
|
|
2041
|
+
_(oe, { name: "slide-fade-up" }, {
|
|
2027
2042
|
default: h(() => [
|
|
2028
2043
|
W(u("div", Di, [
|
|
2029
2044
|
u("div", Ci, [
|
|
@@ -2143,7 +2158,7 @@ function Mi(e, t, s, n, a, o) {
|
|
|
2143
2158
|
[D, n.close]
|
|
2144
2159
|
]);
|
|
2145
2160
|
}
|
|
2146
|
-
const xi = /* @__PURE__ */ v(bi, [["render", Mi], ["__scopeId", "data-v-
|
|
2161
|
+
const xi = /* @__PURE__ */ v(bi, [["render", Mi], ["__scopeId", "data-v-97434a45"]]);
|
|
2147
2162
|
const ki = {
|
|
2148
2163
|
props: {
|
|
2149
2164
|
text: {
|
|
@@ -2154,10 +2169,10 @@ const ki = {
|
|
|
2154
2169
|
function Oi(e, t, s, n, a, o) {
|
|
2155
2170
|
return r(), p("div", Ti, [
|
|
2156
2171
|
u("div", $i, [
|
|
2157
|
-
|
|
2172
|
+
x(e.$slots, "left", {}, void 0, !0),
|
|
2158
2173
|
s.text ? (r(), p("span", Si, g(s.text), 1)) : C("", !0)
|
|
2159
2174
|
]),
|
|
2160
|
-
|
|
2175
|
+
x(e.$slots, "right", {}, void 0, !0)
|
|
2161
2176
|
]);
|
|
2162
2177
|
}
|
|
2163
2178
|
const Vi = /* @__PURE__ */ v(ki, [["render", Oi], ["__scopeId", "data-v-6e7b4167"]]);
|
|
@@ -2203,8 +2218,8 @@ const Fi = {
|
|
|
2203
2218
|
function Pi(e, t, s, n, a, o) {
|
|
2204
2219
|
const i = f("BIMDataCardBand");
|
|
2205
2220
|
return r(), p("div", {
|
|
2206
|
-
class:
|
|
2207
|
-
style:
|
|
2221
|
+
class: S(["bimdata-card", o.classes]),
|
|
2222
|
+
style: T({ "min-width": s.width, "border-radius": s.borderRadius })
|
|
2208
2223
|
}, [
|
|
2209
2224
|
s.titleHeader || e.$slots.headerIcons ? (r(), B(i, {
|
|
2210
2225
|
key: 0,
|
|
@@ -2212,7 +2227,7 @@ function Pi(e, t, s, n, a, o) {
|
|
|
2212
2227
|
class: "bimdata-card__header"
|
|
2213
2228
|
}, {
|
|
2214
2229
|
right: h(() => [
|
|
2215
|
-
|
|
2230
|
+
x(e.$slots, "headerIcons", {}, void 0, !0)
|
|
2216
2231
|
]),
|
|
2217
2232
|
_: 3
|
|
2218
2233
|
}, 8, ["text"])) : C("", !0),
|
|
@@ -2222,18 +2237,18 @@ function Pi(e, t, s, n, a, o) {
|
|
|
2222
2237
|
text: s.submenuText
|
|
2223
2238
|
}, {
|
|
2224
2239
|
left: h(() => [
|
|
2225
|
-
|
|
2240
|
+
x(e.$slots, "left", {}, void 0, !0)
|
|
2226
2241
|
]),
|
|
2227
2242
|
right: h(() => [
|
|
2228
|
-
|
|
2243
|
+
x(e.$slots, "right", {}, void 0, !0)
|
|
2229
2244
|
]),
|
|
2230
2245
|
_: 3
|
|
2231
2246
|
}, 8, ["text"])) : C("", !0),
|
|
2232
2247
|
e.$slots.content ? (r(), p("div", Ei, [
|
|
2233
|
-
|
|
2248
|
+
x(e.$slots, "content", {}, void 0, !0)
|
|
2234
2249
|
])) : C("", !0),
|
|
2235
2250
|
e.$slots.footer ? (r(), p("footer", Li, [
|
|
2236
|
-
|
|
2251
|
+
x(e.$slots, "footer", {}, void 0, !0)
|
|
2237
2252
|
])) : C("", !0)
|
|
2238
2253
|
], 6);
|
|
2239
2254
|
}
|
|
@@ -2265,9 +2280,9 @@ function zi(e, t, s, n, a, o) {
|
|
|
2265
2280
|
key: `colorLine${l}`
|
|
2266
2281
|
}, [
|
|
2267
2282
|
(r(!0), p(z, null, J(c, ([d, m], y) => (r(), p("div", {
|
|
2268
|
-
class:
|
|
2283
|
+
class: S(["color-selector__line__element", { selected: m === s.modelValue }]),
|
|
2269
2284
|
key: `colorElement${y}ofColorLine${l}`,
|
|
2270
|
-
style:
|
|
2285
|
+
style: T(`background-color: #${m}`),
|
|
2271
2286
|
title: d,
|
|
2272
2287
|
onClick: P((D) => e.$emit("update:modelValue", m), ["stop"])
|
|
2273
2288
|
}, null, 14, Hi))), 128))
|
|
@@ -2295,8 +2310,8 @@ const Ri = {
|
|
|
2295
2310
|
},
|
|
2296
2311
|
emits: ["update-extension", "delete-extension"],
|
|
2297
2312
|
setup(e, { emit: t }) {
|
|
2298
|
-
const s =
|
|
2299
|
-
return
|
|
2313
|
+
const s = $(!1), n = $(!1), a = $(!1), o = $(e.extension[he(e.extensionType)]), i = $(e.extension.color), c = $(null);
|
|
2314
|
+
return ne(s, () => setTimeout(() => s.value && c.value.focus(), 50)), {
|
|
2300
2315
|
// References
|
|
2301
2316
|
editMode: s,
|
|
2302
2317
|
extensionColor: i,
|
|
@@ -2375,7 +2390,7 @@ function Ji(e, t, s, n, a, o) {
|
|
|
2375
2390
|
n.EXTENSION_WITH_COLOR.includes(s.extensionType) ? (r(), p(z, { key: 0 }, [
|
|
2376
2391
|
u("span", {
|
|
2377
2392
|
class: "setting-card-item__color",
|
|
2378
|
-
style:
|
|
2393
|
+
style: T({
|
|
2379
2394
|
"border-color": n.adjustBorderColor(`${n.extensionColor}`, -50),
|
|
2380
2395
|
"background-color": `#${n.extensionColor}`
|
|
2381
2396
|
}),
|
|
@@ -2446,7 +2461,7 @@ const Xi = {
|
|
|
2446
2461
|
setup(e, { emit: t }) {
|
|
2447
2462
|
const s = j(
|
|
2448
2463
|
() => Ft(e.extensionType, e.detailedExtensions)
|
|
2449
|
-
), n =
|
|
2464
|
+
), n = $(null), a = $(""), o = $(!1), i = () => o.value = !1, c = () => o.value = !o.value, l = $(!1), d = () => {
|
|
2450
2465
|
a.value = "", l.value = !1;
|
|
2451
2466
|
};
|
|
2452
2467
|
return {
|
|
@@ -2510,7 +2525,7 @@ function la(e, t, s, n, a, o) {
|
|
|
2510
2525
|
_: 1
|
|
2511
2526
|
}, 8, ["onClick"])
|
|
2512
2527
|
]),
|
|
2513
|
-
_(
|
|
2528
|
+
_(oe, { name: "slide-fade-up" }, {
|
|
2514
2529
|
default: h(() => [
|
|
2515
2530
|
W(u("div", oa, [
|
|
2516
2531
|
_(d, {
|
|
@@ -2721,17 +2736,17 @@ function wa(e, t, s, n, a, o) {
|
|
|
2721
2736
|
const i = f("BIMDataIconDoubleChevron"), c = f("BIMDataButton"), l = f("BIMDataIconChevron");
|
|
2722
2737
|
return r(), p("ul", {
|
|
2723
2738
|
class: "bimdata-list bimdata-navigation",
|
|
2724
|
-
style:
|
|
2739
|
+
style: T({ "background-color": s.backgroundColor })
|
|
2725
2740
|
}, [
|
|
2726
2741
|
u("li", ya, [
|
|
2727
|
-
|
|
2742
|
+
x(e.$slots, "left", {}, void 0, !0)
|
|
2728
2743
|
]),
|
|
2729
2744
|
s.first ? (r(), p("li", ba, [
|
|
2730
2745
|
_(c, {
|
|
2731
2746
|
onClick: t[0] || (t[0] = (d) => e.$emit("first")),
|
|
2732
2747
|
disabled: s.firstDisabled,
|
|
2733
2748
|
ghost: "",
|
|
2734
|
-
class:
|
|
2749
|
+
class: S({ disabled: s.firstDisabled }),
|
|
2735
2750
|
width: "21px",
|
|
2736
2751
|
height: "21px"
|
|
2737
2752
|
}, {
|
|
@@ -2749,7 +2764,7 @@ function wa(e, t, s, n, a, o) {
|
|
|
2749
2764
|
onClick: t[1] || (t[1] = (d) => e.$emit("previous")),
|
|
2750
2765
|
disabled: s.previousDisabled,
|
|
2751
2766
|
ghost: "",
|
|
2752
|
-
class:
|
|
2767
|
+
class: S({ disabled: s.previousDisabled }),
|
|
2753
2768
|
width: "21px",
|
|
2754
2769
|
height: "21px"
|
|
2755
2770
|
}, {
|
|
@@ -2763,14 +2778,14 @@ function wa(e, t, s, n, a, o) {
|
|
|
2763
2778
|
}, 8, ["disabled", "class"])
|
|
2764
2779
|
])) : C("", !0),
|
|
2765
2780
|
u("li", null, [
|
|
2766
|
-
|
|
2781
|
+
x(e.$slots, "default", {}, void 0, !0)
|
|
2767
2782
|
]),
|
|
2768
2783
|
s.next ? (r(), p("li", Da, [
|
|
2769
2784
|
_(c, {
|
|
2770
2785
|
onClick: t[2] || (t[2] = (d) => e.$emit("next")),
|
|
2771
2786
|
disabled: s.nextDisabled,
|
|
2772
2787
|
ghost: "",
|
|
2773
|
-
class:
|
|
2788
|
+
class: S({ disabled: s.nextDisabled }),
|
|
2774
2789
|
width: "21px",
|
|
2775
2790
|
height: "21px"
|
|
2776
2791
|
}, {
|
|
@@ -2785,7 +2800,7 @@ function wa(e, t, s, n, a, o) {
|
|
|
2785
2800
|
onClick: t[3] || (t[3] = (d) => e.$emit("last")),
|
|
2786
2801
|
disabled: s.lastDisabled,
|
|
2787
2802
|
ghost: "",
|
|
2788
|
-
class:
|
|
2803
|
+
class: S({ disabled: s.lastDisabled }),
|
|
2789
2804
|
width: "21px",
|
|
2790
2805
|
height: "21px"
|
|
2791
2806
|
}, {
|
|
@@ -2796,7 +2811,7 @@ function wa(e, t, s, n, a, o) {
|
|
|
2796
2811
|
}, 8, ["disabled", "class"])
|
|
2797
2812
|
])) : C("", !0),
|
|
2798
2813
|
u("li", Ia, [
|
|
2799
|
-
|
|
2814
|
+
x(e.$slots, "right", {}, void 0, !0)
|
|
2800
2815
|
])
|
|
2801
2816
|
], 4);
|
|
2802
2817
|
}
|
|
@@ -2920,7 +2935,7 @@ function Oa(e, t, s, n, a, o) {
|
|
|
2920
2935
|
return r(), p("div", Sa, [
|
|
2921
2936
|
u("div", {
|
|
2922
2937
|
class: "bimdata-spinner--square",
|
|
2923
|
-
style:
|
|
2938
|
+
style: T(o.getStyle())
|
|
2924
2939
|
}, null, 4)
|
|
2925
2940
|
]);
|
|
2926
2941
|
}
|
|
@@ -3029,21 +3044,21 @@ function Na(e, t, s, n, a, o) {
|
|
|
3029
3044
|
const i = f("BIMDataSpinner"), c = f("BIMDataPagination");
|
|
3030
3045
|
return r(), p("div", Ea, [
|
|
3031
3046
|
s.loading ? (r(), B(i, { key: 0 })) : (r(), p("div", La, [
|
|
3032
|
-
|
|
3047
|
+
x(e.$slots, "header", {}, void 0, !0),
|
|
3033
3048
|
u("ul", Pa, [
|
|
3034
3049
|
(r(!0), p(z, null, J(o.page, (l) => (r(), p("li", {
|
|
3035
3050
|
key: s.elementKey ? l[s.elementKey] : l,
|
|
3036
3051
|
onClick: (d) => e.$emit("element-click", l),
|
|
3037
3052
|
ref_for: !0,
|
|
3038
3053
|
ref: "elements",
|
|
3039
|
-
class:
|
|
3054
|
+
class: S({ "active-element": o.isElementActive(l) })
|
|
3040
3055
|
}, [
|
|
3041
|
-
|
|
3056
|
+
x(e.$slots, "element", { element: l }, () => [
|
|
3042
3057
|
A(g(l && l.toString()), 1)
|
|
3043
3058
|
], !0)
|
|
3044
3059
|
], 10, Aa))), 128))
|
|
3045
3060
|
]),
|
|
3046
|
-
s.list.length === 0 ?
|
|
3061
|
+
s.list.length === 0 ? x(e.$slots, "empty", { key: 0 }, void 0, !0) : C("", !0),
|
|
3047
3062
|
o.totalPages > 1 ? (r(), B(c, {
|
|
3048
3063
|
key: 1,
|
|
3049
3064
|
length: s.list.length,
|
|
@@ -3145,7 +3160,7 @@ function qa(e, t, s, n, a, o) {
|
|
|
3145
3160
|
return r(), p("div", Ha, [
|
|
3146
3161
|
(r(), p("svg", {
|
|
3147
3162
|
viewBox: o.viewBox,
|
|
3148
|
-
style:
|
|
3163
|
+
style: T(`--graph-draw-time: ${s.graphDrawTime}s;`)
|
|
3149
3164
|
}, [
|
|
3150
3165
|
s.placeholder ? (r(), p("circle", {
|
|
3151
3166
|
key: 0,
|
|
@@ -3232,7 +3247,7 @@ function sl(e, t, s, n, a, o) {
|
|
|
3232
3247
|
u("div", Xa, [
|
|
3233
3248
|
u("span", {
|
|
3234
3249
|
class: "bcf-statistics__content__legend__item__mark",
|
|
3235
|
-
style:
|
|
3250
|
+
style: T({ borderColor: l.color })
|
|
3236
3251
|
}, null, 4),
|
|
3237
3252
|
u("span", Qa, g(l.percentage.toFixed(0)) + " % ", 1),
|
|
3238
3253
|
u("span", el, [
|
|
@@ -3323,7 +3338,7 @@ function al(e, t, s, n, a, o) {
|
|
|
3323
3338
|
return r(), p("div", {
|
|
3324
3339
|
ref: "textBox",
|
|
3325
3340
|
class: "bimdata-textbox",
|
|
3326
|
-
style:
|
|
3341
|
+
style: T({
|
|
3327
3342
|
width: s.width,
|
|
3328
3343
|
minWidth: s.minWidth,
|
|
3329
3344
|
maxWidth: s.maxWidth
|
|
@@ -3334,7 +3349,7 @@ function al(e, t, s, n, a, o) {
|
|
|
3334
3349
|
u("span", {
|
|
3335
3350
|
ref: "textHead",
|
|
3336
3351
|
class: "bimdata-textbox__text--head",
|
|
3337
|
-
style:
|
|
3352
|
+
style: T({
|
|
3338
3353
|
width: a.textTail ? "50%" : "100%",
|
|
3339
3354
|
direction: s.cutPosition === "start" ? "rtl" : "ltr"
|
|
3340
3355
|
})
|
|
@@ -3348,7 +3363,7 @@ function al(e, t, s, n, a, o) {
|
|
|
3348
3363
|
]),
|
|
3349
3364
|
s.tooltip && a.isOverflowing ? W((r(), p("div", {
|
|
3350
3365
|
key: 0,
|
|
3351
|
-
class:
|
|
3366
|
+
class: S(["bimdata-textbox__tooltip", [
|
|
3352
3367
|
`bimdata-textbox__tooltip--${s.tooltipPosition}`,
|
|
3353
3368
|
`bimdata-textbox__tooltip--${s.tooltipColor}`
|
|
3354
3369
|
]])
|
|
@@ -3398,7 +3413,7 @@ const _l = {
|
|
|
3398
3413
|
},
|
|
3399
3414
|
emits: ["open-topic", "update:selected"],
|
|
3400
3415
|
setup(e) {
|
|
3401
|
-
const t =
|
|
3416
|
+
const t = $(!1), s = j(() => me(e.topic, e.detailedExtensions)), n = j(() => Ge(e.topic, e.detailedExtensions)), a = j(
|
|
3402
3417
|
() => {
|
|
3403
3418
|
var i, c;
|
|
3404
3419
|
return (c = (i = e.topic.viewpoints) == null ? void 0 : i.filter((l) => l.snapshot)[0]) == null ? void 0 : c.snapshot.snapshot_data;
|
|
@@ -3422,14 +3437,14 @@ const _l = {
|
|
|
3422
3437
|
function wl(e, t, s, n, a, o) {
|
|
3423
3438
|
const i = f("BIMDataTextbox"), c = f("BIMDataCheckbox"), l = f("BIMDataIconInformation"), d = f("BcfTopicDefaultImage"), m = f("BIMDataIconModel3D"), y = f("BIMDataButton");
|
|
3424
3439
|
return r(), p("div", {
|
|
3425
|
-
class:
|
|
3440
|
+
class: S(["bcf-topic-card", { selected: s.selected }]),
|
|
3426
3441
|
onMouseover: t[2] || (t[2] = (D) => n.hover = !0),
|
|
3427
3442
|
onMouseleave: t[3] || (t[3] = (D) => n.hover = !1)
|
|
3428
3443
|
}, [
|
|
3429
3444
|
u("div", fl, [
|
|
3430
3445
|
u("div", {
|
|
3431
3446
|
class: "index",
|
|
3432
|
-
style:
|
|
3447
|
+
style: T({
|
|
3433
3448
|
"background-color": `#${n.priorityColor}`,
|
|
3434
3449
|
color: n.adjustTextColor(`#${n.priorityColor}`, "#FFF", "var(--color-text)")
|
|
3435
3450
|
})
|
|
@@ -3453,7 +3468,7 @@ function wl(e, t, s, n, a, o) {
|
|
|
3453
3468
|
s.topic.topic_status ? (r(), p("div", {
|
|
3454
3469
|
key: 0,
|
|
3455
3470
|
class: "status",
|
|
3456
|
-
style:
|
|
3471
|
+
style: T({
|
|
3457
3472
|
"background-color": `#${n.statusColor}`,
|
|
3458
3473
|
color: n.adjustTextColor(`#${n.statusColor}`, "#FFF", "var(--color-text)")
|
|
3459
3474
|
})
|
|
@@ -3479,7 +3494,7 @@ function wl(e, t, s, n, a, o) {
|
|
|
3479
3494
|
u("div", null, [
|
|
3480
3495
|
u("strong", null, g(e.$t("BcfComponents.BcfTopicCard.priority")), 1),
|
|
3481
3496
|
u("span", {
|
|
3482
|
-
style:
|
|
3497
|
+
style: T({ color: `#${n.priorityColor}` })
|
|
3483
3498
|
}, g(s.topic.priority || e.$t("BcfComponents.BcfTopicCard.noPriority")), 5)
|
|
3484
3499
|
]),
|
|
3485
3500
|
u("div", null, [
|
|
@@ -3575,7 +3590,7 @@ function Hl(e, t, s, n, a, o) {
|
|
|
3575
3590
|
return r(), p("div", Al, [
|
|
3576
3591
|
u("div", {
|
|
3577
3592
|
class: "safe-zone",
|
|
3578
|
-
style:
|
|
3593
|
+
style: T({ width: s.width })
|
|
3579
3594
|
}, [
|
|
3580
3595
|
u("div", Nl, [
|
|
3581
3596
|
_(i, {
|
|
@@ -3585,11 +3600,11 @@ function Hl(e, t, s, n, a, o) {
|
|
|
3585
3600
|
color: "high"
|
|
3586
3601
|
}, null, 8, ["name"]),
|
|
3587
3602
|
u("p", null, [
|
|
3588
|
-
|
|
3603
|
+
x(e.$slots, "text", {}, void 0, !0)
|
|
3589
3604
|
])
|
|
3590
3605
|
]),
|
|
3591
3606
|
u("div", Ul, [
|
|
3592
|
-
|
|
3607
|
+
x(e.$slots, "actions", {}, void 0, !0)
|
|
3593
3608
|
])
|
|
3594
3609
|
], 4)
|
|
3595
3610
|
]);
|
|
@@ -4475,9 +4490,9 @@ const Jl = {
|
|
|
4475
4490
|
function sr(e, t, s, n, a, o) {
|
|
4476
4491
|
const i = f("BIMDataIconDelete"), c = f("BIMDataButton");
|
|
4477
4492
|
return r(), p("div", {
|
|
4478
|
-
class:
|
|
4493
|
+
class: S({ "not-empty": o.formattedValue })
|
|
4479
4494
|
}, [
|
|
4480
|
-
|
|
4495
|
+
x(e.$slots, "beforeDateInput"),
|
|
4481
4496
|
e.calendarButton ? (r(), p("button", {
|
|
4482
4497
|
key: 0,
|
|
4483
4498
|
ref: "calendarButton",
|
|
@@ -4488,9 +4503,9 @@ function sr(e, t, s, n, a, o) {
|
|
|
4488
4503
|
onFocus: t[1] || (t[1] = (...l) => o.handleButtonFocus && o.handleButtonFocus(...l))
|
|
4489
4504
|
}, [
|
|
4490
4505
|
u("span", null, [
|
|
4491
|
-
|
|
4506
|
+
x(e.$slots, "calendarBtn", {}, () => [
|
|
4492
4507
|
u("i", {
|
|
4493
|
-
class:
|
|
4508
|
+
class: S(e.calendarButtonIcon)
|
|
4494
4509
|
}, [
|
|
4495
4510
|
A(g(e.calendarButtonIconContent) + " ", 1),
|
|
4496
4511
|
e.calendarButtonIcon ? C("", !0) : (r(), p("span", Ql, "…"))
|
|
@@ -4506,7 +4521,7 @@ function sr(e, t, s, n, a, o) {
|
|
|
4506
4521
|
ref: e.refName,
|
|
4507
4522
|
autocomplete: "off",
|
|
4508
4523
|
autofocus: e.autofocus,
|
|
4509
|
-
class:
|
|
4524
|
+
class: S([o.computedInputClass, { required: s.required }]),
|
|
4510
4525
|
clearButton: e.clearButton,
|
|
4511
4526
|
disabled: e.disabled,
|
|
4512
4527
|
maxlength: e.maxlength,
|
|
@@ -4545,7 +4560,7 @@ function sr(e, t, s, n, a, o) {
|
|
|
4545
4560
|
onClick: o.clearDate
|
|
4546
4561
|
}, {
|
|
4547
4562
|
default: h(() => [
|
|
4548
|
-
|
|
4563
|
+
x(e.$slots, "clearBtn", {}, () => [
|
|
4549
4564
|
_(i, {
|
|
4550
4565
|
size: "xxxs",
|
|
4551
4566
|
fill: "",
|
|
@@ -4555,7 +4570,7 @@ function sr(e, t, s, n, a, o) {
|
|
|
4555
4570
|
]),
|
|
4556
4571
|
_: 3
|
|
4557
4572
|
}, 8, ["disabled", "onClick"])) : C("", !0),
|
|
4558
|
-
|
|
4573
|
+
x(e.$slots, "afterDateInput")
|
|
4559
4574
|
], 2);
|
|
4560
4575
|
}
|
|
4561
4576
|
const nr = /* @__PURE__ */ v(Gl, [["render", sr]]), or = {
|
|
@@ -4759,9 +4774,9 @@ const nr = /* @__PURE__ */ v(Gl, [["render", sr]]), or = {
|
|
|
4759
4774
|
function cr(e, t, s, n, a, o) {
|
|
4760
4775
|
const i = f("BIMDataIconDelete"), c = f("BIMDataButton");
|
|
4761
4776
|
return r(), p("div", {
|
|
4762
|
-
class:
|
|
4777
|
+
class: S({ "not-empty": o.formattedValue })
|
|
4763
4778
|
}, [
|
|
4764
|
-
|
|
4779
|
+
x(e.$slots, "beforeDateInput"),
|
|
4765
4780
|
e.calendarButton ? (r(), p("button", {
|
|
4766
4781
|
key: 0,
|
|
4767
4782
|
ref: "calendarButton",
|
|
@@ -4772,9 +4787,9 @@ function cr(e, t, s, n, a, o) {
|
|
|
4772
4787
|
onFocus: t[1] || (t[1] = (...l) => o.handleButtonFocus && o.handleButtonFocus(...l))
|
|
4773
4788
|
}, [
|
|
4774
4789
|
u("span", null, [
|
|
4775
|
-
|
|
4790
|
+
x(e.$slots, "calendarBtn", {}, () => [
|
|
4776
4791
|
u("i", {
|
|
4777
|
-
class:
|
|
4792
|
+
class: S(e.calendarButtonIcon)
|
|
4778
4793
|
}, [
|
|
4779
4794
|
A(g(e.calendarButtonIconContent) + " ", 1),
|
|
4780
4795
|
e.calendarButtonIcon ? C("", !0) : (r(), p("span", ar, "…"))
|
|
@@ -4790,7 +4805,7 @@ function cr(e, t, s, n, a, o) {
|
|
|
4790
4805
|
ref: e.refName,
|
|
4791
4806
|
autocomplete: "off",
|
|
4792
4807
|
autofocus: e.autofocus,
|
|
4793
|
-
class:
|
|
4808
|
+
class: S([o.computedInputClass, { required: s.required }]),
|
|
4794
4809
|
clearButton: e.clearButton,
|
|
4795
4810
|
disabled: e.disabled,
|
|
4796
4811
|
maxlength: e.maxlength,
|
|
@@ -4829,7 +4844,7 @@ function cr(e, t, s, n, a, o) {
|
|
|
4829
4844
|
onClick: o.clear
|
|
4830
4845
|
}, {
|
|
4831
4846
|
default: h(() => [
|
|
4832
|
-
|
|
4847
|
+
x(e.$slots, "clearBtn", {}, () => [
|
|
4833
4848
|
_(i, {
|
|
4834
4849
|
size: "xxxs",
|
|
4835
4850
|
fill: "",
|
|
@@ -4839,7 +4854,7 @@ function cr(e, t, s, n, a, o) {
|
|
|
4839
4854
|
]),
|
|
4840
4855
|
_: 3
|
|
4841
4856
|
}, 8, ["disabled", "onClick"])) : C("", !0),
|
|
4842
|
-
|
|
4857
|
+
x(e.$slots, "afterDateInput")
|
|
4843
4858
|
], 2);
|
|
4844
4859
|
}
|
|
4845
4860
|
const dr = /* @__PURE__ */ v(or, [["render", cr]]), ur = {
|
|
@@ -5471,7 +5486,7 @@ function yr(e, t, s, n, a, o) {
|
|
|
5471
5486
|
t[4] || (t[4] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
|
|
5472
5487
|
]
|
|
5473
5488
|
}, [
|
|
5474
|
-
|
|
5489
|
+
x(e.$slots, "prevIntervalBtn", {}, () => [
|
|
5475
5490
|
_(i, {
|
|
5476
5491
|
name: "doubleChevron",
|
|
5477
5492
|
size: "xxxs",
|
|
@@ -5494,7 +5509,7 @@ function yr(e, t, s, n, a, o) {
|
|
|
5494
5509
|
t[9] || (t[9] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
|
|
5495
5510
|
]
|
|
5496
5511
|
}, [
|
|
5497
|
-
|
|
5512
|
+
x(e.$slots, "prevIntervalBtn", {}, () => [
|
|
5498
5513
|
_(i, {
|
|
5499
5514
|
name: "chevron",
|
|
5500
5515
|
size: "xxxs",
|
|
@@ -5504,7 +5519,7 @@ function yr(e, t, s, n, a, o) {
|
|
|
5504
5519
|
})
|
|
5505
5520
|
])
|
|
5506
5521
|
], 40, hr),
|
|
5507
|
-
|
|
5522
|
+
x(e.$slots, "default"),
|
|
5508
5523
|
u("button", {
|
|
5509
5524
|
ref: "next",
|
|
5510
5525
|
class: "next",
|
|
@@ -5518,7 +5533,7 @@ function yr(e, t, s, n, a, o) {
|
|
|
5518
5533
|
t[14] || (t[14] = F(P((...d) => o.arrowRightNext && o.arrowRightNext(...d), ["prevent"]), ["right"]))
|
|
5519
5534
|
]
|
|
5520
5535
|
}, [
|
|
5521
|
-
|
|
5536
|
+
x(e.$slots, "nextIntervalBtn", {}, () => [
|
|
5522
5537
|
_(c, {
|
|
5523
5538
|
size: "xxxs",
|
|
5524
5539
|
fill: "",
|
|
@@ -5540,7 +5555,7 @@ function yr(e, t, s, n, a, o) {
|
|
|
5540
5555
|
t[19] || (t[19] = F(P((...d) => o.arrowRightPrev && o.arrowRightPrev(...d), ["prevent"]), ["right"]))
|
|
5541
5556
|
]
|
|
5542
5557
|
}, [
|
|
5543
|
-
|
|
5558
|
+
x(e.$slots, "prevIntervalBtn", {}, () => [
|
|
5544
5559
|
_(l, {
|
|
5545
5560
|
size: "xxxs",
|
|
5546
5561
|
fill: "",
|
|
@@ -5934,7 +5949,7 @@ function Ir(e, t, s, n, a, o) {
|
|
|
5934
5949
|
key: i.timestamp,
|
|
5935
5950
|
ref_for: !0,
|
|
5936
5951
|
ref: i.isOpenDate ? "openDate" : null,
|
|
5937
|
-
class:
|
|
5952
|
+
class: S(o.cellClasses(i)),
|
|
5938
5953
|
id: c,
|
|
5939
5954
|
dataTestTabbableCell: o.isTabbableCell(i, c),
|
|
5940
5955
|
dataTestOpenDate: i.isOpenDate,
|
|
@@ -5950,7 +5965,7 @@ function Ir(e, t, s, n, a, o) {
|
|
|
5950
5965
|
],
|
|
5951
5966
|
onMouseover: (l) => e.$emit("hover", i)
|
|
5952
5967
|
}, [
|
|
5953
|
-
|
|
5968
|
+
x(e.$slots, "default", { cell: i })
|
|
5954
5969
|
], 42, Cr))), 128))
|
|
5955
5970
|
]);
|
|
5956
5971
|
}
|
|
@@ -5976,7 +5991,7 @@ function Mr(e, t, s, n, a, o) {
|
|
|
5976
5991
|
t[4] || (t[4] = F(P((i) => e.$emit("set-focus"), ["prevent"]), ["right"]))
|
|
5977
5992
|
]
|
|
5978
5993
|
}, [
|
|
5979
|
-
|
|
5994
|
+
x(e.$slots, "default")
|
|
5980
5995
|
], 40, Br);
|
|
5981
5996
|
}
|
|
5982
5997
|
const at = /* @__PURE__ */ v(wr, [["render", Mr]]), xr = {
|
|
@@ -6224,7 +6239,7 @@ function Or(e, t, s, n, a, o) {
|
|
|
6224
6239
|
const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
|
|
6225
6240
|
return r(), p("div", null, [
|
|
6226
6241
|
e.$slots.beforeCalendarHeaderDay ? (r(), p("div", kr, [
|
|
6227
|
-
|
|
6242
|
+
x(e.$slots, "beforeCalendarHeaderDay")
|
|
6228
6243
|
])) : C("", !0),
|
|
6229
6244
|
e.showHeader ? (r(), B(c, {
|
|
6230
6245
|
key: 1,
|
|
@@ -6237,10 +6252,10 @@ function Or(e, t, s, n, a, o) {
|
|
|
6237
6252
|
onSetFocus: t[3] || (t[3] = (d) => e.$emit("set-focus", d))
|
|
6238
6253
|
}, {
|
|
6239
6254
|
prevIntervalBtn: h(() => [
|
|
6240
|
-
|
|
6255
|
+
x(e.$slots, "prevIntervalBtn")
|
|
6241
6256
|
]),
|
|
6242
6257
|
nextIntervalBtn: h(() => [
|
|
6243
|
-
|
|
6258
|
+
x(e.$slots, "nextIntervalBtn")
|
|
6244
6259
|
]),
|
|
6245
6260
|
default: h(() => [
|
|
6246
6261
|
_(i, {
|
|
@@ -6263,7 +6278,7 @@ function Or(e, t, s, n, a, o) {
|
|
|
6263
6278
|
(r(!0), p(z, null, J(o.daysOfWeek, (d) => (r(), p("span", { key: d }, g(d), 1))), 128))
|
|
6264
6279
|
]),
|
|
6265
6280
|
u("div", $r, [
|
|
6266
|
-
_(
|
|
6281
|
+
_(oe, { name: e.transitionName }, {
|
|
6267
6282
|
default: h(() => [
|
|
6268
6283
|
(r(), B(l, {
|
|
6269
6284
|
ref: "cells",
|
|
@@ -6277,7 +6292,7 @@ function Or(e, t, s, n, a, o) {
|
|
|
6277
6292
|
onHover: t[6] || (t[6] = (d) => o.hover(d))
|
|
6278
6293
|
}, {
|
|
6279
6294
|
default: h(({ cell: d }) => [
|
|
6280
|
-
|
|
6295
|
+
x(e.$slots, "dayCellContent", { cell: d }, () => [
|
|
6281
6296
|
A(g(s.dayCellContent(d)), 1)
|
|
6282
6297
|
])
|
|
6283
6298
|
]),
|
|
@@ -6289,7 +6304,7 @@ function Or(e, t, s, n, a, o) {
|
|
|
6289
6304
|
])
|
|
6290
6305
|
]),
|
|
6291
6306
|
e.$slots.calendarFooterDay ? (r(), p("div", Sr, [
|
|
6292
|
-
|
|
6307
|
+
x(e.$slots, "calendarFooterDay")
|
|
6293
6308
|
])) : C("", !0)
|
|
6294
6309
|
]);
|
|
6295
6310
|
}
|
|
@@ -6382,7 +6397,7 @@ function Ar(e, t, s, n, a, o) {
|
|
|
6382
6397
|
const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
|
|
6383
6398
|
return r(), p("div", null, [
|
|
6384
6399
|
e.$slots.beforeCalendarHeaderMonth ? (r(), p("div", Er, [
|
|
6385
|
-
|
|
6400
|
+
x(e.$slots, "beforeCalendarHeaderMonth")
|
|
6386
6401
|
])) : C("", !0),
|
|
6387
6402
|
e.showHeader ? (r(), B(c, {
|
|
6388
6403
|
key: 1,
|
|
@@ -6394,10 +6409,10 @@ function Ar(e, t, s, n, a, o) {
|
|
|
6394
6409
|
onSetFocus: t[3] || (t[3] = (d) => e.$emit("set-focus", d))
|
|
6395
6410
|
}, {
|
|
6396
6411
|
prevIntervalBtn: h(() => [
|
|
6397
|
-
|
|
6412
|
+
x(e.$slots, "prevIntervalBtn")
|
|
6398
6413
|
]),
|
|
6399
6414
|
nextIntervalBtn: h(() => [
|
|
6400
|
-
|
|
6415
|
+
x(e.$slots, "nextIntervalBtn")
|
|
6401
6416
|
]),
|
|
6402
6417
|
default: h(() => [
|
|
6403
6418
|
_(i, {
|
|
@@ -6416,7 +6431,7 @@ function Ar(e, t, s, n, a, o) {
|
|
|
6416
6431
|
_: 3
|
|
6417
6432
|
}, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : C("", !0),
|
|
6418
6433
|
u("div", Lr, [
|
|
6419
|
-
_(
|
|
6434
|
+
_(oe, { name: e.transitionName }, {
|
|
6420
6435
|
default: h(() => [
|
|
6421
6436
|
(r(), B(l, {
|
|
6422
6437
|
ref: "cells",
|
|
@@ -6437,7 +6452,7 @@ function Ar(e, t, s, n, a, o) {
|
|
|
6437
6452
|
}, 8, ["name"])
|
|
6438
6453
|
]),
|
|
6439
6454
|
e.$slots.calendarFooterMonth ? (r(), p("div", Pr, [
|
|
6440
|
-
|
|
6455
|
+
x(e.$slots, "calendarFooterMonth")
|
|
6441
6456
|
])) : C("", !0)
|
|
6442
6457
|
]);
|
|
6443
6458
|
}
|
|
@@ -6555,7 +6570,7 @@ function Rr(e, t, s, n, a, o) {
|
|
|
6555
6570
|
const i = f("UpButton"), c = f("PickerHeader"), l = f("PickerCells");
|
|
6556
6571
|
return r(), p("div", null, [
|
|
6557
6572
|
e.$slots.beforeCalendarHeaderYear ? (r(), p("div", Hr, [
|
|
6558
|
-
|
|
6573
|
+
x(e.$slots, "beforeCalendarHeaderYear")
|
|
6559
6574
|
])) : C("", !0),
|
|
6560
6575
|
e.showHeader ? (r(), B(c, {
|
|
6561
6576
|
key: 1,
|
|
@@ -6567,10 +6582,10 @@ function Rr(e, t, s, n, a, o) {
|
|
|
6567
6582
|
onSetFocus: t[1] || (t[1] = (d) => e.$emit("set-focus", d))
|
|
6568
6583
|
}, {
|
|
6569
6584
|
prevIntervalBtn: h(() => [
|
|
6570
|
-
|
|
6585
|
+
x(e.$slots, "prevIntervalBtn")
|
|
6571
6586
|
]),
|
|
6572
6587
|
nextIntervalBtn: h(() => [
|
|
6573
|
-
|
|
6588
|
+
x(e.$slots, "nextIntervalBtn")
|
|
6574
6589
|
]),
|
|
6575
6590
|
default: h(() => [
|
|
6576
6591
|
_(i, {
|
|
@@ -6586,7 +6601,7 @@ function Rr(e, t, s, n, a, o) {
|
|
|
6586
6601
|
_: 3
|
|
6587
6602
|
}, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : C("", !0),
|
|
6588
6603
|
u("div", zr, [
|
|
6589
|
-
_(
|
|
6604
|
+
_(oe, { name: e.transitionName }, {
|
|
6590
6605
|
default: h(() => [
|
|
6591
6606
|
(r(), B(l, {
|
|
6592
6607
|
ref: "cells",
|
|
@@ -6607,7 +6622,7 @@ function Rr(e, t, s, n, a, o) {
|
|
|
6607
6622
|
}, 8, ["name"])
|
|
6608
6623
|
]),
|
|
6609
6624
|
e.$slots.calendarFooterYear ? (r(), p("div", jr, [
|
|
6610
|
-
|
|
6625
|
+
x(e.$slots, "calendarFooterYear")
|
|
6611
6626
|
])) : C("", !0)
|
|
6612
6627
|
]);
|
|
6613
6628
|
}
|
|
@@ -7091,7 +7106,7 @@ function Xr(e, t, s, n, a, o) {
|
|
|
7091
7106
|
return r(), p("div", {
|
|
7092
7107
|
id: o.datepickerId,
|
|
7093
7108
|
ref: "datepicker",
|
|
7094
|
-
class:
|
|
7109
|
+
class: S(["bimdata-datepicker", [s.wrapperClass]]),
|
|
7095
7110
|
onFocusin: t[10] || (t[10] = (l) => e.handleFocusIn(l)),
|
|
7096
7111
|
onFocusout: t[11] || (t[11] = (l) => e.handleFocusOut(l)),
|
|
7097
7112
|
onKeydown: t[12] || (t[12] = F((...l) => o.resetOrClose && o.resetOrClose(...l), ["esc"]))
|
|
@@ -7129,19 +7144,19 @@ function Xr(e, t, s, n, a, o) {
|
|
|
7129
7144
|
onOpen: o.open,
|
|
7130
7145
|
onSetFocus: t[0] || (t[0] = (l) => e.setFocus(l)),
|
|
7131
7146
|
onTab: e.tabThroughNavigation,
|
|
7132
|
-
style:
|
|
7147
|
+
style: T(o.style)
|
|
7133
7148
|
}, {
|
|
7134
7149
|
beforeDateInput: h(() => [
|
|
7135
|
-
|
|
7150
|
+
x(e.$slots, "beforeDateInput")
|
|
7136
7151
|
]),
|
|
7137
7152
|
afterDateInput: h(() => [
|
|
7138
|
-
|
|
7153
|
+
x(e.$slots, "afterDateInput")
|
|
7139
7154
|
]),
|
|
7140
7155
|
clearBtn: h(() => [
|
|
7141
|
-
|
|
7156
|
+
x(e.$slots, "clearBtn")
|
|
7142
7157
|
]),
|
|
7143
7158
|
calendarBtn: h(() => [
|
|
7144
|
-
|
|
7159
|
+
x(e.$slots, "calendarBtn")
|
|
7145
7160
|
]),
|
|
7146
7161
|
_: 3
|
|
7147
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, {
|
|
@@ -7178,27 +7193,27 @@ function Xr(e, t, s, n, a, o) {
|
|
|
7178
7193
|
onOpen: o.open,
|
|
7179
7194
|
onSetFocus: t[1] || (t[1] = (l) => e.setFocus(l)),
|
|
7180
7195
|
onTab: e.tabThroughNavigation,
|
|
7181
|
-
style:
|
|
7196
|
+
style: T(o.style)
|
|
7182
7197
|
}, {
|
|
7183
7198
|
beforeDateInput: h(() => [
|
|
7184
|
-
|
|
7199
|
+
x(e.$slots, "beforeDateInput")
|
|
7185
7200
|
]),
|
|
7186
7201
|
afterDateInput: h(() => [
|
|
7187
|
-
|
|
7202
|
+
x(e.$slots, "afterDateInput")
|
|
7188
7203
|
]),
|
|
7189
7204
|
clearBtn: h(() => [
|
|
7190
|
-
|
|
7205
|
+
x(e.$slots, "clearBtn")
|
|
7191
7206
|
]),
|
|
7192
7207
|
calendarBtn: h(() => [
|
|
7193
|
-
|
|
7208
|
+
x(e.$slots, "calendarBtn")
|
|
7194
7209
|
]),
|
|
7195
7210
|
_: 3
|
|
7196
7211
|
}, 8, ["id", "autofocus", "calendarButton", "calendarButtonIcon", "calendarButtonIconContent", "clearButton", "clearButtonIcon", "disabled", "format", "inline", "inputClass", "isOpen", "maxlength", "name", "parser", "pattern", "placeholder", "refName", "required", "selectedDate", "showCalendarOnButtonClick", "showCalendarOnFocus", "tabIndex", "translation", "typeable", "useUtc", "onClearDate", "onClose", "onOpen", "onTab", "style"])),
|
|
7197
7212
|
o.isOpen ? (r(), p("div", Wr, [
|
|
7198
|
-
_(
|
|
7213
|
+
_(oe, { name: "toggle" }, {
|
|
7199
7214
|
default: h(() => [
|
|
7200
7215
|
W(u("div", {
|
|
7201
|
-
class:
|
|
7216
|
+
class: S(["bimdata-datepicker__calendar", [o.pickerClasses, s.fixedPosition]]),
|
|
7202
7217
|
onMousedown: t[5] || (t[5] = P(() => {
|
|
7203
7218
|
}, ["prevent"])),
|
|
7204
7219
|
onFocusin: t[6] || (t[6] = P((l) => e.handleFocusIn(l), ["stop"])),
|
|
@@ -7208,14 +7223,14 @@ function Xr(e, t, s, n, a, o) {
|
|
|
7208
7223
|
t[9] || (t[9] = F(P((l) => e.tabThroughNavigation(l), ["stop"]), ["tab"]))
|
|
7209
7224
|
]
|
|
7210
7225
|
}, [
|
|
7211
|
-
_(
|
|
7226
|
+
_(oe, { name: "view" }, {
|
|
7212
7227
|
default: h(() => [
|
|
7213
7228
|
(r(), p("div", {
|
|
7214
7229
|
ref: "view",
|
|
7215
7230
|
key: a.view
|
|
7216
7231
|
}, [
|
|
7217
7232
|
e.$slots.beforeCalendarHeader ? (r(), p("div", Jr, [
|
|
7218
|
-
|
|
7233
|
+
x(e.$slots, "beforeCalendarHeader")
|
|
7219
7234
|
])) : C("", !0),
|
|
7220
7235
|
(r(), B(Me(o.picker), {
|
|
7221
7236
|
ref: "picker",
|
|
@@ -7249,7 +7264,7 @@ function Xr(e, t, s, n, a, o) {
|
|
|
7249
7264
|
onSetView: o.setView
|
|
7250
7265
|
}, Dt({
|
|
7251
7266
|
dayCellContent: h(({ cell: l }) => [
|
|
7252
|
-
l ?
|
|
7267
|
+
l ? x(e.$slots, "dayCellContent", {
|
|
7253
7268
|
key: 0,
|
|
7254
7269
|
cell: l
|
|
7255
7270
|
}) : C("", !0)
|
|
@@ -7259,12 +7274,12 @@ function Xr(e, t, s, n, a, o) {
|
|
|
7259
7274
|
J(a.calendarSlots, (l) => ({
|
|
7260
7275
|
name: l,
|
|
7261
7276
|
fn: h(() => [
|
|
7262
|
-
|
|
7277
|
+
x(e.$slots, l)
|
|
7263
7278
|
])
|
|
7264
7279
|
}))
|
|
7265
7280
|
]), 1064, ["day-cell-content", "disabledDates", "firstDayOfWeek", "typeable", "isUpDisabled", "isMinimumView", "openDate", "pageDate", "selectedDate", "selectedToDate", "isDateRange", "showEdgeDates", "fullMonthName", "showHeader", "slideDuration", "tabbableCellId", "transitionName", "translation", "useUtc", "view", "yearPickerRange", "onPageChange", "onSelect", "onSetView"])),
|
|
7266
7281
|
e.$slots.calendarFooter ? (r(), p("div", Gr, [
|
|
7267
|
-
|
|
7282
|
+
x(e.$slots, "calendarFooter")
|
|
7268
7283
|
])) : C("", !0)
|
|
7269
7284
|
]))
|
|
7270
7285
|
]),
|
|
@@ -7352,11 +7367,11 @@ const Qr = /* @__PURE__ */ v(Yr, [["render", Xr]]), ec = {
|
|
|
7352
7367
|
};
|
|
7353
7368
|
function tc(e, t, s, n, a, o) {
|
|
7354
7369
|
return r(), B(Me(s.component), {
|
|
7355
|
-
style:
|
|
7356
|
-
class:
|
|
7370
|
+
style: T(o.style),
|
|
7371
|
+
class: S(o.classes)
|
|
7357
7372
|
}, {
|
|
7358
7373
|
default: h(() => [
|
|
7359
|
-
|
|
7374
|
+
x(e.$slots, "default")
|
|
7360
7375
|
]),
|
|
7361
7376
|
_: 3
|
|
7362
7377
|
}, 8, ["style", "class"]);
|
|
@@ -7485,12 +7500,12 @@ const rc = {
|
|
|
7485
7500
|
};
|
|
7486
7501
|
function hc(e, t, s, n, a, o) {
|
|
7487
7502
|
return r(), p("div", {
|
|
7488
|
-
class:
|
|
7503
|
+
class: S(["bimdata-textarea", {
|
|
7489
7504
|
"not-empty": s.modelValue !== null && s.modelValue !== "" || s.placeholder !== null,
|
|
7490
7505
|
error: s.error,
|
|
7491
7506
|
success: s.success
|
|
7492
7507
|
}]),
|
|
7493
|
-
style:
|
|
7508
|
+
style: T({ "min-width": s.width, "min-height": s.height })
|
|
7494
7509
|
}, [
|
|
7495
7510
|
u("textarea", Be({
|
|
7496
7511
|
ref: "textarea",
|
|
@@ -7577,19 +7592,19 @@ function yc(e, t, s, n, a, o) {
|
|
|
7577
7592
|
onMouseover: t[0] || (t[0] = (i) => a.hover = !0),
|
|
7578
7593
|
onMouseleave: t[1] || (t[1] = (i) => a.hover = !1)
|
|
7579
7594
|
}, [
|
|
7580
|
-
|
|
7581
|
-
|
|
7595
|
+
x(e.$slots, "content", {}, void 0, !0),
|
|
7596
|
+
x(e.$slots, "default", {}, void 0, !0)
|
|
7582
7597
|
], 32),
|
|
7583
|
-
_(
|
|
7598
|
+
_(oe, { name: "fade" }, {
|
|
7584
7599
|
default: h(() => [
|
|
7585
7600
|
W(u("div", {
|
|
7586
7601
|
ref: "tooltipText",
|
|
7587
|
-
class:
|
|
7602
|
+
class: S(["bimdata-tooltip__tooltip", [
|
|
7588
7603
|
`bimdata-tooltip__tooltip--${s.position}`,
|
|
7589
7604
|
`bimdata-tooltip__tooltip--${s.color}`,
|
|
7590
7605
|
...o._className
|
|
7591
7606
|
]]),
|
|
7592
|
-
style:
|
|
7607
|
+
style: T({ maxWidth: s.maxWidth })
|
|
7593
7608
|
}, g(o._text), 7), [
|
|
7594
7609
|
[ee, o.isDisplayed]
|
|
7595
7610
|
])
|
|
@@ -7658,7 +7673,7 @@ function Oc(e, t, s, n, a, o) {
|
|
|
7658
7673
|
s.viewpoints.length > 0 ? (r(), p(z, { key: 0 }, [
|
|
7659
7674
|
u("div", wc, [
|
|
7660
7675
|
(r(!0), p(z, null, J(s.viewpoints.slice(0, 4), (m, y) => (r(), p("div", {
|
|
7661
|
-
class:
|
|
7676
|
+
class: S(["image-preview", { single: s.viewpoints.length === 1 }]),
|
|
7662
7677
|
key: m.guid || y
|
|
7663
7678
|
}, [
|
|
7664
7679
|
m.snapshot.snapshot_data ? (r(), p("img", {
|
|
@@ -7795,7 +7810,7 @@ function Uc(e, t, s, n, a, o) {
|
|
|
7795
7810
|
const i = f("BIMDataIconCamera"), c = f("BIMDataButton"), l = f("BIMDataTooltip"), d = f("BIMDataIconUnarchive");
|
|
7796
7811
|
return s.isXs ? (r(), p("div", {
|
|
7797
7812
|
key: 0,
|
|
7798
|
-
class:
|
|
7813
|
+
class: S(["bcf-topic-snapshots-actions flex", { "bcf-topic-snapshots-actions__xs": s.isXs }])
|
|
7799
7814
|
}, [
|
|
7800
7815
|
_(l, {
|
|
7801
7816
|
disabled: s.viewpoints.length >= 4,
|
|
@@ -7940,7 +7955,7 @@ function Kc(e, t, s, n, a, o) {
|
|
|
7940
7955
|
return r(), p("div", zc, [
|
|
7941
7956
|
s.viewpoints.length > 0 ? (r(), p("div", jc, [
|
|
7942
7957
|
(r(!0), p(z, null, J(s.viewpoints.slice(0, 4), (d, m) => (r(), p("div", {
|
|
7943
|
-
class:
|
|
7958
|
+
class: S(["snapshot-preview", { single: s.viewpoints.length === 1 }]),
|
|
7944
7959
|
key: d.guid || m
|
|
7945
7960
|
}, [
|
|
7946
7961
|
d.snapshot.snapshot_data ? (r(), p("img", {
|
|
@@ -8068,12 +8083,12 @@ const Zc = {
|
|
|
8068
8083
|
"topic-update-error"
|
|
8069
8084
|
],
|
|
8070
8085
|
setup(e, { emit: t }) {
|
|
8071
|
-
const s = Ce(), n = j(() => !e.topic), a = j(() => Math.max(0, ...e.topics.map((U) => U.index)) + 1), o =
|
|
8072
|
-
() => w.value.concat(
|
|
8073
|
-
), K =
|
|
8074
|
-
o.value = "", i.value = null, c.value = null, l.value = null, d.value = null, m.value = null, y.value = null, D.value = "", b.value = [], w.value = [],
|
|
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;
|
|
8075
8090
|
};
|
|
8076
|
-
return
|
|
8091
|
+
return ne(
|
|
8077
8092
|
() => e.topic,
|
|
8078
8093
|
(U) => {
|
|
8079
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();
|
|
@@ -8084,7 +8099,7 @@ const Zc = {
|
|
|
8084
8099
|
hasErrorTitle: K,
|
|
8085
8100
|
isCreation: n,
|
|
8086
8101
|
isOpenModal: R,
|
|
8087
|
-
loading:
|
|
8102
|
+
loading: O,
|
|
8088
8103
|
nextIndex: a,
|
|
8089
8104
|
topicAssignedTo: m,
|
|
8090
8105
|
topicDescription: D,
|
|
@@ -8098,33 +8113,33 @@ const Zc = {
|
|
|
8098
8113
|
viewpointsToDisplay: L,
|
|
8099
8114
|
// Methods
|
|
8100
8115
|
createViewpoint: (U) => {
|
|
8101
|
-
|
|
8116
|
+
V.value.push(U);
|
|
8102
8117
|
},
|
|
8103
8118
|
deleteViewpoint: (U) => {
|
|
8104
8119
|
if (U.guid)
|
|
8105
8120
|
N.value.push(U);
|
|
8106
8121
|
else {
|
|
8107
|
-
let
|
|
8108
|
-
|
|
8122
|
+
let k = V.value.indexOf(U);
|
|
8123
|
+
V.value.splice(k, 1);
|
|
8109
8124
|
}
|
|
8110
8125
|
},
|
|
8111
8126
|
submit: async () => {
|
|
8112
|
-
var U,
|
|
8127
|
+
var U, k;
|
|
8113
8128
|
if (!o.value) {
|
|
8114
8129
|
K.value = !0;
|
|
8115
8130
|
return;
|
|
8116
8131
|
}
|
|
8117
8132
|
try {
|
|
8118
|
-
|
|
8133
|
+
O.value = !0, M.value = w.value.map((Y) => ({
|
|
8119
8134
|
...Y,
|
|
8120
8135
|
snapshot: void 0
|
|
8121
|
-
})),
|
|
8136
|
+
})), M.value.length === 0 && V.value.sort(
|
|
8122
8137
|
(Y, se) => (Y.order ?? 1 / 0) - (se.order ?? 1 / 0)
|
|
8123
8138
|
);
|
|
8124
|
-
const I =
|
|
8139
|
+
const I = M.value.concat(V.value);
|
|
8125
8140
|
e.topicObjects && (I.length > 0 ? I.forEach((Y) => {
|
|
8126
8141
|
Object.assign(Y, { components: e.topicObjects }), bs(Y);
|
|
8127
|
-
}) :
|
|
8142
|
+
}) : V.value.push({ components: e.topicObjects })), e.topicAnnotations && I.forEach((Y) => Y.pins = e.topicAnnotations);
|
|
8128
8143
|
const E = {
|
|
8129
8144
|
guid: (U = e.topic) == null ? void 0 : U.guid,
|
|
8130
8145
|
title: o.value,
|
|
@@ -8137,14 +8152,14 @@ const Zc = {
|
|
|
8137
8152
|
description: D.value,
|
|
8138
8153
|
labels: b.value,
|
|
8139
8154
|
// Keep topic models unchanged if any, otherwise use provided topic models.
|
|
8140
|
-
models: ((
|
|
8155
|
+
models: ((k = e.topic) == null ? void 0 : k.models) || e.topicModels
|
|
8141
8156
|
};
|
|
8142
8157
|
let H;
|
|
8143
8158
|
n.value ? H = await s.createTopic(e.project, E) : H = await s.updateTopic(e.project, E), await Promise.all([
|
|
8144
|
-
...
|
|
8159
|
+
...V.value.map(
|
|
8145
8160
|
(Y) => s.createViewpoint(e.project, H, Y)
|
|
8146
8161
|
),
|
|
8147
|
-
|
|
8162
|
+
...M.value.map(
|
|
8148
8163
|
(Y) => s.updateViewpoint(e.project, H, Y)
|
|
8149
8164
|
),
|
|
8150
8165
|
...N.value.map(
|
|
@@ -8154,7 +8169,7 @@ const Zc = {
|
|
|
8154
8169
|
} catch (I) {
|
|
8155
8170
|
t(n.value ? "topic-create-error" : "topic-update-error", I);
|
|
8156
8171
|
} finally {
|
|
8157
|
-
|
|
8172
|
+
O.value = !1;
|
|
8158
8173
|
}
|
|
8159
8174
|
}
|
|
8160
8175
|
};
|
|
@@ -8170,7 +8185,7 @@ const Zc = {
|
|
|
8170
8185
|
class: "bcf-topic-form__loader"
|
|
8171
8186
|
};
|
|
8172
8187
|
function cd(e, t, s, n, a, o) {
|
|
8173
|
-
const i = f("BIMDataIconArrow"), c = f("BIMDataButton"), l = f("BIMDataTextbox"), d = f("BIMDataIconClose"), m = f("BcfTopicSnapshots"), y = f("BcfTopicSnapshotsActions"), D = f("BIMDataIconPlus"), b = f("BIMDataTooltip"), w = f("BcfTopicImages"),
|
|
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");
|
|
8174
8189
|
return r(), p("div", Wc, [
|
|
8175
8190
|
u("div", Jc, [
|
|
8176
8191
|
s.uiConfig.backButton ? (r(), B(c, {
|
|
@@ -8178,7 +8193,7 @@ function cd(e, t, s, n, a, o) {
|
|
|
8178
8193
|
ghost: "",
|
|
8179
8194
|
rounded: "",
|
|
8180
8195
|
icon: "",
|
|
8181
|
-
onClick: t[0] || (t[0] = (
|
|
8196
|
+
onClick: t[0] || (t[0] = (O) => e.$emit("back"))
|
|
8182
8197
|
}, {
|
|
8183
8198
|
default: h(() => [
|
|
8184
8199
|
_(i, {
|
|
@@ -8203,7 +8218,7 @@ function cd(e, t, s, n, a, o) {
|
|
|
8203
8218
|
ghost: "",
|
|
8204
8219
|
rounded: "",
|
|
8205
8220
|
icon: "",
|
|
8206
|
-
onClick: t[1] || (t[1] = (
|
|
8221
|
+
onClick: t[1] || (t[1] = (O) => e.$emit("close"))
|
|
8207
8222
|
}, {
|
|
8208
8223
|
default: h(() => [
|
|
8209
8224
|
_(d, {
|
|
@@ -8239,7 +8254,7 @@ function cd(e, t, s, n, a, o) {
|
|
|
8239
8254
|
fill: "",
|
|
8240
8255
|
radius: "",
|
|
8241
8256
|
disabled: !s.objectsEditEnabled,
|
|
8242
|
-
onClick: t[2] || (t[2] = (
|
|
8257
|
+
onClick: t[2] || (t[2] = (O) => e.$emit("edit-topic-objects", s.topic))
|
|
8243
8258
|
}, {
|
|
8244
8259
|
default: h(() => [
|
|
8245
8260
|
_(D, {
|
|
@@ -8263,7 +8278,7 @@ function cd(e, t, s, n, a, o) {
|
|
|
8263
8278
|
fill: "",
|
|
8264
8279
|
radius: "",
|
|
8265
8280
|
disabled: !s.annotationsEditEnabled || n.viewpointsToDisplay.length === 0,
|
|
8266
|
-
onClick: t[3] || (t[3] = (
|
|
8281
|
+
onClick: t[3] || (t[3] = (O) => e.$emit("edit-topic-annotations", s.topic))
|
|
8267
8282
|
}, {
|
|
8268
8283
|
default: h(() => [
|
|
8269
8284
|
_(D, {
|
|
@@ -8286,53 +8301,53 @@ function cd(e, t, s, n, a, o) {
|
|
|
8286
8301
|
onDeleteViewpoint: n.deleteViewpoint
|
|
8287
8302
|
}, null, 8, ["viewpoints", "onCreateViewpoint", "onDeleteViewpoint"])),
|
|
8288
8303
|
u("div", id, [
|
|
8289
|
-
_(
|
|
8304
|
+
_(V, {
|
|
8290
8305
|
placeholder: e.$t("BcfComponents.BcfTopicForm.titlePlaceholder"),
|
|
8291
8306
|
error: n.hasErrorTitle,
|
|
8292
8307
|
errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
|
|
8293
8308
|
modelValue: n.topicTitle,
|
|
8294
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
8309
|
+
"onUpdate:modelValue": t[4] || (t[4] = (O) => n.topicTitle = O),
|
|
8295
8310
|
onKeyup: F(P(n.submit, ["stop"]), ["enter"])
|
|
8296
8311
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
|
|
8297
|
-
_(
|
|
8312
|
+
_(M, {
|
|
8298
8313
|
width: "100%",
|
|
8299
8314
|
label: e.$t("BcfComponents.BcfTopicForm.typeLabel"),
|
|
8300
8315
|
options: s.extensions.topic_type,
|
|
8301
8316
|
disabled: s.extensions.topic_type.length === 0,
|
|
8302
8317
|
modelValue: n.topicType,
|
|
8303
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
8318
|
+
"onUpdate:modelValue": t[5] || (t[5] = (O) => n.topicType = O)
|
|
8304
8319
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
8305
|
-
_(
|
|
8320
|
+
_(M, {
|
|
8306
8321
|
width: "100%",
|
|
8307
8322
|
label: e.$t("BcfComponents.BcfTopicForm.priorityLabel"),
|
|
8308
8323
|
options: s.extensions.priority,
|
|
8309
8324
|
disabled: s.extensions.priority.length === 0,
|
|
8310
8325
|
modelValue: n.topicPriority,
|
|
8311
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
8326
|
+
"onUpdate:modelValue": t[6] || (t[6] = (O) => n.topicPriority = O)
|
|
8312
8327
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
8313
|
-
_(
|
|
8328
|
+
_(M, {
|
|
8314
8329
|
width: "100%",
|
|
8315
8330
|
label: e.$t("BcfComponents.BcfTopicForm.statusLabel"),
|
|
8316
8331
|
options: s.extensions.topic_status,
|
|
8317
8332
|
disabled: s.extensions.topic_status.length === 0,
|
|
8318
8333
|
modelValue: n.topicStatus,
|
|
8319
|
-
"onUpdate:modelValue": t[7] || (t[7] = (
|
|
8334
|
+
"onUpdate:modelValue": t[7] || (t[7] = (O) => n.topicStatus = O)
|
|
8320
8335
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
8321
|
-
_(
|
|
8336
|
+
_(M, {
|
|
8322
8337
|
width: "100%",
|
|
8323
8338
|
label: e.$t("BcfComponents.BcfTopicForm.stageLabel"),
|
|
8324
8339
|
options: s.extensions.stage,
|
|
8325
8340
|
disabled: s.extensions.stage.length === 0,
|
|
8326
8341
|
modelValue: n.topicStage,
|
|
8327
|
-
"onUpdate:modelValue": t[8] || (t[8] = (
|
|
8342
|
+
"onUpdate:modelValue": t[8] || (t[8] = (O) => n.topicStage = O)
|
|
8328
8343
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
8329
|
-
_(
|
|
8344
|
+
_(M, {
|
|
8330
8345
|
width: "100%",
|
|
8331
8346
|
label: e.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
|
|
8332
8347
|
options: s.extensions.user_id_type,
|
|
8333
8348
|
disabled: s.extensions.user_id_type.length === 0,
|
|
8334
8349
|
modelValue: n.topicAssignedTo,
|
|
8335
|
-
"onUpdate:modelValue": t[9] || (t[9] = (
|
|
8350
|
+
"onUpdate:modelValue": t[9] || (t[9] = (O) => n.topicAssignedTo = O)
|
|
8336
8351
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
8337
8352
|
u("div", ad, [
|
|
8338
8353
|
_(N, {
|
|
@@ -8340,7 +8355,7 @@ function cd(e, t, s, n, a, o) {
|
|
|
8340
8355
|
placeholder: e.$t("BcfComponents.BcfTopicForm.dueDateLabel"),
|
|
8341
8356
|
value: n.topicDueDate,
|
|
8342
8357
|
modelValue: n.topicDueDate,
|
|
8343
|
-
"onUpdate:modelValue": t[10] || (t[10] = (
|
|
8358
|
+
"onUpdate:modelValue": t[10] || (t[10] = (O) => n.topicDueDate = O),
|
|
8344
8359
|
clearButton: !0
|
|
8345
8360
|
}, null, 8, ["placeholder", "value", "modelValue"])
|
|
8346
8361
|
]),
|
|
@@ -8349,16 +8364,16 @@ function cd(e, t, s, n, a, o) {
|
|
|
8349
8364
|
name: "description",
|
|
8350
8365
|
label: e.$t("BcfComponents.BcfTopicForm.descriptionLabel"),
|
|
8351
8366
|
modelValue: n.topicDescription,
|
|
8352
|
-
"onUpdate:modelValue": t[11] || (t[11] = (
|
|
8367
|
+
"onUpdate:modelValue": t[11] || (t[11] = (O) => n.topicDescription = O),
|
|
8353
8368
|
fitContent: ""
|
|
8354
8369
|
}, null, 8, ["label", "modelValue"]),
|
|
8355
|
-
_(
|
|
8370
|
+
_(M, {
|
|
8356
8371
|
width: "100%",
|
|
8357
8372
|
label: e.$t("BcfComponents.BcfTopicForm.labelsLabel"),
|
|
8358
8373
|
options: s.extensions.topic_label,
|
|
8359
8374
|
disabled: s.extensions.topic_label.length === 0,
|
|
8360
8375
|
modelValue: n.topicLabels,
|
|
8361
|
-
"onUpdate:modelValue": t[12] || (t[12] = (
|
|
8376
|
+
"onUpdate:modelValue": t[12] || (t[12] = (O) => n.topicLabels = O),
|
|
8362
8377
|
multi: !0
|
|
8363
8378
|
}, null, 8, ["label", "options", "disabled", "modelValue"])
|
|
8364
8379
|
])
|
|
@@ -8391,7 +8406,7 @@ function cd(e, t, s, n, a, o) {
|
|
|
8391
8406
|
color: "high",
|
|
8392
8407
|
fill: "",
|
|
8393
8408
|
radius: "",
|
|
8394
|
-
onClick: t[13] || (t[13] = (
|
|
8409
|
+
onClick: t[13] || (t[13] = (O) => e.$emit("close"))
|
|
8395
8410
|
}, {
|
|
8396
8411
|
default: h(() => [
|
|
8397
8412
|
A(g(e.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
|
|
@@ -8402,7 +8417,7 @@ function cd(e, t, s, n, a, o) {
|
|
|
8402
8417
|
color: "primary",
|
|
8403
8418
|
outline: "",
|
|
8404
8419
|
radius: "",
|
|
8405
|
-
onClick: t[14] || (t[14] = (
|
|
8420
|
+
onClick: t[14] || (t[14] = (O) => n.isOpenModal = !1)
|
|
8406
8421
|
}, {
|
|
8407
8422
|
default: h(() => [
|
|
8408
8423
|
A(g(e.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
|
|
@@ -8500,14 +8515,14 @@ function fd(e, t, s, n, a, o) {
|
|
|
8500
8515
|
class: "bimdata-dropdown-list",
|
|
8501
8516
|
direction: s.directionClass,
|
|
8502
8517
|
closeOnElementClick: s.closeOnElementClick,
|
|
8503
|
-
style:
|
|
8518
|
+
style: T(o.style)
|
|
8504
8519
|
}, [
|
|
8505
8520
|
u("div", {
|
|
8506
|
-
class:
|
|
8521
|
+
class: S(["bimdata-dropdown-list__content", { active: a.displayed, disabled: s.disabled }]),
|
|
8507
8522
|
onClick: t[0] || (t[0] = (...m) => o.onHeaderClick && o.onHeaderClick(...m)),
|
|
8508
|
-
style:
|
|
8523
|
+
style: T(o.style)
|
|
8509
8524
|
}, [
|
|
8510
|
-
|
|
8525
|
+
x(e.$slots, "header", { isOpen: a.displayed }, void 0, !0),
|
|
8511
8526
|
_(c, {
|
|
8512
8527
|
color: "default",
|
|
8513
8528
|
icon: "",
|
|
@@ -8524,14 +8539,14 @@ function fd(e, t, s, n, a, o) {
|
|
|
8524
8539
|
]),
|
|
8525
8540
|
_: 1
|
|
8526
8541
|
}),
|
|
8527
|
-
|
|
8542
|
+
x(e.$slots, "contentAfterBtn", { isOpen: a.displayed }, void 0, !0)
|
|
8528
8543
|
], 6),
|
|
8529
|
-
_(
|
|
8544
|
+
_(oe, {
|
|
8530
8545
|
name: `slide-fade-${s.transitionName}`
|
|
8531
8546
|
}, {
|
|
8532
8547
|
default: h(() => [
|
|
8533
8548
|
W(_(l, {
|
|
8534
|
-
class:
|
|
8549
|
+
class: S(`submenu submenu--${s.directionClass}`),
|
|
8535
8550
|
list: s.list,
|
|
8536
8551
|
perPage: s.perPage,
|
|
8537
8552
|
elementKey: s.elementKey,
|
|
@@ -8539,7 +8554,7 @@ function fd(e, t, s, n, a, o) {
|
|
|
8539
8554
|
loading: s.loading
|
|
8540
8555
|
}, {
|
|
8541
8556
|
element: h(({ element: m }) => [
|
|
8542
|
-
|
|
8557
|
+
x(e.$slots, "element", {
|
|
8543
8558
|
element: m,
|
|
8544
8559
|
close: o.away,
|
|
8545
8560
|
isOpen: a.displayed
|
|
@@ -8591,8 +8606,8 @@ const hd = {
|
|
|
8591
8606
|
function gd(e, t, s, n, a, o) {
|
|
8592
8607
|
const i = f("BIMDataIconUser");
|
|
8593
8608
|
return r(), p("div", {
|
|
8594
|
-
class:
|
|
8595
|
-
style:
|
|
8609
|
+
class: S(["user-avatar", `user-avatar--${s.user.profile_picture ? "silver-light" : s.color}`]),
|
|
8610
|
+
style: T({
|
|
8596
8611
|
width: `${s.size}px`,
|
|
8597
8612
|
height: `${s.size}px`,
|
|
8598
8613
|
fontSize: `${s.initialsSize ? s.initialsSize : +s.size * 0.382}px`
|
|
@@ -8649,27 +8664,27 @@ const yd = {
|
|
|
8649
8664
|
},
|
|
8650
8665
|
emits: ["comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
8651
8666
|
setup(e, { emit: t }) {
|
|
8652
|
-
const s = It("$viewer", null), n = Ce(), a =
|
|
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 () => {
|
|
8653
8668
|
d.value = await n.fetchTopicCommentViewpoint(
|
|
8654
8669
|
e.project,
|
|
8655
8670
|
e.topic,
|
|
8656
8671
|
e.comment
|
|
8657
8672
|
);
|
|
8658
|
-
}, y =
|
|
8673
|
+
}, y = $(!1), D = () => {
|
|
8659
8674
|
y.value = !0, i();
|
|
8660
8675
|
}, b = () => {
|
|
8661
8676
|
y.value = !1, l.value = e.comment.comment;
|
|
8662
8677
|
}, w = async () => {
|
|
8663
8678
|
d.value.guid && await n.deleteViewpoint(e.project, e.topic, d.value), d.value = null;
|
|
8664
|
-
},
|
|
8679
|
+
}, V = $(!1), M = $([]), N = (I) => {
|
|
8665
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";
|
|
8666
8681
|
}, L = (I) => {
|
|
8667
8682
|
I.$viewer.localContext.el.style.border = "", I.$viewer.localContext.el.style.boxSizing = "", I.$viewer.localContext.el.style.opacity = "";
|
|
8668
8683
|
}, K = async () => {
|
|
8669
|
-
|
|
8684
|
+
M.value.length === 1 ? await R(M.value[0]) : M.value.length > 1 && (V.value = !0);
|
|
8670
8685
|
}, R = async ({ viewer: I }) => {
|
|
8671
|
-
L(I),
|
|
8672
|
-
},
|
|
8686
|
+
L(I), V.value = !1, d.value = await I.getViewpoint();
|
|
8687
|
+
}, O = async () => {
|
|
8673
8688
|
var I;
|
|
8674
8689
|
try {
|
|
8675
8690
|
if (e.comment.comment === l.value && !d.value) {
|
|
@@ -8694,7 +8709,7 @@ const yd = {
|
|
|
8694
8709
|
} finally {
|
|
8695
8710
|
a.value = !1;
|
|
8696
8711
|
}
|
|
8697
|
-
}, X =
|
|
8712
|
+
}, X = $(!1), q = () => {
|
|
8698
8713
|
X.value = !0, i();
|
|
8699
8714
|
}, te = async () => {
|
|
8700
8715
|
try {
|
|
@@ -8716,7 +8731,7 @@ const yd = {
|
|
|
8716
8731
|
{ viewpoint: I }
|
|
8717
8732
|
) : t("view-comment-snapshot", I);
|
|
8718
8733
|
};
|
|
8719
|
-
let U,
|
|
8734
|
+
let U, k;
|
|
8720
8735
|
return Ye(async () => {
|
|
8721
8736
|
if (e.comment.viewpoint_guid && await m(), s) {
|
|
8722
8737
|
const I = () => {
|
|
@@ -8725,14 +8740,14 @@ const yd = {
|
|
|
8725
8740
|
([H, Y]) => Y.map((se, ae) => ({ key: `${H}-${ae}`, id: H, index: ae, viewer: se }))
|
|
8726
8741
|
).flat();
|
|
8727
8742
|
};
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
}),
|
|
8731
|
-
|
|
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();
|
|
8732
8747
|
});
|
|
8733
8748
|
}
|
|
8734
8749
|
}), wt(() => {
|
|
8735
|
-
s && (s.globalContext.hub.off(U), s.globalContext.hub.off(
|
|
8750
|
+
s && (s.globalContext.hub.off(U), s.globalContext.hub.off(k));
|
|
8736
8751
|
}), {
|
|
8737
8752
|
// References
|
|
8738
8753
|
isDeleting: X,
|
|
@@ -8741,8 +8756,8 @@ const yd = {
|
|
|
8741
8756
|
loading: a,
|
|
8742
8757
|
showMenu: o,
|
|
8743
8758
|
text: l,
|
|
8744
|
-
viewerSelectOptions:
|
|
8745
|
-
viewerSelectVisible:
|
|
8759
|
+
viewerSelectOptions: M,
|
|
8760
|
+
viewerSelectVisible: V,
|
|
8746
8761
|
viewpoint: d,
|
|
8747
8762
|
// Methods
|
|
8748
8763
|
cancelUpdate: b,
|
|
@@ -8755,7 +8770,7 @@ const yd = {
|
|
|
8755
8770
|
openCommentSnapshot: Q,
|
|
8756
8771
|
setCommentViewpoint: K,
|
|
8757
8772
|
submitDelete: te,
|
|
8758
|
-
submitUpdate:
|
|
8773
|
+
submitUpdate: O,
|
|
8759
8774
|
toggleMenu: c,
|
|
8760
8775
|
loadViewpoint: m,
|
|
8761
8776
|
unhighlightViewer: L
|
|
@@ -8775,7 +8790,7 @@ const yd = {
|
|
|
8775
8790
|
class: "topic-comment__content__snapshot"
|
|
8776
8791
|
}, Fd = ["src"];
|
|
8777
8792
|
function Ed(e, t, s, n, a, o) {
|
|
8778
|
-
const i = f("UserAvatar"), c = f("BIMDataIconUser"), l = f("BIMDataTextbox"), d = f("BIMDataIconEdit"), m = f("BIMDataButton"), y = f("BIMDataIconDelete"), D = f("BIMDataIconClose"), b = f("BIMDataIconUndo"), w = f("BIMDataIconValidate"),
|
|
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");
|
|
8779
8794
|
return r(), p("div", vd, [
|
|
8780
8795
|
u("div", Dd, [
|
|
8781
8796
|
u("div", Cd, [
|
|
@@ -8926,7 +8941,7 @@ function Ed(e, t, s, n, a, o) {
|
|
|
8926
8941
|
onClick: n.toggleMenu
|
|
8927
8942
|
}, {
|
|
8928
8943
|
default: h(() => [
|
|
8929
|
-
_(
|
|
8944
|
+
_(V, {
|
|
8930
8945
|
size: "l",
|
|
8931
8946
|
fill: "",
|
|
8932
8947
|
color: "granite-light"
|
|
@@ -8938,8 +8953,8 @@ function Ed(e, t, s, n, a, o) {
|
|
|
8938
8953
|
])
|
|
8939
8954
|
]),
|
|
8940
8955
|
u("div", $d, [
|
|
8941
|
-
_(
|
|
8942
|
-
class:
|
|
8956
|
+
_(M, {
|
|
8957
|
+
class: S({ editing: n.isEditing }),
|
|
8943
8958
|
width: "100%",
|
|
8944
8959
|
rows: "1",
|
|
8945
8960
|
modelValue: n.text,
|
|
@@ -8973,8 +8988,8 @@ function Ed(e, t, s, n, a, o) {
|
|
|
8973
8988
|
element: h(({ element: R }) => [
|
|
8974
8989
|
u("div", {
|
|
8975
8990
|
style: { width: "100%" },
|
|
8976
|
-
onMouseenter: (
|
|
8977
|
-
onMouseleave: (
|
|
8991
|
+
onMouseenter: (O) => n.highlightViewer(R.viewer),
|
|
8992
|
+
onMouseleave: (O) => n.unhighlightViewer(R.viewer)
|
|
8978
8993
|
}, g(`${R.id} (${R.index})`), 41, Od)
|
|
8979
8994
|
]),
|
|
8980
8995
|
_: 1
|
|
@@ -9041,15 +9056,15 @@ const Pd = {
|
|
|
9041
9056
|
},
|
|
9042
9057
|
emis: ["comment-created", "comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
9043
9058
|
setup(e, { emit: t }) {
|
|
9044
|
-
const s = Ce(), n =
|
|
9059
|
+
const s = Ce(), n = $([]), a = $(!1), o = $(!1), i = $(null), c = $(""), l = $(null), d = async () => {
|
|
9045
9060
|
n.value = await s.fetchTopicComments(e.project, e.topic);
|
|
9046
|
-
}, m = It("$viewer", null), y =
|
|
9061
|
+
}, m = It("$viewer", null), y = $(!1), D = $([]), b = (q) => {
|
|
9047
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";
|
|
9048
9063
|
}, w = (q) => {
|
|
9049
9064
|
q.$viewer.localContext.el.style.border = "", q.$viewer.localContext.el.style.boxSizing = "", q.$viewer.localContext.el.style.opacity = "";
|
|
9050
|
-
},
|
|
9051
|
-
D.value.length === 1 ? await
|
|
9052
|
-
},
|
|
9065
|
+
}, V = async () => {
|
|
9066
|
+
D.value.length === 1 ? await M(D.value[0]) : D.value.length > 1 && (y.value = !0);
|
|
9067
|
+
}, M = async ({ viewer: q }) => {
|
|
9053
9068
|
w(q), y.value = !1, l.value = await q.getViewpoint();
|
|
9054
9069
|
}, N = () => {
|
|
9055
9070
|
l.value = null;
|
|
@@ -9074,28 +9089,28 @@ const Pd = {
|
|
|
9074
9089
|
}, R = (q) => {
|
|
9075
9090
|
d(), t("comment-deleted", q);
|
|
9076
9091
|
};
|
|
9077
|
-
|
|
9092
|
+
ne(
|
|
9078
9093
|
() => e.topic,
|
|
9079
9094
|
() => d(),
|
|
9080
9095
|
{ immediate: !0 }
|
|
9081
|
-
),
|
|
9082
|
-
let
|
|
9096
|
+
), ne(a, () => setTimeout(() => a.value && i.value.focus(), 50));
|
|
9097
|
+
let O, X;
|
|
9083
9098
|
return Ye(() => {
|
|
9084
9099
|
if (m) {
|
|
9085
9100
|
const q = () => {
|
|
9086
9101
|
var te;
|
|
9087
9102
|
return Object.entries(((te = e.getViewers) == null ? void 0 : te.call(e)) ?? []).map(
|
|
9088
|
-
([Q, U]) => U.map((
|
|
9103
|
+
([Q, U]) => U.map((k, I) => ({ key: `${Q}-${I}`, id: Q, index: I, viewer: k }))
|
|
9089
9104
|
).flat();
|
|
9090
9105
|
};
|
|
9091
|
-
D.value = q(),
|
|
9106
|
+
D.value = q(), O = m.globalContext.hub.on("plugin-created", () => {
|
|
9092
9107
|
D.value = q();
|
|
9093
9108
|
}), X = m.globalContext.hub.on("plugin-destroyed", () => {
|
|
9094
9109
|
D.value = q();
|
|
9095
9110
|
});
|
|
9096
9111
|
}
|
|
9097
9112
|
}), wt(() => {
|
|
9098
|
-
m && (m.globalContext.hub.off(
|
|
9113
|
+
m && (m.globalContext.hub.off(O), m.globalContext.hub.off(X));
|
|
9099
9114
|
}), {
|
|
9100
9115
|
// References
|
|
9101
9116
|
comments: n,
|
|
@@ -9108,13 +9123,13 @@ const Pd = {
|
|
|
9108
9123
|
viewpoint: l,
|
|
9109
9124
|
isViewer: !!m,
|
|
9110
9125
|
// Methods
|
|
9111
|
-
createViewpoint:
|
|
9126
|
+
createViewpoint: M,
|
|
9112
9127
|
deleteViewpoint: N,
|
|
9113
9128
|
highlightViewer: b,
|
|
9114
9129
|
loadComments: d,
|
|
9115
9130
|
onCommentDeleted: R,
|
|
9116
9131
|
onCommentUpdated: K,
|
|
9117
|
-
setCommentViewpoint:
|
|
9132
|
+
setCommentViewpoint: V,
|
|
9118
9133
|
submitComment: L,
|
|
9119
9134
|
unhighlightViewer: w
|
|
9120
9135
|
};
|
|
@@ -9344,11 +9359,11 @@ function su(e, t, s, n, a, o) {
|
|
|
9344
9359
|
u("div", {
|
|
9345
9360
|
class: "bimdata-carousel__container__slider",
|
|
9346
9361
|
ref: "slider",
|
|
9347
|
-
style:
|
|
9362
|
+
style: T({
|
|
9348
9363
|
transform: `translateX(-${a.translations[a.index]}px)`
|
|
9349
9364
|
})
|
|
9350
9365
|
}, [
|
|
9351
|
-
|
|
9366
|
+
x(e.$slots, "default", {}, void 0, !0)
|
|
9352
9367
|
], 4)
|
|
9353
9368
|
]),
|
|
9354
9369
|
W(_(c, {
|
|
@@ -9459,8 +9474,8 @@ function iu(e, t, s, n, a, o) {
|
|
|
9459
9474
|
fill: s.fill,
|
|
9460
9475
|
fillColor: s.fillColor,
|
|
9461
9476
|
color: s.color,
|
|
9462
|
-
class:
|
|
9463
|
-
style:
|
|
9477
|
+
class: S(o.classes),
|
|
9478
|
+
style: T(o.style)
|
|
9464
9479
|
}, null, 8, ["fill", "fillColor", "color", "class", "style"]);
|
|
9465
9480
|
}
|
|
9466
9481
|
const au = /* @__PURE__ */ v(ou, [["render", iu], ["__scopeId", "data-v-a53c2882"]]);
|
|
@@ -9504,12 +9519,12 @@ const lu = {
|
|
|
9504
9519
|
function cu(e, t, s, n, a, o) {
|
|
9505
9520
|
const i = f("BIMDataIconInformation"), c = f("BIMDataIcon"), l = f("BIMDataCarousel"), d = f("BcfTopicDefaultImage");
|
|
9506
9521
|
return r(), p("div", {
|
|
9507
|
-
class:
|
|
9522
|
+
class: S(["bcf-topic-viewpoints", { empty: n.viewpoints.length === 0 }])
|
|
9508
9523
|
}, [
|
|
9509
9524
|
s.topic.topic_status ? (r(), p("div", {
|
|
9510
9525
|
key: 0,
|
|
9511
9526
|
class: "status-badge",
|
|
9512
|
-
style:
|
|
9527
|
+
style: T({
|
|
9513
9528
|
backgroundColor: `#${n.statusColor}`,
|
|
9514
9529
|
color: n.adjustTextColor(`#${n.statusColor}`, "#FFF", "#2F374A")
|
|
9515
9530
|
})
|
|
@@ -9608,10 +9623,10 @@ const uu = {
|
|
|
9608
9623
|
"view-topic-viewpoint"
|
|
9609
9624
|
],
|
|
9610
9625
|
setup(e, { emit: t }) {
|
|
9611
|
-
const s = Ce(), n =
|
|
9626
|
+
const s = Ce(), n = $(!1), a = $(!1), o = j(() => me(e.topic, e.detailedExtensions)), i = j(() => {
|
|
9612
9627
|
var y, D, b;
|
|
9613
9628
|
return ((b = (D = (y = e.topic.viewpoints) == null ? void 0 : y[0]) == null ? void 0 : D.components) == null ? void 0 : b.selection) ?? [];
|
|
9614
|
-
}), c = j(() => Array.from(e.topic.labels ?? []).sort()), l =
|
|
9629
|
+
}), c = j(() => Array.from(e.topic.labels ?? []).sort()), l = $(""), d = async () => {
|
|
9615
9630
|
l.value = (await s.fetchCurrentUser()).email ?? "";
|
|
9616
9631
|
}, m = async () => {
|
|
9617
9632
|
try {
|
|
@@ -9643,7 +9658,7 @@ const uu = {
|
|
|
9643
9658
|
style: { "white-space": "pre-line" }
|
|
9644
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 };
|
|
9645
9660
|
function Ju(e, t, s, n, a, o) {
|
|
9646
|
-
const i = f("BIMDataIconArrow"), c = f("BIMDataButton"), l = f("BIMDataTextbox"), d = f("BIMDataIconEdit"), m = f("BIMDataIconDelete"), y = f("BIMDataIconClose"), D = f("BcfTopicViewpoints"), b = f("BIMDataIconModel3D"), w = f("BIMDataIconBcf"),
|
|
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");
|
|
9647
9662
|
return r(), p("div", _u, [
|
|
9648
9663
|
u("div", fu, [
|
|
9649
9664
|
s.uiConfig.backButton ? (r(), B(c, {
|
|
@@ -9715,7 +9730,7 @@ function Ju(e, t, s, n, a, o) {
|
|
|
9715
9730
|
u("div", gu, [
|
|
9716
9731
|
u("div", {
|
|
9717
9732
|
class: "bcf-topic-overview__content__head__index",
|
|
9718
|
-
style:
|
|
9733
|
+
style: T({
|
|
9719
9734
|
backgroundColor: `#${n.priorityColor}`,
|
|
9720
9735
|
color: n.adjustTextColor(`#${n.priorityColor}`, "#FFF", "#2F374A")
|
|
9721
9736
|
})
|
|
@@ -9799,7 +9814,7 @@ function Ju(e, t, s, n, a, o) {
|
|
|
9799
9814
|
u("span", zu, g(e.$t("BcfComponents.BcfTopicOverview.priority")), 1),
|
|
9800
9815
|
u("span", {
|
|
9801
9816
|
class: "value",
|
|
9802
|
-
style:
|
|
9817
|
+
style: T({ color: `#${n.priorityColor}` })
|
|
9803
9818
|
}, g(s.topic.priority || e.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 5)
|
|
9804
9819
|
]),
|
|
9805
9820
|
u("div", ju, [
|
|
@@ -9811,7 +9826,7 @@ function Ju(e, t, s, n, a, o) {
|
|
|
9811
9826
|
u("span", Zu, g(n.topicLabels.length ? n.topicLabels.join(", ") : e.$t("BcfComponents.BcfTopicOverview.noTags")), 1)
|
|
9812
9827
|
])
|
|
9813
9828
|
]),
|
|
9814
|
-
_(
|
|
9829
|
+
_(V, {
|
|
9815
9830
|
uiConfig: s.uiConfig,
|
|
9816
9831
|
project: s.project,
|
|
9817
9832
|
topic: s.topic,
|
|
@@ -9823,7 +9838,7 @@ function Ju(e, t, s, n, a, o) {
|
|
|
9823
9838
|
onViewCommentSnapshot: t[10] || (t[10] = (L) => e.$emit("view-comment-snapshot", L))
|
|
9824
9839
|
}, null, 8, ["uiConfig", "project", "topic", "currentUserEmail", "getViewers"])
|
|
9825
9840
|
]),
|
|
9826
|
-
n.showDeleteModal ? (r(), B(
|
|
9841
|
+
n.showDeleteModal ? (r(), B(M, {
|
|
9827
9842
|
key: 0,
|
|
9828
9843
|
class: "delete-modal"
|
|
9829
9844
|
}, {
|
|
@@ -9908,8 +9923,8 @@ function Xu(e, t, {
|
|
|
9908
9923
|
fullSelectionToggleEffect: a = () => {
|
|
9909
9924
|
}
|
|
9910
9925
|
} = {}) {
|
|
9911
|
-
const o =
|
|
9912
|
-
return
|
|
9926
|
+
const o = $(/* @__PURE__ */ new Map());
|
|
9927
|
+
return ne(
|
|
9913
9928
|
e,
|
|
9914
9929
|
() => {
|
|
9915
9930
|
o.value = new Map(
|
|
@@ -9917,13 +9932,13 @@ function Xu(e, t, {
|
|
|
9917
9932
|
);
|
|
9918
9933
|
},
|
|
9919
9934
|
{ immediate: !0 }
|
|
9920
|
-
),
|
|
9935
|
+
), ne(
|
|
9921
9936
|
t,
|
|
9922
9937
|
() => {
|
|
9923
9938
|
o.value = t.value;
|
|
9924
9939
|
},
|
|
9925
9940
|
{ immediate: !0 }
|
|
9926
|
-
),
|
|
9941
|
+
), ne(
|
|
9927
9942
|
o,
|
|
9928
9943
|
() => {
|
|
9929
9944
|
s(o.value);
|
|
@@ -10006,47 +10021,47 @@ const Qu = {
|
|
|
10006
10021
|
],
|
|
10007
10022
|
setup(e, { emit: t }) {
|
|
10008
10023
|
const s = j(
|
|
10009
|
-
() => e.rows.map((
|
|
10024
|
+
() => e.rows.map((M, N) => ({ key: M[e.rowKey] ?? N, data: M }))
|
|
10010
10025
|
), { rowSelection: n, toggleRowSelection: a, toggleFullSelection: o } = Xu(
|
|
10011
10026
|
s,
|
|
10012
10027
|
j(() => e.selection),
|
|
10013
10028
|
{
|
|
10014
|
-
rowSelectionUpdateEffect: (
|
|
10015
|
-
t("update:selection",
|
|
10029
|
+
rowSelectionUpdateEffect: (M) => {
|
|
10030
|
+
t("update:selection", M), t("selection-changed", Array.from(M.values()));
|
|
10016
10031
|
},
|
|
10017
|
-
rowSelectionToggleEffect: (
|
|
10018
|
-
t(
|
|
10032
|
+
rowSelectionToggleEffect: (M, { data: N }) => {
|
|
10033
|
+
t(M ? "row-selected" : "row-deselected", N);
|
|
10019
10034
|
},
|
|
10020
|
-
fullSelectionToggleEffect: (
|
|
10021
|
-
t(
|
|
10035
|
+
fullSelectionToggleEffect: (M) => {
|
|
10036
|
+
t(M ? "all-selected" : "all-deselected");
|
|
10022
10037
|
}
|
|
10023
10038
|
}
|
|
10024
|
-
), i = (
|
|
10025
|
-
e.selectable && a(
|
|
10039
|
+
), i = (M) => {
|
|
10040
|
+
e.selectable && a(M);
|
|
10026
10041
|
}, c = () => {
|
|
10027
10042
|
e.selectable && o();
|
|
10028
|
-
}, l =
|
|
10029
|
-
|
|
10043
|
+
}, l = $([]), d = $(0), m = $(1), y = $(e.perPage);
|
|
10044
|
+
ne(
|
|
10030
10045
|
[s, () => e.perPage],
|
|
10031
10046
|
() => {
|
|
10032
10047
|
d.value = 0;
|
|
10033
10048
|
},
|
|
10034
10049
|
{ immediate: !0 }
|
|
10035
|
-
),
|
|
10050
|
+
), ne(
|
|
10036
10051
|
[s, () => e.paginated, () => e.perPage, d],
|
|
10037
|
-
([
|
|
10038
|
-
const R =
|
|
10052
|
+
([M, N, L, K]) => {
|
|
10053
|
+
const R = M.map((O) => O.key);
|
|
10039
10054
|
if (N) {
|
|
10040
|
-
const
|
|
10041
|
-
l.value = R.slice(
|
|
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);
|
|
10042
10057
|
} else
|
|
10043
10058
|
l.value = R;
|
|
10044
10059
|
},
|
|
10045
10060
|
{ immediate: !0 }
|
|
10046
10061
|
);
|
|
10047
|
-
const D = (
|
|
10048
|
-
e.canDragOverRow(
|
|
10049
|
-
}, b =
|
|
10062
|
+
const D = (M, N) => {
|
|
10063
|
+
e.canDragOverRow(M) && (t("row-drop", { data: M, event: N }), b.value = null);
|
|
10064
|
+
}, b = $(null);
|
|
10050
10065
|
return {
|
|
10051
10066
|
// References
|
|
10052
10067
|
computedRows: s,
|
|
@@ -10058,8 +10073,8 @@ const Qu = {
|
|
|
10058
10073
|
dragOveredRowKey: b,
|
|
10059
10074
|
// Methods
|
|
10060
10075
|
onDrop: D,
|
|
10061
|
-
onDragover: (
|
|
10062
|
-
e.canDragOverRow(N) && (L.preventDefault(), b.value =
|
|
10076
|
+
onDragover: (M, N, L) => {
|
|
10077
|
+
e.canDragOverRow(N) && (L.preventDefault(), b.value = M);
|
|
10063
10078
|
},
|
|
10064
10079
|
onDragleave: () => {
|
|
10065
10080
|
b.value = null;
|
|
@@ -10080,17 +10095,17 @@ function l_(e, t, s, n, a, o) {
|
|
|
10080
10095
|
return r(), p("div", e_, [
|
|
10081
10096
|
u("div", {
|
|
10082
10097
|
class: "bimdata-table__container",
|
|
10083
|
-
style:
|
|
10098
|
+
style: T({
|
|
10084
10099
|
height: s.paginated ? `${(s.perPage + 1) * s.rowHeight}px` : void 0
|
|
10085
10100
|
})
|
|
10086
10101
|
}, [
|
|
10087
10102
|
u("table", {
|
|
10088
|
-
style:
|
|
10103
|
+
style: T({ width: s.tableWidth, tableLayout: s.tableLayout })
|
|
10089
10104
|
}, [
|
|
10090
10105
|
u("thead", null, [
|
|
10091
10106
|
u("tr", {
|
|
10092
10107
|
key: "head-row-0",
|
|
10093
|
-
style:
|
|
10108
|
+
style: T({ height: `${s.rowHeight}px` })
|
|
10094
10109
|
}, [
|
|
10095
10110
|
s.selectable ? (r(), p("th", t_, [
|
|
10096
10111
|
_(i, {
|
|
@@ -10101,7 +10116,7 @@ function l_(e, t, s, n, a, o) {
|
|
|
10101
10116
|
])) : C("", !0),
|
|
10102
10117
|
(r(!0), p(z, null, J(s.columns, (d, m) => (r(), p("th", {
|
|
10103
10118
|
key: `head-row-0-col-${m}`,
|
|
10104
|
-
style:
|
|
10119
|
+
style: T({
|
|
10105
10120
|
width: d.width || "auto",
|
|
10106
10121
|
textAlign: d.align || "left"
|
|
10107
10122
|
})
|
|
@@ -10112,7 +10127,7 @@ function l_(e, t, s, n, a, o) {
|
|
|
10112
10127
|
class: "cell-sub-header",
|
|
10113
10128
|
colspan: s.columns.length + s.selectable
|
|
10114
10129
|
}, [
|
|
10115
|
-
|
|
10130
|
+
x(e.$slots, "sub-header", {}, void 0, !0)
|
|
10116
10131
|
], 8, n_)
|
|
10117
10132
|
])
|
|
10118
10133
|
]),
|
|
@@ -10121,10 +10136,10 @@ function l_(e, t, s, n, a, o) {
|
|
|
10121
10136
|
}, [
|
|
10122
10137
|
(r(!0), p(z, null, J(n.computedRows, ({ key: d, data: m }) => W((r(), p("tr", {
|
|
10123
10138
|
key: `body-row-${d}`,
|
|
10124
|
-
style:
|
|
10139
|
+
style: T({ height: `${s.rowHeight}px` }),
|
|
10125
10140
|
onDrop: (y) => n.onDrop(m, y),
|
|
10126
10141
|
onDragover: (y) => n.onDragover(d, m, y),
|
|
10127
|
-
class:
|
|
10142
|
+
class: S({
|
|
10128
10143
|
"bimdata-table__row--drag-overed": n.dragOveredRowKey === d
|
|
10129
10144
|
})
|
|
10130
10145
|
}, [
|
|
@@ -10136,12 +10151,12 @@ function l_(e, t, s, n, a, o) {
|
|
|
10136
10151
|
])) : C("", !0),
|
|
10137
10152
|
(r(!0), p(z, null, J(s.columns, (y, D) => (r(), p("td", {
|
|
10138
10153
|
key: `body-row-${d}-col-${D}`,
|
|
10139
|
-
style:
|
|
10154
|
+
style: T({
|
|
10140
10155
|
width: y.width || "auto",
|
|
10141
10156
|
textAlign: y.align || "left"
|
|
10142
10157
|
})
|
|
10143
10158
|
}, [
|
|
10144
|
-
|
|
10159
|
+
x(e.$slots, `cell-${y.id}`, { row: m }, () => [
|
|
10145
10160
|
A(g(m[y.id] || m[D]), 1)
|
|
10146
10161
|
], !0)
|
|
10147
10162
|
], 4))), 128))
|
|
@@ -10153,11 +10168,11 @@ function l_(e, t, s, n, a, o) {
|
|
|
10153
10168
|
s.rows.length === 0 ? (r(), p("div", {
|
|
10154
10169
|
key: 0,
|
|
10155
10170
|
class: "bimdata-table__container__placeholder",
|
|
10156
|
-
style:
|
|
10171
|
+
style: T({
|
|
10157
10172
|
height: `calc(100% - ${s.rowHeight}px)`
|
|
10158
10173
|
})
|
|
10159
10174
|
}, [
|
|
10160
|
-
|
|
10175
|
+
x(e.$slots, "placeholder", {}, () => [
|
|
10161
10176
|
A(g(s.placeholder), 1)
|
|
10162
10177
|
], !0)
|
|
10163
10178
|
], 4)) : C("", !0)
|
|
@@ -10165,7 +10180,7 @@ function l_(e, t, s, n, a, o) {
|
|
|
10165
10180
|
s.paginated ? (r(), p("div", {
|
|
10166
10181
|
key: 0,
|
|
10167
10182
|
class: "bimdata-table__page-nav",
|
|
10168
|
-
style:
|
|
10183
|
+
style: T({ visibility: s.rows.length > s.perPage ? "visible" : "hidden" })
|
|
10169
10184
|
}, [
|
|
10170
10185
|
_(l, {
|
|
10171
10186
|
ghost: "",
|
|
@@ -10256,7 +10271,7 @@ function m_(e, t, s, n, a, o) {
|
|
|
10256
10271
|
return r(), p("div", p_, [
|
|
10257
10272
|
u("span", {
|
|
10258
10273
|
class: "left-stripe",
|
|
10259
|
-
style:
|
|
10274
|
+
style: T({ backgroundColor: `#${n.priorityColor}` })
|
|
10260
10275
|
}, null, 4),
|
|
10261
10276
|
u("span", h_, g(s.topic.index), 1)
|
|
10262
10277
|
]);
|
|
@@ -10285,7 +10300,7 @@ const y_ = {
|
|
|
10285
10300
|
function b_(e, t, s, n, a, o) {
|
|
10286
10301
|
return r(), p("span", {
|
|
10287
10302
|
class: "bcf-topic-priority-cell",
|
|
10288
|
-
style:
|
|
10303
|
+
style: T({ color: `#${n.priorityColor}` })
|
|
10289
10304
|
}, g(s.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
|
|
10290
10305
|
}
|
|
10291
10306
|
const v_ = /* @__PURE__ */ v(y_, [["render", b_], ["__scopeId", "data-v-1d15fcf6"]]);
|
|
@@ -10314,7 +10329,7 @@ const D_ = {
|
|
|
10314
10329
|
function C_(e, t, s, n, a, o) {
|
|
10315
10330
|
return r(), p("span", {
|
|
10316
10331
|
class: "bcf-topic-status-cell",
|
|
10317
|
-
style:
|
|
10332
|
+
style: T({
|
|
10318
10333
|
backgroundColor: `#${n.statusColor}`,
|
|
10319
10334
|
color: n.adjustTextColor(n.statusColor, "#ffffff", "var(--color-text)")
|
|
10320
10335
|
})
|
|
@@ -10423,8 +10438,8 @@ function B_(e, t, s, n, a, o) {
|
|
|
10423
10438
|
text: w.title
|
|
10424
10439
|
}, null, 8, ["text"])
|
|
10425
10440
|
]),
|
|
10426
|
-
"cell-creator": h(({ row: { creator: w, creation_author:
|
|
10427
|
-
_(y, { text:
|
|
10441
|
+
"cell-creator": h(({ row: { creator: w, creation_author: V } }) => [
|
|
10442
|
+
_(y, { text: V }, {
|
|
10428
10443
|
default: h(() => [
|
|
10429
10444
|
_(m, {
|
|
10430
10445
|
user: w || {},
|
|
@@ -10442,7 +10457,7 @@ function B_(e, t, s, n, a, o) {
|
|
|
10442
10457
|
"cell-actions": h(({ row: w }) => [
|
|
10443
10458
|
_(D, {
|
|
10444
10459
|
topic: w,
|
|
10445
|
-
onOpenTopic: t[0] || (t[0] = (
|
|
10460
|
+
onOpenTopic: t[0] || (t[0] = (V) => e.$emit("open-topic", V))
|
|
10446
10461
|
}, null, 8, ["topic"])
|
|
10447
10462
|
]),
|
|
10448
10463
|
_: 1
|