@bimdata/bcf-components 3.1.0-rc.3 → 3.1.0-rc.5
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 +42 -36
- package/dist/vue3/bcf-components.mjs +54 -48
- package/package.json +1 -1
|
@@ -21,32 +21,38 @@ const Ce = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}), U1 = "D8D8D8", _e = "D8D8D8", q1 = "originating_system", Y1 = "authoring_tool_id",
|
|
24
|
+
}), U1 = "D8D8D8", _e = "D8D8D8", q1 = "originating_system", Y1 = "authoring_tool_id", U = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
|
+
PTC: "pointCloud",
|
|
26
27
|
V2D: "ifc2d",
|
|
27
28
|
DWG: "dwg",
|
|
28
29
|
PLAN: "plan"
|
|
29
30
|
}), W1 = Object.freeze({
|
|
30
|
-
[
|
|
31
|
+
[U.V3D]: {
|
|
31
32
|
order: 1,
|
|
32
33
|
window: "3d",
|
|
33
34
|
plugin: "viewer3d",
|
|
34
35
|
icon: "fileIfcPolychrome"
|
|
35
36
|
},
|
|
36
|
-
[
|
|
37
|
+
[U.PTC]: {
|
|
37
38
|
order: 2,
|
|
39
|
+
window: "pointCloud",
|
|
40
|
+
plugin: "pointCloud"
|
|
41
|
+
},
|
|
42
|
+
[U.V2D]: {
|
|
43
|
+
order: 3,
|
|
38
44
|
window: "2d",
|
|
39
45
|
plugin: "viewer2d",
|
|
40
46
|
icon: "fileIfcPolychrome"
|
|
41
47
|
},
|
|
42
|
-
[
|
|
43
|
-
order:
|
|
48
|
+
[U.DWG]: {
|
|
49
|
+
order: 4,
|
|
44
50
|
window: "dwg",
|
|
45
51
|
plugin: "dwg",
|
|
46
52
|
icon: "fileDwgPolychrome"
|
|
47
53
|
},
|
|
48
|
-
[
|
|
49
|
-
order:
|
|
54
|
+
[U.PLAN]: {
|
|
55
|
+
order: 5,
|
|
50
56
|
window: "plan",
|
|
51
57
|
plugin: "plan",
|
|
52
58
|
icon: "filePlanPolychrome"
|
|
@@ -61,7 +67,7 @@ const Ce = Object.freeze([
|
|
|
61
67
|
EXTENSION_WITH_COLOR: pe,
|
|
62
68
|
VIEWPOINT_CONFIG: W1,
|
|
63
69
|
VIEWPOINT_MODELS_FIELD: Y1,
|
|
64
|
-
VIEWPOINT_TYPES:
|
|
70
|
+
VIEWPOINT_TYPES: U,
|
|
65
71
|
VIEWPOINT_TYPE_FIELD: q1
|
|
66
72
|
}, Symbol.toStringTag, { value: "Module" })), Ee = Object.freeze({
|
|
67
73
|
bisque: "ffe4c4",
|
|
@@ -443,13 +449,13 @@ var S1 = { exports: {} };
|
|
|
443
449
|
r.default = (0, p.default)(c, 4), e.exports = r.default;
|
|
444
450
|
})(Z1, Z1.exports);
|
|
445
451
|
const Ne = /* @__PURE__ */ Se(Z1.exports);
|
|
446
|
-
function
|
|
452
|
+
function q(e) {
|
|
447
453
|
return ge[e];
|
|
448
454
|
}
|
|
449
455
|
function He(e, r) {
|
|
450
456
|
return r[be[e]];
|
|
451
457
|
}
|
|
452
|
-
function
|
|
458
|
+
function W(e, r) {
|
|
453
459
|
const t = r.priorities.find(
|
|
454
460
|
(i) => i.priority === e.priority
|
|
455
461
|
);
|
|
@@ -468,7 +474,7 @@ function J4(e, { fetchUsers: r }) {
|
|
|
468
474
|
fetchTopics: async (_) => {
|
|
469
475
|
const H = await t(_), y = await e.bcfApi.getDetailedExtensions(_.id), Z = await e.bcfApi.getTopics(_.id);
|
|
470
476
|
return Z.sort((F, R) => R.index - F.index), await Ne(Z, 10, async (F) => {
|
|
471
|
-
F.color =
|
|
477
|
+
F.color = W(F, y), F.creator = H.find((R) => R.email === F.creation_author), F.viewpoints = await e.bcfApi.getTopicViewpoints(
|
|
472
478
|
_.id,
|
|
473
479
|
F.guid,
|
|
474
480
|
"url"
|
|
@@ -477,7 +483,7 @@ function J4(e, { fetchUsers: r }) {
|
|
|
477
483
|
},
|
|
478
484
|
fecthTopicByGuid: async (_, H) => {
|
|
479
485
|
const y = await e.bcfApi.getDetailedExtensions(_.id), Z = await e.bcfApi.getFullTopic(H, _.id, "url");
|
|
480
|
-
return Z.color =
|
|
486
|
+
return Z.color = W(Z, y), Z;
|
|
481
487
|
},
|
|
482
488
|
createTopic: async (_, H) => await e.bcfApi.createFullTopic(
|
|
483
489
|
_.id,
|
|
@@ -537,7 +543,7 @@ function J4(e, { fetchUsers: r }) {
|
|
|
537
543
|
createExtension: async (_, H, y) => await e.bcfApi[`createExtension${H}`](
|
|
538
544
|
_.id,
|
|
539
545
|
{
|
|
540
|
-
[
|
|
546
|
+
[q(H)]: y.value,
|
|
541
547
|
color: Re()
|
|
542
548
|
}
|
|
543
549
|
),
|
|
@@ -545,7 +551,7 @@ function J4(e, { fetchUsers: r }) {
|
|
|
545
551
|
y.id,
|
|
546
552
|
_.id,
|
|
547
553
|
{
|
|
548
|
-
[
|
|
554
|
+
[q(H)]: Z.value,
|
|
549
555
|
color: Z.color
|
|
550
556
|
}
|
|
551
557
|
),
|
|
@@ -1313,7 +1319,7 @@ var p2 = { bind(e, r) {
|
|
|
1313
1319
|
} }, methods: { onClick() {
|
|
1314
1320
|
this.disabled || this.$emit("update:modelValue", !this.checked);
|
|
1315
1321
|
} } };
|
|
1316
|
-
function
|
|
1322
|
+
function Y(e, r, t, i, a, s, n, l, u, p) {
|
|
1317
1323
|
typeof n != "boolean" && (u = l, l = n, n = !1);
|
|
1318
1324
|
const d = typeof t == "function" ? t.options : t;
|
|
1319
1325
|
let c;
|
|
@@ -1355,21 +1361,21 @@ function n1(e) {
|
|
|
1355
1361
|
}(r, t);
|
|
1356
1362
|
}
|
|
1357
1363
|
let C1;
|
|
1358
|
-
const g2 = {}, s5 =
|
|
1364
|
+
const g2 = {}, s5 = Y({ render: function() {
|
|
1359
1365
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1360
1366
|
return t("div", { staticClass: "bimdata-checkbox", class: { indeterminate: e.indeterminate, disabled: e.disabled, checked: e.checked }, style: e.style, on: { click: e.onClick } }, [t("span", { staticClass: "bimdata-checkbox__mark" }), e._v(" "), e.text ? t("span", { staticClass: "bimdata-checkbox__text" }, [e._t("default", function() {
|
|
1361
1367
|
return [e._v(e._s(e.text))];
|
|
1362
1368
|
})], 2) : e._e()]);
|
|
1363
1369
|
}, staticRenderFns: [] }, function(e) {
|
|
1364
1370
|
e && (e("data-v-119f0061_0", { source: 'html[data-v-119f0061]{--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-119f0061]{--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-119f0061]{text-align:left}.text-center[data-v-119f0061]{text-align:center}.text-right[data-v-119f0061]{text-align:right}.bimdata-link[data-v-119f0061]{color:var(--color-primary);border-bottom:1px solid var(--color-primary);font-weight:700}.primary-font[data-v-119f0061]{font-family:roboto,sans-serif}', map: void 0, media: void 0 }), e("data-v-119f0061_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 }));
|
|
1365
|
-
}, o5, "data-v-119f0061", !1, void 0, !1, n1, void 0, void 0), l5 =
|
|
1371
|
+
}, o5, "data-v-119f0061", !1, void 0, !1, n1, void 0, void 0), l5 = Y({ render: function() {
|
|
1366
1372
|
var e = this.$createElement;
|
|
1367
1373
|
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" } });
|
|
1368
1374
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
1369
1375
|
var c5 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
1370
1376
|
const b2 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
1371
1377
|
var _2;
|
|
1372
|
-
const m2 =
|
|
1378
|
+
const m2 = Y({ render: function() {
|
|
1373
1379
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1374
1380
|
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);
|
|
1375
1381
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -1381,12 +1387,12 @@ const m2 = q({ render: function() {
|
|
|
1381
1387
|
return { width: `${e}px`, minWidth: `${e}px`, height: `${e}px`, minHeight: `${e}px`, margin: `${this.margin}`, transform: `rotate(${this.rotate}deg)` };
|
|
1382
1388
|
} }, methods: { getPixelSize() {
|
|
1383
1389
|
return this.customSize ? this.customSize : b2[this.size];
|
|
1384
|
-
} } }, "data-v-20c38c94", !1, void 0, !1, n1, void 0, void 0), Ve =
|
|
1390
|
+
} } }, "data-v-20c38c94", !1, void 0, !1, n1, void 0, void 0), Ve = Y({ render: function() {
|
|
1385
1391
|
var e = this, r = e.$createElement;
|
|
1386
1392
|
return (e._self._c || r)(e.selectorComponent, e._b({ tag: "component", attrs: { modelValue: e.modelValue }, on: { "update:modelValue": function(t) {
|
|
1387
1393
|
return e.$emit("update:modelValue", t);
|
|
1388
1394
|
} } }, "component", e.$props, !1));
|
|
1389
|
-
}, staticRenderFns: [] }, void 0, { components: { BIMDataSelectMulti:
|
|
1395
|
+
}, staticRenderFns: [] }, void 0, { components: { BIMDataSelectMulti: Y({ render: function() {
|
|
1390
1396
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1391
1397
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: function() {
|
|
1392
1398
|
return e.isOpen = !1;
|
|
@@ -1426,7 +1432,7 @@ const m2 = q({ render: function() {
|
|
|
1426
1432
|
} else
|
|
1427
1433
|
r = this.modelValue.concat(e);
|
|
1428
1434
|
this.$emit("update:modelValue", r);
|
|
1429
|
-
} } }, "data-v-09766700", !1, void 0, !1, n1, void 0, void 0), BIMDataSelectSingle:
|
|
1435
|
+
} } }, "data-v-09766700", !1, void 0, !1, n1, void 0, void 0), BIMDataSelectSingle: Y({ render: function() {
|
|
1430
1436
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
1431
1437
|
return t("div", { directives: [{ name: "clickaway", rawName: "v-clickaway", value: function() {
|
|
1432
1438
|
return e.isOpen = !1;
|
|
@@ -1687,7 +1693,7 @@ function k(e, r, t, i, a, s, n, l) {
|
|
|
1687
1693
|
options: u
|
|
1688
1694
|
};
|
|
1689
1695
|
}
|
|
1690
|
-
function
|
|
1696
|
+
function X(e) {
|
|
1691
1697
|
return Array.from(new Set(e)).sort(
|
|
1692
1698
|
(r, t) => r.localeCompare(t, void 0, { sensitivity: "base" })
|
|
1693
1699
|
);
|
|
@@ -1710,15 +1716,15 @@ const h5 = {
|
|
|
1710
1716
|
const t = m(!1), i = () => t.value = !1, a = () => t.value = !t.value, s = m(null), { filters: n, filteredTopics: l, reset: u } = Ae(
|
|
1711
1717
|
x(() => e.topics)
|
|
1712
1718
|
), p = x(
|
|
1713
|
-
() =>
|
|
1719
|
+
() => X(e.topics.map((V) => V.priority))
|
|
1714
1720
|
), d = x(
|
|
1715
|
-
() =>
|
|
1721
|
+
() => X(e.topics.map((V) => V.topic_status))
|
|
1716
1722
|
), c = x(
|
|
1717
|
-
() =>
|
|
1723
|
+
() => X(e.topics.map((V) => V.assigned_to))
|
|
1718
1724
|
), o = x(
|
|
1719
|
-
() =>
|
|
1725
|
+
() => X(e.topics.map((V) => V.creation_author))
|
|
1720
1726
|
), b = x(
|
|
1721
|
-
() =>
|
|
1727
|
+
() => X(e.topics.flatMap((V) => V.labels))
|
|
1722
1728
|
);
|
|
1723
1729
|
return {
|
|
1724
1730
|
creatorOptions: o,
|
|
@@ -1978,7 +1984,7 @@ const x5 = {
|
|
|
1978
1984
|
],
|
|
1979
1985
|
setup(e, { emit: r }) {
|
|
1980
1986
|
const t = m(!1), i = m(!1), a = m(!1), s = m(
|
|
1981
|
-
e.extension[
|
|
1987
|
+
e.extension[q(e.extensionType)]
|
|
1982
1988
|
), n = m(e.extension.color), l = m(null);
|
|
1983
1989
|
return o1(
|
|
1984
1990
|
t,
|
|
@@ -1992,7 +1998,7 @@ const x5 = {
|
|
|
1992
1998
|
isOpenColorSelector: i,
|
|
1993
1999
|
isOpenDeleteGuard: a,
|
|
1994
2000
|
adjustBorderColor: Ie,
|
|
1995
|
-
getExtensionField:
|
|
2001
|
+
getExtensionField: q,
|
|
1996
2002
|
submitColor: async (c) => {
|
|
1997
2003
|
c !== e.extension.color && (r("update-extension", {
|
|
1998
2004
|
extensionType: e.extensionType,
|
|
@@ -2007,7 +2013,7 @@ const x5 = {
|
|
|
2007
2013
|
});
|
|
2008
2014
|
},
|
|
2009
2015
|
submitValue: async () => {
|
|
2010
|
-
s.value !== e.extension[
|
|
2016
|
+
s.value !== e.extension[q(e.extensionType)] && (r("update-extension", {
|
|
2011
2017
|
extensionType: e.extensionType,
|
|
2012
2018
|
extension: e.extension,
|
|
2013
2019
|
data: { value: s.value }
|
|
@@ -2658,7 +2664,7 @@ const t3 = {
|
|
|
2658
2664
|
chartData: x(() => {
|
|
2659
2665
|
if (e.topics.length === 0)
|
|
2660
2666
|
return [];
|
|
2661
|
-
const t =
|
|
2667
|
+
const t = q(e.extensionType), i = He(e.extensionType, e.detailedExtensions);
|
|
2662
2668
|
return i.push({ [t]: void 0 }), i.map((a) => {
|
|
2663
2669
|
var n;
|
|
2664
2670
|
const s = e.topics.filter((l) => l[t] === a[t]).length;
|
|
@@ -2986,7 +2992,7 @@ const p3 = {
|
|
|
2986
2992
|
const t = x(() => e.topic.viewpoints.filter(
|
|
2987
2993
|
(n) => Boolean(n.snapshot)
|
|
2988
2994
|
)), i = x(
|
|
2989
|
-
() =>
|
|
2995
|
+
() => W(e.topic, e.detailedExtensions)
|
|
2990
2996
|
), a = x(
|
|
2991
2997
|
() => K1(e.topic, e.detailedExtensions)
|
|
2992
2998
|
), s = x(() => {
|
|
@@ -7774,7 +7780,7 @@ const d4 = {
|
|
|
7774
7780
|
"view-topic-viewpoint"
|
|
7775
7781
|
],
|
|
7776
7782
|
setup(e, { emit: r }) {
|
|
7777
|
-
const t = Q(), i = m(!1), a = m(!1), s = x(() =>
|
|
7783
|
+
const t = Q(), i = m(!1), a = m(!1), s = x(() => W(e.topic, e.detailedExtensions)), n = x(() => {
|
|
7778
7784
|
var p, d, c;
|
|
7779
7785
|
return ((c = (d = (p = e.topic.viewpoints) == null ? void 0 : p[0]) == null ? void 0 : d.components) == null ? void 0 : c.selection) || [];
|
|
7780
7786
|
}), l = x(() => Array.from(e.topic.labels || []).sort());
|
|
@@ -8083,7 +8089,7 @@ const Z4 = {
|
|
|
8083
8089
|
setup(e) {
|
|
8084
8090
|
return {
|
|
8085
8091
|
priorityColor: x(
|
|
8086
|
-
() =>
|
|
8092
|
+
() => W(e.topic, e.detailedExtensions)
|
|
8087
8093
|
)
|
|
8088
8094
|
};
|
|
8089
8095
|
}
|
|
@@ -8128,7 +8134,7 @@ const E4 = {
|
|
|
8128
8134
|
setup(e) {
|
|
8129
8135
|
return {
|
|
8130
8136
|
priorityColor: x(
|
|
8131
|
-
() =>
|
|
8137
|
+
() => W(e.topic, e.detailedExtensions)
|
|
8132
8138
|
)
|
|
8133
8139
|
};
|
|
8134
8140
|
}
|
|
@@ -8388,7 +8394,7 @@ export {
|
|
|
8388
8394
|
r7 as components,
|
|
8389
8395
|
K4 as config,
|
|
8390
8396
|
J4 as createService,
|
|
8391
|
-
|
|
8397
|
+
W as getPriorityColor,
|
|
8392
8398
|
K1 as getStatusColor,
|
|
8393
8399
|
qe as getViewpointConfig,
|
|
8394
8400
|
t7 as getViewpointModels,
|
|
@@ -21,32 +21,38 @@ const M5 = Object.freeze([
|
|
|
21
21
|
Stage: "stages",
|
|
22
22
|
Status: "topic_statuses",
|
|
23
23
|
Label: "topic_labels"
|
|
24
|
-
}), F2 = "D8D8D8", D5 = "D8D8D8", P2 = "originating_system", U2 = "authoring_tool_id",
|
|
24
|
+
}), F2 = "D8D8D8", D5 = "D8D8D8", P2 = "originating_system", U2 = "authoring_tool_id", h1 = Object.freeze({
|
|
25
25
|
V3D: "ifc3d",
|
|
26
|
+
PTC: "pointCloud",
|
|
26
27
|
V2D: "ifc2d",
|
|
27
28
|
DWG: "dwg",
|
|
28
29
|
PLAN: "plan"
|
|
29
30
|
}), z2 = Object.freeze({
|
|
30
|
-
[
|
|
31
|
+
[h1.V3D]: {
|
|
31
32
|
order: 1,
|
|
32
33
|
window: "3d",
|
|
33
34
|
plugin: "viewer3d",
|
|
34
35
|
icon: "fileIfcPolychrome"
|
|
35
36
|
},
|
|
36
|
-
[
|
|
37
|
+
[h1.PTC]: {
|
|
37
38
|
order: 2,
|
|
39
|
+
window: "pointCloud",
|
|
40
|
+
plugin: "pointCloud"
|
|
41
|
+
},
|
|
42
|
+
[h1.V2D]: {
|
|
43
|
+
order: 3,
|
|
38
44
|
window: "2d",
|
|
39
45
|
plugin: "viewer2d",
|
|
40
46
|
icon: "fileIfcPolychrome"
|
|
41
47
|
},
|
|
42
|
-
[
|
|
43
|
-
order:
|
|
48
|
+
[h1.DWG]: {
|
|
49
|
+
order: 4,
|
|
44
50
|
window: "dwg",
|
|
45
51
|
plugin: "dwg",
|
|
46
52
|
icon: "fileDwgPolychrome"
|
|
47
53
|
},
|
|
48
|
-
[
|
|
49
|
-
order:
|
|
54
|
+
[h1.PLAN]: {
|
|
55
|
+
order: 5,
|
|
50
56
|
window: "plan",
|
|
51
57
|
plugin: "plan",
|
|
52
58
|
icon: "filePlanPolychrome"
|
|
@@ -61,7 +67,7 @@ const M5 = Object.freeze([
|
|
|
61
67
|
EXTENSION_WITH_COLOR: _5,
|
|
62
68
|
VIEWPOINT_CONFIG: z2,
|
|
63
69
|
VIEWPOINT_MODELS_FIELD: U2,
|
|
64
|
-
VIEWPOINT_TYPES:
|
|
70
|
+
VIEWPOINT_TYPES: h1,
|
|
65
71
|
VIEWPOINT_TYPE_FIELD: P2
|
|
66
72
|
}, Symbol.toStringTag, { value: "Module" })), F5 = Object.freeze({
|
|
67
73
|
bisque: "ffe4c4",
|
|
@@ -443,13 +449,13 @@ var w2 = { exports: {} };
|
|
|
443
449
|
n.default = (0, C.default)(b, 4), e.exports = n.default;
|
|
444
450
|
})(I2, I2.exports);
|
|
445
451
|
const K5 = /* @__PURE__ */ G5(I2.exports);
|
|
446
|
-
function
|
|
452
|
+
function b1(e) {
|
|
447
453
|
return y5[e];
|
|
448
454
|
}
|
|
449
455
|
function k5(e, n) {
|
|
450
456
|
return n[H5[e]];
|
|
451
457
|
}
|
|
452
|
-
function
|
|
458
|
+
function L1(e, n) {
|
|
453
459
|
const o = n.priorities.find(
|
|
454
460
|
(l) => l.priority === e.priority
|
|
455
461
|
);
|
|
@@ -468,7 +474,7 @@ function iI(e, { fetchUsers: n }) {
|
|
|
468
474
|
fetchTopics: async (H) => {
|
|
469
475
|
const A = await o(H), T = await e.bcfApi.getDetailedExtensions(H.id), E = await e.bcfApi.getTopics(H.id);
|
|
470
476
|
return E.sort((Y, Q) => Q.index - Y.index), await K5(E, 10, async (Y) => {
|
|
471
|
-
Y.color =
|
|
477
|
+
Y.color = L1(Y, T), Y.creator = A.find((Q) => Q.email === Y.creation_author), Y.viewpoints = await e.bcfApi.getTopicViewpoints(
|
|
472
478
|
H.id,
|
|
473
479
|
Y.guid,
|
|
474
480
|
"url"
|
|
@@ -477,7 +483,7 @@ function iI(e, { fetchUsers: n }) {
|
|
|
477
483
|
},
|
|
478
484
|
fecthTopicByGuid: async (H, A) => {
|
|
479
485
|
const T = await e.bcfApi.getDetailedExtensions(H.id), E = await e.bcfApi.getFullTopic(A, H.id, "url");
|
|
480
|
-
return E.color =
|
|
486
|
+
return E.color = L1(E, T), E;
|
|
481
487
|
},
|
|
482
488
|
createTopic: async (H, A) => await e.bcfApi.createFullTopic(
|
|
483
489
|
H.id,
|
|
@@ -537,7 +543,7 @@ function iI(e, { fetchUsers: n }) {
|
|
|
537
543
|
createExtension: async (H, A, T) => await e.bcfApi[`createExtension${A}`](
|
|
538
544
|
H.id,
|
|
539
545
|
{
|
|
540
|
-
[
|
|
546
|
+
[b1(A)]: T.value,
|
|
541
547
|
color: U5()
|
|
542
548
|
}
|
|
543
549
|
),
|
|
@@ -545,7 +551,7 @@ function iI(e, { fetchUsers: n }) {
|
|
|
545
551
|
T.id,
|
|
546
552
|
H.id,
|
|
547
553
|
{
|
|
548
|
-
[
|
|
554
|
+
[b1(A)]: E.value,
|
|
549
555
|
color: E.color
|
|
550
556
|
}
|
|
551
557
|
),
|
|
@@ -3335,7 +3341,7 @@ const F = (e, n) => {
|
|
|
3335
3341
|
o[l] = s;
|
|
3336
3342
|
return o;
|
|
3337
3343
|
};
|
|
3338
|
-
function
|
|
3344
|
+
function m1(e) {
|
|
3339
3345
|
return Array.from(new Set(e)).sort(
|
|
3340
3346
|
(n, o) => n.localeCompare(o, void 0, { sensitivity: "base" })
|
|
3341
3347
|
);
|
|
@@ -3358,15 +3364,15 @@ const Qe = {
|
|
|
3358
3364
|
const o = x(!1), l = () => o.value = !1, s = () => o.value = !o.value, i = x(null), { filters: c, filteredTopics: u, reset: d } = q5(
|
|
3359
3365
|
R(() => e.topics)
|
|
3360
3366
|
), C = R(
|
|
3361
|
-
() =>
|
|
3367
|
+
() => m1(e.topics.map(($) => $.priority))
|
|
3362
3368
|
), L = R(
|
|
3363
|
-
() =>
|
|
3369
|
+
() => m1(e.topics.map(($) => $.topic_status))
|
|
3364
3370
|
), b = R(
|
|
3365
|
-
() =>
|
|
3371
|
+
() => m1(e.topics.map(($) => $.assigned_to))
|
|
3366
3372
|
), M = R(
|
|
3367
|
-
() =>
|
|
3373
|
+
() => m1(e.topics.map(($) => $.creation_author))
|
|
3368
3374
|
), m = R(
|
|
3369
|
-
() =>
|
|
3375
|
+
() => m1(e.topics.flatMap(($) => $.labels))
|
|
3370
3376
|
);
|
|
3371
3377
|
return {
|
|
3372
3378
|
creatorOptions: M,
|
|
@@ -3926,7 +3932,7 @@ const f0 = {
|
|
|
3926
3932
|
],
|
|
3927
3933
|
setup(e, { emit: n }) {
|
|
3928
3934
|
const o = x(!1), l = x(!1), s = x(!1), i = x(
|
|
3929
|
-
e.extension[
|
|
3935
|
+
e.extension[b1(e.extensionType)]
|
|
3930
3936
|
), c = x(e.extension.color), u = x(null);
|
|
3931
3937
|
return a2(
|
|
3932
3938
|
o,
|
|
@@ -3940,7 +3946,7 @@ const f0 = {
|
|
|
3940
3946
|
isOpenColorSelector: l,
|
|
3941
3947
|
isOpenDeleteGuard: s,
|
|
3942
3948
|
adjustBorderColor: z5,
|
|
3943
|
-
getExtensionField:
|
|
3949
|
+
getExtensionField: b1,
|
|
3944
3950
|
submitColor: async (b) => {
|
|
3945
3951
|
b !== e.extension.color && (n("update-extension", {
|
|
3946
3952
|
extensionType: e.extensionType,
|
|
@@ -3955,7 +3961,7 @@ const f0 = {
|
|
|
3955
3961
|
});
|
|
3956
3962
|
},
|
|
3957
3963
|
submitValue: async () => {
|
|
3958
|
-
i.value !== e.extension[
|
|
3964
|
+
i.value !== e.extension[b1(e.extensionType)] && (n("update-extension", {
|
|
3959
3965
|
extensionType: e.extensionType,
|
|
3960
3966
|
extension: e.extension,
|
|
3961
3967
|
data: { value: i.value }
|
|
@@ -6021,7 +6027,7 @@ const Mn = {
|
|
|
6021
6027
|
chartData: R(() => {
|
|
6022
6028
|
if (e.topics.length === 0)
|
|
6023
6029
|
return [];
|
|
6024
|
-
const o =
|
|
6030
|
+
const o = b1(e.extensionType), l = k5(e.extensionType, e.detailedExtensions);
|
|
6025
6031
|
return l.push({ [o]: void 0 }), l.map((s) => {
|
|
6026
6032
|
var c;
|
|
6027
6033
|
const i = e.topics.filter((u) => u[o] === s[o]).length;
|
|
@@ -6324,7 +6330,7 @@ const Rn = {
|
|
|
6324
6330
|
const o = R(() => e.topic.viewpoints.filter(
|
|
6325
6331
|
(c) => Boolean(c.snapshot)
|
|
6326
6332
|
)), l = R(
|
|
6327
|
-
() =>
|
|
6333
|
+
() => L1(e.topic, e.detailedExtensions)
|
|
6328
6334
|
), s = R(
|
|
6329
6335
|
() => Y2(e.topic, e.detailedExtensions)
|
|
6330
6336
|
), i = R(() => {
|
|
@@ -6835,7 +6841,7 @@ const L8 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.531
|
|
|
6835
6841
|
}, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/polychrome/Viewer3DPolychrome.vue" };
|
|
6836
6842
|
var u5 = { addFile: v8, addFolder: I8, addUser: _8, alphabeticalAscending: H8, alphabeticalDescending: V8, alphabeticalSort: k8, alt: w8, angle: S8, api: T8, archive: N8, arrow: R8, attach: F8, backInTime: z8, bcf: Y8, building: X8, burgerMenu: K8, calendar: J8, caliper: et, camera: tt, cancelCamera: ot, check: lt, chevron: st, classificationCategorie: dt, classificationElement: Ct, click: ht, close: gt, cloud: Lt, color: mt, comment: Mt, cursor: yt, dateAscending: Dt, dateDescending: Bt, default: xt, delete: Zt, deniedFile: At, deploy: $t, detach: Ot, distance: Et, doubleChevron: Pt, down: zt, download: Yt, drag: Xt, edit: Kt, ellipsis: Jt, expanded: er, explosion: tr, export: or, exportIfc: lr, failed: sr, filter: dr, fitView: Cr, folder: hr, folderMove: gr, folderOpen: Lr, fullscreen: mr, grid: Mr, group: yr, hide: Dr, ifc: Br, ifcFile: xr, import: Zr, indexAscending: Ar, indexDescending: $r, information: Or, inProgressFile: Er, invitation: Pr, isolate: zr, key: Yr, left: Xr, linkedDocument: Kr, list: Jr, listManage: eo, location: to, lock: oo, logout: lo, measure: so, minus: uo, model3d: po, organization: bo, parameters: fo, path: vo, pieGraph: Io, plus: _o, project: Ho, quickSelect: Vo, readonlyFolder: ko, redo: wo, reduced: So, refresh: To, reprocessIfc: No, reset: Ro, right: Fo, rules: Uo, sandglass: Go, save: Wo, screenConfig: jo, screenshot: qo, search: Qo, section: na, settings: ra, share: aa, show: ia, showSelected: ca, socotec: ua, space: pa, split: ba, storey: fa, success: va, surface: Ia, swap: _a, synchro2d: Ha, system: Va, tag: xa, tree: Za, unarchive: Aa, undo: $a, union: Oa, up: Ea, user: Pa, validate: za, validatedFile: Ya, versioning: ja, video: qa, visa: Qa, warning: nl, windowBottom: rl, windowed: al, windowLeft: il, windowRight: cl, windowTop: ul, zone: pl, bcfPolychrome: bl, createWindowPolychrome: fl, docInfoPolychrome: vl, fileDwgPolychrome: Il, fileIfcPolychrome: _l, filePdfPolychrome: Hl, filePlanPolychrome: Vl, folderPolychrome: kl, structurePolychrome: wl, viewer2dPolychrome: Sl, viewer3dPolychrome: Tl }, $l = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
|
|
6837
6843
|
const C5 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
|
|
6838
|
-
var
|
|
6844
|
+
var g1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
6839
6845
|
return Object.entries(e).reduce((n, [o, l]) => ({ ...n, [`bimdata-icon-${o}`]: l }), {});
|
|
6840
6846
|
}(u5) }, props: { name: { type: String, required: !0, validator: (e) => Object.keys(u5).includes(e) }, color: { type: String, default: "default", validator: (e) => $l.includes(e) }, fillColor: { type: String, default: "currentColor" }, fill: { type: Boolean, default: !1 }, stroke: { type: Boolean, default: !1 }, size: { type: String, default: "s", validator: (e) => Object.keys(C5).includes(e) }, customSize: { type: [Number, String], default: null }, rotate: { type: Number, default: 0 }, margin: { type: String, default: "0px" } }, computed: { classes() {
|
|
6841
6847
|
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 };
|
|
@@ -6846,7 +6852,7 @@ var b1 = { name: "BIMDataIcon", components: { ...function(e = {}) {
|
|
|
6846
6852
|
return this.customSize ? this.customSize : C5[this.size];
|
|
6847
6853
|
} } };
|
|
6848
6854
|
const Nl = ["fill", "color"];
|
|
6849
|
-
function
|
|
6855
|
+
function v1(e, n) {
|
|
6850
6856
|
n === void 0 && (n = {});
|
|
6851
6857
|
var o = n.insertAt;
|
|
6852
6858
|
if (e && typeof document < "u") {
|
|
@@ -6854,7 +6860,7 @@ function L1(e, n) {
|
|
|
6854
6860
|
s.type = "text/css", o === "top" && l.firstChild ? l.insertBefore(s, l.firstChild) : l.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e));
|
|
6855
6861
|
}
|
|
6856
6862
|
}
|
|
6857
|
-
|
|
6863
|
+
v1(`/* base COLORS --------------------------------------------- */
|
|
6858
6864
|
/* colors BRAND */
|
|
6859
6865
|
/* colors GREY SHADES - NEUTRAL */
|
|
6860
6866
|
/* color TEXT */
|
|
@@ -6923,7 +6929,7 @@ html[data-v-1312d4d1] {
|
|
|
6923
6929
|
/* base FONTS -------------------------------------- */
|
|
6924
6930
|
--primary-font: "roboto", sans-serif;
|
|
6925
6931
|
}`);
|
|
6926
|
-
|
|
6932
|
+
v1(`.icon-fill--black {
|
|
6927
6933
|
fill: var(--color-black);
|
|
6928
6934
|
}
|
|
6929
6935
|
.icon-fill--default {
|
|
@@ -7006,16 +7012,16 @@ L1(`.icon-fill--black {
|
|
|
7006
7012
|
}
|
|
7007
7013
|
.icon-stroke--white {
|
|
7008
7014
|
stroke: var(--color-white);
|
|
7009
|
-
}`),
|
|
7015
|
+
}`), g1.render = function(e, n, o, l, s, i) {
|
|
7010
7016
|
return r(), a("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: o.fillColor, color: o.color, class: V(i.classes), style: y(i.style) }, [(r(), D(d1(`bimdata-icon-${o.name}`)))], 14, Nl);
|
|
7011
|
-
},
|
|
7017
|
+
}, g1.__scopeId = "data-v-1312d4d1", g1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
|
|
7012
7018
|
var Ol = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), H1 = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: !1 }, outline: { type: Boolean, default: !1 }, ghost: { type: Boolean, default: !1 }, ripple: { type: Boolean, default: !1 }, radius: { type: Boolean, default: !1 }, square: { type: Boolean, default: !1 }, rounded: { type: Boolean, default: !1 }, icon: { type: Boolean, default: !1 }, color: { type: String, default: "default", validator: (e) => Ol.includes(e) } }, emits: ["click"], computed: { classes() {
|
|
7013
7019
|
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 };
|
|
7014
7020
|
}, style() {
|
|
7015
7021
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
7016
7022
|
} } };
|
|
7017
7023
|
const Rl = ["color"];
|
|
7018
|
-
|
|
7024
|
+
v1(`/* base COLORS --------------------------------------------- */
|
|
7019
7025
|
/* colors BRAND */
|
|
7020
7026
|
/* colors GREY SHADES - NEUTRAL */
|
|
7021
7027
|
/* color TEXT */
|
|
@@ -7173,7 +7179,7 @@ html[data-v-3f903003] {
|
|
|
7173
7179
|
.primary-font[data-v-3f903003] {
|
|
7174
7180
|
font-family: "roboto", sans-serif;
|
|
7175
7181
|
}`);
|
|
7176
|
-
|
|
7182
|
+
v1(`.bimdata-btn {
|
|
7177
7183
|
padding: 0 var(--spacing-unit);
|
|
7178
7184
|
height: -webkit-fit-content;
|
|
7179
7185
|
height: -moz-fit-content;
|
|
@@ -7596,7 +7602,7 @@ const El = { useUtc: !1, getFullYear(e) {
|
|
|
7596
7602
|
}, getNewDateObject(e) {
|
|
7597
7603
|
return e ? this.resetDateTime(new Date(e)) : this.resetDateTime(new Date());
|
|
7598
7604
|
} };
|
|
7599
|
-
var d2 = (e) => ({ ...El, useUtc: e }), j2 = { props: { autofocus: { type: Boolean, default: !1 }, bootstrapStyling: { type: Boolean, default: !1 }, clearButton: { type: Boolean, default: !1 }, clearButtonIcon: { type: String, default: "" }, calendarButton: { type: Boolean, default: !1 }, calendarButtonIcon: { type: String, default: "" }, calendarButtonIconContent: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, format: { type: [String, Function], default: "dd MMM yyyy" }, id: { type: String, default: null }, inline: { type: Boolean, default: !1 }, inputClass: { type: [String, Object, Array], default: null }, maxlength: { type: [Number, String], default: null }, name: { type: String, default: null }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, parser: { type: Function, default: null }, pattern: { type: String, default: null }, placeholder: { type: String, default: null }, refName: { type: String, default: "" }, required: { type: Boolean, default: !1 }, showCalendarOnButtonClick: { type: Boolean, default: !1 }, showCalendarOnFocus: { type: Boolean, default: !1 }, tabIndex: { type: [Number, String], default: null }, typeable: { type: Boolean, default: !1 }, useUtc: { type: Boolean, default: !1 } }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/inputProps.vue" }, Z2 = { name: "DateInput", components: { BIMDataIcon:
|
|
7605
|
+
var d2 = (e) => ({ ...El, useUtc: e }), j2 = { props: { autofocus: { type: Boolean, default: !1 }, bootstrapStyling: { type: Boolean, default: !1 }, clearButton: { type: Boolean, default: !1 }, clearButtonIcon: { type: String, default: "" }, calendarButton: { type: Boolean, default: !1 }, calendarButtonIcon: { type: String, default: "" }, calendarButtonIconContent: { type: String, default: "" }, disabled: { type: Boolean, default: !1 }, format: { type: [String, Function], default: "dd MMM yyyy" }, id: { type: String, default: null }, inline: { type: Boolean, default: !1 }, inputClass: { type: [String, Object, Array], default: null }, maxlength: { type: [Number, String], default: null }, name: { type: String, default: null }, openDate: { type: [String, Date, Number], default: null, validator: (e) => e === null || e instanceof Date || typeof e == "string" || typeof e == "number" }, parser: { type: Function, default: null }, pattern: { type: String, default: null }, placeholder: { type: String, default: null }, refName: { type: String, default: "" }, required: { type: Boolean, default: !1 }, showCalendarOnButtonClick: { type: Boolean, default: !1 }, showCalendarOnFocus: { type: Boolean, default: !1 }, tabIndex: { type: [Number, String], default: null }, typeable: { type: Boolean, default: !1 }, useUtc: { type: Boolean, default: !1 } }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/inputProps.vue" }, Z2 = { name: "DateInput", components: { BIMDataIcon: g1, BIMDataButton: H1 }, mixins: [j2], props: { isOpen: { type: Boolean, default: !1 }, selectedDate: { type: Date, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7600
7606
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, typedDate: "", utils: d2(this.useUtc) };
|
|
7601
7607
|
}, computed: { computedInputClass() {
|
|
7602
7608
|
return this.inputClass;
|
|
@@ -7663,7 +7669,7 @@ Z2.render = function(e, n, o, l, s, i) {
|
|
|
7663
7669
|
const c = g("BIMDataIcon"), u = g("BIMDataButton");
|
|
7664
7670
|
return r(), a("div", { class: V({ "not-empty": i.formattedValue }) }, [_(e.$slots, "beforeDateInput"), v(" Calendar Button "), e.calendarButton ? (r(), a("button", { key: 0, ref: "calendarButton", class: "bimdata-datepicker__calendar-button", disabled: e.disabled, type: "button", onClick: n[0] || (n[0] = (d) => i.toggle("calendarButton")), onFocus: n[1] || (n[1] = (...d) => i.handleButtonFocus && i.handleButtonFocus(...d)) }, [t("span", null, [_(e.$slots, "calendarBtn", {}, () => [t("i", { class: V(e.calendarButtonIcon) }, [Z(h(e.calendarButtonIconContent) + " ", 1), e.calendarButtonIcon ? v("v-if", !0) : (r(), a("span", Pl, "\u2026"))], 2)])])], 40, Fl)) : v("v-if", !0), v(" Input "), t("label", { for: `bimdata-input-${e.id}` }, h(e.placeholder), 9, Ul), t("input", { id: e.id, ref: e.refName, autocomplete: "off", autofocus: e.autofocus, class: V([i.computedInputClass, { required: o.required }]), clearButton: e.clearButton, disabled: e.disabled, maxlength: e.maxlength, name: e.name, pattern: e.pattern, readonly: !e.typeable, required: o.required, tabIndex: e.tabIndex, type: e.inline ? "hidden" : null, value: i.formattedValue, onBlur: n[2] || (n[2] = (...d) => i.handleInputBlur && i.handleInputBlur(...d)), onClick: n[3] || (n[3] = (...d) => i.handleInputClick && i.handleInputClick(...d)), onFocus: n[4] || (n[4] = (...d) => i.handleInputFocus && i.handleInputFocus(...d)), onKeydown: [n[5] || (n[5] = B((...d) => i.handleDelete && i.handleDelete(...d), ["backspace"])), n[6] || (n[6] = B((...d) => i.handleDelete && i.handleDelete(...d), ["delete"])), n[7] || (n[7] = B(w((...d) => i.handleKeydownDown && i.handleKeydownDown(...d), ["prevent"]), ["down"])), n[8] || (n[8] = B(w((...d) => i.handleKeydownEnter && i.handleKeydownEnter(...d), ["prevent"]), ["enter"])), n[9] || (n[9] = B(w((...d) => i.handleKeydownEscape && i.handleKeydownEscape(...d), ["prevent"]), ["esc"])), n[10] || (n[10] = B((d) => i.handleKeydownSpace(d), ["space"])), n[11] || (n[11] = B((d) => e.$emit("tab", d), ["tab"]))], onKeyup: [n[12] || (n[12] = (d) => i.handleKeyup(d)), n[13] || (n[13] = B((d) => i.handleKeyupSpace(d), ["space"]))] }, null, 42, zl), v(" Clear Button "), e.clearButton && o.selectedDate ? (r(), D(u, { key: 1, disabled: e.disabled, class: "bimdata-datepicker__clear-button", color: "primary", fill: "", square: "", icon: "", onClick: i.clearDate }, { default: f(() => [_(e.$slots, "clearBtn", {}, () => [p(c, { name: "delete", size: "xxxs", fill: "", color: "default" })])]), _: 3 }, 8, ["disabled", "onClick"])) : v("v-if", !0), _(e.$slots, "afterDateInput")], 2);
|
|
7665
7671
|
}, Z2.__file = "src/BIMDataComponents/BIMDataDatePicker/components/DateInput.vue";
|
|
7666
|
-
var S2 = { name: "DateInput", components: { BIMDataIcon:
|
|
7672
|
+
var S2 = { name: "DateInput", components: { BIMDataIcon: g1, BIMDataButton: H1 }, mixins: [j2], props: { isOpen: { type: Boolean, default: !1 }, selectedDates: { type: Array, default: null }, translation: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 } }, data() {
|
|
7667
7673
|
return { input: null, isInputFocused: !1, shouldToggleOnFocus: !1, shouldToggleOnClick: !0, utils: d2(this.useUtc) };
|
|
7668
7674
|
}, computed: { computedInputClass() {
|
|
7669
7675
|
return this.inputClass;
|
|
@@ -7979,7 +7985,7 @@ var Kl = { data: () => ({ focus: { delay: 0, refs: [] }, inlineTabbableCell: nul
|
|
|
7979
7985
|
}, updateTabbableCell() {
|
|
7980
7986
|
const e = this.hasClass(document.activeElement, "cell");
|
|
7981
7987
|
(!this.tabbableCell || e) && this.setTabbableCell();
|
|
7982
|
-
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" }, T2 = { name: "PickerHeader", components: { BIMDataIcon:
|
|
7988
|
+
} }, __file: "src/BIMDataComponents/BIMDataDatePicker/mixins/navMixin.vue" }, T2 = { name: "PickerHeader", components: { BIMDataIcon: g1 }, 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() {
|
|
7983
7989
|
this.$emit("page-change", this.previousPage);
|
|
7984
7990
|
}, arrowRightPrev() {
|
|
7985
7991
|
this.$emit("set-focus", ["up", "next", "tabbableCell"]);
|
|
@@ -8362,7 +8368,7 @@ var X1 = { components: { DateInput: Z2, DateInputRange: S2, PickerDay: $2, Picke
|
|
|
8362
8368
|
this.setPageDate(new Date(e.timestamp)), this.$emit(`changed-${this.view}`, e), this.setView(this.nextView.down);
|
|
8363
8369
|
}, ucFirst: (e) => e[0].toUpperCase() + e.substring(1) } };
|
|
8364
8370
|
const bi = ["id"], gi = { key: 2 }, fi = { key: 0 }, Li = { key: 1 };
|
|
8365
|
-
|
|
8371
|
+
v1(`/* base COLORS --------------------------------------------- */
|
|
8366
8372
|
/* colors BRAND */
|
|
8367
8373
|
/* colors GREY SHADES - NEUTRAL */
|
|
8368
8374
|
/* color TEXT */
|
|
@@ -8431,7 +8437,7 @@ html[data-v-0090dd57] {
|
|
|
8431
8437
|
/* base FONTS -------------------------------------- */
|
|
8432
8438
|
--primary-font: "roboto", sans-serif;
|
|
8433
8439
|
}`);
|
|
8434
|
-
|
|
8440
|
+
v1(`.slide-fade-up-enter-active,
|
|
8435
8441
|
.slide-fade-up-leave-active {
|
|
8436
8442
|
-webkit-transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
8437
8443
|
transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
|
|
@@ -9563,7 +9569,7 @@ q2(`.overlay[data-v-1bd53efd] {
|
|
|
9563
9569
|
const c = g("BIMDataIcon");
|
|
9564
9570
|
return r(), a("div", EC, [t("div", { class: "safe-zone", style: y({ width: o.width }) }, [t("div", FC, [p(c, { name: o.iconName, size: "l", fill: "", color: "high" }, null, 8, ["name"]), t("p", null, [_(e.$slots, "text")])]), t("div", PC, [_(e.$slots, "actions")])], 4)]);
|
|
9565
9571
|
}, D1.__scopeId = "data-v-1bd53efd", D1.__file = "src/BIMDataComponents/BIMDataSafeZoneModal/BIMDataSafeZoneModal.vue";
|
|
9566
|
-
var
|
|
9572
|
+
var f1 = { 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() {
|
|
9567
9573
|
this.$watch(() => this.success && this.error, (e) => {
|
|
9568
9574
|
if (e)
|
|
9569
9575
|
throw new Error("Textarea state cannot be both success and error.");
|
|
@@ -9852,9 +9858,9 @@ $5(`textarea:-webkit-autofill {
|
|
|
9852
9858
|
}
|
|
9853
9859
|
.bimdata-textarea.success .bar::before, .bimdata-textarea.success .bar::after {
|
|
9854
9860
|
background-color: var(--color-success);
|
|
9855
|
-
}`),
|
|
9861
|
+
}`), f1.render = function(e, n, o, l, s, i) {
|
|
9856
9862
|
return r(), a("div", { class: V(["bimdata-textarea", { "not-empty": o.modelValue !== null && o.modelValue !== "" || o.placeholder !== null, error: o.error, success: o.success }]), style: y({ "min-width": o.width, "min-height": o.height }) }, [t("textarea", E2({ ref: "textarea", name: o.name, id: o.name, value: o.modelValue, placeholder: o.placeholder, style: o.resizable ? "" : "resize: none;", onInput: n[0] || (n[0] = (...c) => i.onInput && i.onInput(...c)) }, e.$attrs), null, 16, UC), t("label", { for: o.name }, h(o.label), 9, zC), GC, o.error ? (r(), a("span", YC, h(o.errorMessage), 1)) : v("v-if", !0), o.success ? (r(), a("span", WC, h(o.successMessage), 1)) : v("v-if", !0)], 6);
|
|
9857
|
-
},
|
|
9863
|
+
}, f1.__scopeId = "data-v-76eaf75a", f1.__file = "src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue";
|
|
9858
9864
|
var V1 = { 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() {
|
|
9859
9865
|
return !this.disabled && this._text && this.hover;
|
|
9860
9866
|
}, _text() {
|
|
@@ -10385,7 +10391,7 @@ const pp = {
|
|
|
10385
10391
|
BIMDataLoading: c1,
|
|
10386
10392
|
BIMDataSafeZoneModal: D1,
|
|
10387
10393
|
BIMDataSelect: o2,
|
|
10388
|
-
BIMDataTextarea:
|
|
10394
|
+
BIMDataTextarea: f1,
|
|
10389
10395
|
BIMDataTextbox: r1,
|
|
10390
10396
|
BIMDataTooltip: V1
|
|
10391
10397
|
},
|
|
@@ -10854,7 +10860,7 @@ const Sp = {
|
|
|
10854
10860
|
BIMDataButton: W,
|
|
10855
10861
|
BIMDataIcon: j,
|
|
10856
10862
|
BIMDataLoading: c1,
|
|
10857
|
-
BIMDataTextarea:
|
|
10863
|
+
BIMDataTextarea: f1,
|
|
10858
10864
|
BIMDataTextbox: r1,
|
|
10859
10865
|
UserAvatar: N5
|
|
10860
10866
|
},
|
|
@@ -11122,7 +11128,7 @@ const Xp = {
|
|
|
11122
11128
|
components: {
|
|
11123
11129
|
BIMDataButton: W,
|
|
11124
11130
|
BIMDataLoading: c1,
|
|
11125
|
-
BIMDataTextarea:
|
|
11131
|
+
BIMDataTextarea: f1,
|
|
11126
11132
|
TopicComment: Wp
|
|
11127
11133
|
},
|
|
11128
11134
|
props: {
|
|
@@ -12385,7 +12391,7 @@ const Sv = {
|
|
|
12385
12391
|
"view-topic-viewpoint"
|
|
12386
12392
|
],
|
|
12387
12393
|
setup(e, { emit: n }) {
|
|
12388
|
-
const o = x1(), l = x(!1), s = x(!1), i = R(() =>
|
|
12394
|
+
const o = x1(), l = x(!1), s = x(!1), i = R(() => L1(e.topic, e.detailedExtensions)), c = R(() => {
|
|
12389
12395
|
var C, L, b;
|
|
12390
12396
|
return ((b = (L = (C = e.topic.viewpoints) == null ? void 0 : C[0]) == null ? void 0 : L.components) == null ? void 0 : b.selection) || [];
|
|
12391
12397
|
}), u = R(() => Array.from(e.topic.labels || []).sort());
|
|
@@ -14282,7 +14288,7 @@ const Gm = {
|
|
|
14282
14288
|
setup(e) {
|
|
14283
14289
|
return {
|
|
14284
14290
|
priorityColor: R(
|
|
14285
|
-
() =>
|
|
14291
|
+
() => L1(e.topic, e.detailedExtensions)
|
|
14286
14292
|
)
|
|
14287
14293
|
};
|
|
14288
14294
|
}
|
|
@@ -14311,7 +14317,7 @@ const Km = {
|
|
|
14311
14317
|
setup(e) {
|
|
14312
14318
|
return {
|
|
14313
14319
|
priorityColor: R(
|
|
14314
|
-
() =>
|
|
14320
|
+
() => L1(e.topic, e.detailedExtensions)
|
|
14315
14321
|
)
|
|
14316
14322
|
};
|
|
14317
14323
|
}
|
|
@@ -14488,7 +14494,7 @@ export {
|
|
|
14488
14494
|
CI as components,
|
|
14489
14495
|
lI as config,
|
|
14490
14496
|
iI as createService,
|
|
14491
|
-
|
|
14497
|
+
L1 as getPriorityColor,
|
|
14492
14498
|
Y2 as getStatusColor,
|
|
14493
14499
|
e3 as getViewpointConfig,
|
|
14494
14500
|
uI as getViewpointModels,
|