@26lights/orcha 0.37.8 → 0.37.10
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 +332 -332
- 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 z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as
|
|
1
|
+
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const f8 = /* @__PURE__ */ z({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1134,7 +1134,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1134
1134
|
SOLID: "solid",
|
|
1135
1135
|
GHOST: "ghost",
|
|
1136
1136
|
OUTLINE: "outline"
|
|
1137
|
-
},
|
|
1137
|
+
}, Wa = {
|
|
1138
1138
|
SM: "sm",
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
@@ -1159,7 +1159,7 @@ const Os = {
|
|
|
1159
1159
|
__name: "AoIcon",
|
|
1160
1160
|
props: {
|
|
1161
1161
|
name: {},
|
|
1162
|
-
size: { default:
|
|
1162
|
+
size: { default: Wa.MD }
|
|
1163
1163
|
},
|
|
1164
1164
|
setup(t) {
|
|
1165
1165
|
const e = t, a = S(() => k2[e.name]);
|
|
@@ -1181,7 +1181,7 @@ const M2 = ["type"], T2 = {
|
|
|
1181
1181
|
type: { default: () => "button" },
|
|
1182
1182
|
color: {},
|
|
1183
1183
|
footer: { type: Boolean, default: () => !1 },
|
|
1184
|
-
size: { default: () =>
|
|
1184
|
+
size: { default: () => Wa.MD },
|
|
1185
1185
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1186
1186
|
corners: { default: () => Os.ROUNDED }
|
|
1187
1187
|
},
|
|
@@ -1297,7 +1297,7 @@ const ye = /* @__PURE__ */ z({
|
|
|
1297
1297
|
onKeydown: dt(Q(d), ["esc"])
|
|
1298
1298
|
}), {
|
|
1299
1299
|
default: W(() => [
|
|
1300
|
-
|
|
1300
|
+
Fa(G(y.title), 1)
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 1
|
|
1303
1303
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const qa = /* @__PURE__ */ z({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1413,13 +1413,13 @@ const ra = /* @__PURE__ */ z({
|
|
|
1413
1413
|
s.closable ? "ao-tag--closable" : "",
|
|
1414
1414
|
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1415
1415
|
]),
|
|
1416
|
-
style:
|
|
1416
|
+
style: Ua(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1417
1417
|
}, [
|
|
1418
1418
|
(p(), P(ht(a.value), He({ class: "ao-tag__label" }, n.value, {
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1420
1420
|
}), {
|
|
1421
1421
|
default: W(() => [
|
|
1422
|
-
|
|
1422
|
+
Fa(G(s.label), 1)
|
|
1423
1423
|
]),
|
|
1424
1424
|
_: 1
|
|
1425
1425
|
}, 16)),
|
|
@@ -1441,11 +1441,11 @@ const Cn = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, v8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, h8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const Cn = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const m8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1478,13 +1478,13 @@ const v8 = {
|
|
|
1478
1478
|
type: "typeId",
|
|
1479
1479
|
assignee: "assigneeId"
|
|
1480
1480
|
};
|
|
1481
|
-
function
|
|
1481
|
+
function Ha(t) {
|
|
1482
1482
|
"@babel/helpers - typeof";
|
|
1483
|
-
return
|
|
1483
|
+
return Ha = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1484
1484
|
return typeof e;
|
|
1485
1485
|
} : function(e) {
|
|
1486
1486
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1487
|
-
},
|
|
1487
|
+
}, Ha(t);
|
|
1488
1488
|
}
|
|
1489
1489
|
function Qe(t) {
|
|
1490
1490
|
if (t === null || t === !0 || t === !1)
|
|
@@ -1499,7 +1499,7 @@ function ge(t, e) {
|
|
|
1499
1499
|
function be(t) {
|
|
1500
1500
|
ge(1, arguments);
|
|
1501
1501
|
var e = Object.prototype.toString.call(t);
|
|
1502
|
-
return t instanceof Date ||
|
|
1502
|
+
return t instanceof Date || Ha(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
1503
1503
|
}
|
|
1504
1504
|
function U2(t, e) {
|
|
1505
1505
|
ge(2, arguments);
|
|
@@ -1507,10 +1507,10 @@ function U2(t, e) {
|
|
|
1507
1507
|
return new Date(a + n);
|
|
1508
1508
|
}
|
|
1509
1509
|
var Z2 = {};
|
|
1510
|
-
function
|
|
1510
|
+
function va() {
|
|
1511
1511
|
return Z2;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function ra(t) {
|
|
1514
1514
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1515
1515
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1516
1516
|
}
|
|
@@ -1522,7 +1522,7 @@ function rs(t) {
|
|
|
1522
1522
|
var W2 = 864e5;
|
|
1523
1523
|
function q2(t, e) {
|
|
1524
1524
|
ge(2, arguments);
|
|
1525
|
-
var a = rs(t), n = rs(e), s = a.getTime() -
|
|
1525
|
+
var a = rs(t), n = rs(e), s = a.getTime() - ra(a), o = n.getTime() - ra(n);
|
|
1526
1526
|
return Math.round((s - o) / W2);
|
|
1527
1527
|
}
|
|
1528
1528
|
function z2(t, e) {
|
|
@@ -1532,7 +1532,7 @@ function z2(t, e) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
var Ls = 6e4, Hs = 36e5;
|
|
1534
1534
|
function x2(t) {
|
|
1535
|
-
return ge(1, arguments), t instanceof Date ||
|
|
1535
|
+
return ge(1, arguments), t instanceof Date || Ha(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1536
1536
|
}
|
|
1537
1537
|
function Ds(t) {
|
|
1538
1538
|
if (ge(1, arguments), !x2(t) && typeof t != "number")
|
|
@@ -1553,7 +1553,7 @@ function K2(t) {
|
|
|
1553
1553
|
var n = e.getTime(), s = a - n;
|
|
1554
1554
|
return Math.floor(s / Y2) + 1;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function Da(t) {
|
|
1557
1557
|
ge(1, arguments);
|
|
1558
1558
|
var e = 1, a = be(t), n = a.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1559
1559
|
return a.setUTCDate(a.getUTCDate() - s), a.setUTCHours(0, 0, 0, 0), a;
|
|
@@ -1562,28 +1562,28 @@ function Ps(t) {
|
|
|
1562
1562
|
ge(1, arguments);
|
|
1563
1563
|
var e = be(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1564
1564
|
n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
1565
|
-
var s =
|
|
1565
|
+
var s = Da(n), o = /* @__PURE__ */ new Date(0);
|
|
1566
1566
|
o.setUTCFullYear(a, 0, 4), o.setUTCHours(0, 0, 0, 0);
|
|
1567
|
-
var i =
|
|
1567
|
+
var i = Da(o);
|
|
1568
1568
|
return e.getTime() >= s.getTime() ? a + 1 : e.getTime() >= i.getTime() ? a : a - 1;
|
|
1569
1569
|
}
|
|
1570
1570
|
function G2(t) {
|
|
1571
1571
|
ge(1, arguments);
|
|
1572
1572
|
var e = Ps(t), a = /* @__PURE__ */ new Date(0);
|
|
1573
1573
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1574
|
-
var n =
|
|
1574
|
+
var n = Da(a);
|
|
1575
1575
|
return n;
|
|
1576
1576
|
}
|
|
1577
1577
|
var X2 = 6048e5;
|
|
1578
1578
|
function Q2(t) {
|
|
1579
1579
|
ge(1, arguments);
|
|
1580
|
-
var e = be(t), a =
|
|
1580
|
+
var e = be(t), a = Da(e).getTime() - G2(e).getTime();
|
|
1581
1581
|
return Math.round(a / X2) + 1;
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function Pa(t, e) {
|
|
1584
1584
|
var a, n, s, o, i, r, l, c;
|
|
1585
1585
|
ge(1, arguments);
|
|
1586
|
-
var u =
|
|
1586
|
+
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1587
1587
|
if (!(f >= 0 && f <= 6))
|
|
1588
1588
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1589
1589
|
var d = be(t), h = d.getUTCDay(), w = (h < f ? 7 : 0) + h - f;
|
|
@@ -1592,28 +1592,28 @@ function Va(t, e) {
|
|
|
1592
1592
|
function Vs(t, e) {
|
|
1593
1593
|
var a, n, s, o, i, r, l, c;
|
|
1594
1594
|
ge(1, arguments);
|
|
1595
|
-
var u = be(t), f = u.getUTCFullYear(), d =
|
|
1595
|
+
var u = be(t), f = u.getUTCFullYear(), d = va(), h = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1596
1596
|
if (!(h >= 1 && h <= 7))
|
|
1597
1597
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1598
1598
|
var w = /* @__PURE__ */ new Date(0);
|
|
1599
1599
|
w.setUTCFullYear(f + 1, 0, h), w.setUTCHours(0, 0, 0, 0);
|
|
1600
|
-
var b =
|
|
1600
|
+
var b = Pa(w, e), y = /* @__PURE__ */ new Date(0);
|
|
1601
1601
|
y.setUTCFullYear(f, 0, h), y.setUTCHours(0, 0, 0, 0);
|
|
1602
|
-
var k =
|
|
1602
|
+
var k = Pa(y, e);
|
|
1603
1603
|
return u.getTime() >= b.getTime() ? f + 1 : u.getTime() >= k.getTime() ? f : f - 1;
|
|
1604
1604
|
}
|
|
1605
1605
|
function J2(t, e) {
|
|
1606
1606
|
var a, n, s, o, i, r, l, c;
|
|
1607
1607
|
ge(1, arguments);
|
|
1608
|
-
var u =
|
|
1608
|
+
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Vs(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1609
1609
|
h.setUTCFullYear(d, 0, f), h.setUTCHours(0, 0, 0, 0);
|
|
1610
|
-
var w =
|
|
1610
|
+
var w = Pa(h, e);
|
|
1611
1611
|
return w;
|
|
1612
1612
|
}
|
|
1613
1613
|
var e0 = 6048e5;
|
|
1614
1614
|
function t0(t, e) {
|
|
1615
1615
|
ge(1, arguments);
|
|
1616
|
-
var a = be(t), n =
|
|
1616
|
+
var a = be(t), n = Pa(a, e).getTime() - J2(a, e).getTime();
|
|
1617
1617
|
return Math.round(n / e0) + 1;
|
|
1618
1618
|
}
|
|
1619
1619
|
function ue(t, e) {
|
|
@@ -2724,7 +2724,7 @@ var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|
|
|
|
2724
2724
|
function Ns(t, e, a) {
|
|
2725
2725
|
var n, s, o, i, r, l, c, u, f, d, h, w, b, y, k, _, C, D;
|
|
2726
2726
|
ge(2, arguments);
|
|
2727
|
-
var I = String(e), H =
|
|
2727
|
+
var I = String(e), H = va(), F = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Rs, U = Qe((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = H.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2728
2728
|
if (!(U >= 1 && U <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
2730
|
var q = Qe((h = (w = (b = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (k = a.locale) === null || k === void 0 || (_ = k.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && b !== void 0 ? b : H.weekStartsOn) !== null && w !== void 0 ? w : (C = H.locale) === null || C === void 0 || (D = C.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
@@ -2737,7 +2737,7 @@ function Ns(t, e, a) {
|
|
|
2737
2737
|
var O = be(t);
|
|
2738
2738
|
if (!Ds(O))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var x =
|
|
2740
|
+
var x = ra(O), R = gn(O, x), Z = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
2742
2742
|
weekStartsOn: q,
|
|
2743
2743
|
locale: F,
|
|
@@ -2771,7 +2771,7 @@ function t3(t) {
|
|
|
2771
2771
|
function a3(t, e, a) {
|
|
2772
2772
|
var n, s, o, i, r, l, c, u, f, d;
|
|
2773
2773
|
ge(2, arguments);
|
|
2774
|
-
var h = be(t), w = be(e), b =
|
|
2774
|
+
var h = be(t), w = be(e), b = va(), y = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n : Rs, k = Qe((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : b.weekStartsOn) !== null && i !== void 0 ? i : (f = b.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2775
2775
|
if (!y.localize)
|
|
2776
2776
|
throw new RangeError("locale must contain localize property");
|
|
2777
2777
|
if (!y.formatLong)
|
|
@@ -2783,7 +2783,7 @@ function a3(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var C;
|
|
2785
2785
|
_ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
|
|
2786
|
-
var D = gn(h,
|
|
2786
|
+
var D = gn(h, ra(h)), I = gn(w, ra(w)), H = y.formatRelative(C, D, I, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: k
|
|
2789
2789
|
});
|
|
@@ -2792,7 +2792,7 @@ function a3(t, e, a) {
|
|
|
2792
2792
|
weekStartsOn: k
|
|
2793
2793
|
});
|
|
2794
2794
|
}
|
|
2795
|
-
function
|
|
2795
|
+
function la(t, e) {
|
|
2796
2796
|
var a;
|
|
2797
2797
|
ge(1, arguments);
|
|
2798
2798
|
var n = Qe((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
@@ -2819,17 +2819,17 @@ function ua(t, e) {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
return new Date(r + l + c);
|
|
2821
2821
|
}
|
|
2822
|
-
var
|
|
2822
|
+
var Aa = {
|
|
2823
2823
|
dateTimeDelimiter: /[T ]/,
|
|
2824
2824
|
timeZoneDelimiter: /[Z ]/i,
|
|
2825
2825
|
timezone: /([Z+-].*)$/
|
|
2826
2826
|
}, n3 = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, s3 = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, i3 = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
2827
2827
|
function o3(t) {
|
|
2828
|
-
var e = {}, a = t.split(
|
|
2828
|
+
var e = {}, a = t.split(Aa.dateTimeDelimiter), n;
|
|
2829
2829
|
if (a.length > 2)
|
|
2830
2830
|
return e;
|
|
2831
|
-
if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1],
|
|
2832
|
-
var s =
|
|
2831
|
+
if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1], Aa.timeZoneDelimiter.test(e.date) && (e.date = t.split(Aa.timeZoneDelimiter)[0], n = t.substr(e.date.length, t.length))), n) {
|
|
2832
|
+
var s = Aa.timezone.exec(n);
|
|
2833
2833
|
s ? (e.time = n.replace(s[1], ""), e.timezone = s[1]) : e.time = n;
|
|
2834
2834
|
}
|
|
2835
2835
|
return e;
|
|
@@ -2906,7 +2906,7 @@ function m3(t, e, a) {
|
|
|
2906
2906
|
function C3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
|
-
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {},
|
|
2909
|
+
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, za = {};
|
|
2910
2910
|
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
2911
2911
|
za.lexoHelper = void 0;
|
|
2912
2912
|
za.lexoHelper = {
|
|
@@ -2918,8 +2918,8 @@ function g3(t, e, a, n, s) {
|
|
|
2918
2918
|
for (let r = e; r < i; r++)
|
|
2919
2919
|
a[o] = t[r], ++o;
|
|
2920
2920
|
}
|
|
2921
|
-
var
|
|
2922
|
-
Object.defineProperty(
|
|
2921
|
+
var ma = {};
|
|
2922
|
+
Object.defineProperty(ma, "__esModule", { value: !0 });
|
|
2923
2923
|
class _3 {
|
|
2924
2924
|
constructor(e = "") {
|
|
2925
2925
|
this.str = e;
|
|
@@ -2943,10 +2943,10 @@ class _3 {
|
|
|
2943
2943
|
return this.str;
|
|
2944
2944
|
}
|
|
2945
2945
|
}
|
|
2946
|
-
|
|
2946
|
+
ma.default = _3;
|
|
2947
2947
|
Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
2948
2948
|
Yt.LexoInteger = void 0;
|
|
2949
|
-
const
|
|
2949
|
+
const Ma = za, y3 = ma;
|
|
2950
2950
|
class se {
|
|
2951
2951
|
constructor(e, a, n) {
|
|
2952
2952
|
this.sys = e, this.sign = a, this.mag = n;
|
|
@@ -2975,7 +2975,7 @@ class se {
|
|
|
2975
2975
|
if (s === n.length)
|
|
2976
2976
|
return new se(e, a, n);
|
|
2977
2977
|
const o = new Array(s).fill(0);
|
|
2978
|
-
return
|
|
2978
|
+
return Ma.lexoHelper.arrayCopy(n, 0, o, 0, s), new se(e, a, o);
|
|
2979
2979
|
}
|
|
2980
2980
|
static add(e, a, n) {
|
|
2981
2981
|
const s = Math.max(a.length, n.length), o = new Array(s).fill(0);
|
|
@@ -2992,7 +2992,7 @@ class se {
|
|
|
2992
2992
|
static extendWithCarry(e, a) {
|
|
2993
2993
|
if (a > 0) {
|
|
2994
2994
|
const n = new Array(e.length + 1).fill(0);
|
|
2995
|
-
return
|
|
2995
|
+
return Ma.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = a, n;
|
|
2996
2996
|
}
|
|
2997
2997
|
return e;
|
|
2998
2998
|
}
|
|
@@ -3076,13 +3076,13 @@ class se {
|
|
|
3076
3076
|
if (e < 0)
|
|
3077
3077
|
return this.shiftRight(Math.abs(e));
|
|
3078
3078
|
const a = new Array(this.mag.length + e).fill(0);
|
|
3079
|
-
return
|
|
3079
|
+
return Ma.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), se.make(this.sys, this.sign, a);
|
|
3080
3080
|
}
|
|
3081
3081
|
shiftRight(e = 1) {
|
|
3082
3082
|
if (this.mag.length - e <= 0)
|
|
3083
3083
|
return se.zero(this.sys);
|
|
3084
3084
|
const a = new Array(this.mag.length - e).fill(0);
|
|
3085
|
-
return
|
|
3085
|
+
return Ma.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), se.make(this.sys, this.sign, a);
|
|
3086
3086
|
}
|
|
3087
3087
|
complement() {
|
|
3088
3088
|
return this.complementDigits(this.mag.length);
|
|
@@ -3146,9 +3146,9 @@ se.ONE_MAG = [1];
|
|
|
3146
3146
|
se.NEGATIVE_SIGN = -1;
|
|
3147
3147
|
se.ZERO_SIGN = 0;
|
|
3148
3148
|
se.POSITIVE_SIGN = 1;
|
|
3149
|
-
Object.defineProperty(
|
|
3150
|
-
|
|
3151
|
-
const na = Yt, b3 =
|
|
3149
|
+
Object.defineProperty(ha, "__esModule", { value: !0 });
|
|
3150
|
+
ha.LexoDecimal = void 0;
|
|
3151
|
+
const na = Yt, b3 = ma;
|
|
3152
3152
|
class Oe {
|
|
3153
3153
|
constructor(e, a) {
|
|
3154
3154
|
this.mag = e, this.sig = a;
|
|
@@ -3252,12 +3252,12 @@ class Oe {
|
|
|
3252
3252
|
return this.format();
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
|
-
|
|
3256
|
-
var
|
|
3255
|
+
ha.LexoDecimal = Oe;
|
|
3256
|
+
var Ta = {}, ps;
|
|
3257
3257
|
function Us() {
|
|
3258
3258
|
if (ps)
|
|
3259
|
-
return
|
|
3260
|
-
ps = 1, Object.defineProperty(
|
|
3259
|
+
return Ta;
|
|
3260
|
+
ps = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
|
|
3261
3261
|
const t = Yt, e = Ws();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
@@ -3309,7 +3309,7 @@ function Us() {
|
|
|
3309
3309
|
return this === s ? !0 : s ? this.value.equals(s.value) : !1;
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
|
-
return
|
|
3312
|
+
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
3314
|
var Mn = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
@@ -3427,7 +3427,7 @@ function Ws() {
|
|
|
3427
3427
|
if (fs)
|
|
3428
3428
|
return aa;
|
|
3429
3429
|
fs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
-
const t =
|
|
3430
|
+
const t = ha, e = Us(), a = ma, n = Mn;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3613,7 +3613,7 @@ function Ws() {
|
|
|
3613
3613
|
for (var o in n)
|
|
3614
3614
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3615
3615
|
};
|
|
3616
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Ws(), t), a(Us(), t), a(
|
|
3616
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Ws(), t), a(Us(), t), a(ha, t), a(Yt, t);
|
|
3617
3617
|
})(Fs);
|
|
3618
3618
|
(function(t) {
|
|
3619
3619
|
var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
@@ -3652,7 +3652,7 @@ function A3(t) {
|
|
|
3652
3652
|
function M3(t) {
|
|
3653
3653
|
return t.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function Ca(t, e) {
|
|
3656
3656
|
if (t.moved)
|
|
3657
3657
|
return jt(e, t.moved.newIndex);
|
|
3658
3658
|
}
|
|
@@ -3674,7 +3674,7 @@ function jt(t, e) {
|
|
|
3674
3674
|
function Tn(t, e = "dd/MM/yyyy") {
|
|
3675
3675
|
if (!t)
|
|
3676
3676
|
return "";
|
|
3677
|
-
const a =
|
|
3677
|
+
const a = la(t);
|
|
3678
3678
|
return Ds(a) ? Ns(a, e) : "";
|
|
3679
3679
|
}
|
|
3680
3680
|
function On(t, e) {
|
|
@@ -3701,7 +3701,7 @@ const zs = (t) => {
|
|
|
3701
3701
|
userName: {},
|
|
3702
3702
|
avatarUrl: {},
|
|
3703
3703
|
isClosable: { type: Boolean },
|
|
3704
|
-
size: { default:
|
|
3704
|
+
size: { default: Wa.MD },
|
|
3705
3705
|
color: { default: "primary" }
|
|
3706
3706
|
},
|
|
3707
3707
|
emits: ["close"],
|
|
@@ -3764,7 +3764,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3764
3764
|
title: n.title,
|
|
3765
3765
|
"is-draggable": !0,
|
|
3766
3766
|
"onUpdate:title": a
|
|
3767
|
-
},
|
|
3767
|
+
}, Za({
|
|
3768
3768
|
subtitle: W(() => [
|
|
3769
3769
|
v("ul", H3, [
|
|
3770
3770
|
v("li", D3, [
|
|
@@ -3794,7 +3794,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3794
3794
|
v("span", F3, G(n.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
n.phases ? (p(), g("ul", U3, [
|
|
3797
|
-
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(
|
|
3797
|
+
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(qa, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -3870,7 +3870,7 @@ const a5 = ["type"], n5 = {
|
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
3872
|
color: { default: () => An.BLACK },
|
|
3873
|
-
size: { default: () =>
|
|
3873
|
+
size: { default: () => Wa.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Os.ROUNDED }
|
|
3876
3876
|
},
|
|
@@ -4007,7 +4007,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4007
4007
|
e("updateMilestone", r);
|
|
4008
4008
|
}, i = (r) => {
|
|
4009
4009
|
if (r.moved) {
|
|
4010
|
-
const l =
|
|
4010
|
+
const l = Ca(r, a.phase.milestones);
|
|
4011
4011
|
e("updateMilestone", {
|
|
4012
4012
|
id: r.moved.element.id,
|
|
4013
4013
|
rank: l
|
|
@@ -4097,7 +4097,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4097
4097
|
e("removeActivity", { id: r });
|
|
4098
4098
|
}, i = (r) => {
|
|
4099
4099
|
if (r.moved) {
|
|
4100
|
-
const l =
|
|
4100
|
+
const l = Ca(r, a.milestone.activities);
|
|
4101
4101
|
e("updateActivity", {
|
|
4102
4102
|
id: r.moved.element.id,
|
|
4103
4103
|
rank: l
|
|
@@ -4189,7 +4189,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4189
4189
|
], 2));
|
|
4190
4190
|
}
|
|
4191
4191
|
});
|
|
4192
|
-
const
|
|
4192
|
+
const ua = Math.min, Ee = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) => ({
|
|
4193
4193
|
x: t,
|
|
4194
4194
|
y: t
|
|
4195
4195
|
}), b5 = {
|
|
@@ -4226,10 +4226,10 @@ function k5(t, e, a) {
|
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
4227
4227
|
const n = Xa(t), s = Ys(t), o = xs(s);
|
|
4228
4228
|
let i = s === "x" ? n === (a ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4229
|
-
return e.reference[o] > e.floating[o] && (i =
|
|
4229
|
+
return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
|
|
4230
4230
|
}
|
|
4231
4231
|
function S5(t) {
|
|
4232
|
-
const e =
|
|
4232
|
+
const e = Ba(t);
|
|
4233
4233
|
return [_n(t), e, _n(e)];
|
|
4234
4234
|
}
|
|
4235
4235
|
function _n(t) {
|
|
@@ -4253,7 +4253,7 @@ function M5(t, e, a, n) {
|
|
|
4253
4253
|
let o = A5(Ft(t), a === "start", n);
|
|
4254
4254
|
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(_n)))), o;
|
|
4255
4255
|
}
|
|
4256
|
-
function
|
|
4256
|
+
function Ba(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => b5[e]);
|
|
4258
4258
|
}
|
|
4259
4259
|
function T5(t) {
|
|
@@ -4273,7 +4273,7 @@ function O5(t) {
|
|
|
4273
4273
|
left: t
|
|
4274
4274
|
};
|
|
4275
4275
|
}
|
|
4276
|
-
function
|
|
4276
|
+
function Ra(t) {
|
|
4277
4277
|
return {
|
|
4278
4278
|
...t,
|
|
4279
4279
|
top: t.y,
|
|
@@ -4410,7 +4410,7 @@ async function Ks(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: h = 0
|
|
4413
|
-
} = Ln(e, t), w = O5(h), y = r[d ? f === "floating" ? "reference" : "floating" : f], k =
|
|
4413
|
+
} = Ln(e, t), w = O5(h), y = r[d ? f === "floating" ? "reference" : "floating" : f], k = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(y))) == null || a ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4425,7 +4425,7 @@ async function Ks(t, e) {
|
|
|
4425
4425
|
} : {
|
|
4426
4426
|
x: 1,
|
|
4427
4427
|
y: 1
|
|
4428
|
-
}, I =
|
|
4428
|
+
}, I = Ra(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4429
4429
|
rect: _,
|
|
4430
4430
|
offsetParent: C,
|
|
4431
4431
|
strategy: l
|
|
@@ -4461,7 +4461,7 @@ const I5 = function(t) {
|
|
|
4461
4461
|
} = Ln(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
|
-
const k = Ft(s), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [
|
|
4464
|
+
const k = Ft(s), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [Ba(r)] : S5(r));
|
|
4465
4465
|
!d && w !== "none" && D.push(...M5(r, b, w, C));
|
|
4466
4466
|
const I = [r, ...D], H = await Ks(e, y), F = [];
|
|
4467
4467
|
let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
@@ -4532,10 +4532,10 @@ const I5 = function(t) {
|
|
|
4532
4532
|
let C = y, D = k;
|
|
4533
4533
|
if (f) {
|
|
4534
4534
|
const H = d - l.left - l.right;
|
|
4535
|
-
D = u || _ ?
|
|
4535
|
+
D = u || _ ? ua(k, H) : H;
|
|
4536
4536
|
} else {
|
|
4537
4537
|
const H = h - l.top - l.bottom;
|
|
4538
|
-
C = u || _ ?
|
|
4538
|
+
C = u || _ ? ua(y, H) : H;
|
|
4539
4539
|
}
|
|
4540
4540
|
if (_ && !u) {
|
|
4541
4541
|
const H = Ee(l.left, 0), F = Ee(l.right, 0), U = Ee(l.top, 0), q = Ee(l.bottom, 0);
|
|
@@ -4578,7 +4578,7 @@ function Ue(t) {
|
|
|
4578
4578
|
function hs(t) {
|
|
4579
4579
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof ke(t).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
|
-
function
|
|
4581
|
+
function ga(t) {
|
|
4582
4582
|
const {
|
|
4583
4583
|
overflow: e,
|
|
4584
4584
|
overflowX: a,
|
|
@@ -4635,18 +4635,18 @@ function Ut(t) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
4638
|
-
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) &&
|
|
4638
|
+
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
|
|
4639
4639
|
}
|
|
4640
|
-
function
|
|
4640
|
+
function ca(t, e, a) {
|
|
4641
4641
|
var n;
|
|
4642
4642
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4643
4643
|
const s = Xs(t), o = s === ((n = t.ownerDocument) == null ? void 0 : n.body), i = ke(s);
|
|
4644
|
-
return o ? e.concat(i, i.visualViewport || [],
|
|
4644
|
+
return o ? e.concat(i, i.visualViewport || [], ga(s) ? s : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(s, ca(s));
|
|
4645
4645
|
}
|
|
4646
4646
|
function Qs(t) {
|
|
4647
4647
|
const e = Ve(t);
|
|
4648
4648
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4649
|
-
const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r =
|
|
4649
|
+
const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
|
|
4650
4650
|
return r && (a = o, n = i), {
|
|
4651
4651
|
width: a,
|
|
4652
4652
|
height: n,
|
|
@@ -4665,7 +4665,7 @@ function Vt(t) {
|
|
|
4665
4665
|
height: s,
|
|
4666
4666
|
$: o
|
|
4667
4667
|
} = Qs(e);
|
|
4668
|
-
let i = (o ?
|
|
4668
|
+
let i = (o ? Va(a.width) : a.width) / n, r = (o ? Va(a.height) : a.height) / s;
|
|
4669
4669
|
return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
4670
4670
|
x: i,
|
|
4671
4671
|
y: r
|
|
@@ -4697,7 +4697,7 @@ function St(t, e, a, n) {
|
|
|
4697
4697
|
l *= b.x, c *= b.y, u *= b.x, f *= b.y, l += _, c += C, w = ke(w).frameElement;
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
4700
|
-
return
|
|
4700
|
+
return Ra({
|
|
4701
4701
|
width: u,
|
|
4702
4702
|
height: f,
|
|
4703
4703
|
x: l,
|
|
@@ -4718,7 +4718,7 @@ function B5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" ||
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)), Ue(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4786,7 +4786,7 @@ function ms(t, e, a) {
|
|
|
4786
4786
|
y: e.y - s.y
|
|
4787
4787
|
};
|
|
4788
4788
|
}
|
|
4789
|
-
return
|
|
4789
|
+
return Ra(n);
|
|
4790
4790
|
}
|
|
4791
4791
|
function ti(t, e) {
|
|
4792
4792
|
const a = Ut(t);
|
|
@@ -4796,12 +4796,12 @@ function U5(t, e) {
|
|
|
4796
4796
|
const a = e.get(t);
|
|
4797
4797
|
if (a)
|
|
4798
4798
|
return a;
|
|
4799
|
-
let n =
|
|
4799
|
+
let n = ca(t, [], !1).filter((r) => et(r) && ft(r) !== "body"), s = null;
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
4802
|
for (; et(i) && !Qa(i); ) {
|
|
4803
4803
|
const r = Ve(i), l = Dn(i);
|
|
4804
|
-
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) ||
|
|
4804
|
+
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
|
|
4805
4805
|
}
|
|
4806
4806
|
return e.set(t, n), n;
|
|
4807
4807
|
}
|
|
@@ -4814,7 +4814,7 @@ function Z5(t) {
|
|
|
4814
4814
|
} = t;
|
|
4815
4815
|
const i = [...a === "clippingAncestors" ? U5(e, this._c) : [].concat(a), n], r = i[0], l = i.reduce((c, u) => {
|
|
4816
4816
|
const f = ms(e, u, s);
|
|
4817
|
-
return c.top = Ee(f.top, c.top), c.right =
|
|
4817
|
+
return c.top = Ee(f.top, c.top), c.right = ua(f.right, c.right), c.bottom = ua(f.bottom, c.bottom), c.left = Ee(f.left, c.left), c;
|
|
4818
4818
|
}, ms(e, r, s));
|
|
4819
4819
|
return {
|
|
4820
4820
|
width: l.right - l.left,
|
|
@@ -4834,7 +4834,7 @@ function q5(t, e, a) {
|
|
|
4834
4834
|
};
|
|
4835
4835
|
const l = pt(0);
|
|
4836
4836
|
if (n || !n && !o)
|
|
4837
|
-
if ((ft(e) !== "body" ||
|
|
4837
|
+
if ((ft(e) !== "body" || ga(s)) && (r = Ja(e)), n) {
|
|
4838
4838
|
const c = St(e, !0, o, e);
|
|
4839
4839
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4840
|
} else
|
|
@@ -4905,9 +4905,9 @@ function K5(t, e) {
|
|
|
4905
4905
|
} = t.getBoundingClientRect();
|
|
4906
4906
|
if (r || e(), !f || !d)
|
|
4907
4907
|
return;
|
|
4908
|
-
const h =
|
|
4908
|
+
const h = Oa(u), w = Oa(s.clientWidth - (c + f)), b = Oa(s.clientHeight - (u + d)), y = Oa(c), _ = {
|
|
4909
4909
|
rootMargin: -h + "px " + -w + "px " + -b + "px " + -y + "px",
|
|
4910
|
-
threshold: Ee(0,
|
|
4910
|
+
threshold: Ee(0, ua(1, l)) || 1
|
|
4911
4911
|
};
|
|
4912
4912
|
let C = !0;
|
|
4913
4913
|
function D(I) {
|
|
@@ -4942,7 +4942,7 @@ function G5(t, e, a, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
|
-
} = n, c = Vn(t), u = s || o ? [...c ?
|
|
4945
|
+
} = n, c = Vn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
4946
|
u.forEach((k) => {
|
|
4947
4947
|
s && k.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
@@ -5161,7 +5161,7 @@ function i7(t, e, a) {
|
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer,
|
|
5164
|
+
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
@@ -5191,7 +5191,7 @@ function i7(t, e, a) {
|
|
|
5191
5191
|
[M.value]: [...it.value],
|
|
5192
5192
|
__CREATE__: !0
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
|
-
}),
|
|
5194
|
+
}), wa = S(() => {
|
|
5195
5195
|
let $ = [..._t.value].map((B) => ({ ...B }));
|
|
5196
5196
|
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][M.value] = [...Ot.value, ...$[0][M.value]] : $ = [{
|
|
5197
5197
|
[U.value]: " ",
|
|
@@ -5201,7 +5201,7 @@ function i7(t, e, a) {
|
|
|
5201
5201
|
}), sn = S(() => {
|
|
5202
5202
|
if (!ie.value)
|
|
5203
5203
|
return [];
|
|
5204
|
-
let $ =
|
|
5204
|
+
let $ = wa.value;
|
|
5205
5205
|
return Ai(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
5207
|
const me = dn(B[M.value]);
|
|
@@ -5318,7 +5318,7 @@ function i7(t, e, a) {
|
|
|
5318
5318
|
$ && un($), I.value && he(), $ && Et($), r.value && nt(), R.value && st();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
|
-
R.value ||
|
|
5321
|
+
R.value || _a();
|
|
5322
5322
|
}, _i = ($) => {
|
|
5323
5323
|
if (!(rn($) || s.value === "single" || !L.value)) {
|
|
5324
5324
|
switch (s.value) {
|
|
@@ -5332,7 +5332,7 @@ function i7(t, e, a) {
|
|
|
5332
5332
|
R.value && nn();
|
|
5333
5333
|
}
|
|
5334
5334
|
}, un = ($) => {
|
|
5335
|
-
xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re),
|
|
5335
|
+
xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
|
|
5336
5336
|
}, yi = () => {
|
|
5337
5337
|
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
|
|
5338
5338
|
}, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
|
|
@@ -5343,8 +5343,8 @@ function i7(t, e, a) {
|
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && C.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
|
-
me || (me = (bt, is,
|
|
5347
|
-
let os = hn(
|
|
5346
|
+
me || (me = (bt, is, u8) => yt.value.some((Ti) => {
|
|
5347
|
+
let os = hn(ya(bt[Ti]), x.value);
|
|
5348
5348
|
return le.value ? os.startsWith(hn(is, x.value)) : os.indexOf(hn(is, x.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
5350
5350
|
}
|
|
@@ -5355,9 +5355,9 @@ function i7(t, e, a) {
|
|
|
5355
5355
|
let me = B[oe];
|
|
5356
5356
|
return { [H.value]: oe, [yt.value[0]]: me, [u.value]: me };
|
|
5357
5357
|
})), B = B.map((oe) => typeof oe == "object" ? oe : { [H.value]: oe, [yt.value[0]]: oe, [u.value]: oe }), B;
|
|
5358
|
-
},
|
|
5359
|
-
je(V.value) || (Y.value =
|
|
5360
|
-
},
|
|
5358
|
+
}, $a = () => {
|
|
5359
|
+
je(V.value) || (Y.value = Sa(V.value));
|
|
5360
|
+
}, ka = ($) => (Me.value = !0, new Promise((B, oe) => {
|
|
5361
5361
|
n.value(X.value, re).then((me) => {
|
|
5362
5362
|
Ne.value = me || [], typeof $ == "function" && $(me), Me.value = !1;
|
|
5363
5363
|
}).catch((me) => {
|
|
@@ -5382,8 +5382,8 @@ function i7(t, e, a) {
|
|
|
5382
5382
|
}
|
|
5383
5383
|
});
|
|
5384
5384
|
}, Mi = ($) => {
|
|
5385
|
-
|
|
5386
|
-
},
|
|
5385
|
+
ka($);
|
|
5386
|
+
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (F.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
5388
5388
|
[H.value]: $,
|
|
5389
5389
|
[yt.value[0]]: $
|
|
@@ -5407,24 +5407,24 @@ function i7(t, e, a) {
|
|
|
5407
5407
|
};
|
|
5408
5408
|
if (s.value !== "single" && !je(V.value) && !Array.isArray(V.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ? k.value ?
|
|
5410
|
+
return n && typeof n.value == "function" ? k.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), y.value > -1 && ss(), de(y, ($, B) => {
|
|
5411
5411
|
Be.value && Be.value(), $ >= 0 && ss();
|
|
5412
5412
|
}), de(V, ($) => {
|
|
5413
5413
|
if (je($)) {
|
|
5414
|
-
we(
|
|
5414
|
+
we(Sa($), !1);
|
|
5415
5415
|
return;
|
|
5416
5416
|
}
|
|
5417
5417
|
switch (s.value) {
|
|
5418
5418
|
case "single":
|
|
5419
|
-
(w.value ? $[H.value] != Y.value[H.value] : $ != Y.value[H.value]) && we(
|
|
5419
|
+
(w.value ? $[H.value] != Y.value[H.value] : $ != Y.value[H.value]) && we(Sa($), !1);
|
|
5420
5420
|
break;
|
|
5421
5421
|
case "multiple":
|
|
5422
5422
|
case "tags":
|
|
5423
|
-
s7(w.value ? $.map((B) => B[H.value]) : $, Y.value.map((B) => B[H.value])) || we(
|
|
5423
|
+
s7(w.value ? $.map((B) => B[H.value]) : $, Y.value.map((B) => B[H.value])) || we(Sa($), !1);
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
5427
|
-
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) &&
|
|
5427
|
+
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), pn());
|
|
5428
5428
|
}), de(u, pn), de(i, ($, B) => {
|
|
5429
5429
|
qe.value = N.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
@@ -5457,7 +5457,7 @@ function i7(t, e, a) {
|
|
|
5457
5457
|
handleGroupClick: _i,
|
|
5458
5458
|
handleTagRemove: Ci,
|
|
5459
5459
|
refreshOptions: Mi,
|
|
5460
|
-
resolveOptions:
|
|
5460
|
+
resolveOptions: ka,
|
|
5461
5461
|
refreshLabels: pn
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
@@ -5573,7 +5573,7 @@ function Bn(t) {
|
|
|
5573
5573
|
var e = Se(t).ShadowRoot;
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
|
-
var kt = Math.max,
|
|
5576
|
+
var kt = Math.max, Na = Math.min, Zt = Math.round;
|
|
5577
5577
|
function yn() {
|
|
5578
5578
|
var t = navigator.userAgentData;
|
|
5579
5579
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5716,10 +5716,10 @@ function tn(t) {
|
|
|
5716
5716
|
a = gs(a);
|
|
5717
5717
|
return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", an = [Re, We, vt, Ge], qt = "start",
|
|
5720
|
-
return t.concat([e + "-" + qt, e + "-" +
|
|
5719
|
+
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", an = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ an.reduce(function(t, e) {
|
|
5720
|
+
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
5721
|
}, []), h7 = /* @__PURE__ */ [].concat(an, [Fn]).reduce(function(t, e) {
|
|
5722
|
-
return t.concat([e, e + "-" + qt, e + "-" +
|
|
5722
|
+
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
5723
|
}, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
|
|
5724
5724
|
function A7(t) {
|
|
5725
5725
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), n = [];
|
|
@@ -5831,7 +5831,7 @@ function D7(t) {
|
|
|
5831
5831
|
function P7(t, e, a, n) {
|
|
5832
5832
|
var s = e === "clippingParents" ? D7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(l, c) {
|
|
5833
5833
|
var u = ys(t, c, n);
|
|
5834
|
-
return l.top = kt(u.top, l.top), l.right =
|
|
5834
|
+
return l.top = kt(u.top, l.top), l.right = Na(u.right, l.right), l.bottom = Na(u.bottom, l.bottom), l.left = kt(u.left, l.left), l;
|
|
5835
5835
|
}, ys(t, i, n));
|
|
5836
5836
|
return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
5837
5837
|
}
|
|
@@ -5884,7 +5884,7 @@ function li(t) {
|
|
|
5884
5884
|
case qt:
|
|
5885
5885
|
l[c] = l[c] - (e[u] / 2 - a[u] / 2);
|
|
5886
5886
|
break;
|
|
5887
|
-
case
|
|
5887
|
+
case da:
|
|
5888
5888
|
l[c] = l[c] + (e[u] / 2 - a[u] / 2);
|
|
5889
5889
|
break;
|
|
5890
5890
|
}
|
|
@@ -6040,17 +6040,17 @@ function R7(t) {
|
|
|
6040
6040
|
return h;
|
|
6041
6041
|
};
|
|
6042
6042
|
}
|
|
6043
|
-
var
|
|
6043
|
+
var Ea = {
|
|
6044
6044
|
passive: !0
|
|
6045
6045
|
};
|
|
6046
6046
|
function N7(t) {
|
|
6047
6047
|
var e = t.state, a = t.instance, n = t.options, s = n.scroll, o = s === void 0 ? !0 : s, i = n.resize, r = i === void 0 ? !0 : i, l = Se(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
6048
6048
|
return o && c.forEach(function(u) {
|
|
6049
|
-
u.addEventListener("scroll", a.update,
|
|
6050
|
-
}), r && l.addEventListener("resize", a.update,
|
|
6049
|
+
u.addEventListener("scroll", a.update, Ea);
|
|
6050
|
+
}), r && l.addEventListener("resize", a.update, Ea), function() {
|
|
6051
6051
|
o && c.forEach(function(u) {
|
|
6052
|
-
u.removeEventListener("scroll", a.update,
|
|
6053
|
-
}), r && l.removeEventListener("resize", a.update,
|
|
6052
|
+
u.removeEventListener("scroll", a.update, Ea);
|
|
6053
|
+
}), r && l.removeEventListener("resize", a.update, Ea);
|
|
6054
6054
|
};
|
|
6055
6055
|
}
|
|
6056
6056
|
var j7 = {
|
|
@@ -6102,7 +6102,7 @@ function $s(t) {
|
|
|
6102
6102
|
var k = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Ge, D = Re, I = window;
|
|
6103
6103
|
if (c) {
|
|
6104
6104
|
var H = tn(a), F = "clientHeight", U = "clientWidth";
|
|
6105
|
-
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o ===
|
|
6105
|
+
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6106
6106
|
D = We;
|
|
6107
6107
|
var q = f && H === I && I.visualViewport ? I.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
@@ -6110,7 +6110,7 @@ function $s(t) {
|
|
|
6110
6110
|
);
|
|
6111
6111
|
b -= q - n.height, b *= l ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
|
-
if (s === Ge || (s === Re || s === We) && o ===
|
|
6113
|
+
if (s === Ge || (s === Re || s === We) && o === da) {
|
|
6114
6114
|
C = vt;
|
|
6115
6115
|
var O = f && H === I && I.visualViewport ? I.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
@@ -6211,11 +6211,11 @@ var K7 = {
|
|
|
6211
6211
|
function Q7(t) {
|
|
6212
6212
|
return t === "x" ? "y" : "x";
|
|
6213
6213
|
}
|
|
6214
|
-
function
|
|
6215
|
-
return kt(t,
|
|
6214
|
+
function Ia(t, e, a) {
|
|
6215
|
+
return kt(t, Na(e, a));
|
|
6216
6216
|
}
|
|
6217
6217
|
function J7(t, e, a) {
|
|
6218
|
-
var n =
|
|
6218
|
+
var n = Ia(t, e, a);
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function ep(t) {
|
|
@@ -6241,12 +6241,12 @@ function ep(t) {
|
|
|
6241
6241
|
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], L = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he =
|
|
6245
|
-
H[D] =
|
|
6244
|
+
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, nn = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, nn) : m, M, h ? kt(L, st) : L);
|
|
6245
|
+
H[D] = ya, R[D] = ya - M;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = H[I], qe = I === "y" ? "height" : "width", Xt = Be + y[Ne],
|
|
6249
|
-
H[I] =
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = H[I], qe = I === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Me], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[I]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + O.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
|
+
H[I] = wa, R[I] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = R;
|
|
6252
6252
|
}
|
|
@@ -6263,7 +6263,7 @@ var tp = {
|
|
|
6263
6263
|
bottom: "top",
|
|
6264
6264
|
top: "bottom"
|
|
6265
6265
|
};
|
|
6266
|
-
function
|
|
6266
|
+
function La(t) {
|
|
6267
6267
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
6268
6268
|
return ap[e];
|
|
6269
6269
|
});
|
|
@@ -6300,13 +6300,13 @@ function sp(t, e) {
|
|
|
6300
6300
|
function ip(t) {
|
|
6301
6301
|
if (ct(t) === Fn)
|
|
6302
6302
|
return [];
|
|
6303
|
-
var e =
|
|
6303
|
+
var e = La(t);
|
|
6304
6304
|
return [ks(t), e, ks(e)];
|
|
6305
6305
|
}
|
|
6306
6306
|
function op(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
|
-
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, b = a.allowedAutoPlacements, y = e.options.placement, k = ct(y), _ = k === y, C = l || (_ || !w ? [
|
|
6309
|
+
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, b = a.allowedAutoPlacements, y = e.options.placement, k = ct(y), _ = k === y, C = l || (_ || !w ? [La(y)] : ip(y)), D = [y].concat(C).reduce(function(re, Y) {
|
|
6310
6310
|
return re.concat(ct(Y) === Fn ? sp(e, {
|
|
6311
6311
|
placement: Y,
|
|
6312
6312
|
boundary: u,
|
|
@@ -6323,8 +6323,8 @@ function op(t) {
|
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
6325
|
}), M = ie ? Z ? vt : Ge : Z ? We : Re;
|
|
6326
|
-
I[E] > H[E] && (M =
|
|
6327
|
-
var m =
|
|
6326
|
+
I[E] > H[E] && (M = La(M));
|
|
6327
|
+
var m = La(M), L = [];
|
|
6328
6328
|
if (o && L.push(N[R] <= 0), r && L.push(N[M] <= 0, N[m] <= 0), L.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
@@ -7658,11 +7658,11 @@ const $e = /* @__PURE__ */ z({
|
|
|
7658
7658
|
ref_key: "multiselectRef",
|
|
7659
7659
|
ref: n,
|
|
7660
7660
|
class: "ao-multiselect"
|
|
7661
|
-
},
|
|
7661
|
+
}, Za({ _: 2 }, [
|
|
7662
7662
|
_e(s.$slots, (i, r) => ({
|
|
7663
7663
|
name: r,
|
|
7664
7664
|
fn: W((l) => [
|
|
7665
|
-
te(s.$slots, r, fa(
|
|
7665
|
+
te(s.$slots, r, pa(fa(l ?? {})))
|
|
7666
7666
|
])
|
|
7667
7667
|
}))
|
|
7668
7668
|
]), 1536));
|
|
@@ -7798,7 +7798,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7798
7798
|
onChange: (y) => i(y, h.id),
|
|
7799
7799
|
onKeyup: dt(u, ["enter"])
|
|
7800
7800
|
}, null, 42, Up),
|
|
7801
|
-
|
|
7801
|
+
Fa(". "),
|
|
7802
7802
|
!f.isTemplate && f.users ? (p(), P($e, {
|
|
7803
7803
|
key: 1,
|
|
7804
7804
|
value: (b = h.assignee) != null && b.id ? [h.assignee.id] : [],
|
|
@@ -7983,7 +7983,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
7983
7983
|
const b = a.user;
|
|
7984
7984
|
return b ? `${b == null ? void 0 : b.firstName} ${b == null ? void 0 : b.lastName}` : null;
|
|
7985
7985
|
}), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Es(s), c = S(() => {
|
|
7986
|
-
const b = a.editedAt &&
|
|
7986
|
+
const b = a.editedAt && la(a.editedAt), y = la(a.createdAt), k = /* @__PURE__ */ new Date(), _ = b ?? y;
|
|
7987
7987
|
return _ && a3(_, k);
|
|
7988
7988
|
}), u = S(() => o.value ? "textarea" : "p"), f = l(), d = r((b) => {
|
|
7989
7989
|
e("edit", b);
|
|
@@ -8022,7 +8022,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8022
8022
|
]
|
|
8023
8023
|
}, {
|
|
8024
8024
|
default: W(() => [
|
|
8025
|
-
|
|
8025
|
+
Fa(G(b.content), 1)
|
|
8026
8026
|
]),
|
|
8027
8027
|
_: 1
|
|
8028
8028
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
@@ -8080,7 +8080,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8080
8080
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
8081
8081
|
setup(t, { emit: e }) {
|
|
8082
8082
|
const a = t, n = S(() => (a.comments || []).toSorted(
|
|
8083
|
-
(d, h) => z2(
|
|
8083
|
+
(d, h) => z2(la(d.createdAt), la(h.createdAt))
|
|
8084
8084
|
)), s = (f) => a.users.find((h) => h.id === f), o = ee();
|
|
8085
8085
|
De(() => {
|
|
8086
8086
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
@@ -8408,7 +8408,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8408
8408
|
v("div", mf, [
|
|
8409
8409
|
v("div", Cf, [
|
|
8410
8410
|
v("div", gf, [
|
|
8411
|
-
m.activity.slug ? (p(), P(
|
|
8411
|
+
m.activity.slug ? (p(), P(qa, {
|
|
8412
8412
|
key: 0,
|
|
8413
8413
|
label: m.activity.slug,
|
|
8414
8414
|
clickable: !0,
|
|
@@ -9108,7 +9108,7 @@ const _v = {
|
|
|
9108
9108
|
}, x = (M) => {
|
|
9109
9109
|
var m;
|
|
9110
9110
|
if (M.moved) {
|
|
9111
|
-
const L =
|
|
9111
|
+
const L = Ca(M, ((m = s.value) == null ? void 0 : m.phases) ?? []);
|
|
9112
9112
|
e("updateItem", {
|
|
9113
9113
|
itemType: Ce.PHASES,
|
|
9114
9114
|
id: M.moved.element.id,
|
|
@@ -9265,7 +9265,7 @@ const _v = {
|
|
|
9265
9265
|
onRemoveFile: N
|
|
9266
9266
|
}, {
|
|
9267
9267
|
default: W((Y) => [
|
|
9268
|
-
te(M.$slots, "activityDetailsBody", fa(
|
|
9268
|
+
te(M.$slots, "activityDetailsBody", pa(fa(Y)))
|
|
9269
9269
|
]),
|
|
9270
9270
|
_: 3
|
|
9271
9271
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
@@ -9340,7 +9340,7 @@ const qn = /* @__PURE__ */ z({
|
|
|
9340
9340
|
(p(!0), g(ve, null, _e(a.value, (o) => (p(), g("div", {
|
|
9341
9341
|
key: o,
|
|
9342
9342
|
class: K(["ao-progress__progress"]),
|
|
9343
|
-
style:
|
|
9343
|
+
style: Ua({ width: `${o * 100}%` })
|
|
9344
9344
|
}, null, 4))), 128))
|
|
9345
9345
|
], 2));
|
|
9346
9346
|
}
|
|
@@ -9388,7 +9388,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9388
9388
|
return (c, u) => (p(), P(Wn, {
|
|
9389
9389
|
class: "ao-card-project-phase",
|
|
9390
9390
|
"is-clickable": c.isEditable
|
|
9391
|
-
},
|
|
9391
|
+
}, Za({
|
|
9392
9392
|
default: W(() => [
|
|
9393
9393
|
A(ye, {
|
|
9394
9394
|
id: c.id,
|
|
@@ -9469,7 +9469,7 @@ const Rv = /* @__PURE__ */ z({
|
|
|
9469
9469
|
setup(t) {
|
|
9470
9470
|
return (e, a) => (p(), g("span", {
|
|
9471
9471
|
class: "badge",
|
|
9472
|
-
style:
|
|
9472
|
+
style: Ua({ backgroundColor: e.color })
|
|
9473
9473
|
}, null, 4));
|
|
9474
9474
|
}
|
|
9475
9475
|
});
|
|
@@ -9760,7 +9760,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9760
9760
|
e("archivePhase", u);
|
|
9761
9761
|
}, r = (u) => {
|
|
9762
9762
|
if (u.moved) {
|
|
9763
|
-
const f =
|
|
9763
|
+
const f = Ca(u, a.phases ?? []);
|
|
9764
9764
|
e("updatePhase", {
|
|
9765
9765
|
id: u.moved.element.id,
|
|
9766
9766
|
rank: f
|
|
@@ -10072,7 +10072,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10072
10072
|
default: W(({ Component: Z }) => [
|
|
10073
10073
|
(p(), P(ht(Z), null, {
|
|
10074
10074
|
default: W((ie) => [
|
|
10075
|
-
te(O.$slots, "activityDetailsBody", fa(
|
|
10075
|
+
te(O.$slots, "activityDetailsBody", pa(fa(ie)))
|
|
10076
10076
|
]),
|
|
10077
10077
|
_: 2
|
|
10078
10078
|
}, 1024))
|
|
@@ -10105,25 +10105,28 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10105
10105
|
class: "ao-card-feed__breadcrumbs"
|
|
10106
10106
|
}, A9 = {
|
|
10107
10107
|
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10108
|
-
}, M9 = {
|
|
10109
|
-
key:
|
|
10108
|
+
}, M9 = { class: "ao-card-feed__slug-title" }, T9 = {
|
|
10109
|
+
key: 0,
|
|
10110
|
+
class: "ao-card-feed__slug"
|
|
10111
|
+
}, O9 = {
|
|
10112
|
+
key: 1,
|
|
10110
10113
|
class: "ao-card-feed__deadline"
|
|
10111
|
-
},
|
|
10114
|
+
}, E9 = { class: "ao-card-feed__footer" }, I9 = { class: "ao-card-feed__footer-row" }, L9 = { class: "ao-assignees" }, H9 = {
|
|
10112
10115
|
key: 0,
|
|
10113
10116
|
class: "ao-assignee"
|
|
10114
|
-
},
|
|
10117
|
+
}, D9 = {
|
|
10115
10118
|
key: 0,
|
|
10116
10119
|
class: "ao-card-feed__subitems"
|
|
10117
|
-
},
|
|
10120
|
+
}, P9 = {
|
|
10118
10121
|
key: 0,
|
|
10119
10122
|
class: "ao-card-feed__subitem"
|
|
10120
|
-
},
|
|
10123
|
+
}, V9 = { class: "ao-card-feed__subitem" }, B9 = {
|
|
10121
10124
|
key: 1,
|
|
10122
10125
|
class: "ao-card-feed__subitem"
|
|
10123
|
-
},
|
|
10126
|
+
}, R9 = { class: "ao-card-feed__subitem" }, N9 = { class: "ao-card-feed__footer-row" }, j9 = {
|
|
10124
10127
|
key: 0,
|
|
10125
10128
|
class: "ao-card-feed__progress-wrapper"
|
|
10126
|
-
},
|
|
10129
|
+
}, F9 = { class: "ao-card-feed__subitem" }, U9 = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ z({
|
|
10127
10130
|
__name: "AoCardFeed",
|
|
10128
10131
|
props: {
|
|
10129
10132
|
id: {},
|
|
@@ -10167,7 +10170,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10167
10170
|
}, {
|
|
10168
10171
|
header: W(() => [
|
|
10169
10172
|
v("div", b9, [
|
|
10170
|
-
n.value ? (p(), P(
|
|
10173
|
+
n.value ? (p(), P(qa, {
|
|
10171
10174
|
key: 0,
|
|
10172
10175
|
label: n.value,
|
|
10173
10176
|
class: "ao-card-feed__project",
|
|
@@ -10202,33 +10205,30 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10202
10205
|
default: W(() => [
|
|
10203
10206
|
v("div", k9, [
|
|
10204
10207
|
i.value ? (p(), g("span", S9, G(i.value), 1)) : T("", !0),
|
|
10205
|
-
h.slug ? (p(), P(ra, {
|
|
10206
|
-
key: 1,
|
|
10207
|
-
label: h.slug,
|
|
10208
|
-
variant: "solid",
|
|
10209
|
-
color: "neutral",
|
|
10210
|
-
class: "ao-tag__activity-detail"
|
|
10211
|
-
}, null, 8, ["label"])) : T("", !0),
|
|
10212
10208
|
v("div", A9, [
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
|
|
10209
|
+
v("div", M9, [
|
|
10210
|
+
h.slug ? (p(), g("span", T9, G(h.slug) + ":", 1)) : T("", !0),
|
|
10211
|
+
A(ye, {
|
|
10212
|
+
id: h.id,
|
|
10213
|
+
title: h.name,
|
|
10214
|
+
level: 5,
|
|
10215
|
+
"is-editable": h.isEditable,
|
|
10216
|
+
"onUpdate:title": o,
|
|
10217
|
+
class: "ao-card-feed__title"
|
|
10218
|
+
}, null, 8, ["id", "title", "is-editable"])
|
|
10219
|
+
])
|
|
10220
10220
|
]),
|
|
10221
|
-
h.deadline ? (p(), g("span",
|
|
10221
|
+
h.deadline ? (p(), g("span", O9, G(l.value), 1)) : T("", !0)
|
|
10222
10222
|
])
|
|
10223
10223
|
]),
|
|
10224
10224
|
footer: W(() => [
|
|
10225
|
-
v("div",
|
|
10226
|
-
v("div",
|
|
10227
|
-
v("ul",
|
|
10225
|
+
v("div", E9, [
|
|
10226
|
+
v("div", I9, [
|
|
10227
|
+
v("ul", L9, [
|
|
10228
10228
|
(p(!0), g(ve, null, _e(r.value, (b) => (p(), g(ve, {
|
|
10229
10229
|
key: b.id
|
|
10230
10230
|
}, [
|
|
10231
|
-
b ? (p(), g("li",
|
|
10231
|
+
b ? (p(), g("li", H9, [
|
|
10232
10232
|
A(Je, {
|
|
10233
10233
|
"user-name": Q(zs)(b),
|
|
10234
10234
|
"avatar-url": b.avatarUrl,
|
|
@@ -10238,31 +10238,31 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10238
10238
|
])) : T("", !0)
|
|
10239
10239
|
], 64))), 128))
|
|
10240
10240
|
]),
|
|
10241
|
-
h.comments || h.attachments ? (p(), g("ul",
|
|
10242
|
-
h.comments ? (p(), g("li",
|
|
10241
|
+
h.comments || h.attachments ? (p(), g("ul", D9, [
|
|
10242
|
+
h.comments ? (p(), g("li", P9, [
|
|
10243
10243
|
A(pe, {
|
|
10244
10244
|
name: "ChatOutline",
|
|
10245
10245
|
size: "sm"
|
|
10246
10246
|
}),
|
|
10247
|
-
v("span",
|
|
10247
|
+
v("span", V9, G(h.comments), 1)
|
|
10248
10248
|
])) : T("", !0),
|
|
10249
|
-
h.attachments ? (p(), g("li",
|
|
10249
|
+
h.attachments ? (p(), g("li", B9, [
|
|
10250
10250
|
A(pe, {
|
|
10251
10251
|
name: "AttachFileRounded",
|
|
10252
10252
|
size: "sm"
|
|
10253
10253
|
}),
|
|
10254
|
-
v("span",
|
|
10254
|
+
v("span", R9, G(h.attachments), 1)
|
|
10255
10255
|
])) : T("", !0)
|
|
10256
10256
|
])) : T("", !0)
|
|
10257
10257
|
]),
|
|
10258
|
-
v("div",
|
|
10259
|
-
h.tasks && h.tasks.length ? (p(), g("div",
|
|
10260
|
-
v("div",
|
|
10258
|
+
v("div", N9, [
|
|
10259
|
+
h.tasks && h.tasks.length ? (p(), g("div", j9, [
|
|
10260
|
+
v("div", F9, [
|
|
10261
10261
|
A(pe, {
|
|
10262
10262
|
name: "SelectCheckBox",
|
|
10263
10263
|
size: "sm"
|
|
10264
10264
|
}),
|
|
10265
|
-
v("span",
|
|
10265
|
+
v("span", U9, G(f.value) + " / " + G(u.value), 1)
|
|
10266
10266
|
]),
|
|
10267
10267
|
A(qn, {
|
|
10268
10268
|
percentages: d.value,
|
|
@@ -10283,8 +10283,8 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10283
10283
|
*/
|
|
10284
10284
|
function wt(t) {
|
|
10285
10285
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10286
|
-
/#/.test(t) ? e =
|
|
10287
|
-
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } =
|
|
10286
|
+
/#/.test(t) ? e = W9(t) : /rgb/.test(t) ? e = As(t) : typeof t == "string" ? e = As(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10287
|
+
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = q9(e);
|
|
10288
10288
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10289
10289
|
}
|
|
10290
10290
|
function zn(t) {
|
|
@@ -10295,11 +10295,11 @@ function $n(t, e, a, n, s, o) {
|
|
|
10295
10295
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
|
|
10296
10296
|
r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
|
|
10297
10297
|
}
|
|
10298
|
-
function
|
|
10298
|
+
function Z9({ r: t, g: e, b: a }, n) {
|
|
10299
10299
|
const s = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${s(t)}${s(e)}${s(a)}`;
|
|
10300
10300
|
return n ? o.toUpperCase() : o;
|
|
10301
10301
|
}
|
|
10302
|
-
function
|
|
10302
|
+
function W9(t) {
|
|
10303
10303
|
t = t.slice(1);
|
|
10304
10304
|
const e = (a) => parseInt(a, 16) || 0;
|
|
10305
10305
|
return {
|
|
@@ -10316,7 +10316,7 @@ function As(t) {
|
|
|
10316
10316
|
a: Number(t[3] ? t[3] : 1)
|
|
10317
10317
|
}) : t;
|
|
10318
10318
|
}
|
|
10319
|
-
function
|
|
10319
|
+
function q9({ r: t, g: e, b: a }) {
|
|
10320
10320
|
t = t / 255, e = e / 255, a = a / 255;
|
|
10321
10321
|
const n = Math.max(t, e, a), s = Math.min(t, e, a), o = n - s;
|
|
10322
10322
|
let i = 0;
|
|
@@ -10383,8 +10383,8 @@ var xn = z({
|
|
|
10383
10383
|
}
|
|
10384
10384
|
}
|
|
10385
10385
|
});
|
|
10386
|
-
const
|
|
10387
|
-
function
|
|
10386
|
+
const z9 = { ref: "canvasSaturation" };
|
|
10387
|
+
function x9(t, e, a, n, s, o) {
|
|
10388
10388
|
return p(), P(
|
|
10389
10389
|
"div",
|
|
10390
10390
|
{
|
|
@@ -10394,7 +10394,7 @@ function q9(t, e, a, n, s, o) {
|
|
|
10394
10394
|
[
|
|
10395
10395
|
A(
|
|
10396
10396
|
"canvas",
|
|
10397
|
-
|
|
10397
|
+
z9,
|
|
10398
10398
|
null,
|
|
10399
10399
|
512
|
|
10400
10400
|
/* NEED_PATCH */
|
|
@@ -10414,7 +10414,7 @@ function q9(t, e, a, n, s, o) {
|
|
|
10414
10414
|
/* HYDRATE_EVENTS */
|
|
10415
10415
|
);
|
|
10416
10416
|
}
|
|
10417
|
-
xn.render =
|
|
10417
|
+
xn.render = x9;
|
|
10418
10418
|
xn.__file = "src/color/Saturation.vue";
|
|
10419
10419
|
var Yn = z({
|
|
10420
10420
|
props: {
|
|
@@ -10469,8 +10469,8 @@ var Yn = z({
|
|
|
10469
10469
|
}
|
|
10470
10470
|
}
|
|
10471
10471
|
});
|
|
10472
|
-
const
|
|
10473
|
-
function
|
|
10472
|
+
const Y9 = { ref: "canvasHue" };
|
|
10473
|
+
function K9(t, e, a, n, s, o) {
|
|
10474
10474
|
return p(), P(
|
|
10475
10475
|
"div",
|
|
10476
10476
|
{
|
|
@@ -10480,7 +10480,7 @@ function x9(t, e, a, n, s, o) {
|
|
|
10480
10480
|
[
|
|
10481
10481
|
A(
|
|
10482
10482
|
"canvas",
|
|
10483
|
-
|
|
10483
|
+
Y9,
|
|
10484
10484
|
null,
|
|
10485
10485
|
512
|
|
10486
10486
|
/* NEED_PATCH */
|
|
@@ -10500,7 +10500,7 @@ function x9(t, e, a, n, s, o) {
|
|
|
10500
10500
|
/* HYDRATE_EVENTS */
|
|
10501
10501
|
);
|
|
10502
10502
|
}
|
|
10503
|
-
Yn.render =
|
|
10503
|
+
Yn.render = K9;
|
|
10504
10504
|
Yn.__file = "src/color/Hue.vue";
|
|
10505
10505
|
var Kn = z({
|
|
10506
10506
|
props: {
|
|
@@ -10564,8 +10564,8 @@ var Kn = z({
|
|
|
10564
10564
|
}
|
|
10565
10565
|
}
|
|
10566
10566
|
});
|
|
10567
|
-
const
|
|
10568
|
-
function
|
|
10567
|
+
const G9 = { ref: "canvasAlpha" };
|
|
10568
|
+
function X9(t, e, a, n, s, o) {
|
|
10569
10569
|
return p(), P(
|
|
10570
10570
|
"div",
|
|
10571
10571
|
{
|
|
@@ -10575,7 +10575,7 @@ function K9(t, e, a, n, s, o) {
|
|
|
10575
10575
|
[
|
|
10576
10576
|
A(
|
|
10577
10577
|
"canvas",
|
|
10578
|
-
|
|
10578
|
+
G9,
|
|
10579
10579
|
null,
|
|
10580
10580
|
512
|
|
10581
10581
|
/* NEED_PATCH */
|
|
@@ -10595,7 +10595,7 @@ function K9(t, e, a, n, s, o) {
|
|
|
10595
10595
|
/* HYDRATE_EVENTS */
|
|
10596
10596
|
);
|
|
10597
10597
|
}
|
|
10598
|
-
Kn.render =
|
|
10598
|
+
Kn.render = X9;
|
|
10599
10599
|
Kn.__file = "src/color/Alpha.vue";
|
|
10600
10600
|
var Gn = z({
|
|
10601
10601
|
props: {
|
|
@@ -10632,10 +10632,10 @@ var Gn = z({
|
|
|
10632
10632
|
}
|
|
10633
10633
|
}
|
|
10634
10634
|
});
|
|
10635
|
-
function
|
|
10635
|
+
function Q9(t, e, a, n, s, o) {
|
|
10636
10636
|
return p(), P("canvas");
|
|
10637
10637
|
}
|
|
10638
|
-
Gn.render =
|
|
10638
|
+
Gn.render = Q9;
|
|
10639
10639
|
Gn.__file = "src/color/Preview.vue";
|
|
10640
10640
|
var Xn = z({
|
|
10641
10641
|
props: {
|
|
@@ -10698,19 +10698,19 @@ var Xn = z({
|
|
|
10698
10698
|
}
|
|
10699
10699
|
}
|
|
10700
10700
|
});
|
|
10701
|
-
const
|
|
10701
|
+
const J9 = /* @__PURE__ */ A(
|
|
10702
10702
|
"path",
|
|
10703
10703
|
{ 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" },
|
|
10704
10704
|
null,
|
|
10705
10705
|
-1
|
|
10706
10706
|
/* HOISTED */
|
|
10707
|
-
),
|
|
10707
|
+
), e4 = {
|
|
10708
10708
|
key: 1,
|
|
10709
10709
|
class: "sucker",
|
|
10710
10710
|
viewBox: "-16 -16 68 68",
|
|
10711
10711
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10712
10712
|
stroke: "#9099a4"
|
|
10713
|
-
},
|
|
10713
|
+
}, t4 = /* @__PURE__ */ A(
|
|
10714
10714
|
"g",
|
|
10715
10715
|
{
|
|
10716
10716
|
fill: "none",
|
|
@@ -10742,7 +10742,7 @@ const X9 = /* @__PURE__ */ A(
|
|
|
10742
10742
|
-1
|
|
10743
10743
|
/* HOISTED */
|
|
10744
10744
|
);
|
|
10745
|
-
function
|
|
10745
|
+
function a4(t, e, a, n, s, o) {
|
|
10746
10746
|
return p(), P("div", null, [
|
|
10747
10747
|
t.isSucking ? T("v-if", !0) : (p(), P(
|
|
10748
10748
|
"svg",
|
|
@@ -10754,17 +10754,17 @@ function e4(t, e, a, n, s, o) {
|
|
|
10754
10754
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10755
10755
|
},
|
|
10756
10756
|
[
|
|
10757
|
-
|
|
10757
|
+
J9
|
|
10758
10758
|
],
|
|
10759
10759
|
2
|
|
10760
10760
|
/* CLASS */
|
|
10761
10761
|
)),
|
|
10762
|
-
t.isSucking ? (p(), P("svg",
|
|
10763
|
-
|
|
10762
|
+
t.isSucking ? (p(), P("svg", e4, [
|
|
10763
|
+
t4
|
|
10764
10764
|
])) : T("v-if", !0)
|
|
10765
10765
|
]);
|
|
10766
10766
|
}
|
|
10767
|
-
Xn.render =
|
|
10767
|
+
Xn.render = a4;
|
|
10768
10768
|
Xn.__file = "src/color/Sucker.vue";
|
|
10769
10769
|
var Qn = z({
|
|
10770
10770
|
props: {
|
|
@@ -10797,12 +10797,12 @@ var Qn = z({
|
|
|
10797
10797
|
};
|
|
10798
10798
|
}
|
|
10799
10799
|
});
|
|
10800
|
-
const
|
|
10801
|
-
function
|
|
10802
|
-
return p(), P("div",
|
|
10800
|
+
const n4 = { class: "color-type" }, s4 = { class: "name" };
|
|
10801
|
+
function i4(t, e, a, n, s, o) {
|
|
10802
|
+
return p(), P("div", n4, [
|
|
10803
10803
|
A(
|
|
10804
10804
|
"span",
|
|
10805
|
-
|
|
10805
|
+
s4,
|
|
10806
10806
|
G(t.name),
|
|
10807
10807
|
1
|
|
10808
10808
|
/* TEXT */
|
|
@@ -10823,7 +10823,7 @@ function n4(t, e, a, n, s, o) {
|
|
|
10823
10823
|
])
|
|
10824
10824
|
]);
|
|
10825
10825
|
}
|
|
10826
|
-
Qn.render =
|
|
10826
|
+
Qn.render = i4;
|
|
10827
10827
|
Qn.__file = "src/color/Box.vue";
|
|
10828
10828
|
var Jn = z({
|
|
10829
10829
|
name: "ColorPicker",
|
|
@@ -10865,13 +10865,13 @@ var Jn = z({
|
|
|
10865
10865
|
};
|
|
10866
10866
|
}
|
|
10867
10867
|
});
|
|
10868
|
-
const
|
|
10868
|
+
const o4 = { class: "colors" }, r4 = {
|
|
10869
10869
|
key: 0,
|
|
10870
10870
|
class: "colors history"
|
|
10871
10871
|
};
|
|
10872
|
-
function
|
|
10872
|
+
function l4(t, e, a, n, s, o) {
|
|
10873
10873
|
return p(), P("div", null, [
|
|
10874
|
-
A("ul",
|
|
10874
|
+
A("ul", o4, [
|
|
10875
10875
|
(p(!0), P(
|
|
10876
10876
|
ve,
|
|
10877
10877
|
null,
|
|
@@ -10905,7 +10905,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10905
10905
|
/* KEYED_FRAGMENT */
|
|
10906
10906
|
))
|
|
10907
10907
|
]),
|
|
10908
|
-
t.colorsHistory.length ? (p(), P("ul",
|
|
10908
|
+
t.colorsHistory.length ? (p(), P("ul", r4, [
|
|
10909
10909
|
(p(!0), P(
|
|
10910
10910
|
ve,
|
|
10911
10911
|
null,
|
|
@@ -10941,7 +10941,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10941
10941
|
])) : T("v-if", !0)
|
|
10942
10942
|
]);
|
|
10943
10943
|
}
|
|
10944
|
-
Jn.render =
|
|
10944
|
+
Jn.render = l4;
|
|
10945
10945
|
Jn.__file = "src/color/Colors.vue";
|
|
10946
10946
|
var Rt = z({
|
|
10947
10947
|
components: {
|
|
@@ -11052,7 +11052,7 @@ var Rt = z({
|
|
|
11052
11052
|
return `rgba(${this.rgbaStringShort})`;
|
|
11053
11053
|
},
|
|
11054
11054
|
hexString() {
|
|
11055
|
-
return
|
|
11055
|
+
return Z9(this.rgba, !0);
|
|
11056
11056
|
}
|
|
11057
11057
|
},
|
|
11058
11058
|
created() {
|
|
@@ -11116,8 +11116,8 @@ var Rt = z({
|
|
|
11116
11116
|
}
|
|
11117
11117
|
}
|
|
11118
11118
|
});
|
|
11119
|
-
const
|
|
11120
|
-
function
|
|
11119
|
+
const u4 = { class: "color-set" };
|
|
11120
|
+
function c4(t, e, a, n, s, o) {
|
|
11121
11121
|
const i = Ye("Saturation"), r = Ye("Hue"), l = Ye("Alpha"), c = Ye("Preview"), u = Ye("Sucker"), f = Ye("Box"), d = Ye("Colors");
|
|
11122
11122
|
return p(), P(
|
|
11123
11123
|
"div",
|
|
@@ -11126,7 +11126,7 @@ function l4(t, e, a, n, s, o) {
|
|
|
11126
11126
|
style: { width: t.totalWidth + "px" }
|
|
11127
11127
|
},
|
|
11128
11128
|
[
|
|
11129
|
-
A("div",
|
|
11129
|
+
A("div", u4, [
|
|
11130
11130
|
A(i, {
|
|
11131
11131
|
ref: "saturation",
|
|
11132
11132
|
color: t.rgbString,
|
|
@@ -11200,12 +11200,12 @@ function l4(t, e, a, n, s, o) {
|
|
|
11200
11200
|
/* CLASS, STYLE */
|
|
11201
11201
|
);
|
|
11202
11202
|
}
|
|
11203
|
-
Rt.render =
|
|
11203
|
+
Rt.render = c4;
|
|
11204
11204
|
Rt.__file = "src/color/ColorPicker.vue";
|
|
11205
11205
|
Rt.install = (t) => {
|
|
11206
11206
|
t.component(Rt.name, Rt);
|
|
11207
11207
|
};
|
|
11208
|
-
const
|
|
11208
|
+
const d4 = {
|
|
11209
11209
|
props: {
|
|
11210
11210
|
color: {
|
|
11211
11211
|
type: String,
|
|
@@ -11229,12 +11229,12 @@ const u4 = {
|
|
|
11229
11229
|
this.$emit("update:color", o);
|
|
11230
11230
|
}
|
|
11231
11231
|
}
|
|
11232
|
-
},
|
|
11233
|
-
function
|
|
11232
|
+
}, p4 = { class: "color-picker-wrapper" };
|
|
11233
|
+
function f4(t, e, a, n, s, o) {
|
|
11234
11234
|
const i = Ye("ColorPicker");
|
|
11235
|
-
return p(), g("div",
|
|
11235
|
+
return p(), g("div", p4, [
|
|
11236
11236
|
v("button", {
|
|
11237
|
-
style:
|
|
11237
|
+
style: Ua({ backgroundColor: a.color }),
|
|
11238
11238
|
class: "color-button",
|
|
11239
11239
|
onClick: e[0] || (e[0] = (...r) => o.togglePicker && o.togglePicker(...r))
|
|
11240
11240
|
}, null, 4),
|
|
@@ -11247,10 +11247,10 @@ function d4(t, e, a, n, s, o) {
|
|
|
11247
11247
|
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11248
11248
|
]);
|
|
11249
11249
|
}
|
|
11250
|
-
const
|
|
11250
|
+
const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-milestone" }, m4 = { class: "ao-project-milestone__header" }, C4 = { class: "ao-project-milestone__header_line" }, g4 = { class: "ao-project-milestone__header_line" }, _4 = { class: "ao-project-milestone__title" }, y4 = {
|
|
11251
11251
|
key: 0,
|
|
11252
11252
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11253
|
-
},
|
|
11253
|
+
}, b4 = { class: "ao-field__row ao-milestone__field-row" }, w4 = { class: "ao-field ao-field--inline" }, $4 = { class: "ao-field__row ao-milestone__field-row" }, k4 = { class: "ao-field ao-milestone__field-multiselect" }, S4 = { class: "ao-project-milestone__body" }, A4 = {
|
|
11254
11254
|
key: 0,
|
|
11255
11255
|
class: "ao-project-milestone__footer"
|
|
11256
11256
|
}, Ms = /* @__PURE__ */ z({
|
|
@@ -11357,9 +11357,9 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11357
11357
|
});
|
|
11358
11358
|
return (_, C) => {
|
|
11359
11359
|
var D;
|
|
11360
|
-
return p(), g("div",
|
|
11361
|
-
v("header",
|
|
11362
|
-
v("div",
|
|
11360
|
+
return p(), g("div", h4, [
|
|
11361
|
+
v("header", m4, [
|
|
11362
|
+
v("div", C4, [
|
|
11363
11363
|
A(ce, {
|
|
11364
11364
|
"icon-name": "CloseRounded",
|
|
11365
11365
|
variant: "ghost",
|
|
@@ -11368,8 +11368,8 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11368
11368
|
onClick: l
|
|
11369
11369
|
})
|
|
11370
11370
|
]),
|
|
11371
|
-
v("div",
|
|
11372
|
-
v("div",
|
|
11371
|
+
v("div", g4, [
|
|
11372
|
+
v("div", _4, [
|
|
11373
11373
|
A(ye, {
|
|
11374
11374
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11375
11375
|
level: 5
|
|
@@ -11388,9 +11388,9 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11388
11388
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11389
11389
|
])
|
|
11390
11390
|
]),
|
|
11391
|
-
i.value ? (p(), g("div",
|
|
11392
|
-
v("div",
|
|
11393
|
-
v("label",
|
|
11391
|
+
i.value ? (p(), g("div", y4, [
|
|
11392
|
+
v("div", b4, [
|
|
11393
|
+
v("label", w4, [
|
|
11394
11394
|
Ke(v("input", {
|
|
11395
11395
|
"onUpdate:modelValue": C[1] || (C[1] = (I) => h.value = I),
|
|
11396
11396
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11405,8 +11405,8 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11405
11405
|
])
|
|
11406
11406
|
])
|
|
11407
11407
|
]),
|
|
11408
|
-
v("div",
|
|
11409
|
-
v("label",
|
|
11408
|
+
v("div", $4, [
|
|
11409
|
+
v("label", k4, [
|
|
11410
11410
|
A($e, {
|
|
11411
11411
|
modelValue: y.value,
|
|
11412
11412
|
"onUpdate:modelValue": C[2] || (C[2] = (I) => y.value = I),
|
|
@@ -11435,13 +11435,13 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11435
11435
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11436
11436
|
])
|
|
11437
11437
|
]),
|
|
11438
|
-
A(
|
|
11438
|
+
A(v4, {
|
|
11439
11439
|
color: d.value,
|
|
11440
11440
|
"onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
|
|
11441
11441
|
}, null, 8, ["color"])
|
|
11442
11442
|
])) : T("", !0)
|
|
11443
11443
|
]),
|
|
11444
|
-
v("div",
|
|
11444
|
+
v("div", S4, [
|
|
11445
11445
|
A(Q(mt), He({
|
|
11446
11446
|
class: "ao-project-milestone__activities",
|
|
11447
11447
|
list: r.value,
|
|
@@ -11475,7 +11475,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11475
11475
|
}),
|
|
11476
11476
|
onUpdateActivity: u,
|
|
11477
11477
|
onRemoveAssignee: () => u({ id: I.id, assigneeId: null })
|
|
11478
|
-
},
|
|
11478
|
+
}, Za({ _: 2 }, [
|
|
11479
11479
|
_.isEditable ? {
|
|
11480
11480
|
name: "secondary",
|
|
11481
11481
|
fn: W(() => [
|
|
@@ -11512,7 +11512,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11512
11512
|
}),
|
|
11513
11513
|
_: 1
|
|
11514
11514
|
}, 16, ["list", "disabled"]),
|
|
11515
|
-
_.isEditable ? (p(), g("div",
|
|
11515
|
+
_.isEditable ? (p(), g("div", A4, [
|
|
11516
11516
|
A(Ct, {
|
|
11517
11517
|
"icon-name": "Add",
|
|
11518
11518
|
label: _.$t("project.activity.add"),
|
|
@@ -11524,7 +11524,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11524
11524
|
};
|
|
11525
11525
|
}
|
|
11526
11526
|
});
|
|
11527
|
-
const
|
|
11527
|
+
const M4 = /* @__PURE__ */ z({
|
|
11528
11528
|
__name: "AoProjectOverviewActivityDetails",
|
|
11529
11529
|
props: {
|
|
11530
11530
|
phaseId: {},
|
|
@@ -11605,26 +11605,26 @@ const S4 = /* @__PURE__ */ z({
|
|
|
11605
11605
|
onRemoveComment: b
|
|
11606
11606
|
}, {
|
|
11607
11607
|
default: W((D) => [
|
|
11608
|
-
te(y.$slots, "default", fa(
|
|
11608
|
+
te(y.$slots, "default", pa(fa(D)))
|
|
11609
11609
|
]),
|
|
11610
11610
|
_: 3
|
|
11611
11611
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11612
11612
|
};
|
|
11613
11613
|
}
|
|
11614
|
-
}),
|
|
11614
|
+
}), T4 = { class: "ao-col-header" }, O4 = /* @__PURE__ */ z({
|
|
11615
11615
|
__name: "AoColHeader",
|
|
11616
11616
|
props: {
|
|
11617
11617
|
title: {},
|
|
11618
11618
|
items: {}
|
|
11619
11619
|
},
|
|
11620
11620
|
setup(t) {
|
|
11621
|
-
return (e, a) => (p(), g("header",
|
|
11621
|
+
return (e, a) => (p(), g("header", T4, [
|
|
11622
11622
|
A(ye, {
|
|
11623
11623
|
title: e.title,
|
|
11624
11624
|
class: "ao-col-header__title",
|
|
11625
11625
|
level: 4
|
|
11626
11626
|
}, null, 8, ["title"]),
|
|
11627
|
-
e.items ? (p(), P(
|
|
11627
|
+
e.items ? (p(), P(qa, {
|
|
11628
11628
|
key: 0,
|
|
11629
11629
|
label: e.items,
|
|
11630
11630
|
class: "ao-col-header__items",
|
|
@@ -11634,17 +11634,17 @@ const S4 = /* @__PURE__ */ z({
|
|
|
11634
11634
|
]));
|
|
11635
11635
|
}
|
|
11636
11636
|
});
|
|
11637
|
-
function
|
|
11637
|
+
function E4(t) {
|
|
11638
11638
|
return Pi() ? (Vi(t), !0) : !1;
|
|
11639
11639
|
}
|
|
11640
|
-
function
|
|
11640
|
+
function ja(t) {
|
|
11641
11641
|
return typeof t == "function" ? t() : Q(t);
|
|
11642
11642
|
}
|
|
11643
|
-
const
|
|
11643
|
+
const I4 = typeof window < "u" && typeof document < "u";
|
|
11644
11644
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11645
|
-
const
|
|
11645
|
+
const L4 = (t) => t != null, oa = () => {
|
|
11646
11646
|
};
|
|
11647
|
-
function
|
|
11647
|
+
function H4(t, e) {
|
|
11648
11648
|
function a(...n) {
|
|
11649
11649
|
return new Promise((s, o) => {
|
|
11650
11650
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -11652,13 +11652,13 @@ function I4(t, e) {
|
|
|
11652
11652
|
}
|
|
11653
11653
|
return a;
|
|
11654
11654
|
}
|
|
11655
|
-
function
|
|
11655
|
+
function D4(t, e = {}) {
|
|
11656
11656
|
let a, n, s = oa;
|
|
11657
11657
|
const o = (r) => {
|
|
11658
11658
|
clearTimeout(r), s(), s = oa;
|
|
11659
11659
|
};
|
|
11660
11660
|
return (r) => {
|
|
11661
|
-
const l =
|
|
11661
|
+
const l = ja(t), c = ja(e.maxWait);
|
|
11662
11662
|
return a && o(a), l <= 0 || c !== void 0 && c <= 0 ? (n && (o(n), n = null), Promise.resolve(r())) : new Promise((u, f) => {
|
|
11663
11663
|
s = e.rejectOnCancel ? f : u, c && !n && (n = setTimeout(() => {
|
|
11664
11664
|
a && o(a), n = null, u(r());
|
|
@@ -11668,38 +11668,38 @@ function L4(t, e = {}) {
|
|
|
11668
11668
|
});
|
|
11669
11669
|
};
|
|
11670
11670
|
}
|
|
11671
|
-
function
|
|
11672
|
-
return
|
|
11673
|
-
|
|
11671
|
+
function P4(t, e = 200, a = {}) {
|
|
11672
|
+
return H4(
|
|
11673
|
+
D4(e, a),
|
|
11674
11674
|
t
|
|
11675
11675
|
);
|
|
11676
11676
|
}
|
|
11677
11677
|
function mn(t) {
|
|
11678
11678
|
var e;
|
|
11679
|
-
const a =
|
|
11679
|
+
const a = ja(t);
|
|
11680
11680
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11681
11681
|
}
|
|
11682
|
-
const
|
|
11683
|
-
function
|
|
11682
|
+
const V4 = I4 ? window : void 0;
|
|
11683
|
+
function B4() {
|
|
11684
11684
|
const t = ee(!1), e = Mt();
|
|
11685
11685
|
return e && xt(() => {
|
|
11686
11686
|
t.value = !0;
|
|
11687
11687
|
}, e), t;
|
|
11688
11688
|
}
|
|
11689
|
-
function
|
|
11690
|
-
const e =
|
|
11689
|
+
function R4(t) {
|
|
11690
|
+
const e = B4();
|
|
11691
11691
|
return S(() => (e.value, !!t()));
|
|
11692
11692
|
}
|
|
11693
|
-
function
|
|
11693
|
+
function N4(t, e, a = {}) {
|
|
11694
11694
|
const {
|
|
11695
11695
|
root: n,
|
|
11696
11696
|
rootMargin: s = "0px",
|
|
11697
11697
|
threshold: o = 0.1,
|
|
11698
|
-
window: i =
|
|
11698
|
+
window: i = V4,
|
|
11699
11699
|
immediate: r = !0
|
|
11700
|
-
} = a, l =
|
|
11701
|
-
const w =
|
|
11702
|
-
return (Array.isArray(w) ? w : [w]).map(mn).filter(
|
|
11700
|
+
} = a, l = R4(() => i && "IntersectionObserver" in i), c = S(() => {
|
|
11701
|
+
const w = ja(t);
|
|
11702
|
+
return (Array.isArray(w) ? w : [w]).map(mn).filter(L4);
|
|
11703
11703
|
});
|
|
11704
11704
|
let u = oa;
|
|
11705
11705
|
const f = ee(r), d = l.value ? de(
|
|
@@ -11723,7 +11723,7 @@ function B4(t, e, a = {}) {
|
|
|
11723
11723
|
) : oa, h = () => {
|
|
11724
11724
|
u(), d(), f.value = !1;
|
|
11725
11725
|
};
|
|
11726
|
-
return
|
|
11726
|
+
return E4(h), {
|
|
11727
11727
|
isSupported: l,
|
|
11728
11728
|
isActive: f,
|
|
11729
11729
|
pause() {
|
|
@@ -11735,24 +11735,24 @@ function B4(t, e, a = {}) {
|
|
|
11735
11735
|
stop: h
|
|
11736
11736
|
};
|
|
11737
11737
|
}
|
|
11738
|
-
const
|
|
11738
|
+
const j4 = {
|
|
11739
11739
|
class: /* @__PURE__ */ K(["ao-list-kanban"])
|
|
11740
|
-
},
|
|
11740
|
+
}, F4 = { class: "ao-list-kanban__header" }, U4 = {
|
|
11741
11741
|
key: 0,
|
|
11742
11742
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11743
|
-
},
|
|
11743
|
+
}, Z4 = {
|
|
11744
11744
|
key: 1,
|
|
11745
11745
|
class: "ao-list-kanban__end"
|
|
11746
|
-
},
|
|
11746
|
+
}, W4 = {
|
|
11747
11747
|
key: 0,
|
|
11748
11748
|
class: "ao-list-kanban__no-more"
|
|
11749
|
-
},
|
|
11749
|
+
}, q4 = {
|
|
11750
11750
|
key: 1,
|
|
11751
11751
|
class: "ao-list-kanban__divider"
|
|
11752
|
-
},
|
|
11752
|
+
}, z4 = {
|
|
11753
11753
|
key: 1,
|
|
11754
11754
|
class: "ao-list-kanban__footer"
|
|
11755
|
-
},
|
|
11755
|
+
}, x4 = /* @__PURE__ */ z({
|
|
11756
11756
|
__name: "AoListKanban",
|
|
11757
11757
|
props: {
|
|
11758
11758
|
list: {},
|
|
@@ -11770,7 +11770,7 @@ const R4 = {
|
|
|
11770
11770
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11771
11771
|
setup(t, { emit: e }) {
|
|
11772
11772
|
const a = t, n = ee(!1), s = ee(null);
|
|
11773
|
-
|
|
11773
|
+
N4(s, ([{ isIntersecting: u }]) => {
|
|
11774
11774
|
n.value = u;
|
|
11775
11775
|
}), de(n, (u) => {
|
|
11776
11776
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11795,12 +11795,12 @@ const R4 = {
|
|
|
11795
11795
|
)
|
|
11796
11796
|
});
|
|
11797
11797
|
}, c = ee(!1);
|
|
11798
|
-
return (u, f) => (p(), g("div",
|
|
11798
|
+
return (u, f) => (p(), g("div", j4, [
|
|
11799
11799
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
11800
11800
|
var d;
|
|
11801
11801
|
return [
|
|
11802
|
-
v("div",
|
|
11803
|
-
u.title ? (p(), P(
|
|
11802
|
+
v("div", F4, [
|
|
11803
|
+
u.title ? (p(), P(O4, {
|
|
11804
11804
|
key: 0,
|
|
11805
11805
|
title: u.title,
|
|
11806
11806
|
level: 3,
|
|
@@ -11886,20 +11886,20 @@ const R4 = {
|
|
|
11886
11886
|
];
|
|
11887
11887
|
}),
|
|
11888
11888
|
footer: W(() => [
|
|
11889
|
-
u.isLoading ? (p(), g("div",
|
|
11889
|
+
u.isLoading ? (p(), g("div", U4, [
|
|
11890
11890
|
A(pe, { name: "Loading" })
|
|
11891
11891
|
])) : u.hasMore ? (p(), g("div", {
|
|
11892
11892
|
key: 2,
|
|
11893
11893
|
ref_key: "scrollEnd",
|
|
11894
11894
|
ref: s,
|
|
11895
11895
|
class: "ao-list-kanban__end"
|
|
11896
|
-
}, null, 512)) : (p(), g("div",
|
|
11897
|
-
u.noMoreLabel ? (p(), g("span",
|
|
11896
|
+
}, null, 512)) : (p(), g("div", Z4, [
|
|
11897
|
+
u.noMoreLabel ? (p(), g("span", W4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", q4)) : T("", !0)
|
|
11898
11898
|
]))
|
|
11899
11899
|
]),
|
|
11900
11900
|
_: 1
|
|
11901
11901
|
}, 16, ["class", "list", "disabled"]),
|
|
11902
|
-
u.$slots.footer || u.footerLabel ? (p(), g("div",
|
|
11902
|
+
u.$slots.footer || u.footerLabel ? (p(), g("div", z4, [
|
|
11903
11903
|
te(u.$slots, "footer", {}, () => [
|
|
11904
11904
|
u.isEditable ? (p(), P(Ct, {
|
|
11905
11905
|
key: 0,
|
|
@@ -11912,7 +11912,7 @@ const R4 = {
|
|
|
11912
11912
|
]));
|
|
11913
11913
|
}
|
|
11914
11914
|
});
|
|
11915
|
-
const
|
|
11915
|
+
const Y4 = { class: "ao-field ao-search-field" }, K4 = ["value", "placeholder", "onKeypress"], G4 = /* @__PURE__ */ z({
|
|
11916
11916
|
__name: "AoSearchField",
|
|
11917
11917
|
props: {
|
|
11918
11918
|
modelValue: {},
|
|
@@ -11924,10 +11924,10 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11924
11924
|
const a = t, n = async (i) => {
|
|
11925
11925
|
const l = i.target.value;
|
|
11926
11926
|
e("update:modelValue", l, i);
|
|
11927
|
-
}, s =
|
|
11927
|
+
}, s = P4(n, a.delay), o = (i) => {
|
|
11928
11928
|
e("clear", i);
|
|
11929
11929
|
};
|
|
11930
|
-
return (i, r) => (p(), g("div",
|
|
11930
|
+
return (i, r) => (p(), g("div", Y4, [
|
|
11931
11931
|
v("input", {
|
|
11932
11932
|
value: i.modelValue,
|
|
11933
11933
|
type: "text",
|
|
@@ -11936,7 +11936,7 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11936
11936
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11937
11937
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11938
11938
|
onKeypress: dt(n, ["enter"])
|
|
11939
|
-
}, null, 40,
|
|
11939
|
+
}, null, 40, K4),
|
|
11940
11940
|
A(pe, {
|
|
11941
11941
|
name: "SearchRounded",
|
|
11942
11942
|
class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -11952,7 +11952,7 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11952
11952
|
]));
|
|
11953
11953
|
}
|
|
11954
11954
|
});
|
|
11955
|
-
const
|
|
11955
|
+
const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { class: "ao-feed__body" }, e8 = /* @__PURE__ */ z({
|
|
11956
11956
|
__name: "AoFeed",
|
|
11957
11957
|
props: {
|
|
11958
11958
|
activities: {},
|
|
@@ -12057,10 +12057,10 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12057
12057
|
};
|
|
12058
12058
|
return (E, N) => {
|
|
12059
12059
|
var M;
|
|
12060
|
-
return p(), g("div",
|
|
12060
|
+
return p(), g("div", X4, [
|
|
12061
12061
|
A(Ga, null, {
|
|
12062
12062
|
primary: W(() => [
|
|
12063
|
-
v("div",
|
|
12063
|
+
v("div", Q4, [
|
|
12064
12064
|
a.project ? (p(), P(ci, {
|
|
12065
12065
|
key: 0,
|
|
12066
12066
|
"is-left": !1,
|
|
@@ -12070,7 +12070,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12070
12070
|
m && E.$router.push({ name: Q(Fe).project });
|
|
12071
12071
|
})
|
|
12072
12072
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12073
|
-
A(
|
|
12073
|
+
A(G4, {
|
|
12074
12074
|
"model-value": E.searchText,
|
|
12075
12075
|
placeholder: E.$t("feed.search.placeholder"),
|
|
12076
12076
|
class: "ao-feed__search",
|
|
@@ -12151,8 +12151,8 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12151
12151
|
]),
|
|
12152
12152
|
_: 1
|
|
12153
12153
|
}),
|
|
12154
|
-
v("div",
|
|
12155
|
-
(p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(
|
|
12154
|
+
v("div", J4, [
|
|
12155
|
+
(p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(x4, {
|
|
12156
12156
|
key: m.id,
|
|
12157
12157
|
status: m,
|
|
12158
12158
|
list: i.value[m.id],
|
|
@@ -12196,7 +12196,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12196
12196
|
onRemoveComment: ie
|
|
12197
12197
|
}, {
|
|
12198
12198
|
default: W((m) => [
|
|
12199
|
-
te(E.$slots, "activityDetailsBody", fa(
|
|
12199
|
+
te(E.$slots, "activityDetailsBody", pa(fa(m)))
|
|
12200
12200
|
]),
|
|
12201
12201
|
_: 3
|
|
12202
12202
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : T("", !0)
|
|
@@ -12209,7 +12209,7 @@ const Dt = {
|
|
|
12209
12209
|
TEMPLATES: "templates",
|
|
12210
12210
|
TEMPLATE_DETAILS: "template_details",
|
|
12211
12211
|
TEMPLATES_LIST: "templates_list"
|
|
12212
|
-
},
|
|
12212
|
+
}, C8 = (t, e = {}) => [
|
|
12213
12213
|
{
|
|
12214
12214
|
path: t,
|
|
12215
12215
|
name: Dt.TEMPLATES,
|
|
@@ -12219,7 +12219,7 @@ const Dt = {
|
|
|
12219
12219
|
{
|
|
12220
12220
|
path: "",
|
|
12221
12221
|
name: Dt.TEMPLATES_LIST,
|
|
12222
|
-
component:
|
|
12222
|
+
component: a8
|
|
12223
12223
|
},
|
|
12224
12224
|
{
|
|
12225
12225
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12234,7 +12234,7 @@ const Dt = {
|
|
|
12234
12234
|
feed: "AoProjectFeed",
|
|
12235
12235
|
milestone: "AoMilestone",
|
|
12236
12236
|
activity: "AoActivity"
|
|
12237
|
-
},
|
|
12237
|
+
}, g8 = (t, e = {}) => [
|
|
12238
12238
|
{
|
|
12239
12239
|
path: t,
|
|
12240
12240
|
...e,
|
|
@@ -12258,7 +12258,7 @@ const Dt = {
|
|
|
12258
12258
|
props: { default: !0, modal: !0 },
|
|
12259
12259
|
components: {
|
|
12260
12260
|
default: Ms,
|
|
12261
|
-
modal:
|
|
12261
|
+
modal: M4
|
|
12262
12262
|
}
|
|
12263
12263
|
}
|
|
12264
12264
|
]
|
|
@@ -12266,12 +12266,12 @@ const Dt = {
|
|
|
12266
12266
|
{
|
|
12267
12267
|
path: "feed",
|
|
12268
12268
|
name: Fe.feed,
|
|
12269
|
-
component:
|
|
12269
|
+
component: e8,
|
|
12270
12270
|
props: !0
|
|
12271
12271
|
}
|
|
12272
12272
|
]
|
|
12273
12273
|
}
|
|
12274
|
-
],
|
|
12274
|
+
], t8 = { class: "ao-templates" }, a8 = /* @__PURE__ */ z({
|
|
12275
12275
|
__name: "AoTemplatesList",
|
|
12276
12276
|
props: {
|
|
12277
12277
|
templates: {}
|
|
@@ -12300,7 +12300,7 @@ const Dt = {
|
|
|
12300
12300
|
});
|
|
12301
12301
|
}, i = (r) => {
|
|
12302
12302
|
if (r.moved) {
|
|
12303
|
-
const l =
|
|
12303
|
+
const l = Ca(r, a.templates ?? []);
|
|
12304
12304
|
e("updateItem", {
|
|
12305
12305
|
itemType: Ce.TEMPLATES,
|
|
12306
12306
|
id: r.moved.element.id,
|
|
@@ -12311,7 +12311,7 @@ const Dt = {
|
|
|
12311
12311
|
});
|
|
12312
12312
|
}
|
|
12313
12313
|
};
|
|
12314
|
-
return (r, l) => (p(), g("div",
|
|
12314
|
+
return (r, l) => (p(), g("div", t8, [
|
|
12315
12315
|
A(Ga, null, {
|
|
12316
12316
|
secondary: W(() => [
|
|
12317
12317
|
A(ce, {
|
|
@@ -12355,7 +12355,7 @@ const Dt = {
|
|
|
12355
12355
|
]));
|
|
12356
12356
|
}
|
|
12357
12357
|
});
|
|
12358
|
-
const
|
|
12358
|
+
const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ z({
|
|
12359
12359
|
__name: "AoField",
|
|
12360
12360
|
props: {
|
|
12361
12361
|
label: {},
|
|
@@ -12365,11 +12365,11 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12365
12365
|
return (e, a) => (p(), g("label", {
|
|
12366
12366
|
class: K(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12367
12367
|
}, [
|
|
12368
|
-
v("span",
|
|
12368
|
+
v("span", n8, G(e.label), 1),
|
|
12369
12369
|
te(e.$slots, "default")
|
|
12370
12370
|
], 2));
|
|
12371
12371
|
}
|
|
12372
|
-
}),
|
|
12372
|
+
}), i8 = ["type", "value", "disabled", "readonly"], _8 = /* @__PURE__ */ z({
|
|
12373
12373
|
__name: "AoInputField",
|
|
12374
12374
|
props: {
|
|
12375
12375
|
label: { default: "" },
|
|
@@ -12386,7 +12386,7 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12386
12386
|
), s = (o) => {
|
|
12387
12387
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12388
12388
|
};
|
|
12389
|
-
return (o, i) => (p(), P(
|
|
12389
|
+
return (o, i) => (p(), P(s8, { label: o.label }, {
|
|
12390
12390
|
default: W(() => [
|
|
12391
12391
|
v("input", He({
|
|
12392
12392
|
class: "ao-field__input",
|
|
@@ -12396,12 +12396,12 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12396
12396
|
readonly: o.isReadonly
|
|
12397
12397
|
}, {
|
|
12398
12398
|
[Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12399
|
-
}), null, 16,
|
|
12399
|
+
}), null, 16, i8)
|
|
12400
12400
|
]),
|
|
12401
12401
|
_: 1
|
|
12402
12402
|
}, 8, ["label"]));
|
|
12403
12403
|
}
|
|
12404
|
-
}),
|
|
12404
|
+
}), o8 = { class: "ao-field" }, r8 = { class: "ao-field__label" }, l8 = ["checked", "disabled"], y8 = /* @__PURE__ */ z({
|
|
12405
12405
|
__name: "AoCheckboxField",
|
|
12406
12406
|
props: {
|
|
12407
12407
|
label: { default: "" },
|
|
@@ -12411,8 +12411,8 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12411
12411
|
},
|
|
12412
12412
|
emits: ["update:modelValue"],
|
|
12413
12413
|
setup(t) {
|
|
12414
|
-
return (e, a) => (p(), g("label",
|
|
12415
|
-
v("span",
|
|
12414
|
+
return (e, a) => (p(), g("label", o8, [
|
|
12415
|
+
v("span", r8, G(e.label), 1),
|
|
12416
12416
|
v("input", {
|
|
12417
12417
|
class: "ao-field__input",
|
|
12418
12418
|
type: "checkbox",
|
|
@@ -12425,29 +12425,29 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12425
12425
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12426
12426
|
);
|
|
12427
12427
|
})
|
|
12428
|
-
}, null, 40,
|
|
12428
|
+
}, null, 40, l8)
|
|
12429
12429
|
]));
|
|
12430
12430
|
}
|
|
12431
12431
|
});
|
|
12432
12432
|
export {
|
|
12433
12433
|
Je as AoAvatar,
|
|
12434
12434
|
di as AoCardFeed,
|
|
12435
|
-
|
|
12436
|
-
|
|
12437
|
-
|
|
12438
|
-
|
|
12435
|
+
y8 as AoCheckboxField,
|
|
12436
|
+
e8 as AoFeed,
|
|
12437
|
+
s8 as AoField,
|
|
12438
|
+
_8 as AoInputField,
|
|
12439
12439
|
$e as AoMultiselect,
|
|
12440
12440
|
u9 as AoProjectPhases,
|
|
12441
12441
|
Av as AoTemplateDetails,
|
|
12442
|
-
|
|
12443
|
-
|
|
12442
|
+
f8 as AoTemplates,
|
|
12443
|
+
a8 as AoTemplatesList,
|
|
12444
12444
|
F2 as TemplateItemTypeEnum,
|
|
12445
|
-
|
|
12446
|
-
|
|
12445
|
+
h8 as activityFeedStatus,
|
|
12446
|
+
v8 as durationTypes,
|
|
12447
12447
|
Lt as feedFilterTypes,
|
|
12448
|
-
|
|
12449
|
-
|
|
12450
|
-
|
|
12448
|
+
g8 as getProjectOverviewRoutes,
|
|
12449
|
+
C8 as getTemplateRoutes,
|
|
12450
|
+
m8 as listUpdateTypes,
|
|
12451
12451
|
Cn as milestoneStatus,
|
|
12452
12452
|
Fe as projectOverviewRoutes,
|
|
12453
12453
|
R2 as ruleComparators,
|