@26lights/orcha 0.32.1 → 0.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +611 -603
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +6 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as K, openBlock as c, createBlock as N, unref as W, mergeProps as Ee, createElementBlock as m, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as w, resolveDynamicComponent as Qe, normalizeClass as G, renderSlot as X, toDisplayString as
|
|
1
|
+
import { defineComponent as K, openBlock as c, createBlock as N, unref as W, mergeProps as Ee, createElementBlock as m, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as w, resolveDynamicComponent as Qe, normalizeClass as G, renderSlot as X, toDisplayString as U, createCommentVNode as M, ref as x, watch as de, nextTick as Oe, withKeys as Ke, toHandlers as vs, withCtx as j, createTextVNode as n1, createVNode as E, normalizeStyle as va, withModifiers as Ce, createSlots as i1, Fragment as fe, renderList as ye, onMounted as Ht, onBeforeUnmount as fs, onUnmounted as fa, toRefs as ke, getCurrentInstance as nt, toRef as pt, normalizeProps as Pt, guardReactiveProps as Bt, onUpdated as ps, withDirectives as Ue, vModelText as at, vModelCheckbox as J1, 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 Je from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const C8 = /* @__PURE__ */ K({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -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
|
+
}, o1 = {
|
|
1138
1138
|
SM: "sm",
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
@@ -1150,7 +1150,7 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1150
1150
|
__name: "AoIcon",
|
|
1151
1151
|
props: {
|
|
1152
1152
|
name: {},
|
|
1153
|
-
size: { default:
|
|
1153
|
+
size: { default: o1.MD }
|
|
1154
1154
|
},
|
|
1155
1155
|
setup(a) {
|
|
1156
1156
|
const e = a, t = w(() => ld[e.name]);
|
|
@@ -1172,7 +1172,7 @@ 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: () => o1.MD },
|
|
1176
1176
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1177
1177
|
corners: { default: () => pa.ROUNDED }
|
|
1178
1178
|
},
|
|
@@ -1192,7 +1192,7 @@ const dd = ["type"], cd = {
|
|
|
1192
1192
|
])
|
|
1193
1193
|
}, [
|
|
1194
1194
|
X(s.$slots, "default", {}, () => [
|
|
1195
|
-
s.label ? (c(), m("span", cd,
|
|
1195
|
+
s.label ? (c(), m("span", cd, U(s.label), 1)) : M("", !0)
|
|
1196
1196
|
]),
|
|
1197
1197
|
n.value ? (c(), N(ve, {
|
|
1198
1198
|
key: 0,
|
|
@@ -1287,8 +1287,8 @@ const me = /* @__PURE__ */ K({
|
|
|
1287
1287
|
}, vs(r.value), {
|
|
1288
1288
|
onKeydown: Ke(W(f), ["esc"])
|
|
1289
1289
|
}), {
|
|
1290
|
-
default:
|
|
1291
|
-
|
|
1290
|
+
default: j(() => [
|
|
1291
|
+
n1(U(S.title), 1)
|
|
1292
1292
|
]),
|
|
1293
1293
|
_: 1
|
|
1294
1294
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1335,7 +1335,7 @@ const vd = {
|
|
|
1335
1335
|
return (n, s) => (c(), N(Qe(n.tagName), {
|
|
1336
1336
|
class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1337
1337
|
}, {
|
|
1338
|
-
default:
|
|
1338
|
+
default: j(() => [
|
|
1339
1339
|
n.isDraggable ? (c(), m("div", vd, [
|
|
1340
1340
|
E(ve, {
|
|
1341
1341
|
name: "DragIndicator",
|
|
@@ -1360,7 +1360,7 @@ const vd = {
|
|
|
1360
1360
|
"onUpdate:title": t
|
|
1361
1361
|
}, null, 8, ["id", "title"]),
|
|
1362
1362
|
X(n.$slots, "subtitle", {}, () => [
|
|
1363
|
-
n.subtitle ? (c(), m("span", md,
|
|
1363
|
+
n.subtitle ? (c(), m("span", md, U(n.subtitle), 1)) : M("", !0)
|
|
1364
1364
|
])
|
|
1365
1365
|
]),
|
|
1366
1366
|
n.$slots.header ? (c(), m("div", Cd, [
|
|
@@ -1409,8 +1409,8 @@ const L1 = /* @__PURE__ */ K({
|
|
|
1409
1409
|
(c(), N(Qe(t.value), Ee({ class: "ao-tag__label" }, n.value, {
|
|
1410
1410
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1411
1411
|
}), {
|
|
1412
|
-
default:
|
|
1413
|
-
|
|
1412
|
+
default: j(() => [
|
|
1413
|
+
n1(U(s.label), 1)
|
|
1414
1414
|
]),
|
|
1415
1415
|
_: 1
|
|
1416
1416
|
}, 16)),
|
|
@@ -1428,15 +1428,15 @@ const L1 = /* @__PURE__ */ K({
|
|
|
1428
1428
|
], 6));
|
|
1429
1429
|
}
|
|
1430
1430
|
});
|
|
1431
|
-
const
|
|
1431
|
+
const E1 = {
|
|
1432
1432
|
todo: "todo",
|
|
1433
1433
|
done: "done",
|
|
1434
1434
|
archived: "archived"
|
|
1435
|
-
},
|
|
1435
|
+
}, _8 = {
|
|
1436
1436
|
months: "months",
|
|
1437
1437
|
weeks: "weeks",
|
|
1438
1438
|
days: "days"
|
|
1439
|
-
},
|
|
1439
|
+
}, g8 = {
|
|
1440
1440
|
future: "future",
|
|
1441
1441
|
this_month: "this_month",
|
|
1442
1442
|
this_week: "this_week",
|
|
@@ -1460,7 +1460,7 @@ const S1 = {
|
|
|
1460
1460
|
TASKS: "tasks"
|
|
1461
1461
|
};
|
|
1462
1462
|
var kd = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))(kd || {});
|
|
1463
|
-
const
|
|
1463
|
+
const y8 = {
|
|
1464
1464
|
add: "add",
|
|
1465
1465
|
remove: "remove",
|
|
1466
1466
|
moved: "moved"
|
|
@@ -1469,13 +1469,13 @@ const m8 = {
|
|
|
1469
1469
|
type: "typeId",
|
|
1470
1470
|
assignee: "assigneeId"
|
|
1471
1471
|
};
|
|
1472
|
-
function
|
|
1472
|
+
function xt(a) {
|
|
1473
1473
|
"@babel/helpers - typeof";
|
|
1474
|
-
return
|
|
1474
|
+
return xt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1475
1475
|
return typeof e;
|
|
1476
1476
|
} : function(e) {
|
|
1477
1477
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1478
|
-
},
|
|
1478
|
+
}, xt(a);
|
|
1479
1479
|
}
|
|
1480
1480
|
function Ge(a) {
|
|
1481
1481
|
if (a === null || a === !0 || a === !1)
|
|
@@ -1490,7 +1490,7 @@ function _e(a, e) {
|
|
|
1490
1490
|
function Be(a) {
|
|
1491
1491
|
_e(1, arguments);
|
|
1492
1492
|
var e = Object.prototype.toString.call(a);
|
|
1493
|
-
return a instanceof Date ||
|
|
1493
|
+
return a instanceof Date || xt(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
1494
1494
|
}
|
|
1495
1495
|
function Md(a, e) {
|
|
1496
1496
|
_e(2, arguments);
|
|
@@ -1498,7 +1498,7 @@ function Md(a, e) {
|
|
|
1498
1498
|
return new Date(t + n);
|
|
1499
1499
|
}
|
|
1500
1500
|
var Ad = {};
|
|
1501
|
-
function
|
|
1501
|
+
function l1() {
|
|
1502
1502
|
return Ad;
|
|
1503
1503
|
}
|
|
1504
1504
|
function Td(a) {
|
|
@@ -1507,7 +1507,7 @@ function Td(a) {
|
|
|
1507
1507
|
}
|
|
1508
1508
|
var Ca = 6e4, _a = 36e5;
|
|
1509
1509
|
function Sd(a) {
|
|
1510
|
-
return _e(1, arguments), a instanceof Date ||
|
|
1510
|
+
return _e(1, arguments), a instanceof Date || xt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
|
|
1511
1511
|
}
|
|
1512
1512
|
function ga(a) {
|
|
1513
1513
|
if (_e(1, arguments), !Sd(a) && typeof a != "number")
|
|
@@ -1528,7 +1528,7 @@ function Od(a) {
|
|
|
1528
1528
|
var n = e.getTime(), s = t - n;
|
|
1529
1529
|
return Math.floor(s / Id) + 1;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Qt(a) {
|
|
1532
1532
|
_e(1, arguments);
|
|
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;
|
|
@@ -1537,28 +1537,28 @@ function ya(a) {
|
|
|
1537
1537
|
_e(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);
|
|
1540
|
-
var s =
|
|
1540
|
+
var s = Qt(n), o = /* @__PURE__ */ new Date(0);
|
|
1541
1541
|
o.setUTCFullYear(t, 0, 4), o.setUTCHours(0, 0, 0, 0);
|
|
1542
|
-
var i =
|
|
1542
|
+
var i = Qt(o);
|
|
1543
1543
|
return e.getTime() >= s.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
|
|
1544
1544
|
}
|
|
1545
1545
|
function Ld(a) {
|
|
1546
1546
|
_e(1, arguments);
|
|
1547
1547
|
var e = ya(a), t = /* @__PURE__ */ new Date(0);
|
|
1548
1548
|
t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
|
|
1549
|
-
var n =
|
|
1549
|
+
var n = Qt(t);
|
|
1550
1550
|
return n;
|
|
1551
1551
|
}
|
|
1552
1552
|
var Vd = 6048e5;
|
|
1553
1553
|
function Dd(a) {
|
|
1554
1554
|
_e(1, arguments);
|
|
1555
|
-
var e = Be(a), t =
|
|
1555
|
+
var e = Be(a), t = Qt(e).getTime() - Ld(e).getTime();
|
|
1556
1556
|
return Math.round(t / Vd) + 1;
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function Jt(a, e) {
|
|
1559
1559
|
var t, n, s, o, i, l, u, r;
|
|
1560
1560
|
_e(1, arguments);
|
|
1561
|
-
var d =
|
|
1561
|
+
var d = l1(), f = Ge((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 : d.weekStartsOn) !== null && n !== void 0 ? n : (u = d.locale) === null || u === void 0 || (r = u.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && t !== void 0 ? t : 0);
|
|
1562
1562
|
if (!(f >= 0 && f <= 6))
|
|
1563
1563
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1564
1564
|
var p = Be(a), h = p.getUTCDay(), y = (h < f ? 7 : 0) + h - f;
|
|
@@ -1567,28 +1567,28 @@ function Qt(a, e) {
|
|
|
1567
1567
|
function ba(a, e) {
|
|
1568
1568
|
var t, n, s, o, i, l, u, r;
|
|
1569
1569
|
_e(1, arguments);
|
|
1570
|
-
var d = Be(a), f = d.getUTCFullYear(), p =
|
|
1570
|
+
var d = Be(a), f = d.getUTCFullYear(), p = l1(), h = Ge((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 : (u = p.locale) === null || u === void 0 || (r = u.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
1571
1571
|
if (!(h >= 1 && h <= 7))
|
|
1572
1572
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1573
1573
|
var y = /* @__PURE__ */ new Date(0);
|
|
1574
1574
|
y.setUTCFullYear(f + 1, 0, h), y.setUTCHours(0, 0, 0, 0);
|
|
1575
|
-
var S =
|
|
1575
|
+
var S = Jt(y, e), _ = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
_.setUTCFullYear(f, 0, h), _.setUTCHours(0, 0, 0, 0);
|
|
1577
|
-
var k =
|
|
1577
|
+
var k = Jt(_, e);
|
|
1578
1578
|
return d.getTime() >= S.getTime() ? f + 1 : d.getTime() >= k.getTime() ? f : f - 1;
|
|
1579
1579
|
}
|
|
1580
1580
|
function Hd(a, e) {
|
|
1581
1581
|
var t, n, s, o, i, l, u, r;
|
|
1582
1582
|
_e(1, arguments);
|
|
1583
|
-
var d =
|
|
1583
|
+
var d = l1(), f = Ge((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 : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = d.locale) === null || u === void 0 || (r = u.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = ba(a, e), h = /* @__PURE__ */ new Date(0);
|
|
1584
1584
|
h.setUTCFullYear(p, 0, f), h.setUTCHours(0, 0, 0, 0);
|
|
1585
|
-
var y =
|
|
1585
|
+
var y = Jt(h, e);
|
|
1586
1586
|
return y;
|
|
1587
1587
|
}
|
|
1588
1588
|
var Pd = 6048e5;
|
|
1589
1589
|
function Bd(a, e) {
|
|
1590
1590
|
_e(1, arguments);
|
|
1591
|
-
var t = Be(a), n =
|
|
1591
|
+
var t = Be(a), n = Jt(t, e).getTime() - Hd(t, e).getTime();
|
|
1592
1592
|
return Math.round(n / Pd) + 1;
|
|
1593
1593
|
}
|
|
1594
1594
|
function oe(a, e) {
|
|
@@ -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 M1(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: M1({
|
|
2398
2398
|
formats: xd,
|
|
2399
2399
|
defaultWidth: "full"
|
|
2400
2400
|
}),
|
|
2401
|
-
time:
|
|
2401
|
+
time: M1({
|
|
2402
2402
|
formats: Qd,
|
|
2403
2403
|
defaultWidth: "full"
|
|
2404
2404
|
}),
|
|
2405
|
-
dateTime:
|
|
2405
|
+
dateTime: M1({
|
|
2406
2406
|
formats: Jd,
|
|
2407
2407
|
defaultWidth: "full"
|
|
2408
2408
|
})
|
|
@@ -2697,12 +2697,12 @@ var Oc = {
|
|
|
2697
2697
|
const Lc = Oc;
|
|
2698
2698
|
var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hc = /^'([^]*?)'?$/, Pc = /''/g, Bc = /[a-zA-Z]/;
|
|
2699
2699
|
function Nc(a, e, t) {
|
|
2700
|
-
var n, s, o, i, l, u, r, d, f, p, h, y, S, _, k, b, L,
|
|
2700
|
+
var n, s, o, i, l, u, r, d, f, p, h, y, S, _, k, b, L, Z;
|
|
2701
2701
|
_e(2, arguments);
|
|
2702
|
-
var Y = String(e), V =
|
|
2702
|
+
var Y = String(e), V = l1(), J = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, ee = Ge((o = (i = (l = (u = t == null ? void 0 : t.firstWeekContainsDate) !== null && u !== void 0 ? u : t == null || (r = t.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = V.locale) === null || f === void 0 || (p = f.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2703
2703
|
if (!(ee >= 1 && ee <= 7))
|
|
2704
2704
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2705
|
-
var te = Ge((h = (y = (S = (_ = t == null ? void 0 : t.weekStartsOn) !== null && _ !== void 0 ? _ : t == null || (k = t.locale) === null || k === void 0 || (b = k.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && S !== void 0 ? S : V.weekStartsOn) !== null && y !== void 0 ? y : (L = V.locale) === null || L === void 0 || (
|
|
2705
|
+
var te = Ge((h = (y = (S = (_ = t == null ? void 0 : t.weekStartsOn) !== null && _ !== void 0 ? _ : t == null || (k = t.locale) === null || k === void 0 || (b = k.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && S !== void 0 ? S : V.weekStartsOn) !== null && y !== void 0 ? y : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2706
2706
|
if (!(te >= 0 && te <= 6))
|
|
2707
2707
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2708
2708
|
if (!J.localize)
|
|
@@ -2770,17 +2770,17 @@ function Uc(a, e) {
|
|
|
2770
2770
|
}
|
|
2771
2771
|
return new Date(l + u + r);
|
|
2772
2772
|
}
|
|
2773
|
-
var
|
|
2773
|
+
var Yt = {
|
|
2774
2774
|
dateTimeDelimiter: /[T ]/,
|
|
2775
2775
|
timeZoneDelimiter: /[Z ]/i,
|
|
2776
2776
|
timezone: /([Z+-].*)$/
|
|
2777
2777
|
}, jc = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Zc = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, Fc = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
2778
2778
|
function qc(a) {
|
|
2779
|
-
var e = {}, t = a.split(
|
|
2779
|
+
var e = {}, t = a.split(Yt.dateTimeDelimiter), n;
|
|
2780
2780
|
if (t.length > 2)
|
|
2781
2781
|
return e;
|
|
2782
|
-
if (/:/.test(t[0]) ? n = t[0] : (e.date = t[0], n = t[1],
|
|
2783
|
-
var s =
|
|
2782
|
+
if (/:/.test(t[0]) ? n = t[0] : (e.date = t[0], n = t[1], Yt.timeZoneDelimiter.test(e.date) && (e.date = a.split(Yt.timeZoneDelimiter)[0], n = a.substr(e.date.length, a.length))), n) {
|
|
2783
|
+
var s = Yt.timezone.exec(n);
|
|
2784
2784
|
s ? (e.time = n.replace(s[1], ""), e.timezone = s[1]) : e.time = n;
|
|
2785
2785
|
}
|
|
2786
2786
|
return e;
|
|
@@ -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 =
|
|
2820
|
+
var t = A1(e[1]), n = A1(e[2]), s = A1(e[3]);
|
|
2821
2821
|
return e0(t, n, s) ? t * _a + n * Ca + s * 1e3 : NaN;
|
|
2822
2822
|
}
|
|
2823
|
-
function
|
|
2823
|
+
function A1(a) {
|
|
2824
2824
|
return a && parseFloat(a.replace(",", ".")) || 0;
|
|
2825
2825
|
}
|
|
2826
2826
|
function Kc(a) {
|
|
@@ -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 = {}, ka = {}, Tt = {},
|
|
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 = {}, ka = {}, Tt = {}, Nt = {}, gt = {}, r1 = {};
|
|
2861
|
+
Object.defineProperty(r1, "__esModule", { value: !0 });
|
|
2862
|
+
r1.lexoHelper = void 0;
|
|
2863
|
+
r1.lexoHelper = {
|
|
2864
2864
|
arrayCopy: a0
|
|
2865
2865
|
};
|
|
2866
2866
|
function a0(a, e, t, n, s) {
|
|
@@ -2869,8 +2869,8 @@ function a0(a, e, t, n, s) {
|
|
|
2869
2869
|
for (let l = e; l < i; l++)
|
|
2870
2870
|
t[o] = a[l], ++o;
|
|
2871
2871
|
}
|
|
2872
|
-
var
|
|
2873
|
-
Object.defineProperty(
|
|
2872
|
+
var Rt = {};
|
|
2873
|
+
Object.defineProperty(Rt, "__esModule", { value: !0 });
|
|
2874
2874
|
class s0 {
|
|
2875
2875
|
constructor(e = "") {
|
|
2876
2876
|
this.str = e;
|
|
@@ -2894,10 +2894,10 @@ class s0 {
|
|
|
2894
2894
|
return this.str;
|
|
2895
2895
|
}
|
|
2896
2896
|
}
|
|
2897
|
-
|
|
2897
|
+
Rt.default = s0;
|
|
2898
2898
|
Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
2899
2899
|
gt.LexoInteger = void 0;
|
|
2900
|
-
const
|
|
2900
|
+
const Kt = r1, n0 = Rt;
|
|
2901
2901
|
class Q {
|
|
2902
2902
|
constructor(e, t, n) {
|
|
2903
2903
|
this.sys = e, this.sign = t, this.mag = n;
|
|
@@ -2926,7 +2926,7 @@ class Q {
|
|
|
2926
2926
|
if (s === n.length)
|
|
2927
2927
|
return new Q(e, t, n);
|
|
2928
2928
|
const o = new Array(s).fill(0);
|
|
2929
|
-
return
|
|
2929
|
+
return Kt.lexoHelper.arrayCopy(n, 0, o, 0, s), new Q(e, t, o);
|
|
2930
2930
|
}
|
|
2931
2931
|
static add(e, t, n) {
|
|
2932
2932
|
const s = Math.max(t.length, n.length), o = new Array(s).fill(0);
|
|
@@ -2943,7 +2943,7 @@ class Q {
|
|
|
2943
2943
|
static extendWithCarry(e, t) {
|
|
2944
2944
|
if (t > 0) {
|
|
2945
2945
|
const n = new Array(e.length + 1).fill(0);
|
|
2946
|
-
return
|
|
2946
|
+
return Kt.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = t, n;
|
|
2947
2947
|
}
|
|
2948
2948
|
return e;
|
|
2949
2949
|
}
|
|
@@ -3027,13 +3027,13 @@ class Q {
|
|
|
3027
3027
|
if (e < 0)
|
|
3028
3028
|
return this.shiftRight(Math.abs(e));
|
|
3029
3029
|
const t = new Array(this.mag.length + e).fill(0);
|
|
3030
|
-
return
|
|
3030
|
+
return Kt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), Q.make(this.sys, this.sign, t);
|
|
3031
3031
|
}
|
|
3032
3032
|
shiftRight(e = 1) {
|
|
3033
3033
|
if (this.mag.length - e <= 0)
|
|
3034
3034
|
return Q.zero(this.sys);
|
|
3035
3035
|
const t = new Array(this.mag.length - e).fill(0);
|
|
3036
|
-
return
|
|
3036
|
+
return Kt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), Q.make(this.sys, this.sign, t);
|
|
3037
3037
|
}
|
|
3038
3038
|
complement() {
|
|
3039
3039
|
return this.complementDigits(this.mag.length);
|
|
@@ -3097,9 +3097,9 @@ Q.ONE_MAG = [1];
|
|
|
3097
3097
|
Q.NEGATIVE_SIGN = -1;
|
|
3098
3098
|
Q.ZERO_SIGN = 0;
|
|
3099
3099
|
Q.POSITIVE_SIGN = 1;
|
|
3100
|
-
Object.defineProperty(
|
|
3101
|
-
|
|
3102
|
-
const St = gt, i0 =
|
|
3100
|
+
Object.defineProperty(Nt, "__esModule", { value: !0 });
|
|
3101
|
+
Nt.LexoDecimal = void 0;
|
|
3102
|
+
const St = gt, i0 = Rt;
|
|
3103
3103
|
class Me {
|
|
3104
3104
|
constructor(e, t) {
|
|
3105
3105
|
this.mag = e, this.sig = t;
|
|
@@ -3203,12 +3203,12 @@ class Me {
|
|
|
3203
3203
|
return this.format();
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
|
-
|
|
3207
|
-
var
|
|
3206
|
+
Nt.LexoDecimal = Me;
|
|
3207
|
+
var Gt = {}, na;
|
|
3208
3208
|
function Ma() {
|
|
3209
3209
|
if (na)
|
|
3210
|
-
return
|
|
3211
|
-
na = 1, Object.defineProperty(
|
|
3210
|
+
return Gt;
|
|
3211
|
+
na = 1, Object.defineProperty(Gt, "__esModule", { value: !0 });
|
|
3212
3212
|
const a = gt, e = Ta();
|
|
3213
3213
|
class t {
|
|
3214
3214
|
constructor(s) {
|
|
@@ -3260,13 +3260,13 @@ function Ma() {
|
|
|
3260
3260
|
return this === s ? !0 : s ? this.value.equals(s.value) : !1;
|
|
3261
3261
|
}
|
|
3262
3262
|
}
|
|
3263
|
-
return
|
|
3263
|
+
return Gt.default = t, Gt;
|
|
3264
3264
|
}
|
|
3265
3265
|
var V1 = {}, Aa = {};
|
|
3266
3266
|
Object.defineProperty(Aa, "__esModule", { value: !0 });
|
|
3267
|
-
var
|
|
3268
|
-
Object.defineProperty(
|
|
3269
|
-
|
|
3267
|
+
var u1 = {};
|
|
3268
|
+
Object.defineProperty(u1, "__esModule", { value: !0 });
|
|
3269
|
+
u1.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
|
+
u1.LexoNumeralSystem10 = o0;
|
|
3293
|
+
var d1 = {};
|
|
3294
|
+
Object.defineProperty(d1, "__esModule", { value: !0 });
|
|
3295
|
+
d1.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
|
+
d1.LexoNumeralSystem36 = l0;
|
|
3324
|
+
var c1 = {};
|
|
3325
|
+
Object.defineProperty(c1, "__esModule", { value: !0 });
|
|
3326
|
+
c1.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
|
+
c1.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 @@ d1.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(Aa, a), t(
|
|
3374
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(Aa, a), t(u1, a), t(d1, a), t(c1, a);
|
|
3375
3375
|
})(V1);
|
|
3376
3376
|
var ia;
|
|
3377
3377
|
function Ta() {
|
|
3378
3378
|
if (ia)
|
|
3379
3379
|
return Tt;
|
|
3380
3380
|
ia = 1, Object.defineProperty(Tt, "__esModule", { value: !0 }), Tt.LexoRank = void 0;
|
|
3381
|
-
const a =
|
|
3381
|
+
const a = Nt, e = Ma(), t = Rt, n = V1;
|
|
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,7 +3564,7 @@ function Ta() {
|
|
|
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(Ta(), a), t(Ma(), a), t(
|
|
3567
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(Ta(), a), t(Ma(), a), t(Nt, a), t(gt, a);
|
|
3568
3568
|
})(ka);
|
|
3569
3569
|
(function(a) {
|
|
3570
3570
|
var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
@@ -3603,7 +3603,7 @@ function d0(a) {
|
|
|
3603
3603
|
function c0(a) {
|
|
3604
3604
|
return a.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
|
|
3605
3605
|
}
|
|
3606
|
-
function
|
|
3606
|
+
function Ut(a, e) {
|
|
3607
3607
|
if (a.moved)
|
|
3608
3608
|
return Ot(e, a.moved.newIndex);
|
|
3609
3609
|
}
|
|
@@ -3622,7 +3622,7 @@ function Ot(a, e) {
|
|
|
3622
3622
|
return Te.LexoRank.parse(n.rank).between(Te.LexoRank.parse(t.rank)).format();
|
|
3623
3623
|
}
|
|
3624
3624
|
}
|
|
3625
|
-
function
|
|
3625
|
+
function Lt(a, e = "dd/MM/yyyy") {
|
|
3626
3626
|
if (!a)
|
|
3627
3627
|
return "";
|
|
3628
3628
|
const t = Uc(a);
|
|
@@ -3637,7 +3637,7 @@ function v0(a, e) {
|
|
|
3637
3637
|
function f0(a, e) {
|
|
3638
3638
|
return {
|
|
3639
3639
|
...a,
|
|
3640
|
-
status: v0(a, e) ?
|
|
3640
|
+
status: v0(a, e) ? E1.done : E1.todo
|
|
3641
3641
|
};
|
|
3642
3642
|
}
|
|
3643
3643
|
const p0 = ["title"], h0 = {
|
|
@@ -3649,7 +3649,7 @@ const p0 = ["title"], h0 = {
|
|
|
3649
3649
|
userName: {},
|
|
3650
3650
|
avatarUrl: {},
|
|
3651
3651
|
isClosable: { type: Boolean },
|
|
3652
|
-
size: { default:
|
|
3652
|
+
size: { default: o1.MD }
|
|
3653
3653
|
},
|
|
3654
3654
|
emits: ["close"],
|
|
3655
3655
|
setup(a, { emit: e }) {
|
|
@@ -3661,7 +3661,7 @@ const p0 = ["title"], h0 = {
|
|
|
3661
3661
|
class: G(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
|
|
3662
3662
|
title: o.userName
|
|
3663
3663
|
}, [
|
|
3664
|
-
o.avatarUrl ? M("", !0) : (c(), m("span", h0,
|
|
3664
|
+
o.avatarUrl ? M("", !0) : (c(), m("span", h0, U(W(n)), 1)),
|
|
3665
3665
|
o.avatarUrl ? (c(), m("img", {
|
|
3666
3666
|
key: 1,
|
|
3667
3667
|
className: "ao-avatar__image",
|
|
@@ -3708,26 +3708,26 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3708
3708
|
title: n.title,
|
|
3709
3709
|
"is-draggable": !0,
|
|
3710
3710
|
"onUpdate:title": t
|
|
3711
|
-
},
|
|
3712
|
-
subtitle:
|
|
3711
|
+
}, i1({
|
|
3712
|
+
subtitle: j(() => [
|
|
3713
3713
|
v("ul", C0, [
|
|
3714
3714
|
v("li", _0, [
|
|
3715
3715
|
E(ve, {
|
|
3716
3716
|
name: "MountainFlagOutlineRounded",
|
|
3717
3717
|
size: "sm"
|
|
3718
3718
|
}),
|
|
3719
|
-
v("span", g0,
|
|
3719
|
+
v("span", g0, U(n.milestones), 1)
|
|
3720
3720
|
]),
|
|
3721
3721
|
v("li", y0, [
|
|
3722
3722
|
E(ve, {
|
|
3723
3723
|
name: "TaskOutlineRounded",
|
|
3724
3724
|
size: "sm"
|
|
3725
3725
|
}),
|
|
3726
|
-
v("span", b0,
|
|
3726
|
+
v("span", b0, U(n.activities), 1)
|
|
3727
3727
|
])
|
|
3728
3728
|
])
|
|
3729
3729
|
]),
|
|
3730
|
-
default:
|
|
3730
|
+
default: j(() => [
|
|
3731
3731
|
v("div", w0, [
|
|
3732
3732
|
v("div", $0, [
|
|
3733
3733
|
v("div", k0, [
|
|
@@ -3735,7 +3735,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3735
3735
|
name: "WaterfallChartRounded",
|
|
3736
3736
|
size: "sm"
|
|
3737
3737
|
}),
|
|
3738
|
-
v("span", M0,
|
|
3738
|
+
v("span", M0, U(n.$t("template.phases.title")), 1)
|
|
3739
3739
|
]),
|
|
3740
3740
|
n.phases ? (c(), m("ul", A0, [
|
|
3741
3741
|
(c(!0), m(fe, null, ye(n.phases, (o) => (c(), N(L1, {
|
|
@@ -3752,19 +3752,19 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3752
3752
|
}, [
|
|
3753
3753
|
n.updatedBy || n.updatedAt ? {
|
|
3754
3754
|
name: "footer",
|
|
3755
|
-
fn:
|
|
3755
|
+
fn: j(() => [
|
|
3756
3756
|
v("div", T0, [
|
|
3757
3757
|
n.updatedAt ? (c(), m("div", S0, [
|
|
3758
3758
|
v("div", E0, [
|
|
3759
|
-
v("span", I0,
|
|
3759
|
+
v("span", I0, U(n.$t("template.updatedAt.label")), 1)
|
|
3760
3760
|
]),
|
|
3761
3761
|
v("div", O0, [
|
|
3762
|
-
v("span", null,
|
|
3762
|
+
v("span", null, U(n.updatedAt), 1)
|
|
3763
3763
|
])
|
|
3764
3764
|
])) : M("", !0),
|
|
3765
3765
|
n.updatedBy ? (c(), m("div", L0, [
|
|
3766
3766
|
v("div", V0, [
|
|
3767
|
-
v("span", D0,
|
|
3767
|
+
v("span", D0, U(n.$t("template.updatedBy.label")), 1)
|
|
3768
3768
|
]),
|
|
3769
3769
|
v("div", H0, [
|
|
3770
3770
|
E(yt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
@@ -3780,7 +3780,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3780
3780
|
const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R0 = {
|
|
3781
3781
|
key: 0,
|
|
3782
3782
|
class: "ao-page-header-secondary"
|
|
3783
|
-
},
|
|
3783
|
+
}, v1 = /* @__PURE__ */ K({
|
|
3784
3784
|
__name: "AoPageHeader",
|
|
3785
3785
|
props: {
|
|
3786
3786
|
canGoBack: { type: Boolean }
|
|
@@ -3814,7 +3814,7 @@ const U0 = ["type"], j0 = {
|
|
|
3814
3814
|
iconPosition: {},
|
|
3815
3815
|
type: { default: () => "button" },
|
|
3816
3816
|
color: { default: () => ud.BLACK },
|
|
3817
|
-
size: { default: () =>
|
|
3817
|
+
size: { default: () => o1.MD },
|
|
3818
3818
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3819
3819
|
corners: { default: () => pa.ROUNDED }
|
|
3820
3820
|
},
|
|
@@ -3830,7 +3830,7 @@ const U0 = ["type"], j0 = {
|
|
|
3830
3830
|
])
|
|
3831
3831
|
}, [
|
|
3832
3832
|
X(s.$slots, "default", {}, () => [
|
|
3833
|
-
s.label ? (c(), m("span", j0,
|
|
3833
|
+
s.label ? (c(), m("span", j0, U(s.label), 1)) : M("", !0)
|
|
3834
3834
|
]),
|
|
3835
3835
|
n.value ? (c(), N(ve, {
|
|
3836
3836
|
key: 0,
|
|
@@ -3865,7 +3865,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
|
|
|
3865
3865
|
e("remove");
|
|
3866
3866
|
};
|
|
3867
3867
|
return (i, l) => (c(), N(ma, { "onUpdate:title": t }, {
|
|
3868
|
-
footer:
|
|
3868
|
+
footer: j(() => [
|
|
3869
3869
|
v("ul", Z0, [
|
|
3870
3870
|
(c(), m(fe, null, ye(n, (u) => (c(), m(fe, { key: u }, [
|
|
3871
3871
|
i.$props[u] ? (c(), m("li", F0, [
|
|
@@ -3873,12 +3873,12 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
|
|
|
3873
3873
|
name: s[u],
|
|
3874
3874
|
size: "sm"
|
|
3875
3875
|
}, null, 8, ["name"]),
|
|
3876
|
-
v("span", q0,
|
|
3876
|
+
v("span", q0, U(i.$props[u]), 1)
|
|
3877
3877
|
])) : M("", !0)
|
|
3878
3878
|
], 64))), 64))
|
|
3879
3879
|
])
|
|
3880
3880
|
]),
|
|
3881
|
-
secondary:
|
|
3881
|
+
secondary: j(() => [
|
|
3882
3882
|
v("div", z0, [
|
|
3883
3883
|
E(le, {
|
|
3884
3884
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -3911,7 +3911,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3911
3911
|
activities: n.value,
|
|
3912
3912
|
milestones: t.value
|
|
3913
3913
|
}, s.$attrs), {
|
|
3914
|
-
default:
|
|
3914
|
+
default: j(() => [
|
|
3915
3915
|
X(s.$slots, "default")
|
|
3916
3916
|
]),
|
|
3917
3917
|
_: 3
|
|
@@ -3928,7 +3928,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3928
3928
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3929
3929
|
});
|
|
3930
3930
|
return (n, s) => (c(), N(D1, { activities: t.value }, {
|
|
3931
|
-
default:
|
|
3931
|
+
default: j(() => [
|
|
3932
3932
|
X(n.$slots, "default")
|
|
3933
3933
|
]),
|
|
3934
3934
|
_: 3
|
|
@@ -3951,7 +3951,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3951
3951
|
e("updateMilestone", l);
|
|
3952
3952
|
}, i = (l) => {
|
|
3953
3953
|
if (l.moved) {
|
|
3954
|
-
const u =
|
|
3954
|
+
const u = Ut(l, t.phase.milestones);
|
|
3955
3955
|
e("updateMilestone", {
|
|
3956
3956
|
id: l.moved.element.id,
|
|
3957
3957
|
rank: u
|
|
@@ -3967,14 +3967,14 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3967
3967
|
"item-key": "id",
|
|
3968
3968
|
onChange: i
|
|
3969
3969
|
}, {
|
|
3970
|
-
header:
|
|
3970
|
+
header: j(() => [
|
|
3971
3971
|
E(me, {
|
|
3972
3972
|
title: "Milestones",
|
|
3973
3973
|
level: 3,
|
|
3974
3974
|
class: "ao-list__title"
|
|
3975
3975
|
})
|
|
3976
3976
|
]),
|
|
3977
|
-
item:
|
|
3977
|
+
item: j(({ element: r }) => [
|
|
3978
3978
|
(c(), N(Y0, {
|
|
3979
3979
|
id: r.id,
|
|
3980
3980
|
key: r.id,
|
|
@@ -3991,7 +3991,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3991
3991
|
onRemove: () => s(r.id)
|
|
3992
3992
|
}, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
3993
3993
|
]),
|
|
3994
|
-
footer:
|
|
3994
|
+
footer: j(() => [
|
|
3995
3995
|
v("div", K0, [
|
|
3996
3996
|
E(et, {
|
|
3997
3997
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -4015,7 +4015,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4015
4015
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4016
4016
|
});
|
|
4017
4017
|
return (n, s) => (c(), N(D1, { tasks: t.value }, {
|
|
4018
|
-
default:
|
|
4018
|
+
default: j(() => [
|
|
4019
4019
|
X(n.$slots, "default")
|
|
4020
4020
|
]),
|
|
4021
4021
|
_: 3
|
|
@@ -4041,7 +4041,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4041
4041
|
e("removeActivity", { id: l });
|
|
4042
4042
|
}, i = (l) => {
|
|
4043
4043
|
if (l.moved) {
|
|
4044
|
-
const u =
|
|
4044
|
+
const u = Ut(l, t.milestone.activities);
|
|
4045
4045
|
e("updateActivity", {
|
|
4046
4046
|
id: l.moved.element.id,
|
|
4047
4047
|
rank: u
|
|
@@ -4057,14 +4057,14 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4057
4057
|
"item-key": "id",
|
|
4058
4058
|
onChange: i
|
|
4059
4059
|
}, {
|
|
4060
|
-
header:
|
|
4060
|
+
header: j(() => [
|
|
4061
4061
|
E(me, {
|
|
4062
4062
|
title: "Activities",
|
|
4063
4063
|
level: 3,
|
|
4064
4064
|
class: "ao-list__title"
|
|
4065
4065
|
})
|
|
4066
4066
|
]),
|
|
4067
|
-
item:
|
|
4067
|
+
item: j(({ element: r }) => [
|
|
4068
4068
|
(c(), N(X0, {
|
|
4069
4069
|
id: r.id,
|
|
4070
4070
|
key: r.id,
|
|
@@ -4077,7 +4077,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4077
4077
|
onRemove: () => o(r.id)
|
|
4078
4078
|
}, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4079
4079
|
]),
|
|
4080
|
-
footer:
|
|
4080
|
+
footer: j(() => [
|
|
4081
4081
|
v("div", x0, [
|
|
4082
4082
|
E(et, {
|
|
4083
4083
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -4133,7 +4133,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4133
4133
|
], 2));
|
|
4134
4134
|
}
|
|
4135
4135
|
});
|
|
4136
|
-
const
|
|
4136
|
+
const Vt = Math.min, Ae = Math.max, e1 = Math.round, Xt = Math.floor, Xe = (a) => ({
|
|
4137
4137
|
x: a,
|
|
4138
4138
|
y: a
|
|
4139
4139
|
}), i3 = {
|
|
@@ -4151,7 +4151,7 @@ function P1(a, e) {
|
|
|
4151
4151
|
function Ct(a) {
|
|
4152
4152
|
return a.split("-")[0];
|
|
4153
4153
|
}
|
|
4154
|
-
function
|
|
4154
|
+
function f1(a) {
|
|
4155
4155
|
return a.split("-")[1];
|
|
4156
4156
|
}
|
|
4157
4157
|
function l3(a) {
|
|
@@ -4168,12 +4168,12 @@ function Oa(a) {
|
|
|
4168
4168
|
}
|
|
4169
4169
|
function r3(a, e, t) {
|
|
4170
4170
|
t === void 0 && (t = !1);
|
|
4171
|
-
const n =
|
|
4171
|
+
const n = f1(a), s = Oa(a), o = Ia(s);
|
|
4172
4172
|
let i = s === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4173
|
-
return e.reference[o] > e.floating[o] && (i =
|
|
4173
|
+
return e.reference[o] > e.floating[o] && (i = t1(i)), [i, t1(i)];
|
|
4174
4174
|
}
|
|
4175
4175
|
function u3(a) {
|
|
4176
|
-
const e =
|
|
4176
|
+
const e = t1(a);
|
|
4177
4177
|
return [I1(a), e, I1(e)];
|
|
4178
4178
|
}
|
|
4179
4179
|
function I1(a) {
|
|
@@ -4193,11 +4193,11 @@ function d3(a, e, t) {
|
|
|
4193
4193
|
}
|
|
4194
4194
|
}
|
|
4195
4195
|
function c3(a, e, t, n) {
|
|
4196
|
-
const s =
|
|
4196
|
+
const s = f1(a);
|
|
4197
4197
|
let o = d3(Ct(a), t === "start", n);
|
|
4198
4198
|
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(I1)))), o;
|
|
4199
4199
|
}
|
|
4200
|
-
function
|
|
4200
|
+
function t1(a) {
|
|
4201
4201
|
return a.replace(/left|right|bottom|top/g, (e) => i3[e]);
|
|
4202
4202
|
}
|
|
4203
4203
|
function v3(a) {
|
|
@@ -4217,7 +4217,7 @@ function f3(a) {
|
|
|
4217
4217
|
left: a
|
|
4218
4218
|
};
|
|
4219
4219
|
}
|
|
4220
|
-
function
|
|
4220
|
+
function a1(a) {
|
|
4221
4221
|
return {
|
|
4222
4222
|
...a,
|
|
4223
4223
|
top: a.y,
|
|
@@ -4264,7 +4264,7 @@ function oa(a, e, t) {
|
|
|
4264
4264
|
y: n.y
|
|
4265
4265
|
};
|
|
4266
4266
|
}
|
|
4267
|
-
switch (
|
|
4267
|
+
switch (f1(e)) {
|
|
4268
4268
|
case "start":
|
|
4269
4269
|
h[i] -= p * (t && r ? -1 : 1);
|
|
4270
4270
|
break;
|
|
@@ -4296,7 +4296,7 @@ const p3 = async (a, e, t) => {
|
|
|
4296
4296
|
} = l[S], {
|
|
4297
4297
|
x: b,
|
|
4298
4298
|
y: L,
|
|
4299
|
-
data:
|
|
4299
|
+
data: Z,
|
|
4300
4300
|
reset: Y
|
|
4301
4301
|
} = await k({
|
|
4302
4302
|
x: d,
|
|
@@ -4316,7 +4316,7 @@ const p3 = async (a, e, t) => {
|
|
|
4316
4316
|
...h,
|
|
4317
4317
|
[_]: {
|
|
4318
4318
|
...h[_],
|
|
4319
|
-
...
|
|
4319
|
+
...Z
|
|
4320
4320
|
}
|
|
4321
4321
|
}, Y && y <= 50) {
|
|
4322
4322
|
y++, typeof Y == "object" && (Y.placement && (p = Y.placement), Y.rects && (r = Y.rects === !0 ? await i.getElementRects({
|
|
@@ -4354,7 +4354,7 @@ async function La(a, e) {
|
|
|
4354
4354
|
elementContext: f = "floating",
|
|
4355
4355
|
altBoundary: p = !1,
|
|
4356
4356
|
padding: h = 0
|
|
4357
|
-
} = P1(e, a), y = f3(h), _ = l[p ? f === "floating" ? "reference" : "floating" : f], k =
|
|
4357
|
+
} = P1(e, a), y = f3(h), _ = l[p ? f === "floating" ? "reference" : "floating" : f], k = a1(await o.getClippingRect({
|
|
4358
4358
|
element: (t = await (o.isElement == null ? void 0 : o.isElement(_))) == null || t ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
4359
4359
|
boundary: r,
|
|
4360
4360
|
rootBoundary: d,
|
|
@@ -4363,22 +4363,22 @@ async function La(a, e) {
|
|
|
4363
4363
|
...i.floating,
|
|
4364
4364
|
x: n,
|
|
4365
4365
|
y: s
|
|
4366
|
-
} : i.reference, L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)),
|
|
4366
|
+
} : i.reference, L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), Z = await (o.isElement == null ? void 0 : o.isElement(L)) ? await (o.getScale == null ? void 0 : o.getScale(L)) || {
|
|
4367
4367
|
x: 1,
|
|
4368
4368
|
y: 1
|
|
4369
4369
|
} : {
|
|
4370
4370
|
x: 1,
|
|
4371
4371
|
y: 1
|
|
4372
|
-
}, Y =
|
|
4372
|
+
}, Y = a1(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4373
4373
|
rect: b,
|
|
4374
4374
|
offsetParent: L,
|
|
4375
4375
|
strategy: u
|
|
4376
4376
|
}) : b);
|
|
4377
4377
|
return {
|
|
4378
|
-
top: (k.top - Y.top + y.top) /
|
|
4379
|
-
bottom: (Y.bottom - k.bottom + y.bottom) /
|
|
4380
|
-
left: (k.left - Y.left + y.left) /
|
|
4381
|
-
right: (Y.right - k.right + y.right) /
|
|
4378
|
+
top: (k.top - Y.top + y.top) / Z.y,
|
|
4379
|
+
bottom: (Y.bottom - k.bottom + y.bottom) / Z.y,
|
|
4380
|
+
left: (k.left - Y.left + y.left) / Z.x,
|
|
4381
|
+
right: (Y.right - k.right + y.right) / Z.x
|
|
4382
4382
|
};
|
|
4383
4383
|
}
|
|
4384
4384
|
const h3 = function(a) {
|
|
@@ -4405,9 +4405,9 @@ const h3 = function(a) {
|
|
|
4405
4405
|
} = P1(a, e);
|
|
4406
4406
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4407
4407
|
return {};
|
|
4408
|
-
const k = Ct(s), b = Ct(l) === l, L = await (u.isRTL == null ? void 0 : u.isRTL(r.floating)),
|
|
4409
|
-
!p && y !== "none" &&
|
|
4410
|
-
const Y = [l, ...
|
|
4408
|
+
const k = Ct(s), b = Ct(l) === l, L = await (u.isRTL == null ? void 0 : u.isRTL(r.floating)), Z = p || (b || !S ? [t1(l)] : u3(l));
|
|
4409
|
+
!p && y !== "none" && Z.push(...c3(l, S, y, L));
|
|
4410
|
+
const Y = [l, ...Z], V = await La(e, _), J = [];
|
|
4411
4411
|
let ee = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4412
4412
|
if (d && J.push(V[k]), f) {
|
|
4413
4413
|
const I = r3(s, i, L);
|
|
@@ -4434,7 +4434,7 @@ const h3 = function(a) {
|
|
|
4434
4434
|
switch (h) {
|
|
4435
4435
|
case "bestFit": {
|
|
4436
4436
|
var g;
|
|
4437
|
-
const ae = (g = ee.map((ce) => [ce.placement, ce.overflows.filter((A) => A > 0).reduce((A,
|
|
4437
|
+
const ae = (g = ee.map((ce) => [ce.placement, ce.overflows.filter((A) => A > 0).reduce((A, F) => A + F, 0)]).sort((ce, A) => ce[1] - A[1])[0]) == null ? void 0 : g[0];
|
|
4438
4438
|
ae && (re = ae);
|
|
4439
4439
|
break;
|
|
4440
4440
|
}
|
|
@@ -4466,28 +4466,28 @@ const h3 = function(a) {
|
|
|
4466
4466
|
apply: i = () => {
|
|
4467
4467
|
},
|
|
4468
4468
|
...l
|
|
4469
|
-
} = P1(a, e), u = await La(e, l), r = Ct(t), d =
|
|
4469
|
+
} = P1(a, e), u = await La(e, l), r = Ct(t), d = f1(t), f = B1(t) === "y", {
|
|
4470
4470
|
width: p,
|
|
4471
4471
|
height: h
|
|
4472
4472
|
} = n.floating;
|
|
4473
4473
|
let y, S;
|
|
4474
4474
|
r === "top" || r === "bottom" ? (y = r, S = d === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (S = r, y = d === "end" ? "top" : "bottom");
|
|
4475
4475
|
const _ = h - u[y], k = p - u[S], b = !e.middlewareData.shift;
|
|
4476
|
-
let L = _,
|
|
4476
|
+
let L = _, Z = k;
|
|
4477
4477
|
if (f) {
|
|
4478
4478
|
const V = p - u.left - u.right;
|
|
4479
|
-
|
|
4479
|
+
Z = d || b ? Vt(k, V) : V;
|
|
4480
4480
|
} else {
|
|
4481
4481
|
const V = h - u.top - u.bottom;
|
|
4482
|
-
L = d || b ?
|
|
4482
|
+
L = d || b ? Vt(_, V) : V;
|
|
4483
4483
|
}
|
|
4484
4484
|
if (b && !d) {
|
|
4485
4485
|
const V = Ae(u.left, 0), J = Ae(u.right, 0), ee = Ae(u.top, 0), te = Ae(u.bottom, 0);
|
|
4486
|
-
f ?
|
|
4486
|
+
f ? Z = p - 2 * (V !== 0 || J !== 0 ? V + J : Ae(u.left, u.right)) : L = h - 2 * (ee !== 0 || te !== 0 ? ee + te : Ae(u.top, u.bottom));
|
|
4487
4487
|
}
|
|
4488
4488
|
await i({
|
|
4489
4489
|
...e,
|
|
4490
|
-
availableWidth:
|
|
4490
|
+
availableWidth: Z,
|
|
4491
4491
|
availableHeight: L
|
|
4492
4492
|
});
|
|
4493
4493
|
const Y = await s.getDimensions(o.floating);
|
|
@@ -4522,7 +4522,7 @@ function Pe(a) {
|
|
|
4522
4522
|
function la(a) {
|
|
4523
4523
|
return typeof ShadowRoot > "u" ? !1 : a instanceof ShadowRoot || a instanceof $e(a).ShadowRoot;
|
|
4524
4524
|
}
|
|
4525
|
-
function
|
|
4525
|
+
function jt(a) {
|
|
4526
4526
|
const {
|
|
4527
4527
|
overflow: e,
|
|
4528
4528
|
overflowX: t,
|
|
@@ -4540,7 +4540,7 @@ function N1(a) {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
function _3(a) {
|
|
4542
4542
|
let e = _t(a);
|
|
4543
|
-
for (; Pe(e) && !
|
|
4543
|
+
for (; Pe(e) && !p1(e); ) {
|
|
4544
4544
|
if (N1(e))
|
|
4545
4545
|
return e;
|
|
4546
4546
|
e = _t(e);
|
|
@@ -4550,13 +4550,13 @@ function _3(a) {
|
|
|
4550
4550
|
function R1() {
|
|
4551
4551
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4552
4552
|
}
|
|
4553
|
-
function
|
|
4553
|
+
function p1(a) {
|
|
4554
4554
|
return ["html", "body", "#document"].includes(xe(a));
|
|
4555
4555
|
}
|
|
4556
4556
|
function Ie(a) {
|
|
4557
4557
|
return $e(a).getComputedStyle(a);
|
|
4558
4558
|
}
|
|
4559
|
-
function
|
|
4559
|
+
function h1(a) {
|
|
4560
4560
|
return Ze(a) ? {
|
|
4561
4561
|
scrollLeft: a.scrollLeft,
|
|
4562
4562
|
scrollTop: a.scrollTop
|
|
@@ -4579,18 +4579,18 @@ function _t(a) {
|
|
|
4579
4579
|
}
|
|
4580
4580
|
function Da(a) {
|
|
4581
4581
|
const e = _t(a);
|
|
4582
|
-
return
|
|
4582
|
+
return p1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && jt(e) ? e : Da(e);
|
|
4583
4583
|
}
|
|
4584
|
-
function
|
|
4584
|
+
function Dt(a, e, t) {
|
|
4585
4585
|
var n;
|
|
4586
4586
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
4587
4587
|
const s = Da(a), o = s === ((n = a.ownerDocument) == null ? void 0 : n.body), i = $e(s);
|
|
4588
|
-
return o ? e.concat(i, i.visualViewport || [],
|
|
4588
|
+
return o ? e.concat(i, i.visualViewport || [], jt(s) ? s : [], i.frameElement && t ? Dt(i.frameElement) : []) : e.concat(s, Dt(s));
|
|
4589
4589
|
}
|
|
4590
4590
|
function Ha(a) {
|
|
4591
4591
|
const e = Ie(a);
|
|
4592
4592
|
let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4593
|
-
const s = Pe(a), o = s ? a.offsetWidth : t, i = s ? a.offsetHeight : n, l =
|
|
4593
|
+
const s = Pe(a), o = s ? a.offsetWidth : t, i = s ? a.offsetHeight : n, l = e1(t) !== o || e1(n) !== i;
|
|
4594
4594
|
return l && (t = o, n = i), {
|
|
4595
4595
|
width: t,
|
|
4596
4596
|
height: n,
|
|
@@ -4609,7 +4609,7 @@ function ht(a) {
|
|
|
4609
4609
|
height: s,
|
|
4610
4610
|
$: o
|
|
4611
4611
|
} = Ha(e);
|
|
4612
|
-
let i = (o ?
|
|
4612
|
+
let i = (o ? e1(t.width) : t.width) / n, l = (o ? e1(t.height) : t.height) / s;
|
|
4613
4613
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4614
4614
|
x: i,
|
|
4615
4615
|
y: l
|
|
@@ -4641,7 +4641,7 @@ function st(a, e, t, n) {
|
|
|
4641
4641
|
u *= S.x, r *= S.y, d *= S.x, f *= S.y, u += b, r += L, y = $e(y).frameElement;
|
|
4642
4642
|
}
|
|
4643
4643
|
}
|
|
4644
|
-
return
|
|
4644
|
+
return a1({
|
|
4645
4645
|
width: d,
|
|
4646
4646
|
height: f,
|
|
4647
4647
|
x: u,
|
|
@@ -4662,7 +4662,7 @@ function b3(a) {
|
|
|
4662
4662
|
scrollTop: 0
|
|
4663
4663
|
}, l = Xe(1);
|
|
4664
4664
|
const u = Xe(0);
|
|
4665
|
-
if ((s || !s && n !== "fixed") && ((xe(t) !== "body" ||
|
|
4665
|
+
if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || jt(o)) && (i = h1(t)), Pe(t))) {
|
|
4666
4666
|
const r = st(t);
|
|
4667
4667
|
l = ht(t), u.x = r.x + t.clientLeft, u.y = r.y + t.clientTop;
|
|
4668
4668
|
}
|
|
@@ -4677,10 +4677,10 @@ function w3(a) {
|
|
|
4677
4677
|
return Array.from(a.getClientRects());
|
|
4678
4678
|
}
|
|
4679
4679
|
function Ba(a) {
|
|
4680
|
-
return st(Fe(a)).left +
|
|
4680
|
+
return st(Fe(a)).left + h1(a).scrollLeft;
|
|
4681
4681
|
}
|
|
4682
4682
|
function $3(a) {
|
|
4683
|
-
const e = Fe(a), t =
|
|
4683
|
+
const e = Fe(a), t = h1(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);
|
|
4684
4684
|
let i = -t.scrollLeft + Ba(a);
|
|
4685
4685
|
const l = -t.scrollTop;
|
|
4686
4686
|
return Ie(n).direction === "rtl" && (i += Ae(e.clientWidth, n.clientWidth) - s), {
|
|
@@ -4730,22 +4730,22 @@ function ra(a, e, t) {
|
|
|
4730
4730
|
y: e.y - s.y
|
|
4731
4731
|
};
|
|
4732
4732
|
}
|
|
4733
|
-
return
|
|
4733
|
+
return a1(n);
|
|
4734
4734
|
}
|
|
4735
4735
|
function Na(a, e) {
|
|
4736
4736
|
const t = _t(a);
|
|
4737
|
-
return t === e || !Ze(t) ||
|
|
4737
|
+
return t === e || !Ze(t) || p1(t) ? !1 : Ie(t).position === "fixed" || Na(t, e);
|
|
4738
4738
|
}
|
|
4739
4739
|
function A3(a, e) {
|
|
4740
4740
|
const t = e.get(a);
|
|
4741
4741
|
if (t)
|
|
4742
4742
|
return t;
|
|
4743
|
-
let n =
|
|
4743
|
+
let n = Dt(a, [], !1).filter((l) => Ze(l) && xe(l) !== "body"), s = null;
|
|
4744
4744
|
const o = Ie(a).position === "fixed";
|
|
4745
4745
|
let i = o ? _t(a) : a;
|
|
4746
|
-
for (; Ze(i) && !
|
|
4746
|
+
for (; Ze(i) && !p1(i); ) {
|
|
4747
4747
|
const l = Ie(i), u = N1(i);
|
|
4748
|
-
!u && l.position === "fixed" && (s = null), (o ? !u && !s : !u && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) ||
|
|
4748
|
+
!u && l.position === "fixed" && (s = null), (o ? !u && !s : !u && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || jt(i) && !u && Na(a, i)) ? n = n.filter((d) => d !== i) : s = l, i = _t(i);
|
|
4749
4749
|
}
|
|
4750
4750
|
return e.set(a, n), n;
|
|
4751
4751
|
}
|
|
@@ -4758,7 +4758,7 @@ function T3(a) {
|
|
|
4758
4758
|
} = a;
|
|
4759
4759
|
const i = [...t === "clippingAncestors" ? A3(e, this._c) : [].concat(t), n], l = i[0], u = i.reduce((r, d) => {
|
|
4760
4760
|
const f = ra(e, d, s);
|
|
4761
|
-
return r.top = Ae(f.top, r.top), r.right =
|
|
4761
|
+
return r.top = Ae(f.top, r.top), r.right = Vt(f.right, r.right), r.bottom = Vt(f.bottom, r.bottom), r.left = Ae(f.left, r.left), r;
|
|
4762
4762
|
}, ra(e, l, s));
|
|
4763
4763
|
return {
|
|
4764
4764
|
width: u.right - u.left,
|
|
@@ -4778,7 +4778,7 @@ function E3(a, e, t) {
|
|
|
4778
4778
|
};
|
|
4779
4779
|
const u = Xe(0);
|
|
4780
4780
|
if (n || !n && !o)
|
|
4781
|
-
if ((xe(e) !== "body" ||
|
|
4781
|
+
if ((xe(e) !== "body" || jt(s)) && (l = h1(e)), n) {
|
|
4782
4782
|
const r = st(e, !0, o, e);
|
|
4783
4783
|
u.x = r.x + e.clientLeft, u.y = r.y + e.clientTop;
|
|
4784
4784
|
} else
|
|
@@ -4849,12 +4849,12 @@ function V3(a, e) {
|
|
|
4849
4849
|
} = a.getBoundingClientRect();
|
|
4850
4850
|
if (l || e(), !f || !p)
|
|
4851
4851
|
return;
|
|
4852
|
-
const h =
|
|
4852
|
+
const h = Xt(d), y = Xt(s.clientWidth - (r + f)), S = Xt(s.clientHeight - (d + p)), _ = Xt(r), b = {
|
|
4853
4853
|
rootMargin: -h + "px " + -y + "px " + -S + "px " + -_ + "px",
|
|
4854
|
-
threshold: Ae(0,
|
|
4854
|
+
threshold: Ae(0, Vt(1, u)) || 1
|
|
4855
4855
|
};
|
|
4856
4856
|
let L = !0;
|
|
4857
|
-
function
|
|
4857
|
+
function Z(Y) {
|
|
4858
4858
|
const V = Y[0].intersectionRatio;
|
|
4859
4859
|
if (V !== u) {
|
|
4860
4860
|
if (!L)
|
|
@@ -4866,13 +4866,13 @@ function V3(a, e) {
|
|
|
4866
4866
|
L = !1;
|
|
4867
4867
|
}
|
|
4868
4868
|
try {
|
|
4869
|
-
t = new IntersectionObserver(
|
|
4869
|
+
t = new IntersectionObserver(Z, {
|
|
4870
4870
|
...b,
|
|
4871
4871
|
// Handle <iframe>s
|
|
4872
4872
|
root: s.ownerDocument
|
|
4873
4873
|
});
|
|
4874
4874
|
} catch {
|
|
4875
|
-
t = new IntersectionObserver(
|
|
4875
|
+
t = new IntersectionObserver(Z, b);
|
|
4876
4876
|
}
|
|
4877
4877
|
t.observe(a);
|
|
4878
4878
|
}
|
|
@@ -4886,7 +4886,7 @@ function D3(a, e, t, n) {
|
|
|
4886
4886
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4887
4887
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
4888
4888
|
animationFrame: u = !1
|
|
4889
|
-
} = n, r = U1(a), d = s || o ? [...r ?
|
|
4889
|
+
} = n, r = U1(a), d = s || o ? [...r ? Dt(r) : [], ...Dt(e)] : [];
|
|
4890
4890
|
d.forEach((k) => {
|
|
4891
4891
|
s && k.addEventListener("scroll", t, {
|
|
4892
4892
|
passive: !0
|
|
@@ -4982,7 +4982,7 @@ const H3 = (a, e, t) => {
|
|
|
4982
4982
|
});
|
|
4983
4983
|
});
|
|
4984
4984
|
}
|
|
4985
|
-
|
|
4985
|
+
Ht(() => {
|
|
4986
4986
|
r();
|
|
4987
4987
|
}), fs(() => {
|
|
4988
4988
|
l.value();
|
|
@@ -5055,7 +5055,7 @@ function U3(a, e, t) {
|
|
|
5055
5055
|
}
|
|
5056
5056
|
};
|
|
5057
5057
|
}
|
|
5058
|
-
function
|
|
5058
|
+
function T1(a, e = !0) {
|
|
5059
5059
|
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, "");
|
|
5060
5060
|
}
|
|
5061
5061
|
function j3(a) {
|
|
@@ -5086,7 +5086,7 @@ function F3(a, e, t) {
|
|
|
5086
5086
|
resolveOnLoad: k,
|
|
5087
5087
|
minChars: b,
|
|
5088
5088
|
filterResults: L,
|
|
5089
|
-
clearOnSearch:
|
|
5089
|
+
clearOnSearch: Z,
|
|
5090
5090
|
clearOnSelect: Y,
|
|
5091
5091
|
valueProp: V,
|
|
5092
5092
|
allowAbsent: J,
|
|
@@ -5100,33 +5100,33 @@ function F3(a, e, t) {
|
|
|
5100
5100
|
reverse: ae,
|
|
5101
5101
|
infinite: ce,
|
|
5102
5102
|
groupOptions: A,
|
|
5103
|
-
groupHideEmpty:
|
|
5104
|
-
groupSelect:
|
|
5103
|
+
groupHideEmpty: F,
|
|
5104
|
+
groupSelect: q,
|
|
5105
5105
|
onCreate: se,
|
|
5106
5106
|
disabledProp: ie,
|
|
5107
5107
|
searchStart: ge,
|
|
5108
5108
|
searchFilter: $
|
|
5109
|
-
} = ke(a), R = nt().proxy, z = t.iv, T = t.ev, B = t.search, ue = t.clearSearch, be = t.update,
|
|
5109
|
+
} = ke(a), R = nt().proxy, z = t.iv, T = t.ev, B = t.search, ue = t.clearSearch, be = t.update, Zt = t.pointer, ot = t.clearPointer, Za = t.focus, Fa = t.deactivate, lt = t.close, qa = t.localize, bt = x([]), qe = x([]), Le = x(!1), m1 = x(null), C1 = x(ce.value && i.value === -1 ? 10 : i.value), q1 = w(() => u.value || r.value || !1), za = w(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), ze = w(() => {
|
|
5110
5110
|
if (re.value) {
|
|
5111
|
-
let C =
|
|
5111
|
+
let C = Ft.value || /* istanbul ignore next */
|
|
5112
5112
|
[], D = [];
|
|
5113
5113
|
return C.forEach((ne) => {
|
|
5114
|
-
|
|
5114
|
+
$1(ne[A.value]).forEach((pe) => {
|
|
5115
5115
|
D.push(Object.assign({}, pe, ne[ie.value] ? { [ie.value]: !0 } : {}));
|
|
5116
5116
|
});
|
|
5117
5117
|
}), D;
|
|
5118
5118
|
} else {
|
|
5119
|
-
let C =
|
|
5119
|
+
let C = $1(qe.value || /* istanbul ignore next */
|
|
5120
5120
|
[]);
|
|
5121
5121
|
return bt.value.length && (C = C.concat(bt.value)), C;
|
|
5122
5122
|
}
|
|
5123
5123
|
}), z1 = w(() => {
|
|
5124
5124
|
let C = ze.value;
|
|
5125
|
-
return ae.value && (C = C.reverse()), rt.value.length && (C = rt.value.concat(C)),
|
|
5125
|
+
return ae.value && (C = C.reverse()), rt.value.length && (C = rt.value.concat(C)), w1(C);
|
|
5126
5126
|
}), wt = w(() => {
|
|
5127
5127
|
let C = z1.value;
|
|
5128
|
-
return
|
|
5129
|
-
}),
|
|
5128
|
+
return C1.value > 0 && (C = C.slice(0, C1.value)), C;
|
|
5129
|
+
}), Ft = w(() => {
|
|
5130
5130
|
if (!re.value)
|
|
5131
5131
|
return [];
|
|
5132
5132
|
let C = [], D = qe.value || /* istanbul ignore next */
|
|
@@ -5137,7 +5137,7 @@ function F3(a, e, t) {
|
|
|
5137
5137
|
__CREATE__: !0
|
|
5138
5138
|
}), C.concat(D);
|
|
5139
5139
|
}), Wa = w(() => {
|
|
5140
|
-
let C = [...
|
|
5140
|
+
let C = [...Ft.value].map((D) => ({ ...D }));
|
|
5141
5141
|
return rt.value.length && (C[0] && C[0].__CREATE__ ? C[0][A.value] = [...rt.value, ...C[0][A.value]] : C = [{
|
|
5142
5142
|
[ee.value]: " ",
|
|
5143
5143
|
[A.value]: [...rt.value],
|
|
@@ -5149,16 +5149,16 @@ function F3(a, e, t) {
|
|
|
5149
5149
|
let C = Wa.value;
|
|
5150
5150
|
return ls((C || /* istanbul ignore next */
|
|
5151
5151
|
[]).map((D, ne) => {
|
|
5152
|
-
const pe =
|
|
5152
|
+
const pe = $1(D[A.value]);
|
|
5153
5153
|
return {
|
|
5154
5154
|
...D,
|
|
5155
5155
|
index: ne,
|
|
5156
5156
|
group: !0,
|
|
5157
|
-
[A.value]:
|
|
5158
|
-
__VISIBLE__:
|
|
5157
|
+
[A.value]: w1(pe, !1).map(($t) => Object.assign({}, $t, D[ie.value] ? { [ie.value]: !0 } : {})),
|
|
5158
|
+
__VISIBLE__: w1(pe).map(($t) => Object.assign({}, $t, D[ie.value] ? { [ie.value]: !0 } : {}))
|
|
5159
5159
|
};
|
|
5160
5160
|
}));
|
|
5161
|
-
}),
|
|
5161
|
+
}), _1 = w(() => {
|
|
5162
5162
|
switch (s.value) {
|
|
5163
5163
|
case "single":
|
|
5164
5164
|
return !De(z.value[V.value]);
|
|
@@ -5221,8 +5221,8 @@ function F3(a, e, t) {
|
|
|
5221
5221
|
case "multiple":
|
|
5222
5222
|
return !De(z.value) && z.value.map((D) => D[V.value]).indexOf(C[V.value]) !== -1;
|
|
5223
5223
|
}
|
|
5224
|
-
},
|
|
5225
|
-
if (!
|
|
5224
|
+
}, g1 = (C) => C[ie.value] === !0, y1 = () => O === void 0 || O.value === -1 || !_1.value && O.value > 0 ? !1 : z.value.length >= O.value, Ja = (C) => {
|
|
5225
|
+
if (!g1(C)) {
|
|
5226
5226
|
if (se && se.value && !Ne(C) && C.__CREATE__ && (C = { ...C }, delete C.__CREATE__, C = se.value(C, R), C instanceof Promise)) {
|
|
5227
5227
|
Le.value = !0, C.then((D) => {
|
|
5228
5228
|
Le.value = !1, X1(D);
|
|
@@ -5238,34 +5238,34 @@ function F3(a, e, t) {
|
|
|
5238
5238
|
te.value && dt(C), H.value && (ot(), lt());
|
|
5239
5239
|
return;
|
|
5240
5240
|
}
|
|
5241
|
-
C &&
|
|
5241
|
+
C && b1(C), Y.value && ue(), I.value && (ot(), lt()), C && ut(C);
|
|
5242
5242
|
break;
|
|
5243
5243
|
case "multiple":
|
|
5244
5244
|
if (C && Ne(C)) {
|
|
5245
5245
|
dt(C), H.value && (ot(), lt());
|
|
5246
5246
|
return;
|
|
5247
5247
|
}
|
|
5248
|
-
if (
|
|
5248
|
+
if (y1()) {
|
|
5249
5249
|
e.emit("max", R);
|
|
5250
5250
|
return;
|
|
5251
5251
|
}
|
|
5252
|
-
C && (
|
|
5252
|
+
C && (b1(C), ut(C)), Y.value && ue(), l.value && ot(), I.value && lt();
|
|
5253
5253
|
break;
|
|
5254
5254
|
case "tags":
|
|
5255
5255
|
if (C && Ne(C)) {
|
|
5256
5256
|
dt(C), H.value && (ot(), lt());
|
|
5257
5257
|
return;
|
|
5258
5258
|
}
|
|
5259
|
-
if (
|
|
5259
|
+
if (y1()) {
|
|
5260
5260
|
e.emit("max", R);
|
|
5261
5261
|
return;
|
|
5262
5262
|
}
|
|
5263
|
-
C &&
|
|
5263
|
+
C && b1(C), Y.value && ue(), C && ut(C), l.value && ot(), I.value && lt();
|
|
5264
5264
|
break;
|
|
5265
5265
|
}
|
|
5266
5266
|
I.value || Za();
|
|
5267
5267
|
}, es = (C) => {
|
|
5268
|
-
if (!(
|
|
5268
|
+
if (!(g1(C) || s.value === "single" || !q.value)) {
|
|
5269
5269
|
switch (s.value) {
|
|
5270
5270
|
case "multiple":
|
|
5271
5271
|
case "tags":
|
|
@@ -5276,7 +5276,7 @@ function F3(a, e, t) {
|
|
|
5276
5276
|
}
|
|
5277
5277
|
I.value && Fa();
|
|
5278
5278
|
}
|
|
5279
|
-
},
|
|
5279
|
+
}, b1 = (C) => {
|
|
5280
5280
|
Re(C[V.value]) === void 0 && q1.value && (e.emit("tag", C[V.value], R), e.emit("option", C[V.value], R), e.emit("create", C[V.value], R), za.value && os(C), ue());
|
|
5281
5281
|
}, ts = () => {
|
|
5282
5282
|
s.value !== "single" && ut(wt.value.filter((C) => !C.disabled && !Ne(C)));
|
|
@@ -5284,27 +5284,27 @@ function F3(a, e, t) {
|
|
|
5284
5284
|
parseInt(C) == C ? parseInt(C) : C
|
|
5285
5285
|
), is = (C) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(C), os = (C) => {
|
|
5286
5286
|
bt.value.push(C);
|
|
5287
|
-
}, ls = (C) =>
|
|
5287
|
+
}, ls = (C) => F.value ? C.filter(
|
|
5288
5288
|
(D) => B.value ? D.__VISIBLE__.length : D[A.value].length
|
|
5289
|
-
) : C.filter((D) => B.value ? D.__VISIBLE__.length : !0),
|
|
5289
|
+
) : C.filter((D) => B.value ? D.__VISIBLE__.length : !0), w1 = (C, D = !0) => {
|
|
5290
5290
|
let ne = C;
|
|
5291
5291
|
if (B.value && L.value) {
|
|
5292
5292
|
let pe = $.value;
|
|
5293
|
-
pe || (pe = ($t,
|
|
5294
|
-
let Q1 =
|
|
5295
|
-
return ge.value ? Q1.startsWith(
|
|
5293
|
+
pe || (pe = ($t, f8) => {
|
|
5294
|
+
let Q1 = T1(qa($t[Ve.value]), g.value);
|
|
5295
|
+
return ge.value ? Q1.startsWith(T1(B.value, g.value)) : Q1.indexOf(T1(B.value, g.value)) !== -1;
|
|
5296
5296
|
}), ne = ne.filter(pe);
|
|
5297
5297
|
}
|
|
5298
5298
|
return l.value && D && (ne = ne.filter((pe) => !is(pe))), ne;
|
|
5299
|
-
},
|
|
5299
|
+
}, $1 = (C) => {
|
|
5300
5300
|
let D = C;
|
|
5301
5301
|
return j3(D) && (D = Object.keys(D).map((ne) => {
|
|
5302
5302
|
let pe = D[ne];
|
|
5303
5303
|
return { [V.value]: ne, [Ve.value]: pe, [d.value]: pe };
|
|
5304
5304
|
})), D = D.map((ne) => typeof ne == "object" ? ne : { [V.value]: ne, [Ve.value]: ne, [d.value]: ne }), D;
|
|
5305
|
-
},
|
|
5306
|
-
De(T.value) || (z.value =
|
|
5307
|
-
},
|
|
5305
|
+
}, qt = () => {
|
|
5306
|
+
De(T.value) || (z.value = Wt(T.value));
|
|
5307
|
+
}, zt = (C) => (Le.value = !0, new Promise((D, ne) => {
|
|
5308
5308
|
n.value(B.value, R).then((pe) => {
|
|
5309
5309
|
qe.value = pe || [], typeof C == "function" && C(pe), Le.value = !1;
|
|
5310
5310
|
}).catch((pe) => {
|
|
@@ -5312,8 +5312,8 @@ function F3(a, e, t) {
|
|
|
5312
5312
|
}).finally(() => {
|
|
5313
5313
|
D();
|
|
5314
5314
|
});
|
|
5315
|
-
})),
|
|
5316
|
-
if (
|
|
5315
|
+
})), k1 = () => {
|
|
5316
|
+
if (_1.value)
|
|
5317
5317
|
if (s.value === "single") {
|
|
5318
5318
|
let C = Re(z.value[V.value]);
|
|
5319
5319
|
if (C !== void 0) {
|
|
@@ -5329,8 +5329,8 @@ function F3(a, e, t) {
|
|
|
5329
5329
|
}
|
|
5330
5330
|
});
|
|
5331
5331
|
}, rs = (C) => {
|
|
5332
|
-
|
|
5333
|
-
},
|
|
5332
|
+
zt(C);
|
|
5333
|
+
}, Wt = (C) => De(C) ? s.value === "single" ? {} : [] : y.value ? C : s.value === "single" ? Re(C) || (J.value ? {
|
|
5334
5334
|
[d.value]: C,
|
|
5335
5335
|
[V.value]: C,
|
|
5336
5336
|
[Ve.value]: C
|
|
@@ -5339,10 +5339,10 @@ function F3(a, e, t) {
|
|
|
5339
5339
|
[V.value]: D,
|
|
5340
5340
|
[Ve.value]: D
|
|
5341
5341
|
}), x1 = () => {
|
|
5342
|
-
|
|
5343
|
-
C.length < b.value || !C && b.value !== 0 || (Le.value = !0,
|
|
5342
|
+
m1.value = de(B, (C) => {
|
|
5343
|
+
C.length < b.value || !C && b.value !== 0 || (Le.value = !0, Z.value && (qe.value = []), setTimeout(() => {
|
|
5344
5344
|
C == B.value && n.value(B.value, R).then((D) => {
|
|
5345
|
-
(C == B.value || !B.value) && (qe.value = D,
|
|
5345
|
+
(C == B.value || !B.value) && (qe.value = D, Zt.value = wt.value.filter((ne) => ne[ie.value] !== !0)[0] || null, Le.value = !1);
|
|
5346
5346
|
}).catch(
|
|
5347
5347
|
/* istanbul ignore next */
|
|
5348
5348
|
(D) => {
|
|
@@ -5354,56 +5354,56 @@ function F3(a, e, t) {
|
|
|
5354
5354
|
};
|
|
5355
5355
|
if (s.value !== "single" && !De(T.value) && !Array.isArray(T.value))
|
|
5356
5356
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5357
|
-
return n && typeof n.value == "function" ? k.value ? qt
|
|
5358
|
-
|
|
5357
|
+
return n && typeof n.value == "function" ? k.value ? zt(qt) : y.value == !0 && qt() : (qe.value = n.value, qt()), _.value > -1 && x1(), de(_, (C, D) => {
|
|
5358
|
+
m1.value && m1.value(), C >= 0 && x1();
|
|
5359
5359
|
}), de(T, (C) => {
|
|
5360
5360
|
if (De(C)) {
|
|
5361
|
-
be(
|
|
5361
|
+
be(Wt(C), !1);
|
|
5362
5362
|
return;
|
|
5363
5363
|
}
|
|
5364
5364
|
switch (s.value) {
|
|
5365
5365
|
case "single":
|
|
5366
|
-
(y.value ? C[V.value] != z.value[V.value] : C != z.value[V.value]) && be(
|
|
5366
|
+
(y.value ? C[V.value] != z.value[V.value] : C != z.value[V.value]) && be(Wt(C), !1);
|
|
5367
5367
|
break;
|
|
5368
5368
|
case "multiple":
|
|
5369
5369
|
case "tags":
|
|
5370
|
-
Z3(y.value ? C.map((D) => D[V.value]) : C, z.value.map((D) => D[V.value])) || be(
|
|
5370
|
+
Z3(y.value ? C.map((D) => D[V.value]) : C, z.value.map((D) => D[V.value])) || be(Wt(C), !1);
|
|
5371
5371
|
break;
|
|
5372
5372
|
}
|
|
5373
5373
|
}, { deep: !0 }), de(n, (C, D) => {
|
|
5374
|
-
typeof a.options == "function" ? k.value && (!D || C && C.toString() !== D.toString()) &&
|
|
5375
|
-
}), de(d,
|
|
5374
|
+
typeof a.options == "function" ? k.value && (!D || C && C.toString() !== D.toString()) && zt() : (qe.value = a.options, Object.keys(z.value).length || qt(), k1());
|
|
5375
|
+
}), de(d, k1), {
|
|
5376
5376
|
pfo: z1,
|
|
5377
5377
|
fo: wt,
|
|
5378
5378
|
filteredOptions: wt,
|
|
5379
|
-
hasSelected:
|
|
5379
|
+
hasSelected: _1,
|
|
5380
5380
|
multipleLabelText: Ya,
|
|
5381
5381
|
eo: ze,
|
|
5382
5382
|
extendedOptions: ze,
|
|
5383
|
-
eg:
|
|
5384
|
-
extendedGroups:
|
|
5383
|
+
eg: Ft,
|
|
5384
|
+
extendedGroups: Ft,
|
|
5385
5385
|
fg: W1,
|
|
5386
5386
|
filteredGroups: W1,
|
|
5387
5387
|
noOptions: Ka,
|
|
5388
5388
|
noResults: Ga,
|
|
5389
5389
|
resolving: Le,
|
|
5390
5390
|
busy: xa,
|
|
5391
|
-
offset:
|
|
5391
|
+
offset: C1,
|
|
5392
5392
|
select: ut,
|
|
5393
5393
|
deselect: dt,
|
|
5394
5394
|
remove: K1,
|
|
5395
5395
|
selectAll: ts,
|
|
5396
5396
|
clear: G1,
|
|
5397
5397
|
isSelected: Ne,
|
|
5398
|
-
isDisabled:
|
|
5399
|
-
isMax:
|
|
5398
|
+
isDisabled: g1,
|
|
5399
|
+
isMax: y1,
|
|
5400
5400
|
getOption: Re,
|
|
5401
5401
|
handleOptionClick: Ja,
|
|
5402
5402
|
handleGroupClick: es,
|
|
5403
5403
|
handleTagRemove: Qa,
|
|
5404
5404
|
refreshOptions: rs,
|
|
5405
|
-
resolveOptions:
|
|
5406
|
-
refreshLabels:
|
|
5405
|
+
resolveOptions: zt,
|
|
5406
|
+
refreshLabels: k1
|
|
5407
5407
|
};
|
|
5408
5408
|
}
|
|
5409
5409
|
function q3(a, e, t) {
|
|
@@ -5417,7 +5417,7 @@ function q3(a, e, t) {
|
|
|
5417
5417
|
groupSelect: r,
|
|
5418
5418
|
disabledProp: d,
|
|
5419
5419
|
groupOptions: f
|
|
5420
|
-
} = ke(a), p = t.fo, h = t.fg, y = t.handleOptionClick, S = t.handleGroupClick, _ = t.search, k = t.pointer, b = t.setPointer, L = t.clearPointer,
|
|
5420
|
+
} = ke(a), p = t.fo, h = t.fg, y = t.handleOptionClick, S = t.handleGroupClick, _ = t.search, k = t.pointer, b = t.setPointer, L = t.clearPointer, Z = t.multiselect, Y = t.isOpen, V = w(() => p.value.filter((T) => !T[d.value])), J = w(() => h.value.filter((T) => !T[d.value])), ee = w(() => u.value !== "single" && r.value), te = w(() => k.value && k.value.group), O = w(() => R(k.value)), g = w(() => {
|
|
5421
5421
|
const T = te.value ? k.value : (
|
|
5422
5422
|
/* istanbul ignore next */
|
|
5423
5423
|
R(k.value)
|
|
@@ -5433,7 +5433,7 @@ function q3(a, e, t) {
|
|
|
5433
5433
|
}), ce = w(() => {
|
|
5434
5434
|
const T = R(k.value).__VISIBLE__.filter((B) => !B[d.value]);
|
|
5435
5435
|
return T[T.map((B) => B[n.value]).indexOf(k.value[n.value]) + 1];
|
|
5436
|
-
}), A = w(() => [...g.value.__VISIBLE__.filter((T) => !T[d.value])].slice(-1)[0]),
|
|
5436
|
+
}), A = w(() => [...g.value.__VISIBLE__.filter((T) => !T[d.value])].slice(-1)[0]), F = w(() => [...H.value.__VISIBLE__.filter((T) => !T[d.value])].slice(-1)[0]), q = (T) => k.value && (!T.group && k.value[n.value] === T[n.value] || T.group !== void 0 && k.value[i.value] === T[i.value]) ? !0 : void 0, se = () => {
|
|
5437
5437
|
b(V.value[0] || null);
|
|
5438
5438
|
}, ie = () => {
|
|
5439
5439
|
!k.value || k.value[d.value] === !0 || (te.value ? S(k.value) : y(k.value));
|
|
@@ -5454,7 +5454,7 @@ function q3(a, e, t) {
|
|
|
5454
5454
|
}, $ = () => {
|
|
5455
5455
|
if (k.value === null) {
|
|
5456
5456
|
let T = V.value[V.value.length - 1];
|
|
5457
|
-
l.value && ee.value && (T =
|
|
5457
|
+
l.value && ee.value && (T = F.value, T === void 0 && (T = H.value)), b(T || null);
|
|
5458
5458
|
} else if (l.value && ee.value) {
|
|
5459
5459
|
let T = te.value ? A.value : ae.value;
|
|
5460
5460
|
T === void 0 && (T = te.value ? g.value : O.value, T.__CREATE__ && (T = A.value, T === void 0 && (T = g.value))), b(T || /* istanbul ignore next */
|
|
@@ -5467,7 +5467,7 @@ function q3(a, e, t) {
|
|
|
5467
5467
|
z();
|
|
5468
5468
|
});
|
|
5469
5469
|
}, R = (T) => J.value.find((B) => B.__VISIBLE__.map((ue) => ue[n.value]).indexOf(T[n.value]) !== -1), z = () => {
|
|
5470
|
-
let T =
|
|
5470
|
+
let T = Z.value.querySelector("[data-pointed]");
|
|
5471
5471
|
if (!T)
|
|
5472
5472
|
return;
|
|
5473
5473
|
let B = T.parentElement.parentElement;
|
|
@@ -5477,7 +5477,7 @@ function q3(a, e, t) {
|
|
|
5477
5477
|
o.value && (T.length && s.value ? se() : L());
|
|
5478
5478
|
}), de(Y, (T) => {
|
|
5479
5479
|
if (T) {
|
|
5480
|
-
let B =
|
|
5480
|
+
let B = Z.value.querySelectorAll("[data-selected]")[0];
|
|
5481
5481
|
if (!B)
|
|
5482
5482
|
return;
|
|
5483
5483
|
let ue = B.parentElement.parentElement;
|
|
@@ -5488,7 +5488,7 @@ function q3(a, e, t) {
|
|
|
5488
5488
|
}), {
|
|
5489
5489
|
pointer: k,
|
|
5490
5490
|
canPointGroups: ee,
|
|
5491
|
-
isPointed:
|
|
5491
|
+
isPointed: q,
|
|
5492
5492
|
setPointerFirst: se,
|
|
5493
5493
|
selectPointer: ie,
|
|
5494
5494
|
forwardPointer: ge,
|
|
@@ -5514,7 +5514,7 @@ function W3(a, e, t) {
|
|
|
5514
5514
|
n.value && !s.value && i.value.focus();
|
|
5515
5515
|
}, L = (te = !0) => {
|
|
5516
5516
|
s.value || (y.value = !0, te && l());
|
|
5517
|
-
},
|
|
5517
|
+
}, Z = () => {
|
|
5518
5518
|
y.value = !1, setTimeout(() => {
|
|
5519
5519
|
y.value || (u(), o.value && r());
|
|
5520
5520
|
}, 1);
|
|
@@ -5529,19 +5529,19 @@ function W3(a, e, t) {
|
|
|
5529
5529
|
blur: k,
|
|
5530
5530
|
focus: b,
|
|
5531
5531
|
activate: L,
|
|
5532
|
-
deactivate:
|
|
5532
|
+
deactivate: Z,
|
|
5533
5533
|
handleFocusIn: (te) => {
|
|
5534
5534
|
te.target.closest("[data-tags]") && te.target.nodeName !== "INPUT" || te.target.closest("[data-clear]") || L(S.value);
|
|
5535
5535
|
},
|
|
5536
5536
|
handleFocusOut: () => {
|
|
5537
|
-
|
|
5537
|
+
Z();
|
|
5538
5538
|
},
|
|
5539
5539
|
handleCaretClick: () => {
|
|
5540
|
-
|
|
5540
|
+
Z(), k();
|
|
5541
5541
|
},
|
|
5542
5542
|
handleMousedown: (te) => {
|
|
5543
5543
|
S.value = !0, d.value && (te.target.isEqualNode(p.value) || te.target.isEqualNode(h.value)) ? setTimeout(() => {
|
|
5544
|
-
|
|
5544
|
+
Z();
|
|
5545
5545
|
}, 0) : document.activeElement.isEqualNode(p.value) && !d.value && L(), setTimeout(() => {
|
|
5546
5546
|
S.value = !1;
|
|
5547
5547
|
}, 0);
|
|
@@ -5561,26 +5561,26 @@ function Y3(a, e, t) {
|
|
|
5561
5561
|
createTag: f,
|
|
5562
5562
|
createOption: p,
|
|
5563
5563
|
reverse: h
|
|
5564
|
-
} = ke(a), y = nt().proxy, S = t.iv, _ = t.update, k = t.search, b = t.setPointer, L = t.selectPointer,
|
|
5565
|
-
n.value === "tags" && !l.value && H.value && i.value && !r.value && b(I.value[I.value.map((
|
|
5566
|
-
}, ce = (
|
|
5567
|
-
let se =
|
|
5568
|
-
for (; se >= 0 && (
|
|
5564
|
+
} = ke(a), y = nt().proxy, S = t.iv, _ = t.update, k = t.search, b = t.setPointer, L = t.selectPointer, Z = t.backwardPointer, Y = t.forwardPointer, V = t.multiselect, J = t.wrapper, ee = t.tags, te = t.isOpen, O = t.open, g = t.blur, I = t.fo, H = w(() => f.value || p.value || !1), re = w(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), ae = () => {
|
|
5565
|
+
n.value === "tags" && !l.value && H.value && i.value && !r.value && b(I.value[I.value.map((q) => q[u.value]).indexOf(k.value)]);
|
|
5566
|
+
}, ce = (q) => {
|
|
5567
|
+
let se = q.length - 1;
|
|
5568
|
+
for (; se >= 0 && (q[se].remove === !1 || q[se].disabled); )
|
|
5569
5569
|
se--;
|
|
5570
|
-
return se < 0 ||
|
|
5570
|
+
return se < 0 || q.splice(se, 1), q;
|
|
5571
5571
|
};
|
|
5572
5572
|
return {
|
|
5573
|
-
handleKeydown: (
|
|
5574
|
-
e.emit("keydown",
|
|
5573
|
+
handleKeydown: (q) => {
|
|
5574
|
+
e.emit("keydown", q, y);
|
|
5575
5575
|
let se, ie;
|
|
5576
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(
|
|
5576
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(q.key) !== -1 && n.value === "tags" && (se = [...V.value.querySelectorAll("[data-tags] > *")].filter((ge) => ge !== ee.value), ie = se.findIndex((ge) => ge === document.activeElement)), q.key) {
|
|
5577
5577
|
case "Backspace":
|
|
5578
5578
|
if (n.value === "single" || i.value && [null, ""].indexOf(k.value) === -1 || S.value.length === 0)
|
|
5579
5579
|
return;
|
|
5580
5580
|
_(ce([...S.value]));
|
|
5581
5581
|
break;
|
|
5582
5582
|
case "Enter":
|
|
5583
|
-
if (
|
|
5583
|
+
if (q.preventDefault(), q.keyCode === 229)
|
|
5584
5584
|
return;
|
|
5585
5585
|
if (ie !== -1 && ie !== void 0) {
|
|
5586
5586
|
_([...S.value].filter((ge, $) => $ !== ie)), ie === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? ee.value.querySelector("input").focus() : J.value.focus());
|
|
@@ -5592,49 +5592,49 @@ function Y3(a, e, t) {
|
|
|
5592
5592
|
break;
|
|
5593
5593
|
case " ":
|
|
5594
5594
|
if (!H.value && !i.value) {
|
|
5595
|
-
|
|
5595
|
+
q.preventDefault(), ae(), L();
|
|
5596
5596
|
return;
|
|
5597
5597
|
}
|
|
5598
5598
|
if (!H.value)
|
|
5599
5599
|
return !1;
|
|
5600
5600
|
if (re.value.indexOf("space") === -1 && H.value)
|
|
5601
5601
|
return;
|
|
5602
|
-
|
|
5602
|
+
q.preventDefault(), ae(), L();
|
|
5603
5603
|
break;
|
|
5604
5604
|
case "Tab":
|
|
5605
5605
|
case ";":
|
|
5606
5606
|
case ",":
|
|
5607
|
-
if (re.value.indexOf(
|
|
5607
|
+
if (re.value.indexOf(q.key.toLowerCase()) === -1 || !H.value)
|
|
5608
5608
|
return;
|
|
5609
|
-
ae(), L(),
|
|
5609
|
+
ae(), L(), q.preventDefault();
|
|
5610
5610
|
break;
|
|
5611
5611
|
case "Escape":
|
|
5612
5612
|
g();
|
|
5613
5613
|
break;
|
|
5614
5614
|
case "ArrowUp":
|
|
5615
|
-
if (
|
|
5615
|
+
if (q.preventDefault(), !l.value)
|
|
5616
5616
|
return;
|
|
5617
|
-
te.value || O(),
|
|
5617
|
+
te.value || O(), Z();
|
|
5618
5618
|
break;
|
|
5619
5619
|
case "ArrowDown":
|
|
5620
|
-
if (
|
|
5620
|
+
if (q.preventDefault(), !l.value)
|
|
5621
5621
|
return;
|
|
5622
5622
|
te.value || O(), Y();
|
|
5623
5623
|
break;
|
|
5624
5624
|
case "ArrowLeft":
|
|
5625
|
-
if (i.value && ee.value && ee.value.querySelector("input").selectionStart ||
|
|
5625
|
+
if (i.value && ee.value && ee.value.querySelector("input").selectionStart || q.shiftKey || n.value !== "tags" || !S.value || !S.value.length)
|
|
5626
5626
|
return;
|
|
5627
|
-
|
|
5627
|
+
q.preventDefault(), ie === -1 ? se[se.length - 1].focus() : ie > 0 && se[ie - 1].focus();
|
|
5628
5628
|
break;
|
|
5629
5629
|
case "ArrowRight":
|
|
5630
|
-
if (ie === -1 ||
|
|
5630
|
+
if (ie === -1 || q.shiftKey || n.value !== "tags" || !S.value || !S.value.length)
|
|
5631
5631
|
return;
|
|
5632
|
-
|
|
5632
|
+
q.preventDefault(), se.length > ie + 1 ? se[ie + 1].focus() : i.value ? ee.value.querySelector("input").focus() : i.value || J.value.focus();
|
|
5633
5633
|
break;
|
|
5634
5634
|
}
|
|
5635
5635
|
},
|
|
5636
|
-
handleKeyup: (
|
|
5637
|
-
e.emit("keyup",
|
|
5636
|
+
handleKeyup: (q) => {
|
|
5637
|
+
e.emit("keyup", q, y);
|
|
5638
5638
|
},
|
|
5639
5639
|
preparePointer: ae
|
|
5640
5640
|
};
|
|
@@ -5729,13 +5729,13 @@ function K3(a, e, t) {
|
|
|
5729
5729
|
options: [b.options].concat(o.value === "top" ? b.optionsTop : []),
|
|
5730
5730
|
group: b.group,
|
|
5731
5731
|
groupLabel: (L) => {
|
|
5732
|
-
let
|
|
5733
|
-
return u(L) ?
|
|
5732
|
+
let Z = [b.groupLabel];
|
|
5733
|
+
return u(L) ? Z.push(r(L) ? b.groupLabelSelectedPointed : b.groupLabelPointed) : r(L) && p.value ? Z.push(d(L) ? b.groupLabelSelectedDisabled : b.groupLabelSelected) : d(L) && Z.push(b.groupLabelDisabled), p.value && Z.push(b.groupLabelPointable), Z;
|
|
5734
5734
|
},
|
|
5735
5735
|
groupOptions: b.groupOptions,
|
|
5736
|
-
option: (L,
|
|
5736
|
+
option: (L, Z) => {
|
|
5737
5737
|
let Y = [b.option];
|
|
5738
|
-
return u(L) ? Y.push(r(L) ? b.optionSelectedPointed : b.optionPointed) : r(L) ? Y.push(d(L) ? b.optionSelectedDisabled : b.optionSelected) : (d(L) ||
|
|
5738
|
+
return u(L) ? Y.push(r(L) ? b.optionSelectedPointed : b.optionPointed) : r(L) ? Y.push(d(L) ? b.optionSelectedDisabled : b.optionSelected) : (d(L) || Z && d(Z)) && Y.push(b.optionDisabled), Y;
|
|
5739
5739
|
},
|
|
5740
5740
|
noOptions: b.noOptions,
|
|
5741
5741
|
noResults: b.noResults,
|
|
@@ -5767,7 +5767,7 @@ function G3(a, e, t) {
|
|
|
5767
5767
|
s.value && (i.value = n.value, y());
|
|
5768
5768
|
}, { flush: "post" }), de(r, () => {
|
|
5769
5769
|
s.value && y();
|
|
5770
|
-
}, { immediate: !1, flush: "post" }),
|
|
5770
|
+
}, { immediate: !1, flush: "post" }), Ht(() => {
|
|
5771
5771
|
window && window.IntersectionObserver && (d.value = new IntersectionObserver(h));
|
|
5772
5772
|
}), {
|
|
5773
5773
|
hasMore: p,
|
|
@@ -5794,7 +5794,7 @@ function X3(a, e, t) {
|
|
|
5794
5794
|
let I = [];
|
|
5795
5795
|
if (s && s.value && I.push(s.value), f.value)
|
|
5796
5796
|
return I.push(f.value.group ? "multiselect-group" : "multiselect-option"), I.push(f.value.group ? f.value.index : f.value[o.value]), I.join("-");
|
|
5797
|
-
}), L = w(() => n.value),
|
|
5797
|
+
}), L = w(() => n.value), Z = w(() => l.value !== "single"), Y = w(() => {
|
|
5798
5798
|
let I = "";
|
|
5799
5799
|
return l.value === "single" && h.value && (I += p.value[i.value]), l.value === "multiple" && h.value && (I += y.value), l.value === "tags" && h.value && (I += p.value.map((H) => H[i.value]).join(", ")), I;
|
|
5800
5800
|
}), V = w(() => {
|
|
@@ -5813,7 +5813,7 @@ function X3(a, e, t) {
|
|
|
5813
5813
|
let H = [];
|
|
5814
5814
|
return H.push(I), H.join(" ");
|
|
5815
5815
|
}, g = (I) => `${I} ❎`;
|
|
5816
|
-
return
|
|
5816
|
+
return Ht(() => {
|
|
5817
5817
|
if (s && s.value && document && document.querySelector) {
|
|
5818
5818
|
let I = document.querySelector(`[for="${s.value}"]`);
|
|
5819
5819
|
S.value = I ? I.innerText : null;
|
|
@@ -5824,7 +5824,7 @@ function X3(a, e, t) {
|
|
|
5824
5824
|
ariaAssist: _,
|
|
5825
5825
|
ariaControls: k,
|
|
5826
5826
|
ariaPlaceholder: L,
|
|
5827
|
-
ariaMultiselectable:
|
|
5827
|
+
ariaMultiselectable: Z,
|
|
5828
5828
|
ariaActiveDescendant: b,
|
|
5829
5829
|
ariaOptionId: J,
|
|
5830
5830
|
ariaOptionLabel: te,
|
|
@@ -6277,8 +6277,8 @@ function g5(a, e, t, n, s, o) {
|
|
|
6277
6277
|
key: u,
|
|
6278
6278
|
"aria-label": a.ariaTagLabel(a.localize(i[t.label]))
|
|
6279
6279
|
}, [
|
|
6280
|
-
|
|
6281
|
-
|
|
6280
|
+
n1(
|
|
6281
|
+
U(a.localize(i[t.label])) + " ",
|
|
6282
6282
|
1
|
|
6283
6283
|
/* TEXT */
|
|
6284
6284
|
),
|
|
@@ -6315,7 +6315,7 @@ function g5(a, e, t, n, s, o) {
|
|
|
6315
6315
|
{
|
|
6316
6316
|
class: G(a.classList.tagsSearchCopy)
|
|
6317
6317
|
},
|
|
6318
|
-
|
|
6318
|
+
U(a.search),
|
|
6319
6319
|
3
|
|
6320
6320
|
/* TEXT, CLASS */
|
|
6321
6321
|
),
|
|
@@ -6366,7 +6366,7 @@ function g5(a, e, t, n, s, o) {
|
|
|
6366
6366
|
{
|
|
6367
6367
|
class: G(a.classList.singleLabelText)
|
|
6368
6368
|
},
|
|
6369
|
-
|
|
6369
|
+
U(a.localize(a.iv[t.label])),
|
|
6370
6370
|
3
|
|
6371
6371
|
/* TEXT, CLASS */
|
|
6372
6372
|
)
|
|
@@ -6393,7 +6393,7 @@ function g5(a, e, t, n, s, o) {
|
|
|
6393
6393
|
class: G(a.classList.placeholder),
|
|
6394
6394
|
"aria-hidden": "true"
|
|
6395
6395
|
},
|
|
6396
|
-
|
|
6396
|
+
U(t.placeholder),
|
|
6397
6397
|
3
|
|
6398
6398
|
/* TEXT, CLASS */
|
|
6399
6399
|
)
|
|
@@ -6529,7 +6529,7 @@ function g5(a, e, t, n, s, o) {
|
|
|
6529
6529
|
v(
|
|
6530
6530
|
"span",
|
|
6531
6531
|
null,
|
|
6532
|
-
|
|
6532
|
+
U(a.localize(r[t.label])),
|
|
6533
6533
|
1
|
|
6534
6534
|
/* TEXT */
|
|
6535
6535
|
)
|
|
@@ -6566,7 +6566,7 @@ function g5(a, e, t, n, s, o) {
|
|
|
6566
6566
|
v(
|
|
6567
6567
|
"span",
|
|
6568
6568
|
null,
|
|
6569
|
-
|
|
6569
|
+
U(a.localize(i[t.label])),
|
|
6570
6570
|
1
|
|
6571
6571
|
/* TEXT */
|
|
6572
6572
|
)
|
|
@@ -6656,7 +6656,7 @@ function g5(a, e, t, n, s, o) {
|
|
|
6656
6656
|
class: G(a.classList.assist),
|
|
6657
6657
|
id: a.ariaAssist,
|
|
6658
6658
|
"aria-hidden": "true"
|
|
6659
|
-
},
|
|
6659
|
+
}, U(a.ariaLabel), 11, _5)) : M("v-if", !0),
|
|
6660
6660
|
M(" Create height for empty input "),
|
|
6661
6661
|
v(
|
|
6662
6662
|
"div",
|
|
@@ -6686,11 +6686,11 @@ const we = /* @__PURE__ */ K({
|
|
|
6686
6686
|
ref_key: "multiselectRef",
|
|
6687
6687
|
ref: n,
|
|
6688
6688
|
class: "ao-multiselect"
|
|
6689
|
-
},
|
|
6689
|
+
}, i1({ _: 2 }, [
|
|
6690
6690
|
ye(s.$slots, (i, l) => ({
|
|
6691
6691
|
name: l,
|
|
6692
|
-
fn:
|
|
6693
|
-
X(s.$slots, l,
|
|
6692
|
+
fn: j((u) => [
|
|
6693
|
+
X(s.$slots, l, Pt(Bt(u ?? {})))
|
|
6694
6694
|
])
|
|
6695
6695
|
}))
|
|
6696
6696
|
]), 1536));
|
|
@@ -6839,7 +6839,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6839
6839
|
caret: f.isEditable,
|
|
6840
6840
|
onChange: (_) => r(_, h.id)
|
|
6841
6841
|
}, {
|
|
6842
|
-
tag:
|
|
6842
|
+
tag: j(({ option: _, handleTagRemove: k }) => [
|
|
6843
6843
|
E(yt, {
|
|
6844
6844
|
"user-name": _.label,
|
|
6845
6845
|
"avatar-url": _.avatar,
|
|
@@ -6894,7 +6894,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
|
|
|
6894
6894
|
const d = r.target, f = Array.from(d.files ?? []);
|
|
6895
6895
|
e("add", f);
|
|
6896
6896
|
}, s = ["dragenter", "dragover", "dragleave", "drop"];
|
|
6897
|
-
|
|
6897
|
+
Ht(() => {
|
|
6898
6898
|
s.forEach((r) => {
|
|
6899
6899
|
document.body.addEventListener(r, (d) => d.preventDefault());
|
|
6900
6900
|
});
|
|
@@ -6952,7 +6952,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
|
|
|
6952
6952
|
name: "AttachFileRounded",
|
|
6953
6953
|
size: "sm"
|
|
6954
6954
|
}),
|
|
6955
|
-
v("span", E5,
|
|
6955
|
+
v("span", E5, U(p.name), 1)
|
|
6956
6956
|
], 8, S5),
|
|
6957
6957
|
r.isEditable ? (c(), N(le, {
|
|
6958
6958
|
key: 0,
|
|
@@ -6968,7 +6968,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
|
|
|
6968
6968
|
])) : M("", !0),
|
|
6969
6969
|
r.isEditable ? (c(), m("div", I5, [
|
|
6970
6970
|
v("label", O5, [
|
|
6971
|
-
v("span", L5,
|
|
6971
|
+
v("span", L5, U(r.$t("activity.attachment.button.resting")), 1),
|
|
6972
6972
|
v("input", {
|
|
6973
6973
|
class: "input-field",
|
|
6974
6974
|
type: "file",
|
|
@@ -6978,7 +6978,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
|
|
|
6978
6978
|
onChange: n
|
|
6979
6979
|
}, null, 32)
|
|
6980
6980
|
]),
|
|
6981
|
-
v("span", V5,
|
|
6981
|
+
v("span", V5, U(r.$t("activity.attachment.placeholder.resting")), 1)
|
|
6982
6982
|
])) : M("", !0)
|
|
6983
6983
|
], 42, A5);
|
|
6984
6984
|
};
|
|
@@ -7001,7 +7001,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7001
7001
|
const t = a, n = w(() => {
|
|
7002
7002
|
const _ = t.user;
|
|
7003
7003
|
return _ ? `${_ == null ? void 0 : _.firstName} ${_ == null ? void 0 : _.lastName}` : null;
|
|
7004
|
-
}), s = x(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: u } = ha(s), r = w(() =>
|
|
7004
|
+
}), s = x(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: u } = ha(s), r = w(() => Lt(t.createdAt)), d = w(() => Lt(t.editedAt)), f = w(() => o.value ? "textarea" : "p"), p = u(), h = l((_) => {
|
|
7005
7005
|
e("edit", _);
|
|
7006
7006
|
}), y = () => {
|
|
7007
7007
|
e("remove");
|
|
@@ -7036,13 +7036,13 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7036
7036
|
Ke(Ce(W(h), ["ctrl"]), ["enter"])
|
|
7037
7037
|
]
|
|
7038
7038
|
}, {
|
|
7039
|
-
default:
|
|
7040
|
-
|
|
7039
|
+
default: j(() => [
|
|
7040
|
+
n1(U(_.content), 1)
|
|
7041
7041
|
]),
|
|
7042
7042
|
_: 1
|
|
7043
7043
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
7044
7044
|
]),
|
|
7045
|
-
v("span", N5,
|
|
7045
|
+
v("span", N5, U(d.value || r.value), 1)
|
|
7046
7046
|
]),
|
|
7047
7047
|
_.isEditable ? (c(), m("div", R5, [
|
|
7048
7048
|
W(o) ? (c(), m(fe, { key: 0 }, [
|
|
@@ -7142,7 +7142,7 @@ const j5 = {
|
|
|
7142
7142
|
onSubmit: Ce(l, ["prevent"])
|
|
7143
7143
|
}, [
|
|
7144
7144
|
v("label", q5, [
|
|
7145
|
-
v("span", z5,
|
|
7145
|
+
v("span", z5, U(d.$t("activity.comment.label")), 1),
|
|
7146
7146
|
Ue(v("textarea", {
|
|
7147
7147
|
"onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
|
|
7148
7148
|
rows: "4",
|
|
@@ -7318,7 +7318,7 @@ const K5 = {
|
|
|
7318
7318
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
7319
7319
|
});
|
|
7320
7320
|
}
|
|
7321
|
-
}),
|
|
7321
|
+
}), Z = (g) => {
|
|
7322
7322
|
e("addFiles", {
|
|
7323
7323
|
activityId: t.activity.id,
|
|
7324
7324
|
files: g
|
|
@@ -7352,8 +7352,8 @@ const K5 = {
|
|
|
7352
7352
|
return (g, I) => (c(), N(H1, {
|
|
7353
7353
|
onClose: I[8] || (I[8] = (H) => g.$emit("close"))
|
|
7354
7354
|
}, {
|
|
7355
|
-
header:
|
|
7356
|
-
g.breadcrumbs ? (c(), m("div", K5,
|
|
7355
|
+
header: j(() => [
|
|
7356
|
+
g.breadcrumbs ? (c(), m("div", K5, U(g.breadcrumbs), 1)) : M("", !0),
|
|
7357
7357
|
E(me, {
|
|
7358
7358
|
title: g.activity.name || "",
|
|
7359
7359
|
level: 4,
|
|
@@ -7364,7 +7364,7 @@ const K5 = {
|
|
|
7364
7364
|
var H;
|
|
7365
7365
|
return [
|
|
7366
7366
|
V.value ? (c(), m("label", G5, [
|
|
7367
|
-
v("span", X5,
|
|
7367
|
+
v("span", X5, U(g.$t("activity.status.label")), 1),
|
|
7368
7368
|
E(we, {
|
|
7369
7369
|
options: V.value,
|
|
7370
7370
|
value: (H = g.activity.status) == null ? void 0 : H.id,
|
|
@@ -7378,12 +7378,12 @@ const K5 = {
|
|
|
7378
7378
|
];
|
|
7379
7379
|
})
|
|
7380
7380
|
]),
|
|
7381
|
-
default:
|
|
7381
|
+
default: j(() => [
|
|
7382
7382
|
v("div", x5, [
|
|
7383
7383
|
v("fieldset", Q5, [
|
|
7384
7384
|
v("div", J5, [
|
|
7385
7385
|
v("label", e7, [
|
|
7386
|
-
v("span", t7,
|
|
7386
|
+
v("span", t7, U(g.$t("activity.description.label")), 1),
|
|
7387
7387
|
Ue(v("textarea", {
|
|
7388
7388
|
"onUpdate:modelValue": I[0] || (I[0] = (H) => s.value = H),
|
|
7389
7389
|
readonly: !g.isEditable,
|
|
@@ -7404,7 +7404,7 @@ const K5 = {
|
|
|
7404
7404
|
]),
|
|
7405
7405
|
v("div", s7, [
|
|
7406
7406
|
v("label", n7, [
|
|
7407
|
-
v("span", i7,
|
|
7407
|
+
v("span", i7, U(g.$t("activity.estimation.label")), 1),
|
|
7408
7408
|
Ue(v("input", {
|
|
7409
7409
|
"onUpdate:modelValue": I[1] || (I[1] = (H) => o.value = H),
|
|
7410
7410
|
readonly: !g.isEditable,
|
|
@@ -7424,7 +7424,7 @@ const K5 = {
|
|
|
7424
7424
|
])
|
|
7425
7425
|
]),
|
|
7426
7426
|
v("label", l7, [
|
|
7427
|
-
v("span", r7,
|
|
7427
|
+
v("span", r7, U(g.$t("activity.important.label")), 1),
|
|
7428
7428
|
Ue(v("input", {
|
|
7429
7429
|
"onUpdate:modelValue": I[2] || (I[2] = (H) => i.value = H),
|
|
7430
7430
|
disabled: !g.isEditable,
|
|
@@ -7440,7 +7440,7 @@ const K5 = {
|
|
|
7440
7440
|
])
|
|
7441
7441
|
]),
|
|
7442
7442
|
g.isTemplate !== !0 && g.activity.createdBy.id === g.userId ? (c(), m("label", d7, [
|
|
7443
|
-
v("span", c7,
|
|
7443
|
+
v("span", c7, U(g.$t("activity.private.label")), 1),
|
|
7444
7444
|
Ue(v("input", {
|
|
7445
7445
|
"onUpdate:modelValue": I[3] || (I[3] = (H) => l.value = H),
|
|
7446
7446
|
disabled: !g.isEditable,
|
|
@@ -7481,7 +7481,7 @@ const K5 = {
|
|
|
7481
7481
|
disabled: !g.isEditable,
|
|
7482
7482
|
caret: g.isEditable
|
|
7483
7483
|
}, {
|
|
7484
|
-
tag:
|
|
7484
|
+
tag: j(({
|
|
7485
7485
|
option: H,
|
|
7486
7486
|
handleTagRemove: re
|
|
7487
7487
|
}) => [
|
|
@@ -7532,7 +7532,7 @@ const K5 = {
|
|
|
7532
7532
|
v("div", $7, [
|
|
7533
7533
|
v("div", k7, [
|
|
7534
7534
|
v("label", M7, [
|
|
7535
|
-
v("span", A7,
|
|
7535
|
+
v("span", A7, U(g.$t("activity.dependingOn.label")), 1),
|
|
7536
7536
|
E(we, {
|
|
7537
7537
|
modelValue: f.value,
|
|
7538
7538
|
"onUpdate:modelValue": I[5] || (I[5] = (H) => f.value = H),
|
|
@@ -7547,7 +7547,7 @@ const K5 = {
|
|
|
7547
7547
|
]),
|
|
7548
7548
|
v("div", T7, [
|
|
7549
7549
|
v("label", S7, [
|
|
7550
|
-
v("span", E7,
|
|
7550
|
+
v("span", E7, U(g.$t("activity.blocking.label")), 1),
|
|
7551
7551
|
E(we, {
|
|
7552
7552
|
modelValue: h.value,
|
|
7553
7553
|
"onUpdate:modelValue": I[6] || (I[6] = (H) => h.value = H),
|
|
@@ -7565,7 +7565,7 @@ const K5 = {
|
|
|
7565
7565
|
v("fieldset", I7, [
|
|
7566
7566
|
u.value ? (c(), m("div", O7, [
|
|
7567
7567
|
v("label", L7, [
|
|
7568
|
-
v("span", V7,
|
|
7568
|
+
v("span", V7, U(g.$t("activity.type.label")), 1),
|
|
7569
7569
|
E(we, {
|
|
7570
7570
|
modelValue: r.value,
|
|
7571
7571
|
"onUpdate:modelValue": I[7] || (I[7] = (H) => r.value = H),
|
|
@@ -7592,7 +7592,7 @@ const K5 = {
|
|
|
7592
7592
|
E(D5, {
|
|
7593
7593
|
attachments: g.activity.attachments,
|
|
7594
7594
|
"is-editable": g.isEditable,
|
|
7595
|
-
onAdd:
|
|
7595
|
+
onAdd: Z,
|
|
7596
7596
|
onRemove: Y
|
|
7597
7597
|
}, null, 8, ["attachments", "is-editable"]),
|
|
7598
7598
|
v("div", P7, [
|
|
@@ -7691,7 +7691,7 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7691
7691
|
}
|
|
7692
7692
|
}), _ = w(() => Object.values($d));
|
|
7693
7693
|
return (k, b) => (c(), N(Qe(k.tagName), { class: "ao-rule-line" }, {
|
|
7694
|
-
default:
|
|
7694
|
+
default: j(() => [
|
|
7695
7695
|
E(W(Ye), {
|
|
7696
7696
|
modelValue: s.value,
|
|
7697
7697
|
"onUpdate:modelValue": b[0] || (b[0] = (L) => s.value = L),
|
|
@@ -7757,13 +7757,13 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
|
|
|
7757
7757
|
e("removeRule", s);
|
|
7758
7758
|
};
|
|
7759
7759
|
return (s, o) => (c(), N(H1, null, {
|
|
7760
|
-
header:
|
|
7760
|
+
header: j(() => [
|
|
7761
7761
|
E(me, {
|
|
7762
7762
|
title: s.$t("template.rules.title"),
|
|
7763
7763
|
level: 2
|
|
7764
7764
|
}, null, 8, ["title"])
|
|
7765
7765
|
]),
|
|
7766
|
-
default:
|
|
7766
|
+
default: j(() => [
|
|
7767
7767
|
v("div", N7, [
|
|
7768
7768
|
v("ul", R7, [
|
|
7769
7769
|
(c(!0), m(fe, null, ye(s.rules, (i) => (c(), N(B7, {
|
|
@@ -7813,7 +7813,7 @@ const j7 = {
|
|
|
7813
7813
|
const t = a, { t: n } = it(), s = w(
|
|
7814
7814
|
() => {
|
|
7815
7815
|
var A;
|
|
7816
|
-
return (A = t.templates) == null ? void 0 : A.find((
|
|
7816
|
+
return (A = t.templates) == null ? void 0 : A.find((F) => F.id === t.templateId);
|
|
7817
7817
|
}
|
|
7818
7818
|
), o = x(!1);
|
|
7819
7819
|
de(
|
|
@@ -7824,27 +7824,27 @@ const j7 = {
|
|
|
7824
7824
|
var A;
|
|
7825
7825
|
return (A = s.value) == null ? void 0 : A.phases;
|
|
7826
7826
|
},
|
|
7827
|
-
(A,
|
|
7828
|
-
o.value && je(A,
|
|
7827
|
+
(A, F) => {
|
|
7828
|
+
o.value && je(A, F);
|
|
7829
7829
|
}
|
|
7830
7830
|
);
|
|
7831
7831
|
const i = w(() => {
|
|
7832
|
-
var A,
|
|
7833
|
-
return (
|
|
7832
|
+
var A, F;
|
|
7833
|
+
return (F = (A = s == null ? void 0 : s.value) == null ? void 0 : A.phases) == null ? void 0 : F.find((q) => q.id === t.phaseId);
|
|
7834
7834
|
});
|
|
7835
7835
|
de(
|
|
7836
7836
|
() => {
|
|
7837
7837
|
var A;
|
|
7838
7838
|
return (A = i.value) == null ? void 0 : A.milestones;
|
|
7839
7839
|
},
|
|
7840
|
-
(A,
|
|
7841
|
-
o.value && je(A,
|
|
7840
|
+
(A, F) => {
|
|
7841
|
+
o.value && je(A, F);
|
|
7842
7842
|
}
|
|
7843
7843
|
);
|
|
7844
7844
|
const l = w(() => {
|
|
7845
|
-
var A,
|
|
7846
|
-
return (
|
|
7847
|
-
(
|
|
7845
|
+
var A, F;
|
|
7846
|
+
return (F = (A = i.value) == null ? void 0 : A.milestones) == null ? void 0 : F.find(
|
|
7847
|
+
(q) => q.id === t.milestoneId
|
|
7848
7848
|
);
|
|
7849
7849
|
});
|
|
7850
7850
|
de(
|
|
@@ -7852,29 +7852,29 @@ const j7 = {
|
|
|
7852
7852
|
var A;
|
|
7853
7853
|
return (A = l.value) == null ? void 0 : A.activities;
|
|
7854
7854
|
},
|
|
7855
|
-
(A,
|
|
7856
|
-
o.value && je(A,
|
|
7855
|
+
(A, F) => {
|
|
7856
|
+
o.value && je(A, F);
|
|
7857
7857
|
}
|
|
7858
7858
|
);
|
|
7859
7859
|
const u = w(() => {
|
|
7860
|
-
var A,
|
|
7861
|
-
return ((
|
|
7860
|
+
var A, F;
|
|
7861
|
+
return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((q, se) => {
|
|
7862
7862
|
const ie = se.milestones || [];
|
|
7863
|
-
return [...
|
|
7863
|
+
return [...q, ...ie];
|
|
7864
7864
|
}, [])) || [];
|
|
7865
7865
|
}), r = w(() => {
|
|
7866
|
-
var A,
|
|
7867
|
-
return ((
|
|
7866
|
+
var A, F;
|
|
7867
|
+
return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((q, se) => {
|
|
7868
7868
|
const ge = (se.milestones || []).reduce(
|
|
7869
7869
|
($, R) => R.activities ? [...$, ...R.activities] : $,
|
|
7870
7870
|
[]
|
|
7871
7871
|
);
|
|
7872
|
-
return [...
|
|
7872
|
+
return [...q, ...ge];
|
|
7873
7873
|
}, [])) || [];
|
|
7874
7874
|
}), d = w(() => {
|
|
7875
|
-
var A,
|
|
7876
|
-
return (
|
|
7877
|
-
(
|
|
7875
|
+
var A, F;
|
|
7876
|
+
return (F = (A = l.value) == null ? void 0 : A.activities) == null ? void 0 : F.find(
|
|
7877
|
+
(q) => q.id === t.activityId
|
|
7878
7878
|
);
|
|
7879
7879
|
}), f = w(() => {
|
|
7880
7880
|
var A;
|
|
@@ -7882,7 +7882,7 @@ const j7 = {
|
|
|
7882
7882
|
}), p = () => {
|
|
7883
7883
|
if (!s.value)
|
|
7884
7884
|
return;
|
|
7885
|
-
const { name: A, rank:
|
|
7885
|
+
const { name: A, rank: F } = mt(
|
|
7886
7886
|
s.value.phases,
|
|
7887
7887
|
"phase",
|
|
7888
7888
|
n
|
|
@@ -7892,7 +7892,7 @@ const j7 = {
|
|
|
7892
7892
|
templateId: t.templateId,
|
|
7893
7893
|
item: {
|
|
7894
7894
|
name: A,
|
|
7895
|
-
rank:
|
|
7895
|
+
rank: F
|
|
7896
7896
|
}
|
|
7897
7897
|
});
|
|
7898
7898
|
}, h = (A) => {
|
|
@@ -7910,19 +7910,19 @@ const j7 = {
|
|
|
7910
7910
|
id: A
|
|
7911
7911
|
}
|
|
7912
7912
|
});
|
|
7913
|
-
}, S = (A,
|
|
7913
|
+
}, S = (A, F) => {
|
|
7914
7914
|
e("updateItem", {
|
|
7915
7915
|
templateId: t.templateId,
|
|
7916
7916
|
id: A,
|
|
7917
7917
|
itemType: he.PHASES,
|
|
7918
|
-
data: { name:
|
|
7918
|
+
data: { name: F }
|
|
7919
7919
|
});
|
|
7920
7920
|
}, _ = (A) => {
|
|
7921
7921
|
e("updateItem", A);
|
|
7922
7922
|
}, k = (A) => {
|
|
7923
7923
|
if (!i.value)
|
|
7924
7924
|
return;
|
|
7925
|
-
const { name:
|
|
7925
|
+
const { name: F, rank: q } = mt(
|
|
7926
7926
|
i.value.milestones,
|
|
7927
7927
|
"milestone",
|
|
7928
7928
|
n
|
|
@@ -7932,8 +7932,8 @@ const j7 = {
|
|
|
7932
7932
|
templateId: t.templateId,
|
|
7933
7933
|
phaseId: A.phaseId,
|
|
7934
7934
|
item: {
|
|
7935
|
-
name:
|
|
7936
|
-
rank:
|
|
7935
|
+
name: F,
|
|
7936
|
+
rank: q,
|
|
7937
7937
|
phaseId: A.phaseId
|
|
7938
7938
|
}
|
|
7939
7939
|
});
|
|
@@ -7947,46 +7947,46 @@ const j7 = {
|
|
|
7947
7947
|
}
|
|
7948
7948
|
});
|
|
7949
7949
|
}, L = (A) => {
|
|
7950
|
-
const { id:
|
|
7950
|
+
const { id: F, ...q } = A;
|
|
7951
7951
|
e("updateItem", {
|
|
7952
7952
|
itemType: he.MILESTONES,
|
|
7953
|
-
id:
|
|
7953
|
+
id: F,
|
|
7954
7954
|
templateId: t.templateId,
|
|
7955
|
-
data:
|
|
7955
|
+
data: q
|
|
7956
7956
|
});
|
|
7957
|
-
},
|
|
7958
|
-
const { milestoneId:
|
|
7957
|
+
}, Z = (A) => {
|
|
7958
|
+
const { milestoneId: F } = A;
|
|
7959
7959
|
if (!l.value)
|
|
7960
7960
|
return;
|
|
7961
|
-
const { name:
|
|
7961
|
+
const { name: q, rank: se } = mt(
|
|
7962
7962
|
l.value.activities,
|
|
7963
7963
|
"activity",
|
|
7964
7964
|
n
|
|
7965
7965
|
);
|
|
7966
7966
|
o.value = !0, e("addItem", {
|
|
7967
7967
|
type: he.ACTIVITIES,
|
|
7968
|
-
milestoneId:
|
|
7968
|
+
milestoneId: F,
|
|
7969
7969
|
templateId: t.templateId,
|
|
7970
|
-
item: { name:
|
|
7970
|
+
item: { name: q, rank: se, milestoneId: F }
|
|
7971
7971
|
});
|
|
7972
7972
|
}, Y = (A) => {
|
|
7973
|
-
var
|
|
7973
|
+
var F, q;
|
|
7974
7974
|
e("removeItem", {
|
|
7975
7975
|
type: he.ACTIVITIES,
|
|
7976
7976
|
templateId: t.templateId,
|
|
7977
|
-
phaseId: (
|
|
7978
|
-
milestoneId: (
|
|
7977
|
+
phaseId: (F = i.value) == null ? void 0 : F.id,
|
|
7978
|
+
milestoneId: (q = l.value) == null ? void 0 : q.id,
|
|
7979
7979
|
data: {
|
|
7980
7980
|
id: A.id
|
|
7981
7981
|
}
|
|
7982
7982
|
});
|
|
7983
7983
|
}, V = (A) => {
|
|
7984
|
-
const { id:
|
|
7984
|
+
const { id: F, ...q } = A;
|
|
7985
7985
|
e("updateItem", {
|
|
7986
7986
|
itemType: he.ACTIVITIES,
|
|
7987
|
-
id:
|
|
7987
|
+
id: F,
|
|
7988
7988
|
templateId: t.templateId,
|
|
7989
|
-
data:
|
|
7989
|
+
data: q
|
|
7990
7990
|
});
|
|
7991
7991
|
}, J = x(!1), ee = () => {
|
|
7992
7992
|
J.value = !J.value;
|
|
@@ -7995,15 +7995,15 @@ const j7 = {
|
|
|
7995
7995
|
}, O = (A) => {
|
|
7996
7996
|
e("removeRule", { id: A, templateId: t.templateId });
|
|
7997
7997
|
}, g = (A) => {
|
|
7998
|
-
var
|
|
7998
|
+
var F;
|
|
7999
7999
|
if (A.moved) {
|
|
8000
|
-
const
|
|
8000
|
+
const q = Ut(A, ((F = s.value) == null ? void 0 : F.phases) ?? []);
|
|
8001
8001
|
e("updateItem", {
|
|
8002
8002
|
itemType: he.PHASES,
|
|
8003
8003
|
id: A.moved.element.id,
|
|
8004
8004
|
templateId: t.templateId,
|
|
8005
8005
|
data: {
|
|
8006
|
-
rank:
|
|
8006
|
+
rank: q
|
|
8007
8007
|
}
|
|
8008
8008
|
});
|
|
8009
8009
|
}
|
|
@@ -8037,19 +8037,19 @@ const j7 = {
|
|
|
8037
8037
|
}, ce = (A) => {
|
|
8038
8038
|
e("removeFile", A);
|
|
8039
8039
|
};
|
|
8040
|
-
return (A,
|
|
8041
|
-
var
|
|
8040
|
+
return (A, F) => {
|
|
8041
|
+
var q, se, ie, ge, $, R;
|
|
8042
8042
|
return s.value ? (c(), m("div", j7, [
|
|
8043
|
-
E(
|
|
8043
|
+
E(v1, {
|
|
8044
8044
|
"can-go-back": !0,
|
|
8045
|
-
onGoBack:
|
|
8045
|
+
onGoBack: F[1] || (F[1] = (z) => A.$router.push({ name: W(ft).TEMPLATES_LIST }))
|
|
8046
8046
|
}, {
|
|
8047
|
-
primary:
|
|
8047
|
+
primary: j(() => [
|
|
8048
8048
|
E(me, {
|
|
8049
8049
|
title: f.value,
|
|
8050
8050
|
level: 2,
|
|
8051
8051
|
"is-editable": !0,
|
|
8052
|
-
"onUpdate:title":
|
|
8052
|
+
"onUpdate:title": F[0] || (F[0] = (z) => {
|
|
8053
8053
|
h(z);
|
|
8054
8054
|
})
|
|
8055
8055
|
}, null, 8, ["title"])
|
|
@@ -8066,14 +8066,14 @@ const j7 = {
|
|
|
8066
8066
|
handle: ".ao-card__drag",
|
|
8067
8067
|
onChange: g
|
|
8068
8068
|
}, {
|
|
8069
|
-
header:
|
|
8069
|
+
header: j(() => [
|
|
8070
8070
|
E(me, {
|
|
8071
8071
|
title: A.$t("template.phases.title"),
|
|
8072
8072
|
level: 3,
|
|
8073
8073
|
class: "ao-list__title"
|
|
8074
8074
|
}, null, 8, ["title"])
|
|
8075
8075
|
]),
|
|
8076
|
-
item:
|
|
8076
|
+
item: j(({ element: z }) => {
|
|
8077
8077
|
var T;
|
|
8078
8078
|
return [
|
|
8079
8079
|
E(W0, {
|
|
@@ -8092,7 +8092,7 @@ const j7 = {
|
|
|
8092
8092
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
8093
8093
|
];
|
|
8094
8094
|
}),
|
|
8095
|
-
footer:
|
|
8095
|
+
footer: j(() => [
|
|
8096
8096
|
v("div", z7, [
|
|
8097
8097
|
E(et, {
|
|
8098
8098
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -8109,7 +8109,7 @@ const j7 = {
|
|
|
8109
8109
|
key: 0,
|
|
8110
8110
|
"template-id": A.templateId,
|
|
8111
8111
|
phase: i.value,
|
|
8112
|
-
"milestone-id": (
|
|
8112
|
+
"milestone-id": (q = l.value) == null ? void 0 : q.id,
|
|
8113
8113
|
onAddMilestone: k,
|
|
8114
8114
|
onUpdateMilestone: L,
|
|
8115
8115
|
onUpdatePhase: _,
|
|
@@ -8123,7 +8123,7 @@ const j7 = {
|
|
|
8123
8123
|
"phase-id": (se = i.value) == null ? void 0 : se.id,
|
|
8124
8124
|
milestone: l.value,
|
|
8125
8125
|
"activity-id": (ie = d.value) == null ? void 0 : ie.id,
|
|
8126
|
-
onAddActivity:
|
|
8126
|
+
onAddActivity: Z,
|
|
8127
8127
|
onUpdateActivity: V,
|
|
8128
8128
|
onRemoveActivity: Y
|
|
8129
8129
|
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : M("", !0)
|
|
@@ -8142,7 +8142,7 @@ const j7 = {
|
|
|
8142
8142
|
"is-template": !0,
|
|
8143
8143
|
"is-editable": !0,
|
|
8144
8144
|
users: A.users,
|
|
8145
|
-
"onUpdate:activity":
|
|
8145
|
+
"onUpdate:activity": F[2] || (F[2] = (z) => {
|
|
8146
8146
|
d.value && V(z);
|
|
8147
8147
|
}),
|
|
8148
8148
|
onClose: A.$router.back,
|
|
@@ -8152,8 +8152,8 @@ const j7 = {
|
|
|
8152
8152
|
onAddFiles: ae,
|
|
8153
8153
|
onRemoveFile: ce
|
|
8154
8154
|
}, {
|
|
8155
|
-
default:
|
|
8156
|
-
X(A.$slots, "activityDetailsBody",
|
|
8155
|
+
default: j((z) => [
|
|
8156
|
+
X(A.$slots, "activityDetailsBody", Pt(Bt(z)))
|
|
8157
8157
|
]),
|
|
8158
8158
|
_: 3
|
|
8159
8159
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : M("", !0)
|
|
@@ -8191,7 +8191,7 @@ const G7 = {
|
|
|
8191
8191
|
return (e, t) => (c(), N(Qe(e.tagName), {
|
|
8192
8192
|
class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
8193
8193
|
}, {
|
|
8194
|
-
default:
|
|
8194
|
+
default: j(() => [
|
|
8195
8195
|
e.$slots.header ? (c(), m("header", G7, [
|
|
8196
8196
|
X(e.$slots, "header")
|
|
8197
8197
|
])) : M("", !0),
|
|
@@ -8248,13 +8248,13 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8248
8248
|
return (u = t.milestones) == null ? void 0 : u.length;
|
|
8249
8249
|
}), o = w(() => {
|
|
8250
8250
|
var u;
|
|
8251
|
-
return (u = t.milestones) == null ? void 0 : u.filter((r) => r.status ===
|
|
8251
|
+
return (u = t.milestones) == null ? void 0 : u.filter((r) => r.status === E1.done).length;
|
|
8252
8252
|
}), i = w(() => (o.value || 0) / (s.value || 1)), l = w({
|
|
8253
8253
|
get: () => t.deadline ?? "",
|
|
8254
8254
|
set: (u) => e("update:deadline", u)
|
|
8255
8255
|
});
|
|
8256
|
-
return (u, r) => (c(), N(Z1, { class: "ao-card-project-phase" },
|
|
8257
|
-
default:
|
|
8256
|
+
return (u, r) => (c(), N(Z1, { class: "ao-card-project-phase" }, i1({
|
|
8257
|
+
default: j(() => [
|
|
8258
8258
|
E(me, {
|
|
8259
8259
|
id: u.id,
|
|
8260
8260
|
class: "ao-card-project-phase__title",
|
|
@@ -8264,7 +8264,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8264
8264
|
"onUpdate:title": n
|
|
8265
8265
|
}, null, 8, ["id", "title", "is-editable"])
|
|
8266
8266
|
]),
|
|
8267
|
-
footer:
|
|
8267
|
+
footer: j(() => [
|
|
8268
8268
|
v("div", J7, [
|
|
8269
8269
|
v("div", e9, [
|
|
8270
8270
|
s.value ? (c(), m(fe, { key: 0 }, [
|
|
@@ -8273,7 +8273,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8273
8273
|
name: "MountainFlagOutlineRounded",
|
|
8274
8274
|
size: "sm"
|
|
8275
8275
|
}),
|
|
8276
|
-
v("span", a9,
|
|
8276
|
+
v("span", a9, U(o.value) + " / " + U(s.value), 1)
|
|
8277
8277
|
]),
|
|
8278
8278
|
E(F1, {
|
|
8279
8279
|
percentages: i.value,
|
|
@@ -8288,8 +8288,8 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8288
8288
|
class: G(["ao-card-project-phase__footer-row", l.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
8289
8289
|
}, [
|
|
8290
8290
|
v("label", n9, [
|
|
8291
|
-
v("span", i9,
|
|
8292
|
-
v("span", o9,
|
|
8291
|
+
v("span", i9, U(u.$t("activity.deadline.label")), 1),
|
|
8292
|
+
v("span", o9, U(W(Lt)(u.deadline)), 1),
|
|
8293
8293
|
u.isEditable ? Ue((c(), m("input", {
|
|
8294
8294
|
key: 0,
|
|
8295
8295
|
"onUpdate:modelValue": r[1] || (r[1] = (d) => l.value = d),
|
|
@@ -8311,7 +8311,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8311
8311
|
}, [
|
|
8312
8312
|
u.isEditable ? {
|
|
8313
8313
|
name: "header",
|
|
8314
|
-
fn:
|
|
8314
|
+
fn: j(() => [
|
|
8315
8315
|
v("div", Q7, [
|
|
8316
8316
|
E(le, {
|
|
8317
8317
|
class: "ao-card-project-phase__archive",
|
|
@@ -8334,17 +8334,18 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8334
8334
|
const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
8335
8335
|
key: 0,
|
|
8336
8336
|
class: "ao-card-project-milestone__archive"
|
|
8337
|
-
}, d9 = { class: "ao-card-project-phase__footer" }, c9 = { class: "ao-card-project-phase__footer-row" }, v9 = { class: "ao-card-project-phase__subitem" }, f9 = { class: "ao-card-project-phase__subitem" }, p9 = {
|
|
8337
|
+
}, d9 = { class: "ao-card-project-phase__footer" }, c9 = { class: "ao-card-project-phase__footer-row" }, v9 = { class: "ao-card-project-phase__subitem" }, f9 = { class: "ao-card-project-phase__subitem" }, p9 = { key: 0 }, h9 = { class: "ao-field ao-field__inline" }, m9 = { class: "ao-field__label" }, C9 = { class: "ao-field__label" }, _9 = {
|
|
8338
8338
|
key: 1,
|
|
8339
8339
|
class: "ao-card-project-phase__secondary"
|
|
8340
|
-
},
|
|
8340
|
+
}, g9 = /* @__PURE__ */ K({
|
|
8341
8341
|
__name: "AoCardProjectItemMilestone",
|
|
8342
8342
|
props: {
|
|
8343
8343
|
id: {},
|
|
8344
8344
|
name: {},
|
|
8345
8345
|
activities: {},
|
|
8346
8346
|
closedStatus: {},
|
|
8347
|
-
isEditable: { type: Boolean }
|
|
8347
|
+
isEditable: { type: Boolean },
|
|
8348
|
+
deadline: {}
|
|
8348
8349
|
},
|
|
8349
8350
|
emits: ["updateMilestone", "archiveMilestone"],
|
|
8350
8351
|
setup(a, { emit: e }) {
|
|
@@ -8362,7 +8363,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
|
8362
8363
|
"is-clickable": !0,
|
|
8363
8364
|
"tag-name": "li"
|
|
8364
8365
|
}, {
|
|
8365
|
-
default:
|
|
8366
|
+
default: j(() => [
|
|
8366
8367
|
v("div", r9, [
|
|
8367
8368
|
E(me, {
|
|
8368
8369
|
id: l.id,
|
|
@@ -8386,7 +8387,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
|
8386
8387
|
])) : M("", !0)
|
|
8387
8388
|
])
|
|
8388
8389
|
]),
|
|
8389
|
-
footer:
|
|
8390
|
+
footer: j(() => [
|
|
8390
8391
|
v("div", d9, [
|
|
8391
8392
|
v("div", c9, [
|
|
8392
8393
|
n.value ? (c(), m(fe, { key: 0 }, [
|
|
@@ -8395,14 +8396,20 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
|
8395
8396
|
name: "SelectCheckBox",
|
|
8396
8397
|
size: "sm"
|
|
8397
8398
|
}),
|
|
8398
|
-
v("span", f9,
|
|
8399
|
+
v("span", f9, U(s.value) + " / " + U(n.value), 1)
|
|
8399
8400
|
]),
|
|
8400
8401
|
E(F1, {
|
|
8401
8402
|
percentages: o.value,
|
|
8402
8403
|
class: "ao-card-project-phase__progress"
|
|
8403
|
-
}, null, 8, ["percentages"])
|
|
8404
|
+
}, null, 8, ["percentages"]),
|
|
8405
|
+
l.deadline ? (c(), m("div", p9, [
|
|
8406
|
+
v("label", h9, [
|
|
8407
|
+
v("span", m9, U(l.$t("activity.deadline.label")), 1),
|
|
8408
|
+
v("span", C9, U(W(Lt)(l.deadline)), 1)
|
|
8409
|
+
])
|
|
8410
|
+
])) : M("", !0)
|
|
8404
8411
|
], 64)) : M("", !0),
|
|
8405
|
-
l.$slots.secondary ? (c(), m("div",
|
|
8412
|
+
l.$slots.secondary ? (c(), m("div", _9, [
|
|
8406
8413
|
X(l.$slots, "secondary")
|
|
8407
8414
|
])) : M("", !0)
|
|
8408
8415
|
])
|
|
@@ -8412,10 +8419,10 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
|
|
|
8412
8419
|
}));
|
|
8413
8420
|
}
|
|
8414
8421
|
});
|
|
8415
|
-
const
|
|
8422
|
+
const y9 = { class: "ao-project-phase" }, b9 = {
|
|
8416
8423
|
key: 0,
|
|
8417
8424
|
class: "ao-project-phase__drag ao-card__drag"
|
|
8418
|
-
},
|
|
8425
|
+
}, w9 = { class: "ao-project-phase__col-phase" }, $9 = { class: "ao-project-phase__col-milestones" }, k9 = { class: "ao-project-phase__milestones" }, M9 = { class: "ao-project-phase__milestones-list-footer" }, A9 = /* @__PURE__ */ K({
|
|
8419
8426
|
__name: "AoProjectPhase",
|
|
8420
8427
|
props: {
|
|
8421
8428
|
phase: {},
|
|
@@ -8450,14 +8457,14 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8450
8457
|
)
|
|
8451
8458
|
});
|
|
8452
8459
|
};
|
|
8453
|
-
return (p, h) => (c(), m("li",
|
|
8454
|
-
p.isEditable ? (c(), m("div",
|
|
8460
|
+
return (p, h) => (c(), m("li", y9, [
|
|
8461
|
+
p.isEditable ? (c(), m("div", b9, [
|
|
8455
8462
|
E(ve, {
|
|
8456
8463
|
name: "DragIndicator",
|
|
8457
8464
|
class: "ao-project-phase__drag-handle"
|
|
8458
8465
|
})
|
|
8459
8466
|
])) : M("", !0),
|
|
8460
|
-
v("div",
|
|
8467
|
+
v("div", w9, [
|
|
8461
8468
|
E(l9, {
|
|
8462
8469
|
id: p.phase.id,
|
|
8463
8470
|
milestones: i.value,
|
|
@@ -8469,8 +8476,8 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8469
8476
|
onArchivePhase: d
|
|
8470
8477
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
8471
8478
|
]),
|
|
8472
|
-
v("div",
|
|
8473
|
-
v("div",
|
|
8479
|
+
v("div", $9, [
|
|
8480
|
+
v("div", k9, [
|
|
8474
8481
|
E(W(Je), Ee({
|
|
8475
8482
|
class: "ao-project-phase__milestones-list",
|
|
8476
8483
|
list: i.value,
|
|
@@ -8478,11 +8485,12 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8478
8485
|
"item-key": "id",
|
|
8479
8486
|
group: "kanban"
|
|
8480
8487
|
}, p.$attrs, { onChange: f }), {
|
|
8481
|
-
item:
|
|
8482
|
-
E(
|
|
8488
|
+
item: j(({ element: y }) => [
|
|
8489
|
+
E(g9, {
|
|
8483
8490
|
id: y.id,
|
|
8484
8491
|
name: y.name,
|
|
8485
8492
|
activities: y.activities,
|
|
8493
|
+
deadline: y.deadline,
|
|
8486
8494
|
"is-editable": p.isEditable,
|
|
8487
8495
|
"is-draggable": p.isEditable,
|
|
8488
8496
|
"closed-status": p.closedStatus,
|
|
@@ -8493,11 +8501,11 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8493
8501
|
}),
|
|
8494
8502
|
onUpdateMilestone: u,
|
|
8495
8503
|
onArchiveMilestone: r
|
|
8496
|
-
}, null, 8, ["id", "name", "activities", "is-editable", "is-draggable", "closed-status", "onClick"])
|
|
8504
|
+
}, null, 8, ["id", "name", "activities", "deadline", "is-editable", "is-draggable", "closed-status", "onClick"])
|
|
8497
8505
|
]),
|
|
8498
8506
|
_: 1
|
|
8499
8507
|
}, 16, ["list", "disabled"]),
|
|
8500
|
-
v("div",
|
|
8508
|
+
v("div", M9, [
|
|
8501
8509
|
p.isEditable ? (c(), N(et, {
|
|
8502
8510
|
key: 0,
|
|
8503
8511
|
label: p.$t("project.milestone.add"),
|
|
@@ -8511,10 +8519,10 @@ const m9 = { class: "ao-project-phase" }, C9 = {
|
|
|
8511
8519
|
]));
|
|
8512
8520
|
}
|
|
8513
8521
|
});
|
|
8514
|
-
const
|
|
8522
|
+
const T9 = { class: "ao-project__phases" }, S9 = {
|
|
8515
8523
|
key: 0,
|
|
8516
8524
|
class: "ao-project-phase__phases-list-footer"
|
|
8517
|
-
},
|
|
8525
|
+
}, E9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), I9 = { class: "ao-project-phase__col-phase" }, O9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), L9 = /* @__PURE__ */ K({
|
|
8518
8526
|
__name: "AoProjectPhases",
|
|
8519
8527
|
props: {
|
|
8520
8528
|
phases: {},
|
|
@@ -8537,7 +8545,7 @@ const $9 = { class: "ao-project__phases" }, k9 = {
|
|
|
8537
8545
|
e("archivePhase", d);
|
|
8538
8546
|
}, l = (d) => {
|
|
8539
8547
|
if (d.moved) {
|
|
8540
|
-
const f =
|
|
8548
|
+
const f = Ut(d, t.phases ?? []);
|
|
8541
8549
|
e("updatePhase", {
|
|
8542
8550
|
id: d.moved.element.id,
|
|
8543
8551
|
rank: f
|
|
@@ -8548,7 +8556,7 @@ const $9 = { class: "ao-project__phases" }, k9 = {
|
|
|
8548
8556
|
}, r = (d) => {
|
|
8549
8557
|
e("addPhase", d);
|
|
8550
8558
|
};
|
|
8551
|
-
return (d, f) => (c(), m("div",
|
|
8559
|
+
return (d, f) => (c(), m("div", T9, [
|
|
8552
8560
|
E(W(Je), {
|
|
8553
8561
|
class: "ao-project-phase__phases-list",
|
|
8554
8562
|
"model-value": d.phases,
|
|
@@ -8556,8 +8564,8 @@ const $9 = { class: "ao-project__phases" }, k9 = {
|
|
|
8556
8564
|
handle: ".ao-card__drag",
|
|
8557
8565
|
onChange: l
|
|
8558
8566
|
}, {
|
|
8559
|
-
item:
|
|
8560
|
-
E(
|
|
8567
|
+
item: j(({ element: p }) => [
|
|
8568
|
+
E(A9, {
|
|
8561
8569
|
phase: p,
|
|
8562
8570
|
"is-editable": d.isEditable,
|
|
8563
8571
|
"closed-status": d.closedStatus,
|
|
@@ -8570,9 +8578,9 @@ const $9 = { class: "ao-project__phases" }, k9 = {
|
|
|
8570
8578
|
]),
|
|
8571
8579
|
_: 1
|
|
8572
8580
|
}, 8, ["model-value"]),
|
|
8573
|
-
d.isEditable ? (c(), m("div",
|
|
8574
|
-
|
|
8575
|
-
v("div",
|
|
8581
|
+
d.isEditable ? (c(), m("div", S9, [
|
|
8582
|
+
E9,
|
|
8583
|
+
v("div", I9, [
|
|
8576
8584
|
E(et, {
|
|
8577
8585
|
label: d.$t("project.phases.add"),
|
|
8578
8586
|
"icon-name": "Add",
|
|
@@ -8580,12 +8588,12 @@ const $9 = { class: "ao-project__phases" }, k9 = {
|
|
|
8580
8588
|
onClick: r
|
|
8581
8589
|
}, null, 8, ["label"])
|
|
8582
8590
|
]),
|
|
8583
|
-
|
|
8591
|
+
O9
|
|
8584
8592
|
])) : M("", !0)
|
|
8585
8593
|
]));
|
|
8586
8594
|
}
|
|
8587
8595
|
});
|
|
8588
|
-
const
|
|
8596
|
+
const V9 = ["onSubmit"], D9 = { class: "ao-add-template-modal__form-body" }, H9 = { class: "field__row" }, P9 = { class: "ao-add-template-modal__form-footer" }, B9 = /* @__PURE__ */ K({
|
|
8589
8597
|
__name: "AoAddTemplateModal",
|
|
8590
8598
|
props: {
|
|
8591
8599
|
projectId: {},
|
|
@@ -8602,19 +8610,19 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
|
|
|
8602
8610
|
s.value && e("apply", s.value, t.projectId);
|
|
8603
8611
|
};
|
|
8604
8612
|
return (l, u) => (c(), N(H1, { size: "sm" }, {
|
|
8605
|
-
header:
|
|
8613
|
+
header: j(() => [
|
|
8606
8614
|
E(me, {
|
|
8607
8615
|
title: l.$t("project.template.add.title"),
|
|
8608
8616
|
level: 3
|
|
8609
8617
|
}, null, 8, ["title"])
|
|
8610
8618
|
]),
|
|
8611
|
-
default:
|
|
8619
|
+
default: j(() => [
|
|
8612
8620
|
v("form", {
|
|
8613
8621
|
class: "ao-add-template-modal__form",
|
|
8614
8622
|
onSubmit: Ce(i, ["prevent"])
|
|
8615
8623
|
}, [
|
|
8616
|
-
v("div",
|
|
8617
|
-
v("div",
|
|
8624
|
+
v("div", D9, [
|
|
8625
|
+
v("div", H9, [
|
|
8618
8626
|
E(we, {
|
|
8619
8627
|
value: s.value,
|
|
8620
8628
|
options: n.value,
|
|
@@ -8623,7 +8631,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
|
|
|
8623
8631
|
}, null, 8, ["value", "options"])
|
|
8624
8632
|
])
|
|
8625
8633
|
]),
|
|
8626
|
-
v("footer",
|
|
8634
|
+
v("footer", P9, [
|
|
8627
8635
|
E(le, {
|
|
8628
8636
|
label: l.$t("project.template.add.label"),
|
|
8629
8637
|
type: "submit",
|
|
@@ -8632,13 +8640,13 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
|
|
|
8632
8640
|
onClick: i
|
|
8633
8641
|
}, null, 8, ["label"])
|
|
8634
8642
|
])
|
|
8635
|
-
], 40,
|
|
8643
|
+
], 40, V9)
|
|
8636
8644
|
]),
|
|
8637
8645
|
_: 1
|
|
8638
8646
|
}));
|
|
8639
8647
|
}
|
|
8640
8648
|
});
|
|
8641
|
-
const
|
|
8649
|
+
const N9 = K({
|
|
8642
8650
|
props: {
|
|
8643
8651
|
isLeft: {
|
|
8644
8652
|
type: Boolean,
|
|
@@ -8667,9 +8675,9 @@ const D9 = K({
|
|
|
8667
8675
|
}
|
|
8668
8676
|
}
|
|
8669
8677
|
});
|
|
8670
|
-
const
|
|
8671
|
-
function
|
|
8672
|
-
return c(), m("div",
|
|
8678
|
+
const R9 = { class: "toggle-wrapper" };
|
|
8679
|
+
function U9(a, e, t, n, s, o) {
|
|
8680
|
+
return c(), m("div", R9, [
|
|
8673
8681
|
v("button", {
|
|
8674
8682
|
class: G({
|
|
8675
8683
|
button: !0,
|
|
@@ -8678,7 +8686,7 @@ function P9(a, e, t, n, s, o) {
|
|
|
8678
8686
|
}),
|
|
8679
8687
|
type: "button",
|
|
8680
8688
|
onClick: e[0] || (e[0] = (...i) => a.selectLeft && a.selectLeft(...i))
|
|
8681
|
-
},
|
|
8689
|
+
}, U(a.leftLabel), 3),
|
|
8682
8690
|
v("button", {
|
|
8683
8691
|
class: G({
|
|
8684
8692
|
button: !0,
|
|
@@ -8687,10 +8695,10 @@ function P9(a, e, t, n, s, o) {
|
|
|
8687
8695
|
}),
|
|
8688
8696
|
type: "button",
|
|
8689
8697
|
onClick: e[1] || (e[1] = (...i) => a.selectRight && a.selectRight(...i))
|
|
8690
|
-
},
|
|
8698
|
+
}, U(a.rightLabel), 3)
|
|
8691
8699
|
]);
|
|
8692
8700
|
}
|
|
8693
|
-
const Ua = /* @__PURE__ */ P(
|
|
8701
|
+
const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519"]]), j9 = { class: "ao-project" }, Z9 = { class: "ao-project__body" }, F9 = /* @__PURE__ */ K({
|
|
8694
8702
|
__name: "AoProjectOverviewProject",
|
|
8695
8703
|
props: {
|
|
8696
8704
|
project: {},
|
|
@@ -8740,7 +8748,7 @@ const Ua = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-5637c519
|
|
|
8740
8748
|
() => s.value.flatMap((O) => O.activities)
|
|
8741
8749
|
), L = (O) => {
|
|
8742
8750
|
e("addFiles", O);
|
|
8743
|
-
},
|
|
8751
|
+
}, Z = (O) => {
|
|
8744
8752
|
e("removeFile", O);
|
|
8745
8753
|
}, Y = (O) => {
|
|
8746
8754
|
e("addComment", O);
|
|
@@ -8755,9 +8763,9 @@ const Ua = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-5637c519
|
|
|
8755
8763
|
const I = hs("RouterView");
|
|
8756
8764
|
return c(), m(fe, null, [
|
|
8757
8765
|
v("div", Ee({ class: "ao-project-overview" }, O.$attrs), [
|
|
8758
|
-
v("div",
|
|
8759
|
-
E(
|
|
8760
|
-
primary:
|
|
8766
|
+
v("div", j9, [
|
|
8767
|
+
E(v1, null, {
|
|
8768
|
+
primary: j(() => [
|
|
8761
8769
|
E(Ua, {
|
|
8762
8770
|
"is-left": !0,
|
|
8763
8771
|
"right-label": O.$t("project.switch.feed"),
|
|
@@ -8788,8 +8796,8 @@ const Ua = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-5637c519
|
|
|
8788
8796
|
]),
|
|
8789
8797
|
_: 1
|
|
8790
8798
|
}),
|
|
8791
|
-
v("div",
|
|
8792
|
-
E(
|
|
8799
|
+
v("div", Z9, [
|
|
8800
|
+
E(L9, {
|
|
8793
8801
|
phases: O.phases,
|
|
8794
8802
|
"closed-status": O.closedStatus,
|
|
8795
8803
|
"is-editable": O.isEditable,
|
|
@@ -8832,15 +8840,15 @@ const Ua = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-5637c519
|
|
|
8832
8840
|
onUpdateSubtask: _,
|
|
8833
8841
|
onDeleteSubtask: k,
|
|
8834
8842
|
onAddFiles: L,
|
|
8835
|
-
onRemoveFile:
|
|
8843
|
+
onRemoveFile: Z,
|
|
8836
8844
|
onAddComment: Y,
|
|
8837
8845
|
onUpdateComment: V,
|
|
8838
8846
|
onRemoveComment: J
|
|
8839
8847
|
}, {
|
|
8840
|
-
default:
|
|
8848
|
+
default: j(({ Component: H }) => [
|
|
8841
8849
|
(c(), N(Qe(H), null, {
|
|
8842
|
-
default:
|
|
8843
|
-
X(O.$slots, "activityDetailsBody",
|
|
8850
|
+
default: j((re) => [
|
|
8851
|
+
X(O.$slots, "activityDetailsBody", Pt(Bt(re)))
|
|
8844
8852
|
]),
|
|
8845
8853
|
_: 2
|
|
8846
8854
|
}, 1024))
|
|
@@ -8850,7 +8858,7 @@ const Ua = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-5637c519
|
|
|
8850
8858
|
]))
|
|
8851
8859
|
], 16),
|
|
8852
8860
|
(c(), N(It, { to: "body" }, [
|
|
8853
|
-
ee.value ? (c(), N(
|
|
8861
|
+
ee.value ? (c(), N(B9, {
|
|
8854
8862
|
key: 0,
|
|
8855
8863
|
"project-id": O.project.id,
|
|
8856
8864
|
templates: O.templates,
|
|
@@ -8862,34 +8870,34 @@ const Ua = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-5637c519
|
|
|
8862
8870
|
};
|
|
8863
8871
|
}
|
|
8864
8872
|
});
|
|
8865
|
-
const
|
|
8873
|
+
const q9 = { class: "ao-card-feed__header" }, z9 = {
|
|
8866
8874
|
key: 1,
|
|
8867
8875
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
8868
|
-
},
|
|
8876
|
+
}, W9 = {
|
|
8869
8877
|
key: 2,
|
|
8870
8878
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
8871
|
-
},
|
|
8879
|
+
}, Y9 = { class: "ao-card-feed__body" }, K9 = {
|
|
8872
8880
|
key: 0,
|
|
8873
8881
|
class: "ao-card-feed__breadcrumbs"
|
|
8874
|
-
},
|
|
8882
|
+
}, G9 = {
|
|
8875
8883
|
key: 1,
|
|
8876
8884
|
class: "ao-card-feed__deadline"
|
|
8877
|
-
},
|
|
8885
|
+
}, X9 = { class: "ao-card-feed__footer" }, x9 = { class: "ao-card-feed__footer-row" }, Q9 = { class: "ao-assignees" }, J9 = {
|
|
8878
8886
|
key: 0,
|
|
8879
8887
|
class: "ao-assignee"
|
|
8880
|
-
},
|
|
8888
|
+
}, e4 = {
|
|
8881
8889
|
key: 0,
|
|
8882
8890
|
class: "ao-card-feed__subitems"
|
|
8883
|
-
},
|
|
8891
|
+
}, t4 = {
|
|
8884
8892
|
key: 0,
|
|
8885
8893
|
class: "ao-card-feed__subitem"
|
|
8886
|
-
},
|
|
8894
|
+
}, a4 = { class: "ao-card-feed__subitem" }, s4 = {
|
|
8887
8895
|
key: 1,
|
|
8888
8896
|
class: "ao-card-feed__subitem"
|
|
8889
|
-
},
|
|
8897
|
+
}, n4 = { class: "ao-card-feed__subitem" }, i4 = { class: "ao-card-feed__footer-row" }, o4 = {
|
|
8890
8898
|
key: 0,
|
|
8891
8899
|
class: "ao-card-feed__progress-wrapper"
|
|
8892
|
-
},
|
|
8900
|
+
}, l4 = { class: "ao-card-feed__subitem" }, r4 = { class: "ao-card-feed__subitem" }, ja = /* @__PURE__ */ K({
|
|
8893
8901
|
__name: "AoCardFeed",
|
|
8894
8902
|
props: {
|
|
8895
8903
|
id: {},
|
|
@@ -8914,7 +8922,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8914
8922
|
id: t.id,
|
|
8915
8923
|
name: p
|
|
8916
8924
|
});
|
|
8917
|
-
}, s = w(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = w(() => t.assignee ? [t.assignee] : []), i = w(() =>
|
|
8925
|
+
}, s = w(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = w(() => t.assignee ? [t.assignee] : []), i = w(() => Lt(t.deadline)), l = (p) => {
|
|
8918
8926
|
const { firstName: h, lastName: y } = p || {};
|
|
8919
8927
|
return `${h ?? ""}${h ? " " : ""}${y ?? ""}`;
|
|
8920
8928
|
}, u = (p) => {
|
|
@@ -8930,8 +8938,8 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8930
8938
|
class: "ao-card-feed",
|
|
8931
8939
|
"is-clickable": !0
|
|
8932
8940
|
}, {
|
|
8933
|
-
header:
|
|
8934
|
-
v("div",
|
|
8941
|
+
header: j(() => [
|
|
8942
|
+
v("div", q9, [
|
|
8935
8943
|
p.projectName ? (c(), N(L1, {
|
|
8936
8944
|
key: 0,
|
|
8937
8945
|
label: p.projectName,
|
|
@@ -8940,7 +8948,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8940
8948
|
color: p.projectColor ? void 0 : "primary",
|
|
8941
8949
|
"raw-color": p.projectColor
|
|
8942
8950
|
}, null, 8, ["label", "color", "raw-color"])) : M("", !0),
|
|
8943
|
-
p.isPrivate || p.important ? (c(), m("div",
|
|
8951
|
+
p.isPrivate || p.important ? (c(), m("div", z9, [
|
|
8944
8952
|
p.isPrivate ? (c(), N(ve, {
|
|
8945
8953
|
key: 0,
|
|
8946
8954
|
name: "Lock",
|
|
@@ -8954,14 +8962,14 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8954
8962
|
size: "sm"
|
|
8955
8963
|
})) : M("", !0)
|
|
8956
8964
|
])) : M("", !0),
|
|
8957
|
-
p.$slots.secondary ? (c(), m("div",
|
|
8965
|
+
p.$slots.secondary ? (c(), m("div", W9, [
|
|
8958
8966
|
X(p.$slots, "secondary")
|
|
8959
8967
|
])) : M("", !0)
|
|
8960
8968
|
])
|
|
8961
8969
|
]),
|
|
8962
|
-
default:
|
|
8963
|
-
v("div",
|
|
8964
|
-
s.value ? (c(), m("span",
|
|
8970
|
+
default: j(() => [
|
|
8971
|
+
v("div", Y9, [
|
|
8972
|
+
s.value ? (c(), m("span", K9, U(s.value), 1)) : M("", !0),
|
|
8965
8973
|
E(me, {
|
|
8966
8974
|
id: p.id,
|
|
8967
8975
|
title: p.name,
|
|
@@ -8969,17 +8977,17 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8969
8977
|
"is-editable": p.isEditable,
|
|
8970
8978
|
"onUpdate:title": n
|
|
8971
8979
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8972
|
-
p.deadline ? (c(), m("span",
|
|
8980
|
+
p.deadline ? (c(), m("span", G9, U(i.value), 1)) : M("", !0)
|
|
8973
8981
|
])
|
|
8974
8982
|
]),
|
|
8975
|
-
footer:
|
|
8976
|
-
v("div",
|
|
8977
|
-
v("div",
|
|
8978
|
-
v("ul",
|
|
8983
|
+
footer: j(() => [
|
|
8984
|
+
v("div", X9, [
|
|
8985
|
+
v("div", x9, [
|
|
8986
|
+
v("ul", Q9, [
|
|
8979
8987
|
(c(!0), m(fe, null, ye(o.value, (y) => (c(), m(fe, {
|
|
8980
8988
|
key: y.id
|
|
8981
8989
|
}, [
|
|
8982
|
-
y ? (c(), m("li",
|
|
8990
|
+
y ? (c(), m("li", J9, [
|
|
8983
8991
|
E(yt, {
|
|
8984
8992
|
"user-name": l(y),
|
|
8985
8993
|
"avatar-url": y.avatarUrl,
|
|
@@ -8989,31 +8997,31 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8989
8997
|
])) : M("", !0)
|
|
8990
8998
|
], 64))), 128))
|
|
8991
8999
|
]),
|
|
8992
|
-
p.comments || p.attachments ? (c(), m("ul",
|
|
8993
|
-
p.comments ? (c(), m("li",
|
|
9000
|
+
p.comments || p.attachments ? (c(), m("ul", e4, [
|
|
9001
|
+
p.comments ? (c(), m("li", t4, [
|
|
8994
9002
|
E(ve, {
|
|
8995
9003
|
name: "ChatOutline",
|
|
8996
9004
|
size: "sm"
|
|
8997
9005
|
}),
|
|
8998
|
-
v("span",
|
|
9006
|
+
v("span", a4, U(p.comments), 1)
|
|
8999
9007
|
])) : M("", !0),
|
|
9000
|
-
p.attachments ? (c(), m("li",
|
|
9008
|
+
p.attachments ? (c(), m("li", s4, [
|
|
9001
9009
|
E(ve, {
|
|
9002
9010
|
name: "AttachFileRounded",
|
|
9003
9011
|
size: "sm"
|
|
9004
9012
|
}),
|
|
9005
|
-
v("span",
|
|
9013
|
+
v("span", n4, U(p.attachments), 1)
|
|
9006
9014
|
])) : M("", !0)
|
|
9007
9015
|
])) : M("", !0)
|
|
9008
9016
|
]),
|
|
9009
|
-
v("div",
|
|
9010
|
-
p.tasks && p.tasks.length ? (c(), m("div",
|
|
9011
|
-
v("div",
|
|
9017
|
+
v("div", i4, [
|
|
9018
|
+
p.tasks && p.tasks.length ? (c(), m("div", o4, [
|
|
9019
|
+
v("div", l4, [
|
|
9012
9020
|
E(ve, {
|
|
9013
9021
|
name: "SelectCheckBox",
|
|
9014
9022
|
size: "sm"
|
|
9015
9023
|
}),
|
|
9016
|
-
v("span",
|
|
9024
|
+
v("span", r4, U(d.value) + " / " + U(r.value), 1)
|
|
9017
9025
|
]),
|
|
9018
9026
|
E(F1, {
|
|
9019
9027
|
percentages: f.value,
|
|
@@ -9027,7 +9035,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
9027
9035
|
}));
|
|
9028
9036
|
}
|
|
9029
9037
|
});
|
|
9030
|
-
const
|
|
9038
|
+
const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-milestone__header" }, c4 = { class: "ao-project-milestone__header_line" }, v4 = { class: "ao-project-milestone__title" }, f4 = { key: 0 }, p4 = { class: "ao-field ao-field__inline" }, h4 = { class: "ao-field__label" }, m4 = { class: "ao-project-milestone__body" }, C4 = {
|
|
9031
9039
|
key: 0,
|
|
9032
9040
|
class: "ao-project-milestone__footer"
|
|
9033
9041
|
}, ca = /* @__PURE__ */ K({
|
|
@@ -9092,11 +9100,11 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9092
9100
|
});
|
|
9093
9101
|
return (h, y) => {
|
|
9094
9102
|
var S;
|
|
9095
|
-
return c(), m("div",
|
|
9096
|
-
v("header",
|
|
9097
|
-
v("div",
|
|
9098
|
-
v("div",
|
|
9099
|
-
v("span", null,
|
|
9103
|
+
return c(), m("div", u4, [
|
|
9104
|
+
v("header", d4, [
|
|
9105
|
+
v("div", c4, [
|
|
9106
|
+
v("div", v4, [
|
|
9107
|
+
v("span", null, U(h.$t("project.milestone.title")), 1),
|
|
9100
9108
|
E(me, {
|
|
9101
9109
|
title: ((S = i.value) == null ? void 0 : S.name) || h.milestoneId,
|
|
9102
9110
|
level: 5
|
|
@@ -9108,9 +9116,9 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9108
9116
|
onClick: u
|
|
9109
9117
|
})
|
|
9110
9118
|
]),
|
|
9111
|
-
i.value ? (c(), m("div",
|
|
9112
|
-
v("label",
|
|
9113
|
-
v("span",
|
|
9119
|
+
i.value ? (c(), m("div", f4, [
|
|
9120
|
+
v("label", p4, [
|
|
9121
|
+
v("span", h4, U(h.$t("activity.deadline.label")), 1),
|
|
9114
9122
|
Ue(v("input", {
|
|
9115
9123
|
"onUpdate:modelValue": y[0] || (y[0] = (_) => p.value = _),
|
|
9116
9124
|
class: "ao-field__input",
|
|
@@ -9126,7 +9134,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9126
9134
|
])
|
|
9127
9135
|
])) : M("", !0)
|
|
9128
9136
|
]),
|
|
9129
|
-
v("div",
|
|
9137
|
+
v("div", m4, [
|
|
9130
9138
|
E(W(Je), Ee({
|
|
9131
9139
|
class: "ao-project-milestone__activities",
|
|
9132
9140
|
list: l.value,
|
|
@@ -9134,8 +9142,8 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9134
9142
|
"item-key": "id",
|
|
9135
9143
|
group: "kanban"
|
|
9136
9144
|
}, h.$attrs, { onChange: f }), {
|
|
9137
|
-
item:
|
|
9138
|
-
var k, b, L,
|
|
9145
|
+
item: j(({ element: _ }) => {
|
|
9146
|
+
var k, b, L, Z;
|
|
9139
9147
|
return [
|
|
9140
9148
|
E(ja, {
|
|
9141
9149
|
id: _.id,
|
|
@@ -9147,7 +9155,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9147
9155
|
users: h.users,
|
|
9148
9156
|
assignee: _.assignee,
|
|
9149
9157
|
comments: (L = _.comments) == null ? void 0 : L.length,
|
|
9150
|
-
attachments: (
|
|
9158
|
+
attachments: (Z = _.attachments) == null ? void 0 : Z.length,
|
|
9151
9159
|
tasks: _.tasks,
|
|
9152
9160
|
"is-editable": h.isEditable,
|
|
9153
9161
|
"is-private": _.private,
|
|
@@ -9157,10 +9165,10 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9157
9165
|
}),
|
|
9158
9166
|
onUpdateActivity: d,
|
|
9159
9167
|
onRemoveAssignee: () => d({ id: _.id, assigneeId: null })
|
|
9160
|
-
},
|
|
9168
|
+
}, i1({ _: 2 }, [
|
|
9161
9169
|
h.isEditable ? {
|
|
9162
9170
|
name: "secondary",
|
|
9163
|
-
fn:
|
|
9171
|
+
fn: j(() => [
|
|
9164
9172
|
h.isEditable && _.active ? (c(), N(le, {
|
|
9165
9173
|
key: 0,
|
|
9166
9174
|
color: "primary",
|
|
@@ -9191,7 +9199,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9191
9199
|
}),
|
|
9192
9200
|
_: 1
|
|
9193
9201
|
}, 16, ["list", "disabled"]),
|
|
9194
|
-
h.isEditable ? (c(), m("div",
|
|
9202
|
+
h.isEditable ? (c(), m("div", C4, [
|
|
9195
9203
|
E(et, {
|
|
9196
9204
|
"icon-name": "Add",
|
|
9197
9205
|
label: h.$t("project.activity.add"),
|
|
@@ -9203,7 +9211,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9203
9211
|
};
|
|
9204
9212
|
}
|
|
9205
9213
|
});
|
|
9206
|
-
const
|
|
9214
|
+
const _4 = /* @__PURE__ */ K({
|
|
9207
9215
|
__name: "AoProjectOverviewActivityDetails",
|
|
9208
9216
|
props: {
|
|
9209
9217
|
phaseId: {},
|
|
@@ -9280,21 +9288,21 @@ const p4 = /* @__PURE__ */ K({
|
|
|
9280
9288
|
onUpdateComment: y,
|
|
9281
9289
|
onRemoveComment: S
|
|
9282
9290
|
}, {
|
|
9283
|
-
default:
|
|
9284
|
-
X(_.$slots, "default",
|
|
9291
|
+
default: j((Z) => [
|
|
9292
|
+
X(_.$slots, "default", Pt(Bt(Z)))
|
|
9285
9293
|
]),
|
|
9286
9294
|
_: 3
|
|
9287
9295
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : M("", !0);
|
|
9288
9296
|
};
|
|
9289
9297
|
}
|
|
9290
|
-
}),
|
|
9298
|
+
}), g4 = { class: "ao-col-header" }, y4 = /* @__PURE__ */ K({
|
|
9291
9299
|
__name: "AoColHeader",
|
|
9292
9300
|
props: {
|
|
9293
9301
|
title: {},
|
|
9294
9302
|
items: {}
|
|
9295
9303
|
},
|
|
9296
9304
|
setup(a) {
|
|
9297
|
-
return (e, t) => (c(), m("header",
|
|
9305
|
+
return (e, t) => (c(), m("header", g4, [
|
|
9298
9306
|
E(me, {
|
|
9299
9307
|
title: e.title,
|
|
9300
9308
|
class: "ao-col-header__title",
|
|
@@ -9310,15 +9318,15 @@ const p4 = /* @__PURE__ */ K({
|
|
|
9310
9318
|
]));
|
|
9311
9319
|
}
|
|
9312
9320
|
});
|
|
9313
|
-
function
|
|
9321
|
+
function b4(a) {
|
|
9314
9322
|
return ms() ? (Cs(a), !0) : !1;
|
|
9315
9323
|
}
|
|
9316
|
-
function
|
|
9324
|
+
function s1(a) {
|
|
9317
9325
|
return typeof a == "function" ? a() : W(a);
|
|
9318
9326
|
}
|
|
9319
|
-
const
|
|
9327
|
+
const w4 = typeof window < "u", $4 = (a) => a != null, Et = () => {
|
|
9320
9328
|
};
|
|
9321
|
-
function
|
|
9329
|
+
function k4(a, e) {
|
|
9322
9330
|
function t(...n) {
|
|
9323
9331
|
return new Promise((s, o) => {
|
|
9324
9332
|
Promise.resolve(a(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -9326,13 +9334,13 @@ function y4(a, e) {
|
|
|
9326
9334
|
}
|
|
9327
9335
|
return t;
|
|
9328
9336
|
}
|
|
9329
|
-
function
|
|
9337
|
+
function M4(a, e = {}) {
|
|
9330
9338
|
let t, n, s = Et;
|
|
9331
9339
|
const o = (l) => {
|
|
9332
9340
|
clearTimeout(l), s(), s = Et;
|
|
9333
9341
|
};
|
|
9334
9342
|
return (l) => {
|
|
9335
|
-
const u =
|
|
9343
|
+
const u = s1(a), r = s1(e.maxWait);
|
|
9336
9344
|
return t && o(t), u <= 0 || r !== void 0 && r <= 0 ? (n && (o(n), n = null), Promise.resolve(l())) : new Promise((d, f) => {
|
|
9337
9345
|
s = e.rejectOnCancel ? f : d, r && !n && (n = setTimeout(() => {
|
|
9338
9346
|
t && o(t), n = null, d(l());
|
|
@@ -9342,49 +9350,49 @@ function b4(a, e = {}) {
|
|
|
9342
9350
|
});
|
|
9343
9351
|
};
|
|
9344
9352
|
}
|
|
9345
|
-
function
|
|
9346
|
-
return
|
|
9347
|
-
|
|
9353
|
+
function A4(a, e = 200, t = {}) {
|
|
9354
|
+
return k4(
|
|
9355
|
+
M4(e, t),
|
|
9348
9356
|
a
|
|
9349
9357
|
);
|
|
9350
9358
|
}
|
|
9351
|
-
function
|
|
9359
|
+
function S1(a) {
|
|
9352
9360
|
var e;
|
|
9353
|
-
const t =
|
|
9361
|
+
const t = s1(a);
|
|
9354
9362
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
9355
9363
|
}
|
|
9356
|
-
const
|
|
9357
|
-
function
|
|
9364
|
+
const T4 = w4 ? window : void 0;
|
|
9365
|
+
function S4() {
|
|
9358
9366
|
const a = x(!1);
|
|
9359
|
-
return nt() &&
|
|
9367
|
+
return nt() && Ht(() => {
|
|
9360
9368
|
a.value = !0;
|
|
9361
9369
|
}), a;
|
|
9362
9370
|
}
|
|
9363
|
-
function
|
|
9364
|
-
const e =
|
|
9371
|
+
function E4(a) {
|
|
9372
|
+
const e = S4();
|
|
9365
9373
|
return w(() => (e.value, !!a()));
|
|
9366
9374
|
}
|
|
9367
|
-
function
|
|
9375
|
+
function I4(a, e, t = {}) {
|
|
9368
9376
|
const {
|
|
9369
9377
|
root: n,
|
|
9370
9378
|
rootMargin: s = "0px",
|
|
9371
9379
|
threshold: o = 0.1,
|
|
9372
|
-
window: i =
|
|
9380
|
+
window: i = T4,
|
|
9373
9381
|
immediate: l = !0
|
|
9374
|
-
} = t, u =
|
|
9375
|
-
const y =
|
|
9376
|
-
return (Array.isArray(y) ? y : [y]).map(
|
|
9382
|
+
} = t, u = E4(() => i && "IntersectionObserver" in i), r = w(() => {
|
|
9383
|
+
const y = s1(a);
|
|
9384
|
+
return (Array.isArray(y) ? y : [y]).map(S1).filter($4);
|
|
9377
9385
|
});
|
|
9378
9386
|
let d = Et;
|
|
9379
9387
|
const f = x(l), p = u.value ? de(
|
|
9380
|
-
() => [r.value,
|
|
9388
|
+
() => [r.value, S1(n), f.value],
|
|
9381
9389
|
([y, S]) => {
|
|
9382
9390
|
if (d(), !f.value || !y.length)
|
|
9383
9391
|
return;
|
|
9384
9392
|
const _ = new IntersectionObserver(
|
|
9385
9393
|
e,
|
|
9386
9394
|
{
|
|
9387
|
-
root:
|
|
9395
|
+
root: S1(S),
|
|
9388
9396
|
rootMargin: s,
|
|
9389
9397
|
threshold: o
|
|
9390
9398
|
}
|
|
@@ -9397,7 +9405,7 @@ function A4(a, e, t = {}) {
|
|
|
9397
9405
|
) : Et, h = () => {
|
|
9398
9406
|
d(), p(), f.value = !1;
|
|
9399
9407
|
};
|
|
9400
|
-
return
|
|
9408
|
+
return b4(h), {
|
|
9401
9409
|
isSupported: u,
|
|
9402
9410
|
isActive: f,
|
|
9403
9411
|
pause() {
|
|
@@ -9409,24 +9417,24 @@ function A4(a, e, t = {}) {
|
|
|
9409
9417
|
stop: h
|
|
9410
9418
|
};
|
|
9411
9419
|
}
|
|
9412
|
-
const
|
|
9420
|
+
const O4 = {
|
|
9413
9421
|
class: /* @__PURE__ */ G(["ao-list-kanban"])
|
|
9414
|
-
},
|
|
9422
|
+
}, L4 = { class: "ao-list-kanban__header" }, V4 = {
|
|
9415
9423
|
key: 0,
|
|
9416
9424
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
9417
|
-
},
|
|
9425
|
+
}, D4 = {
|
|
9418
9426
|
key: 1,
|
|
9419
9427
|
class: "ao-list-kanban__end"
|
|
9420
|
-
},
|
|
9428
|
+
}, H4 = {
|
|
9421
9429
|
key: 0,
|
|
9422
9430
|
class: "ao-list-kanban__no-more"
|
|
9423
|
-
},
|
|
9431
|
+
}, P4 = {
|
|
9424
9432
|
key: 1,
|
|
9425
9433
|
class: "ao-list-kanban__divider"
|
|
9426
|
-
},
|
|
9434
|
+
}, B4 = {
|
|
9427
9435
|
key: 1,
|
|
9428
9436
|
class: "ao-list-kanban__footer"
|
|
9429
|
-
},
|
|
9437
|
+
}, N4 = /* @__PURE__ */ K({
|
|
9430
9438
|
__name: "AoListKanban",
|
|
9431
9439
|
props: {
|
|
9432
9440
|
list: {},
|
|
@@ -9442,7 +9450,7 @@ const T4 = {
|
|
|
9442
9450
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
9443
9451
|
setup(a, { emit: e }) {
|
|
9444
9452
|
const t = a, n = x(!1), s = x(null);
|
|
9445
|
-
|
|
9453
|
+
I4(s, ([{ isIntersecting: r }]) => {
|
|
9446
9454
|
n.value = r;
|
|
9447
9455
|
}), de(n, (r) => {
|
|
9448
9456
|
r && t.hasMore && !t.isLoading && e("loadMore");
|
|
@@ -9464,12 +9472,12 @@ const T4 = {
|
|
|
9464
9472
|
)
|
|
9465
9473
|
});
|
|
9466
9474
|
}, u = x(!1);
|
|
9467
|
-
return (r, d) => (c(), m("div",
|
|
9475
|
+
return (r, d) => (c(), m("div", O4, [
|
|
9468
9476
|
r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
|
|
9469
9477
|
var f;
|
|
9470
9478
|
return [
|
|
9471
|
-
v("div",
|
|
9472
|
-
r.title ? (c(), N(
|
|
9479
|
+
v("div", L4, [
|
|
9480
|
+
r.title ? (c(), N(y4, {
|
|
9473
9481
|
key: 0,
|
|
9474
9482
|
title: r.title,
|
|
9475
9483
|
level: 3,
|
|
@@ -9495,7 +9503,7 @@ const T4 = {
|
|
|
9495
9503
|
name: "ao-list-kanban__transition"
|
|
9496
9504
|
}
|
|
9497
9505
|
}), {
|
|
9498
|
-
item:
|
|
9506
|
+
item: j(({ element: f }) => {
|
|
9499
9507
|
var p, h, y, S, _, k, b, L;
|
|
9500
9508
|
return [
|
|
9501
9509
|
E(ja, {
|
|
@@ -9518,13 +9526,13 @@ const T4 = {
|
|
|
9518
9526
|
"is-editable": r.isEditable,
|
|
9519
9527
|
"is-private": f.private,
|
|
9520
9528
|
onUpdateActivity: [
|
|
9521
|
-
d[0] || (d[0] = (
|
|
9522
|
-
d[1] || (d[1] = (
|
|
9529
|
+
d[0] || (d[0] = (Z) => r.isEditable && i(Z)),
|
|
9530
|
+
d[1] || (d[1] = (Z) => r.isEditable && i)
|
|
9523
9531
|
],
|
|
9524
9532
|
onClick: () => o(f.id),
|
|
9525
9533
|
onRemoveAssignee: () => r.isEditable && i({ id: f.id, assigneeId: null })
|
|
9526
9534
|
}, {
|
|
9527
|
-
secondary:
|
|
9535
|
+
secondary: j(() => [
|
|
9528
9536
|
r.isEditable && f.active ? (c(), N(le, {
|
|
9529
9537
|
key: 0,
|
|
9530
9538
|
color: "primary",
|
|
@@ -9552,21 +9560,21 @@ const T4 = {
|
|
|
9552
9560
|
}, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
|
|
9553
9561
|
];
|
|
9554
9562
|
}),
|
|
9555
|
-
footer:
|
|
9556
|
-
r.isLoading ? (c(), m("div",
|
|
9563
|
+
footer: j(() => [
|
|
9564
|
+
r.isLoading ? (c(), m("div", V4, [
|
|
9557
9565
|
E(ve, { name: "Loading" })
|
|
9558
9566
|
])) : r.hasMore ? (c(), m("div", {
|
|
9559
9567
|
key: 2,
|
|
9560
9568
|
ref_key: "scrollEnd",
|
|
9561
9569
|
ref: s,
|
|
9562
9570
|
class: "ao-list-kanban__end"
|
|
9563
|
-
}, null, 512)) : (c(), m("div",
|
|
9564
|
-
r.noMoreLabel ? (c(), m("span",
|
|
9571
|
+
}, null, 512)) : (c(), m("div", D4, [
|
|
9572
|
+
r.noMoreLabel ? (c(), m("span", H4, U(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", P4)) : M("", !0)
|
|
9565
9573
|
]))
|
|
9566
9574
|
]),
|
|
9567
9575
|
_: 1
|
|
9568
9576
|
}, 16, ["class", "list", "disabled"]),
|
|
9569
|
-
r.$slots.footer || r.footerLabel ? (c(), m("div",
|
|
9577
|
+
r.$slots.footer || r.footerLabel ? (c(), m("div", B4, [
|
|
9570
9578
|
X(r.$slots, "footer", {}, () => [
|
|
9571
9579
|
r.isEditable ? (c(), N(et, {
|
|
9572
9580
|
key: 0,
|
|
@@ -9579,7 +9587,7 @@ const T4 = {
|
|
|
9579
9587
|
]));
|
|
9580
9588
|
}
|
|
9581
9589
|
});
|
|
9582
|
-
const
|
|
9590
|
+
const R4 = { class: "ao-field ao-search-field" }, U4 = ["value", "placeholder", "onKeypress"], j4 = /* @__PURE__ */ K({
|
|
9583
9591
|
__name: "AoSearchField",
|
|
9584
9592
|
props: {
|
|
9585
9593
|
modelValue: {},
|
|
@@ -9591,10 +9599,10 @@ const H4 = { class: "ao-field ao-search-field" }, P4 = ["value", "placeholder",
|
|
|
9591
9599
|
const t = a, n = async (i) => {
|
|
9592
9600
|
const u = i.target.value;
|
|
9593
9601
|
e("update:modelValue", u, i);
|
|
9594
|
-
}, s =
|
|
9602
|
+
}, s = A4(n, t.delay), o = (i) => {
|
|
9595
9603
|
e("clear", i);
|
|
9596
9604
|
};
|
|
9597
|
-
return (i, l) => (c(), m("div",
|
|
9605
|
+
return (i, l) => (c(), m("div", R4, [
|
|
9598
9606
|
v("input", {
|
|
9599
9607
|
value: i.modelValue,
|
|
9600
9608
|
type: "text",
|
|
@@ -9603,7 +9611,7 @@ const H4 = { class: "ao-field ao-search-field" }, P4 = ["value", "placeholder",
|
|
|
9603
9611
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
9604
9612
|
(...u) => W(s) && W(s)(...u)),
|
|
9605
9613
|
onKeypress: Ke(n, ["enter"])
|
|
9606
|
-
}, null, 40,
|
|
9614
|
+
}, null, 40, U4),
|
|
9607
9615
|
E(ve, {
|
|
9608
9616
|
name: "SearchRounded",
|
|
9609
9617
|
class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -9619,7 +9627,7 @@ const H4 = { class: "ao-field ao-search-field" }, P4 = ["value", "placeholder",
|
|
|
9619
9627
|
]));
|
|
9620
9628
|
}
|
|
9621
9629
|
});
|
|
9622
|
-
function
|
|
9630
|
+
function Z4(a) {
|
|
9623
9631
|
const e = x(), t = w(
|
|
9624
9632
|
() => a.value.find(
|
|
9625
9633
|
(s) => s.id === e.value
|
|
@@ -9633,21 +9641,21 @@ function N4(a) {
|
|
|
9633
9641
|
}
|
|
9634
9642
|
};
|
|
9635
9643
|
}
|
|
9636
|
-
const
|
|
9637
|
-
function
|
|
9638
|
-
const e =
|
|
9639
|
-
return _s(
|
|
9644
|
+
const F4 = Symbol.for("FeedStore");
|
|
9645
|
+
function q4(a) {
|
|
9646
|
+
const e = Z4(a);
|
|
9647
|
+
return _s(F4, e), e;
|
|
9640
9648
|
}
|
|
9641
|
-
const
|
|
9649
|
+
const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { class: "ao-feed__body" }, K4 = { class: "ao-feed__activity-details__header" }, G4 = {
|
|
9642
9650
|
key: 0,
|
|
9643
9651
|
class: "ao-field ao-feed__activity-details__project"
|
|
9644
|
-
},
|
|
9652
|
+
}, X4 = { class: "ao-field__label" }, x4 = {
|
|
9645
9653
|
key: 1,
|
|
9646
9654
|
class: "ao-field ao-feed__activity-details__project"
|
|
9647
|
-
},
|
|
9655
|
+
}, Q4 = { class: "ao-field__label" }, J4 = {
|
|
9648
9656
|
key: 2,
|
|
9649
9657
|
class: "ao-field ao-feed__activity-details__status"
|
|
9650
|
-
},
|
|
9658
|
+
}, e8 = { class: "ao-field__label" }, t8 = { class: "ao-field__row" }, a8 = { class: "ao-field" }, s8 = { class: "ao-field__label" }, n8 = /* @__PURE__ */ K({
|
|
9651
9659
|
__name: "AoFeed",
|
|
9652
9660
|
props: {
|
|
9653
9661
|
activities: {},
|
|
@@ -9667,7 +9675,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9667
9675
|
},
|
|
9668
9676
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9669
9677
|
setup(a, { emit: e }) {
|
|
9670
|
-
const t = a, { t: n } = it(), s = pt(t, "activities"), { selectActivity: o, selectedActivity: i } =
|
|
9678
|
+
const t = a, { t: n } = it(), s = pt(t, "activities"), { selectActivity: o, selectedActivity: i } = q4(s), l = async ($) => {
|
|
9671
9679
|
o($), await e("selectActivity", $);
|
|
9672
9680
|
}, u = x({}), r = x(!1), d = x(!1);
|
|
9673
9681
|
de(
|
|
@@ -9678,8 +9686,8 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9678
9686
|
$.map((ue) => [
|
|
9679
9687
|
ue.id,
|
|
9680
9688
|
R.filter((be) => {
|
|
9681
|
-
var
|
|
9682
|
-
return ((
|
|
9689
|
+
var Zt;
|
|
9690
|
+
return ((Zt = be.status) == null ? void 0 : Zt.id) === ue.id;
|
|
9683
9691
|
})
|
|
9684
9692
|
])
|
|
9685
9693
|
), z && !r.value && (l(z), r.value = !0), d.value && je(R, B);
|
|
@@ -9718,7 +9726,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9718
9726
|
i.value && e("update:activity", $);
|
|
9719
9727
|
}, L = ($) => {
|
|
9720
9728
|
e("update:activity", $);
|
|
9721
|
-
},
|
|
9729
|
+
}, Z = ($) => {
|
|
9722
9730
|
e("archiveActivity", $);
|
|
9723
9731
|
}, Y = ($) => {
|
|
9724
9732
|
e("unarchiveActivity", $);
|
|
@@ -9761,7 +9769,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9761
9769
|
}, A = w(() => y.value.map(($) => ({
|
|
9762
9770
|
value: $.id,
|
|
9763
9771
|
label: $.name
|
|
9764
|
-
}))),
|
|
9772
|
+
}))), F = w(() => {
|
|
9765
9773
|
var R, z, T;
|
|
9766
9774
|
const $ = (T = (z = (R = i.value) == null ? void 0 : R.project) == null ? void 0 : z.phases) == null ? void 0 : T.reduce(
|
|
9767
9775
|
(B, ue) => [...B, ...ue.milestones],
|
|
@@ -9771,7 +9779,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9771
9779
|
value: B.id,
|
|
9772
9780
|
label: B.name
|
|
9773
9781
|
}));
|
|
9774
|
-
}),
|
|
9782
|
+
}), q = ($) => {
|
|
9775
9783
|
i.value && e("update:activity", {
|
|
9776
9784
|
id: i.value.id,
|
|
9777
9785
|
projectId: $
|
|
@@ -9795,10 +9803,10 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9795
9803
|
};
|
|
9796
9804
|
return ($, R) => {
|
|
9797
9805
|
var z;
|
|
9798
|
-
return c(), m("div",
|
|
9799
|
-
E(
|
|
9800
|
-
primary:
|
|
9801
|
-
v("div",
|
|
9806
|
+
return c(), m("div", z4, [
|
|
9807
|
+
E(v1, null, {
|
|
9808
|
+
primary: j(() => [
|
|
9809
|
+
v("div", W4, [
|
|
9802
9810
|
t.project ? (c(), N(Ua, {
|
|
9803
9811
|
key: 0,
|
|
9804
9812
|
"is-left": !1,
|
|
@@ -9808,7 +9816,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9808
9816
|
T && $.$router.push({ name: W(He).project });
|
|
9809
9817
|
})
|
|
9810
9818
|
}, null, 8, ["right-label", "left-label"])) : M("", !0),
|
|
9811
|
-
E(
|
|
9819
|
+
E(j4, {
|
|
9812
9820
|
"model-value": $.searchText,
|
|
9813
9821
|
placeholder: $.$t("feed.search.placeholder"),
|
|
9814
9822
|
class: "ao-feed__search",
|
|
@@ -9847,7 +9855,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9847
9855
|
placeholder: $.$t("feed.filters.assignee.placeholder"),
|
|
9848
9856
|
"onUpdate:modelValue": R[3] || (R[3] = (T) => h(W(ct).assignee, T))
|
|
9849
9857
|
}, {
|
|
9850
|
-
tag:
|
|
9858
|
+
tag: j(({
|
|
9851
9859
|
option: T,
|
|
9852
9860
|
handleTagRemove: B
|
|
9853
9861
|
}) => [
|
|
@@ -9888,8 +9896,8 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9888
9896
|
]),
|
|
9889
9897
|
_: 1
|
|
9890
9898
|
}),
|
|
9891
|
-
v("div",
|
|
9892
|
-
(c(!0), m(fe, null, ye($.statuses, (T) => (c(), N(
|
|
9899
|
+
v("div", Y4, [
|
|
9900
|
+
(c(!0), m(fe, null, ye($.statuses, (T) => (c(), N(N4, {
|
|
9893
9901
|
key: T.id,
|
|
9894
9902
|
status: T,
|
|
9895
9903
|
list: u.value[T.id],
|
|
@@ -9899,7 +9907,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9899
9907
|
"is-editable": $.isEditable,
|
|
9900
9908
|
onAdd: () => p(T),
|
|
9901
9909
|
onSelectActivity: l,
|
|
9902
|
-
onArchiveActivity:
|
|
9910
|
+
onArchiveActivity: Z,
|
|
9903
9911
|
onUnarchiveActivity: Y,
|
|
9904
9912
|
onUpdateActivity: L
|
|
9905
9913
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
|
|
@@ -9928,25 +9936,25 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9928
9936
|
onUpdateComment: ae,
|
|
9929
9937
|
onRemoveComment: ce
|
|
9930
9938
|
}, {
|
|
9931
|
-
header:
|
|
9939
|
+
header: j(() => {
|
|
9932
9940
|
var T, B, ue;
|
|
9933
9941
|
return [
|
|
9934
|
-
v("div",
|
|
9935
|
-
A.value && !t.project ? (c(), m("label",
|
|
9936
|
-
v("span",
|
|
9942
|
+
v("div", K4, [
|
|
9943
|
+
A.value && !t.project ? (c(), m("label", G4, [
|
|
9944
|
+
v("span", X4, U($.$t("activity.project.label")), 1),
|
|
9937
9945
|
E(we, {
|
|
9938
9946
|
options: A.value,
|
|
9939
9947
|
value: (T = W(i).project) == null ? void 0 : T.id,
|
|
9940
9948
|
searchable: !0,
|
|
9941
9949
|
disabled: !$.isEditable,
|
|
9942
9950
|
caret: $.isEditable,
|
|
9943
|
-
onChange:
|
|
9951
|
+
onChange: q
|
|
9944
9952
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9945
9953
|
])) : M("", !0),
|
|
9946
|
-
|
|
9947
|
-
v("span",
|
|
9954
|
+
F.value ? (c(), m("label", x4, [
|
|
9955
|
+
v("span", Q4, U($.$t("activity.milestone.label")), 1),
|
|
9948
9956
|
E(we, {
|
|
9949
|
-
options:
|
|
9957
|
+
options: F.value,
|
|
9950
9958
|
value: (B = W(i).milestone) == null ? void 0 : B.id,
|
|
9951
9959
|
searchable: !0,
|
|
9952
9960
|
disabled: !$.isEditable,
|
|
@@ -9954,8 +9962,8 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9954
9962
|
onChange: se
|
|
9955
9963
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9956
9964
|
])) : M("", !0),
|
|
9957
|
-
ie.value ? (c(), m("label",
|
|
9958
|
-
v("span",
|
|
9965
|
+
ie.value ? (c(), m("label", J4, [
|
|
9966
|
+
v("span", e8, U($.$t("activity.status.label")), 1),
|
|
9959
9967
|
E(we, {
|
|
9960
9968
|
options: ie.value,
|
|
9961
9969
|
value: (ue = W(i).status) == null ? void 0 : ue.id,
|
|
@@ -9969,10 +9977,10 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9969
9977
|
])
|
|
9970
9978
|
];
|
|
9971
9979
|
}),
|
|
9972
|
-
default:
|
|
9973
|
-
v("div",
|
|
9974
|
-
v("label",
|
|
9975
|
-
v("span",
|
|
9980
|
+
default: j((T) => [
|
|
9981
|
+
v("div", t8, [
|
|
9982
|
+
v("label", a8, [
|
|
9983
|
+
v("span", s8, U($.$t("activity.deadline.label")), 1),
|
|
9976
9984
|
Ue(v("input", {
|
|
9977
9985
|
"onUpdate:modelValue": R[6] || (R[6] = (B) => V.value = B),
|
|
9978
9986
|
class: "ao-field__input",
|
|
@@ -9987,7 +9995,7 @@ const j4 = { class: "ao-feed" }, Z4 = { class: "ao-feed__filters" }, F4 = { clas
|
|
|
9987
9995
|
])
|
|
9988
9996
|
])
|
|
9989
9997
|
]),
|
|
9990
|
-
X($.$slots, "activityDetailsBody",
|
|
9998
|
+
X($.$slots, "activityDetailsBody", Pt(Bt(T)))
|
|
9991
9999
|
]),
|
|
9992
10000
|
_: 3
|
|
9993
10001
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : M("", !0)
|
|
@@ -10000,7 +10008,7 @@ const ft = {
|
|
|
10000
10008
|
TEMPLATES: "templates",
|
|
10001
10009
|
TEMPLATE_DETAILS: "template_details",
|
|
10002
10010
|
TEMPLATES_LIST: "templates_list"
|
|
10003
|
-
},
|
|
10011
|
+
}, b8 = (a, e = {}) => [
|
|
10004
10012
|
{
|
|
10005
10013
|
path: a,
|
|
10006
10014
|
name: ft.TEMPLATES,
|
|
@@ -10010,7 +10018,7 @@ const ft = {
|
|
|
10010
10018
|
{
|
|
10011
10019
|
path: "",
|
|
10012
10020
|
name: ft.TEMPLATES_LIST,
|
|
10013
|
-
component:
|
|
10021
|
+
component: o8
|
|
10014
10022
|
},
|
|
10015
10023
|
{
|
|
10016
10024
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -10025,7 +10033,7 @@ const ft = {
|
|
|
10025
10033
|
feed: "AoProjectFeed",
|
|
10026
10034
|
milestone: "AoMilestone",
|
|
10027
10035
|
activity: "AoActivity"
|
|
10028
|
-
},
|
|
10036
|
+
}, w8 = (a, e = {}) => [
|
|
10029
10037
|
{
|
|
10030
10038
|
path: a,
|
|
10031
10039
|
...e,
|
|
@@ -10034,7 +10042,7 @@ const ft = {
|
|
|
10034
10042
|
{
|
|
10035
10043
|
path: "",
|
|
10036
10044
|
name: He.project,
|
|
10037
|
-
component:
|
|
10045
|
+
component: F9,
|
|
10038
10046
|
props: !0,
|
|
10039
10047
|
children: [
|
|
10040
10048
|
{
|
|
@@ -10049,7 +10057,7 @@ const ft = {
|
|
|
10049
10057
|
props: { default: !0, modal: !0 },
|
|
10050
10058
|
components: {
|
|
10051
10059
|
default: ca,
|
|
10052
|
-
modal:
|
|
10060
|
+
modal: _4
|
|
10053
10061
|
}
|
|
10054
10062
|
}
|
|
10055
10063
|
]
|
|
@@ -10057,12 +10065,12 @@ const ft = {
|
|
|
10057
10065
|
{
|
|
10058
10066
|
path: "feed",
|
|
10059
10067
|
name: He.feed,
|
|
10060
|
-
component:
|
|
10068
|
+
component: n8,
|
|
10061
10069
|
props: !0
|
|
10062
10070
|
}
|
|
10063
10071
|
]
|
|
10064
10072
|
}
|
|
10065
|
-
],
|
|
10073
|
+
], i8 = { class: "ao-templates" }, o8 = /* @__PURE__ */ K({
|
|
10066
10074
|
__name: "AoTemplatesList",
|
|
10067
10075
|
props: {
|
|
10068
10076
|
templates: {}
|
|
@@ -10091,7 +10099,7 @@ const ft = {
|
|
|
10091
10099
|
});
|
|
10092
10100
|
}, i = (l) => {
|
|
10093
10101
|
if (l.moved) {
|
|
10094
|
-
const u =
|
|
10102
|
+
const u = Ut(l, t.templates ?? []);
|
|
10095
10103
|
e("updateItem", {
|
|
10096
10104
|
itemType: he.TEMPLATES,
|
|
10097
10105
|
id: l.moved.element.id,
|
|
@@ -10102,9 +10110,9 @@ const ft = {
|
|
|
10102
10110
|
});
|
|
10103
10111
|
}
|
|
10104
10112
|
};
|
|
10105
|
-
return (l, u) => (c(), m("div",
|
|
10106
|
-
E(
|
|
10107
|
-
secondary:
|
|
10113
|
+
return (l, u) => (c(), m("div", i8, [
|
|
10114
|
+
E(v1, null, {
|
|
10115
|
+
secondary: j(() => [
|
|
10108
10116
|
E(le, {
|
|
10109
10117
|
label: l.$t("templates.new"),
|
|
10110
10118
|
color: "primary",
|
|
@@ -10122,7 +10130,7 @@ const ft = {
|
|
|
10122
10130
|
handle: ".ao-card__drag",
|
|
10123
10131
|
onChange: i
|
|
10124
10132
|
}, {
|
|
10125
|
-
item:
|
|
10133
|
+
item: j(({ element: r }) => {
|
|
10126
10134
|
var d;
|
|
10127
10135
|
return [
|
|
10128
10136
|
E(P0, {
|
|
@@ -10146,7 +10154,7 @@ const ft = {
|
|
|
10146
10154
|
]));
|
|
10147
10155
|
}
|
|
10148
10156
|
});
|
|
10149
|
-
const
|
|
10157
|
+
const l8 = { class: "ao-field__label" }, r8 = /* @__PURE__ */ K({
|
|
10150
10158
|
__name: "AoField",
|
|
10151
10159
|
props: {
|
|
10152
10160
|
label: {},
|
|
@@ -10156,11 +10164,11 @@ const s8 = { class: "ao-field__label" }, n8 = /* @__PURE__ */ K({
|
|
|
10156
10164
|
return (e, t) => (c(), m("label", {
|
|
10157
10165
|
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
10158
10166
|
}, [
|
|
10159
|
-
v("span",
|
|
10167
|
+
v("span", l8, U(e.label), 1),
|
|
10160
10168
|
X(e.$slots, "default")
|
|
10161
10169
|
], 2));
|
|
10162
10170
|
}
|
|
10163
|
-
}),
|
|
10171
|
+
}), u8 = ["type", "value", "disabled", "readonly"], $8 = /* @__PURE__ */ K({
|
|
10164
10172
|
__name: "AoInputField",
|
|
10165
10173
|
props: {
|
|
10166
10174
|
label: { default: "" },
|
|
@@ -10177,8 +10185,8 @@ const s8 = { class: "ao-field__label" }, n8 = /* @__PURE__ */ K({
|
|
|
10177
10185
|
), s = (o) => {
|
|
10178
10186
|
t.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
10179
10187
|
};
|
|
10180
|
-
return (o, i) => (c(), N(
|
|
10181
|
-
default:
|
|
10188
|
+
return (o, i) => (c(), N(r8, { label: o.label }, {
|
|
10189
|
+
default: j(() => [
|
|
10182
10190
|
v("input", Ee({
|
|
10183
10191
|
class: "ao-field__input",
|
|
10184
10192
|
type: o.type,
|
|
@@ -10187,12 +10195,12 @@ const s8 = { class: "ao-field__label" }, n8 = /* @__PURE__ */ K({
|
|
|
10187
10195
|
readonly: o.isReadonly
|
|
10188
10196
|
}, {
|
|
10189
10197
|
[gs(n.value)]: i[0] || (i[0] = (l) => s(l.target.value))
|
|
10190
|
-
}), null, 16,
|
|
10198
|
+
}), null, 16, u8)
|
|
10191
10199
|
]),
|
|
10192
10200
|
_: 1
|
|
10193
10201
|
}, 8, ["label"]));
|
|
10194
10202
|
}
|
|
10195
|
-
}),
|
|
10203
|
+
}), d8 = { class: "ao-field" }, c8 = { class: "ao-field__label" }, v8 = ["checked", "disabled"], k8 = /* @__PURE__ */ K({
|
|
10196
10204
|
__name: "AoCheckboxField",
|
|
10197
10205
|
props: {
|
|
10198
10206
|
label: { default: "" },
|
|
@@ -10202,8 +10210,8 @@ const s8 = { class: "ao-field__label" }, n8 = /* @__PURE__ */ K({
|
|
|
10202
10210
|
},
|
|
10203
10211
|
emits: ["update:modelValue"],
|
|
10204
10212
|
setup(a) {
|
|
10205
|
-
return (e, t) => (c(), m("label",
|
|
10206
|
-
v("span",
|
|
10213
|
+
return (e, t) => (c(), m("label", d8, [
|
|
10214
|
+
v("span", c8, U(e.label), 1),
|
|
10207
10215
|
v("input", {
|
|
10208
10216
|
class: "ao-field__input",
|
|
10209
10217
|
type: "checkbox",
|
|
@@ -10216,28 +10224,28 @@ const s8 = { class: "ao-field__label" }, n8 = /* @__PURE__ */ K({
|
|
|
10216
10224
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
10217
10225
|
);
|
|
10218
10226
|
})
|
|
10219
|
-
}, null, 40,
|
|
10227
|
+
}, null, 40, v8)
|
|
10220
10228
|
]));
|
|
10221
10229
|
}
|
|
10222
10230
|
});
|
|
10223
10231
|
export {
|
|
10224
10232
|
ja as AoCardFeed,
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10233
|
+
k8 as AoCheckboxField,
|
|
10234
|
+
n8 as AoFeed,
|
|
10235
|
+
r8 as AoField,
|
|
10236
|
+
$8 as AoInputField,
|
|
10229
10237
|
we as AoMultiselect,
|
|
10230
10238
|
K7 as AoTemplateDetails,
|
|
10231
|
-
|
|
10232
|
-
|
|
10239
|
+
C8 as AoTemplates,
|
|
10240
|
+
o8 as AoTemplatesList,
|
|
10233
10241
|
kd as TemplateItemTypeEnum,
|
|
10234
|
-
|
|
10235
|
-
|
|
10242
|
+
g8 as activityFeedStatus,
|
|
10243
|
+
_8 as durationTypes,
|
|
10236
10244
|
ct as feedFilterTypes,
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10245
|
+
w8 as getProjectOverviewRoutes,
|
|
10246
|
+
b8 as getTemplateRoutes,
|
|
10247
|
+
y8 as listUpdateTypes,
|
|
10248
|
+
E1 as milestoneStatus,
|
|
10241
10249
|
He as projectOverviewRoutes,
|
|
10242
10250
|
bd as ruleComparators,
|
|
10243
10251
|
$d as ruleDurationUnits,
|