@26lights/orcha 0.7.28 → 0.7.30
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.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as K, openBlock as u, createBlock as N, unref as O, mergeProps as Ee, createElementBlock as C, createElementVNode as r, pushScopeId as Nt, popScopeId as jt, createStaticVNode as Rt, computed as f, resolveDynamicComponent as ze, normalizeClass as F, renderSlot as Y, toDisplayString as j, createCommentVNode as w, ref as x, watch as de, nextTick as He, withKeys as
|
|
1
|
+
import { defineComponent as K, openBlock as u, createBlock as N, unref as O, mergeProps as Ee, createElementBlock as C, createElementVNode as r, pushScopeId as Nt, popScopeId as jt, createStaticVNode as Rt, computed as f, resolveDynamicComponent as ze, normalizeClass as F, renderSlot as Y, toDisplayString as j, createCommentVNode as w, ref as x, watch as de, nextTick as He, withKeys as a1, toHandlers as Ut, withCtx as R, createTextVNode as Z1, createVNode as b, Fragment as le, renderList as pe, withModifiers as ke, toRefs as ge, getCurrentInstance as Oe, onMounted as m1, onUnmounted as qt, withDirectives as Ue, vModelText as l1, vModelCheckbox as zt, toRef as xe, Teleport as C1, normalizeStyle as Ft, resolveComponent as Kt, toValue as x1, getCurrentScope as Gt, onScopeDispose as Yt, provide as Wt } from "vue";
|
|
2
2
|
import { RouterView as Xt } from "vue-router";
|
|
3
|
-
import
|
|
3
|
+
import n1 from "vuedraggable";
|
|
4
4
|
const Nu = /* @__PURE__ */ K({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
@@ -1252,9 +1252,9 @@ const ce = /* @__PURE__ */ K({
|
|
|
1252
1252
|
type: O(a) ? "text" : null,
|
|
1253
1253
|
value: O(a) ? E.title : null,
|
|
1254
1254
|
tabindex: "0",
|
|
1255
|
-
onKeyup:
|
|
1255
|
+
onKeyup: a1($, ["enter"])
|
|
1256
1256
|
}, Ut(c.value), {
|
|
1257
|
-
onKeydown:
|
|
1257
|
+
onKeydown: a1(O(_), ["esc"])
|
|
1258
1258
|
}), {
|
|
1259
1259
|
default: R(() => [
|
|
1260
1260
|
Z1(j(E.title), 1)
|
|
@@ -1393,7 +1393,7 @@ const f1 = /* @__PURE__ */ K({
|
|
|
1393
1393
|
], 2));
|
|
1394
1394
|
}
|
|
1395
1395
|
});
|
|
1396
|
-
var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, be = {}, ut = {},
|
|
1396
|
+
var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, be = {}, ut = {}, Je = {}, i1 = {}, Fe = {}, g1 = {};
|
|
1397
1397
|
Object.defineProperty(g1, "__esModule", { value: !0 });
|
|
1398
1398
|
g1.lexoHelper = void 0;
|
|
1399
1399
|
g1.lexoHelper = {
|
|
@@ -1405,8 +1405,8 @@ function Nr(s, e, t, n, a) {
|
|
|
1405
1405
|
for (let o = e; o < l; o++)
|
|
1406
1406
|
t[i] = s[o], ++i;
|
|
1407
1407
|
}
|
|
1408
|
-
var
|
|
1409
|
-
Object.defineProperty(
|
|
1408
|
+
var o1 = {};
|
|
1409
|
+
Object.defineProperty(o1, "__esModule", { value: !0 });
|
|
1410
1410
|
class jr {
|
|
1411
1411
|
constructor(e = "") {
|
|
1412
1412
|
this.str = e;
|
|
@@ -1430,10 +1430,10 @@ class jr {
|
|
|
1430
1430
|
return this.str;
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
|
-
|
|
1433
|
+
o1.default = jr;
|
|
1434
1434
|
Object.defineProperty(Fe, "__esModule", { value: !0 });
|
|
1435
1435
|
Fe.LexoInteger = void 0;
|
|
1436
|
-
const
|
|
1436
|
+
const p1 = g1, Rr = o1;
|
|
1437
1437
|
class z {
|
|
1438
1438
|
constructor(e, t, n) {
|
|
1439
1439
|
this.sys = e, this.sign = t, this.mag = n;
|
|
@@ -1462,7 +1462,7 @@ class z {
|
|
|
1462
1462
|
if (a === n.length)
|
|
1463
1463
|
return new z(e, t, n);
|
|
1464
1464
|
const i = new Array(a).fill(0);
|
|
1465
|
-
return
|
|
1465
|
+
return p1.lexoHelper.arrayCopy(n, 0, i, 0, a), new z(e, t, i);
|
|
1466
1466
|
}
|
|
1467
1467
|
static add(e, t, n) {
|
|
1468
1468
|
const a = Math.max(t.length, n.length), i = new Array(a).fill(0);
|
|
@@ -1479,7 +1479,7 @@ class z {
|
|
|
1479
1479
|
static extendWithCarry(e, t) {
|
|
1480
1480
|
if (t > 0) {
|
|
1481
1481
|
const n = new Array(e.length + 1).fill(0);
|
|
1482
|
-
return
|
|
1482
|
+
return p1.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = t, n;
|
|
1483
1483
|
}
|
|
1484
1484
|
return e;
|
|
1485
1485
|
}
|
|
@@ -1563,13 +1563,13 @@ class z {
|
|
|
1563
1563
|
if (e < 0)
|
|
1564
1564
|
return this.shiftRight(Math.abs(e));
|
|
1565
1565
|
const t = new Array(this.mag.length + e).fill(0);
|
|
1566
|
-
return
|
|
1566
|
+
return p1.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), z.make(this.sys, this.sign, t);
|
|
1567
1567
|
}
|
|
1568
1568
|
shiftRight(e = 1) {
|
|
1569
1569
|
if (this.mag.length - e <= 0)
|
|
1570
1570
|
return z.zero(this.sys);
|
|
1571
1571
|
const t = new Array(this.mag.length - e).fill(0);
|
|
1572
|
-
return
|
|
1572
|
+
return p1.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), z.make(this.sys, this.sign, t);
|
|
1573
1573
|
}
|
|
1574
1574
|
complement() {
|
|
1575
1575
|
return this.complementDigits(this.mag.length);
|
|
@@ -1633,25 +1633,25 @@ z.ONE_MAG = [1];
|
|
|
1633
1633
|
z.NEGATIVE_SIGN = -1;
|
|
1634
1634
|
z.ZERO_SIGN = 0;
|
|
1635
1635
|
z.POSITIVE_SIGN = 1;
|
|
1636
|
-
Object.defineProperty(
|
|
1637
|
-
|
|
1638
|
-
const
|
|
1636
|
+
Object.defineProperty(i1, "__esModule", { value: !0 });
|
|
1637
|
+
i1.LexoDecimal = void 0;
|
|
1638
|
+
const Qe = Fe, Ur = o1;
|
|
1639
1639
|
class ye {
|
|
1640
1640
|
constructor(e, t) {
|
|
1641
1641
|
this.mag = e, this.sig = t;
|
|
1642
1642
|
}
|
|
1643
1643
|
static half(e) {
|
|
1644
1644
|
const t = e.getBase() / 2 | 0;
|
|
1645
|
-
return ye.make(
|
|
1645
|
+
return ye.make(Qe.LexoInteger.make(e, 1, [t]), 1);
|
|
1646
1646
|
}
|
|
1647
1647
|
static parse(e, t) {
|
|
1648
1648
|
const n = e.indexOf(t.getRadixPointChar());
|
|
1649
1649
|
if (e.lastIndexOf(t.getRadixPointChar()) !== n)
|
|
1650
1650
|
throw new Error("More than one " + t.getRadixPointChar());
|
|
1651
1651
|
if (n < 0)
|
|
1652
|
-
return ye.make(
|
|
1652
|
+
return ye.make(Qe.LexoInteger.parse(e, t), 0);
|
|
1653
1653
|
const a = e.substring(0, n) + e.substring(n + 1);
|
|
1654
|
-
return ye.make(
|
|
1654
|
+
return ye.make(Qe.LexoInteger.parse(a, t), e.length - 1 - n);
|
|
1655
1655
|
}
|
|
1656
1656
|
static from(e) {
|
|
1657
1657
|
return ye.make(e, 0);
|
|
@@ -1694,7 +1694,7 @@ class ye {
|
|
|
1694
1694
|
if (this.isExact())
|
|
1695
1695
|
return this.mag;
|
|
1696
1696
|
const e = this.floor();
|
|
1697
|
-
return e.add(
|
|
1697
|
+
return e.add(Qe.LexoInteger.one(e.getSystem()));
|
|
1698
1698
|
}
|
|
1699
1699
|
isExact() {
|
|
1700
1700
|
if (this.sig === 0)
|
|
@@ -1713,7 +1713,7 @@ class ye {
|
|
|
1713
1713
|
e < 0 && (e = 0);
|
|
1714
1714
|
const n = this.sig - e;
|
|
1715
1715
|
let a = this.mag.shiftRight(n);
|
|
1716
|
-
return t && (a = a.add(
|
|
1716
|
+
return t && (a = a.add(Qe.LexoInteger.one(a.getSystem()))), ye.make(a, e);
|
|
1717
1717
|
}
|
|
1718
1718
|
compareTo(e) {
|
|
1719
1719
|
if (this === e)
|
|
@@ -1739,12 +1739,12 @@ class ye {
|
|
|
1739
1739
|
return this.format();
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
1742
|
-
|
|
1743
|
-
var
|
|
1742
|
+
i1.LexoDecimal = ye;
|
|
1743
|
+
var v1 = {}, et;
|
|
1744
1744
|
function ct() {
|
|
1745
1745
|
if (et)
|
|
1746
|
-
return
|
|
1747
|
-
et = 1, Object.defineProperty(
|
|
1746
|
+
return v1;
|
|
1747
|
+
et = 1, Object.defineProperty(v1, "__esModule", { value: !0 });
|
|
1748
1748
|
const s = Fe, e = pt();
|
|
1749
1749
|
class t {
|
|
1750
1750
|
constructor(a) {
|
|
@@ -1796,7 +1796,7 @@ function ct() {
|
|
|
1796
1796
|
return this === a ? !0 : a ? this.value.equals(a.value) : !1;
|
|
1797
1797
|
}
|
|
1798
1798
|
}
|
|
1799
|
-
return
|
|
1799
|
+
return v1.default = t, v1;
|
|
1800
1800
|
}
|
|
1801
1801
|
var N1 = {}, dt = {};
|
|
1802
1802
|
Object.defineProperty(dt, "__esModule", { value: !0 });
|
|
@@ -1912,9 +1912,9 @@ $1.LexoNumeralSystem64 = Fr;
|
|
|
1912
1912
|
var tt;
|
|
1913
1913
|
function pt() {
|
|
1914
1914
|
if (tt)
|
|
1915
|
-
return
|
|
1916
|
-
tt = 1, Object.defineProperty(
|
|
1917
|
-
const s =
|
|
1915
|
+
return Je;
|
|
1916
|
+
tt = 1, Object.defineProperty(Je, "__esModule", { value: !0 }), Je.LexoRank = void 0;
|
|
1917
|
+
const s = i1, e = ct(), t = o1, n = N1;
|
|
1918
1918
|
class a {
|
|
1919
1919
|
constructor(l, o) {
|
|
1920
1920
|
this.value = l.format() + "|" + a.formatDecimal(o), this.bucket = l, this.decimal = o;
|
|
@@ -2085,7 +2085,7 @@ function pt() {
|
|
|
2085
2085
|
return this === l ? 0 : l ? this.value.localeCompare(l.value) : 1;
|
|
2086
2086
|
}
|
|
2087
2087
|
}
|
|
2088
|
-
return
|
|
2088
|
+
return Je.LexoRank = a, Je;
|
|
2089
2089
|
}
|
|
2090
2090
|
(function(s) {
|
|
2091
2091
|
var e = $e && $e.__createBinding || (Object.create ? function(n, a, i, l) {
|
|
@@ -2100,7 +2100,7 @@ function pt() {
|
|
|
2100
2100
|
for (var i in n)
|
|
2101
2101
|
i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
|
|
2102
2102
|
};
|
|
2103
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), t(pt(), s), t(ct(), s), t(
|
|
2103
|
+
Object.defineProperty(s, "__esModule", { value: !0 }), t(pt(), s), t(ct(), s), t(i1, s), t(Fe, s);
|
|
2104
2104
|
})(ut);
|
|
2105
2105
|
(function(s) {
|
|
2106
2106
|
var e = $e && $e.__createBinding || (Object.create ? function(n, a, i, l) {
|
|
@@ -2455,7 +2455,7 @@ const k3 = /* @__PURE__ */ K({
|
|
|
2455
2455
|
});
|
|
2456
2456
|
}
|
|
2457
2457
|
};
|
|
2458
|
-
return (o, d) => o.phase ? (u(), N(O(
|
|
2458
|
+
return (o, d) => o.phase ? (u(), N(O(n1), {
|
|
2459
2459
|
key: 0,
|
|
2460
2460
|
"model-value": o.phase.milestones,
|
|
2461
2461
|
class: "ao-templates__list",
|
|
@@ -2544,7 +2544,7 @@ const k3 = /* @__PURE__ */ K({
|
|
|
2544
2544
|
});
|
|
2545
2545
|
}
|
|
2546
2546
|
};
|
|
2547
|
-
return (o, d) => o.milestone ? (u(), N(O(
|
|
2547
|
+
return (o, d) => o.milestone ? (u(), N(O(n1), {
|
|
2548
2548
|
key: 0,
|
|
2549
2549
|
"model-value": o.milestone.activities,
|
|
2550
2550
|
title: o.$t("template.activities.title"),
|
|
@@ -2701,9 +2701,9 @@ function N3(s, e, t) {
|
|
|
2701
2701
|
disabledProp: Q,
|
|
2702
2702
|
searchStart: Ce,
|
|
2703
2703
|
searchFilter: he
|
|
2704
|
-
} = ge(s), ae = Oe().proxy, q = t.iv, I = t.ev, P = t.search, fe = t.clearSearch, Ie = t.update, ht = t.pointer, De = t.clearPointer, ft = t.focus, gt = t.deactivate, Ze = t.close, yt = t.localize,
|
|
2704
|
+
} = ge(s), ae = Oe().proxy, q = t.iv, I = t.ev, P = t.search, fe = t.clearSearch, Ie = t.update, ht = t.pointer, De = t.clearPointer, ft = t.focus, gt = t.deactivate, Ze = t.close, yt = t.localize, Ye = x([]), Le = x([]), we = x(!1), A1 = x(null), k1 = x(me.value && l.value === -1 ? 10 : l.value), z1 = f(() => d.value || c.value || !1), bt = f(() => _.value !== void 0 ? _.value : m.value !== void 0 ? m.value : !0), Te = f(() => {
|
|
2705
2705
|
if (A.value) {
|
|
2706
|
-
let v =
|
|
2706
|
+
let v = r1.value || /* istanbul ignore next */
|
|
2707
2707
|
[], S = [];
|
|
2708
2708
|
return v.forEach((J) => {
|
|
2709
2709
|
E1(J[g.value]).forEach((ie) => {
|
|
@@ -2713,26 +2713,26 @@ function N3(s, e, t) {
|
|
|
2713
2713
|
} else {
|
|
2714
2714
|
let v = E1(Le.value || /* istanbul ignore next */
|
|
2715
2715
|
[]);
|
|
2716
|
-
return
|
|
2716
|
+
return Ye.value.length && (v = v.concat(Ye.value)), v;
|
|
2717
2717
|
}
|
|
2718
2718
|
}), F1 = f(() => {
|
|
2719
2719
|
let v = Te.value;
|
|
2720
2720
|
return W.value && (v = v.reverse()), Pe.value.length && (v = Pe.value.concat(v)), T1(v);
|
|
2721
|
-
}),
|
|
2721
|
+
}), We = f(() => {
|
|
2722
2722
|
let v = F1.value;
|
|
2723
2723
|
return k1.value > 0 && (v = v.slice(0, k1.value)), v;
|
|
2724
|
-
}),
|
|
2724
|
+
}), r1 = f(() => {
|
|
2725
2725
|
if (!A.value)
|
|
2726
2726
|
return [];
|
|
2727
2727
|
let v = [], S = Le.value || /* istanbul ignore next */
|
|
2728
2728
|
[];
|
|
2729
|
-
return
|
|
2729
|
+
return Ye.value.length && v.push({
|
|
2730
2730
|
[U.value]: " ",
|
|
2731
|
-
[g.value]: [...
|
|
2731
|
+
[g.value]: [...Ye.value],
|
|
2732
2732
|
__CREATE__: !0
|
|
2733
2733
|
}), v.concat(S);
|
|
2734
2734
|
}), $t = f(() => {
|
|
2735
|
-
let v = [...
|
|
2735
|
+
let v = [...r1.value].map((S) => ({ ...S }));
|
|
2736
2736
|
return Pe.value.length && (v[0] && v[0].__CREATE__ ? v[0][g.value] = [...Pe.value, ...v[0][g.value]] : v = [{
|
|
2737
2737
|
[U.value]: " ",
|
|
2738
2738
|
[g.value]: [...Pe.value],
|
|
@@ -2749,8 +2749,8 @@ function N3(s, e, t) {
|
|
|
2749
2749
|
...S,
|
|
2750
2750
|
index: J,
|
|
2751
2751
|
group: !0,
|
|
2752
|
-
[g.value]: T1(ie, !1).map((
|
|
2753
|
-
__VISIBLE__: T1(ie).map((
|
|
2752
|
+
[g.value]: T1(ie, !1).map((Xe) => Object.assign({}, Xe, S[Q.value] ? { [Q.value]: !0 } : {})),
|
|
2753
|
+
__VISIBLE__: T1(ie).map((Xe) => Object.assign({}, Xe, S[Q.value] ? { [Q.value]: !0 } : {}))
|
|
2754
2754
|
};
|
|
2755
2755
|
}));
|
|
2756
2756
|
}), I1 = f(() => {
|
|
@@ -2761,7 +2761,7 @@ function N3(s, e, t) {
|
|
|
2761
2761
|
case "tags":
|
|
2762
2762
|
return !Ae(q.value) && q.value.length > 0;
|
|
2763
2763
|
}
|
|
2764
|
-
}), wt = f(() => $ !== void 0 && $.value !== void 0 ? $.value(q.value, ae) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), Mt = f(() => !Te.value.length && !we.value && !Pe.value.length), At = f(() => Te.value.length > 0 &&
|
|
2764
|
+
}), wt = f(() => $ !== void 0 && $.value !== void 0 ? $.value(q.value, ae) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), Mt = f(() => !Te.value.length && !we.value && !Pe.value.length), At = f(() => Te.value.length > 0 && We.value.length == 0 && (P.value && A.value || !A.value)), Pe = f(() => z1.value === !1 || !P.value ? [] : Ot(P.value) !== -1 ? [] : [{
|
|
2765
2765
|
[h.value]: P.value,
|
|
2766
2766
|
[Me.value]: P.value,
|
|
2767
2767
|
[p.value]: P.value,
|
|
@@ -2874,19 +2874,19 @@ function N3(s, e, t) {
|
|
|
2874
2874
|
}, L1 = (v) => {
|
|
2875
2875
|
Ve(v[h.value]) === void 0 && z1.value && (e.emit("tag", v[h.value], ae), e.emit("option", v[h.value], ae), e.emit("create", v[h.value], ae), bt.value && Dt(v), fe());
|
|
2876
2876
|
}, Tt = () => {
|
|
2877
|
-
a.value !== "single" && Ne(
|
|
2877
|
+
a.value !== "single" && Ne(We.value.filter((v) => !v.disabled && !Se(v)));
|
|
2878
2878
|
}, Et = (v) => v.find((S) => !Se(S) && !S[Q.value]) === void 0, Ht = (v) => v.find((S) => !Se(S)) === void 0, Ve = (v) => Te.value[Te.value.map((S) => String(S[h.value])).indexOf(String(v))], Ot = (v, S = !0) => Te.value.map((J) => parseInt(J[Me.value]) == J[Me.value] ? parseInt(J[Me.value]) : J[Me.value]).indexOf(
|
|
2879
2879
|
parseInt(v) == v ? parseInt(v) : v
|
|
2880
2880
|
), Bt = (v) => ["tags", "multiple"].indexOf(a.value) !== -1 && o.value && Se(v), Dt = (v) => {
|
|
2881
|
-
|
|
2881
|
+
Ye.value.push(v);
|
|
2882
2882
|
}, Zt = (v) => D.value ? v.filter(
|
|
2883
2883
|
(S) => P.value ? S.__VISIBLE__.length : S[g.value].length
|
|
2884
2884
|
) : v.filter((S) => P.value ? S.__VISIBLE__.length : !0), T1 = (v, S = !0) => {
|
|
2885
2885
|
let J = v;
|
|
2886
2886
|
if (P.value && B.value) {
|
|
2887
2887
|
let ie = he.value;
|
|
2888
|
-
ie || (ie = (
|
|
2889
|
-
let Q1 = O1(yt(
|
|
2888
|
+
ie || (ie = (Xe, Bu) => {
|
|
2889
|
+
let Q1 = O1(yt(Xe[Me.value]), _e.value);
|
|
2890
2890
|
return Ce.value ? Q1.startsWith(O1(P.value, _e.value)) : Q1.indexOf(O1(P.value, _e.value)) !== -1;
|
|
2891
2891
|
}), J = J.filter(ie);
|
|
2892
2892
|
}
|
|
@@ -2897,9 +2897,9 @@ function N3(s, e, t) {
|
|
|
2897
2897
|
let ie = S[J];
|
|
2898
2898
|
return { [h.value]: J, [Me.value]: ie, [p.value]: ie };
|
|
2899
2899
|
})), S = S.map((J) => typeof J == "object" ? J : { [h.value]: J, [Me.value]: J, [p.value]: J }), S;
|
|
2900
|
-
},
|
|
2901
|
-
Ae(I.value) || (q.value =
|
|
2902
|
-
},
|
|
2900
|
+
}, u1 = () => {
|
|
2901
|
+
Ae(I.value) || (q.value = d1(I.value));
|
|
2902
|
+
}, c1 = (v) => (we.value = !0, new Promise((S, J) => {
|
|
2903
2903
|
n.value(P.value, ae).then((ie) => {
|
|
2904
2904
|
Le.value = ie || [], typeof v == "function" && v(ie), we.value = !1;
|
|
2905
2905
|
}).catch((ie) => {
|
|
@@ -2924,8 +2924,8 @@ function N3(s, e, t) {
|
|
|
2924
2924
|
}
|
|
2925
2925
|
});
|
|
2926
2926
|
}, Pt = (v) => {
|
|
2927
|
-
|
|
2928
|
-
},
|
|
2927
|
+
c1(v);
|
|
2928
|
+
}, d1 = (v) => Ae(v) ? a.value === "single" ? {} : [] : V.value ? v : a.value === "single" ? Ve(v) || (H.value ? {
|
|
2929
2929
|
[p.value]: v,
|
|
2930
2930
|
[h.value]: v,
|
|
2931
2931
|
[Me.value]: v
|
|
@@ -2937,7 +2937,7 @@ function N3(s, e, t) {
|
|
|
2937
2937
|
A1.value = de(P, (v) => {
|
|
2938
2938
|
v.length < y.value || !v && y.value !== 0 || (we.value = !0, ee.value && (Le.value = []), setTimeout(() => {
|
|
2939
2939
|
v == P.value && n.value(P.value, ae).then((S) => {
|
|
2940
|
-
(v == P.value || !P.value) && (Le.value = S, ht.value =
|
|
2940
|
+
(v == P.value || !P.value) && (Le.value = S, ht.value = We.value.filter((J) => J[Q.value] !== !0)[0] || null, we.value = !1);
|
|
2941
2941
|
}).catch(
|
|
2942
2942
|
/* istanbul ignore next */
|
|
2943
2943
|
(S) => {
|
|
@@ -2949,34 +2949,34 @@ function N3(s, e, t) {
|
|
|
2949
2949
|
};
|
|
2950
2950
|
if (a.value !== "single" && !Ae(I.value) && !Array.isArray(I.value))
|
|
2951
2951
|
throw new Error(`v-model must be an array when using "${a.value}" mode`);
|
|
2952
|
-
return n && typeof n.value == "function" ? M.value ? u1
|
|
2952
|
+
return n && typeof n.value == "function" ? M.value ? c1(u1) : V.value == !0 && u1() : (Le.value = n.value, u1()), k.value > -1 && J1(), de(k, (v, S) => {
|
|
2953
2953
|
A1.value && A1.value(), v >= 0 && J1();
|
|
2954
2954
|
}), de(I, (v) => {
|
|
2955
2955
|
if (Ae(v)) {
|
|
2956
|
-
Ie(
|
|
2956
|
+
Ie(d1(v), !1);
|
|
2957
2957
|
return;
|
|
2958
2958
|
}
|
|
2959
2959
|
switch (a.value) {
|
|
2960
2960
|
case "single":
|
|
2961
|
-
(V.value ? v[h.value] != q.value[h.value] : v != q.value[h.value]) && Ie(
|
|
2961
|
+
(V.value ? v[h.value] != q.value[h.value] : v != q.value[h.value]) && Ie(d1(v), !1);
|
|
2962
2962
|
break;
|
|
2963
2963
|
case "multiple":
|
|
2964
2964
|
case "tags":
|
|
2965
|
-
P3(V.value ? v.map((S) => S[h.value]) : v, q.value.map((S) => S[h.value])) || Ie(
|
|
2965
|
+
P3(V.value ? v.map((S) => S[h.value]) : v, q.value.map((S) => S[h.value])) || Ie(d1(v), !1);
|
|
2966
2966
|
break;
|
|
2967
2967
|
}
|
|
2968
2968
|
}, { deep: !0 }), de(n, (v, S) => {
|
|
2969
|
-
typeof s.options == "function" ? M.value && (!S || v && v.toString() !== S.toString()) &&
|
|
2969
|
+
typeof s.options == "function" ? M.value && (!S || v && v.toString() !== S.toString()) && c1() : (Le.value = s.options, Object.keys(q.value).length || u1(), H1());
|
|
2970
2970
|
}), de(p, H1), {
|
|
2971
2971
|
pfo: F1,
|
|
2972
|
-
fo:
|
|
2973
|
-
filteredOptions:
|
|
2972
|
+
fo: We,
|
|
2973
|
+
filteredOptions: We,
|
|
2974
2974
|
hasSelected: I1,
|
|
2975
2975
|
multipleLabelText: wt,
|
|
2976
2976
|
eo: Te,
|
|
2977
2977
|
extendedOptions: Te,
|
|
2978
|
-
eg:
|
|
2979
|
-
extendedGroups:
|
|
2978
|
+
eg: r1,
|
|
2979
|
+
extendedGroups: r1,
|
|
2980
2980
|
fg: K1,
|
|
2981
2981
|
filteredGroups: K1,
|
|
2982
2982
|
noOptions: Mt,
|
|
@@ -2997,7 +2997,7 @@ function N3(s, e, t) {
|
|
|
2997
2997
|
handleGroupClick: Lt,
|
|
2998
2998
|
handleTagRemove: St,
|
|
2999
2999
|
refreshOptions: Pt,
|
|
3000
|
-
resolveOptions:
|
|
3000
|
+
resolveOptions: c1,
|
|
3001
3001
|
refreshLabels: H1
|
|
3002
3002
|
};
|
|
3003
3003
|
}
|
|
@@ -3868,7 +3868,7 @@ function _5(s, e, t, n, a, i) {
|
|
|
3868
3868
|
l.disabled ? s.classList.tagDisabled : null
|
|
3869
3869
|
]),
|
|
3870
3870
|
tabindex: "-1",
|
|
3871
|
-
onKeyup:
|
|
3871
|
+
onKeyup: a1((c) => s.handleTagRemove(l, c), ["enter"]),
|
|
3872
3872
|
key: d,
|
|
3873
3873
|
"aria-label": s.ariaTagLabel(s.localize(l[t.label]))
|
|
3874
3874
|
}, [
|
|
@@ -4021,7 +4021,7 @@ function _5(s, e, t, n, a, i) {
|
|
|
4021
4021
|
"aria-roledescription": "❎",
|
|
4022
4022
|
class: F(s.classList.clear),
|
|
4023
4023
|
onClick: e[6] || (e[6] = (...l) => s.clear && s.clear(...l)),
|
|
4024
|
-
onKeyup: e[7] || (e[7] =
|
|
4024
|
+
onKeyup: e[7] || (e[7] = a1((...l) => s.clear && s.clear(...l), ["enter"]))
|
|
4025
4025
|
},
|
|
4026
4026
|
[
|
|
4027
4027
|
r(
|
|
@@ -4300,7 +4300,7 @@ const m5 = { class: "ao-modal__wrapper" }, h5 = { class: "ao-modal" }, f5 = { cl
|
|
|
4300
4300
|
}
|
|
4301
4301
|
});
|
|
4302
4302
|
var st;
|
|
4303
|
-
function
|
|
4303
|
+
function Ge() {
|
|
4304
4304
|
const s = $5(), e = s.appContext.config.globalProperties;
|
|
4305
4305
|
return {
|
|
4306
4306
|
i18next: e.$i18next,
|
|
@@ -4343,7 +4343,7 @@ const w5 = { class: "ao-subtasks" }, M5 = { class: "ao-subtasks__list" }, A5 = [
|
|
|
4343
4343
|
},
|
|
4344
4344
|
emits: ["add", "delete", "update"],
|
|
4345
4345
|
setup(s, { emit: e }) {
|
|
4346
|
-
const t = s, { t: n } =
|
|
4346
|
+
const t = s, { t: n } = Ge(), a = f(
|
|
4347
4347
|
() => {
|
|
4348
4348
|
var p;
|
|
4349
4349
|
return ((p = t.users) == null ? void 0 : p.map((_) => ({
|
|
@@ -4703,7 +4703,7 @@ const Z5 = {
|
|
|
4703
4703
|
class: "ao-field__textarea"
|
|
4704
4704
|
}, null, 512), [
|
|
4705
4705
|
[
|
|
4706
|
-
|
|
4706
|
+
l1,
|
|
4707
4707
|
a.value,
|
|
4708
4708
|
void 0,
|
|
4709
4709
|
{
|
|
@@ -4724,7 +4724,7 @@ const Z5 = {
|
|
|
4724
4724
|
min: "0"
|
|
4725
4725
|
}, null, 512), [
|
|
4726
4726
|
[
|
|
4727
|
-
|
|
4727
|
+
l1,
|
|
4728
4728
|
i.value,
|
|
4729
4729
|
void 0,
|
|
4730
4730
|
{
|
|
@@ -4852,11 +4852,11 @@ const Z5 = {
|
|
|
4852
4852
|
class: "ao-activity-details__subtasks",
|
|
4853
4853
|
subtasks: h.activity.tasks || [],
|
|
4854
4854
|
"activity-id": h.activity.id,
|
|
4855
|
-
|
|
4855
|
+
users: h.users,
|
|
4856
4856
|
onAdd: E,
|
|
4857
4857
|
onUpdate: k,
|
|
4858
4858
|
onDelete: M
|
|
4859
|
-
}, null, 8, ["subtasks", "activity-id", "
|
|
4859
|
+
}, null, 8, ["subtasks", "activity-id", "users"])
|
|
4860
4860
|
]),
|
|
4861
4861
|
Y(h.$slots, "default")
|
|
4862
4862
|
]),
|
|
@@ -4930,7 +4930,7 @@ const Uu = {
|
|
|
4930
4930
|
},
|
|
4931
4931
|
emits: ["update:rule", "close"],
|
|
4932
4932
|
setup(s, { emit: e }) {
|
|
4933
|
-
const t = s, n =
|
|
4933
|
+
const t = s, n = xe(
|
|
4934
4934
|
t.rule.itemType || oe.ACTIVITIES
|
|
4935
4935
|
), a = f({
|
|
4936
4936
|
get() {
|
|
@@ -4964,14 +4964,14 @@ const Uu = {
|
|
|
4964
4964
|
value: B.id,
|
|
4965
4965
|
label: B.name
|
|
4966
4966
|
}));
|
|
4967
|
-
}), d =
|
|
4967
|
+
}), d = xe(t.rule.comparator), c = f({
|
|
4968
4968
|
get() {
|
|
4969
4969
|
return d.value;
|
|
4970
4970
|
},
|
|
4971
4971
|
set(M) {
|
|
4972
4972
|
e("update:rule", { ...t.rule, comparator: M });
|
|
4973
4973
|
}
|
|
4974
|
-
}), p = f(() => Object.values(m7)), _ =
|
|
4974
|
+
}), p = f(() => Object.values(m7)), _ = xe(t.rule.trigger), m = f({
|
|
4975
4975
|
get() {
|
|
4976
4976
|
return _.value;
|
|
4977
4977
|
},
|
|
@@ -5021,7 +5021,7 @@ const Uu = {
|
|
|
5021
5021
|
min: "0"
|
|
5022
5022
|
}, null, 512), [
|
|
5023
5023
|
[
|
|
5024
|
-
|
|
5024
|
+
l1,
|
|
5025
5025
|
V.value,
|
|
5026
5026
|
void 0,
|
|
5027
5027
|
{ number: !0 }
|
|
@@ -5090,7 +5090,7 @@ const b7 = { class: "ao-template-rules__body" }, $7 = { class: "ao-template-rule
|
|
|
5090
5090
|
}));
|
|
5091
5091
|
}
|
|
5092
5092
|
});
|
|
5093
|
-
function
|
|
5093
|
+
function e1(s, e, t) {
|
|
5094
5094
|
const n = s.length, a = s.at(-1), i = a ? be.LexoRank.parse(a.rank).genNext() : be.LexoRank.middle();
|
|
5095
5095
|
return {
|
|
5096
5096
|
name: t(`template.defaultName.${e}`, { idx: n + 1 }),
|
|
@@ -5113,7 +5113,7 @@ const M7 = {
|
|
|
5113
5113
|
},
|
|
5114
5114
|
emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
|
|
5115
5115
|
setup(s, { emit: e }) {
|
|
5116
|
-
const t = s, { t: n } =
|
|
5116
|
+
const t = s, { t: n } = Ge(), a = f(
|
|
5117
5117
|
() => {
|
|
5118
5118
|
var g;
|
|
5119
5119
|
return (g = t.templates) == null ? void 0 : g.find((D) => D.id === t.templateId);
|
|
@@ -5158,7 +5158,7 @@ const M7 = {
|
|
|
5158
5158
|
}), m = () => {
|
|
5159
5159
|
if (!a.value)
|
|
5160
5160
|
return;
|
|
5161
|
-
const { name: g, rank: D } =
|
|
5161
|
+
const { name: g, rank: D } = e1(
|
|
5162
5162
|
a.value.phases,
|
|
5163
5163
|
"phase",
|
|
5164
5164
|
n
|
|
@@ -5199,7 +5199,7 @@ const M7 = {
|
|
|
5199
5199
|
}, M = (g) => {
|
|
5200
5200
|
if (!i.value)
|
|
5201
5201
|
return;
|
|
5202
|
-
const { name: D, rank: T } =
|
|
5202
|
+
const { name: D, rank: T } = e1(
|
|
5203
5203
|
i.value.milestones,
|
|
5204
5204
|
"milestone",
|
|
5205
5205
|
n
|
|
@@ -5235,7 +5235,7 @@ const M7 = {
|
|
|
5235
5235
|
const { milestoneId: D } = g;
|
|
5236
5236
|
if (!l.value)
|
|
5237
5237
|
return;
|
|
5238
|
-
const { name: T, rank: G } =
|
|
5238
|
+
const { name: T, rank: G } = e1(
|
|
5239
5239
|
l.value.activities,
|
|
5240
5240
|
"activity",
|
|
5241
5241
|
n
|
|
@@ -5325,7 +5325,7 @@ const M7 = {
|
|
|
5325
5325
|
return a.value ? (u(), C("div", M7, [
|
|
5326
5326
|
b(M1, {
|
|
5327
5327
|
"can-go-back": !0,
|
|
5328
|
-
onGoBack: D[1] || (D[1] = (q) => g.$router.push({ name: O(
|
|
5328
|
+
onGoBack: D[1] || (D[1] = (q) => g.$router.push({ name: O(t1).TEMPLATES_LIST }))
|
|
5329
5329
|
}, {
|
|
5330
5330
|
primary: R(() => [
|
|
5331
5331
|
b(ce, {
|
|
@@ -5351,7 +5351,7 @@ const M7 = {
|
|
|
5351
5351
|
r("div", A7, [
|
|
5352
5352
|
r("ol", k7, [
|
|
5353
5353
|
r("li", I7, [
|
|
5354
|
-
b(O(
|
|
5354
|
+
b(O(n1), {
|
|
5355
5355
|
"model-value": a.value.phases,
|
|
5356
5356
|
class: "ao-templates__list",
|
|
5357
5357
|
"item-key": "id",
|
|
@@ -5641,39 +5641,40 @@ const Y7 = { class: "ao-project-phase" }, W7 = { class: "ao-project-phase__col-p
|
|
|
5641
5641
|
},
|
|
5642
5642
|
emits: ["addMilestone"],
|
|
5643
5643
|
setup(s, { emit: e }) {
|
|
5644
|
-
const t = s, n = f(() => t.phase.milestones),
|
|
5645
|
-
|
|
5644
|
+
const t = s, { t: n } = Ge(), a = f(() => t.phase.milestones), i = (l) => {
|
|
5645
|
+
const { name: o, rank: d } = e1(a.value ?? [], "milestone", n);
|
|
5646
|
+
e("addMilestone", { name: o, rank: d, phaseId: l });
|
|
5646
5647
|
};
|
|
5647
|
-
return (
|
|
5648
|
+
return (l, o) => (u(), C("li", Y7, [
|
|
5648
5649
|
r("div", W7, [
|
|
5649
5650
|
b(R7, {
|
|
5650
|
-
id:
|
|
5651
|
-
milestones:
|
|
5652
|
-
name:
|
|
5653
|
-
"project-name":
|
|
5651
|
+
id: l.phase.id,
|
|
5652
|
+
milestones: a.value,
|
|
5653
|
+
name: l.phase.name,
|
|
5654
|
+
"project-name": l.projectName
|
|
5654
5655
|
}, null, 8, ["id", "milestones", "name", "project-name"])
|
|
5655
5656
|
]),
|
|
5656
5657
|
r("div", X7, [
|
|
5657
5658
|
r("div", J7, [
|
|
5658
5659
|
r("ul", Q7, [
|
|
5659
|
-
(u(!0), C(le, null, pe(
|
|
5660
|
-
id:
|
|
5661
|
-
key:
|
|
5662
|
-
name:
|
|
5663
|
-
activities:
|
|
5660
|
+
(u(!0), C(le, null, pe(a.value, (d) => (u(), N(G7, {
|
|
5661
|
+
id: d.id,
|
|
5662
|
+
key: d.id,
|
|
5663
|
+
name: d.name,
|
|
5664
|
+
activities: d.activities,
|
|
5664
5665
|
class: "ao-project-phase__milestone",
|
|
5665
|
-
onClick: (
|
|
5666
|
+
onClick: (c) => l.$router.push({
|
|
5666
5667
|
name: O(qe).milestone,
|
|
5667
|
-
params: { phaseId:
|
|
5668
|
+
params: { phaseId: l.phase.id, milestoneId: d.id }
|
|
5668
5669
|
})
|
|
5669
5670
|
}, null, 8, ["id", "name", "activities", "onClick"]))), 128))
|
|
5670
5671
|
]),
|
|
5671
5672
|
r("div", x7, [
|
|
5672
5673
|
b(Be, {
|
|
5673
|
-
label:
|
|
5674
|
+
label: l.$t("project.milestone.add"),
|
|
5674
5675
|
class: "ao-project-phase__milestone-add",
|
|
5675
5676
|
"icon-name": "Add",
|
|
5676
|
-
onClick:
|
|
5677
|
+
onClick: o[0] || (o[0] = () => i(l.phase.id))
|
|
5677
5678
|
}, null, 8, ["label"])
|
|
5678
5679
|
])
|
|
5679
5680
|
])
|
|
@@ -5690,10 +5691,8 @@ const t0 = { class: "ao-project" }, s0 = { class: "ao-project__body" }, a0 = { c
|
|
|
5690
5691
|
},
|
|
5691
5692
|
emits: ["addPhase", "addMilestone", "addActivity", "update:activity", "addSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
5692
5693
|
setup(s, { emit: e }) {
|
|
5693
|
-
const t = s, { t: n } =
|
|
5694
|
-
|
|
5695
|
-
return;
|
|
5696
|
-
const { name: k, rank: M } = v1(t.phases, "phase", n);
|
|
5694
|
+
const t = s, { t: n } = Ge(), a = f(() => t.phases.reduce((k, M) => [...k, ...M.milestones || []], [])), i = () => {
|
|
5695
|
+
const { name: k, rank: M } = e1(t.phases, "phase", n);
|
|
5697
5696
|
e("addPhase", { name: k, rank: M, projectId: t.project.id });
|
|
5698
5697
|
}, l = (k) => {
|
|
5699
5698
|
e("addMilestone", k);
|
|
@@ -6137,7 +6136,7 @@ const R0 = { class: "ao-comments" }, U0 = {
|
|
|
6137
6136
|
},
|
|
6138
6137
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
6139
6138
|
setup(s, { emit: e }) {
|
|
6140
|
-
const t = s, n = (c) => t.users.find((_) => _.id === c), a =
|
|
6139
|
+
const t = s, n = (c) => t.users.find((_) => _.id === c), a = xe(t.newComment || ""), i = f({
|
|
6141
6140
|
get() {
|
|
6142
6141
|
return a.value;
|
|
6143
6142
|
},
|
|
@@ -6184,7 +6183,7 @@ const R0 = { class: "ao-comments" }, U0 = {
|
|
|
6184
6183
|
class: "ao-field__textarea"
|
|
6185
6184
|
}, null, 512), [
|
|
6186
6185
|
[
|
|
6187
|
-
|
|
6186
|
+
l1,
|
|
6188
6187
|
i.value,
|
|
6189
6188
|
void 0,
|
|
6190
6189
|
{ trim: !0 }
|
|
@@ -6296,24 +6295,24 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
|
|
|
6296
6295
|
_: 1
|
|
6297
6296
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "onClose"])) : w("", !0);
|
|
6298
6297
|
}
|
|
6299
|
-
}),
|
|
6298
|
+
}), t1 = {
|
|
6300
6299
|
TEMPLATES: "templates",
|
|
6301
6300
|
TEMPLATE_DETAILS: "template_details",
|
|
6302
6301
|
TEMPLATES_LIST: "templates_list"
|
|
6303
6302
|
}, qu = (s, e = {}) => [
|
|
6304
6303
|
{
|
|
6305
6304
|
path: s,
|
|
6306
|
-
name:
|
|
6305
|
+
name: t1.TEMPLATES,
|
|
6307
6306
|
...e,
|
|
6308
6307
|
children: [
|
|
6309
6308
|
{
|
|
6310
6309
|
path: "",
|
|
6311
|
-
name:
|
|
6310
|
+
name: t1.TEMPLATES_LIST,
|
|
6312
6311
|
component: Q0
|
|
6313
6312
|
},
|
|
6314
6313
|
{
|
|
6315
6314
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
6316
|
-
name:
|
|
6315
|
+
name: t1.TEMPLATE_DETAILS,
|
|
6317
6316
|
component: T7,
|
|
6318
6317
|
props: !0
|
|
6319
6318
|
}
|
|
@@ -6332,22 +6331,24 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
|
|
|
6332
6331
|
path: "",
|
|
6333
6332
|
name: qe.project,
|
|
6334
6333
|
component: u0,
|
|
6335
|
-
props: !0
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6334
|
+
props: !0,
|
|
6335
|
+
children: [
|
|
6336
|
+
{
|
|
6337
|
+
path: ":phaseId/:milestoneId",
|
|
6338
|
+
name: qe.milestone,
|
|
6339
|
+
component: at,
|
|
6340
|
+
props: !0
|
|
6341
|
+
},
|
|
6342
|
+
{
|
|
6343
|
+
path: ":phaseId/:milestoneId/:activityId",
|
|
6344
|
+
name: qe.activity,
|
|
6345
|
+
props: { default: !0, modal: !0 },
|
|
6346
|
+
components: {
|
|
6347
|
+
default: at,
|
|
6348
|
+
modal: X0
|
|
6349
|
+
}
|
|
6350
|
+
}
|
|
6351
|
+
]
|
|
6351
6352
|
}
|
|
6352
6353
|
]
|
|
6353
6354
|
}
|
|
@@ -6358,7 +6359,7 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
|
|
|
6358
6359
|
},
|
|
6359
6360
|
emits: ["addTemplate", "updateTemplates", "updateItem"],
|
|
6360
6361
|
setup(s, { emit: e }) {
|
|
6361
|
-
const t = s, { t: n } =
|
|
6362
|
+
const t = s, { t: n } = Ge(), a = () => {
|
|
6362
6363
|
var _, m;
|
|
6363
6364
|
const o = (_ = t.templates) == null ? void 0 : _.at(-1), d = o ? be.LexoRank.parse(o.rank).genNext() : be.LexoRank.middle(), c = ((m = t.templates) == null ? void 0 : m.length) ?? 0, p = {
|
|
6364
6365
|
name: n("template.defaultName.template", { idx: c + 1 }),
|
|
@@ -6400,7 +6401,7 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
|
|
|
6400
6401
|
]),
|
|
6401
6402
|
_: 1
|
|
6402
6403
|
}),
|
|
6403
|
-
b(O(
|
|
6404
|
+
b(O(n1), {
|
|
6404
6405
|
"model-value": o.templates,
|
|
6405
6406
|
class: "ao-templates__list",
|
|
6406
6407
|
"item-key": "id",
|
|
@@ -6419,7 +6420,7 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
|
|
|
6419
6420
|
"updated-by": c.updatedBy,
|
|
6420
6421
|
onUpdateTitle: (_) => i(c.id, _),
|
|
6421
6422
|
onClick: (_) => o.$router.push({
|
|
6422
|
-
name: O(
|
|
6423
|
+
name: O(t1).TEMPLATE_DETAILS,
|
|
6423
6424
|
params: { templateId: c.id }
|
|
6424
6425
|
})
|
|
6425
6426
|
}, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
@@ -6459,7 +6460,7 @@ function tu(s) {
|
|
|
6459
6460
|
function _1(s) {
|
|
6460
6461
|
return typeof s == "function" ? s() : O(s);
|
|
6461
6462
|
}
|
|
6462
|
-
const su = typeof window < "u", au = (s) => s != null,
|
|
6463
|
+
const su = typeof window < "u", au = (s) => s != null, s1 = () => {
|
|
6463
6464
|
};
|
|
6464
6465
|
function lu(s, e) {
|
|
6465
6466
|
function t(...n) {
|
|
@@ -6470,9 +6471,9 @@ function lu(s, e) {
|
|
|
6470
6471
|
return t;
|
|
6471
6472
|
}
|
|
6472
6473
|
function nu(s, e = {}) {
|
|
6473
|
-
let t, n, a =
|
|
6474
|
+
let t, n, a = s1;
|
|
6474
6475
|
const i = (o) => {
|
|
6475
|
-
clearTimeout(o), a(), a =
|
|
6476
|
+
clearTimeout(o), a(), a = s1;
|
|
6476
6477
|
};
|
|
6477
6478
|
return (o) => {
|
|
6478
6479
|
const d = _1(s), c = _1(e.maxWait);
|
|
@@ -6518,7 +6519,7 @@ function cu(s, e, t = {}) {
|
|
|
6518
6519
|
const V = _1(s);
|
|
6519
6520
|
return (Array.isArray(V) ? V : [V]).map(B1).filter(au);
|
|
6520
6521
|
});
|
|
6521
|
-
let p =
|
|
6522
|
+
let p = s1;
|
|
6522
6523
|
const _ = x(o), m = d.value ? de(
|
|
6523
6524
|
() => [c.value, B1(n), _.value],
|
|
6524
6525
|
([V, E]) => {
|
|
@@ -6533,11 +6534,11 @@ function cu(s, e, t = {}) {
|
|
|
6533
6534
|
}
|
|
6534
6535
|
);
|
|
6535
6536
|
V.forEach((M) => M && k.observe(M)), p = () => {
|
|
6536
|
-
k.disconnect(), p =
|
|
6537
|
+
k.disconnect(), p = s1;
|
|
6537
6538
|
};
|
|
6538
6539
|
},
|
|
6539
6540
|
{ immediate: o, flush: "post" }
|
|
6540
|
-
) :
|
|
6541
|
+
) : s1, $ = () => {
|
|
6541
6542
|
p(), m(), _.value = !1;
|
|
6542
6543
|
};
|
|
6543
6544
|
return tu($), {
|
|
@@ -6620,7 +6621,7 @@ const du = {
|
|
|
6620
6621
|
])
|
|
6621
6622
|
];
|
|
6622
6623
|
}) : w("", !0),
|
|
6623
|
-
b(O(
|
|
6624
|
+
b(O(n1), Ee({
|
|
6624
6625
|
class: "ao-list-kanban__list",
|
|
6625
6626
|
list: d.list,
|
|
6626
6627
|
"item-key": "id",
|
|
@@ -6705,7 +6706,7 @@ const gu = { class: "ao-field ao-search-field" }, yu = ["value", "placeholder",
|
|
|
6705
6706
|
placeholder: l.placeholder,
|
|
6706
6707
|
onInput: o[0] || (o[0] = //@ts-ignore
|
|
6707
6708
|
(...d) => O(a) && O(a)(...d)),
|
|
6708
|
-
onKeypress:
|
|
6709
|
+
onKeypress: a1(n, ["enter"])
|
|
6709
6710
|
}, null, 40, yu),
|
|
6710
6711
|
b(ne, {
|
|
6711
6712
|
name: "SearchRounded",
|
|
@@ -6755,7 +6756,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
|
|
|
6755
6756
|
},
|
|
6756
6757
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
6757
6758
|
setup(s, { emit: e }) {
|
|
6758
|
-
const t = s, { t: n } =
|
|
6759
|
+
const t = s, { t: n } = Ge(), a = xe(t, "activities"), { selectActivity: i, selectedActivity: l } = Mu(a), o = x({});
|
|
6759
6760
|
de(
|
|
6760
6761
|
[() => t.statuses, () => t.activities],
|
|
6761
6762
|
([A, W]) => {
|
|
@@ -6953,7 +6954,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
|
|
|
6953
6954
|
type: "date"
|
|
6954
6955
|
}, null, 512), [
|
|
6955
6956
|
[
|
|
6956
|
-
|
|
6957
|
+
l1,
|
|
6957
6958
|
y.value,
|
|
6958
6959
|
void 0,
|
|
6959
6960
|
{ lazy: !0 }
|
|
@@ -7004,5 +7005,5 @@ export {
|
|
|
7004
7005
|
f7 as ruleDurationUnits,
|
|
7005
7006
|
h7 as ruleTriggerTypes,
|
|
7006
7007
|
oe as templateItemType,
|
|
7007
|
-
|
|
7008
|
+
t1 as templateRouteNames
|
|
7008
7009
|
};
|