@26lights/orcha 0.37.8 → 0.37.9
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 +334 -333
- 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 v8 = /* @__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
|
+
}, h8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, m8 = {
|
|
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 C8 = {
|
|
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, c8) => 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))
|
|
@@ -10103,27 +10103,30 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10103
10103
|
}, k9 = { class: "ao-card-feed__body" }, S9 = {
|
|
10104
10104
|
key: 0,
|
|
10105
10105
|
class: "ao-card-feed__breadcrumbs"
|
|
10106
|
-
}, A9 = {
|
|
10106
|
+
}, A9 = { class: "ao-card-feed__title-group" }, M9 = { class: "ao-card-feed__slug-title" }, T9 = {
|
|
10107
|
+
key: 0,
|
|
10108
|
+
class: "ao-card-feed__slug"
|
|
10109
|
+
}, O9 = {
|
|
10107
10110
|
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10108
|
-
},
|
|
10109
|
-
key:
|
|
10111
|
+
}, E9 = {
|
|
10112
|
+
key: 1,
|
|
10110
10113
|
class: "ao-card-feed__deadline"
|
|
10111
|
-
},
|
|
10114
|
+
}, I9 = { class: "ao-card-feed__footer" }, L9 = { class: "ao-card-feed__footer-row" }, H9 = { class: "ao-assignees" }, D9 = {
|
|
10112
10115
|
key: 0,
|
|
10113
10116
|
class: "ao-assignee"
|
|
10114
|
-
},
|
|
10117
|
+
}, P9 = {
|
|
10115
10118
|
key: 0,
|
|
10116
10119
|
class: "ao-card-feed__subitems"
|
|
10117
|
-
},
|
|
10120
|
+
}, V9 = {
|
|
10118
10121
|
key: 0,
|
|
10119
10122
|
class: "ao-card-feed__subitem"
|
|
10120
|
-
},
|
|
10123
|
+
}, B9 = { class: "ao-card-feed__subitem" }, R9 = {
|
|
10121
10124
|
key: 1,
|
|
10122
10125
|
class: "ao-card-feed__subitem"
|
|
10123
|
-
},
|
|
10126
|
+
}, N9 = { class: "ao-card-feed__subitem" }, j9 = { class: "ao-card-feed__footer-row" }, F9 = {
|
|
10124
10127
|
key: 0,
|
|
10125
10128
|
class: "ao-card-feed__progress-wrapper"
|
|
10126
|
-
},
|
|
10129
|
+
}, U9 = { class: "ao-card-feed__subitem" }, Z9 = { 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,31 @@ 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
|
+
v("div", O9, [
|
|
10212
|
+
A(ye, {
|
|
10213
|
+
id: h.id,
|
|
10214
|
+
title: h.name,
|
|
10215
|
+
level: 5,
|
|
10216
|
+
"is-editable": h.isEditable,
|
|
10217
|
+
"onUpdate:title": o
|
|
10218
|
+
}, null, 8, ["id", "title", "is-editable"])
|
|
10219
|
+
])
|
|
10220
|
+
])
|
|
10220
10221
|
]),
|
|
10221
|
-
h.deadline ? (p(), g("span",
|
|
10222
|
+
h.deadline ? (p(), g("span", E9, G(l.value), 1)) : T("", !0)
|
|
10222
10223
|
])
|
|
10223
10224
|
]),
|
|
10224
10225
|
footer: W(() => [
|
|
10225
|
-
v("div",
|
|
10226
|
-
v("div",
|
|
10227
|
-
v("ul",
|
|
10226
|
+
v("div", I9, [
|
|
10227
|
+
v("div", L9, [
|
|
10228
|
+
v("ul", H9, [
|
|
10228
10229
|
(p(!0), g(ve, null, _e(r.value, (b) => (p(), g(ve, {
|
|
10229
10230
|
key: b.id
|
|
10230
10231
|
}, [
|
|
10231
|
-
b ? (p(), g("li",
|
|
10232
|
+
b ? (p(), g("li", D9, [
|
|
10232
10233
|
A(Je, {
|
|
10233
10234
|
"user-name": Q(zs)(b),
|
|
10234
10235
|
"avatar-url": b.avatarUrl,
|
|
@@ -10238,31 +10239,31 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10238
10239
|
])) : T("", !0)
|
|
10239
10240
|
], 64))), 128))
|
|
10240
10241
|
]),
|
|
10241
|
-
h.comments || h.attachments ? (p(), g("ul",
|
|
10242
|
-
h.comments ? (p(), g("li",
|
|
10242
|
+
h.comments || h.attachments ? (p(), g("ul", P9, [
|
|
10243
|
+
h.comments ? (p(), g("li", V9, [
|
|
10243
10244
|
A(pe, {
|
|
10244
10245
|
name: "ChatOutline",
|
|
10245
10246
|
size: "sm"
|
|
10246
10247
|
}),
|
|
10247
|
-
v("span",
|
|
10248
|
+
v("span", B9, G(h.comments), 1)
|
|
10248
10249
|
])) : T("", !0),
|
|
10249
|
-
h.attachments ? (p(), g("li",
|
|
10250
|
+
h.attachments ? (p(), g("li", R9, [
|
|
10250
10251
|
A(pe, {
|
|
10251
10252
|
name: "AttachFileRounded",
|
|
10252
10253
|
size: "sm"
|
|
10253
10254
|
}),
|
|
10254
|
-
v("span",
|
|
10255
|
+
v("span", N9, G(h.attachments), 1)
|
|
10255
10256
|
])) : T("", !0)
|
|
10256
10257
|
])) : T("", !0)
|
|
10257
10258
|
]),
|
|
10258
|
-
v("div",
|
|
10259
|
-
h.tasks && h.tasks.length ? (p(), g("div",
|
|
10260
|
-
v("div",
|
|
10259
|
+
v("div", j9, [
|
|
10260
|
+
h.tasks && h.tasks.length ? (p(), g("div", F9, [
|
|
10261
|
+
v("div", U9, [
|
|
10261
10262
|
A(pe, {
|
|
10262
10263
|
name: "SelectCheckBox",
|
|
10263
10264
|
size: "sm"
|
|
10264
10265
|
}),
|
|
10265
|
-
v("span",
|
|
10266
|
+
v("span", Z9, G(f.value) + " / " + G(u.value), 1)
|
|
10266
10267
|
]),
|
|
10267
10268
|
A(qn, {
|
|
10268
10269
|
percentages: d.value,
|
|
@@ -10283,8 +10284,8 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10283
10284
|
*/
|
|
10284
10285
|
function wt(t) {
|
|
10285
10286
|
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 } =
|
|
10287
|
+
/#/.test(t) ? e = q9(t) : /rgb/.test(t) ? e = As(t) : typeof t == "string" ? e = As(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10288
|
+
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = z9(e);
|
|
10288
10289
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10289
10290
|
}
|
|
10290
10291
|
function zn(t) {
|
|
@@ -10295,11 +10296,11 @@ function $n(t, e, a, n, s, o) {
|
|
|
10295
10296
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
|
|
10296
10297
|
r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
|
|
10297
10298
|
}
|
|
10298
|
-
function
|
|
10299
|
+
function W9({ r: t, g: e, b: a }, n) {
|
|
10299
10300
|
const s = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${s(t)}${s(e)}${s(a)}`;
|
|
10300
10301
|
return n ? o.toUpperCase() : o;
|
|
10301
10302
|
}
|
|
10302
|
-
function
|
|
10303
|
+
function q9(t) {
|
|
10303
10304
|
t = t.slice(1);
|
|
10304
10305
|
const e = (a) => parseInt(a, 16) || 0;
|
|
10305
10306
|
return {
|
|
@@ -10316,7 +10317,7 @@ function As(t) {
|
|
|
10316
10317
|
a: Number(t[3] ? t[3] : 1)
|
|
10317
10318
|
}) : t;
|
|
10318
10319
|
}
|
|
10319
|
-
function
|
|
10320
|
+
function z9({ r: t, g: e, b: a }) {
|
|
10320
10321
|
t = t / 255, e = e / 255, a = a / 255;
|
|
10321
10322
|
const n = Math.max(t, e, a), s = Math.min(t, e, a), o = n - s;
|
|
10322
10323
|
let i = 0;
|
|
@@ -10383,8 +10384,8 @@ var xn = z({
|
|
|
10383
10384
|
}
|
|
10384
10385
|
}
|
|
10385
10386
|
});
|
|
10386
|
-
const
|
|
10387
|
-
function
|
|
10387
|
+
const x9 = { ref: "canvasSaturation" };
|
|
10388
|
+
function Y9(t, e, a, n, s, o) {
|
|
10388
10389
|
return p(), P(
|
|
10389
10390
|
"div",
|
|
10390
10391
|
{
|
|
@@ -10394,7 +10395,7 @@ function q9(t, e, a, n, s, o) {
|
|
|
10394
10395
|
[
|
|
10395
10396
|
A(
|
|
10396
10397
|
"canvas",
|
|
10397
|
-
|
|
10398
|
+
x9,
|
|
10398
10399
|
null,
|
|
10399
10400
|
512
|
|
10400
10401
|
/* NEED_PATCH */
|
|
@@ -10414,7 +10415,7 @@ function q9(t, e, a, n, s, o) {
|
|
|
10414
10415
|
/* HYDRATE_EVENTS */
|
|
10415
10416
|
);
|
|
10416
10417
|
}
|
|
10417
|
-
xn.render =
|
|
10418
|
+
xn.render = Y9;
|
|
10418
10419
|
xn.__file = "src/color/Saturation.vue";
|
|
10419
10420
|
var Yn = z({
|
|
10420
10421
|
props: {
|
|
@@ -10469,8 +10470,8 @@ var Yn = z({
|
|
|
10469
10470
|
}
|
|
10470
10471
|
}
|
|
10471
10472
|
});
|
|
10472
|
-
const
|
|
10473
|
-
function
|
|
10473
|
+
const K9 = { ref: "canvasHue" };
|
|
10474
|
+
function G9(t, e, a, n, s, o) {
|
|
10474
10475
|
return p(), P(
|
|
10475
10476
|
"div",
|
|
10476
10477
|
{
|
|
@@ -10480,7 +10481,7 @@ function x9(t, e, a, n, s, o) {
|
|
|
10480
10481
|
[
|
|
10481
10482
|
A(
|
|
10482
10483
|
"canvas",
|
|
10483
|
-
|
|
10484
|
+
K9,
|
|
10484
10485
|
null,
|
|
10485
10486
|
512
|
|
10486
10487
|
/* NEED_PATCH */
|
|
@@ -10500,7 +10501,7 @@ function x9(t, e, a, n, s, o) {
|
|
|
10500
10501
|
/* HYDRATE_EVENTS */
|
|
10501
10502
|
);
|
|
10502
10503
|
}
|
|
10503
|
-
Yn.render =
|
|
10504
|
+
Yn.render = G9;
|
|
10504
10505
|
Yn.__file = "src/color/Hue.vue";
|
|
10505
10506
|
var Kn = z({
|
|
10506
10507
|
props: {
|
|
@@ -10564,8 +10565,8 @@ var Kn = z({
|
|
|
10564
10565
|
}
|
|
10565
10566
|
}
|
|
10566
10567
|
});
|
|
10567
|
-
const
|
|
10568
|
-
function
|
|
10568
|
+
const X9 = { ref: "canvasAlpha" };
|
|
10569
|
+
function Q9(t, e, a, n, s, o) {
|
|
10569
10570
|
return p(), P(
|
|
10570
10571
|
"div",
|
|
10571
10572
|
{
|
|
@@ -10575,7 +10576,7 @@ function K9(t, e, a, n, s, o) {
|
|
|
10575
10576
|
[
|
|
10576
10577
|
A(
|
|
10577
10578
|
"canvas",
|
|
10578
|
-
|
|
10579
|
+
X9,
|
|
10579
10580
|
null,
|
|
10580
10581
|
512
|
|
10581
10582
|
/* NEED_PATCH */
|
|
@@ -10595,7 +10596,7 @@ function K9(t, e, a, n, s, o) {
|
|
|
10595
10596
|
/* HYDRATE_EVENTS */
|
|
10596
10597
|
);
|
|
10597
10598
|
}
|
|
10598
|
-
Kn.render =
|
|
10599
|
+
Kn.render = Q9;
|
|
10599
10600
|
Kn.__file = "src/color/Alpha.vue";
|
|
10600
10601
|
var Gn = z({
|
|
10601
10602
|
props: {
|
|
@@ -10632,10 +10633,10 @@ var Gn = z({
|
|
|
10632
10633
|
}
|
|
10633
10634
|
}
|
|
10634
10635
|
});
|
|
10635
|
-
function
|
|
10636
|
+
function J9(t, e, a, n, s, o) {
|
|
10636
10637
|
return p(), P("canvas");
|
|
10637
10638
|
}
|
|
10638
|
-
Gn.render =
|
|
10639
|
+
Gn.render = J9;
|
|
10639
10640
|
Gn.__file = "src/color/Preview.vue";
|
|
10640
10641
|
var Xn = z({
|
|
10641
10642
|
props: {
|
|
@@ -10698,19 +10699,19 @@ var Xn = z({
|
|
|
10698
10699
|
}
|
|
10699
10700
|
}
|
|
10700
10701
|
});
|
|
10701
|
-
const
|
|
10702
|
+
const e4 = /* @__PURE__ */ A(
|
|
10702
10703
|
"path",
|
|
10703
10704
|
{ 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
10705
|
null,
|
|
10705
10706
|
-1
|
|
10706
10707
|
/* HOISTED */
|
|
10707
|
-
),
|
|
10708
|
+
), t4 = {
|
|
10708
10709
|
key: 1,
|
|
10709
10710
|
class: "sucker",
|
|
10710
10711
|
viewBox: "-16 -16 68 68",
|
|
10711
10712
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10712
10713
|
stroke: "#9099a4"
|
|
10713
|
-
},
|
|
10714
|
+
}, a4 = /* @__PURE__ */ A(
|
|
10714
10715
|
"g",
|
|
10715
10716
|
{
|
|
10716
10717
|
fill: "none",
|
|
@@ -10742,7 +10743,7 @@ const X9 = /* @__PURE__ */ A(
|
|
|
10742
10743
|
-1
|
|
10743
10744
|
/* HOISTED */
|
|
10744
10745
|
);
|
|
10745
|
-
function
|
|
10746
|
+
function n4(t, e, a, n, s, o) {
|
|
10746
10747
|
return p(), P("div", null, [
|
|
10747
10748
|
t.isSucking ? T("v-if", !0) : (p(), P(
|
|
10748
10749
|
"svg",
|
|
@@ -10754,17 +10755,17 @@ function e4(t, e, a, n, s, o) {
|
|
|
10754
10755
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10755
10756
|
},
|
|
10756
10757
|
[
|
|
10757
|
-
|
|
10758
|
+
e4
|
|
10758
10759
|
],
|
|
10759
10760
|
2
|
|
10760
10761
|
/* CLASS */
|
|
10761
10762
|
)),
|
|
10762
|
-
t.isSucking ? (p(), P("svg",
|
|
10763
|
-
|
|
10763
|
+
t.isSucking ? (p(), P("svg", t4, [
|
|
10764
|
+
a4
|
|
10764
10765
|
])) : T("v-if", !0)
|
|
10765
10766
|
]);
|
|
10766
10767
|
}
|
|
10767
|
-
Xn.render =
|
|
10768
|
+
Xn.render = n4;
|
|
10768
10769
|
Xn.__file = "src/color/Sucker.vue";
|
|
10769
10770
|
var Qn = z({
|
|
10770
10771
|
props: {
|
|
@@ -10797,12 +10798,12 @@ var Qn = z({
|
|
|
10797
10798
|
};
|
|
10798
10799
|
}
|
|
10799
10800
|
});
|
|
10800
|
-
const
|
|
10801
|
-
function
|
|
10802
|
-
return p(), P("div",
|
|
10801
|
+
const s4 = { class: "color-type" }, i4 = { class: "name" };
|
|
10802
|
+
function o4(t, e, a, n, s, o) {
|
|
10803
|
+
return p(), P("div", s4, [
|
|
10803
10804
|
A(
|
|
10804
10805
|
"span",
|
|
10805
|
-
|
|
10806
|
+
i4,
|
|
10806
10807
|
G(t.name),
|
|
10807
10808
|
1
|
|
10808
10809
|
/* TEXT */
|
|
@@ -10823,7 +10824,7 @@ function n4(t, e, a, n, s, o) {
|
|
|
10823
10824
|
])
|
|
10824
10825
|
]);
|
|
10825
10826
|
}
|
|
10826
|
-
Qn.render =
|
|
10827
|
+
Qn.render = o4;
|
|
10827
10828
|
Qn.__file = "src/color/Box.vue";
|
|
10828
10829
|
var Jn = z({
|
|
10829
10830
|
name: "ColorPicker",
|
|
@@ -10865,13 +10866,13 @@ var Jn = z({
|
|
|
10865
10866
|
};
|
|
10866
10867
|
}
|
|
10867
10868
|
});
|
|
10868
|
-
const
|
|
10869
|
+
const r4 = { class: "colors" }, l4 = {
|
|
10869
10870
|
key: 0,
|
|
10870
10871
|
class: "colors history"
|
|
10871
10872
|
};
|
|
10872
|
-
function
|
|
10873
|
+
function u4(t, e, a, n, s, o) {
|
|
10873
10874
|
return p(), P("div", null, [
|
|
10874
|
-
A("ul",
|
|
10875
|
+
A("ul", r4, [
|
|
10875
10876
|
(p(!0), P(
|
|
10876
10877
|
ve,
|
|
10877
10878
|
null,
|
|
@@ -10905,7 +10906,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10905
10906
|
/* KEYED_FRAGMENT */
|
|
10906
10907
|
))
|
|
10907
10908
|
]),
|
|
10908
|
-
t.colorsHistory.length ? (p(), P("ul",
|
|
10909
|
+
t.colorsHistory.length ? (p(), P("ul", l4, [
|
|
10909
10910
|
(p(!0), P(
|
|
10910
10911
|
ve,
|
|
10911
10912
|
null,
|
|
@@ -10941,7 +10942,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10941
10942
|
])) : T("v-if", !0)
|
|
10942
10943
|
]);
|
|
10943
10944
|
}
|
|
10944
|
-
Jn.render =
|
|
10945
|
+
Jn.render = u4;
|
|
10945
10946
|
Jn.__file = "src/color/Colors.vue";
|
|
10946
10947
|
var Rt = z({
|
|
10947
10948
|
components: {
|
|
@@ -11052,7 +11053,7 @@ var Rt = z({
|
|
|
11052
11053
|
return `rgba(${this.rgbaStringShort})`;
|
|
11053
11054
|
},
|
|
11054
11055
|
hexString() {
|
|
11055
|
-
return
|
|
11056
|
+
return W9(this.rgba, !0);
|
|
11056
11057
|
}
|
|
11057
11058
|
},
|
|
11058
11059
|
created() {
|
|
@@ -11116,8 +11117,8 @@ var Rt = z({
|
|
|
11116
11117
|
}
|
|
11117
11118
|
}
|
|
11118
11119
|
});
|
|
11119
|
-
const
|
|
11120
|
-
function
|
|
11120
|
+
const c4 = { class: "color-set" };
|
|
11121
|
+
function d4(t, e, a, n, s, o) {
|
|
11121
11122
|
const i = Ye("Saturation"), r = Ye("Hue"), l = Ye("Alpha"), c = Ye("Preview"), u = Ye("Sucker"), f = Ye("Box"), d = Ye("Colors");
|
|
11122
11123
|
return p(), P(
|
|
11123
11124
|
"div",
|
|
@@ -11126,7 +11127,7 @@ function l4(t, e, a, n, s, o) {
|
|
|
11126
11127
|
style: { width: t.totalWidth + "px" }
|
|
11127
11128
|
},
|
|
11128
11129
|
[
|
|
11129
|
-
A("div",
|
|
11130
|
+
A("div", c4, [
|
|
11130
11131
|
A(i, {
|
|
11131
11132
|
ref: "saturation",
|
|
11132
11133
|
color: t.rgbString,
|
|
@@ -11200,12 +11201,12 @@ function l4(t, e, a, n, s, o) {
|
|
|
11200
11201
|
/* CLASS, STYLE */
|
|
11201
11202
|
);
|
|
11202
11203
|
}
|
|
11203
|
-
Rt.render =
|
|
11204
|
+
Rt.render = d4;
|
|
11204
11205
|
Rt.__file = "src/color/ColorPicker.vue";
|
|
11205
11206
|
Rt.install = (t) => {
|
|
11206
11207
|
t.component(Rt.name, Rt);
|
|
11207
11208
|
};
|
|
11208
|
-
const
|
|
11209
|
+
const p4 = {
|
|
11209
11210
|
props: {
|
|
11210
11211
|
color: {
|
|
11211
11212
|
type: String,
|
|
@@ -11229,12 +11230,12 @@ const u4 = {
|
|
|
11229
11230
|
this.$emit("update:color", o);
|
|
11230
11231
|
}
|
|
11231
11232
|
}
|
|
11232
|
-
},
|
|
11233
|
-
function
|
|
11233
|
+
}, f4 = { class: "color-picker-wrapper" };
|
|
11234
|
+
function v4(t, e, a, n, s, o) {
|
|
11234
11235
|
const i = Ye("ColorPicker");
|
|
11235
|
-
return p(), g("div",
|
|
11236
|
+
return p(), g("div", f4, [
|
|
11236
11237
|
v("button", {
|
|
11237
|
-
style:
|
|
11238
|
+
style: Ua({ backgroundColor: a.color }),
|
|
11238
11239
|
class: "color-button",
|
|
11239
11240
|
onClick: e[0] || (e[0] = (...r) => o.togglePicker && o.togglePicker(...r))
|
|
11240
11241
|
}, null, 4),
|
|
@@ -11247,10 +11248,10 @@ function d4(t, e, a, n, s, o) {
|
|
|
11247
11248
|
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11248
11249
|
]);
|
|
11249
11250
|
}
|
|
11250
|
-
const
|
|
11251
|
+
const h4 = /* @__PURE__ */ j(p4, [["render", v4]]), m4 = { class: "ao-project-milestone" }, C4 = { class: "ao-project-milestone__header" }, g4 = { class: "ao-project-milestone__header_line" }, _4 = { class: "ao-project-milestone__header_line" }, y4 = { class: "ao-project-milestone__title" }, b4 = {
|
|
11251
11252
|
key: 0,
|
|
11252
11253
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11253
|
-
},
|
|
11254
|
+
}, w4 = { class: "ao-field__row ao-milestone__field-row" }, $4 = { class: "ao-field ao-field--inline" }, k4 = { class: "ao-field__row ao-milestone__field-row" }, S4 = { class: "ao-field ao-milestone__field-multiselect" }, A4 = { class: "ao-project-milestone__body" }, M4 = {
|
|
11254
11255
|
key: 0,
|
|
11255
11256
|
class: "ao-project-milestone__footer"
|
|
11256
11257
|
}, Ms = /* @__PURE__ */ z({
|
|
@@ -11357,9 +11358,9 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11357
11358
|
});
|
|
11358
11359
|
return (_, C) => {
|
|
11359
11360
|
var D;
|
|
11360
|
-
return p(), g("div",
|
|
11361
|
-
v("header",
|
|
11362
|
-
v("div",
|
|
11361
|
+
return p(), g("div", m4, [
|
|
11362
|
+
v("header", C4, [
|
|
11363
|
+
v("div", g4, [
|
|
11363
11364
|
A(ce, {
|
|
11364
11365
|
"icon-name": "CloseRounded",
|
|
11365
11366
|
variant: "ghost",
|
|
@@ -11368,8 +11369,8 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11368
11369
|
onClick: l
|
|
11369
11370
|
})
|
|
11370
11371
|
]),
|
|
11371
|
-
v("div",
|
|
11372
|
-
v("div",
|
|
11372
|
+
v("div", _4, [
|
|
11373
|
+
v("div", y4, [
|
|
11373
11374
|
A(ye, {
|
|
11374
11375
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11375
11376
|
level: 5
|
|
@@ -11388,9 +11389,9 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11388
11389
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11389
11390
|
])
|
|
11390
11391
|
]),
|
|
11391
|
-
i.value ? (p(), g("div",
|
|
11392
|
-
v("div",
|
|
11393
|
-
v("label",
|
|
11392
|
+
i.value ? (p(), g("div", b4, [
|
|
11393
|
+
v("div", w4, [
|
|
11394
|
+
v("label", $4, [
|
|
11394
11395
|
Ke(v("input", {
|
|
11395
11396
|
"onUpdate:modelValue": C[1] || (C[1] = (I) => h.value = I),
|
|
11396
11397
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11405,8 +11406,8 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11405
11406
|
])
|
|
11406
11407
|
])
|
|
11407
11408
|
]),
|
|
11408
|
-
v("div",
|
|
11409
|
-
v("label",
|
|
11409
|
+
v("div", k4, [
|
|
11410
|
+
v("label", S4, [
|
|
11410
11411
|
A($e, {
|
|
11411
11412
|
modelValue: y.value,
|
|
11412
11413
|
"onUpdate:modelValue": C[2] || (C[2] = (I) => y.value = I),
|
|
@@ -11435,13 +11436,13 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11435
11436
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11436
11437
|
])
|
|
11437
11438
|
]),
|
|
11438
|
-
A(
|
|
11439
|
+
A(h4, {
|
|
11439
11440
|
color: d.value,
|
|
11440
11441
|
"onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
|
|
11441
11442
|
}, null, 8, ["color"])
|
|
11442
11443
|
])) : T("", !0)
|
|
11443
11444
|
]),
|
|
11444
|
-
v("div",
|
|
11445
|
+
v("div", A4, [
|
|
11445
11446
|
A(Q(mt), He({
|
|
11446
11447
|
class: "ao-project-milestone__activities",
|
|
11447
11448
|
list: r.value,
|
|
@@ -11475,7 +11476,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11475
11476
|
}),
|
|
11476
11477
|
onUpdateActivity: u,
|
|
11477
11478
|
onRemoveAssignee: () => u({ id: I.id, assigneeId: null })
|
|
11478
|
-
},
|
|
11479
|
+
}, Za({ _: 2 }, [
|
|
11479
11480
|
_.isEditable ? {
|
|
11480
11481
|
name: "secondary",
|
|
11481
11482
|
fn: W(() => [
|
|
@@ -11512,7 +11513,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11512
11513
|
}),
|
|
11513
11514
|
_: 1
|
|
11514
11515
|
}, 16, ["list", "disabled"]),
|
|
11515
|
-
_.isEditable ? (p(), g("div",
|
|
11516
|
+
_.isEditable ? (p(), g("div", M4, [
|
|
11516
11517
|
A(Ct, {
|
|
11517
11518
|
"icon-name": "Add",
|
|
11518
11519
|
label: _.$t("project.activity.add"),
|
|
@@ -11524,7 +11525,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11524
11525
|
};
|
|
11525
11526
|
}
|
|
11526
11527
|
});
|
|
11527
|
-
const
|
|
11528
|
+
const T4 = /* @__PURE__ */ z({
|
|
11528
11529
|
__name: "AoProjectOverviewActivityDetails",
|
|
11529
11530
|
props: {
|
|
11530
11531
|
phaseId: {},
|
|
@@ -11605,26 +11606,26 @@ const S4 = /* @__PURE__ */ z({
|
|
|
11605
11606
|
onRemoveComment: b
|
|
11606
11607
|
}, {
|
|
11607
11608
|
default: W((D) => [
|
|
11608
|
-
te(y.$slots, "default", fa(
|
|
11609
|
+
te(y.$slots, "default", pa(fa(D)))
|
|
11609
11610
|
]),
|
|
11610
11611
|
_: 3
|
|
11611
11612
|
}, 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
11613
|
};
|
|
11613
11614
|
}
|
|
11614
|
-
}),
|
|
11615
|
+
}), O4 = { class: "ao-col-header" }, E4 = /* @__PURE__ */ z({
|
|
11615
11616
|
__name: "AoColHeader",
|
|
11616
11617
|
props: {
|
|
11617
11618
|
title: {},
|
|
11618
11619
|
items: {}
|
|
11619
11620
|
},
|
|
11620
11621
|
setup(t) {
|
|
11621
|
-
return (e, a) => (p(), g("header",
|
|
11622
|
+
return (e, a) => (p(), g("header", O4, [
|
|
11622
11623
|
A(ye, {
|
|
11623
11624
|
title: e.title,
|
|
11624
11625
|
class: "ao-col-header__title",
|
|
11625
11626
|
level: 4
|
|
11626
11627
|
}, null, 8, ["title"]),
|
|
11627
|
-
e.items ? (p(), P(
|
|
11628
|
+
e.items ? (p(), P(qa, {
|
|
11628
11629
|
key: 0,
|
|
11629
11630
|
label: e.items,
|
|
11630
11631
|
class: "ao-col-header__items",
|
|
@@ -11634,17 +11635,17 @@ const S4 = /* @__PURE__ */ z({
|
|
|
11634
11635
|
]));
|
|
11635
11636
|
}
|
|
11636
11637
|
});
|
|
11637
|
-
function
|
|
11638
|
+
function I4(t) {
|
|
11638
11639
|
return Pi() ? (Vi(t), !0) : !1;
|
|
11639
11640
|
}
|
|
11640
|
-
function
|
|
11641
|
+
function ja(t) {
|
|
11641
11642
|
return typeof t == "function" ? t() : Q(t);
|
|
11642
11643
|
}
|
|
11643
|
-
const
|
|
11644
|
+
const L4 = typeof window < "u" && typeof document < "u";
|
|
11644
11645
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11645
|
-
const
|
|
11646
|
+
const H4 = (t) => t != null, oa = () => {
|
|
11646
11647
|
};
|
|
11647
|
-
function
|
|
11648
|
+
function D4(t, e) {
|
|
11648
11649
|
function a(...n) {
|
|
11649
11650
|
return new Promise((s, o) => {
|
|
11650
11651
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -11652,13 +11653,13 @@ function I4(t, e) {
|
|
|
11652
11653
|
}
|
|
11653
11654
|
return a;
|
|
11654
11655
|
}
|
|
11655
|
-
function
|
|
11656
|
+
function P4(t, e = {}) {
|
|
11656
11657
|
let a, n, s = oa;
|
|
11657
11658
|
const o = (r) => {
|
|
11658
11659
|
clearTimeout(r), s(), s = oa;
|
|
11659
11660
|
};
|
|
11660
11661
|
return (r) => {
|
|
11661
|
-
const l =
|
|
11662
|
+
const l = ja(t), c = ja(e.maxWait);
|
|
11662
11663
|
return a && o(a), l <= 0 || c !== void 0 && c <= 0 ? (n && (o(n), n = null), Promise.resolve(r())) : new Promise((u, f) => {
|
|
11663
11664
|
s = e.rejectOnCancel ? f : u, c && !n && (n = setTimeout(() => {
|
|
11664
11665
|
a && o(a), n = null, u(r());
|
|
@@ -11668,38 +11669,38 @@ function L4(t, e = {}) {
|
|
|
11668
11669
|
});
|
|
11669
11670
|
};
|
|
11670
11671
|
}
|
|
11671
|
-
function
|
|
11672
|
-
return
|
|
11673
|
-
|
|
11672
|
+
function V4(t, e = 200, a = {}) {
|
|
11673
|
+
return D4(
|
|
11674
|
+
P4(e, a),
|
|
11674
11675
|
t
|
|
11675
11676
|
);
|
|
11676
11677
|
}
|
|
11677
11678
|
function mn(t) {
|
|
11678
11679
|
var e;
|
|
11679
|
-
const a =
|
|
11680
|
+
const a = ja(t);
|
|
11680
11681
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11681
11682
|
}
|
|
11682
|
-
const
|
|
11683
|
-
function
|
|
11683
|
+
const B4 = L4 ? window : void 0;
|
|
11684
|
+
function R4() {
|
|
11684
11685
|
const t = ee(!1), e = Mt();
|
|
11685
11686
|
return e && xt(() => {
|
|
11686
11687
|
t.value = !0;
|
|
11687
11688
|
}, e), t;
|
|
11688
11689
|
}
|
|
11689
|
-
function
|
|
11690
|
-
const e =
|
|
11690
|
+
function N4(t) {
|
|
11691
|
+
const e = R4();
|
|
11691
11692
|
return S(() => (e.value, !!t()));
|
|
11692
11693
|
}
|
|
11693
|
-
function
|
|
11694
|
+
function j4(t, e, a = {}) {
|
|
11694
11695
|
const {
|
|
11695
11696
|
root: n,
|
|
11696
11697
|
rootMargin: s = "0px",
|
|
11697
11698
|
threshold: o = 0.1,
|
|
11698
|
-
window: i =
|
|
11699
|
+
window: i = B4,
|
|
11699
11700
|
immediate: r = !0
|
|
11700
|
-
} = a, l =
|
|
11701
|
-
const w =
|
|
11702
|
-
return (Array.isArray(w) ? w : [w]).map(mn).filter(
|
|
11701
|
+
} = a, l = N4(() => i && "IntersectionObserver" in i), c = S(() => {
|
|
11702
|
+
const w = ja(t);
|
|
11703
|
+
return (Array.isArray(w) ? w : [w]).map(mn).filter(H4);
|
|
11703
11704
|
});
|
|
11704
11705
|
let u = oa;
|
|
11705
11706
|
const f = ee(r), d = l.value ? de(
|
|
@@ -11723,7 +11724,7 @@ function B4(t, e, a = {}) {
|
|
|
11723
11724
|
) : oa, h = () => {
|
|
11724
11725
|
u(), d(), f.value = !1;
|
|
11725
11726
|
};
|
|
11726
|
-
return
|
|
11727
|
+
return I4(h), {
|
|
11727
11728
|
isSupported: l,
|
|
11728
11729
|
isActive: f,
|
|
11729
11730
|
pause() {
|
|
@@ -11735,24 +11736,24 @@ function B4(t, e, a = {}) {
|
|
|
11735
11736
|
stop: h
|
|
11736
11737
|
};
|
|
11737
11738
|
}
|
|
11738
|
-
const
|
|
11739
|
+
const F4 = {
|
|
11739
11740
|
class: /* @__PURE__ */ K(["ao-list-kanban"])
|
|
11740
|
-
},
|
|
11741
|
+
}, U4 = { class: "ao-list-kanban__header" }, Z4 = {
|
|
11741
11742
|
key: 0,
|
|
11742
11743
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11743
|
-
},
|
|
11744
|
+
}, W4 = {
|
|
11744
11745
|
key: 1,
|
|
11745
11746
|
class: "ao-list-kanban__end"
|
|
11746
|
-
},
|
|
11747
|
+
}, q4 = {
|
|
11747
11748
|
key: 0,
|
|
11748
11749
|
class: "ao-list-kanban__no-more"
|
|
11749
|
-
},
|
|
11750
|
+
}, z4 = {
|
|
11750
11751
|
key: 1,
|
|
11751
11752
|
class: "ao-list-kanban__divider"
|
|
11752
|
-
},
|
|
11753
|
+
}, x4 = {
|
|
11753
11754
|
key: 1,
|
|
11754
11755
|
class: "ao-list-kanban__footer"
|
|
11755
|
-
},
|
|
11756
|
+
}, Y4 = /* @__PURE__ */ z({
|
|
11756
11757
|
__name: "AoListKanban",
|
|
11757
11758
|
props: {
|
|
11758
11759
|
list: {},
|
|
@@ -11770,7 +11771,7 @@ const R4 = {
|
|
|
11770
11771
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11771
11772
|
setup(t, { emit: e }) {
|
|
11772
11773
|
const a = t, n = ee(!1), s = ee(null);
|
|
11773
|
-
|
|
11774
|
+
j4(s, ([{ isIntersecting: u }]) => {
|
|
11774
11775
|
n.value = u;
|
|
11775
11776
|
}), de(n, (u) => {
|
|
11776
11777
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11795,12 +11796,12 @@ const R4 = {
|
|
|
11795
11796
|
)
|
|
11796
11797
|
});
|
|
11797
11798
|
}, c = ee(!1);
|
|
11798
|
-
return (u, f) => (p(), g("div",
|
|
11799
|
+
return (u, f) => (p(), g("div", F4, [
|
|
11799
11800
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
11800
11801
|
var d;
|
|
11801
11802
|
return [
|
|
11802
|
-
v("div",
|
|
11803
|
-
u.title ? (p(), P(
|
|
11803
|
+
v("div", U4, [
|
|
11804
|
+
u.title ? (p(), P(E4, {
|
|
11804
11805
|
key: 0,
|
|
11805
11806
|
title: u.title,
|
|
11806
11807
|
level: 3,
|
|
@@ -11886,20 +11887,20 @@ const R4 = {
|
|
|
11886
11887
|
];
|
|
11887
11888
|
}),
|
|
11888
11889
|
footer: W(() => [
|
|
11889
|
-
u.isLoading ? (p(), g("div",
|
|
11890
|
+
u.isLoading ? (p(), g("div", Z4, [
|
|
11890
11891
|
A(pe, { name: "Loading" })
|
|
11891
11892
|
])) : u.hasMore ? (p(), g("div", {
|
|
11892
11893
|
key: 2,
|
|
11893
11894
|
ref_key: "scrollEnd",
|
|
11894
11895
|
ref: s,
|
|
11895
11896
|
class: "ao-list-kanban__end"
|
|
11896
|
-
}, null, 512)) : (p(), g("div",
|
|
11897
|
-
u.noMoreLabel ? (p(), g("span",
|
|
11897
|
+
}, null, 512)) : (p(), g("div", W4, [
|
|
11898
|
+
u.noMoreLabel ? (p(), g("span", q4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", z4)) : T("", !0)
|
|
11898
11899
|
]))
|
|
11899
11900
|
]),
|
|
11900
11901
|
_: 1
|
|
11901
11902
|
}, 16, ["class", "list", "disabled"]),
|
|
11902
|
-
u.$slots.footer || u.footerLabel ? (p(), g("div",
|
|
11903
|
+
u.$slots.footer || u.footerLabel ? (p(), g("div", x4, [
|
|
11903
11904
|
te(u.$slots, "footer", {}, () => [
|
|
11904
11905
|
u.isEditable ? (p(), P(Ct, {
|
|
11905
11906
|
key: 0,
|
|
@@ -11912,7 +11913,7 @@ const R4 = {
|
|
|
11912
11913
|
]));
|
|
11913
11914
|
}
|
|
11914
11915
|
});
|
|
11915
|
-
const
|
|
11916
|
+
const K4 = { class: "ao-field ao-search-field" }, G4 = ["value", "placeholder", "onKeypress"], X4 = /* @__PURE__ */ z({
|
|
11916
11917
|
__name: "AoSearchField",
|
|
11917
11918
|
props: {
|
|
11918
11919
|
modelValue: {},
|
|
@@ -11924,10 +11925,10 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11924
11925
|
const a = t, n = async (i) => {
|
|
11925
11926
|
const l = i.target.value;
|
|
11926
11927
|
e("update:modelValue", l, i);
|
|
11927
|
-
}, s =
|
|
11928
|
+
}, s = V4(n, a.delay), o = (i) => {
|
|
11928
11929
|
e("clear", i);
|
|
11929
11930
|
};
|
|
11930
|
-
return (i, r) => (p(), g("div",
|
|
11931
|
+
return (i, r) => (p(), g("div", K4, [
|
|
11931
11932
|
v("input", {
|
|
11932
11933
|
value: i.modelValue,
|
|
11933
11934
|
type: "text",
|
|
@@ -11936,7 +11937,7 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11936
11937
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11937
11938
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11938
11939
|
onKeypress: dt(n, ["enter"])
|
|
11939
|
-
}, null, 40,
|
|
11940
|
+
}, null, 40, G4),
|
|
11940
11941
|
A(pe, {
|
|
11941
11942
|
name: "SearchRounded",
|
|
11942
11943
|
class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -11952,7 +11953,7 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11952
11953
|
]));
|
|
11953
11954
|
}
|
|
11954
11955
|
});
|
|
11955
|
-
const
|
|
11956
|
+
const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { class: "ao-feed__body" }, t8 = /* @__PURE__ */ z({
|
|
11956
11957
|
__name: "AoFeed",
|
|
11957
11958
|
props: {
|
|
11958
11959
|
activities: {},
|
|
@@ -12057,10 +12058,10 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12057
12058
|
};
|
|
12058
12059
|
return (E, N) => {
|
|
12059
12060
|
var M;
|
|
12060
|
-
return p(), g("div",
|
|
12061
|
+
return p(), g("div", Q4, [
|
|
12061
12062
|
A(Ga, null, {
|
|
12062
12063
|
primary: W(() => [
|
|
12063
|
-
v("div",
|
|
12064
|
+
v("div", J4, [
|
|
12064
12065
|
a.project ? (p(), P(ci, {
|
|
12065
12066
|
key: 0,
|
|
12066
12067
|
"is-left": !1,
|
|
@@ -12070,7 +12071,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12070
12071
|
m && E.$router.push({ name: Q(Fe).project });
|
|
12071
12072
|
})
|
|
12072
12073
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12073
|
-
A(
|
|
12074
|
+
A(X4, {
|
|
12074
12075
|
"model-value": E.searchText,
|
|
12075
12076
|
placeholder: E.$t("feed.search.placeholder"),
|
|
12076
12077
|
class: "ao-feed__search",
|
|
@@ -12151,8 +12152,8 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12151
12152
|
]),
|
|
12152
12153
|
_: 1
|
|
12153
12154
|
}),
|
|
12154
|
-
v("div",
|
|
12155
|
-
(p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(
|
|
12155
|
+
v("div", e8, [
|
|
12156
|
+
(p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(Y4, {
|
|
12156
12157
|
key: m.id,
|
|
12157
12158
|
status: m,
|
|
12158
12159
|
list: i.value[m.id],
|
|
@@ -12196,7 +12197,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12196
12197
|
onRemoveComment: ie
|
|
12197
12198
|
}, {
|
|
12198
12199
|
default: W((m) => [
|
|
12199
|
-
te(E.$slots, "activityDetailsBody", fa(
|
|
12200
|
+
te(E.$slots, "activityDetailsBody", pa(fa(m)))
|
|
12200
12201
|
]),
|
|
12201
12202
|
_: 3
|
|
12202
12203
|
}, 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 +12210,7 @@ const Dt = {
|
|
|
12209
12210
|
TEMPLATES: "templates",
|
|
12210
12211
|
TEMPLATE_DETAILS: "template_details",
|
|
12211
12212
|
TEMPLATES_LIST: "templates_list"
|
|
12212
|
-
},
|
|
12213
|
+
}, g8 = (t, e = {}) => [
|
|
12213
12214
|
{
|
|
12214
12215
|
path: t,
|
|
12215
12216
|
name: Dt.TEMPLATES,
|
|
@@ -12219,7 +12220,7 @@ const Dt = {
|
|
|
12219
12220
|
{
|
|
12220
12221
|
path: "",
|
|
12221
12222
|
name: Dt.TEMPLATES_LIST,
|
|
12222
|
-
component:
|
|
12223
|
+
component: n8
|
|
12223
12224
|
},
|
|
12224
12225
|
{
|
|
12225
12226
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12234,7 +12235,7 @@ const Dt = {
|
|
|
12234
12235
|
feed: "AoProjectFeed",
|
|
12235
12236
|
milestone: "AoMilestone",
|
|
12236
12237
|
activity: "AoActivity"
|
|
12237
|
-
},
|
|
12238
|
+
}, _8 = (t, e = {}) => [
|
|
12238
12239
|
{
|
|
12239
12240
|
path: t,
|
|
12240
12241
|
...e,
|
|
@@ -12258,7 +12259,7 @@ const Dt = {
|
|
|
12258
12259
|
props: { default: !0, modal: !0 },
|
|
12259
12260
|
components: {
|
|
12260
12261
|
default: Ms,
|
|
12261
|
-
modal:
|
|
12262
|
+
modal: T4
|
|
12262
12263
|
}
|
|
12263
12264
|
}
|
|
12264
12265
|
]
|
|
@@ -12266,12 +12267,12 @@ const Dt = {
|
|
|
12266
12267
|
{
|
|
12267
12268
|
path: "feed",
|
|
12268
12269
|
name: Fe.feed,
|
|
12269
|
-
component:
|
|
12270
|
+
component: t8,
|
|
12270
12271
|
props: !0
|
|
12271
12272
|
}
|
|
12272
12273
|
]
|
|
12273
12274
|
}
|
|
12274
|
-
],
|
|
12275
|
+
], a8 = { class: "ao-templates" }, n8 = /* @__PURE__ */ z({
|
|
12275
12276
|
__name: "AoTemplatesList",
|
|
12276
12277
|
props: {
|
|
12277
12278
|
templates: {}
|
|
@@ -12300,7 +12301,7 @@ const Dt = {
|
|
|
12300
12301
|
});
|
|
12301
12302
|
}, i = (r) => {
|
|
12302
12303
|
if (r.moved) {
|
|
12303
|
-
const l =
|
|
12304
|
+
const l = Ca(r, a.templates ?? []);
|
|
12304
12305
|
e("updateItem", {
|
|
12305
12306
|
itemType: Ce.TEMPLATES,
|
|
12306
12307
|
id: r.moved.element.id,
|
|
@@ -12311,7 +12312,7 @@ const Dt = {
|
|
|
12311
12312
|
});
|
|
12312
12313
|
}
|
|
12313
12314
|
};
|
|
12314
|
-
return (r, l) => (p(), g("div",
|
|
12315
|
+
return (r, l) => (p(), g("div", a8, [
|
|
12315
12316
|
A(Ga, null, {
|
|
12316
12317
|
secondary: W(() => [
|
|
12317
12318
|
A(ce, {
|
|
@@ -12355,7 +12356,7 @@ const Dt = {
|
|
|
12355
12356
|
]));
|
|
12356
12357
|
}
|
|
12357
12358
|
});
|
|
12358
|
-
const
|
|
12359
|
+
const s8 = { class: "ao-field__label" }, i8 = /* @__PURE__ */ z({
|
|
12359
12360
|
__name: "AoField",
|
|
12360
12361
|
props: {
|
|
12361
12362
|
label: {},
|
|
@@ -12365,11 +12366,11 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12365
12366
|
return (e, a) => (p(), g("label", {
|
|
12366
12367
|
class: K(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12367
12368
|
}, [
|
|
12368
|
-
v("span",
|
|
12369
|
+
v("span", s8, G(e.label), 1),
|
|
12369
12370
|
te(e.$slots, "default")
|
|
12370
12371
|
], 2));
|
|
12371
12372
|
}
|
|
12372
|
-
}),
|
|
12373
|
+
}), o8 = ["type", "value", "disabled", "readonly"], y8 = /* @__PURE__ */ z({
|
|
12373
12374
|
__name: "AoInputField",
|
|
12374
12375
|
props: {
|
|
12375
12376
|
label: { default: "" },
|
|
@@ -12386,7 +12387,7 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12386
12387
|
), s = (o) => {
|
|
12387
12388
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12388
12389
|
};
|
|
12389
|
-
return (o, i) => (p(), P(
|
|
12390
|
+
return (o, i) => (p(), P(i8, { label: o.label }, {
|
|
12390
12391
|
default: W(() => [
|
|
12391
12392
|
v("input", He({
|
|
12392
12393
|
class: "ao-field__input",
|
|
@@ -12396,12 +12397,12 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12396
12397
|
readonly: o.isReadonly
|
|
12397
12398
|
}, {
|
|
12398
12399
|
[Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12399
|
-
}), null, 16,
|
|
12400
|
+
}), null, 16, o8)
|
|
12400
12401
|
]),
|
|
12401
12402
|
_: 1
|
|
12402
12403
|
}, 8, ["label"]));
|
|
12403
12404
|
}
|
|
12404
|
-
}),
|
|
12405
|
+
}), r8 = { class: "ao-field" }, l8 = { class: "ao-field__label" }, u8 = ["checked", "disabled"], b8 = /* @__PURE__ */ z({
|
|
12405
12406
|
__name: "AoCheckboxField",
|
|
12406
12407
|
props: {
|
|
12407
12408
|
label: { default: "" },
|
|
@@ -12411,8 +12412,8 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12411
12412
|
},
|
|
12412
12413
|
emits: ["update:modelValue"],
|
|
12413
12414
|
setup(t) {
|
|
12414
|
-
return (e, a) => (p(), g("label",
|
|
12415
|
-
v("span",
|
|
12415
|
+
return (e, a) => (p(), g("label", r8, [
|
|
12416
|
+
v("span", l8, G(e.label), 1),
|
|
12416
12417
|
v("input", {
|
|
12417
12418
|
class: "ao-field__input",
|
|
12418
12419
|
type: "checkbox",
|
|
@@ -12425,29 +12426,29 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12425
12426
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12426
12427
|
);
|
|
12427
12428
|
})
|
|
12428
|
-
}, null, 40,
|
|
12429
|
+
}, null, 40, u8)
|
|
12429
12430
|
]));
|
|
12430
12431
|
}
|
|
12431
12432
|
});
|
|
12432
12433
|
export {
|
|
12433
12434
|
Je as AoAvatar,
|
|
12434
12435
|
di as AoCardFeed,
|
|
12435
|
-
|
|
12436
|
-
|
|
12437
|
-
|
|
12438
|
-
|
|
12436
|
+
b8 as AoCheckboxField,
|
|
12437
|
+
t8 as AoFeed,
|
|
12438
|
+
i8 as AoField,
|
|
12439
|
+
y8 as AoInputField,
|
|
12439
12440
|
$e as AoMultiselect,
|
|
12440
12441
|
u9 as AoProjectPhases,
|
|
12441
12442
|
Av as AoTemplateDetails,
|
|
12442
|
-
|
|
12443
|
-
|
|
12443
|
+
v8 as AoTemplates,
|
|
12444
|
+
n8 as AoTemplatesList,
|
|
12444
12445
|
F2 as TemplateItemTypeEnum,
|
|
12445
|
-
|
|
12446
|
-
|
|
12446
|
+
m8 as activityFeedStatus,
|
|
12447
|
+
h8 as durationTypes,
|
|
12447
12448
|
Lt as feedFilterTypes,
|
|
12448
|
-
|
|
12449
|
-
|
|
12450
|
-
|
|
12449
|
+
_8 as getProjectOverviewRoutes,
|
|
12450
|
+
g8 as getTemplateRoutes,
|
|
12451
|
+
C8 as listUpdateTypes,
|
|
12451
12452
|
Cn as milestoneStatus,
|
|
12452
12453
|
Fe as projectOverviewRoutes,
|
|
12453
12454
|
R2 as ruleComparators,
|