@bimdata/bcf-components 3.1.0 → 3.1.1-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 +158 -148
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.mjs +346 -332
- package/dist/vue3/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as Fe, computed as
|
|
2
|
+
import { reactive as Fe, computed as x, ref as L, watch as S, toRaw as a2, inject as De } from "vue";
|
|
3
3
|
const ve = Object.freeze([
|
|
4
4
|
"Priority",
|
|
5
5
|
"Type",
|
|
@@ -377,29 +377,29 @@ var R1 = { exports: {} }, n1 = { exports: {} };
|
|
|
377
377
|
return (0, d.default)(_, g, H, Z);
|
|
378
378
|
if ((0, u.isAsyncIterable)(_))
|
|
379
379
|
return (0, d.default)(_[Symbol.asyncIterator](), g, H, Z);
|
|
380
|
-
var $ = (0, l.default)(_), m = !1, V = !1, y = 0,
|
|
381
|
-
function
|
|
380
|
+
var $ = (0, l.default)(_), m = !1, V = !1, y = 0, k = !1;
|
|
381
|
+
function T(F, M) {
|
|
382
382
|
if (!V)
|
|
383
|
-
if (y -= 1,
|
|
384
|
-
m = !0, Z(
|
|
385
|
-
else if (
|
|
383
|
+
if (y -= 1, F)
|
|
384
|
+
m = !0, Z(F);
|
|
385
|
+
else if (F === !1)
|
|
386
386
|
m = !0, V = !0;
|
|
387
387
|
else {
|
|
388
|
-
if (
|
|
388
|
+
if (M === o.default || m && y <= 0)
|
|
389
389
|
return m = !0, Z(null);
|
|
390
|
-
|
|
390
|
+
k || R();
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
function R() {
|
|
394
|
-
for (
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
394
|
+
for (k = !0; y < g && !m; ) {
|
|
395
|
+
var F = $();
|
|
396
|
+
if (F === null) {
|
|
397
397
|
m = !0, y <= 0 && Z(null);
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
400
|
-
y += 1, H(
|
|
400
|
+
y += 1, H(F.value, F.key, (0, s.default)(T));
|
|
401
401
|
}
|
|
402
|
-
|
|
402
|
+
k = !1;
|
|
403
403
|
}
|
|
404
404
|
R();
|
|
405
405
|
}, e.exports = r.default;
|
|
@@ -453,7 +453,7 @@ function Y(e) {
|
|
|
453
453
|
return ge[e];
|
|
454
454
|
}
|
|
455
455
|
function He(e, r) {
|
|
456
|
-
return r[be[e]];
|
|
456
|
+
return r[be[e]].slice();
|
|
457
457
|
}
|
|
458
458
|
function X(e, r) {
|
|
459
459
|
const t = r.priorities.find(
|
|
@@ -471,19 +471,19 @@ let Ve = null;
|
|
|
471
471
|
function J7(e, { fetchUsers: r }) {
|
|
472
472
|
const t = r ? (m) => r(m) : (m) => e.collaborationApi.getProjectUsers(m.cloud.id, m.id);
|
|
473
473
|
return {
|
|
474
|
-
fetchTopics: async (m) => {
|
|
475
|
-
const
|
|
476
|
-
return
|
|
477
|
-
|
|
474
|
+
fetchTopics: async (m, { extensions: V, users: y } = {}) => {
|
|
475
|
+
const k = V != null ? V : await e.bcfApi.getDetailedExtensions(m.id), T = y != null ? y : await t(m), R = await e.bcfApi.getTopics(m.id);
|
|
476
|
+
return R.sort((F, M) => M.index - F.index), await Ae(R, 10, async (F) => {
|
|
477
|
+
F.color = X(F, k), F.creator = T.find((M) => M.email === F.creation_author), F.viewpoints = await e.bcfApi.getTopicViewpoints(
|
|
478
478
|
m.id,
|
|
479
|
-
|
|
479
|
+
F.guid,
|
|
480
480
|
"url"
|
|
481
481
|
);
|
|
482
|
-
}),
|
|
482
|
+
}), R;
|
|
483
483
|
},
|
|
484
484
|
fecthTopicByGuid: async (m, V) => {
|
|
485
|
-
const y = await e.bcfApi.getDetailedExtensions(m.id),
|
|
486
|
-
return
|
|
485
|
+
const y = await e.bcfApi.getDetailedExtensions(m.id), k = await e.bcfApi.getFullTopic(V, m.id, "url");
|
|
486
|
+
return k.color = X(k, y), k;
|
|
487
487
|
},
|
|
488
488
|
createTopic: async (m, V) => await e.bcfApi.createFullTopic(
|
|
489
489
|
m.id,
|
|
@@ -515,21 +515,21 @@ function J7(e, { fetchUsers: r }) {
|
|
|
515
515
|
);
|
|
516
516
|
},
|
|
517
517
|
fetchTopicComments: async (m, V) => {
|
|
518
|
-
const y = await t(m),
|
|
519
|
-
return
|
|
520
|
-
|
|
521
|
-
}),
|
|
518
|
+
const y = await t(m), k = await e.bcfApi.getComments(m.id, V.guid);
|
|
519
|
+
return k.sort((T, R) => T.date > R.date ? -1 : 1), k.forEach((T) => {
|
|
520
|
+
T.user = y.find((R) => R.email === T.author);
|
|
521
|
+
}), k;
|
|
522
522
|
},
|
|
523
523
|
createComment: async (m, V, y) => await e.bcfApi.createComment(
|
|
524
524
|
m.id,
|
|
525
525
|
V.guid,
|
|
526
526
|
y
|
|
527
527
|
),
|
|
528
|
-
updateComment: async (m, V, y,
|
|
528
|
+
updateComment: async (m, V, y, k) => await e.bcfApi.updateComment(
|
|
529
529
|
y.guid,
|
|
530
530
|
m.id,
|
|
531
531
|
V.guid,
|
|
532
|
-
|
|
532
|
+
k
|
|
533
533
|
),
|
|
534
534
|
deleteComment: async (m, V, y) => {
|
|
535
535
|
await e.bcfApi.deleteComment(
|
|
@@ -547,12 +547,12 @@ function J7(e, { fetchUsers: r }) {
|
|
|
547
547
|
color: Re()
|
|
548
548
|
}
|
|
549
549
|
),
|
|
550
|
-
updateExtension: async (m, V, y,
|
|
550
|
+
updateExtension: async (m, V, y, k) => await e.bcfApi[`updateExtension${V}`](
|
|
551
551
|
y.id,
|
|
552
552
|
m.id,
|
|
553
553
|
{
|
|
554
|
-
[Y(V)]:
|
|
555
|
-
color:
|
|
554
|
+
[Y(V)]: k.value,
|
|
555
|
+
color: k.color
|
|
556
556
|
}
|
|
557
557
|
),
|
|
558
558
|
deleteExtension: async (m, V, y) => {
|
|
@@ -579,7 +579,7 @@ const s2 = {
|
|
|
579
579
|
endDate: null
|
|
580
580
|
};
|
|
581
581
|
function Ne(e) {
|
|
582
|
-
const r = Fe({ ...s2 }), t =
|
|
582
|
+
const r = Fe({ ...s2 }), t = x(() => {
|
|
583
583
|
let l = e.value;
|
|
584
584
|
return r.priorities.length > 0 && (l = l.filter((n) => r.priorities.includes(n.priority))), r.statuses.length > 0 && (l = l.filter((n) => r.statuses.includes(n.topic_status))), r.users.length > 0 && (l = l.filter((n) => r.users.includes(n.assigned_to))), r.creators.length > 0 && (l = l.filter((n) => r.creators.includes(n.creation_author))), r.labels.length > 0 && (l = l.filter((n) => r.labels.some((s) => n.labels.includes(s)))), r.startDate && r.endDate && (l = l.filter((n) => n.creation_date >= r.startDate && n.creation_date <= r.endDate)), l;
|
|
585
585
|
});
|
|
@@ -609,7 +609,7 @@ const je = [
|
|
|
609
609
|
];
|
|
610
610
|
function Q7(e) {
|
|
611
611
|
const r = L(""), t = L([]);
|
|
612
|
-
return
|
|
612
|
+
return S(
|
|
613
613
|
[e, r],
|
|
614
614
|
() => {
|
|
615
615
|
if (r.value) {
|
|
@@ -1678,7 +1678,7 @@ var u5 = function() {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
}), t("span", [e._v(" " + e._s(e.$t("BcfComponents.BcfFilters.searchButton")) + " ")])], 1)], 1)], 1)])], 1);
|
|
1680
1680
|
}, f5 = [];
|
|
1681
|
-
function
|
|
1681
|
+
function w(e, r, t, i, a, l, n, s) {
|
|
1682
1682
|
var u = typeof e == "function" ? e.options : e;
|
|
1683
1683
|
r && (u.render = r, u.staticRenderFns = t, u._compiled = !0), i && (u.functional = !0), l && (u._scopeId = "data-v-" + l);
|
|
1684
1684
|
var p;
|
|
@@ -1726,16 +1726,16 @@ const h5 = {
|
|
|
1726
1726
|
emits: ["submit"],
|
|
1727
1727
|
setup(e, { emit: r }) {
|
|
1728
1728
|
const t = L(!1), i = () => t.value = !1, a = () => t.value = !t.value, l = L(null), { filters: n, filteredTopics: s, reset: u } = Ne(
|
|
1729
|
-
|
|
1730
|
-
), p =
|
|
1729
|
+
x(() => e.topics)
|
|
1730
|
+
), p = x(
|
|
1731
1731
|
() => K(e.topics.map((H) => H.priority))
|
|
1732
|
-
), d =
|
|
1732
|
+
), d = x(
|
|
1733
1733
|
() => K(e.topics.map((H) => H.topic_status))
|
|
1734
|
-
), c =
|
|
1734
|
+
), c = x(
|
|
1735
1735
|
() => K(e.topics.map((H) => H.assigned_to))
|
|
1736
|
-
), o =
|
|
1736
|
+
), o = x(
|
|
1737
1737
|
() => K(e.topics.map((H) => H.creation_author))
|
|
1738
|
-
), b =
|
|
1738
|
+
), b = x(
|
|
1739
1739
|
() => K(e.topics.flatMap((H) => H.labels))
|
|
1740
1740
|
);
|
|
1741
1741
|
return {
|
|
@@ -1764,7 +1764,7 @@ const h5 = {
|
|
|
1764
1764
|
};
|
|
1765
1765
|
}
|
|
1766
1766
|
}, L2 = {};
|
|
1767
|
-
var C5 = /* @__PURE__ */
|
|
1767
|
+
var C5 = /* @__PURE__ */ w(
|
|
1768
1768
|
h5,
|
|
1769
1769
|
u5,
|
|
1770
1770
|
f5,
|
|
@@ -1998,7 +1998,7 @@ const x5 = {
|
|
|
1998
1998
|
const t = L(!1), i = L(!1), a = L(!1), l = L(
|
|
1999
1999
|
e.extension[Y(e.extensionType)]
|
|
2000
2000
|
), n = L(e.extension.color), s = L(null);
|
|
2001
|
-
return
|
|
2001
|
+
return S(
|
|
2002
2002
|
t,
|
|
2003
2003
|
() => setTimeout(() => t.value && s.value.focus(), 50)
|
|
2004
2004
|
), {
|
|
@@ -2034,7 +2034,7 @@ const x5 = {
|
|
|
2034
2034
|
};
|
|
2035
2035
|
}
|
|
2036
2036
|
}, V2 = {};
|
|
2037
|
-
var Z5 = /* @__PURE__ */
|
|
2037
|
+
var Z5 = /* @__PURE__ */ w(
|
|
2038
2038
|
x5,
|
|
2039
2039
|
y5,
|
|
2040
2040
|
M5,
|
|
@@ -2187,7 +2187,7 @@ const D5 = {
|
|
|
2187
2187
|
"delete-extension"
|
|
2188
2188
|
],
|
|
2189
2189
|
setup(e, { emit: r }) {
|
|
2190
|
-
const t =
|
|
2190
|
+
const t = x(
|
|
2191
2191
|
() => He(e.extensionType, e.detailedExtensions)
|
|
2192
2192
|
), i = L(null), a = L(""), l = L(!1), n = () => l.value = !1, s = () => l.value = !l.value, u = L(!1), p = () => {
|
|
2193
2193
|
a.value = "", u.value = !1;
|
|
@@ -2213,7 +2213,7 @@ const D5 = {
|
|
|
2213
2213
|
};
|
|
2214
2214
|
}
|
|
2215
2215
|
}, y2 = {};
|
|
2216
|
-
var E5 = /* @__PURE__ */
|
|
2216
|
+
var E5 = /* @__PURE__ */ w(
|
|
2217
2217
|
D5,
|
|
2218
2218
|
$5,
|
|
2219
2219
|
F5,
|
|
@@ -2351,7 +2351,7 @@ const T5 = {
|
|
|
2351
2351
|
};
|
|
2352
2352
|
}
|
|
2353
2353
|
}, M2 = {};
|
|
2354
|
-
var O5 = /* @__PURE__ */
|
|
2354
|
+
var O5 = /* @__PURE__ */ w(
|
|
2355
2355
|
T5,
|
|
2356
2356
|
I5,
|
|
2357
2357
|
S5,
|
|
@@ -2373,7 +2373,7 @@ var A5 = Object.freeze(["default", "primary", "secondary", "high", "success", "g
|
|
|
2373
2373
|
}, style() {
|
|
2374
2374
|
return { "min-width": `${this.width}`, "min-height": `${this.height}` };
|
|
2375
2375
|
} } };
|
|
2376
|
-
function
|
|
2376
|
+
function O(e, r, t, i, a, l, n, s, u, p) {
|
|
2377
2377
|
typeof n != "boolean" && (u = s, s = n, n = !1);
|
|
2378
2378
|
const d = typeof t == "function" ? t.options : t;
|
|
2379
2379
|
let c;
|
|
@@ -2415,14 +2415,14 @@ function A(e) {
|
|
|
2415
2415
|
}(r, t);
|
|
2416
2416
|
}
|
|
2417
2417
|
let g1;
|
|
2418
|
-
const x2 = {}, Z2 =
|
|
2418
|
+
const x2 = {}, Z2 = O({ render: function() {
|
|
2419
2419
|
var e = this, r = e.$createElement;
|
|
2420
2420
|
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) {
|
|
2421
2421
|
return e.$emit("click", t);
|
|
2422
2422
|
} } }, [e._t("default")], 2);
|
|
2423
2423
|
}, staticRenderFns: [] }, function(e) {
|
|
2424
2424
|
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 }));
|
|
2425
|
-
}, N5, "data-v-7af18892", !1, void 0, !1, A, void 0, void 0), U5 =
|
|
2425
|
+
}, N5, "data-v-7af18892", !1, void 0, !1, A, void 0, void 0), U5 = O({ render: function() {
|
|
2426
2426
|
var e = this.$createElement;
|
|
2427
2427
|
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" } });
|
|
2428
2428
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0);
|
|
@@ -2436,7 +2436,7 @@ var k2 = (e, r) => ({ name: `BIMDataIcon${e}`, components: { [e]: r }, props: {
|
|
|
2436
2436
|
} }, methods: { getPixelSize() {
|
|
2437
2437
|
return this.customSize ? this.customSize : w2[this.size];
|
|
2438
2438
|
} } });
|
|
2439
|
-
const Y5 =
|
|
2439
|
+
const Y5 = O({ render: function() {
|
|
2440
2440
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2441
2441
|
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) {
|
|
2442
2442
|
return t("li", { key: e.elementKey ? i[e.elementKey] : i, on: { click: function(a) {
|
|
@@ -2449,7 +2449,7 @@ const Y5 = S({ render: function() {
|
|
|
2449
2449
|
}), 0), e._v(" "), e.list.length === 0 ? [e._t("empty")] : e._e(), e._v(" "), e.totalPages > 1 ? t("BIMDataPagination", { attrs: { length: e.list.length, currentPage: e.currentPage, totalPages: e.totalPages, perPage: e.perPage, first: e.first, last: e.last, numberDataElements: e.numberDataElements, backgroundColor: e.backgroundColor }, on: { pagechanged: e.onPageChange } }) : e._e()], 2)], 1);
|
|
2450
2450
|
}, staticRenderFns: [] }, function(e) {
|
|
2451
2451
|
e && (e("data-v-9848cfc8_0", { source: 'html[data-v-9848cfc8]{--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-9848cfc8]{margin:0;padding:0}.bimdata-list li[data-v-9848cfc8]{list-style-type:none}', map: void 0, media: void 0 }), e("data-v-9848cfc8_1", { source: ".bimdata-paginated-list[data-v-9848cfc8]{font-family:var(--primary-font);font-size:1em;line-height:1.5;overflow:auto}.bimdata-paginated-list--small[data-v-9848cfc8]{height:100%;position:relative}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]{padding:6px;display:flex;align-items:center;justify-content:space-between;font-size:.8571428571em}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]:nth-child(odd){background-color:var(--color-silver-light)}.bimdata-paginated-list--small .bimdata-paginated-list__elements li[data-v-9848cfc8]:nth-child(even){background-color:hsl(var(--color-silver-light),5%)}.bimdata-paginated-list--empty[data-v-9848cfc8]{height:auto}.bimdata-paginated-list .bimdata-spinner[data-v-9848cfc8]{padding:12px 0;justify-content:center}", map: void 0, media: void 0 }));
|
|
2452
|
-
}, { components: { BIMDataPagination:
|
|
2452
|
+
}, { components: { BIMDataPagination: O({ render: function() {
|
|
2453
2453
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2454
2454
|
return t("BIMDataNavigation", { staticClass: "bimdata-pagination", attrs: { firstDisabled: e.isFirstPage, previousDisabled: e.isFirstPage, nextDisabled: e.isLastPage, lastDisabled: e.isLastPage, backgroundColor: e.backgroundColor }, on: { first: function(i) {
|
|
2455
2455
|
return e.firstPage();
|
|
@@ -2468,7 +2468,7 @@ const Y5 = S({ render: function() {
|
|
|
2468
2468
|
`)])], 1)]);
|
|
2469
2469
|
}, staticRenderFns: [] }, function(e) {
|
|
2470
2470
|
e && (e("data-v-0a60caec_0", { source: 'html[data-v-0a60caec]{--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-0a60caec_1", { source: ".bimdata-pagination__item .bimdata-btn[data-v-0a60caec]{padding:0;justify-content:center}.bimdata-pagination__item.active .bimdata-btn[data-v-0a60caec]{font-weight:700}", map: void 0, media: void 0 }));
|
|
2471
|
-
}, { components: { BIMDataNavigation:
|
|
2471
|
+
}, { components: { BIMDataNavigation: O({ render: function() {
|
|
2472
2472
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2473
2473
|
return t("ul", { staticClass: "bimdata-list bimdata-navigation", style: { "background-color": e.backgroundColor } }, [t("li", { staticClass: "bimdata-navigation__left m-r-6" }, [e._t("left")], 2), e._v(" "), e.first ? t("li", { staticClass: "bimdata-navigation__item" }, [t("BIMDataButton", { class: { disabled: e.firstDisabled }, attrs: { disabled: e.firstDisabled, ghost: "", width: "21px", height: "21px" }, on: { click: function(i) {
|
|
2474
2474
|
return e.$emit("first");
|
|
@@ -2481,17 +2481,17 @@ const Y5 = S({ render: function() {
|
|
|
2481
2481
|
} } }, [t("BIMDataIconDoubleChevron", { attrs: { size: "xxxs" } })], 1)], 1) : e._e(), e._v(" "), t("li", { staticClass: "bimdata-navigation__right" }, [e._t("right")], 2)]);
|
|
2482
2482
|
}, staticRenderFns: [] }, function(e) {
|
|
2483
2483
|
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 }));
|
|
2484
|
-
}, { components: { BIMDataIconChevron:
|
|
2484
|
+
}, { components: { BIMDataIconChevron: O({ render: function() {
|
|
2485
2485
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2486
2486
|
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);
|
|
2487
2487
|
}, staticRenderFns: [] }, function(e) {
|
|
2488
2488
|
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 }));
|
|
2489
|
-
}, k2("Chevron", U5), "data-v-20c38c94", !1, void 0, !1, A, void 0, void 0), BIMDataIconDoubleChevron:
|
|
2489
|
+
}, k2("Chevron", U5), "data-v-20c38c94", !1, void 0, !1, A, void 0, void 0), BIMDataIconDoubleChevron: O({ render: function() {
|
|
2490
2490
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2491
2491
|
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);
|
|
2492
2492
|
}, staticRenderFns: [] }, function(e) {
|
|
2493
2493
|
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 }));
|
|
2494
|
-
}, k2("DoubleChevron",
|
|
2494
|
+
}, k2("DoubleChevron", O({ render: function() {
|
|
2495
2495
|
var e = this.$createElement;
|
|
2496
2496
|
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" } });
|
|
2497
2497
|
}, staticRenderFns: [] }, void 0, {}, void 0, !1, void 0, !1, void 0, void 0, void 0)), "data-v-35e61558", !1, void 0, !1, A, void 0, void 0), BIMDataButton: Z2 }, 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, A, void 0, void 0), BIMDataButton: Z2 }, 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() {
|
|
@@ -2510,7 +2510,7 @@ const Y5 = S({ render: function() {
|
|
|
2510
2510
|
this.$emit("pagechanged", this.currentPage + 1);
|
|
2511
2511
|
}, lastPage() {
|
|
2512
2512
|
this.$emit("pagechanged", this.totalPages);
|
|
2513
|
-
} } }, "data-v-0a60caec", !1, void 0, !1, A, void 0, void 0), BIMDataSpinner:
|
|
2513
|
+
} } }, "data-v-0a60caec", !1, void 0, !1, A, void 0, void 0), BIMDataSpinner: O({ render: function() {
|
|
2514
2514
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
2515
2515
|
return t("div", { staticClass: "bimdata-spinner" }, [t("div", { staticClass: "bimdata-spinner--square", style: e.getStyle() })]);
|
|
2516
2516
|
}, staticRenderFns: [] }, function(e) {
|
|
@@ -2673,7 +2673,7 @@ const t3 = {
|
|
|
2673
2673
|
},
|
|
2674
2674
|
setup(e) {
|
|
2675
2675
|
return {
|
|
2676
|
-
chartData:
|
|
2676
|
+
chartData: x(() => {
|
|
2677
2677
|
if (e.topics.length === 0)
|
|
2678
2678
|
return [];
|
|
2679
2679
|
const t = Y(e.extensionType), i = He(e.extensionType, e.detailedExtensions);
|
|
@@ -2691,13 +2691,13 @@ const t3 = {
|
|
|
2691
2691
|
};
|
|
2692
2692
|
}
|
|
2693
2693
|
}, F2 = {};
|
|
2694
|
-
var r3 = /* @__PURE__ */
|
|
2694
|
+
var r3 = /* @__PURE__ */ w(
|
|
2695
2695
|
t3,
|
|
2696
2696
|
Q5,
|
|
2697
2697
|
e3,
|
|
2698
2698
|
!1,
|
|
2699
2699
|
i3,
|
|
2700
|
-
"
|
|
2700
|
+
"e7b32c92",
|
|
2701
2701
|
null,
|
|
2702
2702
|
null
|
|
2703
2703
|
);
|
|
@@ -2880,7 +2880,7 @@ var s3 = function() {
|
|
|
2880
2880
|
})]);
|
|
2881
2881
|
}, c3 = [];
|
|
2882
2882
|
const u3 = {}, E2 = {};
|
|
2883
|
-
var f3 = /* @__PURE__ */
|
|
2883
|
+
var f3 = /* @__PURE__ */ w(
|
|
2884
2884
|
u3,
|
|
2885
2885
|
s3,
|
|
2886
2886
|
c3,
|
|
@@ -3029,7 +3029,7 @@ const p3 = {
|
|
|
3029
3029
|
},
|
|
3030
3030
|
emits: ["open-topic", "update:selected"],
|
|
3031
3031
|
setup(e) {
|
|
3032
|
-
const r = L(!1), t =
|
|
3032
|
+
const r = L(!1), t = x(() => X(e.topic, e.detailedExtensions)), i = x(() => K1(e.topic, e.detailedExtensions)), a = x(() => e.topic.viewpoints.filter((n) => Boolean(n.snapshot))), l = x(() => {
|
|
3033
3033
|
var s, u;
|
|
3034
3034
|
const n = (u = (s = e.topic.viewpoints) == null ? void 0 : s[0]) == null ? void 0 : u.components;
|
|
3035
3035
|
return (n == null ? void 0 : n.selection) || [];
|
|
@@ -3044,7 +3044,7 @@ const p3 = {
|
|
|
3044
3044
|
};
|
|
3045
3045
|
}
|
|
3046
3046
|
}, B2 = {};
|
|
3047
|
-
var g3 = /* @__PURE__ */
|
|
3047
|
+
var g3 = /* @__PURE__ */ w(
|
|
3048
3048
|
p3,
|
|
3049
3049
|
C3,
|
|
3050
3050
|
v3,
|
|
@@ -3130,7 +3130,7 @@ var m3 = function() {
|
|
|
3130
3130
|
})]);
|
|
3131
3131
|
}, L3 = [];
|
|
3132
3132
|
const H3 = {}, R2 = {};
|
|
3133
|
-
var V3 = /* @__PURE__ */
|
|
3133
|
+
var V3 = /* @__PURE__ */ w(
|
|
3134
3134
|
H3,
|
|
3135
3135
|
m3,
|
|
3136
3136
|
L3,
|
|
@@ -3184,7 +3184,7 @@ const w3 = {
|
|
|
3184
3184
|
},
|
|
3185
3185
|
emits: ["create-topic"]
|
|
3186
3186
|
}, I2 = {};
|
|
3187
|
-
var k3 = /* @__PURE__ */
|
|
3187
|
+
var k3 = /* @__PURE__ */ w(
|
|
3188
3188
|
w3,
|
|
3189
3189
|
x3,
|
|
3190
3190
|
Z3,
|
|
@@ -5754,7 +5754,7 @@ const C4 = {
|
|
|
5754
5754
|
};
|
|
5755
5755
|
}
|
|
5756
5756
|
}, X2 = {};
|
|
5757
|
-
var v4 = /* @__PURE__ */
|
|
5757
|
+
var v4 = /* @__PURE__ */ w(
|
|
5758
5758
|
C4,
|
|
5759
5759
|
f4,
|
|
5760
5760
|
h4,
|
|
@@ -5853,7 +5853,7 @@ const m4 = {
|
|
|
5853
5853
|
};
|
|
5854
5854
|
}
|
|
5855
5855
|
}, K2 = {};
|
|
5856
|
-
var L4 = /* @__PURE__ */
|
|
5856
|
+
var L4 = /* @__PURE__ */ w(
|
|
5857
5857
|
m4,
|
|
5858
5858
|
b4,
|
|
5859
5859
|
_4,
|
|
@@ -6245,21 +6245,21 @@ const x4 = {
|
|
|
6245
6245
|
"topic-update-error"
|
|
6246
6246
|
],
|
|
6247
6247
|
setup(e, { emit: r }) {
|
|
6248
|
-
const t = e1(), i =
|
|
6248
|
+
const t = e1(), i = x(
|
|
6249
6249
|
() => !e.topic
|
|
6250
|
-
), a =
|
|
6251
|
-
() => Math.max(0, ...e.topics.map((
|
|
6252
|
-
), l = L(""), n = L(null), s = L(null), u = L(null), p = L(null), d = L(null), c = L(null), o = L(""), b = L([]), g = L([]), _ = L([]), H = L([]), Z = L([]), $ =
|
|
6253
|
-
() => g.value.concat(_.value).filter((
|
|
6250
|
+
), a = x(
|
|
6251
|
+
() => Math.max(0, ...e.topics.map((M) => M.index)) + 1
|
|
6252
|
+
), l = L(""), n = L(null), s = L(null), u = L(null), p = L(null), d = L(null), c = L(null), o = L(""), b = L([]), g = L([]), _ = L([]), H = L([]), Z = L([]), $ = x(
|
|
6253
|
+
() => g.value.concat(_.value).filter((M) => !Z.value.some((j) => j.guid === M.guid)).filter((M) => M.snapshot)
|
|
6254
6254
|
), m = L(!1), V = L(!1), y = L(!1);
|
|
6255
|
-
|
|
6255
|
+
S(
|
|
6256
6256
|
() => e.topic,
|
|
6257
|
-
(
|
|
6258
|
-
i.value || (l.value =
|
|
6257
|
+
(M) => {
|
|
6258
|
+
i.value || (l.value = M.title || "", n.value = M.topic_type || null, s.value = M.priority || null, u.value = M.topic_status || null, p.value = M.stage || null, d.value = M.assigned_to || null, c.value = M.due_date, o.value = M.description || "", b.value = M.labels || [], g.value = M.viewpoints || []);
|
|
6259
6259
|
},
|
|
6260
6260
|
{ immediate: !0 }
|
|
6261
6261
|
);
|
|
6262
|
-
const
|
|
6262
|
+
const k = () => {
|
|
6263
6263
|
l.value = "", n.value = null, s.value = null, u.value = null, p.value = null, d.value = null, c.value = null, o.value = "", b.value = [], g.value = [], _.value = [], H.value = [], Z.value = [], m.value = !1, V.value = !1, y.value = !1;
|
|
6264
6264
|
};
|
|
6265
6265
|
return {
|
|
@@ -6278,34 +6278,34 @@ const x4 = {
|
|
|
6278
6278
|
topicTitle: l,
|
|
6279
6279
|
topicType: n,
|
|
6280
6280
|
viewpointsToDisplay: $,
|
|
6281
|
-
addViewpoint: (
|
|
6282
|
-
_.value.push(
|
|
6281
|
+
addViewpoint: (M) => {
|
|
6282
|
+
_.value.push(M);
|
|
6283
6283
|
},
|
|
6284
|
-
delViewpoint: (
|
|
6285
|
-
if (
|
|
6286
|
-
Z.value.push(
|
|
6284
|
+
delViewpoint: (M) => {
|
|
6285
|
+
if (M.guid)
|
|
6286
|
+
Z.value.push(M);
|
|
6287
6287
|
else {
|
|
6288
|
-
let j = _.value.indexOf(
|
|
6288
|
+
let j = _.value.indexOf(M);
|
|
6289
6289
|
_.value.splice(j, 1);
|
|
6290
6290
|
}
|
|
6291
6291
|
},
|
|
6292
6292
|
submit: async () => {
|
|
6293
|
-
var
|
|
6293
|
+
var M, j;
|
|
6294
6294
|
if (!l.value) {
|
|
6295
6295
|
y.value = !0;
|
|
6296
6296
|
return;
|
|
6297
6297
|
}
|
|
6298
6298
|
try {
|
|
6299
6299
|
m.value = !0, H.value = g.value.map(
|
|
6300
|
-
(
|
|
6301
|
-
), H.value.length === 0 && _.value.sort((
|
|
6300
|
+
(D) => ({ ...D, snapshot: void 0 })
|
|
6301
|
+
), H.value.length === 0 && _.value.sort((D, $e) => {
|
|
6302
6302
|
var i2, n2;
|
|
6303
|
-
return ((i2 =
|
|
6303
|
+
return ((i2 = D.order) != null ? i2 : 1 / 0) - ((n2 = $e.order) != null ? n2 : 1 / 0);
|
|
6304
6304
|
}), e.topicObjects && (H.value.length > 0 || _.value.length > 0 ? [
|
|
6305
6305
|
...H.value,
|
|
6306
6306
|
..._.value
|
|
6307
|
-
].forEach((
|
|
6308
|
-
Object.assign(
|
|
6307
|
+
].forEach((D) => {
|
|
6308
|
+
Object.assign(D, e.topicObjects), D.components || (D.components = {}), D.components.selection || (D.components.selection = []), D.components.visibility || (D.components.visibility = {
|
|
6309
6309
|
default_visibility: !0,
|
|
6310
6310
|
exceptions: [],
|
|
6311
6311
|
view_setup_hints: {
|
|
@@ -6320,10 +6320,10 @@ const x4 = {
|
|
|
6320
6320
|
...H.value,
|
|
6321
6321
|
..._.value
|
|
6322
6322
|
].forEach(
|
|
6323
|
-
(
|
|
6323
|
+
(D) => D.pins = e.topicAnnotations
|
|
6324
6324
|
);
|
|
6325
6325
|
const r1 = {
|
|
6326
|
-
guid: (
|
|
6326
|
+
guid: (M = e.topic) == null ? void 0 : M.guid,
|
|
6327
6327
|
models: ((j = e.topic) == null ? void 0 : j.models) || e.topicModels,
|
|
6328
6328
|
title: l.value,
|
|
6329
6329
|
topic_type: n.value,
|
|
@@ -6339,13 +6339,13 @@ const x4 = {
|
|
|
6339
6339
|
let U;
|
|
6340
6340
|
i.value ? U = await t.createTopic(e.project, r1) : U = await t.updateTopic(e.project, r1), await Promise.all(
|
|
6341
6341
|
_.value.map(
|
|
6342
|
-
(
|
|
6342
|
+
(D) => t.createViewpoint(e.project, U, D)
|
|
6343
6343
|
)
|
|
6344
6344
|
), await Promise.all(
|
|
6345
6345
|
Z.value.map(
|
|
6346
|
-
(
|
|
6346
|
+
(D) => t.deleteViewpoint(e.project, U, D)
|
|
6347
6347
|
)
|
|
6348
|
-
), i.value ? (r("topic-created", U),
|
|
6348
|
+
), i.value ? (r("topic-created", U), k()) : r("topic-updated", U);
|
|
6349
6349
|
} catch (r1) {
|
|
6350
6350
|
r(i.value ? "topic-create-error" : "topic-update-error", r1);
|
|
6351
6351
|
} finally {
|
|
@@ -6355,7 +6355,7 @@ const x4 = {
|
|
|
6355
6355
|
};
|
|
6356
6356
|
}
|
|
6357
6357
|
}, J2 = {};
|
|
6358
|
-
var Z4 = /* @__PURE__ */
|
|
6358
|
+
var Z4 = /* @__PURE__ */ w(
|
|
6359
6359
|
x4,
|
|
6360
6360
|
y4,
|
|
6361
6361
|
M4,
|
|
@@ -6415,13 +6415,13 @@ const D4 = {
|
|
|
6415
6415
|
},
|
|
6416
6416
|
setup(e) {
|
|
6417
6417
|
return {
|
|
6418
|
-
initials:
|
|
6418
|
+
initials: x(
|
|
6419
6419
|
() => `${e.user.firstname && e.user.firstname[0] || ""}${e.user.lastname && e.user.lastname[0] || ""}`.toUpperCase()
|
|
6420
6420
|
)
|
|
6421
6421
|
};
|
|
6422
6422
|
}
|
|
6423
6423
|
}, G2 = {};
|
|
6424
|
-
var E4 = /* @__PURE__ */
|
|
6424
|
+
var E4 = /* @__PURE__ */ w(
|
|
6425
6425
|
D4,
|
|
6426
6426
|
$4,
|
|
6427
6427
|
F4,
|
|
@@ -6709,7 +6709,7 @@ const S4 = {
|
|
|
6709
6709
|
};
|
|
6710
6710
|
}
|
|
6711
6711
|
}, Q2 = {};
|
|
6712
|
-
var T4 = /* @__PURE__ */
|
|
6712
|
+
var T4 = /* @__PURE__ */ w(
|
|
6713
6713
|
S4,
|
|
6714
6714
|
R4,
|
|
6715
6715
|
I4,
|
|
@@ -6791,7 +6791,7 @@ var P4 = function() {
|
|
|
6791
6791
|
staticClass: "bcf-topic-comments__list m-t-18"
|
|
6792
6792
|
}, [t("p", {
|
|
6793
6793
|
staticClass: "color-granite"
|
|
6794
|
-
}, [e._v(" " + e._s((e.
|
|
6794
|
+
}, [e._v(" " + e._s((e.comments ? e.comments.length : 0) + " " + e.$t("BcfComponents.BcfTopicComments.commentsText")) + " ")]), e.comments && e.comments.length ? t("div", e._l(e.comments, function(i) {
|
|
6795
6795
|
return t("TopicComment", {
|
|
6796
6796
|
key: i.guid,
|
|
6797
6797
|
attrs: {
|
|
@@ -6800,12 +6800,8 @@ var P4 = function() {
|
|
|
6800
6800
|
comment: i
|
|
6801
6801
|
},
|
|
6802
6802
|
on: {
|
|
6803
|
-
"comment-updated":
|
|
6804
|
-
|
|
6805
|
-
},
|
|
6806
|
-
"comment-deleted": function(a) {
|
|
6807
|
-
return e.$emit("comment-deleted", a);
|
|
6808
|
-
}
|
|
6803
|
+
"comment-updated": e.onCommentUpdated,
|
|
6804
|
+
"comment-deleted": e.onCommentDeleted
|
|
6809
6805
|
}
|
|
6810
6806
|
});
|
|
6811
6807
|
}), 1) : e._e()]), e.loading ? [t("BIMDataLoading")] : e._e()], 2);
|
|
@@ -6833,38 +6829,52 @@ const N4 = {
|
|
|
6833
6829
|
"comment-deleted"
|
|
6834
6830
|
],
|
|
6835
6831
|
setup(e, { emit: r }) {
|
|
6836
|
-
const t = e1(), i = L(
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
e.project,
|
|
6850
|
-
e.topic,
|
|
6851
|
-
{ comment: n.value }
|
|
6852
|
-
);
|
|
6853
|
-
r("comment-created", u), i.value = !1, n.value = "";
|
|
6854
|
-
} finally {
|
|
6855
|
-
a.value = !1;
|
|
6856
|
-
}
|
|
6832
|
+
const t = e1(), i = L([]), a = L(!1), l = L(!1), n = L(null), s = L(""), u = async () => {
|
|
6833
|
+
i.value = await t.fetchTopicComments(e.project, e.topic);
|
|
6834
|
+
}, p = async () => {
|
|
6835
|
+
try {
|
|
6836
|
+
l.value = !0;
|
|
6837
|
+
const o = await t.createComment(
|
|
6838
|
+
e.project,
|
|
6839
|
+
e.topic,
|
|
6840
|
+
{ comment: s.value }
|
|
6841
|
+
);
|
|
6842
|
+
u(), r("comment-created", o), a.value = !1, s.value = "";
|
|
6843
|
+
} finally {
|
|
6844
|
+
l.value = !1;
|
|
6857
6845
|
}
|
|
6846
|
+
}, d = (o) => {
|
|
6847
|
+
u(), r("comment-updated", o);
|
|
6848
|
+
}, c = (o) => {
|
|
6849
|
+
u(), r("comment-deleted", o);
|
|
6850
|
+
};
|
|
6851
|
+
return S(
|
|
6852
|
+
() => e.topic,
|
|
6853
|
+
() => u(),
|
|
6854
|
+
{ immediate: !0 }
|
|
6855
|
+
), S(
|
|
6856
|
+
a,
|
|
6857
|
+
() => setTimeout(() => a.value && n.value.focus(), 50)
|
|
6858
|
+
), {
|
|
6859
|
+
comments: i,
|
|
6860
|
+
input: n,
|
|
6861
|
+
isOpen: a,
|
|
6862
|
+
loading: l,
|
|
6863
|
+
text: s,
|
|
6864
|
+
loadComments: u,
|
|
6865
|
+
onCommentDeleted: c,
|
|
6866
|
+
onCommentUpdated: d,
|
|
6867
|
+
submitComment: p
|
|
6858
6868
|
};
|
|
6859
6869
|
}
|
|
6860
6870
|
}, ee = {};
|
|
6861
|
-
var j4 = /* @__PURE__ */
|
|
6871
|
+
var j4 = /* @__PURE__ */ w(
|
|
6862
6872
|
N4,
|
|
6863
6873
|
P4,
|
|
6864
6874
|
A4,
|
|
6865
6875
|
!1,
|
|
6866
6876
|
U4,
|
|
6867
|
-
"
|
|
6877
|
+
"a68c86e0",
|
|
6868
6878
|
null,
|
|
6869
6879
|
null
|
|
6870
6880
|
);
|
|
@@ -7500,7 +7510,7 @@ const t7 = {
|
|
|
7500
7510
|
"view-topic-viewpoint"
|
|
7501
7511
|
],
|
|
7502
7512
|
setup(e) {
|
|
7503
|
-
const r =
|
|
7513
|
+
const r = x(
|
|
7504
7514
|
() => e.topic.viewpoints.filter((i) => i.snapshot).map((i) => {
|
|
7505
7515
|
var a;
|
|
7506
7516
|
return {
|
|
@@ -7510,7 +7520,7 @@ const t7 = {
|
|
|
7510
7520
|
})
|
|
7511
7521
|
);
|
|
7512
7522
|
return {
|
|
7513
|
-
statusColor:
|
|
7523
|
+
statusColor: x(
|
|
7514
7524
|
() => K1(e.topic, e.detailedExtensions)
|
|
7515
7525
|
),
|
|
7516
7526
|
viewpoints: r,
|
|
@@ -7518,7 +7528,7 @@ const t7 = {
|
|
|
7518
7528
|
};
|
|
7519
7529
|
}
|
|
7520
7530
|
}, ne = {};
|
|
7521
|
-
var r7 = /* @__PURE__ */
|
|
7531
|
+
var r7 = /* @__PURE__ */ w(
|
|
7522
7532
|
t7,
|
|
7523
7533
|
Q4,
|
|
7524
7534
|
e7,
|
|
@@ -7853,10 +7863,10 @@ const d7 = {
|
|
|
7853
7863
|
"view-topic-viewpoint"
|
|
7854
7864
|
],
|
|
7855
7865
|
setup(e, { emit: r }) {
|
|
7856
|
-
const t = e1(), i = L(!1), a = L(!1), l =
|
|
7866
|
+
const t = e1(), i = L(!1), a = L(!1), l = x(() => X(e.topic, e.detailedExtensions)), n = x(() => {
|
|
7857
7867
|
var p, d, c;
|
|
7858
7868
|
return ((c = (d = (p = e.topic.viewpoints) == null ? void 0 : p[0]) == null ? void 0 : d.components) == null ? void 0 : c.selection) || [];
|
|
7859
|
-
}), s =
|
|
7869
|
+
}), s = x(() => Array.from(e.topic.labels || []).sort());
|
|
7860
7870
|
return {
|
|
7861
7871
|
loading: i,
|
|
7862
7872
|
priorityColor: l,
|
|
@@ -7876,7 +7886,7 @@ const d7 = {
|
|
|
7876
7886
|
};
|
|
7877
7887
|
}
|
|
7878
7888
|
}, ae = {};
|
|
7879
|
-
var l7 = /* @__PURE__ */
|
|
7889
|
+
var l7 = /* @__PURE__ */ w(
|
|
7880
7890
|
d7,
|
|
7881
7891
|
a7,
|
|
7882
7892
|
o7,
|
|
@@ -8049,7 +8059,7 @@ const b7 = Q({ render: function() {
|
|
|
8049
8059
|
} }, methods: { getPixelSize() {
|
|
8050
8060
|
return this.customSize ? this.customSize : le[this.size];
|
|
8051
8061
|
} } }, "data-v-20c38c94", !1, void 0, !1, o1, 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"], setup(e, { emit: r }) {
|
|
8052
|
-
const t =
|
|
8062
|
+
const t = x(() => e.rows.map((d, c) => {
|
|
8053
8063
|
var o;
|
|
8054
8064
|
return { key: (o = d[e.rowKey]) != null ? o : c, data: d };
|
|
8055
8065
|
})), { rowSelection: i, toggleRowSelection: a, toggleFullSelection: l } = function(d, c, { rowSelectionUpdateEffect: o = () => {
|
|
@@ -8057,11 +8067,11 @@ const b7 = Q({ render: function() {
|
|
|
8057
8067
|
}, fullSelectionToggleEffect: g = () => {
|
|
8058
8068
|
} } = {}) {
|
|
8059
8069
|
const _ = L(/* @__PURE__ */ new Map());
|
|
8060
|
-
return
|
|
8070
|
+
return S(d, () => {
|
|
8061
8071
|
_.value = new Map(d.value.filter(({ key: H }) => c.value.has(H)).map(({ key: H, data: Z }) => [H, Z]));
|
|
8062
|
-
}, { immediate: !0 }),
|
|
8072
|
+
}, { immediate: !0 }), S(c, () => {
|
|
8063
8073
|
_.value = c.value;
|
|
8064
|
-
}, { immediate: !0 }),
|
|
8074
|
+
}, { immediate: !0 }), S(_, () => {
|
|
8065
8075
|
o(_.value);
|
|
8066
8076
|
}), { rowSelection: _, toggleRowSelection: ({ key: H, data: Z }) => {
|
|
8067
8077
|
const $ = () => _.value.has(H);
|
|
@@ -8070,16 +8080,16 @@ const b7 = Q({ render: function() {
|
|
|
8070
8080
|
const H = () => _.value.size === d.value.length;
|
|
8071
8081
|
H() ? _.value = /* @__PURE__ */ new Map() : _.value = new Map(d.value.map(({ key: Z, data: $ }) => [Z, $])), g(H());
|
|
8072
8082
|
} };
|
|
8073
|
-
}(t,
|
|
8083
|
+
}(t, x(() => e.selection), { rowSelectionUpdateEffect: (d) => {
|
|
8074
8084
|
r("update:selection", d), r("selection-changed", Array.from(d.values()));
|
|
8075
8085
|
}, rowSelectionToggleEffect: (d, { data: c }) => {
|
|
8076
8086
|
r(d ? "row-selected" : "row-deselected", c);
|
|
8077
8087
|
}, fullSelectionToggleEffect: (d) => {
|
|
8078
8088
|
r(d ? "all-selected" : "all-deselected");
|
|
8079
8089
|
} }), n = L([]), s = L(0), u = L(1), p = L(e.perPage);
|
|
8080
|
-
return
|
|
8090
|
+
return S([t, () => e.perPage], () => {
|
|
8081
8091
|
s.value = 0;
|
|
8082
|
-
}, { immediate: !0 }),
|
|
8092
|
+
}, { immediate: !0 }), S([t, () => e.paginated, () => e.perPage, s], ([d, c, o, b]) => {
|
|
8083
8093
|
const g = d.map((_) => _.key);
|
|
8084
8094
|
if (c) {
|
|
8085
8095
|
const _ = o * b, H = _ + o;
|
|
@@ -8129,7 +8139,7 @@ const L7 = {
|
|
|
8129
8139
|
"open-topic"
|
|
8130
8140
|
]
|
|
8131
8141
|
}, ce = {};
|
|
8132
|
-
var H7 = /* @__PURE__ */
|
|
8142
|
+
var H7 = /* @__PURE__ */ w(
|
|
8133
8143
|
L7,
|
|
8134
8144
|
_7,
|
|
8135
8145
|
m7,
|
|
@@ -8172,13 +8182,13 @@ const Z7 = {
|
|
|
8172
8182
|
},
|
|
8173
8183
|
setup(e) {
|
|
8174
8184
|
return {
|
|
8175
|
-
priorityColor:
|
|
8185
|
+
priorityColor: x(
|
|
8176
8186
|
() => X(e.topic, e.detailedExtensions)
|
|
8177
8187
|
)
|
|
8178
8188
|
};
|
|
8179
8189
|
}
|
|
8180
8190
|
}, ue = {};
|
|
8181
|
-
var w7 = /* @__PURE__ */
|
|
8191
|
+
var w7 = /* @__PURE__ */ w(
|
|
8182
8192
|
Z7,
|
|
8183
8193
|
M7,
|
|
8184
8194
|
x7,
|
|
@@ -8217,13 +8227,13 @@ const E7 = {
|
|
|
8217
8227
|
},
|
|
8218
8228
|
setup(e) {
|
|
8219
8229
|
return {
|
|
8220
|
-
priorityColor:
|
|
8230
|
+
priorityColor: x(
|
|
8221
8231
|
() => X(e.topic, e.detailedExtensions)
|
|
8222
8232
|
)
|
|
8223
8233
|
};
|
|
8224
8234
|
}
|
|
8225
8235
|
}, fe = {};
|
|
8226
|
-
var B7 = /* @__PURE__ */
|
|
8236
|
+
var B7 = /* @__PURE__ */ w(
|
|
8227
8237
|
E7,
|
|
8228
8238
|
F7,
|
|
8229
8239
|
D7,
|
|
@@ -8263,14 +8273,14 @@ const O7 = {
|
|
|
8263
8273
|
},
|
|
8264
8274
|
setup(e) {
|
|
8265
8275
|
return {
|
|
8266
|
-
statusColor:
|
|
8276
|
+
statusColor: x(
|
|
8267
8277
|
() => K1(e.topic, e.detailedExtensions)
|
|
8268
8278
|
),
|
|
8269
8279
|
adjustTextColor: d1
|
|
8270
8280
|
};
|
|
8271
8281
|
}
|
|
8272
8282
|
}, he = {};
|
|
8273
|
-
var z7 = /* @__PURE__ */
|
|
8283
|
+
var z7 = /* @__PURE__ */ w(
|
|
8274
8284
|
O7,
|
|
8275
8285
|
S7,
|
|
8276
8286
|
T7,
|
|
@@ -8444,7 +8454,7 @@ const U7 = {
|
|
|
8444
8454
|
],
|
|
8445
8455
|
setup(e) {
|
|
8446
8456
|
return {
|
|
8447
|
-
displayedColumns:
|
|
8457
|
+
displayedColumns: x(
|
|
8448
8458
|
() => e.columns && e.columns.length > 0 ? oe.filter((i) => e.columns.includes(i.id)) : oe
|
|
8449
8459
|
),
|
|
8450
8460
|
toShortDateFormat: (i) => {
|
|
@@ -8456,7 +8466,7 @@ const U7 = {
|
|
|
8456
8466
|
};
|
|
8457
8467
|
}
|
|
8458
8468
|
}, Ce = {};
|
|
8459
|
-
var q7 = /* @__PURE__ */
|
|
8469
|
+
var q7 = /* @__PURE__ */ w(
|
|
8460
8470
|
U7,
|
|
8461
8471
|
N7,
|
|
8462
8472
|
j7,
|