@bimdata/bcf-components 3.0.0-rc.8 → 3.0.0
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 +374 -379
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +561 -566
- package/dist/vue3/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as I5, computed as
|
|
2
|
+
import { reactive as I5, computed as A, ref as V, watch as K1, openBlock as r, createElementBlock as t, normalizeClass as D, normalizeStyle as y, renderSlot as S, createElementVNode as o, createBlock as B, resolveDynamicComponent as v1, pushScopeId as e1, popScopeId as o1, mergeProps as H2, toDisplayString as b, createCommentVNode as M, createTextVNode as w, resolveComponent as h, createVNode as u, resolveDirective as q1, withDirectives as X, Transition as m1, withCtx as L, Fragment as N, renderList as U, vShow as q, toRaw as F2, withKeys as V2, withModifiers as B2, createSlots as M5, createStaticVNode as r5, inject as _5 } from "vue";
|
|
3
3
|
const t5 = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -21,31 +21,31 @@ const t5 = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}),
|
|
24
|
+
}), D2 = "D8D8D8", c5 = "D8D8D8", x2 = "originating_system", k2 = "authoring_tool_id", C1 = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
V2D: "ifc2d",
|
|
27
27
|
DWG: "dwg",
|
|
28
28
|
PLAN: "plan"
|
|
29
|
-
}),
|
|
30
|
-
[
|
|
29
|
+
}), w2 = Object.freeze({
|
|
30
|
+
[C1.V3D]: {
|
|
31
31
|
order: 1,
|
|
32
32
|
window: "3d",
|
|
33
33
|
plugin: "viewer3d",
|
|
34
34
|
icon: "fileIfcPolychrome"
|
|
35
35
|
},
|
|
36
|
-
[
|
|
36
|
+
[C1.V2D]: {
|
|
37
37
|
order: 2,
|
|
38
38
|
window: "2d",
|
|
39
39
|
plugin: "viewer2d",
|
|
40
40
|
icon: "fileIfcPolychrome"
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[C1.DWG]: {
|
|
43
43
|
order: 3,
|
|
44
44
|
window: "dwg",
|
|
45
45
|
plugin: "dwg",
|
|
46
46
|
icon: "fileDwgPolychrome"
|
|
47
47
|
},
|
|
48
|
-
[
|
|
48
|
+
[C1.PLAN]: {
|
|
49
49
|
order: 4,
|
|
50
50
|
window: "plan",
|
|
51
51
|
plugin: "plan",
|
|
@@ -53,16 +53,16 @@ const t5 = Object.freeze([
|
|
|
53
53
|
}
|
|
54
54
|
}), Eb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
55
55
|
__proto__: null,
|
|
56
|
-
DEFAULT_PRIORITY_COLOR:
|
|
56
|
+
DEFAULT_PRIORITY_COLOR: D2,
|
|
57
57
|
DEFAULT_STATUS_COLOR: c5,
|
|
58
58
|
EXTENSION_FIELDS: l5,
|
|
59
59
|
EXTENSION_LIST_FIELDS: i5,
|
|
60
60
|
EXTENSION_TYPES: t5,
|
|
61
61
|
EXTENSION_WITH_COLOR: a5,
|
|
62
|
-
VIEWPOINT_CONFIG:
|
|
63
|
-
VIEWPOINT_MODELS_FIELD:
|
|
64
|
-
VIEWPOINT_TYPES:
|
|
65
|
-
VIEWPOINT_TYPE_FIELD:
|
|
62
|
+
VIEWPOINT_CONFIG: w2,
|
|
63
|
+
VIEWPOINT_MODELS_FIELD: k2,
|
|
64
|
+
VIEWPOINT_TYPES: C1,
|
|
65
|
+
VIEWPOINT_TYPE_FIELD: x2
|
|
66
66
|
}, Symbol.toStringTag, { value: "Module" })), y5 = Object.freeze({
|
|
67
67
|
bisque: "ffe4c4",
|
|
68
68
|
orange: "ffa500",
|
|
@@ -108,7 +108,7 @@ function V5() {
|
|
|
108
108
|
const n = Math.floor(Math.random() * P2.length);
|
|
109
109
|
return P2[n][1];
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Q1(n, e, a) {
|
|
112
112
|
const l = n.charAt(0) === "#" ? n.substring(1, 7) : n, i = parseInt(l.substring(0, 2), 16), s = parseInt(l.substring(2, 4), 16), c = parseInt(l.substring(4, 6), 16);
|
|
113
113
|
return i * 0.299 + s * 0.587 + c * 0.114 > 186 ? a : e;
|
|
114
114
|
}
|
|
@@ -121,7 +121,7 @@ function B5(n, e) {
|
|
|
121
121
|
function D5(n) {
|
|
122
122
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
123
123
|
}
|
|
124
|
-
var
|
|
124
|
+
var u2 = { exports: {} }, C2 = { exports: {} }, p2 = { exports: {} };
|
|
125
125
|
(function(n, e) {
|
|
126
126
|
Object.defineProperty(e, "__esModule", {
|
|
127
127
|
value: !0
|
|
@@ -136,8 +136,8 @@ var C2 = { exports: {} }, p2 = { exports: {} }, b2 = { exports: {} };
|
|
|
136
136
|
return Object.assign(i, l), i;
|
|
137
137
|
}
|
|
138
138
|
n.exports = e.default;
|
|
139
|
-
})(
|
|
140
|
-
var
|
|
139
|
+
})(p2, p2.exports);
|
|
140
|
+
var b2 = { exports: {} }, g2 = { exports: {} };
|
|
141
141
|
(function(n, e) {
|
|
142
142
|
Object.defineProperty(e, "__esModule", {
|
|
143
143
|
value: !0
|
|
@@ -146,20 +146,20 @@ var g2 = { exports: {} }, h2 = { exports: {} };
|
|
|
146
146
|
return l && typeof l.length == "number" && l.length >= 0 && l.length % 1 === 0;
|
|
147
147
|
}
|
|
148
148
|
n.exports = e.default;
|
|
149
|
-
})(
|
|
150
|
-
var
|
|
149
|
+
})(g2, g2.exports);
|
|
150
|
+
var h2 = { exports: {} };
|
|
151
151
|
(function(n, e) {
|
|
152
152
|
Object.defineProperty(e, "__esModule", {
|
|
153
153
|
value: !0
|
|
154
154
|
}), e.default = function(a) {
|
|
155
155
|
return a[Symbol.iterator] && a[Symbol.iterator]();
|
|
156
156
|
}, n.exports = e.default;
|
|
157
|
-
})(
|
|
157
|
+
})(h2, h2.exports);
|
|
158
158
|
(function(n, e) {
|
|
159
159
|
Object.defineProperty(e, "__esModule", {
|
|
160
160
|
value: !0
|
|
161
161
|
}), e.default = f;
|
|
162
|
-
var a =
|
|
162
|
+
var a = g2.exports, l = c(a), i = h2.exports, s = c(i);
|
|
163
163
|
function c(g) {
|
|
164
164
|
return g && g.__esModule ? g : { default: g };
|
|
165
165
|
}
|
|
@@ -190,8 +190,8 @@ var f2 = { exports: {} };
|
|
|
190
190
|
return m ? C(m) : p(g);
|
|
191
191
|
}
|
|
192
192
|
n.exports = e.default;
|
|
193
|
-
})(
|
|
194
|
-
var
|
|
193
|
+
})(b2, b2.exports);
|
|
194
|
+
var f2 = { exports: {} };
|
|
195
195
|
(function(n, e) {
|
|
196
196
|
Object.defineProperty(e, "__esModule", {
|
|
197
197
|
value: !0
|
|
@@ -205,8 +205,8 @@ var L2 = { exports: {} };
|
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
n.exports = e.default;
|
|
208
|
-
})(
|
|
209
|
-
var
|
|
208
|
+
})(f2, f2.exports);
|
|
209
|
+
var Q = {}, H1 = { exports: {} }, L2 = { exports: {} };
|
|
210
210
|
(function(n, e) {
|
|
211
211
|
Object.defineProperty(e, "__esModule", {
|
|
212
212
|
value: !0
|
|
@@ -216,7 +216,7 @@ var J = {}, V1 = { exports: {} }, v2 = { exports: {} };
|
|
|
216
216
|
return a.call(this, l, i);
|
|
217
217
|
};
|
|
218
218
|
}, n.exports = e.default;
|
|
219
|
-
})(
|
|
219
|
+
})(L2, L2.exports);
|
|
220
220
|
var r1 = {};
|
|
221
221
|
Object.defineProperty(r1, "__esModule", {
|
|
222
222
|
value: !0
|
|
@@ -230,16 +230,16 @@ function s5(n) {
|
|
|
230
230
|
function d5(n) {
|
|
231
231
|
return (e, ...a) => n(() => e(...a));
|
|
232
232
|
}
|
|
233
|
-
var
|
|
234
|
-
x5 ?
|
|
235
|
-
r1.default = d5(
|
|
233
|
+
var p1;
|
|
234
|
+
x5 ? p1 = queueMicrotask : k5 ? p1 = setImmediate : w5 ? p1 = process.nextTick : p1 = s5;
|
|
235
|
+
r1.default = d5(p1);
|
|
236
236
|
var z2;
|
|
237
237
|
function Z5() {
|
|
238
238
|
return z2 || (z2 = 1, function(n, e) {
|
|
239
239
|
Object.defineProperty(e, "__esModule", {
|
|
240
240
|
value: !0
|
|
241
241
|
}), e.default = C;
|
|
242
|
-
var a =
|
|
242
|
+
var a = L2.exports, l = d(a), i = r1, s = d(i), c = Z2();
|
|
243
243
|
function d(g) {
|
|
244
244
|
return g && g.__esModule ? g : { default: g };
|
|
245
245
|
}
|
|
@@ -276,15 +276,15 @@ function Z5() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
n.exports = e.default;
|
|
279
|
-
}(
|
|
279
|
+
}(H1, H1.exports)), H1.exports;
|
|
280
280
|
}
|
|
281
281
|
var U2;
|
|
282
|
-
function
|
|
282
|
+
function Z2() {
|
|
283
283
|
if (U2)
|
|
284
|
-
return
|
|
285
|
-
U2 = 1, Object.defineProperty(
|
|
284
|
+
return Q;
|
|
285
|
+
U2 = 1, Object.defineProperty(Q, "__esModule", {
|
|
286
286
|
value: !0
|
|
287
|
-
}),
|
|
287
|
+
}), Q.isAsyncIterable = Q.isAsyncGenerator = Q.isAsync = void 0;
|
|
288
288
|
var n = Z5(), e = a(n);
|
|
289
289
|
function a(d) {
|
|
290
290
|
return d && d.__esModule ? d : { default: d };
|
|
@@ -303,102 +303,102 @@ function S2() {
|
|
|
303
303
|
throw new Error("expected a function");
|
|
304
304
|
return l(d) ? (0, e.default)(d) : d;
|
|
305
305
|
}
|
|
306
|
-
return
|
|
306
|
+
return Q.default = c, Q.isAsync = l, Q.isAsyncGenerator = i, Q.isAsyncIterable = s, Q;
|
|
307
307
|
}
|
|
308
|
-
var
|
|
308
|
+
var v2 = { exports: {} }, Y1 = { exports: {} };
|
|
309
309
|
(function(n, e) {
|
|
310
310
|
Object.defineProperty(e, "__esModule", {
|
|
311
311
|
value: !0
|
|
312
312
|
});
|
|
313
313
|
const a = {};
|
|
314
314
|
e.default = a, n.exports = e.default;
|
|
315
|
-
})(
|
|
315
|
+
})(Y1, Y1.exports);
|
|
316
316
|
(function(n, e) {
|
|
317
317
|
Object.defineProperty(e, "__esModule", {
|
|
318
318
|
value: !0
|
|
319
319
|
}), e.default = s;
|
|
320
|
-
var a =
|
|
320
|
+
var a = Y1.exports, l = i(a);
|
|
321
321
|
function i(c) {
|
|
322
322
|
return c && c.__esModule ? c : { default: c };
|
|
323
323
|
}
|
|
324
324
|
function s(c, d, C, p) {
|
|
325
325
|
let f = !1, g = !1, m = !1, v = 0, I = 0;
|
|
326
326
|
function x() {
|
|
327
|
-
v >= d || m || f || (m = !0, c.next().then(({ value:
|
|
327
|
+
v >= d || m || f || (m = !0, c.next().then(({ value: W, done: _ }) => {
|
|
328
328
|
if (!(g || f)) {
|
|
329
|
-
if (m = !1,
|
|
329
|
+
if (m = !1, _) {
|
|
330
330
|
f = !0, v <= 0 && p(null);
|
|
331
331
|
return;
|
|
332
332
|
}
|
|
333
|
-
v++, C(
|
|
333
|
+
v++, C(W, I, O), I++, x();
|
|
334
334
|
}
|
|
335
|
-
}).catch(
|
|
335
|
+
}).catch(H));
|
|
336
336
|
}
|
|
337
|
-
function O(
|
|
337
|
+
function O(W, _) {
|
|
338
338
|
if (v -= 1, !g) {
|
|
339
|
-
if (
|
|
340
|
-
return
|
|
341
|
-
if (
|
|
339
|
+
if (W)
|
|
340
|
+
return H(W);
|
|
341
|
+
if (W === !1) {
|
|
342
342
|
f = !0, g = !0;
|
|
343
343
|
return;
|
|
344
344
|
}
|
|
345
|
-
if (
|
|
345
|
+
if (_ === l.default || f && v <= 0)
|
|
346
346
|
return f = !0, p(null);
|
|
347
347
|
x();
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
g || (m = !1, f = !0, p(
|
|
350
|
+
function H(W) {
|
|
351
|
+
g || (m = !1, f = !0, p(W));
|
|
352
352
|
}
|
|
353
353
|
x();
|
|
354
354
|
}
|
|
355
355
|
n.exports = e.default;
|
|
356
|
-
})(
|
|
356
|
+
})(v2, v2.exports);
|
|
357
357
|
(function(n, e) {
|
|
358
358
|
Object.defineProperty(e, "__esModule", {
|
|
359
359
|
value: !0
|
|
360
360
|
});
|
|
361
|
-
var a =
|
|
361
|
+
var a = p2.exports, l = v(a), i = b2.exports, s = v(i), c = f2.exports, d = v(c), C = Z2(), p = v2.exports, f = v(p), g = Y1.exports, m = v(g);
|
|
362
362
|
function v(I) {
|
|
363
363
|
return I && I.__esModule ? I : { default: I };
|
|
364
364
|
}
|
|
365
|
-
e.default = (I) => (x, O,
|
|
366
|
-
if (
|
|
365
|
+
e.default = (I) => (x, O, H) => {
|
|
366
|
+
if (H = (0, l.default)(H), I <= 0)
|
|
367
367
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
368
368
|
if (!x)
|
|
369
|
-
return
|
|
369
|
+
return H(null);
|
|
370
370
|
if ((0, C.isAsyncGenerator)(x))
|
|
371
|
-
return (0, f.default)(x, I, O,
|
|
371
|
+
return (0, f.default)(x, I, O, H);
|
|
372
372
|
if ((0, C.isAsyncIterable)(x))
|
|
373
|
-
return (0, f.default)(x[Symbol.asyncIterator](), I, O,
|
|
374
|
-
var
|
|
375
|
-
function
|
|
376
|
-
if (!
|
|
377
|
-
if (
|
|
378
|
-
|
|
379
|
-
else if (
|
|
380
|
-
|
|
373
|
+
return (0, f.default)(x[Symbol.asyncIterator](), I, O, H);
|
|
374
|
+
var W = (0, s.default)(x), _ = !1, k = !1, Z = 0, $ = !1;
|
|
375
|
+
function F(J, $2) {
|
|
376
|
+
if (!k)
|
|
377
|
+
if (Z -= 1, J)
|
|
378
|
+
_ = !0, H(J);
|
|
379
|
+
else if (J === !1)
|
|
380
|
+
_ = !0, k = !0;
|
|
381
381
|
else {
|
|
382
|
-
if (
|
|
383
|
-
return
|
|
384
|
-
|
|
382
|
+
if ($2 === m.default || _ && Z <= 0)
|
|
383
|
+
return _ = !0, H(null);
|
|
384
|
+
$ || K();
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
for (
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
391
|
-
|
|
387
|
+
function K() {
|
|
388
|
+
for ($ = !0; Z < I && !_; ) {
|
|
389
|
+
var J = W();
|
|
390
|
+
if (J === null) {
|
|
391
|
+
_ = !0, Z <= 0 && H(null);
|
|
392
392
|
return;
|
|
393
393
|
}
|
|
394
|
-
|
|
394
|
+
Z += 1, O(J.value, J.key, (0, d.default)(F));
|
|
395
395
|
}
|
|
396
|
-
|
|
396
|
+
$ = !1;
|
|
397
397
|
}
|
|
398
|
-
|
|
398
|
+
K();
|
|
399
399
|
}, n.exports = e.default;
|
|
400
|
-
})(
|
|
401
|
-
var
|
|
400
|
+
})(C2, C2.exports);
|
|
401
|
+
var m2 = { exports: {} };
|
|
402
402
|
(function(n, e) {
|
|
403
403
|
Object.defineProperty(e, "__esModule", {
|
|
404
404
|
value: !0
|
|
@@ -407,8 +407,8 @@ var I2 = { exports: {} };
|
|
|
407
407
|
return (i, s, c) => l(i, c);
|
|
408
408
|
}
|
|
409
409
|
n.exports = e.default;
|
|
410
|
-
})(
|
|
411
|
-
var
|
|
410
|
+
})(m2, m2.exports);
|
|
411
|
+
var I2 = { exports: {} };
|
|
412
412
|
(function(n, e) {
|
|
413
413
|
Object.defineProperty(e, "__esModule", {
|
|
414
414
|
value: !0
|
|
@@ -428,12 +428,12 @@ var M2 = { exports: {} };
|
|
|
428
428
|
return s;
|
|
429
429
|
}
|
|
430
430
|
n.exports = e.default;
|
|
431
|
-
})(
|
|
431
|
+
})(I2, I2.exports);
|
|
432
432
|
(function(n, e) {
|
|
433
433
|
Object.defineProperty(e, "__esModule", {
|
|
434
434
|
value: !0
|
|
435
435
|
});
|
|
436
|
-
var a =
|
|
436
|
+
var a = C2.exports, l = f(a), i = m2.exports, s = f(i), c = Z2(), d = f(c), C = I2.exports, p = f(C);
|
|
437
437
|
function f(m) {
|
|
438
438
|
return m && m.__esModule ? m : { default: m };
|
|
439
439
|
}
|
|
@@ -441,21 +441,21 @@ var M2 = { exports: {} };
|
|
|
441
441
|
return (0, l.default)(v)(m, (0, s.default)((0, d.default)(I)), x);
|
|
442
442
|
}
|
|
443
443
|
e.default = (0, p.default)(g, 4), n.exports = e.default;
|
|
444
|
-
})(
|
|
445
|
-
const S5 = /* @__PURE__ */ D5(
|
|
446
|
-
function
|
|
444
|
+
})(u2, u2.exports);
|
|
445
|
+
const S5 = /* @__PURE__ */ D5(u2.exports);
|
|
446
|
+
function c1(n) {
|
|
447
447
|
return l5[n];
|
|
448
448
|
}
|
|
449
449
|
function u5(n, e) {
|
|
450
450
|
return e[i5[n]];
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function d1(n, e) {
|
|
453
453
|
const a = e.priorities.find(
|
|
454
454
|
(l) => l.priority === n.priority
|
|
455
455
|
);
|
|
456
|
-
return (a == null ? void 0 : a.color) ||
|
|
456
|
+
return (a == null ? void 0 : a.color) || D2;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function S2(n, e) {
|
|
459
459
|
const a = e.topic_statuses.find(
|
|
460
460
|
(l) => l.topic_status === n.topic_status
|
|
461
461
|
);
|
|
@@ -463,96 +463,96 @@ function A2(n, e) {
|
|
|
463
463
|
}
|
|
464
464
|
let C5 = null;
|
|
465
465
|
function Fb(n, { fetchUsers: e }) {
|
|
466
|
-
const
|
|
466
|
+
const a = e ? (_) => e(_) : (_) => n.collaborationApi.getProjectUsers(_.cloud.id, _.id);
|
|
467
467
|
return {
|
|
468
|
-
fetchTopics: async (
|
|
469
|
-
const k = await
|
|
470
|
-
return
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
468
|
+
fetchTopics: async (_) => {
|
|
469
|
+
const k = await a(_), Z = await n.bcfApi.getDetailedExtensions(_.id), $ = await n.bcfApi.getTopics(_.id);
|
|
470
|
+
return $.sort((F, K) => K.index - F.index), await S5($, 10, async (F) => {
|
|
471
|
+
F.color = d1(F, Z), F.creator = k.find((K) => K.email === F.creation_author), F.viewpoints = await n.bcfApi.getTopicViewpoints(
|
|
472
|
+
_.id,
|
|
473
|
+
F.guid,
|
|
474
474
|
"url"
|
|
475
475
|
);
|
|
476
|
-
}),
|
|
476
|
+
}), $;
|
|
477
477
|
},
|
|
478
|
-
fecthTopicByGuid: async (
|
|
479
|
-
const
|
|
480
|
-
return
|
|
478
|
+
fecthTopicByGuid: async (_, k) => {
|
|
479
|
+
const Z = await n.bcfApi.getDetailedExtensions(_.id), $ = await n.bcfApi.getFullTopic(k, _.id, "url");
|
|
480
|
+
return $.color = d1($, Z), $;
|
|
481
481
|
},
|
|
482
|
-
createTopic: async (
|
|
483
|
-
|
|
482
|
+
createTopic: async (_, k) => await n.bcfApi.createFullTopic(
|
|
483
|
+
_.id,
|
|
484
484
|
k
|
|
485
485
|
),
|
|
486
|
-
updateTopic: async (
|
|
486
|
+
updateTopic: async (_, k) => await n.bcfApi.updateFullTopic(
|
|
487
487
|
k.guid,
|
|
488
|
-
|
|
488
|
+
_.id,
|
|
489
489
|
"url",
|
|
490
490
|
k
|
|
491
491
|
),
|
|
492
|
-
deleteTopic: async (
|
|
493
|
-
await
|
|
492
|
+
deleteTopic: async (_, k) => {
|
|
493
|
+
await n.bcfApi.deleteTopic(
|
|
494
494
|
k.guid,
|
|
495
|
-
|
|
495
|
+
_.id
|
|
496
496
|
);
|
|
497
497
|
},
|
|
498
|
-
createViewpoint: async (
|
|
499
|
-
|
|
498
|
+
createViewpoint: async (_, k, Z) => await n.bcfApi.createViewpoint(
|
|
499
|
+
_.id,
|
|
500
500
|
k.guid,
|
|
501
501
|
"url",
|
|
502
|
-
|
|
502
|
+
Z
|
|
503
503
|
),
|
|
504
|
-
deleteViewpoint: async (
|
|
505
|
-
await
|
|
506
|
-
|
|
507
|
-
|
|
504
|
+
deleteViewpoint: async (_, k, Z) => {
|
|
505
|
+
await n.bcfApi.deleteViewpoint(
|
|
506
|
+
Z.guid,
|
|
507
|
+
_.id,
|
|
508
508
|
k.guid
|
|
509
509
|
);
|
|
510
510
|
},
|
|
511
|
-
fetchTopicComments: async (
|
|
512
|
-
const
|
|
513
|
-
return
|
|
514
|
-
|
|
515
|
-
}),
|
|
511
|
+
fetchTopicComments: async (_, k) => {
|
|
512
|
+
const Z = await a(_), $ = await n.bcfApi.getComments(_.id, k.guid);
|
|
513
|
+
return $.sort((F, K) => F.date > K.date ? -1 : 1), $.forEach((F) => {
|
|
514
|
+
F.user = Z.find((K) => K.email === F.author);
|
|
515
|
+
}), $;
|
|
516
516
|
},
|
|
517
|
-
createComment: async (
|
|
518
|
-
|
|
517
|
+
createComment: async (_, k, Z) => await n.bcfApi.createComment(
|
|
518
|
+
_.id,
|
|
519
519
|
k.guid,
|
|
520
|
-
|
|
520
|
+
Z
|
|
521
521
|
),
|
|
522
|
-
updateComment: async (
|
|
523
|
-
|
|
524
|
-
|
|
522
|
+
updateComment: async (_, k, Z, $) => await n.bcfApi.updateComment(
|
|
523
|
+
Z.guid,
|
|
524
|
+
_.id,
|
|
525
525
|
k.guid,
|
|
526
|
-
|
|
526
|
+
$
|
|
527
527
|
),
|
|
528
|
-
deleteComment: async (
|
|
529
|
-
await
|
|
530
|
-
|
|
531
|
-
|
|
528
|
+
deleteComment: async (_, k, Z) => {
|
|
529
|
+
await n.bcfApi.deleteComment(
|
|
530
|
+
Z.guid,
|
|
531
|
+
_.id,
|
|
532
532
|
k.guid
|
|
533
533
|
);
|
|
534
534
|
},
|
|
535
|
-
fetchExtensions: (
|
|
536
|
-
fetchDetailedExtensions: (
|
|
537
|
-
createExtension: async (
|
|
538
|
-
|
|
535
|
+
fetchExtensions: (_) => n.bcfApi.getExtensions(_.id),
|
|
536
|
+
fetchDetailedExtensions: (_) => n.bcfApi.getDetailedExtensions(_.id),
|
|
537
|
+
createExtension: async (_, k, Z) => await n.bcfApi[`createExtension${k}`](
|
|
538
|
+
_.id,
|
|
539
539
|
{
|
|
540
|
-
[
|
|
540
|
+
[c1(k)]: Z.value,
|
|
541
541
|
color: V5()
|
|
542
542
|
}
|
|
543
543
|
),
|
|
544
|
-
updateExtension: async (
|
|
545
|
-
|
|
546
|
-
|
|
544
|
+
updateExtension: async (_, k, Z, $) => await n.bcfApi[`updateExtension${k}`](
|
|
545
|
+
Z.id,
|
|
546
|
+
_.id,
|
|
547
547
|
{
|
|
548
|
-
[
|
|
549
|
-
color:
|
|
548
|
+
[c1(k)]: $.value,
|
|
549
|
+
color: $.color
|
|
550
550
|
}
|
|
551
551
|
),
|
|
552
|
-
deleteExtension: async (
|
|
553
|
-
await
|
|
554
|
-
|
|
555
|
-
|
|
552
|
+
deleteExtension: async (_, k, Z) => {
|
|
553
|
+
await n.bcfApi[`deleteExtension${k}`](
|
|
554
|
+
Z.id,
|
|
555
|
+
_.id
|
|
556
556
|
);
|
|
557
557
|
}
|
|
558
558
|
};
|
|
@@ -560,32 +560,32 @@ function Fb(n, { fetchUsers: e }) {
|
|
|
560
560
|
function Pb(n) {
|
|
561
561
|
C5 = n;
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function I1() {
|
|
564
564
|
return C5;
|
|
565
565
|
}
|
|
566
|
-
const
|
|
566
|
+
const W1 = new RegExp(
|
|
567
567
|
/^((([0]?[1-9]|1[0-9]|2[0-8])[./-](0[1-9]|1[012]))|((29|30|31))[./-]((0[13578]|1[02]))|((29|30))[./-](0[4,6,9]|11))[./-]((19|[2-9][0-9])\d\d$|(^29[./-]02[./-](19|[2-9][0-9])(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)$))/
|
|
568
568
|
);
|
|
569
|
-
function
|
|
569
|
+
function M2(n) {
|
|
570
570
|
return n.split("/").reverse().join("-");
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return new Date(
|
|
572
|
+
function L1(n) {
|
|
573
|
+
return new Date(M2(n));
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function _2(n, e = "long") {
|
|
576
576
|
if (!n)
|
|
577
577
|
return "";
|
|
578
578
|
const a = n.toISOString().split("T")[0].split("-").reverse();
|
|
579
579
|
return e === "short" && (a[2] = a[2].slice(-2)), a.join("/");
|
|
580
580
|
}
|
|
581
581
|
function A5(n) {
|
|
582
|
-
return n.match(
|
|
582
|
+
return n.match(W1) && L1(n).getTime() >= new Date().setHours(0, 0, 0, 0);
|
|
583
583
|
}
|
|
584
584
|
function T5(n) {
|
|
585
|
-
return n.match(
|
|
585
|
+
return n.match(W1) && L1(n).getTime() <= new Date().setHours(0, 0, 0, 0);
|
|
586
586
|
}
|
|
587
587
|
function N5(n, e) {
|
|
588
|
-
return n.match(
|
|
588
|
+
return n.match(W1) && e.match(W1) && L1(n).getTime() <= L1(e).getTime();
|
|
589
589
|
}
|
|
590
590
|
const G2 = {
|
|
591
591
|
priorities: [],
|
|
@@ -597,9 +597,9 @@ const G2 = {
|
|
|
597
597
|
endDate: ""
|
|
598
598
|
};
|
|
599
599
|
function $5(n) {
|
|
600
|
-
const e = I5({ ...G2 }), a =
|
|
600
|
+
const e = I5({ ...G2 }), a = A(() => {
|
|
601
601
|
let s = n.value;
|
|
602
|
-
return e.priorities.length > 0 && (s = s.filter((c) => e.priorities.includes(c.priority))), e.statuses.length > 0 && (s = s.filter((c) => e.statuses.includes(c.topic_status))), e.users.length > 0 && (s = s.filter((c) => e.users.includes(c.assigned_to))), e.creators.length > 0 && (s = s.filter((c) => e.creators.includes(c.creation_author))), e.labels.length > 0 && (s = s.filter((c) => e.labels.some((d) => c.labels.includes(d)))), e.startDate && e.endDate && (s = s.filter((c) => c.creation_date >= new Date(`${
|
|
602
|
+
return e.priorities.length > 0 && (s = s.filter((c) => e.priorities.includes(c.priority))), e.statuses.length > 0 && (s = s.filter((c) => e.statuses.includes(c.topic_status))), e.users.length > 0 && (s = s.filter((c) => e.users.includes(c.assigned_to))), e.creators.length > 0 && (s = s.filter((c) => e.creators.includes(c.creation_author))), e.labels.length > 0 && (s = s.filter((c) => e.labels.some((d) => c.labels.includes(d)))), e.startDate && e.endDate && (s = s.filter((c) => c.creation_date >= new Date(`${M2(e.startDate)}T00:00`) && c.creation_date <= new Date(`${M2(e.endDate)}T23:59:59`))), s;
|
|
603
603
|
});
|
|
604
604
|
function l(s) {
|
|
605
605
|
Object.assign(e, s);
|
|
@@ -627,7 +627,7 @@ const R5 = [
|
|
|
627
627
|
];
|
|
628
628
|
function zb(n) {
|
|
629
629
|
const e = V(""), a = V([]);
|
|
630
|
-
return
|
|
630
|
+
return K1(
|
|
631
631
|
[n, e],
|
|
632
632
|
() => {
|
|
633
633
|
if (e.value) {
|
|
@@ -646,7 +646,7 @@ function zb(n) {
|
|
|
646
646
|
filteredTopics: a
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function o2(n, e = (a) => a) {
|
|
650
650
|
const a = V(n), l = (c = "asc") => {
|
|
651
651
|
const d = a.value.slice().sort((C, p) => e(C) < e(p) ? -1 : 1);
|
|
652
652
|
c === "desc" && d.reverse(), a.value = d;
|
|
@@ -659,7 +659,7 @@ function r2(n, e = (a) => a) {
|
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
661
|
function Ub(n) {
|
|
662
|
-
const { sortToggle: e, sortOrder: a } =
|
|
662
|
+
const { sortToggle: e, sortOrder: a } = o2(n, (g) => g.index), { sortToggle: l, sortOrder: i } = o2(n, (g) => g.title), { sortToggle: s, sortOrder: c } = o2(n, (g) => g.creation_date), d = V("");
|
|
663
663
|
return {
|
|
664
664
|
sortedBy: d,
|
|
665
665
|
sortByIndex: () => {
|
|
@@ -677,16 +677,16 @@ function Ub(n) {
|
|
|
677
677
|
};
|
|
678
678
|
}
|
|
679
679
|
function O5(n) {
|
|
680
|
-
return n[
|
|
680
|
+
return n[x2];
|
|
681
681
|
}
|
|
682
682
|
function Gb(n) {
|
|
683
683
|
var e, a;
|
|
684
|
-
return (a = (e = n[
|
|
684
|
+
return (a = (e = n[k2]) == null ? void 0 : e.split(",").map(Number)) != null ? a : [];
|
|
685
685
|
}
|
|
686
686
|
function E5(n) {
|
|
687
|
-
return
|
|
687
|
+
return w2[O5(n)];
|
|
688
688
|
}
|
|
689
|
-
var F5 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
689
|
+
var F5 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), z = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (n) => F5.includes(n) } }, emits: ["click"], computed: { classes() {
|
|
690
690
|
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 };
|
|
691
691
|
}, style() {
|
|
692
692
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -1161,9 +1161,9 @@ p5(`.bimdata-btn {
|
|
|
1161
1161
|
.bimdata-btn__ghost:disabled {
|
|
1162
1162
|
color: var(--color-silver-dark);
|
|
1163
1163
|
cursor: auto;
|
|
1164
|
-
}`),
|
|
1165
|
-
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style:
|
|
1166
|
-
},
|
|
1164
|
+
}`), z.render = function(n, e, a, l, i, s) {
|
|
1165
|
+
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style: y(s.style), onClick: e[0] || (e[0] = (c) => n.$emit("click", c)), color: a.color, type: "button" }, [S(n.$slots, "default")], 14, P5);
|
|
1166
|
+
}, z.__scopeId = "data-v-3f903003", z.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
1167
1167
|
const z5 = { "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" }, U5 = { render: function(n, e) {
|
|
1168
1168
|
return r(), t("path", z5);
|
|
1169
1169
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, G5 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.55 15.0531H16.0997V18.503H13.7999V15.0531H10.35V12.7529H13.7999V9.303H16.0997V12.7529H19.55V15.0531ZM20.7001 5.85364H11.4997L9.19989 3.55383H2.29968C1.02325 3.55383 0.0113988 4.5772 0.0113988 5.85364L-0.00012207 19.6537C-0.00012207 20.9301 1.02325 21.9539 2.29968 21.9539H20.7001C21.9761 21.9539 22.9999 20.9301 22.9999 19.6537V8.15384C22.9999 6.87701 21.9761 5.85364 20.7001 5.85364Z" }, X5 = { render: function(n, e) {
|
|
@@ -1471,7 +1471,7 @@ const z5 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
1471
1471
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
1472
1472
|
var X2 = { addFile: U5, addFolder: X5, addUser: W5, alphabeticalAscending: K5, alphabeticalDescending: Q5, alphabeticalSort: n4, alt: o4, angle: t4, api: l4, archive: c4, arrow: d4, attach: C4, backInTime: g4, bcf: f4, building: v4, burgerMenu: I4, calendar: _4, caliper: H4, camera: B4, cancelCamera: x4, check: w4, chevron: S4, classificationCategorie: T4, classificationElement: $4, click: O4, close: F4, cloud: z4, color: G4, comment: Y4, cursor: j4, dateAscending: q4, dateDescending: J4, default: e3, delete: r3, deniedFile: a3, deploy: i3, detach: s3, distance: u3, doubleChevron: p3, down: g3, download: f3, drag: v3, edit: I3, ellipsis: _3, expanded: H3, explosion: B3, export: x3, exportIfc: w3, failed: S3, filter: T3, fitView: $3, folder: O3, folderMove: F3, folderOpen: z3, fullscreen: G3, grid: Y3, group: j3, hide: q3, ifc: J3, ifcFile: e7, import: r7, indexAscending: a7, indexDescending: i7, information: s7, inProgressFile: u7, invitation: p7, isolate: g7, key: f7, left: v7, linkedDocument: I7, list: _7, listManage: H7, location: B7, lock: x7, logout: w7, measure: S7, minus: T7, model3d: $7, organization: O7, parameters: F7, path: z7, pieGraph: G7, plus: Y7, project: j7, quickSelect: q7, readonlyFolder: J7, redo: e9, reduced: r9, refresh: a9, reprocessIfc: i9, reset: s9, right: u9, rules: p9, sandglass: g9, save: f9, screenConfig: v9, screenshot: I9, search: _9, section: H9, settings: B9, share: x9, show: w9, showSelected: S9, socotec: T9, space: $9, split: O9, storey: F9, success: z9, surface: G9, swap: Y9, synchro2d: j9, system: q9, tag: n0, tree: o0, unarchive: t0, undo: l0, union: c0, up: d0, user: C0, validate: b0, validatedFile: h0, versioning: v0, video: I0, visa: _0, warning: H0, windowBottom: B0, windowed: x0, windowLeft: w0, windowRight: S0, windowTop: T0, zone: $0, bcfPolychrome: O0, createWindowPolychrome: F0, docInfoPolychrome: z0, fileDwgPolychrome: G0, fileIfcPolychrome: Y0, filePdfPolychrome: j0, filePlanPolychrome: q0, folderPolychrome: J0, structurePolychrome: e6, viewer2dPolychrome: r6, viewer3dPolychrome: a6 }, l6 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1473
1473
|
const Y2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1474
|
-
var
|
|
1474
|
+
var G = { name: "BIMDataIcon", components: { ...function(n = {}) {
|
|
1475
1475
|
return Object.entries(n).reduce((e, [a, l]) => ({ ...e, [`bimdata-icon-${a}`]: l }), {});
|
|
1476
1476
|
}(X2) }, props: { name: { type: String, required: !0, validator: (n) => Object.keys(X2).includes(n) }, color: { type: String, default: "default", validator: (n) => l6.includes(n) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (n) => Object.keys(Y2).includes(n) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
1477
1477
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
@@ -1642,9 +1642,9 @@ b5(`.icon-fill--black {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
.icon-stroke--white {
|
|
1644
1644
|
stroke: var(--color-white);
|
|
1645
|
-
}`),
|
|
1646
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: D(s.classes), style:
|
|
1647
|
-
},
|
|
1645
|
+
}`), G.render = function(n, e, a, l, i, s) {
|
|
1646
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: D(s.classes), style: y(s.style) }, [(r(), B(v1(`bimdata-icon-${a.name}`)))], 14, i6);
|
|
1647
|
+
}, G.__scopeId = "data-v-1312d4d1", G.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
1648
1648
|
let W2 = 0;
|
|
1649
1649
|
var t1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { modelValue: { type: [String, Number, Boolean], default: "" }, placeholder: { type: String, default: "" }, error: { type: Boolean, default: !1 }, success: { type: Boolean, default: !1 }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, loading: { type: Boolean, default: !1 }, disabled: { type: Boolean, default: !1 }, margin: { type: String, default: "12px 0px" }, autocomplete: { type: Boolean, default: !1 } }, emits: ["update:modelValue", "blur", "keypress", "focus", "change"], computed: { style() {
|
|
1650
1650
|
return { margin: `${this.margin}` };
|
|
@@ -2000,9 +2000,9 @@ input:-webkit-autofill {
|
|
|
2000
2000
|
.bimdata-input.success .bar::before, .bimdata-input.success .bar::after {
|
|
2001
2001
|
background-color: var(--color-success);
|
|
2002
2002
|
}`), t1.render = function(n, e, a, l, i, s) {
|
|
2003
|
-
return r(), t("div", { class: D(["bimdata-input", { error: a.error, success: a.success, disabled: a.disabled, loading: a.loading, "not-empty": !!a.modelValue }]), style:
|
|
2003
|
+
return r(), t("div", { class: D(["bimdata-input", { error: a.error, success: a.success, disabled: a.disabled, loading: a.loading, "not-empty": !!a.modelValue }]), style: y(s.style) }, [o("input", H2({ ref: "input", id: `bimdata-input-${n.uuid}`, onInput: e[0] || (e[0] = (c) => n.$emit("update:modelValue", c.currentTarget.value)), disabled: a.disabled, value: a.modelValue, onFocus: e[1] || (e[1] = (c) => {
|
|
2004
2004
|
c.target.select(), n.$emit("focus", c);
|
|
2005
|
-
}), onBlur: e[2] || (e[2] = (c) => n.$emit("blur", c)), onKeypress: e[3] || (e[3] = (c) => n.$emit("keypress", c)), onChange: e[4] || (e[4] = (c) => n.$emit("change", c)), autocomplete: a.autocomplete ? "on" : "off" }, n.$attrs), null, 16, c6), o("div", s6, [
|
|
2005
|
+
}), onBlur: e[2] || (e[2] = (c) => n.$emit("blur", c)), onKeypress: e[3] || (e[3] = (c) => n.$emit("keypress", c)), onChange: e[4] || (e[4] = (c) => n.$emit("change", c)), autocomplete: a.autocomplete ? "on" : "off" }, n.$attrs), null, 16, c6), o("div", s6, [S(n.$slots, "inputIcon")]), o("label", { for: `bimdata-input-${n.uuid}` }, b(a.placeholder), 9, d6), u6, a.error ? (r(), t("span", C6, b(a.errorMessage), 1)) : M("v-if", !0), a.success ? (r(), t("span", p6, b(a.successMessage), 1)) : M("v-if", !0)], 6);
|
|
2006
2006
|
}, t1.__scopeId = "data-v-5d42d486", t1.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
|
|
2007
2007
|
var h5 = { beforeMount(n, e) {
|
|
2008
2008
|
if (typeof e.value != "function")
|
|
@@ -2012,7 +2012,7 @@ var h5 = { beforeMount(n, e) {
|
|
|
2012
2012
|
}, window.addEventListener(e.arg || "click", n.clickAwayHandler, !0);
|
|
2013
2013
|
}, unmounted(n, e) {
|
|
2014
2014
|
window.removeEventListener(e.arg || "click", n.clickAwayHandler, !0), delete n.clickAwayHandler;
|
|
2015
|
-
} },
|
|
2015
|
+
} }, V1 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue", event: "update:modelValue" }, props: { text: { type: String, default: null }, modelValue: { type: Boolean, validator: (n) => n === null || typeof n == "boolean" }, disabled: { type: Boolean, default: !1 }, margin: { type: String, default: "0px" } }, emits: ["update:modelValue"], computed: { indeterminate() {
|
|
2016
2016
|
return this.modelValue === null;
|
|
2017
2017
|
}, checked() {
|
|
2018
2018
|
return this.modelValue === !0 || this.indeterminate;
|
|
@@ -2022,7 +2022,7 @@ var h5 = { beforeMount(n, e) {
|
|
|
2022
2022
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
2023
2023
|
} } };
|
|
2024
2024
|
const b6 = ((n) => (e1("data-v-34d34265"), n = n(), o1(), n))(() => o("span", { class: "bimdata-checkbox__mark" }, null, -1)), g6 = { key: 0, class: "bimdata-checkbox__text" };
|
|
2025
|
-
function
|
|
2025
|
+
function j(n, e) {
|
|
2026
2026
|
e === void 0 && (e = {});
|
|
2027
2027
|
var a = e.insertAt;
|
|
2028
2028
|
if (n && typeof document < "u") {
|
|
@@ -2030,7 +2030,7 @@ function K(n, e) {
|
|
|
2030
2030
|
i.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(i, l.firstChild) : l.appendChild(i), i.styleSheet ? i.styleSheet.cssText = n : i.appendChild(document.createTextNode(n));
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
|
-
|
|
2033
|
+
j(`/* base COLORS --------------------------------------------- */
|
|
2034
2034
|
/* colors BRAND */
|
|
2035
2035
|
/* colors GREY SHADES - NEUTRAL */
|
|
2036
2036
|
/* color TEXT */
|
|
@@ -2188,7 +2188,7 @@ html[data-v-34d34265] {
|
|
|
2188
2188
|
.primary-font[data-v-34d34265] {
|
|
2189
2189
|
font-family: "roboto", sans-serif;
|
|
2190
2190
|
}`);
|
|
2191
|
-
|
|
2191
|
+
j(`.bimdata-checkbox {
|
|
2192
2192
|
position: relative;
|
|
2193
2193
|
display: -webkit-box;
|
|
2194
2194
|
display: -ms-flexbox;
|
|
@@ -2275,24 +2275,24 @@ K(`.bimdata-checkbox {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
2277
2277
|
background-color: var(--color-silver-dark);
|
|
2278
|
-
}`),
|
|
2279
|
-
return r(), t("div", { class: D(["bimdata-checkbox", { indeterminate: s.indeterminate, disabled: a.disabled, checked: s.checked }]), onClick: e[0] || (e[0] = (...c) => s.onClick && s.onClick(...c)), style:
|
|
2280
|
-
},
|
|
2278
|
+
}`), V1.render = function(n, e, a, l, i, s) {
|
|
2279
|
+
return r(), t("div", { class: D(["bimdata-checkbox", { indeterminate: s.indeterminate, disabled: a.disabled, checked: s.checked }]), onClick: e[0] || (e[0] = (...c) => s.onClick && s.onClick(...c)), style: y(s.style) }, [b6, a.text ? (r(), t("span", g6, [S(n.$slots, "default", {}, () => [w(b(a.text), 1)])])) : M("v-if", !0)], 6);
|
|
2280
|
+
}, V1.__scopeId = "data-v-34d34265", V1.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
2281
2281
|
const h6 = { "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" }, f6 = { render: function(n, e) {
|
|
2282
2282
|
return r(), t("path", h6);
|
|
2283
2283
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
2284
2284
|
var L6 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
2285
2285
|
const j2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
2286
|
-
var
|
|
2286
|
+
var J1 = (n, e) => ({ name: `BIMDataIcon${n}`, components: { [n]: e }, props: { color: { type: String, default: "default", validator: (a) => L6.includes(a) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (a) => Object.keys(j2).includes(a) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
2287
2287
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
2288
2288
|
}, style() {
|
|
2289
2289
|
const a = this.getPixelSize(this.size);
|
|
2290
2290
|
return { width: `${a}px`, minWidth: `${a}px`, height: `${a}px`, minHeight: `${a}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
2291
2291
|
} }, methods: { getPixelSize() {
|
|
2292
2292
|
return this.customSize ? this.customSize : j2[this.size];
|
|
2293
|
-
} } }),
|
|
2293
|
+
} } }), b1 = J1("Chevron", f6);
|
|
2294
2294
|
const v6 = ["fill", "color"];
|
|
2295
|
-
|
|
2295
|
+
j(`/* base COLORS --------------------------------------------- */
|
|
2296
2296
|
/* colors BRAND */
|
|
2297
2297
|
/* colors GREY SHADES - NEUTRAL */
|
|
2298
2298
|
/* color TEXT */
|
|
@@ -2361,7 +2361,7 @@ html[data-v-5e440aca] {
|
|
|
2361
2361
|
/* base FONTS -------------------------------------- */
|
|
2362
2362
|
--primary-font: "roboto", sans-serif;
|
|
2363
2363
|
}`);
|
|
2364
|
-
|
|
2364
|
+
j(`.icon-fill--black {
|
|
2365
2365
|
fill: var(--color-black);
|
|
2366
2366
|
}
|
|
2367
2367
|
.icon-fill--default {
|
|
@@ -2444,16 +2444,16 @@ K(`.icon-fill--black {
|
|
|
2444
2444
|
}
|
|
2445
2445
|
.icon-stroke--white {
|
|
2446
2446
|
stroke: var(--color-white);
|
|
2447
|
-
}`),
|
|
2447
|
+
}`), b1.render = function(n, e, a, l, i, s) {
|
|
2448
2448
|
const c = h("Chevron");
|
|
2449
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
2450
|
-
},
|
|
2449
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, v6);
|
|
2450
|
+
}, b1.__scopeId = "data-v-5e440aca", b1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
2451
2451
|
const m6 = { "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" }, I6 = { render: function(n, e) {
|
|
2452
2452
|
return r(), t("path", m6);
|
|
2453
2453
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
2454
|
-
var
|
|
2454
|
+
var r2 = J1("DoubleChevron", I6);
|
|
2455
2455
|
const M6 = ["fill", "color"];
|
|
2456
|
-
|
|
2456
|
+
j(`/* base COLORS --------------------------------------------- */
|
|
2457
2457
|
/* colors BRAND */
|
|
2458
2458
|
/* colors GREY SHADES - NEUTRAL */
|
|
2459
2459
|
/* color TEXT */
|
|
@@ -2522,7 +2522,7 @@ html[data-v-859297ec] {
|
|
|
2522
2522
|
/* base FONTS -------------------------------------- */
|
|
2523
2523
|
--primary-font: "roboto", sans-serif;
|
|
2524
2524
|
}`);
|
|
2525
|
-
|
|
2525
|
+
j(`.icon-fill--black {
|
|
2526
2526
|
fill: var(--color-black);
|
|
2527
2527
|
}
|
|
2528
2528
|
.icon-fill--default {
|
|
@@ -2605,16 +2605,16 @@ K(`.icon-fill--black {
|
|
|
2605
2605
|
}
|
|
2606
2606
|
.icon-stroke--white {
|
|
2607
2607
|
stroke: var(--color-white);
|
|
2608
|
-
}`),
|
|
2608
|
+
}`), r2.render = function(n, e, a, l, i, s) {
|
|
2609
2609
|
const c = h("DoubleChevron");
|
|
2610
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
2611
|
-
},
|
|
2610
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, M6);
|
|
2611
|
+
}, r2.__scopeId = "data-v-859297ec", r2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
2612
2612
|
const _6 = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357 11.5L0 20.6836L2.31643 23L11.5 13.8164L20.6836 23L23 20.6836L13.8164 11.5L23 2.31643Z" }, y6 = { render: function(n, e) {
|
|
2613
2613
|
return r(), t("path", _6);
|
|
2614
2614
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
2615
|
-
var
|
|
2615
|
+
var t2 = J1("Close", y6);
|
|
2616
2616
|
const H6 = ["fill", "color"];
|
|
2617
|
-
|
|
2617
|
+
j(`/* base COLORS --------------------------------------------- */
|
|
2618
2618
|
/* colors BRAND */
|
|
2619
2619
|
/* colors GREY SHADES - NEUTRAL */
|
|
2620
2620
|
/* color TEXT */
|
|
@@ -2683,7 +2683,7 @@ html[data-v-797f55d8] {
|
|
|
2683
2683
|
/* base FONTS -------------------------------------- */
|
|
2684
2684
|
--primary-font: "roboto", sans-serif;
|
|
2685
2685
|
}`);
|
|
2686
|
-
|
|
2686
|
+
j(`.icon-fill--black {
|
|
2687
2687
|
fill: var(--color-black);
|
|
2688
2688
|
}
|
|
2689
2689
|
.icon-fill--default {
|
|
@@ -2766,16 +2766,16 @@ K(`.icon-fill--black {
|
|
|
2766
2766
|
}
|
|
2767
2767
|
.icon-stroke--white {
|
|
2768
2768
|
stroke: var(--color-white);
|
|
2769
|
-
}`),
|
|
2769
|
+
}`), t2.render = function(n, e, a, l, i, s) {
|
|
2770
2770
|
const c = h("Close");
|
|
2771
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
2772
|
-
},
|
|
2771
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, H6);
|
|
2772
|
+
}, t2.__scopeId = "data-v-797f55d8", t2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
2773
2773
|
const V6 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.4652C5.27332 14.4652 2.6301 11.822 2.6301 8.54753C2.6301 5.27309 5.27332 2.62986 8.54777 2.62986C11.8222 2.62986 14.4654 5.27309 14.4654 8.54753C14.4654 11.822 11.8222 14.4652 8.54777 14.4652ZM16.438 14.4654H15.3991L15.0309 14.1103C16.3196 12.6112 17.0955 10.665 17.0955 8.54774C17.0955 3.82676 13.2687 0 8.54774 0C3.82676 0 0 3.82676 0 8.54774C0 13.2687 3.82676 17.0955 8.54774 17.0955C10.665 17.0955 12.6112 16.3196 14.1103 15.0309L14.4654 15.3991V16.438L21.0406 23L23 21.0406L16.438 14.4654Z" }, B6 = { render: function(n, e) {
|
|
2774
2774
|
return r(), t("path", V6);
|
|
2775
2775
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
2776
|
-
var
|
|
2776
|
+
var a2 = J1("Search", B6);
|
|
2777
2777
|
const D6 = ["fill", "color"];
|
|
2778
|
-
|
|
2778
|
+
j(`/* base COLORS --------------------------------------------- */
|
|
2779
2779
|
/* colors BRAND */
|
|
2780
2780
|
/* colors GREY SHADES - NEUTRAL */
|
|
2781
2781
|
/* color TEXT */
|
|
@@ -2844,7 +2844,7 @@ html[data-v-0993abf8] {
|
|
|
2844
2844
|
/* base FONTS -------------------------------------- */
|
|
2845
2845
|
--primary-font: "roboto", sans-serif;
|
|
2846
2846
|
}`);
|
|
2847
|
-
|
|
2847
|
+
j(`.icon-fill--black {
|
|
2848
2848
|
fill: var(--color-black);
|
|
2849
2849
|
}
|
|
2850
2850
|
.icon-fill--default {
|
|
@@ -2927,11 +2927,11 @@ K(`.icon-fill--black {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
.icon-stroke--white {
|
|
2929
2929
|
stroke: var(--color-white);
|
|
2930
|
-
}`),
|
|
2930
|
+
}`), a2.render = function(n, e, a, l, i, s) {
|
|
2931
2931
|
const c = h("Search");
|
|
2932
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
2933
|
-
},
|
|
2934
|
-
var
|
|
2932
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, D6);
|
|
2933
|
+
}, a2.__scopeId = "data-v-0993abf8", a2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
2934
|
+
var B1 = { components: { BIMDataCheckbox: V1, BIMDataIconChevron: b1 }, directives: { clickaway: h5 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number] }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: Array }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], data: () => ({ isOpen: !1 }), computed: { displayedValue() {
|
|
2935
2935
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
2936
2936
|
} }, methods: { toggle() {
|
|
2937
2937
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -2958,7 +2958,7 @@ var D1 = { components: { BIMDataCheckbox: B1, BIMDataIconChevron: g1 }, directiv
|
|
|
2958
2958
|
this.$emit("update:modelValue", e);
|
|
2959
2959
|
} } };
|
|
2960
2960
|
const x6 = { class: "bimdata-select__content" }, k6 = { class: "bimdata-select__content__label" }, w6 = ((n) => (e1("data-v-2c3115dc"), n = n(), o1(), n))(() => o("span", { class: "bimdata-select__content__underline" }, null, -1)), Z6 = { class: "bimdata-select__option-list" }, S6 = ["onClick"];
|
|
2961
|
-
|
|
2961
|
+
j(`/* base COLORS --------------------------------------------- */
|
|
2962
2962
|
/* colors BRAND */
|
|
2963
2963
|
/* colors GREY SHADES - NEUTRAL */
|
|
2964
2964
|
/* color TEXT */
|
|
@@ -3138,11 +3138,11 @@ html[data-v-2c3115dc] {
|
|
|
3138
3138
|
}
|
|
3139
3139
|
.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-2c3115dc]:not(.option-group) {
|
|
3140
3140
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3141
|
-
}`),
|
|
3142
|
-
const c = h("BIMDataIconChevron"), d = h("BIMDataCheckbox"), C =
|
|
3143
|
-
return
|
|
3144
|
-
},
|
|
3145
|
-
var
|
|
3141
|
+
}`), B1.render = function(n, e, a, l, i, s) {
|
|
3142
|
+
const c = h("BIMDataIconChevron"), d = h("BIMDataCheckbox"), C = q1("clickaway");
|
|
3143
|
+
return X((r(), t("div", { class: D(["bimdata-select", { disabled: a.disabled, active: i.isOpen, "not-empty": a.modelValue.length > 0 }]), style: y({ width: a.width }) }, [o("div", x6, [o("div", { class: "bimdata-select__content__value", onClick: e[0] || (e[0] = (...p) => s.toggle && s.toggle(...p)) }, [o("span", null, b(s.displayedValue), 1), u(c, { size: "xxs", rotate: i.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), o("label", k6, b(a.label), 1), w6]), u(m1, { name: "slide-fade-down", persisted: "" }, { default: L(() => [X(o("ul", Z6, [(r(!0), t(N, null, U(a.options, (p, f) => (r(), t("li", { class: D(["bimdata-select__option-list__entry", { selected: s.isSelected(p), disabled: s.isDisabled(p), "option-group": s.isOptionGroup(p) }]), key: f, onClick: (g) => s.onOptionClick(p) }, [s.isOptionGroup(p) ? (r(), t(N, { key: 0 }, [w(b(s.optionLabel(p)), 1)], 64)) : (r(), B(d, { key: 1, modelValue: s.isSelected(p), disabled: s.isDisabled(p), text: s.optionLabel(p) }, null, 8, ["modelValue", "disabled", "text"]))], 10, S6))), 128))], 512), [[q, !a.disabled && i.isOpen]])]), _: 1 })], 6)), [[C, () => i.isOpen = !1]]);
|
|
3144
|
+
}, B1.__scopeId = "data-v-2c3115dc", B1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue";
|
|
3145
|
+
var D1 = { components: { BIMDataIconChevron: b1 }, directives: { clickaway: h5 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number] }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: [String, Object] }, nullValue: { type: Boolean, default: !1 }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], data: () => ({ isOpen: !1 }), computed: { displayedValue() {
|
|
3146
3146
|
return this.optionLabel(this.modelValue);
|
|
3147
3147
|
} }, methods: { toggle() {
|
|
3148
3148
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -3163,7 +3163,7 @@ var x1 = { components: { BIMDataIconChevron: g1 }, directives: { clickaway: h5 }
|
|
|
3163
3163
|
this.$emit("update:modelValue", null), this.isOpen = !1;
|
|
3164
3164
|
} } };
|
|
3165
3165
|
const A6 = { class: "bimdata-select__content" }, T6 = { class: "bimdata-select__content__label" }, N6 = ((n) => (e1("data-v-41a0d93f"), n = n(), o1(), n))(() => o("span", { class: "bimdata-select__content__underline" }, null, -1)), $6 = { class: "bimdata-select__option-list" }, R6 = ["onClick"];
|
|
3166
|
-
|
|
3166
|
+
j(`/* base COLORS --------------------------------------------- */
|
|
3167
3167
|
/* colors BRAND */
|
|
3168
3168
|
/* colors GREY SHADES - NEUTRAL */
|
|
3169
3169
|
/* color TEXT */
|
|
@@ -3343,31 +3343,31 @@ html[data-v-41a0d93f] {
|
|
|
3343
3343
|
}
|
|
3344
3344
|
.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-41a0d93f]:not(.option-group) {
|
|
3345
3345
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3346
|
-
}`),
|
|
3347
|
-
const c = h("BIMDataIconChevron"), d =
|
|
3348
|
-
return
|
|
3349
|
-
},
|
|
3350
|
-
var
|
|
3346
|
+
}`), D1.render = function(n, e, a, l, i, s) {
|
|
3347
|
+
const c = h("BIMDataIconChevron"), d = q1("clickaway");
|
|
3348
|
+
return X((r(), t("div", { class: D(["bimdata-select", { disabled: a.disabled, active: i.isOpen, "not-empty": a.modelValue !== void 0 && a.modelValue !== null }]), style: y({ width: a.width }) }, [o("div", A6, [o("div", { class: "bimdata-select__content__value", onClick: e[0] || (e[0] = (...C) => s.toggle && s.toggle(...C)) }, [o("span", null, b(s.displayedValue), 1), u(c, { size: "xxs", rotate: i.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), o("label", T6, b(a.label), 1), N6]), u(m1, { name: "slide-fade-down", persisted: "" }, { default: L(() => [X(o("ul", $6, [a.nullValue ? (r(), t("li", { key: 0, class: "bimdata-select__option-list__entry", onClick: e[1] || (e[1] = (C) => s.onNullValueClick()) }, b(a.nullLabel || "None"), 1)) : M("v-if", !0), (r(!0), t(N, null, U(a.options, (C, p) => (r(), t("li", { class: D(["bimdata-select__option-list__entry", { selected: s.isSelected(C), disabled: s.isDisabled(C), "option-group": s.isOptionGroup(C) }]), key: p, onClick: (f) => s.onOptionClick(C) }, b(s.optionLabel(C)), 11, R6))), 128))], 512), [[q, !a.disabled && i.isOpen]])]), _: 1 })], 6)), [[d, () => i.isOpen = !1]]);
|
|
3349
|
+
}, D1.__scopeId = "data-v-41a0d93f", D1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue";
|
|
3350
|
+
var j1 = { components: { BIMDataSelectMulti: B1, BIMDataSelectSingle: D1 }, 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() {
|
|
3351
3351
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
3352
3352
|
} } };
|
|
3353
|
-
|
|
3354
|
-
return r(), B(
|
|
3355
|
-
},
|
|
3353
|
+
j1.render = function(n, e, a, l, i, s) {
|
|
3354
|
+
return r(), B(v1(s.selectorComponent), H2(n.$props, { modelValue: a.modelValue, "onUpdate:modelValue": e[0] || (e[0] = (c) => n.$emit("update:modelValue", c)) }), null, 16, ["modelValue"]);
|
|
3355
|
+
}, j1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelect.vue";
|
|
3356
3356
|
const R = (n, e) => {
|
|
3357
3357
|
const a = n.__vccOpts || n;
|
|
3358
3358
|
for (const [l, i] of e)
|
|
3359
3359
|
a[l] = i;
|
|
3360
3360
|
return a;
|
|
3361
3361
|
};
|
|
3362
|
-
function
|
|
3362
|
+
function u1(n) {
|
|
3363
3363
|
return Array.from(new Set(n)).sort((e, a) => e.localeCompare(a, void 0, { sensitivity: "base" }));
|
|
3364
3364
|
}
|
|
3365
3365
|
const O6 = {
|
|
3366
3366
|
components: {
|
|
3367
|
-
BIMDataButton:
|
|
3368
|
-
BIMDataIcon:
|
|
3367
|
+
BIMDataButton: z,
|
|
3368
|
+
BIMDataIcon: G,
|
|
3369
3369
|
BIMDataInput: t1,
|
|
3370
|
-
BIMDataSelect:
|
|
3370
|
+
BIMDataSelect: j1
|
|
3371
3371
|
},
|
|
3372
3372
|
props: {
|
|
3373
3373
|
topics: {
|
|
@@ -3380,17 +3380,17 @@ const O6 = {
|
|
|
3380
3380
|
],
|
|
3381
3381
|
setup(n, { emit: e }) {
|
|
3382
3382
|
const a = V(!1), l = () => a.value = !1, i = () => a.value = !a.value, s = V(!1), c = V(!1), { filters: d, filteredTopics: C, reset: p } = $5(
|
|
3383
|
-
|
|
3384
|
-
), f =
|
|
3385
|
-
() =>
|
|
3386
|
-
), g =
|
|
3387
|
-
() =>
|
|
3388
|
-
), m =
|
|
3389
|
-
() =>
|
|
3390
|
-
), v =
|
|
3391
|
-
() =>
|
|
3392
|
-
), I =
|
|
3393
|
-
() =>
|
|
3383
|
+
A(() => n.topics)
|
|
3384
|
+
), f = A(
|
|
3385
|
+
() => u1(n.topics.map((H) => H.priority))
|
|
3386
|
+
), g = A(
|
|
3387
|
+
() => u1(n.topics.map((H) => H.topic_status))
|
|
3388
|
+
), m = A(
|
|
3389
|
+
() => u1(n.topics.map((H) => H.assigned_to))
|
|
3390
|
+
), v = A(
|
|
3391
|
+
() => u1(n.topics.map((H) => H.creation_author))
|
|
3392
|
+
), I = A(
|
|
3393
|
+
() => u1(n.topics.flatMap((H) => H.labels))
|
|
3394
3394
|
);
|
|
3395
3395
|
return {
|
|
3396
3396
|
creatorOptions: v,
|
|
@@ -3430,8 +3430,8 @@ const O6 = {
|
|
|
3430
3430
|
}
|
|
3431
3431
|
}, E6 = { class: "bcf-filters" }, F6 = { class: "bcf-filters__container" }, P6 = { class: "bcf-filters__container__header" }, z6 = { class: "bcf-filters__container__header__title" }, U6 = { class: "bcf-filters__container__date" }, G6 = { class: "example" }, X6 = { class: "example" }, Y6 = { class: "bcf-filters__container__actions" };
|
|
3432
3432
|
function W6(n, e, a, l, i, s) {
|
|
3433
|
-
const c = h("BIMDataIcon"), d = h("BIMDataButton"), C = h("BIMDataSelect"), p = h("BIMDataInput"), f =
|
|
3434
|
-
return
|
|
3433
|
+
const c = h("BIMDataIcon"), d = h("BIMDataButton"), C = h("BIMDataSelect"), p = h("BIMDataInput"), f = q1("click-away");
|
|
3434
|
+
return X((r(), t("div", E6, [
|
|
3435
3435
|
u(d, {
|
|
3436
3436
|
class: "bcf-filters__btn-toggle",
|
|
3437
3437
|
disabled: a.topics.length === 0,
|
|
@@ -3453,9 +3453,9 @@ function W6(n, e, a, l, i, s) {
|
|
|
3453
3453
|
]),
|
|
3454
3454
|
_: 1
|
|
3455
3455
|
}, 8, ["disabled", "onClick"]),
|
|
3456
|
-
u(
|
|
3456
|
+
u(m1, { name: "slide-fade-up" }, {
|
|
3457
3457
|
default: L(() => [
|
|
3458
|
-
|
|
3458
|
+
X(o("div", F6, [
|
|
3459
3459
|
o("div", P6, [
|
|
3460
3460
|
o("div", z6, b(n.$t("BcfComponents.BcfFilters.filtersTitle")), 1),
|
|
3461
3461
|
u(d, {
|
|
@@ -3587,11 +3587,11 @@ function W6(n, e, a, l, i, s) {
|
|
|
3587
3587
|
[f, l.close]
|
|
3588
3588
|
]);
|
|
3589
3589
|
}
|
|
3590
|
-
const j6 = /* @__PURE__ */ R(O6, [["render", W6], ["__scopeId", "data-v-7e773073"]]),
|
|
3591
|
-
Object.entries(
|
|
3592
|
-
var q6 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
3590
|
+
const j6 = /* @__PURE__ */ R(O6, [["render", W6], ["__scopeId", "data-v-7e773073"]]), A2 = 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" }), K6 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
|
|
3591
|
+
Object.entries(A2).filter(([n]) => !K6.includes(n));
|
|
3592
|
+
var q6 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), x1 = { props: { text: { type: String } } };
|
|
3593
3593
|
const Q6 = { class: "bimdata-card__brand" }, J6 = { class: "bimdata-card__brand--left" }, nn = { key: 0 };
|
|
3594
|
-
function
|
|
3594
|
+
function M1(n, e) {
|
|
3595
3595
|
e === void 0 && (e = {});
|
|
3596
3596
|
var a = e.insertAt;
|
|
3597
3597
|
if (n && typeof document < "u") {
|
|
@@ -3599,7 +3599,7 @@ function _1(n, e) {
|
|
|
3599
3599
|
i.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(i, l.firstChild) : l.appendChild(i), i.styleSheet ? i.styleSheet.cssText = n : i.appendChild(document.createTextNode(n));
|
|
3600
3600
|
}
|
|
3601
3601
|
}
|
|
3602
|
-
|
|
3602
|
+
M1(`/* base COLORS --------------------------------------------- */
|
|
3603
3603
|
/* colors BRAND */
|
|
3604
3604
|
/* colors GREY SHADES - NEUTRAL */
|
|
3605
3605
|
/* color TEXT */
|
|
@@ -3668,7 +3668,7 @@ html[data-v-0185c658] {
|
|
|
3668
3668
|
/* base FONTS -------------------------------------- */
|
|
3669
3669
|
--primary-font: "roboto", sans-serif;
|
|
3670
3670
|
}`);
|
|
3671
|
-
|
|
3671
|
+
M1(`.bimdata-card__brand {
|
|
3672
3672
|
-webkit-box-pack: justify;
|
|
3673
3673
|
-ms-flex-pack: justify;
|
|
3674
3674
|
justify-content: space-between;
|
|
@@ -3684,14 +3684,14 @@ _1(`.bimdata-card__brand {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
.bimdata-card__brand--left svg {
|
|
3686
3686
|
margin-right: calc(var(--spacing-unit) / 2);
|
|
3687
|
-
}`),
|
|
3688
|
-
return r(), t("div", Q6, [o("div", J6, [
|
|
3689
|
-
},
|
|
3690
|
-
var
|
|
3687
|
+
}`), x1.render = function(n, e, a, l, i, s) {
|
|
3688
|
+
return r(), t("div", Q6, [o("div", J6, [S(n.$slots, "left"), a.text ? (r(), t("span", nn, b(a.text), 1)) : M("v-if", !0)]), S(n.$slots, "right")]);
|
|
3689
|
+
}, x1.__scopeId = "data-v-0185c658", x1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCardBand.vue";
|
|
3690
|
+
var k1 = { components: { BIMDataCardBand: x1 }, props: { titleHeader: { type: String }, submenuText: { type: String }, width: { type: [Number, String], default: "215px" }, borderRadius: { type: String, default: "0px" }, bgColor: { type: String, default: "default", validator: (n) => q6.includes(n) } }, computed: { classes() {
|
|
3691
3691
|
return { [`bimdata-card__${this.bgColor}`]: this.bgColor };
|
|
3692
3692
|
} } };
|
|
3693
3693
|
const en = { key: 2, class: "bimdata-card__content" }, on = { key: 3, class: "bimdata-card__footer" };
|
|
3694
|
-
|
|
3694
|
+
M1(`/* base COLORS --------------------------------------------- */
|
|
3695
3695
|
/* colors BRAND */
|
|
3696
3696
|
/* colors GREY SHADES - NEUTRAL */
|
|
3697
3697
|
/* color TEXT */
|
|
@@ -3849,7 +3849,7 @@ html[data-v-5c84207f] {
|
|
|
3849
3849
|
.primary-font[data-v-5c84207f] {
|
|
3850
3850
|
font-family: "roboto", sans-serif;
|
|
3851
3851
|
}`);
|
|
3852
|
-
|
|
3852
|
+
M1(`.bimdata-card {
|
|
3853
3853
|
background-color: var(--color-white);
|
|
3854
3854
|
-webkit-box-shadow: var(--box-shadow);
|
|
3855
3855
|
box-shadow: var(--box-shadow);
|
|
@@ -3925,14 +3925,14 @@ _1(`.bimdata-card {
|
|
|
3925
3925
|
color: var(--color-primary);
|
|
3926
3926
|
-webkit-filter: saturate(0.8);
|
|
3927
3927
|
filter: saturate(0.8);
|
|
3928
|
-
}`),
|
|
3928
|
+
}`), k1.render = function(n, e, a, l, i, s) {
|
|
3929
3929
|
const c = h("BIMDataCardBand");
|
|
3930
|
-
return r(), t("div", { class: D(["bimdata-card", s.classes]), style:
|
|
3931
|
-
},
|
|
3932
|
-
const rn = Object.entries(
|
|
3933
|
-
var
|
|
3930
|
+
return r(), t("div", { class: D(["bimdata-card", s.classes]), style: y({ "min-width": a.width, "border-radius": a.borderRadius }) }, [a.titleHeader || n.$slots.headerIcons ? (r(), B(c, { key: 0, text: a.titleHeader, class: "bimdata-card__header" }, { right: L(() => [S(n.$slots, "headerIcons")]), _: 3 }, 8, ["text"])) : M("v-if", !0), n.$slots.left || a.submenuText || n.$slots.right ? (r(), B(c, { key: 1, class: "bimdata-card__submenu", text: a.submenuText }, { left: L(() => [S(n.$slots, "left")]), right: L(() => [S(n.$slots, "right")]), _: 3 }, 8, ["text"])) : M("v-if", !0), n.$slots.content ? (r(), t("div", en, [S(n.$slots, "content")])) : M("v-if", !0), n.$slots.footer ? (r(), t("footer", on, [S(n.$slots, "footer")])) : M("v-if", !0)], 6);
|
|
3931
|
+
}, k1.__scopeId = "data-v-5c84207f", k1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCard.vue";
|
|
3932
|
+
const rn = Object.entries(A2).reduce((n, e, a) => (a % 5 == 0 ? n.push([e]) : n[n.length - 1].push(e), n), []);
|
|
3933
|
+
var w1 = { components: { BIMDataCard: k1 }, props: { modelValue: { type: String, default: null, validator: (n) => Object.values(A2).includes(n) } }, emits: ["update:modelValue"], data: () => ({ colorLines: rn }) };
|
|
3934
3934
|
const tn = ["title", "onClick"];
|
|
3935
|
-
|
|
3935
|
+
M1(`.color-selector__line[data-v-dd521886] {
|
|
3936
3936
|
display: -webkit-box;
|
|
3937
3937
|
display: -ms-flexbox;
|
|
3938
3938
|
display: flex;
|
|
@@ -3946,15 +3946,15 @@ _1(`.color-selector__line[data-v-dd521886] {
|
|
|
3946
3946
|
}
|
|
3947
3947
|
.color-selector__line__element.selected[data-v-dd521886] {
|
|
3948
3948
|
border: solid 2px var(--color-primary);
|
|
3949
|
-
}`),
|
|
3949
|
+
}`), w1.render = function(n, e, a, l, i, s) {
|
|
3950
3950
|
const c = h("BIMDataCard");
|
|
3951
|
-
return r(), B(c, { class: "color-selector" }, { content: L(() => [(r(!0), t(N, null,
|
|
3952
|
-
},
|
|
3951
|
+
return r(), B(c, { class: "color-selector" }, { content: L(() => [(r(!0), t(N, null, U(i.colorLines, (d, C) => (r(), t("div", { class: "color-selector__line", key: `colorLine${C}` }, [(r(!0), t(N, null, U(d, ([p, f], g) => (r(), t("div", { class: D(["color-selector__line__element", { selected: f === a.modelValue }]), key: `colorElement${g}ofColorLine${C}`, style: y(`background-color: #${f}`), title: p, onClick: (m) => n.$emit("update:modelValue", f) }, null, 14, tn))), 128))]))), 128))]), _: 1 });
|
|
3952
|
+
}, w1.__scopeId = "data-v-dd521886", w1.__file = "src/BIMDataComponents/BIMDataColorSelector/BIMDataColorSelector.vue";
|
|
3953
3953
|
const an = {
|
|
3954
3954
|
components: {
|
|
3955
|
-
BIMDataButton:
|
|
3956
|
-
BIMDataColorSelector:
|
|
3957
|
-
BIMDataIcon:
|
|
3955
|
+
BIMDataButton: z,
|
|
3956
|
+
BIMDataColorSelector: w1,
|
|
3957
|
+
BIMDataIcon: G,
|
|
3958
3958
|
BIMDataInput: t1
|
|
3959
3959
|
},
|
|
3960
3960
|
props: {
|
|
@@ -3971,9 +3971,9 @@ const an = {
|
|
|
3971
3971
|
],
|
|
3972
3972
|
setup(n, { emit: e }) {
|
|
3973
3973
|
const a = V(!1), l = V(!1), i = V(!1), s = V(
|
|
3974
|
-
n.extension[
|
|
3974
|
+
n.extension[c1(n.extensionType)]
|
|
3975
3975
|
), c = V(n.extension.color), d = V(null);
|
|
3976
|
-
return
|
|
3976
|
+
return K1(
|
|
3977
3977
|
a,
|
|
3978
3978
|
() => setTimeout(() => a.value && d.value.focus(), 50)
|
|
3979
3979
|
), {
|
|
@@ -3985,7 +3985,7 @@ const an = {
|
|
|
3985
3985
|
isOpenColorSelector: l,
|
|
3986
3986
|
isOpenDeleteGuard: i,
|
|
3987
3987
|
adjustBorderColor: B5,
|
|
3988
|
-
getExtensionField:
|
|
3988
|
+
getExtensionField: c1,
|
|
3989
3989
|
submitColor: async (g) => {
|
|
3990
3990
|
g !== n.extension.color && (e("update-extension", {
|
|
3991
3991
|
extensionType: n.extensionType,
|
|
@@ -4000,7 +4000,7 @@ const an = {
|
|
|
4000
4000
|
});
|
|
4001
4001
|
},
|
|
4002
4002
|
submitValue: async () => {
|
|
4003
|
-
s.value !== n.extension[
|
|
4003
|
+
s.value !== n.extension[c1(n.extensionType)] && (e("update-extension", {
|
|
4004
4004
|
extensionType: n.extensionType,
|
|
4005
4005
|
extension: n.extension,
|
|
4006
4006
|
data: { value: s.value }
|
|
@@ -4013,14 +4013,14 @@ const an = {
|
|
|
4013
4013
|
class: "setting-card-item__delete-guard"
|
|
4014
4014
|
}, un = { class: "flex items-center" };
|
|
4015
4015
|
function Cn(n, e, a, l, i, s) {
|
|
4016
|
-
const c = h("BIMDataInput"), d = h("BIMDataIcon"), C = h("BIMDataButton"), p = h("BIMDataColorSelector"), f =
|
|
4016
|
+
const c = h("BIMDataInput"), d = h("BIMDataIcon"), C = h("BIMDataButton"), p = h("BIMDataColorSelector"), f = q1("click-away");
|
|
4017
4017
|
return r(), t("li", ln, [
|
|
4018
4018
|
l.editMode ? (r(), B(c, {
|
|
4019
4019
|
key: 1,
|
|
4020
4020
|
ref: "input",
|
|
4021
4021
|
modelValue: l.extensionName,
|
|
4022
4022
|
"onUpdate:modelValue": e[0] || (e[0] = (g) => l.extensionName = g),
|
|
4023
|
-
onKeyup: B2(
|
|
4023
|
+
onKeyup: V2(B2(l.submitValue, ["stop"]), ["enter"])
|
|
4024
4024
|
}, null, 8, ["modelValue", "onKeyup"])) : (r(), t("span", cn, b(a.extension[l.getExtensionField(a.extensionType)]), 1)),
|
|
4025
4025
|
o("div", sn, [
|
|
4026
4026
|
u(C, {
|
|
@@ -4056,13 +4056,13 @@ function Cn(n, e, a, l, i, s) {
|
|
|
4056
4056
|
l.EXTENSION_WITH_COLOR.includes(a.extensionType) ? (r(), t(N, { key: 0 }, [
|
|
4057
4057
|
o("span", {
|
|
4058
4058
|
class: "setting-card-item__color",
|
|
4059
|
-
style:
|
|
4059
|
+
style: y({
|
|
4060
4060
|
"border-color": l.adjustBorderColor(`${l.extensionColor}`, -50),
|
|
4061
4061
|
"background-color": `#${l.extensionColor}`
|
|
4062
4062
|
}),
|
|
4063
4063
|
onClick: e[3] || (e[3] = (g) => l.isOpenColorSelector = !0)
|
|
4064
4064
|
}, null, 4),
|
|
4065
|
-
l.isOpenColorSelector ?
|
|
4065
|
+
l.isOpenColorSelector ? X((r(), B(p, {
|
|
4066
4066
|
key: 0,
|
|
4067
4067
|
class: "setting-card-item__color-selector",
|
|
4068
4068
|
modelValue: l.extensionColor,
|
|
@@ -4110,16 +4110,12 @@ function Cn(n, e, a, l, i, s) {
|
|
|
4110
4110
|
const pn = /* @__PURE__ */ R(an, [["render", Cn], ["__scopeId", "data-v-b97a5399"]]);
|
|
4111
4111
|
const bn = {
|
|
4112
4112
|
components: {
|
|
4113
|
-
BIMDataButton:
|
|
4114
|
-
BIMDataIcon:
|
|
4113
|
+
BIMDataButton: z,
|
|
4114
|
+
BIMDataIcon: G,
|
|
4115
4115
|
BIMDataInput: t1,
|
|
4116
4116
|
SettingCardItem: pn
|
|
4117
4117
|
},
|
|
4118
4118
|
props: {
|
|
4119
|
-
project: {
|
|
4120
|
-
type: Object,
|
|
4121
|
-
required: !0
|
|
4122
|
-
},
|
|
4123
4119
|
detailedExtensions: {
|
|
4124
4120
|
type: Object,
|
|
4125
4121
|
required: !0
|
|
@@ -4135,7 +4131,7 @@ const bn = {
|
|
|
4135
4131
|
"delete-extension"
|
|
4136
4132
|
],
|
|
4137
4133
|
setup(n, { emit: e }) {
|
|
4138
|
-
const a =
|
|
4134
|
+
const a = A(
|
|
4139
4135
|
() => u5(n.extensionType, n.detailedExtensions)
|
|
4140
4136
|
), l = V(null), i = V(""), s = V(!1), c = () => s.value = !1, d = () => s.value = !s.value, C = V(!1), p = () => {
|
|
4141
4137
|
i.value = "", C.value = !1;
|
|
@@ -4148,7 +4144,6 @@ const bn = {
|
|
|
4148
4144
|
name: i,
|
|
4149
4145
|
addExtension: async () => {
|
|
4150
4146
|
e("create-extension", {
|
|
4151
|
-
project: n.project,
|
|
4152
4147
|
extensionType: n.extensionType,
|
|
4153
4148
|
data: { value: i.value }
|
|
4154
4149
|
}), p();
|
|
@@ -4182,7 +4177,7 @@ function _n(n, e, a, l, i, s) {
|
|
|
4182
4177
|
}, null, 8, ["rotate"])
|
|
4183
4178
|
])
|
|
4184
4179
|
]),
|
|
4185
|
-
|
|
4180
|
+
X(o("div", null, [
|
|
4186
4181
|
o("div", vn, [
|
|
4187
4182
|
w(b(n.$t(`BcfComponents.SettingCard.text.${a.extensionType}`)) + " ", 1),
|
|
4188
4183
|
u(d, {
|
|
@@ -4202,15 +4197,15 @@ function _n(n, e, a, l, i, s) {
|
|
|
4202
4197
|
_: 1
|
|
4203
4198
|
}, 8, ["onClick"])
|
|
4204
4199
|
]),
|
|
4205
|
-
u(
|
|
4200
|
+
u(m1, { name: "slide-fade-up" }, {
|
|
4206
4201
|
default: L(() => [
|
|
4207
|
-
|
|
4202
|
+
X(o("div", mn, [
|
|
4208
4203
|
u(C, {
|
|
4209
4204
|
ref: "input",
|
|
4210
4205
|
placeholder: n.$t(`BcfComponents.SettingCard.input.${a.extensionType}`),
|
|
4211
4206
|
modelValue: l.name,
|
|
4212
4207
|
"onUpdate:modelValue": e[1] || (e[1] = (f) => l.name = f),
|
|
4213
|
-
onKeyup: B2(
|
|
4208
|
+
onKeyup: V2(B2(l.addExtension, ["stop"]), ["enter"])
|
|
4214
4209
|
}, null, 8, ["placeholder", "modelValue", "onKeyup"]),
|
|
4215
4210
|
o("div", In, [
|
|
4216
4211
|
u(d, {
|
|
@@ -4242,25 +4237,24 @@ function _n(n, e, a, l, i, s) {
|
|
|
4242
4237
|
_: 1
|
|
4243
4238
|
}),
|
|
4244
4239
|
o("ul", Mn, [
|
|
4245
|
-
(r(!0), t(N, null,
|
|
4240
|
+
(r(!0), t(N, null, U(l.availableExtensions, (f) => (r(), B(p, {
|
|
4246
4241
|
key: f.id,
|
|
4247
|
-
project: a.project,
|
|
4248
4242
|
extensionType: a.extensionType,
|
|
4249
4243
|
extension: f,
|
|
4250
4244
|
onUpdateExtension: e[2] || (e[2] = (g) => n.$emit("update-extension", g)),
|
|
4251
4245
|
onDeleteExtension: e[3] || (e[3] = (g) => n.$emit("delete-extension", g))
|
|
4252
|
-
}, null, 8, ["
|
|
4246
|
+
}, null, 8, ["extensionType", "extension"]))), 128))
|
|
4253
4247
|
])
|
|
4254
4248
|
], 512), [
|
|
4255
4249
|
[q, l.isOpen]
|
|
4256
4250
|
])
|
|
4257
4251
|
]);
|
|
4258
4252
|
}
|
|
4259
|
-
const yn = /* @__PURE__ */ R(bn, [["render", _n], ["__scopeId", "data-v-
|
|
4253
|
+
const yn = /* @__PURE__ */ R(bn, [["render", _n], ["__scopeId", "data-v-3ea16e8c"]]);
|
|
4260
4254
|
const Hn = {
|
|
4261
4255
|
components: {
|
|
4262
|
-
BIMDataButton:
|
|
4263
|
-
BIMDataIcon:
|
|
4256
|
+
BIMDataButton: z,
|
|
4257
|
+
BIMDataIcon: G,
|
|
4264
4258
|
SettingCard: yn
|
|
4265
4259
|
},
|
|
4266
4260
|
props: {
|
|
@@ -4288,7 +4282,7 @@ const Hn = {
|
|
|
4288
4282
|
"extension-deleted"
|
|
4289
4283
|
],
|
|
4290
4284
|
setup(n, { emit: e }) {
|
|
4291
|
-
const a =
|
|
4285
|
+
const a = I1();
|
|
4292
4286
|
return {
|
|
4293
4287
|
EXTENSION_TYPES: t5,
|
|
4294
4288
|
createExtension: async (c) => {
|
|
@@ -4358,7 +4352,7 @@ function wn(n, e, a, l, i, s) {
|
|
|
4358
4352
|
]),
|
|
4359
4353
|
o("div", xn, [
|
|
4360
4354
|
o("div", kn, b(n.$t("BcfComponents.BcfSettings.text")), 1),
|
|
4361
|
-
(r(!0), t(N, null,
|
|
4355
|
+
(r(!0), t(N, null, U(l.EXTENSION_TYPES, (p) => (r(), B(C, {
|
|
4362
4356
|
detailedExtensions: a.detailedExtensions,
|
|
4363
4357
|
extensionType: p,
|
|
4364
4358
|
onCreateExtension: l.createExtension,
|
|
@@ -4369,13 +4363,13 @@ function wn(n, e, a, l, i, s) {
|
|
|
4369
4363
|
]);
|
|
4370
4364
|
}
|
|
4371
4365
|
const Zn = /* @__PURE__ */ R(Hn, [["render", wn], ["__scopeId", "data-v-9e0003a6"]]);
|
|
4372
|
-
var Sn = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
4366
|
+
var Sn = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), g1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (n) => Sn.includes(n) } }, emits: ["click"], computed: { classes() {
|
|
4373
4367
|
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 };
|
|
4374
4368
|
}, style() {
|
|
4375
4369
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
4376
4370
|
} } };
|
|
4377
4371
|
const An = ["color"];
|
|
4378
|
-
function
|
|
4372
|
+
function E(n, e) {
|
|
4379
4373
|
e === void 0 && (e = {});
|
|
4380
4374
|
var a = e.insertAt;
|
|
4381
4375
|
if (n && typeof document < "u") {
|
|
@@ -4383,7 +4377,7 @@ function F(n, e) {
|
|
|
4383
4377
|
i.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(i, l.firstChild) : l.appendChild(i), i.styleSheet ? i.styleSheet.cssText = n : i.appendChild(document.createTextNode(n));
|
|
4384
4378
|
}
|
|
4385
4379
|
}
|
|
4386
|
-
|
|
4380
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
4387
4381
|
/* colors BRAND */
|
|
4388
4382
|
/* colors GREY SHADES - NEUTRAL */
|
|
4389
4383
|
/* color TEXT */
|
|
@@ -4541,7 +4535,7 @@ html[data-v-3f903003] {
|
|
|
4541
4535
|
.primary-font[data-v-3f903003] {
|
|
4542
4536
|
font-family: "roboto", sans-serif;
|
|
4543
4537
|
}`);
|
|
4544
|
-
|
|
4538
|
+
E(`.bimdata-btn {
|
|
4545
4539
|
padding: 0 var(--spacing-unit);
|
|
4546
4540
|
height: -webkit-fit-content;
|
|
4547
4541
|
height: -moz-fit-content;
|
|
@@ -4844,24 +4838,24 @@ F(`.bimdata-btn {
|
|
|
4844
4838
|
.bimdata-btn__ghost:disabled {
|
|
4845
4839
|
color: var(--color-silver-dark);
|
|
4846
4840
|
cursor: auto;
|
|
4847
|
-
}`),
|
|
4848
|
-
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style:
|
|
4849
|
-
},
|
|
4841
|
+
}`), g1.render = function(n, e, a, l, i, s) {
|
|
4842
|
+
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style: y(s.style), onClick: e[0] || (e[0] = (c) => n.$emit("click", c)), color: a.color, type: "button" }, [S(n.$slots, "default")], 14, An);
|
|
4843
|
+
}, g1.__scopeId = "data-v-3f903003", g1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
4850
4844
|
const Tn = { "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" }, Nn = { render: function(n, e) {
|
|
4851
4845
|
return r(), t("path", Tn);
|
|
4852
4846
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
4853
4847
|
var $n = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
4854
4848
|
const K2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
4855
|
-
var
|
|
4849
|
+
var n2 = (n, e) => ({ name: `BIMDataIcon${n}`, components: { [n]: e }, props: { color: { type: String, default: "default", validator: (a) => $n.includes(a) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (a) => Object.keys(K2).includes(a) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
4856
4850
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
4857
4851
|
}, style() {
|
|
4858
4852
|
const a = this.getPixelSize(this.size);
|
|
4859
4853
|
return { width: `${a}px`, minWidth: `${a}px`, height: `${a}px`, minHeight: `${a}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
4860
4854
|
} }, methods: { getPixelSize() {
|
|
4861
4855
|
return this.customSize ? this.customSize : K2[this.size];
|
|
4862
|
-
} } }),
|
|
4856
|
+
} } }), Z1 = n2("Chevron", Nn);
|
|
4863
4857
|
const Rn = ["fill", "color"];
|
|
4864
|
-
|
|
4858
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
4865
4859
|
/* colors BRAND */
|
|
4866
4860
|
/* colors GREY SHADES - NEUTRAL */
|
|
4867
4861
|
/* color TEXT */
|
|
@@ -4930,7 +4924,7 @@ html[data-v-5e440aca] {
|
|
|
4930
4924
|
/* base FONTS -------------------------------------- */
|
|
4931
4925
|
--primary-font: "roboto", sans-serif;
|
|
4932
4926
|
}`);
|
|
4933
|
-
|
|
4927
|
+
E(`.icon-fill--black {
|
|
4934
4928
|
fill: var(--color-black);
|
|
4935
4929
|
}
|
|
4936
4930
|
.icon-fill--default {
|
|
@@ -5013,16 +5007,16 @@ F(`.icon-fill--black {
|
|
|
5013
5007
|
}
|
|
5014
5008
|
.icon-stroke--white {
|
|
5015
5009
|
stroke: var(--color-white);
|
|
5016
|
-
}`),
|
|
5010
|
+
}`), Z1.render = function(n, e, a, l, i, s) {
|
|
5017
5011
|
const c = h("Chevron");
|
|
5018
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
5019
|
-
},
|
|
5012
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, Rn);
|
|
5013
|
+
}, Z1.__scopeId = "data-v-5e440aca", Z1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
5020
5014
|
const On = { "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" }, En = { render: function(n, e) {
|
|
5021
5015
|
return r(), t("path", On);
|
|
5022
5016
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
5023
|
-
var
|
|
5017
|
+
var S1 = n2("DoubleChevron", En);
|
|
5024
5018
|
const Fn = ["fill", "color"];
|
|
5025
|
-
|
|
5019
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
5026
5020
|
/* colors BRAND */
|
|
5027
5021
|
/* colors GREY SHADES - NEUTRAL */
|
|
5028
5022
|
/* color TEXT */
|
|
@@ -5091,7 +5085,7 @@ html[data-v-859297ec] {
|
|
|
5091
5085
|
/* base FONTS -------------------------------------- */
|
|
5092
5086
|
--primary-font: "roboto", sans-serif;
|
|
5093
5087
|
}`);
|
|
5094
|
-
|
|
5088
|
+
E(`.icon-fill--black {
|
|
5095
5089
|
fill: var(--color-black);
|
|
5096
5090
|
}
|
|
5097
5091
|
.icon-fill--default {
|
|
@@ -5174,16 +5168,16 @@ F(`.icon-fill--black {
|
|
|
5174
5168
|
}
|
|
5175
5169
|
.icon-stroke--white {
|
|
5176
5170
|
stroke: var(--color-white);
|
|
5177
|
-
}`),
|
|
5171
|
+
}`), S1.render = function(n, e, a, l, i, s) {
|
|
5178
5172
|
const c = h("DoubleChevron");
|
|
5179
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
5180
|
-
},
|
|
5173
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, Fn);
|
|
5174
|
+
}, S1.__scopeId = "data-v-859297ec", S1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
5181
5175
|
const Pn = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357 11.5L0 20.6836L2.31643 23L11.5 13.8164L20.6836 23L23 20.6836L13.8164 11.5L23 2.31643Z" }, zn = { render: function(n, e) {
|
|
5182
5176
|
return r(), t("path", Pn);
|
|
5183
5177
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
5184
|
-
var
|
|
5178
|
+
var l2 = n2("Close", zn);
|
|
5185
5179
|
const Un = ["fill", "color"];
|
|
5186
|
-
|
|
5180
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
5187
5181
|
/* colors BRAND */
|
|
5188
5182
|
/* colors GREY SHADES - NEUTRAL */
|
|
5189
5183
|
/* color TEXT */
|
|
@@ -5252,7 +5246,7 @@ html[data-v-797f55d8] {
|
|
|
5252
5246
|
/* base FONTS -------------------------------------- */
|
|
5253
5247
|
--primary-font: "roboto", sans-serif;
|
|
5254
5248
|
}`);
|
|
5255
|
-
|
|
5249
|
+
E(`.icon-fill--black {
|
|
5256
5250
|
fill: var(--color-black);
|
|
5257
5251
|
}
|
|
5258
5252
|
.icon-fill--default {
|
|
@@ -5335,16 +5329,16 @@ F(`.icon-fill--black {
|
|
|
5335
5329
|
}
|
|
5336
5330
|
.icon-stroke--white {
|
|
5337
5331
|
stroke: var(--color-white);
|
|
5338
|
-
}`),
|
|
5332
|
+
}`), l2.render = function(n, e, a, l, i, s) {
|
|
5339
5333
|
const c = h("Close");
|
|
5340
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
5341
|
-
},
|
|
5334
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, Un);
|
|
5335
|
+
}, l2.__scopeId = "data-v-797f55d8", l2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
5342
5336
|
const Gn = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.4652C5.27332 14.4652 2.6301 11.822 2.6301 8.54753C2.6301 5.27309 5.27332 2.62986 8.54777 2.62986C11.8222 2.62986 14.4654 5.27309 14.4654 8.54753C14.4654 11.822 11.8222 14.4652 8.54777 14.4652ZM16.438 14.4654H15.3991L15.0309 14.1103C16.3196 12.6112 17.0955 10.665 17.0955 8.54774C17.0955 3.82676 13.2687 0 8.54774 0C3.82676 0 0 3.82676 0 8.54774C0 13.2687 3.82676 17.0955 8.54774 17.0955C10.665 17.0955 12.6112 16.3196 14.1103 15.0309L14.4654 15.3991V16.438L21.0406 23L23 21.0406L16.438 14.4654Z" }, Xn = { render: function(n, e) {
|
|
5343
5337
|
return r(), t("path", Gn);
|
|
5344
5338
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
5345
|
-
var
|
|
5339
|
+
var i2 = n2("Search", Xn);
|
|
5346
5340
|
const Yn = ["fill", "color"];
|
|
5347
|
-
|
|
5341
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
5348
5342
|
/* colors BRAND */
|
|
5349
5343
|
/* colors GREY SHADES - NEUTRAL */
|
|
5350
5344
|
/* color TEXT */
|
|
@@ -5413,7 +5407,7 @@ html[data-v-0993abf8] {
|
|
|
5413
5407
|
/* base FONTS -------------------------------------- */
|
|
5414
5408
|
--primary-font: "roboto", sans-serif;
|
|
5415
5409
|
}`);
|
|
5416
|
-
|
|
5410
|
+
E(`.icon-fill--black {
|
|
5417
5411
|
fill: var(--color-black);
|
|
5418
5412
|
}
|
|
5419
5413
|
.icon-fill--default {
|
|
@@ -5496,13 +5490,13 @@ F(`.icon-fill--black {
|
|
|
5496
5490
|
}
|
|
5497
5491
|
.icon-stroke--white {
|
|
5498
5492
|
stroke: var(--color-white);
|
|
5499
|
-
}`),
|
|
5493
|
+
}`), i2.render = function(n, e, a, l, i, s) {
|
|
5500
5494
|
const c = h("Search");
|
|
5501
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
5502
|
-
},
|
|
5503
|
-
var
|
|
5495
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, Yn);
|
|
5496
|
+
}, i2.__scopeId = "data-v-0993abf8", i2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
5497
|
+
var A1 = { components: { BIMDataIconChevron: Z1, BIMDataIconDoubleChevron: S1, BIMDataButton: g1 }, 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"] };
|
|
5504
5498
|
const Wn = { class: "bimdata-navigation__left m-r-6" }, jn = { key: 0, class: "bimdata-navigation__item" }, Kn = { key: 1, class: "bimdata-navigation__item" }, qn = { key: 2, class: "bimdata-navigation__item" }, Qn = { key: 3, class: "bimdata-navigation__item" }, Jn = { class: "bimdata-navigation__right" };
|
|
5505
|
-
|
|
5499
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
5506
5500
|
/* colors BRAND */
|
|
5507
5501
|
/* colors GREY SHADES - NEUTRAL */
|
|
5508
5502
|
/* color TEXT */
|
|
@@ -5578,7 +5572,7 @@ html[data-v-aa907072] {
|
|
|
5578
5572
|
.bimdata-list li[data-v-aa907072] {
|
|
5579
5573
|
list-style-type: none;
|
|
5580
5574
|
}`);
|
|
5581
|
-
|
|
5575
|
+
E(`.bimdata-navigation[data-v-aa907072] {
|
|
5582
5576
|
display: -webkit-inline-box;
|
|
5583
5577
|
display: -ms-inline-flexbox;
|
|
5584
5578
|
display: inline-flex;
|
|
@@ -5607,11 +5601,11 @@ F(`.bimdata-navigation[data-v-aa907072] {
|
|
|
5607
5601
|
padding: 6px 2px;
|
|
5608
5602
|
font-size: 10px;
|
|
5609
5603
|
cursor: default;
|
|
5610
|
-
}`),
|
|
5604
|
+
}`), A1.render = function(n, e, a, l, i, s) {
|
|
5611
5605
|
const c = h("BIMDataIconDoubleChevron"), d = h("BIMDataButton"), C = h("BIMDataIconChevron");
|
|
5612
|
-
return r(), t("ul", { class: "bimdata-list bimdata-navigation", style:
|
|
5613
|
-
},
|
|
5614
|
-
var
|
|
5606
|
+
return r(), t("ul", { class: "bimdata-list bimdata-navigation", style: y({ "background-color": a.backgroundColor }) }, [o("li", Wn, [S(n.$slots, "left")]), a.first ? (r(), t("li", jn, [u(d, { onClick: e[0] || (e[0] = (p) => n.$emit("first")), disabled: a.firstDisabled, ghost: "", class: D({ disabled: a.firstDisabled }), width: "21px", height: "21px" }, { default: L(() => [u(c, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : M("v-if", !0), a.previous ? (r(), t("li", Kn, [u(d, { onClick: e[1] || (e[1] = (p) => n.$emit("previous")), disabled: a.previousDisabled, ghost: "", class: D({ disabled: a.previousDisabled }), width: "21px", height: "21px" }, { default: L(() => [u(C, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : M("v-if", !0), o("li", null, [S(n.$slots, "default")]), a.next ? (r(), t("li", qn, [u(d, { onClick: e[2] || (e[2] = (p) => n.$emit("next")), disabled: a.nextDisabled, ghost: "", class: D({ disabled: a.nextDisabled }), width: "21px", height: "21px" }, { default: L(() => [u(C, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : M("v-if", !0), a.last ? (r(), t("li", Qn, [u(d, { onClick: e[3] || (e[3] = (p) => n.$emit("last")), disabled: a.lastDisabled, ghost: "", class: D({ disabled: a.lastDisabled }), width: "21px", height: "21px" }, { default: L(() => [u(c, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : M("v-if", !0), o("li", Jn, [S(n.$slots, "right")])], 4);
|
|
5607
|
+
}, A1.__scopeId = "data-v-aa907072", A1.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
|
|
5608
|
+
var T1 = { components: { BIMDataNavigation: A1, BIMDataButton: g1 }, 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: (n) => n > 0 } }, emits: ["pagechanged"], computed: { firstIndex() {
|
|
5615
5609
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
5616
5610
|
}, lastIndex() {
|
|
5617
5611
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -5629,7 +5623,7 @@ var N1 = { components: { BIMDataNavigation: T1, BIMDataButton: h1 }, props: { le
|
|
|
5629
5623
|
this.$emit("pagechanged", this.totalPages);
|
|
5630
5624
|
} } };
|
|
5631
5625
|
const n8 = { class: "bimdata-pagination__item" };
|
|
5632
|
-
|
|
5626
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
5633
5627
|
/* colors BRAND */
|
|
5634
5628
|
/* colors GREY SHADES - NEUTRAL */
|
|
5635
5629
|
/* color TEXT */
|
|
@@ -5698,7 +5692,7 @@ html[data-v-45066753] {
|
|
|
5698
5692
|
/* base FONTS -------------------------------------- */
|
|
5699
5693
|
--primary-font: "roboto", sans-serif;
|
|
5700
5694
|
}`);
|
|
5701
|
-
|
|
5695
|
+
E(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
5702
5696
|
padding: 0;
|
|
5703
5697
|
-webkit-box-pack: center;
|
|
5704
5698
|
-ms-flex-pack: center;
|
|
@@ -5706,16 +5700,16 @@ F(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
|
5706
5700
|
}
|
|
5707
5701
|
.bimdata-pagination__item.active .bimdata-btn[data-v-45066753] {
|
|
5708
5702
|
font-weight: 700;
|
|
5709
|
-
}`),
|
|
5703
|
+
}`), T1.render = function(n, e, a, l, i, s) {
|
|
5710
5704
|
const c = h("BIMDataButton"), d = h("BIMDataNavigation");
|
|
5711
5705
|
return r(), B(d, { onFirst: e[0] || (e[0] = (C) => s.firstPage()), onPrevious: e[1] || (e[1] = (C) => s.previousPage()), onNext: e[2] || (e[2] = (C) => s.nextPage()), onLast: e[3] || (e[3] = (C) => s.lastPage()), firstDisabled: s.isFirstPage, previousDisabled: s.isFirstPage, nextDisabled: s.isLastPage, lastDisabled: s.isLastPage, class: "bimdata-pagination", backgroundColor: a.backgroundColor }, M5({ default: L(() => [o("span", n8, [u(c, { ghost: "", width: "21px", height: "21px" }, { default: L(() => [w(b(a.currentPage), 1)]), _: 1 })])]), _: 2 }, [a.numberDataElements ? { name: "left", fn: L(() => [w(b(s.firstIndex) + " - " + b(s.lastIndex) + " of " + b(a.length), 1)]), key: "0" } : void 0]), 1032, ["firstDisabled", "previousDisabled", "nextDisabled", "lastDisabled", "backgroundColor"]);
|
|
5712
|
-
},
|
|
5713
|
-
var
|
|
5706
|
+
}, T1.__scopeId = "data-v-45066753", T1.__file = "src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue";
|
|
5707
|
+
var N1 = { props: ["size", "border"], methods: { getStyle() {
|
|
5714
5708
|
if (this.size)
|
|
5715
5709
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
5716
5710
|
} } };
|
|
5717
5711
|
const e8 = { class: "bimdata-spinner" };
|
|
5718
|
-
|
|
5712
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
5719
5713
|
/* colors BRAND */
|
|
5720
5714
|
/* colors GREY SHADES - NEUTRAL */
|
|
5721
5715
|
/* color TEXT */
|
|
@@ -5784,7 +5778,7 @@ html[data-v-162f2cc6] {
|
|
|
5784
5778
|
/* base FONTS -------------------------------------- */
|
|
5785
5779
|
--primary-font: "roboto", sans-serif;
|
|
5786
5780
|
}`);
|
|
5787
|
-
|
|
5781
|
+
E(`@-webkit-keyframes bimdataspinner {
|
|
5788
5782
|
0% {
|
|
5789
5783
|
-webkit-transform: scale(0.2);
|
|
5790
5784
|
transform: scale(0.2);
|
|
@@ -5863,10 +5857,10 @@ F(`@-webkit-keyframes bimdataspinner {
|
|
|
5863
5857
|
border: 2px var(--color-primary) solid;
|
|
5864
5858
|
-webkit-animation: bimdataspinner 1.4s linear infinite;
|
|
5865
5859
|
animation: bimdataspinner 1.4s linear infinite;
|
|
5866
|
-
}`),
|
|
5867
|
-
return r(), t("div", e8, [o("div", { class: "bimdata-spinner--square", style:
|
|
5868
|
-
},
|
|
5869
|
-
var
|
|
5860
|
+
}`), N1.render = function(n, e, a, l, i, s) {
|
|
5861
|
+
return r(), t("div", e8, [o("div", { class: "bimdata-spinner--square", style: y(s.getStyle()) }, null, 4)]);
|
|
5862
|
+
}, N1.__scopeId = "data-v-162f2cc6", N1.__file = "src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue";
|
|
5863
|
+
var $1 = { components: { BIMDataPagination: T1, BIMDataSpinner: N1 }, props: { list: { type: Array, default: () => [] }, perPage: { type: Number, default: 10, validator: (n) => n > 0 }, elementKey: { type: String }, loading: { type: Boolean, default: !1 }, first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, numberDataElements: { type: Boolean, default: !0 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["element-click"], data: () => ({ currentPage: 1 }), computed: { totalPages() {
|
|
5870
5864
|
return this.list.length ? Math.ceil(this.list.length / this.perPage) : 0;
|
|
5871
5865
|
}, page() {
|
|
5872
5866
|
const n = this.perPage * (this.currentPage - 1), e = n + this.perPage;
|
|
@@ -5877,7 +5871,7 @@ var R1 = { components: { BIMDataPagination: N1, BIMDataSpinner: $1 }, props: { l
|
|
|
5877
5871
|
this.currentPage = n;
|
|
5878
5872
|
} } };
|
|
5879
5873
|
const o8 = { class: "bimdata-paginated-list" }, r8 = { key: 1 }, t8 = { class: "bimdata-list bimdata-paginated-list__elements" }, a8 = ["onClick"];
|
|
5880
|
-
|
|
5874
|
+
E(`/* base COLORS --------------------------------------------- */
|
|
5881
5875
|
/* colors BRAND */
|
|
5882
5876
|
/* colors GREY SHADES - NEUTRAL */
|
|
5883
5877
|
/* color TEXT */
|
|
@@ -5953,7 +5947,7 @@ html[data-v-3ab4d75d] {
|
|
|
5953
5947
|
.bimdata-list li[data-v-3ab4d75d] {
|
|
5954
5948
|
list-style-type: none;
|
|
5955
5949
|
}`);
|
|
5956
|
-
|
|
5950
|
+
E(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
5957
5951
|
font-family: var(--primary-font);
|
|
5958
5952
|
font-size: 1em;
|
|
5959
5953
|
line-height: 1.5;
|
|
@@ -5990,11 +5984,11 @@ F(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
|
5990
5984
|
-webkit-box-pack: center;
|
|
5991
5985
|
-ms-flex-pack: center;
|
|
5992
5986
|
justify-content: center;
|
|
5993
|
-
}`),
|
|
5987
|
+
}`), $1.render = function(n, e, a, l, i, s) {
|
|
5994
5988
|
const c = h("BIMDataSpinner"), d = h("BIMDataPagination");
|
|
5995
|
-
return r(), t("div", o8, [a.loading ? (r(), B(c, { key: 0 })) : (r(), t("div", r8, [
|
|
5996
|
-
},
|
|
5997
|
-
var
|
|
5989
|
+
return r(), t("div", o8, [a.loading ? (r(), B(c, { key: 0 })) : (r(), t("div", r8, [S(n.$slots, "header"), o("ul", t8, [(r(!0), t(N, null, U(s.page, (C) => (r(), t("li", { key: a.elementKey ? C[a.elementKey] : C, onClick: (p) => n.$emit("element-click", C) }, [S(n.$slots, "element", { element: C }, () => [w(b(C && C.toString()), 1)])], 8, a8))), 128))]), a.list.length === 0 ? S(n.$slots, "empty", { key: 0 }) : M("v-if", !0), s.totalPages > 1 ? (r(), B(d, { key: 1, length: a.list.length, currentPage: i.currentPage, onPagechanged: s.onPageChange, totalPages: s.totalPages, perPage: a.perPage, first: a.first, last: a.last, numberDataElements: a.numberDataElements, backgroundColor: a.backgroundColor }, null, 8, ["length", "currentPage", "onPagechanged", "totalPages", "perPage", "first", "last", "numberDataElements", "backgroundColor"])) : M("v-if", !0)]))]);
|
|
5990
|
+
}, $1.__scopeId = "data-v-3ab4d75d", $1.__file = "src/BIMDataComponents/BIMDataPaginatedList/BIMDataPaginatedList.vue";
|
|
5991
|
+
var R1 = { props: { barsData: { type: Array, default: () => [] }, barDistanceFromCenter: { type: Number, default: 50 }, barStrokeWidth: { type: Number, default: 10 }, placeholder: { type: Boolean, default: !1 }, placeholderStrokeWidth: { type: Number, default: 4 }, placeholderColor: { type: String, default: "#EBEBEB" }, graphDrawTime: { type: Number, default: 4 } }, computed: { roundCapPercentageOffset() {
|
|
5998
5992
|
return (this.barStrokeWidth / 2 - 4) / (2 * this.barDistanceFromCenter * Math.PI) * 100;
|
|
5999
5993
|
}, center() {
|
|
6000
5994
|
return this.viewBoxSize / 2;
|
|
@@ -6046,13 +6040,13 @@ to {
|
|
|
6046
6040
|
to {
|
|
6047
6041
|
stroke-dashoffset: 0;
|
|
6048
6042
|
}
|
|
6049
|
-
}`),
|
|
6050
|
-
return r(), t("div", l8, [(r(), t("svg", { viewBox: s.viewBox, style:
|
|
6051
|
-
},
|
|
6043
|
+
}`), R1.render = function(n, e, a, l, i, s) {
|
|
6044
|
+
return r(), t("div", l8, [(r(), t("svg", { viewBox: s.viewBox, style: y(`--graph-draw-time: ${a.graphDrawTime}s;`) }, [a.placeholder ? (r(), t("circle", { key: 0, cx: s.center, cy: s.center, r: a.barDistanceFromCenter, "stroke-width": a.placeholderStrokeWidth, stroke: a.placeholderColor, fill: "none" }, null, 8, c8)) : M("v-if", !0), (r(!0), t(N, null, U(s.displayedBarsData, (c, d) => (r(), t("g", { key: d }, [c.percentage > 0 ? (r(), t("path", { key: 0, class: "path", d: s.getPath(c), "stroke-width": a.barStrokeWidth, stroke: c.color, fill: "none" }, null, 8, s8)) : M("v-if", !0)]))), 128))], 12, i8))], 512);
|
|
6045
|
+
}, R1.__scopeId = "data-v-b68a8bb2", R1.__file = "src/BIMDataComponents/BIMDataSimplePieChart/BIMDataSimplePieChart.vue";
|
|
6052
6046
|
const d8 = {
|
|
6053
6047
|
components: {
|
|
6054
|
-
BIMDataPaginatedList:
|
|
6055
|
-
BIMDataSimplePieChart:
|
|
6048
|
+
BIMDataPaginatedList: $1,
|
|
6049
|
+
BIMDataSimplePieChart: R1
|
|
6056
6050
|
},
|
|
6057
6051
|
props: {
|
|
6058
6052
|
detailedExtensions: {
|
|
@@ -6069,16 +6063,16 @@ const d8 = {
|
|
|
6069
6063
|
},
|
|
6070
6064
|
setup(n) {
|
|
6071
6065
|
return {
|
|
6072
|
-
chartData:
|
|
6066
|
+
chartData: A(() => {
|
|
6073
6067
|
if (n.topics.length === 0)
|
|
6074
6068
|
return [];
|
|
6075
|
-
const a =
|
|
6069
|
+
const a = c1(n.extensionType), l = u5(n.extensionType, n.detailedExtensions);
|
|
6076
6070
|
return l.push({ [a]: void 0 }), l.map((i) => {
|
|
6077
6071
|
var c;
|
|
6078
6072
|
const s = n.topics.filter((d) => d[a] === i[a]).length;
|
|
6079
6073
|
return {
|
|
6080
6074
|
label: i[a],
|
|
6081
|
-
color: `#${(c = i.color) != null ? c :
|
|
6075
|
+
color: `#${(c = i.color) != null ? c : D2}`,
|
|
6082
6076
|
count: s,
|
|
6083
6077
|
percentage: s * 100 / n.topics.length
|
|
6084
6078
|
};
|
|
@@ -6112,7 +6106,7 @@ function v8(n, e, a, l, i, s) {
|
|
|
6112
6106
|
o("div", g8, [
|
|
6113
6107
|
o("span", {
|
|
6114
6108
|
class: "bcf-statistics__content__legend__item__mark",
|
|
6115
|
-
style:
|
|
6109
|
+
style: y({ borderColor: C.color })
|
|
6116
6110
|
}, null, 4),
|
|
6117
6111
|
o("span", h8, b(C.percentage.toFixed(0)) + " % ", 1),
|
|
6118
6112
|
o("span", f8, [
|
|
@@ -6336,7 +6330,7 @@ html[data-v-330fe2fd] {
|
|
|
6336
6330
|
-webkit-transform: rotate(45deg);
|
|
6337
6331
|
transform: rotate(45deg);
|
|
6338
6332
|
}`), n1.render = function(n, e, a, l, i, s) {
|
|
6339
|
-
return r(), t("div", { ref: "textBox", class: "bimdata-textbox", style:
|
|
6333
|
+
return r(), t("div", { ref: "textBox", class: "bimdata-textbox", style: y({ width: a.width, minWidth: a.minWidth, maxWidth: a.maxWidth }), onMouseenter: e[0] || (e[0] = (c) => i.showTooltip = !0), onMouseleave: e[1] || (e[1] = (c) => i.showTooltip = !1) }, [o("span", { ref: "textHead", class: "bimdata-textbox__text--head", style: y({ width: i.textTail ? "50%" : "100%", direction: a.cutPosition === "start" ? "rtl" : "ltr" }) }, [o("bdi", null, b(i.textHead), 1)], 4), X(o("span", I8, [o("bdi", null, b(i.textTail), 1)], 512), [[q, i.textTail]]), a.tooltip && i.isOverflowing ? X((r(), t("div", { key: 0, class: D(["bimdata-textbox__tooltip", [`bimdata-textbox__tooltip--${a.tooltipPosition}`, `bimdata-textbox__tooltip--${a.tooltipColor}`]]) }, b(a.text), 3)), [[q, i.showTooltip]]) : M("v-if", !0)], 36);
|
|
6340
6334
|
}, n1.__scopeId = "data-v-330fe2fd", n1.__file = "src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
|
|
6341
6335
|
const M8 = {}, _8 = {
|
|
6342
6336
|
width: "84",
|
|
@@ -6350,12 +6344,12 @@ const M8 = {}, _8 = {
|
|
|
6350
6344
|
function V8(n, e) {
|
|
6351
6345
|
return r(), t("svg", _8, H8);
|
|
6352
6346
|
}
|
|
6353
|
-
const
|
|
6347
|
+
const T2 = /* @__PURE__ */ R(M8, [["render", V8]]);
|
|
6354
6348
|
const B8 = {
|
|
6355
6349
|
components: {
|
|
6356
|
-
BcfTopicDefaultImage:
|
|
6357
|
-
BIMDataButton:
|
|
6358
|
-
BIMDataIcon:
|
|
6350
|
+
BcfTopicDefaultImage: T2,
|
|
6351
|
+
BIMDataButton: z,
|
|
6352
|
+
BIMDataIcon: G,
|
|
6359
6353
|
BIMDataTextbox: n1
|
|
6360
6354
|
},
|
|
6361
6355
|
props: {
|
|
@@ -6372,13 +6366,13 @@ const B8 = {
|
|
|
6372
6366
|
"open-topic"
|
|
6373
6367
|
],
|
|
6374
6368
|
setup(n, { emit: e }) {
|
|
6375
|
-
const a =
|
|
6369
|
+
const a = A(() => n.topic.viewpoints.filter(
|
|
6376
6370
|
(c) => Boolean(c.snapshot)
|
|
6377
|
-
)), l =
|
|
6378
|
-
() =>
|
|
6379
|
-
), i =
|
|
6380
|
-
() =>
|
|
6381
|
-
), s =
|
|
6371
|
+
)), l = A(
|
|
6372
|
+
() => d1(n.topic, n.detailedExtensions)
|
|
6373
|
+
), i = A(
|
|
6374
|
+
() => S2(n.topic, n.detailedExtensions)
|
|
6375
|
+
), s = A(() => {
|
|
6382
6376
|
var d, C;
|
|
6383
6377
|
const c = (C = (d = n.topic.viewpoints) == null ? void 0 : d[0]) == null ? void 0 : C.components;
|
|
6384
6378
|
return (c == null ? void 0 : c.selection) || [];
|
|
@@ -6388,7 +6382,7 @@ const B8 = {
|
|
|
6388
6382
|
statusColor: i,
|
|
6389
6383
|
topicObjects: s,
|
|
6390
6384
|
viewpointsWithSnapshot: a,
|
|
6391
|
-
adjustTextColor:
|
|
6385
|
+
adjustTextColor: Q1
|
|
6392
6386
|
};
|
|
6393
6387
|
}
|
|
6394
6388
|
}, D8 = { class: "bcf-topic-card" }, x8 = { class: "bcf-topic-card__header" }, k8 = { class: "bcf-topic-card__header__infos flex" }, w8 = { class: "bcf-topic-card__header__infos__title flex items-center m-l-12" }, Z8 = { class: "bcf-topic-card__header__img flex items-center justify-center" }, S8 = { class: "m-l-6" }, A8 = { class: "bcf-topic-card__header__img__date p-6" }, T8 = ["src"], N8 = { class: "bcf-topic-card__content p-12" }, $8 = { class: "bcf-topic-card__content__priority" }, R8 = { class: "flex justify-around m-t-12" }, O8 = { class: "flex items-center" }, E8 = {
|
|
@@ -6402,7 +6396,7 @@ function F8(n, e, a, l, i, s) {
|
|
|
6402
6396
|
o("div", k8, [
|
|
6403
6397
|
o("div", {
|
|
6404
6398
|
class: "bcf-topic-card__header__infos__index flex items-center justify-center",
|
|
6405
|
-
style:
|
|
6399
|
+
style: y({
|
|
6406
6400
|
"background-color": `#${l.priorityColor}`,
|
|
6407
6401
|
color: l.adjustTextColor(`#${l.priorityColor}`, "#ffffff", "var(--color-text)")
|
|
6408
6402
|
})
|
|
@@ -6418,7 +6412,7 @@ function F8(n, e, a, l, i, s) {
|
|
|
6418
6412
|
a.topic.topic_status ? (r(), t("div", {
|
|
6419
6413
|
key: 0,
|
|
6420
6414
|
class: "bcf-topic-card__header__img__status flex p-6",
|
|
6421
|
-
style:
|
|
6415
|
+
style: y({
|
|
6422
6416
|
"background-color": `#${l.statusColor}`,
|
|
6423
6417
|
color: l.adjustTextColor(`#${l.statusColor}`, "#ffffff", "var(--color-text)")
|
|
6424
6418
|
})
|
|
@@ -6446,7 +6440,7 @@ function F8(n, e, a, l, i, s) {
|
|
|
6446
6440
|
o("div", $8, [
|
|
6447
6441
|
o("strong", null, b(n.$t("BcfComponents.BcfTopicCard.priority")), 1),
|
|
6448
6442
|
o("span", {
|
|
6449
|
-
style:
|
|
6443
|
+
style: y({ color: `#${l.priorityColor}` })
|
|
6450
6444
|
}, b(a.topic.priority || n.$t("BcfComponents.BcfTopicCard.noPriority")), 5)
|
|
6451
6445
|
]),
|
|
6452
6446
|
o("div", null, [
|
|
@@ -6497,8 +6491,8 @@ const W8 = /* @__PURE__ */ R(z8, [["render", Y8]]);
|
|
|
6497
6491
|
const j8 = {
|
|
6498
6492
|
components: {
|
|
6499
6493
|
BcfTopicCreationCardImage: W8,
|
|
6500
|
-
BIMDataButton:
|
|
6501
|
-
BIMDataIcon:
|
|
6494
|
+
BIMDataButton: z,
|
|
6495
|
+
BIMDataIcon: G
|
|
6502
6496
|
},
|
|
6503
6497
|
emits: ["create-topic"]
|
|
6504
6498
|
}, K8 = { class: "bcf-topic-creation-card" }, q8 = { class: "bcf-topic-creation-card__text" };
|
|
@@ -6529,7 +6523,7 @@ function Q8(n, e, a, l, i, s) {
|
|
|
6529
6523
|
]);
|
|
6530
6524
|
}
|
|
6531
6525
|
const J8 = /* @__PURE__ */ R(j8, [["render", Q8], ["__scopeId", "data-v-af2c3cbc"]]);
|
|
6532
|
-
var
|
|
6526
|
+
var y2 = { props: { component: { type: String, default: "p" }, display: { type: String, default: "inline-block" }, fontSize: { type: String }, fontWeight: { type: String }, lineHeight: { type: String }, margin: { type: String, default: "0px" }, padding: { type: String, default: "0px" }, color: { type: String, default: "color-granite-light", validator: (n) => ["color-primary", "color-secondary", "color-silver", "color-silver-light", "color-silver-dark", "color-granite-light", "color-granite", "color-white", "color-black", "color-high", "color-warning", "color-success"].includes(n) } }, computed: { classes() {
|
|
6533
6527
|
return `${this.color}`;
|
|
6534
6528
|
}, style() {
|
|
6535
6529
|
return { fontSize: `${this.calcFontSize}`, lineHeight: `${this.calcLineHeight}`, display: `${this.display}`, fontWeight: `${this.calcFontWeight}`, margin: `${this.margin}`, padding: `${this.padding}` };
|
|
@@ -6540,10 +6534,10 @@ var H2 = { props: { component: { type: String, default: "p" }, display: { type:
|
|
|
6540
6534
|
}, calcLineHeight() {
|
|
6541
6535
|
return this.lineHeight ? this.lineHeight : this.component === "h1" ? "36px" : this.component === "h2" ? "30px" : this.component === "h3" ? "26px" : this.component === "h4" ? "24px" : this.component === "h5" ? "20px" : "18px";
|
|
6542
6536
|
} } };
|
|
6543
|
-
|
|
6544
|
-
return r(), B(
|
|
6545
|
-
},
|
|
6546
|
-
var a1 = { components: { BIMDataText:
|
|
6537
|
+
y2.render = function(n, e, a, l, i, s) {
|
|
6538
|
+
return r(), B(v1(a.component), { style: y(s.style), class: D(s.classes) }, { default: L(() => [S(n.$slots, "default")]), _: 3 }, 8, ["style", "class"]);
|
|
6539
|
+
}, y2.__file = "src/BIMDataComponents/BIMDataText/BIMDataText.vue";
|
|
6540
|
+
var a1 = { components: { BIMDataText: y2 }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
|
|
6547
6541
|
const ne = { class: "bimdata-loading" }, ee = ((n) => (e1("data-v-6d3be186"), n = n(), o1(), n))(() => o("span", { class: "bimdata-loading--square" }, null, -1));
|
|
6548
6542
|
function f5(n, e) {
|
|
6549
6543
|
e === void 0 && (e = {});
|
|
@@ -7040,7 +7034,7 @@ const oe = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
7040
7034
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
7041
7035
|
var q2 = { addFile: re, addFolder: ae, addUser: ie, alphabeticalAscending: se, alphabeticalDescending: ue, alphabeticalSort: pe, alt: ge, angle: fe, api: ve, archive: Ie, arrow: _e, attach: He, backInTime: De, bcf: ke, building: Ze, burgerMenu: Ae, calendar: Ne, caliper: Re, camera: Ee, cancelCamera: Pe, check: Ue, chevron: Xe, classificationCategorie: We, classificationElement: Ke, click: Qe, close: no, cloud: oo, color: to, comment: lo, cursor: co, dateAscending: uo, dateDescending: po, default: go, delete: fo, deniedFile: vo, deploy: Io, detach: _o, distance: Ho, doubleChevron: Bo, down: xo, download: wo, drag: So, edit: To, ellipsis: $o, expanded: Oo, explosion: Fo, export: zo, exportIfc: Go, failed: Yo, filter: jo, fitView: qo, folder: Jo, folderMove: er, folderOpen: rr, fullscreen: ar, grid: ir, group: sr, hide: ur, ifc: pr, ifcFile: gr, import: fr, indexAscending: vr, indexDescending: Ir, information: _r, inProgressFile: Hr, invitation: Br, isolate: xr, key: wr, left: Sr, linkedDocument: Tr, list: $r, listManage: Or, location: Fr, lock: zr, logout: Gr, measure: Yr, minus: jr, model3d: qr, organization: Jr, parameters: et, path: rt, pieGraph: at, plus: it, project: st, quickSelect: ut, readonlyFolder: pt, redo: gt, reduced: ft, refresh: vt, reprocessIfc: It, reset: _t, right: Ht, rules: Bt, sandglass: xt, save: wt, screenConfig: St, screenshot: Tt, search: $t, section: Ot, settings: Ft, share: zt, show: Gt, showSelected: Yt, socotec: jt, space: qt, split: Jt, storey: ea, success: ra, surface: aa, swap: ia, synchro2d: sa, system: ua, tag: ba, tree: ha, unarchive: La, undo: ma, union: Ma, up: ya, user: Va, validate: Da, validatedFile: ka, versioning: Sa, video: Ta, visa: $a, warning: Oa, windowBottom: Fa, windowed: za, windowLeft: Ga, windowRight: Ya, windowTop: ja, zone: qa, bcfPolychrome: Ja, createWindowPolychrome: el, docInfoPolychrome: rl, fileDwgPolychrome: al, fileIfcPolychrome: il, filePdfPolychrome: sl, filePlanPolychrome: ul, folderPolychrome: pl, structurePolychrome: gl, viewer2dPolychrome: fl, viewer3dPolychrome: vl }, ml = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
7042
7036
|
const Q2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
7043
|
-
var
|
|
7037
|
+
var O1 = { name: "BIMDataIcon", components: { ...function(n = {}) {
|
|
7044
7038
|
return Object.entries(n).reduce((e, [a, l]) => ({ ...e, [`bimdata-icon-${a}`]: l }), {});
|
|
7045
7039
|
}(q2) }, props: { name: { type: String, required: !0, validator: (n) => Object.keys(q2).includes(n) }, color: { type: String, default: "default", validator: (n) => ml.includes(n) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (n) => Object.keys(Q2).includes(n) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
7046
7040
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
@@ -7051,7 +7045,7 @@ var E1 = { name: "BIMDataIcon", components: { ...function(n = {}) {
|
|
|
7051
7045
|
return this.customSize ? this.customSize : Q2[this.size];
|
|
7052
7046
|
} } };
|
|
7053
7047
|
const Il = ["fill", "color"];
|
|
7054
|
-
function
|
|
7048
|
+
function N2(n, e) {
|
|
7055
7049
|
e === void 0 && (e = {});
|
|
7056
7050
|
var a = e.insertAt;
|
|
7057
7051
|
if (n && typeof document < "u") {
|
|
@@ -7059,7 +7053,7 @@ function $2(n, e) {
|
|
|
7059
7053
|
i.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(i, l.firstChild) : l.appendChild(i), i.styleSheet ? i.styleSheet.cssText = n : i.appendChild(document.createTextNode(n));
|
|
7060
7054
|
}
|
|
7061
7055
|
}
|
|
7062
|
-
|
|
7056
|
+
N2(`/* base COLORS --------------------------------------------- */
|
|
7063
7057
|
/* colors BRAND */
|
|
7064
7058
|
/* colors GREY SHADES - NEUTRAL */
|
|
7065
7059
|
/* color TEXT */
|
|
@@ -7128,7 +7122,7 @@ html[data-v-1312d4d1] {
|
|
|
7128
7122
|
/* base FONTS -------------------------------------- */
|
|
7129
7123
|
--primary-font: "roboto", sans-serif;
|
|
7130
7124
|
}`);
|
|
7131
|
-
|
|
7125
|
+
N2(`.icon-fill--black {
|
|
7132
7126
|
fill: var(--color-black);
|
|
7133
7127
|
}
|
|
7134
7128
|
.icon-fill--default {
|
|
@@ -7211,12 +7205,12 @@ $2(`.icon-fill--black {
|
|
|
7211
7205
|
}
|
|
7212
7206
|
.icon-stroke--white {
|
|
7213
7207
|
stroke: var(--color-white);
|
|
7214
|
-
}`),
|
|
7215
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: D(s.classes), style:
|
|
7216
|
-
},
|
|
7217
|
-
var
|
|
7208
|
+
}`), O1.render = function(n, e, a, l, i, s) {
|
|
7209
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: D(s.classes), style: y(s.style) }, [(r(), B(v1(`bimdata-icon-${a.name}`)))], 14, Il);
|
|
7210
|
+
}, O1.__scopeId = "data-v-1312d4d1", O1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
7211
|
+
var h1 = { components: { BIMDataIcon: O1 }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } };
|
|
7218
7212
|
const Ml = { class: "overlay flex items-center justify-center" }, _l = { class: "safe-zone__content flex flex-col items-center justify-center p-18" }, yl = { class: "safe-zone__actions flex items-center p-x-18" };
|
|
7219
|
-
|
|
7213
|
+
N2(`.overlay[data-v-1bd53efd] {
|
|
7220
7214
|
position: absolute;
|
|
7221
7215
|
left: 0;
|
|
7222
7216
|
top: 0;
|
|
@@ -7252,11 +7246,11 @@ $2(`.overlay[data-v-1bd53efd] {
|
|
|
7252
7246
|
justify-content: space-evenly;
|
|
7253
7247
|
background-color: var(--color-silver-light);
|
|
7254
7248
|
border-top: 1px solid var(--color-silver);
|
|
7255
|
-
}`),
|
|
7249
|
+
}`), h1.render = function(n, e, a, l, i, s) {
|
|
7256
7250
|
const c = h("BIMDataIcon");
|
|
7257
|
-
return r(), t("div", Ml, [o("div", { class: "safe-zone", style:
|
|
7258
|
-
},
|
|
7259
|
-
var
|
|
7251
|
+
return r(), t("div", Ml, [o("div", { class: "safe-zone", style: y({ width: a.width }) }, [o("div", _l, [u(c, { name: a.iconName, size: "l", fill: "", color: "high" }, null, 8, ["name"]), o("p", null, [S(n.$slots, "text")])]), o("div", yl, [S(n.$slots, "actions")])], 4)]);
|
|
7252
|
+
}, h1.__scopeId = "data-v-1bd53efd", h1.__file = "src/BIMDataComponents/BIMDataSafeZoneModal/BIMDataSafeZoneModal.vue";
|
|
7253
|
+
var s1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { name: { type: [String, Number], default: "" }, resizable: { type: Boolean, default: !0 }, modelValue: { type: [String, Number], default: null }, placeholder: { type: String, default: null }, label: { type: String, default: "" }, width: { type: [Number, String], default: "150px" }, height: { type: [Number, String], default: "32px" }, error: { type: Boolean, default: !1 }, success: { type: Boolean, default: !1 }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, fitContent: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], created() {
|
|
7260
7254
|
this.$watch(() => this.success && this.error, (n) => {
|
|
7261
7255
|
if (n)
|
|
7262
7256
|
throw new Error("Textarea state cannot be both success and error.");
|
|
@@ -7545,10 +7539,10 @@ L5(`textarea:-webkit-autofill {
|
|
|
7545
7539
|
}
|
|
7546
7540
|
.bimdata-textarea.success .bar::before, .bimdata-textarea.success .bar::after {
|
|
7547
7541
|
background-color: var(--color-success);
|
|
7548
|
-
}`),
|
|
7549
|
-
return r(), t("div", { class: D(["bimdata-textarea", { "not-empty": a.modelValue !== null && a.modelValue !== "" || a.placeholder !== null, error: a.error, success: a.success }]), style:
|
|
7550
|
-
},
|
|
7551
|
-
var
|
|
7542
|
+
}`), s1.render = function(n, e, a, l, i, s) {
|
|
7543
|
+
return r(), t("div", { class: D(["bimdata-textarea", { "not-empty": a.modelValue !== null && a.modelValue !== "" || a.placeholder !== null, error: a.error, success: a.success }]), style: y({ "min-width": a.width, "min-height": a.height }) }, [o("textarea", H2({ ref: "textarea", name: a.name, id: a.name, value: a.modelValue, placeholder: a.placeholder, style: a.resizable ? "" : "resize: none;", onInput: e[0] || (e[0] = (...c) => s.onInput && s.onInput(...c)) }, n.$attrs), null, 16, Hl), o("label", { for: a.name }, b(a.label), 9, Vl), Bl, a.error ? (r(), t("span", Dl, b(a.errorMessage), 1)) : M("v-if", !0), a.success ? (r(), t("span", xl, b(a.successMessage), 1)) : M("v-if", !0)], 6);
|
|
7544
|
+
}, s1.__scopeId = "data-v-76eaf75a", s1.__file = "src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue";
|
|
7545
|
+
var f1 = { props: { text: { type: String, default: "" }, maxWidth: { type: String, default: "240px" }, position: { type: String, default: "bottom", validator: (n) => ["top", "right", "bottom", "left"].includes(n) }, color: { type: String, default: "primary", validator: (n) => ["white", "primary", "secondary", "granite-light", "silver-light", "success", "warning", "high"].includes(n) }, disabled: { type: Boolean, default: !1 }, message: { type: String }, className: { type: [String, Array] } }, data: () => ({ width: null, height: null, parentHeight: null, hover: !1 }), computed: { isDisplayed() {
|
|
7552
7546
|
return !this.disabled && this._text && this.hover;
|
|
7553
7547
|
}, _text() {
|
|
7554
7548
|
return this.text || this.message;
|
|
@@ -7846,13 +7840,13 @@ html[data-v-41eb8f46] {
|
|
|
7846
7840
|
}
|
|
7847
7841
|
.bimdata-tooltip__tooltip--high[data-v-41eb8f46]::before {
|
|
7848
7842
|
border-color: var(--color-high) transparent transparent;
|
|
7849
|
-
}`),
|
|
7850
|
-
return r(), t("div", kl, [o("div", { class: "bimdata-tooltip__content", onMouseover: e[0] || (e[0] = (c) => i.hover = !0), onMouseleave: e[1] || (e[1] = (c) => i.hover = !1) }, [M(' slot "content" for retro-compatibility '),
|
|
7851
|
-
},
|
|
7843
|
+
}`), f1.render = function(n, e, a, l, i, s) {
|
|
7844
|
+
return r(), t("div", kl, [o("div", { class: "bimdata-tooltip__content", onMouseover: e[0] || (e[0] = (c) => i.hover = !0), onMouseleave: e[1] || (e[1] = (c) => i.hover = !1) }, [M(' slot "content" for retro-compatibility '), S(n.$slots, "content"), S(n.$slots, "default")], 32), u(m1, { name: "fade", persisted: "" }, { default: L(() => [X(o("div", { ref: "tooltipText", class: D(["bimdata-tooltip__tooltip", [`bimdata-tooltip__tooltip--${a.position}`, `bimdata-tooltip__tooltip--${a.color}`, ...s._className]]), style: y({ maxWidth: a.maxWidth }) }, b(s._text), 7), [[q, s.isDisplayed]])]), _: 1 })]);
|
|
7845
|
+
}, f1.__scopeId = "data-v-41eb8f46", f1.__file = "src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";
|
|
7852
7846
|
const wl = {
|
|
7853
7847
|
components: {
|
|
7854
|
-
BIMDataButton:
|
|
7855
|
-
BIMDataIcon:
|
|
7848
|
+
BIMDataButton: z,
|
|
7849
|
+
BIMDataIcon: G
|
|
7856
7850
|
},
|
|
7857
7851
|
props: {
|
|
7858
7852
|
viewpoints: {
|
|
@@ -7894,7 +7888,7 @@ function El(n, e, a, l, i, s) {
|
|
|
7894
7888
|
return r(), t("div", Zl, [
|
|
7895
7889
|
a.viewpoints.length > 0 ? (r(), t(N, { key: 0 }, [
|
|
7896
7890
|
o("div", Sl, [
|
|
7897
|
-
(r(!0), t(N, null,
|
|
7891
|
+
(r(!0), t(N, null, U(a.viewpoints.slice(0, 4), (C, p) => (r(), t("div", {
|
|
7898
7892
|
class: D(["image-preview", { single: a.viewpoints.length === 1 }]),
|
|
7899
7893
|
key: C.guid || p
|
|
7900
7894
|
}, [
|
|
@@ -7982,8 +7976,8 @@ function El(n, e, a, l, i, s) {
|
|
|
7982
7976
|
const Fl = /* @__PURE__ */ R(wl, [["render", El], ["__scopeId", "data-v-caa405a6"]]);
|
|
7983
7977
|
const Pl = {
|
|
7984
7978
|
components: {
|
|
7985
|
-
BIMDataButton:
|
|
7986
|
-
BIMDataIcon:
|
|
7979
|
+
BIMDataButton: z,
|
|
7980
|
+
BIMDataIcon: G
|
|
7987
7981
|
},
|
|
7988
7982
|
props: {
|
|
7989
7983
|
viewpoints: {
|
|
@@ -8000,10 +7994,10 @@ const Pl = {
|
|
|
8000
7994
|
return {
|
|
8001
7995
|
createViewpoints: async () => {
|
|
8002
7996
|
Object.entries(a()).forEach(([s, c]) => {
|
|
8003
|
-
const [d, C] = Object.entries(
|
|
7997
|
+
const [d, C] = Object.entries(w2).find(([, p]) => p.plugin === s);
|
|
8004
7998
|
c.forEach(async (p) => {
|
|
8005
7999
|
const f = await p.getViewpoint(), { order: g } = C != null ? C : {};
|
|
8006
|
-
f.order = g, f[
|
|
8000
|
+
f.order = g, f[x2] = d, f[k2] = p.getLoadedModels().map((m) => m.id).join(","), e("add-viewpoint", f);
|
|
8007
8001
|
});
|
|
8008
8002
|
});
|
|
8009
8003
|
},
|
|
@@ -8020,7 +8014,7 @@ function Xl(n, e, a, l, i, s) {
|
|
|
8020
8014
|
const c = h("BIMDataIcon"), d = h("BIMDataButton");
|
|
8021
8015
|
return r(), t("div", zl, [
|
|
8022
8016
|
a.viewpoints.length > 0 ? (r(), t("div", Ul, [
|
|
8023
|
-
(r(!0), t(N, null,
|
|
8017
|
+
(r(!0), t(N, null, U(a.viewpoints.slice(0, 4), (C, p) => (r(), t("div", {
|
|
8024
8018
|
class: D(["snapshot-preview", { single: a.viewpoints.length === 1 }]),
|
|
8025
8019
|
key: C.guid || p
|
|
8026
8020
|
}, [
|
|
@@ -8063,15 +8057,15 @@ const Wl = {
|
|
|
8063
8057
|
components: {
|
|
8064
8058
|
BcfTopicImages: Fl,
|
|
8065
8059
|
BcfTopicSnapshots: Yl,
|
|
8066
|
-
BIMDataButton:
|
|
8067
|
-
BIMDataIcon:
|
|
8060
|
+
BIMDataButton: z,
|
|
8061
|
+
BIMDataIcon: G,
|
|
8068
8062
|
BIMDataInput: t1,
|
|
8069
8063
|
BIMDataLoading: a1,
|
|
8070
|
-
BIMDataSafeZoneModal:
|
|
8071
|
-
BIMDataSelect:
|
|
8072
|
-
BIMDataTextarea:
|
|
8064
|
+
BIMDataSafeZoneModal: h1,
|
|
8065
|
+
BIMDataSelect: j1,
|
|
8066
|
+
BIMDataTextarea: s1,
|
|
8073
8067
|
BIMDataTextbox: n1,
|
|
8074
|
-
BIMDataTooltip:
|
|
8068
|
+
BIMDataTooltip: f1
|
|
8075
8069
|
},
|
|
8076
8070
|
props: {
|
|
8077
8071
|
uiConfig: {
|
|
@@ -8127,29 +8121,29 @@ const Wl = {
|
|
|
8127
8121
|
"topic-update-error"
|
|
8128
8122
|
],
|
|
8129
8123
|
setup(n, { emit: e }) {
|
|
8130
|
-
const a =
|
|
8124
|
+
const a = I1(), l = A(
|
|
8131
8125
|
() => !n.topic
|
|
8132
|
-
), i =
|
|
8126
|
+
), i = A(
|
|
8133
8127
|
() => Math.max(0, ...n.topics.map((T) => T.index)) + 1
|
|
8134
|
-
), s = V(""), c = V(null), d = V(null), C = V(null), p = V(null), f = V(null), g = V(""), m = V(""), v = V([]), I = V([]), x = V([]), O = V([]),
|
|
8135
|
-
() => I.value.concat(x.value).filter((T) => !
|
|
8136
|
-
),
|
|
8137
|
-
|
|
8128
|
+
), s = V(""), c = V(null), d = V(null), C = V(null), p = V(null), f = V(null), g = V(""), m = V(""), v = V([]), I = V([]), x = V([]), O = V([]), H = V([]), W = A(
|
|
8129
|
+
() => I.value.concat(x.value).filter((T) => !H.value.some((l1) => l1.guid === T.guid)).filter((T) => T.snapshot)
|
|
8130
|
+
), _ = V(!1), k = V(!1), Z = V(!1), $ = V(!1);
|
|
8131
|
+
K1(
|
|
8138
8132
|
() => n.topic,
|
|
8139
8133
|
(T) => {
|
|
8140
|
-
l.value || (s.value = T.title || "", c.value = T.topic_type || null, d.value = T.priority || null, C.value = T.topic_status || null, p.value = T.stage || null, f.value = T.assigned_to || null, g.value =
|
|
8134
|
+
l.value || (s.value = T.title || "", c.value = T.topic_type || null, d.value = T.priority || null, C.value = T.topic_status || null, p.value = T.stage || null, f.value = T.assigned_to || null, g.value = _2(T.due_date), m.value = T.description || "", v.value = T.labels || [], I.value = T.viewpoints || []);
|
|
8141
8135
|
},
|
|
8142
8136
|
{ immediate: !0 }
|
|
8143
8137
|
);
|
|
8144
|
-
const
|
|
8145
|
-
s.value = "", c.value = null, d.value = null, C.value = null, p.value = null, f.value = null, g.value = "", m.value = "", v.value = [], I.value = [], x.value = [], O.value = [],
|
|
8138
|
+
const F = () => {
|
|
8139
|
+
s.value = "", c.value = null, d.value = null, C.value = null, p.value = null, f.value = null, g.value = "", m.value = "", v.value = [], I.value = [], x.value = [], O.value = [], H.value = [], _.value = !1, k.value = !1, Z.value = !1, $.value = !1;
|
|
8146
8140
|
};
|
|
8147
8141
|
return {
|
|
8148
|
-
hasErrorDate:
|
|
8149
|
-
hasErrorTitle:
|
|
8142
|
+
hasErrorDate: $,
|
|
8143
|
+
hasErrorTitle: Z,
|
|
8150
8144
|
isCreation: l,
|
|
8151
|
-
isOpenModal:
|
|
8152
|
-
loading:
|
|
8145
|
+
isOpenModal: k,
|
|
8146
|
+
loading: _,
|
|
8153
8147
|
nextIndex: i,
|
|
8154
8148
|
topicAssignedTo: f,
|
|
8155
8149
|
topicDescription: m,
|
|
@@ -8160,30 +8154,30 @@ const Wl = {
|
|
|
8160
8154
|
topicLabels: v,
|
|
8161
8155
|
topicTitle: s,
|
|
8162
8156
|
topicType: c,
|
|
8163
|
-
viewpointsToDisplay:
|
|
8157
|
+
viewpointsToDisplay: W,
|
|
8164
8158
|
addViewpoint: (T) => {
|
|
8165
8159
|
x.value.push(T);
|
|
8166
8160
|
},
|
|
8167
8161
|
delViewpoint: (T) => {
|
|
8168
8162
|
if (T.guid)
|
|
8169
|
-
|
|
8163
|
+
H.value.push(T);
|
|
8170
8164
|
else {
|
|
8171
|
-
let
|
|
8172
|
-
x.value.splice(
|
|
8165
|
+
let l1 = x.value.indexOf(T);
|
|
8166
|
+
x.value.splice(l1, 1);
|
|
8173
8167
|
}
|
|
8174
8168
|
},
|
|
8175
8169
|
submit: async () => {
|
|
8176
|
-
var T,
|
|
8170
|
+
var T, l1, R2;
|
|
8177
8171
|
if (!s.value) {
|
|
8178
|
-
|
|
8172
|
+
Z.value = !0;
|
|
8179
8173
|
return;
|
|
8180
8174
|
}
|
|
8181
|
-
if (g.value && g.value !==
|
|
8182
|
-
|
|
8175
|
+
if (g.value && g.value !== _2((T = n.topic) == null ? void 0 : T.due_date) && !A5(g.value)) {
|
|
8176
|
+
$.value = !0;
|
|
8183
8177
|
return;
|
|
8184
8178
|
}
|
|
8185
8179
|
try {
|
|
8186
|
-
|
|
8180
|
+
_.value = !0, O.value = I.value.map(
|
|
8187
8181
|
(P) => ({ ...P, snapshot: void 0 })
|
|
8188
8182
|
), O.value.length === 0 && x.value.sort((P, m5) => {
|
|
8189
8183
|
var O2, E2;
|
|
@@ -8209,8 +8203,8 @@ const Wl = {
|
|
|
8209
8203
|
].forEach(
|
|
8210
8204
|
(P) => P.pins = n.topicAnnotations
|
|
8211
8205
|
);
|
|
8212
|
-
const
|
|
8213
|
-
guid: (
|
|
8206
|
+
const y1 = {
|
|
8207
|
+
guid: (l1 = n.topic) == null ? void 0 : l1.guid,
|
|
8214
8208
|
models: ((R2 = n.topic) == null ? void 0 : R2.models) || n.topicModels,
|
|
8215
8209
|
title: s.value,
|
|
8216
8210
|
topic_type: c.value,
|
|
@@ -8218,25 +8212,25 @@ const Wl = {
|
|
|
8218
8212
|
topic_status: C.value,
|
|
8219
8213
|
stage: p.value,
|
|
8220
8214
|
assigned_to: f.value,
|
|
8221
|
-
due_date: g.value ?
|
|
8215
|
+
due_date: g.value ? L1(g.value) : void 0,
|
|
8222
8216
|
description: m.value,
|
|
8223
8217
|
labels: v.value,
|
|
8224
8218
|
viewpoints: O.value
|
|
8225
8219
|
};
|
|
8226
|
-
let
|
|
8227
|
-
l.value ?
|
|
8220
|
+
let i1;
|
|
8221
|
+
l.value ? i1 = await a.createTopic(n.project, y1) : i1 = await a.updateTopic(n.project, y1), await Promise.all(
|
|
8228
8222
|
x.value.map(
|
|
8229
|
-
(P) => a.createViewpoint(n.project,
|
|
8223
|
+
(P) => a.createViewpoint(n.project, i1, P)
|
|
8230
8224
|
)
|
|
8231
8225
|
), await Promise.all(
|
|
8232
|
-
|
|
8233
|
-
(P) => a.deleteViewpoint(n.project,
|
|
8226
|
+
H.value.map(
|
|
8227
|
+
(P) => a.deleteViewpoint(n.project, i1, P)
|
|
8234
8228
|
)
|
|
8235
|
-
), l.value ? (e("topic-created",
|
|
8236
|
-
} catch (
|
|
8237
|
-
e(l.value ? "topic-create-error" : "topic-update-error",
|
|
8229
|
+
), l.value ? (e("topic-created", i1), F()) : e("topic-updated", i1);
|
|
8230
|
+
} catch (y1) {
|
|
8231
|
+
e(l.value ? "topic-create-error" : "topic-update-error", y1);
|
|
8238
8232
|
} finally {
|
|
8239
|
-
|
|
8233
|
+
_.value = !1;
|
|
8240
8234
|
}
|
|
8241
8235
|
}
|
|
8242
8236
|
};
|
|
@@ -8260,7 +8254,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8260
8254
|
ghost: "",
|
|
8261
8255
|
rounded: "",
|
|
8262
8256
|
icon: "",
|
|
8263
|
-
onClick: e[0] || (e[0] = (
|
|
8257
|
+
onClick: e[0] || (e[0] = (H) => n.$emit("back"))
|
|
8264
8258
|
}, {
|
|
8265
8259
|
default: L(() => [
|
|
8266
8260
|
u(c, {
|
|
@@ -8286,7 +8280,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8286
8280
|
ghost: "",
|
|
8287
8281
|
rounded: "",
|
|
8288
8282
|
icon: "",
|
|
8289
|
-
onClick: e[1] || (e[1] = (
|
|
8283
|
+
onClick: e[1] || (e[1] = (H) => n.$emit("close"))
|
|
8290
8284
|
}, {
|
|
8291
8285
|
default: L(() => [
|
|
8292
8286
|
u(c, {
|
|
@@ -8315,7 +8309,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8315
8309
|
fill: "",
|
|
8316
8310
|
radius: "",
|
|
8317
8311
|
disabled: !a.objectsEditEnabled,
|
|
8318
|
-
onClick: e[2] || (e[2] = (
|
|
8312
|
+
onClick: e[2] || (e[2] = (H) => n.$emit("edit-topic-objects", a.topic))
|
|
8319
8313
|
}, {
|
|
8320
8314
|
default: L(() => [
|
|
8321
8315
|
u(c, {
|
|
@@ -8340,7 +8334,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8340
8334
|
fill: "",
|
|
8341
8335
|
radius: "",
|
|
8342
8336
|
disabled: !a.annotationsEditEnabled || l.viewpointsToDisplay.length === 0,
|
|
8343
|
-
onClick: e[3] || (e[3] = (
|
|
8337
|
+
onClick: e[3] || (e[3] = (H) => n.$emit("edit-topic-annotations", a.topic))
|
|
8344
8338
|
}, {
|
|
8345
8339
|
default: L(() => [
|
|
8346
8340
|
u(c, {
|
|
@@ -8369,43 +8363,43 @@ function si(n, e, a, l, i, s) {
|
|
|
8369
8363
|
error: l.hasErrorTitle,
|
|
8370
8364
|
errorMessage: n.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
|
|
8371
8365
|
modelValue: l.topicTitle,
|
|
8372
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
8373
|
-
onKeyup: B2(
|
|
8366
|
+
"onUpdate:modelValue": e[4] || (e[4] = (H) => l.topicTitle = H),
|
|
8367
|
+
onKeyup: V2(B2(l.submit, ["stop"]), ["enter"])
|
|
8374
8368
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
|
|
8375
8369
|
u(v, {
|
|
8376
8370
|
width: "100%",
|
|
8377
8371
|
label: n.$t("BcfComponents.BcfTopicForm.typeLabel"),
|
|
8378
8372
|
options: a.extensions.topic_type,
|
|
8379
8373
|
modelValue: l.topicType,
|
|
8380
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
8374
|
+
"onUpdate:modelValue": e[5] || (e[5] = (H) => l.topicType = H)
|
|
8381
8375
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
8382
8376
|
u(v, {
|
|
8383
8377
|
width: "100%",
|
|
8384
8378
|
label: n.$t("BcfComponents.BcfTopicForm.priorityLabel"),
|
|
8385
8379
|
options: a.extensions.priority,
|
|
8386
8380
|
modelValue: l.topicPriority,
|
|
8387
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
8381
|
+
"onUpdate:modelValue": e[6] || (e[6] = (H) => l.topicPriority = H)
|
|
8388
8382
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
8389
8383
|
u(v, {
|
|
8390
8384
|
width: "100%",
|
|
8391
8385
|
label: n.$t("BcfComponents.BcfTopicForm.statusLabel"),
|
|
8392
8386
|
options: a.extensions.topic_status,
|
|
8393
8387
|
modelValue: l.topicStatus,
|
|
8394
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
8388
|
+
"onUpdate:modelValue": e[7] || (e[7] = (H) => l.topicStatus = H)
|
|
8395
8389
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
8396
8390
|
u(v, {
|
|
8397
8391
|
width: "100%",
|
|
8398
8392
|
label: n.$t("BcfComponents.BcfTopicForm.stageLabel"),
|
|
8399
8393
|
options: a.extensions.stage,
|
|
8400
8394
|
modelValue: l.topicStage,
|
|
8401
|
-
"onUpdate:modelValue": e[8] || (e[8] = (
|
|
8395
|
+
"onUpdate:modelValue": e[8] || (e[8] = (H) => l.topicStage = H)
|
|
8402
8396
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
8403
8397
|
u(v, {
|
|
8404
8398
|
width: "100%",
|
|
8405
8399
|
label: n.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
|
|
8406
8400
|
options: a.extensions.user_id_type,
|
|
8407
8401
|
modelValue: l.topicAssignedTo,
|
|
8408
|
-
"onUpdate:modelValue": e[9] || (e[9] = (
|
|
8402
|
+
"onUpdate:modelValue": e[9] || (e[9] = (H) => l.topicAssignedTo = H)
|
|
8409
8403
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
8410
8404
|
o("div", li, [
|
|
8411
8405
|
u(m, {
|
|
@@ -8414,7 +8408,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8414
8408
|
error: l.hasErrorDate,
|
|
8415
8409
|
errorMessage: n.$t("BcfComponents.BcfTopicForm.dateErrorMessage"),
|
|
8416
8410
|
modelValue: l.topicDueDate,
|
|
8417
|
-
"onUpdate:modelValue": e[10] || (e[10] = (
|
|
8411
|
+
"onUpdate:modelValue": e[10] || (e[10] = (H) => l.topicDueDate = H)
|
|
8418
8412
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue"])
|
|
8419
8413
|
]),
|
|
8420
8414
|
u(I, {
|
|
@@ -8422,7 +8416,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8422
8416
|
name: "description",
|
|
8423
8417
|
label: n.$t("BcfComponents.BcfTopicForm.descriptionLabel"),
|
|
8424
8418
|
modelValue: l.topicDescription,
|
|
8425
|
-
"onUpdate:modelValue": e[11] || (e[11] = (
|
|
8419
|
+
"onUpdate:modelValue": e[11] || (e[11] = (H) => l.topicDescription = H),
|
|
8426
8420
|
fitContent: ""
|
|
8427
8421
|
}, null, 8, ["label", "modelValue"]),
|
|
8428
8422
|
u(v, {
|
|
@@ -8431,7 +8425,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8431
8425
|
label: n.$t("BcfComponents.BcfTopicForm.labelsLabel"),
|
|
8432
8426
|
options: a.extensions.topic_label,
|
|
8433
8427
|
modelValue: l.topicLabels,
|
|
8434
|
-
"onUpdate:modelValue": e[12] || (e[12] = (
|
|
8428
|
+
"onUpdate:modelValue": e[12] || (e[12] = (H) => l.topicLabels = H)
|
|
8435
8429
|
}, null, 8, ["label", "options", "modelValue"])
|
|
8436
8430
|
])
|
|
8437
8431
|
]),
|
|
@@ -8463,7 +8457,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8463
8457
|
color: "high",
|
|
8464
8458
|
fill: "",
|
|
8465
8459
|
radius: "",
|
|
8466
|
-
onClick: e[13] || (e[13] = (
|
|
8460
|
+
onClick: e[13] || (e[13] = (H) => n.$emit("close"))
|
|
8467
8461
|
}, {
|
|
8468
8462
|
default: L(() => [
|
|
8469
8463
|
w(b(n.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
|
|
@@ -8474,7 +8468,7 @@ function si(n, e, a, l, i, s) {
|
|
|
8474
8468
|
color: "primary",
|
|
8475
8469
|
outline: "",
|
|
8476
8470
|
radius: "",
|
|
8477
|
-
onClick: e[14] || (e[14] = (
|
|
8471
|
+
onClick: e[14] || (e[14] = (H) => l.isOpenModal = !1)
|
|
8478
8472
|
}, {
|
|
8479
8473
|
default: L(() => [
|
|
8480
8474
|
w(b(n.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
|
|
@@ -8509,7 +8503,7 @@ const ui = {
|
|
|
8509
8503
|
},
|
|
8510
8504
|
setup(n) {
|
|
8511
8505
|
return {
|
|
8512
|
-
initials:
|
|
8506
|
+
initials: A(
|
|
8513
8507
|
() => `${n.user.firstname && n.user.firstname[0] || ""}${n.user.lastname && n.user.lastname[0] || ""}`.toUpperCase()
|
|
8514
8508
|
)
|
|
8515
8509
|
};
|
|
@@ -8519,7 +8513,7 @@ function pi(n, e, a, l, i, s) {
|
|
|
8519
8513
|
const c = h("BIMDataIcon");
|
|
8520
8514
|
return r(), t("div", {
|
|
8521
8515
|
class: D(["user-avatar", `user-avatar--${a.user.profile_picture ? "silver-light" : a.color}`]),
|
|
8522
|
-
style:
|
|
8516
|
+
style: y({
|
|
8523
8517
|
width: `${a.size}px`,
|
|
8524
8518
|
height: `${a.size}px`,
|
|
8525
8519
|
fontSize: `${a.initialsSize ? a.initialsSize : +a.size * 0.382}px`
|
|
@@ -8540,10 +8534,10 @@ function pi(n, e, a, l, i, s) {
|
|
|
8540
8534
|
const v5 = /* @__PURE__ */ R(ui, [["render", pi], ["__scopeId", "data-v-3c02f1a9"]]);
|
|
8541
8535
|
const bi = {
|
|
8542
8536
|
components: {
|
|
8543
|
-
BIMDataButton:
|
|
8544
|
-
BIMDataIcon:
|
|
8537
|
+
BIMDataButton: z,
|
|
8538
|
+
BIMDataIcon: G,
|
|
8545
8539
|
BIMDataLoading: a1,
|
|
8546
|
-
BIMDataTextarea:
|
|
8540
|
+
BIMDataTextarea: s1,
|
|
8547
8541
|
BIMDataTextbox: n1,
|
|
8548
8542
|
UserAvatar: v5
|
|
8549
8543
|
},
|
|
@@ -8566,7 +8560,7 @@ const bi = {
|
|
|
8566
8560
|
"comment-deleted"
|
|
8567
8561
|
],
|
|
8568
8562
|
setup(n, { emit: e }) {
|
|
8569
|
-
const a =
|
|
8563
|
+
const a = I1(), l = V(!1), i = V(!1), s = () => i.value = !1, c = () => i.value = !i.value, d = V(n.comment.comment), C = V(!1), p = () => {
|
|
8570
8564
|
C.value = !0, s();
|
|
8571
8565
|
}, f = () => {
|
|
8572
8566
|
C.value = !1, d.value = n.comment.comment;
|
|
@@ -8809,9 +8803,9 @@ function Bi(n, e, a, l, i, s) {
|
|
|
8809
8803
|
const Di = /* @__PURE__ */ R(bi, [["render", Bi], ["__scopeId", "data-v-abad358d"]]);
|
|
8810
8804
|
const xi = {
|
|
8811
8805
|
components: {
|
|
8812
|
-
BIMDataButton:
|
|
8806
|
+
BIMDataButton: z,
|
|
8813
8807
|
BIMDataLoading: a1,
|
|
8814
|
-
BIMDataTextarea:
|
|
8808
|
+
BIMDataTextarea: s1,
|
|
8815
8809
|
TopicComment: Di
|
|
8816
8810
|
},
|
|
8817
8811
|
props: {
|
|
@@ -8830,8 +8824,8 @@ const xi = {
|
|
|
8830
8824
|
"comment-deleted"
|
|
8831
8825
|
],
|
|
8832
8826
|
setup(n, { emit: e }) {
|
|
8833
|
-
const a =
|
|
8834
|
-
return
|
|
8827
|
+
const a = I1(), l = V(!1), i = V(!1), s = V(null), c = V("");
|
|
8828
|
+
return K1(
|
|
8835
8829
|
l,
|
|
8836
8830
|
() => setTimeout(() => l.value && s.value.focus(), 50)
|
|
8837
8831
|
), {
|
|
@@ -8916,7 +8910,7 @@ function Ri(n, e, a, l, i, s) {
|
|
|
8916
8910
|
o("div", Ti, [
|
|
8917
8911
|
o("p", Ni, b((a.topic.comments ? a.topic.comments.length : 0) + " " + n.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
|
|
8918
8912
|
a.topic.comments && a.topic.comments.length ? (r(), t("div", $i, [
|
|
8919
|
-
(r(!0), t(N, null,
|
|
8913
|
+
(r(!0), t(N, null, U(a.topic.comments, (f) => (r(), B(C, {
|
|
8920
8914
|
key: f.guid,
|
|
8921
8915
|
project: a.project,
|
|
8922
8916
|
topic: a.topic,
|
|
@@ -8930,13 +8924,13 @@ function Ri(n, e, a, l, i, s) {
|
|
|
8930
8924
|
]);
|
|
8931
8925
|
}
|
|
8932
8926
|
const Oi = /* @__PURE__ */ R(xi, [["render", Ri], ["__scopeId", "data-v-c43343c2"]]);
|
|
8933
|
-
var Ei = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
8927
|
+
var Ei = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), E1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (n) => Ei.includes(n) } }, emits: ["click"], computed: { classes() {
|
|
8934
8928
|
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 };
|
|
8935
8929
|
}, style() {
|
|
8936
8930
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
8937
8931
|
} } };
|
|
8938
8932
|
const Fi = ["color"];
|
|
8939
|
-
function
|
|
8933
|
+
function _1(n, e) {
|
|
8940
8934
|
e === void 0 && (e = {});
|
|
8941
8935
|
var a = e.insertAt;
|
|
8942
8936
|
if (n && typeof document < "u") {
|
|
@@ -8944,7 +8938,7 @@ function y1(n, e) {
|
|
|
8944
8938
|
i.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(i, l.firstChild) : l.appendChild(i), i.styleSheet ? i.styleSheet.cssText = n : i.appendChild(document.createTextNode(n));
|
|
8945
8939
|
}
|
|
8946
8940
|
}
|
|
8947
|
-
|
|
8941
|
+
_1(`/* base COLORS --------------------------------------------- */
|
|
8948
8942
|
/* colors BRAND */
|
|
8949
8943
|
/* colors GREY SHADES - NEUTRAL */
|
|
8950
8944
|
/* color TEXT */
|
|
@@ -9102,7 +9096,7 @@ html[data-v-3f903003] {
|
|
|
9102
9096
|
.primary-font[data-v-3f903003] {
|
|
9103
9097
|
font-family: "roboto", sans-serif;
|
|
9104
9098
|
}`);
|
|
9105
|
-
|
|
9099
|
+
_1(`.bimdata-btn {
|
|
9106
9100
|
padding: 0 var(--spacing-unit);
|
|
9107
9101
|
height: -webkit-fit-content;
|
|
9108
9102
|
height: -moz-fit-content;
|
|
@@ -9405,9 +9399,9 @@ y1(`.bimdata-btn {
|
|
|
9405
9399
|
.bimdata-btn__ghost:disabled {
|
|
9406
9400
|
color: var(--color-silver-dark);
|
|
9407
9401
|
cursor: auto;
|
|
9408
|
-
}`),
|
|
9409
|
-
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style:
|
|
9410
|
-
},
|
|
9402
|
+
}`), E1.render = function(n, e, a, l, i, s) {
|
|
9403
|
+
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style: y(s.style), onClick: e[0] || (e[0] = (c) => n.$emit("click", c)), color: a.color, type: "button" }, [S(n.$slots, "default")], 14, Fi);
|
|
9404
|
+
}, E1.__scopeId = "data-v-3f903003", E1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
9411
9405
|
const Pi = { "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" }, zi = { render: function(n, e) {
|
|
9412
9406
|
return r(), t("path", Pi);
|
|
9413
9407
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, Ui = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.55 15.0531H16.0997V18.503H13.7999V15.0531H10.35V12.7529H13.7999V9.303H16.0997V12.7529H19.55V15.0531ZM20.7001 5.85364H11.4997L9.19989 3.55383H2.29968C1.02325 3.55383 0.0113988 4.5772 0.0113988 5.85364L-0.00012207 19.6537C-0.00012207 20.9301 1.02325 21.9539 2.29968 21.9539H20.7001C21.9761 21.9539 22.9999 20.9301 22.9999 19.6537V8.15384C22.9999 6.87701 21.9761 5.85364 20.7001 5.85364Z" }, Gi = { render: function(n, e) {
|
|
@@ -9715,7 +9709,7 @@ const Pi = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
9715
9709
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
9716
9710
|
var J2 = { addFile: zi, addFolder: Gi, addUser: Yi, alphabeticalAscending: ji, alphabeticalDescending: qi, alphabeticalSort: Ji, alt: ec, angle: rc, api: ac, archive: ic, arrow: sc, attach: uc, backInTime: bc, bcf: hc, building: Lc, burgerMenu: mc, calendar: Mc, caliper: yc, camera: Vc, cancelCamera: Dc, check: kc, chevron: Zc, classificationCategorie: Ac, classificationElement: Nc, click: Rc, close: Ec, cloud: Pc, color: Uc, comment: Xc, cursor: Wc, dateAscending: Kc, dateDescending: Qc, default: ns, delete: os, deniedFile: ts, deploy: ls, detach: cs, distance: ds, doubleChevron: Cs, down: bs, download: hs, drag: Ls, edit: ms, ellipsis: Ms, expanded: ys, explosion: Vs, export: Ds, exportIfc: ks, failed: Zs, filter: As, fitView: Ns, folder: Rs, folderMove: Es, folderOpen: Ps, fullscreen: Us, grid: Xs, group: Ws, hide: Ks, ifc: Qs, ifcFile: nd, import: od, indexAscending: td, indexDescending: ld, information: cd, inProgressFile: dd, invitation: Cd, isolate: bd, key: hd, left: Ld, linkedDocument: md, list: Md, listManage: yd, location: Vd, lock: Dd, logout: kd, measure: Zd, minus: Ad, model3d: Nd, organization: Rd, parameters: Ed, path: Pd, pieGraph: Ud, plus: Xd, project: Wd, quickSelect: Kd, readonlyFolder: Qd, redo: nu, reduced: ou, refresh: tu, reprocessIfc: lu, reset: cu, right: du, rules: Cu, sandglass: bu, save: hu, screenConfig: Lu, screenshot: mu, search: Mu, section: yu, settings: Vu, share: Du, show: ku, showSelected: Zu, socotec: Au, space: Nu, split: Ru, storey: Eu, success: Pu, surface: Uu, swap: Xu, synchro2d: Wu, system: Ku, tag: Ju, tree: eC, unarchive: rC, undo: aC, union: iC, up: sC, user: uC, validate: pC, validatedFile: gC, versioning: LC, video: mC, visa: MC, warning: yC, windowBottom: VC, windowed: DC, windowLeft: kC, windowRight: ZC, windowTop: AC, zone: NC, bcfPolychrome: RC, createWindowPolychrome: EC, docInfoPolychrome: PC, fileDwgPolychrome: UC, fileIfcPolychrome: XC, filePdfPolychrome: WC, filePlanPolychrome: KC, folderPolychrome: QC, structurePolychrome: np, viewer2dPolychrome: op, viewer3dPolychrome: tp }, ap = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
9717
9711
|
const n5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
9718
|
-
var
|
|
9712
|
+
var F1 = { name: "BIMDataIcon", components: { ...function(n = {}) {
|
|
9719
9713
|
return Object.entries(n).reduce((e, [a, l]) => ({ ...e, [`bimdata-icon-${a}`]: l }), {});
|
|
9720
9714
|
}(J2) }, props: { name: { type: String, required: !0, validator: (n) => Object.keys(J2).includes(n) }, color: { type: String, default: "default", validator: (n) => ap.includes(n) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (n) => Object.keys(n5).includes(n) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
9721
9715
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
@@ -9726,7 +9720,7 @@ var P1 = { name: "BIMDataIcon", components: { ...function(n = {}) {
|
|
|
9726
9720
|
return this.customSize ? this.customSize : n5[this.size];
|
|
9727
9721
|
} } };
|
|
9728
9722
|
const lp = ["fill", "color"];
|
|
9729
|
-
|
|
9723
|
+
_1(`/* base COLORS --------------------------------------------- */
|
|
9730
9724
|
/* colors BRAND */
|
|
9731
9725
|
/* colors GREY SHADES - NEUTRAL */
|
|
9732
9726
|
/* color TEXT */
|
|
@@ -9795,7 +9789,7 @@ html[data-v-1312d4d1] {
|
|
|
9795
9789
|
/* base FONTS -------------------------------------- */
|
|
9796
9790
|
--primary-font: "roboto", sans-serif;
|
|
9797
9791
|
}`);
|
|
9798
|
-
|
|
9792
|
+
_1(`.icon-fill--black {
|
|
9799
9793
|
fill: var(--color-black);
|
|
9800
9794
|
}
|
|
9801
9795
|
.icon-fill--default {
|
|
@@ -9878,10 +9872,10 @@ y1(`.icon-fill--black {
|
|
|
9878
9872
|
}
|
|
9879
9873
|
.icon-stroke--white {
|
|
9880
9874
|
stroke: var(--color-white);
|
|
9881
|
-
}`),
|
|
9882
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: D(s.classes), style:
|
|
9883
|
-
},
|
|
9884
|
-
var
|
|
9875
|
+
}`), F1.render = function(n, e, a, l, i, s) {
|
|
9876
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: D(s.classes), style: y(s.style) }, [(r(), B(v1(`bimdata-icon-${a.name}`)))], 14, lp);
|
|
9877
|
+
}, F1.__scopeId = "data-v-1312d4d1", F1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
9878
|
+
var P1 = { components: { BIMDataButton: E1, BIMDataIcon: F1 }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
9885
9879
|
this.distributeItems();
|
|
9886
9880
|
} }, mounted() {
|
|
9887
9881
|
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 });
|
|
@@ -9903,7 +9897,7 @@ var z1 = { components: { BIMDataButton: F1, BIMDataIcon: P1 }, props: { sliderPa
|
|
|
9903
9897
|
}
|
|
9904
9898
|
} } };
|
|
9905
9899
|
const ip = { class: "bimdata-carousel" }, cp = { class: "bimdata-carousel__container" };
|
|
9906
|
-
|
|
9900
|
+
_1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
9907
9901
|
--button-size: 44px;
|
|
9908
9902
|
position: relative;
|
|
9909
9903
|
}
|
|
@@ -9933,15 +9927,15 @@ y1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
|
9933
9927
|
}
|
|
9934
9928
|
.bimdata-carousel__btn-next[data-v-b82c72c2] {
|
|
9935
9929
|
right: calc(0px - var(--button-size) / 2);
|
|
9936
|
-
}`),
|
|
9930
|
+
}`), P1.render = function(n, e, a, l, i, s) {
|
|
9937
9931
|
const c = h("BIMDataIcon"), d = h("BIMDataButton");
|
|
9938
|
-
return r(), t("div", ip, [
|
|
9939
|
-
},
|
|
9932
|
+
return r(), t("div", ip, [X(u(d, { class: "bimdata-carousel__btn-prev", color: "default", fill: "", rounded: "", icon: "", onClick: e[0] || (e[0] = (C) => i.index--) }, { default: L(() => [u(c, { name: "chevron", size: "s", rotate: 180 })]), _: 1 }, 512), [[q, i.index > 0]]), o("div", cp, [o("div", { class: "bimdata-carousel__container__slider", ref: "slider", style: y({ transform: `translateX(-${i.translations[i.index]}px)` }) }, [S(n.$slots, "default")], 4)]), X(u(d, { class: "bimdata-carousel__btn-next", color: "default", fill: "", rounded: "", icon: "", onClick: e[1] || (e[1] = (C) => i.index++) }, { default: L(() => [u(c, { name: "chevron", size: "s" })]), _: 1 }, 512), [[q, i.index < i.maxIndex]])]);
|
|
9933
|
+
}, P1.__scopeId = "data-v-b82c72c2", P1.__file = "src/BIMDataComponents/BIMDataCarousel/BIMDataCarousel.vue";
|
|
9940
9934
|
const sp = {
|
|
9941
9935
|
components: {
|
|
9942
|
-
BcfTopicDefaultImage:
|
|
9943
|
-
BIMDataCarousel:
|
|
9944
|
-
BIMDataIcon:
|
|
9936
|
+
BcfTopicDefaultImage: T2,
|
|
9937
|
+
BIMDataCarousel: P1,
|
|
9938
|
+
BIMDataIcon: G
|
|
9945
9939
|
},
|
|
9946
9940
|
props: {
|
|
9947
9941
|
detailedExtensions: {
|
|
@@ -9957,7 +9951,7 @@ const sp = {
|
|
|
9957
9951
|
"view-topic-viewpoint"
|
|
9958
9952
|
],
|
|
9959
9953
|
setup(n) {
|
|
9960
|
-
const e =
|
|
9954
|
+
const e = A(
|
|
9961
9955
|
() => n.topic.viewpoints.filter((l) => l.snapshot).map((l) => {
|
|
9962
9956
|
var i;
|
|
9963
9957
|
return {
|
|
@@ -9967,11 +9961,11 @@ const sp = {
|
|
|
9967
9961
|
})
|
|
9968
9962
|
);
|
|
9969
9963
|
return {
|
|
9970
|
-
statusColor:
|
|
9971
|
-
() =>
|
|
9964
|
+
statusColor: A(
|
|
9965
|
+
() => S2(n.topic, n.detailedExtensions)
|
|
9972
9966
|
),
|
|
9973
9967
|
viewpoints: e,
|
|
9974
|
-
adjustTextColor:
|
|
9968
|
+
adjustTextColor: Q1
|
|
9975
9969
|
};
|
|
9976
9970
|
}
|
|
9977
9971
|
}, dp = ["src", "onClick"];
|
|
@@ -9983,7 +9977,7 @@ function up(n, e, a, l, i, s) {
|
|
|
9983
9977
|
a.topic.topic_status ? (r(), t("div", {
|
|
9984
9978
|
key: 0,
|
|
9985
9979
|
class: "status-badge",
|
|
9986
|
-
style:
|
|
9980
|
+
style: y({
|
|
9987
9981
|
backgroundColor: `#${l.statusColor}`,
|
|
9988
9982
|
color: l.adjustTextColor(`#${l.statusColor}`, "#FFF", "#2F374A")
|
|
9989
9983
|
})
|
|
@@ -10000,7 +9994,7 @@ function up(n, e, a, l, i, s) {
|
|
|
10000
9994
|
sliderPadding: 0
|
|
10001
9995
|
}, {
|
|
10002
9996
|
default: L(() => [
|
|
10003
|
-
(r(!0), t(N, null,
|
|
9997
|
+
(r(!0), t(N, null, U(l.viewpoints, (p) => (r(), t("div", {
|
|
10004
9998
|
class: "snapshot-preview",
|
|
10005
9999
|
key: p.guid
|
|
10006
10000
|
}, [
|
|
@@ -10028,12 +10022,12 @@ const Cp = /* @__PURE__ */ R(sp, [["render", up], ["__scopeId", "data-v-15bf52d1
|
|
|
10028
10022
|
const pp = {
|
|
10029
10023
|
components: {
|
|
10030
10024
|
BcfTopicComments: Oi,
|
|
10031
|
-
BcfTopicDefaultImage:
|
|
10025
|
+
BcfTopicDefaultImage: T2,
|
|
10032
10026
|
BcfTopicViewpoints: Cp,
|
|
10033
|
-
BIMDataButton:
|
|
10034
|
-
BIMDataIcon:
|
|
10027
|
+
BIMDataButton: z,
|
|
10028
|
+
BIMDataIcon: G,
|
|
10035
10029
|
BIMDataLoading: a1,
|
|
10036
|
-
BIMDataSafeZoneModal:
|
|
10030
|
+
BIMDataSafeZoneModal: h1,
|
|
10037
10031
|
BIMDataTextbox: n1
|
|
10038
10032
|
},
|
|
10039
10033
|
props: {
|
|
@@ -10074,17 +10068,17 @@ const pp = {
|
|
|
10074
10068
|
"view-topic-viewpoint"
|
|
10075
10069
|
],
|
|
10076
10070
|
setup(n, { emit: e }) {
|
|
10077
|
-
const a =
|
|
10071
|
+
const a = I1(), l = V(!1), i = V(!1), s = A(() => d1(n.topic, n.detailedExtensions)), c = A(() => {
|
|
10078
10072
|
var p, f, g;
|
|
10079
10073
|
return ((g = (f = (p = n.topic.viewpoints) == null ? void 0 : p[0]) == null ? void 0 : f.components) == null ? void 0 : g.selection) || [];
|
|
10080
|
-
}), d =
|
|
10074
|
+
}), d = A(() => Array.from(n.topic.labels || []).sort());
|
|
10081
10075
|
return {
|
|
10082
10076
|
loading: l,
|
|
10083
10077
|
priorityColor: s,
|
|
10084
10078
|
showDeleteModal: i,
|
|
10085
10079
|
topicLabels: d,
|
|
10086
10080
|
topicObjects: c,
|
|
10087
|
-
adjustTextColor:
|
|
10081
|
+
adjustTextColor: Q1,
|
|
10088
10082
|
deleteTopic: async () => {
|
|
10089
10083
|
try {
|
|
10090
10084
|
i.value = !1, l.value = !0, await a.deleteTopic(n.project, n.topic), e("topic-deleted", n.topic);
|
|
@@ -10181,7 +10175,7 @@ function Qp(n, e, a, l, i, s) {
|
|
|
10181
10175
|
o("div", vp, [
|
|
10182
10176
|
o("div", {
|
|
10183
10177
|
class: "bcf-topic-overview__content__head__index",
|
|
10184
|
-
style:
|
|
10178
|
+
style: y({
|
|
10185
10179
|
backgroundColor: `#${l.priorityColor}`,
|
|
10186
10180
|
color: l.adjustTextColor(`#${l.priorityColor}`, "#FFF", "#2F374A")
|
|
10187
10181
|
})
|
|
@@ -10269,7 +10263,7 @@ function Qp(n, e, a, l, i, s) {
|
|
|
10269
10263
|
o("span", Up, b(n.$t("BcfComponents.BcfTopicOverview.priority")), 1),
|
|
10270
10264
|
o("span", {
|
|
10271
10265
|
class: "value",
|
|
10272
|
-
style:
|
|
10266
|
+
style: y({ color: `#${l.priorityColor}` })
|
|
10273
10267
|
}, b(a.topic.priority || n.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 5)
|
|
10274
10268
|
]),
|
|
10275
10269
|
o("div", Gp, [
|
|
@@ -10366,13 +10360,13 @@ const Jp = /* @__PURE__ */ R(pp, [["render", Qp], ["__scopeId", "data-v-15f742b7
|
|
|
10366
10360
|
align: "center"
|
|
10367
10361
|
}
|
|
10368
10362
|
];
|
|
10369
|
-
var nb = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
10363
|
+
var nb = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), z1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (n) => nb.includes(n) } }, emits: ["click"], computed: { classes() {
|
|
10370
10364
|
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 };
|
|
10371
10365
|
}, style() {
|
|
10372
10366
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
10373
10367
|
} } };
|
|
10374
10368
|
const eb = ["color"];
|
|
10375
|
-
function
|
|
10369
|
+
function Y(n, e) {
|
|
10376
10370
|
e === void 0 && (e = {});
|
|
10377
10371
|
var a = e.insertAt;
|
|
10378
10372
|
if (n && typeof document < "u") {
|
|
@@ -10380,7 +10374,7 @@ function W(n, e) {
|
|
|
10380
10374
|
i.type = "text/css", a === "top" && l.firstChild ? l.insertBefore(i, l.firstChild) : l.appendChild(i), i.styleSheet ? i.styleSheet.cssText = n : i.appendChild(document.createTextNode(n));
|
|
10381
10375
|
}
|
|
10382
10376
|
}
|
|
10383
|
-
|
|
10377
|
+
Y(`/* base COLORS --------------------------------------------- */
|
|
10384
10378
|
/* colors BRAND */
|
|
10385
10379
|
/* colors GREY SHADES - NEUTRAL */
|
|
10386
10380
|
/* color TEXT */
|
|
@@ -10538,7 +10532,7 @@ html[data-v-3f903003] {
|
|
|
10538
10532
|
.primary-font[data-v-3f903003] {
|
|
10539
10533
|
font-family: "roboto", sans-serif;
|
|
10540
10534
|
}`);
|
|
10541
|
-
|
|
10535
|
+
Y(`.bimdata-btn {
|
|
10542
10536
|
padding: 0 var(--spacing-unit);
|
|
10543
10537
|
height: -webkit-fit-content;
|
|
10544
10538
|
height: -moz-fit-content;
|
|
@@ -10841,10 +10835,10 @@ W(`.bimdata-btn {
|
|
|
10841
10835
|
.bimdata-btn__ghost:disabled {
|
|
10842
10836
|
color: var(--color-silver-dark);
|
|
10843
10837
|
cursor: auto;
|
|
10844
|
-
}`),
|
|
10845
|
-
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style:
|
|
10846
|
-
},
|
|
10847
|
-
var
|
|
10838
|
+
}`), z1.render = function(n, e, a, l, i, s) {
|
|
10839
|
+
return r(), t("button", { class: D(["bimdata-btn", s.classes]), style: y(s.style), onClick: e[0] || (e[0] = (c) => n.$emit("click", c)), color: a.color, type: "button" }, [S(n.$slots, "default")], 14, eb);
|
|
10840
|
+
}, z1.__scopeId = "data-v-3f903003", z1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
10841
|
+
var U1 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue", event: "update:modelValue" }, props: { text: { type: String, default: null }, modelValue: { type: Boolean, validator: (n) => n === null || typeof n == "boolean" }, disabled: { type: Boolean, default: !1 }, margin: { type: String, default: "0px" } }, emits: ["update:modelValue"], computed: { indeterminate() {
|
|
10848
10842
|
return this.modelValue === null;
|
|
10849
10843
|
}, checked() {
|
|
10850
10844
|
return this.modelValue === !0 || this.indeterminate;
|
|
@@ -10854,7 +10848,7 @@ var G1 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue
|
|
|
10854
10848
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
10855
10849
|
} } };
|
|
10856
10850
|
const ob = ((n) => (e1("data-v-34d34265"), n = n(), o1(), n))(() => o("span", { class: "bimdata-checkbox__mark" }, null, -1)), rb = { key: 0, class: "bimdata-checkbox__text" };
|
|
10857
|
-
|
|
10851
|
+
Y(`/* base COLORS --------------------------------------------- */
|
|
10858
10852
|
/* colors BRAND */
|
|
10859
10853
|
/* colors GREY SHADES - NEUTRAL */
|
|
10860
10854
|
/* color TEXT */
|
|
@@ -11012,7 +11006,7 @@ html[data-v-34d34265] {
|
|
|
11012
11006
|
.primary-font[data-v-34d34265] {
|
|
11013
11007
|
font-family: "roboto", sans-serif;
|
|
11014
11008
|
}`);
|
|
11015
|
-
|
|
11009
|
+
Y(`.bimdata-checkbox {
|
|
11016
11010
|
position: relative;
|
|
11017
11011
|
display: -webkit-box;
|
|
11018
11012
|
display: -ms-flexbox;
|
|
@@ -11099,24 +11093,24 @@ W(`.bimdata-checkbox {
|
|
|
11099
11093
|
}
|
|
11100
11094
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
11101
11095
|
background-color: var(--color-silver-dark);
|
|
11102
|
-
}`),
|
|
11103
|
-
return r(), t("div", { class: D(["bimdata-checkbox", { indeterminate: s.indeterminate, disabled: a.disabled, checked: s.checked }]), onClick: e[0] || (e[0] = (...c) => s.onClick && s.onClick(...c)), style:
|
|
11104
|
-
},
|
|
11096
|
+
}`), U1.render = function(n, e, a, l, i, s) {
|
|
11097
|
+
return r(), t("div", { class: D(["bimdata-checkbox", { indeterminate: s.indeterminate, disabled: a.disabled, checked: s.checked }]), onClick: e[0] || (e[0] = (...c) => s.onClick && s.onClick(...c)), style: y(s.style) }, [ob, a.text ? (r(), t("span", rb, [S(n.$slots, "default", {}, () => [w(b(a.text), 1)])])) : M("v-if", !0)], 6);
|
|
11098
|
+
}, U1.__scopeId = "data-v-34d34265", U1.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
11105
11099
|
const tb = { "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" }, ab = { render: function(n, e) {
|
|
11106
11100
|
return r(), t("path", tb);
|
|
11107
11101
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
11108
11102
|
var lb = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
11109
11103
|
const o5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
11110
|
-
var
|
|
11104
|
+
var e2 = (n, e) => ({ name: `BIMDataIcon${n}`, components: { [n]: e }, props: { color: { type: String, default: "default", validator: (a) => lb.includes(a) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (a) => Object.keys(o5).includes(a) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
11111
11105
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
11112
11106
|
}, style() {
|
|
11113
11107
|
const a = this.getPixelSize(this.size);
|
|
11114
11108
|
return { width: `${a}px`, minWidth: `${a}px`, height: `${a}px`, minHeight: `${a}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
11115
11109
|
} }, methods: { getPixelSize() {
|
|
11116
11110
|
return this.customSize ? this.customSize : o5[this.size];
|
|
11117
|
-
} } }),
|
|
11111
|
+
} } }), G1 = e2("Chevron", ab);
|
|
11118
11112
|
const ib = ["fill", "color"];
|
|
11119
|
-
|
|
11113
|
+
Y(`/* base COLORS --------------------------------------------- */
|
|
11120
11114
|
/* colors BRAND */
|
|
11121
11115
|
/* colors GREY SHADES - NEUTRAL */
|
|
11122
11116
|
/* color TEXT */
|
|
@@ -11185,7 +11179,7 @@ html[data-v-5e440aca] {
|
|
|
11185
11179
|
/* base FONTS -------------------------------------- */
|
|
11186
11180
|
--primary-font: "roboto", sans-serif;
|
|
11187
11181
|
}`);
|
|
11188
|
-
|
|
11182
|
+
Y(`.icon-fill--black {
|
|
11189
11183
|
fill: var(--color-black);
|
|
11190
11184
|
}
|
|
11191
11185
|
.icon-fill--default {
|
|
@@ -11268,16 +11262,16 @@ W(`.icon-fill--black {
|
|
|
11268
11262
|
}
|
|
11269
11263
|
.icon-stroke--white {
|
|
11270
11264
|
stroke: var(--color-white);
|
|
11271
|
-
}`),
|
|
11265
|
+
}`), G1.render = function(n, e, a, l, i, s) {
|
|
11272
11266
|
const c = h("Chevron");
|
|
11273
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
11274
|
-
},
|
|
11267
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, ib);
|
|
11268
|
+
}, G1.__scopeId = "data-v-5e440aca", G1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
11275
11269
|
const cb = { "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" }, sb = { render: function(n, e) {
|
|
11276
11270
|
return r(), t("path", cb);
|
|
11277
11271
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
11278
|
-
var
|
|
11272
|
+
var c2 = e2("DoubleChevron", sb);
|
|
11279
11273
|
const db = ["fill", "color"];
|
|
11280
|
-
|
|
11274
|
+
Y(`/* base COLORS --------------------------------------------- */
|
|
11281
11275
|
/* colors BRAND */
|
|
11282
11276
|
/* colors GREY SHADES - NEUTRAL */
|
|
11283
11277
|
/* color TEXT */
|
|
@@ -11346,7 +11340,7 @@ html[data-v-859297ec] {
|
|
|
11346
11340
|
/* base FONTS -------------------------------------- */
|
|
11347
11341
|
--primary-font: "roboto", sans-serif;
|
|
11348
11342
|
}`);
|
|
11349
|
-
|
|
11343
|
+
Y(`.icon-fill--black {
|
|
11350
11344
|
fill: var(--color-black);
|
|
11351
11345
|
}
|
|
11352
11346
|
.icon-fill--default {
|
|
@@ -11429,16 +11423,16 @@ W(`.icon-fill--black {
|
|
|
11429
11423
|
}
|
|
11430
11424
|
.icon-stroke--white {
|
|
11431
11425
|
stroke: var(--color-white);
|
|
11432
|
-
}`),
|
|
11426
|
+
}`), c2.render = function(n, e, a, l, i, s) {
|
|
11433
11427
|
const c = h("DoubleChevron");
|
|
11434
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
11435
|
-
},
|
|
11428
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, db);
|
|
11429
|
+
}, c2.__scopeId = "data-v-859297ec", c2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
11436
11430
|
const ub = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357 11.5L0 20.6836L2.31643 23L11.5 13.8164L20.6836 23L23 20.6836L13.8164 11.5L23 2.31643Z" }, Cb = { render: function(n, e) {
|
|
11437
11431
|
return r(), t("path", ub);
|
|
11438
11432
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
11439
|
-
var
|
|
11433
|
+
var s2 = e2("Close", Cb);
|
|
11440
11434
|
const pb = ["fill", "color"];
|
|
11441
|
-
|
|
11435
|
+
Y(`/* base COLORS --------------------------------------------- */
|
|
11442
11436
|
/* colors BRAND */
|
|
11443
11437
|
/* colors GREY SHADES - NEUTRAL */
|
|
11444
11438
|
/* color TEXT */
|
|
@@ -11507,7 +11501,7 @@ html[data-v-797f55d8] {
|
|
|
11507
11501
|
/* base FONTS -------------------------------------- */
|
|
11508
11502
|
--primary-font: "roboto", sans-serif;
|
|
11509
11503
|
}`);
|
|
11510
|
-
|
|
11504
|
+
Y(`.icon-fill--black {
|
|
11511
11505
|
fill: var(--color-black);
|
|
11512
11506
|
}
|
|
11513
11507
|
.icon-fill--default {
|
|
@@ -11590,16 +11584,16 @@ W(`.icon-fill--black {
|
|
|
11590
11584
|
}
|
|
11591
11585
|
.icon-stroke--white {
|
|
11592
11586
|
stroke: var(--color-white);
|
|
11593
|
-
}`),
|
|
11587
|
+
}`), s2.render = function(n, e, a, l, i, s) {
|
|
11594
11588
|
const c = h("Close");
|
|
11595
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
11596
|
-
},
|
|
11589
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, pb);
|
|
11590
|
+
}, s2.__scopeId = "data-v-797f55d8", s2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
11597
11591
|
const bb = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.4652C5.27332 14.4652 2.6301 11.822 2.6301 8.54753C2.6301 5.27309 5.27332 2.62986 8.54777 2.62986C11.8222 2.62986 14.4654 5.27309 14.4654 8.54753C14.4654 11.822 11.8222 14.4652 8.54777 14.4652ZM16.438 14.4654H15.3991L15.0309 14.1103C16.3196 12.6112 17.0955 10.665 17.0955 8.54774C17.0955 3.82676 13.2687 0 8.54774 0C3.82676 0 0 3.82676 0 8.54774C0 13.2687 3.82676 17.0955 8.54774 17.0955C10.665 17.0955 12.6112 16.3196 14.1103 15.0309L14.4654 15.3991V16.438L21.0406 23L23 21.0406L16.438 14.4654Z" }, gb = { render: function(n, e) {
|
|
11598
11592
|
return r(), t("path", bb);
|
|
11599
11593
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
11600
|
-
var
|
|
11594
|
+
var d2 = e2("Search", gb);
|
|
11601
11595
|
const hb = ["fill", "color"];
|
|
11602
|
-
|
|
11596
|
+
Y(`/* base COLORS --------------------------------------------- */
|
|
11603
11597
|
/* colors BRAND */
|
|
11604
11598
|
/* colors GREY SHADES - NEUTRAL */
|
|
11605
11599
|
/* color TEXT */
|
|
@@ -11668,7 +11662,7 @@ html[data-v-0993abf8] {
|
|
|
11668
11662
|
/* base FONTS -------------------------------------- */
|
|
11669
11663
|
--primary-font: "roboto", sans-serif;
|
|
11670
11664
|
}`);
|
|
11671
|
-
|
|
11665
|
+
Y(`.icon-fill--black {
|
|
11672
11666
|
fill: var(--color-black);
|
|
11673
11667
|
}
|
|
11674
11668
|
.icon-fill--default {
|
|
@@ -11751,11 +11745,11 @@ W(`.icon-fill--black {
|
|
|
11751
11745
|
}
|
|
11752
11746
|
.icon-stroke--white {
|
|
11753
11747
|
stroke: var(--color-white);
|
|
11754
|
-
}`),
|
|
11748
|
+
}`), d2.render = function(n, e, a, l, i, s) {
|
|
11755
11749
|
const c = h("Search");
|
|
11756
|
-
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style:
|
|
11757
|
-
},
|
|
11758
|
-
var
|
|
11750
|
+
return r(), t("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: n.fillColor, color: n.color, class: D(n.classes), style: y(n.style) }, [u(c)], 14, hb);
|
|
11751
|
+
}, d2.__scopeId = "data-v-0993abf8", d2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
11752
|
+
var X1 = { components: { BIMDataButton: z1, BIMDataCheckbox: U1, BIMDataIconChevron: G1 }, props: { columns: { type: Array, required: !0 }, rows: { type: Array, required: !0 }, rowHeight: { type: Number, default: 50 }, selectable: { type: Boolean, default: !1 }, paginated: { type: Boolean, default: !1 }, perPage: { type: Number, default: 10 }, placeholder: { type: String, default: "" }, tableWidth: { type: String, default: "100%" }, tableLayout: { type: String, default: "auto" } }, emits: ["selection-changed", "row-selected", "row-unselected", "all-selected", "all-unselected"], data: () => ({ displayedRows: [], pageIndex: 0, pageStartIndex: 1, pageEndIndex: 1, selection: /* @__PURE__ */ new Map(), selectionRefs: [], oldSelectionRefs: [], fullSelectionRef: !1 }), watch: { rows: { immediate: !0, handler(n) {
|
|
11759
11753
|
this.selection = /* @__PURE__ */ new Map(), this.buildSelectionRefs(n, !1), this.setPagination();
|
|
11760
11754
|
} }, paginated: { immediate: !0, handler() {
|
|
11761
11755
|
this.setPagination();
|
|
@@ -11792,7 +11786,7 @@ var Y1 = { components: { BIMDataButton: U1, BIMDataCheckbox: G1, BIMDataIconChev
|
|
|
11792
11786
|
this.displayedRows = n;
|
|
11793
11787
|
} } };
|
|
11794
11788
|
const fb = { class: "bimdata-table" }, Lb = { key: 0, class: "cell-checkbox" }, vb = { key: 0, class: "cell-checkbox" }, mb = { class: "bimdata-table__page-nav__text" };
|
|
11795
|
-
|
|
11789
|
+
Y(`/* base COLORS --------------------------------------------- */
|
|
11796
11790
|
/* colors BRAND */
|
|
11797
11791
|
/* colors GREY SHADES - NEUTRAL */
|
|
11798
11792
|
/* color TEXT */
|
|
@@ -11918,13 +11912,13 @@ html[data-v-a29e0786] {
|
|
|
11918
11912
|
}
|
|
11919
11913
|
.bimdata-table__page-nav__text[data-v-a29e0786] {
|
|
11920
11914
|
margin: 0 var(--spacing-unit);
|
|
11921
|
-
}`),
|
|
11915
|
+
}`), X1.render = function(n, e, a, l, i, s) {
|
|
11922
11916
|
const c = h("BIMDataCheckbox"), d = h("BIMDataIconChevron"), C = h("BIMDataButton");
|
|
11923
|
-
return r(), t("div", fb, [o("div", { class: "bimdata-table__container", style:
|
|
11924
|
-
},
|
|
11917
|
+
return r(), t("div", fb, [o("div", { class: "bimdata-table__container", style: y({ height: a.paginated ? (a.perPage + 1) * a.rowHeight + "px" : void 0 }) }, [o("table", { style: y({ width: a.tableWidth, tableLayout: a.tableLayout }) }, [o("thead", null, [o("tr", { key: "head-row-0", style: y({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), t("th", Lb, [u(c, { disabled: a.rows.length === 0, modelValue: a.rows.length > 0 && i.selection.size === a.rows.length, "onUpdate:modelValue": s.toggleFullSelection }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : M("v-if", !0), (r(!0), t(N, null, U(a.columns, (p, f) => (r(), t("th", { key: `head-row-0-col-${f}`, style: y({ width: p.width || "auto", textAlign: p.align || "left" }) }, b(p.id ? p.label || p.id : p), 5))), 128))], 4)]), o("tbody", null, [(r(!0), t(N, null, U(a.rows, (p, f) => X((r(), t("tr", { key: `body-row-${f}`, style: y({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), t("td", vb, [u(c, { modelValue: i.selection.has(f), "onUpdate:modelValue": (g) => s.toggleSelection(f) }, null, 8, ["modelValue", "onUpdate:modelValue"])])) : M("v-if", !0), (r(!0), t(N, null, U(a.columns, (g, m) => (r(), t("td", { key: `body-row-${f}-col-${m}`, style: y({ width: g.width || "auto", textAlign: g.align || "left" }) }, [S(n.$slots, `cell-${g.id}`, { row: p }, () => [w(b(p[g.id] || p[m] || ""), 1)])], 4))), 128))], 4)), [[q, i.displayedRows.includes(f)]])), 128))])], 4), a.rows.length === 0 && a.placeholder ? (r(), t("div", { key: 0, class: "bimdata-table__container__placeholder", style: y({ height: `calc(100% - ${a.rowHeight}px)` }) }, b(a.placeholder), 5)) : M("v-if", !0)], 4), a.paginated ? (r(), t("div", { key: 0, class: "bimdata-table__page-nav", style: y({ visibility: a.rows.length > a.perPage ? "visible" : "hidden" }) }, [u(C, { ghost: "", rounded: "", icon: "", disabled: i.pageStartIndex === 1, onClick: e[0] || (e[0] = (p) => i.pageIndex--) }, { default: L(() => [u(d, { size: "s", rotate: 180 })]), _: 1 }, 8, ["disabled"]), o("span", mb, b(`${i.pageStartIndex} - ${i.pageEndIndex} of ${a.rows.length}`), 1), u(C, { ghost: "", rounded: "", icon: "", disabled: i.pageEndIndex === a.rows.length, onClick: e[1] || (e[1] = (p) => i.pageIndex++) }, { default: L(() => [u(d, { size: "s" })]), _: 1 }, 8, ["disabled"])], 4)) : M("v-if", !0)]);
|
|
11918
|
+
}, X1.__scopeId = "data-v-a29e0786", X1.__file = "src/BIMDataComponents/BIMDataTable/BIMDataTable.vue";
|
|
11925
11919
|
const Ib = {
|
|
11926
11920
|
components: {
|
|
11927
|
-
BIMDataButton:
|
|
11921
|
+
BIMDataButton: z
|
|
11928
11922
|
},
|
|
11929
11923
|
props: {
|
|
11930
11924
|
topic: {
|
|
@@ -11970,8 +11964,8 @@ const Hb = {
|
|
|
11970
11964
|
},
|
|
11971
11965
|
setup(n) {
|
|
11972
11966
|
return {
|
|
11973
|
-
priorityColor:
|
|
11974
|
-
() =>
|
|
11967
|
+
priorityColor: A(
|
|
11968
|
+
() => d1(n.topic, n.detailedExtensions)
|
|
11975
11969
|
)
|
|
11976
11970
|
};
|
|
11977
11971
|
}
|
|
@@ -11980,7 +11974,7 @@ function Db(n, e, a, l, i, s) {
|
|
|
11980
11974
|
return r(), t("div", Vb, [
|
|
11981
11975
|
o("span", {
|
|
11982
11976
|
class: "left-stripe",
|
|
11983
|
-
style:
|
|
11977
|
+
style: y({ backgroundColor: `#${l.priorityColor}` })
|
|
11984
11978
|
}, null, 4),
|
|
11985
11979
|
o("span", Bb, b(a.topic.index), 1)
|
|
11986
11980
|
]);
|
|
@@ -11999,8 +11993,8 @@ const kb = {
|
|
|
11999
11993
|
},
|
|
12000
11994
|
setup(n) {
|
|
12001
11995
|
return {
|
|
12002
|
-
priorityColor:
|
|
12003
|
-
() =>
|
|
11996
|
+
priorityColor: A(
|
|
11997
|
+
() => d1(n.topic, n.detailedExtensions)
|
|
12004
11998
|
)
|
|
12005
11999
|
};
|
|
12006
12000
|
}
|
|
@@ -12008,7 +12002,7 @@ const kb = {
|
|
|
12008
12002
|
function wb(n, e, a, l, i, s) {
|
|
12009
12003
|
return r(), t("span", {
|
|
12010
12004
|
class: "bcf-topic-priority-cell",
|
|
12011
|
-
style:
|
|
12005
|
+
style: y({ color: `#${l.priorityColor}` })
|
|
12012
12006
|
}, b(a.topic.priority || n.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
|
|
12013
12007
|
}
|
|
12014
12008
|
const Zb = /* @__PURE__ */ R(kb, [["render", wb], ["__scopeId", "data-v-1d15fcf6"]]);
|
|
@@ -12025,17 +12019,17 @@ const Sb = {
|
|
|
12025
12019
|
},
|
|
12026
12020
|
setup(n) {
|
|
12027
12021
|
return {
|
|
12028
|
-
statusColor:
|
|
12029
|
-
() =>
|
|
12022
|
+
statusColor: A(
|
|
12023
|
+
() => S2(n.topic, n.detailedExtensions)
|
|
12030
12024
|
),
|
|
12031
|
-
adjustTextColor:
|
|
12025
|
+
adjustTextColor: Q1
|
|
12032
12026
|
};
|
|
12033
12027
|
}
|
|
12034
12028
|
};
|
|
12035
12029
|
function Ab(n, e, a, l, i, s) {
|
|
12036
12030
|
return r(), t("span", {
|
|
12037
12031
|
class: "bcf-topic-status-cell",
|
|
12038
|
-
style:
|
|
12032
|
+
style: y({
|
|
12039
12033
|
backgroundColor: `#${l.statusColor}`,
|
|
12040
12034
|
color: l.adjustTextColor(l.statusColor, "#ffffff", "var(--color-text)")
|
|
12041
12035
|
})
|
|
@@ -12047,9 +12041,9 @@ const Tb = /* @__PURE__ */ R(Sb, [["render", Ab], ["__scopeId", "data-v-c2a5faf4
|
|
|
12047
12041
|
BcfTopicIndexCell: xb,
|
|
12048
12042
|
BcfTopicPriorityCell: Zb,
|
|
12049
12043
|
BcfTopicStatusCell: Tb,
|
|
12050
|
-
BIMDataTable:
|
|
12044
|
+
BIMDataTable: X1,
|
|
12051
12045
|
BIMDataTextbox: n1,
|
|
12052
|
-
BIMDataTooltip:
|
|
12046
|
+
BIMDataTooltip: f1,
|
|
12053
12047
|
UserAvatar: v5
|
|
12054
12048
|
},
|
|
12055
12049
|
props: {
|
|
@@ -12078,10 +12072,10 @@ const Tb = /* @__PURE__ */ R(Sb, [["render", Ab], ["__scopeId", "data-v-c2a5faf4
|
|
|
12078
12072
|
],
|
|
12079
12073
|
setup(n) {
|
|
12080
12074
|
return {
|
|
12081
|
-
displayedColumns:
|
|
12075
|
+
displayedColumns: A(
|
|
12082
12076
|
() => n.columns && n.columns.length > 0 ? e5.filter((a) => n.columns.includes(a.id)) : e5
|
|
12083
12077
|
),
|
|
12084
|
-
deserialize:
|
|
12078
|
+
deserialize: _2
|
|
12085
12079
|
};
|
|
12086
12080
|
}
|
|
12087
12081
|
};
|
|
@@ -12172,13 +12166,14 @@ export {
|
|
|
12172
12166
|
Xb as components,
|
|
12173
12167
|
Eb as config,
|
|
12174
12168
|
Fb as createService,
|
|
12175
|
-
|
|
12176
|
-
|
|
12169
|
+
d1 as getPriorityColor,
|
|
12170
|
+
S2 as getStatusColor,
|
|
12177
12171
|
E5 as getViewpointConfig,
|
|
12178
12172
|
Gb as getViewpointModels,
|
|
12179
12173
|
O5 as getViewpointType,
|
|
12180
12174
|
Pb as setService,
|
|
12181
12175
|
$5 as useBcfFilter,
|
|
12182
12176
|
zb as useBcfSearch,
|
|
12183
|
-
Ub as useBcfSort
|
|
12177
|
+
Ub as useBcfSort,
|
|
12178
|
+
I1 as useService
|
|
12184
12179
|
};
|