@26lights/orcha 0.41.56 → 0.41.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +141 -142
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as za, createVNode as A, normalizeStyle as qa, withModifiers as ve, createSlots as va, Fragment as fe, renderList as _e, onMounted as Et, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Mt, toRefs as Ee, getCurrentInstance as It, toRef as jt, normalizeProps as fa, guardReactiveProps as ha, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const Q4 = /* @__PURE__ */ q({
|
|
@@ -1302,7 +1302,7 @@ const be = /* @__PURE__ */ q({
|
|
|
1302
1302
|
onKeydown: dt(Q(d), ["esc"])
|
|
1303
1303
|
}), {
|
|
1304
1304
|
default: N(() => [
|
|
1305
|
-
|
|
1305
|
+
za(W(w.title), 1)
|
|
1306
1306
|
]),
|
|
1307
1307
|
_: 1
|
|
1308
1308
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1419,13 +1419,13 @@ const la = /* @__PURE__ */ q({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: qa(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
1424
|
(p(), D(ht(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: N(() => [
|
|
1428
|
-
|
|
1428
|
+
za(W(n.label) + " ", 1),
|
|
1429
1429
|
n.variant === Q(V2).SOLID_ICON && n.iconName ? (p(), D(pe, {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
name: n.iconName,
|
|
@@ -1449,7 +1449,7 @@ const la = /* @__PURE__ */ q({
|
|
|
1449
1449
|
], 6));
|
|
1450
1450
|
}
|
|
1451
1451
|
});
|
|
1452
|
-
const
|
|
1452
|
+
const Da = {
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
@@ -1490,13 +1490,13 @@ const t8 = {
|
|
|
1490
1490
|
type: "typeId",
|
|
1491
1491
|
assignee: "assigneeId"
|
|
1492
1492
|
};
|
|
1493
|
-
function
|
|
1493
|
+
function Ba(t) {
|
|
1494
1494
|
"@babel/helpers - typeof";
|
|
1495
|
-
return
|
|
1495
|
+
return Ba = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1496
1496
|
return typeof e;
|
|
1497
1497
|
} : function(e) {
|
|
1498
1498
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1499
|
-
},
|
|
1499
|
+
}, Ba(t);
|
|
1500
1500
|
}
|
|
1501
1501
|
function Qe(t) {
|
|
1502
1502
|
if (t === null || t === !0 || t === !1)
|
|
@@ -1511,7 +1511,7 @@ function Ce(t, e) {
|
|
|
1511
1511
|
function $e(t) {
|
|
1512
1512
|
Ce(1, arguments);
|
|
1513
1513
|
var e = Object.prototype.toString.call(t);
|
|
1514
|
-
return t instanceof Date ||
|
|
1514
|
+
return t instanceof Date || Ba(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));
|
|
1515
1515
|
}
|
|
1516
1516
|
function X2(t, e) {
|
|
1517
1517
|
Ce(2, arguments);
|
|
@@ -1519,7 +1519,7 @@ function X2(t, e) {
|
|
|
1519
1519
|
return new Date(a + s);
|
|
1520
1520
|
}
|
|
1521
1521
|
var Q2 = {};
|
|
1522
|
-
function
|
|
1522
|
+
function ma() {
|
|
1523
1523
|
return Q2;
|
|
1524
1524
|
}
|
|
1525
1525
|
function ra(t) {
|
|
@@ -1544,7 +1544,7 @@ function t0(t, e) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
var Vn = 6e4, Dn = 36e5;
|
|
1546
1546
|
function a0(t) {
|
|
1547
|
-
return Ce(1, arguments), t instanceof Date ||
|
|
1547
|
+
return Ce(1, arguments), t instanceof Date || Ba(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1548
1548
|
}
|
|
1549
1549
|
function Bn(t) {
|
|
1550
1550
|
if (Ce(1, arguments), !a0(t) && typeof t != "number")
|
|
@@ -1565,7 +1565,7 @@ function n0(t) {
|
|
|
1565
1565
|
var s = e.getTime(), n = a - s;
|
|
1566
1566
|
return Math.floor(n / s0) + 1;
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1568
|
+
function ja(t) {
|
|
1569
1569
|
Ce(1, arguments);
|
|
1570
1570
|
var e = 1, a = $e(t), s = a.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
|
|
1571
1571
|
return a.setUTCDate(a.getUTCDate() - n), a.setUTCHours(0, 0, 0, 0), a;
|
|
@@ -1574,28 +1574,28 @@ function jn(t) {
|
|
|
1574
1574
|
Ce(1, arguments);
|
|
1575
1575
|
var e = $e(t), a = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
s.setUTCFullYear(a + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
|
|
1577
|
-
var n =
|
|
1577
|
+
var n = ja(s), o = /* @__PURE__ */ new Date(0);
|
|
1578
1578
|
o.setUTCFullYear(a, 0, 4), o.setUTCHours(0, 0, 0, 0);
|
|
1579
|
-
var i =
|
|
1579
|
+
var i = ja(o);
|
|
1580
1580
|
return e.getTime() >= n.getTime() ? a + 1 : e.getTime() >= i.getTime() ? a : a - 1;
|
|
1581
1581
|
}
|
|
1582
1582
|
function i0(t) {
|
|
1583
1583
|
Ce(1, arguments);
|
|
1584
1584
|
var e = jn(t), a = /* @__PURE__ */ new Date(0);
|
|
1585
1585
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1586
|
-
var s =
|
|
1586
|
+
var s = ja(a);
|
|
1587
1587
|
return s;
|
|
1588
1588
|
}
|
|
1589
1589
|
var o0 = 6048e5;
|
|
1590
1590
|
function l0(t) {
|
|
1591
1591
|
Ce(1, arguments);
|
|
1592
|
-
var e = $e(t), a =
|
|
1592
|
+
var e = $e(t), a = ja(e).getTime() - i0(e).getTime();
|
|
1593
1593
|
return Math.round(a / o0) + 1;
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function Ra(t, e) {
|
|
1596
1596
|
var a, s, n, o, i, l, r, c;
|
|
1597
1597
|
Ce(1, arguments);
|
|
1598
|
-
var u =
|
|
1598
|
+
var u = ma(), d = Qe((a = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1599
1599
|
if (!(d >= 0 && d <= 6))
|
|
1600
1600
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1601
1601
|
var v = $e(t), h = v.getUTCDay(), $ = (h < d ? 7 : 0) + h - d;
|
|
@@ -1604,28 +1604,28 @@ function Na(t, e) {
|
|
|
1604
1604
|
function Rn(t, e) {
|
|
1605
1605
|
var a, s, n, o, i, l, r, c;
|
|
1606
1606
|
Ce(1, arguments);
|
|
1607
|
-
var u = $e(t), d = u.getUTCFullYear(), v =
|
|
1607
|
+
var u = $e(t), d = u.getUTCFullYear(), v = ma(), h = Qe((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : v.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = v.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1608
1608
|
if (!(h >= 1 && h <= 7))
|
|
1609
1609
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1610
1610
|
var $ = /* @__PURE__ */ new Date(0);
|
|
1611
1611
|
$.setUTCFullYear(d + 1, 0, h), $.setUTCHours(0, 0, 0, 0);
|
|
1612
|
-
var w =
|
|
1612
|
+
var w = Ra($, e), g = /* @__PURE__ */ new Date(0);
|
|
1613
1613
|
g.setUTCFullYear(d, 0, h), g.setUTCHours(0, 0, 0, 0);
|
|
1614
|
-
var m =
|
|
1614
|
+
var m = Ra(g, e);
|
|
1615
1615
|
return u.getTime() >= w.getTime() ? d + 1 : u.getTime() >= m.getTime() ? d : d - 1;
|
|
1616
1616
|
}
|
|
1617
1617
|
function r0(t, e) {
|
|
1618
1618
|
var a, s, n, o, i, l, r, c;
|
|
1619
1619
|
Ce(1, arguments);
|
|
1620
|
-
var u =
|
|
1620
|
+
var u = ma(), d = Qe((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), v = Rn(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1621
1621
|
h.setUTCFullYear(v, 0, d), h.setUTCHours(0, 0, 0, 0);
|
|
1622
|
-
var $ =
|
|
1622
|
+
var $ = Ra(h, e);
|
|
1623
1623
|
return $;
|
|
1624
1624
|
}
|
|
1625
1625
|
var u0 = 6048e5;
|
|
1626
1626
|
function c0(t, e) {
|
|
1627
1627
|
Ce(1, arguments);
|
|
1628
|
-
var a = $e(t), s =
|
|
1628
|
+
var a = $e(t), s = Ra(a, e).getTime() - r0(a, e).getTime();
|
|
1629
1629
|
return Math.round(s / u0) + 1;
|
|
1630
1630
|
}
|
|
1631
1631
|
function de(t, e) {
|
|
@@ -2736,7 +2736,7 @@ var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, o3 = /P+p+|P+|
|
|
|
2736
2736
|
function Fn(t, e, a) {
|
|
2737
2737
|
var s, n, o, i, l, r, c, u, d, v, h, $, w, g, m, _, y, P;
|
|
2738
2738
|
Ce(2, arguments);
|
|
2739
|
-
var I = String(e), L =
|
|
2739
|
+
var I = String(e), L = ma(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Un, z = Qe((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (d = L.locale) === null || d === void 0 || (v = d.options) === null || v === void 0 ? void 0 : v.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2740
2740
|
if (!(z >= 1 && z <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
2742
|
var K = Qe((h = ($ = (w = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || (m = a.locale) === null || m === void 0 || (_ = m.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && w !== void 0 ? w : L.weekStartsOn) !== null && $ !== void 0 ? $ : (y = L.locale) === null || y === void 0 || (P = y.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
@@ -2783,7 +2783,7 @@ function c3(t) {
|
|
|
2783
2783
|
function d3(t, e, a) {
|
|
2784
2784
|
var s, n, o, i, l, r, c, u, d, v;
|
|
2785
2785
|
Ce(2, arguments);
|
|
2786
|
-
var h = $e(t), $ = $e(e), w =
|
|
2786
|
+
var h = $e(t), $ = $e(e), w = ma(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : w.locale) !== null && s !== void 0 ? s : Un, m = Qe((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && l !== void 0 ? l : w.weekStartsOn) !== null && i !== void 0 ? i : (d = w.locale) === null || d === void 0 || (v = d.options) === null || v === void 0 ? void 0 : v.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2787
2787
|
if (!g.localize)
|
|
2788
2788
|
throw new RangeError("locale must contain localize property");
|
|
2789
2789
|
if (!g.formatLong)
|
|
@@ -2831,17 +2831,17 @@ function ua(t, e) {
|
|
|
2831
2831
|
}
|
|
2832
2832
|
return new Date(l + r + c);
|
|
2833
2833
|
}
|
|
2834
|
-
var
|
|
2834
|
+
var Oa = {
|
|
2835
2835
|
dateTimeDelimiter: /[T ]/,
|
|
2836
2836
|
timeZoneDelimiter: /[Z ]/i,
|
|
2837
2837
|
timezone: /([Z+-].*)$/
|
|
2838
2838
|
}, p3 = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, v3 = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, f3 = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
2839
2839
|
function h3(t) {
|
|
2840
|
-
var e = {}, a = t.split(
|
|
2840
|
+
var e = {}, a = t.split(Oa.dateTimeDelimiter), s;
|
|
2841
2841
|
if (a.length > 2)
|
|
2842
2842
|
return e;
|
|
2843
|
-
if (/:/.test(a[0]) ? s = a[0] : (e.date = a[0], s = a[1],
|
|
2844
|
-
var n =
|
|
2843
|
+
if (/:/.test(a[0]) ? s = a[0] : (e.date = a[0], s = a[1], Oa.timeZoneDelimiter.test(e.date) && (e.date = t.split(Oa.timeZoneDelimiter)[0], s = t.substr(e.date.length, t.length))), s) {
|
|
2844
|
+
var n = Oa.timezone.exec(s);
|
|
2845
2845
|
n ? (e.time = s.replace(n[1], ""), e.timezone = n[1]) : e.time = s;
|
|
2846
2846
|
}
|
|
2847
2847
|
return e;
|
|
@@ -2918,7 +2918,7 @@ function S3(t, e, a) {
|
|
|
2918
2918
|
function A3(t, e) {
|
|
2919
2919
|
return e >= 0 && e <= 59;
|
|
2920
2920
|
}
|
|
2921
|
-
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {}, aa = {},
|
|
2921
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {}, aa = {}, ga = {}, xt = {}, xa = {};
|
|
2922
2922
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
2923
2923
|
xa.lexoHelper = void 0;
|
|
2924
2924
|
xa.lexoHelper = {
|
|
@@ -2930,8 +2930,8 @@ function M3(t, e, a, s, n) {
|
|
|
2930
2930
|
for (let l = e; l < i; l++)
|
|
2931
2931
|
a[o] = t[l], ++o;
|
|
2932
2932
|
}
|
|
2933
|
-
var
|
|
2934
|
-
Object.defineProperty(
|
|
2933
|
+
var Ca = {};
|
|
2934
|
+
Object.defineProperty(Ca, "__esModule", { value: !0 });
|
|
2935
2935
|
class T3 {
|
|
2936
2936
|
constructor(e = "") {
|
|
2937
2937
|
this.str = e;
|
|
@@ -2955,10 +2955,10 @@ class T3 {
|
|
|
2955
2955
|
return this.str;
|
|
2956
2956
|
}
|
|
2957
2957
|
}
|
|
2958
|
-
|
|
2958
|
+
Ca.default = T3;
|
|
2959
2959
|
Object.defineProperty(xt, "__esModule", { value: !0 });
|
|
2960
2960
|
xt.LexoInteger = void 0;
|
|
2961
|
-
const
|
|
2961
|
+
const Ea = xa, O3 = Ca;
|
|
2962
2962
|
class ie {
|
|
2963
2963
|
constructor(e, a, s) {
|
|
2964
2964
|
this.sys = e, this.sign = a, this.mag = s;
|
|
@@ -2987,7 +2987,7 @@ class ie {
|
|
|
2987
2987
|
if (n === s.length)
|
|
2988
2988
|
return new ie(e, a, s);
|
|
2989
2989
|
const o = new Array(n).fill(0);
|
|
2990
|
-
return
|
|
2990
|
+
return Ea.lexoHelper.arrayCopy(s, 0, o, 0, n), new ie(e, a, o);
|
|
2991
2991
|
}
|
|
2992
2992
|
static add(e, a, s) {
|
|
2993
2993
|
const n = Math.max(a.length, s.length), o = new Array(n).fill(0);
|
|
@@ -3004,7 +3004,7 @@ class ie {
|
|
|
3004
3004
|
static extendWithCarry(e, a) {
|
|
3005
3005
|
if (a > 0) {
|
|
3006
3006
|
const s = new Array(e.length + 1).fill(0);
|
|
3007
|
-
return
|
|
3007
|
+
return Ea.lexoHelper.arrayCopy(e, 0, s, 0, e.length), s[s.length - 1] = a, s;
|
|
3008
3008
|
}
|
|
3009
3009
|
return e;
|
|
3010
3010
|
}
|
|
@@ -3088,13 +3088,13 @@ class ie {
|
|
|
3088
3088
|
if (e < 0)
|
|
3089
3089
|
return this.shiftRight(Math.abs(e));
|
|
3090
3090
|
const a = new Array(this.mag.length + e).fill(0);
|
|
3091
|
-
return
|
|
3091
|
+
return Ea.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), ie.make(this.sys, this.sign, a);
|
|
3092
3092
|
}
|
|
3093
3093
|
shiftRight(e = 1) {
|
|
3094
3094
|
if (this.mag.length - e <= 0)
|
|
3095
3095
|
return ie.zero(this.sys);
|
|
3096
3096
|
const a = new Array(this.mag.length - e).fill(0);
|
|
3097
|
-
return
|
|
3097
|
+
return Ea.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), ie.make(this.sys, this.sign, a);
|
|
3098
3098
|
}
|
|
3099
3099
|
complement() {
|
|
3100
3100
|
return this.complementDigits(this.mag.length);
|
|
@@ -3158,9 +3158,9 @@ ie.ONE_MAG = [1];
|
|
|
3158
3158
|
ie.NEGATIVE_SIGN = -1;
|
|
3159
3159
|
ie.ZERO_SIGN = 0;
|
|
3160
3160
|
ie.POSITIVE_SIGN = 1;
|
|
3161
|
-
Object.defineProperty(
|
|
3162
|
-
|
|
3163
|
-
const sa = xt, E3 =
|
|
3161
|
+
Object.defineProperty(ga, "__esModule", { value: !0 });
|
|
3162
|
+
ga.LexoDecimal = void 0;
|
|
3163
|
+
const sa = xt, E3 = Ca;
|
|
3164
3164
|
class Pe {
|
|
3165
3165
|
constructor(e, a) {
|
|
3166
3166
|
this.mag = e, this.sig = a;
|
|
@@ -3264,12 +3264,12 @@ class Pe {
|
|
|
3264
3264
|
return this.format();
|
|
3265
3265
|
}
|
|
3266
3266
|
}
|
|
3267
|
-
|
|
3268
|
-
var
|
|
3267
|
+
ga.LexoDecimal = Pe;
|
|
3268
|
+
var Ia = {}, mn;
|
|
3269
3269
|
function zn() {
|
|
3270
3270
|
if (mn)
|
|
3271
|
-
return
|
|
3272
|
-
mn = 1, Object.defineProperty(
|
|
3271
|
+
return Ia;
|
|
3272
|
+
mn = 1, Object.defineProperty(Ia, "__esModule", { value: !0 });
|
|
3273
3273
|
const t = xt, e = Yn();
|
|
3274
3274
|
class a {
|
|
3275
3275
|
constructor(n) {
|
|
@@ -3321,7 +3321,7 @@ function zn() {
|
|
|
3321
3321
|
return this === n ? !0 : n ? this.value.equals(n.value) : !1;
|
|
3322
3322
|
}
|
|
3323
3323
|
}
|
|
3324
|
-
return
|
|
3324
|
+
return Ia.default = a, Ia;
|
|
3325
3325
|
}
|
|
3326
3326
|
var Ps = {}, qn = {};
|
|
3327
3327
|
Object.defineProperty(qn, "__esModule", { value: !0 });
|
|
@@ -3439,7 +3439,7 @@ function Yn() {
|
|
|
3439
3439
|
if (gn)
|
|
3440
3440
|
return aa;
|
|
3441
3441
|
gn = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3442
|
-
const t =
|
|
3442
|
+
const t = ga, e = zn(), a = Ca, s = Ps;
|
|
3443
3443
|
class n {
|
|
3444
3444
|
constructor(i, l) {
|
|
3445
3445
|
this.value = i.format() + "|" + n.formatDecimal(l), this.bucket = i, this.decimal = l;
|
|
@@ -3625,7 +3625,7 @@ function Yn() {
|
|
|
3625
3625
|
for (var o in s)
|
|
3626
3626
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3627
3627
|
};
|
|
3628
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(zn(), t), a(
|
|
3628
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(zn(), t), a(ga, t), a(xt, t);
|
|
3629
3629
|
})(Wn);
|
|
3630
3630
|
(function(t) {
|
|
3631
3631
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -3664,7 +3664,7 @@ function V3(t) {
|
|
|
3664
3664
|
function D3(t) {
|
|
3665
3665
|
return t.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
|
|
3666
3666
|
}
|
|
3667
|
-
function
|
|
3667
|
+
function _a(t, e) {
|
|
3668
3668
|
if (t.moved)
|
|
3669
3669
|
return Ut(e, t.moved.newIndex);
|
|
3670
3670
|
}
|
|
@@ -3698,7 +3698,7 @@ function B3(t, e) {
|
|
|
3698
3698
|
function j3(t, e) {
|
|
3699
3699
|
return {
|
|
3700
3700
|
...t,
|
|
3701
|
-
status: B3(t, e) ?
|
|
3701
|
+
status: B3(t, e) ? Da.done : Da.todo
|
|
3702
3702
|
};
|
|
3703
3703
|
}
|
|
3704
3704
|
const Kn = (t) => {
|
|
@@ -3781,7 +3781,7 @@ const F3 = { class: "ao-card-template__subitems" }, Z3 = { class: "ao-card-templ
|
|
|
3781
3781
|
title: l.title,
|
|
3782
3782
|
"is-draggable": !0,
|
|
3783
3783
|
"onUpdate:title": s
|
|
3784
|
-
},
|
|
3784
|
+
}, va({
|
|
3785
3785
|
subtitle: N(() => [
|
|
3786
3786
|
f("ul", F3, [
|
|
3787
3787
|
f("li", Z3, [
|
|
@@ -3870,7 +3870,7 @@ const F3 = { class: "ao-card-template__subitems" }, Z3 = { class: "ao-card-templ
|
|
|
3870
3870
|
const u5 = { class: "ao-page-header" }, c5 = { class: "ao-page-header-main" }, d5 = {
|
|
3871
3871
|
key: 0,
|
|
3872
3872
|
class: "ao-page-header-secondary"
|
|
3873
|
-
},
|
|
3873
|
+
}, ya = /* @__PURE__ */ q({
|
|
3874
3874
|
__name: "AoPageHeader",
|
|
3875
3875
|
props: {
|
|
3876
3876
|
canGoBack: { type: Boolean }
|
|
@@ -4041,7 +4041,7 @@ const C5 = /* @__PURE__ */ q({
|
|
|
4041
4041
|
e("updateMilestone", l);
|
|
4042
4042
|
}, i = (l) => {
|
|
4043
4043
|
if (l.moved) {
|
|
4044
|
-
const r =
|
|
4044
|
+
const r = _a(l, a.phase.milestones);
|
|
4045
4045
|
e("updateMilestone", {
|
|
4046
4046
|
id: l.moved.element.id,
|
|
4047
4047
|
rank: r
|
|
@@ -4131,7 +4131,7 @@ const C5 = /* @__PURE__ */ q({
|
|
|
4131
4131
|
e("removeActivity", { id: l });
|
|
4132
4132
|
}, i = (l) => {
|
|
4133
4133
|
if (l.moved) {
|
|
4134
|
-
const r =
|
|
4134
|
+
const r = _a(l, a.milestone.activities);
|
|
4135
4135
|
e("updateActivity", {
|
|
4136
4136
|
id: l.moved.element.id,
|
|
4137
4137
|
rank: r
|
|
@@ -4223,7 +4223,7 @@ const C5 = /* @__PURE__ */ q({
|
|
|
4223
4223
|
], 2));
|
|
4224
4224
|
}
|
|
4225
4225
|
});
|
|
4226
|
-
const ca = Math.min, He = Math.max,
|
|
4226
|
+
const ca = Math.min, He = Math.max, Na = Math.round, La = Math.floor, pt = (t) => ({
|
|
4227
4227
|
x: t,
|
|
4228
4228
|
y: t
|
|
4229
4229
|
}), I5 = {
|
|
@@ -4260,10 +4260,10 @@ function H5(t, e, a) {
|
|
|
4260
4260
|
a === void 0 && (a = !1);
|
|
4261
4261
|
const s = es(t), n = Xn(t), o = Gn(n);
|
|
4262
4262
|
let i = n === "x" ? s === (a ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4263
|
-
return e.reference[o] > e.floating[o] && (i =
|
|
4263
|
+
return e.reference[o] > e.floating[o] && (i = Ua(i)), [i, Ua(i)];
|
|
4264
4264
|
}
|
|
4265
4265
|
function V5(t) {
|
|
4266
|
-
const e =
|
|
4266
|
+
const e = Ua(t);
|
|
4267
4267
|
return [$s(t), e, $s(e)];
|
|
4268
4268
|
}
|
|
4269
4269
|
function $s(t) {
|
|
@@ -4287,7 +4287,7 @@ function B5(t, e, a, s) {
|
|
|
4287
4287
|
let o = D5(Ft(t), a === "start", s);
|
|
4288
4288
|
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map($s)))), o;
|
|
4289
4289
|
}
|
|
4290
|
-
function
|
|
4290
|
+
function Ua(t) {
|
|
4291
4291
|
return t.replace(/left|right|bottom|top/g, (e) => I5[e]);
|
|
4292
4292
|
}
|
|
4293
4293
|
function j5(t) {
|
|
@@ -4307,7 +4307,7 @@ function R5(t) {
|
|
|
4307
4307
|
left: t
|
|
4308
4308
|
};
|
|
4309
4309
|
}
|
|
4310
|
-
function
|
|
4310
|
+
function Fa(t) {
|
|
4311
4311
|
return {
|
|
4312
4312
|
...t,
|
|
4313
4313
|
top: t.y,
|
|
@@ -4444,7 +4444,7 @@ async function Qn(t, e) {
|
|
|
4444
4444
|
elementContext: d = "floating",
|
|
4445
4445
|
altBoundary: v = !1,
|
|
4446
4446
|
padding: h = 0
|
|
4447
|
-
} = Ds(e, t), $ = R5(h), g = l[v ? d === "floating" ? "reference" : "floating" : d], m =
|
|
4447
|
+
} = Ds(e, t), $ = R5(h), g = l[v ? d === "floating" ? "reference" : "floating" : d], m = Fa(await o.getClippingRect({
|
|
4448
4448
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(g))) == null || a ? g : g.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
4449
4449
|
boundary: c,
|
|
4450
4450
|
rootBoundary: u,
|
|
@@ -4459,7 +4459,7 @@ async function Qn(t, e) {
|
|
|
4459
4459
|
} : {
|
|
4460
4460
|
x: 1,
|
|
4461
4461
|
y: 1
|
|
4462
|
-
}, I =
|
|
4462
|
+
}, I = Fa(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4463
4463
|
rect: _,
|
|
4464
4464
|
offsetParent: y,
|
|
4465
4465
|
strategy: r
|
|
@@ -4495,7 +4495,7 @@ const U5 = function(t) {
|
|
|
4495
4495
|
} = Ds(t, e);
|
|
4496
4496
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4497
4497
|
return {};
|
|
4498
|
-
const m = Ft(n), _ = Ft(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), P = v || (_ || !w ? [
|
|
4498
|
+
const m = Ft(n), _ = Ft(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), P = v || (_ || !w ? [Ua(l)] : V5(l));
|
|
4499
4499
|
!v && $ !== "none" && P.push(...B5(l, w, $, y));
|
|
4500
4500
|
const I = [l, ...P], L = await Qn(e, g), F = [];
|
|
4501
4501
|
let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
@@ -4612,7 +4612,7 @@ function We(t) {
|
|
|
4612
4612
|
function _n(t) {
|
|
4613
4613
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Te(t).ShadowRoot;
|
|
4614
4614
|
}
|
|
4615
|
-
function
|
|
4615
|
+
function ba(t) {
|
|
4616
4616
|
const {
|
|
4617
4617
|
overflow: e,
|
|
4618
4618
|
overflowX: a,
|
|
@@ -4669,18 +4669,18 @@ function Zt(t) {
|
|
|
4669
4669
|
}
|
|
4670
4670
|
function ei(t) {
|
|
4671
4671
|
const e = Zt(t);
|
|
4672
|
-
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) &&
|
|
4672
|
+
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && ba(e) ? e : ei(e);
|
|
4673
4673
|
}
|
|
4674
4674
|
function da(t, e, a) {
|
|
4675
4675
|
var s;
|
|
4676
4676
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4677
4677
|
const n = ei(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Te(n);
|
|
4678
|
-
return o ? e.concat(i, i.visualViewport || [],
|
|
4678
|
+
return o ? e.concat(i, i.visualViewport || [], ba(n) ? n : [], i.frameElement && a ? da(i.frameElement) : []) : e.concat(n, da(n));
|
|
4679
4679
|
}
|
|
4680
4680
|
function ti(t) {
|
|
4681
4681
|
const e = je(t);
|
|
4682
4682
|
let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4683
|
-
const n = We(t), o = n ? t.offsetWidth : a, i = n ? t.offsetHeight : s, l =
|
|
4683
|
+
const n = We(t), o = n ? t.offsetWidth : a, i = n ? t.offsetHeight : s, l = Na(a) !== o || Na(s) !== i;
|
|
4684
4684
|
return l && (a = o, s = i), {
|
|
4685
4685
|
width: a,
|
|
4686
4686
|
height: s,
|
|
@@ -4699,7 +4699,7 @@ function Rt(t) {
|
|
|
4699
4699
|
height: n,
|
|
4700
4700
|
$: o
|
|
4701
4701
|
} = ti(e);
|
|
4702
|
-
let i = (o ?
|
|
4702
|
+
let i = (o ? Na(a.width) : a.width) / s, l = (o ? Na(a.height) : a.height) / n;
|
|
4703
4703
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4704
4704
|
x: i,
|
|
4705
4705
|
y: l
|
|
@@ -4731,7 +4731,7 @@ function Tt(t, e, a, s) {
|
|
|
4731
4731
|
r *= w.x, c *= w.y, u *= w.x, d *= w.y, r += _, c += y, $ = Te($).frameElement;
|
|
4732
4732
|
}
|
|
4733
4733
|
}
|
|
4734
|
-
return
|
|
4734
|
+
return Fa({
|
|
4735
4735
|
width: u,
|
|
4736
4736
|
height: d,
|
|
4737
4737
|
x: r,
|
|
@@ -4752,7 +4752,7 @@ function Y5(t) {
|
|
|
4752
4752
|
scrollTop: 0
|
|
4753
4753
|
}, l = pt(1);
|
|
4754
4754
|
const r = pt(0);
|
|
4755
|
-
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" ||
|
|
4755
|
+
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || ba(o)) && (i = as(a)), We(a))) {
|
|
4756
4756
|
const c = Tt(a);
|
|
4757
4757
|
l = Rt(a), r.x = c.x + a.clientLeft, r.y = c.y + a.clientTop;
|
|
4758
4758
|
}
|
|
@@ -4820,7 +4820,7 @@ function yn(t, e, a) {
|
|
|
4820
4820
|
y: e.y - n.y
|
|
4821
4821
|
};
|
|
4822
4822
|
}
|
|
4823
|
-
return
|
|
4823
|
+
return Fa(s);
|
|
4824
4824
|
}
|
|
4825
4825
|
function ni(t, e) {
|
|
4826
4826
|
const a = Zt(t);
|
|
@@ -4835,7 +4835,7 @@ function Q5(t, e) {
|
|
|
4835
4835
|
let i = o ? Zt(t) : t;
|
|
4836
4836
|
for (; et(i) && !ts(i); ) {
|
|
4837
4837
|
const l = je(i), r = js(i);
|
|
4838
|
-
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) ||
|
|
4838
|
+
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || ba(i) && !r && ni(t, i)) ? s = s.filter((u) => u !== i) : n = l, i = Zt(i);
|
|
4839
4839
|
}
|
|
4840
4840
|
return e.set(t, s), s;
|
|
4841
4841
|
}
|
|
@@ -4868,7 +4868,7 @@ function t7(t, e, a) {
|
|
|
4868
4868
|
};
|
|
4869
4869
|
const r = pt(0);
|
|
4870
4870
|
if (s || !s && !o)
|
|
4871
|
-
if ((vt(e) !== "body" ||
|
|
4871
|
+
if ((vt(e) !== "body" || ba(n)) && (l = as(e)), s) {
|
|
4872
4872
|
const c = Tt(e, !0, o, e);
|
|
4873
4873
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4874
4874
|
} else
|
|
@@ -4939,7 +4939,7 @@ function i7(t, e) {
|
|
|
4939
4939
|
} = t.getBoundingClientRect();
|
|
4940
4940
|
if (l || e(), !d || !v)
|
|
4941
4941
|
return;
|
|
4942
|
-
const h =
|
|
4942
|
+
const h = La(u), $ = La(n.clientWidth - (c + d)), w = La(n.clientHeight - (u + v)), g = La(c), _ = {
|
|
4943
4943
|
rootMargin: -h + "px " + -$ + "px " + -w + "px " + -g + "px",
|
|
4944
4944
|
threshold: He(0, ca(1, r)) || 1
|
|
4945
4945
|
};
|
|
@@ -5195,7 +5195,7 @@ function h7(t, e, a) {
|
|
|
5195
5195
|
disabledProp: b,
|
|
5196
5196
|
searchStart: V,
|
|
5197
5197
|
searchFilter: oe
|
|
5198
|
-
} = Ee(t), ne = It().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Kt = a.pointer, Gt = a.setPointer, st = a.clearPointer,
|
|
5198
|
+
} = Ee(t), ne = It().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Kt = a.pointer, Gt = a.setPointer, st = a.clearPointer, wa = a.focus, rs = a.deactivate, nt = a.close, $a = a.localize, it = x([]), Ue = x([]), Ie = x(!1), Re = x(null), Ye = x(ee.value && i.value === -1 ? 10 : i.value), Xt = M(() => r.value || c.value || !1), ka = M(() => d.value !== void 0 ? d.value : v.value !== void 0 ? v.value : !0), Le = M(() => {
|
|
5199
5199
|
if (le.value) {
|
|
5200
5200
|
let S = yt.value || /* istanbul ignore next */
|
|
5201
5201
|
[], B = [];
|
|
@@ -5225,7 +5225,7 @@ function h7(t, e, a) {
|
|
|
5225
5225
|
[E.value]: [...it.value],
|
|
5226
5226
|
__CREATE__: !0
|
|
5227
5227
|
}), S.concat(B);
|
|
5228
|
-
}),
|
|
5228
|
+
}), Sa = M(() => {
|
|
5229
5229
|
let S = [...yt.value].map((B) => ({ ...B }));
|
|
5230
5230
|
return Lt.value.length && (S[0] && S[0].__CREATE__ ? S[0][E.value] = [...Lt.value, ...S[0][E.value]] : S = [{
|
|
5231
5231
|
[z.value]: " ",
|
|
@@ -5235,7 +5235,7 @@ function h7(t, e, a) {
|
|
|
5235
5235
|
}), us = M(() => {
|
|
5236
5236
|
if (!le.value)
|
|
5237
5237
|
return [];
|
|
5238
|
-
let S =
|
|
5238
|
+
let S = Sa.value;
|
|
5239
5239
|
return Li((S || /* istanbul ignore next */
|
|
5240
5240
|
[]).map((B, ue) => {
|
|
5241
5241
|
const ge = hs(B[E.value]);
|
|
@@ -5352,7 +5352,7 @@ function h7(t, e, a) {
|
|
|
5352
5352
|
S && vs(S), I.value && he(), S && Pt(S), l.value && st(), j.value && nt();
|
|
5353
5353
|
break;
|
|
5354
5354
|
}
|
|
5355
|
-
j.value ||
|
|
5355
|
+
j.value || wa();
|
|
5356
5356
|
}, Si = (S) => {
|
|
5357
5357
|
if (!(ds(S) || n.value === "single" || !k.value)) {
|
|
5358
5358
|
switch (n.value) {
|
|
@@ -5366,7 +5366,7 @@ function h7(t, e, a) {
|
|
|
5366
5366
|
j.value && rs();
|
|
5367
5367
|
}
|
|
5368
5368
|
}, vs = (S) => {
|
|
5369
|
-
Ke(S[L.value]) === void 0 && Xt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne),
|
|
5369
|
+
Ke(S[L.value]) === void 0 && Xt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), ka.value && Ii(S), he());
|
|
5370
5370
|
}, Ai = () => {
|
|
5371
5371
|
n.value !== "single" && Pt(ot.value.filter((S) => !S.disabled && !xe(S)));
|
|
5372
5372
|
}, Mi = (S) => S.find((B) => !xe(B) && !B[b.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => bt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
@@ -5378,7 +5378,7 @@ function h7(t, e, a) {
|
|
|
5378
5378
|
if (Y.value && y.value) {
|
|
5379
5379
|
let ge = oe.value;
|
|
5380
5380
|
ge || (ge = (wt, un, x4) => bt.value.some((Hi) => {
|
|
5381
|
-
let cn = ys(
|
|
5381
|
+
let cn = ys($a(wt[Hi]), ae.value);
|
|
5382
5382
|
return V.value ? cn.startsWith(ys(un, ae.value)) : cn.indexOf(ys(un, ae.value)) !== -1;
|
|
5383
5383
|
})), ue = ue.filter((wt) => ge(wt, Y.value, ne));
|
|
5384
5384
|
}
|
|
@@ -5389,9 +5389,9 @@ function h7(t, e, a) {
|
|
|
5389
5389
|
let ge = B[ue];
|
|
5390
5390
|
return { [L.value]: ue, [bt.value[0]]: ge, [u.value]: ge };
|
|
5391
5391
|
})), B = B.map((ue) => typeof ue == "object" ? ue : { [L.value]: ue, [bt.value[0]]: ue, [u.value]: ue }), B;
|
|
5392
|
-
},
|
|
5393
|
-
Fe(H.value) || (Z.value =
|
|
5394
|
-
},
|
|
5392
|
+
}, Aa = () => {
|
|
5393
|
+
Fe(H.value) || (Z.value = Ta(H.value));
|
|
5394
|
+
}, Ma = (S) => (Ie.value = !0, new Promise((B, ue) => {
|
|
5395
5395
|
s.value(Y.value, ne).then((ge) => {
|
|
5396
5396
|
Ue.value = ge || [], typeof S == "function" && S(ge), Ie.value = !1;
|
|
5397
5397
|
}).catch((ge) => {
|
|
@@ -5416,8 +5416,8 @@ function h7(t, e, a) {
|
|
|
5416
5416
|
}
|
|
5417
5417
|
});
|
|
5418
5418
|
}, Pi = (S) => {
|
|
5419
|
-
|
|
5420
|
-
},
|
|
5419
|
+
Ma(S);
|
|
5420
|
+
}, Ta = (S) => Fe(S) ? n.value === "single" ? {} : [] : $.value ? S : n.value === "single" ? Ke(S) || (F.value ? {
|
|
5421
5421
|
[u.value]: S,
|
|
5422
5422
|
[L.value]: S,
|
|
5423
5423
|
[bt.value[0]]: S
|
|
@@ -5441,24 +5441,24 @@ function h7(t, e, a) {
|
|
|
5441
5441
|
};
|
|
5442
5442
|
if (n.value !== "single" && !Fe(H.value) && !Array.isArray(H.value))
|
|
5443
5443
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
5444
|
-
return s && typeof s.value == "function" ? m.value ?
|
|
5444
|
+
return s && typeof s.value == "function" ? m.value ? Ma(Aa) : $.value == !0 && Aa() : (Ue.value = s.value, Aa()), g.value > -1 && rn(), ce(g, (S, B) => {
|
|
5445
5445
|
Re.value && Re.value(), S >= 0 && rn();
|
|
5446
5446
|
}), ce(H, (S) => {
|
|
5447
5447
|
if (Fe(S)) {
|
|
5448
|
-
ke(
|
|
5448
|
+
ke(Ta(S), !1);
|
|
5449
5449
|
return;
|
|
5450
5450
|
}
|
|
5451
5451
|
switch (n.value) {
|
|
5452
5452
|
case "single":
|
|
5453
|
-
($.value ? S[L.value] != Z.value[L.value] : S != Z.value[L.value]) && ke(
|
|
5453
|
+
($.value ? S[L.value] != Z.value[L.value] : S != Z.value[L.value]) && ke(Ta(S), !1);
|
|
5454
5454
|
break;
|
|
5455
5455
|
case "multiple":
|
|
5456
5456
|
case "tags":
|
|
5457
|
-
f7($.value ? S.map((B) => B[L.value]) : S, Z.value.map((B) => B[L.value])) || ke(
|
|
5457
|
+
f7($.value ? S.map((B) => B[L.value]) : S, Z.value.map((B) => B[L.value])) || ke(Ta(S), !1);
|
|
5458
5458
|
break;
|
|
5459
5459
|
}
|
|
5460
5460
|
}, { deep: !0 }), ce(s, (S, B) => {
|
|
5461
|
-
typeof t.options == "function" ? m.value && (!B || S && S.toString() !== B.toString()) &&
|
|
5461
|
+
typeof t.options == "function" ? m.value && (!B || S && S.toString() !== B.toString()) && Ma() : (Ue.value = t.options, Object.keys(Z.value).length || Aa(), ms());
|
|
5462
5462
|
}), ce(u, ms), ce(i, (S, B) => {
|
|
5463
5463
|
Ye.value = ee.value && S === -1 ? 10 : S;
|
|
5464
5464
|
}), {
|
|
@@ -5491,7 +5491,7 @@ function h7(t, e, a) {
|
|
|
5491
5491
|
handleGroupClick: Si,
|
|
5492
5492
|
handleTagRemove: $i,
|
|
5493
5493
|
refreshOptions: Pi,
|
|
5494
|
-
resolveOptions:
|
|
5494
|
+
resolveOptions: Ma,
|
|
5495
5495
|
refreshLabels: ms
|
|
5496
5496
|
};
|
|
5497
5497
|
}
|
|
@@ -5607,7 +5607,7 @@ function Us(t) {
|
|
|
5607
5607
|
var e = Oe(t).ShadowRoot;
|
|
5608
5608
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5609
5609
|
}
|
|
5610
|
-
var St = Math.max,
|
|
5610
|
+
var St = Math.max, Za = Math.min, Wt = Math.round;
|
|
5611
5611
|
function ks() {
|
|
5612
5612
|
var t = navigator.userAgentData;
|
|
5613
5613
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5865,7 +5865,7 @@ function W7(t) {
|
|
|
5865
5865
|
function z7(t, e, a, s) {
|
|
5866
5866
|
var n = e === "clippingParents" ? W7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], l = o.reduce(function(r, c) {
|
|
5867
5867
|
var u = kn(t, c, s);
|
|
5868
|
-
return r.top = St(u.top, r.top), r.right =
|
|
5868
|
+
return r.top = St(u.top, r.top), r.right = Za(u.right, r.right), r.bottom = Za(u.bottom, r.bottom), r.left = St(u.left, r.left), r;
|
|
5869
5869
|
}, kn(t, i, s));
|
|
5870
5870
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
5871
5871
|
}
|
|
@@ -6074,17 +6074,17 @@ function x7(t) {
|
|
|
6074
6074
|
return h;
|
|
6075
6075
|
};
|
|
6076
6076
|
}
|
|
6077
|
-
var
|
|
6077
|
+
var Pa = {
|
|
6078
6078
|
passive: !0
|
|
6079
6079
|
};
|
|
6080
6080
|
function K7(t) {
|
|
6081
6081
|
var e = t.state, a = t.instance, s = t.options, n = s.scroll, o = n === void 0 ? !0 : n, i = s.resize, l = i === void 0 ? !0 : i, r = Oe(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
6082
6082
|
return o && c.forEach(function(u) {
|
|
6083
|
-
u.addEventListener("scroll", a.update,
|
|
6084
|
-
}), l && r.addEventListener("resize", a.update,
|
|
6083
|
+
u.addEventListener("scroll", a.update, Pa);
|
|
6084
|
+
}), l && r.addEventListener("resize", a.update, Pa), function() {
|
|
6085
6085
|
o && c.forEach(function(u) {
|
|
6086
|
-
u.removeEventListener("scroll", a.update,
|
|
6087
|
-
}), l && r.removeEventListener("resize", a.update,
|
|
6086
|
+
u.removeEventListener("scroll", a.update, Pa);
|
|
6087
|
+
}), l && r.removeEventListener("resize", a.update, Pa);
|
|
6088
6088
|
};
|
|
6089
6089
|
}
|
|
6090
6090
|
var G7 = {
|
|
@@ -6245,11 +6245,11 @@ var ip = {
|
|
|
6245
6245
|
function rp(t) {
|
|
6246
6246
|
return t === "x" ? "y" : "x";
|
|
6247
6247
|
}
|
|
6248
|
-
function
|
|
6249
|
-
return St(t,
|
|
6248
|
+
function Ha(t, e, a) {
|
|
6249
|
+
return St(t, Za(e, a));
|
|
6250
6250
|
}
|
|
6251
6251
|
function up(t, e, a) {
|
|
6252
|
-
var s =
|
|
6252
|
+
var s = Ha(t, e, a);
|
|
6253
6253
|
return s > a ? a : s;
|
|
6254
6254
|
}
|
|
6255
6255
|
function cp(t) {
|
|
@@ -6275,12 +6275,12 @@ function cp(t) {
|
|
|
6275
6275
|
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ft, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -z[ee] / 2 : 0, b = _ === qt ? F[ee] : z[ee], V = _ === qt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? li(oe) : {
|
|
6276
6276
|
width: 0,
|
|
6277
6277
|
height: 0
|
|
6278
|
-
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he =
|
|
6279
|
-
L[P] =
|
|
6278
|
+
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Ha(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Kt = y ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.mainAxis, Gt = e.elements.arrow && ns(e.elements.arrow), st = Gt ? P === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, wa = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - wa - st, nt = E + Kt - wa, $a = Ha(h ? Za(T, rs) : T, E, h ? St(k, nt) : k);
|
|
6279
|
+
L[P] = $a, j[P] = $a - E;
|
|
6280
6280
|
}
|
|
6281
6281
|
if (l) {
|
|
6282
|
-
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width", Xt = Re + g[Ue],
|
|
6283
|
-
L[I] =
|
|
6282
|
+
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width", Xt = Re + g[Ue], ka = Re - g[Ie], Le = [Ne, Ge].indexOf(m) !== -1, Qt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Xt : Re - F[Ye] - z[Ye] - Qt + J.altAxis, yt = Le ? Re + F[Ye] + z[Ye] - Qt - J.altAxis : ka, Sa = h && Le ? up(ot, Re, yt) : Ha(h ? ot : Xt, Re, h ? yt : ka);
|
|
6283
|
+
L[I] = Sa, j[I] = Sa - Re;
|
|
6284
6284
|
}
|
|
6285
6285
|
e.modifiersData[s] = j;
|
|
6286
6286
|
}
|
|
@@ -6297,7 +6297,7 @@ var dp = {
|
|
|
6297
6297
|
bottom: "top",
|
|
6298
6298
|
top: "bottom"
|
|
6299
6299
|
};
|
|
6300
|
-
function
|
|
6300
|
+
function Va(t) {
|
|
6301
6301
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
6302
6302
|
return pp[e];
|
|
6303
6303
|
});
|
|
@@ -6334,13 +6334,13 @@ function fp(t, e) {
|
|
|
6334
6334
|
function hp(t) {
|
|
6335
6335
|
if (ct(t) === zs)
|
|
6336
6336
|
return [];
|
|
6337
|
-
var e =
|
|
6337
|
+
var e = Va(t);
|
|
6338
6338
|
return [Tn(t), e, Tn(e)];
|
|
6339
6339
|
}
|
|
6340
6340
|
function mp(t) {
|
|
6341
6341
|
var e = t.state, a = t.options, s = t.name;
|
|
6342
6342
|
if (!e.modifiersData[s]._skip) {
|
|
6343
|
-
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, c = a.padding, u = a.boundary, d = a.rootBoundary, v = a.altBoundary, h = a.flipVariations, $ = h === void 0 ? !0 : h, w = a.allowedAutoPlacements, g = e.options.placement, m = ct(g), _ = m === g, y = r || (_ || !$ ? [
|
|
6343
|
+
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, c = a.padding, u = a.boundary, d = a.rootBoundary, v = a.altBoundary, h = a.flipVariations, $ = h === void 0 ? !0 : h, w = a.allowedAutoPlacements, g = e.options.placement, m = ct(g), _ = m === g, y = r || (_ || !$ ? [Va(g)] : hp(g)), P = [g].concat(y).reduce(function(ne, Z) {
|
|
6344
6344
|
return ne.concat(ct(Z) === zs ? fp(e, {
|
|
6345
6345
|
placement: Z,
|
|
6346
6346
|
boundary: u,
|
|
@@ -6357,8 +6357,8 @@ function mp(t) {
|
|
|
6357
6357
|
altBoundary: v,
|
|
6358
6358
|
padding: c
|
|
6359
6359
|
}), E = le ? G ? ft : Ge : G ? qe : Ne;
|
|
6360
|
-
I[se] > L[se] && (E =
|
|
6361
|
-
var T =
|
|
6360
|
+
I[se] > L[se] && (E = Va(E));
|
|
6361
|
+
var T = Va(E), k = [];
|
|
6362
6362
|
if (o && k.push(ee[j] <= 0), l && k.push(ee[E] <= 0, ee[T] <= 0), k.every(function(ne) {
|
|
6363
6363
|
return ne;
|
|
6364
6364
|
})) {
|
|
@@ -7692,11 +7692,11 @@ const Se = /* @__PURE__ */ q({
|
|
|
7692
7692
|
ref_key: "multiselectRef",
|
|
7693
7693
|
ref: s,
|
|
7694
7694
|
class: "ao-multiselect"
|
|
7695
|
-
},
|
|
7695
|
+
}, va({ _: 2 }, [
|
|
7696
7696
|
_e(n.$slots, (i, l) => ({
|
|
7697
7697
|
name: l,
|
|
7698
7698
|
fn: N((r) => [
|
|
7699
|
-
te(n.$slots, l, ha(
|
|
7699
|
+
te(n.$slots, l, fa(ha(r ?? {})))
|
|
7700
7700
|
])
|
|
7701
7701
|
}))
|
|
7702
7702
|
]), 1536));
|
|
@@ -7832,7 +7832,7 @@ const Gp = { class: "ao-tasks" }, Xp = { class: "ao-tasks__list" }, Qp = ["id",
|
|
|
7832
7832
|
onChange: (g) => i(g, h.id),
|
|
7833
7833
|
onKeyup: dt(u, ["enter"])
|
|
7834
7834
|
}, null, 42, Qp),
|
|
7835
|
-
|
|
7835
|
+
za(". "),
|
|
7836
7836
|
!d.isTemplate && d.users ? (p(), D(Se, {
|
|
7837
7837
|
key: 1,
|
|
7838
7838
|
value: (w = h.assignee) != null && w.id ? [h.assignee.id] : [],
|
|
@@ -8056,7 +8056,7 @@ const vv = { class: "ao-comment" }, fv = { class: "ao-comment__created-at" }, hv
|
|
|
8056
8056
|
]
|
|
8057
8057
|
}, {
|
|
8058
8058
|
default: N(() => [
|
|
8059
|
-
|
|
8059
|
+
za(W(w.content), 1)
|
|
8060
8060
|
]),
|
|
8061
8061
|
_: 1
|
|
8062
8062
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
@@ -9169,7 +9169,7 @@ const Ef = {
|
|
|
9169
9169
|
}, ae = (E) => {
|
|
9170
9170
|
var T;
|
|
9171
9171
|
if (E.moved) {
|
|
9172
|
-
const k =
|
|
9172
|
+
const k = _a(E, ((T = n.value) == null ? void 0 : T.phases) ?? []);
|
|
9173
9173
|
e("updateItem", {
|
|
9174
9174
|
itemType: me.PHASES,
|
|
9175
9175
|
id: E.moved.element.id,
|
|
@@ -9212,7 +9212,7 @@ const Ef = {
|
|
|
9212
9212
|
return (E, T) => {
|
|
9213
9213
|
var k, R, b, V, oe, ne;
|
|
9214
9214
|
return n.value ? (p(), C("div", Ef, [
|
|
9215
|
-
A(
|
|
9215
|
+
A(ya, {
|
|
9216
9216
|
"can-go-back": !0,
|
|
9217
9217
|
onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: Q(Bt).TEMPLATES_LIST }))
|
|
9218
9218
|
}, {
|
|
@@ -9326,7 +9326,7 @@ const Ef = {
|
|
|
9326
9326
|
onRemoveFile: ee
|
|
9327
9327
|
}, {
|
|
9328
9328
|
default: N((Z) => [
|
|
9329
|
-
te(E.$slots, "activityDetailsBody", ha(
|
|
9329
|
+
te(E.$slots, "activityDetailsBody", fa(ha(Z)))
|
|
9330
9330
|
]),
|
|
9331
9331
|
_: 3
|
|
9332
9332
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
@@ -9401,7 +9401,7 @@ const ls = /* @__PURE__ */ q({
|
|
|
9401
9401
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9402
9402
|
key: o,
|
|
9403
9403
|
class: X(["ao-progress__progress"]),
|
|
9404
|
-
style:
|
|
9404
|
+
style: qa({ width: `${o * 100}%` })
|
|
9405
9405
|
}, null, 4))), 128))
|
|
9406
9406
|
], 2));
|
|
9407
9407
|
}
|
|
@@ -9444,7 +9444,7 @@ const Uf = { class: "ao-card-project-phase__header" }, Ff = { class: "ao-card-pr
|
|
|
9444
9444
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9445
9445
|
}), i = M(() => {
|
|
9446
9446
|
var c;
|
|
9447
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9447
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === Da.done).length;
|
|
9448
9448
|
}), l = M(() => (i.value || 0) / (o.value || 1)), r = M({
|
|
9449
9449
|
get: () => a.deadline ?? "",
|
|
9450
9450
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9452,7 +9452,7 @@ const Uf = { class: "ao-card-project-phase__header" }, Ff = { class: "ao-card-pr
|
|
|
9452
9452
|
return (c, u) => (p(), D(os, {
|
|
9453
9453
|
class: "ao-card-project-phase",
|
|
9454
9454
|
"is-clickable": c.isEditable
|
|
9455
|
-
},
|
|
9455
|
+
}, va({
|
|
9456
9456
|
default: N(() => [
|
|
9457
9457
|
f("div", Ff, [
|
|
9458
9458
|
A(be, {
|
|
@@ -9539,7 +9539,7 @@ const Xf = /* @__PURE__ */ q({
|
|
|
9539
9539
|
setup(t) {
|
|
9540
9540
|
return (e, a) => (p(), C("span", {
|
|
9541
9541
|
class: "aoBadge",
|
|
9542
|
-
style:
|
|
9542
|
+
style: qa({ backgroundColor: e.color })
|
|
9543
9543
|
}, null, 4));
|
|
9544
9544
|
}
|
|
9545
9545
|
});
|
|
@@ -10691,7 +10691,7 @@ const Dh = { class: "ao-mapping -card-project-phase__header" }, Bh = { class: "a
|
|
|
10691
10691
|
return (d = a.milestones) == null ? void 0 : d.length;
|
|
10692
10692
|
}), i = M(() => {
|
|
10693
10693
|
var d;
|
|
10694
|
-
return (d = a.milestones) == null ? void 0 : d.filter((v) => v.status ===
|
|
10694
|
+
return (d = a.milestones) == null ? void 0 : d.filter((v) => v.status === Da.done).length;
|
|
10695
10695
|
}), l = M(() => (i.value || 0) / (o.value || 1)), r = M({
|
|
10696
10696
|
get: () => a.deadline ?? "",
|
|
10697
10697
|
set: (d) => e("update:deadline", d != null && d.length ? d : null)
|
|
@@ -10715,9 +10715,8 @@ const Dh = { class: "ao-mapping -card-project-phase__header" }, Bh = { class: "a
|
|
|
10715
10715
|
A(os, {
|
|
10716
10716
|
class: "ao-mapping -card-project-phase",
|
|
10717
10717
|
"is-clickable": d.isEditable,
|
|
10718
|
-
onClick: (w) => u(w, h)
|
|
10719
|
-
|
|
10720
|
-
}, fa({
|
|
10718
|
+
onClick: (w) => u(w, h)
|
|
10719
|
+
}, va({
|
|
10721
10720
|
default: N(() => [
|
|
10722
10721
|
f("div", Bh, [
|
|
10723
10722
|
A(be, {
|
|
@@ -10793,7 +10792,7 @@ const Dh = { class: "ao-mapping -card-project-phase__header" }, Bh = { class: "a
|
|
|
10793
10792
|
]),
|
|
10794
10793
|
key: "0"
|
|
10795
10794
|
} : void 0
|
|
10796
|
-
]), 1032, ["is-clickable", "onClick"
|
|
10795
|
+
]), 1032, ["is-clickable", "onClick"])
|
|
10797
10796
|
]),
|
|
10798
10797
|
_: 3
|
|
10799
10798
|
}, 8, ["color"]));
|
|
@@ -10994,7 +10993,7 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
10994
10993
|
e("unarchivePhase", v);
|
|
10995
10994
|
}, c = (v) => {
|
|
10996
10995
|
if (v.moved) {
|
|
10997
|
-
const h =
|
|
10996
|
+
const h = _a(v, a.phases ?? []);
|
|
10998
10997
|
e("updatePhase", {
|
|
10999
10998
|
id: v.moved.element.id,
|
|
11000
10999
|
rank: h
|
|
@@ -11284,7 +11283,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11284
11283
|
return p(), C(fe, null, [
|
|
11285
11284
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11286
11285
|
f("div", w9, [
|
|
11287
|
-
A(
|
|
11286
|
+
A(ya, null, {
|
|
11288
11287
|
primary: N(() => [
|
|
11289
11288
|
A(an, {
|
|
11290
11289
|
tabs: E,
|
|
@@ -11381,7 +11380,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11381
11380
|
default: N(({ Component: b }) => [
|
|
11382
11381
|
(p(), D(ht(b), null, {
|
|
11383
11382
|
default: N((V) => [
|
|
11384
|
-
te(T.$slots, "activityDetailsBody", ha(
|
|
11383
|
+
te(T.$slots, "activityDetailsBody", fa(ha(V)))
|
|
11385
11384
|
]),
|
|
11386
11385
|
_: 2
|
|
11387
11386
|
}, 1024))
|
|
@@ -11785,7 +11784,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11785
11784
|
}, {
|
|
11786
11785
|
clickable: N(({ openPicker: I, color: L }) => [
|
|
11787
11786
|
f("button", {
|
|
11788
|
-
style:
|
|
11787
|
+
style: qa({ "background-color": L }),
|
|
11789
11788
|
class: "color-button",
|
|
11790
11789
|
onClick: I
|
|
11791
11790
|
}, null, 12, s4)
|
|
@@ -11828,7 +11827,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11828
11827
|
}),
|
|
11829
11828
|
onUpdateActivity: u,
|
|
11830
11829
|
onRemoveAssignee: () => u({ id: I.id, assigneeId: null })
|
|
11831
|
-
},
|
|
11830
|
+
}, va({ _: 2 }, [
|
|
11832
11831
|
_.isEditable ? {
|
|
11833
11832
|
name: "secondary",
|
|
11834
11833
|
fn: N(() => [
|
|
@@ -11958,7 +11957,7 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11958
11957
|
onRemoveComment: w
|
|
11959
11958
|
}, {
|
|
11960
11959
|
default: N((P) => [
|
|
11961
|
-
te(g.$slots, "default", ha(
|
|
11960
|
+
te(g.$slots, "default", fa(ha(P)))
|
|
11962
11961
|
]),
|
|
11963
11962
|
_: 3
|
|
11964
11963
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
@@ -11990,7 +11989,7 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11990
11989
|
function u4(t) {
|
|
11991
11990
|
return Fi() ? (Zi(t), !0) : !1;
|
|
11992
11991
|
}
|
|
11993
|
-
function
|
|
11992
|
+
function Wa(t) {
|
|
11994
11993
|
return typeof t == "function" ? t() : Q(t);
|
|
11995
11994
|
}
|
|
11996
11995
|
const c4 = typeof window < "u" && typeof document < "u";
|
|
@@ -12011,7 +12010,7 @@ function v4(t, e = {}) {
|
|
|
12011
12010
|
clearTimeout(l), n(), n = oa;
|
|
12012
12011
|
};
|
|
12013
12012
|
return (l) => {
|
|
12014
|
-
const r =
|
|
12013
|
+
const r = Wa(t), c = Wa(e.maxWait);
|
|
12015
12014
|
return a && o(a), r <= 0 || c !== void 0 && c <= 0 ? (s && (o(s), s = null), Promise.resolve(l())) : new Promise((u, d) => {
|
|
12016
12015
|
n = e.rejectOnCancel ? d : u, c && !s && (s = setTimeout(() => {
|
|
12017
12016
|
a && o(a), s = null, u(l());
|
|
@@ -12029,7 +12028,7 @@ function f4(t, e = 200, a = {}) {
|
|
|
12029
12028
|
}
|
|
12030
12029
|
function bs(t) {
|
|
12031
12030
|
var e;
|
|
12032
|
-
const a =
|
|
12031
|
+
const a = Wa(t);
|
|
12033
12032
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12034
12033
|
}
|
|
12035
12034
|
const h4 = c4 ? window : void 0;
|
|
@@ -12051,7 +12050,7 @@ function C4(t, e, a = {}) {
|
|
|
12051
12050
|
window: i = h4,
|
|
12052
12051
|
immediate: l = !0
|
|
12053
12052
|
} = a, r = g4(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
12054
|
-
const $ =
|
|
12053
|
+
const $ = Wa(t);
|
|
12055
12054
|
return (Array.isArray($) ? $ : [$]).map(bs).filter(d4);
|
|
12056
12055
|
});
|
|
12057
12056
|
let u = oa;
|
|
@@ -12423,7 +12422,7 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12423
12422
|
}), (k, R) => {
|
|
12424
12423
|
var b;
|
|
12425
12424
|
return p(), C("div", E4, [
|
|
12426
|
-
A(
|
|
12425
|
+
A(ya, null, {
|
|
12427
12426
|
primary: N(() => [
|
|
12428
12427
|
f("div", I4, [
|
|
12429
12428
|
A(an, {
|
|
@@ -12570,7 +12569,7 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12570
12569
|
onToast: n
|
|
12571
12570
|
}, {
|
|
12572
12571
|
default: N((V) => [
|
|
12573
|
-
te(k.$slots, "activityDetailsBody", ha(
|
|
12572
|
+
te(k.$slots, "activityDetailsBody", fa(ha(V)))
|
|
12574
12573
|
]),
|
|
12575
12574
|
_: 3
|
|
12576
12575
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : O("", !0)
|
|
@@ -12627,7 +12626,7 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12627
12626
|
}), (g, m) => (p(), C(fe, null, [
|
|
12628
12627
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12629
12628
|
f("div", H4, [
|
|
12630
|
-
A(
|
|
12629
|
+
A(ya, null, {
|
|
12631
12630
|
primary: N(() => [
|
|
12632
12631
|
A(an, {
|
|
12633
12632
|
tabs: w,
|
|
@@ -12818,7 +12817,7 @@ const Bt = {
|
|
|
12818
12817
|
});
|
|
12819
12818
|
}, l = (r) => {
|
|
12820
12819
|
if (r.moved) {
|
|
12821
|
-
const c =
|
|
12820
|
+
const c = _a(r, a.templates ?? []);
|
|
12822
12821
|
e("updateItem", {
|
|
12823
12822
|
itemType: me.TEMPLATES,
|
|
12824
12823
|
id: r.moved.element.id,
|
|
@@ -12830,7 +12829,7 @@ const Bt = {
|
|
|
12830
12829
|
}
|
|
12831
12830
|
};
|
|
12832
12831
|
return (r, c) => (p(), C("div", N4, [
|
|
12833
|
-
A(
|
|
12832
|
+
A(ya, null, {
|
|
12834
12833
|
secondary: N(() => [
|
|
12835
12834
|
A(re, {
|
|
12836
12835
|
label: r.$t("templates.new"),
|
|
@@ -12967,7 +12966,7 @@ export {
|
|
|
12967
12966
|
s8 as getProjectOverviewRoutes,
|
|
12968
12967
|
a8 as getTemplateRoutes,
|
|
12969
12968
|
t8 as listUpdateTypes,
|
|
12970
|
-
|
|
12969
|
+
Da as milestoneStatus,
|
|
12971
12970
|
ye as projectOverviewRoutes,
|
|
12972
12971
|
Y2 as ruleComparators,
|
|
12973
12972
|
K2 as ruleDurationUnits,
|