@26lights/orcha 0.21.3 → 0.22.0
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/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +489 -481
- package/dist/orcha.umd.js +1 -1
- package/dist/src/components/AoActivityDetails.vue.d.ts +5 -2
- package/dist/src/views/AoFeed.vue.d.ts +3 -1
- package/dist/src/views/AoProjectOverviewProject.vue.d.ts +4 -2
- package/dist/src/views/AoTemplateDetails.vue.d.ts +4 -2
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as K, openBlock as c, createBlock as R, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as
|
|
1
|
+
import { defineComponent as K, openBlock as c, createBlock as R, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as x, renderSlot as X, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as e1, createVNode as S, normalizeStyle as ca, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as a1, guardReactiveProps as s1, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
|
|
2
2
|
import { RouterView as ys } from "vue-router";
|
|
3
3
|
import Qe from "vuedraggable";
|
|
4
4
|
const o8 = /* @__PURE__ */ K({
|
|
@@ -617,23 +617,23 @@ function zl(a, e) {
|
|
|
617
617
|
const Wl = /* @__PURE__ */ P(jl, [["render", zl]]), Yl = K({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const I1 = (a) => (us("data-v-ad6da4a9"), a = a(), ds(), a), Kl = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
624
624
|
fill: "none",
|
|
625
625
|
xmlns: "http://www.w3.org/2000/svg"
|
|
626
|
-
}, Gl = /* @__PURE__ */
|
|
626
|
+
}, Gl = /* @__PURE__ */ I1(() => /* @__PURE__ */ f("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), xl = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), xl = /* @__PURE__ */ I1(() => /* @__PURE__ */ f("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), Xl = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), Xl = /* @__PURE__ */ I1(() => /* @__PURE__ */ f("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -843,7 +843,7 @@ const M2 = /* @__PURE__ */ P(g2, [["render", $2]]), k2 = {}, A2 = {
|
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
844
844
|
fill: "none",
|
|
845
845
|
xmlns: "http://www.w3.org/2000/svg"
|
|
846
|
-
}, T2 = /* @__PURE__ */
|
|
846
|
+
}, T2 = /* @__PURE__ */ cs('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), S2 = [
|
|
847
847
|
T2
|
|
848
848
|
];
|
|
849
849
|
function E2(a, e) {
|
|
@@ -1134,7 +1134,7 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1134
1134
|
SOLID: "solid",
|
|
1135
1135
|
GHOST: "ghost",
|
|
1136
1136
|
OUTLINE: "outline"
|
|
1137
|
-
},
|
|
1137
|
+
}, n1 = {
|
|
1138
1138
|
SM: "sm",
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
@@ -1143,14 +1143,14 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
1146
|
-
},
|
|
1146
|
+
}, va = {
|
|
1147
1147
|
ROUND: "round",
|
|
1148
1148
|
ROUNDED: "rounded"
|
|
1149
1149
|
}, ce = /* @__PURE__ */ K({
|
|
1150
1150
|
__name: "AoIcon",
|
|
1151
1151
|
props: {
|
|
1152
1152
|
name: {},
|
|
1153
|
-
size: { default:
|
|
1153
|
+
size: { default: n1.MD }
|
|
1154
1154
|
},
|
|
1155
1155
|
setup(a) {
|
|
1156
1156
|
const e = a, t = b(() => ld[e.name]);
|
|
@@ -1172,9 +1172,9 @@ const dd = ["type"], cd = {
|
|
|
1172
1172
|
type: { default: () => "button" },
|
|
1173
1173
|
color: {},
|
|
1174
1174
|
footer: { type: Boolean, default: () => !1 },
|
|
1175
|
-
size: { default: () =>
|
|
1175
|
+
size: { default: () => n1.MD },
|
|
1176
1176
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1177
|
-
corners: { default: () =>
|
|
1177
|
+
corners: { default: () => va.ROUNDED }
|
|
1178
1178
|
},
|
|
1179
1179
|
setup(a) {
|
|
1180
1180
|
const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -1203,7 +1203,7 @@ const dd = ["type"], cd = {
|
|
|
1203
1203
|
], 10, dd));
|
|
1204
1204
|
}
|
|
1205
1205
|
});
|
|
1206
|
-
function
|
|
1206
|
+
function pa(a) {
|
|
1207
1207
|
const e = J(!1), t = J(""), n = b(() => "value" in a.value ? "value" : "innerHTML"), s = () => {
|
|
1208
1208
|
e.value = !e.value;
|
|
1209
1209
|
}, o = (r) => {
|
|
@@ -1244,7 +1244,7 @@ const Ce = /* @__PURE__ */ K({
|
|
|
1244
1244
|
},
|
|
1245
1245
|
emits: ["update:title", "toggle-is-editing"],
|
|
1246
1246
|
setup(a, { emit: e }) {
|
|
1247
|
-
const t = a, n = J(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } =
|
|
1247
|
+
const t = a, n = J(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } = pa(n), r = b(() => s.value ? "input" : t.tag || `h${t.level}`), d = b(() => t.isEditable ? s.value ? {
|
|
1248
1248
|
change: u,
|
|
1249
1249
|
click: ($) => $.stopPropagation(),
|
|
1250
1250
|
blur: p
|
|
@@ -1284,7 +1284,7 @@ const Ce = /* @__PURE__ */ K({
|
|
|
1284
1284
|
value: q(s) ? $.title : null,
|
|
1285
1285
|
tabindex: "0",
|
|
1286
1286
|
onKeyup: Ye(C, ["enter"])
|
|
1287
|
-
},
|
|
1287
|
+
}, fs(d.value), {
|
|
1288
1288
|
onKeydown: Ye(q(v), ["esc"])
|
|
1289
1289
|
}), {
|
|
1290
1290
|
default: U(() => [
|
|
@@ -1315,7 +1315,7 @@ const fd = {
|
|
|
1315
1315
|
}, yd = {
|
|
1316
1316
|
key: 3,
|
|
1317
1317
|
class: "ao-card-horiz__secondary"
|
|
1318
|
-
},
|
|
1318
|
+
}, ha = /* @__PURE__ */ K({
|
|
1319
1319
|
__name: "AoCardHoriz",
|
|
1320
1320
|
props: {
|
|
1321
1321
|
id: {},
|
|
@@ -1337,21 +1337,21 @@ const fd = {
|
|
|
1337
1337
|
}, {
|
|
1338
1338
|
default: U(() => [
|
|
1339
1339
|
n.isDraggable ? (c(), m("div", fd, [
|
|
1340
|
-
|
|
1340
|
+
S(ce, {
|
|
1341
1341
|
name: "DragIndicator",
|
|
1342
1342
|
class: "ao-card-horiz__drag-handle"
|
|
1343
1343
|
})
|
|
1344
1344
|
])) : k("", !0),
|
|
1345
1345
|
f("div", vd, [
|
|
1346
1346
|
n.icon ? (c(), m("div", pd, [
|
|
1347
|
-
|
|
1347
|
+
S(ce, {
|
|
1348
1348
|
class: "ao-card-horiz__icon",
|
|
1349
1349
|
name: n.icon,
|
|
1350
1350
|
size: "xl"
|
|
1351
1351
|
}, null, 8, ["name"])
|
|
1352
1352
|
])) : k("", !0),
|
|
1353
1353
|
f("div", hd, [
|
|
1354
|
-
|
|
1354
|
+
S(Ce, {
|
|
1355
1355
|
id: n.id,
|
|
1356
1356
|
class: "ao-card-horiz__title",
|
|
1357
1357
|
level: 4,
|
|
@@ -1381,7 +1381,7 @@ const fd = {
|
|
|
1381
1381
|
}, 8, ["class"]));
|
|
1382
1382
|
}
|
|
1383
1383
|
});
|
|
1384
|
-
const
|
|
1384
|
+
const O1 = /* @__PURE__ */ K({
|
|
1385
1385
|
__name: "AoTag",
|
|
1386
1386
|
props: {
|
|
1387
1387
|
label: {},
|
|
@@ -1404,7 +1404,7 @@ const E1 = /* @__PURE__ */ K({
|
|
|
1404
1404
|
s.closable ? "ao-tag--closable" : "",
|
|
1405
1405
|
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1406
1406
|
]),
|
|
1407
|
-
style:
|
|
1407
|
+
style: ca(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1408
1408
|
}, [
|
|
1409
1409
|
(c(), R(Xe(t.value), Ee({ class: "ao-tag__label" }, n.value, {
|
|
1410
1410
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
@@ -1419,7 +1419,7 @@ const E1 = /* @__PURE__ */ K({
|
|
|
1419
1419
|
class: "ao-tag__close",
|
|
1420
1420
|
onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
|
|
1421
1421
|
}, [
|
|
1422
|
-
|
|
1422
|
+
S(ce, {
|
|
1423
1423
|
name: "CloseRounded",
|
|
1424
1424
|
size: "sm",
|
|
1425
1425
|
class: "ao-tag__close-icon"
|
|
@@ -1428,7 +1428,7 @@ const E1 = /* @__PURE__ */ K({
|
|
|
1428
1428
|
], 6));
|
|
1429
1429
|
}
|
|
1430
1430
|
});
|
|
1431
|
-
const
|
|
1431
|
+
const T1 = {
|
|
1432
1432
|
todo: "todo",
|
|
1433
1433
|
done: "done",
|
|
1434
1434
|
archived: "archived"
|
|
@@ -1498,18 +1498,18 @@ function kd(a, e) {
|
|
|
1498
1498
|
return new Date(t + n);
|
|
1499
1499
|
}
|
|
1500
1500
|
var Ad = {};
|
|
1501
|
-
function
|
|
1501
|
+
function i1() {
|
|
1502
1502
|
return Ad;
|
|
1503
1503
|
}
|
|
1504
1504
|
function Td(a) {
|
|
1505
1505
|
var e = new Date(Date.UTC(a.getFullYear(), a.getMonth(), a.getDate(), a.getHours(), a.getMinutes(), a.getSeconds(), a.getMilliseconds()));
|
|
1506
1506
|
return e.setUTCFullYear(a.getFullYear()), a.getTime() - e.getTime();
|
|
1507
1507
|
}
|
|
1508
|
-
var
|
|
1508
|
+
var ma = 6e4, Ca = 36e5;
|
|
1509
1509
|
function Sd(a) {
|
|
1510
1510
|
return ge(1, arguments), a instanceof Date || Yt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
|
|
1511
1511
|
}
|
|
1512
|
-
function
|
|
1512
|
+
function _a(a) {
|
|
1513
1513
|
if (ge(1, arguments), !Sd(a) && typeof a != "number")
|
|
1514
1514
|
return !1;
|
|
1515
1515
|
var e = Be(a);
|
|
@@ -1533,7 +1533,7 @@ function Kt(a) {
|
|
|
1533
1533
|
var e = 1, t = Be(a), n = t.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1534
1534
|
return t.setUTCDate(t.getUTCDate() - s), t.setUTCHours(0, 0, 0, 0), t;
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1536
|
+
function ga(a) {
|
|
1537
1537
|
ge(1, arguments);
|
|
1538
1538
|
var e = Be(a), t = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1539
1539
|
n.setUTCFullYear(t + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
@@ -1544,7 +1544,7 @@ function Ca(a) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
function Ld(a) {
|
|
1546
1546
|
ge(1, arguments);
|
|
1547
|
-
var e =
|
|
1547
|
+
var e = ga(a), t = /* @__PURE__ */ new Date(0);
|
|
1548
1548
|
t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
|
|
1549
1549
|
var n = Kt(t);
|
|
1550
1550
|
return n;
|
|
@@ -1558,16 +1558,16 @@ function Dd(a) {
|
|
|
1558
1558
|
function Gt(a, e) {
|
|
1559
1559
|
var t, n, s, o, i, l, r, d;
|
|
1560
1560
|
ge(1, arguments);
|
|
1561
|
-
var u =
|
|
1561
|
+
var u = i1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
|
|
1562
1562
|
if (!(v >= 0 && v <= 6))
|
|
1563
1563
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1564
1564
|
var p = Be(a), C = p.getUTCDay(), w = (C < v ? 7 : 0) + C - v;
|
|
1565
1565
|
return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1567
|
+
function ya(a, e) {
|
|
1568
1568
|
var t, n, s, o, i, l, r, d;
|
|
1569
1569
|
ge(1, arguments);
|
|
1570
|
-
var u = Be(a), v = u.getUTCFullYear(), p =
|
|
1570
|
+
var u = Be(a), v = u.getUTCFullYear(), p = i1(), C = Ke((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
1571
1571
|
if (!(C >= 1 && C <= 7))
|
|
1572
1572
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1573
1573
|
var w = /* @__PURE__ */ new Date(0);
|
|
@@ -1580,7 +1580,7 @@ function _a(a, e) {
|
|
|
1580
1580
|
function Hd(a, e) {
|
|
1581
1581
|
var t, n, s, o, i, l, r, d;
|
|
1582
1582
|
ge(1, arguments);
|
|
1583
|
-
var u =
|
|
1583
|
+
var u = i1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = ya(a, e), C = /* @__PURE__ */ new Date(0);
|
|
1584
1584
|
C.setUTCFullYear(p, 0, v), C.setUTCHours(0, 0, 0, 0);
|
|
1585
1585
|
var w = Gt(C, e);
|
|
1586
1586
|
return w;
|
|
@@ -1693,7 +1693,7 @@ var ct = {
|
|
|
1693
1693
|
},
|
|
1694
1694
|
// Local week-numbering year
|
|
1695
1695
|
Y: function(e, t, n, s) {
|
|
1696
|
-
var o =
|
|
1696
|
+
var o = ya(e, s), i = o > 0 ? o : 1 - o;
|
|
1697
1697
|
if (t === "YY") {
|
|
1698
1698
|
var l = i % 100;
|
|
1699
1699
|
return le(l, 2);
|
|
@@ -1704,7 +1704,7 @@ var ct = {
|
|
|
1704
1704
|
},
|
|
1705
1705
|
// ISO week-numbering year
|
|
1706
1706
|
R: function(e, t) {
|
|
1707
|
-
var n =
|
|
1707
|
+
var n = ga(e);
|
|
1708
1708
|
return le(n, t.length);
|
|
1709
1709
|
},
|
|
1710
1710
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2133,7 +2133,7 @@ var ct = {
|
|
|
2133
2133
|
return "Z";
|
|
2134
2134
|
switch (t) {
|
|
2135
2135
|
case "X":
|
|
2136
|
-
return
|
|
2136
|
+
return ea(i);
|
|
2137
2137
|
case "XXXX":
|
|
2138
2138
|
case "XX":
|
|
2139
2139
|
return et(i);
|
|
@@ -2148,7 +2148,7 @@ var ct = {
|
|
|
2148
2148
|
var o = s._originalDate || e, i = o.getTimezoneOffset();
|
|
2149
2149
|
switch (t) {
|
|
2150
2150
|
case "x":
|
|
2151
|
-
return
|
|
2151
|
+
return ea(i);
|
|
2152
2152
|
case "xxxx":
|
|
2153
2153
|
case "xx":
|
|
2154
2154
|
return et(i);
|
|
@@ -2165,7 +2165,7 @@ var ct = {
|
|
|
2165
2165
|
case "O":
|
|
2166
2166
|
case "OO":
|
|
2167
2167
|
case "OOO":
|
|
2168
|
-
return "GMT" +
|
|
2168
|
+
return "GMT" + J1(i, ":");
|
|
2169
2169
|
case "OOOO":
|
|
2170
2170
|
default:
|
|
2171
2171
|
return "GMT" + et(i, ":");
|
|
@@ -2178,7 +2178,7 @@ var ct = {
|
|
|
2178
2178
|
case "z":
|
|
2179
2179
|
case "zz":
|
|
2180
2180
|
case "zzz":
|
|
2181
|
-
return "GMT" +
|
|
2181
|
+
return "GMT" + J1(i, ":");
|
|
2182
2182
|
case "zzzz":
|
|
2183
2183
|
default:
|
|
2184
2184
|
return "GMT" + et(i, ":");
|
|
@@ -2195,14 +2195,14 @@ var ct = {
|
|
|
2195
2195
|
return le(i, t.length);
|
|
2196
2196
|
}
|
|
2197
2197
|
};
|
|
2198
|
-
function
|
|
2198
|
+
function J1(a, e) {
|
|
2199
2199
|
var t = a > 0 ? "-" : "+", n = Math.abs(a), s = Math.floor(n / 60), o = n % 60;
|
|
2200
2200
|
if (o === 0)
|
|
2201
2201
|
return t + String(s);
|
|
2202
2202
|
var i = e || "";
|
|
2203
2203
|
return t + String(s) + i + le(o, 2);
|
|
2204
2204
|
}
|
|
2205
|
-
function
|
|
2205
|
+
function ea(a, e) {
|
|
2206
2206
|
if (a % 60 === 0) {
|
|
2207
2207
|
var t = a > 0 ? "-" : "+";
|
|
2208
2208
|
return t + le(Math.abs(a) / 60, 2);
|
|
@@ -2214,7 +2214,7 @@ function et(a, e) {
|
|
|
2214
2214
|
return n + o + t + i;
|
|
2215
2215
|
}
|
|
2216
2216
|
const Ud = Rd;
|
|
2217
|
-
var
|
|
2217
|
+
var ta = function(e, t) {
|
|
2218
2218
|
switch (e) {
|
|
2219
2219
|
case "P":
|
|
2220
2220
|
return t.date({
|
|
@@ -2234,7 +2234,7 @@ var J1 = function(e, t) {
|
|
|
2234
2234
|
width: "full"
|
|
2235
2235
|
});
|
|
2236
2236
|
}
|
|
2237
|
-
},
|
|
2237
|
+
}, ba = function(e, t) {
|
|
2238
2238
|
switch (e) {
|
|
2239
2239
|
case "p":
|
|
2240
2240
|
return t.time({
|
|
@@ -2257,7 +2257,7 @@ var J1 = function(e, t) {
|
|
|
2257
2257
|
}, jd = function(e, t) {
|
|
2258
2258
|
var n = e.match(/(P+)(p+)?/) || [], s = n[1], o = n[2];
|
|
2259
2259
|
if (!o)
|
|
2260
|
-
return
|
|
2260
|
+
return ta(e, t);
|
|
2261
2261
|
var i;
|
|
2262
2262
|
switch (s) {
|
|
2263
2263
|
case "P":
|
|
@@ -2282,9 +2282,9 @@ var J1 = function(e, t) {
|
|
|
2282
2282
|
});
|
|
2283
2283
|
break;
|
|
2284
2284
|
}
|
|
2285
|
-
return i.replace("{{date}}",
|
|
2285
|
+
return i.replace("{{date}}", ta(s, t)).replace("{{time}}", ba(o, t));
|
|
2286
2286
|
}, Zd = {
|
|
2287
|
-
p:
|
|
2287
|
+
p: ba,
|
|
2288
2288
|
P: jd
|
|
2289
2289
|
};
|
|
2290
2290
|
const Fd = Zd;
|
|
@@ -2295,7 +2295,7 @@ function Wd(a) {
|
|
|
2295
2295
|
function Yd(a) {
|
|
2296
2296
|
return zd.indexOf(a) !== -1;
|
|
2297
2297
|
}
|
|
2298
|
-
function
|
|
2298
|
+
function aa(a, e, t) {
|
|
2299
2299
|
if (a === "YYYY")
|
|
2300
2300
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
2301
2301
|
if (a === "YY")
|
|
@@ -2372,7 +2372,7 @@ var Kd = {
|
|
|
2372
2372
|
return typeof o == "string" ? s = o : t === 1 ? s = o.one : s = o.other.replace("{{count}}", t.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
|
|
2373
2373
|
};
|
|
2374
2374
|
const xd = Gd;
|
|
2375
|
-
function
|
|
2375
|
+
function $1(a) {
|
|
2376
2376
|
return function() {
|
|
2377
2377
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.width ? String(e.width) : a.defaultWidth, n = a.formats[t] || a.formats[a.defaultWidth];
|
|
2378
2378
|
return n;
|
|
@@ -2394,15 +2394,15 @@ var Xd = {
|
|
|
2394
2394
|
medium: "{{date}}, {{time}}",
|
|
2395
2395
|
short: "{{date}}, {{time}}"
|
|
2396
2396
|
}, ec = {
|
|
2397
|
-
date:
|
|
2397
|
+
date: $1({
|
|
2398
2398
|
formats: Xd,
|
|
2399
2399
|
defaultWidth: "full"
|
|
2400
2400
|
}),
|
|
2401
|
-
time:
|
|
2401
|
+
time: $1({
|
|
2402
2402
|
formats: Qd,
|
|
2403
2403
|
defaultWidth: "full"
|
|
2404
2404
|
}),
|
|
2405
|
-
dateTime:
|
|
2405
|
+
dateTime: $1({
|
|
2406
2406
|
formats: Jd,
|
|
2407
2407
|
defaultWidth: "full"
|
|
2408
2408
|
})
|
|
@@ -2699,7 +2699,7 @@ var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|
|
|
|
2699
2699
|
function Nc(a, e, t) {
|
|
2700
2700
|
var n, s, o, i, l, r, d, u, v, p, C, w, $, A, g, y, L, j;
|
|
2701
2701
|
ge(2, arguments);
|
|
2702
|
-
var W = String(e), H =
|
|
2702
|
+
var W = String(e), H = i1(), G = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = H.locale) === null || v === void 0 || (p = v.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2703
2703
|
if (!(te >= 1 && te <= 7))
|
|
2704
2704
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2705
2705
|
var E = Ke((C = (w = ($ = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (g = t.locale) === null || g === void 0 || (y = g.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && $ !== void 0 ? $ : H.weekStartsOn) !== null && w !== void 0 ? w : (L = H.locale) === null || L === void 0 || (j = L.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && C !== void 0 ? C : 0);
|
|
@@ -2710,7 +2710,7 @@ function Nc(a, e, t) {
|
|
|
2710
2710
|
if (!G.formatLong)
|
|
2711
2711
|
throw new RangeError("locale must contain formatLong property");
|
|
2712
2712
|
var ee = Be(a);
|
|
2713
|
-
if (!
|
|
2713
|
+
if (!_a(ee))
|
|
2714
2714
|
throw new RangeError("Invalid time value");
|
|
2715
2715
|
var de = Td(ee), h = Ed(ee, de), O = {
|
|
2716
2716
|
firstWeekContainsDate: te,
|
|
@@ -2732,7 +2732,7 @@ function Nc(a, e, t) {
|
|
|
2732
2732
|
return Rc(ae);
|
|
2733
2733
|
var oe = Ud[re];
|
|
2734
2734
|
if (oe)
|
|
2735
|
-
return !(t != null && t.useAdditionalWeekYearTokens) && Yd(ae) &&
|
|
2735
|
+
return !(t != null && t.useAdditionalWeekYearTokens) && Yd(ae) && aa(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Wd(ae) && aa(ae, e, String(a)), oe(h, ae, G.localize, O);
|
|
2736
2736
|
if (re.match(Bc))
|
|
2737
2737
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
|
|
2738
2738
|
return ae;
|
|
@@ -2817,10 +2817,10 @@ function Yc(a) {
|
|
|
2817
2817
|
var e = a.match(Zc);
|
|
2818
2818
|
if (!e)
|
|
2819
2819
|
return NaN;
|
|
2820
|
-
var t =
|
|
2821
|
-
return e0(t, n, s) ? t *
|
|
2820
|
+
var t = M1(e[1]), n = M1(e[2]), s = M1(e[3]);
|
|
2821
|
+
return e0(t, n, s) ? t * Ca + n * ma + s * 1e3 : NaN;
|
|
2822
2822
|
}
|
|
2823
|
-
function
|
|
2823
|
+
function M1(a) {
|
|
2824
2824
|
return a && parseFloat(a.replace(",", ".")) || 0;
|
|
2825
2825
|
}
|
|
2826
2826
|
function Kc(a) {
|
|
@@ -2830,7 +2830,7 @@ function Kc(a) {
|
|
|
2830
2830
|
if (!e)
|
|
2831
2831
|
return 0;
|
|
2832
2832
|
var t = e[1] === "+" ? -1 : 1, n = parseInt(e[2]), s = e[3] && parseInt(e[3]) || 0;
|
|
2833
|
-
return t0(n, s) ? t * (n *
|
|
2833
|
+
return t0(n, s) ? t * (n * Ca + s * ma) : NaN;
|
|
2834
2834
|
}
|
|
2835
2835
|
function Gc(a, e, t) {
|
|
2836
2836
|
var n = /* @__PURE__ */ new Date(0);
|
|
@@ -2839,14 +2839,14 @@ function Gc(a, e, t) {
|
|
|
2839
2839
|
return n.setUTCDate(n.getUTCDate() + o), n;
|
|
2840
2840
|
}
|
|
2841
2841
|
var xc = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2842
|
-
function
|
|
2842
|
+
function wa(a) {
|
|
2843
2843
|
return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
|
|
2844
2844
|
}
|
|
2845
2845
|
function Xc(a, e, t) {
|
|
2846
|
-
return e >= 0 && e <= 11 && t >= 1 && t <= (xc[e] || (
|
|
2846
|
+
return e >= 0 && e <= 11 && t >= 1 && t <= (xc[e] || (wa(a) ? 29 : 28));
|
|
2847
2847
|
}
|
|
2848
2848
|
function Qc(a, e) {
|
|
2849
|
-
return e >= 1 && e <= (
|
|
2849
|
+
return e >= 1 && e <= (wa(a) ? 366 : 365);
|
|
2850
2850
|
}
|
|
2851
2851
|
function Jc(a, e, t) {
|
|
2852
2852
|
return e >= 1 && e <= 53 && t >= 0 && t <= 6;
|
|
@@ -2857,10 +2857,10 @@ function e0(a, e, t) {
|
|
|
2857
2857
|
function t0(a, e) {
|
|
2858
2858
|
return e >= 0 && e <= 59;
|
|
2859
2859
|
}
|
|
2860
|
-
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {},
|
|
2861
|
-
Object.defineProperty(
|
|
2862
|
-
|
|
2863
|
-
|
|
2860
|
+
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {}, At = {}, Ht = {}, _t = {}, o1 = {};
|
|
2861
|
+
Object.defineProperty(o1, "__esModule", { value: !0 });
|
|
2862
|
+
o1.lexoHelper = void 0;
|
|
2863
|
+
o1.lexoHelper = {
|
|
2864
2864
|
arrayCopy: a0
|
|
2865
2865
|
};
|
|
2866
2866
|
function a0(a, e, t, n, s) {
|
|
@@ -2897,7 +2897,7 @@ class s0 {
|
|
|
2897
2897
|
Pt.default = s0;
|
|
2898
2898
|
Object.defineProperty(_t, "__esModule", { value: !0 });
|
|
2899
2899
|
_t.LexoInteger = void 0;
|
|
2900
|
-
const qt =
|
|
2900
|
+
const qt = o1, n0 = Pt;
|
|
2901
2901
|
class Q {
|
|
2902
2902
|
constructor(e, t, n) {
|
|
2903
2903
|
this.sys = e, this.sign = t, this.mag = n;
|
|
@@ -3204,12 +3204,12 @@ class ke {
|
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
3206
|
Ht.LexoDecimal = ke;
|
|
3207
|
-
var zt = {},
|
|
3208
|
-
function
|
|
3209
|
-
if (
|
|
3207
|
+
var zt = {}, sa;
|
|
3208
|
+
function Ma() {
|
|
3209
|
+
if (sa)
|
|
3210
3210
|
return zt;
|
|
3211
|
-
|
|
3212
|
-
const a = _t, e =
|
|
3211
|
+
sa = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
|
|
3212
|
+
const a = _t, e = Aa();
|
|
3213
3213
|
class t {
|
|
3214
3214
|
constructor(s) {
|
|
3215
3215
|
this.value = a.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3262,11 +3262,11 @@ function wa() {
|
|
|
3262
3262
|
}
|
|
3263
3263
|
return zt.default = t, zt;
|
|
3264
3264
|
}
|
|
3265
|
-
var
|
|
3266
|
-
Object.defineProperty(
|
|
3267
|
-
var
|
|
3268
|
-
Object.defineProperty(
|
|
3269
|
-
|
|
3265
|
+
var L1 = {}, ka = {};
|
|
3266
|
+
Object.defineProperty(ka, "__esModule", { value: !0 });
|
|
3267
|
+
var l1 = {};
|
|
3268
|
+
Object.defineProperty(l1, "__esModule", { value: !0 });
|
|
3269
|
+
l1.LexoNumeralSystem10 = void 0;
|
|
3270
3270
|
class o0 {
|
|
3271
3271
|
getBase() {
|
|
3272
3272
|
return 10;
|
|
@@ -3289,10 +3289,10 @@ class o0 {
|
|
|
3289
3289
|
return String.fromCharCode(e + 48);
|
|
3290
3290
|
}
|
|
3291
3291
|
}
|
|
3292
|
-
|
|
3293
|
-
var
|
|
3294
|
-
Object.defineProperty(
|
|
3295
|
-
|
|
3292
|
+
l1.LexoNumeralSystem10 = o0;
|
|
3293
|
+
var r1 = {};
|
|
3294
|
+
Object.defineProperty(r1, "__esModule", { value: !0 });
|
|
3295
|
+
r1.LexoNumeralSystem36 = void 0;
|
|
3296
3296
|
class l0 {
|
|
3297
3297
|
constructor() {
|
|
3298
3298
|
this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3320,10 +3320,10 @@ class l0 {
|
|
|
3320
3320
|
return this.DIGITS[e];
|
|
3321
3321
|
}
|
|
3322
3322
|
}
|
|
3323
|
-
|
|
3324
|
-
var
|
|
3325
|
-
Object.defineProperty(
|
|
3326
|
-
|
|
3323
|
+
r1.LexoNumeralSystem36 = l0;
|
|
3324
|
+
var u1 = {};
|
|
3325
|
+
Object.defineProperty(u1, "__esModule", { value: !0 });
|
|
3326
|
+
u1.LexoNumeralSystem64 = void 0;
|
|
3327
3327
|
class r0 {
|
|
3328
3328
|
constructor() {
|
|
3329
3329
|
this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3357,7 +3357,7 @@ class r0 {
|
|
|
3357
3357
|
return this.DIGITS[e];
|
|
3358
3358
|
}
|
|
3359
3359
|
}
|
|
3360
|
-
|
|
3360
|
+
u1.LexoNumeralSystem64 = r0;
|
|
3361
3361
|
(function(a) {
|
|
3362
3362
|
var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
3363
3363
|
i === void 0 && (i = o);
|
|
@@ -3371,14 +3371,14 @@ l1.LexoNumeralSystem64 = r0;
|
|
|
3371
3371
|
for (var o in n)
|
|
3372
3372
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3373
3373
|
};
|
|
3374
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(
|
|
3375
|
-
})(
|
|
3376
|
-
var
|
|
3377
|
-
function
|
|
3378
|
-
if (
|
|
3374
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(ka, a), t(l1, a), t(r1, a), t(u1, a);
|
|
3375
|
+
})(L1);
|
|
3376
|
+
var na;
|
|
3377
|
+
function Aa() {
|
|
3378
|
+
if (na)
|
|
3379
3379
|
return At;
|
|
3380
|
-
|
|
3381
|
-
const a = Ht, e =
|
|
3380
|
+
na = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.LexoRank = void 0;
|
|
3381
|
+
const a = Ht, e = Ma(), t = Pt, n = L1;
|
|
3382
3382
|
class s {
|
|
3383
3383
|
constructor(i, l) {
|
|
3384
3384
|
this.value = i.format() + "|" + s.formatDecimal(l), this.bucket = i, this.decimal = l;
|
|
@@ -3564,8 +3564,8 @@ function Ma() {
|
|
|
3564
3564
|
for (var o in n)
|
|
3565
3565
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3566
3566
|
};
|
|
3567
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(
|
|
3568
|
-
})(
|
|
3567
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(Aa(), a), t(Ma(), a), t(Ht, a), t(_t, a);
|
|
3568
|
+
})($a);
|
|
3569
3569
|
(function(a) {
|
|
3570
3570
|
var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
3571
3571
|
i === void 0 && (i = o);
|
|
@@ -3579,9 +3579,9 @@ function Ma() {
|
|
|
3579
3579
|
for (var o in n)
|
|
3580
3580
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3581
3581
|
};
|
|
3582
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(
|
|
3582
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t($a, a), t(L1, a);
|
|
3583
3583
|
})(Te);
|
|
3584
|
-
function
|
|
3584
|
+
function Ta(a) {
|
|
3585
3585
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3586
3586
|
var n;
|
|
3587
3587
|
return e + (((n = t.activities) == null ? void 0 : n.length) ?? 0);
|
|
@@ -3596,7 +3596,7 @@ function u0(a) {
|
|
|
3596
3596
|
function d0(a) {
|
|
3597
3597
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3598
3598
|
var s;
|
|
3599
|
-
const n = (s = t.milestones) != null && s.length ?
|
|
3599
|
+
const n = (s = t.milestones) != null && s.length ? Ta(t.milestones) : 0;
|
|
3600
3600
|
return e + n;
|
|
3601
3601
|
}, 0)) ?? 0;
|
|
3602
3602
|
}
|
|
@@ -3621,22 +3621,22 @@ function Ot(a, e, t) {
|
|
|
3621
3621
|
}
|
|
3622
3622
|
return !s && o ? Te.LexoRank.parse(o.rank).genPrev().format() : s && !o ? Te.LexoRank.parse(s.rank).genNext().format() : s && o ? Te.LexoRank.parse(o.rank).between(Te.LexoRank.parse(s.rank)).format() : Te.LexoRank.parse(n.rank).genNext().format();
|
|
3623
3623
|
}
|
|
3624
|
-
function
|
|
3624
|
+
function S1(a, e = "dd/MM/yyyy") {
|
|
3625
3625
|
if (!a)
|
|
3626
3626
|
return "";
|
|
3627
3627
|
const t = Uc(a);
|
|
3628
|
-
return
|
|
3628
|
+
return _a(t) ? Nc(t, e) : "";
|
|
3629
3629
|
}
|
|
3630
|
-
function
|
|
3630
|
+
function Sa(a, e) {
|
|
3631
3631
|
return a.status.id === e.id;
|
|
3632
3632
|
}
|
|
3633
3633
|
function f0(a, e) {
|
|
3634
|
-
return a.activities.length === 0 ? !1 : !a.activities.some((t) => !
|
|
3634
|
+
return a.activities.length === 0 ? !1 : !a.activities.some((t) => !Sa(t, e));
|
|
3635
3635
|
}
|
|
3636
3636
|
function v0(a, e) {
|
|
3637
3637
|
return {
|
|
3638
3638
|
...a,
|
|
3639
|
-
status: f0(a, e) ?
|
|
3639
|
+
status: f0(a, e) ? T1.done : T1.todo
|
|
3640
3640
|
};
|
|
3641
3641
|
}
|
|
3642
3642
|
const p0 = ["title"], h0 = {
|
|
@@ -3648,7 +3648,7 @@ const p0 = ["title"], h0 = {
|
|
|
3648
3648
|
userName: {},
|
|
3649
3649
|
avatarUrl: {},
|
|
3650
3650
|
isClosable: { type: Boolean },
|
|
3651
|
-
size: { default:
|
|
3651
|
+
size: { default: n1.MD }
|
|
3652
3652
|
},
|
|
3653
3653
|
emits: ["close"],
|
|
3654
3654
|
setup(a, { emit: e }) {
|
|
@@ -3702,7 +3702,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3702
3702
|
const t = (n) => {
|
|
3703
3703
|
e("updateTitle", n);
|
|
3704
3704
|
};
|
|
3705
|
-
return (n, s) => (c(), R(
|
|
3705
|
+
return (n, s) => (c(), R(ha, {
|
|
3706
3706
|
id: n.id,
|
|
3707
3707
|
title: n.title,
|
|
3708
3708
|
"is-draggable": !0,
|
|
@@ -3711,14 +3711,14 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3711
3711
|
subtitle: U(() => [
|
|
3712
3712
|
f("ul", C0, [
|
|
3713
3713
|
f("li", _0, [
|
|
3714
|
-
|
|
3714
|
+
S(ce, {
|
|
3715
3715
|
name: "MountainFlagOutlineRounded",
|
|
3716
3716
|
size: "sm"
|
|
3717
3717
|
}),
|
|
3718
3718
|
f("span", g0, Z(n.milestones), 1)
|
|
3719
3719
|
]),
|
|
3720
3720
|
f("li", y0, [
|
|
3721
|
-
|
|
3721
|
+
S(ce, {
|
|
3722
3722
|
name: "TaskOutlineRounded",
|
|
3723
3723
|
size: "sm"
|
|
3724
3724
|
}),
|
|
@@ -3730,14 +3730,14 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3730
3730
|
f("div", w0, [
|
|
3731
3731
|
f("div", $0, [
|
|
3732
3732
|
f("div", M0, [
|
|
3733
|
-
|
|
3733
|
+
S(ce, {
|
|
3734
3734
|
name: "WaterfallChartRounded",
|
|
3735
3735
|
size: "sm"
|
|
3736
3736
|
}),
|
|
3737
3737
|
f("span", k0, Z(n.$t("template.phases.title")), 1)
|
|
3738
3738
|
]),
|
|
3739
3739
|
n.phases ? (c(), m("ul", A0, [
|
|
3740
|
-
(c(!0), m(ve, null, ye(n.phases, (o) => (c(), R(
|
|
3740
|
+
(c(!0), m(ve, null, ye(n.phases, (o) => (c(), R(O1, {
|
|
3741
3741
|
key: o.id,
|
|
3742
3742
|
label: o.name || o.id,
|
|
3743
3743
|
color: "primary",
|
|
@@ -3766,7 +3766,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3766
3766
|
f("span", D0, Z(n.$t("template.updatedBy.label")), 1)
|
|
3767
3767
|
]),
|
|
3768
3768
|
f("div", H0, [
|
|
3769
|
-
|
|
3769
|
+
S(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
3770
3770
|
])
|
|
3771
3771
|
])) : k("", !0)
|
|
3772
3772
|
])
|
|
@@ -3779,7 +3779,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3779
3779
|
const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R0 = {
|
|
3780
3780
|
key: 0,
|
|
3781
3781
|
class: "ao-page-header-secondary"
|
|
3782
|
-
},
|
|
3782
|
+
}, d1 = /* @__PURE__ */ K({
|
|
3783
3783
|
__name: "AoPageHeader",
|
|
3784
3784
|
props: {
|
|
3785
3785
|
canGoBack: { type: Boolean }
|
|
@@ -3813,9 +3813,9 @@ const U0 = ["type"], j0 = {
|
|
|
3813
3813
|
iconPosition: {},
|
|
3814
3814
|
type: { default: () => "button" },
|
|
3815
3815
|
color: { default: () => ud.BLACK },
|
|
3816
|
-
size: { default: () =>
|
|
3816
|
+
size: { default: () => n1.MD },
|
|
3817
3817
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3818
|
-
corners: { default: () =>
|
|
3818
|
+
corners: { default: () => va.ROUNDED }
|
|
3819
3819
|
},
|
|
3820
3820
|
setup(a) {
|
|
3821
3821
|
const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3843,7 +3843,7 @@ const U0 = ["type"], j0 = {
|
|
|
3843
3843
|
const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
|
|
3844
3844
|
key: 0,
|
|
3845
3845
|
class: "ao-card-template-item__subitem"
|
|
3846
|
-
}, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" },
|
|
3846
|
+
}, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" }, V1 = /* @__PURE__ */ K({
|
|
3847
3847
|
__name: "AoCardTemplateItem",
|
|
3848
3848
|
props: {
|
|
3849
3849
|
milestones: {},
|
|
@@ -3863,12 +3863,12 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
|
|
|
3863
3863
|
}, o = () => {
|
|
3864
3864
|
e("remove");
|
|
3865
3865
|
};
|
|
3866
|
-
return (i, l) => (c(), R(
|
|
3866
|
+
return (i, l) => (c(), R(ha, { "onUpdate:title": t }, {
|
|
3867
3867
|
footer: U(() => [
|
|
3868
3868
|
f("ul", Z0, [
|
|
3869
3869
|
(c(), m(ve, null, ye(n, (r) => (c(), m(ve, { key: r }, [
|
|
3870
3870
|
i.$props[r] ? (c(), m("li", F0, [
|
|
3871
|
-
|
|
3871
|
+
S(ce, {
|
|
3872
3872
|
name: s[r],
|
|
3873
3873
|
size: "sm"
|
|
3874
3874
|
}, null, 8, ["name"]),
|
|
@@ -3879,7 +3879,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
|
|
|
3879
3879
|
]),
|
|
3880
3880
|
secondary: U(() => [
|
|
3881
3881
|
f("div", z0, [
|
|
3882
|
-
|
|
3882
|
+
S(fe, {
|
|
3883
3883
|
"icon-name": "DeleteOutlineRounded",
|
|
3884
3884
|
variant: "ghost",
|
|
3885
3885
|
size: "md",
|
|
@@ -3903,8 +3903,8 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3903
3903
|
const e = a, t = b(() => {
|
|
3904
3904
|
var s;
|
|
3905
3905
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3906
|
-
}), n = b(() => e.milestones ?
|
|
3907
|
-
return (s, o) => (c(), R(
|
|
3906
|
+
}), n = b(() => e.milestones ? Ta(e.milestones) : 0);
|
|
3907
|
+
return (s, o) => (c(), R(V1, Ee({
|
|
3908
3908
|
id: s.id,
|
|
3909
3909
|
title: s.name,
|
|
3910
3910
|
activities: n.value,
|
|
@@ -3926,7 +3926,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3926
3926
|
var n;
|
|
3927
3927
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3928
3928
|
});
|
|
3929
|
-
return (n, s) => (c(), R(
|
|
3929
|
+
return (n, s) => (c(), R(V1, { activities: t.value }, {
|
|
3930
3930
|
default: U(() => [
|
|
3931
3931
|
X(n.$slots, "default")
|
|
3932
3932
|
]),
|
|
@@ -3967,7 +3967,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3967
3967
|
onChange: i
|
|
3968
3968
|
}, {
|
|
3969
3969
|
header: U(() => [
|
|
3970
|
-
|
|
3970
|
+
S(Ce, {
|
|
3971
3971
|
title: "Milestones",
|
|
3972
3972
|
level: 3,
|
|
3973
3973
|
class: "ao-list__title"
|
|
@@ -3992,7 +3992,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3992
3992
|
]),
|
|
3993
3993
|
footer: U(() => [
|
|
3994
3994
|
f("div", K0, [
|
|
3995
|
-
|
|
3995
|
+
S(Je, {
|
|
3996
3996
|
"icon-name": "AddBoxOutlineRounded",
|
|
3997
3997
|
label: l.$t("template.milestones.add"),
|
|
3998
3998
|
onClick: n
|
|
@@ -4013,7 +4013,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4013
4013
|
var n;
|
|
4014
4014
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4015
4015
|
});
|
|
4016
|
-
return (n, s) => (c(), R(
|
|
4016
|
+
return (n, s) => (c(), R(V1, { tasks: t.value }, {
|
|
4017
4017
|
default: U(() => [
|
|
4018
4018
|
X(n.$slots, "default")
|
|
4019
4019
|
]),
|
|
@@ -4057,7 +4057,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4057
4057
|
onChange: i
|
|
4058
4058
|
}, {
|
|
4059
4059
|
header: U(() => [
|
|
4060
|
-
|
|
4060
|
+
S(Ce, {
|
|
4061
4061
|
title: "Activities",
|
|
4062
4062
|
level: 3,
|
|
4063
4063
|
class: "ao-list__title"
|
|
@@ -4078,7 +4078,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4078
4078
|
]),
|
|
4079
4079
|
footer: U(() => [
|
|
4080
4080
|
f("div", X0, [
|
|
4081
|
-
|
|
4081
|
+
S(Je, {
|
|
4082
4082
|
"icon-name": "AddBoxOutlineRounded",
|
|
4083
4083
|
label: l.$t("template.activities.add"),
|
|
4084
4084
|
onClick: n
|
|
@@ -4094,7 +4094,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4094
4094
|
}, s3 = { class: "ao-modal__body" }, n3 = {
|
|
4095
4095
|
key: 0,
|
|
4096
4096
|
class: "ao-modal__footer"
|
|
4097
|
-
},
|
|
4097
|
+
}, D1 = /* @__PURE__ */ K({
|
|
4098
4098
|
__name: "AoModal",
|
|
4099
4099
|
props: {
|
|
4100
4100
|
size: { default: "md" }
|
|
@@ -4111,7 +4111,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4111
4111
|
f("div", J0, [
|
|
4112
4112
|
f("div", e3, [
|
|
4113
4113
|
f("div", t3, [
|
|
4114
|
-
|
|
4114
|
+
S(fe, {
|
|
4115
4115
|
"icon-name": "CloseRounded",
|
|
4116
4116
|
variant: "ghost",
|
|
4117
4117
|
color: "primary",
|
|
@@ -4144,38 +4144,38 @@ const Lt = Math.min, Ae = Math.max, xt = Math.round, Wt = Math.floor, Ge = (a) =
|
|
|
4144
4144
|
start: "end",
|
|
4145
4145
|
end: "start"
|
|
4146
4146
|
};
|
|
4147
|
-
function
|
|
4147
|
+
function H1(a, e) {
|
|
4148
4148
|
return typeof a == "function" ? a(e) : a;
|
|
4149
4149
|
}
|
|
4150
4150
|
function mt(a) {
|
|
4151
4151
|
return a.split("-")[0];
|
|
4152
4152
|
}
|
|
4153
|
-
function
|
|
4153
|
+
function c1(a) {
|
|
4154
4154
|
return a.split("-")[1];
|
|
4155
4155
|
}
|
|
4156
4156
|
function l3(a) {
|
|
4157
4157
|
return a === "x" ? "y" : "x";
|
|
4158
4158
|
}
|
|
4159
|
-
function
|
|
4159
|
+
function Ea(a) {
|
|
4160
4160
|
return a === "y" ? "height" : "width";
|
|
4161
4161
|
}
|
|
4162
|
-
function
|
|
4162
|
+
function P1(a) {
|
|
4163
4163
|
return ["top", "bottom"].includes(mt(a)) ? "y" : "x";
|
|
4164
4164
|
}
|
|
4165
|
-
function
|
|
4166
|
-
return l3(
|
|
4165
|
+
function Ia(a) {
|
|
4166
|
+
return l3(P1(a));
|
|
4167
4167
|
}
|
|
4168
4168
|
function r3(a, e, t) {
|
|
4169
4169
|
t === void 0 && (t = !1);
|
|
4170
|
-
const n =
|
|
4170
|
+
const n = c1(a), s = Ia(a), o = Ea(s);
|
|
4171
4171
|
let i = s === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4172
4172
|
return e.reference[o] > e.floating[o] && (i = Xt(i)), [i, Xt(i)];
|
|
4173
4173
|
}
|
|
4174
4174
|
function u3(a) {
|
|
4175
4175
|
const e = Xt(a);
|
|
4176
|
-
return [
|
|
4176
|
+
return [E1(a), e, E1(e)];
|
|
4177
4177
|
}
|
|
4178
|
-
function
|
|
4178
|
+
function E1(a) {
|
|
4179
4179
|
return a.replace(/start|end/g, (e) => o3[e]);
|
|
4180
4180
|
}
|
|
4181
4181
|
function d3(a, e, t) {
|
|
@@ -4192,9 +4192,9 @@ function d3(a, e, t) {
|
|
|
4192
4192
|
}
|
|
4193
4193
|
}
|
|
4194
4194
|
function c3(a, e, t, n) {
|
|
4195
|
-
const s =
|
|
4195
|
+
const s = c1(a);
|
|
4196
4196
|
let o = d3(mt(a), t === "start", n);
|
|
4197
|
-
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(
|
|
4197
|
+
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(E1)))), o;
|
|
4198
4198
|
}
|
|
4199
4199
|
function Xt(a) {
|
|
4200
4200
|
return a.replace(/left|right|bottom|top/g, (e) => i3[e]);
|
|
@@ -4225,12 +4225,12 @@ function Qt(a) {
|
|
|
4225
4225
|
bottom: a.y + a.height
|
|
4226
4226
|
};
|
|
4227
4227
|
}
|
|
4228
|
-
function
|
|
4228
|
+
function ia(a, e, t) {
|
|
4229
4229
|
let {
|
|
4230
4230
|
reference: n,
|
|
4231
4231
|
floating: s
|
|
4232
4232
|
} = a;
|
|
4233
|
-
const o =
|
|
4233
|
+
const o = P1(e), i = Ia(e), l = Ea(i), r = mt(e), d = o === "y", u = n.x + n.width / 2 - s.width / 2, v = n.y + n.height / 2 - s.height / 2, p = n[l] / 2 - s[l] / 2;
|
|
4234
4234
|
let C;
|
|
4235
4235
|
switch (r) {
|
|
4236
4236
|
case "top":
|
|
@@ -4263,7 +4263,7 @@ function sa(a, e, t) {
|
|
|
4263
4263
|
y: n.y
|
|
4264
4264
|
};
|
|
4265
4265
|
}
|
|
4266
|
-
switch (
|
|
4266
|
+
switch (c1(e)) {
|
|
4267
4267
|
case "start":
|
|
4268
4268
|
C[i] -= p * (t && d ? -1 : 1);
|
|
4269
4269
|
break;
|
|
@@ -4287,7 +4287,7 @@ const p3 = async (a, e, t) => {
|
|
|
4287
4287
|
}), {
|
|
4288
4288
|
x: u,
|
|
4289
4289
|
y: v
|
|
4290
|
-
} =
|
|
4290
|
+
} = ia(d, n, r), p = n, C = {}, w = 0;
|
|
4291
4291
|
for (let $ = 0; $ < l.length; $++) {
|
|
4292
4292
|
const {
|
|
4293
4293
|
name: A,
|
|
@@ -4325,7 +4325,7 @@ const p3 = async (a, e, t) => {
|
|
|
4325
4325
|
}) : W.rects), {
|
|
4326
4326
|
x: u,
|
|
4327
4327
|
y: v
|
|
4328
|
-
} =
|
|
4328
|
+
} = ia(d, p, r)), $ = -1;
|
|
4329
4329
|
continue;
|
|
4330
4330
|
}
|
|
4331
4331
|
}
|
|
@@ -4337,7 +4337,7 @@ const p3 = async (a, e, t) => {
|
|
|
4337
4337
|
middlewareData: C
|
|
4338
4338
|
};
|
|
4339
4339
|
};
|
|
4340
|
-
async function
|
|
4340
|
+
async function Oa(a, e) {
|
|
4341
4341
|
var t;
|
|
4342
4342
|
e === void 0 && (e = {});
|
|
4343
4343
|
const {
|
|
@@ -4353,7 +4353,7 @@ async function Ea(a, e) {
|
|
|
4353
4353
|
elementContext: v = "floating",
|
|
4354
4354
|
altBoundary: p = !1,
|
|
4355
4355
|
padding: C = 0
|
|
4356
|
-
} =
|
|
4356
|
+
} = H1(e, a), w = v3(C), A = l[p ? v === "floating" ? "reference" : "floating" : v], g = Qt(await o.getClippingRect({
|
|
4357
4357
|
element: (t = await (o.isElement == null ? void 0 : o.isElement(A))) == null || t ? A : A.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
4358
4358
|
boundary: d,
|
|
4359
4359
|
rootBoundary: u,
|
|
@@ -4401,12 +4401,12 @@ const h3 = function(a) {
|
|
|
4401
4401
|
fallbackAxisSideDirection: w = "none",
|
|
4402
4402
|
flipAlignment: $ = !0,
|
|
4403
4403
|
...A
|
|
4404
|
-
} =
|
|
4404
|
+
} = H1(a, e);
|
|
4405
4405
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4406
4406
|
return {};
|
|
4407
4407
|
const g = mt(s), y = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), j = p || (y || !$ ? [Xt(l)] : u3(l));
|
|
4408
4408
|
!p && w !== "none" && j.push(...c3(l, $, w, L));
|
|
4409
|
-
const W = [l, ...j], H = await
|
|
4409
|
+
const W = [l, ...j], H = await Oa(e, A), G = [];
|
|
4410
4410
|
let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4411
4411
|
if (u && G.push(H[g]), v) {
|
|
4412
4412
|
const h = r3(s, i, L);
|
|
@@ -4465,7 +4465,7 @@ const h3 = function(a) {
|
|
|
4465
4465
|
apply: i = () => {
|
|
4466
4466
|
},
|
|
4467
4467
|
...l
|
|
4468
|
-
} =
|
|
4468
|
+
} = H1(a, e), r = await Oa(e, l), d = mt(t), u = c1(t), v = P1(t) === "y", {
|
|
4469
4469
|
width: p,
|
|
4470
4470
|
height: C
|
|
4471
4471
|
} = n.floating;
|
|
@@ -4499,7 +4499,7 @@ const h3 = function(a) {
|
|
|
4499
4499
|
};
|
|
4500
4500
|
};
|
|
4501
4501
|
function xe(a) {
|
|
4502
|
-
return
|
|
4502
|
+
return La(a) ? (a.nodeName || "").toLowerCase() : "#document";
|
|
4503
4503
|
}
|
|
4504
4504
|
function we(a) {
|
|
4505
4505
|
var e;
|
|
@@ -4507,9 +4507,9 @@ function we(a) {
|
|
|
4507
4507
|
}
|
|
4508
4508
|
function Ze(a) {
|
|
4509
4509
|
var e;
|
|
4510
|
-
return (e = (
|
|
4510
|
+
return (e = (La(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4511
4511
|
}
|
|
4512
|
-
function
|
|
4512
|
+
function La(a) {
|
|
4513
4513
|
return a instanceof Node || a instanceof we(a).Node;
|
|
4514
4514
|
}
|
|
4515
4515
|
function je(a) {
|
|
@@ -4518,7 +4518,7 @@ function je(a) {
|
|
|
4518
4518
|
function Pe(a) {
|
|
4519
4519
|
return a instanceof HTMLElement || a instanceof we(a).HTMLElement;
|
|
4520
4520
|
}
|
|
4521
|
-
function
|
|
4521
|
+
function oa(a) {
|
|
4522
4522
|
return typeof ShadowRoot > "u" ? !1 : a instanceof ShadowRoot || a instanceof we(a).ShadowRoot;
|
|
4523
4523
|
}
|
|
4524
4524
|
function Nt(a) {
|
|
@@ -4533,29 +4533,29 @@ function Nt(a) {
|
|
|
4533
4533
|
function C3(a) {
|
|
4534
4534
|
return ["table", "td", "th"].includes(xe(a));
|
|
4535
4535
|
}
|
|
4536
|
-
function
|
|
4537
|
-
const e =
|
|
4536
|
+
function B1(a) {
|
|
4537
|
+
const e = N1(), t = Ie(a);
|
|
4538
4538
|
return t.transform !== "none" || t.perspective !== "none" || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (t.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (t.contain || "").includes(n));
|
|
4539
4539
|
}
|
|
4540
4540
|
function _3(a) {
|
|
4541
4541
|
let e = Ct(a);
|
|
4542
|
-
for (; Pe(e) && !
|
|
4543
|
-
if (
|
|
4542
|
+
for (; Pe(e) && !f1(e); ) {
|
|
4543
|
+
if (B1(e))
|
|
4544
4544
|
return e;
|
|
4545
4545
|
e = Ct(e);
|
|
4546
4546
|
}
|
|
4547
4547
|
return null;
|
|
4548
4548
|
}
|
|
4549
|
-
function
|
|
4549
|
+
function N1() {
|
|
4550
4550
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4551
4551
|
}
|
|
4552
|
-
function
|
|
4552
|
+
function f1(a) {
|
|
4553
4553
|
return ["html", "body", "#document"].includes(xe(a));
|
|
4554
4554
|
}
|
|
4555
4555
|
function Ie(a) {
|
|
4556
4556
|
return we(a).getComputedStyle(a);
|
|
4557
4557
|
}
|
|
4558
|
-
function
|
|
4558
|
+
function v1(a) {
|
|
4559
4559
|
return je(a) ? {
|
|
4560
4560
|
scrollLeft: a.scrollLeft,
|
|
4561
4561
|
scrollTop: a.scrollTop
|
|
@@ -4571,22 +4571,22 @@ function Ct(a) {
|
|
|
4571
4571
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4572
4572
|
a.assignedSlot || // DOM Element detected.
|
|
4573
4573
|
a.parentNode || // ShadowRoot detected.
|
|
4574
|
-
|
|
4574
|
+
oa(a) && a.host || // Fallback.
|
|
4575
4575
|
Ze(a)
|
|
4576
4576
|
);
|
|
4577
|
-
return
|
|
4577
|
+
return oa(e) ? e.host : e;
|
|
4578
4578
|
}
|
|
4579
|
-
function
|
|
4579
|
+
function Va(a) {
|
|
4580
4580
|
const e = Ct(a);
|
|
4581
|
-
return
|
|
4581
|
+
return f1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && Nt(e) ? e : Va(e);
|
|
4582
4582
|
}
|
|
4583
4583
|
function Vt(a, e, t) {
|
|
4584
4584
|
var n;
|
|
4585
4585
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
4586
|
-
const s =
|
|
4586
|
+
const s = Va(a), o = s === ((n = a.ownerDocument) == null ? void 0 : n.body), i = we(s);
|
|
4587
4587
|
return o ? e.concat(i, i.visualViewport || [], Nt(s) ? s : [], i.frameElement && t ? Vt(i.frameElement) : []) : e.concat(s, Vt(s));
|
|
4588
4588
|
}
|
|
4589
|
-
function
|
|
4589
|
+
function Da(a) {
|
|
4590
4590
|
const e = Ie(a);
|
|
4591
4591
|
let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4592
4592
|
const s = Pe(a), o = s ? a.offsetWidth : t, i = s ? a.offsetHeight : n, l = xt(t) !== o || xt(n) !== i;
|
|
@@ -4596,18 +4596,18 @@ function La(a) {
|
|
|
4596
4596
|
$: l
|
|
4597
4597
|
};
|
|
4598
4598
|
}
|
|
4599
|
-
function
|
|
4599
|
+
function R1(a) {
|
|
4600
4600
|
return je(a) ? a : a.contextElement;
|
|
4601
4601
|
}
|
|
4602
4602
|
function pt(a) {
|
|
4603
|
-
const e =
|
|
4603
|
+
const e = R1(a);
|
|
4604
4604
|
if (!Pe(e))
|
|
4605
4605
|
return Ge(1);
|
|
4606
4606
|
const t = e.getBoundingClientRect(), {
|
|
4607
4607
|
width: n,
|
|
4608
4608
|
height: s,
|
|
4609
4609
|
$: o
|
|
4610
|
-
} =
|
|
4610
|
+
} = Da(e);
|
|
4611
4611
|
let i = (o ? xt(t.width) : t.width) / n, l = (o ? xt(t.height) : t.height) / s;
|
|
4612
4612
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4613
4613
|
x: i,
|
|
@@ -4615,9 +4615,9 @@ function pt(a) {
|
|
|
4615
4615
|
};
|
|
4616
4616
|
}
|
|
4617
4617
|
const g3 = /* @__PURE__ */ Ge(0);
|
|
4618
|
-
function
|
|
4618
|
+
function Ha(a) {
|
|
4619
4619
|
const e = we(a);
|
|
4620
|
-
return !
|
|
4620
|
+
return !N1() || !e.visualViewport ? g3 : {
|
|
4621
4621
|
x: e.visualViewport.offsetLeft,
|
|
4622
4622
|
y: e.visualViewport.offsetTop
|
|
4623
4623
|
};
|
|
@@ -4627,10 +4627,10 @@ function y3(a, e, t) {
|
|
|
4627
4627
|
}
|
|
4628
4628
|
function at(a, e, t, n) {
|
|
4629
4629
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
4630
|
-
const s = a.getBoundingClientRect(), o =
|
|
4630
|
+
const s = a.getBoundingClientRect(), o = R1(a);
|
|
4631
4631
|
let i = Ge(1);
|
|
4632
4632
|
e && (n ? je(n) && (i = pt(n)) : i = pt(a));
|
|
4633
|
-
const l = y3(o, t, n) ?
|
|
4633
|
+
const l = y3(o, t, n) ? Ha(o) : Ge(0);
|
|
4634
4634
|
let r = (s.left + l.x) / i.x, d = (s.top + l.y) / i.y, u = s.width / i.x, v = s.height / i.y;
|
|
4635
4635
|
if (o) {
|
|
4636
4636
|
const p = we(o), C = n && je(n) ? we(n) : n;
|
|
@@ -4661,7 +4661,7 @@ function b3(a) {
|
|
|
4661
4661
|
scrollTop: 0
|
|
4662
4662
|
}, l = Ge(1);
|
|
4663
4663
|
const r = Ge(0);
|
|
4664
|
-
if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i =
|
|
4664
|
+
if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = v1(t)), Pe(t))) {
|
|
4665
4665
|
const d = at(t);
|
|
4666
4666
|
l = pt(t), r.x = d.x + t.clientLeft, r.y = d.y + t.clientTop;
|
|
4667
4667
|
}
|
|
@@ -4675,12 +4675,12 @@ function b3(a) {
|
|
|
4675
4675
|
function w3(a) {
|
|
4676
4676
|
return Array.from(a.getClientRects());
|
|
4677
4677
|
}
|
|
4678
|
-
function
|
|
4679
|
-
return at(Ze(a)).left +
|
|
4678
|
+
function Pa(a) {
|
|
4679
|
+
return at(Ze(a)).left + v1(a).scrollLeft;
|
|
4680
4680
|
}
|
|
4681
4681
|
function $3(a) {
|
|
4682
|
-
const e = Ze(a), t =
|
|
4683
|
-
let i = -t.scrollLeft +
|
|
4682
|
+
const e = Ze(a), t = v1(a), n = a.ownerDocument.body, s = Ae(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ae(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4683
|
+
let i = -t.scrollLeft + Pa(a);
|
|
4684
4684
|
const l = -t.scrollTop;
|
|
4685
4685
|
return Ie(n).direction === "rtl" && (i += Ae(e.clientWidth, n.clientWidth) - s), {
|
|
4686
4686
|
width: s,
|
|
@@ -4694,7 +4694,7 @@ function M3(a, e) {
|
|
|
4694
4694
|
let o = n.clientWidth, i = n.clientHeight, l = 0, r = 0;
|
|
4695
4695
|
if (s) {
|
|
4696
4696
|
o = s.width, i = s.height;
|
|
4697
|
-
const d =
|
|
4697
|
+
const d = N1();
|
|
4698
4698
|
(!d || d && e === "fixed") && (l = s.offsetLeft, r = s.offsetTop);
|
|
4699
4699
|
}
|
|
4700
4700
|
return {
|
|
@@ -4713,7 +4713,7 @@ function k3(a, e) {
|
|
|
4713
4713
|
y: d
|
|
4714
4714
|
};
|
|
4715
4715
|
}
|
|
4716
|
-
function
|
|
4716
|
+
function la(a, e, t) {
|
|
4717
4717
|
let n;
|
|
4718
4718
|
if (e === "viewport")
|
|
4719
4719
|
n = M3(a, t);
|
|
@@ -4722,7 +4722,7 @@ function ia(a, e, t) {
|
|
|
4722
4722
|
else if (je(e))
|
|
4723
4723
|
n = k3(e, t);
|
|
4724
4724
|
else {
|
|
4725
|
-
const s =
|
|
4725
|
+
const s = Ha(a);
|
|
4726
4726
|
n = {
|
|
4727
4727
|
...e,
|
|
4728
4728
|
x: e.x - s.x,
|
|
@@ -4731,9 +4731,9 @@ function ia(a, e, t) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
return Qt(n);
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function Ba(a, e) {
|
|
4735
4735
|
const t = Ct(a);
|
|
4736
|
-
return t === e || !je(t) ||
|
|
4736
|
+
return t === e || !je(t) || f1(t) ? !1 : Ie(t).position === "fixed" || Ba(t, e);
|
|
4737
4737
|
}
|
|
4738
4738
|
function A3(a, e) {
|
|
4739
4739
|
const t = e.get(a);
|
|
@@ -4742,9 +4742,9 @@ function A3(a, e) {
|
|
|
4742
4742
|
let n = Vt(a, [], !1).filter((l) => je(l) && xe(l) !== "body"), s = null;
|
|
4743
4743
|
const o = Ie(a).position === "fixed";
|
|
4744
4744
|
let i = o ? Ct(a) : a;
|
|
4745
|
-
for (; je(i) && !
|
|
4746
|
-
const l = Ie(i), r =
|
|
4747
|
-
!r && l.position === "fixed" && (s = null), (o ? !r && !s : !r && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Nt(i) && !r &&
|
|
4745
|
+
for (; je(i) && !f1(i); ) {
|
|
4746
|
+
const l = Ie(i), r = B1(i);
|
|
4747
|
+
!r && l.position === "fixed" && (s = null), (o ? !r && !s : !r && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Nt(i) && !r && Ba(a, i)) ? n = n.filter((u) => u !== i) : s = l, i = Ct(i);
|
|
4748
4748
|
}
|
|
4749
4749
|
return e.set(a, n), n;
|
|
4750
4750
|
}
|
|
@@ -4756,9 +4756,9 @@ function T3(a) {
|
|
|
4756
4756
|
strategy: s
|
|
4757
4757
|
} = a;
|
|
4758
4758
|
const i = [...t === "clippingAncestors" ? A3(e, this._c) : [].concat(t), n], l = i[0], r = i.reduce((d, u) => {
|
|
4759
|
-
const v =
|
|
4759
|
+
const v = la(e, u, s);
|
|
4760
4760
|
return d.top = Ae(v.top, d.top), d.right = Lt(v.right, d.right), d.bottom = Lt(v.bottom, d.bottom), d.left = Ae(v.left, d.left), d;
|
|
4761
|
-
},
|
|
4761
|
+
}, la(e, l, s));
|
|
4762
4762
|
return {
|
|
4763
4763
|
width: r.right - r.left,
|
|
4764
4764
|
height: r.bottom - r.top,
|
|
@@ -4767,7 +4767,7 @@ function T3(a) {
|
|
|
4767
4767
|
};
|
|
4768
4768
|
}
|
|
4769
4769
|
function S3(a) {
|
|
4770
|
-
return
|
|
4770
|
+
return Da(a);
|
|
4771
4771
|
}
|
|
4772
4772
|
function E3(a, e, t) {
|
|
4773
4773
|
const n = Pe(e), s = Ze(e), o = t === "fixed", i = at(a, !0, o, e);
|
|
@@ -4777,11 +4777,11 @@ function E3(a, e, t) {
|
|
|
4777
4777
|
};
|
|
4778
4778
|
const r = Ge(0);
|
|
4779
4779
|
if (n || !n && !o)
|
|
4780
|
-
if ((xe(e) !== "body" || Nt(s)) && (l =
|
|
4780
|
+
if ((xe(e) !== "body" || Nt(s)) && (l = v1(e)), n) {
|
|
4781
4781
|
const d = at(e, !0, o, e);
|
|
4782
4782
|
r.x = d.x + e.clientLeft, r.y = d.y + e.clientTop;
|
|
4783
4783
|
} else
|
|
4784
|
-
s && (r.x =
|
|
4784
|
+
s && (r.x = Pa(s));
|
|
4785
4785
|
return {
|
|
4786
4786
|
x: i.left + l.scrollLeft - r.x,
|
|
4787
4787
|
y: i.top + l.scrollTop - r.y,
|
|
@@ -4789,17 +4789,17 @@ function E3(a, e, t) {
|
|
|
4789
4789
|
height: i.height
|
|
4790
4790
|
};
|
|
4791
4791
|
}
|
|
4792
|
-
function
|
|
4792
|
+
function ra(a, e) {
|
|
4793
4793
|
return !Pe(a) || Ie(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
|
|
4794
4794
|
}
|
|
4795
|
-
function
|
|
4795
|
+
function Na(a, e) {
|
|
4796
4796
|
const t = we(a);
|
|
4797
4797
|
if (!Pe(a))
|
|
4798
4798
|
return t;
|
|
4799
|
-
let n =
|
|
4799
|
+
let n = ra(a, e);
|
|
4800
4800
|
for (; n && C3(n) && Ie(n).position === "static"; )
|
|
4801
|
-
n =
|
|
4802
|
-
return n && (xe(n) === "html" || xe(n) === "body" && Ie(n).position === "static" && !
|
|
4801
|
+
n = ra(n, e);
|
|
4802
|
+
return n && (xe(n) === "html" || xe(n) === "body" && Ie(n).position === "static" && !B1(n)) ? t : n || _3(a) || t;
|
|
4803
4803
|
}
|
|
4804
4804
|
const I3 = async function(a) {
|
|
4805
4805
|
let {
|
|
@@ -4807,7 +4807,7 @@ const I3 = async function(a) {
|
|
|
4807
4807
|
floating: t,
|
|
4808
4808
|
strategy: n
|
|
4809
4809
|
} = a;
|
|
4810
|
-
const s = this.getOffsetParent ||
|
|
4810
|
+
const s = this.getOffsetParent || Na, o = this.getDimensions;
|
|
4811
4811
|
return {
|
|
4812
4812
|
reference: E3(e, await s(t), n),
|
|
4813
4813
|
floating: {
|
|
@@ -4824,7 +4824,7 @@ const L3 = {
|
|
|
4824
4824
|
convertOffsetParentRelativeRectToViewportRelativeRect: b3,
|
|
4825
4825
|
getDocumentElement: Ze,
|
|
4826
4826
|
getClippingRect: T3,
|
|
4827
|
-
getOffsetParent:
|
|
4827
|
+
getOffsetParent: Na,
|
|
4828
4828
|
getElementRects: I3,
|
|
4829
4829
|
getClientRects: w3,
|
|
4830
4830
|
getDimensions: S3,
|
|
@@ -4885,7 +4885,7 @@ function D3(a, e, t, n) {
|
|
|
4885
4885
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4886
4886
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
4887
4887
|
animationFrame: r = !1
|
|
4888
|
-
} = n, d =
|
|
4888
|
+
} = n, d = R1(a), u = s || o ? [...d ? Vt(d) : [], ...Vt(e)] : [];
|
|
4889
4889
|
u.forEach((g) => {
|
|
4890
4890
|
s && g.addEventListener("scroll", t, {
|
|
4891
4891
|
passive: !0
|
|
@@ -4983,9 +4983,9 @@ const H3 = (a, e, t) => {
|
|
|
4983
4983
|
}
|
|
4984
4984
|
Dt(() => {
|
|
4985
4985
|
d();
|
|
4986
|
-
}),
|
|
4986
|
+
}), vs(() => {
|
|
4987
4987
|
l.value();
|
|
4988
|
-
}),
|
|
4988
|
+
}), fa(() => {
|
|
4989
4989
|
l.value();
|
|
4990
4990
|
});
|
|
4991
4991
|
};
|
|
@@ -5054,7 +5054,7 @@ function U3(a, e, t) {
|
|
|
5054
5054
|
}
|
|
5055
5055
|
};
|
|
5056
5056
|
}
|
|
5057
|
-
function
|
|
5057
|
+
function k1(a, e = !0) {
|
|
5058
5058
|
return e ? String(a).toLowerCase().trim() : String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5059
5059
|
}
|
|
5060
5060
|
function j3(a) {
|
|
@@ -5105,26 +5105,26 @@ function F3(a, e, t) {
|
|
|
5105
5105
|
disabledProp: ne,
|
|
5106
5106
|
searchStart: M,
|
|
5107
5107
|
searchFilter: Y
|
|
5108
|
-
} = $e(a), ie = st().proxy, B = t.iv,
|
|
5108
|
+
} = $e(a), ie = st().proxy, B = t.iv, T = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, ja = t.pointer, it = t.clearPointer, Za = t.focus, Fa = t.deactivate, ot = t.close, qa = t.localize, yt = J([]), Fe = J([]), Le = J(!1), p1 = J(null), h1 = J(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => r.value || d.value || !1), za = b(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
|
|
5109
5109
|
if (z.value) {
|
|
5110
5110
|
let _ = Rt.value || /* istanbul ignore next */
|
|
5111
5111
|
[], D = [];
|
|
5112
5112
|
return _.forEach((se) => {
|
|
5113
|
-
|
|
5113
|
+
b1(se[oe.value]).forEach((he) => {
|
|
5114
5114
|
D.push(Object.assign({}, he, se[ne.value] ? { [ne.value]: !0 } : {}));
|
|
5115
5115
|
});
|
|
5116
5116
|
}), D;
|
|
5117
5117
|
} else {
|
|
5118
|
-
let _ =
|
|
5118
|
+
let _ = b1(Fe.value || /* istanbul ignore next */
|
|
5119
5119
|
[]);
|
|
5120
5120
|
return yt.value.length && (_ = _.concat(yt.value)), _;
|
|
5121
5121
|
}
|
|
5122
|
-
}),
|
|
5122
|
+
}), q1 = b(() => {
|
|
5123
5123
|
let _ = qe.value;
|
|
5124
|
-
return ae.value && (_ = _.reverse()), lt.value.length && (_ = lt.value.concat(_)),
|
|
5124
|
+
return ae.value && (_ = _.reverse()), lt.value.length && (_ = lt.value.concat(_)), y1(_);
|
|
5125
5125
|
}), bt = b(() => {
|
|
5126
|
-
let _ =
|
|
5127
|
-
return
|
|
5126
|
+
let _ = q1.value;
|
|
5127
|
+
return h1.value > 0 && (_ = _.slice(0, h1.value)), _;
|
|
5128
5128
|
}), Rt = b(() => {
|
|
5129
5129
|
if (!z.value)
|
|
5130
5130
|
return [];
|
|
@@ -5135,29 +5135,29 @@ function F3(a, e, t) {
|
|
|
5135
5135
|
[oe.value]: [...yt.value],
|
|
5136
5136
|
__CREATE__: !0
|
|
5137
5137
|
}), _.concat(D);
|
|
5138
|
-
}),
|
|
5138
|
+
}), Wa = b(() => {
|
|
5139
5139
|
let _ = [...Rt.value].map((D) => ({ ...D }));
|
|
5140
5140
|
return lt.value.length && (_[0] && _[0].__CREATE__ ? _[0][oe.value] = [...lt.value, ..._[0][oe.value]] : _ = [{
|
|
5141
5141
|
[te.value]: " ",
|
|
5142
5142
|
[oe.value]: [...lt.value],
|
|
5143
5143
|
__CREATE__: !0
|
|
5144
5144
|
}].concat(_)), _;
|
|
5145
|
-
}),
|
|
5145
|
+
}), z1 = b(() => {
|
|
5146
5146
|
if (!z.value)
|
|
5147
5147
|
return [];
|
|
5148
|
-
let _ =
|
|
5149
|
-
return
|
|
5148
|
+
let _ = Wa.value;
|
|
5149
|
+
return ls((_ || /* istanbul ignore next */
|
|
5150
5150
|
[]).map((D, se) => {
|
|
5151
|
-
const he =
|
|
5151
|
+
const he = b1(D[oe.value]);
|
|
5152
5152
|
return {
|
|
5153
5153
|
...D,
|
|
5154
5154
|
index: se,
|
|
5155
5155
|
group: !0,
|
|
5156
|
-
[oe.value]:
|
|
5157
|
-
__VISIBLE__:
|
|
5156
|
+
[oe.value]: y1(he, !1).map((wt) => Object.assign({}, wt, D[ne.value] ? { [ne.value]: !0 } : {})),
|
|
5157
|
+
__VISIBLE__: y1(he).map((wt) => Object.assign({}, wt, D[ne.value] ? { [ne.value]: !0 } : {}))
|
|
5158
5158
|
};
|
|
5159
5159
|
}));
|
|
5160
|
-
}),
|
|
5160
|
+
}), m1 = b(() => {
|
|
5161
5161
|
switch (s.value) {
|
|
5162
5162
|
case "single":
|
|
5163
5163
|
return !De(B.value[H.value]);
|
|
@@ -5165,12 +5165,12 @@ function F3(a, e, t) {
|
|
|
5165
5165
|
case "tags":
|
|
5166
5166
|
return !De(B.value) && B.value.length > 0;
|
|
5167
5167
|
}
|
|
5168
|
-
}),
|
|
5168
|
+
}), Ya = b(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && bt.value.length == 0 && (N.value && z.value || !z.value)), lt = b(() => F1.value === !1 || !N.value ? [] : ns(N.value) !== -1 ? [] : [{
|
|
5169
5169
|
[H.value]: N.value,
|
|
5170
5170
|
[Ve.value]: N.value,
|
|
5171
5171
|
[u.value]: N.value,
|
|
5172
5172
|
__CREATE__: !0
|
|
5173
|
-
}]), Ve = b(() => o.value || u.value),
|
|
5173
|
+
}]), Ve = b(() => o.value || u.value), xa = b(() => {
|
|
5174
5174
|
switch (s.value) {
|
|
5175
5175
|
case "single":
|
|
5176
5176
|
return null;
|
|
@@ -5178,7 +5178,7 @@ function F3(a, e, t) {
|
|
|
5178
5178
|
case "tags":
|
|
5179
5179
|
return [];
|
|
5180
5180
|
}
|
|
5181
|
-
}),
|
|
5181
|
+
}), Xa = b(() => $.value || Le.value), rt = (_) => {
|
|
5182
5182
|
switch (typeof _ != "object" && (_ = Re(_)), s.value) {
|
|
5183
5183
|
case "single":
|
|
5184
5184
|
Me(_);
|
|
@@ -5188,31 +5188,31 @@ function F3(a, e, t) {
|
|
|
5188
5188
|
Me(B.value.concat(_));
|
|
5189
5189
|
break;
|
|
5190
5190
|
}
|
|
5191
|
-
e.emit("select",
|
|
5191
|
+
e.emit("select", W1(_), _, ie);
|
|
5192
5192
|
}, ut = (_) => {
|
|
5193
5193
|
switch (typeof _ != "object" && (_ = Re(_)), s.value) {
|
|
5194
5194
|
case "single":
|
|
5195
|
-
|
|
5195
|
+
K1();
|
|
5196
5196
|
break;
|
|
5197
5197
|
case "tags":
|
|
5198
5198
|
case "multiple":
|
|
5199
5199
|
Me(Array.isArray(_) ? B.value.filter((D) => _.map((se) => se[H.value]).indexOf(D[H.value]) === -1) : B.value.filter((D) => D[H.value] != _[H.value]));
|
|
5200
5200
|
break;
|
|
5201
5201
|
}
|
|
5202
|
-
e.emit("deselect",
|
|
5203
|
-
},
|
|
5202
|
+
e.emit("deselect", W1(_), _, ie);
|
|
5203
|
+
}, W1 = (_) => w.value ? _ : _[H.value], Y1 = (_) => {
|
|
5204
5204
|
ut(_);
|
|
5205
|
-
},
|
|
5205
|
+
}, Qa = (_, D) => {
|
|
5206
5206
|
if (D.button !== 0) {
|
|
5207
5207
|
D.preventDefault();
|
|
5208
5208
|
return;
|
|
5209
5209
|
}
|
|
5210
|
-
|
|
5211
|
-
},
|
|
5212
|
-
e.emit("clear", ie), Me(
|
|
5210
|
+
Y1(_);
|
|
5211
|
+
}, K1 = () => {
|
|
5212
|
+
e.emit("clear", ie), Me(xa.value);
|
|
5213
5213
|
}, Ne = (_) => {
|
|
5214
5214
|
if (_.group !== void 0)
|
|
5215
|
-
return s.value === "single" ? !1 :
|
|
5215
|
+
return s.value === "single" ? !1 : ss(_[oe.value]) && _[oe.value].length;
|
|
5216
5216
|
switch (s.value) {
|
|
5217
5217
|
case "single":
|
|
5218
5218
|
return !De(B.value) && B.value[H.value] == _[H.value];
|
|
@@ -5220,89 +5220,89 @@ function F3(a, e, t) {
|
|
|
5220
5220
|
case "multiple":
|
|
5221
5221
|
return !De(B.value) && B.value.map((D) => D[H.value]).indexOf(_[H.value]) !== -1;
|
|
5222
5222
|
}
|
|
5223
|
-
},
|
|
5224
|
-
if (!
|
|
5223
|
+
}, C1 = (_) => _[ne.value] === !0, _1 = () => ee === void 0 || ee.value === -1 || !m1.value && ee.value > 0 ? !1 : B.value.length >= ee.value, Ja = (_) => {
|
|
5224
|
+
if (!C1(_)) {
|
|
5225
5225
|
if (F && F.value && !Ne(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = F.value(_, ie), _ instanceof Promise)) {
|
|
5226
5226
|
Le.value = !0, _.then((D) => {
|
|
5227
|
-
Le.value = !1,
|
|
5227
|
+
Le.value = !1, G1(D);
|
|
5228
5228
|
});
|
|
5229
5229
|
return;
|
|
5230
5230
|
}
|
|
5231
|
-
|
|
5231
|
+
G1(_);
|
|
5232
5232
|
}
|
|
5233
|
-
},
|
|
5233
|
+
}, G1 = (_) => {
|
|
5234
5234
|
switch (_.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__), s.value) {
|
|
5235
5235
|
case "single":
|
|
5236
5236
|
if (_ && Ne(_)) {
|
|
5237
5237
|
E.value && ut(_), O.value && (it(), ot());
|
|
5238
5238
|
return;
|
|
5239
5239
|
}
|
|
5240
|
-
_ &&
|
|
5240
|
+
_ && g1(_), W.value && pe(), h.value && (it(), ot()), _ && rt(_);
|
|
5241
5241
|
break;
|
|
5242
5242
|
case "multiple":
|
|
5243
5243
|
if (_ && Ne(_)) {
|
|
5244
5244
|
ut(_), O.value && (it(), ot());
|
|
5245
5245
|
return;
|
|
5246
5246
|
}
|
|
5247
|
-
if (
|
|
5247
|
+
if (_1()) {
|
|
5248
5248
|
e.emit("max", ie);
|
|
5249
5249
|
return;
|
|
5250
5250
|
}
|
|
5251
|
-
_ && (
|
|
5251
|
+
_ && (g1(_), rt(_)), W.value && pe(), l.value && it(), h.value && ot();
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
5254
|
if (_ && Ne(_)) {
|
|
5255
5255
|
ut(_), O.value && (it(), ot());
|
|
5256
5256
|
return;
|
|
5257
5257
|
}
|
|
5258
|
-
if (
|
|
5258
|
+
if (_1()) {
|
|
5259
5259
|
e.emit("max", ie);
|
|
5260
5260
|
return;
|
|
5261
5261
|
}
|
|
5262
|
-
_ &&
|
|
5262
|
+
_ && g1(_), W.value && pe(), _ && rt(_), l.value && it(), h.value && ot();
|
|
5263
5263
|
break;
|
|
5264
5264
|
}
|
|
5265
|
-
h.value ||
|
|
5266
|
-
},
|
|
5267
|
-
if (!(
|
|
5265
|
+
h.value || Za();
|
|
5266
|
+
}, es = (_) => {
|
|
5267
|
+
if (!(C1(_) || s.value === "single" || !V.value)) {
|
|
5268
5268
|
switch (s.value) {
|
|
5269
5269
|
case "multiple":
|
|
5270
5270
|
case "tags":
|
|
5271
|
-
|
|
5271
|
+
as(_[oe.value]) ? ut(_[oe.value]) : rt(
|
|
5272
5272
|
_[oe.value].filter((D) => B.value.map((se) => se[H.value]).indexOf(D[H.value]) === -1).filter((D) => !D[ne.value]).filter((D, se) => B.value.length + 1 + se <= ee.value || ee.value === -1)
|
|
5273
5273
|
);
|
|
5274
5274
|
break;
|
|
5275
5275
|
}
|
|
5276
|
-
h.value &&
|
|
5276
|
+
h.value && Fa();
|
|
5277
5277
|
}
|
|
5278
|
-
},
|
|
5279
|
-
Re(_[H.value]) === void 0 &&
|
|
5280
|
-
},
|
|
5278
|
+
}, g1 = (_) => {
|
|
5279
|
+
Re(_[H.value]) === void 0 && F1.value && (e.emit("tag", _[H.value], ie), e.emit("option", _[H.value], ie), e.emit("create", _[H.value], ie), za.value && os(_), pe());
|
|
5280
|
+
}, ts = () => {
|
|
5281
5281
|
s.value !== "single" && rt(bt.value.filter((_) => !_.disabled && !Ne(_)));
|
|
5282
|
-
},
|
|
5282
|
+
}, as = (_) => _.find((D) => !Ne(D) && !D[ne.value]) === void 0, ss = (_) => _.find((D) => !Ne(D)) === void 0, Re = (_) => qe.value[qe.value.map((D) => String(D[H.value])).indexOf(String(_))], ns = (_, D = !0) => qe.value.map((se) => parseInt(se[Ve.value]) == se[Ve.value] ? parseInt(se[Ve.value]) : se[Ve.value]).indexOf(
|
|
5283
5283
|
parseInt(_) == _ ? parseInt(_) : _
|
|
5284
|
-
),
|
|
5284
|
+
), is = (_) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(_), os = (_) => {
|
|
5285
5285
|
yt.value.push(_);
|
|
5286
|
-
},
|
|
5286
|
+
}, ls = (_) => I.value ? _.filter(
|
|
5287
5287
|
(D) => N.value ? D.__VISIBLE__.length : D[oe.value].length
|
|
5288
|
-
) : _.filter((D) => N.value ? D.__VISIBLE__.length : !0),
|
|
5288
|
+
) : _.filter((D) => N.value ? D.__VISIBLE__.length : !0), y1 = (_, D = !0) => {
|
|
5289
5289
|
let se = _;
|
|
5290
5290
|
if (N.value && L.value) {
|
|
5291
5291
|
let he = Y.value;
|
|
5292
5292
|
he || (he = (wt, a8) => {
|
|
5293
|
-
let
|
|
5294
|
-
return M.value ?
|
|
5293
|
+
let X1 = k1(qa(wt[Ve.value]), de.value);
|
|
5294
|
+
return M.value ? X1.startsWith(k1(N.value, de.value)) : X1.indexOf(k1(N.value, de.value)) !== -1;
|
|
5295
5295
|
}), se = se.filter(he);
|
|
5296
5296
|
}
|
|
5297
|
-
return l.value && D && (se = se.filter((he) => !
|
|
5298
|
-
},
|
|
5297
|
+
return l.value && D && (se = se.filter((he) => !is(he))), se;
|
|
5298
|
+
}, b1 = (_) => {
|
|
5299
5299
|
let D = _;
|
|
5300
5300
|
return j3(D) && (D = Object.keys(D).map((se) => {
|
|
5301
5301
|
let he = D[se];
|
|
5302
5302
|
return { [H.value]: se, [Ve.value]: he, [u.value]: he };
|
|
5303
5303
|
})), D = D.map((se) => typeof se == "object" ? se : { [H.value]: se, [Ve.value]: se, [u.value]: se }), D;
|
|
5304
5304
|
}, Ut = () => {
|
|
5305
|
-
De(
|
|
5305
|
+
De(T.value) || (B.value = Zt(T.value));
|
|
5306
5306
|
}, jt = (_) => (Le.value = !0, new Promise((D, se) => {
|
|
5307
5307
|
n.value(N.value, ie).then((he) => {
|
|
5308
5308
|
Fe.value = he || [], typeof _ == "function" && _(he), Le.value = !1;
|
|
@@ -5311,23 +5311,23 @@ function F3(a, e, t) {
|
|
|
5311
5311
|
}).finally(() => {
|
|
5312
5312
|
D();
|
|
5313
5313
|
});
|
|
5314
|
-
})),
|
|
5315
|
-
if (
|
|
5314
|
+
})), w1 = () => {
|
|
5315
|
+
if (m1.value)
|
|
5316
5316
|
if (s.value === "single") {
|
|
5317
5317
|
let _ = Re(B.value[H.value]);
|
|
5318
5318
|
if (_ !== void 0) {
|
|
5319
5319
|
let D = _[u.value];
|
|
5320
|
-
B.value[u.value] = D, w.value && (
|
|
5320
|
+
B.value[u.value] = D, w.value && (T.value[u.value] = D);
|
|
5321
5321
|
}
|
|
5322
5322
|
} else
|
|
5323
5323
|
B.value.forEach((_, D) => {
|
|
5324
5324
|
let se = Re(B.value[D][H.value]);
|
|
5325
5325
|
if (se !== void 0) {
|
|
5326
5326
|
let he = se[u.value];
|
|
5327
|
-
B.value[D][u.value] = he, w.value && (
|
|
5327
|
+
B.value[D][u.value] = he, w.value && (T.value[D][u.value] = he);
|
|
5328
5328
|
}
|
|
5329
5329
|
});
|
|
5330
|
-
},
|
|
5330
|
+
}, rs = (_) => {
|
|
5331
5331
|
jt(_);
|
|
5332
5332
|
}, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (G.value ? {
|
|
5333
5333
|
[u.value]: _,
|
|
@@ -5337,11 +5337,11 @@ function F3(a, e, t) {
|
|
|
5337
5337
|
[u.value]: D,
|
|
5338
5338
|
[H.value]: D,
|
|
5339
5339
|
[Ve.value]: D
|
|
5340
|
-
}),
|
|
5341
|
-
|
|
5340
|
+
}), x1 = () => {
|
|
5341
|
+
p1.value = ue(N, (_) => {
|
|
5342
5342
|
_.length < y.value || !_ && y.value !== 0 || (Le.value = !0, j.value && (Fe.value = []), setTimeout(() => {
|
|
5343
5343
|
_ == N.value && n.value(N.value, ie).then((D) => {
|
|
5344
|
-
(_ == N.value || !N.value) && (Fe.value = D,
|
|
5344
|
+
(_ == N.value || !N.value) && (Fe.value = D, ja.value = bt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
|
|
5345
5345
|
}).catch(
|
|
5346
5346
|
/* istanbul ignore next */
|
|
5347
5347
|
(D) => {
|
|
@@ -5351,11 +5351,11 @@ function F3(a, e, t) {
|
|
|
5351
5351
|
}, A.value));
|
|
5352
5352
|
}, { flush: "sync" });
|
|
5353
5353
|
};
|
|
5354
|
-
if (s.value !== "single" && !De(
|
|
5354
|
+
if (s.value !== "single" && !De(T.value) && !Array.isArray(T.value))
|
|
5355
5355
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5356
|
-
return n && typeof n.value == "function" ? g.value ? jt(Ut) : w.value == !0 && Ut() : (Fe.value = n.value, Ut()), A.value > -1 &&
|
|
5357
|
-
|
|
5358
|
-
}), ue(
|
|
5356
|
+
return n && typeof n.value == "function" ? g.value ? jt(Ut) : w.value == !0 && Ut() : (Fe.value = n.value, Ut()), A.value > -1 && x1(), ue(A, (_, D) => {
|
|
5357
|
+
p1.value && p1.value(), _ >= 0 && x1();
|
|
5358
|
+
}), ue(T, (_) => {
|
|
5359
5359
|
if (De(_)) {
|
|
5360
5360
|
Me(Zt(_), !1);
|
|
5361
5361
|
return;
|
|
@@ -5370,39 +5370,39 @@ function F3(a, e, t) {
|
|
|
5370
5370
|
break;
|
|
5371
5371
|
}
|
|
5372
5372
|
}, { deep: !0 }), ue(n, (_, D) => {
|
|
5373
|
-
typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(),
|
|
5374
|
-
}), ue(u,
|
|
5375
|
-
pfo:
|
|
5373
|
+
typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(), w1());
|
|
5374
|
+
}), ue(u, w1), {
|
|
5375
|
+
pfo: q1,
|
|
5376
5376
|
fo: bt,
|
|
5377
5377
|
filteredOptions: bt,
|
|
5378
|
-
hasSelected:
|
|
5379
|
-
multipleLabelText:
|
|
5378
|
+
hasSelected: m1,
|
|
5379
|
+
multipleLabelText: Ya,
|
|
5380
5380
|
eo: qe,
|
|
5381
5381
|
extendedOptions: qe,
|
|
5382
5382
|
eg: Rt,
|
|
5383
5383
|
extendedGroups: Rt,
|
|
5384
|
-
fg:
|
|
5385
|
-
filteredGroups:
|
|
5386
|
-
noOptions:
|
|
5387
|
-
noResults:
|
|
5384
|
+
fg: z1,
|
|
5385
|
+
filteredGroups: z1,
|
|
5386
|
+
noOptions: Ka,
|
|
5387
|
+
noResults: Ga,
|
|
5388
5388
|
resolving: Le,
|
|
5389
|
-
busy:
|
|
5390
|
-
offset:
|
|
5389
|
+
busy: Xa,
|
|
5390
|
+
offset: h1,
|
|
5391
5391
|
select: rt,
|
|
5392
5392
|
deselect: ut,
|
|
5393
|
-
remove:
|
|
5394
|
-
selectAll:
|
|
5395
|
-
clear:
|
|
5393
|
+
remove: Y1,
|
|
5394
|
+
selectAll: ts,
|
|
5395
|
+
clear: K1,
|
|
5396
5396
|
isSelected: Ne,
|
|
5397
|
-
isDisabled:
|
|
5398
|
-
isMax:
|
|
5397
|
+
isDisabled: C1,
|
|
5398
|
+
isMax: _1,
|
|
5399
5399
|
getOption: Re,
|
|
5400
|
-
handleOptionClick:
|
|
5401
|
-
handleGroupClick:
|
|
5402
|
-
handleTagRemove:
|
|
5403
|
-
refreshOptions:
|
|
5400
|
+
handleOptionClick: Ja,
|
|
5401
|
+
handleGroupClick: es,
|
|
5402
|
+
handleTagRemove: Qa,
|
|
5403
|
+
refreshOptions: rs,
|
|
5404
5404
|
resolveOptions: jt,
|
|
5405
|
-
refreshLabels:
|
|
5405
|
+
refreshLabels: w1
|
|
5406
5406
|
};
|
|
5407
5407
|
}
|
|
5408
5408
|
function q3(a, e, t) {
|
|
@@ -5416,23 +5416,23 @@ function q3(a, e, t) {
|
|
|
5416
5416
|
groupSelect: d,
|
|
5417
5417
|
disabledProp: u,
|
|
5418
5418
|
groupOptions: v
|
|
5419
|
-
} = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, y = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = b(() => p.value.filter((
|
|
5420
|
-
const
|
|
5419
|
+
} = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, y = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = b(() => p.value.filter((T) => !T[u.value])), G = b(() => C.value.filter((T) => !T[u.value])), te = b(() => r.value !== "single" && d.value), E = b(() => g.value && g.value.group), ee = b(() => ie(g.value)), de = b(() => {
|
|
5420
|
+
const T = E.value ? g.value : (
|
|
5421
5421
|
/* istanbul ignore next */
|
|
5422
5422
|
ie(g.value)
|
|
5423
|
-
), N = G.value.map((Me) => Me[i.value]).indexOf(
|
|
5423
|
+
), N = G.value.map((Me) => Me[i.value]).indexOf(T[i.value]);
|
|
5424
5424
|
let pe = G.value[N - 1];
|
|
5425
5425
|
return pe === void 0 && (pe = O.value), pe;
|
|
5426
5426
|
}), h = b(() => {
|
|
5427
|
-
let
|
|
5428
|
-
return G.value.length <=
|
|
5429
|
-
}), O = b(() => [...G.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((
|
|
5430
|
-
const
|
|
5431
|
-
return
|
|
5427
|
+
let T = G.value.map((N) => N.label).indexOf(E.value ? g.value[i.value] : ie(g.value)[i.value]) + 1;
|
|
5428
|
+
return G.value.length <= T && (T = 0), G.value[T];
|
|
5429
|
+
}), O = b(() => [...G.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((T) => !T[u.value])[0]), ae = b(() => {
|
|
5430
|
+
const T = ee.value.__VISIBLE__.filter((N) => !N[u.value]);
|
|
5431
|
+
return T[T.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1];
|
|
5432
5432
|
}), re = b(() => {
|
|
5433
|
-
const
|
|
5434
|
-
return
|
|
5435
|
-
}), oe = b(() => [...de.value.__VISIBLE__.filter((
|
|
5433
|
+
const T = ie(g.value).__VISIBLE__.filter((N) => !N[u.value]);
|
|
5434
|
+
return T[T.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1];
|
|
5435
|
+
}), oe = b(() => [...de.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), I = b(() => [...O.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), V = (T) => g.value && (!T.group && g.value[n.value] === T[n.value] || T.group !== void 0 && g.value[i.value] === T[i.value]) ? !0 : void 0, F = () => {
|
|
5436
5436
|
y(H.value[0] || null);
|
|
5437
5437
|
}, ne = () => {
|
|
5438
5438
|
!g.value || g.value[u.value] === !0 || (E.value ? $(g.value) : w(g.value));
|
|
@@ -5440,42 +5440,42 @@ function q3(a, e, t) {
|
|
|
5440
5440
|
if (g.value === null)
|
|
5441
5441
|
y((l.value && te.value ? G.value[0].__CREATE__ ? H.value[0] : G.value[0] : H.value[0]) || null);
|
|
5442
5442
|
else if (l.value && te.value) {
|
|
5443
|
-
let
|
|
5444
|
-
|
|
5443
|
+
let T = E.value ? z.value : re.value;
|
|
5444
|
+
T === void 0 && (T = h.value, T.__CREATE__ && (T = T[v.value][0])), y(T || /* istanbul ignore next */
|
|
5445
5445
|
null);
|
|
5446
5446
|
} else {
|
|
5447
|
-
let
|
|
5448
|
-
H.value.length <=
|
|
5447
|
+
let T = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1;
|
|
5448
|
+
H.value.length <= T && (T = 0), y(H.value[T] || null);
|
|
5449
5449
|
}
|
|
5450
5450
|
Oe(() => {
|
|
5451
5451
|
B();
|
|
5452
5452
|
});
|
|
5453
5453
|
}, Y = () => {
|
|
5454
5454
|
if (g.value === null) {
|
|
5455
|
-
let
|
|
5456
|
-
l.value && te.value && (
|
|
5455
|
+
let T = H.value[H.value.length - 1];
|
|
5456
|
+
l.value && te.value && (T = I.value, T === void 0 && (T = O.value)), y(T || null);
|
|
5457
5457
|
} else if (l.value && te.value) {
|
|
5458
|
-
let
|
|
5459
|
-
|
|
5458
|
+
let T = E.value ? oe.value : ae.value;
|
|
5459
|
+
T === void 0 && (T = E.value ? de.value : ee.value, T.__CREATE__ && (T = oe.value, T === void 0 && (T = de.value))), y(T || /* istanbul ignore next */
|
|
5460
5460
|
null);
|
|
5461
5461
|
} else {
|
|
5462
|
-
let
|
|
5463
|
-
|
|
5462
|
+
let T = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1;
|
|
5463
|
+
T < 0 && (T = H.value.length - 1), y(H.value[T] || null);
|
|
5464
5464
|
}
|
|
5465
5465
|
Oe(() => {
|
|
5466
5466
|
B();
|
|
5467
5467
|
});
|
|
5468
|
-
}, ie = (
|
|
5469
|
-
let
|
|
5470
|
-
if (!
|
|
5468
|
+
}, ie = (T) => G.value.find((N) => N.__VISIBLE__.map((pe) => pe[n.value]).indexOf(T[n.value]) !== -1), B = () => {
|
|
5469
|
+
let T = j.value.querySelector("[data-pointed]");
|
|
5470
|
+
if (!T)
|
|
5471
5471
|
return;
|
|
5472
|
-
let N =
|
|
5473
|
-
l.value && (N = E.value ?
|
|
5472
|
+
let N = T.parentElement.parentElement;
|
|
5473
|
+
l.value && (N = E.value ? T.parentElement.parentElement.parentElement : T.parentElement.parentElement.parentElement.parentElement), T.offsetTop + T.offsetHeight > N.clientHeight + N.scrollTop && (N.scrollTop = T.offsetTop + T.offsetHeight - N.clientHeight), T.offsetTop < N.scrollTop && (N.scrollTop = T.offsetTop);
|
|
5474
5474
|
};
|
|
5475
|
-
return ue(A, (
|
|
5476
|
-
o.value && (
|
|
5477
|
-
}), ue(W, (
|
|
5478
|
-
if (
|
|
5475
|
+
return ue(A, (T) => {
|
|
5476
|
+
o.value && (T.length && s.value ? F() : L());
|
|
5477
|
+
}), ue(W, (T) => {
|
|
5478
|
+
if (T) {
|
|
5479
5479
|
let N = j.value.querySelectorAll("[data-selected]")[0];
|
|
5480
5480
|
if (!N)
|
|
5481
5481
|
return;
|
|
@@ -6689,13 +6689,13 @@ const be = /* @__PURE__ */ K({
|
|
|
6689
6689
|
ye(s.$slots, (i, l) => ({
|
|
6690
6690
|
name: l,
|
|
6691
6691
|
fn: U((r) => [
|
|
6692
|
-
X(s.$slots, l,
|
|
6692
|
+
X(s.$slots, l, a1(s1(r ?? {})))
|
|
6693
6693
|
])
|
|
6694
6694
|
}))
|
|
6695
6695
|
]), 1536));
|
|
6696
6696
|
}
|
|
6697
6697
|
});
|
|
6698
|
-
var
|
|
6698
|
+
var ua;
|
|
6699
6699
|
function nt() {
|
|
6700
6700
|
const a = y5(), e = a.appContext.config.globalProperties;
|
|
6701
6701
|
return {
|
|
@@ -6720,10 +6720,10 @@ K({
|
|
|
6720
6720
|
return () => {
|
|
6721
6721
|
const t = a.translation, n = [];
|
|
6722
6722
|
let s, o = 0;
|
|
6723
|
-
for (; (s =
|
|
6723
|
+
for (; (s = ua.exec(t)) !== null; ) {
|
|
6724
6724
|
n.push(t.substring(o, s.index));
|
|
6725
6725
|
const i = e[s[1]];
|
|
6726
|
-
i ? n.push(...i()) : n.push(s[0]), o =
|
|
6726
|
+
i ? n.push(...i()) : n.push(s[0]), o = ua.lastIndex;
|
|
6727
6727
|
}
|
|
6728
6728
|
return n.push(t.substring(o)), n;
|
|
6729
6729
|
};
|
|
@@ -6839,7 +6839,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6839
6839
|
onChange: (A) => d(A, C.id)
|
|
6840
6840
|
}, {
|
|
6841
6841
|
tag: U(({ option: A, handleTagRemove: g }) => [
|
|
6842
|
-
|
|
6842
|
+
S(gt, {
|
|
6843
6843
|
"user-name": A.label,
|
|
6844
6844
|
"avatar-url": A.avatar,
|
|
6845
6845
|
"is-closable": !0,
|
|
@@ -6897,7 +6897,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
|
|
|
6897
6897
|
s.forEach((d) => {
|
|
6898
6898
|
document.body.addEventListener(d, (u) => u.preventDefault());
|
|
6899
6899
|
});
|
|
6900
|
-
}),
|
|
6900
|
+
}), fa(() => {
|
|
6901
6901
|
s.forEach((d) => {
|
|
6902
6902
|
document.body.removeEventListener(
|
|
6903
6903
|
d,
|
|
@@ -6946,7 +6946,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
|
|
|
6946
6946
|
target: "_blank",
|
|
6947
6947
|
rel: "noopener noreferrer"
|
|
6948
6948
|
}, [
|
|
6949
|
-
|
|
6949
|
+
S(ce, {
|
|
6950
6950
|
class: "ao-file__icon",
|
|
6951
6951
|
name: "AttachFileRounded",
|
|
6952
6952
|
size: "sm"
|
|
@@ -7000,7 +7000,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7000
7000
|
const t = a, n = b(() => {
|
|
7001
7001
|
const A = t.user;
|
|
7002
7002
|
return A ? `${A == null ? void 0 : A.firstName} ${A == null ? void 0 : A.lastName}` : null;
|
|
7003
|
-
}), s = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } =
|
|
7003
|
+
}), s = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = pa(s), d = b(() => S1(t.createdAt)), u = b(() => S1(t.editedAt)), v = b(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
|
|
7004
7004
|
e("edit", A);
|
|
7005
7005
|
}), w = () => {
|
|
7006
7006
|
e("remove");
|
|
@@ -7045,14 +7045,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7045
7045
|
]),
|
|
7046
7046
|
A.isEditable ? (c(), m("div", R5, [
|
|
7047
7047
|
q(o) ? (c(), m(ve, { key: 0 }, [
|
|
7048
|
-
|
|
7048
|
+
S(fe, {
|
|
7049
7049
|
"icon-name": "CloseRounded",
|
|
7050
7050
|
size: "sm",
|
|
7051
7051
|
variant: "ghost",
|
|
7052
7052
|
color: "neutral",
|
|
7053
7053
|
onClick: q(p)
|
|
7054
7054
|
}, null, 8, ["onClick"]),
|
|
7055
|
-
|
|
7055
|
+
S(fe, {
|
|
7056
7056
|
"icon-name": "CheckSmallRounded",
|
|
7057
7057
|
size: "sm",
|
|
7058
7058
|
variant: "solid",
|
|
@@ -7060,14 +7060,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7060
7060
|
onClick: q(C)
|
|
7061
7061
|
}, null, 8, ["onClick"])
|
|
7062
7062
|
], 64)) : (c(), m(ve, { key: 1 }, [
|
|
7063
|
-
|
|
7063
|
+
S(fe, {
|
|
7064
7064
|
label: A.$t("activity.comment.delete"),
|
|
7065
7065
|
size: "sm",
|
|
7066
7066
|
variant: "ghost",
|
|
7067
7067
|
color: "neutral",
|
|
7068
7068
|
onClick: w
|
|
7069
7069
|
}, null, 8, ["label"]),
|
|
7070
|
-
|
|
7070
|
+
S(fe, {
|
|
7071
7071
|
label: A.$t("activity.comment.edit"),
|
|
7072
7072
|
size: "sm",
|
|
7073
7073
|
variant: "ghost",
|
|
@@ -7156,7 +7156,7 @@ const j5 = {
|
|
|
7156
7156
|
])
|
|
7157
7157
|
]),
|
|
7158
7158
|
f("div", W5, [
|
|
7159
|
-
|
|
7159
|
+
S(fe, {
|
|
7160
7160
|
type: "submit",
|
|
7161
7161
|
"icon-name": "SendRounded",
|
|
7162
7162
|
color: "primary",
|
|
@@ -7188,7 +7188,7 @@ const K5 = {
|
|
|
7188
7188
|
}, H7 = { class: "ao-field ao-field--multiselect" }, P7 = { class: "ao-field__label" }, B7 = {
|
|
7189
7189
|
key: 0,
|
|
7190
7190
|
class: "ao-activity-details__aside"
|
|
7191
|
-
}, N7 = { class: "ao-fieldset__title" }, R7 = { class: "ao-fieldset__title" },
|
|
7191
|
+
}, N7 = { class: "ao-fieldset__title" }, R7 = { class: "ao-fieldset__title" }, U1 = /* @__PURE__ */ K({
|
|
7192
7192
|
__name: "AoActivityDetails",
|
|
7193
7193
|
props: {
|
|
7194
7194
|
activity: {},
|
|
@@ -7355,12 +7355,12 @@ const K5 = {
|
|
|
7355
7355
|
}, de = (h) => {
|
|
7356
7356
|
e("removeComment", h);
|
|
7357
7357
|
};
|
|
7358
|
-
return (h, O) => (c(), R(
|
|
7358
|
+
return (h, O) => (c(), R(D1, {
|
|
7359
7359
|
onClose: O[9] || (O[9] = (z) => h.$emit("close"))
|
|
7360
7360
|
}, {
|
|
7361
7361
|
header: U(() => [
|
|
7362
7362
|
h.breadcrumbs ? (c(), m("div", K5, Z(h.breadcrumbs), 1)) : k("", !0),
|
|
7363
|
-
|
|
7363
|
+
S(Ce, {
|
|
7364
7364
|
title: h.activity.name || "",
|
|
7365
7365
|
level: 4,
|
|
7366
7366
|
"is-editable": h.isEditable,
|
|
@@ -7371,7 +7371,7 @@ const K5 = {
|
|
|
7371
7371
|
return [
|
|
7372
7372
|
G.value ? (c(), m("label", G5, [
|
|
7373
7373
|
f("span", x5, Z(h.$t("activity.status.label")), 1),
|
|
7374
|
-
|
|
7374
|
+
S(be, {
|
|
7375
7375
|
options: G.value,
|
|
7376
7376
|
value: (z = h.activity.status) == null ? void 0 : z.id,
|
|
7377
7377
|
"can-clear": !1,
|
|
@@ -7438,7 +7438,7 @@ const K5 = {
|
|
|
7438
7438
|
type: "checkbox"
|
|
7439
7439
|
}, null, 8, u7), [
|
|
7440
7440
|
[
|
|
7441
|
-
|
|
7441
|
+
Q1,
|
|
7442
7442
|
i.value,
|
|
7443
7443
|
void 0,
|
|
7444
7444
|
{ lazy: !0 }
|
|
@@ -7454,7 +7454,7 @@ const K5 = {
|
|
|
7454
7454
|
type: "checkbox"
|
|
7455
7455
|
}, null, 8, f7), [
|
|
7456
7456
|
[
|
|
7457
|
-
|
|
7457
|
+
Q1,
|
|
7458
7458
|
l.value,
|
|
7459
7459
|
void 0,
|
|
7460
7460
|
{ lazy: !0 }
|
|
@@ -7465,8 +7465,8 @@ const K5 = {
|
|
|
7465
7465
|
]),
|
|
7466
7466
|
l.value ? k("", !0) : (c(), m("fieldset", v7, [
|
|
7467
7467
|
f("div", p7, [
|
|
7468
|
-
|
|
7469
|
-
|
|
7468
|
+
S(ce, { name: "AccountBoxSharp" }),
|
|
7469
|
+
S(Ce, {
|
|
7470
7470
|
level: 4,
|
|
7471
7471
|
title: h.$t("activity.assignee.title")
|
|
7472
7472
|
}, null, 8, ["title"])
|
|
@@ -7474,7 +7474,7 @@ const K5 = {
|
|
|
7474
7474
|
f("div", h7, [
|
|
7475
7475
|
f("div", m7, [
|
|
7476
7476
|
f("div", C7, [
|
|
7477
|
-
|
|
7477
|
+
S(be, {
|
|
7478
7478
|
modelValue: j.value,
|
|
7479
7479
|
"onUpdate:modelValue": O[4] || (O[4] = (z) => j.value = z),
|
|
7480
7480
|
options: L.value,
|
|
@@ -7491,7 +7491,7 @@ const K5 = {
|
|
|
7491
7491
|
option: z,
|
|
7492
7492
|
handleTagRemove: ae
|
|
7493
7493
|
}) => [
|
|
7494
|
-
|
|
7494
|
+
S(gt, {
|
|
7495
7495
|
"user-name": z.label,
|
|
7496
7496
|
"avatar-url": z.avatar,
|
|
7497
7497
|
"is-closable": !0,
|
|
@@ -7506,14 +7506,14 @@ const K5 = {
|
|
|
7506
7506
|
])),
|
|
7507
7507
|
f("fieldset", _7, [
|
|
7508
7508
|
f("div", g7, [
|
|
7509
|
-
|
|
7510
|
-
|
|
7509
|
+
S(ce, { name: "SelectCheckBox" }),
|
|
7510
|
+
S(Ce, {
|
|
7511
7511
|
level: 4,
|
|
7512
7512
|
title: h.$t("activity.tasks.title")
|
|
7513
7513
|
}, null, 8, ["title"])
|
|
7514
7514
|
]),
|
|
7515
7515
|
f("div", y7, [
|
|
7516
|
-
|
|
7516
|
+
S(k5, {
|
|
7517
7517
|
class: "ao-activity-details__tasks ao-field__row",
|
|
7518
7518
|
tasks: h.activity.tasks || [],
|
|
7519
7519
|
"activity-id": h.activity.id,
|
|
@@ -7529,8 +7529,8 @@ const K5 = {
|
|
|
7529
7529
|
]),
|
|
7530
7530
|
f("fieldset", b7, [
|
|
7531
7531
|
f("div", w7, [
|
|
7532
|
-
|
|
7533
|
-
|
|
7532
|
+
S(ce, { name: "FlowsheetOutlineRounded" }),
|
|
7533
|
+
S(Ce, {
|
|
7534
7534
|
level: 4,
|
|
7535
7535
|
title: h.$t("activity.dependencies.title")
|
|
7536
7536
|
}, null, 8, ["title"])
|
|
@@ -7539,7 +7539,7 @@ const K5 = {
|
|
|
7539
7539
|
f("div", M7, [
|
|
7540
7540
|
f("label", k7, [
|
|
7541
7541
|
f("span", A7, Z(h.$t("activity.dependingOn.label")), 1),
|
|
7542
|
-
|
|
7542
|
+
S(be, {
|
|
7543
7543
|
modelValue: u.value,
|
|
7544
7544
|
"onUpdate:modelValue": O[5] || (O[5] = (z) => u.value = z),
|
|
7545
7545
|
mode: "tags",
|
|
@@ -7554,7 +7554,7 @@ const K5 = {
|
|
|
7554
7554
|
f("div", T7, [
|
|
7555
7555
|
f("label", S7, [
|
|
7556
7556
|
f("span", E7, Z(h.$t("activity.blocking.label")), 1),
|
|
7557
|
-
|
|
7557
|
+
S(be, {
|
|
7558
7558
|
modelValue: p.value,
|
|
7559
7559
|
"onUpdate:modelValue": O[6] || (O[6] = (z) => p.value = z),
|
|
7560
7560
|
mode: "tags",
|
|
@@ -7569,7 +7569,7 @@ const K5 = {
|
|
|
7569
7569
|
f("div", I7, [
|
|
7570
7570
|
f("label", O7, [
|
|
7571
7571
|
f("span", L7, Z(h.$t("activity.dependingMilestone.label")), 1),
|
|
7572
|
-
|
|
7572
|
+
S(be, {
|
|
7573
7573
|
modelValue: $.value,
|
|
7574
7574
|
"onUpdate:modelValue": O[7] || (O[7] = (z) => $.value = z),
|
|
7575
7575
|
mode: "tags",
|
|
@@ -7587,7 +7587,7 @@ const K5 = {
|
|
|
7587
7587
|
h.activityTypes ? (c(), m("div", D7, [
|
|
7588
7588
|
f("label", H7, [
|
|
7589
7589
|
f("span", P7, Z(h.$t("activity.type.label")), 1),
|
|
7590
|
-
|
|
7590
|
+
S(be, {
|
|
7591
7591
|
modelValue: r.value,
|
|
7592
7592
|
"onUpdate:modelValue": O[8] || (O[8] = (z) => r.value = z),
|
|
7593
7593
|
mode: "single",
|
|
@@ -7599,31 +7599,31 @@ const K5 = {
|
|
|
7599
7599
|
}, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
7600
7600
|
])
|
|
7601
7601
|
])) : k("", !0),
|
|
7602
|
-
X(h.$slots, "default")
|
|
7602
|
+
X(h.$slots, "default", { activity: h.activity })
|
|
7603
7603
|
])
|
|
7604
7604
|
]),
|
|
7605
7605
|
h.isTemplate !== !0 && h.userId ? (c(), m("div", B7, [
|
|
7606
7606
|
f("div", N7, [
|
|
7607
|
-
|
|
7608
|
-
|
|
7607
|
+
S(ce, { name: "AttachFileRounded" }),
|
|
7608
|
+
S(Ce, {
|
|
7609
7609
|
level: 4,
|
|
7610
7610
|
title: h.$t("activity.attachments.title")
|
|
7611
7611
|
}, null, 8, ["title"])
|
|
7612
7612
|
]),
|
|
7613
|
-
|
|
7613
|
+
S(D5, {
|
|
7614
7614
|
attachments: h.activity.attachments,
|
|
7615
7615
|
"is-editable": h.isEditable,
|
|
7616
7616
|
onAdd: W,
|
|
7617
7617
|
onRemove: H
|
|
7618
7618
|
}, null, 8, ["attachments", "is-editable"]),
|
|
7619
7619
|
f("div", R7, [
|
|
7620
|
-
|
|
7621
|
-
|
|
7620
|
+
S(ce, { name: "ChatOutline" }),
|
|
7621
|
+
S(Ce, {
|
|
7622
7622
|
level: 4,
|
|
7623
7623
|
title: h.$t("activity.comments.title")
|
|
7624
7624
|
}, null, 8, ["title"])
|
|
7625
7625
|
]),
|
|
7626
|
-
|
|
7626
|
+
S(Y5, {
|
|
7627
7627
|
comments: h.activity.comments,
|
|
7628
7628
|
users: h.users,
|
|
7629
7629
|
"user-id": h.userId,
|
|
@@ -7713,22 +7713,22 @@ const U7 = /* @__PURE__ */ K({
|
|
|
7713
7713
|
}), A = b(() => Object.values($d));
|
|
7714
7714
|
return (g, y) => (c(), R(Xe(g.tagName), { class: "ao-rule-line" }, {
|
|
7715
7715
|
default: U(() => [
|
|
7716
|
-
|
|
7716
|
+
S(q(We), {
|
|
7717
7717
|
modelValue: s.value,
|
|
7718
7718
|
"onUpdate:modelValue": y[0] || (y[0] = (L) => s.value = L),
|
|
7719
7719
|
options: o.value
|
|
7720
7720
|
}, null, 8, ["modelValue", "options"]),
|
|
7721
|
-
|
|
7721
|
+
S(q(We), {
|
|
7722
7722
|
modelValue: i.value,
|
|
7723
7723
|
"onUpdate:modelValue": y[1] || (y[1] = (L) => i.value = L),
|
|
7724
7724
|
options: l.value
|
|
7725
7725
|
}, null, 8, ["modelValue", "options"]),
|
|
7726
|
-
|
|
7726
|
+
S(q(We), {
|
|
7727
7727
|
modelValue: p.value,
|
|
7728
7728
|
"onUpdate:modelValue": y[2] || (y[2] = (L) => p.value = L),
|
|
7729
7729
|
options: C.value
|
|
7730
7730
|
}, null, 8, ["modelValue", "options"]),
|
|
7731
|
-
|
|
7731
|
+
S(q(We), {
|
|
7732
7732
|
modelValue: d.value,
|
|
7733
7733
|
"onUpdate:modelValue": y[3] || (y[3] = (L) => d.value = L),
|
|
7734
7734
|
options: u.value
|
|
@@ -7745,12 +7745,12 @@ const U7 = /* @__PURE__ */ K({
|
|
|
7745
7745
|
{ number: !0 }
|
|
7746
7746
|
]
|
|
7747
7747
|
]),
|
|
7748
|
-
|
|
7748
|
+
S(q(We), {
|
|
7749
7749
|
modelValue: $.value,
|
|
7750
7750
|
"onUpdate:modelValue": y[5] || (y[5] = (L) => $.value = L),
|
|
7751
7751
|
options: A.value
|
|
7752
7752
|
}, null, 8, ["modelValue", "options"]),
|
|
7753
|
-
|
|
7753
|
+
S(fe, {
|
|
7754
7754
|
class: "ao-rule-line__remove",
|
|
7755
7755
|
"icon-name": "CloseRounded",
|
|
7756
7756
|
variant: "ghost",
|
|
@@ -7777,9 +7777,9 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
|
|
|
7777
7777
|
}, n = (s) => {
|
|
7778
7778
|
e("removeRule", s);
|
|
7779
7779
|
};
|
|
7780
|
-
return (s, o) => (c(), R(
|
|
7780
|
+
return (s, o) => (c(), R(D1, null, {
|
|
7781
7781
|
header: U(() => [
|
|
7782
|
-
|
|
7782
|
+
S(Ce, {
|
|
7783
7783
|
title: s.$t("template.rules.title"),
|
|
7784
7784
|
level: 2
|
|
7785
7785
|
}, null, 8, ["title"])
|
|
@@ -7797,7 +7797,7 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
|
|
|
7797
7797
|
onClose: () => n(i.id)
|
|
7798
7798
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
7799
7799
|
]),
|
|
7800
|
-
|
|
7800
|
+
S(Je, {
|
|
7801
7801
|
label: s.$t("template.rules.add"),
|
|
7802
7802
|
"icon-name": "Add",
|
|
7803
7803
|
onClick: t
|
|
@@ -8067,17 +8067,17 @@ const q7 = {
|
|
|
8067
8067
|
return (I, V) => {
|
|
8068
8068
|
var F, ne, M, Y, ie, B;
|
|
8069
8069
|
return s.value ? (c(), m("div", q7, [
|
|
8070
|
-
|
|
8070
|
+
S(d1, {
|
|
8071
8071
|
"can-go-back": !0,
|
|
8072
|
-
onGoBack: V[1] || (V[1] = (
|
|
8072
|
+
onGoBack: V[1] || (V[1] = (T) => I.$router.push({ name: q(ft).TEMPLATES_LIST }))
|
|
8073
8073
|
}, {
|
|
8074
8074
|
primary: U(() => [
|
|
8075
|
-
|
|
8075
|
+
S(Ce, {
|
|
8076
8076
|
title: p.value,
|
|
8077
8077
|
level: 2,
|
|
8078
8078
|
"is-editable": !0,
|
|
8079
|
-
"onUpdate:title": V[0] || (V[0] = (
|
|
8080
|
-
w(
|
|
8079
|
+
"onUpdate:title": V[0] || (V[0] = (T) => {
|
|
8080
|
+
w(T);
|
|
8081
8081
|
})
|
|
8082
8082
|
}, null, 8, ["title"])
|
|
8083
8083
|
]),
|
|
@@ -8086,7 +8086,7 @@ const q7 = {
|
|
|
8086
8086
|
f("div", z7, [
|
|
8087
8087
|
f("ol", W7, [
|
|
8088
8088
|
f("li", Y7, [
|
|
8089
|
-
|
|
8089
|
+
S(q(Qe), {
|
|
8090
8090
|
"model-value": s.value.phases,
|
|
8091
8091
|
class: "ao-templates__list",
|
|
8092
8092
|
"item-key": "id",
|
|
@@ -8094,34 +8094,34 @@ const q7 = {
|
|
|
8094
8094
|
onChange: h
|
|
8095
8095
|
}, {
|
|
8096
8096
|
header: U(() => [
|
|
8097
|
-
|
|
8097
|
+
S(Ce, {
|
|
8098
8098
|
title: I.$t("template.phases.title"),
|
|
8099
8099
|
level: 3,
|
|
8100
8100
|
class: "ao-list__title"
|
|
8101
8101
|
}, null, 8, ["title"])
|
|
8102
8102
|
]),
|
|
8103
|
-
item: U(({ element:
|
|
8103
|
+
item: U(({ element: T }) => {
|
|
8104
8104
|
var N;
|
|
8105
8105
|
return [
|
|
8106
|
-
|
|
8107
|
-
id:
|
|
8108
|
-
name:
|
|
8109
|
-
milestones:
|
|
8110
|
-
"is-active": ((N = i.value) == null ? void 0 : N.id) ===
|
|
8106
|
+
S(W0, {
|
|
8107
|
+
id: T.id,
|
|
8108
|
+
name: T.name,
|
|
8109
|
+
milestones: T.milestones,
|
|
8110
|
+
"is-active": ((N = i.value) == null ? void 0 : N.id) === T.id,
|
|
8111
8111
|
"is-draggable": !0,
|
|
8112
8112
|
onClick: (pe) => I.$router.push({
|
|
8113
|
-
params: { templateId: I.templateId, phaseId:
|
|
8113
|
+
params: { templateId: I.templateId, phaseId: T.id }
|
|
8114
8114
|
}),
|
|
8115
8115
|
"onUpdate:title": (pe) => {
|
|
8116
|
-
A(
|
|
8116
|
+
A(T.id, pe);
|
|
8117
8117
|
},
|
|
8118
|
-
onRemove: () => $(
|
|
8118
|
+
onRemove: () => $(T.id)
|
|
8119
8119
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
8120
8120
|
];
|
|
8121
8121
|
}),
|
|
8122
8122
|
footer: U(() => [
|
|
8123
8123
|
f("div", K7, [
|
|
8124
|
-
|
|
8124
|
+
S(Je, {
|
|
8125
8125
|
"icon-name": "AddBoxOutlineRounded",
|
|
8126
8126
|
label: I.$t("template.phases.add"),
|
|
8127
8127
|
onClick: C
|
|
@@ -8158,7 +8158,7 @@ const q7 = {
|
|
|
8158
8158
|
])
|
|
8159
8159
|
]),
|
|
8160
8160
|
(c(), R(It, { to: "body" }, [
|
|
8161
|
-
u.value ? (c(), R(
|
|
8161
|
+
u.value ? (c(), R(U1, {
|
|
8162
8162
|
key: 0,
|
|
8163
8163
|
activity: u.value,
|
|
8164
8164
|
"activity-types": v.value,
|
|
@@ -8169,8 +8169,8 @@ const q7 = {
|
|
|
8169
8169
|
"is-template": !0,
|
|
8170
8170
|
"is-editable": !0,
|
|
8171
8171
|
users: I.users,
|
|
8172
|
-
"onUpdate:activity": V[2] || (V[2] = (
|
|
8173
|
-
u.value && G(
|
|
8172
|
+
"onUpdate:activity": V[2] || (V[2] = (T) => {
|
|
8173
|
+
u.value && G(T);
|
|
8174
8174
|
}),
|
|
8175
8175
|
onClose: I.$router.back,
|
|
8176
8176
|
onAddSubtask: O,
|
|
@@ -8179,8 +8179,8 @@ const q7 = {
|
|
|
8179
8179
|
onAddFiles: re,
|
|
8180
8180
|
onRemoveFile: oe
|
|
8181
8181
|
}, {
|
|
8182
|
-
default: U(() => [
|
|
8183
|
-
X(I.$slots, "activityDetailsBody")
|
|
8182
|
+
default: U((T) => [
|
|
8183
|
+
X(I.$slots, "activityDetailsBody", a1(s1(T)))
|
|
8184
8184
|
]),
|
|
8185
8185
|
_: 3
|
|
8186
8186
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : k("", !0)
|
|
@@ -8208,7 +8208,7 @@ const Q7 = {
|
|
|
8208
8208
|
}, J7 = { class: "ao-card__body" }, e9 = {
|
|
8209
8209
|
key: 1,
|
|
8210
8210
|
class: "ao-card__footer"
|
|
8211
|
-
},
|
|
8211
|
+
}, j1 = /* @__PURE__ */ K({
|
|
8212
8212
|
__name: "AoCard",
|
|
8213
8213
|
props: {
|
|
8214
8214
|
isClickable: { type: Boolean },
|
|
@@ -8233,7 +8233,7 @@ const Q7 = {
|
|
|
8233
8233
|
}, 8, ["class"]));
|
|
8234
8234
|
}
|
|
8235
8235
|
});
|
|
8236
|
-
const
|
|
8236
|
+
const Z1 = /* @__PURE__ */ K({
|
|
8237
8237
|
__name: "AoProgress",
|
|
8238
8238
|
props: {
|
|
8239
8239
|
percentages: {},
|
|
@@ -8248,7 +8248,7 @@ const U1 = /* @__PURE__ */ K({
|
|
|
8248
8248
|
(c(!0), m(ve, null, ye(t.value, (o) => (c(), m("div", {
|
|
8249
8249
|
key: o,
|
|
8250
8250
|
class: x(["ao-progress__progress"]),
|
|
8251
|
-
style:
|
|
8251
|
+
style: ca({ width: `${o * 100}%` })
|
|
8252
8252
|
}, null, 4))), 128))
|
|
8253
8253
|
], 2));
|
|
8254
8254
|
}
|
|
@@ -8274,11 +8274,11 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
|
|
|
8274
8274
|
return (l = t.milestones) == null ? void 0 : l.length;
|
|
8275
8275
|
}), o = b(() => {
|
|
8276
8276
|
var l;
|
|
8277
|
-
return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status ===
|
|
8277
|
+
return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === T1.done).length;
|
|
8278
8278
|
}), i = b(() => (o.value || 0) / (s.value || 1));
|
|
8279
|
-
return (l, r) => (c(), R(
|
|
8279
|
+
return (l, r) => (c(), R(j1, { class: "ao-card-project-phase" }, t1({
|
|
8280
8280
|
default: U(() => [
|
|
8281
|
-
|
|
8281
|
+
S(Ce, {
|
|
8282
8282
|
id: l.id,
|
|
8283
8283
|
class: "ao-card-project-phase__title",
|
|
8284
8284
|
title: l.name || "",
|
|
@@ -8292,13 +8292,13 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
|
|
|
8292
8292
|
f("div", s9, [
|
|
8293
8293
|
s.value ? (c(), m(ve, { key: 0 }, [
|
|
8294
8294
|
f("div", n9, [
|
|
8295
|
-
|
|
8295
|
+
S(ce, {
|
|
8296
8296
|
name: "MountainFlagOutlineRounded",
|
|
8297
8297
|
size: "sm"
|
|
8298
8298
|
}),
|
|
8299
8299
|
f("span", i9, Z(o.value) + " / " + Z(s.value), 1)
|
|
8300
8300
|
]),
|
|
8301
|
-
|
|
8301
|
+
S(Z1, {
|
|
8302
8302
|
percentages: i.value,
|
|
8303
8303
|
class: "ao-card-project-phase__progress"
|
|
8304
8304
|
}, null, 8, ["percentages"])
|
|
@@ -8315,7 +8315,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
|
|
|
8315
8315
|
name: "header",
|
|
8316
8316
|
fn: U(() => [
|
|
8317
8317
|
f("div", t9, [
|
|
8318
|
-
|
|
8318
|
+
S(fe, {
|
|
8319
8319
|
class: "ao-card-project-phase__archive",
|
|
8320
8320
|
color: "primary",
|
|
8321
8321
|
variant: "ghost",
|
|
@@ -8355,18 +8355,18 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
|
8355
8355
|
return (l = t.activities) == null ? void 0 : l.length;
|
|
8356
8356
|
}), s = b(() => {
|
|
8357
8357
|
var l;
|
|
8358
|
-
return (l = t.activities) == null ? void 0 : l.filter((r) =>
|
|
8358
|
+
return (l = t.activities) == null ? void 0 : l.filter((r) => Sa(r, t.closedStatus)).length;
|
|
8359
8359
|
}), o = b(() => (s.value || 0) / (n.value || 1)), i = (l) => {
|
|
8360
8360
|
e("updateMilestone", { id: t.id, name: l });
|
|
8361
8361
|
};
|
|
8362
|
-
return (l, r) => (c(), R(
|
|
8362
|
+
return (l, r) => (c(), R(j1, {
|
|
8363
8363
|
class: "ao-card-project-milestone",
|
|
8364
8364
|
"is-clickable": !0,
|
|
8365
8365
|
"tag-name": "li"
|
|
8366
8366
|
}, {
|
|
8367
8367
|
default: U(() => [
|
|
8368
8368
|
f("div", r9, [
|
|
8369
|
-
|
|
8369
|
+
S(Ce, {
|
|
8370
8370
|
id: l.id,
|
|
8371
8371
|
title: l.name || "",
|
|
8372
8372
|
level: 5,
|
|
@@ -8375,7 +8375,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
|
8375
8375
|
"onUpdate:title": i
|
|
8376
8376
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8377
8377
|
l.isEditable ? (c(), m("div", u9, [
|
|
8378
|
-
|
|
8378
|
+
S(fe, {
|
|
8379
8379
|
color: "primary",
|
|
8380
8380
|
variant: "ghost",
|
|
8381
8381
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -8393,13 +8393,13 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
|
8393
8393
|
f("div", c9, [
|
|
8394
8394
|
n.value ? (c(), m(ve, { key: 0 }, [
|
|
8395
8395
|
f("div", f9, [
|
|
8396
|
-
|
|
8396
|
+
S(ce, {
|
|
8397
8397
|
name: "SelectCheckBox",
|
|
8398
8398
|
size: "sm"
|
|
8399
8399
|
}),
|
|
8400
8400
|
f("span", v9, Z(s.value) + " / " + Z(n.value), 1)
|
|
8401
8401
|
]),
|
|
8402
|
-
|
|
8402
|
+
S(Z1, {
|
|
8403
8403
|
percentages: o.value,
|
|
8404
8404
|
class: "ao-card-project-phase__progress"
|
|
8405
8405
|
}, null, 8, ["percentages"])
|
|
@@ -8453,13 +8453,13 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8453
8453
|
};
|
|
8454
8454
|
return (v, p) => (c(), m("li", m9, [
|
|
8455
8455
|
v.isEditable ? (c(), m("div", C9, [
|
|
8456
|
-
|
|
8456
|
+
S(ce, {
|
|
8457
8457
|
name: "DragIndicator",
|
|
8458
8458
|
class: "ao-project-phase__drag-handle"
|
|
8459
8459
|
})
|
|
8460
8460
|
])) : k("", !0),
|
|
8461
8461
|
f("div", _9, [
|
|
8462
|
-
|
|
8462
|
+
S(l9, {
|
|
8463
8463
|
id: v.phase.id,
|
|
8464
8464
|
milestones: o.value,
|
|
8465
8465
|
name: v.phase.name,
|
|
@@ -8470,7 +8470,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8470
8470
|
]),
|
|
8471
8471
|
f("div", g9, [
|
|
8472
8472
|
f("div", y9, [
|
|
8473
|
-
|
|
8473
|
+
S(q(Qe), Ee({
|
|
8474
8474
|
class: "ao-project-phase__milestones-list",
|
|
8475
8475
|
list: o.value,
|
|
8476
8476
|
disabled: !v.isEditable,
|
|
@@ -8478,7 +8478,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8478
8478
|
group: "kanban"
|
|
8479
8479
|
}, v.$attrs, { onChange: u }), {
|
|
8480
8480
|
item: U(({ element: C }) => [
|
|
8481
|
-
|
|
8481
|
+
S(h9, {
|
|
8482
8482
|
id: C.id,
|
|
8483
8483
|
name: C.name,
|
|
8484
8484
|
activities: C.activities,
|
|
@@ -8548,7 +8548,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
|
|
|
8548
8548
|
e("addPhase", u);
|
|
8549
8549
|
};
|
|
8550
8550
|
return (u, v) => (c(), m("div", $9, [
|
|
8551
|
-
|
|
8551
|
+
S(q(Qe), {
|
|
8552
8552
|
class: "ao-project-phase__phases-list",
|
|
8553
8553
|
"model-value": u.phases,
|
|
8554
8554
|
"item-key": "id",
|
|
@@ -8556,7 +8556,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
|
|
|
8556
8556
|
onChange: l
|
|
8557
8557
|
}, {
|
|
8558
8558
|
item: U(({ element: p }) => [
|
|
8559
|
-
|
|
8559
|
+
S(w9, {
|
|
8560
8560
|
phase: p,
|
|
8561
8561
|
"is-editable": u.isEditable,
|
|
8562
8562
|
"closed-status": u.closedStatus,
|
|
@@ -8572,7 +8572,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
|
|
|
8572
8572
|
u.isEditable ? (c(), m("div", M9, [
|
|
8573
8573
|
k9,
|
|
8574
8574
|
f("div", A9, [
|
|
8575
|
-
|
|
8575
|
+
S(Je, {
|
|
8576
8576
|
label: u.$t("project.phases.add"),
|
|
8577
8577
|
"icon-name": "Add",
|
|
8578
8578
|
class: "ao-project-phase__add-phase",
|
|
@@ -8600,9 +8600,9 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
|
|
|
8600
8600
|
}, i = () => {
|
|
8601
8601
|
s.value && e("apply", s.value, t.projectId);
|
|
8602
8602
|
};
|
|
8603
|
-
return (l, r) => (c(), R(
|
|
8603
|
+
return (l, r) => (c(), R(D1, { size: "sm" }, {
|
|
8604
8604
|
header: U(() => [
|
|
8605
|
-
|
|
8605
|
+
S(Ce, {
|
|
8606
8606
|
title: l.$t("project.template.add.title"),
|
|
8607
8607
|
level: 3
|
|
8608
8608
|
}, null, 8, ["title"])
|
|
@@ -8614,7 +8614,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
|
|
|
8614
8614
|
}, [
|
|
8615
8615
|
f("div", I9, [
|
|
8616
8616
|
f("div", O9, [
|
|
8617
|
-
|
|
8617
|
+
S(be, {
|
|
8618
8618
|
value: s.value,
|
|
8619
8619
|
options: n.value,
|
|
8620
8620
|
detached: !0,
|
|
@@ -8623,7 +8623,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
|
|
|
8623
8623
|
])
|
|
8624
8624
|
]),
|
|
8625
8625
|
f("footer", L9, [
|
|
8626
|
-
|
|
8626
|
+
S(fe, {
|
|
8627
8627
|
label: l.$t("project.template.add.label"),
|
|
8628
8628
|
type: "submit",
|
|
8629
8629
|
color: "primary",
|
|
@@ -8689,7 +8689,7 @@ function P9(a, e, t, n, s, o) {
|
|
|
8689
8689
|
}, Z(a.rightLabel), 3)
|
|
8690
8690
|
]);
|
|
8691
8691
|
}
|
|
8692
|
-
const
|
|
8692
|
+
const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237"]]), B9 = { class: "ao-project" }, N9 = { class: "ao-project__body" }, R9 = /* @__PURE__ */ K({
|
|
8693
8693
|
__name: "AoProjectOverviewProject",
|
|
8694
8694
|
props: {
|
|
8695
8695
|
project: {},
|
|
@@ -8751,9 +8751,9 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
|
|
|
8751
8751
|
return c(), m(ve, null, [
|
|
8752
8752
|
f("div", Ee({ class: "ao-project-overview" }, E.$attrs), [
|
|
8753
8753
|
f("div", B9, [
|
|
8754
|
-
|
|
8754
|
+
S(d1, null, {
|
|
8755
8755
|
primary: U(() => [
|
|
8756
|
-
|
|
8756
|
+
S(Ra, {
|
|
8757
8757
|
"is-left": !0,
|
|
8758
8758
|
"right-label": E.$t("project.switch.feed"),
|
|
8759
8759
|
"left-label": E.$t("project.switch.overview"),
|
|
@@ -8772,7 +8772,7 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
|
|
|
8772
8772
|
_: 1
|
|
8773
8773
|
}),
|
|
8774
8774
|
f("div", N9, [
|
|
8775
|
-
|
|
8775
|
+
S(S9, {
|
|
8776
8776
|
phases: E.phases,
|
|
8777
8777
|
"closed-status": E.closedStatus,
|
|
8778
8778
|
"is-editable": E.isEditable,
|
|
@@ -8785,7 +8785,7 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
|
|
|
8785
8785
|
}, null, 8, ["phases", "closed-status", "is-editable"])
|
|
8786
8786
|
])
|
|
8787
8787
|
]),
|
|
8788
|
-
|
|
8788
|
+
S(de, {
|
|
8789
8789
|
class: "ao-project__sidebar",
|
|
8790
8790
|
phases: E.phases,
|
|
8791
8791
|
"project-id": E.project.id,
|
|
@@ -8798,7 +8798,7 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
|
|
|
8798
8798
|
onArchiveActivity: C
|
|
8799
8799
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable"]),
|
|
8800
8800
|
(c(), R(It, { to: "body" }, [
|
|
8801
|
-
|
|
8801
|
+
S(de, {
|
|
8802
8802
|
name: "modal",
|
|
8803
8803
|
activities: g.value,
|
|
8804
8804
|
"is-task-checkable": E.isTaskCheckable,
|
|
@@ -8819,8 +8819,8 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
|
|
|
8819
8819
|
}, {
|
|
8820
8820
|
default: U(({ Component: h }) => [
|
|
8821
8821
|
(c(), R(Xe(h), null, {
|
|
8822
|
-
default: U(() => [
|
|
8823
|
-
X(E.$slots, "activityDetailsBody")
|
|
8822
|
+
default: U((O) => [
|
|
8823
|
+
X(E.$slots, "activityDetailsBody", a1(s1(O)))
|
|
8824
8824
|
]),
|
|
8825
8825
|
_: 2
|
|
8826
8826
|
}, 1024))
|
|
@@ -8869,7 +8869,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8869
8869
|
}, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__footer-row" }, a4 = {
|
|
8870
8870
|
key: 0,
|
|
8871
8871
|
class: "ao-card-feed__progress-wrapper"
|
|
8872
|
-
}, s4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" },
|
|
8872
|
+
}, s4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ K({
|
|
8873
8873
|
__name: "AoCardFeed",
|
|
8874
8874
|
props: {
|
|
8875
8875
|
id: {},
|
|
@@ -8894,7 +8894,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8894
8894
|
id: t.id,
|
|
8895
8895
|
name: p
|
|
8896
8896
|
});
|
|
8897
|
-
}, s = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() =>
|
|
8897
|
+
}, s = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() => S1(t.deadline)), l = (p) => {
|
|
8898
8898
|
const { firstName: C, lastName: w } = p || {};
|
|
8899
8899
|
return `${C ?? ""}${C ? " " : ""}${w ?? ""}`;
|
|
8900
8900
|
}, r = (p) => {
|
|
@@ -8906,13 +8906,13 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8906
8906
|
var p;
|
|
8907
8907
|
return (p = t.tasks) == null ? void 0 : p.filter((C) => C.isDone).length;
|
|
8908
8908
|
}), v = b(() => (u.value || 0) / (d.value || 1));
|
|
8909
|
-
return (p, C) => (c(), R(
|
|
8909
|
+
return (p, C) => (c(), R(j1, {
|
|
8910
8910
|
class: "ao-card-feed",
|
|
8911
8911
|
"is-clickable": !0
|
|
8912
8912
|
}, {
|
|
8913
8913
|
header: U(() => [
|
|
8914
8914
|
f("div", U9, [
|
|
8915
|
-
p.projectName ? (c(), R(
|
|
8915
|
+
p.projectName ? (c(), R(O1, {
|
|
8916
8916
|
key: 0,
|
|
8917
8917
|
label: p.projectName,
|
|
8918
8918
|
class: "ao-card-feed__project",
|
|
@@ -8942,7 +8942,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8942
8942
|
default: U(() => [
|
|
8943
8943
|
f("div", F9, [
|
|
8944
8944
|
s.value ? (c(), m("span", q9, Z(s.value), 1)) : k("", !0),
|
|
8945
|
-
|
|
8945
|
+
S(Ce, {
|
|
8946
8946
|
id: p.id,
|
|
8947
8947
|
title: p.name,
|
|
8948
8948
|
level: 5,
|
|
@@ -8960,7 +8960,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8960
8960
|
key: w.id
|
|
8961
8961
|
}, [
|
|
8962
8962
|
w ? (c(), m("li", G9, [
|
|
8963
|
-
|
|
8963
|
+
S(gt, {
|
|
8964
8964
|
"user-name": l(w),
|
|
8965
8965
|
"avatar-url": w.avatarUrl,
|
|
8966
8966
|
"is-closable": !0,
|
|
@@ -8971,14 +8971,14 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8971
8971
|
]),
|
|
8972
8972
|
p.comments || p.attachments ? (c(), m("ul", x9, [
|
|
8973
8973
|
p.comments ? (c(), m("li", X9, [
|
|
8974
|
-
|
|
8974
|
+
S(ce, {
|
|
8975
8975
|
name: "ChatOutline",
|
|
8976
8976
|
size: "sm"
|
|
8977
8977
|
}),
|
|
8978
8978
|
f("span", Q9, Z(p.comments), 1)
|
|
8979
8979
|
])) : k("", !0),
|
|
8980
8980
|
p.attachments ? (c(), m("li", J9, [
|
|
8981
|
-
|
|
8981
|
+
S(ce, {
|
|
8982
8982
|
name: "AttachFileRounded",
|
|
8983
8983
|
size: "sm"
|
|
8984
8984
|
}),
|
|
@@ -8989,13 +8989,13 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8989
8989
|
f("div", t4, [
|
|
8990
8990
|
p.tasks && p.tasks.length ? (c(), m("div", a4, [
|
|
8991
8991
|
f("div", s4, [
|
|
8992
|
-
|
|
8992
|
+
S(ce, {
|
|
8993
8993
|
name: "SelectCheckBox",
|
|
8994
8994
|
size: "sm"
|
|
8995
8995
|
}),
|
|
8996
8996
|
f("span", n4, Z(u.value) + " / " + Z(d.value), 1)
|
|
8997
8997
|
]),
|
|
8998
|
-
|
|
8998
|
+
S(Z1, {
|
|
8999
8999
|
percentages: v.value,
|
|
9000
9000
|
class: "ao-card-feed__progress"
|
|
9001
9001
|
}, null, 8, ["percentages"])
|
|
@@ -9010,7 +9010,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
9010
9010
|
const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-milestone__header" }, l4 = { class: "ao-project-milestone__title" }, r4 = { class: "ao-project-milestone__body" }, u4 = {
|
|
9011
9011
|
key: 0,
|
|
9012
9012
|
class: "ao-project-milestone__footer"
|
|
9013
|
-
},
|
|
9013
|
+
}, da = /* @__PURE__ */ K({
|
|
9014
9014
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
9015
9015
|
props: {
|
|
9016
9016
|
milestoneId: {},
|
|
@@ -9066,19 +9066,19 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9066
9066
|
f("header", o4, [
|
|
9067
9067
|
f("div", l4, [
|
|
9068
9068
|
f("span", null, Z(p.$t("project.milestone.title")), 1),
|
|
9069
|
-
|
|
9069
|
+
S(Ce, {
|
|
9070
9070
|
title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
|
|
9071
9071
|
level: 5
|
|
9072
9072
|
}, null, 8, ["title"])
|
|
9073
9073
|
]),
|
|
9074
|
-
|
|
9074
|
+
S(fe, {
|
|
9075
9075
|
"icon-name": "CloseRounded",
|
|
9076
9076
|
variant: "ghost",
|
|
9077
9077
|
onClick: r
|
|
9078
9078
|
})
|
|
9079
9079
|
]),
|
|
9080
9080
|
f("div", r4, [
|
|
9081
|
-
|
|
9081
|
+
S(q(Qe), Ee({
|
|
9082
9082
|
class: "ao-project-milestone__activities",
|
|
9083
9083
|
list: l.value,
|
|
9084
9084
|
disabled: !p.isEditable,
|
|
@@ -9088,7 +9088,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9088
9088
|
item: U(({ element: $ }) => {
|
|
9089
9089
|
var A, g, y, L;
|
|
9090
9090
|
return [
|
|
9091
|
-
|
|
9091
|
+
S(Ua, {
|
|
9092
9092
|
id: $.id,
|
|
9093
9093
|
name: $.name || $.id,
|
|
9094
9094
|
"phase-name": (A = s.value) == null ? void 0 : A.name,
|
|
@@ -9112,7 +9112,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9112
9112
|
p.isEditable ? {
|
|
9113
9113
|
name: "secondary",
|
|
9114
9114
|
fn: U(() => [
|
|
9115
|
-
|
|
9115
|
+
S(fe, {
|
|
9116
9116
|
color: "primary",
|
|
9117
9117
|
variant: "ghost",
|
|
9118
9118
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9131,7 +9131,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9131
9131
|
_: 1
|
|
9132
9132
|
}, 16, ["list", "disabled"]),
|
|
9133
9133
|
p.isEditable ? (c(), m("div", u4, [
|
|
9134
|
-
|
|
9134
|
+
S(Je, {
|
|
9135
9135
|
"icon-name": "Add",
|
|
9136
9136
|
label: p.$t("project.activity.add"),
|
|
9137
9137
|
onClick: d
|
|
@@ -9199,7 +9199,7 @@ const d4 = /* @__PURE__ */ K({
|
|
|
9199
9199
|
};
|
|
9200
9200
|
return (g, y) => {
|
|
9201
9201
|
var L, j;
|
|
9202
|
-
return i.value ? (c(), R(
|
|
9202
|
+
return i.value ? (c(), R(U1, {
|
|
9203
9203
|
key: 0,
|
|
9204
9204
|
activity: i.value,
|
|
9205
9205
|
"activity-types": l.value,
|
|
@@ -9238,12 +9238,12 @@ const d4 = /* @__PURE__ */ K({
|
|
|
9238
9238
|
},
|
|
9239
9239
|
setup(a) {
|
|
9240
9240
|
return (e, t) => (c(), m("header", c4, [
|
|
9241
|
-
|
|
9241
|
+
S(Ce, {
|
|
9242
9242
|
title: e.title,
|
|
9243
9243
|
class: "ao-col-header__title",
|
|
9244
9244
|
level: 4
|
|
9245
9245
|
}, null, 8, ["title"]),
|
|
9246
|
-
e.items ? (c(), R(
|
|
9246
|
+
e.items ? (c(), R(O1, {
|
|
9247
9247
|
key: 0,
|
|
9248
9248
|
label: e.items,
|
|
9249
9249
|
class: "ao-col-header__items",
|
|
@@ -9291,7 +9291,7 @@ function _4(a, e = 200, t = {}) {
|
|
|
9291
9291
|
a
|
|
9292
9292
|
);
|
|
9293
9293
|
}
|
|
9294
|
-
function
|
|
9294
|
+
function A1(a) {
|
|
9295
9295
|
var e;
|
|
9296
9296
|
const t = Jt(a);
|
|
9297
9297
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
@@ -9316,18 +9316,18 @@ function w4(a, e, t = {}) {
|
|
|
9316
9316
|
immediate: l = !0
|
|
9317
9317
|
} = t, r = b4(() => i && "IntersectionObserver" in i), d = b(() => {
|
|
9318
9318
|
const w = Jt(a);
|
|
9319
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
9319
|
+
return (Array.isArray(w) ? w : [w]).map(A1).filter(h4);
|
|
9320
9320
|
});
|
|
9321
9321
|
let u = St;
|
|
9322
9322
|
const v = J(l), p = r.value ? ue(
|
|
9323
|
-
() => [d.value,
|
|
9323
|
+
() => [d.value, A1(n), v.value],
|
|
9324
9324
|
([w, $]) => {
|
|
9325
9325
|
if (u(), !v.value || !w.length)
|
|
9326
9326
|
return;
|
|
9327
9327
|
const A = new IntersectionObserver(
|
|
9328
9328
|
e,
|
|
9329
9329
|
{
|
|
9330
|
-
root:
|
|
9330
|
+
root: A1($),
|
|
9331
9331
|
rootMargin: s,
|
|
9332
9332
|
threshold: o
|
|
9333
9333
|
}
|
|
@@ -9422,7 +9422,7 @@ const $4 = {
|
|
|
9422
9422
|
])
|
|
9423
9423
|
];
|
|
9424
9424
|
}) : k("", !0),
|
|
9425
|
-
|
|
9425
|
+
S(q(Qe), Ee({
|
|
9426
9426
|
class: "ao-list-kanban__list",
|
|
9427
9427
|
list: r.list,
|
|
9428
9428
|
"item-key": "id",
|
|
@@ -9434,7 +9434,7 @@ const $4 = {
|
|
|
9434
9434
|
item: U(({ element: u }) => {
|
|
9435
9435
|
var v, p, C, w, $, A, g, y;
|
|
9436
9436
|
return [
|
|
9437
|
-
|
|
9437
|
+
S(Ua, {
|
|
9438
9438
|
id: u.id,
|
|
9439
9439
|
name: u.name,
|
|
9440
9440
|
"project-name": (v = u.project) == null ? void 0 : v.name,
|
|
@@ -9479,7 +9479,7 @@ const $4 = {
|
|
|
9479
9479
|
}),
|
|
9480
9480
|
footer: U(() => [
|
|
9481
9481
|
r.isLoading ? (c(), m("div", k4, [
|
|
9482
|
-
|
|
9482
|
+
S(ce, { name: "Loading" })
|
|
9483
9483
|
])) : r.hasMore ? (c(), m("div", {
|
|
9484
9484
|
key: 2,
|
|
9485
9485
|
ref_key: "scrollEnd",
|
|
@@ -9529,11 +9529,11 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
9529
9529
|
(...r) => q(s) && q(s)(...r)),
|
|
9530
9530
|
onKeypress: Ye(n, ["enter"])
|
|
9531
9531
|
}, null, 40, L4),
|
|
9532
|
-
|
|
9532
|
+
S(ce, {
|
|
9533
9533
|
name: "SearchRounded",
|
|
9534
9534
|
class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
9535
9535
|
}, null, 8, ["class"]),
|
|
9536
|
-
|
|
9536
|
+
S(fe, {
|
|
9537
9537
|
"icon-name": "CloseRounded",
|
|
9538
9538
|
size: "sm",
|
|
9539
9539
|
color: "primary",
|
|
@@ -9597,7 +9597,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9597
9597
|
ue(
|
|
9598
9598
|
[() => t.statuses, () => t.activities, () => t.initialActivityId],
|
|
9599
9599
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9600
|
-
async ([M, Y, ie], [B,
|
|
9600
|
+
async ([M, Y, ie], [B, T]) => {
|
|
9601
9601
|
r.value = Object.fromEntries(
|
|
9602
9602
|
M.map((N) => [
|
|
9603
9603
|
N.id,
|
|
@@ -9606,7 +9606,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9606
9606
|
return ((Me = pe.status) == null ? void 0 : Me.id) === N.id;
|
|
9607
9607
|
})
|
|
9608
9608
|
])
|
|
9609
|
-
), ie && !d.value && (l(ie), d.value = !0), u.value && Ue(Y,
|
|
9609
|
+
), ie && !d.value && (l(ie), d.value = !0), u.value && Ue(Y, T);
|
|
9610
9610
|
},
|
|
9611
9611
|
{ immediate: !0 }
|
|
9612
9612
|
);
|
|
@@ -9615,15 +9615,17 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9615
9615
|
return !i.value || !i.value.milestone ? "" : `${((M = i.value.milestone.phase) == null ? void 0 : M.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
|
|
9616
9616
|
}), p = (M) => {
|
|
9617
9617
|
var N, pe;
|
|
9618
|
-
const Y = (N = t.activities) == null ? void 0 : N.at(-1), ie = Y ? Te.LexoRank.parse(Y.rank).genNext() : Te.LexoRank.middle(), B = ((pe = t.activities) == null ? void 0 : pe.length) ?? 0,
|
|
9618
|
+
const Y = (N = t.activities) == null ? void 0 : N.at(-1), ie = Y ? Te.LexoRank.parse(Y.rank).genNext() : Te.LexoRank.middle(), B = ((pe = t.activities) == null ? void 0 : pe.length) ?? 0, T = {
|
|
9619
9619
|
name: n("activity.defaultName", { idx: B + 1 }),
|
|
9620
9620
|
rank: ie.format(),
|
|
9621
9621
|
statusId: M.id
|
|
9622
9622
|
};
|
|
9623
|
-
t.filters.assigneeId.length > 0 && (
|
|
9623
|
+
t.filters.assigneeId.length > 0 && (T.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (T.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (T.typeId = t.filters.typeId[0]), u.value = !0, e("addActivity", T);
|
|
9624
9624
|
}, C = (M, Y) => {
|
|
9625
9625
|
u.value = !1, e("update:filters", { ...t.filters, [M]: Y });
|
|
9626
|
-
}, w = b(
|
|
9626
|
+
}, w = b(
|
|
9627
|
+
() => t.project ? [t.project] : t.projects ?? []
|
|
9628
|
+
), $ = b(() => w.value.map((M) => ({
|
|
9627
9629
|
value: M.id,
|
|
9628
9630
|
label: M.name
|
|
9629
9631
|
}))), A = b(() => {
|
|
@@ -9683,10 +9685,13 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9683
9685
|
label: M.name
|
|
9684
9686
|
}))), oe = b(() => {
|
|
9685
9687
|
var Y, ie, B;
|
|
9686
|
-
const M = (B = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : B.reduce(
|
|
9687
|
-
|
|
9688
|
-
|
|
9689
|
-
|
|
9688
|
+
const M = (B = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : B.reduce(
|
|
9689
|
+
(T, N) => [...T, ...N.milestones],
|
|
9690
|
+
[]
|
|
9691
|
+
);
|
|
9692
|
+
return M == null ? void 0 : M.map((T) => ({
|
|
9693
|
+
value: T.id,
|
|
9694
|
+
label: T.name
|
|
9690
9695
|
}));
|
|
9691
9696
|
}), I = (M) => {
|
|
9692
9697
|
i.value && e("update:activity", {
|
|
@@ -9713,10 +9718,10 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9713
9718
|
return (M, Y) => {
|
|
9714
9719
|
var ie;
|
|
9715
9720
|
return c(), m("div", B4, [
|
|
9716
|
-
|
|
9721
|
+
S(d1, null, {
|
|
9717
9722
|
primary: U(() => [
|
|
9718
9723
|
f("div", N4, [
|
|
9719
|
-
t.project ? (c(), R(
|
|
9724
|
+
t.project ? (c(), R(Ra, {
|
|
9720
9725
|
key: 0,
|
|
9721
9726
|
"is-left": !1,
|
|
9722
9727
|
"right-label": M.$t("project.switch.feed"),
|
|
@@ -9725,7 +9730,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9725
9730
|
B && M.$router.push({ name: q(He).project });
|
|
9726
9731
|
})
|
|
9727
9732
|
}, null, 8, ["right-label", "left-label"])) : k("", !0),
|
|
9728
|
-
|
|
9733
|
+
S(V4, {
|
|
9729
9734
|
"model-value": M.searchText,
|
|
9730
9735
|
placeholder: M.$t("feed.search.placeholder"),
|
|
9731
9736
|
class: "ao-feed__search",
|
|
@@ -9754,7 +9759,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9754
9759
|
placeholder: M.$t("feed.filters.activityType.placeholder"),
|
|
9755
9760
|
"onUpdate:modelValue": Y[2] || (Y[2] = (B) => C(q(dt).type, B))
|
|
9756
9761
|
}, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
|
|
9757
|
-
|
|
9762
|
+
S(be, {
|
|
9758
9763
|
"model-value": M.filters[q(dt).assignee],
|
|
9759
9764
|
mode: "tags",
|
|
9760
9765
|
options: g.value,
|
|
@@ -9764,18 +9769,21 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9764
9769
|
placeholder: M.$t("feed.filters.assignee.placeholder"),
|
|
9765
9770
|
"onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(q(dt).assignee, B))
|
|
9766
9771
|
}, {
|
|
9767
|
-
tag: U(({
|
|
9768
|
-
|
|
9772
|
+
tag: U(({
|
|
9773
|
+
option: B,
|
|
9774
|
+
handleTagRemove: T
|
|
9775
|
+
}) => [
|
|
9776
|
+
S(gt, {
|
|
9769
9777
|
"user-name": B.label,
|
|
9770
9778
|
"avatar-url": B.avatar,
|
|
9771
9779
|
"is-closable": !0,
|
|
9772
|
-
onClose: (N) =>
|
|
9780
|
+
onClose: (N) => T(B, N)
|
|
9773
9781
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
9774
9782
|
]),
|
|
9775
9783
|
_: 1
|
|
9776
9784
|
}, 8, ["model-value", "options", "placeholder"])
|
|
9777
9785
|
]),
|
|
9778
|
-
|
|
9786
|
+
S(fe, {
|
|
9779
9787
|
class: "ao-feed__show-archived",
|
|
9780
9788
|
size: "sm",
|
|
9781
9789
|
"icon-name": M.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -9806,7 +9814,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9806
9814
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
|
|
9807
9815
|
]),
|
|
9808
9816
|
(c(), R(It, { to: "body" }, [
|
|
9809
|
-
q(i) ? (c(), R(
|
|
9817
|
+
q(i) ? (c(), R(U1, {
|
|
9810
9818
|
key: 0,
|
|
9811
9819
|
activity: q(i),
|
|
9812
9820
|
"activity-types": A.value,
|
|
@@ -9830,12 +9838,12 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9830
9838
|
onRemoveComment: ae
|
|
9831
9839
|
}, {
|
|
9832
9840
|
header: U(() => {
|
|
9833
|
-
var B,
|
|
9841
|
+
var B, T, N;
|
|
9834
9842
|
return [
|
|
9835
9843
|
f("div", U4, [
|
|
9836
9844
|
re.value && !t.project ? (c(), m("label", j4, [
|
|
9837
9845
|
f("span", Z4, Z(M.$t("activity.project.label")), 1),
|
|
9838
|
-
|
|
9846
|
+
S(be, {
|
|
9839
9847
|
options: re.value,
|
|
9840
9848
|
value: (B = q(i).project) == null ? void 0 : B.id,
|
|
9841
9849
|
searchable: !0,
|
|
@@ -9846,9 +9854,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9846
9854
|
])) : k("", !0),
|
|
9847
9855
|
oe.value ? (c(), m("label", F4, [
|
|
9848
9856
|
f("span", q4, Z(M.$t("activity.milestone.label")), 1),
|
|
9849
|
-
|
|
9857
|
+
S(be, {
|
|
9850
9858
|
options: oe.value,
|
|
9851
|
-
value: (
|
|
9859
|
+
value: (T = q(i).milestone) == null ? void 0 : T.id,
|
|
9852
9860
|
searchable: !0,
|
|
9853
9861
|
disabled: !M.isEditable,
|
|
9854
9862
|
caret: M.isEditable,
|
|
@@ -9857,7 +9865,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9857
9865
|
])) : k("", !0),
|
|
9858
9866
|
F.value ? (c(), m("label", z4, [
|
|
9859
9867
|
f("span", W4, Z(M.$t("activity.status.label")), 1),
|
|
9860
|
-
|
|
9868
|
+
S(be, {
|
|
9861
9869
|
options: F.value,
|
|
9862
9870
|
value: (N = q(i).status) == null ? void 0 : N.id,
|
|
9863
9871
|
"can-clear": !1,
|
|
@@ -9870,12 +9878,12 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9870
9878
|
])
|
|
9871
9879
|
];
|
|
9872
9880
|
}),
|
|
9873
|
-
default: U(() => [
|
|
9881
|
+
default: U((B) => [
|
|
9874
9882
|
f("div", Y4, [
|
|
9875
9883
|
f("label", K4, [
|
|
9876
9884
|
f("span", G4, Z(M.$t("activity.deadline.label")), 1),
|
|
9877
9885
|
tt(f("input", {
|
|
9878
|
-
"onUpdate:modelValue": Y[5] || (Y[5] = (
|
|
9886
|
+
"onUpdate:modelValue": Y[5] || (Y[5] = (T) => W.value = T),
|
|
9879
9887
|
class: "ao-field__input",
|
|
9880
9888
|
type: "date"
|
|
9881
9889
|
}, null, 512), [
|
|
@@ -9888,7 +9896,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9888
9896
|
])
|
|
9889
9897
|
])
|
|
9890
9898
|
]),
|
|
9891
|
-
X(M.$slots, "activityDetailsBody")
|
|
9899
|
+
X(M.$slots, "activityDetailsBody", a1(s1(B)))
|
|
9892
9900
|
]),
|
|
9893
9901
|
_: 3
|
|
9894
9902
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
|
|
@@ -9941,7 +9949,7 @@ const ft = {
|
|
|
9941
9949
|
{
|
|
9942
9950
|
path: ":phaseId/:milestoneId",
|
|
9943
9951
|
name: He.milestone,
|
|
9944
|
-
component:
|
|
9952
|
+
component: da,
|
|
9945
9953
|
props: !0
|
|
9946
9954
|
},
|
|
9947
9955
|
{
|
|
@@ -9949,7 +9957,7 @@ const ft = {
|
|
|
9949
9957
|
name: He.activity,
|
|
9950
9958
|
props: { default: !0, modal: !0 },
|
|
9951
9959
|
components: {
|
|
9952
|
-
default:
|
|
9960
|
+
default: da,
|
|
9953
9961
|
modal: d4
|
|
9954
9962
|
}
|
|
9955
9963
|
}
|
|
@@ -10004,9 +10012,9 @@ const ft = {
|
|
|
10004
10012
|
}
|
|
10005
10013
|
};
|
|
10006
10014
|
return (l, r) => (c(), m("div", X4, [
|
|
10007
|
-
|
|
10015
|
+
S(d1, null, {
|
|
10008
10016
|
secondary: U(() => [
|
|
10009
|
-
|
|
10017
|
+
S(fe, {
|
|
10010
10018
|
label: l.$t("templates.new"),
|
|
10011
10019
|
color: "primary",
|
|
10012
10020
|
"icon-name": "Add",
|
|
@@ -10016,7 +10024,7 @@ const ft = {
|
|
|
10016
10024
|
]),
|
|
10017
10025
|
_: 1
|
|
10018
10026
|
}),
|
|
10019
|
-
|
|
10027
|
+
S(q(Qe), {
|
|
10020
10028
|
"model-value": l.templates,
|
|
10021
10029
|
class: "ao-templates__list",
|
|
10022
10030
|
"item-key": "id",
|
|
@@ -10026,7 +10034,7 @@ const ft = {
|
|
|
10026
10034
|
item: U(({ element: d }) => {
|
|
10027
10035
|
var u;
|
|
10028
10036
|
return [
|
|
10029
|
-
|
|
10037
|
+
S(P0, {
|
|
10030
10038
|
id: d.id,
|
|
10031
10039
|
title: d.name,
|
|
10032
10040
|
phases: d.phases,
|
|
@@ -10089,7 +10097,7 @@ export {
|
|
|
10089
10097
|
c8 as getProjectOverviewRoutes,
|
|
10090
10098
|
d8 as getTemplateRoutes,
|
|
10091
10099
|
u8 as listUpdateTypes,
|
|
10092
|
-
|
|
10100
|
+
T1 as milestoneStatus,
|
|
10093
10101
|
He as projectOverviewRoutes,
|
|
10094
10102
|
bd as ruleComparators,
|
|
10095
10103
|
$d as ruleDurationUnits,
|