@bimdata/bcf-components 3.1.1-rc.1 → 3.1.1-rc.2
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 +156 -146
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +345 -331
- 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 R5, computed as
|
|
2
|
+
import { reactive as R5, computed as O, ref as B, watch as n1, openBlock as r, createElementBlock as o, normalizeClass as k, normalizeStyle as H, renderSlot as _, createElementVNode as t, createBlock as D, resolveDynamicComponent as u1, pushScopeId as l1, popScopeId as i1, mergeProps as w1, toDisplayString as b, createCommentVNode as v, createTextVNode as A, resolveComponent as g, createVNode as p, resolveDirective as i2, withDirectives as X, Transition as t1, withCtx as L, Fragment as R, renderList as U, vShow as q, toRaw as e5, withKeys as x, withModifiers as Z, createSlots as m5, createStaticVNode as M5, inject as E5 } from "vue";
|
|
3
3
|
const I5 = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -170,30 +170,30 @@ var D2 = { exports: {} };
|
|
|
170
170
|
return h && h.__esModule ? h : { default: h };
|
|
171
171
|
}
|
|
172
172
|
function u(h) {
|
|
173
|
-
var
|
|
173
|
+
var m = -1, I = h.length;
|
|
174
174
|
return function() {
|
|
175
|
-
return ++
|
|
175
|
+
return ++m < I ? { value: h[m], key: m } : null;
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
function d(h) {
|
|
179
|
-
var
|
|
179
|
+
var m = -1;
|
|
180
180
|
return function() {
|
|
181
|
-
var
|
|
182
|
-
return
|
|
181
|
+
var M = h.next();
|
|
182
|
+
return M.done ? null : (m++, { value: M.value, key: m });
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
function C(h) {
|
|
186
|
-
var
|
|
186
|
+
var m = h ? Object.keys(h) : [], I = -1, M = m.length;
|
|
187
187
|
return function y() {
|
|
188
|
-
var w =
|
|
189
|
-
return w === "__proto__" ? y() :
|
|
188
|
+
var w = m[++I];
|
|
189
|
+
return w === "__proto__" ? y() : I < M ? { value: h[w], key: w } : null;
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
192
|
function f(h) {
|
|
193
193
|
if ((0, l.default)(h))
|
|
194
194
|
return u(h);
|
|
195
|
-
var
|
|
196
|
-
return
|
|
195
|
+
var m = (0, i.default)(h);
|
|
196
|
+
return m ? d(m) : C(h);
|
|
197
197
|
}
|
|
198
198
|
e.exports = n.default;
|
|
199
199
|
})(H2, H2.exports);
|
|
@@ -250,35 +250,35 @@ function j5() {
|
|
|
250
250
|
return h && h.__esModule ? h : { default: h };
|
|
251
251
|
}
|
|
252
252
|
function d(h) {
|
|
253
|
-
return (0, c.isAsync)(h) ? function(...
|
|
254
|
-
const
|
|
255
|
-
return C(
|
|
256
|
-
} : (0, l.default)(function(
|
|
257
|
-
var
|
|
253
|
+
return (0, c.isAsync)(h) ? function(...m) {
|
|
254
|
+
const I = m.pop(), M = h.apply(this, m);
|
|
255
|
+
return C(M, I);
|
|
256
|
+
} : (0, l.default)(function(m, I) {
|
|
257
|
+
var M;
|
|
258
258
|
try {
|
|
259
|
-
|
|
259
|
+
M = h.apply(this, m);
|
|
260
260
|
} catch (y) {
|
|
261
|
-
return
|
|
261
|
+
return I(y);
|
|
262
262
|
}
|
|
263
|
-
if (
|
|
264
|
-
return C(
|
|
265
|
-
|
|
263
|
+
if (M && typeof M.then == "function")
|
|
264
|
+
return C(M, I);
|
|
265
|
+
I(null, M);
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
function C(h,
|
|
269
|
-
return h.then((
|
|
270
|
-
f(
|
|
271
|
-
}, (
|
|
272
|
-
f(
|
|
268
|
+
function C(h, m) {
|
|
269
|
+
return h.then((I) => {
|
|
270
|
+
f(m, null, I);
|
|
271
|
+
}, (I) => {
|
|
272
|
+
f(m, I && I.message ? I : new Error(I));
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
|
-
function f(h,
|
|
275
|
+
function f(h, m, I) {
|
|
276
276
|
try {
|
|
277
|
-
h(
|
|
278
|
-
} catch (
|
|
277
|
+
h(m, I);
|
|
278
|
+
} catch (M) {
|
|
279
279
|
(0, i.default)((y) => {
|
|
280
280
|
throw y;
|
|
281
|
-
},
|
|
281
|
+
}, M);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
e.exports = n.default;
|
|
@@ -328,33 +328,33 @@ var x2 = { exports: {} }, a2 = { exports: {} };
|
|
|
328
328
|
return c && c.__esModule ? c : { default: c };
|
|
329
329
|
}
|
|
330
330
|
function i(c, u, d, C) {
|
|
331
|
-
let f = !1, h = !1,
|
|
331
|
+
let f = !1, h = !1, m = !1, I = 0, M = 0;
|
|
332
332
|
function y() {
|
|
333
|
-
|
|
333
|
+
I >= u || m || f || (m = !0, c.next().then(({ value: S, done: V }) => {
|
|
334
334
|
if (!(h || f)) {
|
|
335
|
-
if (
|
|
336
|
-
f = !0,
|
|
335
|
+
if (m = !1, V) {
|
|
336
|
+
f = !0, I <= 0 && C(null);
|
|
337
337
|
return;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
I++, d(S, M, w), M++, y();
|
|
340
340
|
}
|
|
341
341
|
}).catch(E));
|
|
342
342
|
}
|
|
343
343
|
function w(S, V) {
|
|
344
|
-
if (
|
|
344
|
+
if (I -= 1, !h) {
|
|
345
345
|
if (S)
|
|
346
346
|
return E(S);
|
|
347
347
|
if (S === !1) {
|
|
348
348
|
f = !0, h = !0;
|
|
349
349
|
return;
|
|
350
350
|
}
|
|
351
|
-
if (V === l.default || f &&
|
|
351
|
+
if (V === l.default || f && I <= 0)
|
|
352
352
|
return f = !0, C(null);
|
|
353
353
|
y();
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
function E(S) {
|
|
357
|
-
h || (
|
|
357
|
+
h || (m = !1, f = !0, C(S));
|
|
358
358
|
}
|
|
359
359
|
y();
|
|
360
360
|
}
|
|
@@ -364,42 +364,42 @@ var x2 = { exports: {} }, a2 = { exports: {} };
|
|
|
364
364
|
Object.defineProperty(n, "__esModule", {
|
|
365
365
|
value: !0
|
|
366
366
|
});
|
|
367
|
-
var a = y2.exports, l =
|
|
368
|
-
function M
|
|
369
|
-
return
|
|
367
|
+
var a = y2.exports, l = I(a), s = H2.exports, i = I(s), c = B2.exports, u = I(c), d = G2(), C = x2.exports, f = I(C), h = a2.exports, m = I(h);
|
|
368
|
+
function I(M) {
|
|
369
|
+
return M && M.__esModule ? M : { default: M };
|
|
370
370
|
}
|
|
371
|
-
n.default = (
|
|
372
|
-
if (E = (0, l.default)(E),
|
|
371
|
+
n.default = (M) => (y, w, E) => {
|
|
372
|
+
if (E = (0, l.default)(E), M <= 0)
|
|
373
373
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
374
374
|
if (!y)
|
|
375
375
|
return E(null);
|
|
376
376
|
if ((0, d.isAsyncGenerator)(y))
|
|
377
|
-
return (0, f.default)(y,
|
|
377
|
+
return (0, f.default)(y, M, w, E);
|
|
378
378
|
if ((0, d.isAsyncIterable)(y))
|
|
379
|
-
return (0, f.default)(y[Symbol.asyncIterator](),
|
|
380
|
-
var S = (0, i.default)(y), V = !1, T = !1, $ = 0,
|
|
381
|
-
function
|
|
379
|
+
return (0, f.default)(y[Symbol.asyncIterator](), M, w, E);
|
|
380
|
+
var S = (0, i.default)(y), V = !1, T = !1, $ = 0, P = !1;
|
|
381
|
+
function r1(G, N) {
|
|
382
382
|
if (!T)
|
|
383
|
-
if ($ -= 1,
|
|
384
|
-
V = !0, E(
|
|
385
|
-
else if (
|
|
383
|
+
if ($ -= 1, G)
|
|
384
|
+
V = !0, E(G);
|
|
385
|
+
else if (G === !1)
|
|
386
386
|
V = !0, T = !0;
|
|
387
387
|
else {
|
|
388
|
-
if (
|
|
388
|
+
if (N === m.default || V && $ <= 0)
|
|
389
389
|
return V = !0, E(null);
|
|
390
|
-
|
|
390
|
+
P || Q();
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
function Q() {
|
|
394
|
-
for (
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
394
|
+
for (P = !0; $ < M && !V; ) {
|
|
395
|
+
var G = S();
|
|
396
|
+
if (G === null) {
|
|
397
397
|
V = !0, $ <= 0 && E(null);
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
400
|
-
$ += 1, w(
|
|
400
|
+
$ += 1, w(G.value, G.key, (0, u.default)(r1));
|
|
401
401
|
}
|
|
402
|
-
|
|
402
|
+
P = !1;
|
|
403
403
|
}
|
|
404
404
|
Q();
|
|
405
405
|
}, e.exports = n.default;
|
|
@@ -440,11 +440,11 @@ var Z2 = { exports: {} };
|
|
|
440
440
|
value: !0
|
|
441
441
|
});
|
|
442
442
|
var a = _2.exports, l = f(a), s = w2.exports, i = f(s), c = G2(), u = f(c), d = Z2.exports, C = f(d);
|
|
443
|
-
function f(
|
|
444
|
-
return
|
|
443
|
+
function f(m) {
|
|
444
|
+
return m && m.__esModule ? m : { default: m };
|
|
445
445
|
}
|
|
446
|
-
function h(I, M,
|
|
447
|
-
return (0, l.default)(
|
|
446
|
+
function h(m, I, M, y) {
|
|
447
|
+
return (0, l.default)(I)(m, (0, i.default)((0, u.default)(M)), y);
|
|
448
448
|
}
|
|
449
449
|
n.default = (0, C.default)(h, 4), e.exports = n.default;
|
|
450
450
|
})(I2, I2.exports);
|
|
@@ -471,19 +471,19 @@ let x5 = null;
|
|
|
471
471
|
function FM(e, { fetchUsers: n }) {
|
|
472
472
|
const a = n ? (V) => n(V) : (V) => e.collaborationApi.getProjectUsers(V.cloud.id, V.id);
|
|
473
473
|
return {
|
|
474
|
-
fetchTopics: async (V) => {
|
|
475
|
-
const
|
|
476
|
-
return
|
|
477
|
-
|
|
474
|
+
fetchTopics: async (V, { extensions: T, users: $ } = {}) => {
|
|
475
|
+
const P = T != null ? T : await e.bcfApi.getDetailedExtensions(V.id), r1 = $ != null ? $ : await a(V), Q = await e.bcfApi.getTopics(V.id);
|
|
476
|
+
return Q.sort((G, N) => N.index - G.index), await K5(Q, 10, async (G) => {
|
|
477
|
+
G.color = v1(G, P), G.creator = r1.find((N) => N.email === G.creation_author), G.viewpoints = await e.bcfApi.getTopicViewpoints(
|
|
478
478
|
V.id,
|
|
479
|
-
|
|
479
|
+
G.guid,
|
|
480
480
|
"url"
|
|
481
481
|
);
|
|
482
|
-
}),
|
|
482
|
+
}), Q;
|
|
483
483
|
},
|
|
484
484
|
fecthTopicByGuid: async (V, T) => {
|
|
485
|
-
const $ = await e.bcfApi.getDetailedExtensions(V.id),
|
|
486
|
-
return
|
|
485
|
+
const $ = await e.bcfApi.getDetailedExtensions(V.id), P = await e.bcfApi.getFullTopic(T, V.id, "url");
|
|
486
|
+
return P.color = v1(P, $), P;
|
|
487
487
|
},
|
|
488
488
|
createTopic: async (V, T) => await e.bcfApi.createFullTopic(
|
|
489
489
|
V.id,
|
|
@@ -515,21 +515,21 @@ function FM(e, { fetchUsers: n }) {
|
|
|
515
515
|
);
|
|
516
516
|
},
|
|
517
517
|
fetchTopicComments: async (V, T) => {
|
|
518
|
-
const $ = await a(V),
|
|
519
|
-
return
|
|
520
|
-
|
|
521
|
-
}),
|
|
518
|
+
const $ = await a(V), P = await e.bcfApi.getComments(V.id, T.guid);
|
|
519
|
+
return P.sort((r1, Q) => r1.date > Q.date ? -1 : 1), P.forEach((r1) => {
|
|
520
|
+
r1.user = $.find((Q) => Q.email === r1.author);
|
|
521
|
+
}), P;
|
|
522
522
|
},
|
|
523
523
|
createComment: async (V, T, $) => await e.bcfApi.createComment(
|
|
524
524
|
V.id,
|
|
525
525
|
T.guid,
|
|
526
526
|
$
|
|
527
527
|
),
|
|
528
|
-
updateComment: async (V, T, $,
|
|
528
|
+
updateComment: async (V, T, $, P) => await e.bcfApi.updateComment(
|
|
529
529
|
$.guid,
|
|
530
530
|
V.id,
|
|
531
531
|
T.guid,
|
|
532
|
-
|
|
532
|
+
P
|
|
533
533
|
),
|
|
534
534
|
deleteComment: async (V, T, $) => {
|
|
535
535
|
await e.bcfApi.deleteComment(
|
|
@@ -547,12 +547,12 @@ function FM(e, { fetchUsers: n }) {
|
|
|
547
547
|
color: U5()
|
|
548
548
|
}
|
|
549
549
|
),
|
|
550
|
-
updateExtension: async (V, T, $,
|
|
550
|
+
updateExtension: async (V, T, $, P) => await e.bcfApi[`updateExtension${T}`](
|
|
551
551
|
$.id,
|
|
552
552
|
V.id,
|
|
553
553
|
{
|
|
554
|
-
[g1(T)]:
|
|
555
|
-
color:
|
|
554
|
+
[g1(T)]: P.value,
|
|
555
|
+
color: P.color
|
|
556
556
|
}
|
|
557
557
|
),
|
|
558
558
|
deleteExtension: async (V, T, $) => {
|
|
@@ -579,7 +579,7 @@ const o5 = {
|
|
|
579
579
|
endDate: null
|
|
580
580
|
};
|
|
581
581
|
function q5(e) {
|
|
582
|
-
const n = R5({ ...o5 }), a =
|
|
582
|
+
const n = R5({ ...o5 }), a = O(() => {
|
|
583
583
|
let i = e.value;
|
|
584
584
|
return n.priorities.length > 0 && (i = i.filter((c) => n.priorities.includes(c.priority))), n.statuses.length > 0 && (i = i.filter((c) => n.statuses.includes(c.topic_status))), n.users.length > 0 && (i = i.filter((c) => n.users.includes(c.assigned_to))), n.creators.length > 0 && (i = i.filter((c) => n.creators.includes(c.creation_author))), n.labels.length > 0 && (i = i.filter((c) => n.labels.some((u) => c.labels.includes(u)))), n.startDate && n.endDate && (i = i.filter((c) => c.creation_date >= n.startDate && c.creation_date <= n.endDate)), i;
|
|
585
585
|
});
|
|
@@ -608,8 +608,8 @@ const J5 = [
|
|
|
608
608
|
"description"
|
|
609
609
|
];
|
|
610
610
|
function UM(e) {
|
|
611
|
-
const n =
|
|
612
|
-
return
|
|
611
|
+
const n = B(""), a = B([]);
|
|
612
|
+
return n1(
|
|
613
613
|
[e, n],
|
|
614
614
|
() => {
|
|
615
615
|
if (n.value) {
|
|
@@ -629,10 +629,10 @@ function UM(e) {
|
|
|
629
629
|
};
|
|
630
630
|
}
|
|
631
631
|
function p2(e, n = (a) => a) {
|
|
632
|
-
const a =
|
|
632
|
+
const a = B(e), l = (c = "asc") => {
|
|
633
633
|
const u = a.value.slice().sort((d, C) => n(d) < n(C) ? -1 : 1);
|
|
634
634
|
c === "desc" && u.reverse(), a.value = u;
|
|
635
|
-
}, s =
|
|
635
|
+
}, s = B("none");
|
|
636
636
|
return {
|
|
637
637
|
sortOrder: s,
|
|
638
638
|
sortToggle: () => {
|
|
@@ -641,7 +641,7 @@ function p2(e, n = (a) => a) {
|
|
|
641
641
|
};
|
|
642
642
|
}
|
|
643
643
|
function zM(e) {
|
|
644
|
-
const { sortToggle: n, sortOrder: a } = p2(e, (h) => h.index), { sortToggle: l, sortOrder: s } = p2(e, (h) => h.title), { sortToggle: i, sortOrder: c } = p2(e, (h) => h.creation_date), u =
|
|
644
|
+
const { sortToggle: n, sortOrder: a } = p2(e, (h) => h.index), { sortToggle: l, sortOrder: s } = p2(e, (h) => h.title), { sortToggle: i, sortOrder: c } = p2(e, (h) => h.creation_date), u = B("");
|
|
645
645
|
return {
|
|
646
646
|
sortedBy: u,
|
|
647
647
|
sortByIndex: () => {
|
|
@@ -1144,7 +1144,7 @@ w5(`.bimdata-btn {
|
|
|
1144
1144
|
color: var(--color-silver-dark);
|
|
1145
1145
|
cursor: auto;
|
|
1146
1146
|
}`), W.render = function(e, n, a, l, s, i) {
|
|
1147
|
-
return r(), o("button", { class:
|
|
1147
|
+
return r(), o("button", { class: k(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: a.color, type: "button" }, [_(e.$slots, "default")], 14, t3);
|
|
1148
1148
|
}, W.__scopeId = "data-v-3f903003", W.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
1149
1149
|
const r3 = { "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" }, o3 = { render: function(e, n) {
|
|
1150
1150
|
return r(), o("path", r3);
|
|
@@ -1633,7 +1633,7 @@ Z5(`.icon-fill--black {
|
|
|
1633
1633
|
.icon-stroke--white {
|
|
1634
1634
|
stroke: var(--color-white);
|
|
1635
1635
|
}`), j.render = function(e, n, a, l, s, i) {
|
|
1636
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class:
|
|
1636
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), D(u1(`bimdata-icon-${a.name}`)))], 14, k0);
|
|
1637
1637
|
}, j.__scopeId = "data-v-1312d4d1", j.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
1638
1638
|
let i5 = 0;
|
|
1639
1639
|
var c1 = { 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() {
|
|
@@ -1989,7 +1989,7 @@ input:-webkit-autofill {
|
|
|
1989
1989
|
.bimdata-input.success .bar::before, .bimdata-input.success .bar::after {
|
|
1990
1990
|
background-color: var(--color-success);
|
|
1991
1991
|
}`), c1.render = function(e, n, a, l, s, i) {
|
|
1992
|
-
return r(), o("div", { class:
|
|
1992
|
+
return r(), o("div", { class: k(["bimdata-input", { error: a.error, success: a.success, disabled: a.disabled, loading: a.loading, "not-empty": !!a.modelValue }]), style: H(i.style) }, [t("input", w1({ ref: "input", id: `bimdata-input-${e.uuid}`, onInput: n[0] || (n[0] = (c) => e.$emit("update:modelValue", c.currentTarget.value)), disabled: a.disabled, value: a.modelValue, onFocus: n[1] || (n[1] = (c) => {
|
|
1993
1993
|
c.target.select(), e.$emit("focus", c);
|
|
1994
1994
|
}), onBlur: n[2] || (n[2] = (c) => e.$emit("blur", c)), onKeypress: n[3] || (n[3] = (c) => e.$emit("keypress", c)), onChange: n[4] || (n[4] = (c) => e.$emit("change", c)), autocomplete: a.autocomplete ? "on" : "off" }, e.$attrs), null, 16, x0), t("div", w0, [_(e.$slots, "inputIcon")]), t("label", { for: `bimdata-input-${e.uuid}` }, b(a.placeholder), 9, Z0), S0, a.error ? (r(), o("span", A0, b(a.errorMessage), 1)) : v("v-if", !0), a.success ? (r(), o("span", T0, b(a.successMessage), 1)) : v("v-if", !0)], 6);
|
|
1995
1995
|
}, c1.__scopeId = "data-v-5d42d486", c1.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
|
|
@@ -2435,7 +2435,7 @@ J(`.icon-fill--black {
|
|
|
2435
2435
|
stroke: var(--color-white);
|
|
2436
2436
|
}`), y1.render = function(e, n, a, l, s, i) {
|
|
2437
2437
|
const c = g("Chevron");
|
|
2438
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
2438
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, F0);
|
|
2439
2439
|
}, y1.__scopeId = "data-v-5e440aca", y1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
2440
2440
|
const P0 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.47105C0.982285 2.39544 0.982285 2.27217 1.05119 2.19676L3.00683 0.0565512C3.07573 -0.0188504 3.18857 -0.0188504 3.25748 0.0565512L13.5625 11.3331C13.5796 11.3518 13.5925 11.3736 13.6012 11.3968C13.6665 11.4724 13.6658 11.5928 13.598 11.667L3.29296 22.9433C3.22406 23.0189 3.11122 23.0189 3.04231 22.9433L1.08668 20.8033C1.01758 20.7279 1.01758 20.6044 1.08668 20.529L9.32003 11.5192L1.05119 2.47105ZM10.2512 2.47105C10.1823 2.39544 10.1823 2.27217 10.2512 2.19676L12.2068 0.0565512C12.2757 -0.0188504 12.3886 -0.0188504 12.4575 0.0565512L22.7625 11.3331C22.7796 11.3518 22.7925 11.3736 22.8012 11.3968C22.8665 11.4724 22.8658 11.5928 22.798 11.667L12.493 22.9433C12.4241 23.0189 12.3112 23.0189 12.2423 22.9433L10.2867 20.8033C10.2176 20.7279 10.2176 20.6044 10.2867 20.529L18.52 11.5192L10.2512 2.47105Z" }, U0 = { render: function(e, n) {
|
|
2441
2441
|
return r(), o("path", P0);
|
|
@@ -2596,7 +2596,7 @@ J(`.icon-fill--black {
|
|
|
2596
2596
|
stroke: var(--color-white);
|
|
2597
2597
|
}`), h2.render = function(e, n, a, l, s, i) {
|
|
2598
2598
|
const c = g("DoubleChevron");
|
|
2599
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
2599
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, z0);
|
|
2600
2600
|
}, h2.__scopeId = "data-v-859297ec", h2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
2601
2601
|
const G0 = { 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" }, Y0 = { render: function(e, n) {
|
|
2602
2602
|
return r(), o("path", G0);
|
|
@@ -2757,7 +2757,7 @@ J(`.icon-fill--black {
|
|
|
2757
2757
|
stroke: var(--color-white);
|
|
2758
2758
|
}`), b2.render = function(e, n, a, l, s, i) {
|
|
2759
2759
|
const c = g("Close");
|
|
2760
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
2760
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, W0);
|
|
2761
2761
|
}, b2.__scopeId = "data-v-797f55d8", b2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
2762
2762
|
const X0 = { "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" }, j0 = { render: function(e, n) {
|
|
2763
2763
|
return r(), o("path", X0);
|
|
@@ -2918,7 +2918,7 @@ J(`.icon-fill--black {
|
|
|
2918
2918
|
stroke: var(--color-white);
|
|
2919
2919
|
}`), g2.render = function(e, n, a, l, s, i) {
|
|
2920
2920
|
const c = g("Search");
|
|
2921
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
2921
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, K0);
|
|
2922
2922
|
}, g2.__scopeId = "data-v-0993abf8", g2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
2923
2923
|
var O1 = { components: { BIMDataCheckbox: N1, BIMDataIconChevron: y1 }, directives: { clickaway: A5 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number] }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: Array }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], data: () => ({ isOpen: !1 }), computed: { displayedValue() {
|
|
2924
2924
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
@@ -3129,7 +3129,7 @@ html[data-v-2c3115dc] {
|
|
|
3129
3129
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3130
3130
|
}`), O1.render = function(e, n, a, l, s, i) {
|
|
3131
3131
|
const c = g("BIMDataIconChevron"), u = g("BIMDataCheckbox"), d = i2("clickaway");
|
|
3132
|
-
return X((r(), o("div", { class:
|
|
3132
|
+
return X((r(), o("div", { class: k(["bimdata-select", { disabled: a.disabled, active: s.isOpen, "not-empty": a.modelValue.length > 0 }]), style: H({ width: a.width }) }, [t("div", q0, [t("div", { class: "bimdata-select__content__value", onClick: n[0] || (n[0] = (...C) => i.toggle && i.toggle(...C)) }, [t("span", null, b(i.displayedValue), 1), p(c, { size: "xxs", rotate: s.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), t("label", J0, b(a.label), 1), Q0]), p(t1, { name: "slide-fade-down", persisted: "" }, { default: L(() => [X(t("ul", e8, [(r(!0), o(R, null, U(a.options, (C, f) => (r(), o("li", { class: k(["bimdata-select__option-list__entry", { selected: i.isSelected(C), disabled: i.isDisabled(C), "option-group": i.isOptionGroup(C) }]), key: f, onClick: (h) => i.onOptionClick(C) }, [i.isOptionGroup(C) ? (r(), o(R, { key: 0 }, [A(b(i.optionLabel(C)), 1)], 64)) : (r(), D(u, { key: 1, modelValue: i.isSelected(C), disabled: i.isDisabled(C), text: i.optionLabel(C) }, null, 8, ["modelValue", "disabled", "text"]))], 10, n8))), 128))], 512), [[q, !a.disabled && s.isOpen]])]), _: 1 })], 6)), [[d, () => s.isOpen = !1]]);
|
|
3133
3133
|
}, O1.__scopeId = "data-v-2c3115dc", O1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue";
|
|
3134
3134
|
var R1 = { components: { BIMDataIconChevron: y1 }, directives: { clickaway: A5 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number] }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: [String, Object] }, nullValue: { type: Boolean, default: !1 }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], data: () => ({ isOpen: !1 }), computed: { displayedValue() {
|
|
3135
3135
|
return this.optionLabel(this.modelValue);
|
|
@@ -3334,7 +3334,7 @@ html[data-v-41a0d93f] {
|
|
|
3334
3334
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3335
3335
|
}`), R1.render = function(e, n, a, l, s, i) {
|
|
3336
3336
|
const c = g("BIMDataIconChevron"), u = i2("clickaway");
|
|
3337
|
-
return X((r(), o("div", { class:
|
|
3337
|
+
return X((r(), o("div", { class: k(["bimdata-select", { disabled: a.disabled, active: s.isOpen, "not-empty": a.modelValue !== void 0 && a.modelValue !== null }]), style: H({ width: a.width }) }, [t("div", t8, [t("div", { class: "bimdata-select__content__value", onClick: n[0] || (n[0] = (...d) => i.toggle && i.toggle(...d)) }, [t("span", null, b(i.displayedValue), 1), p(c, { size: "xxs", rotate: s.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), t("label", r8, b(a.label), 1), o8]), p(t1, { name: "slide-fade-down", persisted: "" }, { default: L(() => [X(t("ul", a8, [a.nullValue ? (r(), o("li", { key: 0, class: "bimdata-select__option-list__entry", onClick: n[1] || (n[1] = (d) => i.onNullValueClick()) }, b(a.nullLabel || "None"), 1)) : v("v-if", !0), (r(!0), o(R, null, U(a.options, (d, C) => (r(), o("li", { class: k(["bimdata-select__option-list__entry", { selected: i.isSelected(d), disabled: i.isDisabled(d), "option-group": i.isOptionGroup(d) }]), key: C, onClick: (f) => i.onOptionClick(d) }, b(i.optionLabel(d)), 11, l8))), 128))], 512), [[q, !a.disabled && s.isOpen]])]), _: 1 })], 6)), [[u, () => s.isOpen = !1]]);
|
|
3338
3338
|
}, R1.__scopeId = "data-v-41a0d93f", R1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue";
|
|
3339
3339
|
var l2 = { components: { BIMDataSelectMulti: O1, BIMDataSelectSingle: R1 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: [String, Object, Array] }, multi: { type: Boolean, default: !1 }, nullValue: { type: Boolean, default: !1 }, nullLabel: { type: String }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], computed: { selectorComponent() {
|
|
3340
3340
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
@@ -3342,7 +3342,7 @@ var l2 = { components: { BIMDataSelectMulti: O1, BIMDataSelectSingle: R1 }, mode
|
|
|
3342
3342
|
l2.render = function(e, n, a, l, s, i) {
|
|
3343
3343
|
return r(), D(u1(i.selectorComponent), w1(e.$props, { modelValue: a.modelValue, "onUpdate:modelValue": n[0] || (n[0] = (c) => e.$emit("update:modelValue", c)) }), null, 16, ["modelValue"]);
|
|
3344
3344
|
}, l2.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelect.vue";
|
|
3345
|
-
const
|
|
3345
|
+
const F = (e, n) => {
|
|
3346
3346
|
const a = e.__vccOpts || e;
|
|
3347
3347
|
for (const [l, s] of n)
|
|
3348
3348
|
a[l] = s;
|
|
@@ -3368,27 +3368,27 @@ const i8 = {
|
|
|
3368
3368
|
},
|
|
3369
3369
|
emits: ["submit"],
|
|
3370
3370
|
setup(e, { emit: n }) {
|
|
3371
|
-
const a =
|
|
3372
|
-
|
|
3373
|
-
), C =
|
|
3371
|
+
const a = B(!1), l = () => a.value = !1, s = () => a.value = !a.value, i = B(null), { filters: c, filteredTopics: u, reset: d } = q5(
|
|
3372
|
+
O(() => e.topics)
|
|
3373
|
+
), C = O(
|
|
3374
3374
|
() => M1(e.topics.map((w) => w.priority))
|
|
3375
|
-
), f =
|
|
3375
|
+
), f = O(
|
|
3376
3376
|
() => M1(e.topics.map((w) => w.topic_status))
|
|
3377
|
-
), h =
|
|
3377
|
+
), h = O(
|
|
3378
3378
|
() => M1(e.topics.map((w) => w.assigned_to))
|
|
3379
|
-
),
|
|
3379
|
+
), m = O(
|
|
3380
3380
|
() => M1(e.topics.map((w) => w.creation_author))
|
|
3381
|
-
),
|
|
3381
|
+
), I = O(
|
|
3382
3382
|
() => M1(e.topics.flatMap((w) => w.labels))
|
|
3383
3383
|
);
|
|
3384
3384
|
return {
|
|
3385
|
-
creatorOptions:
|
|
3385
|
+
creatorOptions: m,
|
|
3386
3386
|
filters: c,
|
|
3387
3387
|
toDate: i,
|
|
3388
3388
|
isOpen: a,
|
|
3389
3389
|
priorityOptions: C,
|
|
3390
3390
|
statusOptions: f,
|
|
3391
|
-
labelOptions:
|
|
3391
|
+
labelOptions: I,
|
|
3392
3392
|
userOptions: h,
|
|
3393
3393
|
close: l,
|
|
3394
3394
|
resetFilters: () => {
|
|
@@ -3431,7 +3431,7 @@ function h8(e, n, a, l, s, i) {
|
|
|
3431
3431
|
]),
|
|
3432
3432
|
_: 1
|
|
3433
3433
|
}, 8, ["disabled", "onClick"]),
|
|
3434
|
-
p(
|
|
3434
|
+
p(t1, { name: "slide-fade-up" }, {
|
|
3435
3435
|
default: L(() => [
|
|
3436
3436
|
X(t("div", c8, [
|
|
3437
3437
|
t("div", d8, [
|
|
@@ -3555,7 +3555,7 @@ function h8(e, n, a, l, s, i) {
|
|
|
3555
3555
|
[f, l.close]
|
|
3556
3556
|
]);
|
|
3557
3557
|
}
|
|
3558
|
-
const b8 = /* @__PURE__ */
|
|
3558
|
+
const b8 = /* @__PURE__ */ F(i8, [["render", h8], ["__scopeId", "data-v-ce31a6b2"]]), W2 = 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" }), g8 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
|
|
3559
3559
|
Object.entries(W2).filter(([e]) => !g8.includes(e));
|
|
3560
3560
|
var f8 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), E1 = { props: { text: { type: String } } };
|
|
3561
3561
|
const L8 = { class: "bimdata-card__brand" }, v8 = { class: "bimdata-card__brand--left" }, m8 = { key: 0 };
|
|
@@ -3895,7 +3895,7 @@ S1(`.bimdata-card {
|
|
|
3895
3895
|
filter: saturate(0.8);
|
|
3896
3896
|
}`), F1.render = function(e, n, a, l, s, i) {
|
|
3897
3897
|
const c = g("BIMDataCardBand");
|
|
3898
|
-
return r(), o("div", { class:
|
|
3898
|
+
return r(), o("div", { class: k(["bimdata-card", i.classes]), style: H({ "min-width": a.width, "border-radius": a.borderRadius }) }, [a.titleHeader || e.$slots.headerIcons ? (r(), D(c, { key: 0, text: a.titleHeader, class: "bimdata-card__header" }, { right: L(() => [_(e.$slots, "headerIcons")]), _: 3 }, 8, ["text"])) : v("v-if", !0), e.$slots.left || a.submenuText || e.$slots.right ? (r(), D(c, { key: 1, class: "bimdata-card__submenu", text: a.submenuText }, { left: L(() => [_(e.$slots, "left")]), right: L(() => [_(e.$slots, "right")]), _: 3 }, 8, ["text"])) : v("v-if", !0), e.$slots.content ? (r(), o("div", M8, [_(e.$slots, "content")])) : v("v-if", !0), e.$slots.footer ? (r(), o("footer", I8, [_(e.$slots, "footer")])) : v("v-if", !0)], 6);
|
|
3899
3899
|
}, F1.__scopeId = "data-v-5c84207f", F1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCard.vue";
|
|
3900
3900
|
const _8 = Object.entries(W2).reduce((e, n, a) => (a % 5 == 0 ? e.push([n]) : e[e.length - 1].push(n), e), []);
|
|
3901
3901
|
var P1 = { components: { BIMDataCard: F1 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(W2).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: _8 }) };
|
|
@@ -3916,7 +3916,7 @@ S1(`.color-selector__line[data-v-dd521886] {
|
|
|
3916
3916
|
border: solid 2px var(--color-primary);
|
|
3917
3917
|
}`), P1.render = function(e, n, a, l, s, i) {
|
|
3918
3918
|
const c = g("BIMDataCard");
|
|
3919
|
-
return r(), D(c, { class: "color-selector" }, { content: L(() => [(r(!0), o(R, null, U(s.colorLines, (u, d) => (r(), o("div", { class: "color-selector__line", key: `colorLine${d}` }, [(r(!0), o(R, null, U(u, ([C, f], h) => (r(), o("div", { class:
|
|
3919
|
+
return r(), D(c, { class: "color-selector" }, { content: L(() => [(r(!0), o(R, null, U(s.colorLines, (u, d) => (r(), o("div", { class: "color-selector__line", key: `colorLine${d}` }, [(r(!0), o(R, null, U(u, ([C, f], h) => (r(), o("div", { class: k(["color-selector__line__element", { selected: f === a.modelValue }]), key: `colorElement${h}ofColorLine${d}`, style: H(`background-color: #${f}`), title: C, onClick: (m) => e.$emit("update:modelValue", f) }, null, 14, y8))), 128))]))), 128))]), _: 1 });
|
|
3920
3920
|
}, P1.__scopeId = "data-v-dd521886", P1.__file = "src/BIMDataComponents/BIMDataColorSelector/BIMDataColorSelector.vue";
|
|
3921
3921
|
const H8 = {
|
|
3922
3922
|
components: {
|
|
@@ -3938,10 +3938,10 @@ const H8 = {
|
|
|
3938
3938
|
"delete-extension"
|
|
3939
3939
|
],
|
|
3940
3940
|
setup(e, { emit: n }) {
|
|
3941
|
-
const a =
|
|
3941
|
+
const a = B(!1), l = B(!1), s = B(!1), i = B(
|
|
3942
3942
|
e.extension[g1(e.extensionType)]
|
|
3943
|
-
), c =
|
|
3944
|
-
return
|
|
3943
|
+
), c = B(e.extension.color), u = B(null);
|
|
3944
|
+
return n1(
|
|
3945
3945
|
a,
|
|
3946
3946
|
() => setTimeout(() => a.value && u.value.focus(), 50)
|
|
3947
3947
|
), {
|
|
@@ -4075,7 +4075,7 @@ function w8(e, n, a, l, s, i) {
|
|
|
4075
4075
|
])) : v("", !0)
|
|
4076
4076
|
]);
|
|
4077
4077
|
}
|
|
4078
|
-
const Z8 = /* @__PURE__ */
|
|
4078
|
+
const Z8 = /* @__PURE__ */ F(H8, [["render", w8], ["__scopeId", "data-v-b97a5399"]]);
|
|
4079
4079
|
const S8 = {
|
|
4080
4080
|
components: {
|
|
4081
4081
|
BIMDataButton: W,
|
|
@@ -4099,9 +4099,9 @@ const S8 = {
|
|
|
4099
4099
|
"delete-extension"
|
|
4100
4100
|
],
|
|
4101
4101
|
setup(e, { emit: n }) {
|
|
4102
|
-
const a =
|
|
4102
|
+
const a = O(
|
|
4103
4103
|
() => k5(e.extensionType, e.detailedExtensions)
|
|
4104
|
-
), l =
|
|
4104
|
+
), l = B(null), s = B(""), i = B(!1), c = () => i.value = !1, u = () => i.value = !i.value, d = B(!1), C = () => {
|
|
4105
4105
|
s.value = "", d.value = !1;
|
|
4106
4106
|
};
|
|
4107
4107
|
return {
|
|
@@ -4165,7 +4165,7 @@ function P8(e, n, a, l, s, i) {
|
|
|
4165
4165
|
_: 1
|
|
4166
4166
|
}, 8, ["onClick"])
|
|
4167
4167
|
]),
|
|
4168
|
-
p(
|
|
4168
|
+
p(t1, { name: "slide-fade-up" }, {
|
|
4169
4169
|
default: L(() => [
|
|
4170
4170
|
X(t("div", R8, [
|
|
4171
4171
|
p(d, {
|
|
@@ -4218,7 +4218,7 @@ function P8(e, n, a, l, s, i) {
|
|
|
4218
4218
|
])
|
|
4219
4219
|
]);
|
|
4220
4220
|
}
|
|
4221
|
-
const U8 = /* @__PURE__ */
|
|
4221
|
+
const U8 = /* @__PURE__ */ F(S8, [["render", P8], ["__scopeId", "data-v-3ea16e8c"]]);
|
|
4222
4222
|
const z8 = {
|
|
4223
4223
|
components: {
|
|
4224
4224
|
BIMDataButton: W,
|
|
@@ -4330,7 +4330,7 @@ function K8(e, n, a, l, s, i) {
|
|
|
4330
4330
|
])
|
|
4331
4331
|
]);
|
|
4332
4332
|
}
|
|
4333
|
-
const q8 = /* @__PURE__ */
|
|
4333
|
+
const q8 = /* @__PURE__ */ F(z8, [["render", K8], ["__scopeId", "data-v-9e0003a6"]]);
|
|
4334
4334
|
var J8 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), H1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => J8.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
4335
4335
|
return { "bimdata-btn__icon": this.icon, "bimdata-btn__fill": this.fill, "bimdata-btn__outline": this.outline, "bimdata-btn__ghost": this.ghost, "bimdata-btn__ripple": this.ripple, "bimdata-btn__radius": this.radius, "bimdata-btn__square": this.square, "bimdata-btn__rounded": this.rounded, [`bimdata-btn__fill--${this.color}`]: this.fill && this.color, [`bimdata-btn__outline--${this.color}`]: this.outline && this.color, [`bimdata-btn__ghost--${this.color}`]: this.ghost && this.color, [`bimdata-btn__ripple--${this.color}`]: this.ripple && this.color };
|
|
4336
4336
|
}, style() {
|
|
@@ -4807,7 +4807,7 @@ z(`.bimdata-btn {
|
|
|
4807
4807
|
color: var(--color-silver-dark);
|
|
4808
4808
|
cursor: auto;
|
|
4809
4809
|
}`), H1.render = function(e, n, a, l, s, i) {
|
|
4810
|
-
return r(), o("button", { class:
|
|
4810
|
+
return r(), o("button", { class: k(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: a.color, type: "button" }, [_(e.$slots, "default")], 14, Q8);
|
|
4811
4811
|
}, H1.__scopeId = "data-v-3f903003", H1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
4812
4812
|
const ee = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" }, ne = { render: function(e, n) {
|
|
4813
4813
|
return r(), o("path", ee);
|
|
@@ -4977,7 +4977,7 @@ z(`.icon-fill--black {
|
|
|
4977
4977
|
stroke: var(--color-white);
|
|
4978
4978
|
}`), U1.render = function(e, n, a, l, s, i) {
|
|
4979
4979
|
const c = g("Chevron");
|
|
4980
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
4980
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, re);
|
|
4981
4981
|
}, U1.__scopeId = "data-v-5e440aca", U1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
4982
4982
|
const oe = { "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" }, ae = { render: function(e, n) {
|
|
4983
4983
|
return r(), o("path", oe);
|
|
@@ -5138,7 +5138,7 @@ z(`.icon-fill--black {
|
|
|
5138
5138
|
stroke: var(--color-white);
|
|
5139
5139
|
}`), z1.render = function(e, n, a, l, s, i) {
|
|
5140
5140
|
const c = g("DoubleChevron");
|
|
5141
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
5141
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, le);
|
|
5142
5142
|
}, z1.__scopeId = "data-v-859297ec", z1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
5143
5143
|
const ie = { 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" }, se = { render: function(e, n) {
|
|
5144
5144
|
return r(), o("path", ie);
|
|
@@ -5299,7 +5299,7 @@ z(`.icon-fill--black {
|
|
|
5299
5299
|
stroke: var(--color-white);
|
|
5300
5300
|
}`), f2.render = function(e, n, a, l, s, i) {
|
|
5301
5301
|
const c = g("Close");
|
|
5302
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
5302
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, ce);
|
|
5303
5303
|
}, f2.__scopeId = "data-v-797f55d8", f2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
5304
5304
|
const de = { "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" }, ue = { render: function(e, n) {
|
|
5305
5305
|
return r(), o("path", de);
|
|
@@ -5460,7 +5460,7 @@ z(`.icon-fill--black {
|
|
|
5460
5460
|
stroke: var(--color-white);
|
|
5461
5461
|
}`), L2.render = function(e, n, a, l, s, i) {
|
|
5462
5462
|
const c = g("Search");
|
|
5463
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
5463
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, Ce);
|
|
5464
5464
|
}, L2.__scopeId = "data-v-0993abf8", L2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
5465
5465
|
var G1 = { components: { BIMDataIconChevron: U1, BIMDataIconDoubleChevron: z1, BIMDataButton: H1 }, props: { first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, previous: { type: Boolean, default: !0 }, next: { type: Boolean, default: !0 }, firstDisabled: { type: Boolean, default: !1 }, lastDisabled: { type: Boolean, default: !1 }, previousDisabled: { type: Boolean, default: !1 }, nextDisabled: { type: Boolean, default: !1 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["first", "previous", "next", "last"] };
|
|
5466
5466
|
const pe = { class: "bimdata-navigation__left m-r-6" }, he = { key: 0, class: "bimdata-navigation__item" }, be = { key: 1, class: "bimdata-navigation__item" }, ge = { key: 2, class: "bimdata-navigation__item" }, fe = { key: 3, class: "bimdata-navigation__item" }, Le = { class: "bimdata-navigation__right" };
|
|
@@ -5571,7 +5571,7 @@ z(`.bimdata-navigation[data-v-aa907072] {
|
|
|
5571
5571
|
cursor: default;
|
|
5572
5572
|
}`), G1.render = function(e, n, a, l, s, i) {
|
|
5573
5573
|
const c = g("BIMDataIconDoubleChevron"), u = g("BIMDataButton"), d = g("BIMDataIconChevron");
|
|
5574
|
-
return r(), o("ul", { class: "bimdata-list bimdata-navigation", style: H({ "background-color": a.backgroundColor }) }, [t("li", pe, [_(e.$slots, "left")]), a.first ? (r(), o("li", he, [p(u, { onClick: n[0] || (n[0] = (C) => e.$emit("first")), disabled: a.firstDisabled, ghost: "", class:
|
|
5574
|
+
return r(), o("ul", { class: "bimdata-list bimdata-navigation", style: H({ "background-color": a.backgroundColor }) }, [t("li", pe, [_(e.$slots, "left")]), a.first ? (r(), o("li", he, [p(u, { onClick: n[0] || (n[0] = (C) => e.$emit("first")), disabled: a.firstDisabled, ghost: "", class: k({ disabled: a.firstDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(c, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), a.previous ? (r(), o("li", be, [p(u, { onClick: n[1] || (n[1] = (C) => e.$emit("previous")), disabled: a.previousDisabled, ghost: "", class: k({ disabled: a.previousDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(d, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), t("li", null, [_(e.$slots, "default")]), a.next ? (r(), o("li", ge, [p(u, { onClick: n[2] || (n[2] = (C) => e.$emit("next")), disabled: a.nextDisabled, ghost: "", class: k({ disabled: a.nextDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(d, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), a.last ? (r(), o("li", fe, [p(u, { onClick: n[3] || (n[3] = (C) => e.$emit("last")), disabled: a.lastDisabled, ghost: "", class: k({ disabled: a.lastDisabled }), width: "21px", height: "21px" }, { default: L(() => [p(c, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), t("li", Le, [_(e.$slots, "right")])], 4);
|
|
5575
5575
|
}, G1.__scopeId = "data-v-aa907072", G1.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
|
|
5576
5576
|
var Y1 = { components: { BIMDataNavigation: G1, BIMDataButton: H1 }, props: { length: { type: Number, required: !0 }, currentPage: { type: Number, required: !0 }, totalPages: { type: Number, required: !0 }, numberDataElements: { type: Boolean, default: !0 }, backgroundColor: { type: String, default: "var(--color-white)" }, perPage: { type: Number, required: !0, validator: (e) => e > 0 } }, emits: ["pagechanged"], computed: { firstIndex() {
|
|
5577
5577
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
@@ -6030,7 +6030,7 @@ const ke = {
|
|
|
6030
6030
|
},
|
|
6031
6031
|
setup(e) {
|
|
6032
6032
|
return {
|
|
6033
|
-
chartData:
|
|
6033
|
+
chartData: O(() => {
|
|
6034
6034
|
if (e.topics.length === 0)
|
|
6035
6035
|
return [];
|
|
6036
6036
|
const a = g1(e.extensionType), l = k5(e.extensionType, e.detailedExtensions);
|
|
@@ -6088,7 +6088,7 @@ function Oe(e, n, a, l, s, i) {
|
|
|
6088
6088
|
])
|
|
6089
6089
|
]);
|
|
6090
6090
|
}
|
|
6091
|
-
const Re = /* @__PURE__ */
|
|
6091
|
+
const Re = /* @__PURE__ */ F(ke, [["render", Oe], ["__scopeId", "data-v-8495436b"]]);
|
|
6092
6092
|
var o1 = { props: { width: { type: String, default: "100%" }, minWidth: { type: String }, maxWidth: { type: String }, text: { type: String, default: "" }, cutPosition: { type: String, default: "middle", validator: (e) => ["start", "middle", "end"].includes(e) }, tooltip: { type: Boolean, default: !0 }, tooltipPosition: { type: String, default: "bottom", validator: (e) => ["top", "right", "bottom", "left"].includes(e) }, tooltipColor: { type: String, default: "primary", validator: (e) => ["white", "primary", "secondary", "granite-light", "silver-light"].includes(e) } }, data: () => ({ showTooltip: !1, isOverflowing: !1, textHead: "", textTail: "" }), watch: { width: "computeText", text: "computeText", cutPosition: "computeText" }, mounted() {
|
|
6093
6093
|
this.observer = new ResizeObserver(() => this.computeText()), this.observer.observe(this.$refs.textBox), this.computeText();
|
|
6094
6094
|
}, beforeUnmount() {
|
|
@@ -6297,7 +6297,7 @@ html[data-v-330fe2fd] {
|
|
|
6297
6297
|
-webkit-transform: rotate(45deg);
|
|
6298
6298
|
transform: rotate(45deg);
|
|
6299
6299
|
}`), o1.render = function(e, n, a, l, s, i) {
|
|
6300
|
-
return r(), o("div", { ref: "textBox", class: "bimdata-textbox", style: H({ width: a.width, minWidth: a.minWidth, maxWidth: a.maxWidth }), onMouseenter: n[0] || (n[0] = (c) => s.showTooltip = !0), onMouseleave: n[1] || (n[1] = (c) => s.showTooltip = !1) }, [t("span", { ref: "textHead", class: "bimdata-textbox__text--head", style: H({ width: s.textTail ? "50%" : "100%", direction: a.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null, b(s.textHead), 1)], 4), X(t("span", Ee, [t("bdi", null, b(s.textTail), 1)], 512), [[q, s.textTail]]), a.tooltip && s.isOverflowing ? X((r(), o("div", { key: 0, class:
|
|
6300
|
+
return r(), o("div", { ref: "textBox", class: "bimdata-textbox", style: H({ width: a.width, minWidth: a.minWidth, maxWidth: a.maxWidth }), onMouseenter: n[0] || (n[0] = (c) => s.showTooltip = !0), onMouseleave: n[1] || (n[1] = (c) => s.showTooltip = !1) }, [t("span", { ref: "textHead", class: "bimdata-textbox__text--head", style: H({ width: s.textTail ? "50%" : "100%", direction: a.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null, b(s.textHead), 1)], 4), X(t("span", Ee, [t("bdi", null, b(s.textTail), 1)], 512), [[q, s.textTail]]), a.tooltip && s.isOverflowing ? X((r(), o("div", { key: 0, class: k(["bimdata-textbox__tooltip", [`bimdata-textbox__tooltip--${a.tooltipPosition}`, `bimdata-textbox__tooltip--${a.tooltipColor}`]]) }, b(a.text), 3)), [[q, s.showTooltip]]) : v("v-if", !0)], 36);
|
|
6301
6301
|
}, o1.__scopeId = "data-v-330fe2fd", o1.__file = "src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
|
|
6302
6302
|
const Fe = {}, Pe = {
|
|
6303
6303
|
width: "84",
|
|
@@ -6311,7 +6311,7 @@ const Fe = {}, Pe = {
|
|
|
6311
6311
|
function Ge(e, n) {
|
|
6312
6312
|
return r(), o("svg", Pe, ze);
|
|
6313
6313
|
}
|
|
6314
|
-
const X2 = /* @__PURE__ */
|
|
6314
|
+
const X2 = /* @__PURE__ */ F(Fe, [["render", Ge]]);
|
|
6315
6315
|
const Ye = {
|
|
6316
6316
|
components: {
|
|
6317
6317
|
BcfTopicDefaultImage: X2,
|
|
@@ -6339,7 +6339,7 @@ const Ye = {
|
|
|
6339
6339
|
},
|
|
6340
6340
|
emits: ["open-topic", "update:selected"],
|
|
6341
6341
|
setup(e) {
|
|
6342
|
-
const n =
|
|
6342
|
+
const n = B(!1), a = O(() => v1(e.topic, e.detailedExtensions)), l = O(() => Y2(e.topic, e.detailedExtensions)), s = O(() => e.topic.viewpoints.filter((c) => Boolean(c.snapshot))), i = O(() => {
|
|
6343
6343
|
var u, d;
|
|
6344
6344
|
const c = (d = (u = e.topic.viewpoints) == null ? void 0 : u[0]) == null ? void 0 : d.components;
|
|
6345
6345
|
return (c == null ? void 0 : c.selection) || [];
|
|
@@ -6360,7 +6360,7 @@ const Ye = {
|
|
|
6360
6360
|
function ln(e, n, a, l, s, i) {
|
|
6361
6361
|
const c = g("BIMDataTextbox"), u = g("BIMDataCheckbox"), d = g("BIMDataIcon"), C = g("BcfTopicDefaultImage"), f = g("BIMDataButton");
|
|
6362
6362
|
return r(), o("div", {
|
|
6363
|
-
class:
|
|
6363
|
+
class: k(["bcf-topic-card", { selected: a.selected }]),
|
|
6364
6364
|
onMouseover: n[2] || (n[2] = (h) => l.hover = !0),
|
|
6365
6365
|
onMouseleave: n[3] || (n[3] = (h) => l.hover = !1)
|
|
6366
6366
|
}, [
|
|
@@ -6454,7 +6454,7 @@ function ln(e, n, a, l, s, i) {
|
|
|
6454
6454
|
])
|
|
6455
6455
|
], 34);
|
|
6456
6456
|
}
|
|
6457
|
-
const sn = /* @__PURE__ */
|
|
6457
|
+
const sn = /* @__PURE__ */ F(Ye, [["render", ln], ["__scopeId", "data-v-82aaccfe"]]), cn = {}, dn = {
|
|
6458
6458
|
width: "66",
|
|
6459
6459
|
height: "60",
|
|
6460
6460
|
viewBox: "0 0 66 60",
|
|
@@ -6466,7 +6466,7 @@ const sn = /* @__PURE__ */ P(Ye, [["render", ln], ["__scopeId", "data-v-82aaccfe
|
|
|
6466
6466
|
function pn(e, n) {
|
|
6467
6467
|
return r(), o("svg", dn, Cn);
|
|
6468
6468
|
}
|
|
6469
|
-
const hn = /* @__PURE__ */
|
|
6469
|
+
const hn = /* @__PURE__ */ F(cn, [["render", pn]]);
|
|
6470
6470
|
const bn = {
|
|
6471
6471
|
components: {
|
|
6472
6472
|
BcfTopicCreationCardImage: hn,
|
|
@@ -6501,7 +6501,7 @@ function Ln(e, n, a, l, s, i) {
|
|
|
6501
6501
|
})
|
|
6502
6502
|
]);
|
|
6503
6503
|
}
|
|
6504
|
-
const vn = /* @__PURE__ */
|
|
6504
|
+
const vn = /* @__PURE__ */ F(bn, [["render", Ln], ["__scopeId", "data-v-af2c3cbc"]]);
|
|
6505
6505
|
class C1 {
|
|
6506
6506
|
constructor(n, a, l, s, i = !1, c = !1, u = "") {
|
|
6507
6507
|
this.language = n, this.months = a, this.monthsAbbr = l, this.days = s, this.rtl = i, this.ymd = c, this.yearSuffix = u;
|
|
@@ -7039,7 +7039,7 @@ m1(`.icon-fill--black {
|
|
|
7039
7039
|
.icon-stroke--white {
|
|
7040
7040
|
stroke: var(--color-white);
|
|
7041
7041
|
}`), f1.render = function(e, n, a, l, s, i) {
|
|
7042
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class:
|
|
7042
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), D(u1(`bimdata-icon-${a.name}`)))], 14, Ql);
|
|
7043
7043
|
}, f1.__scopeId = "data-v-1312d4d1", f1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
7044
7044
|
var ei = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), V1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => ei.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
7045
7045
|
return { "bimdata-btn__icon": this.icon, "bimdata-btn__fill": this.fill, "bimdata-btn__outline": this.outline, "bimdata-btn__ghost": this.ghost, "bimdata-btn__ripple": this.ripple, "bimdata-btn__radius": this.radius, "bimdata-btn__square": this.square, "bimdata-btn__rounded": this.rounded, [`bimdata-btn__fill--${this.color}`]: this.fill && this.color, [`bimdata-btn__outline--${this.color}`]: this.outline && this.color, [`bimdata-btn__ghost--${this.color}`]: this.ghost && this.color, [`bimdata-btn__ripple--${this.color}`]: this.ripple && this.color };
|
|
@@ -7509,7 +7509,7 @@ m1(`.bimdata-btn {
|
|
|
7509
7509
|
color: var(--color-silver-dark);
|
|
7510
7510
|
cursor: auto;
|
|
7511
7511
|
}`), V1.render = function(e, n, a, l, s, i) {
|
|
7512
|
-
return r(), o("button", { class:
|
|
7512
|
+
return r(), o("button", { class: k(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: a.color, type: "button" }, [_(e.$slots, "default")], 14, ni);
|
|
7513
7513
|
}, V1.__scopeId = "data-v-3f903003", V1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
7514
7514
|
const ti = { useUtc: !1, getFullYear(e) {
|
|
7515
7515
|
return this.useUtc ? e.getUTCFullYear() : e.getFullYear();
|
|
@@ -7593,25 +7593,25 @@ const ti = { useUtc: !1, getFullYear(e) {
|
|
|
7593
7593
|
return d(c);
|
|
7594
7594
|
}(e, n, l);
|
|
7595
7595
|
const s = (({ dateStr: c, formatStr: u, translation: d, time: C }) => {
|
|
7596
|
-
const f = u.match(/-|\/|\s|\./) || ["-"], h = u.split(f[0]),
|
|
7597
|
-
for (let
|
|
7598
|
-
if (/yyyy/i.test(h[
|
|
7599
|
-
|
|
7600
|
-
else if (/mmmm/i.test(h[
|
|
7601
|
-
|
|
7602
|
-
else if (/mmm/i.test(h[
|
|
7603
|
-
|
|
7604
|
-
else if (/mm/i.test(h[
|
|
7605
|
-
|
|
7606
|
-
else if (/m/i.test(h[
|
|
7607
|
-
|
|
7608
|
-
else if (/dd/i.test(h[
|
|
7609
|
-
|
|
7610
|
-
else if (/d/i.test(h[
|
|
7611
|
-
const y =
|
|
7612
|
-
|
|
7596
|
+
const f = u.match(/-|\/|\s|\./) || ["-"], h = u.split(f[0]), m = c.split(f[0]), I = [new Date().getFullYear().toString(), "01", "01"];
|
|
7597
|
+
for (let M = 0; M < h.length; M += 1)
|
|
7598
|
+
if (/yyyy/i.test(h[M]))
|
|
7599
|
+
I[0] = m[M];
|
|
7600
|
+
else if (/mmmm/i.test(h[M]))
|
|
7601
|
+
I[1] = d.getMonthByName(m[M]);
|
|
7602
|
+
else if (/mmm/i.test(h[M]))
|
|
7603
|
+
I[1] = d.getMonthByAbbrName(m[M]);
|
|
7604
|
+
else if (/mm/i.test(h[M]))
|
|
7605
|
+
I[1] = m[M];
|
|
7606
|
+
else if (/m/i.test(h[M]))
|
|
7607
|
+
I[1] = m[M];
|
|
7608
|
+
else if (/dd/i.test(h[M]))
|
|
7609
|
+
I[2] = m[M];
|
|
7610
|
+
else if (/d/i.test(h[M])) {
|
|
7611
|
+
const y = m[M].replace(/st|rd|nd|th/g, "");
|
|
7612
|
+
I[2] = y < 10 ? `0${y}` : `${y}`;
|
|
7613
7613
|
}
|
|
7614
|
-
return `${
|
|
7614
|
+
return `${I.join("-")}${C}`;
|
|
7615
7615
|
})({ dateStr: e, formatStr: n, translation: a, time: this.getTime() }), i = Date.parse(s);
|
|
7616
7616
|
return Number.isNaN(i) ? e : new Date(i);
|
|
7617
7617
|
}, getTime() {
|
|
@@ -7693,7 +7693,7 @@ var u2 = (e) => ({ ...ti, useUtc: e }), j2 = { props: { autofocus: { type: Boole
|
|
|
7693
7693
|
const ri = ["disabled"], oi = { key: 0 }, ai = ["for"], li = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7694
7694
|
S2.render = function(e, n, a, l, s, i) {
|
|
7695
7695
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7696
|
-
return r(), o("div", { class:
|
|
7696
|
+
return r(), o("div", { class: k({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), v(" Calendar Button "), e.calendarButton ? (r(), o("button", { key: 0, ref: "calendarButton", class: "bimdata-datepicker__calendar-button", disabled: e.disabled, type: "button", onClick: n[0] || (n[0] = (d) => i.toggle("calendarButton")), onFocus: n[1] || (n[1] = (...d) => i.handleButtonFocus && i.handleButtonFocus(...d)) }, [t("span", null, [_(e.$slots, "calendarBtn", {}, () => [t("i", { class: k(e.calendarButtonIcon) }, [A(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? v("v-if", !0) : (r(), o("span", oi, "\u2026"))], 2)])])], 40, ri)) : v("v-if", !0), v(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, ai), t("input", { id: e.id, ref: e.refName, autocomplete: "off", autofocus: e.autofocus, class: k([i.computedInputClass, { required: a.required }]), clearButton: e.clearButton, disabled: e.disabled, maxlength: e.maxlength, name: e.name, pattern: e.pattern, readonly: !e.typeable, required: a.required, tabIndex: e.tabIndex, type: e.inline ? "hidden" : null, value: i.formattedValue, onBlur: n[2] || (n[2] = (...d) => i.handleInputBlur && i.handleInputBlur(...d)), onClick: n[3] || (n[3] = (...d) => i.handleInputClick && i.handleInputClick(...d)), onFocus: n[4] || (n[4] = (...d) => i.handleInputFocus && i.handleInputFocus(...d)), onKeydown: [n[5] || (n[5] = x((...d) => i.handleDelete && i.handleDelete(...d), ["backspace"])), n[6] || (n[6] = x((...d) => i.handleDelete && i.handleDelete(...d), ["delete"])), n[7] || (n[7] = x(Z((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = x(Z((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = x(Z((...d) => i.handleKeydownEscape && i.handleKeydownEscape(...d), ["prevent"]), ["esc"])), n[10] || (n[10] = x((d) => i.handleKeydownSpace(d), ["space"])), n[11] || (n[11] = x((d) => e.$emit("tab", d), ["tab"]))], onKeyup: [n[12] || (n[12] = (d) => i.handleKeyup(d)), n[13] || (n[13] = x((d) => i.handleKeyupSpace(d), ["space"]))] }, null, 42, li), v(" Clear Button "), e.clearButton && a.selectedDate ? (r(), D(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clearDate }, { default: L(() => [_(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : v("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7697
7697
|
}, S2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInput.vue";
|
|
7698
7698
|
var A2 = { name: "DateInput", components: { BIMDataIcon: f1, BIMDataButton: V1 }, mixins: [j2], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7699
7699
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: u2(this.useUtc) };
|
|
@@ -7758,7 +7758,7 @@ var A2 = { name: "DateInput", components: { BIMDataIcon: f1, BIMDataButton: V1 }
|
|
|
7758
7758
|
const ii = ["disabled"], si = { key: 0 }, ci = ["for"], di = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7759
7759
|
A2.render = function(e, n, a, l, s, i) {
|
|
7760
7760
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7761
|
-
return r(), o("div", { class:
|
|
7761
|
+
return r(), o("div", { class: k({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), v(" Calendar Button "), e.calendarButton ? (r(), o("button", { key: 0, ref: "calendarButton", class: "bimdata-datepicker__calendar-button", disabled: e.disabled, type: "button", onClick: n[0] || (n[0] = (d) => i.toggle("calendarButton")), onFocus: n[1] || (n[1] = (...d) => i.handleButtonFocus && i.handleButtonFocus(...d)) }, [t("span", null, [_(e.$slots, "calendarBtn", {}, () => [t("i", { class: k(e.calendarButtonIcon) }, [A(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? v("v-if", !0) : (r(), o("span", si, "\u2026"))], 2)])])], 40, ii)) : v("v-if", !0), v(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, ci), t("input", { id: e.id, ref: e.refName, autocomplete: "off", autofocus: e.autofocus, class: k([i.computedInputClass, { required: a.required }]), clearButton: e.clearButton, disabled: e.disabled, maxlength: e.maxlength, name: e.name, pattern: e.pattern, readonly: !e.typeable, required: a.required, tabIndex: e.tabIndex, type: e.inline ? "hidden" : null, value: i.formattedValue, onBlur: n[2] || (n[2] = (...d) => i.handleInputBlur && i.handleInputBlur(...d)), onClick: n[3] || (n[3] = (...d) => i.handleInputClick && i.handleInputClick(...d)), onFocus: n[4] || (n[4] = (...d) => i.handleInputFocus && i.handleInputFocus(...d)), onKeydown: [n[5] || (n[5] = x((...d) => i.handleDelete && i.handleDelete(...d), ["backspace"])), n[6] || (n[6] = x((...d) => i.handleDelete && i.handleDelete(...d), ["delete"])), n[7] || (n[7] = x(Z((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = x(Z((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = x(Z((...d) => i.handleKeydownEscape && i.handleKeydownEscape(...d), ["prevent"]), ["esc"])), n[10] || (n[10] = x((d) => i.handleKeydownSpace(d), ["space"])), n[11] || (n[11] = x((d) => e.$emit("tab", d), ["tab"]))], onKeyup: [n[12] || (n[12] = (d) => i.handleKeyup(d)), n[13] || (n[13] = x((d) => i.handleKeyupSpace(d), ["space"]))] }, null, 42, di), v(" Clear Button "), e.clearButton && !i.noDateSelected ? (r(), D(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clear }, { default: L(() => [_(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : v("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7762
7762
|
}, A2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInputRange.vue";
|
|
7763
7763
|
const ui = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isDefined(e, n) {
|
|
7764
7764
|
return this.configExists(e) && e[n] !== void 0;
|
|
@@ -8123,7 +8123,7 @@ var k1 = { name: "PickerCells", props: { cells: { type: Array, required: !0 }, s
|
|
|
8123
8123
|
} } };
|
|
8124
8124
|
const fi = { class: "picker-cells" }, Li = ["id", "dataTestTabbableCell", "dataTestOpenDate", "dataTestTodayCell", "disabled", "onClick", "onKeydown", "onMouseover"];
|
|
8125
8125
|
k1.render = function(e, n, a, l, s, i) {
|
|
8126
|
-
return r(), o("div", fi, [(r(!0), o(R, null, U(a.cells, (c, u) => (r(), o("button", { key: c.timestamp, ref_for: !0, ref: c.isOpenDate ? "openDate" : null, class:
|
|
8126
|
+
return r(), o("div", fi, [(r(!0), o(R, null, U(a.cells, (c, u) => (r(), o("button", { key: c.timestamp, ref_for: !0, ref: c.isOpenDate ? "openDate" : null, class: k(i.cellClasses(c)), id: u, dataTestTabbableCell: i.isTabbableCell(c, u), dataTestOpenDate: c.isOpenDate, dataTestTodayCell: c.isToday, disabled: c.isDisabled, type: "button", onClick: (d) => e.$emit("select", c), onKeydown: [x(Z((d) => i.handleArrow(u, -i.columns), ["prevent"]), ["up"]), x(Z((d) => i.handleArrow(u, i.columns), ["prevent"]), ["down"]), x(Z((d) => i.handleArrow(u), ["prevent"]), ["left"]), x(Z((d) => i.handleArrow(u), ["prevent"]), ["right"])], onMouseover: (d) => e.$emit("hover", c) }, [_(e.$slots, "default", { cell: c })], 42, Li))), 128))]);
|
|
8127
8127
|
}, k1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8128
8128
|
var x1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8129
8129
|
const vi = ["disabled"];
|
|
@@ -8191,7 +8191,7 @@ var N2 = { name: "PickerDay", components: { PickerCells: k1, UpButton: x1 }, mix
|
|
|
8191
8191
|
const mi = { key: 0 }, Mi = { class: "day-header" }, Ii = { class: "cells-wrapper" }, _i = { key: 2 };
|
|
8192
8192
|
N2.render = function(e, n, a, l, s, i) {
|
|
8193
8193
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8194
|
-
return r(), o("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), o("div", mi, [_(e.$slots, "beforeCalendarHeaderDay")])) : v("v-if", !0), e.showHeader ? (r(), D(u, { key: 1, ref: "pickerHeader", isNextDisabled: i.isNextDisabled, isPreviousDisabled: i.isPreviousDisabled, view: "day", onFocusInput: e.focusInput, onPageChange: n[2] || (n[2] = (C) => e.changePage(C)), onSetFocus: n[3] || (n[3] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", isDisabled: e.isUpDisabled, onFocusInput: e.focusInput, onSelect: n[0] || (n[0] = (C) => e.$emit("set-view", "month")), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { default: L(() => [A(b(i.pageTitleDay), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : v("v-if", !0), t("div", null, [t("div", Mi, [(r(!0), o(R, null, U(i.daysOfWeek, (C) => (r(), o("span", { key: C }, b(C), 1))), 128))]), t("div", Ii, [p(
|
|
8194
|
+
return r(), o("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), o("div", mi, [_(e.$slots, "beforeCalendarHeaderDay")])) : v("v-if", !0), e.showHeader ? (r(), D(u, { key: 1, ref: "pickerHeader", isNextDisabled: i.isNextDisabled, isPreviousDisabled: i.isPreviousDisabled, view: "day", onFocusInput: e.focusInput, onPageChange: n[2] || (n[2] = (C) => e.changePage(C)), onSetFocus: n[3] || (n[3] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", isDisabled: e.isUpDisabled, onFocusInput: e.focusInput, onSelect: n[0] || (n[0] = (C) => e.$emit("set-view", "month")), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { default: L(() => [A(b(i.pageTitleDay), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : v("v-if", !0), t("div", null, [t("div", Mi, [(r(!0), o(R, null, U(i.daysOfWeek, (C) => (r(), o("span", { key: C }, b(C), 1))), 128))]), t("div", Ii, [p(t1, { name: e.transitionName }, { default: L(() => [(r(), D(d, { ref: "cells", key: i.pageTitleDay, cells: i.cells, showEdgeDates: a.showEdgeDates, tabbableCellId: e.tabbableCellId, view: "day", onArrow: n[4] || (n[4] = (C) => e.handleArrow(C)), onSelect: n[5] || (n[5] = (C) => e.select(C)), onHover: n[6] || (n[6] = (C) => i.hover(C)) }, { default: L(({ cell: C }) => [_(e.$slots, "dayCellContent", { cell: C }, () => [A(b(a.dayCellContent(C)), 1)])]), _: 3 }, 8, ["cells", "showEdgeDates", "tabbableCellId"]))]), _: 3 }, 8, ["name"])])]), e.$slots.calendarFooterDay ? (r(), o("div", _i, [_(e.$slots, "calendarFooterDay")])) : v("v-if", !0)]);
|
|
8195
8195
|
}, N2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerDay.vue";
|
|
8196
8196
|
var O2 = { name: "PickerMonth", components: { PickerCells: k1, UpButton: x1 }, mixins: [K2], computed: { cells() {
|
|
8197
8197
|
const e = this.pageDate, n = [], a = this.useUtc ? new Date(Date.UTC(e.getUTCFullYear(), 0, e.getUTCDate())) : new Date(e.getFullYear(), 0, e.getDate(), e.getHours(), e.getMinutes()), l = new Date(this.utils.setDate(this.utils.getNewDateObject(), 1));
|
|
@@ -8219,7 +8219,7 @@ var O2 = { name: "PickerMonth", components: { PickerCells: k1, UpButton: x1 }, m
|
|
|
8219
8219
|
const yi = { key: 0 }, Hi = { class: "cells-wrapper" }, Vi = { key: 2 };
|
|
8220
8220
|
O2.render = function(e, n, a, l, s, i) {
|
|
8221
8221
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8222
|
-
return r(), o("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), o("div", yi, [_(e.$slots, "beforeCalendarHeaderMonth")])) : v("v-if", !0), e.showHeader ? (r(), D(u, { key: 1, ref: "pickerHeader", isNextDisabled: i.isNextDisabled, isPreviousDisabled: i.isPreviousDisabled, onFocusInput: e.focusInput, onPageChange: n[2] || (n[2] = (C) => e.changePage(C)), onSetFocus: n[3] || (n[3] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", isDisabled: e.isUpDisabled, onFocusInput: e.focusInput, onSelect: n[0] || (n[0] = (C) => e.$emit("set-view", "year")), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { default: L(() => [A(b(i.pageTitleMonth), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : v("v-if", !0), t("div", Hi, [p(
|
|
8222
|
+
return r(), o("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), o("div", yi, [_(e.$slots, "beforeCalendarHeaderMonth")])) : v("v-if", !0), e.showHeader ? (r(), D(u, { key: 1, ref: "pickerHeader", isNextDisabled: i.isNextDisabled, isPreviousDisabled: i.isPreviousDisabled, onFocusInput: e.focusInput, onPageChange: n[2] || (n[2] = (C) => e.changePage(C)), onSetFocus: n[3] || (n[3] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", isDisabled: e.isUpDisabled, onFocusInput: e.focusInput, onSelect: n[0] || (n[0] = (C) => e.$emit("set-view", "year")), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { default: L(() => [A(b(i.pageTitleMonth), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : v("v-if", !0), t("div", Hi, [p(t1, { name: e.transitionName }, { default: L(() => [(r(), D(d, { ref: "cells", key: i.pageTitleMonth, cells: i.cells, tabbableCellId: e.tabbableCellId, view: "month", onArrow: n[4] || (n[4] = (C) => e.handleArrow(C)), onSelect: n[5] || (n[5] = (C) => e.select(C)) }, { default: L(({ cell: C }) => [A(b(C.month), 1)]), _: 1 }, 8, ["cells", "tabbableCellId"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterMonth ? (r(), o("div", Vi, [_(e.$slots, "calendarFooterMonth")])) : v("v-if", !0)]);
|
|
8223
8223
|
}, O2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerMonth.vue";
|
|
8224
8224
|
var R2 = { name: "PickerYear", components: { PickerCells: k1, UpButton: x1 }, mixins: [K2], props: { yearRange: { type: Number, default: 12 } }, computed: { cells() {
|
|
8225
8225
|
const e = this.pageDate, n = [], a = this.useUtc ? Math.floor(e.getUTCFullYear() / this.yearRange) * this.yearRange : Math.floor(e.getFullYear() / this.yearRange) * this.yearRange, l = this.useUtc ? new Date(Date.UTC(a, e.getUTCMonth(), e.getUTCDate())) : new Date(a, e.getMonth(), e.getDate(), e.getHours(), e.getMinutes()), s = this.utils.getFullYear(this.utils.getNewDateObject());
|
|
@@ -8251,7 +8251,7 @@ var R2 = { name: "PickerYear", components: { PickerCells: k1, UpButton: x1 }, mi
|
|
|
8251
8251
|
const Di = { key: 0 }, Bi = { class: "cells-wrapper" }, ki = { key: 2 };
|
|
8252
8252
|
R2.render = function(e, n, a, l, s, i) {
|
|
8253
8253
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8254
|
-
return r(), o("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), o("div", Di, [_(e.$slots, "beforeCalendarHeaderYear")])) : v("v-if", !0), e.showHeader ? (r(), D(u, { key: 1, ref: "pickerHeader", "is-next-disabled": i.isNextDisabled, "is-previous-disabled": i.isPreviousDisabled, onFocusInput: e.focusInput, onPageChange: n[0] || (n[0] = (C) => e.changePage(C)), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", "is-disabled": !0 }, { default: L(() => [A(b(i.pageTitleYear), 1)]), _: 1 }, 512)]), _: 3 }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : v("v-if", !0), t("div", Bi, [p(
|
|
8254
|
+
return r(), o("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), o("div", Di, [_(e.$slots, "beforeCalendarHeaderYear")])) : v("v-if", !0), e.showHeader ? (r(), D(u, { key: 1, ref: "pickerHeader", "is-next-disabled": i.isNextDisabled, "is-previous-disabled": i.isPreviousDisabled, onFocusInput: e.focusInput, onPageChange: n[0] || (n[0] = (C) => e.changePage(C)), onSetFocus: n[1] || (n[1] = (C) => e.$emit("set-focus", C)) }, { prevIntervalBtn: L(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: L(() => [_(e.$slots, "nextIntervalBtn")]), default: L(() => [p(c, { ref: "up", "is-disabled": !0 }, { default: L(() => [A(b(i.pageTitleYear), 1)]), _: 1 }, 512)]), _: 3 }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : v("v-if", !0), t("div", Bi, [p(t1, { name: e.transitionName }, { default: L(() => [(r(), D(d, { ref: "cells", key: i.pageTitleYear, cells: i.cells, "tabbable-cell-id": e.tabbableCellId, view: "year", onArrow: n[2] || (n[2] = (C) => e.handleArrow(C)), onSelect: n[3] || (n[3] = (C) => e.select(C)) }, { default: L(({ cell: C }) => [A(b(C.year), 1)]), _: 1 }, 8, ["cells", "tabbable-cell-id"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterYear ? (r(), o("div", ki, [_(e.$slots, "calendarFooterYear")])) : v("v-if", !0)]);
|
|
8255
8255
|
}, R2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerYear.vue";
|
|
8256
8256
|
const xi = ["beforeCalendarHeaderDay", "calendarFooterDay", "beforeCalendarHeaderMonth", "calendarFooterMonth", "beforeCalendarHeaderYear", "calendarFooterYear", "nextIntervalBtn", "prevIntervalBtn"];
|
|
8257
8257
|
var K1 = { components: { DateInput: S2, DateInputRange: A2, PickerDay: N2, PickerMonth: O2, PickerYear: R2 }, mixins: [j2, Ci], model: { prop: "modelValue", event: "update:modelValue" }, props: { autoCloseRange: { type: Boolean, default: !1 }, modelValue: { type: Date }, toDate: { type: Date }, appendToBody: { type: Boolean, default: !1 }, calendarClass: { type: [String, Object, Array], default: "" }, dayCellContent: { type: Function, default: (e) => e.date }, disabledDates: { type: Object, default: () => ({}) }, firstDayOfWeek: { type: String, default: "sun" }, fixedPosition: { type: String, default: "", validator: (e) => ["", "bottom", "bottom-left", "bottom-right", "top", "top-left", "top-right"].includes(e) }, fullMonthName: { type: Boolean, default: !1 }, initialView: { type: String, default: "" }, language: { type: String, default: () => "en", validator: (e) => Object.keys(d5).includes(e) }, maximumView: { type: String, default: "year" }, minimumView: { type: String, default: "day" }, showEdgeDates: { type: Boolean, default: !0 }, showHeader: { type: Boolean, default: !0 }, value: { type: [String, Date, Number], default: "", validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, wrapperClass: { type: [String, Object, Array], default: "" }, yearPickerRange: { type: Number, default: 10 }, width: { type: String, default: "280px" }, isDateRange: { type: Boolean, default: !1 } }, emits: ["update:modelValue", "blur", "focus", "opened", "changed", "input", "selected", "closed", "cleared", "to-date-change"], data() {
|
|
@@ -8867,8 +8867,8 @@ m1(`.slide-fade-up-enter-active,
|
|
|
8867
8867
|
padding: 0;
|
|
8868
8868
|
}`), K1.render = function(e, n, a, l, s, i) {
|
|
8869
8869
|
const c = g("DateInputRange"), u = g("DateInput");
|
|
8870
|
-
return r(), o("div", { id: i.datepickerId, ref: "datepicker", class:
|
|
8871
|
-
}, ["prevent"])), onFocusin: n[6] || (n[6] = Z((d) => e.handleFocusIn(d), ["stop"])), onFocusout: n[7] || (n[7] = Z((d) => e.handleFocusOut(d), ["stop"])), onKeydown: [n[8] || (n[8] = x(Z((...d) => i.resetOrClose && i.resetOrClose(...d), ["stop"]), ["esc"])), n[9] || (n[9] = x(Z((d) => e.tabThroughNavigation(d), ["stop"]), ["tab"]))] }, [p(
|
|
8870
|
+
return r(), o("div", { id: i.datepickerId, ref: "datepicker", class: k(["bimdata-datepicker", [a.wrapperClass]]), onFocusin: n[10] || (n[10] = (d) => e.handleFocusIn(d)), onFocusout: n[11] || (n[11] = (d) => e.handleFocusOut(d)), onKeydown: n[12] || (n[12] = x((...d) => i.resetOrClose && i.resetOrClose(...d), ["esc"])) }, [a.isDateRange ? (r(), D(c, { key: 0, id: e.id, ref: "dateInput", autofocus: e.autofocus, calendarButton: e.calendarButton, calendarButtonIcon: e.calendarButtonIcon, calendarButtonIconContent: e.calendarButtonIconContent, clearButton: e.clearButton, clearButtonIcon: e.clearButtonIcon, disabled: e.disabled, format: e.format, inline: e.inline, inputClass: e.inputClass, isOpen: i.isOpen, maxlength: e.maxlength, name: e.name, parser: e.parser, pattern: e.pattern, placeholder: e.placeholder, refName: e.refName, required: e.required, selectedDates: [s.selectedDate, s.selectedToDate], showCalendarOnButtonClick: e.showCalendarOnButtonClick, showCalendarOnFocus: e.showCalendarOnFocus, tabIndex: e.tabIndex, translation: i.lang, useUtc: e.useUtc, onClear: i.clear, onClose: i.close, onOpen: i.open, onSetFocus: n[0] || (n[0] = (d) => e.setFocus(d)), onTab: e.tabThroughNavigation, style: H(i.style) }, { beforeDateInput: L(() => [_(e.$slots, "beforeDateInput")]), afterDateInput: L(() => [_(e.$slots, "afterDateInput")]), clearBtn: L(() => [_(e.$slots, "clearBtn")]), calendarBtn: L(() => [_(e.$slots, "calendarBtn")]), _: 3 }, 8, ["id", "autofocus", "calendarButton", "calendarButtonIcon", "calendarButtonIconContent", "clearButton", "clearButtonIcon", "disabled", "format", "inline", "inputClass", "isOpen", "maxlength", "name", "parser", "pattern", "placeholder", "refName", "required", "selectedDates", "showCalendarOnButtonClick", "showCalendarOnFocus", "tabIndex", "translation", "useUtc", "onClear", "onClose", "onOpen", "onTab", "style"])) : (r(), D(u, { key: 1, id: e.id, ref: "dateInput", autofocus: e.autofocus, calendarButton: e.calendarButton, calendarButtonIcon: e.calendarButtonIcon, calendarButtonIconContent: e.calendarButtonIconContent, clearButton: e.clearButton, clearButtonIcon: e.clearButtonIcon, disabled: e.disabled, format: e.format, inline: e.inline, inputClass: e.inputClass, isOpen: i.isOpen, maxlength: e.maxlength, name: e.name, parser: e.parser, pattern: e.pattern, placeholder: e.placeholder, refName: e.refName, required: e.required, selectedDate: s.selectedDate, showCalendarOnButtonClick: e.showCalendarOnButtonClick, showCalendarOnFocus: e.showCalendarOnFocus, tabIndex: e.tabIndex, translation: i.lang, typeable: e.typeable, useUtc: e.useUtc, onClearDate: i.clear, onClose: i.close, onOpen: i.open, onSetFocus: n[1] || (n[1] = (d) => e.setFocus(d)), onTab: e.tabThroughNavigation, style: H(i.style) }, { beforeDateInput: L(() => [_(e.$slots, "beforeDateInput")]), afterDateInput: L(() => [_(e.$slots, "afterDateInput")]), clearBtn: L(() => [_(e.$slots, "clearBtn")]), calendarBtn: L(() => [_(e.$slots, "calendarBtn")]), _: 3 }, 8, ["id", "autofocus", "calendarButton", "calendarButtonIcon", "calendarButtonIconContent", "clearButton", "clearButtonIcon", "disabled", "format", "inline", "inputClass", "isOpen", "maxlength", "name", "parser", "pattern", "placeholder", "refName", "required", "selectedDate", "showCalendarOnButtonClick", "showCalendarOnFocus", "tabIndex", "translation", "typeable", "useUtc", "onClearDate", "onClose", "onOpen", "onTab", "style"])), i.isOpen ? (r(), o("div", Zi, [p(t1, { name: "toggle", persisted: "" }, { default: L(() => [X(t("div", { class: k(["bimdata-datepicker__calendar", [i.pickerClasses, a.fixedPosition]]), onMousedown: n[5] || (n[5] = Z(() => {
|
|
8871
|
+
}, ["prevent"])), onFocusin: n[6] || (n[6] = Z((d) => e.handleFocusIn(d), ["stop"])), onFocusout: n[7] || (n[7] = Z((d) => e.handleFocusOut(d), ["stop"])), onKeydown: [n[8] || (n[8] = x(Z((...d) => i.resetOrClose && i.resetOrClose(...d), ["stop"]), ["esc"])), n[9] || (n[9] = x(Z((d) => e.tabThroughNavigation(d), ["stop"]), ["tab"]))] }, [p(t1, { name: "view" }, { default: L(() => [(r(), o("div", { ref: "view", key: s.view }, [e.$slots.beforeCalendarHeader ? (r(), o("div", Si, [_(e.$slots, "beforeCalendarHeader")])) : v("v-if", !0), (r(), D(u1(i.picker), { ref: "picker", class: "picker-view", "day-cell-content": a.dayCellContent, disabledDates: a.disabledDates, firstDayOfWeek: a.firstDayOfWeek, typeable: e.typeable, isUpDisabled: i.isUpDisabled, isMinimumView: i.isMinimumView, openDate: e.openDate, pageDate: i.pageDate, selectedDate: s.selectedDate, selectedToDate: s.selectedToDate, isDateRange: a.isDateRange, showEdgeDates: a.showEdgeDates, fullMonthName: a.fullMonthName, showHeader: a.showHeader, slideDuration: s.slideDuration, tabbableCellId: e.tabbableCellId, transitionName: e.transitionName, translation: i.lang, useUtc: e.useUtc, view: s.view || i.computedInitialView, yearPickerRange: a.yearPickerRange, onPageChange: i.handlePageChange, onSelect: i.handleSelect, onSetFocus: n[2] || (n[2] = (d) => e.setFocus(d)), onSetSkipReviewFocus: n[3] || (n[3] = (d) => e.skipReviewFocus = d), onSetTransitionName: n[4] || (n[4] = (d) => e.setTransitionName(d)), onSetView: i.setView }, m5({ dayCellContent: L(({ cell: d }) => [d ? _(e.$slots, "dayCellContent", { key: 0, cell: d }) : v("v-if", !0)]), _: 2 }, [U(s.calendarSlots, (d) => ({ name: d, fn: L(() => [_(e.$slots, d)]) }))]), 1064, ["day-cell-content", "disabledDates", "firstDayOfWeek", "typeable", "isUpDisabled", "isMinimumView", "openDate", "pageDate", "selectedDate", "selectedToDate", "isDateRange", "showEdgeDates", "fullMonthName", "showHeader", "slideDuration", "tabbableCellId", "transitionName", "translation", "useUtc", "view", "yearPickerRange", "onPageChange", "onSelect", "onSetView"])), e.$slots.calendarFooter ? (r(), o("div", Ai, [_(e.$slots, "calendarFooter")])) : v("v-if", !0)]))]), _: 3 })], 34), [[q, i.isOpen]])]), _: 3 })])) : v("v-if", !0)], 42, wi);
|
|
8872
8872
|
}, K1.__scopeId = "data-v-0090dd57", K1.__file = "src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue";
|
|
8873
8873
|
var E2 = { props: { component: { type: String, default: "p" }, display: { type: String, default: "inline-block" }, fontSize: { type: String }, fontWeight: { type: String }, lineHeight: { type: String }, margin: { type: String, default: "0px" }, padding: { type: String, default: "0px" }, color: { type: String, default: "color-granite-light", validator: (e) => ["color-primary", "color-secondary", "color-silver", "color-silver-light", "color-silver-dark", "color-granite-light", "color-granite", "color-white", "color-black", "color-high", "color-warning", "color-success"].includes(e) } }, computed: { classes() {
|
|
8874
8874
|
return `${this.color}`;
|
|
@@ -8882,7 +8882,7 @@ var E2 = { props: { component: { type: String, default: "p" }, display: { type:
|
|
|
8882
8882
|
return this.lineHeight ? this.lineHeight : this.component === "h1" ? "36px" : this.component === "h2" ? "30px" : this.component === "h3" ? "26px" : this.component === "h4" ? "24px" : this.component === "h5" ? "20px" : "18px";
|
|
8883
8883
|
} } };
|
|
8884
8884
|
E2.render = function(e, n, a, l, s, i) {
|
|
8885
|
-
return r(), D(u1(a.component), { style: H(i.style), class:
|
|
8885
|
+
return r(), D(u1(a.component), { style: H(i.style), class: k(i.classes) }, { default: L(() => [_(e.$slots, "default")]), _: 3 }, 8, ["style", "class"]);
|
|
8886
8886
|
}, E2.__file = "src/BIMDataComponents/BIMDataText/BIMDataText.vue";
|
|
8887
8887
|
var d1 = { components: { BIMDataText: E2 }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
|
|
8888
8888
|
const Ti = { class: "bimdata-loading" }, $i = ((e) => (l1("data-v-6d3be186"), e = e(), i1(), e))(() => t("span", { class: "bimdata-loading--square" }, null, -1));
|
|
@@ -9560,7 +9560,7 @@ q2(`.icon-fill--black {
|
|
|
9560
9560
|
.icon-stroke--white {
|
|
9561
9561
|
stroke: var(--color-white);
|
|
9562
9562
|
}`), q1.render = function(e, n, a, l, s, i) {
|
|
9563
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class:
|
|
9563
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), D(u1(`bimdata-icon-${a.name}`)))], 14, cp);
|
|
9564
9564
|
}, q1.__scopeId = "data-v-1312d4d1", q1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
9565
9565
|
var D1 = { components: { BIMDataIcon: q1 }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } };
|
|
9566
9566
|
const dp = { class: "overlay flex items-center justify-center" }, up = { class: "safe-zone__content flex flex-col items-center justify-center p-18" }, Cp = { class: "safe-zone__actions flex items-center p-x-18" };
|
|
@@ -9894,7 +9894,7 @@ $5(`textarea:-webkit-autofill {
|
|
|
9894
9894
|
.bimdata-textarea.success .bar::before, .bimdata-textarea.success .bar::after {
|
|
9895
9895
|
background-color: var(--color-success);
|
|
9896
9896
|
}`), L1.render = function(e, n, a, l, s, i) {
|
|
9897
|
-
return r(), o("div", { class:
|
|
9897
|
+
return r(), o("div", { class: k(["bimdata-textarea", { "not-empty": a.modelValue !== null && a.modelValue !== "" || a.placeholder !== null, error: a.error, success: a.success }]), style: H({ "min-width": a.width, "min-height": a.height }) }, [t("textarea", w1({ ref: "textarea", name: a.name, id: a.name, value: a.modelValue, placeholder: a.placeholder, style: a.resizable ? "" : "resize: none;", onInput: n[0] || (n[0] = (...c) => i.onInput && i.onInput(...c)) }, e.$attrs), null, 16, pp), t("label", { for: a.name }, b(a.label), 9, hp), bp, a.error ? (r(), o("span", gp, b(a.errorMessage), 1)) : v("v-if", !0), a.success ? (r(), o("span", fp, b(a.successMessage), 1)) : v("v-if", !0)], 6);
|
|
9898
9898
|
}, L1.__scopeId = "data-v-76eaf75a", L1.__file = "src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue";
|
|
9899
9899
|
var B1 = { props: { text: { type: String, default: "" }, maxWidth: { type: String, default: "240px" }, position: { type: String, default: "bottom", validator: (e) => ["top", "right", "bottom", "left"].includes(e) }, color: { type: String, default: "primary", validator: (e) => ["white", "primary", "secondary", "granite-light", "silver-light", "success", "warning", "high"].includes(e) }, disabled: { type: Boolean, default: !1 }, message: { type: String }, className: { type: [String, Array] } }, data: () => ({ width: null, height: null, parentHeight: null, hover: !1 }), computed: { isDisplayed() {
|
|
9900
9900
|
return !this.disabled && this._text && this.hover;
|
|
@@ -10195,7 +10195,7 @@ html[data-v-41eb8f46] {
|
|
|
10195
10195
|
.bimdata-tooltip__tooltip--high[data-v-41eb8f46]::before {
|
|
10196
10196
|
border-color: var(--color-high) transparent transparent;
|
|
10197
10197
|
}`), B1.render = function(e, n, a, l, s, i) {
|
|
10198
|
-
return r(), o("div", Lp, [t("div", { class: "bimdata-tooltip__content", onMouseover: n[0] || (n[0] = (c) => s.hover = !0), onMouseleave: n[1] || (n[1] = (c) => s.hover = !1) }, [v(' slot "content" for retro-compatibility '), _(e.$slots, "content"), _(e.$slots, "default")], 32), p(
|
|
10198
|
+
return r(), o("div", Lp, [t("div", { class: "bimdata-tooltip__content", onMouseover: n[0] || (n[0] = (c) => s.hover = !0), onMouseleave: n[1] || (n[1] = (c) => s.hover = !1) }, [v(' slot "content" for retro-compatibility '), _(e.$slots, "content"), _(e.$slots, "default")], 32), p(t1, { name: "fade", persisted: "" }, { default: L(() => [X(t("div", { ref: "tooltipText", class: k(["bimdata-tooltip__tooltip", [`bimdata-tooltip__tooltip--${a.position}`, `bimdata-tooltip__tooltip--${a.color}`, ...i._className]]), style: H({ maxWidth: a.maxWidth }) }, b(i._text), 7), [[q, i.isDisplayed]])]), _: 1 })]);
|
|
10199
10199
|
}, B1.__scopeId = "data-v-41eb8f46", B1.__file = "src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";
|
|
10200
10200
|
const vp = {
|
|
10201
10201
|
components: {
|
|
@@ -10251,7 +10251,7 @@ function kp(e, n, a, l, s, i) {
|
|
|
10251
10251
|
a.viewpoints.length > 0 ? (r(), o(R, { key: 0 }, [
|
|
10252
10252
|
t("div", Mp, [
|
|
10253
10253
|
(r(!0), o(R, null, U(a.viewpoints.slice(0, 4), (d, C) => (r(), o("div", {
|
|
10254
|
-
class:
|
|
10254
|
+
class: k(["image-preview", { single: a.viewpoints.length === 1 }]),
|
|
10255
10255
|
key: d.guid || C
|
|
10256
10256
|
}, [
|
|
10257
10257
|
d.snapshot.snapshot_data ? (r(), o("img", {
|
|
@@ -10335,7 +10335,7 @@ function kp(e, n, a, l, s, i) {
|
|
|
10335
10335
|
]))
|
|
10336
10336
|
]);
|
|
10337
10337
|
}
|
|
10338
|
-
const xp = /* @__PURE__ */
|
|
10338
|
+
const xp = /* @__PURE__ */ F(vp, [["render", kp], ["__scopeId", "data-v-65d2afee"]]);
|
|
10339
10339
|
const wp = {
|
|
10340
10340
|
components: {
|
|
10341
10341
|
BIMDataButton: W,
|
|
@@ -10359,7 +10359,7 @@ const wp = {
|
|
|
10359
10359
|
const [u, d] = Object.entries(z2).find(([, C]) => C.plugin === i);
|
|
10360
10360
|
c.forEach(async (C) => {
|
|
10361
10361
|
const f = await C.getViewpoint(), { order: h } = d != null ? d : {};
|
|
10362
|
-
f.order = h, f[P2] = u, f[U2] = C.getLoadedModels().map((
|
|
10362
|
+
f.order = h, f[P2] = u, f[U2] = C.getLoadedModels().map((m) => m.id).join(","), n("add-viewpoint", f);
|
|
10363
10363
|
});
|
|
10364
10364
|
});
|
|
10365
10365
|
},
|
|
@@ -10377,7 +10377,7 @@ function Tp(e, n, a, l, s, i) {
|
|
|
10377
10377
|
return r(), o("div", Zp, [
|
|
10378
10378
|
a.viewpoints.length > 0 ? (r(), o("div", Sp, [
|
|
10379
10379
|
(r(!0), o(R, null, U(a.viewpoints.slice(0, 4), (d, C) => (r(), o("div", {
|
|
10380
|
-
class:
|
|
10380
|
+
class: k(["snapshot-preview", { single: a.viewpoints.length === 1 }]),
|
|
10381
10381
|
key: d.guid || C
|
|
10382
10382
|
}, [
|
|
10383
10383
|
d.snapshot.snapshot_data ? (r(), o("img", {
|
|
@@ -10414,7 +10414,7 @@ function Tp(e, n, a, l, s, i) {
|
|
|
10414
10414
|
]))
|
|
10415
10415
|
]);
|
|
10416
10416
|
}
|
|
10417
|
-
const $p = /* @__PURE__ */
|
|
10417
|
+
const $p = /* @__PURE__ */ F(wp, [["render", Tp], ["__scopeId", "data-v-f3e2dd87"]]);
|
|
10418
10418
|
const Np = {
|
|
10419
10419
|
components: {
|
|
10420
10420
|
BcfTopicImages: xp,
|
|
@@ -10484,22 +10484,22 @@ const Np = {
|
|
|
10484
10484
|
"topic-update-error"
|
|
10485
10485
|
],
|
|
10486
10486
|
setup(e, { emit: n }) {
|
|
10487
|
-
const a = Z1(), l =
|
|
10487
|
+
const a = Z1(), l = O(
|
|
10488
10488
|
() => !e.topic
|
|
10489
|
-
), s =
|
|
10490
|
-
() => Math.max(0, ...e.topics.map((
|
|
10491
|
-
), i =
|
|
10492
|
-
() =>
|
|
10493
|
-
), V =
|
|
10494
|
-
|
|
10489
|
+
), s = O(
|
|
10490
|
+
() => Math.max(0, ...e.topics.map((N) => N.index)) + 1
|
|
10491
|
+
), i = B(""), c = B(null), u = B(null), d = B(null), C = B(null), f = B(null), h = B(null), m = B(""), I = B([]), M = B([]), y = B([]), w = B([]), E = B([]), S = O(
|
|
10492
|
+
() => M.value.concat(y.value).filter((N) => !E.value.some((p1) => p1.guid === N.guid)).filter((N) => N.snapshot)
|
|
10493
|
+
), V = B(!1), T = B(!1), $ = B(!1);
|
|
10494
|
+
n1(
|
|
10495
10495
|
() => e.topic,
|
|
10496
|
-
(
|
|
10497
|
-
l.value || (i.value =
|
|
10496
|
+
(N) => {
|
|
10497
|
+
l.value || (i.value = N.title || "", c.value = N.topic_type || null, u.value = N.priority || null, d.value = N.topic_status || null, C.value = N.stage || null, f.value = N.assigned_to || null, h.value = N.due_date, m.value = N.description || "", I.value = N.labels || [], M.value = N.viewpoints || []);
|
|
10498
10498
|
},
|
|
10499
10499
|
{ immediate: !0 }
|
|
10500
10500
|
);
|
|
10501
|
-
const
|
|
10502
|
-
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, f.value = null, h.value = null,
|
|
10501
|
+
const P = () => {
|
|
10502
|
+
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, f.value = null, h.value = null, m.value = "", I.value = [], M.value = [], y.value = [], w.value = [], E.value = [], V.value = !1, T.value = !1, $.value = !1;
|
|
10503
10503
|
};
|
|
10504
10504
|
return {
|
|
10505
10505
|
hasErrorTitle: $,
|
|
@@ -10508,43 +10508,43 @@ const Np = {
|
|
|
10508
10508
|
loading: V,
|
|
10509
10509
|
nextIndex: s,
|
|
10510
10510
|
topicAssignedTo: f,
|
|
10511
|
-
topicDescription:
|
|
10511
|
+
topicDescription: m,
|
|
10512
10512
|
topicDueDate: h,
|
|
10513
10513
|
topicPriority: u,
|
|
10514
10514
|
topicStage: C,
|
|
10515
10515
|
topicStatus: d,
|
|
10516
|
-
topicLabels:
|
|
10516
|
+
topicLabels: I,
|
|
10517
10517
|
topicTitle: i,
|
|
10518
10518
|
topicType: c,
|
|
10519
10519
|
viewpointsToDisplay: S,
|
|
10520
|
-
addViewpoint: (
|
|
10521
|
-
y.value.push(
|
|
10520
|
+
addViewpoint: (N) => {
|
|
10521
|
+
y.value.push(N);
|
|
10522
10522
|
},
|
|
10523
|
-
delViewpoint: (
|
|
10524
|
-
if (
|
|
10525
|
-
E.value.push(
|
|
10523
|
+
delViewpoint: (N) => {
|
|
10524
|
+
if (N.guid)
|
|
10525
|
+
E.value.push(N);
|
|
10526
10526
|
else {
|
|
10527
|
-
let p1 = y.value.indexOf(
|
|
10527
|
+
let p1 = y.value.indexOf(N);
|
|
10528
10528
|
y.value.splice(p1, 1);
|
|
10529
10529
|
}
|
|
10530
10530
|
},
|
|
10531
10531
|
submit: async () => {
|
|
10532
|
-
var
|
|
10532
|
+
var N, p1;
|
|
10533
10533
|
if (!i.value) {
|
|
10534
10534
|
$.value = !0;
|
|
10535
10535
|
return;
|
|
10536
10536
|
}
|
|
10537
10537
|
try {
|
|
10538
|
-
V.value = !0, w.value =
|
|
10539
|
-
(
|
|
10540
|
-
), w.value.length === 0 && y.value.sort((
|
|
10538
|
+
V.value = !0, w.value = M.value.map(
|
|
10539
|
+
(Y) => ({ ...Y, snapshot: void 0 })
|
|
10540
|
+
), w.value.length === 0 && y.value.sort((Y, O5) => {
|
|
10541
10541
|
var J2, Q2;
|
|
10542
|
-
return ((J2 =
|
|
10542
|
+
return ((J2 = Y.order) != null ? J2 : 1 / 0) - ((Q2 = O5.order) != null ? Q2 : 1 / 0);
|
|
10543
10543
|
}), e.topicObjects && (w.value.length > 0 || y.value.length > 0 ? [
|
|
10544
10544
|
...w.value,
|
|
10545
10545
|
...y.value
|
|
10546
|
-
].forEach((
|
|
10547
|
-
Object.assign(
|
|
10546
|
+
].forEach((Y) => {
|
|
10547
|
+
Object.assign(Y, e.topicObjects), Y.components || (Y.components = {}), Y.components.selection || (Y.components.selection = []), Y.components.visibility || (Y.components.visibility = {
|
|
10548
10548
|
default_visibility: !0,
|
|
10549
10549
|
exceptions: [],
|
|
10550
10550
|
view_setup_hints: {
|
|
@@ -10559,10 +10559,10 @@ const Np = {
|
|
|
10559
10559
|
...w.value,
|
|
10560
10560
|
...y.value
|
|
10561
10561
|
].forEach(
|
|
10562
|
-
(
|
|
10562
|
+
(Y) => Y.pins = e.topicAnnotations
|
|
10563
10563
|
);
|
|
10564
10564
|
const T1 = {
|
|
10565
|
-
guid: (
|
|
10565
|
+
guid: (N = e.topic) == null ? void 0 : N.guid,
|
|
10566
10566
|
models: ((p1 = e.topic) == null ? void 0 : p1.models) || e.topicModels,
|
|
10567
10567
|
title: i.value,
|
|
10568
10568
|
topic_type: c.value,
|
|
@@ -10571,20 +10571,20 @@ const Np = {
|
|
|
10571
10571
|
stage: C.value,
|
|
10572
10572
|
assigned_to: f.value,
|
|
10573
10573
|
due_date: h.value,
|
|
10574
|
-
description:
|
|
10575
|
-
labels:
|
|
10574
|
+
description: m.value,
|
|
10575
|
+
labels: I.value,
|
|
10576
10576
|
viewpoints: w.value
|
|
10577
10577
|
};
|
|
10578
10578
|
let h1;
|
|
10579
10579
|
l.value ? h1 = await a.createTopic(e.project, T1) : h1 = await a.updateTopic(e.project, T1), await Promise.all(
|
|
10580
10580
|
y.value.map(
|
|
10581
|
-
(
|
|
10581
|
+
(Y) => a.createViewpoint(e.project, h1, Y)
|
|
10582
10582
|
)
|
|
10583
10583
|
), await Promise.all(
|
|
10584
10584
|
E.value.map(
|
|
10585
|
-
(
|
|
10585
|
+
(Y) => a.deleteViewpoint(e.project, h1, Y)
|
|
10586
10586
|
)
|
|
10587
|
-
), l.value ? (n("topic-created", h1),
|
|
10587
|
+
), l.value ? (n("topic-created", h1), P()) : n("topic-updated", h1);
|
|
10588
10588
|
} catch (T1) {
|
|
10589
10589
|
n(l.value ? "topic-create-error" : "topic-update-error", T1);
|
|
10590
10590
|
} finally {
|
|
@@ -10604,7 +10604,7 @@ const Np = {
|
|
|
10604
10604
|
class: "bcf-topic-form__loader"
|
|
10605
10605
|
};
|
|
10606
10606
|
function Jp(e, n, a, l, s, i) {
|
|
10607
|
-
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicSnapshots"), f = g("BIMDataTooltip"), h = g("BcfTopicImages"),
|
|
10607
|
+
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicSnapshots"), f = g("BIMDataTooltip"), h = g("BcfTopicImages"), m = g("BIMDataInput"), I = g("BIMDataSelect"), M = g("BIMDataDatePicker"), y = g("BIMDataTextarea"), w = g("BIMDataLoading"), E = g("BIMDataSafeZoneModal");
|
|
10608
10608
|
return r(), o("div", Op, [
|
|
10609
10609
|
t("div", Rp, [
|
|
10610
10610
|
a.uiConfig.backButton ? (r(), D(u, {
|
|
@@ -10716,7 +10716,7 @@ function Jp(e, n, a, l, s, i) {
|
|
|
10716
10716
|
onDeleteViewpoint: l.delViewpoint
|
|
10717
10717
|
}, null, 8, ["viewpoints", "onAddViewpoint", "onDeleteViewpoint"])),
|
|
10718
10718
|
t("div", Xp, [
|
|
10719
|
-
p(
|
|
10719
|
+
p(m, {
|
|
10720
10720
|
placeholder: e.$t("BcfComponents.BcfTopicForm.titlePlaceholder"),
|
|
10721
10721
|
error: l.hasErrorTitle,
|
|
10722
10722
|
errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
|
|
@@ -10724,35 +10724,35 @@ function Jp(e, n, a, l, s, i) {
|
|
|
10724
10724
|
"onUpdate:modelValue": n[4] || (n[4] = (S) => l.topicTitle = S),
|
|
10725
10725
|
onKeyup: x(Z(l.submit, ["stop"]), ["enter"])
|
|
10726
10726
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
|
|
10727
|
-
p(
|
|
10727
|
+
p(I, {
|
|
10728
10728
|
width: "100%",
|
|
10729
10729
|
label: e.$t("BcfComponents.BcfTopicForm.typeLabel"),
|
|
10730
10730
|
options: a.extensions.topic_type,
|
|
10731
10731
|
modelValue: l.topicType,
|
|
10732
10732
|
"onUpdate:modelValue": n[5] || (n[5] = (S) => l.topicType = S)
|
|
10733
10733
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10734
|
-
p(
|
|
10734
|
+
p(I, {
|
|
10735
10735
|
width: "100%",
|
|
10736
10736
|
label: e.$t("BcfComponents.BcfTopicForm.priorityLabel"),
|
|
10737
10737
|
options: a.extensions.priority,
|
|
10738
10738
|
modelValue: l.topicPriority,
|
|
10739
10739
|
"onUpdate:modelValue": n[6] || (n[6] = (S) => l.topicPriority = S)
|
|
10740
10740
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10741
|
-
p(
|
|
10741
|
+
p(I, {
|
|
10742
10742
|
width: "100%",
|
|
10743
10743
|
label: e.$t("BcfComponents.BcfTopicForm.statusLabel"),
|
|
10744
10744
|
options: a.extensions.topic_status,
|
|
10745
10745
|
modelValue: l.topicStatus,
|
|
10746
10746
|
"onUpdate:modelValue": n[7] || (n[7] = (S) => l.topicStatus = S)
|
|
10747
10747
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10748
|
-
p(
|
|
10748
|
+
p(I, {
|
|
10749
10749
|
width: "100%",
|
|
10750
10750
|
label: e.$t("BcfComponents.BcfTopicForm.stageLabel"),
|
|
10751
10751
|
options: a.extensions.stage,
|
|
10752
10752
|
modelValue: l.topicStage,
|
|
10753
10753
|
"onUpdate:modelValue": n[8] || (n[8] = (S) => l.topicStage = S)
|
|
10754
10754
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10755
|
-
p(
|
|
10755
|
+
p(I, {
|
|
10756
10756
|
width: "100%",
|
|
10757
10757
|
label: e.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
|
|
10758
10758
|
options: a.extensions.user_id_type,
|
|
@@ -10760,7 +10760,7 @@ function Jp(e, n, a, l, s, i) {
|
|
|
10760
10760
|
"onUpdate:modelValue": n[9] || (n[9] = (S) => l.topicAssignedTo = S)
|
|
10761
10761
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10762
10762
|
t("div", jp, [
|
|
10763
|
-
p(
|
|
10763
|
+
p(M, {
|
|
10764
10764
|
modelValue: l.topicDueDate,
|
|
10765
10765
|
"onUpdate:modelValue": n[10] || (n[10] = (S) => l.topicDueDate = S),
|
|
10766
10766
|
value: l.topicDueDate,
|
|
@@ -10777,7 +10777,7 @@ function Jp(e, n, a, l, s, i) {
|
|
|
10777
10777
|
"onUpdate:modelValue": n[11] || (n[11] = (S) => l.topicDescription = S),
|
|
10778
10778
|
fitContent: ""
|
|
10779
10779
|
}, null, 8, ["label", "modelValue"]),
|
|
10780
|
-
p(
|
|
10780
|
+
p(I, {
|
|
10781
10781
|
width: "100%",
|
|
10782
10782
|
multi: !0,
|
|
10783
10783
|
label: e.$t("BcfComponents.BcfTopicForm.labelsLabel"),
|
|
@@ -10838,7 +10838,7 @@ function Jp(e, n, a, l, s, i) {
|
|
|
10838
10838
|
})) : v("", !0)
|
|
10839
10839
|
]);
|
|
10840
10840
|
}
|
|
10841
|
-
const Qp = /* @__PURE__ */
|
|
10841
|
+
const Qp = /* @__PURE__ */ F(Np, [["render", Jp], ["__scopeId", "data-v-d18ec559"]]);
|
|
10842
10842
|
const eh = {
|
|
10843
10843
|
props: {
|
|
10844
10844
|
user: {
|
|
@@ -10861,7 +10861,7 @@ const eh = {
|
|
|
10861
10861
|
},
|
|
10862
10862
|
setup(e) {
|
|
10863
10863
|
return {
|
|
10864
|
-
initials:
|
|
10864
|
+
initials: O(
|
|
10865
10865
|
() => `${e.user.firstname && e.user.firstname[0] || ""}${e.user.lastname && e.user.lastname[0] || ""}`.toUpperCase()
|
|
10866
10866
|
)
|
|
10867
10867
|
};
|
|
@@ -10870,7 +10870,7 @@ const eh = {
|
|
|
10870
10870
|
function th(e, n, a, l, s, i) {
|
|
10871
10871
|
const c = g("BIMDataIcon");
|
|
10872
10872
|
return r(), o("div", {
|
|
10873
|
-
class:
|
|
10873
|
+
class: k(["user-avatar", `user-avatar--${a.user.profile_picture ? "silver-light" : a.color}`]),
|
|
10874
10874
|
style: H({
|
|
10875
10875
|
width: `${a.size}px`,
|
|
10876
10876
|
height: `${a.size}px`,
|
|
@@ -10889,7 +10889,7 @@ function th(e, n, a, l, s, i) {
|
|
|
10889
10889
|
}))
|
|
10890
10890
|
], 6);
|
|
10891
10891
|
}
|
|
10892
|
-
const N5 = /* @__PURE__ */
|
|
10892
|
+
const N5 = /* @__PURE__ */ F(eh, [["render", th], ["__scopeId", "data-v-3c02f1a9"]]);
|
|
10893
10893
|
const rh = {
|
|
10894
10894
|
components: {
|
|
10895
10895
|
BIMDataButton: W,
|
|
@@ -10918,7 +10918,7 @@ const rh = {
|
|
|
10918
10918
|
"comment-deleted"
|
|
10919
10919
|
],
|
|
10920
10920
|
setup(e, { emit: n }) {
|
|
10921
|
-
const a = Z1(), l =
|
|
10921
|
+
const a = Z1(), l = B(!1), s = B(!1), i = () => s.value = !1, c = () => s.value = !s.value, u = B(e.comment.comment), d = B(!1), C = () => {
|
|
10922
10922
|
d.value = !0, i();
|
|
10923
10923
|
}, f = () => {
|
|
10924
10924
|
d.value = !1, u.value = e.comment.comment;
|
|
@@ -10938,9 +10938,9 @@ const rh = {
|
|
|
10938
10938
|
} finally {
|
|
10939
10939
|
l.value = !1;
|
|
10940
10940
|
}
|
|
10941
|
-
},
|
|
10941
|
+
}, m = B(!1);
|
|
10942
10942
|
return {
|
|
10943
|
-
isDeleting:
|
|
10943
|
+
isDeleting: m,
|
|
10944
10944
|
isEditing: d,
|
|
10945
10945
|
loading: l,
|
|
10946
10946
|
showMenu: s,
|
|
@@ -10948,7 +10948,7 @@ const rh = {
|
|
|
10948
10948
|
cancelUpdate: f,
|
|
10949
10949
|
closeMenu: i,
|
|
10950
10950
|
onOpenDelete: () => {
|
|
10951
|
-
|
|
10951
|
+
m.value = !0, i();
|
|
10952
10952
|
},
|
|
10953
10953
|
onOpenEdit: C,
|
|
10954
10954
|
submitDelete: async () => {
|
|
@@ -10957,7 +10957,7 @@ const rh = {
|
|
|
10957
10957
|
e.project,
|
|
10958
10958
|
e.topic,
|
|
10959
10959
|
e.comment
|
|
10960
|
-
), n("comment-deleted", e.comment),
|
|
10960
|
+
), n("comment-deleted", e.comment), m.value = !1;
|
|
10961
10961
|
} finally {
|
|
10962
10962
|
l.value = !1;
|
|
10963
10963
|
}
|
|
@@ -11109,7 +11109,7 @@ function gh(e, n, a, l, s, i) {
|
|
|
11109
11109
|
ghost: "",
|
|
11110
11110
|
rounded: "",
|
|
11111
11111
|
icon: "",
|
|
11112
|
-
onClick: n[0] || (n[0] = (
|
|
11112
|
+
onClick: n[0] || (n[0] = (m) => l.isDeleting = !1)
|
|
11113
11113
|
}, {
|
|
11114
11114
|
default: L(() => [
|
|
11115
11115
|
p(u, {
|
|
@@ -11144,11 +11144,11 @@ function gh(e, n, a, l, s, i) {
|
|
|
11144
11144
|
]),
|
|
11145
11145
|
t("div", bh, [
|
|
11146
11146
|
p(f, {
|
|
11147
|
-
class:
|
|
11147
|
+
class: k({ editing: l.isEditing }),
|
|
11148
11148
|
width: "100%",
|
|
11149
11149
|
rows: "1",
|
|
11150
11150
|
modelValue: l.text,
|
|
11151
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
11151
|
+
"onUpdate:modelValue": n[1] || (n[1] = (m) => l.text = m),
|
|
11152
11152
|
fitContent: "",
|
|
11153
11153
|
autofocus: "",
|
|
11154
11154
|
resizable: !1,
|
|
@@ -11158,7 +11158,7 @@ function gh(e, n, a, l, s, i) {
|
|
|
11158
11158
|
l.loading ? (r(), D(h, { key: 0 })) : v("", !0)
|
|
11159
11159
|
]);
|
|
11160
11160
|
}
|
|
11161
|
-
const fh = /* @__PURE__ */
|
|
11161
|
+
const fh = /* @__PURE__ */ F(rh, [["render", gh], ["__scopeId", "data-v-abad358d"]]);
|
|
11162
11162
|
const Lh = {
|
|
11163
11163
|
components: {
|
|
11164
11164
|
BIMDataButton: W,
|
|
@@ -11182,28 +11182,42 @@ const Lh = {
|
|
|
11182
11182
|
"comment-deleted"
|
|
11183
11183
|
],
|
|
11184
11184
|
setup(e, { emit: n }) {
|
|
11185
|
-
const a = Z1(), l =
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
e.project,
|
|
11199
|
-
e.topic,
|
|
11200
|
-
{ comment: c.value }
|
|
11201
|
-
);
|
|
11202
|
-
n("comment-created", d), l.value = !1, c.value = "";
|
|
11203
|
-
} finally {
|
|
11204
|
-
s.value = !1;
|
|
11205
|
-
}
|
|
11185
|
+
const a = Z1(), l = B([]), s = B(!1), i = B(!1), c = B(null), u = B(""), d = async () => {
|
|
11186
|
+
l.value = await a.fetchTopicComments(e.project, e.topic);
|
|
11187
|
+
}, C = async () => {
|
|
11188
|
+
try {
|
|
11189
|
+
i.value = !0;
|
|
11190
|
+
const m = await a.createComment(
|
|
11191
|
+
e.project,
|
|
11192
|
+
e.topic,
|
|
11193
|
+
{ comment: u.value }
|
|
11194
|
+
);
|
|
11195
|
+
d(), n("comment-created", m), s.value = !1, u.value = "";
|
|
11196
|
+
} finally {
|
|
11197
|
+
i.value = !1;
|
|
11206
11198
|
}
|
|
11199
|
+
}, f = (m) => {
|
|
11200
|
+
d(), n("comment-updated", m);
|
|
11201
|
+
}, h = (m) => {
|
|
11202
|
+
d(), n("comment-deleted", m);
|
|
11203
|
+
};
|
|
11204
|
+
return n1(
|
|
11205
|
+
() => e.topic,
|
|
11206
|
+
() => d(),
|
|
11207
|
+
{ immediate: !0 }
|
|
11208
|
+
), n1(
|
|
11209
|
+
s,
|
|
11210
|
+
() => setTimeout(() => s.value && c.value.focus(), 50)
|
|
11211
|
+
), {
|
|
11212
|
+
comments: l,
|
|
11213
|
+
input: c,
|
|
11214
|
+
isOpen: s,
|
|
11215
|
+
loading: i,
|
|
11216
|
+
text: u,
|
|
11217
|
+
loadComments: d,
|
|
11218
|
+
onCommentDeleted: h,
|
|
11219
|
+
onCommentUpdated: f,
|
|
11220
|
+
submitComment: C
|
|
11207
11221
|
};
|
|
11208
11222
|
}
|
|
11209
11223
|
}, vh = { class: "bcf-topic-comments" }, mh = {
|
|
@@ -11266,22 +11280,22 @@ function Dh(e, n, a, l, s, i) {
|
|
|
11266
11280
|
_: 1
|
|
11267
11281
|
})),
|
|
11268
11282
|
t("div", yh, [
|
|
11269
|
-
t("p", Hh, b((
|
|
11270
|
-
|
|
11271
|
-
(r(!0), o(R, null, U(
|
|
11283
|
+
t("p", Hh, b((l.comments ? l.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
|
|
11284
|
+
l.comments && l.comments.length ? (r(), o("div", Vh, [
|
|
11285
|
+
(r(!0), o(R, null, U(l.comments, (f) => (r(), D(d, {
|
|
11272
11286
|
key: f.guid,
|
|
11273
11287
|
project: a.project,
|
|
11274
11288
|
topic: a.topic,
|
|
11275
11289
|
comment: f,
|
|
11276
|
-
onCommentUpdated:
|
|
11277
|
-
onCommentDeleted:
|
|
11278
|
-
}, null, 8, ["project", "topic", "comment"]))), 128))
|
|
11290
|
+
onCommentUpdated: l.onCommentUpdated,
|
|
11291
|
+
onCommentDeleted: l.onCommentDeleted
|
|
11292
|
+
}, null, 8, ["project", "topic", "comment", "onCommentUpdated", "onCommentDeleted"]))), 128))
|
|
11279
11293
|
])) : v("", !0)
|
|
11280
11294
|
]),
|
|
11281
11295
|
l.loading ? (r(), D(C, { key: 2 })) : v("", !0)
|
|
11282
11296
|
]);
|
|
11283
11297
|
}
|
|
11284
|
-
const Bh = /* @__PURE__ */
|
|
11298
|
+
const Bh = /* @__PURE__ */ F(Lh, [["render", Dh], ["__scopeId", "data-v-2ebe99db"]]);
|
|
11285
11299
|
var kh = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), J1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => kh.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
11286
11300
|
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 };
|
|
11287
11301
|
}, style() {
|
|
@@ -11758,7 +11772,7 @@ A1(`.bimdata-btn {
|
|
|
11758
11772
|
color: var(--color-silver-dark);
|
|
11759
11773
|
cursor: auto;
|
|
11760
11774
|
}`), J1.render = function(e, n, a, l, s, i) {
|
|
11761
|
-
return r(), o("button", { class:
|
|
11775
|
+
return r(), o("button", { class: k(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: a.color, type: "button" }, [_(e.$slots, "default")], 14, xh);
|
|
11762
11776
|
}, J1.__scopeId = "data-v-3f903003", J1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
11763
11777
|
const wh = { "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" }, Zh = { render: function(e, n) {
|
|
11764
11778
|
return r(), o("path", wh);
|
|
@@ -12239,7 +12253,7 @@ A1(`.icon-fill--black {
|
|
|
12239
12253
|
.icon-stroke--white {
|
|
12240
12254
|
stroke: var(--color-white);
|
|
12241
12255
|
}`), Q1.render = function(e, n, a, l, s, i) {
|
|
12242
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class:
|
|
12256
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: a.fillColor, color: a.color, class: k(i.classes), style: H(i.style) }, [(r(), D(u1(`bimdata-icon-${a.name}`)))], 14, om);
|
|
12243
12257
|
}, Q1.__scopeId = "data-v-1312d4d1", Q1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
12244
12258
|
var e2 = { components: { BIMDataButton: J1, BIMDataIcon: Q1 }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
12245
12259
|
this.distributeItems();
|
|
@@ -12317,7 +12331,7 @@ const im = {
|
|
|
12317
12331
|
"view-topic-viewpoint"
|
|
12318
12332
|
],
|
|
12319
12333
|
setup(e) {
|
|
12320
|
-
const n =
|
|
12334
|
+
const n = O(
|
|
12321
12335
|
() => e.topic.viewpoints.filter((l) => l.snapshot).map((l) => {
|
|
12322
12336
|
var s;
|
|
12323
12337
|
return {
|
|
@@ -12327,7 +12341,7 @@ const im = {
|
|
|
12327
12341
|
})
|
|
12328
12342
|
);
|
|
12329
12343
|
return {
|
|
12330
|
-
statusColor:
|
|
12344
|
+
statusColor: O(
|
|
12331
12345
|
() => Y2(e.topic, e.detailedExtensions)
|
|
12332
12346
|
),
|
|
12333
12347
|
viewpoints: n,
|
|
@@ -12338,7 +12352,7 @@ const im = {
|
|
|
12338
12352
|
function cm(e, n, a, l, s, i) {
|
|
12339
12353
|
const c = g("BIMDataIcon"), u = g("BIMDataCarousel"), d = g("BcfTopicDefaultImage");
|
|
12340
12354
|
return r(), o("div", {
|
|
12341
|
-
class:
|
|
12355
|
+
class: k(["bcf-topic-viewpoints", { empty: l.viewpoints.length === 0 }])
|
|
12342
12356
|
}, [
|
|
12343
12357
|
a.topic.topic_status ? (r(), o("div", {
|
|
12344
12358
|
key: 0,
|
|
@@ -12384,7 +12398,7 @@ function cm(e, n, a, l, s, i) {
|
|
|
12384
12398
|
}))
|
|
12385
12399
|
], 2);
|
|
12386
12400
|
}
|
|
12387
|
-
const dm = /* @__PURE__ */
|
|
12401
|
+
const dm = /* @__PURE__ */ F(im, [["render", cm], ["__scopeId", "data-v-15bf52d1"]]);
|
|
12388
12402
|
const um = {
|
|
12389
12403
|
components: {
|
|
12390
12404
|
BcfTopicComments: Bh,
|
|
@@ -12434,10 +12448,10 @@ const um = {
|
|
|
12434
12448
|
"view-topic-viewpoint"
|
|
12435
12449
|
],
|
|
12436
12450
|
setup(e, { emit: n }) {
|
|
12437
|
-
const a = Z1(), l =
|
|
12451
|
+
const a = Z1(), l = B(!1), s = B(!1), i = O(() => v1(e.topic, e.detailedExtensions)), c = O(() => {
|
|
12438
12452
|
var C, f, h;
|
|
12439
12453
|
return ((h = (f = (C = e.topic.viewpoints) == null ? void 0 : C[0]) == null ? void 0 : f.components) == null ? void 0 : h.selection) || [];
|
|
12440
|
-
}), u =
|
|
12454
|
+
}), u = O(() => Array.from(e.topic.labels || []).sort());
|
|
12441
12455
|
return {
|
|
12442
12456
|
loading: l,
|
|
12443
12457
|
priorityColor: i,
|
|
@@ -12461,7 +12475,7 @@ const um = {
|
|
|
12461
12475
|
class: "title"
|
|
12462
12476
|
}, Mm = { class: "line" }, Im = { class: "label" }, _m = { class: "value" }, ym = { class: "line" }, Hm = { class: "label" }, Vm = { class: "value" }, Dm = { class: "line" }, Bm = { class: "label" }, km = { class: "value" }, xm = { class: "line" }, wm = { class: "label" }, Zm = { class: "value" }, Sm = { class: "bcf-topic-overview__content__card" }, Am = { class: "title" }, Tm = { class: "line" }, $m = { class: "label" }, Nm = { class: "value" }, Om = { class: "line" }, Rm = { class: "label" }, Em = { class: "value" }, Fm = { class: "line" }, Pm = { class: "label" }, Um = { class: "line" }, zm = { class: "label" }, Gm = { class: "value" }, Ym = { class: "line m-t-12" }, Wm = { class: "label" }, Xm = { class: "value" }, jm = { key: 1 };
|
|
12463
12477
|
function Km(e, n, a, l, s, i) {
|
|
12464
|
-
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicViewpoints"), f = g("BcfTopicComments"), h = g("BIMDataSafeZoneModal"),
|
|
12478
|
+
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicViewpoints"), f = g("BcfTopicComments"), h = g("BIMDataSafeZoneModal"), m = g("BIMDataLoading");
|
|
12465
12479
|
return r(), o("div", Cm, [
|
|
12466
12480
|
t("div", pm, [
|
|
12467
12481
|
a.uiConfig.backButton ? (r(), D(u, {
|
|
@@ -12469,7 +12483,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12469
12483
|
ghost: "",
|
|
12470
12484
|
rounded: "",
|
|
12471
12485
|
icon: "",
|
|
12472
|
-
onClick: n[0] || (n[0] = (
|
|
12486
|
+
onClick: n[0] || (n[0] = (I) => e.$emit("back"))
|
|
12473
12487
|
}, {
|
|
12474
12488
|
default: L(() => [
|
|
12475
12489
|
p(c, {
|
|
@@ -12493,7 +12507,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12493
12507
|
ghost: "",
|
|
12494
12508
|
rounded: "",
|
|
12495
12509
|
icon: "",
|
|
12496
|
-
onClick: n[1] || (n[1] = (
|
|
12510
|
+
onClick: n[1] || (n[1] = (I) => e.$emit("edit-topic", a.topic))
|
|
12497
12511
|
}, {
|
|
12498
12512
|
default: L(() => [
|
|
12499
12513
|
p(c, {
|
|
@@ -12508,7 +12522,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12508
12522
|
ghost: "",
|
|
12509
12523
|
rounded: "",
|
|
12510
12524
|
icon: "",
|
|
12511
|
-
onClick: n[2] || (n[2] = (
|
|
12525
|
+
onClick: n[2] || (n[2] = (I) => l.showDeleteModal = !0)
|
|
12512
12526
|
}, {
|
|
12513
12527
|
default: L(() => [
|
|
12514
12528
|
p(c, {
|
|
@@ -12523,7 +12537,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12523
12537
|
ghost: "",
|
|
12524
12538
|
rounded: "",
|
|
12525
12539
|
icon: "",
|
|
12526
|
-
onClick: n[3] || (n[3] = (
|
|
12540
|
+
onClick: n[3] || (n[3] = (I) => e.$emit("close"))
|
|
12527
12541
|
}, {
|
|
12528
12542
|
default: L(() => [
|
|
12529
12543
|
p(c, {
|
|
@@ -12551,7 +12565,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12551
12565
|
p(C, {
|
|
12552
12566
|
detailedExtensions: a.detailedExtensions,
|
|
12553
12567
|
topic: a.topic,
|
|
12554
|
-
onViewTopicViewpoint: n[4] || (n[4] = (
|
|
12568
|
+
onViewTopicViewpoint: n[4] || (n[4] = (I) => e.$emit("view-topic-viewpoint", I))
|
|
12555
12569
|
}, null, 8, ["detailedExtensions", "topic"]),
|
|
12556
12570
|
a.uiConfig.viewerMode ? (r(), D(u, {
|
|
12557
12571
|
key: 0,
|
|
@@ -12559,7 +12573,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12559
12573
|
fill: "",
|
|
12560
12574
|
radius: "",
|
|
12561
12575
|
disabled: l.topicObjects.length === 0,
|
|
12562
|
-
onClick: n[5] || (n[5] = (
|
|
12576
|
+
onClick: n[5] || (n[5] = (I) => e.$emit("view-topic-components", a.topic))
|
|
12563
12577
|
}, {
|
|
12564
12578
|
default: L(() => [
|
|
12565
12579
|
p(c, {
|
|
@@ -12580,7 +12594,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12580
12594
|
color: "primary",
|
|
12581
12595
|
fill: "",
|
|
12582
12596
|
radius: "",
|
|
12583
|
-
onClick: n[6] || (n[6] = (
|
|
12597
|
+
onClick: n[6] || (n[6] = (I) => e.$emit("view-topic", a.topic))
|
|
12584
12598
|
}, {
|
|
12585
12599
|
default: L(() => [
|
|
12586
12600
|
A(b(e.$t("BcfComponents.BcfTopicOverview.openViewer")), 1)
|
|
@@ -12644,9 +12658,9 @@ function Km(e, n, a, l, s, i) {
|
|
|
12644
12658
|
p(f, {
|
|
12645
12659
|
project: a.project,
|
|
12646
12660
|
topic: a.topic,
|
|
12647
|
-
onCommentCreated: n[7] || (n[7] = (
|
|
12648
|
-
onCommentUpdated: n[8] || (n[8] = (
|
|
12649
|
-
onCommentDeleted: n[9] || (n[9] = (
|
|
12661
|
+
onCommentCreated: n[7] || (n[7] = (I) => e.$emit("comment-created", I)),
|
|
12662
|
+
onCommentUpdated: n[8] || (n[8] = (I) => e.$emit("comment-updated", I)),
|
|
12663
|
+
onCommentDeleted: n[9] || (n[9] = (I) => e.$emit("comment-deleted", I))
|
|
12650
12664
|
}, null, 8, ["project", "topic"])
|
|
12651
12665
|
]),
|
|
12652
12666
|
l.showDeleteModal ? (r(), D(h, {
|
|
@@ -12673,7 +12687,7 @@ function Km(e, n, a, l, s, i) {
|
|
|
12673
12687
|
color: "primary",
|
|
12674
12688
|
outline: "",
|
|
12675
12689
|
radius: "",
|
|
12676
|
-
onClick: n[10] || (n[10] = (
|
|
12690
|
+
onClick: n[10] || (n[10] = (I) => l.showDeleteModal = !1)
|
|
12677
12691
|
}, {
|
|
12678
12692
|
default: L(() => [
|
|
12679
12693
|
A(b(e.$t("BcfComponents.BcfTopicOverview.keepBcfButton")), 1)
|
|
@@ -12684,11 +12698,11 @@ function Km(e, n, a, l, s, i) {
|
|
|
12684
12698
|
_: 1
|
|
12685
12699
|
})) : v("", !0),
|
|
12686
12700
|
l.loading ? (r(), o("div", jm, [
|
|
12687
|
-
p(
|
|
12701
|
+
p(m)
|
|
12688
12702
|
])) : v("", !0)
|
|
12689
12703
|
]);
|
|
12690
12704
|
}
|
|
12691
|
-
const qm = /* @__PURE__ */
|
|
12705
|
+
const qm = /* @__PURE__ */ F(um, [["render", Km], ["__scopeId", "data-v-15f742b7"]]), L5 = [
|
|
12692
12706
|
{
|
|
12693
12707
|
id: "index",
|
|
12694
12708
|
label: "#",
|
|
@@ -13202,7 +13216,7 @@ K(`.bimdata-btn {
|
|
|
13202
13216
|
color: var(--color-silver-dark);
|
|
13203
13217
|
cursor: auto;
|
|
13204
13218
|
}`), n2.render = function(e, n, a, l, s, i) {
|
|
13205
|
-
return r(), o("button", { class:
|
|
13219
|
+
return r(), o("button", { class: k(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: a.color, type: "button" }, [_(e.$slots, "default")], 14, Qm);
|
|
13206
13220
|
}, n2.__scopeId = "data-v-3f903003", n2.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
13207
13221
|
var t2 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue", event: "update:modelValue" }, props: { text: { type: String, default: null }, modelValue: { type: Boolean, validator: (e) => e === null || typeof e == "boolean" }, disabled: { type: Boolean, default: !1 }, margin: { type: String, default: "0px" } }, emits: ["update:modelValue"], computed: { indeterminate() {
|
|
13208
13222
|
return this.modelValue === null;
|
|
@@ -13630,7 +13644,7 @@ K(`.icon-fill--black {
|
|
|
13630
13644
|
stroke: var(--color-white);
|
|
13631
13645
|
}`), r2.render = function(e, n, a, l, s, i) {
|
|
13632
13646
|
const c = g("Chevron");
|
|
13633
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
13647
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, aM);
|
|
13634
13648
|
}, r2.__scopeId = "data-v-5e440aca", r2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
13635
13649
|
const lM = { "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" }, iM = { render: function(e, n) {
|
|
13636
13650
|
return r(), o("path", lM);
|
|
@@ -13791,7 +13805,7 @@ K(`.icon-fill--black {
|
|
|
13791
13805
|
stroke: var(--color-white);
|
|
13792
13806
|
}`), v2.render = function(e, n, a, l, s, i) {
|
|
13793
13807
|
const c = g("DoubleChevron");
|
|
13794
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
13808
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, sM);
|
|
13795
13809
|
}, v2.__scopeId = "data-v-859297ec", v2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
13796
13810
|
const cM = { 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" }, dM = { render: function(e, n) {
|
|
13797
13811
|
return r(), o("path", cM);
|
|
@@ -13952,7 +13966,7 @@ K(`.icon-fill--black {
|
|
|
13952
13966
|
stroke: var(--color-white);
|
|
13953
13967
|
}`), m2.render = function(e, n, a, l, s, i) {
|
|
13954
13968
|
const c = g("Close");
|
|
13955
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
13969
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, uM);
|
|
13956
13970
|
}, m2.__scopeId = "data-v-797f55d8", m2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
13957
13971
|
const CM = { "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" }, pM = { render: function(e, n) {
|
|
13958
13972
|
return r(), o("path", CM);
|
|
@@ -14113,46 +14127,46 @@ K(`.icon-fill--black {
|
|
|
14113
14127
|
stroke: var(--color-white);
|
|
14114
14128
|
}`), M2.render = function(e, n, a, l, s, i) {
|
|
14115
14129
|
const c = g("Search");
|
|
14116
|
-
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class:
|
|
14130
|
+
return r(), o("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color, class: k(e.classes), style: H(e.style) }, [p(c)], 14, hM);
|
|
14117
14131
|
}, M2.__scopeId = "data-v-0993abf8", M2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
14118
14132
|
var o2 = { components: { BIMDataButton: n2, BIMDataCheckbox: t2, BIMDataIconChevron: r2 }, props: { columns: { type: Array, required: !0 }, rows: { type: Array, required: !0 }, rowKey: { type: String }, rowHeight: { type: Number, default: 50 }, selectable: { type: Boolean, default: !1 }, selection: { type: Map, default: () => /* @__PURE__ */ new Map() }, paginated: { type: Boolean, default: !1 }, perPage: { type: Number, default: 10 }, placeholder: { type: String, default: "" }, tableWidth: { type: String, default: "100%" }, tableLayout: { type: String, default: "auto" } }, emits: ["update:selection", "selection-changed", "row-selected", "row-deselected", "all-selected", "all-deselected"], setup(e, { emit: n }) {
|
|
14119
|
-
const a =
|
|
14120
|
-
var
|
|
14121
|
-
return { key: (
|
|
14122
|
-
})), { rowSelection: l, toggleRowSelection: s, toggleFullSelection: i } = function(f, h, { rowSelectionUpdateEffect:
|
|
14123
|
-
}, rowSelectionToggleEffect:
|
|
14124
|
-
}, fullSelectionToggleEffect:
|
|
14133
|
+
const a = O(() => e.rows.map((f, h) => {
|
|
14134
|
+
var m;
|
|
14135
|
+
return { key: (m = f[e.rowKey]) != null ? m : h, data: f };
|
|
14136
|
+
})), { rowSelection: l, toggleRowSelection: s, toggleFullSelection: i } = function(f, h, { rowSelectionUpdateEffect: m = () => {
|
|
14137
|
+
}, rowSelectionToggleEffect: I = () => {
|
|
14138
|
+
}, fullSelectionToggleEffect: M = () => {
|
|
14125
14139
|
} } = {}) {
|
|
14126
|
-
const y =
|
|
14127
|
-
return
|
|
14140
|
+
const y = B(/* @__PURE__ */ new Map());
|
|
14141
|
+
return n1(f, () => {
|
|
14128
14142
|
y.value = new Map(f.value.filter(({ key: w }) => h.value.has(w)).map(({ key: w, data: E }) => [w, E]));
|
|
14129
|
-
}, { immediate: !0 }),
|
|
14143
|
+
}, { immediate: !0 }), n1(h, () => {
|
|
14130
14144
|
y.value = h.value;
|
|
14131
|
-
}, { immediate: !0 }),
|
|
14132
|
-
|
|
14145
|
+
}, { immediate: !0 }), n1(y, () => {
|
|
14146
|
+
m(y.value);
|
|
14133
14147
|
}), { rowSelection: y, toggleRowSelection: ({ key: w, data: E }) => {
|
|
14134
14148
|
const S = () => y.value.has(w);
|
|
14135
|
-
S() ? y.value.delete(w) : y.value.set(w, E), y.value = new Map([...y.value.entries()]),
|
|
14149
|
+
S() ? y.value.delete(w) : y.value.set(w, E), y.value = new Map([...y.value.entries()]), I(S(), { key: w, data: E });
|
|
14136
14150
|
}, toggleFullSelection: () => {
|
|
14137
14151
|
const w = () => y.value.size === f.value.length;
|
|
14138
|
-
w() ? y.value = /* @__PURE__ */ new Map() : y.value = new Map(f.value.map(({ key: E, data: S }) => [E, S])),
|
|
14152
|
+
w() ? y.value = /* @__PURE__ */ new Map() : y.value = new Map(f.value.map(({ key: E, data: S }) => [E, S])), M(w());
|
|
14139
14153
|
} };
|
|
14140
|
-
}(a,
|
|
14154
|
+
}(a, O(() => e.selection), { rowSelectionUpdateEffect: (f) => {
|
|
14141
14155
|
n("update:selection", f), n("selection-changed", Array.from(f.values()));
|
|
14142
14156
|
}, rowSelectionToggleEffect: (f, { data: h }) => {
|
|
14143
14157
|
n(f ? "row-selected" : "row-deselected", h);
|
|
14144
14158
|
}, fullSelectionToggleEffect: (f) => {
|
|
14145
14159
|
n(f ? "all-selected" : "all-deselected");
|
|
14146
|
-
} }), c =
|
|
14147
|
-
return
|
|
14160
|
+
} }), c = B([]), u = B(0), d = B(1), C = B(e.perPage);
|
|
14161
|
+
return n1([a, () => e.perPage], () => {
|
|
14148
14162
|
u.value = 0;
|
|
14149
|
-
}, { immediate: !0 }),
|
|
14150
|
-
const
|
|
14163
|
+
}, { immediate: !0 }), n1([a, () => e.paginated, () => e.perPage, u], ([f, h, m, I]) => {
|
|
14164
|
+
const M = f.map((y) => y.key);
|
|
14151
14165
|
if (h) {
|
|
14152
|
-
const y =
|
|
14153
|
-
c.value =
|
|
14166
|
+
const y = m * I, w = y + m;
|
|
14167
|
+
c.value = M.slice(y, w), d.value = y + 1, C.value = Math.min(w, f.length);
|
|
14154
14168
|
} else
|
|
14155
|
-
c.value =
|
|
14169
|
+
c.value = M;
|
|
14156
14170
|
}, { immediate: !0 }), { computedRows: a, displayedRows: c, pageIndex: u, pageIndexEnd: C, pageIndexStart: d, rowSelection: l, toggleAll: () => {
|
|
14157
14171
|
e.selectable && i();
|
|
14158
14172
|
}, toggleRow: (f) => {
|
|
@@ -14297,7 +14311,7 @@ html[data-v-a29e0786] {
|
|
|
14297
14311
|
margin: 0 var(--spacing-unit);
|
|
14298
14312
|
}`), o2.render = function(e, n, a, l, s, i) {
|
|
14299
14313
|
const c = g("BIMDataCheckbox"), u = g("BIMDataIconChevron"), d = g("BIMDataButton");
|
|
14300
|
-
return r(), o("div", bM, [t("div", { class: "bimdata-table__container", style: H({ height: a.paginated ? (a.perPage + 1) * a.rowHeight + "px" : void 0 }) }, [t("table", { style: H({ width: a.tableWidth, tableLayout: a.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: H({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), o("th", gM, [p(c, { disabled: a.rows.length === 0, modelValue: a.rows.length > 0 && l.rowSelection.size === a.rows.length, "onUpdate:modelValue": l.toggleAll }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : v("v-if", !0), (r(!0), o(R, null, U(a.columns, (C, f) => (r(), o("th", { key: `head-row-0-col-${f}`, style: H({ width: C.width || "auto", textAlign: C.align || "left" }) }, b(C.id ? C.label || C.id : C), 5))), 128))], 4), t("tr", fM, [t("th", { class: "cell-sub-header", colspan: a.columns.length + a.selectable }, [_(e.$slots, "sub-header")], 8, LM)])]), t("tbody", null, [(r(!0), o(R, null, U(l.computedRows, ({ key: C, data: f }) => X((r(), o("tr", { key: `body-row-${C}`, style: H({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), o("td", vM, [p(c, { modelValue: l.rowSelection.has(C), "onUpdate:modelValue": (h) => l.toggleRow({ key: C, data: f }) }, null, 8, ["modelValue", "onUpdate:modelValue"])])) : v("v-if", !0), (r(!0), o(R, null, U(a.columns, (h,
|
|
14314
|
+
return r(), o("div", bM, [t("div", { class: "bimdata-table__container", style: H({ height: a.paginated ? (a.perPage + 1) * a.rowHeight + "px" : void 0 }) }, [t("table", { style: H({ width: a.tableWidth, tableLayout: a.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: H({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), o("th", gM, [p(c, { disabled: a.rows.length === 0, modelValue: a.rows.length > 0 && l.rowSelection.size === a.rows.length, "onUpdate:modelValue": l.toggleAll }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : v("v-if", !0), (r(!0), o(R, null, U(a.columns, (C, f) => (r(), o("th", { key: `head-row-0-col-${f}`, style: H({ width: C.width || "auto", textAlign: C.align || "left" }) }, b(C.id ? C.label || C.id : C), 5))), 128))], 4), t("tr", fM, [t("th", { class: "cell-sub-header", colspan: a.columns.length + a.selectable }, [_(e.$slots, "sub-header")], 8, LM)])]), t("tbody", null, [(r(!0), o(R, null, U(l.computedRows, ({ key: C, data: f }) => X((r(), o("tr", { key: `body-row-${C}`, style: H({ height: `${a.rowHeight}px` }) }, [a.selectable ? (r(), o("td", vM, [p(c, { modelValue: l.rowSelection.has(C), "onUpdate:modelValue": (h) => l.toggleRow({ key: C, data: f }) }, null, 8, ["modelValue", "onUpdate:modelValue"])])) : v("v-if", !0), (r(!0), o(R, null, U(a.columns, (h, m) => (r(), o("td", { key: `body-row-${C}-col-${m}`, style: H({ width: h.width || "auto", textAlign: h.align || "left" }) }, [_(e.$slots, `cell-${h.id}`, { row: f }, () => [A(b(f[h.id || m]), 1)])], 4))), 128))], 4)), [[q, l.displayedRows.includes(C)]])), 128))])], 4), a.rows.length === 0 ? (r(), o("div", { key: 0, class: "bimdata-table__container__placeholder", style: H({ height: `calc(100% - ${a.rowHeight}px)` }) }, [_(e.$slots, "placeholder", {}, () => [A(b(a.placeholder), 1)])], 4)) : v("v-if", !0)], 4), a.paginated ? (r(), o("div", { key: 0, class: "bimdata-table__page-nav", style: H({ visibility: a.rows.length > a.perPage ? "visible" : "hidden" }) }, [p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexStart === 1, onClick: n[0] || (n[0] = (C) => l.pageIndex--) }, { default: L(() => [p(u, { size: "s", rotate: 180 })]), _: 1 }, 8, ["disabled"]), t("span", mM, b(`${l.pageIndexStart} - ${l.pageIndexEnd} / ${a.rows.length}`), 1), p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexEnd === a.rows.length, onClick: n[1] || (n[1] = (C) => l.pageIndex++) }, { default: L(() => [p(u, { size: "s" })]), _: 1 }, 8, ["disabled"])], 4)) : v("v-if", !0)]);
|
|
14301
14315
|
}, o2.__scopeId = "data-v-a29e0786", o2.__file = "src/BIMDataComponents/BIMDataTable/BIMDataTable.vue";
|
|
14302
14316
|
const MM = {
|
|
14303
14317
|
components: {
|
|
@@ -14333,7 +14347,7 @@ function _M(e, n, a, l, s, i) {
|
|
|
14333
14347
|
})
|
|
14334
14348
|
]);
|
|
14335
14349
|
}
|
|
14336
|
-
const yM = /* @__PURE__ */
|
|
14350
|
+
const yM = /* @__PURE__ */ F(MM, [["render", _M], ["__scopeId", "data-v-ddc03e0d"]]);
|
|
14337
14351
|
const HM = {
|
|
14338
14352
|
props: {
|
|
14339
14353
|
detailedExtensions: {
|
|
@@ -14347,7 +14361,7 @@ const HM = {
|
|
|
14347
14361
|
},
|
|
14348
14362
|
setup(e) {
|
|
14349
14363
|
return {
|
|
14350
|
-
priorityColor:
|
|
14364
|
+
priorityColor: O(
|
|
14351
14365
|
() => v1(e.topic, e.detailedExtensions)
|
|
14352
14366
|
)
|
|
14353
14367
|
};
|
|
@@ -14362,7 +14376,7 @@ function BM(e, n, a, l, s, i) {
|
|
|
14362
14376
|
t("span", DM, b(a.topic.index), 1)
|
|
14363
14377
|
]);
|
|
14364
14378
|
}
|
|
14365
|
-
const kM = /* @__PURE__ */
|
|
14379
|
+
const kM = /* @__PURE__ */ F(HM, [["render", BM], ["__scopeId", "data-v-2afda176"]]);
|
|
14366
14380
|
const xM = {
|
|
14367
14381
|
props: {
|
|
14368
14382
|
detailedExtensions: {
|
|
@@ -14376,7 +14390,7 @@ const xM = {
|
|
|
14376
14390
|
},
|
|
14377
14391
|
setup(e) {
|
|
14378
14392
|
return {
|
|
14379
|
-
priorityColor:
|
|
14393
|
+
priorityColor: O(
|
|
14380
14394
|
() => v1(e.topic, e.detailedExtensions)
|
|
14381
14395
|
)
|
|
14382
14396
|
};
|
|
@@ -14388,7 +14402,7 @@ function wM(e, n, a, l, s, i) {
|
|
|
14388
14402
|
style: H({ color: `#${l.priorityColor}` })
|
|
14389
14403
|
}, b(a.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
|
|
14390
14404
|
}
|
|
14391
|
-
const ZM = /* @__PURE__ */
|
|
14405
|
+
const ZM = /* @__PURE__ */ F(xM, [["render", wM], ["__scopeId", "data-v-1d15fcf6"]]);
|
|
14392
14406
|
const SM = {
|
|
14393
14407
|
props: {
|
|
14394
14408
|
detailedExtensions: {
|
|
@@ -14402,7 +14416,7 @@ const SM = {
|
|
|
14402
14416
|
},
|
|
14403
14417
|
setup(e) {
|
|
14404
14418
|
return {
|
|
14405
|
-
statusColor:
|
|
14419
|
+
statusColor: O(
|
|
14406
14420
|
() => Y2(e.topic, e.detailedExtensions)
|
|
14407
14421
|
),
|
|
14408
14422
|
adjustTextColor: s2
|
|
@@ -14418,7 +14432,7 @@ function AM(e, n, a, l, s, i) {
|
|
|
14418
14432
|
})
|
|
14419
14433
|
}, b(a.topic.topic_status), 5);
|
|
14420
14434
|
}
|
|
14421
|
-
const TM = /* @__PURE__ */
|
|
14435
|
+
const TM = /* @__PURE__ */ F(SM, [["render", AM], ["__scopeId", "data-v-c2a5faf4"]]), $M = {
|
|
14422
14436
|
components: {
|
|
14423
14437
|
BcfTopicActionsCell: yM,
|
|
14424
14438
|
BcfTopicIndexCell: kM,
|
|
@@ -14464,7 +14478,7 @@ const TM = /* @__PURE__ */ P(SM, [["render", AM], ["__scopeId", "data-v-c2a5faf4
|
|
|
14464
14478
|
],
|
|
14465
14479
|
setup(e) {
|
|
14466
14480
|
return {
|
|
14467
|
-
displayedColumns:
|
|
14481
|
+
displayedColumns: O(
|
|
14468
14482
|
() => e.columns && e.columns.length > 0 ? L5.filter((l) => e.columns.includes(l.id)) : L5
|
|
14469
14483
|
),
|
|
14470
14484
|
toShortDateFormat: (l) => {
|
|
@@ -14477,13 +14491,13 @@ const TM = /* @__PURE__ */ P(SM, [["render", AM], ["__scopeId", "data-v-c2a5faf4
|
|
|
14477
14491
|
}
|
|
14478
14492
|
};
|
|
14479
14493
|
function NM(e, n, a, l, s, i) {
|
|
14480
|
-
const c = g("BcfTopicIndexCell"), u = g("BcfTopicPriorityCell"), d = g("BcfTopicStatusCell"), C = g("BIMDataTextbox"), f = g("UserAvatar"), h = g("BIMDataTooltip"),
|
|
14481
|
-
return r(), D(
|
|
14494
|
+
const c = g("BcfTopicIndexCell"), u = g("BcfTopicPriorityCell"), d = g("BcfTopicStatusCell"), C = g("BIMDataTextbox"), f = g("UserAvatar"), h = g("BIMDataTooltip"), m = g("BcfTopicActionsCell"), I = g("BIMDataTable");
|
|
14495
|
+
return r(), D(I, {
|
|
14482
14496
|
class: "bcf-topics-table",
|
|
14483
14497
|
tableLayout: "fixed",
|
|
14484
|
-
columns: l.displayedColumns.map((
|
|
14485
|
-
...
|
|
14486
|
-
label:
|
|
14498
|
+
columns: l.displayedColumns.map((M) => ({
|
|
14499
|
+
...M,
|
|
14500
|
+
label: M.label || e.$t(`BcfComponents.BcfTopicsTable.headers.${M.id}`)
|
|
14487
14501
|
})),
|
|
14488
14502
|
rows: a.topics,
|
|
14489
14503
|
rowKey: "guid",
|
|
@@ -14492,38 +14506,38 @@ function NM(e, n, a, l, s, i) {
|
|
|
14492
14506
|
rowHeight: 42,
|
|
14493
14507
|
selectable: a.selectable,
|
|
14494
14508
|
selection: a.selection,
|
|
14495
|
-
"onUpdate:selection": n[1] || (n[1] = (
|
|
14509
|
+
"onUpdate:selection": n[1] || (n[1] = (M) => e.$emit("update:selection", M))
|
|
14496
14510
|
}, {
|
|
14497
|
-
"cell-index": L(({ row:
|
|
14511
|
+
"cell-index": L(({ row: M }) => [
|
|
14498
14512
|
p(c, {
|
|
14499
14513
|
detailedExtensions: a.detailedExtensions,
|
|
14500
|
-
topic:
|
|
14514
|
+
topic: M
|
|
14501
14515
|
}, null, 8, ["detailedExtensions", "topic"])
|
|
14502
14516
|
]),
|
|
14503
|
-
"cell-priority": L(({ row:
|
|
14517
|
+
"cell-priority": L(({ row: M }) => [
|
|
14504
14518
|
p(u, {
|
|
14505
14519
|
detailedExtensions: a.detailedExtensions,
|
|
14506
|
-
topic:
|
|
14520
|
+
topic: M
|
|
14507
14521
|
}, null, 8, ["detailedExtensions", "topic"])
|
|
14508
14522
|
]),
|
|
14509
|
-
"cell-status": L(({ row:
|
|
14510
|
-
|
|
14523
|
+
"cell-status": L(({ row: M }) => [
|
|
14524
|
+
M.topic_status ? (r(), D(d, {
|
|
14511
14525
|
key: 0,
|
|
14512
14526
|
detailedExtensions: a.detailedExtensions,
|
|
14513
|
-
topic:
|
|
14527
|
+
topic: M
|
|
14514
14528
|
}, null, 8, ["detailedExtensions", "topic"])) : v("", !0)
|
|
14515
14529
|
]),
|
|
14516
|
-
"cell-title": L(({ row:
|
|
14530
|
+
"cell-title": L(({ row: M }) => [
|
|
14517
14531
|
p(C, {
|
|
14518
14532
|
maxWidth: "100%",
|
|
14519
|
-
text:
|
|
14533
|
+
text: M.title
|
|
14520
14534
|
}, null, 8, ["text"])
|
|
14521
14535
|
]),
|
|
14522
|
-
"cell-creator": L(({ row: { creator:
|
|
14536
|
+
"cell-creator": L(({ row: { creator: M, creation_author: y } }) => [
|
|
14523
14537
|
p(h, { text: y }, {
|
|
14524
14538
|
default: L(() => [
|
|
14525
14539
|
p(f, {
|
|
14526
|
-
user:
|
|
14540
|
+
user: M || {},
|
|
14527
14541
|
size: 30,
|
|
14528
14542
|
color: "silver-light",
|
|
14529
14543
|
style: { margin: "auto" }
|
|
@@ -14532,19 +14546,19 @@ function NM(e, n, a, l, s, i) {
|
|
|
14532
14546
|
_: 2
|
|
14533
14547
|
}, 1032, ["text"])
|
|
14534
14548
|
]),
|
|
14535
|
-
"cell-date": L(({ row:
|
|
14536
|
-
A(b(l.toShortDateFormat(
|
|
14549
|
+
"cell-date": L(({ row: M }) => [
|
|
14550
|
+
A(b(l.toShortDateFormat(M.creation_date)), 1)
|
|
14537
14551
|
]),
|
|
14538
|
-
"cell-actions": L(({ row:
|
|
14539
|
-
p(
|
|
14540
|
-
topic:
|
|
14552
|
+
"cell-actions": L(({ row: M }) => [
|
|
14553
|
+
p(m, {
|
|
14554
|
+
topic: M,
|
|
14541
14555
|
onOpenTopic: n[0] || (n[0] = (y) => e.$emit("open-topic", y))
|
|
14542
14556
|
}, null, 8, ["topic"])
|
|
14543
14557
|
]),
|
|
14544
14558
|
_: 1
|
|
14545
14559
|
}, 8, ["columns", "rows", "paginated", "perPage", "selectable", "selection"]);
|
|
14546
14560
|
}
|
|
14547
|
-
const OM = /* @__PURE__ */
|
|
14561
|
+
const OM = /* @__PURE__ */ F($M, [["render", NM]]), YM = {
|
|
14548
14562
|
BcfFilters: b8,
|
|
14549
14563
|
BcfSettings: q8,
|
|
14550
14564
|
BcfStatistics: Re,
|