@bimdata/bcf-components 4.1.0 → 4.1.1-rc.1
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/vue2/bcf-components.mjs +599 -579
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +2240 -2218
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as je, computed as k, ref as
|
|
2
|
+
import { reactive as je, computed as k, ref as y, watch as N, toRaw as f2, inject as n1, onMounted as t2, onBeforeUnmount as Ze } from "vue";
|
|
3
3
|
const we = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -21,37 +21,37 @@ const we = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}),
|
|
24
|
+
}), r2 = "D8D8D8", De = "D8D8D8", d1 = "originating_system", s1 = "authoring_tool_id", J = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
PTC: "pointCloud",
|
|
27
27
|
V2D: "ifc2d",
|
|
28
28
|
DWG: "dwg",
|
|
29
29
|
PLAN: "plan"
|
|
30
30
|
}), c1 = Object.freeze({
|
|
31
|
-
[
|
|
31
|
+
[J.V3D]: {
|
|
32
32
|
order: 1,
|
|
33
33
|
window: "3d",
|
|
34
34
|
plugin: "viewer3d",
|
|
35
35
|
icon: "fileIfcPolychrome"
|
|
36
36
|
},
|
|
37
|
-
[
|
|
37
|
+
[J.PTC]: {
|
|
38
38
|
order: 2,
|
|
39
39
|
window: "pointCloud",
|
|
40
40
|
plugin: "pointCloud"
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[J.V2D]: {
|
|
43
43
|
order: 3,
|
|
44
44
|
window: "2d",
|
|
45
45
|
plugin: "viewer2d",
|
|
46
46
|
icon: "fileIfcPolychrome"
|
|
47
47
|
},
|
|
48
|
-
[
|
|
48
|
+
[J.DWG]: {
|
|
49
49
|
order: 4,
|
|
50
50
|
window: "dwg",
|
|
51
51
|
plugin: "dwg",
|
|
52
52
|
icon: "fileDwgPolychrome"
|
|
53
53
|
},
|
|
54
|
-
[
|
|
54
|
+
[J.PLAN]: {
|
|
55
55
|
order: 5,
|
|
56
56
|
window: "plan",
|
|
57
57
|
plugin: "plan",
|
|
@@ -59,7 +59,7 @@ const we = Object.freeze([
|
|
|
59
59
|
}
|
|
60
60
|
}), R0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61
61
|
__proto__: null,
|
|
62
|
-
DEFAULT_PRIORITY_COLOR:
|
|
62
|
+
DEFAULT_PRIORITY_COLOR: r2,
|
|
63
63
|
DEFAULT_STATUS_COLOR: De,
|
|
64
64
|
EXTENSION_FIELDS: $e,
|
|
65
65
|
EXTENSION_LIST_FIELDS: Fe,
|
|
@@ -67,7 +67,7 @@ const we = Object.freeze([
|
|
|
67
67
|
EXTENSION_WITH_COLOR: ke,
|
|
68
68
|
VIEWPOINT_CONFIG: c1,
|
|
69
69
|
VIEWPOINT_MODELS_FIELD: s1,
|
|
70
|
-
VIEWPOINT_TYPES:
|
|
70
|
+
VIEWPOINT_TYPES: J,
|
|
71
71
|
VIEWPOINT_TYPE_FIELD: d1
|
|
72
72
|
}, Symbol.toStringTag, { value: "Module" })), Ue = Object.freeze({
|
|
73
73
|
bisque: "ffe4c4",
|
|
@@ -107,12 +107,12 @@ const we = Object.freeze([
|
|
|
107
107
|
"lightcyan",
|
|
108
108
|
"mistyrose",
|
|
109
109
|
"whitesmoke"
|
|
110
|
-
],
|
|
110
|
+
], C2 = Object.entries(Ue).filter(
|
|
111
111
|
([e]) => !qe.includes(e)
|
|
112
112
|
);
|
|
113
113
|
function Ye() {
|
|
114
|
-
const e = Math.floor(Math.random() *
|
|
115
|
-
return
|
|
114
|
+
const e = Math.floor(Math.random() * C2.length);
|
|
115
|
+
return C2[e][1];
|
|
116
116
|
}
|
|
117
117
|
function x1(e, r, t) {
|
|
118
118
|
const i = e.charAt(0) === "#" ? e.substring(1, 7) : e, n = parseInt(i.substring(0, 2), 16), d = parseInt(i.substring(2, 4), 16), a = parseInt(i.substring(4, 6), 16);
|
|
@@ -226,9 +226,9 @@ var b1 = {}, t5 = {
|
|
|
226
226
|
}
|
|
227
227
|
function C(c) {
|
|
228
228
|
var l = c ? Object.keys(c) : [], b = -1, g = l.length;
|
|
229
|
-
return function
|
|
230
|
-
var
|
|
231
|
-
return
|
|
229
|
+
return function L() {
|
|
230
|
+
var H = l[++b];
|
|
231
|
+
return H === "__proto__" ? L() : b < g ? { value: c[H], key: H } : null;
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
234
|
function o(c) {
|
|
@@ -261,7 +261,7 @@ var m1 = {}, r5 = {
|
|
|
261
261
|
}
|
|
262
262
|
e.exports = r.default;
|
|
263
263
|
})(r5, m1);
|
|
264
|
-
var
|
|
264
|
+
var P = {}, a1 = {}, i5 = {
|
|
265
265
|
get exports() {
|
|
266
266
|
return a1;
|
|
267
267
|
},
|
|
@@ -286,13 +286,13 @@ var z = {}, a1 = {}, i5 = {
|
|
|
286
286
|
};
|
|
287
287
|
}, e.exports = r.default;
|
|
288
288
|
})(a5, _1);
|
|
289
|
-
var
|
|
290
|
-
Object.defineProperty(
|
|
289
|
+
var W = {};
|
|
290
|
+
Object.defineProperty(W, "__esModule", {
|
|
291
291
|
value: !0
|
|
292
292
|
});
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
var n5 =
|
|
293
|
+
W.fallback = Ee;
|
|
294
|
+
W.wrap = Be;
|
|
295
|
+
var n5 = W.hasQueueMicrotask = typeof queueMicrotask == "function" && queueMicrotask, o5 = W.hasSetImmediate = typeof setImmediate == "function" && setImmediate, l5 = W.hasNextTick = typeof process == "object" && typeof process.nextTick == "function";
|
|
296
296
|
function Ee(e) {
|
|
297
297
|
setTimeout(e, 0);
|
|
298
298
|
}
|
|
@@ -301,14 +301,14 @@ function Be(e) {
|
|
|
301
301
|
}
|
|
302
302
|
var r1;
|
|
303
303
|
n5 ? r1 = queueMicrotask : o5 ? r1 = setImmediate : l5 ? r1 = process.nextTick : r1 = Ee;
|
|
304
|
-
|
|
305
|
-
var
|
|
304
|
+
W.default = Be(r1);
|
|
305
|
+
var h2;
|
|
306
306
|
function d5() {
|
|
307
|
-
return
|
|
307
|
+
return h2 || (h2 = 1, function(e, r) {
|
|
308
308
|
Object.defineProperty(r, "__esModule", {
|
|
309
309
|
value: !0
|
|
310
310
|
}), r.default = u;
|
|
311
|
-
var t = _1, i = s(t), n =
|
|
311
|
+
var t = _1, i = s(t), n = W, d = s(n), a = i2();
|
|
312
312
|
function s(c) {
|
|
313
313
|
return c && c.__esModule ? c : { default: c };
|
|
314
314
|
}
|
|
@@ -320,8 +320,8 @@ function d5() {
|
|
|
320
320
|
var g;
|
|
321
321
|
try {
|
|
322
322
|
g = c.apply(this, l);
|
|
323
|
-
} catch (
|
|
324
|
-
return b(
|
|
323
|
+
} catch (L) {
|
|
324
|
+
return b(L);
|
|
325
325
|
}
|
|
326
326
|
if (g && typeof g.then == "function")
|
|
327
327
|
return C(g, b);
|
|
@@ -339,21 +339,21 @@ function d5() {
|
|
|
339
339
|
try {
|
|
340
340
|
c(l, b);
|
|
341
341
|
} catch (g) {
|
|
342
|
-
(0, d.default)((
|
|
343
|
-
throw
|
|
342
|
+
(0, d.default)((L) => {
|
|
343
|
+
throw L;
|
|
344
344
|
}, g);
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
e.exports = r.default;
|
|
348
348
|
}(i5, a1)), a1;
|
|
349
349
|
}
|
|
350
|
-
var
|
|
351
|
-
function
|
|
352
|
-
if (
|
|
353
|
-
return
|
|
354
|
-
|
|
350
|
+
var v2;
|
|
351
|
+
function i2() {
|
|
352
|
+
if (v2)
|
|
353
|
+
return P;
|
|
354
|
+
v2 = 1, Object.defineProperty(P, "__esModule", {
|
|
355
355
|
value: !0
|
|
356
|
-
}),
|
|
356
|
+
}), P.isAsyncIterable = P.isAsyncGenerator = P.isAsync = void 0;
|
|
357
357
|
var e = d5(), r = t(e);
|
|
358
358
|
function t(s) {
|
|
359
359
|
return s && s.__esModule ? s : { default: s };
|
|
@@ -372,7 +372,7 @@ function r2() {
|
|
|
372
372
|
throw new Error("expected a function");
|
|
373
373
|
return i(s) ? (0, r.default)(s) : s;
|
|
374
374
|
}
|
|
375
|
-
return
|
|
375
|
+
return P.default = a, P.isAsync = i, P.isAsyncGenerator = n, P.isAsyncIterable = d, P;
|
|
376
376
|
}
|
|
377
377
|
var L1 = {}, s5 = {
|
|
378
378
|
get exports() {
|
|
@@ -406,34 +406,34 @@ var L1 = {}, s5 = {
|
|
|
406
406
|
}
|
|
407
407
|
function d(a, s, u, C) {
|
|
408
408
|
let o = !1, c = !1, l = !1, b = 0, g = 0;
|
|
409
|
-
function
|
|
410
|
-
b >= s || l || o || (l = !0, a.next().then(({ value:
|
|
409
|
+
function L() {
|
|
410
|
+
b >= s || l || o || (l = !0, a.next().then(({ value: D, done: E }) => {
|
|
411
411
|
if (!(c || o)) {
|
|
412
|
-
if (l = !1,
|
|
412
|
+
if (l = !1, E) {
|
|
413
413
|
o = !0, b <= 0 && C(null);
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
416
|
-
b++, u(
|
|
416
|
+
b++, u(D, g, H), g++, L();
|
|
417
417
|
}
|
|
418
418
|
}).catch(M));
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function H(D, E) {
|
|
421
421
|
if (b -= 1, !c) {
|
|
422
|
-
if (
|
|
423
|
-
return M(
|
|
424
|
-
if (
|
|
422
|
+
if (D)
|
|
423
|
+
return M(D);
|
|
424
|
+
if (D === !1) {
|
|
425
425
|
o = !0, c = !0;
|
|
426
426
|
return;
|
|
427
427
|
}
|
|
428
|
-
if (
|
|
428
|
+
if (E === i.default || o && b <= 0)
|
|
429
429
|
return o = !0, C(null);
|
|
430
|
-
|
|
430
|
+
L();
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
function M(
|
|
434
|
-
c || (l = !1, o = !0, C(
|
|
433
|
+
function M(D) {
|
|
434
|
+
c || (l = !1, o = !0, C(D));
|
|
435
435
|
}
|
|
436
|
-
|
|
436
|
+
L();
|
|
437
437
|
}
|
|
438
438
|
e.exports = r.default;
|
|
439
439
|
})(s5, L1);
|
|
@@ -441,44 +441,44 @@ var L1 = {}, s5 = {
|
|
|
441
441
|
Object.defineProperty(r, "__esModule", {
|
|
442
442
|
value: !0
|
|
443
443
|
});
|
|
444
|
-
var t = v1, i = b(t), n = p1, d = b(n), a = m1, s = b(a), u =
|
|
444
|
+
var t = v1, i = b(t), n = p1, d = b(n), a = m1, s = b(a), u = i2(), C = L1, o = b(C), c = o1, l = b(c);
|
|
445
445
|
function b(g) {
|
|
446
446
|
return g && g.__esModule ? g : { default: g };
|
|
447
447
|
}
|
|
448
|
-
r.default = (g) => (
|
|
448
|
+
r.default = (g) => (L, H, M) => {
|
|
449
449
|
if (M = (0, i.default)(M), g <= 0)
|
|
450
450
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
451
|
-
if (!
|
|
451
|
+
if (!L)
|
|
452
452
|
return M(null);
|
|
453
|
-
if ((0, u.isAsyncGenerator)(
|
|
454
|
-
return (0, o.default)(
|
|
455
|
-
if ((0, u.isAsyncIterable)(
|
|
456
|
-
return (0, o.default)(
|
|
457
|
-
var
|
|
458
|
-
function
|
|
459
|
-
if (!
|
|
460
|
-
if (B -= 1,
|
|
461
|
-
|
|
462
|
-
else if (
|
|
463
|
-
|
|
453
|
+
if ((0, u.isAsyncGenerator)(L))
|
|
454
|
+
return (0, o.default)(L, g, H, M);
|
|
455
|
+
if ((0, u.isAsyncIterable)(L))
|
|
456
|
+
return (0, o.default)(L[Symbol.asyncIterator](), g, H, M);
|
|
457
|
+
var D = (0, d.default)(L), E = !1, O = !1, B = 0, T = !1;
|
|
458
|
+
function z(_, m) {
|
|
459
|
+
if (!O)
|
|
460
|
+
if (B -= 1, _)
|
|
461
|
+
E = !0, M(_);
|
|
462
|
+
else if (_ === !1)
|
|
463
|
+
E = !0, O = !0;
|
|
464
464
|
else {
|
|
465
|
-
if (
|
|
466
|
-
return
|
|
467
|
-
|
|
465
|
+
if (m === l.default || E && B <= 0)
|
|
466
|
+
return E = !0, M(null);
|
|
467
|
+
T || $();
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
471
|
-
for (
|
|
472
|
-
var
|
|
473
|
-
if (
|
|
474
|
-
|
|
470
|
+
function $() {
|
|
471
|
+
for (T = !0; B < g && !E; ) {
|
|
472
|
+
var _ = D();
|
|
473
|
+
if (_ === null) {
|
|
474
|
+
E = !0, B <= 0 && M(null);
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
|
-
B += 1,
|
|
477
|
+
B += 1, H(_.value, _.key, (0, s.default)(z));
|
|
478
478
|
}
|
|
479
|
-
|
|
479
|
+
T = !1;
|
|
480
480
|
}
|
|
481
|
-
|
|
481
|
+
$();
|
|
482
482
|
}, e.exports = r.default;
|
|
483
483
|
})(Je, h1);
|
|
484
484
|
var y1 = {}, u5 = {
|
|
@@ -530,29 +530,29 @@ var H1 = {}, f5 = {
|
|
|
530
530
|
Object.defineProperty(r, "__esModule", {
|
|
531
531
|
value: !0
|
|
532
532
|
});
|
|
533
|
-
var t = h1, i = o(t), n = y1, d = o(n), a =
|
|
533
|
+
var t = h1, i = o(t), n = y1, d = o(n), a = i2(), s = o(a), u = H1, C = o(u);
|
|
534
534
|
function o(l) {
|
|
535
535
|
return l && l.__esModule ? l : { default: l };
|
|
536
536
|
}
|
|
537
|
-
function c(l, b, g,
|
|
538
|
-
return (0, i.default)(b)(l, (0, d.default)((0, s.default)(g)),
|
|
537
|
+
function c(l, b, g, L) {
|
|
538
|
+
return (0, i.default)(b)(l, (0, d.default)((0, s.default)(g)), L);
|
|
539
539
|
}
|
|
540
540
|
r.default = (0, C.default)(c, 4), e.exports = r.default;
|
|
541
541
|
})(Ke, C1);
|
|
542
542
|
const C5 = /* @__PURE__ */ Xe(C1);
|
|
543
|
-
function
|
|
543
|
+
function G(e) {
|
|
544
544
|
return $e[e];
|
|
545
545
|
}
|
|
546
546
|
function Re(e, r) {
|
|
547
547
|
return r[Fe[e]].slice();
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function e1(e, r) {
|
|
550
550
|
const t = r.priorities.find(
|
|
551
551
|
(i) => i.priority === e.priority
|
|
552
552
|
);
|
|
553
|
-
return (t == null ? void 0 : t.color) ||
|
|
553
|
+
return (t == null ? void 0 : t.color) || r2;
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function a2(e, r) {
|
|
556
556
|
const t = r.topic_statuses.find(
|
|
557
557
|
(i) => i.topic_status === e.topic_status
|
|
558
558
|
);
|
|
@@ -564,76 +564,77 @@ async function h5(e, r) {
|
|
|
564
564
|
}
|
|
565
565
|
let Ie = null;
|
|
566
566
|
function I0(e, { fetchUsers: r }) {
|
|
567
|
-
const t = r ? (
|
|
568
|
-
const
|
|
569
|
-
return Z.sort((
|
|
570
|
-
|
|
567
|
+
const t = r ? (_) => r(_) : (_) => e.collaborationApi.getProjectUsers(_.cloud.id, _.id), i = () => e.bcfApi.getUser(), n = async (_, { extensions: m, users: V } = {}) => {
|
|
568
|
+
const w = m ?? await e.bcfApi.getDetailedExtensions(_.id), x = V ?? await t(_), Z = await e.bcfApi.getTopics(_.id);
|
|
569
|
+
return Z.sort((S, j) => j.index - S.index), Z.forEach((S) => {
|
|
570
|
+
S.color = e1(S, w), S.creator = x.find((j) => j.email === S.creation_author);
|
|
571
571
|
}), Z;
|
|
572
|
-
},
|
|
573
|
-
const
|
|
574
|
-
return
|
|
575
|
-
},
|
|
576
|
-
await e.bcfApi.deleteTopic(
|
|
577
|
-
},
|
|
578
|
-
const
|
|
579
|
-
|
|
572
|
+
}, d = async (_, m) => {
|
|
573
|
+
const V = await e.bcfApi.getDetailedExtensions(_.id), w = await e.bcfApi.getFullTopic(m, _.id, "url");
|
|
574
|
+
return w.color = e1(w, V), w;
|
|
575
|
+
}, a = async (_, m) => await e.bcfApi.createFullTopic(_.id, m), s = async (_, m) => await e.bcfApi.updateFullTopic(m.guid, _.id, "url", m), u = async (_, m) => {
|
|
576
|
+
await e.bcfApi.deleteTopic(m.guid, _.id);
|
|
577
|
+
}, C = async (_, m) => {
|
|
578
|
+
const V = new FormData();
|
|
579
|
+
V.append("name", m.name), V.append("file", m), await fetch(`${e.config.basePath}/bcf/2.1/projects/${_.id}/import`, {
|
|
580
580
|
method: "POST",
|
|
581
581
|
credentials: "include",
|
|
582
582
|
headers: {
|
|
583
583
|
...e.authHeader
|
|
584
584
|
},
|
|
585
|
-
body:
|
|
585
|
+
body: V
|
|
586
586
|
});
|
|
587
|
-
},
|
|
588
|
-
const
|
|
589
|
-
|
|
587
|
+
}, o = async (_, m) => {
|
|
588
|
+
const V = await e.bcfApi.downloadBcfExport(
|
|
589
|
+
_.id,
|
|
590
590
|
void 0,
|
|
591
|
-
|
|
591
|
+
m.map((w) => w.guid).join(",")
|
|
592
592
|
);
|
|
593
|
-
h5(`${
|
|
594
|
-
},
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
},
|
|
598
|
-
}),
|
|
593
|
+
h5(`${_.name}.bcf`, V);
|
|
594
|
+
}, c = async (_, m) => (await C5(m, 10, (V, w) => {
|
|
595
|
+
l(_, V).then((x) => {
|
|
596
|
+
V.viewpoints = x, w();
|
|
597
|
+
}, w);
|
|
598
|
+
}), m), l = async (_, m) => await e.bcfApi.getTopicViewpoints(_.id, m.guid, "url");
|
|
599
599
|
return {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
600
|
+
fetchCurrentUser: i,
|
|
601
|
+
fetchTopics: n,
|
|
602
|
+
fecthTopicByGuid: d,
|
|
603
|
+
createTopic: a,
|
|
604
|
+
updateTopic: s,
|
|
605
|
+
deleteTopic: u,
|
|
606
|
+
importBcf: C,
|
|
607
|
+
exportBcf: o,
|
|
608
|
+
loadTopicsViewpoints: c,
|
|
609
|
+
fetchTopicViewpoints: l,
|
|
610
|
+
fetchTopicCommentViewpoint: async (_, m, V) => await e.bcfApi.getViewpoint(V.viewpoint_guid, _.id, m.guid),
|
|
611
|
+
createViewpoint: async (_, m, V) => await e.bcfApi.createViewpoint(_.id, m.guid, "url", V),
|
|
612
|
+
deleteViewpoint: async (_, m, V) => {
|
|
613
|
+
await e.bcfApi.deleteViewpoint(V.guid, _.id, m.guid);
|
|
614
|
+
},
|
|
615
|
+
fetchTopicComments: async (_, m) => {
|
|
616
|
+
const V = await t(_), w = await e.bcfApi.getComments(_.id, m.guid);
|
|
617
|
+
return w.sort((x, Z) => x.date > Z.date ? -1 : 1), w.forEach((x) => {
|
|
618
|
+
x.user = V.find((Z) => Z.email === x.author);
|
|
619
|
+
}), w;
|
|
620
|
+
},
|
|
621
|
+
createComment: async (_, m, V) => await e.bcfApi.createComment(_.id, m.guid, V),
|
|
622
|
+
updateComment: async (_, m, V, w) => await e.bcfApi.updateComment(V.guid, _.id, m.guid, w),
|
|
623
|
+
deleteComment: async (_, m, V) => {
|
|
624
|
+
await e.bcfApi.deleteComment(V.guid, _.id, m.guid);
|
|
625
|
+
},
|
|
626
|
+
fetchExtensions: (_) => e.bcfApi.getExtensions(_.id),
|
|
627
|
+
fetchDetailedExtensions: (_) => e.bcfApi.getDetailedExtensions(_.id),
|
|
628
|
+
createExtension: async (_, m, V) => await e.bcfApi[`createExtension${m}`](_.id, {
|
|
629
|
+
[G(m)]: V.value,
|
|
629
630
|
color: Ye()
|
|
630
631
|
}),
|
|
631
|
-
updateExtension: async (
|
|
632
|
-
[
|
|
633
|
-
color:
|
|
632
|
+
updateExtension: async (_, m, V, w) => await e.bcfApi[`updateExtension${m}`](V.id, _.id, {
|
|
633
|
+
[G(m)]: w.value,
|
|
634
|
+
color: w.color
|
|
634
635
|
}),
|
|
635
|
-
deleteExtension: async (
|
|
636
|
-
await e.bcfApi[`deleteExtension${
|
|
636
|
+
deleteExtension: async (_, m, V) => {
|
|
637
|
+
await e.bcfApi[`deleteExtension${m}`](V.id, _.id);
|
|
637
638
|
}
|
|
638
639
|
};
|
|
639
640
|
}
|
|
@@ -643,7 +644,7 @@ function S0(e) {
|
|
|
643
644
|
function u1() {
|
|
644
645
|
return Ie;
|
|
645
646
|
}
|
|
646
|
-
const
|
|
647
|
+
const p2 = {
|
|
647
648
|
priorities: [],
|
|
648
649
|
statuses: [],
|
|
649
650
|
users: [],
|
|
@@ -653,7 +654,7 @@ const v2 = {
|
|
|
653
654
|
endDate: null
|
|
654
655
|
};
|
|
655
656
|
function v5(e) {
|
|
656
|
-
const r = je({ ...
|
|
657
|
+
const r = je({ ...p2 }), t = k(() => {
|
|
657
658
|
let d = e.value;
|
|
658
659
|
return r.priorities.length > 0 && (d = d.filter((a) => r.priorities.includes(a.priority))), r.statuses.length > 0 && (d = d.filter((a) => r.statuses.includes(a.topic_status))), r.users.length > 0 && (d = d.filter((a) => r.users.includes(a.assigned_to))), r.creators.length > 0 && (d = d.filter((a) => r.creators.includes(a.creation_author))), r.labels.length > 0 && (d = d.filter((a) => r.labels.some((s) => a.labels.includes(s)))), r.startDate && r.endDate && (d = d.filter((a) => a.creation_date >= r.startDate && a.creation_date <= r.endDate)), d;
|
|
659
660
|
});
|
|
@@ -661,7 +662,7 @@ function v5(e) {
|
|
|
661
662
|
Object.assign(r, d);
|
|
662
663
|
}
|
|
663
664
|
function n() {
|
|
664
|
-
i(
|
|
665
|
+
i(p2);
|
|
665
666
|
}
|
|
666
667
|
return {
|
|
667
668
|
filters: r,
|
|
@@ -682,8 +683,8 @@ const p5 = [
|
|
|
682
683
|
"description"
|
|
683
684
|
];
|
|
684
685
|
function T0(e) {
|
|
685
|
-
const r =
|
|
686
|
-
return
|
|
686
|
+
const r = y(""), t = y([]);
|
|
687
|
+
return N(
|
|
687
688
|
[e, r],
|
|
688
689
|
() => {
|
|
689
690
|
if (r.value) {
|
|
@@ -703,10 +704,10 @@ function T0(e) {
|
|
|
703
704
|
};
|
|
704
705
|
}
|
|
705
706
|
function $1(e, r = (t) => t) {
|
|
706
|
-
const t =
|
|
707
|
+
const t = y(e), i = (a = "asc") => {
|
|
707
708
|
const s = t.value.slice().sort((u, C) => r(u) < r(C) ? -1 : 1);
|
|
708
709
|
a === "desc" && s.reverse(), t.value = s;
|
|
709
|
-
}, n =
|
|
710
|
+
}, n = y("none");
|
|
710
711
|
return {
|
|
711
712
|
sortOrder: n,
|
|
712
713
|
sortToggle: () => {
|
|
@@ -715,7 +716,7 @@ function $1(e, r = (t) => t) {
|
|
|
715
716
|
};
|
|
716
717
|
}
|
|
717
718
|
function O0(e) {
|
|
718
|
-
const { sortToggle: r, sortOrder: t } = $1(e, (c) => c.index), { sortToggle: i, sortOrder: n } = $1(e, (c) => c.title), { sortToggle: d, sortOrder: a } = $1(e, (c) => c.creation_date), s =
|
|
719
|
+
const { sortToggle: r, sortOrder: t } = $1(e, (c) => c.index), { sortToggle: i, sortOrder: n } = $1(e, (c) => c.title), { sortToggle: d, sortOrder: a } = $1(e, (c) => c.creation_date), s = y("");
|
|
719
720
|
return {
|
|
720
721
|
sortedBy: s,
|
|
721
722
|
sortByIndex: () => {
|
|
@@ -772,7 +773,7 @@ function L5(e, r, t, i, n, d, a, s, u, C) {
|
|
|
772
773
|
const y5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
773
774
|
function H5(e) {
|
|
774
775
|
return (r, t) => function(i, n) {
|
|
775
|
-
const d = y5 ? n.media || "default" : i, a =
|
|
776
|
+
const d = y5 ? n.media || "default" : i, a = g2[d] || (g2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
776
777
|
if (!a.ids.has(i)) {
|
|
777
778
|
a.ids.add(i);
|
|
778
779
|
let s = n.source;
|
|
@@ -789,7 +790,7 @@ function H5(e) {
|
|
|
789
790
|
}(r, t);
|
|
790
791
|
}
|
|
791
792
|
let F1;
|
|
792
|
-
const
|
|
793
|
+
const g2 = {}, R = L5({ render: function() {
|
|
793
794
|
var e = this, r = e.$createElement;
|
|
794
795
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
795
796
|
return e.$emit("click", t);
|
|
@@ -819,7 +820,7 @@ function p(e, r, t, i, n, d, a, s, u, C) {
|
|
|
819
820
|
}
|
|
820
821
|
return t;
|
|
821
822
|
}
|
|
822
|
-
var
|
|
823
|
+
var b2 = { addFile: p({ render: function() {
|
|
823
824
|
var e = this.$createElement;
|
|
824
825
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.5312H14.4343V19.7656H12.2781V16.5312H9.04369V14.375H12.2781V11.1406H14.4343V14.375H17.6687V16.5312ZM4.01244 7.90625L10.1218 1.79688V5.97245V7.90625H4.01244ZM20.3885 2.3C20.3885 1.035 19.365 0 18.1 0H8.9L2 6.9V20.7C2 21.965 3.03464 23 4.3 23H18.1115C19.3765 23 20.4 21.965 20.4 20.7L20.3885 2.3Z" } });
|
|
825
826
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: p({ render: function() {
|
|
@@ -1284,21 +1285,21 @@ var g2 = { addFile: p({ render: function() {
|
|
|
1284
1285
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1285
1286
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
1286
1287
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, V5 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1287
|
-
const
|
|
1288
|
+
const m2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1288
1289
|
var M5 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
1289
1290
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
1290
|
-
}(
|
|
1291
|
+
}(b2) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(b2).includes(e) }, color: { type: String, default: "default", validator: (e) => V5.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(m2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
1291
1292
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
1292
1293
|
}, style() {
|
|
1293
1294
|
const e = this.getPixelSize(this.size);
|
|
1294
1295
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
1295
1296
|
} }, methods: { getPixelSize() {
|
|
1296
|
-
return this.customSize ? this.customSize :
|
|
1297
|
+
return this.customSize ? this.customSize : m2[this.size];
|
|
1297
1298
|
} } };
|
|
1298
1299
|
const x5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1299
1300
|
function Z5(e) {
|
|
1300
1301
|
return (r, t) => function(i, n) {
|
|
1301
|
-
const d = x5 ? n.media || "default" : i, a =
|
|
1302
|
+
const d = x5 ? n.media || "default" : i, a = _2[d] || (_2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1302
1303
|
if (!a.ids.has(i)) {
|
|
1303
1304
|
a.ids.add(i);
|
|
1304
1305
|
let s = n.source;
|
|
@@ -1315,17 +1316,17 @@ function Z5(e) {
|
|
|
1315
1316
|
}(r, t);
|
|
1316
1317
|
}
|
|
1317
1318
|
let D1;
|
|
1318
|
-
const
|
|
1319
|
+
const _2 = {}, I = p({ render: function() {
|
|
1319
1320
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1320
1321
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
1321
1322
|
}, staticRenderFns: [] }, function(e) {
|
|
1322
1323
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
1323
1324
|
}, M5, "data-v-198621a2", !1, void 0, !1, Z5, void 0, void 0);
|
|
1324
|
-
let
|
|
1325
|
+
let L2 = 0;
|
|
1325
1326
|
var w5 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { modelValue: { type: [String, Number, Boolean], default: "" }, placeholder: { type: String, default: "" }, error: { type: Boolean, default: !1 }, success: { type: Boolean, default: !1 }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, loading: { type: Boolean, default: !1 }, disabled: { type: Boolean, default: !1 }, margin: { type: String, default: "12px 0px" }, autocomplete: { type: Boolean, default: !1 } }, emits: ["update:modelValue", "blur", "keypress", "focus", "change"], computed: { style() {
|
|
1326
1327
|
return { margin: `${this.margin}` };
|
|
1327
1328
|
} }, beforeCreate() {
|
|
1328
|
-
this.uuid =
|
|
1329
|
+
this.uuid = L2.toString(), L2 += 1;
|
|
1329
1330
|
}, created() {
|
|
1330
1331
|
this.$watch(() => this.success && this.error, (e) => {
|
|
1331
1332
|
if (e)
|
|
@@ -1361,7 +1362,7 @@ function k5(e, r, t, i, n, d, a, s, u, C) {
|
|
|
1361
1362
|
const $5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1362
1363
|
function F5(e) {
|
|
1363
1364
|
return (r, t) => function(i, n) {
|
|
1364
|
-
const d = $5 ? n.media || "default" : i, a =
|
|
1365
|
+
const d = $5 ? n.media || "default" : i, a = y2[d] || (y2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1365
1366
|
if (!a.ids.has(i)) {
|
|
1366
1367
|
a.ids.add(i);
|
|
1367
1368
|
let s = n.source;
|
|
@@ -1378,7 +1379,7 @@ function F5(e) {
|
|
|
1378
1379
|
}(r, t);
|
|
1379
1380
|
}
|
|
1380
1381
|
let E1;
|
|
1381
|
-
const
|
|
1382
|
+
const y2 = {}, Z1 = k5({ render: function() {
|
|
1382
1383
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1383
1384
|
return t("div", { staticClass: "bimdata-input", class: { error: e.error, success: e.success, disabled: e.disabled, loading: e.loading, "not-empty": !!e.modelValue }, style: e.style }, [t("input", e._b({ ref: "input", attrs: { id: "bimdata-input-" + e.uuid, disabled: e.disabled, autocomplete: e.autocomplete ? "on" : "off" }, domProps: { value: e.modelValue }, on: { input: function(i) {
|
|
1384
1385
|
return e.$emit("update:modelValue", i.currentTarget.value);
|
|
@@ -1394,7 +1395,7 @@ const L2 = {}, Z1 = k5({ render: function() {
|
|
|
1394
1395
|
}, staticRenderFns: [] }, function(e) {
|
|
1395
1396
|
e && (e("data-v-957ba7b2_0", { source: 'html[data-v-957ba7b2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-957ba7b2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-957ba7b2]{text-align:left}.text-center[data-v-957ba7b2]{text-align:center}.text-right[data-v-957ba7b2]{text-align:right}.bimdata-link[data-v-957ba7b2]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-957ba7b2]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-957ba7b2_1", { source: '@keyframes scaleX{0%{transform:scaleX(0);left:-50%}25%{transform:scaleX(1);left:0}50%{transform:scaleX(1);left:50%}75%{transform:scaleX(0);left:50%}100%{transform:scaleX(0);left:50%}}input:-webkit-autofill{box-shadow:0 0 0 1000px var(--color-white) inset}.bimdata-input{min-height:32px;position:relative;font-family:var(--primary-font);color:var(--color-primary);font-size:1.0714285714em}.bimdata-input.not-empty label{top:-22px;color:var(--color-primary);font-size:.7142857143em}.bimdata-input input{padding:0;width:100%;height:32px;border:none;display:flex;cursor:pointer;background-color:transparent;color:var(--color-primary);font-size:1em}.bimdata-input input:focus{outline:0}.bimdata-input input:focus~label{top:-22px;font-size:.7142857143em}.bimdata-input input:focus~.bar:after{width:100%;transition:transform .2s cubic-bezier(.55,0,.55,.2);transform:scaleX(1)}.bimdata-input__icon{position:absolute;right:0;top:8px}.bimdata-input label{position:absolute;top:0;left:0;font-size:.8571428571em;transform:translateY(8px);transition:.2s ease all;color:var(--color-granite-light);cursor:pointer}.bimdata-input .bar{width:100%;height:1px;display:block;background:var(--color-silver)}.bimdata-input .bar::after,.bimdata-input .bar::before{width:0;height:2px;content:"";display:block;position:absolute;background-color:var(--color-primary);transform:scaleX(0)}.bimdata-input.loading input~.bar:after{width:50%;animation:scaleX 2s linear infinite none;transform-origin:right}.bimdata-input.loading input~.bar:before{width:50%;animation:scaleX 2s linear 1s infinite none;transform-origin:right}.bimdata-input .error{color:var(--color-high);font-size:.7857142857em}.bimdata-input .success{color:var(--color-success);font-size:.7857142857em}.bimdata-input.disabled{opacity:.6}.bimdata-input.error label{color:var(--color-high)}.bimdata-input.error .bar{background-color:var(--color-high)}.bimdata-input.error .bar::after,.bimdata-input.error .bar::before{background-color:var(--color-high)}.bimdata-input.success label{color:var(--color-success)}.bimdata-input.success .bar{background-color:var(--color-success)}.bimdata-input.success .bar::after,.bimdata-input.success .bar::before{background-color:var(--color-success)}', map: void 0, media: void 0 }));
|
|
1396
1397
|
}, w5, "data-v-957ba7b2", !1, void 0, !1, F5, void 0, void 0);
|
|
1397
|
-
var
|
|
1398
|
+
var H2 = { bind(e, r) {
|
|
1398
1399
|
if (typeof r.value != "function")
|
|
1399
1400
|
throw Error("click away directive needs function, got " + typeof r.value);
|
|
1400
1401
|
e.clickAwayHandler = (t) => {
|
|
@@ -1411,7 +1412,7 @@ var y2 = { bind(e, r) {
|
|
|
1411
1412
|
} }, methods: { onClick() {
|
|
1412
1413
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
1413
1414
|
} } };
|
|
1414
|
-
function
|
|
1415
|
+
function Q(e, r, t, i, n, d, a, s, u, C) {
|
|
1415
1416
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
1416
1417
|
const o = typeof t == "function" ? t.options : t;
|
|
1417
1418
|
let c;
|
|
@@ -1436,7 +1437,7 @@ function G(e, r, t, i, n, d, a, s, u, C) {
|
|
|
1436
1437
|
const E5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1437
1438
|
function V1(e) {
|
|
1438
1439
|
return (r, t) => function(i, n) {
|
|
1439
|
-
const d = E5 ? n.media || "default" : i, a =
|
|
1440
|
+
const d = E5 ? n.media || "default" : i, a = V2[d] || (V2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1440
1441
|
if (!a.ids.has(i)) {
|
|
1441
1442
|
a.ids.add(i);
|
|
1442
1443
|
let s = n.source;
|
|
@@ -1453,38 +1454,38 @@ function V1(e) {
|
|
|
1453
1454
|
}(r, t);
|
|
1454
1455
|
}
|
|
1455
1456
|
let B1;
|
|
1456
|
-
const
|
|
1457
|
+
const V2 = {}, B5 = Q({ render: function() {
|
|
1457
1458
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1458
1459
|
return t("div", e._b({ staticClass: "bimdata-checkbox", class: { indeterminate: e.indeterminate, disabled: e.disabled, checked: e.checked }, style: e.style, on: { click: e.onClick } }, "div", e.$attrs, !1), [t("span", { staticClass: "bimdata-checkbox__mark" }), e._v(" "), e.text ? t("span", { staticClass: "bimdata-checkbox__text" }, [e._t("default", function() {
|
|
1459
1460
|
return [e._v(e._s(e.text))];
|
|
1460
1461
|
})], 2) : e._e()]);
|
|
1461
1462
|
}, staticRenderFns: [] }, function(e) {
|
|
1462
1463
|
e && (e("data-v-092b3c62_0", { source: 'html[data-v-092b3c62]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-092b3c62]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-092b3c62]{text-align:left}.text-center[data-v-092b3c62]{text-align:center}.text-right[data-v-092b3c62]{text-align:right}.bimdata-link[data-v-092b3c62]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-092b3c62]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-092b3c62_1", { source: '.bimdata-checkbox{position:relative;display:flex;align-items:center;font-family:var(--primary-font);font-size:1em;cursor:pointer;user-select:none}.bimdata-checkbox :after,.bimdata-checkbox :before{-webkit-box-sizing:border-box;box-sizing:border-box}.bimdata-checkbox__mark{width:13px;height:13px;position:relative;top:0;left:0;border:solid 1px var(--color-primary);border-radius:2px;box-sizing:border-box}.bimdata-checkbox__mark::after{width:4px;height:7px;content:"";display:block;position:absolute;top:1px;left:3px;border:solid transparent;opacity:0;transform:rotate(45deg)}.bimdata-checkbox__text{width:calc(100% - 13px - 5px);margin-left:6px;font-size:.8571428571em}.bimdata-checkbox.checked>.bimdata-checkbox__mark,.bimdata-checkbox.indeterminate>.bimdata-checkbox__mark{background-color:var(--color-primary)}.bimdata-checkbox:not(.indeterminate):not(.checked)>.bimdata-checkbox__mark::after{border-color:transparent}.bimdata-checkbox.checked>.bimdata-checkbox__mark::after,.bimdata-checkbox:not(.indeterminate)>.bimdata-checkbox__mark::after{border:solid 1px var(--color-white);border-left:none;border-top:none;border-width:0 1px 1px 0;opacity:1}.bimdata-checkbox.indeterminate>.bimdata-checkbox__mark::after{border-width:0 1px 0 0;transform:rotate(90deg)}.bimdata-checkbox.disabled{cursor:default}.bimdata-checkbox.disabled>.bimdata-checkbox__mark{border-color:var(--color-silver-dark)}.bimdata-checkbox.disabled>.bimdata-checkbox__text{color:var(--color-silver-dark)}.bimdata-checkbox.checked.disabled>.bimdata-checkbox__mark{background-color:var(--color-silver-dark)}', map: void 0, media: void 0 }));
|
|
1463
|
-
}, D5, "data-v-092b3c62", !1, void 0, !1, V1, void 0, void 0), R5 =
|
|
1464
|
+
}, D5, "data-v-092b3c62", !1, void 0, !1, V1, void 0, void 0), R5 = Q({ render: function() {
|
|
1464
1465
|
var e = this.$createElement;
|
|
1465
1466
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" } });
|
|
1466
1467
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
1467
1468
|
var I5 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1468
|
-
const
|
|
1469
|
-
var
|
|
1470
|
-
const
|
|
1469
|
+
const M2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1470
|
+
var x2;
|
|
1471
|
+
const Z2 = Q({ render: function() {
|
|
1471
1472
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1472
1473
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
1473
1474
|
}, staticRenderFns: [] }, function(e) {
|
|
1474
1475
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
1475
|
-
}, { name: `BIMDataIcon${
|
|
1476
|
+
}, { name: `BIMDataIcon${x2 = "Chevron"}`, components: { [x2]: R5 }, props: { color: { type: String, default: "default", validator: (e) => I5.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(M2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
1476
1477
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
1477
1478
|
}, style() {
|
|
1478
1479
|
const e = this.getPixelSize(this.size);
|
|
1479
1480
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
1480
1481
|
} }, methods: { getPixelSize() {
|
|
1481
|
-
return this.customSize ? this.customSize :
|
|
1482
|
-
} } }, "data-v-20c38c94", !1, void 0, !1, V1, void 0, void 0), Se =
|
|
1482
|
+
return this.customSize ? this.customSize : M2[this.size];
|
|
1483
|
+
} } }, "data-v-20c38c94", !1, void 0, !1, V1, void 0, void 0), Se = Q({ render: function() {
|
|
1483
1484
|
var e = this, r = e.$createElement;
|
|
1484
1485
|
return (e._self._c || r)(e.selectorComponent, e._b({ tag: "component", attrs: { modelValue: e.modelValue }, on: { "update:modelValue": function(t) {
|
|
1485
1486
|
return e.$emit("update:modelValue", t);
|
|
1486
1487
|
} } }, "component", e.$props, !1));
|
|
1487
|
-
}, staticRenderFns: [] }, void 0, { components: { BIMDataSelectMulti:
|
|
1488
|
+
}, staticRenderFns: [] }, void 0, { components: { BIMDataSelectMulti: Q({ render: function() {
|
|
1488
1489
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1489
1490
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: function() {
|
|
1490
1491
|
return e.isOpen = !1;
|
|
@@ -1499,7 +1500,7 @@ const x2 = G({ render: function() {
|
|
|
1499
1500
|
}), 0)])], 1);
|
|
1500
1501
|
}, staticRenderFns: [] }, function(e) {
|
|
1501
1502
|
e && e("data-v-09766700_0", { source: 'html[data-v-09766700]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-select[data-v-09766700]{position:relative;font-family:var(--primary-font);font-size:1.0714285714em;user-select:none}.bimdata-select__content[data-v-09766700]{height:32px}.bimdata-select__content__value[data-v-09766700]{width:100%;height:32px;position:absolute;z-index:1;top:0;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.bimdata-select__content__value span[data-v-09766700]{width:100%;height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bimdata-select__content__label[data-v-09766700]{position:absolute;top:6px;left:0;font-size:.8571428571em;transition:.2s ease all;color:var(--color-granite-light);transition:.2s ease all}.bimdata-select__content__underline[data-v-09766700]{width:100%;height:1px;position:absolute;bottom:0;display:block;background:var(--color-silver)}.bimdata-select.disabled[data-v-09766700]{opacity:.6}.bimdata-select.active .bimdata-select__content .bimdata-select__content__label[data-v-09766700],.bimdata-select.not-empty .bimdata-select__content .bimdata-select__content__label[data-v-09766700]{top:-18px;font-size:.7142857143em;color:var(--color-primary)}.bimdata-select__option-list[data-v-09766700]{position:absolute;z-index:2;top:-3px;width:100%;max-height:220px;padding:calc(var(--spacing-unit)/ 2) 0;overflow:auto;box-shadow:var(--box-shadow);background-color:var(--color-white)}.bimdata-select__option-list__entry[data-v-09766700]{height:29px;padding:0 var(--spacing-unit);display:flex;align-items:center;font-size:.8571428571em;cursor:pointer}.bimdata-select__option-list__entry[data-v-09766700]:hover{background-color:var(--color-silver-light);transition:all .2s ease}.bimdata-select__option-list__entry.selected[data-v-09766700]{background-color:var(--color-silver-light)}.bimdata-select__option-list__entry.selected[data-v-09766700]:hover{background-color:var(--color-silver)}.bimdata-select__option-list__entry.disabled[data-v-09766700]{color:var(--color-silver-dark);cursor:default}.bimdata-select__option-list__entry.option-group[data-v-09766700]{color:var(--color-granite);font-weight:700}.bimdata-select__option-list__entry.option-group[data-v-09766700]:hover{background-color:transparent;cursor:default}.bimdata-select__option-list__entry.option-group~.bimdata-select__option-list__entry[data-v-09766700]:not(.option-group){padding-left:calc(var(--spacing-unit) * 2)}', map: void 0, media: void 0 });
|
|
1502
|
-
}, { components: { BIMDataCheckbox: B5, BIMDataIconChevron:
|
|
1503
|
+
}, { components: { BIMDataCheckbox: B5, BIMDataIconChevron: Z2 }, directives: { clickaway: H2 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number] }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: Array }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], data: () => ({ isOpen: !1 }), computed: { displayedValue() {
|
|
1503
1504
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
1504
1505
|
} }, methods: { toggle() {
|
|
1505
1506
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -1524,7 +1525,7 @@ const x2 = G({ render: function() {
|
|
|
1524
1525
|
} else
|
|
1525
1526
|
r = this.modelValue.concat(e);
|
|
1526
1527
|
this.$emit("update:modelValue", r);
|
|
1527
|
-
} } }, "data-v-09766700", !1, void 0, !1, V1, void 0, void 0), BIMDataSelectSingle:
|
|
1528
|
+
} } }, "data-v-09766700", !1, void 0, !1, V1, void 0, void 0), BIMDataSelectSingle: Q({ render: function() {
|
|
1528
1529
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1529
1530
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: function() {
|
|
1530
1531
|
return e.isOpen = !1;
|
|
@@ -1543,7 +1544,7 @@ const x2 = G({ render: function() {
|
|
|
1543
1544
|
})], 2)])], 1);
|
|
1544
1545
|
}, staticRenderFns: [] }, function(e) {
|
|
1545
1546
|
e && e("data-v-1b2410f3_0", { source: 'html[data-v-1b2410f3]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-select[data-v-1b2410f3]{position:relative;font-family:var(--primary-font);font-size:1.0714285714em;user-select:none}.bimdata-select__content[data-v-1b2410f3]{height:32px}.bimdata-select__content__value[data-v-1b2410f3]{width:100%;height:32px;position:absolute;z-index:1;top:0;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.bimdata-select__content__value span[data-v-1b2410f3]{width:100%;height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bimdata-select__content__label[data-v-1b2410f3]{position:absolute;top:6px;left:0;font-size:.8571428571em;transition:.2s ease all;color:var(--color-granite-light);transition:.2s ease all}.bimdata-select__content__underline[data-v-1b2410f3]{width:100%;height:1px;position:absolute;bottom:0;display:block;background:var(--color-silver)}.bimdata-select.disabled[data-v-1b2410f3]{opacity:.6}.bimdata-select.active .bimdata-select__content .bimdata-select__content__label[data-v-1b2410f3],.bimdata-select.not-empty .bimdata-select__content .bimdata-select__content__label[data-v-1b2410f3]{top:-18px;font-size:.7142857143em;color:var(--color-primary)}.bimdata-select__option-list[data-v-1b2410f3]{position:absolute;z-index:2;top:-3px;width:100%;max-height:220px;padding:calc(var(--spacing-unit)/ 2) 0;overflow:auto;box-shadow:var(--box-shadow);background-color:var(--color-white)}.bimdata-select__option-list__entry[data-v-1b2410f3]{height:29px;padding:0 var(--spacing-unit);display:flex;align-items:center;font-size:.8571428571em;cursor:pointer}.bimdata-select__option-list__entry[data-v-1b2410f3]:hover{background-color:var(--color-silver-light);transition:all .2s ease}.bimdata-select__option-list__entry.selected[data-v-1b2410f3]{background-color:var(--color-silver-light)}.bimdata-select__option-list__entry.selected[data-v-1b2410f3]:hover{background-color:var(--color-silver)}.bimdata-select__option-list__entry.disabled[data-v-1b2410f3]{color:var(--color-silver-dark);cursor:default}.bimdata-select__option-list__entry.option-group[data-v-1b2410f3]{color:var(--color-granite);font-weight:700}.bimdata-select__option-list__entry.option-group[data-v-1b2410f3]:hover{background-color:transparent;cursor:default}.bimdata-select__option-list__entry.option-group~.bimdata-select__option-list__entry[data-v-1b2410f3]:not(.option-group){padding-left:calc(var(--spacing-unit) * 2)}', map: void 0, media: void 0 });
|
|
1546
|
-
}, { components: { BIMDataIconChevron:
|
|
1547
|
+
}, { components: { BIMDataIconChevron: Z2 }, directives: { clickaway: H2 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number] }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: [String, Object] }, nullValue: { type: Boolean, default: !1 }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], data: () => ({ isOpen: !1 }), computed: { displayedValue() {
|
|
1547
1548
|
return this.optionLabel(this.modelValue);
|
|
1548
1549
|
} }, methods: { toggle() {
|
|
1549
1550
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -1758,7 +1759,7 @@ var S5 = function() {
|
|
|
1758
1759
|
}
|
|
1759
1760
|
}), t("span", [e._v(" " + e._s(e.$t("BcfComponents.BcfFilters.searchButton")) + " ")])], 1)], 1)], 1)])], 1);
|
|
1760
1761
|
}, T5 = [];
|
|
1761
|
-
function
|
|
1762
|
+
function F(e, r, t, i, n, d, a, s) {
|
|
1762
1763
|
var u = typeof e == "function" ? e.options : e;
|
|
1763
1764
|
r && (u.render = r, u.staticRenderFns = t, u._compiled = !0), i && (u.functional = !0), d && (u._scopeId = "data-v-" + d);
|
|
1764
1765
|
var C;
|
|
@@ -1807,18 +1808,18 @@ const O5 = {
|
|
|
1807
1808
|
},
|
|
1808
1809
|
emits: ["submit"],
|
|
1809
1810
|
setup(e, { emit: r }) {
|
|
1810
|
-
const t =
|
|
1811
|
+
const t = y(!1), i = () => t.value = !1, n = () => t.value = !t.value, d = y(null), { filters: a, filteredTopics: s, reset: u } = v5(
|
|
1811
1812
|
k(() => e.topics)
|
|
1812
1813
|
), C = k(
|
|
1813
|
-
() => t1(e.topics.map((
|
|
1814
|
+
() => t1(e.topics.map((H) => H.priority))
|
|
1814
1815
|
), o = k(
|
|
1815
|
-
() => t1(e.topics.map((
|
|
1816
|
+
() => t1(e.topics.map((H) => H.topic_status))
|
|
1816
1817
|
), c = k(
|
|
1817
|
-
() => t1(e.topics.map((
|
|
1818
|
+
() => t1(e.topics.map((H) => H.assigned_to))
|
|
1818
1819
|
), l = k(
|
|
1819
|
-
() => t1(e.topics.map((
|
|
1820
|
+
() => t1(e.topics.map((H) => H.creation_author))
|
|
1820
1821
|
), b = k(
|
|
1821
|
-
() => t1(e.topics.flatMap((
|
|
1822
|
+
() => t1(e.topics.flatMap((H) => H.labels))
|
|
1822
1823
|
);
|
|
1823
1824
|
return {
|
|
1824
1825
|
// References
|
|
@@ -1834,21 +1835,21 @@ const O5 = {
|
|
|
1834
1835
|
close: i,
|
|
1835
1836
|
resetFilters: () => {
|
|
1836
1837
|
u(), r("submit", {
|
|
1837
|
-
filters:
|
|
1838
|
+
filters: f2(a),
|
|
1838
1839
|
topics: s.value
|
|
1839
1840
|
});
|
|
1840
1841
|
},
|
|
1841
1842
|
submitFilters: () => {
|
|
1842
1843
|
a.endDate && a.endDate.setHours(23, 59, 59), r("submit", {
|
|
1843
|
-
filters:
|
|
1844
|
+
filters: f2(a),
|
|
1844
1845
|
topics: s.value
|
|
1845
1846
|
}), t.value = !1;
|
|
1846
1847
|
},
|
|
1847
1848
|
toggle: n
|
|
1848
1849
|
};
|
|
1849
1850
|
}
|
|
1850
|
-
},
|
|
1851
|
-
var z5 = /* @__PURE__ */
|
|
1851
|
+
}, w2 = {};
|
|
1852
|
+
var z5 = /* @__PURE__ */ F(
|
|
1852
1853
|
O5,
|
|
1853
1854
|
S5,
|
|
1854
1855
|
T5,
|
|
@@ -1859,13 +1860,13 @@ var z5 = /* @__PURE__ */ $(
|
|
|
1859
1860
|
null
|
|
1860
1861
|
);
|
|
1861
1862
|
function P5(e) {
|
|
1862
|
-
for (let r in
|
|
1863
|
-
this[r] =
|
|
1863
|
+
for (let r in w2)
|
|
1864
|
+
this[r] = w2[r];
|
|
1864
1865
|
}
|
|
1865
1866
|
const N5 = /* @__PURE__ */ function() {
|
|
1866
1867
|
return z5.exports;
|
|
1867
|
-
}(),
|
|
1868
|
-
Object.entries(
|
|
1868
|
+
}(), n2 = Object.freeze({ bisque: "ffe4c4", orange: "ffa500", coral: "ff7f50", red: "ff3d1e", maroon: "800000", khaki: "f0e68c", tan: "d2b48c", peru: "cd853f", sienna: "a0522d", brown: "a52a2a", greenyellow: "adff2f", yellowgreen: "9acd32", forestgreen: "00af50", green: "008000", darkgreen: "006400", lightcyan: "e0ffff", skyblue: "87ceeb", steelblue: "4682b4", blue: "0000ff", darkblue: "00008b", mistyrose: "ffe4e1", hotpink: "ff69b4", magenta: "ff00ff", purple: "800080", indigo: "4b0082", whitesmoke: "f5f5f5", silver: "c0c0c0", darkgray: "a9a9a9", grey: "7a7a7a", black: "000000" }), A5 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
|
|
1869
|
+
Object.entries(n2).filter(([e]) => !A5.includes(e));
|
|
1869
1870
|
var j5 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), U5 = { props: { text: { type: String } } };
|
|
1870
1871
|
function W1(e, r, t, i, n, d, a, s, u, C) {
|
|
1871
1872
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
@@ -1892,7 +1893,7 @@ function W1(e, r, t, i, n, d, a, s, u, C) {
|
|
|
1892
1893
|
const q5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1893
1894
|
function X1(e) {
|
|
1894
1895
|
return (r, t) => function(i, n) {
|
|
1895
|
-
const d = q5 ? n.media || "default" : i, a =
|
|
1896
|
+
const d = q5 ? n.media || "default" : i, a = k2[d] || (k2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1896
1897
|
if (!a.ids.has(i)) {
|
|
1897
1898
|
a.ids.add(i);
|
|
1898
1899
|
let s = n.source;
|
|
@@ -1909,7 +1910,7 @@ function X1(e) {
|
|
|
1909
1910
|
}(r, t);
|
|
1910
1911
|
}
|
|
1911
1912
|
let R1;
|
|
1912
|
-
const
|
|
1913
|
+
const k2 = {}, Y5 = W1({ render: function() {
|
|
1913
1914
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1914
1915
|
return t("div", { staticClass: "bimdata-card", class: e.classes, style: { "min-width": e.width, "border-radius": e.borderRadius } }, [e.titleHeader || e.$slots.headerIcons ? t("BIMDataCardBand", { staticClass: "bimdata-card__header", attrs: { text: e.titleHeader }, scopedSlots: e._u([{ key: "right", fn: function() {
|
|
1915
1916
|
return [e._t("headerIcons")];
|
|
@@ -1927,7 +1928,7 @@ const w2 = {}, Y5 = W1({ render: function() {
|
|
|
1927
1928
|
e && (e("data-v-d290df1a_0", { source: 'html[data-v-d290df1a]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-d290df1a_1", { source: ".bimdata-card__brand{justify-content:space-between}.bimdata-card__brand--left{margin-right:var(--spacing-unit);display:flex;align-items:center}.bimdata-card__brand--left svg{margin-right:calc(var(--spacing-unit)/ 2)}", map: void 0, media: void 0 }));
|
|
1928
1929
|
}, U5, "data-v-d290df1a", !1, void 0, !1, X1, void 0, void 0) }, props: { titleHeader: { type: String }, submenuText: { type: String }, width: { type: [Number, String], default: "215px" }, borderRadius: { type: String, default: "0px" }, bgColor: { type: String, default: "default", validator: (e) => j5.includes(e) } }, computed: { classes() {
|
|
1929
1930
|
return { [`bimdata-card__${this.bgColor}`]: this.bgColor };
|
|
1930
|
-
} } }, "data-v-ed011768", !1, void 0, !1, X1, void 0, void 0), W5 = Object.entries(
|
|
1931
|
+
} } }, "data-v-ed011768", !1, void 0, !1, X1, void 0, void 0), W5 = Object.entries(n2).reduce((e, r, t) => (t % 5 == 0 ? e.push([r]) : e[e.length - 1].push(r), e), []), X5 = W1({ render: function() {
|
|
1931
1932
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1932
1933
|
return t("BIMDataCard", { staticClass: "color-selector", scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1933
1934
|
return e._l(e.colorLines, function(i, n) {
|
|
@@ -1941,7 +1942,7 @@ const w2 = {}, Y5 = W1({ render: function() {
|
|
|
1941
1942
|
}, proxy: !0 }]) });
|
|
1942
1943
|
}, staticRenderFns: [] }, function(e) {
|
|
1943
1944
|
e && e("data-v-29b6f3f4_0", { source: ".color-selector__line[data-v-29b6f3f4]{display:flex}.color-selector__line__element[data-v-29b6f3f4]{cursor:pointer;height:30px;width:30px;margin:4px;border-radius:3px}.color-selector__line__element.selected[data-v-29b6f3f4]{border:solid 2px var(--color-primary)}", map: void 0, media: void 0 });
|
|
1944
|
-
}, { components: { BIMDataCard: Y5 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(
|
|
1945
|
+
}, { components: { BIMDataCard: Y5 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(n2).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: W5 }) }, "data-v-29b6f3f4", !1, void 0, !1, X1, void 0, void 0);
|
|
1945
1946
|
var K5 = function() {
|
|
1946
1947
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1947
1948
|
return t("li", {
|
|
@@ -2079,10 +2080,10 @@ const G5 = {
|
|
|
2079
2080
|
"delete-extension"
|
|
2080
2081
|
],
|
|
2081
2082
|
setup(e, { emit: r }) {
|
|
2082
|
-
const t =
|
|
2083
|
-
e.extension[
|
|
2084
|
-
), a =
|
|
2085
|
-
return
|
|
2083
|
+
const t = y(!1), i = y(!1), n = y(!1), d = y(
|
|
2084
|
+
e.extension[G(e.extensionType)]
|
|
2085
|
+
), a = y(e.extension.color), s = y(null);
|
|
2086
|
+
return N(
|
|
2086
2087
|
t,
|
|
2087
2088
|
() => setTimeout(() => t.value && s.value.focus(), 50)
|
|
2088
2089
|
), {
|
|
@@ -2096,7 +2097,7 @@ const G5 = {
|
|
|
2096
2097
|
isOpenDeleteGuard: n,
|
|
2097
2098
|
// Methods
|
|
2098
2099
|
adjustBorderColor: We,
|
|
2099
|
-
getExtensionField:
|
|
2100
|
+
getExtensionField: G,
|
|
2100
2101
|
submitColor: async (c) => {
|
|
2101
2102
|
c !== e.extension.color && (r("update-extension", {
|
|
2102
2103
|
extensionType: e.extensionType,
|
|
@@ -2111,7 +2112,7 @@ const G5 = {
|
|
|
2111
2112
|
});
|
|
2112
2113
|
},
|
|
2113
2114
|
submitValue: async () => {
|
|
2114
|
-
d.value !== e.extension[
|
|
2115
|
+
d.value !== e.extension[G(e.extensionType)] && (r("update-extension", {
|
|
2115
2116
|
extensionType: e.extensionType,
|
|
2116
2117
|
extension: e.extension,
|
|
2117
2118
|
data: { value: d.value }
|
|
@@ -2119,8 +2120,8 @@ const G5 = {
|
|
|
2119
2120
|
}
|
|
2120
2121
|
};
|
|
2121
2122
|
}
|
|
2122
|
-
},
|
|
2123
|
-
var Q5 = /* @__PURE__ */
|
|
2123
|
+
}, $2 = {};
|
|
2124
|
+
var Q5 = /* @__PURE__ */ F(
|
|
2124
2125
|
G5,
|
|
2125
2126
|
K5,
|
|
2126
2127
|
J5,
|
|
@@ -2131,8 +2132,8 @@ var Q5 = /* @__PURE__ */ $(
|
|
|
2131
2132
|
null
|
|
2132
2133
|
);
|
|
2133
2134
|
function e3(e) {
|
|
2134
|
-
for (let r in
|
|
2135
|
-
this[r] =
|
|
2135
|
+
for (let r in $2)
|
|
2136
|
+
this[r] = $2[r];
|
|
2136
2137
|
}
|
|
2137
2138
|
const t3 = /* @__PURE__ */ function() {
|
|
2138
2139
|
return Q5.exports;
|
|
@@ -2275,7 +2276,7 @@ const a3 = {
|
|
|
2275
2276
|
setup(e, { emit: r }) {
|
|
2276
2277
|
const t = k(
|
|
2277
2278
|
() => Re(e.extensionType, e.detailedExtensions)
|
|
2278
|
-
), i =
|
|
2279
|
+
), i = y(null), n = y(""), d = y(!1), a = () => d.value = !1, s = () => d.value = !d.value, u = y(!1), C = () => {
|
|
2279
2280
|
n.value = "", u.value = !1;
|
|
2280
2281
|
};
|
|
2281
2282
|
return {
|
|
@@ -2300,8 +2301,8 @@ const a3 = {
|
|
|
2300
2301
|
}
|
|
2301
2302
|
};
|
|
2302
2303
|
}
|
|
2303
|
-
},
|
|
2304
|
-
var n3 = /* @__PURE__ */
|
|
2304
|
+
}, F2 = {};
|
|
2305
|
+
var n3 = /* @__PURE__ */ F(
|
|
2305
2306
|
a3,
|
|
2306
2307
|
r3,
|
|
2307
2308
|
i3,
|
|
@@ -2312,8 +2313,8 @@ var n3 = /* @__PURE__ */ $(
|
|
|
2312
2313
|
null
|
|
2313
2314
|
);
|
|
2314
2315
|
function o3(e) {
|
|
2315
|
-
for (let r in
|
|
2316
|
-
this[r] =
|
|
2316
|
+
for (let r in F2)
|
|
2317
|
+
this[r] = F2[r];
|
|
2317
2318
|
}
|
|
2318
2319
|
const l3 = /* @__PURE__ */ function() {
|
|
2319
2320
|
return n3.exports;
|
|
@@ -2440,8 +2441,8 @@ const c3 = {
|
|
|
2440
2441
|
}
|
|
2441
2442
|
};
|
|
2442
2443
|
}
|
|
2443
|
-
},
|
|
2444
|
-
var u3 = /* @__PURE__ */
|
|
2444
|
+
}, D2 = {};
|
|
2445
|
+
var u3 = /* @__PURE__ */ F(
|
|
2445
2446
|
c3,
|
|
2446
2447
|
d3,
|
|
2447
2448
|
s3,
|
|
@@ -2452,8 +2453,8 @@ var u3 = /* @__PURE__ */ $(
|
|
|
2452
2453
|
null
|
|
2453
2454
|
);
|
|
2454
2455
|
function f3(e) {
|
|
2455
|
-
for (let r in
|
|
2456
|
-
this[r] =
|
|
2456
|
+
for (let r in D2)
|
|
2457
|
+
this[r] = D2[r];
|
|
2457
2458
|
}
|
|
2458
2459
|
const C3 = /* @__PURE__ */ function() {
|
|
2459
2460
|
return u3.exports;
|
|
@@ -2463,7 +2464,7 @@ var h3 = Object.freeze(["default", "primary", "secondary", "high", "success", "g
|
|
|
2463
2464
|
}, style() {
|
|
2464
2465
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
2465
2466
|
} } };
|
|
2466
|
-
function
|
|
2467
|
+
function U(e, r, t, i, n, d, a, s, u, C) {
|
|
2467
2468
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
2468
2469
|
const o = typeof t == "function" ? t.options : t;
|
|
2469
2470
|
let c;
|
|
@@ -2486,9 +2487,9 @@ function j(e, r, t, i, n, d, a, s, u, C) {
|
|
|
2486
2487
|
return t;
|
|
2487
2488
|
}
|
|
2488
2489
|
const p3 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2489
|
-
function
|
|
2490
|
+
function X(e) {
|
|
2490
2491
|
return (r, t) => function(i, n) {
|
|
2491
|
-
const d = p3 ? n.media || "default" : i, a =
|
|
2492
|
+
const d = p3 ? n.media || "default" : i, a = E2[d] || (E2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
2492
2493
|
if (!a.ids.has(i)) {
|
|
2493
2494
|
a.ids.add(i);
|
|
2494
2495
|
let s = n.source;
|
|
@@ -2505,28 +2506,28 @@ function W(e) {
|
|
|
2505
2506
|
}(r, t);
|
|
2506
2507
|
}
|
|
2507
2508
|
let I1;
|
|
2508
|
-
const
|
|
2509
|
+
const E2 = {}, B2 = U({ render: function() {
|
|
2509
2510
|
var e = this, r = e.$createElement;
|
|
2510
2511
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
2511
2512
|
return e.$emit("click", t);
|
|
2512
2513
|
} } }, [e._t("default")], 2);
|
|
2513
2514
|
}, staticRenderFns: [] }, function(e) {
|
|
2514
2515
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
2515
|
-
}, v3, "data-v-7af18892", !1, void 0, !1,
|
|
2516
|
+
}, v3, "data-v-7af18892", !1, void 0, !1, X, void 0, void 0), g3 = U({ render: function() {
|
|
2516
2517
|
var e = this.$createElement;
|
|
2517
2518
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" } });
|
|
2518
2519
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
2519
2520
|
var b3 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
2520
|
-
const
|
|
2521
|
-
var
|
|
2521
|
+
const R2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
2522
|
+
var I2 = (e, r) => ({ name: `BIMDataIcon${e}`, components: { [e]: r }, props: { color: { type: String, default: "default", validator: (t) => b3.includes(t) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (t) => Object.keys(R2).includes(t) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
2522
2523
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
2523
2524
|
}, style() {
|
|
2524
2525
|
const t = this.getPixelSize(this.size);
|
|
2525
2526
|
return { width: `${t}px`, minWidth: `${t}px`, height: `${t}px`, minHeight: `${t}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
2526
2527
|
} }, methods: { getPixelSize() {
|
|
2527
|
-
return this.customSize ? this.customSize :
|
|
2528
|
+
return this.customSize ? this.customSize : R2[this.size];
|
|
2528
2529
|
} } });
|
|
2529
|
-
const m3 =
|
|
2530
|
+
const m3 = U({ render: function() {
|
|
2530
2531
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2531
2532
|
return t("div", { staticClass: "bimdata-paginated-list" }, [e.loading ? t("BIMDataSpinner") : t("div", [e._t("header"), e._v(" "), t("ul", { staticClass: "bimdata-list bimdata-paginated-list__elements" }, e._l(e.page, function(i) {
|
|
2532
2533
|
return t("li", { key: e.elementKey ? i[e.elementKey] : i, on: { click: function(n) {
|
|
@@ -2539,7 +2540,7 @@ const m3 = j({ render: function() {
|
|
|
2539
2540
|
}), 0), e._v(" "), e.list.length === 0 ? [e._t("empty")] : e._e(), e._v(" "), e.totalPages > 1 ? t("BIMDataPagination", { attrs: { length: e.list.length, currentPage: e.currentPage, totalPages: e.totalPages, perPage: e.perPage, first: e.first, last: e.last, numberDataElements: e.numberDataElements, backgroundColor: e.backgroundColor }, on: { pagechanged: e.onPageChange } }) : e._e()], 2)], 1);
|
|
2540
2541
|
}, staticRenderFns: [] }, function(e) {
|
|
2541
2542
|
e && (e("data-v-9848cfc8_0", { source: 'html[data-v-9848cfc8]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-list[data-v-9848cfc8]{margin:0;padding:0}.bimdata-list li[data-v-9848cfc8]{list-style-type:none}', map: void 0, media: void 0 }), e("data-v-9848cfc8_1", { source: ".bimdata-paginated-list[data-v-9848cfc8]{font-family:var(--primary-font);font-size:1em;line-height:1.5;overflow:auto}.bimdata-paginated-list--small[data-v-9848cfc8]{height:100%;position:relative}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]{padding:6px;display:flex;align-items:center;justify-content:space-between;font-size:.8571428571em}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]:nth-child(odd){background-color:var(--color-silver-light)}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]:nth-child(even){background-color:hsl(var(--color-silver-light),5%)}.bimdata-paginated-list--empty[data-v-9848cfc8]{height:auto}.bimdata-paginated-list .bimdata-spinner[data-v-9848cfc8]{padding:12px 0;justify-content:center}", map: void 0, media: void 0 }));
|
|
2542
|
-
}, { components: { BIMDataPagination:
|
|
2543
|
+
}, { components: { BIMDataPagination: U({ render: function() {
|
|
2543
2544
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2544
2545
|
return t("BIMDataNavigation", { staticClass: "bimdata-pagination", attrs: { firstDisabled: e.isFirstPage, previousDisabled: e.isFirstPage, nextDisabled: e.isLastPage, lastDisabled: e.isLastPage, backgroundColor: e.backgroundColor }, on: { first: function(i) {
|
|
2545
2546
|
return e.firstPage();
|
|
@@ -2558,7 +2559,7 @@ const m3 = j({ render: function() {
|
|
|
2558
2559
|
`)])], 1)]);
|
|
2559
2560
|
}, staticRenderFns: [] }, function(e) {
|
|
2560
2561
|
e && (e("data-v-0a60caec_0", { source: 'html[data-v-0a60caec]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-0a60caec_1", { source: ".bimdata-pagination__item .bimdata-btn[data-v-0a60caec]{padding:0;justify-content:center}.bimdata-pagination__item.active .bimdata-btn[data-v-0a60caec]{font-weight:700}", map: void 0, media: void 0 }));
|
|
2561
|
-
}, { components: { BIMDataNavigation:
|
|
2562
|
+
}, { components: { BIMDataNavigation: U({ render: function() {
|
|
2562
2563
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2563
2564
|
return t("ul", { staticClass: "bimdata-list bimdata-navigation", style: { "background-color": e.backgroundColor } }, [t("li", { staticClass: "bimdata-navigation__left m-r-6" }, [e._t("left")], 2), e._v(" "), e.first ? t("li", { staticClass: "bimdata-navigation__item" }, [t("BIMDataButton", { class: { disabled: e.firstDisabled }, attrs: { disabled: e.firstDisabled, ghost: "", width: "21px", height: "21px" }, on: { click: function(i) {
|
|
2564
2565
|
return e.$emit("first");
|
|
@@ -2571,20 +2572,20 @@ const m3 = j({ render: function() {
|
|
|
2571
2572
|
} } }, [t("BIMDataIconDoubleChevron", { attrs: { size: "xxxs" } })], 1)], 1) : e._e(), e._v(" "), t("li", { staticClass: "bimdata-navigation__right" }, [e._t("right")], 2)]);
|
|
2572
2573
|
}, staticRenderFns: [] }, function(e) {
|
|
2573
2574
|
e && (e("data-v-3c48ce0c_0", { source: 'html[data-v-3c48ce0c]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-list[data-v-3c48ce0c]{margin:0;padding:0}.bimdata-list li[data-v-3c48ce0c]{list-style-type:none}', map: void 0, media: void 0 }), e("data-v-3c48ce0c_1", { source: ".bimdata-navigation[data-v-3c48ce0c]{display:inline-flex;width:100%;height:38px;justify-content:center;align-items:center}.bimdata-navigation__item[data-v-3c48ce0c]{padding:6px 2px}.bimdata-navigation__item .bimdata-btn[data-v-3c48ce0c]{padding:0;justify-content:center}.bimdata-navigation__item.active .bimdata-btn[data-v-3c48ce0c]{font-weight:700}.bimdata-navigation__left[data-v-3c48ce0c],.bimdata-navigation__right[data-v-3c48ce0c]{padding:6px 2px;font-size:10px;cursor:default}", map: void 0, media: void 0 }));
|
|
2574
|
-
}, { components: { BIMDataIconChevron:
|
|
2575
|
+
}, { components: { BIMDataIconChevron: U({ render: function() {
|
|
2575
2576
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2576
2577
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
2577
2578
|
}, staticRenderFns: [] }, function(e) {
|
|
2578
2579
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
2579
|
-
},
|
|
2580
|
+
}, I2("Chevron", g3), "data-v-20c38c94", !1, void 0, !1, X, void 0, void 0), BIMDataIconDoubleChevron: U({ render: function() {
|
|
2580
2581
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2581
2582
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("DoubleChevron")], 1);
|
|
2582
2583
|
}, staticRenderFns: [] }, function(e) {
|
|
2583
2584
|
e && (e("data-v-35e61558_0", { source: 'html[data-v-35e61558]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-35e61558_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
2584
|
-
},
|
|
2585
|
+
}, I2("DoubleChevron", U({ render: function() {
|
|
2585
2586
|
var e = this.$createElement;
|
|
2586
2587
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.47105C0.982285 2.39544 0.982285 2.27217 1.05119 2.19676L3.00683 0.0565512C3.07573 -0.0188504 3.18857 -0.0188504 3.25748 0.0565512L13.5625 11.3331C13.5796 11.3518 13.5925 11.3736 13.6012 11.3968C13.6665 11.4724 13.6658 11.5928 13.598 11.667L3.29296 22.9433C3.22406 23.0189 3.11122 23.0189 3.04231 22.9433L1.08668 20.8033C1.01758 20.7279 1.01758 20.6044 1.08668 20.529L9.32003 11.5192L1.05119 2.47105ZM10.2512 2.47105C10.1823 2.39544 10.1823 2.27217 10.2512 2.19676L12.2068 0.0565512C12.2757 -0.0188504 12.3886 -0.0188504 12.4575 0.0565512L22.7625 11.3331C22.7796 11.3518 22.7925 11.3736 22.8012 11.3968C22.8665 11.4724 22.8658 11.5928 22.798 11.667L12.493 22.9433C12.4241 23.0189 12.3112 23.0189 12.2423 22.9433L10.2867 20.8033C10.2176 20.7279 10.2176 20.6044 10.2867 20.529L18.52 11.5192L10.2512 2.47105Z" } });
|
|
2587
|
-
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1,
|
|
2588
|
+
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1, X, void 0, void 0), BIMDataButton: B2 }, props: { first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, previous: { type: Boolean, default: !0 }, next: { type: Boolean, default: !0 }, firstDisabled: { type: Boolean, default: !1 }, lastDisabled: { type: Boolean, default: !1 }, previousDisabled: { type: Boolean, default: !1 }, nextDisabled: { type: Boolean, default: !1 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["first", "previous", "next", "last"] }, "data-v-3c48ce0c", !1, void 0, !1, X, void 0, void 0), BIMDataButton: B2 }, props: { length: { type: Number, required: !0 }, currentPage: { type: Number, required: !0 }, totalPages: { type: Number, required: !0 }, numberDataElements: { type: Boolean, default: !0 }, backgroundColor: { type: String, default: "var(--color-white)" }, perPage: { type: Number, required: !0, validator: (e) => e > 0 } }, emits: ["pagechanged"], computed: { firstIndex() {
|
|
2588
2589
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
2589
2590
|
}, lastIndex() {
|
|
2590
2591
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -2600,7 +2601,7 @@ const m3 = j({ render: function() {
|
|
|
2600
2601
|
this.$emit("pagechanged", this.currentPage + 1);
|
|
2601
2602
|
}, lastPage() {
|
|
2602
2603
|
this.$emit("pagechanged", this.totalPages);
|
|
2603
|
-
} } }, "data-v-0a60caec", !1, void 0, !1,
|
|
2604
|
+
} } }, "data-v-0a60caec", !1, void 0, !1, X, void 0, void 0), BIMDataSpinner: U({ render: function() {
|
|
2604
2605
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2605
2606
|
return t("div", { staticClass: "bimdata-spinner" }, [t("div", { staticClass: "bimdata-spinner--square", style: e.getStyle() })]);
|
|
2606
2607
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -2608,7 +2609,7 @@ const m3 = j({ render: function() {
|
|
|
2608
2609
|
}, { props: ["size", "border"], methods: { getStyle() {
|
|
2609
2610
|
if (this.size)
|
|
2610
2611
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
2611
|
-
} } }, "data-v-60a4222b", !1, void 0, !1,
|
|
2612
|
+
} } }, "data-v-60a4222b", !1, void 0, !1, X, void 0, void 0) }, props: { list: { type: Array, default: () => [] }, perPage: { type: Number, default: 10, validator: (e) => e > 0 }, elementKey: { type: String }, loading: { type: Boolean, default: !1 }, first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, numberDataElements: { type: Boolean, default: !0 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["element-click"], data: () => ({ currentPage: 1 }), computed: { totalPages() {
|
|
2612
2613
|
return this.list.length ? Math.ceil(this.list.length / this.perPage) : 0;
|
|
2613
2614
|
}, page() {
|
|
2614
2615
|
const e = this.perPage * (this.currentPage - 1), r = e + this.perPage;
|
|
@@ -2617,7 +2618,7 @@ const m3 = j({ render: function() {
|
|
|
2617
2618
|
this.list.length < this.perPage * (this.currentPage - 1) + 1 && (this.currentPage = 1);
|
|
2618
2619
|
}, deep: !0, immediate: !0 } }, methods: { onPageChange(e) {
|
|
2619
2620
|
this.currentPage = e;
|
|
2620
|
-
} } }, "data-v-9848cfc8", !1, void 0, !1,
|
|
2621
|
+
} } }, "data-v-9848cfc8", !1, void 0, !1, X, void 0, void 0);
|
|
2621
2622
|
var _3 = { props: { barsData: { type: Array, default: () => [] }, barDistanceFromCenter: { type: Number, default: 50 }, barStrokeWidth: { type: Number, default: 10 }, placeholder: { type: Boolean, default: !1 }, placeholderStrokeWidth: { type: Number, default: 4 }, placeholderColor: { type: String, default: "#EBEBEB" }, graphDrawTime: { type: Number, default: 4 } }, computed: { roundCapPercentageOffset() {
|
|
2622
2623
|
return (this.barStrokeWidth / 2 - 4) / (2 * this.barDistanceFromCenter * Math.PI) * 100;
|
|
2623
2624
|
}, center() {
|
|
@@ -2669,7 +2670,7 @@ function L3(e, r, t, i, n, d, a, s, u, C) {
|
|
|
2669
2670
|
const y3 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2670
2671
|
function H3(e) {
|
|
2671
2672
|
return (r, t) => function(i, n) {
|
|
2672
|
-
const d = y3 ? n.media || "default" : i, a =
|
|
2673
|
+
const d = y3 ? n.media || "default" : i, a = S2[d] || (S2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
2673
2674
|
if (!a.ids.has(i)) {
|
|
2674
2675
|
a.ids.add(i);
|
|
2675
2676
|
let s = n.source;
|
|
@@ -2686,7 +2687,7 @@ function H3(e) {
|
|
|
2686
2687
|
}(r, t);
|
|
2687
2688
|
}
|
|
2688
2689
|
let S1;
|
|
2689
|
-
const
|
|
2690
|
+
const S2 = {}, V3 = L3({ render: function() {
|
|
2690
2691
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2691
2692
|
return t("div", { ref: "container", staticClass: "bimdata-simple-pie-chart" }, [t("svg", { style: "--graph-draw-time: " + e.graphDrawTime + "s;", attrs: { viewBox: e.viewBox } }, [e.placeholder ? t("circle", { attrs: { cx: e.center, cy: e.center, r: e.barDistanceFromCenter, "stroke-width": e.placeholderStrokeWidth, stroke: e.placeholderColor, fill: "none" } }) : e._e(), e._v(" "), e._l(e.displayedBarsData, function(i, n) {
|
|
2692
2693
|
return t("g", { key: n }, [i.percentage > 0 ? t("path", { staticClass: "path", attrs: { d: e.getPath(i), "stroke-width": e.barStrokeWidth, stroke: i.color, fill: "none" } }) : e._e()]);
|
|
@@ -2766,12 +2767,12 @@ const Z3 = {
|
|
|
2766
2767
|
chartData: k(() => {
|
|
2767
2768
|
if (e.topics.length === 0)
|
|
2768
2769
|
return [];
|
|
2769
|
-
const t =
|
|
2770
|
+
const t = G(e.extensionType), i = Re(e.extensionType, e.detailedExtensions);
|
|
2770
2771
|
return i.push({ [t]: void 0 }), i.map((n) => {
|
|
2771
2772
|
const d = e.topics.filter((a) => a[t] === n[t]).length;
|
|
2772
2773
|
return {
|
|
2773
2774
|
label: n[t],
|
|
2774
|
-
color: `#${n.color ??
|
|
2775
|
+
color: `#${n.color ?? r2}`,
|
|
2775
2776
|
count: d,
|
|
2776
2777
|
percentage: d * 100 / e.topics.length
|
|
2777
2778
|
};
|
|
@@ -2779,8 +2780,8 @@ const Z3 = {
|
|
|
2779
2780
|
})
|
|
2780
2781
|
};
|
|
2781
2782
|
}
|
|
2782
|
-
},
|
|
2783
|
-
var w3 = /* @__PURE__ */
|
|
2783
|
+
}, T2 = {};
|
|
2784
|
+
var w3 = /* @__PURE__ */ F(
|
|
2784
2785
|
Z3,
|
|
2785
2786
|
M3,
|
|
2786
2787
|
x3,
|
|
@@ -2791,8 +2792,8 @@ var w3 = /* @__PURE__ */ $(
|
|
|
2791
2792
|
null
|
|
2792
2793
|
);
|
|
2793
2794
|
function k3(e) {
|
|
2794
|
-
for (let r in
|
|
2795
|
-
this[r] =
|
|
2795
|
+
for (let r in T2)
|
|
2796
|
+
this[r] = T2[r];
|
|
2796
2797
|
}
|
|
2797
2798
|
const $3 = /* @__PURE__ */ function() {
|
|
2798
2799
|
return w3.exports;
|
|
@@ -2832,7 +2833,7 @@ function D3(e, r, t, i, n, d, a, s, u, C) {
|
|
|
2832
2833
|
const E3 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2833
2834
|
function B3(e) {
|
|
2834
2835
|
return (r, t) => function(i, n) {
|
|
2835
|
-
const d = E3 ? n.media || "default" : i, a =
|
|
2836
|
+
const d = E3 ? n.media || "default" : i, a = O2[d] || (O2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
2836
2837
|
if (!a.ids.has(i)) {
|
|
2837
2838
|
a.ids.add(i);
|
|
2838
2839
|
let s = n.source;
|
|
@@ -2849,7 +2850,7 @@ function B3(e) {
|
|
|
2849
2850
|
}(r, t);
|
|
2850
2851
|
}
|
|
2851
2852
|
let T1;
|
|
2852
|
-
const
|
|
2853
|
+
const O2 = {}, f1 = D3({ render: function() {
|
|
2853
2854
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2854
2855
|
return t("div", { ref: "textBox", staticClass: "bimdata-textbox", style: { width: e.width, minWidth: e.minWidth, maxWidth: e.maxWidth }, on: { mouseenter: function(i) {
|
|
2855
2856
|
e.showTooltip = !0;
|
|
@@ -2968,8 +2969,8 @@ var R3 = function() {
|
|
|
2968
2969
|
}
|
|
2969
2970
|
})]);
|
|
2970
2971
|
}, I3 = [];
|
|
2971
|
-
const S3 = {},
|
|
2972
|
-
var T3 = /* @__PURE__ */
|
|
2972
|
+
const S3 = {}, z2 = {};
|
|
2973
|
+
var T3 = /* @__PURE__ */ F(
|
|
2973
2974
|
S3,
|
|
2974
2975
|
R3,
|
|
2975
2976
|
I3,
|
|
@@ -2980,10 +2981,10 @@ var T3 = /* @__PURE__ */ $(
|
|
|
2980
2981
|
null
|
|
2981
2982
|
);
|
|
2982
2983
|
function O3(e) {
|
|
2983
|
-
for (let r in
|
|
2984
|
-
this[r] =
|
|
2984
|
+
for (let r in z2)
|
|
2985
|
+
this[r] = z2[r];
|
|
2985
2986
|
}
|
|
2986
|
-
const
|
|
2987
|
+
const o2 = /* @__PURE__ */ function() {
|
|
2987
2988
|
return T3.exports;
|
|
2988
2989
|
}();
|
|
2989
2990
|
var z3 = function() {
|
|
@@ -3096,7 +3097,7 @@ var z3 = function() {
|
|
|
3096
3097
|
}, P3 = [];
|
|
3097
3098
|
const N3 = {
|
|
3098
3099
|
components: {
|
|
3099
|
-
BcfTopicDefaultImage:
|
|
3100
|
+
BcfTopicDefaultImage: o2,
|
|
3100
3101
|
BIMDataButton: R,
|
|
3101
3102
|
BIMDataIcon: I,
|
|
3102
3103
|
BIMDataTextbox: f1
|
|
@@ -3121,7 +3122,7 @@ const N3 = {
|
|
|
3121
3122
|
},
|
|
3122
3123
|
emits: ["open-topic", "update:selected"],
|
|
3123
3124
|
setup(e) {
|
|
3124
|
-
const r =
|
|
3125
|
+
const r = y(!1), t = k(() => e1(e.topic, e.detailedExtensions)), i = k(() => a2(e.topic, e.detailedExtensions)), n = k(() => {
|
|
3125
3126
|
var a, s;
|
|
3126
3127
|
return (s = (a = e.topic.viewpoints) == null ? void 0 : a.filter((u) => u.snapshot)[0]) == null ? void 0 : s.snapshot.snapshot_data;
|
|
3127
3128
|
}), d = k(() => {
|
|
@@ -3139,8 +3140,8 @@ const N3 = {
|
|
|
3139
3140
|
adjustTextColor: x1
|
|
3140
3141
|
};
|
|
3141
3142
|
}
|
|
3142
|
-
},
|
|
3143
|
-
var A3 = /* @__PURE__ */
|
|
3143
|
+
}, P2 = {};
|
|
3144
|
+
var A3 = /* @__PURE__ */ F(
|
|
3144
3145
|
N3,
|
|
3145
3146
|
z3,
|
|
3146
3147
|
P3,
|
|
@@ -3151,8 +3152,8 @@ var A3 = /* @__PURE__ */ $(
|
|
|
3151
3152
|
null
|
|
3152
3153
|
);
|
|
3153
3154
|
function j3(e) {
|
|
3154
|
-
for (let r in
|
|
3155
|
-
this[r] =
|
|
3155
|
+
for (let r in P2)
|
|
3156
|
+
this[r] = P2[r];
|
|
3156
3157
|
}
|
|
3157
3158
|
const U3 = /* @__PURE__ */ function() {
|
|
3158
3159
|
return A3.exports;
|
|
@@ -3225,8 +3226,8 @@ var q3 = function() {
|
|
|
3225
3226
|
}
|
|
3226
3227
|
})]);
|
|
3227
3228
|
}, Y3 = [];
|
|
3228
|
-
const W3 = {},
|
|
3229
|
-
var X3 = /* @__PURE__ */
|
|
3229
|
+
const W3 = {}, N2 = {};
|
|
3230
|
+
var X3 = /* @__PURE__ */ F(
|
|
3230
3231
|
W3,
|
|
3231
3232
|
q3,
|
|
3232
3233
|
Y3,
|
|
@@ -3237,8 +3238,8 @@ var X3 = /* @__PURE__ */ $(
|
|
|
3237
3238
|
null
|
|
3238
3239
|
);
|
|
3239
3240
|
function K3(e) {
|
|
3240
|
-
for (let r in
|
|
3241
|
-
this[r] =
|
|
3241
|
+
for (let r in N2)
|
|
3242
|
+
this[r] = N2[r];
|
|
3242
3243
|
}
|
|
3243
3244
|
const J3 = /* @__PURE__ */ function() {
|
|
3244
3245
|
return X3.exports;
|
|
@@ -3279,8 +3280,8 @@ const e9 = {
|
|
|
3279
3280
|
BIMDataIcon: I
|
|
3280
3281
|
},
|
|
3281
3282
|
emits: ["create-topic"]
|
|
3282
|
-
},
|
|
3283
|
-
var t9 = /* @__PURE__ */
|
|
3283
|
+
}, A2 = {};
|
|
3284
|
+
var t9 = /* @__PURE__ */ F(
|
|
3284
3285
|
e9,
|
|
3285
3286
|
G3,
|
|
3286
3287
|
Q3,
|
|
@@ -3291,13 +3292,13 @@ var t9 = /* @__PURE__ */ $(
|
|
|
3291
3292
|
null
|
|
3292
3293
|
);
|
|
3293
3294
|
function r9(e) {
|
|
3294
|
-
for (let r in
|
|
3295
|
-
this[r] =
|
|
3295
|
+
for (let r in A2)
|
|
3296
|
+
this[r] = A2[r];
|
|
3296
3297
|
}
|
|
3297
3298
|
const i9 = /* @__PURE__ */ function() {
|
|
3298
3299
|
return t9.exports;
|
|
3299
3300
|
}();
|
|
3300
|
-
let
|
|
3301
|
+
let K = class {
|
|
3301
3302
|
constructor(r, t, i, n, d = !1, a = !1, s = "") {
|
|
3302
3303
|
this.language = r, this.months = t, this.monthsAbbr = i, this.days = n, this.rtl = d, this.ymd = a, this.yearSuffix = s;
|
|
3303
3304
|
}
|
|
@@ -3346,7 +3347,7 @@ let X = class {
|
|
|
3346
3347
|
return t < 10 ? `0${t}` : `${t}`;
|
|
3347
3348
|
}
|
|
3348
3349
|
};
|
|
3349
|
-
var a9 = new
|
|
3350
|
+
var a9 = new K("German", ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]), i1 = new K("English", ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]), n9 = new K("Spanish", ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"]), o9 = new K("French", ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], ["Jan", "Fév", "Mar", "Avr", "Mai", "Juin", "Juil", "Août", "Sep", "Oct", "Nov", "Déc"], ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]), l9 = new K("Italian", ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"]), d9 = new K("Dutch", ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"]), s9 = new K("Norwegian", ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], ["Jan", "Feb", "Mar", "Apr", "Mai", "Juni", "Juli", "Aug", "Sep", "Okt", "Nov", "Des"], ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"]), j2 = { de: a9, en: i1, es: n9, fr: o9, it: l9, nl: d9, no: s9 };
|
|
3350
3351
|
function f(e, r, t, i, n, d, a, s, u, C) {
|
|
3351
3352
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
3352
3353
|
const o = typeof t == "function" ? t.options : t;
|
|
@@ -3369,7 +3370,7 @@ function f(e, r, t, i, n, d, a, s, u, C) {
|
|
|
3369
3370
|
}
|
|
3370
3371
|
return t;
|
|
3371
3372
|
}
|
|
3372
|
-
var
|
|
3373
|
+
var U2 = { addFile: f({ render: function() {
|
|
3373
3374
|
var e = this.$createElement;
|
|
3374
3375
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.5312H14.4343V19.7656H12.2781V16.5312H9.04369V14.375H12.2781V11.1406H14.4343V14.375H17.6687V16.5312ZM4.01244 7.90625L10.1218 1.79688V5.97245V7.90625H4.01244ZM20.3885 2.3C20.3885 1.035 19.365 0 18.1 0H8.9L2 6.9V20.7C2 21.965 3.03464 23 4.3 23H18.1115C19.3765 23 20.4 21.965 20.4 20.7L20.3885 2.3Z" } });
|
|
3375
3376
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: f({ render: function() {
|
|
@@ -3834,21 +3835,21 @@ var j2 = { addFile: f({ render: function() {
|
|
|
3834
3835
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3835
3836
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
3836
3837
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, c9 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
3837
|
-
const
|
|
3838
|
+
const q2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
3838
3839
|
var u9 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
3839
3840
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
3840
|
-
}(
|
|
3841
|
+
}(U2) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(U2).includes(e) }, color: { type: String, default: "default", validator: (e) => c9.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(q2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
3841
3842
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
3842
3843
|
}, style() {
|
|
3843
3844
|
const e = this.getPixelSize(this.size);
|
|
3844
3845
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
3845
3846
|
} }, methods: { getPixelSize() {
|
|
3846
|
-
return this.customSize ? this.customSize :
|
|
3847
|
+
return this.customSize ? this.customSize : q2[this.size];
|
|
3847
3848
|
} } };
|
|
3848
3849
|
const f9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
3849
|
-
function
|
|
3850
|
+
function l2(e) {
|
|
3850
3851
|
return (r, t) => function(i, n) {
|
|
3851
|
-
const d = f9 ? n.media || "default" : i, a =
|
|
3852
|
+
const d = f9 ? n.media || "default" : i, a = Y2[d] || (Y2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
3852
3853
|
if (!a.ids.has(i)) {
|
|
3853
3854
|
a.ids.add(i);
|
|
3854
3855
|
let s = n.source;
|
|
@@ -3865,12 +3866,12 @@ function o2(e) {
|
|
|
3865
3866
|
}(r, t);
|
|
3866
3867
|
}
|
|
3867
3868
|
let O1;
|
|
3868
|
-
const
|
|
3869
|
+
const Y2 = {}, d2 = f({ render: function() {
|
|
3869
3870
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3870
3871
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
3871
3872
|
}, staticRenderFns: [] }, function(e) {
|
|
3872
3873
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
3873
|
-
}, u9, "data-v-198621a2", !1, void 0, !1,
|
|
3874
|
+
}, u9, "data-v-198621a2", !1, void 0, !1, l2, void 0, void 0);
|
|
3874
3875
|
var C9 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]);
|
|
3875
3876
|
const Te = f({ render: function() {
|
|
3876
3877
|
var e = this, r = e.$createElement;
|
|
@@ -3883,7 +3884,7 @@ const Te = f({ render: function() {
|
|
|
3883
3884
|
return { "bimdata-btn__icon": this.icon, "bimdata-btn__fill": this.fill, "bimdata-btn__outline": this.outline, "bimdata-btn__ghost": this.ghost, "bimdata-btn__ripple": this.ripple, "bimdata-btn__radius": this.radius, "bimdata-btn__square": this.square, "bimdata-btn__rounded": this.rounded, [`bimdata-btn__fill--${this.color}`]: this.fill && this.color, [`bimdata-btn__outline--${this.color}`]: this.outline && this.color, [`bimdata-btn__ghost--${this.color}`]: this.ghost && this.color, [`bimdata-btn__ripple--${this.color}`]: this.ripple && this.color };
|
|
3884
3885
|
}, style() {
|
|
3885
3886
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
3886
|
-
} } }, "data-v-7af18892", !1, void 0, !1,
|
|
3887
|
+
} } }, "data-v-7af18892", !1, void 0, !1, l2, void 0, void 0), h9 = { useUtc: !1, getFullYear(e) {
|
|
3887
3888
|
return this.useUtc ? e.getUTCFullYear() : e.getFullYear();
|
|
3888
3889
|
}, getMonth(e) {
|
|
3889
3890
|
return this.useUtc ? e.getUTCMonth() : e.getMonth();
|
|
@@ -3980,8 +3981,8 @@ const Te = f({ render: function() {
|
|
|
3980
3981
|
else if (/dd/i.test(c[g]))
|
|
3981
3982
|
b[2] = l[g];
|
|
3982
3983
|
else if (/d/i.test(c[g])) {
|
|
3983
|
-
const
|
|
3984
|
-
b[2] =
|
|
3984
|
+
const L = l[g].replace(/st|rd|nd|th/g, "");
|
|
3985
|
+
b[2] = L < 10 ? `0${L}` : `${L}`;
|
|
3985
3986
|
}
|
|
3986
3987
|
return `${b.join("-")}${C}`;
|
|
3987
3988
|
})({ dateStr: e, formatStr: r, translation: t, time: this.getTime() }), d = Date.parse(n);
|
|
@@ -4001,7 +4002,7 @@ const Te = f({ render: function() {
|
|
|
4001
4002
|
return e ? this.resetDateTime(new Date(e)) : this.resetDateTime(new Date());
|
|
4002
4003
|
} };
|
|
4003
4004
|
var w1 = (e) => ({ ...h9, useUtc: e });
|
|
4004
|
-
const
|
|
4005
|
+
const s2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, bootstrapStyling: { type: Boolean, default: !1 }, clearButton: { type: Boolean, default: !1 }, clearButtonIcon: { type: String, default: "" }, calendarButton: { type: Boolean, default: !1 }, calendarButtonIcon: { type: String, default: "" }, calendarButtonIconContent: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, format: { type: [String, Function], default: "dd MMM yyyy" }, id: { type: String, default: null }, inline: { type: Boolean, default: !1 }, inputClass: { type: [String, Object, Array], default: null }, maxlength: { type: [Number, String], default: null }, name: { type: String, default: null }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, parser: { type: Function, default: null }, pattern: { type: String, default: null }, placeholder: { type: String, default: null }, refName: { type: String, default: "" }, required: { type: Boolean, default: !1 }, showCalendarOnButtonClick: { type: Boolean, default: !1 }, showCalendarOnFocus: { type: Boolean, default: !1 }, tabIndex: { type: [Number, String], default: null }, typeable: { type: Boolean, default: !1 }, useUtc: { type: Boolean, default: !1 } } }, void 0, void 0, void 0, !1, void 0, void 0, void 0), v9 = f({ render: function() {
|
|
4005
4006
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4006
4007
|
return t("div", { class: { "not-empty": e.formattedValue } }, [e._t("beforeDateInput"), e._v(" "), e.calendarButton ? t("button", { ref: "calendarButton", staticClass: "bimdata-datepicker__calendar-button", attrs: { disabled: e.disabled, type: "button" }, on: { click: function(i) {
|
|
4007
4008
|
return e.toggle("calendarButton");
|
|
@@ -4030,7 +4031,7 @@ const d2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4030
4031
|
}] } }), e._v(" "), e.clearButton && e.selectedDate ? t("BIMDataButton", { staticClass: "bimdata-datepicker__clear-button", attrs: { disabled: e.disabled, color: "primary", fill: "", square: "", icon: "" }, on: { click: e.clearDate } }, [e._t("clearBtn", function() {
|
|
4031
4032
|
return [t("BIMDataIcon", { attrs: { name: "delete", size: "xxxs", fill: "", color: "default" } })];
|
|
4032
4033
|
})], 2) : e._e(), e._v(" "), e._t("afterDateInput")], 2);
|
|
4033
|
-
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon:
|
|
4034
|
+
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon: d2, BIMDataButton: Te }, mixins: [s2], props: { isOpen: { type: Boolean, default: !1 }, selectedDate: { type: Date, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
4034
4035
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils: w1(this.useUtc) };
|
|
4035
4036
|
}, computed: { computedInputClass() {
|
|
4036
4037
|
return this.inputClass;
|
|
@@ -4120,7 +4121,7 @@ const d2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4120
4121
|
}] } }), e._v(" "), e.clearButton && !e.noDateSelected ? t("BIMDataButton", { staticClass: "bimdata-datepicker__clear-button", attrs: { disabled: e.disabled, color: "primary", fill: "", square: "", icon: "" }, on: { click: e.clear } }, [e._t("clearBtn", function() {
|
|
4121
4122
|
return [t("BIMDataIcon", { attrs: { name: "delete", size: "xxxs", fill: "", color: "default" } })];
|
|
4122
4123
|
})], 2) : e._e(), e._v(" "), e._t("afterDateInput")], 2);
|
|
4123
|
-
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon:
|
|
4124
|
+
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon: d2, BIMDataButton: Te }, mixins: [s2], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
4124
4125
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: w1(this.useUtc) };
|
|
4125
4126
|
}, computed: { computedInputClass() {
|
|
4126
4127
|
return this.inputClass;
|
|
@@ -4193,7 +4194,7 @@ const d2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4193
4194
|
return { day: t.getDate(i), month: t.getMonth(i), year: t.getFullYear(i) };
|
|
4194
4195
|
} };
|
|
4195
4196
|
var K1 = (e) => ({ ...g9, utils: e });
|
|
4196
|
-
class
|
|
4197
|
+
class Y {
|
|
4197
4198
|
constructor(r, t) {
|
|
4198
4199
|
this._utils = r, this._disabledDates = t;
|
|
4199
4200
|
}
|
|
@@ -4484,7 +4485,7 @@ var m9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4484
4485
|
}] } }, [e._t("prevIntervalBtn", function() {
|
|
4485
4486
|
return [t("BIMDataIcon", { attrs: { name: "doubleChevron", size: "xxxs", fill: "", color: "default" } })];
|
|
4486
4487
|
})], 2) : e._e()], 2);
|
|
4487
|
-
}, staticRenderFns: [] }, void 0, { name: "PickerHeader", components: { BIMDataIcon:
|
|
4488
|
+
}, staticRenderFns: [] }, void 0, { name: "PickerHeader", components: { BIMDataIcon: d2 }, props: { isNextDisabled: { type: Boolean, required: !0 }, isPreviousDisabled: { type: Boolean, required: !0 } }, data: () => ({ previousPage: { incrementBy: -1, focusRefs: ["prev"] }, nextPage: { incrementBy: 1, focusRefs: ["next"] }, doublePreviousPage: { incrementBy: -12, focusRefs: ["doublePrev"] }, doubleNextPage: { incrementBy: 12, focusRefs: ["doubleNext"] } }), methods: { arrowLeftPrev() {
|
|
4488
4489
|
this.$emit("page-change", this.previousPage);
|
|
4489
4490
|
}, arrowRightPrev() {
|
|
4490
4491
|
this.$emit("set-focus", ["up", "next", "tabbableCell"]);
|
|
@@ -4497,11 +4498,11 @@ var m9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4497
4498
|
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, inheritAttrs: !1, props: { bootstrapStyling: { type: Boolean, default: !1 }, disabledDates: { type: Object, default: () => ({}) }, isTypeable: { type: Boolean, default: !1 }, isUpDisabled: { type: Boolean, default: !1 }, isMinimumView: { type: Boolean, default: !0 }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, pageDate: { type: Date, default: null }, selectedDate: { type: Date, default: null }, showHeader: { type: Boolean, default: !0 }, slideDuration: { type: Number, default: 250 }, tabbableCellId: { type: Number, default: null }, transitionName: { type: String, default: "" }, translation: { type: Object, default: () => ({}) }, useUtc: { type: Boolean, default: !1 }, view: { type: String, default: "day" } }, data() {
|
|
4498
4499
|
return { utils: w1(this.useUtc) };
|
|
4499
4500
|
}, computed: { disabledConfig() {
|
|
4500
|
-
return new
|
|
4501
|
+
return new Y(this.utils, this.disabledDates).config;
|
|
4501
4502
|
}, earliestPossibleDate() {
|
|
4502
|
-
return new
|
|
4503
|
+
return new Y(this.utils, this.disabledDates).getEarliestPossibleDate(this.disabledDates.to);
|
|
4503
4504
|
}, latestPossibleDate() {
|
|
4504
|
-
return new
|
|
4505
|
+
return new Y(this.utils, this.disabledDates).getLatestPossibleDate(this.disabledDates.from);
|
|
4505
4506
|
}, pageYear() {
|
|
4506
4507
|
return this.utils.getFullYear(this.pageDate);
|
|
4507
4508
|
} }, methods: { addMoreSteps: (e) => e.stepsRemaining <= 0 && Math.abs(e.delta) > 1 ? Math.abs(e.delta) : e.stepsRemaining, changePage({ incrementBy: e, focusRefs: r }) {
|
|
@@ -4551,7 +4552,7 @@ var m9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4551
4552
|
r && r.focus();
|
|
4552
4553
|
} } };
|
|
4553
4554
|
const J1 = f({}, void 0, m9, void 0, void 0, void 0, !1, void 0, void 0, void 0);
|
|
4554
|
-
class
|
|
4555
|
+
class W2 {
|
|
4555
4556
|
constructor(r, t, i) {
|
|
4556
4557
|
this._utils = r, this._disabledDates = t, this._highlighted = i;
|
|
4557
4558
|
}
|
|
@@ -4561,7 +4562,7 @@ class Y2 {
|
|
|
4561
4562
|
}
|
|
4562
4563
|
isDateDisabled(r) {
|
|
4563
4564
|
const t = this._utils, i = this._disabledDates;
|
|
4564
|
-
return new
|
|
4565
|
+
return new Y(t, i).isDateDisabled(r);
|
|
4565
4566
|
}
|
|
4566
4567
|
isHighlightingNotPossible(r) {
|
|
4567
4568
|
const { config: t } = this;
|
|
@@ -4644,7 +4645,7 @@ var _9 = { name: "PickerDay", components: { PickerCells: G1, UpButton: Q1 }, mix
|
|
|
4644
4645
|
const e = new Date(this.pageDate);
|
|
4645
4646
|
return new Date(this.utils.setMonth(e, this.utils.getMonth(e) + 1));
|
|
4646
4647
|
}, highlightedRange() {
|
|
4647
|
-
return this.selectedDate && !this.selectedToDate ? new
|
|
4648
|
+
return this.selectedDate && !this.selectedToDate ? new W2(this.utils, this.disabledDates, { from: this.selectedDate, to: this.highlightedToDate }) : new W2(this.utils, this.disabledDates, { from: this.selectedDate, to: this.selectedToDate });
|
|
4648
4649
|
}, isNextDisabled() {
|
|
4649
4650
|
return !!this.disabledConfig.has.from && this.disabledConfig.from.month <= this.pageMonth && this.disabledConfig.from.year <= this.pageYear;
|
|
4650
4651
|
}, isPreviousDisabled() {
|
|
@@ -4657,7 +4658,7 @@ var _9 = { name: "PickerDay", components: { PickerCells: G1, UpButton: Q1 }, mix
|
|
|
4657
4658
|
const e = this.pageDate, r = this.useUtc ? new Date(Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), 1)) : new Date(e.getFullYear(), e.getMonth(), 1, e.getHours(), e.getMinutes());
|
|
4658
4659
|
return new Date(r.setDate(r.getDate() - this.daysFromPrevMonth));
|
|
4659
4660
|
}, isDisabledDate(e) {
|
|
4660
|
-
return new
|
|
4661
|
+
return new Y(this.utils, this.disabledDates).isDateDisabled(e);
|
|
4661
4662
|
}, isHighlightedDate(e) {
|
|
4662
4663
|
const r = this.utils.resetDateTime(e);
|
|
4663
4664
|
return this.highlightedRange.isDateHighlighted(r);
|
|
@@ -4749,7 +4750,7 @@ var y9 = { components: { DateInput: v9, DateInputRange: p9, PickerDay: f({ rende
|
|
|
4749
4750
|
const { yearSuffix: e } = this.translation;
|
|
4750
4751
|
return `${this.pageYear}${e}`;
|
|
4751
4752
|
} }, methods: { isDisabledMonth(e) {
|
|
4752
|
-
return new
|
|
4753
|
+
return new Y(this.utils, this.disabledDates).isMonthDisabled(e);
|
|
4753
4754
|
}, isOpenMonth(e) {
|
|
4754
4755
|
if (!this.openDate)
|
|
4755
4756
|
return !1;
|
|
@@ -4800,17 +4801,17 @@ var y9 = { components: { DateInput: v9, DateInputRange: p9, PickerDay: f({ rende
|
|
|
4800
4801
|
const { yearSuffix: e } = this.translation;
|
|
4801
4802
|
return `${this.pageDecadeStart} - ${this.pageDecadeEnd}${e}`;
|
|
4802
4803
|
} }, methods: { isDisabledYear(e) {
|
|
4803
|
-
return new
|
|
4804
|
+
return new Y(this.utils, this.disabledDates).isYearDisabled(e);
|
|
4804
4805
|
}, isOpenYear(e) {
|
|
4805
4806
|
return this.openDate ? this.utils.getFullYear(this.openDate) === this.utils.getFullYear(e) : !1;
|
|
4806
4807
|
}, isSelectedYear(e) {
|
|
4807
4808
|
const r = this.utils.getFullYear(e);
|
|
4808
4809
|
return this.selectedDate && r === this.utils.getFullYear(this.selectedDate);
|
|
4809
|
-
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, mixins: [
|
|
4810
|
+
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, mixins: [s2, b9], model: { prop: "modelValue", event: "update:modelValue" }, props: { autoCloseRange: { type: Boolean, default: !1 }, modelValue: { type: Date }, toDate: { type: Date }, appendToBody: { type: Boolean, default: !1 }, calendarClass: { type: [String, Object, Array], default: "" }, dayCellContent: { type: Function, default: (e) => e.date }, disabledDates: { type: Object, default: () => ({}) }, firstDayOfWeek: { type: String, default: "sun" }, fixedPosition: { type: String, default: "", validator: (e) => ["", "bottom", "bottom-left", "bottom-right", "top", "top-left", "top-right"].includes(e) }, fullMonthName: { type: Boolean, default: !1 }, initialView: { type: String, default: "" }, language: { type: String, default: () => "en", validator: (e) => Object.keys(j2).includes(e) }, maximumView: { type: String, default: "year" }, minimumView: { type: String, default: "day" }, showEdgeDates: { type: Boolean, default: !0 }, showHeader: { type: Boolean, default: !0 }, value: { type: [String, Date, Number], default: "", validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, wrapperClass: { type: [String, Object, Array], default: "" }, yearPickerRange: { type: Number, default: 10 }, width: { type: String, default: "280px" }, isDateRange: { type: Boolean, default: !1 } }, emits: ["update:modelValue", "blur", "focus", "opened", "changed", "input", "selected", "closed", "cleared", "to-date-change"], data() {
|
|
4810
4811
|
const e = w1(this.useUtc), r = e.getNewDateObject(this.openDate || null), t = e.setDate(r, 1);
|
|
4811
4812
|
return { calendarHeight: 0, calendarSlots: L9, isClickOutside: !1, globalDatepickerId: "", pageTimestamp: t, selectedDate: null, selectedToDate: null, slideDuration: 250, utils: e, view: "" };
|
|
4812
4813
|
}, computed: { lang() {
|
|
4813
|
-
return
|
|
4814
|
+
return j2[this.language];
|
|
4814
4815
|
}, style() {
|
|
4815
4816
|
return { width: `${this.width}` };
|
|
4816
4817
|
}, computedInitialView() {
|
|
@@ -4908,7 +4909,7 @@ var y9 = { components: { DateInput: v9, DateInputRange: p9, PickerDay: f({ rende
|
|
|
4908
4909
|
}, hasClass: (e, r) => e && e.className.split(" ").includes(r), init() {
|
|
4909
4910
|
this.isInline && this.setInitialView(), this.setSlideDuration();
|
|
4910
4911
|
}, isDateDisabled(e) {
|
|
4911
|
-
return new
|
|
4912
|
+
return new Y(this.utils, this.disabledDates).isDateDisabled(e);
|
|
4912
4913
|
}, isResetFocus() {
|
|
4913
4914
|
if (!this.isOpen)
|
|
4914
4915
|
return !1;
|
|
@@ -5001,7 +5002,7 @@ const H9 = f({ render: function() {
|
|
|
5001
5002
|
} }], null, !0) }), e._v(" "), e.$slots.calendarFooter ? t("div", [e._t("calendarFooter")], 2) : e._e()], 1)])], 1)])], 1) : e._e()], 1);
|
|
5002
5003
|
}, staticRenderFns: [] }, function(e) {
|
|
5003
5004
|
e && (e("data-v-2245dbb6_0", { source: 'html[data-v-2245dbb6]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-2245dbb6_1", { source: '.slide-fade-up-enter-active,.slide-fade-up-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-up-enter,.slide-fade-up-enter-from,.slide-fade-up-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-down-enter-active,.slide-fade-down-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-down-enter,.slide-fade-down-enter-from,.slide-fade-down-leave-to{transform:translateY(10px);opacity:0}.slide-fade-left-enter-active,.slide-fade-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-left-enter,.slide-fade-left-enter-from,.slide-fade-left-leave-to{transform:translateX(-20px);opacity:0}.slide-fade-right-enter-active,.slide-fade-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-right-enter,.slide-fade-right-enter-from,.slide-fade-right-leave-to{transform:translateX(20px);opacity:0}.slide-right-enter-active,.slide-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-right-enter,.slide-right-enter-from,.slide-right-leave-to{transform:translateX(20px);opacity:0;position:absolute}.slide-left-enter-active,.slide-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-left-enter,.slide-left-enter-from,.slide-left-leave-to{transform:translateX(-20px);opacity:0;position:absolute}.fade-enter-active{transition:all .1s ease-out}.fade-leave-active{transition:all .1s ease-in}.fade-enter,.fade-enter-from,.fade-leave-to{opacity:0}.pop-enter-active{transition:all .4s cubic-bezier(.4,1.5,.56,1)}.pop-leave-active{transition:all .3s ease-in}.pop-enter,.pop-enter-from{transform:scale(.1);opacity:.4}.pop-enter-to,.pop-leave,.pop-leave-from{transform:scale(1);opacity:1}.pop-leave-to{transform:scale(.7);opacity:0}.list-enter-active{transition:all .3s ease-out}.list-leave-active{transition:all .2s ease-in}.list-move{transition:all .3s ease}.list-enter,.list-enter-from,.list-leave-to{opacity:0}.grid-enter-active{transition:all .5s ease-out}.grid-leave-active{transition:all .4s ease-in}.grid-move{transition:all .5s ease}.grid-enter,.grid-enter-from,.grid-leave-to{opacity:0}.page-enter-active,.page-leave-active{transition:all .5s ease}.page-enter,.page-enter-from,.page-leave-to{transform:translateX(-30%);opacity:0}.bimdata-datepicker{position:relative;text-align:left;box-sizing:border-box}.bimdata-datepicker>div{display:flex;position:relative}.bimdata-datepicker>div.not-empty label{top:-22px;color:var(--color-primary);font-size:10px}.bimdata-datepicker label{position:absolute;left:0;top:0;font-size:12px;transform:translateY(8px);transition:.2s ease all;color:var(--color-granite-light);cursor:pointer}.bimdata-datepicker input{width:100%;height:31.5px;border:none;border-bottom:1px solid var(--color-silver);color:var(--color-primary);background-color:transparent;z-index:2}.bimdata-datepicker input:focus-visible{outline:0}.bimdata-datepicker input.required{border-bottom:1px dashed red}.bimdata-datepicker__calendar{width:280px;box-shadow:var(--box-shadow);background:#fff;position:absolute;z-index:10000}.bimdata-datepicker__calendar>div{width:100%;background:#fff}.bimdata-datepicker__calendar *{box-sizing:border-box}.bimdata-datepicker__calendar__calendar--inline{position:static}.bimdata-datepicker__calendar.bottom-right{right:0}.bimdata-datepicker__calendar.bottom-left{left:0}.bimdata-datepicker__calendar.top,.bimdata-datepicker__calendar.top-left,.bimdata-datepicker__calendar.top-right{bottom:32px}.bimdata-datepicker__calendar.top-right{right:0}.bimdata-datepicker__calendar button{background:inherit;text-align:center;color:var(--color-primary);cursor:pointer}.bimdata-datepicker__calendar button:disabled{color:var(--color-granite-light)}.bimdata-datepicker__calendar button:focus-visible{outline:0}.bimdata-datepicker__calendar header{display:flex;height:40px;justify-content:space-between;border-bottom:1px solid var(--color-silver);cursor:pointer}.bimdata-datepicker__calendar header button{border:none;flex:1;color:var(--color-primary)}.bimdata-datepicker__calendar header button:hover:not(:disabled){background-color:#e6eeff}.bimdata-datepicker__calendar header button__up{color:var(--color-primary);flex-grow:5}.bimdata-datepicker__calendar header .doubleNext,.bimdata-datepicker__calendar header .doublePrev,.bimdata-datepicker__calendar header .next,.bimdata-datepicker__calendar header .prev{padding:0;max-height:39px;max-width:32px}.bimdata-datepicker__calendar header .prev:disabled .default:after{border-right:10px solid #ddd}.bimdata-datepicker__calendar header .next:disabled .default:after{border-left:10px solid #ddd}.bimdata-datepicker__calendar .cell{height:40px;border:1px solid transparent;cursor:pointer}.bimdata-datepicker__calendar .cell.day:not(.disabled):hover,.bimdata-datepicker__calendar .cell.month:not(.disabled):hover,.bimdata-datepicker__calendar .cell.year:not(.disabled):hover{background-color:#e6eeff;border-radius:2px}.bimdata-datepicker__calendar .cell.day:not(.disabled):focus,.bimdata-datepicker__calendar .cell.month:not(.disabled):focus,.bimdata-datepicker__calendar .cell.year:not(.disabled):focus{z-index:1}.bimdata-datepicker__calendar .cell.day{padding:0;height:33px;width:22px;flex:33px;color:var(--color-granite-light)}.bimdata-datepicker__calendar .cell.day.today{color:var(--color-primary);font-weight:700;position:relative}.bimdata-datepicker__calendar .cell.day.today::after{width:12px;background-color:currentcolor;bottom:6px;content:"";height:1px;left:50%;position:absolute;transform:translateX(-50%)}.bimdata-datepicker__calendar .cell.day.highlighted.highlight-end{background-color:#e1ebff}.bimdata-datepicker__calendar .cell.day.selected,.bimdata-datepicker__calendar .cell.month.selected,.bimdata-datepicker__calendar .cell.year.selected{background-color:var(--color-primary);color:var(--color-white);border-radius:2px}.bimdata-datepicker__calendar .cell.day.selected:hover,.bimdata-datepicker__calendar .cell.month.selected:hover,.bimdata-datepicker__calendar .cell.year.selected:hover{background-color:var(--color-primary-light);color:var(--color-white)}.bimdata-datepicker__calendar .cell.day.selected.highlighted,.bimdata-datepicker__calendar .cell.month.selected.highlighted,.bimdata-datepicker__calendar .cell.year.selected.highlighted{background-color:var(--color-primary-light)}.bimdata-datepicker__calendar .cell.highlighted{background-color:#f0f5ff}.bimdata-datepicker__calendar .cell.highlighted.disabled{color:#accad2}.bimdata-datepicker__calendar .cell.muted{color:var(--color-silver)}.bimdata-datepicker__calendar .cell.muted.disabled:not(.selected){color:#ddd}.bimdata-datepicker__calendar .cell.muted.disabled:not(.selected).highlighted{color:#e2ebfa}.bimdata-datepicker__calendar .cell.muted.disabled.highlighted{background-color:transparent}.bimdata-datepicker__calendar .day-header{padding:0 12px;display:flex;gap:0;color:var(--color-primary)}.bimdata-datepicker__calendar .day-header span{height:40px;width:36.5px;display:inline-block;font-size:75%;line-height:40px;padding:0;text-align:center;vertical-align:middle;white-space:nowrap}.bimdata-datepicker__calendar .month,.bimdata-datepicker__calendar .year{width:29.9%}.bimdata-datepicker__calendar .cells-wrapper{padding:6px 12px 14px;overflow:hidden;position:relative}.bimdata-datepicker__calendar .cells-wrapper .picker-cells{display:flex;flex-wrap:wrap;transition:all 250ms ease-in-out}.bimdata-datepicker__calendar-button{border:none;font-style:normal}.bimdata-datepicker__calendar-button.input-group-append,.bimdata-datepicker__calendar-button.input-group-prepend{padding:0}', map: void 0, media: void 0 }));
|
|
5004
|
-
}, y9, "data-v-2245dbb6", !1, void 0, !1,
|
|
5005
|
+
}, y9, "data-v-2245dbb6", !1, void 0, !1, l2, void 0, void 0);
|
|
5005
5006
|
function Oe(e, r, t, i, n, d, a, s, u, C) {
|
|
5006
5007
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
5007
5008
|
const o = typeof t == "function" ? t.options : t;
|
|
@@ -5041,7 +5042,7 @@ var V9 = { components: { BIMDataText: Oe({ render: function() {
|
|
|
5041
5042
|
const M9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5042
5043
|
function x9(e) {
|
|
5043
5044
|
return (r, t) => function(i, n) {
|
|
5044
|
-
const d = M9 ? n.media || "default" : i, a =
|
|
5045
|
+
const d = M9 ? n.media || "default" : i, a = X2[d] || (X2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5045
5046
|
if (!a.ids.has(i)) {
|
|
5046
5047
|
a.ids.add(i);
|
|
5047
5048
|
let s = n.source;
|
|
@@ -5058,7 +5059,7 @@ function x9(e) {
|
|
|
5058
5059
|
}(r, t);
|
|
5059
5060
|
}
|
|
5060
5061
|
let z1;
|
|
5061
|
-
const
|
|
5062
|
+
const X2 = {}, k1 = Oe({ render: function() {
|
|
5062
5063
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5063
5064
|
return t("div", { staticClass: "bimdata-loading" }, [t("span", { staticClass: "bimdata-loading--square" }), e._v(" "), t("BIMDataText", { attrs: { color: "color-white", margin: "12px 0 0" } }, [t("p", [e._v(e._s(e.message))]), e._v(" "), t("p", [e._v(e._s(e.subMessage))])])], 1);
|
|
5064
5065
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -5086,7 +5087,7 @@ function v(e, r, t, i, n, d, a, s, u, C) {
|
|
|
5086
5087
|
}
|
|
5087
5088
|
return t;
|
|
5088
5089
|
}
|
|
5089
|
-
var
|
|
5090
|
+
var K2 = { addFile: v({ render: function() {
|
|
5090
5091
|
var e = this.$createElement;
|
|
5091
5092
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.5312H14.4343V19.7656H12.2781V16.5312H9.04369V14.375H12.2781V11.1406H14.4343V14.375H17.6687V16.5312ZM4.01244 7.90625L10.1218 1.79688V5.97245V7.90625H4.01244ZM20.3885 2.3C20.3885 1.035 19.365 0 18.1 0H8.9L2 6.9V20.7C2 21.965 3.03464 23 4.3 23H18.1115C19.3765 23 20.4 21.965 20.4 20.7L20.3885 2.3Z" } });
|
|
5092
5093
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: v({ render: function() {
|
|
@@ -5551,21 +5552,21 @@ var X2 = { addFile: v({ render: function() {
|
|
|
5551
5552
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5552
5553
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
5553
5554
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, Z9 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
5554
|
-
const
|
|
5555
|
+
const J2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
5555
5556
|
var w9 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
5556
5557
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
5557
|
-
}(
|
|
5558
|
+
}(K2) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(K2).includes(e) }, color: { type: String, default: "default", validator: (e) => Z9.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(J2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
5558
5559
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
5559
5560
|
}, style() {
|
|
5560
5561
|
const e = this.getPixelSize(this.size);
|
|
5561
5562
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
5562
5563
|
} }, methods: { getPixelSize() {
|
|
5563
|
-
return this.customSize ? this.customSize :
|
|
5564
|
+
return this.customSize ? this.customSize : J2[this.size];
|
|
5564
5565
|
} } };
|
|
5565
5566
|
const k9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5566
|
-
function
|
|
5567
|
+
function G2(e) {
|
|
5567
5568
|
return (r, t) => function(i, n) {
|
|
5568
|
-
const d = k9 ? n.media || "default" : i, a =
|
|
5569
|
+
const d = k9 ? n.media || "default" : i, a = Q2[d] || (Q2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5569
5570
|
if (!a.ids.has(i)) {
|
|
5570
5571
|
a.ids.add(i);
|
|
5571
5572
|
let s = n.source;
|
|
@@ -5582,7 +5583,7 @@ function J2(e) {
|
|
|
5582
5583
|
}(r, t);
|
|
5583
5584
|
}
|
|
5584
5585
|
let P1;
|
|
5585
|
-
const
|
|
5586
|
+
const Q2 = {}, ze = v({ render: function() {
|
|
5586
5587
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5587
5588
|
return t("div", { staticClass: "overlay flex items-center justify-center" }, [t("div", { staticClass: "safe-zone", style: { width: e.width } }, [t("div", { staticClass: "safe-zone__content flex flex-col items-center justify-center p-18" }, [t("BIMDataIcon", { attrs: { name: e.iconName, size: "l", fill: "", color: "high" } }), e._v(" "), t("p", [e._t("text")], 2)], 1), e._v(" "), t("div", { staticClass: "safe-zone__actions flex items-center p-x-18" }, [e._t("actions")], 2)])]);
|
|
5588
5589
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -5592,7 +5593,7 @@ const G2 = {}, ze = v({ render: function() {
|
|
|
5592
5593
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
5593
5594
|
}, staticRenderFns: [] }, function(e) {
|
|
5594
5595
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
5595
|
-
}, w9, "data-v-198621a2", !1, void 0, !1,
|
|
5596
|
+
}, w9, "data-v-198621a2", !1, void 0, !1, G2, void 0, void 0) }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } }, "data-v-a619a4f2", !1, void 0, !1, G2, void 0, void 0);
|
|
5596
5597
|
var $9 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { name: { type: [String, Number], default: "" }, resizable: { type: Boolean, default: !0 }, modelValue: { type: [String, Number], default: null }, placeholder: { type: String, default: null }, label: { type: String, default: "" }, width: { type: [Number, String], default: "150px" }, height: { type: [Number, String], default: "32px" }, error: { type: Boolean, default: !1 }, success: { type: Boolean, default: !1 }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, fitContent: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], created() {
|
|
5597
5598
|
this.$watch(() => this.success && this.error, (e) => {
|
|
5598
5599
|
if (e)
|
|
@@ -5634,7 +5635,7 @@ function F9(e, r, t, i, n, d, a, s, u, C) {
|
|
|
5634
5635
|
const D9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5635
5636
|
function E9(e) {
|
|
5636
5637
|
return (r, t) => function(i, n) {
|
|
5637
|
-
const d = D9 ? n.media || "default" : i, a =
|
|
5638
|
+
const d = D9 ? n.media || "default" : i, a = ee[d] || (ee[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5638
5639
|
if (!a.ids.has(i)) {
|
|
5639
5640
|
a.ids.add(i);
|
|
5640
5641
|
let s = n.source;
|
|
@@ -5651,7 +5652,7 @@ function E9(e) {
|
|
|
5651
5652
|
}(r, t);
|
|
5652
5653
|
}
|
|
5653
5654
|
let N1;
|
|
5654
|
-
const
|
|
5655
|
+
const ee = {}, c2 = F9({ render: function() {
|
|
5655
5656
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5656
5657
|
return t("div", { staticClass: "bimdata-textarea", class: { "not-empty": e.modelValue !== null && e.modelValue !== "" || e.placeholder !== null, error: e.error, success: e.success }, style: { "min-width": e.width, "min-height": e.height } }, [t("textarea", e._b({ ref: "textarea", style: e.resizable ? "" : "resize: none;", attrs: { name: e.name, id: e.name, placeholder: e.placeholder }, domProps: { value: e.modelValue }, on: { input: e.onInput } }, "textarea", e.$attrs, !1)), e._v(" "), t("label", { attrs: { for: e.name } }, [e._v(e._s(e.label))]), e._v(" "), t("span", { staticClass: "bar" }), e._v(" "), e.error ? t("span", { staticClass: "error" }, [e._v(e._s(e.errorMessage))]) : e._e(), e._v(" "), e.success ? t("span", { staticClass: "success" }, [e._v(e._s(e.successMessage))]) : e._e()]);
|
|
5657
5658
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -5689,7 +5690,7 @@ function R9(e, r, t, i, n, d, a, s, u, C) {
|
|
|
5689
5690
|
const I9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5690
5691
|
function S9(e) {
|
|
5691
5692
|
return (r, t) => function(i, n) {
|
|
5692
|
-
const d = I9 ? n.media || "default" : i, a =
|
|
5693
|
+
const d = I9 ? n.media || "default" : i, a = te[d] || (te[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5693
5694
|
if (!a.ids.has(i)) {
|
|
5694
5695
|
a.ids.add(i);
|
|
5695
5696
|
let s = n.source;
|
|
@@ -5706,7 +5707,7 @@ function S9(e) {
|
|
|
5706
5707
|
}(r, t);
|
|
5707
5708
|
}
|
|
5708
5709
|
let A1;
|
|
5709
|
-
const
|
|
5710
|
+
const te = {}, Pe = R9({ render: function() {
|
|
5710
5711
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5711
5712
|
return t("div", { staticClass: "bimdata-tooltip" }, [t("div", { staticClass: "bimdata-tooltip__content", on: { mouseover: function(i) {
|
|
5712
5713
|
e.hover = !0;
|
|
@@ -5864,8 +5865,8 @@ const z9 = {
|
|
|
5864
5865
|
deleteViewpoint: i
|
|
5865
5866
|
};
|
|
5866
5867
|
}
|
|
5867
|
-
},
|
|
5868
|
-
var P9 = /* @__PURE__ */
|
|
5868
|
+
}, re = {};
|
|
5869
|
+
var P9 = /* @__PURE__ */ F(
|
|
5869
5870
|
z9,
|
|
5870
5871
|
T9,
|
|
5871
5872
|
O9,
|
|
@@ -5876,8 +5877,8 @@ var P9 = /* @__PURE__ */ $(
|
|
|
5876
5877
|
null
|
|
5877
5878
|
);
|
|
5878
5879
|
function N9(e) {
|
|
5879
|
-
for (let r in
|
|
5880
|
-
this[r] =
|
|
5880
|
+
for (let r in re)
|
|
5881
|
+
this[r] = re[r];
|
|
5881
5882
|
}
|
|
5882
5883
|
const A9 = /* @__PURE__ */ function() {
|
|
5883
5884
|
return P9.exports;
|
|
@@ -5964,8 +5965,8 @@ const q9 = {
|
|
|
5964
5965
|
}
|
|
5965
5966
|
};
|
|
5966
5967
|
}
|
|
5967
|
-
},
|
|
5968
|
-
var Y9 = /* @__PURE__ */
|
|
5968
|
+
}, ie = {};
|
|
5969
|
+
var Y9 = /* @__PURE__ */ F(
|
|
5969
5970
|
q9,
|
|
5970
5971
|
j9,
|
|
5971
5972
|
U9,
|
|
@@ -5976,8 +5977,8 @@ var Y9 = /* @__PURE__ */ $(
|
|
|
5976
5977
|
null
|
|
5977
5978
|
);
|
|
5978
5979
|
function W9(e) {
|
|
5979
|
-
for (let r in
|
|
5980
|
-
this[r] =
|
|
5980
|
+
for (let r in ie)
|
|
5981
|
+
this[r] = ie[r];
|
|
5981
5982
|
}
|
|
5982
5983
|
const X9 = /* @__PURE__ */ function() {
|
|
5983
5984
|
return Y9.exports;
|
|
@@ -6299,7 +6300,7 @@ const G9 = {
|
|
|
6299
6300
|
BIMDataLoading: k1,
|
|
6300
6301
|
BIMDataSafeZoneModal: ze,
|
|
6301
6302
|
BIMDataSelect: Se,
|
|
6302
|
-
BIMDataTextarea:
|
|
6303
|
+
BIMDataTextarea: c2,
|
|
6303
6304
|
BIMDataTextbox: f1,
|
|
6304
6305
|
BIMDataTooltip: Pe
|
|
6305
6306
|
},
|
|
@@ -6379,26 +6380,26 @@ const G9 = {
|
|
|
6379
6380
|
const t = u1(), i = k(
|
|
6380
6381
|
() => !e.topic
|
|
6381
6382
|
), n = k(
|
|
6382
|
-
() => Math.max(0, ...e.topics.map((
|
|
6383
|
-
), d =
|
|
6384
|
-
() => g.value.concat(
|
|
6385
|
-
),
|
|
6386
|
-
|
|
6383
|
+
() => Math.max(0, ...e.topics.map((m) => m.index)) + 1
|
|
6384
|
+
), d = y(""), a = y(null), s = y(null), u = y(null), C = y(null), o = y(null), c = y(null), l = y(""), b = y([]), g = y([]), L = y([]), H = y([]), M = y([]), D = k(
|
|
6385
|
+
() => g.value.concat(L.value).filter((m) => !M.value.some((V) => V.guid === m.guid)).filter((m) => m.snapshot)
|
|
6386
|
+
), E = y(!1), O = y(!1), B = y(!1);
|
|
6387
|
+
N(
|
|
6387
6388
|
() => e.topic,
|
|
6388
|
-
(
|
|
6389
|
-
i.value || (d.value =
|
|
6389
|
+
(m) => {
|
|
6390
|
+
i.value || (d.value = m.title || "", a.value = m.topic_type || null, s.value = m.priority || null, u.value = m.topic_status || null, C.value = m.stage || null, o.value = m.assigned_to || null, c.value = m.due_date, l.value = m.description || "", b.value = m.labels || [], g.value = m.viewpoints || []);
|
|
6390
6391
|
},
|
|
6391
6392
|
{ immediate: !0 }
|
|
6392
6393
|
);
|
|
6393
|
-
const
|
|
6394
|
-
d.value = "", a.value = null, s.value = null, u.value = null, C.value = null, o.value = null, c.value = null, l.value = "", b.value = [], g.value = [],
|
|
6394
|
+
const T = () => {
|
|
6395
|
+
d.value = "", a.value = null, s.value = null, u.value = null, C.value = null, o.value = null, c.value = null, l.value = "", b.value = [], g.value = [], L.value = [], H.value = [], M.value = [], E.value = !1, O.value = !1, B.value = !1;
|
|
6395
6396
|
};
|
|
6396
6397
|
return {
|
|
6397
6398
|
// References
|
|
6398
6399
|
hasErrorTitle: B,
|
|
6399
6400
|
isCreation: i,
|
|
6400
|
-
isOpenModal:
|
|
6401
|
-
loading:
|
|
6401
|
+
isOpenModal: O,
|
|
6402
|
+
loading: E,
|
|
6402
6403
|
nextIndex: n,
|
|
6403
6404
|
topicAssignedTo: o,
|
|
6404
6405
|
topicDescription: l,
|
|
@@ -6409,35 +6410,35 @@ const G9 = {
|
|
|
6409
6410
|
topicLabels: b,
|
|
6410
6411
|
topicTitle: d,
|
|
6411
6412
|
topicType: a,
|
|
6412
|
-
viewpointsToDisplay:
|
|
6413
|
+
viewpointsToDisplay: D,
|
|
6413
6414
|
// Methods
|
|
6414
|
-
addViewpoint: (
|
|
6415
|
-
|
|
6415
|
+
addViewpoint: (m) => {
|
|
6416
|
+
L.value.push(m);
|
|
6416
6417
|
},
|
|
6417
|
-
delViewpoint: (
|
|
6418
|
-
if (
|
|
6419
|
-
M.value.push(
|
|
6418
|
+
delViewpoint: (m) => {
|
|
6419
|
+
if (m.guid)
|
|
6420
|
+
M.value.push(m);
|
|
6420
6421
|
else {
|
|
6421
|
-
let
|
|
6422
|
-
|
|
6422
|
+
let V = L.value.indexOf(m);
|
|
6423
|
+
L.value.splice(V, 1);
|
|
6423
6424
|
}
|
|
6424
6425
|
},
|
|
6425
6426
|
submit: async () => {
|
|
6426
|
-
var
|
|
6427
|
+
var m, V;
|
|
6427
6428
|
if (!d.value) {
|
|
6428
6429
|
B.value = !0;
|
|
6429
6430
|
return;
|
|
6430
6431
|
}
|
|
6431
6432
|
try {
|
|
6432
|
-
|
|
6433
|
-
(
|
|
6434
|
-
),
|
|
6435
|
-
...
|
|
6436
|
-
...
|
|
6437
|
-
].forEach((
|
|
6438
|
-
Object.assign(
|
|
6433
|
+
E.value = !0, H.value = g.value.map(
|
|
6434
|
+
(Z) => ({ ...Z, snapshot: void 0 })
|
|
6435
|
+
), H.value.length === 0 && L.value.sort((Z, S) => (Z.order ?? 1 / 0) - (S.order ?? 1 / 0)), e.topicObjects && (H.value.length > 0 || L.value.length > 0 ? [
|
|
6436
|
+
...H.value,
|
|
6437
|
+
...L.value
|
|
6438
|
+
].forEach((Z) => {
|
|
6439
|
+
Object.assign(Z, {
|
|
6439
6440
|
components: e.topicObjects
|
|
6440
|
-
}),
|
|
6441
|
+
}), Z.components.selection || (Z.components.selection = []), Z.components.visibility || (Z.components.visibility = {
|
|
6441
6442
|
default_visibility: !0,
|
|
6442
6443
|
exceptions: [],
|
|
6443
6444
|
view_setup_hints: {
|
|
@@ -6446,17 +6447,17 @@ const G9 = {
|
|
|
6446
6447
|
openings_visible: !1
|
|
6447
6448
|
}
|
|
6448
6449
|
});
|
|
6449
|
-
}) :
|
|
6450
|
+
}) : L.value.push({
|
|
6450
6451
|
components: e.topicObjects
|
|
6451
6452
|
})), e.topicAnnotations && [
|
|
6452
|
-
...
|
|
6453
|
-
...
|
|
6453
|
+
...H.value,
|
|
6454
|
+
...L.value
|
|
6454
6455
|
].forEach(
|
|
6455
|
-
(
|
|
6456
|
+
(Z) => Z.pins = e.topicAnnotations
|
|
6456
6457
|
);
|
|
6457
|
-
const
|
|
6458
|
-
guid: (
|
|
6459
|
-
models: ((
|
|
6458
|
+
const w = {
|
|
6459
|
+
guid: (m = e.topic) == null ? void 0 : m.guid,
|
|
6460
|
+
models: ((V = e.topic) == null ? void 0 : V.models) || e.topicModels,
|
|
6460
6461
|
title: d.value,
|
|
6461
6462
|
topic_type: a.value,
|
|
6462
6463
|
priority: s.value,
|
|
@@ -6466,28 +6467,28 @@ const G9 = {
|
|
|
6466
6467
|
due_date: c.value,
|
|
6467
6468
|
description: l.value,
|
|
6468
6469
|
labels: b.value,
|
|
6469
|
-
viewpoints:
|
|
6470
|
+
viewpoints: H.value
|
|
6470
6471
|
};
|
|
6471
|
-
let
|
|
6472
|
-
i.value ?
|
|
6473
|
-
|
|
6474
|
-
(
|
|
6472
|
+
let x;
|
|
6473
|
+
i.value ? x = await t.createTopic(e.project, w) : x = await t.updateTopic(e.project, w), await Promise.all(
|
|
6474
|
+
L.value.map(
|
|
6475
|
+
(Z) => t.createViewpoint(e.project, x, Z)
|
|
6475
6476
|
)
|
|
6476
6477
|
), await Promise.all(
|
|
6477
6478
|
M.value.map(
|
|
6478
|
-
(
|
|
6479
|
+
(Z) => t.deleteViewpoint(e.project, x, Z)
|
|
6479
6480
|
)
|
|
6480
|
-
), i.value ? (r("topic-created",
|
|
6481
|
-
} catch (
|
|
6482
|
-
r(i.value ? "topic-create-error" : "topic-update-error",
|
|
6481
|
+
), i.value ? (r("topic-created", x), T()) : r("topic-updated", x);
|
|
6482
|
+
} catch (w) {
|
|
6483
|
+
r(i.value ? "topic-create-error" : "topic-update-error", w);
|
|
6483
6484
|
} finally {
|
|
6484
|
-
|
|
6485
|
+
E.value = !1;
|
|
6485
6486
|
}
|
|
6486
6487
|
}
|
|
6487
6488
|
};
|
|
6488
6489
|
}
|
|
6489
|
-
},
|
|
6490
|
-
var Q9 = /* @__PURE__ */
|
|
6490
|
+
}, ae = {};
|
|
6491
|
+
var Q9 = /* @__PURE__ */ F(
|
|
6491
6492
|
G9,
|
|
6492
6493
|
K9,
|
|
6493
6494
|
J9,
|
|
@@ -6498,8 +6499,8 @@ var Q9 = /* @__PURE__ */ $(
|
|
|
6498
6499
|
null
|
|
6499
6500
|
);
|
|
6500
6501
|
function e4(e) {
|
|
6501
|
-
for (let r in
|
|
6502
|
-
this[r] =
|
|
6502
|
+
for (let r in ae)
|
|
6503
|
+
this[r] = ae[r];
|
|
6503
6504
|
}
|
|
6504
6505
|
const t4 = /* @__PURE__ */ function() {
|
|
6505
6506
|
return Q9.exports;
|
|
@@ -6513,7 +6514,7 @@ var r4 = { bind(e, r) {
|
|
|
6513
6514
|
}, unbind(e, r) {
|
|
6514
6515
|
window.removeEventListener(r.arg || "click", e.clickAwayHandler, !0), delete e.clickAwayHandler;
|
|
6515
6516
|
} };
|
|
6516
|
-
function
|
|
6517
|
+
function A(e, r, t, i, n, d, a, s, u, C) {
|
|
6517
6518
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
6518
6519
|
const o = typeof t == "function" ? t.options : t;
|
|
6519
6520
|
let c;
|
|
@@ -6535,24 +6536,24 @@ function N(e, r, t, i, n, d, a, s, u, C) {
|
|
|
6535
6536
|
}
|
|
6536
6537
|
return t;
|
|
6537
6538
|
}
|
|
6538
|
-
const i4 =
|
|
6539
|
+
const i4 = A({ render: function() {
|
|
6539
6540
|
var e = this.$createElement;
|
|
6540
6541
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" } });
|
|
6541
6542
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
6542
6543
|
var a4 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
6543
|
-
const
|
|
6544
|
-
var Ne = (e, r) => ({ name: `BIMDataIcon${e}`, components: { [e]: r }, props: { color: { type: String, default: "default", validator: (t) => a4.includes(t) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (t) => Object.keys(
|
|
6544
|
+
const ne = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
6545
|
+
var Ne = (e, r) => ({ name: `BIMDataIcon${e}`, components: { [e]: r }, props: { color: { type: String, default: "default", validator: (t) => a4.includes(t) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (t) => Object.keys(ne).includes(t) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
6545
6546
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
6546
6547
|
}, style() {
|
|
6547
6548
|
const t = this.getPixelSize(this.size);
|
|
6548
6549
|
return { width: `${t}px`, minWidth: `${t}px`, height: `${t}px`, minHeight: `${t}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
6549
6550
|
} }, methods: { getPixelSize() {
|
|
6550
|
-
return this.customSize ? this.customSize :
|
|
6551
|
+
return this.customSize ? this.customSize : ne[this.size];
|
|
6551
6552
|
} } }), n4 = Ne("Chevron", i4);
|
|
6552
6553
|
const o4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
6553
|
-
function
|
|
6554
|
+
function q(e) {
|
|
6554
6555
|
return (r, t) => function(i, n) {
|
|
6555
|
-
const d = o4 ? n.media || "default" : i, a =
|
|
6556
|
+
const d = o4 ? n.media || "default" : i, a = oe[d] || (oe[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
6556
6557
|
if (!a.ids.has(i)) {
|
|
6557
6558
|
a.ids.add(i);
|
|
6558
6559
|
let s = n.source;
|
|
@@ -6569,22 +6570,22 @@ function U(e) {
|
|
|
6569
6570
|
}(r, t);
|
|
6570
6571
|
}
|
|
6571
6572
|
let j1;
|
|
6572
|
-
const
|
|
6573
|
+
const oe = {}, le = A({ render: function() {
|
|
6573
6574
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6574
6575
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
6575
6576
|
}, staticRenderFns: [] }, function(e) {
|
|
6576
6577
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
6577
|
-
}, n4, "data-v-20c38c94", !1, void 0, !1,
|
|
6578
|
+
}, n4, "data-v-20c38c94", !1, void 0, !1, q, void 0, void 0), l4 = A({ render: function() {
|
|
6578
6579
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6579
6580
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("DoubleChevron")], 1);
|
|
6580
6581
|
}, staticRenderFns: [] }, function(e) {
|
|
6581
6582
|
e && (e("data-v-35e61558_0", { source: 'html[data-v-35e61558]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-35e61558_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
6582
|
-
}, Ne("DoubleChevron",
|
|
6583
|
+
}, Ne("DoubleChevron", A({ render: function() {
|
|
6583
6584
|
var e = this.$createElement;
|
|
6584
6585
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.47105C0.982285 2.39544 0.982285 2.27217 1.05119 2.19676L3.00683 0.0565512C3.07573 -0.0188504 3.18857 -0.0188504 3.25748 0.0565512L13.5625 11.3331C13.5796 11.3518 13.5925 11.3736 13.6012 11.3968C13.6665 11.4724 13.6658 11.5928 13.598 11.667L3.29296 22.9433C3.22406 23.0189 3.11122 23.0189 3.04231 22.9433L1.08668 20.8033C1.01758 20.7279 1.01758 20.6044 1.08668 20.529L9.32003 11.5192L1.05119 2.47105ZM10.2512 2.47105C10.1823 2.39544 10.1823 2.27217 10.2512 2.19676L12.2068 0.0565512C12.2757 -0.0188504 12.3886 -0.0188504 12.4575 0.0565512L22.7625 11.3331C22.7796 11.3518 22.7925 11.3736 22.8012 11.3968C22.8665 11.4724 22.8658 11.5928 22.798 11.667L12.493 22.9433C12.4241 23.0189 12.3112 23.0189 12.2423 22.9433L10.2867 20.8033C10.2176 20.7279 10.2176 20.6044 10.2867 20.529L18.52 11.5192L10.2512 2.47105Z" } });
|
|
6585
|
-
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1,
|
|
6586
|
+
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1, q, void 0, void 0);
|
|
6586
6587
|
var d4 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]);
|
|
6587
|
-
const U1 =
|
|
6588
|
+
const U1 = A({ render: function() {
|
|
6588
6589
|
var e = this, r = e.$createElement;
|
|
6589
6590
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
6590
6591
|
return e.$emit("click", t);
|
|
@@ -6595,7 +6596,7 @@ const U1 = N({ render: function() {
|
|
|
6595
6596
|
return { "bimdata-btn__icon": this.icon, "bimdata-btn__fill": this.fill, "bimdata-btn__outline": this.outline, "bimdata-btn__ghost": this.ghost, "bimdata-btn__ripple": this.ripple, "bimdata-btn__radius": this.radius, "bimdata-btn__square": this.square, "bimdata-btn__rounded": this.rounded, [`bimdata-btn__fill--${this.color}`]: this.fill && this.color, [`bimdata-btn__outline--${this.color}`]: this.outline && this.color, [`bimdata-btn__ghost--${this.color}`]: this.ghost && this.color, [`bimdata-btn__ripple--${this.color}`]: this.ripple && this.color };
|
|
6596
6597
|
}, style() {
|
|
6597
6598
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
6598
|
-
} } }, "data-v-7af18892", !1, void 0, !1,
|
|
6599
|
+
} } }, "data-v-7af18892", !1, void 0, !1, q, void 0, void 0), s4 = A({ render: function() {
|
|
6599
6600
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6600
6601
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: e.away, expression: "away" }], staticClass: "bimdata-dropdown-list", style: e.style, attrs: { direction: e.directionClass, closeOnElementClick: e.closeOnElementClick } }, [t("div", { staticClass: "bimdata-dropdown-list__content", class: { active: e.displayed, disabled: e.disabled }, style: e.style, on: { click: e.onHeaderClick } }, [e._t("header", null, { isOpen: e.displayed }), e._v(" "), t("BIMDataButton", { attrs: { color: "default", icon: "", radius: "", fill: "", width: "21px", height: "21px" } }, [t("BIMDataIconChevron", { attrs: { size: "xxxs", rotate: e.iconRotation } })], 1), e._v(" "), e._t("contentAfterBtn", null, { isOpen: e.displayed })], 2), e._v(" "), t("transition", { attrs: { name: "slide-fade-" + e.transitionName } }, [t("BIMDataPaginatedList", { directives: [{ name: "show", rawName: "v-show", value: e.displayed, expression: "displayed" }], class: "submenu submenu--" + e.directionClass, attrs: { list: e.list, perPage: e.perPage, elementKey: e.elementKey, loading: e.loading }, on: { "element-click": e.onElementClick }, scopedSlots: e._u([{ key: "element", fn: function(i) {
|
|
6601
6602
|
var n = i.element;
|
|
@@ -6603,7 +6604,7 @@ const U1 = N({ render: function() {
|
|
|
6603
6604
|
} }], null, !0) })], 1)], 1);
|
|
6604
6605
|
}, staticRenderFns: [] }, function(e) {
|
|
6605
6606
|
e && (e("data-v-6b8958da_0", { source: 'html[data-v-6b8958da]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-6b8958da_1", { source: ".slide-fade-up-enter-active,.slide-fade-up-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-up-enter,.slide-fade-up-enter-from,.slide-fade-up-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-down-enter-active,.slide-fade-down-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-down-enter,.slide-fade-down-enter-from,.slide-fade-down-leave-to{transform:translateY(10px);opacity:0}.slide-fade-left-enter-active,.slide-fade-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-left-enter,.slide-fade-left-enter-from,.slide-fade-left-leave-to{transform:translateX(-20px);opacity:0}.slide-fade-right-enter-active,.slide-fade-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-right-enter,.slide-fade-right-enter-from,.slide-fade-right-leave-to{transform:translateX(20px);opacity:0}.slide-right-enter-active,.slide-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-right-enter,.slide-right-enter-from,.slide-right-leave-to{transform:translateX(20px);opacity:0;position:absolute}.slide-left-enter-active,.slide-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-left-enter,.slide-left-enter-from,.slide-left-leave-to{transform:translateX(-20px);opacity:0;position:absolute}.fade-enter-active{transition:all .1s ease-out}.fade-leave-active{transition:all .1s ease-in}.fade-enter,.fade-enter-from,.fade-leave-to{opacity:0}.pop-enter-active{transition:all .4s cubic-bezier(.4,1.5,.56,1)}.pop-leave-active{transition:all .3s ease-in}.pop-enter,.pop-enter-from{transform:scale(.1);opacity:.4}.pop-enter-to,.pop-leave,.pop-leave-from{transform:scale(1);opacity:1}.pop-leave-to{transform:scale(.7);opacity:0}.list-enter-active{transition:all .3s ease-out}.list-leave-active{transition:all .2s ease-in}.list-move{transition:all .3s ease}.list-enter,.list-enter-from,.list-leave-to{opacity:0}.grid-enter-active{transition:all .5s ease-out}.grid-leave-active{transition:all .4s ease-in}.grid-move{transition:all .5s ease}.grid-enter,.grid-enter-from,.grid-leave-to{opacity:0}.page-enter-active,.page-leave-active{transition:all .5s ease}.page-enter,.page-enter-from,.page-leave-to{transform:translateX(-30%);opacity:0}.submenu{position:absolute;top:0;background-color:var(--color-white);box-shadow:var(--box-shadow)}.submenu--down,.submenu--left,.submenu--no-direction,.submenu--right,.submenu--up{padding:calc(var(--spacing-unit)/ 2) 0;width:100%;left:0;border-radius:3px;z-index:2}.submenu--down li,.submenu--left li,.submenu--no-direction li,.submenu--right li,.submenu--up li{padding:calc(var(--spacing-unit)/ 2);cursor:pointer}.submenu--down li:hover,.submenu--left li:hover,.submenu--no-direction li:hover,.submenu--right li:hover,.submenu--up li:hover{background-color:var(--color-silver-light)}.submenu--down li.disabled,.submenu--left li.disabled,.submenu--no-direction li.disabled,.submenu--right li.disabled,.submenu--up li.disabled{cursor:inherit}.submenu--down li.disabled:hover,.submenu--left li.disabled:hover,.submenu--no-direction li.disabled:hover,.submenu--right li.disabled:hover,.submenu--up li.disabled:hover{background-color:transparent}.submenu--up{top:auto;bottom:calc(100% + var(--spacing-unit)/ 2)}.submenu--down{top:calc(100% + var(--spacing-unit)/ 2)}.submenu--right{left:calc(100% + var(--spacing-unit)/ 2);right:auto}.submenu--left{right:calc(100% + var(--spacing-unit)/ 2);left:auto}.bimdata-dropdown-list{height:42px;position:relative;display:flex;align-items:center;justify-content:center;user-select:none}.bimdata-dropdown-list__content{padding:0 var(--spacing-unit);display:flex;align-items:center;justify-content:space-between;font-size:13px;background-color:var(--color-silver-light);border:1px solid var(--color-silver);border-radius:3px;cursor:pointer}.bimdata-dropdown-list__content .bimdata-btn{background-color:var(--color-silver-light)}.bimdata-dropdown-list__content.active{background-color:var(--color-white);border:1px solid transparent;box-shadow:var(--box-shadow)}.bimdata-dropdown-list__content.disabled{cursor:default;color:var(--color-silver-dark)}.bimdata-dropdown-list__content.disabled .bimdata-btn{cursor:default;color:var(--color-silver-dark)}.bimdata-dropdown-list .bimdata-paginated-list__elements{font-size:11px}.bimdata-dropdown-list .bimdata-paginated-list>ul:first-child{padding:6px 0;overflow:auto;z-index:1}.bimdata-dropdown-list .bimdata-paginated-list li{display:flex;justify-content:space-between;align-items:center}", map: void 0, media: void 0 }));
|
|
6606
|
-
}, { components: { BIMDataIconChevron:
|
|
6607
|
+
}, { components: { BIMDataIconChevron: le, BIMDataPaginatedList: A({ render: function() {
|
|
6607
6608
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6608
6609
|
return t("div", { staticClass: "bimdata-paginated-list" }, [e.loading ? t("BIMDataSpinner") : t("div", [e._t("header"), e._v(" "), t("ul", { staticClass: "bimdata-list bimdata-paginated-list__elements" }, e._l(e.page, function(i) {
|
|
6609
6610
|
return t("li", { key: e.elementKey ? i[e.elementKey] : i, on: { click: function(n) {
|
|
@@ -6616,7 +6617,7 @@ const U1 = N({ render: function() {
|
|
|
6616
6617
|
}), 0), e._v(" "), e.list.length === 0 ? [e._t("empty")] : e._e(), e._v(" "), e.totalPages > 1 ? t("BIMDataPagination", { attrs: { length: e.list.length, currentPage: e.currentPage, totalPages: e.totalPages, perPage: e.perPage, first: e.first, last: e.last, numberDataElements: e.numberDataElements, backgroundColor: e.backgroundColor }, on: { pagechanged: e.onPageChange } }) : e._e()], 2)], 1);
|
|
6617
6618
|
}, staticRenderFns: [] }, function(e) {
|
|
6618
6619
|
e && (e("data-v-9848cfc8_0", { source: 'html[data-v-9848cfc8]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-list[data-v-9848cfc8]{margin:0;padding:0}.bimdata-list li[data-v-9848cfc8]{list-style-type:none}', map: void 0, media: void 0 }), e("data-v-9848cfc8_1", { source: ".bimdata-paginated-list[data-v-9848cfc8]{font-family:var(--primary-font);font-size:1em;line-height:1.5;overflow:auto}.bimdata-paginated-list--small[data-v-9848cfc8]{height:100%;position:relative}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]{padding:6px;display:flex;align-items:center;justify-content:space-between;font-size:.8571428571em}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]:nth-child(odd){background-color:var(--color-silver-light)}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]:nth-child(even){background-color:hsl(var(--color-silver-light),5%)}.bimdata-paginated-list--empty[data-v-9848cfc8]{height:auto}.bimdata-paginated-list .bimdata-spinner[data-v-9848cfc8]{padding:12px 0;justify-content:center}", map: void 0, media: void 0 }));
|
|
6619
|
-
}, { components: { BIMDataPagination:
|
|
6620
|
+
}, { components: { BIMDataPagination: A({ render: function() {
|
|
6620
6621
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6621
6622
|
return t("BIMDataNavigation", { staticClass: "bimdata-pagination", attrs: { firstDisabled: e.isFirstPage, previousDisabled: e.isFirstPage, nextDisabled: e.isLastPage, lastDisabled: e.isLastPage, backgroundColor: e.backgroundColor }, on: { first: function(i) {
|
|
6622
6623
|
return e.firstPage();
|
|
@@ -6635,7 +6636,7 @@ const U1 = N({ render: function() {
|
|
|
6635
6636
|
`)])], 1)]);
|
|
6636
6637
|
}, staticRenderFns: [] }, function(e) {
|
|
6637
6638
|
e && (e("data-v-0a60caec_0", { source: 'html[data-v-0a60caec]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-0a60caec_1", { source: ".bimdata-pagination__item .bimdata-btn[data-v-0a60caec]{padding:0;justify-content:center}.bimdata-pagination__item.active .bimdata-btn[data-v-0a60caec]{font-weight:700}", map: void 0, media: void 0 }));
|
|
6638
|
-
}, { components: { BIMDataNavigation:
|
|
6639
|
+
}, { components: { BIMDataNavigation: A({ render: function() {
|
|
6639
6640
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6640
6641
|
return t("ul", { staticClass: "bimdata-list bimdata-navigation", style: { "background-color": e.backgroundColor } }, [t("li", { staticClass: "bimdata-navigation__left m-r-6" }, [e._t("left")], 2), e._v(" "), e.first ? t("li", { staticClass: "bimdata-navigation__item" }, [t("BIMDataButton", { class: { disabled: e.firstDisabled }, attrs: { disabled: e.firstDisabled, ghost: "", width: "21px", height: "21px" }, on: { click: function(i) {
|
|
6641
6642
|
return e.$emit("first");
|
|
@@ -6648,7 +6649,7 @@ const U1 = N({ render: function() {
|
|
|
6648
6649
|
} } }, [t("BIMDataIconDoubleChevron", { attrs: { size: "xxxs" } })], 1)], 1) : e._e(), e._v(" "), t("li", { staticClass: "bimdata-navigation__right" }, [e._t("right")], 2)]);
|
|
6649
6650
|
}, staticRenderFns: [] }, function(e) {
|
|
6650
6651
|
e && (e("data-v-3c48ce0c_0", { source: 'html[data-v-3c48ce0c]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-list[data-v-3c48ce0c]{margin:0;padding:0}.bimdata-list li[data-v-3c48ce0c]{list-style-type:none}', map: void 0, media: void 0 }), e("data-v-3c48ce0c_1", { source: ".bimdata-navigation[data-v-3c48ce0c]{display:inline-flex;width:100%;height:38px;justify-content:center;align-items:center}.bimdata-navigation__item[data-v-3c48ce0c]{padding:6px 2px}.bimdata-navigation__item .bimdata-btn[data-v-3c48ce0c]{padding:0;justify-content:center}.bimdata-navigation__item.active .bimdata-btn[data-v-3c48ce0c]{font-weight:700}.bimdata-navigation__left[data-v-3c48ce0c],.bimdata-navigation__right[data-v-3c48ce0c]{padding:6px 2px;font-size:10px;cursor:default}", map: void 0, media: void 0 }));
|
|
6651
|
-
}, { components: { BIMDataIconChevron:
|
|
6652
|
+
}, { components: { BIMDataIconChevron: le, BIMDataIconDoubleChevron: l4, BIMDataButton: U1 }, props: { first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, previous: { type: Boolean, default: !0 }, next: { type: Boolean, default: !0 }, firstDisabled: { type: Boolean, default: !1 }, lastDisabled: { type: Boolean, default: !1 }, previousDisabled: { type: Boolean, default: !1 }, nextDisabled: { type: Boolean, default: !1 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["first", "previous", "next", "last"] }, "data-v-3c48ce0c", !1, void 0, !1, q, void 0, void 0), BIMDataButton: U1 }, props: { length: { type: Number, required: !0 }, currentPage: { type: Number, required: !0 }, totalPages: { type: Number, required: !0 }, numberDataElements: { type: Boolean, default: !0 }, backgroundColor: { type: String, default: "var(--color-white)" }, perPage: { type: Number, required: !0, validator: (e) => e > 0 } }, emits: ["pagechanged"], computed: { firstIndex() {
|
|
6652
6653
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
6653
6654
|
}, lastIndex() {
|
|
6654
6655
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -6664,7 +6665,7 @@ const U1 = N({ render: function() {
|
|
|
6664
6665
|
this.$emit("pagechanged", this.currentPage + 1);
|
|
6665
6666
|
}, lastPage() {
|
|
6666
6667
|
this.$emit("pagechanged", this.totalPages);
|
|
6667
|
-
} } }, "data-v-0a60caec", !1, void 0, !1,
|
|
6668
|
+
} } }, "data-v-0a60caec", !1, void 0, !1, q, void 0, void 0), BIMDataSpinner: A({ render: function() {
|
|
6668
6669
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6669
6670
|
return t("div", { staticClass: "bimdata-spinner" }, [t("div", { staticClass: "bimdata-spinner--square", style: e.getStyle() })]);
|
|
6670
6671
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -6672,7 +6673,7 @@ const U1 = N({ render: function() {
|
|
|
6672
6673
|
}, { props: ["size", "border"], methods: { getStyle() {
|
|
6673
6674
|
if (this.size)
|
|
6674
6675
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
6675
|
-
} } }, "data-v-60a4222b", !1, void 0, !1,
|
|
6676
|
+
} } }, "data-v-60a4222b", !1, void 0, !1, q, void 0, void 0) }, props: { list: { type: Array, default: () => [] }, perPage: { type: Number, default: 10, validator: (e) => e > 0 }, elementKey: { type: String }, loading: { type: Boolean, default: !1 }, first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, numberDataElements: { type: Boolean, default: !0 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["element-click"], data: () => ({ currentPage: 1 }), computed: { totalPages() {
|
|
6676
6677
|
return this.list.length ? Math.ceil(this.list.length / this.perPage) : 0;
|
|
6677
6678
|
}, page() {
|
|
6678
6679
|
const e = this.perPage * (this.currentPage - 1), r = e + this.perPage;
|
|
@@ -6681,7 +6682,7 @@ const U1 = N({ render: function() {
|
|
|
6681
6682
|
this.list.length < this.perPage * (this.currentPage - 1) + 1 && (this.currentPage = 1);
|
|
6682
6683
|
}, deep: !0, immediate: !0 } }, methods: { onPageChange(e) {
|
|
6683
6684
|
this.currentPage = e;
|
|
6684
|
-
} } }, "data-v-9848cfc8", !1, void 0, !1,
|
|
6685
|
+
} } }, "data-v-9848cfc8", !1, void 0, !1, q, void 0, void 0), BIMDataButton: U1 }, directives: { clickaway: r4 }, props: { list: { type: Array, default: () => [] }, perPage: { type: Number, default: 10 }, elementKey: { type: String }, disabled: { type: Boolean, default: !1 }, transitionName: { type: String, default: "up", validator: (e) => ["up", "down"].includes(e) }, directionClass: { type: String, default: "down", validator: (e) => ["down", "up", "right", "left"].includes(e) }, loading: { type: Boolean, default: !1 }, closeOnElementClick: { type: Boolean, default: !1 }, width: { type: String, default: "220px" }, height: { type: String, default: "36px" } }, emits: ["element-click"], data: () => ({ displayed: !1 }), computed: { style() {
|
|
6685
6686
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
6686
6687
|
}, iconRotation() {
|
|
6687
6688
|
return this.displayed ? this.directionClass === "up" ? -90 : 90 : 0;
|
|
@@ -6691,7 +6692,7 @@ const U1 = N({ render: function() {
|
|
|
6691
6692
|
this.$emit("element-click", e), this.closeOnElementClick && (this.displayed = !1);
|
|
6692
6693
|
}, away() {
|
|
6693
6694
|
this.displayed = !1;
|
|
6694
|
-
} } }, "data-v-6b8958da", !1, void 0, !1,
|
|
6695
|
+
} } }, "data-v-6b8958da", !1, void 0, !1, q, void 0, void 0);
|
|
6695
6696
|
var c4 = function() {
|
|
6696
6697
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6697
6698
|
return t("div", [t("img", {
|
|
@@ -6706,8 +6707,8 @@ const f4 = {
|
|
|
6706
6707
|
type: Object
|
|
6707
6708
|
}
|
|
6708
6709
|
}
|
|
6709
|
-
},
|
|
6710
|
-
var C4 = /* @__PURE__ */
|
|
6710
|
+
}, de = {};
|
|
6711
|
+
var C4 = /* @__PURE__ */ F(
|
|
6711
6712
|
f4,
|
|
6712
6713
|
c4,
|
|
6713
6714
|
u4,
|
|
@@ -6718,10 +6719,10 @@ var C4 = /* @__PURE__ */ $(
|
|
|
6718
6719
|
null
|
|
6719
6720
|
);
|
|
6720
6721
|
function h4(e) {
|
|
6721
|
-
for (let r in
|
|
6722
|
-
this[r] =
|
|
6722
|
+
for (let r in de)
|
|
6723
|
+
this[r] = de[r];
|
|
6723
6724
|
}
|
|
6724
|
-
const
|
|
6725
|
+
const se = /* @__PURE__ */ function() {
|
|
6725
6726
|
return C4.exports;
|
|
6726
6727
|
}();
|
|
6727
6728
|
var v4 = function() {
|
|
@@ -6772,8 +6773,8 @@ const g4 = {
|
|
|
6772
6773
|
)
|
|
6773
6774
|
};
|
|
6774
6775
|
}
|
|
6775
|
-
},
|
|
6776
|
-
var b4 = /* @__PURE__ */
|
|
6776
|
+
}, ce = {};
|
|
6777
|
+
var b4 = /* @__PURE__ */ F(
|
|
6777
6778
|
g4,
|
|
6778
6779
|
v4,
|
|
6779
6780
|
p4,
|
|
@@ -6784,8 +6785,8 @@ var b4 = /* @__PURE__ */ $(
|
|
|
6784
6785
|
null
|
|
6785
6786
|
);
|
|
6786
6787
|
function m4(e) {
|
|
6787
|
-
for (let r in
|
|
6788
|
-
this[r] =
|
|
6788
|
+
for (let r in ce)
|
|
6789
|
+
this[r] = ce[r];
|
|
6789
6790
|
}
|
|
6790
6791
|
const Ae = /* @__PURE__ */ function() {
|
|
6791
6792
|
return b4.exports;
|
|
@@ -6831,7 +6832,7 @@ var _4 = function() {
|
|
|
6831
6832
|
staticClass: "color-granite"
|
|
6832
6833
|
}, [e._v(" " + e._s(e.$d(e.comment.date, "long")) + " ")])], 1), t("div", {
|
|
6833
6834
|
staticClass: "topic-comment__header__right"
|
|
6834
|
-
}, [t("div", {
|
|
6835
|
+
}, [e.currentUserEmail === e.comment.author ? [t("div", {
|
|
6835
6836
|
staticClass: "topic-comment__header__right__actions flex"
|
|
6836
6837
|
}, [e.showMenu ? [t("BIMDataButton", {
|
|
6837
6838
|
attrs: {
|
|
@@ -6961,7 +6962,7 @@ var _4 = function() {
|
|
|
6961
6962
|
fill: "",
|
|
6962
6963
|
color: "granite-light"
|
|
6963
6964
|
}
|
|
6964
|
-
})], 1) : e._e()],
|
|
6965
|
+
})], 1) : e._e()] : e._e()], 2)]), t("div", {
|
|
6965
6966
|
staticClass: "topic-comment__content"
|
|
6966
6967
|
}, [t("BIMDataTextarea", {
|
|
6967
6968
|
class: {
|
|
@@ -7064,10 +7065,10 @@ const y4 = {
|
|
|
7064
7065
|
BIMDataButton: R,
|
|
7065
7066
|
BIMDataIcon: I,
|
|
7066
7067
|
BIMDataLoading: k1,
|
|
7067
|
-
BIMDataTextarea:
|
|
7068
|
+
BIMDataTextarea: c2,
|
|
7068
7069
|
BIMDataTextbox: f1,
|
|
7069
7070
|
UserAvatar: Ae,
|
|
7070
|
-
TopicCommentSnapshotModal:
|
|
7071
|
+
TopicCommentSnapshotModal: se
|
|
7071
7072
|
},
|
|
7072
7073
|
props: {
|
|
7073
7074
|
project: {
|
|
@@ -7081,37 +7082,41 @@ const y4 = {
|
|
|
7081
7082
|
comment: {
|
|
7082
7083
|
type: Object,
|
|
7083
7084
|
required: !0
|
|
7085
|
+
},
|
|
7086
|
+
currentUserEmail: {
|
|
7087
|
+
type: String,
|
|
7088
|
+
required: !0
|
|
7084
7089
|
}
|
|
7085
7090
|
},
|
|
7086
7091
|
emits: ["comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
7087
7092
|
setup(e, { emit: r }) {
|
|
7088
|
-
const t = n1("getViewers", () => ({})), i = n1("$viewer"), n = u1(), d =
|
|
7093
|
+
const t = n1("getViewers", () => ({})), i = n1("$viewer"), n = u1(), d = y(!1), a = y(!1), s = () => a.value = !1, u = () => a.value = !a.value, C = y(e.comment.comment), o = y(null), c = async () => {
|
|
7089
7094
|
o.value = await n.fetchTopicCommentViewpoint(
|
|
7090
7095
|
e.project,
|
|
7091
7096
|
e.topic,
|
|
7092
7097
|
e.comment
|
|
7093
7098
|
);
|
|
7094
|
-
}, l =
|
|
7099
|
+
}, l = y(!1), b = () => {
|
|
7095
7100
|
l.value = !0, s();
|
|
7096
7101
|
}, g = () => {
|
|
7097
7102
|
l.value = !1, C.value = e.comment.comment;
|
|
7098
|
-
},
|
|
7103
|
+
}, L = async () => {
|
|
7099
7104
|
o.value.guid && await n.deleteViewpoint(e.project, e.topic, o.value), o.value = null;
|
|
7100
|
-
},
|
|
7101
|
-
|
|
7102
|
-
},
|
|
7103
|
-
|
|
7104
|
-
},
|
|
7105
|
-
M.value.length === 1 ? await B(M.value[0]) : M.value.length > 1 && (
|
|
7106
|
-
}, B = async ({ id:
|
|
7107
|
-
|
|
7108
|
-
const [
|
|
7109
|
-
o.value = Object.assign(await
|
|
7110
|
-
[d1]:
|
|
7111
|
-
[s1]:
|
|
7105
|
+
}, H = y(!1), M = y([]), D = (x) => {
|
|
7106
|
+
x.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", x.$viewer.localContext.el.style.boxSizing = "border-box", x.$viewer.localContext.el.style.opacity = ".85";
|
|
7107
|
+
}, E = (x) => {
|
|
7108
|
+
x.$viewer.localContext.el.style.border = "", x.$viewer.localContext.el.style.boxSizing = "", x.$viewer.localContext.el.style.opacity = "";
|
|
7109
|
+
}, O = async () => {
|
|
7110
|
+
M.value.length === 1 ? await B(M.value[0]) : M.value.length > 1 && (H.value = !0);
|
|
7111
|
+
}, B = async ({ id: x, viewer: Z }) => {
|
|
7112
|
+
E(Z), H.value = !1;
|
|
7113
|
+
const [S] = Object.entries(c1).find(([, j]) => j.plugin === x);
|
|
7114
|
+
o.value = Object.assign(await Z.getViewpoint(), {
|
|
7115
|
+
[d1]: S,
|
|
7116
|
+
[s1]: Z.getLoadedModels().map((j) => j.id).join(",")
|
|
7112
7117
|
});
|
|
7113
|
-
},
|
|
7114
|
-
var
|
|
7118
|
+
}, T = async () => {
|
|
7119
|
+
var x;
|
|
7115
7120
|
try {
|
|
7116
7121
|
if (e.comment.comment === C.value && !o.value) {
|
|
7117
7122
|
l.value = !1;
|
|
@@ -7123,85 +7128,85 @@ const y4 = {
|
|
|
7123
7128
|
o.value
|
|
7124
7129
|
)), e.comment.comment !== C.value || e.comment.viewpoint_guid !== o.value.guid) {
|
|
7125
7130
|
d.value = !0;
|
|
7126
|
-
const
|
|
7131
|
+
const Z = await n.updateComment(
|
|
7127
7132
|
e.project,
|
|
7128
7133
|
e.topic,
|
|
7129
7134
|
e.comment,
|
|
7130
|
-
{ comment: C.value, viewpoint_guid: (
|
|
7135
|
+
{ comment: C.value, viewpoint_guid: (x = o.value) == null ? void 0 : x.guid }
|
|
7131
7136
|
);
|
|
7132
|
-
r("comment-updated",
|
|
7137
|
+
r("comment-updated", Z);
|
|
7133
7138
|
}
|
|
7134
7139
|
l.value = !1;
|
|
7135
7140
|
} finally {
|
|
7136
7141
|
d.value = !1;
|
|
7137
7142
|
}
|
|
7138
|
-
},
|
|
7139
|
-
|
|
7140
|
-
},
|
|
7143
|
+
}, z = y(!1), $ = () => {
|
|
7144
|
+
z.value = !0, s();
|
|
7145
|
+
}, _ = async () => {
|
|
7141
7146
|
try {
|
|
7142
|
-
d.value = !0, await n.deleteComment(e.project, e.topic, e.comment), r("comment-deleted", e.comment),
|
|
7147
|
+
d.value = !0, await n.deleteComment(e.project, e.topic, e.comment), r("comment-deleted", e.comment), z.value = !1;
|
|
7143
7148
|
} finally {
|
|
7144
7149
|
d.value = !1;
|
|
7145
7150
|
}
|
|
7146
|
-
},
|
|
7147
|
-
i ? i.globalContext.modals.pushModal(
|
|
7151
|
+
}, m = (x) => {
|
|
7152
|
+
i ? i.globalContext.modals.pushModal(se, { topic: x }) : r("view-comment-snapshot", x);
|
|
7148
7153
|
};
|
|
7149
|
-
let
|
|
7150
|
-
return
|
|
7154
|
+
let V, w;
|
|
7155
|
+
return t2(async () => {
|
|
7151
7156
|
if (e.comment.viewpoint_guid && await c(), i) {
|
|
7152
|
-
const
|
|
7153
|
-
([
|
|
7157
|
+
const x = () => Object.entries(t()).map(
|
|
7158
|
+
([Z, S]) => S.map((j, u2) => ({ key: `${Z}-${u2}`, id: Z, index: u2, viewer: j }))
|
|
7154
7159
|
).flat();
|
|
7155
|
-
M.value =
|
|
7156
|
-
M.value =
|
|
7157
|
-
}),
|
|
7158
|
-
M.value =
|
|
7160
|
+
M.value = x(), V = i.globalContext.hub.on("plugin-created", () => {
|
|
7161
|
+
M.value = x();
|
|
7162
|
+
}), w = i.globalContext.hub.on("plugin-destroyed", () => {
|
|
7163
|
+
M.value = x();
|
|
7159
7164
|
});
|
|
7160
7165
|
}
|
|
7161
7166
|
}), Ze(() => {
|
|
7162
|
-
i && (i.globalContext.hub.off(
|
|
7167
|
+
i && (i.globalContext.hub.off(V), i.globalContext.hub.off(w));
|
|
7163
7168
|
}), {
|
|
7164
7169
|
// References
|
|
7165
|
-
isDeleting:
|
|
7170
|
+
isDeleting: z,
|
|
7166
7171
|
isEditing: l,
|
|
7167
7172
|
loading: d,
|
|
7168
7173
|
showMenu: a,
|
|
7169
7174
|
text: C,
|
|
7170
7175
|
viewerSelectOptions: M,
|
|
7171
|
-
viewerSelectVisible:
|
|
7176
|
+
viewerSelectVisible: H,
|
|
7172
7177
|
viewpoint: o,
|
|
7173
7178
|
isViewer: Boolean(i),
|
|
7174
7179
|
// Methods
|
|
7175
7180
|
cancelUpdate: g,
|
|
7176
7181
|
closeMenu: s,
|
|
7177
7182
|
createViewpoint: B,
|
|
7178
|
-
deleteViewpoint:
|
|
7179
|
-
highlightViewer:
|
|
7180
|
-
onOpenDelete:
|
|
7183
|
+
deleteViewpoint: L,
|
|
7184
|
+
highlightViewer: D,
|
|
7185
|
+
onOpenDelete: $,
|
|
7181
7186
|
onOpenEdit: b,
|
|
7182
|
-
setCommentViewpoint:
|
|
7183
|
-
submitDelete:
|
|
7184
|
-
submitUpdate:
|
|
7187
|
+
setCommentViewpoint: O,
|
|
7188
|
+
submitDelete: _,
|
|
7189
|
+
submitUpdate: T,
|
|
7185
7190
|
toggleMenu: u,
|
|
7186
7191
|
loadViewpoint: c,
|
|
7187
|
-
openTopicSnapshot:
|
|
7188
|
-
unhighlightViewer:
|
|
7192
|
+
openTopicSnapshot: m,
|
|
7193
|
+
unhighlightViewer: E
|
|
7189
7194
|
};
|
|
7190
7195
|
}
|
|
7191
|
-
},
|
|
7192
|
-
var H4 = /* @__PURE__ */
|
|
7196
|
+
}, ue = {};
|
|
7197
|
+
var H4 = /* @__PURE__ */ F(
|
|
7193
7198
|
y4,
|
|
7194
7199
|
_4,
|
|
7195
7200
|
L4,
|
|
7196
7201
|
!1,
|
|
7197
7202
|
V4,
|
|
7198
|
-
"
|
|
7203
|
+
"6d887a0b",
|
|
7199
7204
|
null,
|
|
7200
7205
|
null
|
|
7201
7206
|
);
|
|
7202
7207
|
function V4(e) {
|
|
7203
|
-
for (let r in
|
|
7204
|
-
this[r] =
|
|
7208
|
+
for (let r in ue)
|
|
7209
|
+
this[r] = ue[r];
|
|
7205
7210
|
}
|
|
7206
7211
|
const M4 = /* @__PURE__ */ function() {
|
|
7207
7212
|
return H4.exports;
|
|
@@ -7210,7 +7215,7 @@ var x4 = function() {
|
|
|
7210
7215
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
7211
7216
|
return t("div", {
|
|
7212
7217
|
staticClass: "bcf-topic-comments"
|
|
7213
|
-
}, [e.isOpen ? t("div", {
|
|
7218
|
+
}, [e.uiConfig.commentCreation ? [e.isOpen ? t("div", {
|
|
7214
7219
|
staticClass: "bcf-topic-comments__post-comment m-t-24"
|
|
7215
7220
|
}, [t("p", {
|
|
7216
7221
|
staticClass: "color-granite m-b-24"
|
|
@@ -7233,7 +7238,7 @@ var x4 = function() {
|
|
|
7233
7238
|
}
|
|
7234
7239
|
}), e.viewpoint ? t("div", {
|
|
7235
7240
|
staticClass: "bcf-topic-comments__post-comment__snapshot m-b-12"
|
|
7236
|
-
}, [
|
|
7241
|
+
}, [e.viewpoint.snapshot.snapshot_data ? t("img", {
|
|
7237
7242
|
attrs: {
|
|
7238
7243
|
src: e.viewpoint.snapshot.snapshot_data
|
|
7239
7244
|
}
|
|
@@ -7254,7 +7259,7 @@ var x4 = function() {
|
|
|
7254
7259
|
fill: "",
|
|
7255
7260
|
color: "high"
|
|
7256
7261
|
}
|
|
7257
|
-
})], 1)]
|
|
7262
|
+
})], 1)], 1) : e._e(), t("div", {
|
|
7258
7263
|
staticClass: "flex items-center justify-between"
|
|
7259
7264
|
}, [t("div", {
|
|
7260
7265
|
staticClass: "flex items-center"
|
|
@@ -7339,7 +7344,7 @@ var x4 = function() {
|
|
|
7339
7344
|
e.isOpen = !0;
|
|
7340
7345
|
}
|
|
7341
7346
|
}
|
|
7342
|
-
}, [e._v(" " + e._s(e.$t("BcfComponents.BcfTopicComments.commentButton")) + " ")]), t("div", {
|
|
7347
|
+
}, [e._v(" " + e._s(e.$t("BcfComponents.BcfTopicComments.commentButton")) + " ")])] : e._e(), t("div", {
|
|
7343
7348
|
staticClass: "bcf-topic-comments__list m-t-18"
|
|
7344
7349
|
}, [t("p", {
|
|
7345
7350
|
staticClass: "color-granite"
|
|
@@ -7349,7 +7354,8 @@ var x4 = function() {
|
|
|
7349
7354
|
attrs: {
|
|
7350
7355
|
project: e.project,
|
|
7351
7356
|
topic: e.topic,
|
|
7352
|
-
comment: i
|
|
7357
|
+
comment: i,
|
|
7358
|
+
currentUserEmail: e.currentUserEmail
|
|
7353
7359
|
},
|
|
7354
7360
|
on: {
|
|
7355
7361
|
"comment-updated": e.onCommentUpdated,
|
|
@@ -7367,7 +7373,7 @@ const w4 = {
|
|
|
7367
7373
|
BIMDataDropdownList: s4,
|
|
7368
7374
|
BIMDataIcon: I,
|
|
7369
7375
|
BIMDataLoading: k1,
|
|
7370
|
-
BIMDataTextarea:
|
|
7376
|
+
BIMDataTextarea: c2,
|
|
7371
7377
|
TopicComment: M4
|
|
7372
7378
|
},
|
|
7373
7379
|
props: {
|
|
@@ -7378,67 +7384,75 @@ const w4 = {
|
|
|
7378
7384
|
topic: {
|
|
7379
7385
|
type: Object,
|
|
7380
7386
|
required: !0
|
|
7387
|
+
},
|
|
7388
|
+
uiConfig: {
|
|
7389
|
+
type: Object,
|
|
7390
|
+
required: !0
|
|
7391
|
+
},
|
|
7392
|
+
currentUserEmail: {
|
|
7393
|
+
type: String,
|
|
7394
|
+
required: !0
|
|
7381
7395
|
}
|
|
7382
7396
|
},
|
|
7383
7397
|
emis: ["comment-created", "comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
7384
7398
|
setup(e, { emit: r }) {
|
|
7385
|
-
const t = u1(), i =
|
|
7399
|
+
const t = u1(), i = y([]), n = y(!1), d = y(!1), a = y(null), s = y(""), u = y(null), C = async () => {
|
|
7386
7400
|
i.value = await t.fetchTopicComments(e.project, e.topic);
|
|
7387
|
-
}, o = n1("getViewers", () => ({})), c = n1("$viewer"), l =
|
|
7388
|
-
|
|
7389
|
-
},
|
|
7390
|
-
|
|
7391
|
-
},
|
|
7401
|
+
}, o = n1("getViewers", () => ({})), c = n1("$viewer"), l = y(!1), b = y([]), g = ($) => {
|
|
7402
|
+
$.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", $.$viewer.localContext.el.style.boxSizing = "border-box", $.$viewer.localContext.el.style.opacity = ".85";
|
|
7403
|
+
}, L = ($) => {
|
|
7404
|
+
$.$viewer.localContext.el.style.border = "", $.$viewer.localContext.el.style.boxSizing = "", $.$viewer.localContext.el.style.opacity = "";
|
|
7405
|
+
}, H = async () => {
|
|
7392
7406
|
b.value.length === 1 ? await M(b.value[0]) : b.value.length > 1 && (l.value = !0);
|
|
7393
|
-
}, M = async ({ id:
|
|
7394
|
-
|
|
7395
|
-
const [
|
|
7396
|
-
u.value = Object.assign(await
|
|
7397
|
-
[d1]:
|
|
7398
|
-
[s1]:
|
|
7407
|
+
}, M = async ({ id: $, viewer: _ }) => {
|
|
7408
|
+
L(_), l.value = !1;
|
|
7409
|
+
const [m] = Object.entries(c1).find(([, V]) => V.plugin === $);
|
|
7410
|
+
u.value = Object.assign(await _.getViewpoint(), {
|
|
7411
|
+
[d1]: m,
|
|
7412
|
+
[s1]: _.getLoadedModels().map((V) => V.id).join(",")
|
|
7399
7413
|
});
|
|
7400
|
-
},
|
|
7414
|
+
}, D = () => {
|
|
7401
7415
|
u.value = null;
|
|
7402
|
-
},
|
|
7403
|
-
var
|
|
7416
|
+
}, E = async () => {
|
|
7417
|
+
var $;
|
|
7404
7418
|
try {
|
|
7405
7419
|
d.value = !0, u.value && (u.value = await t.createViewpoint(
|
|
7406
7420
|
e.project,
|
|
7407
7421
|
e.topic,
|
|
7408
7422
|
u.value
|
|
7409
7423
|
));
|
|
7410
|
-
const
|
|
7424
|
+
const _ = await t.createComment(e.project, e.topic, {
|
|
7411
7425
|
comment: s.value,
|
|
7412
|
-
viewpoint_guid: (
|
|
7426
|
+
viewpoint_guid: ($ = u.value) == null ? void 0 : $.guid
|
|
7413
7427
|
});
|
|
7414
|
-
C(), r("comment-created",
|
|
7428
|
+
C(), r("comment-created", _), n.value = !1, s.value = "";
|
|
7415
7429
|
} finally {
|
|
7416
7430
|
d.value = !1, u.value = null;
|
|
7417
7431
|
}
|
|
7418
|
-
},
|
|
7419
|
-
C(), r("comment-updated",
|
|
7420
|
-
}, B = (
|
|
7421
|
-
C(), r("comment-deleted",
|
|
7432
|
+
}, O = ($) => {
|
|
7433
|
+
C(), r("comment-updated", $);
|
|
7434
|
+
}, B = ($) => {
|
|
7435
|
+
C(), r("comment-deleted", $);
|
|
7422
7436
|
};
|
|
7423
|
-
|
|
7437
|
+
N(
|
|
7424
7438
|
() => e.topic,
|
|
7425
7439
|
() => C(),
|
|
7426
7440
|
{ immediate: !0 }
|
|
7427
|
-
),
|
|
7428
|
-
let
|
|
7429
|
-
return
|
|
7441
|
+
), N(n, () => setTimeout(() => n.value && a.value.focus(), 50));
|
|
7442
|
+
let T, z;
|
|
7443
|
+
return t2(() => {
|
|
7430
7444
|
if (c) {
|
|
7431
|
-
const
|
|
7432
|
-
([
|
|
7445
|
+
const $ = () => Object.entries(o()).map(
|
|
7446
|
+
([_, m]) => m.map((V, w) => ({ key: `${_}-${w}`, id: _, index: w, viewer: V }))
|
|
7433
7447
|
).flat();
|
|
7434
|
-
b.value =
|
|
7435
|
-
b.value =
|
|
7436
|
-
}),
|
|
7437
|
-
b.value =
|
|
7448
|
+
b.value = $(), T = c.globalContext.hub.on("plugin-created", () => {
|
|
7449
|
+
b.value = $();
|
|
7450
|
+
}), z = c.globalContext.hub.on("plugin-destroyed", () => {
|
|
7451
|
+
b.value = $();
|
|
7438
7452
|
});
|
|
7439
7453
|
}
|
|
7440
7454
|
}), Ze(() => {
|
|
7441
|
-
c && (c.globalContext.hub.off(
|
|
7455
|
+
c && (c.globalContext.hub.off(T), c.globalContext.hub.off(z));
|
|
7442
7456
|
}), {
|
|
7443
7457
|
// References
|
|
7444
7458
|
comments: i,
|
|
@@ -7452,30 +7466,30 @@ const w4 = {
|
|
|
7452
7466
|
isViewer: Boolean(c),
|
|
7453
7467
|
// Methods
|
|
7454
7468
|
createViewpoint: M,
|
|
7455
|
-
deleteViewpoint:
|
|
7469
|
+
deleteViewpoint: D,
|
|
7456
7470
|
highlightViewer: g,
|
|
7457
7471
|
loadComments: C,
|
|
7458
7472
|
onCommentDeleted: B,
|
|
7459
|
-
onCommentUpdated:
|
|
7460
|
-
setCommentViewpoint:
|
|
7461
|
-
submitComment:
|
|
7462
|
-
unhighlightViewer:
|
|
7473
|
+
onCommentUpdated: O,
|
|
7474
|
+
setCommentViewpoint: H,
|
|
7475
|
+
submitComment: E,
|
|
7476
|
+
unhighlightViewer: L
|
|
7463
7477
|
};
|
|
7464
7478
|
}
|
|
7465
|
-
},
|
|
7466
|
-
var k4 = /* @__PURE__ */
|
|
7479
|
+
}, fe = {};
|
|
7480
|
+
var k4 = /* @__PURE__ */ F(
|
|
7467
7481
|
w4,
|
|
7468
7482
|
x4,
|
|
7469
7483
|
Z4,
|
|
7470
7484
|
!1,
|
|
7471
7485
|
$4,
|
|
7472
|
-
"
|
|
7486
|
+
"43c7f579",
|
|
7473
7487
|
null,
|
|
7474
7488
|
null
|
|
7475
7489
|
);
|
|
7476
7490
|
function $4(e) {
|
|
7477
|
-
for (let r in
|
|
7478
|
-
this[r] =
|
|
7491
|
+
for (let r in fe)
|
|
7492
|
+
this[r] = fe[r];
|
|
7479
7493
|
}
|
|
7480
7494
|
const F4 = /* @__PURE__ */ function() {
|
|
7481
7495
|
return k4.exports;
|
|
@@ -7510,7 +7524,7 @@ function h(e, r, t, i, n, d, a, s, u, C) {
|
|
|
7510
7524
|
const B4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
7511
7525
|
function e2(e) {
|
|
7512
7526
|
return (r, t) => function(i, n) {
|
|
7513
|
-
const d = B4 ? n.media || "default" : i, a =
|
|
7527
|
+
const d = B4 ? n.media || "default" : i, a = Ce[d] || (Ce[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
7514
7528
|
if (!a.ids.has(i)) {
|
|
7515
7529
|
a.ids.add(i);
|
|
7516
7530
|
let s = n.source;
|
|
@@ -7527,7 +7541,7 @@ function e2(e) {
|
|
|
7527
7541
|
}(r, t);
|
|
7528
7542
|
}
|
|
7529
7543
|
let q1;
|
|
7530
|
-
const
|
|
7544
|
+
const Ce = {}, R4 = h({ render: function() {
|
|
7531
7545
|
var e = this, r = e.$createElement;
|
|
7532
7546
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
7533
7547
|
return e.$emit("click", t);
|
|
@@ -7535,7 +7549,7 @@ const fe = {}, R4 = h({ render: function() {
|
|
|
7535
7549
|
}, staticRenderFns: [] }, function(e) {
|
|
7536
7550
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
7537
7551
|
}, E4, "data-v-7af18892", !1, void 0, !1, e2, void 0, void 0);
|
|
7538
|
-
var
|
|
7552
|
+
var he = { addFile: h({ render: function() {
|
|
7539
7553
|
var e = this.$createElement;
|
|
7540
7554
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.5312H14.4343V19.7656H12.2781V16.5312H9.04369V14.375H12.2781V11.1406H14.4343V14.375H17.6687V16.5312ZM4.01244 7.90625L10.1218 1.79688V5.97245V7.90625H4.01244ZM20.3885 2.3C20.3885 1.035 19.365 0 18.1 0H8.9L2 6.9V20.7C2 21.965 3.03464 23 4.3 23H18.1115C19.3765 23 20.4 21.965 20.4 20.7L20.3885 2.3Z" } });
|
|
7541
7555
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: h({ render: function() {
|
|
@@ -8000,7 +8014,7 @@ var Ce = { addFile: h({ render: function() {
|
|
|
8000
8014
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8001
8015
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
8002
8016
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, I4 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
8003
|
-
const
|
|
8017
|
+
const ve = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 }, S4 = h({ render: function() {
|
|
8004
8018
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8005
8019
|
return t("div", { staticClass: "bimdata-carousel" }, [t("BIMDataButton", { directives: [{ name: "show", rawName: "v-show", value: e.index > 0, expression: "index > 0" }], staticClass: "bimdata-carousel__btn-prev", attrs: { color: "default", fill: "", rounded: "", icon: "" }, on: { click: function(i) {
|
|
8006
8020
|
e.index--;
|
|
@@ -8016,13 +8030,13 @@ const he = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xx
|
|
|
8016
8030
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
8017
8031
|
}, { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
8018
8032
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
8019
|
-
}(
|
|
8033
|
+
}(he) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(he).includes(e) }, color: { type: String, default: "default", validator: (e) => I4.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(ve).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
8020
8034
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
8021
8035
|
}, style() {
|
|
8022
8036
|
const e = this.getPixelSize(this.size);
|
|
8023
8037
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
8024
8038
|
} }, methods: { getPixelSize() {
|
|
8025
|
-
return this.customSize ? this.customSize :
|
|
8039
|
+
return this.customSize ? this.customSize : ve[this.size];
|
|
8026
8040
|
} } }, "data-v-198621a2", !1, void 0, !1, e2, void 0, void 0) }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
8027
8041
|
this.distributeItems();
|
|
8028
8042
|
} }, mounted() {
|
|
@@ -8093,7 +8107,7 @@ var T4 = function() {
|
|
|
8093
8107
|
}, O4 = [];
|
|
8094
8108
|
const z4 = {
|
|
8095
8109
|
components: {
|
|
8096
|
-
BcfTopicDefaultImage:
|
|
8110
|
+
BcfTopicDefaultImage: o2,
|
|
8097
8111
|
BIMDataCarousel: S4,
|
|
8098
8112
|
BIMDataIcon: I
|
|
8099
8113
|
},
|
|
@@ -8123,15 +8137,15 @@ const z4 = {
|
|
|
8123
8137
|
return {
|
|
8124
8138
|
// References
|
|
8125
8139
|
statusColor: k(
|
|
8126
|
-
() =>
|
|
8140
|
+
() => a2(e.topic, e.detailedExtensions)
|
|
8127
8141
|
),
|
|
8128
8142
|
viewpoints: r,
|
|
8129
8143
|
// Methods
|
|
8130
8144
|
adjustTextColor: x1
|
|
8131
8145
|
};
|
|
8132
8146
|
}
|
|
8133
|
-
},
|
|
8134
|
-
var P4 = /* @__PURE__ */
|
|
8147
|
+
}, pe = {};
|
|
8148
|
+
var P4 = /* @__PURE__ */ F(
|
|
8135
8149
|
z4,
|
|
8136
8150
|
T4,
|
|
8137
8151
|
O4,
|
|
@@ -8142,8 +8156,8 @@ var P4 = /* @__PURE__ */ $(
|
|
|
8142
8156
|
null
|
|
8143
8157
|
);
|
|
8144
8158
|
function N4(e) {
|
|
8145
|
-
for (let r in
|
|
8146
|
-
this[r] =
|
|
8159
|
+
for (let r in pe)
|
|
8160
|
+
this[r] = pe[r];
|
|
8147
8161
|
}
|
|
8148
8162
|
const A4 = /* @__PURE__ */ function() {
|
|
8149
8163
|
return P4.exports;
|
|
@@ -8367,7 +8381,9 @@ var j4 = function() {
|
|
|
8367
8381
|
}, [e._v(" " + e._s(e.topicLabels.length ? e.topicLabels.join(", ") : e.$t("BcfComponents.BcfTopicOverview.noTags")) + " ")])])]), t("BcfTopicComments", {
|
|
8368
8382
|
attrs: {
|
|
8369
8383
|
project: e.project,
|
|
8370
|
-
topic: e.topic
|
|
8384
|
+
topic: e.topic,
|
|
8385
|
+
uiConfig: e.uiConfig,
|
|
8386
|
+
currentUserEmail: e.currentUserEmail
|
|
8371
8387
|
},
|
|
8372
8388
|
on: {
|
|
8373
8389
|
"comment-created": function(i) {
|
|
@@ -8426,7 +8442,7 @@ var j4 = function() {
|
|
|
8426
8442
|
const q4 = {
|
|
8427
8443
|
components: {
|
|
8428
8444
|
BcfTopicComments: F4,
|
|
8429
|
-
BcfTopicDefaultImage:
|
|
8445
|
+
BcfTopicDefaultImage: o2,
|
|
8430
8446
|
BcfTopicViewpoints: A4,
|
|
8431
8447
|
BIMDataButton: R,
|
|
8432
8448
|
BIMDataIcon: I,
|
|
@@ -8442,7 +8458,8 @@ const q4 = {
|
|
|
8442
8458
|
backButton: !1,
|
|
8443
8459
|
closeButton: !1,
|
|
8444
8460
|
editButton: !1,
|
|
8445
|
-
deleteButton: !1
|
|
8461
|
+
deleteButton: !1,
|
|
8462
|
+
commentCreation: !1
|
|
8446
8463
|
})
|
|
8447
8464
|
},
|
|
8448
8465
|
project: {
|
|
@@ -8473,12 +8490,23 @@ const q4 = {
|
|
|
8473
8490
|
"view-topic-viewpoint"
|
|
8474
8491
|
],
|
|
8475
8492
|
setup(e, { emit: r }) {
|
|
8476
|
-
const t = u1(), i =
|
|
8477
|
-
var
|
|
8478
|
-
return ((
|
|
8479
|
-
}), s = k(() => Array.from(e.topic.labels ?? []).sort())
|
|
8480
|
-
|
|
8493
|
+
const t = u1(), i = y(!1), n = y(!1), d = k(() => e1(e.topic, e.detailedExtensions)), a = k(() => {
|
|
8494
|
+
var c, l, b;
|
|
8495
|
+
return ((b = (l = (c = e.topic.viewpoints) == null ? void 0 : c[0]) == null ? void 0 : l.components) == null ? void 0 : b.selection) ?? [];
|
|
8496
|
+
}), s = k(() => Array.from(e.topic.labels ?? []).sort()), u = y(""), C = async () => {
|
|
8497
|
+
u.value = (await t.fetchCurrentUser()).email;
|
|
8498
|
+
}, o = async () => {
|
|
8499
|
+
try {
|
|
8500
|
+
n.value = !1, i.value = !0, await t.deleteTopic(e.project, e.topic), r("topic-deleted", e.topic);
|
|
8501
|
+
} catch (c) {
|
|
8502
|
+
console.error(c), r("topic-delete-error", c);
|
|
8503
|
+
} finally {
|
|
8504
|
+
i.value = !1;
|
|
8505
|
+
}
|
|
8506
|
+
};
|
|
8507
|
+
return t2(() => C()), {
|
|
8481
8508
|
// References
|
|
8509
|
+
currentUserEmail: u,
|
|
8482
8510
|
loading: i,
|
|
8483
8511
|
priorityColor: d,
|
|
8484
8512
|
showDeleteModal: n,
|
|
@@ -8486,35 +8514,27 @@ const q4 = {
|
|
|
8486
8514
|
topicObjects: a,
|
|
8487
8515
|
// Methods
|
|
8488
8516
|
adjustTextColor: x1,
|
|
8489
|
-
deleteTopic:
|
|
8490
|
-
try {
|
|
8491
|
-
n.value = !1, i.value = !0, await t.deleteTopic(e.project, e.topic), r("topic-deleted", e.topic);
|
|
8492
|
-
} catch (C) {
|
|
8493
|
-
console.error(C), r("topic-delete-error", C);
|
|
8494
|
-
} finally {
|
|
8495
|
-
i.value = !1;
|
|
8496
|
-
}
|
|
8497
|
-
}
|
|
8517
|
+
deleteTopic: o
|
|
8498
8518
|
};
|
|
8499
8519
|
}
|
|
8500
|
-
},
|
|
8501
|
-
var Y4 = /* @__PURE__ */
|
|
8520
|
+
}, ge = {};
|
|
8521
|
+
var Y4 = /* @__PURE__ */ F(
|
|
8502
8522
|
q4,
|
|
8503
8523
|
j4,
|
|
8504
8524
|
U4,
|
|
8505
8525
|
!1,
|
|
8506
8526
|
W4,
|
|
8507
|
-
"
|
|
8527
|
+
"388f44b0",
|
|
8508
8528
|
null,
|
|
8509
8529
|
null
|
|
8510
8530
|
);
|
|
8511
8531
|
function W4(e) {
|
|
8512
|
-
for (let r in
|
|
8513
|
-
this[r] =
|
|
8532
|
+
for (let r in ge)
|
|
8533
|
+
this[r] = ge[r];
|
|
8514
8534
|
}
|
|
8515
8535
|
const X4 = /* @__PURE__ */ function() {
|
|
8516
8536
|
return Y4.exports;
|
|
8517
|
-
}(),
|
|
8537
|
+
}(), be = [
|
|
8518
8538
|
{
|
|
8519
8539
|
id: "index",
|
|
8520
8540
|
label: "#",
|
|
@@ -8582,7 +8602,7 @@ function l1(e, r, t, i, n, d, a, s, u, C) {
|
|
|
8582
8602
|
const G4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
8583
8603
|
function M1(e) {
|
|
8584
8604
|
return (r, t) => function(i, n) {
|
|
8585
|
-
const d = G4 ? n.media || "default" : i, a =
|
|
8605
|
+
const d = G4 ? n.media || "default" : i, a = me[d] || (me[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
8586
8606
|
if (!a.ids.has(i)) {
|
|
8587
8607
|
a.ids.add(i);
|
|
8588
8608
|
let s = n.source;
|
|
@@ -8599,7 +8619,7 @@ function M1(e) {
|
|
|
8599
8619
|
}(r, t);
|
|
8600
8620
|
}
|
|
8601
8621
|
let Y1;
|
|
8602
|
-
const
|
|
8622
|
+
const me = {}, Q4 = l1({ render: function() {
|
|
8603
8623
|
var e = this, r = e.$createElement;
|
|
8604
8624
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
8605
8625
|
return e.$emit("click", t);
|
|
@@ -8626,8 +8646,8 @@ const be = {}, Q4 = l1({ render: function() {
|
|
|
8626
8646
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" } });
|
|
8627
8647
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
8628
8648
|
var r0 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
8629
|
-
const
|
|
8630
|
-
var
|
|
8649
|
+
const _e = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
8650
|
+
var Le;
|
|
8631
8651
|
const i0 = l1({ render: function() {
|
|
8632
8652
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8633
8653
|
return t("div", { staticClass: "bimdata-table" }, [t("div", { staticClass: "bimdata-table__container", style: { height: e.paginated ? (e.perPage + 1) * e.rowHeight + "px" : void 0 } }, [t("table", { style: { width: e.tableWidth, tableLayout: e.tableLayout } }, [t("thead", [t("tr", { key: "head-row-0", style: { height: e.rowHeight + "px" } }, [e.selectable ? t("th", { staticClass: "cell-checkbox" }, [t("BIMDataCheckbox", { attrs: { disabled: e.rows.length === 0, modelValue: e.rows.length > 0 && e.rowSelection.size === e.rows.length }, on: { "update:modelValue": e.toggleAll } })], 1) : e._e(), e._v(" "), e._l(e.columns, function(i, n) {
|
|
@@ -8665,31 +8685,31 @@ const i0 = l1({ render: function() {
|
|
|
8665
8685
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
8666
8686
|
}, staticRenderFns: [] }, function(e) {
|
|
8667
8687
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
8668
|
-
}, { name: `BIMDataIcon${
|
|
8688
|
+
}, { name: `BIMDataIcon${Le = "Chevron"}`, components: { [Le]: t0 }, props: { color: { type: String, default: "default", validator: (e) => r0.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(_e).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
8669
8689
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
8670
8690
|
}, style() {
|
|
8671
8691
|
const e = this.getPixelSize(this.size);
|
|
8672
8692
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
8673
8693
|
} }, methods: { getPixelSize() {
|
|
8674
|
-
return this.customSize ? this.customSize :
|
|
8694
|
+
return this.customSize ? this.customSize : _e[this.size];
|
|
8675
8695
|
} } }, "data-v-20c38c94", !1, void 0, !1, M1, void 0, void 0) }, props: { columns: { type: Array, required: !0 }, rows: { type: Array, required: !0 }, rowKey: { type: String }, rowHeight: { type: Number, default: 50 }, selectable: { type: Boolean, default: !1 }, selection: { type: Map, default: () => /* @__PURE__ */ new Map() }, paginated: { type: Boolean, default: !1 }, perPage: { type: Number, default: 10 }, placeholder: { type: String, default: "" }, tableWidth: { type: String, default: "100%" }, tableLayout: { type: String, default: "auto" } }, emits: ["update:selection", "selection-changed", "row-selected", "row-deselected", "all-selected", "all-deselected", "row-drop"], setup(e, { emit: r }) {
|
|
8676
8696
|
const t = k(() => e.rows.map((o, c) => ({ key: o[e.rowKey] ?? c, data: o }))), { rowSelection: i, toggleRowSelection: n, toggleFullSelection: d } = function(o, c, { rowSelectionUpdateEffect: l = () => {
|
|
8677
8697
|
}, rowSelectionToggleEffect: b = () => {
|
|
8678
8698
|
}, fullSelectionToggleEffect: g = () => {
|
|
8679
8699
|
} } = {}) {
|
|
8680
|
-
const
|
|
8681
|
-
return
|
|
8682
|
-
|
|
8683
|
-
}, { immediate: !0 }),
|
|
8684
|
-
|
|
8685
|
-
}, { immediate: !0 }),
|
|
8686
|
-
l(
|
|
8687
|
-
}), { rowSelection:
|
|
8688
|
-
const
|
|
8689
|
-
|
|
8700
|
+
const L = y(/* @__PURE__ */ new Map());
|
|
8701
|
+
return N(o, () => {
|
|
8702
|
+
L.value = new Map(o.value.filter(({ key: H }) => c.value.has(H)).map(({ key: H, data: M }) => [H, M]));
|
|
8703
|
+
}, { immediate: !0 }), N(c, () => {
|
|
8704
|
+
L.value = c.value;
|
|
8705
|
+
}, { immediate: !0 }), N(L, () => {
|
|
8706
|
+
l(L.value);
|
|
8707
|
+
}), { rowSelection: L, toggleRowSelection: ({ key: H, data: M }) => {
|
|
8708
|
+
const D = () => L.value.has(H);
|
|
8709
|
+
D() ? L.value.delete(H) : L.value.set(H, M), L.value = new Map([...L.value.entries()]), b(D(), { key: H, data: M });
|
|
8690
8710
|
}, toggleFullSelection: () => {
|
|
8691
|
-
const
|
|
8692
|
-
|
|
8711
|
+
const H = () => L.value.size === o.value.length;
|
|
8712
|
+
H() ? L.value = /* @__PURE__ */ new Map() : L.value = new Map(o.value.map(({ key: M, data: D }) => [M, D])), g(H());
|
|
8693
8713
|
} };
|
|
8694
8714
|
}(t, k(() => e.selection), { rowSelectionUpdateEffect: (o) => {
|
|
8695
8715
|
r("update:selection", o), r("selection-changed", Array.from(o.values()));
|
|
@@ -8697,14 +8717,14 @@ const i0 = l1({ render: function() {
|
|
|
8697
8717
|
r(o ? "row-selected" : "row-deselected", c);
|
|
8698
8718
|
}, fullSelectionToggleEffect: (o) => {
|
|
8699
8719
|
r(o ? "all-selected" : "all-deselected");
|
|
8700
|
-
} }), a =
|
|
8701
|
-
return
|
|
8720
|
+
} }), a = y([]), s = y(0), u = y(1), C = y(e.perPage);
|
|
8721
|
+
return N([t, () => e.perPage], () => {
|
|
8702
8722
|
s.value = 0;
|
|
8703
|
-
}, { immediate: !0 }),
|
|
8704
|
-
const g = o.map((
|
|
8723
|
+
}, { immediate: !0 }), N([t, () => e.paginated, () => e.perPage, s], ([o, c, l, b]) => {
|
|
8724
|
+
const g = o.map((L) => L.key);
|
|
8705
8725
|
if (c) {
|
|
8706
|
-
const
|
|
8707
|
-
a.value = g.slice(
|
|
8726
|
+
const L = l * b, H = L + l;
|
|
8727
|
+
a.value = g.slice(L, H), u.value = L + 1, C.value = Math.min(H, o.length);
|
|
8708
8728
|
} else
|
|
8709
8729
|
a.value = g;
|
|
8710
8730
|
}, { immediate: !0 }), { computedRows: t, displayedRows: a, pageIndex: s, pageIndexEnd: C, pageIndexStart: u, rowSelection: i, toggleAll: () => {
|
|
@@ -8749,8 +8769,8 @@ const o0 = {
|
|
|
8749
8769
|
emits: [
|
|
8750
8770
|
"open-topic"
|
|
8751
8771
|
]
|
|
8752
|
-
},
|
|
8753
|
-
var l0 = /* @__PURE__ */
|
|
8772
|
+
}, ye = {};
|
|
8773
|
+
var l0 = /* @__PURE__ */ F(
|
|
8754
8774
|
o0,
|
|
8755
8775
|
a0,
|
|
8756
8776
|
n0,
|
|
@@ -8761,8 +8781,8 @@ var l0 = /* @__PURE__ */ $(
|
|
|
8761
8781
|
null
|
|
8762
8782
|
);
|
|
8763
8783
|
function d0(e) {
|
|
8764
|
-
for (let r in
|
|
8765
|
-
this[r] =
|
|
8784
|
+
for (let r in ye)
|
|
8785
|
+
this[r] = ye[r];
|
|
8766
8786
|
}
|
|
8767
8787
|
const s0 = /* @__PURE__ */ function() {
|
|
8768
8788
|
return l0.exports;
|
|
@@ -8795,12 +8815,12 @@ const f0 = {
|
|
|
8795
8815
|
return {
|
|
8796
8816
|
// References
|
|
8797
8817
|
priorityColor: k(
|
|
8798
|
-
() =>
|
|
8818
|
+
() => e1(e.topic, e.detailedExtensions)
|
|
8799
8819
|
)
|
|
8800
8820
|
};
|
|
8801
8821
|
}
|
|
8802
|
-
},
|
|
8803
|
-
var C0 = /* @__PURE__ */
|
|
8822
|
+
}, He = {};
|
|
8823
|
+
var C0 = /* @__PURE__ */ F(
|
|
8804
8824
|
f0,
|
|
8805
8825
|
c0,
|
|
8806
8826
|
u0,
|
|
@@ -8811,8 +8831,8 @@ var C0 = /* @__PURE__ */ $(
|
|
|
8811
8831
|
null
|
|
8812
8832
|
);
|
|
8813
8833
|
function h0(e) {
|
|
8814
|
-
for (let r in
|
|
8815
|
-
this[r] =
|
|
8834
|
+
for (let r in He)
|
|
8835
|
+
this[r] = He[r];
|
|
8816
8836
|
}
|
|
8817
8837
|
const v0 = /* @__PURE__ */ function() {
|
|
8818
8838
|
return C0.exports;
|
|
@@ -8841,12 +8861,12 @@ const b0 = {
|
|
|
8841
8861
|
return {
|
|
8842
8862
|
// References
|
|
8843
8863
|
priorityColor: k(
|
|
8844
|
-
() =>
|
|
8864
|
+
() => e1(e.topic, e.detailedExtensions)
|
|
8845
8865
|
)
|
|
8846
8866
|
};
|
|
8847
8867
|
}
|
|
8848
|
-
},
|
|
8849
|
-
var m0 = /* @__PURE__ */
|
|
8868
|
+
}, Ve = {};
|
|
8869
|
+
var m0 = /* @__PURE__ */ F(
|
|
8850
8870
|
b0,
|
|
8851
8871
|
p0,
|
|
8852
8872
|
g0,
|
|
@@ -8857,8 +8877,8 @@ var m0 = /* @__PURE__ */ $(
|
|
|
8857
8877
|
null
|
|
8858
8878
|
);
|
|
8859
8879
|
function _0(e) {
|
|
8860
|
-
for (let r in
|
|
8861
|
-
this[r] =
|
|
8880
|
+
for (let r in Ve)
|
|
8881
|
+
this[r] = Ve[r];
|
|
8862
8882
|
}
|
|
8863
8883
|
const L0 = /* @__PURE__ */ function() {
|
|
8864
8884
|
return m0.exports;
|
|
@@ -8888,14 +8908,14 @@ const V0 = {
|
|
|
8888
8908
|
return {
|
|
8889
8909
|
// References
|
|
8890
8910
|
statusColor: k(
|
|
8891
|
-
() =>
|
|
8911
|
+
() => a2(e.topic, e.detailedExtensions)
|
|
8892
8912
|
),
|
|
8893
8913
|
// Methods
|
|
8894
8914
|
adjustTextColor: x1
|
|
8895
8915
|
};
|
|
8896
8916
|
}
|
|
8897
|
-
},
|
|
8898
|
-
var M0 = /* @__PURE__ */
|
|
8917
|
+
}, Me = {};
|
|
8918
|
+
var M0 = /* @__PURE__ */ F(
|
|
8899
8919
|
V0,
|
|
8900
8920
|
y0,
|
|
8901
8921
|
H0,
|
|
@@ -8906,8 +8926,8 @@ var M0 = /* @__PURE__ */ $(
|
|
|
8906
8926
|
null
|
|
8907
8927
|
);
|
|
8908
8928
|
function x0(e) {
|
|
8909
|
-
for (let r in
|
|
8910
|
-
this[r] =
|
|
8929
|
+
for (let r in Me)
|
|
8930
|
+
this[r] = Me[r];
|
|
8911
8931
|
}
|
|
8912
8932
|
const Z0 = /* @__PURE__ */ function() {
|
|
8913
8933
|
return M0.exports;
|
|
@@ -9071,7 +9091,7 @@ const $0 = {
|
|
|
9071
9091
|
return {
|
|
9072
9092
|
// References
|
|
9073
9093
|
displayedColumns: k(
|
|
9074
|
-
() => e.columns && e.columns.length > 0 ?
|
|
9094
|
+
() => e.columns && e.columns.length > 0 ? be.filter((i) => e.columns.includes(i.id)) : be
|
|
9075
9095
|
),
|
|
9076
9096
|
// Methods
|
|
9077
9097
|
toShortDateFormat: (i) => {
|
|
@@ -9082,8 +9102,8 @@ const $0 = {
|
|
|
9082
9102
|
}
|
|
9083
9103
|
};
|
|
9084
9104
|
}
|
|
9085
|
-
},
|
|
9086
|
-
var F0 = /* @__PURE__ */
|
|
9105
|
+
}, xe = {};
|
|
9106
|
+
var F0 = /* @__PURE__ */ F(
|
|
9087
9107
|
$0,
|
|
9088
9108
|
w0,
|
|
9089
9109
|
k0,
|
|
@@ -9094,8 +9114,8 @@ var F0 = /* @__PURE__ */ $(
|
|
|
9094
9114
|
null
|
|
9095
9115
|
);
|
|
9096
9116
|
function D0(e) {
|
|
9097
|
-
for (let r in
|
|
9098
|
-
this[r] =
|
|
9117
|
+
for (let r in xe)
|
|
9118
|
+
this[r] = xe[r];
|
|
9099
9119
|
}
|
|
9100
9120
|
const E0 = /* @__PURE__ */ function() {
|
|
9101
9121
|
return F0.exports;
|
|
@@ -9121,8 +9141,8 @@ export {
|
|
|
9121
9141
|
N0 as components,
|
|
9122
9142
|
R0 as config,
|
|
9123
9143
|
I0 as createService,
|
|
9124
|
-
|
|
9125
|
-
|
|
9144
|
+
e1 as getPriorityColor,
|
|
9145
|
+
a2 as getStatusColor,
|
|
9126
9146
|
b5 as getViewpointConfig,
|
|
9127
9147
|
z0 as getViewpointModels,
|
|
9128
9148
|
g5 as getViewpointType,
|