@bimdata/bcf-components 4.1.0-rc.1 → 4.1.0-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 +1098 -1016
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +3186 -3116
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as
|
|
3
|
-
const
|
|
2
|
+
import { reactive as je, computed as w, ref as L, watch as P, toRaw as u2, inject as n1, onMounted as xe, onBeforeUnmount as Ze } from "vue";
|
|
3
|
+
const we = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
6
6
|
"Stage",
|
|
7
7
|
"Status",
|
|
8
8
|
"Label"
|
|
9
|
-
]),
|
|
9
|
+
]), ke = Object.freeze([
|
|
10
10
|
"Priority",
|
|
11
11
|
"Status"
|
|
12
|
-
]),
|
|
12
|
+
]), $e = 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
|
+
}), Fe = 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
|
-
}),
|
|
24
|
+
}), t2 = "D8D8D8", De = "D8D8D8", d1 = "originating_system", s1 = "authoring_tool_id", X = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
26
|
PTC: "pointCloud",
|
|
27
27
|
V2D: "ifc2d",
|
|
28
28
|
DWG: "dwg",
|
|
29
29
|
PLAN: "plan"
|
|
30
|
-
}),
|
|
30
|
+
}), c1 = Object.freeze({
|
|
31
31
|
[X.V3D]: {
|
|
32
32
|
order: 1,
|
|
33
33
|
window: "3d",
|
|
@@ -57,19 +57,19 @@ const Ve = Object.freeze([
|
|
|
57
57
|
plugin: "plan",
|
|
58
58
|
icon: "filePlanPolychrome"
|
|
59
59
|
}
|
|
60
|
-
}),
|
|
60
|
+
}), B0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61
61
|
__proto__: null,
|
|
62
|
-
DEFAULT_PRIORITY_COLOR:
|
|
63
|
-
DEFAULT_STATUS_COLOR:
|
|
64
|
-
EXTENSION_FIELDS:
|
|
65
|
-
EXTENSION_LIST_FIELDS:
|
|
66
|
-
EXTENSION_TYPES:
|
|
67
|
-
EXTENSION_WITH_COLOR:
|
|
68
|
-
VIEWPOINT_CONFIG:
|
|
69
|
-
VIEWPOINT_MODELS_FIELD:
|
|
62
|
+
DEFAULT_PRIORITY_COLOR: t2,
|
|
63
|
+
DEFAULT_STATUS_COLOR: De,
|
|
64
|
+
EXTENSION_FIELDS: $e,
|
|
65
|
+
EXTENSION_LIST_FIELDS: Fe,
|
|
66
|
+
EXTENSION_TYPES: we,
|
|
67
|
+
EXTENSION_WITH_COLOR: ke,
|
|
68
|
+
VIEWPOINT_CONFIG: c1,
|
|
69
|
+
VIEWPOINT_MODELS_FIELD: s1,
|
|
70
70
|
VIEWPOINT_TYPES: X,
|
|
71
|
-
VIEWPOINT_TYPE_FIELD:
|
|
72
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
71
|
+
VIEWPOINT_TYPE_FIELD: d1
|
|
72
|
+
}, Symbol.toStringTag, { value: "Module" })), Ue = Object.freeze({
|
|
73
73
|
bisque: "ffe4c4",
|
|
74
74
|
orange: "ffa500",
|
|
75
75
|
coral: "ff7f50",
|
|
@@ -100,53 +100,53 @@ const Ve = Object.freeze([
|
|
|
100
100
|
darkgray: "a9a9a9",
|
|
101
101
|
grey: "7a7a7a",
|
|
102
102
|
black: "000000"
|
|
103
|
-
}),
|
|
103
|
+
}), qe = [
|
|
104
104
|
"bisque",
|
|
105
105
|
"khaki",
|
|
106
106
|
"greenyellow",
|
|
107
107
|
"lightcyan",
|
|
108
108
|
"mistyrose",
|
|
109
109
|
"whitesmoke"
|
|
110
|
-
],
|
|
111
|
-
([e]) => !
|
|
110
|
+
], f2 = Object.entries(Ue).filter(
|
|
111
|
+
([e]) => !qe.includes(e)
|
|
112
112
|
);
|
|
113
|
-
function
|
|
114
|
-
const e = Math.floor(Math.random() *
|
|
115
|
-
return
|
|
113
|
+
function Ye() {
|
|
114
|
+
const e = Math.floor(Math.random() * f2.length);
|
|
115
|
+
return f2[e][1];
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function x1(e, r, t) {
|
|
118
118
|
const i = e.charAt(0) === "#" ? e.substring(1, 7) : e, n = parseInt(i.substring(0, 2), 16), d = parseInt(i.substring(2, 4), 16), a = parseInt(i.substring(4, 6), 16);
|
|
119
119
|
return n * 0.299 + d * 0.587 + a * 0.114 > 186 ? t : r;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function We(e, r) {
|
|
122
122
|
return "#" + e.replace(/^#/, "").replace(
|
|
123
123
|
/../g,
|
|
124
124
|
(t) => ("0" + Math.min(255, Math.max(0, parseInt(t, 16) + r)).toString(16)).slice(-2)
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Xe(e) {
|
|
128
128
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var C1 = {}, Ke = {
|
|
131
131
|
get exports() {
|
|
132
|
-
return
|
|
132
|
+
return C1;
|
|
133
133
|
},
|
|
134
134
|
set exports(e) {
|
|
135
|
-
|
|
135
|
+
C1 = e;
|
|
136
136
|
}
|
|
137
|
-
},
|
|
137
|
+
}, h1 = {}, Je = {
|
|
138
138
|
get exports() {
|
|
139
|
-
return
|
|
139
|
+
return h1;
|
|
140
140
|
},
|
|
141
141
|
set exports(e) {
|
|
142
|
-
|
|
142
|
+
h1 = e;
|
|
143
143
|
}
|
|
144
|
-
},
|
|
144
|
+
}, v1 = {}, Ge = {
|
|
145
145
|
get exports() {
|
|
146
|
-
return
|
|
146
|
+
return v1;
|
|
147
147
|
},
|
|
148
148
|
set exports(e) {
|
|
149
|
-
|
|
149
|
+
v1 = e;
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
(function(e, r) {
|
|
@@ -163,20 +163,20 @@ var d1 = {}, We = {
|
|
|
163
163
|
return Object.assign(n, i), n;
|
|
164
164
|
}
|
|
165
165
|
e.exports = r.default;
|
|
166
|
-
})(
|
|
167
|
-
var
|
|
166
|
+
})(Ge, v1);
|
|
167
|
+
var p1 = {}, Qe = {
|
|
168
168
|
get exports() {
|
|
169
|
-
return
|
|
169
|
+
return p1;
|
|
170
170
|
},
|
|
171
171
|
set exports(e) {
|
|
172
|
-
|
|
172
|
+
p1 = e;
|
|
173
173
|
}
|
|
174
|
-
},
|
|
174
|
+
}, g1 = {}, e5 = {
|
|
175
175
|
get exports() {
|
|
176
|
-
return
|
|
176
|
+
return g1;
|
|
177
177
|
},
|
|
178
178
|
set exports(e) {
|
|
179
|
-
|
|
179
|
+
g1 = e;
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
182
|
(function(e, r) {
|
|
@@ -187,13 +187,13 @@ var u1 = {}, Je = {
|
|
|
187
187
|
return i && typeof i.length == "number" && i.length >= 0 && i.length % 1 === 0;
|
|
188
188
|
}
|
|
189
189
|
e.exports = r.default;
|
|
190
|
-
})(
|
|
191
|
-
var
|
|
190
|
+
})(e5, g1);
|
|
191
|
+
var b1 = {}, t5 = {
|
|
192
192
|
get exports() {
|
|
193
|
-
return
|
|
193
|
+
return b1;
|
|
194
194
|
},
|
|
195
195
|
set exports(e) {
|
|
196
|
-
|
|
196
|
+
b1 = e;
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
199
|
(function(e, r) {
|
|
@@ -202,12 +202,12 @@ var C1 = {}, Qe = {
|
|
|
202
202
|
}), r.default = function(t) {
|
|
203
203
|
return t[Symbol.iterator] && t[Symbol.iterator]();
|
|
204
204
|
}, e.exports = r.default;
|
|
205
|
-
})(
|
|
205
|
+
})(t5, b1);
|
|
206
206
|
(function(e, r) {
|
|
207
207
|
Object.defineProperty(r, "__esModule", {
|
|
208
208
|
value: !0
|
|
209
209
|
}), r.default = o;
|
|
210
|
-
var t =
|
|
210
|
+
var t = g1, i = a(t), n = b1, d = a(n);
|
|
211
211
|
function a(c) {
|
|
212
212
|
return c && c.__esModule ? c : { default: c };
|
|
213
213
|
}
|
|
@@ -227,8 +227,8 @@ var C1 = {}, Qe = {
|
|
|
227
227
|
function C(c) {
|
|
228
228
|
var l = c ? Object.keys(c) : [], b = -1, g = l.length;
|
|
229
229
|
return function m() {
|
|
230
|
-
var
|
|
231
|
-
return
|
|
230
|
+
var H = l[++b];
|
|
231
|
+
return H === "__proto__" ? m() : b < g ? { value: c[H], key: H } : null;
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
234
|
function o(c) {
|
|
@@ -238,13 +238,13 @@ var C1 = {}, Qe = {
|
|
|
238
238
|
return l ? u(l) : C(c);
|
|
239
239
|
}
|
|
240
240
|
e.exports = r.default;
|
|
241
|
-
})(
|
|
242
|
-
var
|
|
241
|
+
})(Qe, p1);
|
|
242
|
+
var m1 = {}, r5 = {
|
|
243
243
|
get exports() {
|
|
244
|
-
return
|
|
244
|
+
return m1;
|
|
245
245
|
},
|
|
246
246
|
set exports(e) {
|
|
247
|
-
|
|
247
|
+
m1 = e;
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
250
|
(function(e, r) {
|
|
@@ -260,20 +260,20 @@ var h1 = {}, e5 = {
|
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
262
|
e.exports = r.default;
|
|
263
|
-
})(
|
|
264
|
-
var z = {},
|
|
263
|
+
})(r5, m1);
|
|
264
|
+
var z = {}, a1 = {}, i5 = {
|
|
265
265
|
get exports() {
|
|
266
|
-
return
|
|
266
|
+
return a1;
|
|
267
267
|
},
|
|
268
268
|
set exports(e) {
|
|
269
|
-
|
|
269
|
+
a1 = e;
|
|
270
270
|
}
|
|
271
|
-
},
|
|
271
|
+
}, _1 = {}, a5 = {
|
|
272
272
|
get exports() {
|
|
273
|
-
return
|
|
273
|
+
return _1;
|
|
274
274
|
},
|
|
275
275
|
set exports(e) {
|
|
276
|
-
|
|
276
|
+
_1 = e;
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
(function(e, r) {
|
|
@@ -285,30 +285,30 @@ var z = {}, r1 = {}, t5 = {
|
|
|
285
285
|
return t.call(this, i, n);
|
|
286
286
|
};
|
|
287
287
|
}, e.exports = r.default;
|
|
288
|
-
})(
|
|
288
|
+
})(a5, _1);
|
|
289
289
|
var q = {};
|
|
290
290
|
Object.defineProperty(q, "__esModule", {
|
|
291
291
|
value: !0
|
|
292
292
|
});
|
|
293
|
-
q.fallback =
|
|
294
|
-
q.wrap =
|
|
295
|
-
var
|
|
296
|
-
function
|
|
293
|
+
q.fallback = Ee;
|
|
294
|
+
q.wrap = Be;
|
|
295
|
+
var n5 = q.hasQueueMicrotask = typeof queueMicrotask == "function" && queueMicrotask, o5 = q.hasSetImmediate = typeof setImmediate == "function" && setImmediate, l5 = q.hasNextTick = typeof process == "object" && typeof process.nextTick == "function";
|
|
296
|
+
function Ee(e) {
|
|
297
297
|
setTimeout(e, 0);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function Be(e) {
|
|
300
300
|
return (r, ...t) => e(() => r(...t));
|
|
301
301
|
}
|
|
302
|
-
var
|
|
303
|
-
|
|
304
|
-
q.default =
|
|
305
|
-
var
|
|
306
|
-
function
|
|
307
|
-
return
|
|
302
|
+
var r1;
|
|
303
|
+
n5 ? r1 = queueMicrotask : o5 ? r1 = setImmediate : l5 ? r1 = process.nextTick : r1 = Ee;
|
|
304
|
+
q.default = Be(r1);
|
|
305
|
+
var C2;
|
|
306
|
+
function d5() {
|
|
307
|
+
return C2 || (C2 = 1, function(e, r) {
|
|
308
308
|
Object.defineProperty(r, "__esModule", {
|
|
309
309
|
value: !0
|
|
310
310
|
}), r.default = u;
|
|
311
|
-
var t =
|
|
311
|
+
var t = _1, i = s(t), n = q, d = s(n), a = r2();
|
|
312
312
|
function s(c) {
|
|
313
313
|
return c && c.__esModule ? c : { default: c };
|
|
314
314
|
}
|
|
@@ -345,16 +345,16 @@ function o5() {
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
e.exports = r.default;
|
|
348
|
-
}(
|
|
348
|
+
}(i5, a1)), a1;
|
|
349
349
|
}
|
|
350
|
-
var
|
|
351
|
-
function
|
|
352
|
-
if (
|
|
350
|
+
var h2;
|
|
351
|
+
function r2() {
|
|
352
|
+
if (h2)
|
|
353
353
|
return z;
|
|
354
|
-
|
|
354
|
+
h2 = 1, Object.defineProperty(z, "__esModule", {
|
|
355
355
|
value: !0
|
|
356
356
|
}), z.isAsyncIterable = z.isAsyncGenerator = z.isAsync = void 0;
|
|
357
|
-
var e =
|
|
357
|
+
var e = d5(), r = t(e);
|
|
358
358
|
function t(s) {
|
|
359
359
|
return s && s.__esModule ? s : { default: s };
|
|
360
360
|
}
|
|
@@ -374,19 +374,19 @@ function e2() {
|
|
|
374
374
|
}
|
|
375
375
|
return z.default = a, z.isAsync = i, z.isAsyncGenerator = n, z.isAsyncIterable = d, z;
|
|
376
376
|
}
|
|
377
|
-
var
|
|
377
|
+
var L1 = {}, s5 = {
|
|
378
378
|
get exports() {
|
|
379
|
-
return
|
|
379
|
+
return L1;
|
|
380
380
|
},
|
|
381
381
|
set exports(e) {
|
|
382
|
-
|
|
382
|
+
L1 = e;
|
|
383
383
|
}
|
|
384
|
-
},
|
|
384
|
+
}, o1 = {}, c5 = {
|
|
385
385
|
get exports() {
|
|
386
|
-
return
|
|
386
|
+
return o1;
|
|
387
387
|
},
|
|
388
388
|
set exports(e) {
|
|
389
|
-
|
|
389
|
+
o1 = e;
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
392
|
(function(e, r) {
|
|
@@ -395,98 +395,98 @@ var p1 = {}, l5 = {
|
|
|
395
395
|
});
|
|
396
396
|
const t = {};
|
|
397
397
|
r.default = t, e.exports = r.default;
|
|
398
|
-
})(
|
|
398
|
+
})(c5, o1);
|
|
399
399
|
(function(e, r) {
|
|
400
400
|
Object.defineProperty(r, "__esModule", {
|
|
401
401
|
value: !0
|
|
402
402
|
}), r.default = d;
|
|
403
|
-
var t =
|
|
403
|
+
var t = o1, i = n(t);
|
|
404
404
|
function n(a) {
|
|
405
405
|
return a && a.__esModule ? a : { default: a };
|
|
406
406
|
}
|
|
407
407
|
function d(a, s, u, C) {
|
|
408
408
|
let o = !1, c = !1, l = !1, b = 0, g = 0;
|
|
409
409
|
function m() {
|
|
410
|
-
b >= s || l || o || (l = !0, a.next().then(({ value:
|
|
410
|
+
b >= s || l || o || (l = !0, a.next().then(({ value: E, done: B }) => {
|
|
411
411
|
if (!(c || o)) {
|
|
412
|
-
if (l = !1,
|
|
412
|
+
if (l = !1, B) {
|
|
413
413
|
o = !0, b <= 0 && C(null);
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
416
|
-
b++, u(
|
|
416
|
+
b++, u(E, g, H), g++, m();
|
|
417
417
|
}
|
|
418
|
-
}).catch(
|
|
418
|
+
}).catch(x));
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function H(E, B) {
|
|
421
421
|
if (b -= 1, !c) {
|
|
422
|
-
if (
|
|
423
|
-
return
|
|
424
|
-
if (
|
|
422
|
+
if (E)
|
|
423
|
+
return x(E);
|
|
424
|
+
if (E === !1) {
|
|
425
425
|
o = !0, c = !0;
|
|
426
426
|
return;
|
|
427
427
|
}
|
|
428
|
-
if (
|
|
428
|
+
if (B === i.default || o && b <= 0)
|
|
429
429
|
return o = !0, C(null);
|
|
430
430
|
m();
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
c || (l = !1, o = !0, C(
|
|
433
|
+
function x(E) {
|
|
434
|
+
c || (l = !1, o = !0, C(E));
|
|
435
435
|
}
|
|
436
436
|
m();
|
|
437
437
|
}
|
|
438
438
|
e.exports = r.default;
|
|
439
|
-
})(
|
|
439
|
+
})(s5, L1);
|
|
440
440
|
(function(e, r) {
|
|
441
441
|
Object.defineProperty(r, "__esModule", {
|
|
442
442
|
value: !0
|
|
443
443
|
});
|
|
444
|
-
var t =
|
|
444
|
+
var t = v1, i = b(t), n = p1, d = b(n), a = m1, s = b(a), u = r2(), C = L1, o = b(C), c = o1, l = b(c);
|
|
445
445
|
function b(g) {
|
|
446
446
|
return g && g.__esModule ? g : { default: g };
|
|
447
447
|
}
|
|
448
|
-
r.default = (g) => (m,
|
|
449
|
-
if (
|
|
448
|
+
r.default = (g) => (m, H, x) => {
|
|
449
|
+
if (x = (0, i.default)(x), g <= 0)
|
|
450
450
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
451
451
|
if (!m)
|
|
452
|
-
return
|
|
452
|
+
return x(null);
|
|
453
453
|
if ((0, u.isAsyncGenerator)(m))
|
|
454
|
-
return (0, o.default)(m, g,
|
|
454
|
+
return (0, o.default)(m, g, H, x);
|
|
455
455
|
if ((0, u.isAsyncIterable)(m))
|
|
456
|
-
return (0, o.default)(m[Symbol.asyncIterator](), g,
|
|
457
|
-
var
|
|
458
|
-
function V(
|
|
459
|
-
if (!
|
|
460
|
-
if (
|
|
461
|
-
|
|
462
|
-
else if (
|
|
463
|
-
|
|
456
|
+
return (0, o.default)(m[Symbol.asyncIterator](), g, H, x);
|
|
457
|
+
var E = (0, d.default)(m), B = !1, O = !1, I = 0, _ = !1;
|
|
458
|
+
function V(Z, M) {
|
|
459
|
+
if (!O)
|
|
460
|
+
if (I -= 1, Z)
|
|
461
|
+
B = !0, x(Z);
|
|
462
|
+
else if (Z === !1)
|
|
463
|
+
B = !0, O = !0;
|
|
464
464
|
else {
|
|
465
|
-
if (M === l.default ||
|
|
466
|
-
return
|
|
467
|
-
_ ||
|
|
465
|
+
if (M === l.default || B && I <= 0)
|
|
466
|
+
return B = !0, x(null);
|
|
467
|
+
_ || y();
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
471
|
-
for (_ = !0;
|
|
472
|
-
var
|
|
473
|
-
if (
|
|
474
|
-
|
|
470
|
+
function y() {
|
|
471
|
+
for (_ = !0; I < g && !B; ) {
|
|
472
|
+
var Z = E();
|
|
473
|
+
if (Z === null) {
|
|
474
|
+
B = !0, I <= 0 && x(null);
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
|
-
|
|
477
|
+
I += 1, H(Z.value, Z.key, (0, s.default)(V));
|
|
478
478
|
}
|
|
479
479
|
_ = !1;
|
|
480
480
|
}
|
|
481
|
-
|
|
481
|
+
y();
|
|
482
482
|
}, e.exports = r.default;
|
|
483
|
-
})(
|
|
484
|
-
var
|
|
483
|
+
})(Je, h1);
|
|
484
|
+
var y1 = {}, u5 = {
|
|
485
485
|
get exports() {
|
|
486
|
-
return
|
|
486
|
+
return y1;
|
|
487
487
|
},
|
|
488
488
|
set exports(e) {
|
|
489
|
-
|
|
489
|
+
y1 = e;
|
|
490
490
|
}
|
|
491
491
|
};
|
|
492
492
|
(function(e, r) {
|
|
@@ -497,13 +497,13 @@ var g1 = {}, s5 = {
|
|
|
497
497
|
return (n, d, a) => i(n, a);
|
|
498
498
|
}
|
|
499
499
|
e.exports = r.default;
|
|
500
|
-
})(
|
|
501
|
-
var
|
|
500
|
+
})(u5, y1);
|
|
501
|
+
var H1 = {}, f5 = {
|
|
502
502
|
get exports() {
|
|
503
|
-
return
|
|
503
|
+
return H1;
|
|
504
504
|
},
|
|
505
505
|
set exports(e) {
|
|
506
|
-
|
|
506
|
+
H1 = e;
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
509
|
(function(e, r) {
|
|
@@ -525,12 +525,12 @@ var b1 = {}, c5 = {
|
|
|
525
525
|
return d;
|
|
526
526
|
}
|
|
527
527
|
e.exports = r.default;
|
|
528
|
-
})(
|
|
528
|
+
})(f5, H1);
|
|
529
529
|
(function(e, r) {
|
|
530
530
|
Object.defineProperty(r, "__esModule", {
|
|
531
531
|
value: !0
|
|
532
532
|
});
|
|
533
|
-
var t =
|
|
533
|
+
var t = h1, i = o(t), n = y1, d = o(n), a = r2(), s = o(a), u = H1, C = o(u);
|
|
534
534
|
function o(l) {
|
|
535
535
|
return l && l.__esModule ? l : { default: l };
|
|
536
536
|
}
|
|
@@ -538,36 +538,36 @@ var b1 = {}, c5 = {
|
|
|
538
538
|
return (0, i.default)(b)(l, (0, d.default)((0, s.default)(g)), m);
|
|
539
539
|
}
|
|
540
540
|
r.default = (0, C.default)(c, 4), e.exports = r.default;
|
|
541
|
-
})(
|
|
542
|
-
const
|
|
541
|
+
})(Ke, C1);
|
|
542
|
+
const C5 = /* @__PURE__ */ Xe(C1);
|
|
543
543
|
function K(e) {
|
|
544
|
-
return
|
|
544
|
+
return $e[e];
|
|
545
545
|
}
|
|
546
|
-
function
|
|
547
|
-
return r[
|
|
546
|
+
function Re(e, r) {
|
|
547
|
+
return r[Fe[e]].slice();
|
|
548
548
|
}
|
|
549
549
|
function G(e, r) {
|
|
550
550
|
const t = r.priorities.find(
|
|
551
551
|
(i) => i.priority === e.priority
|
|
552
552
|
);
|
|
553
|
-
return (t == null ? void 0 : t.color) ||
|
|
553
|
+
return (t == null ? void 0 : t.color) || t2;
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function i2(e, r) {
|
|
556
556
|
const t = r.topic_statuses.find(
|
|
557
557
|
(i) => i.topic_status === e.topic_status
|
|
558
558
|
);
|
|
559
|
-
return (t == null ? void 0 : t.color) ||
|
|
559
|
+
return (t == null ? void 0 : t.color) || De;
|
|
560
560
|
}
|
|
561
|
-
let
|
|
562
|
-
function
|
|
563
|
-
const t = r ? (_) => r(_) : (_) => e.collaborationApi.getProjectUsers(_.cloud.id, _.id), i = async (_, { extensions: V, users:
|
|
564
|
-
const
|
|
565
|
-
return F.sort((R,
|
|
566
|
-
R.color = G(R,
|
|
561
|
+
let Ie = null;
|
|
562
|
+
function R0(e, { fetchUsers: r }) {
|
|
563
|
+
const t = r ? (_) => r(_) : (_) => e.collaborationApi.getProjectUsers(_.cloud.id, _.id), i = async (_, { extensions: V, users: y } = {}) => {
|
|
564
|
+
const Z = V ?? await e.bcfApi.getDetailedExtensions(_.id), M = y ?? await t(_), F = await e.bcfApi.getTopics(_.id);
|
|
565
|
+
return F.sort((R, k) => k.index - R.index), F.forEach((R) => {
|
|
566
|
+
R.color = G(R, Z), R.creator = M.find((k) => k.email === R.creation_author);
|
|
567
567
|
}), F;
|
|
568
568
|
}, n = async (_, V) => {
|
|
569
|
-
const
|
|
570
|
-
return
|
|
569
|
+
const y = await e.bcfApi.getDetailedExtensions(_.id), Z = await e.bcfApi.getFullTopic(V, _.id, "url");
|
|
570
|
+
return Z.color = G(Z, y), Z;
|
|
571
571
|
}, d = async (_, V) => await e.bcfApi.createFullTopic(
|
|
572
572
|
_.id,
|
|
573
573
|
V
|
|
@@ -581,8 +581,8 @@ function E0(e, { fetchUsers: r }) {
|
|
|
581
581
|
V.guid,
|
|
582
582
|
_.id
|
|
583
583
|
);
|
|
584
|
-
}, u = async (_, V) => (await
|
|
585
|
-
|
|
584
|
+
}, u = async (_, V) => (await C5(V, 10, async (y) => {
|
|
585
|
+
y.viewpoints = await C(_, y);
|
|
586
586
|
}), V), C = async (_, V) => await e.bcfApi.getTopicViewpoints(
|
|
587
587
|
_.id,
|
|
588
588
|
V.guid,
|
|
@@ -596,80 +596,80 @@ function E0(e, { fetchUsers: r }) {
|
|
|
596
596
|
deleteTopic: s,
|
|
597
597
|
loadTopicsViewpoints: u,
|
|
598
598
|
fetchTopicViewpoints: C,
|
|
599
|
-
fetchTopicCommentViewpoint: async (_, V,
|
|
600
|
-
|
|
599
|
+
fetchTopicCommentViewpoint: async (_, V, y) => await e.bcfApi.getViewpoint(
|
|
600
|
+
y.viewpoint_guid,
|
|
601
601
|
_.id,
|
|
602
602
|
V.guid
|
|
603
603
|
),
|
|
604
|
-
createViewpoint: async (_, V,
|
|
604
|
+
createViewpoint: async (_, V, y) => await e.bcfApi.createViewpoint(
|
|
605
605
|
_.id,
|
|
606
606
|
V.guid,
|
|
607
607
|
"url",
|
|
608
|
-
|
|
608
|
+
y
|
|
609
609
|
),
|
|
610
|
-
deleteViewpoint: async (_, V,
|
|
610
|
+
deleteViewpoint: async (_, V, y) => {
|
|
611
611
|
await e.bcfApi.deleteViewpoint(
|
|
612
|
-
|
|
612
|
+
y.guid,
|
|
613
613
|
_.id,
|
|
614
614
|
V.guid
|
|
615
615
|
);
|
|
616
616
|
},
|
|
617
617
|
fetchTopicComments: async (_, V) => {
|
|
618
|
-
const
|
|
619
|
-
return
|
|
620
|
-
M.user =
|
|
621
|
-
}),
|
|
618
|
+
const y = await t(_), Z = await e.bcfApi.getComments(_.id, V.guid);
|
|
619
|
+
return Z.sort((M, F) => M.date > F.date ? -1 : 1), Z.forEach((M) => {
|
|
620
|
+
M.user = y.find((F) => F.email === M.author);
|
|
621
|
+
}), Z;
|
|
622
622
|
},
|
|
623
|
-
createComment: async (_, V,
|
|
623
|
+
createComment: async (_, V, y) => await e.bcfApi.createComment(
|
|
624
624
|
_.id,
|
|
625
625
|
V.guid,
|
|
626
|
-
|
|
626
|
+
y
|
|
627
627
|
),
|
|
628
|
-
updateComment: async (_, V,
|
|
629
|
-
|
|
628
|
+
updateComment: async (_, V, y, Z) => await e.bcfApi.updateComment(
|
|
629
|
+
y.guid,
|
|
630
630
|
_.id,
|
|
631
631
|
V.guid,
|
|
632
|
-
|
|
632
|
+
Z
|
|
633
633
|
),
|
|
634
|
-
deleteComment: async (_, V,
|
|
634
|
+
deleteComment: async (_, V, y) => {
|
|
635
635
|
await e.bcfApi.deleteComment(
|
|
636
|
-
|
|
636
|
+
y.guid,
|
|
637
637
|
_.id,
|
|
638
638
|
V.guid
|
|
639
639
|
);
|
|
640
640
|
},
|
|
641
641
|
fetchExtensions: (_) => e.bcfApi.getExtensions(_.id),
|
|
642
642
|
fetchDetailedExtensions: (_) => e.bcfApi.getDetailedExtensions(_.id),
|
|
643
|
-
createExtension: async (_, V,
|
|
643
|
+
createExtension: async (_, V, y) => await e.bcfApi[`createExtension${V}`](
|
|
644
644
|
_.id,
|
|
645
645
|
{
|
|
646
|
-
[K(V)]:
|
|
647
|
-
color:
|
|
646
|
+
[K(V)]: y.value,
|
|
647
|
+
color: Ye()
|
|
648
648
|
}
|
|
649
649
|
),
|
|
650
|
-
updateExtension: async (_, V,
|
|
651
|
-
|
|
650
|
+
updateExtension: async (_, V, y, Z) => await e.bcfApi[`updateExtension${V}`](
|
|
651
|
+
y.id,
|
|
652
652
|
_.id,
|
|
653
653
|
{
|
|
654
|
-
[K(V)]:
|
|
655
|
-
color:
|
|
654
|
+
[K(V)]: Z.value,
|
|
655
|
+
color: Z.color
|
|
656
656
|
}
|
|
657
657
|
),
|
|
658
|
-
deleteExtension: async (_, V,
|
|
658
|
+
deleteExtension: async (_, V, y) => {
|
|
659
659
|
await e.bcfApi[`deleteExtension${V}`](
|
|
660
|
-
|
|
660
|
+
y.id,
|
|
661
661
|
_.id
|
|
662
662
|
);
|
|
663
663
|
}
|
|
664
664
|
};
|
|
665
665
|
}
|
|
666
|
-
function
|
|
667
|
-
|
|
666
|
+
function I0(e) {
|
|
667
|
+
Ie = e;
|
|
668
668
|
}
|
|
669
|
-
function
|
|
670
|
-
return
|
|
669
|
+
function u1() {
|
|
670
|
+
return Ie;
|
|
671
671
|
}
|
|
672
|
-
const
|
|
672
|
+
const v2 = {
|
|
673
673
|
priorities: [],
|
|
674
674
|
statuses: [],
|
|
675
675
|
users: [],
|
|
@@ -678,8 +678,8 @@ const f2 = {
|
|
|
678
678
|
startDate: null,
|
|
679
679
|
endDate: null
|
|
680
680
|
};
|
|
681
|
-
function
|
|
682
|
-
const r =
|
|
681
|
+
function h5(e) {
|
|
682
|
+
const r = je({ ...v2 }), t = w(() => {
|
|
683
683
|
let d = e.value;
|
|
684
684
|
return r.priorities.length > 0 && (d = d.filter((a) => r.priorities.includes(a.priority))), r.statuses.length > 0 && (d = d.filter((a) => r.statuses.includes(a.topic_status))), r.users.length > 0 && (d = d.filter((a) => r.users.includes(a.assigned_to))), r.creators.length > 0 && (d = d.filter((a) => r.creators.includes(a.creation_author))), r.labels.length > 0 && (d = d.filter((a) => r.labels.some((s) => a.labels.includes(s)))), r.startDate && r.endDate && (d = d.filter((a) => a.creation_date >= r.startDate && a.creation_date <= r.endDate)), d;
|
|
685
685
|
});
|
|
@@ -687,7 +687,7 @@ function f5(e) {
|
|
|
687
687
|
Object.assign(r, d);
|
|
688
688
|
}
|
|
689
689
|
function n() {
|
|
690
|
-
i(
|
|
690
|
+
i(v2);
|
|
691
691
|
}
|
|
692
692
|
return {
|
|
693
693
|
filters: r,
|
|
@@ -696,7 +696,7 @@ function f5(e) {
|
|
|
696
696
|
reset: n
|
|
697
697
|
};
|
|
698
698
|
}
|
|
699
|
-
const
|
|
699
|
+
const v5 = [
|
|
700
700
|
"title",
|
|
701
701
|
"topic_type",
|
|
702
702
|
"priority",
|
|
@@ -707,7 +707,7 @@ const C5 = [
|
|
|
707
707
|
"assigned_to",
|
|
708
708
|
"description"
|
|
709
709
|
];
|
|
710
|
-
function
|
|
710
|
+
function S0(e) {
|
|
711
711
|
const r = L(""), t = L([]);
|
|
712
712
|
return P(
|
|
713
713
|
[e, r],
|
|
@@ -715,7 +715,7 @@ function R0(e) {
|
|
|
715
715
|
if (r.value) {
|
|
716
716
|
const i = r.value.toLowerCase();
|
|
717
717
|
t.value = e.value.filter(
|
|
718
|
-
(n) =>
|
|
718
|
+
(n) => v5.some(
|
|
719
719
|
(d) => (n[d] || "").toLowerCase().includes(i)
|
|
720
720
|
)
|
|
721
721
|
);
|
|
@@ -728,7 +728,7 @@ function R0(e) {
|
|
|
728
728
|
filteredTopics: t
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function $1(e, r = (t) => t) {
|
|
732
732
|
const t = L(e), i = (a = "asc") => {
|
|
733
733
|
const s = t.value.slice().sort((u, C) => r(u) < r(C) ? -1 : 1);
|
|
734
734
|
a === "desc" && s.reverse(), t.value = s;
|
|
@@ -740,8 +740,8 @@ function w1(e, r = (t) => t) {
|
|
|
740
740
|
}
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
const { sortToggle: r, sortOrder: t } =
|
|
743
|
+
function T0(e) {
|
|
744
|
+
const { sortToggle: r, sortOrder: t } = $1(e, (c) => c.index), { sortToggle: i, sortOrder: n } = $1(e, (c) => c.title), { sortToggle: d, sortOrder: a } = $1(e, (c) => c.creation_date), s = L("");
|
|
745
745
|
return {
|
|
746
746
|
sortedBy: s,
|
|
747
747
|
sortByIndex: () => {
|
|
@@ -758,22 +758,22 @@ function I0(e) {
|
|
|
758
758
|
sortOrderDate: a
|
|
759
759
|
};
|
|
760
760
|
}
|
|
761
|
-
function
|
|
762
|
-
return e[
|
|
761
|
+
function p5(e) {
|
|
762
|
+
return e[d1];
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function O0(e) {
|
|
765
765
|
var r;
|
|
766
|
-
return ((r = e[
|
|
766
|
+
return ((r = e[s1]) == null ? void 0 : r.split(",").map(Number)) ?? [];
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
768
|
+
function g5(e) {
|
|
769
|
+
return c1[p5(e)];
|
|
770
770
|
}
|
|
771
|
-
var
|
|
771
|
+
var b5 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), m5 = { 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) => b5.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
772
772
|
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 };
|
|
773
773
|
}, style() {
|
|
774
774
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
775
775
|
} } };
|
|
776
|
-
function
|
|
776
|
+
function _5(e, r, t, i, n, d, a, s, u, C) {
|
|
777
777
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
778
778
|
const o = typeof t == "function" ? t.options : t;
|
|
779
779
|
let c;
|
|
@@ -795,16 +795,16 @@ function b5(e, r, t, i, n, d, a, s, u, C) {
|
|
|
795
795
|
}
|
|
796
796
|
return t;
|
|
797
797
|
}
|
|
798
|
-
const
|
|
799
|
-
function
|
|
798
|
+
const L5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
799
|
+
function y5(e) {
|
|
800
800
|
return (r, t) => function(i, n) {
|
|
801
|
-
const d =
|
|
801
|
+
const d = L5 ? n.media || "default" : i, a = p2[d] || (p2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
802
802
|
if (!a.ids.has(i)) {
|
|
803
803
|
a.ids.add(i);
|
|
804
804
|
let s = n.source;
|
|
805
805
|
if (n.map && (s += `
|
|
806
806
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
807
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
807
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), F1 === void 0 && (F1 = document.head || document.getElementsByTagName("head")[0]), F1.appendChild(a.element)), "styleSheet" in a.element)
|
|
808
808
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
809
809
|
`);
|
|
810
810
|
else {
|
|
@@ -814,15 +814,15 @@ function _5(e) {
|
|
|
814
814
|
}
|
|
815
815
|
}(r, t);
|
|
816
816
|
}
|
|
817
|
-
let
|
|
818
|
-
const
|
|
817
|
+
let F1;
|
|
818
|
+
const p2 = {}, S = _5({ render: function() {
|
|
819
819
|
var e = this, r = e.$createElement;
|
|
820
820
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
821
821
|
return e.$emit("click", t);
|
|
822
822
|
} } }, [e._t("default")], 2);
|
|
823
823
|
}, staticRenderFns: [] }, function(e) {
|
|
824
824
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
825
|
-
},
|
|
825
|
+
}, m5, "data-v-7af18892", !1, void 0, !1, y5, void 0, void 0);
|
|
826
826
|
function p(e, r, t, i, n, d, a, s, u, C) {
|
|
827
827
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
828
828
|
const o = typeof t == "function" ? t.options : t;
|
|
@@ -845,7 +845,7 @@ function p(e, r, t, i, n, d, a, s, u, C) {
|
|
|
845
845
|
}
|
|
846
846
|
return t;
|
|
847
847
|
}
|
|
848
|
-
var
|
|
848
|
+
var g2 = { addFile: p({ render: function() {
|
|
849
849
|
var e = this.$createElement;
|
|
850
850
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
851
851
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: p({ render: function() {
|
|
@@ -1309,28 +1309,28 @@ var h2 = { addFile: p({ render: function() {
|
|
|
1309
1309
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), viewer3dPolychrome: p({ render: function() {
|
|
1310
1310
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1311
1311
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
1312
|
-
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) },
|
|
1313
|
-
const
|
|
1314
|
-
var
|
|
1312
|
+
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, H5 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1313
|
+
const b2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1314
|
+
var V5 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
1315
1315
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
1316
|
-
}(
|
|
1316
|
+
}(g2) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(g2).includes(e) }, color: { type: String, default: "default", validator: (e) => H5.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(b2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
1317
1317
|
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 };
|
|
1318
1318
|
}, style() {
|
|
1319
1319
|
const e = this.getPixelSize(this.size);
|
|
1320
1320
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
1321
1321
|
} }, methods: { getPixelSize() {
|
|
1322
|
-
return this.customSize ? this.customSize :
|
|
1322
|
+
return this.customSize ? this.customSize : b2[this.size];
|
|
1323
1323
|
} } };
|
|
1324
|
-
const
|
|
1325
|
-
function
|
|
1324
|
+
const M5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1325
|
+
function x5(e) {
|
|
1326
1326
|
return (r, t) => function(i, n) {
|
|
1327
|
-
const d =
|
|
1327
|
+
const d = M5 ? n.media || "default" : i, a = m2[d] || (m2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1328
1328
|
if (!a.ids.has(i)) {
|
|
1329
1329
|
a.ids.add(i);
|
|
1330
1330
|
let s = n.source;
|
|
1331
1331
|
if (n.map && (s += `
|
|
1332
1332
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1333
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1333
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), D1 === void 0 && (D1 = document.head || document.getElementsByTagName("head")[0]), D1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1334
1334
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1335
1335
|
`);
|
|
1336
1336
|
else {
|
|
@@ -1340,18 +1340,18 @@ function V5(e) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}(r, t);
|
|
1342
1342
|
}
|
|
1343
|
-
let
|
|
1344
|
-
const
|
|
1343
|
+
let D1;
|
|
1344
|
+
const m2 = {}, T = p({ render: function() {
|
|
1345
1345
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1346
1346
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
1347
1347
|
}, staticRenderFns: [] }, function(e) {
|
|
1348
1348
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
1349
|
-
},
|
|
1350
|
-
let
|
|
1351
|
-
var
|
|
1349
|
+
}, V5, "data-v-198621a2", !1, void 0, !1, x5, void 0, void 0);
|
|
1350
|
+
let _2 = 0;
|
|
1351
|
+
var Z5 = { 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() {
|
|
1352
1352
|
return { margin: `${this.margin}` };
|
|
1353
1353
|
} }, beforeCreate() {
|
|
1354
|
-
this.uuid =
|
|
1354
|
+
this.uuid = _2.toString(), _2 += 1;
|
|
1355
1355
|
}, created() {
|
|
1356
1356
|
this.$watch(() => this.success && this.error, (e) => {
|
|
1357
1357
|
if (e)
|
|
@@ -1362,7 +1362,7 @@ var M5 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { m
|
|
|
1362
1362
|
}, blur() {
|
|
1363
1363
|
this.$refs.input && this.$refs.input.blur();
|
|
1364
1364
|
} } };
|
|
1365
|
-
function
|
|
1365
|
+
function w5(e, r, t, i, n, d, a, s, u, C) {
|
|
1366
1366
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
1367
1367
|
const o = typeof t == "function" ? t.options : t;
|
|
1368
1368
|
let c;
|
|
@@ -1384,16 +1384,16 @@ function x5(e, r, t, i, n, d, a, s, u, C) {
|
|
|
1384
1384
|
}
|
|
1385
1385
|
return t;
|
|
1386
1386
|
}
|
|
1387
|
-
const
|
|
1388
|
-
function
|
|
1387
|
+
const k5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1388
|
+
function $5(e) {
|
|
1389
1389
|
return (r, t) => function(i, n) {
|
|
1390
|
-
const d =
|
|
1390
|
+
const d = k5 ? n.media || "default" : i, a = L2[d] || (L2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1391
1391
|
if (!a.ids.has(i)) {
|
|
1392
1392
|
a.ids.add(i);
|
|
1393
1393
|
let s = n.source;
|
|
1394
1394
|
if (n.map && (s += `
|
|
1395
1395
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1396
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1396
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), E1 === void 0 && (E1 = document.head || document.getElementsByTagName("head")[0]), E1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1397
1397
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1398
1398
|
`);
|
|
1399
1399
|
else {
|
|
@@ -1403,8 +1403,8 @@ function w5(e) {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
}(r, t);
|
|
1405
1405
|
}
|
|
1406
|
-
let
|
|
1407
|
-
const
|
|
1406
|
+
let E1;
|
|
1407
|
+
const L2 = {}, Z1 = w5({ render: function() {
|
|
1408
1408
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1409
1409
|
return t("div", { staticClass: "bimdata-input", class: { error: e.error, success: e.success, disabled: e.disabled, loading: e.loading, "not-empty": !!e.modelValue }, style: e.style }, [t("input", e._b({ ref: "input", attrs: { id: "bimdata-input-" + e.uuid, disabled: e.disabled, autocomplete: e.autocomplete ? "on" : "off" }, domProps: { value: e.modelValue }, on: { input: function(i) {
|
|
1410
1410
|
return e.$emit("update:modelValue", i.currentTarget.value);
|
|
@@ -1419,8 +1419,8 @@ const b2 = {}, M1 = x5({ render: function() {
|
|
|
1419
1419
|
} } }, "input", e.$attrs, !1)), e._v(" "), t("div", { staticClass: "bimdata-input__icon" }, [e._t("inputIcon")], 2), e._v(" "), t("label", { attrs: { for: "bimdata-input-" + e.uuid } }, [e._v(e._s(e.placeholder))]), e._v(" "), t("span", { staticClass: "bar" }), e._v(" "), e.error ? t("span", { staticClass: "error" }, [e._v(e._s(e.errorMessage))]) : e._e(), e._v(" "), e.success ? t("span", { staticClass: "success" }, [e._v(e._s(e.successMessage))]) : e._e()]);
|
|
1420
1420
|
}, staticRenderFns: [] }, function(e) {
|
|
1421
1421
|
e && (e("data-v-957ba7b2_0", { source: 'html[data-v-957ba7b2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-957ba7b2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-957ba7b2]{text-align:left}.text-center[data-v-957ba7b2]{text-align:center}.text-right[data-v-957ba7b2]{text-align:right}.bimdata-link[data-v-957ba7b2]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-957ba7b2]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-957ba7b2_1", { source: '@keyframes scaleX{0%{transform:scaleX(0);left:-50%}25%{transform:scaleX(1);left:0}50%{transform:scaleX(1);left:50%}75%{transform:scaleX(0);left:50%}100%{transform:scaleX(0);left:50%}}input:-webkit-autofill{box-shadow:0 0 0 1000px var(--color-white) inset}.bimdata-input{min-height:32px;position:relative;font-family:var(--primary-font);font-size:16px}.bimdata-input.not-empty label{top:-22px;color:var(--color-primary);font-size:.7142857143em}.bimdata-input input{padding:0;width:100%;height:32px;border:none;display:flex;cursor:pointer;background-color:transparent;font-size:1em}.bimdata-input input:focus{outline:0}.bimdata-input input:focus~label{top:-22px;font-size:.7142857143em}.bimdata-input input:focus~.bar:after{width:100%;transition:transform .2s cubic-bezier(.55,0,.55,.2);transform:scaleX(1)}.bimdata-input__icon{position:absolute;right:0;top:8px}.bimdata-input label{position:absolute;top:0;left:0;font-size:.8571428571em;transform:translateY(8px);transition:.2s ease all;color:var(--color-granite-light);cursor:pointer}.bimdata-input .bar{width:100%;height:1px;display:block;background:var(--color-silver)}.bimdata-input .bar::after,.bimdata-input .bar::before{width:0;height:2px;content:"";display:block;position:absolute;background-color:var(--color-primary);transform:scaleX(0)}.bimdata-input.loading input~.bar:after{width:50%;animation:scaleX 2s linear infinite none;transform-origin:right}.bimdata-input.loading input~.bar:before{width:50%;animation:scaleX 2s linear 1s infinite none;transform-origin:right}.bimdata-input .error{color:var(--color-high);font-size:.7857142857em}.bimdata-input .success{color:var(--color-success);font-size:.7857142857em}.bimdata-input.disabled{opacity:.6}.bimdata-input.error label{color:var(--color-high)}.bimdata-input.error .bar{background-color:var(--color-high)}.bimdata-input.error .bar::after,.bimdata-input.error .bar::before{background-color:var(--color-high)}.bimdata-input.success label{color:var(--color-success)}.bimdata-input.success .bar{background-color:var(--color-success)}.bimdata-input.success .bar::after,.bimdata-input.success .bar::before{background-color:var(--color-success)}', map: void 0, media: void 0 }));
|
|
1422
|
-
},
|
|
1423
|
-
var
|
|
1422
|
+
}, Z5, "data-v-957ba7b2", !1, void 0, !1, $5, void 0, void 0);
|
|
1423
|
+
var y2 = { bind(e, r) {
|
|
1424
1424
|
if (typeof r.value != "function")
|
|
1425
1425
|
throw Error("click away directive needs function, got " + typeof r.value);
|
|
1426
1426
|
e.clickAwayHandler = (t) => {
|
|
@@ -1428,7 +1428,7 @@ var m2 = { bind(e, r) {
|
|
|
1428
1428
|
}, window.addEventListener(r.arg || "click", e.clickAwayHandler, !0);
|
|
1429
1429
|
}, unbind(e, r) {
|
|
1430
1430
|
window.removeEventListener(r.arg || "click", e.clickAwayHandler, !0), delete e.clickAwayHandler;
|
|
1431
|
-
} },
|
|
1431
|
+
} }, F5 = { name: "BIMDataCheckbox", inheritAttrs: !1, model: { prop: "modelValue", event: "update:modelValue" }, props: { text: { type: String, default: null }, modelValue: { type: Boolean, validator: (e) => e === null || typeof e == "boolean" }, disabled: { type: Boolean, default: !1 }, margin: { type: String, default: "0px" } }, emits: ["update:modelValue"], computed: { indeterminate() {
|
|
1432
1432
|
return this.modelValue === null;
|
|
1433
1433
|
}, checked() {
|
|
1434
1434
|
return this.modelValue === !0 || this.indeterminate;
|
|
@@ -1459,16 +1459,16 @@ function J(e, r, t, i, n, d, a, s, u, C) {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
return t;
|
|
1461
1461
|
}
|
|
1462
|
-
const
|
|
1463
|
-
function
|
|
1462
|
+
const D5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1463
|
+
function V1(e) {
|
|
1464
1464
|
return (r, t) => function(i, n) {
|
|
1465
|
-
const d =
|
|
1465
|
+
const d = D5 ? n.media || "default" : i, a = H2[d] || (H2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1466
1466
|
if (!a.ids.has(i)) {
|
|
1467
1467
|
a.ids.add(i);
|
|
1468
1468
|
let s = n.source;
|
|
1469
1469
|
if (n.map && (s += `
|
|
1470
1470
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1471
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1471
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), B1 === void 0 && (B1 = document.head || document.getElementsByTagName("head")[0]), B1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1472
1472
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1473
1473
|
`);
|
|
1474
1474
|
else {
|
|
@@ -1478,34 +1478,34 @@ function m1(e) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
}(r, t);
|
|
1480
1480
|
}
|
|
1481
|
-
let
|
|
1482
|
-
const
|
|
1481
|
+
let B1;
|
|
1482
|
+
const H2 = {}, E5 = J({ render: function() {
|
|
1483
1483
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1484
1484
|
return t("div", e._b({ staticClass: "bimdata-checkbox", class: { indeterminate: e.indeterminate, disabled: e.disabled, checked: e.checked }, style: e.style, on: { click: e.onClick } }, "div", e.$attrs, !1), [t("span", { staticClass: "bimdata-checkbox__mark" }), e._v(" "), e.text ? t("span", { staticClass: "bimdata-checkbox__text" }, [e._t("default", function() {
|
|
1485
1485
|
return [e._v(e._s(e.text))];
|
|
1486
1486
|
})], 2) : e._e()]);
|
|
1487
1487
|
}, staticRenderFns: [] }, function(e) {
|
|
1488
1488
|
e && (e("data-v-092b3c62_0", { source: 'html[data-v-092b3c62]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-092b3c62]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-092b3c62]{text-align:left}.text-center[data-v-092b3c62]{text-align:center}.text-right[data-v-092b3c62]{text-align:right}.bimdata-link[data-v-092b3c62]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-092b3c62]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-092b3c62_1", { source: '.bimdata-checkbox{position:relative;display:flex;align-items:center;font-family:var(--primary-font);font-size:1em;cursor:pointer;user-select:none}.bimdata-checkbox :after,.bimdata-checkbox :before{-webkit-box-sizing:border-box;box-sizing:border-box}.bimdata-checkbox__mark{width:13px;height:13px;position:relative;top:0;left:0;border:solid 1px var(--color-primary);border-radius:2px;box-sizing:border-box}.bimdata-checkbox__mark::after{width:4px;height:7px;content:"";display:block;position:absolute;top:1px;left:3px;border:solid transparent;opacity:0;transform:rotate(45deg)}.bimdata-checkbox__text{width:calc(100% - 13px - 5px);margin-left:6px;font-size:.8571428571em}.bimdata-checkbox.checked>.bimdata-checkbox__mark,.bimdata-checkbox.indeterminate>.bimdata-checkbox__mark{background-color:var(--color-primary)}.bimdata-checkbox:not(.indeterminate):not(.checked)>.bimdata-checkbox__mark::after{border-color:transparent}.bimdata-checkbox.checked>.bimdata-checkbox__mark::after,.bimdata-checkbox:not(.indeterminate)>.bimdata-checkbox__mark::after{border:solid 1px var(--color-white);border-left:none;border-top:none;border-width:0 1px 1px 0;opacity:1}.bimdata-checkbox.indeterminate>.bimdata-checkbox__mark::after{border-width:0 1px 0 0;transform:rotate(90deg)}.bimdata-checkbox.disabled{cursor:default}.bimdata-checkbox.disabled>.bimdata-checkbox__mark{border-color:var(--color-silver-dark)}.bimdata-checkbox.disabled>.bimdata-checkbox__text{color:var(--color-silver-dark)}.bimdata-checkbox.checked.disabled>.bimdata-checkbox__mark{background-color:var(--color-silver-dark)}', map: void 0, media: void 0 }));
|
|
1489
|
-
},
|
|
1489
|
+
}, F5, "data-v-092b3c62", !1, void 0, !1, V1, void 0, void 0), B5 = J({ render: function() {
|
|
1490
1490
|
var e = this.$createElement;
|
|
1491
1491
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
1492
1492
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
1493
|
-
var
|
|
1494
|
-
const
|
|
1495
|
-
var
|
|
1496
|
-
const
|
|
1493
|
+
var R5 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1494
|
+
const V2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1495
|
+
var M2;
|
|
1496
|
+
const x2 = J({ render: function() {
|
|
1497
1497
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1498
1498
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
1499
1499
|
}, staticRenderFns: [] }, function(e) {
|
|
1500
1500
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
1501
|
-
}, { name: `BIMDataIcon${
|
|
1501
|
+
}, { name: `BIMDataIcon${M2 = "Chevron"}`, components: { [M2]: B5 }, props: { color: { type: String, default: "default", validator: (e) => R5.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(V2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
1502
1502
|
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 };
|
|
1503
1503
|
}, style() {
|
|
1504
1504
|
const e = this.getPixelSize(this.size);
|
|
1505
1505
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
1506
1506
|
} }, methods: { getPixelSize() {
|
|
1507
|
-
return this.customSize ? this.customSize :
|
|
1508
|
-
} } }, "data-v-20c38c94", !1, void 0, !1,
|
|
1507
|
+
return this.customSize ? this.customSize : V2[this.size];
|
|
1508
|
+
} } }, "data-v-20c38c94", !1, void 0, !1, V1, void 0, void 0), Se = J({ render: function() {
|
|
1509
1509
|
var e = this, r = e.$createElement;
|
|
1510
1510
|
return (e._self._c || r)(e.selectorComponent, e._b({ tag: "component", attrs: { modelValue: e.modelValue }, on: { "update:modelValue": function(t) {
|
|
1511
1511
|
return e.$emit("update:modelValue", t);
|
|
@@ -1525,7 +1525,7 @@ const H2 = J({ render: function() {
|
|
|
1525
1525
|
}), 0)])], 1);
|
|
1526
1526
|
}, staticRenderFns: [] }, function(e) {
|
|
1527
1527
|
e && e("data-v-09766700_0", { source: 'html[data-v-09766700]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-select[data-v-09766700]{position:relative;font-family:var(--primary-font);font-size:1em;user-select:none}.bimdata-select__content[data-v-09766700]{height:32px}.bimdata-select__content__value[data-v-09766700]{width:100%;height:32px;position:absolute;z-index:1;top:0;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.bimdata-select__content__value span[data-v-09766700]{width:100%;height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bimdata-select__content__label[data-v-09766700]{position:absolute;top:6px;left:0;font-size:.8571428571em;transition:.2s ease all;color:var(--color-granite-light);transition:.2s ease all}.bimdata-select__content__underline[data-v-09766700]{width:100%;height:1px;position:absolute;bottom:0;display:block;background:var(--color-silver)}.bimdata-select.disabled[data-v-09766700]{opacity:.6}.bimdata-select.active .bimdata-select__content .bimdata-select__content__label[data-v-09766700],.bimdata-select.not-empty .bimdata-select__content .bimdata-select__content__label[data-v-09766700]{top:-18px;font-size:.7142857143em;color:var(--color-primary)}.bimdata-select__option-list[data-v-09766700]{position:absolute;z-index:2;top:-3px;width:100%;max-height:220px;padding:calc(var(--spacing-unit)/ 2) 0;overflow:auto;box-shadow:var(--box-shadow);background-color:var(--color-white)}.bimdata-select__option-list__entry[data-v-09766700]{height:29px;padding:0 var(--spacing-unit);display:flex;align-items:center;font-size:.8571428571em;cursor:pointer}.bimdata-select__option-list__entry[data-v-09766700]:hover{background-color:var(--color-silver-light);transition:all .2s ease}.bimdata-select__option-list__entry.selected[data-v-09766700]{background-color:var(--color-silver-light)}.bimdata-select__option-list__entry.selected[data-v-09766700]:hover{background-color:var(--color-silver)}.bimdata-select__option-list__entry.disabled[data-v-09766700]{color:var(--color-silver-dark);cursor:default}.bimdata-select__option-list__entry.option-group[data-v-09766700]{color:var(--color-granite);font-weight:700}.bimdata-select__option-list__entry.option-group[data-v-09766700]:hover{background-color:transparent;cursor:default}.bimdata-select__option-list__entry.option-group~.bimdata-select__option-list__entry[data-v-09766700]:not(.option-group){padding-left:calc(var(--spacing-unit) * 2)}', map: void 0, media: void 0 });
|
|
1528
|
-
}, { components: { BIMDataCheckbox:
|
|
1528
|
+
}, { components: { BIMDataCheckbox: E5, BIMDataIconChevron: x2 }, directives: { clickaway: y2 }, 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() {
|
|
1529
1529
|
return this.modelValue.map(this.optionLabel).join(", ");
|
|
1530
1530
|
} }, methods: { toggle() {
|
|
1531
1531
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -1550,7 +1550,7 @@ const H2 = J({ render: function() {
|
|
|
1550
1550
|
} else
|
|
1551
1551
|
r = this.modelValue.concat(e);
|
|
1552
1552
|
this.$emit("update:modelValue", r);
|
|
1553
|
-
} } }, "data-v-09766700", !1, void 0, !1,
|
|
1553
|
+
} } }, "data-v-09766700", !1, void 0, !1, V1, void 0, void 0), BIMDataSelectSingle: J({ render: function() {
|
|
1554
1554
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1555
1555
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: function() {
|
|
1556
1556
|
return e.isOpen = !1;
|
|
@@ -1569,7 +1569,7 @@ const H2 = J({ render: function() {
|
|
|
1569
1569
|
})], 2)])], 1);
|
|
1570
1570
|
}, staticRenderFns: [] }, function(e) {
|
|
1571
1571
|
e && e("data-v-1b2410f3_0", { source: 'html[data-v-1b2410f3]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-select[data-v-1b2410f3]{position:relative;font-family:var(--primary-font);font-size:1em;user-select:none}.bimdata-select__content[data-v-1b2410f3]{height:32px}.bimdata-select__content__value[data-v-1b2410f3]{width:100%;height:32px;position:absolute;z-index:1;top:0;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.bimdata-select__content__value span[data-v-1b2410f3]{width:100%;height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bimdata-select__content__label[data-v-1b2410f3]{position:absolute;top:6px;left:0;font-size:.8571428571em;transition:.2s ease all;color:var(--color-granite-light);transition:.2s ease all}.bimdata-select__content__underline[data-v-1b2410f3]{width:100%;height:1px;position:absolute;bottom:0;display:block;background:var(--color-silver)}.bimdata-select.disabled[data-v-1b2410f3]{opacity:.6}.bimdata-select.active .bimdata-select__content .bimdata-select__content__label[data-v-1b2410f3],.bimdata-select.not-empty .bimdata-select__content .bimdata-select__content__label[data-v-1b2410f3]{top:-18px;font-size:.7142857143em;color:var(--color-primary)}.bimdata-select__option-list[data-v-1b2410f3]{position:absolute;z-index:2;top:-3px;width:100%;max-height:220px;padding:calc(var(--spacing-unit)/ 2) 0;overflow:auto;box-shadow:var(--box-shadow);background-color:var(--color-white)}.bimdata-select__option-list__entry[data-v-1b2410f3]{height:29px;padding:0 var(--spacing-unit);display:flex;align-items:center;font-size:.8571428571em;cursor:pointer}.bimdata-select__option-list__entry[data-v-1b2410f3]:hover{background-color:var(--color-silver-light);transition:all .2s ease}.bimdata-select__option-list__entry.selected[data-v-1b2410f3]{background-color:var(--color-silver-light)}.bimdata-select__option-list__entry.selected[data-v-1b2410f3]:hover{background-color:var(--color-silver)}.bimdata-select__option-list__entry.disabled[data-v-1b2410f3]{color:var(--color-silver-dark);cursor:default}.bimdata-select__option-list__entry.option-group[data-v-1b2410f3]{color:var(--color-granite);font-weight:700}.bimdata-select__option-list__entry.option-group[data-v-1b2410f3]:hover{background-color:transparent;cursor:default}.bimdata-select__option-list__entry.option-group~.bimdata-select__option-list__entry[data-v-1b2410f3]:not(.option-group){padding-left:calc(var(--spacing-unit) * 2)}', map: void 0, media: void 0 });
|
|
1572
|
-
}, { components: { BIMDataIconChevron:
|
|
1572
|
+
}, { components: { BIMDataIconChevron: x2 }, directives: { clickaway: y2 }, 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() {
|
|
1573
1573
|
return this.optionLabel(this.modelValue);
|
|
1574
1574
|
} }, methods: { toggle() {
|
|
1575
1575
|
this.disabled || (this.isOpen = !this.isOpen);
|
|
@@ -1588,10 +1588,10 @@ const H2 = J({ render: function() {
|
|
|
1588
1588
|
this.optionKey && (e.disabled || e.optionGroup) || (this.$emit("update:modelValue", e), this.isOpen = !1);
|
|
1589
1589
|
}, onNullValueClick() {
|
|
1590
1590
|
this.$emit("update:modelValue", null), this.isOpen = !1;
|
|
1591
|
-
} } }, "data-v-1b2410f3", !1, void 0, !1,
|
|
1591
|
+
} } }, "data-v-1b2410f3", !1, void 0, !1, V1, void 0, void 0) }, 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() {
|
|
1592
1592
|
return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
|
|
1593
1593
|
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
1594
|
-
var
|
|
1594
|
+
var I5 = function() {
|
|
1595
1595
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1596
1596
|
return t("div", {
|
|
1597
1597
|
directives: [{
|
|
@@ -1783,8 +1783,8 @@ var B5 = function() {
|
|
|
1783
1783
|
margin: "0 6px 0 0"
|
|
1784
1784
|
}
|
|
1785
1785
|
}), t("span", [e._v(" " + e._s(e.$t("BcfComponents.BcfFilters.searchButton")) + " ")])], 1)], 1)], 1)])], 1);
|
|
1786
|
-
},
|
|
1787
|
-
function
|
|
1786
|
+
}, S5 = [];
|
|
1787
|
+
function D(e, r, t, i, n, d, a, s) {
|
|
1788
1788
|
var u = typeof e == "function" ? e.options : e;
|
|
1789
1789
|
r && (u.render = r, u.staticRenderFns = t, u._compiled = !0), i && (u.functional = !0), d && (u._scopeId = "data-v-" + d);
|
|
1790
1790
|
var C;
|
|
@@ -1813,17 +1813,17 @@ function k(e, r, t, i, n, d, a, s) {
|
|
|
1813
1813
|
options: u
|
|
1814
1814
|
};
|
|
1815
1815
|
}
|
|
1816
|
-
function
|
|
1816
|
+
function t1(e) {
|
|
1817
1817
|
return Array.from(new Set(e)).sort(
|
|
1818
1818
|
(r, t) => r.localeCompare(t, void 0, { sensitivity: "base" })
|
|
1819
1819
|
);
|
|
1820
1820
|
}
|
|
1821
|
-
const
|
|
1821
|
+
const T5 = {
|
|
1822
1822
|
components: {
|
|
1823
|
-
BIMDataButton:
|
|
1824
|
-
BIMDataIcon:
|
|
1825
|
-
BIMDataInput:
|
|
1826
|
-
BIMDataSelect:
|
|
1823
|
+
BIMDataButton: S,
|
|
1824
|
+
BIMDataIcon: T,
|
|
1825
|
+
BIMDataInput: Z1,
|
|
1826
|
+
BIMDataSelect: Se
|
|
1827
1827
|
},
|
|
1828
1828
|
props: {
|
|
1829
1829
|
topics: {
|
|
@@ -1833,18 +1833,18 @@ const I5 = {
|
|
|
1833
1833
|
},
|
|
1834
1834
|
emits: ["submit"],
|
|
1835
1835
|
setup(e, { emit: r }) {
|
|
1836
|
-
const t = L(!1), i = () => t.value = !1, n = () => t.value = !t.value, d = L(null), { filters: a, filteredTopics: s, reset: u } =
|
|
1836
|
+
const t = L(!1), i = () => t.value = !1, n = () => t.value = !t.value, d = L(null), { filters: a, filteredTopics: s, reset: u } = h5(
|
|
1837
1837
|
w(() => e.topics)
|
|
1838
1838
|
), C = w(
|
|
1839
|
-
() =>
|
|
1839
|
+
() => t1(e.topics.map((H) => H.priority))
|
|
1840
1840
|
), o = w(
|
|
1841
|
-
() =>
|
|
1841
|
+
() => t1(e.topics.map((H) => H.topic_status))
|
|
1842
1842
|
), c = w(
|
|
1843
|
-
() =>
|
|
1843
|
+
() => t1(e.topics.map((H) => H.assigned_to))
|
|
1844
1844
|
), l = w(
|
|
1845
|
-
() =>
|
|
1845
|
+
() => t1(e.topics.map((H) => H.creation_author))
|
|
1846
1846
|
), b = w(
|
|
1847
|
-
() =>
|
|
1847
|
+
() => t1(e.topics.flatMap((H) => H.labels))
|
|
1848
1848
|
);
|
|
1849
1849
|
return {
|
|
1850
1850
|
// References
|
|
@@ -1860,40 +1860,40 @@ const I5 = {
|
|
|
1860
1860
|
close: i,
|
|
1861
1861
|
resetFilters: () => {
|
|
1862
1862
|
u(), r("submit", {
|
|
1863
|
-
filters:
|
|
1863
|
+
filters: u2(a),
|
|
1864
1864
|
topics: s.value
|
|
1865
1865
|
});
|
|
1866
1866
|
},
|
|
1867
1867
|
submitFilters: () => {
|
|
1868
1868
|
a.endDate && a.endDate.setHours(23, 59, 59), r("submit", {
|
|
1869
|
-
filters:
|
|
1869
|
+
filters: u2(a),
|
|
1870
1870
|
topics: s.value
|
|
1871
1871
|
}), t.value = !1;
|
|
1872
1872
|
},
|
|
1873
1873
|
toggle: n
|
|
1874
1874
|
};
|
|
1875
1875
|
}
|
|
1876
|
-
},
|
|
1877
|
-
var
|
|
1876
|
+
}, Z2 = {};
|
|
1877
|
+
var O5 = /* @__PURE__ */ D(
|
|
1878
|
+
T5,
|
|
1878
1879
|
I5,
|
|
1879
|
-
|
|
1880
|
-
R5,
|
|
1880
|
+
S5,
|
|
1881
1881
|
!1,
|
|
1882
|
-
|
|
1882
|
+
z5,
|
|
1883
1883
|
"2f8d8714",
|
|
1884
1884
|
null,
|
|
1885
1885
|
null
|
|
1886
1886
|
);
|
|
1887
|
-
function
|
|
1888
|
-
for (let r in
|
|
1889
|
-
this[r] =
|
|
1887
|
+
function z5(e) {
|
|
1888
|
+
for (let r in Z2)
|
|
1889
|
+
this[r] = Z2[r];
|
|
1890
1890
|
}
|
|
1891
|
-
const
|
|
1892
|
-
return
|
|
1893
|
-
}(),
|
|
1894
|
-
Object.entries(
|
|
1895
|
-
var
|
|
1896
|
-
function
|
|
1891
|
+
const P5 = /* @__PURE__ */ function() {
|
|
1892
|
+
return O5.exports;
|
|
1893
|
+
}(), a2 = Object.freeze({ bisque: "ffe4c4", orange: "ffa500", coral: "ff7f50", red: "ff3d1e", maroon: "800000", khaki: "f0e68c", tan: "d2b48c", peru: "cd853f", sienna: "a0522d", brown: "a52a2a", greenyellow: "adff2f", yellowgreen: "9acd32", forestgreen: "00af50", green: "008000", darkgreen: "006400", lightcyan: "e0ffff", skyblue: "87ceeb", steelblue: "4682b4", blue: "0000ff", darkblue: "00008b", mistyrose: "ffe4e1", hotpink: "ff69b4", magenta: "ff00ff", purple: "800080", indigo: "4b0082", whitesmoke: "f5f5f5", silver: "c0c0c0", darkgray: "a9a9a9", grey: "7a7a7a", black: "000000" }), N5 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
|
|
1894
|
+
Object.entries(a2).filter(([e]) => !N5.includes(e));
|
|
1895
|
+
var A5 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), j5 = { props: { text: { type: String } } };
|
|
1896
|
+
function W1(e, r, t, i, n, d, a, s, u, C) {
|
|
1897
1897
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
1898
1898
|
const o = typeof t == "function" ? t.options : t;
|
|
1899
1899
|
let c;
|
|
@@ -1915,16 +1915,16 @@ function q1(e, r, t, i, n, d, a, s, u, C) {
|
|
|
1915
1915
|
}
|
|
1916
1916
|
return t;
|
|
1917
1917
|
}
|
|
1918
|
-
const
|
|
1919
|
-
function
|
|
1918
|
+
const U5 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1919
|
+
function X1(e) {
|
|
1920
1920
|
return (r, t) => function(i, n) {
|
|
1921
|
-
const d =
|
|
1921
|
+
const d = U5 ? n.media || "default" : i, a = w2[d] || (w2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
1922
1922
|
if (!a.ids.has(i)) {
|
|
1923
1923
|
a.ids.add(i);
|
|
1924
1924
|
let s = n.source;
|
|
1925
1925
|
if (n.map && (s += `
|
|
1926
1926
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
1927
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
1927
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), R1 === void 0 && (R1 = document.head || document.getElementsByTagName("head")[0]), R1.appendChild(a.element)), "styleSheet" in a.element)
|
|
1928
1928
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
1929
1929
|
`);
|
|
1930
1930
|
else {
|
|
@@ -1934,8 +1934,8 @@ function Y1(e) {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
}(r, t);
|
|
1936
1936
|
}
|
|
1937
|
-
let
|
|
1938
|
-
const
|
|
1937
|
+
let R1;
|
|
1938
|
+
const w2 = {}, q5 = W1({ render: function() {
|
|
1939
1939
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1940
1940
|
return t("div", { staticClass: "bimdata-card", class: e.classes, style: { "min-width": e.width, "border-radius": e.borderRadius } }, [e.titleHeader || e.$slots.headerIcons ? t("BIMDataCardBand", { staticClass: "bimdata-card__header", attrs: { text: e.titleHeader }, scopedSlots: e._u([{ key: "right", fn: function() {
|
|
1941
1941
|
return [e._t("headerIcons")];
|
|
@@ -1946,14 +1946,14 @@ const M2 = {}, j5 = q1({ render: function() {
|
|
|
1946
1946
|
}, proxy: !0 }], null, !0) }) : e._e(), e._v(" "), e.$slots.content ? t("div", { staticClass: "bimdata-card__content" }, [e._t("content")], 2) : e._e(), e._v(" "), e.$slots.footer ? t("footer", { staticClass: "bimdata-card__footer" }, [e._t("footer")], 2) : e._e()], 1);
|
|
1947
1947
|
}, staticRenderFns: [] }, function(e) {
|
|
1948
1948
|
e && (e("data-v-ed011768_0", { source: 'html[data-v-ed011768]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-ed011768]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-ed011768]{text-align:left}.text-center[data-v-ed011768]{text-align:center}.text-right[data-v-ed011768]{text-align:right}.bimdata-link[data-v-ed011768]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-ed011768]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-ed011768_1", { source: ".bimdata-card{background-color:var(--color-white);box-shadow:var(--box-shadow);font-family:var(--primary-font);font-size:1em;overflow:auto}.bimdata-card__content,.bimdata-card__footer{font-size:.8571428571em}.bimdata-card__header{padding:10px var(--spacing-unit);height:auto;display:flex;align-items:center;justify-content:space-between;background-color:var(--color-silver-light);color:var(--color-primary);font-size:.9285714286em}.bimdata-card__submenu{padding:calc(var(--spacing-unit)/ 2) var(--spacing-unit);display:flex;align-items:center;position:relative;background:var(--color-white);box-shadow:var(--box-shadow);font-size:.8571428571em}.bimdata-card__content{padding:var(--spacing-unit);color:var(--color-granite)}.bimdata-card__footer{padding:0 var(--spacing-unit) var(--spacing-unit)}.bimdata-card__primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-card__primary .bimdata-card__header,.bimdata-card__primary .bimdata-card__submenu{background-color:var(--color-primary)}.bimdata-card__primary .bimdata-card__header{color:var(--color-white);filter:saturate(.8)}.bimdata-card__primary .bimdata-card__content{color:var(--color-white)}.bimdata-card__secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-card__secondary .bimdata-card__header,.bimdata-card__secondary .bimdata-card__submenu{background-color:var(--color-secondary)}.bimdata-card__secondary .bimdata-card__header{color:var(--color-primary);filter:saturate(.8)}", map: void 0, media: void 0 }));
|
|
1949
|
-
}, { components: { BIMDataCardBand:
|
|
1949
|
+
}, { components: { BIMDataCardBand: W1({ render: function() {
|
|
1950
1950
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1951
1951
|
return t("div", { staticClass: "bimdata-card__brand" }, [t("div", { staticClass: "bimdata-card__brand--left" }, [e._t("left"), e._v(" "), e.text ? t("span", [e._v(e._s(e.text))]) : e._e()], 2), e._v(" "), e._t("right")], 2);
|
|
1952
1952
|
}, staticRenderFns: [] }, function(e) {
|
|
1953
1953
|
e && (e("data-v-d290df1a_0", { source: 'html[data-v-d290df1a]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-d290df1a_1", { source: ".bimdata-card__brand{justify-content:space-between}.bimdata-card__brand--left{margin-right:var(--spacing-unit);display:flex;align-items:center}.bimdata-card__brand--left svg{margin-right:calc(var(--spacing-unit)/ 2)}", map: void 0, media: void 0 }));
|
|
1954
|
-
},
|
|
1954
|
+
}, j5, "data-v-d290df1a", !1, void 0, !1, X1, void 0, void 0) }, props: { titleHeader: { type: String }, submenuText: { type: String }, width: { type: [Number, String], default: "215px" }, borderRadius: { type: String, default: "0px" }, bgColor: { type: String, default: "default", validator: (e) => A5.includes(e) } }, computed: { classes() {
|
|
1955
1955
|
return { [`bimdata-card__${this.bgColor}`]: this.bgColor };
|
|
1956
|
-
} } }, "data-v-ed011768", !1, void 0, !1,
|
|
1956
|
+
} } }, "data-v-ed011768", !1, void 0, !1, X1, void 0, void 0), Y5 = Object.entries(a2).reduce((e, r, t) => (t % 5 == 0 ? e.push([r]) : e[e.length - 1].push(r), e), []), W5 = W1({ render: function() {
|
|
1957
1957
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1958
1958
|
return t("BIMDataCard", { staticClass: "color-selector", scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1959
1959
|
return e._l(e.colorLines, function(i, n) {
|
|
@@ -1967,8 +1967,8 @@ const M2 = {}, j5 = q1({ render: function() {
|
|
|
1967
1967
|
}, proxy: !0 }]) });
|
|
1968
1968
|
}, staticRenderFns: [] }, function(e) {
|
|
1969
1969
|
e && e("data-v-29b6f3f4_0", { source: ".color-selector__line[data-v-29b6f3f4]{display:flex}.color-selector__line__element[data-v-29b6f3f4]{cursor:pointer;height:30px;width:30px;margin:4px;border-radius:3px}.color-selector__line__element.selected[data-v-29b6f3f4]{border:solid 2px var(--color-primary)}", map: void 0, media: void 0 });
|
|
1970
|
-
}, { components: { BIMDataCard:
|
|
1971
|
-
var
|
|
1970
|
+
}, { components: { BIMDataCard: q5 }, props: { modelValue: { type: String, default: null, validator: (e) => Object.values(a2).includes(e) } }, emits: ["update:modelValue"], data: () => ({ colorLines: Y5 }) }, "data-v-29b6f3f4", !1, void 0, !1, X1, void 0, void 0);
|
|
1971
|
+
var X5 = function() {
|
|
1972
1972
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1973
1973
|
return t("li", {
|
|
1974
1974
|
staticClass: "setting-card-item"
|
|
@@ -2084,13 +2084,13 @@ var Y5 = function() {
|
|
|
2084
2084
|
size: "xxxs"
|
|
2085
2085
|
}
|
|
2086
2086
|
})], 1)], 1)]) : e._e()], 1);
|
|
2087
|
-
},
|
|
2088
|
-
const
|
|
2087
|
+
}, K5 = [];
|
|
2088
|
+
const J5 = {
|
|
2089
2089
|
components: {
|
|
2090
|
-
BIMDataButton:
|
|
2091
|
-
BIMDataColorSelector:
|
|
2092
|
-
BIMDataIcon:
|
|
2093
|
-
BIMDataInput:
|
|
2090
|
+
BIMDataButton: S,
|
|
2091
|
+
BIMDataColorSelector: W5,
|
|
2092
|
+
BIMDataIcon: T,
|
|
2093
|
+
BIMDataInput: Z1
|
|
2094
2094
|
},
|
|
2095
2095
|
props: {
|
|
2096
2096
|
extensionType: {
|
|
@@ -2116,12 +2116,12 @@ const X5 = {
|
|
|
2116
2116
|
editMode: t,
|
|
2117
2117
|
extensionColor: a,
|
|
2118
2118
|
extensionName: d,
|
|
2119
|
-
EXTENSION_WITH_COLOR:
|
|
2119
|
+
EXTENSION_WITH_COLOR: ke,
|
|
2120
2120
|
input: s,
|
|
2121
2121
|
isOpenColorSelector: i,
|
|
2122
2122
|
isOpenDeleteGuard: n,
|
|
2123
2123
|
// Methods
|
|
2124
|
-
adjustBorderColor:
|
|
2124
|
+
adjustBorderColor: We,
|
|
2125
2125
|
getExtensionField: K,
|
|
2126
2126
|
submitColor: async (c) => {
|
|
2127
2127
|
c !== e.extension.color && (r("update-extension", {
|
|
@@ -2145,25 +2145,25 @@ const X5 = {
|
|
|
2145
2145
|
}
|
|
2146
2146
|
};
|
|
2147
2147
|
}
|
|
2148
|
-
},
|
|
2149
|
-
var
|
|
2148
|
+
}, k2 = {};
|
|
2149
|
+
var G5 = /* @__PURE__ */ D(
|
|
2150
|
+
J5,
|
|
2150
2151
|
X5,
|
|
2151
|
-
|
|
2152
|
-
W5,
|
|
2152
|
+
K5,
|
|
2153
2153
|
!1,
|
|
2154
|
-
|
|
2154
|
+
Q5,
|
|
2155
2155
|
"7de3c437",
|
|
2156
2156
|
null,
|
|
2157
2157
|
null
|
|
2158
2158
|
);
|
|
2159
|
-
function
|
|
2160
|
-
for (let r in
|
|
2161
|
-
this[r] =
|
|
2159
|
+
function Q5(e) {
|
|
2160
|
+
for (let r in k2)
|
|
2161
|
+
this[r] = k2[r];
|
|
2162
2162
|
}
|
|
2163
|
-
const
|
|
2164
|
-
return
|
|
2163
|
+
const e3 = /* @__PURE__ */ function() {
|
|
2164
|
+
return G5.exports;
|
|
2165
2165
|
}();
|
|
2166
|
-
var
|
|
2166
|
+
var t3 = function() {
|
|
2167
2167
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2168
2168
|
return t("div", {
|
|
2169
2169
|
staticClass: "setting-card"
|
|
@@ -2275,13 +2275,13 @@ var Q5 = function() {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
});
|
|
2277
2277
|
}), 1)], 1)]);
|
|
2278
|
-
},
|
|
2279
|
-
const
|
|
2278
|
+
}, r3 = [];
|
|
2279
|
+
const i3 = {
|
|
2280
2280
|
components: {
|
|
2281
|
-
BIMDataButton:
|
|
2282
|
-
BIMDataIcon:
|
|
2283
|
-
BIMDataInput:
|
|
2284
|
-
SettingCardItem:
|
|
2281
|
+
BIMDataButton: S,
|
|
2282
|
+
BIMDataIcon: T,
|
|
2283
|
+
BIMDataInput: Z1,
|
|
2284
|
+
SettingCardItem: e3
|
|
2285
2285
|
},
|
|
2286
2286
|
props: {
|
|
2287
2287
|
detailedExtensions: {
|
|
@@ -2300,7 +2300,7 @@ const t3 = {
|
|
|
2300
2300
|
],
|
|
2301
2301
|
setup(e, { emit: r }) {
|
|
2302
2302
|
const t = w(
|
|
2303
|
-
() =>
|
|
2303
|
+
() => Re(e.extensionType, e.detailedExtensions)
|
|
2304
2304
|
), i = L(null), n = L(""), d = L(!1), a = () => d.value = !1, s = () => d.value = !d.value, u = L(!1), C = () => {
|
|
2305
2305
|
n.value = "", u.value = !1;
|
|
2306
2306
|
};
|
|
@@ -2326,25 +2326,25 @@ const t3 = {
|
|
|
2326
2326
|
}
|
|
2327
2327
|
};
|
|
2328
2328
|
}
|
|
2329
|
-
},
|
|
2330
|
-
var
|
|
2329
|
+
}, $2 = {};
|
|
2330
|
+
var a3 = /* @__PURE__ */ D(
|
|
2331
|
+
i3,
|
|
2331
2332
|
t3,
|
|
2332
|
-
|
|
2333
|
-
e3,
|
|
2333
|
+
r3,
|
|
2334
2334
|
!1,
|
|
2335
|
-
|
|
2335
|
+
n3,
|
|
2336
2336
|
"0fdda27e",
|
|
2337
2337
|
null,
|
|
2338
2338
|
null
|
|
2339
2339
|
);
|
|
2340
|
-
function
|
|
2341
|
-
for (let r in
|
|
2342
|
-
this[r] =
|
|
2340
|
+
function n3(e) {
|
|
2341
|
+
for (let r in $2)
|
|
2342
|
+
this[r] = $2[r];
|
|
2343
2343
|
}
|
|
2344
|
-
const
|
|
2345
|
-
return
|
|
2344
|
+
const o3 = /* @__PURE__ */ function() {
|
|
2345
|
+
return a3.exports;
|
|
2346
2346
|
}();
|
|
2347
|
-
var
|
|
2347
|
+
var l3 = function() {
|
|
2348
2348
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2349
2349
|
return t("div", {
|
|
2350
2350
|
staticClass: "bcf-settings"
|
|
@@ -2403,12 +2403,12 @@ var n3 = function() {
|
|
|
2403
2403
|
}
|
|
2404
2404
|
});
|
|
2405
2405
|
})], 2)]);
|
|
2406
|
-
},
|
|
2407
|
-
const
|
|
2406
|
+
}, d3 = [];
|
|
2407
|
+
const s3 = {
|
|
2408
2408
|
components: {
|
|
2409
|
-
BIMDataButton:
|
|
2410
|
-
BIMDataIcon:
|
|
2411
|
-
SettingCard:
|
|
2409
|
+
BIMDataButton: S,
|
|
2410
|
+
BIMDataIcon: T,
|
|
2411
|
+
SettingCard: o3
|
|
2412
2412
|
},
|
|
2413
2413
|
props: {
|
|
2414
2414
|
uiConfig: {
|
|
@@ -2435,10 +2435,10 @@ const l3 = {
|
|
|
2435
2435
|
"extension-deleted"
|
|
2436
2436
|
],
|
|
2437
2437
|
setup(e, { emit: r }) {
|
|
2438
|
-
const t =
|
|
2438
|
+
const t = u1();
|
|
2439
2439
|
return {
|
|
2440
2440
|
// References
|
|
2441
|
-
EXTENSION_TYPES:
|
|
2441
|
+
EXTENSION_TYPES: we,
|
|
2442
2442
|
// Methods
|
|
2443
2443
|
createExtension: async (a) => {
|
|
2444
2444
|
const s = await t.createExtension(
|
|
@@ -2466,25 +2466,25 @@ const l3 = {
|
|
|
2466
2466
|
}
|
|
2467
2467
|
};
|
|
2468
2468
|
}
|
|
2469
|
-
},
|
|
2470
|
-
var
|
|
2469
|
+
}, F2 = {};
|
|
2470
|
+
var c3 = /* @__PURE__ */ D(
|
|
2471
|
+
s3,
|
|
2471
2472
|
l3,
|
|
2472
|
-
|
|
2473
|
-
o3,
|
|
2473
|
+
d3,
|
|
2474
2474
|
!1,
|
|
2475
|
-
|
|
2475
|
+
u3,
|
|
2476
2476
|
"a96c23fe",
|
|
2477
2477
|
null,
|
|
2478
2478
|
null
|
|
2479
2479
|
);
|
|
2480
|
-
function
|
|
2481
|
-
for (let r in
|
|
2482
|
-
this[r] =
|
|
2480
|
+
function u3(e) {
|
|
2481
|
+
for (let r in F2)
|
|
2482
|
+
this[r] = F2[r];
|
|
2483
2483
|
}
|
|
2484
|
-
const
|
|
2485
|
-
return
|
|
2484
|
+
const f3 = /* @__PURE__ */ function() {
|
|
2485
|
+
return c3.exports;
|
|
2486
2486
|
}();
|
|
2487
|
-
var
|
|
2487
|
+
var C3 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), h3 = { 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) => C3.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
2488
2488
|
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 };
|
|
2489
2489
|
}, style() {
|
|
2490
2490
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -2511,16 +2511,16 @@ function A(e, r, t, i, n, d, a, s, u, C) {
|
|
|
2511
2511
|
}
|
|
2512
2512
|
return t;
|
|
2513
2513
|
}
|
|
2514
|
-
const
|
|
2514
|
+
const v3 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2515
2515
|
function Y(e) {
|
|
2516
2516
|
return (r, t) => function(i, n) {
|
|
2517
|
-
const d =
|
|
2517
|
+
const d = v3 ? n.media || "default" : i, a = D2[d] || (D2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
2518
2518
|
if (!a.ids.has(i)) {
|
|
2519
2519
|
a.ids.add(i);
|
|
2520
2520
|
let s = n.source;
|
|
2521
2521
|
if (n.map && (s += `
|
|
2522
2522
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
2523
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
2523
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), I1 === void 0 && (I1 = document.head || document.getElementsByTagName("head")[0]), I1.appendChild(a.element)), "styleSheet" in a.element)
|
|
2524
2524
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
2525
2525
|
`);
|
|
2526
2526
|
else {
|
|
@@ -2530,29 +2530,29 @@ function Y(e) {
|
|
|
2530
2530
|
}
|
|
2531
2531
|
}(r, t);
|
|
2532
2532
|
}
|
|
2533
|
-
let
|
|
2534
|
-
const
|
|
2533
|
+
let I1;
|
|
2534
|
+
const D2 = {}, E2 = A({ render: function() {
|
|
2535
2535
|
var e = this, r = e.$createElement;
|
|
2536
2536
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
2537
2537
|
return e.$emit("click", t);
|
|
2538
2538
|
} } }, [e._t("default")], 2);
|
|
2539
2539
|
}, staticRenderFns: [] }, function(e) {
|
|
2540
2540
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
2541
|
-
},
|
|
2541
|
+
}, h3, "data-v-7af18892", !1, void 0, !1, Y, void 0, void 0), p3 = A({ render: function() {
|
|
2542
2542
|
var e = this.$createElement;
|
|
2543
2543
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
2544
2544
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
2545
|
-
var
|
|
2546
|
-
const
|
|
2547
|
-
var
|
|
2545
|
+
var g3 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
2546
|
+
const B2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
2547
|
+
var R2 = (e, r) => ({ name: `BIMDataIcon${e}`, components: { [e]: r }, props: { color: { type: String, default: "default", validator: (t) => g3.includes(t) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (t) => Object.keys(B2).includes(t) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
2548
2548
|
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 };
|
|
2549
2549
|
}, style() {
|
|
2550
2550
|
const t = this.getPixelSize(this.size);
|
|
2551
2551
|
return { width: `${t}px`, minWidth: `${t}px`, height: `${t}px`, minHeight: `${t}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
2552
2552
|
} }, methods: { getPixelSize() {
|
|
2553
|
-
return this.customSize ? this.customSize :
|
|
2553
|
+
return this.customSize ? this.customSize : B2[this.size];
|
|
2554
2554
|
} } });
|
|
2555
|
-
const
|
|
2555
|
+
const b3 = A({ render: function() {
|
|
2556
2556
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2557
2557
|
return t("div", { staticClass: "bimdata-paginated-list" }, [e.loading ? t("BIMDataSpinner") : t("div", [e._t("header"), e._v(" "), t("ul", { staticClass: "bimdata-list bimdata-paginated-list__elements" }, e._l(e.page, function(i) {
|
|
2558
2558
|
return t("li", { key: e.elementKey ? i[e.elementKey] : i, on: { click: function(n) {
|
|
@@ -2602,15 +2602,15 @@ const p3 = A({ render: function() {
|
|
|
2602
2602
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
2603
2603
|
}, staticRenderFns: [] }, function(e) {
|
|
2604
2604
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
2605
|
-
},
|
|
2605
|
+
}, R2("Chevron", p3), "data-v-20c38c94", !1, void 0, !1, Y, void 0, void 0), BIMDataIconDoubleChevron: A({ render: function() {
|
|
2606
2606
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2607
2607
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("DoubleChevron")], 1);
|
|
2608
2608
|
}, staticRenderFns: [] }, function(e) {
|
|
2609
2609
|
e && (e("data-v-35e61558_0", { source: 'html[data-v-35e61558]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-35e61558_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
2610
|
-
},
|
|
2610
|
+
}, R2("DoubleChevron", A({ render: function() {
|
|
2611
2611
|
var e = this.$createElement;
|
|
2612
2612
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
2613
|
-
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1, Y, void 0, void 0), BIMDataButton:
|
|
2613
|
+
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1, Y, void 0, void 0), BIMDataButton: E2 }, 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"] }, "data-v-3c48ce0c", !1, void 0, !1, Y, void 0, void 0), BIMDataButton: E2 }, 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() {
|
|
2614
2614
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
2615
2615
|
}, lastIndex() {
|
|
2616
2616
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -2644,7 +2644,7 @@ const p3 = A({ render: function() {
|
|
|
2644
2644
|
}, deep: !0, immediate: !0 } }, methods: { onPageChange(e) {
|
|
2645
2645
|
this.currentPage = e;
|
|
2646
2646
|
} } }, "data-v-9848cfc8", !1, void 0, !1, Y, void 0, void 0);
|
|
2647
|
-
var
|
|
2647
|
+
var m3 = { 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() {
|
|
2648
2648
|
return (this.barStrokeWidth / 2 - 4) / (2 * this.barDistanceFromCenter * Math.PI) * 100;
|
|
2649
2649
|
}, center() {
|
|
2650
2650
|
return this.viewBoxSize / 2;
|
|
@@ -2670,7 +2670,7 @@ var g3 = { props: { barsData: { type: Array, default: () => [] }, barDistanceFro
|
|
|
2670
2670
|
const t = e > 50 ? 1 : 0, { x: i, y: n } = this.getPercentagePosition(e + r);
|
|
2671
2671
|
return `${t} 1 ${i},${n}`;
|
|
2672
2672
|
} } };
|
|
2673
|
-
function
|
|
2673
|
+
function _3(e, r, t, i, n, d, a, s, u, C) {
|
|
2674
2674
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
2675
2675
|
const o = typeof t == "function" ? t.options : t;
|
|
2676
2676
|
let c;
|
|
@@ -2692,16 +2692,16 @@ function b3(e, r, t, i, n, d, a, s, u, C) {
|
|
|
2692
2692
|
}
|
|
2693
2693
|
return t;
|
|
2694
2694
|
}
|
|
2695
|
-
const
|
|
2696
|
-
function
|
|
2695
|
+
const L3 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2696
|
+
function y3(e) {
|
|
2697
2697
|
return (r, t) => function(i, n) {
|
|
2698
|
-
const d =
|
|
2698
|
+
const d = L3 ? n.media || "default" : i, a = I2[d] || (I2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
2699
2699
|
if (!a.ids.has(i)) {
|
|
2700
2700
|
a.ids.add(i);
|
|
2701
2701
|
let s = n.source;
|
|
2702
2702
|
if (n.map && (s += `
|
|
2703
2703
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
2704
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
2704
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), S1 === void 0 && (S1 = document.head || document.getElementsByTagName("head")[0]), S1.appendChild(a.element)), "styleSheet" in a.element)
|
|
2705
2705
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
2706
2706
|
`);
|
|
2707
2707
|
else {
|
|
@@ -2711,16 +2711,16 @@ function _3(e) {
|
|
|
2711
2711
|
}
|
|
2712
2712
|
}(r, t);
|
|
2713
2713
|
}
|
|
2714
|
-
let
|
|
2715
|
-
const
|
|
2714
|
+
let S1;
|
|
2715
|
+
const I2 = {}, H3 = _3({ render: function() {
|
|
2716
2716
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2717
2717
|
return t("div", { ref: "container", staticClass: "bimdata-simple-pie-chart" }, [t("svg", { style: "--graph-draw-time: " + e.graphDrawTime + "s;", attrs: { viewBox: e.viewBox } }, [e.placeholder ? t("circle", { attrs: { cx: e.center, cy: e.center, r: e.barDistanceFromCenter, "stroke-width": e.placeholderStrokeWidth, stroke: e.placeholderColor, fill: "none" } }) : e._e(), e._v(" "), e._l(e.displayedBarsData, function(i, n) {
|
|
2718
2718
|
return t("g", { key: n }, [i.percentage > 0 ? t("path", { staticClass: "path", attrs: { d: e.getPath(i), "stroke-width": e.barStrokeWidth, stroke: i.color, fill: "none" } }) : e._e()]);
|
|
2719
2719
|
})], 2)]);
|
|
2720
2720
|
}, staticRenderFns: [] }, function(e) {
|
|
2721
2721
|
e && e("data-v-1694cb3a_0", { source: ".bimdata-simple-pie-chart[data-v-1694cb3a]{position:relative}.bimdata-simple-pie-chart .path[data-v-1694cb3a]{stroke-dasharray:1000;stroke-dashoffset:1000;animation:dash-data-v-1694cb3a var(--graph-draw-time,2s) ease-in forwards}@keyframes dash-data-v-1694cb3a{to{stroke-dashoffset:0}}", map: void 0, media: void 0 });
|
|
2722
|
-
},
|
|
2723
|
-
var
|
|
2722
|
+
}, m3, "data-v-1694cb3a", !1, void 0, !1, y3, void 0, void 0);
|
|
2723
|
+
var V3 = function() {
|
|
2724
2724
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2725
2725
|
return t("div", {
|
|
2726
2726
|
staticClass: "bcf-statistics"
|
|
@@ -2768,11 +2768,11 @@ var y3 = function() {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
}])
|
|
2770
2770
|
})], 1)], 1)]);
|
|
2771
|
-
},
|
|
2772
|
-
const
|
|
2771
|
+
}, M3 = [];
|
|
2772
|
+
const x3 = {
|
|
2773
2773
|
components: {
|
|
2774
|
-
BIMDataPaginatedList:
|
|
2775
|
-
BIMDataSimplePieChart:
|
|
2774
|
+
BIMDataPaginatedList: b3,
|
|
2775
|
+
BIMDataSimplePieChart: H3
|
|
2776
2776
|
},
|
|
2777
2777
|
props: {
|
|
2778
2778
|
detailedExtensions: {
|
|
@@ -2792,12 +2792,12 @@ const V3 = {
|
|
|
2792
2792
|
chartData: w(() => {
|
|
2793
2793
|
if (e.topics.length === 0)
|
|
2794
2794
|
return [];
|
|
2795
|
-
const t = K(e.extensionType), i =
|
|
2795
|
+
const t = K(e.extensionType), i = Re(e.extensionType, e.detailedExtensions);
|
|
2796
2796
|
return i.push({ [t]: void 0 }), i.map((n) => {
|
|
2797
2797
|
const d = e.topics.filter((a) => a[t] === n[t]).length;
|
|
2798
2798
|
return {
|
|
2799
2799
|
label: n[t],
|
|
2800
|
-
color: `#${n.color ??
|
|
2800
|
+
color: `#${n.color ?? t2}`,
|
|
2801
2801
|
count: d,
|
|
2802
2802
|
percentage: d * 100 / e.topics.length
|
|
2803
2803
|
};
|
|
@@ -2805,25 +2805,25 @@ const V3 = {
|
|
|
2805
2805
|
})
|
|
2806
2806
|
};
|
|
2807
2807
|
}
|
|
2808
|
-
},
|
|
2809
|
-
var
|
|
2808
|
+
}, S2 = {};
|
|
2809
|
+
var Z3 = /* @__PURE__ */ D(
|
|
2810
|
+
x3,
|
|
2810
2811
|
V3,
|
|
2811
|
-
|
|
2812
|
-
H3,
|
|
2812
|
+
M3,
|
|
2813
2813
|
!1,
|
|
2814
|
-
|
|
2814
|
+
w3,
|
|
2815
2815
|
"5d698b7f",
|
|
2816
2816
|
null,
|
|
2817
2817
|
null
|
|
2818
2818
|
);
|
|
2819
|
-
function
|
|
2820
|
-
for (let r in
|
|
2821
|
-
this[r] =
|
|
2819
|
+
function w3(e) {
|
|
2820
|
+
for (let r in S2)
|
|
2821
|
+
this[r] = S2[r];
|
|
2822
2822
|
}
|
|
2823
|
-
const
|
|
2824
|
-
return
|
|
2823
|
+
const k3 = /* @__PURE__ */ function() {
|
|
2824
|
+
return Z3.exports;
|
|
2825
2825
|
}();
|
|
2826
|
-
var
|
|
2826
|
+
var $3 = { 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() {
|
|
2827
2827
|
this.observer = new ResizeObserver(() => this.computeText()), this.observer.observe(this.$refs.textBox), this.computeText();
|
|
2828
2828
|
}, beforeUnmount() {
|
|
2829
2829
|
this.observer.disconnect();
|
|
@@ -2833,7 +2833,7 @@ var w3 = { props: { width: { type: String, default: "100%" }, minWidth: { type:
|
|
|
2833
2833
|
const e = this.$props.text, r = this.$refs.textHead;
|
|
2834
2834
|
r && (this.textHead = e, this.textTail = "", await this.$nextTick(), this.isOverflowing = r.clientWidth < r.scrollWidth, this.isOverflowing && this.$props.cutPosition === "middle" && (this.textTail = e));
|
|
2835
2835
|
} } };
|
|
2836
|
-
function
|
|
2836
|
+
function F3(e, r, t, i, n, d, a, s, u, C) {
|
|
2837
2837
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
2838
2838
|
const o = typeof t == "function" ? t.options : t;
|
|
2839
2839
|
let c;
|
|
@@ -2855,16 +2855,16 @@ function k3(e, r, t, i, n, d, a, s, u, C) {
|
|
|
2855
2855
|
}
|
|
2856
2856
|
return t;
|
|
2857
2857
|
}
|
|
2858
|
-
const
|
|
2859
|
-
function
|
|
2858
|
+
const D3 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2859
|
+
function E3(e) {
|
|
2860
2860
|
return (r, t) => function(i, n) {
|
|
2861
|
-
const d =
|
|
2861
|
+
const d = D3 ? n.media || "default" : i, a = T2[d] || (T2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
2862
2862
|
if (!a.ids.has(i)) {
|
|
2863
2863
|
a.ids.add(i);
|
|
2864
2864
|
let s = n.source;
|
|
2865
2865
|
if (n.map && (s += `
|
|
2866
2866
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
2867
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
2867
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), T1 === void 0 && (T1 = document.head || document.getElementsByTagName("head")[0]), T1.appendChild(a.element)), "styleSheet" in a.element)
|
|
2868
2868
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
2869
2869
|
`);
|
|
2870
2870
|
else {
|
|
@@ -2874,8 +2874,8 @@ function F3(e) {
|
|
|
2874
2874
|
}
|
|
2875
2875
|
}(r, t);
|
|
2876
2876
|
}
|
|
2877
|
-
let
|
|
2878
|
-
const
|
|
2877
|
+
let T1;
|
|
2878
|
+
const T2 = {}, f1 = F3({ render: function() {
|
|
2879
2879
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2880
2880
|
return t("div", { ref: "textBox", staticClass: "bimdata-textbox", style: { width: e.width, minWidth: e.minWidth, maxWidth: e.maxWidth }, on: { mouseenter: function(i) {
|
|
2881
2881
|
e.showTooltip = !0;
|
|
@@ -2886,8 +2886,8 @@ const R2 = {}, o1 = k3({ render: function() {
|
|
|
2886
2886
|
`)]) : e._e()]);
|
|
2887
2887
|
}, staticRenderFns: [] }, function(e) {
|
|
2888
2888
|
e && e("data-v-79e3dcf0_0", { source: 'html[data-v-79e3dcf0]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-textbox[data-v-79e3dcf0]{display:inline-flex;position:relative}.bimdata-textbox__text--head[data-v-79e3dcf0]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bimdata-textbox__text--tail[data-v-79e3dcf0]{width:50%;white-space:nowrap;overflow:hidden;text-overflow:"";direction:rtl}.bimdata-textbox__tooltip[data-v-79e3dcf0]{position:absolute;z-index:2;min-width:60px;max-width:200px;width:max-content;padding:calc(var(--spacing-unit)/ 3) calc(var(--spacing-unit)/ 2);border-radius:3px;text-align:center;white-space:normal;word-wrap:break-word}.bimdata-textbox__tooltip[data-v-79e3dcf0]::before{content:"";position:absolute;border-style:solid;border-width:8px 0 0 8px}.bimdata-textbox__tooltip--white[data-v-79e3dcf0]{background-color:var(--color-white);color:var(--color-primary)}.bimdata-textbox__tooltip--white[data-v-79e3dcf0]::before{border-color:var(--color-white) transparent transparent}.bimdata-textbox__tooltip--primary[data-v-79e3dcf0]{background-color:var(--color-primary);color:var(--color-white)}.bimdata-textbox__tooltip--primary[data-v-79e3dcf0]::before{border-color:var(--color-primary) transparent transparent}.bimdata-textbox__tooltip--secondary[data-v-79e3dcf0]{background-color:#f9c72c;color:#2f374a}.bimdata-textbox__tooltip--secondary[data-v-79e3dcf0]::before{border-color:var(--color-secondary) transparent transparent}.bimdata-textbox__tooltip--granite-light[data-v-79e3dcf0]{background-color:var(--color-granite-light);color:var(--color-white)}.bimdata-textbox__tooltip--granite-light[data-v-79e3dcf0]::before{border-color:var(--color-granite-light) transparent transparent}.bimdata-textbox__tooltip--silver-light[data-v-79e3dcf0]{background-color:var(--color-silver-light);color:var(--color-primary)}.bimdata-textbox__tooltip--silver-light[data-v-79e3dcf0]::before{border-color:var(--color-silver-light) transparent transparent}.bimdata-textbox__tooltip--top[data-v-79e3dcf0]{top:-8px;left:50%;transform:translateX(-50%) translateY(-100%)}.bimdata-textbox__tooltip--top[data-v-79e3dcf0]::before{top:calc(100% - 4px);left:calc(50% - 4px);transform:rotate(135deg)}.bimdata-textbox__tooltip--right[data-v-79e3dcf0]{top:50%;left:calc(100% + 8px);transform:translateY(-50%)}.bimdata-textbox__tooltip--right[data-v-79e3dcf0]::before{top:calc(50% - 4px);left:-4px;transform:rotate(-135deg)}.bimdata-textbox__tooltip--bottom[data-v-79e3dcf0]{top:calc(100% + 8px);left:50%;transform:translateX(-50%)}.bimdata-textbox__tooltip--bottom[data-v-79e3dcf0]::before{top:-4px;left:calc(50% - 4px);transform:rotate(-45deg)}.bimdata-textbox__tooltip--left[data-v-79e3dcf0]{top:50%;left:-8px;transform:translateX(-100%) translateY(-50%)}.bimdata-textbox__tooltip--left[data-v-79e3dcf0]::before{top:calc(50% - 4px);left:calc(100% - 4px);transform:rotate(45deg)}', map: void 0, media: void 0 });
|
|
2889
|
-
},
|
|
2890
|
-
var
|
|
2889
|
+
}, $3, "data-v-79e3dcf0", !1, void 0, !1, E3, void 0, void 0);
|
|
2890
|
+
var B3 = function() {
|
|
2891
2891
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2892
2892
|
return t("svg", {
|
|
2893
2893
|
attrs: {
|
|
@@ -2993,26 +2993,26 @@ var D3 = function() {
|
|
|
2993
2993
|
d: "M44.5331 12.5242L40.1864 11.3595L40.4452 10.3936L44.7919 11.5582L44.5331 12.5242Z"
|
|
2994
2994
|
}
|
|
2995
2995
|
})]);
|
|
2996
|
-
},
|
|
2997
|
-
const
|
|
2998
|
-
var
|
|
2996
|
+
}, R3 = [];
|
|
2997
|
+
const I3 = {}, O2 = {};
|
|
2998
|
+
var S3 = /* @__PURE__ */ D(
|
|
2999
|
+
I3,
|
|
2999
3000
|
B3,
|
|
3000
|
-
|
|
3001
|
-
E3,
|
|
3001
|
+
R3,
|
|
3002
3002
|
!1,
|
|
3003
|
-
|
|
3003
|
+
T3,
|
|
3004
3004
|
null,
|
|
3005
3005
|
null,
|
|
3006
3006
|
null
|
|
3007
3007
|
);
|
|
3008
|
-
function
|
|
3009
|
-
for (let r in
|
|
3010
|
-
this[r] =
|
|
3008
|
+
function T3(e) {
|
|
3009
|
+
for (let r in O2)
|
|
3010
|
+
this[r] = O2[r];
|
|
3011
3011
|
}
|
|
3012
|
-
const
|
|
3013
|
-
return
|
|
3012
|
+
const n2 = /* @__PURE__ */ function() {
|
|
3013
|
+
return S3.exports;
|
|
3014
3014
|
}();
|
|
3015
|
-
var
|
|
3015
|
+
var O3 = function() {
|
|
3016
3016
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3017
3017
|
return t("div", {
|
|
3018
3018
|
staticClass: "bcf-topic-card",
|
|
@@ -3119,13 +3119,13 @@ var S3 = function() {
|
|
|
3119
3119
|
}
|
|
3120
3120
|
}
|
|
3121
3121
|
}, [e._v(" " + e._s(e.$t("BcfComponents.BcfTopicCard.see")) + " ")])], 1)])]);
|
|
3122
|
-
},
|
|
3123
|
-
const
|
|
3122
|
+
}, z3 = [];
|
|
3123
|
+
const P3 = {
|
|
3124
3124
|
components: {
|
|
3125
|
-
BcfTopicDefaultImage:
|
|
3126
|
-
BIMDataButton:
|
|
3127
|
-
BIMDataIcon:
|
|
3128
|
-
BIMDataTextbox:
|
|
3125
|
+
BcfTopicDefaultImage: n2,
|
|
3126
|
+
BIMDataButton: S,
|
|
3127
|
+
BIMDataIcon: T,
|
|
3128
|
+
BIMDataTextbox: f1
|
|
3129
3129
|
},
|
|
3130
3130
|
props: {
|
|
3131
3131
|
detailedExtensions: {
|
|
@@ -3147,7 +3147,7 @@ const O3 = {
|
|
|
3147
3147
|
},
|
|
3148
3148
|
emits: ["open-topic", "update:selected"],
|
|
3149
3149
|
setup(e) {
|
|
3150
|
-
const r = L(!1), t = w(() => G(e.topic, e.detailedExtensions)), i = w(() =>
|
|
3150
|
+
const r = L(!1), t = w(() => G(e.topic, e.detailedExtensions)), i = w(() => i2(e.topic, e.detailedExtensions)), n = w(() => {
|
|
3151
3151
|
var a, s;
|
|
3152
3152
|
return (s = (a = e.topic.viewpoints) == null ? void 0 : a.filter((u) => u.snapshot)[0]) == null ? void 0 : s.snapshot.snapshot_data;
|
|
3153
3153
|
}), d = w(() => {
|
|
@@ -3162,28 +3162,28 @@ const O3 = {
|
|
|
3162
3162
|
topicImage: n,
|
|
3163
3163
|
topicObjects: d,
|
|
3164
3164
|
// Methods
|
|
3165
|
-
adjustTextColor:
|
|
3165
|
+
adjustTextColor: x1
|
|
3166
3166
|
};
|
|
3167
3167
|
}
|
|
3168
|
-
},
|
|
3169
|
-
var
|
|
3168
|
+
}, z2 = {};
|
|
3169
|
+
var N3 = /* @__PURE__ */ D(
|
|
3170
|
+
P3,
|
|
3170
3171
|
O3,
|
|
3171
|
-
|
|
3172
|
-
T3,
|
|
3172
|
+
z3,
|
|
3173
3173
|
!1,
|
|
3174
|
-
|
|
3174
|
+
A3,
|
|
3175
3175
|
"20cf0758",
|
|
3176
3176
|
null,
|
|
3177
3177
|
null
|
|
3178
3178
|
);
|
|
3179
|
-
function
|
|
3180
|
-
for (let r in
|
|
3181
|
-
this[r] =
|
|
3179
|
+
function A3(e) {
|
|
3180
|
+
for (let r in z2)
|
|
3181
|
+
this[r] = z2[r];
|
|
3182
3182
|
}
|
|
3183
|
-
const
|
|
3184
|
-
return
|
|
3183
|
+
const j3 = /* @__PURE__ */ function() {
|
|
3184
|
+
return N3.exports;
|
|
3185
3185
|
}();
|
|
3186
|
-
var
|
|
3186
|
+
var U3 = function() {
|
|
3187
3187
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3188
3188
|
return t("svg", {
|
|
3189
3189
|
attrs: {
|
|
@@ -3250,26 +3250,26 @@ var A3 = function() {
|
|
|
3250
3250
|
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"
|
|
3251
3251
|
}
|
|
3252
3252
|
})]);
|
|
3253
|
-
},
|
|
3254
|
-
const
|
|
3255
|
-
var
|
|
3253
|
+
}, q3 = [];
|
|
3254
|
+
const Y3 = {}, P2 = {};
|
|
3255
|
+
var W3 = /* @__PURE__ */ D(
|
|
3256
|
+
Y3,
|
|
3256
3257
|
U3,
|
|
3257
|
-
|
|
3258
|
-
j3,
|
|
3258
|
+
q3,
|
|
3259
3259
|
!1,
|
|
3260
|
-
|
|
3260
|
+
X3,
|
|
3261
3261
|
null,
|
|
3262
3262
|
null,
|
|
3263
3263
|
null
|
|
3264
3264
|
);
|
|
3265
|
-
function
|
|
3266
|
-
for (let r in
|
|
3267
|
-
this[r] =
|
|
3265
|
+
function X3(e) {
|
|
3266
|
+
for (let r in P2)
|
|
3267
|
+
this[r] = P2[r];
|
|
3268
3268
|
}
|
|
3269
|
-
const
|
|
3270
|
-
return
|
|
3269
|
+
const K3 = /* @__PURE__ */ function() {
|
|
3270
|
+
return W3.exports;
|
|
3271
3271
|
}();
|
|
3272
|
-
var
|
|
3272
|
+
var J3 = function() {
|
|
3273
3273
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3274
3274
|
return t("div", {
|
|
3275
3275
|
staticClass: "bcf-topic-creation-card"
|
|
@@ -3297,31 +3297,31 @@ var X3 = function() {
|
|
|
3297
3297
|
color: "default"
|
|
3298
3298
|
}
|
|
3299
3299
|
})], 1)], 1);
|
|
3300
|
-
},
|
|
3301
|
-
const
|
|
3300
|
+
}, G3 = [];
|
|
3301
|
+
const Q3 = {
|
|
3302
3302
|
components: {
|
|
3303
|
-
BcfTopicCreationCardImage:
|
|
3304
|
-
BIMDataButton:
|
|
3305
|
-
BIMDataIcon:
|
|
3303
|
+
BcfTopicCreationCardImage: K3,
|
|
3304
|
+
BIMDataButton: S,
|
|
3305
|
+
BIMDataIcon: T
|
|
3306
3306
|
},
|
|
3307
3307
|
emits: ["create-topic"]
|
|
3308
|
-
},
|
|
3309
|
-
var
|
|
3308
|
+
}, N2 = {};
|
|
3309
|
+
var e9 = /* @__PURE__ */ D(
|
|
3310
|
+
Q3,
|
|
3310
3311
|
J3,
|
|
3311
|
-
|
|
3312
|
-
K3,
|
|
3312
|
+
G3,
|
|
3313
3313
|
!1,
|
|
3314
|
-
|
|
3314
|
+
t9,
|
|
3315
3315
|
"3657ee44",
|
|
3316
3316
|
null,
|
|
3317
3317
|
null
|
|
3318
3318
|
);
|
|
3319
|
-
function
|
|
3320
|
-
for (let r in
|
|
3321
|
-
this[r] =
|
|
3319
|
+
function t9(e) {
|
|
3320
|
+
for (let r in N2)
|
|
3321
|
+
this[r] = N2[r];
|
|
3322
3322
|
}
|
|
3323
|
-
const
|
|
3324
|
-
return
|
|
3323
|
+
const r9 = /* @__PURE__ */ function() {
|
|
3324
|
+
return e9.exports;
|
|
3325
3325
|
}();
|
|
3326
3326
|
let W = class {
|
|
3327
3327
|
constructor(r, t, i, n, d = !1, a = !1, s = "") {
|
|
@@ -3372,7 +3372,7 @@ let W = class {
|
|
|
3372
3372
|
return t < 10 ? `0${t}` : `${t}`;
|
|
3373
3373
|
}
|
|
3374
3374
|
};
|
|
3375
|
-
var
|
|
3375
|
+
var i9 = new W("German", ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."]), i1 = new W("English", ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]), a9 = new W("Spanish", ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"]), n9 = new W("French", ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], ["Jan", "Fév", "Mar", "Avr", "Mai", "Juin", "Juil", "Août", "Sep", "Oct", "Nov", "Déc"], ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]), o9 = new W("Italian", ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"]), l9 = new W("Dutch", ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"]), d9 = new W("Norwegian", ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], ["Jan", "Feb", "Mar", "Apr", "Mai", "Juni", "Juli", "Aug", "Sep", "Okt", "Nov", "Des"], ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"]), A2 = { de: i9, en: i1, es: a9, fr: n9, it: o9, nl: l9, no: d9 };
|
|
3376
3376
|
function f(e, r, t, i, n, d, a, s, u, C) {
|
|
3377
3377
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
3378
3378
|
const o = typeof t == "function" ? t.options : t;
|
|
@@ -3395,7 +3395,7 @@ function f(e, r, t, i, n, d, a, s, u, C) {
|
|
|
3395
3395
|
}
|
|
3396
3396
|
return t;
|
|
3397
3397
|
}
|
|
3398
|
-
var
|
|
3398
|
+
var j2 = { addFile: f({ render: function() {
|
|
3399
3399
|
var e = this.$createElement;
|
|
3400
3400
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
3401
3401
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: f({ render: function() {
|
|
@@ -3859,28 +3859,28 @@ var P2 = { addFile: f({ render: function() {
|
|
|
3859
3859
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), viewer3dPolychrome: f({ render: function() {
|
|
3860
3860
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3861
3861
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
3862
|
-
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) },
|
|
3863
|
-
const
|
|
3864
|
-
var
|
|
3862
|
+
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, s9 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
3863
|
+
const U2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
3864
|
+
var c9 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
3865
3865
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
3866
|
-
}(
|
|
3866
|
+
}(j2) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(j2).includes(e) }, color: { type: String, default: "default", validator: (e) => s9.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(U2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
3867
3867
|
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 };
|
|
3868
3868
|
}, style() {
|
|
3869
3869
|
const e = this.getPixelSize(this.size);
|
|
3870
3870
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
3871
3871
|
} }, methods: { getPixelSize() {
|
|
3872
|
-
return this.customSize ? this.customSize :
|
|
3872
|
+
return this.customSize ? this.customSize : U2[this.size];
|
|
3873
3873
|
} } };
|
|
3874
|
-
const
|
|
3875
|
-
function
|
|
3874
|
+
const u9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
3875
|
+
function o2(e) {
|
|
3876
3876
|
return (r, t) => function(i, n) {
|
|
3877
|
-
const d =
|
|
3877
|
+
const d = u9 ? n.media || "default" : i, a = q2[d] || (q2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
3878
3878
|
if (!a.ids.has(i)) {
|
|
3879
3879
|
a.ids.add(i);
|
|
3880
3880
|
let s = n.source;
|
|
3881
3881
|
if (n.map && (s += `
|
|
3882
3882
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
3883
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
3883
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), O1 === void 0 && (O1 = document.head || document.getElementsByTagName("head")[0]), O1.appendChild(a.element)), "styleSheet" in a.element)
|
|
3884
3884
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
3885
3885
|
`);
|
|
3886
3886
|
else {
|
|
@@ -3890,26 +3890,26 @@ function a2(e) {
|
|
|
3890
3890
|
}
|
|
3891
3891
|
}(r, t);
|
|
3892
3892
|
}
|
|
3893
|
-
let
|
|
3894
|
-
const
|
|
3893
|
+
let O1;
|
|
3894
|
+
const q2 = {}, l2 = f({ render: function() {
|
|
3895
3895
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3896
3896
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
3897
3897
|
}, staticRenderFns: [] }, function(e) {
|
|
3898
3898
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
3899
|
-
},
|
|
3900
|
-
var
|
|
3901
|
-
const
|
|
3899
|
+
}, c9, "data-v-198621a2", !1, void 0, !1, o2, void 0, void 0);
|
|
3900
|
+
var f9 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]);
|
|
3901
|
+
const Te = f({ render: function() {
|
|
3902
3902
|
var e = this, r = e.$createElement;
|
|
3903
3903
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
3904
3904
|
return e.$emit("click", t);
|
|
3905
3905
|
} } }, [e._t("default")], 2);
|
|
3906
3906
|
}, staticRenderFns: [] }, function(e) {
|
|
3907
3907
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
3908
|
-
}, { 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) =>
|
|
3908
|
+
}, { 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) => f9.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
3909
3909
|
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 };
|
|
3910
3910
|
}, style() {
|
|
3911
3911
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
3912
|
-
} } }, "data-v-7af18892", !1, void 0, !1,
|
|
3912
|
+
} } }, "data-v-7af18892", !1, void 0, !1, o2, void 0, void 0), C9 = { useUtc: !1, getFullYear(e) {
|
|
3913
3913
|
return this.useUtc ? e.getUTCFullYear() : e.getFullYear();
|
|
3914
3914
|
}, getMonth(e) {
|
|
3915
3915
|
return this.useUtc ? e.getUTCMonth() : e.getMonth();
|
|
@@ -3941,8 +3941,8 @@ const Be = f({ render: function() {
|
|
|
3941
3941
|
throw TypeError("Invalid Type");
|
|
3942
3942
|
return r[this.getDay(e)];
|
|
3943
3943
|
}, getDayFromAbbr(e) {
|
|
3944
|
-
for (let r = 0; r <
|
|
3945
|
-
if (e.toLowerCase() ===
|
|
3944
|
+
for (let r = 0; r < i1.days.length; r += 1)
|
|
3945
|
+
if (e.toLowerCase() === i1.days[r].toLowerCase())
|
|
3946
3946
|
return r;
|
|
3947
3947
|
throw TypeError("Invalid week day");
|
|
3948
3948
|
}, getMonthName(e, r) {
|
|
@@ -3976,10 +3976,10 @@ const Be = f({ render: function() {
|
|
|
3976
3976
|
default:
|
|
3977
3977
|
return "th";
|
|
3978
3978
|
}
|
|
3979
|
-
}, formatDate(e, r, t =
|
|
3979
|
+
}, formatDate(e, r, t = i1) {
|
|
3980
3980
|
const i = this.getFullYear(e), n = this.getMonth(e) + 1, d = this.getDate(e), a = { d, dd: `0${d}`.slice(-2), E: this.getDayNameAbbr(e, t.days), o: this.getNthSuffix(this.getDate(e)), M: n, MM: `0${n}`.slice(-2), MMM: this.getMonthNameAbbr(this.getMonth(e), t.monthsAbbr), MMMM: this.getMonthName(this.getMonth(e), t.months), yy: String(i).slice(2), yyyy: i };
|
|
3981
3981
|
return r.replace(/y{4}|y{2}|M{1,4}|d{1,2}|o|E/g, (s) => a[s]);
|
|
3982
|
-
}, parseDate(e, r, t =
|
|
3982
|
+
}, parseDate(e, r, t = i1, i = null) {
|
|
3983
3983
|
if (!e || !r)
|
|
3984
3984
|
return e;
|
|
3985
3985
|
if (i)
|
|
@@ -4026,8 +4026,8 @@ const Be = f({ render: function() {
|
|
|
4026
4026
|
}, getNewDateObject(e) {
|
|
4027
4027
|
return e ? this.resetDateTime(new Date(e)) : this.resetDateTime(new Date());
|
|
4028
4028
|
} };
|
|
4029
|
-
var
|
|
4030
|
-
const
|
|
4029
|
+
var w1 = (e) => ({ ...C9, useUtc: e });
|
|
4030
|
+
const d2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, bootstrapStyling: { type: Boolean, default: !1 }, clearButton: { type: Boolean, default: !1 }, clearButtonIcon: { type: String, default: "" }, calendarButton: { type: Boolean, default: !1 }, calendarButtonIcon: { type: String, default: "" }, calendarButtonIconContent: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, format: { type: [String, Function], default: "dd MMM yyyy" }, id: { type: String, default: null }, inline: { type: Boolean, default: !1 }, inputClass: { type: [String, Object, Array], default: null }, maxlength: { type: [Number, String], default: null }, name: { type: String, default: null }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, parser: { type: Function, default: null }, pattern: { type: String, default: null }, placeholder: { type: String, default: null }, refName: { type: String, default: "" }, required: { type: Boolean, default: !1 }, showCalendarOnButtonClick: { type: Boolean, default: !1 }, showCalendarOnFocus: { type: Boolean, default: !1 }, tabIndex: { type: [Number, String], default: null }, typeable: { type: Boolean, default: !1 }, useUtc: { type: Boolean, default: !1 } } }, void 0, void 0, void 0, !1, void 0, void 0, void 0), h9 = f({ render: function() {
|
|
4031
4031
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4032
4032
|
return t("div", { class: { "not-empty": e.formattedValue } }, [e._t("beforeDateInput"), e._v(" "), e.calendarButton ? t("button", { ref: "calendarButton", staticClass: "bimdata-datepicker__calendar-button", attrs: { disabled: e.disabled, type: "button" }, on: { click: function(i) {
|
|
4033
4033
|
return e.toggle("calendarButton");
|
|
@@ -4056,8 +4056,8 @@ const o2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4056
4056
|
}] } }), e._v(" "), e.clearButton && e.selectedDate ? t("BIMDataButton", { staticClass: "bimdata-datepicker__clear-button", attrs: { disabled: e.disabled, color: "primary", fill: "", square: "", icon: "" }, on: { click: e.clearDate } }, [e._t("clearBtn", function() {
|
|
4057
4057
|
return [t("BIMDataIcon", { attrs: { name: "delete", size: "xxxs", fill: "", color: "default" } })];
|
|
4058
4058
|
})], 2) : e._e(), e._v(" "), e._t("afterDateInput")], 2);
|
|
4059
|
-
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon:
|
|
4060
|
-
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils:
|
|
4059
|
+
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon: l2, BIMDataButton: Te }, mixins: [d2], props: { isOpen: { type: Boolean, default: !1 }, selectedDate: { type: Date, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
4060
|
+
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils: w1(this.useUtc) };
|
|
4061
4061
|
}, computed: { computedInputClass() {
|
|
4062
4062
|
return this.inputClass;
|
|
4063
4063
|
}, formattedValue() {
|
|
@@ -4117,7 +4117,7 @@ const o2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4117
4117
|
return new Date(this.utils.parseDate(this.input.value.trim(), this.format, this.translation, this.parser));
|
|
4118
4118
|
}, toggle(e) {
|
|
4119
4119
|
this.isOpen && this.$emit("set-focus", [e || "input"]), this.$emit(this.isOpen ? "close" : "open");
|
|
4120
|
-
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0),
|
|
4120
|
+
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0), v9 = f({ render: function() {
|
|
4121
4121
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4122
4122
|
return t("div", { class: { "not-empty": e.formattedValue } }, [e._t("beforeDateInput"), e._v(" "), e.calendarButton ? t("button", { ref: "calendarButton", staticClass: "bimdata-datepicker__calendar-button", attrs: { disabled: e.disabled, type: "button" }, on: { click: function(i) {
|
|
4123
4123
|
return e.toggle("calendarButton");
|
|
@@ -4146,8 +4146,8 @@ const o2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4146
4146
|
}] } }), e._v(" "), e.clearButton && !e.noDateSelected ? t("BIMDataButton", { staticClass: "bimdata-datepicker__clear-button", attrs: { disabled: e.disabled, color: "primary", fill: "", square: "", icon: "" }, on: { click: e.clear } }, [e._t("clearBtn", function() {
|
|
4147
4147
|
return [t("BIMDataIcon", { attrs: { name: "delete", size: "xxxs", fill: "", color: "default" } })];
|
|
4148
4148
|
})], 2) : e._e(), e._v(" "), e._t("afterDateInput")], 2);
|
|
4149
|
-
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon:
|
|
4150
|
-
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils:
|
|
4149
|
+
}, staticRenderFns: [] }, void 0, { name: "DateInput", components: { BIMDataIcon: l2, BIMDataButton: Te }, mixins: [d2], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
4150
|
+
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: w1(this.useUtc) };
|
|
4151
4151
|
}, computed: { computedInputClass() {
|
|
4152
4152
|
return this.inputClass;
|
|
4153
4153
|
}, formattedValue() {
|
|
@@ -4205,7 +4205,7 @@ const o2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4205
4205
|
return new Date(this.utils.parseDate(this.input.value.trim(), this.format, this.translation, this.parser));
|
|
4206
4206
|
}, toggle(e) {
|
|
4207
4207
|
this.isOpen && this.$emit("set-focus", [e || "input"]), this.$emit(this.isOpen ? "close" : "open");
|
|
4208
|
-
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0),
|
|
4208
|
+
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0), p9 = { configExists: (e) => e !== void 0 && Object.keys(e).length > 0, isDefined(e, r) {
|
|
4209
4209
|
return this.configExists(e) && e[r] !== void 0;
|
|
4210
4210
|
}, hasArray(e, r) {
|
|
4211
4211
|
return this.isDefined(e, r) && e[r].length > 0;
|
|
@@ -4218,13 +4218,13 @@ const o2 = f({}, void 0, { props: { autofocus: { type: Boolean, default: !1 }, b
|
|
|
4218
4218
|
const i = e[r];
|
|
4219
4219
|
return { day: t.getDate(i), month: t.getMonth(i), year: t.getFullYear(i) };
|
|
4220
4220
|
} };
|
|
4221
|
-
var
|
|
4221
|
+
var K1 = (e) => ({ ...p9, utils: e });
|
|
4222
4222
|
class U {
|
|
4223
4223
|
constructor(r, t) {
|
|
4224
4224
|
this._utils = r, this._disabledDates = t;
|
|
4225
4225
|
}
|
|
4226
4226
|
get config() {
|
|
4227
|
-
const r = this._disabledDates, t =
|
|
4227
|
+
const r = this._disabledDates, t = K1(this._utils);
|
|
4228
4228
|
return { exists: t.configExists(r), to: t.dayMonthYear(r, "to"), from: t.dayMonthYear(r, "from"), has: { customPredictor: t.isDefined(r, "customPredictor"), daysOfMonth: t.hasArray(r, "daysOfMonth"), daysOfWeek: t.hasArray(r, "days"), from: t.hasDate(r, "from"), ranges: t.hasArray(r, "ranges"), specificDates: t.hasArray(r, "dates"), to: t.hasDate(r, "to") } };
|
|
4229
4229
|
}
|
|
4230
4230
|
daysInMonth(r) {
|
|
@@ -4236,7 +4236,7 @@ class U {
|
|
|
4236
4236
|
return { to: () => i.to && r < t.to, from: () => i.from && r > t.from, range: () => {
|
|
4237
4237
|
if (!i.ranges)
|
|
4238
4238
|
return !1;
|
|
4239
|
-
const { ranges: n } = t, d =
|
|
4239
|
+
const { ranges: n } = t, d = K1(this._utils);
|
|
4240
4240
|
return n.some((a) => {
|
|
4241
4241
|
const s = d.isDefined(a, "from"), u = d.isDefined(a, "to");
|
|
4242
4242
|
return s && u && r < a.to && r > a.from;
|
|
@@ -4304,7 +4304,7 @@ class U {
|
|
|
4304
4304
|
return r;
|
|
4305
4305
|
}
|
|
4306
4306
|
}
|
|
4307
|
-
const
|
|
4307
|
+
const g9 = f({}, void 0, { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: null, isActive: !1, isRevertingToOpenDate: !1, navElements: [], navElementsFocusedIndex: 0, resetTabbableCell: !1, skipReviewFocus: !1, tabbableCell: null, transitionName: "" }), computed: { fallbackElementsToFocus() {
|
|
4308
4308
|
const e = ["tabbableCell", "prev", "next"];
|
|
4309
4309
|
return this.typeable && e.unshift("input"), e;
|
|
4310
4310
|
}, focusedDateTimestamp() {
|
|
@@ -4459,7 +4459,7 @@ const v9 = f({}, void 0, { data: () => ({ focus: { delay: 0, refs: [] }, inlineT
|
|
|
4459
4459
|
const e = this.hasClass(document.activeElement, "cell");
|
|
4460
4460
|
(!this.tabbableCell || e) && this.setTabbableCell();
|
|
4461
4461
|
} } }, void 0, void 0, void 0, !1, void 0, void 0, void 0);
|
|
4462
|
-
var
|
|
4462
|
+
var b9 = { components: { PickerHeader: f({ render: function() {
|
|
4463
4463
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4464
4464
|
return t("header", [e.$attrs.view === "day" ? t("button", { ref: "doublePrev", staticClass: "doublePrev", attrs: { disabled: e.isPreviousDisabled, type: "button" }, on: { click: function(i) {
|
|
4465
4465
|
return i.stopPropagation(), e.$emit("page-change", e.doublePreviousPage);
|
|
@@ -4510,7 +4510,7 @@ var p9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4510
4510
|
}] } }, [e._t("prevIntervalBtn", function() {
|
|
4511
4511
|
return [t("BIMDataIcon", { attrs: { name: "doubleChevron", size: "xxxs", fill: "", color: "default" } })];
|
|
4512
4512
|
})], 2) : e._e()], 2);
|
|
4513
|
-
}, staticRenderFns: [] }, void 0, { name: "PickerHeader", components: { BIMDataIcon:
|
|
4513
|
+
}, staticRenderFns: [] }, void 0, { name: "PickerHeader", components: { BIMDataIcon: l2 }, props: { isNextDisabled: { type: Boolean, required: !0 }, isPreviousDisabled: { type: Boolean, required: !0 } }, data: () => ({ previousPage: { incrementBy: -1, focusRefs: ["prev"] }, nextPage: { incrementBy: 1, focusRefs: ["next"] }, doublePreviousPage: { incrementBy: -12, focusRefs: ["doublePrev"] }, doubleNextPage: { incrementBy: 12, focusRefs: ["doubleNext"] } }), methods: { arrowLeftPrev() {
|
|
4514
4514
|
this.$emit("page-change", this.previousPage);
|
|
4515
4515
|
}, arrowRightPrev() {
|
|
4516
4516
|
this.$emit("set-focus", ["up", "next", "tabbableCell"]);
|
|
@@ -4521,7 +4521,7 @@ var p9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4521
4521
|
}, focusTabbableCell() {
|
|
4522
4522
|
this.$emit("set-focus", ["tabbableCell"]);
|
|
4523
4523
|
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, 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() {
|
|
4524
|
-
return { utils:
|
|
4524
|
+
return { utils: w1(this.useUtc) };
|
|
4525
4525
|
}, computed: { disabledConfig() {
|
|
4526
4526
|
return new U(this.utils, this.disabledDates).config;
|
|
4527
4527
|
}, earliestPossibleDate() {
|
|
@@ -4576,13 +4576,13 @@ var p9 = { components: { PickerHeader: f({ render: function() {
|
|
|
4576
4576
|
const r = this.getElement(e);
|
|
4577
4577
|
r && r.focus();
|
|
4578
4578
|
} } };
|
|
4579
|
-
const
|
|
4580
|
-
class
|
|
4579
|
+
const J1 = f({}, void 0, b9, void 0, void 0, void 0, !1, void 0, void 0, void 0);
|
|
4580
|
+
class Y2 {
|
|
4581
4581
|
constructor(r, t, i) {
|
|
4582
4582
|
this._utils = r, this._disabledDates = t, this._highlighted = i;
|
|
4583
4583
|
}
|
|
4584
4584
|
get config() {
|
|
4585
|
-
const r = this._highlighted, t =
|
|
4585
|
+
const r = this._highlighted, t = K1(this._utils);
|
|
4586
4586
|
return { exists: t.configExists(r), to: t.dayMonthYear(r, "to"), from: t.dayMonthYear(r, "from"), has: { customPredictor: t.isDefined(r, "customPredictor"), daysOfMonth: t.hasArray(r, "daysOfMonth"), daysOfWeek: t.hasArray(r, "days"), from: t.hasDate(r, "from"), specificDates: t.hasArray(r, "dates"), to: t.hasDate(r, "to"), includeDisabled: t.isDefined(r, "includeDisabled") && r.includeDisabled } };
|
|
4587
4587
|
}
|
|
4588
4588
|
isDateDisabled(r) {
|
|
@@ -4604,7 +4604,7 @@ class j2 {
|
|
|
4604
4604
|
return t.to() && t.from() || t.specificDate() || t.daysOfWeek() || t.daysOfMonth() || t.customPredictor();
|
|
4605
4605
|
}
|
|
4606
4606
|
}
|
|
4607
|
-
const
|
|
4607
|
+
const G1 = f({ render: function() {
|
|
4608
4608
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4609
4609
|
return t("div", { staticClass: "picker-cells" }, e._l(e.cells, function(i, n) {
|
|
4610
4610
|
return t("button", { key: i.timestamp, ref: i.isOpenDate ? "openDate" : null, refInFor: !0, class: e.cellClasses(i), attrs: { id: n, dataTestTabbableCell: e.isTabbableCell(i, n), dataTestOpenDate: i.isOpenDate, dataTestTodayCell: i.isToday, disabled: i.isDisabled, type: "button" }, on: { click: function(d) {
|
|
@@ -4629,7 +4629,7 @@ const K1 = f({ render: function() {
|
|
|
4629
4629
|
this.$emit("arrow", { cellId: e, delta: r });
|
|
4630
4630
|
}, isTabbableCell(e, r) {
|
|
4631
4631
|
return this.tabbableCellId ? r === this.tabbableCellId : e.isOpenDate;
|
|
4632
|
-
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0),
|
|
4632
|
+
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0), Q1 = f({ render: function() {
|
|
4633
4633
|
var e = this, r = e.$createElement;
|
|
4634
4634
|
return (e._self._c || r)("button", { staticClass: "bimdata-datepicker__up", attrs: { disabled: e.isDisabled, type: "button" }, on: { click: function(t) {
|
|
4635
4635
|
return e.$emit("select");
|
|
@@ -4643,7 +4643,7 @@ const K1 = f({ render: function() {
|
|
|
4643
4643
|
return !t.type.indexOf("key") && e._k(t.keyCode, "right", 39, t.key, ["Right", "ArrowRight"]) || "button" in t && t.button !== 2 ? null : (t.preventDefault(), e.$emit("set-focus"));
|
|
4644
4644
|
}] } }, [e._t("default")], 2);
|
|
4645
4645
|
}, staticRenderFns: [] }, void 0, { name: "UpButton", props: { isDisabled: { type: Boolean, default: !1 } } }, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
4646
|
-
var
|
|
4646
|
+
var m9 = { name: "PickerDay", components: { PickerCells: G1, UpButton: Q1 }, mixins: [J1], 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() {
|
|
4647
4647
|
const e = [], r = this.daysFromPrevMonth + this.daysInMonth + this.daysFromNextMonth, t = this.firstCellDate();
|
|
4648
4648
|
for (let i = 0; i < r; i += 1)
|
|
4649
4649
|
e.push(this.makeDay(i, t)), this.utils.setDate(t, this.utils.getDate(t) + 1);
|
|
@@ -4670,7 +4670,7 @@ var g9 = { name: "PickerDay", components: { PickerCells: K1, UpButton: J1 }, mix
|
|
|
4670
4670
|
const e = new Date(this.pageDate);
|
|
4671
4671
|
return new Date(this.utils.setMonth(e, this.utils.getMonth(e) + 1));
|
|
4672
4672
|
}, highlightedRange() {
|
|
4673
|
-
return this.selectedDate && !this.selectedToDate ? new
|
|
4673
|
+
return this.selectedDate && !this.selectedToDate ? new Y2(this.utils, this.disabledDates, { from: this.selectedDate, to: this.highlightedToDate }) : new Y2(this.utils, this.disabledDates, { from: this.selectedDate, to: this.selectedToDate });
|
|
4674
4674
|
}, isNextDisabled() {
|
|
4675
4675
|
return !!this.disabledConfig.has.from && this.disabledConfig.from.month <= this.pageMonth && this.disabledConfig.from.year <= this.pageYear;
|
|
4676
4676
|
}, isPreviousDisabled() {
|
|
@@ -4701,8 +4701,8 @@ var g9 = { name: "PickerDay", components: { PickerCells: K1, UpButton: J1 }, mix
|
|
|
4701
4701
|
const t = r >= this.firstOfNextMonth, i = r < this.pageDate, n = this.utils.getDay(r) === 6, d = this.utils.getDay(r) === 0, a = this.showEdgeDates || !(i || t);
|
|
4702
4702
|
return { date: a ? this.utils.getDate(r) : "", timestamp: r.valueOf(), isSelected: this.isSelectedDate(r), isDisabled: !a || this.isDisabledDate(r), isHighlighted: !!this.isDateRange && this.isHighlightedDate(r), isHighlightStart: !!this.isDateRange && this.isHighlightStart(r), isHighlightEnd: !!this.isDateRange && this.isHighlightEnd(r), isOpenDate: this.utils.compareDates(r, this.openDate), isToday: this.utils.compareDates(r, new Date()), isWeekend: n || d, isSaturday: n, isSunday: d, isPreviousMonth: i, isNextMonth: t };
|
|
4703
4703
|
} } };
|
|
4704
|
-
const
|
|
4705
|
-
var
|
|
4704
|
+
const _9 = ["beforeCalendarHeaderDay", "calendarFooterDay", "beforeCalendarHeaderMonth", "calendarFooterMonth", "beforeCalendarHeaderYear", "calendarFooterYear", "nextIntervalBtn", "prevIntervalBtn"];
|
|
4705
|
+
var L9 = { components: { DateInput: h9, DateInputRange: v9, PickerDay: f({ render: function() {
|
|
4706
4706
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4707
4707
|
return t("div", [e.$slots.beforeCalendarHeaderDay ? t("div", [e._t("beforeCalendarHeaderDay")], 2) : e._e(), e._v(" "), e.showHeader ? t("PickerHeader", { ref: "pickerHeader", attrs: { isNextDisabled: e.isNextDisabled, isPreviousDisabled: e.isPreviousDisabled, view: "day" }, on: { "focus-input": e.focusInput, "page-change": function(i) {
|
|
4708
4708
|
return e.changePage(i);
|
|
@@ -4736,7 +4736,7 @@ var m9 = { components: { DateInput: f9, DateInputRange: C9, PickerDay: f({ rende
|
|
|
4736
4736
|
`)];
|
|
4737
4737
|
}, { cell: n })];
|
|
4738
4738
|
} }], null, !0) })], 1)], 1)]), e._v(" "), e.$slots.calendarFooterDay ? t("div", [e._t("calendarFooterDay")], 2) : e._e()], 1);
|
|
4739
|
-
}, staticRenderFns: [] }, void 0,
|
|
4739
|
+
}, staticRenderFns: [] }, void 0, m9, void 0, !1, void 0, !1, void 0, void 0, void 0), PickerMonth: f({ render: function() {
|
|
4740
4740
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4741
4741
|
return t("div", [e.$slots.beforeCalendarHeaderMonth ? t("div", [e._t("beforeCalendarHeaderMonth")], 2) : e._e(), e._v(" "), e.showHeader ? t("PickerHeader", { ref: "pickerHeader", attrs: { isNextDisabled: e.isNextDisabled, isPreviousDisabled: e.isPreviousDisabled }, on: { "focus-input": e.focusInput, "page-change": function(i) {
|
|
4742
4742
|
return e.changePage(i);
|
|
@@ -4762,7 +4762,7 @@ var m9 = { components: { DateInput: f9, DateInputRange: C9, PickerDay: f({ rende
|
|
|
4762
4762
|
` + e._s(n.month) + `
|
|
4763
4763
|
`)];
|
|
4764
4764
|
} }]) })], 1)], 1), e._v(" "), e.$slots.calendarFooterMonth ? t("div", [e._t("calendarFooterMonth")], 2) : e._e()], 1);
|
|
4765
|
-
}, staticRenderFns: [] }, void 0, { name: "PickerMonth", components: { PickerCells:
|
|
4765
|
+
}, staticRenderFns: [] }, void 0, { name: "PickerMonth", components: { PickerCells: G1, UpButton: Q1 }, mixins: [J1], computed: { cells() {
|
|
4766
4766
|
const e = this.pageDate, r = [], t = this.useUtc ? new Date(Date.UTC(e.getUTCFullYear(), 0, e.getUTCDate())) : new Date(e.getFullYear(), 0, e.getDate(), e.getHours(), e.getMinutes()), i = new Date(this.utils.setDate(this.utils.getNewDateObject(), 1));
|
|
4767
4767
|
for (let n = 0; n < 12; n += 1)
|
|
4768
4768
|
r.push({ month: this.utils.getMonthName(n, this.translation.months), timestamp: t.valueOf(), isDisabled: this.isDisabledMonth(t), isOpenDate: this.isOpenMonth(t), isSelected: this.isSelectedMonth(t), isToday: this.utils.compareDates(t, i) }), this.utils.setMonth(t, this.utils.getMonth(t) + 1);
|
|
@@ -4806,7 +4806,7 @@ var m9 = { components: { DateInput: f9, DateInputRange: C9, PickerDay: f({ rende
|
|
|
4806
4806
|
` + e._s(n.year) + `
|
|
4807
4807
|
`)];
|
|
4808
4808
|
} }]) })], 1)], 1), e._v(" "), e.$slots.calendarFooterYear ? t("div", [e._t("calendarFooterYear")], 2) : e._e()], 1);
|
|
4809
|
-
}, staticRenderFns: [] }, void 0, { name: "PickerYear", components: { PickerCells:
|
|
4809
|
+
}, staticRenderFns: [] }, void 0, { name: "PickerYear", components: { PickerCells: G1, UpButton: Q1 }, mixins: [J1], props: { yearRange: { type: Number, default: 12 } }, computed: { cells() {
|
|
4810
4810
|
const e = this.pageDate, r = [], t = this.useUtc ? Math.floor(e.getUTCFullYear() / this.yearRange) * this.yearRange : Math.floor(e.getFullYear() / this.yearRange) * this.yearRange, i = this.useUtc ? new Date(Date.UTC(t, e.getUTCMonth(), e.getUTCDate())) : new Date(t, e.getMonth(), e.getDate(), e.getHours(), e.getMinutes()), n = this.utils.getFullYear(this.utils.getNewDateObject());
|
|
4811
4811
|
for (let a = 0; a < this.yearRange; a += 1)
|
|
4812
4812
|
r.push({ year: this.utils.getFullYear(i), timestamp: i.valueOf(), isDisabled: this.isDisabledYear(i), isOpenDate: this.isOpenYear(i), isSelected: this.isSelectedYear(i), isToday: i.getFullYear() === n }), this.utils.setFullYear(i, this.utils.getFullYear(i) + 1);
|
|
@@ -4832,11 +4832,11 @@ var m9 = { components: { DateInput: f9, DateInputRange: C9, PickerDay: f({ rende
|
|
|
4832
4832
|
}, isSelectedYear(e) {
|
|
4833
4833
|
const r = this.utils.getFullYear(e);
|
|
4834
4834
|
return this.selectedDate && r === this.utils.getFullYear(this.selectedDate);
|
|
4835
|
-
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, mixins: [
|
|
4836
|
-
const e =
|
|
4837
|
-
return { calendarHeight: 0, calendarSlots:
|
|
4835
|
+
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, mixins: [d2, g9], 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(A2).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() {
|
|
4836
|
+
const e = w1(this.useUtc), r = e.getNewDateObject(this.openDate || null), t = e.setDate(r, 1);
|
|
4837
|
+
return { calendarHeight: 0, calendarSlots: _9, isClickOutside: !1, globalDatepickerId: "", pageTimestamp: t, selectedDate: null, selectedToDate: null, slideDuration: 250, utils: e, view: "" };
|
|
4838
4838
|
}, computed: { lang() {
|
|
4839
|
-
return
|
|
4839
|
+
return A2[this.language];
|
|
4840
4840
|
}, style() {
|
|
4841
4841
|
return { width: `${this.width}` };
|
|
4842
4842
|
}, computedInitialView() {
|
|
@@ -4973,7 +4973,7 @@ var m9 = { components: { DateInput: f9, DateInputRange: C9, PickerDay: f({ rende
|
|
|
4973
4973
|
}, showNextViewDown(e) {
|
|
4974
4974
|
this.setPageDate(new Date(e.timestamp)), this.$emit(`changed-${this.view}`, e), this.setView(this.nextView.down);
|
|
4975
4975
|
}, ucFirst: (e) => e[0].toUpperCase() + e.substring(1) } };
|
|
4976
|
-
const
|
|
4976
|
+
const y9 = f({ render: function() {
|
|
4977
4977
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
4978
4978
|
return t("div", { ref: "datepicker", staticClass: "bimdata-datepicker", class: [e.wrapperClass], attrs: { id: e.datepickerId }, on: { focusin: function(i) {
|
|
4979
4979
|
return e.handleFocusIn(i);
|
|
@@ -5027,8 +5027,8 @@ const _9 = f({ render: function() {
|
|
|
5027
5027
|
} }], null, !0) }), e._v(" "), e.$slots.calendarFooter ? t("div", [e._t("calendarFooter")], 2) : e._e()], 1)])], 1)])], 1) : e._e()], 1);
|
|
5028
5028
|
}, staticRenderFns: [] }, function(e) {
|
|
5029
5029
|
e && (e("data-v-2245dbb6_0", { source: 'html[data-v-2245dbb6]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-2245dbb6_1", { source: '.slide-fade-up-enter-active,.slide-fade-up-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-up-enter,.slide-fade-up-enter-from,.slide-fade-up-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-down-enter-active,.slide-fade-down-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-down-enter,.slide-fade-down-enter-from,.slide-fade-down-leave-to{transform:translateY(10px);opacity:0}.slide-fade-left-enter-active,.slide-fade-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-left-enter,.slide-fade-left-enter-from,.slide-fade-left-leave-to{transform:translateX(-20px);opacity:0}.slide-fade-right-enter-active,.slide-fade-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-right-enter,.slide-fade-right-enter-from,.slide-fade-right-leave-to{transform:translateX(20px);opacity:0}.slide-right-enter-active,.slide-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-right-enter,.slide-right-enter-from,.slide-right-leave-to{transform:translateX(20px);opacity:0;position:absolute}.slide-left-enter-active,.slide-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-left-enter,.slide-left-enter-from,.slide-left-leave-to{transform:translateX(-20px);opacity:0;position:absolute}.fade-enter-active{transition:all .1s ease-out}.fade-leave-active{transition:all .1s ease-in}.fade-enter,.fade-enter-from,.fade-leave-to{opacity:0}.pop-enter-active{transition:all .4s cubic-bezier(.4,1.5,.56,1)}.pop-leave-active{transition:all .3s ease-in}.pop-enter,.pop-enter-from{transform:scale(.1);opacity:.4}.pop-enter-to,.pop-leave,.pop-leave-from{transform:scale(1);opacity:1}.pop-leave-to{transform:scale(.7);opacity:0}.list-enter-active{transition:all .3s ease-out}.list-leave-active{transition:all .2s ease-in}.list-move{transition:all .3s ease}.list-enter,.list-enter-from,.list-leave-to{opacity:0}.grid-enter-active{transition:all .5s ease-out}.grid-leave-active{transition:all .4s ease-in}.grid-move{transition:all .5s ease}.grid-enter,.grid-enter-from,.grid-leave-to{opacity:0}.page-enter-active,.page-leave-active{transition:all .5s ease}.page-enter,.page-enter-from,.page-leave-to{transform:translateX(-30%);opacity:0}.bimdata-datepicker{position:relative;text-align:left;box-sizing:border-box}.bimdata-datepicker>div{display:flex;position:relative}.bimdata-datepicker>div.not-empty label{top:-22px;color:var(--color-primary);font-size:10px}.bimdata-datepicker label{position:absolute;left:0;top:0;font-size:12px;transform:translateY(8px);transition:.2s ease all;color:var(--color-granite-light);cursor:pointer}.bimdata-datepicker input{width:100%;height:31.5px;border:none;border-bottom:1px solid var(--color-silver);color:var(--color-primary);background-color:transparent;z-index:2}.bimdata-datepicker input:focus-visible{outline:0}.bimdata-datepicker input.required{border-bottom:1px dashed red}.bimdata-datepicker__calendar{width:280px;box-shadow:var(--box-shadow);background:#fff;position:absolute;z-index:10000}.bimdata-datepicker__calendar>div{width:100%;background:#fff}.bimdata-datepicker__calendar *{box-sizing:border-box}.bimdata-datepicker__calendar__calendar--inline{position:static}.bimdata-datepicker__calendar.bottom-right{right:0}.bimdata-datepicker__calendar.bottom-left{left:0}.bimdata-datepicker__calendar.top,.bimdata-datepicker__calendar.top-left,.bimdata-datepicker__calendar.top-right{bottom:32px}.bimdata-datepicker__calendar.top-right{right:0}.bimdata-datepicker__calendar button{background:inherit;text-align:center;color:var(--color-primary);cursor:pointer}.bimdata-datepicker__calendar button:disabled{color:var(--color-granite-light)}.bimdata-datepicker__calendar button:focus-visible{outline:0}.bimdata-datepicker__calendar header{display:flex;height:40px;justify-content:space-between;border-bottom:1px solid var(--color-silver);cursor:pointer}.bimdata-datepicker__calendar header button{border:none;flex:1;color:var(--color-primary)}.bimdata-datepicker__calendar header button:hover:not(:disabled){background-color:#e6eeff}.bimdata-datepicker__calendar header button__up{color:var(--color-primary);flex-grow:5}.bimdata-datepicker__calendar header .doubleNext,.bimdata-datepicker__calendar header .doublePrev,.bimdata-datepicker__calendar header .next,.bimdata-datepicker__calendar header .prev{padding:0;max-height:39px;max-width:32px}.bimdata-datepicker__calendar header .prev:disabled .default:after{border-right:10px solid #ddd}.bimdata-datepicker__calendar header .next:disabled .default:after{border-left:10px solid #ddd}.bimdata-datepicker__calendar .cell{height:40px;border:1px solid transparent;cursor:pointer}.bimdata-datepicker__calendar .cell.day:not(.disabled):hover,.bimdata-datepicker__calendar .cell.month:not(.disabled):hover,.bimdata-datepicker__calendar .cell.year:not(.disabled):hover{background-color:#e6eeff;border-radius:2px}.bimdata-datepicker__calendar .cell.day:not(.disabled):focus,.bimdata-datepicker__calendar .cell.month:not(.disabled):focus,.bimdata-datepicker__calendar .cell.year:not(.disabled):focus{z-index:1}.bimdata-datepicker__calendar .cell.day{padding:0;height:33px;width:22px;flex:33px;color:var(--color-granite-light)}.bimdata-datepicker__calendar .cell.day.today{color:var(--color-primary);font-weight:700;position:relative}.bimdata-datepicker__calendar .cell.day.today::after{width:12px;background-color:currentcolor;bottom:6px;content:"";height:1px;left:50%;position:absolute;transform:translateX(-50%)}.bimdata-datepicker__calendar .cell.day.highlighted.highlight-end{background-color:#e1ebff}.bimdata-datepicker__calendar .cell.day.selected,.bimdata-datepicker__calendar .cell.month.selected,.bimdata-datepicker__calendar .cell.year.selected{background-color:var(--color-primary);color:var(--color-white);border-radius:2px}.bimdata-datepicker__calendar .cell.day.selected:hover,.bimdata-datepicker__calendar .cell.month.selected:hover,.bimdata-datepicker__calendar .cell.year.selected:hover{background-color:var(--color-primary-light);color:var(--color-white)}.bimdata-datepicker__calendar .cell.day.selected.highlighted,.bimdata-datepicker__calendar .cell.month.selected.highlighted,.bimdata-datepicker__calendar .cell.year.selected.highlighted{background-color:var(--color-primary-light)}.bimdata-datepicker__calendar .cell.highlighted{background-color:#f0f5ff}.bimdata-datepicker__calendar .cell.highlighted.disabled{color:#accad2}.bimdata-datepicker__calendar .cell.muted{color:var(--color-silver)}.bimdata-datepicker__calendar .cell.muted.disabled:not(.selected){color:#ddd}.bimdata-datepicker__calendar .cell.muted.disabled:not(.selected).highlighted{color:#e2ebfa}.bimdata-datepicker__calendar .cell.muted.disabled.highlighted{background-color:transparent}.bimdata-datepicker__calendar .day-header{padding:0 12px;display:flex;gap:0;color:var(--color-primary)}.bimdata-datepicker__calendar .day-header span{height:40px;width:36.5px;display:inline-block;font-size:75%;line-height:40px;padding:0;text-align:center;vertical-align:middle;white-space:nowrap}.bimdata-datepicker__calendar .month,.bimdata-datepicker__calendar .year{width:29.9%}.bimdata-datepicker__calendar .cells-wrapper{padding:6px 12px 14px;overflow:hidden;position:relative}.bimdata-datepicker__calendar .cells-wrapper .picker-cells{display:flex;flex-wrap:wrap;transition:all 250ms ease-in-out}.bimdata-datepicker__calendar-button{border:none;font-style:normal}.bimdata-datepicker__calendar-button.input-group-append,.bimdata-datepicker__calendar-button.input-group-prepend{padding:0}', map: void 0, media: void 0 }));
|
|
5030
|
-
},
|
|
5031
|
-
function
|
|
5030
|
+
}, L9, "data-v-2245dbb6", !1, void 0, !1, o2, void 0, void 0);
|
|
5031
|
+
function Oe(e, r, t, i, n, d, a, s, u, C) {
|
|
5032
5032
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
5033
5033
|
const o = typeof t == "function" ? t.options : t;
|
|
5034
5034
|
let c;
|
|
@@ -5050,7 +5050,7 @@ function Re(e, r, t, i, n, d, a, s, u, C) {
|
|
|
5050
5050
|
}
|
|
5051
5051
|
return t;
|
|
5052
5052
|
}
|
|
5053
|
-
var
|
|
5053
|
+
var H9 = { components: { BIMDataText: Oe({ render: function() {
|
|
5054
5054
|
var e = this, r = e.$createElement;
|
|
5055
5055
|
return (e._self._c || r)(e.component, { tag: "component", class: e.classes, style: e.style }, [e._t("default")], 2);
|
|
5056
5056
|
}, staticRenderFns: [] }, void 0, { 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() {
|
|
@@ -5064,16 +5064,16 @@ var L9 = { components: { BIMDataText: Re({ render: function() {
|
|
|
5064
5064
|
}, calcLineHeight() {
|
|
5065
5065
|
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";
|
|
5066
5066
|
} } }, void 0, !1, void 0, !1, void 0, void 0, void 0) }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
|
|
5067
|
-
const
|
|
5068
|
-
function
|
|
5067
|
+
const V9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5068
|
+
function M9(e) {
|
|
5069
5069
|
return (r, t) => function(i, n) {
|
|
5070
|
-
const d =
|
|
5070
|
+
const d = V9 ? n.media || "default" : i, a = W2[d] || (W2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5071
5071
|
if (!a.ids.has(i)) {
|
|
5072
5072
|
a.ids.add(i);
|
|
5073
5073
|
let s = n.source;
|
|
5074
5074
|
if (n.map && (s += `
|
|
5075
5075
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
5076
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
5076
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), z1 === void 0 && (z1 = document.head || document.getElementsByTagName("head")[0]), z1.appendChild(a.element)), "styleSheet" in a.element)
|
|
5077
5077
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5078
5078
|
`);
|
|
5079
5079
|
else {
|
|
@@ -5083,13 +5083,13 @@ function H9(e) {
|
|
|
5083
5083
|
}
|
|
5084
5084
|
}(r, t);
|
|
5085
5085
|
}
|
|
5086
|
-
let
|
|
5087
|
-
const
|
|
5086
|
+
let z1;
|
|
5087
|
+
const W2 = {}, k1 = Oe({ render: function() {
|
|
5088
5088
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5089
5089
|
return t("div", { staticClass: "bimdata-loading" }, [t("span", { staticClass: "bimdata-loading--square" }), e._v(" "), t("BIMDataText", { attrs: { color: "color-white", margin: "12px 0 0" } }, [t("p", [e._v(e._s(e.message))]), e._v(" "), t("p", [e._v(e._s(e.subMessage))])])], 1);
|
|
5090
5090
|
}, staticRenderFns: [] }, function(e) {
|
|
5091
5091
|
e && (e("data-v-ddc1f86c_0", { source: 'html[data-v-ddc1f86c]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-ddc1f86c_1", { source: '@keyframes bimdataloading{0%{box-shadow:inset 0 0 0 0 rgba(var(--color-white),.1);transform:rotate(0)}20%{transform:rotate(180deg)}40%{transform:rotate(0)}60%{transform:rotate(0);box-shadow:inset 0 0 0 0 rgba(var(--color-white),.1)}80%{box-shadow:inset 0 -20px 0 0 rgba(var(--color-white),1)}100%{box-shadow:inset 0 0 0 0 rgba(var(--color-white),.1)}}.bimdata-loading{width:100%;height:100%;position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--color-white);font-family:var(--primary-font);z-index:2}.bimdata-loading::after{content:" ";position:absolute;width:100%;height:100%;background-color:var(--color-primary);opacity:.9;z-index:-1}.bimdata-loading--square{width:20px;height:20px;position:relative;border:2px var(--color-white) solid;animation:bimdataloading 1.4s linear infinite}.bimdata-loading--text{margin-top:12px;display:block}.bimdata-loading p{text-align:center;margin:0}', map: void 0, media: void 0 }));
|
|
5092
|
-
},
|
|
5092
|
+
}, H9, "data-v-ddc1f86c", !1, void 0, !1, M9, void 0, void 0);
|
|
5093
5093
|
function v(e, r, t, i, n, d, a, s, u, C) {
|
|
5094
5094
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
5095
5095
|
const o = typeof t == "function" ? t.options : t;
|
|
@@ -5112,7 +5112,7 @@ function v(e, r, t, i, n, d, a, s, u, C) {
|
|
|
5112
5112
|
}
|
|
5113
5113
|
return t;
|
|
5114
5114
|
}
|
|
5115
|
-
var
|
|
5115
|
+
var X2 = { addFile: v({ render: function() {
|
|
5116
5116
|
var e = this.$createElement;
|
|
5117
5117
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
5118
5118
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: v({ render: function() {
|
|
@@ -5576,28 +5576,28 @@ var q2 = { addFile: v({ render: function() {
|
|
|
5576
5576
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), viewer3dPolychrome: v({ render: function() {
|
|
5577
5577
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5578
5578
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
5579
|
-
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) },
|
|
5580
|
-
const
|
|
5581
|
-
var
|
|
5579
|
+
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, x9 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
5580
|
+
const K2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
5581
|
+
var Z9 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
5582
5582
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
5583
|
-
}(
|
|
5583
|
+
}(X2) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(X2).includes(e) }, color: { type: String, default: "default", validator: (e) => x9.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(K2).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
5584
5584
|
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 };
|
|
5585
5585
|
}, style() {
|
|
5586
5586
|
const e = this.getPixelSize(this.size);
|
|
5587
5587
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
5588
5588
|
} }, methods: { getPixelSize() {
|
|
5589
|
-
return this.customSize ? this.customSize :
|
|
5589
|
+
return this.customSize ? this.customSize : K2[this.size];
|
|
5590
5590
|
} } };
|
|
5591
|
-
const
|
|
5592
|
-
function
|
|
5591
|
+
const w9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5592
|
+
function J2(e) {
|
|
5593
5593
|
return (r, t) => function(i, n) {
|
|
5594
|
-
const d =
|
|
5594
|
+
const d = w9 ? n.media || "default" : i, a = G2[d] || (G2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5595
5595
|
if (!a.ids.has(i)) {
|
|
5596
5596
|
a.ids.add(i);
|
|
5597
5597
|
let s = n.source;
|
|
5598
5598
|
if (n.map && (s += `
|
|
5599
5599
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
5600
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
5600
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), P1 === void 0 && (P1 = document.head || document.getElementsByTagName("head")[0]), P1.appendChild(a.element)), "styleSheet" in a.element)
|
|
5601
5601
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5602
5602
|
`);
|
|
5603
5603
|
else {
|
|
@@ -5607,8 +5607,8 @@ function W2(e) {
|
|
|
5607
5607
|
}
|
|
5608
5608
|
}(r, t);
|
|
5609
5609
|
}
|
|
5610
|
-
let
|
|
5611
|
-
const
|
|
5610
|
+
let P1;
|
|
5611
|
+
const G2 = {}, ze = v({ render: function() {
|
|
5612
5612
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5613
5613
|
return t("div", { staticClass: "overlay flex items-center justify-center" }, [t("div", { staticClass: "safe-zone", style: { width: e.width } }, [t("div", { staticClass: "safe-zone__content flex flex-col items-center justify-center p-18" }, [t("BIMDataIcon", { attrs: { name: e.iconName, size: "l", fill: "", color: "high" } }), e._v(" "), t("p", [e._t("text")], 2)], 1), e._v(" "), t("div", { staticClass: "safe-zone__actions flex items-center p-x-18" }, [e._t("actions")], 2)])]);
|
|
5614
5614
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -5618,8 +5618,8 @@ const X2 = {}, Ie = v({ render: function() {
|
|
|
5618
5618
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
5619
5619
|
}, staticRenderFns: [] }, function(e) {
|
|
5620
5620
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
5621
|
-
},
|
|
5622
|
-
var
|
|
5621
|
+
}, Z9, "data-v-198621a2", !1, void 0, !1, J2, void 0, void 0) }, props: { iconName: { type: String, default: "warning" }, width: { type: String, default: "350px" } } }, "data-v-a619a4f2", !1, void 0, !1, J2, void 0, void 0);
|
|
5622
|
+
var k9 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { name: { type: [String, Number], default: "" }, resizable: { type: Boolean, default: !0 }, modelValue: { type: [String, Number], default: null }, placeholder: { type: String, default: null }, label: { type: String, default: "" }, width: { type: [Number, String], default: "150px" }, height: { type: [Number, String], default: "32px" }, error: { type: Boolean, default: !1 }, success: { type: Boolean, default: !1 }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, fitContent: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], created() {
|
|
5623
5623
|
this.$watch(() => this.success && this.error, (e) => {
|
|
5624
5624
|
if (e)
|
|
5625
5625
|
throw new Error("Textarea state cannot be both success and error.");
|
|
@@ -5635,7 +5635,7 @@ var Z9 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { n
|
|
|
5635
5635
|
}, onInput(e) {
|
|
5636
5636
|
this.$emit("update:modelValue", e.currentTarget.value), this.fitContent && this.handleFitContent();
|
|
5637
5637
|
} } };
|
|
5638
|
-
function
|
|
5638
|
+
function $9(e, r, t, i, n, d, a, s, u, C) {
|
|
5639
5639
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
5640
5640
|
const o = typeof t == "function" ? t.options : t;
|
|
5641
5641
|
let c;
|
|
@@ -5657,16 +5657,16 @@ function w9(e, r, t, i, n, d, a, s, u, C) {
|
|
|
5657
5657
|
}
|
|
5658
5658
|
return t;
|
|
5659
5659
|
}
|
|
5660
|
-
const
|
|
5661
|
-
function
|
|
5660
|
+
const F9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5661
|
+
function D9(e) {
|
|
5662
5662
|
return (r, t) => function(i, n) {
|
|
5663
|
-
const d =
|
|
5663
|
+
const d = F9 ? n.media || "default" : i, a = Q2[d] || (Q2[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5664
5664
|
if (!a.ids.has(i)) {
|
|
5665
5665
|
a.ids.add(i);
|
|
5666
5666
|
let s = n.source;
|
|
5667
5667
|
if (n.map && (s += `
|
|
5668
5668
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
5669
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
5669
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), N1 === void 0 && (N1 = document.head || document.getElementsByTagName("head")[0]), N1.appendChild(a.element)), "styleSheet" in a.element)
|
|
5670
5670
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5671
5671
|
`);
|
|
5672
5672
|
else {
|
|
@@ -5676,21 +5676,21 @@ function $9(e) {
|
|
|
5676
5676
|
}
|
|
5677
5677
|
}(r, t);
|
|
5678
5678
|
}
|
|
5679
|
-
let
|
|
5680
|
-
const
|
|
5679
|
+
let N1;
|
|
5680
|
+
const Q2 = {}, s2 = $9({ render: function() {
|
|
5681
5681
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5682
5682
|
return t("div", { staticClass: "bimdata-textarea", class: { "not-empty": e.modelValue !== null && e.modelValue !== "" || e.placeholder !== null, error: e.error, success: e.success }, style: { "min-width": e.width, "min-height": e.height } }, [t("textarea", e._b({ ref: "textarea", style: e.resizable ? "" : "resize: none;", attrs: { name: e.name, id: e.name, placeholder: e.placeholder }, domProps: { value: e.modelValue }, on: { input: e.onInput } }, "textarea", e.$attrs, !1)), e._v(" "), t("label", { attrs: { for: e.name } }, [e._v(e._s(e.label))]), e._v(" "), t("span", { staticClass: "bar" }), e._v(" "), e.error ? t("span", { staticClass: "error" }, [e._v(e._s(e.errorMessage))]) : e._e(), e._v(" "), e.success ? t("span", { staticClass: "success" }, [e._v(e._s(e.successMessage))]) : e._e()]);
|
|
5683
5683
|
}, staticRenderFns: [] }, function(e) {
|
|
5684
5684
|
e && (e("data-v-83b6e0d8_0", { source: 'html[data-v-83b6e0d8]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-83b6e0d8]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-83b6e0d8]{text-align:left}.text-center[data-v-83b6e0d8]{text-align:center}.text-right[data-v-83b6e0d8]{text-align:right}.bimdata-link[data-v-83b6e0d8]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-83b6e0d8]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-83b6e0d8_1", { source: 'textarea:-webkit-autofill{box-shadow:0 0 0 1000px var(--color-white) inset}.bimdata-textarea{margin:var(--spacing-unit) 0;position:relative;inline-size:min-content;font-family:var(--primary-font);font-size:1em}.bimdata-textarea textarea{padding:0;width:100%;min-width:inherit;max-width:100%;min-height:inherit;display:flex;margin:0;border:none}.bimdata-textarea textarea:disabled{background-color:transparent}.bimdata-textarea textarea:disabled~label{color:var(--color-silver-dark);cursor:default}.bimdata-textarea textarea:focus{outline:0}.bimdata-textarea textarea:focus~label{top:-26px;font-size:.7142857143em}.bimdata-textarea textarea:focus~.bar:after{width:100%;transition:transform .2s cubic-bezier(.55,0,.55,.2);transform:scaleX(1)}.bimdata-textarea.not-empty label{top:-26px;color:var(--color-primary);font-size:.7142857143em}.bimdata-textarea label{position:absolute;top:0;left:0;font-size:.8571428571em;transform:translateY(8px);transition:.2s ease all;color:var(--color-granite-light);cursor:pointer}.bimdata-textarea .bar{width:100%;height:1px;display:block;background:var(--color-silver)}.bimdata-textarea .bar::after{width:0;height:2px;content:"";display:block;position:absolute;background-color:var(--color-primary);transform:scaleX(0)}.bimdata-textarea .error{color:var(--color-high);font-size:.7857142857em}.bimdata-textarea .success{color:var(--color-success);font-size:.7857142857em}.bimdata-textarea.error label{color:var(--color-high)}.bimdata-textarea.error .bar{background-color:var(--color-high)}.bimdata-textarea.error .bar::after,.bimdata-textarea.error .bar::before{background-color:var(--color-high)}.bimdata-textarea.success label{color:var(--color-success)}.bimdata-textarea.success .bar{background-color:var(--color-success)}.bimdata-textarea.success .bar::after,.bimdata-textarea.success .bar::before{background-color:var(--color-success)}', map: void 0, media: void 0 }));
|
|
5685
|
-
},
|
|
5686
|
-
var
|
|
5685
|
+
}, k9, "data-v-83b6e0d8", !1, void 0, !1, D9, void 0, void 0);
|
|
5686
|
+
var E9 = { props: { text: { type: String, default: "" }, maxWidth: { type: String, default: "240px" }, position: { type: String, default: "bottom", validator: (e) => ["top", "right", "bottom", "left"].includes(e) }, color: { type: String, default: "primary", validator: (e) => ["white", "primary", "secondary", "granite-light", "silver-light", "success", "warning", "high"].includes(e) }, disabled: { type: Boolean, default: !1 }, message: { type: String }, className: { type: [String, Array] } }, data: () => ({ width: null, height: null, parentHeight: null, hover: !1 }), computed: { isDisplayed() {
|
|
5687
5687
|
return !this.disabled && this._text && this.hover;
|
|
5688
5688
|
}, _text() {
|
|
5689
5689
|
return this.text || this.message;
|
|
5690
5690
|
}, _className() {
|
|
5691
5691
|
return [this.className].flat();
|
|
5692
5692
|
} } };
|
|
5693
|
-
function
|
|
5693
|
+
function B9(e, r, t, i, n, d, a, s, u, C) {
|
|
5694
5694
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
5695
5695
|
const o = typeof t == "function" ? t.options : t;
|
|
5696
5696
|
let c;
|
|
@@ -5712,16 +5712,16 @@ function D9(e, r, t, i, n, d, a, s, u, C) {
|
|
|
5712
5712
|
}
|
|
5713
5713
|
return t;
|
|
5714
5714
|
}
|
|
5715
|
-
const
|
|
5716
|
-
function
|
|
5715
|
+
const R9 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
5716
|
+
function I9(e) {
|
|
5717
5717
|
return (r, t) => function(i, n) {
|
|
5718
|
-
const d =
|
|
5718
|
+
const d = R9 ? n.media || "default" : i, a = ee[d] || (ee[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
5719
5719
|
if (!a.ids.has(i)) {
|
|
5720
5720
|
a.ids.add(i);
|
|
5721
5721
|
let s = n.source;
|
|
5722
5722
|
if (n.map && (s += `
|
|
5723
5723
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
5724
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
5724
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), A1 === void 0 && (A1 = document.head || document.getElementsByTagName("head")[0]), A1.appendChild(a.element)), "styleSheet" in a.element)
|
|
5725
5725
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
5726
5726
|
`);
|
|
5727
5727
|
else {
|
|
@@ -5731,8 +5731,8 @@ function B9(e) {
|
|
|
5731
5731
|
}
|
|
5732
5732
|
}(r, t);
|
|
5733
5733
|
}
|
|
5734
|
-
let
|
|
5735
|
-
const
|
|
5734
|
+
let A1;
|
|
5735
|
+
const ee = {}, Pe = B9({ render: function() {
|
|
5736
5736
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5737
5737
|
return t("div", { staticClass: "bimdata-tooltip" }, [t("div", { staticClass: "bimdata-tooltip__content", on: { mouseover: function(i) {
|
|
5738
5738
|
e.hover = !0;
|
|
@@ -5743,8 +5743,8 @@ const J2 = {}, Se = D9({ render: function() {
|
|
|
5743
5743
|
`)])])], 1);
|
|
5744
5744
|
}, staticRenderFns: [] }, function(e) {
|
|
5745
5745
|
e && e("data-v-4b5d635b_0", { source: 'html[data-v-4b5d635b]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-4b5d635b]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-4b5d635b]{text-align:left}.text-center[data-v-4b5d635b]{text-align:center}.text-right[data-v-4b5d635b]{text-align:right}.bimdata-link[data-v-4b5d635b]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-4b5d635b]{font-family:roboto,sans-serif}.bimdata-tooltip[data-v-4b5d635b]{position:relative}.bimdata-tooltip__tooltip[data-v-4b5d635b]{position:absolute;z-index:2;min-width:60px;width:max-content;padding:calc(var(--spacing-unit)/ 3) calc(var(--spacing-unit)/ 2);border-radius:3px;text-align:center;white-space:normal;word-wrap:break-word}.bimdata-tooltip__tooltip[data-v-4b5d635b]::before{content:"";position:absolute;border-style:solid;border-width:8px 0 0 8px}.bimdata-tooltip__tooltip--top[data-v-4b5d635b],.bimdata-tooltip__tooltip.bimdata-tooltip--up[data-v-4b5d635b]{top:-8px;left:50%;transform:translateX(-50%) translateY(-100%)}.bimdata-tooltip__tooltip--top[data-v-4b5d635b]::before,.bimdata-tooltip__tooltip.bimdata-tooltip--up[data-v-4b5d635b]::before{top:calc(100% - 4px);left:calc(50% - 4px);transform:rotate(135deg)}.bimdata-tooltip__tooltip--right[data-v-4b5d635b],.bimdata-tooltip__tooltip.bimdata-tooltip--left[data-v-4b5d635b]{top:50%;left:calc(100% + 8px);transform:translateY(-50%)}.bimdata-tooltip__tooltip--right[data-v-4b5d635b]::before,.bimdata-tooltip__tooltip.bimdata-tooltip--left[data-v-4b5d635b]::before{top:calc(50% - 4px);left:-4px;transform:rotate(-135deg)}.bimdata-tooltip__tooltip--bottom[data-v-4b5d635b],.bimdata-tooltip__tooltip.bimdata-tooltip--bottom[data-v-4b5d635b]{top:calc(100% + 8px);left:50%;transform:translateX(-50%)}.bimdata-tooltip__tooltip--bottom[data-v-4b5d635b]::before,.bimdata-tooltip__tooltip.bimdata-tooltip--bottom[data-v-4b5d635b]::before{top:-4px;left:calc(50% - 4px);transform:rotate(-45deg)}.bimdata-tooltip__tooltip--left[data-v-4b5d635b],.bimdata-tooltip__tooltip.bimdata-tooltip--right[data-v-4b5d635b]{top:50%;left:-8px;transform:translateX(-100%) translateY(-50%)}.bimdata-tooltip__tooltip--left[data-v-4b5d635b]::before,.bimdata-tooltip__tooltip.bimdata-tooltip--right[data-v-4b5d635b]::before{top:calc(50% - 4px);left:calc(100% - 4px);transform:rotate(45deg)}.bimdata-tooltip__tooltip--white[data-v-4b5d635b]{background-color:var(--color-white);color:var(--color-primary)}.bimdata-tooltip__tooltip--white[data-v-4b5d635b]::before{border-color:var(--color-white) transparent transparent}.bimdata-tooltip__tooltip--primary[data-v-4b5d635b],.bimdata-tooltip__tooltip.bimdata-tooltip--primary[data-v-4b5d635b]{background-color:var(--color-primary);color:var(--color-white)}.bimdata-tooltip__tooltip--primary[data-v-4b5d635b]::before,.bimdata-tooltip__tooltip.bimdata-tooltip--primary[data-v-4b5d635b]::before{border-color:var(--color-primary) transparent transparent}.bimdata-tooltip__tooltip--secondary[data-v-4b5d635b]{background-color:#f9c72c;color:#2f374a}.bimdata-tooltip__tooltip--secondary[data-v-4b5d635b]::before{border-color:var(--color-secondary) transparent transparent}.bimdata-tooltip__tooltip--granite-light[data-v-4b5d635b],.bimdata-tooltip__tooltip.bimdata-tooltip--grey[data-v-4b5d635b]{background-color:var(--color-granite-light);color:var(--color-white)}.bimdata-tooltip__tooltip--granite-light[data-v-4b5d635b]::before,.bimdata-tooltip__tooltip.bimdata-tooltip--grey[data-v-4b5d635b]::before{border-color:var(--color-granite-light) transparent transparent}.bimdata-tooltip__tooltip--silver-light[data-v-4b5d635b]{background-color:var(--color-silver-light);color:var(--color-primary)}.bimdata-tooltip__tooltip--silver-light[data-v-4b5d635b]::before{border-color:var(--color-silver-light) transparent transparent}.bimdata-tooltip__tooltip--success[data-v-4b5d635b]{background-color:var(--color-success);color:var(--color-white)}.bimdata-tooltip__tooltip--success[data-v-4b5d635b]::before{border-color:var(--color-success) transparent transparent}.bimdata-tooltip__tooltip--warning[data-v-4b5d635b]{background-color:var(--color-warning);color:var(--color-white)}.bimdata-tooltip__tooltip--warning[data-v-4b5d635b]::before{border-color:var(--color-warning) transparent transparent}.bimdata-tooltip__tooltip--high[data-v-4b5d635b]{background-color:var(--color-high);color:var(--color-white)}.bimdata-tooltip__tooltip--high[data-v-4b5d635b]::before{border-color:var(--color-high) transparent transparent}', map: void 0, media: void 0 });
|
|
5746
|
-
},
|
|
5747
|
-
var
|
|
5746
|
+
}, E9, "data-v-4b5d635b", !1, void 0, !1, I9, void 0, void 0);
|
|
5747
|
+
var S9 = function() {
|
|
5748
5748
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5749
5749
|
return t("div", {
|
|
5750
5750
|
staticClass: "bcf-topic-images"
|
|
@@ -5848,11 +5848,11 @@ var R9 = function() {
|
|
|
5848
5848
|
change: e.createViewpoints
|
|
5849
5849
|
}
|
|
5850
5850
|
})])], 1)]], 2);
|
|
5851
|
-
},
|
|
5852
|
-
const
|
|
5851
|
+
}, T9 = [];
|
|
5852
|
+
const O9 = {
|
|
5853
5853
|
components: {
|
|
5854
|
-
BIMDataButton:
|
|
5855
|
-
BIMDataIcon:
|
|
5854
|
+
BIMDataButton: S,
|
|
5855
|
+
BIMDataIcon: T
|
|
5856
5856
|
},
|
|
5857
5857
|
props: {
|
|
5858
5858
|
viewpoints: {
|
|
@@ -5890,25 +5890,25 @@ const S9 = {
|
|
|
5890
5890
|
deleteViewpoint: i
|
|
5891
5891
|
};
|
|
5892
5892
|
}
|
|
5893
|
-
},
|
|
5894
|
-
var
|
|
5893
|
+
}, te = {};
|
|
5894
|
+
var z9 = /* @__PURE__ */ D(
|
|
5895
|
+
O9,
|
|
5895
5896
|
S9,
|
|
5896
|
-
|
|
5897
|
-
I9,
|
|
5897
|
+
T9,
|
|
5898
5898
|
!1,
|
|
5899
|
-
|
|
5899
|
+
P9,
|
|
5900
5900
|
"6c7ac71d",
|
|
5901
5901
|
null,
|
|
5902
5902
|
null
|
|
5903
5903
|
);
|
|
5904
|
-
function
|
|
5905
|
-
for (let r in
|
|
5906
|
-
this[r] =
|
|
5904
|
+
function P9(e) {
|
|
5905
|
+
for (let r in te)
|
|
5906
|
+
this[r] = te[r];
|
|
5907
5907
|
}
|
|
5908
|
-
const
|
|
5909
|
-
return
|
|
5908
|
+
const N9 = /* @__PURE__ */ function() {
|
|
5909
|
+
return z9.exports;
|
|
5910
5910
|
}();
|
|
5911
|
-
var
|
|
5911
|
+
var A9 = function() {
|
|
5912
5912
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
5913
5913
|
return t("div", {
|
|
5914
5914
|
staticClass: "bcf-topic-snapshots"
|
|
@@ -5956,11 +5956,11 @@ var P9 = function() {
|
|
|
5956
5956
|
size: "xl"
|
|
5957
5957
|
}
|
|
5958
5958
|
})], 1)]], 2);
|
|
5959
|
-
},
|
|
5960
|
-
const
|
|
5959
|
+
}, j9 = [];
|
|
5960
|
+
const U9 = {
|
|
5961
5961
|
components: {
|
|
5962
|
-
BIMDataButton:
|
|
5963
|
-
BIMDataIcon:
|
|
5962
|
+
BIMDataButton: S,
|
|
5963
|
+
BIMDataIcon: T
|
|
5964
5964
|
},
|
|
5965
5965
|
props: {
|
|
5966
5966
|
viewpoints: {
|
|
@@ -5973,15 +5973,15 @@ const A9 = {
|
|
|
5973
5973
|
"delete-viewpoint"
|
|
5974
5974
|
],
|
|
5975
5975
|
setup(e, { emit: r }) {
|
|
5976
|
-
const t =
|
|
5976
|
+
const t = n1("getViewers", () => ({}));
|
|
5977
5977
|
return {
|
|
5978
5978
|
// Methods
|
|
5979
5979
|
createViewpoints: async () => {
|
|
5980
5980
|
Object.entries(t()).forEach(([d, a]) => {
|
|
5981
|
-
const [s, u] = Object.entries(
|
|
5981
|
+
const [s, u] = Object.entries(c1).find(([, C]) => C.plugin === d);
|
|
5982
5982
|
a.forEach(async (C) => {
|
|
5983
5983
|
const o = await C.getViewpoint(), { order: c } = u ?? {};
|
|
5984
|
-
o.order = c, o[
|
|
5984
|
+
o.order = c, o[d1] = s, o[s1] = C.getLoadedModels().map((l) => l.id).join(","), r("add-viewpoint", o);
|
|
5985
5985
|
});
|
|
5986
5986
|
});
|
|
5987
5987
|
},
|
|
@@ -5990,25 +5990,25 @@ const A9 = {
|
|
|
5990
5990
|
}
|
|
5991
5991
|
};
|
|
5992
5992
|
}
|
|
5993
|
-
},
|
|
5994
|
-
var
|
|
5993
|
+
}, re = {};
|
|
5994
|
+
var q9 = /* @__PURE__ */ D(
|
|
5995
|
+
U9,
|
|
5995
5996
|
A9,
|
|
5996
|
-
|
|
5997
|
-
N9,
|
|
5997
|
+
j9,
|
|
5998
5998
|
!1,
|
|
5999
|
-
|
|
5999
|
+
Y9,
|
|
6000
6000
|
"f3714336",
|
|
6001
6001
|
null,
|
|
6002
6002
|
null
|
|
6003
6003
|
);
|
|
6004
|
-
function
|
|
6005
|
-
for (let r in
|
|
6006
|
-
this[r] =
|
|
6004
|
+
function Y9(e) {
|
|
6005
|
+
for (let r in re)
|
|
6006
|
+
this[r] = re[r];
|
|
6007
6007
|
}
|
|
6008
|
-
const
|
|
6009
|
-
return
|
|
6008
|
+
const W9 = /* @__PURE__ */ function() {
|
|
6009
|
+
return q9.exports;
|
|
6010
6010
|
}();
|
|
6011
|
-
var
|
|
6011
|
+
var X9 = function() {
|
|
6012
6012
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6013
6013
|
return t("div", {
|
|
6014
6014
|
staticClass: "bcf-topic-form"
|
|
@@ -6313,21 +6313,21 @@ var Y9 = function() {
|
|
|
6313
6313
|
proxy: !0
|
|
6314
6314
|
}], null, !1, 4000888699)
|
|
6315
6315
|
}) : e._e()], 1);
|
|
6316
|
-
},
|
|
6317
|
-
const
|
|
6316
|
+
}, K9 = [];
|
|
6317
|
+
const J9 = {
|
|
6318
6318
|
components: {
|
|
6319
|
-
BcfTopicImages:
|
|
6320
|
-
BcfTopicSnapshots:
|
|
6321
|
-
BIMDataButton:
|
|
6322
|
-
BIMDataDatePicker:
|
|
6323
|
-
BIMDataIcon:
|
|
6324
|
-
BIMDataInput:
|
|
6325
|
-
BIMDataLoading:
|
|
6326
|
-
BIMDataSafeZoneModal:
|
|
6327
|
-
BIMDataSelect:
|
|
6328
|
-
BIMDataTextarea:
|
|
6329
|
-
BIMDataTextbox:
|
|
6330
|
-
BIMDataTooltip:
|
|
6319
|
+
BcfTopicImages: N9,
|
|
6320
|
+
BcfTopicSnapshots: W9,
|
|
6321
|
+
BIMDataButton: S,
|
|
6322
|
+
BIMDataDatePicker: y9,
|
|
6323
|
+
BIMDataIcon: T,
|
|
6324
|
+
BIMDataInput: Z1,
|
|
6325
|
+
BIMDataLoading: k1,
|
|
6326
|
+
BIMDataSafeZoneModal: ze,
|
|
6327
|
+
BIMDataSelect: Se,
|
|
6328
|
+
BIMDataTextarea: s2,
|
|
6329
|
+
BIMDataTextbox: f1,
|
|
6330
|
+
BIMDataTooltip: Pe
|
|
6331
6331
|
},
|
|
6332
6332
|
props: {
|
|
6333
6333
|
uiConfig: {
|
|
@@ -6402,13 +6402,13 @@ const X9 = {
|
|
|
6402
6402
|
"topic-update-error"
|
|
6403
6403
|
],
|
|
6404
6404
|
setup(e, { emit: r }) {
|
|
6405
|
-
const t =
|
|
6405
|
+
const t = u1(), i = w(
|
|
6406
6406
|
() => !e.topic
|
|
6407
6407
|
), n = w(
|
|
6408
6408
|
() => Math.max(0, ...e.topics.map((M) => M.index)) + 1
|
|
6409
|
-
), d = L(""), a = L(null), s = L(null), u = L(null), C = L(null), o = L(null), c = L(null), l = L(""), b = L([]), g = L([]), m = L([]),
|
|
6410
|
-
() => g.value.concat(m.value).filter((M) => !
|
|
6411
|
-
),
|
|
6409
|
+
), d = L(""), a = L(null), s = L(null), u = L(null), C = L(null), o = L(null), c = L(null), l = L(""), b = L([]), g = L([]), m = L([]), H = L([]), x = L([]), E = w(
|
|
6410
|
+
() => g.value.concat(m.value).filter((M) => !x.value.some((F) => F.guid === M.guid)).filter((M) => M.snapshot)
|
|
6411
|
+
), B = L(!1), O = L(!1), I = L(!1);
|
|
6412
6412
|
P(
|
|
6413
6413
|
() => e.topic,
|
|
6414
6414
|
(M) => {
|
|
@@ -6417,14 +6417,14 @@ const X9 = {
|
|
|
6417
6417
|
{ immediate: !0 }
|
|
6418
6418
|
);
|
|
6419
6419
|
const _ = () => {
|
|
6420
|
-
d.value = "", a.value = null, s.value = null, u.value = null, C.value = null, o.value = null, c.value = null, l.value = "", b.value = [], g.value = [], m.value = [],
|
|
6420
|
+
d.value = "", a.value = null, s.value = null, u.value = null, C.value = null, o.value = null, c.value = null, l.value = "", b.value = [], g.value = [], m.value = [], H.value = [], x.value = [], B.value = !1, O.value = !1, I.value = !1;
|
|
6421
6421
|
};
|
|
6422
6422
|
return {
|
|
6423
6423
|
// References
|
|
6424
|
-
hasErrorTitle:
|
|
6424
|
+
hasErrorTitle: I,
|
|
6425
6425
|
isCreation: i,
|
|
6426
|
-
isOpenModal:
|
|
6427
|
-
loading:
|
|
6426
|
+
isOpenModal: O,
|
|
6427
|
+
loading: B,
|
|
6428
6428
|
nextIndex: n,
|
|
6429
6429
|
topicAssignedTo: o,
|
|
6430
6430
|
topicDescription: l,
|
|
@@ -6435,14 +6435,14 @@ const X9 = {
|
|
|
6435
6435
|
topicLabels: b,
|
|
6436
6436
|
topicTitle: d,
|
|
6437
6437
|
topicType: a,
|
|
6438
|
-
viewpointsToDisplay:
|
|
6438
|
+
viewpointsToDisplay: E,
|
|
6439
6439
|
// Methods
|
|
6440
6440
|
addViewpoint: (M) => {
|
|
6441
6441
|
m.value.push(M);
|
|
6442
6442
|
},
|
|
6443
6443
|
delViewpoint: (M) => {
|
|
6444
6444
|
if (M.guid)
|
|
6445
|
-
|
|
6445
|
+
x.value.push(M);
|
|
6446
6446
|
else {
|
|
6447
6447
|
let F = m.value.indexOf(M);
|
|
6448
6448
|
m.value.splice(F, 1);
|
|
@@ -6451,19 +6451,19 @@ const X9 = {
|
|
|
6451
6451
|
submit: async () => {
|
|
6452
6452
|
var M, F;
|
|
6453
6453
|
if (!d.value) {
|
|
6454
|
-
|
|
6454
|
+
I.value = !0;
|
|
6455
6455
|
return;
|
|
6456
6456
|
}
|
|
6457
6457
|
try {
|
|
6458
|
-
|
|
6459
|
-
(
|
|
6460
|
-
),
|
|
6461
|
-
...
|
|
6458
|
+
B.value = !0, H.value = g.value.map(
|
|
6459
|
+
($) => ({ ...$, snapshot: void 0 })
|
|
6460
|
+
), H.value.length === 0 && m.value.sort(($, Q) => ($.order ?? 1 / 0) - (Q.order ?? 1 / 0)), e.topicObjects && (H.value.length > 0 || m.value.length > 0 ? [
|
|
6461
|
+
...H.value,
|
|
6462
6462
|
...m.value
|
|
6463
|
-
].forEach((
|
|
6464
|
-
Object.assign(
|
|
6463
|
+
].forEach(($) => {
|
|
6464
|
+
Object.assign($, {
|
|
6465
6465
|
components: e.topicObjects
|
|
6466
|
-
}),
|
|
6466
|
+
}), $.components.selection || ($.components.selection = []), $.components.visibility || ($.components.visibility = {
|
|
6467
6467
|
default_visibility: !0,
|
|
6468
6468
|
exceptions: [],
|
|
6469
6469
|
view_setup_hints: {
|
|
@@ -6475,10 +6475,10 @@ const X9 = {
|
|
|
6475
6475
|
}) : m.value.push({
|
|
6476
6476
|
components: e.topicObjects
|
|
6477
6477
|
})), e.topicAnnotations && [
|
|
6478
|
-
...
|
|
6478
|
+
...H.value,
|
|
6479
6479
|
...m.value
|
|
6480
6480
|
].forEach(
|
|
6481
|
-
(
|
|
6481
|
+
($) => $.pins = e.topicAnnotations
|
|
6482
6482
|
);
|
|
6483
6483
|
const R = {
|
|
6484
6484
|
guid: (M = e.topic) == null ? void 0 : M.guid,
|
|
@@ -6492,45 +6492,45 @@ const X9 = {
|
|
|
6492
6492
|
due_date: c.value,
|
|
6493
6493
|
description: l.value,
|
|
6494
6494
|
labels: b.value,
|
|
6495
|
-
viewpoints:
|
|
6495
|
+
viewpoints: H.value
|
|
6496
6496
|
};
|
|
6497
|
-
let
|
|
6498
|
-
i.value ?
|
|
6497
|
+
let k;
|
|
6498
|
+
i.value ? k = await t.createTopic(e.project, R) : k = await t.updateTopic(e.project, R), await Promise.all(
|
|
6499
6499
|
m.value.map(
|
|
6500
|
-
(
|
|
6500
|
+
($) => t.createViewpoint(e.project, k, $)
|
|
6501
6501
|
)
|
|
6502
6502
|
), await Promise.all(
|
|
6503
|
-
|
|
6504
|
-
(
|
|
6503
|
+
x.value.map(
|
|
6504
|
+
($) => t.deleteViewpoint(e.project, k, $)
|
|
6505
6505
|
)
|
|
6506
|
-
), i.value ? (r("topic-created",
|
|
6506
|
+
), i.value ? (r("topic-created", k), _()) : r("topic-updated", k);
|
|
6507
6507
|
} catch (R) {
|
|
6508
6508
|
r(i.value ? "topic-create-error" : "topic-update-error", R);
|
|
6509
6509
|
} finally {
|
|
6510
|
-
|
|
6510
|
+
B.value = !1;
|
|
6511
6511
|
}
|
|
6512
6512
|
}
|
|
6513
6513
|
};
|
|
6514
6514
|
}
|
|
6515
|
-
},
|
|
6516
|
-
var
|
|
6515
|
+
}, ie = {};
|
|
6516
|
+
var G9 = /* @__PURE__ */ D(
|
|
6517
|
+
J9,
|
|
6517
6518
|
X9,
|
|
6518
|
-
|
|
6519
|
-
W9,
|
|
6519
|
+
K9,
|
|
6520
6520
|
!1,
|
|
6521
|
-
|
|
6521
|
+
Q9,
|
|
6522
6522
|
"be4e6556",
|
|
6523
6523
|
null,
|
|
6524
6524
|
null
|
|
6525
6525
|
);
|
|
6526
|
-
function
|
|
6527
|
-
for (let r in
|
|
6528
|
-
this[r] =
|
|
6526
|
+
function Q9(e) {
|
|
6527
|
+
for (let r in ie)
|
|
6528
|
+
this[r] = ie[r];
|
|
6529
6529
|
}
|
|
6530
|
-
const
|
|
6531
|
-
return
|
|
6530
|
+
const e4 = /* @__PURE__ */ function() {
|
|
6531
|
+
return G9.exports;
|
|
6532
6532
|
}();
|
|
6533
|
-
var
|
|
6533
|
+
var t4 = { bind(e, r) {
|
|
6534
6534
|
if (typeof r.value != "function")
|
|
6535
6535
|
throw Error("click away directive needs function, got " + typeof r.value);
|
|
6536
6536
|
e.clickAwayHandler = (t) => {
|
|
@@ -6561,30 +6561,30 @@ function N(e, r, t, i, n, d, a, s, u, C) {
|
|
|
6561
6561
|
}
|
|
6562
6562
|
return t;
|
|
6563
6563
|
}
|
|
6564
|
-
const
|
|
6564
|
+
const r4 = N({ render: function() {
|
|
6565
6565
|
var e = this.$createElement;
|
|
6566
6566
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
6567
6567
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
6568
|
-
var
|
|
6569
|
-
const
|
|
6570
|
-
var
|
|
6568
|
+
var i4 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
6569
|
+
const ae = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
6570
|
+
var Ne = (e, r) => ({ name: `BIMDataIcon${e}`, components: { [e]: r }, props: { color: { type: String, default: "default", validator: (t) => i4.includes(t) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (t) => Object.keys(ae).includes(t) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
6571
6571
|
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 };
|
|
6572
6572
|
}, style() {
|
|
6573
6573
|
const t = this.getPixelSize(this.size);
|
|
6574
6574
|
return { width: `${t}px`, minWidth: `${t}px`, height: `${t}px`, minHeight: `${t}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
6575
6575
|
} }, methods: { getPixelSize() {
|
|
6576
|
-
return this.customSize ? this.customSize :
|
|
6577
|
-
} } }),
|
|
6578
|
-
const
|
|
6576
|
+
return this.customSize ? this.customSize : ae[this.size];
|
|
6577
|
+
} } }), a4 = Ne("Chevron", r4);
|
|
6578
|
+
const n4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
6579
6579
|
function j(e) {
|
|
6580
6580
|
return (r, t) => function(i, n) {
|
|
6581
|
-
const d =
|
|
6581
|
+
const d = n4 ? n.media || "default" : i, a = ne[d] || (ne[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
6582
6582
|
if (!a.ids.has(i)) {
|
|
6583
6583
|
a.ids.add(i);
|
|
6584
6584
|
let s = n.source;
|
|
6585
6585
|
if (n.map && (s += `
|
|
6586
6586
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
6587
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
6587
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), j1 === void 0 && (j1 = document.head || document.getElementsByTagName("head")[0]), j1.appendChild(a.element)), "styleSheet" in a.element)
|
|
6588
6588
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
6589
6589
|
`);
|
|
6590
6590
|
else {
|
|
@@ -6594,34 +6594,34 @@ function j(e) {
|
|
|
6594
6594
|
}
|
|
6595
6595
|
}(r, t);
|
|
6596
6596
|
}
|
|
6597
|
-
let
|
|
6598
|
-
const
|
|
6597
|
+
let j1;
|
|
6598
|
+
const ne = {}, oe = N({ render: function() {
|
|
6599
6599
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6600
6600
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
6601
6601
|
}, staticRenderFns: [] }, function(e) {
|
|
6602
6602
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
6603
|
-
},
|
|
6603
|
+
}, a4, "data-v-20c38c94", !1, void 0, !1, j, void 0, void 0), o4 = N({ render: function() {
|
|
6604
6604
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6605
6605
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("DoubleChevron")], 1);
|
|
6606
6606
|
}, staticRenderFns: [] }, function(e) {
|
|
6607
6607
|
e && (e("data-v-35e61558_0", { source: 'html[data-v-35e61558]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-35e61558_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
6608
|
-
},
|
|
6608
|
+
}, Ne("DoubleChevron", N({ render: function() {
|
|
6609
6609
|
var e = this.$createElement;
|
|
6610
6610
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
6611
6611
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1, j, void 0, void 0);
|
|
6612
|
-
var
|
|
6613
|
-
const
|
|
6612
|
+
var l4 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]);
|
|
6613
|
+
const U1 = N({ render: function() {
|
|
6614
6614
|
var e = this, r = e.$createElement;
|
|
6615
6615
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
6616
6616
|
return e.$emit("click", t);
|
|
6617
6617
|
} } }, [e._t("default")], 2);
|
|
6618
6618
|
}, staticRenderFns: [] }, function(e) {
|
|
6619
6619
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
6620
|
-
}, { 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) =>
|
|
6620
|
+
}, { 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) => l4.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
6621
6621
|
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 };
|
|
6622
6622
|
}, style() {
|
|
6623
6623
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
6624
|
-
} } }, "data-v-7af18892", !1, void 0, !1, j, void 0, void 0),
|
|
6624
|
+
} } }, "data-v-7af18892", !1, void 0, !1, j, void 0, void 0), d4 = N({ render: function() {
|
|
6625
6625
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6626
6626
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: e.away, expression: "away" }], staticClass: "bimdata-dropdown-list", style: e.style, attrs: { direction: e.directionClass, closeOnElementClick: e.closeOnElementClick } }, [t("div", { staticClass: "bimdata-dropdown-list__content", class: { active: e.displayed, disabled: e.disabled }, style: e.style, on: { click: e.onHeaderClick } }, [e._t("header", null, { isOpen: e.displayed }), e._v(" "), t("BIMDataButton", { attrs: { color: "default", icon: "", radius: "", fill: "", width: "21px", height: "21px" } }, [t("BIMDataIconChevron", { attrs: { size: "xxxs", rotate: e.iconRotation } })], 1), e._v(" "), e._t("contentAfterBtn", null, { isOpen: e.displayed })], 2), e._v(" "), t("transition", { attrs: { name: "slide-fade-" + e.transitionName } }, [t("BIMDataPaginatedList", { directives: [{ name: "show", rawName: "v-show", value: e.displayed, expression: "displayed" }], class: "submenu submenu--" + e.directionClass, attrs: { list: e.list, perPage: e.perPage, elementKey: e.elementKey, loading: e.loading }, on: { "element-click": e.onElementClick }, scopedSlots: e._u([{ key: "element", fn: function(i) {
|
|
6627
6627
|
var n = i.element;
|
|
@@ -6629,7 +6629,7 @@ const A1 = N({ render: function() {
|
|
|
6629
6629
|
} }], null, !0) })], 1)], 1);
|
|
6630
6630
|
}, staticRenderFns: [] }, function(e) {
|
|
6631
6631
|
e && (e("data-v-6b8958da_0", { source: 'html[data-v-6b8958da]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-6b8958da_1", { source: ".slide-fade-up-enter-active,.slide-fade-up-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-up-enter,.slide-fade-up-enter-from,.slide-fade-up-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-down-enter-active,.slide-fade-down-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-down-enter,.slide-fade-down-enter-from,.slide-fade-down-leave-to{transform:translateY(10px);opacity:0}.slide-fade-left-enter-active,.slide-fade-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-left-enter,.slide-fade-left-enter-from,.slide-fade-left-leave-to{transform:translateX(-20px);opacity:0}.slide-fade-right-enter-active,.slide-fade-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-fade-right-enter,.slide-fade-right-enter-from,.slide-fade-right-leave-to{transform:translateX(20px);opacity:0}.slide-right-enter-active,.slide-right-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-right-enter,.slide-right-enter-from,.slide-right-leave-to{transform:translateX(20px);opacity:0;position:absolute}.slide-left-enter-active,.slide-left-leave-active{transition:all .1s cubic-bezier(1,.5,.8,1)}.slide-left-enter,.slide-left-enter-from,.slide-left-leave-to{transform:translateX(-20px);opacity:0;position:absolute}.fade-enter-active{transition:all .1s ease-out}.fade-leave-active{transition:all .1s ease-in}.fade-enter,.fade-enter-from,.fade-leave-to{opacity:0}.pop-enter-active{transition:all .4s cubic-bezier(.4,1.5,.56,1)}.pop-leave-active{transition:all .3s ease-in}.pop-enter,.pop-enter-from{transform:scale(.1);opacity:.4}.pop-enter-to,.pop-leave,.pop-leave-from{transform:scale(1);opacity:1}.pop-leave-to{transform:scale(.7);opacity:0}.list-enter-active{transition:all .3s ease-out}.list-leave-active{transition:all .2s ease-in}.list-move{transition:all .3s ease}.list-enter,.list-enter-from,.list-leave-to{opacity:0}.grid-enter-active{transition:all .5s ease-out}.grid-leave-active{transition:all .4s ease-in}.grid-move{transition:all .5s ease}.grid-enter,.grid-enter-from,.grid-leave-to{opacity:0}.page-enter-active,.page-leave-active{transition:all .5s ease}.page-enter,.page-enter-from,.page-leave-to{transform:translateX(-30%);opacity:0}.submenu{position:absolute;top:0;background-color:var(--color-white);box-shadow:var(--box-shadow)}.submenu--down,.submenu--left,.submenu--no-direction,.submenu--right,.submenu--up{padding:calc(var(--spacing-unit)/ 2) 0;width:100%;left:0;border-radius:3px;z-index:2}.submenu--down li,.submenu--left li,.submenu--no-direction li,.submenu--right li,.submenu--up li{padding:calc(var(--spacing-unit)/ 2);cursor:pointer}.submenu--down li:hover,.submenu--left li:hover,.submenu--no-direction li:hover,.submenu--right li:hover,.submenu--up li:hover{background-color:var(--color-silver-light)}.submenu--down li.disabled,.submenu--left li.disabled,.submenu--no-direction li.disabled,.submenu--right li.disabled,.submenu--up li.disabled{cursor:inherit}.submenu--down li.disabled:hover,.submenu--left li.disabled:hover,.submenu--no-direction li.disabled:hover,.submenu--right li.disabled:hover,.submenu--up li.disabled:hover{background-color:transparent}.submenu--up{top:auto;bottom:calc(100% + var(--spacing-unit)/ 2)}.submenu--down{top:calc(100% + var(--spacing-unit)/ 2)}.submenu--right{left:calc(100% + var(--spacing-unit)/ 2);right:auto}.submenu--left{right:calc(100% + var(--spacing-unit)/ 2);left:auto}.bimdata-dropdown-list{height:42px;position:relative;display:flex;align-items:center;justify-content:center;user-select:none}.bimdata-dropdown-list__content{padding:0 var(--spacing-unit);display:flex;align-items:center;justify-content:space-between;font-size:13px;background-color:var(--color-silver-light);border:1px solid var(--color-silver);border-radius:3px;cursor:pointer}.bimdata-dropdown-list__content .bimdata-btn{background-color:var(--color-silver-light)}.bimdata-dropdown-list__content.active{background-color:var(--color-white);border:1px solid transparent;box-shadow:var(--box-shadow)}.bimdata-dropdown-list__content.disabled{cursor:default;color:var(--color-silver-dark)}.bimdata-dropdown-list__content.disabled .bimdata-btn{cursor:default;color:var(--color-silver-dark)}.bimdata-dropdown-list .bimdata-paginated-list__elements{font-size:11px}.bimdata-dropdown-list .bimdata-paginated-list>ul:first-child{padding:6px 0;overflow:auto;z-index:1}.bimdata-dropdown-list .bimdata-paginated-list li{display:flex;justify-content:space-between;align-items:center}", map: void 0, media: void 0 }));
|
|
6632
|
-
}, { components: { BIMDataIconChevron:
|
|
6632
|
+
}, { components: { BIMDataIconChevron: oe, BIMDataPaginatedList: N({ render: function() {
|
|
6633
6633
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6634
6634
|
return t("div", { staticClass: "bimdata-paginated-list" }, [e.loading ? t("BIMDataSpinner") : t("div", [e._t("header"), e._v(" "), t("ul", { staticClass: "bimdata-list bimdata-paginated-list__elements" }, e._l(e.page, function(i) {
|
|
6635
6635
|
return t("li", { key: e.elementKey ? i[e.elementKey] : i, on: { click: function(n) {
|
|
@@ -6674,7 +6674,7 @@ const A1 = N({ render: function() {
|
|
|
6674
6674
|
} } }, [t("BIMDataIconDoubleChevron", { attrs: { size: "xxxs" } })], 1)], 1) : e._e(), e._v(" "), t("li", { staticClass: "bimdata-navigation__right" }, [e._t("right")], 2)]);
|
|
6675
6675
|
}, staticRenderFns: [] }, function(e) {
|
|
6676
6676
|
e && (e("data-v-3c48ce0c_0", { source: 'html[data-v-3c48ce0c]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-list[data-v-3c48ce0c]{margin:0;padding:0}.bimdata-list li[data-v-3c48ce0c]{list-style-type:none}', map: void 0, media: void 0 }), e("data-v-3c48ce0c_1", { source: ".bimdata-navigation[data-v-3c48ce0c]{display:inline-flex;width:100%;height:38px;justify-content:center;align-items:center}.bimdata-navigation__item[data-v-3c48ce0c]{padding:6px 2px}.bimdata-navigation__item .bimdata-btn[data-v-3c48ce0c]{padding:0;justify-content:center}.bimdata-navigation__item.active .bimdata-btn[data-v-3c48ce0c]{font-weight:700}.bimdata-navigation__left[data-v-3c48ce0c],.bimdata-navigation__right[data-v-3c48ce0c]{padding:6px 2px;font-size:10px;cursor:default}", map: void 0, media: void 0 }));
|
|
6677
|
-
}, { components: { BIMDataIconChevron:
|
|
6677
|
+
}, { components: { BIMDataIconChevron: oe, BIMDataIconDoubleChevron: o4, BIMDataButton: U1 }, 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"] }, "data-v-3c48ce0c", !1, void 0, !1, j, void 0, void 0), BIMDataButton: U1 }, 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() {
|
|
6678
6678
|
return this.perPage * (this.currentPage - 1) + 1;
|
|
6679
6679
|
}, lastIndex() {
|
|
6680
6680
|
return Math.min(this.firstIndex + this.perPage - 1, this.length);
|
|
@@ -6707,7 +6707,7 @@ const A1 = N({ render: function() {
|
|
|
6707
6707
|
this.list.length < this.perPage * (this.currentPage - 1) + 1 && (this.currentPage = 1);
|
|
6708
6708
|
}, deep: !0, immediate: !0 } }, methods: { onPageChange(e) {
|
|
6709
6709
|
this.currentPage = e;
|
|
6710
|
-
} } }, "data-v-9848cfc8", !1, void 0, !1, j, void 0, void 0), BIMDataButton:
|
|
6710
|
+
} } }, "data-v-9848cfc8", !1, void 0, !1, j, void 0, void 0), BIMDataButton: U1 }, directives: { clickaway: t4 }, 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() {
|
|
6711
6711
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
6712
6712
|
}, iconRotation() {
|
|
6713
6713
|
return this.displayed ? this.directionClass === "up" ? -90 : 90 : 0;
|
|
@@ -6718,39 +6718,39 @@ const A1 = N({ render: function() {
|
|
|
6718
6718
|
}, away() {
|
|
6719
6719
|
this.displayed = !1;
|
|
6720
6720
|
} } }, "data-v-6b8958da", !1, void 0, !1, j, void 0, void 0);
|
|
6721
|
-
var
|
|
6721
|
+
var s4 = function() {
|
|
6722
6722
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6723
6723
|
return t("div", [t("img", {
|
|
6724
6724
|
attrs: {
|
|
6725
6725
|
src: e.topic.snapshot.snapshot_data
|
|
6726
6726
|
}
|
|
6727
6727
|
})]);
|
|
6728
|
-
},
|
|
6729
|
-
const
|
|
6728
|
+
}, c4 = [];
|
|
6729
|
+
const u4 = {
|
|
6730
6730
|
props: {
|
|
6731
6731
|
topic: {
|
|
6732
6732
|
type: Object
|
|
6733
6733
|
}
|
|
6734
6734
|
}
|
|
6735
|
-
},
|
|
6736
|
-
var
|
|
6735
|
+
}, le = {};
|
|
6736
|
+
var f4 = /* @__PURE__ */ D(
|
|
6737
|
+
u4,
|
|
6737
6738
|
s4,
|
|
6738
|
-
|
|
6739
|
-
d4,
|
|
6739
|
+
c4,
|
|
6740
6740
|
!1,
|
|
6741
|
-
|
|
6741
|
+
C4,
|
|
6742
6742
|
null,
|
|
6743
6743
|
null,
|
|
6744
6744
|
null
|
|
6745
6745
|
);
|
|
6746
|
-
function
|
|
6747
|
-
for (let r in
|
|
6748
|
-
this[r] =
|
|
6746
|
+
function C4(e) {
|
|
6747
|
+
for (let r in le)
|
|
6748
|
+
this[r] = le[r];
|
|
6749
6749
|
}
|
|
6750
|
-
const
|
|
6751
|
-
return
|
|
6750
|
+
const de = /* @__PURE__ */ function() {
|
|
6751
|
+
return f4.exports;
|
|
6752
6752
|
}();
|
|
6753
|
-
var
|
|
6753
|
+
var h4 = function() {
|
|
6754
6754
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6755
6755
|
return t("div", {
|
|
6756
6756
|
staticClass: "user-avatar",
|
|
@@ -6770,8 +6770,8 @@ var f4 = function() {
|
|
|
6770
6770
|
size: "xs"
|
|
6771
6771
|
}
|
|
6772
6772
|
})]], 2);
|
|
6773
|
-
},
|
|
6774
|
-
const
|
|
6773
|
+
}, v4 = [];
|
|
6774
|
+
const p4 = {
|
|
6775
6775
|
props: {
|
|
6776
6776
|
user: {
|
|
6777
6777
|
type: Object,
|
|
@@ -6798,25 +6798,25 @@ const h4 = {
|
|
|
6798
6798
|
)
|
|
6799
6799
|
};
|
|
6800
6800
|
}
|
|
6801
|
-
},
|
|
6802
|
-
var
|
|
6801
|
+
}, se = {};
|
|
6802
|
+
var g4 = /* @__PURE__ */ D(
|
|
6803
|
+
p4,
|
|
6803
6804
|
h4,
|
|
6804
|
-
|
|
6805
|
-
C4,
|
|
6805
|
+
v4,
|
|
6806
6806
|
!1,
|
|
6807
|
-
|
|
6807
|
+
b4,
|
|
6808
6808
|
"42c97e31",
|
|
6809
6809
|
null,
|
|
6810
6810
|
null
|
|
6811
6811
|
);
|
|
6812
|
-
function
|
|
6813
|
-
for (let r in
|
|
6814
|
-
this[r] =
|
|
6812
|
+
function b4(e) {
|
|
6813
|
+
for (let r in se)
|
|
6814
|
+
this[r] = se[r];
|
|
6815
6815
|
}
|
|
6816
|
-
const
|
|
6817
|
-
return
|
|
6816
|
+
const Ae = /* @__PURE__ */ function() {
|
|
6817
|
+
return g4.exports;
|
|
6818
6818
|
}();
|
|
6819
|
-
var
|
|
6819
|
+
var m4 = function() {
|
|
6820
6820
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
6821
6821
|
return t("div", {
|
|
6822
6822
|
staticClass: "topic-comment m-t-18"
|
|
@@ -7008,7 +7008,54 @@ var g4 = function() {
|
|
|
7008
7008
|
},
|
|
7009
7009
|
expression: "text"
|
|
7010
7010
|
}
|
|
7011
|
-
}), e.
|
|
7011
|
+
}), e.isViewer && e.isEditing && !e.viewpoint ? t("div", {
|
|
7012
|
+
staticClass: "flex"
|
|
7013
|
+
}, [e.viewerSelectVisible ? e._e() : t("div", {
|
|
7014
|
+
staticClass: "topic-comment__content__camera m-r-12",
|
|
7015
|
+
on: {
|
|
7016
|
+
click: e.setCommentViewpoint
|
|
7017
|
+
}
|
|
7018
|
+
}, [t("BIMDataIcon", {
|
|
7019
|
+
attrs: {
|
|
7020
|
+
name: "camera",
|
|
7021
|
+
fill: "",
|
|
7022
|
+
color: "default"
|
|
7023
|
+
}
|
|
7024
|
+
})], 1), e.viewerSelectVisible ? t("BIMDataDropdownList", {
|
|
7025
|
+
attrs: {
|
|
7026
|
+
list: e.viewerSelectOptions,
|
|
7027
|
+
elementKey: "key",
|
|
7028
|
+
width: "180px"
|
|
7029
|
+
},
|
|
7030
|
+
on: {
|
|
7031
|
+
"element-click": e.createViewpoint
|
|
7032
|
+
},
|
|
7033
|
+
scopedSlots: e._u([{
|
|
7034
|
+
key: "header",
|
|
7035
|
+
fn: function() {
|
|
7036
|
+
return [e._v(e._s(e.$t("BcfComponents.BcfTopicComments.takeSnapshot")))];
|
|
7037
|
+
},
|
|
7038
|
+
proxy: !0
|
|
7039
|
+
}, {
|
|
7040
|
+
key: "element",
|
|
7041
|
+
fn: function(i) {
|
|
7042
|
+
var n = i.element;
|
|
7043
|
+
return [t("div", {
|
|
7044
|
+
staticStyle: {
|
|
7045
|
+
width: "100%"
|
|
7046
|
+
},
|
|
7047
|
+
on: {
|
|
7048
|
+
mouseenter: function(d) {
|
|
7049
|
+
return e.highlightViewer(n.viewer);
|
|
7050
|
+
},
|
|
7051
|
+
mouseleave: function(d) {
|
|
7052
|
+
return e.unhighlightViewer(n.viewer);
|
|
7053
|
+
}
|
|
7054
|
+
}
|
|
7055
|
+
}, [e._v(" " + e._s(`${n.id} (${n.index})`) + " ")])];
|
|
7056
|
+
}
|
|
7057
|
+
}], null, !1, 40687869)
|
|
7058
|
+
}) : e._e()], 1) : e._e(), e.viewpoint && e.viewpoint.snapshot ? t("div", {
|
|
7012
7059
|
staticClass: "topic-comment__content__snapshot"
|
|
7013
7060
|
}, [t("img", {
|
|
7014
7061
|
attrs: {
|
|
@@ -7037,16 +7084,16 @@ var g4 = function() {
|
|
|
7037
7084
|
color: "high"
|
|
7038
7085
|
}
|
|
7039
7086
|
})], 1) : e._e()], 1) : e._e()], 1), e.loading ? [t("BIMDataLoading")] : e._e()], 2);
|
|
7040
|
-
},
|
|
7041
|
-
const
|
|
7087
|
+
}, _4 = [];
|
|
7088
|
+
const L4 = {
|
|
7042
7089
|
components: {
|
|
7043
|
-
BIMDataButton:
|
|
7044
|
-
BIMDataIcon:
|
|
7045
|
-
BIMDataLoading:
|
|
7046
|
-
BIMDataTextarea:
|
|
7047
|
-
BIMDataTextbox:
|
|
7048
|
-
UserAvatar:
|
|
7049
|
-
TopicCommentSnapshotModal:
|
|
7090
|
+
BIMDataButton: S,
|
|
7091
|
+
BIMDataIcon: T,
|
|
7092
|
+
BIMDataLoading: k1,
|
|
7093
|
+
BIMDataTextarea: s2,
|
|
7094
|
+
BIMDataTextbox: f1,
|
|
7095
|
+
UserAvatar: Ae,
|
|
7096
|
+
TopicCommentSnapshotModal: de
|
|
7050
7097
|
},
|
|
7051
7098
|
props: {
|
|
7052
7099
|
project: {
|
|
@@ -7064,97 +7111,132 @@ const m4 = {
|
|
|
7064
7111
|
},
|
|
7065
7112
|
emits: ["comment-updated", "comment-deleted"],
|
|
7066
7113
|
setup(e, { emit: r }) {
|
|
7067
|
-
const t =
|
|
7068
|
-
|
|
7114
|
+
const t = n1("getViewers", () => ({})), i = n1("$viewer"), n = u1(), d = L(!1), a = L(!1), s = () => a.value = !1, u = () => a.value = !a.value, C = L(e.comment.comment), o = L(null), c = async () => {
|
|
7115
|
+
o.value = await n.fetchTopicCommentViewpoint(
|
|
7069
7116
|
e.project,
|
|
7070
7117
|
e.topic,
|
|
7071
7118
|
e.comment
|
|
7072
7119
|
);
|
|
7073
|
-
}
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
const c = L(!1), l = () => {
|
|
7078
|
-
c.value = !0, a();
|
|
7079
|
-
}, b = () => {
|
|
7080
|
-
c.value = !1, u.value = e.comment.comment;
|
|
7081
|
-
}, g = async () => {
|
|
7082
|
-
await i.deleteViewpoint(e.project, e.topic, C.value), C.value = null;
|
|
7120
|
+
}, l = L(!1), b = () => {
|
|
7121
|
+
l.value = !0, s();
|
|
7122
|
+
}, g = () => {
|
|
7123
|
+
l.value = !1, C.value = e.comment.comment;
|
|
7083
7124
|
}, m = async () => {
|
|
7125
|
+
o.value.guid && await n.deleteViewpoint(e.project, e.topic, o.value), o.value = null;
|
|
7126
|
+
}, H = L(!1), x = L([]), E = (k) => {
|
|
7127
|
+
k.$viewer.localContext.el.style.boxShadow = "inset 0 0 0 2px var(--color-primary)", k.$viewer.localContext.el.style.opacity = ".85";
|
|
7128
|
+
}, B = (k) => {
|
|
7129
|
+
k.$viewer.localContext.el.style.boxShadow = "", k.$viewer.localContext.el.style.opacity = "";
|
|
7130
|
+
}, O = async () => {
|
|
7131
|
+
x.value.length === 1 ? await I(x.value[0]) : x.value.length > 1 && (H.value = !0);
|
|
7132
|
+
}, I = async ({ id: k, viewer: $ }) => {
|
|
7133
|
+
B($), H.value = !1;
|
|
7134
|
+
const [Q] = Object.entries(c1).find(([, e1]) => e1.plugin === k);
|
|
7135
|
+
o.value = Object.assign(await $.getViewpoint(), {
|
|
7136
|
+
[d1]: Q,
|
|
7137
|
+
[s1]: $.getLoadedModels().map((e1) => e1.id).join(",")
|
|
7138
|
+
});
|
|
7139
|
+
}, _ = async () => {
|
|
7140
|
+
var k;
|
|
7084
7141
|
try {
|
|
7085
|
-
if (e.comment.comment !==
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7142
|
+
if (e.comment.comment !== C.value || o.value) {
|
|
7143
|
+
d.value = !0, o.value = await n.createViewpoint(
|
|
7144
|
+
e.project,
|
|
7145
|
+
e.topic,
|
|
7146
|
+
o.value
|
|
7147
|
+
);
|
|
7148
|
+
const $ = await n.updateComment(
|
|
7149
|
+
e.project,
|
|
7150
|
+
e.topic,
|
|
7151
|
+
e.comment,
|
|
7152
|
+
{ comment: C.value, viewpoint_guid: (k = o.value) == null ? void 0 : k.guid }
|
|
7153
|
+
);
|
|
7154
|
+
r("comment-updated", $);
|
|
7155
|
+
} else {
|
|
7156
|
+
const $ = await n.updateComment(
|
|
7157
|
+
e.project,
|
|
7158
|
+
e.topic,
|
|
7159
|
+
e.comment,
|
|
7160
|
+
{ comment: C.value, viewpoint_guid: null }
|
|
7161
|
+
);
|
|
7162
|
+
r("comment-updated", $);
|
|
7163
|
+
}
|
|
7164
|
+
l.value = !1;
|
|
7104
7165
|
} finally {
|
|
7105
|
-
|
|
7166
|
+
d.value = !1;
|
|
7106
7167
|
}
|
|
7107
|
-
},
|
|
7108
|
-
|
|
7168
|
+
}, V = L(!1), y = () => {
|
|
7169
|
+
V.value = !0, s();
|
|
7170
|
+
}, Z = async () => {
|
|
7171
|
+
try {
|
|
7172
|
+
d.value = !0, await n.deleteComment(e.project, e.topic, e.comment), r("comment-deleted", e.comment), V.value = !1;
|
|
7173
|
+
} finally {
|
|
7174
|
+
d.value = !1;
|
|
7175
|
+
}
|
|
7176
|
+
}, M = (k) => {
|
|
7177
|
+
i && i.globalContext.modals.pushModal(de, { topic: k });
|
|
7178
|
+
};
|
|
7179
|
+
let F, R;
|
|
7180
|
+
return xe(async () => {
|
|
7181
|
+
if (e.comment.viewpoint_guid && await c(), i) {
|
|
7182
|
+
const k = () => Object.entries(t()).map(
|
|
7183
|
+
([$, Q]) => Q.map((e1, c2) => ({ key: `${$}-${c2}`, id: $, index: c2, viewer: e1 }))
|
|
7184
|
+
).flat();
|
|
7185
|
+
x.value = k(), F = i.globalContext.hub.on("plugin-created", () => {
|
|
7186
|
+
x.value = k();
|
|
7187
|
+
}), R = i.globalContext.hub.on("plugin-destroyed", () => {
|
|
7188
|
+
x.value = k();
|
|
7189
|
+
});
|
|
7190
|
+
}
|
|
7191
|
+
}), Ze(() => {
|
|
7192
|
+
i && (i.globalContext.hub.off(F), i.globalContext.hub.off(R));
|
|
7193
|
+
}), {
|
|
7109
7194
|
// References
|
|
7110
|
-
isDeleting:
|
|
7111
|
-
isEditing:
|
|
7112
|
-
loading:
|
|
7113
|
-
showMenu:
|
|
7114
|
-
text:
|
|
7115
|
-
|
|
7195
|
+
isDeleting: V,
|
|
7196
|
+
isEditing: l,
|
|
7197
|
+
loading: d,
|
|
7198
|
+
showMenu: a,
|
|
7199
|
+
text: C,
|
|
7200
|
+
viewerSelectOptions: x,
|
|
7201
|
+
viewerSelectVisible: H,
|
|
7202
|
+
viewpoint: o,
|
|
7203
|
+
isViewer: Boolean(i),
|
|
7116
7204
|
// Methods
|
|
7117
|
-
cancelUpdate:
|
|
7118
|
-
closeMenu:
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
onOpenEdit:
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
submitUpdate: m,
|
|
7132
|
-
toggleMenu: s,
|
|
7133
|
-
loadViewpoint: o,
|
|
7134
|
-
openTopicSnapshot: (B) => {
|
|
7135
|
-
t && t.globalContext.modals.pushModal(ne, { topic: B });
|
|
7136
|
-
}
|
|
7205
|
+
cancelUpdate: g,
|
|
7206
|
+
closeMenu: s,
|
|
7207
|
+
createViewpoint: I,
|
|
7208
|
+
deleteViewpoint: m,
|
|
7209
|
+
highlightViewer: E,
|
|
7210
|
+
onOpenDelete: y,
|
|
7211
|
+
onOpenEdit: b,
|
|
7212
|
+
setCommentViewpoint: O,
|
|
7213
|
+
submitDelete: Z,
|
|
7214
|
+
submitUpdate: _,
|
|
7215
|
+
toggleMenu: u,
|
|
7216
|
+
loadViewpoint: c,
|
|
7217
|
+
openTopicSnapshot: M,
|
|
7218
|
+
unhighlightViewer: B
|
|
7137
7219
|
};
|
|
7138
7220
|
}
|
|
7139
|
-
},
|
|
7140
|
-
var
|
|
7221
|
+
}, ce = {};
|
|
7222
|
+
var y4 = /* @__PURE__ */ D(
|
|
7223
|
+
L4,
|
|
7141
7224
|
m4,
|
|
7142
|
-
|
|
7143
|
-
b4,
|
|
7225
|
+
_4,
|
|
7144
7226
|
!1,
|
|
7145
|
-
|
|
7146
|
-
"
|
|
7227
|
+
H4,
|
|
7228
|
+
"652c6a0a",
|
|
7147
7229
|
null,
|
|
7148
7230
|
null
|
|
7149
7231
|
);
|
|
7150
|
-
function
|
|
7151
|
-
for (let r in
|
|
7152
|
-
this[r] =
|
|
7232
|
+
function H4(e) {
|
|
7233
|
+
for (let r in ce)
|
|
7234
|
+
this[r] = ce[r];
|
|
7153
7235
|
}
|
|
7154
|
-
const
|
|
7155
|
-
return
|
|
7236
|
+
const V4 = /* @__PURE__ */ function() {
|
|
7237
|
+
return y4.exports;
|
|
7156
7238
|
}();
|
|
7157
|
-
var
|
|
7239
|
+
var M4 = function() {
|
|
7158
7240
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
7159
7241
|
return t("div", {
|
|
7160
7242
|
staticClass: "bcf-topic-comments"
|
|
@@ -7305,15 +7387,15 @@ var H4 = function() {
|
|
|
7305
7387
|
}
|
|
7306
7388
|
});
|
|
7307
7389
|
}), 1) : e._e()]), e.loading ? [t("BIMDataLoading")] : e._e()], 2);
|
|
7308
|
-
},
|
|
7309
|
-
const
|
|
7390
|
+
}, x4 = [];
|
|
7391
|
+
const Z4 = {
|
|
7310
7392
|
components: {
|
|
7311
|
-
BIMDataButton:
|
|
7312
|
-
BIMDataDropdownList:
|
|
7313
|
-
BIMDataIcon:
|
|
7314
|
-
BIMDataLoading:
|
|
7315
|
-
BIMDataTextarea:
|
|
7316
|
-
TopicComment:
|
|
7393
|
+
BIMDataButton: S,
|
|
7394
|
+
BIMDataDropdownList: d4,
|
|
7395
|
+
BIMDataIcon: T,
|
|
7396
|
+
BIMDataLoading: k1,
|
|
7397
|
+
BIMDataTextarea: s2,
|
|
7398
|
+
TopicComment: V4
|
|
7317
7399
|
},
|
|
7318
7400
|
props: {
|
|
7319
7401
|
project: {
|
|
@@ -7327,43 +7409,43 @@ const M4 = {
|
|
|
7327
7409
|
},
|
|
7328
7410
|
emis: ["comment-created", "comment-updated", "comment-deleted"],
|
|
7329
7411
|
setup(e, { emit: r }) {
|
|
7330
|
-
const t =
|
|
7412
|
+
const t = u1(), i = L([]), n = L(!1), d = L(!1), a = L(null), s = L(""), u = L(null), C = async () => {
|
|
7331
7413
|
i.value = await t.fetchTopicComments(e.project, e.topic);
|
|
7332
|
-
}, o =
|
|
7333
|
-
|
|
7334
|
-
}, m = (
|
|
7335
|
-
|
|
7336
|
-
},
|
|
7337
|
-
b.value.length === 1 ? await
|
|
7338
|
-
},
|
|
7339
|
-
m(
|
|
7340
|
-
const [M] = Object.entries(
|
|
7341
|
-
u.value = Object.assign(await
|
|
7342
|
-
[
|
|
7343
|
-
[
|
|
7414
|
+
}, o = n1("getViewers", () => ({})), c = n1("$viewer"), l = L(!1), b = L([]), g = (y) => {
|
|
7415
|
+
y.$viewer.localContext.el.style.boxShadow = "inset 0 0 0 2px var(--color-primary)", y.$viewer.localContext.el.style.opacity = ".85";
|
|
7416
|
+
}, m = (y) => {
|
|
7417
|
+
y.$viewer.localContext.el.style.boxShadow = "", y.$viewer.localContext.el.style.opacity = "";
|
|
7418
|
+
}, H = async () => {
|
|
7419
|
+
b.value.length === 1 ? await x(b.value[0]) : b.value.length > 1 && (l.value = !0);
|
|
7420
|
+
}, x = async ({ id: y, viewer: Z }) => {
|
|
7421
|
+
m(Z), l.value = !1;
|
|
7422
|
+
const [M] = Object.entries(c1).find(([, F]) => F.plugin === y);
|
|
7423
|
+
u.value = Object.assign(await Z.getViewpoint(), {
|
|
7424
|
+
[d1]: M,
|
|
7425
|
+
[s1]: Z.getLoadedModels().map((F) => F.id).join(",")
|
|
7344
7426
|
});
|
|
7345
|
-
},
|
|
7427
|
+
}, E = () => {
|
|
7346
7428
|
u.value = null;
|
|
7347
|
-
},
|
|
7348
|
-
var
|
|
7429
|
+
}, B = async () => {
|
|
7430
|
+
var y;
|
|
7349
7431
|
try {
|
|
7350
7432
|
d.value = !0, u.value && (u.value = await t.createViewpoint(
|
|
7351
7433
|
e.project,
|
|
7352
7434
|
e.topic,
|
|
7353
7435
|
u.value
|
|
7354
7436
|
));
|
|
7355
|
-
const
|
|
7437
|
+
const Z = await t.createComment(e.project, e.topic, {
|
|
7356
7438
|
comment: s.value,
|
|
7357
|
-
viewpoint_guid: (
|
|
7439
|
+
viewpoint_guid: (y = u.value) == null ? void 0 : y.guid
|
|
7358
7440
|
});
|
|
7359
|
-
C(), r("comment-created",
|
|
7441
|
+
C(), r("comment-created", Z), n.value = !1, s.value = "";
|
|
7360
7442
|
} finally {
|
|
7361
|
-
d.value = !1;
|
|
7443
|
+
d.value = !1, u.value = null;
|
|
7362
7444
|
}
|
|
7363
|
-
},
|
|
7364
|
-
C(), r("comment-updated",
|
|
7365
|
-
},
|
|
7366
|
-
C(), r("comment-deleted",
|
|
7445
|
+
}, O = (y) => {
|
|
7446
|
+
C(), r("comment-updated", y);
|
|
7447
|
+
}, I = (y) => {
|
|
7448
|
+
C(), r("comment-deleted", y);
|
|
7367
7449
|
};
|
|
7368
7450
|
P(
|
|
7369
7451
|
() => e.topic,
|
|
@@ -7371,19 +7453,19 @@ const M4 = {
|
|
|
7371
7453
|
{ immediate: !0 }
|
|
7372
7454
|
), P(n, () => setTimeout(() => n.value && a.value.focus(), 50));
|
|
7373
7455
|
let _, V;
|
|
7374
|
-
return
|
|
7456
|
+
return xe(() => {
|
|
7375
7457
|
if (c) {
|
|
7376
|
-
const
|
|
7377
|
-
([
|
|
7458
|
+
const y = () => Object.entries(o()).map(
|
|
7459
|
+
([Z, M]) => M.map((F, R) => ({ key: `${Z}-${R}`, id: Z, index: R, viewer: F }))
|
|
7378
7460
|
).flat();
|
|
7379
|
-
b.value =
|
|
7380
|
-
b.value =
|
|
7461
|
+
b.value = y(), _ = c.globalContext.hub.on("plugin-created", () => {
|
|
7462
|
+
b.value = y();
|
|
7381
7463
|
}), V = c.globalContext.hub.on("plugin-destroyed", () => {
|
|
7382
|
-
b.value =
|
|
7464
|
+
b.value = y();
|
|
7383
7465
|
});
|
|
7384
7466
|
}
|
|
7385
|
-
}),
|
|
7386
|
-
c.globalContext.hub.off(_), c.globalContext.hub.off(V);
|
|
7467
|
+
}), Ze(() => {
|
|
7468
|
+
c && (c.globalContext.hub.off(_), c.globalContext.hub.off(V));
|
|
7387
7469
|
}), {
|
|
7388
7470
|
// References
|
|
7389
7471
|
comments: i,
|
|
@@ -7396,36 +7478,36 @@ const M4 = {
|
|
|
7396
7478
|
viewpoint: u,
|
|
7397
7479
|
isViewer: Boolean(c),
|
|
7398
7480
|
// Methods
|
|
7399
|
-
createViewpoint:
|
|
7400
|
-
deleteViewpoint:
|
|
7481
|
+
createViewpoint: x,
|
|
7482
|
+
deleteViewpoint: E,
|
|
7401
7483
|
highlightViewer: g,
|
|
7402
7484
|
loadComments: C,
|
|
7403
|
-
onCommentDeleted:
|
|
7404
|
-
onCommentUpdated:
|
|
7405
|
-
setCommentViewpoint:
|
|
7406
|
-
submitComment:
|
|
7485
|
+
onCommentDeleted: I,
|
|
7486
|
+
onCommentUpdated: O,
|
|
7487
|
+
setCommentViewpoint: H,
|
|
7488
|
+
submitComment: B,
|
|
7407
7489
|
unhighlightViewer: m
|
|
7408
7490
|
};
|
|
7409
7491
|
}
|
|
7410
|
-
},
|
|
7411
|
-
var
|
|
7492
|
+
}, ue = {};
|
|
7493
|
+
var w4 = /* @__PURE__ */ D(
|
|
7494
|
+
Z4,
|
|
7412
7495
|
M4,
|
|
7413
|
-
|
|
7414
|
-
V4,
|
|
7496
|
+
x4,
|
|
7415
7497
|
!1,
|
|
7416
|
-
|
|
7417
|
-
"
|
|
7498
|
+
k4,
|
|
7499
|
+
"f39efc00",
|
|
7418
7500
|
null,
|
|
7419
7501
|
null
|
|
7420
7502
|
);
|
|
7421
|
-
function
|
|
7422
|
-
for (let r in
|
|
7423
|
-
this[r] =
|
|
7503
|
+
function k4(e) {
|
|
7504
|
+
for (let r in ue)
|
|
7505
|
+
this[r] = ue[r];
|
|
7424
7506
|
}
|
|
7425
|
-
const
|
|
7426
|
-
return
|
|
7507
|
+
const $4 = /* @__PURE__ */ function() {
|
|
7508
|
+
return w4.exports;
|
|
7427
7509
|
}();
|
|
7428
|
-
var
|
|
7510
|
+
var F4 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), D4 = { 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) => F4.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
7429
7511
|
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 };
|
|
7430
7512
|
}, style() {
|
|
7431
7513
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
@@ -7452,16 +7534,16 @@ function h(e, r, t, i, n, d, a, s, u, C) {
|
|
|
7452
7534
|
}
|
|
7453
7535
|
return t;
|
|
7454
7536
|
}
|
|
7455
|
-
const
|
|
7456
|
-
function
|
|
7537
|
+
const E4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
7538
|
+
function e2(e) {
|
|
7457
7539
|
return (r, t) => function(i, n) {
|
|
7458
|
-
const d =
|
|
7540
|
+
const d = E4 ? n.media || "default" : i, a = fe[d] || (fe[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
7459
7541
|
if (!a.ids.has(i)) {
|
|
7460
7542
|
a.ids.add(i);
|
|
7461
7543
|
let s = n.source;
|
|
7462
7544
|
if (n.map && (s += `
|
|
7463
7545
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
7464
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
7546
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), q1 === void 0 && (q1 = document.head || document.getElementsByTagName("head")[0]), q1.appendChild(a.element)), "styleSheet" in a.element)
|
|
7465
7547
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
7466
7548
|
`);
|
|
7467
7549
|
else {
|
|
@@ -7471,16 +7553,16 @@ function G1(e) {
|
|
|
7471
7553
|
}
|
|
7472
7554
|
}(r, t);
|
|
7473
7555
|
}
|
|
7474
|
-
let
|
|
7475
|
-
const
|
|
7556
|
+
let q1;
|
|
7557
|
+
const fe = {}, B4 = h({ render: function() {
|
|
7476
7558
|
var e = this, r = e.$createElement;
|
|
7477
7559
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
7478
7560
|
return e.$emit("click", t);
|
|
7479
7561
|
} } }, [e._t("default")], 2);
|
|
7480
7562
|
}, staticRenderFns: [] }, function(e) {
|
|
7481
7563
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
7482
|
-
},
|
|
7483
|
-
var
|
|
7564
|
+
}, D4, "data-v-7af18892", !1, void 0, !1, e2, void 0, void 0);
|
|
7565
|
+
var Ce = { addFile: h({ render: function() {
|
|
7484
7566
|
var e = this.$createElement;
|
|
7485
7567
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
7486
7568
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), addFolder: h({ render: function() {
|
|
@@ -7944,8 +8026,8 @@ var ce = { addFile: h({ render: function() {
|
|
|
7944
8026
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0), viewer3dPolychrome: h({ render: function() {
|
|
7945
8027
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
7946
8028
|
return t("g", [t("path", { staticClass: "fill-primary", attrs: { d: "M0 6.13333L10.7333 10.4896V23L0 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-primary", attrs: { d: "M23 6.13333L12.2667 10.4896V23L23 18.6437V6.13333Z" } }), e._v(" "), t("path", { staticClass: "fill-secondary", attrs: { d: "M11.4437 0L1.53333 4.4386L11.4437 8.43333L21.4667 4.21667L11.4437 0Z" } })]);
|
|
7947
|
-
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) },
|
|
7948
|
-
const
|
|
8029
|
+
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0) }, R4 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
8030
|
+
const he = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 }, I4 = h({ render: function() {
|
|
7949
8031
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
7950
8032
|
return t("div", { staticClass: "bimdata-carousel" }, [t("BIMDataButton", { directives: [{ name: "show", rawName: "v-show", value: e.index > 0, expression: "index > 0" }], staticClass: "bimdata-carousel__btn-prev", attrs: { color: "default", fill: "", rounded: "", icon: "" }, on: { click: function(i) {
|
|
7951
8033
|
e.index--;
|
|
@@ -7954,21 +8036,21 @@ const ue = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xx
|
|
|
7954
8036
|
} } }, [t("BIMDataIcon", { attrs: { name: "chevron", size: "s" } })], 1)], 1);
|
|
7955
8037
|
}, staticRenderFns: [] }, function(e) {
|
|
7956
8038
|
e && e("data-v-4dd92ffc_0", { source: ".bimdata-carousel[data-v-4dd92ffc]{--button-size:44px;position:relative}.bimdata-carousel__container[data-v-4dd92ffc]{overflow-x:hidden;margin:-28px 0;padding:28px 0}.bimdata-carousel__container__slider[data-v-4dd92ffc]{position:relative;transition:transform .5s ease-out}.bimdata-carousel__btn-next[data-v-4dd92ffc],.bimdata-carousel__btn-prev[data-v-4dd92ffc]{position:absolute;z-index:2;top:calc(50% - var(--button-size)/ 2);width:var(--button-size);height:var(--button-size);box-shadow:var(--box-shadow)}.bimdata-carousel__btn-prev[data-v-4dd92ffc]{left:calc(0px - var(--button-size)/ 2)}.bimdata-carousel__btn-next[data-v-4dd92ffc]{right:calc(0px - var(--button-size)/ 2)}", map: void 0, media: void 0 });
|
|
7957
|
-
}, { components: { BIMDataButton:
|
|
8039
|
+
}, { components: { BIMDataButton: B4, BIMDataIcon: h({ render: function() {
|
|
7958
8040
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
7959
8041
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: e.fillColor, color: e.color } }, [t("bimdata-icon-" + e.name, { tag: "component" })], 1);
|
|
7960
8042
|
}, staticRenderFns: [] }, function(e) {
|
|
7961
8043
|
e && (e("data-v-198621a2_0", { source: 'html[data-v-198621a2]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-198621a2_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
7962
8044
|
}, { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
7963
8045
|
return Object.entries(e).reduce((r, [t, i]) => ({ ...r, [`bimdata-icon-${t}`]: i }), {});
|
|
7964
|
-
}(
|
|
8046
|
+
}(Ce) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(Ce).includes(e) }, color: { type: String, default: "default", validator: (e) => R4.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(he).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
7965
8047
|
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 };
|
|
7966
8048
|
}, style() {
|
|
7967
8049
|
const e = this.getPixelSize(this.size);
|
|
7968
8050
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
7969
8051
|
} }, methods: { getPixelSize() {
|
|
7970
|
-
return this.customSize ? this.customSize :
|
|
7971
|
-
} } }, "data-v-198621a2", !1, void 0, !1,
|
|
8052
|
+
return this.customSize ? this.customSize : he[this.size];
|
|
8053
|
+
} } }, "data-v-198621a2", !1, void 0, !1, e2, void 0, void 0) }, props: { sliderPadding: { type: Number, default: 12 }, minGap: { type: Number, default: 24 } }, data: () => ({ index: 0, maxIndex: 0, translations: [] }), watch: { minGap() {
|
|
7972
8054
|
this.distributeItems();
|
|
7973
8055
|
} }, mounted() {
|
|
7974
8056
|
this.distributeItems(), this.resizeObserver = new ResizeObserver(() => this.distributeItems()), this.resizeObserver.observe(this.$refs.slider), this.mutationObserver = new MutationObserver(() => this.distributeItems()), this.mutationObserver.observe(this.$refs.slider, { childList: !0 });
|
|
@@ -7988,8 +8070,8 @@ const ue = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xx
|
|
|
7988
8070
|
n = C * s, u.push(n), Object.assign(r[C].style, { position: "absolute", top: `${this.sliderPadding}px`, left: `${this.sliderPadding + n}px` });
|
|
7989
8071
|
this.maxIndex = Math.max(r.length - d, 0), this.index = Math.min(this.index, this.maxIndex), this.translations = u;
|
|
7990
8072
|
}
|
|
7991
|
-
} } }, "data-v-4dd92ffc", !1, void 0, !1,
|
|
7992
|
-
var
|
|
8073
|
+
} } }, "data-v-4dd92ffc", !1, void 0, !1, e2, void 0, void 0);
|
|
8074
|
+
var S4 = function() {
|
|
7993
8075
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
7994
8076
|
return t("div", {
|
|
7995
8077
|
staticClass: "bcf-topic-viewpoints",
|
|
@@ -8035,12 +8117,12 @@ var R4 = function() {
|
|
|
8035
8117
|
}), 0)] : [t("BcfTopicDefaultImage", {
|
|
8036
8118
|
staticClass: "default-image"
|
|
8037
8119
|
})]], 2);
|
|
8038
|
-
},
|
|
8039
|
-
const
|
|
8120
|
+
}, T4 = [];
|
|
8121
|
+
const O4 = {
|
|
8040
8122
|
components: {
|
|
8041
|
-
BcfTopicDefaultImage:
|
|
8042
|
-
BIMDataCarousel:
|
|
8043
|
-
BIMDataIcon:
|
|
8123
|
+
BcfTopicDefaultImage: n2,
|
|
8124
|
+
BIMDataCarousel: I4,
|
|
8125
|
+
BIMDataIcon: T
|
|
8044
8126
|
},
|
|
8045
8127
|
props: {
|
|
8046
8128
|
detailedExtensions: {
|
|
@@ -8061,39 +8143,39 @@ const S4 = {
|
|
|
8061
8143
|
var n;
|
|
8062
8144
|
return {
|
|
8063
8145
|
...i,
|
|
8064
|
-
icon: (n =
|
|
8146
|
+
icon: (n = g5(i)) == null ? void 0 : n.icon
|
|
8065
8147
|
};
|
|
8066
8148
|
})
|
|
8067
8149
|
);
|
|
8068
8150
|
return {
|
|
8069
8151
|
// References
|
|
8070
8152
|
statusColor: w(
|
|
8071
|
-
() =>
|
|
8153
|
+
() => i2(e.topic, e.detailedExtensions)
|
|
8072
8154
|
),
|
|
8073
8155
|
viewpoints: r,
|
|
8074
8156
|
// Methods
|
|
8075
|
-
adjustTextColor:
|
|
8157
|
+
adjustTextColor: x1
|
|
8076
8158
|
};
|
|
8077
8159
|
}
|
|
8078
|
-
},
|
|
8079
|
-
var
|
|
8160
|
+
}, ve = {};
|
|
8161
|
+
var z4 = /* @__PURE__ */ D(
|
|
8162
|
+
O4,
|
|
8080
8163
|
S4,
|
|
8081
|
-
|
|
8082
|
-
I4,
|
|
8164
|
+
T4,
|
|
8083
8165
|
!1,
|
|
8084
|
-
|
|
8166
|
+
P4,
|
|
8085
8167
|
"a5dda0ea",
|
|
8086
8168
|
null,
|
|
8087
8169
|
null
|
|
8088
8170
|
);
|
|
8089
|
-
function
|
|
8090
|
-
for (let r in
|
|
8091
|
-
this[r] =
|
|
8171
|
+
function P4(e) {
|
|
8172
|
+
for (let r in ve)
|
|
8173
|
+
this[r] = ve[r];
|
|
8092
8174
|
}
|
|
8093
|
-
const
|
|
8094
|
-
return
|
|
8175
|
+
const N4 = /* @__PURE__ */ function() {
|
|
8176
|
+
return z4.exports;
|
|
8095
8177
|
}();
|
|
8096
|
-
var
|
|
8178
|
+
var A4 = function() {
|
|
8097
8179
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8098
8180
|
return t("div", {
|
|
8099
8181
|
staticClass: "bcf-topic-overview"
|
|
@@ -8364,17 +8446,17 @@ var P4 = function() {
|
|
|
8364
8446
|
proxy: !0
|
|
8365
8447
|
}], null, !1, 1312545172)
|
|
8366
8448
|
}) : e._e(), e.loading ? t("div", [t("BIMDataLoading")], 1) : e._e()], 1);
|
|
8367
|
-
},
|
|
8368
|
-
const
|
|
8449
|
+
}, j4 = [];
|
|
8450
|
+
const U4 = {
|
|
8369
8451
|
components: {
|
|
8370
|
-
BcfTopicComments:
|
|
8371
|
-
BcfTopicDefaultImage:
|
|
8372
|
-
BcfTopicViewpoints:
|
|
8373
|
-
BIMDataButton:
|
|
8374
|
-
BIMDataIcon:
|
|
8375
|
-
BIMDataLoading:
|
|
8376
|
-
BIMDataSafeZoneModal:
|
|
8377
|
-
BIMDataTextbox:
|
|
8452
|
+
BcfTopicComments: $4,
|
|
8453
|
+
BcfTopicDefaultImage: n2,
|
|
8454
|
+
BcfTopicViewpoints: N4,
|
|
8455
|
+
BIMDataButton: S,
|
|
8456
|
+
BIMDataIcon: T,
|
|
8457
|
+
BIMDataLoading: k1,
|
|
8458
|
+
BIMDataSafeZoneModal: ze,
|
|
8459
|
+
BIMDataTextbox: f1
|
|
8378
8460
|
},
|
|
8379
8461
|
props: {
|
|
8380
8462
|
uiConfig: {
|
|
@@ -8414,7 +8496,7 @@ const A4 = {
|
|
|
8414
8496
|
"view-topic-viewpoint"
|
|
8415
8497
|
],
|
|
8416
8498
|
setup(e, { emit: r }) {
|
|
8417
|
-
const t =
|
|
8499
|
+
const t = u1(), i = L(!1), n = L(!1), d = w(() => G(e.topic, e.detailedExtensions)), a = w(() => {
|
|
8418
8500
|
var C, o, c;
|
|
8419
8501
|
return ((c = (o = (C = e.topic.viewpoints) == null ? void 0 : C[0]) == null ? void 0 : o.components) == null ? void 0 : c.selection) ?? [];
|
|
8420
8502
|
}), s = w(() => Array.from(e.topic.labels ?? []).sort());
|
|
@@ -8426,7 +8508,7 @@ const A4 = {
|
|
|
8426
8508
|
topicLabels: s,
|
|
8427
8509
|
topicObjects: a,
|
|
8428
8510
|
// Methods
|
|
8429
|
-
adjustTextColor:
|
|
8511
|
+
adjustTextColor: x1,
|
|
8430
8512
|
deleteTopic: async () => {
|
|
8431
8513
|
try {
|
|
8432
8514
|
n.value = !1, i.value = !0, await t.deleteTopic(e.project, e.topic), r("topic-deleted", e.topic);
|
|
@@ -8438,24 +8520,24 @@ const A4 = {
|
|
|
8438
8520
|
}
|
|
8439
8521
|
};
|
|
8440
8522
|
}
|
|
8441
|
-
},
|
|
8442
|
-
var
|
|
8523
|
+
}, pe = {};
|
|
8524
|
+
var q4 = /* @__PURE__ */ D(
|
|
8525
|
+
U4,
|
|
8443
8526
|
A4,
|
|
8444
|
-
|
|
8445
|
-
N4,
|
|
8527
|
+
j4,
|
|
8446
8528
|
!1,
|
|
8447
|
-
|
|
8529
|
+
Y4,
|
|
8448
8530
|
"bf427056",
|
|
8449
8531
|
null,
|
|
8450
8532
|
null
|
|
8451
8533
|
);
|
|
8452
|
-
function
|
|
8453
|
-
for (let r in
|
|
8454
|
-
this[r] =
|
|
8534
|
+
function Y4(e) {
|
|
8535
|
+
for (let r in pe)
|
|
8536
|
+
this[r] = pe[r];
|
|
8455
8537
|
}
|
|
8456
|
-
const
|
|
8457
|
-
return
|
|
8458
|
-
}(),
|
|
8538
|
+
const W4 = /* @__PURE__ */ function() {
|
|
8539
|
+
return q4.exports;
|
|
8540
|
+
}(), ge = [
|
|
8459
8541
|
{
|
|
8460
8542
|
id: "index",
|
|
8461
8543
|
label: "#",
|
|
@@ -8493,12 +8575,12 @@ const q4 = /* @__PURE__ */ function() {
|
|
|
8493
8575
|
align: "center"
|
|
8494
8576
|
}
|
|
8495
8577
|
];
|
|
8496
|
-
var
|
|
8578
|
+
var X4 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), K4 = { 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) => X4.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
8497
8579
|
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 };
|
|
8498
8580
|
}, style() {
|
|
8499
8581
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
8500
8582
|
} } };
|
|
8501
|
-
function
|
|
8583
|
+
function l1(e, r, t, i, n, d, a, s, u, C) {
|
|
8502
8584
|
typeof a != "boolean" && (u = s, s = a, a = !1);
|
|
8503
8585
|
const o = typeof t == "function" ? t.options : t;
|
|
8504
8586
|
let c;
|
|
@@ -8520,16 +8602,16 @@ function a1(e, r, t, i, n, d, a, s, u, C) {
|
|
|
8520
8602
|
}
|
|
8521
8603
|
return t;
|
|
8522
8604
|
}
|
|
8523
|
-
const
|
|
8524
|
-
function
|
|
8605
|
+
const J4 = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
8606
|
+
function M1(e) {
|
|
8525
8607
|
return (r, t) => function(i, n) {
|
|
8526
|
-
const d =
|
|
8608
|
+
const d = J4 ? n.media || "default" : i, a = be[d] || (be[d] = { ids: /* @__PURE__ */ new Set(), styles: [] });
|
|
8527
8609
|
if (!a.ids.has(i)) {
|
|
8528
8610
|
a.ids.add(i);
|
|
8529
8611
|
let s = n.source;
|
|
8530
8612
|
if (n.map && (s += `
|
|
8531
8613
|
/*# sourceURL=` + n.map.sources[0] + " */", s += `
|
|
8532
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media),
|
|
8614
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(n.map)))) + " */"), a.element || (a.element = document.createElement("style"), a.element.type = "text/css", n.media && a.element.setAttribute("media", n.media), Y1 === void 0 && (Y1 = document.head || document.getElementsByTagName("head")[0]), Y1.appendChild(a.element)), "styleSheet" in a.element)
|
|
8533
8615
|
a.styles.push(s), a.element.styleSheet.cssText = a.styles.filter(Boolean).join(`
|
|
8534
8616
|
`);
|
|
8535
8617
|
else {
|
|
@@ -8539,15 +8621,15 @@ function _1(e) {
|
|
|
8539
8621
|
}
|
|
8540
8622
|
}(r, t);
|
|
8541
8623
|
}
|
|
8542
|
-
let
|
|
8543
|
-
const
|
|
8624
|
+
let Y1;
|
|
8625
|
+
const be = {}, G4 = l1({ render: function() {
|
|
8544
8626
|
var e = this, r = e.$createElement;
|
|
8545
8627
|
return (e._self._c || r)("button", { staticClass: "bimdata-btn", class: e.classes, style: e.style, attrs: { color: e.color, type: "button" }, on: { click: function(t) {
|
|
8546
8628
|
return e.$emit("click", t);
|
|
8547
8629
|
} } }, [e._t("default")], 2);
|
|
8548
8630
|
}, staticRenderFns: [] }, function(e) {
|
|
8549
8631
|
e && (e("data-v-7af18892_0", { source: 'html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}html[data-v-7af18892]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.text-left[data-v-7af18892]{text-align:left}.text-center[data-v-7af18892]{text-align:center}.text-right[data-v-7af18892]{text-align:right}.bimdata-link[data-v-7af18892]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-7af18892]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-7af18892_1", { source: ".bimdata-btn{padding:0 var(--spacing-unit);height:fit-content;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:var(--color-primary);cursor:pointer;font-family:var(--primary-font);font-size:12px;transition:all .1s ease}.bimdata-btn:hover{transition:all .25s ease-in}.bimdata-btn:focus{outline:0}.bimdata-btn__icon{padding:0}.bimdata-btn__radius{border-radius:3px}.bimdata-btn__square{border-radius:0}.bimdata-btn__rounded{border-radius:50%}.bimdata-btn__fill{background-color:var(--color-white);justify-content:center}.bimdata-btn__fill--default{box-shadow:var(--box-shadow)}.bimdata-btn__fill--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__fill--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__fill--primary:hover{background-color:var(--color-primary-light)}.bimdata-btn__fill--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__fill--secondary:hover{background-color:var(--color-secondary-light)}.bimdata-btn__fill--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__fill--granite:hover{background-color:var(--color-granite)}.bimdata-btn__fill--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__fill--high:hover{background-color:var(--color-high-light)}.bimdata-btn__fill--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__fill--success:hover{background-color:var(--color-success-light)}.bimdata-btn__fill--btn-icon svg{margin:0 6px}.bimdata-btn__fill:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__ripple{background-position:center;transition:background .8s}.bimdata-btn__ripple--default{background-color:transparent;color:var(--color-primary)}.bimdata-btn__ripple--default:hover{background:transparent radial-gradient(circle,transparent 1%,var(--color-silver-light) 1%) center/15000%}.bimdata-btn__ripple--default:active:not(:disabled){background-color:var(--color-silver-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--primary{background-color:var(--color-primary);color:var(--color-white)}.bimdata-btn__ripple--primary:hover{background:var(--color-primary) radial-gradient(circle,transparent 1%,var(--color-primary) 1%) center/15000%}.bimdata-btn__ripple--primary:active:not(:disabled){background-color:var(--color-primary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--secondary{background-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__ripple--secondary:hover{background:var(--color-secondary) radial-gradient(circle,transparent 1%,var(--color-secondary) 1%) center/15000%}.bimdata-btn__ripple--secondary:active:not(:disabled){background-color:var(--color-secondary-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--granite{background-color:var(--color-granite);color:var(--color-white)}.bimdata-btn__ripple--granite:hover{background:var(--color-granite) radial-gradient(circle,transparent 1%,var(--color-granite) 1%) center/15000%}.bimdata-btn__ripple--granite:active:not(:disabled){background-color:var(--color-granite-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--high{background-color:var(--color-high);color:var(--color-white)}.bimdata-btn__ripple--high:hover{background:var(--color-high) radial-gradient(circle,transparent 1%,var(--color-high) 1%) center/15000%}.bimdata-btn__ripple--high:active:not(:disabled){background-color:var(--color-high-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple--success{background-color:var(--color-success);color:var(--color-white)}.bimdata-btn__ripple--success:hover{background:var(--color-success) radial-gradient(circle,transparent 1%,var(--color-success) 1%) center/15000%}.bimdata-btn__ripple--success:active:not(:disabled){background-color:var(--color-success-light);background-size:100%;transition:background 0s}.bimdata-btn__ripple:disabled{background-color:var(--color-silver-dark);color:var(--color-white);cursor:auto}.bimdata-btn__outline{justify-content:center;border:1px solid}.bimdata-btn__outline--default{border-color:var(--color-silver);color:var(--color-primary)}.bimdata-btn__outline--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--primary{border-color:var(--color-primary);color:var(--color-primary)}.bimdata-btn__outline--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__outline--secondary{border-color:var(--color-secondary);color:var(--color-primary)}.bimdata-btn__outline--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__outline--granite{border-color:var(--color-granite);color:var(--color-granite)}.bimdata-btn__outline--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__outline--high{border-color:var(--color-high);color:var(--color-high)}.bimdata-btn__outline--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__outline--success{border-color:var(--color-success);color:var(--color-success)}.bimdata-btn__outline--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__outline:disabled{border-color:var(--color-silver-dark);color:var(--color-silver-dark);cursor:auto}.bimdata-btn__outline:disabled:hover{background-color:transparent}.bimdata-btn__ghost{justify-content:center}.bimdata-btn__ghost svg{display:flex;align-items:center}.bimdata-btn__ghost--default{color:var(--color-primary)}.bimdata-btn__ghost--default:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--primary{color:var(--color-primary)}.bimdata-btn__ghost--primary:hover{background-color:var(--color-primary-lighter)}.bimdata-btn__ghost--secondary{color:var(--color-secondary)}.bimdata-btn__ghost--secondary:hover{background-color:var(--color-secondary-lighter)}.bimdata-btn__ghost--granite{color:var(--color-granite)}.bimdata-btn__ghost--granite:hover{background-color:var(--color-silver-light)}.bimdata-btn__ghost--high{color:var(--color-high)}.bimdata-btn__ghost--high:hover{background-color:var(--color-high-lighter)}.bimdata-btn__ghost--success{color:var(--color-success)}.bimdata-btn__ghost--success:hover{background-color:var(--color-success-lighter)}.bimdata-btn__ghost:disabled{color:var(--color-silver-dark);cursor:auto}", map: void 0, media: void 0 }));
|
|
8550
|
-
},
|
|
8632
|
+
}, K4, "data-v-7af18892", !1, void 0, !1, M1, void 0, void 0), Q4 = l1({ render: function() {
|
|
8551
8633
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8552
8634
|
return t("div", e._b({ staticClass: "bimdata-checkbox", class: { indeterminate: e.indeterminate, disabled: e.disabled, checked: e.checked }, style: e.style, on: { click: e.onClick } }, "div", e.$attrs, !1), [t("span", { staticClass: "bimdata-checkbox__mark" }), e._v(" "), e.text ? t("span", { staticClass: "bimdata-checkbox__text" }, [e._t("default", function() {
|
|
8553
8635
|
return [e._v(e._s(e.text))];
|
|
@@ -8562,14 +8644,14 @@ const ve = {}, K4 = a1({ render: function() {
|
|
|
8562
8644
|
return { margin: `${this.margin}` };
|
|
8563
8645
|
} }, methods: { onClick() {
|
|
8564
8646
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
8565
|
-
} } }, "data-v-092b3c62", !1, void 0, !1,
|
|
8647
|
+
} } }, "data-v-092b3c62", !1, void 0, !1, M1, void 0, void 0), e0 = l1({ render: function() {
|
|
8566
8648
|
var e = this.$createElement;
|
|
8567
8649
|
return (this._self._c || e)("path", { attrs: { "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" } });
|
|
8568
8650
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
8569
|
-
var
|
|
8570
|
-
const
|
|
8571
|
-
var
|
|
8572
|
-
const
|
|
8651
|
+
var t0 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
8652
|
+
const me = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
8653
|
+
var _e;
|
|
8654
|
+
const r0 = l1({ render: function() {
|
|
8573
8655
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8574
8656
|
return t("div", { staticClass: "bimdata-table" }, [t("div", { staticClass: "bimdata-table__container", style: { height: e.paginated ? (e.perPage + 1) * e.rowHeight + "px" : void 0 } }, [t("table", { style: { width: e.tableWidth, tableLayout: e.tableLayout } }, [t("thead", [t("tr", { key: "head-row-0", style: { height: e.rowHeight + "px" } }, [e.selectable ? t("th", { staticClass: "cell-checkbox" }, [t("BIMDataCheckbox", { attrs: { disabled: e.rows.length === 0, modelValue: e.rows.length > 0 && e.rowSelection.size === e.rows.length }, on: { "update:modelValue": e.toggleAll } })], 1) : e._e(), e._v(" "), e._l(e.columns, function(i, n) {
|
|
8575
8657
|
return t("th", { key: "head-row-0-col-" + n, style: { width: i.width || "auto", textAlign: i.align || "left" } }, [e._v(`
|
|
@@ -8601,36 +8683,36 @@ const e0 = a1({ render: function() {
|
|
|
8601
8683
|
} } }, [t("BIMDataIconChevron", { attrs: { size: "s" } })], 1)], 1) : e._e()]);
|
|
8602
8684
|
}, staticRenderFns: [] }, function(e) {
|
|
8603
8685
|
e && e("data-v-edc86fb6_0", { source: 'html[data-v-edc86fb6]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}.bimdata-table[data-v-edc86fb6]{width:100%;font-size:.9rem;background-color:var(--color-white)}.bimdata-table__container[data-v-edc86fb6]{height:100%}.bimdata-table__container table[data-v-edc86fb6]{border-collapse:collapse;border-spacing:0}.bimdata-table__container table tbody tr[data-v-edc86fb6]:nth-child(odd){background-color:var(--color-silver-light)}.bimdata-table__container table td[data-v-edc86fb6],.bimdata-table__container table th[data-v-edc86fb6]{min-height:calc(var(--spacing-unit) * 2);padding:0 var(--spacing-unit)}.bimdata-table__container table td.cell-checkbox[data-v-edc86fb6]:deep(),.bimdata-table__container table th.cell-checkbox[data-v-edc86fb6]:deep(){width:42px}.bimdata-table__container table th[data-v-edc86fb6]{font-weight:700;color:var(--color-primary)}.bimdata-table__container table th.cell-sub-header[data-v-edc86fb6]{min-height:0;padding:0;text-align:left;font-weight:400;color:var(--color-granite-lightest)}.bimdata-table__container table td[data-v-edc86fb6]{color:var(--color-granite-light)}.bimdata-table__container__placeholder[data-v-edc86fb6]{display:flex;justify-content:center;align-items:center;padding:var(--spacing-unit);font-size:1rem;font-weight:700}.bimdata-table__page-nav[data-v-edc86fb6]{display:flex;justify-content:flex-end;align-items:center;padding:var(--spacing-unit)}.bimdata-table__page-nav__text[data-v-edc86fb6]{margin:0 var(--spacing-unit)}', map: void 0, media: void 0 });
|
|
8604
|
-
}, { components: { BIMDataButton:
|
|
8686
|
+
}, { components: { BIMDataButton: G4, BIMDataCheckbox: Q4, BIMDataIconChevron: l1({ render: function() {
|
|
8605
8687
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8606
8688
|
return t("svg", { class: e.classes, style: e.style, attrs: { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: e.fillColor, color: e.color } }, [t("Chevron")], 1);
|
|
8607
8689
|
}, staticRenderFns: [] }, function(e) {
|
|
8608
8690
|
e && (e("data-v-20c38c94_0", { source: 'html[data-v-20c38c94]{--color-primary-lighter:rgba(248, 249, 250, 1);--color-primary-light:rgba(67, 78, 105, 1);--color-primary:rgba(47, 55, 74, 1);--color-primary-dark:rgba(27, 32, 43, 1);--color-secondary-lighter:rgba(255, 252, 242, 1);--color-secondary-light:rgba(250, 212, 94, 1);--color-secondary:rgba(249, 199, 44, 1);--color-secondary-dark:rgba(235, 180, 7, 1);--color-white:rgba(255, 255, 255, 1);--color-silver-light:rgba(247, 247, 247, 1);--color-silver:rgba(216, 216, 216, 1);--color-silver-dark:rgba(189, 189, 189, 1);--color-granite-light:rgba(122, 122, 122, 1);--color-granite:rgba(96, 96, 96, 1);--color-black:rgba(0, 0, 0, 1);--color-text:rgba(47, 55, 74, 1);--color-black-100:rgba(0, 0, 0, 0.1);--color-success-lighter:rgba(226, 255, 239, 1);--color-success-light:rgba(0, 200, 92, 1);--color-success:rgba(0, 175, 80, 1);--color-success-dark:rgba(0, 149, 68, 1);--color-warning-lighter:rgba(255, 233, 204, 1);--color-warning-light:rgba(255, 167, 51, 1);--color-warning:rgba(255, 145, 0, 1);--color-warning-dark:rgba(204, 116, 0, 1);--color-high-lighter:rgba(255, 237, 234, 1);--color-high-light:rgba(255, 104, 81, 1);--color-high:rgba(255, 61, 30, 1);--color-high-dark:rgba(234, 31, 0, 1);--font-size:14px;--box-shadow:0px 2px 10px rgba(0, 0, 0, 0.1);--border-radius-tiny:3px;--spacing-unit:12px;--size-btn-options:45px;--primary-font:"roboto",sans-serif}', map: void 0, media: void 0 }), e("data-v-20c38c94_1", { source: ".icon-fill--black{fill:var(--color-black)}.icon-fill--default{fill:currentColor}.icon-fill--disabled{fill:var(--color-silver-dark)}.icon-fill--high{fill:var(--color-high)}.icon-fill--primary{fill:var(--color-primary)}.icon-fill--secondary{fill:var(--color-secondary)}.icon-fill--success{fill:var(--color-success)}.icon-fill--silver{fill:var(--color-silver)}.icon-fill--granite-light{fill:var(--color-granite-light)}.icon-fill--granite{fill:var(--color-granite)}.icon-fill--silver-light{fill:var(--color-silver-light)}.icon-fill--warning{fill:var(--color-warning)}.icon-fill--white{fill:var(--color-white)}.icon-stroke{fill:transparent}.icon-stroke--black{stroke:var(--color-black)}.icon-stroke--default{stroke:currentColor}.icon-stroke--disabled{stroke:var(--color-silver-dark)}.icon-stroke--high{stroke:var(--color-high)}.icon-stroke--neutral{stroke:var(--color-neutral)}.icon-stroke--primary{stroke:var(--color-primary)}.icon-stroke--secondary{stroke:var(--color-secondary)}.icon-stroke--success{stroke:var(--color-success)}.icon-stroke--silver{stroke:var(--color-silver)}.icon-stroke--granite-light{stroke:var(--color-granite-light)}.icon-stroke--granite{stroke:var(--color-granite)}.icon-stroke--silver-light{stroke:var(--color-silver-light)}.icon-stroke--warning{stroke:var(--color-warning)}.icon-stroke--white{stroke:var(--color-white)}", map: void 0, media: void 0 }));
|
|
8609
|
-
}, { name: `BIMDataIcon${
|
|
8691
|
+
}, { name: `BIMDataIcon${_e = "Chevron"}`, components: { [_e]: e0 }, props: { color: { type: String, default: "default", validator: (e) => t0.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(me).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
8610
8692
|
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 };
|
|
8611
8693
|
}, style() {
|
|
8612
8694
|
const e = this.getPixelSize(this.size);
|
|
8613
8695
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
8614
8696
|
} }, methods: { getPixelSize() {
|
|
8615
|
-
return this.customSize ? this.customSize :
|
|
8616
|
-
} } }, "data-v-20c38c94", !1, void 0, !1,
|
|
8697
|
+
return this.customSize ? this.customSize : me[this.size];
|
|
8698
|
+
} } }, "data-v-20c38c94", !1, void 0, !1, M1, void 0, void 0) }, props: { columns: { type: Array, required: !0 }, rows: { type: Array, required: !0 }, rowKey: { type: String }, rowHeight: { type: Number, default: 50 }, selectable: { type: Boolean, default: !1 }, selection: { type: Map, default: () => /* @__PURE__ */ new Map() }, paginated: { type: Boolean, default: !1 }, perPage: { type: Number, default: 10 }, placeholder: { type: String, default: "" }, tableWidth: { type: String, default: "100%" }, tableLayout: { type: String, default: "auto" } }, emits: ["update:selection", "selection-changed", "row-selected", "row-deselected", "all-selected", "all-deselected", "row-dropped-over"], setup(e, { emit: r }) {
|
|
8617
8699
|
const t = w(() => e.rows.map((o, c) => ({ key: o[e.rowKey] ?? c, data: o }))), { rowSelection: i, toggleRowSelection: n, toggleFullSelection: d } = function(o, c, { rowSelectionUpdateEffect: l = () => {
|
|
8618
8700
|
}, rowSelectionToggleEffect: b = () => {
|
|
8619
8701
|
}, fullSelectionToggleEffect: g = () => {
|
|
8620
8702
|
} } = {}) {
|
|
8621
8703
|
const m = L(/* @__PURE__ */ new Map());
|
|
8622
8704
|
return P(o, () => {
|
|
8623
|
-
m.value = new Map(o.value.filter(({ key:
|
|
8705
|
+
m.value = new Map(o.value.filter(({ key: H }) => c.value.has(H)).map(({ key: H, data: x }) => [H, x]));
|
|
8624
8706
|
}, { immediate: !0 }), P(c, () => {
|
|
8625
8707
|
m.value = c.value;
|
|
8626
8708
|
}, { immediate: !0 }), P(m, () => {
|
|
8627
8709
|
l(m.value);
|
|
8628
|
-
}), { rowSelection: m, toggleRowSelection: ({ key:
|
|
8629
|
-
const
|
|
8630
|
-
|
|
8710
|
+
}), { rowSelection: m, toggleRowSelection: ({ key: H, data: x }) => {
|
|
8711
|
+
const E = () => m.value.has(H);
|
|
8712
|
+
E() ? m.value.delete(H) : m.value.set(H, x), m.value = new Map([...m.value.entries()]), b(E(), { key: H, data: x });
|
|
8631
8713
|
}, toggleFullSelection: () => {
|
|
8632
|
-
const
|
|
8633
|
-
|
|
8714
|
+
const H = () => m.value.size === o.value.length;
|
|
8715
|
+
H() ? m.value = /* @__PURE__ */ new Map() : m.value = new Map(o.value.map(({ key: x, data: E }) => [x, E])), g(H());
|
|
8634
8716
|
} };
|
|
8635
8717
|
}(t, w(() => e.selection), { rowSelectionUpdateEffect: (o) => {
|
|
8636
8718
|
r("update:selection", o), r("selection-changed", Array.from(o.values()));
|
|
@@ -8644,8 +8726,8 @@ const e0 = a1({ render: function() {
|
|
|
8644
8726
|
}, { immediate: !0 }), P([t, () => e.paginated, () => e.perPage, s], ([o, c, l, b]) => {
|
|
8645
8727
|
const g = o.map((m) => m.key);
|
|
8646
8728
|
if (c) {
|
|
8647
|
-
const m = l * b,
|
|
8648
|
-
a.value = g.slice(m,
|
|
8729
|
+
const m = l * b, H = m + l;
|
|
8730
|
+
a.value = g.slice(m, H), u.value = m + 1, C.value = Math.min(H, o.length);
|
|
8649
8731
|
} else
|
|
8650
8732
|
a.value = g;
|
|
8651
8733
|
}, { immediate: !0 }), { computedRows: t, displayedRows: a, pageIndex: s, pageIndexEnd: C, pageIndexStart: u, rowSelection: i, toggleAll: () => {
|
|
@@ -8653,8 +8735,8 @@ const e0 = a1({ render: function() {
|
|
|
8653
8735
|
}, toggleRow: (o) => {
|
|
8654
8736
|
e.selectable && n(o);
|
|
8655
8737
|
} };
|
|
8656
|
-
} }, "data-v-edc86fb6", !1, void 0, !1,
|
|
8657
|
-
var
|
|
8738
|
+
} }, "data-v-edc86fb6", !1, void 0, !1, M1, void 0, void 0);
|
|
8739
|
+
var i0 = function() {
|
|
8658
8740
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8659
8741
|
return t("div", {
|
|
8660
8742
|
staticClass: "bcf-topic-actions-cell"
|
|
@@ -8676,10 +8758,10 @@ var t0 = function() {
|
|
|
8676
8758
|
size: "xs"
|
|
8677
8759
|
}
|
|
8678
8760
|
})], 1)], 1);
|
|
8679
|
-
},
|
|
8680
|
-
const
|
|
8761
|
+
}, a0 = [];
|
|
8762
|
+
const n0 = {
|
|
8681
8763
|
components: {
|
|
8682
|
-
BIMDataButton:
|
|
8764
|
+
BIMDataButton: S
|
|
8683
8765
|
},
|
|
8684
8766
|
props: {
|
|
8685
8767
|
topic: {
|
|
@@ -8690,25 +8772,25 @@ const i0 = {
|
|
|
8690
8772
|
emits: [
|
|
8691
8773
|
"open-topic"
|
|
8692
8774
|
]
|
|
8693
|
-
},
|
|
8694
|
-
var
|
|
8775
|
+
}, Le = {};
|
|
8776
|
+
var o0 = /* @__PURE__ */ D(
|
|
8777
|
+
n0,
|
|
8695
8778
|
i0,
|
|
8696
|
-
|
|
8697
|
-
r0,
|
|
8779
|
+
a0,
|
|
8698
8780
|
!1,
|
|
8699
|
-
|
|
8781
|
+
l0,
|
|
8700
8782
|
"c3107ece",
|
|
8701
8783
|
null,
|
|
8702
8784
|
null
|
|
8703
8785
|
);
|
|
8704
|
-
function
|
|
8705
|
-
for (let r in
|
|
8706
|
-
this[r] =
|
|
8786
|
+
function l0(e) {
|
|
8787
|
+
for (let r in Le)
|
|
8788
|
+
this[r] = Le[r];
|
|
8707
8789
|
}
|
|
8708
|
-
const
|
|
8709
|
-
return
|
|
8790
|
+
const d0 = /* @__PURE__ */ function() {
|
|
8791
|
+
return o0.exports;
|
|
8710
8792
|
}();
|
|
8711
|
-
var
|
|
8793
|
+
var s0 = function() {
|
|
8712
8794
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8713
8795
|
return t("div", {
|
|
8714
8796
|
staticClass: "bcf-topic-index-cell"
|
|
@@ -8720,8 +8802,8 @@ var l0 = function() {
|
|
|
8720
8802
|
}), t("span", {
|
|
8721
8803
|
staticClass: "index"
|
|
8722
8804
|
}, [e._v(" " + e._s(e.topic.index) + " ")])]);
|
|
8723
|
-
},
|
|
8724
|
-
const
|
|
8805
|
+
}, c0 = [];
|
|
8806
|
+
const u0 = {
|
|
8725
8807
|
props: {
|
|
8726
8808
|
detailedExtensions: {
|
|
8727
8809
|
type: Object,
|
|
@@ -8740,25 +8822,25 @@ const s0 = {
|
|
|
8740
8822
|
)
|
|
8741
8823
|
};
|
|
8742
8824
|
}
|
|
8743
|
-
},
|
|
8744
|
-
var
|
|
8825
|
+
}, ye = {};
|
|
8826
|
+
var f0 = /* @__PURE__ */ D(
|
|
8827
|
+
u0,
|
|
8745
8828
|
s0,
|
|
8746
|
-
|
|
8747
|
-
d0,
|
|
8829
|
+
c0,
|
|
8748
8830
|
!1,
|
|
8749
|
-
|
|
8831
|
+
C0,
|
|
8750
8832
|
"6837d03b",
|
|
8751
8833
|
null,
|
|
8752
8834
|
null
|
|
8753
8835
|
);
|
|
8754
|
-
function
|
|
8755
|
-
for (let r in
|
|
8756
|
-
this[r] =
|
|
8836
|
+
function C0(e) {
|
|
8837
|
+
for (let r in ye)
|
|
8838
|
+
this[r] = ye[r];
|
|
8757
8839
|
}
|
|
8758
|
-
const
|
|
8759
|
-
return
|
|
8840
|
+
const h0 = /* @__PURE__ */ function() {
|
|
8841
|
+
return f0.exports;
|
|
8760
8842
|
}();
|
|
8761
|
-
var
|
|
8843
|
+
var v0 = function() {
|
|
8762
8844
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8763
8845
|
return t("span", {
|
|
8764
8846
|
staticClass: "bcf-topic-priority-cell",
|
|
@@ -8766,8 +8848,8 @@ var C0 = function() {
|
|
|
8766
8848
|
color: `#${e.priorityColor}`
|
|
8767
8849
|
}
|
|
8768
8850
|
}, [e._v(" " + e._s(e.topic.priority || e.$t("BcfComponents.BcfTopicPriorityCell.noPriority")) + " ")]);
|
|
8769
|
-
},
|
|
8770
|
-
const
|
|
8851
|
+
}, p0 = [];
|
|
8852
|
+
const g0 = {
|
|
8771
8853
|
props: {
|
|
8772
8854
|
detailedExtensions: {
|
|
8773
8855
|
type: Object,
|
|
@@ -8786,25 +8868,25 @@ const v0 = {
|
|
|
8786
8868
|
)
|
|
8787
8869
|
};
|
|
8788
8870
|
}
|
|
8789
|
-
},
|
|
8790
|
-
var
|
|
8871
|
+
}, He = {};
|
|
8872
|
+
var b0 = /* @__PURE__ */ D(
|
|
8873
|
+
g0,
|
|
8791
8874
|
v0,
|
|
8792
|
-
|
|
8793
|
-
h0,
|
|
8875
|
+
p0,
|
|
8794
8876
|
!1,
|
|
8795
|
-
|
|
8877
|
+
m0,
|
|
8796
8878
|
"905e2396",
|
|
8797
8879
|
null,
|
|
8798
8880
|
null
|
|
8799
8881
|
);
|
|
8800
|
-
function
|
|
8801
|
-
for (let r in
|
|
8802
|
-
this[r] =
|
|
8882
|
+
function m0(e) {
|
|
8883
|
+
for (let r in He)
|
|
8884
|
+
this[r] = He[r];
|
|
8803
8885
|
}
|
|
8804
|
-
const
|
|
8805
|
-
return
|
|
8886
|
+
const _0 = /* @__PURE__ */ function() {
|
|
8887
|
+
return b0.exports;
|
|
8806
8888
|
}();
|
|
8807
|
-
var
|
|
8889
|
+
var L0 = function() {
|
|
8808
8890
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8809
8891
|
return t("span", {
|
|
8810
8892
|
staticClass: "bcf-topic-status-cell",
|
|
@@ -8813,8 +8895,8 @@ var m0 = function() {
|
|
|
8813
8895
|
color: e.adjustTextColor(e.statusColor, "#ffffff", "var(--color-text)")
|
|
8814
8896
|
}
|
|
8815
8897
|
}, [e._v(" " + e._s(e.topic.topic_status) + " ")]);
|
|
8816
|
-
},
|
|
8817
|
-
const
|
|
8898
|
+
}, y0 = [];
|
|
8899
|
+
const H0 = {
|
|
8818
8900
|
props: {
|
|
8819
8901
|
detailedExtensions: {
|
|
8820
8902
|
type: Object,
|
|
@@ -8829,31 +8911,31 @@ const L0 = {
|
|
|
8829
8911
|
return {
|
|
8830
8912
|
// References
|
|
8831
8913
|
statusColor: w(
|
|
8832
|
-
() =>
|
|
8914
|
+
() => i2(e.topic, e.detailedExtensions)
|
|
8833
8915
|
),
|
|
8834
8916
|
// Methods
|
|
8835
|
-
adjustTextColor:
|
|
8917
|
+
adjustTextColor: x1
|
|
8836
8918
|
};
|
|
8837
8919
|
}
|
|
8838
|
-
},
|
|
8839
|
-
var
|
|
8920
|
+
}, Ve = {};
|
|
8921
|
+
var V0 = /* @__PURE__ */ D(
|
|
8922
|
+
H0,
|
|
8840
8923
|
L0,
|
|
8841
|
-
|
|
8842
|
-
_0,
|
|
8924
|
+
y0,
|
|
8843
8925
|
!1,
|
|
8844
|
-
|
|
8926
|
+
M0,
|
|
8845
8927
|
"16e3da68",
|
|
8846
8928
|
null,
|
|
8847
8929
|
null
|
|
8848
8930
|
);
|
|
8849
|
-
function
|
|
8850
|
-
for (let r in
|
|
8851
|
-
this[r] =
|
|
8931
|
+
function M0(e) {
|
|
8932
|
+
for (let r in Ve)
|
|
8933
|
+
this[r] = Ve[r];
|
|
8852
8934
|
}
|
|
8853
|
-
const
|
|
8854
|
-
return
|
|
8935
|
+
const x0 = /* @__PURE__ */ function() {
|
|
8936
|
+
return V0.exports;
|
|
8855
8937
|
}();
|
|
8856
|
-
var
|
|
8938
|
+
var Z0 = function() {
|
|
8857
8939
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
8858
8940
|
return t("BIMDataTable", {
|
|
8859
8941
|
staticClass: "bcf-topics-table",
|
|
@@ -8963,17 +9045,17 @@ var M0 = function() {
|
|
|
8963
9045
|
}
|
|
8964
9046
|
}])
|
|
8965
9047
|
});
|
|
8966
|
-
},
|
|
8967
|
-
const
|
|
9048
|
+
}, w0 = [];
|
|
9049
|
+
const k0 = {
|
|
8968
9050
|
components: {
|
|
8969
|
-
BcfTopicActionsCell:
|
|
8970
|
-
BcfTopicIndexCell:
|
|
8971
|
-
BcfTopicPriorityCell:
|
|
8972
|
-
BcfTopicStatusCell:
|
|
8973
|
-
BIMDataTable:
|
|
8974
|
-
BIMDataTextbox:
|
|
8975
|
-
BIMDataTooltip:
|
|
8976
|
-
UserAvatar:
|
|
9051
|
+
BcfTopicActionsCell: d0,
|
|
9052
|
+
BcfTopicIndexCell: h0,
|
|
9053
|
+
BcfTopicPriorityCell: _0,
|
|
9054
|
+
BcfTopicStatusCell: x0,
|
|
9055
|
+
BIMDataTable: r0,
|
|
9056
|
+
BIMDataTextbox: f1,
|
|
9057
|
+
BIMDataTooltip: Pe,
|
|
9058
|
+
UserAvatar: Ae
|
|
8977
9059
|
},
|
|
8978
9060
|
props: {
|
|
8979
9061
|
detailedExtensions: {
|
|
@@ -9012,7 +9094,7 @@ const Z0 = {
|
|
|
9012
9094
|
return {
|
|
9013
9095
|
// References
|
|
9014
9096
|
displayedColumns: w(
|
|
9015
|
-
() => e.columns && e.columns.length > 0 ?
|
|
9097
|
+
() => e.columns && e.columns.length > 0 ? ge.filter((i) => e.columns.includes(i.id)) : ge
|
|
9016
9098
|
),
|
|
9017
9099
|
// Methods
|
|
9018
9100
|
toShortDateFormat: (i) => {
|
|
@@ -9023,53 +9105,53 @@ const Z0 = {
|
|
|
9023
9105
|
}
|
|
9024
9106
|
};
|
|
9025
9107
|
}
|
|
9026
|
-
},
|
|
9027
|
-
var
|
|
9108
|
+
}, Me = {};
|
|
9109
|
+
var $0 = /* @__PURE__ */ D(
|
|
9110
|
+
k0,
|
|
9028
9111
|
Z0,
|
|
9029
|
-
|
|
9030
|
-
x0,
|
|
9112
|
+
w0,
|
|
9031
9113
|
!1,
|
|
9032
|
-
|
|
9114
|
+
F0,
|
|
9033
9115
|
null,
|
|
9034
9116
|
null,
|
|
9035
9117
|
null
|
|
9036
9118
|
);
|
|
9037
|
-
function
|
|
9038
|
-
for (let r in
|
|
9039
|
-
this[r] =
|
|
9119
|
+
function F0(e) {
|
|
9120
|
+
for (let r in Me)
|
|
9121
|
+
this[r] = Me[r];
|
|
9040
9122
|
}
|
|
9041
|
-
const
|
|
9042
|
-
return
|
|
9043
|
-
}(),
|
|
9044
|
-
BcfFilters:
|
|
9045
|
-
BcfSettings:
|
|
9046
|
-
BcfStatistics:
|
|
9047
|
-
BcfTopicCard:
|
|
9048
|
-
BcfTopicCreationCard:
|
|
9049
|
-
BcfTopicForm:
|
|
9050
|
-
BcfTopicOverview:
|
|
9051
|
-
BcfTopicsTable:
|
|
9123
|
+
const D0 = /* @__PURE__ */ function() {
|
|
9124
|
+
return $0.exports;
|
|
9125
|
+
}(), P0 = {
|
|
9126
|
+
BcfFilters: P5,
|
|
9127
|
+
BcfSettings: f3,
|
|
9128
|
+
BcfStatistics: k3,
|
|
9129
|
+
BcfTopicCard: j3,
|
|
9130
|
+
BcfTopicCreationCard: r9,
|
|
9131
|
+
BcfTopicForm: e4,
|
|
9132
|
+
BcfTopicOverview: W4,
|
|
9133
|
+
BcfTopicsTable: D0
|
|
9052
9134
|
};
|
|
9053
9135
|
export {
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9136
|
+
P5 as BcfFilters,
|
|
9137
|
+
f3 as BcfSettings,
|
|
9138
|
+
k3 as BcfStatistics,
|
|
9139
|
+
j3 as BcfTopicCard,
|
|
9140
|
+
r9 as BcfTopicCreationCard,
|
|
9141
|
+
e4 as BcfTopicForm,
|
|
9142
|
+
W4 as BcfTopicOverview,
|
|
9143
|
+
D0 as BcfTopicsTable,
|
|
9144
|
+
P0 as components,
|
|
9145
|
+
B0 as config,
|
|
9146
|
+
R0 as createService,
|
|
9065
9147
|
G as getPriorityColor,
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9148
|
+
i2 as getStatusColor,
|
|
9149
|
+
g5 as getViewpointConfig,
|
|
9150
|
+
O0 as getViewpointModels,
|
|
9151
|
+
p5 as getViewpointType,
|
|
9152
|
+
I0 as setService,
|
|
9153
|
+
h5 as useBcfFilter,
|
|
9154
|
+
S0 as useBcfSearch,
|
|
9155
|
+
T0 as useBcfSort,
|
|
9156
|
+
u1 as useService
|
|
9075
9157
|
};
|