@26lights/orcha 0.41.58 → 0.41.59
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.es.js +218 -217
- package/dist/orcha.umd.js +1 -1
- package/dist/src/components/AoColorPicker.vue.d.ts +3 -1
- 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 qa, createVNode as A, normalizeStyle as xt, withModifiers as ve, createSlots as fa, 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 ha, guardReactiveProps as ma, 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
|
+
qa(W(w.title), 1)
|
|
1306
1306
|
]),
|
|
1307
1307
|
_: 1
|
|
1308
1308
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1395,7 +1395,7 @@ const j2 = {
|
|
|
1395
1395
|
}, 8, ["class"]));
|
|
1396
1396
|
}
|
|
1397
1397
|
});
|
|
1398
|
-
const
|
|
1398
|
+
const ra = /* @__PURE__ */ q({
|
|
1399
1399
|
__name: "AoTag",
|
|
1400
1400
|
props: {
|
|
1401
1401
|
label: {},
|
|
@@ -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: xt(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
|
+
qa(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 Ba = {
|
|
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 ja(t) {
|
|
1494
1494
|
"@babel/helpers - typeof";
|
|
1495
|
-
return
|
|
1495
|
+
return ja = 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
|
+
}, ja(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 || ja(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,10 +1519,10 @@ function X2(t, e) {
|
|
|
1519
1519
|
return new Date(a + s);
|
|
1520
1520
|
}
|
|
1521
1521
|
var Q2 = {};
|
|
1522
|
-
function
|
|
1522
|
+
function ga() {
|
|
1523
1523
|
return Q2;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function ua(t) {
|
|
1526
1526
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1527
1527
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1528
1528
|
}
|
|
@@ -1534,7 +1534,7 @@ function dn(t) {
|
|
|
1534
1534
|
var J2 = 864e5;
|
|
1535
1535
|
function e0(t, e) {
|
|
1536
1536
|
Ce(2, arguments);
|
|
1537
|
-
var a = dn(t), s = dn(e), n = a.getTime() -
|
|
1537
|
+
var a = dn(t), s = dn(e), n = a.getTime() - ua(a), o = s.getTime() - ua(s);
|
|
1538
1538
|
return Math.round((n - o) / J2);
|
|
1539
1539
|
}
|
|
1540
1540
|
function t0(t, e) {
|
|
@@ -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 || ja(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 Ra(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 = Ra(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 = Ra(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 = Ra(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 = Ra(e).getTime() - i0(e).getTime();
|
|
1593
1593
|
return Math.round(a / o0) + 1;
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function Na(t, e) {
|
|
1596
1596
|
var a, s, n, o, i, l, r, c;
|
|
1597
1597
|
Ce(1, arguments);
|
|
1598
|
-
var u =
|
|
1598
|
+
var u = ga(), 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 Ra(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 = ga(), 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 = Na($, 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 = Na(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 = ga(), 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 $ = Na(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 = Na(a, e).getTime() - r0(a, e).getTime();
|
|
1629
1629
|
return Math.round(s / u0) + 1;
|
|
1630
1630
|
}
|
|
1631
1631
|
function de(t, e) {
|
|
@@ -2456,7 +2456,7 @@ var O0 = {
|
|
|
2456
2456
|
return O0[e];
|
|
2457
2457
|
};
|
|
2458
2458
|
const I0 = E0;
|
|
2459
|
-
function
|
|
2459
|
+
function ea(t) {
|
|
2460
2460
|
return function(e, a) {
|
|
2461
2461
|
var s = a != null && a.context ? String(a.context) : "standalone", n;
|
|
2462
2462
|
if (s === "formatting" && t.formattingValues) {
|
|
@@ -2563,26 +2563,26 @@ var L0 = {
|
|
|
2563
2563
|
return s + "th";
|
|
2564
2564
|
}, R0 = {
|
|
2565
2565
|
ordinalNumber: j0,
|
|
2566
|
-
era:
|
|
2566
|
+
era: ea({
|
|
2567
2567
|
values: L0,
|
|
2568
2568
|
defaultWidth: "wide"
|
|
2569
2569
|
}),
|
|
2570
|
-
quarter:
|
|
2570
|
+
quarter: ea({
|
|
2571
2571
|
values: P0,
|
|
2572
2572
|
defaultWidth: "wide",
|
|
2573
2573
|
argumentCallback: function(e) {
|
|
2574
2574
|
return e - 1;
|
|
2575
2575
|
}
|
|
2576
2576
|
}),
|
|
2577
|
-
month:
|
|
2577
|
+
month: ea({
|
|
2578
2578
|
values: H0,
|
|
2579
2579
|
defaultWidth: "wide"
|
|
2580
2580
|
}),
|
|
2581
|
-
day:
|
|
2581
|
+
day: ea({
|
|
2582
2582
|
values: V0,
|
|
2583
2583
|
defaultWidth: "wide"
|
|
2584
2584
|
}),
|
|
2585
|
-
dayPeriod:
|
|
2585
|
+
dayPeriod: ea({
|
|
2586
2586
|
values: D0,
|
|
2587
2587
|
defaultWidth: "wide",
|
|
2588
2588
|
formattingValues: B0,
|
|
@@ -2590,7 +2590,7 @@ var L0 = {
|
|
|
2590
2590
|
})
|
|
2591
2591
|
};
|
|
2592
2592
|
const N0 = R0;
|
|
2593
|
-
function
|
|
2593
|
+
function ta(t) {
|
|
2594
2594
|
return function(e) {
|
|
2595
2595
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = a.width, n = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], o = e.match(n);
|
|
2596
2596
|
if (!o)
|
|
@@ -2684,13 +2684,13 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
2684
2684
|
return parseInt(e, 10);
|
|
2685
2685
|
}
|
|
2686
2686
|
}),
|
|
2687
|
-
era:
|
|
2687
|
+
era: ta({
|
|
2688
2688
|
matchPatterns: q0,
|
|
2689
2689
|
defaultMatchWidth: "wide",
|
|
2690
2690
|
parsePatterns: Y0,
|
|
2691
2691
|
defaultParseWidth: "any"
|
|
2692
2692
|
}),
|
|
2693
|
-
quarter:
|
|
2693
|
+
quarter: ta({
|
|
2694
2694
|
matchPatterns: x0,
|
|
2695
2695
|
defaultMatchWidth: "wide",
|
|
2696
2696
|
parsePatterns: K0,
|
|
@@ -2699,19 +2699,19 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
2699
2699
|
return e + 1;
|
|
2700
2700
|
}
|
|
2701
2701
|
}),
|
|
2702
|
-
month:
|
|
2702
|
+
month: ta({
|
|
2703
2703
|
matchPatterns: G0,
|
|
2704
2704
|
defaultMatchWidth: "wide",
|
|
2705
2705
|
parsePatterns: X0,
|
|
2706
2706
|
defaultParseWidth: "any"
|
|
2707
2707
|
}),
|
|
2708
|
-
day:
|
|
2708
|
+
day: ta({
|
|
2709
2709
|
matchPatterns: Q0,
|
|
2710
2710
|
defaultMatchWidth: "wide",
|
|
2711
2711
|
parsePatterns: J0,
|
|
2712
2712
|
defaultParseWidth: "any"
|
|
2713
2713
|
}),
|
|
2714
|
-
dayPeriod:
|
|
2714
|
+
dayPeriod: ta({
|
|
2715
2715
|
matchPatterns: e3,
|
|
2716
2716
|
defaultMatchWidth: "any",
|
|
2717
2717
|
parsePatterns: t3,
|
|
@@ -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 = ga(), 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);
|
|
@@ -2749,7 +2749,7 @@ function Fn(t, e, a) {
|
|
|
2749
2749
|
var J = $e(t);
|
|
2750
2750
|
if (!Bn(J))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
|
-
var ae =
|
|
2752
|
+
var ae = ua(J), j = ws(J, ae), G = {
|
|
2753
2753
|
firstWeekContainsDate: z,
|
|
2754
2754
|
weekStartsOn: K,
|
|
2755
2755
|
locale: F,
|
|
@@ -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 = ga(), 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)
|
|
@@ -2795,7 +2795,7 @@ function d3(t, e, a) {
|
|
|
2795
2795
|
throw new RangeError("Invalid time value");
|
|
2796
2796
|
var y;
|
|
2797
2797
|
_ < -6 ? y = "other" : _ < -1 ? y = "lastWeek" : _ < 0 ? y = "yesterday" : _ < 1 ? y = "today" : _ < 2 ? y = "tomorrow" : _ < 7 ? y = "nextWeek" : y = "other";
|
|
2798
|
-
var P = ws(h,
|
|
2798
|
+
var P = ws(h, ua(h)), I = ws($, ua($)), L = g.formatRelative(y, P, I, {
|
|
2799
2799
|
locale: g,
|
|
2800
2800
|
weekStartsOn: m
|
|
2801
2801
|
});
|
|
@@ -2804,7 +2804,7 @@ function d3(t, e, a) {
|
|
|
2804
2804
|
weekStartsOn: m
|
|
2805
2805
|
});
|
|
2806
2806
|
}
|
|
2807
|
-
function
|
|
2807
|
+
function ca(t, e) {
|
|
2808
2808
|
var a;
|
|
2809
2809
|
Ce(1, arguments);
|
|
2810
2810
|
var s = Qe((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
@@ -2831,17 +2831,17 @@ function ua(t, e) {
|
|
|
2831
2831
|
}
|
|
2832
2832
|
return new Date(l + r + c);
|
|
2833
2833
|
}
|
|
2834
|
-
var
|
|
2834
|
+
var Ea = {
|
|
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(Ea.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], Ea.timeZoneDelimiter.test(e.date) && (e.date = t.split(Ea.timeZoneDelimiter)[0], s = t.substr(e.date.length, t.length))), s) {
|
|
2844
|
+
var n = Ea.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;
|
|
@@ -2865,13 +2865,13 @@ function g3(t, e) {
|
|
|
2865
2865
|
var a = t.match(p3);
|
|
2866
2866
|
if (!a)
|
|
2867
2867
|
return /* @__PURE__ */ new Date(NaN);
|
|
2868
|
-
var s = !!a[4], n =
|
|
2868
|
+
var s = !!a[4], n = aa(a[1]), o = aa(a[2]) - 1, i = aa(a[3]), l = aa(a[4]), r = aa(a[5]) - 1;
|
|
2869
2869
|
if (s)
|
|
2870
2870
|
return k3(e, l, r) ? y3(e, l, r) : /* @__PURE__ */ new Date(NaN);
|
|
2871
2871
|
var c = /* @__PURE__ */ new Date(0);
|
|
2872
2872
|
return !w3(e, o, i) || !$3(e, n) ? /* @__PURE__ */ new Date(NaN) : (c.setUTCFullYear(e, o, Math.max(n, i)), c);
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function aa(t) {
|
|
2875
2875
|
return t ? parseInt(t) : 1;
|
|
2876
2876
|
}
|
|
2877
2877
|
function C3(t) {
|
|
@@ -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 = {},
|
|
2921
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {}, sa = {}, Ca = {}, Kt = {}, 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 _a = {};
|
|
2934
|
+
Object.defineProperty(_a, "__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
|
-
|
|
2959
|
-
Object.defineProperty(
|
|
2960
|
-
|
|
2961
|
-
const
|
|
2958
|
+
_a.default = T3;
|
|
2959
|
+
Object.defineProperty(Kt, "__esModule", { value: !0 });
|
|
2960
|
+
Kt.LexoInteger = void 0;
|
|
2961
|
+
const Ia = xa, O3 = _a;
|
|
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 Ia.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 Ia.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 Ia.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 Ia.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);
|
|
@@ -3152,31 +3152,31 @@ class ie {
|
|
|
3152
3152
|
throw new Error("Expected numbers of same numeral sys");
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
|
-
|
|
3155
|
+
Kt.LexoInteger = ie;
|
|
3156
3156
|
ie.ZERO_MAG = [0];
|
|
3157
3157
|
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
|
|
3161
|
+
Object.defineProperty(Ca, "__esModule", { value: !0 });
|
|
3162
|
+
Ca.LexoDecimal = void 0;
|
|
3163
|
+
const na = Kt, E3 = _a;
|
|
3164
3164
|
class Pe {
|
|
3165
3165
|
constructor(e, a) {
|
|
3166
3166
|
this.mag = e, this.sig = a;
|
|
3167
3167
|
}
|
|
3168
3168
|
static half(e) {
|
|
3169
3169
|
const a = e.getBase() / 2 | 0;
|
|
3170
|
-
return Pe.make(
|
|
3170
|
+
return Pe.make(na.LexoInteger.make(e, 1, [a]), 1);
|
|
3171
3171
|
}
|
|
3172
3172
|
static parse(e, a) {
|
|
3173
3173
|
const s = e.indexOf(a.getRadixPointChar());
|
|
3174
3174
|
if (e.lastIndexOf(a.getRadixPointChar()) !== s)
|
|
3175
3175
|
throw new Error("More than one " + a.getRadixPointChar());
|
|
3176
3176
|
if (s < 0)
|
|
3177
|
-
return Pe.make(
|
|
3177
|
+
return Pe.make(na.LexoInteger.parse(e, a), 0);
|
|
3178
3178
|
const n = e.substring(0, s) + e.substring(s + 1);
|
|
3179
|
-
return Pe.make(
|
|
3179
|
+
return Pe.make(na.LexoInteger.parse(n, a), e.length - 1 - s);
|
|
3180
3180
|
}
|
|
3181
3181
|
static from(e) {
|
|
3182
3182
|
return Pe.make(e, 0);
|
|
@@ -3219,7 +3219,7 @@ class Pe {
|
|
|
3219
3219
|
if (this.isExact())
|
|
3220
3220
|
return this.mag;
|
|
3221
3221
|
const e = this.floor();
|
|
3222
|
-
return e.add(
|
|
3222
|
+
return e.add(na.LexoInteger.one(e.getSystem()));
|
|
3223
3223
|
}
|
|
3224
3224
|
isExact() {
|
|
3225
3225
|
if (this.sig === 0)
|
|
@@ -3238,7 +3238,7 @@ class Pe {
|
|
|
3238
3238
|
e < 0 && (e = 0);
|
|
3239
3239
|
const s = this.sig - e;
|
|
3240
3240
|
let n = this.mag.shiftRight(s);
|
|
3241
|
-
return a && (n = n.add(
|
|
3241
|
+
return a && (n = n.add(na.LexoInteger.one(n.getSystem()))), Pe.make(n, e);
|
|
3242
3242
|
}
|
|
3243
3243
|
compareTo(e) {
|
|
3244
3244
|
if (this === e)
|
|
@@ -3264,13 +3264,13 @@ class Pe {
|
|
|
3264
3264
|
return this.format();
|
|
3265
3265
|
}
|
|
3266
3266
|
}
|
|
3267
|
-
|
|
3268
|
-
var
|
|
3267
|
+
Ca.LexoDecimal = Pe;
|
|
3268
|
+
var La = {}, mn;
|
|
3269
3269
|
function zn() {
|
|
3270
3270
|
if (mn)
|
|
3271
|
-
return
|
|
3272
|
-
mn = 1, Object.defineProperty(
|
|
3273
|
-
const t =
|
|
3271
|
+
return La;
|
|
3272
|
+
mn = 1, Object.defineProperty(La, "__esModule", { value: !0 });
|
|
3273
|
+
const t = Kt, e = Yn();
|
|
3274
3274
|
class a {
|
|
3275
3275
|
constructor(n) {
|
|
3276
3276
|
this.value = t.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -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 La.default = a, La;
|
|
3325
3325
|
}
|
|
3326
3326
|
var Ps = {}, qn = {};
|
|
3327
3327
|
Object.defineProperty(qn, "__esModule", { value: !0 });
|
|
@@ -3437,9 +3437,9 @@ Xa.LexoNumeralSystem64 = P3;
|
|
|
3437
3437
|
var gn;
|
|
3438
3438
|
function Yn() {
|
|
3439
3439
|
if (gn)
|
|
3440
|
-
return
|
|
3441
|
-
gn = 1, Object.defineProperty(
|
|
3442
|
-
const t =
|
|
3440
|
+
return sa;
|
|
3441
|
+
gn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.LexoRank = void 0;
|
|
3442
|
+
const t = Ca, e = zn(), a = _a, 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;
|
|
@@ -3610,7 +3610,7 @@ function Yn() {
|
|
|
3610
3610
|
return this === i ? 0 : i ? this.value.localeCompare(i.value) : 1;
|
|
3611
3611
|
}
|
|
3612
3612
|
}
|
|
3613
|
-
return
|
|
3613
|
+
return sa.LexoRank = n, sa;
|
|
3614
3614
|
}
|
|
3615
3615
|
(function(t) {
|
|
3616
3616
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -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(Ca, t), a(Kt, 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 ya(t, e) {
|
|
3668
3668
|
if (t.moved)
|
|
3669
3669
|
return Ut(e, t.moved.newIndex);
|
|
3670
3670
|
}
|
|
@@ -3686,7 +3686,7 @@ function Ut(t, e) {
|
|
|
3686
3686
|
function Qa(t, e = "dd/MM/yyyy") {
|
|
3687
3687
|
if (!t)
|
|
3688
3688
|
return "";
|
|
3689
|
-
const a =
|
|
3689
|
+
const a = ca(t);
|
|
3690
3690
|
return Bn(a) ? Fn(a, e) : "";
|
|
3691
3691
|
}
|
|
3692
3692
|
function Hs(t, e) {
|
|
@@ -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) ? Ba.done : Ba.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
|
+
}, fa({
|
|
3785
3785
|
subtitle: N(() => [
|
|
3786
3786
|
f("ul", F3, [
|
|
3787
3787
|
f("li", Z3, [
|
|
@@ -3811,13 +3811,13 @@ const F3 = { class: "ao-card-template__subitems" }, Z3 = { class: "ao-card-templ
|
|
|
3811
3811
|
f("span", G3, W(l.$t("template.phases.title")), 1)
|
|
3812
3812
|
]),
|
|
3813
3813
|
l.phases ? (p(), C("ul", X3, [
|
|
3814
|
-
(p(!0), C(fe, null, _e(o.value, (c) => (p(), D(
|
|
3814
|
+
(p(!0), C(fe, null, _e(o.value, (c) => (p(), D(ra, {
|
|
3815
3815
|
key: c.id,
|
|
3816
3816
|
label: c.name || c.id,
|
|
3817
3817
|
color: "primary",
|
|
3818
3818
|
variant: "solid"
|
|
3819
3819
|
}, null, 8, ["label"]))), 128)),
|
|
3820
|
-
i.value > 0 ? (p(), D(
|
|
3820
|
+
i.value > 0 ? (p(), D(ra, {
|
|
3821
3821
|
key: 0,
|
|
3822
3822
|
label: `+${i.value} more`,
|
|
3823
3823
|
color: "primary-lighter",
|
|
@@ -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
|
+
}, ba = /* @__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 = ya(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 = ya(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
|
|
4226
|
+
const da = Math.min, He = Math.max, Ua = Math.round, Pa = 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 = Fa(i)), [i, Fa(i)];
|
|
4264
4264
|
}
|
|
4265
4265
|
function V5(t) {
|
|
4266
|
-
const e =
|
|
4266
|
+
const e = Fa(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 Fa(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 Za(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 = Za(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 = Za(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 ? [Fa(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) || [];
|
|
@@ -4566,10 +4566,10 @@ const U5 = function(t) {
|
|
|
4566
4566
|
let y = g, P = m;
|
|
4567
4567
|
if (d) {
|
|
4568
4568
|
const L = v - r.left - r.right;
|
|
4569
|
-
P = u || _ ?
|
|
4569
|
+
P = u || _ ? da(m, L) : L;
|
|
4570
4570
|
} else {
|
|
4571
4571
|
const L = h - r.top - r.bottom;
|
|
4572
|
-
y = u || _ ?
|
|
4572
|
+
y = u || _ ? da(g, L) : L;
|
|
4573
4573
|
}
|
|
4574
4574
|
if (_ && !u) {
|
|
4575
4575
|
const L = He(r.left, 0), F = He(r.right, 0), z = He(r.top, 0), K = He(r.bottom, 0);
|
|
@@ -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 wa(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) && wa(e) ? e : ei(e);
|
|
4673
4673
|
}
|
|
4674
|
-
function
|
|
4674
|
+
function pa(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 || [], wa(n) ? n : [], i.frameElement && a ? pa(i.frameElement) : []) : e.concat(n, pa(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 = Ua(a) !== o || Ua(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 ? Ua(a.width) : a.width) / s, l = (o ? Ua(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 Za({
|
|
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" || wa(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 Za(s);
|
|
4824
4824
|
}
|
|
4825
4825
|
function ni(t, e) {
|
|
4826
4826
|
const a = Zt(t);
|
|
@@ -4830,12 +4830,12 @@ function Q5(t, e) {
|
|
|
4830
4830
|
const a = e.get(t);
|
|
4831
4831
|
if (a)
|
|
4832
4832
|
return a;
|
|
4833
|
-
let s =
|
|
4833
|
+
let s = pa(t, [], !1).filter((l) => et(l) && vt(l) !== "body"), n = null;
|
|
4834
4834
|
const o = je(t).position === "fixed";
|
|
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) || wa(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
|
}
|
|
@@ -4848,7 +4848,7 @@ function J5(t) {
|
|
|
4848
4848
|
} = t;
|
|
4849
4849
|
const i = [...a === "clippingAncestors" ? Q5(e, this._c) : [].concat(a), s], l = i[0], r = i.reduce((c, u) => {
|
|
4850
4850
|
const d = yn(e, u, n);
|
|
4851
|
-
return c.top = He(d.top, c.top), c.right =
|
|
4851
|
+
return c.top = He(d.top, c.top), c.right = da(d.right, c.right), c.bottom = da(d.bottom, c.bottom), c.left = He(d.left, c.left), c;
|
|
4852
4852
|
}, yn(e, l, n));
|
|
4853
4853
|
return {
|
|
4854
4854
|
width: r.right - r.left,
|
|
@@ -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" || wa(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,9 +4939,9 @@ function i7(t, e) {
|
|
|
4939
4939
|
} = t.getBoundingClientRect();
|
|
4940
4940
|
if (l || e(), !d || !v)
|
|
4941
4941
|
return;
|
|
4942
|
-
const h =
|
|
4942
|
+
const h = Pa(u), $ = Pa(n.clientWidth - (c + d)), w = Pa(n.clientHeight - (u + v)), g = Pa(c), _ = {
|
|
4943
4943
|
rootMargin: -h + "px " + -$ + "px " + -w + "px " + -g + "px",
|
|
4944
|
-
threshold: He(0,
|
|
4944
|
+
threshold: He(0, da(1, r)) || 1
|
|
4945
4945
|
};
|
|
4946
4946
|
let y = !0;
|
|
4947
4947
|
function P(I) {
|
|
@@ -4976,7 +4976,7 @@ function o7(t, e, a, s) {
|
|
|
4976
4976
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4977
4977
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
4978
4978
|
animationFrame: r = !1
|
|
4979
|
-
} = s, c = Ns(t), u = n || o ? [...c ?
|
|
4979
|
+
} = s, c = Ns(t), u = n || o ? [...c ? pa(c) : [], ...pa(e)] : [];
|
|
4980
4980
|
u.forEach((m) => {
|
|
4981
4981
|
n && m.addEventListener("scroll", a, {
|
|
4982
4982
|
passive: !0
|
|
@@ -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,
|
|
5198
|
+
} = Ee(t), ne = It().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, st = a.clearPointer, $a = a.focus, rs = a.deactivate, nt = a.close, ka = a.localize, it = x([]), Ue = x([]), Ie = x(!1), Re = x(null), Ye = x(ee.value && i.value === -1 ? 10 : i.value), Qt = M(() => r.value || c.value || !1), Sa = 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 = [];
|
|
@@ -5209,11 +5209,11 @@ function h7(t, e, a) {
|
|
|
5209
5209
|
[]);
|
|
5210
5210
|
return it.value.length && (S = S.concat(it.value)), S;
|
|
5211
5211
|
}
|
|
5212
|
-
}),
|
|
5212
|
+
}), Jt = M(() => {
|
|
5213
5213
|
let S = Le.value;
|
|
5214
5214
|
return se.value && (S = S.reverse()), Lt.value.length && (S = Lt.value.concat(S)), fs(S);
|
|
5215
5215
|
}), ot = M(() => {
|
|
5216
|
-
let S =
|
|
5216
|
+
let S = Jt.value;
|
|
5217
5217
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5218
5218
|
}), yt = M(() => {
|
|
5219
5219
|
if (!le.value)
|
|
@@ -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
|
+
}), Aa = 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 = Aa.value;
|
|
5239
5239
|
return Li((S || /* istanbul ignore next */
|
|
5240
5240
|
[]).map((B, ue) => {
|
|
5241
5241
|
const ge = hs(B[E.value]);
|
|
@@ -5255,7 +5255,7 @@ function h7(t, e, a) {
|
|
|
5255
5255
|
case "tags":
|
|
5256
5256
|
return !Fe(Z.value) && Z.value.length > 0;
|
|
5257
5257
|
}
|
|
5258
|
-
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !Lt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Lt = M(() =>
|
|
5258
|
+
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !Lt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Lt = M(() => Qt.value === !1 || !Y.value ? [] : Oi(Y.value) !== -1 ? [] : [{
|
|
5259
5259
|
[L.value]: Y.value,
|
|
5260
5260
|
[bt.value[0]]: Y.value,
|
|
5261
5261
|
[u.value]: Y.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 || $a();
|
|
5356
5356
|
}, Si = (S) => {
|
|
5357
5357
|
if (!(ds(S) || n.value === "single" || !k.value)) {
|
|
5358
5358
|
switch (n.value) {
|
|
@@ -5360,13 +5360,13 @@ function h7(t, e, a) {
|
|
|
5360
5360
|
case "tags":
|
|
5361
5361
|
Mi(S[E.value]) ? Ht(S[E.value]) : Pt(
|
|
5362
5362
|
S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[b.value]).filter((B, ue) => Z.value.length + 1 + ue <= J.value || J.value === -1)
|
|
5363
|
-
), l.value &&
|
|
5363
|
+
), l.value && Gt.value && Xt(us.value.filter((B) => !B[b.value])[Gt.value.index]);
|
|
5364
5364
|
break;
|
|
5365
5365
|
}
|
|
5366
5366
|
j.value && rs();
|
|
5367
5367
|
}
|
|
5368
5368
|
}, vs = (S) => {
|
|
5369
|
-
Ke(S[L.value]) === void 0 &&
|
|
5369
|
+
Ke(S[L.value]) === void 0 && Qt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), Sa.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(ka(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
|
+
}, Ma = () => {
|
|
5393
|
+
Fe(H.value) || (Z.value = Oa(H.value));
|
|
5394
|
+
}, Ta = (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
|
+
Ta(S);
|
|
5420
|
+
}, Oa = (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
|
|
@@ -5429,7 +5429,7 @@ function h7(t, e, a) {
|
|
|
5429
5429
|
Re.value = ce(Y, (S) => {
|
|
5430
5430
|
S.length < _.value || !S && _.value !== 0 || (Ie.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
5431
5431
|
S == Y.value && s.value(Y.value, ne).then((B) => {
|
|
5432
|
-
(S == Y.value || !Y.value) && (Ue.value = B,
|
|
5432
|
+
(S == Y.value || !Y.value) && (Ue.value = B, Gt.value = ot.value.filter((ue) => ue[b.value] !== !0)[0] || null, Ie.value = !1);
|
|
5433
5433
|
}).catch(
|
|
5434
5434
|
/* istanbul ignore next */
|
|
5435
5435
|
(B) => {
|
|
@@ -5441,28 +5441,28 @@ 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 ? Ma
|
|
5444
|
+
return s && typeof s.value == "function" ? m.value ? Ta(Ma) : $.value == !0 && Ma() : (Ue.value = s.value, Ma()), 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(Oa(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(Oa(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(Oa(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()) && Ta() : (Ue.value = t.options, Object.keys(Z.value).length || Ma(), ms());
|
|
5462
5462
|
}), ce(u, ms), ce(i, (S, B) => {
|
|
5463
5463
|
Ye.value = ee.value && S === -1 ? 10 : S;
|
|
5464
5464
|
}), {
|
|
5465
|
-
pfo:
|
|
5465
|
+
pfo: Jt,
|
|
5466
5466
|
fo: ot,
|
|
5467
5467
|
filteredOptions: ot,
|
|
5468
5468
|
hasSelected: cs,
|
|
@@ -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: Ta,
|
|
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, Wa = 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) {
|
|
@@ -5713,13 +5713,13 @@ function ss(t) {
|
|
|
5713
5713
|
function ri(t) {
|
|
5714
5714
|
return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t : ri(ss(t));
|
|
5715
5715
|
}
|
|
5716
|
-
function
|
|
5716
|
+
function oa(t, e) {
|
|
5717
5717
|
var a;
|
|
5718
5718
|
e === void 0 && (e = []);
|
|
5719
5719
|
var s = ri(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Oe(s), i = n ? [o].concat(o.visualViewport || [], Ws(s) ? s : []) : s, l = e.concat(i);
|
|
5720
5720
|
return n ? l : (
|
|
5721
5721
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5722
|
-
l.concat(
|
|
5722
|
+
l.concat(oa(ss(i)))
|
|
5723
5723
|
);
|
|
5724
5724
|
}
|
|
5725
5725
|
function b7(t) {
|
|
@@ -5750,10 +5750,10 @@ function ns(t) {
|
|
|
5750
5750
|
a = wn(a);
|
|
5751
5751
|
return a && (ze(a) === "html" || ze(a) === "body" && tt(a).position === "static") ? e : a || w7(t) || e;
|
|
5752
5752
|
}
|
|
5753
|
-
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], qt = "start",
|
|
5754
|
-
return t.concat([e + "-" + qt, e + "-" +
|
|
5753
|
+
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], qt = "start", va = "end", $7 = "clippingParents", ui = "viewport", ia = "popper", k7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5754
|
+
return t.concat([e + "-" + qt, e + "-" + va]);
|
|
5755
5755
|
}, []), S7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5756
|
-
return t.concat([e, e + "-" + qt, e + "-" +
|
|
5756
|
+
return t.concat([e, e + "-" + qt, e + "-" + va]);
|
|
5757
5757
|
}, []), A7 = "beforeRead", M7 = "read", T7 = "afterRead", O7 = "beforeMain", E7 = "main", I7 = "afterMain", L7 = "beforeWrite", P7 = "write", H7 = "afterWrite", V7 = [A7, M7, T7, O7, E7, I7, L7, P7, H7];
|
|
5758
5758
|
function D7(t) {
|
|
5759
5759
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
@@ -5857,7 +5857,7 @@ function kn(t, e, a) {
|
|
|
5857
5857
|
return e === ui ? Ss(N7(t, a)) : Ot(e) ? Z7(e, a) : Ss(U7(Ct(t)));
|
|
5858
5858
|
}
|
|
5859
5859
|
function W7(t) {
|
|
5860
|
-
var e =
|
|
5860
|
+
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5861
5861
|
return Ot(s) ? e.filter(function(n) {
|
|
5862
5862
|
return Ot(n) && F7(n, s) && ze(n) !== "body";
|
|
5863
5863
|
}) : [];
|
|
@@ -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 = Wa(u.right, r.right), r.bottom = Wa(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
|
}
|
|
@@ -5918,7 +5918,7 @@ function di(t) {
|
|
|
5918
5918
|
case qt:
|
|
5919
5919
|
r[c] = r[c] - (e[u] / 2 - a[u] / 2);
|
|
5920
5920
|
break;
|
|
5921
|
-
case
|
|
5921
|
+
case va:
|
|
5922
5922
|
r[c] = r[c] + (e[u] / 2 - a[u] / 2);
|
|
5923
5923
|
break;
|
|
5924
5924
|
}
|
|
@@ -5943,18 +5943,18 @@ function Y7(t, e) {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function qs(t, e) {
|
|
5945
5945
|
e === void 0 && (e = {});
|
|
5946
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ?
|
|
5946
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, h = a.altBoundary, $ = h === void 0 ? !1 : h, w = a.padding, g = w === void 0 ? 0 : w, m = q7(typeof g != "number" ? g : Y7(g, is)), _ = v === ia ? k7 : ia, y = t.rects.popper, P = t.elements[$ ? _ : v], I = z7(Ot(P) ? P : P.contextElement || Ct(t.elements.popper), r, u, i), L = zt(t.elements.reference), F = di({
|
|
5947
5947
|
reference: L,
|
|
5948
5948
|
element: y,
|
|
5949
5949
|
strategy: "absolute",
|
|
5950
5950
|
placement: n
|
|
5951
|
-
}), z = Ss(Object.assign({}, y, F)), K = v ===
|
|
5951
|
+
}), z = Ss(Object.assign({}, y, F)), K = v === ia ? z : L, J = {
|
|
5952
5952
|
top: I.top - K.top + m.top,
|
|
5953
5953
|
bottom: K.bottom - I.bottom + m.bottom,
|
|
5954
5954
|
left: I.left - K.left + m.left,
|
|
5955
5955
|
right: K.right - I.right + m.right
|
|
5956
5956
|
}, ae = t.modifiersData.offset;
|
|
5957
|
-
if (v ===
|
|
5957
|
+
if (v === ia && ae) {
|
|
5958
5958
|
var j = ae[n];
|
|
5959
5959
|
Object.keys(J).forEach(function(G) {
|
|
5960
5960
|
var le = [ft, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
|
|
@@ -5996,8 +5996,8 @@ function x7(t) {
|
|
|
5996
5996
|
setOptions: function(m) {
|
|
5997
5997
|
var _ = typeof m == "function" ? m(u.options) : m;
|
|
5998
5998
|
w(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5999
|
-
reference: Ot(l) ?
|
|
6000
|
-
popper:
|
|
5999
|
+
reference: Ot(l) ? oa(l) : l.contextElement ? oa(l.contextElement) : [],
|
|
6000
|
+
popper: oa(r)
|
|
6001
6001
|
};
|
|
6002
6002
|
var y = B7(R7([].concat(s, u.options.modifiers)));
|
|
6003
6003
|
return u.orderedModifiers = y.filter(function(P) {
|
|
@@ -6074,17 +6074,17 @@ function x7(t) {
|
|
|
6074
6074
|
return h;
|
|
6075
6075
|
};
|
|
6076
6076
|
}
|
|
6077
|
-
var
|
|
6077
|
+
var Ha = {
|
|
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, Ha);
|
|
6084
|
+
}), l && r.addEventListener("resize", a.update, Ha), 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, Ha);
|
|
6087
|
+
}), l && r.removeEventListener("resize", a.update, Ha);
|
|
6088
6088
|
};
|
|
6089
6089
|
}
|
|
6090
6090
|
var G7 = {
|
|
@@ -6136,7 +6136,7 @@ function Mn(t) {
|
|
|
6136
6136
|
var m = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), y = Ge, P = Ne, I = window;
|
|
6137
6137
|
if (c) {
|
|
6138
6138
|
var L = ns(a), F = "clientHeight", z = "clientWidth";
|
|
6139
|
-
if (L === Oe(a) && (L = Ct(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ft) && o ===
|
|
6139
|
+
if (L === Oe(a) && (L = Ct(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ft) && o === va) {
|
|
6140
6140
|
P = qe;
|
|
6141
6141
|
var K = d && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6142
6142
|
// $FlowFixMe[prop-missing]
|
|
@@ -6144,7 +6144,7 @@ function Mn(t) {
|
|
|
6144
6144
|
);
|
|
6145
6145
|
w -= K - s.height, w *= r ? 1 : -1;
|
|
6146
6146
|
}
|
|
6147
|
-
if (n === Ge || (n === Ne || n === qe) && o ===
|
|
6147
|
+
if (n === Ge || (n === Ne || n === qe) && o === va) {
|
|
6148
6148
|
y = ft;
|
|
6149
6149
|
var J = d && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6150
6150
|
// $FlowFixMe[prop-missing]
|
|
@@ -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 Va(t, e, a) {
|
|
6249
|
+
return St(t, Wa(e, a));
|
|
6250
6250
|
}
|
|
6251
6251
|
function up(t, e, a) {
|
|
6252
|
-
var s =
|
|
6252
|
+
var s = Va(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 = Va(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = y ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(h ? Wa(T, rs) : T, E, h ? St(k, nt) : k);
|
|
6279
|
+
L[P] = ka, j[P] = ka - 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",
|
|
6283
|
-
L[I] =
|
|
6282
|
+
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf(m) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt + J.altAxis, yt = Le ? Re + F[Ye] + z[Ye] - Jt - J.altAxis : Sa, Aa = h && Le ? up(ot, Re, yt) : Va(h ? ot : Qt, Re, h ? yt : Sa);
|
|
6283
|
+
L[I] = Aa, j[I] = Aa - 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 Da(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 = Da(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 || (_ || !$ ? [Da(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 = Da(E));
|
|
6361
|
+
var T = Da(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
|
+
}, fa({ _: 2 }, [
|
|
7696
7696
|
_e(n.$slots, (i, l) => ({
|
|
7697
7697
|
name: l,
|
|
7698
7698
|
fn: N((r) => [
|
|
7699
|
-
te(n.$slots, l,
|
|
7699
|
+
te(n.$slots, l, ha(ma(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
|
+
qa(". "),
|
|
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] : [],
|
|
@@ -8017,7 +8017,7 @@ const vv = { class: "ao-comment" }, fv = { class: "ao-comment__created-at" }, hv
|
|
|
8017
8017
|
const w = a.user;
|
|
8018
8018
|
return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
|
|
8019
8019
|
}), n = x(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Pn(n), c = M(() => {
|
|
8020
|
-
const w = a.editedAt &&
|
|
8020
|
+
const w = a.editedAt && ca(a.editedAt), g = ca(a.createdAt), m = /* @__PURE__ */ new Date(), _ = w ?? g;
|
|
8021
8021
|
return _ && d3(_, m);
|
|
8022
8022
|
}), u = M(() => o.value ? "textarea" : "p"), d = r(), v = l((w) => {
|
|
8023
8023
|
e("edit", w);
|
|
@@ -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
|
+
qa(W(w.content), 1)
|
|
8060
8060
|
]),
|
|
8061
8061
|
_: 1
|
|
8062
8062
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
@@ -8114,7 +8114,7 @@ const _v = { class: "ao-comments__header" }, yv = ["onSubmit"], bv = ["placehold
|
|
|
8114
8114
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
8115
8115
|
setup(t, { emit: e }) {
|
|
8116
8116
|
const a = t, s = M(() => (a.comments || []).toSorted(
|
|
8117
|
-
(v, h) => t0(
|
|
8117
|
+
(v, h) => t0(ca(v.createdAt), ca(h.createdAt))
|
|
8118
8118
|
)), n = (d) => a.users.find((h) => h.id === d), o = x();
|
|
8119
8119
|
Me(() => {
|
|
8120
8120
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
@@ -8457,7 +8457,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8457
8457
|
f("div", Sv, [
|
|
8458
8458
|
f("div", Av, [
|
|
8459
8459
|
f("div", Mv, [
|
|
8460
|
-
b.activity.slug ? (p(), D(
|
|
8460
|
+
b.activity.slug ? (p(), D(ra, {
|
|
8461
8461
|
key: 0,
|
|
8462
8462
|
label: b.activity.slug,
|
|
8463
8463
|
clickable: !0,
|
|
@@ -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 = ya(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(ba, {
|
|
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",
|
|
9329
|
+
te(E.$slots, "activityDetailsBody", ha(ma(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: xt({ 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 === Ba.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
|
+
}, fa({
|
|
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: xt({ backgroundColor: e.color })
|
|
9543
9543
|
}, null, 4));
|
|
9544
9544
|
}
|
|
9545
9545
|
});
|
|
@@ -10635,7 +10635,7 @@ const Vh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10635
10635
|
return (l, r) => (p(), C("div", Vh, [
|
|
10636
10636
|
te(l.$slots, "clickable", {
|
|
10637
10637
|
openPicker: n,
|
|
10638
|
-
|
|
10638
|
+
style: xt({ backgroundColor: l.color })
|
|
10639
10639
|
}),
|
|
10640
10640
|
a.value ? (p(), C("div", {
|
|
10641
10641
|
key: 0,
|
|
@@ -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 === Ba.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)
|
|
@@ -10711,12 +10711,13 @@ const Dh = { class: "ao-mapping -card-project-phase__header" }, Bh = { class: "a
|
|
|
10711
10711
|
color: c.value,
|
|
10712
10712
|
"onUpdate:color": v[2] || (v[2] = (h) => c.value = h)
|
|
10713
10713
|
}, {
|
|
10714
|
-
clickable: N(({ openPicker: h,
|
|
10714
|
+
clickable: N(({ openPicker: h, style: $ }) => [
|
|
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
|
-
|
|
10718
|
+
onClick: (w) => u(w, h),
|
|
10719
|
+
style: xt($)
|
|
10720
|
+
}, fa({
|
|
10720
10721
|
default: N(() => [
|
|
10721
10722
|
f("div", Bh, [
|
|
10722
10723
|
A(be, {
|
|
@@ -10792,7 +10793,7 @@ const Dh = { class: "ao-mapping -card-project-phase__header" }, Bh = { class: "a
|
|
|
10792
10793
|
]),
|
|
10793
10794
|
key: "0"
|
|
10794
10795
|
} : void 0
|
|
10795
|
-
]), 1032, ["is-clickable", "onClick"])
|
|
10796
|
+
]), 1032, ["is-clickable", "onClick", "style"])
|
|
10796
10797
|
]),
|
|
10797
10798
|
_: 3
|
|
10798
10799
|
}, 8, ["color"]));
|
|
@@ -10993,7 +10994,7 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
10993
10994
|
e("unarchivePhase", v);
|
|
10994
10995
|
}, c = (v) => {
|
|
10995
10996
|
if (v.moved) {
|
|
10996
|
-
const h =
|
|
10997
|
+
const h = ya(v, a.phases ?? []);
|
|
10997
10998
|
e("updatePhase", {
|
|
10998
10999
|
id: v.moved.element.id,
|
|
10999
11000
|
rank: h
|
|
@@ -11283,7 +11284,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11283
11284
|
return p(), C(fe, null, [
|
|
11284
11285
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11285
11286
|
f("div", w9, [
|
|
11286
|
-
A(
|
|
11287
|
+
A(ba, null, {
|
|
11287
11288
|
primary: N(() => [
|
|
11288
11289
|
A(an, {
|
|
11289
11290
|
tabs: E,
|
|
@@ -11380,7 +11381,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11380
11381
|
default: N(({ Component: b }) => [
|
|
11381
11382
|
(p(), D(ht(b), null, {
|
|
11382
11383
|
default: N((V) => [
|
|
11383
|
-
te(T.$slots, "activityDetailsBody",
|
|
11384
|
+
te(T.$slots, "activityDetailsBody", ha(ma(V)))
|
|
11384
11385
|
]),
|
|
11385
11386
|
_: 2
|
|
11386
11387
|
}, 1024))
|
|
@@ -11484,7 +11485,7 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11484
11485
|
}, {
|
|
11485
11486
|
header: N(() => [
|
|
11486
11487
|
f("div", S9, [
|
|
11487
|
-
s.value ? (p(), D(
|
|
11488
|
+
s.value ? (p(), D(ra, {
|
|
11488
11489
|
key: 0,
|
|
11489
11490
|
label: s.value,
|
|
11490
11491
|
class: "ao-card-feed__project",
|
|
@@ -11782,9 +11783,9 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11782
11783
|
color: v.value,
|
|
11783
11784
|
"onUpdate:color": y[3] || (y[3] = (I) => v.value = I)
|
|
11784
11785
|
}, {
|
|
11785
|
-
clickable: N(({ openPicker: I,
|
|
11786
|
+
clickable: N(({ openPicker: I, style: L }) => [
|
|
11786
11787
|
f("button", {
|
|
11787
|
-
style:
|
|
11788
|
+
style: xt(L),
|
|
11788
11789
|
class: "color-button",
|
|
11789
11790
|
onClick: I
|
|
11790
11791
|
}, null, 12, s4)
|
|
@@ -11827,7 +11828,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11827
11828
|
}),
|
|
11828
11829
|
onUpdateActivity: u,
|
|
11829
11830
|
onRemoveAssignee: () => u({ id: I.id, assigneeId: null })
|
|
11830
|
-
},
|
|
11831
|
+
}, fa({ _: 2 }, [
|
|
11831
11832
|
_.isEditable ? {
|
|
11832
11833
|
name: "secondary",
|
|
11833
11834
|
fn: N(() => [
|
|
@@ -11957,7 +11958,7 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11957
11958
|
onRemoveComment: w
|
|
11958
11959
|
}, {
|
|
11959
11960
|
default: N((P) => [
|
|
11960
|
-
te(g.$slots, "default",
|
|
11961
|
+
te(g.$slots, "default", ha(ma(P)))
|
|
11961
11962
|
]),
|
|
11962
11963
|
_: 3
|
|
11963
11964
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
@@ -11976,7 +11977,7 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11976
11977
|
class: "ao-col-header__title",
|
|
11977
11978
|
level: 4
|
|
11978
11979
|
}, null, 8, ["title"]),
|
|
11979
|
-
e.items ? (p(), D(
|
|
11980
|
+
e.items ? (p(), D(ra, {
|
|
11980
11981
|
key: 0,
|
|
11981
11982
|
label: e.items,
|
|
11982
11983
|
class: "ao-col-header__items",
|
|
@@ -11989,12 +11990,12 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11989
11990
|
function u4(t) {
|
|
11990
11991
|
return Fi() ? (Zi(t), !0) : !1;
|
|
11991
11992
|
}
|
|
11992
|
-
function
|
|
11993
|
+
function za(t) {
|
|
11993
11994
|
return typeof t == "function" ? t() : Q(t);
|
|
11994
11995
|
}
|
|
11995
11996
|
const c4 = typeof window < "u" && typeof document < "u";
|
|
11996
11997
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11997
|
-
const d4 = (t) => t != null,
|
|
11998
|
+
const d4 = (t) => t != null, la = () => {
|
|
11998
11999
|
};
|
|
11999
12000
|
function p4(t, e) {
|
|
12000
12001
|
function a(...s) {
|
|
@@ -12005,12 +12006,12 @@ function p4(t, e) {
|
|
|
12005
12006
|
return a;
|
|
12006
12007
|
}
|
|
12007
12008
|
function v4(t, e = {}) {
|
|
12008
|
-
let a, s, n =
|
|
12009
|
+
let a, s, n = la;
|
|
12009
12010
|
const o = (l) => {
|
|
12010
|
-
clearTimeout(l), n(), n =
|
|
12011
|
+
clearTimeout(l), n(), n = la;
|
|
12011
12012
|
};
|
|
12012
12013
|
return (l) => {
|
|
12013
|
-
const r =
|
|
12014
|
+
const r = za(t), c = za(e.maxWait);
|
|
12014
12015
|
return a && o(a), r <= 0 || c !== void 0 && c <= 0 ? (s && (o(s), s = null), Promise.resolve(l())) : new Promise((u, d) => {
|
|
12015
12016
|
n = e.rejectOnCancel ? d : u, c && !s && (s = setTimeout(() => {
|
|
12016
12017
|
a && o(a), s = null, u(l());
|
|
@@ -12028,7 +12029,7 @@ function f4(t, e = 200, a = {}) {
|
|
|
12028
12029
|
}
|
|
12029
12030
|
function bs(t) {
|
|
12030
12031
|
var e;
|
|
12031
|
-
const a =
|
|
12032
|
+
const a = za(t);
|
|
12032
12033
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12033
12034
|
}
|
|
12034
12035
|
const h4 = c4 ? window : void 0;
|
|
@@ -12050,10 +12051,10 @@ function C4(t, e, a = {}) {
|
|
|
12050
12051
|
window: i = h4,
|
|
12051
12052
|
immediate: l = !0
|
|
12052
12053
|
} = a, r = g4(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
12053
|
-
const $ =
|
|
12054
|
+
const $ = za(t);
|
|
12054
12055
|
return (Array.isArray($) ? $ : [$]).map(bs).filter(d4);
|
|
12055
12056
|
});
|
|
12056
|
-
let u =
|
|
12057
|
+
let u = la;
|
|
12057
12058
|
const d = x(l), v = r.value ? ce(
|
|
12058
12059
|
() => [c.value, bs(s), d.value],
|
|
12059
12060
|
([$, w]) => {
|
|
@@ -12068,11 +12069,11 @@ function C4(t, e, a = {}) {
|
|
|
12068
12069
|
}
|
|
12069
12070
|
);
|
|
12070
12071
|
$.forEach((m) => m && g.observe(m)), u = () => {
|
|
12071
|
-
g.disconnect(), u =
|
|
12072
|
+
g.disconnect(), u = la;
|
|
12072
12073
|
};
|
|
12073
12074
|
},
|
|
12074
12075
|
{ immediate: l, flush: "post" }
|
|
12075
|
-
) :
|
|
12076
|
+
) : la, h = () => {
|
|
12076
12077
|
u(), v(), d.value = !1;
|
|
12077
12078
|
};
|
|
12078
12079
|
return u4(h), {
|
|
@@ -12422,7 +12423,7 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12422
12423
|
}), (k, R) => {
|
|
12423
12424
|
var b;
|
|
12424
12425
|
return p(), C("div", E4, [
|
|
12425
|
-
A(
|
|
12426
|
+
A(ba, null, {
|
|
12426
12427
|
primary: N(() => [
|
|
12427
12428
|
f("div", I4, [
|
|
12428
12429
|
A(an, {
|
|
@@ -12569,7 +12570,7 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12569
12570
|
onToast: n
|
|
12570
12571
|
}, {
|
|
12571
12572
|
default: N((V) => [
|
|
12572
|
-
te(k.$slots, "activityDetailsBody",
|
|
12573
|
+
te(k.$slots, "activityDetailsBody", ha(ma(V)))
|
|
12573
12574
|
]),
|
|
12574
12575
|
_: 3
|
|
12575
12576
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : O("", !0)
|
|
@@ -12626,7 +12627,7 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12626
12627
|
}), (g, m) => (p(), C(fe, null, [
|
|
12627
12628
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12628
12629
|
f("div", H4, [
|
|
12629
|
-
A(
|
|
12630
|
+
A(ba, null, {
|
|
12630
12631
|
primary: N(() => [
|
|
12631
12632
|
A(an, {
|
|
12632
12633
|
tabs: w,
|
|
@@ -12817,7 +12818,7 @@ const Bt = {
|
|
|
12817
12818
|
});
|
|
12818
12819
|
}, l = (r) => {
|
|
12819
12820
|
if (r.moved) {
|
|
12820
|
-
const c =
|
|
12821
|
+
const c = ya(r, a.templates ?? []);
|
|
12821
12822
|
e("updateItem", {
|
|
12822
12823
|
itemType: me.TEMPLATES,
|
|
12823
12824
|
id: r.moved.element.id,
|
|
@@ -12829,7 +12830,7 @@ const Bt = {
|
|
|
12829
12830
|
}
|
|
12830
12831
|
};
|
|
12831
12832
|
return (r, c) => (p(), C("div", N4, [
|
|
12832
|
-
A(
|
|
12833
|
+
A(ba, null, {
|
|
12833
12834
|
secondary: N(() => [
|
|
12834
12835
|
A(re, {
|
|
12835
12836
|
label: r.$t("templates.new"),
|
|
@@ -12966,7 +12967,7 @@ export {
|
|
|
12966
12967
|
s8 as getProjectOverviewRoutes,
|
|
12967
12968
|
a8 as getTemplateRoutes,
|
|
12968
12969
|
t8 as listUpdateTypes,
|
|
12969
|
-
|
|
12970
|
+
Ba as milestoneStatus,
|
|
12970
12971
|
ye as projectOverviewRoutes,
|
|
12971
12972
|
Y2 as ruleComparators,
|
|
12972
12973
|
K2 as ruleDurationUnits,
|