@bimdata/bcf-components 3.1.0-rc.5 → 3.1.0-rc.6
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 +982 -946
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +673 -653
- package/dist/vue3/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as R5, computed as R, ref as
|
|
2
|
+
import { reactive as R5, computed as R, ref as B, watch as n1, openBlock as r, createElementBlock as a, normalizeClass as V, normalizeStyle as y, renderSlot as _, createElementVNode as t, createBlock as D, resolveDynamicComponent as u1, pushScopeId as l1, popScopeId as i1, mergeProps as E2, toDisplayString as b, createCommentVNode as v, createTextVNode as Z, resolveComponent as g, createVNode as p, resolveDirective as l2, withDirectives as X, Transition as t1, withCtx as f, Fragment as O, renderList as U, vShow as q, toRaw as e5, withKeys as x, withModifiers as w, createSlots as m5, createStaticVNode as I5, inject as E5 } from "vue";
|
|
3
3
|
const M5 = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -21,43 +21,43 @@ const M5 = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}), F2 = "D8D8D8", D5 = "D8D8D8", P2 = "originating_system", U2 = "authoring_tool_id",
|
|
24
|
+
}), F2 = "D8D8D8", D5 = "D8D8D8", P2 = "originating_system", U2 = "authoring_tool_id", b1 = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
PTC: "pointCloud",
|
|
27
27
|
V2D: "ifc2d",
|
|
28
28
|
DWG: "dwg",
|
|
29
29
|
PLAN: "plan"
|
|
30
30
|
}), z2 = Object.freeze({
|
|
31
|
-
[
|
|
31
|
+
[b1.V3D]: {
|
|
32
32
|
order: 1,
|
|
33
33
|
window: "3d",
|
|
34
34
|
plugin: "viewer3d",
|
|
35
35
|
icon: "fileIfcPolychrome"
|
|
36
36
|
},
|
|
37
|
-
[
|
|
37
|
+
[b1.PTC]: {
|
|
38
38
|
order: 2,
|
|
39
39
|
window: "pointCloud",
|
|
40
40
|
plugin: "pointCloud"
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[b1.V2D]: {
|
|
43
43
|
order: 3,
|
|
44
44
|
window: "2d",
|
|
45
45
|
plugin: "viewer2d",
|
|
46
46
|
icon: "fileIfcPolychrome"
|
|
47
47
|
},
|
|
48
|
-
[
|
|
48
|
+
[b1.DWG]: {
|
|
49
49
|
order: 4,
|
|
50
50
|
window: "dwg",
|
|
51
51
|
plugin: "dwg",
|
|
52
52
|
icon: "fileDwgPolychrome"
|
|
53
53
|
},
|
|
54
|
-
[
|
|
54
|
+
[b1.PLAN]: {
|
|
55
55
|
order: 5,
|
|
56
56
|
window: "plan",
|
|
57
57
|
plugin: "plan",
|
|
58
58
|
icon: "filePlanPolychrome"
|
|
59
59
|
}
|
|
60
|
-
}),
|
|
60
|
+
}), sI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61
61
|
__proto__: null,
|
|
62
62
|
DEFAULT_PRIORITY_COLOR: F2,
|
|
63
63
|
DEFAULT_STATUS_COLOR: D5,
|
|
@@ -67,7 +67,7 @@ const M5 = Object.freeze([
|
|
|
67
67
|
EXTENSION_WITH_COLOR: _5,
|
|
68
68
|
VIEWPOINT_CONFIG: z2,
|
|
69
69
|
VIEWPOINT_MODELS_FIELD: U2,
|
|
70
|
-
VIEWPOINT_TYPES:
|
|
70
|
+
VIEWPOINT_TYPES: b1,
|
|
71
71
|
VIEWPOINT_TYPE_FIELD: P2
|
|
72
72
|
}, Symbol.toStringTag, { value: "Module" })), F5 = Object.freeze({
|
|
73
73
|
bisque: "ffe4c4",
|
|
@@ -166,34 +166,34 @@ var D2 = { exports: {} };
|
|
|
166
166
|
value: !0
|
|
167
167
|
}), n.default = L;
|
|
168
168
|
var o = H2.exports, l = c(o), s = D2.exports, i = c(s);
|
|
169
|
-
function c(
|
|
170
|
-
return
|
|
169
|
+
function c(h) {
|
|
170
|
+
return h && h.__esModule ? h : { default: h };
|
|
171
171
|
}
|
|
172
|
-
function u(
|
|
173
|
-
var
|
|
172
|
+
function u(h) {
|
|
173
|
+
var m = -1, M = h.length;
|
|
174
174
|
return function() {
|
|
175
|
-
return ++
|
|
175
|
+
return ++m < M ? { value: h[m], key: m } : null;
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
|
-
function d(
|
|
179
|
-
var
|
|
178
|
+
function d(h) {
|
|
179
|
+
var m = -1;
|
|
180
180
|
return function() {
|
|
181
|
-
var I =
|
|
182
|
-
return I.done ? null : (
|
|
181
|
+
var I = h.next();
|
|
182
|
+
return I.done ? null : (m++, { value: I.value, key: m });
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
|
-
function C(
|
|
186
|
-
var
|
|
185
|
+
function C(h) {
|
|
186
|
+
var m = h ? Object.keys(h) : [], M = -1, I = m.length;
|
|
187
187
|
return function k() {
|
|
188
|
-
var $ =
|
|
189
|
-
return $ === "__proto__" ? k() :
|
|
188
|
+
var $ = m[++M];
|
|
189
|
+
return $ === "__proto__" ? k() : M < I ? { value: h[$], key: $ } : null;
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
|
-
function L(
|
|
193
|
-
if ((0, l.default)(
|
|
194
|
-
return u(
|
|
195
|
-
var
|
|
196
|
-
return
|
|
192
|
+
function L(h) {
|
|
193
|
+
if ((0, l.default)(h))
|
|
194
|
+
return u(h);
|
|
195
|
+
var m = (0, i.default)(h);
|
|
196
|
+
return m ? d(m) : C(h);
|
|
197
197
|
}
|
|
198
198
|
e.exports = n.default;
|
|
199
199
|
})(y2, y2.exports);
|
|
@@ -212,7 +212,7 @@ var V2 = { exports: {} };
|
|
|
212
212
|
}
|
|
213
213
|
e.exports = n.default;
|
|
214
214
|
})(V2, V2.exports);
|
|
215
|
-
var e1 = {},
|
|
215
|
+
var e1 = {}, T1 = { exports: {} }, B2 = { exports: {} };
|
|
216
216
|
(function(e, n) {
|
|
217
217
|
Object.defineProperty(n, "__esModule", {
|
|
218
218
|
value: !0
|
|
@@ -223,58 +223,58 @@ var e1 = {}, A1 = { exports: {} }, B2 = { exports: {} };
|
|
|
223
223
|
};
|
|
224
224
|
}, e.exports = n.default;
|
|
225
225
|
})(B2, B2.exports);
|
|
226
|
-
var
|
|
227
|
-
Object.defineProperty(
|
|
226
|
+
var s1 = {};
|
|
227
|
+
Object.defineProperty(s1, "__esModule", {
|
|
228
228
|
value: !0
|
|
229
229
|
});
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
var Y5 =
|
|
230
|
+
s1.fallback = V5;
|
|
231
|
+
s1.wrap = B5;
|
|
232
|
+
var Y5 = s1.hasQueueMicrotask = typeof queueMicrotask == "function" && queueMicrotask, W5 = s1.hasSetImmediate = typeof setImmediate == "function" && setImmediate, X5 = s1.hasNextTick = typeof process == "object" && typeof process.nextTick == "function";
|
|
233
233
|
function V5(e) {
|
|
234
234
|
setTimeout(e, 0);
|
|
235
235
|
}
|
|
236
236
|
function B5(e) {
|
|
237
237
|
return (n, ...o) => e(() => n(...o));
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
Y5 ?
|
|
241
|
-
|
|
239
|
+
var M1;
|
|
240
|
+
Y5 ? M1 = queueMicrotask : W5 ? M1 = setImmediate : X5 ? M1 = process.nextTick : M1 = V5;
|
|
241
|
+
s1.default = B5(M1);
|
|
242
242
|
var t5;
|
|
243
243
|
function j5() {
|
|
244
244
|
return t5 || (t5 = 1, function(e, n) {
|
|
245
245
|
Object.defineProperty(n, "__esModule", {
|
|
246
246
|
value: !0
|
|
247
247
|
}), n.default = d;
|
|
248
|
-
var o = B2.exports, l = u(o), s =
|
|
249
|
-
function u(
|
|
250
|
-
return
|
|
248
|
+
var o = B2.exports, l = u(o), s = s1, i = u(s), c = G2();
|
|
249
|
+
function u(h) {
|
|
250
|
+
return h && h.__esModule ? h : { default: h };
|
|
251
251
|
}
|
|
252
|
-
function d(
|
|
253
|
-
return (0, c.isAsync)(
|
|
254
|
-
const
|
|
255
|
-
return C(I,
|
|
256
|
-
} : (0, l.default)(function(
|
|
252
|
+
function d(h) {
|
|
253
|
+
return (0, c.isAsync)(h) ? function(...m) {
|
|
254
|
+
const M = m.pop(), I = h.apply(this, m);
|
|
255
|
+
return C(I, M);
|
|
256
|
+
} : (0, l.default)(function(m, M) {
|
|
257
257
|
var I;
|
|
258
258
|
try {
|
|
259
|
-
I =
|
|
259
|
+
I = h.apply(this, m);
|
|
260
260
|
} catch (k) {
|
|
261
|
-
return
|
|
261
|
+
return M(k);
|
|
262
262
|
}
|
|
263
263
|
if (I && typeof I.then == "function")
|
|
264
|
-
return C(I,
|
|
265
|
-
|
|
264
|
+
return C(I, M);
|
|
265
|
+
M(null, I);
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
function C(
|
|
269
|
-
return
|
|
270
|
-
L(
|
|
271
|
-
}, (
|
|
272
|
-
L(
|
|
268
|
+
function C(h, m) {
|
|
269
|
+
return h.then((M) => {
|
|
270
|
+
L(m, null, M);
|
|
271
|
+
}, (M) => {
|
|
272
|
+
L(m, M && M.message ? M : new Error(M));
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
|
-
function L(
|
|
275
|
+
function L(h, m, M) {
|
|
276
276
|
try {
|
|
277
|
-
|
|
277
|
+
h(m, M);
|
|
278
278
|
} catch (I) {
|
|
279
279
|
(0, i.default)((k) => {
|
|
280
280
|
throw k;
|
|
@@ -282,7 +282,7 @@ function j5() {
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
e.exports = n.default;
|
|
285
|
-
}(
|
|
285
|
+
}(T1, T1.exports)), T1.exports;
|
|
286
286
|
}
|
|
287
287
|
var r5;
|
|
288
288
|
function G2() {
|
|
@@ -311,50 +311,50 @@ function G2() {
|
|
|
311
311
|
}
|
|
312
312
|
return e1.default = c, e1.isAsync = l, e1.isAsyncGenerator = s, e1.isAsyncIterable = i, e1;
|
|
313
313
|
}
|
|
314
|
-
var k2 = { exports: {} },
|
|
314
|
+
var k2 = { exports: {} }, o2 = { exports: {} };
|
|
315
315
|
(function(e, n) {
|
|
316
316
|
Object.defineProperty(n, "__esModule", {
|
|
317
317
|
value: !0
|
|
318
318
|
});
|
|
319
319
|
const o = {};
|
|
320
320
|
n.default = o, e.exports = n.default;
|
|
321
|
-
})(
|
|
321
|
+
})(o2, o2.exports);
|
|
322
322
|
(function(e, n) {
|
|
323
323
|
Object.defineProperty(n, "__esModule", {
|
|
324
324
|
value: !0
|
|
325
325
|
}), n.default = i;
|
|
326
|
-
var o =
|
|
326
|
+
var o = o2.exports, l = s(o);
|
|
327
327
|
function s(c) {
|
|
328
328
|
return c && c.__esModule ? c : { default: c };
|
|
329
329
|
}
|
|
330
330
|
function i(c, u, d, C) {
|
|
331
|
-
let L = !1,
|
|
331
|
+
let L = !1, h = !1, m = !1, M = 0, I = 0;
|
|
332
332
|
function k() {
|
|
333
|
-
|
|
334
|
-
if (!(
|
|
335
|
-
if (
|
|
336
|
-
L = !0,
|
|
333
|
+
M >= u || m || L || (m = !0, c.next().then(({ value: S, done: H }) => {
|
|
334
|
+
if (!(h || L)) {
|
|
335
|
+
if (m = !1, H) {
|
|
336
|
+
L = !0, M <= 0 && C(null);
|
|
337
337
|
return;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
M++, d(S, I, $), I++, k();
|
|
340
340
|
}
|
|
341
341
|
}).catch(P));
|
|
342
342
|
}
|
|
343
343
|
function $(S, H) {
|
|
344
|
-
if (
|
|
344
|
+
if (M -= 1, !h) {
|
|
345
345
|
if (S)
|
|
346
346
|
return P(S);
|
|
347
347
|
if (S === !1) {
|
|
348
|
-
L = !0,
|
|
348
|
+
L = !0, h = !0;
|
|
349
349
|
return;
|
|
350
350
|
}
|
|
351
|
-
if (H === l.default || L &&
|
|
351
|
+
if (H === l.default || L && M <= 0)
|
|
352
352
|
return L = !0, C(null);
|
|
353
353
|
k();
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
function P(S) {
|
|
357
|
-
|
|
357
|
+
h || (m = !1, L = !0, C(S));
|
|
358
358
|
}
|
|
359
359
|
k();
|
|
360
360
|
}
|
|
@@ -364,8 +364,8 @@ var k2 = { exports: {} }, r2 = { exports: {} };
|
|
|
364
364
|
Object.defineProperty(n, "__esModule", {
|
|
365
365
|
value: !0
|
|
366
366
|
});
|
|
367
|
-
var o = _2.exports, l =
|
|
368
|
-
function
|
|
367
|
+
var o = _2.exports, l = M(o), s = y2.exports, i = M(s), c = V2.exports, u = M(c), d = G2(), C = k2.exports, L = M(C), h = o2.exports, m = M(h);
|
|
368
|
+
function M(I) {
|
|
369
369
|
return I && I.__esModule ? I : { default: I };
|
|
370
370
|
}
|
|
371
371
|
n.default = (I) => (k, $, P) => {
|
|
@@ -378,26 +378,26 @@ var k2 = { exports: {} }, r2 = { exports: {} };
|
|
|
378
378
|
if ((0, d.isAsyncIterable)(k))
|
|
379
379
|
return (0, L.default)(k[Symbol.asyncIterator](), I, $, P);
|
|
380
380
|
var S = (0, i.default)(k), H = !1, A = !1, T = 0, E = !1;
|
|
381
|
-
function Y(
|
|
381
|
+
function Y(r1, N) {
|
|
382
382
|
if (!A)
|
|
383
|
-
if (T -= 1,
|
|
384
|
-
H = !0, P(
|
|
385
|
-
else if (
|
|
383
|
+
if (T -= 1, r1)
|
|
384
|
+
H = !0, P(r1);
|
|
385
|
+
else if (r1 === !1)
|
|
386
386
|
H = !0, A = !0;
|
|
387
387
|
else {
|
|
388
|
-
if (N ===
|
|
388
|
+
if (N === m.default || H && T <= 0)
|
|
389
389
|
return H = !0, P(null);
|
|
390
390
|
E || Q();
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
function Q() {
|
|
394
394
|
for (E = !0; T < I && !H; ) {
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
395
|
+
var r1 = S();
|
|
396
|
+
if (r1 === null) {
|
|
397
397
|
H = !0, T <= 0 && P(null);
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
400
|
-
T += 1, $(
|
|
400
|
+
T += 1, $(r1.value, r1.key, (0, u.default)(Y));
|
|
401
401
|
}
|
|
402
402
|
E = !1;
|
|
403
403
|
}
|
|
@@ -440,22 +440,22 @@ var w2 = { exports: {} };
|
|
|
440
440
|
value: !0
|
|
441
441
|
});
|
|
442
442
|
var o = M2.exports, l = L(o), s = x2.exports, i = L(s), c = G2(), u = L(c), d = w2.exports, C = L(d);
|
|
443
|
-
function L(
|
|
444
|
-
return
|
|
443
|
+
function L(m) {
|
|
444
|
+
return m && m.__esModule ? m : { default: m };
|
|
445
445
|
}
|
|
446
|
-
function
|
|
447
|
-
return (0, l.default)(
|
|
446
|
+
function h(m, M, I, k) {
|
|
447
|
+
return (0, l.default)(M)(m, (0, i.default)((0, u.default)(I)), k);
|
|
448
448
|
}
|
|
449
|
-
n.default = (0, C.default)(
|
|
449
|
+
n.default = (0, C.default)(h, 4), e.exports = n.default;
|
|
450
450
|
})(I2, I2.exports);
|
|
451
451
|
const K5 = /* @__PURE__ */ G5(I2.exports);
|
|
452
|
-
function
|
|
452
|
+
function g1(e) {
|
|
453
453
|
return y5[e];
|
|
454
454
|
}
|
|
455
455
|
function k5(e, n) {
|
|
456
456
|
return n[H5[e]];
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function v1(e, n) {
|
|
459
459
|
const o = n.priorities.find(
|
|
460
460
|
(l) => l.priority === e.priority
|
|
461
461
|
);
|
|
@@ -468,13 +468,13 @@ function Y2(e, n) {
|
|
|
468
468
|
return (o == null ? void 0 : o.color) || D5;
|
|
469
469
|
}
|
|
470
470
|
let x5 = null;
|
|
471
|
-
function
|
|
471
|
+
function cI(e, { fetchUsers: n }) {
|
|
472
472
|
const o = n ? (H) => n(H) : (H) => e.collaborationApi.getProjectUsers(H.cloud.id, H.id);
|
|
473
473
|
return {
|
|
474
474
|
fetchTopics: async (H) => {
|
|
475
475
|
const A = await o(H), T = await e.bcfApi.getDetailedExtensions(H.id), E = await e.bcfApi.getTopics(H.id);
|
|
476
476
|
return E.sort((Y, Q) => Q.index - Y.index), await K5(E, 10, async (Y) => {
|
|
477
|
-
Y.color =
|
|
477
|
+
Y.color = v1(Y, T), Y.creator = A.find((Q) => Q.email === Y.creation_author), Y.viewpoints = await e.bcfApi.getTopicViewpoints(
|
|
478
478
|
H.id,
|
|
479
479
|
Y.guid,
|
|
480
480
|
"url"
|
|
@@ -483,7 +483,7 @@ function iI(e, { fetchUsers: n }) {
|
|
|
483
483
|
},
|
|
484
484
|
fecthTopicByGuid: async (H, A) => {
|
|
485
485
|
const T = await e.bcfApi.getDetailedExtensions(H.id), E = await e.bcfApi.getFullTopic(A, H.id, "url");
|
|
486
|
-
return E.color =
|
|
486
|
+
return E.color = v1(E, T), E;
|
|
487
487
|
},
|
|
488
488
|
createTopic: async (H, A) => await e.bcfApi.createFullTopic(
|
|
489
489
|
H.id,
|
|
@@ -543,7 +543,7 @@ function iI(e, { fetchUsers: n }) {
|
|
|
543
543
|
createExtension: async (H, A, T) => await e.bcfApi[`createExtension${A}`](
|
|
544
544
|
H.id,
|
|
545
545
|
{
|
|
546
|
-
[
|
|
546
|
+
[g1(A)]: T.value,
|
|
547
547
|
color: U5()
|
|
548
548
|
}
|
|
549
549
|
),
|
|
@@ -551,7 +551,7 @@ function iI(e, { fetchUsers: n }) {
|
|
|
551
551
|
T.id,
|
|
552
552
|
H.id,
|
|
553
553
|
{
|
|
554
|
-
[
|
|
554
|
+
[g1(A)]: E.value,
|
|
555
555
|
color: E.color
|
|
556
556
|
}
|
|
557
557
|
),
|
|
@@ -563,10 +563,10 @@ function iI(e, { fetchUsers: n }) {
|
|
|
563
563
|
}
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function dI(e) {
|
|
567
567
|
x5 = e;
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function w1() {
|
|
570
570
|
return x5;
|
|
571
571
|
}
|
|
572
572
|
const o5 = {
|
|
@@ -607,9 +607,9 @@ const J5 = [
|
|
|
607
607
|
"assigned_to",
|
|
608
608
|
"description"
|
|
609
609
|
];
|
|
610
|
-
function
|
|
611
|
-
const n =
|
|
612
|
-
return
|
|
610
|
+
function uI(e) {
|
|
611
|
+
const n = B(""), o = B([]);
|
|
612
|
+
return n1(
|
|
613
613
|
[e, n],
|
|
614
614
|
() => {
|
|
615
615
|
if (n.value) {
|
|
@@ -629,10 +629,10 @@ function cI(e) {
|
|
|
629
629
|
};
|
|
630
630
|
}
|
|
631
631
|
function C2(e, n = (o) => o) {
|
|
632
|
-
const o =
|
|
632
|
+
const o = B(e), l = (c = "asc") => {
|
|
633
633
|
const u = o.value.slice().sort((d, C) => n(d) < n(C) ? -1 : 1);
|
|
634
634
|
c === "desc" && u.reverse(), o.value = u;
|
|
635
|
-
}, s =
|
|
635
|
+
}, s = B("none");
|
|
636
636
|
return {
|
|
637
637
|
sortOrder: s,
|
|
638
638
|
sortToggle: () => {
|
|
@@ -640,8 +640,8 @@ function C2(e, n = (o) => o) {
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
}
|
|
643
|
-
function
|
|
644
|
-
const { sortToggle: n, sortOrder: o } = C2(e, (
|
|
643
|
+
function CI(e) {
|
|
644
|
+
const { sortToggle: n, sortOrder: o } = C2(e, (h) => h.index), { sortToggle: l, sortOrder: s } = C2(e, (h) => h.title), { sortToggle: i, sortOrder: c } = C2(e, (h) => h.creation_date), u = B("");
|
|
645
645
|
return {
|
|
646
646
|
sortedBy: u,
|
|
647
647
|
sortByIndex: () => {
|
|
@@ -661,7 +661,7 @@ function dI(e) {
|
|
|
661
661
|
function Q5(e) {
|
|
662
662
|
return e[P2];
|
|
663
663
|
}
|
|
664
|
-
function
|
|
664
|
+
function pI(e) {
|
|
665
665
|
var n, o;
|
|
666
666
|
return (o = (n = e[U2]) == null ? void 0 : n.split(",").map(Number)) != null ? o : [];
|
|
667
667
|
}
|
|
@@ -1625,10 +1625,10 @@ Z5(`.icon-fill--black {
|
|
|
1625
1625
|
.icon-stroke--white {
|
|
1626
1626
|
stroke: var(--color-white);
|
|
1627
1627
|
}`), j.render = function(e, n, o, l, s, i) {
|
|
1628
|
-
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(
|
|
1628
|
+
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(u1(`bimdata-icon-${o.name}`)))], 14, Ie);
|
|
1629
1629
|
}, j.__scopeId = "data-v-1312d4d1", j.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
1630
1630
|
let i5 = 0;
|
|
1631
|
-
var
|
|
1631
|
+
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() {
|
|
1632
1632
|
return { margin: `${this.margin}` };
|
|
1633
1633
|
} }, beforeCreate() {
|
|
1634
1634
|
this.uuid = i5.toString(), i5 += 1;
|
|
@@ -1642,7 +1642,7 @@ var s1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { m
|
|
|
1642
1642
|
}, blur() {
|
|
1643
1643
|
this.$refs.input && this.$refs.input.blur();
|
|
1644
1644
|
} } };
|
|
1645
|
-
const Me = ["id", "disabled", "value", "autocomplete"], _e = { class: "bimdata-input__icon" }, ye = ["for"], He = ((e) => (
|
|
1645
|
+
const Me = ["id", "disabled", "value", "autocomplete"], _e = { class: "bimdata-input__icon" }, ye = ["for"], He = ((e) => (l1("data-v-5d42d486"), e = e(), i1(), e))(() => t("span", { class: "bar" }, null, -1)), De = { key: 0, class: "error" }, Ve = { key: 1, class: "success" };
|
|
1646
1646
|
function S5(e, n) {
|
|
1647
1647
|
n === void 0 && (n = {});
|
|
1648
1648
|
var o = n.insertAt;
|
|
@@ -1835,8 +1835,7 @@ S5(`@-webkit-keyframes scaleX {
|
|
|
1835
1835
|
transform: scaleX(0);
|
|
1836
1836
|
left: 50%;
|
|
1837
1837
|
}
|
|
1838
|
-
}
|
|
1839
|
-
@keyframes scaleX {
|
|
1838
|
+
}@keyframes scaleX {
|
|
1840
1839
|
0% {
|
|
1841
1840
|
-webkit-transform: scaleX(0);
|
|
1842
1841
|
transform: scaleX(0);
|
|
@@ -1981,11 +1980,11 @@ input:-webkit-autofill {
|
|
|
1981
1980
|
}
|
|
1982
1981
|
.bimdata-input.success .bar::before, .bimdata-input.success .bar::after {
|
|
1983
1982
|
background-color: var(--color-success);
|
|
1984
|
-
}`),
|
|
1983
|
+
}`), c1.render = function(e, n, o, l, s, i) {
|
|
1985
1984
|
return r(), a("div", { class: V(["bimdata-input", { error: o.error, success: o.success, disabled: o.disabled, loading: o.loading, "not-empty": !!o.modelValue }]), style: y(i.style) }, [t("input", E2({ ref: "input", id: `bimdata-input-${e.uuid}`, onInput: n[0] || (n[0] = (c) => e.$emit("update:modelValue", c.currentTarget.value)), disabled: o.disabled, value: o.modelValue, onFocus: n[1] || (n[1] = (c) => {
|
|
1986
1985
|
c.target.select(), e.$emit("focus", c);
|
|
1987
|
-
}), 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: o.autocomplete ? "on" : "off" }, e.$attrs), null, 16, Me), t("div", _e, [_(e.$slots, "inputIcon")]), t("label", { for: `bimdata-input-${e.uuid}` },
|
|
1988
|
-
},
|
|
1986
|
+
}), 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: o.autocomplete ? "on" : "off" }, e.$attrs), null, 16, Me), t("div", _e, [_(e.$slots, "inputIcon")]), t("label", { for: `bimdata-input-${e.uuid}` }, b(o.placeholder), 9, ye), He, o.error ? (r(), a("span", De, b(o.errorMessage), 1)) : v("v-if", !0), o.success ? (r(), a("span", Ve, b(o.successMessage), 1)) : v("v-if", !0)], 6);
|
|
1987
|
+
}, c1.__scopeId = "data-v-5d42d486", c1.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
|
|
1989
1988
|
var A5 = { beforeMount(e, n) {
|
|
1990
1989
|
if (typeof n.value != "function")
|
|
1991
1990
|
throw Error("click away directive needs function, got " + typeof n.value);
|
|
@@ -1994,7 +1993,7 @@ var A5 = { beforeMount(e, n) {
|
|
|
1994
1993
|
}, window.addEventListener(n.arg || "click", e.clickAwayHandler, !0);
|
|
1995
1994
|
}, unmounted(e, n) {
|
|
1996
1995
|
window.removeEventListener(n.arg || "click", e.clickAwayHandler, !0), delete e.clickAwayHandler;
|
|
1997
|
-
} },
|
|
1996
|
+
} }, $1 = { 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() {
|
|
1998
1997
|
return this.modelValue === null;
|
|
1999
1998
|
}, checked() {
|
|
2000
1999
|
return this.modelValue === !0 || this.indeterminate;
|
|
@@ -2003,7 +2002,7 @@ var A5 = { beforeMount(e, n) {
|
|
|
2003
2002
|
} }, methods: { onClick() {
|
|
2004
2003
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
2005
2004
|
} } };
|
|
2006
|
-
const Be = ((e) => (
|
|
2005
|
+
const Be = ((e) => (l1("data-v-34d34265"), e = e(), i1(), e))(() => t("span", { class: "bimdata-checkbox__mark" }, null, -1)), ke = { key: 0, class: "bimdata-checkbox__text" };
|
|
2007
2006
|
function J(e, n) {
|
|
2008
2007
|
n === void 0 && (n = {});
|
|
2009
2008
|
var o = n.insertAt;
|
|
@@ -2257,9 +2256,9 @@ J(`.bimdata-checkbox {
|
|
|
2257
2256
|
}
|
|
2258
2257
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
2259
2258
|
background-color: var(--color-silver-dark);
|
|
2260
|
-
}`),
|
|
2261
|
-
return r(), a("div", { class: V(["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: o.disabled, checked: i.checked }]), onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: y(i.style) }, [Be, o.text ? (r(), a("span", ke, [_(e.$slots, "default", {}, () => [Z(
|
|
2262
|
-
},
|
|
2259
|
+
}`), $1.render = function(e, n, o, l, s, i) {
|
|
2260
|
+
return r(), a("div", { class: V(["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: o.disabled, checked: i.checked }]), onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: y(i.style) }, [Be, o.text ? (r(), a("span", ke, [_(e.$slots, "default", {}, () => [Z(b(o.text), 1)])])) : v("v-if", !0)], 6);
|
|
2261
|
+
}, $1.__scopeId = "data-v-34d34265", $1.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
2263
2262
|
const xe = { "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" }, we = { render: function(e, n) {
|
|
2264
2263
|
return r(), a("path", xe);
|
|
2265
2264
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
@@ -2272,7 +2271,7 @@ var s2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: {
|
|
|
2272
2271
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
2273
2272
|
} }, methods: { getPixelSize() {
|
|
2274
2273
|
return this.customSize ? this.customSize : s5[this.size];
|
|
2275
|
-
} } }),
|
|
2274
|
+
} } }), y1 = s2("Chevron", we);
|
|
2276
2275
|
const Se = ["fill", "color"];
|
|
2277
2276
|
J(`/* base COLORS --------------------------------------------- */
|
|
2278
2277
|
/* colors BRAND */
|
|
@@ -2426,10 +2425,10 @@ J(`.icon-fill--black {
|
|
|
2426
2425
|
}
|
|
2427
2426
|
.icon-stroke--white {
|
|
2428
2427
|
stroke: var(--color-white);
|
|
2429
|
-
}`),
|
|
2428
|
+
}`), y1.render = function(e, n, o, l, s, i) {
|
|
2430
2429
|
const c = g("Chevron");
|
|
2431
2430
|
return r(), a("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: V(e.classes), style: y(e.style) }, [p(c)], 14, Se);
|
|
2432
|
-
},
|
|
2431
|
+
}, y1.__scopeId = "data-v-5e440aca", y1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
2433
2432
|
const Ae = { "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" }, Te = { render: function(e, n) {
|
|
2434
2433
|
return r(), a("path", Ae);
|
|
2435
2434
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
@@ -2913,7 +2912,7 @@ J(`.icon-fill--black {
|
|
|
2913
2912
|
const c = g("Search");
|
|
2914
2913
|
return r(), a("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: V(e.classes), style: y(e.style) }, [p(c)], 14, Pe);
|
|
2915
2914
|
}, b2.__scopeId = "data-v-0993abf8", b2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
2916
|
-
var
|
|
2915
|
+
var N1 = { components: { BIMDataCheckbox: $1, 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() {
|
|
2917
2916
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
2918
2917
|
} }, methods: { toggle() {
|
|
2919
2918
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -2939,7 +2938,7 @@ var $1 = { components: { BIMDataCheckbox: T1, BIMDataIconChevron: _1 }, directiv
|
|
|
2939
2938
|
n = this.modelValue.concat(e);
|
|
2940
2939
|
this.$emit("update:modelValue", n);
|
|
2941
2940
|
} } };
|
|
2942
|
-
const Ue = { class: "bimdata-select__content" }, ze = { class: "bimdata-select__content__label" }, Ge = ((e) => (
|
|
2941
|
+
const Ue = { class: "bimdata-select__content" }, ze = { class: "bimdata-select__content__label" }, Ge = ((e) => (l1("data-v-2c3115dc"), e = e(), i1(), e))(() => t("span", { class: "bimdata-select__content__underline" }, null, -1)), Ye = { class: "bimdata-select__option-list" }, We = ["onClick"];
|
|
2943
2942
|
J(`/* base COLORS --------------------------------------------- */
|
|
2944
2943
|
/* colors BRAND */
|
|
2945
2944
|
/* colors GREY SHADES - NEUTRAL */
|
|
@@ -3120,11 +3119,11 @@ html[data-v-2c3115dc] {
|
|
|
3120
3119
|
}
|
|
3121
3120
|
.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-2c3115dc]:not(.option-group) {
|
|
3122
3121
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3123
|
-
}`),
|
|
3122
|
+
}`), N1.render = function(e, n, o, l, s, i) {
|
|
3124
3123
|
const c = g("BIMDataIconChevron"), u = g("BIMDataCheckbox"), d = l2("clickaway");
|
|
3125
|
-
return X((r(), a("div", { class: V(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue.length > 0 }]), style: y({ width: o.width }) }, [t("div", Ue, [t("div", { class: "bimdata-select__content__value", onClick: n[0] || (n[0] = (...C) => i.toggle && i.toggle(...C)) }, [t("span", null,
|
|
3126
|
-
},
|
|
3127
|
-
var
|
|
3124
|
+
return X((r(), a("div", { class: V(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue.length > 0 }]), style: y({ width: o.width }) }, [t("div", Ue, [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", ze, b(o.label), 1), Ge]), p(t1, { name: "slide-fade-down", persisted: "" }, { default: f(() => [X(t("ul", Ye, [(r(!0), a(O, null, U(o.options, (C, L) => (r(), a("li", { class: V(["bimdata-select__option-list__entry", { selected: i.isSelected(C), disabled: i.isDisabled(C), "option-group": i.isOptionGroup(C) }]), key: L, onClick: (h) => i.onOptionClick(C) }, [i.isOptionGroup(C) ? (r(), a(O, { key: 0 }, [Z(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, We))), 128))], 512), [[q, !o.disabled && s.isOpen]])]), _: 1 })], 6)), [[d, () => s.isOpen = !1]]);
|
|
3125
|
+
}, N1.__scopeId = "data-v-2c3115dc", N1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue";
|
|
3126
|
+
var O1 = { 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() {
|
|
3128
3127
|
return this.optionLabel(this.modelValue);
|
|
3129
3128
|
} }, methods: { toggle() {
|
|
3130
3129
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -3144,7 +3143,7 @@ var N1 = { components: { BIMDataIconChevron: _1 }, directives: { clickaway: A5 }
|
|
|
3144
3143
|
}, onNullValueClick() {
|
|
3145
3144
|
this.$emit("update:modelValue", null), this.isOpen = !1;
|
|
3146
3145
|
} } };
|
|
3147
|
-
const Xe = { class: "bimdata-select__content" }, je = { class: "bimdata-select__content__label" }, Ke = ((e) => (
|
|
3146
|
+
const Xe = { class: "bimdata-select__content" }, je = { class: "bimdata-select__content__label" }, Ke = ((e) => (l1("data-v-41a0d93f"), e = e(), i1(), e))(() => t("span", { class: "bimdata-select__content__underline" }, null, -1)), qe = { class: "bimdata-select__option-list" }, Je = ["onClick"];
|
|
3148
3147
|
J(`/* base COLORS --------------------------------------------- */
|
|
3149
3148
|
/* colors BRAND */
|
|
3150
3149
|
/* colors GREY SHADES - NEUTRAL */
|
|
@@ -3325,23 +3324,23 @@ html[data-v-41a0d93f] {
|
|
|
3325
3324
|
}
|
|
3326
3325
|
.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-41a0d93f]:not(.option-group) {
|
|
3327
3326
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3328
|
-
}`),
|
|
3327
|
+
}`), O1.render = function(e, n, o, l, s, i) {
|
|
3329
3328
|
const c = g("BIMDataIconChevron"), u = l2("clickaway");
|
|
3330
|
-
return X((r(), a("div", { class: V(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue !== void 0 && o.modelValue !== null }]), style: y({ width: o.width }) }, [t("div", Xe, [t("div", { class: "bimdata-select__content__value", onClick: n[0] || (n[0] = (...d) => i.toggle && i.toggle(...d)) }, [t("span", null,
|
|
3331
|
-
},
|
|
3332
|
-
var
|
|
3329
|
+
return X((r(), a("div", { class: V(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue !== void 0 && o.modelValue !== null }]), style: y({ width: o.width }) }, [t("div", Xe, [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", je, b(o.label), 1), Ke]), p(t1, { name: "slide-fade-down", persisted: "" }, { default: f(() => [X(t("ul", qe, [o.nullValue ? (r(), a("li", { key: 0, class: "bimdata-select__option-list__entry", onClick: n[1] || (n[1] = (d) => i.onNullValueClick()) }, b(o.nullLabel || "None"), 1)) : v("v-if", !0), (r(!0), a(O, null, U(o.options, (d, C) => (r(), a("li", { class: V(["bimdata-select__option-list__entry", { selected: i.isSelected(d), disabled: i.isDisabled(d), "option-group": i.isOptionGroup(d) }]), key: C, onClick: (L) => i.onOptionClick(d) }, b(i.optionLabel(d)), 11, Je))), 128))], 512), [[q, !o.disabled && s.isOpen]])]), _: 1 })], 6)), [[u, () => s.isOpen = !1]]);
|
|
3330
|
+
}, O1.__scopeId = "data-v-41a0d93f", O1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue";
|
|
3331
|
+
var a2 = { components: { BIMDataSelectMulti: N1, BIMDataSelectSingle: O1 }, 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() {
|
|
3333
3332
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
3334
3333
|
} } };
|
|
3335
|
-
|
|
3336
|
-
return r(), D(
|
|
3337
|
-
},
|
|
3334
|
+
a2.render = function(e, n, o, l, s, i) {
|
|
3335
|
+
return r(), D(u1(i.selectorComponent), E2(e.$props, { modelValue: o.modelValue, "onUpdate:modelValue": n[0] || (n[0] = (c) => e.$emit("update:modelValue", c)) }), null, 16, ["modelValue"]);
|
|
3336
|
+
}, a2.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelect.vue";
|
|
3338
3337
|
const F = (e, n) => {
|
|
3339
3338
|
const o = e.__vccOpts || e;
|
|
3340
3339
|
for (const [l, s] of n)
|
|
3341
3340
|
o[l] = s;
|
|
3342
3341
|
return o;
|
|
3343
3342
|
};
|
|
3344
|
-
function
|
|
3343
|
+
function I1(e) {
|
|
3345
3344
|
return Array.from(new Set(e)).sort(
|
|
3346
3345
|
(n, o) => n.localeCompare(o, void 0, { sensitivity: "base" })
|
|
3347
3346
|
);
|
|
@@ -3350,8 +3349,8 @@ const Qe = {
|
|
|
3350
3349
|
components: {
|
|
3351
3350
|
BIMDataButton: W,
|
|
3352
3351
|
BIMDataIcon: j,
|
|
3353
|
-
BIMDataInput:
|
|
3354
|
-
BIMDataSelect:
|
|
3352
|
+
BIMDataInput: c1,
|
|
3353
|
+
BIMDataSelect: a2
|
|
3355
3354
|
},
|
|
3356
3355
|
props: {
|
|
3357
3356
|
topics: {
|
|
@@ -3361,28 +3360,28 @@ const Qe = {
|
|
|
3361
3360
|
},
|
|
3362
3361
|
emits: ["submit"],
|
|
3363
3362
|
setup(e, { emit: n }) {
|
|
3364
|
-
const o =
|
|
3363
|
+
const o = B(!1), l = () => o.value = !1, s = () => o.value = !o.value, i = B(null), { filters: c, filteredTopics: u, reset: d } = q5(
|
|
3365
3364
|
R(() => e.topics)
|
|
3366
3365
|
), C = R(
|
|
3367
|
-
() =>
|
|
3366
|
+
() => I1(e.topics.map(($) => $.priority))
|
|
3368
3367
|
), L = R(
|
|
3369
|
-
() =>
|
|
3370
|
-
),
|
|
3371
|
-
() =>
|
|
3372
|
-
), M = R(
|
|
3373
|
-
() => m1(e.topics.map(($) => $.creation_author))
|
|
3368
|
+
() => I1(e.topics.map(($) => $.topic_status))
|
|
3369
|
+
), h = R(
|
|
3370
|
+
() => I1(e.topics.map(($) => $.assigned_to))
|
|
3374
3371
|
), m = R(
|
|
3375
|
-
() =>
|
|
3372
|
+
() => I1(e.topics.map(($) => $.creation_author))
|
|
3373
|
+
), M = R(
|
|
3374
|
+
() => I1(e.topics.flatMap(($) => $.labels))
|
|
3376
3375
|
);
|
|
3377
3376
|
return {
|
|
3378
|
-
creatorOptions:
|
|
3377
|
+
creatorOptions: m,
|
|
3379
3378
|
filters: c,
|
|
3380
3379
|
toDate: i,
|
|
3381
3380
|
isOpen: o,
|
|
3382
3381
|
priorityOptions: C,
|
|
3383
3382
|
statusOptions: L,
|
|
3384
|
-
labelOptions:
|
|
3385
|
-
userOptions:
|
|
3383
|
+
labelOptions: M,
|
|
3384
|
+
userOptions: h,
|
|
3386
3385
|
close: l,
|
|
3387
3386
|
resetFilters: () => {
|
|
3388
3387
|
d(), n("submit", {
|
|
@@ -3420,15 +3419,15 @@ function l0(e, n, o, l, s, i) {
|
|
|
3420
3419
|
color: "default",
|
|
3421
3420
|
margin: "0 6px 0 0"
|
|
3422
3421
|
}),
|
|
3423
|
-
t("span", null,
|
|
3422
|
+
t("span", null, b(e.$t("BcfComponents.BcfFilters.filtersButton")), 1)
|
|
3424
3423
|
]),
|
|
3425
3424
|
_: 1
|
|
3426
3425
|
}, 8, ["disabled", "onClick"]),
|
|
3427
|
-
p(
|
|
3426
|
+
p(t1, { name: "slide-fade-up" }, {
|
|
3428
3427
|
default: f(() => [
|
|
3429
3428
|
X(t("div", n0, [
|
|
3430
3429
|
t("div", t0, [
|
|
3431
|
-
t("div", r0,
|
|
3430
|
+
t("div", r0, b(e.$t("BcfComponents.BcfFilters.filtersTitle")), 1),
|
|
3432
3431
|
p(u, {
|
|
3433
3432
|
color: "primary",
|
|
3434
3433
|
ghost: "",
|
|
@@ -3454,7 +3453,7 @@ function l0(e, n, o, l, s, i) {
|
|
|
3454
3453
|
nullLabel: e.$t("BcfComponents.BcfFilters.undefined"),
|
|
3455
3454
|
options: l.priorityOptions,
|
|
3456
3455
|
modelValue: l.filters.priorities,
|
|
3457
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3456
|
+
"onUpdate:modelValue": n[0] || (n[0] = (h) => l.filters.priorities = h)
|
|
3458
3457
|
}, null, 8, ["label", "nullLabel", "options", "modelValue"]),
|
|
3459
3458
|
p(d, {
|
|
3460
3459
|
width: "100%",
|
|
@@ -3463,14 +3462,14 @@ function l0(e, n, o, l, s, i) {
|
|
|
3463
3462
|
nullLabel: e.$t("BcfComponents.BcfFilters.undefined"),
|
|
3464
3463
|
options: l.statusOptions,
|
|
3465
3464
|
modelValue: l.filters.statuses,
|
|
3466
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
3465
|
+
"onUpdate:modelValue": n[1] || (n[1] = (h) => l.filters.statuses = h)
|
|
3467
3466
|
}, null, 8, ["label", "nullLabel", "options", "modelValue"]),
|
|
3468
3467
|
t("div", o0, [
|
|
3469
3468
|
p(C, {
|
|
3470
3469
|
modelValue: l.filters.startDate,
|
|
3471
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
3470
|
+
"onUpdate:modelValue": n[2] || (n[2] = (h) => l.filters.startDate = h),
|
|
3472
3471
|
value: l.filters.startDate,
|
|
3473
|
-
onToDateChange: n[3] || (n[3] = (
|
|
3472
|
+
onToDateChange: n[3] || (n[3] = (h) => l.filters.endDate = h),
|
|
3474
3473
|
toDate: l.filters.endDate,
|
|
3475
3474
|
clearButton: !0,
|
|
3476
3475
|
width: "100%",
|
|
@@ -3486,7 +3485,7 @@ function l0(e, n, o, l, s, i) {
|
|
|
3486
3485
|
nullLabel: e.$t("BcfComponents.BcfFilters.undefined"),
|
|
3487
3486
|
options: l.userOptions,
|
|
3488
3487
|
modelValue: l.filters.users,
|
|
3489
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
3488
|
+
"onUpdate:modelValue": n[4] || (n[4] = (h) => l.filters.users = h)
|
|
3490
3489
|
}, null, 8, ["label", "nullLabel", "options", "modelValue"]),
|
|
3491
3490
|
p(d, {
|
|
3492
3491
|
width: "100%",
|
|
@@ -3495,7 +3494,7 @@ function l0(e, n, o, l, s, i) {
|
|
|
3495
3494
|
nullLabel: e.$t("BcfComponents.BcfFilters.undefined"),
|
|
3496
3495
|
options: l.creatorOptions,
|
|
3497
3496
|
modelValue: l.filters.creators,
|
|
3498
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
3497
|
+
"onUpdate:modelValue": n[5] || (n[5] = (h) => l.filters.creators = h)
|
|
3499
3498
|
}, null, 8, ["label", "nullLabel", "options", "modelValue"]),
|
|
3500
3499
|
p(d, {
|
|
3501
3500
|
width: "100%",
|
|
@@ -3504,7 +3503,7 @@ function l0(e, n, o, l, s, i) {
|
|
|
3504
3503
|
nullLabel: e.$t("BcfComponents.BcfFilters.undefined"),
|
|
3505
3504
|
options: l.labelOptions,
|
|
3506
3505
|
modelValue: l.filters.labels,
|
|
3507
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
3506
|
+
"onUpdate:modelValue": n[6] || (n[6] = (h) => l.filters.labels = h)
|
|
3508
3507
|
}, null, 8, ["label", "nullLabel", "options", "modelValue"]),
|
|
3509
3508
|
t("div", a0, [
|
|
3510
3509
|
p(u, {
|
|
@@ -3515,7 +3514,7 @@ function l0(e, n, o, l, s, i) {
|
|
|
3515
3514
|
onClick: l.resetFilters
|
|
3516
3515
|
}, {
|
|
3517
3516
|
default: f(() => [
|
|
3518
|
-
Z(
|
|
3517
|
+
Z(b(e.$t("BcfComponents.BcfFilters.resetButton")), 1)
|
|
3519
3518
|
]),
|
|
3520
3519
|
_: 1
|
|
3521
3520
|
}, 8, ["onClick"]),
|
|
@@ -3533,7 +3532,7 @@ function l0(e, n, o, l, s, i) {
|
|
|
3533
3532
|
color: "default",
|
|
3534
3533
|
margin: "0 6px 0 0"
|
|
3535
3534
|
}),
|
|
3536
|
-
t("span", null,
|
|
3535
|
+
t("span", null, b(e.$t("BcfComponents.BcfFilters.searchButton")), 1)
|
|
3537
3536
|
]),
|
|
3538
3537
|
_: 1
|
|
3539
3538
|
}, 8, ["onClick"])
|
|
@@ -3550,9 +3549,9 @@ function l0(e, n, o, l, s, i) {
|
|
|
3550
3549
|
}
|
|
3551
3550
|
const i0 = /* @__PURE__ */ F(Qe, [["render", l0], ["__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" }), s0 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
|
|
3552
3551
|
Object.entries(W2).filter(([e]) => !s0.includes(e));
|
|
3553
|
-
var c0 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
3552
|
+
var c0 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), R1 = { props: { text: { type: String } } };
|
|
3554
3553
|
const d0 = { class: "bimdata-card__brand" }, u0 = { class: "bimdata-card__brand--left" }, C0 = { key: 0 };
|
|
3555
|
-
function
|
|
3554
|
+
function Z1(e, n) {
|
|
3556
3555
|
n === void 0 && (n = {});
|
|
3557
3556
|
var o = n.insertAt;
|
|
3558
3557
|
if (e && typeof document < "u") {
|
|
@@ -3560,7 +3559,7 @@ function w1(e, n) {
|
|
|
3560
3559
|
s.type = "text/css", o === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
3561
3560
|
}
|
|
3562
3561
|
}
|
|
3563
|
-
|
|
3562
|
+
Z1(`/* base COLORS --------------------------------------------- */
|
|
3564
3563
|
/* colors BRAND */
|
|
3565
3564
|
/* colors GREY SHADES - NEUTRAL */
|
|
3566
3565
|
/* color TEXT */
|
|
@@ -3629,7 +3628,7 @@ html[data-v-0185c658] {
|
|
|
3629
3628
|
/* base FONTS -------------------------------------- */
|
|
3630
3629
|
--primary-font: "roboto", sans-serif;
|
|
3631
3630
|
}`);
|
|
3632
|
-
|
|
3631
|
+
Z1(`.bimdata-card__brand {
|
|
3633
3632
|
-webkit-box-pack: justify;
|
|
3634
3633
|
-ms-flex-pack: justify;
|
|
3635
3634
|
justify-content: space-between;
|
|
@@ -3645,14 +3644,14 @@ w1(`.bimdata-card__brand {
|
|
|
3645
3644
|
}
|
|
3646
3645
|
.bimdata-card__brand--left svg {
|
|
3647
3646
|
margin-right: calc(var(--spacing-unit) / 2);
|
|
3648
|
-
}`),
|
|
3649
|
-
return r(), a("div", d0, [t("div", u0, [_(e.$slots, "left"), o.text ? (r(), a("span", C0,
|
|
3650
|
-
},
|
|
3651
|
-
var
|
|
3647
|
+
}`), R1.render = function(e, n, o, l, s, i) {
|
|
3648
|
+
return r(), a("div", d0, [t("div", u0, [_(e.$slots, "left"), o.text ? (r(), a("span", C0, b(o.text), 1)) : v("v-if", !0)]), _(e.$slots, "right")]);
|
|
3649
|
+
}, R1.__scopeId = "data-v-0185c658", R1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCardBand.vue";
|
|
3650
|
+
var E1 = { components: { BIMDataCardBand: R1 }, props: { titleHeader: { type: String }, submenuText: { type: String }, width: { type: [Number, String], default: "215px" }, borderRadius: { type: String, default: "0px" }, bgColor: { type: String, default: "default", validator: (e) => c0.includes(e) } }, computed: { classes() {
|
|
3652
3651
|
return { [`bimdata-card__${this.bgColor}`]: this.bgColor };
|
|
3653
3652
|
} } };
|
|
3654
3653
|
const p0 = { key: 2, class: "bimdata-card__content" }, h0 = { key: 3, class: "bimdata-card__footer" };
|
|
3655
|
-
|
|
3654
|
+
Z1(`/* base COLORS --------------------------------------------- */
|
|
3656
3655
|
/* colors BRAND */
|
|
3657
3656
|
/* colors GREY SHADES - NEUTRAL */
|
|
3658
3657
|
/* color TEXT */
|
|
@@ -3810,7 +3809,7 @@ html[data-v-5c84207f] {
|
|
|
3810
3809
|
.primary-font[data-v-5c84207f] {
|
|
3811
3810
|
font-family: "roboto", sans-serif;
|
|
3812
3811
|
}`);
|
|
3813
|
-
|
|
3812
|
+
Z1(`.bimdata-card {
|
|
3814
3813
|
background-color: var(--color-white);
|
|
3815
3814
|
-webkit-box-shadow: var(--box-shadow);
|
|
3816
3815
|
box-shadow: var(--box-shadow);
|
|
@@ -3886,14 +3885,14 @@ w1(`.bimdata-card {
|
|
|
3886
3885
|
color: var(--color-primary);
|
|
3887
3886
|
-webkit-filter: saturate(0.8);
|
|
3888
3887
|
filter: saturate(0.8);
|
|
3889
|
-
}`),
|
|
3888
|
+
}`), E1.render = function(e, n, o, l, s, i) {
|
|
3890
3889
|
const c = g("BIMDataCardBand");
|
|
3891
3890
|
return r(), a("div", { class: V(["bimdata-card", i.classes]), style: y({ "min-width": o.width, "border-radius": o.borderRadius }) }, [o.titleHeader || e.$slots.headerIcons ? (r(), D(c, { key: 0, text: o.titleHeader, class: "bimdata-card__header" }, { right: f(() => [_(e.$slots, "headerIcons")]), _: 3 }, 8, ["text"])) : v("v-if", !0), e.$slots.left || o.submenuText || e.$slots.right ? (r(), D(c, { key: 1, class: "bimdata-card__submenu", text: o.submenuText }, { left: f(() => [_(e.$slots, "left")]), right: f(() => [_(e.$slots, "right")]), _: 3 }, 8, ["text"])) : v("v-if", !0), e.$slots.content ? (r(), a("div", p0, [_(e.$slots, "content")])) : v("v-if", !0), e.$slots.footer ? (r(), a("footer", h0, [_(e.$slots, "footer")])) : v("v-if", !0)], 6);
|
|
3892
|
-
},
|
|
3891
|
+
}, E1.__scopeId = "data-v-5c84207f", E1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCard.vue";
|
|
3893
3892
|
const b0 = Object.entries(W2).reduce((e, n, o) => (o % 5 == 0 ? e.push([n]) : e[e.length - 1].push(n), e), []);
|
|
3894
|
-
var
|
|
3893
|
+
var F1 = { components: { BIMDataCard: E1 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(W2).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: b0 }) };
|
|
3895
3894
|
const g0 = ["title", "onClick"];
|
|
3896
|
-
|
|
3895
|
+
Z1(`.color-selector__line[data-v-dd521886] {
|
|
3897
3896
|
display: -webkit-box;
|
|
3898
3897
|
display: -ms-flexbox;
|
|
3899
3898
|
display: flex;
|
|
@@ -3907,16 +3906,16 @@ w1(`.color-selector__line[data-v-dd521886] {
|
|
|
3907
3906
|
}
|
|
3908
3907
|
.color-selector__line__element.selected[data-v-dd521886] {
|
|
3909
3908
|
border: solid 2px var(--color-primary);
|
|
3910
|
-
}`),
|
|
3909
|
+
}`), F1.render = function(e, n, o, l, s, i) {
|
|
3911
3910
|
const c = g("BIMDataCard");
|
|
3912
|
-
return r(), D(c, { class: "color-selector" }, { content: f(() => [(r(!0), a(O, null, U(s.colorLines, (u, d) => (r(), a("div", { class: "color-selector__line", key: `colorLine${d}` }, [(r(!0), a(O, null, U(u, ([C, L],
|
|
3913
|
-
},
|
|
3911
|
+
return r(), D(c, { class: "color-selector" }, { content: f(() => [(r(!0), a(O, null, U(s.colorLines, (u, d) => (r(), a("div", { class: "color-selector__line", key: `colorLine${d}` }, [(r(!0), a(O, null, U(u, ([C, L], h) => (r(), a("div", { class: V(["color-selector__line__element", { selected: L === o.modelValue }]), key: `colorElement${h}ofColorLine${d}`, style: y(`background-color: #${L}`), title: C, onClick: (m) => e.$emit("update:modelValue", L) }, null, 14, g0))), 128))]))), 128))]), _: 1 });
|
|
3912
|
+
}, F1.__scopeId = "data-v-dd521886", F1.__file = "src/BIMDataComponents/BIMDataColorSelector/BIMDataColorSelector.vue";
|
|
3914
3913
|
const f0 = {
|
|
3915
3914
|
components: {
|
|
3916
3915
|
BIMDataButton: W,
|
|
3917
|
-
BIMDataColorSelector:
|
|
3916
|
+
BIMDataColorSelector: F1,
|
|
3918
3917
|
BIMDataIcon: j,
|
|
3919
|
-
BIMDataInput:
|
|
3918
|
+
BIMDataInput: c1
|
|
3920
3919
|
},
|
|
3921
3920
|
props: {
|
|
3922
3921
|
extensionType: {
|
|
@@ -3931,10 +3930,10 @@ const f0 = {
|
|
|
3931
3930
|
"delete-extension"
|
|
3932
3931
|
],
|
|
3933
3932
|
setup(e, { emit: n }) {
|
|
3934
|
-
const o =
|
|
3935
|
-
e.extension[
|
|
3936
|
-
), c =
|
|
3937
|
-
return
|
|
3933
|
+
const o = B(!1), l = B(!1), s = B(!1), i = B(
|
|
3934
|
+
e.extension[g1(e.extensionType)]
|
|
3935
|
+
), c = B(e.extension.color), u = B(null);
|
|
3936
|
+
return n1(
|
|
3938
3937
|
o,
|
|
3939
3938
|
() => setTimeout(() => o.value && u.value.focus(), 50)
|
|
3940
3939
|
), {
|
|
@@ -3946,22 +3945,22 @@ const f0 = {
|
|
|
3946
3945
|
isOpenColorSelector: l,
|
|
3947
3946
|
isOpenDeleteGuard: s,
|
|
3948
3947
|
adjustBorderColor: z5,
|
|
3949
|
-
getExtensionField:
|
|
3950
|
-
submitColor: async (
|
|
3951
|
-
|
|
3948
|
+
getExtensionField: g1,
|
|
3949
|
+
submitColor: async (h) => {
|
|
3950
|
+
h !== e.extension.color && (n("update-extension", {
|
|
3952
3951
|
extensionType: e.extensionType,
|
|
3953
3952
|
extension: e.extension,
|
|
3954
|
-
data: { color:
|
|
3955
|
-
}), c.value =
|
|
3953
|
+
data: { color: h }
|
|
3954
|
+
}), c.value = h);
|
|
3956
3955
|
},
|
|
3957
|
-
submitDelete: async (
|
|
3956
|
+
submitDelete: async (h) => {
|
|
3958
3957
|
n("delete-extension", {
|
|
3959
3958
|
extensionType: e.extensionType,
|
|
3960
|
-
extension:
|
|
3959
|
+
extension: h
|
|
3961
3960
|
});
|
|
3962
3961
|
},
|
|
3963
3962
|
submitValue: async () => {
|
|
3964
|
-
i.value !== e.extension[
|
|
3963
|
+
i.value !== e.extension[g1(e.extensionType)] && (n("update-extension", {
|
|
3965
3964
|
extensionType: e.extensionType,
|
|
3966
3965
|
extension: e.extension,
|
|
3967
3966
|
data: { value: i.value }
|
|
@@ -3980,16 +3979,16 @@ function _0(e, n, o, l, s, i) {
|
|
|
3980
3979
|
key: 1,
|
|
3981
3980
|
ref: "input",
|
|
3982
3981
|
modelValue: l.extensionName,
|
|
3983
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3984
|
-
onKeyup:
|
|
3985
|
-
}, null, 8, ["modelValue", "onKeyup"])) : (r(), a("span", v0,
|
|
3982
|
+
"onUpdate:modelValue": n[0] || (n[0] = (h) => l.extensionName = h),
|
|
3983
|
+
onKeyup: x(w(l.submitValue, ["stop"]), ["enter"])
|
|
3984
|
+
}, null, 8, ["modelValue", "onKeyup"])) : (r(), a("span", v0, b(o.extension[l.getExtensionField(o.extensionType)]), 1)),
|
|
3986
3985
|
t("div", m0, [
|
|
3987
3986
|
p(d, {
|
|
3988
3987
|
color: "primary",
|
|
3989
3988
|
ghost: "",
|
|
3990
3989
|
rounded: "",
|
|
3991
3990
|
icon: "",
|
|
3992
|
-
onClick: n[1] || (n[1] = (
|
|
3991
|
+
onClick: n[1] || (n[1] = (h) => l.editMode = !l.editMode)
|
|
3993
3992
|
}, {
|
|
3994
3993
|
default: f(() => [
|
|
3995
3994
|
p(u, {
|
|
@@ -4004,7 +4003,7 @@ function _0(e, n, o, l, s, i) {
|
|
|
4004
4003
|
ghost: "",
|
|
4005
4004
|
rounded: "",
|
|
4006
4005
|
icon: "",
|
|
4007
|
-
onClick: n[2] || (n[2] = (
|
|
4006
|
+
onClick: n[2] || (n[2] = (h) => l.isOpenDeleteGuard = !0)
|
|
4008
4007
|
}, {
|
|
4009
4008
|
default: f(() => [
|
|
4010
4009
|
p(u, {
|
|
@@ -4021,7 +4020,7 @@ function _0(e, n, o, l, s, i) {
|
|
|
4021
4020
|
"border-color": l.adjustBorderColor(`${l.extensionColor}`, -50),
|
|
4022
4021
|
"background-color": `#${l.extensionColor}`
|
|
4023
4022
|
}),
|
|
4024
|
-
onClick: n[3] || (n[3] = (
|
|
4023
|
+
onClick: n[3] || (n[3] = (h) => l.isOpenColorSelector = !0)
|
|
4025
4024
|
}, null, 4),
|
|
4026
4025
|
l.isOpenColorSelector ? X((r(), D(C, {
|
|
4027
4026
|
key: 0,
|
|
@@ -4034,7 +4033,7 @@ function _0(e, n, o, l, s, i) {
|
|
|
4034
4033
|
], 64)) : v("", !0)
|
|
4035
4034
|
]),
|
|
4036
4035
|
l.isOpenDeleteGuard ? (r(), a("div", I0, [
|
|
4037
|
-
t("p", null,
|
|
4036
|
+
t("p", null, b(e.$t("BcfComponents.SettingCard.deleteExtensionText")), 1),
|
|
4038
4037
|
t("div", M0, [
|
|
4039
4038
|
p(d, {
|
|
4040
4039
|
class: "m-r-6",
|
|
@@ -4042,10 +4041,10 @@ function _0(e, n, o, l, s, i) {
|
|
|
4042
4041
|
color: "high",
|
|
4043
4042
|
fill: "",
|
|
4044
4043
|
radius: "",
|
|
4045
|
-
onClick: n[4] || (n[4] = (
|
|
4044
|
+
onClick: n[4] || (n[4] = (h) => l.submitDelete(o.extension))
|
|
4046
4045
|
}, {
|
|
4047
4046
|
default: f(() => [
|
|
4048
|
-
Z(
|
|
4047
|
+
Z(b(e.$t("BcfComponents.SettingCard.deleteButton")), 1)
|
|
4049
4048
|
]),
|
|
4050
4049
|
_: 1
|
|
4051
4050
|
}),
|
|
@@ -4054,7 +4053,7 @@ function _0(e, n, o, l, s, i) {
|
|
|
4054
4053
|
ghost: "",
|
|
4055
4054
|
rounded: "",
|
|
4056
4055
|
icon: "",
|
|
4057
|
-
onClick: n[5] || (n[5] = (
|
|
4056
|
+
onClick: n[5] || (n[5] = (h) => l.isOpenDeleteGuard = !1)
|
|
4058
4057
|
}, {
|
|
4059
4058
|
default: f(() => [
|
|
4060
4059
|
p(u, {
|
|
@@ -4073,7 +4072,7 @@ const H0 = {
|
|
|
4073
4072
|
components: {
|
|
4074
4073
|
BIMDataButton: W,
|
|
4075
4074
|
BIMDataIcon: j,
|
|
4076
|
-
BIMDataInput:
|
|
4075
|
+
BIMDataInput: c1,
|
|
4077
4076
|
SettingCardItem: y0
|
|
4078
4077
|
},
|
|
4079
4078
|
props: {
|
|
@@ -4094,7 +4093,7 @@ const H0 = {
|
|
|
4094
4093
|
setup(e, { emit: n }) {
|
|
4095
4094
|
const o = R(
|
|
4096
4095
|
() => k5(e.extensionType, e.detailedExtensions)
|
|
4097
|
-
), l =
|
|
4096
|
+
), l = B(null), s = B(""), i = B(!1), c = () => i.value = !1, u = () => i.value = !i.value, d = B(!1), C = () => {
|
|
4098
4097
|
s.value = "", d.value = !1;
|
|
4099
4098
|
};
|
|
4100
4099
|
return {
|
|
@@ -4128,9 +4127,9 @@ function A0(e, n, o, l, s, i) {
|
|
|
4128
4127
|
class: "setting-card__header",
|
|
4129
4128
|
onClick: n[0] || (n[0] = (...L) => l.toggle && l.toggle(...L))
|
|
4130
4129
|
}, [
|
|
4131
|
-
t("div", V0,
|
|
4130
|
+
t("div", V0, b(e.$t(`BcfComponents.SettingCard.title.${o.extensionType}`)), 1),
|
|
4132
4131
|
t("div", B0, [
|
|
4133
|
-
l.availableExtensions ? (r(), a("div", k0,
|
|
4132
|
+
l.availableExtensions ? (r(), a("div", k0, b(l.availableExtensions.length), 1)) : v("", !0),
|
|
4134
4133
|
p(c, {
|
|
4135
4134
|
name: "chevron",
|
|
4136
4135
|
size: "xxs",
|
|
@@ -4140,7 +4139,7 @@ function A0(e, n, o, l, s, i) {
|
|
|
4140
4139
|
]),
|
|
4141
4140
|
X(t("div", null, [
|
|
4142
4141
|
t("div", x0, [
|
|
4143
|
-
Z(
|
|
4142
|
+
Z(b(e.$t(`BcfComponents.SettingCard.text.${o.extensionType}`)) + " ", 1),
|
|
4144
4143
|
p(u, {
|
|
4145
4144
|
fill: "",
|
|
4146
4145
|
radius: "",
|
|
@@ -4153,12 +4152,12 @@ function A0(e, n, o, l, s, i) {
|
|
|
4153
4152
|
size: "xxxs",
|
|
4154
4153
|
fill: ""
|
|
4155
4154
|
}),
|
|
4156
|
-
t("span", null,
|
|
4155
|
+
t("span", null, b(e.$t("BcfComponents.SettingCard.addButton")), 1)
|
|
4157
4156
|
]),
|
|
4158
4157
|
_: 1
|
|
4159
4158
|
}, 8, ["onClick"])
|
|
4160
4159
|
]),
|
|
4161
|
-
p(
|
|
4160
|
+
p(t1, { name: "slide-fade-up" }, {
|
|
4162
4161
|
default: f(() => [
|
|
4163
4162
|
X(t("div", w0, [
|
|
4164
4163
|
p(d, {
|
|
@@ -4166,7 +4165,7 @@ function A0(e, n, o, l, s, i) {
|
|
|
4166
4165
|
placeholder: e.$t(`BcfComponents.SettingCard.input.${o.extensionType}`),
|
|
4167
4166
|
modelValue: l.name,
|
|
4168
4167
|
"onUpdate:modelValue": n[1] || (n[1] = (L) => l.name = L),
|
|
4169
|
-
onKeyup:
|
|
4168
|
+
onKeyup: x(w(l.addExtension, ["stop"]), ["enter"])
|
|
4170
4169
|
}, null, 8, ["placeholder", "modelValue", "onKeyup"]),
|
|
4171
4170
|
t("div", Z0, [
|
|
4172
4171
|
p(u, {
|
|
@@ -4175,7 +4174,7 @@ function A0(e, n, o, l, s, i) {
|
|
|
4175
4174
|
onClick: l.closeForm
|
|
4176
4175
|
}, {
|
|
4177
4176
|
default: f(() => [
|
|
4178
|
-
Z(
|
|
4177
|
+
Z(b(e.$t("BcfComponents.SettingCard.cancelButton")), 1)
|
|
4179
4178
|
]),
|
|
4180
4179
|
_: 1
|
|
4181
4180
|
}, 8, ["onClick"]),
|
|
@@ -4186,7 +4185,7 @@ function A0(e, n, o, l, s, i) {
|
|
|
4186
4185
|
onClick: l.addExtension
|
|
4187
4186
|
}, {
|
|
4188
4187
|
default: f(() => [
|
|
4189
|
-
Z(
|
|
4188
|
+
Z(b(e.$t("BcfComponents.SettingCard.validateButton")), 1)
|
|
4190
4189
|
]),
|
|
4191
4190
|
_: 1
|
|
4192
4191
|
}, 8, ["onClick"])
|
|
@@ -4202,8 +4201,8 @@ function A0(e, n, o, l, s, i) {
|
|
|
4202
4201
|
key: L.id,
|
|
4203
4202
|
extensionType: o.extensionType,
|
|
4204
4203
|
extension: L,
|
|
4205
|
-
onUpdateExtension: n[2] || (n[2] = (
|
|
4206
|
-
onDeleteExtension: n[3] || (n[3] = (
|
|
4204
|
+
onUpdateExtension: n[2] || (n[2] = (h) => e.$emit("update-extension", h)),
|
|
4205
|
+
onDeleteExtension: n[3] || (n[3] = (h) => e.$emit("delete-extension", h))
|
|
4207
4206
|
}, null, 8, ["extensionType", "extension"]))), 128))
|
|
4208
4207
|
])
|
|
4209
4208
|
], 512), [
|
|
@@ -4243,7 +4242,7 @@ const $0 = {
|
|
|
4243
4242
|
"extension-deleted"
|
|
4244
4243
|
],
|
|
4245
4244
|
setup(e, { emit: n }) {
|
|
4246
|
-
const o =
|
|
4245
|
+
const o = w1();
|
|
4247
4246
|
return {
|
|
4248
4247
|
EXTENSION_TYPES: M5,
|
|
4249
4248
|
createExtension: async (c) => {
|
|
@@ -4293,7 +4292,7 @@ function P0(e, n, o, l, s, i) {
|
|
|
4293
4292
|
]),
|
|
4294
4293
|
_: 1
|
|
4295
4294
|
})) : v("", !0),
|
|
4296
|
-
t("span", R0,
|
|
4295
|
+
t("span", R0, b(e.$t("BcfComponents.BcfSettings.title")), 1),
|
|
4297
4296
|
o.uiConfig.closeButton ? (r(), D(u, {
|
|
4298
4297
|
key: 1,
|
|
4299
4298
|
color: "granite",
|
|
@@ -4312,7 +4311,7 @@ function P0(e, n, o, l, s, i) {
|
|
|
4312
4311
|
})) : v("", !0)
|
|
4313
4312
|
]),
|
|
4314
4313
|
t("div", E0, [
|
|
4315
|
-
t("div", F0,
|
|
4314
|
+
t("div", F0, b(e.$t("BcfComponents.BcfSettings.text")), 1),
|
|
4316
4315
|
(r(!0), a(O, null, U(l.EXTENSION_TYPES, (C) => (r(), D(d, {
|
|
4317
4316
|
detailedExtensions: o.detailedExtensions,
|
|
4318
4317
|
extensionType: C,
|
|
@@ -4324,7 +4323,7 @@ function P0(e, n, o, l, s, i) {
|
|
|
4324
4323
|
]);
|
|
4325
4324
|
}
|
|
4326
4325
|
const U0 = /* @__PURE__ */ F($0, [["render", P0], ["__scopeId", "data-v-9e0003a6"]]);
|
|
4327
|
-
var z0 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
4326
|
+
var z0 = 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) => z0.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
4328
4327
|
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 };
|
|
4329
4328
|
}, style() {
|
|
4330
4329
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -4799,9 +4798,9 @@ z(`.bimdata-btn {
|
|
|
4799
4798
|
.bimdata-btn__ghost:disabled {
|
|
4800
4799
|
color: var(--color-silver-dark);
|
|
4801
4800
|
cursor: auto;
|
|
4802
|
-
}`),
|
|
4801
|
+
}`), H1.render = function(e, n, o, l, s, i) {
|
|
4803
4802
|
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: y(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, G0);
|
|
4804
|
-
},
|
|
4803
|
+
}, H1.__scopeId = "data-v-3f903003", H1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
4805
4804
|
const Y0 = { "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" }, W0 = { render: function(e, n) {
|
|
4806
4805
|
return r(), a("path", Y0);
|
|
4807
4806
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
@@ -4814,7 +4813,7 @@ var c2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: {
|
|
|
4814
4813
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
4815
4814
|
} }, methods: { getPixelSize() {
|
|
4816
4815
|
return this.customSize ? this.customSize : c5[this.size];
|
|
4817
|
-
} } }),
|
|
4816
|
+
} } }), P1 = c2("Chevron", W0);
|
|
4818
4817
|
const j0 = ["fill", "color"];
|
|
4819
4818
|
z(`/* base COLORS --------------------------------------------- */
|
|
4820
4819
|
/* colors BRAND */
|
|
@@ -4968,14 +4967,14 @@ z(`.icon-fill--black {
|
|
|
4968
4967
|
}
|
|
4969
4968
|
.icon-stroke--white {
|
|
4970
4969
|
stroke: var(--color-white);
|
|
4971
|
-
}`),
|
|
4970
|
+
}`), P1.render = function(e, n, o, l, s, i) {
|
|
4972
4971
|
const c = g("Chevron");
|
|
4973
4972
|
return r(), a("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: V(e.classes), style: y(e.style) }, [p(c)], 14, j0);
|
|
4974
|
-
},
|
|
4973
|
+
}, P1.__scopeId = "data-v-5e440aca", P1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
4975
4974
|
const K0 = { "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" }, q0 = { render: function(e, n) {
|
|
4976
4975
|
return r(), a("path", K0);
|
|
4977
4976
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
4978
|
-
var
|
|
4977
|
+
var U1 = c2("DoubleChevron", q0);
|
|
4979
4978
|
const J0 = ["fill", "color"];
|
|
4980
4979
|
z(`/* base COLORS --------------------------------------------- */
|
|
4981
4980
|
/* colors BRAND */
|
|
@@ -5129,10 +5128,10 @@ z(`.icon-fill--black {
|
|
|
5129
5128
|
}
|
|
5130
5129
|
.icon-stroke--white {
|
|
5131
5130
|
stroke: var(--color-white);
|
|
5132
|
-
}`),
|
|
5131
|
+
}`), U1.render = function(e, n, o, l, s, i) {
|
|
5133
5132
|
const c = g("DoubleChevron");
|
|
5134
5133
|
return r(), a("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: V(e.classes), style: y(e.style) }, [p(c)], 14, J0);
|
|
5135
|
-
},
|
|
5134
|
+
}, U1.__scopeId = "data-v-859297ec", U1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
5136
5135
|
const Q0 = { 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" }, en = { render: function(e, n) {
|
|
5137
5136
|
return r(), a("path", Q0);
|
|
5138
5137
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
@@ -5455,7 +5454,7 @@ z(`.icon-fill--black {
|
|
|
5455
5454
|
const c = g("Search");
|
|
5456
5455
|
return r(), a("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: V(e.classes), style: y(e.style) }, [p(c)], 14, on);
|
|
5457
5456
|
}, f2.__scopeId = "data-v-0993abf8", f2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
5458
|
-
var
|
|
5457
|
+
var z1 = { components: { BIMDataIconChevron: P1, BIMDataIconDoubleChevron: U1, 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"] };
|
|
5459
5458
|
const an = { class: "bimdata-navigation__left m-r-6" }, ln = { key: 0, class: "bimdata-navigation__item" }, sn = { key: 1, class: "bimdata-navigation__item" }, cn = { key: 2, class: "bimdata-navigation__item" }, dn = { key: 3, class: "bimdata-navigation__item" }, un = { class: "bimdata-navigation__right" };
|
|
5460
5459
|
z(`/* base COLORS --------------------------------------------- */
|
|
5461
5460
|
/* colors BRAND */
|
|
@@ -5562,11 +5561,11 @@ z(`.bimdata-navigation[data-v-aa907072] {
|
|
|
5562
5561
|
padding: 6px 2px;
|
|
5563
5562
|
font-size: 10px;
|
|
5564
5563
|
cursor: default;
|
|
5565
|
-
}`),
|
|
5564
|
+
}`), z1.render = function(e, n, o, l, s, i) {
|
|
5566
5565
|
const c = g("BIMDataIconDoubleChevron"), u = g("BIMDataButton"), d = g("BIMDataIconChevron");
|
|
5567
5566
|
return r(), a("ul", { class: "bimdata-list bimdata-navigation", style: y({ "background-color": o.backgroundColor }) }, [t("li", an, [_(e.$slots, "left")]), o.first ? (r(), a("li", ln, [p(u, { onClick: n[0] || (n[0] = (C) => e.$emit("first")), disabled: o.firstDisabled, ghost: "", class: V({ disabled: o.firstDisabled }), width: "21px", height: "21px" }, { default: f(() => [p(c, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), o.previous ? (r(), a("li", sn, [p(u, { onClick: n[1] || (n[1] = (C) => e.$emit("previous")), disabled: o.previousDisabled, ghost: "", class: V({ disabled: o.previousDisabled }), width: "21px", height: "21px" }, { default: f(() => [p(d, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), t("li", null, [_(e.$slots, "default")]), o.next ? (r(), a("li", cn, [p(u, { onClick: n[2] || (n[2] = (C) => e.$emit("next")), disabled: o.nextDisabled, ghost: "", class: V({ disabled: o.nextDisabled }), width: "21px", height: "21px" }, { default: f(() => [p(d, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), o.last ? (r(), a("li", dn, [p(u, { onClick: n[3] || (n[3] = (C) => e.$emit("last")), disabled: o.lastDisabled, ghost: "", class: V({ disabled: o.lastDisabled }), width: "21px", height: "21px" }, { default: f(() => [p(c, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : v("v-if", !0), t("li", un, [_(e.$slots, "right")])], 4);
|
|
5568
|
-
},
|
|
5569
|
-
var
|
|
5567
|
+
}, z1.__scopeId = "data-v-aa907072", z1.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
|
|
5568
|
+
var G1 = { components: { BIMDataNavigation: z1, 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() {
|
|
5570
5569
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
5571
5570
|
}, lastIndex() {
|
|
5572
5571
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -5661,11 +5660,11 @@ z(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
|
5661
5660
|
}
|
|
5662
5661
|
.bimdata-pagination__item.active .bimdata-btn[data-v-45066753] {
|
|
5663
5662
|
font-weight: 700;
|
|
5664
|
-
}`),
|
|
5663
|
+
}`), G1.render = function(e, n, o, l, s, i) {
|
|
5665
5664
|
const c = g("BIMDataButton"), u = g("BIMDataNavigation");
|
|
5666
|
-
return r(), D(u, { onFirst: n[0] || (n[0] = (d) => i.firstPage()), onPrevious: n[1] || (n[1] = (d) => i.previousPage()), onNext: n[2] || (n[2] = (d) => i.nextPage()), onLast: n[3] || (n[3] = (d) => i.lastPage()), firstDisabled: i.isFirstPage, previousDisabled: i.isFirstPage, nextDisabled: i.isLastPage, lastDisabled: i.isLastPage, class: "bimdata-pagination", backgroundColor: o.backgroundColor }, m5({ default: f(() => [t("span", Cn, [p(c, { ghost: "", width: "21px", height: "21px" }, { default: f(() => [Z(
|
|
5667
|
-
},
|
|
5668
|
-
var
|
|
5665
|
+
return r(), D(u, { onFirst: n[0] || (n[0] = (d) => i.firstPage()), onPrevious: n[1] || (n[1] = (d) => i.previousPage()), onNext: n[2] || (n[2] = (d) => i.nextPage()), onLast: n[3] || (n[3] = (d) => i.lastPage()), firstDisabled: i.isFirstPage, previousDisabled: i.isFirstPage, nextDisabled: i.isLastPage, lastDisabled: i.isLastPage, class: "bimdata-pagination", backgroundColor: o.backgroundColor }, m5({ default: f(() => [t("span", Cn, [p(c, { ghost: "", width: "21px", height: "21px" }, { default: f(() => [Z(b(o.currentPage), 1)]), _: 1 })])]), _: 2 }, [o.numberDataElements ? { name: "left", fn: f(() => [Z(b(i.firstIndex) + " - " + b(i.lastIndex) + " of " + b(o.length), 1)]), key: "0" } : void 0]), 1032, ["firstDisabled", "previousDisabled", "nextDisabled", "lastDisabled", "backgroundColor"]);
|
|
5666
|
+
}, G1.__scopeId = "data-v-45066753", G1.__file = "src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue";
|
|
5667
|
+
var Y1 = { props: ["size", "border"], methods: { getStyle() {
|
|
5669
5668
|
if (this.size)
|
|
5670
5669
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
5671
5670
|
} } };
|
|
@@ -5772,8 +5771,7 @@ z(`@-webkit-keyframes bimdataspinner {
|
|
|
5772
5771
|
-webkit-transform: scale(0.2);
|
|
5773
5772
|
transform: scale(0.2);
|
|
5774
5773
|
}
|
|
5775
|
-
}
|
|
5776
|
-
@keyframes bimdataspinner {
|
|
5774
|
+
}@keyframes bimdataspinner {
|
|
5777
5775
|
0% {
|
|
5778
5776
|
-webkit-transform: scale(0.2);
|
|
5779
5777
|
transform: scale(0.2);
|
|
@@ -5818,10 +5816,10 @@ z(`@-webkit-keyframes bimdataspinner {
|
|
|
5818
5816
|
border: 2px var(--color-primary) solid;
|
|
5819
5817
|
-webkit-animation: bimdataspinner 1.4s linear infinite;
|
|
5820
5818
|
animation: bimdataspinner 1.4s linear infinite;
|
|
5821
|
-
}`),
|
|
5819
|
+
}`), Y1.render = function(e, n, o, l, s, i) {
|
|
5822
5820
|
return r(), a("div", pn, [t("div", { class: "bimdata-spinner--square", style: y(i.getStyle()) }, null, 4)]);
|
|
5823
|
-
},
|
|
5824
|
-
var
|
|
5821
|
+
}, Y1.__scopeId = "data-v-162f2cc6", Y1.__file = "src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue";
|
|
5822
|
+
var W1 = { components: { BIMDataPagination: G1, BIMDataSpinner: Y1 }, props: { list: { type: Array, default: () => [] }, perPage: { type: Number, default: 10, validator: (e) => e > 0 }, elementKey: { type: String }, loading: { type: Boolean, default: !1 }, first: { type: Boolean, default: !0 }, last: { type: Boolean, default: !0 }, numberDataElements: { type: Boolean, default: !0 }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["element-click"], data: () => ({ currentPage: 1 }), computed: { totalPages() {
|
|
5825
5823
|
return this.list.length ? Math.ceil(this.list.length / this.perPage) : 0;
|
|
5826
5824
|
}, page() {
|
|
5827
5825
|
const e = this.perPage * (this.currentPage - 1), n = e + this.perPage;
|
|
@@ -5945,11 +5943,11 @@ z(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
|
5945
5943
|
-webkit-box-pack: center;
|
|
5946
5944
|
-ms-flex-pack: center;
|
|
5947
5945
|
justify-content: center;
|
|
5948
|
-
}`),
|
|
5946
|
+
}`), W1.render = function(e, n, o, l, s, i) {
|
|
5949
5947
|
const c = g("BIMDataSpinner"), u = g("BIMDataPagination");
|
|
5950
|
-
return r(), a("div", hn, [o.loading ? (r(), D(c, { key: 0 })) : (r(), a("div", bn, [_(e.$slots, "header"), t("ul", gn, [(r(!0), a(O, null, U(i.page, (d) => (r(), a("li", { key: o.elementKey ? d[o.elementKey] : d, onClick: (C) => e.$emit("element-click", d) }, [_(e.$slots, "element", { element: d }, () => [Z(
|
|
5951
|
-
},
|
|
5952
|
-
var
|
|
5948
|
+
return r(), a("div", hn, [o.loading ? (r(), D(c, { key: 0 })) : (r(), a("div", bn, [_(e.$slots, "header"), t("ul", gn, [(r(!0), a(O, null, U(i.page, (d) => (r(), a("li", { key: o.elementKey ? d[o.elementKey] : d, onClick: (C) => e.$emit("element-click", d) }, [_(e.$slots, "element", { element: d }, () => [Z(b(d && d.toString()), 1)])], 8, fn))), 128))]), o.list.length === 0 ? _(e.$slots, "empty", { key: 0 }) : v("v-if", !0), i.totalPages > 1 ? (r(), D(u, { key: 1, length: o.list.length, currentPage: s.currentPage, onPagechanged: i.onPageChange, totalPages: i.totalPages, perPage: o.perPage, first: o.first, last: o.last, numberDataElements: o.numberDataElements, backgroundColor: o.backgroundColor }, null, 8, ["length", "currentPage", "onPagechanged", "totalPages", "perPage", "first", "last", "numberDataElements", "backgroundColor"])) : v("v-if", !0)]))]);
|
|
5949
|
+
}, W1.__scopeId = "data-v-3ab4d75d", W1.__file = "src/BIMDataComponents/BIMDataPaginatedList/BIMDataPaginatedList.vue";
|
|
5950
|
+
var X1 = { props: { barsData: { type: Array, default: () => [] }, barDistanceFromCenter: { type: Number, default: 50 }, barStrokeWidth: { type: Number, default: 10 }, placeholder: { type: Boolean, default: !1 }, placeholderStrokeWidth: { type: Number, default: 4 }, placeholderColor: { type: String, default: "#EBEBEB" }, graphDrawTime: { type: Number, default: 4 } }, computed: { roundCapPercentageOffset() {
|
|
5953
5951
|
return (this.barStrokeWidth / 2 - 4) / (2 * this.barDistanceFromCenter * Math.PI) * 100;
|
|
5954
5952
|
}, center() {
|
|
5955
5953
|
return this.viewBoxSize / 2;
|
|
@@ -6001,13 +5999,13 @@ to {
|
|
|
6001
5999
|
to {
|
|
6002
6000
|
stroke-dashoffset: 0;
|
|
6003
6001
|
}
|
|
6004
|
-
}`),
|
|
6002
|
+
}`), X1.render = function(e, n, o, l, s, i) {
|
|
6005
6003
|
return r(), a("div", Ln, [(r(), a("svg", { viewBox: i.viewBox, style: y(`--graph-draw-time: ${o.graphDrawTime}s;`) }, [o.placeholder ? (r(), a("circle", { key: 0, cx: i.center, cy: i.center, r: o.barDistanceFromCenter, "stroke-width": o.placeholderStrokeWidth, stroke: o.placeholderColor, fill: "none" }, null, 8, mn)) : v("v-if", !0), (r(!0), a(O, null, U(i.displayedBarsData, (c, u) => (r(), a("g", { key: u }, [c.percentage > 0 ? (r(), a("path", { key: 0, class: "path", d: i.getPath(c), "stroke-width": o.barStrokeWidth, stroke: c.color, fill: "none" }, null, 8, In)) : v("v-if", !0)]))), 128))], 12, vn))], 512);
|
|
6006
|
-
},
|
|
6004
|
+
}, X1.__scopeId = "data-v-b68a8bb2", X1.__file = "src/BIMDataComponents/BIMDataSimplePieChart/BIMDataSimplePieChart.vue";
|
|
6007
6005
|
const Mn = {
|
|
6008
6006
|
components: {
|
|
6009
|
-
BIMDataPaginatedList:
|
|
6010
|
-
BIMDataSimplePieChart:
|
|
6007
|
+
BIMDataPaginatedList: W1,
|
|
6008
|
+
BIMDataSimplePieChart: X1
|
|
6011
6009
|
},
|
|
6012
6010
|
props: {
|
|
6013
6011
|
detailedExtensions: {
|
|
@@ -6027,7 +6025,7 @@ const Mn = {
|
|
|
6027
6025
|
chartData: R(() => {
|
|
6028
6026
|
if (e.topics.length === 0)
|
|
6029
6027
|
return [];
|
|
6030
|
-
const o =
|
|
6028
|
+
const o = g1(e.extensionType), l = k5(e.extensionType, e.detailedExtensions);
|
|
6031
6029
|
return l.push({ [o]: void 0 }), l.map((s) => {
|
|
6032
6030
|
var c;
|
|
6033
6031
|
const i = e.topics.filter((u) => u[o] === s[o]).length;
|
|
@@ -6054,7 +6052,7 @@ function wn(e, n, o, l, s, i) {
|
|
|
6054
6052
|
graphDrawTime: 2.5
|
|
6055
6053
|
}, null, 8, ["barsData", "graphDrawTime"]),
|
|
6056
6054
|
t("div", Hn, [
|
|
6057
|
-
t("div", Dn,
|
|
6055
|
+
t("div", Dn, b(e.$t(`BcfComponents.BcfStatistics.extension.${o.extensionType}Title`)), 1),
|
|
6058
6056
|
p(u, {
|
|
6059
6057
|
list: l.chartData,
|
|
6060
6058
|
perPage: 6,
|
|
@@ -6069,10 +6067,10 @@ function wn(e, n, o, l, s, i) {
|
|
|
6069
6067
|
class: "bcf-statistics__content__legend__item__mark",
|
|
6070
6068
|
style: y({ borderColor: d.color })
|
|
6071
6069
|
}, null, 4),
|
|
6072
|
-
t("span", Bn,
|
|
6070
|
+
t("span", Bn, b(d.percentage.toFixed(0)) + " % ", 1),
|
|
6073
6071
|
t("span", kn, [
|
|
6074
|
-
Z(
|
|
6075
|
-
t("span", xn, " (" +
|
|
6072
|
+
Z(b(d.label && e.$t(`BcfComponents.BcfStatistics.extension.${o.extensionType}`)) + " " + b(d.label || e.$t(`BcfComponents.BcfStatistics.extension.${o.extensionType}NotDefined`)) + " ", 1),
|
|
6073
|
+
t("span", xn, " (" + b(d.count) + ") ", 1)
|
|
6076
6074
|
])
|
|
6077
6075
|
])
|
|
6078
6076
|
]),
|
|
@@ -6083,7 +6081,7 @@ function wn(e, n, o, l, s, i) {
|
|
|
6083
6081
|
]);
|
|
6084
6082
|
}
|
|
6085
6083
|
const Zn = /* @__PURE__ */ F(Mn, [["render", wn], ["__scopeId", "data-v-a5c0c671"]]);
|
|
6086
|
-
var
|
|
6084
|
+
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() {
|
|
6087
6085
|
this.observer = new ResizeObserver(() => this.computeText()), this.observer.observe(this.$refs.textBox), this.computeText();
|
|
6088
6086
|
}, beforeUnmount() {
|
|
6089
6087
|
this.observer.disconnect();
|
|
@@ -6290,9 +6288,9 @@ html[data-v-330fe2fd] {
|
|
|
6290
6288
|
left: calc(100% - 4px);
|
|
6291
6289
|
-webkit-transform: rotate(45deg);
|
|
6292
6290
|
transform: rotate(45deg);
|
|
6293
|
-
}`),
|
|
6294
|
-
return r(), a("div", { ref: "textBox", class: "bimdata-textbox", style: y({ width: o.width, minWidth: o.minWidth, maxWidth: o.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: y({ width: s.textTail ? "50%" : "100%", direction: o.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null,
|
|
6295
|
-
},
|
|
6291
|
+
}`), o1.render = function(e, n, o, l, s, i) {
|
|
6292
|
+
return r(), a("div", { ref: "textBox", class: "bimdata-textbox", style: y({ width: o.width, minWidth: o.minWidth, maxWidth: o.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: y({ width: s.textTail ? "50%" : "100%", direction: o.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null, b(s.textHead), 1)], 4), X(t("span", Sn, [t("bdi", null, b(s.textTail), 1)], 512), [[q, s.textTail]]), o.tooltip && s.isOverflowing ? X((r(), a("div", { key: 0, class: V(["bimdata-textbox__tooltip", [`bimdata-textbox__tooltip--${o.tooltipPosition}`, `bimdata-textbox__tooltip--${o.tooltipColor}`]]) }, b(o.text), 3)), [[q, s.showTooltip]]) : v("v-if", !0)], 36);
|
|
6293
|
+
}, o1.__scopeId = "data-v-330fe2fd", o1.__file = "src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
|
|
6296
6294
|
const An = {}, Tn = {
|
|
6297
6295
|
width: "84",
|
|
6298
6296
|
height: "81",
|
|
@@ -6311,7 +6309,7 @@ const Rn = {
|
|
|
6311
6309
|
BcfTopicDefaultImage: X2,
|
|
6312
6310
|
BIMDataButton: W,
|
|
6313
6311
|
BIMDataIcon: j,
|
|
6314
|
-
BIMDataTextbox:
|
|
6312
|
+
BIMDataTextbox: o1
|
|
6315
6313
|
},
|
|
6316
6314
|
props: {
|
|
6317
6315
|
detailedExtensions: {
|
|
@@ -6323,50 +6321,57 @@ const Rn = {
|
|
|
6323
6321
|
required: !0
|
|
6324
6322
|
}
|
|
6325
6323
|
},
|
|
6326
|
-
emits: [
|
|
6327
|
-
"open-topic"
|
|
6328
|
-
],
|
|
6324
|
+
emits: ["open-topic", "select-topic"],
|
|
6329
6325
|
setup(e, { emit: n }) {
|
|
6330
|
-
const o = R(() => e.topic.viewpoints.filter(
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
(
|
|
6334
|
-
), s = R(
|
|
6335
|
-
() => Y2(e.topic, e.detailedExtensions)
|
|
6336
|
-
), i = R(() => {
|
|
6337
|
-
var u, d;
|
|
6338
|
-
const c = (d = (u = e.topic.viewpoints) == null ? void 0 : u[0]) == null ? void 0 : d.components;
|
|
6339
|
-
return (c == null ? void 0 : c.selection) || [];
|
|
6326
|
+
const o = B(!1), l = R(() => e.topic.viewpoints.filter((d) => Boolean(d.snapshot))), s = R(() => v1(e.topic, e.detailedExtensions)), i = R(() => Y2(e.topic, e.detailedExtensions)), c = R(() => {
|
|
6327
|
+
var C, L;
|
|
6328
|
+
const d = (L = (C = e.topic.viewpoints) == null ? void 0 : C[0]) == null ? void 0 : L.components;
|
|
6329
|
+
return (d == null ? void 0 : d.selection) || [];
|
|
6340
6330
|
});
|
|
6341
6331
|
return {
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6332
|
+
hover: o,
|
|
6333
|
+
priorityColor: s,
|
|
6334
|
+
statusColor: i,
|
|
6335
|
+
topicObjects: c,
|
|
6336
|
+
viewpointsWithSnapshot: l,
|
|
6337
|
+
adjustTextColor: i2,
|
|
6338
|
+
toggle: (d, C) => {
|
|
6339
|
+
d.isSelected = C, n("select-topic", d);
|
|
6340
|
+
}
|
|
6347
6341
|
};
|
|
6348
6342
|
}
|
|
6349
|
-
}, En = { class: "bcf-topic-
|
|
6343
|
+
}, En = { class: "bcf-topic-card__header" }, Fn = { class: "bcf-topic-card__header__infos flex p-r-12" }, Pn = { class: "bcf-topic-card__header__infos__title flex items-center m-l-12" }, Un = { class: "bcf-topic-card__header__infos__checkbox flex items-center m-l-12" }, zn = { class: "bcf-topic-card__header__img flex items-center justify-center" }, Gn = { class: "m-l-6" }, Yn = { class: "bcf-topic-card__header__img__date p-6" }, Wn = ["src"], Xn = { class: "bcf-topic-card__content p-12" }, jn = { class: "bcf-topic-card__content__priority" }, Kn = { class: "flex justify-around m-t-12" }, qn = { class: "flex items-center" }, Jn = {
|
|
6350
6344
|
key: 0,
|
|
6351
6345
|
class: "m-r-6"
|
|
6352
6346
|
};
|
|
6353
6347
|
function Qn(e, n, o, l, s, i) {
|
|
6354
|
-
const c = g("BIMDataTextbox"), u = g("
|
|
6355
|
-
return r(), a("div",
|
|
6356
|
-
|
|
6357
|
-
|
|
6348
|
+
const c = g("BIMDataTextbox"), u = g("BIMDataCheckbox"), d = g("BIMDataIcon"), C = g("BcfTopicDefaultImage"), L = g("BIMDataButton");
|
|
6349
|
+
return r(), a("div", {
|
|
6350
|
+
class: V(["bcf-topic-card", { selected: o.topic.isSelected }]),
|
|
6351
|
+
onMouseover: n[2] || (n[2] = (h) => l.hover = !0),
|
|
6352
|
+
onMouseleave: n[3] || (n[3] = (h) => l.hover = !1)
|
|
6353
|
+
}, [
|
|
6354
|
+
t("div", En, [
|
|
6355
|
+
t("div", Fn, [
|
|
6358
6356
|
t("div", {
|
|
6359
6357
|
class: "bcf-topic-card__header__infos__index flex items-center justify-center",
|
|
6360
6358
|
style: y({
|
|
6361
6359
|
"background-color": `#${l.priorityColor}`,
|
|
6362
6360
|
color: l.adjustTextColor(`#${l.priorityColor}`, "#ffffff", "var(--color-text)")
|
|
6363
6361
|
})
|
|
6364
|
-
},
|
|
6365
|
-
t("div",
|
|
6362
|
+
}, b(o.topic.index), 5),
|
|
6363
|
+
t("div", Pn, [
|
|
6366
6364
|
p(c, {
|
|
6367
6365
|
maxWidth: "100% - 48px",
|
|
6368
6366
|
text: o.topic.title
|
|
6369
6367
|
}, null, 8, ["text"])
|
|
6368
|
+
]),
|
|
6369
|
+
t("div", Un, [
|
|
6370
|
+
l.hover ? (r(), D(u, {
|
|
6371
|
+
key: 0,
|
|
6372
|
+
modelValue: o.topic.isSelected,
|
|
6373
|
+
"onUpdate:modelValue": n[0] || (n[0] = (h) => l.toggle(o.topic, h))
|
|
6374
|
+
}, null, 8, ["modelValue"])) : v("", !0)
|
|
6370
6375
|
])
|
|
6371
6376
|
]),
|
|
6372
6377
|
t("div", zn, [
|
|
@@ -6378,20 +6383,20 @@ function Qn(e, n, o, l, s, i) {
|
|
|
6378
6383
|
color: l.adjustTextColor(`#${l.statusColor}`, "#ffffff", "var(--color-text)")
|
|
6379
6384
|
})
|
|
6380
6385
|
}, [
|
|
6381
|
-
p(
|
|
6386
|
+
p(d, {
|
|
6382
6387
|
name: "information",
|
|
6383
6388
|
fill: "",
|
|
6384
6389
|
color: "default"
|
|
6385
6390
|
}),
|
|
6386
|
-
t("span", Gn,
|
|
6391
|
+
t("span", Gn, b(o.topic.topic_status), 1)
|
|
6387
6392
|
], 4)) : v("", !0),
|
|
6388
|
-
t("div", Yn,
|
|
6393
|
+
t("div", Yn, b(e.$d(o.topic.creation_date, "short")), 1),
|
|
6389
6394
|
l.viewpointsWithSnapshot.length > 0 ? (r(), a("img", {
|
|
6390
6395
|
key: 1,
|
|
6391
6396
|
src: l.viewpointsWithSnapshot[0].snapshot.snapshot_data,
|
|
6392
6397
|
alt: "ViewPoint",
|
|
6393
6398
|
loading: "lazy"
|
|
6394
|
-
}, null, 8, Wn)) : (r(), D(
|
|
6399
|
+
}, null, 8, Wn)) : (r(), D(C, {
|
|
6395
6400
|
key: 2,
|
|
6396
6401
|
class: "default-img"
|
|
6397
6402
|
}))
|
|
@@ -6399,44 +6404,44 @@ function Qn(e, n, o, l, s, i) {
|
|
|
6399
6404
|
]),
|
|
6400
6405
|
t("div", Xn, [
|
|
6401
6406
|
t("div", jn, [
|
|
6402
|
-
t("strong", null,
|
|
6407
|
+
t("strong", null, b(e.$t("BcfComponents.BcfTopicCard.priority")), 1),
|
|
6403
6408
|
t("span", {
|
|
6404
6409
|
style: y({ color: `#${l.priorityColor}` })
|
|
6405
|
-
},
|
|
6410
|
+
}, b(o.topic.priority || e.$t("BcfComponents.BcfTopicCard.noPriority")), 5)
|
|
6406
6411
|
]),
|
|
6407
6412
|
t("div", null, [
|
|
6408
|
-
t("strong", null,
|
|
6409
|
-
t("span", null,
|
|
6413
|
+
t("strong", null, b(e.$t("BcfComponents.BcfTopicCard.assignedTo")), 1),
|
|
6414
|
+
t("span", null, b(o.topic.assigned_to || e.$t("BcfComponents.BcfTopicCard.notSpecified")), 1)
|
|
6410
6415
|
]),
|
|
6411
6416
|
t("div", Kn, [
|
|
6412
6417
|
t("div", qn, [
|
|
6413
|
-
p(
|
|
6418
|
+
p(d, {
|
|
6414
6419
|
name: "model3d",
|
|
6415
6420
|
fill: "",
|
|
6416
6421
|
color: "default",
|
|
6417
6422
|
size: "xs",
|
|
6418
6423
|
margin: "0 6px 0 0"
|
|
6419
6424
|
}),
|
|
6420
|
-
l.topicObjects.length > 0 ? (r(), a("span", Jn,
|
|
6421
|
-
t("span", null,
|
|
6425
|
+
l.topicObjects.length > 0 ? (r(), a("span", Jn, b(l.topicObjects.length), 1)) : v("", !0),
|
|
6426
|
+
t("span", null, b(l.topicObjects.length > 0 ? e.$t("BcfComponents.BcfTopicCard.elements") : e.$t("BcfComponents.BcfTopicCard.noElements")), 1)
|
|
6422
6427
|
]),
|
|
6423
|
-
p(
|
|
6428
|
+
p(L, {
|
|
6424
6429
|
width: "48%",
|
|
6425
6430
|
color: "primary",
|
|
6426
6431
|
fill: "",
|
|
6427
6432
|
radius: "",
|
|
6428
|
-
onClick: n[
|
|
6433
|
+
onClick: n[1] || (n[1] = (h) => e.$emit("open-topic", o.topic))
|
|
6429
6434
|
}, {
|
|
6430
6435
|
default: f(() => [
|
|
6431
|
-
Z(
|
|
6436
|
+
Z(b(e.$t("BcfComponents.BcfTopicCard.see")), 1)
|
|
6432
6437
|
]),
|
|
6433
6438
|
_: 1
|
|
6434
6439
|
})
|
|
6435
6440
|
])
|
|
6436
6441
|
])
|
|
6437
|
-
]);
|
|
6442
|
+
], 34);
|
|
6438
6443
|
}
|
|
6439
|
-
const e8 = /* @__PURE__ */ F(Rn, [["render", Qn], ["__scopeId", "data-v-
|
|
6444
|
+
const e8 = /* @__PURE__ */ F(Rn, [["render", Qn], ["__scopeId", "data-v-02c4b38c"]]), n8 = {}, t8 = {
|
|
6440
6445
|
width: "66",
|
|
6441
6446
|
height: "60",
|
|
6442
6447
|
viewBox: "0 0 66 60",
|
|
@@ -6461,7 +6466,7 @@ function d8(e, n, o, l, s, i) {
|
|
|
6461
6466
|
const c = g("BcfTopicCreationCardImage"), u = g("BIMDataIcon"), d = g("BIMDataButton");
|
|
6462
6467
|
return r(), a("div", s8, [
|
|
6463
6468
|
p(c),
|
|
6464
|
-
t("div", c8,
|
|
6469
|
+
t("div", c8, b(e.$t("BcfComponents.BcfTopicCreationCard.text")), 1),
|
|
6465
6470
|
p(d, {
|
|
6466
6471
|
width: "48px",
|
|
6467
6472
|
height: "48px",
|
|
@@ -6484,7 +6489,7 @@ function d8(e, n, o, l, s, i) {
|
|
|
6484
6489
|
]);
|
|
6485
6490
|
}
|
|
6486
6491
|
const u8 = /* @__PURE__ */ F(i8, [["render", d8], ["__scopeId", "data-v-af2c3cbc"]]);
|
|
6487
|
-
class
|
|
6492
|
+
class C1 {
|
|
6488
6493
|
constructor(n, o, l, s, i = !1, c = !1, u = "") {
|
|
6489
6494
|
this.language = n, this.months = o, this.monthsAbbr = l, this.days = s, this.rtl = i, this.ymd = c, this.yearSuffix = u;
|
|
6490
6495
|
}
|
|
@@ -6533,7 +6538,7 @@ class u1 {
|
|
|
6533
6538
|
return o < 10 ? `0${o}` : `${o}`;
|
|
6534
6539
|
}
|
|
6535
6540
|
}
|
|
6536
|
-
var C8 = new
|
|
6541
|
+
var C8 = new C1("German", ["Januar", "Februar", "M\xE4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "M\xE4r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]), _1 = new C1("English", ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]), p8 = new C1("Spanish", ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mi\xE9", "Jue", "Vie", "S\xE1b"]), h8 = new C1("French", ["Janvier", "F\xE9vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao\xFBt", "Septembre", "Octobre", "Novembre", "D\xE9cembre"], ["Jan", "F\xE9v", "Mar", "Avr", "Mai", "Juin", "Juil", "Ao\xFBt", "Sep", "Oct", "Nov", "D\xE9c"], ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]), b8 = new C1("Italian", ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"]), g8 = new C1("Dutch", ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"]), f8 = new C1("Norwegian", ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], ["Jan", "Feb", "Mar", "Apr", "Mai", "Juni", "Juli", "Aug", "Sep", "Okt", "Nov", "Des"], ["S\xF8", "Ma", "Ti", "On", "To", "Fr", "L\xF8"]), d5 = { de: C8, en: _1, es: p8, fr: h8, it: b8, nl: g8, no: f8 };
|
|
6537
6542
|
const L8 = { "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" }, v8 = { render: function(e, n) {
|
|
6538
6543
|
return r(), a("path", L8);
|
|
6539
6544
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, m8 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.55 15.0531H16.0997V18.503H13.7999V15.0531H10.35V12.7529H13.7999V9.303H16.0997V12.7529H19.55V15.0531ZM20.7001 5.85364H11.4997L9.19989 3.55383H2.29968C1.02325 3.55383 0.0113988 4.5772 0.0113988 5.85364L-0.00012207 19.6537C-0.00012207 20.9301 1.02325 21.9539 2.29968 21.9539H20.7001C21.9761 21.9539 22.9999 20.9301 22.9999 19.6537V8.15384C22.9999 6.87701 21.9761 5.85364 20.7001 5.85364Z" }, I8 = { render: function(e, n) {
|
|
@@ -6841,7 +6846,7 @@ const L8 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
6841
6846
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
6842
6847
|
var u5 = { addFile: v8, addFolder: I8, addUser: _8, alphabeticalAscending: H8, alphabeticalDescending: V8, alphabeticalSort: k8, alt: w8, angle: S8, api: T8, archive: N8, arrow: R8, attach: F8, backInTime: z8, bcf: Y8, building: X8, burgerMenu: K8, calendar: J8, caliper: et, camera: tt, cancelCamera: ot, check: lt, chevron: st, classificationCategorie: dt, classificationElement: Ct, click: ht, close: gt, cloud: Lt, color: mt, comment: Mt, cursor: yt, dateAscending: Dt, dateDescending: Bt, default: xt, delete: Zt, deniedFile: At, deploy: $t, detach: Ot, distance: Et, doubleChevron: Pt, down: zt, download: Yt, drag: Xt, edit: Kt, ellipsis: Jt, expanded: er, explosion: tr, export: or, exportIfc: lr, failed: sr, filter: dr, fitView: Cr, folder: hr, folderMove: gr, folderOpen: Lr, fullscreen: mr, grid: Mr, group: yr, hide: Dr, ifc: Br, ifcFile: xr, import: Zr, indexAscending: Ar, indexDescending: $r, information: Or, inProgressFile: Er, invitation: Pr, isolate: zr, key: Yr, left: Xr, linkedDocument: Kr, list: Jr, listManage: eo, location: to, lock: oo, logout: lo, measure: so, minus: uo, model3d: po, organization: bo, parameters: fo, path: vo, pieGraph: Io, plus: _o, project: Ho, quickSelect: Vo, readonlyFolder: ko, redo: wo, reduced: So, refresh: To, reprocessIfc: No, reset: Ro, right: Fo, rules: Uo, sandglass: Go, save: Wo, screenConfig: jo, screenshot: qo, search: Qo, section: na, settings: ra, share: aa, show: ia, showSelected: ca, socotec: ua, space: pa, split: ba, storey: fa, success: va, surface: Ia, swap: _a, synchro2d: Ha, system: Va, tag: xa, tree: Za, unarchive: Aa, undo: $a, union: Oa, up: Ea, user: Pa, validate: za, validatedFile: Ya, versioning: ja, video: qa, visa: Qa, warning: nl, windowBottom: rl, windowed: al, windowLeft: il, windowRight: cl, windowTop: ul, zone: pl, bcfPolychrome: bl, createWindowPolychrome: fl, docInfoPolychrome: vl, fileDwgPolychrome: Il, fileIfcPolychrome: _l, filePdfPolychrome: Hl, filePlanPolychrome: Vl, folderPolychrome: kl, structurePolychrome: wl, viewer2dPolychrome: Sl, viewer3dPolychrome: Tl }, $l = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
6843
6848
|
const C5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
6844
|
-
var
|
|
6849
|
+
var f1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
6845
6850
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
6846
6851
|
}(u5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(u5).includes(e) }, color: { type: String, default: "default", validator: (e) => $l.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(C5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
6847
6852
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
@@ -6852,7 +6857,7 @@ var g1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
6852
6857
|
return this.customSize ? this.customSize : C5[this.size];
|
|
6853
6858
|
} } };
|
|
6854
6859
|
const Nl = ["fill", "color"];
|
|
6855
|
-
function
|
|
6860
|
+
function m1(e, n) {
|
|
6856
6861
|
n === void 0 && (n = {});
|
|
6857
6862
|
var o = n.insertAt;
|
|
6858
6863
|
if (e && typeof document < "u") {
|
|
@@ -6860,7 +6865,7 @@ function v1(e, n) {
|
|
|
6860
6865
|
s.type = "text/css", o === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
6861
6866
|
}
|
|
6862
6867
|
}
|
|
6863
|
-
|
|
6868
|
+
m1(`/* base COLORS --------------------------------------------- */
|
|
6864
6869
|
/* colors BRAND */
|
|
6865
6870
|
/* colors GREY SHADES - NEUTRAL */
|
|
6866
6871
|
/* color TEXT */
|
|
@@ -6929,7 +6934,7 @@ html[data-v-1312d4d1] {
|
|
|
6929
6934
|
/* base FONTS -------------------------------------- */
|
|
6930
6935
|
--primary-font: "roboto", sans-serif;
|
|
6931
6936
|
}`);
|
|
6932
|
-
|
|
6937
|
+
m1(`.icon-fill--black {
|
|
6933
6938
|
fill: var(--color-black);
|
|
6934
6939
|
}
|
|
6935
6940
|
.icon-fill--default {
|
|
@@ -7012,16 +7017,16 @@ v1(`.icon-fill--black {
|
|
|
7012
7017
|
}
|
|
7013
7018
|
.icon-stroke--white {
|
|
7014
7019
|
stroke: var(--color-white);
|
|
7015
|
-
}`),
|
|
7016
|
-
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(
|
|
7017
|
-
},
|
|
7018
|
-
var Ol = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
7020
|
+
}`), f1.render = function(e, n, o, l, s, i) {
|
|
7021
|
+
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(u1(`bimdata-icon-${o.name}`)))], 14, Nl);
|
|
7022
|
+
}, f1.__scopeId = "data-v-1312d4d1", f1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
7023
|
+
var Ol = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), D1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => Ol.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
7019
7024
|
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 };
|
|
7020
7025
|
}, style() {
|
|
7021
7026
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
7022
7027
|
} } };
|
|
7023
7028
|
const Rl = ["color"];
|
|
7024
|
-
|
|
7029
|
+
m1(`/* base COLORS --------------------------------------------- */
|
|
7025
7030
|
/* colors BRAND */
|
|
7026
7031
|
/* colors GREY SHADES - NEUTRAL */
|
|
7027
7032
|
/* color TEXT */
|
|
@@ -7179,7 +7184,7 @@ html[data-v-3f903003] {
|
|
|
7179
7184
|
.primary-font[data-v-3f903003] {
|
|
7180
7185
|
font-family: "roboto", sans-serif;
|
|
7181
7186
|
}`);
|
|
7182
|
-
|
|
7187
|
+
m1(`.bimdata-btn {
|
|
7183
7188
|
padding: 0 var(--spacing-unit);
|
|
7184
7189
|
height: -webkit-fit-content;
|
|
7185
7190
|
height: -moz-fit-content;
|
|
@@ -7482,9 +7487,9 @@ v1(`.bimdata-btn {
|
|
|
7482
7487
|
.bimdata-btn__ghost:disabled {
|
|
7483
7488
|
color: var(--color-silver-dark);
|
|
7484
7489
|
cursor: auto;
|
|
7485
|
-
}`),
|
|
7490
|
+
}`), D1.render = function(e, n, o, l, s, i) {
|
|
7486
7491
|
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: y(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, Rl);
|
|
7487
|
-
},
|
|
7492
|
+
}, D1.__scopeId = "data-v-3f903003", D1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
7488
7493
|
const El = { useUtc: !1, getFullYear(e) {
|
|
7489
7494
|
return this.useUtc ? e.getUTCFullYear() : e.getFullYear();
|
|
7490
7495
|
}, getMonth(e) {
|
|
@@ -7517,8 +7522,8 @@ const El = { useUtc: !1, getFullYear(e) {
|
|
|
7517
7522
|
throw TypeError("Invalid Type");
|
|
7518
7523
|
return n[this.getDay(e)];
|
|
7519
7524
|
}, getDayFromAbbr(e) {
|
|
7520
|
-
for (let n = 0; n <
|
|
7521
|
-
if (e.toLowerCase() ===
|
|
7525
|
+
for (let n = 0; n < _1.days.length; n += 1)
|
|
7526
|
+
if (e.toLowerCase() === _1.days[n].toLowerCase())
|
|
7522
7527
|
return n;
|
|
7523
7528
|
throw TypeError("Invalid week day");
|
|
7524
7529
|
}, getMonthName(e, n) {
|
|
@@ -7552,10 +7557,10 @@ const El = { useUtc: !1, getFullYear(e) {
|
|
|
7552
7557
|
default:
|
|
7553
7558
|
return "th";
|
|
7554
7559
|
}
|
|
7555
|
-
}, formatDate(e, n, o =
|
|
7560
|
+
}, formatDate(e, n, o = _1) {
|
|
7556
7561
|
const l = this.getFullYear(e), s = this.getMonth(e) + 1, i = this.getDate(e), c = { d: i, dd: `0${i}`.slice(-2), E: this.getDayNameAbbr(e, o.days), o: this.getNthSuffix(this.getDate(e)), M: s, MM: `0${s}`.slice(-2), MMM: this.getMonthNameAbbr(this.getMonth(e), o.monthsAbbr), MMMM: this.getMonthName(this.getMonth(e), o.months), yy: String(l).slice(2), yyyy: l };
|
|
7557
7562
|
return n.replace(/y{4}|y{2}|M{1,4}|d{1,2}|o|E/g, (u) => c[u]);
|
|
7558
|
-
}, parseDate(e, n, o =
|
|
7563
|
+
}, parseDate(e, n, o = _1, l = null) {
|
|
7559
7564
|
if (!e || !n)
|
|
7560
7565
|
return e;
|
|
7561
7566
|
if (l)
|
|
@@ -7567,25 +7572,25 @@ const El = { useUtc: !1, getFullYear(e) {
|
|
|
7567
7572
|
return d(c);
|
|
7568
7573
|
}(e, n, l);
|
|
7569
7574
|
const s = (({ dateStr: c, formatStr: u, translation: d, time: C }) => {
|
|
7570
|
-
const L = u.match(/-|\/|\s|\./) || ["-"],
|
|
7571
|
-
for (let I = 0; I <
|
|
7572
|
-
if (/yyyy/i.test(
|
|
7573
|
-
|
|
7574
|
-
else if (/mmmm/i.test(
|
|
7575
|
-
|
|
7576
|
-
else if (/mmm/i.test(
|
|
7577
|
-
|
|
7578
|
-
else if (/mm/i.test(
|
|
7579
|
-
|
|
7580
|
-
else if (/m/i.test(
|
|
7581
|
-
|
|
7582
|
-
else if (/dd/i.test(
|
|
7583
|
-
|
|
7584
|
-
else if (/d/i.test(
|
|
7585
|
-
const k =
|
|
7586
|
-
|
|
7575
|
+
const L = u.match(/-|\/|\s|\./) || ["-"], h = u.split(L[0]), m = c.split(L[0]), M = [new Date().getFullYear().toString(), "01", "01"];
|
|
7576
|
+
for (let I = 0; I < h.length; I += 1)
|
|
7577
|
+
if (/yyyy/i.test(h[I]))
|
|
7578
|
+
M[0] = m[I];
|
|
7579
|
+
else if (/mmmm/i.test(h[I]))
|
|
7580
|
+
M[1] = d.getMonthByName(m[I]);
|
|
7581
|
+
else if (/mmm/i.test(h[I]))
|
|
7582
|
+
M[1] = d.getMonthByAbbrName(m[I]);
|
|
7583
|
+
else if (/mm/i.test(h[I]))
|
|
7584
|
+
M[1] = m[I];
|
|
7585
|
+
else if (/m/i.test(h[I]))
|
|
7586
|
+
M[1] = m[I];
|
|
7587
|
+
else if (/dd/i.test(h[I]))
|
|
7588
|
+
M[2] = m[I];
|
|
7589
|
+
else if (/d/i.test(h[I])) {
|
|
7590
|
+
const k = m[I].replace(/st|rd|nd|th/g, "");
|
|
7591
|
+
M[2] = k < 10 ? `0${k}` : `${k}`;
|
|
7587
7592
|
}
|
|
7588
|
-
return `${
|
|
7593
|
+
return `${M.join("-")}${C}`;
|
|
7589
7594
|
})({ dateStr: e, formatStr: n, translation: o, time: this.getTime() }), i = Date.parse(s);
|
|
7590
7595
|
return Number.isNaN(i) ? e : new Date(i);
|
|
7591
7596
|
}, getTime() {
|
|
@@ -7602,7 +7607,7 @@ const El = { useUtc: !1, getFullYear(e) {
|
|
|
7602
7607
|
}, getNewDateObject(e) {
|
|
7603
7608
|
return e ? this.resetDateTime(new Date(e)) : this.resetDateTime(new Date());
|
|
7604
7609
|
} };
|
|
7605
|
-
var d2 = (e) => ({ ...El, useUtc: e }), j2 = { props: { autofocus: { type: Boolean, default: !1 }, bootstrapStyling: { type: Boolean, default: !1 }, clearButton: { type: Boolean, default: !1 }, clearButtonIcon: { type: String, default: "" }, calendarButton: { type: Boolean, default: !1 }, calendarButtonIcon: { type: String, default: "" }, calendarButtonIconContent: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, format: { type: [String, Function], default: "dd MMM yyyy" }, id: { type: String, default: null }, inline: { type: Boolean, default: !1 }, inputClass: { type: [String, Object, Array], default: null }, maxlength: { type: [Number, String], default: null }, name: { type: String, default: null }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, parser: { type: Function, default: null }, pattern: { type: String, default: null }, placeholder: { type: String, default: null }, refName: { type: String, default: "" }, required: { type: Boolean, default: !1 }, showCalendarOnButtonClick: { type: Boolean, default: !1 }, showCalendarOnFocus: { type: Boolean, default: !1 }, tabIndex: { type: [Number, String], default: null }, typeable: { type: Boolean, default: !1 }, useUtc: { type: Boolean, default: !1 } }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/inputProps.vue" }, Z2 = { name: "DateInput", components: { BIMDataIcon:
|
|
7610
|
+
var d2 = (e) => ({ ...El, useUtc: e }), j2 = { props: { autofocus: { type: Boolean, default: !1 }, bootstrapStyling: { type: Boolean, default: !1 }, clearButton: { type: Boolean, default: !1 }, clearButtonIcon: { type: String, default: "" }, calendarButton: { type: Boolean, default: !1 }, calendarButtonIcon: { type: String, default: "" }, calendarButtonIconContent: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, format: { type: [String, Function], default: "dd MMM yyyy" }, id: { type: String, default: null }, inline: { type: Boolean, default: !1 }, inputClass: { type: [String, Object, Array], default: null }, maxlength: { type: [Number, String], default: null }, name: { type: String, default: null }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, parser: { type: Function, default: null }, pattern: { type: String, default: null }, placeholder: { type: String, default: null }, refName: { type: String, default: "" }, required: { type: Boolean, default: !1 }, showCalendarOnButtonClick: { type: Boolean, default: !1 }, showCalendarOnFocus: { type: Boolean, default: !1 }, tabIndex: { type: [Number, String], default: null }, typeable: { type: Boolean, default: !1 }, useUtc: { type: Boolean, default: !1 } }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/inputProps.vue" }, Z2 = { name: "DateInput", components: { BIMDataIcon: f1, BIMDataButton: D1 }, mixins: [j2], props: { isOpen: { type: Boolean, default: !1 }, selectedDate: { type: Date, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7606
7611
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils: d2(this.useUtc) };
|
|
7607
7612
|
}, computed: { computedInputClass() {
|
|
7608
7613
|
return this.inputClass;
|
|
@@ -7667,14 +7672,16 @@ var d2 = (e) => ({ ...El, useUtc: e }), j2 = { props: { autofocus: { type: Boole
|
|
|
7667
7672
|
const Fl = ["disabled"], Pl = { key: 0 }, Ul = ["for"], zl = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7668
7673
|
Z2.render = function(e, n, o, l, s, i) {
|
|
7669
7674
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7670
|
-
return r(), a("div", { class: V({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), v(" Calendar Button "), e.calendarButton ? (r(), a("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: V(e.calendarButtonIcon) }, [Z(
|
|
7675
|
+
return r(), a("div", { class: V({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), v(" Calendar Button "), e.calendarButton ? (r(), a("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: V(e.calendarButtonIcon) }, [Z(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? v("v-if", !0) : (r(), a("span", Pl, "\u2026"))], 2)])])], 40, Fl)) : v("v-if", !0), v(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, Ul), t("input", { id: e.id, ref: e.refName, autocomplete: "off", autofocus: e.autofocus, class: V([i.computedInputClass, { required: o.required }]), clearButton: e.clearButton, disabled: e.disabled, maxlength: e.maxlength, name: e.name, pattern: e.pattern, readonly: !e.typeable, required: o.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(w((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = x(w((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = x(w((...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, zl), v(" Clear Button "), e.clearButton && o.selectedDate ? (r(), D(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clearDate }, { default: f(() => [_(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : v("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7671
7676
|
}, Z2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInput.vue";
|
|
7672
|
-
var S2 = { name: "DateInput", components: { BIMDataIcon:
|
|
7677
|
+
var S2 = { name: "DateInput", components: { BIMDataIcon: f1, BIMDataButton: D1 }, mixins: [j2], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7673
7678
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: d2(this.useUtc) };
|
|
7674
7679
|
}, computed: { computedInputClass() {
|
|
7675
7680
|
return this.inputClass;
|
|
7676
7681
|
}, formattedValue() {
|
|
7677
7682
|
return this.formatDates(this.selectedDates);
|
|
7683
|
+
}, noDateSelected() {
|
|
7684
|
+
return this.selectedDates.every((e) => e === null);
|
|
7678
7685
|
} }, watch: { showCalendarOnFocus: { immediate: !0, handler(e) {
|
|
7679
7686
|
e && (this.shouldToggleOnFocus = !this.isOpen);
|
|
7680
7687
|
} }, isOpen(e, n) {
|
|
@@ -7730,7 +7737,7 @@ var S2 = { name: "DateInput", components: { BIMDataIcon: g1, BIMDataButton: H1 }
|
|
|
7730
7737
|
const Gl = ["disabled"], Yl = { key: 0 }, Wl = ["for"], Xl = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7731
7738
|
S2.render = function(e, n, o, l, s, i) {
|
|
7732
7739
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7733
|
-
return r(), a("div", { class: V({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), v(" Calendar Button "), e.calendarButton ? (r(), a("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: V(e.calendarButtonIcon) }, [Z(
|
|
7740
|
+
return r(), a("div", { class: V({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), v(" Calendar Button "), e.calendarButton ? (r(), a("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: V(e.calendarButtonIcon) }, [Z(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? v("v-if", !0) : (r(), a("span", Yl, "\u2026"))], 2)])])], 40, Gl)) : v("v-if", !0), v(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, Wl), t("input", { id: e.id, ref: e.refName, autocomplete: "off", autofocus: e.autofocus, class: V([i.computedInputClass, { required: o.required }]), clearButton: e.clearButton, disabled: e.disabled, maxlength: e.maxlength, name: e.name, pattern: e.pattern, readonly: !e.typeable, required: o.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(w((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = x(w((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = x(w((...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, Xl), 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: f(() => [_(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : v("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7734
7741
|
}, S2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInputRange.vue";
|
|
7735
7742
|
const jl = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isDefined(e, n) {
|
|
7736
7743
|
return this.configExists(e) && e[n] !== void 0;
|
|
@@ -7746,7 +7753,7 @@ const jl = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isD
|
|
|
7746
7753
|
return { day: o.getDate(l), month: o.getMonth(l), year: o.getFullYear(l) };
|
|
7747
7754
|
} };
|
|
7748
7755
|
var A2 = (e) => ({ ...jl, utils: e });
|
|
7749
|
-
class
|
|
7756
|
+
class a1 {
|
|
7750
7757
|
constructor(n, o) {
|
|
7751
7758
|
this._utils = n, this._disabledDates = o;
|
|
7752
7759
|
}
|
|
@@ -7985,7 +7992,7 @@ var Kl = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
7985
7992
|
}, updateTabbableCell() {
|
|
7986
7993
|
const e = this.hasClass(document.activeElement, "cell");
|
|
7987
7994
|
(!this.tabbableCell || e) && this.setTabbableCell();
|
|
7988
|
-
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" }, T2 = { name: "PickerHeader", components: { BIMDataIcon:
|
|
7995
|
+
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" }, T2 = { name: "PickerHeader", components: { BIMDataIcon: f1 }, props: { isNextDisabled: { type: Boolean, required: !0 }, isPreviousDisabled: { type: Boolean, required: !0 } }, data: () => ({ previousPage: { incrementBy: -1, focusRefs: ["prev"] }, nextPage: { incrementBy: 1, focusRefs: ["next"] }, doublePreviousPage: { incrementBy: -12, focusRefs: ["doublePrev"] }, doubleNextPage: { incrementBy: 12, focusRefs: ["doubleNext"] } }), methods: { arrowLeftPrev() {
|
|
7989
7996
|
this.$emit("page-change", this.previousPage);
|
|
7990
7997
|
}, arrowRightPrev() {
|
|
7991
7998
|
this.$emit("set-focus", ["up", "next", "tabbableCell"]);
|
|
@@ -7999,16 +8006,16 @@ var Kl = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
7999
8006
|
const ql = ["disabled"], Jl = ["disabled"], Ql = ["disabled"], ei = ["disabled"];
|
|
8000
8007
|
T2.render = function(e, n, o, l, s, i) {
|
|
8001
8008
|
const c = g("BIMDataIcon");
|
|
8002
|
-
return r(), a("header", null, [e.$attrs.view === "day" ? (r(), a("button", { key: 0, ref: "doublePrev", class: "doublePrev", disabled: o.isPreviousDisabled, type: "button", onClick: n[0] || (n[0] = w((u) => e.$emit("page-change", s.doublePreviousPage), ["stop"])), onKeydown: [n[1] || (n[1] =
|
|
8009
|
+
return r(), a("header", null, [e.$attrs.view === "day" ? (r(), a("button", { key: 0, ref: "doublePrev", class: "doublePrev", disabled: o.isPreviousDisabled, type: "button", onClick: n[0] || (n[0] = w((u) => e.$emit("page-change", s.doublePreviousPage), ["stop"])), onKeydown: [n[1] || (n[1] = x(w((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[2] || (n[2] = x(w((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[3] || (n[3] = x(w((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[4] || (n[4] = x(w((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "doubleChevron", size: "xxxs", fill: "", color: "default", rotate: 180 })])], 40, ql)) : v("v-if", !0), t("button", { ref: "prev", class: "prev", disabled: o.isPreviousDisabled, type: "button", onClick: n[5] || (n[5] = w((u) => e.$emit("page-change", s.previousPage), ["stop"])), onKeydown: [n[6] || (n[6] = x(w((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[7] || (n[7] = x(w((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[8] || (n[8] = x(w((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[9] || (n[9] = x(w((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "chevron", size: "xxxs", fill: "", color: "default", rotate: 180 })])], 40, Jl), _(e.$slots, "default"), t("button", { ref: "next", class: "next", disabled: o.isNextDisabled, type: "button", onClick: n[10] || (n[10] = w((u) => e.$emit("page-change", s.nextPage), ["stop"])), onKeydown: [n[11] || (n[11] = x(w((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[12] || (n[12] = x(w((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[13] || (n[13] = x(w((...u) => i.arrowLeftNext && i.arrowLeftNext(...u), ["prevent"]), ["left"])), n[14] || (n[14] = x(w((...u) => i.arrowRightNext && i.arrowRightNext(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "nextIntervalBtn", {}, () => [p(c, { name: "chevron", size: "xxxs", fill: "", color: "default" })])], 40, Ql), e.$attrs.view === "day" ? (r(), a("button", { key: 1, ref: "doubleNext", class: "doubleNext", disabled: o.isPreviousDisabled, type: "button", onClick: n[15] || (n[15] = w((u) => e.$emit("page-change", s.doubleNextPage), ["stop"])), onKeydown: [n[16] || (n[16] = x(w((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[17] || (n[17] = x(w((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[18] || (n[18] = x(w((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[19] || (n[19] = x(w((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "doubleChevron", size: "xxxs", fill: "", color: "default" })])], 40, ei)) : v("v-if", !0)]);
|
|
8003
8010
|
}, T2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerHeader.vue";
|
|
8004
8011
|
var K2 = { components: { PickerHeader: T2 }, inheritAttrs: !1, props: { bootstrapStyling: { type: Boolean, default: !1 }, disabledDates: { type: Object, default: () => ({}) }, isTypeable: { type: Boolean, default: !1 }, isUpDisabled: { type: Boolean, default: !1 }, isMinimumView: { type: Boolean, default: !0 }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, pageDate: { type: Date, default: null }, selectedDate: { type: Date, default: null }, showHeader: { type: Boolean, default: !0 }, slideDuration: { type: Number, default: 250 }, tabbableCellId: { type: Number, default: null }, transitionName: { type: String, default: "" }, translation: { type: Object, default: () => ({}) }, useUtc: { type: Boolean, default: !1 }, view: { type: String, default: "day" } }, data() {
|
|
8005
8012
|
return { utils: d2(this.useUtc) };
|
|
8006
8013
|
}, computed: { disabledConfig() {
|
|
8007
|
-
return new
|
|
8014
|
+
return new a1(this.utils, this.disabledDates).config;
|
|
8008
8015
|
}, earliestPossibleDate() {
|
|
8009
|
-
return new
|
|
8016
|
+
return new a1(this.utils, this.disabledDates).getEarliestPossibleDate(this.disabledDates.to);
|
|
8010
8017
|
}, latestPossibleDate() {
|
|
8011
|
-
return new
|
|
8018
|
+
return new a1(this.utils, this.disabledDates).getLatestPossibleDate(this.disabledDates.from);
|
|
8012
8019
|
}, pageYear() {
|
|
8013
8020
|
return this.utils.getFullYear(this.pageDate);
|
|
8014
8021
|
} }, methods: { addMoreSteps: (e) => e.stepsRemaining <= 0 && Math.abs(e.delta) > 1 ? Math.abs(e.delta) : e.stepsRemaining, changePage({ incrementBy: e, focusRefs: n }) {
|
|
@@ -8067,7 +8074,7 @@ class p5 {
|
|
|
8067
8074
|
}
|
|
8068
8075
|
isDateDisabled(n) {
|
|
8069
8076
|
const o = this._utils, l = this._disabledDates;
|
|
8070
|
-
return new
|
|
8077
|
+
return new a1(o, l).isDateDisabled(n);
|
|
8071
8078
|
}
|
|
8072
8079
|
isHighlightingNotPossible(n) {
|
|
8073
8080
|
const { config: o } = this;
|
|
@@ -8084,7 +8091,7 @@ class p5 {
|
|
|
8084
8091
|
return o.to() && o.from() || o.specificDate() || o.daysOfWeek() || o.daysOfMonth() || o.customPredictor();
|
|
8085
8092
|
}
|
|
8086
8093
|
}
|
|
8087
|
-
var
|
|
8094
|
+
var k1 = { name: "PickerCells", props: { cells: { type: Array, required: !0 }, showEdgeDates: { type: Boolean, default: !0 }, tabbableCellId: { type: Number, default: null }, view: { type: String, validator: (e) => ["day", "month", "year"].includes(e), required: !0 } }, computed: { columns() {
|
|
8088
8095
|
return this.view === "day" ? 7 : 3;
|
|
8089
8096
|
} }, methods: { cellClasses(e) {
|
|
8090
8097
|
return ["cell", this.view, { disabled: e.isDisabled, "highlight-start": e.isHighlightStart, "highlight-end": e.isHighlightEnd, highlighted: e.isHighlighted, muted: e.isPreviousMonth || e.isNextMonth, open: e.isOpenDate, sat: e.isSaturday, sun: e.isSunday, selected: this.showEdgeDates ? e.isSelected : e.isSelected && !e.isPreviousMonth && !e.isNextMonth, today: this.showEdgeDates ? e.isToday : e.isToday && !e.isPreviousMonth && !e.isNextMonth, weekend: e.isWeekend }];
|
|
@@ -8094,15 +8101,15 @@ var B1 = { name: "PickerCells", props: { cells: { type: Array, required: !0 }, s
|
|
|
8094
8101
|
return this.tabbableCellId ? n === this.tabbableCellId : e.isOpenDate;
|
|
8095
8102
|
} } };
|
|
8096
8103
|
const ni = { class: "picker-cells" }, ti = ["id", "dataTestTabbableCell", "dataTestOpenDate", "dataTestTodayCell", "disabled", "onClick", "onKeydown", "onMouseover"];
|
|
8097
|
-
B1.render = function(e, n, o, l, s, i) {
|
|
8098
|
-
return r(), a("div", ni, [(r(!0), a(O, null, U(o.cells, (c, u) => (r(), a("button", { key: c.timestamp, ref_for: !0, ref: c.isOpenDate ? "openDate" : null, class: V(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: [B(w((d) => i.handleArrow(u, -i.columns), ["prevent"]), ["up"]), B(w((d) => i.handleArrow(u, i.columns), ["prevent"]), ["down"]), B(w((d) => i.handleArrow(u), ["prevent"]), ["left"]), B(w((d) => i.handleArrow(u), ["prevent"]), ["right"])], onMouseover: (d) => e.$emit("hover", c) }, [_(e.$slots, "default", { cell: c })], 42, ti))), 128))]);
|
|
8099
|
-
}, B1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8100
|
-
var k1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8101
|
-
const ri = ["disabled"];
|
|
8102
8104
|
k1.render = function(e, n, o, l, s, i) {
|
|
8103
|
-
return r(), a("button", {
|
|
8104
|
-
}, k1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/
|
|
8105
|
-
var
|
|
8105
|
+
return r(), a("div", ni, [(r(!0), a(O, null, U(o.cells, (c, u) => (r(), a("button", { key: c.timestamp, ref_for: !0, ref: c.isOpenDate ? "openDate" : null, class: V(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(w((d) => i.handleArrow(u, -i.columns), ["prevent"]), ["up"]), x(w((d) => i.handleArrow(u, i.columns), ["prevent"]), ["down"]), x(w((d) => i.handleArrow(u), ["prevent"]), ["left"]), x(w((d) => i.handleArrow(u), ["prevent"]), ["right"])], onMouseover: (d) => e.$emit("hover", c) }, [_(e.$slots, "default", { cell: c })], 42, ti))), 128))]);
|
|
8106
|
+
}, k1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8107
|
+
var x1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8108
|
+
const ri = ["disabled"];
|
|
8109
|
+
x1.render = function(e, n, o, l, s, i) {
|
|
8110
|
+
return r(), a("button", { class: "bimdata-datepicker__up", disabled: o.isDisabled, type: "button", onClick: n[0] || (n[0] = (c) => e.$emit("select")), onKeydown: [n[1] || (n[1] = x(w((c) => e.$emit("set-focus", ["tabbableCell"]), ["prevent"]), ["down"])), n[2] || (n[2] = x(w((c) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[3] || (n[3] = x(w((c) => e.$emit("set-focus"), ["prevent"]), ["left"])), n[4] || (n[4] = x(w((c) => e.$emit("set-focus"), ["prevent"]), ["right"]))] }, [_(e.$slots, "default")], 40, ri);
|
|
8111
|
+
}, x1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/UpButton.vue";
|
|
8112
|
+
var $2 = { name: "PickerDay", components: { PickerCells: k1, UpButton: x1 }, mixins: [K2], props: { selectedToDate: { type: Date, default: null }, isDateRange: { type: Boolean, default: !1 }, dayCellContent: { type: Function, default: (e) => e.date }, firstDayOfWeek: { type: String, default: "sun" }, showFullMonthName: { type: Boolean, default: !1 }, showEdgeDates: { type: Boolean, default: !0 } }, data: () => ({ highlightedToDate: null }), computed: { cells() {
|
|
8106
8113
|
const e = [], n = this.daysFromPrevMonth + this.daysInMonth + this.daysFromNextMonth, o = this.firstCellDate();
|
|
8107
8114
|
for (let l = 0; l < n; l += 1)
|
|
8108
8115
|
e.push(this.makeDay(l, o)), this.utils.setDate(o, this.utils.getDate(o) + 1);
|
|
@@ -8142,7 +8149,7 @@ var $2 = { name: "PickerDay", components: { PickerCells: B1, UpButton: k1 }, mix
|
|
|
8142
8149
|
const e = this.pageDate, n = this.useUtc ? new Date(Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), 1)) : new Date(e.getFullYear(), e.getMonth(), 1, e.getHours(), e.getMinutes());
|
|
8143
8150
|
return new Date(n.setDate(n.getDate() - this.daysFromPrevMonth));
|
|
8144
8151
|
}, isDisabledDate(e) {
|
|
8145
|
-
return new
|
|
8152
|
+
return new a1(this.utils, this.disabledDates).isDateDisabled(e);
|
|
8146
8153
|
}, isHighlightedDate(e) {
|
|
8147
8154
|
const n = this.utils.resetDateTime(e);
|
|
8148
8155
|
return this.highlightedRange.isDateHighlighted(n);
|
|
@@ -8163,9 +8170,9 @@ var $2 = { name: "PickerDay", components: { PickerCells: B1, UpButton: k1 }, mix
|
|
|
8163
8170
|
const oi = { key: 0 }, ai = { class: "day-header" }, li = { class: "cells-wrapper" }, ii = { key: 2 };
|
|
8164
8171
|
$2.render = function(e, n, o, l, s, i) {
|
|
8165
8172
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8166
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), a("div", oi, [_(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: f(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [_(e.$slots, "nextIntervalBtn")]), default: f(() => [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: f(() => [Z(
|
|
8173
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), a("div", oi, [_(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: f(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [_(e.$slots, "nextIntervalBtn")]), default: f(() => [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: f(() => [Z(b(i.pageTitleDay), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : v("v-if", !0), t("div", null, [t("div", ai, [(r(!0), a(O, null, U(i.daysOfWeek, (C) => (r(), a("span", { key: C }, b(C), 1))), 128))]), t("div", li, [p(t1, { name: e.transitionName }, { default: f(() => [(r(), D(d, { ref: "cells", key: i.pageTitleDay, cells: i.cells, showEdgeDates: o.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: f(({ cell: C }) => [_(e.$slots, "dayCellContent", { cell: C }, () => [Z(b(o.dayCellContent(C)), 1)])]), _: 3 }, 8, ["cells", "showEdgeDates", "tabbableCellId"]))]), _: 3 }, 8, ["name"])])]), e.$slots.calendarFooterDay ? (r(), a("div", ii, [_(e.$slots, "calendarFooterDay")])) : v("v-if", !0)]);
|
|
8167
8174
|
}, $2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerDay.vue";
|
|
8168
|
-
var N2 = { name: "PickerMonth", components: { PickerCells:
|
|
8175
|
+
var N2 = { name: "PickerMonth", components: { PickerCells: k1, UpButton: x1 }, mixins: [K2], computed: { cells() {
|
|
8169
8176
|
const e = this.pageDate, n = [], o = 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));
|
|
8170
8177
|
for (let s = 0; s < 12; s += 1)
|
|
8171
8178
|
n.push({ month: this.utils.getMonthName(s, this.translation.months), timestamp: o.valueOf(), isDisabled: this.isDisabledMonth(o), isOpenDate: this.isOpenMonth(o), isSelected: this.isSelectedMonth(o), isToday: this.utils.compareDates(o, l) }), this.utils.setMonth(o, this.utils.getMonth(o) + 1);
|
|
@@ -8178,7 +8185,7 @@ var N2 = { name: "PickerMonth", components: { PickerCells: B1, UpButton: k1 }, m
|
|
|
8178
8185
|
const { yearSuffix: e } = this.translation;
|
|
8179
8186
|
return `${this.pageYear}${e}`;
|
|
8180
8187
|
} }, methods: { isDisabledMonth(e) {
|
|
8181
|
-
return new
|
|
8188
|
+
return new a1(this.utils, this.disabledDates).isMonthDisabled(e);
|
|
8182
8189
|
}, isOpenMonth(e) {
|
|
8183
8190
|
if (!this.openDate)
|
|
8184
8191
|
return !1;
|
|
@@ -8191,9 +8198,9 @@ var N2 = { name: "PickerMonth", components: { PickerCells: B1, UpButton: k1 }, m
|
|
|
8191
8198
|
const si = { key: 0 }, ci = { class: "cells-wrapper" }, di = { key: 2 };
|
|
8192
8199
|
N2.render = function(e, n, o, l, s, i) {
|
|
8193
8200
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8194
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), a("div", si, [_(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: f(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [_(e.$slots, "nextIntervalBtn")]), default: f(() => [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: f(() => [Z(
|
|
8201
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), a("div", si, [_(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: f(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [_(e.$slots, "nextIntervalBtn")]), default: f(() => [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: f(() => [Z(b(i.pageTitleMonth), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : v("v-if", !0), t("div", ci, [p(t1, { name: e.transitionName }, { default: f(() => [(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: f(({ cell: C }) => [Z(b(C.month), 1)]), _: 1 }, 8, ["cells", "tabbableCellId"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterMonth ? (r(), a("div", di, [_(e.$slots, "calendarFooterMonth")])) : v("v-if", !0)]);
|
|
8195
8202
|
}, N2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerMonth.vue";
|
|
8196
|
-
var O2 = { name: "PickerYear", components: { PickerCells:
|
|
8203
|
+
var O2 = { name: "PickerYear", components: { PickerCells: k1, UpButton: x1 }, mixins: [K2], props: { yearRange: { type: Number, default: 12 } }, computed: { cells() {
|
|
8197
8204
|
const e = this.pageDate, n = [], o = 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(o, e.getUTCMonth(), e.getUTCDate())) : new Date(o, e.getMonth(), e.getDate(), e.getHours(), e.getMinutes()), s = this.utils.getFullYear(this.utils.getNewDateObject());
|
|
8198
8205
|
for (let c = 0; c < this.yearRange; c += 1)
|
|
8199
8206
|
n.push({ year: this.utils.getFullYear(l), timestamp: l.valueOf(), isDisabled: this.isDisabledYear(l), isOpenDate: this.isOpenYear(l), isSelected: this.isSelectedYear(l), isToday: l.getFullYear() === s }), this.utils.setFullYear(l, this.utils.getFullYear(l) + 1);
|
|
@@ -8213,7 +8220,7 @@ var O2 = { name: "PickerYear", components: { PickerCells: B1, UpButton: k1 }, mi
|
|
|
8213
8220
|
const { yearSuffix: e } = this.translation;
|
|
8214
8221
|
return `${this.pageDecadeStart} - ${this.pageDecadeEnd}${e}`;
|
|
8215
8222
|
} }, methods: { isDisabledYear(e) {
|
|
8216
|
-
return new
|
|
8223
|
+
return new a1(this.utils, this.disabledDates).isYearDisabled(e);
|
|
8217
8224
|
}, isOpenYear(e) {
|
|
8218
8225
|
return this.openDate ? this.utils.getFullYear(this.openDate) === this.utils.getFullYear(e) : !1;
|
|
8219
8226
|
}, isSelectedYear(e) {
|
|
@@ -8223,10 +8230,10 @@ var O2 = { name: "PickerYear", components: { PickerCells: B1, UpButton: k1 }, mi
|
|
|
8223
8230
|
const ui = { key: 0 }, Ci = { class: "cells-wrapper" }, pi = { key: 2 };
|
|
8224
8231
|
O2.render = function(e, n, o, l, s, i) {
|
|
8225
8232
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8226
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), a("div", ui, [_(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: f(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [_(e.$slots, "nextIntervalBtn")]), default: f(() => [p(c, { ref: "up", "is-disabled": !0 }, { default: f(() => [Z(
|
|
8233
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), a("div", ui, [_(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: f(() => [_(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [_(e.$slots, "nextIntervalBtn")]), default: f(() => [p(c, { ref: "up", "is-disabled": !0 }, { default: f(() => [Z(b(i.pageTitleYear), 1)]), _: 1 }, 512)]), _: 3 }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : v("v-if", !0), t("div", Ci, [p(t1, { name: e.transitionName }, { default: f(() => [(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: f(({ cell: C }) => [Z(b(C.year), 1)]), _: 1 }, 8, ["cells", "tabbable-cell-id"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterYear ? (r(), a("div", pi, [_(e.$slots, "calendarFooterYear")])) : v("v-if", !0)]);
|
|
8227
8234
|
}, O2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerYear.vue";
|
|
8228
8235
|
const hi = ["beforeCalendarHeaderDay", "calendarFooterDay", "beforeCalendarHeaderMonth", "calendarFooterMonth", "beforeCalendarHeaderYear", "calendarFooterYear", "nextIntervalBtn", "prevIntervalBtn"];
|
|
8229
|
-
var
|
|
8236
|
+
var j1 = { components: { DateInput: Z2, DateInputRange: S2, PickerDay: $2, PickerMonth: N2, PickerYear: O2 }, mixins: [j2, Kl], 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() {
|
|
8230
8237
|
const e = d2(this.useUtc), n = e.getNewDateObject(this.openDate || null), o = e.setDate(n, 1);
|
|
8231
8238
|
return { calendarHeight: 0, calendarSlots: hi, isClickOutside: !1, globalDatepickerId: "", pageTimestamp: o, selectedDate: null, selectedToDate: null, slideDuration: 250, utils: e, view: "" };
|
|
8232
8239
|
}, computed: { lang() {
|
|
@@ -8328,7 +8335,7 @@ var X1 = { components: { DateInput: Z2, DateInputRange: S2, PickerDay: $2, Picke
|
|
|
8328
8335
|
}, hasClass: (e, n) => e && e.className.split(" ").includes(n), init() {
|
|
8329
8336
|
this.isInline && this.setInitialView(), this.setSlideDuration();
|
|
8330
8337
|
}, isDateDisabled(e) {
|
|
8331
|
-
return new
|
|
8338
|
+
return new a1(this.utils, this.disabledDates).isDateDisabled(e);
|
|
8332
8339
|
}, isResetFocus() {
|
|
8333
8340
|
if (!this.isOpen)
|
|
8334
8341
|
return !1;
|
|
@@ -8368,7 +8375,7 @@ var X1 = { components: { DateInput: Z2, DateInputRange: S2, PickerDay: $2, Picke
|
|
|
8368
8375
|
this.setPageDate(new Date(e.timestamp)), this.$emit(`changed-${this.view}`, e), this.setView(this.nextView.down);
|
|
8369
8376
|
}, ucFirst: (e) => e[0].toUpperCase() + e.substring(1) } };
|
|
8370
8377
|
const bi = ["id"], gi = { key: 2 }, fi = { key: 0 }, Li = { key: 1 };
|
|
8371
|
-
|
|
8378
|
+
m1(`/* base COLORS --------------------------------------------- */
|
|
8372
8379
|
/* colors BRAND */
|
|
8373
8380
|
/* colors GREY SHADES - NEUTRAL */
|
|
8374
8381
|
/* color TEXT */
|
|
@@ -8437,7 +8444,7 @@ html[data-v-0090dd57] {
|
|
|
8437
8444
|
/* base FONTS -------------------------------------- */
|
|
8438
8445
|
--primary-font: "roboto", sans-serif;
|
|
8439
8446
|
}`);
|
|
8440
|
-
|
|
8447
|
+
m1(`.slide-fade-up-enter-active,
|
|
8441
8448
|
.slide-fade-up-leave-active {
|
|
8442
8449
|
-webkit-transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
8443
8450
|
transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
@@ -8837,11 +8844,11 @@ v1(`.slide-fade-up-enter-active,
|
|
|
8837
8844
|
}
|
|
8838
8845
|
.bimdata-datepicker__calendar-button.input-group-prepend, .bimdata-datepicker__calendar-button.input-group-append {
|
|
8839
8846
|
padding: 0;
|
|
8840
|
-
}`),
|
|
8847
|
+
}`), j1.render = function(e, n, o, l, s, i) {
|
|
8841
8848
|
const c = g("DateInputRange"), u = g("DateInput");
|
|
8842
|
-
return r(), a("div", { id: i.datepickerId, ref: "datepicker", class: V(["bimdata-datepicker", [o.wrapperClass]]), onFocusin: n[10] || (n[10] = (d) => e.handleFocusIn(d)), onFocusout: n[11] || (n[11] = (d) => e.handleFocusOut(d)), onKeydown: n[12] || (n[12] =
|
|
8843
|
-
}, ["prevent"])), onFocusin: n[6] || (n[6] = w((d) => e.handleFocusIn(d), ["stop"])), onFocusout: n[7] || (n[7] = w((d) => e.handleFocusOut(d), ["stop"])), onKeydown: [n[8] || (n[8] =
|
|
8844
|
-
},
|
|
8849
|
+
return r(), a("div", { id: i.datepickerId, ref: "datepicker", class: V(["bimdata-datepicker", [o.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"])) }, [o.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: y(i.style) }, { beforeDateInput: f(() => [_(e.$slots, "beforeDateInput")]), afterDateInput: f(() => [_(e.$slots, "afterDateInput")]), clearBtn: f(() => [_(e.$slots, "clearBtn")]), calendarBtn: f(() => [_(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: y(i.style) }, { beforeDateInput: f(() => [_(e.$slots, "beforeDateInput")]), afterDateInput: f(() => [_(e.$slots, "afterDateInput")]), clearBtn: f(() => [_(e.$slots, "clearBtn")]), calendarBtn: f(() => [_(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(), a("div", gi, [p(t1, { name: "toggle", persisted: "" }, { default: f(() => [X(t("div", { class: V(["bimdata-datepicker__calendar", [i.pickerClasses, o.fixedPosition]]), onMousedown: n[5] || (n[5] = w(() => {
|
|
8850
|
+
}, ["prevent"])), onFocusin: n[6] || (n[6] = w((d) => e.handleFocusIn(d), ["stop"])), onFocusout: n[7] || (n[7] = w((d) => e.handleFocusOut(d), ["stop"])), onKeydown: [n[8] || (n[8] = x(w((...d) => i.resetOrClose && i.resetOrClose(...d), ["stop"]), ["esc"])), n[9] || (n[9] = x(w((d) => e.tabThroughNavigation(d), ["stop"]), ["tab"]))] }, [p(t1, { name: "view" }, { default: f(() => [(r(), a("div", { ref: "view", key: s.view }, [e.$slots.beforeCalendarHeader ? (r(), a("div", fi, [_(e.$slots, "beforeCalendarHeader")])) : v("v-if", !0), (r(), D(u1(i.picker), { ref: "picker", class: "picker-view", "day-cell-content": o.dayCellContent, disabledDates: o.disabledDates, firstDayOfWeek: o.firstDayOfWeek, typeable: e.typeable, isUpDisabled: i.isUpDisabled, isMinimumView: i.isMinimumView, openDate: e.openDate, pageDate: i.pageDate, selectedDate: s.selectedDate, selectedToDate: s.selectedToDate, isDateRange: o.isDateRange, showEdgeDates: o.showEdgeDates, fullMonthName: o.fullMonthName, showHeader: o.showHeader, slideDuration: s.slideDuration, tabbableCellId: e.tabbableCellId, transitionName: e.transitionName, translation: i.lang, useUtc: e.useUtc, view: s.view || i.computedInitialView, yearPickerRange: o.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: f(({ cell: d }) => [d ? _(e.$slots, "dayCellContent", { key: 0, cell: d }) : v("v-if", !0)]), _: 2 }, [U(s.calendarSlots, (d) => ({ name: d, fn: f(() => [_(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(), a("div", Li, [_(e.$slots, "calendarFooter")])) : v("v-if", !0)]))]), _: 3 })], 34), [[q, i.isOpen]])]), _: 3 })])) : v("v-if", !0)], 42, bi);
|
|
8851
|
+
}, j1.__scopeId = "data-v-0090dd57", j1.__file = "src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue";
|
|
8845
8852
|
var R2 = { 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() {
|
|
8846
8853
|
return `${this.color}`;
|
|
8847
8854
|
}, style() {
|
|
@@ -8854,10 +8861,10 @@ var R2 = { props: { component: { type: String, default: "p" }, display: { type:
|
|
|
8854
8861
|
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";
|
|
8855
8862
|
} } };
|
|
8856
8863
|
R2.render = function(e, n, o, l, s, i) {
|
|
8857
|
-
return r(), D(
|
|
8864
|
+
return r(), D(u1(o.component), { style: y(i.style), class: V(i.classes) }, { default: f(() => [_(e.$slots, "default")]), _: 3 }, 8, ["style", "class"]);
|
|
8858
8865
|
}, R2.__file = "src/BIMDataComponents/BIMDataText/BIMDataText.vue";
|
|
8859
|
-
var
|
|
8860
|
-
const vi = { class: "bimdata-loading" }, mi = ((e) => (
|
|
8866
|
+
var d1 = { components: { BIMDataText: R2 }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
|
|
8867
|
+
const vi = { class: "bimdata-loading" }, mi = ((e) => (l1("data-v-6d3be186"), e = e(), i1(), e))(() => t("span", { class: "bimdata-loading--square" }, null, -1));
|
|
8861
8868
|
function T5(e, n) {
|
|
8862
8869
|
n === void 0 && (n = {});
|
|
8863
8870
|
var o = n.insertAt;
|
|
@@ -8964,8 +8971,7 @@ T5(`@-webkit-keyframes bimdataloading {
|
|
|
8964
8971
|
-webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);
|
|
8965
8972
|
box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);
|
|
8966
8973
|
}
|
|
8967
|
-
}
|
|
8968
|
-
@keyframes bimdataloading {
|
|
8974
|
+
}@keyframes bimdataloading {
|
|
8969
8975
|
0% {
|
|
8970
8976
|
-webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);
|
|
8971
8977
|
box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);
|
|
@@ -9042,10 +9048,10 @@ T5(`@-webkit-keyframes bimdataloading {
|
|
|
9042
9048
|
.bimdata-loading p {
|
|
9043
9049
|
text-align: center;
|
|
9044
9050
|
margin: 0;
|
|
9045
|
-
}`),
|
|
9051
|
+
}`), d1.render = function(e, n, o, l, s, i) {
|
|
9046
9052
|
const c = g("BIMDataText");
|
|
9047
|
-
return r(), a("div", vi, [mi, p(c, { color: "color-white", margin: "12px 0 0" }, { default: f(() => [t("p", null,
|
|
9048
|
-
},
|
|
9053
|
+
return r(), a("div", vi, [mi, p(c, { color: "color-white", margin: "12px 0 0" }, { default: f(() => [t("p", null, b(o.message), 1), t("p", null, b(o.subMessage), 1)]), _: 1 })]);
|
|
9054
|
+
}, d1.__scopeId = "data-v-6d3be186", d1.__file = "src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue";
|
|
9049
9055
|
const Ii = { "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" }, Mi = { render: function(e, n) {
|
|
9050
9056
|
return r(), a("path", Ii);
|
|
9051
9057
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, _i = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.55 15.0531H16.0997V18.503H13.7999V15.0531H10.35V12.7529H13.7999V9.303H16.0997V12.7529H19.55V15.0531ZM20.7001 5.85364H11.4997L9.19989 3.55383H2.29968C1.02325 3.55383 0.0113988 4.5772 0.0113988 5.85364L-0.00012207 19.6537C-0.00012207 20.9301 1.02325 21.9539 2.29968 21.9539H20.7001C21.9761 21.9539 22.9999 20.9301 22.9999 19.6537V8.15384C22.9999 6.87701 21.9761 5.85364 20.7001 5.85364Z" }, yi = { render: function(e, n) {
|
|
@@ -9353,7 +9359,7 @@ const Ii = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
9353
9359
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
9354
9360
|
var h5 = { addFile: Mi, addFolder: yi, addUser: Di, alphabeticalAscending: Bi, alphabeticalDescending: xi, alphabeticalSort: Zi, alt: Ai, angle: $i, api: Oi, archive: Ei, arrow: Pi, attach: zi, backInTime: Wi, bcf: ji, building: qi, burgerMenu: Qi, calendar: ns, caliper: rs, camera: as, cancelCamera: is, check: cs, chevron: us, classificationCategorie: ps, classificationElement: bs, click: fs, close: vs, cloud: Is, color: _s, comment: Hs, cursor: Vs, dateAscending: ks, dateDescending: ws, default: Ss, delete: Ts, deniedFile: Ns, deploy: Rs, detach: Fs, distance: Us, doubleChevron: Gs, down: Ws, download: js, drag: qs, edit: Qs, ellipsis: nc, expanded: rc, explosion: ac, export: ic, exportIfc: cc, failed: uc, filter: pc, fitView: bc, folder: fc, folderMove: vc, folderOpen: Ic, fullscreen: _c, grid: Hc, group: Vc, hide: kc, ifc: wc, ifcFile: Sc, import: Tc, indexAscending: Nc, indexDescending: Rc, information: Fc, inProgressFile: Uc, invitation: Gc, isolate: Wc, key: jc, left: qc, linkedDocument: Qc, list: nd, listManage: rd, location: ad, lock: id, logout: cd, measure: ud, minus: pd, model3d: bd, organization: fd, parameters: vd, path: Id, pieGraph: _d, plus: Hd, project: Vd, quickSelect: kd, readonlyFolder: wd, redo: Sd, reduced: Td, refresh: Nd, reprocessIfc: Rd, reset: Fd, right: Ud, rules: Gd, sandglass: Wd, save: jd, screenConfig: qd, screenshot: Qd, search: nu, section: ru, settings: au, share: iu, show: cu, showSelected: uu, socotec: pu, space: bu, split: fu, storey: vu, success: Iu, surface: _u, swap: Hu, synchro2d: Vu, system: ku, tag: Zu, tree: Au, unarchive: $u, undo: Ou, union: Eu, up: Pu, user: zu, validate: Yu, validatedFile: Xu, versioning: qu, video: Qu, visa: nC, warning: rC, windowBottom: aC, windowed: iC, windowLeft: cC, windowRight: uC, windowTop: pC, zone: bC, bcfPolychrome: fC, createWindowPolychrome: vC, docInfoPolychrome: IC, fileDwgPolychrome: _C, fileIfcPolychrome: HC, filePdfPolychrome: VC, filePlanPolychrome: kC, folderPolychrome: wC, structurePolychrome: SC, viewer2dPolychrome: TC, viewer3dPolychrome: NC }, OC = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
9355
9361
|
const b5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
9356
|
-
var
|
|
9362
|
+
var K1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
9357
9363
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
9358
9364
|
}(h5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(h5).includes(e) }, color: { type: String, default: "default", validator: (e) => OC.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(b5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
9359
9365
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
@@ -9524,10 +9530,10 @@ q2(`.icon-fill--black {
|
|
|
9524
9530
|
}
|
|
9525
9531
|
.icon-stroke--white {
|
|
9526
9532
|
stroke: var(--color-white);
|
|
9527
|
-
}`),
|
|
9528
|
-
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(
|
|
9529
|
-
},
|
|
9530
|
-
var
|
|
9533
|
+
}`), K1.render = function(e, n, o, l, s, i) {
|
|
9534
|
+
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(u1(`bimdata-icon-${o.name}`)))], 14, RC);
|
|
9535
|
+
}, K1.__scopeId = "data-v-1312d4d1", K1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
9536
|
+
var V1 = { components: { BIMDataIcon: K1 }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } };
|
|
9531
9537
|
const EC = { class: "overlay flex items-center justify-center" }, FC = { class: "safe-zone__content flex flex-col items-center justify-center p-18" }, PC = { class: "safe-zone__actions flex items-center p-x-18" };
|
|
9532
9538
|
q2(`.overlay[data-v-1bd53efd] {
|
|
9533
9539
|
position: absolute;
|
|
@@ -9565,11 +9571,11 @@ q2(`.overlay[data-v-1bd53efd] {
|
|
|
9565
9571
|
justify-content: space-evenly;
|
|
9566
9572
|
background-color: var(--color-silver-light);
|
|
9567
9573
|
border-top: 1px solid var(--color-silver);
|
|
9568
|
-
}`),
|
|
9574
|
+
}`), V1.render = function(e, n, o, l, s, i) {
|
|
9569
9575
|
const c = g("BIMDataIcon");
|
|
9570
9576
|
return r(), a("div", EC, [t("div", { class: "safe-zone", style: y({ width: o.width }) }, [t("div", FC, [p(c, { name: o.iconName, size: "l", fill: "", color: "high" }, null, 8, ["name"]), t("p", null, [_(e.$slots, "text")])]), t("div", PC, [_(e.$slots, "actions")])], 4)]);
|
|
9571
|
-
},
|
|
9572
|
-
var
|
|
9577
|
+
}, V1.__scopeId = "data-v-1bd53efd", V1.__file = "src/BIMDataComponents/BIMDataSafeZoneModal/BIMDataSafeZoneModal.vue";
|
|
9578
|
+
var L1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { name: { type: [String, Number], default: "" }, resizable: { type: Boolean, default: !0 }, modelValue: { type: [String, Number], default: null }, placeholder: { type: String, default: null }, label: { type: String, default: "" }, width: { type: [Number, String], default: "150px" }, height: { type: [Number, String], default: "32px" }, error: { type: Boolean, default: !1 }, success: { type: Boolean, default: !1 }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, fitContent: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], created() {
|
|
9573
9579
|
this.$watch(() => this.success && this.error, (e) => {
|
|
9574
9580
|
if (e)
|
|
9575
9581
|
throw new Error("Textarea state cannot be both success and error.");
|
|
@@ -9585,7 +9591,7 @@ var f1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { n
|
|
|
9585
9591
|
}, onInput(e) {
|
|
9586
9592
|
this.$emit("update:modelValue", e.currentTarget.value), this.fitContent && this.handleFitContent();
|
|
9587
9593
|
} } };
|
|
9588
|
-
const UC = ["name", "id", "value", "placeholder"], zC = ["for"], GC = ((e) => (
|
|
9594
|
+
const UC = ["name", "id", "value", "placeholder"], zC = ["for"], GC = ((e) => (l1("data-v-76eaf75a"), e = e(), i1(), e))(() => t("span", { class: "bar" }, null, -1)), YC = { key: 0, class: "error" }, WC = { key: 1, class: "success" };
|
|
9589
9595
|
function $5(e, n) {
|
|
9590
9596
|
n === void 0 && (n = {});
|
|
9591
9597
|
var o = n.insertAt;
|
|
@@ -9858,10 +9864,10 @@ $5(`textarea:-webkit-autofill {
|
|
|
9858
9864
|
}
|
|
9859
9865
|
.bimdata-textarea.success .bar::before, .bimdata-textarea.success .bar::after {
|
|
9860
9866
|
background-color: var(--color-success);
|
|
9861
|
-
}`),
|
|
9862
|
-
return r(), a("div", { class: V(["bimdata-textarea", { "not-empty": o.modelValue !== null && o.modelValue !== "" || o.placeholder !== null, error: o.error, success: o.success }]), style: y({ "min-width": o.width, "min-height": o.height }) }, [t("textarea", E2({ ref: "textarea", name: o.name, id: o.name, value: o.modelValue, placeholder: o.placeholder, style: o.resizable ? "" : "resize: none;", onInput: n[0] || (n[0] = (...c) => i.onInput && i.onInput(...c)) }, e.$attrs), null, 16, UC), t("label", { for: o.name },
|
|
9863
|
-
},
|
|
9864
|
-
var
|
|
9867
|
+
}`), L1.render = function(e, n, o, l, s, i) {
|
|
9868
|
+
return r(), a("div", { class: V(["bimdata-textarea", { "not-empty": o.modelValue !== null && o.modelValue !== "" || o.placeholder !== null, error: o.error, success: o.success }]), style: y({ "min-width": o.width, "min-height": o.height }) }, [t("textarea", E2({ ref: "textarea", name: o.name, id: o.name, value: o.modelValue, placeholder: o.placeholder, style: o.resizable ? "" : "resize: none;", onInput: n[0] || (n[0] = (...c) => i.onInput && i.onInput(...c)) }, e.$attrs), null, 16, UC), t("label", { for: o.name }, b(o.label), 9, zC), GC, o.error ? (r(), a("span", YC, b(o.errorMessage), 1)) : v("v-if", !0), o.success ? (r(), a("span", WC, b(o.successMessage), 1)) : v("v-if", !0)], 6);
|
|
9869
|
+
}, L1.__scopeId = "data-v-76eaf75a", L1.__file = "src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue";
|
|
9870
|
+
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() {
|
|
9865
9871
|
return !this.disabled && this._text && this.hover;
|
|
9866
9872
|
}, _text() {
|
|
9867
9873
|
return this.text || this.message;
|
|
@@ -10159,9 +10165,9 @@ html[data-v-41eb8f46] {
|
|
|
10159
10165
|
}
|
|
10160
10166
|
.bimdata-tooltip__tooltip--high[data-v-41eb8f46]::before {
|
|
10161
10167
|
border-color: var(--color-high) transparent transparent;
|
|
10162
|
-
}`),
|
|
10163
|
-
return r(), a("div", XC, [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(
|
|
10164
|
-
},
|
|
10168
|
+
}`), B1.render = function(e, n, o, l, s, i) {
|
|
10169
|
+
return r(), a("div", XC, [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: f(() => [X(t("div", { ref: "tooltipText", class: V(["bimdata-tooltip__tooltip", [`bimdata-tooltip__tooltip--${o.position}`, `bimdata-tooltip__tooltip--${o.color}`, ...i._className]]), style: y({ maxWidth: o.maxWidth }) }, b(i._text), 7), [[q, i.isDisplayed]])]), _: 1 })]);
|
|
10170
|
+
}, B1.__scopeId = "data-v-41eb8f46", B1.__file = "src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";
|
|
10165
10171
|
const jC = {
|
|
10166
10172
|
components: {
|
|
10167
10173
|
BIMDataButton: W,
|
|
@@ -10182,13 +10188,13 @@ const jC = {
|
|
|
10182
10188
|
[...d.target.files].forEach((C) => {
|
|
10183
10189
|
const L = new FileReader();
|
|
10184
10190
|
L.addEventListener("load", () => {
|
|
10185
|
-
const
|
|
10191
|
+
const h = {
|
|
10186
10192
|
snapshot: {
|
|
10187
10193
|
snapshot_type: C.type,
|
|
10188
10194
|
snapshot_data: L.result
|
|
10189
10195
|
}
|
|
10190
10196
|
};
|
|
10191
|
-
n("add-viewpoint",
|
|
10197
|
+
n("add-viewpoint", h);
|
|
10192
10198
|
}), L.readAsDataURL(C);
|
|
10193
10199
|
});
|
|
10194
10200
|
}, l = (d) => {
|
|
@@ -10257,7 +10263,7 @@ function ap(e, n, o, l, s, i) {
|
|
|
10257
10263
|
size: "xs",
|
|
10258
10264
|
margin: "0 6px 0 0"
|
|
10259
10265
|
}),
|
|
10260
|
-
Z(" " +
|
|
10266
|
+
Z(" " + b(e.$t("BcfComponents.BcfTopicForm.addPictureButton")), 1)
|
|
10261
10267
|
]),
|
|
10262
10268
|
t("input", {
|
|
10263
10269
|
disabled: o.viewpoints.length >= 4,
|
|
@@ -10285,7 +10291,7 @@ function ap(e, n, o, l, s, i) {
|
|
|
10285
10291
|
radius: ""
|
|
10286
10292
|
}, {
|
|
10287
10293
|
default: f(() => [
|
|
10288
|
-
l.isTabletOrMobile ? (r(), a("label", op,
|
|
10294
|
+
l.isTabletOrMobile ? (r(), a("label", op, b(e.$t("BcfComponents.BcfTopicForm.dragDropImageTextTablet")), 1)) : (r(), a("label", rp, b(e.$t("BcfComponents.BcfTopicForm.dragDropImageText")), 1)),
|
|
10289
10295
|
t("input", {
|
|
10290
10296
|
hidden: "",
|
|
10291
10297
|
id: "files",
|
|
@@ -10323,8 +10329,8 @@ const ip = {
|
|
|
10323
10329
|
Object.entries(o()).forEach(([i, c]) => {
|
|
10324
10330
|
const [u, d] = Object.entries(z2).find(([, C]) => C.plugin === i);
|
|
10325
10331
|
c.forEach(async (C) => {
|
|
10326
|
-
const L = await C.getViewpoint(), { order:
|
|
10327
|
-
L.order =
|
|
10332
|
+
const L = await C.getViewpoint(), { order: h } = d != null ? d : {};
|
|
10333
|
+
L.order = h, L[P2] = u, L[U2] = C.getLoadedModels().map((m) => m.id).join(","), n("add-viewpoint", L);
|
|
10328
10334
|
});
|
|
10329
10335
|
});
|
|
10330
10336
|
},
|
|
@@ -10385,15 +10391,15 @@ const pp = {
|
|
|
10385
10391
|
BcfTopicImages: lp,
|
|
10386
10392
|
BcfTopicSnapshots: Cp,
|
|
10387
10393
|
BIMDataButton: W,
|
|
10388
|
-
BIMDataDatePicker:
|
|
10394
|
+
BIMDataDatePicker: j1,
|
|
10389
10395
|
BIMDataIcon: j,
|
|
10390
|
-
BIMDataInput:
|
|
10391
|
-
BIMDataLoading:
|
|
10392
|
-
BIMDataSafeZoneModal:
|
|
10393
|
-
BIMDataSelect:
|
|
10394
|
-
BIMDataTextarea:
|
|
10395
|
-
BIMDataTextbox:
|
|
10396
|
-
BIMDataTooltip:
|
|
10396
|
+
BIMDataInput: c1,
|
|
10397
|
+
BIMDataLoading: d1,
|
|
10398
|
+
BIMDataSafeZoneModal: V1,
|
|
10399
|
+
BIMDataSelect: a2,
|
|
10400
|
+
BIMDataTextarea: L1,
|
|
10401
|
+
BIMDataTextbox: o1,
|
|
10402
|
+
BIMDataTooltip: B1
|
|
10397
10403
|
},
|
|
10398
10404
|
props: {
|
|
10399
10405
|
uiConfig: {
|
|
@@ -10449,22 +10455,22 @@ const pp = {
|
|
|
10449
10455
|
"topic-update-error"
|
|
10450
10456
|
],
|
|
10451
10457
|
setup(e, { emit: n }) {
|
|
10452
|
-
const o =
|
|
10458
|
+
const o = w1(), l = R(
|
|
10453
10459
|
() => !e.topic
|
|
10454
10460
|
), s = R(
|
|
10455
10461
|
() => Math.max(0, ...e.topics.map((N) => N.index)) + 1
|
|
10456
|
-
), i =
|
|
10457
|
-
() => I.value.concat(k.value).filter((N) => !P.value.some((
|
|
10458
|
-
), H =
|
|
10459
|
-
|
|
10462
|
+
), i = B(""), c = B(null), u = B(null), d = B(null), C = B(null), L = B(null), h = B(null), m = B(""), M = B([]), I = B([]), k = B([]), $ = B([]), P = B([]), S = R(
|
|
10463
|
+
() => I.value.concat(k.value).filter((N) => !P.value.some((p1) => p1.guid === N.guid)).filter((N) => N.snapshot)
|
|
10464
|
+
), H = B(!1), A = B(!1), T = B(!1);
|
|
10465
|
+
n1(
|
|
10460
10466
|
() => e.topic,
|
|
10461
10467
|
(N) => {
|
|
10462
|
-
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, L.value = N.assigned_to || null,
|
|
10468
|
+
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, L.value = N.assigned_to || null, h.value = N.due_date, m.value = N.description || "", M.value = N.labels || [], I.value = N.viewpoints || []);
|
|
10463
10469
|
},
|
|
10464
10470
|
{ immediate: !0 }
|
|
10465
10471
|
);
|
|
10466
10472
|
const E = () => {
|
|
10467
|
-
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, L.value = null,
|
|
10473
|
+
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, L.value = null, h.value = null, m.value = "", M.value = [], I.value = [], k.value = [], $.value = [], P.value = [], H.value = !1, A.value = !1, T.value = !1;
|
|
10468
10474
|
};
|
|
10469
10475
|
return {
|
|
10470
10476
|
hasErrorTitle: T,
|
|
@@ -10473,12 +10479,12 @@ const pp = {
|
|
|
10473
10479
|
loading: H,
|
|
10474
10480
|
nextIndex: s,
|
|
10475
10481
|
topicAssignedTo: L,
|
|
10476
|
-
topicDescription:
|
|
10477
|
-
topicDueDate:
|
|
10482
|
+
topicDescription: m,
|
|
10483
|
+
topicDueDate: h,
|
|
10478
10484
|
topicPriority: u,
|
|
10479
10485
|
topicStage: C,
|
|
10480
10486
|
topicStatus: d,
|
|
10481
|
-
topicLabels:
|
|
10487
|
+
topicLabels: M,
|
|
10482
10488
|
topicTitle: i,
|
|
10483
10489
|
topicType: c,
|
|
10484
10490
|
viewpointsToDisplay: S,
|
|
@@ -10489,12 +10495,12 @@ const pp = {
|
|
|
10489
10495
|
if (N.guid)
|
|
10490
10496
|
P.value.push(N);
|
|
10491
10497
|
else {
|
|
10492
|
-
let
|
|
10493
|
-
k.value.splice(
|
|
10498
|
+
let p1 = k.value.indexOf(N);
|
|
10499
|
+
k.value.splice(p1, 1);
|
|
10494
10500
|
}
|
|
10495
10501
|
},
|
|
10496
10502
|
submit: async () => {
|
|
10497
|
-
var N,
|
|
10503
|
+
var N, p1;
|
|
10498
10504
|
if (!i.value) {
|
|
10499
10505
|
T.value = !0;
|
|
10500
10506
|
return;
|
|
@@ -10526,32 +10532,32 @@ const pp = {
|
|
|
10526
10532
|
].forEach(
|
|
10527
10533
|
(G) => G.pins = e.topicAnnotations
|
|
10528
10534
|
);
|
|
10529
|
-
const
|
|
10535
|
+
const A1 = {
|
|
10530
10536
|
guid: (N = e.topic) == null ? void 0 : N.guid,
|
|
10531
|
-
models: ((
|
|
10537
|
+
models: ((p1 = e.topic) == null ? void 0 : p1.models) || e.topicModels,
|
|
10532
10538
|
title: i.value,
|
|
10533
10539
|
topic_type: c.value,
|
|
10534
10540
|
priority: u.value,
|
|
10535
10541
|
topic_status: d.value,
|
|
10536
10542
|
stage: C.value,
|
|
10537
10543
|
assigned_to: L.value,
|
|
10538
|
-
due_date:
|
|
10539
|
-
description:
|
|
10540
|
-
labels:
|
|
10544
|
+
due_date: h.value,
|
|
10545
|
+
description: m.value,
|
|
10546
|
+
labels: M.value,
|
|
10541
10547
|
viewpoints: $.value
|
|
10542
10548
|
};
|
|
10543
|
-
let
|
|
10544
|
-
l.value ?
|
|
10549
|
+
let h1;
|
|
10550
|
+
l.value ? h1 = await o.createTopic(e.project, A1) : h1 = await o.updateTopic(e.project, A1), await Promise.all(
|
|
10545
10551
|
k.value.map(
|
|
10546
|
-
(G) => o.createViewpoint(e.project,
|
|
10552
|
+
(G) => o.createViewpoint(e.project, h1, G)
|
|
10547
10553
|
)
|
|
10548
10554
|
), await Promise.all(
|
|
10549
10555
|
P.value.map(
|
|
10550
|
-
(G) => o.deleteViewpoint(e.project,
|
|
10556
|
+
(G) => o.deleteViewpoint(e.project, h1, G)
|
|
10551
10557
|
)
|
|
10552
|
-
), l.value ? (n("topic-created",
|
|
10553
|
-
} catch (
|
|
10554
|
-
n(l.value ? "topic-create-error" : "topic-update-error",
|
|
10558
|
+
), l.value ? (n("topic-created", h1), E()) : n("topic-updated", h1);
|
|
10559
|
+
} catch (A1) {
|
|
10560
|
+
n(l.value ? "topic-create-error" : "topic-update-error", A1);
|
|
10555
10561
|
} finally {
|
|
10556
10562
|
H.value = !1;
|
|
10557
10563
|
}
|
|
@@ -10569,7 +10575,7 @@ const pp = {
|
|
|
10569
10575
|
class: "bcf-topic-form__loader"
|
|
10570
10576
|
};
|
|
10571
10577
|
function Bp(e, n, o, l, s, i) {
|
|
10572
|
-
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicSnapshots"), L = g("BIMDataTooltip"),
|
|
10578
|
+
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicSnapshots"), L = g("BIMDataTooltip"), h = g("BcfTopicImages"), m = g("BIMDataInput"), M = g("BIMDataSelect"), I = g("BIMDataDatePicker"), k = g("BIMDataTextarea"), $ = g("BIMDataLoading"), P = g("BIMDataSafeZoneModal");
|
|
10573
10579
|
return r(), a("div", hp, [
|
|
10574
10580
|
t("div", bp, [
|
|
10575
10581
|
o.uiConfig.backButton ? (r(), D(u, {
|
|
@@ -10591,7 +10597,7 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10591
10597
|
})) : v("", !0),
|
|
10592
10598
|
t("div", gp, [
|
|
10593
10599
|
l.isCreation ? (r(), a(O, { key: 0 }, [
|
|
10594
|
-
Z(
|
|
10600
|
+
Z(b(e.$t("BcfComponents.BcfTopicForm.createTitle")), 1)
|
|
10595
10601
|
], 64)) : (r(), D(d, {
|
|
10596
10602
|
key: 1,
|
|
10597
10603
|
maxWidth: "250px",
|
|
@@ -10618,8 +10624,8 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10618
10624
|
]),
|
|
10619
10625
|
t("div", fp, [
|
|
10620
10626
|
t("div", Lp, [
|
|
10621
|
-
t("div", vp,
|
|
10622
|
-
t("div", mp,
|
|
10627
|
+
t("div", vp, b(l.isCreation ? l.nextIndex : o.topic.index), 1),
|
|
10628
|
+
t("div", mp, b(e.$d(l.isCreation ? new Date() : o.topic.creation_date, "short")), 1)
|
|
10623
10629
|
]),
|
|
10624
10630
|
o.uiConfig.viewerMode ? (r(), a(O, { key: 0 }, [
|
|
10625
10631
|
p(C, {
|
|
@@ -10640,8 +10646,8 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10640
10646
|
size: "xxxs",
|
|
10641
10647
|
margin: "0 6px 0 0"
|
|
10642
10648
|
}),
|
|
10643
|
-
t("span", null,
|
|
10644
|
-
o.topicObjects ? (r(), a("span", Mp,
|
|
10649
|
+
t("span", null, b(e.$t("BcfComponents.BcfTopicForm.addObjectButton")), 1),
|
|
10650
|
+
o.topicObjects ? (r(), a("span", Mp, b(o.topicObjects.selection.length), 1)) : v("", !0)
|
|
10645
10651
|
]),
|
|
10646
10652
|
_: 1
|
|
10647
10653
|
}, 8, ["disabled"]),
|
|
@@ -10665,8 +10671,8 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10665
10671
|
size: "xxxs",
|
|
10666
10672
|
margin: "0 6px 0 0"
|
|
10667
10673
|
}),
|
|
10668
|
-
t("span", null,
|
|
10669
|
-
o.topicAnnotations ? (r(), a("span", _p,
|
|
10674
|
+
t("span", null, b(e.$t("BcfComponents.BcfTopicForm.addAnnotationButton")), 1),
|
|
10675
|
+
o.topicAnnotations ? (r(), a("span", _p, b(o.topicAnnotations.length), 1)) : v("", !0)
|
|
10670
10676
|
]),
|
|
10671
10677
|
_: 1
|
|
10672
10678
|
}, 8, ["disabled"])
|
|
@@ -10674,50 +10680,50 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10674
10680
|
_: 1
|
|
10675
10681
|
}, 8, ["disabled", "text"])
|
|
10676
10682
|
])
|
|
10677
|
-
], 64)) : (r(), D(
|
|
10683
|
+
], 64)) : (r(), D(h, {
|
|
10678
10684
|
key: 1,
|
|
10679
10685
|
viewpoints: l.viewpointsToDisplay,
|
|
10680
10686
|
onAddViewpoint: l.addViewpoint,
|
|
10681
10687
|
onDeleteViewpoint: l.delViewpoint
|
|
10682
10688
|
}, null, 8, ["viewpoints", "onAddViewpoint", "onDeleteViewpoint"])),
|
|
10683
10689
|
t("div", yp, [
|
|
10684
|
-
p(
|
|
10690
|
+
p(m, {
|
|
10685
10691
|
placeholder: e.$t("BcfComponents.BcfTopicForm.titlePlaceholder"),
|
|
10686
10692
|
error: l.hasErrorTitle,
|
|
10687
10693
|
errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
|
|
10688
10694
|
modelValue: l.topicTitle,
|
|
10689
10695
|
"onUpdate:modelValue": n[4] || (n[4] = (S) => l.topicTitle = S),
|
|
10690
|
-
onKeyup:
|
|
10696
|
+
onKeyup: x(w(l.submit, ["stop"]), ["enter"])
|
|
10691
10697
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
|
|
10692
|
-
p(
|
|
10698
|
+
p(M, {
|
|
10693
10699
|
width: "100%",
|
|
10694
10700
|
label: e.$t("BcfComponents.BcfTopicForm.typeLabel"),
|
|
10695
10701
|
options: o.extensions.topic_type,
|
|
10696
10702
|
modelValue: l.topicType,
|
|
10697
10703
|
"onUpdate:modelValue": n[5] || (n[5] = (S) => l.topicType = S)
|
|
10698
10704
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10699
|
-
p(
|
|
10705
|
+
p(M, {
|
|
10700
10706
|
width: "100%",
|
|
10701
10707
|
label: e.$t("BcfComponents.BcfTopicForm.priorityLabel"),
|
|
10702
10708
|
options: o.extensions.priority,
|
|
10703
10709
|
modelValue: l.topicPriority,
|
|
10704
10710
|
"onUpdate:modelValue": n[6] || (n[6] = (S) => l.topicPriority = S)
|
|
10705
10711
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10706
|
-
p(
|
|
10712
|
+
p(M, {
|
|
10707
10713
|
width: "100%",
|
|
10708
10714
|
label: e.$t("BcfComponents.BcfTopicForm.statusLabel"),
|
|
10709
10715
|
options: o.extensions.topic_status,
|
|
10710
10716
|
modelValue: l.topicStatus,
|
|
10711
10717
|
"onUpdate:modelValue": n[7] || (n[7] = (S) => l.topicStatus = S)
|
|
10712
10718
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10713
|
-
p(
|
|
10719
|
+
p(M, {
|
|
10714
10720
|
width: "100%",
|
|
10715
10721
|
label: e.$t("BcfComponents.BcfTopicForm.stageLabel"),
|
|
10716
10722
|
options: o.extensions.stage,
|
|
10717
10723
|
modelValue: l.topicStage,
|
|
10718
10724
|
"onUpdate:modelValue": n[8] || (n[8] = (S) => l.topicStage = S)
|
|
10719
10725
|
}, null, 8, ["label", "options", "modelValue"]),
|
|
10720
|
-
p(
|
|
10726
|
+
p(M, {
|
|
10721
10727
|
width: "100%",
|
|
10722
10728
|
label: e.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
|
|
10723
10729
|
options: o.extensions.user_id_type,
|
|
@@ -10742,7 +10748,7 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10742
10748
|
"onUpdate:modelValue": n[11] || (n[11] = (S) => l.topicDescription = S),
|
|
10743
10749
|
fitContent: ""
|
|
10744
10750
|
}, null, 8, ["label", "modelValue"]),
|
|
10745
|
-
p(
|
|
10751
|
+
p(M, {
|
|
10746
10752
|
width: "100%",
|
|
10747
10753
|
multi: !0,
|
|
10748
10754
|
label: e.$t("BcfComponents.BcfTopicForm.labelsLabel"),
|
|
@@ -10762,7 +10768,7 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10762
10768
|
onClick: l.submit
|
|
10763
10769
|
}, {
|
|
10764
10770
|
default: f(() => [
|
|
10765
|
-
Z(
|
|
10771
|
+
Z(b(e.$t(`BcfComponents.BcfTopicForm.${l.isCreation ? "createButton" : "updateButton"}`)), 1)
|
|
10766
10772
|
]),
|
|
10767
10773
|
_: 1
|
|
10768
10774
|
}, 8, ["disabled", "onClick"])
|
|
@@ -10772,7 +10778,7 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10772
10778
|
])) : v("", !0),
|
|
10773
10779
|
l.isOpenModal ? (r(), D(P, { key: 1 }, {
|
|
10774
10780
|
text: f(() => [
|
|
10775
|
-
Z(
|
|
10781
|
+
Z(b(e.$t("BcfComponents.BcfTopicForm.modalText", { name: o.topic.title })), 1)
|
|
10776
10782
|
]),
|
|
10777
10783
|
actions: f(() => [
|
|
10778
10784
|
p(u, {
|
|
@@ -10783,7 +10789,7 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10783
10789
|
onClick: n[13] || (n[13] = (S) => e.$emit("close"))
|
|
10784
10790
|
}, {
|
|
10785
10791
|
default: f(() => [
|
|
10786
|
-
Z(
|
|
10792
|
+
Z(b(e.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
|
|
10787
10793
|
]),
|
|
10788
10794
|
_: 1
|
|
10789
10795
|
}),
|
|
@@ -10794,7 +10800,7 @@ function Bp(e, n, o, l, s, i) {
|
|
|
10794
10800
|
onClick: n[14] || (n[14] = (S) => l.isOpenModal = !1)
|
|
10795
10801
|
}, {
|
|
10796
10802
|
default: f(() => [
|
|
10797
|
-
Z(
|
|
10803
|
+
Z(b(e.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
|
|
10798
10804
|
]),
|
|
10799
10805
|
_: 1
|
|
10800
10806
|
})
|
|
@@ -10846,7 +10852,7 @@ function Zp(e, n, o, l, s, i) {
|
|
|
10846
10852
|
key: 0,
|
|
10847
10853
|
src: o.user.profile_picture
|
|
10848
10854
|
}, null, 8, wp)) : l.initials ? (r(), a(O, { key: 1 }, [
|
|
10849
|
-
Z(
|
|
10855
|
+
Z(b(l.initials), 1)
|
|
10850
10856
|
], 64)) : (r(), D(c, {
|
|
10851
10857
|
key: 2,
|
|
10852
10858
|
name: "user",
|
|
@@ -10859,9 +10865,9 @@ const Sp = {
|
|
|
10859
10865
|
components: {
|
|
10860
10866
|
BIMDataButton: W,
|
|
10861
10867
|
BIMDataIcon: j,
|
|
10862
|
-
BIMDataLoading:
|
|
10863
|
-
BIMDataTextarea:
|
|
10864
|
-
BIMDataTextbox:
|
|
10868
|
+
BIMDataLoading: d1,
|
|
10869
|
+
BIMDataTextarea: L1,
|
|
10870
|
+
BIMDataTextbox: o1,
|
|
10865
10871
|
UserAvatar: N5
|
|
10866
10872
|
},
|
|
10867
10873
|
props: {
|
|
@@ -10883,11 +10889,11 @@ const Sp = {
|
|
|
10883
10889
|
"comment-deleted"
|
|
10884
10890
|
],
|
|
10885
10891
|
setup(e, { emit: n }) {
|
|
10886
|
-
const o =
|
|
10892
|
+
const o = w1(), l = B(!1), s = B(!1), i = () => s.value = !1, c = () => s.value = !s.value, u = B(e.comment.comment), d = B(!1), C = () => {
|
|
10887
10893
|
d.value = !0, i();
|
|
10888
10894
|
}, L = () => {
|
|
10889
10895
|
d.value = !1, u.value = e.comment.comment;
|
|
10890
|
-
},
|
|
10896
|
+
}, h = async () => {
|
|
10891
10897
|
try {
|
|
10892
10898
|
if (e.comment.comment !== u.value) {
|
|
10893
10899
|
l.value = !0;
|
|
@@ -10903,9 +10909,9 @@ const Sp = {
|
|
|
10903
10909
|
} finally {
|
|
10904
10910
|
l.value = !1;
|
|
10905
10911
|
}
|
|
10906
|
-
},
|
|
10912
|
+
}, m = B(!1);
|
|
10907
10913
|
return {
|
|
10908
|
-
isDeleting:
|
|
10914
|
+
isDeleting: m,
|
|
10909
10915
|
isEditing: d,
|
|
10910
10916
|
loading: l,
|
|
10911
10917
|
showMenu: s,
|
|
@@ -10913,7 +10919,7 @@ const Sp = {
|
|
|
10913
10919
|
cancelUpdate: L,
|
|
10914
10920
|
closeMenu: i,
|
|
10915
10921
|
onOpenDelete: () => {
|
|
10916
|
-
|
|
10922
|
+
m.value = !0, i();
|
|
10917
10923
|
},
|
|
10918
10924
|
onOpenEdit: C,
|
|
10919
10925
|
submitDelete: async () => {
|
|
@@ -10922,16 +10928,16 @@ const Sp = {
|
|
|
10922
10928
|
e.project,
|
|
10923
10929
|
e.topic,
|
|
10924
10930
|
e.comment
|
|
10925
|
-
), n("comment-deleted", e.comment),
|
|
10931
|
+
), n("comment-deleted", e.comment), m.value = !1;
|
|
10926
10932
|
} finally {
|
|
10927
10933
|
l.value = !1;
|
|
10928
10934
|
}
|
|
10929
10935
|
},
|
|
10930
|
-
submitUpdate:
|
|
10936
|
+
submitUpdate: h,
|
|
10931
10937
|
toggleMenu: c
|
|
10932
10938
|
};
|
|
10933
10939
|
}
|
|
10934
|
-
}, Ap = (e) => (
|
|
10940
|
+
}, Ap = (e) => (l1("data-v-abad358d"), e = e(), i1(), e), Tp = { class: "topic-comment" }, $p = { class: "topic-comment__header flex items-center justify-between" }, Np = { class: "topic-comment__header__left flex items-center" }, Op = {
|
|
10935
10941
|
key: 1,
|
|
10936
10942
|
class: "topic-comment__header__left__user flex items-center justify-center m-r-12"
|
|
10937
10943
|
}, Rp = /* @__PURE__ */ Ap(() => /* @__PURE__ */ t("span", { class: "color-granite m-x-6" }, " \u2022 ", -1)), Ep = { class: "color-granite" }, Fp = { class: "topic-comment__header__right" }, Pp = { class: "topic-comment__header__right__actions flex" }, Up = {
|
|
@@ -10939,7 +10945,7 @@ const Sp = {
|
|
|
10939
10945
|
class: "topic-comment__header__right__delete p-x-12"
|
|
10940
10946
|
}, zp = { class: "flex items-center" }, Gp = { class: "topic-comment__content" };
|
|
10941
10947
|
function Yp(e, n, o, l, s, i) {
|
|
10942
|
-
const c = g("UserAvatar"), u = g("BIMDataIcon"), d = g("BIMDataTextbox"), C = g("BIMDataButton"), L = g("BIMDataTextarea"),
|
|
10948
|
+
const c = g("UserAvatar"), u = g("BIMDataIcon"), d = g("BIMDataTextbox"), C = g("BIMDataButton"), L = g("BIMDataTextarea"), h = g("BIMDataLoading");
|
|
10943
10949
|
return r(), a("div", Tp, [
|
|
10944
10950
|
t("div", $p, [
|
|
10945
10951
|
t("div", Np, [
|
|
@@ -10966,7 +10972,7 @@ function Yp(e, n, o, l, s, i) {
|
|
|
10966
10972
|
text: o.comment.author
|
|
10967
10973
|
}, null, 8, ["text"]),
|
|
10968
10974
|
Rp,
|
|
10969
|
-
t("span", Ep,
|
|
10975
|
+
t("span", Ep, b(e.$d(o.comment.date, "long")), 1)
|
|
10970
10976
|
]),
|
|
10971
10977
|
t("div", Fp, [
|
|
10972
10978
|
t("div", Pp, [
|
|
@@ -11056,7 +11062,7 @@ function Yp(e, n, o, l, s, i) {
|
|
|
11056
11062
|
], 64)) : v("", !0)
|
|
11057
11063
|
]),
|
|
11058
11064
|
l.isDeleting ? (r(), a("div", Up, [
|
|
11059
|
-
t("span", null,
|
|
11065
|
+
t("span", null, b(e.$t("BcfComponents.BcfTopicComments.deleteCommentText")), 1),
|
|
11060
11066
|
t("div", zp, [
|
|
11061
11067
|
p(C, {
|
|
11062
11068
|
class: "m-r-6",
|
|
@@ -11066,7 +11072,7 @@ function Yp(e, n, o, l, s, i) {
|
|
|
11066
11072
|
onClick: l.submitDelete
|
|
11067
11073
|
}, {
|
|
11068
11074
|
default: f(() => [
|
|
11069
|
-
Z(
|
|
11075
|
+
Z(b(e.$t("BcfComponents.BcfTopicComments.deleteButton")), 1)
|
|
11070
11076
|
]),
|
|
11071
11077
|
_: 1
|
|
11072
11078
|
}, 8, ["onClick"]),
|
|
@@ -11074,7 +11080,7 @@ function Yp(e, n, o, l, s, i) {
|
|
|
11074
11080
|
ghost: "",
|
|
11075
11081
|
rounded: "",
|
|
11076
11082
|
icon: "",
|
|
11077
|
-
onClick: n[0] || (n[0] = (
|
|
11083
|
+
onClick: n[0] || (n[0] = (m) => l.isDeleting = !1)
|
|
11078
11084
|
}, {
|
|
11079
11085
|
default: f(() => [
|
|
11080
11086
|
p(u, {
|
|
@@ -11113,22 +11119,22 @@ function Yp(e, n, o, l, s, i) {
|
|
|
11113
11119
|
width: "100%",
|
|
11114
11120
|
rows: "1",
|
|
11115
11121
|
modelValue: l.text,
|
|
11116
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
11122
|
+
"onUpdate:modelValue": n[1] || (n[1] = (m) => l.text = m),
|
|
11117
11123
|
fitContent: "",
|
|
11118
11124
|
autofocus: "",
|
|
11119
11125
|
resizable: !1,
|
|
11120
11126
|
readonly: !l.isEditing
|
|
11121
11127
|
}, null, 8, ["class", "modelValue", "readonly"])
|
|
11122
11128
|
]),
|
|
11123
|
-
l.loading ? (r(), D(
|
|
11129
|
+
l.loading ? (r(), D(h, { key: 0 })) : v("", !0)
|
|
11124
11130
|
]);
|
|
11125
11131
|
}
|
|
11126
11132
|
const Wp = /* @__PURE__ */ F(Sp, [["render", Yp], ["__scopeId", "data-v-abad358d"]]);
|
|
11127
11133
|
const Xp = {
|
|
11128
11134
|
components: {
|
|
11129
11135
|
BIMDataButton: W,
|
|
11130
|
-
BIMDataLoading:
|
|
11131
|
-
BIMDataTextarea:
|
|
11136
|
+
BIMDataLoading: d1,
|
|
11137
|
+
BIMDataTextarea: L1,
|
|
11132
11138
|
TopicComment: Wp
|
|
11133
11139
|
},
|
|
11134
11140
|
props: {
|
|
@@ -11147,8 +11153,8 @@ const Xp = {
|
|
|
11147
11153
|
"comment-deleted"
|
|
11148
11154
|
],
|
|
11149
11155
|
setup(e, { emit: n }) {
|
|
11150
|
-
const o =
|
|
11151
|
-
return
|
|
11156
|
+
const o = w1(), l = B(!1), s = B(!1), i = B(null), c = B("");
|
|
11157
|
+
return n1(
|
|
11152
11158
|
l,
|
|
11153
11159
|
() => setTimeout(() => l.value && i.value.focus(), 50)
|
|
11154
11160
|
), {
|
|
@@ -11179,7 +11185,7 @@ function rh(e, n, o, l, s, i) {
|
|
|
11179
11185
|
const c = g("BIMDataButton"), u = g("BIMDataTextarea"), d = g("TopicComment"), C = g("BIMDataLoading");
|
|
11180
11186
|
return r(), a("div", jp, [
|
|
11181
11187
|
l.isOpen ? (r(), a("div", Kp, [
|
|
11182
|
-
t("p", qp,
|
|
11188
|
+
t("p", qp, b(e.$t("BcfComponents.BcfTopicComments.commentText")), 1),
|
|
11183
11189
|
t("div", Jp, [
|
|
11184
11190
|
p(u, {
|
|
11185
11191
|
ref: "input",
|
|
@@ -11199,7 +11205,7 @@ function rh(e, n, o, l, s, i) {
|
|
|
11199
11205
|
onClick: n[2] || (n[2] = (L) => l.isOpen = !1)
|
|
11200
11206
|
}, {
|
|
11201
11207
|
default: f(() => [
|
|
11202
|
-
Z(
|
|
11208
|
+
Z(b(e.$t("BcfComponents.BcfTopicComments.cancelButton")), 1)
|
|
11203
11209
|
]),
|
|
11204
11210
|
_: 1
|
|
11205
11211
|
}),
|
|
@@ -11211,7 +11217,7 @@ function rh(e, n, o, l, s, i) {
|
|
|
11211
11217
|
onClick: l.submitComment
|
|
11212
11218
|
}, {
|
|
11213
11219
|
default: f(() => [
|
|
11214
|
-
Z(
|
|
11220
|
+
Z(b(e.$t("BcfComponents.BcfTopicComments.publishButton")), 1)
|
|
11215
11221
|
]),
|
|
11216
11222
|
_: 1
|
|
11217
11223
|
}, 8, ["onClick"])
|
|
@@ -11226,20 +11232,20 @@ function rh(e, n, o, l, s, i) {
|
|
|
11226
11232
|
onClick: n[0] || (n[0] = (L) => l.isOpen = !0)
|
|
11227
11233
|
}, {
|
|
11228
11234
|
default: f(() => [
|
|
11229
|
-
Z(
|
|
11235
|
+
Z(b(e.$t("BcfComponents.BcfTopicComments.commentButton")), 1)
|
|
11230
11236
|
]),
|
|
11231
11237
|
_: 1
|
|
11232
11238
|
})),
|
|
11233
11239
|
t("div", eh, [
|
|
11234
|
-
t("p", nh,
|
|
11240
|
+
t("p", nh, b((o.topic.comments ? o.topic.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
|
|
11235
11241
|
o.topic.comments && o.topic.comments.length ? (r(), a("div", th, [
|
|
11236
11242
|
(r(!0), a(O, null, U(o.topic.comments, (L) => (r(), D(d, {
|
|
11237
11243
|
key: L.guid,
|
|
11238
11244
|
project: o.project,
|
|
11239
11245
|
topic: o.topic,
|
|
11240
11246
|
comment: L,
|
|
11241
|
-
onCommentUpdated: n[3] || (n[3] = (
|
|
11242
|
-
onCommentDeleted: n[4] || (n[4] = (
|
|
11247
|
+
onCommentUpdated: n[3] || (n[3] = (h) => e.$emit("comment-updated", h)),
|
|
11248
|
+
onCommentDeleted: n[4] || (n[4] = (h) => e.$emit("comment-deleted", h))
|
|
11243
11249
|
}, null, 8, ["project", "topic", "comment"]))), 128))
|
|
11244
11250
|
])) : v("", !0)
|
|
11245
11251
|
]),
|
|
@@ -11247,13 +11253,13 @@ function rh(e, n, o, l, s, i) {
|
|
|
11247
11253
|
]);
|
|
11248
11254
|
}
|
|
11249
11255
|
const oh = /* @__PURE__ */ F(Xp, [["render", rh], ["__scopeId", "data-v-c43343c2"]]);
|
|
11250
|
-
var ah = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
11256
|
+
var ah = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), q1 = { 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) => ah.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
11251
11257
|
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 };
|
|
11252
11258
|
}, style() {
|
|
11253
11259
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
11254
11260
|
} } };
|
|
11255
11261
|
const lh = ["color"];
|
|
11256
|
-
function
|
|
11262
|
+
function S1(e, n) {
|
|
11257
11263
|
n === void 0 && (n = {});
|
|
11258
11264
|
var o = n.insertAt;
|
|
11259
11265
|
if (e && typeof document < "u") {
|
|
@@ -11261,7 +11267,7 @@ function Z1(e, n) {
|
|
|
11261
11267
|
s.type = "text/css", o === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
11262
11268
|
}
|
|
11263
11269
|
}
|
|
11264
|
-
|
|
11270
|
+
S1(`/* base COLORS --------------------------------------------- */
|
|
11265
11271
|
/* colors BRAND */
|
|
11266
11272
|
/* colors GREY SHADES - NEUTRAL */
|
|
11267
11273
|
/* color TEXT */
|
|
@@ -11419,7 +11425,7 @@ html[data-v-3f903003] {
|
|
|
11419
11425
|
.primary-font[data-v-3f903003] {
|
|
11420
11426
|
font-family: "roboto", sans-serif;
|
|
11421
11427
|
}`);
|
|
11422
|
-
|
|
11428
|
+
S1(`.bimdata-btn {
|
|
11423
11429
|
padding: 0 var(--spacing-unit);
|
|
11424
11430
|
height: -webkit-fit-content;
|
|
11425
11431
|
height: -moz-fit-content;
|
|
@@ -11722,9 +11728,9 @@ Z1(`.bimdata-btn {
|
|
|
11722
11728
|
.bimdata-btn__ghost:disabled {
|
|
11723
11729
|
color: var(--color-silver-dark);
|
|
11724
11730
|
cursor: auto;
|
|
11725
|
-
}`),
|
|
11731
|
+
}`), q1.render = function(e, n, o, l, s, i) {
|
|
11726
11732
|
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: y(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, lh);
|
|
11727
|
-
},
|
|
11733
|
+
}, q1.__scopeId = "data-v-3f903003", q1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
11728
11734
|
const ih = { "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" }, sh = { render: function(e, n) {
|
|
11729
11735
|
return r(), a("path", ih);
|
|
11730
11736
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, ch = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.55 15.0531H16.0997V18.503H13.7999V15.0531H10.35V12.7529H13.7999V9.303H16.0997V12.7529H19.55V15.0531ZM20.7001 5.85364H11.4997L9.19989 3.55383H2.29968C1.02325 3.55383 0.0113988 4.5772 0.0113988 5.85364L-0.00012207 19.6537C-0.00012207 20.9301 1.02325 21.9539 2.29968 21.9539H20.7001C21.9761 21.9539 22.9999 20.9301 22.9999 19.6537V8.15384C22.9999 6.87701 21.9761 5.85364 20.7001 5.85364Z" }, dh = { render: function(e, n) {
|
|
@@ -12032,7 +12038,7 @@ const ih = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
12032
12038
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
12033
12039
|
var g5 = { addFile: sh, addFolder: dh, addUser: Ch, alphabeticalAscending: hh, alphabeticalDescending: gh, alphabeticalSort: Lh, alt: mh, angle: Mh, api: yh, archive: Dh, arrow: Bh, attach: xh, backInTime: Sh, bcf: Th, building: Nh, burgerMenu: Rh, calendar: Fh, caliper: Uh, camera: Gh, cancelCamera: Wh, check: jh, chevron: qh, classificationCategorie: Qh, classificationElement: nb, click: rb, close: ab, cloud: ib, color: cb, comment: ub, cursor: pb, dateAscending: bb, dateDescending: fb, default: vb, delete: Ib, deniedFile: _b, deploy: Hb, detach: Vb, distance: kb, doubleChevron: wb, down: Sb, download: Tb, drag: Nb, edit: Rb, ellipsis: Fb, expanded: Ub, explosion: Gb, export: Wb, exportIfc: jb, failed: qb, filter: Qb, fitView: ng, folder: rg, folderMove: ag, folderOpen: ig, fullscreen: cg, grid: ug, group: pg, hide: bg, ifc: fg, ifcFile: vg, import: Ig, indexAscending: _g, indexDescending: Hg, information: Vg, inProgressFile: kg, invitation: wg, isolate: Sg, key: Tg, left: Ng, linkedDocument: Rg, list: Fg, listManage: Ug, location: Gg, lock: Wg, logout: jg, measure: qg, minus: Qg, model3d: nf, organization: rf, parameters: af, path: sf, pieGraph: df, plus: Cf, project: hf, quickSelect: gf, readonlyFolder: Lf, redo: mf, reduced: Mf, refresh: yf, reprocessIfc: Df, reset: Bf, right: xf, rules: Zf, sandglass: Af, save: $f, screenConfig: Of, screenshot: Ef, search: Pf, section: zf, settings: Yf, share: Xf, show: Kf, showSelected: Jf, socotec: eL, space: tL, split: oL, storey: lL, success: sL, surface: dL, swap: CL, synchro2d: hL, system: gL, tag: vL, tree: IL, unarchive: _L, undo: HL, union: VL, up: kL, user: wL, validate: SL, validatedFile: TL, versioning: OL, video: EL, visa: PL, warning: zL, windowBottom: YL, windowed: XL, windowLeft: KL, windowRight: JL, windowTop: ev, zone: tv, bcfPolychrome: ov, createWindowPolychrome: lv, docInfoPolychrome: sv, fileDwgPolychrome: dv, fileIfcPolychrome: Cv, filePdfPolychrome: hv, filePlanPolychrome: gv, folderPolychrome: Lv, structurePolychrome: mv, viewer2dPolychrome: Mv, viewer3dPolychrome: yv }, Hv = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
12034
12040
|
const f5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
12035
|
-
var
|
|
12041
|
+
var J1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
12036
12042
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
12037
12043
|
}(g5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(g5).includes(e) }, color: { type: String, default: "default", validator: (e) => Hv.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(f5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
12038
12044
|
return { "icon-fill": this.fill, "icon-stroke": this.stroke, [`icon-fill--${this.color}`]: this.fill && this.color, [`icon-stroke--${this.color}`]: this.stroke && this.color };
|
|
@@ -12043,7 +12049,7 @@ var q1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
12043
12049
|
return this.customSize ? this.customSize : f5[this.size];
|
|
12044
12050
|
} } };
|
|
12045
12051
|
const Dv = ["fill", "color"];
|
|
12046
|
-
|
|
12052
|
+
S1(`/* base COLORS --------------------------------------------- */
|
|
12047
12053
|
/* colors BRAND */
|
|
12048
12054
|
/* colors GREY SHADES - NEUTRAL */
|
|
12049
12055
|
/* color TEXT */
|
|
@@ -12112,7 +12118,7 @@ html[data-v-1312d4d1] {
|
|
|
12112
12118
|
/* base FONTS -------------------------------------- */
|
|
12113
12119
|
--primary-font: "roboto", sans-serif;
|
|
12114
12120
|
}`);
|
|
12115
|
-
|
|
12121
|
+
S1(`.icon-fill--black {
|
|
12116
12122
|
fill: var(--color-black);
|
|
12117
12123
|
}
|
|
12118
12124
|
.icon-fill--default {
|
|
@@ -12195,10 +12201,10 @@ Z1(`.icon-fill--black {
|
|
|
12195
12201
|
}
|
|
12196
12202
|
.icon-stroke--white {
|
|
12197
12203
|
stroke: var(--color-white);
|
|
12198
|
-
}`),
|
|
12199
|
-
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(
|
|
12200
|
-
},
|
|
12201
|
-
var
|
|
12204
|
+
}`), J1.render = function(e, n, o, l, s, i) {
|
|
12205
|
+
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(u1(`bimdata-icon-${o.name}`)))], 14, Dv);
|
|
12206
|
+
}, J1.__scopeId = "data-v-1312d4d1", J1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
12207
|
+
var Q1 = { components: { BIMDataButton: q1, BIMDataIcon: J1 }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
12202
12208
|
this.distributeItems();
|
|
12203
12209
|
} }, mounted() {
|
|
12204
12210
|
this.distributeItems(), this.resizeObserver = new ResizeObserver(() => this.distributeItems()), this.resizeObserver.observe(this.$refs.slider), this.mutationObserver = new MutationObserver(() => this.distributeItems()), this.mutationObserver.observe(this.$refs.slider, { childList: !0 });
|
|
@@ -12220,7 +12226,7 @@ var J1 = { components: { BIMDataButton: K1, BIMDataIcon: q1 }, props: { sliderPa
|
|
|
12220
12226
|
}
|
|
12221
12227
|
} } };
|
|
12222
12228
|
const Vv = { class: "bimdata-carousel" }, Bv = { class: "bimdata-carousel__container" };
|
|
12223
|
-
|
|
12229
|
+
S1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
12224
12230
|
--button-size: 44px;
|
|
12225
12231
|
position: relative;
|
|
12226
12232
|
}
|
|
@@ -12250,14 +12256,14 @@ Z1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
|
12250
12256
|
}
|
|
12251
12257
|
.bimdata-carousel__btn-next[data-v-b82c72c2] {
|
|
12252
12258
|
right: calc(0px - var(--button-size) / 2);
|
|
12253
|
-
}`),
|
|
12259
|
+
}`), Q1.render = function(e, n, o, l, s, i) {
|
|
12254
12260
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
12255
12261
|
return r(), a("div", Vv, [X(p(u, { class: "bimdata-carousel__btn-prev", color: "default", fill: "", rounded: "", icon: "", onClick: n[0] || (n[0] = (d) => s.index--) }, { default: f(() => [p(c, { name: "chevron", size: "s", rotate: 180 })]), _: 1 }, 512), [[q, s.index > 0]]), t("div", Bv, [t("div", { class: "bimdata-carousel__container__slider", ref: "slider", style: y({ transform: `translateX(-${s.translations[s.index]}px)` }) }, [_(e.$slots, "default")], 4)]), X(p(u, { class: "bimdata-carousel__btn-next", color: "default", fill: "", rounded: "", icon: "", onClick: n[1] || (n[1] = (d) => s.index++) }, { default: f(() => [p(c, { name: "chevron", size: "s" })]), _: 1 }, 512), [[q, s.index < s.maxIndex]])]);
|
|
12256
|
-
},
|
|
12262
|
+
}, Q1.__scopeId = "data-v-b82c72c2", Q1.__file = "src/BIMDataComponents/BIMDataCarousel/BIMDataCarousel.vue";
|
|
12257
12263
|
const kv = {
|
|
12258
12264
|
components: {
|
|
12259
12265
|
BcfTopicDefaultImage: X2,
|
|
12260
|
-
BIMDataCarousel:
|
|
12266
|
+
BIMDataCarousel: Q1,
|
|
12261
12267
|
BIMDataIcon: j
|
|
12262
12268
|
},
|
|
12263
12269
|
props: {
|
|
@@ -12310,7 +12316,7 @@ function wv(e, n, o, l, s, i) {
|
|
|
12310
12316
|
fill: "",
|
|
12311
12317
|
color: "default"
|
|
12312
12318
|
}),
|
|
12313
|
-
t("span", null,
|
|
12319
|
+
t("span", null, b(o.topic.topic_status), 1)
|
|
12314
12320
|
], 4)) : v("", !0),
|
|
12315
12321
|
l.viewpoints.length > 0 ? (r(), D(u, {
|
|
12316
12322
|
key: 1,
|
|
@@ -12349,9 +12355,9 @@ const Sv = {
|
|
|
12349
12355
|
BcfTopicViewpoints: Zv,
|
|
12350
12356
|
BIMDataButton: W,
|
|
12351
12357
|
BIMDataIcon: j,
|
|
12352
|
-
BIMDataLoading:
|
|
12353
|
-
BIMDataSafeZoneModal:
|
|
12354
|
-
BIMDataTextbox:
|
|
12358
|
+
BIMDataLoading: d1,
|
|
12359
|
+
BIMDataSafeZoneModal: V1,
|
|
12360
|
+
BIMDataTextbox: o1
|
|
12355
12361
|
},
|
|
12356
12362
|
props: {
|
|
12357
12363
|
uiConfig: {
|
|
@@ -12391,9 +12397,9 @@ const Sv = {
|
|
|
12391
12397
|
"view-topic-viewpoint"
|
|
12392
12398
|
],
|
|
12393
12399
|
setup(e, { emit: n }) {
|
|
12394
|
-
const o =
|
|
12395
|
-
var C, L,
|
|
12396
|
-
return ((
|
|
12400
|
+
const o = w1(), l = B(!1), s = B(!1), i = R(() => v1(e.topic, e.detailedExtensions)), c = R(() => {
|
|
12401
|
+
var C, L, h;
|
|
12402
|
+
return ((h = (L = (C = e.topic.viewpoints) == null ? void 0 : C[0]) == null ? void 0 : L.components) == null ? void 0 : h.selection) || [];
|
|
12397
12403
|
}), u = R(() => Array.from(e.topic.labels || []).sort());
|
|
12398
12404
|
return {
|
|
12399
12405
|
loading: l,
|
|
@@ -12418,7 +12424,7 @@ const Sv = {
|
|
|
12418
12424
|
class: "title"
|
|
12419
12425
|
}, Uv = { class: "line" }, zv = { class: "label" }, Gv = { class: "value" }, Yv = { class: "line" }, Wv = { class: "label" }, Xv = { class: "value" }, jv = { class: "line" }, Kv = { class: "label" }, qv = { class: "value" }, Jv = { class: "line" }, Qv = { class: "label" }, em = { class: "value" }, nm = { class: "bcf-topic-overview__content__card" }, tm = { class: "title" }, rm = { class: "line" }, om = { class: "label" }, am = { class: "value" }, lm = { class: "line" }, im = { class: "label" }, sm = { class: "value" }, cm = { class: "line" }, dm = { class: "label" }, um = { class: "line" }, Cm = { class: "label" }, pm = { class: "value" }, hm = { class: "line m-t-12" }, bm = { class: "label" }, gm = { class: "value" }, fm = { key: 1 };
|
|
12420
12426
|
function Lm(e, n, o, l, s, i) {
|
|
12421
|
-
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicViewpoints"), L = g("BcfTopicComments"),
|
|
12427
|
+
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicViewpoints"), L = g("BcfTopicComments"), h = g("BIMDataSafeZoneModal"), m = g("BIMDataLoading");
|
|
12422
12428
|
return r(), a("div", Av, [
|
|
12423
12429
|
t("div", Tv, [
|
|
12424
12430
|
o.uiConfig.backButton ? (r(), D(u, {
|
|
@@ -12426,7 +12432,7 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12426
12432
|
ghost: "",
|
|
12427
12433
|
rounded: "",
|
|
12428
12434
|
icon: "",
|
|
12429
|
-
onClick: n[0] || (n[0] = (
|
|
12435
|
+
onClick: n[0] || (n[0] = (M) => e.$emit("back"))
|
|
12430
12436
|
}, {
|
|
12431
12437
|
default: f(() => [
|
|
12432
12438
|
p(c, {
|
|
@@ -12450,7 +12456,7 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12450
12456
|
ghost: "",
|
|
12451
12457
|
rounded: "",
|
|
12452
12458
|
icon: "",
|
|
12453
|
-
onClick: n[1] || (n[1] = (
|
|
12459
|
+
onClick: n[1] || (n[1] = (M) => e.$emit("edit-topic", o.topic))
|
|
12454
12460
|
}, {
|
|
12455
12461
|
default: f(() => [
|
|
12456
12462
|
p(c, {
|
|
@@ -12465,7 +12471,7 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12465
12471
|
ghost: "",
|
|
12466
12472
|
rounded: "",
|
|
12467
12473
|
icon: "",
|
|
12468
|
-
onClick: n[2] || (n[2] = (
|
|
12474
|
+
onClick: n[2] || (n[2] = (M) => l.showDeleteModal = !0)
|
|
12469
12475
|
}, {
|
|
12470
12476
|
default: f(() => [
|
|
12471
12477
|
p(c, {
|
|
@@ -12480,7 +12486,7 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12480
12486
|
ghost: "",
|
|
12481
12487
|
rounded: "",
|
|
12482
12488
|
icon: "",
|
|
12483
|
-
onClick: n[3] || (n[3] = (
|
|
12489
|
+
onClick: n[3] || (n[3] = (M) => e.$emit("close"))
|
|
12484
12490
|
}, {
|
|
12485
12491
|
default: f(() => [
|
|
12486
12492
|
p(c, {
|
|
@@ -12502,13 +12508,13 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12502
12508
|
backgroundColor: `#${l.priorityColor}`,
|
|
12503
12509
|
color: l.adjustTextColor(`#${l.priorityColor}`, "#FFF", "#2F374A")
|
|
12504
12510
|
})
|
|
12505
|
-
},
|
|
12506
|
-
t("div", Ev,
|
|
12511
|
+
}, b(o.topic.index), 5),
|
|
12512
|
+
t("div", Ev, b(e.$d(o.topic.creation_date, "short")), 1)
|
|
12507
12513
|
]),
|
|
12508
12514
|
p(C, {
|
|
12509
12515
|
detailedExtensions: o.detailedExtensions,
|
|
12510
12516
|
topic: o.topic,
|
|
12511
|
-
onViewTopicViewpoint: n[4] || (n[4] = (
|
|
12517
|
+
onViewTopicViewpoint: n[4] || (n[4] = (M) => e.$emit("view-topic-viewpoint", M))
|
|
12512
12518
|
}, null, 8, ["detailedExtensions", "topic"]),
|
|
12513
12519
|
o.uiConfig.viewerMode ? (r(), D(u, {
|
|
12514
12520
|
key: 0,
|
|
@@ -12516,7 +12522,7 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12516
12522
|
fill: "",
|
|
12517
12523
|
radius: "",
|
|
12518
12524
|
disabled: l.topicObjects.length === 0,
|
|
12519
|
-
onClick: n[5] || (n[5] = (
|
|
12525
|
+
onClick: n[5] || (n[5] = (M) => e.$emit("view-topic-components", o.topic))
|
|
12520
12526
|
}, {
|
|
12521
12527
|
default: f(() => [
|
|
12522
12528
|
p(c, {
|
|
@@ -12525,9 +12531,9 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12525
12531
|
margin: "0 6px 0 0"
|
|
12526
12532
|
}),
|
|
12527
12533
|
l.topicObjects.length > 0 ? (r(), a(O, { key: 0 }, [
|
|
12528
|
-
Z(
|
|
12534
|
+
Z(b(e.$t("BcfComponents.BcfTopicOverview.elements", { count: l.topicObjects.length })), 1)
|
|
12529
12535
|
], 64)) : (r(), a(O, { key: 1 }, [
|
|
12530
|
-
Z(
|
|
12536
|
+
Z(b(e.$t("BcfComponents.BcfTopicOverview.noElements")), 1)
|
|
12531
12537
|
], 64))
|
|
12532
12538
|
]),
|
|
12533
12539
|
_: 1
|
|
@@ -12537,10 +12543,10 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12537
12543
|
color: "primary",
|
|
12538
12544
|
fill: "",
|
|
12539
12545
|
radius: "",
|
|
12540
|
-
onClick: n[6] || (n[6] = (
|
|
12546
|
+
onClick: n[6] || (n[6] = (M) => e.$emit("view-topic", o.topic))
|
|
12541
12547
|
}, {
|
|
12542
12548
|
default: f(() => [
|
|
12543
|
-
Z(
|
|
12549
|
+
Z(b(e.$t("BcfComponents.BcfTopicOverview.openViewer")), 1)
|
|
12544
12550
|
]),
|
|
12545
12551
|
_: 1
|
|
12546
12552
|
})),
|
|
@@ -12550,68 +12556,68 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12550
12556
|
name: "model3d",
|
|
12551
12557
|
size: "xs"
|
|
12552
12558
|
}),
|
|
12553
|
-
t("span", null,
|
|
12559
|
+
t("span", null, b(e.$t("BcfComponents.BcfTopicOverview.elements", { count: l.topicObjects.length })), 1)
|
|
12554
12560
|
])),
|
|
12555
12561
|
t("div", Uv, [
|
|
12556
|
-
t("span", zv,
|
|
12557
|
-
t("span", Gv,
|
|
12562
|
+
t("span", zv, b(e.$t("BcfComponents.BcfTopicOverview.type")), 1),
|
|
12563
|
+
t("span", Gv, b(o.topic.topic_type ? o.topic.topic_type : e.$t("BcfComponents.BcfTopicOverview.noTypeSpecified")), 1)
|
|
12558
12564
|
]),
|
|
12559
12565
|
t("div", Yv, [
|
|
12560
|
-
t("span", Wv,
|
|
12561
|
-
t("span", Xv,
|
|
12566
|
+
t("span", Wv, b(e.$t("BcfComponents.BcfTopicOverview.description")), 1),
|
|
12567
|
+
t("span", Xv, b(o.topic.description ? o.topic.description : e.$t("BcfComponents.BcfTopicOverview.noDescriptionProvided")), 1)
|
|
12562
12568
|
]),
|
|
12563
12569
|
t("div", jv, [
|
|
12564
|
-
t("span", Kv,
|
|
12565
|
-
t("span", qv,
|
|
12570
|
+
t("span", Kv, b(e.$t("BcfComponents.BcfTopicOverview.assignedTo")), 1),
|
|
12571
|
+
t("span", qv, b(o.topic.assigned_to ? o.topic.assigned_to : e.$t("BcfComponents.BcfTopicOverview.notAssigned")), 1)
|
|
12566
12572
|
]),
|
|
12567
12573
|
t("div", Jv, [
|
|
12568
|
-
t("span", Qv,
|
|
12569
|
-
t("span", em,
|
|
12574
|
+
t("span", Qv, b(e.$t("BcfComponents.BcfTopicOverview.dueDate")), 1),
|
|
12575
|
+
t("span", em, b(o.topic.due_date ? e.$d(o.topic.due_date, "short") : e.$t("BcfComponents.BcfTopicOverview.noDueDate")), 1)
|
|
12570
12576
|
])
|
|
12571
12577
|
]),
|
|
12572
12578
|
t("div", nm, [
|
|
12573
12579
|
t("div", tm, [
|
|
12574
12580
|
p(c, { name: "bcf" }),
|
|
12575
|
-
t("span", null,
|
|
12581
|
+
t("span", null, b(e.$t("BcfComponents.BcfTopicOverview.informations")), 1)
|
|
12576
12582
|
]),
|
|
12577
12583
|
t("div", rm, [
|
|
12578
|
-
t("span", om,
|
|
12579
|
-
t("span", am,
|
|
12584
|
+
t("span", om, b(e.$t("BcfComponents.BcfTopicOverview.status")), 1),
|
|
12585
|
+
t("span", am, b(o.topic.topic_status || e.$t("BcfComponents.BcfTopicOverview.noStatusSpecified")), 1)
|
|
12580
12586
|
]),
|
|
12581
12587
|
t("div", lm, [
|
|
12582
|
-
t("span", im,
|
|
12583
|
-
t("span", sm,
|
|
12588
|
+
t("span", im, b(e.$t("BcfComponents.BcfTopicOverview.stage")), 1),
|
|
12589
|
+
t("span", sm, b(o.topic.stage || e.$t("BcfComponents.BcfTopicOverview.noStageProvided")), 1)
|
|
12584
12590
|
]),
|
|
12585
12591
|
t("div", cm, [
|
|
12586
|
-
t("span", dm,
|
|
12592
|
+
t("span", dm, b(e.$t("BcfComponents.BcfTopicOverview.priority")), 1),
|
|
12587
12593
|
t("span", {
|
|
12588
12594
|
class: "value",
|
|
12589
12595
|
style: y({ color: `#${l.priorityColor}` })
|
|
12590
|
-
},
|
|
12596
|
+
}, b(o.topic.priority || e.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 5)
|
|
12591
12597
|
]),
|
|
12592
12598
|
t("div", um, [
|
|
12593
|
-
t("span", Cm,
|
|
12594
|
-
t("span", pm,
|
|
12599
|
+
t("span", Cm, b(e.$t("BcfComponents.BcfTopicOverview.author")), 1),
|
|
12600
|
+
t("span", pm, b(o.topic.creation_author), 1)
|
|
12595
12601
|
]),
|
|
12596
12602
|
t("div", hm, [
|
|
12597
|
-
t("span", bm,
|
|
12598
|
-
t("span", gm,
|
|
12603
|
+
t("span", bm, b(e.$t("BcfComponents.BcfTopicOverview.tags")), 1),
|
|
12604
|
+
t("span", gm, b(l.topicLabels.length ? l.topicLabels.join(", ") : e.$t("BcfComponents.BcfTopicOverview.noTags")), 1)
|
|
12599
12605
|
])
|
|
12600
12606
|
]),
|
|
12601
12607
|
p(L, {
|
|
12602
12608
|
project: o.project,
|
|
12603
12609
|
topic: o.topic,
|
|
12604
|
-
onCommentCreated: n[7] || (n[7] = (
|
|
12605
|
-
onCommentUpdated: n[8] || (n[8] = (
|
|
12606
|
-
onCommentDeleted: n[9] || (n[9] = (
|
|
12610
|
+
onCommentCreated: n[7] || (n[7] = (M) => e.$emit("comment-created", M)),
|
|
12611
|
+
onCommentUpdated: n[8] || (n[8] = (M) => e.$emit("comment-updated", M)),
|
|
12612
|
+
onCommentDeleted: n[9] || (n[9] = (M) => e.$emit("comment-deleted", M))
|
|
12607
12613
|
}, null, 8, ["project", "topic"])
|
|
12608
12614
|
]),
|
|
12609
|
-
l.showDeleteModal ? (r(), D(
|
|
12615
|
+
l.showDeleteModal ? (r(), D(h, {
|
|
12610
12616
|
key: 0,
|
|
12611
12617
|
class: "delete-modal"
|
|
12612
12618
|
}, {
|
|
12613
12619
|
text: f(() => [
|
|
12614
|
-
Z(
|
|
12620
|
+
Z(b(e.$t("BcfComponents.BcfTopicOverview.deleteText", { name: o.topic.title })), 1)
|
|
12615
12621
|
]),
|
|
12616
12622
|
actions: f(() => [
|
|
12617
12623
|
p(u, {
|
|
@@ -12622,7 +12628,7 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12622
12628
|
onClick: l.deleteTopic
|
|
12623
12629
|
}, {
|
|
12624
12630
|
default: f(() => [
|
|
12625
|
-
Z(
|
|
12631
|
+
Z(b(e.$t("BcfComponents.BcfTopicOverview.deleteBcfButton")), 1)
|
|
12626
12632
|
]),
|
|
12627
12633
|
_: 1
|
|
12628
12634
|
}, 8, ["onClick"]),
|
|
@@ -12630,10 +12636,10 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12630
12636
|
color: "primary",
|
|
12631
12637
|
outline: "",
|
|
12632
12638
|
radius: "",
|
|
12633
|
-
onClick: n[10] || (n[10] = (
|
|
12639
|
+
onClick: n[10] || (n[10] = (M) => l.showDeleteModal = !1)
|
|
12634
12640
|
}, {
|
|
12635
12641
|
default: f(() => [
|
|
12636
|
-
Z(
|
|
12642
|
+
Z(b(e.$t("BcfComponents.BcfTopicOverview.keepBcfButton")), 1)
|
|
12637
12643
|
]),
|
|
12638
12644
|
_: 1
|
|
12639
12645
|
})
|
|
@@ -12641,7 +12647,7 @@ function Lm(e, n, o, l, s, i) {
|
|
|
12641
12647
|
_: 1
|
|
12642
12648
|
})) : v("", !0),
|
|
12643
12649
|
l.loading ? (r(), a("div", fm, [
|
|
12644
|
-
p(
|
|
12650
|
+
p(m)
|
|
12645
12651
|
])) : v("", !0)
|
|
12646
12652
|
]);
|
|
12647
12653
|
}
|
|
@@ -12654,12 +12660,12 @@ const vm = /* @__PURE__ */ F(Sv, [["render", Lm], ["__scopeId", "data-v-15f742b7
|
|
|
12654
12660
|
},
|
|
12655
12661
|
{
|
|
12656
12662
|
id: "priority",
|
|
12657
|
-
width: "
|
|
12663
|
+
width: "120px",
|
|
12658
12664
|
align: "center"
|
|
12659
12665
|
},
|
|
12660
12666
|
{
|
|
12661
12667
|
id: "status",
|
|
12662
|
-
width: "
|
|
12668
|
+
width: "100px",
|
|
12663
12669
|
align: "center"
|
|
12664
12670
|
},
|
|
12665
12671
|
{
|
|
@@ -12683,7 +12689,7 @@ const vm = /* @__PURE__ */ F(Sv, [["render", Lm], ["__scopeId", "data-v-15f742b7
|
|
|
12683
12689
|
align: "center"
|
|
12684
12690
|
}
|
|
12685
12691
|
];
|
|
12686
|
-
var mm = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
12692
|
+
var mm = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), e2 = { 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) => mm.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
12687
12693
|
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 };
|
|
12688
12694
|
}, style() {
|
|
12689
12695
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -13158,10 +13164,10 @@ K(`.bimdata-btn {
|
|
|
13158
13164
|
.bimdata-btn__ghost:disabled {
|
|
13159
13165
|
color: var(--color-silver-dark);
|
|
13160
13166
|
cursor: auto;
|
|
13161
|
-
}`),
|
|
13167
|
+
}`), e2.render = function(e, n, o, l, s, i) {
|
|
13162
13168
|
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: y(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, Im);
|
|
13163
|
-
},
|
|
13164
|
-
var
|
|
13169
|
+
}, e2.__scopeId = "data-v-3f903003", e2.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
13170
|
+
var n2 = { 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() {
|
|
13165
13171
|
return this.modelValue === null;
|
|
13166
13172
|
}, checked() {
|
|
13167
13173
|
return this.modelValue === !0 || this.indeterminate;
|
|
@@ -13170,7 +13176,7 @@ var e2 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue
|
|
|
13170
13176
|
} }, methods: { onClick() {
|
|
13171
13177
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
13172
13178
|
} } };
|
|
13173
|
-
const Mm = ((e) => (
|
|
13179
|
+
const Mm = ((e) => (l1("data-v-34d34265"), e = e(), i1(), e))(() => t("span", { class: "bimdata-checkbox__mark" }, null, -1)), _m = { key: 0, class: "bimdata-checkbox__text" };
|
|
13174
13180
|
K(`/* base COLORS --------------------------------------------- */
|
|
13175
13181
|
/* colors BRAND */
|
|
13176
13182
|
/* colors GREY SHADES - NEUTRAL */
|
|
@@ -13416,9 +13422,9 @@ K(`.bimdata-checkbox {
|
|
|
13416
13422
|
}
|
|
13417
13423
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
13418
13424
|
background-color: var(--color-silver-dark);
|
|
13419
|
-
}`),
|
|
13420
|
-
return r(), a("div", { class: V(["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: o.disabled, checked: i.checked }]), onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: y(i.style) }, [Mm, o.text ? (r(), a("span", _m, [_(e.$slots, "default", {}, () => [Z(
|
|
13421
|
-
},
|
|
13425
|
+
}`), n2.render = function(e, n, o, l, s, i) {
|
|
13426
|
+
return r(), a("div", { class: V(["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: o.disabled, checked: i.checked }]), onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: y(i.style) }, [Mm, o.text ? (r(), a("span", _m, [_(e.$slots, "default", {}, () => [Z(b(o.text), 1)])])) : v("v-if", !0)], 6);
|
|
13427
|
+
}, n2.__scopeId = "data-v-34d34265", n2.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
13422
13428
|
const ym = { "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" }, Hm = { render: function(e, n) {
|
|
13423
13429
|
return r(), a("path", ym);
|
|
13424
13430
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
@@ -13431,7 +13437,7 @@ var u2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: {
|
|
|
13431
13437
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
13432
13438
|
} }, methods: { getPixelSize() {
|
|
13433
13439
|
return this.customSize ? this.customSize : v5[this.size];
|
|
13434
|
-
} } }),
|
|
13440
|
+
} } }), t2 = u2("Chevron", Hm);
|
|
13435
13441
|
const Vm = ["fill", "color"];
|
|
13436
13442
|
K(`/* base COLORS --------------------------------------------- */
|
|
13437
13443
|
/* colors BRAND */
|
|
@@ -13585,10 +13591,10 @@ K(`.icon-fill--black {
|
|
|
13585
13591
|
}
|
|
13586
13592
|
.icon-stroke--white {
|
|
13587
13593
|
stroke: var(--color-white);
|
|
13588
|
-
}`),
|
|
13594
|
+
}`), t2.render = function(e, n, o, l, s, i) {
|
|
13589
13595
|
const c = g("Chevron");
|
|
13590
13596
|
return r(), a("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: V(e.classes), style: y(e.style) }, [p(c)], 14, Vm);
|
|
13591
|
-
},
|
|
13597
|
+
}, t2.__scopeId = "data-v-5e440aca", t2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
13592
13598
|
const Bm = { "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" }, km = { render: function(e, n) {
|
|
13593
13599
|
return r(), a("path", Bm);
|
|
13594
13600
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
@@ -14072,43 +14078,42 @@ K(`.icon-fill--black {
|
|
|
14072
14078
|
const c = g("Search");
|
|
14073
14079
|
return r(), a("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: V(e.classes), style: y(e.style) }, [p(c)], 14, $m);
|
|
14074
14080
|
}, m2.__scopeId = "data-v-0993abf8", m2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
14075
|
-
var
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
}
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
}
|
|
14096
|
-
|
|
14097
|
-
},
|
|
14098
|
-
|
|
14099
|
-
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
}
|
|
14109
|
-
|
|
14110
|
-
} } };
|
|
14111
|
-
const Nm = { class: "bimdata-table" }, Om = { key: 0, class: "cell-checkbox" }, Rm = { key: 0, class: "cell-checkbox" }, Em = { class: "bimdata-table__page-nav__text" };
|
|
14081
|
+
var r2 = { components: { BIMDataButton: e2, BIMDataCheckbox: n2, BIMDataIconChevron: t2 }, props: { columns: { type: Array, required: !0 }, rows: { type: Array, required: !0 }, rowKey: { type: String }, rowHeight: { type: Number, default: 50 }, selectable: { type: Boolean, default: !1 }, paginated: { type: Boolean, default: !1 }, perPage: { type: Number, default: 10 }, placeholder: { type: String, default: "" }, tableWidth: { type: String, default: "100%" }, tableLayout: { type: String, default: "auto" } }, emits: ["selection-changed", "row-selected", "row-deselected", "all-selected", "all-deselected"], setup(e, { emit: n }) {
|
|
14082
|
+
const o = B(/* @__PURE__ */ new Map());
|
|
14083
|
+
n1(o, (L) => {
|
|
14084
|
+
n("selection-changed", Array.from(L.values()));
|
|
14085
|
+
});
|
|
14086
|
+
let l = [];
|
|
14087
|
+
const s = (L, h) => {
|
|
14088
|
+
l.forEach((m) => m.unwatch()), l = [], l = L.map((m, M) => {
|
|
14089
|
+
const I = B(h);
|
|
14090
|
+
return { ref: I, unwatch: n1(I, (k) => {
|
|
14091
|
+
e.selectable && (k ? (o.value.set(M, m), o.value = new Map([...o.value.entries()]), n("row-selected", m)) : (o.value.delete(M), o.value = new Map([...o.value.entries()]), n("row-deselected", m)));
|
|
14092
|
+
}) };
|
|
14093
|
+
});
|
|
14094
|
+
}, i = B(!1);
|
|
14095
|
+
n1(i, (L) => {
|
|
14096
|
+
e.selectable && (L ? (o.value = new Map([...e.rows.map((h, m) => [m, h])]), s(e.rows, !0), n("all-selected")) : (o.value = /* @__PURE__ */ new Map(), s(e.rows, !1), n("all-deselected")));
|
|
14097
|
+
});
|
|
14098
|
+
const c = B([]), u = B(0), d = B(1), C = B(e.perPage);
|
|
14099
|
+
return n1(() => e.rows, () => {
|
|
14100
|
+
o.value = /* @__PURE__ */ new Map(), setTimeout(() => s(e.rows, !1));
|
|
14101
|
+
}, { immediate: !0 }), n1([() => e.rows, () => e.perPage], () => {
|
|
14102
|
+
u.value = 0;
|
|
14103
|
+
}, { immediate: !0 }), n1([() => e.rows, () => e.paginated, () => e.perPage, u], () => {
|
|
14104
|
+
const L = e.rows.map((h, m) => m);
|
|
14105
|
+
if (e.paginated) {
|
|
14106
|
+
const h = e.perPage * u.value, m = h + e.perPage;
|
|
14107
|
+
c.value = L.slice(h, m), d.value = h + 1, C.value = Math.min(m, e.rows.length);
|
|
14108
|
+
} else
|
|
14109
|
+
c.value = L;
|
|
14110
|
+
}, { immediate: !0 }), { displayedRows: c, pageIndex: u, pageIndexEnd: C, pageIndexStart: d, selection: o, toggleFullSelection: () => {
|
|
14111
|
+
i.value = !i.value;
|
|
14112
|
+
}, toggleRowSelection: (L) => {
|
|
14113
|
+
l[L].ref.value = !l[L].ref.value;
|
|
14114
|
+
} };
|
|
14115
|
+
} };
|
|
14116
|
+
const Nm = { class: "bimdata-table" }, Om = { key: 0, class: "cell-checkbox" }, Rm = { key: "head-row-1" }, Em = ["colspan"], Fm = { key: 0, class: "cell-checkbox" }, Pm = { class: "bimdata-table__page-nav__text" };
|
|
14112
14117
|
K(`/* base COLORS --------------------------------------------- */
|
|
14113
14118
|
/* colors BRAND */
|
|
14114
14119
|
/* colors GREY SHADES - NEUTRAL */
|
|
@@ -14200,11 +14205,18 @@ html[data-v-a29e0786] {
|
|
|
14200
14205
|
width: 42px;
|
|
14201
14206
|
}
|
|
14202
14207
|
.bimdata-table__container table th[data-v-a29e0786] {
|
|
14203
|
-
font-weight:
|
|
14208
|
+
font-weight: bold;
|
|
14204
14209
|
color: var(--color-primary);
|
|
14205
14210
|
}
|
|
14211
|
+
.bimdata-table__container table th.cell-sub-header[data-v-a29e0786] {
|
|
14212
|
+
min-height: 0;
|
|
14213
|
+
padding: 0;
|
|
14214
|
+
text-align: left;
|
|
14215
|
+
font-weight: normal;
|
|
14216
|
+
color: var(--color-granite-lightest);
|
|
14217
|
+
}
|
|
14206
14218
|
.bimdata-table__container table td[data-v-a29e0786] {
|
|
14207
|
-
color: var(--color-granite);
|
|
14219
|
+
color: var(--color-granite-light);
|
|
14208
14220
|
}
|
|
14209
14221
|
.bimdata-table__container__placeholder[data-v-a29e0786] {
|
|
14210
14222
|
display: -webkit-box;
|
|
@@ -14218,8 +14230,7 @@ html[data-v-a29e0786] {
|
|
|
14218
14230
|
align-items: center;
|
|
14219
14231
|
padding: var(--spacing-unit);
|
|
14220
14232
|
font-size: 1rem;
|
|
14221
|
-
font-weight:
|
|
14222
|
-
background-color: var(--color-silver-light);
|
|
14233
|
+
font-weight: bold;
|
|
14223
14234
|
}
|
|
14224
14235
|
.bimdata-table__page-nav[data-v-a29e0786] {
|
|
14225
14236
|
display: -webkit-box;
|
|
@@ -14235,11 +14246,11 @@ html[data-v-a29e0786] {
|
|
|
14235
14246
|
}
|
|
14236
14247
|
.bimdata-table__page-nav__text[data-v-a29e0786] {
|
|
14237
14248
|
margin: 0 var(--spacing-unit);
|
|
14238
|
-
}`),
|
|
14249
|
+
}`), r2.render = function(e, n, o, l, s, i) {
|
|
14239
14250
|
const c = g("BIMDataCheckbox"), u = g("BIMDataIconChevron"), d = g("BIMDataButton");
|
|
14240
|
-
return r(), a("div", Nm, [t("div", { class: "bimdata-table__container", style: y({ height: o.paginated ? (o.perPage + 1) * o.rowHeight + "px" : void 0 }) }, [t("table", { style: y({ width: o.tableWidth, tableLayout: o.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: y({ height: `${o.rowHeight}px` }) }, [o.selectable ? (r(), a("th", Om, [p(c, { disabled: o.rows.length === 0, modelValue: o.rows.length > 0 &&
|
|
14241
|
-
},
|
|
14242
|
-
const
|
|
14251
|
+
return r(), a("div", Nm, [t("div", { class: "bimdata-table__container", style: y({ height: o.paginated ? (o.perPage + 1) * o.rowHeight + "px" : void 0 }) }, [t("table", { style: y({ width: o.tableWidth, tableLayout: o.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: y({ height: `${o.rowHeight}px` }) }, [o.selectable ? (r(), a("th", Om, [p(c, { disabled: o.rows.length === 0, modelValue: o.rows.length > 0 && l.selection.size === o.rows.length, "onUpdate:modelValue": l.toggleFullSelection }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : v("v-if", !0), (r(!0), a(O, null, U(o.columns, (C, L) => (r(), a("th", { key: `head-row-0-col-${L}`, style: y({ width: C.width || "auto", textAlign: C.align || "left" }) }, b(C.id ? C.label || C.id : C), 5))), 128))], 4), t("tr", Rm, [t("th", { class: "cell-sub-header", colspan: o.columns.length + o.selectable }, [_(e.$slots, "sub-header")], 8, Em)])]), t("tbody", null, [(r(!0), a(O, null, U(o.rows, (C, L) => X((r(), a("tr", { key: `body-row-${o.rowKey ? C[o.rowKey] : L}`, style: y({ height: `${o.rowHeight}px` }) }, [o.selectable ? (r(), a("td", Fm, [p(c, { modelValue: l.selection.has(L), "onUpdate:modelValue": (h) => l.toggleRowSelection(L) }, null, 8, ["modelValue", "onUpdate:modelValue"])])) : v("v-if", !0), (r(!0), a(O, null, U(o.columns, (h, m) => (r(), a("td", { key: `body-row-${o.rowKey ? C[o.rowKey] : L}-col-${m}`, style: y({ width: h.width || "auto", textAlign: h.align || "left" }) }, [_(e.$slots, `cell-${h.id}`, { row: C }, () => [Z(b(C[h.id || m]), 1)])], 4))), 128))], 4)), [[q, l.displayedRows.includes(L)]])), 128))])], 4), o.rows.length === 0 ? (r(), a("div", { key: 0, class: "bimdata-table__container__placeholder", style: y({ height: `calc(100% - ${o.placeholder ? o.rowHeight : 0}px)` }) }, [_(e.$slots, "placeholder", {}, () => [Z(b(o.placeholder), 1)])], 4)) : v("v-if", !0)], 4), o.paginated ? (r(), a("div", { key: 0, class: "bimdata-table__page-nav", style: y({ visibility: o.rows.length > o.perPage ? "visible" : "hidden" }) }, [p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexStart === 1, onClick: n[0] || (n[0] = (C) => l.pageIndex--) }, { default: f(() => [p(u, { size: "s", rotate: 180 })]), _: 1 }, 8, ["disabled"]), t("span", Pm, b(`${l.pageIndexStart} - ${l.pageIndexEnd} / ${o.rows.length}`), 1), p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexEnd === o.rows.length, onClick: n[1] || (n[1] = (C) => l.pageIndex++) }, { default: f(() => [p(u, { size: "s" })]), _: 1 }, 8, ["disabled"])], 4)) : v("v-if", !0)]);
|
|
14252
|
+
}, r2.__scopeId = "data-v-a29e0786", r2.__file = "src/BIMDataComponents/BIMDataTable/BIMDataTable.vue";
|
|
14253
|
+
const Um = {
|
|
14243
14254
|
components: {
|
|
14244
14255
|
BIMDataButton: W
|
|
14245
14256
|
},
|
|
@@ -14252,10 +14263,10 @@ const Fm = {
|
|
|
14252
14263
|
emits: [
|
|
14253
14264
|
"open-topic"
|
|
14254
14265
|
]
|
|
14255
|
-
},
|
|
14256
|
-
function
|
|
14266
|
+
}, zm = { class: "bcf-topic-actions-cell" };
|
|
14267
|
+
function Gm(e, n, o, l, s, i) {
|
|
14257
14268
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
14258
|
-
return r(), a("div",
|
|
14269
|
+
return r(), a("div", zm, [
|
|
14259
14270
|
p(u, {
|
|
14260
14271
|
color: "primary",
|
|
14261
14272
|
outline: "",
|
|
@@ -14273,8 +14284,8 @@ function Um(e, n, o, l, s, i) {
|
|
|
14273
14284
|
})
|
|
14274
14285
|
]);
|
|
14275
14286
|
}
|
|
14276
|
-
const
|
|
14277
|
-
const
|
|
14287
|
+
const Ym = /* @__PURE__ */ F(Um, [["render", Gm], ["__scopeId", "data-v-ddc03e0d"]]);
|
|
14288
|
+
const Wm = {
|
|
14278
14289
|
props: {
|
|
14279
14290
|
detailedExtensions: {
|
|
14280
14291
|
type: Object,
|
|
@@ -14288,22 +14299,22 @@ const Gm = {
|
|
|
14288
14299
|
setup(e) {
|
|
14289
14300
|
return {
|
|
14290
14301
|
priorityColor: R(
|
|
14291
|
-
() =>
|
|
14302
|
+
() => v1(e.topic, e.detailedExtensions)
|
|
14292
14303
|
)
|
|
14293
14304
|
};
|
|
14294
14305
|
}
|
|
14295
|
-
},
|
|
14296
|
-
function
|
|
14297
|
-
return r(), a("div",
|
|
14306
|
+
}, Xm = { class: "bcf-topic-index-cell" }, jm = { class: "index" };
|
|
14307
|
+
function Km(e, n, o, l, s, i) {
|
|
14308
|
+
return r(), a("div", Xm, [
|
|
14298
14309
|
t("span", {
|
|
14299
14310
|
class: "left-stripe",
|
|
14300
14311
|
style: y({ backgroundColor: `#${l.priorityColor}` })
|
|
14301
14312
|
}, null, 4),
|
|
14302
|
-
t("span",
|
|
14313
|
+
t("span", jm, b(o.topic.index), 1)
|
|
14303
14314
|
]);
|
|
14304
14315
|
}
|
|
14305
|
-
const
|
|
14306
|
-
const
|
|
14316
|
+
const qm = /* @__PURE__ */ F(Wm, [["render", Km], ["__scopeId", "data-v-2afda176"]]);
|
|
14317
|
+
const Jm = {
|
|
14307
14318
|
props: {
|
|
14308
14319
|
detailedExtensions: {
|
|
14309
14320
|
type: Object,
|
|
@@ -14317,19 +14328,19 @@ const Km = {
|
|
|
14317
14328
|
setup(e) {
|
|
14318
14329
|
return {
|
|
14319
14330
|
priorityColor: R(
|
|
14320
|
-
() =>
|
|
14331
|
+
() => v1(e.topic, e.detailedExtensions)
|
|
14321
14332
|
)
|
|
14322
14333
|
};
|
|
14323
14334
|
}
|
|
14324
14335
|
};
|
|
14325
|
-
function
|
|
14336
|
+
function Qm(e, n, o, l, s, i) {
|
|
14326
14337
|
return r(), a("span", {
|
|
14327
14338
|
class: "bcf-topic-priority-cell",
|
|
14328
14339
|
style: y({ color: `#${l.priorityColor}` })
|
|
14329
|
-
},
|
|
14340
|
+
}, b(o.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
|
|
14330
14341
|
}
|
|
14331
|
-
const
|
|
14332
|
-
const
|
|
14342
|
+
const eI = /* @__PURE__ */ F(Jm, [["render", Qm], ["__scopeId", "data-v-1d15fcf6"]]);
|
|
14343
|
+
const nI = {
|
|
14333
14344
|
props: {
|
|
14334
14345
|
detailedExtensions: {
|
|
14335
14346
|
type: Object,
|
|
@@ -14349,24 +14360,24 @@ const Qm = {
|
|
|
14349
14360
|
};
|
|
14350
14361
|
}
|
|
14351
14362
|
};
|
|
14352
|
-
function
|
|
14363
|
+
function tI(e, n, o, l, s, i) {
|
|
14353
14364
|
return r(), a("span", {
|
|
14354
14365
|
class: "bcf-topic-status-cell",
|
|
14355
14366
|
style: y({
|
|
14356
14367
|
backgroundColor: `#${l.statusColor}`,
|
|
14357
14368
|
color: l.adjustTextColor(l.statusColor, "#ffffff", "var(--color-text)")
|
|
14358
14369
|
})
|
|
14359
|
-
},
|
|
14370
|
+
}, b(o.topic.topic_status), 5);
|
|
14360
14371
|
}
|
|
14361
|
-
const
|
|
14372
|
+
const rI = /* @__PURE__ */ F(nI, [["render", tI], ["__scopeId", "data-v-c2a5faf4"]]), oI = {
|
|
14362
14373
|
components: {
|
|
14363
|
-
BcfTopicActionsCell:
|
|
14364
|
-
BcfTopicIndexCell:
|
|
14365
|
-
BcfTopicPriorityCell:
|
|
14366
|
-
BcfTopicStatusCell:
|
|
14367
|
-
BIMDataTable:
|
|
14368
|
-
BIMDataTextbox:
|
|
14369
|
-
BIMDataTooltip:
|
|
14374
|
+
BcfTopicActionsCell: Ym,
|
|
14375
|
+
BcfTopicIndexCell: qm,
|
|
14376
|
+
BcfTopicPriorityCell: eI,
|
|
14377
|
+
BcfTopicStatusCell: rI,
|
|
14378
|
+
BIMDataTable: r2,
|
|
14379
|
+
BIMDataTextbox: o1,
|
|
14380
|
+
BIMDataTooltip: B1,
|
|
14370
14381
|
UserAvatar: N5
|
|
14371
14382
|
},
|
|
14372
14383
|
props: {
|
|
@@ -14388,10 +14399,16 @@ const nI = /* @__PURE__ */ F(Qm, [["render", eI], ["__scopeId", "data-v-c2a5faf4
|
|
|
14388
14399
|
},
|
|
14389
14400
|
columns: {
|
|
14390
14401
|
type: Array
|
|
14402
|
+
},
|
|
14403
|
+
selectable: {
|
|
14404
|
+
type: Boolean,
|
|
14405
|
+
default: !1
|
|
14391
14406
|
}
|
|
14392
14407
|
},
|
|
14393
14408
|
emits: [
|
|
14394
|
-
"open-topic"
|
|
14409
|
+
"open-topic",
|
|
14410
|
+
"selection-changed",
|
|
14411
|
+
"all-selected"
|
|
14395
14412
|
],
|
|
14396
14413
|
setup(e) {
|
|
14397
14414
|
return {
|
|
@@ -14407,9 +14424,9 @@ const nI = /* @__PURE__ */ F(Qm, [["render", eI], ["__scopeId", "data-v-c2a5faf4
|
|
|
14407
14424
|
};
|
|
14408
14425
|
}
|
|
14409
14426
|
};
|
|
14410
|
-
function
|
|
14411
|
-
const c = g("BcfTopicIndexCell"), u = g("BcfTopicPriorityCell"), d = g("BcfTopicStatusCell"), C = g("BIMDataTextbox"), L = g("UserAvatar"),
|
|
14412
|
-
return r(), D(
|
|
14427
|
+
function aI(e, n, o, l, s, i) {
|
|
14428
|
+
const c = g("BcfTopicIndexCell"), u = g("BcfTopicPriorityCell"), d = g("BcfTopicStatusCell"), C = g("BIMDataTextbox"), L = g("UserAvatar"), h = g("BIMDataTooltip"), m = g("BcfTopicActionsCell"), M = g("BIMDataTable");
|
|
14429
|
+
return r(), D(M, {
|
|
14413
14430
|
class: "bcf-topics-table",
|
|
14414
14431
|
tableLayout: "fixed",
|
|
14415
14432
|
columns: l.displayedColumns.map((I) => ({
|
|
@@ -14420,7 +14437,10 @@ function rI(e, n, o, l, s, i) {
|
|
|
14420
14437
|
rowKey: "guid",
|
|
14421
14438
|
paginated: o.paginated,
|
|
14422
14439
|
perPage: o.perPage,
|
|
14423
|
-
rowHeight: 42
|
|
14440
|
+
rowHeight: 42,
|
|
14441
|
+
selectable: o.selectable,
|
|
14442
|
+
onSelectionChanged: n[1] || (n[1] = (I) => e.$emit("selection-changed", I)),
|
|
14443
|
+
onAllSelected: n[2] || (n[2] = (I) => e.$emit("all-selected", I))
|
|
14424
14444
|
}, {
|
|
14425
14445
|
"cell-index": f(({ row: I }) => [
|
|
14426
14446
|
p(c, {
|
|
@@ -14448,7 +14468,7 @@ function rI(e, n, o, l, s, i) {
|
|
|
14448
14468
|
}, null, 8, ["text"])
|
|
14449
14469
|
]),
|
|
14450
14470
|
"cell-creator": f(({ row: { creator: I, creation_author: k } }) => [
|
|
14451
|
-
p(
|
|
14471
|
+
p(h, { text: k }, {
|
|
14452
14472
|
default: f(() => [
|
|
14453
14473
|
p(L, {
|
|
14454
14474
|
user: I || {},
|
|
@@ -14461,18 +14481,18 @@ function rI(e, n, o, l, s, i) {
|
|
|
14461
14481
|
}, 1032, ["text"])
|
|
14462
14482
|
]),
|
|
14463
14483
|
"cell-date": f(({ row: I }) => [
|
|
14464
|
-
Z(
|
|
14484
|
+
Z(b(l.toShortDateFormat(I.creation_date)), 1)
|
|
14465
14485
|
]),
|
|
14466
14486
|
"cell-actions": f(({ row: I }) => [
|
|
14467
|
-
p(
|
|
14487
|
+
p(m, {
|
|
14468
14488
|
topic: I,
|
|
14469
14489
|
onOpenTopic: n[0] || (n[0] = (k) => e.$emit("open-topic", k))
|
|
14470
14490
|
}, null, 8, ["topic"])
|
|
14471
14491
|
]),
|
|
14472
14492
|
_: 1
|
|
14473
|
-
}, 8, ["columns", "rows", "paginated", "perPage"]);
|
|
14493
|
+
}, 8, ["columns", "rows", "paginated", "perPage", "selectable"]);
|
|
14474
14494
|
}
|
|
14475
|
-
const
|
|
14495
|
+
const lI = /* @__PURE__ */ F(oI, [["render", aI]]), hI = {
|
|
14476
14496
|
BcfFilters: i0,
|
|
14477
14497
|
BcfSettings: U0,
|
|
14478
14498
|
BcfStatistics: Zn,
|
|
@@ -14480,7 +14500,7 @@ const oI = /* @__PURE__ */ F(tI, [["render", rI]]), CI = {
|
|
|
14480
14500
|
BcfTopicCreationCard: u8,
|
|
14481
14501
|
BcfTopicForm: kp,
|
|
14482
14502
|
BcfTopicOverview: vm,
|
|
14483
|
-
BcfTopicsTable:
|
|
14503
|
+
BcfTopicsTable: lI
|
|
14484
14504
|
};
|
|
14485
14505
|
export {
|
|
14486
14506
|
i0 as BcfFilters,
|
|
@@ -14490,18 +14510,18 @@ export {
|
|
|
14490
14510
|
u8 as BcfTopicCreationCard,
|
|
14491
14511
|
kp as BcfTopicForm,
|
|
14492
14512
|
vm as BcfTopicOverview,
|
|
14493
|
-
|
|
14494
|
-
|
|
14495
|
-
|
|
14496
|
-
|
|
14497
|
-
|
|
14513
|
+
lI as BcfTopicsTable,
|
|
14514
|
+
hI as components,
|
|
14515
|
+
sI as config,
|
|
14516
|
+
cI as createService,
|
|
14517
|
+
v1 as getPriorityColor,
|
|
14498
14518
|
Y2 as getStatusColor,
|
|
14499
14519
|
e3 as getViewpointConfig,
|
|
14500
|
-
|
|
14520
|
+
pI as getViewpointModels,
|
|
14501
14521
|
Q5 as getViewpointType,
|
|
14502
|
-
|
|
14522
|
+
dI as setService,
|
|
14503
14523
|
q5 as useBcfFilter,
|
|
14504
|
-
|
|
14505
|
-
|
|
14506
|
-
|
|
14524
|
+
uI as useBcfSearch,
|
|
14525
|
+
CI as useBcfSort,
|
|
14526
|
+
w1 as useService
|
|
14507
14527
|
};
|