@bimdata/bcf-components 3.1.1-rc.5 → 4.0.0-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 +502 -498
- package/dist/vue3/bcf-components.mjs +463 -459
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as R5, computed as O, ref as B, watch as
|
|
2
|
+
import { reactive as R5, computed as O, ref as B, watch as t1, openBlock as r, createElementBlock as o, normalizeClass as k, normalizeStyle as H, renderSlot as _, createElementVNode as t, createBlock as V, resolveDynamicComponent as C1, pushScopeId as i1, popScopeId as s1, mergeProps as Z1, toDisplayString as b, createCommentVNode as m, createTextVNode as T, resolveComponent as g, createVNode as p, resolveDirective as i2, withDirectives as G, Transition as r1, withCtx as L, Fragment as R, renderList as U, vShow as J, toRaw as e5, withKeys as x, withModifiers as S, createSlots as m5, createStaticVNode as M5, inject as E5 } from "vue";
|
|
3
3
|
const I5 = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -21,37 +21,37 @@ const I5 = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}), F2 = "D8D8D8", V5 = "D8D8D8", P2 = "originating_system", U2 = "authoring_tool_id",
|
|
24
|
+
}), F2 = "D8D8D8", V5 = "D8D8D8", P2 = "originating_system", U2 = "authoring_tool_id", g1 = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
PTC: "pointCloud",
|
|
27
27
|
V2D: "ifc2d",
|
|
28
28
|
DWG: "dwg",
|
|
29
29
|
PLAN: "plan"
|
|
30
30
|
}), z2 = Object.freeze({
|
|
31
|
-
[
|
|
31
|
+
[g1.V3D]: {
|
|
32
32
|
order: 1,
|
|
33
33
|
window: "3d",
|
|
34
34
|
plugin: "viewer3d",
|
|
35
35
|
icon: "fileIfcPolychrome"
|
|
36
36
|
},
|
|
37
|
-
[
|
|
37
|
+
[g1.PTC]: {
|
|
38
38
|
order: 2,
|
|
39
39
|
window: "pointCloud",
|
|
40
40
|
plugin: "pointCloud"
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[g1.V2D]: {
|
|
43
43
|
order: 3,
|
|
44
44
|
window: "2d",
|
|
45
45
|
plugin: "viewer2d",
|
|
46
46
|
icon: "fileIfcPolychrome"
|
|
47
47
|
},
|
|
48
|
-
[
|
|
48
|
+
[g1.DWG]: {
|
|
49
49
|
order: 4,
|
|
50
50
|
window: "dwg",
|
|
51
51
|
plugin: "dwg",
|
|
52
52
|
icon: "fileDwgPolychrome"
|
|
53
53
|
},
|
|
54
|
-
[
|
|
54
|
+
[g1.PLAN]: {
|
|
55
55
|
order: 5,
|
|
56
56
|
window: "plan",
|
|
57
57
|
plugin: "plan",
|
|
@@ -67,7 +67,7 @@ const I5 = Object.freeze([
|
|
|
67
67
|
EXTENSION_WITH_COLOR: _5,
|
|
68
68
|
VIEWPOINT_CONFIG: z2,
|
|
69
69
|
VIEWPOINT_MODELS_FIELD: U2,
|
|
70
|
-
VIEWPOINT_TYPES:
|
|
70
|
+
VIEWPOINT_TYPES: g1,
|
|
71
71
|
VIEWPOINT_TYPE_FIELD: P2
|
|
72
72
|
}, Symbol.toStringTag, { value: "Module" })), F5 = Object.freeze({
|
|
73
73
|
bisque: "ffe4c4",
|
|
@@ -212,7 +212,7 @@ var B2 = { exports: {} };
|
|
|
212
212
|
}
|
|
213
213
|
e.exports = n.default;
|
|
214
214
|
})(B2, B2.exports);
|
|
215
|
-
var
|
|
215
|
+
var n1 = {}, $1 = { exports: {} }, k2 = { exports: {} };
|
|
216
216
|
(function(e, n) {
|
|
217
217
|
Object.defineProperty(n, "__esModule", {
|
|
218
218
|
value: !0
|
|
@@ -223,29 +223,29 @@ var e1 = {}, $1 = { exports: {} }, k2 = { exports: {} };
|
|
|
223
223
|
};
|
|
224
224
|
}, e.exports = n.default;
|
|
225
225
|
})(k2, k2.exports);
|
|
226
|
-
var
|
|
227
|
-
Object.defineProperty(
|
|
226
|
+
var c1 = {};
|
|
227
|
+
Object.defineProperty(c1, "__esModule", {
|
|
228
228
|
value: !0
|
|
229
229
|
});
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
var Y5 =
|
|
230
|
+
c1.fallback = D5;
|
|
231
|
+
c1.wrap = B5;
|
|
232
|
+
var Y5 = c1.hasQueueMicrotask = typeof queueMicrotask == "function" && queueMicrotask, W5 = c1.hasSetImmediate = typeof setImmediate == "function" && setImmediate, X5 = c1.hasNextTick = typeof process == "object" && typeof process.nextTick == "function";
|
|
233
233
|
function D5(e) {
|
|
234
234
|
setTimeout(e, 0);
|
|
235
235
|
}
|
|
236
236
|
function B5(e) {
|
|
237
237
|
return (n, ...a) => e(() => n(...a));
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
Y5 ?
|
|
241
|
-
|
|
239
|
+
var _1;
|
|
240
|
+
Y5 ? _1 = queueMicrotask : W5 ? _1 = setImmediate : X5 ? _1 = process.nextTick : _1 = D5;
|
|
241
|
+
c1.default = B5(_1);
|
|
242
242
|
var t5;
|
|
243
243
|
function j5() {
|
|
244
244
|
return t5 || (t5 = 1, function(e, n) {
|
|
245
245
|
Object.defineProperty(n, "__esModule", {
|
|
246
246
|
value: !0
|
|
247
247
|
}), n.default = d;
|
|
248
|
-
var a = k2.exports, l = u(a), s =
|
|
248
|
+
var a = k2.exports, l = u(a), s = c1, i = u(s), c = G2();
|
|
249
249
|
function u(h) {
|
|
250
250
|
return h && h.__esModule ? h : { default: h };
|
|
251
251
|
}
|
|
@@ -287,10 +287,10 @@ function j5() {
|
|
|
287
287
|
var r5;
|
|
288
288
|
function G2() {
|
|
289
289
|
if (r5)
|
|
290
|
-
return
|
|
291
|
-
r5 = 1, Object.defineProperty(
|
|
290
|
+
return n1;
|
|
291
|
+
r5 = 1, Object.defineProperty(n1, "__esModule", {
|
|
292
292
|
value: !0
|
|
293
|
-
}),
|
|
293
|
+
}), n1.isAsyncIterable = n1.isAsyncGenerator = n1.isAsync = void 0;
|
|
294
294
|
var e = j5(), n = a(e);
|
|
295
295
|
function a(u) {
|
|
296
296
|
return u && u.__esModule ? u : { default: u };
|
|
@@ -309,7 +309,7 @@ function G2() {
|
|
|
309
309
|
throw new Error("expected a function");
|
|
310
310
|
return l(u) ? (0, n.default)(u) : u;
|
|
311
311
|
}
|
|
312
|
-
return
|
|
312
|
+
return n1.default = c, n1.isAsync = l, n1.isAsyncGenerator = s, n1.isAsyncIterable = i, n1;
|
|
313
313
|
}
|
|
314
314
|
var x2 = { exports: {} }, a2 = { exports: {} };
|
|
315
315
|
(function(e, n) {
|
|
@@ -330,31 +330,31 @@ var x2 = { exports: {} }, a2 = { exports: {} };
|
|
|
330
330
|
function i(c, u, d, C) {
|
|
331
331
|
let f = !1, h = !1, v = !1, I = 0, M = 0;
|
|
332
332
|
function y() {
|
|
333
|
-
I >= u || v || f || (v = !0, c.next().then(({ value:
|
|
333
|
+
I >= u || v || f || (v = !0, c.next().then(({ value: A, done: Y }) => {
|
|
334
334
|
if (!(h || f)) {
|
|
335
|
-
if (v = !1,
|
|
335
|
+
if (v = !1, Y) {
|
|
336
336
|
f = !0, I <= 0 && C(null);
|
|
337
337
|
return;
|
|
338
338
|
}
|
|
339
|
-
I++, d(
|
|
339
|
+
I++, d(A, M, w), M++, y();
|
|
340
340
|
}
|
|
341
341
|
}).catch(E));
|
|
342
342
|
}
|
|
343
|
-
function w(
|
|
343
|
+
function w(A, Y) {
|
|
344
344
|
if (I -= 1, !h) {
|
|
345
|
-
if (
|
|
346
|
-
return E(
|
|
347
|
-
if (
|
|
345
|
+
if (A)
|
|
346
|
+
return E(A);
|
|
347
|
+
if (A === !1) {
|
|
348
348
|
f = !0, h = !0;
|
|
349
349
|
return;
|
|
350
350
|
}
|
|
351
|
-
if (
|
|
351
|
+
if (Y === l.default || f && I <= 0)
|
|
352
352
|
return f = !0, C(null);
|
|
353
353
|
y();
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
function E(
|
|
357
|
-
h || (v = !1, f = !0, C(
|
|
356
|
+
function E(A) {
|
|
357
|
+
h || (v = !1, f = !0, C(A));
|
|
358
358
|
}
|
|
359
359
|
y();
|
|
360
360
|
}
|
|
@@ -377,31 +377,31 @@ var x2 = { exports: {} }, a2 = { exports: {} };
|
|
|
377
377
|
return (0, f.default)(y, M, w, E);
|
|
378
378
|
if ((0, d.isAsyncIterable)(y))
|
|
379
379
|
return (0, f.default)(y[Symbol.asyncIterator](), M, w, E);
|
|
380
|
-
var
|
|
381
|
-
function
|
|
382
|
-
if (!
|
|
383
|
-
if (
|
|
384
|
-
|
|
385
|
-
else if (
|
|
386
|
-
|
|
380
|
+
var A = (0, i.default)(y), Y = !1, h1 = !1, D = 0, Z = !1;
|
|
381
|
+
function N(X, $) {
|
|
382
|
+
if (!h1)
|
|
383
|
+
if (D -= 1, X)
|
|
384
|
+
Y = !0, E(X);
|
|
385
|
+
else if (X === !1)
|
|
386
|
+
Y = !0, h1 = !0;
|
|
387
387
|
else {
|
|
388
|
-
if (
|
|
389
|
-
return
|
|
390
|
-
|
|
388
|
+
if ($ === v.default || Y && D <= 0)
|
|
389
|
+
return Y = !0, E(null);
|
|
390
|
+
Z || P();
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
for (
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
397
|
-
|
|
393
|
+
function P() {
|
|
394
|
+
for (Z = !0; D < M && !Y; ) {
|
|
395
|
+
var X = A();
|
|
396
|
+
if (X === null) {
|
|
397
|
+
Y = !0, D <= 0 && E(null);
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
400
|
-
|
|
400
|
+
D += 1, w(X.value, X.key, (0, u.default)(N));
|
|
401
401
|
}
|
|
402
|
-
|
|
402
|
+
Z = !1;
|
|
403
403
|
}
|
|
404
|
-
|
|
404
|
+
P();
|
|
405
405
|
}, e.exports = n.default;
|
|
406
406
|
})(_2, _2.exports);
|
|
407
407
|
var w2 = { exports: {} };
|
|
@@ -449,13 +449,13 @@ var Z2 = { exports: {} };
|
|
|
449
449
|
n.default = (0, C.default)(h, 4), e.exports = n.default;
|
|
450
450
|
})(I2, I2.exports);
|
|
451
451
|
const K5 = /* @__PURE__ */ G5(I2.exports);
|
|
452
|
-
function
|
|
452
|
+
function f1(e) {
|
|
453
453
|
return y5[e];
|
|
454
454
|
}
|
|
455
455
|
function k5(e, n) {
|
|
456
456
|
return n[H5[e]].slice();
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function m1(e, n) {
|
|
459
459
|
const a = n.priorities.find(
|
|
460
460
|
(l) => l.priority === e.priority
|
|
461
461
|
);
|
|
@@ -469,96 +469,100 @@ function Y2(e, n) {
|
|
|
469
469
|
}
|
|
470
470
|
let x5 = null;
|
|
471
471
|
function RM(e, { fetchUsers: n }) {
|
|
472
|
-
const a = n ? (
|
|
472
|
+
const a = n ? (D) => n(D) : (D) => e.collaborationApi.getProjectUsers(D.cloud.id, D.id), l = async (D, { extensions: Z, users: N } = {}) => {
|
|
473
|
+
const P = Z != null ? Z : await e.bcfApi.getDetailedExtensions(D.id), X = N != null ? N : await a(D), $ = await e.bcfApi.getTopics(D.id);
|
|
474
|
+
return $.sort((q, o1) => o1.index - q.index), $.forEach((q) => {
|
|
475
|
+
q.color = m1(q, P), q.creator = X.find((o1) => o1.email === q.creation_author);
|
|
476
|
+
}), $;
|
|
477
|
+
}, s = async (D, Z) => {
|
|
478
|
+
const N = await e.bcfApi.getDetailedExtensions(D.id), P = await e.bcfApi.getFullTopic(Z, D.id, "url");
|
|
479
|
+
return P.color = m1(P, N), P;
|
|
480
|
+
}, i = async (D, Z) => await e.bcfApi.createFullTopic(
|
|
481
|
+
D.id,
|
|
482
|
+
Z
|
|
483
|
+
), c = async (D, Z) => await e.bcfApi.updateFullTopic(
|
|
484
|
+
Z.guid,
|
|
485
|
+
D.id,
|
|
486
|
+
"url",
|
|
487
|
+
Z
|
|
488
|
+
), u = async (D, Z) => {
|
|
489
|
+
await e.bcfApi.deleteTopic(
|
|
490
|
+
Z.guid,
|
|
491
|
+
D.id
|
|
492
|
+
);
|
|
493
|
+
}, d = async (D, Z) => (await K5(Z, 10, async (N) => {
|
|
494
|
+
N.viewpoints = await C(D, N);
|
|
495
|
+
}), Z), C = async (D, Z) => await e.bcfApi.getTopicViewpoints(
|
|
496
|
+
D.id,
|
|
497
|
+
Z.guid,
|
|
498
|
+
"url"
|
|
499
|
+
);
|
|
473
500
|
return {
|
|
474
|
-
fetchTopics:
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
fecthTopicByGuid: async (V, T) => {
|
|
485
|
-
const $ = await e.bcfApi.getDetailedExtensions(V.id), P = await e.bcfApi.getFullTopic(T, V.id, "url");
|
|
486
|
-
return P.color = v1(P, $), P;
|
|
487
|
-
},
|
|
488
|
-
createTopic: async (V, T) => await e.bcfApi.createFullTopic(
|
|
489
|
-
V.id,
|
|
490
|
-
T
|
|
491
|
-
),
|
|
492
|
-
updateTopic: async (V, T) => await e.bcfApi.updateFullTopic(
|
|
493
|
-
T.guid,
|
|
494
|
-
V.id,
|
|
501
|
+
fetchTopics: l,
|
|
502
|
+
fecthTopicByGuid: s,
|
|
503
|
+
createTopic: i,
|
|
504
|
+
updateTopic: c,
|
|
505
|
+
deleteTopic: u,
|
|
506
|
+
loadTopicsViewpoints: d,
|
|
507
|
+
fetchTopicViewpoints: C,
|
|
508
|
+
createViewpoint: async (D, Z, N) => await e.bcfApi.createViewpoint(
|
|
509
|
+
D.id,
|
|
510
|
+
Z.guid,
|
|
495
511
|
"url",
|
|
496
|
-
|
|
512
|
+
N
|
|
497
513
|
),
|
|
498
|
-
|
|
499
|
-
await e.bcfApi.deleteTopic(
|
|
500
|
-
T.guid,
|
|
501
|
-
V.id
|
|
502
|
-
);
|
|
503
|
-
},
|
|
504
|
-
createViewpoint: async (V, T, $) => await e.bcfApi.createViewpoint(
|
|
505
|
-
V.id,
|
|
506
|
-
T.guid,
|
|
507
|
-
"url",
|
|
508
|
-
$
|
|
509
|
-
),
|
|
510
|
-
deleteViewpoint: async (V, T, $) => {
|
|
514
|
+
deleteViewpoint: async (D, Z, N) => {
|
|
511
515
|
await e.bcfApi.deleteViewpoint(
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
516
|
+
N.guid,
|
|
517
|
+
D.id,
|
|
518
|
+
Z.guid
|
|
515
519
|
);
|
|
516
520
|
},
|
|
517
|
-
fetchTopicComments: async (
|
|
518
|
-
const
|
|
519
|
-
return P.sort((
|
|
520
|
-
|
|
521
|
+
fetchTopicComments: async (D, Z) => {
|
|
522
|
+
const N = await a(D), P = await e.bcfApi.getComments(D.id, Z.guid);
|
|
523
|
+
return P.sort((X, $) => X.date > $.date ? -1 : 1), P.forEach((X) => {
|
|
524
|
+
X.user = N.find(($) => $.email === X.author);
|
|
521
525
|
}), P;
|
|
522
526
|
},
|
|
523
|
-
createComment: async (
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
+
createComment: async (D, Z, N) => await e.bcfApi.createComment(
|
|
528
|
+
D.id,
|
|
529
|
+
Z.guid,
|
|
530
|
+
N
|
|
527
531
|
),
|
|
528
|
-
updateComment: async (
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
+
updateComment: async (D, Z, N, P) => await e.bcfApi.updateComment(
|
|
533
|
+
N.guid,
|
|
534
|
+
D.id,
|
|
535
|
+
Z.guid,
|
|
532
536
|
P
|
|
533
537
|
),
|
|
534
|
-
deleteComment: async (
|
|
538
|
+
deleteComment: async (D, Z, N) => {
|
|
535
539
|
await e.bcfApi.deleteComment(
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
540
|
+
N.guid,
|
|
541
|
+
D.id,
|
|
542
|
+
Z.guid
|
|
539
543
|
);
|
|
540
544
|
},
|
|
541
|
-
fetchExtensions: (
|
|
542
|
-
fetchDetailedExtensions: (
|
|
543
|
-
createExtension: async (
|
|
544
|
-
|
|
545
|
+
fetchExtensions: (D) => e.bcfApi.getExtensions(D.id),
|
|
546
|
+
fetchDetailedExtensions: (D) => e.bcfApi.getDetailedExtensions(D.id),
|
|
547
|
+
createExtension: async (D, Z, N) => await e.bcfApi[`createExtension${Z}`](
|
|
548
|
+
D.id,
|
|
545
549
|
{
|
|
546
|
-
[
|
|
550
|
+
[f1(Z)]: N.value,
|
|
547
551
|
color: U5()
|
|
548
552
|
}
|
|
549
553
|
),
|
|
550
|
-
updateExtension: async (
|
|
551
|
-
|
|
552
|
-
|
|
554
|
+
updateExtension: async (D, Z, N, P) => await e.bcfApi[`updateExtension${Z}`](
|
|
555
|
+
N.id,
|
|
556
|
+
D.id,
|
|
553
557
|
{
|
|
554
|
-
[
|
|
558
|
+
[f1(Z)]: P.value,
|
|
555
559
|
color: P.color
|
|
556
560
|
}
|
|
557
561
|
),
|
|
558
|
-
deleteExtension: async (
|
|
559
|
-
await e.bcfApi[`deleteExtension${
|
|
560
|
-
|
|
561
|
-
|
|
562
|
+
deleteExtension: async (D, Z, N) => {
|
|
563
|
+
await e.bcfApi[`deleteExtension${Z}`](
|
|
564
|
+
N.id,
|
|
565
|
+
D.id
|
|
562
566
|
);
|
|
563
567
|
}
|
|
564
568
|
};
|
|
@@ -566,7 +570,7 @@ function RM(e, { fetchUsers: n }) {
|
|
|
566
570
|
function EM(e) {
|
|
567
571
|
x5 = e;
|
|
568
572
|
}
|
|
569
|
-
function
|
|
573
|
+
function S1() {
|
|
570
574
|
return x5;
|
|
571
575
|
}
|
|
572
576
|
const o5 = {
|
|
@@ -609,7 +613,7 @@ const J5 = [
|
|
|
609
613
|
];
|
|
610
614
|
function FM(e) {
|
|
611
615
|
const n = B(""), a = B([]);
|
|
612
|
-
return
|
|
616
|
+
return t1(
|
|
613
617
|
[e, n],
|
|
614
618
|
() => {
|
|
615
619
|
if (n.value) {
|
|
@@ -1461,7 +1465,7 @@ const r3 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
1461
1465
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
1462
1466
|
var a5 = { addFile: o3, addFolder: l3, addUser: s3, alphabeticalAscending: d3, alphabeticalDescending: C3, alphabeticalSort: h3, alt: g3, angle: L3, api: m3, app: I3, archive: y3, arrow: V3, attach: B3, backInTime: w3, bcf: S3, building: T3, burgerMenu: N3, calendar: R3, caliper: F3, camera: U3, cancelCamera: G3, check: W3, chevron: j3, classificationCategorie: q3, classificationElement: Q3, click: n4, close: r4, cloud: a4, color: i4, comment: c4, cursor: u4, dateAscending: p4, dateDescending: b4, default: f4, delete: v4, deniedFile: M4, deploy: _4, detach: H4, distance: D4, doubleChevron: k4, down: w4, download: S4, drag: T4, edit: N4, ellipsis: R4, expanded: F4, explosion: U4, export: G4, exportIfc: W4, failed: j4, filter: q4, fitView: Q4, folder: n7, folderMove: r7, folderOpen: a7, fullscreen: i7, grid: c7, group: u7, hide: p7, ifc: b7, ifcFile: f7, import: v7, indexAscending: M7, indexDescending: _7, information: H7, inProgressFile: D7, invitation: k7, isolate: w7, key: S7, left: T7, linkedDocument: N7, list: R7, listManage: F7, location: U7, lock: G7, logout: W7, measure: j7, minus: q7, model3d: Q7, organization: n9, parameters: r9, path: a9, pieGraph: i9, plus: c9, project: u9, quickSelect: p9, readonlyFolder: b9, redo: f9, reduced: v9, refresh: M9, reprocessIfc: _9, reset: H9, right: D9, rules: k9, sandglass: w9, save: S9, screenConfig: T9, screenshot: N9, search: R9, section: F9, settings: U9, share: G9, show: W9, showSelected: j9, socotec: q9, space: Q9, split: n6, storey: r6, success: a6, surface: i6, swap: c6, synchro2d: u6, system: p6, tag: g6, tree: L6, unarchive: m6, undo: I6, union: y6, up: V6, user: B6, validate: x6, validatedFile: Z6, versioning: T6, video: N6, visa: R6, warning: F6, windowBottom: U6, windowed: G6, windowLeft: W6, windowRight: j6, windowTop: q6, zone: Q6, bcfPolychrome: n0, createWindowPolychrome: r0, docInfoPolychrome: a0, fileDwgPolychrome: i0, fileDxfPolychrome: c0, fileIfcPolychrome: u0, fileJpegPolychrome: p0, filePdfPolychrome: b0, filePngPolychrome: f0, filePlanPolychrome: v0, folderPolychrome: M0, structurePolychrome: _0, viewer2dPolychrome: H0, viewer3dPolychrome: D0 }, B0 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1463
1467
|
const l5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1464
|
-
var
|
|
1468
|
+
var K = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
1465
1469
|
return Object.entries(e).reduce((n, [a, l]) => ({ ...n, [`bimdata-icon-${a}`]: l }), {});
|
|
1466
1470
|
}(a5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(a5).includes(e) }, color: { type: String, default: "default", validator: (e) => B0.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(l5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
1467
1471
|
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 };
|
|
@@ -1632,11 +1636,11 @@ Z5(`.icon-fill--black {
|
|
|
1632
1636
|
}
|
|
1633
1637
|
.icon-stroke--white {
|
|
1634
1638
|
stroke: var(--color-white);
|
|
1635
|
-
}`),
|
|
1636
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(),
|
|
1637
|
-
},
|
|
1639
|
+
}`), K.render = function(e, n, a, l, s, i) {
|
|
1640
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), V(C1(`bimdata-icon-${a.name}`)))], 14, k0);
|
|
1641
|
+
}, K.__scopeId = "data-v-1312d4d1", K.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
1638
1642
|
let i5 = 0;
|
|
1639
|
-
var
|
|
1643
|
+
var d1 = { 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() {
|
|
1640
1644
|
return { margin: `${this.margin}` };
|
|
1641
1645
|
} }, beforeCreate() {
|
|
1642
1646
|
this.uuid = i5.toString(), i5 += 1;
|
|
@@ -1650,7 +1654,7 @@ var c1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { m
|
|
|
1650
1654
|
}, blur() {
|
|
1651
1655
|
this.$refs.input && this.$refs.input.blur();
|
|
1652
1656
|
} } };
|
|
1653
|
-
const x0 = ["id", "disabled", "value", "autocomplete"], w0 = { class: "bimdata-input__icon" }, Z0 = ["for"], S0 = ((e) => (
|
|
1657
|
+
const x0 = ["id", "disabled", "value", "autocomplete"], w0 = { class: "bimdata-input__icon" }, Z0 = ["for"], S0 = ((e) => (i1("data-v-5d42d486"), e = e(), s1(), e))(() => t("span", { class: "bar" }, null, -1)), A0 = { key: 0, class: "error" }, T0 = { key: 1, class: "success" };
|
|
1654
1658
|
function S5(e, n) {
|
|
1655
1659
|
n === void 0 && (n = {});
|
|
1656
1660
|
var a = n.insertAt;
|
|
@@ -1988,11 +1992,11 @@ input:-webkit-autofill {
|
|
|
1988
1992
|
}
|
|
1989
1993
|
.bimdata-input.success .bar::before, .bimdata-input.success .bar::after {
|
|
1990
1994
|
background-color: var(--color-success);
|
|
1991
|
-
}`),
|
|
1992
|
-
return r(), o("div", { class: k(["bimdata-input", { error: a.error, success: a.success, disabled: a.disabled, loading: a.loading, "not-empty": !!a.modelValue }]), style: H(i.style) }, [t("input",
|
|
1995
|
+
}`), d1.render = function(e, n, a, l, s, i) {
|
|
1996
|
+
return r(), o("div", { class: k(["bimdata-input", { error: a.error, success: a.success, disabled: a.disabled, loading: a.loading, "not-empty": !!a.modelValue }]), style: H(i.style) }, [t("input", Z1({ ref: "input", id: `bimdata-input-${e.uuid}`, onInput: n[0] || (n[0] = (c) => e.$emit("update:modelValue", c.currentTarget.value)), disabled: a.disabled, value: a.modelValue, onFocus: n[1] || (n[1] = (c) => {
|
|
1993
1997
|
c.target.select(), e.$emit("focus", c);
|
|
1994
1998
|
}), onBlur: n[2] || (n[2] = (c) => e.$emit("blur", c)), onKeypress: n[3] || (n[3] = (c) => e.$emit("keypress", c)), onChange: n[4] || (n[4] = (c) => e.$emit("change", c)), autocomplete: a.autocomplete ? "on" : "off" }, e.$attrs), null, 16, x0), t("div", w0, [_(e.$slots, "inputIcon")]), t("label", { for: `bimdata-input-${e.uuid}` }, b(a.placeholder), 9, Z0), S0, a.error ? (r(), o("span", A0, b(a.errorMessage), 1)) : m("v-if", !0), a.success ? (r(), o("span", T0, b(a.successMessage), 1)) : m("v-if", !0)], 6);
|
|
1995
|
-
},
|
|
1999
|
+
}, d1.__scopeId = "data-v-5d42d486", d1.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
|
|
1996
2000
|
var A5 = { beforeMount(e, n) {
|
|
1997
2001
|
if (typeof n.value != "function")
|
|
1998
2002
|
throw Error("click away directive needs function, got " + typeof n.value);
|
|
@@ -2010,8 +2014,8 @@ var A5 = { beforeMount(e, n) {
|
|
|
2010
2014
|
} }, methods: { onClick() {
|
|
2011
2015
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
2012
2016
|
} } };
|
|
2013
|
-
const $0 = ((e) => (
|
|
2014
|
-
function
|
|
2017
|
+
const $0 = ((e) => (i1("data-v-34d34265"), e = e(), s1(), e))(() => t("span", { class: "bimdata-checkbox__mark" }, null, -1)), N0 = { key: 0, class: "bimdata-checkbox__text" };
|
|
2018
|
+
function e1(e, n) {
|
|
2015
2019
|
n === void 0 && (n = {});
|
|
2016
2020
|
var a = n.insertAt;
|
|
2017
2021
|
if (e && typeof document < "u") {
|
|
@@ -2019,7 +2023,7 @@ function J(e, n) {
|
|
|
2019
2023
|
s.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
2020
2024
|
}
|
|
2021
2025
|
}
|
|
2022
|
-
|
|
2026
|
+
e1(`/* base COLORS --------------------------------------------- */
|
|
2023
2027
|
/* colors BRAND */
|
|
2024
2028
|
/* colors GREY SHADES - NEUTRAL */
|
|
2025
2029
|
/* color TEXT */
|
|
@@ -2177,7 +2181,7 @@ html[data-v-34d34265] {
|
|
|
2177
2181
|
.primary-font[data-v-34d34265] {
|
|
2178
2182
|
font-family: "roboto", sans-serif;
|
|
2179
2183
|
}`);
|
|
2180
|
-
|
|
2184
|
+
e1(`.bimdata-checkbox {
|
|
2181
2185
|
position: relative;
|
|
2182
2186
|
display: -webkit-box;
|
|
2183
2187
|
display: -ms-flexbox;
|
|
@@ -2265,7 +2269,7 @@ J(`.bimdata-checkbox {
|
|
|
2265
2269
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
2266
2270
|
background-color: var(--color-silver-dark);
|
|
2267
2271
|
}`), N1.render = function(e, n, a, l, s, i) {
|
|
2268
|
-
return r(), o("div",
|
|
2272
|
+
return r(), o("div", Z1({ class: ["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: a.disabled, checked: i.checked }], onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: i.style }, e.$attrs), [$0, a.text ? (r(), o("span", N0, [_(e.$slots, "default", {}, () => [T(b(a.text), 1)])])) : m("v-if", !0)], 16);
|
|
2269
2273
|
}, N1.__scopeId = "data-v-34d34265", N1.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
2270
2274
|
const O0 = { "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" }, R0 = { render: function(e, n) {
|
|
2271
2275
|
return r(), o("path", O0);
|
|
@@ -2279,9 +2283,9 @@ var c2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: {
|
|
|
2279
2283
|
return { width: `${a}px`, minWidth: `${a}px`, height: `${a}px`, minHeight: `${a}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
2280
2284
|
} }, methods: { getPixelSize() {
|
|
2281
2285
|
return this.customSize ? this.customSize : s5[this.size];
|
|
2282
|
-
} } }),
|
|
2286
|
+
} } }), H1 = c2("Chevron", R0);
|
|
2283
2287
|
const F0 = ["fill", "color"];
|
|
2284
|
-
|
|
2288
|
+
e1(`/* base COLORS --------------------------------------------- */
|
|
2285
2289
|
/* colors BRAND */
|
|
2286
2290
|
/* colors GREY SHADES - NEUTRAL */
|
|
2287
2291
|
/* color TEXT */
|
|
@@ -2350,7 +2354,7 @@ html[data-v-5e440aca] {
|
|
|
2350
2354
|
/* base FONTS -------------------------------------- */
|
|
2351
2355
|
--primary-font: "roboto", sans-serif;
|
|
2352
2356
|
}`);
|
|
2353
|
-
|
|
2357
|
+
e1(`.icon-fill--black {
|
|
2354
2358
|
fill: var(--color-black);
|
|
2355
2359
|
}
|
|
2356
2360
|
.icon-fill--default {
|
|
@@ -2433,16 +2437,16 @@ J(`.icon-fill--black {
|
|
|
2433
2437
|
}
|
|
2434
2438
|
.icon-stroke--white {
|
|
2435
2439
|
stroke: var(--color-white);
|
|
2436
|
-
}`),
|
|
2440
|
+
}`), H1.render = function(e, n, a, l, s, i) {
|
|
2437
2441
|
const c = g("Chevron");
|
|
2438
2442
|
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, F0);
|
|
2439
|
-
},
|
|
2443
|
+
}, H1.__scopeId = "data-v-5e440aca", H1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
2440
2444
|
const P0 = { "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" }, U0 = { render: function(e, n) {
|
|
2441
2445
|
return r(), o("path", P0);
|
|
2442
2446
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
2443
2447
|
var h2 = c2("DoubleChevron", U0);
|
|
2444
2448
|
const z0 = ["fill", "color"];
|
|
2445
|
-
|
|
2449
|
+
e1(`/* base COLORS --------------------------------------------- */
|
|
2446
2450
|
/* colors BRAND */
|
|
2447
2451
|
/* colors GREY SHADES - NEUTRAL */
|
|
2448
2452
|
/* color TEXT */
|
|
@@ -2511,7 +2515,7 @@ html[data-v-859297ec] {
|
|
|
2511
2515
|
/* base FONTS -------------------------------------- */
|
|
2512
2516
|
--primary-font: "roboto", sans-serif;
|
|
2513
2517
|
}`);
|
|
2514
|
-
|
|
2518
|
+
e1(`.icon-fill--black {
|
|
2515
2519
|
fill: var(--color-black);
|
|
2516
2520
|
}
|
|
2517
2521
|
.icon-fill--default {
|
|
@@ -2603,7 +2607,7 @@ const G0 = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357
|
|
|
2603
2607
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
2604
2608
|
var b2 = c2("Close", Y0);
|
|
2605
2609
|
const W0 = ["fill", "color"];
|
|
2606
|
-
|
|
2610
|
+
e1(`/* base COLORS --------------------------------------------- */
|
|
2607
2611
|
/* colors BRAND */
|
|
2608
2612
|
/* colors GREY SHADES - NEUTRAL */
|
|
2609
2613
|
/* color TEXT */
|
|
@@ -2672,7 +2676,7 @@ html[data-v-797f55d8] {
|
|
|
2672
2676
|
/* base FONTS -------------------------------------- */
|
|
2673
2677
|
--primary-font: "roboto", sans-serif;
|
|
2674
2678
|
}`);
|
|
2675
|
-
|
|
2679
|
+
e1(`.icon-fill--black {
|
|
2676
2680
|
fill: var(--color-black);
|
|
2677
2681
|
}
|
|
2678
2682
|
.icon-fill--default {
|
|
@@ -2764,7 +2768,7 @@ const X0 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.465
|
|
|
2764
2768
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
2765
2769
|
var g2 = c2("Search", j0);
|
|
2766
2770
|
const K0 = ["fill", "color"];
|
|
2767
|
-
|
|
2771
|
+
e1(`/* base COLORS --------------------------------------------- */
|
|
2768
2772
|
/* colors BRAND */
|
|
2769
2773
|
/* colors GREY SHADES - NEUTRAL */
|
|
2770
2774
|
/* color TEXT */
|
|
@@ -2833,7 +2837,7 @@ html[data-v-0993abf8] {
|
|
|
2833
2837
|
/* base FONTS -------------------------------------- */
|
|
2834
2838
|
--primary-font: "roboto", sans-serif;
|
|
2835
2839
|
}`);
|
|
2836
|
-
|
|
2840
|
+
e1(`.icon-fill--black {
|
|
2837
2841
|
fill: var(--color-black);
|
|
2838
2842
|
}
|
|
2839
2843
|
.icon-fill--default {
|
|
@@ -2920,7 +2924,7 @@ J(`.icon-fill--black {
|
|
|
2920
2924
|
const c = g("Search");
|
|
2921
2925
|
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, K0);
|
|
2922
2926
|
}, g2.__scopeId = "data-v-0993abf8", g2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
2923
|
-
var O1 = { components: { BIMDataCheckbox: N1, BIMDataIconChevron:
|
|
2927
|
+
var O1 = { components: { BIMDataCheckbox: N1, BIMDataIconChevron: H1 }, directives: { clickaway: A5 }, 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() {
|
|
2924
2928
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
2925
2929
|
} }, methods: { toggle() {
|
|
2926
2930
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -2946,8 +2950,8 @@ var O1 = { components: { BIMDataCheckbox: N1, BIMDataIconChevron: y1 }, directiv
|
|
|
2946
2950
|
n = this.modelValue.concat(e);
|
|
2947
2951
|
this.$emit("update:modelValue", n);
|
|
2948
2952
|
} } };
|
|
2949
|
-
const q0 = { class: "bimdata-select__content" }, J0 = { class: "bimdata-select__content__label" }, Q0 = ((e) => (
|
|
2950
|
-
|
|
2953
|
+
const q0 = { class: "bimdata-select__content" }, J0 = { class: "bimdata-select__content__label" }, Q0 = ((e) => (i1("data-v-2c3115dc"), e = e(), s1(), e))(() => t("span", { class: "bimdata-select__content__underline" }, null, -1)), e8 = { class: "bimdata-select__option-list" }, n8 = ["onClick"];
|
|
2954
|
+
e1(`/* base COLORS --------------------------------------------- */
|
|
2951
2955
|
/* colors BRAND */
|
|
2952
2956
|
/* colors GREY SHADES - NEUTRAL */
|
|
2953
2957
|
/* color TEXT */
|
|
@@ -3129,9 +3133,9 @@ html[data-v-2c3115dc] {
|
|
|
3129
3133
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3130
3134
|
}`), O1.render = function(e, n, a, l, s, i) {
|
|
3131
3135
|
const c = g("BIMDataIconChevron"), u = g("BIMDataCheckbox"), d = i2("clickaway");
|
|
3132
|
-
return
|
|
3136
|
+
return G((r(), o("div", { class: k(["bimdata-select", { disabled: a.disabled, active: s.isOpen, "not-empty": a.modelValue.length > 0 }]), style: H({ width: a.width }) }, [t("div", q0, [t("div", { class: "bimdata-select__content__value", onClick: n[0] || (n[0] = (...C) => i.toggle && i.toggle(...C)) }, [t("span", null, b(i.displayedValue), 1), p(c, { size: "xxs", rotate: s.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), t("label", J0, b(a.label), 1), Q0]), p(r1, { name: "slide-fade-down", persisted: "" }, { default: L(() => [G(t("ul", e8, [(r(!0), o(R, null, U(a.options, (C, f) => (r(), o("li", { class: k(["bimdata-select__option-list__entry", { selected: i.isSelected(C), disabled: i.isDisabled(C), "option-group": i.isOptionGroup(C) }]), key: f, onClick: (h) => i.onOptionClick(C) }, [i.isOptionGroup(C) ? (r(), o(R, { key: 0 }, [T(b(i.optionLabel(C)), 1)], 64)) : (r(), V(u, { key: 1, modelValue: i.isSelected(C), disabled: i.isDisabled(C), text: i.optionLabel(C) }, null, 8, ["modelValue", "disabled", "text"]))], 10, n8))), 128))], 512), [[J, !a.disabled && s.isOpen]])]), _: 1 })], 6)), [[d, () => s.isOpen = !1]]);
|
|
3133
3137
|
}, O1.__scopeId = "data-v-2c3115dc", O1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue";
|
|
3134
|
-
var R1 = { components: { BIMDataIconChevron:
|
|
3138
|
+
var R1 = { components: { BIMDataIconChevron: H1 }, directives: { clickaway: A5 }, 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() {
|
|
3135
3139
|
return this.optionLabel(this.modelValue);
|
|
3136
3140
|
} }, methods: { toggle() {
|
|
3137
3141
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -3151,8 +3155,8 @@ var R1 = { components: { BIMDataIconChevron: y1 }, directives: { clickaway: A5 }
|
|
|
3151
3155
|
}, onNullValueClick() {
|
|
3152
3156
|
this.$emit("update:modelValue", null), this.isOpen = !1;
|
|
3153
3157
|
} } };
|
|
3154
|
-
const t8 = { class: "bimdata-select__content" }, r8 = { class: "bimdata-select__content__label" }, o8 = ((e) => (
|
|
3155
|
-
|
|
3158
|
+
const t8 = { class: "bimdata-select__content" }, r8 = { class: "bimdata-select__content__label" }, o8 = ((e) => (i1("data-v-41a0d93f"), e = e(), s1(), e))(() => t("span", { class: "bimdata-select__content__underline" }, null, -1)), a8 = { class: "bimdata-select__option-list" }, l8 = ["onClick"];
|
|
3159
|
+
e1(`/* base COLORS --------------------------------------------- */
|
|
3156
3160
|
/* colors BRAND */
|
|
3157
3161
|
/* colors GREY SHADES - NEUTRAL */
|
|
3158
3162
|
/* color TEXT */
|
|
@@ -3334,13 +3338,13 @@ html[data-v-41a0d93f] {
|
|
|
3334
3338
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3335
3339
|
}`), R1.render = function(e, n, a, l, s, i) {
|
|
3336
3340
|
const c = g("BIMDataIconChevron"), u = i2("clickaway");
|
|
3337
|
-
return
|
|
3341
|
+
return G((r(), o("div", { class: k(["bimdata-select", { disabled: a.disabled, active: s.isOpen, "not-empty": a.modelValue !== void 0 && a.modelValue !== null }]), style: H({ width: a.width }) }, [t("div", t8, [t("div", { class: "bimdata-select__content__value", onClick: n[0] || (n[0] = (...d) => i.toggle && i.toggle(...d)) }, [t("span", null, b(i.displayedValue), 1), p(c, { size: "xxs", rotate: s.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), t("label", r8, b(a.label), 1), o8]), p(r1, { name: "slide-fade-down", persisted: "" }, { default: L(() => [G(t("ul", a8, [a.nullValue ? (r(), o("li", { key: 0, class: "bimdata-select__option-list__entry", onClick: n[1] || (n[1] = (d) => i.onNullValueClick()) }, b(a.nullLabel || "None"), 1)) : m("v-if", !0), (r(!0), o(R, null, U(a.options, (d, C) => (r(), o("li", { class: k(["bimdata-select__option-list__entry", { selected: i.isSelected(d), disabled: i.isDisabled(d), "option-group": i.isOptionGroup(d) }]), key: C, onClick: (f) => i.onOptionClick(d) }, b(i.optionLabel(d)), 11, l8))), 128))], 512), [[J, !a.disabled && s.isOpen]])]), _: 1 })], 6)), [[u, () => s.isOpen = !1]]);
|
|
3338
3342
|
}, R1.__scopeId = "data-v-41a0d93f", R1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue";
|
|
3339
3343
|
var l2 = { components: { BIMDataSelectMulti: O1, BIMDataSelectSingle: R1 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: [String, Object, Array] }, multi: { type: Boolean, default: !1 }, nullValue: { type: Boolean, default: !1 }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], computed: { selectorComponent() {
|
|
3340
3344
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
3341
3345
|
} } };
|
|
3342
3346
|
l2.render = function(e, n, a, l, s, i) {
|
|
3343
|
-
return r(),
|
|
3347
|
+
return r(), V(C1(i.selectorComponent), Z1(e.$props, { modelValue: a.modelValue, "onUpdate:modelValue": n[0] || (n[0] = (c) => e.$emit("update:modelValue", c)) }), null, 16, ["modelValue"]);
|
|
3344
3348
|
}, l2.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelect.vue";
|
|
3345
3349
|
const F = (e, n) => {
|
|
3346
3350
|
const a = e.__vccOpts || e;
|
|
@@ -3348,7 +3352,7 @@ const F = (e, n) => {
|
|
|
3348
3352
|
a[l] = s;
|
|
3349
3353
|
return a;
|
|
3350
3354
|
};
|
|
3351
|
-
function
|
|
3355
|
+
function I1(e) {
|
|
3352
3356
|
return Array.from(new Set(e)).sort(
|
|
3353
3357
|
(n, a) => n.localeCompare(a, void 0, { sensitivity: "base" })
|
|
3354
3358
|
);
|
|
@@ -3356,8 +3360,8 @@ function M1(e) {
|
|
|
3356
3360
|
const i8 = {
|
|
3357
3361
|
components: {
|
|
3358
3362
|
BIMDataButton: W,
|
|
3359
|
-
BIMDataIcon:
|
|
3360
|
-
BIMDataInput:
|
|
3363
|
+
BIMDataIcon: K,
|
|
3364
|
+
BIMDataInput: d1,
|
|
3361
3365
|
BIMDataSelect: l2
|
|
3362
3366
|
},
|
|
3363
3367
|
props: {
|
|
@@ -3371,15 +3375,15 @@ const i8 = {
|
|
|
3371
3375
|
const a = B(!1), l = () => a.value = !1, s = () => a.value = !a.value, i = B(null), { filters: c, filteredTopics: u, reset: d } = q5(
|
|
3372
3376
|
O(() => e.topics)
|
|
3373
3377
|
), C = O(
|
|
3374
|
-
() =>
|
|
3378
|
+
() => I1(e.topics.map((w) => w.priority))
|
|
3375
3379
|
), f = O(
|
|
3376
|
-
() =>
|
|
3380
|
+
() => I1(e.topics.map((w) => w.topic_status))
|
|
3377
3381
|
), h = O(
|
|
3378
|
-
() =>
|
|
3382
|
+
() => I1(e.topics.map((w) => w.assigned_to))
|
|
3379
3383
|
), v = O(
|
|
3380
|
-
() =>
|
|
3384
|
+
() => I1(e.topics.map((w) => w.creation_author))
|
|
3381
3385
|
), I = O(
|
|
3382
|
-
() =>
|
|
3386
|
+
() => I1(e.topics.flatMap((w) => w.labels))
|
|
3383
3387
|
);
|
|
3384
3388
|
return {
|
|
3385
3389
|
creatorOptions: v,
|
|
@@ -3409,7 +3413,7 @@ const i8 = {
|
|
|
3409
3413
|
}, s8 = { class: "bcf-filters" }, c8 = { class: "bcf-filters__container" }, d8 = { class: "bcf-filters__container__header" }, u8 = { class: "bcf-filters__container__header__title" }, C8 = { class: "bcf-filters__container__date" }, p8 = { class: "bcf-filters__container__actions" };
|
|
3410
3414
|
function h8(e, n, a, l, s, i) {
|
|
3411
3415
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataSelect"), C = g("BIMDataDatePicker"), f = i2("click-away");
|
|
3412
|
-
return
|
|
3416
|
+
return G((r(), o("div", s8, [
|
|
3413
3417
|
p(u, {
|
|
3414
3418
|
class: "bcf-filters__btn-toggle",
|
|
3415
3419
|
disabled: a.topics.length === 0,
|
|
@@ -3431,9 +3435,9 @@ function h8(e, n, a, l, s, i) {
|
|
|
3431
3435
|
]),
|
|
3432
3436
|
_: 1
|
|
3433
3437
|
}, 8, ["disabled", "onClick"]),
|
|
3434
|
-
p(
|
|
3438
|
+
p(r1, { name: "slide-fade-up" }, {
|
|
3435
3439
|
default: L(() => [
|
|
3436
|
-
|
|
3440
|
+
G(t("div", c8, [
|
|
3437
3441
|
t("div", d8, [
|
|
3438
3442
|
t("div", u8, b(e.$t("BcfComponents.BcfFilters.filtersTitle")), 1),
|
|
3439
3443
|
p(u, {
|
|
@@ -3522,7 +3526,7 @@ function h8(e, n, a, l, s, i) {
|
|
|
3522
3526
|
onClick: l.resetFilters
|
|
3523
3527
|
}, {
|
|
3524
3528
|
default: L(() => [
|
|
3525
|
-
|
|
3529
|
+
T(b(e.$t("BcfComponents.BcfFilters.resetButton")), 1)
|
|
3526
3530
|
]),
|
|
3527
3531
|
_: 1
|
|
3528
3532
|
}, 8, ["onClick"]),
|
|
@@ -3546,7 +3550,7 @@ function h8(e, n, a, l, s, i) {
|
|
|
3546
3550
|
}, 8, ["onClick"])
|
|
3547
3551
|
])
|
|
3548
3552
|
], 512), [
|
|
3549
|
-
[
|
|
3553
|
+
[J, l.isOpen]
|
|
3550
3554
|
])
|
|
3551
3555
|
]),
|
|
3552
3556
|
_: 1
|
|
@@ -3559,7 +3563,7 @@ const b8 = /* @__PURE__ */ F(i8, [["render", h8], ["__scopeId", "data-v-ce31a6b2
|
|
|
3559
3563
|
Object.entries(W2).filter(([e]) => !g8.includes(e));
|
|
3560
3564
|
var f8 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), E1 = { props: { text: { type: String } } };
|
|
3561
3565
|
const L8 = { class: "bimdata-card__brand" }, v8 = { class: "bimdata-card__brand--left" }, m8 = { key: 0 };
|
|
3562
|
-
function
|
|
3566
|
+
function A1(e, n) {
|
|
3563
3567
|
n === void 0 && (n = {});
|
|
3564
3568
|
var a = n.insertAt;
|
|
3565
3569
|
if (e && typeof document < "u") {
|
|
@@ -3567,7 +3571,7 @@ function S1(e, n) {
|
|
|
3567
3571
|
s.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
3568
3572
|
}
|
|
3569
3573
|
}
|
|
3570
|
-
|
|
3574
|
+
A1(`/* base COLORS --------------------------------------------- */
|
|
3571
3575
|
/* colors BRAND */
|
|
3572
3576
|
/* colors GREY SHADES - NEUTRAL */
|
|
3573
3577
|
/* color TEXT */
|
|
@@ -3636,7 +3640,7 @@ html[data-v-0185c658] {
|
|
|
3636
3640
|
/* base FONTS -------------------------------------- */
|
|
3637
3641
|
--primary-font: "roboto", sans-serif;
|
|
3638
3642
|
}`);
|
|
3639
|
-
|
|
3643
|
+
A1(`.bimdata-card__brand {
|
|
3640
3644
|
-webkit-box-pack: justify;
|
|
3641
3645
|
-ms-flex-pack: justify;
|
|
3642
3646
|
justify-content: space-between;
|
|
@@ -3659,7 +3663,7 @@ var F1 = { components: { BIMDataCardBand: E1 }, props: { titleHeader: { type: St
|
|
|
3659
3663
|
return { [`bimdata-card__${this.bgColor}`]: this.bgColor };
|
|
3660
3664
|
} } };
|
|
3661
3665
|
const M8 = { key: 2, class: "bimdata-card__content" }, I8 = { key: 3, class: "bimdata-card__footer" };
|
|
3662
|
-
|
|
3666
|
+
A1(`/* base COLORS --------------------------------------------- */
|
|
3663
3667
|
/* colors BRAND */
|
|
3664
3668
|
/* colors GREY SHADES - NEUTRAL */
|
|
3665
3669
|
/* color TEXT */
|
|
@@ -3817,7 +3821,7 @@ html[data-v-5c84207f] {
|
|
|
3817
3821
|
.primary-font[data-v-5c84207f] {
|
|
3818
3822
|
font-family: "roboto", sans-serif;
|
|
3819
3823
|
}`);
|
|
3820
|
-
|
|
3824
|
+
A1(`.bimdata-card {
|
|
3821
3825
|
background-color: var(--color-white);
|
|
3822
3826
|
-webkit-box-shadow: var(--box-shadow);
|
|
3823
3827
|
box-shadow: var(--box-shadow);
|
|
@@ -3895,12 +3899,12 @@ S1(`.bimdata-card {
|
|
|
3895
3899
|
filter: saturate(0.8);
|
|
3896
3900
|
}`), F1.render = function(e, n, a, l, s, i) {
|
|
3897
3901
|
const c = g("BIMDataCardBand");
|
|
3898
|
-
return r(), o("div", { class: k(["bimdata-card", i.classes]), style: H({ "min-width": a.width, "border-radius": a.borderRadius }) }, [a.titleHeader || e.$slots.headerIcons ? (r(),
|
|
3902
|
+
return r(), o("div", { class: k(["bimdata-card", i.classes]), style: H({ "min-width": a.width, "border-radius": a.borderRadius }) }, [a.titleHeader || e.$slots.headerIcons ? (r(), V(c, { key: 0, text: a.titleHeader, class: "bimdata-card__header" }, { right: L(() => [_(e.$slots, "headerIcons")]), _: 3 }, 8, ["text"])) : m("v-if", !0), e.$slots.left || a.submenuText || e.$slots.right ? (r(), V(c, { key: 1, class: "bimdata-card__submenu", text: a.submenuText }, { left: L(() => [_(e.$slots, "left")]), right: L(() => [_(e.$slots, "right")]), _: 3 }, 8, ["text"])) : m("v-if", !0), e.$slots.content ? (r(), o("div", M8, [_(e.$slots, "content")])) : m("v-if", !0), e.$slots.footer ? (r(), o("footer", I8, [_(e.$slots, "footer")])) : m("v-if", !0)], 6);
|
|
3899
3903
|
}, F1.__scopeId = "data-v-5c84207f", F1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCard.vue";
|
|
3900
3904
|
const _8 = Object.entries(W2).reduce((e, n, a) => (a % 5 == 0 ? e.push([n]) : e[e.length - 1].push(n), e), []);
|
|
3901
3905
|
var P1 = { components: { BIMDataCard: F1 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(W2).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: _8 }) };
|
|
3902
3906
|
const y8 = ["title", "onClick"];
|
|
3903
|
-
|
|
3907
|
+
A1(`.color-selector__line[data-v-dd521886] {
|
|
3904
3908
|
display: -webkit-box;
|
|
3905
3909
|
display: -ms-flexbox;
|
|
3906
3910
|
display: flex;
|
|
@@ -3916,14 +3920,14 @@ S1(`.color-selector__line[data-v-dd521886] {
|
|
|
3916
3920
|
border: solid 2px var(--color-primary);
|
|
3917
3921
|
}`), P1.render = function(e, n, a, l, s, i) {
|
|
3918
3922
|
const c = g("BIMDataCard");
|
|
3919
|
-
return r(),
|
|
3923
|
+
return r(), V(c, { class: "color-selector" }, { content: L(() => [(r(!0), o(R, null, U(s.colorLines, (u, d) => (r(), o("div", { class: "color-selector__line", key: `colorLine${d}` }, [(r(!0), o(R, null, U(u, ([C, f], h) => (r(), o("div", { class: k(["color-selector__line__element", { selected: f === a.modelValue }]), key: `colorElement${h}ofColorLine${d}`, style: H(`background-color: #${f}`), title: C, onClick: (v) => e.$emit("update:modelValue", f) }, null, 14, y8))), 128))]))), 128))]), _: 1 });
|
|
3920
3924
|
}, P1.__scopeId = "data-v-dd521886", P1.__file = "src/BIMDataComponents/BIMDataColorSelector/BIMDataColorSelector.vue";
|
|
3921
3925
|
const H8 = {
|
|
3922
3926
|
components: {
|
|
3923
3927
|
BIMDataButton: W,
|
|
3924
3928
|
BIMDataColorSelector: P1,
|
|
3925
|
-
BIMDataIcon:
|
|
3926
|
-
BIMDataInput:
|
|
3929
|
+
BIMDataIcon: K,
|
|
3930
|
+
BIMDataInput: d1
|
|
3927
3931
|
},
|
|
3928
3932
|
props: {
|
|
3929
3933
|
extensionType: {
|
|
@@ -3939,9 +3943,9 @@ const H8 = {
|
|
|
3939
3943
|
],
|
|
3940
3944
|
setup(e, { emit: n }) {
|
|
3941
3945
|
const a = B(!1), l = B(!1), s = B(!1), i = B(
|
|
3942
|
-
e.extension[
|
|
3946
|
+
e.extension[f1(e.extensionType)]
|
|
3943
3947
|
), c = B(e.extension.color), u = B(null);
|
|
3944
|
-
return
|
|
3948
|
+
return t1(
|
|
3945
3949
|
a,
|
|
3946
3950
|
() => setTimeout(() => a.value && u.value.focus(), 50)
|
|
3947
3951
|
), {
|
|
@@ -3953,7 +3957,7 @@ const H8 = {
|
|
|
3953
3957
|
isOpenColorSelector: l,
|
|
3954
3958
|
isOpenDeleteGuard: s,
|
|
3955
3959
|
adjustBorderColor: z5,
|
|
3956
|
-
getExtensionField:
|
|
3960
|
+
getExtensionField: f1,
|
|
3957
3961
|
submitColor: async (h) => {
|
|
3958
3962
|
h !== e.extension.color && (n("update-extension", {
|
|
3959
3963
|
extensionType: e.extensionType,
|
|
@@ -3968,7 +3972,7 @@ const H8 = {
|
|
|
3968
3972
|
});
|
|
3969
3973
|
},
|
|
3970
3974
|
submitValue: async () => {
|
|
3971
|
-
i.value !== e.extension[
|
|
3975
|
+
i.value !== e.extension[f1(e.extensionType)] && (n("update-extension", {
|
|
3972
3976
|
extensionType: e.extensionType,
|
|
3973
3977
|
extension: e.extension,
|
|
3974
3978
|
data: { value: i.value }
|
|
@@ -3983,12 +3987,12 @@ const H8 = {
|
|
|
3983
3987
|
function w8(e, n, a, l, s, i) {
|
|
3984
3988
|
const c = g("BIMDataInput"), u = g("BIMDataIcon"), d = g("BIMDataButton"), C = g("BIMDataColorSelector"), f = i2("click-away");
|
|
3985
3989
|
return r(), o("li", V8, [
|
|
3986
|
-
l.editMode ? (r(),
|
|
3990
|
+
l.editMode ? (r(), V(c, {
|
|
3987
3991
|
key: 1,
|
|
3988
3992
|
ref: "input",
|
|
3989
3993
|
modelValue: l.extensionName,
|
|
3990
3994
|
"onUpdate:modelValue": n[0] || (n[0] = (h) => l.extensionName = h),
|
|
3991
|
-
onKeyup: x(
|
|
3995
|
+
onKeyup: x(S(l.submitValue, ["stop"]), ["enter"])
|
|
3992
3996
|
}, null, 8, ["modelValue", "onKeyup"])) : (r(), o("span", D8, b(a.extension[l.getExtensionField(a.extensionType)]), 1)),
|
|
3993
3997
|
t("div", B8, [
|
|
3994
3998
|
p(d, {
|
|
@@ -4030,7 +4034,7 @@ function w8(e, n, a, l, s, i) {
|
|
|
4030
4034
|
}),
|
|
4031
4035
|
onClick: n[3] || (n[3] = (h) => l.isOpenColorSelector = !0)
|
|
4032
4036
|
}, null, 4),
|
|
4033
|
-
l.isOpenColorSelector ?
|
|
4037
|
+
l.isOpenColorSelector ? G((r(), V(C, {
|
|
4034
4038
|
key: 0,
|
|
4035
4039
|
class: "setting-card-item__color-selector",
|
|
4036
4040
|
modelValue: l.extensionColor,
|
|
@@ -4052,7 +4056,7 @@ function w8(e, n, a, l, s, i) {
|
|
|
4052
4056
|
onClick: n[4] || (n[4] = (h) => l.submitDelete(a.extension))
|
|
4053
4057
|
}, {
|
|
4054
4058
|
default: L(() => [
|
|
4055
|
-
|
|
4059
|
+
T(b(e.$t("BcfComponents.SettingCard.deleteButton")), 1)
|
|
4056
4060
|
]),
|
|
4057
4061
|
_: 1
|
|
4058
4062
|
}),
|
|
@@ -4079,8 +4083,8 @@ const Z8 = /* @__PURE__ */ F(H8, [["render", w8], ["__scopeId", "data-v-b97a5399
|
|
|
4079
4083
|
const S8 = {
|
|
4080
4084
|
components: {
|
|
4081
4085
|
BIMDataButton: W,
|
|
4082
|
-
BIMDataIcon:
|
|
4083
|
-
BIMDataInput:
|
|
4086
|
+
BIMDataIcon: K,
|
|
4087
|
+
BIMDataInput: d1,
|
|
4084
4088
|
SettingCardItem: Z8
|
|
4085
4089
|
},
|
|
4086
4090
|
props: {
|
|
@@ -4145,9 +4149,9 @@ function P8(e, n, a, l, s, i) {
|
|
|
4145
4149
|
}, null, 8, ["rotate"])
|
|
4146
4150
|
])
|
|
4147
4151
|
]),
|
|
4148
|
-
|
|
4152
|
+
G(t("div", null, [
|
|
4149
4153
|
t("div", O8, [
|
|
4150
|
-
|
|
4154
|
+
T(b(e.$t(`BcfComponents.SettingCard.text.${a.extensionType}`)) + " ", 1),
|
|
4151
4155
|
p(u, {
|
|
4152
4156
|
fill: "",
|
|
4153
4157
|
radius: "",
|
|
@@ -4165,15 +4169,15 @@ function P8(e, n, a, l, s, i) {
|
|
|
4165
4169
|
_: 1
|
|
4166
4170
|
}, 8, ["onClick"])
|
|
4167
4171
|
]),
|
|
4168
|
-
p(
|
|
4172
|
+
p(r1, { name: "slide-fade-up" }, {
|
|
4169
4173
|
default: L(() => [
|
|
4170
|
-
|
|
4174
|
+
G(t("div", R8, [
|
|
4171
4175
|
p(d, {
|
|
4172
4176
|
ref: "input",
|
|
4173
4177
|
placeholder: e.$t(`BcfComponents.SettingCard.input.${a.extensionType}`),
|
|
4174
4178
|
modelValue: l.name,
|
|
4175
4179
|
"onUpdate:modelValue": n[1] || (n[1] = (f) => l.name = f),
|
|
4176
|
-
onKeyup: x(
|
|
4180
|
+
onKeyup: x(S(l.addExtension, ["stop"]), ["enter"])
|
|
4177
4181
|
}, null, 8, ["placeholder", "modelValue", "onKeyup"]),
|
|
4178
4182
|
t("div", E8, [
|
|
4179
4183
|
p(u, {
|
|
@@ -4182,7 +4186,7 @@ function P8(e, n, a, l, s, i) {
|
|
|
4182
4186
|
onClick: l.closeForm
|
|
4183
4187
|
}, {
|
|
4184
4188
|
default: L(() => [
|
|
4185
|
-
|
|
4189
|
+
T(b(e.$t("BcfComponents.SettingCard.cancelButton")), 1)
|
|
4186
4190
|
]),
|
|
4187
4191
|
_: 1
|
|
4188
4192
|
}, 8, ["onClick"]),
|
|
@@ -4193,19 +4197,19 @@ function P8(e, n, a, l, s, i) {
|
|
|
4193
4197
|
onClick: l.addExtension
|
|
4194
4198
|
}, {
|
|
4195
4199
|
default: L(() => [
|
|
4196
|
-
|
|
4200
|
+
T(b(e.$t("BcfComponents.SettingCard.validateButton")), 1)
|
|
4197
4201
|
]),
|
|
4198
4202
|
_: 1
|
|
4199
4203
|
}, 8, ["onClick"])
|
|
4200
4204
|
])
|
|
4201
4205
|
], 512), [
|
|
4202
|
-
[
|
|
4206
|
+
[J, l.isOpenForm]
|
|
4203
4207
|
])
|
|
4204
4208
|
]),
|
|
4205
4209
|
_: 1
|
|
4206
4210
|
}),
|
|
4207
4211
|
t("ul", F8, [
|
|
4208
|
-
(r(!0), o(R, null, U(l.availableExtensions, (f) => (r(),
|
|
4212
|
+
(r(!0), o(R, null, U(l.availableExtensions, (f) => (r(), V(C, {
|
|
4209
4213
|
key: f.id,
|
|
4210
4214
|
extensionType: a.extensionType,
|
|
4211
4215
|
extension: f,
|
|
@@ -4214,7 +4218,7 @@ function P8(e, n, a, l, s, i) {
|
|
|
4214
4218
|
}, null, 8, ["extensionType", "extension"]))), 128))
|
|
4215
4219
|
])
|
|
4216
4220
|
], 512), [
|
|
4217
|
-
[
|
|
4221
|
+
[J, l.isOpen]
|
|
4218
4222
|
])
|
|
4219
4223
|
]);
|
|
4220
4224
|
}
|
|
@@ -4222,7 +4226,7 @@ const U8 = /* @__PURE__ */ F(S8, [["render", P8], ["__scopeId", "data-v-3ea16e8c
|
|
|
4222
4226
|
const z8 = {
|
|
4223
4227
|
components: {
|
|
4224
4228
|
BIMDataButton: W,
|
|
4225
|
-
BIMDataIcon:
|
|
4229
|
+
BIMDataIcon: K,
|
|
4226
4230
|
SettingCard: U8
|
|
4227
4231
|
},
|
|
4228
4232
|
props: {
|
|
@@ -4250,7 +4254,7 @@ const z8 = {
|
|
|
4250
4254
|
"extension-deleted"
|
|
4251
4255
|
],
|
|
4252
4256
|
setup(e, { emit: n }) {
|
|
4253
|
-
const a =
|
|
4257
|
+
const a = S1();
|
|
4254
4258
|
return {
|
|
4255
4259
|
EXTENSION_TYPES: I5,
|
|
4256
4260
|
createExtension: async (c) => {
|
|
@@ -4284,7 +4288,7 @@ function K8(e, n, a, l, s, i) {
|
|
|
4284
4288
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("SettingCard");
|
|
4285
4289
|
return r(), o("div", G8, [
|
|
4286
4290
|
t("div", Y8, [
|
|
4287
|
-
a.uiConfig.backButton ? (r(),
|
|
4291
|
+
a.uiConfig.backButton ? (r(), V(u, {
|
|
4288
4292
|
key: 0,
|
|
4289
4293
|
color: "granite",
|
|
4290
4294
|
ghost: "",
|
|
@@ -4301,7 +4305,7 @@ function K8(e, n, a, l, s, i) {
|
|
|
4301
4305
|
_: 1
|
|
4302
4306
|
})) : m("", !0),
|
|
4303
4307
|
t("span", W8, b(e.$t("BcfComponents.BcfSettings.title")), 1),
|
|
4304
|
-
a.uiConfig.closeButton ? (r(),
|
|
4308
|
+
a.uiConfig.closeButton ? (r(), V(u, {
|
|
4305
4309
|
key: 1,
|
|
4306
4310
|
color: "granite",
|
|
4307
4311
|
ghost: "",
|
|
@@ -4320,7 +4324,7 @@ function K8(e, n, a, l, s, i) {
|
|
|
4320
4324
|
]),
|
|
4321
4325
|
t("div", X8, [
|
|
4322
4326
|
t("div", j8, b(e.$t("BcfComponents.BcfSettings.text")), 1),
|
|
4323
|
-
(r(!0), o(R, null, U(l.EXTENSION_TYPES, (C) => (r(),
|
|
4327
|
+
(r(!0), o(R, null, U(l.EXTENSION_TYPES, (C) => (r(), V(d, {
|
|
4324
4328
|
detailedExtensions: a.detailedExtensions,
|
|
4325
4329
|
extensionType: C,
|
|
4326
4330
|
onCreateExtension: l.createExtension,
|
|
@@ -4331,7 +4335,7 @@ function K8(e, n, a, l, s, i) {
|
|
|
4331
4335
|
]);
|
|
4332
4336
|
}
|
|
4333
4337
|
const q8 = /* @__PURE__ */ F(z8, [["render", K8], ["__scopeId", "data-v-9e0003a6"]]);
|
|
4334
|
-
var J8 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
4338
|
+
var J8 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), V1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => J8.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
4335
4339
|
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 };
|
|
4336
4340
|
}, style() {
|
|
4337
4341
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -4806,9 +4810,9 @@ z(`.bimdata-btn {
|
|
|
4806
4810
|
.bimdata-btn__ghost:disabled {
|
|
4807
4811
|
color: var(--color-silver-dark);
|
|
4808
4812
|
cursor: auto;
|
|
4809
|
-
}`),
|
|
4813
|
+
}`), V1.render = function(e, n, a, l, s, i) {
|
|
4810
4814
|
return r(), o("button", { class: k(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: a.color, type: "button" }, [_(e.$slots, "default")], 14, Q8);
|
|
4811
|
-
},
|
|
4815
|
+
}, V1.__scopeId = "data-v-3f903003", V1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
4812
4816
|
const ee = { "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" }, ne = { render: function(e, n) {
|
|
4813
4817
|
return r(), o("path", ee);
|
|
4814
4818
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
@@ -5462,7 +5466,7 @@ z(`.icon-fill--black {
|
|
|
5462
5466
|
const c = g("Search");
|
|
5463
5467
|
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, Ce);
|
|
5464
5468
|
}, L2.__scopeId = "data-v-0993abf8", L2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
5465
|
-
var G1 = { components: { BIMDataIconChevron: U1, BIMDataIconDoubleChevron: z1, BIMDataButton:
|
|
5469
|
+
var G1 = { components: { BIMDataIconChevron: U1, BIMDataIconDoubleChevron: z1, BIMDataButton: V1 }, 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"] };
|
|
5466
5470
|
const pe = { class: "bimdata-navigation__left m-r-6" }, he = { key: 0, class: "bimdata-navigation__item" }, be = { key: 1, class: "bimdata-navigation__item" }, ge = { key: 2, class: "bimdata-navigation__item" }, fe = { key: 3, class: "bimdata-navigation__item" }, Le = { class: "bimdata-navigation__right" };
|
|
5467
5471
|
z(`/* base COLORS --------------------------------------------- */
|
|
5468
5472
|
/* colors BRAND */
|
|
@@ -5573,7 +5577,7 @@ z(`.bimdata-navigation[data-v-aa907072] {
|
|
|
5573
5577
|
const c = g("BIMDataIconDoubleChevron"), u = g("BIMDataButton"), d = g("BIMDataIconChevron");
|
|
5574
5578
|
return r(), o("ul", { class: "bimdata-list bimdata-navigation", style: H({ "background-color": a.backgroundColor }) }, [t("li", pe, [_(e.$slots, "left")]), a.first ? (r(), o("li", he, [p(u, { onClick: n[0] || (n[0] = (C) => e.$emit("first")), disabled: a.firstDisabled, ghost: "", class: k({ disabled: a.firstDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(c, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : m("v-if", !0), a.previous ? (r(), o("li", be, [p(u, { onClick: n[1] || (n[1] = (C) => e.$emit("previous")), disabled: a.previousDisabled, ghost: "", class: k({ disabled: a.previousDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(d, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : m("v-if", !0), t("li", null, [_(e.$slots, "default")]), a.next ? (r(), o("li", ge, [p(u, { onClick: n[2] || (n[2] = (C) => e.$emit("next")), disabled: a.nextDisabled, ghost: "", class: k({ disabled: a.nextDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(d, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : m("v-if", !0), a.last ? (r(), o("li", fe, [p(u, { onClick: n[3] || (n[3] = (C) => e.$emit("last")), disabled: a.lastDisabled, ghost: "", class: k({ disabled: a.lastDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(c, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : m("v-if", !0), t("li", Le, [_(e.$slots, "right")])], 4);
|
|
5575
5579
|
}, G1.__scopeId = "data-v-aa907072", G1.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
|
|
5576
|
-
var Y1 = { components: { BIMDataNavigation: G1, BIMDataButton:
|
|
5580
|
+
var Y1 = { components: { BIMDataNavigation: G1, BIMDataButton: V1 }, 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() {
|
|
5577
5581
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
5578
5582
|
}, lastIndex() {
|
|
5579
5583
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -5670,7 +5674,7 @@ z(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
|
5670
5674
|
font-weight: 700;
|
|
5671
5675
|
}`), Y1.render = function(e, n, a, l, s, i) {
|
|
5672
5676
|
const c = g("BIMDataButton"), u = g("BIMDataNavigation");
|
|
5673
|
-
return r(),
|
|
5677
|
+
return r(), V(u, { onFirst: n[0] || (n[0] = (d) => i.firstPage()), onPrevious: n[1] || (n[1] = (d) => i.previousPage()), onNext: n[2] || (n[2] = (d) => i.nextPage()), onLast: n[3] || (n[3] = (d) => i.lastPage()), firstDisabled: i.isFirstPage, previousDisabled: i.isFirstPage, nextDisabled: i.isLastPage, lastDisabled: i.isLastPage, class: "bimdata-pagination", backgroundColor: a.backgroundColor }, m5({ default: L(() => [t("span", ve, [p(c, { ghost: "", width: "21px", height: "21px" }, { default: L(() => [T(b(a.currentPage), 1)]), _: 1 })])]), _: 2 }, [a.numberDataElements ? { name: "left", fn: L(() => [T(b(i.firstIndex) + " - " + b(i.lastIndex) + " of " + b(a.length), 1)]), key: "0" } : void 0]), 1032, ["firstDisabled", "previousDisabled", "nextDisabled", "lastDisabled", "backgroundColor"]);
|
|
5674
5678
|
}, Y1.__scopeId = "data-v-45066753", Y1.__file = "src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue";
|
|
5675
5679
|
var W1 = { props: ["size", "border"], methods: { getStyle() {
|
|
5676
5680
|
if (this.size)
|
|
@@ -5953,7 +5957,7 @@ z(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
|
5953
5957
|
justify-content: center;
|
|
5954
5958
|
}`), X1.render = function(e, n, a, l, s, i) {
|
|
5955
5959
|
const c = g("BIMDataSpinner"), u = g("BIMDataPagination");
|
|
5956
|
-
return r(), o("div", Me, [a.loading ? (r(),
|
|
5960
|
+
return r(), o("div", Me, [a.loading ? (r(), V(c, { key: 0 })) : (r(), o("div", Ie, [_(e.$slots, "header"), t("ul", _e, [(r(!0), o(R, null, U(i.page, (d) => (r(), o("li", { key: a.elementKey ? d[a.elementKey] : d, onClick: (C) => e.$emit("element-click", d) }, [_(e.$slots, "element", { element: d }, () => [T(b(d && d.toString()), 1)])], 8, ye))), 128))]), a.list.length === 0 ? _(e.$slots, "empty", { key: 0 }) : m("v-if", !0), i.totalPages > 1 ? (r(), V(u, { key: 1, length: a.list.length, currentPage: s.currentPage, onPagechanged: i.onPageChange, totalPages: i.totalPages, perPage: a.perPage, first: a.first, last: a.last, numberDataElements: a.numberDataElements, backgroundColor: a.backgroundColor }, null, 8, ["length", "currentPage", "onPagechanged", "totalPages", "perPage", "first", "last", "numberDataElements", "backgroundColor"])) : m("v-if", !0)]))]);
|
|
5957
5961
|
}, X1.__scopeId = "data-v-3ab4d75d", X1.__file = "src/BIMDataComponents/BIMDataPaginatedList/BIMDataPaginatedList.vue";
|
|
5958
5962
|
var j1 = { 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() {
|
|
5959
5963
|
return (this.barStrokeWidth / 2 - 4) / (2 * this.barDistanceFromCenter * Math.PI) * 100;
|
|
@@ -6033,7 +6037,7 @@ const ke = {
|
|
|
6033
6037
|
chartData: O(() => {
|
|
6034
6038
|
if (e.topics.length === 0)
|
|
6035
6039
|
return [];
|
|
6036
|
-
const a =
|
|
6040
|
+
const a = f1(e.extensionType), l = k5(e.extensionType, e.detailedExtensions);
|
|
6037
6041
|
return l.push({ [a]: void 0 }), l.map((s) => {
|
|
6038
6042
|
var c;
|
|
6039
6043
|
const i = e.topics.filter((u) => u[a] === s[a]).length;
|
|
@@ -6077,7 +6081,7 @@ function Oe(e, n, a, l, s, i) {
|
|
|
6077
6081
|
}, null, 4),
|
|
6078
6082
|
t("span", Te, b(d.percentage.toFixed(0)) + " % ", 1),
|
|
6079
6083
|
t("span", $e, [
|
|
6080
|
-
|
|
6084
|
+
T(b(d.label || e.$t(`BcfComponents.BcfStatistics.extension.${a.extensionType}NotDefined`)) + " ", 1),
|
|
6081
6085
|
t("span", Ne, " (" + b(d.count) + ") ", 1)
|
|
6082
6086
|
])
|
|
6083
6087
|
])
|
|
@@ -6089,7 +6093,7 @@ function Oe(e, n, a, l, s, i) {
|
|
|
6089
6093
|
]);
|
|
6090
6094
|
}
|
|
6091
6095
|
const Re = /* @__PURE__ */ F(ke, [["render", Oe], ["__scopeId", "data-v-173b3d02"]]);
|
|
6092
|
-
var
|
|
6096
|
+
var a1 = { props: { width: { type: String, default: "100%" }, minWidth: { type: String }, maxWidth: { type: String }, text: { type: String, default: "" }, cutPosition: { type: String, default: "middle", validator: (e) => ["start", "middle", "end"].includes(e) }, tooltip: { type: Boolean, default: !0 }, tooltipPosition: { type: String, default: "bottom", validator: (e) => ["top", "right", "bottom", "left"].includes(e) }, tooltipColor: { type: String, default: "primary", validator: (e) => ["white", "primary", "secondary", "granite-light", "silver-light"].includes(e) } }, data: () => ({ showTooltip: !1, isOverflowing: !1, textHead: "", textTail: "" }), watch: { width: "computeText", text: "computeText", cutPosition: "computeText" }, mounted() {
|
|
6093
6097
|
this.observer = new ResizeObserver(() => this.computeText()), this.observer.observe(this.$refs.textBox), this.computeText();
|
|
6094
6098
|
}, beforeUnmount() {
|
|
6095
6099
|
this.observer.disconnect();
|
|
@@ -6296,9 +6300,9 @@ html[data-v-330fe2fd] {
|
|
|
6296
6300
|
left: calc(100% - 4px);
|
|
6297
6301
|
-webkit-transform: rotate(45deg);
|
|
6298
6302
|
transform: rotate(45deg);
|
|
6299
|
-
}`),
|
|
6300
|
-
return r(), o("div", { ref: "textBox", class: "bimdata-textbox", style: H({ width: a.width, minWidth: a.minWidth, maxWidth: a.maxWidth }), onMouseenter: n[0] || (n[0] = (c) => s.showTooltip = !0), onMouseleave: n[1] || (n[1] = (c) => s.showTooltip = !1) }, [t("span", { ref: "textHead", class: "bimdata-textbox__text--head", style: H({ width: s.textTail ? "50%" : "100%", direction: a.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null, b(s.textHead), 1)], 4),
|
|
6301
|
-
},
|
|
6303
|
+
}`), a1.render = function(e, n, a, l, s, i) {
|
|
6304
|
+
return r(), o("div", { ref: "textBox", class: "bimdata-textbox", style: H({ width: a.width, minWidth: a.minWidth, maxWidth: a.maxWidth }), onMouseenter: n[0] || (n[0] = (c) => s.showTooltip = !0), onMouseleave: n[1] || (n[1] = (c) => s.showTooltip = !1) }, [t("span", { ref: "textHead", class: "bimdata-textbox__text--head", style: H({ width: s.textTail ? "50%" : "100%", direction: a.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null, b(s.textHead), 1)], 4), G(t("span", Ee, [t("bdi", null, b(s.textTail), 1)], 512), [[J, s.textTail]]), a.tooltip && s.isOverflowing ? G((r(), o("div", { key: 0, class: k(["bimdata-textbox__tooltip", [`bimdata-textbox__tooltip--${a.tooltipPosition}`, `bimdata-textbox__tooltip--${a.tooltipColor}`]]) }, b(a.text), 3)), [[J, s.showTooltip]]) : m("v-if", !0)], 36);
|
|
6305
|
+
}, a1.__scopeId = "data-v-330fe2fd", a1.__file = "src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
|
|
6302
6306
|
const Fe = {}, Pe = {
|
|
6303
6307
|
width: "84",
|
|
6304
6308
|
height: "81",
|
|
@@ -6316,8 +6320,8 @@ const Ye = {
|
|
|
6316
6320
|
components: {
|
|
6317
6321
|
BcfTopicDefaultImage: X2,
|
|
6318
6322
|
BIMDataButton: W,
|
|
6319
|
-
BIMDataIcon:
|
|
6320
|
-
BIMDataTextbox:
|
|
6323
|
+
BIMDataIcon: K,
|
|
6324
|
+
BIMDataTextbox: a1
|
|
6321
6325
|
},
|
|
6322
6326
|
props: {
|
|
6323
6327
|
detailedExtensions: {
|
|
@@ -6339,7 +6343,7 @@ const Ye = {
|
|
|
6339
6343
|
},
|
|
6340
6344
|
emits: ["open-topic", "update:selected"],
|
|
6341
6345
|
setup(e) {
|
|
6342
|
-
const n = B(!1), a = O(() =>
|
|
6346
|
+
const n = B(!1), a = O(() => m1(e.topic, e.detailedExtensions)), l = O(() => Y2(e.topic, e.detailedExtensions)), s = O(() => {
|
|
6343
6347
|
var c, u;
|
|
6344
6348
|
return (u = (c = e.topic.viewpoints) == null ? void 0 : c.filter((d) => d.snapshot)[0]) == null ? void 0 : u.snapshot.snapshot_data;
|
|
6345
6349
|
}), i = O(() => {
|
|
@@ -6378,11 +6382,11 @@ function on(e, n, a, l, s, i) {
|
|
|
6378
6382
|
}, null, 8, ["text"])
|
|
6379
6383
|
]),
|
|
6380
6384
|
t("div", je, [
|
|
6381
|
-
|
|
6385
|
+
G(p(u, {
|
|
6382
6386
|
modelValue: a.selected,
|
|
6383
6387
|
"onUpdate:modelValue": n[0] || (n[0] = (h) => e.$emit("update:selected", h))
|
|
6384
6388
|
}, null, 8, ["modelValue"]), [
|
|
6385
|
-
[
|
|
6389
|
+
[J, a.selectable && l.hover]
|
|
6386
6390
|
])
|
|
6387
6391
|
])
|
|
6388
6392
|
]),
|
|
@@ -6408,7 +6412,7 @@ function on(e, n, a, l, s, i) {
|
|
|
6408
6412
|
src: l.topicImage,
|
|
6409
6413
|
alt: "topic viewpoint",
|
|
6410
6414
|
loading: "lazy"
|
|
6411
|
-
}, null, 8, Qe)) : (r(),
|
|
6415
|
+
}, null, 8, Qe)) : (r(), V(C, {
|
|
6412
6416
|
key: 2,
|
|
6413
6417
|
class: "img-default"
|
|
6414
6418
|
}))
|
|
@@ -6442,7 +6446,7 @@ function on(e, n, a, l, s, i) {
|
|
|
6442
6446
|
onClick: n[1] || (n[1] = (h) => e.$emit("open-topic", a.topic))
|
|
6443
6447
|
}, {
|
|
6444
6448
|
default: L(() => [
|
|
6445
|
-
|
|
6449
|
+
T(b(e.$t("BcfComponents.BcfTopicCard.see")), 1)
|
|
6446
6450
|
]),
|
|
6447
6451
|
_: 1
|
|
6448
6452
|
})
|
|
@@ -6467,7 +6471,7 @@ const pn = {
|
|
|
6467
6471
|
components: {
|
|
6468
6472
|
BcfTopicCreationCardImage: Cn,
|
|
6469
6473
|
BIMDataButton: W,
|
|
6470
|
-
BIMDataIcon:
|
|
6474
|
+
BIMDataIcon: K
|
|
6471
6475
|
},
|
|
6472
6476
|
emits: ["create-topic"]
|
|
6473
6477
|
}, hn = { class: "bcf-topic-creation-card" }, bn = { class: "bcf-topic-creation-card__text" };
|
|
@@ -6498,7 +6502,7 @@ function gn(e, n, a, l, s, i) {
|
|
|
6498
6502
|
]);
|
|
6499
6503
|
}
|
|
6500
6504
|
const fn = /* @__PURE__ */ F(pn, [["render", gn], ["__scopeId", "data-v-af2c3cbc"]]);
|
|
6501
|
-
class
|
|
6505
|
+
class p1 {
|
|
6502
6506
|
constructor(n, a, l, s, i = !1, c = !1, u = "") {
|
|
6503
6507
|
this.language = n, this.months = a, this.monthsAbbr = l, this.days = s, this.rtl = i, this.ymd = c, this.yearSuffix = u;
|
|
6504
6508
|
}
|
|
@@ -6547,7 +6551,7 @@ class C1 {
|
|
|
6547
6551
|
return a < 10 ? `0${a}` : `${a}`;
|
|
6548
6552
|
}
|
|
6549
6553
|
}
|
|
6550
|
-
var Ln = new
|
|
6554
|
+
var Ln = new p1("German", ["Januar", "Februar", "M\xE4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "M\xE4r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]), y1 = new p1("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"]), vn = new p1("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\xE9", "Jue", "Vie", "S\xE1b"]), mn = new p1("French", ["Janvier", "F\xE9vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao\xFBt", "Septembre", "Octobre", "Novembre", "D\xE9cembre"], ["Jan", "F\xE9v", "Mar", "Avr", "Mai", "Juin", "Juil", "Ao\xFBt", "Sep", "Oct", "Nov", "D\xE9c"], ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]), Mn = new p1("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"]), In = new p1("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"]), _n = new p1("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\xF8", "Ma", "Ti", "On", "To", "Fr", "L\xF8"]), d5 = { de: Ln, en: y1, es: vn, fr: mn, it: Mn, nl: In, no: _n };
|
|
6551
6555
|
const yn = { "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" }, Hn = { render: function(e, n) {
|
|
6552
6556
|
return r(), o("path", yn);
|
|
6553
6557
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, Vn = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.55 15.0531H16.0997V18.503H13.7999V15.0531H10.35V12.7529H13.7999V9.303H16.0997V12.7529H19.55V15.0531ZM20.7001 5.85364H11.4997L9.19989 3.55383H2.29968C1.02325 3.55383 0.0113988 4.5772 0.0113988 5.85364L-0.00012207 19.6537C-0.00012207 20.9301 1.02325 21.9539 2.29968 21.9539H20.7001C21.9761 21.9539 22.9999 20.9301 22.9999 19.6537V8.15384C22.9999 6.87701 21.9761 5.85364 20.7001 5.85364Z" }, Dn = { render: function(e, n) {
|
|
@@ -6863,7 +6867,7 @@ const yn = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
6863
6867
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
6864
6868
|
var u5 = { addFile: Hn, addFolder: Dn, addUser: kn, alphabeticalAscending: wn, alphabeticalDescending: Sn, alphabeticalSort: Tn, alt: Nn, angle: Rn, api: Fn, app: Un, archive: Gn, arrow: Wn, attach: jn, backInTime: Jn, bcf: et, building: tt, burgerMenu: ot, calendar: lt, caliper: st, camera: dt, cancelCamera: Ct, check: ht, chevron: gt, classificationCategorie: Lt, classificationElement: mt, click: It, close: yt, cloud: Vt, color: Bt, comment: xt, cursor: Zt, dateAscending: At, dateDescending: $t, default: Ot, delete: Et, deniedFile: Pt, deploy: zt, detach: Yt, distance: Xt, doubleChevron: Kt, down: Jt, download: er, drag: tr, edit: or, ellipsis: lr, expanded: sr, explosion: dr, export: Cr, exportIfc: hr, failed: gr, filter: Lr, fitView: mr, folder: Ir, folderMove: yr, folderOpen: Vr, fullscreen: Br, grid: xr, group: Zr, hide: Ar, ifc: $r, ifcFile: Or, import: Er, indexAscending: Pr, indexDescending: zr, information: Yr, inProgressFile: Xr, invitation: Kr, isolate: Jr, key: eo, left: to, linkedDocument: oo, list: lo, listManage: so, location: uo, lock: po, logout: bo, measure: fo, minus: vo, model3d: Mo, organization: _o, parameters: Ho, path: Do, pieGraph: ko, plus: wo, project: So, quickSelect: To, readonlyFolder: No, redo: Ro, reduced: Fo, refresh: Uo, reprocessIfc: Go, reset: Wo, right: jo, rules: qo, sandglass: Qo, save: na, screenConfig: ra, screenshot: aa, search: ia, section: ca, settings: ua, share: pa, show: ba, showSelected: fa, socotec: va, space: Ma, split: _a, storey: Ha, success: Da, surface: ka, swap: wa, synchro2d: Sa, system: Ta, tag: Oa, tree: Ea, unarchive: Pa, undo: za, union: Ya, up: Xa, user: Ka, validate: Ja, validatedFile: el, versioning: rl, video: al, visa: il, warning: cl, windowBottom: ul, windowed: pl, windowLeft: bl, windowRight: fl, windowTop: vl, zone: Ml, bcfPolychrome: _l, createWindowPolychrome: Hl, docInfoPolychrome: Dl, fileDwgPolychrome: kl, fileDxfPolychrome: wl, fileIfcPolychrome: Sl, fileJpegPolychrome: Tl, filePdfPolychrome: Nl, filePngPolychrome: Rl, filePlanPolychrome: Fl, folderPolychrome: Ul, structurePolychrome: Gl, viewer2dPolychrome: Wl, viewer3dPolychrome: jl }, Kl = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
6865
6869
|
const C5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
6866
|
-
var
|
|
6870
|
+
var L1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
6867
6871
|
return Object.entries(e).reduce((n, [a, l]) => ({ ...n, [`bimdata-icon-${a}`]: l }), {});
|
|
6868
6872
|
}(u5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(u5).includes(e) }, color: { type: String, default: "default", validator: (e) => Kl.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(C5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
6869
6873
|
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 };
|
|
@@ -6874,7 +6878,7 @@ var f1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
6874
6878
|
return this.customSize ? this.customSize : C5[this.size];
|
|
6875
6879
|
} } };
|
|
6876
6880
|
const ql = ["fill", "color"];
|
|
6877
|
-
function
|
|
6881
|
+
function M1(e, n) {
|
|
6878
6882
|
n === void 0 && (n = {});
|
|
6879
6883
|
var a = n.insertAt;
|
|
6880
6884
|
if (e && typeof document < "u") {
|
|
@@ -6882,7 +6886,7 @@ function m1(e, n) {
|
|
|
6882
6886
|
s.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
6883
6887
|
}
|
|
6884
6888
|
}
|
|
6885
|
-
|
|
6889
|
+
M1(`/* base COLORS --------------------------------------------- */
|
|
6886
6890
|
/* colors BRAND */
|
|
6887
6891
|
/* colors GREY SHADES - NEUTRAL */
|
|
6888
6892
|
/* color TEXT */
|
|
@@ -6951,7 +6955,7 @@ html[data-v-1312d4d1] {
|
|
|
6951
6955
|
/* base FONTS -------------------------------------- */
|
|
6952
6956
|
--primary-font: "roboto", sans-serif;
|
|
6953
6957
|
}`);
|
|
6954
|
-
|
|
6958
|
+
M1(`.icon-fill--black {
|
|
6955
6959
|
fill: var(--color-black);
|
|
6956
6960
|
}
|
|
6957
6961
|
.icon-fill--default {
|
|
@@ -7034,16 +7038,16 @@ m1(`.icon-fill--black {
|
|
|
7034
7038
|
}
|
|
7035
7039
|
.icon-stroke--white {
|
|
7036
7040
|
stroke: var(--color-white);
|
|
7037
|
-
}`),
|
|
7038
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(),
|
|
7039
|
-
},
|
|
7040
|
-
var Jl = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
7041
|
+
}`), L1.render = function(e, n, a, l, s, i) {
|
|
7042
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), V(C1(`bimdata-icon-${a.name}`)))], 14, ql);
|
|
7043
|
+
}, L1.__scopeId = "data-v-1312d4d1", L1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
7044
|
+
var Jl = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), D1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => Jl.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
7041
7045
|
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 };
|
|
7042
7046
|
}, style() {
|
|
7043
7047
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
7044
7048
|
} } };
|
|
7045
7049
|
const Ql = ["color"];
|
|
7046
|
-
|
|
7050
|
+
M1(`/* base COLORS --------------------------------------------- */
|
|
7047
7051
|
/* colors BRAND */
|
|
7048
7052
|
/* colors GREY SHADES - NEUTRAL */
|
|
7049
7053
|
/* color TEXT */
|
|
@@ -7201,7 +7205,7 @@ html[data-v-3f903003] {
|
|
|
7201
7205
|
.primary-font[data-v-3f903003] {
|
|
7202
7206
|
font-family: "roboto", sans-serif;
|
|
7203
7207
|
}`);
|
|
7204
|
-
|
|
7208
|
+
M1(`.bimdata-btn {
|
|
7205
7209
|
padding: 0 var(--spacing-unit);
|
|
7206
7210
|
height: -webkit-fit-content;
|
|
7207
7211
|
height: -moz-fit-content;
|
|
@@ -7504,9 +7508,9 @@ m1(`.bimdata-btn {
|
|
|
7504
7508
|
.bimdata-btn__ghost:disabled {
|
|
7505
7509
|
color: var(--color-silver-dark);
|
|
7506
7510
|
cursor: auto;
|
|
7507
|
-
}`),
|
|
7511
|
+
}`), D1.render = function(e, n, a, l, s, i) {
|
|
7508
7512
|
return r(), o("button", { class: k(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: a.color, type: "button" }, [_(e.$slots, "default")], 14, Ql);
|
|
7509
|
-
},
|
|
7513
|
+
}, D1.__scopeId = "data-v-3f903003", D1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
7510
7514
|
const ei = { useUtc: !1, getFullYear(e) {
|
|
7511
7515
|
return this.useUtc ? e.getUTCFullYear() : e.getFullYear();
|
|
7512
7516
|
}, getMonth(e) {
|
|
@@ -7539,8 +7543,8 @@ const ei = { useUtc: !1, getFullYear(e) {
|
|
|
7539
7543
|
throw TypeError("Invalid Type");
|
|
7540
7544
|
return n[this.getDay(e)];
|
|
7541
7545
|
}, getDayFromAbbr(e) {
|
|
7542
|
-
for (let n = 0; n <
|
|
7543
|
-
if (e.toLowerCase() ===
|
|
7546
|
+
for (let n = 0; n < y1.days.length; n += 1)
|
|
7547
|
+
if (e.toLowerCase() === y1.days[n].toLowerCase())
|
|
7544
7548
|
return n;
|
|
7545
7549
|
throw TypeError("Invalid week day");
|
|
7546
7550
|
}, getMonthName(e, n) {
|
|
@@ -7574,10 +7578,10 @@ const ei = { useUtc: !1, getFullYear(e) {
|
|
|
7574
7578
|
default:
|
|
7575
7579
|
return "th";
|
|
7576
7580
|
}
|
|
7577
|
-
}, formatDate(e, n, a =
|
|
7581
|
+
}, formatDate(e, n, a = y1) {
|
|
7578
7582
|
const l = this.getFullYear(e), s = this.getMonth(e) + 1, i = this.getDate(e), c = { d: i, dd: `0${i}`.slice(-2), E: this.getDayNameAbbr(e, a.days), o: this.getNthSuffix(this.getDate(e)), M: s, MM: `0${s}`.slice(-2), MMM: this.getMonthNameAbbr(this.getMonth(e), a.monthsAbbr), MMMM: this.getMonthName(this.getMonth(e), a.months), yy: String(l).slice(2), yyyy: l };
|
|
7579
7583
|
return n.replace(/y{4}|y{2}|M{1,4}|d{1,2}|o|E/g, (u) => c[u]);
|
|
7580
|
-
}, parseDate(e, n, a =
|
|
7584
|
+
}, parseDate(e, n, a = y1, l = null) {
|
|
7581
7585
|
if (!e || !n)
|
|
7582
7586
|
return e;
|
|
7583
7587
|
if (l)
|
|
@@ -7624,7 +7628,7 @@ const ei = { useUtc: !1, getFullYear(e) {
|
|
|
7624
7628
|
}, getNewDateObject(e) {
|
|
7625
7629
|
return e ? this.resetDateTime(new Date(e)) : this.resetDateTime(new Date());
|
|
7626
7630
|
} };
|
|
7627
|
-
var u2 = (e) => ({ ...ei, useUtc: e }), j2 = { 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 } }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/inputProps.vue" }, S2 = { name: "DateInput", components: { BIMDataIcon:
|
|
7631
|
+
var u2 = (e) => ({ ...ei, useUtc: e }), j2 = { 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 } }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/inputProps.vue" }, S2 = { name: "DateInput", components: { BIMDataIcon: L1, BIMDataButton: D1 }, mixins: [j2], props: { isOpen: { type: Boolean, default: !1 }, selectedDate: { type: Date, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7628
7632
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils: u2(this.useUtc) };
|
|
7629
7633
|
}, computed: { computedInputClass() {
|
|
7630
7634
|
return this.inputClass;
|
|
@@ -7689,9 +7693,9 @@ var u2 = (e) => ({ ...ei, useUtc: e }), j2 = { props: { autofocus: { type: Boole
|
|
|
7689
7693
|
const ni = ["disabled"], ti = { key: 0 }, ri = ["for"], oi = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7690
7694
|
S2.render = function(e, n, a, l, s, i) {
|
|
7691
7695
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7692
|
-
return r(), o("div", { class: k({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), m(" Calendar Button "), e.calendarButton ? (r(), o("button", { key: 0, ref: "calendarButton", class: "bimdata-datepicker__calendar-button", disabled: e.disabled, type: "button", onClick: n[0] || (n[0] = (d) => i.toggle("calendarButton")), onFocus: n[1] || (n[1] = (...d) => i.handleButtonFocus && i.handleButtonFocus(...d)) }, [t("span", null, [_(e.$slots, "calendarBtn", {}, () => [t("i", { class: k(e.calendarButtonIcon) }, [
|
|
7696
|
+
return r(), o("div", { class: k({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), m(" Calendar Button "), e.calendarButton ? (r(), o("button", { key: 0, ref: "calendarButton", class: "bimdata-datepicker__calendar-button", disabled: e.disabled, type: "button", onClick: n[0] || (n[0] = (d) => i.toggle("calendarButton")), onFocus: n[1] || (n[1] = (...d) => i.handleButtonFocus && i.handleButtonFocus(...d)) }, [t("span", null, [_(e.$slots, "calendarBtn", {}, () => [t("i", { class: k(e.calendarButtonIcon) }, [T(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? m("v-if", !0) : (r(), o("span", ti, "\u2026"))], 2)])])], 40, ni)) : m("v-if", !0), m(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, ri), t("input", { id: e.id, ref: e.refName, autocomplete: "off", autofocus: e.autofocus, class: k([i.computedInputClass, { required: a.required }]), clearButton: e.clearButton, disabled: e.disabled, maxlength: e.maxlength, name: e.name, pattern: e.pattern, readonly: !e.typeable, required: a.required, tabIndex: e.tabIndex, type: e.inline ? "hidden" : null, value: i.formattedValue, onBlur: n[2] || (n[2] = (...d) => i.handleInputBlur && i.handleInputBlur(...d)), onClick: n[3] || (n[3] = (...d) => i.handleInputClick && i.handleInputClick(...d)), onFocus: n[4] || (n[4] = (...d) => i.handleInputFocus && i.handleInputFocus(...d)), onKeydown: [n[5] || (n[5] = x((...d) => i.handleDelete && i.handleDelete(...d), ["backspace"])), n[6] || (n[6] = x((...d) => i.handleDelete && i.handleDelete(...d), ["delete"])), n[7] || (n[7] = x(S((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = x(S((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = x(S((...d) => i.handleKeydownEscape && i.handleKeydownEscape(...d), ["prevent"]), ["esc"])), n[10] || (n[10] = x((d) => i.handleKeydownSpace(d), ["space"])), n[11] || (n[11] = x((d) => e.$emit("tab", d), ["tab"]))], onKeyup: [n[12] || (n[12] = (d) => i.handleKeyup(d)), n[13] || (n[13] = x((d) => i.handleKeyupSpace(d), ["space"]))] }, null, 42, oi), m(" Clear Button "), e.clearButton && a.selectedDate ? (r(), V(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clearDate }, { default: L(() => [_(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : m("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7693
7697
|
}, S2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInput.vue";
|
|
7694
|
-
var A2 = { name: "DateInput", components: { BIMDataIcon:
|
|
7698
|
+
var A2 = { name: "DateInput", components: { BIMDataIcon: L1, BIMDataButton: D1 }, mixins: [j2], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7695
7699
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: u2(this.useUtc) };
|
|
7696
7700
|
}, computed: { computedInputClass() {
|
|
7697
7701
|
return this.inputClass;
|
|
@@ -7754,7 +7758,7 @@ var A2 = { name: "DateInput", components: { BIMDataIcon: f1, BIMDataButton: V1 }
|
|
|
7754
7758
|
const ai = ["disabled"], li = { key: 0 }, ii = ["for"], si = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7755
7759
|
A2.render = function(e, n, a, l, s, i) {
|
|
7756
7760
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7757
|
-
return r(), o("div", { class: k({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), m(" Calendar Button "), e.calendarButton ? (r(), o("button", { key: 0, ref: "calendarButton", class: "bimdata-datepicker__calendar-button", disabled: e.disabled, type: "button", onClick: n[0] || (n[0] = (d) => i.toggle("calendarButton")), onFocus: n[1] || (n[1] = (...d) => i.handleButtonFocus && i.handleButtonFocus(...d)) }, [t("span", null, [_(e.$slots, "calendarBtn", {}, () => [t("i", { class: k(e.calendarButtonIcon) }, [
|
|
7761
|
+
return r(), o("div", { class: k({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), m(" Calendar Button "), e.calendarButton ? (r(), o("button", { key: 0, ref: "calendarButton", class: "bimdata-datepicker__calendar-button", disabled: e.disabled, type: "button", onClick: n[0] || (n[0] = (d) => i.toggle("calendarButton")), onFocus: n[1] || (n[1] = (...d) => i.handleButtonFocus && i.handleButtonFocus(...d)) }, [t("span", null, [_(e.$slots, "calendarBtn", {}, () => [t("i", { class: k(e.calendarButtonIcon) }, [T(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? m("v-if", !0) : (r(), o("span", li, "\u2026"))], 2)])])], 40, ai)) : m("v-if", !0), m(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, ii), t("input", { id: e.id, ref: e.refName, autocomplete: "off", autofocus: e.autofocus, class: k([i.computedInputClass, { required: a.required }]), clearButton: e.clearButton, disabled: e.disabled, maxlength: e.maxlength, name: e.name, pattern: e.pattern, readonly: !e.typeable, required: a.required, tabIndex: e.tabIndex, type: e.inline ? "hidden" : null, value: i.formattedValue, onBlur: n[2] || (n[2] = (...d) => i.handleInputBlur && i.handleInputBlur(...d)), onClick: n[3] || (n[3] = (...d) => i.handleInputClick && i.handleInputClick(...d)), onFocus: n[4] || (n[4] = (...d) => i.handleInputFocus && i.handleInputFocus(...d)), onKeydown: [n[5] || (n[5] = x((...d) => i.handleDelete && i.handleDelete(...d), ["backspace"])), n[6] || (n[6] = x((...d) => i.handleDelete && i.handleDelete(...d), ["delete"])), n[7] || (n[7] = x(S((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = x(S((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = x(S((...d) => i.handleKeydownEscape && i.handleKeydownEscape(...d), ["prevent"]), ["esc"])), n[10] || (n[10] = x((d) => i.handleKeydownSpace(d), ["space"])), n[11] || (n[11] = x((d) => e.$emit("tab", d), ["tab"]))], onKeyup: [n[12] || (n[12] = (d) => i.handleKeyup(d)), n[13] || (n[13] = x((d) => i.handleKeyupSpace(d), ["space"]))] }, null, 42, si), m(" Clear Button "), e.clearButton && !i.noDateSelected ? (r(), V(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clear }, { default: L(() => [_(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : m("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7758
7762
|
}, A2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInputRange.vue";
|
|
7759
7763
|
const ci = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isDefined(e, n) {
|
|
7760
7764
|
return this.configExists(e) && e[n] !== void 0;
|
|
@@ -7770,7 +7774,7 @@ const ci = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isD
|
|
|
7770
7774
|
return { day: a.getDate(l), month: a.getMonth(l), year: a.getFullYear(l) };
|
|
7771
7775
|
} };
|
|
7772
7776
|
var T2 = (e) => ({ ...ci, utils: e });
|
|
7773
|
-
class
|
|
7777
|
+
class l1 {
|
|
7774
7778
|
constructor(n, a) {
|
|
7775
7779
|
this._utils = n, this._disabledDates = a;
|
|
7776
7780
|
}
|
|
@@ -8009,7 +8013,7 @@ var di = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
8009
8013
|
}, updateTabbableCell() {
|
|
8010
8014
|
const e = this.hasClass(document.activeElement, "cell");
|
|
8011
8015
|
(!this.tabbableCell || e) && this.setTabbableCell();
|
|
8012
|
-
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" }, $2 = { name: "PickerHeader", components: { BIMDataIcon:
|
|
8016
|
+
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" }, $2 = { name: "PickerHeader", components: { BIMDataIcon: L1 }, 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() {
|
|
8013
8017
|
this.$emit("page-change", this.previousPage);
|
|
8014
8018
|
}, arrowRightPrev() {
|
|
8015
8019
|
this.$emit("set-focus", ["up", "next", "tabbableCell"]);
|
|
@@ -8023,16 +8027,16 @@ var di = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
8023
8027
|
const ui = ["disabled"], Ci = ["disabled"], pi = ["disabled"], hi = ["disabled"];
|
|
8024
8028
|
$2.render = function(e, n, a, l, s, i) {
|
|
8025
8029
|
const c = g("BIMDataIcon");
|
|
8026
|
-
return r(), o("header", null, [e.$attrs.view === "day" ? (r(), o("button", { key: 0, ref: "doublePrev", class: "doublePrev", disabled: a.isPreviousDisabled, type: "button", onClick: n[0] || (n[0] =
|
|
8030
|
+
return r(), o("header", null, [e.$attrs.view === "day" ? (r(), o("button", { key: 0, ref: "doublePrev", class: "doublePrev", disabled: a.isPreviousDisabled, type: "button", onClick: n[0] || (n[0] = S((u) => e.$emit("page-change", s.doublePreviousPage), ["stop"])), onKeydown: [n[1] || (n[1] = x(S((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[2] || (n[2] = x(S((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[3] || (n[3] = x(S((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[4] || (n[4] = x(S((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "doubleChevron", size: "xxxs", fill: "", color: "default", rotate: 180 })])], 40, ui)) : m("v-if", !0), t("button", { ref: "prev", class: "prev", disabled: a.isPreviousDisabled, type: "button", onClick: n[5] || (n[5] = S((u) => e.$emit("page-change", s.previousPage), ["stop"])), onKeydown: [n[6] || (n[6] = x(S((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[7] || (n[7] = x(S((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[8] || (n[8] = x(S((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[9] || (n[9] = x(S((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "chevron", size: "xxxs", fill: "", color: "default", rotate: 180 })])], 40, Ci), _(e.$slots, "default"), t("button", { ref: "next", class: "next", disabled: a.isNextDisabled, type: "button", onClick: n[10] || (n[10] = S((u) => e.$emit("page-change", s.nextPage), ["stop"])), onKeydown: [n[11] || (n[11] = x(S((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[12] || (n[12] = x(S((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[13] || (n[13] = x(S((...u) => i.arrowLeftNext && i.arrowLeftNext(...u), ["prevent"]), ["left"])), n[14] || (n[14] = x(S((...u) => i.arrowRightNext && i.arrowRightNext(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "nextIntervalBtn", {}, () => [p(c, { name: "chevron", size: "xxxs", fill: "", color: "default" })])], 40, pi), e.$attrs.view === "day" ? (r(), o("button", { key: 1, ref: "doubleNext", class: "doubleNext", disabled: a.isPreviousDisabled, type: "button", onClick: n[15] || (n[15] = S((u) => e.$emit("page-change", s.doubleNextPage), ["stop"])), onKeydown: [n[16] || (n[16] = x(S((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[17] || (n[17] = x(S((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[18] || (n[18] = x(S((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[19] || (n[19] = x(S((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "doubleChevron", size: "xxxs", fill: "", color: "default" })])], 40, hi)) : m("v-if", !0)]);
|
|
8027
8031
|
}, $2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerHeader.vue";
|
|
8028
8032
|
var K2 = { components: { PickerHeader: $2 }, 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() {
|
|
8029
8033
|
return { utils: u2(this.useUtc) };
|
|
8030
8034
|
}, computed: { disabledConfig() {
|
|
8031
|
-
return new
|
|
8035
|
+
return new l1(this.utils, this.disabledDates).config;
|
|
8032
8036
|
}, earliestPossibleDate() {
|
|
8033
|
-
return new
|
|
8037
|
+
return new l1(this.utils, this.disabledDates).getEarliestPossibleDate(this.disabledDates.to);
|
|
8034
8038
|
}, latestPossibleDate() {
|
|
8035
|
-
return new
|
|
8039
|
+
return new l1(this.utils, this.disabledDates).getLatestPossibleDate(this.disabledDates.from);
|
|
8036
8040
|
}, pageYear() {
|
|
8037
8041
|
return this.utils.getFullYear(this.pageDate);
|
|
8038
8042
|
} }, methods: { addMoreSteps: (e) => e.stepsRemaining <= 0 && Math.abs(e.delta) > 1 ? Math.abs(e.delta) : e.stepsRemaining, changePage({ incrementBy: e, focusRefs: n }) {
|
|
@@ -8091,7 +8095,7 @@ class p5 {
|
|
|
8091
8095
|
}
|
|
8092
8096
|
isDateDisabled(n) {
|
|
8093
8097
|
const a = this._utils, l = this._disabledDates;
|
|
8094
|
-
return new
|
|
8098
|
+
return new l1(a, l).isDateDisabled(n);
|
|
8095
8099
|
}
|
|
8096
8100
|
isHighlightingNotPossible(n) {
|
|
8097
8101
|
const { config: a } = this;
|
|
@@ -8108,7 +8112,7 @@ class p5 {
|
|
|
8108
8112
|
return a.to() && a.from() || a.specificDate() || a.daysOfWeek() || a.daysOfMonth() || a.customPredictor();
|
|
8109
8113
|
}
|
|
8110
8114
|
}
|
|
8111
|
-
var
|
|
8115
|
+
var x1 = { name: "PickerCells", props: { cells: { type: Array, required: !0 }, showEdgeDates: { type: Boolean, default: !0 }, tabbableCellId: { type: Number, default: null }, view: { type: String, validator: (e) => ["day", "month", "year"].includes(e), required: !0 } }, computed: { columns() {
|
|
8112
8116
|
return this.view === "day" ? 7 : 3;
|
|
8113
8117
|
} }, methods: { cellClasses(e) {
|
|
8114
8118
|
return ["cell", this.view, { disabled: e.isDisabled, "highlight-start": e.isHighlightStart, "highlight-end": e.isHighlightEnd, highlighted: e.isHighlighted, muted: e.isPreviousMonth || e.isNextMonth, open: e.isOpenDate, sat: e.isSaturday, sun: e.isSunday, selected: this.showEdgeDates ? e.isSelected : e.isSelected && !e.isPreviousMonth && !e.isNextMonth, today: this.showEdgeDates ? e.isToday : e.isToday && !e.isPreviousMonth && !e.isNextMonth, weekend: e.isWeekend }];
|
|
@@ -8118,15 +8122,15 @@ var k1 = { name: "PickerCells", props: { cells: { type: Array, required: !0 }, s
|
|
|
8118
8122
|
return this.tabbableCellId ? n === this.tabbableCellId : e.isOpenDate;
|
|
8119
8123
|
} } };
|
|
8120
8124
|
const bi = { class: "picker-cells" }, gi = ["id", "dataTestTabbableCell", "dataTestOpenDate", "dataTestTodayCell", "disabled", "onClick", "onKeydown", "onMouseover"];
|
|
8121
|
-
k1.render = function(e, n, a, l, s, i) {
|
|
8122
|
-
return r(), o("div", bi, [(r(!0), o(R, null, U(a.cells, (c, u) => (r(), o("button", { key: c.timestamp, ref_for: !0, ref: c.isOpenDate ? "openDate" : null, class: k(i.cellClasses(c)), id: u, dataTestTabbableCell: i.isTabbableCell(c, u), dataTestOpenDate: c.isOpenDate, dataTestTodayCell: c.isToday, disabled: c.isDisabled, type: "button", onClick: (d) => e.$emit("select", c), onKeydown: [x(Z((d) => i.handleArrow(u, -i.columns), ["prevent"]), ["up"]), x(Z((d) => i.handleArrow(u, i.columns), ["prevent"]), ["down"]), x(Z((d) => i.handleArrow(u), ["prevent"]), ["left"]), x(Z((d) => i.handleArrow(u), ["prevent"]), ["right"])], onMouseover: (d) => e.$emit("hover", c) }, [_(e.$slots, "default", { cell: c })], 42, gi))), 128))]);
|
|
8123
|
-
}, k1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8124
|
-
var x1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8125
|
-
const fi = ["disabled"];
|
|
8126
8125
|
x1.render = function(e, n, a, l, s, i) {
|
|
8127
|
-
return r(), o("button", {
|
|
8128
|
-
}, x1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/
|
|
8129
|
-
var
|
|
8126
|
+
return r(), o("div", bi, [(r(!0), o(R, null, U(a.cells, (c, u) => (r(), o("button", { key: c.timestamp, ref_for: !0, ref: c.isOpenDate ? "openDate" : null, class: k(i.cellClasses(c)), id: u, dataTestTabbableCell: i.isTabbableCell(c, u), dataTestOpenDate: c.isOpenDate, dataTestTodayCell: c.isToday, disabled: c.isDisabled, type: "button", onClick: (d) => e.$emit("select", c), onKeydown: [x(S((d) => i.handleArrow(u, -i.columns), ["prevent"]), ["up"]), x(S((d) => i.handleArrow(u, i.columns), ["prevent"]), ["down"]), x(S((d) => i.handleArrow(u), ["prevent"]), ["left"]), x(S((d) => i.handleArrow(u), ["prevent"]), ["right"])], onMouseover: (d) => e.$emit("hover", c) }, [_(e.$slots, "default", { cell: c })], 42, gi))), 128))]);
|
|
8127
|
+
}, x1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8128
|
+
var w1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8129
|
+
const fi = ["disabled"];
|
|
8130
|
+
w1.render = function(e, n, a, l, s, i) {
|
|
8131
|
+
return r(), o("button", { class: "bimdata-datepicker__up", disabled: a.isDisabled, type: "button", onClick: n[0] || (n[0] = (c) => e.$emit("select")), onKeydown: [n[1] || (n[1] = x(S((c) => e.$emit("set-focus", ["tabbableCell"]), ["prevent"]), ["down"])), n[2] || (n[2] = x(S((c) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[3] || (n[3] = x(S((c) => e.$emit("set-focus"), ["prevent"]), ["left"])), n[4] || (n[4] = x(S((c) => e.$emit("set-focus"), ["prevent"]), ["right"]))] }, [_(e.$slots, "default")], 40, fi);
|
|
8132
|
+
}, w1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/UpButton.vue";
|
|
8133
|
+
var N2 = { name: "PickerDay", components: { PickerCells: x1, UpButton: w1 }, mixins: [K2], props: { selectedToDate: { type: Date, default: null }, isDateRange: { type: Boolean, default: !1 }, dayCellContent: { type: Function, default: (e) => e.date }, firstDayOfWeek: { type: String, default: "sun" }, showFullMonthName: { type: Boolean, default: !1 }, showEdgeDates: { type: Boolean, default: !0 } }, data: () => ({ highlightedToDate: null }), computed: { cells() {
|
|
8130
8134
|
const e = [], n = this.daysFromPrevMonth + this.daysInMonth + this.daysFromNextMonth, a = this.firstCellDate();
|
|
8131
8135
|
for (let l = 0; l < n; l += 1)
|
|
8132
8136
|
e.push(this.makeDay(l, a)), this.utils.setDate(a, this.utils.getDate(a) + 1);
|
|
@@ -8166,7 +8170,7 @@ var N2 = { name: "PickerDay", components: { PickerCells: k1, UpButton: x1 }, mix
|
|
|
8166
8170
|
const e = this.pageDate, n = this.useUtc ? new Date(Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), 1)) : new Date(e.getFullYear(), e.getMonth(), 1, e.getHours(), e.getMinutes());
|
|
8167
8171
|
return new Date(n.setDate(n.getDate() - this.daysFromPrevMonth));
|
|
8168
8172
|
}, isDisabledDate(e) {
|
|
8169
|
-
return new
|
|
8173
|
+
return new l1(this.utils, this.disabledDates).isDateDisabled(e);
|
|
8170
8174
|
}, isHighlightedDate(e) {
|
|
8171
8175
|
const n = this.utils.resetDateTime(e);
|
|
8172
8176
|
return this.highlightedRange.isDateHighlighted(n);
|
|
@@ -8187,9 +8191,9 @@ var N2 = { name: "PickerDay", components: { PickerCells: k1, UpButton: x1 }, mix
|
|
|
8187
8191
|
const Li = { key: 0 }, vi = { class: "day-header" }, mi = { class: "cells-wrapper" }, Mi = { key: 2 };
|
|
8188
8192
|
N2.render = function(e, n, a, l, s, i) {
|
|
8189
8193
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8190
|
-
return r(), o("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), o("div", Li, [_(e.$slots, "beforeCalendarHeaderDay")])) : m("v-if", !0), e.showHeader ? (r(),
|
|
8194
|
+
return r(), o("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), o("div", Li, [_(e.$slots, "beforeCalendarHeaderDay")])) : m("v-if", !0), e.showHeader ? (r(), V(u, { key: 1, ref: "pickerHeader", isNextDisabled: i.isNextDisabled, isPreviousDisabled: i.isPreviousDisabled, view: "day", onFocusInput: e.focusInput, onPageChange: n[2] || (n[2] = (C) => e.changePage(C)), onSetFocus: n[3] || (n[3] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", isDisabled: e.isUpDisabled, onFocusInput: e.focusInput, onSelect: n[0] || (n[0] = (C) => e.$emit("set-view", "month")), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { default: L(() => [T(b(i.pageTitleDay), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : m("v-if", !0), t("div", null, [t("div", vi, [(r(!0), o(R, null, U(i.daysOfWeek, (C) => (r(), o("span", { key: C }, b(C), 1))), 128))]), t("div", mi, [p(r1, { name: e.transitionName }, { default: L(() => [(r(), V(d, { ref: "cells", key: i.pageTitleDay, cells: i.cells, showEdgeDates: a.showEdgeDates, tabbableCellId: e.tabbableCellId, view: "day", onArrow: n[4] || (n[4] = (C) => e.handleArrow(C)), onSelect: n[5] || (n[5] = (C) => e.select(C)), onHover: n[6] || (n[6] = (C) => i.hover(C)) }, { default: L(({ cell: C }) => [_(e.$slots, "dayCellContent", { cell: C }, () => [T(b(a.dayCellContent(C)), 1)])]), _: 3 }, 8, ["cells", "showEdgeDates", "tabbableCellId"]))]), _: 3 }, 8, ["name"])])]), e.$slots.calendarFooterDay ? (r(), o("div", Mi, [_(e.$slots, "calendarFooterDay")])) : m("v-if", !0)]);
|
|
8191
8195
|
}, N2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerDay.vue";
|
|
8192
|
-
var O2 = { name: "PickerMonth", components: { PickerCells:
|
|
8196
|
+
var O2 = { name: "PickerMonth", components: { PickerCells: x1, UpButton: w1 }, mixins: [K2], computed: { cells() {
|
|
8193
8197
|
const e = this.pageDate, n = [], a = this.useUtc ? new Date(Date.UTC(e.getUTCFullYear(), 0, e.getUTCDate())) : new Date(e.getFullYear(), 0, e.getDate(), e.getHours(), e.getMinutes()), l = new Date(this.utils.setDate(this.utils.getNewDateObject(), 1));
|
|
8194
8198
|
for (let s = 0; s < 12; s += 1)
|
|
8195
8199
|
n.push({ month: this.utils.getMonthName(s, this.translation.months), timestamp: a.valueOf(), isDisabled: this.isDisabledMonth(a), isOpenDate: this.isOpenMonth(a), isSelected: this.isSelectedMonth(a), isToday: this.utils.compareDates(a, l) }), this.utils.setMonth(a, this.utils.getMonth(a) + 1);
|
|
@@ -8202,7 +8206,7 @@ var O2 = { name: "PickerMonth", components: { PickerCells: k1, UpButton: x1 }, m
|
|
|
8202
8206
|
const { yearSuffix: e } = this.translation;
|
|
8203
8207
|
return `${this.pageYear}${e}`;
|
|
8204
8208
|
} }, methods: { isDisabledMonth(e) {
|
|
8205
|
-
return new
|
|
8209
|
+
return new l1(this.utils, this.disabledDates).isMonthDisabled(e);
|
|
8206
8210
|
}, isOpenMonth(e) {
|
|
8207
8211
|
if (!this.openDate)
|
|
8208
8212
|
return !1;
|
|
@@ -8215,9 +8219,9 @@ var O2 = { name: "PickerMonth", components: { PickerCells: k1, UpButton: x1 }, m
|
|
|
8215
8219
|
const Ii = { key: 0 }, _i = { class: "cells-wrapper" }, yi = { key: 2 };
|
|
8216
8220
|
O2.render = function(e, n, a, l, s, i) {
|
|
8217
8221
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8218
|
-
return r(), o("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), o("div", Ii, [_(e.$slots, "beforeCalendarHeaderMonth")])) : m("v-if", !0), e.showHeader ? (r(),
|
|
8222
|
+
return r(), o("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), o("div", Ii, [_(e.$slots, "beforeCalendarHeaderMonth")])) : m("v-if", !0), e.showHeader ? (r(), V(u, { key: 1, ref: "pickerHeader", isNextDisabled: i.isNextDisabled, isPreviousDisabled: i.isPreviousDisabled, onFocusInput: e.focusInput, onPageChange: n[2] || (n[2] = (C) => e.changePage(C)), onSetFocus: n[3] || (n[3] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", isDisabled: e.isUpDisabled, onFocusInput: e.focusInput, onSelect: n[0] || (n[0] = (C) => e.$emit("set-view", "year")), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { default: L(() => [T(b(i.pageTitleMonth), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : m("v-if", !0), t("div", _i, [p(r1, { name: e.transitionName }, { default: L(() => [(r(), V(d, { ref: "cells", key: i.pageTitleMonth, cells: i.cells, tabbableCellId: e.tabbableCellId, view: "month", onArrow: n[4] || (n[4] = (C) => e.handleArrow(C)), onSelect: n[5] || (n[5] = (C) => e.select(C)) }, { default: L(({ cell: C }) => [T(b(C.month), 1)]), _: 1 }, 8, ["cells", "tabbableCellId"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterMonth ? (r(), o("div", yi, [_(e.$slots, "calendarFooterMonth")])) : m("v-if", !0)]);
|
|
8219
8223
|
}, O2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerMonth.vue";
|
|
8220
|
-
var R2 = { name: "PickerYear", components: { PickerCells:
|
|
8224
|
+
var R2 = { name: "PickerYear", components: { PickerCells: x1, UpButton: w1 }, mixins: [K2], props: { yearRange: { type: Number, default: 12 } }, computed: { cells() {
|
|
8221
8225
|
const e = this.pageDate, n = [], a = this.useUtc ? Math.floor(e.getUTCFullYear() / this.yearRange) * this.yearRange : Math.floor(e.getFullYear() / this.yearRange) * this.yearRange, l = this.useUtc ? new Date(Date.UTC(a, e.getUTCMonth(), e.getUTCDate())) : new Date(a, e.getMonth(), e.getDate(), e.getHours(), e.getMinutes()), s = this.utils.getFullYear(this.utils.getNewDateObject());
|
|
8222
8226
|
for (let c = 0; c < this.yearRange; c += 1)
|
|
8223
8227
|
n.push({ year: this.utils.getFullYear(l), timestamp: l.valueOf(), isDisabled: this.isDisabledYear(l), isOpenDate: this.isOpenYear(l), isSelected: this.isSelectedYear(l), isToday: l.getFullYear() === s }), this.utils.setFullYear(l, this.utils.getFullYear(l) + 1);
|
|
@@ -8237,7 +8241,7 @@ var R2 = { name: "PickerYear", components: { PickerCells: k1, UpButton: x1 }, mi
|
|
|
8237
8241
|
const { yearSuffix: e } = this.translation;
|
|
8238
8242
|
return `${this.pageDecadeStart} - ${this.pageDecadeEnd}${e}`;
|
|
8239
8243
|
} }, methods: { isDisabledYear(e) {
|
|
8240
|
-
return new
|
|
8244
|
+
return new l1(this.utils, this.disabledDates).isYearDisabled(e);
|
|
8241
8245
|
}, isOpenYear(e) {
|
|
8242
8246
|
return this.openDate ? this.utils.getFullYear(this.openDate) === this.utils.getFullYear(e) : !1;
|
|
8243
8247
|
}, isSelectedYear(e) {
|
|
@@ -8247,7 +8251,7 @@ var R2 = { name: "PickerYear", components: { PickerCells: k1, UpButton: x1 }, mi
|
|
|
8247
8251
|
const Hi = { key: 0 }, Vi = { class: "cells-wrapper" }, Di = { key: 2 };
|
|
8248
8252
|
R2.render = function(e, n, a, l, s, i) {
|
|
8249
8253
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8250
|
-
return r(), o("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), o("div", Hi, [_(e.$slots, "beforeCalendarHeaderYear")])) : m("v-if", !0), e.showHeader ? (r(),
|
|
8254
|
+
return r(), o("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), o("div", Hi, [_(e.$slots, "beforeCalendarHeaderYear")])) : m("v-if", !0), e.showHeader ? (r(), V(u, { key: 1, ref: "pickerHeader", "is-next-disabled": i.isNextDisabled, "is-previous-disabled": i.isPreviousDisabled, onFocusInput: e.focusInput, onPageChange: n[0] || (n[0] = (C) => e.changePage(C)), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", "is-disabled": !0 }, { default: L(() => [T(b(i.pageTitleYear), 1)]), _: 1 }, 512)]), _: 3 }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : m("v-if", !0), t("div", Vi, [p(r1, { name: e.transitionName }, { default: L(() => [(r(), V(d, { ref: "cells", key: i.pageTitleYear, cells: i.cells, "tabbable-cell-id": e.tabbableCellId, view: "year", onArrow: n[2] || (n[2] = (C) => e.handleArrow(C)), onSelect: n[3] || (n[3] = (C) => e.select(C)) }, { default: L(({ cell: C }) => [T(b(C.year), 1)]), _: 1 }, 8, ["cells", "tabbable-cell-id"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterYear ? (r(), o("div", Di, [_(e.$slots, "calendarFooterYear")])) : m("v-if", !0)]);
|
|
8251
8255
|
}, R2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerYear.vue";
|
|
8252
8256
|
const Bi = ["beforeCalendarHeaderDay", "calendarFooterDay", "beforeCalendarHeaderMonth", "calendarFooterMonth", "beforeCalendarHeaderYear", "calendarFooterYear", "nextIntervalBtn", "prevIntervalBtn"];
|
|
8253
8257
|
var K1 = { components: { DateInput: S2, DateInputRange: A2, PickerDay: N2, PickerMonth: O2, PickerYear: R2 }, mixins: [j2, di], 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(d5).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() {
|
|
@@ -8352,7 +8356,7 @@ var K1 = { components: { DateInput: S2, DateInputRange: A2, PickerDay: N2, Picke
|
|
|
8352
8356
|
}, hasClass: (e, n) => e && e.className.split(" ").includes(n), init() {
|
|
8353
8357
|
this.isInline && this.setInitialView(), this.setSlideDuration();
|
|
8354
8358
|
}, isDateDisabled(e) {
|
|
8355
|
-
return new
|
|
8359
|
+
return new l1(this.utils, this.disabledDates).isDateDisabled(e);
|
|
8356
8360
|
}, isResetFocus() {
|
|
8357
8361
|
if (!this.isOpen)
|
|
8358
8362
|
return !1;
|
|
@@ -8392,7 +8396,7 @@ var K1 = { components: { DateInput: S2, DateInputRange: A2, PickerDay: N2, Picke
|
|
|
8392
8396
|
this.setPageDate(new Date(e.timestamp)), this.$emit(`changed-${this.view}`, e), this.setView(this.nextView.down);
|
|
8393
8397
|
}, ucFirst: (e) => e[0].toUpperCase() + e.substring(1) } };
|
|
8394
8398
|
const ki = ["id"], xi = { key: 2 }, wi = { key: 0 }, Zi = { key: 1 };
|
|
8395
|
-
|
|
8399
|
+
M1(`/* base COLORS --------------------------------------------- */
|
|
8396
8400
|
/* colors BRAND */
|
|
8397
8401
|
/* colors GREY SHADES - NEUTRAL */
|
|
8398
8402
|
/* color TEXT */
|
|
@@ -8461,7 +8465,7 @@ html[data-v-0090dd57] {
|
|
|
8461
8465
|
/* base FONTS -------------------------------------- */
|
|
8462
8466
|
--primary-font: "roboto", sans-serif;
|
|
8463
8467
|
}`);
|
|
8464
|
-
|
|
8468
|
+
M1(`.slide-fade-up-enter-active,
|
|
8465
8469
|
.slide-fade-up-leave-active {
|
|
8466
8470
|
-webkit-transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
8467
8471
|
transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
@@ -8863,8 +8867,8 @@ m1(`.slide-fade-up-enter-active,
|
|
|
8863
8867
|
padding: 0;
|
|
8864
8868
|
}`), K1.render = function(e, n, a, l, s, i) {
|
|
8865
8869
|
const c = g("DateInputRange"), u = g("DateInput");
|
|
8866
|
-
return r(), o("div", { id: i.datepickerId, ref: "datepicker", class: k(["bimdata-datepicker", [a.wrapperClass]]), onFocusin: n[10] || (n[10] = (d) => e.handleFocusIn(d)), onFocusout: n[11] || (n[11] = (d) => e.handleFocusOut(d)), onKeydown: n[12] || (n[12] = x((...d) => i.resetOrClose && i.resetOrClose(...d), ["esc"])) }, [a.isDateRange ? (r(),
|
|
8867
|
-
}, ["prevent"])), onFocusin: n[6] || (n[6] =
|
|
8870
|
+
return r(), o("div", { id: i.datepickerId, ref: "datepicker", class: k(["bimdata-datepicker", [a.wrapperClass]]), onFocusin: n[10] || (n[10] = (d) => e.handleFocusIn(d)), onFocusout: n[11] || (n[11] = (d) => e.handleFocusOut(d)), onKeydown: n[12] || (n[12] = x((...d) => i.resetOrClose && i.resetOrClose(...d), ["esc"])) }, [a.isDateRange ? (r(), V(c, { key: 0, id: e.id, ref: "dateInput", autofocus: e.autofocus, calendarButton: e.calendarButton, calendarButtonIcon: e.calendarButtonIcon, calendarButtonIconContent: e.calendarButtonIconContent, clearButton: e.clearButton, clearButtonIcon: e.clearButtonIcon, disabled: e.disabled, format: e.format, inline: e.inline, inputClass: e.inputClass, isOpen: i.isOpen, maxlength: e.maxlength, name: e.name, parser: e.parser, pattern: e.pattern, placeholder: e.placeholder, refName: e.refName, required: e.required, selectedDates: [s.selectedDate, s.selectedToDate], showCalendarOnButtonClick: e.showCalendarOnButtonClick, showCalendarOnFocus: e.showCalendarOnFocus, tabIndex: e.tabIndex, translation: i.lang, useUtc: e.useUtc, onClear: i.clear, onClose: i.close, onOpen: i.open, onSetFocus: n[0] || (n[0] = (d) => e.setFocus(d)), onTab: e.tabThroughNavigation, style: H(i.style) }, { beforeDateInput: L(() => [_(e.$slots, "beforeDateInput")]), afterDateInput: L(() => [_(e.$slots, "afterDateInput")]), clearBtn: L(() => [_(e.$slots, "clearBtn")]), calendarBtn: L(() => [_(e.$slots, "calendarBtn")]), _: 3 }, 8, ["id", "autofocus", "calendarButton", "calendarButtonIcon", "calendarButtonIconContent", "clearButton", "clearButtonIcon", "disabled", "format", "inline", "inputClass", "isOpen", "maxlength", "name", "parser", "pattern", "placeholder", "refName", "required", "selectedDates", "showCalendarOnButtonClick", "showCalendarOnFocus", "tabIndex", "translation", "useUtc", "onClear", "onClose", "onOpen", "onTab", "style"])) : (r(), V(u, { key: 1, id: e.id, ref: "dateInput", autofocus: e.autofocus, calendarButton: e.calendarButton, calendarButtonIcon: e.calendarButtonIcon, calendarButtonIconContent: e.calendarButtonIconContent, clearButton: e.clearButton, clearButtonIcon: e.clearButtonIcon, disabled: e.disabled, format: e.format, inline: e.inline, inputClass: e.inputClass, isOpen: i.isOpen, maxlength: e.maxlength, name: e.name, parser: e.parser, pattern: e.pattern, placeholder: e.placeholder, refName: e.refName, required: e.required, selectedDate: s.selectedDate, showCalendarOnButtonClick: e.showCalendarOnButtonClick, showCalendarOnFocus: e.showCalendarOnFocus, tabIndex: e.tabIndex, translation: i.lang, typeable: e.typeable, useUtc: e.useUtc, onClearDate: i.clear, onClose: i.close, onOpen: i.open, onSetFocus: n[1] || (n[1] = (d) => e.setFocus(d)), onTab: e.tabThroughNavigation, style: H(i.style) }, { beforeDateInput: L(() => [_(e.$slots, "beforeDateInput")]), afterDateInput: L(() => [_(e.$slots, "afterDateInput")]), clearBtn: L(() => [_(e.$slots, "clearBtn")]), calendarBtn: L(() => [_(e.$slots, "calendarBtn")]), _: 3 }, 8, ["id", "autofocus", "calendarButton", "calendarButtonIcon", "calendarButtonIconContent", "clearButton", "clearButtonIcon", "disabled", "format", "inline", "inputClass", "isOpen", "maxlength", "name", "parser", "pattern", "placeholder", "refName", "required", "selectedDate", "showCalendarOnButtonClick", "showCalendarOnFocus", "tabIndex", "translation", "typeable", "useUtc", "onClearDate", "onClose", "onOpen", "onTab", "style"])), i.isOpen ? (r(), o("div", xi, [p(r1, { name: "toggle", persisted: "" }, { default: L(() => [G(t("div", { class: k(["bimdata-datepicker__calendar", [i.pickerClasses, a.fixedPosition]]), onMousedown: n[5] || (n[5] = S(() => {
|
|
8871
|
+
}, ["prevent"])), onFocusin: n[6] || (n[6] = S((d) => e.handleFocusIn(d), ["stop"])), onFocusout: n[7] || (n[7] = S((d) => e.handleFocusOut(d), ["stop"])), onKeydown: [n[8] || (n[8] = x(S((...d) => i.resetOrClose && i.resetOrClose(...d), ["stop"]), ["esc"])), n[9] || (n[9] = x(S((d) => e.tabThroughNavigation(d), ["stop"]), ["tab"]))] }, [p(r1, { name: "view" }, { default: L(() => [(r(), o("div", { ref: "view", key: s.view }, [e.$slots.beforeCalendarHeader ? (r(), o("div", wi, [_(e.$slots, "beforeCalendarHeader")])) : m("v-if", !0), (r(), V(C1(i.picker), { ref: "picker", class: "picker-view", "day-cell-content": a.dayCellContent, disabledDates: a.disabledDates, firstDayOfWeek: a.firstDayOfWeek, typeable: e.typeable, isUpDisabled: i.isUpDisabled, isMinimumView: i.isMinimumView, openDate: e.openDate, pageDate: i.pageDate, selectedDate: s.selectedDate, selectedToDate: s.selectedToDate, isDateRange: a.isDateRange, showEdgeDates: a.showEdgeDates, fullMonthName: a.fullMonthName, showHeader: a.showHeader, slideDuration: s.slideDuration, tabbableCellId: e.tabbableCellId, transitionName: e.transitionName, translation: i.lang, useUtc: e.useUtc, view: s.view || i.computedInitialView, yearPickerRange: a.yearPickerRange, onPageChange: i.handlePageChange, onSelect: i.handleSelect, onSetFocus: n[2] || (n[2] = (d) => e.setFocus(d)), onSetSkipReviewFocus: n[3] || (n[3] = (d) => e.skipReviewFocus = d), onSetTransitionName: n[4] || (n[4] = (d) => e.setTransitionName(d)), onSetView: i.setView }, m5({ dayCellContent: L(({ cell: d }) => [d ? _(e.$slots, "dayCellContent", { key: 0, cell: d }) : m("v-if", !0)]), _: 2 }, [U(s.calendarSlots, (d) => ({ name: d, fn: L(() => [_(e.$slots, d)]) }))]), 1064, ["day-cell-content", "disabledDates", "firstDayOfWeek", "typeable", "isUpDisabled", "isMinimumView", "openDate", "pageDate", "selectedDate", "selectedToDate", "isDateRange", "showEdgeDates", "fullMonthName", "showHeader", "slideDuration", "tabbableCellId", "transitionName", "translation", "useUtc", "view", "yearPickerRange", "onPageChange", "onSelect", "onSetView"])), e.$slots.calendarFooter ? (r(), o("div", Zi, [_(e.$slots, "calendarFooter")])) : m("v-if", !0)]))]), _: 3 })], 34), [[J, i.isOpen]])]), _: 3 })])) : m("v-if", !0)], 42, ki);
|
|
8868
8872
|
}, K1.__scopeId = "data-v-0090dd57", K1.__file = "src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue";
|
|
8869
8873
|
var E2 = { props: { component: { type: String, default: "p" }, display: { type: String, default: "inline-block" }, fontSize: { type: String }, fontWeight: { type: String }, lineHeight: { type: String }, margin: { type: String, default: "0px" }, padding: { type: String, default: "0px" }, color: { type: String, default: "color-granite-light", validator: (e) => ["color-primary", "color-secondary", "color-silver", "color-silver-light", "color-silver-dark", "color-granite-light", "color-granite", "color-white", "color-black", "color-high", "color-warning", "color-success"].includes(e) } }, computed: { classes() {
|
|
8870
8874
|
return `${this.color}`;
|
|
@@ -8878,10 +8882,10 @@ var E2 = { props: { component: { type: String, default: "p" }, display: { type:
|
|
|
8878
8882
|
return this.lineHeight ? this.lineHeight : this.component === "h1" ? "36px" : this.component === "h2" ? "30px" : this.component === "h3" ? "26px" : this.component === "h4" ? "24px" : this.component === "h5" ? "20px" : "18px";
|
|
8879
8883
|
} } };
|
|
8880
8884
|
E2.render = function(e, n, a, l, s, i) {
|
|
8881
|
-
return r(),
|
|
8885
|
+
return r(), V(C1(a.component), { style: H(i.style), class: k(i.classes) }, { default: L(() => [_(e.$slots, "default")]), _: 3 }, 8, ["style", "class"]);
|
|
8882
8886
|
}, E2.__file = "src/BIMDataComponents/BIMDataText/BIMDataText.vue";
|
|
8883
|
-
var
|
|
8884
|
-
const Si = { class: "bimdata-loading" }, Ai = ((e) => (
|
|
8887
|
+
var u1 = { components: { BIMDataText: E2 }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
|
|
8888
|
+
const Si = { class: "bimdata-loading" }, Ai = ((e) => (i1("data-v-6d3be186"), e = e(), s1(), e))(() => t("span", { class: "bimdata-loading--square" }, null, -1));
|
|
8885
8889
|
function T5(e, n) {
|
|
8886
8890
|
n === void 0 && (n = {});
|
|
8887
8891
|
var a = n.insertAt;
|
|
@@ -9065,10 +9069,10 @@ T5(`@-webkit-keyframes bimdataloading {
|
|
|
9065
9069
|
.bimdata-loading p {
|
|
9066
9070
|
text-align: center;
|
|
9067
9071
|
margin: 0;
|
|
9068
|
-
}`),
|
|
9072
|
+
}`), u1.render = function(e, n, a, l, s, i) {
|
|
9069
9073
|
const c = g("BIMDataText");
|
|
9070
9074
|
return r(), o("div", Si, [Ai, p(c, { color: "color-white", margin: "12px 0 0" }, { default: L(() => [t("p", null, b(a.message), 1), t("p", null, b(a.subMessage), 1)]), _: 1 })]);
|
|
9071
|
-
},
|
|
9075
|
+
}, u1.__scopeId = "data-v-6d3be186", u1.__file = "src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue";
|
|
9072
9076
|
const Ti = { "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" }, $i = { render: function(e, n) {
|
|
9073
9077
|
return r(), o("path", Ti);
|
|
9074
9078
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, Ni = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.55 15.0531H16.0997V18.503H13.7999V15.0531H10.35V12.7529H13.7999V9.303H16.0997V12.7529H19.55V15.0531ZM20.7001 5.85364H11.4997L9.19989 3.55383H2.29968C1.02325 3.55383 0.0113988 4.5772 0.0113988 5.85364L-0.00012207 19.6537C-0.00012207 20.9301 1.02325 21.9539 2.29968 21.9539H20.7001C21.9761 21.9539 22.9999 20.9301 22.9999 19.6537V8.15384C22.9999 6.87701 21.9761 5.85364 20.7001 5.85364Z" }, Oi = { render: function(e, n) {
|
|
@@ -9556,9 +9560,9 @@ q2(`.icon-fill--black {
|
|
|
9556
9560
|
.icon-stroke--white {
|
|
9557
9561
|
stroke: var(--color-white);
|
|
9558
9562
|
}`), q1.render = function(e, n, a, l, s, i) {
|
|
9559
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(),
|
|
9563
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), V(C1(`bimdata-icon-${a.name}`)))], 14, ip);
|
|
9560
9564
|
}, q1.__scopeId = "data-v-1312d4d1", q1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
9561
|
-
var
|
|
9565
|
+
var B1 = { components: { BIMDataIcon: q1 }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } };
|
|
9562
9566
|
const sp = { class: "overlay flex items-center justify-center" }, cp = { class: "safe-zone__content flex flex-col items-center justify-center p-18" }, dp = { class: "safe-zone__actions flex items-center p-x-18" };
|
|
9563
9567
|
q2(`.overlay[data-v-1bd53efd] {
|
|
9564
9568
|
position: absolute;
|
|
@@ -9596,11 +9600,11 @@ q2(`.overlay[data-v-1bd53efd] {
|
|
|
9596
9600
|
justify-content: space-evenly;
|
|
9597
9601
|
background-color: var(--color-silver-light);
|
|
9598
9602
|
border-top: 1px solid var(--color-silver);
|
|
9599
|
-
}`),
|
|
9603
|
+
}`), B1.render = function(e, n, a, l, s, i) {
|
|
9600
9604
|
const c = g("BIMDataIcon");
|
|
9601
9605
|
return r(), o("div", sp, [t("div", { class: "safe-zone", style: H({ width: a.width }) }, [t("div", cp, [p(c, { name: a.iconName, size: "l", fill: "", color: "high" }, null, 8, ["name"]), t("p", null, [_(e.$slots, "text")])]), t("div", dp, [_(e.$slots, "actions")])], 4)]);
|
|
9602
|
-
},
|
|
9603
|
-
var
|
|
9606
|
+
}, B1.__scopeId = "data-v-1bd53efd", B1.__file = "src/BIMDataComponents/BIMDataSafeZoneModal/BIMDataSafeZoneModal.vue";
|
|
9607
|
+
var v1 = { 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() {
|
|
9604
9608
|
this.$watch(() => this.success && this.error, (e) => {
|
|
9605
9609
|
if (e)
|
|
9606
9610
|
throw new Error("Textarea state cannot be both success and error.");
|
|
@@ -9616,7 +9620,7 @@ var L1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { n
|
|
|
9616
9620
|
}, onInput(e) {
|
|
9617
9621
|
this.$emit("update:modelValue", e.currentTarget.value), this.fitContent && this.handleFitContent();
|
|
9618
9622
|
} } };
|
|
9619
|
-
const up = ["name", "id", "value", "placeholder"], Cp = ["for"], pp = ((e) => (
|
|
9623
|
+
const up = ["name", "id", "value", "placeholder"], Cp = ["for"], pp = ((e) => (i1("data-v-76eaf75a"), e = e(), s1(), e))(() => t("span", { class: "bar" }, null, -1)), hp = { key: 0, class: "error" }, bp = { key: 1, class: "success" };
|
|
9620
9624
|
function $5(e, n) {
|
|
9621
9625
|
n === void 0 && (n = {});
|
|
9622
9626
|
var a = n.insertAt;
|
|
@@ -9889,10 +9893,10 @@ $5(`textarea:-webkit-autofill {
|
|
|
9889
9893
|
}
|
|
9890
9894
|
.bimdata-textarea.success .bar::before, .bimdata-textarea.success .bar::after {
|
|
9891
9895
|
background-color: var(--color-success);
|
|
9892
|
-
}`),
|
|
9893
|
-
return r(), o("div", { class: k(["bimdata-textarea", { "not-empty": a.modelValue !== null && a.modelValue !== "" || a.placeholder !== null, error: a.error, success: a.success }]), style: H({ "min-width": a.width, "min-height": a.height }) }, [t("textarea",
|
|
9894
|
-
},
|
|
9895
|
-
var
|
|
9896
|
+
}`), v1.render = function(e, n, a, l, s, i) {
|
|
9897
|
+
return r(), o("div", { class: k(["bimdata-textarea", { "not-empty": a.modelValue !== null && a.modelValue !== "" || a.placeholder !== null, error: a.error, success: a.success }]), style: H({ "min-width": a.width, "min-height": a.height }) }, [t("textarea", Z1({ ref: "textarea", name: a.name, id: a.name, value: a.modelValue, placeholder: a.placeholder, style: a.resizable ? "" : "resize: none;", onInput: n[0] || (n[0] = (...c) => i.onInput && i.onInput(...c)) }, e.$attrs), null, 16, up), t("label", { for: a.name }, b(a.label), 9, Cp), pp, a.error ? (r(), o("span", hp, b(a.errorMessage), 1)) : m("v-if", !0), a.success ? (r(), o("span", bp, b(a.successMessage), 1)) : m("v-if", !0)], 6);
|
|
9898
|
+
}, v1.__scopeId = "data-v-76eaf75a", v1.__file = "src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue";
|
|
9899
|
+
var k1 = { props: { text: { type: String, default: "" }, maxWidth: { type: String, default: "240px" }, position: { type: String, default: "bottom", validator: (e) => ["top", "right", "bottom", "left"].includes(e) }, color: { type: String, default: "primary", validator: (e) => ["white", "primary", "secondary", "granite-light", "silver-light", "success", "warning", "high"].includes(e) }, disabled: { type: Boolean, default: !1 }, message: { type: String }, className: { type: [String, Array] } }, data: () => ({ width: null, height: null, parentHeight: null, hover: !1 }), computed: { isDisplayed() {
|
|
9896
9900
|
return !this.disabled && this._text && this.hover;
|
|
9897
9901
|
}, _text() {
|
|
9898
9902
|
return this.text || this.message;
|
|
@@ -10190,13 +10194,13 @@ html[data-v-41eb8f46] {
|
|
|
10190
10194
|
}
|
|
10191
10195
|
.bimdata-tooltip__tooltip--high[data-v-41eb8f46]::before {
|
|
10192
10196
|
border-color: var(--color-high) transparent transparent;
|
|
10193
|
-
}`),
|
|
10194
|
-
return r(), o("div", gp, [t("div", { class: "bimdata-tooltip__content", onMouseover: n[0] || (n[0] = (c) => s.hover = !0), onMouseleave: n[1] || (n[1] = (c) => s.hover = !1) }, [m(' slot "content" for retro-compatibility '), _(e.$slots, "content"), _(e.$slots, "default")], 32), p(
|
|
10195
|
-
},
|
|
10197
|
+
}`), k1.render = function(e, n, a, l, s, i) {
|
|
10198
|
+
return r(), o("div", gp, [t("div", { class: "bimdata-tooltip__content", onMouseover: n[0] || (n[0] = (c) => s.hover = !0), onMouseleave: n[1] || (n[1] = (c) => s.hover = !1) }, [m(' slot "content" for retro-compatibility '), _(e.$slots, "content"), _(e.$slots, "default")], 32), p(r1, { name: "fade", persisted: "" }, { default: L(() => [G(t("div", { ref: "tooltipText", class: k(["bimdata-tooltip__tooltip", [`bimdata-tooltip__tooltip--${a.position}`, `bimdata-tooltip__tooltip--${a.color}`, ...i._className]]), style: H({ maxWidth: a.maxWidth }) }, b(i._text), 7), [[J, i.isDisplayed]])]), _: 1 })]);
|
|
10199
|
+
}, k1.__scopeId = "data-v-41eb8f46", k1.__file = "src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";
|
|
10196
10200
|
const fp = {
|
|
10197
10201
|
components: {
|
|
10198
10202
|
BIMDataButton: W,
|
|
10199
|
-
BIMDataIcon:
|
|
10203
|
+
BIMDataIcon: K
|
|
10200
10204
|
},
|
|
10201
10205
|
props: {
|
|
10202
10206
|
viewpoints: {
|
|
@@ -10288,7 +10292,7 @@ function Dp(e, n, a, l, s, i) {
|
|
|
10288
10292
|
size: "xs",
|
|
10289
10293
|
margin: "0 6px 0 0"
|
|
10290
10294
|
}),
|
|
10291
|
-
|
|
10295
|
+
T(" " + b(e.$t("BcfComponents.BcfTopicForm.addPictureButton")), 1)
|
|
10292
10296
|
]),
|
|
10293
10297
|
t("input", {
|
|
10294
10298
|
disabled: a.viewpoints.length >= 4,
|
|
@@ -10335,7 +10339,7 @@ const Bp = /* @__PURE__ */ F(fp, [["render", Dp], ["__scopeId", "data-v-65d2afee
|
|
|
10335
10339
|
const kp = {
|
|
10336
10340
|
components: {
|
|
10337
10341
|
BIMDataButton: W,
|
|
10338
|
-
BIMDataIcon:
|
|
10342
|
+
BIMDataIcon: K
|
|
10339
10343
|
},
|
|
10340
10344
|
props: {
|
|
10341
10345
|
viewpoints: {
|
|
@@ -10417,14 +10421,14 @@ const Tp = {
|
|
|
10417
10421
|
BcfTopicSnapshots: Ap,
|
|
10418
10422
|
BIMDataButton: W,
|
|
10419
10423
|
BIMDataDatePicker: K1,
|
|
10420
|
-
BIMDataIcon:
|
|
10421
|
-
BIMDataInput:
|
|
10422
|
-
BIMDataLoading:
|
|
10423
|
-
BIMDataSafeZoneModal:
|
|
10424
|
+
BIMDataIcon: K,
|
|
10425
|
+
BIMDataInput: d1,
|
|
10426
|
+
BIMDataLoading: u1,
|
|
10427
|
+
BIMDataSafeZoneModal: B1,
|
|
10424
10428
|
BIMDataSelect: l2,
|
|
10425
|
-
BIMDataTextarea:
|
|
10426
|
-
BIMDataTextbox:
|
|
10427
|
-
BIMDataTooltip:
|
|
10429
|
+
BIMDataTextarea: v1,
|
|
10430
|
+
BIMDataTextbox: a1,
|
|
10431
|
+
BIMDataTooltip: k1
|
|
10428
10432
|
},
|
|
10429
10433
|
props: {
|
|
10430
10434
|
uiConfig: {
|
|
@@ -10480,28 +10484,28 @@ const Tp = {
|
|
|
10480
10484
|
"topic-update-error"
|
|
10481
10485
|
],
|
|
10482
10486
|
setup(e, { emit: n }) {
|
|
10483
|
-
const a =
|
|
10487
|
+
const a = S1(), l = O(
|
|
10484
10488
|
() => !e.topic
|
|
10485
10489
|
), s = O(
|
|
10486
|
-
() => Math.max(0, ...e.topics.map((
|
|
10487
|
-
), i = B(""), c = B(null), u = B(null), d = B(null), C = B(null), f = B(null), h = B(null), v = B(""), I = B([]), M = B([]), y = B([]), w = B([]), E = B([]),
|
|
10488
|
-
() => M.value.concat(y.value).filter((
|
|
10489
|
-
),
|
|
10490
|
-
|
|
10490
|
+
() => Math.max(0, ...e.topics.map(($) => $.index)) + 1
|
|
10491
|
+
), i = B(""), c = B(null), u = B(null), d = B(null), C = B(null), f = B(null), h = B(null), v = B(""), I = B([]), M = B([]), y = B([]), w = B([]), E = B([]), A = O(
|
|
10492
|
+
() => M.value.concat(y.value).filter(($) => !E.value.some((q) => q.guid === $.guid)).filter(($) => $.snapshot)
|
|
10493
|
+
), Y = B(!1), h1 = B(!1), D = B(!1);
|
|
10494
|
+
t1(
|
|
10491
10495
|
() => e.topic,
|
|
10492
|
-
(
|
|
10493
|
-
l.value || (i.value =
|
|
10496
|
+
($) => {
|
|
10497
|
+
l.value || (i.value = $.title || "", c.value = $.topic_type || null, u.value = $.priority || null, d.value = $.topic_status || null, C.value = $.stage || null, f.value = $.assigned_to || null, h.value = $.due_date, v.value = $.description || "", I.value = $.labels || [], M.value = $.viewpoints || []);
|
|
10494
10498
|
},
|
|
10495
10499
|
{ immediate: !0 }
|
|
10496
10500
|
);
|
|
10497
|
-
const
|
|
10498
|
-
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, f.value = null, h.value = null, v.value = "", I.value = [], M.value = [], y.value = [], w.value = [], E.value = [],
|
|
10501
|
+
const Z = () => {
|
|
10502
|
+
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, f.value = null, h.value = null, v.value = "", I.value = [], M.value = [], y.value = [], w.value = [], E.value = [], Y.value = !1, h1.value = !1, D.value = !1;
|
|
10499
10503
|
};
|
|
10500
10504
|
return {
|
|
10501
|
-
hasErrorTitle:
|
|
10505
|
+
hasErrorTitle: D,
|
|
10502
10506
|
isCreation: l,
|
|
10503
|
-
isOpenModal:
|
|
10504
|
-
loading:
|
|
10507
|
+
isOpenModal: h1,
|
|
10508
|
+
loading: Y,
|
|
10505
10509
|
nextIndex: s,
|
|
10506
10510
|
topicAssignedTo: f,
|
|
10507
10511
|
topicDescription: v,
|
|
@@ -10512,37 +10516,37 @@ const Tp = {
|
|
|
10512
10516
|
topicLabels: I,
|
|
10513
10517
|
topicTitle: i,
|
|
10514
10518
|
topicType: c,
|
|
10515
|
-
viewpointsToDisplay:
|
|
10516
|
-
addViewpoint: (
|
|
10517
|
-
y.value.push(
|
|
10519
|
+
viewpointsToDisplay: A,
|
|
10520
|
+
addViewpoint: ($) => {
|
|
10521
|
+
y.value.push($);
|
|
10518
10522
|
},
|
|
10519
|
-
delViewpoint: (
|
|
10520
|
-
if (
|
|
10521
|
-
E.value.push(
|
|
10523
|
+
delViewpoint: ($) => {
|
|
10524
|
+
if ($.guid)
|
|
10525
|
+
E.value.push($);
|
|
10522
10526
|
else {
|
|
10523
|
-
let
|
|
10524
|
-
y.value.splice(
|
|
10527
|
+
let q = y.value.indexOf($);
|
|
10528
|
+
y.value.splice(q, 1);
|
|
10525
10529
|
}
|
|
10526
10530
|
},
|
|
10527
10531
|
submit: async () => {
|
|
10528
|
-
var
|
|
10532
|
+
var $, q;
|
|
10529
10533
|
if (!i.value) {
|
|
10530
|
-
|
|
10534
|
+
D.value = !0;
|
|
10531
10535
|
return;
|
|
10532
10536
|
}
|
|
10533
10537
|
try {
|
|
10534
|
-
|
|
10535
|
-
(
|
|
10536
|
-
), w.value.length === 0 && y.value.sort((
|
|
10538
|
+
Y.value = !0, w.value = M.value.map(
|
|
10539
|
+
(j) => ({ ...j, snapshot: void 0 })
|
|
10540
|
+
), w.value.length === 0 && y.value.sort((j, O5) => {
|
|
10537
10541
|
var J2, Q2;
|
|
10538
|
-
return ((J2 =
|
|
10542
|
+
return ((J2 = j.order) != null ? J2 : 1 / 0) - ((Q2 = O5.order) != null ? Q2 : 1 / 0);
|
|
10539
10543
|
}), e.topicObjects && (w.value.length > 0 || y.value.length > 0 ? [
|
|
10540
10544
|
...w.value,
|
|
10541
10545
|
...y.value
|
|
10542
|
-
].forEach((
|
|
10543
|
-
Object.assign(
|
|
10546
|
+
].forEach((j) => {
|
|
10547
|
+
Object.assign(j, {
|
|
10544
10548
|
components: e.topicObjects
|
|
10545
|
-
}),
|
|
10549
|
+
}), j.components.selection || (j.components.selection = []), j.components.visibility || (j.components.visibility = {
|
|
10546
10550
|
default_visibility: !0,
|
|
10547
10551
|
exceptions: [],
|
|
10548
10552
|
view_setup_hints: {
|
|
@@ -10557,11 +10561,11 @@ const Tp = {
|
|
|
10557
10561
|
...w.value,
|
|
10558
10562
|
...y.value
|
|
10559
10563
|
].forEach(
|
|
10560
|
-
(
|
|
10564
|
+
(j) => j.pins = e.topicAnnotations
|
|
10561
10565
|
);
|
|
10562
|
-
const
|
|
10563
|
-
guid: (
|
|
10564
|
-
models: ((
|
|
10566
|
+
const o1 = {
|
|
10567
|
+
guid: ($ = e.topic) == null ? void 0 : $.guid,
|
|
10568
|
+
models: ((q = e.topic) == null ? void 0 : q.models) || e.topicModels,
|
|
10565
10569
|
title: i.value,
|
|
10566
10570
|
topic_type: c.value,
|
|
10567
10571
|
priority: u.value,
|
|
@@ -10573,20 +10577,20 @@ const Tp = {
|
|
|
10573
10577
|
labels: I.value,
|
|
10574
10578
|
viewpoints: w.value
|
|
10575
10579
|
};
|
|
10576
|
-
let
|
|
10577
|
-
l.value ?
|
|
10580
|
+
let b1;
|
|
10581
|
+
l.value ? b1 = await a.createTopic(e.project, o1) : b1 = await a.updateTopic(e.project, o1), await Promise.all(
|
|
10578
10582
|
y.value.map(
|
|
10579
|
-
(
|
|
10583
|
+
(j) => a.createViewpoint(e.project, b1, j)
|
|
10580
10584
|
)
|
|
10581
10585
|
), await Promise.all(
|
|
10582
10586
|
E.value.map(
|
|
10583
|
-
(
|
|
10587
|
+
(j) => a.deleteViewpoint(e.project, b1, j)
|
|
10584
10588
|
)
|
|
10585
|
-
), l.value ? (n("topic-created",
|
|
10586
|
-
} catch (
|
|
10587
|
-
n(l.value ? "topic-create-error" : "topic-update-error",
|
|
10589
|
+
), l.value ? (n("topic-created", b1), Z()) : n("topic-updated", b1);
|
|
10590
|
+
} catch (o1) {
|
|
10591
|
+
n(l.value ? "topic-create-error" : "topic-update-error", o1);
|
|
10588
10592
|
} finally {
|
|
10589
|
-
|
|
10593
|
+
Y.value = !1;
|
|
10590
10594
|
}
|
|
10591
10595
|
}
|
|
10592
10596
|
};
|
|
@@ -10605,12 +10609,12 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10605
10609
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicSnapshots"), f = g("BIMDataTooltip"), h = g("BcfTopicImages"), v = g("BIMDataInput"), I = g("BIMDataSelect"), M = g("BIMDataDatePicker"), y = g("BIMDataTextarea"), w = g("BIMDataLoading"), E = g("BIMDataSafeZoneModal");
|
|
10606
10610
|
return r(), o("div", $p, [
|
|
10607
10611
|
t("div", Np, [
|
|
10608
|
-
a.uiConfig.backButton ? (r(),
|
|
10612
|
+
a.uiConfig.backButton ? (r(), V(u, {
|
|
10609
10613
|
key: 0,
|
|
10610
10614
|
ghost: "",
|
|
10611
10615
|
rounded: "",
|
|
10612
10616
|
icon: "",
|
|
10613
|
-
onClick: n[0] || (n[0] = (
|
|
10617
|
+
onClick: n[0] || (n[0] = (A) => e.$emit("back"))
|
|
10614
10618
|
}, {
|
|
10615
10619
|
default: L(() => [
|
|
10616
10620
|
p(c, {
|
|
@@ -10624,19 +10628,19 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10624
10628
|
})) : m("", !0),
|
|
10625
10629
|
t("div", Op, [
|
|
10626
10630
|
l.isCreation ? (r(), o(R, { key: 0 }, [
|
|
10627
|
-
|
|
10628
|
-
], 64)) : (r(),
|
|
10631
|
+
T(b(e.$t("BcfComponents.BcfTopicForm.createTitle")), 1)
|
|
10632
|
+
], 64)) : (r(), V(d, {
|
|
10629
10633
|
key: 1,
|
|
10630
10634
|
maxWidth: "250px",
|
|
10631
10635
|
text: a.topic.title
|
|
10632
10636
|
}, null, 8, ["text"]))
|
|
10633
10637
|
]),
|
|
10634
|
-
a.uiConfig.closeButton ? (r(),
|
|
10638
|
+
a.uiConfig.closeButton ? (r(), V(u, {
|
|
10635
10639
|
key: 1,
|
|
10636
10640
|
ghost: "",
|
|
10637
10641
|
rounded: "",
|
|
10638
10642
|
icon: "",
|
|
10639
|
-
onClick: n[1] || (n[1] = (
|
|
10643
|
+
onClick: n[1] || (n[1] = (A) => e.$emit("close"))
|
|
10640
10644
|
}, {
|
|
10641
10645
|
default: L(() => [
|
|
10642
10646
|
p(c, {
|
|
@@ -10665,7 +10669,7 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10665
10669
|
fill: "",
|
|
10666
10670
|
radius: "",
|
|
10667
10671
|
disabled: !a.objectsEditEnabled,
|
|
10668
|
-
onClick: n[2] || (n[2] = (
|
|
10672
|
+
onClick: n[2] || (n[2] = (A) => e.$emit("edit-topic-objects", a.topic))
|
|
10669
10673
|
}, {
|
|
10670
10674
|
default: L(() => [
|
|
10671
10675
|
p(c, {
|
|
@@ -10690,7 +10694,7 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10690
10694
|
fill: "",
|
|
10691
10695
|
radius: "",
|
|
10692
10696
|
disabled: !a.annotationsEditEnabled || l.viewpointsToDisplay.length === 0,
|
|
10693
|
-
onClick: n[3] || (n[3] = (
|
|
10697
|
+
onClick: n[3] || (n[3] = (A) => e.$emit("edit-topic-annotations", a.topic))
|
|
10694
10698
|
}, {
|
|
10695
10699
|
default: L(() => [
|
|
10696
10700
|
p(c, {
|
|
@@ -10707,7 +10711,7 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10707
10711
|
_: 1
|
|
10708
10712
|
}, 8, ["disabled", "text"])
|
|
10709
10713
|
])
|
|
10710
|
-
], 64)) : (r(),
|
|
10714
|
+
], 64)) : (r(), V(h, {
|
|
10711
10715
|
key: 1,
|
|
10712
10716
|
viewpoints: l.viewpointsToDisplay,
|
|
10713
10717
|
onAddViewpoint: l.addViewpoint,
|
|
@@ -10719,48 +10723,48 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10719
10723
|
error: l.hasErrorTitle,
|
|
10720
10724
|
errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
|
|
10721
10725
|
modelValue: l.topicTitle,
|
|
10722
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
10723
|
-
onKeyup: x(
|
|
10726
|
+
"onUpdate:modelValue": n[4] || (n[4] = (A) => l.topicTitle = A),
|
|
10727
|
+
onKeyup: x(S(l.submit, ["stop"]), ["enter"])
|
|
10724
10728
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
|
|
10725
10729
|
p(I, {
|
|
10726
10730
|
width: "100%",
|
|
10727
10731
|
label: e.$t("BcfComponents.BcfTopicForm.typeLabel"),
|
|
10728
10732
|
options: a.extensions.topic_type,
|
|
10729
10733
|
modelValue: l.topicType,
|
|
10730
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
10734
|
+
"onUpdate:modelValue": n[5] || (n[5] = (A) => l.topicType = A)
|
|
10731
10735
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10732
10736
|
p(I, {
|
|
10733
10737
|
width: "100%",
|
|
10734
10738
|
label: e.$t("BcfComponents.BcfTopicForm.priorityLabel"),
|
|
10735
10739
|
options: a.extensions.priority,
|
|
10736
10740
|
modelValue: l.topicPriority,
|
|
10737
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
10741
|
+
"onUpdate:modelValue": n[6] || (n[6] = (A) => l.topicPriority = A)
|
|
10738
10742
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10739
10743
|
p(I, {
|
|
10740
10744
|
width: "100%",
|
|
10741
10745
|
label: e.$t("BcfComponents.BcfTopicForm.statusLabel"),
|
|
10742
10746
|
options: a.extensions.topic_status,
|
|
10743
10747
|
modelValue: l.topicStatus,
|
|
10744
|
-
"onUpdate:modelValue": n[7] || (n[7] = (
|
|
10748
|
+
"onUpdate:modelValue": n[7] || (n[7] = (A) => l.topicStatus = A)
|
|
10745
10749
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10746
10750
|
p(I, {
|
|
10747
10751
|
width: "100%",
|
|
10748
10752
|
label: e.$t("BcfComponents.BcfTopicForm.stageLabel"),
|
|
10749
10753
|
options: a.extensions.stage,
|
|
10750
10754
|
modelValue: l.topicStage,
|
|
10751
|
-
"onUpdate:modelValue": n[8] || (n[8] = (
|
|
10755
|
+
"onUpdate:modelValue": n[8] || (n[8] = (A) => l.topicStage = A)
|
|
10752
10756
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10753
10757
|
p(I, {
|
|
10754
10758
|
width: "100%",
|
|
10755
10759
|
label: e.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
|
|
10756
10760
|
options: a.extensions.user_id_type,
|
|
10757
10761
|
modelValue: l.topicAssignedTo,
|
|
10758
|
-
"onUpdate:modelValue": n[9] || (n[9] = (
|
|
10762
|
+
"onUpdate:modelValue": n[9] || (n[9] = (A) => l.topicAssignedTo = A)
|
|
10759
10763
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10760
10764
|
t("div", Wp, [
|
|
10761
10765
|
p(M, {
|
|
10762
10766
|
modelValue: l.topicDueDate,
|
|
10763
|
-
"onUpdate:modelValue": n[10] || (n[10] = (
|
|
10767
|
+
"onUpdate:modelValue": n[10] || (n[10] = (A) => l.topicDueDate = A),
|
|
10764
10768
|
value: l.topicDueDate,
|
|
10765
10769
|
clearButton: !0,
|
|
10766
10770
|
width: "100%",
|
|
@@ -10772,7 +10776,7 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10772
10776
|
name: "description",
|
|
10773
10777
|
label: e.$t("BcfComponents.BcfTopicForm.descriptionLabel"),
|
|
10774
10778
|
modelValue: l.topicDescription,
|
|
10775
|
-
"onUpdate:modelValue": n[11] || (n[11] = (
|
|
10779
|
+
"onUpdate:modelValue": n[11] || (n[11] = (A) => l.topicDescription = A),
|
|
10776
10780
|
fitContent: ""
|
|
10777
10781
|
}, null, 8, ["label", "modelValue"]),
|
|
10778
10782
|
p(I, {
|
|
@@ -10781,7 +10785,7 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10781
10785
|
label: e.$t("BcfComponents.BcfTopicForm.labelsLabel"),
|
|
10782
10786
|
options: a.extensions.topic_label,
|
|
10783
10787
|
modelValue: l.topicLabels,
|
|
10784
|
-
"onUpdate:modelValue": n[12] || (n[12] = (
|
|
10788
|
+
"onUpdate:modelValue": n[12] || (n[12] = (A) => l.topicLabels = A)
|
|
10785
10789
|
}, null, 8, ["label", "options", "modelValue"])
|
|
10786
10790
|
])
|
|
10787
10791
|
]),
|
|
@@ -10795,7 +10799,7 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10795
10799
|
onClick: l.submit
|
|
10796
10800
|
}, {
|
|
10797
10801
|
default: L(() => [
|
|
10798
|
-
|
|
10802
|
+
T(b(e.$t(`BcfComponents.BcfTopicForm.${l.isCreation ? "createButton" : "updateButton"}`)), 1)
|
|
10799
10803
|
]),
|
|
10800
10804
|
_: 1
|
|
10801
10805
|
}, 8, ["disabled", "onClick"])
|
|
@@ -10803,9 +10807,9 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10803
10807
|
l.loading ? (r(), o("div", jp, [
|
|
10804
10808
|
p(w)
|
|
10805
10809
|
])) : m("", !0),
|
|
10806
|
-
l.isOpenModal ? (r(),
|
|
10810
|
+
l.isOpenModal ? (r(), V(E, { key: 1 }, {
|
|
10807
10811
|
text: L(() => [
|
|
10808
|
-
|
|
10812
|
+
T(b(e.$t("BcfComponents.BcfTopicForm.modalText", { name: a.topic.title })), 1)
|
|
10809
10813
|
]),
|
|
10810
10814
|
actions: L(() => [
|
|
10811
10815
|
p(u, {
|
|
@@ -10813,10 +10817,10 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10813
10817
|
color: "high",
|
|
10814
10818
|
fill: "",
|
|
10815
10819
|
radius: "",
|
|
10816
|
-
onClick: n[13] || (n[13] = (
|
|
10820
|
+
onClick: n[13] || (n[13] = (A) => e.$emit("close"))
|
|
10817
10821
|
}, {
|
|
10818
10822
|
default: L(() => [
|
|
10819
|
-
|
|
10823
|
+
T(b(e.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
|
|
10820
10824
|
]),
|
|
10821
10825
|
_: 1
|
|
10822
10826
|
}),
|
|
@@ -10824,10 +10828,10 @@ function Kp(e, n, a, l, s, i) {
|
|
|
10824
10828
|
color: "primary",
|
|
10825
10829
|
outline: "",
|
|
10826
10830
|
radius: "",
|
|
10827
|
-
onClick: n[14] || (n[14] = (
|
|
10831
|
+
onClick: n[14] || (n[14] = (A) => l.isOpenModal = !1)
|
|
10828
10832
|
}, {
|
|
10829
10833
|
default: L(() => [
|
|
10830
|
-
|
|
10834
|
+
T(b(e.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
|
|
10831
10835
|
]),
|
|
10832
10836
|
_: 1
|
|
10833
10837
|
})
|
|
@@ -10879,8 +10883,8 @@ function eh(e, n, a, l, s, i) {
|
|
|
10879
10883
|
key: 0,
|
|
10880
10884
|
src: a.user.profile_picture
|
|
10881
10885
|
}, null, 8, Qp)) : l.initials ? (r(), o(R, { key: 1 }, [
|
|
10882
|
-
|
|
10883
|
-
], 64)) : (r(),
|
|
10886
|
+
T(b(l.initials), 1)
|
|
10887
|
+
], 64)) : (r(), V(c, {
|
|
10884
10888
|
key: 2,
|
|
10885
10889
|
name: "user",
|
|
10886
10890
|
size: "xs"
|
|
@@ -10891,10 +10895,10 @@ const N5 = /* @__PURE__ */ F(Jp, [["render", eh], ["__scopeId", "data-v-3c02f1a9
|
|
|
10891
10895
|
const nh = {
|
|
10892
10896
|
components: {
|
|
10893
10897
|
BIMDataButton: W,
|
|
10894
|
-
BIMDataIcon:
|
|
10895
|
-
BIMDataLoading:
|
|
10896
|
-
BIMDataTextarea:
|
|
10897
|
-
BIMDataTextbox:
|
|
10898
|
+
BIMDataIcon: K,
|
|
10899
|
+
BIMDataLoading: u1,
|
|
10900
|
+
BIMDataTextarea: v1,
|
|
10901
|
+
BIMDataTextbox: a1,
|
|
10898
10902
|
UserAvatar: N5
|
|
10899
10903
|
},
|
|
10900
10904
|
props: {
|
|
@@ -10916,7 +10920,7 @@ const nh = {
|
|
|
10916
10920
|
"comment-deleted"
|
|
10917
10921
|
],
|
|
10918
10922
|
setup(e, { emit: n }) {
|
|
10919
|
-
const a =
|
|
10923
|
+
const a = S1(), l = B(!1), s = B(!1), i = () => s.value = !1, c = () => s.value = !s.value, u = B(e.comment.comment), d = B(!1), C = () => {
|
|
10920
10924
|
d.value = !0, i();
|
|
10921
10925
|
}, f = () => {
|
|
10922
10926
|
d.value = !1, u.value = e.comment.comment;
|
|
@@ -10964,7 +10968,7 @@ const nh = {
|
|
|
10964
10968
|
toggleMenu: c
|
|
10965
10969
|
};
|
|
10966
10970
|
}
|
|
10967
|
-
}, th = (e) => (
|
|
10971
|
+
}, th = (e) => (i1("data-v-abad358d"), e = e(), s1(), e), rh = { class: "topic-comment" }, oh = { class: "topic-comment__header flex items-center justify-between" }, ah = { class: "topic-comment__header__left flex items-center" }, lh = {
|
|
10968
10972
|
key: 1,
|
|
10969
10973
|
class: "topic-comment__header__left__user flex items-center justify-center m-r-12"
|
|
10970
10974
|
}, ih = /* @__PURE__ */ th(() => /* @__PURE__ */ t("span", { class: "color-granite m-x-6" }, " \u2022 ", -1)), sh = { class: "color-granite" }, ch = { class: "topic-comment__header__right" }, dh = { class: "topic-comment__header__right__actions flex" }, uh = {
|
|
@@ -10976,7 +10980,7 @@ function hh(e, n, a, l, s, i) {
|
|
|
10976
10980
|
return r(), o("div", rh, [
|
|
10977
10981
|
t("div", oh, [
|
|
10978
10982
|
t("div", ah, [
|
|
10979
|
-
a.comment.user ? (r(),
|
|
10983
|
+
a.comment.user ? (r(), V(c, {
|
|
10980
10984
|
key: 0,
|
|
10981
10985
|
class: "m-r-12",
|
|
10982
10986
|
style: { "box-shadow": "var(--box-shadow)" },
|
|
@@ -11099,7 +11103,7 @@ function hh(e, n, a, l, s, i) {
|
|
|
11099
11103
|
onClick: l.submitDelete
|
|
11100
11104
|
}, {
|
|
11101
11105
|
default: L(() => [
|
|
11102
|
-
|
|
11106
|
+
T(b(e.$t("BcfComponents.BcfTopicComments.deleteButton")), 1)
|
|
11103
11107
|
]),
|
|
11104
11108
|
_: 1
|
|
11105
11109
|
}, 8, ["onClick"]),
|
|
@@ -11121,7 +11125,7 @@ function hh(e, n, a, l, s, i) {
|
|
|
11121
11125
|
})
|
|
11122
11126
|
])
|
|
11123
11127
|
])) : m("", !0),
|
|
11124
|
-
!l.showMenu && !l.isDeleting && !l.isEditing ? (r(),
|
|
11128
|
+
!l.showMenu && !l.isDeleting && !l.isEditing ? (r(), V(C, {
|
|
11125
11129
|
key: 1,
|
|
11126
11130
|
class: "topic-comment__header__right__btn",
|
|
11127
11131
|
rounded: "",
|
|
@@ -11153,15 +11157,15 @@ function hh(e, n, a, l, s, i) {
|
|
|
11153
11157
|
readonly: !l.isEditing
|
|
11154
11158
|
}, null, 8, ["class", "modelValue", "readonly"])
|
|
11155
11159
|
]),
|
|
11156
|
-
l.loading ? (r(),
|
|
11160
|
+
l.loading ? (r(), V(h, { key: 0 })) : m("", !0)
|
|
11157
11161
|
]);
|
|
11158
11162
|
}
|
|
11159
11163
|
const bh = /* @__PURE__ */ F(nh, [["render", hh], ["__scopeId", "data-v-abad358d"]]);
|
|
11160
11164
|
const gh = {
|
|
11161
11165
|
components: {
|
|
11162
11166
|
BIMDataButton: W,
|
|
11163
|
-
BIMDataLoading:
|
|
11164
|
-
BIMDataTextarea:
|
|
11167
|
+
BIMDataLoading: u1,
|
|
11168
|
+
BIMDataTextarea: v1,
|
|
11165
11169
|
TopicComment: bh
|
|
11166
11170
|
},
|
|
11167
11171
|
props: {
|
|
@@ -11180,7 +11184,7 @@ const gh = {
|
|
|
11180
11184
|
"comment-deleted"
|
|
11181
11185
|
],
|
|
11182
11186
|
setup(e, { emit: n }) {
|
|
11183
|
-
const a =
|
|
11187
|
+
const a = S1(), l = B([]), s = B(!1), i = B(!1), c = B(null), u = B(""), d = async () => {
|
|
11184
11188
|
l.value = await a.fetchTopicComments(e.project, e.topic);
|
|
11185
11189
|
}, C = async () => {
|
|
11186
11190
|
try {
|
|
@@ -11199,11 +11203,11 @@ const gh = {
|
|
|
11199
11203
|
}, h = (v) => {
|
|
11200
11204
|
d(), n("comment-deleted", v);
|
|
11201
11205
|
};
|
|
11202
|
-
return
|
|
11206
|
+
return t1(
|
|
11203
11207
|
() => e.topic,
|
|
11204
11208
|
() => d(),
|
|
11205
11209
|
{ immediate: !0 }
|
|
11206
|
-
),
|
|
11210
|
+
), t1(
|
|
11207
11211
|
s,
|
|
11208
11212
|
() => setTimeout(() => s.value && c.value.focus(), 50)
|
|
11209
11213
|
), {
|
|
@@ -11246,7 +11250,7 @@ function Hh(e, n, a, l, s, i) {
|
|
|
11246
11250
|
onClick: n[2] || (n[2] = (f) => l.isOpen = !1)
|
|
11247
11251
|
}, {
|
|
11248
11252
|
default: L(() => [
|
|
11249
|
-
|
|
11253
|
+
T(b(e.$t("BcfComponents.BcfTopicComments.cancelButton")), 1)
|
|
11250
11254
|
]),
|
|
11251
11255
|
_: 1
|
|
11252
11256
|
}),
|
|
@@ -11258,13 +11262,13 @@ function Hh(e, n, a, l, s, i) {
|
|
|
11258
11262
|
onClick: l.submitComment
|
|
11259
11263
|
}, {
|
|
11260
11264
|
default: L(() => [
|
|
11261
|
-
|
|
11265
|
+
T(b(e.$t("BcfComponents.BcfTopicComments.publishButton")), 1)
|
|
11262
11266
|
]),
|
|
11263
11267
|
_: 1
|
|
11264
11268
|
}, 8, ["onClick"])
|
|
11265
11269
|
])
|
|
11266
11270
|
])
|
|
11267
|
-
])) : (r(),
|
|
11271
|
+
])) : (r(), V(c, {
|
|
11268
11272
|
key: 0,
|
|
11269
11273
|
width: "100%",
|
|
11270
11274
|
color: "primary",
|
|
@@ -11273,14 +11277,14 @@ function Hh(e, n, a, l, s, i) {
|
|
|
11273
11277
|
onClick: n[0] || (n[0] = (f) => l.isOpen = !0)
|
|
11274
11278
|
}, {
|
|
11275
11279
|
default: L(() => [
|
|
11276
|
-
|
|
11280
|
+
T(b(e.$t("BcfComponents.BcfTopicComments.commentButton")), 1)
|
|
11277
11281
|
]),
|
|
11278
11282
|
_: 1
|
|
11279
11283
|
})),
|
|
11280
11284
|
t("div", Ih, [
|
|
11281
11285
|
t("p", _h, b((l.comments ? l.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
|
|
11282
11286
|
l.comments && l.comments.length ? (r(), o("div", yh, [
|
|
11283
|
-
(r(!0), o(R, null, U(l.comments, (f) => (r(),
|
|
11287
|
+
(r(!0), o(R, null, U(l.comments, (f) => (r(), V(d, {
|
|
11284
11288
|
key: f.guid,
|
|
11285
11289
|
project: a.project,
|
|
11286
11290
|
topic: a.topic,
|
|
@@ -11290,7 +11294,7 @@ function Hh(e, n, a, l, s, i) {
|
|
|
11290
11294
|
}, null, 8, ["project", "topic", "comment", "onCommentUpdated", "onCommentDeleted"]))), 128))
|
|
11291
11295
|
])) : m("", !0)
|
|
11292
11296
|
]),
|
|
11293
|
-
l.loading ? (r(),
|
|
11297
|
+
l.loading ? (r(), V(C, { key: 2 })) : m("", !0)
|
|
11294
11298
|
]);
|
|
11295
11299
|
}
|
|
11296
11300
|
const Vh = /* @__PURE__ */ F(gh, [["render", Hh], ["__scopeId", "data-v-2ebe99db"]]);
|
|
@@ -11300,7 +11304,7 @@ var Dh = Object.freeze(["default", "primary", "secondary", "high", "success", "g
|
|
|
11300
11304
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
11301
11305
|
} } };
|
|
11302
11306
|
const Bh = ["color"];
|
|
11303
|
-
function
|
|
11307
|
+
function T1(e, n) {
|
|
11304
11308
|
n === void 0 && (n = {});
|
|
11305
11309
|
var a = n.insertAt;
|
|
11306
11310
|
if (e && typeof document < "u") {
|
|
@@ -11308,7 +11312,7 @@ function A1(e, n) {
|
|
|
11308
11312
|
s.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
11309
11313
|
}
|
|
11310
11314
|
}
|
|
11311
|
-
|
|
11315
|
+
T1(`/* base COLORS --------------------------------------------- */
|
|
11312
11316
|
/* colors BRAND */
|
|
11313
11317
|
/* colors GREY SHADES - NEUTRAL */
|
|
11314
11318
|
/* color TEXT */
|
|
@@ -11466,7 +11470,7 @@ html[data-v-3f903003] {
|
|
|
11466
11470
|
.primary-font[data-v-3f903003] {
|
|
11467
11471
|
font-family: "roboto", sans-serif;
|
|
11468
11472
|
}`);
|
|
11469
|
-
|
|
11473
|
+
T1(`.bimdata-btn {
|
|
11470
11474
|
padding: 0 var(--spacing-unit);
|
|
11471
11475
|
height: -webkit-fit-content;
|
|
11472
11476
|
height: -moz-fit-content;
|
|
@@ -12098,7 +12102,7 @@ var Q1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
12098
12102
|
return this.customSize ? this.customSize : f5[this.size];
|
|
12099
12103
|
} } };
|
|
12100
12104
|
const tm = ["fill", "color"];
|
|
12101
|
-
|
|
12105
|
+
T1(`/* base COLORS --------------------------------------------- */
|
|
12102
12106
|
/* colors BRAND */
|
|
12103
12107
|
/* colors GREY SHADES - NEUTRAL */
|
|
12104
12108
|
/* color TEXT */
|
|
@@ -12167,7 +12171,7 @@ html[data-v-1312d4d1] {
|
|
|
12167
12171
|
/* base FONTS -------------------------------------- */
|
|
12168
12172
|
--primary-font: "roboto", sans-serif;
|
|
12169
12173
|
}`);
|
|
12170
|
-
|
|
12174
|
+
T1(`.icon-fill--black {
|
|
12171
12175
|
fill: var(--color-black);
|
|
12172
12176
|
}
|
|
12173
12177
|
.icon-fill--default {
|
|
@@ -12251,7 +12255,7 @@ A1(`.icon-fill--black {
|
|
|
12251
12255
|
.icon-stroke--white {
|
|
12252
12256
|
stroke: var(--color-white);
|
|
12253
12257
|
}`), Q1.render = function(e, n, a, l, s, i) {
|
|
12254
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(),
|
|
12258
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), V(C1(`bimdata-icon-${a.name}`)))], 14, tm);
|
|
12255
12259
|
}, Q1.__scopeId = "data-v-1312d4d1", Q1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
12256
12260
|
var e2 = { components: { BIMDataButton: J1, BIMDataIcon: Q1 }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
12257
12261
|
this.distributeItems();
|
|
@@ -12275,7 +12279,7 @@ var e2 = { components: { BIMDataButton: J1, BIMDataIcon: Q1 }, props: { sliderPa
|
|
|
12275
12279
|
}
|
|
12276
12280
|
} } };
|
|
12277
12281
|
const rm = { class: "bimdata-carousel" }, om = { class: "bimdata-carousel__container" };
|
|
12278
|
-
|
|
12282
|
+
T1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
12279
12283
|
--button-size: 44px;
|
|
12280
12284
|
position: relative;
|
|
12281
12285
|
}
|
|
@@ -12307,13 +12311,13 @@ A1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
|
12307
12311
|
right: calc(0px - var(--button-size) / 2);
|
|
12308
12312
|
}`), e2.render = function(e, n, a, l, s, i) {
|
|
12309
12313
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
12310
|
-
return r(), o("div", rm, [
|
|
12314
|
+
return r(), o("div", rm, [G(p(u, { class: "bimdata-carousel__btn-prev", color: "default", fill: "", rounded: "", icon: "", onClick: n[0] || (n[0] = (d) => s.index--) }, { default: L(() => [p(c, { name: "chevron", size: "s", rotate: 180 })]), _: 1 }, 512), [[J, s.index > 0]]), t("div", om, [t("div", { class: "bimdata-carousel__container__slider", ref: "slider", style: H({ transform: `translateX(-${s.translations[s.index]}px)` }) }, [_(e.$slots, "default")], 4)]), G(p(u, { class: "bimdata-carousel__btn-next", color: "default", fill: "", rounded: "", icon: "", onClick: n[1] || (n[1] = (d) => s.index++) }, { default: L(() => [p(c, { name: "chevron", size: "s" })]), _: 1 }, 512), [[J, s.index < s.maxIndex]])]);
|
|
12311
12315
|
}, e2.__scopeId = "data-v-b82c72c2", e2.__file = "src/BIMDataComponents/BIMDataCarousel/BIMDataCarousel.vue";
|
|
12312
12316
|
const am = {
|
|
12313
12317
|
components: {
|
|
12314
12318
|
BcfTopicDefaultImage: X2,
|
|
12315
12319
|
BIMDataCarousel: e2,
|
|
12316
|
-
BIMDataIcon:
|
|
12320
|
+
BIMDataIcon: K
|
|
12317
12321
|
},
|
|
12318
12322
|
props: {
|
|
12319
12323
|
detailedExtensions: {
|
|
@@ -12370,7 +12374,7 @@ function im(e, n, a, l, s, i) {
|
|
|
12370
12374
|
}),
|
|
12371
12375
|
t("span", null, b(a.topic.topic_status), 1)
|
|
12372
12376
|
], 4)) : m("", !0),
|
|
12373
|
-
l.viewpoints.length > 0 ? (r(),
|
|
12377
|
+
l.viewpoints.length > 0 ? (r(), V(u, {
|
|
12374
12378
|
key: 1,
|
|
12375
12379
|
sliderPadding: 0
|
|
12376
12380
|
}, {
|
|
@@ -12384,7 +12388,7 @@ function im(e, n, a, l, s, i) {
|
|
|
12384
12388
|
src: C.snapshot.snapshot_data,
|
|
12385
12389
|
onClick: (f) => e.$emit("view-topic-viewpoint", C)
|
|
12386
12390
|
}, null, 8, lm)) : m("", !0),
|
|
12387
|
-
C.icon ? (r(),
|
|
12391
|
+
C.icon ? (r(), V(c, {
|
|
12388
12392
|
key: 1,
|
|
12389
12393
|
class: "icon",
|
|
12390
12394
|
name: C.icon,
|
|
@@ -12393,7 +12397,7 @@ function im(e, n, a, l, s, i) {
|
|
|
12393
12397
|
]))), 128))
|
|
12394
12398
|
]),
|
|
12395
12399
|
_: 1
|
|
12396
|
-
})) : (r(),
|
|
12400
|
+
})) : (r(), V(d, {
|
|
12397
12401
|
key: 2,
|
|
12398
12402
|
class: "default-image"
|
|
12399
12403
|
}))
|
|
@@ -12406,10 +12410,10 @@ const cm = {
|
|
|
12406
12410
|
BcfTopicDefaultImage: X2,
|
|
12407
12411
|
BcfTopicViewpoints: sm,
|
|
12408
12412
|
BIMDataButton: W,
|
|
12409
|
-
BIMDataIcon:
|
|
12410
|
-
BIMDataLoading:
|
|
12411
|
-
BIMDataSafeZoneModal:
|
|
12412
|
-
BIMDataTextbox:
|
|
12413
|
+
BIMDataIcon: K,
|
|
12414
|
+
BIMDataLoading: u1,
|
|
12415
|
+
BIMDataSafeZoneModal: B1,
|
|
12416
|
+
BIMDataTextbox: a1
|
|
12413
12417
|
},
|
|
12414
12418
|
props: {
|
|
12415
12419
|
uiConfig: {
|
|
@@ -12449,7 +12453,7 @@ const cm = {
|
|
|
12449
12453
|
"view-topic-viewpoint"
|
|
12450
12454
|
],
|
|
12451
12455
|
setup(e, { emit: n }) {
|
|
12452
|
-
const a =
|
|
12456
|
+
const a = S1(), l = B(!1), s = B(!1), i = O(() => m1(e.topic, e.detailedExtensions)), c = O(() => {
|
|
12453
12457
|
var C, f, h, v;
|
|
12454
12458
|
return (v = (h = (f = (C = e.topic.viewpoints) == null ? void 0 : C[0]) == null ? void 0 : f.components) == null ? void 0 : h.selection) != null ? v : [];
|
|
12455
12459
|
}), u = O(() => {
|
|
@@ -12482,7 +12486,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12482
12486
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicViewpoints"), f = g("BcfTopicComments"), h = g("BIMDataSafeZoneModal"), v = g("BIMDataLoading");
|
|
12483
12487
|
return r(), o("div", dm, [
|
|
12484
12488
|
t("div", um, [
|
|
12485
|
-
a.uiConfig.backButton ? (r(),
|
|
12489
|
+
a.uiConfig.backButton ? (r(), V(u, {
|
|
12486
12490
|
key: 0,
|
|
12487
12491
|
ghost: "",
|
|
12488
12492
|
rounded: "",
|
|
@@ -12506,7 +12510,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12506
12510
|
}, null, 8, ["text"])
|
|
12507
12511
|
]),
|
|
12508
12512
|
t("div", pm, [
|
|
12509
|
-
a.uiConfig.editButton ? (r(),
|
|
12513
|
+
a.uiConfig.editButton ? (r(), V(u, {
|
|
12510
12514
|
key: 0,
|
|
12511
12515
|
ghost: "",
|
|
12512
12516
|
rounded: "",
|
|
@@ -12521,7 +12525,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12521
12525
|
]),
|
|
12522
12526
|
_: 1
|
|
12523
12527
|
})) : m("", !0),
|
|
12524
|
-
a.uiConfig.deleteButton ? (r(),
|
|
12528
|
+
a.uiConfig.deleteButton ? (r(), V(u, {
|
|
12525
12529
|
key: 1,
|
|
12526
12530
|
ghost: "",
|
|
12527
12531
|
rounded: "",
|
|
@@ -12536,7 +12540,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12536
12540
|
]),
|
|
12537
12541
|
_: 1
|
|
12538
12542
|
})) : m("", !0),
|
|
12539
|
-
a.uiConfig.closeButton ? (r(),
|
|
12543
|
+
a.uiConfig.closeButton ? (r(), V(u, {
|
|
12540
12544
|
key: 2,
|
|
12541
12545
|
ghost: "",
|
|
12542
12546
|
rounded: "",
|
|
@@ -12571,7 +12575,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12571
12575
|
topic: a.topic,
|
|
12572
12576
|
onViewTopicViewpoint: n[4] || (n[4] = (I) => e.$emit("view-topic-viewpoint", I))
|
|
12573
12577
|
}, null, 8, ["detailedExtensions", "topic"]),
|
|
12574
|
-
a.uiConfig.viewerMode ? (r(),
|
|
12578
|
+
a.uiConfig.viewerMode ? (r(), V(u, {
|
|
12575
12579
|
key: 0,
|
|
12576
12580
|
width: "100%",
|
|
12577
12581
|
fill: "",
|
|
@@ -12586,13 +12590,13 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12586
12590
|
margin: "0 6px 0 0"
|
|
12587
12591
|
}),
|
|
12588
12592
|
l.topicObjects.length > 0 ? (r(), o(R, { key: 0 }, [
|
|
12589
|
-
|
|
12593
|
+
T(b(e.$t("BcfComponents.BcfTopicOverview.elements", { count: l.topicObjects.length })), 1)
|
|
12590
12594
|
], 64)) : (r(), o(R, { key: 1 }, [
|
|
12591
|
-
|
|
12595
|
+
T(b(e.$t("BcfComponents.BcfTopicOverview.noElements")), 1)
|
|
12592
12596
|
], 64))
|
|
12593
12597
|
]),
|
|
12594
12598
|
_: 1
|
|
12595
|
-
}, 8, ["disabled"])) : (r(),
|
|
12599
|
+
}, 8, ["disabled"])) : (r(), V(u, {
|
|
12596
12600
|
key: 1,
|
|
12597
12601
|
width: "100%",
|
|
12598
12602
|
color: "primary",
|
|
@@ -12601,7 +12605,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12601
12605
|
onClick: n[6] || (n[6] = (I) => e.$emit("view-topic", a.topic))
|
|
12602
12606
|
}, {
|
|
12603
12607
|
default: L(() => [
|
|
12604
|
-
|
|
12608
|
+
T(b(e.$t("BcfComponents.BcfTopicOverview.openViewer")), 1)
|
|
12605
12609
|
]),
|
|
12606
12610
|
_: 1
|
|
12607
12611
|
})),
|
|
@@ -12667,12 +12671,12 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12667
12671
|
onCommentDeleted: n[9] || (n[9] = (I) => e.$emit("comment-deleted", I))
|
|
12668
12672
|
}, null, 8, ["project", "topic"])
|
|
12669
12673
|
]),
|
|
12670
|
-
l.showDeleteModal ? (r(),
|
|
12674
|
+
l.showDeleteModal ? (r(), V(h, {
|
|
12671
12675
|
key: 0,
|
|
12672
12676
|
class: "delete-modal"
|
|
12673
12677
|
}, {
|
|
12674
12678
|
text: L(() => [
|
|
12675
|
-
|
|
12679
|
+
T(b(e.$t("BcfComponents.BcfTopicOverview.deleteText", { name: a.topic.title })), 1)
|
|
12676
12680
|
]),
|
|
12677
12681
|
actions: L(() => [
|
|
12678
12682
|
p(u, {
|
|
@@ -12683,7 +12687,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12683
12687
|
onClick: l.deleteTopic
|
|
12684
12688
|
}, {
|
|
12685
12689
|
default: L(() => [
|
|
12686
|
-
|
|
12690
|
+
T(b(e.$t("BcfComponents.BcfTopicOverview.deleteBcfButton")), 1)
|
|
12687
12691
|
]),
|
|
12688
12692
|
_: 1
|
|
12689
12693
|
}, 8, ["onClick"]),
|
|
@@ -12694,7 +12698,7 @@ function Xm(e, n, a, l, s, i) {
|
|
|
12694
12698
|
onClick: n[10] || (n[10] = (I) => l.showDeleteModal = !1)
|
|
12695
12699
|
}, {
|
|
12696
12700
|
default: L(() => [
|
|
12697
|
-
|
|
12701
|
+
T(b(e.$t("BcfComponents.BcfTopicOverview.keepBcfButton")), 1)
|
|
12698
12702
|
]),
|
|
12699
12703
|
_: 1
|
|
12700
12704
|
})
|
|
@@ -12750,7 +12754,7 @@ var Km = Object.freeze(["default", "primary", "secondary", "high", "success", "g
|
|
|
12750
12754
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
12751
12755
|
} } };
|
|
12752
12756
|
const qm = ["color"];
|
|
12753
|
-
function
|
|
12757
|
+
function Q(e, n) {
|
|
12754
12758
|
n === void 0 && (n = {});
|
|
12755
12759
|
var a = n.insertAt;
|
|
12756
12760
|
if (e && typeof document < "u") {
|
|
@@ -12758,7 +12762,7 @@ function q(e, n) {
|
|
|
12758
12762
|
s.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
12759
12763
|
}
|
|
12760
12764
|
}
|
|
12761
|
-
|
|
12765
|
+
Q(`/* base COLORS --------------------------------------------- */
|
|
12762
12766
|
/* colors BRAND */
|
|
12763
12767
|
/* colors GREY SHADES - NEUTRAL */
|
|
12764
12768
|
/* color TEXT */
|
|
@@ -12916,7 +12920,7 @@ html[data-v-3f903003] {
|
|
|
12916
12920
|
.primary-font[data-v-3f903003] {
|
|
12917
12921
|
font-family: "roboto", sans-serif;
|
|
12918
12922
|
}`);
|
|
12919
|
-
|
|
12923
|
+
Q(`.bimdata-btn {
|
|
12920
12924
|
padding: 0 var(--spacing-unit);
|
|
12921
12925
|
height: -webkit-fit-content;
|
|
12922
12926
|
height: -moz-fit-content;
|
|
@@ -13231,8 +13235,8 @@ var t2 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue
|
|
|
13231
13235
|
} }, methods: { onClick() {
|
|
13232
13236
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
13233
13237
|
} } };
|
|
13234
|
-
const Jm = ((e) => (
|
|
13235
|
-
|
|
13238
|
+
const Jm = ((e) => (i1("data-v-34d34265"), e = e(), s1(), e))(() => t("span", { class: "bimdata-checkbox__mark" }, null, -1)), Qm = { key: 0, class: "bimdata-checkbox__text" };
|
|
13239
|
+
Q(`/* base COLORS --------------------------------------------- */
|
|
13236
13240
|
/* colors BRAND */
|
|
13237
13241
|
/* colors GREY SHADES - NEUTRAL */
|
|
13238
13242
|
/* color TEXT */
|
|
@@ -13390,7 +13394,7 @@ html[data-v-34d34265] {
|
|
|
13390
13394
|
.primary-font[data-v-34d34265] {
|
|
13391
13395
|
font-family: "roboto", sans-serif;
|
|
13392
13396
|
}`);
|
|
13393
|
-
|
|
13397
|
+
Q(`.bimdata-checkbox {
|
|
13394
13398
|
position: relative;
|
|
13395
13399
|
display: -webkit-box;
|
|
13396
13400
|
display: -ms-flexbox;
|
|
@@ -13478,7 +13482,7 @@ q(`.bimdata-checkbox {
|
|
|
13478
13482
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
13479
13483
|
background-color: var(--color-silver-dark);
|
|
13480
13484
|
}`), t2.render = function(e, n, a, l, s, i) {
|
|
13481
|
-
return r(), o("div",
|
|
13485
|
+
return r(), o("div", Z1({ class: ["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: a.disabled, checked: i.checked }], onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: i.style }, e.$attrs), [Jm, a.text ? (r(), o("span", Qm, [_(e.$slots, "default", {}, () => [T(b(a.text), 1)])])) : m("v-if", !0)], 16);
|
|
13482
13486
|
}, t2.__scopeId = "data-v-34d34265", t2.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
13483
13487
|
const eM = { "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" }, nM = { render: function(e, n) {
|
|
13484
13488
|
return r(), o("path", eM);
|
|
@@ -13494,7 +13498,7 @@ var C2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: {
|
|
|
13494
13498
|
return this.customSize ? this.customSize : v5[this.size];
|
|
13495
13499
|
} } }), r2 = C2("Chevron", nM);
|
|
13496
13500
|
const rM = ["fill", "color"];
|
|
13497
|
-
|
|
13501
|
+
Q(`/* base COLORS --------------------------------------------- */
|
|
13498
13502
|
/* colors BRAND */
|
|
13499
13503
|
/* colors GREY SHADES - NEUTRAL */
|
|
13500
13504
|
/* color TEXT */
|
|
@@ -13563,7 +13567,7 @@ html[data-v-5e440aca] {
|
|
|
13563
13567
|
/* base FONTS -------------------------------------- */
|
|
13564
13568
|
--primary-font: "roboto", sans-serif;
|
|
13565
13569
|
}`);
|
|
13566
|
-
|
|
13570
|
+
Q(`.icon-fill--black {
|
|
13567
13571
|
fill: var(--color-black);
|
|
13568
13572
|
}
|
|
13569
13573
|
.icon-fill--default {
|
|
@@ -13655,7 +13659,7 @@ const oM = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.4710
|
|
|
13655
13659
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
13656
13660
|
var v2 = C2("DoubleChevron", aM);
|
|
13657
13661
|
const lM = ["fill", "color"];
|
|
13658
|
-
|
|
13662
|
+
Q(`/* base COLORS --------------------------------------------- */
|
|
13659
13663
|
/* colors BRAND */
|
|
13660
13664
|
/* colors GREY SHADES - NEUTRAL */
|
|
13661
13665
|
/* color TEXT */
|
|
@@ -13724,7 +13728,7 @@ html[data-v-859297ec] {
|
|
|
13724
13728
|
/* base FONTS -------------------------------------- */
|
|
13725
13729
|
--primary-font: "roboto", sans-serif;
|
|
13726
13730
|
}`);
|
|
13727
|
-
|
|
13731
|
+
Q(`.icon-fill--black {
|
|
13728
13732
|
fill: var(--color-black);
|
|
13729
13733
|
}
|
|
13730
13734
|
.icon-fill--default {
|
|
@@ -13816,7 +13820,7 @@ const iM = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357
|
|
|
13816
13820
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
13817
13821
|
var m2 = C2("Close", sM);
|
|
13818
13822
|
const cM = ["fill", "color"];
|
|
13819
|
-
|
|
13823
|
+
Q(`/* base COLORS --------------------------------------------- */
|
|
13820
13824
|
/* colors BRAND */
|
|
13821
13825
|
/* colors GREY SHADES - NEUTRAL */
|
|
13822
13826
|
/* color TEXT */
|
|
@@ -13885,7 +13889,7 @@ html[data-v-797f55d8] {
|
|
|
13885
13889
|
/* base FONTS -------------------------------------- */
|
|
13886
13890
|
--primary-font: "roboto", sans-serif;
|
|
13887
13891
|
}`);
|
|
13888
|
-
|
|
13892
|
+
Q(`.icon-fill--black {
|
|
13889
13893
|
fill: var(--color-black);
|
|
13890
13894
|
}
|
|
13891
13895
|
.icon-fill--default {
|
|
@@ -13977,7 +13981,7 @@ const dM = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.465
|
|
|
13977
13981
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
13978
13982
|
var M2 = C2("Search", uM);
|
|
13979
13983
|
const CM = ["fill", "color"];
|
|
13980
|
-
|
|
13984
|
+
Q(`/* base COLORS --------------------------------------------- */
|
|
13981
13985
|
/* colors BRAND */
|
|
13982
13986
|
/* colors GREY SHADES - NEUTRAL */
|
|
13983
13987
|
/* color TEXT */
|
|
@@ -14046,7 +14050,7 @@ html[data-v-0993abf8] {
|
|
|
14046
14050
|
/* base FONTS -------------------------------------- */
|
|
14047
14051
|
--primary-font: "roboto", sans-serif;
|
|
14048
14052
|
}`);
|
|
14049
|
-
|
|
14053
|
+
Q(`.icon-fill--black {
|
|
14050
14054
|
fill: var(--color-black);
|
|
14051
14055
|
}
|
|
14052
14056
|
.icon-fill--default {
|
|
@@ -14142,18 +14146,18 @@ var o2 = { components: { BIMDataButton: n2, BIMDataCheckbox: t2, BIMDataIconChev
|
|
|
14142
14146
|
}, fullSelectionToggleEffect: M = () => {
|
|
14143
14147
|
} } = {}) {
|
|
14144
14148
|
const y = B(/* @__PURE__ */ new Map());
|
|
14145
|
-
return
|
|
14149
|
+
return t1(f, () => {
|
|
14146
14150
|
y.value = new Map(f.value.filter(({ key: w }) => h.value.has(w)).map(({ key: w, data: E }) => [w, E]));
|
|
14147
|
-
}, { immediate: !0 }),
|
|
14151
|
+
}, { immediate: !0 }), t1(h, () => {
|
|
14148
14152
|
y.value = h.value;
|
|
14149
|
-
}, { immediate: !0 }),
|
|
14153
|
+
}, { immediate: !0 }), t1(y, () => {
|
|
14150
14154
|
v(y.value);
|
|
14151
14155
|
}), { rowSelection: y, toggleRowSelection: ({ key: w, data: E }) => {
|
|
14152
|
-
const
|
|
14153
|
-
|
|
14156
|
+
const A = () => y.value.has(w);
|
|
14157
|
+
A() ? y.value.delete(w) : y.value.set(w, E), y.value = new Map([...y.value.entries()]), I(A(), { key: w, data: E });
|
|
14154
14158
|
}, toggleFullSelection: () => {
|
|
14155
14159
|
const w = () => y.value.size === f.value.length;
|
|
14156
|
-
w() ? y.value = /* @__PURE__ */ new Map() : y.value = new Map(f.value.map(({ key: E, data:
|
|
14160
|
+
w() ? y.value = /* @__PURE__ */ new Map() : y.value = new Map(f.value.map(({ key: E, data: A }) => [E, A])), M(w());
|
|
14157
14161
|
} };
|
|
14158
14162
|
}(a, O(() => e.selection), { rowSelectionUpdateEffect: (f) => {
|
|
14159
14163
|
n("update:selection", f), n("selection-changed", Array.from(f.values()));
|
|
@@ -14162,9 +14166,9 @@ var o2 = { components: { BIMDataButton: n2, BIMDataCheckbox: t2, BIMDataIconChev
|
|
|
14162
14166
|
}, fullSelectionToggleEffect: (f) => {
|
|
14163
14167
|
n(f ? "all-selected" : "all-deselected");
|
|
14164
14168
|
} }), c = B([]), u = B(0), d = B(1), C = B(e.perPage);
|
|
14165
|
-
return
|
|
14169
|
+
return t1([a, () => e.perPage], () => {
|
|
14166
14170
|
u.value = 0;
|
|
14167
|
-
}, { immediate: !0 }),
|
|
14171
|
+
}, { immediate: !0 }), t1([a, () => e.paginated, () => e.perPage, u], ([f, h, v, I]) => {
|
|
14168
14172
|
const M = f.map((y) => y.key);
|
|
14169
14173
|
if (h) {
|
|
14170
14174
|
const y = v * I, w = y + v;
|
|
@@ -14178,7 +14182,7 @@ var o2 = { components: { BIMDataButton: n2, BIMDataCheckbox: t2, BIMDataIconChev
|
|
|
14178
14182
|
} };
|
|
14179
14183
|
} };
|
|
14180
14184
|
const pM = { class: "bimdata-table" }, hM = { key: 0, class: "cell-checkbox" }, bM = { key: "head-row-1" }, gM = ["colspan"], fM = { key: 0, class: "cell-checkbox" }, LM = { class: "bimdata-table__page-nav__text" };
|
|
14181
|
-
|
|
14185
|
+
Q(`/* base COLORS --------------------------------------------- */
|
|
14182
14186
|
/* colors BRAND */
|
|
14183
14187
|
/* colors GREY SHADES - NEUTRAL */
|
|
14184
14188
|
/* color TEXT */
|
|
@@ -14315,7 +14319,7 @@ html[data-v-a29e0786] {
|
|
|
14315
14319
|
margin: 0 var(--spacing-unit);
|
|
14316
14320
|
}`), o2.render = function(e, n, a, l, s, i) {
|
|
14317
14321
|
const c = g("BIMDataCheckbox"), u = g("BIMDataIconChevron"), d = g("BIMDataButton");
|
|
14318
|
-
return r(), o("div", pM, [t("div", { class: "bimdata-table__container", style: H({ height: a.paginated ? (a.perPage + 1) * a.rowHeight + "px" : void 0 }) }, [t("table", { style: H({ width: a.tableWidth, tableLayout: a.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: H({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), o("th", hM, [p(c, { disabled: a.rows.length === 0, modelValue: a.rows.length > 0 && l.rowSelection.size === a.rows.length, "onUpdate:modelValue": l.toggleAll }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : m("v-if", !0), (r(!0), o(R, null, U(a.columns, (C, f) => (r(), o("th", { key: `head-row-0-col-${f}`, style: H({ width: C.width || "auto", textAlign: C.align || "left" }) }, b(C.id ? C.label || C.id : C), 5))), 128))], 4), t("tr", bM, [t("th", { class: "cell-sub-header", colspan: a.columns.length + a.selectable }, [_(e.$slots, "sub-header")], 8, gM)])]), t("tbody", null, [(r(!0), o(R, null, U(l.computedRows, ({ key: C, data: f }) =>
|
|
14322
|
+
return r(), o("div", pM, [t("div", { class: "bimdata-table__container", style: H({ height: a.paginated ? (a.perPage + 1) * a.rowHeight + "px" : void 0 }) }, [t("table", { style: H({ width: a.tableWidth, tableLayout: a.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: H({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), o("th", hM, [p(c, { disabled: a.rows.length === 0, modelValue: a.rows.length > 0 && l.rowSelection.size === a.rows.length, "onUpdate:modelValue": l.toggleAll }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : m("v-if", !0), (r(!0), o(R, null, U(a.columns, (C, f) => (r(), o("th", { key: `head-row-0-col-${f}`, style: H({ width: C.width || "auto", textAlign: C.align || "left" }) }, b(C.id ? C.label || C.id : C), 5))), 128))], 4), t("tr", bM, [t("th", { class: "cell-sub-header", colspan: a.columns.length + a.selectable }, [_(e.$slots, "sub-header")], 8, gM)])]), t("tbody", null, [(r(!0), o(R, null, U(l.computedRows, ({ key: C, data: f }) => G((r(), o("tr", { key: `body-row-${C}`, style: H({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), o("td", fM, [p(c, { modelValue: l.rowSelection.has(C), "onUpdate:modelValue": (h) => l.toggleRow({ key: C, data: f }) }, null, 8, ["modelValue", "onUpdate:modelValue"])])) : m("v-if", !0), (r(!0), o(R, null, U(a.columns, (h, v) => (r(), o("td", { key: `body-row-${C}-col-${v}`, style: H({ width: h.width || "auto", textAlign: h.align || "left" }) }, [_(e.$slots, `cell-${h.id}`, { row: f }, () => [T(b(f[h.id || v]), 1)])], 4))), 128))], 4)), [[J, l.displayedRows.includes(C)]])), 128))])], 4), a.rows.length === 0 ? (r(), o("div", { key: 0, class: "bimdata-table__container__placeholder", style: H({ height: `calc(100% - ${a.rowHeight}px)` }) }, [_(e.$slots, "placeholder", {}, () => [T(b(a.placeholder), 1)])], 4)) : m("v-if", !0)], 4), a.paginated ? (r(), o("div", { key: 0, class: "bimdata-table__page-nav", style: H({ visibility: a.rows.length > a.perPage ? "visible" : "hidden" }) }, [p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexStart === 1, onClick: n[0] || (n[0] = (C) => l.pageIndex--) }, { default: L(() => [p(u, { size: "s", rotate: 180 })]), _: 1 }, 8, ["disabled"]), t("span", LM, b(`${l.pageIndexStart} - ${l.pageIndexEnd} / ${a.rows.length}`), 1), p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexEnd === a.rows.length, onClick: n[1] || (n[1] = (C) => l.pageIndex++) }, { default: L(() => [p(u, { size: "s" })]), _: 1 }, 8, ["disabled"])], 4)) : m("v-if", !0)]);
|
|
14319
14323
|
}, o2.__scopeId = "data-v-a29e0786", o2.__file = "src/BIMDataComponents/BIMDataTable/BIMDataTable.vue";
|
|
14320
14324
|
const vM = {
|
|
14321
14325
|
components: {
|
|
@@ -14366,7 +14370,7 @@ const _M = {
|
|
|
14366
14370
|
setup(e) {
|
|
14367
14371
|
return {
|
|
14368
14372
|
priorityColor: O(
|
|
14369
|
-
() =>
|
|
14373
|
+
() => m1(e.topic, e.detailedExtensions)
|
|
14370
14374
|
)
|
|
14371
14375
|
};
|
|
14372
14376
|
}
|
|
@@ -14395,7 +14399,7 @@ const BM = {
|
|
|
14395
14399
|
setup(e) {
|
|
14396
14400
|
return {
|
|
14397
14401
|
priorityColor: O(
|
|
14398
|
-
() =>
|
|
14402
|
+
() => m1(e.topic, e.detailedExtensions)
|
|
14399
14403
|
)
|
|
14400
14404
|
};
|
|
14401
14405
|
}
|
|
@@ -14443,8 +14447,8 @@ const SM = /* @__PURE__ */ F(wM, [["render", ZM], ["__scopeId", "data-v-c2a5faf4
|
|
|
14443
14447
|
BcfTopicPriorityCell: xM,
|
|
14444
14448
|
BcfTopicStatusCell: SM,
|
|
14445
14449
|
BIMDataTable: o2,
|
|
14446
|
-
BIMDataTextbox:
|
|
14447
|
-
BIMDataTooltip:
|
|
14450
|
+
BIMDataTextbox: a1,
|
|
14451
|
+
BIMDataTooltip: k1,
|
|
14448
14452
|
UserAvatar: N5
|
|
14449
14453
|
},
|
|
14450
14454
|
props: {
|
|
@@ -14496,7 +14500,7 @@ const SM = /* @__PURE__ */ F(wM, [["render", ZM], ["__scopeId", "data-v-c2a5faf4
|
|
|
14496
14500
|
};
|
|
14497
14501
|
function TM(e, n, a, l, s, i) {
|
|
14498
14502
|
const c = g("BcfTopicIndexCell"), u = g("BcfTopicPriorityCell"), d = g("BcfTopicStatusCell"), C = g("BIMDataTextbox"), f = g("UserAvatar"), h = g("BIMDataTooltip"), v = g("BcfTopicActionsCell"), I = g("BIMDataTable");
|
|
14499
|
-
return r(),
|
|
14503
|
+
return r(), V(I, {
|
|
14500
14504
|
class: "bcf-topics-table",
|
|
14501
14505
|
tableLayout: "fixed",
|
|
14502
14506
|
columns: l.displayedColumns.map((M) => ({
|
|
@@ -14525,7 +14529,7 @@ function TM(e, n, a, l, s, i) {
|
|
|
14525
14529
|
}, null, 8, ["detailedExtensions", "topic"])
|
|
14526
14530
|
]),
|
|
14527
14531
|
"cell-status": L(({ row: M }) => [
|
|
14528
|
-
M.topic_status ? (r(),
|
|
14532
|
+
M.topic_status ? (r(), V(d, {
|
|
14529
14533
|
key: 0,
|
|
14530
14534
|
detailedExtensions: a.detailedExtensions,
|
|
14531
14535
|
topic: M
|
|
@@ -14551,7 +14555,7 @@ function TM(e, n, a, l, s, i) {
|
|
|
14551
14555
|
}, 1032, ["text"])
|
|
14552
14556
|
]),
|
|
14553
14557
|
"cell-date": L(({ row: M }) => [
|
|
14554
|
-
|
|
14558
|
+
T(b(l.toShortDateFormat(M.creation_date)), 1)
|
|
14555
14559
|
]),
|
|
14556
14560
|
"cell-actions": L(({ row: M }) => [
|
|
14557
14561
|
p(v, {
|
|
@@ -14584,7 +14588,7 @@ export {
|
|
|
14584
14588
|
zM as components,
|
|
14585
14589
|
OM as config,
|
|
14586
14590
|
RM as createService,
|
|
14587
|
-
|
|
14591
|
+
m1 as getPriorityColor,
|
|
14588
14592
|
Y2 as getStatusColor,
|
|
14589
14593
|
e3 as getViewpointConfig,
|
|
14590
14594
|
UM as getViewpointModels,
|
|
@@ -14593,5 +14597,5 @@ export {
|
|
|
14593
14597
|
q5 as useBcfFilter,
|
|
14594
14598
|
FM as useBcfSearch,
|
|
14595
14599
|
PM as useBcfSort,
|
|
14596
|
-
|
|
14600
|
+
S1 as useService
|
|
14597
14601
|
};
|