@26lights/orcha 0.42.4 → 0.42.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +687 -693
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as Y, openBlock as v, createBlock as V, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as
|
|
1
|
+
import { defineComponent as Y, openBlock as v, createBlock as V, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as X, renderSlot as te, toDisplayString as z, createCommentVNode as O, ref as q, watch as ce, nextTick as Me, withKeys as pt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as Qe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as ut, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const t8 = /* @__PURE__ */ Y({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1167,7 +1167,7 @@ const Pn = {
|
|
|
1167
1167
|
size: { default: Ya.MD }
|
|
1168
1168
|
},
|
|
1169
1169
|
setup(t) {
|
|
1170
|
-
const e = t, a =
|
|
1170
|
+
const e = t, a = A(() => L2[e.name]);
|
|
1171
1171
|
return (s, n) => (v(), V(mt(a.value), {
|
|
1172
1172
|
class: X(["ao-icon", `ao-icon--${s.size}`])
|
|
1173
1173
|
}, null, 8, ["class"]));
|
|
@@ -1191,7 +1191,7 @@ const D2 = ["type"], B2 = {
|
|
|
1191
1191
|
corners: { default: () => Pn.ROUNDED }
|
|
1192
1192
|
},
|
|
1193
1193
|
setup(t) {
|
|
1194
|
-
const e = t, a =
|
|
1194
|
+
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
1195
1195
|
return (n, o) => (v(), C("button", {
|
|
1196
1196
|
type: n.type,
|
|
1197
1197
|
class: X([
|
|
@@ -1218,7 +1218,7 @@ const D2 = ["type"], B2 = {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
1220
|
function Hn(t) {
|
|
1221
|
-
const e = q(!1), a = q(""), s =
|
|
1221
|
+
const e = q(!1), a = q(""), s = A(() => "value" in t.value ? "value" : "innerHTML"), n = () => {
|
|
1222
1222
|
e.value = !e.value;
|
|
1223
1223
|
}, o = (r) => {
|
|
1224
1224
|
e.value = r;
|
|
@@ -1258,7 +1258,7 @@ const be = /* @__PURE__ */ Y({
|
|
|
1258
1258
|
},
|
|
1259
1259
|
emits: ["update:title", "toggle-is-editing"],
|
|
1260
1260
|
setup(t, { emit: e }) {
|
|
1261
|
-
const a = t, s = q(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = Hn(s), r =
|
|
1261
|
+
const a = t, s = q(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = Hn(s), r = A(() => n.value ? "input" : a.tag || `h${a.level}`), d = A(() => a.isEditable ? n.value ? {
|
|
1262
1262
|
change: u,
|
|
1263
1263
|
click: (_) => _.stopPropagation(),
|
|
1264
1264
|
blur: p
|
|
@@ -1351,21 +1351,21 @@ const j2 = {
|
|
|
1351
1351
|
}, {
|
|
1352
1352
|
default: N(() => [
|
|
1353
1353
|
s.isDraggable ? (v(), C("div", j2, [
|
|
1354
|
-
|
|
1354
|
+
M(pe, {
|
|
1355
1355
|
name: "DragIndicator",
|
|
1356
1356
|
class: "ao-card-horiz__drag-handle"
|
|
1357
1357
|
})
|
|
1358
1358
|
])) : O("", !0),
|
|
1359
1359
|
f("div", R2, [
|
|
1360
1360
|
s.icon ? (v(), C("div", N2, [
|
|
1361
|
-
|
|
1361
|
+
M(pe, {
|
|
1362
1362
|
class: "ao-card-horiz__icon",
|
|
1363
1363
|
name: s.icon,
|
|
1364
1364
|
size: "xl"
|
|
1365
1365
|
}, null, 8, ["name"])
|
|
1366
1366
|
])) : O("", !0),
|
|
1367
1367
|
f("div", U2, [
|
|
1368
|
-
|
|
1368
|
+
M(be, {
|
|
1369
1369
|
id: s.id,
|
|
1370
1370
|
class: "ao-card-horiz__title",
|
|
1371
1371
|
level: 4,
|
|
@@ -1408,7 +1408,7 @@ const ra = /* @__PURE__ */ Y({
|
|
|
1408
1408
|
},
|
|
1409
1409
|
emits: ["click", "close"],
|
|
1410
1410
|
setup(t) {
|
|
1411
|
-
const e = t, a =
|
|
1411
|
+
const e = t, a = A(() => e.clickable ? "button" : "span"), s = A(
|
|
1412
1412
|
() => a.value === "button" ? { type: "button" } : {}
|
|
1413
1413
|
);
|
|
1414
1414
|
return (n, o) => (v(), C("div", {
|
|
@@ -1419,7 +1419,7 @@ const ra = /* @__PURE__ */ Y({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: Qe(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
1424
|
(v(), V(mt(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
@@ -1440,7 +1440,7 @@ const ra = /* @__PURE__ */ Y({
|
|
|
1440
1440
|
class: "ao-tag__close",
|
|
1441
1441
|
onClick: o[1] || (o[1] = (i) => n.$emit("close", i))
|
|
1442
1442
|
}, [
|
|
1443
|
-
|
|
1443
|
+
M(pe, {
|
|
1444
1444
|
name: "CloseRounded",
|
|
1445
1445
|
size: "sm",
|
|
1446
1446
|
class: "ao-tag__close-icon"
|
|
@@ -1453,11 +1453,11 @@ const Ba = {
|
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
1456
|
-
},
|
|
1456
|
+
}, a8 = {
|
|
1457
1457
|
months: "months",
|
|
1458
1458
|
weeks: "weeks",
|
|
1459
1459
|
days: "days"
|
|
1460
|
-
},
|
|
1460
|
+
}, s8 = {
|
|
1461
1461
|
future: "future",
|
|
1462
1462
|
this_month: "this_month",
|
|
1463
1463
|
this_week: "this_week",
|
|
@@ -1481,7 +1481,7 @@ const Ba = {
|
|
|
1481
1481
|
TASKS: "tasks"
|
|
1482
1482
|
};
|
|
1483
1483
|
var G2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(G2 || {});
|
|
1484
|
-
const
|
|
1484
|
+
const n8 = {
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
@@ -1498,7 +1498,7 @@ function ja(t) {
|
|
|
1498
1498
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1499
1499
|
}, ja(t);
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1501
|
+
function Je(t) {
|
|
1502
1502
|
if (t === null || t === !0 || t === !1)
|
|
1503
1503
|
return NaN;
|
|
1504
1504
|
var e = Number(t);
|
|
@@ -1515,7 +1515,7 @@ function $e(t) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
function X2(t, e) {
|
|
1517
1517
|
Ce(2, arguments);
|
|
1518
|
-
var a = $e(t).getTime(), s =
|
|
1518
|
+
var a = $e(t).getTime(), s = Je(e);
|
|
1519
1519
|
return new Date(a + s);
|
|
1520
1520
|
}
|
|
1521
1521
|
var Q2 = {};
|
|
@@ -1554,7 +1554,7 @@ function jn(t) {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
function ws(t, e) {
|
|
1556
1556
|
Ce(2, arguments);
|
|
1557
|
-
var a =
|
|
1557
|
+
var a = Je(e);
|
|
1558
1558
|
return X2(t, -a);
|
|
1559
1559
|
}
|
|
1560
1560
|
var s0 = 864e5;
|
|
@@ -1595,7 +1595,7 @@ function l0(t) {
|
|
|
1595
1595
|
function Na(t, e) {
|
|
1596
1596
|
var a, s, n, o, i, l, r, d;
|
|
1597
1597
|
Ce(1, arguments);
|
|
1598
|
-
var u = ga(), c =
|
|
1598
|
+
var u = ga(), c = Je((a = (s = (n = (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 && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1599
1599
|
if (!(c >= 0 && c <= 6))
|
|
1600
1600
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1601
1601
|
var p = $e(t), h = p.getUTCDay(), b = (h < c ? 7 : 0) + h - c;
|
|
@@ -1604,7 +1604,7 @@ function Na(t, e) {
|
|
|
1604
1604
|
function Nn(t, e) {
|
|
1605
1605
|
var a, s, n, o, i, l, r, d;
|
|
1606
1606
|
Ce(1, arguments);
|
|
1607
|
-
var u = $e(t), c = u.getUTCFullYear(), p = ga(), h =
|
|
1607
|
+
var u = $e(t), c = u.getUTCFullYear(), p = ga(), h = Je((a = (s = (n = (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 && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1608
1608
|
if (!(h >= 1 && h <= 7))
|
|
1609
1609
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1610
1610
|
var b = /* @__PURE__ */ new Date(0);
|
|
@@ -1617,7 +1617,7 @@ function Nn(t, e) {
|
|
|
1617
1617
|
function r0(t, e) {
|
|
1618
1618
|
var a, s, n, o, i, l, r, d;
|
|
1619
1619
|
Ce(1, arguments);
|
|
1620
|
-
var u = ga(), c =
|
|
1620
|
+
var u = ga(), c = Je((a = (s = (n = (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 && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = Nn(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1621
1621
|
h.setUTCFullYear(p, 0, c), h.setUTCHours(0, 0, 0, 0);
|
|
1622
1622
|
var b = Na(h, e);
|
|
1623
1623
|
return b;
|
|
@@ -2736,10 +2736,10 @@ var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, o3 = /P+p+|P+|
|
|
|
2736
2736
|
function Zn(t, e, a) {
|
|
2737
2737
|
var s, n, o, i, l, r, d, u, c, p, h, b, _, g, $, w, m, I;
|
|
2738
2738
|
Ce(2, arguments);
|
|
2739
|
-
var D = String(e), E = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : E.locale) !== null && s !== void 0 ? s : Fn, W =
|
|
2739
|
+
var D = String(e), E = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : E.locale) !== null && s !== void 0 ? s : Fn, W = Je((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : E.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = E.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2740
2740
|
if (!(W >= 1 && W <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
|
-
var K =
|
|
2742
|
+
var K = Je((h = (b = (_ = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (w = $.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && _ !== void 0 ? _ : E.weekStartsOn) !== null && b !== void 0 ? b : (m = E.locale) === null || m === void 0 || (I = m.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2743
2743
|
if (!(K >= 0 && K <= 6))
|
|
2744
2744
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2745
2745
|
if (!F.localize)
|
|
@@ -2783,7 +2783,7 @@ function c3(t) {
|
|
|
2783
2783
|
function d3(t, e, a) {
|
|
2784
2784
|
var s, n, o, i, l, r, d, u, c, p;
|
|
2785
2785
|
Ce(2, arguments);
|
|
2786
|
-
var h = $e(t), b = $e(e), _ = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : _.locale) !== null && s !== void 0 ? s : Fn, $ =
|
|
2786
|
+
var h = $e(t), b = $e(e), _ = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : _.locale) !== null && s !== void 0 ? s : Fn, $ = Je((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && l !== void 0 ? l : _.weekStartsOn) !== null && i !== void 0 ? i : (c = _.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2787
2787
|
if (!g.localize)
|
|
2788
2788
|
throw new RangeError("locale must contain localize property");
|
|
2789
2789
|
if (!g.formatLong)
|
|
@@ -2807,7 +2807,7 @@ function d3(t, e, a) {
|
|
|
2807
2807
|
function ca(t, e) {
|
|
2808
2808
|
var a;
|
|
2809
2809
|
Ce(1, arguments);
|
|
2810
|
-
var s =
|
|
2810
|
+
var s = Je((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
2811
2811
|
if (s !== 2 && s !== 1 && s !== 0)
|
|
2812
2812
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
2813
2813
|
if (!(typeof t == "string" || Object.prototype.toString.call(t) === "[object String]"))
|
|
@@ -3725,7 +3725,7 @@ function N3(t, e = 0.15) {
|
|
|
3725
3725
|
const U3 = ["title"], F3 = {
|
|
3726
3726
|
key: 0,
|
|
3727
3727
|
className: "ao-avatar__initials"
|
|
3728
|
-
}, Z3 = ["src"],
|
|
3728
|
+
}, Z3 = ["src"], et = /* @__PURE__ */ Y({
|
|
3729
3729
|
__name: "AoAvatar",
|
|
3730
3730
|
props: {
|
|
3731
3731
|
userName: {},
|
|
@@ -3736,7 +3736,7 @@ const U3 = ["title"], F3 = {
|
|
|
3736
3736
|
},
|
|
3737
3737
|
emits: ["close"],
|
|
3738
3738
|
setup(t, { emit: e }) {
|
|
3739
|
-
const a = t, s =
|
|
3739
|
+
const a = t, s = A(() => [
|
|
3740
3740
|
`ao-avatar--${a.color}`,
|
|
3741
3741
|
...a.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${a.size}`] : ["ao-avatar", `ao-avatar--${a.size}`]
|
|
3742
3742
|
]), n = D3(a.userName), o = (i) => {
|
|
@@ -3790,10 +3790,10 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3790
3790
|
e("updateTitle", l);
|
|
3791
3791
|
}, n = (l, r) => {
|
|
3792
3792
|
e("deleteItem", l, r);
|
|
3793
|
-
}, o =
|
|
3793
|
+
}, o = A(() => {
|
|
3794
3794
|
var l;
|
|
3795
3795
|
return ((l = a.phases) == null ? void 0 : l.slice(0, _s)) ?? [];
|
|
3796
|
-
}), i =
|
|
3796
|
+
}), i = A(() => a.phases && a.phases.length > _s ? a.phases.length - _s : 0);
|
|
3797
3797
|
return (l, r) => (v(), V(Vn, {
|
|
3798
3798
|
id: l.id,
|
|
3799
3799
|
title: l.title,
|
|
@@ -3803,14 +3803,14 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3803
3803
|
subtitle: N(() => [
|
|
3804
3804
|
f("ul", W3, [
|
|
3805
3805
|
f("li", z3, [
|
|
3806
|
-
|
|
3806
|
+
M(pe, {
|
|
3807
3807
|
name: "MountainFlagOutlineRounded",
|
|
3808
3808
|
size: "sm"
|
|
3809
3809
|
}),
|
|
3810
3810
|
f("span", q3, z(l.milestones), 1)
|
|
3811
3811
|
]),
|
|
3812
3812
|
f("li", Y3, [
|
|
3813
|
-
|
|
3813
|
+
M(pe, {
|
|
3814
3814
|
name: "TaskOutlineRounded",
|
|
3815
3815
|
size: "sm"
|
|
3816
3816
|
}),
|
|
@@ -3822,7 +3822,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3822
3822
|
f("div", K3, [
|
|
3823
3823
|
f("div", G3, [
|
|
3824
3824
|
f("div", X3, [
|
|
3825
|
-
|
|
3825
|
+
M(pe, {
|
|
3826
3826
|
name: "WaterfallChartRounded",
|
|
3827
3827
|
size: "sm"
|
|
3828
3828
|
}),
|
|
@@ -3847,7 +3847,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3847
3847
|
]),
|
|
3848
3848
|
secondary: N(() => [
|
|
3849
3849
|
f("div", u5, [
|
|
3850
|
-
|
|
3850
|
+
M(re, {
|
|
3851
3851
|
"icon-name": "DeleteOutlineRounded",
|
|
3852
3852
|
variant: "ghost",
|
|
3853
3853
|
size: "md",
|
|
@@ -3875,7 +3875,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3875
3875
|
f("span", l5, z(l.$t("template.updatedBy.label")), 1)
|
|
3876
3876
|
]),
|
|
3877
3877
|
f("div", r5, [
|
|
3878
|
-
|
|
3878
|
+
M(et, { "user-name": l.updatedBy }, null, 8, ["user-name"])
|
|
3879
3879
|
])
|
|
3880
3880
|
])) : O("", !0)
|
|
3881
3881
|
])
|
|
@@ -3927,7 +3927,7 @@ const f5 = ["type"], h5 = {
|
|
|
3927
3927
|
corners: { default: () => Pn.ROUNDED }
|
|
3928
3928
|
},
|
|
3929
3929
|
setup(t) {
|
|
3930
|
-
const e = t, a =
|
|
3930
|
+
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
3931
3931
|
return (n, o) => (v(), C("button", {
|
|
3932
3932
|
type: n.type,
|
|
3933
3933
|
class: X([
|
|
@@ -3977,7 +3977,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
|
3977
3977
|
f("ul", m5, [
|
|
3978
3978
|
(v(), C(fe, null, _e(s, (r) => (v(), C(fe, { key: r }, [
|
|
3979
3979
|
i.$props[r] ? (v(), C("li", g5, [
|
|
3980
|
-
|
|
3980
|
+
M(pe, {
|
|
3981
3981
|
name: n[r],
|
|
3982
3982
|
size: "sm"
|
|
3983
3983
|
}, null, 8, ["name"]),
|
|
@@ -3988,7 +3988,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
|
3988
3988
|
]),
|
|
3989
3989
|
secondary: N(() => [
|
|
3990
3990
|
f("div", _5, [
|
|
3991
|
-
|
|
3991
|
+
M(re, {
|
|
3992
3992
|
"icon-name": "DeleteOutlineRounded",
|
|
3993
3993
|
variant: "ghost",
|
|
3994
3994
|
size: "md",
|
|
@@ -4009,10 +4009,10 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4009
4009
|
milestones: {}
|
|
4010
4010
|
},
|
|
4011
4011
|
setup(t) {
|
|
4012
|
-
const e = t, a =
|
|
4012
|
+
const e = t, a = A(() => {
|
|
4013
4013
|
var n;
|
|
4014
4014
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
4015
|
-
}), s =
|
|
4015
|
+
}), s = A(() => e.milestones ? Kn(e.milestones) : 0);
|
|
4016
4016
|
return (n, o) => (v(), V(Vs, Ae({
|
|
4017
4017
|
id: n.id,
|
|
4018
4018
|
title: n.name,
|
|
@@ -4031,7 +4031,7 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4031
4031
|
activities: {}
|
|
4032
4032
|
},
|
|
4033
4033
|
setup(t) {
|
|
4034
|
-
const e = t, a =
|
|
4034
|
+
const e = t, a = A(() => {
|
|
4035
4035
|
var s;
|
|
4036
4036
|
return ((s = e.activities) == null ? void 0 : s.length) || 0;
|
|
4037
4037
|
});
|
|
@@ -4076,7 +4076,7 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4076
4076
|
onChange: i
|
|
4077
4077
|
}, {
|
|
4078
4078
|
header: N(() => [
|
|
4079
|
-
|
|
4079
|
+
M(be, {
|
|
4080
4080
|
title: "Milestones",
|
|
4081
4081
|
level: 3,
|
|
4082
4082
|
class: "ao-list__title"
|
|
@@ -4101,7 +4101,7 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4101
4101
|
]),
|
|
4102
4102
|
footer: N(() => [
|
|
4103
4103
|
f("div", w5, [
|
|
4104
|
-
|
|
4104
|
+
M(Ct, {
|
|
4105
4105
|
"icon-name": "AddBoxOutlineRounded",
|
|
4106
4106
|
label: l.$t("template.milestones.add"),
|
|
4107
4107
|
onClick: s
|
|
@@ -4118,7 +4118,7 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4118
4118
|
tasks: {}
|
|
4119
4119
|
},
|
|
4120
4120
|
setup(t) {
|
|
4121
|
-
const e = t, a =
|
|
4121
|
+
const e = t, a = A(() => {
|
|
4122
4122
|
var s;
|
|
4123
4123
|
return ((s = e.tasks) == null ? void 0 : s.length) || 0;
|
|
4124
4124
|
});
|
|
@@ -4166,7 +4166,7 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4166
4166
|
onChange: i
|
|
4167
4167
|
}, {
|
|
4168
4168
|
header: N(() => [
|
|
4169
|
-
|
|
4169
|
+
M(be, {
|
|
4170
4170
|
title: "Activities",
|
|
4171
4171
|
level: 3,
|
|
4172
4172
|
class: "ao-list__title"
|
|
@@ -4187,7 +4187,7 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4187
4187
|
]),
|
|
4188
4188
|
footer: N(() => [
|
|
4189
4189
|
f("div", S5, [
|
|
4190
|
-
|
|
4190
|
+
M(Ct, {
|
|
4191
4191
|
"icon-name": "AddBoxOutlineRounded",
|
|
4192
4192
|
label: l.$t("template.activities.add"),
|
|
4193
4193
|
onClick: s
|
|
@@ -4220,7 +4220,7 @@ const y5 = /* @__PURE__ */ Y({
|
|
|
4220
4220
|
f("div", M5, [
|
|
4221
4221
|
e.$slots.header ? (v(), C("div", T5, [
|
|
4222
4222
|
f("div", O5, [
|
|
4223
|
-
|
|
4223
|
+
M(re, {
|
|
4224
4224
|
"icon-name": "CloseRounded",
|
|
4225
4225
|
variant: "ghost",
|
|
4226
4226
|
color: "primary",
|
|
@@ -4624,7 +4624,7 @@ function ei(t) {
|
|
|
4624
4624
|
function tt(t) {
|
|
4625
4625
|
return t instanceof Element || t instanceof Te(t).Element;
|
|
4626
4626
|
}
|
|
4627
|
-
function
|
|
4627
|
+
function We(t) {
|
|
4628
4628
|
return t instanceof HTMLElement || t instanceof Te(t).HTMLElement;
|
|
4629
4629
|
}
|
|
4630
4630
|
function yn(t) {
|
|
@@ -4648,7 +4648,7 @@ function js(t) {
|
|
|
4648
4648
|
}
|
|
4649
4649
|
function q5(t) {
|
|
4650
4650
|
let e = Wt(t);
|
|
4651
|
-
for (;
|
|
4651
|
+
for (; We(e) && !ts(e); ) {
|
|
4652
4652
|
if (js(e))
|
|
4653
4653
|
return e;
|
|
4654
4654
|
e = Wt(e);
|
|
@@ -4687,7 +4687,7 @@ function Wt(t) {
|
|
|
4687
4687
|
}
|
|
4688
4688
|
function ti(t) {
|
|
4689
4689
|
const e = Wt(t);
|
|
4690
|
-
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
4690
|
+
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && wa(e) ? e : ti(e);
|
|
4691
4691
|
}
|
|
4692
4692
|
function pa(t, e, a) {
|
|
4693
4693
|
var s;
|
|
@@ -4698,7 +4698,7 @@ function pa(t, e, a) {
|
|
|
4698
4698
|
function ai(t) {
|
|
4699
4699
|
const e = je(t);
|
|
4700
4700
|
let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4701
|
-
const n =
|
|
4701
|
+
const n = We(t), o = n ? t.offsetWidth : a, i = n ? t.offsetHeight : s, l = Ua(a) !== o || Ua(s) !== i;
|
|
4702
4702
|
return l && (a = o, s = i), {
|
|
4703
4703
|
width: a,
|
|
4704
4704
|
height: s,
|
|
@@ -4710,7 +4710,7 @@ function Ns(t) {
|
|
|
4710
4710
|
}
|
|
4711
4711
|
function Nt(t) {
|
|
4712
4712
|
const e = Ns(t);
|
|
4713
|
-
if (!
|
|
4713
|
+
if (!We(e))
|
|
4714
4714
|
return vt(1);
|
|
4715
4715
|
const a = e.getBoundingClientRect(), {
|
|
4716
4716
|
width: s,
|
|
@@ -4762,7 +4762,7 @@ function K5(t) {
|
|
|
4762
4762
|
offsetParent: a,
|
|
4763
4763
|
strategy: s
|
|
4764
4764
|
} = t;
|
|
4765
|
-
const n =
|
|
4765
|
+
const n = We(a), o = st(a);
|
|
4766
4766
|
if (a === o)
|
|
4767
4767
|
return e;
|
|
4768
4768
|
let i = {
|
|
@@ -4770,7 +4770,7 @@ function K5(t) {
|
|
|
4770
4770
|
scrollTop: 0
|
|
4771
4771
|
}, l = vt(1);
|
|
4772
4772
|
const r = vt(0);
|
|
4773
|
-
if ((n || !n && s !== "fixed") && ((ft(a) !== "body" || wa(o)) && (i = as(a)),
|
|
4773
|
+
if ((n || !n && s !== "fixed") && ((ft(a) !== "body" || wa(o)) && (i = as(a)), We(a))) {
|
|
4774
4774
|
const d = Ot(a);
|
|
4775
4775
|
l = Nt(a), r.x = d.x + a.clientLeft, r.y = d.y + a.clientTop;
|
|
4776
4776
|
}
|
|
@@ -4814,7 +4814,7 @@ function Q5(t, e) {
|
|
|
4814
4814
|
};
|
|
4815
4815
|
}
|
|
4816
4816
|
function J5(t, e) {
|
|
4817
|
-
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o =
|
|
4817
|
+
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) : vt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, d = s * o.y;
|
|
4818
4818
|
return {
|
|
4819
4819
|
width: i,
|
|
4820
4820
|
height: l,
|
|
@@ -4879,7 +4879,7 @@ function a7(t) {
|
|
|
4879
4879
|
return ai(t);
|
|
4880
4880
|
}
|
|
4881
4881
|
function s7(t, e, a) {
|
|
4882
|
-
const s =
|
|
4882
|
+
const s = We(e), n = st(e), o = a === "fixed", i = Ot(t, !0, o, e);
|
|
4883
4883
|
let l = {
|
|
4884
4884
|
scrollLeft: 0,
|
|
4885
4885
|
scrollTop: 0
|
|
@@ -4899,11 +4899,11 @@ function s7(t, e, a) {
|
|
|
4899
4899
|
};
|
|
4900
4900
|
}
|
|
4901
4901
|
function wn(t, e) {
|
|
4902
|
-
return !
|
|
4902
|
+
return !We(t) || je(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4903
4903
|
}
|
|
4904
4904
|
function oi(t, e) {
|
|
4905
4905
|
const a = Te(t);
|
|
4906
|
-
if (!
|
|
4906
|
+
if (!We(t))
|
|
4907
4907
|
return a;
|
|
4908
4908
|
let s = wn(t, e);
|
|
4909
4909
|
for (; s && z5(s) && je(s).position === "static"; )
|
|
@@ -5112,7 +5112,7 @@ function d7(t, e, a) {
|
|
|
5112
5112
|
};
|
|
5113
5113
|
}
|
|
5114
5114
|
function p7(t, e) {
|
|
5115
|
-
const { value: a, modelValue: s, mode: n, valueProp: o } = Ee(t), i = q(n.value !== "single" ? [] : {}), l =
|
|
5115
|
+
const { value: a, modelValue: s, mode: n, valueProp: o } = Ee(t), i = q(n.value !== "single" ? [] : {}), l = A(() => s && s.value !== void 0 ? s.value : a.value), r = A(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), d = A(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
|
|
5116
5116
|
return {
|
|
5117
5117
|
iv: i,
|
|
5118
5118
|
internalValue: i,
|
|
@@ -5213,7 +5213,7 @@ function g7(t, e, a) {
|
|
|
5213
5213
|
disabledProp: y,
|
|
5214
5214
|
searchStart: H,
|
|
5215
5215
|
searchFilter: oe
|
|
5216
|
-
} = Ee(t), ne = Lt().proxy, Z = a.iv, P = a.ev, x = a.search, me = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, rs = a.deactivate, it = a.close, ka = a.localize, ot = q([]), Ue = q([]), Ie = q(!1), Re = q(null),
|
|
5216
|
+
} = Ee(t), ne = Lt().proxy, Z = a.iv, P = a.ev, x = a.search, me = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, rs = a.deactivate, it = a.close, ka = a.localize, ot = q([]), Ue = q([]), Ie = q(!1), Re = q(null), Ye = q(ee.value && i.value === -1 ? 10 : i.value), Qt = A(() => r.value || d.value || !1), Sa = A(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Le = A(() => {
|
|
5217
5217
|
if (le.value) {
|
|
5218
5218
|
let S = bt.value || /* istanbul ignore next */
|
|
5219
5219
|
[], B = [];
|
|
@@ -5227,13 +5227,13 @@ function g7(t, e, a) {
|
|
|
5227
5227
|
[]);
|
|
5228
5228
|
return ot.value.length && (S = S.concat(ot.value)), S;
|
|
5229
5229
|
}
|
|
5230
|
-
}), Jt =
|
|
5230
|
+
}), Jt = A(() => {
|
|
5231
5231
|
let S = Le.value;
|
|
5232
5232
|
return se.value && (S = S.reverse()), Pt.value.length && (S = Pt.value.concat(S)), fs(S);
|
|
5233
|
-
}), lt =
|
|
5233
|
+
}), lt = A(() => {
|
|
5234
5234
|
let S = Jt.value;
|
|
5235
|
-
return
|
|
5236
|
-
}), bt =
|
|
5235
|
+
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5236
|
+
}), bt = A(() => {
|
|
5237
5237
|
if (!le.value)
|
|
5238
5238
|
return [];
|
|
5239
5239
|
let S = [], B = Ue.value || /* istanbul ignore next */
|
|
@@ -5243,14 +5243,14 @@ function g7(t, e, a) {
|
|
|
5243
5243
|
[L.value]: [...ot.value],
|
|
5244
5244
|
__CREATE__: !0
|
|
5245
5245
|
}), S.concat(B);
|
|
5246
|
-
}), Aa =
|
|
5246
|
+
}), Aa = A(() => {
|
|
5247
5247
|
let S = [...bt.value].map((B) => ({ ...B }));
|
|
5248
5248
|
return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][L.value] = [...Pt.value, ...S[0][L.value]] : S = [{
|
|
5249
5249
|
[W.value]: " ",
|
|
5250
5250
|
[L.value]: [...Pt.value],
|
|
5251
5251
|
__CREATE__: !0
|
|
5252
5252
|
}].concat(S)), S;
|
|
5253
|
-
}), us =
|
|
5253
|
+
}), us = A(() => {
|
|
5254
5254
|
if (!le.value)
|
|
5255
5255
|
return [];
|
|
5256
5256
|
let S = Aa.value;
|
|
@@ -5265,7 +5265,7 @@ function g7(t, e, a) {
|
|
|
5265
5265
|
__VISIBLE__: fs(ge).map(($t) => Object.assign({}, $t, B[y.value] ? { [y.value]: !0 } : {}))
|
|
5266
5266
|
};
|
|
5267
5267
|
}));
|
|
5268
|
-
}), cs =
|
|
5268
|
+
}), cs = A(() => {
|
|
5269
5269
|
switch (n.value) {
|
|
5270
5270
|
case "single":
|
|
5271
5271
|
return !Fe(Z.value[E.value]);
|
|
@@ -5273,12 +5273,12 @@ function g7(t, e, a) {
|
|
|
5273
5273
|
case "tags":
|
|
5274
5274
|
return !Fe(Z.value) && Z.value.length > 0;
|
|
5275
5275
|
}
|
|
5276
|
-
}), Ci =
|
|
5276
|
+
}), Ci = A(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = A(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = A(() => Le.value.length > 0 && lt.value.length == 0 && (x.value && le.value || !le.value)), Pt = A(() => Qt.value === !1 || !x.value ? [] : Oi(x.value) !== -1 ? [] : [{
|
|
5277
5277
|
[E.value]: x.value,
|
|
5278
5278
|
[wt.value[0]]: x.value,
|
|
5279
5279
|
[u.value]: x.value,
|
|
5280
5280
|
__CREATE__: !0
|
|
5281
|
-
}]), wt =
|
|
5281
|
+
}]), wt = A(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), bi = A(() => {
|
|
5282
5282
|
switch (n.value) {
|
|
5283
5283
|
case "single":
|
|
5284
5284
|
return null;
|
|
@@ -5286,8 +5286,8 @@ function g7(t, e, a) {
|
|
|
5286
5286
|
case "tags":
|
|
5287
5287
|
return [];
|
|
5288
5288
|
}
|
|
5289
|
-
}), wi =
|
|
5290
|
-
switch (typeof S != "object" && (S =
|
|
5289
|
+
}), wi = A(() => _.value || Ie.value), Ht = (S) => {
|
|
5290
|
+
switch (typeof S != "object" && (S = Ke(S)), n.value) {
|
|
5291
5291
|
case "single":
|
|
5292
5292
|
ke(S);
|
|
5293
5293
|
break;
|
|
@@ -5298,7 +5298,7 @@ function g7(t, e, a) {
|
|
|
5298
5298
|
}
|
|
5299
5299
|
e.emit("select", nn(S), S, ne);
|
|
5300
5300
|
}, Vt = (S) => {
|
|
5301
|
-
switch (typeof S != "object" && (S =
|
|
5301
|
+
switch (typeof S != "object" && (S = Ke(S)), n.value) {
|
|
5302
5302
|
case "single":
|
|
5303
5303
|
ln();
|
|
5304
5304
|
break;
|
|
@@ -5318,7 +5318,7 @@ function g7(t, e, a) {
|
|
|
5318
5318
|
on(S);
|
|
5319
5319
|
}, ln = () => {
|
|
5320
5320
|
ke(bi.value), e.emit("clear", ne);
|
|
5321
|
-
},
|
|
5321
|
+
}, xe = (S) => {
|
|
5322
5322
|
if (S.group !== void 0)
|
|
5323
5323
|
return n.value === "single" ? !1 : Ti(S[L.value]) && S[L.value].length;
|
|
5324
5324
|
switch (n.value) {
|
|
@@ -5330,7 +5330,7 @@ function g7(t, e, a) {
|
|
|
5330
5330
|
}
|
|
5331
5331
|
}, ds = (S) => S[y.value] === !0, ps = () => J === void 0 || J.value === -1 || !cs.value && J.value > 0 ? !1 : Z.value.length >= J.value, ki = (S) => {
|
|
5332
5332
|
if (!ds(S)) {
|
|
5333
|
-
if (R && R.value && !
|
|
5333
|
+
if (R && R.value && !xe(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = R.value(S, ne), S instanceof Promise)) {
|
|
5334
5334
|
Ie.value = !0, S.then((B) => {
|
|
5335
5335
|
Ie.value = !1, rn(B);
|
|
5336
5336
|
});
|
|
@@ -5341,14 +5341,14 @@ function g7(t, e, a) {
|
|
|
5341
5341
|
}, rn = (S) => {
|
|
5342
5342
|
switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
|
|
5343
5343
|
case "single":
|
|
5344
|
-
if (S &&
|
|
5344
|
+
if (S && xe(S)) {
|
|
5345
5345
|
K.value && Vt(S), G.value && (nt(), it());
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
5348
|
S && vs(S), D.value && me(), j.value && (nt(), it()), S && Ht(S);
|
|
5349
5349
|
break;
|
|
5350
5350
|
case "multiple":
|
|
5351
|
-
if (S &&
|
|
5351
|
+
if (S && xe(S)) {
|
|
5352
5352
|
Vt(S), G.value && (nt(), it());
|
|
5353
5353
|
return;
|
|
5354
5354
|
}
|
|
@@ -5359,7 +5359,7 @@ function g7(t, e, a) {
|
|
|
5359
5359
|
S && (vs(S), Ht(S)), D.value && me(), l.value && nt(), j.value && it();
|
|
5360
5360
|
break;
|
|
5361
5361
|
case "tags":
|
|
5362
|
-
if (S &&
|
|
5362
|
+
if (S && xe(S)) {
|
|
5363
5363
|
Vt(S), G.value && (nt(), it());
|
|
5364
5364
|
return;
|
|
5365
5365
|
}
|
|
@@ -5384,10 +5384,10 @@ function g7(t, e, a) {
|
|
|
5384
5384
|
j.value && rs();
|
|
5385
5385
|
}
|
|
5386
5386
|
}, vs = (S) => {
|
|
5387
|
-
|
|
5387
|
+
Ke(S[E.value]) === void 0 && Qt.value && (e.emit("tag", S[E.value], ne), e.emit("option", S[E.value], ne), e.emit("create", S[E.value], ne), Sa.value && Ii(S), me());
|
|
5388
5388
|
}, Ai = () => {
|
|
5389
|
-
n.value !== "single" && Ht(lt.value.filter((S) => !S.disabled && !
|
|
5390
|
-
}, Mi = (S) => S.find((B) => !
|
|
5389
|
+
n.value !== "single" && Ht(lt.value.filter((S) => !S.disabled && !xe(S)));
|
|
5390
|
+
}, Mi = (S) => S.find((B) => !xe(B) && !B[y.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[E.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
5391
5391
|
ot.value.push(S);
|
|
5392
5392
|
}, Li = (S) => T.value ? S.filter(
|
|
5393
5393
|
(B) => x.value ? B.__VISIBLE__.length : B[L.value].length
|
|
@@ -5395,7 +5395,7 @@ function g7(t, e, a) {
|
|
|
5395
5395
|
let ue = S;
|
|
5396
5396
|
if (x.value && m.value) {
|
|
5397
5397
|
let ge = oe.value;
|
|
5398
|
-
ge || (ge = ($t, cn,
|
|
5398
|
+
ge || (ge = ($t, cn, X4) => wt.value.some((Hi) => {
|
|
5399
5399
|
let dn = ys(ka($t[Hi]), ae.value);
|
|
5400
5400
|
return H.value ? dn.startsWith(ys(cn, ae.value)) : dn.indexOf(ys(cn, ae.value)) !== -1;
|
|
5401
5401
|
})), ue = ue.filter(($t) => ge($t, x.value, ne));
|
|
@@ -5420,14 +5420,14 @@ function g7(t, e, a) {
|
|
|
5420
5420
|
})), ms = () => {
|
|
5421
5421
|
if (cs.value)
|
|
5422
5422
|
if (n.value === "single") {
|
|
5423
|
-
let S =
|
|
5423
|
+
let S = Ke(Z.value[E.value]);
|
|
5424
5424
|
if (S !== void 0) {
|
|
5425
5425
|
let B = S[u.value];
|
|
5426
5426
|
Z.value[u.value] = B, b.value && (P.value[u.value] = B);
|
|
5427
5427
|
}
|
|
5428
5428
|
} else
|
|
5429
5429
|
Z.value.forEach((S, B) => {
|
|
5430
|
-
let ue =
|
|
5430
|
+
let ue = Ke(Z.value[B][E.value]);
|
|
5431
5431
|
if (ue !== void 0) {
|
|
5432
5432
|
let ge = ue[u.value];
|
|
5433
5433
|
Z.value[B][u.value] = ge, b.value && (P.value[B][u.value] = ge);
|
|
@@ -5435,11 +5435,11 @@ function g7(t, e, a) {
|
|
|
5435
5435
|
});
|
|
5436
5436
|
}, Pi = (S) => {
|
|
5437
5437
|
Ta(S);
|
|
5438
|
-
}, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : b.value ? S : n.value === "single" ?
|
|
5438
|
+
}, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : b.value ? S : n.value === "single" ? Ke(S) || (F.value ? {
|
|
5439
5439
|
[u.value]: S,
|
|
5440
5440
|
[E.value]: S,
|
|
5441
5441
|
[wt.value[0]]: S
|
|
5442
|
-
} : {}) : S.filter((B) => !!
|
|
5442
|
+
} : {}) : S.filter((B) => !!Ke(B) || F.value).map((B) => Ke(B) || {
|
|
5443
5443
|
[u.value]: B,
|
|
5444
5444
|
[E.value]: B,
|
|
5445
5445
|
[wt.value[0]]: B
|
|
@@ -5478,7 +5478,7 @@ function g7(t, e, a) {
|
|
|
5478
5478
|
}, { deep: !0 }), ce(s, (S, B) => {
|
|
5479
5479
|
typeof t.options == "function" ? $.value && (!B || S && S.toString() !== B.toString()) && Ta() : (Ue.value = t.options, Object.keys(Z.value).length || Ma(), ms());
|
|
5480
5480
|
}), ce(u, ms), ce(i, (S, B) => {
|
|
5481
|
-
|
|
5481
|
+
Ye.value = ee.value && S === -1 ? 10 : S;
|
|
5482
5482
|
}), {
|
|
5483
5483
|
pfo: Jt,
|
|
5484
5484
|
fo: lt,
|
|
@@ -5495,16 +5495,16 @@ function g7(t, e, a) {
|
|
|
5495
5495
|
noResults: yi,
|
|
5496
5496
|
resolving: Ie,
|
|
5497
5497
|
busy: wi,
|
|
5498
|
-
offset:
|
|
5498
|
+
offset: Ye,
|
|
5499
5499
|
select: Ht,
|
|
5500
5500
|
deselect: Vt,
|
|
5501
5501
|
remove: on,
|
|
5502
5502
|
selectAll: Ai,
|
|
5503
5503
|
clear: ln,
|
|
5504
|
-
isSelected:
|
|
5504
|
+
isSelected: xe,
|
|
5505
5505
|
isDisabled: ds,
|
|
5506
5506
|
isMax: ps,
|
|
5507
|
-
getOption:
|
|
5507
|
+
getOption: Ke,
|
|
5508
5508
|
handleOptionClick: ki,
|
|
5509
5509
|
handleGroupClick: Si,
|
|
5510
5510
|
handleTagRemove: $i,
|
|
@@ -5524,23 +5524,23 @@ function C7(t, e, a) {
|
|
|
5524
5524
|
groupSelect: d,
|
|
5525
5525
|
disabledProp: u,
|
|
5526
5526
|
groupOptions: c
|
|
5527
|
-
} = Ee(t), p = a.fo, h = a.fg, b = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, w = a.setPointer, m = a.clearPointer, I = a.multiselect, D = a.isOpen, E =
|
|
5527
|
+
} = Ee(t), p = a.fo, h = a.fg, b = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, w = a.setPointer, m = a.clearPointer, I = a.multiselect, D = a.isOpen, E = A(() => p.value.filter((P) => !P[u.value])), F = A(() => h.value.filter((P) => !P[u.value])), W = A(() => r.value !== "single" && d.value), K = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
|
|
5528
5528
|
const P = K.value ? $.value : (
|
|
5529
5529
|
/* istanbul ignore next */
|
|
5530
5530
|
ne($.value)
|
|
5531
5531
|
), x = F.value.map((ke) => ke[i.value]).indexOf(P[i.value]);
|
|
5532
5532
|
let me = F.value[x - 1];
|
|
5533
5533
|
return me === void 0 && (me = G.value), me;
|
|
5534
|
-
}), j =
|
|
5534
|
+
}), j = A(() => {
|
|
5535
5535
|
let P = F.value.map((x) => x.label).indexOf(K.value ? $.value[i.value] : ne($.value)[i.value]) + 1;
|
|
5536
5536
|
return F.value.length <= P && (P = 0), F.value[P];
|
|
5537
|
-
}), G =
|
|
5537
|
+
}), G = A(() => [...F.value].slice(-1)[0]), le = A(() => $.value.__VISIBLE__.filter((P) => !P[u.value])[0]), se = A(() => {
|
|
5538
5538
|
const P = J.value.__VISIBLE__.filter((x) => !x[u.value]);
|
|
5539
5539
|
return P[P.map((x) => x[s.value]).indexOf($.value[s.value]) - 1];
|
|
5540
|
-
}), ee =
|
|
5540
|
+
}), ee = A(() => {
|
|
5541
5541
|
const P = ne($.value).__VISIBLE__.filter((x) => !x[u.value]);
|
|
5542
5542
|
return P[P.map((x) => x[s.value]).indexOf($.value[s.value]) + 1];
|
|
5543
|
-
}), L =
|
|
5543
|
+
}), L = A(() => [...ae.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), T = A(() => [...G.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), k = (P) => $.value && (!P.group && $.value[s.value] === P[s.value] || P.group !== void 0 && $.value[i.value] === P[i.value]) ? !0 : void 0, R = () => {
|
|
5544
5544
|
w(E.value[0] || null);
|
|
5545
5545
|
}, y = () => {
|
|
5546
5546
|
!$.value || $.value[u.value] === !0 || (K.value ? _($.value) : b($.value));
|
|
@@ -5667,7 +5667,7 @@ function _7(t) {
|
|
|
5667
5667
|
function y7(t) {
|
|
5668
5668
|
return t === Oe(t) || !Be(t) ? Fs(t) : _7(t);
|
|
5669
5669
|
}
|
|
5670
|
-
function
|
|
5670
|
+
function ze(t) {
|
|
5671
5671
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5672
5672
|
}
|
|
5673
5673
|
function _t(t) {
|
|
@@ -5699,7 +5699,7 @@ function w7(t, e, a) {
|
|
|
5699
5699
|
x: 0,
|
|
5700
5700
|
y: 0
|
|
5701
5701
|
};
|
|
5702
|
-
return (s || !s && !a) && ((
|
|
5702
|
+
return (s || !s && !a) && ((ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5703
5703
|
Ws(o)) && (l = y7(e)), Be(e) ? (r = qt(e, !0), r.x += e.clientLeft, r.y += e.clientTop) : o && (r.x = Zs(o))), {
|
|
5704
5704
|
x: i.left + l.scrollLeft - r.x,
|
|
5705
5705
|
y: i.top + l.scrollTop - r.y,
|
|
@@ -5717,7 +5717,7 @@ function ri(t) {
|
|
|
5717
5717
|
};
|
|
5718
5718
|
}
|
|
5719
5719
|
function ss(t) {
|
|
5720
|
-
return
|
|
5720
|
+
return ze(t) === "html" ? t : (
|
|
5721
5721
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5722
5722
|
// $FlowFixMe[incompatible-return]
|
|
5723
5723
|
// $FlowFixMe[prop-missing]
|
|
@@ -5729,7 +5729,7 @@ function ss(t) {
|
|
|
5729
5729
|
);
|
|
5730
5730
|
}
|
|
5731
5731
|
function ui(t) {
|
|
5732
|
-
return ["html", "body", "#document"].indexOf(
|
|
5732
|
+
return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t : ui(ss(t));
|
|
5733
5733
|
}
|
|
5734
5734
|
function oa(t, e) {
|
|
5735
5735
|
var a;
|
|
@@ -5741,7 +5741,7 @@ function oa(t, e) {
|
|
|
5741
5741
|
);
|
|
5742
5742
|
}
|
|
5743
5743
|
function $7(t) {
|
|
5744
|
-
return ["table", "td", "th"].indexOf(
|
|
5744
|
+
return ["table", "td", "th"].indexOf(ze(t)) >= 0;
|
|
5745
5745
|
}
|
|
5746
5746
|
function $n(t) {
|
|
5747
5747
|
return !Be(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
@@ -5755,7 +5755,7 @@ function k7(t) {
|
|
|
5755
5755
|
return null;
|
|
5756
5756
|
}
|
|
5757
5757
|
var n = ss(t);
|
|
5758
|
-
for (Us(n) && (n = n.host); Be(n) && ["html", "body"].indexOf(
|
|
5758
|
+
for (Us(n) && (n = n.host); Be(n) && ["html", "body"].indexOf(ze(n)) < 0; ) {
|
|
5759
5759
|
var o = at(n);
|
|
5760
5760
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5761
5761
|
return n;
|
|
@@ -5766,9 +5766,9 @@ function k7(t) {
|
|
|
5766
5766
|
function ns(t) {
|
|
5767
5767
|
for (var e = Oe(t), a = $n(t); a && $7(a) && at(a).position === "static"; )
|
|
5768
5768
|
a = $n(a);
|
|
5769
|
-
return a && (
|
|
5769
|
+
return a && (ze(a) === "html" || ze(a) === "body" && at(a).position === "static") ? e : a || k7(t) || e;
|
|
5770
5770
|
}
|
|
5771
|
-
var Ne = "top",
|
|
5771
|
+
var Ne = "top", qe = "bottom", ht = "right", Ge = "left", zs = "auto", is = [Ne, qe, ht, Ge], Yt = "start", va = "end", S7 = "clippingParents", ci = "viewport", ia = "popper", A7 = "reference", kn = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5772
5772
|
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
5773
5773
|
}, []), M7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5774
5774
|
return t.concat([e, e + "-" + Yt, e + "-" + va]);
|
|
@@ -5877,7 +5877,7 @@ function Sn(t, e, a) {
|
|
|
5877
5877
|
function q7(t) {
|
|
5878
5878
|
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5879
5879
|
return Et(s) ? e.filter(function(n) {
|
|
5880
|
-
return Et(n) && W7(n, s) &&
|
|
5880
|
+
return Et(n) && W7(n, s) && ze(n) !== "body";
|
|
5881
5881
|
}) : [];
|
|
5882
5882
|
}
|
|
5883
5883
|
function Y7(t, e, a, s) {
|
|
@@ -5905,7 +5905,7 @@ function pi(t) {
|
|
|
5905
5905
|
y: e.y - a.height
|
|
5906
5906
|
};
|
|
5907
5907
|
break;
|
|
5908
|
-
case
|
|
5908
|
+
case qe:
|
|
5909
5909
|
r = {
|
|
5910
5910
|
x: i,
|
|
5911
5911
|
y: e.y + e.height
|
|
@@ -5917,7 +5917,7 @@ function pi(t) {
|
|
|
5917
5917
|
y: l
|
|
5918
5918
|
};
|
|
5919
5919
|
break;
|
|
5920
|
-
case
|
|
5920
|
+
case Ge:
|
|
5921
5921
|
r = {
|
|
5922
5922
|
x: e.x - a.width,
|
|
5923
5923
|
y: l
|
|
@@ -5975,7 +5975,7 @@ function qs(t, e) {
|
|
|
5975
5975
|
if (p === ia && ae) {
|
|
5976
5976
|
var j = ae[n];
|
|
5977
5977
|
Object.keys(J).forEach(function(G) {
|
|
5978
|
-
var le = [ht,
|
|
5978
|
+
var le = [ht, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
|
|
5979
5979
|
J[G] += j[se] * le;
|
|
5980
5980
|
});
|
|
5981
5981
|
}
|
|
@@ -6151,18 +6151,18 @@ function Tn(t) {
|
|
|
6151
6151
|
y: _
|
|
6152
6152
|
};
|
|
6153
6153
|
h = g.x, _ = g.y;
|
|
6154
|
-
var $ = i.hasOwnProperty("x"), w = i.hasOwnProperty("y"), m =
|
|
6154
|
+
var $ = i.hasOwnProperty("x"), w = i.hasOwnProperty("y"), m = Ge, I = Ne, D = window;
|
|
6155
6155
|
if (d) {
|
|
6156
6156
|
var E = ns(a), F = "clientHeight", W = "clientWidth";
|
|
6157
|
-
if (E === Oe(a) && (E = _t(a), at(E).position !== "static" && l === "absolute" && (F = "scrollHeight", W = "scrollWidth")), E = E, n === Ne || (n ===
|
|
6158
|
-
I =
|
|
6157
|
+
if (E === Oe(a) && (E = _t(a), at(E).position !== "static" && l === "absolute" && (F = "scrollHeight", W = "scrollWidth")), E = E, n === Ne || (n === Ge || n === ht) && o === va) {
|
|
6158
|
+
I = qe;
|
|
6159
6159
|
var K = c && E === D && D.visualViewport ? D.visualViewport.height : (
|
|
6160
6160
|
// $FlowFixMe[prop-missing]
|
|
6161
6161
|
E[F]
|
|
6162
6162
|
);
|
|
6163
6163
|
_ -= K - s.height, _ *= r ? 1 : -1;
|
|
6164
6164
|
}
|
|
6165
|
-
if (n ===
|
|
6165
|
+
if (n === Ge || (n === Ne || n === qe) && o === va) {
|
|
6166
6166
|
m = ht;
|
|
6167
6167
|
var J = c && E === D && D.visualViewport ? D.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
@@ -6220,7 +6220,7 @@ function ip(t) {
|
|
|
6220
6220
|
var e = t.state;
|
|
6221
6221
|
Object.keys(e.elements).forEach(function(a) {
|
|
6222
6222
|
var s = e.styles[a] || {}, n = e.attributes[a] || {}, o = e.elements[a];
|
|
6223
|
-
!Be(o) || !
|
|
6223
|
+
!Be(o) || !ze(o) || (Object.assign(o.style, s), Object.keys(n).forEach(function(i) {
|
|
6224
6224
|
var l = n[i];
|
|
6225
6225
|
l === !1 ? o.removeAttribute(i) : o.setAttribute(i, l === !0 ? "" : l);
|
|
6226
6226
|
}));
|
|
@@ -6244,7 +6244,7 @@ function op(t) {
|
|
|
6244
6244
|
var n = e.elements[s], o = e.attributes[s] || {}, i = Object.keys(e.styles.hasOwnProperty(s) ? e.styles[s] : a[s]), l = i.reduce(function(r, d) {
|
|
6245
6245
|
return r[d] = "", r;
|
|
6246
6246
|
}, {});
|
|
6247
|
-
!Be(n) || !
|
|
6247
|
+
!Be(n) || !ze(n) || (Object.assign(n.style, l), Object.keys(o).forEach(function(r) {
|
|
6248
6248
|
n.removeAttribute(r);
|
|
6249
6249
|
}));
|
|
6250
6250
|
});
|
|
@@ -6290,14 +6290,14 @@ function pp(t) {
|
|
|
6290
6290
|
};
|
|
6291
6291
|
if (E) {
|
|
6292
6292
|
if (o) {
|
|
6293
|
-
var G, le = I === "y" ? Ne :
|
|
6293
|
+
var G, le = I === "y" ? Ne : Ge, se = I === "y" ? qe : ht, ee = I === "y" ? "height" : "width", L = E[I], T = L + g[le], k = L - g[se], R = h ? -W[ee] / 2 : 0, y = w === Yt ? F[ee] : W[ee], H = w === Yt ? -W[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? ri(oe) : {
|
|
6294
6294
|
width: 0,
|
|
6295
6295
|
height: 0
|
|
6296
6296
|
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vi(), P = Z[le], x = Z[se], me = Va(0, F[ee], ne[ee]), ke = m ? F[ee] / 2 - R - me - P - J.mainAxis : y - me - P - J.mainAxis, Gt = m ? -F[ee] / 2 + R + me + x + J.mainAxis : H + me + x + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), nt = Xt ? I === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[I]) != null ? G : 0, rs = L + ke - $a - nt, it = L + Gt - $a, ka = Va(h ? Wa(T, rs) : T, L, h ? At(k, it) : k);
|
|
6297
6297
|
E[I] = ka, j[I] = ka - L;
|
|
6298
6298
|
}
|
|
6299
6299
|
if (l) {
|
|
6300
|
-
var ot, Ue = I === "x" ? Ne :
|
|
6300
|
+
var ot, Ue = I === "x" ? Ne : Ge, Ie = I === "x" ? qe : ht, Re = E[D], Ye = D === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (ot = ae == null ? void 0 : ae[D]) != null ? ot : 0, lt = Le ? Qt : Re - F[Ye] - W[Ye] - Jt + J.altAxis, bt = Le ? Re + F[Ye] + W[Ye] - Jt - J.altAxis : Sa, Aa = h && Le ? dp(lt, Re, bt) : Va(h ? lt : Qt, Re, h ? bt : Sa);
|
|
6301
6301
|
E[D] = Aa, j[D] = Aa - Re;
|
|
6302
6302
|
}
|
|
6303
6303
|
e.modifiersData[s] = j;
|
|
@@ -6368,13 +6368,13 @@ function Cp(t) {
|
|
|
6368
6368
|
allowedAutoPlacements: _
|
|
6369
6369
|
}) : Z);
|
|
6370
6370
|
}, []), D = e.rects.reference, E = e.rects.popper, F = /* @__PURE__ */ new Map(), W = !0, K = I[0], J = 0; J < I.length; J++) {
|
|
6371
|
-
var ae = I[J], j = dt(ae), G = xt(ae) === Yt, le = [Ne,
|
|
6371
|
+
var ae = I[J], j = dt(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
|
|
6372
6372
|
placement: ae,
|
|
6373
6373
|
boundary: u,
|
|
6374
6374
|
rootBoundary: c,
|
|
6375
6375
|
altBoundary: p,
|
|
6376
6376
|
padding: d
|
|
6377
|
-
}), L = le ? G ? ht :
|
|
6377
|
+
}), L = le ? G ? ht : Ge : G ? qe : Ne;
|
|
6378
6378
|
D[se] > E[se] && (L = Da(L));
|
|
6379
6379
|
var T = Da(L), k = [];
|
|
6380
6380
|
if (o && k.push(ee[j] <= 0), l && k.push(ee[L] <= 0, ee[T] <= 0), k.every(function(ne) {
|
|
@@ -6415,7 +6415,7 @@ var _p = {
|
|
|
6415
6415
|
}
|
|
6416
6416
|
};
|
|
6417
6417
|
function yp(t, e, a) {
|
|
6418
|
-
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, d = a.dropdown, u = q(!1), c = q(null), p = q(null), h =
|
|
6418
|
+
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, d = a.dropdown, u = q(!1), c = q(null), p = q(null), h = A(() => n.value || o.value), b = A(() => i.value === "top" && p.value === "bottom" || i.value === "bottom" && p.value !== "top" ? "bottom" : "top"), _ = () => {
|
|
6419
6419
|
u.value || s.value || (u.value = !0, e.emit("open", l), h.value && Me(() => {
|
|
6420
6420
|
$();
|
|
6421
6421
|
}));
|
|
@@ -6489,7 +6489,7 @@ function yp(t, e, a) {
|
|
|
6489
6489
|
};
|
|
6490
6490
|
}
|
|
6491
6491
|
function bp(t, e, a) {
|
|
6492
|
-
const { searchable: s, disabled: n, clearOnBlur: o } = Ee(t), i = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, h = q(!1), b = q(!1), _ =
|
|
6492
|
+
const { searchable: s, disabled: n, clearOnBlur: o } = Ee(t), i = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, h = q(!1), b = q(!1), _ = A(() => s.value || n.value ? -1 : 0), g = () => {
|
|
6493
6493
|
s.value && i.value.blur(), c.value.blur();
|
|
6494
6494
|
}, $ = () => {
|
|
6495
6495
|
s.value && !n.value && i.value.focus();
|
|
@@ -6539,7 +6539,7 @@ function wp(t, e, a) {
|
|
|
6539
6539
|
createTag: c,
|
|
6540
6540
|
createOption: p,
|
|
6541
6541
|
reverse: h
|
|
6542
|
-
} = Ee(t), b = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, w = a.search, m = a.setPointer, I = a.selectPointer, D = a.backwardPointer, E = a.forwardPointer, F = a.multiselect, W = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le =
|
|
6542
|
+
} = Ee(t), b = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, w = a.search, m = a.setPointer, I = a.selectPointer, D = a.backwardPointer, E = a.forwardPointer, F = a.multiselect, W = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => c.value || p.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
|
|
6543
6543
|
s.value === "tags" && !l.value && le.value && i.value && !d.value && m(G.value[G.value.map((k) => k[r.value]).indexOf(w.value)]);
|
|
6544
6544
|
};
|
|
6545
6545
|
return {
|
|
@@ -6619,7 +6619,7 @@ function $p(t, e, a) {
|
|
|
6619
6619
|
disabled: n,
|
|
6620
6620
|
showOptions: o,
|
|
6621
6621
|
breakTags: i
|
|
6622
|
-
} = Ee(t), l = a.isOpen, r = a.isPointed, d = a.isSelected, u = a.isDisabled, c = a.isActive, p = a.canPointGroups, h = a.resolving, b = a.fo, _ = a.placement, g =
|
|
6622
|
+
} = Ee(t), l = a.isOpen, r = a.isPointed, d = a.isSelected, u = a.isDisabled, c = a.isActive, p = a.canPointGroups, h = a.resolving, b = a.fo, _ = a.placement, g = A(() => ({
|
|
6623
6623
|
container: "multiselect",
|
|
6624
6624
|
containerDisabled: "is-disabled",
|
|
6625
6625
|
containerOpen: "is-open",
|
|
@@ -6674,9 +6674,9 @@ function $p(t, e, a) {
|
|
|
6674
6674
|
assist: "multiselect-assistive-text",
|
|
6675
6675
|
spacer: "multiselect-spacer",
|
|
6676
6676
|
...s.value
|
|
6677
|
-
})), $ =
|
|
6677
|
+
})), $ = A(() => !!(l.value && o.value && (!h.value || h.value && b.value.length)));
|
|
6678
6678
|
return {
|
|
6679
|
-
classList:
|
|
6679
|
+
classList: A(() => {
|
|
6680
6680
|
const m = g.value;
|
|
6681
6681
|
return {
|
|
6682
6682
|
container: [m.container].concat(n.value ? m.containerDisabled : []).concat($.value && _.value === "top" ? m.containerOpenTop : []).concat($.value && _.value !== "top" ? m.containerOpen : []).concat(c.value ? m.containerActive : []),
|
|
@@ -6727,7 +6727,7 @@ function kp(t, e, a) {
|
|
|
6727
6727
|
const {
|
|
6728
6728
|
limit: s,
|
|
6729
6729
|
infinite: n
|
|
6730
|
-
} = Ee(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, d = a.eo, u = q(null), c = q(null), p =
|
|
6730
|
+
} = Ee(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, d = a.eo, u = q(null), c = q(null), p = A(() => i.value < r.value.length), h = (_) => {
|
|
6731
6731
|
const { isIntersecting: g, target: $ } = _[0];
|
|
6732
6732
|
if (g) {
|
|
6733
6733
|
const w = $.offsetParent, m = w.scrollTop;
|
|
@@ -6761,20 +6761,20 @@ function Sp(t, e, a) {
|
|
|
6761
6761
|
groupLabel: r,
|
|
6762
6762
|
aria: d,
|
|
6763
6763
|
searchable: u
|
|
6764
|
-
} = Ee(t), c = a.pointer, p = a.iv, h = a.hasSelected, b = a.multipleLabelText, _ = q(null), g =
|
|
6764
|
+
} = Ee(t), c = a.pointer, p = a.iv, h = a.hasSelected, b = a.multipleLabelText, _ = q(null), g = A(() => {
|
|
6765
6765
|
let j = [];
|
|
6766
6766
|
return n && n.value && j.push(n.value), j.push("assist"), j.join("-");
|
|
6767
|
-
}), $ =
|
|
6767
|
+
}), $ = A(() => {
|
|
6768
6768
|
let j = [];
|
|
6769
6769
|
return n && n.value && j.push(n.value), j.push("multiselect-options"), j.join("-");
|
|
6770
|
-
}), w =
|
|
6770
|
+
}), w = A(() => {
|
|
6771
6771
|
let j = [];
|
|
6772
6772
|
if (n && n.value && j.push(n.value), c.value)
|
|
6773
6773
|
return j.push(c.value.group ? "multiselect-group" : "multiselect-option"), j.push(c.value.group ? c.value.index : c.value[o.value]), j.join("-");
|
|
6774
|
-
}), m =
|
|
6774
|
+
}), m = A(() => s.value), I = A(() => l.value !== "single"), D = A(() => {
|
|
6775
6775
|
let j = "";
|
|
6776
6776
|
return l.value === "single" && h.value && (j += p.value[i.value]), l.value === "multiple" && h.value && (j += b.value), l.value === "tags" && h.value && (j += p.value.map((G) => G[i.value]).join(", ")), j;
|
|
6777
|
-
}), E =
|
|
6777
|
+
}), E = A(() => {
|
|
6778
6778
|
let j = { ...d.value };
|
|
6779
6779
|
return u.value && (j["aria-labelledby"] = j["aria-labelledby"] ? `${g.value} ${j["aria-labelledby"]}` : g.value, D.value && j["aria-label"] && (j["aria-label"] = `${D.value}, ${j["aria-label"]}`)), j;
|
|
6780
6780
|
}), F = (j) => {
|
|
@@ -7754,7 +7754,7 @@ Y({
|
|
|
7754
7754
|
};
|
|
7755
7755
|
}
|
|
7756
7756
|
});
|
|
7757
|
-
async function
|
|
7757
|
+
async function Xe(t, e) {
|
|
7758
7758
|
if (e && t && t.length - e.length === 1) {
|
|
7759
7759
|
const a = new Set(e.map((l) => l.id)), s = t.filter(
|
|
7760
7760
|
(l) => !a.has(l.id)
|
|
@@ -7785,9 +7785,9 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7785
7785
|
setup(t, { emit: e }) {
|
|
7786
7786
|
const a = t, { t: s } = yt();
|
|
7787
7787
|
ce(() => a.tasks, (c, p) => {
|
|
7788
|
-
|
|
7788
|
+
Xe(c, p);
|
|
7789
7789
|
});
|
|
7790
|
-
const n =
|
|
7790
|
+
const n = A(
|
|
7791
7791
|
() => {
|
|
7792
7792
|
var c;
|
|
7793
7793
|
return ((c = a.users) == null ? void 0 : c.map((p) => ({
|
|
@@ -7866,7 +7866,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7866
7866
|
onChange: (g) => d(g, h.id)
|
|
7867
7867
|
}, {
|
|
7868
7868
|
tag: N(({ option: g, handleTagRemove: $ }) => [
|
|
7869
|
-
|
|
7869
|
+
M(et, {
|
|
7870
7870
|
"user-name": g.label,
|
|
7871
7871
|
"avatar-url": g.avatar,
|
|
7872
7872
|
"is-closable": !0,
|
|
@@ -7971,7 +7971,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7971
7971
|
target: "_blank",
|
|
7972
7972
|
rel: "noopener noreferrer"
|
|
7973
7973
|
}, [
|
|
7974
|
-
|
|
7974
|
+
M(pe, {
|
|
7975
7975
|
class: "ao-file__icon",
|
|
7976
7976
|
name: "AttachFileRounded",
|
|
7977
7977
|
size: "sm"
|
|
@@ -7992,7 +7992,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7992
7992
|
u.isEditable ? (v(), C("li", rv, [
|
|
7993
7993
|
f("label", uv, [
|
|
7994
7994
|
f("div", cv, [
|
|
7995
|
-
|
|
7995
|
+
M(pe, {
|
|
7996
7996
|
name: "Add",
|
|
7997
7997
|
size: "sm"
|
|
7998
7998
|
}),
|
|
@@ -8031,13 +8031,13 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8031
8031
|
},
|
|
8032
8032
|
emits: ["edit", "remove"],
|
|
8033
8033
|
setup(t, { emit: e }) {
|
|
8034
|
-
const a = t, s =
|
|
8034
|
+
const a = t, s = A(() => {
|
|
8035
8035
|
const _ = a.user;
|
|
8036
8036
|
return _ ? `${_ == null ? void 0 : _.firstName} ${_ == null ? void 0 : _.lastName}` : null;
|
|
8037
|
-
}), n = q(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Hn(n), d =
|
|
8037
|
+
}), n = q(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Hn(n), d = A(() => {
|
|
8038
8038
|
const _ = a.editedAt && ca(a.editedAt), g = ca(a.createdAt), $ = /* @__PURE__ */ new Date(), w = _ ?? g;
|
|
8039
8039
|
return w && d3(w, $);
|
|
8040
|
-
}), u =
|
|
8040
|
+
}), u = A(() => o.value ? "textarea" : "p"), c = r(), p = l((_) => {
|
|
8041
8041
|
e("edit", _);
|
|
8042
8042
|
}), h = () => {
|
|
8043
8043
|
e("remove");
|
|
@@ -8053,7 +8053,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8053
8053
|
}), (_, g) => {
|
|
8054
8054
|
var $;
|
|
8055
8055
|
return v(), C("li", hv, [
|
|
8056
|
-
s.value ? (v(), V(
|
|
8056
|
+
s.value ? (v(), V(et, {
|
|
8057
8057
|
key: 0,
|
|
8058
8058
|
"avatar-url": ($ = _.user) == null ? void 0 : $.avatarUrl,
|
|
8059
8059
|
"user-name": s.value,
|
|
@@ -8082,14 +8082,14 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8082
8082
|
]),
|
|
8083
8083
|
_.isEditable ? (v(), C("div", _v, [
|
|
8084
8084
|
Q(o) ? (v(), C(fe, { key: 0 }, [
|
|
8085
|
-
|
|
8085
|
+
M(re, {
|
|
8086
8086
|
"icon-name": "CloseRounded",
|
|
8087
8087
|
size: "sm",
|
|
8088
8088
|
variant: "ghost",
|
|
8089
8089
|
color: "neutral",
|
|
8090
8090
|
onClick: Q(c)
|
|
8091
8091
|
}, null, 8, ["onClick"]),
|
|
8092
|
-
|
|
8092
|
+
M(re, {
|
|
8093
8093
|
"icon-name": "CheckSmallRounded",
|
|
8094
8094
|
size: "sm",
|
|
8095
8095
|
variant: "solid",
|
|
@@ -8098,14 +8098,14 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8098
8098
|
onClick: Q(p)
|
|
8099
8099
|
}, null, 8, ["onClick"])
|
|
8100
8100
|
], 64)) : (v(), C(fe, { key: 1 }, [
|
|
8101
|
-
|
|
8101
|
+
M(re, {
|
|
8102
8102
|
label: _.$t("activity.comment.delete"),
|
|
8103
8103
|
size: "sm",
|
|
8104
8104
|
variant: "ghost",
|
|
8105
8105
|
color: "neutral",
|
|
8106
8106
|
onClick: h
|
|
8107
8107
|
}, null, 8, ["label"]),
|
|
8108
|
-
|
|
8108
|
+
M(re, {
|
|
8109
8109
|
label: _.$t("activity.comment.edit"),
|
|
8110
8110
|
size: "sm",
|
|
8111
8111
|
variant: "ghost",
|
|
@@ -8131,13 +8131,13 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8131
8131
|
},
|
|
8132
8132
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
8133
8133
|
setup(t, { emit: e }) {
|
|
8134
|
-
const a = t, s =
|
|
8134
|
+
const a = t, s = A(() => (a.comments || []).toSorted(
|
|
8135
8135
|
(p, h) => t0(ca(p.createdAt), ca(h.createdAt))
|
|
8136
8136
|
)), n = (c) => a.users.find((h) => h.id === c), o = q();
|
|
8137
8137
|
Me(() => {
|
|
8138
8138
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
8139
8139
|
});
|
|
8140
|
-
const i = Rt(a.newComment), l =
|
|
8140
|
+
const i = Rt(a.newComment), l = A({
|
|
8141
8141
|
get() {
|
|
8142
8142
|
return i.value;
|
|
8143
8143
|
},
|
|
@@ -8181,7 +8181,7 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8181
8181
|
]
|
|
8182
8182
|
]),
|
|
8183
8183
|
f("div", kv, [
|
|
8184
|
-
|
|
8184
|
+
M(re, {
|
|
8185
8185
|
type: "submit",
|
|
8186
8186
|
"icon-name": "SendRounded",
|
|
8187
8187
|
color: "primary",
|
|
@@ -8241,19 +8241,19 @@ const As = /* @__PURE__ */ Y({
|
|
|
8241
8241
|
}, Gv = { class: "ao-fieldset__title" }, Xv = { class: "ao-activity-details__aside" }, Qv = { class: "ao-activity-details__close-button" }, Jv = {
|
|
8242
8242
|
key: 0,
|
|
8243
8243
|
class: "ao-activity-details__aside-section"
|
|
8244
|
-
}, ef = { class: "ao-field" }, tf = { class: "ao-field__label" }, af = { class: "ao-activity-details__aside-section" }, sf = { class: "ao-field ao-field--multiselect" }, nf = { class: "assignee-inline" }, of = { class: "ao-field__label" }, lf = { class: "
|
|
8244
|
+
}, ef = { class: "ao-field" }, tf = { class: "ao-field__label" }, af = { class: "ao-activity-details__aside-section" }, sf = { class: "ao-field ao-field--multiselect" }, nf = { class: "assignee-inline" }, of = { class: "ao-field__label" }, lf = { class: "ao-activity-details__aside-section" }, rf = {
|
|
8245
8245
|
key: 0,
|
|
8246
8246
|
class: "ao-field__row"
|
|
8247
|
-
},
|
|
8247
|
+
}, uf = { class: "ao-field" }, cf = { class: "ao-field__label" }, df = ["readonly"], pf = { class: "ao-activity-details__aside-section" }, vf = {
|
|
8248
8248
|
key: 0,
|
|
8249
8249
|
class: "ao-field__row"
|
|
8250
|
-
},
|
|
8250
|
+
}, ff = { class: "ao-field ao-field--multiselect" }, hf = { class: "ao-activity-details__aside-section" }, mf = {
|
|
8251
8251
|
key: 1,
|
|
8252
8252
|
class: "ao-activity-details__aside-section"
|
|
8253
|
-
},
|
|
8253
|
+
}, gf = { class: "ao-fieldset ao-activity-details__aside-section" }, Cf = { class: "ao-fieldset__title" }, _f = { class: "ao-fieldset__body" }, yf = { class: "ao-field__row" }, bf = { class: "ao-field ao-field--multiselect" }, wf = { class: "ao-field__label" }, $f = { class: "ao-field__row" }, kf = { class: "ao-field ao-field--multiselect" }, Sf = { class: "ao-field__label" }, Af = {
|
|
8254
8254
|
key: 2,
|
|
8255
8255
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8256
|
-
},
|
|
8256
|
+
}, Mf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ Y({
|
|
8257
8257
|
__name: "AoActivityDetails",
|
|
8258
8258
|
props: {
|
|
8259
8259
|
activity: {},
|
|
@@ -8274,7 +8274,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8274
8274
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
|
|
8275
8275
|
setup(t, { emit: e }) {
|
|
8276
8276
|
var R;
|
|
8277
|
-
const a = t, s =
|
|
8277
|
+
const a = t, s = A(() => {
|
|
8278
8278
|
var y;
|
|
8279
8279
|
return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((y = a.activity.assignee) == null ? void 0 : y.id) : !1;
|
|
8280
8280
|
}), n = (y) => {
|
|
@@ -8282,48 +8282,48 @@ const As = /* @__PURE__ */ Y({
|
|
|
8282
8282
|
id: a.activity.id,
|
|
8283
8283
|
name: y
|
|
8284
8284
|
});
|
|
8285
|
-
}, o =
|
|
8285
|
+
}, o = A({
|
|
8286
8286
|
get() {
|
|
8287
8287
|
return a.activity.description ?? "";
|
|
8288
8288
|
},
|
|
8289
8289
|
set(y) {
|
|
8290
8290
|
e("update:activity", { id: a.activity.id, description: y });
|
|
8291
8291
|
}
|
|
8292
|
-
}), i =
|
|
8292
|
+
}), i = A({
|
|
8293
8293
|
get() {
|
|
8294
8294
|
return a.activity.estimation ?? 0;
|
|
8295
8295
|
},
|
|
8296
8296
|
set(y) {
|
|
8297
8297
|
e("update:activity", { id: a.activity.id, estimation: y });
|
|
8298
8298
|
}
|
|
8299
|
-
}), l =
|
|
8299
|
+
}), l = A({
|
|
8300
8300
|
get() {
|
|
8301
8301
|
return a.activity.important ?? !1;
|
|
8302
8302
|
},
|
|
8303
8303
|
set(y) {
|
|
8304
8304
|
e("update:activity", { id: a.activity.id, important: y });
|
|
8305
8305
|
}
|
|
8306
|
-
}), r =
|
|
8306
|
+
}), r = A({
|
|
8307
8307
|
get() {
|
|
8308
8308
|
return a.activity.private ?? !1;
|
|
8309
8309
|
},
|
|
8310
8310
|
set(y) {
|
|
8311
8311
|
e("update:activity", { id: a.activity.id, private: y });
|
|
8312
8312
|
}
|
|
8313
|
-
}), d =
|
|
8313
|
+
}), d = A({
|
|
8314
8314
|
get() {
|
|
8315
8315
|
return a.activity.deadline;
|
|
8316
8316
|
},
|
|
8317
8317
|
set(y) {
|
|
8318
8318
|
e("update:activity", { id: a.activity.id, deadline: y });
|
|
8319
8319
|
}
|
|
8320
|
-
}), u =
|
|
8320
|
+
}), u = A(() => {
|
|
8321
8321
|
var y;
|
|
8322
8322
|
return (y = a.activityTypes) == null ? void 0 : y.map((H) => ({
|
|
8323
8323
|
label: H.name,
|
|
8324
8324
|
value: H.id
|
|
8325
8325
|
}));
|
|
8326
|
-
}), c =
|
|
8326
|
+
}), c = A({
|
|
8327
8327
|
get() {
|
|
8328
8328
|
var y;
|
|
8329
8329
|
return (y = a.activity.type) == null ? void 0 : y.id;
|
|
@@ -8331,10 +8331,10 @@ const As = /* @__PURE__ */ Y({
|
|
|
8331
8331
|
set(y) {
|
|
8332
8332
|
e("update:activity", { id: a.activity.id, typeId: y });
|
|
8333
8333
|
}
|
|
8334
|
-
}), p =
|
|
8334
|
+
}), p = A(() => a.templateActivities.filter((y) => y.id !== a.activity.id).map((y) => ({
|
|
8335
8335
|
label: y.name,
|
|
8336
8336
|
value: y.id
|
|
8337
|
-
}))), h =
|
|
8337
|
+
}))), h = A({
|
|
8338
8338
|
get() {
|
|
8339
8339
|
var y;
|
|
8340
8340
|
return (y = a.activity.dependingOn) == null ? void 0 : y.map((H) => H.id);
|
|
@@ -8345,13 +8345,13 @@ const As = /* @__PURE__ */ Y({
|
|
|
8345
8345
|
dependingOn: y
|
|
8346
8346
|
});
|
|
8347
8347
|
}
|
|
8348
|
-
}), b =
|
|
8348
|
+
}), b = A(() => p.value.map((y) => {
|
|
8349
8349
|
var H;
|
|
8350
8350
|
return {
|
|
8351
8351
|
...y,
|
|
8352
8352
|
disabled: (H = a.activity.blocking) == null ? void 0 : H.some((oe) => oe.id === y.value)
|
|
8353
8353
|
};
|
|
8354
|
-
})), _ =
|
|
8354
|
+
})), _ = A({
|
|
8355
8355
|
get() {
|
|
8356
8356
|
var y;
|
|
8357
8357
|
return (y = a.activity.blocking) == null ? void 0 : y.map((H) => H.id);
|
|
@@ -8362,7 +8362,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8362
8362
|
blocking: y
|
|
8363
8363
|
});
|
|
8364
8364
|
}
|
|
8365
|
-
}), g =
|
|
8365
|
+
}), g = A(() => p.value.map((y) => {
|
|
8366
8366
|
var H;
|
|
8367
8367
|
return {
|
|
8368
8368
|
...y,
|
|
@@ -8390,7 +8390,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8390
8390
|
function D() {
|
|
8391
8391
|
a.userId ? (I.value = a.userId, e("update:activity", { id: a.activity.id, assigneeId: a.userId })) : console.error("Failed assigning to self: userId is missing");
|
|
8392
8392
|
}
|
|
8393
|
-
const E =
|
|
8393
|
+
const E = A(
|
|
8394
8394
|
() => (a.users ?? []).map((y) => ({
|
|
8395
8395
|
label: `${y.firstName} ${y.lastName}`,
|
|
8396
8396
|
value: y.id,
|
|
@@ -8406,10 +8406,10 @@ const As = /* @__PURE__ */ Y({
|
|
|
8406
8406
|
activityId: a.activity.id,
|
|
8407
8407
|
file: y
|
|
8408
8408
|
});
|
|
8409
|
-
}, K =
|
|
8409
|
+
}, K = A(() => a.projects.map((y) => ({
|
|
8410
8410
|
value: y.id,
|
|
8411
8411
|
label: y.name
|
|
8412
|
-
}))), J =
|
|
8412
|
+
}))), J = A(() => {
|
|
8413
8413
|
var H, oe, ne;
|
|
8414
8414
|
const y = (ne = (oe = (H = a.activity) == null ? void 0 : H.project) == null ? void 0 : oe.phases) == null ? void 0 : ne.reduce(
|
|
8415
8415
|
(Z, P) => [...Z, ...P.milestones],
|
|
@@ -8429,7 +8429,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8429
8429
|
id: a.activity.id,
|
|
8430
8430
|
milestoneId: y
|
|
8431
8431
|
});
|
|
8432
|
-
}, G =
|
|
8432
|
+
}, G = A(() => {
|
|
8433
8433
|
var y;
|
|
8434
8434
|
return (y = a.statuses) == null ? void 0 : y.map((H) => ({
|
|
8435
8435
|
value: H.id,
|
|
@@ -8449,7 +8449,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8449
8449
|
e("updateComment", y);
|
|
8450
8450
|
}, L = (y) => {
|
|
8451
8451
|
e("removeComment", y);
|
|
8452
|
-
}, T =
|
|
8452
|
+
}, T = A(() => {
|
|
8453
8453
|
var y, H;
|
|
8454
8454
|
return ((y = a.activity.createdBy) == null ? void 0 : y.firstName) && ((H = a.activity.createdBy) == null ? void 0 : H.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8455
8455
|
});
|
|
@@ -8481,7 +8481,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8481
8481
|
onClick: k
|
|
8482
8482
|
}, null, 8, ["label"])) : O("", !0),
|
|
8483
8483
|
y.breadcrumbs ? (v(), C("div", Ev, z(y.breadcrumbs), 1)) : O("", !0),
|
|
8484
|
-
|
|
8484
|
+
M(be, {
|
|
8485
8485
|
title: y.activity.name || "",
|
|
8486
8486
|
level: 4,
|
|
8487
8487
|
"is-editable": s.value,
|
|
@@ -8490,7 +8490,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8490
8490
|
f("div", Iv, [
|
|
8491
8491
|
K.value ? (v(), C("label", Lv, [
|
|
8492
8492
|
f("span", Pv, z(y.$t("activity.project.label")), 1),
|
|
8493
|
-
|
|
8493
|
+
M(Se, {
|
|
8494
8494
|
options: K.value,
|
|
8495
8495
|
value: (oe = y.activity.project) == null ? void 0 : oe.id,
|
|
8496
8496
|
searchable: !0,
|
|
@@ -8501,7 +8501,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8501
8501
|
])) : O("", !0),
|
|
8502
8502
|
J.value ? (v(), C("label", Hv, [
|
|
8503
8503
|
f("span", Vv, z(y.$t("activity.milestone.label")), 1),
|
|
8504
|
-
|
|
8504
|
+
M(Se, {
|
|
8505
8505
|
options: J.value,
|
|
8506
8506
|
value: (ne = y.activity.milestone) == null ? void 0 : ne.id,
|
|
8507
8507
|
searchable: !0,
|
|
@@ -8516,7 +8516,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8516
8516
|
f("div", Dv, [
|
|
8517
8517
|
f("fieldset", Bv, [
|
|
8518
8518
|
f("div", jv, [
|
|
8519
|
-
|
|
8519
|
+
M(fv, {
|
|
8520
8520
|
attachments: y.activity.attachments,
|
|
8521
8521
|
"is-editable": y.attachmentEnabled && s.value && y.isTemplate !== !0 && !!y.userId,
|
|
8522
8522
|
onAdd: F,
|
|
@@ -8571,14 +8571,14 @@ const As = /* @__PURE__ */ Y({
|
|
|
8571
8571
|
]),
|
|
8572
8572
|
f("fieldset", qv, [
|
|
8573
8573
|
f("div", Yv, [
|
|
8574
|
-
|
|
8575
|
-
|
|
8574
|
+
M(pe, { name: "SelectCheckBox" }),
|
|
8575
|
+
M(be, {
|
|
8576
8576
|
level: 4,
|
|
8577
8577
|
title: y.$t("activity.tasks.title")
|
|
8578
8578
|
}, null, 8, ["title"])
|
|
8579
8579
|
]),
|
|
8580
8580
|
f("div", xv, [
|
|
8581
|
-
|
|
8581
|
+
M(av, {
|
|
8582
8582
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8583
8583
|
tasks: y.activity.tasks || [],
|
|
8584
8584
|
"activity-id": y.activity.id,
|
|
@@ -8594,13 +8594,13 @@ const As = /* @__PURE__ */ Y({
|
|
|
8594
8594
|
]),
|
|
8595
8595
|
y.isTemplate !== !0 && y.userId ? (v(), C("div", Kv, [
|
|
8596
8596
|
f("div", Gv, [
|
|
8597
|
-
|
|
8598
|
-
|
|
8597
|
+
M(pe, { name: "ChatOutline" }),
|
|
8598
|
+
M(be, {
|
|
8599
8599
|
level: 4,
|
|
8600
8600
|
title: y.$t("activity.comments.title")
|
|
8601
8601
|
}, null, 8, ["title"])
|
|
8602
8602
|
]),
|
|
8603
|
-
|
|
8603
|
+
M(Av, {
|
|
8604
8604
|
comments: y.activity.comments,
|
|
8605
8605
|
users: y.users,
|
|
8606
8606
|
"user-id": y.userId,
|
|
@@ -8613,7 +8613,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8613
8613
|
]),
|
|
8614
8614
|
f("div", Xv, [
|
|
8615
8615
|
f("div", Qv, [
|
|
8616
|
-
|
|
8616
|
+
M(pe, {
|
|
8617
8617
|
name: "CloseRounded",
|
|
8618
8618
|
onClick: H[2] || (H[2] = (P) => y.$emit("close"))
|
|
8619
8619
|
})
|
|
@@ -8621,7 +8621,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8621
8621
|
G.value ? (v(), C("div", Jv, [
|
|
8622
8622
|
f("label", ef, [
|
|
8623
8623
|
f("span", tf, z(y.$t("activity.status.label")), 1),
|
|
8624
|
-
|
|
8624
|
+
M(Se, {
|
|
8625
8625
|
class: "ao-activity-details__multiselect",
|
|
8626
8626
|
options: G.value,
|
|
8627
8627
|
value: (Z = y.activity.status) == null ? void 0 : Z.id,
|
|
@@ -8637,7 +8637,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8637
8637
|
f("div", sf, [
|
|
8638
8638
|
f("div", nf, [
|
|
8639
8639
|
f("span", of, z(y.$t("activity.assignee.label")), 1),
|
|
8640
|
-
|
|
8640
|
+
M(re, {
|
|
8641
8641
|
label: y.$t("activity.assignee.toMe"),
|
|
8642
8642
|
type: "button",
|
|
8643
8643
|
color: "primary",
|
|
@@ -8646,7 +8646,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8646
8646
|
onClick: D
|
|
8647
8647
|
}, null, 8, ["label"])
|
|
8648
8648
|
]),
|
|
8649
|
-
|
|
8649
|
+
M(Se, {
|
|
8650
8650
|
modelValue: I.value,
|
|
8651
8651
|
"onUpdate:modelValue": H[3] || (H[3] = (P) => I.value = P),
|
|
8652
8652
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
@@ -8660,7 +8660,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8660
8660
|
onChange: H[4] || (H[4] = (P) => e("update:activity", { id: y.activity.id, assigneeId: P ?? null }))
|
|
8661
8661
|
}, {
|
|
8662
8662
|
singlelabel: N(({ value: P, remove: x }) => [
|
|
8663
|
-
|
|
8663
|
+
M(et, {
|
|
8664
8664
|
"user-name": P == null ? void 0 : P.label,
|
|
8665
8665
|
"avatar-url": P == null ? void 0 : P.avatar,
|
|
8666
8666
|
"is-closable": !0,
|
|
@@ -8668,28 +8668,22 @@ const As = /* @__PURE__ */ Y({
|
|
|
8668
8668
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
8669
8669
|
]),
|
|
8670
8670
|
option: N(({ option: P }) => [
|
|
8671
|
-
f("
|
|
8672
|
-
A(We, {
|
|
8673
|
-
"user-name": P.label,
|
|
8674
|
-
"avatar-url": P.avatar
|
|
8675
|
-
}, null, 8, ["user-name", "avatar-url"]),
|
|
8676
|
-
f("span", null, z(P.label), 1)
|
|
8677
|
-
])
|
|
8671
|
+
f("span", null, z(P.label), 1)
|
|
8678
8672
|
]),
|
|
8679
8673
|
_: 1
|
|
8680
8674
|
}, 8, ["modelValue", "options", "disabled", "caret", "placeholder"])
|
|
8681
8675
|
])
|
|
8682
8676
|
]),
|
|
8683
|
-
f("div",
|
|
8684
|
-
y.isTemplate !== !0 && y.userId ? (v(), C("div",
|
|
8685
|
-
f("label",
|
|
8686
|
-
f("span",
|
|
8677
|
+
f("div", lf, [
|
|
8678
|
+
y.isTemplate !== !0 && y.userId ? (v(), C("div", rf, [
|
|
8679
|
+
f("label", uf, [
|
|
8680
|
+
f("span", cf, z(y.$t("activity.deadline.label")), 1),
|
|
8687
8681
|
De(f("input", {
|
|
8688
8682
|
"onUpdate:modelValue": H[5] || (H[5] = (P) => d.value = P),
|
|
8689
8683
|
readonly: !s.value,
|
|
8690
8684
|
class: "ao-field__input",
|
|
8691
8685
|
type: "date"
|
|
8692
|
-
}, null, 8,
|
|
8686
|
+
}, null, 8, df), [
|
|
8693
8687
|
[
|
|
8694
8688
|
Ze,
|
|
8695
8689
|
d.value,
|
|
@@ -8700,10 +8694,10 @@ const As = /* @__PURE__ */ Y({
|
|
|
8700
8694
|
])
|
|
8701
8695
|
])) : O("", !0)
|
|
8702
8696
|
]),
|
|
8703
|
-
f("div",
|
|
8704
|
-
u.value ? (v(), C("div",
|
|
8705
|
-
f("label",
|
|
8706
|
-
|
|
8697
|
+
f("div", pf, [
|
|
8698
|
+
u.value ? (v(), C("div", vf, [
|
|
8699
|
+
f("label", ff, [
|
|
8700
|
+
M(Se, {
|
|
8707
8701
|
modelValue: c.value,
|
|
8708
8702
|
"onUpdate:modelValue": H[6] || (H[6] = (P) => c.value = P),
|
|
8709
8703
|
class: "ao-activity-details__multiselect",
|
|
@@ -8718,8 +8712,8 @@ const As = /* @__PURE__ */ Y({
|
|
|
8718
8712
|
])) : O("", !0),
|
|
8719
8713
|
te(y.$slots, "default", { activity: y.activity })
|
|
8720
8714
|
]),
|
|
8721
|
-
f("div",
|
|
8722
|
-
|
|
8715
|
+
f("div", hf, [
|
|
8716
|
+
M(As, {
|
|
8723
8717
|
modelValue: l.value,
|
|
8724
8718
|
"onUpdate:modelValue": H[7] || (H[7] = (P) => l.value = P),
|
|
8725
8719
|
modelModifiers: { lazy: !0 },
|
|
@@ -8733,8 +8727,8 @@ const As = /* @__PURE__ */ Y({
|
|
|
8733
8727
|
size: "sm"
|
|
8734
8728
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8735
8729
|
]),
|
|
8736
|
-
y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (v(), C("div",
|
|
8737
|
-
|
|
8730
|
+
y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (v(), C("div", mf, [
|
|
8731
|
+
M(As, {
|
|
8738
8732
|
modelValue: r.value,
|
|
8739
8733
|
"onUpdate:modelValue": H[8] || (H[8] = (P) => r.value = P),
|
|
8740
8734
|
modelModifiers: { lazy: !0 },
|
|
@@ -8747,19 +8741,19 @@ const As = /* @__PURE__ */ Y({
|
|
|
8747
8741
|
size: "sm"
|
|
8748
8742
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8749
8743
|
])) : O("", !0),
|
|
8750
|
-
f("fieldset",
|
|
8751
|
-
f("div",
|
|
8752
|
-
|
|
8753
|
-
|
|
8744
|
+
f("fieldset", gf, [
|
|
8745
|
+
f("div", Cf, [
|
|
8746
|
+
M(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8747
|
+
M(be, {
|
|
8754
8748
|
level: 4,
|
|
8755
8749
|
title: y.$t("activity.dependencies.title")
|
|
8756
8750
|
}, null, 8, ["title"])
|
|
8757
8751
|
]),
|
|
8758
|
-
f("div",
|
|
8759
|
-
f("div",
|
|
8760
|
-
f("label",
|
|
8761
|
-
f("span",
|
|
8762
|
-
|
|
8752
|
+
f("div", _f, [
|
|
8753
|
+
f("div", yf, [
|
|
8754
|
+
f("label", bf, [
|
|
8755
|
+
f("span", wf, z(y.$t("activity.dependingOn.label")), 1),
|
|
8756
|
+
M(Se, {
|
|
8763
8757
|
modelValue: h.value,
|
|
8764
8758
|
"onUpdate:modelValue": H[9] || (H[9] = (P) => h.value = P),
|
|
8765
8759
|
class: "ao-activity-details__multiselect",
|
|
@@ -8772,10 +8766,10 @@ const As = /* @__PURE__ */ Y({
|
|
|
8772
8766
|
}, null, 8, ["modelValue", "options", "disabled", "caret"])
|
|
8773
8767
|
])
|
|
8774
8768
|
]),
|
|
8775
|
-
f("div",
|
|
8776
|
-
f("label",
|
|
8777
|
-
f("span",
|
|
8778
|
-
|
|
8769
|
+
f("div", $f, [
|
|
8770
|
+
f("label", kf, [
|
|
8771
|
+
f("span", Sf, z(y.$t("activity.blocking.label")), 1),
|
|
8772
|
+
M(Se, {
|
|
8779
8773
|
modelValue: _.value,
|
|
8780
8774
|
"onUpdate:modelValue": H[10] || (H[10] = (P) => _.value = P),
|
|
8781
8775
|
class: "ao-activity-details__multiselect",
|
|
@@ -8790,9 +8784,9 @@ const As = /* @__PURE__ */ Y({
|
|
|
8790
8784
|
])
|
|
8791
8785
|
])
|
|
8792
8786
|
]),
|
|
8793
|
-
y.isTemplate !== !0 && T.value ? (v(), C("div",
|
|
8794
|
-
f("div",
|
|
8795
|
-
|
|
8787
|
+
y.isTemplate !== !0 && T.value ? (v(), C("div", Af, [
|
|
8788
|
+
f("div", Mf, [
|
|
8789
|
+
M(et, {
|
|
8796
8790
|
"user-name": T.value,
|
|
8797
8791
|
color: "black"
|
|
8798
8792
|
}, null, 8, ["user-name"]),
|
|
@@ -8807,7 +8801,7 @@ const As = /* @__PURE__ */ Y({
|
|
|
8807
8801
|
}));
|
|
8808
8802
|
}
|
|
8809
8803
|
});
|
|
8810
|
-
const
|
|
8804
|
+
const Tf = /* @__PURE__ */ Y({
|
|
8811
8805
|
__name: "AoRuleLine",
|
|
8812
8806
|
props: {
|
|
8813
8807
|
rule: {},
|
|
@@ -8820,7 +8814,7 @@ const Of = /* @__PURE__ */ Y({
|
|
|
8820
8814
|
setup(t, { emit: e }) {
|
|
8821
8815
|
const a = t, s = Rt(
|
|
8822
8816
|
a.rule.itemType || he.ACTIVITIES
|
|
8823
|
-
), n =
|
|
8817
|
+
), n = A({
|
|
8824
8818
|
get() {
|
|
8825
8819
|
return s.value;
|
|
8826
8820
|
},
|
|
@@ -8831,7 +8825,7 @@ const Of = /* @__PURE__ */ Y({
|
|
|
8831
8825
|
subItemId: void 0
|
|
8832
8826
|
});
|
|
8833
8827
|
}
|
|
8834
|
-
}), o =
|
|
8828
|
+
}), o = A(() => Object.values(he)), i = A({
|
|
8835
8829
|
get() {
|
|
8836
8830
|
return a.rule.subItemId;
|
|
8837
8831
|
},
|
|
@@ -8842,7 +8836,7 @@ const Of = /* @__PURE__ */ Y({
|
|
|
8842
8836
|
itemType: a.rule.itemType || n.value
|
|
8843
8837
|
});
|
|
8844
8838
|
}
|
|
8845
|
-
}), l =
|
|
8839
|
+
}), l = A(() => {
|
|
8846
8840
|
var w;
|
|
8847
8841
|
return !a.templateActivities || !a.templateMilestones || !a.templatePhases ? null : (w = {
|
|
8848
8842
|
[he.ACTIVITIES]: a.templateActivities,
|
|
@@ -8852,53 +8846,53 @@ const Of = /* @__PURE__ */ Y({
|
|
|
8852
8846
|
value: m.id,
|
|
8853
8847
|
label: m.name
|
|
8854
8848
|
}));
|
|
8855
|
-
}), r = Rt(a.rule.comparator), d =
|
|
8849
|
+
}), r = Rt(a.rule.comparator), d = A({
|
|
8856
8850
|
get() {
|
|
8857
8851
|
return r.value;
|
|
8858
8852
|
},
|
|
8859
8853
|
set($) {
|
|
8860
8854
|
e("update:rule", { ...a.rule, comparator: $ });
|
|
8861
8855
|
}
|
|
8862
|
-
}), u =
|
|
8856
|
+
}), u = A(() => Object.values(Y2)), c = Rt(a.rule.trigger), p = A({
|
|
8863
8857
|
get() {
|
|
8864
8858
|
return c.value;
|
|
8865
8859
|
},
|
|
8866
8860
|
set($) {
|
|
8867
8861
|
e("update:rule", { ...a.rule, trigger: $ });
|
|
8868
8862
|
}
|
|
8869
|
-
}), h =
|
|
8863
|
+
}), h = A(() => Object.values(x2)), b = A({
|
|
8870
8864
|
get() {
|
|
8871
8865
|
return a.rule.duration;
|
|
8872
8866
|
},
|
|
8873
8867
|
set($) {
|
|
8874
8868
|
e("update:rule", { ...a.rule, duration: $ });
|
|
8875
8869
|
}
|
|
8876
|
-
}), _ =
|
|
8870
|
+
}), _ = A({
|
|
8877
8871
|
get() {
|
|
8878
8872
|
return a.rule.durationUnit;
|
|
8879
8873
|
},
|
|
8880
8874
|
set($) {
|
|
8881
8875
|
e("update:rule", { ...a.rule, durationUnit: $ });
|
|
8882
8876
|
}
|
|
8883
|
-
}), g =
|
|
8877
|
+
}), g = A(() => Object.values(K2));
|
|
8884
8878
|
return ($, w) => (v(), V(mt($.tagName), { class: "ao-rule-line" }, {
|
|
8885
8879
|
default: N(() => [
|
|
8886
|
-
|
|
8880
|
+
M(Q(ct), {
|
|
8887
8881
|
modelValue: n.value,
|
|
8888
8882
|
"onUpdate:modelValue": w[0] || (w[0] = (m) => n.value = m),
|
|
8889
8883
|
options: o.value
|
|
8890
8884
|
}, null, 8, ["modelValue", "options"]),
|
|
8891
|
-
|
|
8885
|
+
M(Q(ct), {
|
|
8892
8886
|
modelValue: i.value,
|
|
8893
8887
|
"onUpdate:modelValue": w[1] || (w[1] = (m) => i.value = m),
|
|
8894
8888
|
options: l.value
|
|
8895
8889
|
}, null, 8, ["modelValue", "options"]),
|
|
8896
|
-
|
|
8890
|
+
M(Q(ct), {
|
|
8897
8891
|
modelValue: p.value,
|
|
8898
8892
|
"onUpdate:modelValue": w[2] || (w[2] = (m) => p.value = m),
|
|
8899
8893
|
options: h.value
|
|
8900
8894
|
}, null, 8, ["modelValue", "options"]),
|
|
8901
|
-
|
|
8895
|
+
M(Q(ct), {
|
|
8902
8896
|
modelValue: d.value,
|
|
8903
8897
|
"onUpdate:modelValue": w[3] || (w[3] = (m) => d.value = m),
|
|
8904
8898
|
options: u.value
|
|
@@ -8915,12 +8909,12 @@ const Of = /* @__PURE__ */ Y({
|
|
|
8915
8909
|
{ number: !0 }
|
|
8916
8910
|
]
|
|
8917
8911
|
]),
|
|
8918
|
-
|
|
8912
|
+
M(Q(ct), {
|
|
8919
8913
|
modelValue: _.value,
|
|
8920
8914
|
"onUpdate:modelValue": w[5] || (w[5] = (m) => _.value = m),
|
|
8921
8915
|
options: g.value
|
|
8922
8916
|
}, null, 8, ["modelValue", "options"]),
|
|
8923
|
-
|
|
8917
|
+
M(re, {
|
|
8924
8918
|
class: "ao-rule-line__remove",
|
|
8925
8919
|
"icon-name": "CloseRounded",
|
|
8926
8920
|
variant: "ghost",
|
|
@@ -8931,7 +8925,7 @@ const Of = /* @__PURE__ */ Y({
|
|
|
8931
8925
|
}));
|
|
8932
8926
|
}
|
|
8933
8927
|
});
|
|
8934
|
-
const
|
|
8928
|
+
const Of = { class: "ao-template-rules__body" }, Ef = { class: "ao-template-rules__list" }, If = /* @__PURE__ */ Y({
|
|
8935
8929
|
__name: "AoTemplateRules",
|
|
8936
8930
|
props: {
|
|
8937
8931
|
templateId: {},
|
|
@@ -8949,15 +8943,15 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
|
|
|
8949
8943
|
};
|
|
8950
8944
|
return (n, o) => (v(), V(Ja, null, {
|
|
8951
8945
|
header: N(() => [
|
|
8952
|
-
|
|
8946
|
+
M(be, {
|
|
8953
8947
|
title: n.$t("template.rules.title"),
|
|
8954
8948
|
level: 2
|
|
8955
8949
|
}, null, 8, ["title"])
|
|
8956
8950
|
]),
|
|
8957
8951
|
default: N(() => [
|
|
8958
|
-
f("div",
|
|
8959
|
-
f("ul",
|
|
8960
|
-
(v(!0), C(fe, null, _e(n.rules, (i) => (v(), V(
|
|
8952
|
+
f("div", Of, [
|
|
8953
|
+
f("ul", Ef, [
|
|
8954
|
+
(v(!0), C(fe, null, _e(n.rules, (i) => (v(), V(Tf, {
|
|
8961
8955
|
key: i.id,
|
|
8962
8956
|
rule: i,
|
|
8963
8957
|
"template-phases": n.templatePhases,
|
|
@@ -8967,7 +8961,7 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
|
|
|
8967
8961
|
onClose: () => s(i.id)
|
|
8968
8962
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8969
8963
|
]),
|
|
8970
|
-
|
|
8964
|
+
M(Ct, {
|
|
8971
8965
|
label: n.$t("template.rules.add"),
|
|
8972
8966
|
"icon-name": "Add",
|
|
8973
8967
|
onClick: a
|
|
@@ -8985,10 +8979,10 @@ function Mt(t, e, a) {
|
|
|
8985
8979
|
rank: o.format()
|
|
8986
8980
|
};
|
|
8987
8981
|
}
|
|
8988
|
-
const
|
|
8982
|
+
const Lf = {
|
|
8989
8983
|
key: 0,
|
|
8990
8984
|
class: "ao-template-details"
|
|
8991
|
-
},
|
|
8985
|
+
}, Pf = { class: "ao-template-details__body" }, Hf = { class: "ao-template-details__cols" }, Vf = { class: "ao-template-details__col" }, Df = { class: "ao-list__footer" }, Bf = { class: "ao-template-details__col" }, jf = { class: "ao-template-details__col" }, Rf = /* @__PURE__ */ Y({
|
|
8992
8986
|
__name: "AoTemplateDetails",
|
|
8993
8987
|
props: {
|
|
8994
8988
|
templateId: {},
|
|
@@ -9001,7 +8995,7 @@ const Pf = {
|
|
|
9001
8995
|
},
|
|
9002
8996
|
emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
|
|
9003
8997
|
setup(t, { emit: e }) {
|
|
9004
|
-
const a = t, { t: s } = yt(), n =
|
|
8998
|
+
const a = t, { t: s } = yt(), n = A(
|
|
9005
8999
|
() => {
|
|
9006
9000
|
var L;
|
|
9007
9001
|
return (L = a.templates) == null ? void 0 : L.find((T) => T.id === a.templateId);
|
|
@@ -9016,10 +9010,10 @@ const Pf = {
|
|
|
9016
9010
|
return (L = n.value) == null ? void 0 : L.phases;
|
|
9017
9011
|
},
|
|
9018
9012
|
(L, T) => {
|
|
9019
|
-
o.value &&
|
|
9013
|
+
o.value && Xe(L, T);
|
|
9020
9014
|
}
|
|
9021
9015
|
);
|
|
9022
|
-
const i =
|
|
9016
|
+
const i = A(() => {
|
|
9023
9017
|
var L, T;
|
|
9024
9018
|
return (T = (L = n == null ? void 0 : n.value) == null ? void 0 : L.phases) == null ? void 0 : T.find((k) => k.id === a.phaseId);
|
|
9025
9019
|
});
|
|
@@ -9029,10 +9023,10 @@ const Pf = {
|
|
|
9029
9023
|
return (L = i.value) == null ? void 0 : L.milestones;
|
|
9030
9024
|
},
|
|
9031
9025
|
(L, T) => {
|
|
9032
|
-
o.value &&
|
|
9026
|
+
o.value && Xe(L, T);
|
|
9033
9027
|
}
|
|
9034
9028
|
);
|
|
9035
|
-
const l =
|
|
9029
|
+
const l = A(() => {
|
|
9036
9030
|
var L, T;
|
|
9037
9031
|
return (T = (L = i.value) == null ? void 0 : L.milestones) == null ? void 0 : T.find(
|
|
9038
9032
|
(k) => k.id === a.milestoneId
|
|
@@ -9044,16 +9038,16 @@ const Pf = {
|
|
|
9044
9038
|
return (L = l.value) == null ? void 0 : L.activities;
|
|
9045
9039
|
},
|
|
9046
9040
|
(L, T) => {
|
|
9047
|
-
o.value &&
|
|
9041
|
+
o.value && Xe(L, T);
|
|
9048
9042
|
}
|
|
9049
9043
|
);
|
|
9050
|
-
const r =
|
|
9044
|
+
const r = A(() => {
|
|
9051
9045
|
var L, T;
|
|
9052
9046
|
return ((T = (L = n.value) == null ? void 0 : L.phases) == null ? void 0 : T.reduce((k, R) => {
|
|
9053
9047
|
const y = R.milestones || [];
|
|
9054
9048
|
return [...k, ...y];
|
|
9055
9049
|
}, [])) || [];
|
|
9056
|
-
}), d =
|
|
9050
|
+
}), d = A(() => {
|
|
9057
9051
|
var L, T;
|
|
9058
9052
|
return ((T = (L = n.value) == null ? void 0 : L.phases) == null ? void 0 : T.reduce((k, R) => {
|
|
9059
9053
|
const H = (R.milestones || []).reduce(
|
|
@@ -9062,12 +9056,12 @@ const Pf = {
|
|
|
9062
9056
|
);
|
|
9063
9057
|
return [...k, ...H];
|
|
9064
9058
|
}, [])) || [];
|
|
9065
|
-
}), u =
|
|
9059
|
+
}), u = A(() => {
|
|
9066
9060
|
var L, T;
|
|
9067
9061
|
return (T = (L = l.value) == null ? void 0 : L.activities) == null ? void 0 : T.find(
|
|
9068
9062
|
(k) => k.id === a.activityId
|
|
9069
9063
|
);
|
|
9070
|
-
}), c =
|
|
9064
|
+
}), c = A(() => {
|
|
9071
9065
|
var L;
|
|
9072
9066
|
return ((L = n.value) == null ? void 0 : L.name) || a.templateId;
|
|
9073
9067
|
}), p = () => {
|
|
@@ -9230,13 +9224,13 @@ const Pf = {
|
|
|
9230
9224
|
};
|
|
9231
9225
|
return (L, T) => {
|
|
9232
9226
|
var k, R, y, H, oe, ne;
|
|
9233
|
-
return n.value ? (v(), C("div",
|
|
9234
|
-
|
|
9227
|
+
return n.value ? (v(), C("div", Lf, [
|
|
9228
|
+
M(ba, {
|
|
9235
9229
|
"can-go-back": !0,
|
|
9236
9230
|
onGoBack: T[1] || (T[1] = (Z) => L.$router.push({ name: Q(jt).TEMPLATES_LIST }))
|
|
9237
9231
|
}, {
|
|
9238
9232
|
primary: N(() => [
|
|
9239
|
-
|
|
9233
|
+
M(be, {
|
|
9240
9234
|
title: c.value,
|
|
9241
9235
|
level: 2,
|
|
9242
9236
|
"is-editable": !0,
|
|
@@ -9247,10 +9241,10 @@ const Pf = {
|
|
|
9247
9241
|
]),
|
|
9248
9242
|
_: 1
|
|
9249
9243
|
}),
|
|
9250
|
-
f("div",
|
|
9251
|
-
f("ol",
|
|
9252
|
-
f("li",
|
|
9253
|
-
|
|
9244
|
+
f("div", Pf, [
|
|
9245
|
+
f("ol", Hf, [
|
|
9246
|
+
f("li", Vf, [
|
|
9247
|
+
M(Q(gt), {
|
|
9254
9248
|
"model-value": n.value.phases,
|
|
9255
9249
|
class: "ao-templates__list",
|
|
9256
9250
|
"item-key": "id",
|
|
@@ -9258,7 +9252,7 @@ const Pf = {
|
|
|
9258
9252
|
onChange: ae
|
|
9259
9253
|
}, {
|
|
9260
9254
|
header: N(() => [
|
|
9261
|
-
|
|
9255
|
+
M(be, {
|
|
9262
9256
|
title: L.$t("template.phases.title"),
|
|
9263
9257
|
level: 3,
|
|
9264
9258
|
class: "ao-list__title"
|
|
@@ -9267,7 +9261,7 @@ const Pf = {
|
|
|
9267
9261
|
item: N(({ element: Z }) => {
|
|
9268
9262
|
var P;
|
|
9269
9263
|
return [
|
|
9270
|
-
|
|
9264
|
+
M(y5, {
|
|
9271
9265
|
id: Z.id,
|
|
9272
9266
|
name: Z.name,
|
|
9273
9267
|
milestones: Z.milestones,
|
|
@@ -9284,8 +9278,8 @@ const Pf = {
|
|
|
9284
9278
|
];
|
|
9285
9279
|
}),
|
|
9286
9280
|
footer: N(() => [
|
|
9287
|
-
f("div",
|
|
9288
|
-
|
|
9281
|
+
f("div", Df, [
|
|
9282
|
+
M(Ct, {
|
|
9289
9283
|
"icon-name": "AddBoxOutlineRounded",
|
|
9290
9284
|
label: L.$t("template.phases.add"),
|
|
9291
9285
|
onClick: p
|
|
@@ -9295,7 +9289,7 @@ const Pf = {
|
|
|
9295
9289
|
_: 1
|
|
9296
9290
|
}, 8, ["model-value"])
|
|
9297
9291
|
]),
|
|
9298
|
-
f("li",
|
|
9292
|
+
f("li", Bf, [
|
|
9299
9293
|
i.value ? (v(), V($5, {
|
|
9300
9294
|
key: 0,
|
|
9301
9295
|
"template-id": L.templateId,
|
|
@@ -9307,7 +9301,7 @@ const Pf = {
|
|
|
9307
9301
|
onRemoveMilestone: w
|
|
9308
9302
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : O("", !0)
|
|
9309
9303
|
]),
|
|
9310
|
-
f("li",
|
|
9304
|
+
f("li", jf, [
|
|
9311
9305
|
i.value && l.value ? (v(), V(A5, {
|
|
9312
9306
|
key: 0,
|
|
9313
9307
|
"template-id": L.templateId,
|
|
@@ -9351,7 +9345,7 @@ const Pf = {
|
|
|
9351
9345
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
9352
9346
|
])),
|
|
9353
9347
|
(v(), V(Tt, { to: "body" }, [
|
|
9354
|
-
F.value ? (v(), V(
|
|
9348
|
+
F.value ? (v(), V(If, {
|
|
9355
9349
|
key: 0,
|
|
9356
9350
|
"template-id": n.value.id,
|
|
9357
9351
|
rules: n.value.rules || [],
|
|
@@ -9367,10 +9361,10 @@ const Pf = {
|
|
|
9367
9361
|
};
|
|
9368
9362
|
}
|
|
9369
9363
|
});
|
|
9370
|
-
const
|
|
9364
|
+
const Nf = { class: "ao-card__content" }, Uf = {
|
|
9371
9365
|
key: 0,
|
|
9372
9366
|
class: "ao-card__header"
|
|
9373
|
-
},
|
|
9367
|
+
}, Ff = { class: "ao-card__body" }, Zf = {
|
|
9374
9368
|
key: 1,
|
|
9375
9369
|
class: "ao-card__footer"
|
|
9376
9370
|
}, os = /* @__PURE__ */ Y({
|
|
@@ -9390,22 +9384,22 @@ const Uf = { class: "ao-card__content" }, Ff = {
|
|
|
9390
9384
|
"ao-card--clickable": e.isClickable
|
|
9391
9385
|
}
|
|
9392
9386
|
]),
|
|
9393
|
-
style:
|
|
9387
|
+
style: Qe(e.isSelected ? { border: "solid", borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
|
|
9394
9388
|
}, {
|
|
9395
9389
|
default: N(() => [
|
|
9396
9390
|
e.withLeftBorder ? (v(), C("div", {
|
|
9397
9391
|
key: 0,
|
|
9398
9392
|
class: "ao-card__left-border",
|
|
9399
|
-
style:
|
|
9393
|
+
style: Qe({ backgroundColor: e.color })
|
|
9400
9394
|
}, null, 4)) : O("", !0),
|
|
9401
|
-
f("div",
|
|
9402
|
-
e.$slots.header ? (v(), C("header",
|
|
9395
|
+
f("div", Nf, [
|
|
9396
|
+
e.$slots.header ? (v(), C("header", Uf, [
|
|
9403
9397
|
te(e.$slots, "header")
|
|
9404
9398
|
])) : O("", !0),
|
|
9405
|
-
f("div",
|
|
9399
|
+
f("div", Ff, [
|
|
9406
9400
|
te(e.$slots, "default")
|
|
9407
9401
|
]),
|
|
9408
|
-
e.$slots.footer ? (v(), C("footer",
|
|
9402
|
+
e.$slots.footer ? (v(), C("footer", Zf, [
|
|
9409
9403
|
te(e.$slots, "footer")
|
|
9410
9404
|
])) : O("", !0)
|
|
9411
9405
|
])
|
|
@@ -9422,7 +9416,7 @@ const ls = /* @__PURE__ */ Y({
|
|
|
9422
9416
|
color: {}
|
|
9423
9417
|
},
|
|
9424
9418
|
setup(t) {
|
|
9425
|
-
const e = t, a =
|
|
9419
|
+
const e = t, a = A(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
9426
9420
|
return (s, n) => (v(), C("div", {
|
|
9427
9421
|
class: X(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
|
|
9428
9422
|
role: "meter"
|
|
@@ -9430,7 +9424,7 @@ const ls = /* @__PURE__ */ Y({
|
|
|
9430
9424
|
(v(!0), C(fe, null, _e(a.value, (o) => (v(), C("div", {
|
|
9431
9425
|
key: o,
|
|
9432
9426
|
class: X(["ao-progress__progress"]),
|
|
9433
|
-
style:
|
|
9427
|
+
style: Qe({
|
|
9434
9428
|
width: `${o * 100}%`,
|
|
9435
9429
|
"--ao-progress-color": s.color || "var(--ao-color-primary-base)"
|
|
9436
9430
|
})
|
|
@@ -9445,8 +9439,8 @@ const ls = /* @__PURE__ */ Y({
|
|
|
9445
9439
|
*/
|
|
9446
9440
|
function kt(t) {
|
|
9447
9441
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
9448
|
-
/#/.test(t) ? e =
|
|
9449
|
-
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } =
|
|
9442
|
+
/#/.test(t) ? e = zf(t) : /rgb/.test(t) ? e = In(t) : typeof t == "string" ? e = In(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
9443
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } = qf(e);
|
|
9450
9444
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: l, v: r };
|
|
9451
9445
|
}
|
|
9452
9446
|
function xs(t) {
|
|
@@ -9457,11 +9451,11 @@ function Ms(t, e, a, s, n, o) {
|
|
|
9457
9451
|
const i = t === "l", l = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
9458
9452
|
l.addColorStop(0.01, n), l.addColorStop(0.99, o), e.fillStyle = l, e.fillRect(0, 0, a, s);
|
|
9459
9453
|
}
|
|
9460
|
-
function
|
|
9454
|
+
function Wf({ r: t, g: e, b: a }, s) {
|
|
9461
9455
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
9462
9456
|
return s ? o.toUpperCase() : o;
|
|
9463
9457
|
}
|
|
9464
|
-
function
|
|
9458
|
+
function zf(t) {
|
|
9465
9459
|
t = t.slice(1);
|
|
9466
9460
|
const e = (a) => parseInt(a, 16) || 0;
|
|
9467
9461
|
return {
|
|
@@ -9478,7 +9472,7 @@ function In(t) {
|
|
|
9478
9472
|
a: Number(t[3] ? t[3] : 1)
|
|
9479
9473
|
}) : t;
|
|
9480
9474
|
}
|
|
9481
|
-
function
|
|
9475
|
+
function qf({ r: t, g: e, b: a }) {
|
|
9482
9476
|
t = t / 255, e = e / 255, a = a / 255;
|
|
9483
9477
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
9484
9478
|
let i = 0;
|
|
@@ -9545,8 +9539,8 @@ var Ks = Y({
|
|
|
9545
9539
|
}
|
|
9546
9540
|
}
|
|
9547
9541
|
});
|
|
9548
|
-
const
|
|
9549
|
-
function
|
|
9542
|
+
const Yf = { ref: "canvasSaturation" };
|
|
9543
|
+
function xf(t, e, a, s, n, o) {
|
|
9550
9544
|
return v(), V(
|
|
9551
9545
|
"div",
|
|
9552
9546
|
{
|
|
@@ -9554,14 +9548,14 @@ function Kf(t, e, a, s, n, o) {
|
|
|
9554
9548
|
onMousedown: e[1] || (e[1] = ve((...i) => t.selectSaturation && t.selectSaturation(...i), ["prevent", "stop"]))
|
|
9555
9549
|
},
|
|
9556
9550
|
[
|
|
9557
|
-
|
|
9551
|
+
M(
|
|
9558
9552
|
"canvas",
|
|
9559
|
-
|
|
9553
|
+
Yf,
|
|
9560
9554
|
null,
|
|
9561
9555
|
512
|
|
9562
9556
|
/* NEED_PATCH */
|
|
9563
9557
|
),
|
|
9564
|
-
|
|
9558
|
+
M(
|
|
9565
9559
|
"div",
|
|
9566
9560
|
{
|
|
9567
9561
|
style: t.slideSaturationStyle,
|
|
@@ -9576,7 +9570,7 @@ function Kf(t, e, a, s, n, o) {
|
|
|
9576
9570
|
/* HYDRATE_EVENTS */
|
|
9577
9571
|
);
|
|
9578
9572
|
}
|
|
9579
|
-
Ks.render =
|
|
9573
|
+
Ks.render = xf;
|
|
9580
9574
|
Ks.__file = "src/color/Saturation.vue";
|
|
9581
9575
|
var Gs = Y({
|
|
9582
9576
|
props: {
|
|
@@ -9631,8 +9625,8 @@ var Gs = Y({
|
|
|
9631
9625
|
}
|
|
9632
9626
|
}
|
|
9633
9627
|
});
|
|
9634
|
-
const
|
|
9635
|
-
function
|
|
9628
|
+
const Kf = { ref: "canvasHue" };
|
|
9629
|
+
function Gf(t, e, a, s, n, o) {
|
|
9636
9630
|
return v(), V(
|
|
9637
9631
|
"div",
|
|
9638
9632
|
{
|
|
@@ -9640,14 +9634,14 @@ function Xf(t, e, a, s, n, o) {
|
|
|
9640
9634
|
onMousedown: e[1] || (e[1] = ve((...i) => t.selectHue && t.selectHue(...i), ["prevent", "stop"]))
|
|
9641
9635
|
},
|
|
9642
9636
|
[
|
|
9643
|
-
|
|
9637
|
+
M(
|
|
9644
9638
|
"canvas",
|
|
9645
|
-
|
|
9639
|
+
Kf,
|
|
9646
9640
|
null,
|
|
9647
9641
|
512
|
|
9648
9642
|
/* NEED_PATCH */
|
|
9649
9643
|
),
|
|
9650
|
-
|
|
9644
|
+
M(
|
|
9651
9645
|
"div",
|
|
9652
9646
|
{
|
|
9653
9647
|
style: t.slideHueStyle,
|
|
@@ -9662,7 +9656,7 @@ function Xf(t, e, a, s, n, o) {
|
|
|
9662
9656
|
/* HYDRATE_EVENTS */
|
|
9663
9657
|
);
|
|
9664
9658
|
}
|
|
9665
|
-
Gs.render =
|
|
9659
|
+
Gs.render = Gf;
|
|
9666
9660
|
Gs.__file = "src/color/Hue.vue";
|
|
9667
9661
|
var Xs = Y({
|
|
9668
9662
|
props: {
|
|
@@ -9726,8 +9720,8 @@ var Xs = Y({
|
|
|
9726
9720
|
}
|
|
9727
9721
|
}
|
|
9728
9722
|
});
|
|
9729
|
-
const
|
|
9730
|
-
function
|
|
9723
|
+
const Xf = { ref: "canvasAlpha" };
|
|
9724
|
+
function Qf(t, e, a, s, n, o) {
|
|
9731
9725
|
return v(), V(
|
|
9732
9726
|
"div",
|
|
9733
9727
|
{
|
|
@@ -9735,14 +9729,14 @@ function Jf(t, e, a, s, n, o) {
|
|
|
9735
9729
|
onMousedown: e[1] || (e[1] = ve((...i) => t.selectAlpha && t.selectAlpha(...i), ["prevent", "stop"]))
|
|
9736
9730
|
},
|
|
9737
9731
|
[
|
|
9738
|
-
|
|
9732
|
+
M(
|
|
9739
9733
|
"canvas",
|
|
9740
|
-
|
|
9734
|
+
Xf,
|
|
9741
9735
|
null,
|
|
9742
9736
|
512
|
|
9743
9737
|
/* NEED_PATCH */
|
|
9744
9738
|
),
|
|
9745
|
-
|
|
9739
|
+
M(
|
|
9746
9740
|
"div",
|
|
9747
9741
|
{
|
|
9748
9742
|
style: t.slideAlphaStyle,
|
|
@@ -9757,7 +9751,7 @@ function Jf(t, e, a, s, n, o) {
|
|
|
9757
9751
|
/* HYDRATE_EVENTS */
|
|
9758
9752
|
);
|
|
9759
9753
|
}
|
|
9760
|
-
Xs.render =
|
|
9754
|
+
Xs.render = Qf;
|
|
9761
9755
|
Xs.__file = "src/color/Alpha.vue";
|
|
9762
9756
|
var Qs = Y({
|
|
9763
9757
|
props: {
|
|
@@ -9794,10 +9788,10 @@ var Qs = Y({
|
|
|
9794
9788
|
}
|
|
9795
9789
|
}
|
|
9796
9790
|
});
|
|
9797
|
-
function
|
|
9791
|
+
function Jf(t, e, a, s, n, o) {
|
|
9798
9792
|
return v(), V("canvas");
|
|
9799
9793
|
}
|
|
9800
|
-
Qs.render =
|
|
9794
|
+
Qs.render = Jf;
|
|
9801
9795
|
Qs.__file = "src/color/Preview.vue";
|
|
9802
9796
|
var Js = Y({
|
|
9803
9797
|
props: {
|
|
@@ -9860,37 +9854,37 @@ var Js = Y({
|
|
|
9860
9854
|
}
|
|
9861
9855
|
}
|
|
9862
9856
|
});
|
|
9863
|
-
const
|
|
9857
|
+
const eh = /* @__PURE__ */ M(
|
|
9864
9858
|
"path",
|
|
9865
9859
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
9866
9860
|
null,
|
|
9867
9861
|
-1
|
|
9868
9862
|
/* HOISTED */
|
|
9869
|
-
),
|
|
9863
|
+
), th = {
|
|
9870
9864
|
key: 1,
|
|
9871
9865
|
class: "sucker",
|
|
9872
9866
|
viewBox: "-16 -16 68 68",
|
|
9873
9867
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9874
9868
|
stroke: "#9099a4"
|
|
9875
|
-
},
|
|
9869
|
+
}, ah = /* @__PURE__ */ M(
|
|
9876
9870
|
"g",
|
|
9877
9871
|
{
|
|
9878
9872
|
fill: "none",
|
|
9879
9873
|
"fill-rule": "evenodd"
|
|
9880
9874
|
},
|
|
9881
9875
|
[
|
|
9882
|
-
/* @__PURE__ */
|
|
9876
|
+
/* @__PURE__ */ M("g", {
|
|
9883
9877
|
transform: "translate(1 1)",
|
|
9884
9878
|
"stroke-width": "4"
|
|
9885
9879
|
}, [
|
|
9886
|
-
/* @__PURE__ */
|
|
9880
|
+
/* @__PURE__ */ M("circle", {
|
|
9887
9881
|
"stroke-opacity": ".5",
|
|
9888
9882
|
cx: "18",
|
|
9889
9883
|
cy: "18",
|
|
9890
9884
|
r: "18"
|
|
9891
9885
|
}),
|
|
9892
|
-
/* @__PURE__ */
|
|
9893
|
-
/* @__PURE__ */
|
|
9886
|
+
/* @__PURE__ */ M("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
|
|
9887
|
+
/* @__PURE__ */ M("animateTransform", {
|
|
9894
9888
|
attributeName: "transform",
|
|
9895
9889
|
type: "rotate",
|
|
9896
9890
|
from: "0 18 18",
|
|
@@ -9904,7 +9898,7 @@ const th = /* @__PURE__ */ A(
|
|
|
9904
9898
|
-1
|
|
9905
9899
|
/* HOISTED */
|
|
9906
9900
|
);
|
|
9907
|
-
function
|
|
9901
|
+
function sh(t, e, a, s, n, o) {
|
|
9908
9902
|
return v(), V("div", null, [
|
|
9909
9903
|
t.isSucking ? O("v-if", !0) : (v(), V(
|
|
9910
9904
|
"svg",
|
|
@@ -9916,17 +9910,17 @@ function nh(t, e, a, s, n, o) {
|
|
|
9916
9910
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
9917
9911
|
},
|
|
9918
9912
|
[
|
|
9919
|
-
|
|
9913
|
+
eh
|
|
9920
9914
|
],
|
|
9921
9915
|
2
|
|
9922
9916
|
/* CLASS */
|
|
9923
9917
|
)),
|
|
9924
|
-
t.isSucking ? (v(), V("svg",
|
|
9925
|
-
|
|
9918
|
+
t.isSucking ? (v(), V("svg", th, [
|
|
9919
|
+
ah
|
|
9926
9920
|
])) : O("v-if", !0)
|
|
9927
9921
|
]);
|
|
9928
9922
|
}
|
|
9929
|
-
Js.render =
|
|
9923
|
+
Js.render = sh;
|
|
9930
9924
|
Js.__file = "src/color/Sucker.vue";
|
|
9931
9925
|
var en = Y({
|
|
9932
9926
|
props: {
|
|
@@ -9942,7 +9936,7 @@ var en = Y({
|
|
|
9942
9936
|
emits: ["inputColor", "inputFocus", "inputBlur"],
|
|
9943
9937
|
setup(t, { emit: e }) {
|
|
9944
9938
|
return {
|
|
9945
|
-
modelColor:
|
|
9939
|
+
modelColor: A({
|
|
9946
9940
|
get() {
|
|
9947
9941
|
return t.color || "";
|
|
9948
9942
|
},
|
|
@@ -9959,17 +9953,17 @@ var en = Y({
|
|
|
9959
9953
|
};
|
|
9960
9954
|
}
|
|
9961
9955
|
});
|
|
9962
|
-
const
|
|
9963
|
-
function
|
|
9964
|
-
return v(), V("div",
|
|
9965
|
-
|
|
9956
|
+
const nh = { class: "color-type" }, ih = { class: "name" };
|
|
9957
|
+
function oh(t, e, a, s, n, o) {
|
|
9958
|
+
return v(), V("div", nh, [
|
|
9959
|
+
M(
|
|
9966
9960
|
"span",
|
|
9967
|
-
|
|
9961
|
+
ih,
|
|
9968
9962
|
z(t.name),
|
|
9969
9963
|
1
|
|
9970
9964
|
/* TEXT */
|
|
9971
9965
|
),
|
|
9972
|
-
De(
|
|
9966
|
+
De(M(
|
|
9973
9967
|
"input",
|
|
9974
9968
|
{
|
|
9975
9969
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
|
|
@@ -9985,7 +9979,7 @@ function lh(t, e, a, s, n, o) {
|
|
|
9985
9979
|
])
|
|
9986
9980
|
]);
|
|
9987
9981
|
}
|
|
9988
|
-
en.render =
|
|
9982
|
+
en.render = oh;
|
|
9989
9983
|
en.__file = "src/color/Box.vue";
|
|
9990
9984
|
var tn = Y({
|
|
9991
9985
|
name: "ColorPicker",
|
|
@@ -10027,13 +10021,13 @@ var tn = Y({
|
|
|
10027
10021
|
};
|
|
10028
10022
|
}
|
|
10029
10023
|
});
|
|
10030
|
-
const
|
|
10024
|
+
const lh = { class: "colors" }, rh = {
|
|
10031
10025
|
key: 0,
|
|
10032
10026
|
class: "colors history"
|
|
10033
10027
|
};
|
|
10034
|
-
function
|
|
10028
|
+
function uh(t, e, a, s, n, o) {
|
|
10035
10029
|
return v(), V("div", null, [
|
|
10036
|
-
|
|
10030
|
+
M("ul", lh, [
|
|
10037
10031
|
(v(!0), V(
|
|
10038
10032
|
fe,
|
|
10039
10033
|
null,
|
|
@@ -10042,7 +10036,7 @@ function ch(t, e, a, s, n, o) {
|
|
|
10042
10036
|
class: "item",
|
|
10043
10037
|
onClick: (l) => t.selectColor(i)
|
|
10044
10038
|
}, [
|
|
10045
|
-
|
|
10039
|
+
M(
|
|
10046
10040
|
"div",
|
|
10047
10041
|
{
|
|
10048
10042
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10052,7 +10046,7 @@ function ch(t, e, a, s, n, o) {
|
|
|
10052
10046
|
4
|
|
10053
10047
|
/* STYLE */
|
|
10054
10048
|
),
|
|
10055
|
-
|
|
10049
|
+
M(
|
|
10056
10050
|
"div",
|
|
10057
10051
|
{
|
|
10058
10052
|
style: { background: i },
|
|
@@ -10067,7 +10061,7 @@ function ch(t, e, a, s, n, o) {
|
|
|
10067
10061
|
/* KEYED_FRAGMENT */
|
|
10068
10062
|
))
|
|
10069
10063
|
]),
|
|
10070
|
-
t.colorsHistory.length ? (v(), V("ul",
|
|
10064
|
+
t.colorsHistory.length ? (v(), V("ul", rh, [
|
|
10071
10065
|
(v(!0), V(
|
|
10072
10066
|
fe,
|
|
10073
10067
|
null,
|
|
@@ -10076,7 +10070,7 @@ function ch(t, e, a, s, n, o) {
|
|
|
10076
10070
|
class: "item",
|
|
10077
10071
|
onClick: (l) => t.selectColor(i)
|
|
10078
10072
|
}, [
|
|
10079
|
-
|
|
10073
|
+
M(
|
|
10080
10074
|
"div",
|
|
10081
10075
|
{
|
|
10082
10076
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10086,7 +10080,7 @@ function ch(t, e, a, s, n, o) {
|
|
|
10086
10080
|
4
|
|
10087
10081
|
/* STYLE */
|
|
10088
10082
|
),
|
|
10089
|
-
|
|
10083
|
+
M(
|
|
10090
10084
|
"div",
|
|
10091
10085
|
{
|
|
10092
10086
|
style: { background: i },
|
|
@@ -10103,7 +10097,7 @@ function ch(t, e, a, s, n, o) {
|
|
|
10103
10097
|
])) : O("v-if", !0)
|
|
10104
10098
|
]);
|
|
10105
10099
|
}
|
|
10106
|
-
tn.render =
|
|
10100
|
+
tn.render = uh;
|
|
10107
10101
|
tn.__file = "src/color/Colors.vue";
|
|
10108
10102
|
var Ut = Y({
|
|
10109
10103
|
components: {
|
|
@@ -10214,7 +10208,7 @@ var Ut = Y({
|
|
|
10214
10208
|
return `rgba(${this.rgbaStringShort})`;
|
|
10215
10209
|
},
|
|
10216
10210
|
hexString() {
|
|
10217
|
-
return
|
|
10211
|
+
return Wf(this.rgba, !0);
|
|
10218
10212
|
}
|
|
10219
10213
|
},
|
|
10220
10214
|
created() {
|
|
@@ -10278,8 +10272,8 @@ var Ut = Y({
|
|
|
10278
10272
|
}
|
|
10279
10273
|
}
|
|
10280
10274
|
});
|
|
10281
|
-
const
|
|
10282
|
-
function
|
|
10275
|
+
const ch = { class: "color-set" };
|
|
10276
|
+
function dh(t, e, a, s, n, o) {
|
|
10283
10277
|
const i = ut("Saturation"), l = ut("Hue"), r = ut("Alpha"), d = ut("Preview"), u = ut("Sucker"), c = ut("Box"), p = ut("Colors");
|
|
10284
10278
|
return v(), V(
|
|
10285
10279
|
"div",
|
|
@@ -10288,22 +10282,22 @@ function ph(t, e, a, s, n, o) {
|
|
|
10288
10282
|
style: { width: t.totalWidth + "px" }
|
|
10289
10283
|
},
|
|
10290
10284
|
[
|
|
10291
|
-
|
|
10292
|
-
|
|
10285
|
+
M("div", ch, [
|
|
10286
|
+
M(i, {
|
|
10293
10287
|
ref: "saturation",
|
|
10294
10288
|
color: t.rgbString,
|
|
10295
10289
|
hsv: t.hsv,
|
|
10296
10290
|
size: t.hueHeight,
|
|
10297
10291
|
onSelectSaturation: t.selectSaturation
|
|
10298
10292
|
}, null, 8, ["color", "hsv", "size", "onSelectSaturation"]),
|
|
10299
|
-
|
|
10293
|
+
M(l, {
|
|
10300
10294
|
ref: "hue",
|
|
10301
10295
|
hsv: t.hsv,
|
|
10302
10296
|
width: t.hueWidth,
|
|
10303
10297
|
height: t.hueHeight,
|
|
10304
10298
|
onSelectHue: t.selectHue
|
|
10305
10299
|
}, null, 8, ["hsv", "width", "height", "onSelectHue"]),
|
|
10306
|
-
|
|
10300
|
+
M(r, {
|
|
10307
10301
|
ref: "alpha",
|
|
10308
10302
|
color: t.rgbString,
|
|
10309
10303
|
rgba: t.rgba,
|
|
@@ -10312,14 +10306,14 @@ function ph(t, e, a, s, n, o) {
|
|
|
10312
10306
|
onSelectAlpha: t.selectAlpha
|
|
10313
10307
|
}, null, 8, ["color", "rgba", "width", "height", "onSelectAlpha"])
|
|
10314
10308
|
]),
|
|
10315
|
-
|
|
10309
|
+
M(
|
|
10316
10310
|
"div",
|
|
10317
10311
|
{
|
|
10318
10312
|
style: { height: t.previewHeight + "px" },
|
|
10319
10313
|
class: "color-show"
|
|
10320
10314
|
},
|
|
10321
10315
|
[
|
|
10322
|
-
|
|
10316
|
+
M(d, {
|
|
10323
10317
|
color: t.rgbaString,
|
|
10324
10318
|
width: t.previewWidth,
|
|
10325
10319
|
height: t.previewHeight
|
|
@@ -10335,21 +10329,21 @@ function ph(t, e, a, s, n, o) {
|
|
|
10335
10329
|
4
|
|
10336
10330
|
/* STYLE */
|
|
10337
10331
|
),
|
|
10338
|
-
|
|
10332
|
+
M(c, {
|
|
10339
10333
|
name: "HEX",
|
|
10340
10334
|
color: t.modelHex,
|
|
10341
10335
|
onInputColor: t.inputHex,
|
|
10342
10336
|
onInputFocus: t.handleFocus,
|
|
10343
10337
|
onInputBlur: t.handleBlur
|
|
10344
10338
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
10345
|
-
|
|
10339
|
+
M(c, {
|
|
10346
10340
|
name: "RGBA",
|
|
10347
10341
|
color: t.modelRgba,
|
|
10348
10342
|
onInputColor: t.inputRgba,
|
|
10349
10343
|
onInputFocus: t.handleFocus,
|
|
10350
10344
|
onInputBlur: t.handleBlur
|
|
10351
10345
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
10352
|
-
|
|
10346
|
+
M(p, {
|
|
10353
10347
|
color: t.rgbaString,
|
|
10354
10348
|
"colors-default": t.colorsDefault,
|
|
10355
10349
|
"colors-history-key": t.colorsHistoryKey,
|
|
@@ -10362,12 +10356,12 @@ function ph(t, e, a, s, n, o) {
|
|
|
10362
10356
|
/* CLASS, STYLE */
|
|
10363
10357
|
);
|
|
10364
10358
|
}
|
|
10365
|
-
Ut.render =
|
|
10359
|
+
Ut.render = dh;
|
|
10366
10360
|
Ut.__file = "src/color/ColorPicker.vue";
|
|
10367
10361
|
Ut.install = (t) => {
|
|
10368
10362
|
t.component(Ut.name, Ut);
|
|
10369
10363
|
};
|
|
10370
|
-
const
|
|
10364
|
+
const ph = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
|
|
10371
10365
|
__name: "AoColorPicker",
|
|
10372
10366
|
props: {
|
|
10373
10367
|
color: {}
|
|
@@ -10380,7 +10374,7 @@ const vh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
|
|
|
10380
10374
|
console.log("pickerHeight = " + g), i.value = m ? b.top - g - 8 : b.bottom + 8, l.value = b.left, setTimeout(() => {
|
|
10381
10375
|
window.addEventListener("click", u);
|
|
10382
10376
|
}, 0);
|
|
10383
|
-
}, d =
|
|
10377
|
+
}, d = A(() => ({
|
|
10384
10378
|
position: "fixed",
|
|
10385
10379
|
top: `${i.value}px`,
|
|
10386
10380
|
left: `${l.value}px`,
|
|
@@ -10398,7 +10392,7 @@ const vh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
|
|
|
10398
10392
|
const { r: b, g: _, b: g, a: $ } = h.rgba;
|
|
10399
10393
|
c.value = `rgba(${b}, ${_}, ${g}, ${$})`;
|
|
10400
10394
|
};
|
|
10401
|
-
return (h, b) => (v(), C("div",
|
|
10395
|
+
return (h, b) => (v(), C("div", ph, [
|
|
10402
10396
|
te(h.$slots, "clickable", {
|
|
10403
10397
|
openPicker: r,
|
|
10404
10398
|
bgColor: h.color
|
|
@@ -10408,9 +10402,9 @@ const vh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
|
|
|
10408
10402
|
ref_key: "pickerRef",
|
|
10409
10403
|
ref: n,
|
|
10410
10404
|
class: "color-picker",
|
|
10411
|
-
style:
|
|
10405
|
+
style: Qe(d.value)
|
|
10412
10406
|
}, [
|
|
10413
|
-
|
|
10407
|
+
M(Q(Ut), {
|
|
10414
10408
|
class: "color-picker-box",
|
|
10415
10409
|
theme: "light",
|
|
10416
10410
|
color: h.color,
|
|
@@ -10420,16 +10414,16 @@ const vh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
|
|
|
10420
10414
|
]));
|
|
10421
10415
|
}
|
|
10422
10416
|
});
|
|
10423
|
-
const
|
|
10417
|
+
const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-project-item__title-line" }, hh = {
|
|
10424
10418
|
key: 0,
|
|
10425
10419
|
class: "ao-card-project-item-phase__estimation"
|
|
10426
|
-
},
|
|
10420
|
+
}, mh = { class: "ao-card-project-phase__footer" }, gh = {
|
|
10427
10421
|
key: 0,
|
|
10428
10422
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
10429
|
-
},
|
|
10423
|
+
}, Ch = { class: "ao-card-project-phase__subitem" }, _h = { class: "ao-card-project-phase__subitem" }, yh = {
|
|
10430
10424
|
key: 0,
|
|
10431
10425
|
class: "ao-card-project-phase__secondary"
|
|
10432
|
-
},
|
|
10426
|
+
}, bh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, wh = /* @__PURE__ */ Y({
|
|
10433
10427
|
__name: "AoCardProjectItemPhase",
|
|
10434
10428
|
props: {
|
|
10435
10429
|
id: {},
|
|
@@ -10445,7 +10439,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10445
10439
|
setup(t, { emit: e }) {
|
|
10446
10440
|
const a = t, s = (c) => {
|
|
10447
10441
|
e("update:title", c);
|
|
10448
|
-
}, n =
|
|
10442
|
+
}, n = A(() => {
|
|
10449
10443
|
var c;
|
|
10450
10444
|
return (c = a.milestones) == null ? void 0 : c.reduce(
|
|
10451
10445
|
(p, h) => {
|
|
@@ -10454,16 +10448,16 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10454
10448
|
},
|
|
10455
10449
|
0
|
|
10456
10450
|
);
|
|
10457
|
-
}), o =
|
|
10451
|
+
}), o = A(() => {
|
|
10458
10452
|
var c;
|
|
10459
10453
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
10460
|
-
}), i =
|
|
10454
|
+
}), i = A(() => {
|
|
10461
10455
|
var c;
|
|
10462
10456
|
return (c = a.milestones) == null ? void 0 : c.filter((p) => p.status === Ba.done).length;
|
|
10463
|
-
}), l =
|
|
10457
|
+
}), l = A(() => (i.value || 0) / (o.value || 1)), r = A({
|
|
10464
10458
|
get: () => a.deadline ?? "",
|
|
10465
10459
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
10466
|
-
}), d =
|
|
10460
|
+
}), d = A({
|
|
10467
10461
|
get: () => a.color,
|
|
10468
10462
|
set: (c) => {
|
|
10469
10463
|
e("updatePhase", {
|
|
@@ -10480,7 +10474,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10480
10474
|
"onUpdate:color": p[2] || (p[2] = (h) => d.value = h)
|
|
10481
10475
|
}, {
|
|
10482
10476
|
clickable: N(({ openPicker: h, bgColor: b }) => [
|
|
10483
|
-
|
|
10477
|
+
M(os, {
|
|
10484
10478
|
class: "ao-card-project-phase",
|
|
10485
10479
|
"is-clickable": c.isEditable,
|
|
10486
10480
|
color: b,
|
|
@@ -10488,8 +10482,8 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10488
10482
|
onClick: (_) => u(_, h)
|
|
10489
10483
|
}, fa({
|
|
10490
10484
|
default: N(() => [
|
|
10491
|
-
f("div",
|
|
10492
|
-
|
|
10485
|
+
f("div", fh, [
|
|
10486
|
+
M(be, {
|
|
10493
10487
|
id: c.id,
|
|
10494
10488
|
class: "ao-card-project-phase__title",
|
|
10495
10489
|
title: c.name || "",
|
|
@@ -10497,25 +10491,25 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10497
10491
|
"is-editable": c.isEditable,
|
|
10498
10492
|
"onUpdate:title": s
|
|
10499
10493
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10500
|
-
n.value ? (v(), C("span",
|
|
10494
|
+
n.value ? (v(), C("span", hh, " (" + z(n.value) + ")", 1)) : O("", !0)
|
|
10501
10495
|
])
|
|
10502
10496
|
]),
|
|
10503
10497
|
footer: N(() => [
|
|
10504
|
-
f("div",
|
|
10505
|
-
o.value ? (v(), C("div",
|
|
10506
|
-
f("div",
|
|
10507
|
-
|
|
10498
|
+
f("div", mh, [
|
|
10499
|
+
o.value ? (v(), C("div", gh, [
|
|
10500
|
+
f("div", Ch, [
|
|
10501
|
+
M(pe, {
|
|
10508
10502
|
name: "MountainFlagOutlineRounded",
|
|
10509
10503
|
size: "sm"
|
|
10510
10504
|
}),
|
|
10511
|
-
f("span",
|
|
10505
|
+
f("span", _h, z(i.value) + " / " + z(o.value), 1)
|
|
10512
10506
|
]),
|
|
10513
|
-
|
|
10507
|
+
M(ls, {
|
|
10514
10508
|
percentages: l.value,
|
|
10515
10509
|
class: "ao-card-project-phase__progress",
|
|
10516
10510
|
color: c.color
|
|
10517
10511
|
}, null, 8, ["percentages", "color"]),
|
|
10518
|
-
c.$slots.secondary ? (v(), C("div",
|
|
10512
|
+
c.$slots.secondary ? (v(), C("div", yh, [
|
|
10519
10513
|
te(c.$slots, "secondary")
|
|
10520
10514
|
])) : O("", !0)
|
|
10521
10515
|
])) : O("", !0),
|
|
@@ -10535,7 +10529,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10535
10529
|
{ lazy: !0 }
|
|
10536
10530
|
]
|
|
10537
10531
|
]) : O("", !0),
|
|
10538
|
-
f("span",
|
|
10532
|
+
f("span", bh, z(Q(Qa)(c.deadline)), 1)
|
|
10539
10533
|
], 2)
|
|
10540
10534
|
])
|
|
10541
10535
|
]),
|
|
@@ -10544,8 +10538,8 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10544
10538
|
c.isEditable ? {
|
|
10545
10539
|
name: "header",
|
|
10546
10540
|
fn: N(() => [
|
|
10547
|
-
f("div",
|
|
10548
|
-
|
|
10541
|
+
f("div", vh, [
|
|
10542
|
+
M(re, {
|
|
10549
10543
|
class: "ao-card-project-phase__archive",
|
|
10550
10544
|
color: "primary",
|
|
10551
10545
|
variant: "ghost",
|
|
@@ -10569,7 +10563,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10569
10563
|
}, 8, ["color"]));
|
|
10570
10564
|
}
|
|
10571
10565
|
});
|
|
10572
|
-
const
|
|
10566
|
+
const $h = /* @__PURE__ */ Y({
|
|
10573
10567
|
__name: "AoBadge",
|
|
10574
10568
|
props: {
|
|
10575
10569
|
color: {}
|
|
@@ -10577,26 +10571,26 @@ const kh = /* @__PURE__ */ Y({
|
|
|
10577
10571
|
setup(t) {
|
|
10578
10572
|
return (e, a) => (v(), C("span", {
|
|
10579
10573
|
class: "aoBadge",
|
|
10580
|
-
style:
|
|
10574
|
+
style: Qe({ backgroundColor: e.color })
|
|
10581
10575
|
}, null, 4));
|
|
10582
10576
|
}
|
|
10583
10577
|
});
|
|
10584
|
-
const
|
|
10578
|
+
const kh = { class: "ao-card-project-milestone__default" }, Sh = { class: "ao-title-with-badge-wrapper" }, Ah = { class: "ao-card-project-item__title-line" }, Mh = {
|
|
10585
10579
|
key: 0,
|
|
10586
10580
|
class: "ao-card-project-item-milestone__estimation"
|
|
10587
|
-
},
|
|
10581
|
+
}, Th = {
|
|
10588
10582
|
key: 0,
|
|
10589
10583
|
class: "ao-card-project-milestone__archive"
|
|
10590
|
-
},
|
|
10584
|
+
}, Oh = { class: "ao-card-project-milestone__activities" }, Eh = { class: "ao-card-project-milestone__activities-row" }, Ih = { class: "ao-card-project-milestone__subitem" }, Lh = { class: "ao-card-project-milestone__subitem" }, Ph = {
|
|
10591
10585
|
key: 1,
|
|
10592
10586
|
class: "ao-card-project-milestone__secondary"
|
|
10593
|
-
},
|
|
10587
|
+
}, Hh = { class: "ao-card-project-milestone__footer" }, Vh = {
|
|
10594
10588
|
key: 1,
|
|
10595
10589
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
10596
|
-
},
|
|
10590
|
+
}, Dh = { class: "ao-field__label" }, Bh = {
|
|
10597
10591
|
key: 2,
|
|
10598
10592
|
class: "ao-card-project-milestone__assignee"
|
|
10599
|
-
},
|
|
10593
|
+
}, jh = /* @__PURE__ */ Y({
|
|
10600
10594
|
__name: "AoCardProjectItemMilestone",
|
|
10601
10595
|
props: {
|
|
10602
10596
|
id: {},
|
|
@@ -10615,18 +10609,18 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10615
10609
|
},
|
|
10616
10610
|
emits: ["updateMilestone", "archiveMilestone", "unarchiveMilestone"],
|
|
10617
10611
|
setup(t, { emit: e }) {
|
|
10618
|
-
const a = t, s =
|
|
10612
|
+
const a = t, s = A(() => {
|
|
10619
10613
|
var r;
|
|
10620
10614
|
return (r = a.activities) == null ? void 0 : r.reduce((d, u) => d + (u.estimation || 0), 0);
|
|
10621
|
-
}), n =
|
|
10615
|
+
}), n = A(() => {
|
|
10622
10616
|
var r;
|
|
10623
10617
|
return (r = a.activities) == null ? void 0 : r.length;
|
|
10624
|
-
}), o =
|
|
10618
|
+
}), o = A(() => {
|
|
10625
10619
|
var r;
|
|
10626
10620
|
return (r = a.activities) == null ? void 0 : r.filter(
|
|
10627
10621
|
(d) => Hs(d, a.closedStatus)
|
|
10628
10622
|
).length;
|
|
10629
|
-
}), i =
|
|
10623
|
+
}), i = A(() => (o.value || 0) / (n.value || 1)), l = (r) => {
|
|
10630
10624
|
e("updateMilestone", { id: a.id, name: r });
|
|
10631
10625
|
};
|
|
10632
10626
|
return (r, d) => (v(), V(os, {
|
|
@@ -10639,13 +10633,13 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10639
10633
|
color: r.phaseColor
|
|
10640
10634
|
}, {
|
|
10641
10635
|
default: N(() => [
|
|
10642
|
-
f("div",
|
|
10643
|
-
f("div",
|
|
10644
|
-
|
|
10636
|
+
f("div", kh, [
|
|
10637
|
+
f("div", Sh, [
|
|
10638
|
+
M($h, {
|
|
10645
10639
|
color: r.color || ""
|
|
10646
10640
|
}, null, 8, ["color"]),
|
|
10647
|
-
f("div",
|
|
10648
|
-
|
|
10641
|
+
f("div", Ah, [
|
|
10642
|
+
M(be, {
|
|
10649
10643
|
id: r.id,
|
|
10650
10644
|
title: r.name || "",
|
|
10651
10645
|
level: 5,
|
|
@@ -10653,11 +10647,11 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10653
10647
|
class: "ao-card-project-milestone__title",
|
|
10654
10648
|
"onUpdate:title": l
|
|
10655
10649
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10656
|
-
s.value ? (v(), C("span",
|
|
10650
|
+
s.value ? (v(), C("span", Mh, " (" + z(s.value) + ")", 1)) : O("", !0)
|
|
10657
10651
|
])
|
|
10658
10652
|
]),
|
|
10659
|
-
!r.readonly && r.isEditable ? (v(), C("div",
|
|
10660
|
-
|
|
10653
|
+
!r.readonly && r.isEditable ? (v(), C("div", Th, [
|
|
10654
|
+
M(re, {
|
|
10661
10655
|
color: "primary",
|
|
10662
10656
|
variant: "ghost",
|
|
10663
10657
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -10672,30 +10666,30 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10672
10666
|
}, null, 8, ["label"])
|
|
10673
10667
|
])) : O("", !0)
|
|
10674
10668
|
]),
|
|
10675
|
-
f("div",
|
|
10676
|
-
f("div",
|
|
10669
|
+
f("div", Oh, [
|
|
10670
|
+
f("div", Eh, [
|
|
10677
10671
|
n.value ? (v(), C(fe, { key: 0 }, [
|
|
10678
|
-
f("div",
|
|
10679
|
-
|
|
10672
|
+
f("div", Ih, [
|
|
10673
|
+
M(pe, {
|
|
10680
10674
|
name: "SelectCheckBox",
|
|
10681
10675
|
size: "sm"
|
|
10682
10676
|
}),
|
|
10683
|
-
f("span",
|
|
10677
|
+
f("span", Lh, z(o.value) + " / " + z(n.value), 1)
|
|
10684
10678
|
]),
|
|
10685
|
-
|
|
10679
|
+
M(ls, {
|
|
10686
10680
|
percentages: i.value,
|
|
10687
10681
|
color: r.phaseColor,
|
|
10688
10682
|
class: "ao-card-project-milestone__progress"
|
|
10689
10683
|
}, null, 8, ["percentages", "color"])
|
|
10690
10684
|
], 64)) : O("", !0),
|
|
10691
|
-
r.$slots.secondary ? (v(), C("div",
|
|
10685
|
+
r.$slots.secondary ? (v(), C("div", Ph, [
|
|
10692
10686
|
te(r.$slots, "secondary")
|
|
10693
10687
|
])) : O("", !0)
|
|
10694
10688
|
])
|
|
10695
10689
|
])
|
|
10696
10690
|
]),
|
|
10697
10691
|
footer: N(() => [
|
|
10698
|
-
f("div",
|
|
10692
|
+
f("div", Hh, [
|
|
10699
10693
|
r.important ? (v(), V(pe, {
|
|
10700
10694
|
key: 0,
|
|
10701
10695
|
name: "FlagRounded",
|
|
@@ -10704,11 +10698,11 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10704
10698
|
),
|
|
10705
10699
|
size: "sm"
|
|
10706
10700
|
}, null, 8, ["class"])) : O("", !0),
|
|
10707
|
-
r.deadline ? (v(), C("label",
|
|
10708
|
-
f("span",
|
|
10701
|
+
r.deadline ? (v(), C("label", Vh, [
|
|
10702
|
+
f("span", Dh, z(Q(Qa)(r.deadline)), 1)
|
|
10709
10703
|
])) : O("", !0),
|
|
10710
|
-
r.assignee ? (v(), C("div",
|
|
10711
|
-
|
|
10704
|
+
r.assignee ? (v(), C("div", Bh, [
|
|
10705
|
+
M(et, {
|
|
10712
10706
|
"user-name": Q(Gn)(r.assignee),
|
|
10713
10707
|
"avatar-url": r.assignee.avatarUrl,
|
|
10714
10708
|
color: r.isSelected ? "black" : "primary",
|
|
@@ -10721,16 +10715,16 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10721
10715
|
}, 8, ["is-clickable", "is-selected", "color"]));
|
|
10722
10716
|
}
|
|
10723
10717
|
});
|
|
10724
|
-
const
|
|
10718
|
+
const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao-card-project-item__title-line" }, Uh = {
|
|
10725
10719
|
key: 0,
|
|
10726
10720
|
class: "ao-card-project-item-phase__estimation"
|
|
10727
|
-
},
|
|
10721
|
+
}, Fh = { class: "ao-mapping-card-project-phase__footer" }, Zh = {
|
|
10728
10722
|
key: 0,
|
|
10729
10723
|
class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
|
|
10730
|
-
},
|
|
10724
|
+
}, Wh = { class: "ao-mapping-card-project-phase__subitem" }, zh = { class: "ao-mapping-card-project-phase__subitem" }, qh = {
|
|
10731
10725
|
key: 0,
|
|
10732
10726
|
class: "ao-mapping-card-project-phase__secondary"
|
|
10733
|
-
},
|
|
10727
|
+
}, Yh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, xh = /* @__PURE__ */ Y({
|
|
10734
10728
|
__name: "AoCondensedCardProjectItemPhase",
|
|
10735
10729
|
props: {
|
|
10736
10730
|
id: {},
|
|
@@ -10746,7 +10740,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10746
10740
|
setup(t, { emit: e }) {
|
|
10747
10741
|
const a = t, s = (c) => {
|
|
10748
10742
|
e("update:title", c);
|
|
10749
|
-
}, n =
|
|
10743
|
+
}, n = A(() => {
|
|
10750
10744
|
var c;
|
|
10751
10745
|
return (c = a.milestones) == null ? void 0 : c.reduce(
|
|
10752
10746
|
(p, h) => {
|
|
@@ -10755,16 +10749,16 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10755
10749
|
},
|
|
10756
10750
|
0
|
|
10757
10751
|
);
|
|
10758
|
-
}), o =
|
|
10752
|
+
}), o = A(() => {
|
|
10759
10753
|
var c;
|
|
10760
10754
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
10761
|
-
}), i =
|
|
10755
|
+
}), i = A(() => {
|
|
10762
10756
|
var c;
|
|
10763
10757
|
return (c = a.milestones) == null ? void 0 : c.filter((p) => p.status === Ba.done).length;
|
|
10764
|
-
}), l =
|
|
10758
|
+
}), l = A(() => (i.value || 0) / (o.value || 1)), r = A({
|
|
10765
10759
|
get: () => a.deadline ?? "",
|
|
10766
10760
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
10767
|
-
}), d =
|
|
10761
|
+
}), d = A({
|
|
10768
10762
|
get: () => a.color,
|
|
10769
10763
|
set: (c) => {
|
|
10770
10764
|
e("updatePhase", {
|
|
@@ -10781,7 +10775,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10781
10775
|
"onUpdate:color": p[2] || (p[2] = (h) => d.value = h)
|
|
10782
10776
|
}, {
|
|
10783
10777
|
clickable: N(({ openPicker: h, bgColor: b }) => [
|
|
10784
|
-
|
|
10778
|
+
M(os, {
|
|
10785
10779
|
class: "ao-mapping-card-project-phase",
|
|
10786
10780
|
"is-clickable": c.isEditable,
|
|
10787
10781
|
color: b,
|
|
@@ -10789,8 +10783,8 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10789
10783
|
onClick: (_) => u(_, h)
|
|
10790
10784
|
}, fa({
|
|
10791
10785
|
default: N(() => [
|
|
10792
|
-
f("div",
|
|
10793
|
-
|
|
10786
|
+
f("div", Nh, [
|
|
10787
|
+
M(be, {
|
|
10794
10788
|
id: c.id,
|
|
10795
10789
|
class: "ao-mapping-card-project-phase__title",
|
|
10796
10790
|
title: c.name || "",
|
|
@@ -10798,25 +10792,25 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10798
10792
|
"is-editable": c.isEditable,
|
|
10799
10793
|
"onUpdate:title": s
|
|
10800
10794
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10801
|
-
n.value ? (v(), C("span",
|
|
10795
|
+
n.value ? (v(), C("span", Uh, " (" + z(n.value) + ")", 1)) : O("", !0)
|
|
10802
10796
|
])
|
|
10803
10797
|
]),
|
|
10804
10798
|
footer: N(() => [
|
|
10805
|
-
f("div",
|
|
10806
|
-
o.value ? (v(), C("div",
|
|
10807
|
-
f("div",
|
|
10808
|
-
|
|
10799
|
+
f("div", Fh, [
|
|
10800
|
+
o.value ? (v(), C("div", Zh, [
|
|
10801
|
+
f("div", Wh, [
|
|
10802
|
+
M(pe, {
|
|
10809
10803
|
name: "MountainFlagOutlineRounded",
|
|
10810
10804
|
size: "sm"
|
|
10811
10805
|
}),
|
|
10812
|
-
f("span",
|
|
10806
|
+
f("span", zh, z(i.value) + " / " + z(o.value), 1)
|
|
10813
10807
|
]),
|
|
10814
|
-
|
|
10808
|
+
M(ls, {
|
|
10815
10809
|
percentages: l.value,
|
|
10816
10810
|
class: "ao-mapping-card-project-phase__progress",
|
|
10817
10811
|
color: d.value
|
|
10818
10812
|
}, null, 8, ["percentages", "color"]),
|
|
10819
|
-
c.$slots.secondary ? (v(), C("div",
|
|
10813
|
+
c.$slots.secondary ? (v(), C("div", qh, [
|
|
10820
10814
|
te(c.$slots, "secondary")
|
|
10821
10815
|
])) : O("", !0)
|
|
10822
10816
|
])) : O("", !0),
|
|
@@ -10836,7 +10830,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10836
10830
|
{ lazy: !0 }
|
|
10837
10831
|
]
|
|
10838
10832
|
]) : O("", !0),
|
|
10839
|
-
f("span",
|
|
10833
|
+
f("span", Yh, z(Q(Qa)(c.deadline)), 1)
|
|
10840
10834
|
], 2)
|
|
10841
10835
|
])
|
|
10842
10836
|
]),
|
|
@@ -10845,8 +10839,8 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10845
10839
|
c.isEditable ? {
|
|
10846
10840
|
name: "header",
|
|
10847
10841
|
fn: N(() => [
|
|
10848
|
-
f("div",
|
|
10849
|
-
|
|
10842
|
+
f("div", Rh, [
|
|
10843
|
+
M(re, {
|
|
10850
10844
|
class: "ao-mapping-card-project-phase__archive",
|
|
10851
10845
|
color: "primary",
|
|
10852
10846
|
variant: "ghost",
|
|
@@ -10870,19 +10864,19 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10870
10864
|
}, 8, ["color"]));
|
|
10871
10865
|
}
|
|
10872
10866
|
});
|
|
10873
|
-
const
|
|
10867
|
+
const Kh = { class: "ao-project-phase" }, Gh = {
|
|
10874
10868
|
key: 0,
|
|
10875
10869
|
class: "ao-project-phase__drag ao-card__drag"
|
|
10876
|
-
},
|
|
10870
|
+
}, Xh = {
|
|
10877
10871
|
key: 1,
|
|
10878
10872
|
class: "ao-project-phase__col-phase"
|
|
10879
|
-
},
|
|
10873
|
+
}, Qh = {
|
|
10880
10874
|
key: 2,
|
|
10881
10875
|
class: "ao-mapping-project-phase__col-phase"
|
|
10882
|
-
},
|
|
10876
|
+
}, Jh = {
|
|
10883
10877
|
key: 0,
|
|
10884
10878
|
class: "ao-project-phase__col-milestones"
|
|
10885
|
-
},
|
|
10879
|
+
}, e9 = { class: "ao-project-phase__milestones-list-footer" }, t9 = /* @__PURE__ */ Y({
|
|
10886
10880
|
__name: "AoProjectPhase",
|
|
10887
10881
|
props: {
|
|
10888
10882
|
phase: {},
|
|
@@ -10897,7 +10891,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10897
10891
|
ce(
|
|
10898
10892
|
() => a.phase.milestones,
|
|
10899
10893
|
(w, m) => {
|
|
10900
|
-
|
|
10894
|
+
Xe(w, m);
|
|
10901
10895
|
}
|
|
10902
10896
|
);
|
|
10903
10897
|
const n = (w) => {
|
|
@@ -10906,7 +10900,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10906
10900
|
e("updatePhase", { id: a.phase.id, deadline: w });
|
|
10907
10901
|
}, i = (w) => {
|
|
10908
10902
|
e("updatePhase", w);
|
|
10909
|
-
}, l =
|
|
10903
|
+
}, l = A(
|
|
10910
10904
|
() => a.phase.milestones.map(
|
|
10911
10905
|
(w) => j3(w, a.closedStatus)
|
|
10912
10906
|
)
|
|
@@ -10936,23 +10930,23 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10936
10930
|
id: w.moved.element.id,
|
|
10937
10931
|
rank: Ft(l.value, w.moved.newIndex)
|
|
10938
10932
|
});
|
|
10939
|
-
}, _ = qi(), g =
|
|
10933
|
+
}, _ = qi(), g = A(() => _.path.includes("/mapping")), $ = A(() => {
|
|
10940
10934
|
var w;
|
|
10941
10935
|
return a.phase.id !== ((w = _.params) == null ? void 0 : w.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: N3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
|
|
10942
10936
|
});
|
|
10943
|
-
return (w, m) => (v(), C("li",
|
|
10937
|
+
return (w, m) => (v(), C("li", Kh, [
|
|
10944
10938
|
f("div", {
|
|
10945
10939
|
class: "ao-project-phases__draggable-card",
|
|
10946
|
-
style:
|
|
10940
|
+
style: Qe($.value)
|
|
10947
10941
|
}, [
|
|
10948
|
-
w.isEditable ? (v(), C("div",
|
|
10949
|
-
|
|
10942
|
+
w.isEditable ? (v(), C("div", Gh, [
|
|
10943
|
+
M(pe, {
|
|
10950
10944
|
name: "DragIndicator",
|
|
10951
10945
|
class: "ao-project-phase__drag-handle"
|
|
10952
10946
|
})
|
|
10953
10947
|
])) : O("", !0),
|
|
10954
|
-
g.value ? (v(), C("div",
|
|
10955
|
-
|
|
10948
|
+
g.value ? (v(), C("div", Qh, [
|
|
10949
|
+
M(xh, {
|
|
10956
10950
|
id: w.phase.id,
|
|
10957
10951
|
milestones: l.value,
|
|
10958
10952
|
name: w.phase.name,
|
|
@@ -10966,8 +10960,8 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10966
10960
|
onUnarchivePhase: h,
|
|
10967
10961
|
onUpdatePhase: i
|
|
10968
10962
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10969
|
-
])) : (v(), C("div",
|
|
10970
|
-
|
|
10963
|
+
])) : (v(), C("div", Xh, [
|
|
10964
|
+
M(wh, {
|
|
10971
10965
|
id: w.phase.id,
|
|
10972
10966
|
milestones: l.value,
|
|
10973
10967
|
name: w.phase.name,
|
|
@@ -10983,12 +10977,12 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10983
10977
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10984
10978
|
]))
|
|
10985
10979
|
], 4),
|
|
10986
|
-
g.value ? O("", !0) : (v(), C("div",
|
|
10980
|
+
g.value ? O("", !0) : (v(), C("div", Jh, [
|
|
10987
10981
|
f("div", {
|
|
10988
10982
|
class: "ao-project-phase__milestones",
|
|
10989
|
-
style:
|
|
10983
|
+
style: Qe($.value)
|
|
10990
10984
|
}, [
|
|
10991
|
-
|
|
10985
|
+
M(Q(gt), Ae({
|
|
10992
10986
|
class: "ao-project-phase__milestones-list",
|
|
10993
10987
|
list: l.value,
|
|
10994
10988
|
disabled: w.readonly || !w.isEditable,
|
|
@@ -10998,7 +10992,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10998
10992
|
item: N(({ element: I }) => {
|
|
10999
10993
|
var D;
|
|
11000
10994
|
return [
|
|
11001
|
-
|
|
10995
|
+
M(jh, {
|
|
11002
10996
|
id: I.id,
|
|
11003
10997
|
name: I.name,
|
|
11004
10998
|
color: I.color,
|
|
@@ -11026,7 +11020,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
11026
11020
|
}),
|
|
11027
11021
|
_: 1
|
|
11028
11022
|
}, 16, ["list", "disabled"]),
|
|
11029
|
-
f("div",
|
|
11023
|
+
f("div", e9, [
|
|
11030
11024
|
w.isEditable ? (v(), V(Ct, {
|
|
11031
11025
|
key: 0,
|
|
11032
11026
|
label: w.$t("project.milestone.add"),
|
|
@@ -11040,10 +11034,10 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
11040
11034
|
]));
|
|
11041
11035
|
}
|
|
11042
11036
|
});
|
|
11043
|
-
const
|
|
11037
|
+
const a9 = { class: "ao-project__phases" }, s9 = {
|
|
11044
11038
|
key: 0,
|
|
11045
11039
|
class: "ao-project-phase__phases-list-footer"
|
|
11046
|
-
},
|
|
11040
|
+
}, n9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), i9 = { class: "ao-project-phase__col-phase" }, o9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), fi = /* @__PURE__ */ Y({
|
|
11047
11041
|
__name: "AoProjectPhases",
|
|
11048
11042
|
props: {
|
|
11049
11043
|
phases: {},
|
|
@@ -11056,7 +11050,7 @@ const s9 = { class: "ao-project__phases" }, n9 = {
|
|
|
11056
11050
|
setup(t, { emit: e }) {
|
|
11057
11051
|
const a = t;
|
|
11058
11052
|
ce(() => a.phases, (p, h) => {
|
|
11059
|
-
|
|
11053
|
+
Xe(p, h);
|
|
11060
11054
|
});
|
|
11061
11055
|
const s = (p) => {
|
|
11062
11056
|
e("addMilestone", p);
|
|
@@ -11083,8 +11077,8 @@ const s9 = { class: "ao-project__phases" }, n9 = {
|
|
|
11083
11077
|
}, c = (p) => {
|
|
11084
11078
|
e("addPhase", p);
|
|
11085
11079
|
};
|
|
11086
|
-
return (p, h) => (v(), C("div",
|
|
11087
|
-
|
|
11080
|
+
return (p, h) => (v(), C("div", a9, [
|
|
11081
|
+
M(Q(gt), {
|
|
11088
11082
|
class: "ao-project-phase__phases-list",
|
|
11089
11083
|
"model-value": p.phases,
|
|
11090
11084
|
"item-key": "id",
|
|
@@ -11092,7 +11086,7 @@ const s9 = { class: "ao-project__phases" }, n9 = {
|
|
|
11092
11086
|
onChange: d
|
|
11093
11087
|
}, {
|
|
11094
11088
|
item: N(({ element: b }) => [
|
|
11095
|
-
|
|
11089
|
+
M(t9, {
|
|
11096
11090
|
phase: b,
|
|
11097
11091
|
"is-editable": !p.readonly && p.isEditable,
|
|
11098
11092
|
"closed-status": p.closedStatus,
|
|
@@ -11109,22 +11103,22 @@ const s9 = { class: "ao-project__phases" }, n9 = {
|
|
|
11109
11103
|
]),
|
|
11110
11104
|
_: 1
|
|
11111
11105
|
}, 8, ["model-value"]),
|
|
11112
|
-
p.isEditable ? (v(), C("div",
|
|
11113
|
-
|
|
11114
|
-
f("div",
|
|
11115
|
-
|
|
11106
|
+
p.isEditable ? (v(), C("div", s9, [
|
|
11107
|
+
n9,
|
|
11108
|
+
f("div", i9, [
|
|
11109
|
+
M(Ct, {
|
|
11116
11110
|
label: p.$t("project.phases.add"),
|
|
11117
11111
|
"icon-name": "Add",
|
|
11118
11112
|
class: "ao-project-phase__add-phase",
|
|
11119
11113
|
onClick: c
|
|
11120
11114
|
}, null, 8, ["label"])
|
|
11121
11115
|
]),
|
|
11122
|
-
|
|
11116
|
+
o9
|
|
11123
11117
|
])) : O("", !0)
|
|
11124
11118
|
]));
|
|
11125
11119
|
}
|
|
11126
11120
|
});
|
|
11127
|
-
const
|
|
11121
|
+
const l9 = ["onSubmit"], r9 = { class: "ao-add-template-modal__form-body" }, u9 = { class: "field__row" }, c9 = { class: "ao-add-template-modal__form-footer" }, hi = /* @__PURE__ */ Y({
|
|
11128
11122
|
__name: "AoAddTemplateModal",
|
|
11129
11123
|
props: {
|
|
11130
11124
|
projectId: {},
|
|
@@ -11132,7 +11126,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11132
11126
|
},
|
|
11133
11127
|
emits: ["apply"],
|
|
11134
11128
|
setup(t, { emit: e }) {
|
|
11135
|
-
const a = t, s =
|
|
11129
|
+
const a = t, s = A(() => a.templates.map((l) => ({
|
|
11136
11130
|
value: l.id,
|
|
11137
11131
|
label: l.name
|
|
11138
11132
|
}))), n = q(null), o = (l) => {
|
|
@@ -11142,7 +11136,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11142
11136
|
};
|
|
11143
11137
|
return (l, r) => (v(), V(Ja, { size: "sm" }, {
|
|
11144
11138
|
header: N(() => [
|
|
11145
|
-
|
|
11139
|
+
M(be, {
|
|
11146
11140
|
title: l.$t("project.template.apply.title"),
|
|
11147
11141
|
level: 3
|
|
11148
11142
|
}, null, 8, ["title"])
|
|
@@ -11153,9 +11147,9 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11153
11147
|
onSubmit: ve(i, ["prevent"])
|
|
11154
11148
|
}, [
|
|
11155
11149
|
f("p", null, z(l.$t("project.template.apply.notice")), 1),
|
|
11156
|
-
f("div",
|
|
11157
|
-
f("div",
|
|
11158
|
-
|
|
11150
|
+
f("div", r9, [
|
|
11151
|
+
f("div", u9, [
|
|
11152
|
+
M(Se, {
|
|
11159
11153
|
value: n.value,
|
|
11160
11154
|
options: s.value,
|
|
11161
11155
|
detached: !0,
|
|
@@ -11163,8 +11157,8 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11163
11157
|
}, null, 8, ["value", "options"])
|
|
11164
11158
|
])
|
|
11165
11159
|
]),
|
|
11166
|
-
f("footer",
|
|
11167
|
-
|
|
11160
|
+
f("footer", c9, [
|
|
11161
|
+
M(re, {
|
|
11168
11162
|
label: l.$t("project.template.apply.label"),
|
|
11169
11163
|
type: "submit",
|
|
11170
11164
|
color: "primary",
|
|
@@ -11172,13 +11166,13 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11172
11166
|
onClick: i
|
|
11173
11167
|
}, null, 8, ["label"])
|
|
11174
11168
|
])
|
|
11175
|
-
], 40,
|
|
11169
|
+
], 40, l9)
|
|
11176
11170
|
]),
|
|
11177
11171
|
_: 1
|
|
11178
11172
|
}));
|
|
11179
11173
|
}
|
|
11180
11174
|
});
|
|
11181
|
-
const
|
|
11175
|
+
const d9 = ["onSubmit"], p9 = { class: "ao-save-template-modal__form-body" }, v9 = { class: "field__row" }, f9 = { class: "ao-field ao-field--inline" }, h9 = { class: "ao-field__label" }, m9 = { class: "ao-save-template-modal__phases" }, g9 = { class: "ao-field__label" }, C9 = { class: "ao-save-template-modal__phases-list" }, _9 = ["value"], y9 = { class: "ao-save-template-modal__form-footer" }, mi = /* @__PURE__ */ Y({
|
|
11182
11176
|
__name: "AoSaveTemplateModal",
|
|
11183
11177
|
props: {
|
|
11184
11178
|
phases: {}
|
|
@@ -11194,7 +11188,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11194
11188
|
};
|
|
11195
11189
|
return (i, l) => (v(), V(Ja, { size: "sm" }, {
|
|
11196
11190
|
header: N(() => [
|
|
11197
|
-
|
|
11191
|
+
M(be, {
|
|
11198
11192
|
title: i.$t("project.template.save.title"),
|
|
11199
11193
|
level: 3
|
|
11200
11194
|
}, null, 8, ["title"])
|
|
@@ -11204,10 +11198,10 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11204
11198
|
class: "ao-save-template-modal__form",
|
|
11205
11199
|
onSubmit: ve(o, ["prevent"])
|
|
11206
11200
|
}, [
|
|
11207
|
-
f("div",
|
|
11208
|
-
f("div",
|
|
11209
|
-
f("label",
|
|
11210
|
-
f("span",
|
|
11201
|
+
f("div", p9, [
|
|
11202
|
+
f("div", v9, [
|
|
11203
|
+
f("label", f9, [
|
|
11204
|
+
f("span", h9, z(i.$t("project.template.name.label")) + ": ", 1),
|
|
11211
11205
|
De(f("input", {
|
|
11212
11206
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11213
11207
|
type: "text"
|
|
@@ -11216,9 +11210,9 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11216
11210
|
])
|
|
11217
11211
|
])
|
|
11218
11212
|
]),
|
|
11219
|
-
f("div",
|
|
11220
|
-
f("div",
|
|
11221
|
-
f("div",
|
|
11213
|
+
f("div", m9, [
|
|
11214
|
+
f("div", g9, z(i.$t("project.template.phases.label")), 1),
|
|
11215
|
+
f("div", C9, [
|
|
11222
11216
|
(v(!0), C(fe, null, _e(a.phases, (r) => (v(), C("label", {
|
|
11223
11217
|
class: "ao-field ao-field--checkbox",
|
|
11224
11218
|
key: r.id
|
|
@@ -11227,7 +11221,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11227
11221
|
type: "checkbox",
|
|
11228
11222
|
value: r.id,
|
|
11229
11223
|
"onUpdate:modelValue": l[1] || (l[1] = (d) => n.value = d)
|
|
11230
|
-
}, null, 8,
|
|
11224
|
+
}, null, 8, _9), [
|
|
11231
11225
|
[Ui, n.value]
|
|
11232
11226
|
]),
|
|
11233
11227
|
f("span", null, z(r.name), 1)
|
|
@@ -11235,8 +11229,8 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11235
11229
|
])
|
|
11236
11230
|
])
|
|
11237
11231
|
]),
|
|
11238
|
-
f("footer",
|
|
11239
|
-
|
|
11232
|
+
f("footer", y9, [
|
|
11233
|
+
M(re, {
|
|
11240
11234
|
label: i.$t("project.template.save.label"),
|
|
11241
11235
|
type: "submit",
|
|
11242
11236
|
color: "primary",
|
|
@@ -11244,13 +11238,13 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11244
11238
|
onClick: o
|
|
11245
11239
|
}, null, 8, ["label"])
|
|
11246
11240
|
])
|
|
11247
|
-
], 40,
|
|
11241
|
+
], 40, d9)
|
|
11248
11242
|
]),
|
|
11249
11243
|
_: 1
|
|
11250
11244
|
}));
|
|
11251
11245
|
}
|
|
11252
11246
|
});
|
|
11253
|
-
const
|
|
11247
|
+
const b9 = Y({
|
|
11254
11248
|
props: {
|
|
11255
11249
|
modelValue: {
|
|
11256
11250
|
type: [String, Number],
|
|
@@ -11268,18 +11262,18 @@ const w9 = Y({
|
|
|
11268
11262
|
}
|
|
11269
11263
|
}
|
|
11270
11264
|
});
|
|
11271
|
-
const
|
|
11272
|
-
function
|
|
11273
|
-
return v(), C("div",
|
|
11265
|
+
const w9 = { class: "tabbar-wrapper" }, $9 = ["onClick"];
|
|
11266
|
+
function k9(t, e, a, s, n, o) {
|
|
11267
|
+
return v(), C("div", w9, [
|
|
11274
11268
|
(v(!0), C(fe, null, _e(t.tabs, (i) => (v(), C("button", {
|
|
11275
11269
|
key: i.value,
|
|
11276
11270
|
class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11277
11271
|
type: "button",
|
|
11278
11272
|
onClick: (l) => t.selectTab(i.value)
|
|
11279
|
-
}, z(i.label), 11,
|
|
11273
|
+
}, z(i.label), 11, $9))), 128))
|
|
11280
11274
|
]);
|
|
11281
11275
|
}
|
|
11282
|
-
const sn = /* @__PURE__ */ U(
|
|
11276
|
+
const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297"]]), S9 = { class: "ao-project" }, A9 = { class: "ao-project__body" }, M9 = /* @__PURE__ */ Y({
|
|
11283
11277
|
__name: "AoProjectOverviewProject",
|
|
11284
11278
|
props: {
|
|
11285
11279
|
project: {},
|
|
@@ -11297,7 +11291,7 @@ const sn = /* @__PURE__ */ U(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11297
11291
|
},
|
|
11298
11292
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "addActivity", "update:activity", "archiveActivity", "copyPhaseToTemplate", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
11299
11293
|
setup(t, { emit: e }) {
|
|
11300
|
-
const a = t, { t: s } = yt(), n =
|
|
11294
|
+
const a = t, { t: s } = yt(), n = A(
|
|
11301
11295
|
() => a.phases.flatMap((T) => T.milestones)
|
|
11302
11296
|
), o = () => {
|
|
11303
11297
|
const { name: T, rank: k } = Mt(a.phases, "phase", s);
|
|
@@ -11332,7 +11326,7 @@ const sn = /* @__PURE__ */ U(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11332
11326
|
e("updateSubtask", T);
|
|
11333
11327
|
}, I = (T) => {
|
|
11334
11328
|
e("deleteSubtask", T);
|
|
11335
|
-
}, D =
|
|
11329
|
+
}, D = A(
|
|
11336
11330
|
() => n.value.flatMap((T) => T.activities)
|
|
11337
11331
|
), E = (T) => {
|
|
11338
11332
|
e("addFiles", T);
|
|
@@ -11361,15 +11355,15 @@ const sn = /* @__PURE__ */ U(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11361
11355
|
const R = ut("RouterView");
|
|
11362
11356
|
return v(), C(fe, null, [
|
|
11363
11357
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11364
|
-
f("div",
|
|
11365
|
-
|
|
11358
|
+
f("div", S9, [
|
|
11359
|
+
M(ba, null, {
|
|
11366
11360
|
primary: N(() => [
|
|
11367
|
-
|
|
11361
|
+
M(sn, {
|
|
11368
11362
|
tabs: L,
|
|
11369
11363
|
modelValue: ee.value,
|
|
11370
11364
|
"onUpdate:modelValue": k[0] || (k[0] = (y) => ee.value = y)
|
|
11371
11365
|
}, null, 8, ["modelValue"]),
|
|
11372
|
-
|
|
11366
|
+
M(re, {
|
|
11373
11367
|
class: "ao-feed__show-archived",
|
|
11374
11368
|
size: "sm",
|
|
11375
11369
|
"icon-name": T.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -11400,8 +11394,8 @@ const sn = /* @__PURE__ */ U(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11400
11394
|
]),
|
|
11401
11395
|
_: 1
|
|
11402
11396
|
}),
|
|
11403
|
-
f("div",
|
|
11404
|
-
|
|
11397
|
+
f("div", A9, [
|
|
11398
|
+
M(fi, {
|
|
11405
11399
|
phases: T.phases,
|
|
11406
11400
|
"closed-status": T.closedStatus,
|
|
11407
11401
|
"is-editable": T.isEditable === !0,
|
|
@@ -11418,7 +11412,7 @@ const sn = /* @__PURE__ */ U(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11418
11412
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
11419
11413
|
])
|
|
11420
11414
|
]),
|
|
11421
|
-
|
|
11415
|
+
M(R, {
|
|
11422
11416
|
class: "ao-project__sidebar",
|
|
11423
11417
|
phases: T.phases,
|
|
11424
11418
|
"project-id": T.project.id,
|
|
@@ -11434,7 +11428,7 @@ const sn = /* @__PURE__ */ U(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11434
11428
|
onUnarchiveActivity: $
|
|
11435
11429
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
11436
11430
|
(v(), V(Tt, { to: "body" }, [
|
|
11437
|
-
|
|
11431
|
+
M(R, {
|
|
11438
11432
|
name: "modal",
|
|
11439
11433
|
activities: D.value,
|
|
11440
11434
|
"is-task-checkable": T.isTaskCheckable,
|
|
@@ -11487,39 +11481,39 @@ const sn = /* @__PURE__ */ U(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11487
11481
|
};
|
|
11488
11482
|
}
|
|
11489
11483
|
});
|
|
11490
|
-
const
|
|
11484
|
+
const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
11491
11485
|
key: 1,
|
|
11492
11486
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11493
|
-
},
|
|
11487
|
+
}, E9 = {
|
|
11494
11488
|
key: 2,
|
|
11495
11489
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
11496
|
-
},
|
|
11490
|
+
}, I9 = { class: "ao-card-feed__body" }, L9 = {
|
|
11497
11491
|
key: 0,
|
|
11498
11492
|
class: "ao-card-feed__breadcrumbs"
|
|
11499
|
-
},
|
|
11493
|
+
}, P9 = {
|
|
11500
11494
|
class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
|
|
11501
|
-
},
|
|
11495
|
+
}, H9 = { class: "ao-card-feed__title-line" }, V9 = {
|
|
11502
11496
|
key: 0,
|
|
11503
11497
|
class: "ao-card-feed__slug"
|
|
11504
|
-
},
|
|
11498
|
+
}, D9 = {
|
|
11505
11499
|
key: 1,
|
|
11506
11500
|
class: "ao-card-feed__deadline"
|
|
11507
|
-
},
|
|
11501
|
+
}, B9 = { class: "ao-card-feed__footer" }, j9 = { class: "ao-card-feed__footer-row" }, R9 = { class: "ao-assignees" }, N9 = {
|
|
11508
11502
|
key: 0,
|
|
11509
11503
|
class: "ao-assignee"
|
|
11510
|
-
},
|
|
11504
|
+
}, U9 = {
|
|
11511
11505
|
key: 0,
|
|
11512
11506
|
class: "ao-card-feed__subitems"
|
|
11513
|
-
},
|
|
11507
|
+
}, F9 = {
|
|
11514
11508
|
key: 0,
|
|
11515
11509
|
class: "ao-card-feed__subitem"
|
|
11516
|
-
},
|
|
11510
|
+
}, Z9 = { class: "ao-card-feed__subitem" }, W9 = {
|
|
11517
11511
|
key: 1,
|
|
11518
11512
|
class: "ao-card-feed__subitem"
|
|
11519
|
-
},
|
|
11513
|
+
}, z9 = { class: "ao-card-feed__subitem" }, q9 = { class: "ao-card-feed__footer-row" }, Y9 = {
|
|
11520
11514
|
key: 0,
|
|
11521
11515
|
class: "ao-card-feed__progress-wrapper"
|
|
11522
|
-
},
|
|
11516
|
+
}, x9 = { class: "ao-card-feed__subitem" }, K9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */ Y({
|
|
11523
11517
|
__name: "AoCardFeed",
|
|
11524
11518
|
props: {
|
|
11525
11519
|
id: {},
|
|
@@ -11543,26 +11537,26 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11543
11537
|
},
|
|
11544
11538
|
emits: ["removeAssignee", "updateActivity"],
|
|
11545
11539
|
setup(t, { emit: e }) {
|
|
11546
|
-
const a = t, s =
|
|
11540
|
+
const a = t, s = A(() => a.tagType === "milestone" ? a.milestoneName : a.projectName), n = A(() => a.tagType === "milestone" ? a.milestoneColor : a.projectColor), o = (h) => {
|
|
11547
11541
|
e("updateActivity", {
|
|
11548
11542
|
id: a.id,
|
|
11549
11543
|
name: h
|
|
11550
11544
|
});
|
|
11551
|
-
}, i =
|
|
11545
|
+
}, i = A(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), l = A(() => a.assignee ? [a.assignee] : []), r = A(() => Qa(a.deadline)), d = (h) => {
|
|
11552
11546
|
e("removeAssignee", h);
|
|
11553
|
-
}, u =
|
|
11547
|
+
}, u = A(() => {
|
|
11554
11548
|
var h;
|
|
11555
11549
|
return (h = a.tasks) == null ? void 0 : h.length;
|
|
11556
|
-
}), c =
|
|
11550
|
+
}), c = A(() => {
|
|
11557
11551
|
var h;
|
|
11558
11552
|
return (h = a.tasks) == null ? void 0 : h.filter((b) => b.isDone).length;
|
|
11559
|
-
}), p =
|
|
11553
|
+
}), p = A(() => (c.value || 0) / (u.value || 1));
|
|
11560
11554
|
return (h, b) => (v(), V(os, {
|
|
11561
11555
|
class: X(["ao-card-feed", { "ao-card-feed--closed": h.isClosed }]),
|
|
11562
11556
|
"is-clickable": !0
|
|
11563
11557
|
}, {
|
|
11564
11558
|
header: N(() => [
|
|
11565
|
-
f("div",
|
|
11559
|
+
f("div", T9, [
|
|
11566
11560
|
s.value ? (v(), V(ra, {
|
|
11567
11561
|
key: 0,
|
|
11568
11562
|
label: s.value,
|
|
@@ -11571,7 +11565,7 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11571
11565
|
color: h.projectColor ? void 0 : "primary",
|
|
11572
11566
|
"raw-color": n.value
|
|
11573
11567
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
11574
|
-
h.isPrivate || h.important || h.isClosed ? (v(), C("div",
|
|
11568
|
+
h.isPrivate || h.important || h.isClosed ? (v(), C("div", O9, [
|
|
11575
11569
|
h.isPrivate ? (v(), V(pe, {
|
|
11576
11570
|
key: 0,
|
|
11577
11571
|
name: "Lock",
|
|
@@ -11590,18 +11584,18 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11590
11584
|
class: "ao-card-feed__closed"
|
|
11591
11585
|
})) : O("", !0)
|
|
11592
11586
|
])) : O("", !0),
|
|
11593
|
-
h.$slots.secondary ? (v(), C("div",
|
|
11587
|
+
h.$slots.secondary ? (v(), C("div", E9, [
|
|
11594
11588
|
te(h.$slots, "secondary")
|
|
11595
11589
|
])) : O("", !0)
|
|
11596
11590
|
])
|
|
11597
11591
|
]),
|
|
11598
11592
|
default: N(() => [
|
|
11599
|
-
f("div",
|
|
11600
|
-
i.value ? (v(), C("span",
|
|
11601
|
-
f("div",
|
|
11602
|
-
f("div",
|
|
11603
|
-
h.slug ? (v(), C("span",
|
|
11604
|
-
|
|
11593
|
+
f("div", I9, [
|
|
11594
|
+
i.value ? (v(), C("span", L9, z(i.value), 1)) : O("", !0),
|
|
11595
|
+
f("div", P9, [
|
|
11596
|
+
f("div", H9, [
|
|
11597
|
+
h.slug ? (v(), C("span", V9, z(h.slug) + ": ", 1)) : O("", !0),
|
|
11598
|
+
M(be, {
|
|
11605
11599
|
id: h.id,
|
|
11606
11600
|
title: h.name,
|
|
11607
11601
|
level: 5,
|
|
@@ -11611,18 +11605,18 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11611
11605
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11612
11606
|
])
|
|
11613
11607
|
]),
|
|
11614
|
-
h.deadline ? (v(), C("span",
|
|
11608
|
+
h.deadline ? (v(), C("span", D9, z(r.value), 1)) : O("", !0)
|
|
11615
11609
|
])
|
|
11616
11610
|
]),
|
|
11617
11611
|
footer: N(() => [
|
|
11618
|
-
f("div",
|
|
11619
|
-
f("div",
|
|
11620
|
-
f("ul",
|
|
11612
|
+
f("div", B9, [
|
|
11613
|
+
f("div", j9, [
|
|
11614
|
+
f("ul", R9, [
|
|
11621
11615
|
(v(!0), C(fe, null, _e(l.value, (_) => (v(), C(fe, {
|
|
11622
11616
|
key: _.id
|
|
11623
11617
|
}, [
|
|
11624
|
-
_ ? (v(), C("li",
|
|
11625
|
-
|
|
11618
|
+
_ ? (v(), C("li", N9, [
|
|
11619
|
+
M(et, {
|
|
11626
11620
|
"user-name": Q(Gn)(_),
|
|
11627
11621
|
"avatar-url": _.avatarUrl,
|
|
11628
11622
|
"is-closable": !0,
|
|
@@ -11631,33 +11625,33 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11631
11625
|
])) : O("", !0)
|
|
11632
11626
|
], 64))), 128))
|
|
11633
11627
|
]),
|
|
11634
|
-
h.comments || h.attachments ? (v(), C("ul",
|
|
11635
|
-
h.comments ? (v(), C("li",
|
|
11636
|
-
|
|
11628
|
+
h.comments || h.attachments ? (v(), C("ul", U9, [
|
|
11629
|
+
h.comments ? (v(), C("li", F9, [
|
|
11630
|
+
M(pe, {
|
|
11637
11631
|
name: "ChatOutline",
|
|
11638
11632
|
size: "sm"
|
|
11639
11633
|
}),
|
|
11640
|
-
f("span",
|
|
11634
|
+
f("span", Z9, z(h.comments), 1)
|
|
11641
11635
|
])) : O("", !0),
|
|
11642
|
-
h.attachments ? (v(), C("li",
|
|
11643
|
-
|
|
11636
|
+
h.attachments ? (v(), C("li", W9, [
|
|
11637
|
+
M(pe, {
|
|
11644
11638
|
name: "AttachFileRounded",
|
|
11645
11639
|
size: "sm"
|
|
11646
11640
|
}),
|
|
11647
|
-
f("span",
|
|
11641
|
+
f("span", z9, z(h.attachments), 1)
|
|
11648
11642
|
])) : O("", !0)
|
|
11649
11643
|
])) : O("", !0)
|
|
11650
11644
|
]),
|
|
11651
|
-
f("div",
|
|
11652
|
-
h.tasks && h.tasks.length ? (v(), C("div",
|
|
11653
|
-
f("div",
|
|
11654
|
-
|
|
11645
|
+
f("div", q9, [
|
|
11646
|
+
h.tasks && h.tasks.length ? (v(), C("div", Y9, [
|
|
11647
|
+
f("div", x9, [
|
|
11648
|
+
M(pe, {
|
|
11655
11649
|
name: "SelectCheckBox",
|
|
11656
11650
|
size: "sm"
|
|
11657
11651
|
}),
|
|
11658
|
-
f("span",
|
|
11652
|
+
f("span", K9, z(c.value) + " / " + z(u.value), 1)
|
|
11659
11653
|
]),
|
|
11660
|
-
|
|
11654
|
+
M(ls, {
|
|
11661
11655
|
percentages: p.value,
|
|
11662
11656
|
class: "ao-card-feed__progress"
|
|
11663
11657
|
}, null, 8, ["percentages"])
|
|
@@ -11669,10 +11663,10 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11669
11663
|
}, 8, ["class"]));
|
|
11670
11664
|
}
|
|
11671
11665
|
});
|
|
11672
|
-
const
|
|
11666
|
+
const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-milestone__header" }, Q9 = { class: "ao-project-milestone__header_line" }, J9 = { class: "ao-project-milestone__header_line" }, e4 = { class: "ao-project-milestone__title" }, t4 = {
|
|
11673
11667
|
key: 0,
|
|
11674
11668
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11675
|
-
},
|
|
11669
|
+
}, a4 = { class: "ao-field__row ao-milestone__field-row" }, s4 = { class: "ao-field ao-field--inline" }, n4 = { class: "ao-field__row ao-milestone__field-row" }, i4 = { class: "ao-field ao-milestone__field-multiselect" }, o4 = ["onClick"], l4 = { class: "ao-project-milestone__body" }, r4 = {
|
|
11676
11670
|
key: 0,
|
|
11677
11671
|
class: "ao-project-milestone__footer"
|
|
11678
11672
|
}, Ln = /* @__PURE__ */ Y({
|
|
@@ -11688,23 +11682,23 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11688
11682
|
},
|
|
11689
11683
|
emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
|
|
11690
11684
|
setup(t, { emit: e }) {
|
|
11691
|
-
const a = t, { t: s } = yt(), n =
|
|
11685
|
+
const a = t, { t: s } = yt(), n = A(() => {
|
|
11692
11686
|
var m;
|
|
11693
11687
|
return (m = a.phases) == null ? void 0 : m.find((I) => I.id === a.phaseId);
|
|
11694
|
-
}), o =
|
|
11688
|
+
}), o = A(
|
|
11695
11689
|
() => {
|
|
11696
11690
|
var m;
|
|
11697
11691
|
return (m = a.phases) == null ? void 0 : m.flatMap((I) => I.milestones);
|
|
11698
11692
|
}
|
|
11699
|
-
), i =
|
|
11693
|
+
), i = A(() => {
|
|
11700
11694
|
var m;
|
|
11701
11695
|
return (m = o.value) == null ? void 0 : m.find((I) => I.id === a.milestoneId);
|
|
11702
|
-
}), l =
|
|
11696
|
+
}), l = A(() => {
|
|
11703
11697
|
var m;
|
|
11704
11698
|
return (m = i.value) == null ? void 0 : m.activities;
|
|
11705
11699
|
});
|
|
11706
11700
|
ce(l, (m, I) => {
|
|
11707
|
-
|
|
11701
|
+
Xe(m, I);
|
|
11708
11702
|
});
|
|
11709
11703
|
const r = (m) => {
|
|
11710
11704
|
e("close", m);
|
|
@@ -11727,7 +11721,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11727
11721
|
id: m.moved.element.id,
|
|
11728
11722
|
rank: Ft(l.value, m.moved.newIndex)
|
|
11729
11723
|
});
|
|
11730
|
-
}, p =
|
|
11724
|
+
}, p = A({
|
|
11731
11725
|
get: () => {
|
|
11732
11726
|
var m;
|
|
11733
11727
|
return (m = i.value) == null ? void 0 : m.color;
|
|
@@ -11738,7 +11732,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11738
11732
|
color: m
|
|
11739
11733
|
});
|
|
11740
11734
|
}
|
|
11741
|
-
}), h =
|
|
11735
|
+
}), h = A({
|
|
11742
11736
|
get: () => {
|
|
11743
11737
|
var m;
|
|
11744
11738
|
return ((m = i == null ? void 0 : i.value) == null ? void 0 : m.deadline) ?? "";
|
|
@@ -11749,14 +11743,14 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11749
11743
|
deadline: m != null && m.length ? m : null
|
|
11750
11744
|
});
|
|
11751
11745
|
}
|
|
11752
|
-
}), b = (m) => a.closedStatus ? Hs(m, a.closedStatus) : !1, _ =
|
|
11746
|
+
}), b = (m) => a.closedStatus ? Hs(m, a.closedStatus) : !1, _ = A(() => {
|
|
11753
11747
|
var m;
|
|
11754
11748
|
return ((m = a.users) == null ? void 0 : m.map((I) => ({
|
|
11755
11749
|
label: `${I.firstName} ${I.lastName}`,
|
|
11756
11750
|
value: I.id,
|
|
11757
11751
|
avatar: I.avatarUrl
|
|
11758
11752
|
}))) || [];
|
|
11759
|
-
}), g =
|
|
11753
|
+
}), g = A({
|
|
11760
11754
|
get() {
|
|
11761
11755
|
var m, I;
|
|
11762
11756
|
return (I = (m = i.value) == null ? void 0 : m.assignee) != null && I.id ? [i.value.assignee.id] : [];
|
|
@@ -11768,7 +11762,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11768
11762
|
// undefined is not a value for GraphQL, we have to use null to reset a value
|
|
11769
11763
|
});
|
|
11770
11764
|
}
|
|
11771
|
-
}), $ =
|
|
11765
|
+
}), $ = A({
|
|
11772
11766
|
get() {
|
|
11773
11767
|
var m;
|
|
11774
11768
|
return ((m = i.value) == null ? void 0 : m.important) ?? !1;
|
|
@@ -11782,10 +11776,10 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11782
11776
|
};
|
|
11783
11777
|
return (m, I) => {
|
|
11784
11778
|
var D;
|
|
11785
|
-
return v(), C("div",
|
|
11786
|
-
f("header",
|
|
11787
|
-
f("div",
|
|
11788
|
-
|
|
11779
|
+
return v(), C("div", G9, [
|
|
11780
|
+
f("header", X9, [
|
|
11781
|
+
f("div", Q9, [
|
|
11782
|
+
M(re, {
|
|
11789
11783
|
"icon-name": "CloseRounded",
|
|
11790
11784
|
variant: "ghost",
|
|
11791
11785
|
size: "sm",
|
|
@@ -11793,13 +11787,13 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11793
11787
|
onClick: r
|
|
11794
11788
|
})
|
|
11795
11789
|
]),
|
|
11796
|
-
f("div",
|
|
11797
|
-
f("div",
|
|
11798
|
-
|
|
11790
|
+
f("div", J9, [
|
|
11791
|
+
f("div", e4, [
|
|
11792
|
+
M(be, {
|
|
11799
11793
|
title: ((D = i.value) == null ? void 0 : D.name) || m.milestoneId,
|
|
11800
11794
|
level: 5
|
|
11801
11795
|
}, null, 8, ["title"]),
|
|
11802
|
-
|
|
11796
|
+
M(As, {
|
|
11803
11797
|
modelValue: $.value,
|
|
11804
11798
|
"onUpdate:modelValue": I[0] || (I[0] = (E) => $.value = E),
|
|
11805
11799
|
modelModifiers: { lazy: !0 },
|
|
@@ -11813,9 +11807,9 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11813
11807
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11814
11808
|
])
|
|
11815
11809
|
]),
|
|
11816
|
-
i.value ? (v(), C("div",
|
|
11817
|
-
f("div",
|
|
11818
|
-
f("label",
|
|
11810
|
+
i.value ? (v(), C("div", t4, [
|
|
11811
|
+
f("div", a4, [
|
|
11812
|
+
f("label", s4, [
|
|
11819
11813
|
De(f("input", {
|
|
11820
11814
|
"onUpdate:modelValue": I[1] || (I[1] = (E) => h.value = E),
|
|
11821
11815
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11830,9 +11824,9 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11830
11824
|
])
|
|
11831
11825
|
])
|
|
11832
11826
|
]),
|
|
11833
|
-
f("div",
|
|
11834
|
-
f("label",
|
|
11835
|
-
|
|
11827
|
+
f("div", n4, [
|
|
11828
|
+
f("label", i4, [
|
|
11829
|
+
M(Se, {
|
|
11836
11830
|
modelValue: g.value,
|
|
11837
11831
|
"onUpdate:modelValue": I[2] || (I[2] = (E) => g.value = E),
|
|
11838
11832
|
options: _.value,
|
|
@@ -11849,7 +11843,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11849
11843
|
option: E,
|
|
11850
11844
|
handleTagRemove: F
|
|
11851
11845
|
}) => [
|
|
11852
|
-
|
|
11846
|
+
M(et, {
|
|
11853
11847
|
"user-name": E.label,
|
|
11854
11848
|
"avatar-url": E.avatar,
|
|
11855
11849
|
"is-closable": !0,
|
|
@@ -11860,23 +11854,23 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11860
11854
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11861
11855
|
])
|
|
11862
11856
|
]),
|
|
11863
|
-
|
|
11857
|
+
M(an, {
|
|
11864
11858
|
color: p.value,
|
|
11865
11859
|
"onUpdate:color": I[3] || (I[3] = (E) => p.value = E)
|
|
11866
11860
|
}, {
|
|
11867
11861
|
clickable: N(({ openPicker: E, bgColor: F }) => [
|
|
11868
11862
|
f("button", {
|
|
11869
|
-
style:
|
|
11863
|
+
style: Qe({ background: F }),
|
|
11870
11864
|
class: "color-button",
|
|
11871
11865
|
onClick: (W) => w(W, E)
|
|
11872
|
-
}, null, 12,
|
|
11866
|
+
}, null, 12, o4)
|
|
11873
11867
|
]),
|
|
11874
11868
|
_: 1
|
|
11875
11869
|
}, 8, ["color"])
|
|
11876
11870
|
])) : O("", !0)
|
|
11877
11871
|
]),
|
|
11878
|
-
f("div",
|
|
11879
|
-
|
|
11872
|
+
f("div", l4, [
|
|
11873
|
+
M(Q(gt), Ae({
|
|
11880
11874
|
class: "ao-project-milestone__activities",
|
|
11881
11875
|
list: l.value,
|
|
11882
11876
|
disabled: !m.isEditable,
|
|
@@ -11886,7 +11880,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11886
11880
|
item: N(({ element: E }) => {
|
|
11887
11881
|
var F, W, K, J, ae;
|
|
11888
11882
|
return [
|
|
11889
|
-
|
|
11883
|
+
M(gi, {
|
|
11890
11884
|
id: E.id,
|
|
11891
11885
|
name: E.name || E.id,
|
|
11892
11886
|
"phase-name": (F = n.value) == null ? void 0 : F.name,
|
|
@@ -11946,8 +11940,8 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11946
11940
|
}),
|
|
11947
11941
|
_: 1
|
|
11948
11942
|
}, 16, ["list", "disabled"]),
|
|
11949
|
-
m.isEditable ? (v(), C("div",
|
|
11950
|
-
|
|
11943
|
+
m.isEditable ? (v(), C("div", r4, [
|
|
11944
|
+
M(Ct, {
|
|
11951
11945
|
"icon-name": "Add",
|
|
11952
11946
|
label: m.$t("project.activity.add"),
|
|
11953
11947
|
onClick: d
|
|
@@ -11958,7 +11952,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11958
11952
|
};
|
|
11959
11953
|
}
|
|
11960
11954
|
});
|
|
11961
|
-
const
|
|
11955
|
+
const u4 = /* @__PURE__ */ Y({
|
|
11962
11956
|
__name: "AoProjectOverviewActivityDetails",
|
|
11963
11957
|
props: {
|
|
11964
11958
|
phaseId: {},
|
|
@@ -11977,18 +11971,18 @@ const c4 = /* @__PURE__ */ Y({
|
|
|
11977
11971
|
},
|
|
11978
11972
|
emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
11979
11973
|
setup(t, { emit: e }) {
|
|
11980
|
-
const a = t, s =
|
|
11974
|
+
const a = t, s = A(() => {
|
|
11981
11975
|
var g;
|
|
11982
11976
|
return (g = a.phases) == null ? void 0 : g.find(($) => $.id === a.phaseId);
|
|
11983
|
-
}), n =
|
|
11977
|
+
}), n = A(
|
|
11984
11978
|
() => {
|
|
11985
11979
|
var g;
|
|
11986
11980
|
return (g = a.phases) == null ? void 0 : g.flatMap(($) => $.milestones);
|
|
11987
11981
|
}
|
|
11988
|
-
), o =
|
|
11982
|
+
), o = A(() => {
|
|
11989
11983
|
var g;
|
|
11990
11984
|
return (g = n.value) == null ? void 0 : g.find(($) => $.id === a.milestoneId);
|
|
11991
|
-
}), i =
|
|
11985
|
+
}), i = A(() => {
|
|
11992
11986
|
var g;
|
|
11993
11987
|
return (g = a.activities) == null ? void 0 : g.find(($) => $.id === a.activityId);
|
|
11994
11988
|
}), l = (g) => {
|
|
@@ -12045,15 +12039,15 @@ const c4 = /* @__PURE__ */ Y({
|
|
|
12045
12039
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
12046
12040
|
};
|
|
12047
12041
|
}
|
|
12048
|
-
}),
|
|
12042
|
+
}), c4 = { class: "ao-col-header" }, d4 = /* @__PURE__ */ Y({
|
|
12049
12043
|
__name: "AoColHeader",
|
|
12050
12044
|
props: {
|
|
12051
12045
|
title: {},
|
|
12052
12046
|
items: {}
|
|
12053
12047
|
},
|
|
12054
12048
|
setup(t) {
|
|
12055
|
-
return (e, a) => (v(), C("header",
|
|
12056
|
-
|
|
12049
|
+
return (e, a) => (v(), C("header", c4, [
|
|
12050
|
+
M(be, {
|
|
12057
12051
|
title: e.title,
|
|
12058
12052
|
class: "ao-col-header__title",
|
|
12059
12053
|
level: 4
|
|
@@ -12068,17 +12062,17 @@ const c4 = /* @__PURE__ */ Y({
|
|
|
12068
12062
|
]));
|
|
12069
12063
|
}
|
|
12070
12064
|
});
|
|
12071
|
-
function
|
|
12065
|
+
function p4(t) {
|
|
12072
12066
|
return Fi() ? (Zi(t), !0) : !1;
|
|
12073
12067
|
}
|
|
12074
12068
|
function za(t) {
|
|
12075
12069
|
return typeof t == "function" ? t() : Q(t);
|
|
12076
12070
|
}
|
|
12077
|
-
const
|
|
12071
|
+
const v4 = typeof window < "u" && typeof document < "u";
|
|
12078
12072
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12079
|
-
const
|
|
12073
|
+
const f4 = (t) => t != null, la = () => {
|
|
12080
12074
|
};
|
|
12081
|
-
function
|
|
12075
|
+
function h4(t, e) {
|
|
12082
12076
|
function a(...s) {
|
|
12083
12077
|
return new Promise((n, o) => {
|
|
12084
12078
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -12086,7 +12080,7 @@ function m4(t, e) {
|
|
|
12086
12080
|
}
|
|
12087
12081
|
return a;
|
|
12088
12082
|
}
|
|
12089
|
-
function
|
|
12083
|
+
function m4(t, e = {}) {
|
|
12090
12084
|
let a, s, n = la;
|
|
12091
12085
|
const o = (l) => {
|
|
12092
12086
|
clearTimeout(l), n(), n = la;
|
|
@@ -12102,9 +12096,9 @@ function g4(t, e = {}) {
|
|
|
12102
12096
|
});
|
|
12103
12097
|
};
|
|
12104
12098
|
}
|
|
12105
|
-
function
|
|
12106
|
-
return
|
|
12107
|
-
|
|
12099
|
+
function g4(t, e = 200, a = {}) {
|
|
12100
|
+
return h4(
|
|
12101
|
+
m4(e, a),
|
|
12108
12102
|
t
|
|
12109
12103
|
);
|
|
12110
12104
|
}
|
|
@@ -12113,27 +12107,27 @@ function bs(t) {
|
|
|
12113
12107
|
const a = za(t);
|
|
12114
12108
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12115
12109
|
}
|
|
12116
|
-
const
|
|
12117
|
-
function
|
|
12110
|
+
const C4 = v4 ? window : void 0;
|
|
12111
|
+
function _4() {
|
|
12118
12112
|
const t = q(!1), e = Lt();
|
|
12119
12113
|
return e && It(() => {
|
|
12120
12114
|
t.value = !0;
|
|
12121
12115
|
}, e), t;
|
|
12122
12116
|
}
|
|
12123
|
-
function
|
|
12124
|
-
const e =
|
|
12125
|
-
return
|
|
12117
|
+
function y4(t) {
|
|
12118
|
+
const e = _4();
|
|
12119
|
+
return A(() => (e.value, !!t()));
|
|
12126
12120
|
}
|
|
12127
|
-
function
|
|
12121
|
+
function b4(t, e, a = {}) {
|
|
12128
12122
|
const {
|
|
12129
12123
|
root: s,
|
|
12130
12124
|
rootMargin: n = "0px",
|
|
12131
12125
|
threshold: o = 0.1,
|
|
12132
|
-
window: i =
|
|
12126
|
+
window: i = C4,
|
|
12133
12127
|
immediate: l = !0
|
|
12134
|
-
} = a, r =
|
|
12128
|
+
} = a, r = y4(() => i && "IntersectionObserver" in i), d = A(() => {
|
|
12135
12129
|
const b = za(t);
|
|
12136
|
-
return (Array.isArray(b) ? b : [b]).map(bs).filter(
|
|
12130
|
+
return (Array.isArray(b) ? b : [b]).map(bs).filter(f4);
|
|
12137
12131
|
});
|
|
12138
12132
|
let u = la;
|
|
12139
12133
|
const c = q(l), p = r.value ? ce(
|
|
@@ -12157,7 +12151,7 @@ function w4(t, e, a = {}) {
|
|
|
12157
12151
|
) : la, h = () => {
|
|
12158
12152
|
u(), p(), c.value = !1;
|
|
12159
12153
|
};
|
|
12160
|
-
return
|
|
12154
|
+
return p4(h), {
|
|
12161
12155
|
isSupported: r,
|
|
12162
12156
|
isActive: c,
|
|
12163
12157
|
pause() {
|
|
@@ -12169,24 +12163,24 @@ function w4(t, e, a = {}) {
|
|
|
12169
12163
|
stop: h
|
|
12170
12164
|
};
|
|
12171
12165
|
}
|
|
12172
|
-
const
|
|
12166
|
+
const w4 = {
|
|
12173
12167
|
class: /* @__PURE__ */ X(["ao-list-kanban"])
|
|
12174
|
-
},
|
|
12168
|
+
}, $4 = { class: "ao-list-kanban__header" }, k4 = {
|
|
12175
12169
|
key: 0,
|
|
12176
12170
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
12177
|
-
},
|
|
12171
|
+
}, S4 = {
|
|
12178
12172
|
key: 1,
|
|
12179
12173
|
class: "ao-list-kanban__end"
|
|
12180
|
-
},
|
|
12174
|
+
}, A4 = {
|
|
12181
12175
|
key: 0,
|
|
12182
12176
|
class: "ao-list-kanban__no-more"
|
|
12183
|
-
},
|
|
12177
|
+
}, M4 = {
|
|
12184
12178
|
key: 1,
|
|
12185
12179
|
class: "ao-list-kanban__divider"
|
|
12186
|
-
},
|
|
12180
|
+
}, T4 = {
|
|
12187
12181
|
key: 1,
|
|
12188
12182
|
class: "ao-list-kanban__footer"
|
|
12189
|
-
},
|
|
12183
|
+
}, O4 = /* @__PURE__ */ Y({
|
|
12190
12184
|
__name: "AoListKanban",
|
|
12191
12185
|
props: {
|
|
12192
12186
|
list: {},
|
|
@@ -12204,7 +12198,7 @@ const $4 = {
|
|
|
12204
12198
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
12205
12199
|
setup(t, { emit: e }) {
|
|
12206
12200
|
const a = t, s = q(!1), n = q(null);
|
|
12207
|
-
|
|
12201
|
+
b4(n, ([{ isIntersecting: u }]) => {
|
|
12208
12202
|
s.value = u;
|
|
12209
12203
|
}), ce(s, (u) => {
|
|
12210
12204
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12229,12 +12223,12 @@ const $4 = {
|
|
|
12229
12223
|
)
|
|
12230
12224
|
});
|
|
12231
12225
|
}, d = q(!1);
|
|
12232
|
-
return (u, c) => (v(), C("div",
|
|
12226
|
+
return (u, c) => (v(), C("div", w4, [
|
|
12233
12227
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12234
12228
|
var p;
|
|
12235
12229
|
return [
|
|
12236
|
-
f("div",
|
|
12237
|
-
u.title ? (v(), V(
|
|
12230
|
+
f("div", $4, [
|
|
12231
|
+
u.title ? (v(), V(d4, {
|
|
12238
12232
|
key: 0,
|
|
12239
12233
|
title: u.title,
|
|
12240
12234
|
level: 3,
|
|
@@ -12243,7 +12237,7 @@ const $4 = {
|
|
|
12243
12237
|
])
|
|
12244
12238
|
];
|
|
12245
12239
|
}) : O("", !0),
|
|
12246
|
-
|
|
12240
|
+
M(Q(gt), Ae({
|
|
12247
12241
|
class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
|
|
12248
12242
|
list: u.list,
|
|
12249
12243
|
"item-key": "id",
|
|
@@ -12264,7 +12258,7 @@ const $4 = {
|
|
|
12264
12258
|
item: N(({ element: p }) => {
|
|
12265
12259
|
var h, b, _, g, $, w, m, I, D;
|
|
12266
12260
|
return [
|
|
12267
|
-
|
|
12261
|
+
M(gi, {
|
|
12268
12262
|
class: X(o(p) ? "ao-list-draggable" : ""),
|
|
12269
12263
|
id: p.id,
|
|
12270
12264
|
name: p.name,
|
|
@@ -12320,20 +12314,20 @@ const $4 = {
|
|
|
12320
12314
|
];
|
|
12321
12315
|
}),
|
|
12322
12316
|
footer: N(() => [
|
|
12323
|
-
u.isLoading ? (v(), C("div",
|
|
12324
|
-
|
|
12317
|
+
u.isLoading ? (v(), C("div", k4, [
|
|
12318
|
+
M(pe, { name: "Loading" })
|
|
12325
12319
|
])) : u.hasMore ? (v(), C("div", {
|
|
12326
12320
|
key: 2,
|
|
12327
12321
|
ref_key: "scrollEnd",
|
|
12328
12322
|
ref: n,
|
|
12329
12323
|
class: "ao-list-kanban__end"
|
|
12330
|
-
}, null, 512)) : (v(), C("div",
|
|
12331
|
-
u.noMoreLabel ? (v(), C("span",
|
|
12324
|
+
}, null, 512)) : (v(), C("div", S4, [
|
|
12325
|
+
u.noMoreLabel ? (v(), C("span", A4, z(u.noMoreLabel), 1)) : u.isEditable ? (v(), C("span", M4)) : O("", !0)
|
|
12332
12326
|
]))
|
|
12333
12327
|
]),
|
|
12334
12328
|
_: 1
|
|
12335
12329
|
}, 16, ["class", "list", "disabled"]),
|
|
12336
|
-
u.$slots.footer || u.footerLabel ? (v(), C("div",
|
|
12330
|
+
u.$slots.footer || u.footerLabel ? (v(), C("div", T4, [
|
|
12337
12331
|
te(u.$slots, "footer", {}, () => [
|
|
12338
12332
|
u.isEditable ? (v(), V(Ct, {
|
|
12339
12333
|
key: 0,
|
|
@@ -12346,7 +12340,7 @@ const $4 = {
|
|
|
12346
12340
|
]));
|
|
12347
12341
|
}
|
|
12348
12342
|
});
|
|
12349
|
-
const
|
|
12343
|
+
const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ Y({
|
|
12350
12344
|
__name: "AoSearchField",
|
|
12351
12345
|
props: {
|
|
12352
12346
|
modelValue: {},
|
|
@@ -12358,10 +12352,10 @@ const I4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
12358
12352
|
const a = t, s = async (i) => {
|
|
12359
12353
|
const r = i.target.value;
|
|
12360
12354
|
e("update:modelValue", r, i);
|
|
12361
|
-
}, n =
|
|
12355
|
+
}, n = g4(s, a.delay), o = (i) => {
|
|
12362
12356
|
e("clear", i);
|
|
12363
12357
|
};
|
|
12364
|
-
return (i, l) => (v(), C("div",
|
|
12358
|
+
return (i, l) => (v(), C("div", E4, [
|
|
12365
12359
|
f("input", {
|
|
12366
12360
|
value: i.modelValue,
|
|
12367
12361
|
type: "text",
|
|
@@ -12370,12 +12364,12 @@ const I4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
12370
12364
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12371
12365
|
(...r) => Q(n) && Q(n)(...r)),
|
|
12372
12366
|
onKeypress: pt(s, ["enter"])
|
|
12373
|
-
}, null, 40,
|
|
12374
|
-
|
|
12367
|
+
}, null, 40, I4),
|
|
12368
|
+
M(pe, {
|
|
12375
12369
|
name: "SearchRounded",
|
|
12376
12370
|
class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
12377
12371
|
}, null, 8, ["class"]),
|
|
12378
|
-
|
|
12372
|
+
M(re, {
|
|
12379
12373
|
"icon-name": "CloseRounded",
|
|
12380
12374
|
size: "sm",
|
|
12381
12375
|
color: "primary",
|
|
@@ -12386,7 +12380,7 @@ const I4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
12386
12380
|
]));
|
|
12387
12381
|
}
|
|
12388
12382
|
});
|
|
12389
|
-
const
|
|
12383
|
+
const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { class: "ao-feed__body" }, D4 = /* @__PURE__ */ Y({
|
|
12390
12384
|
__name: "AoFeed",
|
|
12391
12385
|
props: {
|
|
12392
12386
|
activities: {},
|
|
@@ -12416,7 +12410,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12416
12410
|
}
|
|
12417
12411
|
const o = Rt(a, "activities"), i = async (k, R) => {
|
|
12418
12412
|
await e("selectActivity", k, R);
|
|
12419
|
-
}, l = q({}), r = q(!1), d = q(!1), u =
|
|
12413
|
+
}, l = q({}), r = q(!1), d = q(!1), u = A(() => a.project ? "milestone" : "project");
|
|
12420
12414
|
ce(
|
|
12421
12415
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12422
12416
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -12429,11 +12423,11 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12429
12423
|
return ((x = P.status) == null ? void 0 : x.id) === Z.id;
|
|
12430
12424
|
})
|
|
12431
12425
|
])
|
|
12432
|
-
), y && !r.value ? (i(y, null), r.value = !0) : H && !r.value && (i(null, H), r.value = !0), d.value &&
|
|
12426
|
+
), y && !r.value ? (i(y, null), r.value = !0) : H && !r.value && (i(null, H), r.value = !0), d.value && Xe(R, ne);
|
|
12433
12427
|
},
|
|
12434
12428
|
{ immediate: !0 }
|
|
12435
12429
|
);
|
|
12436
|
-
const c =
|
|
12430
|
+
const c = A(() => {
|
|
12437
12431
|
var k;
|
|
12438
12432
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((k = a.selectedActivity.milestone.phase) == null ? void 0 : k.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12439
12433
|
}), p = (k) => {
|
|
@@ -12446,18 +12440,18 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12446
12440
|
a.filters.assigneeId.length > 0 && (oe.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (oe.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (oe.typeId = a.filters.typeId[0]), d.value = !0, e("addActivity", oe);
|
|
12447
12441
|
}, h = (k, R) => {
|
|
12448
12442
|
d.value = !1, e("update:filters", { ...a.filters, [k]: R });
|
|
12449
|
-
}, b =
|
|
12443
|
+
}, b = A(
|
|
12450
12444
|
() => a.project ? [a.project] : a.projects ?? []
|
|
12451
|
-
), _ =
|
|
12445
|
+
), _ = A(() => b.value.map((k) => ({
|
|
12452
12446
|
value: k.id,
|
|
12453
12447
|
label: k.name
|
|
12454
|
-
}))), g =
|
|
12448
|
+
}))), g = A(() => {
|
|
12455
12449
|
var k;
|
|
12456
12450
|
return (k = a.activityTypes) == null ? void 0 : k.map((R) => ({
|
|
12457
12451
|
value: R.id,
|
|
12458
12452
|
label: R.name
|
|
12459
12453
|
}));
|
|
12460
|
-
}), $ =
|
|
12454
|
+
}), $ = A(() => a.users.map((k) => ({
|
|
12461
12455
|
value: k.id,
|
|
12462
12456
|
label: `${k.firstName} ${k.lastName}`,
|
|
12463
12457
|
avatar: k.avatarUrl
|
|
@@ -12503,16 +12497,16 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12503
12497
|
k === "feed" ? (ee.push({ name: ye.feed }), console.log("Navigating to feed...")) : k === "overview" ? (ee.push({ name: ye.project }), console.log("Navigating to feed...")) : k === "mapping" && (ee.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12504
12498
|
}), (k, R) => {
|
|
12505
12499
|
var y;
|
|
12506
|
-
return v(), C("div",
|
|
12507
|
-
|
|
12500
|
+
return v(), C("div", P4, [
|
|
12501
|
+
M(ba, null, {
|
|
12508
12502
|
primary: N(() => [
|
|
12509
|
-
f("div",
|
|
12510
|
-
|
|
12503
|
+
f("div", H4, [
|
|
12504
|
+
M(sn, {
|
|
12511
12505
|
tabs: T,
|
|
12512
12506
|
modelValue: L.value,
|
|
12513
12507
|
"onUpdate:modelValue": R[0] || (R[0] = (H) => L.value = H)
|
|
12514
12508
|
}, null, 8, ["modelValue"]),
|
|
12515
|
-
|
|
12509
|
+
M(L4, {
|
|
12516
12510
|
"model-value": k.searchText,
|
|
12517
12511
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12518
12512
|
class: "ao-feed__search",
|
|
@@ -12556,7 +12550,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12556
12550
|
option: H,
|
|
12557
12551
|
handleTagRemove: oe
|
|
12558
12552
|
}) => [
|
|
12559
|
-
|
|
12553
|
+
M(et, {
|
|
12560
12554
|
"user-name": H.label,
|
|
12561
12555
|
"avatar-url": H.avatar,
|
|
12562
12556
|
"is-closable": !0,
|
|
@@ -12566,7 +12560,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12566
12560
|
_: 1
|
|
12567
12561
|
}, 8, ["model-value", "options", "placeholder"])) : O("", !0)
|
|
12568
12562
|
]),
|
|
12569
|
-
|
|
12563
|
+
M(re, {
|
|
12570
12564
|
class: "ao-feed__only-non-assigned",
|
|
12571
12565
|
size: "sm",
|
|
12572
12566
|
"icon-name": k.showsOnlyNonAssigned ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12578,7 +12572,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12578
12572
|
"aria-checked": k.showsOnlyNonAssigned,
|
|
12579
12573
|
onClick: R[4] || (R[4] = (H) => k.$emit("update:showsOnlyNonAssigned", !k.showsOnlyNonAssigned))
|
|
12580
12574
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12581
|
-
|
|
12575
|
+
M(re, {
|
|
12582
12576
|
class: "ao-feed__only-important",
|
|
12583
12577
|
size: "sm",
|
|
12584
12578
|
"icon-name": k.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12590,7 +12584,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12590
12584
|
"aria-checked": k.showsOnlyImportant,
|
|
12591
12585
|
onClick: R[5] || (R[5] = (H) => k.$emit("update:showsOnlyImportant", !k.showsOnlyImportant))
|
|
12592
12586
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12593
|
-
|
|
12587
|
+
M(re, {
|
|
12594
12588
|
class: "ao-feed__show-archived",
|
|
12595
12589
|
size: "sm",
|
|
12596
12590
|
"icon-name": k.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12605,8 +12599,8 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12605
12599
|
]),
|
|
12606
12600
|
_: 1
|
|
12607
12601
|
}),
|
|
12608
|
-
f("div",
|
|
12609
|
-
(v(!0), C(fe, null, _e(k.statuses, (H) => (v(), V(
|
|
12602
|
+
f("div", V4, [
|
|
12603
|
+
(v(!0), C(fe, null, _e(k.statuses, (H) => (v(), V(O4, {
|
|
12610
12604
|
key: H.id,
|
|
12611
12605
|
status: H,
|
|
12612
12606
|
list: l.value[H.id],
|
|
@@ -12660,10 +12654,10 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12660
12654
|
};
|
|
12661
12655
|
}
|
|
12662
12656
|
});
|
|
12663
|
-
const
|
|
12657
|
+
const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-mapping__body" }, R4 = { class: "ao-project-mapping-mapping__phases" }, N4 = {
|
|
12664
12658
|
key: 0,
|
|
12665
12659
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12666
|
-
},
|
|
12660
|
+
}, U4 = ["src", "alt"], F4 = /* @__PURE__ */ Y({
|
|
12667
12661
|
__name: "AoMapping",
|
|
12668
12662
|
props: {
|
|
12669
12663
|
project: {},
|
|
@@ -12707,15 +12701,15 @@ const j4 = { class: "ao-project-mapping" }, R4 = { class: "ao-project-mapping-ma
|
|
|
12707
12701
|
g === "feed" ? (h.push({ name: ye.feed }), console.log("Navigating to feed...")) : g === "overview" ? (h.push({ name: ye.project }), console.log("Navigating to feed...")) : g === "mapping" && (h.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12708
12702
|
}), (g, $) => (v(), C(fe, null, [
|
|
12709
12703
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12710
|
-
f("div",
|
|
12711
|
-
|
|
12704
|
+
f("div", B4, [
|
|
12705
|
+
M(ba, null, {
|
|
12712
12706
|
primary: N(() => [
|
|
12713
|
-
|
|
12707
|
+
M(sn, {
|
|
12714
12708
|
modelValue: b.value,
|
|
12715
12709
|
"onUpdate:modelValue": $[0] || ($[0] = (w) => b.value = w),
|
|
12716
12710
|
tabs: _
|
|
12717
12711
|
}, null, 8, ["modelValue"]),
|
|
12718
|
-
|
|
12712
|
+
M(re, {
|
|
12719
12713
|
class: "ao-feed__show-archived",
|
|
12720
12714
|
size: "sm",
|
|
12721
12715
|
"icon-name": g.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12746,9 +12740,9 @@ const j4 = { class: "ao-project-mapping" }, R4 = { class: "ao-project-mapping-ma
|
|
|
12746
12740
|
]),
|
|
12747
12741
|
_: 1
|
|
12748
12742
|
}),
|
|
12749
|
-
f("div",
|
|
12750
|
-
f("div",
|
|
12751
|
-
|
|
12743
|
+
f("div", j4, [
|
|
12744
|
+
f("div", R4, [
|
|
12745
|
+
M(fi, {
|
|
12752
12746
|
phases: g.phases,
|
|
12753
12747
|
"closed-status": g.closedStatus,
|
|
12754
12748
|
"is-editable": g.isEditable === !0,
|
|
@@ -12760,12 +12754,12 @@ const j4 = { class: "ao-project-mapping" }, R4 = { class: "ao-project-mapping-ma
|
|
|
12760
12754
|
onCopyPhaseToTemplate: r
|
|
12761
12755
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
12762
12756
|
]),
|
|
12763
|
-
g.project.architectureImage ? (v(), C("div",
|
|
12757
|
+
g.project.architectureImage ? (v(), C("div", N4, [
|
|
12764
12758
|
f("img", {
|
|
12765
12759
|
class: "architecture-image",
|
|
12766
12760
|
src: g.project.architectureImage.url,
|
|
12767
12761
|
alt: Q(s)("architectureImage.alt")
|
|
12768
|
-
}, null, 8,
|
|
12762
|
+
}, null, 8, U4)
|
|
12769
12763
|
])) : O("", !0)
|
|
12770
12764
|
])
|
|
12771
12765
|
])
|
|
@@ -12792,7 +12786,7 @@ const jt = {
|
|
|
12792
12786
|
TEMPLATES: "templates",
|
|
12793
12787
|
TEMPLATE_DETAILS: "template_details",
|
|
12794
12788
|
TEMPLATES_LIST: "templates_list"
|
|
12795
|
-
},
|
|
12789
|
+
}, i8 = (t, e = {}) => [
|
|
12796
12790
|
{
|
|
12797
12791
|
path: t,
|
|
12798
12792
|
name: jt.TEMPLATES,
|
|
@@ -12802,12 +12796,12 @@ const jt = {
|
|
|
12802
12796
|
{
|
|
12803
12797
|
path: "",
|
|
12804
12798
|
name: jt.TEMPLATES_LIST,
|
|
12805
|
-
component:
|
|
12799
|
+
component: W4
|
|
12806
12800
|
},
|
|
12807
12801
|
{
|
|
12808
12802
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12809
12803
|
name: jt.TEMPLATE_DETAILS,
|
|
12810
|
-
component:
|
|
12804
|
+
component: Rf,
|
|
12811
12805
|
props: !0
|
|
12812
12806
|
}
|
|
12813
12807
|
]
|
|
@@ -12818,7 +12812,7 @@ const jt = {
|
|
|
12818
12812
|
mapping: "AoProjectMapping",
|
|
12819
12813
|
milestone: "AoMilestone",
|
|
12820
12814
|
activity: "AoActivity"
|
|
12821
|
-
},
|
|
12815
|
+
}, o8 = (t, e = {}) => [
|
|
12822
12816
|
{
|
|
12823
12817
|
path: t,
|
|
12824
12818
|
...e,
|
|
@@ -12827,7 +12821,7 @@ const jt = {
|
|
|
12827
12821
|
{
|
|
12828
12822
|
path: "",
|
|
12829
12823
|
name: ye.project,
|
|
12830
|
-
component:
|
|
12824
|
+
component: M9,
|
|
12831
12825
|
props: !0,
|
|
12832
12826
|
children: [
|
|
12833
12827
|
{
|
|
@@ -12842,7 +12836,7 @@ const jt = {
|
|
|
12842
12836
|
props: { default: !0, modal: !0 },
|
|
12843
12837
|
components: {
|
|
12844
12838
|
default: Ln,
|
|
12845
|
-
modal:
|
|
12839
|
+
modal: u4
|
|
12846
12840
|
}
|
|
12847
12841
|
}
|
|
12848
12842
|
]
|
|
@@ -12850,18 +12844,18 @@ const jt = {
|
|
|
12850
12844
|
{
|
|
12851
12845
|
path: "feed",
|
|
12852
12846
|
name: ye.feed,
|
|
12853
|
-
component:
|
|
12847
|
+
component: D4,
|
|
12854
12848
|
props: !0
|
|
12855
12849
|
},
|
|
12856
12850
|
{
|
|
12857
12851
|
path: "mapping",
|
|
12858
12852
|
name: ye.mapping,
|
|
12859
|
-
component:
|
|
12853
|
+
component: F4,
|
|
12860
12854
|
props: !0
|
|
12861
12855
|
}
|
|
12862
12856
|
]
|
|
12863
12857
|
}
|
|
12864
|
-
],
|
|
12858
|
+
], Z4 = { class: "ao-templates" }, W4 = /* @__PURE__ */ Y({
|
|
12865
12859
|
__name: "AoTemplatesList",
|
|
12866
12860
|
props: {
|
|
12867
12861
|
templates: {}
|
|
@@ -12870,7 +12864,7 @@ const jt = {
|
|
|
12870
12864
|
setup(t, { emit: e }) {
|
|
12871
12865
|
const a = t, { t: s } = yt();
|
|
12872
12866
|
ce(() => a.templates, (r, d) => {
|
|
12873
|
-
|
|
12867
|
+
Xe(r, d);
|
|
12874
12868
|
});
|
|
12875
12869
|
const n = () => {
|
|
12876
12870
|
var p, h;
|
|
@@ -12910,10 +12904,10 @@ const jt = {
|
|
|
12910
12904
|
});
|
|
12911
12905
|
}
|
|
12912
12906
|
};
|
|
12913
|
-
return (r, d) => (v(), C("div",
|
|
12914
|
-
|
|
12907
|
+
return (r, d) => (v(), C("div", Z4, [
|
|
12908
|
+
M(ba, null, {
|
|
12915
12909
|
secondary: N(() => [
|
|
12916
|
-
|
|
12910
|
+
M(re, {
|
|
12917
12911
|
label: r.$t("templates.new"),
|
|
12918
12912
|
color: "primary",
|
|
12919
12913
|
"icon-name": "Add",
|
|
@@ -12923,7 +12917,7 @@ const jt = {
|
|
|
12923
12917
|
]),
|
|
12924
12918
|
_: 1
|
|
12925
12919
|
}),
|
|
12926
|
-
|
|
12920
|
+
M(Q(gt), {
|
|
12927
12921
|
"model-value": r.templates,
|
|
12928
12922
|
class: "ao-templates__list",
|
|
12929
12923
|
"item-key": "id",
|
|
@@ -12933,7 +12927,7 @@ const jt = {
|
|
|
12933
12927
|
item: N(({ element: u }) => {
|
|
12934
12928
|
var c;
|
|
12935
12929
|
return [
|
|
12936
|
-
|
|
12930
|
+
M(c5, {
|
|
12937
12931
|
id: u.id,
|
|
12938
12932
|
title: u.name,
|
|
12939
12933
|
phases: u.phases,
|
|
@@ -12955,7 +12949,7 @@ const jt = {
|
|
|
12955
12949
|
]));
|
|
12956
12950
|
}
|
|
12957
12951
|
});
|
|
12958
|
-
const
|
|
12952
|
+
const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ Y({
|
|
12959
12953
|
__name: "AoField",
|
|
12960
12954
|
props: {
|
|
12961
12955
|
label: {},
|
|
@@ -12965,11 +12959,11 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ Y({
|
|
|
12965
12959
|
return (e, a) => (v(), C("label", {
|
|
12966
12960
|
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12967
12961
|
}, [
|
|
12968
|
-
f("span",
|
|
12962
|
+
f("span", z4, z(e.label), 1),
|
|
12969
12963
|
te(e.$slots, "default")
|
|
12970
12964
|
], 2));
|
|
12971
12965
|
}
|
|
12972
|
-
}),
|
|
12966
|
+
}), Y4 = ["type", "value", "disabled", "readonly"], l8 = /* @__PURE__ */ Y({
|
|
12973
12967
|
__name: "AoInputField",
|
|
12974
12968
|
props: {
|
|
12975
12969
|
label: { default: "" },
|
|
@@ -12981,12 +12975,12 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ Y({
|
|
|
12981
12975
|
},
|
|
12982
12976
|
emits: ["update:modelValue"],
|
|
12983
12977
|
setup(t, { emit: e }) {
|
|
12984
|
-
const a = t, s =
|
|
12978
|
+
const a = t, s = A(
|
|
12985
12979
|
() => a.modelModifiers.lazy ? "change" : "input"
|
|
12986
12980
|
), n = (o) => {
|
|
12987
12981
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12988
12982
|
};
|
|
12989
|
-
return (o, i) => (v(), V(
|
|
12983
|
+
return (o, i) => (v(), V(q4, { label: o.label }, {
|
|
12990
12984
|
default: N(() => [
|
|
12991
12985
|
f("input", Ae({
|
|
12992
12986
|
class: "ao-field__input",
|
|
@@ -12996,12 +12990,12 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ Y({
|
|
|
12996
12990
|
readonly: o.isReadonly
|
|
12997
12991
|
}, {
|
|
12998
12992
|
[Wi(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12999
|
-
}), null, 16,
|
|
12993
|
+
}), null, 16, Y4)
|
|
13000
12994
|
]),
|
|
13001
12995
|
_: 1
|
|
13002
12996
|
}, 8, ["label"]));
|
|
13003
12997
|
}
|
|
13004
|
-
}),
|
|
12998
|
+
}), x4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = ["checked", "disabled"], r8 = /* @__PURE__ */ Y({
|
|
13005
12999
|
__name: "AoCheckboxField",
|
|
13006
13000
|
props: {
|
|
13007
13001
|
label: { default: "" },
|
|
@@ -13011,8 +13005,8 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ Y({
|
|
|
13011
13005
|
},
|
|
13012
13006
|
emits: ["update:modelValue"],
|
|
13013
13007
|
setup(t) {
|
|
13014
|
-
return (e, a) => (v(), C("label",
|
|
13015
|
-
f("span",
|
|
13008
|
+
return (e, a) => (v(), C("label", x4, [
|
|
13009
|
+
f("span", K4, z(e.label), 1),
|
|
13016
13010
|
f("input", {
|
|
13017
13011
|
class: "ao-field__input",
|
|
13018
13012
|
type: "checkbox",
|
|
@@ -13025,29 +13019,29 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ Y({
|
|
|
13025
13019
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
13026
13020
|
);
|
|
13027
13021
|
})
|
|
13028
|
-
}, null, 40,
|
|
13022
|
+
}, null, 40, G4)
|
|
13029
13023
|
]));
|
|
13030
13024
|
}
|
|
13031
13025
|
});
|
|
13032
13026
|
export {
|
|
13033
|
-
|
|
13027
|
+
et as AoAvatar,
|
|
13034
13028
|
gi as AoCardFeed,
|
|
13035
|
-
|
|
13036
|
-
|
|
13037
|
-
|
|
13038
|
-
|
|
13029
|
+
r8 as AoCheckboxField,
|
|
13030
|
+
D4 as AoFeed,
|
|
13031
|
+
q4 as AoField,
|
|
13032
|
+
l8 as AoInputField,
|
|
13039
13033
|
Se as AoMultiselect,
|
|
13040
13034
|
fi as AoProjectPhases,
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13035
|
+
Rf as AoTemplateDetails,
|
|
13036
|
+
t8 as AoTemplates,
|
|
13037
|
+
W4 as AoTemplatesList,
|
|
13044
13038
|
G2 as TemplateItemTypeEnum,
|
|
13045
|
-
|
|
13046
|
-
|
|
13039
|
+
s8 as activityFeedStatus,
|
|
13040
|
+
a8 as durationTypes,
|
|
13047
13041
|
Dt as feedFilterTypes,
|
|
13048
|
-
|
|
13049
|
-
|
|
13050
|
-
|
|
13042
|
+
o8 as getProjectOverviewRoutes,
|
|
13043
|
+
i8 as getTemplateRoutes,
|
|
13044
|
+
n8 as listUpdateTypes,
|
|
13051
13045
|
Ba as milestoneStatus,
|
|
13052
13046
|
ye as projectOverviewRoutes,
|
|
13053
13047
|
Y2 as ruleComparators,
|