@bimdata/bcf-components 4.1.1 → 4.1.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue2/bcf-components.mjs +1785 -1798
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +815 -813
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as
|
|
3
|
-
const
|
|
2
|
+
import { reactive as t3, computed as F, ref as w, watch as c1, openBlock as r, createElementBlock as a, normalizeClass as D, normalizeStyle as V, renderSlot as y, createElementVNode as t, createBlock as k, resolveDynamicComponent as f1, pushScopeId as C1, popScopeId as p1, mergeProps as R1, toDisplayString as b, createCommentVNode as M, createTextVNode as A, resolveComponent as g, createVNode as p, resolveDirective as O1, withDirectives as j, Transition as a1, withCtx as f, Fragment as E, renderList as W, vShow as e1, toRaw as g5, withModifiers as N, withKeys as S, createSlots as a5, createStaticVNode as N5, inject as T1, onMounted as l5, onBeforeUnmount as R5 } from "vue";
|
|
3
|
+
const O5 = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
6
6
|
"Stage",
|
|
7
7
|
"Status",
|
|
8
8
|
"Label"
|
|
9
|
-
]),
|
|
9
|
+
]), E5 = Object.freeze([
|
|
10
10
|
"Priority",
|
|
11
11
|
"Status"
|
|
12
|
-
]),
|
|
12
|
+
]), F5 = Object.freeze({
|
|
13
13
|
Priority: "priority",
|
|
14
14
|
Type: "topic_type",
|
|
15
15
|
Stage: "stage",
|
|
16
16
|
Status: "topic_status",
|
|
17
17
|
Label: "label"
|
|
18
|
-
}),
|
|
18
|
+
}), P5 = Object.freeze({
|
|
19
19
|
Priority: "priorities",
|
|
20
20
|
Type: "topic_types",
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}), i5 = "D8D8D8",
|
|
24
|
+
}), i5 = "D8D8D8", U5 = "D8D8D8", E1 = "originating_system", F1 = "authoring_tool_id", v1 = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
PTC: "pointCloud",
|
|
27
27
|
V2D: "ifc2d",
|
|
@@ -60,16 +60,16 @@ const E5 = Object.freeze([
|
|
|
60
60
|
}), jy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61
61
|
__proto__: null,
|
|
62
62
|
DEFAULT_PRIORITY_COLOR: i5,
|
|
63
|
-
DEFAULT_STATUS_COLOR:
|
|
64
|
-
EXTENSION_FIELDS:
|
|
65
|
-
EXTENSION_LIST_FIELDS:
|
|
66
|
-
EXTENSION_TYPES:
|
|
67
|
-
EXTENSION_WITH_COLOR:
|
|
63
|
+
DEFAULT_STATUS_COLOR: U5,
|
|
64
|
+
EXTENSION_FIELDS: F5,
|
|
65
|
+
EXTENSION_LIST_FIELDS: P5,
|
|
66
|
+
EXTENSION_TYPES: O5,
|
|
67
|
+
EXTENSION_WITH_COLOR: E5,
|
|
68
68
|
VIEWPOINT_CONFIG: P1,
|
|
69
69
|
VIEWPOINT_MODELS_FIELD: F1,
|
|
70
70
|
VIEWPOINT_TYPES: v1,
|
|
71
71
|
VIEWPOINT_TYPE_FIELD: E1
|
|
72
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
72
|
+
}, Symbol.toStringTag, { value: "Module" })), r3 = Object.freeze({
|
|
73
73
|
bisque: "ffe4c4",
|
|
74
74
|
orange: "ffa500",
|
|
75
75
|
coral: "ff7f50",
|
|
@@ -100,17 +100,17 @@ const E5 = Object.freeze([
|
|
|
100
100
|
darkgray: "a9a9a9",
|
|
101
101
|
grey: "7a7a7a",
|
|
102
102
|
black: "000000"
|
|
103
|
-
}),
|
|
103
|
+
}), o3 = [
|
|
104
104
|
"bisque",
|
|
105
105
|
"khaki",
|
|
106
106
|
"greenyellow",
|
|
107
107
|
"lightcyan",
|
|
108
108
|
"mistyrose",
|
|
109
109
|
"whitesmoke"
|
|
110
|
-
], f5 = Object.entries(
|
|
111
|
-
([e]) => !
|
|
110
|
+
], f5 = Object.entries(r3).filter(
|
|
111
|
+
([e]) => !o3.includes(e)
|
|
112
112
|
);
|
|
113
|
-
function
|
|
113
|
+
function a3() {
|
|
114
114
|
const e = Math.floor(Math.random() * f5.length);
|
|
115
115
|
return f5[e][1];
|
|
116
116
|
}
|
|
@@ -118,13 +118,13 @@ function I2(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
|
}
|
|
121
|
-
function
|
|
121
|
+
function l3(e, n) {
|
|
122
122
|
return "#" + e.replace(/^#/, "").replace(
|
|
123
123
|
/../g,
|
|
124
124
|
(o) => ("0" + Math.min(255, Math.max(0, parseInt(o, 16) + n)).toString(16)).slice(-2)
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function i3(e) {
|
|
128
128
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
129
129
|
}
|
|
130
130
|
var O2 = { exports: {} }, E2 = { exports: {} }, F2 = { exports: {} };
|
|
@@ -143,7 +143,7 @@ var O2 = { exports: {} }, E2 = { exports: {} }, F2 = { exports: {} };
|
|
|
143
143
|
}
|
|
144
144
|
e.exports = n.default;
|
|
145
145
|
})(F2, F2.exports);
|
|
146
|
-
var
|
|
146
|
+
var s3 = F2.exports, P2 = { exports: {} }, U2 = { exports: {} };
|
|
147
147
|
(function(e, n) {
|
|
148
148
|
Object.defineProperty(n, "__esModule", {
|
|
149
149
|
value: !0
|
|
@@ -153,7 +153,7 @@ var c3 = F2.exports, P2 = { exports: {} }, U2 = { exports: {} };
|
|
|
153
153
|
}
|
|
154
154
|
e.exports = n.default;
|
|
155
155
|
})(U2, U2.exports);
|
|
156
|
-
var
|
|
156
|
+
var c3 = U2.exports, z2 = { exports: {} };
|
|
157
157
|
(function(e, n) {
|
|
158
158
|
Object.defineProperty(n, "__esModule", {
|
|
159
159
|
value: !0
|
|
@@ -161,12 +161,12 @@ var d3 = U2.exports, z2 = { exports: {} };
|
|
|
161
161
|
return o[Symbol.iterator] && o[Symbol.iterator]();
|
|
162
162
|
}, e.exports = n.default;
|
|
163
163
|
})(z2, z2.exports);
|
|
164
|
-
var
|
|
164
|
+
var d3 = z2.exports;
|
|
165
165
|
(function(e, n) {
|
|
166
166
|
Object.defineProperty(n, "__esModule", {
|
|
167
167
|
value: !0
|
|
168
168
|
}), n.default = L;
|
|
169
|
-
var o =
|
|
169
|
+
var o = c3, l = c(o), s = d3, i = c(s);
|
|
170
170
|
function c(h) {
|
|
171
171
|
return h && h.__esModule ? h : { default: h };
|
|
172
172
|
}
|
|
@@ -185,9 +185,9 @@ var u3 = z2.exports;
|
|
|
185
185
|
}
|
|
186
186
|
function C(h) {
|
|
187
187
|
var m = h ? Object.keys(h) : [], v = -1, I = m.length;
|
|
188
|
-
return function
|
|
189
|
-
var
|
|
190
|
-
return
|
|
188
|
+
return function B() {
|
|
189
|
+
var $ = m[++v];
|
|
190
|
+
return $ === "__proto__" ? B() : v < I ? { value: h[$], key: $ } : null;
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
193
|
function L(h) {
|
|
@@ -198,7 +198,7 @@ var u3 = z2.exports;
|
|
|
198
198
|
}
|
|
199
199
|
e.exports = n.default;
|
|
200
200
|
})(P2, P2.exports);
|
|
201
|
-
var
|
|
201
|
+
var u3 = P2.exports, G2 = { exports: {} };
|
|
202
202
|
(function(e, n) {
|
|
203
203
|
Object.defineProperty(n, "__esModule", {
|
|
204
204
|
value: !0
|
|
@@ -213,7 +213,7 @@ var C3 = P2.exports, G2 = { exports: {} };
|
|
|
213
213
|
}
|
|
214
214
|
e.exports = n.default;
|
|
215
215
|
})(G2, G2.exports);
|
|
216
|
-
var
|
|
216
|
+
var C3 = G2.exports, s1 = {}, Y1 = { exports: {} }, Y2 = { exports: {} };
|
|
217
217
|
(function(e, n) {
|
|
218
218
|
Object.defineProperty(n, "__esModule", {
|
|
219
219
|
value: !0
|
|
@@ -224,29 +224,29 @@ var p3 = G2.exports, i1 = {}, Y1 = { exports: {} }, Y2 = { exports: {} };
|
|
|
224
224
|
};
|
|
225
225
|
}, e.exports = n.default;
|
|
226
226
|
})(Y2, Y2.exports);
|
|
227
|
-
var
|
|
227
|
+
var p3 = Y2.exports, h1 = {};
|
|
228
228
|
Object.defineProperty(h1, "__esModule", {
|
|
229
229
|
value: !0
|
|
230
230
|
});
|
|
231
|
-
h1.fallback =
|
|
232
|
-
h1.wrap =
|
|
233
|
-
var
|
|
234
|
-
function
|
|
231
|
+
h1.fallback = z5;
|
|
232
|
+
h1.wrap = G5;
|
|
233
|
+
var h3 = h1.hasQueueMicrotask = typeof queueMicrotask == "function" && queueMicrotask, b3 = h1.hasSetImmediate = typeof setImmediate == "function" && setImmediate, g3 = h1.hasNextTick = typeof process == "object" && typeof process.nextTick == "function";
|
|
234
|
+
function z5(e) {
|
|
235
235
|
setTimeout(e, 0);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function G5(e) {
|
|
238
238
|
return (n, ...o) => e(() => n(...o));
|
|
239
239
|
}
|
|
240
240
|
var D1;
|
|
241
|
-
|
|
242
|
-
h1.default =
|
|
241
|
+
h3 ? D1 = queueMicrotask : b3 ? D1 = setImmediate : g3 ? D1 = process.nextTick : D1 = z5;
|
|
242
|
+
h1.default = G5(D1);
|
|
243
243
|
var L5;
|
|
244
|
-
function
|
|
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 =
|
|
249
|
+
var o = p3, l = u(o), s = h1, i = u(s), c = s5();
|
|
250
250
|
function u(h) {
|
|
251
251
|
return h && h.__esModule ? h : { default: h };
|
|
252
252
|
}
|
|
@@ -258,8 +258,8 @@ function L3() {
|
|
|
258
258
|
var I;
|
|
259
259
|
try {
|
|
260
260
|
I = h.apply(this, m);
|
|
261
|
-
} catch (
|
|
262
|
-
return v(
|
|
261
|
+
} catch (B) {
|
|
262
|
+
return v(B);
|
|
263
263
|
}
|
|
264
264
|
if (I && typeof I.then == "function")
|
|
265
265
|
return C(I, v);
|
|
@@ -277,8 +277,8 @@ function L3() {
|
|
|
277
277
|
try {
|
|
278
278
|
h(m, v);
|
|
279
279
|
} catch (I) {
|
|
280
|
-
(0, i.default)((
|
|
281
|
-
throw
|
|
280
|
+
(0, i.default)((B) => {
|
|
281
|
+
throw B;
|
|
282
282
|
}, I);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
@@ -288,11 +288,11 @@ function L3() {
|
|
|
288
288
|
var v5;
|
|
289
289
|
function s5() {
|
|
290
290
|
if (v5)
|
|
291
|
-
return
|
|
292
|
-
v5 = 1, Object.defineProperty(
|
|
291
|
+
return s1;
|
|
292
|
+
v5 = 1, Object.defineProperty(s1, "__esModule", {
|
|
293
293
|
value: !0
|
|
294
|
-
}),
|
|
295
|
-
var e =
|
|
294
|
+
}), s1.isAsyncIterable = s1.isAsyncGenerator = s1.isAsync = void 0;
|
|
295
|
+
var e = f3(), n = o(e);
|
|
296
296
|
function o(u) {
|
|
297
297
|
return u && u.__esModule ? u : { default: u };
|
|
298
298
|
}
|
|
@@ -310,7 +310,7 @@ function s5() {
|
|
|
310
310
|
throw new Error("expected a function");
|
|
311
311
|
return l(u) ? (0, n.default)(u) : u;
|
|
312
312
|
}
|
|
313
|
-
return
|
|
313
|
+
return s1.default = c, s1.isAsync = l, s1.isAsyncGenerator = s, s1.isAsyncIterable = i, s1;
|
|
314
314
|
}
|
|
315
315
|
var X2 = { exports: {} }, W2 = { exports: {} };
|
|
316
316
|
(function(e, n) {
|
|
@@ -320,94 +320,94 @@ var X2 = { exports: {} }, W2 = { exports: {} };
|
|
|
320
320
|
const o = {};
|
|
321
321
|
n.default = o, e.exports = n.default;
|
|
322
322
|
})(W2, W2.exports);
|
|
323
|
-
var
|
|
323
|
+
var Y5 = W2.exports;
|
|
324
324
|
(function(e, n) {
|
|
325
325
|
Object.defineProperty(n, "__esModule", {
|
|
326
326
|
value: !0
|
|
327
327
|
}), n.default = i;
|
|
328
|
-
var o =
|
|
328
|
+
var o = Y5, l = s(o);
|
|
329
329
|
function s(c) {
|
|
330
330
|
return c && c.__esModule ? c : { default: c };
|
|
331
331
|
}
|
|
332
332
|
function i(c, u, d, C) {
|
|
333
333
|
let L = !1, h = !1, m = !1, v = 0, I = 0;
|
|
334
|
-
function
|
|
335
|
-
v >= u || m || L || (m = !0, c.next().then(({ value:
|
|
334
|
+
function B() {
|
|
335
|
+
v >= u || m || L || (m = !0, c.next().then(({ value: Z, done: U }) => {
|
|
336
336
|
if (!(h || L)) {
|
|
337
|
-
if (m = !1,
|
|
337
|
+
if (m = !1, U) {
|
|
338
338
|
L = !0, v <= 0 && C(null);
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
341
|
-
v++, d(
|
|
341
|
+
v++, d(Z, I, $), I++, B();
|
|
342
342
|
}
|
|
343
|
-
}).catch(
|
|
343
|
+
}).catch(T));
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function $(Z, U) {
|
|
346
346
|
if (v -= 1, !h) {
|
|
347
|
-
if (
|
|
348
|
-
return
|
|
349
|
-
if (
|
|
347
|
+
if (Z)
|
|
348
|
+
return T(Z);
|
|
349
|
+
if (Z === !1) {
|
|
350
350
|
L = !0, h = !0;
|
|
351
351
|
return;
|
|
352
352
|
}
|
|
353
|
-
if (
|
|
353
|
+
if (U === l.default || L && v <= 0)
|
|
354
354
|
return L = !0, C(null);
|
|
355
|
-
|
|
355
|
+
B();
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
359
|
-
h || (m = !1, L = !0, C(
|
|
358
|
+
function T(Z) {
|
|
359
|
+
h || (m = !1, L = !0, C(Z));
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
B();
|
|
362
362
|
}
|
|
363
363
|
e.exports = n.default;
|
|
364
364
|
})(X2, X2.exports);
|
|
365
|
-
var
|
|
365
|
+
var L3 = X2.exports;
|
|
366
366
|
(function(e, n) {
|
|
367
367
|
Object.defineProperty(n, "__esModule", {
|
|
368
368
|
value: !0
|
|
369
369
|
});
|
|
370
|
-
var o =
|
|
370
|
+
var o = s3, l = v(o), s = u3, i = v(s), c = C3, u = v(c), d = s5(), C = L3, L = v(C), h = Y5, m = v(h);
|
|
371
371
|
function v(I) {
|
|
372
372
|
return I && I.__esModule ? I : { default: I };
|
|
373
373
|
}
|
|
374
|
-
n.default = (I) => (
|
|
375
|
-
if (
|
|
374
|
+
n.default = (I) => (B, $, T) => {
|
|
375
|
+
if (T = (0, l.default)(T), I <= 0)
|
|
376
376
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
377
|
-
if (!
|
|
378
|
-
return
|
|
379
|
-
if ((0, d.isAsyncGenerator)(
|
|
380
|
-
return (0, L.default)(
|
|
381
|
-
if ((0, d.isAsyncIterable)(
|
|
382
|
-
return (0, L.default)(
|
|
383
|
-
var
|
|
384
|
-
function
|
|
385
|
-
if (!
|
|
386
|
-
if (
|
|
387
|
-
|
|
377
|
+
if (!B)
|
|
378
|
+
return T(null);
|
|
379
|
+
if ((0, d.isAsyncGenerator)(B))
|
|
380
|
+
return (0, L.default)(B, I, $, T);
|
|
381
|
+
if ((0, d.isAsyncIterable)(B))
|
|
382
|
+
return (0, L.default)(B[Symbol.asyncIterator](), I, $, T);
|
|
383
|
+
var Z = (0, i.default)(B), U = !1, l1 = !1, q = 0, t1 = !1;
|
|
384
|
+
function i1(H, _) {
|
|
385
|
+
if (!l1)
|
|
386
|
+
if (q -= 1, H)
|
|
387
|
+
U = !0, T(H);
|
|
388
388
|
else if (H === !1)
|
|
389
|
-
|
|
389
|
+
U = !0, l1 = !0;
|
|
390
390
|
else {
|
|
391
|
-
if (_ === m.default ||
|
|
392
|
-
return
|
|
393
|
-
|
|
391
|
+
if (_ === m.default || U && q <= 0)
|
|
392
|
+
return U = !0, T(null);
|
|
393
|
+
t1 || P();
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
for (
|
|
398
|
-
var H =
|
|
396
|
+
function P() {
|
|
397
|
+
for (t1 = !0; q < I && !U; ) {
|
|
398
|
+
var H = Z();
|
|
399
399
|
if (H === null) {
|
|
400
|
-
|
|
400
|
+
U = !0, q <= 0 && T(null);
|
|
401
401
|
return;
|
|
402
402
|
}
|
|
403
|
-
|
|
403
|
+
q += 1, $(H.value, H.key, (0, u.default)(i1));
|
|
404
404
|
}
|
|
405
|
-
|
|
405
|
+
t1 = !1;
|
|
406
406
|
}
|
|
407
|
-
|
|
407
|
+
P();
|
|
408
408
|
}, e.exports = n.default;
|
|
409
409
|
})(E2, E2.exports);
|
|
410
|
-
var
|
|
410
|
+
var v3 = E2.exports, j2 = { exports: {} };
|
|
411
411
|
(function(e, n) {
|
|
412
412
|
Object.defineProperty(n, "__esModule", {
|
|
413
413
|
value: !0
|
|
@@ -417,7 +417,7 @@ var m3 = E2.exports, j2 = { exports: {} };
|
|
|
417
417
|
}
|
|
418
418
|
e.exports = n.default;
|
|
419
419
|
})(j2, j2.exports);
|
|
420
|
-
var
|
|
420
|
+
var m3 = j2.exports, K2 = { exports: {} };
|
|
421
421
|
(function(e, n) {
|
|
422
422
|
Object.defineProperty(n, "__esModule", {
|
|
423
423
|
value: !0
|
|
@@ -438,27 +438,27 @@ var M3 = j2.exports, K2 = { exports: {} };
|
|
|
438
438
|
}
|
|
439
439
|
e.exports = n.default;
|
|
440
440
|
})(K2, K2.exports);
|
|
441
|
-
var
|
|
441
|
+
var M3 = K2.exports;
|
|
442
442
|
(function(e, n) {
|
|
443
443
|
Object.defineProperty(n, "__esModule", {
|
|
444
444
|
value: !0
|
|
445
445
|
});
|
|
446
|
-
var o =
|
|
446
|
+
var o = v3, l = L(o), s = m3, i = L(s), c = s5(), 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, I,
|
|
451
|
-
return (0, l.default)(v)(m, (0, i.default)((0, u.default)(I)),
|
|
450
|
+
function h(m, v, I, B) {
|
|
451
|
+
return (0, l.default)(v)(m, (0, i.default)((0, u.default)(I)), B);
|
|
452
452
|
}
|
|
453
453
|
n.default = (0, C.default)(h, 4), e.exports = n.default;
|
|
454
454
|
})(O2, O2.exports);
|
|
455
|
-
var
|
|
456
|
-
const
|
|
455
|
+
var I3 = O2.exports;
|
|
456
|
+
const y3 = /* @__PURE__ */ i3(I3);
|
|
457
457
|
function m1(e) {
|
|
458
|
-
return
|
|
458
|
+
return F5[e];
|
|
459
459
|
}
|
|
460
|
-
function
|
|
461
|
-
return n[
|
|
460
|
+
function X5(e, n) {
|
|
461
|
+
return n[P5[e]].slice();
|
|
462
462
|
}
|
|
463
463
|
function _1(e, n) {
|
|
464
464
|
const o = n.priorities.find(
|
|
@@ -470,45 +470,45 @@ function c5(e, n) {
|
|
|
470
470
|
const o = n.topic_statuses.find(
|
|
471
471
|
(l) => l.topic_status === e.topic_status
|
|
472
472
|
);
|
|
473
|
-
return (o == null ? void 0 : o.color) ||
|
|
473
|
+
return (o == null ? void 0 : o.color) || U5;
|
|
474
474
|
}
|
|
475
|
-
async function
|
|
475
|
+
async function _3(e, n) {
|
|
476
476
|
const { URL: o } = window, l = document.createElement("a");
|
|
477
|
-
l.rel = "noopener", l.download = e, l.href = o.createObjectURL(n), setTimeout(() => l.click(), 0), setTimeout(() => o.revokeObjectURL(l.href),
|
|
477
|
+
l.rel = "noopener", l.download = e, l.href = o.createObjectURL(n), setTimeout(() => l.click(), 0), setTimeout(() => o.revokeObjectURL(l.href), 3e4);
|
|
478
478
|
}
|
|
479
|
-
let
|
|
479
|
+
let W5 = null;
|
|
480
480
|
function Ky(e, { fetchUsers: n }) {
|
|
481
|
-
const o = n ? (H) => n(H) : (H) => e.collaborationApi.getProjectUsers(H.cloud.id, H.id), l = () => e.bcfApi.getUser(), s = async (H, { extensions: _, users:
|
|
482
|
-
const
|
|
483
|
-
return
|
|
484
|
-
|
|
485
|
-
}),
|
|
481
|
+
const o = n ? (H) => n(H) : (H) => e.collaborationApi.getProjectUsers(H.cloud.id, H.id), l = () => e.bcfApi.getUser(), s = async (H, { extensions: _, users: x } = {}) => {
|
|
482
|
+
const R = _ ?? await e.bcfApi.getDetailedExtensions(H.id), O = x ?? await o(H), z = await e.bcfApi.getTopics(H.id);
|
|
483
|
+
return z.sort((G, o1) => o1.index - G.index), z.forEach((G) => {
|
|
484
|
+
G.color = _1(G, R), G.creator = O.find((o1) => o1.email === G.creation_author);
|
|
485
|
+
}), z;
|
|
486
486
|
}, i = async (H, _) => {
|
|
487
|
-
const
|
|
488
|
-
return
|
|
487
|
+
const x = await e.bcfApi.getDetailedExtensions(H.id), R = await e.bcfApi.getFullTopic(_, H.id, "url");
|
|
488
|
+
return R.color = _1(R, x), R;
|
|
489
489
|
}, c = async (H, _) => await e.bcfApi.createFullTopic(H.id, _), u = async (H, _) => await e.bcfApi.updateFullTopic(_.guid, H.id, "url", _), d = async (H, _) => {
|
|
490
490
|
await e.bcfApi.deleteTopic(_.guid, H.id);
|
|
491
491
|
}, C = async (H, _) => {
|
|
492
|
-
const
|
|
493
|
-
|
|
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`, {
|
|
494
494
|
method: "POST",
|
|
495
495
|
credentials: "include",
|
|
496
496
|
headers: {
|
|
497
497
|
...e.authHeader
|
|
498
498
|
},
|
|
499
|
-
body:
|
|
499
|
+
body: x
|
|
500
500
|
});
|
|
501
501
|
}, L = async (H, _) => {
|
|
502
|
-
const
|
|
502
|
+
const x = await e.bcfApi.downloadBcfExport(
|
|
503
503
|
H.id,
|
|
504
504
|
void 0,
|
|
505
|
-
_.map((
|
|
505
|
+
_.map((R) => R.guid).join(",")
|
|
506
506
|
);
|
|
507
|
-
|
|
508
|
-
}, h = async (H, _) => (await
|
|
509
|
-
m(H,
|
|
510
|
-
|
|
511
|
-
},
|
|
507
|
+
_3(`${H.name}.bcf`, x);
|
|
508
|
+
}, h = async (H, _) => (await y3(_, 10, (x, R) => {
|
|
509
|
+
m(H, x).then((O) => {
|
|
510
|
+
x.viewpoints = O, R();
|
|
511
|
+
}, R);
|
|
512
512
|
}), _), m = async (H, _) => await e.bcfApi.getTopicViewpoints(H.id, _.guid, "url");
|
|
513
513
|
return {
|
|
514
514
|
fetchCurrentUser: l,
|
|
@@ -521,42 +521,42 @@ function Ky(e, { fetchUsers: n }) {
|
|
|
521
521
|
exportBcf: L,
|
|
522
522
|
loadTopicsViewpoints: h,
|
|
523
523
|
fetchTopicViewpoints: m,
|
|
524
|
-
fetchTopicCommentViewpoint: async (H, _,
|
|
525
|
-
createViewpoint: async (H, _,
|
|
526
|
-
deleteViewpoint: async (H, _,
|
|
527
|
-
await e.bcfApi.deleteViewpoint(
|
|
524
|
+
fetchTopicCommentViewpoint: async (H, _, x) => await e.bcfApi.getViewpoint(x.viewpoint_guid, H.id, _.guid),
|
|
525
|
+
createViewpoint: async (H, _, x) => await e.bcfApi.createViewpoint(H.id, _.guid, "url", x),
|
|
526
|
+
deleteViewpoint: async (H, _, x) => {
|
|
527
|
+
await e.bcfApi.deleteViewpoint(x.guid, H.id, _.guid);
|
|
528
528
|
},
|
|
529
529
|
fetchTopicComments: async (H, _) => {
|
|
530
|
-
const
|
|
531
|
-
return
|
|
532
|
-
|
|
533
|
-
}),
|
|
530
|
+
const x = await o(H), R = await e.bcfApi.getComments(H.id, _.guid);
|
|
531
|
+
return R.sort((O, z) => O.date > z.date ? -1 : 1), R.forEach((O) => {
|
|
532
|
+
O.user = x.find((z) => z.email === O.author);
|
|
533
|
+
}), R;
|
|
534
534
|
},
|
|
535
|
-
createComment: async (H, _,
|
|
536
|
-
updateComment: async (H, _,
|
|
537
|
-
deleteComment: async (H, _,
|
|
538
|
-
await e.bcfApi.deleteComment(
|
|
535
|
+
createComment: async (H, _, x) => await e.bcfApi.createComment(H.id, _.guid, x),
|
|
536
|
+
updateComment: async (H, _, x, R) => await e.bcfApi.updateComment(x.guid, H.id, _.guid, R),
|
|
537
|
+
deleteComment: async (H, _, x) => {
|
|
538
|
+
await e.bcfApi.deleteComment(x.guid, H.id, _.guid);
|
|
539
539
|
},
|
|
540
540
|
fetchExtensions: (H) => e.bcfApi.getExtensions(H.id),
|
|
541
541
|
fetchDetailedExtensions: (H) => e.bcfApi.getDetailedExtensions(H.id),
|
|
542
|
-
createExtension: async (H, _,
|
|
543
|
-
[m1(_)]:
|
|
544
|
-
color:
|
|
542
|
+
createExtension: async (H, _, x) => await e.bcfApi[`createExtension${_}`](H.id, {
|
|
543
|
+
[m1(_)]: x.value,
|
|
544
|
+
color: a3()
|
|
545
545
|
}),
|
|
546
|
-
updateExtension: async (H, _,
|
|
547
|
-
[m1(_)]:
|
|
548
|
-
color:
|
|
546
|
+
updateExtension: async (H, _, x, R) => await e.bcfApi[`updateExtension${_}`](x.id, H.id, {
|
|
547
|
+
[m1(_)]: R.value,
|
|
548
|
+
color: R.color
|
|
549
549
|
}),
|
|
550
|
-
deleteExtension: async (H, _,
|
|
551
|
-
await e.bcfApi[`deleteExtension${_}`](
|
|
550
|
+
deleteExtension: async (H, _, x) => {
|
|
551
|
+
await e.bcfApi[`deleteExtension${_}`](x.id, H.id);
|
|
552
552
|
}
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
555
|
function qy(e) {
|
|
556
|
-
|
|
556
|
+
W5 = e;
|
|
557
557
|
}
|
|
558
558
|
function U1() {
|
|
559
|
-
return
|
|
559
|
+
return W5;
|
|
560
560
|
}
|
|
561
561
|
const m5 = {
|
|
562
562
|
priorities: [],
|
|
@@ -567,8 +567,8 @@ const m5 = {
|
|
|
567
567
|
startDate: null,
|
|
568
568
|
endDate: null
|
|
569
569
|
};
|
|
570
|
-
function
|
|
571
|
-
const n =
|
|
570
|
+
function H3(e) {
|
|
571
|
+
const n = t3({ ...m5 }), o = F(() => {
|
|
572
572
|
let i = e.value;
|
|
573
573
|
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
574
|
});
|
|
@@ -585,7 +585,7 @@ function V3(e) {
|
|
|
585
585
|
reset: s
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
|
-
const
|
|
588
|
+
const V3 = [
|
|
589
589
|
"title",
|
|
590
590
|
"topic_type",
|
|
591
591
|
"priority",
|
|
@@ -597,14 +597,14 @@ const D3 = [
|
|
|
597
597
|
"description"
|
|
598
598
|
];
|
|
599
599
|
function Jy(e) {
|
|
600
|
-
const n =
|
|
601
|
-
return
|
|
600
|
+
const n = w(""), o = w([]);
|
|
601
|
+
return c1(
|
|
602
602
|
[e, n],
|
|
603
603
|
() => {
|
|
604
604
|
if (n.value) {
|
|
605
605
|
const l = n.value.toLowerCase();
|
|
606
606
|
o.value = e.value.filter(
|
|
607
|
-
(s) =>
|
|
607
|
+
(s) => V3.some(
|
|
608
608
|
(i) => (s[i] || "").toLowerCase().includes(l)
|
|
609
609
|
)
|
|
610
610
|
);
|
|
@@ -618,10 +618,10 @@ function Jy(e) {
|
|
|
618
618
|
};
|
|
619
619
|
}
|
|
620
620
|
function B2(e, n = (o) => o) {
|
|
621
|
-
const o =
|
|
621
|
+
const o = w(e), l = (c = "asc") => {
|
|
622
622
|
const u = o.value.slice().sort((d, C) => n(d) < n(C) ? -1 : 1);
|
|
623
623
|
c === "desc" && u.reverse(), o.value = u;
|
|
624
|
-
}, s =
|
|
624
|
+
}, s = w("none");
|
|
625
625
|
return {
|
|
626
626
|
sortOrder: s,
|
|
627
627
|
sortToggle: () => {
|
|
@@ -630,7 +630,7 @@ function B2(e, n = (o) => o) {
|
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
632
|
function Qy(e) {
|
|
633
|
-
const { sortToggle: n, sortOrder: o } = B2(e, (h) => h.index), { sortToggle: l, sortOrder: s } = B2(e, (h) => h.title), { sortToggle: i, sortOrder: c } = B2(e, (h) => h.creation_date), u =
|
|
633
|
+
const { sortToggle: n, sortOrder: o } = B2(e, (h) => h.index), { sortToggle: l, sortOrder: s } = B2(e, (h) => h.title), { sortToggle: i, sortOrder: c } = B2(e, (h) => h.creation_date), u = w("");
|
|
634
634
|
return {
|
|
635
635
|
sortedBy: u,
|
|
636
636
|
sortByIndex: () => {
|
|
@@ -647,23 +647,34 @@ function Qy(e) {
|
|
|
647
647
|
sortOrderDate: c
|
|
648
648
|
};
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function D3(e) {
|
|
651
651
|
return e[E1];
|
|
652
652
|
}
|
|
653
653
|
function e_(e) {
|
|
654
654
|
var n;
|
|
655
655
|
return ((n = e[F1]) == null ? void 0 : n.split(",").map(Number)) ?? [];
|
|
656
656
|
}
|
|
657
|
+
function B3(e) {
|
|
658
|
+
return P1[D3(e)];
|
|
659
|
+
}
|
|
657
660
|
function k3(e) {
|
|
658
|
-
return
|
|
661
|
+
return e.components.selection || (e.components.selection = []), e.components.visibility || (e.components.visibility = {
|
|
662
|
+
default_visibility: !0,
|
|
663
|
+
exceptions: [],
|
|
664
|
+
view_setup_hints: {
|
|
665
|
+
spaces_visible: !1,
|
|
666
|
+
space_boundaries_visible: !1,
|
|
667
|
+
openings_visible: !1
|
|
668
|
+
}
|
|
669
|
+
}), e;
|
|
659
670
|
}
|
|
660
|
-
var w3 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]),
|
|
671
|
+
var w3 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), J = { 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) => w3.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
661
672
|
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 };
|
|
662
673
|
}, style() {
|
|
663
674
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
664
675
|
} } };
|
|
665
676
|
const x3 = ["color"];
|
|
666
|
-
function
|
|
677
|
+
function j5(e, n) {
|
|
667
678
|
n === void 0 && (n = {});
|
|
668
679
|
var o = n.insertAt;
|
|
669
680
|
if (e && typeof document < "u") {
|
|
@@ -671,7 +682,7 @@ function K5(e, n) {
|
|
|
671
682
|
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));
|
|
672
683
|
}
|
|
673
684
|
}
|
|
674
|
-
|
|
685
|
+
j5(`/* base COLORS --------------------------------------------- */
|
|
675
686
|
/* colors BRAND */
|
|
676
687
|
/* colors GREY SHADES - NEUTRAL */
|
|
677
688
|
/* color TEXT */
|
|
@@ -829,7 +840,7 @@ html[data-v-3f903003] {
|
|
|
829
840
|
.primary-font[data-v-3f903003] {
|
|
830
841
|
font-family: "roboto", sans-serif;
|
|
831
842
|
}`);
|
|
832
|
-
|
|
843
|
+
j5(`.bimdata-btn {
|
|
833
844
|
padding: 0 var(--spacing-unit);
|
|
834
845
|
height: -webkit-fit-content;
|
|
835
846
|
height: -moz-fit-content;
|
|
@@ -1132,9 +1143,9 @@ K5(`.bimdata-btn {
|
|
|
1132
1143
|
.bimdata-btn__ghost:disabled {
|
|
1133
1144
|
color: var(--color-silver-dark);
|
|
1134
1145
|
cursor: auto;
|
|
1135
|
-
}`),
|
|
1146
|
+
}`), J.render = function(e, n, o, l, s, i) {
|
|
1136
1147
|
return r(), a("button", { class: D(["bimdata-btn", i.classes]), style: V(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [y(e.$slots, "default")], 14, x3);
|
|
1137
|
-
},
|
|
1148
|
+
}, J.__scopeId = "data-v-3f903003", J.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
1138
1149
|
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) {
|
|
1139
1150
|
return r(), a("path", Z3);
|
|
1140
1151
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddFile.vue" }, A3 = { "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" }, T3 = { render: function(e, n) {
|
|
@@ -1462,7 +1473,7 @@ const Z3 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
1462
1473
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
1463
1474
|
var M5 = { addFile: S3, addFolder: T3, addUser: N3, alphabeticalAscending: O3, alphabeticalDescending: F3, alphabeticalSort: U3, alt: G3, angle: X3, api: j3, app: q3, archive: Q3, arrow: n4, attach: r4, backInTime: l4, bcf: s4, building: d4, burgerMenu: C4, calendar: h4, caliper: g4, camera: L4, cancelCamera: m4, check: I4, chevron: _4, classificationCategorie: V4, classificationElement: B4, click: w4, close: Z4, cloud: A4, color: $4, comment: R4, cursor: E4, dateAscending: P4, dateDescending: z4, default: Y4, delete: W4, deniedFile: K4, deploy: J4, detach: e9, distance: t9, doubleChevron: o9, down: l9, download: s9, drag: d9, edit: C9, ellipsis: h9, expanded: g9, explosion: L9, export: m9, exportIfc: I9, failed: _9, filter: V9, fitView: B9, folder: w9, folderMove: Z9, folderOpen: A9, fullscreen: $9, grid: R9, group: E9, hide: P9, ifc: z9, ifcFile: Y9, import: W9, indexAscending: K9, indexDescending: J9, information: e7, inProgressFile: t7, invitation: o7, isolate: l7, key: s7, left: d7, linkedDocument: C7, list: h7, listManage: g7, location: L7, lock: m7, logout: I7, measure: _7, minus: V7, model3d: B7, organization: w7, parameters: Z7, path: A7, pieGraph: $7, pipette: R7, plus: E7, project: P7, quickSelect: z7, readonlyFolder: Y7, redo: W7, reduced: K7, refresh: J7, reprocessIfc: e8, reset: t8, right: o8, rules: l8, sandglass: s8, save: d8, screenConfig: C8, screenshot: h8, search: g8, section: L8, settings: m8, share: I8, show: _8, showSelected: V8, smartview: B8, socotec: w8, space: Z8, split: A8, storey: $8, success: R8, surface: E8, swap: P8, synchro2d: z8, system: Y8, tag: j8, translate: q8, tree: Q8, unarchive: n0, undo: r0, union: a0, up: i0, upload: c0, user: u0, validate: p0, validatedFile: b0, versioning: L0, video: m0, visa: I0, warning: _0, windowBottom: V0, windowed: B0, windowLeft: w0, windowRight: Z0, windowTop: A0, zone: $0, bcfPolychrome: R0, createWindowPolychrome: E0, docInfoPolychrome: P0, fileDwgPolychrome: z0, fileDxfPolychrome: Y0, fileIfcPolychrome: W0, fileImagePolychrome: K0, fileJpegPolychrome: J0, filePdfPolychrome: e6, filePngPolychrome: t6, filePointCloudPolychrome: o6, filePlanPolychrome: l6, folderPolychrome: s6, structurePolychrome: d6, viewer2dPolychrome: C6, viewer3dPolychrome: h6 }, b6 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1464
1475
|
const I5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1465
|
-
var
|
|
1476
|
+
var Q = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
1466
1477
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
1467
1478
|
}(M5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(M5).includes(e) }, color: { type: String, default: "default", validator: (e) => b6.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(I5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
1468
1479
|
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 };
|
|
@@ -1473,7 +1484,7 @@ var q = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
1473
1484
|
return this.customSize ? this.customSize : I5[this.size];
|
|
1474
1485
|
} } };
|
|
1475
1486
|
const g6 = ["fill", "color"];
|
|
1476
|
-
function
|
|
1487
|
+
function K5(e, n) {
|
|
1477
1488
|
n === void 0 && (n = {});
|
|
1478
1489
|
var o = n.insertAt;
|
|
1479
1490
|
if (e && typeof document < "u") {
|
|
@@ -1481,7 +1492,7 @@ function q5(e, n) {
|
|
|
1481
1492
|
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));
|
|
1482
1493
|
}
|
|
1483
1494
|
}
|
|
1484
|
-
|
|
1495
|
+
K5(`/* base COLORS --------------------------------------------- */
|
|
1485
1496
|
/* colors BRAND */
|
|
1486
1497
|
/* colors GREY SHADES - NEUTRAL */
|
|
1487
1498
|
/* color TEXT */
|
|
@@ -1550,7 +1561,7 @@ html[data-v-1312d4d1] {
|
|
|
1550
1561
|
/* base FONTS -------------------------------------- */
|
|
1551
1562
|
--primary-font: "roboto", sans-serif;
|
|
1552
1563
|
}`);
|
|
1553
|
-
|
|
1564
|
+
K5(`.icon-fill--black {
|
|
1554
1565
|
fill: var(--color-black);
|
|
1555
1566
|
}
|
|
1556
1567
|
.icon-fill--default {
|
|
@@ -1633,9 +1644,9 @@ q5(`.icon-fill--black {
|
|
|
1633
1644
|
}
|
|
1634
1645
|
.icon-stroke--white {
|
|
1635
1646
|
stroke: var(--color-white);
|
|
1636
|
-
}`),
|
|
1637
|
-
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: D(i.classes), style: V(i.style) }, [(r(),
|
|
1638
|
-
},
|
|
1647
|
+
}`), 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: D(i.classes), style: V(i.style) }, [(r(), k(f1(`bimdata-icon-${o.name}`)))], 14, g6);
|
|
1649
|
+
}, Q.__scopeId = "data-v-1312d4d1", Q.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
1639
1650
|
let y5 = 0;
|
|
1640
1651
|
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() {
|
|
1641
1652
|
return { margin: `${this.margin}` };
|
|
@@ -1652,7 +1663,7 @@ var b1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { m
|
|
|
1652
1663
|
this.$refs.input && this.$refs.input.blur();
|
|
1653
1664
|
} } };
|
|
1654
1665
|
const f6 = ["id", "disabled", "value", "autocomplete"], L6 = { class: "bimdata-input__icon" }, v6 = ["for"], m6 = ((e) => (C1("data-v-5d42d486"), e = e(), p1(), e))(() => t("span", { class: "bar" }, null, -1)), M6 = { key: 0, class: "error" }, I6 = { key: 1, class: "success" };
|
|
1655
|
-
function
|
|
1666
|
+
function q5(e, n) {
|
|
1656
1667
|
n === void 0 && (n = {});
|
|
1657
1668
|
var o = n.insertAt;
|
|
1658
1669
|
if (e && typeof document < "u") {
|
|
@@ -1660,7 +1671,7 @@ function J5(e, n) {
|
|
|
1660
1671
|
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));
|
|
1661
1672
|
}
|
|
1662
1673
|
}
|
|
1663
|
-
|
|
1674
|
+
q5(`/* base COLORS --------------------------------------------- */
|
|
1664
1675
|
/* colors BRAND */
|
|
1665
1676
|
/* colors GREY SHADES - NEUTRAL */
|
|
1666
1677
|
/* color TEXT */
|
|
@@ -1818,7 +1829,7 @@ html[data-v-5d42d486] {
|
|
|
1818
1829
|
.primary-font[data-v-5d42d486] {
|
|
1819
1830
|
font-family: "roboto", sans-serif;
|
|
1820
1831
|
}`);
|
|
1821
|
-
|
|
1832
|
+
q5(`@-webkit-keyframes scaleX {
|
|
1822
1833
|
0% {
|
|
1823
1834
|
-webkit-transform: scaleX(0);
|
|
1824
1835
|
transform: scaleX(0);
|
|
@@ -1996,7 +2007,7 @@ input:-webkit-autofill {
|
|
|
1996
2007
|
c.target.select(), e.$emit("focus", c);
|
|
1997
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, [y(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);
|
|
1998
2009
|
}, b1.__scopeId = "data-v-5d42d486", b1.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
|
|
1999
|
-
var
|
|
2010
|
+
var J5 = { beforeMount(e, n) {
|
|
2000
2011
|
if (typeof n.value != "function")
|
|
2001
2012
|
throw Error("click away directive needs function, got " + typeof n.value);
|
|
2002
2013
|
e.clickAwayHandler = (o) => {
|
|
@@ -2014,7 +2025,7 @@ var Q5 = { beforeMount(e, n) {
|
|
|
2014
2025
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
2015
2026
|
} } };
|
|
2016
2027
|
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" };
|
|
2017
|
-
function
|
|
2028
|
+
function r1(e, n) {
|
|
2018
2029
|
n === void 0 && (n = {});
|
|
2019
2030
|
var o = n.insertAt;
|
|
2020
2031
|
if (e && typeof document < "u") {
|
|
@@ -2022,7 +2033,7 @@ function t1(e, n) {
|
|
|
2022
2033
|
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));
|
|
2023
2034
|
}
|
|
2024
2035
|
}
|
|
2025
|
-
|
|
2036
|
+
r1(`/* base COLORS --------------------------------------------- */
|
|
2026
2037
|
/* colors BRAND */
|
|
2027
2038
|
/* colors GREY SHADES - NEUTRAL */
|
|
2028
2039
|
/* color TEXT */
|
|
@@ -2180,7 +2191,7 @@ html[data-v-34d34265] {
|
|
|
2180
2191
|
.primary-font[data-v-34d34265] {
|
|
2181
2192
|
font-family: "roboto", sans-serif;
|
|
2182
2193
|
}`);
|
|
2183
|
-
|
|
2194
|
+
r1(`.bimdata-checkbox {
|
|
2184
2195
|
position: relative;
|
|
2185
2196
|
display: -webkit-box;
|
|
2186
2197
|
display: -ms-flexbox;
|
|
@@ -2268,7 +2279,7 @@ t1(`.bimdata-checkbox {
|
|
|
2268
2279
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
2269
2280
|
background-color: var(--color-silver-dark);
|
|
2270
2281
|
}`), X1.render = function(e, n, o, l, s, i) {
|
|
2271
|
-
return r(), a("div", R1({ 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, [y(e.$slots, "default", {}, () => [
|
|
2282
|
+
return r(), a("div", R1({ 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, [y(e.$slots, "default", {}, () => [A(b(o.text), 1)])])) : M("v-if", !0)], 16);
|
|
2272
2283
|
}, X1.__scopeId = "data-v-34d34265", X1.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
2273
2284
|
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) {
|
|
2274
2285
|
return r(), a("path", H6);
|
|
@@ -2284,7 +2295,7 @@ var y2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: {
|
|
|
2284
2295
|
return this.customSize ? this.customSize : _5[this.size];
|
|
2285
2296
|
} } }), k1 = y2("Chevron", V6);
|
|
2286
2297
|
const B6 = ["fill", "color"];
|
|
2287
|
-
|
|
2298
|
+
r1(`/* base COLORS --------------------------------------------- */
|
|
2288
2299
|
/* colors BRAND */
|
|
2289
2300
|
/* colors GREY SHADES - NEUTRAL */
|
|
2290
2301
|
/* color TEXT */
|
|
@@ -2353,7 +2364,7 @@ html[data-v-5e440aca] {
|
|
|
2353
2364
|
/* base FONTS -------------------------------------- */
|
|
2354
2365
|
--primary-font: "roboto", sans-serif;
|
|
2355
2366
|
}`);
|
|
2356
|
-
|
|
2367
|
+
r1(`.icon-fill--black {
|
|
2357
2368
|
fill: var(--color-black);
|
|
2358
2369
|
}
|
|
2359
2370
|
.icon-fill--default {
|
|
@@ -2445,7 +2456,7 @@ const k6 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.4710
|
|
|
2445
2456
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
2446
2457
|
var k2 = y2("DoubleChevron", w6);
|
|
2447
2458
|
const x6 = ["fill", "color"];
|
|
2448
|
-
|
|
2459
|
+
r1(`/* base COLORS --------------------------------------------- */
|
|
2449
2460
|
/* colors BRAND */
|
|
2450
2461
|
/* colors GREY SHADES - NEUTRAL */
|
|
2451
2462
|
/* color TEXT */
|
|
@@ -2514,7 +2525,7 @@ html[data-v-859297ec] {
|
|
|
2514
2525
|
/* base FONTS -------------------------------------- */
|
|
2515
2526
|
--primary-font: "roboto", sans-serif;
|
|
2516
2527
|
}`);
|
|
2517
|
-
|
|
2528
|
+
r1(`.icon-fill--black {
|
|
2518
2529
|
fill: var(--color-black);
|
|
2519
2530
|
}
|
|
2520
2531
|
.icon-fill--default {
|
|
@@ -2606,7 +2617,7 @@ const Z6 = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357
|
|
|
2606
2617
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
2607
2618
|
var w2 = y2("Close", S6);
|
|
2608
2619
|
const A6 = ["fill", "color"];
|
|
2609
|
-
|
|
2620
|
+
r1(`/* base COLORS --------------------------------------------- */
|
|
2610
2621
|
/* colors BRAND */
|
|
2611
2622
|
/* colors GREY SHADES - NEUTRAL */
|
|
2612
2623
|
/* color TEXT */
|
|
@@ -2675,7 +2686,7 @@ html[data-v-797f55d8] {
|
|
|
2675
2686
|
/* base FONTS -------------------------------------- */
|
|
2676
2687
|
--primary-font: "roboto", sans-serif;
|
|
2677
2688
|
}`);
|
|
2678
|
-
|
|
2689
|
+
r1(`.icon-fill--black {
|
|
2679
2690
|
fill: var(--color-black);
|
|
2680
2691
|
}
|
|
2681
2692
|
.icon-fill--default {
|
|
@@ -2767,7 +2778,7 @@ const T6 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.465
|
|
|
2767
2778
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
2768
2779
|
var x2 = y2("Search", $6);
|
|
2769
2780
|
const N6 = ["fill", "color"];
|
|
2770
|
-
|
|
2781
|
+
r1(`/* base COLORS --------------------------------------------- */
|
|
2771
2782
|
/* colors BRAND */
|
|
2772
2783
|
/* colors GREY SHADES - NEUTRAL */
|
|
2773
2784
|
/* color TEXT */
|
|
@@ -2836,7 +2847,7 @@ html[data-v-0993abf8] {
|
|
|
2836
2847
|
/* base FONTS -------------------------------------- */
|
|
2837
2848
|
--primary-font: "roboto", sans-serif;
|
|
2838
2849
|
}`);
|
|
2839
|
-
|
|
2850
|
+
r1(`.icon-fill--black {
|
|
2840
2851
|
fill: var(--color-black);
|
|
2841
2852
|
}
|
|
2842
2853
|
.icon-fill--default {
|
|
@@ -2923,7 +2934,7 @@ t1(`.icon-fill--black {
|
|
|
2923
2934
|
const c = g("Search");
|
|
2924
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: D(e.classes), style: V(e.style) }, [p(c)], 14, N6);
|
|
2925
2936
|
}, x2.__scopeId = "data-v-0993abf8", x2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
2926
|
-
var W1 = { components: { BIMDataCheckbox: X1, BIMDataIconChevron: k1 }, directives: { clickaway:
|
|
2937
|
+
var W1 = { components: { BIMDataCheckbox: X1, BIMDataIconChevron: k1 }, 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() {
|
|
2927
2938
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
2928
2939
|
} }, methods: { toggle() {
|
|
2929
2940
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -2950,7 +2961,7 @@ var W1 = { components: { BIMDataCheckbox: X1, BIMDataIconChevron: k1 }, directiv
|
|
|
2950
2961
|
this.$emit("update:modelValue", n);
|
|
2951
2962
|
} } };
|
|
2952
2963
|
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"];
|
|
2953
|
-
|
|
2964
|
+
r1(`/* base COLORS --------------------------------------------- */
|
|
2954
2965
|
/* colors BRAND */
|
|
2955
2966
|
/* colors GREY SHADES - NEUTRAL */
|
|
2956
2967
|
/* color TEXT */
|
|
@@ -3132,9 +3143,9 @@ html[data-v-2c3115dc] {
|
|
|
3132
3143
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3133
3144
|
}`), W1.render = function(e, n, o, l, s, i) {
|
|
3134
3145
|
const c = g("BIMDataIconChevron"), u = g("BIMDataCheckbox"), d = O1("clickaway");
|
|
3135
|
-
return
|
|
3146
|
+
return j((r(), a("div", { class: D(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue.length > 0 }]), style: V({ 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(E, null, W(o.options, (C, L) => (r(), a("li", { class: D(["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(E, { key: 0 }, [A(b(i.optionLabel(C)), 1)], 64)) : (r(), k(u, { key: 1, modelValue: i.isSelected(C), disabled: i.isDisabled(C), text: i.optionLabel(C) }, null, 8, ["modelValue", "disabled", "text"]))], 10, P6))), 128))], 512), [[e1, !o.disabled && s.isOpen]])]), _: 1 })], 6)), [[d, () => s.isOpen = !1]]);
|
|
3136
3147
|
}, W1.__scopeId = "data-v-2c3115dc", W1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue";
|
|
3137
|
-
var j1 = { components: { BIMDataIconChevron: k1 }, directives: { clickaway:
|
|
3148
|
+
var j1 = { components: { BIMDataIconChevron: k1 }, 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() {
|
|
3138
3149
|
return this.optionLabel(this.modelValue);
|
|
3139
3150
|
} }, methods: { toggle() {
|
|
3140
3151
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -3155,7 +3166,7 @@ var j1 = { components: { BIMDataIconChevron: k1 }, directives: { clickaway: Q5 }
|
|
|
3155
3166
|
this.$emit("update:modelValue", null), this.isOpen = !1;
|
|
3156
3167
|
} } };
|
|
3157
3168
|
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"];
|
|
3158
|
-
|
|
3169
|
+
r1(`/* base COLORS --------------------------------------------- */
|
|
3159
3170
|
/* colors BRAND */
|
|
3160
3171
|
/* colors GREY SHADES - NEUTRAL */
|
|
3161
3172
|
/* color TEXT */
|
|
@@ -3337,15 +3348,15 @@ html[data-v-41a0d93f] {
|
|
|
3337
3348
|
padding-left: calc(var(--spacing-unit) * 2);
|
|
3338
3349
|
}`), j1.render = function(e, n, o, l, s, i) {
|
|
3339
3350
|
const c = g("BIMDataIconChevron"), u = O1("clickaway");
|
|
3340
|
-
return
|
|
3351
|
+
return j((r(), a("div", { class: D(["bimdata-select", { disabled: o.disabled, active: s.isOpen, "not-empty": o.modelValue !== void 0 && o.modelValue !== null }]), style: V({ 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(E, null, W(o.options, (d, C) => (r(), a("li", { class: D(["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), [[e1, !o.disabled && s.isOpen]])]), _: 1 })], 6)), [[u, () => s.isOpen = !1]]);
|
|
3341
3352
|
}, j1.__scopeId = "data-v-41a0d93f", j1.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue";
|
|
3342
3353
|
var M2 = { components: { BIMDataSelectMulti: W1, BIMDataSelectSingle: j1 }, 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() {
|
|
3343
3354
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
3344
3355
|
} } };
|
|
3345
3356
|
M2.render = function(e, n, o, l, s, i) {
|
|
3346
|
-
return r(),
|
|
3357
|
+
return r(), k(f1(i.selectorComponent), R1(e.$props, { modelValue: o.modelValue, "onUpdate:modelValue": n[0] || (n[0] = (c) => e.$emit("update:modelValue", c)) }), null, 16, ["modelValue"]);
|
|
3347
3358
|
}, M2.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelect.vue";
|
|
3348
|
-
const
|
|
3359
|
+
const Y = (e, n) => {
|
|
3349
3360
|
const o = e.__vccOpts || e;
|
|
3350
3361
|
for (const [l, s] of n)
|
|
3351
3362
|
o[l] = s;
|
|
@@ -3358,8 +3369,8 @@ function V1(e) {
|
|
|
3358
3369
|
}
|
|
3359
3370
|
const W6 = {
|
|
3360
3371
|
components: {
|
|
3361
|
-
BIMDataButton:
|
|
3362
|
-
BIMDataIcon:
|
|
3372
|
+
BIMDataButton: J,
|
|
3373
|
+
BIMDataIcon: Q,
|
|
3363
3374
|
BIMDataInput: b1,
|
|
3364
3375
|
BIMDataSelect: M2
|
|
3365
3376
|
},
|
|
@@ -3371,41 +3382,41 @@ const W6 = {
|
|
|
3371
3382
|
},
|
|
3372
3383
|
emits: ["submit"],
|
|
3373
3384
|
setup(e, { emit: n }) {
|
|
3374
|
-
const o =
|
|
3375
|
-
|
|
3376
|
-
),
|
|
3377
|
-
() => V1(e.topics.map((
|
|
3378
|
-
),
|
|
3379
|
-
() => V1(e.topics.map((
|
|
3380
|
-
),
|
|
3381
|
-
() => V1(e.topics.map((
|
|
3382
|
-
),
|
|
3383
|
-
() => V1(e.topics.map((
|
|
3384
|
-
),
|
|
3385
|
-
() => V1(e.topics.flatMap((
|
|
3385
|
+
const o = w(!1), l = () => o.value = !1, s = () => o.value = !o.value, { filters: i, filteredTopics: c, reset: u } = H3(
|
|
3386
|
+
F(() => e.topics)
|
|
3387
|
+
), d = F(
|
|
3388
|
+
() => V1(e.topics.map((B) => B.priority))
|
|
3389
|
+
), C = F(
|
|
3390
|
+
() => V1(e.topics.map((B) => B.topic_status))
|
|
3391
|
+
), L = F(
|
|
3392
|
+
() => V1(e.topics.map((B) => B.assigned_to))
|
|
3393
|
+
), h = F(
|
|
3394
|
+
() => V1(e.topics.map((B) => B.creation_author))
|
|
3395
|
+
), m = F(
|
|
3396
|
+
() => V1(e.topics.flatMap((B) => B.labels))
|
|
3386
3397
|
);
|
|
3387
3398
|
return {
|
|
3388
3399
|
// References
|
|
3389
|
-
creatorOptions:
|
|
3390
|
-
filters:
|
|
3391
|
-
toDate: i,
|
|
3400
|
+
creatorOptions: h,
|
|
3401
|
+
filters: i,
|
|
3392
3402
|
isOpen: o,
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
userOptions:
|
|
3403
|
+
labelOptions: m,
|
|
3404
|
+
priorityOptions: d,
|
|
3405
|
+
statusOptions: C,
|
|
3406
|
+
userOptions: L,
|
|
3397
3407
|
// Methods
|
|
3398
3408
|
close: l,
|
|
3399
3409
|
resetFilters: () => {
|
|
3400
|
-
|
|
3401
|
-
filters: g5(
|
|
3402
|
-
topics:
|
|
3410
|
+
u(), n("submit", {
|
|
3411
|
+
filters: g5(i),
|
|
3412
|
+
topics: c.value
|
|
3403
3413
|
});
|
|
3404
3414
|
},
|
|
3405
3415
|
submitFilters: () => {
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3416
|
+
var B;
|
|
3417
|
+
(B = i.endDate) == null || B.setHours(23, 59, 59), n("submit", {
|
|
3418
|
+
filters: g5(i),
|
|
3419
|
+
topics: c.value
|
|
3409
3420
|
}), o.value = !1;
|
|
3410
3421
|
},
|
|
3411
3422
|
toggle: s
|
|
@@ -3414,7 +3425,7 @@ const W6 = {
|
|
|
3414
3425
|
}, 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" };
|
|
3415
3426
|
function ne(e, n, o, l, s, i) {
|
|
3416
3427
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataSelect"), C = g("BIMDataDatePicker"), L = O1("click-away");
|
|
3417
|
-
return
|
|
3428
|
+
return j((r(), a("div", j6, [
|
|
3418
3429
|
p(u, {
|
|
3419
3430
|
class: "bcf-filters__btn-toggle",
|
|
3420
3431
|
disabled: o.topics.length === 0,
|
|
@@ -3436,9 +3447,9 @@ function ne(e, n, o, l, s, i) {
|
|
|
3436
3447
|
]),
|
|
3437
3448
|
_: 1
|
|
3438
3449
|
}, 8, ["disabled", "onClick"]),
|
|
3439
|
-
p(
|
|
3450
|
+
p(a1, { name: "slide-fade-up" }, {
|
|
3440
3451
|
default: f(() => [
|
|
3441
|
-
|
|
3452
|
+
j(t("div", K6, [
|
|
3442
3453
|
t("div", q6, [
|
|
3443
3454
|
t("div", J6, b(e.$t("BcfComponents.BcfFilters.filtersTitle")), 1),
|
|
3444
3455
|
p(u, {
|
|
@@ -3527,7 +3538,7 @@ function ne(e, n, o, l, s, i) {
|
|
|
3527
3538
|
onClick: l.resetFilters
|
|
3528
3539
|
}, {
|
|
3529
3540
|
default: f(() => [
|
|
3530
|
-
|
|
3541
|
+
A(b(e.$t("BcfComponents.BcfFilters.resetButton")), 1)
|
|
3531
3542
|
]),
|
|
3532
3543
|
_: 1
|
|
3533
3544
|
}, 8, ["onClick"]),
|
|
@@ -3541,8 +3552,6 @@ function ne(e, n, o, l, s, i) {
|
|
|
3541
3552
|
p(c, {
|
|
3542
3553
|
name: "search",
|
|
3543
3554
|
size: "xxs",
|
|
3544
|
-
fill: "",
|
|
3545
|
-
color: "default",
|
|
3546
3555
|
margin: "0 6px 0 0"
|
|
3547
3556
|
}),
|
|
3548
3557
|
t("span", null, b(e.$t("BcfComponents.BcfFilters.searchButton")), 1)
|
|
@@ -3551,7 +3560,7 @@ function ne(e, n, o, l, s, i) {
|
|
|
3551
3560
|
}, 8, ["onClick"])
|
|
3552
3561
|
])
|
|
3553
3562
|
], 512), [
|
|
3554
|
-
[
|
|
3563
|
+
[e1, l.isOpen]
|
|
3555
3564
|
])
|
|
3556
3565
|
]),
|
|
3557
3566
|
_: 1
|
|
@@ -3560,7 +3569,7 @@ function ne(e, n, o, l, s, i) {
|
|
|
3560
3569
|
[L, l.close]
|
|
3561
3570
|
]);
|
|
3562
3571
|
}
|
|
3563
|
-
const te = /* @__PURE__ */
|
|
3572
|
+
const te = /* @__PURE__ */ Y(W6, [["render", ne], ["__scopeId", "data-v-d21221e8"]]), d5 = 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"];
|
|
3564
3573
|
Object.entries(d5).filter(([e]) => !re.includes(e));
|
|
3565
3574
|
var oe = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), K1 = { props: { text: { type: String } } };
|
|
3566
3575
|
const ae = { class: "bimdata-card__brand" }, le = { class: "bimdata-card__brand--left" }, ie = { key: 0 };
|
|
@@ -3900,7 +3909,7 @@ z1(`.bimdata-card {
|
|
|
3900
3909
|
filter: saturate(0.8);
|
|
3901
3910
|
}`), q1.render = function(e, n, o, l, s, i) {
|
|
3902
3911
|
const c = g("BIMDataCardBand");
|
|
3903
|
-
return r(), a("div", { class: D(["bimdata-card", i.classes]), style: V({ "min-width": o.width, "border-radius": o.borderRadius }) }, [o.titleHeader || e.$slots.headerIcons ? (r(),
|
|
3912
|
+
return r(), a("div", { class: D(["bimdata-card", i.classes]), style: V({ "min-width": o.width, "border-radius": o.borderRadius }) }, [o.titleHeader || e.$slots.headerIcons ? (r(), k(c, { key: 0, text: o.titleHeader, class: "bimdata-card__header" }, { right: f(() => [y(e.$slots, "headerIcons")]), _: 3 }, 8, ["text"])) : M("v-if", !0), e.$slots.left || o.submenuText || e.$slots.right ? (r(), k(c, { key: 1, class: "bimdata-card__submenu", text: o.submenuText }, { left: f(() => [y(e.$slots, "left")]), right: f(() => [y(e.$slots, "right")]), _: 3 }, 8, ["text"])) : M("v-if", !0), e.$slots.content ? (r(), a("div", se, [y(e.$slots, "content")])) : M("v-if", !0), e.$slots.footer ? (r(), a("footer", ce, [y(e.$slots, "footer")])) : M("v-if", !0)], 6);
|
|
3904
3913
|
}, q1.__scopeId = "data-v-5c84207f", q1.__file = "src/BIMDataComponents/BIMDataCard/BIMDataCard.vue";
|
|
3905
3914
|
const de = Object.entries(d5).reduce((e, n, o) => (o % 5 == 0 ? e.push([n]) : e[e.length - 1].push(n), e), []);
|
|
3906
3915
|
var J1 = { components: { BIMDataCard: q1 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(d5).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: de }) };
|
|
@@ -3921,13 +3930,13 @@ z1(`.color-selector__line[data-v-dd521886] {
|
|
|
3921
3930
|
border: solid 2px var(--color-primary);
|
|
3922
3931
|
}`), J1.render = function(e, n, o, l, s, i) {
|
|
3923
3932
|
const c = g("BIMDataCard");
|
|
3924
|
-
return r(),
|
|
3933
|
+
return r(), k(c, { class: "color-selector" }, { content: f(() => [(r(!0), a(E, null, W(s.colorLines, (u, d) => (r(), a("div", { class: "color-selector__line", key: `colorLine${d}` }, [(r(!0), a(E, null, W(u, ([C, L], h) => (r(), a("div", { class: D(["color-selector__line__element", { selected: L === o.modelValue }]), key: `colorElement${h}ofColorLine${d}`, style: V(`background-color: #${L}`), title: C, onClick: N((m) => e.$emit("update:modelValue", L), ["stop"]) }, null, 14, ue))), 128))]))), 128))]), _: 1 });
|
|
3925
3934
|
}, J1.__scopeId = "data-v-dd521886", J1.__file = "src/BIMDataComponents/BIMDataColorSelector/BIMDataColorSelector.vue";
|
|
3926
3935
|
const Ce = {
|
|
3927
3936
|
components: {
|
|
3928
|
-
BIMDataButton:
|
|
3937
|
+
BIMDataButton: J,
|
|
3929
3938
|
BIMDataColorSelector: J1,
|
|
3930
|
-
BIMDataIcon:
|
|
3939
|
+
BIMDataIcon: Q,
|
|
3931
3940
|
BIMDataInput: b1
|
|
3932
3941
|
},
|
|
3933
3942
|
props: {
|
|
@@ -3943,10 +3952,10 @@ const Ce = {
|
|
|
3943
3952
|
"delete-extension"
|
|
3944
3953
|
],
|
|
3945
3954
|
setup(e, { emit: n }) {
|
|
3946
|
-
const o =
|
|
3955
|
+
const o = w(!1), l = w(!1), s = w(!1), i = w(
|
|
3947
3956
|
e.extension[m1(e.extensionType)]
|
|
3948
|
-
), c =
|
|
3949
|
-
return
|
|
3957
|
+
), c = w(e.extension.color), u = w(null);
|
|
3958
|
+
return c1(
|
|
3950
3959
|
o,
|
|
3951
3960
|
() => setTimeout(() => o.value && u.value.focus(), 50)
|
|
3952
3961
|
), {
|
|
@@ -3954,12 +3963,12 @@ const Ce = {
|
|
|
3954
3963
|
editMode: o,
|
|
3955
3964
|
extensionColor: c,
|
|
3956
3965
|
extensionName: i,
|
|
3957
|
-
EXTENSION_WITH_COLOR:
|
|
3966
|
+
EXTENSION_WITH_COLOR: E5,
|
|
3958
3967
|
input: u,
|
|
3959
3968
|
isOpenColorSelector: l,
|
|
3960
3969
|
isOpenDeleteGuard: s,
|
|
3961
3970
|
// Methods
|
|
3962
|
-
adjustBorderColor:
|
|
3971
|
+
adjustBorderColor: l3,
|
|
3963
3972
|
getExtensionField: m1,
|
|
3964
3973
|
submitColor: async (h) => {
|
|
3965
3974
|
h !== e.extension.color && (n("update-extension", {
|
|
@@ -3990,12 +3999,12 @@ const Ce = {
|
|
|
3990
3999
|
function Le(e, n, o, l, s, i) {
|
|
3991
4000
|
const c = g("BIMDataInput"), u = g("BIMDataIcon"), d = g("BIMDataButton"), C = g("BIMDataColorSelector"), L = O1("click-away");
|
|
3992
4001
|
return r(), a("li", pe, [
|
|
3993
|
-
l.editMode ? (r(),
|
|
4002
|
+
l.editMode ? (r(), k(c, {
|
|
3994
4003
|
key: 1,
|
|
3995
4004
|
ref: "input",
|
|
3996
4005
|
modelValue: l.extensionName,
|
|
3997
4006
|
"onUpdate:modelValue": n[0] || (n[0] = (h) => l.extensionName = h),
|
|
3998
|
-
onKeyup:
|
|
4007
|
+
onKeyup: S(N(l.submitValue, ["stop"]), ["enter"])
|
|
3999
4008
|
}, null, 8, ["modelValue", "onKeyup"])) : (r(), a("span", he, b(o.extension[l.getExtensionField(o.extensionType)]), 1)),
|
|
4000
4009
|
t("div", be, [
|
|
4001
4010
|
p(d, {
|
|
@@ -4028,7 +4037,7 @@ function Le(e, n, o, l, s, i) {
|
|
|
4028
4037
|
]),
|
|
4029
4038
|
_: 1
|
|
4030
4039
|
}),
|
|
4031
|
-
l.EXTENSION_WITH_COLOR.includes(o.extensionType) ? (r(), a(
|
|
4040
|
+
l.EXTENSION_WITH_COLOR.includes(o.extensionType) ? (r(), a(E, { key: 0 }, [
|
|
4032
4041
|
t("span", {
|
|
4033
4042
|
class: "setting-card-item__color",
|
|
4034
4043
|
style: V({
|
|
@@ -4037,7 +4046,7 @@ function Le(e, n, o, l, s, i) {
|
|
|
4037
4046
|
}),
|
|
4038
4047
|
onClick: n[3] || (n[3] = (h) => l.isOpenColorSelector = !0)
|
|
4039
4048
|
}, null, 4),
|
|
4040
|
-
l.isOpenColorSelector ?
|
|
4049
|
+
l.isOpenColorSelector ? j((r(), k(C, {
|
|
4041
4050
|
key: 0,
|
|
4042
4051
|
class: "setting-card-item__color-selector",
|
|
4043
4052
|
modelValue: l.extensionColor,
|
|
@@ -4059,7 +4068,7 @@ function Le(e, n, o, l, s, i) {
|
|
|
4059
4068
|
onClick: n[4] || (n[4] = (h) => l.submitDelete(o.extension))
|
|
4060
4069
|
}, {
|
|
4061
4070
|
default: f(() => [
|
|
4062
|
-
|
|
4071
|
+
A(b(e.$t("BcfComponents.SettingCard.deleteButton")), 1)
|
|
4063
4072
|
]),
|
|
4064
4073
|
_: 1
|
|
4065
4074
|
}),
|
|
@@ -4082,11 +4091,11 @@ function Le(e, n, o, l, s, i) {
|
|
|
4082
4091
|
])) : M("", !0)
|
|
4083
4092
|
]);
|
|
4084
4093
|
}
|
|
4085
|
-
const ve = /* @__PURE__ */
|
|
4094
|
+
const ve = /* @__PURE__ */ Y(Ce, [["render", Le], ["__scopeId", "data-v-b97a5399"]]);
|
|
4086
4095
|
const me = {
|
|
4087
4096
|
components: {
|
|
4088
|
-
BIMDataButton:
|
|
4089
|
-
BIMDataIcon:
|
|
4097
|
+
BIMDataButton: J,
|
|
4098
|
+
BIMDataIcon: Q,
|
|
4090
4099
|
BIMDataInput: b1,
|
|
4091
4100
|
SettingCardItem: ve
|
|
4092
4101
|
},
|
|
@@ -4106,9 +4115,9 @@ const me = {
|
|
|
4106
4115
|
"delete-extension"
|
|
4107
4116
|
],
|
|
4108
4117
|
setup(e, { emit: n }) {
|
|
4109
|
-
const o =
|
|
4110
|
-
() =>
|
|
4111
|
-
), l =
|
|
4118
|
+
const o = F(
|
|
4119
|
+
() => X5(e.extensionType, e.detailedExtensions)
|
|
4120
|
+
), l = w(null), s = w(""), i = w(!1), c = () => i.value = !1, u = () => i.value = !i.value, d = w(!1), C = () => {
|
|
4112
4121
|
s.value = "", d.value = !1;
|
|
4113
4122
|
};
|
|
4114
4123
|
return {
|
|
@@ -4154,9 +4163,9 @@ function ke(e, n, o, l, s, i) {
|
|
|
4154
4163
|
}, null, 8, ["rotate"])
|
|
4155
4164
|
])
|
|
4156
4165
|
]),
|
|
4157
|
-
|
|
4166
|
+
j(t("div", null, [
|
|
4158
4167
|
t("div", He, [
|
|
4159
|
-
|
|
4168
|
+
A(b(e.$t(`BcfComponents.SettingCard.text.${o.extensionType}`)) + " ", 1),
|
|
4160
4169
|
p(u, {
|
|
4161
4170
|
fill: "",
|
|
4162
4171
|
radius: "",
|
|
@@ -4174,15 +4183,15 @@ function ke(e, n, o, l, s, i) {
|
|
|
4174
4183
|
_: 1
|
|
4175
4184
|
}, 8, ["onClick"])
|
|
4176
4185
|
]),
|
|
4177
|
-
p(
|
|
4186
|
+
p(a1, { name: "slide-fade-up" }, {
|
|
4178
4187
|
default: f(() => [
|
|
4179
|
-
|
|
4188
|
+
j(t("div", Ve, [
|
|
4180
4189
|
p(d, {
|
|
4181
4190
|
ref: "input",
|
|
4182
4191
|
placeholder: e.$t(`BcfComponents.SettingCard.input.${o.extensionType}`),
|
|
4183
4192
|
modelValue: l.name,
|
|
4184
4193
|
"onUpdate:modelValue": n[1] || (n[1] = (L) => l.name = L),
|
|
4185
|
-
onKeyup:
|
|
4194
|
+
onKeyup: S(N(l.addExtension, ["stop"]), ["enter"])
|
|
4186
4195
|
}, null, 8, ["placeholder", "modelValue", "onKeyup"]),
|
|
4187
4196
|
t("div", De, [
|
|
4188
4197
|
p(u, {
|
|
@@ -4191,7 +4200,7 @@ function ke(e, n, o, l, s, i) {
|
|
|
4191
4200
|
onClick: l.closeForm
|
|
4192
4201
|
}, {
|
|
4193
4202
|
default: f(() => [
|
|
4194
|
-
|
|
4203
|
+
A(b(e.$t("BcfComponents.SettingCard.cancelButton")), 1)
|
|
4195
4204
|
]),
|
|
4196
4205
|
_: 1
|
|
4197
4206
|
}, 8, ["onClick"]),
|
|
@@ -4202,19 +4211,19 @@ function ke(e, n, o, l, s, i) {
|
|
|
4202
4211
|
onClick: l.addExtension
|
|
4203
4212
|
}, {
|
|
4204
4213
|
default: f(() => [
|
|
4205
|
-
|
|
4214
|
+
A(b(e.$t("BcfComponents.SettingCard.validateButton")), 1)
|
|
4206
4215
|
]),
|
|
4207
4216
|
_: 1
|
|
4208
4217
|
}, 8, ["onClick"])
|
|
4209
4218
|
])
|
|
4210
4219
|
], 512), [
|
|
4211
|
-
[
|
|
4220
|
+
[e1, l.isOpenForm]
|
|
4212
4221
|
])
|
|
4213
4222
|
]),
|
|
4214
4223
|
_: 1
|
|
4215
4224
|
}),
|
|
4216
4225
|
t("ul", Be, [
|
|
4217
|
-
(r(!0), a(
|
|
4226
|
+
(r(!0), a(E, null, W(l.availableExtensions, (L) => (r(), k(C, {
|
|
4218
4227
|
key: L.id,
|
|
4219
4228
|
extensionType: o.extensionType,
|
|
4220
4229
|
extension: L,
|
|
@@ -4223,15 +4232,15 @@ function ke(e, n, o, l, s, i) {
|
|
|
4223
4232
|
}, null, 8, ["extensionType", "extension"]))), 128))
|
|
4224
4233
|
])
|
|
4225
4234
|
], 512), [
|
|
4226
|
-
[
|
|
4235
|
+
[e1, l.isOpen]
|
|
4227
4236
|
])
|
|
4228
4237
|
]);
|
|
4229
4238
|
}
|
|
4230
|
-
const we = /* @__PURE__ */
|
|
4239
|
+
const we = /* @__PURE__ */ Y(me, [["render", ke], ["__scopeId", "data-v-3ea16e8c"]]);
|
|
4231
4240
|
const xe = {
|
|
4232
4241
|
components: {
|
|
4233
|
-
BIMDataButton:
|
|
4234
|
-
BIMDataIcon:
|
|
4242
|
+
BIMDataButton: J,
|
|
4243
|
+
BIMDataIcon: Q,
|
|
4235
4244
|
SettingCard: we
|
|
4236
4245
|
},
|
|
4237
4246
|
props: {
|
|
@@ -4262,7 +4271,7 @@ const xe = {
|
|
|
4262
4271
|
const o = U1();
|
|
4263
4272
|
return {
|
|
4264
4273
|
// References
|
|
4265
|
-
EXTENSION_TYPES:
|
|
4274
|
+
EXTENSION_TYPES: O5,
|
|
4266
4275
|
// Methods
|
|
4267
4276
|
createExtension: async (c) => {
|
|
4268
4277
|
const u = await o.createExtension(
|
|
@@ -4295,7 +4304,7 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4295
4304
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("SettingCard");
|
|
4296
4305
|
return r(), a("div", Ze, [
|
|
4297
4306
|
t("div", Se, [
|
|
4298
|
-
o.uiConfig.backButton ? (r(),
|
|
4307
|
+
o.uiConfig.backButton ? (r(), k(u, {
|
|
4299
4308
|
key: 0,
|
|
4300
4309
|
color: "granite",
|
|
4301
4310
|
ghost: "",
|
|
@@ -4312,7 +4321,7 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4312
4321
|
_: 1
|
|
4313
4322
|
})) : M("", !0),
|
|
4314
4323
|
t("span", Ae, b(e.$t("BcfComponents.BcfSettings.title")), 1),
|
|
4315
|
-
o.uiConfig.closeButton ? (r(),
|
|
4324
|
+
o.uiConfig.closeButton ? (r(), k(u, {
|
|
4316
4325
|
key: 1,
|
|
4317
4326
|
color: "granite",
|
|
4318
4327
|
ghost: "",
|
|
@@ -4331,7 +4340,7 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4331
4340
|
]),
|
|
4332
4341
|
t("div", Te, [
|
|
4333
4342
|
t("div", $e, b(e.$t("BcfComponents.BcfSettings.text")), 1),
|
|
4334
|
-
(r(!0), a(
|
|
4343
|
+
(r(!0), a(E, null, W(l.EXTENSION_TYPES, (C) => (r(), k(d, {
|
|
4335
4344
|
detailedExtensions: o.detailedExtensions,
|
|
4336
4345
|
extensionType: C,
|
|
4337
4346
|
onCreateExtension: l.createExtension,
|
|
@@ -4341,14 +4350,14 @@ function Ne(e, n, o, l, s, i) {
|
|
|
4341
4350
|
])
|
|
4342
4351
|
]);
|
|
4343
4352
|
}
|
|
4344
|
-
const Re = /* @__PURE__ */
|
|
4353
|
+
const Re = /* @__PURE__ */ Y(xe, [["render", Ne], ["__scopeId", "data-v-9e0003a6"]]);
|
|
4345
4354
|
var Oe = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), w1 = { 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() {
|
|
4346
4355
|
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 };
|
|
4347
4356
|
}, style() {
|
|
4348
4357
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
4349
4358
|
} } };
|
|
4350
4359
|
const Ee = ["color"];
|
|
4351
|
-
function
|
|
4360
|
+
function K(e, n) {
|
|
4352
4361
|
n === void 0 && (n = {});
|
|
4353
4362
|
var o = n.insertAt;
|
|
4354
4363
|
if (e && typeof document < "u") {
|
|
@@ -4356,7 +4365,7 @@ function j(e, n) {
|
|
|
4356
4365
|
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));
|
|
4357
4366
|
}
|
|
4358
4367
|
}
|
|
4359
|
-
|
|
4368
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
4360
4369
|
/* colors BRAND */
|
|
4361
4370
|
/* colors GREY SHADES - NEUTRAL */
|
|
4362
4371
|
/* color TEXT */
|
|
@@ -4514,7 +4523,7 @@ html[data-v-3f903003] {
|
|
|
4514
4523
|
.primary-font[data-v-3f903003] {
|
|
4515
4524
|
font-family: "roboto", sans-serif;
|
|
4516
4525
|
}`);
|
|
4517
|
-
|
|
4526
|
+
K(`.bimdata-btn {
|
|
4518
4527
|
padding: 0 var(--spacing-unit);
|
|
4519
4528
|
height: -webkit-fit-content;
|
|
4520
4529
|
height: -moz-fit-content;
|
|
@@ -4834,7 +4843,7 @@ var _2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: {
|
|
|
4834
4843
|
return this.customSize ? this.customSize : H5[this.size];
|
|
4835
4844
|
} } }), Q1 = _2("Chevron", Pe);
|
|
4836
4845
|
const ze = ["fill", "color"];
|
|
4837
|
-
|
|
4846
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
4838
4847
|
/* colors BRAND */
|
|
4839
4848
|
/* colors GREY SHADES - NEUTRAL */
|
|
4840
4849
|
/* color TEXT */
|
|
@@ -4903,7 +4912,7 @@ html[data-v-5e440aca] {
|
|
|
4903
4912
|
/* base FONTS -------------------------------------- */
|
|
4904
4913
|
--primary-font: "roboto", sans-serif;
|
|
4905
4914
|
}`);
|
|
4906
|
-
|
|
4915
|
+
K(`.icon-fill--black {
|
|
4907
4916
|
fill: var(--color-black);
|
|
4908
4917
|
}
|
|
4909
4918
|
.icon-fill--default {
|
|
@@ -4995,7 +5004,7 @@ const Ge = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.4710
|
|
|
4995
5004
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
4996
5005
|
var e2 = _2("DoubleChevron", Ye);
|
|
4997
5006
|
const Xe = ["fill", "color"];
|
|
4998
|
-
|
|
5007
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
4999
5008
|
/* colors BRAND */
|
|
5000
5009
|
/* colors GREY SHADES - NEUTRAL */
|
|
5001
5010
|
/* color TEXT */
|
|
@@ -5064,7 +5073,7 @@ html[data-v-859297ec] {
|
|
|
5064
5073
|
/* base FONTS -------------------------------------- */
|
|
5065
5074
|
--primary-font: "roboto", sans-serif;
|
|
5066
5075
|
}`);
|
|
5067
|
-
|
|
5076
|
+
K(`.icon-fill--black {
|
|
5068
5077
|
fill: var(--color-black);
|
|
5069
5078
|
}
|
|
5070
5079
|
.icon-fill--default {
|
|
@@ -5156,7 +5165,7 @@ const We = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357
|
|
|
5156
5165
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
5157
5166
|
var Z2 = _2("Close", je);
|
|
5158
5167
|
const Ke = ["fill", "color"];
|
|
5159
|
-
|
|
5168
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
5160
5169
|
/* colors BRAND */
|
|
5161
5170
|
/* colors GREY SHADES - NEUTRAL */
|
|
5162
5171
|
/* color TEXT */
|
|
@@ -5225,7 +5234,7 @@ html[data-v-797f55d8] {
|
|
|
5225
5234
|
/* base FONTS -------------------------------------- */
|
|
5226
5235
|
--primary-font: "roboto", sans-serif;
|
|
5227
5236
|
}`);
|
|
5228
|
-
|
|
5237
|
+
K(`.icon-fill--black {
|
|
5229
5238
|
fill: var(--color-black);
|
|
5230
5239
|
}
|
|
5231
5240
|
.icon-fill--default {
|
|
@@ -5317,7 +5326,7 @@ const qe = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.465
|
|
|
5317
5326
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
5318
5327
|
var S2 = _2("Search", Je);
|
|
5319
5328
|
const Qe = ["fill", "color"];
|
|
5320
|
-
|
|
5329
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
5321
5330
|
/* colors BRAND */
|
|
5322
5331
|
/* colors GREY SHADES - NEUTRAL */
|
|
5323
5332
|
/* color TEXT */
|
|
@@ -5386,7 +5395,7 @@ html[data-v-0993abf8] {
|
|
|
5386
5395
|
/* base FONTS -------------------------------------- */
|
|
5387
5396
|
--primary-font: "roboto", sans-serif;
|
|
5388
5397
|
}`);
|
|
5389
|
-
|
|
5398
|
+
K(`.icon-fill--black {
|
|
5390
5399
|
fill: var(--color-black);
|
|
5391
5400
|
}
|
|
5392
5401
|
.icon-fill--default {
|
|
@@ -5475,7 +5484,7 @@ j(`.icon-fill--black {
|
|
|
5475
5484
|
}, S2.__scopeId = "data-v-0993abf8", S2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
5476
5485
|
var n2 = { components: { BIMDataIconChevron: Q1, BIMDataIconDoubleChevron: e2, BIMDataButton: w1 }, 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"] };
|
|
5477
5486
|
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" };
|
|
5478
|
-
|
|
5487
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
5479
5488
|
/* colors BRAND */
|
|
5480
5489
|
/* colors GREY SHADES - NEUTRAL */
|
|
5481
5490
|
/* color TEXT */
|
|
@@ -5551,7 +5560,7 @@ html[data-v-aa907072] {
|
|
|
5551
5560
|
.bimdata-list li[data-v-aa907072] {
|
|
5552
5561
|
list-style-type: none;
|
|
5553
5562
|
}`);
|
|
5554
|
-
|
|
5563
|
+
K(`.bimdata-navigation[data-v-aa907072] {
|
|
5555
5564
|
display: -webkit-inline-box;
|
|
5556
5565
|
display: -ms-inline-flexbox;
|
|
5557
5566
|
display: inline-flex;
|
|
@@ -5602,7 +5611,7 @@ var t2 = { components: { BIMDataNavigation: n2, BIMDataButton: w1 }, props: { le
|
|
|
5602
5611
|
this.$emit("pagechanged", this.totalPages);
|
|
5603
5612
|
} } };
|
|
5604
5613
|
const ln = { class: "bimdata-pagination__item" };
|
|
5605
|
-
|
|
5614
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
5606
5615
|
/* colors BRAND */
|
|
5607
5616
|
/* colors GREY SHADES - NEUTRAL */
|
|
5608
5617
|
/* color TEXT */
|
|
@@ -5671,7 +5680,7 @@ html[data-v-45066753] {
|
|
|
5671
5680
|
/* base FONTS -------------------------------------- */
|
|
5672
5681
|
--primary-font: "roboto", sans-serif;
|
|
5673
5682
|
}`);
|
|
5674
|
-
|
|
5683
|
+
K(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
5675
5684
|
padding: 0;
|
|
5676
5685
|
-webkit-box-pack: center;
|
|
5677
5686
|
-ms-flex-pack: center;
|
|
@@ -5681,14 +5690,14 @@ j(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
|
5681
5690
|
font-weight: 700;
|
|
5682
5691
|
}`), t2.render = function(e, n, o, l, s, i) {
|
|
5683
5692
|
const c = g("BIMDataButton"), u = g("BIMDataNavigation");
|
|
5684
|
-
return r(),
|
|
5693
|
+
return r(), k(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 }, a5({ 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"]);
|
|
5685
5694
|
}, t2.__scopeId = "data-v-45066753", t2.__file = "src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue";
|
|
5686
5695
|
var r2 = { props: ["size", "border"], methods: { getStyle() {
|
|
5687
5696
|
if (this.size)
|
|
5688
5697
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
5689
5698
|
} } };
|
|
5690
5699
|
const sn = { class: "bimdata-spinner" };
|
|
5691
|
-
|
|
5700
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
5692
5701
|
/* colors BRAND */
|
|
5693
5702
|
/* colors GREY SHADES - NEUTRAL */
|
|
5694
5703
|
/* color TEXT */
|
|
@@ -5757,7 +5766,7 @@ html[data-v-162f2cc6] {
|
|
|
5757
5766
|
/* base FONTS -------------------------------------- */
|
|
5758
5767
|
--primary-font: "roboto", sans-serif;
|
|
5759
5768
|
}`);
|
|
5760
|
-
|
|
5769
|
+
K(`@-webkit-keyframes bimdataspinner {
|
|
5761
5770
|
0% {
|
|
5762
5771
|
-webkit-transform: scale(0.2);
|
|
5763
5772
|
transform: scale(0.2);
|
|
@@ -5849,7 +5858,7 @@ var o2 = { components: { BIMDataPagination: t2, BIMDataSpinner: r2 }, props: { l
|
|
|
5849
5858
|
this.currentPage = e;
|
|
5850
5859
|
} } };
|
|
5851
5860
|
const cn = { class: "bimdata-paginated-list" }, dn = { key: 1 }, un = { class: "bimdata-list bimdata-paginated-list__elements" }, Cn = ["onClick"];
|
|
5852
|
-
|
|
5861
|
+
K(`/* base COLORS --------------------------------------------- */
|
|
5853
5862
|
/* colors BRAND */
|
|
5854
5863
|
/* colors GREY SHADES - NEUTRAL */
|
|
5855
5864
|
/* color TEXT */
|
|
@@ -5925,7 +5934,7 @@ html[data-v-3ab4d75d] {
|
|
|
5925
5934
|
.bimdata-list li[data-v-3ab4d75d] {
|
|
5926
5935
|
list-style-type: none;
|
|
5927
5936
|
}`);
|
|
5928
|
-
|
|
5937
|
+
K(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
5929
5938
|
font-family: var(--primary-font);
|
|
5930
5939
|
font-size: 1em;
|
|
5931
5940
|
line-height: 1.5;
|
|
@@ -5964,7 +5973,7 @@ j(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
|
5964
5973
|
justify-content: center;
|
|
5965
5974
|
}`), o2.render = function(e, n, o, l, s, i) {
|
|
5966
5975
|
const c = g("BIMDataSpinner"), u = g("BIMDataPagination");
|
|
5967
|
-
return r(), a("div", cn, [o.loading ? (r(),
|
|
5976
|
+
return r(), a("div", cn, [o.loading ? (r(), k(c, { key: 0 })) : (r(), a("div", dn, [y(e.$slots, "header"), t("ul", un, [(r(!0), a(E, null, W(i.page, (d) => (r(), a("li", { key: o.elementKey ? d[o.elementKey] : d, onClick: (C) => e.$emit("element-click", d) }, [y(e.$slots, "element", { element: d }, () => [A(b(d && d.toString()), 1)])], 8, Cn))), 128))]), o.list.length === 0 ? y(e.$slots, "empty", { key: 0 }) : M("v-if", !0), i.totalPages > 1 ? (r(), k(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)]))]);
|
|
5968
5977
|
}, o2.__scopeId = "data-v-3ab4d75d", o2.__file = "src/BIMDataComponents/BIMDataPaginatedList/BIMDataPaginatedList.vue";
|
|
5969
5978
|
var a2 = { 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() {
|
|
5970
5979
|
return (this.barStrokeWidth / 2 - 4) / (2 * this.barDistanceFromCenter * Math.PI) * 100;
|
|
@@ -6019,7 +6028,7 @@ to {
|
|
|
6019
6028
|
stroke-dashoffset: 0;
|
|
6020
6029
|
}
|
|
6021
6030
|
}`), a2.render = function(e, n, o, l, s, i) {
|
|
6022
|
-
return r(), a("div", pn, [(r(), a("svg", { viewBox: i.viewBox, style: V(`--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(
|
|
6031
|
+
return r(), a("div", pn, [(r(), a("svg", { viewBox: i.viewBox, style: V(`--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(E, 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);
|
|
6023
6032
|
}, a2.__scopeId = "data-v-b68a8bb2", a2.__file = "src/BIMDataComponents/BIMDataSimplePieChart/BIMDataSimplePieChart.vue";
|
|
6024
6033
|
const fn = {
|
|
6025
6034
|
components: {
|
|
@@ -6041,10 +6050,10 @@ const fn = {
|
|
|
6041
6050
|
},
|
|
6042
6051
|
setup(e) {
|
|
6043
6052
|
return {
|
|
6044
|
-
chartData:
|
|
6053
|
+
chartData: F(() => {
|
|
6045
6054
|
if (e.topics.length === 0)
|
|
6046
6055
|
return [];
|
|
6047
|
-
const o = m1(e.extensionType), l =
|
|
6056
|
+
const o = m1(e.extensionType), l = X5(e.extensionType, e.detailedExtensions);
|
|
6048
6057
|
return l.push({ [o]: void 0 }), l.map((s) => {
|
|
6049
6058
|
const i = e.topics.filter((c) => c[o] === s[o]).length;
|
|
6050
6059
|
return {
|
|
@@ -6087,7 +6096,7 @@ function Vn(e, n, o, l, s, i) {
|
|
|
6087
6096
|
}, null, 4),
|
|
6088
6097
|
t("span", yn, b(d.percentage.toFixed(0)) + " % ", 1),
|
|
6089
6098
|
t("span", _n, [
|
|
6090
|
-
|
|
6099
|
+
A(b(d.label || e.$t(`BcfComponents.BcfStatistics.extension.${o.extensionType}NotDefined`)) + " ", 1),
|
|
6091
6100
|
t("span", Hn, " (" + b(d.count) + ") ", 1)
|
|
6092
6101
|
])
|
|
6093
6102
|
])
|
|
@@ -6098,7 +6107,7 @@ function Vn(e, n, o, l, s, i) {
|
|
|
6098
6107
|
])
|
|
6099
6108
|
]);
|
|
6100
6109
|
}
|
|
6101
|
-
const Dn = /* @__PURE__ */
|
|
6110
|
+
const Dn = /* @__PURE__ */ Y(fn, [["render", Vn], ["__scopeId", "data-v-173b3d02"]]);
|
|
6102
6111
|
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() {
|
|
6103
6112
|
this.observer = new ResizeObserver(() => this.computeText()), this.observer.observe(this.$refs.textBox), this.computeText();
|
|
6104
6113
|
}, beforeUnmount() {
|
|
@@ -6307,7 +6316,7 @@ html[data-v-330fe2fd] {
|
|
|
6307
6316
|
-webkit-transform: rotate(45deg);
|
|
6308
6317
|
transform: rotate(45deg);
|
|
6309
6318
|
}`), d1.render = function(e, n, o, l, s, i) {
|
|
6310
|
-
return r(), a("div", { ref: "textBox", class: "bimdata-textbox", style: V({ 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: V({ width: s.textTail ? "50%" : "100%", direction: o.cutPosition === "start" ? "rtl" : "ltr" }) }, [t("bdi", null, b(s.textHead), 1)], 4),
|
|
6319
|
+
return r(), a("div", { ref: "textBox", class: "bimdata-textbox", style: V({ 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: V({ 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), [[e1, s.textTail]]), o.tooltip && s.isOverflowing ? j((r(), a("div", { key: 0, class: D(["bimdata-textbox__tooltip", [`bimdata-textbox__tooltip--${o.tooltipPosition}`, `bimdata-textbox__tooltip--${o.tooltipColor}`]]) }, b(o.text), 3)), [[e1, s.showTooltip]]) : M("v-if", !0)], 36);
|
|
6311
6320
|
}, d1.__scopeId = "data-v-330fe2fd", d1.__file = "src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
|
|
6312
6321
|
const kn = {}, wn = {
|
|
6313
6322
|
width: "84",
|
|
@@ -6315,18 +6324,18 @@ const kn = {}, wn = {
|
|
|
6315
6324
|
viewBox: "0 0 84 81",
|
|
6316
6325
|
fill: "none",
|
|
6317
6326
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6318
|
-
}, xn = /* @__PURE__ */
|
|
6327
|
+
}, xn = /* @__PURE__ */ N5('<path d="M83.3154 40.6328C83.3154 62.7242 65.4068 80.6328 43.3154 80.6328C21.224 80.6328 3.31543 62.7242 3.31543 40.6328C3.31543 18.5414 21.224 0.632812 43.3154 0.632812C65.4068 0.632812 83.3154 18.5414 83.3154 40.6328Z" fill="#FFFFFF"></path><path d="M46.2756 13.5376L34.124 58.8879C33.9787 59.4301 34.3035 59.9926 34.8457 60.1379L68.3655 69.1195C68.9077 69.2648 69.4702 68.94 69.6155 68.3978L78.333 35.8639L67.4883 32.9581C66.9461 32.8128 66.6213 32.2503 66.7666 31.708L70.2008 18.8916L47.5256 12.8159C46.9834 12.6706 46.4209 12.9953 46.2756 13.5376Z" fill="#FFFFFF"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.7926 13.4082C46.0094 12.5992 46.8461 12.1161 47.655 12.3329L70.8131 18.5381L67.2496 31.8374C67.1758 32.1129 67.0765 32.4855 67.0765 32.4855L78.92 35.6661L70.0985 68.5272C69.8817 69.3362 69.045 69.8192 68.2361 69.6024L34.7163 60.6209C33.9073 60.4041 33.4243 59.5674 33.641 58.7584L45.7926 13.4082ZM47.3962 13.2988C47.1207 13.225 46.8324 13.3915 46.7585 13.667L34.607 59.0173C34.5331 59.2928 34.6996 59.5811 34.9751 59.6549L68.4949 68.6365C68.7704 68.7103 69.0587 68.5439 69.1326 68.2684L77.7206 36.2174L67.3589 33.441C66.55 33.2243 66.0669 32.3876 66.2837 31.5786L69.5884 19.2452L47.3962 13.2988Z" class="fill-silver"></path><path d="M67.0765 32.4855L70.8131 18.5404L78.92 35.6661L67.0765 32.4855Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.3876 52.686L48.3872 37.7594L67.8264 42.9682L63.8269 57.8947L44.3876 52.686ZM47.0917 37.0402C47.2458 36.4651 47.837 36.1238 48.4121 36.2779L68.5456 41.6726C69.1208 41.8268 69.4621 42.4179 69.308 42.9931L65.1224 58.6139C64.9683 59.1891 64.3771 59.5304 63.802 59.3763L43.6684 53.9815C43.0933 53.8274 42.752 53.2362 42.9061 52.6611L47.0917 37.0402ZM53.3118 42.9855C52.9778 44.2316 51.697 44.9712 50.4508 44.6373C49.2047 44.3034 48.4652 43.0225 48.7991 41.7763C49.133 40.5302 50.4139 39.7907 51.66 40.1246C52.9061 40.4585 53.6457 41.7394 53.3118 42.9855ZM46.7528 49.4132L46.1482 51.6695L62.8104 56.1342L64.2521 50.7536L60.6945 44.5916L52.992 49.0387L51.5943 46.6179L46.7528 49.4132Z" class="fill-silver"></path><path d="M7.70191 20.1034L19.8535 65.4537C19.9988 65.9959 20.5613 66.3207 21.1035 66.1754L54.6233 57.1938C55.1655 57.0485 55.4903 56.486 55.345 55.9437L46.6276 23.4098L35.783 26.3157C35.2407 26.4609 34.6782 26.1362 34.5329 25.5939L31.0988 12.7776L8.42363 18.8533C7.88139 18.9986 7.55662 19.5612 7.70191 20.1034Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.21895 20.2328C7.00219 19.4238 7.48525 18.5871 8.29422 18.3704L31.4523 12.1652L35.0159 25.4645C35.0897 25.74 35.1918 26.119 35.1918 26.119L47.0371 22.9451L55.828 55.8143C56.0447 56.6233 55.5617 57.46 54.7527 57.6767L21.2329 66.6583C20.424 66.8751 19.5873 66.392 19.3705 65.5831L7.21895 20.2328ZM8.55304 19.3363C8.27754 19.4101 8.11106 19.6985 8.18488 19.974L20.3365 65.3243C20.4103 65.5998 20.6986 65.7662 20.9741 65.6924L54.4939 56.7108C54.7694 56.637 54.9359 56.3487 54.8621 56.0732L46.274 24.0222L35.9124 26.7986C35.1034 27.0154 34.2667 26.5323 34.0499 25.7234L30.7452 13.3899L8.55304 19.3363Z" class="fill-silver"></path><path d="M35.1918 26.119L31.4534 12.1672L47.0371 22.9451L35.1918 26.119Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M25.6411 54.9509L21.6416 40.0243L41.0808 34.8156L45.0804 49.7422L25.6411 54.9509ZM20.16 40.0492C20.0059 39.4741 20.3472 38.8829 20.9224 38.7288L41.0559 33.3341C41.631 33.1799 42.2222 33.5213 42.3763 34.0964L46.5619 49.7172C46.716 50.2924 46.3747 50.8836 45.7996 51.0377L25.666 56.4324C25.0909 56.5865 24.4997 56.2452 24.3456 55.6701L20.16 40.0492ZM28.5194 42.088C28.8533 43.3341 28.1138 44.615 26.8676 44.9489C25.6215 45.2828 24.3406 44.5433 24.0067 43.2971C23.6728 42.051 24.4123 40.7701 25.6585 40.4362C26.9046 40.1023 28.1855 40.8418 28.5194 42.088ZM26.053 50.934L26.6576 53.1903L43.3198 48.7257L41.8781 43.3452L35.7161 39.7876L31.2691 47.4901L28.8483 46.0924L26.053 50.934Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.9375 17.1323V12.6323H7.9375V17.1323H6.9375Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.72393 18.0419L2.54195 14.8599L3.24906 14.1528L6.43104 17.3348L5.72393 18.0419Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.46582 19.615H0.96582L0.96582 18.615H5.46582V19.615Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M46.5972 10.507L47.7619 6.16033L48.7278 6.41915L47.5631 10.7658L46.5972 10.507Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.1895 11.0715L42.9395 7.17435L43.8056 6.67435L46.0556 10.5715L45.1895 11.0715Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.5331 12.5242L40.1864 11.3595L40.4452 10.3936L44.7919 11.5582L44.5331 12.5242Z" class="fill-primary"></path>', 15), Zn = [
|
|
6319
6328
|
xn
|
|
6320
6329
|
];
|
|
6321
6330
|
function Sn(e, n) {
|
|
6322
6331
|
return r(), a("svg", wn, Zn);
|
|
6323
6332
|
}
|
|
6324
|
-
const u5 = /* @__PURE__ */
|
|
6333
|
+
const u5 = /* @__PURE__ */ Y(kn, [["render", Sn]]);
|
|
6325
6334
|
const An = {
|
|
6326
6335
|
components: {
|
|
6327
6336
|
BcfTopicDefaultImage: u5,
|
|
6328
|
-
BIMDataButton:
|
|
6329
|
-
BIMDataIcon:
|
|
6337
|
+
BIMDataButton: J,
|
|
6338
|
+
BIMDataIcon: Q,
|
|
6330
6339
|
BIMDataTextbox: d1
|
|
6331
6340
|
},
|
|
6332
6341
|
props: {
|
|
@@ -6349,10 +6358,10 @@ const An = {
|
|
|
6349
6358
|
},
|
|
6350
6359
|
emits: ["open-topic", "update:selected"],
|
|
6351
6360
|
setup(e) {
|
|
6352
|
-
const n =
|
|
6361
|
+
const n = w(!1), o = F(() => _1(e.topic, e.detailedExtensions)), l = F(() => c5(e.topic, e.detailedExtensions)), s = F(() => {
|
|
6353
6362
|
var c, u;
|
|
6354
6363
|
return (u = (c = e.topic.viewpoints) == null ? void 0 : c.filter((d) => d.snapshot)[0]) == null ? void 0 : u.snapshot.snapshot_data;
|
|
6355
|
-
}), i =
|
|
6364
|
+
}), i = F(() => {
|
|
6356
6365
|
var c, u, d;
|
|
6357
6366
|
return ((d = (u = (c = e.topic.viewpoints) == null ? void 0 : c[0]) == null ? void 0 : u.components) == null ? void 0 : d.selection) ?? [];
|
|
6358
6367
|
});
|
|
@@ -6390,11 +6399,11 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6390
6399
|
}, null, 8, ["text"])
|
|
6391
6400
|
]),
|
|
6392
6401
|
t("div", Nn, [
|
|
6393
|
-
|
|
6402
|
+
j(p(u, {
|
|
6394
6403
|
modelValue: o.selected,
|
|
6395
6404
|
"onUpdate:modelValue": n[0] || (n[0] = (h) => e.$emit("update:selected", h))
|
|
6396
6405
|
}, null, 8, ["modelValue"]), [
|
|
6397
|
-
[
|
|
6406
|
+
[e1, o.selectable && l.hover]
|
|
6398
6407
|
])
|
|
6399
6408
|
])
|
|
6400
6409
|
]),
|
|
@@ -6420,7 +6429,7 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6420
6429
|
src: l.topicImage,
|
|
6421
6430
|
alt: "topic viewpoint",
|
|
6422
6431
|
loading: "lazy"
|
|
6423
|
-
}, null, 8, Fn)) : (r(),
|
|
6432
|
+
}, null, 8, Fn)) : (r(), k(C, {
|
|
6424
6433
|
key: 2,
|
|
6425
6434
|
class: "img-default"
|
|
6426
6435
|
}))
|
|
@@ -6454,7 +6463,7 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6454
6463
|
onClick: n[1] || (n[1] = (h) => e.$emit("open-topic", o.topic))
|
|
6455
6464
|
}, {
|
|
6456
6465
|
default: f(() => [
|
|
6457
|
-
|
|
6466
|
+
A(b(e.$t("BcfComponents.BcfTopicCard.see")), 1)
|
|
6458
6467
|
]),
|
|
6459
6468
|
_: 1
|
|
6460
6469
|
})
|
|
@@ -6462,24 +6471,24 @@ function Yn(e, n, o, l, s, i) {
|
|
|
6462
6471
|
])
|
|
6463
6472
|
], 34);
|
|
6464
6473
|
}
|
|
6465
|
-
const Xn = /* @__PURE__ */
|
|
6474
|
+
const Xn = /* @__PURE__ */ Y(An, [["render", Yn], ["__scopeId", "data-v-6a7340ba"]]), Wn = {}, jn = {
|
|
6466
6475
|
width: "66",
|
|
6467
6476
|
height: "60",
|
|
6468
6477
|
viewBox: "0 0 66 60",
|
|
6469
6478
|
fill: "none",
|
|
6470
6479
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6471
|
-
}, Kn = /* @__PURE__ */
|
|
6480
|
+
}, Kn = /* @__PURE__ */ N5('<path opacity="0.21" d="M14.4999 59.2445C22.2871 59.2445 28.5999 58.9311 28.5999 58.5445C28.5999 58.1579 22.2871 57.8445 14.4999 57.8445C6.71269 57.8445 0.399902 58.1579 0.399902 58.5445C0.399902 58.9311 6.71269 59.2445 14.4999 59.2445Z" class="fill-granite-light"></path><path d="M46.84 26.5444C45.0533 26.5444 43.5645 28.0444 43.5645 29.8444C43.5645 31.6444 45.0533 33.1444 46.84 33.1444C48.6267 33.1444 50.1156 31.6444 50.1156 29.8444C50.1156 28.0444 48.6267 26.5444 46.84 26.5444ZM48.4282 29.8444C48.4282 30.7444 47.7333 31.4444 46.84 31.4444C45.9467 31.4444 45.2519 30.7444 45.2519 29.8444C45.2519 28.9444 45.9467 28.2444 46.84 28.2444C47.7333 28.2444 48.4282 29.0444 48.4282 29.8444Z" class="fill-silver-dark"></path><path d="M54.8797 27.6444C52.9938 27.6444 51.5049 29.1444 51.5049 31.0444C51.5049 32.9444 52.9938 34.4444 54.8797 34.4444C56.7656 34.4444 58.2545 32.9444 58.2545 31.0444C58.1553 29.1444 56.6664 27.6444 54.8797 27.6444ZM56.4678 31.0444C56.4678 31.9444 55.773 32.6444 54.8797 32.6444C53.9864 32.6444 53.2916 31.9444 53.2916 31.0444C53.2916 30.1444 53.9864 29.4444 54.8797 29.4444C55.773 29.4444 56.4678 30.1444 56.4678 31.0444Z" class="fill-silver-dark"></path><path d="M52.1005 11.1444C44.7554 11.1444 38.7998 17.1444 38.7998 24.5444V50.9444C38.7998 53.0444 40.4872 54.8444 42.6709 54.8444C42.9687 54.8444 43.2665 54.8444 43.5642 54.7444C43.6635 56.8444 45.3509 58.5444 47.4354 58.5444C49.5198 58.5444 51.3065 56.8444 51.3065 54.6444V52.7444C51.6042 52.8444 51.902 52.8444 52.1998 52.8444H52.3983C52.6961 52.8444 52.9939 52.8444 53.2917 52.7444C53.4902 54.7444 55.0783 56.2444 57.0635 56.2444C57.3613 56.2444 57.6591 56.2444 57.9568 56.1444C58.3539 57.9444 59.8428 59.2444 61.7287 59.2444C63.8131 59.2444 65.5998 57.5444 65.5998 55.3444V24.5444C65.4013 17.1444 59.4457 11.1444 52.1005 11.1444ZM57.7583 47.8444V52.4444C57.7583 52.9444 57.3613 53.3444 56.865 53.3444C56.3687 53.3444 55.9717 52.9444 55.9717 52.4444V47.1444H52.9939V49.0444C52.9939 49.5444 52.5968 49.9444 52.1005 49.9444H51.902C51.4057 49.9444 51.0087 49.5444 51.0087 49.0444V42.0444H48.0309V54.6444C48.0309 55.1444 47.6339 55.5444 47.1376 55.5444C46.6413 55.5444 46.2442 55.1444 46.2442 54.6444V48.5444H43.2665V51.0444C43.2665 51.5444 42.8694 51.9444 42.3731 51.9444C41.8768 51.9444 41.4798 51.5444 41.4798 51.0444V24.5444C41.4798 18.8444 46.145 14.1444 51.8028 14.1444C57.4605 14.1444 62.1257 18.8444 62.1257 24.5444V55.3444C62.1257 55.8444 61.7287 56.2444 61.2324 56.2444C60.7361 56.2444 60.3391 55.8444 60.3391 55.3444V47.8444H57.7583Z" class="fill-silver-dark"></path><path d="M29.8001 6.84446C31.5674 6.84446 33.0001 5.41177 33.0001 3.64446C33.0001 1.87715 31.5674 0.444458 29.8001 0.444458C28.0328 0.444458 26.6001 1.87715 26.6001 3.64446C26.6001 5.41177 28.0328 6.84446 29.8001 6.84446Z" class="fill-silver-dark"></path><path d="M23.8997 15.9444C25.1147 15.9444 26.0997 14.9595 26.0997 13.7444C26.0997 12.5294 25.1147 11.5444 23.8997 11.5444C22.6847 11.5444 21.6997 12.5294 21.6997 13.7444C21.6997 14.9595 22.6847 15.9444 23.8997 15.9444Z" class="fill-secondary"></path><path d="M28.8999 22.0444C29.7283 22.0444 30.3999 21.3729 30.3999 20.5444C30.3999 19.716 29.7283 19.0444 28.8999 19.0444C28.0715 19.0444 27.3999 19.716 27.3999 20.5444C27.3999 21.3729 28.0715 22.0444 28.8999 22.0444Z" class="fill-silver-dark"></path><path d="M13.9995 33.5444C15.2995 34.1444 16.4995 34.8444 17.5995 35.7444C19.1995 37.1444 20.4995 38.7444 21.3995 40.6444C21.6995 41.2444 21.8995 41.8444 22.0995 42.4444C22.5995 43.9444 22.2995 45.2444 21.1995 46.3444C18.8995 48.6444 16.1995 49.3444 13.0995 48.5444C12.8995 48.5444 12.6995 48.5444 12.5995 48.5444C11.3995 48.7444 10.0995 48.8444 8.89951 48.6444C8.59951 48.6444 8.39951 48.5444 7.99951 48.5444C8.29951 49.0444 8.59951 49.4444 8.89951 49.9444C9.79951 51.2444 11.0995 52.2444 12.4995 52.8444C14.3995 53.6444 16.2995 53.8444 18.2995 53.4444C20.0995 53.0444 21.6995 52.1444 22.9995 50.7444C24.3995 49.2444 25.2995 47.4444 25.4995 45.3444C25.5995 44.0444 25.5995 42.6444 25.0995 41.4444C24.6995 40.4444 24.0995 39.5444 23.3995 38.7444C22.0995 37.0444 20.5995 35.5444 19.0995 34.0444C18.4995 33.4444 17.8995 32.9444 17.2995 32.4444C17.1995 32.3444 17.0995 32.3444 16.9995 32.3444C15.6995 32.1444 14.7995 32.3444 13.9995 33.5444Z" class="fill-silver-dark"></path><path d="M11.4997 29.6444C10.3997 29.5444 9.49967 29.6444 8.59967 29.9444C7.39967 30.2444 6.19967 30.8444 5.19967 31.6444C4.19967 32.4444 3.39967 33.3444 2.79967 34.5444C1.99967 36.0444 1.59967 37.6444 1.69967 39.3444C1.79967 41.0444 2.29967 42.7444 3.29967 44.1444C4.19967 45.4444 5.29967 46.4444 6.59967 47.1444C7.59967 47.6444 8.49967 48.0444 9.59967 48.0444C11.3997 48.0444 13.1997 47.8444 14.8997 47.3444C16.1997 47.0444 17.5997 46.6444 18.8997 46.2444C19.4997 46.0444 20.1997 45.9444 20.7997 45.5444C21.1997 45.3444 21.3997 44.8444 21.5997 44.3444C21.7997 43.6444 21.7997 42.9444 21.3997 42.2444C21.0997 42.4444 20.7997 42.6444 20.4997 42.8444C19.1997 43.6444 17.7997 44.2444 16.2997 44.6444C14.2997 45.1444 12.1997 45.1444 10.1997 44.8444C8.89967 44.6444 7.79967 44.0444 7.09967 42.7444C6.69967 41.8444 6.49967 40.9444 6.49967 39.9444C6.39967 37.5444 7.29967 35.5444 8.99967 33.8444C8.99967 33.8444 9.19967 33.5444 9.29967 33.2444C9.79967 31.9444 10.3997 30.7444 11.4997 29.6444Z" class="fill-silver-dark"></path><path d="M9.89953 44.2445C9.89953 44.0445 9.89953 43.8445 9.89953 43.7445C9.69953 41.5445 9.99953 39.4445 10.7995 37.4445C11.4995 35.5445 12.5995 33.9445 13.9995 32.5445C14.8995 31.6445 15.9995 31.4445 17.1995 31.6445C19.7995 32.2445 21.7995 33.6445 22.8995 36.1445C23.0995 36.6445 23.1995 37.2445 23.4995 37.7445C23.5995 38.0445 23.8995 38.3445 24.0995 38.6445C24.7995 39.6445 25.4995 40.7445 25.8995 41.9445C25.8995 41.9445 25.8995 42.0445 25.9995 42.1445C26.2995 41.4445 26.6995 40.7445 26.9995 40.1445C27.4995 38.9445 27.5995 37.6445 27.4995 36.3445C27.2995 34.1445 26.4995 32.1445 24.8995 30.5445C23.7995 29.3445 22.3995 28.5445 20.7995 28.1445C19.0995 27.6445 17.2995 27.6445 15.5995 28.2445C13.9995 28.7445 12.5995 29.5445 11.4995 30.9445C11.0995 31.4445 10.6995 32.0445 10.3995 32.7445C9.79953 34.0445 9.29953 35.4445 8.89953 36.7445C8.39953 38.5445 7.99953 40.4445 7.59953 42.2445C7.49953 42.8445 7.89953 43.2445 8.29953 43.6445C8.59953 43.9445 9.19953 44.1445 9.89953 44.2445Z" class="fill-silver-dark"></path><path d="M37.3997 7.04441C38.3386 7.04441 39.0997 6.28329 39.0997 5.34441C39.0997 4.40553 38.3386 3.64441 37.3997 3.64441C36.4608 3.64441 35.6997 4.40553 35.6997 5.34441C35.6997 6.28329 36.4608 7.04441 37.3997 7.04441Z" class="fill-secondary"></path>', 11), qn = [
|
|
6472
6481
|
Kn
|
|
6473
6482
|
];
|
|
6474
6483
|
function Jn(e, n) {
|
|
6475
6484
|
return r(), a("svg", jn, qn);
|
|
6476
6485
|
}
|
|
6477
|
-
const Qn = /* @__PURE__ */
|
|
6486
|
+
const Qn = /* @__PURE__ */ Y(Wn, [["render", Jn]]);
|
|
6478
6487
|
const et = {
|
|
6479
6488
|
components: {
|
|
6480
6489
|
BcfTopicCreationCardImage: Qn,
|
|
6481
|
-
BIMDataButton:
|
|
6482
|
-
BIMDataIcon:
|
|
6490
|
+
BIMDataButton: J,
|
|
6491
|
+
BIMDataIcon: Q
|
|
6483
6492
|
},
|
|
6484
6493
|
emits: ["create-topic"]
|
|
6485
6494
|
}, nt = { class: "bcf-topic-creation-card" }, tt = { class: "bcf-topic-creation-card__text" };
|
|
@@ -6509,7 +6518,7 @@ function rt(e, n, o, l, s, i) {
|
|
|
6509
6518
|
})
|
|
6510
6519
|
]);
|
|
6511
6520
|
}
|
|
6512
|
-
const ot = /* @__PURE__ */
|
|
6521
|
+
const ot = /* @__PURE__ */ Y(et, [["render", rt], ["__scopeId", "data-v-af2c3cbc"]]);
|
|
6513
6522
|
let L1 = class {
|
|
6514
6523
|
constructor(n, o, l, s, i = !1, c = !1, u = "") {
|
|
6515
6524
|
this.language = n, this.months = o, this.monthsAbbr = l, this.days = s, this.rtl = i, this.ymd = c, this.yearSuffix = u;
|
|
@@ -7059,7 +7068,7 @@ H1(`.icon-fill--black {
|
|
|
7059
7068
|
.icon-stroke--white {
|
|
7060
7069
|
stroke: var(--color-white);
|
|
7061
7070
|
}`), M1.render = function(e, n, o, l, s, i) {
|
|
7062
|
-
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: D(i.classes), style: V(i.style) }, [(r(),
|
|
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: D(i.classes), style: V(i.style) }, [(r(), k(f1(`bimdata-icon-${o.name}`)))], 14, Ki);
|
|
7063
7072
|
}, M1.__scopeId = "data-v-1312d4d1", M1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
7064
7073
|
var qi = 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) => qi.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
7065
7074
|
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 };
|
|
@@ -7628,8 +7637,8 @@ const Qi = { useUtc: !1, getFullYear(e) {
|
|
|
7628
7637
|
else if (/dd/i.test(h[I]))
|
|
7629
7638
|
v[2] = m[I];
|
|
7630
7639
|
else if (/d/i.test(h[I])) {
|
|
7631
|
-
const
|
|
7632
|
-
v[2] =
|
|
7640
|
+
const B = m[I].replace(/st|rd|nd|th/g, "");
|
|
7641
|
+
v[2] = B < 10 ? `0${B}` : `${B}`;
|
|
7633
7642
|
}
|
|
7634
7643
|
return `${v.join("-")}${C}`;
|
|
7635
7644
|
})({ dateStr: e, formatStr: n, translation: o, time: this.getTime() }), i = Date.parse(s);
|
|
@@ -7713,7 +7722,7 @@ var H2 = (e) => ({ ...Qi, useUtc: e }), C5 = { props: { autofocus: { type: Boole
|
|
|
7713
7722
|
const es = ["disabled"], ns = { key: 0 }, ts = ["for"], rs = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7714
7723
|
q2.render = function(e, n, o, l, s, i) {
|
|
7715
7724
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7716
|
-
return r(), a("div", { class: D({ "not-empty": i.formattedValue }) }, [y(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, [y(e.$slots, "calendarBtn", {}, () => [t("i", { class: D(e.calendarButtonIcon) }, [
|
|
7725
|
+
return r(), a("div", { class: D({ "not-empty": i.formattedValue }) }, [y(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, [y(e.$slots, "calendarBtn", {}, () => [t("i", { class: D(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: D([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(), k(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clearDate }, { default: f(() => [y(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : M("v-if", !0), y(e.$slots, "afterDateInput")], 2);
|
|
7717
7726
|
}, q2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInput.vue";
|
|
7718
7727
|
var J2 = { name: "DateInput", components: { BIMDataIcon: M1, BIMDataButton: x1 }, mixins: [C5], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7719
7728
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: H2(this.useUtc) };
|
|
@@ -7778,7 +7787,7 @@ var J2 = { name: "DateInput", components: { BIMDataIcon: M1, BIMDataButton: x1 }
|
|
|
7778
7787
|
const os = ["disabled"], as = { key: 0 }, ls = ["for"], is = ["id", "autofocus", "clearButton", "disabled", "maxlength", "name", "pattern", "readonly", "required", "tabIndex", "type", "value"];
|
|
7779
7788
|
J2.render = function(e, n, o, l, s, i) {
|
|
7780
7789
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7781
|
-
return r(), a("div", { class: D({ "not-empty": i.formattedValue }) }, [y(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, [y(e.$slots, "calendarBtn", {}, () => [t("i", { class: D(e.calendarButtonIcon) }, [
|
|
7790
|
+
return r(), a("div", { class: D({ "not-empty": i.formattedValue }) }, [y(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, [y(e.$slots, "calendarBtn", {}, () => [t("i", { class: D(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: D([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(), k(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clear }, { default: f(() => [y(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : M("v-if", !0), y(e.$slots, "afterDateInput")], 2);
|
|
7782
7791
|
}, J2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInputRange.vue";
|
|
7783
7792
|
const ss = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isDefined(e, n) {
|
|
7784
7793
|
return this.configExists(e) && e[n] !== void 0;
|
|
@@ -8047,7 +8056,7 @@ var cs = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
8047
8056
|
const ds = ["disabled"], us = ["disabled"], Cs = ["disabled"], ps = ["disabled"];
|
|
8048
8057
|
e5.render = function(e, n, o, l, s, i) {
|
|
8049
8058
|
const c = g("BIMDataIcon");
|
|
8050
|
-
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] =
|
|
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"]))] }, [y(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"]))] }, [y(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "chevron", size: "xxxs", fill: "", color: "default", rotate: 180 })])], 40, us), y(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"]))] }, [y(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"]))] }, [y(e.$slots, "prevIntervalBtn", {}, () => [p(c, { name: "doubleChevron", size: "xxxs", fill: "", color: "default" })])], 40, ps)) : M("v-if", !0)]);
|
|
8051
8060
|
}, e5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerHeader.vue";
|
|
8052
8061
|
var p5 = { components: { PickerHeader: e5 }, 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() {
|
|
8053
8062
|
return { utils: H2(this.useUtc) };
|
|
@@ -8143,12 +8152,12 @@ var $1 = { name: "PickerCells", props: { cells: { type: Array, required: !0 }, s
|
|
|
8143
8152
|
} } };
|
|
8144
8153
|
const hs = { class: "picker-cells" }, bs = ["id", "dataTestTabbableCell", "dataTestOpenDate", "dataTestTodayCell", "disabled", "onClick", "onKeydown", "onMouseover"];
|
|
8145
8154
|
$1.render = function(e, n, o, l, s, i) {
|
|
8146
|
-
return r(), a("div", hs, [(r(!0), a(
|
|
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))]);
|
|
8147
8156
|
}, $1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerCells.vue";
|
|
8148
8157
|
var N1 = { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } };
|
|
8149
8158
|
const gs = ["disabled"];
|
|
8150
8159
|
N1.render = function(e, n, o, l, s, i) {
|
|
8151
|
-
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] =
|
|
8160
|
+
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"]))] }, [y(e.$slots, "default")], 40, gs);
|
|
8152
8161
|
}, N1.__file = "src/BIMDataComponents/BIMDataDatePicker/components/UpButton.vue";
|
|
8153
8162
|
var n5 = { name: "PickerDay", components: { PickerCells: $1, UpButton: N1 }, mixins: [p5], 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() {
|
|
8154
8163
|
const e = [], n = this.daysFromPrevMonth + this.daysInMonth + this.daysFromNextMonth, o = this.firstCellDate();
|
|
@@ -8211,7 +8220,7 @@ var n5 = { name: "PickerDay", components: { PickerCells: $1, UpButton: N1 }, mix
|
|
|
8211
8220
|
const fs = { key: 0 }, Ls = { class: "day-header" }, vs = { class: "cells-wrapper" }, ms = { key: 2 };
|
|
8212
8221
|
n5.render = function(e, n, o, l, s, i) {
|
|
8213
8222
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8214
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), a("div", fs, [y(e.$slots, "beforeCalendarHeaderDay")])) : M("v-if", !0), e.showHeader ? (r(),
|
|
8223
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderDay ? (r(), a("div", fs, [y(e.$slots, "beforeCalendarHeaderDay")])) : M("v-if", !0), e.showHeader ? (r(), k(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(() => [y(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [y(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(E, 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(), k(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 }) => [y(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, [y(e.$slots, "calendarFooterDay")])) : M("v-if", !0)]);
|
|
8215
8224
|
}, n5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerDay.vue";
|
|
8216
8225
|
var t5 = { name: "PickerMonth", components: { PickerCells: $1, UpButton: N1 }, mixins: [p5], computed: { cells() {
|
|
8217
8226
|
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));
|
|
@@ -8239,7 +8248,7 @@ var t5 = { name: "PickerMonth", components: { PickerCells: $1, UpButton: N1 }, m
|
|
|
8239
8248
|
const Ms = { key: 0 }, Is = { class: "cells-wrapper" }, ys = { key: 2 };
|
|
8240
8249
|
t5.render = function(e, n, o, l, s, i) {
|
|
8241
8250
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8242
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), a("div", Ms, [y(e.$slots, "beforeCalendarHeaderMonth")])) : M("v-if", !0), e.showHeader ? (r(),
|
|
8251
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderMonth ? (r(), a("div", Ms, [y(e.$slots, "beforeCalendarHeaderMonth")])) : M("v-if", !0), e.showHeader ? (r(), k(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(() => [y(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [y(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(), k(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, [y(e.$slots, "calendarFooterMonth")])) : M("v-if", !0)]);
|
|
8243
8252
|
}, t5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerMonth.vue";
|
|
8244
8253
|
var r5 = { name: "PickerYear", components: { PickerCells: $1, UpButton: N1 }, mixins: [p5], props: { yearRange: { type: Number, default: 12 } }, computed: { cells() {
|
|
8245
8254
|
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());
|
|
@@ -8271,7 +8280,7 @@ var r5 = { name: "PickerYear", components: { PickerCells: $1, UpButton: N1 }, mi
|
|
|
8271
8280
|
const _s = { key: 0 }, Hs = { class: "cells-wrapper" }, Vs = { key: 2 };
|
|
8272
8281
|
r5.render = function(e, n, o, l, s, i) {
|
|
8273
8282
|
const c = g("UpButton"), u = g("PickerHeader"), d = g("PickerCells");
|
|
8274
|
-
return r(), a("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), a("div", _s, [y(e.$slots, "beforeCalendarHeaderYear")])) : M("v-if", !0), e.showHeader ? (r(),
|
|
8283
|
+
return r(), a("div", null, [e.$slots.beforeCalendarHeaderYear ? (r(), a("div", _s, [y(e.$slots, "beforeCalendarHeaderYear")])) : M("v-if", !0), e.showHeader ? (r(), k(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(() => [y(e.$slots, "prevIntervalBtn")]), nextIntervalBtn: f(() => [y(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(), k(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, [y(e.$slots, "calendarFooterYear")])) : M("v-if", !0)]);
|
|
8275
8284
|
}, r5.__file = "src/BIMDataComponents/BIMDataDatePicker/components/PickerYear.vue";
|
|
8276
8285
|
const Ds = ["beforeCalendarHeaderDay", "calendarFooterDay", "beforeCalendarHeaderMonth", "calendarFooterMonth", "beforeCalendarHeaderYear", "calendarFooterYear", "nextIntervalBtn", "prevIntervalBtn"];
|
|
8277
8286
|
var l2 = { components: { DateInput: q2, DateInputRange: J2, PickerDay: n5, PickerMonth: t5, PickerYear: r5 }, mixins: [C5, 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() {
|
|
@@ -8887,8 +8896,8 @@ H1(`.slide-fade-up-enter-active,
|
|
|
8887
8896
|
padding: 0;
|
|
8888
8897
|
}`), l2.render = function(e, n, o, l, s, i) {
|
|
8889
8898
|
const c = g("DateInputRange"), u = g("DateInput");
|
|
8890
|
-
return r(), a("div", { id: i.datepickerId, ref: "datepicker", class: D(["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] =
|
|
8891
|
-
}, ["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] =
|
|
8899
|
+
return r(), a("div", { id: i.datepickerId, ref: "datepicker", class: D(["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(), k(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: V(i.style) }, { beforeDateInput: f(() => [y(e.$slots, "beforeDateInput")]), afterDateInput: f(() => [y(e.$slots, "afterDateInput")]), clearBtn: f(() => [y(e.$slots, "clearBtn")]), calendarBtn: f(() => [y(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(), k(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: V(i.style) }, { beforeDateInput: f(() => [y(e.$slots, "beforeDateInput")]), afterDateInput: f(() => [y(e.$slots, "afterDateInput")]), clearBtn: f(() => [y(e.$slots, "clearBtn")]), calendarBtn: f(() => [y(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: D(["bimdata-datepicker__calendar", [i.pickerClasses, o.fixedPosition]]), onMousedown: n[5] || (n[5] = N(() => {
|
|
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, [y(e.$slots, "beforeCalendarHeader")])) : M("v-if", !0), (r(), k(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 }, a5({ dayCellContent: f(({ cell: d }) => [d ? y(e.$slots, "dayCellContent", { key: 0, cell: d }) : M("v-if", !0)]), _: 2 }, [W(s.calendarSlots, (d) => ({ name: d, fn: f(() => [y(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, [y(e.$slots, "calendarFooter")])) : M("v-if", !0)]))]), _: 3 })], 34), [[e1, i.isOpen]])]), _: 3 })])) : M("v-if", !0)], 42, Bs);
|
|
8892
8901
|
}, l2.__scopeId = "data-v-0090dd57", l2.__file = "src/BIMDataComponents/BIMDataDatePicker/BIMDataDatePicker.vue";
|
|
8893
8902
|
var o5 = { 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() {
|
|
8894
8903
|
return `${this.color}`;
|
|
@@ -8902,11 +8911,11 @@ var o5 = { props: { component: { type: String, default: "p" }, display: { type:
|
|
|
8902
8911
|
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";
|
|
8903
8912
|
} } };
|
|
8904
8913
|
o5.render = function(e, n, o, l, s, i) {
|
|
8905
|
-
return r(),
|
|
8914
|
+
return r(), k(f1(o.component), { style: V(i.style), class: D(i.classes) }, { default: f(() => [y(e.$slots, "default")]), _: 3 }, 8, ["style", "class"]);
|
|
8906
8915
|
}, o5.__file = "src/BIMDataComponents/BIMDataText/BIMDataText.vue";
|
|
8907
8916
|
var g1 = { components: { BIMDataText: o5 }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
|
|
8908
8917
|
const Zs = { class: "bimdata-loading" }, Ss = ((e) => (C1("data-v-6d3be186"), e = e(), p1(), e))(() => t("span", { class: "bimdata-loading--square" }, null, -1));
|
|
8909
|
-
function
|
|
8918
|
+
function Q5(e, n) {
|
|
8910
8919
|
n === void 0 && (n = {});
|
|
8911
8920
|
var o = n.insertAt;
|
|
8912
8921
|
if (e && typeof document < "u") {
|
|
@@ -8914,7 +8923,7 @@ function e3(e, n) {
|
|
|
8914
8923
|
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));
|
|
8915
8924
|
}
|
|
8916
8925
|
}
|
|
8917
|
-
|
|
8926
|
+
Q5(`/* base COLORS --------------------------------------------- */
|
|
8918
8927
|
/* colors BRAND */
|
|
8919
8928
|
/* colors GREY SHADES - NEUTRAL */
|
|
8920
8929
|
/* color TEXT */
|
|
@@ -8983,7 +8992,7 @@ html[data-v-6d3be186] {
|
|
|
8983
8992
|
/* base FONTS -------------------------------------- */
|
|
8984
8993
|
--primary-font: "roboto", sans-serif;
|
|
8985
8994
|
}`);
|
|
8986
|
-
|
|
8995
|
+
Q5(`@-webkit-keyframes bimdataloading {
|
|
8987
8996
|
0% {
|
|
8988
8997
|
-webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);
|
|
8989
8998
|
box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);
|
|
@@ -9592,7 +9601,7 @@ h5(`.icon-fill--black {
|
|
|
9592
9601
|
.icon-stroke--white {
|
|
9593
9602
|
stroke: var(--color-white);
|
|
9594
9603
|
}`), i2.render = function(e, n, o, l, s, i) {
|
|
9595
|
-
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: D(i.classes), style: V(i.style) }, [(r(),
|
|
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: D(i.classes), style: V(i.style) }, [(r(), k(f1(`bimdata-icon-${o.name}`)))], 14, Lh);
|
|
9596
9605
|
}, i2.__scopeId = "data-v-1312d4d1", i2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
9597
9606
|
var Z1 = { components: { BIMDataIcon: i2 }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } };
|
|
9598
9607
|
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" };
|
|
@@ -9653,7 +9662,7 @@ var I1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { n
|
|
|
9653
9662
|
this.$emit("update:modelValue", e.currentTarget.value), this.fitContent && this.handleFitContent();
|
|
9654
9663
|
} } };
|
|
9655
9664
|
const Ih = ["name", "id", "value", "placeholder"], yh = ["for"], _h = ((e) => (C1("data-v-76eaf75a"), e = e(), p1(), e))(() => t("span", { class: "bar" }, null, -1)), Hh = { key: 0, class: "error" }, Vh = { key: 1, class: "success" };
|
|
9656
|
-
function
|
|
9665
|
+
function e3(e, n) {
|
|
9657
9666
|
n === void 0 && (n = {});
|
|
9658
9667
|
var o = n.insertAt;
|
|
9659
9668
|
if (e && typeof document < "u") {
|
|
@@ -9661,7 +9670,7 @@ function n3(e, n) {
|
|
|
9661
9670
|
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));
|
|
9662
9671
|
}
|
|
9663
9672
|
}
|
|
9664
|
-
|
|
9673
|
+
e3(`/* base COLORS --------------------------------------------- */
|
|
9665
9674
|
/* colors BRAND */
|
|
9666
9675
|
/* colors GREY SHADES - NEUTRAL */
|
|
9667
9676
|
/* color TEXT */
|
|
@@ -9819,7 +9828,7 @@ html[data-v-76eaf75a] {
|
|
|
9819
9828
|
.primary-font[data-v-76eaf75a] {
|
|
9820
9829
|
font-family: "roboto", sans-serif;
|
|
9821
9830
|
}`);
|
|
9822
|
-
|
|
9831
|
+
e3(`textarea:-webkit-autofill {
|
|
9823
9832
|
-webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset;
|
|
9824
9833
|
box-shadow: 0 0 0px 1000px var(--color-white) inset;
|
|
9825
9834
|
}
|
|
@@ -10229,12 +10238,17 @@ html[data-v-41eb8f46] {
|
|
|
10229
10238
|
.bimdata-tooltip__tooltip--high[data-v-41eb8f46]::before {
|
|
10230
10239
|
border-color: var(--color-high) transparent transparent;
|
|
10231
10240
|
}`), S1.render = function(e, n, o, l, s, i) {
|
|
10232
|
-
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 '), y(e.$slots, "content"), y(e.$slots, "default")], 32), p(
|
|
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 '), y(e.$slots, "content"), y(e.$slots, "default")], 32), p(a1, { name: "fade", persisted: "" }, { default: f(() => [j(t("div", { ref: "tooltipText", class: D(["bimdata-tooltip__tooltip", [`bimdata-tooltip__tooltip--${o.position}`, `bimdata-tooltip__tooltip--${o.color}`, ...i._className]]), style: V({ maxWidth: o.maxWidth }) }, b(i._text), 7), [[e1, i.isDisplayed]])]), _: 1 })]);
|
|
10233
10242
|
}, S1.__scopeId = "data-v-41eb8f46", S1.__file = "src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";
|
|
10234
|
-
const Bh =
|
|
10243
|
+
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
|
+
function wh() {
|
|
10245
|
+
const e = navigator.userAgent.toLowerCase(), n = Bh.test(e), o = kh.test(e);
|
|
10246
|
+
return n || o;
|
|
10247
|
+
}
|
|
10248
|
+
const xh = {
|
|
10235
10249
|
components: {
|
|
10236
|
-
BIMDataButton:
|
|
10237
|
-
BIMDataIcon:
|
|
10250
|
+
BIMDataButton: J,
|
|
10251
|
+
BIMDataIcon: Q
|
|
10238
10252
|
},
|
|
10239
10253
|
props: {
|
|
10240
10254
|
viewpoints: {
|
|
@@ -10243,58 +10257,57 @@ const Bh = {
|
|
|
10243
10257
|
}
|
|
10244
10258
|
},
|
|
10245
10259
|
emits: [
|
|
10246
|
-
"
|
|
10260
|
+
"create-viewpoint",
|
|
10247
10261
|
"delete-viewpoint"
|
|
10248
10262
|
],
|
|
10249
10263
|
setup(e, { emit: n }) {
|
|
10250
|
-
const o = (d) => {
|
|
10251
|
-
[...d.target.files].forEach((C) => {
|
|
10252
|
-
let L;
|
|
10253
|
-
C.type === "image/png" ? L = "png" : C.type === "image/jpeg" ? L = "jpg" : L = C.type;
|
|
10254
|
-
const h = new FileReader();
|
|
10255
|
-
h.addEventListener("load", () => {
|
|
10256
|
-
const m = {
|
|
10257
|
-
snapshot: {
|
|
10258
|
-
snapshot_type: L,
|
|
10259
|
-
snapshot_data: h.result
|
|
10260
|
-
}
|
|
10261
|
-
};
|
|
10262
|
-
n("add-viewpoint", m);
|
|
10263
|
-
}), h.readAsDataURL(C);
|
|
10264
|
-
});
|
|
10265
|
-
}, l = (d) => {
|
|
10266
|
-
n("delete-viewpoint", d);
|
|
10267
|
-
}, s = navigator.userAgent.toLowerCase(), i = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(s), c = /(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(s);
|
|
10268
10264
|
return {
|
|
10269
|
-
isTabletOrMobile: i || c,
|
|
10270
10265
|
// Methods
|
|
10271
|
-
createViewpoints:
|
|
10272
|
-
|
|
10266
|
+
createViewpoints: (s) => {
|
|
10267
|
+
[...s.target.files].forEach((i) => {
|
|
10268
|
+
let c;
|
|
10269
|
+
i.type === "image/png" ? c = "png" : i.type === "image/jpeg" ? c = "jpg" : c = i.type;
|
|
10270
|
+
const u = new FileReader();
|
|
10271
|
+
u.addEventListener("load", () => {
|
|
10272
|
+
const d = {
|
|
10273
|
+
snapshot: {
|
|
10274
|
+
snapshot_type: c,
|
|
10275
|
+
snapshot_data: u.result
|
|
10276
|
+
}
|
|
10277
|
+
};
|
|
10278
|
+
n("create-viewpoint", d);
|
|
10279
|
+
}), u.readAsDataURL(i);
|
|
10280
|
+
});
|
|
10281
|
+
},
|
|
10282
|
+
deleteViewpoint: (s) => {
|
|
10283
|
+
n("delete-viewpoint", s);
|
|
10284
|
+
},
|
|
10285
|
+
isTabletOrMobile: wh
|
|
10273
10286
|
};
|
|
10274
10287
|
}
|
|
10275
|
-
},
|
|
10288
|
+
}, Zh = { class: "bcf-topic-images" }, Sh = { class: "bcf-topic-images__images" }, Ah = ["src"], Th = { for: "files" }, $h = ["disabled"], Nh = {
|
|
10276
10289
|
key: 1,
|
|
10277
10290
|
class: "bcf-topic-images__upload"
|
|
10278
|
-
},
|
|
10291
|
+
}, Rh = { class: "icon" }, Oh = {
|
|
10279
10292
|
key: 0,
|
|
10280
10293
|
for: "files"
|
|
10281
|
-
},
|
|
10294
|
+
}, Eh = {
|
|
10282
10295
|
key: 1,
|
|
10283
10296
|
for: "files"
|
|
10284
10297
|
};
|
|
10285
|
-
function
|
|
10298
|
+
function Fh(e, n, o, l, s, i) {
|
|
10286
10299
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
10287
|
-
return r(), a("div",
|
|
10288
|
-
o.viewpoints.length > 0 ? (r(), a(
|
|
10289
|
-
t("div",
|
|
10290
|
-
(r(!0), a(
|
|
10300
|
+
return r(), a("div", Zh, [
|
|
10301
|
+
o.viewpoints.length > 0 ? (r(), a(E, { key: 0 }, [
|
|
10302
|
+
t("div", Sh, [
|
|
10303
|
+
(r(!0), a(E, null, W(o.viewpoints.slice(0, 4), (d, C) => (r(), a("div", {
|
|
10291
10304
|
class: D(["image-preview", { single: o.viewpoints.length === 1 }]),
|
|
10292
10305
|
key: d.guid || C
|
|
10293
10306
|
}, [
|
|
10294
10307
|
d.snapshot.snapshot_data ? (r(), a("img", {
|
|
10295
10308
|
key: 0,
|
|
10296
10309
|
src: d.snapshot.snapshot_data
|
|
10297
|
-
}, null, 8,
|
|
10310
|
+
}, null, 8, Ah)) : M("", !0),
|
|
10298
10311
|
p(u, {
|
|
10299
10312
|
class: "btn-delete",
|
|
10300
10313
|
fill: "",
|
|
@@ -10323,13 +10336,13 @@ function Rh(e, n, o, l, s, i) {
|
|
|
10323
10336
|
radius: ""
|
|
10324
10337
|
}, {
|
|
10325
10338
|
default: f(() => [
|
|
10326
|
-
t("label",
|
|
10339
|
+
t("label", Th, [
|
|
10327
10340
|
p(c, {
|
|
10328
10341
|
name: "camera",
|
|
10329
10342
|
size: "xs",
|
|
10330
10343
|
margin: "0 6px 0 0"
|
|
10331
10344
|
}),
|
|
10332
|
-
|
|
10345
|
+
A(" " + b(e.$t("BcfComponents.BcfTopicForm.addPictureButton")), 1)
|
|
10333
10346
|
]),
|
|
10334
10347
|
t("input", {
|
|
10335
10348
|
disabled: o.viewpoints.length >= 4,
|
|
@@ -10339,12 +10352,12 @@ function Rh(e, n, o, l, s, i) {
|
|
|
10339
10352
|
multiple: "",
|
|
10340
10353
|
accept: "image/png, image/jpeg",
|
|
10341
10354
|
onChange: n[0] || (n[0] = (...d) => l.createViewpoints && l.createViewpoints(...d))
|
|
10342
|
-
}, null, 40,
|
|
10355
|
+
}, null, 40, $h)
|
|
10343
10356
|
]),
|
|
10344
10357
|
_: 1
|
|
10345
10358
|
}, 8, ["disabled"])
|
|
10346
|
-
], 64)) : (r(), a("div",
|
|
10347
|
-
t("span",
|
|
10359
|
+
], 64)) : (r(), a("div", Nh, [
|
|
10360
|
+
t("span", Rh, [
|
|
10348
10361
|
p(c, {
|
|
10349
10362
|
name: "unarchive",
|
|
10350
10363
|
size: "m"
|
|
@@ -10357,7 +10370,7 @@ function Rh(e, n, o, l, s, i) {
|
|
|
10357
10370
|
radius: ""
|
|
10358
10371
|
}, {
|
|
10359
10372
|
default: f(() => [
|
|
10360
|
-
l.isTabletOrMobile ? (r(), a("label",
|
|
10373
|
+
l.isTabletOrMobile ? (r(), a("label", Eh, b(e.$t("BcfComponents.BcfTopicForm.dragDropImageTextTablet")), 1)) : (r(), a("label", Oh, b(e.$t("BcfComponents.BcfTopicForm.dragDropImageText")), 1)),
|
|
10361
10374
|
t("input", {
|
|
10362
10375
|
hidden: "",
|
|
10363
10376
|
id: "files",
|
|
@@ -10372,11 +10385,11 @@ function Rh(e, n, o, l, s, i) {
|
|
|
10372
10385
|
]))
|
|
10373
10386
|
]);
|
|
10374
10387
|
}
|
|
10375
|
-
const
|
|
10376
|
-
const
|
|
10388
|
+
const Ph = /* @__PURE__ */ Y(xh, [["render", Fh], ["__scopeId", "data-v-dde22dcf"]]);
|
|
10389
|
+
const Uh = {
|
|
10377
10390
|
components: {
|
|
10378
|
-
BIMDataButton:
|
|
10379
|
-
BIMDataIcon:
|
|
10391
|
+
BIMDataButton: J,
|
|
10392
|
+
BIMDataIcon: Q
|
|
10380
10393
|
},
|
|
10381
10394
|
props: {
|
|
10382
10395
|
viewpoints: {
|
|
@@ -10385,7 +10398,7 @@ const Eh = {
|
|
|
10385
10398
|
}
|
|
10386
10399
|
},
|
|
10387
10400
|
emits: [
|
|
10388
|
-
"
|
|
10401
|
+
"create-viewpoint",
|
|
10389
10402
|
"delete-viewpoint"
|
|
10390
10403
|
],
|
|
10391
10404
|
setup(e, { emit: n }) {
|
|
@@ -10397,7 +10410,7 @@ const Eh = {
|
|
|
10397
10410
|
const [u, d] = Object.entries(P1).find(([, C]) => C.plugin === i);
|
|
10398
10411
|
c.forEach(async (C) => {
|
|
10399
10412
|
const L = await C.getViewpoint(), { order: h } = d ?? {};
|
|
10400
|
-
L.order = h, L[E1] = u, L[F1] = C.getLoadedModels().map((m) => m.id).join(","), n("
|
|
10413
|
+
L.order = h, L[E1] = u, L[F1] = C.getLoadedModels().map((m) => m.id).join(","), n("create-viewpoint", L);
|
|
10401
10414
|
});
|
|
10402
10415
|
});
|
|
10403
10416
|
},
|
|
@@ -10406,22 +10419,22 @@ const Eh = {
|
|
|
10406
10419
|
}
|
|
10407
10420
|
};
|
|
10408
10421
|
}
|
|
10409
|
-
},
|
|
10422
|
+
}, zh = { class: "bcf-topic-snapshots" }, Gh = {
|
|
10410
10423
|
key: 0,
|
|
10411
10424
|
class: "bcf-topic-snapshots__snapshots"
|
|
10412
|
-
},
|
|
10413
|
-
function
|
|
10425
|
+
}, Yh = ["src"];
|
|
10426
|
+
function Xh(e, n, o, l, s, i) {
|
|
10414
10427
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
10415
|
-
return r(), a("div",
|
|
10416
|
-
o.viewpoints.length > 0 ? (r(), a("div",
|
|
10417
|
-
(r(!0), a(
|
|
10428
|
+
return r(), a("div", zh, [
|
|
10429
|
+
o.viewpoints.length > 0 ? (r(), a("div", Gh, [
|
|
10430
|
+
(r(!0), a(E, null, W(o.viewpoints.slice(0, 4), (d, C) => (r(), a("div", {
|
|
10418
10431
|
class: D(["snapshot-preview", { single: o.viewpoints.length === 1 }]),
|
|
10419
10432
|
key: d.guid || C
|
|
10420
10433
|
}, [
|
|
10421
10434
|
d.snapshot.snapshot_data ? (r(), a("img", {
|
|
10422
10435
|
key: 0,
|
|
10423
10436
|
src: d.snapshot.snapshot_data
|
|
10424
|
-
}, null, 8,
|
|
10437
|
+
}, null, 8, Yh)) : M("", !0),
|
|
10425
10438
|
p(u, {
|
|
10426
10439
|
class: "btn-delete",
|
|
10427
10440
|
fill: "",
|
|
@@ -10452,14 +10465,14 @@ function zh(e, n, o, l, s, i) {
|
|
|
10452
10465
|
]))
|
|
10453
10466
|
]);
|
|
10454
10467
|
}
|
|
10455
|
-
const
|
|
10456
|
-
const
|
|
10468
|
+
const Wh = /* @__PURE__ */ Y(Uh, [["render", Xh], ["__scopeId", "data-v-75e087f1"]]);
|
|
10469
|
+
const jh = {
|
|
10457
10470
|
components: {
|
|
10458
|
-
BcfTopicImages:
|
|
10459
|
-
BcfTopicSnapshots:
|
|
10460
|
-
BIMDataButton:
|
|
10471
|
+
BcfTopicImages: Ph,
|
|
10472
|
+
BcfTopicSnapshots: Wh,
|
|
10473
|
+
BIMDataButton: J,
|
|
10461
10474
|
BIMDataDatePicker: l2,
|
|
10462
|
-
BIMDataIcon:
|
|
10475
|
+
BIMDataIcon: Q,
|
|
10463
10476
|
BIMDataInput: b1,
|
|
10464
10477
|
BIMDataLoading: g1,
|
|
10465
10478
|
BIMDataSafeZoneModal: Z1,
|
|
@@ -10510,7 +10523,7 @@ const Yh = {
|
|
|
10510
10523
|
topicModels: {
|
|
10511
10524
|
/**
|
|
10512
10525
|
* Models list to attach to this topic if it
|
|
10513
|
-
* doesn't
|
|
10526
|
+
* doesn't have one already (`models` field).
|
|
10514
10527
|
*/
|
|
10515
10528
|
type: Array,
|
|
10516
10529
|
default: () => []
|
|
@@ -10541,29 +10554,27 @@ const Yh = {
|
|
|
10541
10554
|
"topic-update-error"
|
|
10542
10555
|
],
|
|
10543
10556
|
setup(e, { emit: n }) {
|
|
10544
|
-
const o = U1(), l =
|
|
10557
|
+
const o = U1(), l = F(
|
|
10545
10558
|
() => !e.topic
|
|
10546
|
-
), s =
|
|
10559
|
+
), s = F(
|
|
10547
10560
|
() => Math.max(0, ...e.topics.map((_) => _.index)) + 1
|
|
10548
|
-
), i =
|
|
10549
|
-
() => I.value.concat(
|
|
10550
|
-
),
|
|
10551
|
-
|
|
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([]), I = w([]), B = w([]), $ = w([]), T = w([]), Z = F(
|
|
10562
|
+
() => I.value.concat(B.value).filter((_) => !T.value.some((x) => x.guid === _.guid)).filter((_) => _.snapshot)
|
|
10563
|
+
), U = w(!1), l1 = w(!1), q = w(!1), t1 = () => {
|
|
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 = [], I.value = [], B.value = [], $.value = [], T.value = [], U.value = !1, l1.value = !1, q.value = !1;
|
|
10565
|
+
};
|
|
10566
|
+
return c1(
|
|
10552
10567
|
() => e.topic,
|
|
10553
10568
|
(_) => {
|
|
10554
|
-
|
|
10569
|
+
_ ? (i.value = _.title || "", c.value = _.topic_type || null, u.value = _.priority || null, d.value = _.topic_status || null, C.value = _.stage || null, L.value = _.assigned_to || null, h.value = _.due_date, m.value = _.description || "", v.value = _.labels || [], I.value = _.viewpoints || []) : t1();
|
|
10555
10570
|
},
|
|
10556
10571
|
{ immediate: !0 }
|
|
10557
|
-
)
|
|
10558
|
-
const 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 = [], I.value = [], x.value = [], w.value = [], $.value = [], z.value = !1, a1.value = !1, J.value = !1;
|
|
10560
|
-
};
|
|
10561
|
-
return {
|
|
10572
|
+
), {
|
|
10562
10573
|
// References
|
|
10563
|
-
hasErrorTitle:
|
|
10574
|
+
hasErrorTitle: U,
|
|
10564
10575
|
isCreation: l,
|
|
10565
|
-
isOpenModal:
|
|
10566
|
-
loading:
|
|
10576
|
+
isOpenModal: l1,
|
|
10577
|
+
loading: q,
|
|
10567
10578
|
nextIndex: s,
|
|
10568
10579
|
topicAssignedTo: L,
|
|
10569
10580
|
topicDescription: m,
|
|
@@ -10574,54 +10585,41 @@ const Yh = {
|
|
|
10574
10585
|
topicLabels: v,
|
|
10575
10586
|
topicTitle: i,
|
|
10576
10587
|
topicType: c,
|
|
10577
|
-
viewpointsToDisplay:
|
|
10588
|
+
viewpointsToDisplay: Z,
|
|
10578
10589
|
// Methods
|
|
10579
|
-
|
|
10580
|
-
|
|
10590
|
+
createViewpoint: (_) => {
|
|
10591
|
+
B.value.push(_);
|
|
10581
10592
|
},
|
|
10582
|
-
|
|
10593
|
+
deleteViewpoint: (_) => {
|
|
10583
10594
|
if (_.guid)
|
|
10584
|
-
|
|
10595
|
+
T.value.push(_);
|
|
10585
10596
|
else {
|
|
10586
|
-
let
|
|
10587
|
-
|
|
10597
|
+
let x = B.value.indexOf(_);
|
|
10598
|
+
B.value.splice(x, 1);
|
|
10588
10599
|
}
|
|
10589
10600
|
},
|
|
10590
10601
|
submit: async () => {
|
|
10591
|
-
var _,
|
|
10602
|
+
var _, x;
|
|
10592
10603
|
if (!i.value) {
|
|
10593
|
-
|
|
10604
|
+
U.value = !0;
|
|
10594
10605
|
return;
|
|
10595
10606
|
}
|
|
10596
10607
|
try {
|
|
10597
|
-
|
|
10598
|
-
(
|
|
10599
|
-
),
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
Object.assign(O, {
|
|
10608
|
+
q.value = !0, $.value = I.value.map(
|
|
10609
|
+
(G) => ({ ...G, snapshot: void 0 })
|
|
10610
|
+
), $.value.length === 0 && B.value.sort((G, o1) => (G.order ?? 1 / 0) - (o1.order ?? 1 / 0));
|
|
10611
|
+
const R = $.value.concat(B.value);
|
|
10612
|
+
e.topicObjects && (R.length > 0 ? R.forEach((G) => {
|
|
10613
|
+
Object.assign(G, {
|
|
10604
10614
|
components: e.topicObjects
|
|
10605
|
-
}),
|
|
10606
|
-
|
|
10607
|
-
exceptions: [],
|
|
10608
|
-
view_setup_hints: {
|
|
10609
|
-
spaces_visible: !1,
|
|
10610
|
-
space_boundaries_visible: !1,
|
|
10611
|
-
openings_visible: !1
|
|
10612
|
-
}
|
|
10613
|
-
});
|
|
10614
|
-
}) : x.value.push({
|
|
10615
|
+
}), k3(G);
|
|
10616
|
+
}) : B.value.push({
|
|
10615
10617
|
components: e.topicObjects
|
|
10616
|
-
})), e.topicAnnotations &&
|
|
10617
|
-
|
|
10618
|
-
...x.value
|
|
10619
|
-
].forEach(
|
|
10620
|
-
(O) => O.pins = e.topicAnnotations
|
|
10618
|
+
})), e.topicAnnotations && R.forEach(
|
|
10619
|
+
(G) => G.pins = e.topicAnnotations
|
|
10621
10620
|
);
|
|
10622
|
-
const
|
|
10621
|
+
const O = {
|
|
10623
10622
|
guid: (_ = e.topic) == null ? void 0 : _.guid,
|
|
10624
|
-
models: ((Z = e.topic) == null ? void 0 : Z.models) || e.topicModels,
|
|
10625
10623
|
title: i.value,
|
|
10626
10624
|
topic_type: c.value,
|
|
10627
10625
|
priority: u.value,
|
|
@@ -10631,46 +10629,52 @@ const Yh = {
|
|
|
10631
10629
|
due_date: h.value,
|
|
10632
10630
|
description: m.value,
|
|
10633
10631
|
labels: v.value,
|
|
10634
|
-
|
|
10632
|
+
// Keep topic models unchanged if any, otherwise use provided topic models.
|
|
10633
|
+
models: ((x = e.topic) == null ? void 0 : x.models) || e.topicModels,
|
|
10634
|
+
// Topic viewpoints will be updated with `updateFullTopic` API method.
|
|
10635
|
+
viewpoints: $.value
|
|
10635
10636
|
};
|
|
10636
|
-
let
|
|
10637
|
-
l.value ?
|
|
10638
|
-
|
|
10639
|
-
(
|
|
10637
|
+
let z;
|
|
10638
|
+
l.value ? z = await o.createTopic(e.project, O) : z = await o.updateTopic(e.project, O), await Promise.all(
|
|
10639
|
+
B.value.map(
|
|
10640
|
+
(G) => o.createViewpoint(e.project, z, G)
|
|
10640
10641
|
)
|
|
10641
10642
|
), await Promise.all(
|
|
10642
|
-
|
|
10643
|
-
(
|
|
10643
|
+
T.value.map(
|
|
10644
|
+
(G) => o.deleteViewpoint(e.project, z, G)
|
|
10644
10645
|
)
|
|
10645
|
-
), l.value ? (n("topic-created",
|
|
10646
|
-
} catch (
|
|
10647
|
-
n(
|
|
10646
|
+
), l.value ? (n("topic-created", z), t1()) : n("topic-updated", z);
|
|
10647
|
+
} catch (R) {
|
|
10648
|
+
n(
|
|
10649
|
+
l.value ? "topic-create-error" : "topic-update-error",
|
|
10650
|
+
R
|
|
10651
|
+
);
|
|
10648
10652
|
} finally {
|
|
10649
|
-
|
|
10653
|
+
q.value = !1;
|
|
10650
10654
|
}
|
|
10651
10655
|
}
|
|
10652
10656
|
};
|
|
10653
10657
|
}
|
|
10654
|
-
},
|
|
10658
|
+
}, Kh = { class: "bcf-topic-form" }, qh = { class: "bcf-topic-form__header" }, Jh = { class: "bcf-topic-form__header__title" }, Qh = { class: "bcf-topic-form__content" }, eb = { class: "bcf-topic-form__content__head" }, nb = { class: "bcf-topic-form__content__head__index" }, tb = { class: "bcf-topic-form__content__head__date" }, rb = { class: "bcf-topic-form__content__actions" }, ob = {
|
|
10655
10659
|
key: 0,
|
|
10656
10660
|
class: "count-objects"
|
|
10657
|
-
},
|
|
10661
|
+
}, ab = {
|
|
10658
10662
|
key: 0,
|
|
10659
10663
|
class: "count-annotations"
|
|
10660
|
-
},
|
|
10664
|
+
}, lb = { class: "bcf-topic-form__content__body" }, ib = { class: "m-b-30" }, sb = { class: "bcf-topic-form__footer" }, cb = {
|
|
10661
10665
|
key: 0,
|
|
10662
10666
|
class: "bcf-topic-form__loader"
|
|
10663
10667
|
};
|
|
10664
|
-
function
|
|
10665
|
-
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"), I = g("BIMDataDatePicker"),
|
|
10666
|
-
return r(), a("div",
|
|
10667
|
-
t("div",
|
|
10668
|
-
o.uiConfig.backButton ? (r(),
|
|
10668
|
+
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"), I = g("BIMDataDatePicker"), B = g("BIMDataTextarea"), $ = g("BIMDataLoading"), T = g("BIMDataSafeZoneModal");
|
|
10670
|
+
return r(), a("div", Kh, [
|
|
10671
|
+
t("div", qh, [
|
|
10672
|
+
o.uiConfig.backButton ? (r(), k(u, {
|
|
10669
10673
|
key: 0,
|
|
10670
10674
|
ghost: "",
|
|
10671
10675
|
rounded: "",
|
|
10672
10676
|
icon: "",
|
|
10673
|
-
onClick: n[0] || (n[0] = (
|
|
10677
|
+
onClick: n[0] || (n[0] = (Z) => e.$emit("back"))
|
|
10674
10678
|
}, {
|
|
10675
10679
|
default: f(() => [
|
|
10676
10680
|
p(c, {
|
|
@@ -10682,21 +10686,21 @@ function ib(e, n, o, l, s, i) {
|
|
|
10682
10686
|
]),
|
|
10683
10687
|
_: 1
|
|
10684
10688
|
})) : M("", !0),
|
|
10685
|
-
t("div",
|
|
10686
|
-
l.isCreation ? (r(), a(
|
|
10687
|
-
|
|
10688
|
-
], 64)) : (r(),
|
|
10689
|
+
t("div", Jh, [
|
|
10690
|
+
l.isCreation ? (r(), a(E, { key: 0 }, [
|
|
10691
|
+
A(b(e.$t("BcfComponents.BcfTopicForm.createTitle")), 1)
|
|
10692
|
+
], 64)) : (r(), k(d, {
|
|
10689
10693
|
key: 1,
|
|
10690
10694
|
maxWidth: "250px",
|
|
10691
10695
|
text: o.topic.title
|
|
10692
10696
|
}, null, 8, ["text"]))
|
|
10693
10697
|
]),
|
|
10694
|
-
o.uiConfig.closeButton ? (r(),
|
|
10698
|
+
o.uiConfig.closeButton ? (r(), k(u, {
|
|
10695
10699
|
key: 1,
|
|
10696
10700
|
ghost: "",
|
|
10697
10701
|
rounded: "",
|
|
10698
10702
|
icon: "",
|
|
10699
|
-
onClick: n[1] || (n[1] = (
|
|
10703
|
+
onClick: n[1] || (n[1] = (Z) => e.$emit("close"))
|
|
10700
10704
|
}, {
|
|
10701
10705
|
default: f(() => [
|
|
10702
10706
|
p(c, {
|
|
@@ -10709,23 +10713,23 @@ function ib(e, n, o, l, s, i) {
|
|
|
10709
10713
|
_: 1
|
|
10710
10714
|
})) : M("", !0)
|
|
10711
10715
|
]),
|
|
10712
|
-
t("div",
|
|
10713
|
-
t("div",
|
|
10714
|
-
t("div",
|
|
10715
|
-
t("div",
|
|
10716
|
+
t("div", Qh, [
|
|
10717
|
+
t("div", eb, [
|
|
10718
|
+
t("div", nb, b(l.isCreation ? l.nextIndex : o.topic.index), 1),
|
|
10719
|
+
t("div", tb, b(e.$d(l.isCreation ? /* @__PURE__ */ new Date() : o.topic.creation_date, "short")), 1)
|
|
10716
10720
|
]),
|
|
10717
|
-
o.uiConfig.viewerMode ? (r(), a(
|
|
10721
|
+
o.uiConfig.viewerMode ? (r(), a(E, { key: 0 }, [
|
|
10718
10722
|
p(C, {
|
|
10719
10723
|
viewpoints: l.viewpointsToDisplay,
|
|
10720
|
-
|
|
10721
|
-
onDeleteViewpoint: l.
|
|
10722
|
-
}, null, 8, ["viewpoints", "
|
|
10723
|
-
t("div",
|
|
10724
|
+
onCreateViewpoint: l.createViewpoint,
|
|
10725
|
+
onDeleteViewpoint: l.deleteViewpoint
|
|
10726
|
+
}, null, 8, ["viewpoints", "onCreateViewpoint", "onDeleteViewpoint"]),
|
|
10727
|
+
t("div", rb, [
|
|
10724
10728
|
p(u, {
|
|
10725
10729
|
fill: "",
|
|
10726
10730
|
radius: "",
|
|
10727
10731
|
disabled: !o.objectsEditEnabled,
|
|
10728
|
-
onClick: n[2] || (n[2] = (
|
|
10732
|
+
onClick: n[2] || (n[2] = (Z) => e.$emit("edit-topic-objects", o.topic))
|
|
10729
10733
|
}, {
|
|
10730
10734
|
default: f(() => [
|
|
10731
10735
|
p(c, {
|
|
@@ -10734,7 +10738,7 @@ function ib(e, n, o, l, s, i) {
|
|
|
10734
10738
|
margin: "0 6px 0 0"
|
|
10735
10739
|
}),
|
|
10736
10740
|
t("span", null, b(e.$t("BcfComponents.BcfTopicForm.addObjectButton")), 1),
|
|
10737
|
-
o.topicObjects ? (r(), a("span",
|
|
10741
|
+
o.topicObjects ? (r(), a("span", ob, b(o.topicObjects.selection.length), 1)) : M("", !0)
|
|
10738
10742
|
]),
|
|
10739
10743
|
_: 1
|
|
10740
10744
|
}, 8, ["disabled"]),
|
|
@@ -10750,7 +10754,7 @@ function ib(e, n, o, l, s, i) {
|
|
|
10750
10754
|
fill: "",
|
|
10751
10755
|
radius: "",
|
|
10752
10756
|
disabled: !o.annotationsEditEnabled || l.viewpointsToDisplay.length === 0,
|
|
10753
|
-
onClick: n[3] || (n[3] = (
|
|
10757
|
+
onClick: n[3] || (n[3] = (Z) => e.$emit("edit-topic-annotations", o.topic))
|
|
10754
10758
|
}, {
|
|
10755
10759
|
default: f(() => [
|
|
10756
10760
|
p(c, {
|
|
@@ -10759,7 +10763,7 @@ function ib(e, n, o, l, s, i) {
|
|
|
10759
10763
|
margin: "0 6px 0 0"
|
|
10760
10764
|
}),
|
|
10761
10765
|
t("span", null, b(e.$t("BcfComponents.BcfTopicForm.addAnnotationButton")), 1),
|
|
10762
|
-
o.topicAnnotations ? (r(), a("span",
|
|
10766
|
+
o.topicAnnotations ? (r(), a("span", ab, b(o.topicAnnotations.length), 1)) : M("", !0)
|
|
10763
10767
|
]),
|
|
10764
10768
|
_: 1
|
|
10765
10769
|
}, 8, ["disabled"])
|
|
@@ -10767,105 +10771,111 @@ function ib(e, n, o, l, s, i) {
|
|
|
10767
10771
|
_: 1
|
|
10768
10772
|
}, 8, ["disabled", "text"])
|
|
10769
10773
|
])
|
|
10770
|
-
], 64)) : (r(),
|
|
10774
|
+
], 64)) : (r(), k(h, {
|
|
10771
10775
|
key: 1,
|
|
10772
10776
|
viewpoints: l.viewpointsToDisplay,
|
|
10773
|
-
|
|
10774
|
-
onDeleteViewpoint: l.
|
|
10775
|
-
}, null, 8, ["viewpoints", "
|
|
10776
|
-
t("div",
|
|
10777
|
+
onCreateViewpoint: l.createViewpoint,
|
|
10778
|
+
onDeleteViewpoint: l.deleteViewpoint
|
|
10779
|
+
}, null, 8, ["viewpoints", "onCreateViewpoint", "onDeleteViewpoint"])),
|
|
10780
|
+
t("div", lb, [
|
|
10777
10781
|
p(m, {
|
|
10778
10782
|
placeholder: e.$t("BcfComponents.BcfTopicForm.titlePlaceholder"),
|
|
10779
10783
|
error: l.hasErrorTitle,
|
|
10780
10784
|
errorMessage: e.$t("BcfComponents.BcfTopicForm.titleErrorMessage"),
|
|
10781
10785
|
modelValue: l.topicTitle,
|
|
10782
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
10783
|
-
onKeyup:
|
|
10786
|
+
"onUpdate:modelValue": n[4] || (n[4] = (Z) => l.topicTitle = Z),
|
|
10787
|
+
onKeyup: S(N(l.submit, ["stop"]), ["enter"])
|
|
10784
10788
|
}, null, 8, ["placeholder", "error", "errorMessage", "modelValue", "onKeyup"]),
|
|
10785
10789
|
p(v, {
|
|
10786
10790
|
width: "100%",
|
|
10787
10791
|
label: e.$t("BcfComponents.BcfTopicForm.typeLabel"),
|
|
10788
10792
|
options: o.extensions.topic_type,
|
|
10793
|
+
disabled: o.extensions.topic_type.length === 0,
|
|
10789
10794
|
modelValue: l.topicType,
|
|
10790
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
10791
|
-
}, null, 8, ["label", "options", "modelValue"]),
|
|
10795
|
+
"onUpdate:modelValue": n[5] || (n[5] = (Z) => l.topicType = Z)
|
|
10796
|
+
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10792
10797
|
p(v, {
|
|
10793
10798
|
width: "100%",
|
|
10794
10799
|
label: e.$t("BcfComponents.BcfTopicForm.priorityLabel"),
|
|
10795
10800
|
options: o.extensions.priority,
|
|
10801
|
+
disabled: o.extensions.priority.length === 0,
|
|
10796
10802
|
modelValue: l.topicPriority,
|
|
10797
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
10798
|
-
}, null, 8, ["label", "options", "modelValue"]),
|
|
10803
|
+
"onUpdate:modelValue": n[6] || (n[6] = (Z) => l.topicPriority = Z)
|
|
10804
|
+
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10799
10805
|
p(v, {
|
|
10800
10806
|
width: "100%",
|
|
10801
10807
|
label: e.$t("BcfComponents.BcfTopicForm.statusLabel"),
|
|
10802
10808
|
options: o.extensions.topic_status,
|
|
10809
|
+
disabled: o.extensions.topic_status.length === 0,
|
|
10803
10810
|
modelValue: l.topicStatus,
|
|
10804
|
-
"onUpdate:modelValue": n[7] || (n[7] = (
|
|
10805
|
-
}, null, 8, ["label", "options", "modelValue"]),
|
|
10811
|
+
"onUpdate:modelValue": n[7] || (n[7] = (Z) => l.topicStatus = Z)
|
|
10812
|
+
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10806
10813
|
p(v, {
|
|
10807
10814
|
width: "100%",
|
|
10808
10815
|
label: e.$t("BcfComponents.BcfTopicForm.stageLabel"),
|
|
10809
10816
|
options: o.extensions.stage,
|
|
10817
|
+
disabled: o.extensions.stage.length === 0,
|
|
10810
10818
|
modelValue: l.topicStage,
|
|
10811
|
-
"onUpdate:modelValue": n[8] || (n[8] = (
|
|
10812
|
-
}, null, 8, ["label", "options", "modelValue"]),
|
|
10819
|
+
"onUpdate:modelValue": n[8] || (n[8] = (Z) => l.topicStage = Z)
|
|
10820
|
+
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10813
10821
|
p(v, {
|
|
10814
10822
|
width: "100%",
|
|
10815
10823
|
label: e.$t("BcfComponents.BcfTopicForm.assignedToLabel"),
|
|
10816
10824
|
options: o.extensions.user_id_type,
|
|
10825
|
+
disabled: o.extensions.user_id_type.length === 0,
|
|
10817
10826
|
modelValue: l.topicAssignedTo,
|
|
10818
|
-
"onUpdate:modelValue": n[9] || (n[9] = (
|
|
10819
|
-
}, null, 8, ["label", "options", "modelValue"]),
|
|
10820
|
-
t("div",
|
|
10827
|
+
"onUpdate:modelValue": n[9] || (n[9] = (Z) => l.topicAssignedTo = Z)
|
|
10828
|
+
}, null, 8, ["label", "options", "disabled", "modelValue"]),
|
|
10829
|
+
t("div", ib, [
|
|
10821
10830
|
p(I, {
|
|
10822
|
-
modelValue: l.topicDueDate,
|
|
10823
|
-
"onUpdate:modelValue": n[10] || (n[10] = (S) => l.topicDueDate = S),
|
|
10824
|
-
value: l.topicDueDate,
|
|
10825
|
-
clearButton: !0,
|
|
10826
10831
|
width: "100%",
|
|
10827
|
-
placeholder: e.$t("BcfComponents.BcfTopicForm.dueDateLabel")
|
|
10828
|
-
|
|
10832
|
+
placeholder: e.$t("BcfComponents.BcfTopicForm.dueDateLabel"),
|
|
10833
|
+
value: l.topicDueDate,
|
|
10834
|
+
modelValue: l.topicDueDate,
|
|
10835
|
+
"onUpdate:modelValue": n[10] || (n[10] = (Z) => l.topicDueDate = Z),
|
|
10836
|
+
clearButton: !0
|
|
10837
|
+
}, null, 8, ["placeholder", "value", "modelValue"])
|
|
10829
10838
|
]),
|
|
10830
|
-
p(
|
|
10839
|
+
p(B, {
|
|
10831
10840
|
width: "100%",
|
|
10832
10841
|
name: "description",
|
|
10833
10842
|
label: e.$t("BcfComponents.BcfTopicForm.descriptionLabel"),
|
|
10834
10843
|
modelValue: l.topicDescription,
|
|
10835
|
-
"onUpdate:modelValue": n[11] || (n[11] = (
|
|
10844
|
+
"onUpdate:modelValue": n[11] || (n[11] = (Z) => l.topicDescription = Z),
|
|
10836
10845
|
fitContent: ""
|
|
10837
10846
|
}, null, 8, ["label", "modelValue"]),
|
|
10838
10847
|
p(v, {
|
|
10839
10848
|
width: "100%",
|
|
10840
|
-
multi: !0,
|
|
10841
10849
|
label: e.$t("BcfComponents.BcfTopicForm.labelsLabel"),
|
|
10842
10850
|
options: o.extensions.topic_label,
|
|
10851
|
+
disabled: o.extensions.topic_label.length === 0,
|
|
10843
10852
|
modelValue: l.topicLabels,
|
|
10844
|
-
"onUpdate:modelValue": n[12] || (n[12] = (
|
|
10845
|
-
|
|
10853
|
+
"onUpdate:modelValue": n[12] || (n[12] = (Z) => l.topicLabels = Z),
|
|
10854
|
+
multi: !0
|
|
10855
|
+
}, null, 8, ["label", "options", "disabled", "modelValue"])
|
|
10846
10856
|
])
|
|
10847
10857
|
]),
|
|
10848
|
-
t("div",
|
|
10858
|
+
t("div", sb, [
|
|
10849
10859
|
p(u, {
|
|
10850
|
-
disabled: !l.topicTitle,
|
|
10851
10860
|
width: "100%",
|
|
10852
10861
|
color: "primary",
|
|
10853
10862
|
fill: "",
|
|
10854
10863
|
radius: "",
|
|
10864
|
+
disabled: !l.topicTitle,
|
|
10855
10865
|
onClick: l.submit
|
|
10856
10866
|
}, {
|
|
10857
10867
|
default: f(() => [
|
|
10858
|
-
|
|
10868
|
+
A(b(e.$t(`BcfComponents.BcfTopicForm.${l.isCreation ? "createButton" : "updateButton"}`)), 1)
|
|
10859
10869
|
]),
|
|
10860
10870
|
_: 1
|
|
10861
10871
|
}, 8, ["disabled", "onClick"])
|
|
10862
10872
|
]),
|
|
10863
|
-
l.loading ? (r(), a("div",
|
|
10864
|
-
p(
|
|
10873
|
+
l.loading ? (r(), a("div", cb, [
|
|
10874
|
+
p($)
|
|
10865
10875
|
])) : M("", !0),
|
|
10866
|
-
l.isOpenModal ? (r(),
|
|
10876
|
+
l.isOpenModal ? (r(), k(T, { key: 1 }, {
|
|
10867
10877
|
text: f(() => [
|
|
10868
|
-
|
|
10878
|
+
A(b(e.$t("BcfComponents.BcfTopicForm.modalText", { name: o.topic.title })), 1)
|
|
10869
10879
|
]),
|
|
10870
10880
|
actions: f(() => [
|
|
10871
10881
|
p(u, {
|
|
@@ -10873,10 +10883,10 @@ function ib(e, n, o, l, s, i) {
|
|
|
10873
10883
|
color: "high",
|
|
10874
10884
|
fill: "",
|
|
10875
10885
|
radius: "",
|
|
10876
|
-
onClick: n[13] || (n[13] = (
|
|
10886
|
+
onClick: n[13] || (n[13] = (Z) => e.$emit("close"))
|
|
10877
10887
|
}, {
|
|
10878
10888
|
default: f(() => [
|
|
10879
|
-
|
|
10889
|
+
A(b(e.$t("BcfComponents.BcfTopicForm.cancelButton")), 1)
|
|
10880
10890
|
]),
|
|
10881
10891
|
_: 1
|
|
10882
10892
|
}),
|
|
@@ -10884,10 +10894,10 @@ function ib(e, n, o, l, s, i) {
|
|
|
10884
10894
|
color: "primary",
|
|
10885
10895
|
outline: "",
|
|
10886
10896
|
radius: "",
|
|
10887
|
-
onClick: n[14] || (n[14] = (
|
|
10897
|
+
onClick: n[14] || (n[14] = (Z) => l.isOpenModal = !1)
|
|
10888
10898
|
}, {
|
|
10889
10899
|
default: f(() => [
|
|
10890
|
-
|
|
10900
|
+
A(b(e.$t("BcfComponents.BcfTopicForm.continueButton")), 1)
|
|
10891
10901
|
]),
|
|
10892
10902
|
_: 1
|
|
10893
10903
|
})
|
|
@@ -10896,8 +10906,8 @@ function ib(e, n, o, l, s, i) {
|
|
|
10896
10906
|
})) : M("", !0)
|
|
10897
10907
|
]);
|
|
10898
10908
|
}
|
|
10899
|
-
const
|
|
10900
|
-
var
|
|
10909
|
+
const ub = /* @__PURE__ */ Y(jh, [["render", db], ["__scopeId", "data-v-7f8fbdd1"]]);
|
|
10910
|
+
var Cb = { beforeMount(e, n) {
|
|
10901
10911
|
if (typeof n.value != "function")
|
|
10902
10912
|
throw Error("click away directive needs function, got " + typeof n.value);
|
|
10903
10913
|
e.clickAwayHandler = (o) => {
|
|
@@ -10906,21 +10916,21 @@ var cb = { beforeMount(e, n) {
|
|
|
10906
10916
|
}, unmounted(e, n) {
|
|
10907
10917
|
window.removeEventListener(n.arg || "click", e.clickAwayHandler, !0), delete e.clickAwayHandler;
|
|
10908
10918
|
} };
|
|
10909
|
-
const
|
|
10910
|
-
return r(), a("path",
|
|
10919
|
+
const pb = { "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" }, hb = { render: function(e, n) {
|
|
10920
|
+
return r(), a("path", pb);
|
|
10911
10921
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
10912
|
-
var
|
|
10922
|
+
var bb = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
10913
10923
|
const Z5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
10914
|
-
var V2 = (e, n) => ({ name: `BIMDataIcon${e}`, components: { [e]: n }, props: { color: { type: String, default: "default", validator: (o) =>
|
|
10924
|
+
var V2 = (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() {
|
|
10915
10925
|
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 };
|
|
10916
10926
|
}, style() {
|
|
10917
10927
|
const o = this.getPixelSize(this.size);
|
|
10918
10928
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
10919
10929
|
} }, methods: { getPixelSize() {
|
|
10920
10930
|
return this.customSize ? this.customSize : Z5[this.size];
|
|
10921
|
-
} } }), A1 = V2("Chevron",
|
|
10922
|
-
const
|
|
10923
|
-
function
|
|
10931
|
+
} } }), A1 = V2("Chevron", hb);
|
|
10932
|
+
const gb = ["fill", "color"];
|
|
10933
|
+
function X(e, n) {
|
|
10924
10934
|
n === void 0 && (n = {});
|
|
10925
10935
|
var o = n.insertAt;
|
|
10926
10936
|
if (e && typeof document < "u") {
|
|
@@ -10928,7 +10938,7 @@ function Y(e, n) {
|
|
|
10928
10938
|
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));
|
|
10929
10939
|
}
|
|
10930
10940
|
}
|
|
10931
|
-
|
|
10941
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
10932
10942
|
/* colors BRAND */
|
|
10933
10943
|
/* colors GREY SHADES - NEUTRAL */
|
|
10934
10944
|
/* color TEXT */
|
|
@@ -10997,7 +11007,7 @@ html[data-v-5e440aca] {
|
|
|
10997
11007
|
/* base FONTS -------------------------------------- */
|
|
10998
11008
|
--primary-font: "roboto", sans-serif;
|
|
10999
11009
|
}`);
|
|
11000
|
-
|
|
11010
|
+
X(`.icon-fill--black {
|
|
11001
11011
|
fill: var(--color-black);
|
|
11002
11012
|
}
|
|
11003
11013
|
.icon-fill--default {
|
|
@@ -11082,14 +11092,14 @@ Y(`.icon-fill--black {
|
|
|
11082
11092
|
stroke: var(--color-white);
|
|
11083
11093
|
}`), A1.render = function(e, n, o, l, s, i) {
|
|
11084
11094
|
const c = g("Chevron");
|
|
11085
|
-
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: D(e.classes), style: V(e.style) }, [p(c)], 14,
|
|
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: D(e.classes), style: V(e.style) }, [p(c)], 14, gb);
|
|
11086
11096
|
}, A1.__scopeId = "data-v-5e440aca", A1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconChevron.vue";
|
|
11087
|
-
const
|
|
11088
|
-
return r(), a("path",
|
|
11097
|
+
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
|
+
return r(), a("path", fb);
|
|
11089
11099
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
11090
|
-
var s2 = V2("DoubleChevron",
|
|
11091
|
-
const
|
|
11092
|
-
|
|
11100
|
+
var s2 = V2("DoubleChevron", Lb);
|
|
11101
|
+
const vb = ["fill", "color"];
|
|
11102
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
11093
11103
|
/* colors BRAND */
|
|
11094
11104
|
/* colors GREY SHADES - NEUTRAL */
|
|
11095
11105
|
/* color TEXT */
|
|
@@ -11158,7 +11168,7 @@ html[data-v-859297ec] {
|
|
|
11158
11168
|
/* base FONTS -------------------------------------- */
|
|
11159
11169
|
--primary-font: "roboto", sans-serif;
|
|
11160
11170
|
}`);
|
|
11161
|
-
|
|
11171
|
+
X(`.icon-fill--black {
|
|
11162
11172
|
fill: var(--color-black);
|
|
11163
11173
|
}
|
|
11164
11174
|
.icon-fill--default {
|
|
@@ -11243,14 +11253,14 @@ Y(`.icon-fill--black {
|
|
|
11243
11253
|
stroke: var(--color-white);
|
|
11244
11254
|
}`), s2.render = function(e, n, o, l, s, i) {
|
|
11245
11255
|
const c = g("DoubleChevron");
|
|
11246
|
-
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: D(e.classes), style: V(e.style) }, [p(c)], 14,
|
|
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: D(e.classes), style: V(e.style) }, [p(c)], 14, vb);
|
|
11247
11257
|
}, s2.__scopeId = "data-v-859297ec", s2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconDoubleChevron.vue";
|
|
11248
|
-
const
|
|
11249
|
-
return r(), a("path",
|
|
11258
|
+
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
|
+
return r(), a("path", mb);
|
|
11250
11260
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
11251
|
-
var A2 = V2("Close",
|
|
11252
|
-
const
|
|
11253
|
-
|
|
11261
|
+
var A2 = V2("Close", Mb);
|
|
11262
|
+
const Ib = ["fill", "color"];
|
|
11263
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
11254
11264
|
/* colors BRAND */
|
|
11255
11265
|
/* colors GREY SHADES - NEUTRAL */
|
|
11256
11266
|
/* color TEXT */
|
|
@@ -11319,7 +11329,7 @@ html[data-v-797f55d8] {
|
|
|
11319
11329
|
/* base FONTS -------------------------------------- */
|
|
11320
11330
|
--primary-font: "roboto", sans-serif;
|
|
11321
11331
|
}`);
|
|
11322
|
-
|
|
11332
|
+
X(`.icon-fill--black {
|
|
11323
11333
|
fill: var(--color-black);
|
|
11324
11334
|
}
|
|
11325
11335
|
.icon-fill--default {
|
|
@@ -11404,14 +11414,14 @@ Y(`.icon-fill--black {
|
|
|
11404
11414
|
stroke: var(--color-white);
|
|
11405
11415
|
}`), A2.render = function(e, n, o, l, s, i) {
|
|
11406
11416
|
const c = g("Close");
|
|
11407
|
-
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: D(e.classes), style: V(e.style) }, [p(c)], 14,
|
|
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: D(e.classes), style: V(e.style) }, [p(c)], 14, Ib);
|
|
11408
11418
|
}, A2.__scopeId = "data-v-797f55d8", A2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconClose.vue";
|
|
11409
|
-
const
|
|
11410
|
-
return r(), a("path",
|
|
11419
|
+
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
|
+
return r(), a("path", yb);
|
|
11411
11421
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
11412
|
-
var T2 = V2("Search",
|
|
11413
|
-
const
|
|
11414
|
-
|
|
11422
|
+
var T2 = V2("Search", _b);
|
|
11423
|
+
const Hb = ["fill", "color"];
|
|
11424
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
11415
11425
|
/* colors BRAND */
|
|
11416
11426
|
/* colors GREY SHADES - NEUTRAL */
|
|
11417
11427
|
/* color TEXT */
|
|
@@ -11480,7 +11490,7 @@ html[data-v-0993abf8] {
|
|
|
11480
11490
|
/* base FONTS -------------------------------------- */
|
|
11481
11491
|
--primary-font: "roboto", sans-serif;
|
|
11482
11492
|
}`);
|
|
11483
|
-
|
|
11493
|
+
X(`.icon-fill--black {
|
|
11484
11494
|
fill: var(--color-black);
|
|
11485
11495
|
}
|
|
11486
11496
|
.icon-fill--default {
|
|
@@ -11565,15 +11575,15 @@ Y(`.icon-fill--black {
|
|
|
11565
11575
|
stroke: var(--color-white);
|
|
11566
11576
|
}`), T2.render = function(e, n, o, l, s, i) {
|
|
11567
11577
|
const c = g("Search");
|
|
11568
|
-
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: D(e.classes), style: V(e.style) }, [p(c)], 14,
|
|
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: D(e.classes), style: V(e.style) }, [p(c)], 14, Hb);
|
|
11569
11579
|
}, T2.__scopeId = "data-v-0993abf8", T2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
11570
|
-
var
|
|
11580
|
+
var Vb = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), y1 = { 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() {
|
|
11571
11581
|
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 };
|
|
11572
11582
|
}, style() {
|
|
11573
11583
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
11574
11584
|
} } };
|
|
11575
|
-
const
|
|
11576
|
-
|
|
11585
|
+
const Db = ["color"];
|
|
11586
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
11577
11587
|
/* colors BRAND */
|
|
11578
11588
|
/* colors GREY SHADES - NEUTRAL */
|
|
11579
11589
|
/* color TEXT */
|
|
@@ -11731,7 +11741,7 @@ html[data-v-3f903003] {
|
|
|
11731
11741
|
.primary-font[data-v-3f903003] {
|
|
11732
11742
|
font-family: "roboto", sans-serif;
|
|
11733
11743
|
}`);
|
|
11734
|
-
|
|
11744
|
+
X(`.bimdata-btn {
|
|
11735
11745
|
padding: 0 var(--spacing-unit);
|
|
11736
11746
|
height: -webkit-fit-content;
|
|
11737
11747
|
height: -moz-fit-content;
|
|
@@ -12035,11 +12045,11 @@ Y(`.bimdata-btn {
|
|
|
12035
12045
|
color: var(--color-silver-dark);
|
|
12036
12046
|
cursor: auto;
|
|
12037
12047
|
}`), y1.render = function(e, n, o, l, s, i) {
|
|
12038
|
-
return r(), a("button", { class: D(["bimdata-btn", i.classes]), style: V(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [y(e.$slots, "default")], 14,
|
|
12048
|
+
return r(), a("button", { class: D(["bimdata-btn", i.classes]), style: V(i.style), onClick: n[0] || (n[0] = (c) => e.$emit("click", c)), color: o.color, type: "button" }, [y(e.$slots, "default")], 14, Db);
|
|
12039
12049
|
}, y1.__scopeId = "data-v-3f903003", y1.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
|
|
12040
12050
|
var c2 = { components: { BIMDataIconChevron: A1, BIMDataIconDoubleChevron: s2, BIMDataButton: y1 }, 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"] };
|
|
12041
|
-
const
|
|
12042
|
-
|
|
12051
|
+
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
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
12043
12053
|
/* colors BRAND */
|
|
12044
12054
|
/* colors GREY SHADES - NEUTRAL */
|
|
12045
12055
|
/* color TEXT */
|
|
@@ -12115,7 +12125,7 @@ html[data-v-aa907072] {
|
|
|
12115
12125
|
.bimdata-list li[data-v-aa907072] {
|
|
12116
12126
|
list-style-type: none;
|
|
12117
12127
|
}`);
|
|
12118
|
-
|
|
12128
|
+
X(`.bimdata-navigation[data-v-aa907072] {
|
|
12119
12129
|
display: -webkit-inline-box;
|
|
12120
12130
|
display: -ms-inline-flexbox;
|
|
12121
12131
|
display: inline-flex;
|
|
@@ -12146,7 +12156,7 @@ Y(`.bimdata-navigation[data-v-aa907072] {
|
|
|
12146
12156
|
cursor: default;
|
|
12147
12157
|
}`), c2.render = function(e, n, o, l, s, i) {
|
|
12148
12158
|
const c = g("BIMDataIconDoubleChevron"), u = g("BIMDataButton"), d = g("BIMDataIconChevron");
|
|
12149
|
-
return r(), a("ul", { class: "bimdata-list bimdata-navigation", style: V({ "background-color": o.backgroundColor }) }, [t("li",
|
|
12159
|
+
return r(), a("ul", { class: "bimdata-list bimdata-navigation", style: V({ "background-color": o.backgroundColor }) }, [t("li", Bb, [y(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: D({ 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: D({ 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, [y(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: D({ 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: D({ disabled: o.lastDisabled }), width: "21px", height: "21px" }, { default: f(() => [p(c, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : M("v-if", !0), t("li", Sb, [y(e.$slots, "right")])], 4);
|
|
12150
12160
|
}, c2.__scopeId = "data-v-aa907072", c2.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
|
|
12151
12161
|
var d2 = { components: { BIMDataNavigation: c2, BIMDataButton: y1 }, 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() {
|
|
12152
12162
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
@@ -12165,8 +12175,8 @@ var d2 = { components: { BIMDataNavigation: c2, BIMDataButton: y1 }, props: { le
|
|
|
12165
12175
|
}, lastPage() {
|
|
12166
12176
|
this.$emit("pagechanged", this.totalPages);
|
|
12167
12177
|
} } };
|
|
12168
|
-
const
|
|
12169
|
-
|
|
12178
|
+
const Ab = { class: "bimdata-pagination__item" };
|
|
12179
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
12170
12180
|
/* colors BRAND */
|
|
12171
12181
|
/* colors GREY SHADES - NEUTRAL */
|
|
12172
12182
|
/* color TEXT */
|
|
@@ -12235,7 +12245,7 @@ html[data-v-45066753] {
|
|
|
12235
12245
|
/* base FONTS -------------------------------------- */
|
|
12236
12246
|
--primary-font: "roboto", sans-serif;
|
|
12237
12247
|
}`);
|
|
12238
|
-
|
|
12248
|
+
X(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
12239
12249
|
padding: 0;
|
|
12240
12250
|
-webkit-box-pack: center;
|
|
12241
12251
|
-ms-flex-pack: center;
|
|
@@ -12245,14 +12255,14 @@ Y(`.bimdata-pagination__item .bimdata-btn[data-v-45066753] {
|
|
|
12245
12255
|
font-weight: 700;
|
|
12246
12256
|
}`), d2.render = function(e, n, o, l, s, i) {
|
|
12247
12257
|
const c = g("BIMDataButton"), u = g("BIMDataNavigation");
|
|
12248
|
-
return r(),
|
|
12258
|
+
return r(), k(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 }, a5({ 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"]);
|
|
12249
12259
|
}, d2.__scopeId = "data-v-45066753", d2.__file = "src/BIMDataComponents/BIMDataPagination/BIMDataPagination.vue";
|
|
12250
12260
|
var u2 = { props: ["size", "border"], methods: { getStyle() {
|
|
12251
12261
|
if (this.size)
|
|
12252
12262
|
return { width: this.size, height: this.size, "border-width": this.border ? this.border : null };
|
|
12253
12263
|
} } };
|
|
12254
|
-
const
|
|
12255
|
-
|
|
12264
|
+
const Tb = { class: "bimdata-spinner" };
|
|
12265
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
12256
12266
|
/* colors BRAND */
|
|
12257
12267
|
/* colors GREY SHADES - NEUTRAL */
|
|
12258
12268
|
/* color TEXT */
|
|
@@ -12321,7 +12331,7 @@ html[data-v-162f2cc6] {
|
|
|
12321
12331
|
/* base FONTS -------------------------------------- */
|
|
12322
12332
|
--primary-font: "roboto", sans-serif;
|
|
12323
12333
|
}`);
|
|
12324
|
-
|
|
12334
|
+
X(`@-webkit-keyframes bimdataspinner {
|
|
12325
12335
|
0% {
|
|
12326
12336
|
-webkit-transform: scale(0.2);
|
|
12327
12337
|
transform: scale(0.2);
|
|
@@ -12400,7 +12410,7 @@ Y(`@-webkit-keyframes bimdataspinner {
|
|
|
12400
12410
|
-webkit-animation: bimdataspinner 1.4s linear infinite;
|
|
12401
12411
|
animation: bimdataspinner 1.4s linear infinite;
|
|
12402
12412
|
}`), u2.render = function(e, n, o, l, s, i) {
|
|
12403
|
-
return r(), a("div",
|
|
12413
|
+
return r(), a("div", Tb, [t("div", { class: "bimdata-spinner--square", style: V(i.getStyle()) }, null, 4)]);
|
|
12404
12414
|
}, u2.__scopeId = "data-v-162f2cc6", u2.__file = "src/BIMDataComponents/BIMDataSpinner/BIMDataSpinner.vue";
|
|
12405
12415
|
var C2 = { components: { BIMDataPagination: d2, BIMDataSpinner: u2 }, 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() {
|
|
12406
12416
|
return this.list.length ? Math.ceil(this.list.length / this.perPage) : 0;
|
|
@@ -12412,8 +12422,8 @@ var C2 = { components: { BIMDataPagination: d2, BIMDataSpinner: u2 }, props: { l
|
|
|
12412
12422
|
}, deep: !0, immediate: !0 } }, methods: { onPageChange(e) {
|
|
12413
12423
|
this.currentPage = e;
|
|
12414
12424
|
} } };
|
|
12415
|
-
const
|
|
12416
|
-
|
|
12425
|
+
const $b = { class: "bimdata-paginated-list" }, Nb = { key: 1 }, Rb = { class: "bimdata-list bimdata-paginated-list__elements" }, Ob = ["onClick"];
|
|
12426
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
12417
12427
|
/* colors BRAND */
|
|
12418
12428
|
/* colors GREY SHADES - NEUTRAL */
|
|
12419
12429
|
/* color TEXT */
|
|
@@ -12489,7 +12499,7 @@ html[data-v-3ab4d75d] {
|
|
|
12489
12499
|
.bimdata-list li[data-v-3ab4d75d] {
|
|
12490
12500
|
list-style-type: none;
|
|
12491
12501
|
}`);
|
|
12492
|
-
|
|
12502
|
+
X(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
12493
12503
|
font-family: var(--primary-font);
|
|
12494
12504
|
font-size: 1em;
|
|
12495
12505
|
line-height: 1.5;
|
|
@@ -12528,9 +12538,9 @@ Y(`.bimdata-paginated-list[data-v-3ab4d75d] {
|
|
|
12528
12538
|
justify-content: center;
|
|
12529
12539
|
}`), C2.render = function(e, n, o, l, s, i) {
|
|
12530
12540
|
const c = g("BIMDataSpinner"), u = g("BIMDataPagination");
|
|
12531
|
-
return r(), a("div",
|
|
12541
|
+
return r(), a("div", $b, [o.loading ? (r(), k(c, { key: 0 })) : (r(), a("div", Nb, [y(e.$slots, "header"), t("ul", Rb, [(r(!0), a(E, null, W(i.page, (d) => (r(), a("li", { key: o.elementKey ? d[o.elementKey] : d, onClick: (C) => e.$emit("element-click", d) }, [y(e.$slots, "element", { element: d }, () => [A(b(d && d.toString()), 1)])], 8, Ob))), 128))]), o.list.length === 0 ? y(e.$slots, "empty", { key: 0 }) : M("v-if", !0), i.totalPages > 1 ? (r(), k(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)]))]);
|
|
12532
12542
|
}, C2.__scopeId = "data-v-3ab4d75d", C2.__file = "src/BIMDataComponents/BIMDataPaginatedList/BIMDataPaginatedList.vue";
|
|
12533
|
-
var p2 = { components: { BIMDataIconChevron: A1, BIMDataPaginatedList: C2, BIMDataButton: y1 }, directives: { clickaway:
|
|
12543
|
+
var p2 = { components: { BIMDataIconChevron: A1, BIMDataPaginatedList: C2, BIMDataButton: y1 }, 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() {
|
|
12534
12544
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
12535
12545
|
}, iconRotation() {
|
|
12536
12546
|
return this.displayed ? this.directionClass === "up" ? -90 : 90 : 0;
|
|
@@ -12541,8 +12551,8 @@ var p2 = { components: { BIMDataIconChevron: A1, BIMDataPaginatedList: C2, BIMDa
|
|
|
12541
12551
|
}, away() {
|
|
12542
12552
|
this.displayed = !1;
|
|
12543
12553
|
} } };
|
|
12544
|
-
const
|
|
12545
|
-
|
|
12554
|
+
const Eb = ["direction", "closeOnElementClick"];
|
|
12555
|
+
X(`/* base COLORS --------------------------------------------- */
|
|
12546
12556
|
/* colors BRAND */
|
|
12547
12557
|
/* colors GREY SHADES - NEUTRAL */
|
|
12548
12558
|
/* color TEXT */
|
|
@@ -12611,7 +12621,7 @@ html[data-v-0368297d] {
|
|
|
12611
12621
|
/* base FONTS -------------------------------------- */
|
|
12612
12622
|
--primary-font: "roboto", sans-serif;
|
|
12613
12623
|
}`);
|
|
12614
|
-
|
|
12624
|
+
X(`.slide-fade-up-enter-active,
|
|
12615
12625
|
.slide-fade-up-leave-active {
|
|
12616
12626
|
-webkit-transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
12617
12627
|
transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
@@ -12886,23 +12896,8 @@ Y(`.slide-fade-up-enter-active,
|
|
|
12886
12896
|
align-items: center;
|
|
12887
12897
|
}`), p2.render = function(e, n, o, l, s, i) {
|
|
12888
12898
|
const c = g("BIMDataIconChevron"), u = g("BIMDataButton"), d = g("BIMDataPaginatedList"), C = O1("clickaway");
|
|
12889
|
-
return
|
|
12899
|
+
return j((r(), a("div", { class: "bimdata-dropdown-list", direction: o.directionClass, closeOnElementClick: o.closeOnElementClick, style: V(i.style) }, [t("div", { class: D(["bimdata-dropdown-list__content", { active: s.displayed, disabled: o.disabled }]), onClick: n[0] || (n[0] = (...L) => i.onHeaderClick && i.onHeaderClick(...L)), style: V(i.style) }, [y(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 }), y(e.$slots, "contentAfterBtn", { isOpen: s.displayed })], 6), p(a1, { name: `slide-fade-${o.transitionName}`, persisted: "" }, { default: f(() => [j(p(d, { class: D(`submenu submenu--${o.directionClass}`), list: o.list, perPage: o.perPage, elementKey: o.elementKey, onElementClick: i.onElementClick, loading: o.loading }, { element: f(({ element: L }) => [y(e.$slots, "element", { element: L, close: i.away, isOpen: s.displayed })]), _: 3 }, 8, ["class", "list", "perPage", "elementKey", "onElementClick", "loading"]), [[e1, s.displayed]])]), _: 3 }, 8, ["name"])], 12, Eb)), [[C, i.away]]);
|
|
12890
12900
|
}, p2.__scopeId = "data-v-0368297d", p2.__file = "src/BIMDataComponents/BIMDataDropdownList/BIMDataDropdownList.vue";
|
|
12891
|
-
const Rb = {
|
|
12892
|
-
props: {
|
|
12893
|
-
topic: {
|
|
12894
|
-
type: Object
|
|
12895
|
-
}
|
|
12896
|
-
}
|
|
12897
|
-
}, Ob = ["src"];
|
|
12898
|
-
function Eb(e, n, o, l, s, i) {
|
|
12899
|
-
return r(), a("div", null, [
|
|
12900
|
-
t("img", {
|
|
12901
|
-
src: o.topic.snapshot.snapshot_data
|
|
12902
|
-
}, null, 8, Ob)
|
|
12903
|
-
]);
|
|
12904
|
-
}
|
|
12905
|
-
const S5 = /* @__PURE__ */ G(Rb, [["render", Eb]]);
|
|
12906
12901
|
const Fb = {
|
|
12907
12902
|
props: {
|
|
12908
12903
|
user: {
|
|
@@ -12925,7 +12920,7 @@ const Fb = {
|
|
|
12925
12920
|
},
|
|
12926
12921
|
setup(e) {
|
|
12927
12922
|
return {
|
|
12928
|
-
initials:
|
|
12923
|
+
initials: F(
|
|
12929
12924
|
() => `${e.user.firstname && e.user.firstname[0] || ""}${e.user.lastname && e.user.lastname[0] || ""}`.toUpperCase()
|
|
12930
12925
|
)
|
|
12931
12926
|
};
|
|
@@ -12944,25 +12939,24 @@ function Ub(e, n, o, l, s, i) {
|
|
|
12944
12939
|
o.user.profile_picture ? (r(), a("img", {
|
|
12945
12940
|
key: 0,
|
|
12946
12941
|
src: o.user.profile_picture
|
|
12947
|
-
}, null, 8, Pb)) : l.initials ? (r(), a(
|
|
12948
|
-
|
|
12949
|
-
], 64)) : (r(),
|
|
12942
|
+
}, null, 8, Pb)) : l.initials ? (r(), a(E, { key: 1 }, [
|
|
12943
|
+
A(b(l.initials), 1)
|
|
12944
|
+
], 64)) : (r(), k(c, {
|
|
12950
12945
|
key: 2,
|
|
12951
12946
|
name: "user",
|
|
12952
12947
|
size: "xs"
|
|
12953
12948
|
}))
|
|
12954
12949
|
], 6);
|
|
12955
12950
|
}
|
|
12956
|
-
const
|
|
12951
|
+
const n3 = /* @__PURE__ */ Y(Fb, [["render", Ub], ["__scopeId", "data-v-3c02f1a9"]]);
|
|
12957
12952
|
const zb = {
|
|
12958
12953
|
components: {
|
|
12959
|
-
BIMDataButton:
|
|
12960
|
-
BIMDataIcon:
|
|
12954
|
+
BIMDataButton: J,
|
|
12955
|
+
BIMDataIcon: Q,
|
|
12961
12956
|
BIMDataLoading: g1,
|
|
12962
12957
|
BIMDataTextarea: I1,
|
|
12963
12958
|
BIMDataTextbox: d1,
|
|
12964
|
-
UserAvatar:
|
|
12965
|
-
TopicCommentSnapshotModal: S5
|
|
12959
|
+
UserAvatar: n3
|
|
12966
12960
|
},
|
|
12967
12961
|
props: {
|
|
12968
12962
|
project: {
|
|
@@ -12984,33 +12978,33 @@ const zb = {
|
|
|
12984
12978
|
},
|
|
12985
12979
|
emits: ["comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
12986
12980
|
setup(e, { emit: n }) {
|
|
12987
|
-
const o = T1("getViewers", () => ({})), l = T1("$viewer"), s = U1(), i =
|
|
12981
|
+
const o = T1("getViewers", () => ({})), l = T1("$viewer"), s = U1(), 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 () => {
|
|
12988
12982
|
L.value = await s.fetchTopicCommentViewpoint(
|
|
12989
12983
|
e.project,
|
|
12990
12984
|
e.topic,
|
|
12991
12985
|
e.comment
|
|
12992
12986
|
);
|
|
12993
|
-
}, m =
|
|
12987
|
+
}, m = w(!1), v = () => {
|
|
12994
12988
|
m.value = !0, u();
|
|
12995
12989
|
}, I = () => {
|
|
12996
12990
|
m.value = !1, C.value = e.comment.comment;
|
|
12997
|
-
},
|
|
12991
|
+
}, B = async () => {
|
|
12998
12992
|
L.value.guid && await s.deleteViewpoint(e.project, e.topic, L.value), L.value = null;
|
|
12999
|
-
},
|
|
13000
|
-
|
|
13001
|
-
},
|
|
13002
|
-
|
|
13003
|
-
},
|
|
13004
|
-
|
|
13005
|
-
},
|
|
13006
|
-
z
|
|
13007
|
-
const [
|
|
13008
|
-
L.value = Object.assign(await
|
|
13009
|
-
[E1]:
|
|
13010
|
-
[F1]:
|
|
12993
|
+
}, $ = w(!1), T = w([]), Z = (O) => {
|
|
12994
|
+
O.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", O.$viewer.localContext.el.style.boxSizing = "border-box", O.$viewer.localContext.el.style.opacity = ".85";
|
|
12995
|
+
}, U = (O) => {
|
|
12996
|
+
O.$viewer.localContext.el.style.border = "", O.$viewer.localContext.el.style.boxSizing = "", O.$viewer.localContext.el.style.opacity = "";
|
|
12997
|
+
}, l1 = async () => {
|
|
12998
|
+
T.value.length === 1 ? await q(T.value[0]) : T.value.length > 1 && ($.value = !0);
|
|
12999
|
+
}, q = async ({ id: O, viewer: z }) => {
|
|
13000
|
+
U(z), $.value = !1;
|
|
13001
|
+
const [G] = Object.entries(P1).find(([, o1]) => o1.plugin === O);
|
|
13002
|
+
L.value = Object.assign(await z.getViewpoint(), {
|
|
13003
|
+
[E1]: G,
|
|
13004
|
+
[F1]: z.getLoadedModels().map((o1) => o1.id).join(",")
|
|
13011
13005
|
});
|
|
13012
|
-
},
|
|
13013
|
-
var
|
|
13006
|
+
}, t1 = async () => {
|
|
13007
|
+
var O;
|
|
13014
13008
|
try {
|
|
13015
13009
|
if (e.comment.comment === C.value && !L.value) {
|
|
13016
13010
|
m.value = !1;
|
|
@@ -13022,72 +13016,83 @@ const zb = {
|
|
|
13022
13016
|
L.value
|
|
13023
13017
|
)), e.comment.comment !== C.value || e.comment.viewpoint_guid !== L.value.guid) {
|
|
13024
13018
|
i.value = !0;
|
|
13025
|
-
const
|
|
13019
|
+
const z = await s.updateComment(
|
|
13026
13020
|
e.project,
|
|
13027
13021
|
e.topic,
|
|
13028
13022
|
e.comment,
|
|
13029
|
-
{ comment: C.value, viewpoint_guid: (
|
|
13023
|
+
{ comment: C.value, viewpoint_guid: (O = L.value) == null ? void 0 : O.guid }
|
|
13030
13024
|
);
|
|
13031
|
-
n("comment-updated",
|
|
13025
|
+
n("comment-updated", z);
|
|
13032
13026
|
}
|
|
13033
13027
|
m.value = !1;
|
|
13034
13028
|
} finally {
|
|
13035
13029
|
i.value = !1;
|
|
13036
13030
|
}
|
|
13037
|
-
},
|
|
13038
|
-
|
|
13031
|
+
}, i1 = w(!1), P = () => {
|
|
13032
|
+
i1.value = !0, u();
|
|
13039
13033
|
}, H = async () => {
|
|
13040
13034
|
try {
|
|
13041
|
-
i.value = !0, await s.deleteComment(e.project, e.topic, e.comment), n("comment-deleted", e.comment),
|
|
13035
|
+
i.value = !0, await s.deleteComment(e.project, e.topic, e.comment), n("comment-deleted", e.comment), i1.value = !1;
|
|
13042
13036
|
} finally {
|
|
13043
13037
|
i.value = !1;
|
|
13044
13038
|
}
|
|
13045
|
-
}, _ = (
|
|
13046
|
-
l ? l.globalContext.modals.pushModal(
|
|
13039
|
+
}, _ = (O) => {
|
|
13040
|
+
l ? l.globalContext.modals.pushModal(
|
|
13041
|
+
{
|
|
13042
|
+
template: '<img :src="viewpoint.snapshot.snapshot_data" />',
|
|
13043
|
+
props: {
|
|
13044
|
+
viewpoint: {
|
|
13045
|
+
type: Object,
|
|
13046
|
+
required: !0
|
|
13047
|
+
}
|
|
13048
|
+
}
|
|
13049
|
+
},
|
|
13050
|
+
{ viewpoint: O }
|
|
13051
|
+
) : n("view-comment-snapshot", O);
|
|
13047
13052
|
};
|
|
13048
|
-
let
|
|
13053
|
+
let x, R;
|
|
13049
13054
|
return l5(async () => {
|
|
13050
13055
|
if (e.comment.viewpoint_guid && await h(), l) {
|
|
13051
|
-
const
|
|
13052
|
-
([
|
|
13056
|
+
const O = () => Object.entries(o()).map(
|
|
13057
|
+
([z, G]) => G.map((o1, b5) => ({ key: `${z}-${b5}`, id: z, index: b5, viewer: o1 }))
|
|
13053
13058
|
).flat();
|
|
13054
|
-
|
|
13055
|
-
|
|
13056
|
-
}),
|
|
13057
|
-
|
|
13059
|
+
T.value = O(), x = l.globalContext.hub.on("plugin-created", () => {
|
|
13060
|
+
T.value = O();
|
|
13061
|
+
}), R = l.globalContext.hub.on("plugin-destroyed", () => {
|
|
13062
|
+
T.value = O();
|
|
13058
13063
|
});
|
|
13059
13064
|
}
|
|
13060
|
-
}),
|
|
13061
|
-
l && (l.globalContext.hub.off(
|
|
13065
|
+
}), R5(() => {
|
|
13066
|
+
l && (l.globalContext.hub.off(x), l.globalContext.hub.off(R));
|
|
13062
13067
|
}), {
|
|
13063
13068
|
// References
|
|
13064
|
-
isDeleting:
|
|
13069
|
+
isDeleting: i1,
|
|
13065
13070
|
isEditing: m,
|
|
13071
|
+
isViewer: !!l,
|
|
13066
13072
|
loading: i,
|
|
13067
13073
|
showMenu: c,
|
|
13068
13074
|
text: C,
|
|
13069
|
-
viewerSelectOptions:
|
|
13070
|
-
viewerSelectVisible:
|
|
13075
|
+
viewerSelectOptions: T,
|
|
13076
|
+
viewerSelectVisible: $,
|
|
13071
13077
|
viewpoint: L,
|
|
13072
|
-
isViewer: !!l,
|
|
13073
13078
|
// Methods
|
|
13074
13079
|
cancelUpdate: I,
|
|
13075
13080
|
closeMenu: u,
|
|
13076
|
-
createViewpoint:
|
|
13077
|
-
deleteViewpoint:
|
|
13078
|
-
highlightViewer:
|
|
13079
|
-
onOpenDelete:
|
|
13081
|
+
createViewpoint: q,
|
|
13082
|
+
deleteViewpoint: B,
|
|
13083
|
+
highlightViewer: Z,
|
|
13084
|
+
onOpenDelete: P,
|
|
13080
13085
|
onOpenEdit: v,
|
|
13081
|
-
|
|
13086
|
+
openCommentSnapshot: _,
|
|
13087
|
+
setCommentViewpoint: l1,
|
|
13082
13088
|
submitDelete: H,
|
|
13083
|
-
submitUpdate:
|
|
13089
|
+
submitUpdate: t1,
|
|
13084
13090
|
toggleMenu: d,
|
|
13085
13091
|
loadViewpoint: h,
|
|
13086
|
-
|
|
13087
|
-
unhighlightViewer: z
|
|
13092
|
+
unhighlightViewer: U
|
|
13088
13093
|
};
|
|
13089
13094
|
}
|
|
13090
|
-
}, Gb = (e) => (C1("data-v-
|
|
13095
|
+
}, Gb = (e) => (C1("data-v-3aa40e45"), e = e(), p1(), e), Yb = { class: "topic-comment m-t-18" }, Xb = { class: "topic-comment__header flex items-center justify-between" }, Wb = { class: "topic-comment__header__left flex items-center" }, jb = {
|
|
13091
13096
|
key: 1,
|
|
13092
13097
|
class: "topic-comment__header__left__user flex items-center justify-center m-r-12"
|
|
13093
13098
|
}, Kb = /* @__PURE__ */ Gb(() => /* @__PURE__ */ t("span", { class: "color-granite m-x-6" }, " • ", -1)), qb = { class: "color-granite" }, Jb = { class: "topic-comment__header__right" }, Qb = { class: "topic-comment__header__right__actions flex" }, eg = {
|
|
@@ -13105,7 +13110,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13105
13110
|
return r(), a("div", Yb, [
|
|
13106
13111
|
t("div", Xb, [
|
|
13107
13112
|
t("div", Wb, [
|
|
13108
|
-
o.comment.user ? (r(),
|
|
13113
|
+
o.comment.user ? (r(), k(c, {
|
|
13109
13114
|
key: 0,
|
|
13110
13115
|
class: "m-r-12",
|
|
13111
13116
|
style: { "box-shadow": "var(--box-shadow)" },
|
|
@@ -13131,9 +13136,9 @@ function ig(e, n, o, l, s, i) {
|
|
|
13131
13136
|
t("span", qb, b(e.$d(o.comment.date, "long")), 1)
|
|
13132
13137
|
]),
|
|
13133
13138
|
t("div", Jb, [
|
|
13134
|
-
o.currentUserEmail === o.comment.author ? (r(), a(
|
|
13139
|
+
o.currentUserEmail === o.comment.author ? (r(), a(E, { key: 0 }, [
|
|
13135
13140
|
t("div", Qb, [
|
|
13136
|
-
l.showMenu ? (r(), a(
|
|
13141
|
+
l.showMenu ? (r(), a(E, { key: 0 }, [
|
|
13137
13142
|
p(C, {
|
|
13138
13143
|
ghost: "",
|
|
13139
13144
|
rounded: "",
|
|
@@ -13183,7 +13188,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13183
13188
|
_: 1
|
|
13184
13189
|
}, 8, ["onClick"])
|
|
13185
13190
|
], 64)) : M("", !0),
|
|
13186
|
-
l.isEditing ? (r(), a(
|
|
13191
|
+
l.isEditing ? (r(), a(E, { key: 1 }, [
|
|
13187
13192
|
p(C, {
|
|
13188
13193
|
ghost: "",
|
|
13189
13194
|
rounded: "",
|
|
@@ -13229,7 +13234,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13229
13234
|
onClick: l.submitDelete
|
|
13230
13235
|
}, {
|
|
13231
13236
|
default: f(() => [
|
|
13232
|
-
|
|
13237
|
+
A(b(e.$t("BcfComponents.BcfTopicComments.deleteButton")), 1)
|
|
13233
13238
|
]),
|
|
13234
13239
|
_: 1
|
|
13235
13240
|
}, 8, ["onClick"]),
|
|
@@ -13251,7 +13256,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13251
13256
|
})
|
|
13252
13257
|
])
|
|
13253
13258
|
])) : M("", !0),
|
|
13254
|
-
!l.showMenu && !l.isDeleting && !l.isEditing ? (r(),
|
|
13259
|
+
!l.showMenu && !l.isDeleting && !l.isEditing ? (r(), k(C, {
|
|
13255
13260
|
key: 1,
|
|
13256
13261
|
class: "topic-comment__header__right__btn",
|
|
13257
13262
|
rounded: "",
|
|
@@ -13295,7 +13300,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13295
13300
|
color: "default"
|
|
13296
13301
|
})
|
|
13297
13302
|
])),
|
|
13298
|
-
l.viewerSelectVisible ? (r(),
|
|
13303
|
+
l.viewerSelectVisible ? (r(), k(h, {
|
|
13299
13304
|
key: 1,
|
|
13300
13305
|
list: l.viewerSelectOptions,
|
|
13301
13306
|
elementKey: "key",
|
|
@@ -13303,7 +13308,7 @@ function ig(e, n, o, l, s, i) {
|
|
|
13303
13308
|
width: "180px"
|
|
13304
13309
|
}, {
|
|
13305
13310
|
header: f(() => [
|
|
13306
|
-
|
|
13311
|
+
A(b(e.$t("BcfComponents.BcfTopicComments.takeSnapshot")), 1)
|
|
13307
13312
|
]),
|
|
13308
13313
|
element: f(({ element: v }) => [
|
|
13309
13314
|
t("div", {
|
|
@@ -13318,9 +13323,9 @@ function ig(e, n, o, l, s, i) {
|
|
|
13318
13323
|
l.viewpoint && l.viewpoint.snapshot ? (r(), a("div", ag, [
|
|
13319
13324
|
t("img", {
|
|
13320
13325
|
src: l.viewpoint.snapshot.snapshot_data,
|
|
13321
|
-
onClick: n[3] || (n[3] = (v) => l.
|
|
13326
|
+
onClick: n[3] || (n[3] = (v) => l.openCommentSnapshot(l.viewpoint))
|
|
13322
13327
|
}, null, 8, lg),
|
|
13323
|
-
l.isEditing ? (r(),
|
|
13328
|
+
l.isEditing ? (r(), k(C, {
|
|
13324
13329
|
key: 0,
|
|
13325
13330
|
class: "btn-delete",
|
|
13326
13331
|
fill: "",
|
|
@@ -13340,15 +13345,15 @@ function ig(e, n, o, l, s, i) {
|
|
|
13340
13345
|
}, 8, ["onClick"])) : M("", !0)
|
|
13341
13346
|
])) : M("", !0)
|
|
13342
13347
|
]),
|
|
13343
|
-
l.loading ? (r(),
|
|
13348
|
+
l.loading ? (r(), k(m, { key: 0 })) : M("", !0)
|
|
13344
13349
|
]);
|
|
13345
13350
|
}
|
|
13346
|
-
const sg = /* @__PURE__ */
|
|
13351
|
+
const sg = /* @__PURE__ */ Y(zb, [["render", ig], ["__scopeId", "data-v-3aa40e45"]]);
|
|
13347
13352
|
const cg = {
|
|
13348
13353
|
components: {
|
|
13349
|
-
BIMDataButton:
|
|
13354
|
+
BIMDataButton: J,
|
|
13350
13355
|
BIMDataDropdownList: p2,
|
|
13351
|
-
BIMDataIcon:
|
|
13356
|
+
BIMDataIcon: Q,
|
|
13352
13357
|
BIMDataLoading: g1,
|
|
13353
13358
|
BIMDataTextarea: I1,
|
|
13354
13359
|
TopicComment: sg
|
|
@@ -13373,25 +13378,25 @@ const cg = {
|
|
|
13373
13378
|
},
|
|
13374
13379
|
emis: ["comment-created", "comment-updated", "comment-deleted", "view-comment-snapshot"],
|
|
13375
13380
|
setup(e, { emit: n }) {
|
|
13376
|
-
const o = U1(), l =
|
|
13381
|
+
const o = U1(), l = w([]), s = w(!1), i = w(!1), c = w(null), u = w(""), d = w(null), C = async () => {
|
|
13377
13382
|
l.value = await o.fetchTopicComments(e.project, e.topic);
|
|
13378
|
-
}, L = T1("getViewers", () => ({})), h = T1("$viewer"), m =
|
|
13379
|
-
|
|
13380
|
-
},
|
|
13381
|
-
|
|
13382
|
-
},
|
|
13383
|
-
v.value.length === 1 ? await
|
|
13384
|
-
},
|
|
13385
|
-
|
|
13386
|
-
const [_] = Object.entries(P1).find(([,
|
|
13383
|
+
}, L = T1("getViewers", () => ({})), h = T1("$viewer"), m = w(!1), v = w([]), I = (P) => {
|
|
13384
|
+
P.$viewer.localContext.el.style.border = "2px solid var(--color-primary)", P.$viewer.localContext.el.style.boxSizing = "border-box", P.$viewer.localContext.el.style.opacity = ".85";
|
|
13385
|
+
}, B = (P) => {
|
|
13386
|
+
P.$viewer.localContext.el.style.border = "", P.$viewer.localContext.el.style.boxSizing = "", P.$viewer.localContext.el.style.opacity = "";
|
|
13387
|
+
}, $ = async () => {
|
|
13388
|
+
v.value.length === 1 ? await T(v.value[0]) : v.value.length > 1 && (m.value = !0);
|
|
13389
|
+
}, T = async ({ id: P, viewer: H }) => {
|
|
13390
|
+
B(H), m.value = !1;
|
|
13391
|
+
const [_] = Object.entries(P1).find(([, x]) => x.plugin === P);
|
|
13387
13392
|
d.value = Object.assign(await H.getViewpoint(), {
|
|
13388
13393
|
[E1]: _,
|
|
13389
|
-
[F1]: H.getLoadedModels().map((
|
|
13394
|
+
[F1]: H.getLoadedModels().map((x) => x.id).join(",")
|
|
13390
13395
|
});
|
|
13391
|
-
},
|
|
13396
|
+
}, Z = () => {
|
|
13392
13397
|
d.value = null;
|
|
13393
|
-
},
|
|
13394
|
-
var
|
|
13398
|
+
}, U = async () => {
|
|
13399
|
+
var P;
|
|
13395
13400
|
try {
|
|
13396
13401
|
i.value = !0, d.value && (d.value = await o.createViewpoint(
|
|
13397
13402
|
e.project,
|
|
@@ -13400,36 +13405,36 @@ const cg = {
|
|
|
13400
13405
|
));
|
|
13401
13406
|
const H = await o.createComment(e.project, e.topic, {
|
|
13402
13407
|
comment: u.value,
|
|
13403
|
-
viewpoint_guid: (
|
|
13408
|
+
viewpoint_guid: (P = d.value) == null ? void 0 : P.guid
|
|
13404
13409
|
});
|
|
13405
13410
|
C(), n("comment-created", H), s.value = !1, u.value = "";
|
|
13406
13411
|
} finally {
|
|
13407
13412
|
i.value = !1, d.value = null;
|
|
13408
13413
|
}
|
|
13409
|
-
},
|
|
13410
|
-
C(), n("comment-updated",
|
|
13411
|
-
},
|
|
13412
|
-
C(), n("comment-deleted",
|
|
13414
|
+
}, l1 = (P) => {
|
|
13415
|
+
C(), n("comment-updated", P);
|
|
13416
|
+
}, q = (P) => {
|
|
13417
|
+
C(), n("comment-deleted", P);
|
|
13413
13418
|
};
|
|
13414
|
-
|
|
13419
|
+
c1(
|
|
13415
13420
|
() => e.topic,
|
|
13416
13421
|
() => C(),
|
|
13417
13422
|
{ immediate: !0 }
|
|
13418
|
-
),
|
|
13419
|
-
let
|
|
13423
|
+
), c1(s, () => setTimeout(() => s.value && c.value.focus(), 50));
|
|
13424
|
+
let t1, i1;
|
|
13420
13425
|
return l5(() => {
|
|
13421
13426
|
if (h) {
|
|
13422
|
-
const
|
|
13423
|
-
([H, _]) => _.map((
|
|
13427
|
+
const P = () => Object.entries(L()).map(
|
|
13428
|
+
([H, _]) => _.map((x, R) => ({ key: `${H}-${R}`, id: H, index: R, viewer: x }))
|
|
13424
13429
|
).flat();
|
|
13425
|
-
v.value =
|
|
13426
|
-
v.value =
|
|
13427
|
-
}),
|
|
13428
|
-
v.value =
|
|
13430
|
+
v.value = P(), t1 = h.globalContext.hub.on("plugin-created", () => {
|
|
13431
|
+
v.value = P();
|
|
13432
|
+
}), i1 = h.globalContext.hub.on("plugin-destroyed", () => {
|
|
13433
|
+
v.value = P();
|
|
13429
13434
|
});
|
|
13430
13435
|
}
|
|
13431
|
-
}),
|
|
13432
|
-
h && (h.globalContext.hub.off(
|
|
13436
|
+
}), R5(() => {
|
|
13437
|
+
h && (h.globalContext.hub.off(t1), h.globalContext.hub.off(i1));
|
|
13433
13438
|
}), {
|
|
13434
13439
|
// References
|
|
13435
13440
|
comments: l,
|
|
@@ -13442,15 +13447,15 @@ const cg = {
|
|
|
13442
13447
|
viewpoint: d,
|
|
13443
13448
|
isViewer: !!h,
|
|
13444
13449
|
// Methods
|
|
13445
|
-
createViewpoint:
|
|
13446
|
-
deleteViewpoint:
|
|
13450
|
+
createViewpoint: T,
|
|
13451
|
+
deleteViewpoint: Z,
|
|
13447
13452
|
highlightViewer: I,
|
|
13448
13453
|
loadComments: C,
|
|
13449
|
-
onCommentDeleted:
|
|
13450
|
-
onCommentUpdated:
|
|
13451
|
-
setCommentViewpoint:
|
|
13452
|
-
submitComment:
|
|
13453
|
-
unhighlightViewer:
|
|
13454
|
+
onCommentDeleted: q,
|
|
13455
|
+
onCommentUpdated: l1,
|
|
13456
|
+
setCommentViewpoint: $,
|
|
13457
|
+
submitComment: U,
|
|
13458
|
+
unhighlightViewer: B
|
|
13454
13459
|
};
|
|
13455
13460
|
}
|
|
13456
13461
|
}, dg = { class: "bcf-topic-comments" }, ug = {
|
|
@@ -13463,7 +13468,7 @@ const cg = {
|
|
|
13463
13468
|
function yg(e, n, o, l, s, i) {
|
|
13464
13469
|
const c = g("BIMDataButton"), u = g("BIMDataTextarea"), d = g("BIMDataIcon"), C = g("BIMDataDropdownList"), L = g("TopicComment"), h = g("BIMDataLoading");
|
|
13465
13470
|
return r(), a("div", dg, [
|
|
13466
|
-
o.uiConfig.commentCreation ? (r(), a(
|
|
13471
|
+
o.uiConfig.commentCreation ? (r(), a(E, { key: 0 }, [
|
|
13467
13472
|
l.isOpen ? (r(), a("div", ug, [
|
|
13468
13473
|
t("p", Cg, b(e.$t("BcfComponents.BcfTopicComments.commentText")), 1),
|
|
13469
13474
|
t("div", pg, [
|
|
@@ -13512,7 +13517,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13512
13517
|
color: "default"
|
|
13513
13518
|
})
|
|
13514
13519
|
])) : M("", !0),
|
|
13515
|
-
l.viewerSelectVisible && l.isViewer ? (r(),
|
|
13520
|
+
l.viewerSelectVisible && l.isViewer ? (r(), k(C, {
|
|
13516
13521
|
key: 1,
|
|
13517
13522
|
list: l.viewerSelectOptions,
|
|
13518
13523
|
elementKey: "key",
|
|
@@ -13520,7 +13525,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13520
13525
|
width: "180px"
|
|
13521
13526
|
}, {
|
|
13522
13527
|
header: f(() => [
|
|
13523
|
-
|
|
13528
|
+
A(b(e.$t("BcfComponents.BcfTopicComments.takeSnapshot")), 1)
|
|
13524
13529
|
]),
|
|
13525
13530
|
element: f(({ element: m }) => [
|
|
13526
13531
|
t("div", {
|
|
@@ -13541,7 +13546,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13541
13546
|
onClick: n[3] || (n[3] = (m) => l.isOpen = !1)
|
|
13542
13547
|
}, {
|
|
13543
13548
|
default: f(() => [
|
|
13544
|
-
|
|
13549
|
+
A(b(e.$t("BcfComponents.BcfTopicComments.cancelButton")), 1)
|
|
13545
13550
|
]),
|
|
13546
13551
|
_: 1
|
|
13547
13552
|
}),
|
|
@@ -13553,14 +13558,14 @@ function yg(e, n, o, l, s, i) {
|
|
|
13553
13558
|
onClick: l.submitComment
|
|
13554
13559
|
}, {
|
|
13555
13560
|
default: f(() => [
|
|
13556
|
-
|
|
13561
|
+
A(b(e.$t("BcfComponents.BcfTopicComments.publishButton")), 1)
|
|
13557
13562
|
]),
|
|
13558
13563
|
_: 1
|
|
13559
13564
|
}, 8, ["onClick"])
|
|
13560
13565
|
])
|
|
13561
13566
|
])
|
|
13562
13567
|
])
|
|
13563
|
-
])) : (r(),
|
|
13568
|
+
])) : (r(), k(c, {
|
|
13564
13569
|
key: 0,
|
|
13565
13570
|
width: "100%",
|
|
13566
13571
|
color: "primary",
|
|
@@ -13569,7 +13574,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13569
13574
|
onClick: n[0] || (n[0] = (m) => l.isOpen = !0)
|
|
13570
13575
|
}, {
|
|
13571
13576
|
default: f(() => [
|
|
13572
|
-
|
|
13577
|
+
A(b(e.$t("BcfComponents.BcfTopicComments.commentButton")), 1)
|
|
13573
13578
|
]),
|
|
13574
13579
|
_: 1
|
|
13575
13580
|
}))
|
|
@@ -13577,7 +13582,7 @@ function yg(e, n, o, l, s, i) {
|
|
|
13577
13582
|
t("div", mg, [
|
|
13578
13583
|
t("p", Mg, b((l.comments ? l.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")), 1),
|
|
13579
13584
|
l.comments && l.comments.length ? (r(), a("div", Ig, [
|
|
13580
|
-
(r(!0), a(
|
|
13585
|
+
(r(!0), a(E, null, W(l.comments, (m) => (r(), k(L, {
|
|
13581
13586
|
key: m.guid,
|
|
13582
13587
|
project: o.project,
|
|
13583
13588
|
topic: o.topic,
|
|
@@ -13589,10 +13594,10 @@ function yg(e, n, o, l, s, i) {
|
|
|
13589
13594
|
}, null, 8, ["project", "topic", "comment", "currentUserEmail", "onCommentUpdated", "onCommentDeleted"]))), 128))
|
|
13590
13595
|
])) : M("", !0)
|
|
13591
13596
|
]),
|
|
13592
|
-
l.loading ? (r(),
|
|
13597
|
+
l.loading ? (r(), k(h, { key: 1 })) : M("", !0)
|
|
13593
13598
|
]);
|
|
13594
13599
|
}
|
|
13595
|
-
const _g = /* @__PURE__ */
|
|
13600
|
+
const _g = /* @__PURE__ */ Y(cg, [["render", yg], ["__scopeId", "data-v-3a4be1cd"]]);
|
|
13596
13601
|
var Hg = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), h2 = { 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() {
|
|
13597
13602
|
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 };
|
|
13598
13603
|
}, style() {
|
|
@@ -14396,17 +14401,17 @@ const Dg = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
14396
14401
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer2DPolychrome.vue" }, cI = [t("path", { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z", class: "fill-primary" }, null, -1), t("path", { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z", class: "fill-primary" }, null, -1), t("path", { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z", class: "fill-secondary" }, null, -1)], dI = { render: function(e, n) {
|
|
14397
14402
|
return r(), a("g", null, cI);
|
|
14398
14403
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
14399
|
-
var
|
|
14400
|
-
const
|
|
14404
|
+
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
|
+
const A5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
14401
14406
|
var b2 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
14402
14407
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
14403
|
-
}(
|
|
14408
|
+
}(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() {
|
|
14404
14409
|
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 };
|
|
14405
14410
|
}, style() {
|
|
14406
14411
|
const e = this.getPixelSize(this.size);
|
|
14407
14412
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
14408
14413
|
} }, methods: { getPixelSize() {
|
|
14409
|
-
return this.customSize ? this.customSize :
|
|
14414
|
+
return this.customSize ? this.customSize : A5[this.size];
|
|
14410
14415
|
} } };
|
|
14411
14416
|
const CI = ["fill", "color"];
|
|
14412
14417
|
G1(`/* base COLORS --------------------------------------------- */
|
|
@@ -14562,7 +14567,7 @@ G1(`.icon-fill--black {
|
|
|
14562
14567
|
.icon-stroke--white {
|
|
14563
14568
|
stroke: var(--color-white);
|
|
14564
14569
|
}`), b2.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: D(i.classes), style: V(i.style) }, [(r(),
|
|
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: D(i.classes), style: V(i.style) }, [(r(), k(f1(`bimdata-icon-${o.name}`)))], 14, CI);
|
|
14566
14571
|
}, b2.__scopeId = "data-v-1312d4d1", b2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
14567
14572
|
var g2 = { components: { BIMDataButton: h2, BIMDataIcon: b2 }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
14568
14573
|
this.distributeItems();
|
|
@@ -14618,13 +14623,13 @@ G1(`.bimdata-carousel[data-v-b82c72c2] {
|
|
|
14618
14623
|
right: calc(0px - var(--button-size) / 2);
|
|
14619
14624
|
}`), g2.render = function(e, n, o, l, s, i) {
|
|
14620
14625
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
14621
|
-
return r(), a("div", pI, [
|
|
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), [[e1, s.index > 0]]), t("div", hI, [t("div", { class: "bimdata-carousel__container__slider", ref: "slider", style: V({ transform: `translateX(-${s.translations[s.index]}px)` }) }, [y(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), [[e1, s.index < s.maxIndex]])]);
|
|
14622
14627
|
}, g2.__scopeId = "data-v-b82c72c2", g2.__file = "src/BIMDataComponents/BIMDataCarousel/BIMDataCarousel.vue";
|
|
14623
14628
|
const bI = {
|
|
14624
14629
|
components: {
|
|
14625
14630
|
BcfTopicDefaultImage: u5,
|
|
14626
14631
|
BIMDataCarousel: g2,
|
|
14627
|
-
BIMDataIcon:
|
|
14632
|
+
BIMDataIcon: Q
|
|
14628
14633
|
},
|
|
14629
14634
|
props: {
|
|
14630
14635
|
detailedExtensions: {
|
|
@@ -14640,18 +14645,18 @@ const bI = {
|
|
|
14640
14645
|
"view-topic-viewpoint"
|
|
14641
14646
|
],
|
|
14642
14647
|
setup(e) {
|
|
14643
|
-
const n =
|
|
14648
|
+
const n = F(
|
|
14644
14649
|
() => (e.topic.viewpoints ?? []).filter((l) => l.snapshot).map((l) => {
|
|
14645
14650
|
var s;
|
|
14646
14651
|
return {
|
|
14647
14652
|
...l,
|
|
14648
|
-
icon: (s =
|
|
14653
|
+
icon: (s = B3(l)) == null ? void 0 : s.icon
|
|
14649
14654
|
};
|
|
14650
14655
|
})
|
|
14651
14656
|
);
|
|
14652
14657
|
return {
|
|
14653
14658
|
// References
|
|
14654
|
-
statusColor:
|
|
14659
|
+
statusColor: F(
|
|
14655
14660
|
() => c5(e.topic, e.detailedExtensions)
|
|
14656
14661
|
),
|
|
14657
14662
|
viewpoints: n,
|
|
@@ -14680,12 +14685,12 @@ function fI(e, n, o, l, s, i) {
|
|
|
14680
14685
|
}),
|
|
14681
14686
|
t("span", null, b(o.topic.topic_status), 1)
|
|
14682
14687
|
], 4)) : M("", !0),
|
|
14683
|
-
l.viewpoints.length > 0 ? (r(),
|
|
14688
|
+
l.viewpoints.length > 0 ? (r(), k(u, {
|
|
14684
14689
|
key: 1,
|
|
14685
14690
|
sliderPadding: 0
|
|
14686
14691
|
}, {
|
|
14687
14692
|
default: f(() => [
|
|
14688
|
-
(r(!0), a(
|
|
14693
|
+
(r(!0), a(E, null, W(l.viewpoints, (C) => (r(), a("div", {
|
|
14689
14694
|
class: "snapshot-preview",
|
|
14690
14695
|
key: C.guid
|
|
14691
14696
|
}, [
|
|
@@ -14694,7 +14699,7 @@ function fI(e, n, o, l, s, i) {
|
|
|
14694
14699
|
src: C.snapshot.snapshot_data,
|
|
14695
14700
|
onClick: (L) => e.$emit("view-topic-viewpoint", C)
|
|
14696
14701
|
}, null, 8, gI)) : M("", !0),
|
|
14697
|
-
C.icon ? (r(),
|
|
14702
|
+
C.icon ? (r(), k(c, {
|
|
14698
14703
|
key: 1,
|
|
14699
14704
|
class: "icon",
|
|
14700
14705
|
name: C.icon,
|
|
@@ -14703,20 +14708,20 @@ function fI(e, n, o, l, s, i) {
|
|
|
14703
14708
|
]))), 128))
|
|
14704
14709
|
]),
|
|
14705
14710
|
_: 1
|
|
14706
|
-
})) : (r(),
|
|
14711
|
+
})) : (r(), k(d, {
|
|
14707
14712
|
key: 2,
|
|
14708
14713
|
class: "default-image"
|
|
14709
14714
|
}))
|
|
14710
14715
|
], 2);
|
|
14711
14716
|
}
|
|
14712
|
-
const LI = /* @__PURE__ */
|
|
14717
|
+
const LI = /* @__PURE__ */ Y(bI, [["render", fI], ["__scopeId", "data-v-0859a8a6"]]);
|
|
14713
14718
|
const vI = {
|
|
14714
14719
|
components: {
|
|
14715
14720
|
BcfTopicComments: _g,
|
|
14716
14721
|
BcfTopicDefaultImage: u5,
|
|
14717
14722
|
BcfTopicViewpoints: LI,
|
|
14718
|
-
BIMDataButton:
|
|
14719
|
-
BIMDataIcon:
|
|
14723
|
+
BIMDataButton: J,
|
|
14724
|
+
BIMDataIcon: Q,
|
|
14720
14725
|
BIMDataLoading: g1,
|
|
14721
14726
|
BIMDataSafeZoneModal: Z1,
|
|
14722
14727
|
BIMDataTextbox: d1
|
|
@@ -14761,11 +14766,11 @@ const vI = {
|
|
|
14761
14766
|
"view-topic-viewpoint"
|
|
14762
14767
|
],
|
|
14763
14768
|
setup(e, { emit: n }) {
|
|
14764
|
-
const o = U1(), l =
|
|
14769
|
+
const o = U1(), l = w(!1), s = w(!1), i = F(() => _1(e.topic, e.detailedExtensions)), c = F(() => {
|
|
14765
14770
|
var h, m, v;
|
|
14766
14771
|
return ((v = (m = (h = e.topic.viewpoints) == null ? void 0 : h[0]) == null ? void 0 : m.components) == null ? void 0 : v.selection) ?? [];
|
|
14767
|
-
}), u =
|
|
14768
|
-
d.value = (await o.fetchCurrentUser()).email;
|
|
14772
|
+
}), u = F(() => Array.from(e.topic.labels ?? []).sort()), d = w(""), C = async () => {
|
|
14773
|
+
d.value = (await o.fetchCurrentUser()).email ?? "";
|
|
14769
14774
|
}, L = async () => {
|
|
14770
14775
|
try {
|
|
14771
14776
|
s.value = !1, l.value = !0, await o.deleteTopic(e.project, e.topic), n("topic-deleted", e.topic);
|
|
@@ -14799,7 +14804,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14799
14804
|
const c = g("BIMDataIcon"), u = g("BIMDataButton"), d = g("BIMDataTextbox"), C = g("BcfTopicViewpoints"), L = g("BcfTopicComments"), h = g("BIMDataSafeZoneModal"), m = g("BIMDataLoading");
|
|
14800
14805
|
return r(), a("div", mI, [
|
|
14801
14806
|
t("div", MI, [
|
|
14802
|
-
o.uiConfig.backButton ? (r(),
|
|
14807
|
+
o.uiConfig.backButton ? (r(), k(u, {
|
|
14803
14808
|
key: 0,
|
|
14804
14809
|
ghost: "",
|
|
14805
14810
|
rounded: "",
|
|
@@ -14823,7 +14828,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14823
14828
|
}, null, 8, ["text"])
|
|
14824
14829
|
]),
|
|
14825
14830
|
t("div", yI, [
|
|
14826
|
-
o.uiConfig.editButton ? (r(),
|
|
14831
|
+
o.uiConfig.editButton ? (r(), k(u, {
|
|
14827
14832
|
key: 0,
|
|
14828
14833
|
ghost: "",
|
|
14829
14834
|
rounded: "",
|
|
@@ -14838,7 +14843,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14838
14843
|
]),
|
|
14839
14844
|
_: 1
|
|
14840
14845
|
})) : M("", !0),
|
|
14841
|
-
o.uiConfig.deleteButton ? (r(),
|
|
14846
|
+
o.uiConfig.deleteButton ? (r(), k(u, {
|
|
14842
14847
|
key: 1,
|
|
14843
14848
|
ghost: "",
|
|
14844
14849
|
rounded: "",
|
|
@@ -14853,7 +14858,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14853
14858
|
]),
|
|
14854
14859
|
_: 1
|
|
14855
14860
|
})) : M("", !0),
|
|
14856
|
-
o.uiConfig.closeButton ? (r(),
|
|
14861
|
+
o.uiConfig.closeButton ? (r(), k(u, {
|
|
14857
14862
|
key: 2,
|
|
14858
14863
|
ghost: "",
|
|
14859
14864
|
rounded: "",
|
|
@@ -14888,7 +14893,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14888
14893
|
topic: o.topic,
|
|
14889
14894
|
onViewTopicViewpoint: n[4] || (n[4] = (v) => e.$emit("view-topic-viewpoint", v))
|
|
14890
14895
|
}, null, 8, ["detailedExtensions", "topic"]),
|
|
14891
|
-
o.uiConfig.viewerMode ? (r(),
|
|
14896
|
+
o.uiConfig.viewerMode ? (r(), k(u, {
|
|
14892
14897
|
key: 0,
|
|
14893
14898
|
width: "100%",
|
|
14894
14899
|
fill: "",
|
|
@@ -14902,14 +14907,14 @@ function oy(e, n, o, l, s, i) {
|
|
|
14902
14907
|
size: "xs",
|
|
14903
14908
|
margin: "0 6px 0 0"
|
|
14904
14909
|
}),
|
|
14905
|
-
l.topicObjects.length > 0 ? (r(), a(
|
|
14906
|
-
|
|
14907
|
-
], 64)) : (r(), a(
|
|
14908
|
-
|
|
14910
|
+
l.topicObjects.length > 0 ? (r(), a(E, { key: 0 }, [
|
|
14911
|
+
A(b(e.$t("BcfComponents.BcfTopicOverview.elements", { count: l.topicObjects.length })), 1)
|
|
14912
|
+
], 64)) : (r(), a(E, { key: 1 }, [
|
|
14913
|
+
A(b(e.$t("BcfComponents.BcfTopicOverview.noElements")), 1)
|
|
14909
14914
|
], 64))
|
|
14910
14915
|
]),
|
|
14911
14916
|
_: 1
|
|
14912
|
-
}, 8, ["disabled"])) : (r(),
|
|
14917
|
+
}, 8, ["disabled"])) : (r(), k(u, {
|
|
14913
14918
|
key: 1,
|
|
14914
14919
|
width: "100%",
|
|
14915
14920
|
color: "primary",
|
|
@@ -14918,7 +14923,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
14918
14923
|
onClick: n[6] || (n[6] = (v) => e.$emit("view-topic", o.topic))
|
|
14919
14924
|
}, {
|
|
14920
14925
|
default: f(() => [
|
|
14921
|
-
|
|
14926
|
+
A(b(e.$t("BcfComponents.BcfTopicOverview.openViewer")), 1)
|
|
14922
14927
|
]),
|
|
14923
14928
|
_: 1
|
|
14924
14929
|
})),
|
|
@@ -14977,25 +14982,22 @@ function oy(e, n, o, l, s, i) {
|
|
|
14977
14982
|
])
|
|
14978
14983
|
]),
|
|
14979
14984
|
p(L, {
|
|
14985
|
+
uiConfig: o.uiConfig,
|
|
14980
14986
|
project: o.project,
|
|
14981
14987
|
topic: o.topic,
|
|
14982
|
-
uiConfig: o.uiConfig,
|
|
14983
14988
|
currentUserEmail: l.currentUserEmail,
|
|
14984
|
-
onCommentCreated: n[7] || (n[7] = (v) => e.$emit(
|
|
14985
|
-
"comment-created",
|
|
14986
|
-
v
|
|
14987
|
-
)),
|
|
14989
|
+
onCommentCreated: n[7] || (n[7] = (v) => e.$emit("comment-created", v)),
|
|
14988
14990
|
onCommentUpdated: n[8] || (n[8] = (v) => e.$emit("comment-updated", v)),
|
|
14989
14991
|
onCommentDeleted: n[9] || (n[9] = (v) => e.$emit("comment-deleted", v)),
|
|
14990
14992
|
onViewCommentSnapshot: n[10] || (n[10] = (v) => e.$emit("view-comment-snapshot", v))
|
|
14991
|
-
}, null, 8, ["
|
|
14993
|
+
}, null, 8, ["uiConfig", "project", "topic", "currentUserEmail"])
|
|
14992
14994
|
]),
|
|
14993
|
-
l.showDeleteModal ? (r(),
|
|
14995
|
+
l.showDeleteModal ? (r(), k(h, {
|
|
14994
14996
|
key: 0,
|
|
14995
14997
|
class: "delete-modal"
|
|
14996
14998
|
}, {
|
|
14997
14999
|
text: f(() => [
|
|
14998
|
-
|
|
15000
|
+
A(b(e.$t("BcfComponents.BcfTopicOverview.deleteText", { name: o.topic.title })), 1)
|
|
14999
15001
|
]),
|
|
15000
15002
|
actions: f(() => [
|
|
15001
15003
|
p(u, {
|
|
@@ -15006,7 +15008,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
15006
15008
|
onClick: l.deleteTopic
|
|
15007
15009
|
}, {
|
|
15008
15010
|
default: f(() => [
|
|
15009
|
-
|
|
15011
|
+
A(b(e.$t("BcfComponents.BcfTopicOverview.deleteBcfButton")), 1)
|
|
15010
15012
|
]),
|
|
15011
15013
|
_: 1
|
|
15012
15014
|
}, 8, ["onClick"]),
|
|
@@ -15017,7 +15019,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
15017
15019
|
onClick: n[11] || (n[11] = (v) => l.showDeleteModal = !1)
|
|
15018
15020
|
}, {
|
|
15019
15021
|
default: f(() => [
|
|
15020
|
-
|
|
15022
|
+
A(b(e.$t("BcfComponents.BcfTopicOverview.keepBcfButton")), 1)
|
|
15021
15023
|
]),
|
|
15022
15024
|
_: 1
|
|
15023
15025
|
})
|
|
@@ -15029,7 +15031,7 @@ function oy(e, n, o, l, s, i) {
|
|
|
15029
15031
|
])) : M("", !0)
|
|
15030
15032
|
]);
|
|
15031
15033
|
}
|
|
15032
|
-
const ay = /* @__PURE__ */
|
|
15034
|
+
const ay = /* @__PURE__ */ Y(vI, [["render", oy], ["__scopeId", "data-v-2ab6fce5"]]), T5 = [
|
|
15033
15035
|
{
|
|
15034
15036
|
id: "index",
|
|
15035
15037
|
label: "#",
|
|
@@ -15073,7 +15075,7 @@ var ly = Object.freeze(["default", "primary", "secondary", "high", "success", "g
|
|
|
15073
15075
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
15074
15076
|
} } };
|
|
15075
15077
|
const iy = ["color"];
|
|
15076
|
-
function
|
|
15078
|
+
function n1(e, n) {
|
|
15077
15079
|
n === void 0 && (n = {});
|
|
15078
15080
|
var o = n.insertAt;
|
|
15079
15081
|
if (e && typeof document < "u") {
|
|
@@ -15081,7 +15083,7 @@ function e1(e, n) {
|
|
|
15081
15083
|
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));
|
|
15082
15084
|
}
|
|
15083
15085
|
}
|
|
15084
|
-
|
|
15086
|
+
n1(`/* base COLORS --------------------------------------------- */
|
|
15085
15087
|
/* colors BRAND */
|
|
15086
15088
|
/* colors GREY SHADES - NEUTRAL */
|
|
15087
15089
|
/* color TEXT */
|
|
@@ -15239,7 +15241,7 @@ html[data-v-3f903003] {
|
|
|
15239
15241
|
.primary-font[data-v-3f903003] {
|
|
15240
15242
|
font-family: "roboto", sans-serif;
|
|
15241
15243
|
}`);
|
|
15242
|
-
|
|
15244
|
+
n1(`.bimdata-btn {
|
|
15243
15245
|
padding: 0 var(--spacing-unit);
|
|
15244
15246
|
height: -webkit-fit-content;
|
|
15245
15247
|
height: -moz-fit-content;
|
|
@@ -15555,7 +15557,7 @@ var L2 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue
|
|
|
15555
15557
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
15556
15558
|
} } };
|
|
15557
15559
|
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" };
|
|
15558
|
-
|
|
15560
|
+
n1(`/* base COLORS --------------------------------------------- */
|
|
15559
15561
|
/* colors BRAND */
|
|
15560
15562
|
/* colors GREY SHADES - NEUTRAL */
|
|
15561
15563
|
/* color TEXT */
|
|
@@ -15713,7 +15715,7 @@ html[data-v-34d34265] {
|
|
|
15713
15715
|
.primary-font[data-v-34d34265] {
|
|
15714
15716
|
font-family: "roboto", sans-serif;
|
|
15715
15717
|
}`);
|
|
15716
|
-
|
|
15718
|
+
n1(`.bimdata-checkbox {
|
|
15717
15719
|
position: relative;
|
|
15718
15720
|
display: -webkit-box;
|
|
15719
15721
|
display: -ms-flexbox;
|
|
@@ -15801,23 +15803,23 @@ e1(`.bimdata-checkbox {
|
|
|
15801
15803
|
.bimdata-checkbox.checked.disabled > .bimdata-checkbox__mark {
|
|
15802
15804
|
background-color: var(--color-silver-dark);
|
|
15803
15805
|
}`), L2.render = function(e, n, o, l, s, i) {
|
|
15804
|
-
return r(), a("div", R1({ 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, [y(e.$slots, "default", {}, () => [
|
|
15806
|
+
return r(), a("div", R1({ 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, [y(e.$slots, "default", {}, () => [A(b(o.text), 1)])])) : M("v-if", !0)], 16);
|
|
15805
15807
|
}, L2.__scopeId = "data-v-34d34265", L2.__file = "src/BIMDataComponents/BIMDataCheckbox/BIMDataCheckbox.vue";
|
|
15806
15808
|
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) {
|
|
15807
15809
|
return r(), a("path", dy);
|
|
15808
15810
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Chevron.vue" };
|
|
15809
15811
|
var Cy = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
15810
|
-
const
|
|
15811
|
-
var D2 = (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(
|
|
15812
|
+
const $5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
15813
|
+
var D2 = (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() {
|
|
15812
15814
|
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 };
|
|
15813
15815
|
}, style() {
|
|
15814
15816
|
const o = this.getPixelSize(this.size);
|
|
15815
15817
|
return { width: `${o}px`, minWidth: `${o}px`, height: `${o}px`, minHeight: `${o}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
15816
15818
|
} }, methods: { getPixelSize() {
|
|
15817
|
-
return this.customSize ? this.customSize :
|
|
15819
|
+
return this.customSize ? this.customSize : $5[this.size];
|
|
15818
15820
|
} } }), v2 = D2("Chevron", uy);
|
|
15819
15821
|
const py = ["fill", "color"];
|
|
15820
|
-
|
|
15822
|
+
n1(`/* base COLORS --------------------------------------------- */
|
|
15821
15823
|
/* colors BRAND */
|
|
15822
15824
|
/* colors GREY SHADES - NEUTRAL */
|
|
15823
15825
|
/* color TEXT */
|
|
@@ -15886,7 +15888,7 @@ html[data-v-5e440aca] {
|
|
|
15886
15888
|
/* base FONTS -------------------------------------- */
|
|
15887
15889
|
--primary-font: "roboto", sans-serif;
|
|
15888
15890
|
}`);
|
|
15889
|
-
|
|
15891
|
+
n1(`.icon-fill--black {
|
|
15890
15892
|
fill: var(--color-black);
|
|
15891
15893
|
}
|
|
15892
15894
|
.icon-fill--default {
|
|
@@ -15978,7 +15980,7 @@ const hy = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.05119 2.4710
|
|
|
15978
15980
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/DoubleChevron.vue" };
|
|
15979
15981
|
var $2 = D2("DoubleChevron", by);
|
|
15980
15982
|
const gy = ["fill", "color"];
|
|
15981
|
-
|
|
15983
|
+
n1(`/* base COLORS --------------------------------------------- */
|
|
15982
15984
|
/* colors BRAND */
|
|
15983
15985
|
/* colors GREY SHADES - NEUTRAL */
|
|
15984
15986
|
/* color TEXT */
|
|
@@ -16047,7 +16049,7 @@ html[data-v-859297ec] {
|
|
|
16047
16049
|
/* base FONTS -------------------------------------- */
|
|
16048
16050
|
--primary-font: "roboto", sans-serif;
|
|
16049
16051
|
}`);
|
|
16050
|
-
|
|
16052
|
+
n1(`.icon-fill--black {
|
|
16051
16053
|
fill: var(--color-black);
|
|
16052
16054
|
}
|
|
16053
16055
|
.icon-fill--default {
|
|
@@ -16139,7 +16141,7 @@ const fy = { d: "M23 2.31643L20.6836 0L11.5 9.18357L2.31643 0L0 2.31643L9.18357
|
|
|
16139
16141
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Close.vue" };
|
|
16140
16142
|
var N2 = D2("Close", Ly);
|
|
16141
16143
|
const vy = ["fill", "color"];
|
|
16142
|
-
|
|
16144
|
+
n1(`/* base COLORS --------------------------------------------- */
|
|
16143
16145
|
/* colors BRAND */
|
|
16144
16146
|
/* colors GREY SHADES - NEUTRAL */
|
|
16145
16147
|
/* color TEXT */
|
|
@@ -16208,7 +16210,7 @@ html[data-v-797f55d8] {
|
|
|
16208
16210
|
/* base FONTS -------------------------------------- */
|
|
16209
16211
|
--primary-font: "roboto", sans-serif;
|
|
16210
16212
|
}`);
|
|
16211
|
-
|
|
16213
|
+
n1(`.icon-fill--black {
|
|
16212
16214
|
fill: var(--color-black);
|
|
16213
16215
|
}
|
|
16214
16216
|
.icon-fill--default {
|
|
@@ -16300,7 +16302,7 @@ const my = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.54777 14.465
|
|
|
16300
16302
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Search.vue" };
|
|
16301
16303
|
var R2 = D2("Search", My);
|
|
16302
16304
|
const Iy = ["fill", "color"];
|
|
16303
|
-
|
|
16305
|
+
n1(`/* base COLORS --------------------------------------------- */
|
|
16304
16306
|
/* colors BRAND */
|
|
16305
16307
|
/* colors GREY SHADES - NEUTRAL */
|
|
16306
16308
|
/* color TEXT */
|
|
@@ -16369,7 +16371,7 @@ html[data-v-0993abf8] {
|
|
|
16369
16371
|
/* base FONTS -------------------------------------- */
|
|
16370
16372
|
--primary-font: "roboto", sans-serif;
|
|
16371
16373
|
}`);
|
|
16372
|
-
|
|
16374
|
+
n1(`.icon-fill--black {
|
|
16373
16375
|
fill: var(--color-black);
|
|
16374
16376
|
}
|
|
16375
16377
|
.icon-fill--default {
|
|
@@ -16457,42 +16459,42 @@ e1(`.icon-fill--black {
|
|
|
16457
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: D(e.classes), style: V(e.style) }, [p(c)], 14, Iy);
|
|
16458
16460
|
}, R2.__scopeId = "data-v-0993abf8", R2.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
|
|
16459
16461
|
var m2 = { components: { BIMDataButton: f2, BIMDataCheckbox: L2, BIMDataIconChevron: v2 }, 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 }) {
|
|
16460
|
-
const o =
|
|
16462
|
+
const o = F(() => e.rows.map((h, m) => ({ key: h[e.rowKey] ?? m, data: h }))), { rowSelection: l, toggleRowSelection: s, toggleFullSelection: i } = function(h, m, { rowSelectionUpdateEffect: v = () => {
|
|
16461
16463
|
}, rowSelectionToggleEffect: I = () => {
|
|
16462
|
-
}, fullSelectionToggleEffect:
|
|
16464
|
+
}, fullSelectionToggleEffect: B = () => {
|
|
16463
16465
|
} } = {}) {
|
|
16464
|
-
const
|
|
16465
|
-
return
|
|
16466
|
-
|
|
16467
|
-
}, { immediate: !0 }),
|
|
16468
|
-
|
|
16469
|
-
}, { immediate: !0 }),
|
|
16470
|
-
v(
|
|
16471
|
-
}), { rowSelection:
|
|
16472
|
-
const
|
|
16473
|
-
|
|
16466
|
+
const $ = w(/* @__PURE__ */ new Map());
|
|
16467
|
+
return c1(h, () => {
|
|
16468
|
+
$.value = new Map(h.value.filter(({ key: T }) => m.value.has(T)).map(({ key: T, data: Z }) => [T, Z]));
|
|
16469
|
+
}, { immediate: !0 }), c1(m, () => {
|
|
16470
|
+
$.value = m.value;
|
|
16471
|
+
}, { immediate: !0 }), c1($, () => {
|
|
16472
|
+
v($.value);
|
|
16473
|
+
}), { rowSelection: $, toggleRowSelection: ({ key: T, data: Z }) => {
|
|
16474
|
+
const U = () => $.value.has(T);
|
|
16475
|
+
U() ? $.value.delete(T) : $.value.set(T, Z), $.value = new Map([...$.value.entries()]), I(U(), { key: T, data: Z });
|
|
16474
16476
|
}, toggleFullSelection: () => {
|
|
16475
|
-
const
|
|
16476
|
-
|
|
16477
|
+
const T = () => $.value.size === h.value.length;
|
|
16478
|
+
T() ? $.value = /* @__PURE__ */ new Map() : $.value = new Map(h.value.map(({ key: Z, data: U }) => [Z, U])), B(T());
|
|
16477
16479
|
} };
|
|
16478
|
-
}(o,
|
|
16480
|
+
}(o, F(() => e.selection), { rowSelectionUpdateEffect: (h) => {
|
|
16479
16481
|
n("update:selection", h), n("selection-changed", Array.from(h.values()));
|
|
16480
16482
|
}, rowSelectionToggleEffect: (h, { data: m }) => {
|
|
16481
16483
|
n(h ? "row-selected" : "row-deselected", m);
|
|
16482
16484
|
}, fullSelectionToggleEffect: (h) => {
|
|
16483
16485
|
n(h ? "all-selected" : "all-deselected");
|
|
16484
|
-
} }), c =
|
|
16485
|
-
|
|
16486
|
+
} }), c = w([]), u = w(0), d = w(1), C = w(e.perPage);
|
|
16487
|
+
c1([o, () => e.perPage], () => {
|
|
16486
16488
|
u.value = 0;
|
|
16487
|
-
}, { immediate: !0 }),
|
|
16488
|
-
const
|
|
16489
|
+
}, { immediate: !0 }), c1([o, () => e.paginated, () => e.perPage, u], ([h, m, v, I]) => {
|
|
16490
|
+
const B = h.map(($) => $.key);
|
|
16489
16491
|
if (m) {
|
|
16490
|
-
const
|
|
16491
|
-
c.value =
|
|
16492
|
+
const $ = v * I, T = $ + v;
|
|
16493
|
+
c.value = B.slice($, T), d.value = $ + 1, C.value = Math.min(T, h.length);
|
|
16492
16494
|
} else
|
|
16493
|
-
c.value =
|
|
16495
|
+
c.value = B;
|
|
16494
16496
|
}, { immediate: !0 });
|
|
16495
|
-
const L =
|
|
16497
|
+
const L = w(null);
|
|
16496
16498
|
return { computedRows: o, displayedRows: c, pageIndex: u, pageIndexEnd: C, pageIndexStart: d, rowSelection: l, dragOveredRowKey: L, onDrop: (h, m) => {
|
|
16497
16499
|
e.canDragOverRow(h) && (n("row-drop", { data: h, event: m }), L.value = null);
|
|
16498
16500
|
}, onDragover: (h, m, v) => {
|
|
@@ -16506,7 +16508,7 @@ var m2 = { components: { BIMDataButton: f2, BIMDataCheckbox: L2, BIMDataIconChev
|
|
|
16506
16508
|
} };
|
|
16507
16509
|
} };
|
|
16508
16510
|
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" };
|
|
16509
|
-
|
|
16511
|
+
n1(`/* base COLORS --------------------------------------------- */
|
|
16510
16512
|
/* colors BRAND */
|
|
16511
16513
|
/* colors GREY SHADES - NEUTRAL */
|
|
16512
16514
|
/* color TEXT */
|
|
@@ -16643,11 +16645,11 @@ html[data-v-a29e0786] {
|
|
|
16643
16645
|
margin: 0 var(--spacing-unit);
|
|
16644
16646
|
}`), m2.render = function(e, n, o, l, s, i) {
|
|
16645
16647
|
const c = g("BIMDataCheckbox"), u = g("BIMDataIconChevron"), d = g("BIMDataButton");
|
|
16646
|
-
return r(), a("div", yy, [t("div", { class: "bimdata-table__container", style: V({ height: o.paginated ? (o.perPage + 1) * o.rowHeight + "px" : void 0 }) }, [t("table", { style: V({ width: o.tableWidth, tableLayout: o.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: V({ 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(
|
|
16648
|
+
return r(), a("div", yy, [t("div", { class: "bimdata-table__container", style: V({ height: o.paginated ? (o.perPage + 1) * o.rowHeight + "px" : void 0 }) }, [t("table", { style: V({ width: o.tableWidth, tableLayout: o.tableLayout }) }, [t("thead", null, [t("tr", { key: "head-row-0", style: V({ 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(E, null, W(o.columns, (C, L) => (r(), a("th", { key: `head-row-0-col-${L}`, style: V({ 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 }, [y(e.$slots, "sub-header")], 8, Vy)])]), t("tbody", { onDragleave: n[0] || (n[0] = (...C) => l.onDragleave && l.onDragleave(...C)) }, [(r(!0), a(E, null, W(l.computedRows, ({ key: C, data: L }) => j((r(), a("tr", { key: `body-row-${C}`, style: V({ height: `${o.rowHeight}px` }), onDrop: (h) => l.onDrop(L, h), onDragover: (h) => l.onDragover(C, L, h), class: D({ "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(E, null, W(o.columns, (h, m) => (r(), a("td", { key: `body-row-${C}-col-${m}`, style: V({ width: h.width || "auto", textAlign: h.align || "left" }) }, [y(e.$slots, `cell-${h.id}`, { row: L }, () => [A(b(L[h.id] || L[m]), 1)])], 4))), 128))], 46, Dy)), [[e1, l.displayedRows.includes(C)]])), 128))], 32)], 4), o.rows.length === 0 ? (r(), a("div", { key: 0, class: "bimdata-table__container__placeholder", style: V({ height: `calc(100% - ${o.rowHeight}px)` }) }, [y(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: V({ 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)]);
|
|
16647
16649
|
}, m2.__scopeId = "data-v-a29e0786", m2.__file = "src/BIMDataComponents/BIMDataTable/BIMDataTable.vue";
|
|
16648
16650
|
const wy = {
|
|
16649
16651
|
components: {
|
|
16650
|
-
BIMDataButton:
|
|
16652
|
+
BIMDataButton: J
|
|
16651
16653
|
},
|
|
16652
16654
|
props: {
|
|
16653
16655
|
topic: {
|
|
@@ -16679,7 +16681,7 @@ function Zy(e, n, o, l, s, i) {
|
|
|
16679
16681
|
})
|
|
16680
16682
|
]);
|
|
16681
16683
|
}
|
|
16682
|
-
const Sy = /* @__PURE__ */
|
|
16684
|
+
const Sy = /* @__PURE__ */ Y(wy, [["render", Zy], ["__scopeId", "data-v-ddc03e0d"]]);
|
|
16683
16685
|
const Ay = {
|
|
16684
16686
|
props: {
|
|
16685
16687
|
detailedExtensions: {
|
|
@@ -16694,7 +16696,7 @@ const Ay = {
|
|
|
16694
16696
|
setup(e) {
|
|
16695
16697
|
return {
|
|
16696
16698
|
// References
|
|
16697
|
-
priorityColor:
|
|
16699
|
+
priorityColor: F(
|
|
16698
16700
|
() => _1(e.topic, e.detailedExtensions)
|
|
16699
16701
|
)
|
|
16700
16702
|
};
|
|
@@ -16709,7 +16711,7 @@ function Ny(e, n, o, l, s, i) {
|
|
|
16709
16711
|
t("span", $y, b(o.topic.index), 1)
|
|
16710
16712
|
]);
|
|
16711
16713
|
}
|
|
16712
|
-
const Ry = /* @__PURE__ */
|
|
16714
|
+
const Ry = /* @__PURE__ */ Y(Ay, [["render", Ny], ["__scopeId", "data-v-2afda176"]]);
|
|
16713
16715
|
const Oy = {
|
|
16714
16716
|
props: {
|
|
16715
16717
|
detailedExtensions: {
|
|
@@ -16724,7 +16726,7 @@ const Oy = {
|
|
|
16724
16726
|
setup(e) {
|
|
16725
16727
|
return {
|
|
16726
16728
|
// References
|
|
16727
|
-
priorityColor:
|
|
16729
|
+
priorityColor: F(
|
|
16728
16730
|
() => _1(e.topic, e.detailedExtensions)
|
|
16729
16731
|
)
|
|
16730
16732
|
};
|
|
@@ -16736,7 +16738,7 @@ function Ey(e, n, o, l, s, i) {
|
|
|
16736
16738
|
style: V({ color: `#${l.priorityColor}` })
|
|
16737
16739
|
}, b(o.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
|
|
16738
16740
|
}
|
|
16739
|
-
const Fy = /* @__PURE__ */
|
|
16741
|
+
const Fy = /* @__PURE__ */ Y(Oy, [["render", Ey], ["__scopeId", "data-v-1d15fcf6"]]);
|
|
16740
16742
|
const Py = {
|
|
16741
16743
|
props: {
|
|
16742
16744
|
detailedExtensions: {
|
|
@@ -16751,7 +16753,7 @@ const Py = {
|
|
|
16751
16753
|
setup(e) {
|
|
16752
16754
|
return {
|
|
16753
16755
|
// References
|
|
16754
|
-
statusColor:
|
|
16756
|
+
statusColor: F(
|
|
16755
16757
|
() => c5(e.topic, e.detailedExtensions)
|
|
16756
16758
|
),
|
|
16757
16759
|
// Methods
|
|
@@ -16768,7 +16770,7 @@ function Uy(e, n, o, l, s, i) {
|
|
|
16768
16770
|
})
|
|
16769
16771
|
}, b(o.topic.topic_status), 5);
|
|
16770
16772
|
}
|
|
16771
|
-
const zy = /* @__PURE__ */
|
|
16773
|
+
const zy = /* @__PURE__ */ Y(Py, [["render", Uy], ["__scopeId", "data-v-c2a5faf4"]]), Gy = {
|
|
16772
16774
|
components: {
|
|
16773
16775
|
BcfTopicActionsCell: Sy,
|
|
16774
16776
|
BcfTopicIndexCell: Ry,
|
|
@@ -16777,7 +16779,7 @@ const zy = /* @__PURE__ */ G(Py, [["render", Uy], ["__scopeId", "data-v-c2a5faf4
|
|
|
16777
16779
|
BIMDataTable: m2,
|
|
16778
16780
|
BIMDataTextbox: d1,
|
|
16779
16781
|
BIMDataTooltip: S1,
|
|
16780
|
-
UserAvatar:
|
|
16782
|
+
UserAvatar: n3
|
|
16781
16783
|
},
|
|
16782
16784
|
props: {
|
|
16783
16785
|
detailedExtensions: {
|
|
@@ -16815,8 +16817,8 @@ const zy = /* @__PURE__ */ G(Py, [["render", Uy], ["__scopeId", "data-v-c2a5faf4
|
|
|
16815
16817
|
setup(e) {
|
|
16816
16818
|
return {
|
|
16817
16819
|
// References
|
|
16818
|
-
displayedColumns:
|
|
16819
|
-
() => e.columns && e.columns.length > 0 ?
|
|
16820
|
+
displayedColumns: F(
|
|
16821
|
+
() => e.columns && e.columns.length > 0 ? T5.filter((l) => e.columns.includes(l.id)) : T5
|
|
16820
16822
|
),
|
|
16821
16823
|
// Methods
|
|
16822
16824
|
toShortDateFormat: (l) => {
|
|
@@ -16830,7 +16832,7 @@ const zy = /* @__PURE__ */ G(Py, [["render", Uy], ["__scopeId", "data-v-c2a5faf4
|
|
|
16830
16832
|
};
|
|
16831
16833
|
function Yy(e, n, o, l, s, i) {
|
|
16832
16834
|
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");
|
|
16833
|
-
return r(),
|
|
16835
|
+
return r(), k(v, {
|
|
16834
16836
|
class: "bcf-topics-table",
|
|
16835
16837
|
tableLayout: "fixed",
|
|
16836
16838
|
columns: l.displayedColumns.map((I) => ({
|
|
@@ -16859,7 +16861,7 @@ function Yy(e, n, o, l, s, i) {
|
|
|
16859
16861
|
}, null, 8, ["detailedExtensions", "topic"])
|
|
16860
16862
|
]),
|
|
16861
16863
|
"cell-status": f(({ row: I }) => [
|
|
16862
|
-
I.topic_status ? (r(),
|
|
16864
|
+
I.topic_status ? (r(), k(d, {
|
|
16863
16865
|
key: 0,
|
|
16864
16866
|
detailedExtensions: o.detailedExtensions,
|
|
16865
16867
|
topic: I
|
|
@@ -16871,8 +16873,8 @@ function Yy(e, n, o, l, s, i) {
|
|
|
16871
16873
|
text: I.title
|
|
16872
16874
|
}, null, 8, ["text"])
|
|
16873
16875
|
]),
|
|
16874
|
-
"cell-creator": f(({ row: { creator: I, creation_author:
|
|
16875
|
-
p(h, { text:
|
|
16876
|
+
"cell-creator": f(({ row: { creator: I, creation_author: B } }) => [
|
|
16877
|
+
p(h, { text: B }, {
|
|
16876
16878
|
default: f(() => [
|
|
16877
16879
|
p(L, {
|
|
16878
16880
|
user: I || {},
|
|
@@ -16885,24 +16887,24 @@ function Yy(e, n, o, l, s, i) {
|
|
|
16885
16887
|
}, 1032, ["text"])
|
|
16886
16888
|
]),
|
|
16887
16889
|
"cell-date": f(({ row: I }) => [
|
|
16888
|
-
|
|
16890
|
+
A(b(l.toShortDateFormat(I.creation_date)), 1)
|
|
16889
16891
|
]),
|
|
16890
16892
|
"cell-actions": f(({ row: I }) => [
|
|
16891
16893
|
p(m, {
|
|
16892
16894
|
topic: I,
|
|
16893
|
-
onOpenTopic: n[0] || (n[0] = (
|
|
16895
|
+
onOpenTopic: n[0] || (n[0] = (B) => e.$emit("open-topic", B))
|
|
16894
16896
|
}, null, 8, ["topic"])
|
|
16895
16897
|
]),
|
|
16896
16898
|
_: 1
|
|
16897
16899
|
}, 8, ["columns", "rows", "paginated", "perPage", "selectable", "selection"]);
|
|
16898
16900
|
}
|
|
16899
|
-
const Xy = /* @__PURE__ */
|
|
16901
|
+
const Xy = /* @__PURE__ */ Y(Gy, [["render", Yy]]), o_ = {
|
|
16900
16902
|
BcfFilters: te,
|
|
16901
16903
|
BcfSettings: Re,
|
|
16902
16904
|
BcfStatistics: Dn,
|
|
16903
16905
|
BcfTopicCard: Xn,
|
|
16904
16906
|
BcfTopicCreationCard: ot,
|
|
16905
|
-
BcfTopicForm:
|
|
16907
|
+
BcfTopicForm: ub,
|
|
16906
16908
|
BcfTopicOverview: ay,
|
|
16907
16909
|
BcfTopicsTable: Xy
|
|
16908
16910
|
};
|
|
@@ -16912,7 +16914,7 @@ export {
|
|
|
16912
16914
|
Dn as BcfStatistics,
|
|
16913
16915
|
Xn as BcfTopicCard,
|
|
16914
16916
|
ot as BcfTopicCreationCard,
|
|
16915
|
-
|
|
16917
|
+
ub as BcfTopicForm,
|
|
16916
16918
|
ay as BcfTopicOverview,
|
|
16917
16919
|
Xy as BcfTopicsTable,
|
|
16918
16920
|
o_ as components,
|
|
@@ -16920,11 +16922,11 @@ export {
|
|
|
16920
16922
|
Ky as createService,
|
|
16921
16923
|
_1 as getPriorityColor,
|
|
16922
16924
|
c5 as getStatusColor,
|
|
16923
|
-
|
|
16925
|
+
B3 as getViewpointConfig,
|
|
16924
16926
|
e_ as getViewpointModels,
|
|
16925
|
-
|
|
16927
|
+
D3 as getViewpointType,
|
|
16926
16928
|
qy as setService,
|
|
16927
|
-
|
|
16929
|
+
H3 as useBcfFilter,
|
|
16928
16930
|
Jy as useBcfSearch,
|
|
16929
16931
|
Qy as useBcfSort,
|
|
16930
16932
|
U1 as useService
|