@bimdata/bcf-components 4.1.2-rc.2 → 4.1.2-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue2/bcf-components.mjs +437 -442
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +802 -807
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as t3, computed as
|
|
2
|
+
import { reactive as t3, computed as E, ref as w, watch as c1, openBlock as r, createElementBlock as a, normalizeClass as V, normalizeStyle as H, renderSlot as _, createElementVNode as t, createBlock as B, resolveDynamicComponent as f1, pushScopeId as C1, popScopeId as p1, mergeProps as O1, toDisplayString as b, createCommentVNode as M, createTextVNode as A, resolveComponent as g, createVNode as p, resolveDirective as E1, withDirectives as j, Transition as a1, withCtx as f, Fragment as O, renderList as W, vShow as n1, toRaw as g5, withModifiers as N, withKeys as S, createSlots as l5, createStaticVNode as N5, inject as $1, onMounted as i5, onBeforeUnmount as R5 } from "vue";
|
|
3
3
|
const O5 = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -21,37 +21,37 @@ const O5 = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}),
|
|
24
|
+
}), s5 = "D8D8D8", U5 = "D8D8D8", F1 = "originating_system", P1 = "authoring_tool_id", m1 = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
PTC: "pointCloud",
|
|
27
27
|
V2D: "ifc2d",
|
|
28
28
|
DWG: "dwg",
|
|
29
29
|
PLAN: "plan"
|
|
30
|
-
}),
|
|
31
|
-
[
|
|
30
|
+
}), U1 = Object.freeze({
|
|
31
|
+
[m1.V3D]: {
|
|
32
32
|
order: 1,
|
|
33
33
|
window: "3d",
|
|
34
34
|
plugin: "viewer3d",
|
|
35
35
|
icon: "fileIfcPolychrome"
|
|
36
36
|
},
|
|
37
|
-
[
|
|
37
|
+
[m1.PTC]: {
|
|
38
38
|
order: 2,
|
|
39
39
|
window: "pointCloud",
|
|
40
40
|
plugin: "pointCloud"
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[m1.V2D]: {
|
|
43
43
|
order: 3,
|
|
44
44
|
window: "2d",
|
|
45
45
|
plugin: "viewer2d",
|
|
46
46
|
icon: "fileIfcPolychrome"
|
|
47
47
|
},
|
|
48
|
-
[
|
|
48
|
+
[m1.DWG]: {
|
|
49
49
|
order: 4,
|
|
50
50
|
window: "dwg",
|
|
51
51
|
plugin: "dwg",
|
|
52
52
|
icon: "fileDwgPolychrome"
|
|
53
53
|
},
|
|
54
|
-
[
|
|
54
|
+
[m1.PLAN]: {
|
|
55
55
|
order: 5,
|
|
56
56
|
window: "plan",
|
|
57
57
|
plugin: "plan",
|
|
@@ -59,16 +59,16 @@ const O5 = Object.freeze([
|
|
|
59
59
|
}
|
|
60
60
|
}), jy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61
61
|
__proto__: null,
|
|
62
|
-
DEFAULT_PRIORITY_COLOR:
|
|
62
|
+
DEFAULT_PRIORITY_COLOR: s5,
|
|
63
63
|
DEFAULT_STATUS_COLOR: U5,
|
|
64
64
|
EXTENSION_FIELDS: F5,
|
|
65
65
|
EXTENSION_LIST_FIELDS: P5,
|
|
66
66
|
EXTENSION_TYPES: O5,
|
|
67
67
|
EXTENSION_WITH_COLOR: E5,
|
|
68
|
-
VIEWPOINT_CONFIG:
|
|
69
|
-
VIEWPOINT_MODELS_FIELD:
|
|
70
|
-
VIEWPOINT_TYPES:
|
|
71
|
-
VIEWPOINT_TYPE_FIELD:
|
|
68
|
+
VIEWPOINT_CONFIG: U1,
|
|
69
|
+
VIEWPOINT_MODELS_FIELD: P1,
|
|
70
|
+
VIEWPOINT_TYPES: m1,
|
|
71
|
+
VIEWPOINT_TYPE_FIELD: F1
|
|
72
72
|
}, Symbol.toStringTag, { value: "Module" })), r3 = Object.freeze({
|
|
73
73
|
bisque: "ffe4c4",
|
|
74
74
|
orange: "ffa500",
|
|
@@ -114,7 +114,7 @@ function a3() {
|
|
|
114
114
|
const e = Math.floor(Math.random() * f5.length);
|
|
115
115
|
return f5[e][1];
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function y2(e, n, o) {
|
|
118
118
|
const l = e.charAt(0) === "#" ? e.substring(1, 7) : e, s = parseInt(l.substring(0, 2), 16), i = parseInt(l.substring(2, 4), 16), c = parseInt(l.substring(4, 6), 16);
|
|
119
119
|
return s * 0.299 + i * 0.587 + c * 0.114 > 186 ? o : n;
|
|
120
120
|
}
|
|
@@ -127,7 +127,7 @@ function l3(e, n) {
|
|
|
127
127
|
function i3(e) {
|
|
128
128
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var E2 = { exports: {} }, F2 = { exports: {} }, P2 = { exports: {} };
|
|
131
131
|
(function(e, n) {
|
|
132
132
|
Object.defineProperty(n, "__esModule", {
|
|
133
133
|
value: !0
|
|
@@ -142,8 +142,8 @@ var O2 = { exports: {} }, E2 = { exports: {} }, F2 = { exports: {} };
|
|
|
142
142
|
return Object.assign(s, l), s;
|
|
143
143
|
}
|
|
144
144
|
e.exports = n.default;
|
|
145
|
-
})(
|
|
146
|
-
var s3 =
|
|
145
|
+
})(P2, P2.exports);
|
|
146
|
+
var s3 = P2.exports, U2 = { exports: {} }, z2 = { exports: {} };
|
|
147
147
|
(function(e, n) {
|
|
148
148
|
Object.defineProperty(n, "__esModule", {
|
|
149
149
|
value: !0
|
|
@@ -152,16 +152,16 @@ var s3 = F2.exports, P2 = { exports: {} }, U2 = { exports: {} };
|
|
|
152
152
|
return l && typeof l.length == "number" && l.length >= 0 && l.length % 1 === 0;
|
|
153
153
|
}
|
|
154
154
|
e.exports = n.default;
|
|
155
|
-
})(
|
|
156
|
-
var c3 =
|
|
155
|
+
})(z2, z2.exports);
|
|
156
|
+
var c3 = z2.exports, G2 = { exports: {} };
|
|
157
157
|
(function(e, n) {
|
|
158
158
|
Object.defineProperty(n, "__esModule", {
|
|
159
159
|
value: !0
|
|
160
160
|
}), n.default = function(o) {
|
|
161
161
|
return o[Symbol.iterator] && o[Symbol.iterator]();
|
|
162
162
|
}, e.exports = n.default;
|
|
163
|
-
})(
|
|
164
|
-
var d3 =
|
|
163
|
+
})(G2, G2.exports);
|
|
164
|
+
var d3 = G2.exports;
|
|
165
165
|
(function(e, n) {
|
|
166
166
|
Object.defineProperty(n, "__esModule", {
|
|
167
167
|
value: !0
|
|
@@ -179,15 +179,15 @@ var d3 = z2.exports;
|
|
|
179
179
|
function d(h) {
|
|
180
180
|
var m = -1;
|
|
181
181
|
return function() {
|
|
182
|
-
var
|
|
183
|
-
return
|
|
182
|
+
var y = h.next();
|
|
183
|
+
return y.done ? null : (m++, { value: y.value, key: m });
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
186
|
function C(h) {
|
|
187
|
-
var m = h ? Object.keys(h) : [], v = -1,
|
|
188
|
-
return function
|
|
187
|
+
var m = h ? Object.keys(h) : [], v = -1, y = m.length;
|
|
188
|
+
return function D() {
|
|
189
189
|
var $ = m[++v];
|
|
190
|
-
return $ === "__proto__" ?
|
|
190
|
+
return $ === "__proto__" ? D() : v < y ? { value: h[$], key: $ } : null;
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
193
|
function L(h) {
|
|
@@ -197,8 +197,8 @@ var d3 = z2.exports;
|
|
|
197
197
|
return m ? d(m) : C(h);
|
|
198
198
|
}
|
|
199
199
|
e.exports = n.default;
|
|
200
|
-
})(
|
|
201
|
-
var u3 =
|
|
200
|
+
})(U2, U2.exports);
|
|
201
|
+
var u3 = U2.exports, Y2 = { exports: {} };
|
|
202
202
|
(function(e, n) {
|
|
203
203
|
Object.defineProperty(n, "__esModule", {
|
|
204
204
|
value: !0
|
|
@@ -212,8 +212,8 @@ var u3 = P2.exports, G2 = { exports: {} };
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
e.exports = n.default;
|
|
215
|
-
})(
|
|
216
|
-
var C3 =
|
|
215
|
+
})(Y2, Y2.exports);
|
|
216
|
+
var C3 = Y2.exports, s1 = {}, X1 = { exports: {} }, X2 = { exports: {} };
|
|
217
217
|
(function(e, n) {
|
|
218
218
|
Object.defineProperty(n, "__esModule", {
|
|
219
219
|
value: !0
|
|
@@ -223,8 +223,8 @@ var C3 = G2.exports, s1 = {}, Y1 = { exports: {} }, Y2 = { exports: {} };
|
|
|
223
223
|
return o.call(this, l, s);
|
|
224
224
|
};
|
|
225
225
|
}, e.exports = n.default;
|
|
226
|
-
})(
|
|
227
|
-
var p3 =
|
|
226
|
+
})(X2, X2.exports);
|
|
227
|
+
var p3 = X2.exports, h1 = {};
|
|
228
228
|
Object.defineProperty(h1, "__esModule", {
|
|
229
229
|
value: !0
|
|
230
230
|
});
|
|
@@ -237,33 +237,33 @@ function z5(e) {
|
|
|
237
237
|
function G5(e) {
|
|
238
238
|
return (n, ...o) => e(() => n(...o));
|
|
239
239
|
}
|
|
240
|
-
var
|
|
241
|
-
h3 ?
|
|
242
|
-
h1.default = G5(
|
|
240
|
+
var B1;
|
|
241
|
+
h3 ? B1 = queueMicrotask : b3 ? B1 = setImmediate : g3 ? B1 = process.nextTick : B1 = z5;
|
|
242
|
+
h1.default = G5(B1);
|
|
243
243
|
var L5;
|
|
244
244
|
function f3() {
|
|
245
245
|
return L5 || (L5 = 1, function(e, n) {
|
|
246
246
|
Object.defineProperty(n, "__esModule", {
|
|
247
247
|
value: !0
|
|
248
248
|
}), n.default = d;
|
|
249
|
-
var o = p3, l = u(o), s = h1, i = u(s), c =
|
|
249
|
+
var o = p3, l = u(o), s = h1, i = u(s), c = c5();
|
|
250
250
|
function u(h) {
|
|
251
251
|
return h && h.__esModule ? h : { default: h };
|
|
252
252
|
}
|
|
253
253
|
function d(h) {
|
|
254
254
|
return (0, c.isAsync)(h) ? function(...m) {
|
|
255
|
-
const v = m.pop(),
|
|
256
|
-
return C(
|
|
255
|
+
const v = m.pop(), y = h.apply(this, m);
|
|
256
|
+
return C(y, v);
|
|
257
257
|
} : (0, l.default)(function(m, v) {
|
|
258
|
-
var
|
|
258
|
+
var y;
|
|
259
259
|
try {
|
|
260
|
-
|
|
261
|
-
} catch (
|
|
262
|
-
return v(
|
|
260
|
+
y = h.apply(this, m);
|
|
261
|
+
} catch (D) {
|
|
262
|
+
return v(D);
|
|
263
263
|
}
|
|
264
|
-
if (
|
|
265
|
-
return C(
|
|
266
|
-
v(null,
|
|
264
|
+
if (y && typeof y.then == "function")
|
|
265
|
+
return C(y, v);
|
|
266
|
+
v(null, y);
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
function C(h, m) {
|
|
@@ -276,17 +276,17 @@ function f3() {
|
|
|
276
276
|
function L(h, m, v) {
|
|
277
277
|
try {
|
|
278
278
|
h(m, v);
|
|
279
|
-
} catch (
|
|
280
|
-
(0, i.default)((
|
|
281
|
-
throw
|
|
282
|
-
},
|
|
279
|
+
} catch (y) {
|
|
280
|
+
(0, i.default)((D) => {
|
|
281
|
+
throw D;
|
|
282
|
+
}, y);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
e.exports = n.default;
|
|
286
|
-
}(
|
|
286
|
+
}(X1, X1.exports)), X1.exports;
|
|
287
287
|
}
|
|
288
288
|
var v5;
|
|
289
|
-
function
|
|
289
|
+
function c5() {
|
|
290
290
|
if (v5)
|
|
291
291
|
return s1;
|
|
292
292
|
v5 = 1, Object.defineProperty(s1, "__esModule", {
|
|
@@ -312,15 +312,15 @@ function s5() {
|
|
|
312
312
|
}
|
|
313
313
|
return s1.default = c, s1.isAsync = l, s1.isAsyncGenerator = s, s1.isAsyncIterable = i, s1;
|
|
314
314
|
}
|
|
315
|
-
var
|
|
315
|
+
var W2 = { exports: {} }, j2 = { exports: {} };
|
|
316
316
|
(function(e, n) {
|
|
317
317
|
Object.defineProperty(n, "__esModule", {
|
|
318
318
|
value: !0
|
|
319
319
|
});
|
|
320
320
|
const o = {};
|
|
321
321
|
n.default = o, e.exports = n.default;
|
|
322
|
-
})(
|
|
323
|
-
var Y5 =
|
|
322
|
+
})(j2, j2.exports);
|
|
323
|
+
var Y5 = j2.exports;
|
|
324
324
|
(function(e, n) {
|
|
325
325
|
Object.defineProperty(n, "__esModule", {
|
|
326
326
|
value: !0
|
|
@@ -330,84 +330,84 @@ var Y5 = W2.exports;
|
|
|
330
330
|
return c && c.__esModule ? c : { default: c };
|
|
331
331
|
}
|
|
332
332
|
function i(c, u, d, C) {
|
|
333
|
-
let L = !1, h = !1, m = !1, v = 0,
|
|
334
|
-
function
|
|
335
|
-
v >= u || m || L || (m = !0, c.next().then(({ value:
|
|
333
|
+
let L = !1, h = !1, m = !1, v = 0, y = 0;
|
|
334
|
+
function D() {
|
|
335
|
+
v >= u || m || L || (m = !0, c.next().then(({ value: x, done: U }) => {
|
|
336
336
|
if (!(h || L)) {
|
|
337
337
|
if (m = !1, U) {
|
|
338
338
|
L = !0, v <= 0 && C(null);
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
341
|
-
v++, d(
|
|
341
|
+
v++, d(x, y, $), y++, D();
|
|
342
342
|
}
|
|
343
343
|
}).catch(T));
|
|
344
344
|
}
|
|
345
|
-
function $(
|
|
345
|
+
function $(x, U) {
|
|
346
346
|
if (v -= 1, !h) {
|
|
347
|
-
if (
|
|
348
|
-
return T(
|
|
349
|
-
if (
|
|
347
|
+
if (x)
|
|
348
|
+
return T(x);
|
|
349
|
+
if (x === !1) {
|
|
350
350
|
L = !0, h = !0;
|
|
351
351
|
return;
|
|
352
352
|
}
|
|
353
353
|
if (U === l.default || L && v <= 0)
|
|
354
354
|
return L = !0, C(null);
|
|
355
|
-
|
|
355
|
+
D();
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function T(
|
|
359
|
-
h || (m = !1, L = !0, C(
|
|
358
|
+
function T(x) {
|
|
359
|
+
h || (m = !1, L = !0, C(x));
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
D();
|
|
362
362
|
}
|
|
363
363
|
e.exports = n.default;
|
|
364
|
-
})(
|
|
365
|
-
var L3 =
|
|
364
|
+
})(W2, W2.exports);
|
|
365
|
+
var L3 = W2.exports;
|
|
366
366
|
(function(e, n) {
|
|
367
367
|
Object.defineProperty(n, "__esModule", {
|
|
368
368
|
value: !0
|
|
369
369
|
});
|
|
370
|
-
var o = s3, l = v(o), s = u3, i = v(s), c = C3, u = v(c), d =
|
|
371
|
-
function v(
|
|
372
|
-
return
|
|
370
|
+
var o = s3, l = v(o), s = u3, i = v(s), c = C3, u = v(c), d = c5(), C = L3, L = v(C), h = Y5, m = v(h);
|
|
371
|
+
function v(y) {
|
|
372
|
+
return y && y.__esModule ? y : { default: y };
|
|
373
373
|
}
|
|
374
|
-
n.default = (
|
|
375
|
-
if (T = (0, l.default)(T),
|
|
374
|
+
n.default = (y) => (D, $, T) => {
|
|
375
|
+
if (T = (0, l.default)(T), y <= 0)
|
|
376
376
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
377
|
-
if (!
|
|
377
|
+
if (!D)
|
|
378
378
|
return T(null);
|
|
379
|
-
if ((0, d.isAsyncGenerator)(
|
|
380
|
-
return (0, L.default)(
|
|
381
|
-
if ((0, d.isAsyncIterable)(
|
|
382
|
-
return (0, L.default)(
|
|
383
|
-
var
|
|
384
|
-
function i1(
|
|
379
|
+
if ((0, d.isAsyncGenerator)(D))
|
|
380
|
+
return (0, L.default)(D, y, $, T);
|
|
381
|
+
if ((0, d.isAsyncIterable)(D))
|
|
382
|
+
return (0, L.default)(D[Symbol.asyncIterator](), y, $, T);
|
|
383
|
+
var x = (0, i.default)(D), U = !1, l1 = !1, q = 0, r1 = !1;
|
|
384
|
+
function i1(Y, I) {
|
|
385
385
|
if (!l1)
|
|
386
|
-
if (q -= 1,
|
|
387
|
-
U = !0, T(
|
|
388
|
-
else if (
|
|
386
|
+
if (q -= 1, Y)
|
|
387
|
+
U = !0, T(Y);
|
|
388
|
+
else if (Y === !1)
|
|
389
389
|
U = !0, l1 = !0;
|
|
390
390
|
else {
|
|
391
|
-
if (
|
|
391
|
+
if (I === m.default || U && q <= 0)
|
|
392
392
|
return U = !0, T(null);
|
|
393
|
-
|
|
393
|
+
r1 || F();
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
for (
|
|
398
|
-
var
|
|
399
|
-
if (
|
|
396
|
+
function F() {
|
|
397
|
+
for (r1 = !0; q < y && !U; ) {
|
|
398
|
+
var Y = x();
|
|
399
|
+
if (Y === null) {
|
|
400
400
|
U = !0, q <= 0 && T(null);
|
|
401
401
|
return;
|
|
402
402
|
}
|
|
403
|
-
q += 1, $(
|
|
403
|
+
q += 1, $(Y.value, Y.key, (0, u.default)(i1));
|
|
404
404
|
}
|
|
405
|
-
|
|
405
|
+
r1 = !1;
|
|
406
406
|
}
|
|
407
|
-
|
|
407
|
+
F();
|
|
408
408
|
}, e.exports = n.default;
|
|
409
|
-
})(
|
|
410
|
-
var v3 =
|
|
409
|
+
})(F2, F2.exports);
|
|
410
|
+
var v3 = F2.exports, K2 = { exports: {} };
|
|
411
411
|
(function(e, n) {
|
|
412
412
|
Object.defineProperty(n, "__esModule", {
|
|
413
413
|
value: !0
|
|
@@ -416,8 +416,8 @@ var v3 = E2.exports, j2 = { exports: {} };
|
|
|
416
416
|
return (s, i, c) => l(s, c);
|
|
417
417
|
}
|
|
418
418
|
e.exports = n.default;
|
|
419
|
-
})(
|
|
420
|
-
var m3 =
|
|
419
|
+
})(K2, K2.exports);
|
|
420
|
+
var m3 = K2.exports, q2 = { exports: {} };
|
|
421
421
|
(function(e, n) {
|
|
422
422
|
Object.defineProperty(n, "__esModule", {
|
|
423
423
|
value: !0
|
|
@@ -437,36 +437,36 @@ var m3 = j2.exports, K2 = { exports: {} };
|
|
|
437
437
|
return i;
|
|
438
438
|
}
|
|
439
439
|
e.exports = n.default;
|
|
440
|
-
})(
|
|
441
|
-
var M3 =
|
|
440
|
+
})(q2, q2.exports);
|
|
441
|
+
var M3 = q2.exports;
|
|
442
442
|
(function(e, n) {
|
|
443
443
|
Object.defineProperty(n, "__esModule", {
|
|
444
444
|
value: !0
|
|
445
445
|
});
|
|
446
|
-
var o = v3, l = L(o), s = m3, i = L(s), c =
|
|
446
|
+
var o = v3, l = L(o), s = m3, i = L(s), c = c5(), u = L(c), d = M3, C = L(d);
|
|
447
447
|
function L(m) {
|
|
448
448
|
return m && m.__esModule ? m : { default: m };
|
|
449
449
|
}
|
|
450
|
-
function h(m, v,
|
|
451
|
-
return (0, l.default)(v)(m, (0, i.default)((0, u.default)(
|
|
450
|
+
function h(m, v, y, D) {
|
|
451
|
+
return (0, l.default)(v)(m, (0, i.default)((0, u.default)(y)), D);
|
|
452
452
|
}
|
|
453
453
|
n.default = (0, C.default)(h, 4), e.exports = n.default;
|
|
454
|
-
})(
|
|
455
|
-
var I3 =
|
|
454
|
+
})(E2, E2.exports);
|
|
455
|
+
var I3 = E2.exports;
|
|
456
456
|
const y3 = /* @__PURE__ */ i3(I3);
|
|
457
|
-
function
|
|
457
|
+
function M1(e) {
|
|
458
458
|
return F5[e];
|
|
459
459
|
}
|
|
460
460
|
function X5(e, n) {
|
|
461
461
|
return n[P5[e]].slice();
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function H1(e, n) {
|
|
464
464
|
const o = n.priorities.find(
|
|
465
465
|
(l) => l.priority === e.priority
|
|
466
466
|
);
|
|
467
|
-
return (o == null ? void 0 : o.color) ||
|
|
467
|
+
return (o == null ? void 0 : o.color) || s5;
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function d5(e, n) {
|
|
470
470
|
const o = n.topic_statuses.find(
|
|
471
471
|
(l) => l.topic_status === e.topic_status
|
|
472
472
|
);
|
|
@@ -478,38 +478,36 @@ async function _3(e, n) {
|
|
|
478
478
|
}
|
|
479
479
|
let W5 = null;
|
|
480
480
|
function Ky(e, { fetchUsers: n }) {
|
|
481
|
-
const o = n ? (
|
|
482
|
-
const R =
|
|
483
|
-
return
|
|
484
|
-
|
|
485
|
-
}),
|
|
486
|
-
}, i = async (
|
|
487
|
-
const
|
|
488
|
-
return R.color =
|
|
489
|
-
}, c =
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
const x = new FormData();
|
|
493
|
-
x.append("name", _.name), x.append("file", _), await fetch(`${e.config.basePath}/bcf/2.1/projects/${H.id}/import`, {
|
|
481
|
+
const o = n ? (I) => n(I) : (I) => e.collaborationApi.getProjectUsers(I.cloud.id, I.id), l = () => e.bcfApi.getUser(), s = async (I, { extensions: k, users: Z } = {}) => {
|
|
482
|
+
const R = k ?? await e.bcfApi.getDetailedExtensions(I.id), z = Z ?? await o(I), P = await e.bcfApi.getTopics(I.id);
|
|
483
|
+
return P.sort((e1, v1) => v1.index - e1.index), P.forEach((e1) => {
|
|
484
|
+
e1.color = H1(e1, R), e1.creator = z.find((v1) => v1.email === e1.creation_author);
|
|
485
|
+
}), P;
|
|
486
|
+
}, i = async (I, k) => {
|
|
487
|
+
const Z = await e.bcfApi.getDetailedExtensions(I.id), R = await e.bcfApi.getFullTopic(k, I.id, "url");
|
|
488
|
+
return R.color = H1(R, Z), R;
|
|
489
|
+
}, c = (I, k) => e.bcfApi.createTopic(I.id, k), u = (I, k) => e.bcfApi.updateTopic(k.guid, I.id, k), d = (I, k) => e.bcfApi.deleteTopic(k.guid, I.id), C = async (I, k) => {
|
|
490
|
+
const Z = new FormData();
|
|
491
|
+
Z.append("name", k.name), Z.append("file", k), await fetch(`${e.config.basePath}/bcf/2.1/projects/${I.id}/import`, {
|
|
494
492
|
method: "POST",
|
|
495
493
|
credentials: "include",
|
|
496
494
|
headers: {
|
|
497
495
|
...e.authHeader
|
|
498
496
|
},
|
|
499
|
-
body:
|
|
497
|
+
body: Z
|
|
500
498
|
});
|
|
501
|
-
}, L = async (
|
|
502
|
-
const
|
|
503
|
-
|
|
499
|
+
}, L = async (I, k) => {
|
|
500
|
+
const Z = await e.bcfApi.downloadBcfExport(
|
|
501
|
+
I.id,
|
|
504
502
|
void 0,
|
|
505
|
-
|
|
503
|
+
k.map((R) => R.guid).join(",")
|
|
506
504
|
);
|
|
507
|
-
_3(`${
|
|
508
|
-
}, h = async (
|
|
509
|
-
m(
|
|
510
|
-
|
|
505
|
+
_3(`${I.name}.bcf`, Z);
|
|
506
|
+
}, h = async (I, k) => (await y3(k, 10, (Z, R) => {
|
|
507
|
+
m(I, Z).then((z) => {
|
|
508
|
+
Z.viewpoints = z, R();
|
|
511
509
|
}, R);
|
|
512
|
-
}),
|
|
510
|
+
}), k), m = (I, k) => e.bcfApi.getTopicViewpoints(I.id, k.guid, "url");
|
|
513
511
|
return {
|
|
514
512
|
fetchCurrentUser: l,
|
|
515
513
|
fetchTopics: s,
|
|
@@ -521,41 +519,38 @@ function Ky(e, { fetchUsers: n }) {
|
|
|
521
519
|
exportBcf: L,
|
|
522
520
|
loadTopicsViewpoints: h,
|
|
523
521
|
fetchTopicViewpoints: m,
|
|
524
|
-
fetchTopicCommentViewpoint:
|
|
525
|
-
createViewpoint:
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
O.user = x.find((z) => z.email === O.author);
|
|
522
|
+
fetchTopicCommentViewpoint: (I, k, Z) => e.bcfApi.getViewpoint(Z.viewpoint_guid, I.id, k.guid),
|
|
523
|
+
createViewpoint: (I, k, Z) => e.bcfApi.createViewpoint(I.id, k.guid, "url", Z),
|
|
524
|
+
updateViewpoint: (I, k, Z) => e.bcfApi.updateViewpoint(Z.guid, I.id, k.guid, "url", Z),
|
|
525
|
+
deleteViewpoint: (I, k, Z) => e.bcfApi.deleteViewpoint(Z.guid, I.id, k.guid),
|
|
526
|
+
fetchTopicComments: async (I, k) => {
|
|
527
|
+
const Z = await o(I), R = await e.bcfApi.getComments(I.id, k.guid);
|
|
528
|
+
return R.sort((z, P) => z.date > P.date ? -1 : 1), R.forEach((z) => {
|
|
529
|
+
z.user = Z.find((P) => P.email === z.author);
|
|
533
530
|
}), R;
|
|
534
531
|
},
|
|
535
|
-
createComment:
|
|
536
|
-
updateComment:
|
|
537
|
-
deleteComment:
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
createExtension: async (H, _, x) => await e.bcfApi[`createExtension${_}`](H.id, {
|
|
543
|
-
[m1(_)]: x.value,
|
|
532
|
+
createComment: (I, k, Z) => e.bcfApi.createComment(I.id, k.guid, Z),
|
|
533
|
+
updateComment: (I, k, Z, R) => e.bcfApi.updateComment(Z.guid, I.id, k.guid, R),
|
|
534
|
+
deleteComment: (I, k, Z) => e.bcfApi.deleteComment(Z.guid, I.id, k.guid),
|
|
535
|
+
fetchExtensions: (I) => e.bcfApi.getExtensions(I.id),
|
|
536
|
+
fetchDetailedExtensions: (I) => e.bcfApi.getDetailedExtensions(I.id),
|
|
537
|
+
createExtension: async (I, k, Z) => await e.bcfApi[`createExtension${k}`](I.id, {
|
|
538
|
+
[M1(k)]: Z.value,
|
|
544
539
|
color: a3()
|
|
545
540
|
}),
|
|
546
|
-
updateExtension: async (
|
|
547
|
-
[
|
|
541
|
+
updateExtension: async (I, k, Z, R) => await e.bcfApi[`updateExtension${k}`](Z.id, I.id, {
|
|
542
|
+
[M1(k)]: R.value,
|
|
548
543
|
color: R.color
|
|
549
544
|
}),
|
|
550
|
-
deleteExtension: async (
|
|
551
|
-
await e.bcfApi[`deleteExtension${
|
|
545
|
+
deleteExtension: async (I, k, Z) => {
|
|
546
|
+
await e.bcfApi[`deleteExtension${k}`](Z.id, I.id);
|
|
552
547
|
}
|
|
553
548
|
};
|
|
554
549
|
}
|
|
555
550
|
function qy(e) {
|
|
556
551
|
W5 = e;
|
|
557
552
|
}
|
|
558
|
-
function
|
|
553
|
+
function z1() {
|
|
559
554
|
return W5;
|
|
560
555
|
}
|
|
561
556
|
const m5 = {
|
|
@@ -568,7 +563,7 @@ const m5 = {
|
|
|
568
563
|
endDate: null
|
|
569
564
|
};
|
|
570
565
|
function H3(e) {
|
|
571
|
-
const n = t3({ ...m5 }), o =
|
|
566
|
+
const n = t3({ ...m5 }), o = E(() => {
|
|
572
567
|
let i = e.value;
|
|
573
568
|
return n.priorities.length > 0 && (i = i.filter((c) => n.priorities.includes(c.priority))), n.statuses.length > 0 && (i = i.filter((c) => n.statuses.includes(c.topic_status))), n.users.length > 0 && (i = i.filter((c) => n.users.includes(c.assigned_to))), n.creators.length > 0 && (i = i.filter((c) => n.creators.includes(c.creation_author))), n.labels.length > 0 && (i = i.filter((c) => n.labels.some((u) => c.labels.includes(u)))), n.startDate && n.endDate && (i = i.filter((c) => c.creation_date >= n.startDate && c.creation_date <= n.endDate)), i;
|
|
574
569
|
});
|
|
@@ -617,7 +612,7 @@ function Jy(e) {
|
|
|
617
612
|
filteredTopics: o
|
|
618
613
|
};
|
|
619
614
|
}
|
|
620
|
-
function
|
|
615
|
+
function k2(e, n = (o) => o) {
|
|
621
616
|
const o = w(e), l = (c = "asc") => {
|
|
622
617
|
const u = o.value.slice().sort((d, C) => n(d) < n(C) ? -1 : 1);
|
|
623
618
|
c === "desc" && u.reverse(), o.value = u;
|
|
@@ -630,7 +625,7 @@ function B2(e, n = (o) => o) {
|
|
|
630
625
|
};
|
|
631
626
|
}
|
|
632
627
|
function Qy(e) {
|
|
633
|
-
const { sortToggle: n, sortOrder: o } =
|
|
628
|
+
const { sortToggle: n, sortOrder: o } = k2(e, (h) => h.index), { sortToggle: l, sortOrder: s } = k2(e, (h) => h.title), { sortToggle: i, sortOrder: c } = k2(e, (h) => h.creation_date), u = w("");
|
|
634
629
|
return {
|
|
635
630
|
sortedBy: u,
|
|
636
631
|
sortByIndex: () => {
|
|
@@ -648,14 +643,14 @@ function Qy(e) {
|
|
|
648
643
|
};
|
|
649
644
|
}
|
|
650
645
|
function D3(e) {
|
|
651
|
-
return e[
|
|
646
|
+
return e[F1];
|
|
652
647
|
}
|
|
653
648
|
function e_(e) {
|
|
654
649
|
var n;
|
|
655
|
-
return ((n = e[
|
|
650
|
+
return ((n = e[P1]) == null ? void 0 : n.split(",").map(Number)) ?? [];
|
|
656
651
|
}
|
|
657
652
|
function B3(e) {
|
|
658
|
-
return
|
|
653
|
+
return U1[D3(e)];
|
|
659
654
|
}
|
|
660
655
|
function k3(e) {
|
|
661
656
|
return e.components.selection || (e.components.selection = []), e.components.visibility || (e.components.visibility = {
|
|
@@ -1144,7 +1139,7 @@ j5(`.bimdata-btn {
|
|
|
1144
1139
|
color: var(--color-silver-dark);
|
|
1145
1140
|
cursor: auto;
|
|
1146
1141
|
}`), J.render = function(e, n, o, l, s, i) {
|
|
1147
|
-
return r(), a("button", { class:
|
|
1142
|
+
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, x3);
|
|
1148
1143
|
}, J.__scopeId = "data-v-3f903003", J.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
1149
1144
|
const Z3 = { "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" }, S3 = { render: function(e, n) {
|
|
1150
1145
|
return r(), a("path", Z3);
|
|
@@ -1645,7 +1640,7 @@ K5(`.icon-fill--black {
|
|
|
1645
1640
|
.icon-stroke--white {
|
|
1646
1641
|
stroke: var(--color-white);
|
|
1647
1642
|
}`), Q.render = function(e, n, o, l, s, i) {
|
|
1648
|
-
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:
|
|
1643
|
+
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: H(i.style) }, [(r(), B(f1(`bimdata-icon-${o.name}`)))], 14, g6);
|
|
1649
1644
|
}, Q.__scopeId = "data-v-1312d4d1", Q.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
1650
1645
|
let y5 = 0;
|
|
1651
1646
|
var b1 = { 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() {
|
|
@@ -2003,9 +1998,9 @@ input:-webkit-autofill {
|
|
|
2003
1998
|
.bimdata-input.success .bar::before, .bimdata-input.success .bar::after {
|
|
2004
1999
|
background-color: var(--color-success);
|
|
2005
2000
|
}`), b1.render = function(e, n, o, l, s, i) {
|
|
2006
|
-
return r(), a("div", { class:
|
|
2001
|
+
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: H(i.style) }, [t("input", O1({ 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) => {
|
|
2007
2002
|
c.target.select(), e.$emit("focus", c);
|
|
2008
|
-
}), 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, f6), t("div", L6, [
|
|
2003
|
+
}), 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, f6), t("div", L6, [_(e.$slots, "inputIcon")]), t("label", { for: `bimdata-input-${e.uuid}` }, b(o.placeholder), 9, v6), m6, o.error ? (r(), a("span", M6, b(o.errorMessage), 1)) : M("v-if", !0), o.success ? (r(), a("span", I6, b(o.successMessage), 1)) : M("v-if", !0)], 6);
|
|
2009
2004
|
}, b1.__scopeId = "data-v-5d42d486", b1.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
|
|
2010
2005
|
var J5 = { beforeMount(e, n) {
|
|
2011
2006
|
if (typeof n.value != "function")
|
|
@@ -2015,7 +2010,7 @@ var J5 = { beforeMount(e, n) {
|
|
|
2015
2010
|
}, window.addEventListener(n.arg || "click", e.clickAwayHandler, !0);
|
|
2016
2011
|
}, unmounted(e, n) {
|
|
2017
2012
|
window.removeEventListener(n.arg || "click", e.clickAwayHandler, !0), delete e.clickAwayHandler;
|
|
2018
|
-
} },
|
|
2013
|
+
} }, W1 = { 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() {
|
|
2019
2014
|
return this.modelValue === null;
|
|
2020
2015
|
}, checked() {
|
|
2021
2016
|
return this.modelValue === !0 || this.indeterminate;
|
|
@@ -2025,7 +2020,7 @@ var J5 = { beforeMount(e, n) {
|
|
|
2025
2020
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
2026
2021
|
} } };
|
|
2027
2022
|
const y6 = ((e) => (C1("data-v-34d34265"), e = e(), p1(), e))(() => t("span", { class: "bimdata-checkbox__mark" }, null, -1)), _6 = { key: 0, class: "bimdata-checkbox__text" };
|
|
2028
|
-
function
|
|
2023
|
+
function o1(e, n) {
|
|
2029
2024
|
n === void 0 && (n = {});
|
|
2030
2025
|
var o = n.insertAt;
|
|
2031
2026
|
if (e && typeof document < "u") {
|
|
@@ -2033,7 +2028,7 @@ function r1(e, n) {
|
|
|
2033
2028
|
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));
|
|
2034
2029
|
}
|
|
2035
2030
|
}
|
|
2036
|
-
|
|
2031
|
+
o1(`/* base COLORS --------------------------------------------- */
|
|
2037
2032
|
/* colors BRAND */
|
|
2038
2033
|
/* colors GREY SHADES - NEUTRAL */
|
|
2039
2034
|
/* color TEXT */
|
|
@@ -2191,7 +2186,7 @@ html[data-v-34d34265] {
|
|
|
2191
2186
|
.primary-font[data-v-34d34265] {
|
|
2192
2187
|
font-family: "roboto", sans-serif;
|
|
2193
2188
|
}`);
|
|
2194
|
-
|
|
2189
|
+
o1(`.bimdata-checkbox {
|
|
2195
2190
|
position: relative;
|
|
2196
2191
|
display: -webkit-box;
|
|
2197
2192
|
display: -ms-flexbox;
|
|
@@ -2278,24 +2273,24 @@ r1(`.bimdata-checkbox {
|
|
|
2278
2273
|
}
|
|
2279
2274
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
2280
2275
|
background-color: var(--color-silver-dark);
|
|
2281
|
-
}`),
|
|
2282
|
-
return r(), a("div",
|
|
2283
|
-
},
|
|
2276
|
+
}`), W1.render = function(e, n, o, l, s, i) {
|
|
2277
|
+
return r(), a("div", O1({ class: ["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: o.disabled, checked: i.checked }], onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: i.style }, e.$attrs), [y6, o.text ? (r(), a("span", _6, [_(e.$slots, "default", {}, () => [A(b(o.text), 1)])])) : M("v-if", !0)], 16);
|
|
2278
|
+
}, W1.__scopeId = "data-v-34d34265", W1.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
2284
2279
|
const H6 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" }, V6 = { render: function(e, n) {
|
|
2285
2280
|
return r(), a("path", H6);
|
|
2286
2281
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
2287
2282
|
var D6 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
2288
2283
|
const _5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
2289
|
-
var
|
|
2284
|
+
var _2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: { color: { type: String, default: "default", validator: (o) => D6.includes(o) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (o) => Object.keys(_5).includes(o) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
2290
2285
|
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 };
|
|
2291
2286
|
}, style() {
|
|
2292
2287
|
const o = this.getPixelSize(this.size);
|
|
2293
2288
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
2294
2289
|
} }, methods: { getPixelSize() {
|
|
2295
2290
|
return this.customSize ? this.customSize : _5[this.size];
|
|
2296
|
-
} } }),
|
|
2291
|
+
} } }), w1 = _2("Chevron", V6);
|
|
2297
2292
|
const B6 = ["fill", "color"];
|
|
2298
|
-
|
|
2293
|
+
o1(`/* base COLORS --------------------------------------------- */
|
|
2299
2294
|
/* colors BRAND */
|
|
2300
2295
|
/* colors GREY SHADES - NEUTRAL */
|
|
2301
2296
|
/* color TEXT */
|
|
@@ -2364,7 +2359,7 @@ html[data-v-5e440aca] {
|
|
|
2364
2359
|
/* base FONTS -------------------------------------- */
|
|
2365
2360
|
--primary-font: "roboto", sans-serif;
|
|
2366
2361
|
}`);
|
|
2367
|
-
|
|
2362
|
+
o1(`.icon-fill--black {
|
|
2368
2363
|
fill: var(--color-black);
|
|
2369
2364
|
}
|
|
2370
2365
|
.icon-fill--default {
|
|
@@ -2447,16 +2442,16 @@ r1(`.icon-fill--black {
|
|
|
2447
2442
|
}
|
|
2448
2443
|
.icon-stroke--white {
|
|
2449
2444
|
stroke: var(--color-white);
|
|
2450
|
-
}`),
|
|
2445
|
+
}`), w1.render = function(e, n, o, l, s, i) {
|
|
2451
2446
|
const c = g("Chevron");
|
|
2452
|
-
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:
|
|
2453
|
-
},
|
|
2447
|
+
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: H(e.style) }, [p(c)], 14, B6);
|
|
2448
|
+
}, w1.__scopeId = "data-v-5e440aca", w1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
2454
2449
|
const k6 = { "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" }, w6 = { render: function(e, n) {
|
|
2455
2450
|
return r(), a("path", k6);
|
|
2456
2451
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
2457
|
-
var
|
|
2452
|
+
var w2 = _2("DoubleChevron", w6);
|
|
2458
2453
|
const x6 = ["fill", "color"];
|
|
2459
|
-
|
|
2454
|
+
o1(`/* base COLORS --------------------------------------------- */
|
|
2460
2455
|
/* colors BRAND */
|
|
2461
2456
|
/* colors GREY SHADES - NEUTRAL */
|
|
2462
2457
|
/* color TEXT */
|
|
@@ -2525,7 +2520,7 @@ html[data-v-859297ec] {
|
|
|
2525
2520
|
/* base FONTS -------------------------------------- */
|
|
2526
2521
|
--primary-font: "roboto", sans-serif;
|
|
2527
2522
|
}`);
|
|
2528
|
-
|
|
2523
|
+
o1(`.icon-fill--black {
|
|
2529
2524
|
fill: var(--color-black);
|
|
2530
2525
|
}
|
|
2531
2526
|
.icon-fill--default {
|
|
@@ -2608,16 +2603,16 @@ r1(`.icon-fill--black {
|
|
|
2608
2603
|
}
|
|
2609
2604
|
.icon-stroke--white {
|
|
2610
2605
|
stroke: var(--color-white);
|
|
2611
|
-
}`),
|
|
2606
|
+
}`), w2.render = function(e, n, o, l, s, i) {
|
|
2612
2607
|
const c = g("DoubleChevron");
|
|
2613
|
-
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:
|
|
2614
|
-
},
|
|
2608
|
+
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: H(e.style) }, [p(c)], 14, x6);
|
|
2609
|
+
}, w2.__scopeId = "data-v-859297ec", w2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
2615
2610
|
const Z6 = { 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" }, S6 = { render: function(e, n) {
|
|
2616
2611
|
return r(), a("path", Z6);
|
|
2617
2612
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
2618
|
-
var
|
|
2613
|
+
var x2 = _2("Close", S6);
|
|
2619
2614
|
const A6 = ["fill", "color"];
|
|
2620
|
-
|
|
2615
|
+
o1(`/* base COLORS --------------------------------------------- */
|
|
2621
2616
|
/* colors BRAND */
|
|
2622
2617
|
/* colors GREY SHADES - NEUTRAL */
|
|
2623
2618
|
/* color TEXT */
|
|
@@ -2686,7 +2681,7 @@ html[data-v-797f55d8] {
|
|
|
2686
2681
|
/* base FONTS -------------------------------------- */
|
|
2687
2682
|
--primary-font: "roboto", sans-serif;
|
|
2688
2683
|
}`);
|
|
2689
|
-
|
|
2684
|
+
o1(`.icon-fill--black {
|
|
2690
2685
|
fill: var(--color-black);
|
|
2691
2686
|
}
|
|
2692
2687
|
.icon-fill--default {
|
|
@@ -2769,16 +2764,16 @@ r1(`.icon-fill--black {
|
|
|
2769
2764
|
}
|
|
2770
2765
|
.icon-stroke--white {
|
|
2771
2766
|
stroke: var(--color-white);
|
|
2772
|
-
}`),
|
|
2767
|
+
}`), x2.render = function(e, n, o, l, s, i) {
|
|
2773
2768
|
const c = g("Close");
|
|
2774
|
-
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:
|
|
2775
|
-
},
|
|
2769
|
+
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: H(e.style) }, [p(c)], 14, A6);
|
|
2770
|
+
}, x2.__scopeId = "data-v-797f55d8", x2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
2776
2771
|
const T6 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.4652C5.27332 14.4652 2.6301 11.822 2.6301 8.54753C2.6301 5.27309 5.27332 2.62986 8.54777 2.62986C11.8222 2.62986 14.4654 5.27309 14.4654 8.54753C14.4654 11.822 11.8222 14.4652 8.54777 14.4652ZM16.438 14.4654H15.3991L15.0309 14.1103C16.3196 12.6112 17.0955 10.665 17.0955 8.54774C17.0955 3.82676 13.2687 0 8.54774 0C3.82676 0 0 3.82676 0 8.54774C0 13.2687 3.82676 17.0955 8.54774 17.0955C10.665 17.0955 12.6112 16.3196 14.1103 15.0309L14.4654 15.3991V16.438L21.0406 23L23 21.0406L16.438 14.4654Z" }, $6 = { render: function(e, n) {
|
|
2777
2772
|
return r(), a("path", T6);
|
|
2778
2773
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
2779
|
-
var
|
|
2774
|
+
var Z2 = _2("Search", $6);
|
|
2780
2775
|
const N6 = ["fill", "color"];
|
|
2781
|
-
|
|
2776
|
+
o1(`/* base COLORS --------------------------------------------- */
|
|
2782
2777
|
/* colors BRAND */
|
|
2783
2778
|
/* colors GREY SHADES - NEUTRAL */
|
|
2784
2779
|
/* color TEXT */
|
|
@@ -2847,7 +2842,7 @@ html[data-v-0993abf8] {
|
|
|
2847
2842
|
/* base FONTS -------------------------------------- */
|
|
2848
2843
|
--primary-font: "roboto", sans-serif;
|
|
2849
2844
|
}`);
|
|
2850
|
-
|
|
2845
|
+
o1(`.icon-fill--black {
|
|
2851
2846
|
fill: var(--color-black);
|
|
2852
2847
|
}
|
|
2853
2848
|
.icon-fill--default {
|
|
@@ -2930,11 +2925,11 @@ r1(`.icon-fill--black {
|
|
|
2930
2925
|
}
|
|
2931
2926
|
.icon-stroke--white {
|
|
2932
2927
|
stroke: var(--color-white);
|
|
2933
|
-
}`),
|
|
2928
|
+
}`), Z2.render = function(e, n, o, l, s, i) {
|
|
2934
2929
|
const c = g("Search");
|
|
2935
|
-
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:
|
|
2936
|
-
},
|
|
2937
|
-
var
|
|
2930
|
+
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: H(e.style) }, [p(c)], 14, N6);
|
|
2931
|
+
}, Z2.__scopeId = "data-v-0993abf8", Z2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
2932
|
+
var j1 = { components: { BIMDataCheckbox: W1, BIMDataIconChevron: w1 }, directives: { clickaway: J5 }, 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() {
|
|
2938
2933
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
2939
2934
|
} }, methods: { toggle() {
|
|
2940
2935
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -2961,7 +2956,7 @@ var W1 = { components: { BIMDataCheckbox: X1, BIMDataIconChevron: k1 }, directiv
|
|
|
2961
2956
|
this.$emit("update:modelValue", n);
|
|
2962
2957
|
} } };
|
|
2963
2958
|
const R6 = { class: "bimdata-select__content" }, O6 = { class: "bimdata-select__content__label" }, E6 = ((e) => (C1("data-v-2c3115dc"), e = e(), p1(), e))(() => t("span", { class: "bimdata-select__content__underline" }, null, -1)), F6 = { class: "bimdata-select__option-list" }, P6 = ["onClick"];
|
|
2964
|
-
|
|
2959
|
+
o1(`/* base COLORS --------------------------------------------- */
|
|
2965
2960
|
/* colors BRAND */
|
|
2966
2961
|
/* colors GREY SHADES - NEUTRAL */
|
|
2967
2962
|
/* color TEXT */
|
|
@@ -3141,11 +3136,11 @@ html[data-v-2c3115dc] {
|
|
|
3141
3136
|
}
|
|
3142
3137
|
.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-2c3115dc]:not(.option-group) {
|
|
3143
3138
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3144
|
-
}`),
|
|
3145
|
-
const c = g("BIMDataIconChevron"), u = g("BIMDataCheckbox"), d =
|
|
3146
|
-
return j((r(), a("div", { class:
|
|
3147
|
-
},
|
|
3148
|
-
var
|
|
3139
|
+
}`), j1.render = function(e, n, o, l, s, i) {
|
|
3140
|
+
const c = g("BIMDataIconChevron"), u = g("BIMDataCheckbox"), d = E1("clickaway");
|
|
3141
|
+
return j((r(), a("div", { class: V(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue.length > 0 }]), style: H({ width: o.width }) }, [t("div", R6, [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", O6, b(o.label), 1), E6]), p(a1, { name: "slide-fade-down", persisted: "" }, { default: f(() => [j(t("ul", F6, [(r(!0), a(O, null, W(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 }, [A(b(i.optionLabel(C)), 1)], 64)) : (r(), B(u, { key: 1, modelValue: i.isSelected(C), disabled: i.isDisabled(C), text: i.optionLabel(C) }, null, 8, ["modelValue", "disabled", "text"]))], 10, P6))), 128))], 512), [[n1, !o.disabled && s.isOpen]])]), _: 1 })], 6)), [[d, () => s.isOpen = !1]]);
|
|
3142
|
+
}, j1.__scopeId = "data-v-2c3115dc", j1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue";
|
|
3143
|
+
var K1 = { components: { BIMDataIconChevron: w1 }, directives: { clickaway: J5 }, 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() {
|
|
3149
3144
|
return this.optionLabel(this.modelValue);
|
|
3150
3145
|
} }, methods: { toggle() {
|
|
3151
3146
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -3166,7 +3161,7 @@ var j1 = { components: { BIMDataIconChevron: k1 }, directives: { clickaway: J5 }
|
|
|
3166
3161
|
this.$emit("update:modelValue", null), this.isOpen = !1;
|
|
3167
3162
|
} } };
|
|
3168
3163
|
const U6 = { class: "bimdata-select__content" }, z6 = { class: "bimdata-select__content__label" }, G6 = ((e) => (C1("data-v-41a0d93f"), e = e(), p1(), e))(() => t("span", { class: "bimdata-select__content__underline" }, null, -1)), Y6 = { class: "bimdata-select__option-list" }, X6 = ["onClick"];
|
|
3169
|
-
|
|
3164
|
+
o1(`/* base COLORS --------------------------------------------- */
|
|
3170
3165
|
/* colors BRAND */
|
|
3171
3166
|
/* colors GREY SHADES - NEUTRAL */
|
|
3172
3167
|
/* color TEXT */
|
|
@@ -3346,23 +3341,23 @@ html[data-v-41a0d93f] {
|
|
|
3346
3341
|
}
|
|
3347
3342
|
.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-41a0d93f]:not(.option-group) {
|
|
3348
3343
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3349
|
-
}`),
|
|
3350
|
-
const c = g("BIMDataIconChevron"), u =
|
|
3351
|
-
return j((r(), a("div", { class:
|
|
3352
|
-
},
|
|
3353
|
-
var
|
|
3344
|
+
}`), K1.render = function(e, n, o, l, s, i) {
|
|
3345
|
+
const c = g("BIMDataIconChevron"), u = E1("clickaway");
|
|
3346
|
+
return j((r(), a("div", { class: V(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue !== void 0 && o.modelValue !== null }]), style: H({ width: o.width }) }, [t("div", U6, [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", z6, b(o.label), 1), G6]), p(a1, { name: "slide-fade-down", persisted: "" }, { default: f(() => [j(t("ul", Y6, [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)) : M("v-if", !0), (r(!0), a(O, null, W(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, X6))), 128))], 512), [[n1, !o.disabled && s.isOpen]])]), _: 1 })], 6)), [[u, () => s.isOpen = !1]]);
|
|
3347
|
+
}, K1.__scopeId = "data-v-41a0d93f", K1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue";
|
|
3348
|
+
var I2 = { components: { BIMDataSelectMulti: j1, BIMDataSelectSingle: K1 }, 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() {
|
|
3354
3349
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
3355
3350
|
} } };
|
|
3356
|
-
|
|
3357
|
-
return r(),
|
|
3358
|
-
},
|
|
3359
|
-
const
|
|
3351
|
+
I2.render = function(e, n, o, l, s, i) {
|
|
3352
|
+
return r(), B(f1(i.selectorComponent), O1(e.$props, { modelValue: o.modelValue, "onUpdate:modelValue": n[0] || (n[0] = (c) => e.$emit("update:modelValue", c)) }), null, 16, ["modelValue"]);
|
|
3353
|
+
}, I2.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelect.vue";
|
|
3354
|
+
const G = (e, n) => {
|
|
3360
3355
|
const o = e.__vccOpts || e;
|
|
3361
3356
|
for (const [l, s] of n)
|
|
3362
3357
|
o[l] = s;
|
|
3363
3358
|
return o;
|
|
3364
3359
|
};
|
|
3365
|
-
function
|
|
3360
|
+
function D1(e) {
|
|
3366
3361
|
return Array.from(new Set(e)).sort(
|
|
3367
3362
|
(n, o) => n.localeCompare(o, void 0, { sensitivity: "base" })
|
|
3368
3363
|
);
|
|
@@ -3372,7 +3367,7 @@ const W6 = {
|
|
|
3372
3367
|
BIMDataButton: J,
|
|
3373
3368
|
BIMDataIcon: Q,
|
|
3374
3369
|
BIMDataInput: b1,
|
|
3375
|
-
BIMDataSelect:
|
|
3370
|
+
BIMDataSelect: I2
|
|
3376
3371
|
},
|
|
3377
3372
|
props: {
|
|
3378
3373
|
topics: {
|
|
@@ -3383,17 +3378,17 @@ const W6 = {
|
|
|
3383
3378
|
emits: ["submit"],
|
|
3384
3379
|
setup(e, { emit: n }) {
|
|
3385
3380
|
const o = w(!1), l = () => o.value = !1, s = () => o.value = !o.value, { filters: i, filteredTopics: c, reset: u } = H3(
|
|
3386
|
-
|
|
3387
|
-
), d =
|
|
3388
|
-
() =>
|
|
3389
|
-
), C =
|
|
3390
|
-
() =>
|
|
3391
|
-
), L =
|
|
3392
|
-
() =>
|
|
3393
|
-
), h =
|
|
3394
|
-
() =>
|
|
3395
|
-
), m =
|
|
3396
|
-
() =>
|
|
3381
|
+
E(() => e.topics)
|
|
3382
|
+
), d = E(
|
|
3383
|
+
() => D1(e.topics.map((D) => D.priority))
|
|
3384
|
+
), C = E(
|
|
3385
|
+
() => D1(e.topics.map((D) => D.topic_status))
|
|
3386
|
+
), L = E(
|
|
3387
|
+
() => D1(e.topics.map((D) => D.assigned_to))
|
|
3388
|
+
), h = E(
|
|
3389
|
+
() => D1(e.topics.map((D) => D.creation_author))
|
|
3390
|
+
), m = E(
|
|
3391
|
+
() => D1(e.topics.flatMap((D) => D.labels))
|
|
3397
3392
|
);
|
|
3398
3393
|
return {
|
|
3399
3394
|
// References
|
|
@@ -3413,8 +3408,8 @@ const W6 = {
|
|
|
3413
3408
|
});
|
|
3414
3409
|
},
|
|
3415
3410
|
submitFilters: () => {
|
|
3416
|
-
var
|
|
3417
|
-
(
|
|
3411
|
+
var D;
|
|
3412
|
+
(D = i.endDate) == null || D.setHours(23, 59, 59), n("submit", {
|
|
3418
3413
|
filters: g5(i),
|
|
3419
3414
|
topics: c.value
|
|
3420
3415
|
}), o.value = !1;
|
|
@@ -3424,7 +3419,7 @@ const W6 = {
|
|
|
3424
3419
|
}
|
|
3425
3420
|
}, j6 = { class: "bcf-filters" }, K6 = { class: "bcf-filters__container" }, q6 = { class: "bcf-filters__container__header" }, J6 = { class: "bcf-filters__container__header__title" }, Q6 = { class: "bcf-filters__container__date" }, ee = { class: "bcf-filters__container__actions" };
|
|
3426
3421
|
function ne(e, n, o, l, s, i) {
|
|
3427
|
-
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataSelect"), C = g("BIMDataDatePicker"), L =
|
|
3422
|
+
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataSelect"), C = g("BIMDataDatePicker"), L = E1("click-away");
|
|
3428
3423
|
return j((r(), a("div", j6, [
|
|
3429
3424
|
p(u, {
|
|
3430
3425
|
class: "bcf-filters__btn-toggle",
|
|
@@ -3560,7 +3555,7 @@ function ne(e, n, o, l, s, i) {
|
|
|
3560
3555
|
}, 8, ["onClick"])
|
|
3561
3556
|
])
|
|
3562
3557
|
], 512), [
|
|
3563
|
-
[
|
|
3558
|
+
[n1, l.isOpen]
|
|
3564
3559
|
])
|
|
3565
3560
|
]),
|
|
3566
3561
|
_: 1
|
|
@@ -3569,11 +3564,11 @@ function ne(e, n, o, l, s, i) {
|
|
|
3569
3564
|
[L, l.close]
|
|
3570
3565
|
]);
|
|
3571
3566
|
}
|
|
3572
|
-
const te = /* @__PURE__ */
|
|
3573
|
-
Object.entries(
|
|
3574
|
-
var oe = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
3567
|
+
const te = /* @__PURE__ */ G(W6, [["render", ne], ["__scopeId", "data-v-d21221e8"]]), u5 = 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" }), re = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
|
|
3568
|
+
Object.entries(u5).filter(([e]) => !re.includes(e));
|
|
3569
|
+
var oe = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), q1 = { props: { text: { type: String } } };
|
|
3575
3570
|
const ae = { class: "bimdata-card__brand" }, le = { class: "bimdata-card__brand--left" }, ie = { key: 0 };
|
|
3576
|
-
function
|
|
3571
|
+
function G1(e, n) {
|
|
3577
3572
|
n === void 0 && (n = {});
|
|
3578
3573
|
var o = n.insertAt;
|
|
3579
3574
|
if (e && typeof document < "u") {
|
|
@@ -3581,7 +3576,7 @@ function z1(e, n) {
|
|
|
3581
3576
|
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));
|
|
3582
3577
|
}
|
|
3583
3578
|
}
|
|
3584
|
-
|
|
3579
|
+
G1(`/* base COLORS --------------------------------------------- */
|
|
3585
3580
|
/* colors BRAND */
|
|
3586
3581
|
/* colors GREY SHADES - NEUTRAL */
|
|
3587
3582
|
/* color TEXT */
|
|
@@ -3650,7 +3645,7 @@ html[data-v-0185c658] {
|
|
|
3650
3645
|
/* base FONTS -------------------------------------- */
|
|
3651
3646
|
--primary-font: "roboto", sans-serif;
|
|
3652
3647
|
}`);
|
|
3653
|
-
|
|
3648
|
+
G1(`.bimdata-card__brand {
|
|
3654
3649
|
-webkit-box-pack: justify;
|
|
3655
3650
|
-ms-flex-pack: justify;
|
|
3656
3651
|
justify-content: space-between;
|
|
@@ -3666,14 +3661,14 @@ z1(`.bimdata-card__brand {
|
|
|
3666
3661
|
}
|
|
3667
3662
|
.bimdata-card__brand--left svg {
|
|
3668
3663
|
margin-right: calc(var(--spacing-unit) / 2);
|
|
3669
|
-
}`),
|
|
3670
|
-
return r(), a("div", ae, [t("div", le, [
|
|
3671
|
-
},
|
|
3672
|
-
var
|
|
3664
|
+
}`), q1.render = function(e, n, o, l, s, i) {
|
|
3665
|
+
return r(), a("div", ae, [t("div", le, [_(e.$slots, "left"), o.text ? (r(), a("span", ie, b(o.text), 1)) : M("v-if", !0)]), _(e.$slots, "right")]);
|
|
3666
|
+
}, q1.__scopeId = "data-v-0185c658", q1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCardBand.vue";
|
|
3667
|
+
var J1 = { components: { BIMDataCardBand: q1 }, 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) => oe.includes(e) } }, computed: { classes() {
|
|
3673
3668
|
return { [`bimdata-card__${this.bgColor}`]: this.bgColor };
|
|
3674
3669
|
} } };
|
|
3675
3670
|
const se = { key: 2, class: "bimdata-card__content" }, ce = { key: 3, class: "bimdata-card__footer" };
|
|
3676
|
-
|
|
3671
|
+
G1(`/* base COLORS --------------------------------------------- */
|
|
3677
3672
|
/* colors BRAND */
|
|
3678
3673
|
/* colors GREY SHADES - NEUTRAL */
|
|
3679
3674
|
/* color TEXT */
|
|
@@ -3831,7 +3826,7 @@ html[data-v-5c84207f] {
|
|
|
3831
3826
|
.primary-font[data-v-5c84207f] {
|
|
3832
3827
|
font-family: "roboto", sans-serif;
|
|
3833
3828
|
}`);
|
|
3834
|
-
|
|
3829
|
+
G1(`.bimdata-card {
|
|
3835
3830
|
background-color: var(--color-white);
|
|
3836
3831
|
-webkit-box-shadow: var(--box-shadow);
|
|
3837
3832
|
box-shadow: var(--box-shadow);
|
|
@@ -3907,14 +3902,14 @@ z1(`.bimdata-card {
|
|
|
3907
3902
|
color: var(--color-primary);
|
|
3908
3903
|
-webkit-filter: saturate(0.8);
|
|
3909
3904
|
filter: saturate(0.8);
|
|
3910
|
-
}`),
|
|
3905
|
+
}`), J1.render = function(e, n, o, l, s, i) {
|
|
3911
3906
|
const c = g("BIMDataCardBand");
|
|
3912
|
-
return r(), a("div", { class:
|
|
3913
|
-
},
|
|
3914
|
-
const de = Object.entries(
|
|
3915
|
-
var
|
|
3907
|
+
return r(), a("div", { class: V(["bimdata-card", i.classes]), style: H({ "min-width": o.width, "border-radius": o.borderRadius }) }, [o.titleHeader || e.$slots.headerIcons ? (r(), B(c, { key: 0, text: o.titleHeader, class: "bimdata-card__header" }, { right: f(() => [_(e.$slots, "headerIcons")]), _: 3 }, 8, ["text"])) : M("v-if", !0), e.$slots.left || o.submenuText || e.$slots.right ? (r(), B(c, { key: 1, class: "bimdata-card__submenu", text: o.submenuText }, { left: f(() => [_(e.$slots, "left")]), right: f(() => [_(e.$slots, "right")]), _: 3 }, 8, ["text"])) : M("v-if", !0), e.$slots.content ? (r(), a("div", se, [_(e.$slots, "content")])) : M("v-if", !0), e.$slots.footer ? (r(), a("footer", ce, [_(e.$slots, "footer")])) : M("v-if", !0)], 6);
|
|
3908
|
+
}, J1.__scopeId = "data-v-5c84207f", J1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCard.vue";
|
|
3909
|
+
const de = Object.entries(u5).reduce((e, n, o) => (o % 5 == 0 ? e.push([n]) : e[e.length - 1].push(n), e), []);
|
|
3910
|
+
var Q1 = { components: { BIMDataCard: J1 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(u5).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: de }) };
|
|
3916
3911
|
const ue = ["title", "onClick"];
|
|
3917
|
-
|
|
3912
|
+
G1(`.color-selector__line[data-v-dd521886] {
|
|
3918
3913
|
display: -webkit-box;
|
|
3919
3914
|
display: -ms-flexbox;
|
|
3920
3915
|
display: flex;
|
|
@@ -3928,14 +3923,14 @@ z1(`.color-selector__line[data-v-dd521886] {
|
|
|
3928
3923
|
}
|
|
3929
3924
|
.color-selector__line__element.selected[data-v-dd521886] {
|
|
3930
3925
|
border: solid 2px var(--color-primary);
|
|
3931
|
-
}`),
|
|
3926
|
+
}`), Q1.render = function(e, n, o, l, s, i) {
|
|
3932
3927
|
const c = g("BIMDataCard");
|
|
3933
|
-
return r(),
|
|
3934
|
-
},
|
|
3928
|
+
return r(), B(c, { class: "color-selector" }, { content: f(() => [(r(!0), a(O, null, W(s.colorLines, (u, d) => (r(), a("div", { class: "color-selector__line", key: `colorLine${d}` }, [(r(!0), a(O, null, W(u, ([C, L], h) => (r(), a("div", { class: V(["color-selector__line__element", { selected: L === o.modelValue }]), key: `colorElement${h}ofColorLine${d}`, style: H(`background-color: #${L}`), title: C, onClick: N((m) => e.$emit("update:modelValue", L), ["stop"]) }, null, 14, ue))), 128))]))), 128))]), _: 1 });
|
|
3929
|
+
}, Q1.__scopeId = "data-v-dd521886", Q1.__file = "src/BIMDataComponents/BIMDataColorSelector/BIMDataColorSelector.vue";
|
|
3935
3930
|
const Ce = {
|
|
3936
3931
|
components: {
|
|
3937
3932
|
BIMDataButton: J,
|
|
3938
|
-
BIMDataColorSelector:
|
|
3933
|
+
BIMDataColorSelector: Q1,
|
|
3939
3934
|
BIMDataIcon: Q,
|
|
3940
3935
|
BIMDataInput: b1
|
|
3941
3936
|
},
|
|
@@ -3953,7 +3948,7 @@ const Ce = {
|
|
|
3953
3948
|
],
|
|
3954
3949
|
setup(e, { emit: n }) {
|
|
3955
3950
|
const o = w(!1), l = w(!1), s = w(!1), i = w(
|
|
3956
|
-
e.extension[
|
|
3951
|
+
e.extension[M1(e.extensionType)]
|
|
3957
3952
|
), c = w(e.extension.color), u = w(null);
|
|
3958
3953
|
return c1(
|
|
3959
3954
|
o,
|
|
@@ -3969,7 +3964,7 @@ const Ce = {
|
|
|
3969
3964
|
isOpenDeleteGuard: s,
|
|
3970
3965
|
// Methods
|
|
3971
3966
|
adjustBorderColor: l3,
|
|
3972
|
-
getExtensionField:
|
|
3967
|
+
getExtensionField: M1,
|
|
3973
3968
|
submitColor: async (h) => {
|
|
3974
3969
|
h !== e.extension.color && (n("update-extension", {
|
|
3975
3970
|
extensionType: e.extensionType,
|
|
@@ -3984,7 +3979,7 @@ const Ce = {
|
|
|
3984
3979
|
});
|
|
3985
3980
|
},
|
|
3986
3981
|
submitValue: async () => {
|
|
3987
|
-
i.value !== e.extension[
|
|
3982
|
+
i.value !== e.extension[M1(e.extensionType)] && (n("update-extension", {
|
|
3988
3983
|
extensionType: e.extensionType,
|
|
3989
3984
|
extension: e.extension,
|
|
3990
3985
|
data: { value: i.value }
|
|
@@ -3997,9 +3992,9 @@ const Ce = {
|
|
|
3997
3992
|
class: "setting-card-item__delete-guard"
|
|
3998
3993
|
}, fe = { class: "flex items-center" };
|
|
3999
3994
|
function Le(e, n, o, l, s, i) {
|
|
4000
|
-
const c = g("BIMDataInput"), u = g("BIMDataIcon"), d = g("BIMDataButton"), C = g("BIMDataColorSelector"), L =
|
|
3995
|
+
const c = g("BIMDataInput"), u = g("BIMDataIcon"), d = g("BIMDataButton"), C = g("BIMDataColorSelector"), L = E1("click-away");
|
|
4001
3996
|
return r(), a("li", pe, [
|
|
4002
|
-
l.editMode ? (r(),
|
|
3997
|
+
l.editMode ? (r(), B(c, {
|
|
4003
3998
|
key: 1,
|
|
4004
3999
|
ref: "input",
|
|
4005
4000
|
modelValue: l.extensionName,
|
|
@@ -4037,16 +4032,16 @@ function Le(e, n, o, l, s, i) {
|
|
|
4037
4032
|
]),
|
|
4038
4033
|
_: 1
|
|
4039
4034
|
}),
|
|
4040
|
-
l.EXTENSION_WITH_COLOR.includes(o.extensionType) ? (r(), a(
|
|
4035
|
+
l.EXTENSION_WITH_COLOR.includes(o.extensionType) ? (r(), a(O, { key: 0 }, [
|
|
4041
4036
|
t("span", {
|
|
4042
4037
|
class: "setting-card-item__color",
|
|
4043
|
-
style:
|
|
4038
|
+
style: H({
|
|
4044
4039
|
"border-color": l.adjustBorderColor(`${l.extensionColor}`, -50),
|
|
4045
4040
|
"background-color": `#${l.extensionColor}`
|
|
4046
4041
|
}),
|
|
4047
4042
|
onClick: n[3] || (n[3] = (h) => l.isOpenColorSelector = !0)
|
|
4048
4043
|
}, null, 4),
|
|
4049
|
-
l.isOpenColorSelector ? j((r(),
|
|
4044
|
+
l.isOpenColorSelector ? j((r(), B(C, {
|
|
4050
4045
|
key: 0,
|
|
4051
4046
|
class: "setting-card-item__color-selector",
|
|
4052
4047
|
modelValue: l.extensionColor,
|
|
@@ -4091,7 +4086,7 @@ function Le(e, n, o, l, s, i) {
|
|
|
4091
4086
|
])) : M("", !0)
|
|
4092
4087
|
]);
|
|
4093
4088
|
}
|
|
4094
|
-
const ve = /* @__PURE__ */
|
|
4089
|
+
const ve = /* @__PURE__ */ G(Ce, [["render", Le], ["__scopeId", "data-v-b97a5399"]]);
|
|
4095
4090
|
const me = {
|
|
4096
4091
|
components: {
|
|
4097
4092
|
BIMDataButton: J,
|
|
@@ -4115,7 +4110,7 @@ const me = {
|
|
|
4115
4110
|
"delete-extension"
|
|
4116
4111
|
],
|
|
4117
4112
|
setup(e, { emit: n }) {
|
|
4118
|
-
const o =
|
|
4113
|
+
const o = E(
|
|
4119
4114
|
() => X5(e.extensionType, e.detailedExtensions)
|
|
4120
4115
|
), l = w(null), s = w(""), i = w(!1), c = () => i.value = !1, u = () => i.value = !i.value, d = w(!1), C = () => {
|
|
4121
4116
|
s.value = "", d.value = !1;
|
|
@@ -4217,13 +4212,13 @@ function ke(e, n, o, l, s, i) {
|
|
|
4217
4212
|
}, 8, ["onClick"])
|
|
4218
4213
|
])
|
|
4219
4214
|
], 512), [
|
|
4220
|
-
[
|
|
4215
|
+
[n1, l.isOpenForm]
|
|
4221
4216
|
])
|
|
4222
4217
|
]),
|
|
4223
4218
|
_: 1
|
|
4224
4219
|
}),
|
|
4225
4220
|
t("ul", Be, [
|
|
4226
|
-
(r(!0), a(
|
|
4221
|
+
(r(!0), a(O, null, W(l.availableExtensions, (L) => (r(), B(C, {
|
|
4227
4222
|
key: L.id,
|
|
4228
4223
|
extensionType: o.extensionType,
|
|
4229
4224
|
extension: L,
|
|
@@ -4232,11 +4227,11 @@ function ke(e, n, o, l, s, i) {
|
|
|
4232
4227
|
}, null, 8, ["extensionType", "extension"]))), 128))
|
|
4233
4228
|
])
|
|
4234
4229
|
], 512), [
|
|
4235
|
-
[
|
|
4230
|
+
[n1, l.isOpen]
|
|
4236
4231
|
])
|
|
4237
4232
|
]);
|
|
4238
4233
|
}
|
|
4239
|
-
const we = /* @__PURE__ */
|
|
4234
|
+
const we = /* @__PURE__ */ G(me, [["render", ke], ["__scopeId", "data-v-3ea16e8c"]]);
|
|
4240
4235
|
const xe = {
|
|
4241
4236
|
components: {
|
|
4242
4237
|
BIMDataButton: J,
|
|
@@ -4268,7 +4263,7 @@ const xe = {
|
|
|
4268
4263
|
"extension-deleted"
|
|
4269
4264
|
],
|
|
4270
4265
|
setup(e, { emit: n }) {
|
|
4271
|
-
const o =
|
|
4266
|
+
const o = z1();
|
|
4272
4267
|
return {
|
|
4273
4268
|
// References
|
|
4274
4269
|
EXTENSION_TYPES: O5,
|
|
@@ -4304,7 +4299,7 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4304
4299
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("SettingCard");
|
|
4305
4300
|
return r(), a("div", Ze, [
|
|
4306
4301
|
t("div", Se, [
|
|
4307
|
-
o.uiConfig.backButton ? (r(),
|
|
4302
|
+
o.uiConfig.backButton ? (r(), B(u, {
|
|
4308
4303
|
key: 0,
|
|
4309
4304
|
color: "granite",
|
|
4310
4305
|
ghost: "",
|
|
@@ -4321,7 +4316,7 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4321
4316
|
_: 1
|
|
4322
4317
|
})) : M("", !0),
|
|
4323
4318
|
t("span", Ae, b(e.$t("BcfComponents.BcfSettings.title")), 1),
|
|
4324
|
-
o.uiConfig.closeButton ? (r(),
|
|
4319
|
+
o.uiConfig.closeButton ? (r(), B(u, {
|
|
4325
4320
|
key: 1,
|
|
4326
4321
|
color: "granite",
|
|
4327
4322
|
ghost: "",
|
|
@@ -4340,7 +4335,7 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4340
4335
|
]),
|
|
4341
4336
|
t("div", Te, [
|
|
4342
4337
|
t("div", $e, b(e.$t("BcfComponents.BcfSettings.text")), 1),
|
|
4343
|
-
(r(!0), a(
|
|
4338
|
+
(r(!0), a(O, null, W(l.EXTENSION_TYPES, (C) => (r(), B(d, {
|
|
4344
4339
|
detailedExtensions: o.detailedExtensions,
|
|
4345
4340
|
extensionType: C,
|
|
4346
4341
|
onCreateExtension: l.createExtension,
|
|
@@ -4350,8 +4345,8 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4350
4345
|
])
|
|
4351
4346
|
]);
|
|
4352
4347
|
}
|
|
4353
|
-
const Re = /* @__PURE__ */
|
|
4354
|
-
var Oe = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
4348
|
+
const Re = /* @__PURE__ */ G(xe, [["render", Ne], ["__scopeId", "data-v-9e0003a6"]]);
|
|
4349
|
+
var Oe = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), x1 = { 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) => Oe.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
4355
4350
|
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 };
|
|
4356
4351
|
}, style() {
|
|
4357
4352
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -4826,22 +4821,22 @@ K(`.bimdata-btn {
|
|
|
4826
4821
|
.bimdata-btn__ghost:disabled {
|
|
4827
4822
|
color: var(--color-silver-dark);
|
|
4828
4823
|
cursor: auto;
|
|
4829
|
-
}`),
|
|
4830
|
-
return r(), a("button", { class:
|
|
4831
|
-
},
|
|
4824
|
+
}`), x1.render = function(e, n, o, l, s, i) {
|
|
4825
|
+
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, Ee);
|
|
4826
|
+
}, x1.__scopeId = "data-v-3f903003", x1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
4832
4827
|
const Fe = { "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" }, Pe = { render: function(e, n) {
|
|
4833
4828
|
return r(), a("path", Fe);
|
|
4834
4829
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
4835
4830
|
var Ue = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
4836
4831
|
const H5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
4837
|
-
var
|
|
4832
|
+
var H2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: { color: { type: String, default: "default", validator: (o) => Ue.includes(o) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (o) => Object.keys(H5).includes(o) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
4838
4833
|
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 };
|
|
4839
4834
|
}, style() {
|
|
4840
4835
|
const o = this.getPixelSize(this.size);
|
|
4841
4836
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
4842
4837
|
} }, methods: { getPixelSize() {
|
|
4843
4838
|
return this.customSize ? this.customSize : H5[this.size];
|
|
4844
|
-
} } }),
|
|
4839
|
+
} } }), e2 = H2("Chevron", Pe);
|
|
4845
4840
|
const ze = ["fill", "color"];
|
|
4846
4841
|
K(`/* base COLORS --------------------------------------------- */
|
|
4847
4842
|
/* colors BRAND */
|
|
@@ -4995,14 +4990,14 @@ K(`.icon-fill--black {
|
|
|
4995
4990
|
}
|
|
4996
4991
|
.icon-stroke--white {
|
|
4997
4992
|
stroke: var(--color-white);
|
|
4998
|
-
}`),
|
|
4993
|
+
}`), e2.render = function(e, n, o, l, s, i) {
|
|
4999
4994
|
const c = g("Chevron");
|
|
5000
|
-
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:
|
|
5001
|
-
},
|
|
4995
|
+
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: H(e.style) }, [p(c)], 14, ze);
|
|
4996
|
+
}, e2.__scopeId = "data-v-5e440aca", e2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
5002
4997
|
const Ge = { "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" }, Ye = { render: function(e, n) {
|
|
5003
4998
|
return r(), a("path", Ge);
|
|
5004
4999
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
5005
|
-
var
|
|
5000
|
+
var n2 = H2("DoubleChevron", Ye);
|
|
5006
5001
|
const Xe = ["fill", "color"];
|
|
5007
5002
|
K(`/* base COLORS --------------------------------------------- */
|
|
5008
5003
|
/* colors BRAND */
|
|
@@ -5156,14 +5151,14 @@ K(`.icon-fill--black {
|
|
|
5156
5151
|
}
|
|
5157
5152
|
.icon-stroke--white {
|
|
5158
5153
|
stroke: var(--color-white);
|
|
5159
|
-
}`),
|
|
5154
|
+
}`), n2.render = function(e, n, o, l, s, i) {
|
|
5160
5155
|
const c = g("DoubleChevron");
|
|
5161
|
-
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:
|
|
5162
|
-
},
|
|
5156
|
+
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: H(e.style) }, [p(c)], 14, Xe);
|
|
5157
|
+
}, n2.__scopeId = "data-v-859297ec", n2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
5163
5158
|
const We = { 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" }, je = { render: function(e, n) {
|
|
5164
5159
|
return r(), a("path", We);
|
|
5165
5160
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
5166
|
-
var
|
|
5161
|
+
var S2 = H2("Close", je);
|
|
5167
5162
|
const Ke = ["fill", "color"];
|
|
5168
5163
|
K(`/* base COLORS --------------------------------------------- */
|
|
5169
5164
|
/* colors BRAND */
|
|
@@ -5317,14 +5312,14 @@ K(`.icon-fill--black {
|
|
|
5317
5312
|
}
|
|
5318
5313
|
.icon-stroke--white {
|
|
5319
5314
|
stroke: var(--color-white);
|
|
5320
|
-
}`),
|
|
5315
|
+
}`), S2.render = function(e, n, o, l, s, i) {
|
|
5321
5316
|
const c = g("Close");
|
|
5322
|
-
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:
|
|
5323
|
-
},
|
|
5317
|
+
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: H(e.style) }, [p(c)], 14, Ke);
|
|
5318
|
+
}, S2.__scopeId = "data-v-797f55d8", S2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
5324
5319
|
const qe = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.4652C5.27332 14.4652 2.6301 11.822 2.6301 8.54753C2.6301 5.27309 5.27332 2.62986 8.54777 2.62986C11.8222 2.62986 14.4654 5.27309 14.4654 8.54753C14.4654 11.822 11.8222 14.4652 8.54777 14.4652ZM16.438 14.4654H15.3991L15.0309 14.1103C16.3196 12.6112 17.0955 10.665 17.0955 8.54774C17.0955 3.82676 13.2687 0 8.54774 0C3.82676 0 0 3.82676 0 8.54774C0 13.2687 3.82676 17.0955 8.54774 17.0955C10.665 17.0955 12.6112 16.3196 14.1103 15.0309L14.4654 15.3991V16.438L21.0406 23L23 21.0406L16.438 14.4654Z" }, Je = { render: function(e, n) {
|
|
5325
5320
|
return r(), a("path", qe);
|
|
5326
5321
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
5327
|
-
var
|
|
5322
|
+
var A2 = H2("Search", Je);
|
|
5328
5323
|
const Qe = ["fill", "color"];
|
|
5329
5324
|
K(`/* base COLORS --------------------------------------------- */
|
|
5330
5325
|
/* colors BRAND */
|
|
@@ -5478,11 +5473,11 @@ K(`.icon-fill--black {
|
|
|
5478
5473
|
}
|
|
5479
5474
|
.icon-stroke--white {
|
|
5480
5475
|
stroke: var(--color-white);
|
|
5481
|
-
}`),
|
|
5476
|
+
}`), A2.render = function(e, n, o, l, s, i) {
|
|
5482
5477
|
const c = g("Search");
|
|
5483
|
-
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:
|
|
5484
|
-
},
|
|
5485
|
-
var
|
|
5478
|
+
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: H(e.style) }, [p(c)], 14, Qe);
|
|
5479
|
+
}, A2.__scopeId = "data-v-0993abf8", A2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
5480
|
+
var t2 = { components: { BIMDataIconChevron: e2, BIMDataIconDoubleChevron: n2, BIMDataButton: x1 }, 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"] };
|
|
5486
5481
|
const en = { class: "bimdata-navigation__left m-r-6" }, nn = { key: 0, class: "bimdata-navigation__item" }, tn = { key: 1, class: "bimdata-navigation__item" }, rn = { key: 2, class: "bimdata-navigation__item" }, on = { key: 3, class: "bimdata-navigation__item" }, an = { class: "bimdata-navigation__right" };
|
|
5487
5482
|
K(`/* base COLORS --------------------------------------------- */
|
|
5488
5483
|
/* colors BRAND */
|
|
@@ -5589,11 +5584,11 @@ K(`.bimdata-navigation[data-v-aa907072] {
|
|
|
5589
5584
|
padding: 6px 2px;
|
|
5590
5585
|
font-size: 10px;
|
|
5591
5586
|
cursor: default;
|
|
5592
|
-
}`),
|
|
5587
|
+
}`), t2.render = function(e, n, o, l, s, i) {
|
|
5593
5588
|
const c = g("BIMDataIconDoubleChevron"), u = g("BIMDataButton"), d = g("BIMDataIconChevron");
|
|
5594
|
-
return r(), a("ul", { class: "bimdata-list bimdata-navigation", style:
|
|
5595
|
-
},
|
|
5596
|
-
var
|
|
5589
|
+
return r(), a("ul", { class: "bimdata-list bimdata-navigation", style: H({ "background-color": o.backgroundColor }) }, [t("li", en, [_(e.$slots, "left")]), o.first ? (r(), a("li", nn, [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"])])) : M("v-if", !0), o.previous ? (r(), a("li", tn, [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"])])) : M("v-if", !0), t("li", null, [_(e.$slots, "default")]), o.next ? (r(), a("li", rn, [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"])])) : M("v-if", !0), o.last ? (r(), a("li", on, [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"])])) : M("v-if", !0), t("li", an, [_(e.$slots, "right")])], 4);
|
|
5590
|
+
}, t2.__scopeId = "data-v-aa907072", t2.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
|
|
5591
|
+
var r2 = { components: { BIMDataNavigation: t2, BIMDataButton: x1 }, 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() {
|
|
5597
5592
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
5598
5593
|
}, lastIndex() {
|
|
5599
5594
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -5688,11 +5683,11 @@ K(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
|
5688
5683
|
}
|
|
5689
5684
|
.bimdata-pagination__item.active .bimdata-btn[data-v-45066753] {
|
|
5690
5685
|
font-weight: 700;
|
|
5691
|
-
}`),
|
|
5686
|
+
}`), r2.render = function(e, n, o, l, s, i) {
|
|
5692
5687
|
const c = g("BIMDataButton"), u = g("BIMDataNavigation");
|
|
5693
|
-
return r(),
|
|
5694
|
-
},
|
|
5695
|
-
var
|
|
5688
|
+
return r(), B(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 }, l5({ default: f(() => [t("span", ln, [p(c, { ghost: "", width: "21px", height: "21px" }, { default: f(() => [A(b(o.currentPage), 1)]), _: 1 })])]), _: 2 }, [o.numberDataElements ? { name: "left", fn: f(() => [A(b(i.firstIndex) + " - " + b(i.lastIndex) + " of " + b(o.length), 1)]), key: "0" } : void 0]), 1032, ["firstDisabled", "previousDisabled", "nextDisabled", "lastDisabled", "backgroundColor"]);
|
|
5689
|
+
}, r2.__scopeId = "data-v-45066753", r2.__file = "src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue";
|
|
5690
|
+
var o2 = { props: ["size", "border"], methods: { getStyle() {
|
|
5696
5691
|
if (this.size)
|
|
5697
5692
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
5698
5693
|
} } };
|
|
@@ -5844,10 +5839,10 @@ K(`@-webkit-keyframes bimdataspinner {
|
|
|
5844
5839
|
border: 2px var(--color-primary) solid;
|
|
5845
5840
|
-webkit-animation: bimdataspinner 1.4s linear infinite;
|
|
5846
5841
|
animation: bimdataspinner 1.4s linear infinite;
|
|
5847
|
-
}`),
|
|
5848
|
-
return r(), a("div", sn, [t("div", { class: "bimdata-spinner--square", style:
|
|
5849
|
-
},
|
|
5850
|
-
var
|
|
5842
|
+
}`), o2.render = function(e, n, o, l, s, i) {
|
|
5843
|
+
return r(), a("div", sn, [t("div", { class: "bimdata-spinner--square", style: H(i.getStyle()) }, null, 4)]);
|
|
5844
|
+
}, o2.__scopeId = "data-v-162f2cc6", o2.__file = "src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue";
|
|
5845
|
+
var a2 = { components: { BIMDataPagination: r2, BIMDataSpinner: o2 }, 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() {
|
|
5851
5846
|
return this.list.length ? Math.ceil(this.list.length / this.perPage) : 0;
|
|
5852
5847
|
}, page() {
|
|
5853
5848
|
const e = this.perPage * (this.currentPage - 1), n = e + this.perPage;
|
|
@@ -5971,11 +5966,11 @@ K(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
|
5971
5966
|
-webkit-box-pack: center;
|
|
5972
5967
|
-ms-flex-pack: center;
|
|
5973
5968
|
justify-content: center;
|
|
5974
|
-
}`),
|
|
5969
|
+
}`), a2.render = function(e, n, o, l, s, i) {
|
|
5975
5970
|
const c = g("BIMDataSpinner"), u = g("BIMDataPagination");
|
|
5976
|
-
return r(), a("div", cn, [o.loading ? (r(),
|
|
5977
|
-
},
|
|
5978
|
-
var
|
|
5971
|
+
return r(), a("div", cn, [o.loading ? (r(), B(c, { key: 0 })) : (r(), a("div", dn, [_(e.$slots, "header"), t("ul", un, [(r(!0), a(O, null, W(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 }, () => [A(b(d && d.toString()), 1)])], 8, Cn))), 128))]), o.list.length === 0 ? _(e.$slots, "empty", { key: 0 }) : M("v-if", !0), i.totalPages > 1 ? (r(), B(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"])) : M("v-if", !0)]))]);
|
|
5972
|
+
}, a2.__scopeId = "data-v-3ab4d75d", a2.__file = "src/BIMDataComponents/BIMDataPaginatedList/BIMDataPaginatedList.vue";
|
|
5973
|
+
var l2 = { 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() {
|
|
5979
5974
|
return (this.barStrokeWidth / 2 - 4) / (2 * this.barDistanceFromCenter * Math.PI) * 100;
|
|
5980
5975
|
}, center() {
|
|
5981
5976
|
return this.viewBoxSize / 2;
|
|
@@ -6027,13 +6022,13 @@ to {
|
|
|
6027
6022
|
to {
|
|
6028
6023
|
stroke-dashoffset: 0;
|
|
6029
6024
|
}
|
|
6030
|
-
}`),
|
|
6031
|
-
return r(), a("div", pn, [(r(), a("svg", { viewBox: i.viewBox, style:
|
|
6032
|
-
},
|
|
6025
|
+
}`), l2.render = function(e, n, o, l, s, i) {
|
|
6026
|
+
return r(), a("div", pn, [(r(), a("svg", { viewBox: i.viewBox, style: H(`--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, bn)) : M("v-if", !0), (r(!0), a(O, null, W(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, gn)) : M("v-if", !0)]))), 128))], 12, hn))], 512);
|
|
6027
|
+
}, l2.__scopeId = "data-v-b68a8bb2", l2.__file = "src/BIMDataComponents/BIMDataSimplePieChart/BIMDataSimplePieChart.vue";
|
|
6033
6028
|
const fn = {
|
|
6034
6029
|
components: {
|
|
6035
|
-
BIMDataPaginatedList:
|
|
6036
|
-
BIMDataSimplePieChart:
|
|
6030
|
+
BIMDataPaginatedList: a2,
|
|
6031
|
+
BIMDataSimplePieChart: l2
|
|
6037
6032
|
},
|
|
6038
6033
|
props: {
|
|
6039
6034
|
detailedExtensions: {
|
|
@@ -6050,15 +6045,15 @@ const fn = {
|
|
|
6050
6045
|
},
|
|
6051
6046
|
setup(e) {
|
|
6052
6047
|
return {
|
|
6053
|
-
chartData:
|
|
6048
|
+
chartData: E(() => {
|
|
6054
6049
|
if (e.topics.length === 0)
|
|
6055
6050
|
return [];
|
|
6056
|
-
const o =
|
|
6051
|
+
const o = M1(e.extensionType), l = X5(e.extensionType, e.detailedExtensions);
|
|
6057
6052
|
return l.push({ [o]: void 0 }), l.map((s) => {
|
|
6058
6053
|
const i = e.topics.filter((c) => c[o] === s[o]).length;
|
|
6059
6054
|
return {
|
|
6060
6055
|
label: s[o],
|
|
6061
|
-
color: `#${s.color ??
|
|
6056
|
+
color: `#${s.color ?? s5}`,
|
|
6062
6057
|
count: i,
|
|
6063
6058
|
percentage: i * 100 / e.topics.length
|
|
6064
6059
|
};
|
|
@@ -6092,7 +6087,7 @@ function Vn(e, n, o, l, s, i) {
|
|
|
6092
6087
|
t("div", In, [
|
|
6093
6088
|
t("span", {
|
|
6094
6089
|
class: "bcf-statistics__content__legend__item__mark",
|
|
6095
|
-
style:
|
|
6090
|
+
style: H({ borderColor: d.color })
|
|
6096
6091
|
}, null, 4),
|
|
6097
6092
|
t("span", yn, b(d.percentage.toFixed(0)) + " % ", 1),
|
|
6098
6093
|
t("span", _n, [
|
|
@@ -6107,7 +6102,7 @@ function Vn(e, n, o, l, s, i) {
|
|
|
6107
6102
|
])
|
|
6108
6103
|
]);
|
|
6109
6104
|
}
|
|
6110
|
-
const Dn = /* @__PURE__ */
|
|
6105
|
+
const Dn = /* @__PURE__ */ G(fn, [["render", Vn], ["__scopeId", "data-v-173b3d02"]]);
|
|
6111
6106
|
var d1 = { 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() {
|
|
6112
6107
|
this.observer = new ResizeObserver(() => this.computeText()), this.observer.observe(this.$refs.textBox), this.computeText();
|
|
6113
6108
|
}, beforeUnmount() {
|
|
@@ -6316,7 +6311,7 @@ html[data-v-330fe2fd] {
|
|
|
6316
6311
|
-webkit-transform: rotate(45deg);
|
|
6317
6312
|
transform: rotate(45deg);
|
|
6318
6313
|
}`), d1.render = function(e, n, o, l, s, i) {
|
|
6319
|
-
return r(), a("div", { ref: "textBox", class: "bimdata-textbox", style:
|
|
6314
|
+
return r(), a("div", { ref: "textBox", class: "bimdata-textbox", style: H({ 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: H({ width: s.textTail ? "50%" : "100%", direction: o.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null, b(s.textHead), 1)], 4), j(t("span", Bn, [t("bdi", null, b(s.textTail), 1)], 512), [[n1, s.textTail]]), o.tooltip && s.isOverflowing ? j((r(), a("div", { key: 0, class: V(["bimdata-textbox__tooltip", [`bimdata-textbox__tooltip--${o.tooltipPosition}`, `bimdata-textbox__tooltip--${o.tooltipColor}`]]) }, b(o.text), 3)), [[n1, s.showTooltip]]) : M("v-if", !0)], 36);
|
|
6320
6315
|
}, d1.__scopeId = "data-v-330fe2fd", d1.__file = "src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
|
|
6321
6316
|
const kn = {}, wn = {
|
|
6322
6317
|
width: "84",
|
|
@@ -6330,10 +6325,10 @@ const kn = {}, wn = {
|
|
|
6330
6325
|
function Sn(e, n) {
|
|
6331
6326
|
return r(), a("svg", wn, Zn);
|
|
6332
6327
|
}
|
|
6333
|
-
const
|
|
6328
|
+
const C5 = /* @__PURE__ */ G(kn, [["render", Sn]]);
|
|
6334
6329
|
const An = {
|
|
6335
6330
|
components: {
|
|
6336
|
-
BcfTopicDefaultImage:
|
|
6331
|
+
BcfTopicDefaultImage: C5,
|
|
6337
6332
|
BIMDataButton: J,
|
|
6338
6333
|
BIMDataIcon: Q,
|
|
6339
6334
|
BIMDataTextbox: d1
|
|
@@ -6358,10 +6353,10 @@ const An = {
|
|
|
6358
6353
|
},
|
|
6359
6354
|
emits: ["open-topic", "update:selected"],
|
|
6360
6355
|
setup(e) {
|
|
6361
|
-
const n = w(!1), o =
|
|
6356
|
+
const n = w(!1), o = E(() => H1(e.topic, e.detailedExtensions)), l = E(() => d5(e.topic, e.detailedExtensions)), s = E(() => {
|
|
6362
6357
|
var c, u;
|
|
6363
6358
|
return (u = (c = e.topic.viewpoints) == null ? void 0 : c.filter((d) => d.snapshot)[0]) == null ? void 0 : u.snapshot.snapshot_data;
|
|
6364
|
-
}), i =
|
|
6359
|
+
}), i = E(() => {
|
|
6365
6360
|
var c, u, d;
|
|
6366
6361
|
return ((d = (u = (c = e.topic.viewpoints) == null ? void 0 : c[0]) == null ? void 0 : u.components) == null ? void 0 : d.selection) ?? [];
|
|
6367
6362
|
});
|
|
@@ -6373,21 +6368,21 @@ const An = {
|
|
|
6373
6368
|
topicImage: s,
|
|
6374
6369
|
topicObjects: i,
|
|
6375
6370
|
// Methods
|
|
6376
|
-
adjustTextColor:
|
|
6371
|
+
adjustTextColor: y2
|
|
6377
6372
|
};
|
|
6378
6373
|
}
|
|
6379
6374
|
}, Tn = { class: "bcf-topic-card__header" }, $n = { class: "title" }, Nn = { class: "checkbox" }, Rn = { class: "bcf-topic-card__image" }, On = { class: "m-l-6" }, En = { class: "date" }, Fn = ["src"], Pn = { class: "bcf-topic-card__content" }, Un = { class: "flex justify-around m-t-12" }, zn = { class: "flex items-center" }, Gn = { class: "m-l-6" };
|
|
6380
6375
|
function Yn(e, n, o, l, s, i) {
|
|
6381
6376
|
const c = g("BIMDataTextbox"), u = g("BIMDataCheckbox"), d = g("BIMDataIcon"), C = g("BcfTopicDefaultImage"), L = g("BIMDataButton");
|
|
6382
6377
|
return r(), a("div", {
|
|
6383
|
-
class:
|
|
6378
|
+
class: V(["bcf-topic-card", { selected: o.selected }]),
|
|
6384
6379
|
onMouseover: n[2] || (n[2] = (h) => l.hover = !0),
|
|
6385
6380
|
onMouseleave: n[3] || (n[3] = (h) => l.hover = !1)
|
|
6386
6381
|
}, [
|
|
6387
6382
|
t("div", Tn, [
|
|
6388
6383
|
t("div", {
|
|
6389
6384
|
class: "index",
|
|
6390
|
-
style:
|
|
6385
|
+
style: H({
|
|
6391
6386
|
"background-color": `#${l.priorityColor}`,
|
|
6392
6387
|
color: l.adjustTextColor(`#${l.priorityColor}`, "#FFF", "var(--color-text)")
|
|
6393
6388
|
})
|
|
@@ -6403,7 +6398,7 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6403
6398
|
modelValue: o.selected,
|
|
6404
6399
|
"onUpdate:modelValue": n[0] || (n[0] = (h) => e.$emit("update:selected", h))
|
|
6405
6400
|
}, null, 8, ["modelValue"]), [
|
|
6406
|
-
[
|
|
6401
|
+
[n1, o.selectable && l.hover]
|
|
6407
6402
|
])
|
|
6408
6403
|
])
|
|
6409
6404
|
]),
|
|
@@ -6411,7 +6406,7 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6411
6406
|
o.topic.topic_status ? (r(), a("div", {
|
|
6412
6407
|
key: 0,
|
|
6413
6408
|
class: "status",
|
|
6414
|
-
style:
|
|
6409
|
+
style: H({
|
|
6415
6410
|
"background-color": `#${l.statusColor}`,
|
|
6416
6411
|
color: l.adjustTextColor(`#${l.statusColor}`, "#FFF", "var(--color-text)")
|
|
6417
6412
|
})
|
|
@@ -6429,7 +6424,7 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6429
6424
|
src: l.topicImage,
|
|
6430
6425
|
alt: "topic viewpoint",
|
|
6431
6426
|
loading: "lazy"
|
|
6432
|
-
}, null, 8, Fn)) : (r(),
|
|
6427
|
+
}, null, 8, Fn)) : (r(), B(C, {
|
|
6433
6428
|
key: 2,
|
|
6434
6429
|
class: "img-default"
|
|
6435
6430
|
}))
|
|
@@ -6438,7 +6433,7 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6438
6433
|
t("div", null, [
|
|
6439
6434
|
t("strong", null, b(e.$t("BcfComponents.BcfTopicCard.priority")), 1),
|
|
6440
6435
|
t("span", {
|
|
6441
|
-
style:
|
|
6436
|
+
style: H({ color: `#${l.priorityColor}` })
|
|
6442
6437
|
}, b(o.topic.priority || e.$t("BcfComponents.BcfTopicCard.noPriority")), 5)
|
|
6443
6438
|
]),
|
|
6444
6439
|
t("div", null, [
|
|
@@ -6471,7 +6466,7 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6471
6466
|
])
|
|
6472
6467
|
], 34);
|
|
6473
6468
|
}
|
|
6474
|
-
const Xn = /* @__PURE__ */
|
|
6469
|
+
const Xn = /* @__PURE__ */ G(An, [["render", Yn], ["__scopeId", "data-v-6a7340ba"]]), Wn = {}, jn = {
|
|
6475
6470
|
width: "66",
|
|
6476
6471
|
height: "60",
|
|
6477
6472
|
viewBox: "0 0 66 60",
|
|
@@ -6483,7 +6478,7 @@ const Xn = /* @__PURE__ */ Y(An, [["render", Yn], ["__scopeId", "data-v-6a7340ba
|
|
|
6483
6478
|
function Jn(e, n) {
|
|
6484
6479
|
return r(), a("svg", jn, qn);
|
|
6485
6480
|
}
|
|
6486
|
-
const Qn = /* @__PURE__ */
|
|
6481
|
+
const Qn = /* @__PURE__ */ G(Wn, [["render", Jn]]);
|
|
6487
6482
|
const et = {
|
|
6488
6483
|
components: {
|
|
6489
6484
|
BcfTopicCreationCardImage: Qn,
|
|
@@ -6518,7 +6513,7 @@ function rt(e, n, o, l, s, i) {
|
|
|
6518
6513
|
})
|
|
6519
6514
|
]);
|
|
6520
6515
|
}
|
|
6521
|
-
const ot = /* @__PURE__ */
|
|
6516
|
+
const ot = /* @__PURE__ */ G(et, [["render", rt], ["__scopeId", "data-v-af2c3cbc"]]);
|
|
6522
6517
|
let L1 = class {
|
|
6523
6518
|
constructor(n, o, l, s, i = !1, c = !1, u = "") {
|
|
6524
6519
|
this.language = n, this.months = o, this.monthsAbbr = l, this.days = s, this.rtl = i, this.ymd = c, this.yearSuffix = u;
|
|
@@ -6568,7 +6563,7 @@ let L1 = class {
|
|
|
6568
6563
|
return o < 10 ? `0${o}` : `${o}`;
|
|
6569
6564
|
}
|
|
6570
6565
|
};
|
|
6571
|
-
var at = new L1("German", ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]),
|
|
6566
|
+
var at = new L1("German", ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]), k1 = new L1("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"]), lt = new L1("Spanish", ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"]), it = new L1("French", ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], ["Jan", "Fév", "Mar", "Avr", "Mai", "Juin", "Juil", "Août", "Sep", "Oct", "Nov", "Déc"], ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]), st = new L1("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"]), ct = new L1("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"]), dt = new L1("Norwegian", ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], ["Jan", "Feb", "Mar", "Apr", "Mai", "Juni", "Juli", "Aug", "Sep", "Okt", "Nov", "Des"], ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"]), V5 = { de: at, en: k1, es: lt, fr: it, it: st, nl: ct, no: dt };
|
|
6572
6567
|
const ut = { "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" }, Ct = { render: function(e, n) {
|
|
6573
6568
|
return r(), a("path", ut);
|
|
6574
6569
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, pt = { "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" }, ht = { render: function(e, n) {
|
|
@@ -6896,7 +6891,7 @@ const ut = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
6896
6891
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
6897
6892
|
var D5 = { addFile: Ct, addFolder: ht, addUser: gt, alphabeticalAscending: Lt, alphabeticalDescending: mt, alphabeticalSort: It, alt: _t, angle: Vt, api: Bt, app: wt, archive: Zt, arrow: At, attach: $t, backInTime: Ot, bcf: Ft, building: Ut, burgerMenu: Gt, calendar: Xt, caliper: jt, camera: qt, cancelCamera: Qt, check: nr, chevron: rr, classificationCategorie: ar, classificationElement: ir, click: cr, close: ur, cloud: pr, color: br, comment: fr, cursor: vr, dateAscending: Mr, dateDescending: yr, default: Hr, delete: Dr, deniedFile: kr, deploy: xr, detach: Sr, distance: Tr, doubleChevron: Nr, down: Or, download: Fr, drag: Ur, edit: Gr, ellipsis: Xr, expanded: jr, explosion: qr, export: Qr, exportIfc: no, failed: ro, filter: ao, fitView: io, folder: co, folderMove: Co, folderOpen: ho, fullscreen: go, grid: Lo, group: mo, hide: Io, ifc: _o, ifcFile: Vo, import: Bo, indexAscending: wo, indexDescending: Zo, information: Ao, inProgressFile: $o, invitation: Ro, isolate: Eo, key: Po, left: zo, linkedDocument: Yo, list: Wo, listManage: Ko, location: Jo, lock: ea, logout: ta, measure: oa, minus: la, model3d: sa, organization: da, parameters: Ca, path: ha, pieGraph: ga, pipette: La, plus: ma, project: Ia, quickSelect: _a, readonlyFolder: Va, redo: Ba, reduced: wa, refresh: Za, reprocessIfc: Aa, reset: $a, right: Ra, rules: Ea, sandglass: Pa, save: za, screenConfig: Ya, screenshot: Wa, search: Ka, section: Ja, settings: el, share: tl, show: ol, showSelected: ll, smartview: sl, socotec: dl, space: Cl, split: hl, storey: gl, success: Ll, surface: ml, swap: Il, synchro2d: _l, system: Vl, tag: kl, translate: xl, tree: Sl, unarchive: Tl, undo: Nl, union: Ol, up: Fl, upload: Ul, user: Gl, validate: Xl, validatedFile: jl, versioning: Jl, video: ei, visa: ti, warning: oi, windowBottom: li, windowed: si, windowLeft: di, windowRight: Ci, windowTop: hi, zone: gi, bcfPolychrome: Li, createWindowPolychrome: mi, docInfoPolychrome: Ii, fileDwgPolychrome: _i, fileDxfPolychrome: Vi, fileIfcPolychrome: Bi, fileImagePolychrome: wi, fileJpegPolychrome: Zi, filePdfPolychrome: Ai, filePngPolychrome: $i, filePointCloudPolychrome: Ri, filePlanPolychrome: Ei, folderPolychrome: Pi, structurePolychrome: zi, viewer2dPolychrome: Yi, viewer3dPolychrome: Wi }, ji = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
6898
6893
|
const B5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
6899
|
-
var
|
|
6894
|
+
var I1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
6900
6895
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
6901
6896
|
}(D5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(D5).includes(e) }, color: { type: String, default: "default", validator: (e) => ji.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() {
|
|
6902
6897
|
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 };
|
|
@@ -6907,7 +6902,7 @@ var M1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
6907
6902
|
return this.customSize ? this.customSize : B5[this.size];
|
|
6908
6903
|
} } };
|
|
6909
6904
|
const Ki = ["fill", "color"];
|
|
6910
|
-
function
|
|
6905
|
+
function V1(e, n) {
|
|
6911
6906
|
n === void 0 && (n = {});
|
|
6912
6907
|
var o = n.insertAt;
|
|
6913
6908
|
if (e && typeof document < "u") {
|
|
@@ -6915,7 +6910,7 @@ function H1(e, n) {
|
|
|
6915
6910
|
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));
|
|
6916
6911
|
}
|
|
6917
6912
|
}
|
|
6918
|
-
|
|
6913
|
+
V1(`/* base COLORS --------------------------------------------- */
|
|
6919
6914
|
/* colors BRAND */
|
|
6920
6915
|
/* colors GREY SHADES - NEUTRAL */
|
|
6921
6916
|
/* color TEXT */
|
|
@@ -6984,7 +6979,7 @@ html[data-v-1312d4d1] {
|
|
|
6984
6979
|
/* base FONTS -------------------------------------- */
|
|
6985
6980
|
--primary-font: "roboto", sans-serif;
|
|
6986
6981
|
}`);
|
|
6987
|
-
|
|
6982
|
+
V1(`.icon-fill--black {
|
|
6988
6983
|
fill: var(--color-black);
|
|
6989
6984
|
}
|
|
6990
6985
|
.icon-fill--default {
|
|
@@ -7067,16 +7062,16 @@ H1(`.icon-fill--black {
|
|
|
7067
7062
|
}
|
|
7068
7063
|
.icon-stroke--white {
|
|
7069
7064
|
stroke: var(--color-white);
|
|
7070
|
-
}`),
|
|
7071
|
-
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:
|
|
7072
|
-
},
|
|
7073
|
-
var qi = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
7065
|
+
}`), I1.render = function(e, n, o, l, s, i) {
|
|
7066
|
+
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: H(i.style) }, [(r(), B(f1(`bimdata-icon-${o.name}`)))], 14, Ki);
|
|
7067
|
+
}, I1.__scopeId = "data-v-1312d4d1", I1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
7068
|
+
var qi = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), Z1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => qi.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
7074
7069
|
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 };
|
|
7075
7070
|
}, style() {
|
|
7076
7071
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
7077
7072
|
} } };
|
|
7078
7073
|
const Ji = ["color"];
|
|
7079
|
-
|
|
7074
|
+
V1(`/* base COLORS --------------------------------------------- */
|
|
7080
7075
|
/* colors BRAND */
|
|
7081
7076
|
/* colors GREY SHADES - NEUTRAL */
|
|
7082
7077
|
/* color TEXT */
|
|
@@ -7234,7 +7229,7 @@ html[data-v-3f903003] {
|
|
|
7234
7229
|
.primary-font[data-v-3f903003] {
|
|
7235
7230
|
font-family: "roboto", sans-serif;
|
|
7236
7231
|
}`);
|
|
7237
|
-
|
|
7232
|
+
V1(`.bimdata-btn {
|
|
7238
7233
|
padding: 0 var(--spacing-unit);
|
|
7239
7234
|
height: -webkit-fit-content;
|
|
7240
7235
|
height: -moz-fit-content;
|
|
@@ -7537,9 +7532,9 @@ H1(`.bimdata-btn {
|
|
|
7537
7532
|
.bimdata-btn__ghost:disabled {
|
|
7538
7533
|
color: var(--color-silver-dark);
|
|
7539
7534
|
cursor: auto;
|
|
7540
|
-
}`),
|
|
7541
|
-
return r(), a("button", { class:
|
|
7542
|
-
},
|
|
7535
|
+
}`), Z1.render = function(e, n, o, l, s, i) {
|
|
7536
|
+
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, Ji);
|
|
7537
|
+
}, Z1.__scopeId = "data-v-3f903003", Z1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
7543
7538
|
const Qi = { useUtc: !1, getFullYear(e) {
|
|
7544
7539
|
return this.useUtc ? e.getUTCFullYear() : e.getFullYear();
|
|
7545
7540
|
}, getMonth(e) {
|
|
@@ -7572,8 +7567,8 @@ const Qi = { useUtc: !1, getFullYear(e) {
|
|
|
7572
7567
|
throw TypeError("Invalid Type");
|
|
7573
7568
|
return n[this.getDay(e)];
|
|
7574
7569
|
}, getDayFromAbbr(e) {
|
|
7575
|
-
for (let n = 0; n <
|
|
7576
|
-
if (e.toLowerCase() ===
|
|
7570
|
+
for (let n = 0; n < k1.days.length; n += 1)
|
|
7571
|
+
if (e.toLowerCase() === k1.days[n].toLowerCase())
|
|
7577
7572
|
return n;
|
|
7578
7573
|
throw TypeError("Invalid week day");
|
|
7579
7574
|
}, getMonthName(e, n) {
|
|
@@ -7607,10 +7602,10 @@ const Qi = { useUtc: !1, getFullYear(e) {
|
|
|
7607
7602
|
default:
|
|
7608
7603
|
return "th";
|
|
7609
7604
|
}
|
|
7610
|
-
}, formatDate(e, n, o =
|
|
7605
|
+
}, formatDate(e, n, o = k1) {
|
|
7611
7606
|
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 };
|
|
7612
7607
|
return n.replace(/y{4}|y{2}|M{1,4}|d{1,2}|o|E/g, (u) => c[u]);
|
|
7613
|
-
}, parseDate(e, n, o =
|
|
7608
|
+
}, parseDate(e, n, o = k1, l = null) {
|
|
7614
7609
|
if (!e || !n)
|
|
7615
7610
|
return e;
|
|
7616
7611
|
if (l)
|
|
@@ -7623,22 +7618,22 @@ const Qi = { useUtc: !1, getFullYear(e) {
|
|
|
7623
7618
|
}(e, n, l);
|
|
7624
7619
|
const s = (({ dateStr: c, formatStr: u, translation: d, time: C }) => {
|
|
7625
7620
|
const L = u.match(/-|\/|\s|\./) || ["-"], h = u.split(L[0]), m = c.split(L[0]), v = [(/* @__PURE__ */ new Date()).getFullYear().toString(), "01", "01"];
|
|
7626
|
-
for (let
|
|
7627
|
-
if (/yyyy/i.test(h[
|
|
7628
|
-
v[0] = m[
|
|
7629
|
-
else if (/mmmm/i.test(h[
|
|
7630
|
-
v[1] = d.getMonthByName(m[
|
|
7631
|
-
else if (/mmm/i.test(h[
|
|
7632
|
-
v[1] = d.getMonthByAbbrName(m[
|
|
7633
|
-
else if (/mm/i.test(h[
|
|
7634
|
-
v[1] = m[
|
|
7635
|
-
else if (/m/i.test(h[
|
|
7636
|
-
v[1] = m[
|
|
7637
|
-
else if (/dd/i.test(h[
|
|
7638
|
-
v[2] = m[
|
|
7639
|
-
else if (/d/i.test(h[
|
|
7640
|
-
const
|
|
7641
|
-
v[2] =
|
|
7621
|
+
for (let y = 0; y < h.length; y += 1)
|
|
7622
|
+
if (/yyyy/i.test(h[y]))
|
|
7623
|
+
v[0] = m[y];
|
|
7624
|
+
else if (/mmmm/i.test(h[y]))
|
|
7625
|
+
v[1] = d.getMonthByName(m[y]);
|
|
7626
|
+
else if (/mmm/i.test(h[y]))
|
|
7627
|
+
v[1] = d.getMonthByAbbrName(m[y]);
|
|
7628
|
+
else if (/mm/i.test(h[y]))
|
|
7629
|
+
v[1] = m[y];
|
|
7630
|
+
else if (/m/i.test(h[y]))
|
|
7631
|
+
v[1] = m[y];
|
|
7632
|
+
else if (/dd/i.test(h[y]))
|
|
7633
|
+
v[2] = m[y];
|
|
7634
|
+
else if (/d/i.test(h[y])) {
|
|
7635
|
+
const D = m[y].replace(/st|rd|nd|th/g, "");
|
|
7636
|
+
v[2] = D < 10 ? `0${D}` : `${D}`;
|
|
7642
7637
|
}
|
|
7643
7638
|
return `${v.join("-")}${C}`;
|
|
7644
7639
|
})({ dateStr: e, formatStr: n, translation: o, time: this.getTime() }), i = Date.parse(s);
|
|
@@ -7657,8 +7652,8 @@ const Qi = { useUtc: !1, getFullYear(e) {
|
|
|
7657
7652
|
}, getNewDateObject(e) {
|
|
7658
7653
|
return e ? this.resetDateTime(new Date(e)) : this.resetDateTime(/* @__PURE__ */ new Date());
|
|
7659
7654
|
} };
|
|
7660
|
-
var
|
|
7661
|
-
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils:
|
|
7655
|
+
var V2 = (e) => ({ ...Qi, useUtc: e }), p5 = { 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" }, J2 = { name: "DateInput", components: { BIMDataIcon: I1, BIMDataButton: Z1 }, mixins: [p5], props: { isOpen: { type: Boolean, default: !1 }, selectedDate: { type: Date, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7656
|
+
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils: V2(this.useUtc) };
|
|
7662
7657
|
}, computed: { computedInputClass() {
|
|
7663
7658
|
return this.inputClass;
|
|
7664
7659
|
}, formattedValue() {
|
|
@@ -7720,12 +7715,12 @@ var H2 = (e) => ({ ...Qi, useUtc: e }), C5 = { props: { autofocus: { type: Boole
|
|
|
7720
7715
|
this.isOpen && this.$emit("set-focus", [e || "input"]), this.$emit(this.isOpen ? "close" : "open");
|
|
7721
7716
|
} } };
|
|
7722
7717
|
const es = ["disabled"], ns = { key: 0 }, ts = ["for"], rs = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7723
|
-
|
|
7718
|
+
J2.render = function(e, n, o, l, s, i) {
|
|
7724
7719
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7725
|
-
return r(), a("div", { class:
|
|
7726
|
-
},
|
|
7727
|
-
var
|
|
7728
|
-
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils:
|
|
7720
|
+
return r(), a("div", { class: V({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), M(" 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) }, [A(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? M("v-if", !0) : (r(), a("span", ns, "…"))], 2)])])], 40, es)) : M("v-if", !0), M(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, ts), 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] = S((...d) => i.handleDelete && i.handleDelete(...d), ["backspace"])), n[6] || (n[6] = S((...d) => i.handleDelete && i.handleDelete(...d), ["delete"])), n[7] || (n[7] = S(N((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = S(N((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = S(N((...d) => i.handleKeydownEscape && i.handleKeydownEscape(...d), ["prevent"]), ["esc"])), n[10] || (n[10] = S((d) => i.handleKeydownSpace(d), ["space"])), n[11] || (n[11] = S((d) => e.$emit("tab", d), ["tab"]))], onKeyup: [n[12] || (n[12] = (d) => i.handleKeyup(d)), n[13] || (n[13] = S((d) => i.handleKeyupSpace(d), ["space"]))] }, null, 42, rs), M(" Clear Button "), e.clearButton && o.selectedDate ? (r(), B(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"])) : M("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7721
|
+
}, J2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInput.vue";
|
|
7722
|
+
var Q2 = { name: "DateInput", components: { BIMDataIcon: I1, BIMDataButton: Z1 }, mixins: [p5], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7723
|
+
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: V2(this.useUtc) };
|
|
7729
7724
|
}, computed: { computedInputClass() {
|
|
7730
7725
|
return this.inputClass;
|
|
7731
7726
|
}, formattedValue() {
|
|
@@ -7785,10 +7780,10 @@ var J2 = { name: "DateInput", components: { BIMDataIcon: M1, BIMDataButton: x1 }
|
|
|
7785
7780
|
this.isOpen && this.$emit("set-focus", [e || "input"]), this.$emit(this.isOpen ? "close" : "open");
|
|
7786
7781
|
} } };
|
|
7787
7782
|
const os = ["disabled"], as = { key: 0 }, ls = ["for"], is = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7788
|
-
|
|
7783
|
+
Q2.render = function(e, n, o, l, s, i) {
|
|
7789
7784
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7790
|
-
return r(), a("div", { class:
|
|
7791
|
-
},
|
|
7785
|
+
return r(), a("div", { class: V({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), M(" 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) }, [A(b(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? M("v-if", !0) : (r(), a("span", as, "…"))], 2)])])], 40, os)) : M("v-if", !0), M(" Input "), t("label", { for: `bimdata-input-${e.id}` }, b(e.placeholder), 9, ls), 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] = S((...d) => i.handleDelete && i.handleDelete(...d), ["backspace"])), n[6] || (n[6] = S((...d) => i.handleDelete && i.handleDelete(...d), ["delete"])), n[7] || (n[7] = S(N((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = S(N((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = S(N((...d) => i.handleKeydownEscape && i.handleKeydownEscape(...d), ["prevent"]), ["esc"])), n[10] || (n[10] = S((d) => i.handleKeydownSpace(d), ["space"])), n[11] || (n[11] = S((d) => e.$emit("tab", d), ["tab"]))], onKeyup: [n[12] || (n[12] = (d) => i.handleKeyup(d)), n[13] || (n[13] = S((d) => i.handleKeyupSpace(d), ["space"]))] }, null, 42, is), M(" Clear Button "), e.clearButton && !i.noDateSelected ? (r(), B(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"])) : M("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7786
|
+
}, Q2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInputRange.vue";
|
|
7792
7787
|
const ss = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isDefined(e, n) {
|
|
7793
7788
|
return this.configExists(e) && e[n] !== void 0;
|
|
7794
7789
|
}, hasArray(e, n) {
|
|
@@ -7802,13 +7797,13 @@ const ss = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isD
|
|
|
7802
7797
|
const l = e[n];
|
|
7803
7798
|
return { day: o.getDate(l), month: o.getMonth(l), year: o.getFullYear(l) };
|
|
7804
7799
|
} };
|
|
7805
|
-
var
|
|
7800
|
+
var e5 = (e) => ({ ...ss, utils: e });
|
|
7806
7801
|
let u1 = class {
|
|
7807
7802
|
constructor(n, o) {
|
|
7808
7803
|
this._utils = n, this._disabledDates = o;
|
|
7809
7804
|
}
|
|
7810
7805
|
get config() {
|
|
7811
|
-
const n = this._disabledDates, o =
|
|
7806
|
+
const n = this._disabledDates, o = e5(this._utils);
|
|
7812
7807
|
return { exists: o.configExists(n), to: o.dayMonthYear(n, "to"), from: o.dayMonthYear(n, "from"), has: { customPredictor: o.isDefined(n, "customPredictor"), daysOfMonth: o.hasArray(n, "daysOfMonth"), daysOfWeek: o.hasArray(n, "days"), from: o.hasDate(n, "from"), ranges: o.hasArray(n, "ranges"), specificDates: o.hasArray(n, "dates"), to: o.hasDate(n, "to") } };
|
|
7813
7808
|
}
|
|
7814
7809
|
daysInMonth(n) {
|
|
@@ -7820,7 +7815,7 @@ let u1 = class {
|
|
|
7820
7815
|
return { to: () => l.to && n < o.to, from: () => l.from && n > o.from, range: () => {
|
|
7821
7816
|
if (!l.ranges)
|
|
7822
7817
|
return !1;
|
|
7823
|
-
const { ranges: s } = o, i =
|
|
7818
|
+
const { ranges: s } = o, i = e5(this._utils);
|
|
7824
7819
|
return s.some((c) => {
|
|
7825
7820
|
const u = i.isDefined(c, "from"), d = i.isDefined(c, "to");
|
|
7826
7821
|
return u && d && n < c.to && n > c.from;
|
|
@@ -8042,7 +8037,7 @@ var cs = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
8042
8037
|
}, updateTabbableCell() {
|
|
8043
8038
|
const e = this.hasClass(document.activeElement, "cell");
|
|
8044
8039
|
(!this.tabbableCell || e) && this.setTabbableCell();
|
|
8045
|
-
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" },
|
|
8040
|
+
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" }, n5 = { name: "PickerHeader", components: { BIMDataIcon: I1 }, 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() {
|
|
8046
8041
|
this.$emit("page-change", this.previousPage);
|
|
8047
8042
|
}, arrowRightPrev() {
|
|
8048
8043
|
this.$emit("set-focus", ["up", "next", "tabbableCell"]);
|
|
@@ -8054,12 +8049,12 @@ var cs = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
8054
8049
|
this.$emit("set-focus", ["tabbableCell"]);
|
|
8055
8050
|
} } };
|
|
8056
8051
|
const ds = ["disabled"], us = ["disabled"], Cs = ["disabled"], ps = ["disabled"];
|
|
8057
|
-
|
|
8052
|
+
n5.render = function(e, n, o, l, s, i) {
|
|
8058
8053
|
const c = g("BIMDataIcon");
|
|
8059
|
-
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] = N((u) => e.$emit("page-change", s.doublePreviousPage), ["stop"])), onKeydown: [n[1] || (n[1] = S(N((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[2] || (n[2] = S(N((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[3] || (n[3] = S(N((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[4] || (n[4] = S(N((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [
|
|
8060
|
-
},
|
|
8061
|
-
var
|
|
8062
|
-
return { utils:
|
|
8054
|
+
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] = N((u) => e.$emit("page-change", s.doublePreviousPage), ["stop"])), onKeydown: [n[1] || (n[1] = S(N((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[2] || (n[2] = S(N((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[3] || (n[3] = S(N((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[4] || (n[4] = S(N((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "doubleChevron", size: "xxxs", fill: "", color: "default", rotate: 180 })])], 40, ds)) : M("v-if", !0), t("button", { ref: "prev", class: "prev", disabled: o.isPreviousDisabled, type: "button", onClick: n[5] || (n[5] = N((u) => e.$emit("page-change", s.previousPage), ["stop"])), onKeydown: [n[6] || (n[6] = S(N((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[7] || (n[7] = S(N((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[8] || (n[8] = S(N((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[9] || (n[9] = S(N((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "chevron", size: "xxxs", fill: "", color: "default", rotate: 180 })])], 40, us), _(e.$slots, "default"), t("button", { ref: "next", class: "next", disabled: o.isNextDisabled, type: "button", onClick: n[10] || (n[10] = N((u) => e.$emit("page-change", s.nextPage), ["stop"])), onKeydown: [n[11] || (n[11] = S(N((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[12] || (n[12] = S(N((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[13] || (n[13] = S(N((...u) => i.arrowLeftNext && i.arrowLeftNext(...u), ["prevent"]), ["left"])), n[14] || (n[14] = S(N((...u) => i.arrowRightNext && i.arrowRightNext(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "nextIntervalBtn", {}, () => [p(c, { name: "chevron", size: "xxxs", fill: "", color: "default" })])], 40, Cs), e.$attrs.view === "day" ? (r(), a("button", { key: 1, ref: "doubleNext", class: "doubleNext", disabled: o.isPreviousDisabled, type: "button", onClick: n[15] || (n[15] = N((u) => e.$emit("page-change", s.doubleNextPage), ["stop"])), onKeydown: [n[16] || (n[16] = S(N((...u) => i.focusTabbableCell && i.focusTabbableCell(...u), ["prevent"]), ["down"])), n[17] || (n[17] = S(N((u) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[18] || (n[18] = S(N((...u) => i.arrowLeftPrev && i.arrowLeftPrev(...u), ["prevent"]), ["left"])), n[19] || (n[19] = S(N((...u) => i.arrowRightPrev && i.arrowRightPrev(...u), ["prevent"]), ["right"]))] }, [_(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "doubleChevron", size: "xxxs", fill: "", color: "default" })])], 40, ps)) : M("v-if", !0)]);
|
|
8055
|
+
}, n5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerHeader.vue";
|
|
8056
|
+
var h5 = { components: { PickerHeader: n5 }, 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() {
|
|
8057
|
+
return { utils: V2(this.useUtc) };
|
|
8063
8058
|
}, computed: { disabledConfig() {
|
|
8064
8059
|
return new u1(this.utils, this.disabledDates).config;
|
|
8065
8060
|
}, earliestPossibleDate() {
|
|
@@ -8119,7 +8114,7 @@ let k5 = class {
|
|
|
8119
8114
|
this._utils = n, this._disabledDates = o, this._highlighted = l;
|
|
8120
8115
|
}
|
|
8121
8116
|
get config() {
|
|
8122
|
-
const n = this._highlighted, o =
|
|
8117
|
+
const n = this._highlighted, o = e5(this._utils);
|
|
8123
8118
|
return { exists: o.configExists(n), to: o.dayMonthYear(n, "to"), from: o.dayMonthYear(n, "from"), has: { customPredictor: o.isDefined(n, "customPredictor"), daysOfMonth: o.hasArray(n, "daysOfMonth"), daysOfWeek: o.hasArray(n, "days"), from: o.hasDate(n, "from"), specificDates: o.hasArray(n, "dates"), to: o.hasDate(n, "to"), includeDisabled: o.isDefined(n, "includeDisabled") && n.includeDisabled } };
|
|
8124
8119
|
}
|
|
8125
8120
|
isDateDisabled(n) {
|
|
@@ -8141,7 +8136,7 @@ let k5 = class {
|
|
|
8141
8136
|
return o.to() && o.from() || o.specificDate() || o.daysOfWeek() || o.daysOfMonth() || o.customPredictor();
|
|
8142
8137
|
}
|
|
8143
8138
|
};
|
|
8144
|
-
var
|
|
8139
|
+
var N1 = { 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() {
|
|
8145
8140
|
return this.view === "day" ? 7 : 3;
|
|
8146
8141
|
} }, methods: { cellClasses(e) {
|
|
8147
8142
|
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 }];
|
|
@@ -8151,15 +8146,15 @@ var $1 = { name: "PickerCells", props: { cells: { type: Array, required: !0 }, s
|
|
|
8151
8146
|
return this.tabbableCellId ? n === this.tabbableCellId : e.isOpenDate;
|
|
8152
8147
|
} } };
|
|
8153
8148
|
const hs = { class: "picker-cells" }, bs = ["id", "dataTestTabbableCell", "dataTestOpenDate", "dataTestTodayCell", "disabled", "onClick", "onKeydown", "onMouseover"];
|
|
8154
|
-
$1.render = function(e, n, o, l, s, i) {
|
|
8155
|
-
return r(), a("div", hs, [(r(!0), a(E, null, W(o.cells, (c, u) => (r(), a("button", { key: c.timestamp, ref_for: !0, ref: c.isOpenDate ? "openDate" : null, class: D(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: [S(N((d) => i.handleArrow(u, -i.columns), ["prevent"]), ["up"]), S(N((d) => i.handleArrow(u, i.columns), ["prevent"]), ["down"]), S(N((d) => i.handleArrow(u), ["prevent"]), ["left"]), S(N((d) => i.handleArrow(u), ["prevent"]), ["right"])], onMouseover: (d) => e.$emit("hover", c) }, [y(e.$slots, "default", { cell: c })], 42, bs))), 128))]);
|
|
8156
|
-
}, $1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8157
|
-
var N1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8158
|
-
const gs = ["disabled"];
|
|
8159
8149
|
N1.render = function(e, n, o, l, s, i) {
|
|
8160
|
-
return r(), a("button", {
|
|
8161
|
-
}, N1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/
|
|
8162
|
-
var
|
|
8150
|
+
return r(), a("div", hs, [(r(!0), a(O, null, W(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: [S(N((d) => i.handleArrow(u, -i.columns), ["prevent"]), ["up"]), S(N((d) => i.handleArrow(u, i.columns), ["prevent"]), ["down"]), S(N((d) => i.handleArrow(u), ["prevent"]), ["left"]), S(N((d) => i.handleArrow(u), ["prevent"]), ["right"])], onMouseover: (d) => e.$emit("hover", c) }, [_(e.$slots, "default", { cell: c })], 42, bs))), 128))]);
|
|
8151
|
+
}, N1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8152
|
+
var R1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8153
|
+
const gs = ["disabled"];
|
|
8154
|
+
R1.render = function(e, n, o, l, s, i) {
|
|
8155
|
+
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] = S(N((c) => e.$emit("set-focus", ["tabbableCell"]), ["prevent"]), ["down"])), n[2] || (n[2] = S(N((c) => e.$emit("focus-input"), ["prevent"]), ["up"])), n[3] || (n[3] = S(N((c) => e.$emit("set-focus"), ["prevent"]), ["left"])), n[4] || (n[4] = S(N((c) => e.$emit("set-focus"), ["prevent"]), ["right"]))] }, [_(e.$slots, "default")], 40, gs);
|
|
8156
|
+
}, R1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/UpButton.vue";
|
|
8157
|
+
var t5 = { name: "PickerDay", components: { PickerCells: N1, UpButton: R1 }, mixins: [h5], 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() {
|
|
8163
8158
|
const e = [], n = this.daysFromPrevMonth + this.daysInMonth + this.daysFromNextMonth, o = this.firstCellDate();
|
|
8164
8159
|
for (let l = 0; l < n; l += 1)
|
|
8165
8160
|
e.push(this.makeDay(l, o)), this.utils.setDate(o, this.utils.getDate(o) + 1);
|
|
@@ -8218,11 +8213,11 @@ var n5 = { name: "PickerDay", components: { PickerCells: $1, UpButton: N1 }, mix
|
|
|
8218
8213
|
return { date: c ? this.utils.getDate(n) : "", timestamp: n.valueOf(), isSelected: this.isSelectedDate(n), isDisabled: !c || this.isDisabledDate(n), isHighlighted: !!this.isDateRange && this.isHighlightedDate(n), isHighlightStart: !!this.isDateRange && this.isHighlightStart(n), isHighlightEnd: !!this.isDateRange && this.isHighlightEnd(n), isOpenDate: this.utils.compareDates(n, this.openDate), isToday: this.utils.compareDates(n, /* @__PURE__ */ new Date()), isWeekend: s || i, isSaturday: s, isSunday: i, isPreviousMonth: l, isNextMonth: o };
|
|
8219
8214
|
} } };
|
|
8220
8215
|
const fs = { key: 0 }, Ls = { class: "day-header" }, vs = { class: "cells-wrapper" }, ms = { key: 2 };
|
|
8221
|
-
|
|
8216
|
+
t5.render = function(e, n, o, l, s, i) {
|
|
8222
8217
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8223
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), a("div", fs, [
|
|
8224
|
-
},
|
|
8225
|
-
var
|
|
8218
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), a("div", fs, [_(e.$slots, "beforeCalendarHeaderDay")])) : M("v-if", !0), e.showHeader ? (r(), B(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(() => [A(b(i.pageTitleDay), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : M("v-if", !0), t("div", null, [t("div", Ls, [(r(!0), a(O, null, W(i.daysOfWeek, (C) => (r(), a("span", { key: C }, b(C), 1))), 128))]), t("div", vs, [p(a1, { name: e.transitionName }, { default: f(() => [(r(), B(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 }, () => [A(b(o.dayCellContent(C)), 1)])]), _: 3 }, 8, ["cells", "showEdgeDates", "tabbableCellId"]))]), _: 3 }, 8, ["name"])])]), e.$slots.calendarFooterDay ? (r(), a("div", ms, [_(e.$slots, "calendarFooterDay")])) : M("v-if", !0)]);
|
|
8219
|
+
}, t5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerDay.vue";
|
|
8220
|
+
var r5 = { name: "PickerMonth", components: { PickerCells: N1, UpButton: R1 }, mixins: [h5], computed: { cells() {
|
|
8226
8221
|
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));
|
|
8227
8222
|
for (let s = 0; s < 12; s += 1)
|
|
8228
8223
|
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);
|
|
@@ -8246,11 +8241,11 @@ var t5 = { name: "PickerMonth", components: { PickerCells: $1, UpButton: N1 }, m
|
|
|
8246
8241
|
return this.selectedDate && o === this.utils.getFullYear(this.selectedDate) && n === this.utils.getMonth(this.selectedDate);
|
|
8247
8242
|
} } };
|
|
8248
8243
|
const Ms = { key: 0 }, Is = { class: "cells-wrapper" }, ys = { key: 2 };
|
|
8249
|
-
|
|
8244
|
+
r5.render = function(e, n, o, l, s, i) {
|
|
8250
8245
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8251
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), a("div", Ms, [
|
|
8252
|
-
},
|
|
8253
|
-
var
|
|
8246
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), a("div", Ms, [_(e.$slots, "beforeCalendarHeaderMonth")])) : M("v-if", !0), e.showHeader ? (r(), B(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(() => [A(b(i.pageTitleMonth), 1)]), _: 1 }, 8, ["isDisabled", "onFocusInput"])]), _: 3 }, 8, ["isNextDisabled", "isPreviousDisabled", "onFocusInput"])) : M("v-if", !0), t("div", Is, [p(a1, { name: e.transitionName }, { default: f(() => [(r(), B(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 }) => [A(b(C.month), 1)]), _: 1 }, 8, ["cells", "tabbableCellId"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterMonth ? (r(), a("div", ys, [_(e.$slots, "calendarFooterMonth")])) : M("v-if", !0)]);
|
|
8247
|
+
}, r5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerMonth.vue";
|
|
8248
|
+
var o5 = { name: "PickerYear", components: { PickerCells: N1, UpButton: R1 }, mixins: [h5], props: { yearRange: { type: Number, default: 12 } }, computed: { cells() {
|
|
8254
8249
|
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());
|
|
8255
8250
|
for (let c = 0; c < this.yearRange; c += 1)
|
|
8256
8251
|
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);
|
|
@@ -8278,13 +8273,13 @@ var r5 = { name: "PickerYear", components: { PickerCells: $1, UpButton: N1 }, mi
|
|
|
8278
8273
|
return this.selectedDate && n === this.utils.getFullYear(this.selectedDate);
|
|
8279
8274
|
} } };
|
|
8280
8275
|
const _s = { key: 0 }, Hs = { class: "cells-wrapper" }, Vs = { key: 2 };
|
|
8281
|
-
|
|
8276
|
+
o5.render = function(e, n, o, l, s, i) {
|
|
8282
8277
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8283
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), a("div", _s, [
|
|
8284
|
-
},
|
|
8278
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), a("div", _s, [_(e.$slots, "beforeCalendarHeaderYear")])) : M("v-if", !0), e.showHeader ? (r(), B(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(() => [A(b(i.pageTitleYear), 1)]), _: 1 }, 512)]), _: 3 }, 8, ["is-next-disabled", "is-previous-disabled", "onFocusInput"])) : M("v-if", !0), t("div", Hs, [p(a1, { name: e.transitionName }, { default: f(() => [(r(), B(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 }) => [A(b(C.year), 1)]), _: 1 }, 8, ["cells", "tabbable-cell-id"]))]), _: 1 }, 8, ["name"])]), e.$slots.calendarFooterYear ? (r(), a("div", Vs, [_(e.$slots, "calendarFooterYear")])) : M("v-if", !0)]);
|
|
8279
|
+
}, o5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerYear.vue";
|
|
8285
8280
|
const Ds = ["beforeCalendarHeaderDay", "calendarFooterDay", "beforeCalendarHeaderMonth", "calendarFooterMonth", "beforeCalendarHeaderYear", "calendarFooterYear", "nextIntervalBtn", "prevIntervalBtn"];
|
|
8286
|
-
var
|
|
8287
|
-
const e =
|
|
8281
|
+
var i2 = { components: { DateInput: J2, DateInputRange: Q2, PickerDay: t5, PickerMonth: r5, PickerYear: o5 }, mixins: [p5, cs], 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(V5).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() {
|
|
8282
|
+
const e = V2(this.useUtc), n = e.getNewDateObject(this.openDate || null), o = e.setDate(n, 1);
|
|
8288
8283
|
return { calendarHeight: 0, calendarSlots: Ds, isClickOutside: !1, globalDatepickerId: "", pageTimestamp: o, selectedDate: null, selectedToDate: null, slideDuration: 250, utils: e, view: "" };
|
|
8289
8284
|
}, computed: { lang() {
|
|
8290
8285
|
return V5[this.language];
|
|
@@ -8425,7 +8420,7 @@ var l2 = { components: { DateInput: q2, DateInputRange: J2, PickerDay: n5, Picke
|
|
|
8425
8420
|
this.setPageDate(new Date(e.timestamp)), this.$emit(`changed-${this.view}`, e), this.setView(this.nextView.down);
|
|
8426
8421
|
}, ucFirst: (e) => e[0].toUpperCase() + e.substring(1) } };
|
|
8427
8422
|
const Bs = ["id"], ks = { key: 2 }, ws = { key: 0 }, xs = { key: 1 };
|
|
8428
|
-
|
|
8423
|
+
V1(`/* base COLORS --------------------------------------------- */
|
|
8429
8424
|
/* colors BRAND */
|
|
8430
8425
|
/* colors GREY SHADES - NEUTRAL */
|
|
8431
8426
|
/* color TEXT */
|
|
@@ -8494,7 +8489,7 @@ html[data-v-0090dd57] {
|
|
|
8494
8489
|
/* base FONTS -------------------------------------- */
|
|
8495
8490
|
--primary-font: "roboto", sans-serif;
|
|
8496
8491
|
}`);
|
|
8497
|
-
|
|
8492
|
+
V1(`.slide-fade-up-enter-active,
|
|
8498
8493
|
.slide-fade-up-leave-active {
|
|
8499
8494
|
-webkit-transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
8500
8495
|
transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
@@ -8894,12 +8889,12 @@ H1(`.slide-fade-up-enter-active,
|
|
|
8894
8889
|
}
|
|
8895
8890
|
.bimdata-datepicker__calendar-button.input-group-prepend, .bimdata-datepicker__calendar-button.input-group-append {
|
|
8896
8891
|
padding: 0;
|
|
8897
|
-
}`),
|
|
8892
|
+
}`), i2.render = function(e, n, o, l, s, i) {
|
|
8898
8893
|
const c = g("DateInputRange"), u = g("DateInput");
|
|
8899
|
-
return r(), a("div", { id: i.datepickerId, ref: "datepicker", class:
|
|
8900
|
-
}, ["prevent"])), onFocusin: n[6] || (n[6] = N((d) => e.handleFocusIn(d), ["stop"])), onFocusout: n[7] || (n[7] = N((d) => e.handleFocusOut(d), ["stop"])), onKeydown: [n[8] || (n[8] = S(N((...d) => i.resetOrClose && i.resetOrClose(...d), ["stop"]), ["esc"])), n[9] || (n[9] = S(N((d) => e.tabThroughNavigation(d), ["stop"]), ["tab"]))] }, [p(a1, { name: "view" }, { default: f(() => [(r(), a("div", { ref: "view", key: s.view }, [e.$slots.beforeCalendarHeader ? (r(), a("div", ws, [
|
|
8901
|
-
},
|
|
8902
|
-
var
|
|
8894
|
+
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] = S((...d) => i.resetOrClose && i.resetOrClose(...d), ["esc"])) }, [o.isDateRange ? (r(), B(c, { key: 0, id: e.id, ref: "dateInput", autofocus: e.autofocus, calendarButton: e.calendarButton, calendarButtonIcon: e.calendarButtonIcon, calendarButtonIconContent: e.calendarButtonIconContent, clearButton: e.clearButton, clearButtonIcon: e.clearButtonIcon, disabled: e.disabled, format: e.format, inline: e.inline, inputClass: e.inputClass, isOpen: i.isOpen, maxlength: e.maxlength, name: e.name, parser: e.parser, pattern: e.pattern, placeholder: e.placeholder, refName: e.refName, required: e.required, selectedDates: [s.selectedDate, s.selectedToDate], showCalendarOnButtonClick: e.showCalendarOnButtonClick, showCalendarOnFocus: e.showCalendarOnFocus, tabIndex: e.tabIndex, translation: i.lang, useUtc: e.useUtc, onClear: i.clear, onClose: i.close, onOpen: i.open, onSetFocus: n[0] || (n[0] = (d) => e.setFocus(d)), onTab: e.tabThroughNavigation, style: H(i.style) }, { beforeDateInput: 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(), B(u, { key: 1, id: e.id, ref: "dateInput", autofocus: e.autofocus, calendarButton: e.calendarButton, calendarButtonIcon: e.calendarButtonIcon, calendarButtonIconContent: e.calendarButtonIconContent, clearButton: e.clearButton, clearButtonIcon: e.clearButtonIcon, disabled: e.disabled, format: e.format, inline: e.inline, inputClass: e.inputClass, isOpen: i.isOpen, maxlength: e.maxlength, name: e.name, parser: e.parser, pattern: e.pattern, placeholder: e.placeholder, refName: e.refName, required: e.required, selectedDate: s.selectedDate, showCalendarOnButtonClick: e.showCalendarOnButtonClick, showCalendarOnFocus: e.showCalendarOnFocus, tabIndex: e.tabIndex, translation: i.lang, typeable: e.typeable, useUtc: e.useUtc, onClearDate: i.clear, onClose: i.close, onOpen: i.open, onSetFocus: n[1] || (n[1] = (d) => e.setFocus(d)), onTab: e.tabThroughNavigation, style: H(i.style) }, { beforeDateInput: 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", ks, [p(a1, { name: "toggle", persisted: "" }, { default: f(() => [j(t("div", { class: V(["bimdata-datepicker__calendar", [i.pickerClasses, o.fixedPosition]]), onMousedown: n[5] || (n[5] = N(() => {
|
|
8895
|
+
}, ["prevent"])), onFocusin: n[6] || (n[6] = N((d) => e.handleFocusIn(d), ["stop"])), onFocusout: n[7] || (n[7] = N((d) => e.handleFocusOut(d), ["stop"])), onKeydown: [n[8] || (n[8] = S(N((...d) => i.resetOrClose && i.resetOrClose(...d), ["stop"]), ["esc"])), n[9] || (n[9] = S(N((d) => e.tabThroughNavigation(d), ["stop"]), ["tab"]))] }, [p(a1, { name: "view" }, { default: f(() => [(r(), a("div", { ref: "view", key: s.view }, [e.$slots.beforeCalendarHeader ? (r(), a("div", ws, [_(e.$slots, "beforeCalendarHeader")])) : M("v-if", !0), (r(), B(f1(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 }, l5({ dayCellContent: f(({ cell: d }) => [d ? _(e.$slots, "dayCellContent", { key: 0, cell: d }) : M("v-if", !0)]), _: 2 }, [W(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", xs, [_(e.$slots, "calendarFooter")])) : M("v-if", !0)]))]), _: 3 })], 34), [[n1, i.isOpen]])]), _: 3 })])) : M("v-if", !0)], 42, Bs);
|
|
8896
|
+
}, i2.__scopeId = "data-v-0090dd57", i2.__file = "src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue";
|
|
8897
|
+
var a5 = { 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() {
|
|
8903
8898
|
return `${this.color}`;
|
|
8904
8899
|
}, style() {
|
|
8905
8900
|
return { fontSize: `${this.calcFontSize}`, lineHeight: `${this.calcLineHeight}`, display: `${this.display}`, fontWeight: `${this.calcFontWeight}`, margin: `${this.margin}`, padding: `${this.padding}` };
|
|
@@ -8910,10 +8905,10 @@ var o5 = { props: { component: { type: String, default: "p" }, display: { type:
|
|
|
8910
8905
|
}, calcLineHeight() {
|
|
8911
8906
|
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";
|
|
8912
8907
|
} } };
|
|
8913
|
-
|
|
8914
|
-
return r(),
|
|
8915
|
-
},
|
|
8916
|
-
var g1 = { components: { BIMDataText:
|
|
8908
|
+
a5.render = function(e, n, o, l, s, i) {
|
|
8909
|
+
return r(), B(f1(o.component), { style: H(i.style), class: V(i.classes) }, { default: f(() => [_(e.$slots, "default")]), _: 3 }, 8, ["style", "class"]);
|
|
8910
|
+
}, a5.__file = "src/BIMDataComponents/BIMDataText/BIMDataText.vue";
|
|
8911
|
+
var g1 = { components: { BIMDataText: a5 }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
|
|
8917
8912
|
const Zs = { class: "bimdata-loading" }, Ss = ((e) => (C1("data-v-6d3be186"), e = e(), p1(), e))(() => t("span", { class: "bimdata-loading--square" }, null, -1));
|
|
8918
8913
|
function Q5(e, n) {
|
|
8919
8914
|
n === void 0 && (n = {});
|
|
@@ -9429,7 +9424,7 @@ const As = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
9429
9424
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
9430
9425
|
var w5 = { addFile: Ts, addFolder: Ns, addUser: Os, alphabeticalAscending: Fs, alphabeticalDescending: Us, alphabeticalSort: Gs, alt: Xs, angle: js, api: qs, app: Qs, archive: nc, arrow: rc, attach: ac, backInTime: sc, bcf: dc, building: Cc, burgerMenu: hc, calendar: gc, caliper: Lc, camera: mc, cancelCamera: Ic, check: _c, chevron: Vc, classificationCategorie: Bc, classificationElement: wc, click: Zc, close: Ac, cloud: $c, color: Rc, comment: Ec, cursor: Pc, dateAscending: zc, dateDescending: Yc, default: Wc, delete: Kc, deniedFile: Jc, deploy: ed, detach: td, distance: od, doubleChevron: ld, down: sd, download: dd, drag: Cd, edit: hd, ellipsis: gd, expanded: Ld, explosion: md, export: Id, exportIfc: _d, failed: Vd, filter: Bd, fitView: wd, folder: Zd, folderMove: Ad, folderOpen: $d, fullscreen: Rd, grid: Ed, group: Pd, hide: zd, ifc: Yd, ifcFile: Wd, import: Kd, indexAscending: Jd, indexDescending: eu, information: tu, inProgressFile: ou, invitation: lu, isolate: su, key: du, left: Cu, linkedDocument: hu, list: gu, listManage: Lu, location: mu, lock: Iu, logout: _u, measure: Vu, minus: Bu, model3d: wu, organization: Zu, parameters: Au, path: $u, pieGraph: Ru, pipette: Eu, plus: Pu, project: zu, quickSelect: Yu, readonlyFolder: Wu, redo: Ku, reduced: Ju, refresh: eC, reprocessIfc: tC, reset: oC, right: lC, rules: sC, sandglass: dC, save: CC, screenConfig: hC, screenshot: gC, search: LC, section: mC, settings: IC, share: _C, show: VC, showSelected: BC, smartview: wC, socotec: ZC, space: AC, split: $C, storey: RC, success: EC, surface: PC, swap: zC, synchro2d: YC, system: WC, tag: qC, translate: QC, tree: np, unarchive: rp, undo: ap, union: ip, up: cp, upload: up, user: pp, validate: bp, validatedFile: fp, versioning: mp, video: Ip, visa: _p, warning: Vp, windowBottom: Bp, windowed: wp, windowLeft: Zp, windowRight: Ap, windowTop: $p, zone: Rp, bcfPolychrome: Ep, createWindowPolychrome: Pp, docInfoPolychrome: zp, fileDwgPolychrome: Yp, fileDxfPolychrome: Wp, fileIfcPolychrome: Kp, fileImagePolychrome: Jp, fileJpegPolychrome: eh, filePdfPolychrome: th, filePngPolychrome: oh, filePointCloudPolychrome: lh, filePlanPolychrome: sh, folderPolychrome: dh, structurePolychrome: Ch, viewer2dPolychrome: hh, viewer3dPolychrome: gh }, fh = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
9431
9426
|
const x5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
9432
|
-
var
|
|
9427
|
+
var s2 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
9433
9428
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
9434
9429
|
}(w5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(w5).includes(e) }, color: { type: String, default: "default", validator: (e) => fh.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(x5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
9435
9430
|
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 };
|
|
@@ -9440,7 +9435,7 @@ var i2 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
9440
9435
|
return this.customSize ? this.customSize : x5[this.size];
|
|
9441
9436
|
} } };
|
|
9442
9437
|
const Lh = ["fill", "color"];
|
|
9443
|
-
function
|
|
9438
|
+
function b5(e, n) {
|
|
9444
9439
|
n === void 0 && (n = {});
|
|
9445
9440
|
var o = n.insertAt;
|
|
9446
9441
|
if (e && typeof document < "u") {
|
|
@@ -9448,7 +9443,7 @@ function h5(e, n) {
|
|
|
9448
9443
|
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));
|
|
9449
9444
|
}
|
|
9450
9445
|
}
|
|
9451
|
-
|
|
9446
|
+
b5(`/* base COLORS --------------------------------------------- */
|
|
9452
9447
|
/* colors BRAND */
|
|
9453
9448
|
/* colors GREY SHADES - NEUTRAL */
|
|
9454
9449
|
/* color TEXT */
|
|
@@ -9517,7 +9512,7 @@ html[data-v-1312d4d1] {
|
|
|
9517
9512
|
/* base FONTS -------------------------------------- */
|
|
9518
9513
|
--primary-font: "roboto", sans-serif;
|
|
9519
9514
|
}`);
|
|
9520
|
-
|
|
9515
|
+
b5(`.icon-fill--black {
|
|
9521
9516
|
fill: var(--color-black);
|
|
9522
9517
|
}
|
|
9523
9518
|
.icon-fill--default {
|
|
@@ -9600,12 +9595,12 @@ h5(`.icon-fill--black {
|
|
|
9600
9595
|
}
|
|
9601
9596
|
.icon-stroke--white {
|
|
9602
9597
|
stroke: var(--color-white);
|
|
9603
|
-
}`),
|
|
9604
|
-
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:
|
|
9605
|
-
},
|
|
9606
|
-
var
|
|
9598
|
+
}`), s2.render = function(e, n, o, l, s, i) {
|
|
9599
|
+
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: H(i.style) }, [(r(), B(f1(`bimdata-icon-${o.name}`)))], 14, Lh);
|
|
9600
|
+
}, s2.__scopeId = "data-v-1312d4d1", s2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
9601
|
+
var S1 = { components: { BIMDataIcon: s2 }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } };
|
|
9607
9602
|
const vh = { class: "overlay flex items-center justify-center" }, mh = { class: "safe-zone__content flex flex-col items-center justify-center p-18" }, Mh = { class: "safe-zone__actions flex items-center p-x-18" };
|
|
9608
|
-
|
|
9603
|
+
b5(`.overlay[data-v-1bd53efd] {
|
|
9609
9604
|
position: absolute;
|
|
9610
9605
|
left: 0;
|
|
9611
9606
|
top: 0;
|
|
@@ -9641,11 +9636,11 @@ h5(`.overlay[data-v-1bd53efd] {
|
|
|
9641
9636
|
justify-content: space-evenly;
|
|
9642
9637
|
background-color: var(--color-silver-light);
|
|
9643
9638
|
border-top: 1px solid var(--color-silver);
|
|
9644
|
-
}`),
|
|
9639
|
+
}`), S1.render = function(e, n, o, l, s, i) {
|
|
9645
9640
|
const c = g("BIMDataIcon");
|
|
9646
|
-
return r(), a("div", vh, [t("div", { class: "safe-zone", style:
|
|
9647
|
-
},
|
|
9648
|
-
var
|
|
9641
|
+
return r(), a("div", vh, [t("div", { class: "safe-zone", style: H({ width: o.width }) }, [t("div", mh, [p(c, { name: o.iconName, size: "l", fill: "", color: "high" }, null, 8, ["name"]), t("p", null, [_(e.$slots, "text")])]), t("div", Mh, [_(e.$slots, "actions")])], 4)]);
|
|
9642
|
+
}, S1.__scopeId = "data-v-1bd53efd", S1.__file = "src/BIMDataComponents/BIMDataSafeZoneModal/BIMDataSafeZoneModal.vue";
|
|
9643
|
+
var y1 = { 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() {
|
|
9649
9644
|
this.$watch(() => this.success && this.error, (e) => {
|
|
9650
9645
|
if (e)
|
|
9651
9646
|
throw new Error("Textarea state cannot be both success and error.");
|
|
@@ -9936,10 +9931,10 @@ e3(`textarea:-webkit-autofill {
|
|
|
9936
9931
|
}
|
|
9937
9932
|
.bimdata-textarea.success .bar::before, .bimdata-textarea.success .bar::after {
|
|
9938
9933
|
background-color: var(--color-success);
|
|
9939
|
-
}`),
|
|
9940
|
-
return r(), a("div", { class:
|
|
9941
|
-
},
|
|
9942
|
-
var
|
|
9934
|
+
}`), y1.render = function(e, n, o, l, s, i) {
|
|
9935
|
+
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: H({ "min-width": o.width, "min-height": o.height }) }, [t("textarea", O1({ 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, Ih), t("label", { for: o.name }, b(o.label), 9, yh), _h, o.error ? (r(), a("span", Hh, b(o.errorMessage), 1)) : M("v-if", !0), o.success ? (r(), a("span", Vh, b(o.successMessage), 1)) : M("v-if", !0)], 6);
|
|
9936
|
+
}, y1.__scopeId = "data-v-76eaf75a", y1.__file = "src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue";
|
|
9937
|
+
var A1 = { 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() {
|
|
9943
9938
|
return !this.disabled && this._text && this.hover;
|
|
9944
9939
|
}, _text() {
|
|
9945
9940
|
return this.text || this.message;
|
|
@@ -10237,9 +10232,9 @@ html[data-v-41eb8f46] {
|
|
|
10237
10232
|
}
|
|
10238
10233
|
.bimdata-tooltip__tooltip--high[data-v-41eb8f46]::before {
|
|
10239
10234
|
border-color: var(--color-high) transparent transparent;
|
|
10240
|
-
}`),
|
|
10241
|
-
return r(), a("div", Dh, [t("div", { class: "bimdata-tooltip__content", onMouseover: n[0] || (n[0] = (c) => s.hover = !0), onMouseleave: n[1] || (n[1] = (c) => s.hover = !1) }, [M(' slot "content" for retro-compatibility '),
|
|
10242
|
-
},
|
|
10235
|
+
}`), A1.render = function(e, n, o, l, s, i) {
|
|
10236
|
+
return r(), a("div", Dh, [t("div", { class: "bimdata-tooltip__content", onMouseover: n[0] || (n[0] = (c) => s.hover = !0), onMouseleave: n[1] || (n[1] = (c) => s.hover = !1) }, [M(' slot "content" for retro-compatibility '), _(e.$slots, "content"), _(e.$slots, "default")], 32), p(a1, { name: "fade", persisted: "" }, { default: f(() => [j(t("div", { ref: "tooltipText", class: V(["bimdata-tooltip__tooltip", [`bimdata-tooltip__tooltip--${o.position}`, `bimdata-tooltip__tooltip--${o.color}`, ...i._className]]), style: H({ maxWidth: o.maxWidth }) }, b(i._text), 7), [[n1, i.isDisplayed]])]), _: 1 })]);
|
|
10237
|
+
}, A1.__scopeId = "data-v-41eb8f46", A1.__file = "src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";
|
|
10243
10238
|
const Bh = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i, kh = /(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/;
|
|
10244
10239
|
function wh() {
|
|
10245
10240
|
const e = navigator.userAgent.toLowerCase(), n = Bh.test(e), o = kh.test(e);
|
|
@@ -10298,10 +10293,10 @@ const xh = {
|
|
|
10298
10293
|
function Fh(e, n, o, l, s, i) {
|
|
10299
10294
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
10300
10295
|
return r(), a("div", Zh, [
|
|
10301
|
-
o.viewpoints.length > 0 ? (r(), a(
|
|
10296
|
+
o.viewpoints.length > 0 ? (r(), a(O, { key: 0 }, [
|
|
10302
10297
|
t("div", Sh, [
|
|
10303
|
-
(r(!0), a(
|
|
10304
|
-
class:
|
|
10298
|
+
(r(!0), a(O, null, W(o.viewpoints.slice(0, 4), (d, C) => (r(), a("div", {
|
|
10299
|
+
class: V(["image-preview", { single: o.viewpoints.length === 1 }]),
|
|
10305
10300
|
key: d.guid || C
|
|
10306
10301
|
}, [
|
|
10307
10302
|
d.snapshot.snapshot_data ? (r(), a("img", {
|
|
@@ -10385,7 +10380,7 @@ function Fh(e, n, o, l, s, i) {
|
|
|
10385
10380
|
]))
|
|
10386
10381
|
]);
|
|
10387
10382
|
}
|
|
10388
|
-
const Ph = /* @__PURE__ */
|
|
10383
|
+
const Ph = /* @__PURE__ */ G(xh, [["render", Fh], ["__scopeId", "data-v-dde22dcf"]]);
|
|
10389
10384
|
const Uh = {
|
|
10390
10385
|
components: {
|
|
10391
10386
|
BIMDataButton: J,
|
|
@@ -10402,15 +10397,15 @@ const Uh = {
|
|
|
10402
10397
|
"delete-viewpoint"
|
|
10403
10398
|
],
|
|
10404
10399
|
setup(e, { emit: n }) {
|
|
10405
|
-
const o =
|
|
10400
|
+
const o = $1("getViewers", () => ({}));
|
|
10406
10401
|
return {
|
|
10407
10402
|
// Methods
|
|
10408
10403
|
createViewpoints: async () => {
|
|
10409
10404
|
Object.entries(o()).forEach(([i, c]) => {
|
|
10410
|
-
const [u, d] = Object.entries(
|
|
10405
|
+
const [u, d] = Object.entries(U1).find(([, C]) => C.plugin === i);
|
|
10411
10406
|
c.forEach(async (C) => {
|
|
10412
10407
|
const L = await C.getViewpoint(), { order: h } = d ?? {};
|
|
10413
|
-
L.order = h, L[
|
|
10408
|
+
L.order = h, L[F1] = u, L[P1] = C.getLoadedModels().map((m) => m.id).join(","), n("create-viewpoint", L);
|
|
10414
10409
|
});
|
|
10415
10410
|
});
|
|
10416
10411
|
},
|
|
@@ -10427,8 +10422,8 @@ function Xh(e, n, o, l, s, i) {
|
|
|
10427
10422
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
10428
10423
|
return r(), a("div", zh, [
|
|
10429
10424
|
o.viewpoints.length > 0 ? (r(), a("div", Gh, [
|
|
10430
|
-
(r(!0), a(
|
|
10431
|
-
class:
|
|
10425
|
+
(r(!0), a(O, null, W(o.viewpoints.slice(0, 4), (d, C) => (r(), a("div", {
|
|
10426
|
+
class: V(["snapshot-preview", { single: o.viewpoints.length === 1 }]),
|
|
10432
10427
|
key: d.guid || C
|
|
10433
10428
|
}, [
|
|
10434
10429
|
d.snapshot.snapshot_data ? (r(), a("img", {
|
|
@@ -10465,21 +10460,21 @@ function Xh(e, n, o, l, s, i) {
|
|
|
10465
10460
|
]))
|
|
10466
10461
|
]);
|
|
10467
10462
|
}
|
|
10468
|
-
const Wh = /* @__PURE__ */
|
|
10463
|
+
const Wh = /* @__PURE__ */ G(Uh, [["render", Xh], ["__scopeId", "data-v-75e087f1"]]);
|
|
10469
10464
|
const jh = {
|
|
10470
10465
|
components: {
|
|
10471
10466
|
BcfTopicImages: Ph,
|
|
10472
10467
|
BcfTopicSnapshots: Wh,
|
|
10473
10468
|
BIMDataButton: J,
|
|
10474
|
-
BIMDataDatePicker:
|
|
10469
|
+
BIMDataDatePicker: i2,
|
|
10475
10470
|
BIMDataIcon: Q,
|
|
10476
10471
|
BIMDataInput: b1,
|
|
10477
10472
|
BIMDataLoading: g1,
|
|
10478
|
-
BIMDataSafeZoneModal:
|
|
10479
|
-
BIMDataSelect:
|
|
10480
|
-
BIMDataTextarea:
|
|
10473
|
+
BIMDataSafeZoneModal: S1,
|
|
10474
|
+
BIMDataSelect: I2,
|
|
10475
|
+
BIMDataTextarea: y1,
|
|
10481
10476
|
BIMDataTextbox: d1,
|
|
10482
|
-
BIMDataTooltip:
|
|
10477
|
+
BIMDataTooltip: A1
|
|
10483
10478
|
},
|
|
10484
10479
|
props: {
|
|
10485
10480
|
uiConfig: {
|
|
@@ -10554,19 +10549,19 @@ const jh = {
|
|
|
10554
10549
|
"topic-update-error"
|
|
10555
10550
|
],
|
|
10556
10551
|
setup(e, { emit: n }) {
|
|
10557
|
-
const o =
|
|
10552
|
+
const o = z1(), l = E(
|
|
10558
10553
|
() => !e.topic
|
|
10559
|
-
), s =
|
|
10560
|
-
() => Math.max(0, ...e.topics.map((
|
|
10561
|
-
), i = w(""), c = w(null), u = w(null), d = w(null), C = w(null), L = w(null), h = w(null), m = w(""), v = w([]),
|
|
10562
|
-
() =>
|
|
10563
|
-
), U = w(!1), l1 = w(!1), q = w(!1),
|
|
10564
|
-
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, L.value = null, h.value = null, m.value = "", v.value = [],
|
|
10554
|
+
), s = E(
|
|
10555
|
+
() => Math.max(0, ...e.topics.map((I) => I.index)) + 1
|
|
10556
|
+
), i = w(""), c = w(null), u = w(null), d = w(null), C = w(null), L = w(null), h = w(null), m = w(""), v = w([]), y = w([]), D = w([]), $ = w([]), T = w([]), x = E(
|
|
10557
|
+
() => y.value.concat(D.value).filter((I) => !T.value.some((k) => k.guid === I.guid)).filter((I) => I.snapshot)
|
|
10558
|
+
), U = w(!1), l1 = w(!1), q = w(!1), r1 = () => {
|
|
10559
|
+
i.value = "", c.value = null, u.value = null, d.value = null, C.value = null, L.value = null, h.value = null, m.value = "", v.value = [], y.value = [], D.value = [], $.value = [], T.value = [], U.value = !1, l1.value = !1, q.value = !1;
|
|
10565
10560
|
};
|
|
10566
10561
|
return c1(
|
|
10567
10562
|
() => e.topic,
|
|
10568
|
-
(
|
|
10569
|
-
|
|
10563
|
+
(I) => {
|
|
10564
|
+
I ? (i.value = I.title || "", c.value = I.topic_type || null, u.value = I.priority || null, d.value = I.topic_status || null, C.value = I.stage || null, L.value = I.assigned_to || null, h.value = I.due_date, m.value = I.description || "", v.value = I.labels || [], y.value = I.viewpoints || []) : r1();
|
|
10570
10565
|
},
|
|
10571
10566
|
{ immediate: !0 }
|
|
10572
10567
|
), {
|
|
@@ -10585,41 +10580,41 @@ const jh = {
|
|
|
10585
10580
|
topicLabels: v,
|
|
10586
10581
|
topicTitle: i,
|
|
10587
10582
|
topicType: c,
|
|
10588
|
-
viewpointsToDisplay:
|
|
10583
|
+
viewpointsToDisplay: x,
|
|
10589
10584
|
// Methods
|
|
10590
|
-
createViewpoint: (
|
|
10591
|
-
|
|
10585
|
+
createViewpoint: (I) => {
|
|
10586
|
+
D.value.push(I);
|
|
10592
10587
|
},
|
|
10593
|
-
deleteViewpoint: (
|
|
10594
|
-
if (
|
|
10595
|
-
T.value.push(
|
|
10588
|
+
deleteViewpoint: (I) => {
|
|
10589
|
+
if (I.guid)
|
|
10590
|
+
T.value.push(I);
|
|
10596
10591
|
else {
|
|
10597
|
-
let
|
|
10598
|
-
|
|
10592
|
+
let k = D.value.indexOf(I);
|
|
10593
|
+
D.value.splice(k, 1);
|
|
10599
10594
|
}
|
|
10600
10595
|
},
|
|
10601
10596
|
submit: async () => {
|
|
10602
|
-
var
|
|
10597
|
+
var I, k;
|
|
10603
10598
|
if (!i.value) {
|
|
10604
10599
|
U.value = !0;
|
|
10605
10600
|
return;
|
|
10606
10601
|
}
|
|
10607
10602
|
try {
|
|
10608
|
-
q.value = !0, $.value =
|
|
10609
|
-
(
|
|
10610
|
-
), $.value.length === 0 &&
|
|
10611
|
-
const
|
|
10612
|
-
e.topicObjects && (
|
|
10613
|
-
Object.assign(
|
|
10603
|
+
q.value = !0, $.value = y.value.map(
|
|
10604
|
+
(P) => ({ ...P, snapshot: void 0 })
|
|
10605
|
+
), $.value.length === 0 && D.value.sort((P, e1) => (P.order ?? 1 / 0) - (e1.order ?? 1 / 0));
|
|
10606
|
+
const Z = $.value.concat(D.value);
|
|
10607
|
+
e.topicObjects && (Z.length > 0 ? Z.forEach((P) => {
|
|
10608
|
+
Object.assign(P, {
|
|
10614
10609
|
components: e.topicObjects
|
|
10615
|
-
}), k3(
|
|
10616
|
-
}) :
|
|
10610
|
+
}), k3(P);
|
|
10611
|
+
}) : D.value.push({
|
|
10617
10612
|
components: e.topicObjects
|
|
10618
|
-
})), e.topicAnnotations &&
|
|
10619
|
-
(
|
|
10613
|
+
})), e.topicAnnotations && Z.forEach(
|
|
10614
|
+
(P) => P.pins = e.topicAnnotations
|
|
10620
10615
|
);
|
|
10621
|
-
const
|
|
10622
|
-
guid: (
|
|
10616
|
+
const R = {
|
|
10617
|
+
guid: (I = e.topic) == null ? void 0 : I.guid,
|
|
10623
10618
|
title: i.value,
|
|
10624
10619
|
topic_type: c.value,
|
|
10625
10620
|
priority: u.value,
|
|
@@ -10630,24 +10625,24 @@ const jh = {
|
|
|
10630
10625
|
description: m.value,
|
|
10631
10626
|
labels: v.value,
|
|
10632
10627
|
// Keep topic models unchanged if any, otherwise use provided topic models.
|
|
10633
|
-
models: ((
|
|
10634
|
-
// Topic viewpoints will be updated with `updateFullTopic` API method.
|
|
10635
|
-
viewpoints: $.value
|
|
10628
|
+
models: ((k = e.topic) == null ? void 0 : k.models) || e.topicModels
|
|
10636
10629
|
};
|
|
10637
10630
|
let z;
|
|
10638
|
-
l.value ? z = await o.createTopic(e.project,
|
|
10639
|
-
|
|
10640
|
-
(
|
|
10641
|
-
)
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10631
|
+
l.value ? z = await o.createTopic(e.project, R) : z = await o.updateTopic(e.project, R), await Promise.all([
|
|
10632
|
+
...D.value.map(
|
|
10633
|
+
(P) => o.createViewpoint(e.project, z, P)
|
|
10634
|
+
),
|
|
10635
|
+
...$.value.map(
|
|
10636
|
+
(P) => o.updateViewpoint(e.project, z, P)
|
|
10637
|
+
),
|
|
10638
|
+
...T.value.map(
|
|
10639
|
+
(P) => o.deleteViewpoint(e.project, z, P)
|
|
10645
10640
|
)
|
|
10646
|
-
), l.value ? (n("topic-created", z),
|
|
10647
|
-
} catch (
|
|
10641
|
+
]), l.value ? (n("topic-created", z), r1()) : n("topic-updated", z);
|
|
10642
|
+
} catch (Z) {
|
|
10648
10643
|
n(
|
|
10649
10644
|
l.value ? "topic-create-error" : "topic-update-error",
|
|
10650
|
-
|
|
10645
|
+
Z
|
|
10651
10646
|
);
|
|
10652
10647
|
} finally {
|
|
10653
10648
|
q.value = !1;
|
|
@@ -10666,15 +10661,15 @@ const jh = {
|
|
|
10666
10661
|
class: "bcf-topic-form__loader"
|
|
10667
10662
|
};
|
|
10668
10663
|
function db(e, n, o, l, s, i) {
|
|
10669
|
-
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicSnapshots"), L = g("BIMDataTooltip"), h = g("BcfTopicImages"), m = g("BIMDataInput"), v = g("BIMDataSelect"),
|
|
10664
|
+
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicSnapshots"), L = g("BIMDataTooltip"), h = g("BcfTopicImages"), m = g("BIMDataInput"), v = g("BIMDataSelect"), y = g("BIMDataDatePicker"), D = g("BIMDataTextarea"), $ = g("BIMDataLoading"), T = g("BIMDataSafeZoneModal");
|
|
10670
10665
|
return r(), a("div", Kh, [
|
|
10671
10666
|
t("div", qh, [
|
|
10672
|
-
o.uiConfig.backButton ? (r(),
|
|
10667
|
+
o.uiConfig.backButton ? (r(), B(u, {
|
|
10673
10668
|
key: 0,
|
|
10674
10669
|
ghost: "",
|
|
10675
10670
|
rounded: "",
|
|
10676
10671
|
icon: "",
|
|
10677
|
-
onClick: n[0] || (n[0] = (
|
|
10672
|
+
onClick: n[0] || (n[0] = (x) => e.$emit("back"))
|
|
10678
10673
|
}, {
|
|
10679
10674
|
default: f(() => [
|
|
10680
10675
|
p(c, {
|
|
@@ -10687,20 +10682,20 @@ function db(e, n, o, l, s, i) {
|
|
|
10687
10682
|
_: 1
|
|
10688
10683
|
})) : M("", !0),
|
|
10689
10684
|
t("div", Jh, [
|
|
10690
|
-
l.isCreation ? (r(), a(
|
|
10685
|
+
l.isCreation ? (r(), a(O, { key: 0 }, [
|
|
10691
10686
|
A(b(e.$t("BcfComponents.BcfTopicForm.createTitle")), 1)
|
|
10692
|
-
], 64)) : (r(),
|
|
10687
|
+
], 64)) : (r(), B(d, {
|
|
10693
10688
|
key: 1,
|
|
10694
10689
|
maxWidth: "250px",
|
|
10695
10690
|
text: o.topic.title
|
|
10696
10691
|
}, null, 8, ["text"]))
|
|
10697
10692
|
]),
|
|
10698
|
-
o.uiConfig.closeButton ? (r(),
|
|
10693
|
+
o.uiConfig.closeButton ? (r(), B(u, {
|
|
10699
10694
|
key: 1,
|
|
10700
10695
|
ghost: "",
|
|
10701
10696
|
rounded: "",
|
|
10702
10697
|
icon: "",
|
|
10703
|
-
onClick: n[1] || (n[1] = (
|
|
10698
|
+
onClick: n[1] || (n[1] = (x) => e.$emit("close"))
|
|
10704
10699
|
}, {
|
|
10705
10700
|
default: f(() => [
|
|
10706
10701
|
p(c, {
|
|
@@ -10718,7 +10713,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10718
10713
|
t("div", nb, b(l.isCreation ? l.nextIndex : o.topic.index), 1),
|
|
10719
10714
|
t("div", tb, b(e.$d(l.isCreation ? /* @__PURE__ */ new Date() : o.topic.creation_date, "short")), 1)
|
|
10720
10715
|
]),
|
|
10721
|
-
o.uiConfig.viewerMode ? (r(), a(
|
|
10716
|
+
o.uiConfig.viewerMode ? (r(), a(O, { key: 0 }, [
|
|
10722
10717
|
p(C, {
|
|
10723
10718
|
viewpoints: l.viewpointsToDisplay,
|
|
10724
10719
|
onCreateViewpoint: l.createViewpoint,
|
|
@@ -10729,7 +10724,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10729
10724
|
fill: "",
|
|
10730
10725
|
radius: "",
|
|
10731
10726
|
disabled: !o.objectsEditEnabled,
|
|
10732
|
-
onClick: n[2] || (n[2] = (
|
|
10727
|
+
onClick: n[2] || (n[2] = (x) => e.$emit("edit-topic-objects", o.topic))
|
|
10733
10728
|
}, {
|
|
10734
10729
|
default: f(() => [
|
|
10735
10730
|
p(c, {
|
|
@@ -10754,7 +10749,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10754
10749
|
fill: "",
|
|
10755
10750
|
radius: "",
|
|
10756
10751
|
disabled: !o.annotationsEditEnabled || l.viewpointsToDisplay.length === 0,
|
|
10757
|
-
onClick: n[3] || (n[3] = (
|
|
10752
|
+
onClick: n[3] || (n[3] = (x) => e.$emit("edit-topic-annotations", o.topic))
|
|
10758
10753
|
}, {
|
|
10759
10754
|
default: f(() => [
|
|
10760
10755
|
p(c, {
|
|
@@ -10771,7 +10766,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10771
10766
|
_: 1
|
|
10772
10767
|
}, 8, ["disabled", "text"])
|
|
10773
10768
|
])
|
|
10774
|
-
], 64)) : (r(),
|
|
10769
|
+
], 64)) : (r(), B(h, {
|
|
10775
10770
|
key: 1,
|
|
10776
10771
|
viewpoints: l.viewpointsToDisplay,
|
|
10777
10772
|
onCreateViewpoint: l.createViewpoint,
|
|
@@ -10783,7 +10778,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10783
10778
|
error: l.hasErrorTitle,
|
|
10784
10779
|
errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
|
|
10785
10780
|
modelValue: l.topicTitle,
|
|
10786
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
10781
|
+
"onUpdate:modelValue": n[4] || (n[4] = (x) => l.topicTitle = x),
|
|
10787
10782
|
onKeyup: S(N(l.submit, ["stop"]), ["enter"])
|
|
10788
10783
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
|
|
10789
10784
|
p(v, {
|
|
@@ -10792,7 +10787,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10792
10787
|
options: o.extensions.topic_type,
|
|
10793
10788
|
disabled: o.extensions.topic_type.length === 0,
|
|
10794
10789
|
modelValue: l.topicType,
|
|
10795
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
10790
|
+
"onUpdate:modelValue": n[5] || (n[5] = (x) => l.topicType = x)
|
|
10796
10791
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10797
10792
|
p(v, {
|
|
10798
10793
|
width: "100%",
|
|
@@ -10800,7 +10795,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10800
10795
|
options: o.extensions.priority,
|
|
10801
10796
|
disabled: o.extensions.priority.length === 0,
|
|
10802
10797
|
modelValue: l.topicPriority,
|
|
10803
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
10798
|
+
"onUpdate:modelValue": n[6] || (n[6] = (x) => l.topicPriority = x)
|
|
10804
10799
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10805
10800
|
p(v, {
|
|
10806
10801
|
width: "100%",
|
|
@@ -10808,7 +10803,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10808
10803
|
options: o.extensions.topic_status,
|
|
10809
10804
|
disabled: o.extensions.topic_status.length === 0,
|
|
10810
10805
|
modelValue: l.topicStatus,
|
|
10811
|
-
"onUpdate:modelValue": n[7] || (n[7] = (
|
|
10806
|
+
"onUpdate:modelValue": n[7] || (n[7] = (x) => l.topicStatus = x)
|
|
10812
10807
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10813
10808
|
p(v, {
|
|
10814
10809
|
width: "100%",
|
|
@@ -10816,7 +10811,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10816
10811
|
options: o.extensions.stage,
|
|
10817
10812
|
disabled: o.extensions.stage.length === 0,
|
|
10818
10813
|
modelValue: l.topicStage,
|
|
10819
|
-
"onUpdate:modelValue": n[8] || (n[8] = (
|
|
10814
|
+
"onUpdate:modelValue": n[8] || (n[8] = (x) => l.topicStage = x)
|
|
10820
10815
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10821
10816
|
p(v, {
|
|
10822
10817
|
width: "100%",
|
|
@@ -10824,24 +10819,24 @@ function db(e, n, o, l, s, i) {
|
|
|
10824
10819
|
options: o.extensions.user_id_type,
|
|
10825
10820
|
disabled: o.extensions.user_id_type.length === 0,
|
|
10826
10821
|
modelValue: l.topicAssignedTo,
|
|
10827
|
-
"onUpdate:modelValue": n[9] || (n[9] = (
|
|
10822
|
+
"onUpdate:modelValue": n[9] || (n[9] = (x) => l.topicAssignedTo = x)
|
|
10828
10823
|
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10829
10824
|
t("div", ib, [
|
|
10830
|
-
p(
|
|
10825
|
+
p(y, {
|
|
10831
10826
|
width: "100%",
|
|
10832
10827
|
placeholder: e.$t("BcfComponents.BcfTopicForm.dueDateLabel"),
|
|
10833
10828
|
value: l.topicDueDate,
|
|
10834
10829
|
modelValue: l.topicDueDate,
|
|
10835
|
-
"onUpdate:modelValue": n[10] || (n[10] = (
|
|
10830
|
+
"onUpdate:modelValue": n[10] || (n[10] = (x) => l.topicDueDate = x),
|
|
10836
10831
|
clearButton: !0
|
|
10837
10832
|
}, null, 8, ["placeholder", "value", "modelValue"])
|
|
10838
10833
|
]),
|
|
10839
|
-
p(
|
|
10834
|
+
p(D, {
|
|
10840
10835
|
width: "100%",
|
|
10841
10836
|
name: "description",
|
|
10842
10837
|
label: e.$t("BcfComponents.BcfTopicForm.descriptionLabel"),
|
|
10843
10838
|
modelValue: l.topicDescription,
|
|
10844
|
-
"onUpdate:modelValue": n[11] || (n[11] = (
|
|
10839
|
+
"onUpdate:modelValue": n[11] || (n[11] = (x) => l.topicDescription = x),
|
|
10845
10840
|
fitContent: ""
|
|
10846
10841
|
}, null, 8, ["label", "modelValue"]),
|
|
10847
10842
|
p(v, {
|
|
@@ -10850,7 +10845,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10850
10845
|
options: o.extensions.topic_label,
|
|
10851
10846
|
disabled: o.extensions.topic_label.length === 0,
|
|
10852
10847
|
modelValue: l.topicLabels,
|
|
10853
|
-
"onUpdate:modelValue": n[12] || (n[12] = (
|
|
10848
|
+
"onUpdate:modelValue": n[12] || (n[12] = (x) => l.topicLabels = x),
|
|
10854
10849
|
multi: !0
|
|
10855
10850
|
}, null, 8, ["label", "options", "disabled", "modelValue"])
|
|
10856
10851
|
])
|
|
@@ -10873,7 +10868,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10873
10868
|
l.loading ? (r(), a("div", cb, [
|
|
10874
10869
|
p($)
|
|
10875
10870
|
])) : M("", !0),
|
|
10876
|
-
l.isOpenModal ? (r(),
|
|
10871
|
+
l.isOpenModal ? (r(), B(T, { key: 1 }, {
|
|
10877
10872
|
text: f(() => [
|
|
10878
10873
|
A(b(e.$t("BcfComponents.BcfTopicForm.modalText", { name: o.topic.title })), 1)
|
|
10879
10874
|
]),
|
|
@@ -10883,7 +10878,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10883
10878
|
color: "high",
|
|
10884
10879
|
fill: "",
|
|
10885
10880
|
radius: "",
|
|
10886
|
-
onClick: n[13] || (n[13] = (
|
|
10881
|
+
onClick: n[13] || (n[13] = (x) => e.$emit("close"))
|
|
10887
10882
|
}, {
|
|
10888
10883
|
default: f(() => [
|
|
10889
10884
|
A(b(e.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
|
|
@@ -10894,7 +10889,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10894
10889
|
color: "primary",
|
|
10895
10890
|
outline: "",
|
|
10896
10891
|
radius: "",
|
|
10897
|
-
onClick: n[14] || (n[14] = (
|
|
10892
|
+
onClick: n[14] || (n[14] = (x) => l.isOpenModal = !1)
|
|
10898
10893
|
}, {
|
|
10899
10894
|
default: f(() => [
|
|
10900
10895
|
A(b(e.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
|
|
@@ -10906,7 +10901,7 @@ function db(e, n, o, l, s, i) {
|
|
|
10906
10901
|
})) : M("", !0)
|
|
10907
10902
|
]);
|
|
10908
10903
|
}
|
|
10909
|
-
const ub = /* @__PURE__ */
|
|
10904
|
+
const ub = /* @__PURE__ */ G(jh, [["render", db], ["__scopeId", "data-v-ecf3b0e9"]]);
|
|
10910
10905
|
var Cb = { beforeMount(e, n) {
|
|
10911
10906
|
if (typeof n.value != "function")
|
|
10912
10907
|
throw Error("click away directive needs function, got " + typeof n.value);
|
|
@@ -10921,14 +10916,14 @@ const pb = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676
|
|
|
10921
10916
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
10922
10917
|
var bb = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
10923
10918
|
const Z5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
10924
|
-
var
|
|
10919
|
+
var D2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: { color: { type: String, default: "default", validator: (o) => bb.includes(o) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (o) => Object.keys(Z5).includes(o) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
10925
10920
|
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 };
|
|
10926
10921
|
}, style() {
|
|
10927
10922
|
const o = this.getPixelSize(this.size);
|
|
10928
10923
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
10929
10924
|
} }, methods: { getPixelSize() {
|
|
10930
10925
|
return this.customSize ? this.customSize : Z5[this.size];
|
|
10931
|
-
} } }),
|
|
10926
|
+
} } }), T1 = D2("Chevron", hb);
|
|
10932
10927
|
const gb = ["fill", "color"];
|
|
10933
10928
|
function X(e, n) {
|
|
10934
10929
|
n === void 0 && (n = {});
|
|
@@ -11090,14 +11085,14 @@ X(`.icon-fill--black {
|
|
|
11090
11085
|
}
|
|
11091
11086
|
.icon-stroke--white {
|
|
11092
11087
|
stroke: var(--color-white);
|
|
11093
|
-
}`),
|
|
11088
|
+
}`), T1.render = function(e, n, o, l, s, i) {
|
|
11094
11089
|
const c = g("Chevron");
|
|
11095
|
-
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:
|
|
11096
|
-
},
|
|
11090
|
+
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: H(e.style) }, [p(c)], 14, gb);
|
|
11091
|
+
}, T1.__scopeId = "data-v-5e440aca", T1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
11097
11092
|
const fb = { "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" }, Lb = { render: function(e, n) {
|
|
11098
11093
|
return r(), a("path", fb);
|
|
11099
11094
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
11100
|
-
var
|
|
11095
|
+
var c2 = D2("DoubleChevron", Lb);
|
|
11101
11096
|
const vb = ["fill", "color"];
|
|
11102
11097
|
X(`/* base COLORS --------------------------------------------- */
|
|
11103
11098
|
/* colors BRAND */
|
|
@@ -11251,14 +11246,14 @@ X(`.icon-fill--black {
|
|
|
11251
11246
|
}
|
|
11252
11247
|
.icon-stroke--white {
|
|
11253
11248
|
stroke: var(--color-white);
|
|
11254
|
-
}`),
|
|
11249
|
+
}`), c2.render = function(e, n, o, l, s, i) {
|
|
11255
11250
|
const c = g("DoubleChevron");
|
|
11256
|
-
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:
|
|
11257
|
-
},
|
|
11251
|
+
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: H(e.style) }, [p(c)], 14, vb);
|
|
11252
|
+
}, c2.__scopeId = "data-v-859297ec", c2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
11258
11253
|
const mb = { 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" }, Mb = { render: function(e, n) {
|
|
11259
11254
|
return r(), a("path", mb);
|
|
11260
11255
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
11261
|
-
var
|
|
11256
|
+
var T2 = D2("Close", Mb);
|
|
11262
11257
|
const Ib = ["fill", "color"];
|
|
11263
11258
|
X(`/* base COLORS --------------------------------------------- */
|
|
11264
11259
|
/* colors BRAND */
|
|
@@ -11412,14 +11407,14 @@ X(`.icon-fill--black {
|
|
|
11412
11407
|
}
|
|
11413
11408
|
.icon-stroke--white {
|
|
11414
11409
|
stroke: var(--color-white);
|
|
11415
|
-
}`),
|
|
11410
|
+
}`), T2.render = function(e, n, o, l, s, i) {
|
|
11416
11411
|
const c = g("Close");
|
|
11417
|
-
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:
|
|
11418
|
-
},
|
|
11412
|
+
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: H(e.style) }, [p(c)], 14, Ib);
|
|
11413
|
+
}, T2.__scopeId = "data-v-797f55d8", T2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
11419
11414
|
const yb = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.4652C5.27332 14.4652 2.6301 11.822 2.6301 8.54753C2.6301 5.27309 5.27332 2.62986 8.54777 2.62986C11.8222 2.62986 14.4654 5.27309 14.4654 8.54753C14.4654 11.822 11.8222 14.4652 8.54777 14.4652ZM16.438 14.4654H15.3991L15.0309 14.1103C16.3196 12.6112 17.0955 10.665 17.0955 8.54774C17.0955 3.82676 13.2687 0 8.54774 0C3.82676 0 0 3.82676 0 8.54774C0 13.2687 3.82676 17.0955 8.54774 17.0955C10.665 17.0955 12.6112 16.3196 14.1103 15.0309L14.4654 15.3991V16.438L21.0406 23L23 21.0406L16.438 14.4654Z" }, _b = { render: function(e, n) {
|
|
11420
11415
|
return r(), a("path", yb);
|
|
11421
11416
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
11422
|
-
var
|
|
11417
|
+
var $2 = D2("Search", _b);
|
|
11423
11418
|
const Hb = ["fill", "color"];
|
|
11424
11419
|
X(`/* base COLORS --------------------------------------------- */
|
|
11425
11420
|
/* colors BRAND */
|
|
@@ -11573,11 +11568,11 @@ X(`.icon-fill--black {
|
|
|
11573
11568
|
}
|
|
11574
11569
|
.icon-stroke--white {
|
|
11575
11570
|
stroke: var(--color-white);
|
|
11576
|
-
}`),
|
|
11571
|
+
}`), $2.render = function(e, n, o, l, s, i) {
|
|
11577
11572
|
const c = g("Search");
|
|
11578
|
-
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:
|
|
11579
|
-
},
|
|
11580
|
-
var Vb = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
11573
|
+
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: H(e.style) }, [p(c)], 14, Hb);
|
|
11574
|
+
}, $2.__scopeId = "data-v-0993abf8", $2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
11575
|
+
var Vb = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), _1 = { 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) => Vb.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
11581
11576
|
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 };
|
|
11582
11577
|
}, style() {
|
|
11583
11578
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -12044,10 +12039,10 @@ X(`.bimdata-btn {
|
|
|
12044
12039
|
.bimdata-btn__ghost:disabled {
|
|
12045
12040
|
color: var(--color-silver-dark);
|
|
12046
12041
|
cursor: auto;
|
|
12047
|
-
}`),
|
|
12048
|
-
return r(), a("button", { class:
|
|
12049
|
-
},
|
|
12050
|
-
var
|
|
12042
|
+
}`), _1.render = function(e, n, o, l, s, i) {
|
|
12043
|
+
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, Db);
|
|
12044
|
+
}, _1.__scopeId = "data-v-3f903003", _1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
12045
|
+
var d2 = { components: { BIMDataIconChevron: T1, BIMDataIconDoubleChevron: c2, BIMDataButton: _1 }, 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"] };
|
|
12051
12046
|
const Bb = { class: "bimdata-navigation__left m-r-6" }, kb = { key: 0, class: "bimdata-navigation__item" }, wb = { key: 1, class: "bimdata-navigation__item" }, xb = { key: 2, class: "bimdata-navigation__item" }, Zb = { key: 3, class: "bimdata-navigation__item" }, Sb = { class: "bimdata-navigation__right" };
|
|
12052
12047
|
X(`/* base COLORS --------------------------------------------- */
|
|
12053
12048
|
/* colors BRAND */
|
|
@@ -12154,11 +12149,11 @@ X(`.bimdata-navigation[data-v-aa907072] {
|
|
|
12154
12149
|
padding: 6px 2px;
|
|
12155
12150
|
font-size: 10px;
|
|
12156
12151
|
cursor: default;
|
|
12157
|
-
}`),
|
|
12152
|
+
}`), d2.render = function(e, n, o, l, s, i) {
|
|
12158
12153
|
const c = g("BIMDataIconDoubleChevron"), u = g("BIMDataButton"), d = g("BIMDataIconChevron");
|
|
12159
|
-
return r(), a("ul", { class: "bimdata-list bimdata-navigation", style:
|
|
12160
|
-
},
|
|
12161
|
-
var
|
|
12154
|
+
return r(), a("ul", { class: "bimdata-list bimdata-navigation", style: H({ "background-color": o.backgroundColor }) }, [t("li", Bb, [_(e.$slots, "left")]), o.first ? (r(), a("li", kb, [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"])])) : M("v-if", !0), o.previous ? (r(), a("li", wb, [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"])])) : M("v-if", !0), t("li", null, [_(e.$slots, "default")]), o.next ? (r(), a("li", xb, [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"])])) : M("v-if", !0), o.last ? (r(), a("li", Zb, [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"])])) : M("v-if", !0), t("li", Sb, [_(e.$slots, "right")])], 4);
|
|
12155
|
+
}, d2.__scopeId = "data-v-aa907072", d2.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
|
|
12156
|
+
var u2 = { components: { BIMDataNavigation: d2, BIMDataButton: _1 }, 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() {
|
|
12162
12157
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
12163
12158
|
}, lastIndex() {
|
|
12164
12159
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -12253,11 +12248,11 @@ X(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
|
12253
12248
|
}
|
|
12254
12249
|
.bimdata-pagination__item.active .bimdata-btn[data-v-45066753] {
|
|
12255
12250
|
font-weight: 700;
|
|
12256
|
-
}`),
|
|
12251
|
+
}`), u2.render = function(e, n, o, l, s, i) {
|
|
12257
12252
|
const c = g("BIMDataButton"), u = g("BIMDataNavigation");
|
|
12258
|
-
return r(),
|
|
12259
|
-
},
|
|
12260
|
-
var
|
|
12253
|
+
return r(), B(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 }, l5({ default: f(() => [t("span", Ab, [p(c, { ghost: "", width: "21px", height: "21px" }, { default: f(() => [A(b(o.currentPage), 1)]), _: 1 })])]), _: 2 }, [o.numberDataElements ? { name: "left", fn: f(() => [A(b(i.firstIndex) + " - " + b(i.lastIndex) + " of " + b(o.length), 1)]), key: "0" } : void 0]), 1032, ["firstDisabled", "previousDisabled", "nextDisabled", "lastDisabled", "backgroundColor"]);
|
|
12254
|
+
}, u2.__scopeId = "data-v-45066753", u2.__file = "src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue";
|
|
12255
|
+
var C2 = { props: ["size", "border"], methods: { getStyle() {
|
|
12261
12256
|
if (this.size)
|
|
12262
12257
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
12263
12258
|
} } };
|
|
@@ -12409,10 +12404,10 @@ X(`@-webkit-keyframes bimdataspinner {
|
|
|
12409
12404
|
border: 2px var(--color-primary) solid;
|
|
12410
12405
|
-webkit-animation: bimdataspinner 1.4s linear infinite;
|
|
12411
12406
|
animation: bimdataspinner 1.4s linear infinite;
|
|
12412
|
-
}`),
|
|
12413
|
-
return r(), a("div", Tb, [t("div", { class: "bimdata-spinner--square", style:
|
|
12414
|
-
},
|
|
12415
|
-
var
|
|
12407
|
+
}`), C2.render = function(e, n, o, l, s, i) {
|
|
12408
|
+
return r(), a("div", Tb, [t("div", { class: "bimdata-spinner--square", style: H(i.getStyle()) }, null, 4)]);
|
|
12409
|
+
}, C2.__scopeId = "data-v-162f2cc6", C2.__file = "src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue";
|
|
12410
|
+
var p2 = { components: { BIMDataPagination: u2, BIMDataSpinner: C2 }, 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() {
|
|
12416
12411
|
return this.list.length ? Math.ceil(this.list.length / this.perPage) : 0;
|
|
12417
12412
|
}, page() {
|
|
12418
12413
|
const e = this.perPage * (this.currentPage - 1), n = e + this.perPage;
|
|
@@ -12536,11 +12531,11 @@ X(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
|
12536
12531
|
-webkit-box-pack: center;
|
|
12537
12532
|
-ms-flex-pack: center;
|
|
12538
12533
|
justify-content: center;
|
|
12539
|
-
}`),
|
|
12534
|
+
}`), p2.render = function(e, n, o, l, s, i) {
|
|
12540
12535
|
const c = g("BIMDataSpinner"), u = g("BIMDataPagination");
|
|
12541
|
-
return r(), a("div", $b, [o.loading ? (r(),
|
|
12542
|
-
},
|
|
12543
|
-
var
|
|
12536
|
+
return r(), a("div", $b, [o.loading ? (r(), B(c, { key: 0 })) : (r(), a("div", Nb, [_(e.$slots, "header"), t("ul", Rb, [(r(!0), a(O, null, W(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 }, () => [A(b(d && d.toString()), 1)])], 8, Ob))), 128))]), o.list.length === 0 ? _(e.$slots, "empty", { key: 0 }) : M("v-if", !0), i.totalPages > 1 ? (r(), B(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"])) : M("v-if", !0)]))]);
|
|
12537
|
+
}, p2.__scopeId = "data-v-3ab4d75d", p2.__file = "src/BIMDataComponents/BIMDataPaginatedList/BIMDataPaginatedList.vue";
|
|
12538
|
+
var h2 = { components: { BIMDataIconChevron: T1, BIMDataPaginatedList: p2, BIMDataButton: _1 }, directives: { clickaway: Cb }, props: { list: { type: Array, default: () => [] }, perPage: { type: Number, default: 10 }, elementKey: { type: String }, disabled: { type: Boolean, default: !1 }, transitionName: { type: String, default: "up", validator: (e) => ["up", "down"].includes(e) }, directionClass: { type: String, default: "down", validator: (e) => ["down", "up", "right", "left"].includes(e) }, loading: { type: Boolean, default: !1 }, closeOnElementClick: { type: Boolean, default: !1 }, width: { type: String, default: "220px" }, height: { type: String, default: "36px" } }, emits: ["element-click"], data: () => ({ displayed: !1 }), computed: { style() {
|
|
12544
12539
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
12545
12540
|
}, iconRotation() {
|
|
12546
12541
|
return this.displayed ? this.directionClass === "up" ? -90 : 90 : 0;
|
|
@@ -12894,10 +12889,10 @@ X(`.slide-fade-up-enter-active,
|
|
|
12894
12889
|
-webkit-box-align: center;
|
|
12895
12890
|
-ms-flex-align: center;
|
|
12896
12891
|
align-items: center;
|
|
12897
|
-
}`),
|
|
12898
|
-
const c = g("BIMDataIconChevron"), u = g("BIMDataButton"), d = g("BIMDataPaginatedList"), C =
|
|
12899
|
-
return j((r(), a("div", { class: "bimdata-dropdown-list", direction: o.directionClass, closeOnElementClick: o.closeOnElementClick, style:
|
|
12900
|
-
},
|
|
12892
|
+
}`), h2.render = function(e, n, o, l, s, i) {
|
|
12893
|
+
const c = g("BIMDataIconChevron"), u = g("BIMDataButton"), d = g("BIMDataPaginatedList"), C = E1("clickaway");
|
|
12894
|
+
return j((r(), a("div", { class: "bimdata-dropdown-list", direction: o.directionClass, closeOnElementClick: o.closeOnElementClick, style: H(i.style) }, [t("div", { class: V(["bimdata-dropdown-list__content", { active: s.displayed, disabled: o.disabled }]), onClick: n[0] || (n[0] = (...L) => i.onHeaderClick && i.onHeaderClick(...L)), style: H(i.style) }, [_(e.$slots, "header", { isOpen: s.displayed }), p(u, { color: "default", icon: "", radius: "", fill: "", width: "21px", height: "21px" }, { default: f(() => [p(c, { size: "xxxs", rotate: i.iconRotation }, null, 8, ["rotate"])]), _: 1 }), _(e.$slots, "contentAfterBtn", { isOpen: s.displayed })], 6), p(a1, { name: `slide-fade-${o.transitionName}`, persisted: "" }, { default: f(() => [j(p(d, { class: V(`submenu submenu--${o.directionClass}`), list: o.list, perPage: o.perPage, elementKey: o.elementKey, onElementClick: i.onElementClick, loading: o.loading }, { element: f(({ element: L }) => [_(e.$slots, "element", { element: L, close: i.away, isOpen: s.displayed })]), _: 3 }, 8, ["class", "list", "perPage", "elementKey", "onElementClick", "loading"]), [[n1, s.displayed]])]), _: 3 }, 8, ["name"])], 12, Eb)), [[C, i.away]]);
|
|
12895
|
+
}, h2.__scopeId = "data-v-0368297d", h2.__file = "src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue";
|
|
12901
12896
|
const Fb = {
|
|
12902
12897
|
props: {
|
|
12903
12898
|
user: {
|
|
@@ -12920,7 +12915,7 @@ const Fb = {
|
|
|
12920
12915
|
},
|
|
12921
12916
|
setup(e) {
|
|
12922
12917
|
return {
|
|
12923
|
-
initials:
|
|
12918
|
+
initials: E(
|
|
12924
12919
|
() => `${e.user.firstname && e.user.firstname[0] || ""}${e.user.lastname && e.user.lastname[0] || ""}`.toUpperCase()
|
|
12925
12920
|
)
|
|
12926
12921
|
};
|
|
@@ -12929,8 +12924,8 @@ const Fb = {
|
|
|
12929
12924
|
function Ub(e, n, o, l, s, i) {
|
|
12930
12925
|
const c = g("BIMDataIcon");
|
|
12931
12926
|
return r(), a("div", {
|
|
12932
|
-
class:
|
|
12933
|
-
style:
|
|
12927
|
+
class: V(["user-avatar", `user-avatar--${o.user.profile_picture ? "silver-light" : o.color}`]),
|
|
12928
|
+
style: H({
|
|
12934
12929
|
width: `${o.size}px`,
|
|
12935
12930
|
height: `${o.size}px`,
|
|
12936
12931
|
fontSize: `${o.initialsSize ? o.initialsSize : +o.size * 0.382}px`
|
|
@@ -12939,22 +12934,22 @@ function Ub(e, n, o, l, s, i) {
|
|
|
12939
12934
|
o.user.profile_picture ? (r(), a("img", {
|
|
12940
12935
|
key: 0,
|
|
12941
12936
|
src: o.user.profile_picture
|
|
12942
|
-
}, null, 8, Pb)) : l.initials ? (r(), a(
|
|
12937
|
+
}, null, 8, Pb)) : l.initials ? (r(), a(O, { key: 1 }, [
|
|
12943
12938
|
A(b(l.initials), 1)
|
|
12944
|
-
], 64)) : (r(),
|
|
12939
|
+
], 64)) : (r(), B(c, {
|
|
12945
12940
|
key: 2,
|
|
12946
12941
|
name: "user",
|
|
12947
12942
|
size: "xs"
|
|
12948
12943
|
}))
|
|
12949
12944
|
], 6);
|
|
12950
12945
|
}
|
|
12951
|
-
const n3 = /* @__PURE__ */
|
|
12946
|
+
const n3 = /* @__PURE__ */ G(Fb, [["render", Ub], ["__scopeId", "data-v-3c02f1a9"]]);
|
|
12952
12947
|
const zb = {
|
|
12953
12948
|
components: {
|
|
12954
12949
|
BIMDataButton: J,
|
|
12955
12950
|
BIMDataIcon: Q,
|
|
12956
12951
|
BIMDataLoading: g1,
|
|
12957
|
-
BIMDataTextarea:
|
|
12952
|
+
BIMDataTextarea: y1,
|
|
12958
12953
|
BIMDataTextbox: d1,
|
|
12959
12954
|
UserAvatar: n3
|
|
12960
12955
|
},
|
|
@@ -12978,7 +12973,7 @@ const zb = {
|
|
|
12978
12973
|
},
|
|
12979
12974
|
emits: ["comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
12980
12975
|
setup(e, { emit: n }) {
|
|
12981
|
-
const o =
|
|
12976
|
+
const o = $1("getViewers", () => ({})), l = $1("$viewer"), s = z1(), i = w(!1), c = w(!1), u = () => c.value = !1, d = () => c.value = !c.value, C = w(e.comment.comment), L = w(null), h = async () => {
|
|
12982
12977
|
L.value = await s.fetchTopicCommentViewpoint(
|
|
12983
12978
|
e.project,
|
|
12984
12979
|
e.topic,
|
|
@@ -12986,25 +12981,25 @@ const zb = {
|
|
|
12986
12981
|
);
|
|
12987
12982
|
}, m = w(!1), v = () => {
|
|
12988
12983
|
m.value = !0, u();
|
|
12989
|
-
},
|
|
12984
|
+
}, y = () => {
|
|
12990
12985
|
m.value = !1, C.value = e.comment.comment;
|
|
12991
|
-
},
|
|
12986
|
+
}, D = async () => {
|
|
12992
12987
|
L.value.guid && await s.deleteViewpoint(e.project, e.topic, L.value), L.value = null;
|
|
12993
|
-
}, $ = w(!1), T = w([]),
|
|
12994
|
-
|
|
12995
|
-
}, U = (
|
|
12996
|
-
|
|
12988
|
+
}, $ = w(!1), T = w([]), x = (R) => {
|
|
12989
|
+
R.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", R.$viewer.localContext.el.style.boxSizing = "border-box", R.$viewer.localContext.el.style.opacity = ".85";
|
|
12990
|
+
}, U = (R) => {
|
|
12991
|
+
R.$viewer.localContext.el.style.border = "", R.$viewer.localContext.el.style.boxSizing = "", R.$viewer.localContext.el.style.opacity = "";
|
|
12997
12992
|
}, l1 = async () => {
|
|
12998
12993
|
T.value.length === 1 ? await q(T.value[0]) : T.value.length > 1 && ($.value = !0);
|
|
12999
|
-
}, q = async ({ id:
|
|
12994
|
+
}, q = async ({ id: R, viewer: z }) => {
|
|
13000
12995
|
U(z), $.value = !1;
|
|
13001
|
-
const [
|
|
12996
|
+
const [P] = Object.entries(U1).find(([, e1]) => e1.plugin === R);
|
|
13002
12997
|
L.value = Object.assign(await z.getViewpoint(), {
|
|
13003
|
-
[
|
|
13004
|
-
[
|
|
12998
|
+
[F1]: P,
|
|
12999
|
+
[P1]: z.getLoadedModels().map((e1) => e1.id).join(",")
|
|
13005
13000
|
});
|
|
13006
|
-
},
|
|
13007
|
-
var
|
|
13001
|
+
}, r1 = async () => {
|
|
13002
|
+
var R;
|
|
13008
13003
|
try {
|
|
13009
13004
|
if (e.comment.comment === C.value && !L.value) {
|
|
13010
13005
|
m.value = !1;
|
|
@@ -13020,7 +13015,7 @@ const zb = {
|
|
|
13020
13015
|
e.project,
|
|
13021
13016
|
e.topic,
|
|
13022
13017
|
e.comment,
|
|
13023
|
-
{ comment: C.value, viewpoint_guid: (
|
|
13018
|
+
{ comment: C.value, viewpoint_guid: (R = L.value) == null ? void 0 : R.guid }
|
|
13024
13019
|
);
|
|
13025
13020
|
n("comment-updated", z);
|
|
13026
13021
|
}
|
|
@@ -13028,15 +13023,15 @@ const zb = {
|
|
|
13028
13023
|
} finally {
|
|
13029
13024
|
i.value = !1;
|
|
13030
13025
|
}
|
|
13031
|
-
}, i1 = w(!1),
|
|
13026
|
+
}, i1 = w(!1), F = () => {
|
|
13032
13027
|
i1.value = !0, u();
|
|
13033
|
-
},
|
|
13028
|
+
}, Y = async () => {
|
|
13034
13029
|
try {
|
|
13035
13030
|
i.value = !0, await s.deleteComment(e.project, e.topic, e.comment), n("comment-deleted", e.comment), i1.value = !1;
|
|
13036
13031
|
} finally {
|
|
13037
13032
|
i.value = !1;
|
|
13038
13033
|
}
|
|
13039
|
-
},
|
|
13034
|
+
}, I = (R) => {
|
|
13040
13035
|
l ? l.globalContext.modals.pushModal(
|
|
13041
13036
|
{
|
|
13042
13037
|
template: '<img :src="viewpoint.snapshot.snapshot_data" />',
|
|
@@ -13047,23 +13042,23 @@ const zb = {
|
|
|
13047
13042
|
}
|
|
13048
13043
|
}
|
|
13049
13044
|
},
|
|
13050
|
-
{ viewpoint:
|
|
13051
|
-
) : n("view-comment-snapshot",
|
|
13045
|
+
{ viewpoint: R }
|
|
13046
|
+
) : n("view-comment-snapshot", R);
|
|
13052
13047
|
};
|
|
13053
|
-
let
|
|
13054
|
-
return
|
|
13048
|
+
let k, Z;
|
|
13049
|
+
return i5(async () => {
|
|
13055
13050
|
if (e.comment.viewpoint_guid && await h(), l) {
|
|
13056
|
-
const
|
|
13057
|
-
([z,
|
|
13051
|
+
const R = () => Object.entries(o()).map(
|
|
13052
|
+
([z, P]) => P.map((e1, v1) => ({ key: `${z}-${v1}`, id: z, index: v1, viewer: e1 }))
|
|
13058
13053
|
).flat();
|
|
13059
|
-
T.value =
|
|
13060
|
-
T.value =
|
|
13061
|
-
}),
|
|
13062
|
-
T.value =
|
|
13054
|
+
T.value = R(), k = l.globalContext.hub.on("plugin-created", () => {
|
|
13055
|
+
T.value = R();
|
|
13056
|
+
}), Z = l.globalContext.hub.on("plugin-destroyed", () => {
|
|
13057
|
+
T.value = R();
|
|
13063
13058
|
});
|
|
13064
13059
|
}
|
|
13065
13060
|
}), R5(() => {
|
|
13066
|
-
l && (l.globalContext.hub.off(
|
|
13061
|
+
l && (l.globalContext.hub.off(k), l.globalContext.hub.off(Z));
|
|
13067
13062
|
}), {
|
|
13068
13063
|
// References
|
|
13069
13064
|
isDeleting: i1,
|
|
@@ -13076,17 +13071,17 @@ const zb = {
|
|
|
13076
13071
|
viewerSelectVisible: $,
|
|
13077
13072
|
viewpoint: L,
|
|
13078
13073
|
// Methods
|
|
13079
|
-
cancelUpdate:
|
|
13074
|
+
cancelUpdate: y,
|
|
13080
13075
|
closeMenu: u,
|
|
13081
13076
|
createViewpoint: q,
|
|
13082
|
-
deleteViewpoint:
|
|
13083
|
-
highlightViewer:
|
|
13084
|
-
onOpenDelete:
|
|
13077
|
+
deleteViewpoint: D,
|
|
13078
|
+
highlightViewer: x,
|
|
13079
|
+
onOpenDelete: F,
|
|
13085
13080
|
onOpenEdit: v,
|
|
13086
|
-
openCommentSnapshot:
|
|
13081
|
+
openCommentSnapshot: I,
|
|
13087
13082
|
setCommentViewpoint: l1,
|
|
13088
|
-
submitDelete:
|
|
13089
|
-
submitUpdate:
|
|
13083
|
+
submitDelete: Y,
|
|
13084
|
+
submitUpdate: r1,
|
|
13090
13085
|
toggleMenu: d,
|
|
13091
13086
|
loadViewpoint: h,
|
|
13092
13087
|
unhighlightViewer: U
|
|
@@ -13110,7 +13105,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13110
13105
|
return r(), a("div", Yb, [
|
|
13111
13106
|
t("div", Xb, [
|
|
13112
13107
|
t("div", Wb, [
|
|
13113
|
-
o.comment.user ? (r(),
|
|
13108
|
+
o.comment.user ? (r(), B(c, {
|
|
13114
13109
|
key: 0,
|
|
13115
13110
|
class: "m-r-12",
|
|
13116
13111
|
style: { "box-shadow": "var(--box-shadow)" },
|
|
@@ -13136,9 +13131,9 @@ function ig(e, n, o, l, s, i) {
|
|
|
13136
13131
|
t("span", qb, b(e.$d(o.comment.date, "long")), 1)
|
|
13137
13132
|
]),
|
|
13138
13133
|
t("div", Jb, [
|
|
13139
|
-
o.currentUserEmail === o.comment.author ? (r(), a(
|
|
13134
|
+
o.currentUserEmail === o.comment.author ? (r(), a(O, { key: 0 }, [
|
|
13140
13135
|
t("div", Qb, [
|
|
13141
|
-
l.showMenu ? (r(), a(
|
|
13136
|
+
l.showMenu ? (r(), a(O, { key: 0 }, [
|
|
13142
13137
|
p(C, {
|
|
13143
13138
|
ghost: "",
|
|
13144
13139
|
rounded: "",
|
|
@@ -13188,7 +13183,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13188
13183
|
_: 1
|
|
13189
13184
|
}, 8, ["onClick"])
|
|
13190
13185
|
], 64)) : M("", !0),
|
|
13191
|
-
l.isEditing ? (r(), a(
|
|
13186
|
+
l.isEditing ? (r(), a(O, { key: 1 }, [
|
|
13192
13187
|
p(C, {
|
|
13193
13188
|
ghost: "",
|
|
13194
13189
|
rounded: "",
|
|
@@ -13256,7 +13251,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13256
13251
|
})
|
|
13257
13252
|
])
|
|
13258
13253
|
])) : M("", !0),
|
|
13259
|
-
!l.showMenu && !l.isDeleting && !l.isEditing ? (r(),
|
|
13254
|
+
!l.showMenu && !l.isDeleting && !l.isEditing ? (r(), B(C, {
|
|
13260
13255
|
key: 1,
|
|
13261
13256
|
class: "topic-comment__header__right__btn",
|
|
13262
13257
|
rounded: "",
|
|
@@ -13278,7 +13273,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13278
13273
|
]),
|
|
13279
13274
|
t("div", tg, [
|
|
13280
13275
|
p(L, {
|
|
13281
|
-
class:
|
|
13276
|
+
class: V({ editing: l.isEditing }),
|
|
13282
13277
|
width: "100%",
|
|
13283
13278
|
rows: "1",
|
|
13284
13279
|
modelValue: l.text,
|
|
@@ -13300,7 +13295,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13300
13295
|
color: "default"
|
|
13301
13296
|
})
|
|
13302
13297
|
])),
|
|
13303
|
-
l.viewerSelectVisible ? (r(),
|
|
13298
|
+
l.viewerSelectVisible ? (r(), B(h, {
|
|
13304
13299
|
key: 1,
|
|
13305
13300
|
list: l.viewerSelectOptions,
|
|
13306
13301
|
elementKey: "key",
|
|
@@ -13313,8 +13308,8 @@ function ig(e, n, o, l, s, i) {
|
|
|
13313
13308
|
element: f(({ element: v }) => [
|
|
13314
13309
|
t("div", {
|
|
13315
13310
|
style: { width: "100%" },
|
|
13316
|
-
onMouseenter: (
|
|
13317
|
-
onMouseleave: (
|
|
13311
|
+
onMouseenter: (y) => l.highlightViewer(v.viewer),
|
|
13312
|
+
onMouseleave: (y) => l.unhighlightViewer(v.viewer)
|
|
13318
13313
|
}, b(`${v.id} (${v.index})`), 41, og)
|
|
13319
13314
|
]),
|
|
13320
13315
|
_: 1
|
|
@@ -13325,7 +13320,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13325
13320
|
src: l.viewpoint.snapshot.snapshot_data,
|
|
13326
13321
|
onClick: n[3] || (n[3] = (v) => l.openCommentSnapshot(l.viewpoint))
|
|
13327
13322
|
}, null, 8, lg),
|
|
13328
|
-
l.isEditing ? (r(),
|
|
13323
|
+
l.isEditing ? (r(), B(C, {
|
|
13329
13324
|
key: 0,
|
|
13330
13325
|
class: "btn-delete",
|
|
13331
13326
|
fill: "",
|
|
@@ -13345,17 +13340,17 @@ function ig(e, n, o, l, s, i) {
|
|
|
13345
13340
|
}, 8, ["onClick"])) : M("", !0)
|
|
13346
13341
|
])) : M("", !0)
|
|
13347
13342
|
]),
|
|
13348
|
-
l.loading ? (r(),
|
|
13343
|
+
l.loading ? (r(), B(m, { key: 0 })) : M("", !0)
|
|
13349
13344
|
]);
|
|
13350
13345
|
}
|
|
13351
|
-
const sg = /* @__PURE__ */
|
|
13346
|
+
const sg = /* @__PURE__ */ G(zb, [["render", ig], ["__scopeId", "data-v-3aa40e45"]]);
|
|
13352
13347
|
const cg = {
|
|
13353
13348
|
components: {
|
|
13354
13349
|
BIMDataButton: J,
|
|
13355
|
-
BIMDataDropdownList:
|
|
13350
|
+
BIMDataDropdownList: h2,
|
|
13356
13351
|
BIMDataIcon: Q,
|
|
13357
13352
|
BIMDataLoading: g1,
|
|
13358
|
-
BIMDataTextarea:
|
|
13353
|
+
BIMDataTextarea: y1,
|
|
13359
13354
|
TopicComment: sg
|
|
13360
13355
|
},
|
|
13361
13356
|
props: {
|
|
@@ -13378,63 +13373,63 @@ const cg = {
|
|
|
13378
13373
|
},
|
|
13379
13374
|
emis: ["comment-created", "comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
13380
13375
|
setup(e, { emit: n }) {
|
|
13381
|
-
const o =
|
|
13376
|
+
const o = z1(), l = w([]), s = w(!1), i = w(!1), c = w(null), u = w(""), d = w(null), C = async () => {
|
|
13382
13377
|
l.value = await o.fetchTopicComments(e.project, e.topic);
|
|
13383
|
-
}, L =
|
|
13384
|
-
|
|
13385
|
-
},
|
|
13386
|
-
|
|
13378
|
+
}, L = $1("getViewers", () => ({})), h = $1("$viewer"), m = w(!1), v = w([]), y = (F) => {
|
|
13379
|
+
F.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", F.$viewer.localContext.el.style.boxSizing = "border-box", F.$viewer.localContext.el.style.opacity = ".85";
|
|
13380
|
+
}, D = (F) => {
|
|
13381
|
+
F.$viewer.localContext.el.style.border = "", F.$viewer.localContext.el.style.boxSizing = "", F.$viewer.localContext.el.style.opacity = "";
|
|
13387
13382
|
}, $ = async () => {
|
|
13388
13383
|
v.value.length === 1 ? await T(v.value[0]) : v.value.length > 1 && (m.value = !0);
|
|
13389
|
-
}, T = async ({ id:
|
|
13390
|
-
|
|
13391
|
-
const [
|
|
13392
|
-
d.value = Object.assign(await
|
|
13393
|
-
[
|
|
13394
|
-
[
|
|
13384
|
+
}, T = async ({ id: F, viewer: Y }) => {
|
|
13385
|
+
D(Y), m.value = !1;
|
|
13386
|
+
const [I] = Object.entries(U1).find(([, k]) => k.plugin === F);
|
|
13387
|
+
d.value = Object.assign(await Y.getViewpoint(), {
|
|
13388
|
+
[F1]: I,
|
|
13389
|
+
[P1]: Y.getLoadedModels().map((k) => k.id).join(",")
|
|
13395
13390
|
});
|
|
13396
|
-
},
|
|
13391
|
+
}, x = () => {
|
|
13397
13392
|
d.value = null;
|
|
13398
13393
|
}, U = async () => {
|
|
13399
|
-
var
|
|
13394
|
+
var F;
|
|
13400
13395
|
try {
|
|
13401
13396
|
i.value = !0, d.value && (d.value = await o.createViewpoint(
|
|
13402
13397
|
e.project,
|
|
13403
13398
|
e.topic,
|
|
13404
13399
|
d.value
|
|
13405
13400
|
));
|
|
13406
|
-
const
|
|
13401
|
+
const Y = await o.createComment(e.project, e.topic, {
|
|
13407
13402
|
comment: u.value,
|
|
13408
|
-
viewpoint_guid: (
|
|
13403
|
+
viewpoint_guid: (F = d.value) == null ? void 0 : F.guid
|
|
13409
13404
|
});
|
|
13410
|
-
C(), n("comment-created",
|
|
13405
|
+
C(), n("comment-created", Y), s.value = !1, u.value = "";
|
|
13411
13406
|
} finally {
|
|
13412
13407
|
i.value = !1, d.value = null;
|
|
13413
13408
|
}
|
|
13414
|
-
}, l1 = (
|
|
13415
|
-
C(), n("comment-updated",
|
|
13416
|
-
}, q = (
|
|
13417
|
-
C(), n("comment-deleted",
|
|
13409
|
+
}, l1 = (F) => {
|
|
13410
|
+
C(), n("comment-updated", F);
|
|
13411
|
+
}, q = (F) => {
|
|
13412
|
+
C(), n("comment-deleted", F);
|
|
13418
13413
|
};
|
|
13419
13414
|
c1(
|
|
13420
13415
|
() => e.topic,
|
|
13421
13416
|
() => C(),
|
|
13422
13417
|
{ immediate: !0 }
|
|
13423
13418
|
), c1(s, () => setTimeout(() => s.value && c.value.focus(), 50));
|
|
13424
|
-
let
|
|
13425
|
-
return
|
|
13419
|
+
let r1, i1;
|
|
13420
|
+
return i5(() => {
|
|
13426
13421
|
if (h) {
|
|
13427
|
-
const
|
|
13428
|
-
([
|
|
13422
|
+
const F = () => Object.entries(L()).map(
|
|
13423
|
+
([Y, I]) => I.map((k, Z) => ({ key: `${Y}-${Z}`, id: Y, index: Z, viewer: k }))
|
|
13429
13424
|
).flat();
|
|
13430
|
-
v.value =
|
|
13431
|
-
v.value =
|
|
13425
|
+
v.value = F(), r1 = h.globalContext.hub.on("plugin-created", () => {
|
|
13426
|
+
v.value = F();
|
|
13432
13427
|
}), i1 = h.globalContext.hub.on("plugin-destroyed", () => {
|
|
13433
|
-
v.value =
|
|
13428
|
+
v.value = F();
|
|
13434
13429
|
});
|
|
13435
13430
|
}
|
|
13436
13431
|
}), R5(() => {
|
|
13437
|
-
h && (h.globalContext.hub.off(
|
|
13432
|
+
h && (h.globalContext.hub.off(r1), h.globalContext.hub.off(i1));
|
|
13438
13433
|
}), {
|
|
13439
13434
|
// References
|
|
13440
13435
|
comments: l,
|
|
@@ -13448,14 +13443,14 @@ const cg = {
|
|
|
13448
13443
|
isViewer: !!h,
|
|
13449
13444
|
// Methods
|
|
13450
13445
|
createViewpoint: T,
|
|
13451
|
-
deleteViewpoint:
|
|
13452
|
-
highlightViewer:
|
|
13446
|
+
deleteViewpoint: x,
|
|
13447
|
+
highlightViewer: y,
|
|
13453
13448
|
loadComments: C,
|
|
13454
13449
|
onCommentDeleted: q,
|
|
13455
13450
|
onCommentUpdated: l1,
|
|
13456
13451
|
setCommentViewpoint: $,
|
|
13457
13452
|
submitComment: U,
|
|
13458
|
-
unhighlightViewer:
|
|
13453
|
+
unhighlightViewer: D
|
|
13459
13454
|
};
|
|
13460
13455
|
}
|
|
13461
13456
|
}, dg = { class: "bcf-topic-comments" }, ug = {
|
|
@@ -13468,7 +13463,7 @@ const cg = {
|
|
|
13468
13463
|
function yg(e, n, o, l, s, i) {
|
|
13469
13464
|
const c = g("BIMDataButton"), u = g("BIMDataTextarea"), d = g("BIMDataIcon"), C = g("BIMDataDropdownList"), L = g("TopicComment"), h = g("BIMDataLoading");
|
|
13470
13465
|
return r(), a("div", dg, [
|
|
13471
|
-
o.uiConfig.commentCreation ? (r(), a(
|
|
13466
|
+
o.uiConfig.commentCreation ? (r(), a(O, { key: 0 }, [
|
|
13472
13467
|
l.isOpen ? (r(), a("div", ug, [
|
|
13473
13468
|
t("p", Cg, b(e.$t("BcfComponents.BcfTopicComments.commentText")), 1),
|
|
13474
13469
|
t("div", pg, [
|
|
@@ -13517,7 +13512,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13517
13512
|
color: "default"
|
|
13518
13513
|
})
|
|
13519
13514
|
])) : M("", !0),
|
|
13520
|
-
l.viewerSelectVisible && l.isViewer ? (r(),
|
|
13515
|
+
l.viewerSelectVisible && l.isViewer ? (r(), B(C, {
|
|
13521
13516
|
key: 1,
|
|
13522
13517
|
list: l.viewerSelectOptions,
|
|
13523
13518
|
elementKey: "key",
|
|
@@ -13565,7 +13560,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13565
13560
|
])
|
|
13566
13561
|
])
|
|
13567
13562
|
])
|
|
13568
|
-
])) : (r(),
|
|
13563
|
+
])) : (r(), B(c, {
|
|
13569
13564
|
key: 0,
|
|
13570
13565
|
width: "100%",
|
|
13571
13566
|
color: "primary",
|
|
@@ -13582,7 +13577,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13582
13577
|
t("div", mg, [
|
|
13583
13578
|
t("p", Mg, b((l.comments ? l.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
|
|
13584
13579
|
l.comments && l.comments.length ? (r(), a("div", Ig, [
|
|
13585
|
-
(r(!0), a(
|
|
13580
|
+
(r(!0), a(O, null, W(l.comments, (m) => (r(), B(L, {
|
|
13586
13581
|
key: m.guid,
|
|
13587
13582
|
project: o.project,
|
|
13588
13583
|
topic: o.topic,
|
|
@@ -13594,17 +13589,17 @@ function yg(e, n, o, l, s, i) {
|
|
|
13594
13589
|
}, null, 8, ["project", "topic", "comment", "currentUserEmail", "onCommentUpdated", "onCommentDeleted"]))), 128))
|
|
13595
13590
|
])) : M("", !0)
|
|
13596
13591
|
]),
|
|
13597
|
-
l.loading ? (r(),
|
|
13592
|
+
l.loading ? (r(), B(h, { key: 1 })) : M("", !0)
|
|
13598
13593
|
]);
|
|
13599
13594
|
}
|
|
13600
|
-
const _g = /* @__PURE__ */
|
|
13601
|
-
var Hg = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
13595
|
+
const _g = /* @__PURE__ */ G(cg, [["render", yg], ["__scopeId", "data-v-3a4be1cd"]]);
|
|
13596
|
+
var Hg = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), b2 = { 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) => Hg.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
13602
13597
|
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 };
|
|
13603
13598
|
}, style() {
|
|
13604
13599
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
13605
13600
|
} } };
|
|
13606
13601
|
const Vg = ["color"];
|
|
13607
|
-
function
|
|
13602
|
+
function Y1(e, n) {
|
|
13608
13603
|
n === void 0 && (n = {});
|
|
13609
13604
|
var o = n.insertAt;
|
|
13610
13605
|
if (e && typeof document < "u") {
|
|
@@ -13612,7 +13607,7 @@ function G1(e, n) {
|
|
|
13612
13607
|
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));
|
|
13613
13608
|
}
|
|
13614
13609
|
}
|
|
13615
|
-
|
|
13610
|
+
Y1(`/* base COLORS --------------------------------------------- */
|
|
13616
13611
|
/* colors BRAND */
|
|
13617
13612
|
/* colors GREY SHADES - NEUTRAL */
|
|
13618
13613
|
/* color TEXT */
|
|
@@ -13770,7 +13765,7 @@ html[data-v-3f903003] {
|
|
|
13770
13765
|
.primary-font[data-v-3f903003] {
|
|
13771
13766
|
font-family: "roboto", sans-serif;
|
|
13772
13767
|
}`);
|
|
13773
|
-
|
|
13768
|
+
Y1(`.bimdata-btn {
|
|
13774
13769
|
padding: 0 var(--spacing-unit);
|
|
13775
13770
|
height: -webkit-fit-content;
|
|
13776
13771
|
height: -moz-fit-content;
|
|
@@ -14073,9 +14068,9 @@ G1(`.bimdata-btn {
|
|
|
14073
14068
|
.bimdata-btn__ghost:disabled {
|
|
14074
14069
|
color: var(--color-silver-dark);
|
|
14075
14070
|
cursor: auto;
|
|
14076
|
-
}`),
|
|
14077
|
-
return r(), a("button", { class:
|
|
14078
|
-
},
|
|
14071
|
+
}`), b2.render = function(e, n, o, l, s, i) {
|
|
14072
|
+
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, Vg);
|
|
14073
|
+
}, b2.__scopeId = "data-v-3f903003", b2.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
14079
14074
|
const Dg = { "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" }, Bg = { render: function(e, n) {
|
|
14080
14075
|
return r(), a("path", Dg);
|
|
14081
14076
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, kg = { "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" }, wg = { render: function(e, n) {
|
|
@@ -14403,7 +14398,7 @@ const Dg = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
14403
14398
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
14404
14399
|
var S5 = { addFile: Bg, addFolder: wg, addUser: Zg, alphabeticalAscending: Ag, alphabeticalDescending: $g, alphabeticalSort: Rg, alt: Eg, angle: Pg, api: zg, app: Yg, archive: Wg, arrow: Kg, attach: Jg, backInTime: nf, bcf: rf, building: af, burgerMenu: sf, calendar: df, caliper: Cf, camera: hf, cancelCamera: gf, check: Lf, chevron: mf, classificationCategorie: If, classificationElement: _f, click: Vf, close: Bf, cloud: wf, color: Zf, comment: Af, cursor: $f, dateAscending: Rf, dateDescending: Ef, default: Pf, delete: zf, deniedFile: Yf, deploy: Wf, detach: Kf, distance: Jf, doubleChevron: eL, down: tL, download: oL, drag: lL, edit: sL, ellipsis: dL, expanded: CL, explosion: hL, export: gL, exportIfc: LL, failed: mL, filter: IL, fitView: _L, folder: VL, folderMove: BL, folderOpen: wL, fullscreen: ZL, grid: AL, group: $L, hide: RL, ifc: EL, ifcFile: PL, import: zL, indexAscending: YL, indexDescending: WL, information: KL, inProgressFile: JL, invitation: ev, isolate: tv, key: ov, left: lv, linkedDocument: sv, list: dv, listManage: Cv, location: hv, lock: gv, logout: Lv, measure: mv, minus: Iv, model3d: _v, organization: Vv, parameters: Bv, path: wv, pieGraph: Zv, pipette: Av, plus: $v, project: Rv, quickSelect: Ev, readonlyFolder: Pv, redo: zv, reduced: Yv, refresh: Wv, reprocessIfc: Kv, reset: Jv, right: em, rules: tm, sandglass: om, save: lm, screenConfig: sm, screenshot: dm, search: Cm, section: hm, settings: gm, share: Lm, show: mm, showSelected: Im, smartview: _m, socotec: Vm, space: Bm, split: wm, storey: Zm, success: Am, surface: $m, swap: Rm, synchro2d: Em, system: Pm, tag: Gm, translate: Xm, tree: jm, unarchive: qm, undo: Qm, union: nM, up: rM, upload: aM, user: iM, validate: cM, validatedFile: uM, versioning: hM, video: gM, visa: LM, warning: mM, windowBottom: IM, windowed: _M, windowLeft: VM, windowRight: BM, windowTop: wM, zone: ZM, bcfPolychrome: AM, createWindowPolychrome: $M, docInfoPolychrome: RM, fileDwgPolychrome: EM, fileDxfPolychrome: PM, fileIfcPolychrome: zM, fileImagePolychrome: YM, fileJpegPolychrome: WM, filePdfPolychrome: KM, filePngPolychrome: JM, filePointCloudPolychrome: eI, filePlanPolychrome: tI, folderPolychrome: oI, structurePolychrome: lI, viewer2dPolychrome: sI, viewer3dPolychrome: dI }, uI = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
14405
14400
|
const A5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
14406
|
-
var
|
|
14401
|
+
var g2 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
14407
14402
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
14408
14403
|
}(S5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(S5).includes(e) }, color: { type: String, default: "default", validator: (e) => uI.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(A5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
14409
14404
|
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 };
|
|
@@ -14414,7 +14409,7 @@ var b2 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
14414
14409
|
return this.customSize ? this.customSize : A5[this.size];
|
|
14415
14410
|
} } };
|
|
14416
14411
|
const CI = ["fill", "color"];
|
|
14417
|
-
|
|
14412
|
+
Y1(`/* base COLORS --------------------------------------------- */
|
|
14418
14413
|
/* colors BRAND */
|
|
14419
14414
|
/* colors GREY SHADES - NEUTRAL */
|
|
14420
14415
|
/* color TEXT */
|
|
@@ -14483,7 +14478,7 @@ html[data-v-1312d4d1] {
|
|
|
14483
14478
|
/* base FONTS -------------------------------------- */
|
|
14484
14479
|
--primary-font: "roboto", sans-serif;
|
|
14485
14480
|
}`);
|
|
14486
|
-
|
|
14481
|
+
Y1(`.icon-fill--black {
|
|
14487
14482
|
fill: var(--color-black);
|
|
14488
14483
|
}
|
|
14489
14484
|
.icon-fill--default {
|
|
@@ -14566,10 +14561,10 @@ G1(`.icon-fill--black {
|
|
|
14566
14561
|
}
|
|
14567
14562
|
.icon-stroke--white {
|
|
14568
14563
|
stroke: var(--color-white);
|
|
14569
|
-
}`),
|
|
14570
|
-
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:
|
|
14571
|
-
},
|
|
14572
|
-
var
|
|
14564
|
+
}`), g2.render = function(e, n, o, l, s, i) {
|
|
14565
|
+
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: H(i.style) }, [(r(), B(f1(`bimdata-icon-${o.name}`)))], 14, CI);
|
|
14566
|
+
}, g2.__scopeId = "data-v-1312d4d1", g2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
14567
|
+
var f2 = { components: { BIMDataButton: b2, BIMDataIcon: g2 }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
14573
14568
|
this.distributeItems();
|
|
14574
14569
|
} }, mounted() {
|
|
14575
14570
|
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 });
|
|
@@ -14591,7 +14586,7 @@ var g2 = { components: { BIMDataButton: h2, BIMDataIcon: b2 }, props: { sliderPa
|
|
|
14591
14586
|
}
|
|
14592
14587
|
} } };
|
|
14593
14588
|
const pI = { class: "bimdata-carousel" }, hI = { class: "bimdata-carousel__container" };
|
|
14594
|
-
|
|
14589
|
+
Y1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
14595
14590
|
--button-size: 44px;
|
|
14596
14591
|
position: relative;
|
|
14597
14592
|
}
|
|
@@ -14621,14 +14616,14 @@ G1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
|
14621
14616
|
}
|
|
14622
14617
|
.bimdata-carousel__btn-next[data-v-b82c72c2] {
|
|
14623
14618
|
right: calc(0px - var(--button-size) / 2);
|
|
14624
|
-
}`),
|
|
14619
|
+
}`), f2.render = function(e, n, o, l, s, i) {
|
|
14625
14620
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
14626
|
-
return r(), a("div", pI, [j(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), [[
|
|
14627
|
-
},
|
|
14621
|
+
return r(), a("div", pI, [j(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), [[n1, s.index > 0]]), t("div", hI, [t("div", { class: "bimdata-carousel__container__slider", ref: "slider", style: H({ transform: `translateX(-${s.translations[s.index]}px)` }) }, [_(e.$slots, "default")], 4)]), j(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), [[n1, s.index < s.maxIndex]])]);
|
|
14622
|
+
}, f2.__scopeId = "data-v-b82c72c2", f2.__file = "src/BIMDataComponents/BIMDataCarousel/BIMDataCarousel.vue";
|
|
14628
14623
|
const bI = {
|
|
14629
14624
|
components: {
|
|
14630
|
-
BcfTopicDefaultImage:
|
|
14631
|
-
BIMDataCarousel:
|
|
14625
|
+
BcfTopicDefaultImage: C5,
|
|
14626
|
+
BIMDataCarousel: f2,
|
|
14632
14627
|
BIMDataIcon: Q
|
|
14633
14628
|
},
|
|
14634
14629
|
props: {
|
|
@@ -14645,7 +14640,7 @@ const bI = {
|
|
|
14645
14640
|
"view-topic-viewpoint"
|
|
14646
14641
|
],
|
|
14647
14642
|
setup(e) {
|
|
14648
|
-
const n =
|
|
14643
|
+
const n = E(
|
|
14649
14644
|
() => (e.topic.viewpoints ?? []).filter((l) => l.snapshot).map((l) => {
|
|
14650
14645
|
var s;
|
|
14651
14646
|
return {
|
|
@@ -14656,24 +14651,24 @@ const bI = {
|
|
|
14656
14651
|
);
|
|
14657
14652
|
return {
|
|
14658
14653
|
// References
|
|
14659
|
-
statusColor:
|
|
14660
|
-
() =>
|
|
14654
|
+
statusColor: E(
|
|
14655
|
+
() => d5(e.topic, e.detailedExtensions)
|
|
14661
14656
|
),
|
|
14662
14657
|
viewpoints: n,
|
|
14663
14658
|
// Methods
|
|
14664
|
-
adjustTextColor:
|
|
14659
|
+
adjustTextColor: y2
|
|
14665
14660
|
};
|
|
14666
14661
|
}
|
|
14667
14662
|
}, gI = ["src", "onClick"];
|
|
14668
14663
|
function fI(e, n, o, l, s, i) {
|
|
14669
14664
|
const c = g("BIMDataIcon"), u = g("BIMDataCarousel"), d = g("BcfTopicDefaultImage");
|
|
14670
14665
|
return r(), a("div", {
|
|
14671
|
-
class:
|
|
14666
|
+
class: V(["bcf-topic-viewpoints", { empty: l.viewpoints.length === 0 }])
|
|
14672
14667
|
}, [
|
|
14673
14668
|
o.topic.topic_status ? (r(), a("div", {
|
|
14674
14669
|
key: 0,
|
|
14675
14670
|
class: "status-badge",
|
|
14676
|
-
style:
|
|
14671
|
+
style: H({
|
|
14677
14672
|
backgroundColor: `#${l.statusColor}`,
|
|
14678
14673
|
color: l.adjustTextColor(`#${l.statusColor}`, "#FFF", "#2F374A")
|
|
14679
14674
|
})
|
|
@@ -14685,12 +14680,12 @@ function fI(e, n, o, l, s, i) {
|
|
|
14685
14680
|
}),
|
|
14686
14681
|
t("span", null, b(o.topic.topic_status), 1)
|
|
14687
14682
|
], 4)) : M("", !0),
|
|
14688
|
-
l.viewpoints.length > 0 ? (r(),
|
|
14683
|
+
l.viewpoints.length > 0 ? (r(), B(u, {
|
|
14689
14684
|
key: 1,
|
|
14690
14685
|
sliderPadding: 0
|
|
14691
14686
|
}, {
|
|
14692
14687
|
default: f(() => [
|
|
14693
|
-
(r(!0), a(
|
|
14688
|
+
(r(!0), a(O, null, W(l.viewpoints, (C) => (r(), a("div", {
|
|
14694
14689
|
class: "snapshot-preview",
|
|
14695
14690
|
key: C.guid
|
|
14696
14691
|
}, [
|
|
@@ -14699,7 +14694,7 @@ function fI(e, n, o, l, s, i) {
|
|
|
14699
14694
|
src: C.snapshot.snapshot_data,
|
|
14700
14695
|
onClick: (L) => e.$emit("view-topic-viewpoint", C)
|
|
14701
14696
|
}, null, 8, gI)) : M("", !0),
|
|
14702
|
-
C.icon ? (r(),
|
|
14697
|
+
C.icon ? (r(), B(c, {
|
|
14703
14698
|
key: 1,
|
|
14704
14699
|
class: "icon",
|
|
14705
14700
|
name: C.icon,
|
|
@@ -14708,22 +14703,22 @@ function fI(e, n, o, l, s, i) {
|
|
|
14708
14703
|
]))), 128))
|
|
14709
14704
|
]),
|
|
14710
14705
|
_: 1
|
|
14711
|
-
})) : (r(),
|
|
14706
|
+
})) : (r(), B(d, {
|
|
14712
14707
|
key: 2,
|
|
14713
14708
|
class: "default-image"
|
|
14714
14709
|
}))
|
|
14715
14710
|
], 2);
|
|
14716
14711
|
}
|
|
14717
|
-
const LI = /* @__PURE__ */
|
|
14712
|
+
const LI = /* @__PURE__ */ G(bI, [["render", fI], ["__scopeId", "data-v-0859a8a6"]]);
|
|
14718
14713
|
const vI = {
|
|
14719
14714
|
components: {
|
|
14720
14715
|
BcfTopicComments: _g,
|
|
14721
|
-
BcfTopicDefaultImage:
|
|
14716
|
+
BcfTopicDefaultImage: C5,
|
|
14722
14717
|
BcfTopicViewpoints: LI,
|
|
14723
14718
|
BIMDataButton: J,
|
|
14724
14719
|
BIMDataIcon: Q,
|
|
14725
14720
|
BIMDataLoading: g1,
|
|
14726
|
-
BIMDataSafeZoneModal:
|
|
14721
|
+
BIMDataSafeZoneModal: S1,
|
|
14727
14722
|
BIMDataTextbox: d1
|
|
14728
14723
|
},
|
|
14729
14724
|
props: {
|
|
@@ -14766,10 +14761,10 @@ const vI = {
|
|
|
14766
14761
|
"view-topic-viewpoint"
|
|
14767
14762
|
],
|
|
14768
14763
|
setup(e, { emit: n }) {
|
|
14769
|
-
const o =
|
|
14764
|
+
const o = z1(), l = w(!1), s = w(!1), i = E(() => H1(e.topic, e.detailedExtensions)), c = E(() => {
|
|
14770
14765
|
var h, m, v;
|
|
14771
14766
|
return ((v = (m = (h = e.topic.viewpoints) == null ? void 0 : h[0]) == null ? void 0 : m.components) == null ? void 0 : v.selection) ?? [];
|
|
14772
|
-
}), u =
|
|
14767
|
+
}), u = E(() => Array.from(e.topic.labels ?? []).sort()), d = w(""), C = async () => {
|
|
14773
14768
|
d.value = (await o.fetchCurrentUser()).email ?? "";
|
|
14774
14769
|
}, L = async () => {
|
|
14775
14770
|
try {
|
|
@@ -14780,7 +14775,7 @@ const vI = {
|
|
|
14780
14775
|
l.value = !1;
|
|
14781
14776
|
}
|
|
14782
14777
|
};
|
|
14783
|
-
return
|
|
14778
|
+
return i5(() => C()), {
|
|
14784
14779
|
// References
|
|
14785
14780
|
currentUserEmail: d,
|
|
14786
14781
|
loading: l,
|
|
@@ -14789,7 +14784,7 @@ const vI = {
|
|
|
14789
14784
|
topicLabels: u,
|
|
14790
14785
|
topicObjects: c,
|
|
14791
14786
|
// Methods
|
|
14792
|
-
adjustTextColor:
|
|
14787
|
+
adjustTextColor: y2,
|
|
14793
14788
|
deleteTopic: L
|
|
14794
14789
|
};
|
|
14795
14790
|
}
|
|
@@ -14804,7 +14799,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14804
14799
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicViewpoints"), L = g("BcfTopicComments"), h = g("BIMDataSafeZoneModal"), m = g("BIMDataLoading");
|
|
14805
14800
|
return r(), a("div", mI, [
|
|
14806
14801
|
t("div", MI, [
|
|
14807
|
-
o.uiConfig.backButton ? (r(),
|
|
14802
|
+
o.uiConfig.backButton ? (r(), B(u, {
|
|
14808
14803
|
key: 0,
|
|
14809
14804
|
ghost: "",
|
|
14810
14805
|
rounded: "",
|
|
@@ -14828,7 +14823,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14828
14823
|
}, null, 8, ["text"])
|
|
14829
14824
|
]),
|
|
14830
14825
|
t("div", yI, [
|
|
14831
|
-
o.uiConfig.editButton ? (r(),
|
|
14826
|
+
o.uiConfig.editButton ? (r(), B(u, {
|
|
14832
14827
|
key: 0,
|
|
14833
14828
|
ghost: "",
|
|
14834
14829
|
rounded: "",
|
|
@@ -14843,7 +14838,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14843
14838
|
]),
|
|
14844
14839
|
_: 1
|
|
14845
14840
|
})) : M("", !0),
|
|
14846
|
-
o.uiConfig.deleteButton ? (r(),
|
|
14841
|
+
o.uiConfig.deleteButton ? (r(), B(u, {
|
|
14847
14842
|
key: 1,
|
|
14848
14843
|
ghost: "",
|
|
14849
14844
|
rounded: "",
|
|
@@ -14858,7 +14853,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14858
14853
|
]),
|
|
14859
14854
|
_: 1
|
|
14860
14855
|
})) : M("", !0),
|
|
14861
|
-
o.uiConfig.closeButton ? (r(),
|
|
14856
|
+
o.uiConfig.closeButton ? (r(), B(u, {
|
|
14862
14857
|
key: 2,
|
|
14863
14858
|
ghost: "",
|
|
14864
14859
|
rounded: "",
|
|
@@ -14881,7 +14876,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14881
14876
|
t("div", HI, [
|
|
14882
14877
|
t("div", {
|
|
14883
14878
|
class: "bcf-topic-overview__content__head__index",
|
|
14884
|
-
style:
|
|
14879
|
+
style: H({
|
|
14885
14880
|
backgroundColor: `#${l.priorityColor}`,
|
|
14886
14881
|
color: l.adjustTextColor(`#${l.priorityColor}`, "#FFF", "#2F374A")
|
|
14887
14882
|
})
|
|
@@ -14893,7 +14888,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14893
14888
|
topic: o.topic,
|
|
14894
14889
|
onViewTopicViewpoint: n[4] || (n[4] = (v) => e.$emit("view-topic-viewpoint", v))
|
|
14895
14890
|
}, null, 8, ["detailedExtensions", "topic"]),
|
|
14896
|
-
o.uiConfig.viewerMode ? (r(),
|
|
14891
|
+
o.uiConfig.viewerMode ? (r(), B(u, {
|
|
14897
14892
|
key: 0,
|
|
14898
14893
|
width: "100%",
|
|
14899
14894
|
fill: "",
|
|
@@ -14907,14 +14902,14 @@ function oy(e, n, o, l, s, i) {
|
|
|
14907
14902
|
size: "xs",
|
|
14908
14903
|
margin: "0 6px 0 0"
|
|
14909
14904
|
}),
|
|
14910
|
-
l.topicObjects.length > 0 ? (r(), a(
|
|
14905
|
+
l.topicObjects.length > 0 ? (r(), a(O, { key: 0 }, [
|
|
14911
14906
|
A(b(e.$t("BcfComponents.BcfTopicOverview.elements", { count: l.topicObjects.length })), 1)
|
|
14912
|
-
], 64)) : (r(), a(
|
|
14907
|
+
], 64)) : (r(), a(O, { key: 1 }, [
|
|
14913
14908
|
A(b(e.$t("BcfComponents.BcfTopicOverview.noElements")), 1)
|
|
14914
14909
|
], 64))
|
|
14915
14910
|
]),
|
|
14916
14911
|
_: 1
|
|
14917
|
-
}, 8, ["disabled"])) : (r(),
|
|
14912
|
+
}, 8, ["disabled"])) : (r(), B(u, {
|
|
14918
14913
|
key: 1,
|
|
14919
14914
|
width: "100%",
|
|
14920
14915
|
color: "primary",
|
|
@@ -14969,7 +14964,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14969
14964
|
t("span", KI, b(e.$t("BcfComponents.BcfTopicOverview.priority")), 1),
|
|
14970
14965
|
t("span", {
|
|
14971
14966
|
class: "value",
|
|
14972
|
-
style:
|
|
14967
|
+
style: H({ color: `#${l.priorityColor}` })
|
|
14973
14968
|
}, b(o.topic.priority || e.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 5)
|
|
14974
14969
|
]),
|
|
14975
14970
|
t("div", qI, [
|
|
@@ -14992,7 +14987,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14992
14987
|
onViewCommentSnapshot: n[10] || (n[10] = (v) => e.$emit("view-comment-snapshot", v))
|
|
14993
14988
|
}, null, 8, ["uiConfig", "project", "topic", "currentUserEmail"])
|
|
14994
14989
|
]),
|
|
14995
|
-
l.showDeleteModal ? (r(),
|
|
14990
|
+
l.showDeleteModal ? (r(), B(h, {
|
|
14996
14991
|
key: 0,
|
|
14997
14992
|
class: "delete-modal"
|
|
14998
14993
|
}, {
|
|
@@ -15031,7 +15026,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
15031
15026
|
])) : M("", !0)
|
|
15032
15027
|
]);
|
|
15033
15028
|
}
|
|
15034
|
-
const ay = /* @__PURE__ */
|
|
15029
|
+
const ay = /* @__PURE__ */ G(vI, [["render", oy], ["__scopeId", "data-v-2ab6fce5"]]), T5 = [
|
|
15035
15030
|
{
|
|
15036
15031
|
id: "index",
|
|
15037
15032
|
label: "#",
|
|
@@ -15069,13 +15064,13 @@ const ay = /* @__PURE__ */ Y(vI, [["render", oy], ["__scopeId", "data-v-2ab6fce5
|
|
|
15069
15064
|
align: "center"
|
|
15070
15065
|
}
|
|
15071
15066
|
];
|
|
15072
|
-
var ly = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
15067
|
+
var ly = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), L2 = { 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) => ly.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
15073
15068
|
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 };
|
|
15074
15069
|
}, style() {
|
|
15075
15070
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
15076
15071
|
} } };
|
|
15077
15072
|
const iy = ["color"];
|
|
15078
|
-
function
|
|
15073
|
+
function t1(e, n) {
|
|
15079
15074
|
n === void 0 && (n = {});
|
|
15080
15075
|
var o = n.insertAt;
|
|
15081
15076
|
if (e && typeof document < "u") {
|
|
@@ -15083,7 +15078,7 @@ function n1(e, n) {
|
|
|
15083
15078
|
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));
|
|
15084
15079
|
}
|
|
15085
15080
|
}
|
|
15086
|
-
|
|
15081
|
+
t1(`/* base COLORS --------------------------------------------- */
|
|
15087
15082
|
/* colors BRAND */
|
|
15088
15083
|
/* colors GREY SHADES - NEUTRAL */
|
|
15089
15084
|
/* color TEXT */
|
|
@@ -15241,7 +15236,7 @@ html[data-v-3f903003] {
|
|
|
15241
15236
|
.primary-font[data-v-3f903003] {
|
|
15242
15237
|
font-family: "roboto", sans-serif;
|
|
15243
15238
|
}`);
|
|
15244
|
-
|
|
15239
|
+
t1(`.bimdata-btn {
|
|
15245
15240
|
padding: 0 var(--spacing-unit);
|
|
15246
15241
|
height: -webkit-fit-content;
|
|
15247
15242
|
height: -moz-fit-content;
|
|
@@ -15544,10 +15539,10 @@ n1(`.bimdata-btn {
|
|
|
15544
15539
|
.bimdata-btn__ghost:disabled {
|
|
15545
15540
|
color: var(--color-silver-dark);
|
|
15546
15541
|
cursor: auto;
|
|
15547
|
-
}`),
|
|
15548
|
-
return r(), a("button", { class:
|
|
15549
|
-
},
|
|
15550
|
-
var
|
|
15542
|
+
}`), L2.render = function(e, n, o, l, s, i) {
|
|
15543
|
+
return r(), a("button", { class: V(["bimdata-btn", i.classes]), style: H(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [_(e.$slots, "default")], 14, iy);
|
|
15544
|
+
}, L2.__scopeId = "data-v-3f903003", L2.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
15545
|
+
var v2 = { 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() {
|
|
15551
15546
|
return this.modelValue === null;
|
|
15552
15547
|
}, checked() {
|
|
15553
15548
|
return this.modelValue === !0 || this.indeterminate;
|
|
@@ -15557,7 +15552,7 @@ var L2 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue
|
|
|
15557
15552
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
15558
15553
|
} } };
|
|
15559
15554
|
const sy = ((e) => (C1("data-v-34d34265"), e = e(), p1(), e))(() => t("span", { class: "bimdata-checkbox__mark" }, null, -1)), cy = { key: 0, class: "bimdata-checkbox__text" };
|
|
15560
|
-
|
|
15555
|
+
t1(`/* base COLORS --------------------------------------------- */
|
|
15561
15556
|
/* colors BRAND */
|
|
15562
15557
|
/* colors GREY SHADES - NEUTRAL */
|
|
15563
15558
|
/* color TEXT */
|
|
@@ -15715,7 +15710,7 @@ html[data-v-34d34265] {
|
|
|
15715
15710
|
.primary-font[data-v-34d34265] {
|
|
15716
15711
|
font-family: "roboto", sans-serif;
|
|
15717
15712
|
}`);
|
|
15718
|
-
|
|
15713
|
+
t1(`.bimdata-checkbox {
|
|
15719
15714
|
position: relative;
|
|
15720
15715
|
display: -webkit-box;
|
|
15721
15716
|
display: -ms-flexbox;
|
|
@@ -15802,24 +15797,24 @@ n1(`.bimdata-checkbox {
|
|
|
15802
15797
|
}
|
|
15803
15798
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
15804
15799
|
background-color: var(--color-silver-dark);
|
|
15805
|
-
}`),
|
|
15806
|
-
return r(), a("div",
|
|
15807
|
-
},
|
|
15800
|
+
}`), v2.render = function(e, n, o, l, s, i) {
|
|
15801
|
+
return r(), a("div", O1({ class: ["bimdata-checkbox", { indeterminate: i.indeterminate, disabled: o.disabled, checked: i.checked }], onClick: n[0] || (n[0] = (...c) => i.onClick && i.onClick(...c)), style: i.style }, e.$attrs), [sy, o.text ? (r(), a("span", cy, [_(e.$slots, "default", {}, () => [A(b(o.text), 1)])])) : M("v-if", !0)], 16);
|
|
15802
|
+
}, v2.__scopeId = "data-v-34d34265", v2.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
15808
15803
|
const dy = { "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" }, uy = { render: function(e, n) {
|
|
15809
15804
|
return r(), a("path", dy);
|
|
15810
15805
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
15811
15806
|
var Cy = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
15812
15807
|
const $5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
15813
|
-
var
|
|
15808
|
+
var B2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: { color: { type: String, default: "default", validator: (o) => Cy.includes(o) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (o) => Object.keys($5).includes(o) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
15814
15809
|
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 };
|
|
15815
15810
|
}, style() {
|
|
15816
15811
|
const o = this.getPixelSize(this.size);
|
|
15817
15812
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
15818
15813
|
} }, methods: { getPixelSize() {
|
|
15819
15814
|
return this.customSize ? this.customSize : $5[this.size];
|
|
15820
|
-
} } }),
|
|
15815
|
+
} } }), m2 = B2("Chevron", uy);
|
|
15821
15816
|
const py = ["fill", "color"];
|
|
15822
|
-
|
|
15817
|
+
t1(`/* base COLORS --------------------------------------------- */
|
|
15823
15818
|
/* colors BRAND */
|
|
15824
15819
|
/* colors GREY SHADES - NEUTRAL */
|
|
15825
15820
|
/* color TEXT */
|
|
@@ -15888,7 +15883,7 @@ html[data-v-5e440aca] {
|
|
|
15888
15883
|
/* base FONTS -------------------------------------- */
|
|
15889
15884
|
--primary-font: "roboto", sans-serif;
|
|
15890
15885
|
}`);
|
|
15891
|
-
|
|
15886
|
+
t1(`.icon-fill--black {
|
|
15892
15887
|
fill: var(--color-black);
|
|
15893
15888
|
}
|
|
15894
15889
|
.icon-fill--default {
|
|
@@ -15971,16 +15966,16 @@ n1(`.icon-fill--black {
|
|
|
15971
15966
|
}
|
|
15972
15967
|
.icon-stroke--white {
|
|
15973
15968
|
stroke: var(--color-white);
|
|
15974
|
-
}`),
|
|
15969
|
+
}`), m2.render = function(e, n, o, l, s, i) {
|
|
15975
15970
|
const c = g("Chevron");
|
|
15976
|
-
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:
|
|
15977
|
-
},
|
|
15971
|
+
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: H(e.style) }, [p(c)], 14, py);
|
|
15972
|
+
}, m2.__scopeId = "data-v-5e440aca", m2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
15978
15973
|
const hy = { "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" }, by = { render: function(e, n) {
|
|
15979
15974
|
return r(), a("path", hy);
|
|
15980
15975
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
15981
|
-
var
|
|
15976
|
+
var N2 = B2("DoubleChevron", by);
|
|
15982
15977
|
const gy = ["fill", "color"];
|
|
15983
|
-
|
|
15978
|
+
t1(`/* base COLORS --------------------------------------------- */
|
|
15984
15979
|
/* colors BRAND */
|
|
15985
15980
|
/* colors GREY SHADES - NEUTRAL */
|
|
15986
15981
|
/* color TEXT */
|
|
@@ -16049,7 +16044,7 @@ html[data-v-859297ec] {
|
|
|
16049
16044
|
/* base FONTS -------------------------------------- */
|
|
16050
16045
|
--primary-font: "roboto", sans-serif;
|
|
16051
16046
|
}`);
|
|
16052
|
-
|
|
16047
|
+
t1(`.icon-fill--black {
|
|
16053
16048
|
fill: var(--color-black);
|
|
16054
16049
|
}
|
|
16055
16050
|
.icon-fill--default {
|
|
@@ -16132,16 +16127,16 @@ n1(`.icon-fill--black {
|
|
|
16132
16127
|
}
|
|
16133
16128
|
.icon-stroke--white {
|
|
16134
16129
|
stroke: var(--color-white);
|
|
16135
|
-
}`),
|
|
16130
|
+
}`), N2.render = function(e, n, o, l, s, i) {
|
|
16136
16131
|
const c = g("DoubleChevron");
|
|
16137
|
-
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:
|
|
16138
|
-
},
|
|
16132
|
+
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: H(e.style) }, [p(c)], 14, gy);
|
|
16133
|
+
}, N2.__scopeId = "data-v-859297ec", N2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
16139
16134
|
const fy = { 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" }, Ly = { render: function(e, n) {
|
|
16140
16135
|
return r(), a("path", fy);
|
|
16141
16136
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
16142
|
-
var
|
|
16137
|
+
var R2 = B2("Close", Ly);
|
|
16143
16138
|
const vy = ["fill", "color"];
|
|
16144
|
-
|
|
16139
|
+
t1(`/* base COLORS --------------------------------------------- */
|
|
16145
16140
|
/* colors BRAND */
|
|
16146
16141
|
/* colors GREY SHADES - NEUTRAL */
|
|
16147
16142
|
/* color TEXT */
|
|
@@ -16210,7 +16205,7 @@ html[data-v-797f55d8] {
|
|
|
16210
16205
|
/* base FONTS -------------------------------------- */
|
|
16211
16206
|
--primary-font: "roboto", sans-serif;
|
|
16212
16207
|
}`);
|
|
16213
|
-
|
|
16208
|
+
t1(`.icon-fill--black {
|
|
16214
16209
|
fill: var(--color-black);
|
|
16215
16210
|
}
|
|
16216
16211
|
.icon-fill--default {
|
|
@@ -16293,16 +16288,16 @@ n1(`.icon-fill--black {
|
|
|
16293
16288
|
}
|
|
16294
16289
|
.icon-stroke--white {
|
|
16295
16290
|
stroke: var(--color-white);
|
|
16296
|
-
}`),
|
|
16291
|
+
}`), R2.render = function(e, n, o, l, s, i) {
|
|
16297
16292
|
const c = g("Close");
|
|
16298
|
-
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:
|
|
16299
|
-
},
|
|
16293
|
+
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: H(e.style) }, [p(c)], 14, vy);
|
|
16294
|
+
}, R2.__scopeId = "data-v-797f55d8", R2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
16300
16295
|
const my = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.4652C5.27332 14.4652 2.6301 11.822 2.6301 8.54753C2.6301 5.27309 5.27332 2.62986 8.54777 2.62986C11.8222 2.62986 14.4654 5.27309 14.4654 8.54753C14.4654 11.822 11.8222 14.4652 8.54777 14.4652ZM16.438 14.4654H15.3991L15.0309 14.1103C16.3196 12.6112 17.0955 10.665 17.0955 8.54774C17.0955 3.82676 13.2687 0 8.54774 0C3.82676 0 0 3.82676 0 8.54774C0 13.2687 3.82676 17.0955 8.54774 17.0955C10.665 17.0955 12.6112 16.3196 14.1103 15.0309L14.4654 15.3991V16.438L21.0406 23L23 21.0406L16.438 14.4654Z" }, My = { render: function(e, n) {
|
|
16301
16296
|
return r(), a("path", my);
|
|
16302
16297
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
16303
|
-
var
|
|
16298
|
+
var O2 = B2("Search", My);
|
|
16304
16299
|
const Iy = ["fill", "color"];
|
|
16305
|
-
|
|
16300
|
+
t1(`/* base COLORS --------------------------------------------- */
|
|
16306
16301
|
/* colors BRAND */
|
|
16307
16302
|
/* colors GREY SHADES - NEUTRAL */
|
|
16308
16303
|
/* color TEXT */
|
|
@@ -16371,7 +16366,7 @@ html[data-v-0993abf8] {
|
|
|
16371
16366
|
/* base FONTS -------------------------------------- */
|
|
16372
16367
|
--primary-font: "roboto", sans-serif;
|
|
16373
16368
|
}`);
|
|
16374
|
-
|
|
16369
|
+
t1(`.icon-fill--black {
|
|
16375
16370
|
fill: var(--color-black);
|
|
16376
16371
|
}
|
|
16377
16372
|
.icon-fill--default {
|
|
@@ -16454,30 +16449,30 @@ n1(`.icon-fill--black {
|
|
|
16454
16449
|
}
|
|
16455
16450
|
.icon-stroke--white {
|
|
16456
16451
|
stroke: var(--color-white);
|
|
16457
|
-
}`),
|
|
16452
|
+
}`), O2.render = function(e, n, o, l, s, i) {
|
|
16458
16453
|
const c = g("Search");
|
|
16459
|
-
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:
|
|
16460
|
-
},
|
|
16461
|
-
var
|
|
16462
|
-
const o =
|
|
16463
|
-
}, rowSelectionToggleEffect:
|
|
16464
|
-
}, fullSelectionToggleEffect:
|
|
16454
|
+
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: H(e.style) }, [p(c)], 14, Iy);
|
|
16455
|
+
}, O2.__scopeId = "data-v-0993abf8", O2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
16456
|
+
var M2 = { components: { BIMDataButton: L2, BIMDataCheckbox: v2, BIMDataIconChevron: m2 }, props: { columns: { type: Array, required: !0 }, rows: { type: Array, required: !0 }, rowKey: { type: String }, rowHeight: { type: Number, default: 50 }, selectable: { type: Boolean, default: !1 }, selection: { type: Map, default: () => /* @__PURE__ */ new Map() }, paginated: { type: Boolean, default: !1 }, perPage: { type: Number, default: 10 }, placeholder: { type: String, default: "" }, tableWidth: { type: String, default: "100%" }, tableLayout: { type: String, default: "auto" }, canDragOverRow: { type: Function, default: () => !1 } }, emits: ["update:selection", "selection-changed", "row-selected", "row-deselected", "all-selected", "all-deselected", "row-drop"], setup(e, { emit: n }) {
|
|
16457
|
+
const o = E(() => e.rows.map((h, m) => ({ key: h[e.rowKey] ?? m, data: h }))), { rowSelection: l, toggleRowSelection: s, toggleFullSelection: i } = function(h, m, { rowSelectionUpdateEffect: v = () => {
|
|
16458
|
+
}, rowSelectionToggleEffect: y = () => {
|
|
16459
|
+
}, fullSelectionToggleEffect: D = () => {
|
|
16465
16460
|
} } = {}) {
|
|
16466
16461
|
const $ = w(/* @__PURE__ */ new Map());
|
|
16467
16462
|
return c1(h, () => {
|
|
16468
|
-
$.value = new Map(h.value.filter(({ key: T }) => m.value.has(T)).map(({ key: T, data:
|
|
16463
|
+
$.value = new Map(h.value.filter(({ key: T }) => m.value.has(T)).map(({ key: T, data: x }) => [T, x]));
|
|
16469
16464
|
}, { immediate: !0 }), c1(m, () => {
|
|
16470
16465
|
$.value = m.value;
|
|
16471
16466
|
}, { immediate: !0 }), c1($, () => {
|
|
16472
16467
|
v($.value);
|
|
16473
|
-
}), { rowSelection: $, toggleRowSelection: ({ key: T, data:
|
|
16468
|
+
}), { rowSelection: $, toggleRowSelection: ({ key: T, data: x }) => {
|
|
16474
16469
|
const U = () => $.value.has(T);
|
|
16475
|
-
U() ? $.value.delete(T) : $.value.set(T,
|
|
16470
|
+
U() ? $.value.delete(T) : $.value.set(T, x), $.value = new Map([...$.value.entries()]), y(U(), { key: T, data: x });
|
|
16476
16471
|
}, toggleFullSelection: () => {
|
|
16477
16472
|
const T = () => $.value.size === h.value.length;
|
|
16478
|
-
T() ? $.value = /* @__PURE__ */ new Map() : $.value = new Map(h.value.map(({ key:
|
|
16473
|
+
T() ? $.value = /* @__PURE__ */ new Map() : $.value = new Map(h.value.map(({ key: x, data: U }) => [x, U])), D(T());
|
|
16479
16474
|
} };
|
|
16480
|
-
}(o,
|
|
16475
|
+
}(o, E(() => e.selection), { rowSelectionUpdateEffect: (h) => {
|
|
16481
16476
|
n("update:selection", h), n("selection-changed", Array.from(h.values()));
|
|
16482
16477
|
}, rowSelectionToggleEffect: (h, { data: m }) => {
|
|
16483
16478
|
n(h ? "row-selected" : "row-deselected", m);
|
|
@@ -16486,13 +16481,13 @@ var m2 = { components: { BIMDataButton: f2, BIMDataCheckbox: L2, BIMDataIconChev
|
|
|
16486
16481
|
} }), c = w([]), u = w(0), d = w(1), C = w(e.perPage);
|
|
16487
16482
|
c1([o, () => e.perPage], () => {
|
|
16488
16483
|
u.value = 0;
|
|
16489
|
-
}, { immediate: !0 }), c1([o, () => e.paginated, () => e.perPage, u], ([h, m, v,
|
|
16490
|
-
const
|
|
16484
|
+
}, { immediate: !0 }), c1([o, () => e.paginated, () => e.perPage, u], ([h, m, v, y]) => {
|
|
16485
|
+
const D = h.map(($) => $.key);
|
|
16491
16486
|
if (m) {
|
|
16492
|
-
const $ = v *
|
|
16493
|
-
c.value =
|
|
16487
|
+
const $ = v * y, T = $ + v;
|
|
16488
|
+
c.value = D.slice($, T), d.value = $ + 1, C.value = Math.min(T, h.length);
|
|
16494
16489
|
} else
|
|
16495
|
-
c.value =
|
|
16490
|
+
c.value = D;
|
|
16496
16491
|
}, { immediate: !0 });
|
|
16497
16492
|
const L = w(null);
|
|
16498
16493
|
return { computedRows: o, displayedRows: c, pageIndex: u, pageIndexEnd: C, pageIndexStart: d, rowSelection: l, dragOveredRowKey: L, onDrop: (h, m) => {
|
|
@@ -16508,7 +16503,7 @@ var m2 = { components: { BIMDataButton: f2, BIMDataCheckbox: L2, BIMDataIconChev
|
|
|
16508
16503
|
} };
|
|
16509
16504
|
} };
|
|
16510
16505
|
const yy = { class: "bimdata-table" }, _y = { key: 0, class: "cell-checkbox" }, Hy = { key: "head-row-1" }, Vy = ["colspan"], Dy = ["onDrop", "onDragover"], By = { key: 0, class: "cell-checkbox" }, ky = { class: "bimdata-table__page-nav__text" };
|
|
16511
|
-
|
|
16506
|
+
t1(`/* base COLORS --------------------------------------------- */
|
|
16512
16507
|
/* colors BRAND */
|
|
16513
16508
|
/* colors GREY SHADES - NEUTRAL */
|
|
16514
16509
|
/* color TEXT */
|
|
@@ -16643,10 +16638,10 @@ html[data-v-a29e0786] {
|
|
|
16643
16638
|
}
|
|
16644
16639
|
.bimdata-table__page-nav__text[data-v-a29e0786] {
|
|
16645
16640
|
margin: 0 var(--spacing-unit);
|
|
16646
|
-
}`),
|
|
16641
|
+
}`), M2.render = function(e, n, o, l, s, i) {
|
|
16647
16642
|
const c = g("BIMDataCheckbox"), u = g("BIMDataIconChevron"), d = g("BIMDataButton");
|
|
16648
|
-
return r(), a("div", yy, [t("div", { class: "bimdata-table__container", style:
|
|
16649
|
-
},
|
|
16643
|
+
return r(), a("div", yy, [t("div", { class: "bimdata-table__container", style: H({ height: o.paginated ? (o.perPage + 1) * o.rowHeight + "px" : void 0 }) }, [t("table", { style: H({ width: o.tableWidth, tableLayout: o.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: H({ height: `${o.rowHeight}px` }) }, [o.selectable ? (r(), a("th", _y, [p(c, { disabled: o.rows.length === 0, modelValue: o.rows.length > 0 && l.rowSelection.size === o.rows.length, "onUpdate:modelValue": l.toggleAll }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : M("v-if", !0), (r(!0), a(O, null, W(o.columns, (C, L) => (r(), a("th", { key: `head-row-0-col-${L}`, style: H({ width: C.width || "auto", textAlign: C.align || "left" }) }, b(C.id ? C.label || C.id : C), 5))), 128))], 4), t("tr", Hy, [t("th", { class: "cell-sub-header", colspan: o.columns.length + o.selectable }, [_(e.$slots, "sub-header")], 8, Vy)])]), t("tbody", { onDragleave: n[0] || (n[0] = (...C) => l.onDragleave && l.onDragleave(...C)) }, [(r(!0), a(O, null, W(l.computedRows, ({ key: C, data: L }) => j((r(), a("tr", { key: `body-row-${C}`, style: H({ height: `${o.rowHeight}px` }), onDrop: (h) => l.onDrop(L, h), onDragover: (h) => l.onDragover(C, L, h), class: V({ "bimdata-table__row--drag-overed": l.dragOveredRowKey === C }) }, [o.selectable ? (r(), a("td", By, [p(c, { modelValue: l.rowSelection.has(C), "onUpdate:modelValue": (h) => l.toggleRow({ key: C, data: L }) }, null, 8, ["modelValue", "onUpdate:modelValue"])])) : M("v-if", !0), (r(!0), a(O, null, W(o.columns, (h, m) => (r(), a("td", { key: `body-row-${C}-col-${m}`, style: H({ width: h.width || "auto", textAlign: h.align || "left" }) }, [_(e.$slots, `cell-${h.id}`, { row: L }, () => [A(b(L[h.id] || L[m]), 1)])], 4))), 128))], 46, Dy)), [[n1, l.displayedRows.includes(C)]])), 128))], 32)], 4), o.rows.length === 0 ? (r(), a("div", { key: 0, class: "bimdata-table__container__placeholder", style: H({ height: `calc(100% - ${o.rowHeight}px)` }) }, [_(e.$slots, "placeholder", {}, () => [A(b(o.placeholder), 1)])], 4)) : M("v-if", !0)], 4), o.paginated ? (r(), a("div", { key: 0, class: "bimdata-table__page-nav", style: H({ visibility: o.rows.length > o.perPage ? "visible" : "hidden" }) }, [p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexStart === 1, onClick: n[1] || (n[1] = (C) => l.pageIndex--) }, { default: f(() => [p(u, { size: "s", rotate: 180 })]), _: 1 }, 8, ["disabled"]), t("span", ky, b(`${l.pageIndexStart} - ${l.pageIndexEnd} / ${o.rows.length}`), 1), p(d, { ghost: "", rounded: "", icon: "", disabled: l.pageIndexEnd === o.rows.length, onClick: n[2] || (n[2] = (C) => l.pageIndex++) }, { default: f(() => [p(u, { size: "s" })]), _: 1 }, 8, ["disabled"])], 4)) : M("v-if", !0)]);
|
|
16644
|
+
}, M2.__scopeId = "data-v-a29e0786", M2.__file = "src/BIMDataComponents/BIMDataTable/BIMDataTable.vue";
|
|
16650
16645
|
const wy = {
|
|
16651
16646
|
components: {
|
|
16652
16647
|
BIMDataButton: J
|
|
@@ -16681,7 +16676,7 @@ function Zy(e, n, o, l, s, i) {
|
|
|
16681
16676
|
})
|
|
16682
16677
|
]);
|
|
16683
16678
|
}
|
|
16684
|
-
const Sy = /* @__PURE__ */
|
|
16679
|
+
const Sy = /* @__PURE__ */ G(wy, [["render", Zy], ["__scopeId", "data-v-ddc03e0d"]]);
|
|
16685
16680
|
const Ay = {
|
|
16686
16681
|
props: {
|
|
16687
16682
|
detailedExtensions: {
|
|
@@ -16696,8 +16691,8 @@ const Ay = {
|
|
|
16696
16691
|
setup(e) {
|
|
16697
16692
|
return {
|
|
16698
16693
|
// References
|
|
16699
|
-
priorityColor:
|
|
16700
|
-
() =>
|
|
16694
|
+
priorityColor: E(
|
|
16695
|
+
() => H1(e.topic, e.detailedExtensions)
|
|
16701
16696
|
)
|
|
16702
16697
|
};
|
|
16703
16698
|
}
|
|
@@ -16706,12 +16701,12 @@ function Ny(e, n, o, l, s, i) {
|
|
|
16706
16701
|
return r(), a("div", Ty, [
|
|
16707
16702
|
t("span", {
|
|
16708
16703
|
class: "left-stripe",
|
|
16709
|
-
style:
|
|
16704
|
+
style: H({ backgroundColor: `#${l.priorityColor}` })
|
|
16710
16705
|
}, null, 4),
|
|
16711
16706
|
t("span", $y, b(o.topic.index), 1)
|
|
16712
16707
|
]);
|
|
16713
16708
|
}
|
|
16714
|
-
const Ry = /* @__PURE__ */
|
|
16709
|
+
const Ry = /* @__PURE__ */ G(Ay, [["render", Ny], ["__scopeId", "data-v-2afda176"]]);
|
|
16715
16710
|
const Oy = {
|
|
16716
16711
|
props: {
|
|
16717
16712
|
detailedExtensions: {
|
|
@@ -16726,8 +16721,8 @@ const Oy = {
|
|
|
16726
16721
|
setup(e) {
|
|
16727
16722
|
return {
|
|
16728
16723
|
// References
|
|
16729
|
-
priorityColor:
|
|
16730
|
-
() =>
|
|
16724
|
+
priorityColor: E(
|
|
16725
|
+
() => H1(e.topic, e.detailedExtensions)
|
|
16731
16726
|
)
|
|
16732
16727
|
};
|
|
16733
16728
|
}
|
|
@@ -16735,10 +16730,10 @@ const Oy = {
|
|
|
16735
16730
|
function Ey(e, n, o, l, s, i) {
|
|
16736
16731
|
return r(), a("span", {
|
|
16737
16732
|
class: "bcf-topic-priority-cell",
|
|
16738
|
-
style:
|
|
16733
|
+
style: H({ color: `#${l.priorityColor}` })
|
|
16739
16734
|
}, b(o.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
|
|
16740
16735
|
}
|
|
16741
|
-
const Fy = /* @__PURE__ */
|
|
16736
|
+
const Fy = /* @__PURE__ */ G(Oy, [["render", Ey], ["__scopeId", "data-v-1d15fcf6"]]);
|
|
16742
16737
|
const Py = {
|
|
16743
16738
|
props: {
|
|
16744
16739
|
detailedExtensions: {
|
|
@@ -16753,32 +16748,32 @@ const Py = {
|
|
|
16753
16748
|
setup(e) {
|
|
16754
16749
|
return {
|
|
16755
16750
|
// References
|
|
16756
|
-
statusColor:
|
|
16757
|
-
() =>
|
|
16751
|
+
statusColor: E(
|
|
16752
|
+
() => d5(e.topic, e.detailedExtensions)
|
|
16758
16753
|
),
|
|
16759
16754
|
// Methods
|
|
16760
|
-
adjustTextColor:
|
|
16755
|
+
adjustTextColor: y2
|
|
16761
16756
|
};
|
|
16762
16757
|
}
|
|
16763
16758
|
};
|
|
16764
16759
|
function Uy(e, n, o, l, s, i) {
|
|
16765
16760
|
return r(), a("span", {
|
|
16766
16761
|
class: "bcf-topic-status-cell",
|
|
16767
|
-
style:
|
|
16762
|
+
style: H({
|
|
16768
16763
|
backgroundColor: `#${l.statusColor}`,
|
|
16769
16764
|
color: l.adjustTextColor(l.statusColor, "#ffffff", "var(--color-text)")
|
|
16770
16765
|
})
|
|
16771
16766
|
}, b(o.topic.topic_status), 5);
|
|
16772
16767
|
}
|
|
16773
|
-
const zy = /* @__PURE__ */
|
|
16768
|
+
const zy = /* @__PURE__ */ G(Py, [["render", Uy], ["__scopeId", "data-v-c2a5faf4"]]), Gy = {
|
|
16774
16769
|
components: {
|
|
16775
16770
|
BcfTopicActionsCell: Sy,
|
|
16776
16771
|
BcfTopicIndexCell: Ry,
|
|
16777
16772
|
BcfTopicPriorityCell: Fy,
|
|
16778
16773
|
BcfTopicStatusCell: zy,
|
|
16779
|
-
BIMDataTable:
|
|
16774
|
+
BIMDataTable: M2,
|
|
16780
16775
|
BIMDataTextbox: d1,
|
|
16781
|
-
BIMDataTooltip:
|
|
16776
|
+
BIMDataTooltip: A1,
|
|
16782
16777
|
UserAvatar: n3
|
|
16783
16778
|
},
|
|
16784
16779
|
props: {
|
|
@@ -16817,7 +16812,7 @@ const zy = /* @__PURE__ */ Y(Py, [["render", Uy], ["__scopeId", "data-v-c2a5faf4
|
|
|
16817
16812
|
setup(e) {
|
|
16818
16813
|
return {
|
|
16819
16814
|
// References
|
|
16820
|
-
displayedColumns:
|
|
16815
|
+
displayedColumns: E(
|
|
16821
16816
|
() => e.columns && e.columns.length > 0 ? T5.filter((l) => e.columns.includes(l.id)) : T5
|
|
16822
16817
|
),
|
|
16823
16818
|
// Methods
|
|
@@ -16832,12 +16827,12 @@ const zy = /* @__PURE__ */ Y(Py, [["render", Uy], ["__scopeId", "data-v-c2a5faf4
|
|
|
16832
16827
|
};
|
|
16833
16828
|
function Yy(e, n, o, l, s, i) {
|
|
16834
16829
|
const c = g("BcfTopicIndexCell"), u = g("BcfTopicPriorityCell"), d = g("BcfTopicStatusCell"), C = g("BIMDataTextbox"), L = g("UserAvatar"), h = g("BIMDataTooltip"), m = g("BcfTopicActionsCell"), v = g("BIMDataTable");
|
|
16835
|
-
return r(),
|
|
16830
|
+
return r(), B(v, {
|
|
16836
16831
|
class: "bcf-topics-table",
|
|
16837
16832
|
tableLayout: "fixed",
|
|
16838
|
-
columns: l.displayedColumns.map((
|
|
16839
|
-
...
|
|
16840
|
-
label:
|
|
16833
|
+
columns: l.displayedColumns.map((y) => ({
|
|
16834
|
+
...y,
|
|
16835
|
+
label: y.label || e.$t(`BcfComponents.BcfTopicsTable.headers.${y.id}`)
|
|
16841
16836
|
})),
|
|
16842
16837
|
rows: o.topics,
|
|
16843
16838
|
rowKey: "guid",
|
|
@@ -16846,38 +16841,38 @@ function Yy(e, n, o, l, s, i) {
|
|
|
16846
16841
|
rowHeight: 42,
|
|
16847
16842
|
selectable: o.selectable,
|
|
16848
16843
|
selection: o.selection,
|
|
16849
|
-
"onUpdate:selection": n[1] || (n[1] = (
|
|
16844
|
+
"onUpdate:selection": n[1] || (n[1] = (y) => e.$emit("update:selection", y))
|
|
16850
16845
|
}, {
|
|
16851
|
-
"cell-index": f(({ row:
|
|
16846
|
+
"cell-index": f(({ row: y }) => [
|
|
16852
16847
|
p(c, {
|
|
16853
16848
|
detailedExtensions: o.detailedExtensions,
|
|
16854
|
-
topic:
|
|
16849
|
+
topic: y
|
|
16855
16850
|
}, null, 8, ["detailedExtensions", "topic"])
|
|
16856
16851
|
]),
|
|
16857
|
-
"cell-priority": f(({ row:
|
|
16852
|
+
"cell-priority": f(({ row: y }) => [
|
|
16858
16853
|
p(u, {
|
|
16859
16854
|
detailedExtensions: o.detailedExtensions,
|
|
16860
|
-
topic:
|
|
16855
|
+
topic: y
|
|
16861
16856
|
}, null, 8, ["detailedExtensions", "topic"])
|
|
16862
16857
|
]),
|
|
16863
|
-
"cell-status": f(({ row:
|
|
16864
|
-
|
|
16858
|
+
"cell-status": f(({ row: y }) => [
|
|
16859
|
+
y.topic_status ? (r(), B(d, {
|
|
16865
16860
|
key: 0,
|
|
16866
16861
|
detailedExtensions: o.detailedExtensions,
|
|
16867
|
-
topic:
|
|
16862
|
+
topic: y
|
|
16868
16863
|
}, null, 8, ["detailedExtensions", "topic"])) : M("", !0)
|
|
16869
16864
|
]),
|
|
16870
|
-
"cell-title": f(({ row:
|
|
16865
|
+
"cell-title": f(({ row: y }) => [
|
|
16871
16866
|
p(C, {
|
|
16872
16867
|
maxWidth: "100%",
|
|
16873
|
-
text:
|
|
16868
|
+
text: y.title
|
|
16874
16869
|
}, null, 8, ["text"])
|
|
16875
16870
|
]),
|
|
16876
|
-
"cell-creator": f(({ row: { creator:
|
|
16877
|
-
p(h, { text:
|
|
16871
|
+
"cell-creator": f(({ row: { creator: y, creation_author: D } }) => [
|
|
16872
|
+
p(h, { text: D }, {
|
|
16878
16873
|
default: f(() => [
|
|
16879
16874
|
p(L, {
|
|
16880
|
-
user:
|
|
16875
|
+
user: y || {},
|
|
16881
16876
|
size: 30,
|
|
16882
16877
|
color: "silver-light",
|
|
16883
16878
|
style: { margin: "auto" }
|
|
@@ -16886,19 +16881,19 @@ function Yy(e, n, o, l, s, i) {
|
|
|
16886
16881
|
_: 2
|
|
16887
16882
|
}, 1032, ["text"])
|
|
16888
16883
|
]),
|
|
16889
|
-
"cell-date": f(({ row:
|
|
16890
|
-
A(b(l.toShortDateFormat(
|
|
16884
|
+
"cell-date": f(({ row: y }) => [
|
|
16885
|
+
A(b(l.toShortDateFormat(y.creation_date)), 1)
|
|
16891
16886
|
]),
|
|
16892
|
-
"cell-actions": f(({ row:
|
|
16887
|
+
"cell-actions": f(({ row: y }) => [
|
|
16893
16888
|
p(m, {
|
|
16894
|
-
topic:
|
|
16895
|
-
onOpenTopic: n[0] || (n[0] = (
|
|
16889
|
+
topic: y,
|
|
16890
|
+
onOpenTopic: n[0] || (n[0] = (D) => e.$emit("open-topic", D))
|
|
16896
16891
|
}, null, 8, ["topic"])
|
|
16897
16892
|
]),
|
|
16898
16893
|
_: 1
|
|
16899
16894
|
}, 8, ["columns", "rows", "paginated", "perPage", "selectable", "selection"]);
|
|
16900
16895
|
}
|
|
16901
|
-
const Xy = /* @__PURE__ */
|
|
16896
|
+
const Xy = /* @__PURE__ */ G(Gy, [["render", Yy]]), o_ = {
|
|
16902
16897
|
BcfFilters: te,
|
|
16903
16898
|
BcfSettings: Re,
|
|
16904
16899
|
BcfStatistics: Dn,
|
|
@@ -16920,8 +16915,8 @@ export {
|
|
|
16920
16915
|
o_ as components,
|
|
16921
16916
|
jy as config,
|
|
16922
16917
|
Ky as createService,
|
|
16923
|
-
|
|
16924
|
-
|
|
16918
|
+
H1 as getPriorityColor,
|
|
16919
|
+
d5 as getStatusColor,
|
|
16925
16920
|
B3 as getViewpointConfig,
|
|
16926
16921
|
e_ as getViewpointModels,
|
|
16927
16922
|
D3 as getViewpointType,
|
|
@@ -16929,5 +16924,5 @@ export {
|
|
|
16929
16924
|
H3 as useBcfFilter,
|
|
16930
16925
|
Jy as useBcfSearch,
|
|
16931
16926
|
Qy as useBcfSort,
|
|
16932
|
-
|
|
16927
|
+
z1 as useService
|
|
16933
16928
|
};
|