@bimdata/bcf-components 4.1.2-rc.2 → 4.1.2-rc.3
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 +437 -442
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +802 -807
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as Ae, computed as
|
|
2
|
+
import { reactive as Ae, computed as Z, ref as L, watch as A, toRaw as f2, inject as n1, onMounted as r2, onBeforeUnmount as Me } from "vue";
|
|
3
3
|
const xe = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -21,37 +21,37 @@ const xe = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}),
|
|
24
|
+
}), i2 = "D8D8D8", $e = "D8D8D8", l1 = "originating_system", d1 = "authoring_tool_id", G = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
PTC: "pointCloud",
|
|
27
27
|
V2D: "ifc2d",
|
|
28
28
|
DWG: "dwg",
|
|
29
29
|
PLAN: "plan"
|
|
30
|
-
}),
|
|
31
|
-
[
|
|
30
|
+
}), s1 = Object.freeze({
|
|
31
|
+
[G.V3D]: {
|
|
32
32
|
order: 1,
|
|
33
33
|
window: "3d",
|
|
34
34
|
plugin: "viewer3d",
|
|
35
35
|
icon: "fileIfcPolychrome"
|
|
36
36
|
},
|
|
37
|
-
[
|
|
37
|
+
[G.PTC]: {
|
|
38
38
|
order: 2,
|
|
39
39
|
window: "pointCloud",
|
|
40
40
|
plugin: "pointCloud"
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[G.V2D]: {
|
|
43
43
|
order: 3,
|
|
44
44
|
window: "2d",
|
|
45
45
|
plugin: "viewer2d",
|
|
46
46
|
icon: "fileIfcPolychrome"
|
|
47
47
|
},
|
|
48
|
-
[
|
|
48
|
+
[G.DWG]: {
|
|
49
49
|
order: 4,
|
|
50
50
|
window: "dwg",
|
|
51
51
|
plugin: "dwg",
|
|
52
52
|
icon: "fileDwgPolychrome"
|
|
53
53
|
},
|
|
54
|
-
[
|
|
54
|
+
[G.PLAN]: {
|
|
55
55
|
order: 5,
|
|
56
56
|
window: "plan",
|
|
57
57
|
plugin: "plan",
|
|
@@ -59,16 +59,16 @@ const xe = Object.freeze([
|
|
|
59
59
|
}
|
|
60
60
|
}), F0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61
61
|
__proto__: null,
|
|
62
|
-
DEFAULT_PRIORITY_COLOR:
|
|
62
|
+
DEFAULT_PRIORITY_COLOR: i2,
|
|
63
63
|
DEFAULT_STATUS_COLOR: $e,
|
|
64
64
|
EXTENSION_FIELDS: we,
|
|
65
65
|
EXTENSION_LIST_FIELDS: ke,
|
|
66
66
|
EXTENSION_TYPES: xe,
|
|
67
67
|
EXTENSION_WITH_COLOR: Ze,
|
|
68
|
-
VIEWPOINT_CONFIG:
|
|
69
|
-
VIEWPOINT_MODELS_FIELD:
|
|
70
|
-
VIEWPOINT_TYPES:
|
|
71
|
-
VIEWPOINT_TYPE_FIELD:
|
|
68
|
+
VIEWPOINT_CONFIG: s1,
|
|
69
|
+
VIEWPOINT_MODELS_FIELD: d1,
|
|
70
|
+
VIEWPOINT_TYPES: G,
|
|
71
|
+
VIEWPOINT_TYPE_FIELD: l1
|
|
72
72
|
}, Symbol.toStringTag, { value: "Module" })), je = Object.freeze({
|
|
73
73
|
bisque: "ffe4c4",
|
|
74
74
|
orange: "ffa500",
|
|
@@ -114,7 +114,7 @@ function qe() {
|
|
|
114
114
|
const e = Math.floor(Math.random() * C2.length);
|
|
115
115
|
return C2[e][1];
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function v1(e, r, t) {
|
|
118
118
|
const i = e.charAt(0) === "#" ? e.substring(1, 7) : e, n = parseInt(i.substring(0, 2), 16), d = parseInt(i.substring(2, 4), 16), a = parseInt(i.substring(4, 6), 16);
|
|
119
119
|
return n * 0.299 + d * 0.587 + a * 0.114 > 186 ? t : r;
|
|
120
120
|
}
|
|
@@ -127,7 +127,7 @@ function Ye(e, r) {
|
|
|
127
127
|
function We(e) {
|
|
128
128
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var S1 = { exports: {} }, T1 = { exports: {} }, O1 = { exports: {} };
|
|
131
131
|
(function(e, r) {
|
|
132
132
|
Object.defineProperty(r, "__esModule", {
|
|
133
133
|
value: !0
|
|
@@ -142,8 +142,8 @@ var I1 = { exports: {} }, S1 = { exports: {} }, T1 = { exports: {} };
|
|
|
142
142
|
return Object.assign(n, i), n;
|
|
143
143
|
}
|
|
144
144
|
e.exports = r.default;
|
|
145
|
-
})(
|
|
146
|
-
var Xe =
|
|
145
|
+
})(O1, O1.exports);
|
|
146
|
+
var Xe = O1.exports, z1 = { exports: {} }, P1 = { exports: {} };
|
|
147
147
|
(function(e, r) {
|
|
148
148
|
Object.defineProperty(r, "__esModule", {
|
|
149
149
|
value: !0
|
|
@@ -152,16 +152,16 @@ var Xe = T1.exports, O1 = { exports: {} }, z1 = { exports: {} };
|
|
|
152
152
|
return i && typeof i.length == "number" && i.length >= 0 && i.length % 1 === 0;
|
|
153
153
|
}
|
|
154
154
|
e.exports = r.default;
|
|
155
|
-
})(
|
|
156
|
-
var Ke =
|
|
155
|
+
})(P1, P1.exports);
|
|
156
|
+
var Ke = P1.exports, N1 = { exports: {} };
|
|
157
157
|
(function(e, r) {
|
|
158
158
|
Object.defineProperty(r, "__esModule", {
|
|
159
159
|
value: !0
|
|
160
160
|
}), r.default = function(t) {
|
|
161
161
|
return t[Symbol.iterator] && t[Symbol.iterator]();
|
|
162
162
|
}, e.exports = r.default;
|
|
163
|
-
})(
|
|
164
|
-
var Je =
|
|
163
|
+
})(N1, N1.exports);
|
|
164
|
+
var Je = N1.exports;
|
|
165
165
|
(function(e, r) {
|
|
166
166
|
Object.defineProperty(r, "__esModule", {
|
|
167
167
|
value: !0
|
|
@@ -197,8 +197,8 @@ var Je = P1.exports;
|
|
|
197
197
|
return o ? u(o) : p(c);
|
|
198
198
|
}
|
|
199
199
|
e.exports = r.default;
|
|
200
|
-
})(
|
|
201
|
-
var Ge =
|
|
200
|
+
})(z1, z1.exports);
|
|
201
|
+
var Ge = z1.exports, A1 = { exports: {} };
|
|
202
202
|
(function(e, r) {
|
|
203
203
|
Object.defineProperty(r, "__esModule", {
|
|
204
204
|
value: !0
|
|
@@ -212,8 +212,8 @@ var Ge = O1.exports, N1 = { exports: {} };
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
e.exports = r.default;
|
|
215
|
-
})(
|
|
216
|
-
var Qe =
|
|
215
|
+
})(A1, A1.exports);
|
|
216
|
+
var Qe = A1.exports, N = {}, f1 = { exports: {} }, j1 = { exports: {} };
|
|
217
217
|
(function(e, r) {
|
|
218
218
|
Object.defineProperty(r, "__esModule", {
|
|
219
219
|
value: !0
|
|
@@ -223,8 +223,8 @@ var Qe = N1.exports, N = {}, u1 = { exports: {} }, A1 = { exports: {} };
|
|
|
223
223
|
return t.call(this, i, n);
|
|
224
224
|
};
|
|
225
225
|
}, e.exports = r.default;
|
|
226
|
-
})(
|
|
227
|
-
var e5 =
|
|
226
|
+
})(j1, j1.exports);
|
|
227
|
+
var e5 = j1.exports, W = {};
|
|
228
228
|
Object.defineProperty(W, "__esModule", {
|
|
229
229
|
value: !0
|
|
230
230
|
});
|
|
@@ -237,16 +237,16 @@ function Fe(e) {
|
|
|
237
237
|
function De(e) {
|
|
238
238
|
return (r, ...t) => e(() => r(...t));
|
|
239
239
|
}
|
|
240
|
-
var
|
|
241
|
-
t5 ?
|
|
242
|
-
W.default = De(
|
|
240
|
+
var i1;
|
|
241
|
+
t5 ? i1 = queueMicrotask : r5 ? i1 = setImmediate : i5 ? i1 = process.nextTick : i1 = Fe;
|
|
242
|
+
W.default = De(i1);
|
|
243
243
|
var h2;
|
|
244
244
|
function a5() {
|
|
245
245
|
return h2 || (h2 = 1, function(e, r) {
|
|
246
246
|
Object.defineProperty(r, "__esModule", {
|
|
247
247
|
value: !0
|
|
248
248
|
}), r.default = u;
|
|
249
|
-
var t = e5, i = s(t), n = W, d = s(n), a =
|
|
249
|
+
var t = e5, i = s(t), n = W, d = s(n), a = a2();
|
|
250
250
|
function s(c) {
|
|
251
251
|
return c && c.__esModule ? c : { default: c };
|
|
252
252
|
}
|
|
@@ -283,10 +283,10 @@ function a5() {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
e.exports = r.default;
|
|
286
|
-
}(
|
|
286
|
+
}(f1, f1.exports)), f1.exports;
|
|
287
287
|
}
|
|
288
288
|
var v2;
|
|
289
|
-
function
|
|
289
|
+
function a2() {
|
|
290
290
|
if (v2)
|
|
291
291
|
return N;
|
|
292
292
|
v2 = 1, Object.defineProperty(N, "__esModule", {
|
|
@@ -312,15 +312,15 @@ function i2() {
|
|
|
312
312
|
}
|
|
313
313
|
return N.default = a, N.isAsync = i, N.isAsyncGenerator = n, N.isAsyncIterable = d, N;
|
|
314
314
|
}
|
|
315
|
-
var
|
|
315
|
+
var U1 = { exports: {} }, q1 = { exports: {} };
|
|
316
316
|
(function(e, r) {
|
|
317
317
|
Object.defineProperty(r, "__esModule", {
|
|
318
318
|
value: !0
|
|
319
319
|
});
|
|
320
320
|
const t = {};
|
|
321
321
|
r.default = t, e.exports = r.default;
|
|
322
|
-
})(
|
|
323
|
-
var Ee =
|
|
322
|
+
})(q1, q1.exports);
|
|
323
|
+
var Ee = q1.exports;
|
|
324
324
|
(function(e, r) {
|
|
325
325
|
Object.defineProperty(r, "__esModule", {
|
|
326
326
|
value: !0
|
|
@@ -332,21 +332,21 @@ var Ee = U1.exports;
|
|
|
332
332
|
function d(a, s, u, p) {
|
|
333
333
|
let l = !1, c = !1, o = !1, b = 0, g = 0;
|
|
334
334
|
function H() {
|
|
335
|
-
b >= s || o || l || (o = !0, a.next().then(({ value:
|
|
335
|
+
b >= s || o || l || (o = !0, a.next().then(({ value: D, done: $ }) => {
|
|
336
336
|
if (!(c || l)) {
|
|
337
337
|
if (o = !1, $) {
|
|
338
338
|
l = !0, b <= 0 && p(null);
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
341
|
-
b++, u(
|
|
341
|
+
b++, u(D, g, M), g++, H();
|
|
342
342
|
}
|
|
343
343
|
}).catch(V));
|
|
344
344
|
}
|
|
345
|
-
function M(
|
|
345
|
+
function M(D, $) {
|
|
346
346
|
if (b -= 1, !c) {
|
|
347
|
-
if (
|
|
348
|
-
return V(
|
|
349
|
-
if (
|
|
347
|
+
if (D)
|
|
348
|
+
return V(D);
|
|
349
|
+
if (D === !1) {
|
|
350
350
|
l = !0, c = !0;
|
|
351
351
|
return;
|
|
352
352
|
}
|
|
@@ -355,19 +355,19 @@ var Ee = U1.exports;
|
|
|
355
355
|
H();
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function V(
|
|
359
|
-
c || (o = !1, l = !0, p(
|
|
358
|
+
function V(D) {
|
|
359
|
+
c || (o = !1, l = !0, p(D));
|
|
360
360
|
}
|
|
361
361
|
H();
|
|
362
362
|
}
|
|
363
363
|
e.exports = r.default;
|
|
364
|
-
})(
|
|
365
|
-
var n5 =
|
|
364
|
+
})(U1, U1.exports);
|
|
365
|
+
var n5 = U1.exports;
|
|
366
366
|
(function(e, r) {
|
|
367
367
|
Object.defineProperty(r, "__esModule", {
|
|
368
368
|
value: !0
|
|
369
369
|
});
|
|
370
|
-
var t = Xe, i = b(t), n = Ge, d = b(n), a = Qe, s = b(a), u =
|
|
370
|
+
var t = Xe, i = b(t), n = Ge, d = b(n), a = Qe, s = b(a), u = a2(), p = n5, l = b(p), c = Ee, o = b(c);
|
|
371
371
|
function b(g) {
|
|
372
372
|
return g && g.__esModule ? g : { default: g };
|
|
373
373
|
}
|
|
@@ -380,34 +380,34 @@ var n5 = j1.exports;
|
|
|
380
380
|
return (0, l.default)(H, g, M, V);
|
|
381
381
|
if ((0, u.isAsyncIterable)(H))
|
|
382
382
|
return (0, l.default)(H[Symbol.asyncIterator](), g, M, V);
|
|
383
|
-
var
|
|
384
|
-
function P(
|
|
383
|
+
var D = (0, d.default)(H), $ = !1, z = !1, R = 0, O = !1;
|
|
384
|
+
function P(B, m) {
|
|
385
385
|
if (!z)
|
|
386
|
-
if (R -= 1,
|
|
387
|
-
$ = !0, V(
|
|
388
|
-
else if (
|
|
386
|
+
if (R -= 1, B)
|
|
387
|
+
$ = !0, V(B);
|
|
388
|
+
else if (B === !1)
|
|
389
389
|
$ = !0, z = !0;
|
|
390
390
|
else {
|
|
391
391
|
if (m === o.default || $ && R <= 0)
|
|
392
392
|
return $ = !0, V(null);
|
|
393
|
-
|
|
393
|
+
O || w();
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
for (
|
|
398
|
-
var
|
|
399
|
-
if (
|
|
396
|
+
function w() {
|
|
397
|
+
for (O = !0; R < g && !$; ) {
|
|
398
|
+
var B = D();
|
|
399
|
+
if (B === null) {
|
|
400
400
|
$ = !0, R <= 0 && V(null);
|
|
401
401
|
return;
|
|
402
402
|
}
|
|
403
|
-
R += 1, M(
|
|
403
|
+
R += 1, M(B.value, B.key, (0, s.default)(P));
|
|
404
404
|
}
|
|
405
|
-
|
|
405
|
+
O = !1;
|
|
406
406
|
}
|
|
407
|
-
|
|
407
|
+
w();
|
|
408
408
|
}, e.exports = r.default;
|
|
409
|
-
})(
|
|
410
|
-
var o5 =
|
|
409
|
+
})(T1, T1.exports);
|
|
410
|
+
var o5 = T1.exports, Y1 = { exports: {} };
|
|
411
411
|
(function(e, r) {
|
|
412
412
|
Object.defineProperty(r, "__esModule", {
|
|
413
413
|
value: !0
|
|
@@ -416,8 +416,8 @@ var o5 = S1.exports, q1 = { exports: {} };
|
|
|
416
416
|
return (n, d, a) => i(n, a);
|
|
417
417
|
}
|
|
418
418
|
e.exports = r.default;
|
|
419
|
-
})(
|
|
420
|
-
var l5 =
|
|
419
|
+
})(Y1, Y1.exports);
|
|
420
|
+
var l5 = Y1.exports, W1 = { exports: {} };
|
|
421
421
|
(function(e, r) {
|
|
422
422
|
Object.defineProperty(r, "__esModule", {
|
|
423
423
|
value: !0
|
|
@@ -437,13 +437,13 @@ var l5 = q1.exports, Y1 = { exports: {} };
|
|
|
437
437
|
return d;
|
|
438
438
|
}
|
|
439
439
|
e.exports = r.default;
|
|
440
|
-
})(
|
|
441
|
-
var d5 =
|
|
440
|
+
})(W1, W1.exports);
|
|
441
|
+
var d5 = W1.exports;
|
|
442
442
|
(function(e, r) {
|
|
443
443
|
Object.defineProperty(r, "__esModule", {
|
|
444
444
|
value: !0
|
|
445
445
|
});
|
|
446
|
-
var t = o5, i = l(t), n = l5, d = l(n), a =
|
|
446
|
+
var t = o5, i = l(t), n = l5, d = l(n), a = a2(), s = l(a), u = d5, p = l(u);
|
|
447
447
|
function l(o) {
|
|
448
448
|
return o && o.__esModule ? o : { default: o };
|
|
449
449
|
}
|
|
@@ -451,22 +451,22 @@ var d5 = Y1.exports;
|
|
|
451
451
|
return (0, i.default)(b)(o, (0, d.default)((0, s.default)(g)), H);
|
|
452
452
|
}
|
|
453
453
|
r.default = (0, p.default)(c, 4), e.exports = r.default;
|
|
454
|
-
})(
|
|
455
|
-
var s5 =
|
|
454
|
+
})(S1, S1.exports);
|
|
455
|
+
var s5 = S1.exports;
|
|
456
456
|
const c5 = /* @__PURE__ */ We(s5);
|
|
457
|
-
function
|
|
457
|
+
function Q(e) {
|
|
458
458
|
return we[e];
|
|
459
459
|
}
|
|
460
460
|
function Be(e, r) {
|
|
461
461
|
return r[ke[e]].slice();
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function t1(e, r) {
|
|
464
464
|
const t = r.priorities.find(
|
|
465
465
|
(i) => i.priority === e.priority
|
|
466
466
|
);
|
|
467
|
-
return (t == null ? void 0 : t.color) ||
|
|
467
|
+
return (t == null ? void 0 : t.color) || i2;
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function n2(e, r) {
|
|
470
470
|
const t = r.topic_statuses.find(
|
|
471
471
|
(i) => i.topic_status === e.topic_status
|
|
472
472
|
);
|
|
@@ -478,19 +478,17 @@ async function u5(e, r) {
|
|
|
478
478
|
}
|
|
479
479
|
let Re = null;
|
|
480
480
|
function D0(e, { fetchUsers: r }) {
|
|
481
|
-
const t = r ? (
|
|
482
|
-
const x =
|
|
483
|
-
return
|
|
484
|
-
|
|
485
|
-
}),
|
|
486
|
-
}, d = async (
|
|
487
|
-
const y = await e.bcfApi.getDetailedExtensions(
|
|
488
|
-
return x.color =
|
|
489
|
-
}, a =
|
|
490
|
-
await e.bcfApi.deleteTopic(m.guid, _.id);
|
|
491
|
-
}, p = async (_, m) => {
|
|
481
|
+
const t = r ? (m) => r(m) : (m) => e.collaborationApi.getProjectUsers(m.cloud.id, m.id), i = () => e.bcfApi.getUser(), n = async (m, { extensions: _, users: y } = {}) => {
|
|
482
|
+
const x = _ ?? await e.bcfApi.getDetailedExtensions(m.id), F = y ?? await t(m), k = await e.bcfApi.getTopics(m.id);
|
|
483
|
+
return k.sort((I, J) => J.index - I.index), k.forEach((I) => {
|
|
484
|
+
I.color = t1(I, x), I.creator = F.find((J) => J.email === I.creation_author);
|
|
485
|
+
}), k;
|
|
486
|
+
}, d = async (m, _) => {
|
|
487
|
+
const y = await e.bcfApi.getDetailedExtensions(m.id), x = await e.bcfApi.getFullTopic(_, m.id, "url");
|
|
488
|
+
return x.color = t1(x, y), x;
|
|
489
|
+
}, a = (m, _) => e.bcfApi.createTopic(m.id, _), s = (m, _) => e.bcfApi.updateTopic(_.guid, m.id, _), u = (m, _) => e.bcfApi.deleteTopic(_.guid, m.id), p = async (m, _) => {
|
|
492
490
|
const y = new FormData();
|
|
493
|
-
y.append("name",
|
|
491
|
+
y.append("name", _.name), y.append("file", _), await fetch(`${e.config.basePath}/bcf/2.1/projects/${m.id}/import`, {
|
|
494
492
|
method: "POST",
|
|
495
493
|
credentials: "include",
|
|
496
494
|
headers: {
|
|
@@ -498,18 +496,18 @@ function D0(e, { fetchUsers: r }) {
|
|
|
498
496
|
},
|
|
499
497
|
body: y
|
|
500
498
|
});
|
|
501
|
-
}, l = async (
|
|
499
|
+
}, l = async (m, _) => {
|
|
502
500
|
const y = await e.bcfApi.downloadBcfExport(
|
|
503
|
-
|
|
501
|
+
m.id,
|
|
504
502
|
void 0,
|
|
505
|
-
|
|
503
|
+
_.map((x) => x.guid).join(",")
|
|
506
504
|
);
|
|
507
|
-
u5(`${
|
|
508
|
-
}, c = async (
|
|
509
|
-
o(
|
|
510
|
-
y.viewpoints =
|
|
505
|
+
u5(`${m.name}.bcf`, y);
|
|
506
|
+
}, c = async (m, _) => (await c5(_, 10, (y, x) => {
|
|
507
|
+
o(m, y).then((F) => {
|
|
508
|
+
y.viewpoints = F, x();
|
|
511
509
|
}, x);
|
|
512
|
-
}),
|
|
510
|
+
}), _), o = (m, _) => e.bcfApi.getTopicViewpoints(m.id, _.guid, "url");
|
|
513
511
|
return {
|
|
514
512
|
fetchCurrentUser: i,
|
|
515
513
|
fetchTopics: n,
|
|
@@ -521,41 +519,38 @@ function D0(e, { fetchUsers: r }) {
|
|
|
521
519
|
exportBcf: l,
|
|
522
520
|
loadTopicsViewpoints: c,
|
|
523
521
|
fetchTopicViewpoints: o,
|
|
524
|
-
fetchTopicCommentViewpoint:
|
|
525
|
-
createViewpoint:
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
Z.user = y.find((D) => D.email === Z.author);
|
|
522
|
+
fetchTopicCommentViewpoint: (m, _, y) => e.bcfApi.getViewpoint(y.viewpoint_guid, m.id, _.guid),
|
|
523
|
+
createViewpoint: (m, _, y) => e.bcfApi.createViewpoint(m.id, _.guid, "url", y),
|
|
524
|
+
updateViewpoint: (m, _, y) => e.bcfApi.updateViewpoint(y.guid, m.id, _.guid, "url", y),
|
|
525
|
+
deleteViewpoint: (m, _, y) => e.bcfApi.deleteViewpoint(y.guid, m.id, _.guid),
|
|
526
|
+
fetchTopicComments: async (m, _) => {
|
|
527
|
+
const y = await t(m), x = await e.bcfApi.getComments(m.id, _.guid);
|
|
528
|
+
return x.sort((F, k) => F.date > k.date ? -1 : 1), x.forEach((F) => {
|
|
529
|
+
F.user = y.find((k) => k.email === F.author);
|
|
533
530
|
}), x;
|
|
534
531
|
},
|
|
535
|
-
createComment:
|
|
536
|
-
updateComment:
|
|
537
|
-
deleteComment:
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
createExtension: async (_, m, y) => await e.bcfApi[`createExtension${m}`](_.id, {
|
|
543
|
-
[G(m)]: y.value,
|
|
532
|
+
createComment: (m, _, y) => e.bcfApi.createComment(m.id, _.guid, y),
|
|
533
|
+
updateComment: (m, _, y, x) => e.bcfApi.updateComment(y.guid, m.id, _.guid, x),
|
|
534
|
+
deleteComment: (m, _, y) => e.bcfApi.deleteComment(y.guid, m.id, _.guid),
|
|
535
|
+
fetchExtensions: (m) => e.bcfApi.getExtensions(m.id),
|
|
536
|
+
fetchDetailedExtensions: (m) => e.bcfApi.getDetailedExtensions(m.id),
|
|
537
|
+
createExtension: async (m, _, y) => await e.bcfApi[`createExtension${_}`](m.id, {
|
|
538
|
+
[Q(_)]: y.value,
|
|
544
539
|
color: qe()
|
|
545
540
|
}),
|
|
546
|
-
updateExtension: async (
|
|
547
|
-
[
|
|
541
|
+
updateExtension: async (m, _, y, x) => await e.bcfApi[`updateExtension${_}`](y.id, m.id, {
|
|
542
|
+
[Q(_)]: x.value,
|
|
548
543
|
color: x.color
|
|
549
544
|
}),
|
|
550
|
-
deleteExtension: async (
|
|
551
|
-
await e.bcfApi[`deleteExtension${
|
|
545
|
+
deleteExtension: async (m, _, y) => {
|
|
546
|
+
await e.bcfApi[`deleteExtension${_}`](y.id, m.id);
|
|
552
547
|
}
|
|
553
548
|
};
|
|
554
549
|
}
|
|
555
550
|
function E0(e) {
|
|
556
551
|
Re = e;
|
|
557
552
|
}
|
|
558
|
-
function
|
|
553
|
+
function c1() {
|
|
559
554
|
return Re;
|
|
560
555
|
}
|
|
561
556
|
const p2 = {
|
|
@@ -568,7 +563,7 @@ const p2 = {
|
|
|
568
563
|
endDate: null
|
|
569
564
|
};
|
|
570
565
|
function f5(e) {
|
|
571
|
-
const r = Ae({ ...p2 }), t =
|
|
566
|
+
const r = Ae({ ...p2 }), t = Z(() => {
|
|
572
567
|
let d = e.value;
|
|
573
568
|
return r.priorities.length > 0 && (d = d.filter((a) => r.priorities.includes(a.priority))), r.statuses.length > 0 && (d = d.filter((a) => r.statuses.includes(a.topic_status))), r.users.length > 0 && (d = d.filter((a) => r.users.includes(a.assigned_to))), r.creators.length > 0 && (d = d.filter((a) => r.creators.includes(a.creation_author))), r.labels.length > 0 && (d = d.filter((a) => r.labels.some((s) => a.labels.includes(s)))), r.startDate && r.endDate && (d = d.filter((a) => a.creation_date >= r.startDate && a.creation_date <= r.endDate)), d;
|
|
574
569
|
});
|
|
@@ -617,7 +612,7 @@ function B0(e) {
|
|
|
617
612
|
filteredTopics: t
|
|
618
613
|
};
|
|
619
614
|
}
|
|
620
|
-
function
|
|
615
|
+
function m1(e, r = (t) => t) {
|
|
621
616
|
const t = L(e), i = (a = "asc") => {
|
|
622
617
|
const s = t.value.slice().sort((u, p) => r(u) < r(p) ? -1 : 1);
|
|
623
618
|
a === "desc" && s.reverse(), t.value = s;
|
|
@@ -630,7 +625,7 @@ function b1(e, r = (t) => t) {
|
|
|
630
625
|
};
|
|
631
626
|
}
|
|
632
627
|
function R0(e) {
|
|
633
|
-
const { sortToggle: r, sortOrder: t } =
|
|
628
|
+
const { sortToggle: r, sortOrder: t } = m1(e, (c) => c.index), { sortToggle: i, sortOrder: n } = m1(e, (c) => c.title), { sortToggle: d, sortOrder: a } = m1(e, (c) => c.creation_date), s = L("");
|
|
634
629
|
return {
|
|
635
630
|
sortedBy: s,
|
|
636
631
|
sortByIndex: () => {
|
|
@@ -648,14 +643,14 @@ function R0(e) {
|
|
|
648
643
|
};
|
|
649
644
|
}
|
|
650
645
|
function h5(e) {
|
|
651
|
-
return e[
|
|
646
|
+
return e[l1];
|
|
652
647
|
}
|
|
653
648
|
function I0(e) {
|
|
654
649
|
var r;
|
|
655
|
-
return ((r = e[
|
|
650
|
+
return ((r = e[d1]) == null ? void 0 : r.split(",").map(Number)) ?? [];
|
|
656
651
|
}
|
|
657
652
|
function v5(e) {
|
|
658
|
-
return
|
|
653
|
+
return s1[h5(e)];
|
|
659
654
|
}
|
|
660
655
|
function p5(e) {
|
|
661
656
|
return e.components.selection || (e.components.selection = []), e.components.visibility || (e.components.visibility = {
|
|
@@ -704,7 +699,7 @@ function L5(e) {
|
|
|
704
699
|
let s = n.source;
|
|
705
700
|
if (n.map && (s += `
|
|
706
701
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
707
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
702
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), _1 === void 0 && (_1 = document.head || document.getElementsByTagName("head")[0]), _1.appendChild(a.element)), "styleSheet" in a.element)
|
|
708
703
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
709
704
|
`);
|
|
710
705
|
else {
|
|
@@ -714,8 +709,8 @@ function L5(e) {
|
|
|
714
709
|
}
|
|
715
710
|
}(r, t);
|
|
716
711
|
}
|
|
717
|
-
let
|
|
718
|
-
const g2 = {},
|
|
712
|
+
let _1;
|
|
713
|
+
const g2 = {}, S = m5({ render: function() {
|
|
719
714
|
var e = this, r = e.$createElement;
|
|
720
715
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
721
716
|
return e.$emit("click", t);
|
|
@@ -1242,7 +1237,7 @@ function M5(e) {
|
|
|
1242
1237
|
let s = n.source;
|
|
1243
1238
|
if (n.map && (s += `
|
|
1244
1239
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1245
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1240
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), L1 === void 0 && (L1 = document.head || document.getElementsByTagName("head")[0]), L1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1246
1241
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1247
1242
|
`);
|
|
1248
1243
|
else {
|
|
@@ -1252,8 +1247,8 @@ function M5(e) {
|
|
|
1252
1247
|
}
|
|
1253
1248
|
}(r, t);
|
|
1254
1249
|
}
|
|
1255
|
-
let
|
|
1256
|
-
const _2 = {},
|
|
1250
|
+
let L1;
|
|
1251
|
+
const _2 = {}, T = v({ render: function() {
|
|
1257
1252
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1258
1253
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
1259
1254
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -1305,7 +1300,7 @@ function k5(e) {
|
|
|
1305
1300
|
let s = n.source;
|
|
1306
1301
|
if (n.map && (s += `
|
|
1307
1302
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1308
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1303
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), H1 === void 0 && (H1 = document.head || document.getElementsByTagName("head")[0]), H1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1309
1304
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1310
1305
|
`);
|
|
1311
1306
|
else {
|
|
@@ -1315,8 +1310,8 @@ function k5(e) {
|
|
|
1315
1310
|
}
|
|
1316
1311
|
}(r, t);
|
|
1317
1312
|
}
|
|
1318
|
-
let
|
|
1319
|
-
const H2 = {},
|
|
1313
|
+
let H1;
|
|
1314
|
+
const H2 = {}, p1 = Z5({ render: function() {
|
|
1320
1315
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1321
1316
|
return t("div", { staticClass: "bimdata-input", class: { error: e.error, success: e.success, disabled: e.disabled, loading: e.loading, "not-empty": !!e.modelValue }, style: e.style }, [t("input", e._b({ ref: "input", attrs: { id: "bimdata-input-" + e.uuid, disabled: e.disabled, autocomplete: e.autocomplete ? "on" : "off" }, domProps: { value: e.modelValue }, on: { input: function(i) {
|
|
1322
1317
|
return e.$emit("update:modelValue", i.currentTarget.value);
|
|
@@ -1349,7 +1344,7 @@ var y2 = { bind(e, r) {
|
|
|
1349
1344
|
} }, methods: { onClick() {
|
|
1350
1345
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
1351
1346
|
} } };
|
|
1352
|
-
function
|
|
1347
|
+
function e1(e, r, t, i, n, d, a, s, u, p) {
|
|
1353
1348
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
1354
1349
|
const l = typeof t == "function" ? t.options : t;
|
|
1355
1350
|
let c;
|
|
@@ -1372,7 +1367,7 @@ function Q(e, r, t, i, n, d, a, s, u, p) {
|
|
|
1372
1367
|
return t;
|
|
1373
1368
|
}
|
|
1374
1369
|
const F5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1375
|
-
function
|
|
1370
|
+
function C1(e) {
|
|
1376
1371
|
return (r, t) => function(i, n) {
|
|
1377
1372
|
const d = F5 ? n.media || "default" : i, a = V2[d] || (V2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1378
1373
|
if (!a.ids.has(i)) {
|
|
@@ -1380,7 +1375,7 @@ function f1(e) {
|
|
|
1380
1375
|
let s = n.source;
|
|
1381
1376
|
if (n.map && (s += `
|
|
1382
1377
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1383
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1378
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), y1 === void 0 && (y1 = document.head || document.getElementsByTagName("head")[0]), y1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1384
1379
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1385
1380
|
`);
|
|
1386
1381
|
else {
|
|
@@ -1390,22 +1385,22 @@ function f1(e) {
|
|
|
1390
1385
|
}
|
|
1391
1386
|
}(r, t);
|
|
1392
1387
|
}
|
|
1393
|
-
let
|
|
1394
|
-
const V2 = {}, D5 =
|
|
1388
|
+
let y1;
|
|
1389
|
+
const V2 = {}, D5 = e1({ render: function() {
|
|
1395
1390
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1396
1391
|
return t("div", e._b({ staticClass: "bimdata-checkbox", class: { indeterminate: e.indeterminate, disabled: e.disabled, checked: e.checked }, style: e.style, on: { click: e.onClick } }, "div", e.$attrs, !1), [t("span", { staticClass: "bimdata-checkbox__mark" }), e._v(" "), e.text ? t("span", { staticClass: "bimdata-checkbox__text" }, [e._t("default", function() {
|
|
1397
1392
|
return [e._v(e._s(e.text))];
|
|
1398
1393
|
})], 2) : e._e()]);
|
|
1399
1394
|
}, staticRenderFns: [] }, function(e) {
|
|
1400
1395
|
e && (e("data-v-092b3c62_0", { source: 'html[data-v-092b3c62]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-092b3c62]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-092b3c62]{text-align:left}.text-center[data-v-092b3c62]{text-align:center}.text-right[data-v-092b3c62]{text-align:right}.bimdata-link[data-v-092b3c62]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-092b3c62]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-092b3c62_1", { source: '.bimdata-checkbox{position:relative;display:flex;align-items:center;font-family:var(--primary-font);font-size:1em;cursor:pointer;user-select:none}.bimdata-checkbox :after,.bimdata-checkbox :before{-webkit-box-sizing:border-box;box-sizing:border-box}.bimdata-checkbox__mark{width:13px;height:13px;position:relative;top:0;left:0;border:solid 1px var(--color-primary);border-radius:2px;box-sizing:border-box}.bimdata-checkbox__mark::after{width:4px;height:7px;content:"";display:block;position:absolute;top:1px;left:3px;border:solid transparent;opacity:0;transform:rotate(45deg)}.bimdata-checkbox__text{width:calc(100% - 13px - 5px);margin-left:6px;font-size:.8571428571em}.bimdata-checkbox.checked>.bimdata-checkbox__mark,.bimdata-checkbox.indeterminate>.bimdata-checkbox__mark{background-color:var(--color-primary)}.bimdata-checkbox:not(.indeterminate):not(.checked)>.bimdata-checkbox__mark::after{border-color:transparent}.bimdata-checkbox.checked>.bimdata-checkbox__mark::after,.bimdata-checkbox:not(.indeterminate)>.bimdata-checkbox__mark::after{border:solid 1px var(--color-white);border-left:none;border-top:none;border-width:0 1px 1px 0;opacity:1}.bimdata-checkbox.indeterminate>.bimdata-checkbox__mark::after{border-width:0 1px 0 0;transform:rotate(90deg)}.bimdata-checkbox.disabled{cursor:default}.bimdata-checkbox.disabled>.bimdata-checkbox__mark{border-color:var(--color-silver-dark)}.bimdata-checkbox.disabled>.bimdata-checkbox__text{color:var(--color-silver-dark)}.bimdata-checkbox.checked.disabled>.bimdata-checkbox__mark{background-color:var(--color-silver-dark)}', map: void 0, media: void 0 }));
|
|
1401
|
-
}, $5, "data-v-092b3c62", !1, void 0, !1,
|
|
1396
|
+
}, $5, "data-v-092b3c62", !1, void 0, !1, C1, void 0, void 0), E5 = e1({ render: function() {
|
|
1402
1397
|
var e = this.$createElement;
|
|
1403
1398
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" } });
|
|
1404
1399
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
1405
1400
|
var B5 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1406
1401
|
const M2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1407
1402
|
var x2;
|
|
1408
|
-
const Z2 =
|
|
1403
|
+
const Z2 = e1({ render: function() {
|
|
1409
1404
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1410
1405
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
1411
1406
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -1417,12 +1412,12 @@ const Z2 = Q({ render: function() {
|
|
|
1417
1412
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
1418
1413
|
} }, methods: { getPixelSize() {
|
|
1419
1414
|
return this.customSize ? this.customSize : M2[this.size];
|
|
1420
|
-
} } }, "data-v-20c38c94", !1, void 0, !1,
|
|
1415
|
+
} } }, "data-v-20c38c94", !1, void 0, !1, C1, void 0, void 0), Ie = e1({ render: function() {
|
|
1421
1416
|
var e = this, r = e.$createElement;
|
|
1422
1417
|
return (e._self._c || r)(e.selectorComponent, e._b({ tag: "component", attrs: { modelValue: e.modelValue }, on: { "update:modelValue": function(t) {
|
|
1423
1418
|
return e.$emit("update:modelValue", t);
|
|
1424
1419
|
} } }, "component", e.$props, !1));
|
|
1425
|
-
}, staticRenderFns: [] }, void 0, { components: { BIMDataSelectMulti:
|
|
1420
|
+
}, staticRenderFns: [] }, void 0, { components: { BIMDataSelectMulti: e1({ render: function() {
|
|
1426
1421
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1427
1422
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: function() {
|
|
1428
1423
|
return e.isOpen = !1;
|
|
@@ -1462,7 +1457,7 @@ const Z2 = Q({ render: function() {
|
|
|
1462
1457
|
} else
|
|
1463
1458
|
r = this.modelValue.concat(e);
|
|
1464
1459
|
this.$emit("update:modelValue", r);
|
|
1465
|
-
} } }, "data-v-09766700", !1, void 0, !1,
|
|
1460
|
+
} } }, "data-v-09766700", !1, void 0, !1, C1, void 0, void 0), BIMDataSelectSingle: e1({ render: function() {
|
|
1466
1461
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1467
1462
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: function() {
|
|
1468
1463
|
return e.isOpen = !1;
|
|
@@ -1500,7 +1495,7 @@ const Z2 = Q({ render: function() {
|
|
|
1500
1495
|
this.optionKey && (e.disabled || e.optionGroup) || (this.$emit("update:modelValue", e), this.isOpen = !1);
|
|
1501
1496
|
}, onNullValueClick() {
|
|
1502
1497
|
this.$emit("update:modelValue", null), this.isOpen = !1;
|
|
1503
|
-
} } }, "data-v-1b2410f3", !1, void 0, !1,
|
|
1498
|
+
} } }, "data-v-1b2410f3", !1, void 0, !1, C1, void 0, void 0) }, 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() {
|
|
1504
1499
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
1505
1500
|
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
1506
1501
|
var R5 = function() {
|
|
@@ -1694,7 +1689,7 @@ var R5 = function() {
|
|
|
1694
1689
|
}
|
|
1695
1690
|
}), t("span", [e._v(" " + e._s(e.$t("BcfComponents.BcfFilters.searchButton")) + " ")])], 1)], 1)], 1)])], 1);
|
|
1696
1691
|
}, I5 = [];
|
|
1697
|
-
function
|
|
1692
|
+
function E(e, r, t, i, n, d, a, s) {
|
|
1698
1693
|
var u = typeof e == "function" ? e.options : e;
|
|
1699
1694
|
r && (u.render = r, u.staticRenderFns = t, u._compiled = !0), i && (u.functional = !0), d && (u._scopeId = "data-v-" + d);
|
|
1700
1695
|
var p;
|
|
@@ -1723,16 +1718,16 @@ function B(e, r, t, i, n, d, a, s) {
|
|
|
1723
1718
|
options: u
|
|
1724
1719
|
};
|
|
1725
1720
|
}
|
|
1726
|
-
function
|
|
1721
|
+
function r1(e) {
|
|
1727
1722
|
return Array.from(new Set(e)).sort(
|
|
1728
1723
|
(r, t) => r.localeCompare(t, void 0, { sensitivity: "base" })
|
|
1729
1724
|
);
|
|
1730
1725
|
}
|
|
1731
1726
|
const S5 = {
|
|
1732
1727
|
components: {
|
|
1733
|
-
BIMDataButton:
|
|
1734
|
-
BIMDataIcon:
|
|
1735
|
-
BIMDataInput:
|
|
1728
|
+
BIMDataButton: S,
|
|
1729
|
+
BIMDataIcon: T,
|
|
1730
|
+
BIMDataInput: p1,
|
|
1736
1731
|
BIMDataSelect: Ie
|
|
1737
1732
|
},
|
|
1738
1733
|
props: {
|
|
@@ -1744,17 +1739,17 @@ const S5 = {
|
|
|
1744
1739
|
emits: ["submit"],
|
|
1745
1740
|
setup(e, { emit: r }) {
|
|
1746
1741
|
const t = L(!1), i = () => t.value = !1, n = () => t.value = !t.value, { filters: d, filteredTopics: a, reset: s } = f5(
|
|
1747
|
-
|
|
1748
|
-
), u =
|
|
1749
|
-
() =>
|
|
1750
|
-
), p =
|
|
1751
|
-
() =>
|
|
1752
|
-
), l =
|
|
1753
|
-
() =>
|
|
1754
|
-
), c =
|
|
1755
|
-
() =>
|
|
1756
|
-
), o =
|
|
1757
|
-
() =>
|
|
1742
|
+
Z(() => e.topics)
|
|
1743
|
+
), u = Z(
|
|
1744
|
+
() => r1(e.topics.map((H) => H.priority))
|
|
1745
|
+
), p = Z(
|
|
1746
|
+
() => r1(e.topics.map((H) => H.topic_status))
|
|
1747
|
+
), l = Z(
|
|
1748
|
+
() => r1(e.topics.map((H) => H.assigned_to))
|
|
1749
|
+
), c = Z(
|
|
1750
|
+
() => r1(e.topics.map((H) => H.creation_author))
|
|
1751
|
+
), o = Z(
|
|
1752
|
+
() => r1(e.topics.flatMap((H) => H.labels))
|
|
1758
1753
|
);
|
|
1759
1754
|
return {
|
|
1760
1755
|
// References
|
|
@@ -1784,7 +1779,7 @@ const S5 = {
|
|
|
1784
1779
|
};
|
|
1785
1780
|
}
|
|
1786
1781
|
}, w2 = {};
|
|
1787
|
-
var T5 = /* @__PURE__ */
|
|
1782
|
+
var T5 = /* @__PURE__ */ E(
|
|
1788
1783
|
S5,
|
|
1789
1784
|
R5,
|
|
1790
1785
|
I5,
|
|
@@ -1800,10 +1795,10 @@ function O5(e) {
|
|
|
1800
1795
|
}
|
|
1801
1796
|
const z5 = /* @__PURE__ */ function() {
|
|
1802
1797
|
return T5.exports;
|
|
1803
|
-
}(),
|
|
1804
|
-
Object.entries(
|
|
1798
|
+
}(), o2 = Object.freeze({ bisque: "ffe4c4", orange: "ffa500", coral: "ff7f50", red: "ff3d1e", maroon: "800000", khaki: "f0e68c", tan: "d2b48c", peru: "cd853f", sienna: "a0522d", brown: "a52a2a", greenyellow: "adff2f", yellowgreen: "9acd32", forestgreen: "00af50", green: "008000", darkgreen: "006400", lightcyan: "e0ffff", skyblue: "87ceeb", steelblue: "4682b4", blue: "0000ff", darkblue: "00008b", mistyrose: "ffe4e1", hotpink: "ff69b4", magenta: "ff00ff", purple: "800080", indigo: "4b0082", whitesmoke: "f5f5f5", silver: "c0c0c0", darkgray: "a9a9a9", grey: "7a7a7a", black: "000000" }), P5 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
|
|
1799
|
+
Object.entries(o2).filter(([e]) => !P5.includes(e));
|
|
1805
1800
|
var N5 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), A5 = { props: { text: { type: String } } };
|
|
1806
|
-
function
|
|
1801
|
+
function X1(e, r, t, i, n, d, a, s, u, p) {
|
|
1807
1802
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
1808
1803
|
const l = typeof t == "function" ? t.options : t;
|
|
1809
1804
|
let c;
|
|
@@ -1826,7 +1821,7 @@ function W1(e, r, t, i, n, d, a, s, u, p) {
|
|
|
1826
1821
|
return t;
|
|
1827
1822
|
}
|
|
1828
1823
|
const j5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1829
|
-
function
|
|
1824
|
+
function K1(e) {
|
|
1830
1825
|
return (r, t) => function(i, n) {
|
|
1831
1826
|
const d = j5 ? n.media || "default" : i, a = k2[d] || (k2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1832
1827
|
if (!a.ids.has(i)) {
|
|
@@ -1834,7 +1829,7 @@ function X1(e) {
|
|
|
1834
1829
|
let s = n.source;
|
|
1835
1830
|
if (n.map && (s += `
|
|
1836
1831
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1837
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1832
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), V1 === void 0 && (V1 = document.head || document.getElementsByTagName("head")[0]), V1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1838
1833
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1839
1834
|
`);
|
|
1840
1835
|
else {
|
|
@@ -1844,8 +1839,8 @@ function X1(e) {
|
|
|
1844
1839
|
}
|
|
1845
1840
|
}(r, t);
|
|
1846
1841
|
}
|
|
1847
|
-
let
|
|
1848
|
-
const k2 = {}, U5 =
|
|
1842
|
+
let V1;
|
|
1843
|
+
const k2 = {}, U5 = X1({ render: function() {
|
|
1849
1844
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1850
1845
|
return t("div", { staticClass: "bimdata-card", class: e.classes, style: { "min-width": e.width, "border-radius": e.borderRadius } }, [e.titleHeader || e.$slots.headerIcons ? t("BIMDataCardBand", { staticClass: "bimdata-card__header", attrs: { text: e.titleHeader }, scopedSlots: e._u([{ key: "right", fn: function() {
|
|
1851
1846
|
return [e._t("headerIcons")];
|
|
@@ -1856,14 +1851,14 @@ const k2 = {}, U5 = W1({ render: function() {
|
|
|
1856
1851
|
}, proxy: !0 }], null, !0) }) : e._e(), e._v(" "), e.$slots.content ? t("div", { staticClass: "bimdata-card__content" }, [e._t("content")], 2) : e._e(), e._v(" "), e.$slots.footer ? t("footer", { staticClass: "bimdata-card__footer" }, [e._t("footer")], 2) : e._e()], 1);
|
|
1857
1852
|
}, staticRenderFns: [] }, function(e) {
|
|
1858
1853
|
e && (e("data-v-ed011768_0", { source: 'html[data-v-ed011768]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-ed011768]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-ed011768]{text-align:left}.text-center[data-v-ed011768]{text-align:center}.text-right[data-v-ed011768]{text-align:right}.bimdata-link[data-v-ed011768]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-ed011768]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-ed011768_1", { source: ".bimdata-card{background-color:var(--color-white);box-shadow:var(--box-shadow);font-family:var(--primary-font);font-size:1em;overflow:auto}.bimdata-card__content,.bimdata-card__footer{font-size:.8571428571em}.bimdata-card__header{padding:10px var(--spacing-unit);height:auto;display:flex;align-items:center;justify-content:space-between;background-color:var(--color-silver-light);color:var(--color-primary);font-size:.9285714286em}.bimdata-card__submenu{padding:calc(var(--spacing-unit)/ 2) var(--spacing-unit);display:flex;align-items:center;position:relative;background:var(--color-white);box-shadow:var(--box-shadow);font-size:.8571428571em}.bimdata-card__content{padding:var(--spacing-unit);color:var(--color-granite)}.bimdata-card__footer{padding:0 var(--spacing-unit) var(--spacing-unit)}.bimdata-card__primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-card__primary .bimdata-card__header,.bimdata-card__primary .bimdata-card__submenu{background-color:var(--color-primary)}.bimdata-card__primary .bimdata-card__header{color:var(--color-white);filter:saturate(.8)}.bimdata-card__primary .bimdata-card__content{color:var(--color-white)}.bimdata-card__secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-card__secondary .bimdata-card__header,.bimdata-card__secondary .bimdata-card__submenu{background-color:var(--color-secondary)}.bimdata-card__secondary .bimdata-card__header{color:var(--color-primary);filter:saturate(.8)}", map: void 0, media: void 0 }));
|
|
1859
|
-
}, { components: { BIMDataCardBand:
|
|
1854
|
+
}, { components: { BIMDataCardBand: X1({ render: function() {
|
|
1860
1855
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1861
1856
|
return t("div", { staticClass: "bimdata-card__brand" }, [t("div", { staticClass: "bimdata-card__brand--left" }, [e._t("left"), e._v(" "), e.text ? t("span", [e._v(e._s(e.text))]) : e._e()], 2), e._v(" "), e._t("right")], 2);
|
|
1862
1857
|
}, staticRenderFns: [] }, function(e) {
|
|
1863
1858
|
e && (e("data-v-d290df1a_0", { source: 'html[data-v-d290df1a]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-d290df1a_1", { source: ".bimdata-card__brand{justify-content:space-between}.bimdata-card__brand--left{margin-right:var(--spacing-unit);display:flex;align-items:center}.bimdata-card__brand--left svg{margin-right:calc(var(--spacing-unit)/ 2)}", map: void 0, media: void 0 }));
|
|
1864
|
-
}, A5, "data-v-d290df1a", !1, void 0, !1,
|
|
1859
|
+
}, A5, "data-v-d290df1a", !1, void 0, !1, K1, void 0, void 0) }, props: { titleHeader: { type: String }, submenuText: { type: String }, width: { type: [Number, String], default: "215px" }, borderRadius: { type: String, default: "0px" }, bgColor: { type: String, default: "default", validator: (e) => N5.includes(e) } }, computed: { classes() {
|
|
1865
1860
|
return { [`bimdata-card__${this.bgColor}`]: this.bgColor };
|
|
1866
|
-
} } }, "data-v-ed011768", !1, void 0, !1,
|
|
1861
|
+
} } }, "data-v-ed011768", !1, void 0, !1, K1, void 0, void 0), q5 = Object.entries(o2).reduce((e, r, t) => (t % 5 == 0 ? e.push([r]) : e[e.length - 1].push(r), e), []), Y5 = X1({ render: function() {
|
|
1867
1862
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1868
1863
|
return t("BIMDataCard", { staticClass: "color-selector", scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1869
1864
|
return e._l(e.colorLines, function(i, n) {
|
|
@@ -1877,7 +1872,7 @@ const k2 = {}, U5 = W1({ render: function() {
|
|
|
1877
1872
|
}, proxy: !0 }]) });
|
|
1878
1873
|
}, staticRenderFns: [] }, function(e) {
|
|
1879
1874
|
e && e("data-v-ab4073bc_0", { source: ".color-selector__line[data-v-ab4073bc]{display:flex}.color-selector__line__element[data-v-ab4073bc]{cursor:pointer;height:30px;width:30px;margin:4px;border-radius:3px}.color-selector__line__element.selected[data-v-ab4073bc]{border:solid 2px var(--color-primary)}", map: void 0, media: void 0 });
|
|
1880
|
-
}, { components: { BIMDataCard: U5 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(
|
|
1875
|
+
}, { components: { BIMDataCard: U5 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(o2).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: q5 }) }, "data-v-ab4073bc", !1, void 0, !1, K1, void 0, void 0);
|
|
1881
1876
|
var W5 = function() {
|
|
1882
1877
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1883
1878
|
return t("li", {
|
|
@@ -1997,10 +1992,10 @@ var W5 = function() {
|
|
|
1997
1992
|
}, X5 = [];
|
|
1998
1993
|
const K5 = {
|
|
1999
1994
|
components: {
|
|
2000
|
-
BIMDataButton:
|
|
1995
|
+
BIMDataButton: S,
|
|
2001
1996
|
BIMDataColorSelector: Y5,
|
|
2002
|
-
BIMDataIcon:
|
|
2003
|
-
BIMDataInput:
|
|
1997
|
+
BIMDataIcon: T,
|
|
1998
|
+
BIMDataInput: p1
|
|
2004
1999
|
},
|
|
2005
2000
|
props: {
|
|
2006
2001
|
extensionType: {
|
|
@@ -2016,7 +2011,7 @@ const K5 = {
|
|
|
2016
2011
|
],
|
|
2017
2012
|
setup(e, { emit: r }) {
|
|
2018
2013
|
const t = L(!1), i = L(!1), n = L(!1), d = L(
|
|
2019
|
-
e.extension[
|
|
2014
|
+
e.extension[Q(e.extensionType)]
|
|
2020
2015
|
), a = L(e.extension.color), s = L(null);
|
|
2021
2016
|
return A(
|
|
2022
2017
|
t,
|
|
@@ -2032,7 +2027,7 @@ const K5 = {
|
|
|
2032
2027
|
isOpenDeleteGuard: n,
|
|
2033
2028
|
// Methods
|
|
2034
2029
|
adjustBorderColor: Ye,
|
|
2035
|
-
getExtensionField:
|
|
2030
|
+
getExtensionField: Q,
|
|
2036
2031
|
submitColor: async (c) => {
|
|
2037
2032
|
c !== e.extension.color && (r("update-extension", {
|
|
2038
2033
|
extensionType: e.extensionType,
|
|
@@ -2047,7 +2042,7 @@ const K5 = {
|
|
|
2047
2042
|
});
|
|
2048
2043
|
},
|
|
2049
2044
|
submitValue: async () => {
|
|
2050
|
-
d.value !== e.extension[
|
|
2045
|
+
d.value !== e.extension[Q(e.extensionType)] && (r("update-extension", {
|
|
2051
2046
|
extensionType: e.extensionType,
|
|
2052
2047
|
extension: e.extension,
|
|
2053
2048
|
data: { value: d.value }
|
|
@@ -2056,7 +2051,7 @@ const K5 = {
|
|
|
2056
2051
|
};
|
|
2057
2052
|
}
|
|
2058
2053
|
}, $2 = {};
|
|
2059
|
-
var J5 = /* @__PURE__ */
|
|
2054
|
+
var J5 = /* @__PURE__ */ E(
|
|
2060
2055
|
K5,
|
|
2061
2056
|
W5,
|
|
2062
2057
|
X5,
|
|
@@ -2188,9 +2183,9 @@ var e3 = function() {
|
|
|
2188
2183
|
}, t3 = [];
|
|
2189
2184
|
const r3 = {
|
|
2190
2185
|
components: {
|
|
2191
|
-
BIMDataButton:
|
|
2192
|
-
BIMDataIcon:
|
|
2193
|
-
BIMDataInput:
|
|
2186
|
+
BIMDataButton: S,
|
|
2187
|
+
BIMDataIcon: T,
|
|
2188
|
+
BIMDataInput: p1,
|
|
2194
2189
|
SettingCardItem: Q5
|
|
2195
2190
|
},
|
|
2196
2191
|
props: {
|
|
@@ -2209,7 +2204,7 @@ const r3 = {
|
|
|
2209
2204
|
"delete-extension"
|
|
2210
2205
|
],
|
|
2211
2206
|
setup(e, { emit: r }) {
|
|
2212
|
-
const t =
|
|
2207
|
+
const t = Z(
|
|
2213
2208
|
() => Be(e.extensionType, e.detailedExtensions)
|
|
2214
2209
|
), i = L(null), n = L(""), d = L(!1), a = () => d.value = !1, s = () => d.value = !d.value, u = L(!1), p = () => {
|
|
2215
2210
|
n.value = "", u.value = !1;
|
|
@@ -2237,7 +2232,7 @@ const r3 = {
|
|
|
2237
2232
|
};
|
|
2238
2233
|
}
|
|
2239
2234
|
}, F2 = {};
|
|
2240
|
-
var i3 = /* @__PURE__ */
|
|
2235
|
+
var i3 = /* @__PURE__ */ E(
|
|
2241
2236
|
r3,
|
|
2242
2237
|
e3,
|
|
2243
2238
|
t3,
|
|
@@ -2316,8 +2311,8 @@ var o3 = function() {
|
|
|
2316
2311
|
}, l3 = [];
|
|
2317
2312
|
const d3 = {
|
|
2318
2313
|
components: {
|
|
2319
|
-
BIMDataButton:
|
|
2320
|
-
BIMDataIcon:
|
|
2314
|
+
BIMDataButton: S,
|
|
2315
|
+
BIMDataIcon: T,
|
|
2321
2316
|
SettingCard: n3
|
|
2322
2317
|
},
|
|
2323
2318
|
props: {
|
|
@@ -2345,7 +2340,7 @@ const d3 = {
|
|
|
2345
2340
|
"extension-deleted"
|
|
2346
2341
|
],
|
|
2347
2342
|
setup(e, { emit: r }) {
|
|
2348
|
-
const t =
|
|
2343
|
+
const t = c1();
|
|
2349
2344
|
return {
|
|
2350
2345
|
// References
|
|
2351
2346
|
EXTENSION_TYPES: xe,
|
|
@@ -2377,7 +2372,7 @@ const d3 = {
|
|
|
2377
2372
|
};
|
|
2378
2373
|
}
|
|
2379
2374
|
}, D2 = {};
|
|
2380
|
-
var s3 = /* @__PURE__ */
|
|
2375
|
+
var s3 = /* @__PURE__ */ E(
|
|
2381
2376
|
d3,
|
|
2382
2377
|
o3,
|
|
2383
2378
|
l3,
|
|
@@ -2430,7 +2425,7 @@ function X(e) {
|
|
|
2430
2425
|
let s = n.source;
|
|
2431
2426
|
if (n.map && (s += `
|
|
2432
2427
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
2433
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
2428
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), M1 === void 0 && (M1 = document.head || document.getElementsByTagName("head")[0]), M1.appendChild(a.element)), "styleSheet" in a.element)
|
|
2434
2429
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
2435
2430
|
`);
|
|
2436
2431
|
else {
|
|
@@ -2440,7 +2435,7 @@ function X(e) {
|
|
|
2440
2435
|
}
|
|
2441
2436
|
}(r, t);
|
|
2442
2437
|
}
|
|
2443
|
-
let
|
|
2438
|
+
let M1;
|
|
2444
2439
|
const E2 = {}, B2 = U({ render: function() {
|
|
2445
2440
|
var e = this, r = e.$createElement;
|
|
2446
2441
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
@@ -2611,7 +2606,7 @@ function L3(e) {
|
|
|
2611
2606
|
let s = n.source;
|
|
2612
2607
|
if (n.map && (s += `
|
|
2613
2608
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
2614
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
2609
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), x1 === void 0 && (x1 = document.head || document.getElementsByTagName("head")[0]), x1.appendChild(a.element)), "styleSheet" in a.element)
|
|
2615
2610
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
2616
2611
|
`);
|
|
2617
2612
|
else {
|
|
@@ -2621,7 +2616,7 @@ function L3(e) {
|
|
|
2621
2616
|
}
|
|
2622
2617
|
}(r, t);
|
|
2623
2618
|
}
|
|
2624
|
-
let
|
|
2619
|
+
let x1;
|
|
2625
2620
|
const S2 = {}, H3 = m3({ render: function() {
|
|
2626
2621
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2627
2622
|
return t("div", { ref: "container", staticClass: "bimdata-simple-pie-chart" }, [t("svg", { style: "--graph-draw-time: " + e.graphDrawTime + "s;", attrs: { viewBox: e.viewBox } }, [e.placeholder ? t("circle", { attrs: { cx: e.center, cy: e.center, r: e.barDistanceFromCenter, "stroke-width": e.placeholderStrokeWidth, stroke: e.placeholderColor, fill: "none" } }) : e._e(), e._v(" "), e._l(e.displayedBarsData, function(i, n) {
|
|
@@ -2699,15 +2694,15 @@ const M3 = {
|
|
|
2699
2694
|
},
|
|
2700
2695
|
setup(e) {
|
|
2701
2696
|
return {
|
|
2702
|
-
chartData:
|
|
2697
|
+
chartData: Z(() => {
|
|
2703
2698
|
if (e.topics.length === 0)
|
|
2704
2699
|
return [];
|
|
2705
|
-
const t =
|
|
2700
|
+
const t = Q(e.extensionType), i = Be(e.extensionType, e.detailedExtensions);
|
|
2706
2701
|
return i.push({ [t]: void 0 }), i.map((n) => {
|
|
2707
2702
|
const d = e.topics.filter((a) => a[t] === n[t]).length;
|
|
2708
2703
|
return {
|
|
2709
2704
|
label: n[t],
|
|
2710
|
-
color: `#${n.color ??
|
|
2705
|
+
color: `#${n.color ?? i2}`,
|
|
2711
2706
|
count: d,
|
|
2712
2707
|
percentage: d * 100 / e.topics.length
|
|
2713
2708
|
};
|
|
@@ -2716,7 +2711,7 @@ const M3 = {
|
|
|
2716
2711
|
};
|
|
2717
2712
|
}
|
|
2718
2713
|
}, T2 = {};
|
|
2719
|
-
var x3 = /* @__PURE__ */
|
|
2714
|
+
var x3 = /* @__PURE__ */ E(
|
|
2720
2715
|
M3,
|
|
2721
2716
|
y3,
|
|
2722
2717
|
V3,
|
|
@@ -2774,7 +2769,7 @@ function D3(e) {
|
|
|
2774
2769
|
let s = n.source;
|
|
2775
2770
|
if (n.map && (s += `
|
|
2776
2771
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
2777
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
2772
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), Z1 === void 0 && (Z1 = document.head || document.getElementsByTagName("head")[0]), Z1.appendChild(a.element)), "styleSheet" in a.element)
|
|
2778
2773
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
2779
2774
|
`);
|
|
2780
2775
|
else {
|
|
@@ -2784,8 +2779,8 @@ function D3(e) {
|
|
|
2784
2779
|
}
|
|
2785
2780
|
}(r, t);
|
|
2786
2781
|
}
|
|
2787
|
-
let
|
|
2788
|
-
const O2 = {},
|
|
2782
|
+
let Z1;
|
|
2783
|
+
const O2 = {}, u1 = $3({ render: function() {
|
|
2789
2784
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2790
2785
|
return t("div", { ref: "textBox", staticClass: "bimdata-textbox", style: { width: e.width, minWidth: e.minWidth, maxWidth: e.maxWidth }, on: { mouseenter: function(i) {
|
|
2791
2786
|
e.showTooltip = !0;
|
|
@@ -2905,7 +2900,7 @@ var E3 = function() {
|
|
|
2905
2900
|
})]);
|
|
2906
2901
|
}, B3 = [];
|
|
2907
2902
|
const R3 = {}, z2 = {};
|
|
2908
|
-
var I3 = /* @__PURE__ */
|
|
2903
|
+
var I3 = /* @__PURE__ */ E(
|
|
2909
2904
|
R3,
|
|
2910
2905
|
E3,
|
|
2911
2906
|
B3,
|
|
@@ -2919,7 +2914,7 @@ function S3(e) {
|
|
|
2919
2914
|
for (let r in z2)
|
|
2920
2915
|
this[r] = z2[r];
|
|
2921
2916
|
}
|
|
2922
|
-
const
|
|
2917
|
+
const l2 = /* @__PURE__ */ function() {
|
|
2923
2918
|
return I3.exports;
|
|
2924
2919
|
}();
|
|
2925
2920
|
var T3 = function() {
|
|
@@ -3032,10 +3027,10 @@ var T3 = function() {
|
|
|
3032
3027
|
}, O3 = [];
|
|
3033
3028
|
const z3 = {
|
|
3034
3029
|
components: {
|
|
3035
|
-
BcfTopicDefaultImage:
|
|
3036
|
-
BIMDataButton:
|
|
3037
|
-
BIMDataIcon:
|
|
3038
|
-
BIMDataTextbox:
|
|
3030
|
+
BcfTopicDefaultImage: l2,
|
|
3031
|
+
BIMDataButton: S,
|
|
3032
|
+
BIMDataIcon: T,
|
|
3033
|
+
BIMDataTextbox: u1
|
|
3039
3034
|
},
|
|
3040
3035
|
props: {
|
|
3041
3036
|
detailedExtensions: {
|
|
@@ -3057,10 +3052,10 @@ const z3 = {
|
|
|
3057
3052
|
},
|
|
3058
3053
|
emits: ["open-topic", "update:selected"],
|
|
3059
3054
|
setup(e) {
|
|
3060
|
-
const r = L(!1), t =
|
|
3055
|
+
const r = L(!1), t = Z(() => t1(e.topic, e.detailedExtensions)), i = Z(() => n2(e.topic, e.detailedExtensions)), n = Z(() => {
|
|
3061
3056
|
var a, s;
|
|
3062
3057
|
return (s = (a = e.topic.viewpoints) == null ? void 0 : a.filter((u) => u.snapshot)[0]) == null ? void 0 : s.snapshot.snapshot_data;
|
|
3063
|
-
}), d =
|
|
3058
|
+
}), d = Z(() => {
|
|
3064
3059
|
var a, s, u;
|
|
3065
3060
|
return ((u = (s = (a = e.topic.viewpoints) == null ? void 0 : a[0]) == null ? void 0 : s.components) == null ? void 0 : u.selection) ?? [];
|
|
3066
3061
|
});
|
|
@@ -3072,11 +3067,11 @@ const z3 = {
|
|
|
3072
3067
|
topicImage: n,
|
|
3073
3068
|
topicObjects: d,
|
|
3074
3069
|
// Methods
|
|
3075
|
-
adjustTextColor:
|
|
3070
|
+
adjustTextColor: v1
|
|
3076
3071
|
};
|
|
3077
3072
|
}
|
|
3078
3073
|
}, P2 = {};
|
|
3079
|
-
var P3 = /* @__PURE__ */
|
|
3074
|
+
var P3 = /* @__PURE__ */ E(
|
|
3080
3075
|
z3,
|
|
3081
3076
|
T3,
|
|
3082
3077
|
O3,
|
|
@@ -3162,7 +3157,7 @@ var j3 = function() {
|
|
|
3162
3157
|
})]);
|
|
3163
3158
|
}, U3 = [];
|
|
3164
3159
|
const q3 = {}, N2 = {};
|
|
3165
|
-
var Y3 = /* @__PURE__ */
|
|
3160
|
+
var Y3 = /* @__PURE__ */ E(
|
|
3166
3161
|
q3,
|
|
3167
3162
|
j3,
|
|
3168
3163
|
U3,
|
|
@@ -3211,12 +3206,12 @@ var K3 = function() {
|
|
|
3211
3206
|
const G3 = {
|
|
3212
3207
|
components: {
|
|
3213
3208
|
BcfTopicCreationCardImage: X3,
|
|
3214
|
-
BIMDataButton:
|
|
3215
|
-
BIMDataIcon:
|
|
3209
|
+
BIMDataButton: S,
|
|
3210
|
+
BIMDataIcon: T
|
|
3216
3211
|
},
|
|
3217
3212
|
emits: ["create-topic"]
|
|
3218
3213
|
}, A2 = {};
|
|
3219
|
-
var Q3 = /* @__PURE__ */
|
|
3214
|
+
var Q3 = /* @__PURE__ */ E(
|
|
3220
3215
|
G3,
|
|
3221
3216
|
K3,
|
|
3222
3217
|
J3,
|
|
@@ -3282,7 +3277,7 @@ let K = class {
|
|
|
3282
3277
|
return t < 10 ? `0${t}` : `${t}`;
|
|
3283
3278
|
}
|
|
3284
3279
|
};
|
|
3285
|
-
var r9 = new K("German", ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]),
|
|
3280
|
+
var r9 = new K("German", ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]), a1 = new K("English", ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]), i9 = new K("Spanish", ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"]), a9 = new K("French", ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], ["Jan", "Fév", "Mar", "Avr", "Mai", "Juin", "Juil", "Août", "Sep", "Oct", "Nov", "Déc"], ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]), n9 = new K("Italian", ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"]), o9 = new K("Dutch", ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"]), l9 = new K("Norwegian", ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], ["Jan", "Feb", "Mar", "Apr", "Mai", "Juni", "Juli", "Aug", "Sep", "Okt", "Nov", "Des"], ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"]), j2 = { de: r9, en: a1, es: i9, fr: a9, it: n9, nl: o9, no: l9 };
|
|
3286
3281
|
function f(e, r, t, i, n, d, a, s, u, p) {
|
|
3287
3282
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
3288
3283
|
const l = typeof t == "function" ? t.options : t;
|
|
@@ -3794,7 +3789,7 @@ var s9 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
3794
3789
|
return this.customSize ? this.customSize : q2[this.size];
|
|
3795
3790
|
} } };
|
|
3796
3791
|
const c9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
3797
|
-
function
|
|
3792
|
+
function d2(e) {
|
|
3798
3793
|
return (r, t) => function(i, n) {
|
|
3799
3794
|
const d = c9 ? n.media || "default" : i, a = Y2[d] || (Y2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
3800
3795
|
if (!a.ids.has(i)) {
|
|
@@ -3802,7 +3797,7 @@ function l2(e) {
|
|
|
3802
3797
|
let s = n.source;
|
|
3803
3798
|
if (n.map && (s += `
|
|
3804
3799
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
3805
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
3800
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), w1 === void 0 && (w1 = document.head || document.getElementsByTagName("head")[0]), w1.appendChild(a.element)), "styleSheet" in a.element)
|
|
3806
3801
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
3807
3802
|
`);
|
|
3808
3803
|
else {
|
|
@@ -3812,13 +3807,13 @@ function l2(e) {
|
|
|
3812
3807
|
}
|
|
3813
3808
|
}(r, t);
|
|
3814
3809
|
}
|
|
3815
|
-
let
|
|
3816
|
-
const Y2 = {},
|
|
3810
|
+
let w1;
|
|
3811
|
+
const Y2 = {}, s2 = f({ render: function() {
|
|
3817
3812
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3818
3813
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
3819
3814
|
}, staticRenderFns: [] }, function(e) {
|
|
3820
3815
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
3821
|
-
}, s9, "data-v-198621a2", !1, void 0, !1,
|
|
3816
|
+
}, s9, "data-v-198621a2", !1, void 0, !1, d2, void 0, void 0);
|
|
3822
3817
|
var u9 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]);
|
|
3823
3818
|
const Se = f({ render: function() {
|
|
3824
3819
|
var e = this, r = e.$createElement;
|
|
@@ -3831,7 +3826,7 @@ const Se = f({ render: function() {
|
|
|
3831
3826
|
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 };
|
|
3832
3827
|
}, style() {
|
|
3833
3828
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
3834
|
-
} } }, "data-v-7af18892", !1, void 0, !1,
|
|
3829
|
+
} } }, "data-v-7af18892", !1, void 0, !1, d2, void 0, void 0), f9 = { useUtc: !1, getFullYear(e) {
|
|
3835
3830
|
return this.useUtc ? e.getUTCFullYear() : e.getFullYear();
|
|
3836
3831
|
}, getMonth(e) {
|
|
3837
3832
|
return this.useUtc ? e.getUTCMonth() : e.getMonth();
|
|
@@ -3863,8 +3858,8 @@ const Se = f({ render: function() {
|
|
|
3863
3858
|
throw TypeError("Invalid Type");
|
|
3864
3859
|
return r[this.getDay(e)];
|
|
3865
3860
|
}, getDayFromAbbr(e) {
|
|
3866
|
-
for (let r = 0; r <
|
|
3867
|
-
if (e.toLowerCase() ===
|
|
3861
|
+
for (let r = 0; r < a1.days.length; r += 1)
|
|
3862
|
+
if (e.toLowerCase() === a1.days[r].toLowerCase())
|
|
3868
3863
|
return r;
|
|
3869
3864
|
throw TypeError("Invalid week day");
|
|
3870
3865
|
}, getMonthName(e, r) {
|
|
@@ -3898,10 +3893,10 @@ const Se = f({ render: function() {
|
|
|
3898
3893
|
default:
|
|
3899
3894
|
return "th";
|
|
3900
3895
|
}
|
|
3901
|
-
}, formatDate(e, r, t =
|
|
3896
|
+
}, formatDate(e, r, t = a1) {
|
|
3902
3897
|
const i = this.getFullYear(e), n = this.getMonth(e) + 1, d = this.getDate(e), a = { d, dd: `0${d}`.slice(-2), E: this.getDayNameAbbr(e, t.days), o: this.getNthSuffix(this.getDate(e)), M: n, MM: `0${n}`.slice(-2), MMM: this.getMonthNameAbbr(this.getMonth(e), t.monthsAbbr), MMMM: this.getMonthName(this.getMonth(e), t.months), yy: String(i).slice(2), yyyy: i };
|
|
3903
3898
|
return r.replace(/y{4}|y{2}|M{1,4}|d{1,2}|o|E/g, (s) => a[s]);
|
|
3904
|
-
}, parseDate(e, r, t =
|
|
3899
|
+
}, parseDate(e, r, t = a1, i = null) {
|
|
3905
3900
|
if (!e || !r)
|
|
3906
3901
|
return e;
|
|
3907
3902
|
if (i)
|
|
@@ -3948,8 +3943,8 @@ const Se = f({ render: function() {
|
|
|
3948
3943
|
}, getNewDateObject(e) {
|
|
3949
3944
|
return e ? this.resetDateTime(new Date(e)) : this.resetDateTime(/* @__PURE__ */ new Date());
|
|
3950
3945
|
} };
|
|
3951
|
-
var
|
|
3952
|
-
const
|
|
3946
|
+
var g1 = (e) => ({ ...f9, useUtc: e });
|
|
3947
|
+
const c2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, bootstrapStyling: { type: Boolean, default: !1 }, clearButton: { type: Boolean, default: !1 }, clearButtonIcon: { type: String, default: "" }, calendarButton: { type: Boolean, default: !1 }, calendarButtonIcon: { type: String, default: "" }, calendarButtonIconContent: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, format: { type: [String, Function], default: "dd MMM yyyy" }, id: { type: String, default: null }, inline: { type: Boolean, default: !1 }, inputClass: { type: [String, Object, Array], default: null }, maxlength: { type: [Number, String], default: null }, name: { type: String, default: null }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, parser: { type: Function, default: null }, pattern: { type: String, default: null }, placeholder: { type: String, default: null }, refName: { type: String, default: "" }, required: { type: Boolean, default: !1 }, showCalendarOnButtonClick: { type: Boolean, default: !1 }, showCalendarOnFocus: { type: Boolean, default: !1 }, tabIndex: { type: [Number, String], default: null }, typeable: { type: Boolean, default: !1 }, useUtc: { type: Boolean, default: !1 } } }, void 0, void 0, void 0, !1, void 0, void 0, void 0), C9 = f({ render: function() {
|
|
3953
3948
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3954
3949
|
return t("div", { class: { "not-empty": e.formattedValue } }, [e._t("beforeDateInput"), e._v(" "), e.calendarButton ? t("button", { ref: "calendarButton", staticClass: "bimdata-datepicker__calendar-button", attrs: { disabled: e.disabled, type: "button" }, on: { click: function(i) {
|
|
3955
3950
|
return e.toggle("calendarButton");
|
|
@@ -3978,8 +3973,8 @@ const s2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
3978
3973
|
}] } }), e._v(" "), e.clearButton && e.selectedDate ? t("BIMDataButton", { staticClass: "bimdata-datepicker__clear-button", attrs: { disabled: e.disabled, color: "primary", fill: "", square: "", icon: "" }, on: { click: e.clearDate } }, [e._t("clearBtn", function() {
|
|
3979
3974
|
return [t("BIMDataIcon", { attrs: { name: "delete", size: "xxxs", fill: "", color: "default" } })];
|
|
3980
3975
|
})], 2) : e._e(), e._v(" "), e._t("afterDateInput")], 2);
|
|
3981
|
-
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon:
|
|
3982
|
-
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils:
|
|
3976
|
+
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon: s2, BIMDataButton: Se }, mixins: [c2], props: { isOpen: { type: Boolean, default: !1 }, selectedDate: { type: Date, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
3977
|
+
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils: g1(this.useUtc) };
|
|
3983
3978
|
}, computed: { computedInputClass() {
|
|
3984
3979
|
return this.inputClass;
|
|
3985
3980
|
}, formattedValue() {
|
|
@@ -4068,8 +4063,8 @@ const s2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4068
4063
|
}] } }), e._v(" "), e.clearButton && !e.noDateSelected ? t("BIMDataButton", { staticClass: "bimdata-datepicker__clear-button", attrs: { disabled: e.disabled, color: "primary", fill: "", square: "", icon: "" }, on: { click: e.clear } }, [e._t("clearBtn", function() {
|
|
4069
4064
|
return [t("BIMDataIcon", { attrs: { name: "delete", size: "xxxs", fill: "", color: "default" } })];
|
|
4070
4065
|
})], 2) : e._e(), e._v(" "), e._t("afterDateInput")], 2);
|
|
4071
|
-
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon:
|
|
4072
|
-
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils:
|
|
4066
|
+
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon: s2, BIMDataButton: Se }, mixins: [c2], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
4067
|
+
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: g1(this.useUtc) };
|
|
4073
4068
|
}, computed: { computedInputClass() {
|
|
4074
4069
|
return this.inputClass;
|
|
4075
4070
|
}, formattedValue() {
|
|
@@ -4140,13 +4135,13 @@ const s2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4140
4135
|
const i = e[r];
|
|
4141
4136
|
return { day: t.getDate(i), month: t.getMonth(i), year: t.getFullYear(i) };
|
|
4142
4137
|
} };
|
|
4143
|
-
var
|
|
4138
|
+
var J1 = (e) => ({ ...v9, utils: e });
|
|
4144
4139
|
class Y {
|
|
4145
4140
|
constructor(r, t) {
|
|
4146
4141
|
this._utils = r, this._disabledDates = t;
|
|
4147
4142
|
}
|
|
4148
4143
|
get config() {
|
|
4149
|
-
const r = this._disabledDates, t =
|
|
4144
|
+
const r = this._disabledDates, t = J1(this._utils);
|
|
4150
4145
|
return { exists: t.configExists(r), to: t.dayMonthYear(r, "to"), from: t.dayMonthYear(r, "from"), has: { customPredictor: t.isDefined(r, "customPredictor"), daysOfMonth: t.hasArray(r, "daysOfMonth"), daysOfWeek: t.hasArray(r, "days"), from: t.hasDate(r, "from"), ranges: t.hasArray(r, "ranges"), specificDates: t.hasArray(r, "dates"), to: t.hasDate(r, "to") } };
|
|
4151
4146
|
}
|
|
4152
4147
|
daysInMonth(r) {
|
|
@@ -4158,7 +4153,7 @@ class Y {
|
|
|
4158
4153
|
return { to: () => i.to && r < t.to, from: () => i.from && r > t.from, range: () => {
|
|
4159
4154
|
if (!i.ranges)
|
|
4160
4155
|
return !1;
|
|
4161
|
-
const { ranges: n } = t, d =
|
|
4156
|
+
const { ranges: n } = t, d = J1(this._utils);
|
|
4162
4157
|
return n.some((a) => {
|
|
4163
4158
|
const s = d.isDefined(a, "from"), u = d.isDefined(a, "to");
|
|
4164
4159
|
return s && u && r < a.to && r > a.from;
|
|
@@ -4432,7 +4427,7 @@ var g9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4432
4427
|
}] } }, [e._t("prevIntervalBtn", function() {
|
|
4433
4428
|
return [t("BIMDataIcon", { attrs: { name: "doubleChevron", size: "xxxs", fill: "", color: "default" } })];
|
|
4434
4429
|
})], 2) : e._e()], 2);
|
|
4435
|
-
}, staticRenderFns: [] }, void 0, { name: "PickerHeader", components: { BIMDataIcon:
|
|
4430
|
+
}, staticRenderFns: [] }, void 0, { name: "PickerHeader", components: { BIMDataIcon: s2 }, 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() {
|
|
4436
4431
|
this.$emit("page-change", this.previousPage);
|
|
4437
4432
|
}, arrowRightPrev() {
|
|
4438
4433
|
this.$emit("set-focus", ["up", "next", "tabbableCell"]);
|
|
@@ -4443,7 +4438,7 @@ var g9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4443
4438
|
}, focusTabbableCell() {
|
|
4444
4439
|
this.$emit("set-focus", ["tabbableCell"]);
|
|
4445
4440
|
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, inheritAttrs: !1, props: { bootstrapStyling: { type: Boolean, default: !1 }, disabledDates: { type: Object, default: () => ({}) }, isTypeable: { type: Boolean, default: !1 }, isUpDisabled: { type: Boolean, default: !1 }, isMinimumView: { type: Boolean, default: !0 }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, pageDate: { type: Date, default: null }, selectedDate: { type: Date, default: null }, showHeader: { type: Boolean, default: !0 }, slideDuration: { type: Number, default: 250 }, tabbableCellId: { type: Number, default: null }, transitionName: { type: String, default: "" }, translation: { type: Object, default: () => ({}) }, useUtc: { type: Boolean, default: !1 }, view: { type: String, default: "day" } }, data() {
|
|
4446
|
-
return { utils:
|
|
4441
|
+
return { utils: g1(this.useUtc) };
|
|
4447
4442
|
}, computed: { disabledConfig() {
|
|
4448
4443
|
return new Y(this.utils, this.disabledDates).config;
|
|
4449
4444
|
}, earliestPossibleDate() {
|
|
@@ -4498,13 +4493,13 @@ var g9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4498
4493
|
const r = this.getElement(e);
|
|
4499
4494
|
r && r.focus();
|
|
4500
4495
|
} } };
|
|
4501
|
-
const
|
|
4496
|
+
const G1 = f({}, void 0, g9, void 0, void 0, void 0, !1, void 0, void 0, void 0);
|
|
4502
4497
|
class W2 {
|
|
4503
4498
|
constructor(r, t, i) {
|
|
4504
4499
|
this._utils = r, this._disabledDates = t, this._highlighted = i;
|
|
4505
4500
|
}
|
|
4506
4501
|
get config() {
|
|
4507
|
-
const r = this._highlighted, t =
|
|
4502
|
+
const r = this._highlighted, t = J1(this._utils);
|
|
4508
4503
|
return { exists: t.configExists(r), to: t.dayMonthYear(r, "to"), from: t.dayMonthYear(r, "from"), has: { customPredictor: t.isDefined(r, "customPredictor"), daysOfMonth: t.hasArray(r, "daysOfMonth"), daysOfWeek: t.hasArray(r, "days"), from: t.hasDate(r, "from"), specificDates: t.hasArray(r, "dates"), to: t.hasDate(r, "to"), includeDisabled: t.isDefined(r, "includeDisabled") && r.includeDisabled } };
|
|
4509
4504
|
}
|
|
4510
4505
|
isDateDisabled(r) {
|
|
@@ -4526,7 +4521,7 @@ class W2 {
|
|
|
4526
4521
|
return t.to() && t.from() || t.specificDate() || t.daysOfWeek() || t.daysOfMonth() || t.customPredictor();
|
|
4527
4522
|
}
|
|
4528
4523
|
}
|
|
4529
|
-
const
|
|
4524
|
+
const Q1 = f({ render: function() {
|
|
4530
4525
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4531
4526
|
return t("div", { staticClass: "picker-cells" }, e._l(e.cells, function(i, n) {
|
|
4532
4527
|
return t("button", { key: i.timestamp, ref: i.isOpenDate ? "openDate" : null, refInFor: !0, class: e.cellClasses(i), attrs: { id: n, dataTestTabbableCell: e.isTabbableCell(i, n), dataTestOpenDate: i.isOpenDate, dataTestTodayCell: i.isToday, disabled: i.isDisabled, type: "button" }, on: { click: function(d) {
|
|
@@ -4551,7 +4546,7 @@ const G1 = f({ render: function() {
|
|
|
4551
4546
|
this.$emit("arrow", { cellId: e, delta: r });
|
|
4552
4547
|
}, isTabbableCell(e, r) {
|
|
4553
4548
|
return this.tabbableCellId ? r === this.tabbableCellId : e.isOpenDate;
|
|
4554
|
-
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0),
|
|
4549
|
+
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0), e2 = f({ render: function() {
|
|
4555
4550
|
var e = this, r = e.$createElement;
|
|
4556
4551
|
return (e._self._c || r)("button", { staticClass: "bimdata-datepicker__up", attrs: { disabled: e.isDisabled, type: "button" }, on: { click: function(t) {
|
|
4557
4552
|
return e.$emit("select");
|
|
@@ -4565,7 +4560,7 @@ const G1 = f({ render: function() {
|
|
|
4565
4560
|
return !t.type.indexOf("key") && e._k(t.keyCode, "right", 39, t.key, ["Right", "ArrowRight"]) || "button" in t && t.button !== 2 ? null : (t.preventDefault(), e.$emit("set-focus"));
|
|
4566
4561
|
}] } }, [e._t("default")], 2);
|
|
4567
4562
|
}, staticRenderFns: [] }, void 0, { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } }, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
4568
|
-
var b9 = { name: "PickerDay", components: { PickerCells:
|
|
4563
|
+
var b9 = { name: "PickerDay", components: { PickerCells: Q1, UpButton: e2 }, mixins: [G1], 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() {
|
|
4569
4564
|
const e = [], r = this.daysFromPrevMonth + this.daysInMonth + this.daysFromNextMonth, t = this.firstCellDate();
|
|
4570
4565
|
for (let i = 0; i < r; i += 1)
|
|
4571
4566
|
e.push(this.makeDay(i, t)), this.utils.setDate(t, this.utils.getDate(t) + 1);
|
|
@@ -4684,7 +4679,7 @@ var _9 = { components: { DateInput: C9, DateInputRange: h9, PickerDay: f({ rende
|
|
|
4684
4679
|
` + e._s(n.month) + `
|
|
4685
4680
|
`)];
|
|
4686
4681
|
} }]) })], 1)], 1), e._v(" "), e.$slots.calendarFooterMonth ? t("div", [e._t("calendarFooterMonth")], 2) : e._e()], 1);
|
|
4687
|
-
}, staticRenderFns: [] }, void 0, { name: "PickerMonth", components: { PickerCells:
|
|
4682
|
+
}, staticRenderFns: [] }, void 0, { name: "PickerMonth", components: { PickerCells: Q1, UpButton: e2 }, mixins: [G1], computed: { cells() {
|
|
4688
4683
|
const e = this.pageDate, r = [], t = this.useUtc ? new Date(Date.UTC(e.getUTCFullYear(), 0, e.getUTCDate())) : new Date(e.getFullYear(), 0, e.getDate(), e.getHours(), e.getMinutes()), i = new Date(this.utils.setDate(this.utils.getNewDateObject(), 1));
|
|
4689
4684
|
for (let n = 0; n < 12; n += 1)
|
|
4690
4685
|
r.push({ month: this.utils.getMonthName(n, this.translation.months), timestamp: t.valueOf(), isDisabled: this.isDisabledMonth(t), isOpenDate: this.isOpenMonth(t), isSelected: this.isSelectedMonth(t), isToday: this.utils.compareDates(t, i) }), this.utils.setMonth(t, this.utils.getMonth(t) + 1);
|
|
@@ -4728,7 +4723,7 @@ var _9 = { components: { DateInput: C9, DateInputRange: h9, PickerDay: f({ rende
|
|
|
4728
4723
|
` + e._s(n.year) + `
|
|
4729
4724
|
`)];
|
|
4730
4725
|
} }]) })], 1)], 1), e._v(" "), e.$slots.calendarFooterYear ? t("div", [e._t("calendarFooterYear")], 2) : e._e()], 1);
|
|
4731
|
-
}, staticRenderFns: [] }, void 0, { name: "PickerYear", components: { PickerCells:
|
|
4726
|
+
}, staticRenderFns: [] }, void 0, { name: "PickerYear", components: { PickerCells: Q1, UpButton: e2 }, mixins: [G1], props: { yearRange: { type: Number, default: 12 } }, computed: { cells() {
|
|
4732
4727
|
const e = this.pageDate, r = [], t = this.useUtc ? Math.floor(e.getUTCFullYear() / this.yearRange) * this.yearRange : Math.floor(e.getFullYear() / this.yearRange) * this.yearRange, i = this.useUtc ? new Date(Date.UTC(t, e.getUTCMonth(), e.getUTCDate())) : new Date(t, e.getMonth(), e.getDate(), e.getHours(), e.getMinutes()), n = this.utils.getFullYear(this.utils.getNewDateObject());
|
|
4733
4728
|
for (let a = 0; a < this.yearRange; a += 1)
|
|
4734
4729
|
r.push({ year: this.utils.getFullYear(i), timestamp: i.valueOf(), isDisabled: this.isDisabledYear(i), isOpenDate: this.isOpenYear(i), isSelected: this.isSelectedYear(i), isToday: i.getFullYear() === n }), this.utils.setFullYear(i, this.utils.getFullYear(i) + 1);
|
|
@@ -4754,8 +4749,8 @@ var _9 = { components: { DateInput: C9, DateInputRange: h9, PickerDay: f({ rende
|
|
|
4754
4749
|
}, isSelectedYear(e) {
|
|
4755
4750
|
const r = this.utils.getFullYear(e);
|
|
4756
4751
|
return this.selectedDate && r === this.utils.getFullYear(this.selectedDate);
|
|
4757
|
-
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, mixins: [
|
|
4758
|
-
const e =
|
|
4752
|
+
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, mixins: [c2, p9], model: { prop: "modelValue", event: "update:modelValue" }, props: { autoCloseRange: { type: Boolean, default: !1 }, modelValue: { type: Date }, toDate: { type: Date }, appendToBody: { type: Boolean, default: !1 }, calendarClass: { type: [String, Object, Array], default: "" }, dayCellContent: { type: Function, default: (e) => e.date }, disabledDates: { type: Object, default: () => ({}) }, firstDayOfWeek: { type: String, default: "sun" }, fixedPosition: { type: String, default: "", validator: (e) => ["", "bottom", "bottom-left", "bottom-right", "top", "top-left", "top-right"].includes(e) }, fullMonthName: { type: Boolean, default: !1 }, initialView: { type: String, default: "" }, language: { type: String, default: () => "en", validator: (e) => Object.keys(j2).includes(e) }, maximumView: { type: String, default: "year" }, minimumView: { type: String, default: "day" }, showEdgeDates: { type: Boolean, default: !0 }, showHeader: { type: Boolean, default: !0 }, value: { type: [String, Date, Number], default: "", validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, wrapperClass: { type: [String, Object, Array], default: "" }, yearPickerRange: { type: Number, default: 10 }, width: { type: String, default: "280px" }, isDateRange: { type: Boolean, default: !1 } }, emits: ["update:modelValue", "blur", "focus", "opened", "changed", "input", "selected", "closed", "cleared", "to-date-change"], data() {
|
|
4753
|
+
const e = g1(this.useUtc), r = e.getNewDateObject(this.openDate || null), t = e.setDate(r, 1);
|
|
4759
4754
|
return { calendarHeight: 0, calendarSlots: m9, isClickOutside: !1, globalDatepickerId: "", pageTimestamp: t, selectedDate: null, selectedToDate: null, slideDuration: 250, utils: e, view: "" };
|
|
4760
4755
|
}, computed: { lang() {
|
|
4761
4756
|
return j2[this.language];
|
|
@@ -4949,7 +4944,7 @@ const L9 = f({ render: function() {
|
|
|
4949
4944
|
} }], null, !0) }), e._v(" "), e.$slots.calendarFooter ? t("div", [e._t("calendarFooter")], 2) : e._e()], 1)])], 1)])], 1) : e._e()], 1);
|
|
4950
4945
|
}, staticRenderFns: [] }, function(e) {
|
|
4951
4946
|
e && (e("data-v-2245dbb6_0", { source: 'html[data-v-2245dbb6]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-2245dbb6_1", { source: '.slide-fade-up-enter-active,.slide-fade-up-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-up-enter,.slide-fade-up-enter-from,.slide-fade-up-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-down-enter-active,.slide-fade-down-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-down-enter,.slide-fade-down-enter-from,.slide-fade-down-leave-to{transform:translateY(10px);opacity:0}.slide-fade-left-enter-active,.slide-fade-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-left-enter,.slide-fade-left-enter-from,.slide-fade-left-leave-to{transform:translateX(-20px);opacity:0}.slide-fade-right-enter-active,.slide-fade-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-right-enter,.slide-fade-right-enter-from,.slide-fade-right-leave-to{transform:translateX(20px);opacity:0}.slide-right-enter-active,.slide-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-right-enter,.slide-right-enter-from,.slide-right-leave-to{transform:translateX(20px);opacity:0;position:absolute}.slide-left-enter-active,.slide-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-left-enter,.slide-left-enter-from,.slide-left-leave-to{transform:translateX(-20px);opacity:0;position:absolute}.fade-enter-active{transition:all .1s ease-out}.fade-leave-active{transition:all .1s ease-in}.fade-enter,.fade-enter-from,.fade-leave-to{opacity:0}.pop-enter-active{transition:all .4s cubic-bezier(.4,1.5,.56,1)}.pop-leave-active{transition:all .3s ease-in}.pop-enter,.pop-enter-from{transform:scale(.1);opacity:.4}.pop-enter-to,.pop-leave,.pop-leave-from{transform:scale(1);opacity:1}.pop-leave-to{transform:scale(.7);opacity:0}.list-enter-active{transition:all .3s ease-out}.list-leave-active{transition:all .2s ease-in}.list-move{transition:all .3s ease}.list-enter,.list-enter-from,.list-leave-to{opacity:0}.grid-enter-active{transition:all .5s ease-out}.grid-leave-active{transition:all .4s ease-in}.grid-move{transition:all .5s ease}.grid-enter,.grid-enter-from,.grid-leave-to{opacity:0}.page-enter-active,.page-leave-active{transition:all .5s ease}.page-enter,.page-enter-from,.page-leave-to{transform:translateX(-30%);opacity:0}.bimdata-datepicker{position:relative;text-align:left;box-sizing:border-box}.bimdata-datepicker>div{display:flex;position:relative}.bimdata-datepicker>div.not-empty label{top:-22px;color:var(--color-primary);font-size:10px}.bimdata-datepicker label{position:absolute;left:0;top:0;font-size:12px;transform:translateY(8px);transition:.2s ease all;color:var(--color-granite-light);cursor:pointer}.bimdata-datepicker input{width:100%;height:31.5px;border:none;border-bottom:1px solid var(--color-silver);color:var(--color-primary);background-color:transparent;z-index:2}.bimdata-datepicker input:focus-visible{outline:0}.bimdata-datepicker input.required{border-bottom:1px dashed red}.bimdata-datepicker__calendar{width:280px;box-shadow:var(--box-shadow);background:#fff;position:absolute;z-index:10000}.bimdata-datepicker__calendar>div{width:100%;background:#fff}.bimdata-datepicker__calendar *{box-sizing:border-box}.bimdata-datepicker__calendar__calendar--inline{position:static}.bimdata-datepicker__calendar.bottom-right{right:0}.bimdata-datepicker__calendar.bottom-left{left:0}.bimdata-datepicker__calendar.top,.bimdata-datepicker__calendar.top-left,.bimdata-datepicker__calendar.top-right{bottom:32px}.bimdata-datepicker__calendar.top-right{right:0}.bimdata-datepicker__calendar button{background:inherit;text-align:center;color:var(--color-primary);cursor:pointer}.bimdata-datepicker__calendar button:disabled{color:var(--color-granite-light)}.bimdata-datepicker__calendar button:focus-visible{outline:0}.bimdata-datepicker__calendar header{display:flex;height:40px;justify-content:space-between;border-bottom:1px solid var(--color-silver);cursor:pointer}.bimdata-datepicker__calendar header button{border:none;flex:1;color:var(--color-primary)}.bimdata-datepicker__calendar header button:hover:not(:disabled){background-color:#e6eeff}.bimdata-datepicker__calendar header button__up{color:var(--color-primary);flex-grow:5}.bimdata-datepicker__calendar header .doubleNext,.bimdata-datepicker__calendar header .doublePrev,.bimdata-datepicker__calendar header .next,.bimdata-datepicker__calendar header .prev{padding:0;max-height:39px;max-width:32px}.bimdata-datepicker__calendar header .prev:disabled .default:after{border-right:10px solid #ddd}.bimdata-datepicker__calendar header .next:disabled .default:after{border-left:10px solid #ddd}.bimdata-datepicker__calendar .cell{height:40px;border:1px solid transparent;cursor:pointer}.bimdata-datepicker__calendar .cell.day:not(.disabled):hover,.bimdata-datepicker__calendar .cell.month:not(.disabled):hover,.bimdata-datepicker__calendar .cell.year:not(.disabled):hover{background-color:#e6eeff;border-radius:2px}.bimdata-datepicker__calendar .cell.day:not(.disabled):focus,.bimdata-datepicker__calendar .cell.month:not(.disabled):focus,.bimdata-datepicker__calendar .cell.year:not(.disabled):focus{z-index:1}.bimdata-datepicker__calendar .cell.day{padding:0;height:33px;width:22px;flex:33px;color:var(--color-granite-light)}.bimdata-datepicker__calendar .cell.day.today{color:var(--color-primary);font-weight:700;position:relative}.bimdata-datepicker__calendar .cell.day.today::after{width:12px;background-color:currentcolor;bottom:6px;content:"";height:1px;left:50%;position:absolute;transform:translateX(-50%)}.bimdata-datepicker__calendar .cell.day.highlighted.highlight-end{background-color:#e1ebff}.bimdata-datepicker__calendar .cell.day.selected,.bimdata-datepicker__calendar .cell.month.selected,.bimdata-datepicker__calendar .cell.year.selected{background-color:var(--color-primary);color:var(--color-white);border-radius:2px}.bimdata-datepicker__calendar .cell.day.selected:hover,.bimdata-datepicker__calendar .cell.month.selected:hover,.bimdata-datepicker__calendar .cell.year.selected:hover{background-color:var(--color-primary-light);color:var(--color-white)}.bimdata-datepicker__calendar .cell.day.selected.highlighted,.bimdata-datepicker__calendar .cell.month.selected.highlighted,.bimdata-datepicker__calendar .cell.year.selected.highlighted{background-color:var(--color-primary-light)}.bimdata-datepicker__calendar .cell.highlighted{background-color:#f0f5ff}.bimdata-datepicker__calendar .cell.highlighted.disabled{color:#accad2}.bimdata-datepicker__calendar .cell.muted{color:var(--color-silver)}.bimdata-datepicker__calendar .cell.muted.disabled:not(.selected){color:#ddd}.bimdata-datepicker__calendar .cell.muted.disabled:not(.selected).highlighted{color:#e2ebfa}.bimdata-datepicker__calendar .cell.muted.disabled.highlighted{background-color:transparent}.bimdata-datepicker__calendar .day-header{padding:0 12px;display:flex;gap:0;color:var(--color-primary)}.bimdata-datepicker__calendar .day-header span{height:40px;width:36.5px;display:inline-block;font-size:75%;line-height:40px;padding:0;text-align:center;vertical-align:middle;white-space:nowrap}.bimdata-datepicker__calendar .month,.bimdata-datepicker__calendar .year{width:29.9%}.bimdata-datepicker__calendar .cells-wrapper{padding:6px 12px 14px;overflow:hidden;position:relative}.bimdata-datepicker__calendar .cells-wrapper .picker-cells{display:flex;flex-wrap:wrap;transition:all 250ms ease-in-out}.bimdata-datepicker__calendar-button{border:none;font-style:normal}.bimdata-datepicker__calendar-button.input-group-append,.bimdata-datepicker__calendar-button.input-group-prepend{padding:0}', map: void 0, media: void 0 }));
|
|
4952
|
-
}, _9, "data-v-2245dbb6", !1, void 0, !1,
|
|
4947
|
+
}, _9, "data-v-2245dbb6", !1, void 0, !1, d2, void 0, void 0);
|
|
4953
4948
|
function Te(e, r, t, i, n, d, a, s, u, p) {
|
|
4954
4949
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
4955
4950
|
const l = typeof t == "function" ? t.options : t;
|
|
@@ -4995,7 +4990,7 @@ function V9(e) {
|
|
|
4995
4990
|
let s = n.source;
|
|
4996
4991
|
if (n.map && (s += `
|
|
4997
4992
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
4998
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
4993
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), k1 === void 0 && (k1 = document.head || document.getElementsByTagName("head")[0]), k1.appendChild(a.element)), "styleSheet" in a.element)
|
|
4999
4994
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5000
4995
|
`);
|
|
5001
4996
|
else {
|
|
@@ -5005,8 +5000,8 @@ function V9(e) {
|
|
|
5005
5000
|
}
|
|
5006
5001
|
}(r, t);
|
|
5007
5002
|
}
|
|
5008
|
-
let
|
|
5009
|
-
const X2 = {},
|
|
5003
|
+
let k1;
|
|
5004
|
+
const X2 = {}, b1 = Te({ render: function() {
|
|
5010
5005
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5011
5006
|
return t("div", { staticClass: "bimdata-loading" }, [t("span", { staticClass: "bimdata-loading--square" }), e._v(" "), t("BIMDataText", { attrs: { color: "color-white", margin: "12px 0 0" } }, [t("p", [e._v(e._s(e.message))]), e._v(" "), t("p", [e._v(e._s(e.subMessage))])])], 1);
|
|
5012
5007
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -5531,7 +5526,7 @@ function G2(e) {
|
|
|
5531
5526
|
let s = n.source;
|
|
5532
5527
|
if (n.map && (s += `
|
|
5533
5528
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
5534
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
5529
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), $1 === void 0 && ($1 = document.head || document.getElementsByTagName("head")[0]), $1.appendChild(a.element)), "styleSheet" in a.element)
|
|
5535
5530
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5536
5531
|
`);
|
|
5537
5532
|
else {
|
|
@@ -5541,7 +5536,7 @@ function G2(e) {
|
|
|
5541
5536
|
}
|
|
5542
5537
|
}(r, t);
|
|
5543
5538
|
}
|
|
5544
|
-
let
|
|
5539
|
+
let $1;
|
|
5545
5540
|
const Q2 = {}, Oe = h({ render: function() {
|
|
5546
5541
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5547
5542
|
return t("div", { staticClass: "overlay flex items-center justify-center" }, [t("div", { staticClass: "safe-zone", style: { width: e.width } }, [t("div", { staticClass: "safe-zone__content flex flex-col items-center justify-center p-18" }, [t("BIMDataIcon", { attrs: { name: e.iconName, size: "l", fill: "", color: "high" } }), e._v(" "), t("p", [e._t("text")], 2)], 1), e._v(" "), t("div", { staticClass: "safe-zone__actions flex items-center p-x-18" }, [e._t("actions")], 2)])]);
|
|
@@ -5600,7 +5595,7 @@ function F9(e) {
|
|
|
5600
5595
|
let s = n.source;
|
|
5601
5596
|
if (n.map && (s += `
|
|
5602
5597
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
5603
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
5598
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), F1 === void 0 && (F1 = document.head || document.getElementsByTagName("head")[0]), F1.appendChild(a.element)), "styleSheet" in a.element)
|
|
5604
5599
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5605
5600
|
`);
|
|
5606
5601
|
else {
|
|
@@ -5610,8 +5605,8 @@ function F9(e) {
|
|
|
5610
5605
|
}
|
|
5611
5606
|
}(r, t);
|
|
5612
5607
|
}
|
|
5613
|
-
let
|
|
5614
|
-
const ee = {},
|
|
5608
|
+
let F1;
|
|
5609
|
+
const ee = {}, u2 = k9({ render: function() {
|
|
5615
5610
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5616
5611
|
return t("div", { staticClass: "bimdata-textarea", class: { "not-empty": e.modelValue !== null && e.modelValue !== "" || e.placeholder !== null, error: e.error, success: e.success }, style: { "min-width": e.width, "min-height": e.height } }, [t("textarea", e._b({ ref: "textarea", style: e.resizable ? "" : "resize: none;", attrs: { name: e.name, id: e.name, placeholder: e.placeholder }, domProps: { value: e.modelValue }, on: { input: e.onInput } }, "textarea", e.$attrs, !1)), e._v(" "), t("label", { attrs: { for: e.name } }, [e._v(e._s(e.label))]), e._v(" "), t("span", { staticClass: "bar" }), e._v(" "), e.error ? t("span", { staticClass: "error" }, [e._v(e._s(e.errorMessage))]) : e._e(), e._v(" "), e.success ? t("span", { staticClass: "success" }, [e._v(e._s(e.successMessage))]) : e._e()]);
|
|
5617
5612
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -5655,7 +5650,7 @@ function R9(e) {
|
|
|
5655
5650
|
let s = n.source;
|
|
5656
5651
|
if (n.map && (s += `
|
|
5657
5652
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
5658
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
5653
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), D1 === void 0 && (D1 = document.head || document.getElementsByTagName("head")[0]), D1.appendChild(a.element)), "styleSheet" in a.element)
|
|
5659
5654
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5660
5655
|
`);
|
|
5661
5656
|
else {
|
|
@@ -5665,7 +5660,7 @@ function R9(e) {
|
|
|
5665
5660
|
}
|
|
5666
5661
|
}(r, t);
|
|
5667
5662
|
}
|
|
5668
|
-
let
|
|
5663
|
+
let D1;
|
|
5669
5664
|
const te = {}, ze = E9({ render: function() {
|
|
5670
5665
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5671
5666
|
return t("div", { staticClass: "bimdata-tooltip" }, [t("div", { staticClass: "bimdata-tooltip__content", on: { mouseover: function(i) {
|
|
@@ -5789,8 +5784,8 @@ var O9 = function() {
|
|
|
5789
5784
|
}, z9 = [];
|
|
5790
5785
|
const P9 = {
|
|
5791
5786
|
components: {
|
|
5792
|
-
BIMDataButton:
|
|
5793
|
-
BIMDataIcon:
|
|
5787
|
+
BIMDataButton: S,
|
|
5788
|
+
BIMDataIcon: T
|
|
5794
5789
|
},
|
|
5795
5790
|
props: {
|
|
5796
5791
|
viewpoints: {
|
|
@@ -5828,7 +5823,7 @@ const P9 = {
|
|
|
5828
5823
|
};
|
|
5829
5824
|
}
|
|
5830
5825
|
}, re = {};
|
|
5831
|
-
var N9 = /* @__PURE__ */
|
|
5826
|
+
var N9 = /* @__PURE__ */ E(
|
|
5832
5827
|
P9,
|
|
5833
5828
|
O9,
|
|
5834
5829
|
z9,
|
|
@@ -5896,8 +5891,8 @@ var U9 = function() {
|
|
|
5896
5891
|
}, q9 = [];
|
|
5897
5892
|
const Y9 = {
|
|
5898
5893
|
components: {
|
|
5899
|
-
BIMDataButton:
|
|
5900
|
-
BIMDataIcon:
|
|
5894
|
+
BIMDataButton: S,
|
|
5895
|
+
BIMDataIcon: T
|
|
5901
5896
|
},
|
|
5902
5897
|
props: {
|
|
5903
5898
|
viewpoints: {
|
|
@@ -5910,15 +5905,15 @@ const Y9 = {
|
|
|
5910
5905
|
"delete-viewpoint"
|
|
5911
5906
|
],
|
|
5912
5907
|
setup(e, { emit: r }) {
|
|
5913
|
-
const t =
|
|
5908
|
+
const t = n1("getViewers", () => ({}));
|
|
5914
5909
|
return {
|
|
5915
5910
|
// Methods
|
|
5916
5911
|
createViewpoints: async () => {
|
|
5917
5912
|
Object.entries(t()).forEach(([d, a]) => {
|
|
5918
|
-
const [s, u] = Object.entries(
|
|
5913
|
+
const [s, u] = Object.entries(s1).find(([, p]) => p.plugin === d);
|
|
5919
5914
|
a.forEach(async (p) => {
|
|
5920
5915
|
const l = await p.getViewpoint(), { order: c } = u ?? {};
|
|
5921
|
-
l.order = c, l[
|
|
5916
|
+
l.order = c, l[l1] = s, l[d1] = p.getLoadedModels().map((o) => o.id).join(","), r("create-viewpoint", l);
|
|
5922
5917
|
});
|
|
5923
5918
|
});
|
|
5924
5919
|
},
|
|
@@ -5928,7 +5923,7 @@ const Y9 = {
|
|
|
5928
5923
|
};
|
|
5929
5924
|
}
|
|
5930
5925
|
}, ie = {};
|
|
5931
|
-
var W9 = /* @__PURE__ */
|
|
5926
|
+
var W9 = /* @__PURE__ */ E(
|
|
5932
5927
|
Y9,
|
|
5933
5928
|
U9,
|
|
5934
5929
|
q9,
|
|
@@ -6261,15 +6256,15 @@ const Q9 = {
|
|
|
6261
6256
|
components: {
|
|
6262
6257
|
BcfTopicImages: j9,
|
|
6263
6258
|
BcfTopicSnapshots: K9,
|
|
6264
|
-
BIMDataButton:
|
|
6259
|
+
BIMDataButton: S,
|
|
6265
6260
|
BIMDataDatePicker: L9,
|
|
6266
|
-
BIMDataIcon:
|
|
6267
|
-
BIMDataInput:
|
|
6268
|
-
BIMDataLoading:
|
|
6261
|
+
BIMDataIcon: T,
|
|
6262
|
+
BIMDataInput: p1,
|
|
6263
|
+
BIMDataLoading: b1,
|
|
6269
6264
|
BIMDataSafeZoneModal: Oe,
|
|
6270
6265
|
BIMDataSelect: Ie,
|
|
6271
|
-
BIMDataTextarea:
|
|
6272
|
-
BIMDataTextbox:
|
|
6266
|
+
BIMDataTextarea: u2,
|
|
6267
|
+
BIMDataTextbox: u1,
|
|
6273
6268
|
BIMDataTooltip: ze
|
|
6274
6269
|
},
|
|
6275
6270
|
props: {
|
|
@@ -6345,19 +6340,19 @@ const Q9 = {
|
|
|
6345
6340
|
"topic-update-error"
|
|
6346
6341
|
],
|
|
6347
6342
|
setup(e, { emit: r }) {
|
|
6348
|
-
const t =
|
|
6343
|
+
const t = c1(), i = Z(
|
|
6349
6344
|
() => !e.topic
|
|
6350
|
-
), n =
|
|
6345
|
+
), n = Z(
|
|
6351
6346
|
() => Math.max(0, ...e.topics.map((m) => m.index)) + 1
|
|
6352
|
-
), d = L(""), a = L(null), s = L(null), u = L(null), p = L(null), l = L(null), c = L(null), o = L(""), b = L([]), g = L([]), H = L([]), M = L([]), V = L([]),
|
|
6353
|
-
() => g.value.concat(H.value).filter((m) => !V.value.some((
|
|
6354
|
-
), $ = L(!1), z = L(!1), R = L(!1),
|
|
6347
|
+
), d = L(""), a = L(null), s = L(null), u = L(null), p = L(null), l = L(null), c = L(null), o = L(""), b = L([]), g = L([]), H = L([]), M = L([]), V = L([]), D = Z(
|
|
6348
|
+
() => g.value.concat(H.value).filter((m) => !V.value.some((_) => _.guid === m.guid)).filter((m) => m.snapshot)
|
|
6349
|
+
), $ = L(!1), z = L(!1), R = L(!1), O = () => {
|
|
6355
6350
|
d.value = "", a.value = null, s.value = null, u.value = null, p.value = null, l.value = null, c.value = null, o.value = "", b.value = [], g.value = [], H.value = [], M.value = [], V.value = [], $.value = !1, z.value = !1, R.value = !1;
|
|
6356
6351
|
};
|
|
6357
6352
|
return A(
|
|
6358
6353
|
() => e.topic,
|
|
6359
6354
|
(m) => {
|
|
6360
|
-
m ? (d.value = m.title || "", a.value = m.topic_type || null, s.value = m.priority || null, u.value = m.topic_status || null, p.value = m.stage || null, l.value = m.assigned_to || null, c.value = m.due_date, o.value = m.description || "", b.value = m.labels || [], g.value = m.viewpoints || []) :
|
|
6355
|
+
m ? (d.value = m.title || "", a.value = m.topic_type || null, s.value = m.priority || null, u.value = m.topic_status || null, p.value = m.stage || null, l.value = m.assigned_to || null, c.value = m.due_date, o.value = m.description || "", b.value = m.labels || [], g.value = m.viewpoints || []) : O();
|
|
6361
6356
|
},
|
|
6362
6357
|
{ immediate: !0 }
|
|
6363
6358
|
), {
|
|
@@ -6376,7 +6371,7 @@ const Q9 = {
|
|
|
6376
6371
|
topicLabels: b,
|
|
6377
6372
|
topicTitle: d,
|
|
6378
6373
|
topicType: a,
|
|
6379
|
-
viewpointsToDisplay:
|
|
6374
|
+
viewpointsToDisplay: D,
|
|
6380
6375
|
// Methods
|
|
6381
6376
|
createViewpoint: (m) => {
|
|
6382
6377
|
H.value.push(m);
|
|
@@ -6385,31 +6380,31 @@ const Q9 = {
|
|
|
6385
6380
|
if (m.guid)
|
|
6386
6381
|
V.value.push(m);
|
|
6387
6382
|
else {
|
|
6388
|
-
let
|
|
6389
|
-
H.value.splice(
|
|
6383
|
+
let _ = H.value.indexOf(m);
|
|
6384
|
+
H.value.splice(_, 1);
|
|
6390
6385
|
}
|
|
6391
6386
|
},
|
|
6392
6387
|
submit: async () => {
|
|
6393
|
-
var m,
|
|
6388
|
+
var m, _;
|
|
6394
6389
|
if (!d.value) {
|
|
6395
6390
|
$.value = !0;
|
|
6396
6391
|
return;
|
|
6397
6392
|
}
|
|
6398
6393
|
try {
|
|
6399
6394
|
R.value = !0, M.value = g.value.map(
|
|
6400
|
-
(
|
|
6401
|
-
), M.value.length === 0 && H.value.sort((
|
|
6402
|
-
const
|
|
6403
|
-
e.topicObjects && (
|
|
6404
|
-
Object.assign(
|
|
6395
|
+
(k) => ({ ...k, snapshot: void 0 })
|
|
6396
|
+
), M.value.length === 0 && H.value.sort((k, I) => (k.order ?? 1 / 0) - (I.order ?? 1 / 0));
|
|
6397
|
+
const y = M.value.concat(H.value);
|
|
6398
|
+
e.topicObjects && (y.length > 0 ? y.forEach((k) => {
|
|
6399
|
+
Object.assign(k, {
|
|
6405
6400
|
components: e.topicObjects
|
|
6406
|
-
}), p5(
|
|
6401
|
+
}), p5(k);
|
|
6407
6402
|
}) : H.value.push({
|
|
6408
6403
|
components: e.topicObjects
|
|
6409
|
-
})), e.topicAnnotations &&
|
|
6410
|
-
(
|
|
6404
|
+
})), e.topicAnnotations && y.forEach(
|
|
6405
|
+
(k) => k.pins = e.topicAnnotations
|
|
6411
6406
|
);
|
|
6412
|
-
const
|
|
6407
|
+
const x = {
|
|
6413
6408
|
guid: (m = e.topic) == null ? void 0 : m.guid,
|
|
6414
6409
|
title: d.value,
|
|
6415
6410
|
topic_type: a.value,
|
|
@@ -6421,24 +6416,24 @@ const Q9 = {
|
|
|
6421
6416
|
description: o.value,
|
|
6422
6417
|
labels: b.value,
|
|
6423
6418
|
// Keep topic models unchanged if any, otherwise use provided topic models.
|
|
6424
|
-
models: ((
|
|
6425
|
-
// Topic viewpoints will be updated with `updateFullTopic` API method.
|
|
6426
|
-
viewpoints: M.value
|
|
6419
|
+
models: ((_ = e.topic) == null ? void 0 : _.models) || e.topicModels
|
|
6427
6420
|
};
|
|
6428
|
-
let
|
|
6429
|
-
i.value ?
|
|
6430
|
-
H.value.map(
|
|
6431
|
-
(
|
|
6432
|
-
)
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6421
|
+
let F;
|
|
6422
|
+
i.value ? F = await t.createTopic(e.project, x) : F = await t.updateTopic(e.project, x), await Promise.all([
|
|
6423
|
+
...H.value.map(
|
|
6424
|
+
(k) => t.createViewpoint(e.project, F, k)
|
|
6425
|
+
),
|
|
6426
|
+
...M.value.map(
|
|
6427
|
+
(k) => t.updateViewpoint(e.project, F, k)
|
|
6428
|
+
),
|
|
6429
|
+
...V.value.map(
|
|
6430
|
+
(k) => t.deleteViewpoint(e.project, F, k)
|
|
6436
6431
|
)
|
|
6437
|
-
), i.value ? (r("topic-created",
|
|
6438
|
-
} catch (
|
|
6432
|
+
]), i.value ? (r("topic-created", F), O()) : r("topic-updated", F);
|
|
6433
|
+
} catch (y) {
|
|
6439
6434
|
r(
|
|
6440
6435
|
i.value ? "topic-create-error" : "topic-update-error",
|
|
6441
|
-
|
|
6436
|
+
y
|
|
6442
6437
|
);
|
|
6443
6438
|
} finally {
|
|
6444
6439
|
R.value = !1;
|
|
@@ -6447,13 +6442,13 @@ const Q9 = {
|
|
|
6447
6442
|
};
|
|
6448
6443
|
}
|
|
6449
6444
|
}, ae = {};
|
|
6450
|
-
var e4 = /* @__PURE__ */
|
|
6445
|
+
var e4 = /* @__PURE__ */ E(
|
|
6451
6446
|
Q9,
|
|
6452
6447
|
J9,
|
|
6453
6448
|
G9,
|
|
6454
6449
|
!1,
|
|
6455
6450
|
t4,
|
|
6456
|
-
"
|
|
6451
|
+
"9990c6b0",
|
|
6457
6452
|
null,
|
|
6458
6453
|
null
|
|
6459
6454
|
);
|
|
@@ -6518,7 +6513,7 @@ function q(e) {
|
|
|
6518
6513
|
let s = n.source;
|
|
6519
6514
|
if (n.map && (s += `
|
|
6520
6515
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
6521
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
6516
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), E1 === void 0 && (E1 = document.head || document.getElementsByTagName("head")[0]), E1.appendChild(a.element)), "styleSheet" in a.element)
|
|
6522
6517
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
6523
6518
|
`);
|
|
6524
6519
|
else {
|
|
@@ -6528,7 +6523,7 @@ function q(e) {
|
|
|
6528
6523
|
}
|
|
6529
6524
|
}(r, t);
|
|
6530
6525
|
}
|
|
6531
|
-
let
|
|
6526
|
+
let E1;
|
|
6532
6527
|
const oe = {}, le = j({ render: function() {
|
|
6533
6528
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6534
6529
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
@@ -6544,7 +6539,7 @@ const oe = {}, le = j({ render: function() {
|
|
|
6544
6539
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.47105C0.982285 2.39544 0.982285 2.27217 1.05119 2.19676L3.00683 0.0565512C3.07573 -0.0188504 3.18857 -0.0188504 3.25748 0.0565512L13.5625 11.3331C13.5796 11.3518 13.5925 11.3736 13.6012 11.3968C13.6665 11.4724 13.6658 11.5928 13.598 11.667L3.29296 22.9433C3.22406 23.0189 3.11122 23.0189 3.04231 22.9433L1.08668 20.8033C1.01758 20.7279 1.01758 20.6044 1.08668 20.529L9.32003 11.5192L1.05119 2.47105ZM10.2512 2.47105C10.1823 2.39544 10.1823 2.27217 10.2512 2.19676L12.2068 0.0565512C12.2757 -0.0188504 12.3886 -0.0188504 12.4575 0.0565512L22.7625 11.3331C22.7796 11.3518 22.7925 11.3736 22.8012 11.3968C22.8665 11.4724 22.8658 11.5928 22.798 11.667L12.493 22.9433C12.4241 23.0189 12.3112 23.0189 12.2423 22.9433L10.2867 20.8033C10.2176 20.7279 10.2176 20.6044 10.2867 20.529L18.52 11.5192L10.2512 2.47105Z" } });
|
|
6545
6540
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1, q, void 0, void 0);
|
|
6546
6541
|
var s4 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]);
|
|
6547
|
-
const
|
|
6542
|
+
const B1 = j({ render: function() {
|
|
6548
6543
|
var e = this, r = e.$createElement;
|
|
6549
6544
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
6550
6545
|
return e.$emit("click", t);
|
|
@@ -6608,7 +6603,7 @@ const E1 = j({ render: function() {
|
|
|
6608
6603
|
} } }, [t("BIMDataIconDoubleChevron", { attrs: { size: "xxxs" } })], 1)], 1) : e._e(), e._v(" "), t("li", { staticClass: "bimdata-navigation__right" }, [e._t("right")], 2)]);
|
|
6609
6604
|
}, staticRenderFns: [] }, function(e) {
|
|
6610
6605
|
e && (e("data-v-3c48ce0c_0", { source: 'html[data-v-3c48ce0c]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-list[data-v-3c48ce0c]{margin:0;padding:0}.bimdata-list li[data-v-3c48ce0c]{list-style-type:none}', map: void 0, media: void 0 }), e("data-v-3c48ce0c_1", { source: ".bimdata-navigation[data-v-3c48ce0c]{display:inline-flex;width:100%;height:38px;justify-content:center;align-items:center}.bimdata-navigation__item[data-v-3c48ce0c]{padding:6px 2px}.bimdata-navigation__item .bimdata-btn[data-v-3c48ce0c]{padding:0;justify-content:center}.bimdata-navigation__item.active .bimdata-btn[data-v-3c48ce0c]{font-weight:700}.bimdata-navigation__left[data-v-3c48ce0c],.bimdata-navigation__right[data-v-3c48ce0c]{padding:6px 2px;font-size:10px;cursor:default}", map: void 0, media: void 0 }));
|
|
6611
|
-
}, { components: { BIMDataIconChevron: le, BIMDataIconDoubleChevron: d4, BIMDataButton:
|
|
6606
|
+
}, { components: { BIMDataIconChevron: le, BIMDataIconDoubleChevron: d4, BIMDataButton: B1 }, props: { first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, previous: { type: Boolean, default: !0 }, next: { type: Boolean, default: !0 }, firstDisabled: { type: Boolean, default: !1 }, lastDisabled: { type: Boolean, default: !1 }, previousDisabled: { type: Boolean, default: !1 }, nextDisabled: { type: Boolean, default: !1 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["first", "previous", "next", "last"] }, "data-v-3c48ce0c", !1, void 0, !1, q, void 0, void 0), BIMDataButton: B1 }, 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() {
|
|
6612
6607
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
6613
6608
|
}, lastIndex() {
|
|
6614
6609
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -6641,7 +6636,7 @@ const E1 = j({ render: function() {
|
|
|
6641
6636
|
this.list.length < this.perPage * (this.currentPage - 1) + 1 && (this.currentPage = 1);
|
|
6642
6637
|
}, deep: !0, immediate: !0 } }, methods: { onPageChange(e) {
|
|
6643
6638
|
this.currentPage = e;
|
|
6644
|
-
} } }, "data-v-9848cfc8", !1, void 0, !1, q, void 0, void 0), BIMDataButton:
|
|
6639
|
+
} } }, "data-v-9848cfc8", !1, void 0, !1, q, void 0, void 0), BIMDataButton: B1 }, directives: { clickaway: i4 }, props: { list: { type: Array, default: () => [] }, perPage: { type: Number, default: 10 }, elementKey: { type: String }, disabled: { type: Boolean, default: !1 }, transitionName: { type: String, default: "up", validator: (e) => ["up", "down"].includes(e) }, directionClass: { type: String, default: "down", validator: (e) => ["down", "up", "right", "left"].includes(e) }, loading: { type: Boolean, default: !1 }, closeOnElementClick: { type: Boolean, default: !1 }, width: { type: String, default: "220px" }, height: { type: String, default: "36px" } }, emits: ["element-click"], data: () => ({ displayed: !1 }), computed: { style() {
|
|
6645
6640
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
6646
6641
|
}, iconRotation() {
|
|
6647
6642
|
return this.displayed ? this.directionClass === "up" ? -90 : 90 : 0;
|
|
@@ -6695,13 +6690,13 @@ const C4 = {
|
|
|
6695
6690
|
},
|
|
6696
6691
|
setup(e) {
|
|
6697
6692
|
return {
|
|
6698
|
-
initials:
|
|
6693
|
+
initials: Z(
|
|
6699
6694
|
() => `${e.user.firstname && e.user.firstname[0] || ""}${e.user.lastname && e.user.lastname[0] || ""}`.toUpperCase()
|
|
6700
6695
|
)
|
|
6701
6696
|
};
|
|
6702
6697
|
}
|
|
6703
6698
|
}, de = {};
|
|
6704
|
-
var h4 = /* @__PURE__ */
|
|
6699
|
+
var h4 = /* @__PURE__ */ E(
|
|
6705
6700
|
C4,
|
|
6706
6701
|
u4,
|
|
6707
6702
|
f4,
|
|
@@ -6989,11 +6984,11 @@ var p4 = function() {
|
|
|
6989
6984
|
}, g4 = [];
|
|
6990
6985
|
const b4 = {
|
|
6991
6986
|
components: {
|
|
6992
|
-
BIMDataButton:
|
|
6993
|
-
BIMDataIcon:
|
|
6994
|
-
BIMDataLoading:
|
|
6995
|
-
BIMDataTextarea:
|
|
6996
|
-
BIMDataTextbox:
|
|
6987
|
+
BIMDataButton: S,
|
|
6988
|
+
BIMDataIcon: T,
|
|
6989
|
+
BIMDataLoading: b1,
|
|
6990
|
+
BIMDataTextarea: u2,
|
|
6991
|
+
BIMDataTextbox: u1,
|
|
6997
6992
|
UserAvatar: Ne
|
|
6998
6993
|
},
|
|
6999
6994
|
props: {
|
|
@@ -7016,7 +7011,7 @@ const b4 = {
|
|
|
7016
7011
|
},
|
|
7017
7012
|
emits: ["comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
7018
7013
|
setup(e, { emit: r }) {
|
|
7019
|
-
const t =
|
|
7014
|
+
const t = n1("getViewers", () => ({})), i = n1("$viewer"), n = c1(), d = L(!1), a = L(!1), s = () => a.value = !1, u = () => a.value = !a.value, p = L(e.comment.comment), l = L(null), c = async () => {
|
|
7020
7015
|
l.value = await n.fetchTopicCommentViewpoint(
|
|
7021
7016
|
e.project,
|
|
7022
7017
|
e.topic,
|
|
@@ -7028,21 +7023,21 @@ const b4 = {
|
|
|
7028
7023
|
o.value = !1, p.value = e.comment.comment;
|
|
7029
7024
|
}, H = async () => {
|
|
7030
7025
|
l.value.guid && await n.deleteViewpoint(e.project, e.topic, l.value), l.value = null;
|
|
7031
|
-
}, M = L(!1), V = L([]),
|
|
7032
|
-
|
|
7033
|
-
}, $ = (
|
|
7034
|
-
|
|
7026
|
+
}, M = L(!1), V = L([]), D = (x) => {
|
|
7027
|
+
x.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", x.$viewer.localContext.el.style.boxSizing = "border-box", x.$viewer.localContext.el.style.opacity = ".85";
|
|
7028
|
+
}, $ = (x) => {
|
|
7029
|
+
x.$viewer.localContext.el.style.border = "", x.$viewer.localContext.el.style.boxSizing = "", x.$viewer.localContext.el.style.opacity = "";
|
|
7035
7030
|
}, z = async () => {
|
|
7036
7031
|
V.value.length === 1 ? await R(V.value[0]) : V.value.length > 1 && (M.value = !0);
|
|
7037
|
-
}, R = async ({ id:
|
|
7038
|
-
$(
|
|
7039
|
-
const [
|
|
7040
|
-
l.value = Object.assign(await
|
|
7041
|
-
[
|
|
7042
|
-
[
|
|
7032
|
+
}, R = async ({ id: x, viewer: F }) => {
|
|
7033
|
+
$(F), M.value = !1;
|
|
7034
|
+
const [k] = Object.entries(s1).find(([, I]) => I.plugin === x);
|
|
7035
|
+
l.value = Object.assign(await F.getViewpoint(), {
|
|
7036
|
+
[l1]: k,
|
|
7037
|
+
[d1]: F.getLoadedModels().map((I) => I.id).join(",")
|
|
7043
7038
|
});
|
|
7044
|
-
},
|
|
7045
|
-
var
|
|
7039
|
+
}, O = async () => {
|
|
7040
|
+
var x;
|
|
7046
7041
|
try {
|
|
7047
7042
|
if (e.comment.comment === p.value && !l.value) {
|
|
7048
7043
|
o.value = !1;
|
|
@@ -7054,27 +7049,27 @@ const b4 = {
|
|
|
7054
7049
|
l.value
|
|
7055
7050
|
)), e.comment.comment !== p.value || e.comment.viewpoint_guid !== l.value.guid) {
|
|
7056
7051
|
d.value = !0;
|
|
7057
|
-
const
|
|
7052
|
+
const F = await n.updateComment(
|
|
7058
7053
|
e.project,
|
|
7059
7054
|
e.topic,
|
|
7060
7055
|
e.comment,
|
|
7061
|
-
{ comment: p.value, viewpoint_guid: (
|
|
7056
|
+
{ comment: p.value, viewpoint_guid: (x = l.value) == null ? void 0 : x.guid }
|
|
7062
7057
|
);
|
|
7063
|
-
r("comment-updated",
|
|
7058
|
+
r("comment-updated", F);
|
|
7064
7059
|
}
|
|
7065
7060
|
o.value = !1;
|
|
7066
7061
|
} finally {
|
|
7067
7062
|
d.value = !1;
|
|
7068
7063
|
}
|
|
7069
|
-
}, P = L(!1),
|
|
7064
|
+
}, P = L(!1), w = () => {
|
|
7070
7065
|
P.value = !0, s();
|
|
7071
|
-
},
|
|
7066
|
+
}, B = async () => {
|
|
7072
7067
|
try {
|
|
7073
7068
|
d.value = !0, await n.deleteComment(e.project, e.topic, e.comment), r("comment-deleted", e.comment), P.value = !1;
|
|
7074
7069
|
} finally {
|
|
7075
7070
|
d.value = !1;
|
|
7076
7071
|
}
|
|
7077
|
-
}, m = (
|
|
7072
|
+
}, m = (x) => {
|
|
7078
7073
|
i ? i.globalContext.modals.pushModal(
|
|
7079
7074
|
{
|
|
7080
7075
|
template: '<img :src="viewpoint.snapshot.snapshot_data" />',
|
|
@@ -7085,23 +7080,23 @@ const b4 = {
|
|
|
7085
7080
|
}
|
|
7086
7081
|
}
|
|
7087
7082
|
},
|
|
7088
|
-
{ viewpoint:
|
|
7089
|
-
) : r("view-comment-snapshot",
|
|
7083
|
+
{ viewpoint: x }
|
|
7084
|
+
) : r("view-comment-snapshot", x);
|
|
7090
7085
|
};
|
|
7091
|
-
let
|
|
7092
|
-
return
|
|
7086
|
+
let _, y;
|
|
7087
|
+
return r2(async () => {
|
|
7093
7088
|
if (e.comment.viewpoint_guid && await c(), i) {
|
|
7094
|
-
const
|
|
7095
|
-
([
|
|
7089
|
+
const x = () => Object.entries(t()).map(
|
|
7090
|
+
([F, k]) => k.map((I, J) => ({ key: `${F}-${J}`, id: F, index: J, viewer: I }))
|
|
7096
7091
|
).flat();
|
|
7097
|
-
V.value =
|
|
7098
|
-
V.value =
|
|
7099
|
-
}),
|
|
7100
|
-
V.value =
|
|
7092
|
+
V.value = x(), _ = i.globalContext.hub.on("plugin-created", () => {
|
|
7093
|
+
V.value = x();
|
|
7094
|
+
}), y = i.globalContext.hub.on("plugin-destroyed", () => {
|
|
7095
|
+
V.value = x();
|
|
7101
7096
|
});
|
|
7102
7097
|
}
|
|
7103
7098
|
}), Me(() => {
|
|
7104
|
-
i && (i.globalContext.hub.off(
|
|
7099
|
+
i && (i.globalContext.hub.off(_), i.globalContext.hub.off(y));
|
|
7105
7100
|
}), {
|
|
7106
7101
|
// References
|
|
7107
7102
|
isDeleting: P,
|
|
@@ -7118,20 +7113,20 @@ const b4 = {
|
|
|
7118
7113
|
closeMenu: s,
|
|
7119
7114
|
createViewpoint: R,
|
|
7120
7115
|
deleteViewpoint: H,
|
|
7121
|
-
highlightViewer:
|
|
7122
|
-
onOpenDelete:
|
|
7116
|
+
highlightViewer: D,
|
|
7117
|
+
onOpenDelete: w,
|
|
7123
7118
|
onOpenEdit: b,
|
|
7124
7119
|
openCommentSnapshot: m,
|
|
7125
7120
|
setCommentViewpoint: z,
|
|
7126
|
-
submitDelete:
|
|
7127
|
-
submitUpdate:
|
|
7121
|
+
submitDelete: B,
|
|
7122
|
+
submitUpdate: O,
|
|
7128
7123
|
toggleMenu: u,
|
|
7129
7124
|
loadViewpoint: c,
|
|
7130
7125
|
unhighlightViewer: $
|
|
7131
7126
|
};
|
|
7132
7127
|
}
|
|
7133
7128
|
}, se = {};
|
|
7134
|
-
var m4 = /* @__PURE__ */
|
|
7129
|
+
var m4 = /* @__PURE__ */ E(
|
|
7135
7130
|
b4,
|
|
7136
7131
|
p4,
|
|
7137
7132
|
g4,
|
|
@@ -7306,11 +7301,11 @@ var H4 = function() {
|
|
|
7306
7301
|
}, y4 = [];
|
|
7307
7302
|
const V4 = {
|
|
7308
7303
|
components: {
|
|
7309
|
-
BIMDataButton:
|
|
7304
|
+
BIMDataButton: S,
|
|
7310
7305
|
BIMDataDropdownList: c4,
|
|
7311
|
-
BIMDataIcon:
|
|
7312
|
-
BIMDataLoading:
|
|
7313
|
-
BIMDataTextarea:
|
|
7306
|
+
BIMDataIcon: T,
|
|
7307
|
+
BIMDataLoading: b1,
|
|
7308
|
+
BIMDataTextarea: u2,
|
|
7314
7309
|
TopicComment: L4
|
|
7315
7310
|
},
|
|
7316
7311
|
props: {
|
|
@@ -7333,63 +7328,63 @@ const V4 = {
|
|
|
7333
7328
|
},
|
|
7334
7329
|
emis: ["comment-created", "comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
7335
7330
|
setup(e, { emit: r }) {
|
|
7336
|
-
const t =
|
|
7331
|
+
const t = c1(), i = L([]), n = L(!1), d = L(!1), a = L(null), s = L(""), u = L(null), p = async () => {
|
|
7337
7332
|
i.value = await t.fetchTopicComments(e.project, e.topic);
|
|
7338
|
-
}, l =
|
|
7339
|
-
|
|
7340
|
-
}, H = (
|
|
7341
|
-
|
|
7333
|
+
}, l = n1("getViewers", () => ({})), c = n1("$viewer"), o = L(!1), b = L([]), g = (w) => {
|
|
7334
|
+
w.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", w.$viewer.localContext.el.style.boxSizing = "border-box", w.$viewer.localContext.el.style.opacity = ".85";
|
|
7335
|
+
}, H = (w) => {
|
|
7336
|
+
w.$viewer.localContext.el.style.border = "", w.$viewer.localContext.el.style.boxSizing = "", w.$viewer.localContext.el.style.opacity = "";
|
|
7342
7337
|
}, M = async () => {
|
|
7343
7338
|
b.value.length === 1 ? await V(b.value[0]) : b.value.length > 1 && (o.value = !0);
|
|
7344
|
-
}, V = async ({ id:
|
|
7345
|
-
H(
|
|
7346
|
-
const [m] = Object.entries(
|
|
7347
|
-
u.value = Object.assign(await
|
|
7348
|
-
[
|
|
7349
|
-
[
|
|
7339
|
+
}, V = async ({ id: w, viewer: B }) => {
|
|
7340
|
+
H(B), o.value = !1;
|
|
7341
|
+
const [m] = Object.entries(s1).find(([, _]) => _.plugin === w);
|
|
7342
|
+
u.value = Object.assign(await B.getViewpoint(), {
|
|
7343
|
+
[l1]: m,
|
|
7344
|
+
[d1]: B.getLoadedModels().map((_) => _.id).join(",")
|
|
7350
7345
|
});
|
|
7351
|
-
},
|
|
7346
|
+
}, D = () => {
|
|
7352
7347
|
u.value = null;
|
|
7353
7348
|
}, $ = async () => {
|
|
7354
|
-
var
|
|
7349
|
+
var w;
|
|
7355
7350
|
try {
|
|
7356
7351
|
d.value = !0, u.value && (u.value = await t.createViewpoint(
|
|
7357
7352
|
e.project,
|
|
7358
7353
|
e.topic,
|
|
7359
7354
|
u.value
|
|
7360
7355
|
));
|
|
7361
|
-
const
|
|
7356
|
+
const B = await t.createComment(e.project, e.topic, {
|
|
7362
7357
|
comment: s.value,
|
|
7363
|
-
viewpoint_guid: (
|
|
7358
|
+
viewpoint_guid: (w = u.value) == null ? void 0 : w.guid
|
|
7364
7359
|
});
|
|
7365
|
-
p(), r("comment-created",
|
|
7360
|
+
p(), r("comment-created", B), n.value = !1, s.value = "";
|
|
7366
7361
|
} finally {
|
|
7367
7362
|
d.value = !1, u.value = null;
|
|
7368
7363
|
}
|
|
7369
|
-
}, z = (
|
|
7370
|
-
p(), r("comment-updated",
|
|
7371
|
-
}, R = (
|
|
7372
|
-
p(), r("comment-deleted",
|
|
7364
|
+
}, z = (w) => {
|
|
7365
|
+
p(), r("comment-updated", w);
|
|
7366
|
+
}, R = (w) => {
|
|
7367
|
+
p(), r("comment-deleted", w);
|
|
7373
7368
|
};
|
|
7374
7369
|
A(
|
|
7375
7370
|
() => e.topic,
|
|
7376
7371
|
() => p(),
|
|
7377
7372
|
{ immediate: !0 }
|
|
7378
7373
|
), A(n, () => setTimeout(() => n.value && a.value.focus(), 50));
|
|
7379
|
-
let
|
|
7380
|
-
return
|
|
7374
|
+
let O, P;
|
|
7375
|
+
return r2(() => {
|
|
7381
7376
|
if (c) {
|
|
7382
|
-
const
|
|
7383
|
-
([
|
|
7377
|
+
const w = () => Object.entries(l()).map(
|
|
7378
|
+
([B, m]) => m.map((_, y) => ({ key: `${B}-${y}`, id: B, index: y, viewer: _ }))
|
|
7384
7379
|
).flat();
|
|
7385
|
-
b.value =
|
|
7386
|
-
b.value =
|
|
7380
|
+
b.value = w(), O = c.globalContext.hub.on("plugin-created", () => {
|
|
7381
|
+
b.value = w();
|
|
7387
7382
|
}), P = c.globalContext.hub.on("plugin-destroyed", () => {
|
|
7388
|
-
b.value =
|
|
7383
|
+
b.value = w();
|
|
7389
7384
|
});
|
|
7390
7385
|
}
|
|
7391
7386
|
}), Me(() => {
|
|
7392
|
-
c && (c.globalContext.hub.off(
|
|
7387
|
+
c && (c.globalContext.hub.off(O), c.globalContext.hub.off(P));
|
|
7393
7388
|
}), {
|
|
7394
7389
|
// References
|
|
7395
7390
|
comments: i,
|
|
@@ -7403,7 +7398,7 @@ const V4 = {
|
|
|
7403
7398
|
isViewer: !!c,
|
|
7404
7399
|
// Methods
|
|
7405
7400
|
createViewpoint: V,
|
|
7406
|
-
deleteViewpoint:
|
|
7401
|
+
deleteViewpoint: D,
|
|
7407
7402
|
highlightViewer: g,
|
|
7408
7403
|
loadComments: p,
|
|
7409
7404
|
onCommentDeleted: R,
|
|
@@ -7414,7 +7409,7 @@ const V4 = {
|
|
|
7414
7409
|
};
|
|
7415
7410
|
}
|
|
7416
7411
|
}, ce = {};
|
|
7417
|
-
var M4 = /* @__PURE__ */
|
|
7412
|
+
var M4 = /* @__PURE__ */ E(
|
|
7418
7413
|
V4,
|
|
7419
7414
|
H4,
|
|
7420
7415
|
y4,
|
|
@@ -7459,7 +7454,7 @@ function C(e, r, t, i, n, d, a, s, u, p) {
|
|
|
7459
7454
|
return t;
|
|
7460
7455
|
}
|
|
7461
7456
|
const $4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
7462
|
-
function
|
|
7457
|
+
function t2(e) {
|
|
7463
7458
|
return (r, t) => function(i, n) {
|
|
7464
7459
|
const d = $4 ? n.media || "default" : i, a = ue[d] || (ue[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
7465
7460
|
if (!a.ids.has(i)) {
|
|
@@ -7467,7 +7462,7 @@ function e2(e) {
|
|
|
7467
7462
|
let s = n.source;
|
|
7468
7463
|
if (n.map && (s += `
|
|
7469
7464
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
7470
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
7465
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), R1 === void 0 && (R1 = document.head || document.getElementsByTagName("head")[0]), R1.appendChild(a.element)), "styleSheet" in a.element)
|
|
7471
7466
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
7472
7467
|
`);
|
|
7473
7468
|
else {
|
|
@@ -7477,7 +7472,7 @@ function e2(e) {
|
|
|
7477
7472
|
}
|
|
7478
7473
|
}(r, t);
|
|
7479
7474
|
}
|
|
7480
|
-
let
|
|
7475
|
+
let R1;
|
|
7481
7476
|
const ue = {}, F4 = C({ render: function() {
|
|
7482
7477
|
var e = this, r = e.$createElement;
|
|
7483
7478
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
@@ -7485,7 +7480,7 @@ const ue = {}, F4 = C({ render: function() {
|
|
|
7485
7480
|
} } }, [e._t("default")], 2);
|
|
7486
7481
|
}, staticRenderFns: [] }, function(e) {
|
|
7487
7482
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
7488
|
-
}, k4, "data-v-7af18892", !1, void 0, !1,
|
|
7483
|
+
}, k4, "data-v-7af18892", !1, void 0, !1, t2, void 0, void 0);
|
|
7489
7484
|
var fe = { addFile: C({ render: function() {
|
|
7490
7485
|
var e = this.$createElement;
|
|
7491
7486
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.5312H14.4343V19.7656H12.2781V16.5312H9.04369V14.375H12.2781V11.1406H14.4343V14.375H17.6687V16.5312ZM4.01244 7.90625L10.1218 1.79688V5.97245V7.90625H4.01244ZM20.3885 2.3C20.3885 1.035 19.365 0 18.1 0H8.9L2 6.9V20.7C2 21.965 3.03464 23 4.3 23H18.1115C19.3765 23 20.4 21.965 20.4 20.7L20.3885 2.3Z" } });
|
|
@@ -7986,7 +7981,7 @@ const Ce = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xx
|
|
|
7986
7981
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
7987
7982
|
} }, methods: { getPixelSize() {
|
|
7988
7983
|
return this.customSize ? this.customSize : Ce[this.size];
|
|
7989
|
-
} } }, "data-v-198621a2", !1, void 0, !1,
|
|
7984
|
+
} } }, "data-v-198621a2", !1, void 0, !1, t2, void 0, void 0) }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
7990
7985
|
this.distributeItems();
|
|
7991
7986
|
} }, mounted() {
|
|
7992
7987
|
this.distributeItems(), this.resizeObserver = new ResizeObserver(() => this.distributeItems()), this.resizeObserver.observe(this.$refs.slider), this.mutationObserver = new MutationObserver(() => this.distributeItems()), this.mutationObserver.observe(this.$refs.slider, { childList: !0 });
|
|
@@ -8006,7 +8001,7 @@ const Ce = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xx
|
|
|
8006
8001
|
n = p * s, u.push(n), Object.assign(r[p].style, { position: "absolute", top: `${this.sliderPadding}px`, left: `${this.sliderPadding + n}px` });
|
|
8007
8002
|
this.maxIndex = Math.max(r.length - d, 0), this.index = Math.min(this.index, this.maxIndex), this.translations = u;
|
|
8008
8003
|
}
|
|
8009
|
-
} } }, "data-v-4dd92ffc", !1, void 0, !1,
|
|
8004
|
+
} } }, "data-v-4dd92ffc", !1, void 0, !1, t2, void 0, void 0);
|
|
8010
8005
|
var B4 = function() {
|
|
8011
8006
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8012
8007
|
return t("div", {
|
|
@@ -8056,9 +8051,9 @@ var B4 = function() {
|
|
|
8056
8051
|
}, R4 = [];
|
|
8057
8052
|
const I4 = {
|
|
8058
8053
|
components: {
|
|
8059
|
-
BcfTopicDefaultImage:
|
|
8054
|
+
BcfTopicDefaultImage: l2,
|
|
8060
8055
|
BIMDataCarousel: E4,
|
|
8061
|
-
BIMDataIcon:
|
|
8056
|
+
BIMDataIcon: T
|
|
8062
8057
|
},
|
|
8063
8058
|
props: {
|
|
8064
8059
|
detailedExtensions: {
|
|
@@ -8074,7 +8069,7 @@ const I4 = {
|
|
|
8074
8069
|
"view-topic-viewpoint"
|
|
8075
8070
|
],
|
|
8076
8071
|
setup(e) {
|
|
8077
|
-
const r =
|
|
8072
|
+
const r = Z(
|
|
8078
8073
|
() => (e.topic.viewpoints ?? []).filter((i) => i.snapshot).map((i) => {
|
|
8079
8074
|
var n;
|
|
8080
8075
|
return {
|
|
@@ -8085,16 +8080,16 @@ const I4 = {
|
|
|
8085
8080
|
);
|
|
8086
8081
|
return {
|
|
8087
8082
|
// References
|
|
8088
|
-
statusColor:
|
|
8089
|
-
() =>
|
|
8083
|
+
statusColor: Z(
|
|
8084
|
+
() => n2(e.topic, e.detailedExtensions)
|
|
8090
8085
|
),
|
|
8091
8086
|
viewpoints: r,
|
|
8092
8087
|
// Methods
|
|
8093
|
-
adjustTextColor:
|
|
8088
|
+
adjustTextColor: v1
|
|
8094
8089
|
};
|
|
8095
8090
|
}
|
|
8096
8091
|
}, he = {};
|
|
8097
|
-
var S4 = /* @__PURE__ */
|
|
8092
|
+
var S4 = /* @__PURE__ */ E(
|
|
8098
8093
|
I4,
|
|
8099
8094
|
B4,
|
|
8100
8095
|
R4,
|
|
@@ -8391,13 +8386,13 @@ var z4 = function() {
|
|
|
8391
8386
|
const N4 = {
|
|
8392
8387
|
components: {
|
|
8393
8388
|
BcfTopicComments: Z4,
|
|
8394
|
-
BcfTopicDefaultImage:
|
|
8389
|
+
BcfTopicDefaultImage: l2,
|
|
8395
8390
|
BcfTopicViewpoints: O4,
|
|
8396
|
-
BIMDataButton:
|
|
8397
|
-
BIMDataIcon:
|
|
8398
|
-
BIMDataLoading:
|
|
8391
|
+
BIMDataButton: S,
|
|
8392
|
+
BIMDataIcon: T,
|
|
8393
|
+
BIMDataLoading: b1,
|
|
8399
8394
|
BIMDataSafeZoneModal: Oe,
|
|
8400
|
-
BIMDataTextbox:
|
|
8395
|
+
BIMDataTextbox: u1
|
|
8401
8396
|
},
|
|
8402
8397
|
props: {
|
|
8403
8398
|
uiConfig: {
|
|
@@ -8439,10 +8434,10 @@ const N4 = {
|
|
|
8439
8434
|
"view-topic-viewpoint"
|
|
8440
8435
|
],
|
|
8441
8436
|
setup(e, { emit: r }) {
|
|
8442
|
-
const t =
|
|
8437
|
+
const t = c1(), i = L(!1), n = L(!1), d = Z(() => t1(e.topic, e.detailedExtensions)), a = Z(() => {
|
|
8443
8438
|
var c, o, b;
|
|
8444
8439
|
return ((b = (o = (c = e.topic.viewpoints) == null ? void 0 : c[0]) == null ? void 0 : o.components) == null ? void 0 : b.selection) ?? [];
|
|
8445
|
-
}), s =
|
|
8440
|
+
}), s = Z(() => Array.from(e.topic.labels ?? []).sort()), u = L(""), p = async () => {
|
|
8446
8441
|
u.value = (await t.fetchCurrentUser()).email ?? "";
|
|
8447
8442
|
}, l = async () => {
|
|
8448
8443
|
try {
|
|
@@ -8453,7 +8448,7 @@ const N4 = {
|
|
|
8453
8448
|
i.value = !1;
|
|
8454
8449
|
}
|
|
8455
8450
|
};
|
|
8456
|
-
return
|
|
8451
|
+
return r2(() => p()), {
|
|
8457
8452
|
// References
|
|
8458
8453
|
currentUserEmail: u,
|
|
8459
8454
|
loading: i,
|
|
@@ -8462,12 +8457,12 @@ const N4 = {
|
|
|
8462
8457
|
topicLabels: s,
|
|
8463
8458
|
topicObjects: a,
|
|
8464
8459
|
// Methods
|
|
8465
|
-
adjustTextColor:
|
|
8460
|
+
adjustTextColor: v1,
|
|
8466
8461
|
deleteTopic: l
|
|
8467
8462
|
};
|
|
8468
8463
|
}
|
|
8469
8464
|
}, ve = {};
|
|
8470
|
-
var A4 = /* @__PURE__ */
|
|
8465
|
+
var A4 = /* @__PURE__ */ E(
|
|
8471
8466
|
N4,
|
|
8472
8467
|
z4,
|
|
8473
8468
|
P4,
|
|
@@ -8526,7 +8521,7 @@ var q4 = Object.freeze(["default", "primary", "secondary", "high", "success", "g
|
|
|
8526
8521
|
}, style() {
|
|
8527
8522
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
8528
8523
|
} } };
|
|
8529
|
-
function
|
|
8524
|
+
function o1(e, r, t, i, n, d, a, s, u, p) {
|
|
8530
8525
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
8531
8526
|
const l = typeof t == "function" ? t.options : t;
|
|
8532
8527
|
let c;
|
|
@@ -8549,7 +8544,7 @@ function n1(e, r, t, i, n, d, a, s, u, p) {
|
|
|
8549
8544
|
return t;
|
|
8550
8545
|
}
|
|
8551
8546
|
const W4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
8552
|
-
function
|
|
8547
|
+
function h1(e) {
|
|
8553
8548
|
return (r, t) => function(i, n) {
|
|
8554
8549
|
const d = W4 ? n.media || "default" : i, a = ge[d] || (ge[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
8555
8550
|
if (!a.ids.has(i)) {
|
|
@@ -8557,7 +8552,7 @@ function C1(e) {
|
|
|
8557
8552
|
let s = n.source;
|
|
8558
8553
|
if (n.map && (s += `
|
|
8559
8554
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
8560
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
8555
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), I1 === void 0 && (I1 = document.head || document.getElementsByTagName("head")[0]), I1.appendChild(a.element)), "styleSheet" in a.element)
|
|
8561
8556
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
8562
8557
|
`);
|
|
8563
8558
|
else {
|
|
@@ -8567,15 +8562,15 @@ function C1(e) {
|
|
|
8567
8562
|
}
|
|
8568
8563
|
}(r, t);
|
|
8569
8564
|
}
|
|
8570
|
-
let
|
|
8571
|
-
const ge = {}, X4 =
|
|
8565
|
+
let I1;
|
|
8566
|
+
const ge = {}, X4 = o1({ render: function() {
|
|
8572
8567
|
var e = this, r = e.$createElement;
|
|
8573
8568
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
8574
8569
|
return e.$emit("click", t);
|
|
8575
8570
|
} } }, [e._t("default")], 2);
|
|
8576
8571
|
}, staticRenderFns: [] }, function(e) {
|
|
8577
8572
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
8578
|
-
}, Y4, "data-v-7af18892", !1, void 0, !1,
|
|
8573
|
+
}, Y4, "data-v-7af18892", !1, void 0, !1, h1, void 0, void 0), K4 = o1({ render: function() {
|
|
8579
8574
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8580
8575
|
return t("div", e._b({ staticClass: "bimdata-checkbox", class: { indeterminate: e.indeterminate, disabled: e.disabled, checked: e.checked }, style: e.style, on: { click: e.onClick } }, "div", e.$attrs, !1), [t("span", { staticClass: "bimdata-checkbox__mark" }), e._v(" "), e.text ? t("span", { staticClass: "bimdata-checkbox__text" }, [e._t("default", function() {
|
|
8581
8576
|
return [e._v(e._s(e.text))];
|
|
@@ -8590,14 +8585,14 @@ const ge = {}, X4 = n1({ render: function() {
|
|
|
8590
8585
|
return { margin: `${this.margin}` };
|
|
8591
8586
|
} }, methods: { onClick() {
|
|
8592
8587
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
8593
|
-
} } }, "data-v-092b3c62", !1, void 0, !1,
|
|
8588
|
+
} } }, "data-v-092b3c62", !1, void 0, !1, h1, void 0, void 0), J4 = o1({ render: function() {
|
|
8594
8589
|
var e = this.$createElement;
|
|
8595
8590
|
return (this._self._c || e)("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" } });
|
|
8596
8591
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
8597
8592
|
var G4 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
8598
8593
|
const be = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
8599
8594
|
var me;
|
|
8600
|
-
const Q4 =
|
|
8595
|
+
const Q4 = o1({ render: function() {
|
|
8601
8596
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8602
8597
|
return t("div", { staticClass: "bimdata-table" }, [t("div", { staticClass: "bimdata-table__container", style: { height: e.paginated ? (e.perPage + 1) * e.rowHeight + "px" : void 0 } }, [t("table", { style: { width: e.tableWidth, tableLayout: e.tableLayout } }, [t("thead", [t("tr", { key: "head-row-0", style: { height: e.rowHeight + "px" } }, [e.selectable ? t("th", { staticClass: "cell-checkbox" }, [t("BIMDataCheckbox", { attrs: { disabled: e.rows.length === 0, modelValue: e.rows.length > 0 && e.rowSelection.size === e.rows.length }, on: { "update:modelValue": e.toggleAll } })], 1) : e._e(), e._v(" "), e._l(e.columns, function(i, n) {
|
|
8603
8598
|
return t("th", { key: "head-row-0-col-" + n, style: { width: i.width || "auto", textAlign: i.align || "left" } }, [e._v(`
|
|
@@ -8631,7 +8626,7 @@ const Q4 = n1({ render: function() {
|
|
|
8631
8626
|
} } }, [t("BIMDataIconChevron", { attrs: { size: "s" } })], 1)], 1) : e._e()]);
|
|
8632
8627
|
}, staticRenderFns: [] }, function(e) {
|
|
8633
8628
|
e && e("data-v-1895cc66_0", { source: 'html[data-v-1895cc66]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-table[data-v-1895cc66]{width:100%;font-size:.9rem;background-color:var(--color-white)}.bimdata-table__container[data-v-1895cc66]{height:100%}.bimdata-table__container table[data-v-1895cc66]{border-collapse:collapse;border-spacing:0}.bimdata-table__container table tbody tr[data-v-1895cc66]:nth-child(odd){background-color:var(--color-silver-light)}.bimdata-table__container table td[data-v-1895cc66],.bimdata-table__container table th[data-v-1895cc66]{min-height:calc(var(--spacing-unit) * 2);padding:0 var(--spacing-unit)}.bimdata-table__container table td.cell-checkbox[data-v-1895cc66]:deep(),.bimdata-table__container table th.cell-checkbox[data-v-1895cc66]:deep(){width:42px}.bimdata-table__container table th[data-v-1895cc66]{font-weight:700;color:var(--color-primary)}.bimdata-table__container table th.cell-sub-header[data-v-1895cc66]{min-height:0;padding:0;text-align:left;font-weight:400;color:var(--color-granite-lightest)}.bimdata-table__container table td[data-v-1895cc66]{color:var(--color-granite-light)}.bimdata-table__container__placeholder[data-v-1895cc66]{display:flex;justify-content:center;align-items:center;padding:var(--spacing-unit);font-size:1rem;font-weight:700}.bimdata-table__page-nav[data-v-1895cc66]{display:flex;justify-content:flex-end;align-items:center;padding:var(--spacing-unit)}.bimdata-table__page-nav__text[data-v-1895cc66]{margin:0 var(--spacing-unit)}', map: void 0, media: void 0 });
|
|
8634
|
-
}, { components: { BIMDataButton: X4, BIMDataCheckbox: K4, BIMDataIconChevron:
|
|
8629
|
+
}, { components: { BIMDataButton: X4, BIMDataCheckbox: K4, BIMDataIconChevron: o1({ render: function() {
|
|
8635
8630
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8636
8631
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
8637
8632
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -8643,26 +8638,26 @@ const Q4 = n1({ render: function() {
|
|
|
8643
8638
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
8644
8639
|
} }, methods: { getPixelSize() {
|
|
8645
8640
|
return this.customSize ? this.customSize : be[this.size];
|
|
8646
|
-
} } }, "data-v-20c38c94", !1, void 0, !1,
|
|
8647
|
-
const t =
|
|
8641
|
+
} } }, "data-v-20c38c94", !1, void 0, !1, h1, void 0, void 0) }, props: { columns: { type: Array, required: !0 }, rows: { type: Array, required: !0 }, rowKey: { type: String }, rowHeight: { type: Number, default: 50 }, selectable: { type: Boolean, default: !1 }, selection: { type: Map, default: () => /* @__PURE__ */ new Map() }, paginated: { type: Boolean, default: !1 }, perPage: { type: Number, default: 10 }, placeholder: { type: String, default: "" }, tableWidth: { type: String, default: "100%" }, tableLayout: { type: String, default: "auto" }, canDragOverRow: { type: Function, default: () => !1 } }, emits: ["update:selection", "selection-changed", "row-selected", "row-deselected", "all-selected", "all-deselected", "row-drop"], setup(e, { emit: r }) {
|
|
8642
|
+
const t = Z(() => e.rows.map((c, o) => ({ key: c[e.rowKey] ?? o, data: c }))), { rowSelection: i, toggleRowSelection: n, toggleFullSelection: d } = function(c, o, { rowSelectionUpdateEffect: b = () => {
|
|
8648
8643
|
}, rowSelectionToggleEffect: g = () => {
|
|
8649
8644
|
}, fullSelectionToggleEffect: H = () => {
|
|
8650
8645
|
} } = {}) {
|
|
8651
8646
|
const M = L(/* @__PURE__ */ new Map());
|
|
8652
8647
|
return A(c, () => {
|
|
8653
|
-
M.value = new Map(c.value.filter(({ key: V }) => o.value.has(V)).map(({ key: V, data:
|
|
8648
|
+
M.value = new Map(c.value.filter(({ key: V }) => o.value.has(V)).map(({ key: V, data: D }) => [V, D]));
|
|
8654
8649
|
}, { immediate: !0 }), A(o, () => {
|
|
8655
8650
|
M.value = o.value;
|
|
8656
8651
|
}, { immediate: !0 }), A(M, () => {
|
|
8657
8652
|
b(M.value);
|
|
8658
|
-
}), { rowSelection: M, toggleRowSelection: ({ key: V, data:
|
|
8653
|
+
}), { rowSelection: M, toggleRowSelection: ({ key: V, data: D }) => {
|
|
8659
8654
|
const $ = () => M.value.has(V);
|
|
8660
|
-
$() ? M.value.delete(V) : M.value.set(V,
|
|
8655
|
+
$() ? M.value.delete(V) : M.value.set(V, D), M.value = new Map([...M.value.entries()]), g($(), { key: V, data: D });
|
|
8661
8656
|
}, toggleFullSelection: () => {
|
|
8662
8657
|
const V = () => M.value.size === c.value.length;
|
|
8663
|
-
V() ? M.value = /* @__PURE__ */ new Map() : M.value = new Map(c.value.map(({ key:
|
|
8658
|
+
V() ? M.value = /* @__PURE__ */ new Map() : M.value = new Map(c.value.map(({ key: D, data: $ }) => [D, $])), H(V());
|
|
8664
8659
|
} };
|
|
8665
|
-
}(t,
|
|
8660
|
+
}(t, Z(() => e.selection), { rowSelectionUpdateEffect: (c) => {
|
|
8666
8661
|
r("update:selection", c), r("selection-changed", Array.from(c.values()));
|
|
8667
8662
|
}, rowSelectionToggleEffect: (c, { data: o }) => {
|
|
8668
8663
|
r(c ? "row-selected" : "row-deselected", o);
|
|
@@ -8691,7 +8686,7 @@ const Q4 = n1({ render: function() {
|
|
|
8691
8686
|
}, toggleRow: (c) => {
|
|
8692
8687
|
e.selectable && n(c);
|
|
8693
8688
|
} };
|
|
8694
|
-
} }, "data-v-1895cc66", !1, void 0, !1,
|
|
8689
|
+
} }, "data-v-1895cc66", !1, void 0, !1, h1, void 0, void 0);
|
|
8695
8690
|
var e0 = function() {
|
|
8696
8691
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8697
8692
|
return t("div", {
|
|
@@ -8717,7 +8712,7 @@ var e0 = function() {
|
|
|
8717
8712
|
}, t0 = [];
|
|
8718
8713
|
const r0 = {
|
|
8719
8714
|
components: {
|
|
8720
|
-
BIMDataButton:
|
|
8715
|
+
BIMDataButton: S
|
|
8721
8716
|
},
|
|
8722
8717
|
props: {
|
|
8723
8718
|
topic: {
|
|
@@ -8729,7 +8724,7 @@ const r0 = {
|
|
|
8729
8724
|
"open-topic"
|
|
8730
8725
|
]
|
|
8731
8726
|
}, _e = {};
|
|
8732
|
-
var i0 = /* @__PURE__ */
|
|
8727
|
+
var i0 = /* @__PURE__ */ E(
|
|
8733
8728
|
r0,
|
|
8734
8729
|
e0,
|
|
8735
8730
|
t0,
|
|
@@ -8773,13 +8768,13 @@ const d0 = {
|
|
|
8773
8768
|
setup(e) {
|
|
8774
8769
|
return {
|
|
8775
8770
|
// References
|
|
8776
|
-
priorityColor:
|
|
8777
|
-
() =>
|
|
8771
|
+
priorityColor: Z(
|
|
8772
|
+
() => t1(e.topic, e.detailedExtensions)
|
|
8778
8773
|
)
|
|
8779
8774
|
};
|
|
8780
8775
|
}
|
|
8781
8776
|
}, Le = {};
|
|
8782
|
-
var s0 = /* @__PURE__ */
|
|
8777
|
+
var s0 = /* @__PURE__ */ E(
|
|
8783
8778
|
d0,
|
|
8784
8779
|
o0,
|
|
8785
8780
|
l0,
|
|
@@ -8819,13 +8814,13 @@ const h0 = {
|
|
|
8819
8814
|
setup(e) {
|
|
8820
8815
|
return {
|
|
8821
8816
|
// References
|
|
8822
|
-
priorityColor:
|
|
8823
|
-
() =>
|
|
8817
|
+
priorityColor: Z(
|
|
8818
|
+
() => t1(e.topic, e.detailedExtensions)
|
|
8824
8819
|
)
|
|
8825
8820
|
};
|
|
8826
8821
|
}
|
|
8827
8822
|
}, He = {};
|
|
8828
|
-
var v0 = /* @__PURE__ */
|
|
8823
|
+
var v0 = /* @__PURE__ */ E(
|
|
8829
8824
|
h0,
|
|
8830
8825
|
f0,
|
|
8831
8826
|
C0,
|
|
@@ -8866,15 +8861,15 @@ const _0 = {
|
|
|
8866
8861
|
setup(e) {
|
|
8867
8862
|
return {
|
|
8868
8863
|
// References
|
|
8869
|
-
statusColor:
|
|
8870
|
-
() =>
|
|
8864
|
+
statusColor: Z(
|
|
8865
|
+
() => n2(e.topic, e.detailedExtensions)
|
|
8871
8866
|
),
|
|
8872
8867
|
// Methods
|
|
8873
|
-
adjustTextColor:
|
|
8868
|
+
adjustTextColor: v1
|
|
8874
8869
|
};
|
|
8875
8870
|
}
|
|
8876
8871
|
}, ye = {};
|
|
8877
|
-
var L0 = /* @__PURE__ */
|
|
8872
|
+
var L0 = /* @__PURE__ */ E(
|
|
8878
8873
|
_0,
|
|
8879
8874
|
b0,
|
|
8880
8875
|
m0,
|
|
@@ -9009,7 +9004,7 @@ const x0 = {
|
|
|
9009
9004
|
BcfTopicPriorityCell: g0,
|
|
9010
9005
|
BcfTopicStatusCell: y0,
|
|
9011
9006
|
BIMDataTable: Q4,
|
|
9012
|
-
BIMDataTextbox:
|
|
9007
|
+
BIMDataTextbox: u1,
|
|
9013
9008
|
BIMDataTooltip: ze,
|
|
9014
9009
|
UserAvatar: Ne
|
|
9015
9010
|
},
|
|
@@ -9049,7 +9044,7 @@ const x0 = {
|
|
|
9049
9044
|
setup(e) {
|
|
9050
9045
|
return {
|
|
9051
9046
|
// References
|
|
9052
|
-
displayedColumns:
|
|
9047
|
+
displayedColumns: Z(
|
|
9053
9048
|
() => e.columns && e.columns.length > 0 ? pe.filter((i) => e.columns.includes(i.id)) : pe
|
|
9054
9049
|
),
|
|
9055
9050
|
// Methods
|
|
@@ -9062,7 +9057,7 @@ const x0 = {
|
|
|
9062
9057
|
};
|
|
9063
9058
|
}
|
|
9064
9059
|
}, Ve = {};
|
|
9065
|
-
var Z0 = /* @__PURE__ */
|
|
9060
|
+
var Z0 = /* @__PURE__ */ E(
|
|
9066
9061
|
x0,
|
|
9067
9062
|
V0,
|
|
9068
9063
|
M0,
|
|
@@ -9100,8 +9095,8 @@ export {
|
|
|
9100
9095
|
T0 as components,
|
|
9101
9096
|
F0 as config,
|
|
9102
9097
|
D0 as createService,
|
|
9103
|
-
|
|
9104
|
-
|
|
9098
|
+
t1 as getPriorityColor,
|
|
9099
|
+
n2 as getStatusColor,
|
|
9105
9100
|
v5 as getViewpointConfig,
|
|
9106
9101
|
I0 as getViewpointModels,
|
|
9107
9102
|
h5 as getViewpointType,
|
|
@@ -9109,5 +9104,5 @@ export {
|
|
|
9109
9104
|
f5 as useBcfFilter,
|
|
9110
9105
|
B0 as useBcfSearch,
|
|
9111
9106
|
R0 as useBcfSort,
|
|
9112
|
-
|
|
9107
|
+
c1 as useService
|
|
9113
9108
|
};
|