@26lights/orcha 0.37.20 → 0.37.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.es.js +390 -387
- package/dist/orcha.umd.js +2 -2
- package/dist/src/router/routes.d.ts +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as P, unref as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Ii, popScopeId as Li, createStaticVNode as Hi, computed as A, resolveDynamicComponent as ht, normalizeClass as Y, renderSlot as te, toDisplayString as K, createCommentVNode as O, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Di, withCtx as Z, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as Mt, onBeforeUnmount as Os, onUnmounted as An, Teleport as jt, toRefs as Ae, getCurrentInstance as Tt, toRef as Vt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Pi, onUpdated as Vi, vModelText as ut, resolveComponent as xe, getCurrentScope as Bi, onScopeDispose as Ri, toHandlerKey as Ni } from "vue";
|
|
2
2
|
import { RouterView as ji, useRoute as Fi } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const g8 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(), P(
|
|
10
|
+
return (e, a) => (p(), P(Q(ji), He({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), N = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -617,23 +617,23 @@ function du(t, e) {
|
|
|
617
617
|
const pu = /* @__PURE__ */ N(ru, [["render", du]]), fu = q({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const Mn = (t) => (Ii("data-v-ad6da4a9"), t = t(), Li(), t), vu = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
624
624
|
fill: "none",
|
|
625
625
|
xmlns: "http://www.w3.org/2000/svg"
|
|
626
|
-
}, hu = /* @__PURE__ */
|
|
626
|
+
}, hu = /* @__PURE__ */ Mn(() => /* @__PURE__ */ v("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), mu = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), mu = /* @__PURE__ */ Mn(() => /* @__PURE__ */ v("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), Cu = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), Cu = /* @__PURE__ */ Mn(() => /* @__PURE__ */ v("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -1139,7 +1139,7 @@ const A2 = /* @__PURE__ */ N(b2, [["render", S2]]), M2 = /* @__PURE__ */ Object.
|
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
1141
1141
|
XL: "xl"
|
|
1142
|
-
},
|
|
1142
|
+
}, Tn = {
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
@@ -1149,7 +1149,7 @@ const A2 = /* @__PURE__ */ N(b2, [["render", S2]]), M2 = /* @__PURE__ */ Object.
|
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
|
-
...
|
|
1152
|
+
...Tn,
|
|
1153
1153
|
...O2
|
|
1154
1154
|
});
|
|
1155
1155
|
const Es = {
|
|
@@ -1285,16 +1285,16 @@ const ye = /* @__PURE__ */ q({
|
|
|
1285
1285
|
{
|
|
1286
1286
|
[`ao-title--${y.color}`]: !!y.color,
|
|
1287
1287
|
"ao-title--editable": y.isEditable,
|
|
1288
|
-
"ao-field__input ao-title--editing":
|
|
1289
|
-
"ao-title--readonly": !
|
|
1288
|
+
"ao-field__input ao-title--editing": Q(s),
|
|
1289
|
+
"ao-title--readonly": !Q(s)
|
|
1290
1290
|
}
|
|
1291
1291
|
],
|
|
1292
|
-
type:
|
|
1293
|
-
value:
|
|
1292
|
+
type: Q(s) ? "text" : null,
|
|
1293
|
+
value: Q(s) ? l.value : null,
|
|
1294
1294
|
tabindex: "0",
|
|
1295
1295
|
onKeyup: dt(w, ["enter"])
|
|
1296
1296
|
}, Di(u.value), {
|
|
1297
|
-
onKeydown: dt(
|
|
1297
|
+
onKeydown: dt(Q(d), ["esc"])
|
|
1298
1298
|
}), {
|
|
1299
1299
|
default: Z(() => [
|
|
1300
1300
|
Fa(K(y.title), 1)
|
|
@@ -1437,15 +1437,15 @@ const qa = /* @__PURE__ */ q({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const _n = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, _8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, y8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const gn = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var W2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(W2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const b8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1514,7 +1514,7 @@ function ra(t) {
|
|
|
1514
1514
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1515
1515
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function ls(t) {
|
|
1518
1518
|
ge(1, arguments);
|
|
1519
1519
|
var e = be(t);
|
|
1520
1520
|
return e.setHours(0, 0, 0, 0), e;
|
|
@@ -1522,7 +1522,7 @@ function rs(t) {
|
|
|
1522
1522
|
var x2 = 864e5;
|
|
1523
1523
|
function Y2(t, e) {
|
|
1524
1524
|
ge(2, arguments);
|
|
1525
|
-
var a =
|
|
1525
|
+
var a = ls(t), n = ls(e), s = a.getTime() - ra(a), o = n.getTime() - ra(n);
|
|
1526
1526
|
return Math.round((s - o) / x2);
|
|
1527
1527
|
}
|
|
1528
1528
|
function K2(t, e) {
|
|
@@ -1540,7 +1540,7 @@ function Ps(t) {
|
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function yn(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
1545
|
var a = Qe(e);
|
|
1546
1546
|
return q2(t, -a);
|
|
@@ -2158,7 +2158,7 @@ var Dt = {
|
|
|
2158
2158
|
return "Z";
|
|
2159
2159
|
switch (a) {
|
|
2160
2160
|
case "X":
|
|
2161
|
-
return
|
|
2161
|
+
return cs(i);
|
|
2162
2162
|
case "XXXX":
|
|
2163
2163
|
case "XX":
|
|
2164
2164
|
return $t(i);
|
|
@@ -2173,7 +2173,7 @@ var Dt = {
|
|
|
2173
2173
|
var o = s._originalDate || e, i = o.getTimezoneOffset();
|
|
2174
2174
|
switch (a) {
|
|
2175
2175
|
case "x":
|
|
2176
|
-
return
|
|
2176
|
+
return cs(i);
|
|
2177
2177
|
case "xxxx":
|
|
2178
2178
|
case "xx":
|
|
2179
2179
|
return $t(i);
|
|
@@ -2190,7 +2190,7 @@ var Dt = {
|
|
|
2190
2190
|
case "O":
|
|
2191
2191
|
case "OO":
|
|
2192
2192
|
case "OOO":
|
|
2193
|
-
return "GMT" +
|
|
2193
|
+
return "GMT" + us(i, ":");
|
|
2194
2194
|
case "OOOO":
|
|
2195
2195
|
default:
|
|
2196
2196
|
return "GMT" + $t(i, ":");
|
|
@@ -2203,7 +2203,7 @@ var Dt = {
|
|
|
2203
2203
|
case "z":
|
|
2204
2204
|
case "zz":
|
|
2205
2205
|
case "zzz":
|
|
2206
|
-
return "GMT" +
|
|
2206
|
+
return "GMT" + us(i, ":");
|
|
2207
2207
|
case "zzzz":
|
|
2208
2208
|
default:
|
|
2209
2209
|
return "GMT" + $t(i, ":");
|
|
@@ -2220,14 +2220,14 @@ var Dt = {
|
|
|
2220
2220
|
return ue(i, a.length);
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
|
-
function
|
|
2223
|
+
function us(t, e) {
|
|
2224
2224
|
var a = t > 0 ? "-" : "+", n = Math.abs(t), s = Math.floor(n / 60), o = n % 60;
|
|
2225
2225
|
if (o === 0)
|
|
2226
2226
|
return a + String(s);
|
|
2227
2227
|
var i = e || "";
|
|
2228
2228
|
return a + String(s) + i + ue(o, 2);
|
|
2229
2229
|
}
|
|
2230
|
-
function
|
|
2230
|
+
function cs(t, e) {
|
|
2231
2231
|
if (t % 60 === 0) {
|
|
2232
2232
|
var a = t > 0 ? "-" : "+";
|
|
2233
2233
|
return a + ue(Math.abs(t) / 60, 2);
|
|
@@ -2239,7 +2239,7 @@ function $t(t, e) {
|
|
|
2239
2239
|
return n + o + a + i;
|
|
2240
2240
|
}
|
|
2241
2241
|
const r0 = o0;
|
|
2242
|
-
var
|
|
2242
|
+
var ds = function(e, a) {
|
|
2243
2243
|
switch (e) {
|
|
2244
2244
|
case "P":
|
|
2245
2245
|
return a.date({
|
|
@@ -2282,7 +2282,7 @@ var cs = function(e, a) {
|
|
|
2282
2282
|
}, l0 = function(e, a) {
|
|
2283
2283
|
var n = e.match(/(P+)(p+)?/) || [], s = n[1], o = n[2];
|
|
2284
2284
|
if (!o)
|
|
2285
|
-
return
|
|
2285
|
+
return ds(e, a);
|
|
2286
2286
|
var i;
|
|
2287
2287
|
switch (s) {
|
|
2288
2288
|
case "P":
|
|
@@ -2307,7 +2307,7 @@ var cs = function(e, a) {
|
|
|
2307
2307
|
});
|
|
2308
2308
|
break;
|
|
2309
2309
|
}
|
|
2310
|
-
return i.replace("{{date}}",
|
|
2310
|
+
return i.replace("{{date}}", ds(s, a)).replace("{{time}}", Rs(o, a));
|
|
2311
2311
|
}, u0 = {
|
|
2312
2312
|
p: Rs,
|
|
2313
2313
|
P: l0
|
|
@@ -2320,7 +2320,7 @@ function f0(t) {
|
|
|
2320
2320
|
function v0(t) {
|
|
2321
2321
|
return p0.indexOf(t) !== -1;
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function ps(t, e, a) {
|
|
2324
2324
|
if (t === "YYYY")
|
|
2325
2325
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
2326
2326
|
if (t === "YY")
|
|
@@ -2737,7 +2737,7 @@ function js(t, e, a) {
|
|
|
2737
2737
|
var I = be(t);
|
|
2738
2738
|
if (!Ps(I))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var z = ra(I), R =
|
|
2740
|
+
var z = ra(I), R = yn(I, z), U = {
|
|
2741
2741
|
firstWeekContainsDate: F,
|
|
2742
2742
|
weekStartsOn: W,
|
|
2743
2743
|
locale: j,
|
|
@@ -2757,7 +2757,7 @@ function js(t, e, a) {
|
|
|
2757
2757
|
return s3(se);
|
|
2758
2758
|
var k = r0[T];
|
|
2759
2759
|
if (k)
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && v0(se) &&
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && v0(se) && ps(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && f0(se) && ps(se, e, String(t)), k(R, se, j.localize, U);
|
|
2761
2761
|
if (T.match(n3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + T + "`");
|
|
2763
2763
|
return se;
|
|
@@ -2783,7 +2783,7 @@ function i3(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var C;
|
|
2785
2785
|
_ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
|
|
2786
|
-
var D =
|
|
2786
|
+
var D = yn(h, ra(h)), L = yn(w, ra(w)), H = y.formatRelative(C, D, L, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: S
|
|
2789
2789
|
});
|
|
@@ -3253,11 +3253,11 @@ class Oe {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
3255
|
ha.LexoDecimal = Oe;
|
|
3256
|
-
var Ta = {},
|
|
3256
|
+
var Ta = {}, fs;
|
|
3257
3257
|
function Zs() {
|
|
3258
|
-
if (
|
|
3258
|
+
if (fs)
|
|
3259
3259
|
return Ta;
|
|
3260
|
-
|
|
3260
|
+
fs = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
|
|
3261
3261
|
const t = Yt, e = qs();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
@@ -3311,7 +3311,7 @@ function Zs() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3314
|
+
var On = {}, Ws = {};
|
|
3315
3315
|
Object.defineProperty(Ws, "__esModule", { value: !0 });
|
|
3316
3316
|
var xa = {};
|
|
3317
3317
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
@@ -3421,13 +3421,13 @@ Ka.LexoNumeralSystem64 = M3;
|
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
3423
|
Object.defineProperty(t, "__esModule", { value: !0 }), a(Ws, t), a(xa, t), a(Ya, t), a(Ka, t);
|
|
3424
|
-
})(
|
|
3425
|
-
var
|
|
3424
|
+
})(On);
|
|
3425
|
+
var vs;
|
|
3426
3426
|
function qs() {
|
|
3427
|
-
if (
|
|
3427
|
+
if (vs)
|
|
3428
3428
|
return aa;
|
|
3429
|
-
|
|
3430
|
-
const t = ha, e = Zs(), a = ma, n =
|
|
3429
|
+
vs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
+
const t = ha, e = Zs(), a = ma, n = On;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3628,7 +3628,7 @@ function qs() {
|
|
|
3628
3628
|
for (var o in n)
|
|
3629
3629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3630
3630
|
};
|
|
3631
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Us, t), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Us, t), a(On, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
3633
|
function zs(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3671,22 +3671,22 @@ function Ft(t, e) {
|
|
|
3671
3671
|
return Ie.LexoRank.parse(n.rank).between(Ie.LexoRank.parse(a.rank)).format();
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
function
|
|
3674
|
+
function En(t, e = "dd/MM/yyyy") {
|
|
3675
3675
|
if (!t)
|
|
3676
3676
|
return "";
|
|
3677
3677
|
const a = la(t);
|
|
3678
3678
|
return Ps(a) ? js(a, e) : "";
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3680
|
+
function In(t, e) {
|
|
3681
3681
|
return t.status.id === e.id;
|
|
3682
3682
|
}
|
|
3683
3683
|
function I3(t, e) {
|
|
3684
|
-
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !
|
|
3684
|
+
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !In(a, e));
|
|
3685
3685
|
}
|
|
3686
3686
|
function L3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: I3(t, e) ?
|
|
3689
|
+
status: I3(t, e) ? _n.done : _n.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const xs = (t) => {
|
|
@@ -3717,7 +3717,7 @@ const xs = (t) => {
|
|
|
3717
3717
|
class: Y(n.value),
|
|
3718
3718
|
title: i.userName
|
|
3719
3719
|
}, [
|
|
3720
|
-
i.avatarUrl ? O("", !0) : (p(), g("span", D3, K(
|
|
3720
|
+
i.avatarUrl ? O("", !0) : (p(), g("span", D3, K(Q(s)), 1)),
|
|
3721
3721
|
i.avatarUrl ? (p(), g("img", {
|
|
3722
3722
|
key: 1,
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
@@ -3869,7 +3869,7 @@ const i5 = ["type"], o5 = {
|
|
|
3869
3869
|
iconName: {},
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
|
-
color: { default: () =>
|
|
3872
|
+
color: { default: () => Tn.BLACK },
|
|
3873
3873
|
size: { default: () => Wa.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Es.ROUNDED }
|
|
@@ -3900,7 +3900,7 @@ const i5 = ["type"], o5 = {
|
|
|
3900
3900
|
const r5 = { class: "ao-card-template-item__footer" }, l5 = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
}, u5 = { class: "ao-card-template-item__subitem-number" }, c5 = { class: "ao-card-template-item__secondary" },
|
|
3903
|
+
}, u5 = { class: "ao-card-template-item__subitem-number" }, c5 = { class: "ao-card-template-item__secondary" }, Ln = /* @__PURE__ */ q({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3961,7 +3961,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
3961
3961
|
var s;
|
|
3962
3962
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3963
3963
|
}), n = A(() => e.milestones ? zs(e.milestones) : 0);
|
|
3964
|
-
return (s, o) => (p(), P(
|
|
3964
|
+
return (s, o) => (p(), P(Ln, He({
|
|
3965
3965
|
id: s.id,
|
|
3966
3966
|
title: s.name,
|
|
3967
3967
|
activities: n.value,
|
|
@@ -3983,7 +3983,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
3983
3983
|
var n;
|
|
3984
3984
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3985
3985
|
});
|
|
3986
|
-
return (n, s) => (p(), P(
|
|
3986
|
+
return (n, s) => (p(), P(Ln, { activities: a.value }, {
|
|
3987
3987
|
default: Z(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
@@ -4014,7 +4014,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4014
4014
|
});
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
|
-
return (r, l) => r.phase ? (p(), P(
|
|
4017
|
+
return (r, l) => r.phase ? (p(), P(Q(mt), {
|
|
4018
4018
|
key: 0,
|
|
4019
4019
|
"model-value": r.phase.milestones,
|
|
4020
4020
|
class: "ao-templates__list",
|
|
@@ -4070,7 +4070,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4070
4070
|
var n;
|
|
4071
4071
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4072
4072
|
});
|
|
4073
|
-
return (n, s) => (p(), P(
|
|
4073
|
+
return (n, s) => (p(), P(Ln, { tasks: a.value }, {
|
|
4074
4074
|
default: Z(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
@@ -4104,7 +4104,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4104
4104
|
});
|
|
4105
4105
|
}
|
|
4106
4106
|
};
|
|
4107
|
-
return (r, l) => r.milestone ? (p(), P(
|
|
4107
|
+
return (r, l) => r.milestone ? (p(), P(Q(mt), {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
"model-value": r.milestone.activities,
|
|
4110
4110
|
title: r.$t("template.activities.title"),
|
|
@@ -4151,7 +4151,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4151
4151
|
}, y5 = { class: "ao-modal__header-meta" }, b5 = { class: "ao-modal__title-group" }, w5 = { class: "ao-modal__body" }, $5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
|
-
},
|
|
4154
|
+
}, Hn = /* @__PURE__ */ q({
|
|
4155
4155
|
__name: "AoModal",
|
|
4156
4156
|
props: {
|
|
4157
4157
|
size: { default: "md" }
|
|
@@ -4201,7 +4201,7 @@ const ua = Math.min, Ee = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) =
|
|
|
4201
4201
|
start: "end",
|
|
4202
4202
|
end: "start"
|
|
4203
4203
|
};
|
|
4204
|
-
function
|
|
4204
|
+
function Dn(t, e) {
|
|
4205
4205
|
return typeof t == "function" ? t(e) : t;
|
|
4206
4206
|
}
|
|
4207
4207
|
function Ut(t) {
|
|
@@ -4216,11 +4216,11 @@ function A5(t) {
|
|
|
4216
4216
|
function Ys(t) {
|
|
4217
4217
|
return t === "y" ? "height" : "width";
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function Pn(t) {
|
|
4220
4220
|
return ["top", "bottom"].includes(Ut(t)) ? "y" : "x";
|
|
4221
4221
|
}
|
|
4222
4222
|
function Ks(t) {
|
|
4223
|
-
return A5(
|
|
4223
|
+
return A5(Pn(t));
|
|
4224
4224
|
}
|
|
4225
4225
|
function M5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
@@ -4230,9 +4230,9 @@ function M5(t, e, a) {
|
|
|
4230
4230
|
}
|
|
4231
4231
|
function T5(t) {
|
|
4232
4232
|
const e = Ba(t);
|
|
4233
|
-
return [
|
|
4233
|
+
return [bn(t), e, bn(e)];
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function bn(t) {
|
|
4236
4236
|
return t.replace(/start|end/g, (e) => S5[e]);
|
|
4237
4237
|
}
|
|
4238
4238
|
function O5(t, e, a) {
|
|
@@ -4251,7 +4251,7 @@ function O5(t, e, a) {
|
|
|
4251
4251
|
function E5(t, e, a, n) {
|
|
4252
4252
|
const s = Xa(t);
|
|
4253
4253
|
let o = O5(Ut(t), a === "start", n);
|
|
4254
|
-
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(
|
|
4254
|
+
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(bn)))), o;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ba(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => k5[e]);
|
|
@@ -4282,12 +4282,12 @@ function Ra(t) {
|
|
|
4282
4282
|
bottom: t.y + t.height
|
|
4283
4283
|
};
|
|
4284
4284
|
}
|
|
4285
|
-
function
|
|
4285
|
+
function hs(t, e, a) {
|
|
4286
4286
|
let {
|
|
4287
4287
|
reference: n,
|
|
4288
4288
|
floating: s
|
|
4289
4289
|
} = t;
|
|
4290
|
-
const o =
|
|
4290
|
+
const o = Pn(e), i = Ks(e), r = Ys(i), l = Ut(e), c = o === "y", u = n.x + n.width / 2 - s.width / 2, f = n.y + n.height / 2 - s.height / 2, d = n[r] / 2 - s[r] / 2;
|
|
4291
4291
|
let h;
|
|
4292
4292
|
switch (l) {
|
|
4293
4293
|
case "top":
|
|
@@ -4344,7 +4344,7 @@ const H5 = async (t, e, a) => {
|
|
|
4344
4344
|
}), {
|
|
4345
4345
|
x: u,
|
|
4346
4346
|
y: f
|
|
4347
|
-
} =
|
|
4347
|
+
} = hs(c, n, l), d = n, h = {}, w = 0;
|
|
4348
4348
|
for (let b = 0; b < r.length; b++) {
|
|
4349
4349
|
const {
|
|
4350
4350
|
name: y,
|
|
@@ -4382,7 +4382,7 @@ const H5 = async (t, e, a) => {
|
|
|
4382
4382
|
}) : L.rects), {
|
|
4383
4383
|
x: u,
|
|
4384
4384
|
y: f
|
|
4385
|
-
} =
|
|
4385
|
+
} = hs(c, d, l)), b = -1;
|
|
4386
4386
|
continue;
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
@@ -4410,7 +4410,7 @@ async function Gs(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: h = 0
|
|
4413
|
-
} =
|
|
4413
|
+
} = Dn(e, t), w = L5(h), y = r[d ? f === "floating" ? "reference" : "floating" : f], S = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(y))) == null || a ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4458,7 +4458,7 @@ const D5 = function(t) {
|
|
|
4458
4458
|
fallbackAxisSideDirection: w = "none",
|
|
4459
4459
|
flipAlignment: b = !0,
|
|
4460
4460
|
...y
|
|
4461
|
-
} =
|
|
4461
|
+
} = Dn(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const S = Ut(s), _ = Ut(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [Ba(r)] : T5(r));
|
|
@@ -4522,7 +4522,7 @@ const D5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} =
|
|
4525
|
+
} = Dn(t, e), l = await Gs(e, r), c = Ut(a), u = Xa(a), f = Pn(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: h
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4572,10 +4572,10 @@ function Xs(t) {
|
|
|
4572
4572
|
function et(t) {
|
|
4573
4573
|
return t instanceof Element || t instanceof ke(t).Element;
|
|
4574
4574
|
}
|
|
4575
|
-
function
|
|
4575
|
+
function Fe(t) {
|
|
4576
4576
|
return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
|
-
function
|
|
4578
|
+
function ms(t) {
|
|
4579
4579
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof ke(t).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
4581
|
function ga(t) {
|
|
@@ -4590,20 +4590,20 @@ function ga(t) {
|
|
|
4590
4590
|
function V5(t) {
|
|
4591
4591
|
return ["table", "td", "th"].includes(ft(t));
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4594
|
-
const e =
|
|
4593
|
+
function Vn(t) {
|
|
4594
|
+
const e = Bn(), a = Ve(t);
|
|
4595
4595
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (a.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (a.contain || "").includes(n));
|
|
4596
4596
|
}
|
|
4597
4597
|
function B5(t) {
|
|
4598
4598
|
let e = Zt(t);
|
|
4599
|
-
for (;
|
|
4600
|
-
if (
|
|
4599
|
+
for (; Fe(e) && !Qa(e); ) {
|
|
4600
|
+
if (Vn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Zt(e);
|
|
4603
4603
|
}
|
|
4604
4604
|
return null;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Bn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
4609
|
function Qa(t) {
|
|
@@ -4628,14 +4628,14 @@ function Zt(t) {
|
|
|
4628
4628
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4629
4629
|
t.assignedSlot || // DOM Element detected.
|
|
4630
4630
|
t.parentNode || // ShadowRoot detected.
|
|
4631
|
-
|
|
4631
|
+
ms(t) && t.host || // Fallback.
|
|
4632
4632
|
at(t)
|
|
4633
4633
|
);
|
|
4634
|
-
return
|
|
4634
|
+
return ms(e) ? e.host : e;
|
|
4635
4635
|
}
|
|
4636
4636
|
function Qs(t) {
|
|
4637
4637
|
const e = Zt(t);
|
|
4638
|
-
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
4638
|
+
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Fe(e) && ga(e) ? e : Qs(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ca(t, e, a) {
|
|
4641
4641
|
var n;
|
|
@@ -4646,19 +4646,19 @@ function ca(t, e, a) {
|
|
|
4646
4646
|
function Js(t) {
|
|
4647
4647
|
const e = Ve(t);
|
|
4648
4648
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4649
|
-
const s =
|
|
4649
|
+
const s = Fe(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
|
|
4650
4650
|
return r && (a = o, n = i), {
|
|
4651
4651
|
width: a,
|
|
4652
4652
|
height: n,
|
|
4653
4653
|
$: r
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
|
-
function
|
|
4656
|
+
function Rn(t) {
|
|
4657
4657
|
return et(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
4659
|
function Bt(t) {
|
|
4660
|
-
const e =
|
|
4661
|
-
if (!
|
|
4660
|
+
const e = Rn(t);
|
|
4661
|
+
if (!Fe(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
4664
4664
|
width: n,
|
|
@@ -4674,7 +4674,7 @@ function Bt(t) {
|
|
|
4674
4674
|
const R5 = /* @__PURE__ */ pt(0);
|
|
4675
4675
|
function ei(t) {
|
|
4676
4676
|
const e = ke(t);
|
|
4677
|
-
return !
|
|
4677
|
+
return !Bn() || !e.visualViewport ? R5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
@@ -4684,7 +4684,7 @@ function N5(t, e, a) {
|
|
|
4684
4684
|
}
|
|
4685
4685
|
function St(t, e, a, n) {
|
|
4686
4686
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4687
|
-
const s = t.getBoundingClientRect(), o =
|
|
4687
|
+
const s = t.getBoundingClientRect(), o = Rn(t);
|
|
4688
4688
|
let i = pt(1);
|
|
4689
4689
|
e && (n ? et(n) && (i = Bt(n)) : i = Bt(t));
|
|
4690
4690
|
const r = N5(o, a, n) ? ei(o) : pt(0);
|
|
@@ -4710,7 +4710,7 @@ function j5(t) {
|
|
|
4710
4710
|
offsetParent: a,
|
|
4711
4711
|
strategy: n
|
|
4712
4712
|
} = t;
|
|
4713
|
-
const s =
|
|
4713
|
+
const s = Fe(a), o = at(a);
|
|
4714
4714
|
if (a === o)
|
|
4715
4715
|
return e;
|
|
4716
4716
|
let i = {
|
|
@@ -4718,7 +4718,7 @@ function j5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)),
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)), Fe(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Bt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4751,7 +4751,7 @@ function Z5(t, e) {
|
|
|
4751
4751
|
let o = n.clientWidth, i = n.clientHeight, r = 0, l = 0;
|
|
4752
4752
|
if (s) {
|
|
4753
4753
|
o = s.width, i = s.height;
|
|
4754
|
-
const c =
|
|
4754
|
+
const c = Bn();
|
|
4755
4755
|
(!c || c && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
4756
4756
|
}
|
|
4757
4757
|
return {
|
|
@@ -4762,7 +4762,7 @@ function Z5(t, e) {
|
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
4764
4764
|
function W5(t, e) {
|
|
4765
|
-
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o =
|
|
4765
|
+
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Fe(t) ? Bt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
|
|
4766
4766
|
return {
|
|
4767
4767
|
width: i,
|
|
4768
4768
|
height: r,
|
|
@@ -4770,7 +4770,7 @@ function W5(t, e) {
|
|
|
4770
4770
|
y: c
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function Cs(t, e, a) {
|
|
4774
4774
|
let n;
|
|
4775
4775
|
if (e === "viewport")
|
|
4776
4776
|
n = Z5(t, a);
|
|
@@ -4800,7 +4800,7 @@ function q5(t, e) {
|
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Zt(t) : t;
|
|
4802
4802
|
for (; et(i) && !Qa(i); ) {
|
|
4803
|
-
const r = Ve(i), l =
|
|
4803
|
+
const r = Ve(i), l = Vn(i);
|
|
4804
4804
|
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ai(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Zt(i);
|
|
4805
4805
|
}
|
|
4806
4806
|
return e.set(t, n), n;
|
|
@@ -4813,9 +4813,9 @@ function z5(t) {
|
|
|
4813
4813
|
strategy: s
|
|
4814
4814
|
} = t;
|
|
4815
4815
|
const i = [...a === "clippingAncestors" ? q5(e, this._c) : [].concat(a), n], r = i[0], l = i.reduce((c, u) => {
|
|
4816
|
-
const f =
|
|
4816
|
+
const f = Cs(e, u, s);
|
|
4817
4817
|
return c.top = Ee(f.top, c.top), c.right = ua(f.right, c.right), c.bottom = ua(f.bottom, c.bottom), c.left = Ee(f.left, c.left), c;
|
|
4818
|
-
},
|
|
4818
|
+
}, Cs(e, r, s));
|
|
4819
4819
|
return {
|
|
4820
4820
|
width: l.right - l.left,
|
|
4821
4821
|
height: l.bottom - l.top,
|
|
@@ -4827,7 +4827,7 @@ function x5(t) {
|
|
|
4827
4827
|
return Js(t);
|
|
4828
4828
|
}
|
|
4829
4829
|
function Y5(t, e, a) {
|
|
4830
|
-
const n =
|
|
4830
|
+
const n = Fe(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4831
4831
|
let r = {
|
|
4832
4832
|
scrollLeft: 0,
|
|
4833
4833
|
scrollTop: 0
|
|
@@ -4846,17 +4846,17 @@ function Y5(t, e, a) {
|
|
|
4846
4846
|
height: i.height
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4850
|
-
return !
|
|
4849
|
+
function gs(t, e) {
|
|
4850
|
+
return !Fe(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ni(t, e) {
|
|
4853
4853
|
const a = ke(t);
|
|
4854
|
-
if (!
|
|
4854
|
+
if (!Fe(t))
|
|
4855
4855
|
return a;
|
|
4856
|
-
let n =
|
|
4856
|
+
let n = gs(t, e);
|
|
4857
4857
|
for (; n && V5(n) && Ve(n).position === "static"; )
|
|
4858
|
-
n =
|
|
4859
|
-
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !
|
|
4858
|
+
n = gs(n, e);
|
|
4859
|
+
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !Vn(n)) ? a : n || B5(t) || a;
|
|
4860
4860
|
}
|
|
4861
4861
|
const K5 = async function(t) {
|
|
4862
4862
|
let {
|
|
@@ -4942,7 +4942,7 @@ function J5(t, e, a, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
|
-
} = n, c =
|
|
4945
|
+
} = n, c = Rn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
4946
|
u.forEach((S) => {
|
|
4947
4947
|
s && S.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
@@ -4983,7 +4983,7 @@ const e7 = (t, e, a) => {
|
|
|
4983
4983
|
}, t7 = (t) => {
|
|
4984
4984
|
const e = ee(!1), a = ee(), n = ee(), s = ee(0);
|
|
4985
4985
|
function o() {
|
|
4986
|
-
const f =
|
|
4986
|
+
const f = Q(t.appendTo);
|
|
4987
4987
|
return f ? typeof f == "string" ? document.getElementById(f) ?? document.body : f : document.getElementById("floatingElements") ?? document.body;
|
|
4988
4988
|
}
|
|
4989
4989
|
const i = o(), r = ee(() => {
|
|
@@ -5042,7 +5042,7 @@ const e7 = (t, e, a) => {
|
|
|
5042
5042
|
c();
|
|
5043
5043
|
}), Os(() => {
|
|
5044
5044
|
r.value();
|
|
5045
|
-
}),
|
|
5045
|
+
}), An(() => {
|
|
5046
5046
|
r.value();
|
|
5047
5047
|
});
|
|
5048
5048
|
};
|
|
@@ -5157,11 +5157,11 @@ function l7(t, e, a) {
|
|
|
5157
5157
|
groupOptions: k,
|
|
5158
5158
|
groupHideEmpty: m,
|
|
5159
5159
|
groupSelect: E,
|
|
5160
|
-
onCreate:
|
|
5160
|
+
onCreate: X,
|
|
5161
5161
|
disabledProp: J,
|
|
5162
5162
|
searchStart: re,
|
|
5163
5163
|
searchFilter: ae
|
|
5164
|
-
} = Ae(t), le = Tt().proxy, x = a.iv, V = a.ev, G = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, sn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null),
|
|
5164
|
+
} = Ae(t), le = Tt().proxy, x = a.iv, V = a.ev, G = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, sn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), We = ee(T.value && i.value === -1 ? 10 : i.value), Xt = A(() => l.value || c.value || !1), ba = A(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = A(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
@@ -5180,7 +5180,7 @@ function l7(t, e, a) {
|
|
|
5180
5180
|
return se.value && ($ = $.reverse()), Et.value.length && ($ = Et.value.concat($)), dn($);
|
|
5181
5181
|
}), ot = A(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
|
-
return
|
|
5183
|
+
return We.value > 0 && ($ = $.slice(0, We.value)), $;
|
|
5184
5184
|
}), _t = A(() => {
|
|
5185
5185
|
if (!ie.value)
|
|
5186
5186
|
return [];
|
|
@@ -5235,7 +5235,7 @@ function l7(t, e, a) {
|
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
5237
|
}), gi = A(() => b.value || Me.value), It = ($) => {
|
|
5238
|
-
switch (typeof $ != "object" && ($ =
|
|
5238
|
+
switch (typeof $ != "object" && ($ = ze($)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
we($);
|
|
5241
5241
|
break;
|
|
@@ -5244,29 +5244,29 @@ function l7(t, e, a) {
|
|
|
5244
5244
|
we(x.value.concat($));
|
|
5245
5245
|
break;
|
|
5246
5246
|
}
|
|
5247
|
-
e.emit("select",
|
|
5247
|
+
e.emit("select", ts($), $, le);
|
|
5248
5248
|
}, Lt = ($) => {
|
|
5249
|
-
switch (typeof $ != "object" && ($ =
|
|
5249
|
+
switch (typeof $ != "object" && ($ = ze($)), s.value) {
|
|
5250
5250
|
case "single":
|
|
5251
|
-
|
|
5251
|
+
ns();
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
5254
|
case "multiple":
|
|
5255
5255
|
we(Array.isArray($) ? x.value.filter((B) => $.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1) : x.value.filter((B) => B[H.value] != $[H.value]));
|
|
5256
5256
|
break;
|
|
5257
5257
|
}
|
|
5258
|
-
e.emit("deselect",
|
|
5259
|
-
},
|
|
5258
|
+
e.emit("deselect", ts($), $, le);
|
|
5259
|
+
}, ts = ($) => w.value ? $ : $[H.value], as = ($) => {
|
|
5260
5260
|
Lt($);
|
|
5261
5261
|
}, _i = ($, B) => {
|
|
5262
5262
|
if (B.button !== 0) {
|
|
5263
5263
|
B.preventDefault();
|
|
5264
5264
|
return;
|
|
5265
5265
|
}
|
|
5266
|
-
|
|
5267
|
-
},
|
|
5266
|
+
as($);
|
|
5267
|
+
}, ns = () => {
|
|
5268
5268
|
we(Ci.value), e.emit("clear", le);
|
|
5269
|
-
},
|
|
5269
|
+
}, qe = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
5271
|
return s.value === "single" ? !1 : ki($[k.value]) && $[k.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
@@ -5278,25 +5278,25 @@ function l7(t, e, a) {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
}, ln = ($) => $[J.value] === !0, un = () => I === void 0 || I.value === -1 || !rn.value && I.value > 0 ? !1 : x.value.length >= I.value, yi = ($) => {
|
|
5280
5280
|
if (!ln($)) {
|
|
5281
|
-
if (
|
|
5281
|
+
if (X && X.value && !qe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = X.value($, le), $ instanceof Promise)) {
|
|
5282
5282
|
Me.value = !0, $.then((B) => {
|
|
5283
|
-
Me.value = !1,
|
|
5283
|
+
Me.value = !1, ss(B);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
5287
|
-
|
|
5287
|
+
ss($);
|
|
5288
5288
|
}
|
|
5289
|
-
},
|
|
5289
|
+
}, ss = ($) => {
|
|
5290
5290
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
|
-
if ($ &&
|
|
5292
|
+
if ($ && qe($)) {
|
|
5293
5293
|
W.value && Lt($), U.value && (nt(), st());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
5296
|
$ && cn($), L.value && he(), R.value && (nt(), st()), $ && It($);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
|
-
if ($ &&
|
|
5299
|
+
if ($ && qe($)) {
|
|
5300
5300
|
Lt($), U.value && (nt(), st());
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
@@ -5307,7 +5307,7 @@ function l7(t, e, a) {
|
|
|
5307
5307
|
$ && (cn($), It($)), L.value && he(), r.value && nt(), R.value && st();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
|
-
if ($ &&
|
|
5310
|
+
if ($ && qe($)) {
|
|
5311
5311
|
Lt($), U.value && (nt(), st());
|
|
5312
5312
|
return;
|
|
5313
5313
|
}
|
|
@@ -5332,10 +5332,10 @@ function l7(t, e, a) {
|
|
|
5332
5332
|
R.value && sn();
|
|
5333
5333
|
}
|
|
5334
5334
|
}, cn = ($) => {
|
|
5335
|
-
|
|
5335
|
+
ze($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], le), e.emit("option", $[H.value], le), e.emit("create", $[H.value], le), ba.value && Mi($), he());
|
|
5336
5336
|
}, wi = () => {
|
|
5337
|
-
s.value !== "single" && It(ot.value.filter(($) => !$.disabled && !
|
|
5338
|
-
}, $i = ($) => $.find((B) => !
|
|
5337
|
+
s.value !== "single" && It(ot.value.filter(($) => !$.disabled && !qe($)));
|
|
5338
|
+
}, $i = ($) => $.find((B) => !qe(B) && !B[J.value]) === void 0, ki = ($) => $.find((B) => !qe(B)) === void 0, ze = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], Si = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), Ai = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && qe($), Mi = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Ti = ($) => m.value ? $.filter(
|
|
5341
5341
|
(B) => G.value ? B.__VISIBLE__.length : B[k.value].length
|
|
@@ -5343,9 +5343,9 @@ function l7(t, e, a) {
|
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (G.value && C.value) {
|
|
5345
5345
|
let me = ae.value;
|
|
5346
|
-
me || (me = (bt,
|
|
5347
|
-
let
|
|
5348
|
-
return re.value ?
|
|
5346
|
+
me || (me = (bt, os, v8) => yt.value.some((Ei) => {
|
|
5347
|
+
let rs = mn(ya(bt[Ei]), z.value);
|
|
5348
|
+
return re.value ? rs.startsWith(mn(os, z.value)) : rs.indexOf(mn(os, z.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, G.value, le));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (oe = oe.filter((me) => !Ai(me))), oe;
|
|
@@ -5368,14 +5368,14 @@ function l7(t, e, a) {
|
|
|
5368
5368
|
})), fn = () => {
|
|
5369
5369
|
if (rn.value)
|
|
5370
5370
|
if (s.value === "single") {
|
|
5371
|
-
let $ =
|
|
5371
|
+
let $ = ze(x.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
5373
5373
|
let B = $[u.value];
|
|
5374
5374
|
x.value[u.value] = B, w.value && (V.value[u.value] = B);
|
|
5375
5375
|
}
|
|
5376
5376
|
} else
|
|
5377
5377
|
x.value.forEach(($, B) => {
|
|
5378
|
-
let oe =
|
|
5378
|
+
let oe = ze(x.value[B][H.value]);
|
|
5379
5379
|
if (oe !== void 0) {
|
|
5380
5380
|
let me = oe[u.value];
|
|
5381
5381
|
x.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
|
|
@@ -5383,15 +5383,15 @@ function l7(t, e, a) {
|
|
|
5383
5383
|
});
|
|
5384
5384
|
}, Oi = ($) => {
|
|
5385
5385
|
ka($);
|
|
5386
|
-
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ?
|
|
5386
|
+
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? ze($) || (j.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
5388
5388
|
[H.value]: $,
|
|
5389
5389
|
[yt.value[0]]: $
|
|
5390
|
-
} : {}) : $.filter((B) => !!
|
|
5390
|
+
} : {}) : $.filter((B) => !!ze(B) || j.value).map((B) => ze(B) || {
|
|
5391
5391
|
[u.value]: B,
|
|
5392
5392
|
[H.value]: B,
|
|
5393
5393
|
[yt.value[0]]: B
|
|
5394
|
-
}),
|
|
5394
|
+
}), is = () => {
|
|
5395
5395
|
Be.value = de(G, ($) => {
|
|
5396
5396
|
$.length < _.value || !$ && _.value !== 0 || (Me.value = !0, D.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
$ == G.value && n.value(G.value, le).then((B) => {
|
|
@@ -5407,8 +5407,8 @@ function l7(t, e, a) {
|
|
|
5407
5407
|
};
|
|
5408
5408
|
if (s.value !== "single" && !je(V.value) && !Array.isArray(V.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ? S.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), y.value > -1 &&
|
|
5411
|
-
Be.value && Be.value(), $ >= 0 &&
|
|
5410
|
+
return n && typeof n.value == "function" ? S.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), y.value > -1 && is(), de(y, ($, B) => {
|
|
5411
|
+
Be.value && Be.value(), $ >= 0 && is();
|
|
5412
5412
|
}), de(V, ($) => {
|
|
5413
5413
|
if (je($)) {
|
|
5414
5414
|
we(Sa($), !1);
|
|
@@ -5426,7 +5426,7 @@ function l7(t, e, a) {
|
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
5427
5427
|
typeof t.options == "function" ? S.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(x.value).length || $a(), fn());
|
|
5428
5428
|
}), de(u, fn), de(i, ($, B) => {
|
|
5429
|
-
|
|
5429
|
+
We.value = T.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Qt,
|
|
5432
5432
|
fo: ot,
|
|
@@ -5443,16 +5443,16 @@ function l7(t, e, a) {
|
|
|
5443
5443
|
noResults: mi,
|
|
5444
5444
|
resolving: Me,
|
|
5445
5445
|
busy: gi,
|
|
5446
|
-
offset:
|
|
5446
|
+
offset: We,
|
|
5447
5447
|
select: It,
|
|
5448
5448
|
deselect: Lt,
|
|
5449
|
-
remove:
|
|
5449
|
+
remove: as,
|
|
5450
5450
|
selectAll: wi,
|
|
5451
|
-
clear:
|
|
5452
|
-
isSelected:
|
|
5451
|
+
clear: ns,
|
|
5452
|
+
isSelected: qe,
|
|
5453
5453
|
isDisabled: ln,
|
|
5454
5454
|
isMax: un,
|
|
5455
|
-
getOption:
|
|
5455
|
+
getOption: ze,
|
|
5456
5456
|
handleOptionClick: yi,
|
|
5457
5457
|
handleGroupClick: bi,
|
|
5458
5458
|
handleTagRemove: _i,
|
|
@@ -5488,7 +5488,7 @@ function u7(t, e, a) {
|
|
|
5488
5488
|
}), T = A(() => {
|
|
5489
5489
|
const V = le(S.value).__VISIBLE__.filter((G) => !G[u.value]);
|
|
5490
5490
|
return V[V.map((G) => G[n.value]).indexOf(S.value[n.value]) + 1];
|
|
5491
|
-
}), k = A(() => [...z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = A(() => [...U.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), E = (V) => S.value && (!V.group && S.value[n.value] === V[n.value] || V.group !== void 0 && S.value[i.value] === V[i.value]) ? !0 : void 0,
|
|
5491
|
+
}), k = A(() => [...z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = A(() => [...U.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), E = (V) => S.value && (!V.group && S.value[n.value] === V[n.value] || V.group !== void 0 && S.value[i.value] === V[i.value]) ? !0 : void 0, X = () => {
|
|
5492
5492
|
_(H.value[0] || null);
|
|
5493
5493
|
}, J = () => {
|
|
5494
5494
|
!S.value || S.value[u.value] === !0 || (W.value ? b(S.value) : w(S.value));
|
|
@@ -5529,7 +5529,7 @@ function u7(t, e, a) {
|
|
|
5529
5529
|
r.value && (G = W.value ? V.parentElement.parentElement.parentElement : V.parentElement.parentElement.parentElement.parentElement), V.offsetTop + V.offsetHeight > G.clientHeight + G.scrollTop && (G.scrollTop = V.offsetTop + V.offsetHeight - G.clientHeight), V.offsetTop < G.scrollTop && (G.scrollTop = V.offsetTop);
|
|
5530
5530
|
};
|
|
5531
5531
|
return de(y, (V) => {
|
|
5532
|
-
o.value && (V.length && s.value ?
|
|
5532
|
+
o.value && (V.length && s.value ? X() : C());
|
|
5533
5533
|
}), de(L, (V) => {
|
|
5534
5534
|
if (V) {
|
|
5535
5535
|
let G = D.value.querySelectorAll("[data-selected]")[0];
|
|
@@ -5544,7 +5544,7 @@ function u7(t, e, a) {
|
|
|
5544
5544
|
pointer: S,
|
|
5545
5545
|
canPointGroups: F,
|
|
5546
5546
|
isPointed: E,
|
|
5547
|
-
setPointerFirst:
|
|
5547
|
+
setPointerFirst: X,
|
|
5548
5548
|
selectPointer: J,
|
|
5549
5549
|
forwardPointer: re,
|
|
5550
5550
|
backwardPointer: ae
|
|
@@ -5567,21 +5567,21 @@ function Pe(t) {
|
|
|
5567
5567
|
var e = Se(t).HTMLElement;
|
|
5568
5568
|
return t instanceof e || t instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
5570
|
-
function
|
|
5570
|
+
function Nn(t) {
|
|
5571
5571
|
if (typeof ShadowRoot > "u")
|
|
5572
5572
|
return !1;
|
|
5573
5573
|
var e = Se(t).ShadowRoot;
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
5576
|
var kt = Math.max, Na = Math.min, Wt = Math.round;
|
|
5577
|
-
function
|
|
5577
|
+
function wn() {
|
|
5578
5578
|
var t = navigator.userAgentData;
|
|
5579
5579
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5580
5580
|
return e.brand + "/" + e.version;
|
|
5581
5581
|
}).join(" ") : navigator.userAgent;
|
|
5582
5582
|
}
|
|
5583
5583
|
function si() {
|
|
5584
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5584
|
+
return !/^((?!chrome|android).)*safari/i.test(wn());
|
|
5585
5585
|
}
|
|
5586
5586
|
function qt(t, e, a) {
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
@@ -5599,7 +5599,7 @@ function qt(t, e, a) {
|
|
|
5599
5599
|
y: u
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
|
-
function
|
|
5602
|
+
function jn(t) {
|
|
5603
5603
|
var e = Se(t), a = e.pageXOffset, n = e.pageYOffset;
|
|
5604
5604
|
return {
|
|
5605
5605
|
scrollLeft: a,
|
|
@@ -5613,9 +5613,9 @@ function c7(t) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function d7(t) {
|
|
5616
|
-
return t === Se(t) || !Pe(t) ?
|
|
5616
|
+
return t === Se(t) || !Pe(t) ? jn(t) : c7(t);
|
|
5617
5617
|
}
|
|
5618
|
-
function
|
|
5618
|
+
function Ue(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5620
5620
|
}
|
|
5621
5621
|
function gt(t) {
|
|
@@ -5624,13 +5624,13 @@ function gt(t) {
|
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5628
|
-
return qt(gt(t)).left +
|
|
5627
|
+
function Fn(t) {
|
|
5628
|
+
return qt(gt(t)).left + jn(t).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
5630
|
function tt(t) {
|
|
5631
5631
|
return Se(t).getComputedStyle(t);
|
|
5632
5632
|
}
|
|
5633
|
-
function
|
|
5633
|
+
function Un(t) {
|
|
5634
5634
|
var e = tt(t), a = e.overflow, n = e.overflowX, s = e.overflowY;
|
|
5635
5635
|
return /auto|scroll|overlay|hidden/.test(a + s + n);
|
|
5636
5636
|
}
|
|
@@ -5647,8 +5647,8 @@ function f7(t, e, a) {
|
|
|
5647
5647
|
x: 0,
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
|
-
return (n || !n && !a) && ((
|
|
5651
|
-
|
|
5650
|
+
return (n || !n && !a) && ((Ue(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
+
Un(o)) && (r = d7(e)), Pe(e) ? (l = qt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Fn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
5654
5654
|
width: i.width,
|
|
@@ -5665,45 +5665,45 @@ function ii(t) {
|
|
|
5665
5665
|
};
|
|
5666
5666
|
}
|
|
5667
5667
|
function en(t) {
|
|
5668
|
-
return
|
|
5668
|
+
return Ue(t) === "html" ? t : (
|
|
5669
5669
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5670
5670
|
// $FlowFixMe[incompatible-return]
|
|
5671
5671
|
// $FlowFixMe[prop-missing]
|
|
5672
5672
|
t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
5673
5673
|
t.parentNode || // DOM Element detected
|
|
5674
|
-
(
|
|
5674
|
+
(Nn(t) ? t.host : null) || // ShadowRoot detected
|
|
5675
5675
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5676
5676
|
gt(t)
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function oi(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Pe(t) && Un(t) ? t : oi(en(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
5684
5684
|
e === void 0 && (e = []);
|
|
5685
|
-
var n = oi(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [],
|
|
5685
|
+
var n = oi(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], Un(n) ? n : []) : n, r = e.concat(i);
|
|
5686
5686
|
return s ? r : (
|
|
5687
5687
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
5688
|
r.concat(ia(en(i)))
|
|
5689
5689
|
);
|
|
5690
5690
|
}
|
|
5691
5691
|
function v7(t) {
|
|
5692
|
-
return ["table", "td", "th"].indexOf(
|
|
5692
|
+
return ["table", "td", "th"].indexOf(Ue(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
|
-
function
|
|
5694
|
+
function _s(t) {
|
|
5695
5695
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function h7(t) {
|
|
5699
|
-
var e = /firefox/i.test(
|
|
5699
|
+
var e = /firefox/i.test(wn()), a = /Trident/i.test(wn());
|
|
5700
5700
|
if (a && Pe(t)) {
|
|
5701
5701
|
var n = tt(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var s = en(t);
|
|
5706
|
-
for (
|
|
5706
|
+
for (Nn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ue(s)) < 0; ) {
|
|
5707
5707
|
var o = tt(s);
|
|
5708
5708
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5709
5709
|
return s;
|
|
@@ -5712,13 +5712,13 @@ function h7(t) {
|
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
5714
|
function tn(t) {
|
|
5715
|
-
for (var e = Se(t), a =
|
|
5716
|
-
a =
|
|
5717
|
-
return a && (
|
|
5715
|
+
for (var e = Se(t), a = _s(t); a && v7(a) && tt(a).position === "static"; )
|
|
5716
|
+
a = _s(a);
|
|
5717
|
+
return a && (Ue(a) === "html" || Ue(a) === "body" && tt(a).position === "static") ? e : a || h7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top",
|
|
5719
|
+
var Re = "top", Ze = "bottom", vt = "right", Ge = "left", Zn = "auto", an = [Re, Ze, vt, Ge], zt = "start", da = "end", m7 = "clippingParents", ri = "viewport", sa = "popper", C7 = "reference", ys = /* @__PURE__ */ an.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + zt, e + "-" + da]);
|
|
5721
|
-
}, []), g7 = /* @__PURE__ */ [].concat(an, [
|
|
5721
|
+
}, []), g7 = /* @__PURE__ */ [].concat(an, [Zn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + zt, e + "-" + da]);
|
|
5723
5723
|
}, []), _7 = "beforeRead", y7 = "read", b7 = "afterRead", w7 = "beforeMain", $7 = "main", k7 = "afterMain", S7 = "beforeWrite", A7 = "write", M7 = "afterWrite", T7 = [_7, y7, b7, w7, $7, k7, S7, A7, M7];
|
|
5724
5724
|
function O7(t) {
|
|
@@ -5780,12 +5780,12 @@ function H7(t, e) {
|
|
|
5780
5780
|
return {
|
|
5781
5781
|
width: o,
|
|
5782
5782
|
height: i,
|
|
5783
|
-
x: r +
|
|
5783
|
+
x: r + Fn(t),
|
|
5784
5784
|
y: l
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function D7(t) {
|
|
5788
|
-
var e, a = gt(t), n =
|
|
5788
|
+
var e, a = gt(t), n = jn(t), s = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), r = -n.scrollLeft + Fn(t), l = -n.scrollTop;
|
|
5789
5789
|
return tt(s || a).direction === "rtl" && (r += kt(a.clientWidth, s ? s.clientWidth : 0) - o), {
|
|
5790
5790
|
width: o,
|
|
5791
5791
|
height: i,
|
|
@@ -5797,7 +5797,7 @@ function P7(t, e) {
|
|
|
5797
5797
|
var a = e.getRootNode && e.getRootNode();
|
|
5798
5798
|
if (t.contains(e))
|
|
5799
5799
|
return !0;
|
|
5800
|
-
if (a &&
|
|
5800
|
+
if (a && Nn(a)) {
|
|
5801
5801
|
var n = e;
|
|
5802
5802
|
do {
|
|
5803
5803
|
if (n && t.isSameNode(n))
|
|
@@ -5807,7 +5807,7 @@ function P7(t, e) {
|
|
|
5807
5807
|
}
|
|
5808
5808
|
return !1;
|
|
5809
5809
|
}
|
|
5810
|
-
function
|
|
5810
|
+
function $n(t) {
|
|
5811
5811
|
return Object.assign({}, t, {
|
|
5812
5812
|
left: t.x,
|
|
5813
5813
|
top: t.y,
|
|
@@ -5819,20 +5819,20 @@ function V7(t, e) {
|
|
|
5819
5819
|
var a = qt(t, !1, e === "fixed");
|
|
5820
5820
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5821
5821
|
}
|
|
5822
|
-
function
|
|
5823
|
-
return e === ri ?
|
|
5822
|
+
function bs(t, e, a) {
|
|
5823
|
+
return e === ri ? $n(H7(t, a)) : At(e) ? V7(e, a) : $n(D7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function B7(t) {
|
|
5826
5826
|
var e = ia(en(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? tn(t) : t;
|
|
5827
5827
|
return At(n) ? e.filter(function(s) {
|
|
5828
|
-
return At(s) && P7(s, n) &&
|
|
5828
|
+
return At(s) && P7(s, n) && Ue(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
5831
|
function R7(t, e, a, n) {
|
|
5832
5832
|
var s = e === "clippingParents" ? B7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(l, c) {
|
|
5833
|
-
var u =
|
|
5833
|
+
var u = bs(t, c, n);
|
|
5834
5834
|
return l.top = kt(u.top, l.top), l.right = Na(u.right, l.right), l.bottom = Na(u.bottom, l.bottom), l.left = kt(u.left, l.left), l;
|
|
5835
|
-
},
|
|
5835
|
+
}, bs(t, i, n));
|
|
5836
5836
|
return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
5837
5837
|
}
|
|
5838
5838
|
function ct(t) {
|
|
@@ -5853,7 +5853,7 @@ function ui(t) {
|
|
|
5853
5853
|
y: e.y - a.height
|
|
5854
5854
|
};
|
|
5855
5855
|
break;
|
|
5856
|
-
case
|
|
5856
|
+
case Ze:
|
|
5857
5857
|
l = {
|
|
5858
5858
|
x: i,
|
|
5859
5859
|
y: e.y + e.height
|
|
@@ -5907,14 +5907,14 @@ function j7(t, e) {
|
|
|
5907
5907
|
return a[n] = t, a;
|
|
5908
5908
|
}, {});
|
|
5909
5909
|
}
|
|
5910
|
-
function
|
|
5910
|
+
function Wn(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
5912
|
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? m7 : r, c = a.rootBoundary, u = c === void 0 ? ri : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, S = N7(typeof y != "number" ? y : j7(y, an)), _ = d === sa ? C7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = R7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = qt(t.elements.reference), j = ui({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: C,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), F =
|
|
5917
|
+
}), F = $n(Object.assign({}, C, j)), W = d === sa ? F : H, I = {
|
|
5918
5918
|
top: L.top - W.top + S.top,
|
|
5919
5919
|
bottom: W.bottom - L.bottom + S.bottom,
|
|
5920
5920
|
left: L.left - W.left + S.left,
|
|
@@ -5923,18 +5923,18 @@ function Zn(t, e) {
|
|
|
5923
5923
|
if (d === sa && z) {
|
|
5924
5924
|
var R = z[s];
|
|
5925
5925
|
Object.keys(I).forEach(function(U) {
|
|
5926
|
-
var ie = [vt,
|
|
5926
|
+
var ie = [vt, Ze].indexOf(U) >= 0 ? 1 : -1, se = [Re, Ze].indexOf(U) >= 0 ? "y" : "x";
|
|
5927
5927
|
I[U] += R[se] * ie;
|
|
5928
5928
|
});
|
|
5929
5929
|
}
|
|
5930
5930
|
return I;
|
|
5931
5931
|
}
|
|
5932
|
-
var
|
|
5932
|
+
var ws = {
|
|
5933
5933
|
placement: "bottom",
|
|
5934
5934
|
modifiers: [],
|
|
5935
5935
|
strategy: "absolute"
|
|
5936
5936
|
};
|
|
5937
|
-
function
|
|
5937
|
+
function $s() {
|
|
5938
5938
|
for (var t = arguments.length, e = new Array(t), a = 0; a < t; a++)
|
|
5939
5939
|
e[a] = arguments[a];
|
|
5940
5940
|
return !e.some(function(n) {
|
|
@@ -5943,13 +5943,13 @@ function ws() {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function F7(t) {
|
|
5945
5945
|
t === void 0 && (t = {});
|
|
5946
|
-
var e = t, a = e.defaultModifiers, n = a === void 0 ? [] : a, s = e.defaultOptions, o = s === void 0 ?
|
|
5946
|
+
var e = t, a = e.defaultModifiers, n = a === void 0 ? [] : a, s = e.defaultOptions, o = s === void 0 ? ws : s;
|
|
5947
5947
|
return function(r, l, c) {
|
|
5948
5948
|
c === void 0 && (c = o);
|
|
5949
5949
|
var u = {
|
|
5950
5950
|
placement: "bottom",
|
|
5951
5951
|
orderedModifiers: [],
|
|
5952
|
-
options: Object.assign({},
|
|
5952
|
+
options: Object.assign({}, ws, o),
|
|
5953
5953
|
modifiersData: {},
|
|
5954
5954
|
elements: {
|
|
5955
5955
|
reference: r,
|
|
@@ -5978,7 +5978,7 @@ function F7(t) {
|
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!d) {
|
|
5980
5980
|
var S = u.elements, _ = S.reference, C = S.popper;
|
|
5981
|
-
if (
|
|
5981
|
+
if ($s(_, C)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
5983
|
reference: f7(_, tn(C), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: ii(C)
|
|
@@ -6012,7 +6012,7 @@ function F7(t) {
|
|
|
6012
6012
|
b(), d = !0;
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
|
-
if (
|
|
6015
|
+
if (!$s(r, l))
|
|
6016
6016
|
return h;
|
|
6017
6017
|
h.setOptions(c).then(function(y) {
|
|
6018
6018
|
!d && c.onFirstUpdate && c.onFirstUpdate(y);
|
|
@@ -6090,7 +6090,7 @@ function x7(t, e) {
|
|
|
6090
6090
|
y: Wt(n * s) / s || 0
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6093
|
+
function ks(t) {
|
|
6094
6094
|
var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, d = i.x, h = d === void 0 ? 0 : d, w = i.y, b = w === void 0 ? 0 : w, y = typeof u == "function" ? u({
|
|
6095
6095
|
x: h,
|
|
6096
6096
|
y: b
|
|
@@ -6103,14 +6103,14 @@ function $s(t) {
|
|
|
6103
6103
|
if (c) {
|
|
6104
6104
|
var H = tn(a), j = "clientHeight", F = "clientWidth";
|
|
6105
6105
|
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (j = "scrollHeight", F = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6106
|
-
D =
|
|
6106
|
+
D = Ze;
|
|
6107
6107
|
var W = f && H === L && L.visualViewport ? L.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
6109
6109
|
H[j]
|
|
6110
6110
|
);
|
|
6111
6111
|
b -= W - n.height, b *= l ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
|
-
if (s === Ge || (s === Re || s ===
|
|
6113
|
+
if (s === Ge || (s === Re || s === Ze) && o === da) {
|
|
6114
6114
|
C = vt;
|
|
6115
6115
|
var I = f && H === L && L.visualViewport ? L.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
@@ -6143,12 +6143,12 @@ function Y7(t) {
|
|
|
6143
6143
|
gpuAcceleration: s,
|
|
6144
6144
|
isFixed: e.options.strategy === "fixed"
|
|
6145
6145
|
};
|
|
6146
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
6146
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, ks(Object.assign({}, c, {
|
|
6147
6147
|
offsets: e.modifiersData.popperOffsets,
|
|
6148
6148
|
position: e.options.strategy,
|
|
6149
6149
|
adaptive: i,
|
|
6150
6150
|
roundOffsets: l
|
|
6151
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
6151
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, ks(Object.assign({}, c, {
|
|
6152
6152
|
offsets: e.modifiersData.arrow,
|
|
6153
6153
|
position: "absolute",
|
|
6154
6154
|
adaptive: !1,
|
|
@@ -6168,7 +6168,7 @@ function G7(t) {
|
|
|
6168
6168
|
var e = t.state;
|
|
6169
6169
|
Object.keys(e.elements).forEach(function(a) {
|
|
6170
6170
|
var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
|
|
6171
|
-
!Pe(o) || !
|
|
6171
|
+
!Pe(o) || !Ue(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
|
|
6172
6172
|
var r = s[i];
|
|
6173
6173
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6174
6174
|
}));
|
|
@@ -6192,7 +6192,7 @@ function X7(t) {
|
|
|
6192
6192
|
var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
|
|
6193
6193
|
return l[c] = "", l;
|
|
6194
6194
|
}, {});
|
|
6195
|
-
!Pe(s) || !
|
|
6195
|
+
!Pe(s) || !Ue(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
|
|
6196
6196
|
s.removeAttribute(l);
|
|
6197
6197
|
}));
|
|
6198
6198
|
});
|
|
@@ -6219,7 +6219,7 @@ function ap(t, e, a) {
|
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function np(t) {
|
|
6222
|
-
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, b = w === void 0 ? 0 : w, y =
|
|
6222
|
+
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, b = w === void 0 ? 0 : w, y = Wn(e, {
|
|
6223
6223
|
boundary: l,
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: f,
|
|
@@ -6238,14 +6238,14 @@ function np(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var U, ie = D === "y" ? Re : Ge, se = D === "y" ?
|
|
6241
|
+
var U, ie = D === "y" ? Re : Ge, se = D === "y" ? Ze : vt, T = D === "y" ? "height" : "width", k = H[D], m = k + y[ie], E = k - y[se], X = h ? -F[T] / 2 : 0, J = _ === zt ? j[T] : F[T], re = _ === zt ? -F[T] : -j[T], ae = e.elements.arrow, le = h && ae ? ii(ae) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ci(), V = x[ie], G = x[se], he = Ia(0, j[T], le[T]), we = C ? j[T] / 2 -
|
|
6244
|
+
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ci(), V = x[ie], G = x[se], he = Ia(0, j[T], le[T]), we = C ? j[T] / 2 - X - he - V - I.mainAxis : J - he - V - I.mainAxis, Kt = C ? -j[T] / 2 + X + he + G + I.mainAxis : re + he + G + I.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (U = z == null ? void 0 : z[D]) != null ? U : 0, sn = k + we - _a - nt, st = k + Kt - _a, ya = Ia(h ? Na(m, sn) : m, k, h ? kt(E, st) : E);
|
|
6245
6245
|
H[D] = ya, R[D] = ya - k;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ?
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? Ze : vt, Be = H[L], We = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Me], Te = [Re, Ge].indexOf(S) !== -1, Qt = (it = z == null ? void 0 : z[L]) != null ? it : 0, ot = Te ? Xt : Be - j[We] - F[We] - Qt + I.altAxis, _t = Te ? Be + j[We] + F[We] - Qt - I.altAxis : ba, wa = h && Te ? ap(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
H[L] = wa, R[L] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = R;
|
|
@@ -6272,21 +6272,21 @@ var op = {
|
|
|
6272
6272
|
start: "end",
|
|
6273
6273
|
end: "start"
|
|
6274
6274
|
};
|
|
6275
|
-
function
|
|
6275
|
+
function Ss(t) {
|
|
6276
6276
|
return t.replace(/start|end/g, function(e) {
|
|
6277
6277
|
return op[e];
|
|
6278
6278
|
});
|
|
6279
6279
|
}
|
|
6280
6280
|
function rp(t, e) {
|
|
6281
6281
|
e === void 0 && (e = {});
|
|
6282
|
-
var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? g7 : l, u = xt(n), f = u ? r ?
|
|
6282
|
+
var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? g7 : l, u = xt(n), f = u ? r ? ys : ys.filter(function(w) {
|
|
6283
6283
|
return xt(w) === u;
|
|
6284
6284
|
}) : an, d = f.filter(function(w) {
|
|
6285
6285
|
return c.indexOf(w) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
6288
6288
|
var h = d.reduce(function(w, b) {
|
|
6289
|
-
return w[b] =
|
|
6289
|
+
return w[b] = Wn(t, {
|
|
6290
6290
|
placement: b,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
@@ -6298,16 +6298,16 @@ function rp(t, e) {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function lp(t) {
|
|
6301
|
-
if (ct(t) ===
|
|
6301
|
+
if (ct(t) === Zn)
|
|
6302
6302
|
return [];
|
|
6303
6303
|
var e = La(t);
|
|
6304
|
-
return [
|
|
6304
|
+
return [Ss(t), e, Ss(e)];
|
|
6305
6305
|
}
|
|
6306
6306
|
function up(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
6309
|
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, b = a.allowedAutoPlacements, y = e.options.placement, S = ct(y), _ = S === y, C = l || (_ || !w ? [La(y)] : lp(y)), D = [y].concat(C).reduce(function(le, x) {
|
|
6310
|
-
return le.concat(ct(x) ===
|
|
6310
|
+
return le.concat(ct(x) === Zn ? rp(e, {
|
|
6311
6311
|
placement: x,
|
|
6312
6312
|
boundary: u,
|
|
6313
6313
|
rootBoundary: f,
|
|
@@ -6316,13 +6316,13 @@ function up(t) {
|
|
|
6316
6316
|
allowedAutoPlacements: b
|
|
6317
6317
|
}) : x);
|
|
6318
6318
|
}, []), L = e.rects.reference, H = e.rects.popper, j = /* @__PURE__ */ new Map(), F = !0, W = D[0], I = 0; I < D.length; I++) {
|
|
6319
|
-
var z = D[I], R = ct(z), U = xt(z) === zt, ie = [Re,
|
|
6319
|
+
var z = D[I], R = ct(z), U = xt(z) === zt, ie = [Re, Ze].indexOf(R) >= 0, se = ie ? "width" : "height", T = Wn(e, {
|
|
6320
6320
|
placement: z,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}), k = ie ? U ? vt : Ge : U ?
|
|
6325
|
+
}), k = ie ? U ? vt : Ge : U ? Ze : Re;
|
|
6326
6326
|
L[se] > H[se] && (k = La(k));
|
|
6327
6327
|
var m = La(k), E = [];
|
|
6328
6328
|
if (o && E.push(T[R] <= 0), r && E.push(T[k] <= 0, T[m] <= 0), E.every(function(le) {
|
|
@@ -6334,7 +6334,7 @@ function up(t) {
|
|
|
6334
6334
|
j.set(z, E);
|
|
6335
6335
|
}
|
|
6336
6336
|
if (F)
|
|
6337
|
-
for (var
|
|
6337
|
+
for (var X = w ? 3 : 1, J = function(x) {
|
|
6338
6338
|
var V = D.find(function(G) {
|
|
6339
6339
|
var he = j.get(G);
|
|
6340
6340
|
if (he)
|
|
@@ -6344,7 +6344,7 @@ function up(t) {
|
|
|
6344
6344
|
});
|
|
6345
6345
|
if (V)
|
|
6346
6346
|
return W = V, "break";
|
|
6347
|
-
}, re =
|
|
6347
|
+
}, re = X; re > 0; re--) {
|
|
6348
6348
|
var ae = J(re);
|
|
6349
6349
|
if (ae === "break")
|
|
6350
6350
|
break;
|
|
@@ -6493,8 +6493,8 @@ function fp(t, e, a) {
|
|
|
6493
6493
|
return {
|
|
6494
6494
|
handleKeydown: (E) => {
|
|
6495
6495
|
e.emit("keydown", E, w);
|
|
6496
|
-
let
|
|
6497
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(E.key) !== -1 && n.value === "tags" && (
|
|
6496
|
+
let X, J;
|
|
6497
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(E.key) !== -1 && n.value === "tags" && (X = [...j.value.querySelectorAll("[data-tags] > *")].filter((re) => re !== W.value), J = X.findIndex((re) => re === document.activeElement)), E.key) {
|
|
6498
6498
|
case "Backspace":
|
|
6499
6499
|
if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || b.value.length === 0)
|
|
6500
6500
|
return;
|
|
@@ -6505,7 +6505,7 @@ function fp(t, e, a) {
|
|
|
6505
6505
|
if (E.preventDefault(), E.keyCode === 229)
|
|
6506
6506
|
return;
|
|
6507
6507
|
if (J !== -1 && J !== void 0) {
|
|
6508
|
-
y([...b.value].filter((ae, le) => le !== J)), J ===
|
|
6508
|
+
y([...b.value].filter((ae, le) => le !== J)), J === X.length - 1 && (X.length - 1 ? X[X.length - 2].focus() : i.value ? W.value.querySelector("input").focus() : F.value.focus());
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
6511
|
if (se.value.indexOf("enter") === -1 && ie.value)
|
|
@@ -6546,12 +6546,12 @@ function fp(t, e, a) {
|
|
|
6546
6546
|
case "ArrowLeft":
|
|
6547
6547
|
if (i.value && W.value && W.value.querySelector("input").selectionStart || E.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
|
|
6548
6548
|
return;
|
|
6549
|
-
E.preventDefault(), J === -1 ?
|
|
6549
|
+
E.preventDefault(), J === -1 ? X[X.length - 1].focus() : J > 0 && X[J - 1].focus();
|
|
6550
6550
|
break;
|
|
6551
6551
|
case "ArrowRight":
|
|
6552
6552
|
if (J === -1 || E.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
|
|
6553
6553
|
return;
|
|
6554
|
-
E.preventDefault(),
|
|
6554
|
+
E.preventDefault(), X.length > J + 1 ? X[J + 1].focus() : i.value ? W.value.querySelector("input").focus() : i.value || F.value.focus();
|
|
6555
6555
|
break;
|
|
6556
6556
|
}
|
|
6557
6557
|
},
|
|
@@ -7654,7 +7654,7 @@ const $e = /* @__PURE__ */ q({
|
|
|
7654
7654
|
return e.detached && t7({
|
|
7655
7655
|
multiselect: n,
|
|
7656
7656
|
appendTo: a.value
|
|
7657
|
-
}), (s, o) => (p(), P(
|
|
7657
|
+
}), (s, o) => (p(), P(Q(lt), {
|
|
7658
7658
|
ref_key: "multiselectRef",
|
|
7659
7659
|
ref: n,
|
|
7660
7660
|
class: "ao-multiselect"
|
|
@@ -7668,7 +7668,7 @@ const $e = /* @__PURE__ */ q({
|
|
|
7668
7668
|
]), 1536));
|
|
7669
7669
|
}
|
|
7670
7670
|
});
|
|
7671
|
-
var
|
|
7671
|
+
var As;
|
|
7672
7672
|
function Ot() {
|
|
7673
7673
|
const t = Up(), e = t.appContext.config.globalProperties;
|
|
7674
7674
|
return {
|
|
@@ -7693,10 +7693,10 @@ q({
|
|
|
7693
7693
|
return () => {
|
|
7694
7694
|
const a = t.translation, n = [];
|
|
7695
7695
|
let s, o = 0;
|
|
7696
|
-
for (; (s =
|
|
7696
|
+
for (; (s = As.exec(a)) !== null; ) {
|
|
7697
7697
|
n.push(a.substring(o, s.index));
|
|
7698
7698
|
const i = e[s[1]];
|
|
7699
|
-
i ? n.push(...i()) : n.push(s[0]), o =
|
|
7699
|
+
i ? n.push(...i()) : n.push(s[0]), o = As.lastIndex;
|
|
7700
7700
|
}
|
|
7701
7701
|
return n.push(a.substring(o)), n;
|
|
7702
7702
|
};
|
|
@@ -7869,7 +7869,7 @@ const Yp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Kp = { class:
|
|
|
7869
7869
|
o.forEach((u) => {
|
|
7870
7870
|
document.body.addEventListener(u, (f) => f.preventDefault());
|
|
7871
7871
|
});
|
|
7872
|
-
}),
|
|
7872
|
+
}), An(() => {
|
|
7873
7873
|
o.forEach((u) => {
|
|
7874
7874
|
document.body.removeEventListener(
|
|
7875
7875
|
u,
|
|
@@ -8014,11 +8014,11 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: s,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
8017
|
-
value:
|
|
8018
|
-
rows:
|
|
8017
|
+
value: Q(o) ? b.content : null,
|
|
8018
|
+
rows: Q(o) ? w.value : null,
|
|
8019
8019
|
onKeyup: [
|
|
8020
|
-
dt(
|
|
8021
|
-
dt(fe(
|
|
8020
|
+
dt(Q(f), ["esc"]),
|
|
8021
|
+
dt(fe(Q(d), ["ctrl"]), ["enter"])
|
|
8022
8022
|
]
|
|
8023
8023
|
}, {
|
|
8024
8024
|
default: Z(() => [
|
|
@@ -8029,13 +8029,13 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8029
8029
|
])
|
|
8030
8030
|
]),
|
|
8031
8031
|
b.isEditable ? (p(), g("div", df, [
|
|
8032
|
-
|
|
8032
|
+
Q(o) ? (p(), g(ve, { key: 0 }, [
|
|
8033
8033
|
M(ce, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
8035
8035
|
size: "sm",
|
|
8036
8036
|
variant: "ghost",
|
|
8037
8037
|
color: "neutral",
|
|
8038
|
-
onClick:
|
|
8038
|
+
onClick: Q(f)
|
|
8039
8039
|
}, null, 8, ["onClick"]),
|
|
8040
8040
|
M(ce, {
|
|
8041
8041
|
"icon-name": "CheckSmallRounded",
|
|
@@ -8043,7 +8043,7 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8043
8043
|
variant: "solid",
|
|
8044
8044
|
corners: "round",
|
|
8045
8045
|
color: "black",
|
|
8046
|
-
onClick:
|
|
8046
|
+
onClick: Q(d)
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (p(), g(ve, { key: 1 }, [
|
|
8049
8049
|
M(ce, {
|
|
@@ -8058,7 +8058,7 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
8060
8060
|
color: "neutral",
|
|
8061
|
-
onClick:
|
|
8061
|
+
onClick: Q(i)
|
|
8062
8062
|
}, null, 8, ["label", "onClick"])
|
|
8063
8063
|
], 64))
|
|
8064
8064
|
])) : O("", !0)
|
|
@@ -8157,7 +8157,7 @@ const ff = { class: "ao-comments__header" }, vf = ["onSubmit"], hf = ["placehold
|
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
8159
8159
|
});
|
|
8160
|
-
const
|
|
8160
|
+
const kn = /* @__PURE__ */ q({
|
|
8161
8161
|
__name: "AoButtonCheck",
|
|
8162
8162
|
props: {
|
|
8163
8163
|
modelValue: { type: Boolean },
|
|
@@ -8169,7 +8169,7 @@ const $n = /* @__PURE__ */ q({
|
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
8171
|
return (s, o) => (p(), P(ce, {
|
|
8172
|
-
color: s.modelValue ? s.color :
|
|
8172
|
+
color: s.modelValue ? s.color : Q(Tn).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8296,7 +8296,7 @@ const $n = /* @__PURE__ */ q({
|
|
|
8296
8296
|
var E;
|
|
8297
8297
|
return {
|
|
8298
8298
|
...m,
|
|
8299
|
-
disabled: (E = a.activity.blocking) == null ? void 0 : E.some((
|
|
8299
|
+
disabled: (E = a.activity.blocking) == null ? void 0 : E.some((X) => X.id === m.value)
|
|
8300
8300
|
};
|
|
8301
8301
|
})), b = A({
|
|
8302
8302
|
get() {
|
|
@@ -8314,7 +8314,7 @@ const $n = /* @__PURE__ */ q({
|
|
|
8314
8314
|
return {
|
|
8315
8315
|
...m,
|
|
8316
8316
|
disabled: (E = a.activity.dependingOn) == null ? void 0 : E.some(
|
|
8317
|
-
(
|
|
8317
|
+
(X) => X.id === m.value
|
|
8318
8318
|
)
|
|
8319
8319
|
};
|
|
8320
8320
|
})), S = (m) => {
|
|
@@ -8356,8 +8356,8 @@ const $n = /* @__PURE__ */ q({
|
|
|
8356
8356
|
value: m.id,
|
|
8357
8357
|
label: m.name
|
|
8358
8358
|
}))), W = A(() => {
|
|
8359
|
-
var E,
|
|
8360
|
-
const m = (J = (
|
|
8359
|
+
var E, X, J;
|
|
8360
|
+
const m = (J = (X = (E = a.activity) == null ? void 0 : E.project) == null ? void 0 : X.phases) == null ? void 0 : J.reduce(
|
|
8361
8361
|
(re, ae) => [...re, ...ae.milestones],
|
|
8362
8362
|
[]
|
|
8363
8363
|
);
|
|
@@ -8399,11 +8399,11 @@ const $n = /* @__PURE__ */ q({
|
|
|
8399
8399
|
var m, E;
|
|
8400
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((E = a.activity.createdBy) == null ? void 0 : E.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
8402
|
-
return (m, E) => (p(), P(
|
|
8403
|
-
onClose: E[10] || (E[10] = (
|
|
8402
|
+
return (m, E) => (p(), P(Hn, {
|
|
8403
|
+
onClose: E[10] || (E[10] = (X) => m.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
8405
|
default: Z(() => {
|
|
8406
|
-
var
|
|
8406
|
+
var X, J, re;
|
|
8407
8407
|
return [
|
|
8408
8408
|
v("div", _f, [
|
|
8409
8409
|
v("div", yf, [
|
|
@@ -8428,7 +8428,7 @@ const $n = /* @__PURE__ */ q({
|
|
|
8428
8428
|
v("span", Sf, K(m.$t("activity.project.label")), 1),
|
|
8429
8429
|
M($e, {
|
|
8430
8430
|
options: F.value,
|
|
8431
|
-
value: (
|
|
8431
|
+
value: (X = m.activity.project) == null ? void 0 : X.id,
|
|
8432
8432
|
searchable: !0,
|
|
8433
8433
|
disabled: !n.value,
|
|
8434
8434
|
caret: n.value,
|
|
@@ -8639,7 +8639,7 @@ const $n = /* @__PURE__ */ q({
|
|
|
8639
8639
|
te(m.$slots, "default", { activity: m.activity })
|
|
8640
8640
|
]),
|
|
8641
8641
|
v("div", iv, [
|
|
8642
|
-
M(
|
|
8642
|
+
M(kn, {
|
|
8643
8643
|
modelValue: r.value,
|
|
8644
8644
|
"onUpdate:modelValue": E[6] || (E[6] = (ae) => r.value = ae),
|
|
8645
8645
|
modelModifiers: { lazy: !0 },
|
|
@@ -8654,7 +8654,7 @@ const $n = /* @__PURE__ */ q({
|
|
|
8654
8654
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8655
8655
|
]),
|
|
8656
8656
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", ov, [
|
|
8657
|
-
M(
|
|
8657
|
+
M(kn, {
|
|
8658
8658
|
modelValue: l.value,
|
|
8659
8659
|
"onUpdate:modelValue": E[7] || (E[7] = (ae) => l.value = ae),
|
|
8660
8660
|
modelModifiers: { lazy: !0 },
|
|
@@ -8803,22 +8803,22 @@ const gv = /* @__PURE__ */ q({
|
|
|
8803
8803
|
}), y = A(() => Object.values(Z2));
|
|
8804
8804
|
return (S, _) => (p(), P(ht(S.tagName), { class: "ao-rule-line" }, {
|
|
8805
8805
|
default: Z(() => [
|
|
8806
|
-
M(
|
|
8806
|
+
M(Q(lt), {
|
|
8807
8807
|
modelValue: s.value,
|
|
8808
8808
|
"onUpdate:modelValue": _[0] || (_[0] = (C) => s.value = C),
|
|
8809
8809
|
options: o.value
|
|
8810
8810
|
}, null, 8, ["modelValue", "options"]),
|
|
8811
|
-
M(
|
|
8811
|
+
M(Q(lt), {
|
|
8812
8812
|
modelValue: i.value,
|
|
8813
8813
|
"onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
|
|
8814
8814
|
options: r.value
|
|
8815
8815
|
}, null, 8, ["modelValue", "options"]),
|
|
8816
|
-
M(
|
|
8816
|
+
M(Q(lt), {
|
|
8817
8817
|
modelValue: d.value,
|
|
8818
8818
|
"onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
|
|
8819
8819
|
options: h.value
|
|
8820
8820
|
}, null, 8, ["modelValue", "options"]),
|
|
8821
|
-
M(
|
|
8821
|
+
M(Q(lt), {
|
|
8822
8822
|
modelValue: c.value,
|
|
8823
8823
|
"onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
|
|
8824
8824
|
options: u.value
|
|
@@ -8835,7 +8835,7 @@ const gv = /* @__PURE__ */ q({
|
|
|
8835
8835
|
{ number: !0 }
|
|
8836
8836
|
]
|
|
8837
8837
|
]),
|
|
8838
|
-
M(
|
|
8838
|
+
M(Q(lt), {
|
|
8839
8839
|
modelValue: b.value,
|
|
8840
8840
|
"onUpdate:modelValue": _[5] || (_[5] = (C) => b.value = C),
|
|
8841
8841
|
options: y.value
|
|
@@ -8867,7 +8867,7 @@ const _v = { class: "ao-template-rules__body" }, yv = { class: "ao-template-rule
|
|
|
8867
8867
|
}, n = (s) => {
|
|
8868
8868
|
e("removeRule", s);
|
|
8869
8869
|
};
|
|
8870
|
-
return (s, o) => (p(), P(
|
|
8870
|
+
return (s, o) => (p(), P(Hn, null, {
|
|
8871
8871
|
header: Z(() => [
|
|
8872
8872
|
M(ye, {
|
|
8873
8873
|
title: s.$t("template.rules.title"),
|
|
@@ -8969,14 +8969,14 @@ const wv = {
|
|
|
8969
8969
|
);
|
|
8970
8970
|
const l = A(() => {
|
|
8971
8971
|
var k, m;
|
|
8972
|
-
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E,
|
|
8973
|
-
const J =
|
|
8972
|
+
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E, X) => {
|
|
8973
|
+
const J = X.milestones || [];
|
|
8974
8974
|
return [...E, ...J];
|
|
8975
8975
|
}, [])) || [];
|
|
8976
8976
|
}), c = A(() => {
|
|
8977
8977
|
var k, m;
|
|
8978
|
-
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E,
|
|
8979
|
-
const re = (
|
|
8978
|
+
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E, X) => {
|
|
8979
|
+
const re = (X.milestones || []).reduce(
|
|
8980
8980
|
(ae, le) => le.activities ? [...ae, ...le.activities] : ae,
|
|
8981
8981
|
[]
|
|
8982
8982
|
);
|
|
@@ -9069,7 +9069,7 @@ const wv = {
|
|
|
9069
9069
|
const { milestoneId: m } = k;
|
|
9070
9070
|
if (!r.value)
|
|
9071
9071
|
return;
|
|
9072
|
-
const { name: E, rank:
|
|
9072
|
+
const { name: E, rank: X } = Rt(
|
|
9073
9073
|
r.value.activities,
|
|
9074
9074
|
"activity",
|
|
9075
9075
|
n
|
|
@@ -9078,7 +9078,7 @@ const wv = {
|
|
|
9078
9078
|
type: Ce.ACTIVITIES,
|
|
9079
9079
|
milestoneId: m,
|
|
9080
9080
|
templateId: a.templateId,
|
|
9081
|
-
item: { name: E, rank:
|
|
9081
|
+
item: { name: E, rank: X, milestoneId: m }
|
|
9082
9082
|
});
|
|
9083
9083
|
}, L = (k) => {
|
|
9084
9084
|
var m, E;
|
|
@@ -9149,11 +9149,11 @@ const wv = {
|
|
|
9149
9149
|
e("removeFile", k);
|
|
9150
9150
|
};
|
|
9151
9151
|
return (k, m) => {
|
|
9152
|
-
var E,
|
|
9152
|
+
var E, X, J, re, ae, le;
|
|
9153
9153
|
return s.value ? (p(), g("div", wv, [
|
|
9154
9154
|
M(Ga, {
|
|
9155
9155
|
"can-go-back": !0,
|
|
9156
|
-
onGoBack: m[1] || (m[1] = (x) => k.$router.push({ name:
|
|
9156
|
+
onGoBack: m[1] || (m[1] = (x) => k.$router.push({ name: Q(Pt).TEMPLATES_LIST }))
|
|
9157
9157
|
}, {
|
|
9158
9158
|
primary: Z(() => [
|
|
9159
9159
|
M(ye, {
|
|
@@ -9170,7 +9170,7 @@ const wv = {
|
|
|
9170
9170
|
v("div", $v, [
|
|
9171
9171
|
v("ol", kv, [
|
|
9172
9172
|
v("li", Sv, [
|
|
9173
|
-
M(
|
|
9173
|
+
M(Q(mt), {
|
|
9174
9174
|
"model-value": s.value.phases,
|
|
9175
9175
|
class: "ao-templates__list",
|
|
9176
9176
|
"item-key": "id",
|
|
@@ -9231,7 +9231,7 @@ const wv = {
|
|
|
9231
9231
|
i.value && r.value ? (p(), P(C5, {
|
|
9232
9232
|
key: 0,
|
|
9233
9233
|
"template-id": k.templateId,
|
|
9234
|
-
"phase-id": (
|
|
9234
|
+
"phase-id": (X = i.value) == null ? void 0 : X.id,
|
|
9235
9235
|
milestone: r.value,
|
|
9236
9236
|
"activity-id": (J = u.value) == null ? void 0 : J.id,
|
|
9237
9237
|
onAddActivity: D,
|
|
@@ -9293,7 +9293,7 @@ const Ev = {
|
|
|
9293
9293
|
}, Iv = { class: "ao-card__body" }, Lv = {
|
|
9294
9294
|
key: 1,
|
|
9295
9295
|
class: "ao-card__footer"
|
|
9296
|
-
},
|
|
9296
|
+
}, qn = /* @__PURE__ */ q({
|
|
9297
9297
|
__name: "AoCard",
|
|
9298
9298
|
props: {
|
|
9299
9299
|
isClickable: { type: Boolean },
|
|
@@ -9325,7 +9325,7 @@ const Ev = {
|
|
|
9325
9325
|
}, 8, ["class"]));
|
|
9326
9326
|
}
|
|
9327
9327
|
});
|
|
9328
|
-
const
|
|
9328
|
+
const zn = /* @__PURE__ */ q({
|
|
9329
9329
|
__name: "AoProgress",
|
|
9330
9330
|
props: {
|
|
9331
9331
|
percentages: {},
|
|
@@ -9380,12 +9380,12 @@ const Hv = { class: "ao-card-project-phase__header" }, Dv = { class: "ao-card-pr
|
|
|
9380
9380
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9381
9381
|
}), i = A(() => {
|
|
9382
9382
|
var c;
|
|
9383
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9383
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === _n.done).length;
|
|
9384
9384
|
}), r = A(() => (i.value || 0) / (o.value || 1)), l = A({
|
|
9385
9385
|
get: () => a.deadline ?? "",
|
|
9386
9386
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
9387
9387
|
});
|
|
9388
|
-
return (c, u) => (p(), P(
|
|
9388
|
+
return (c, u) => (p(), P(qn, {
|
|
9389
9389
|
class: "ao-card-project-phase",
|
|
9390
9390
|
"is-clickable": c.isEditable
|
|
9391
9391
|
}, Za({
|
|
@@ -9409,7 +9409,7 @@ const Hv = { class: "ao-card-project-phase__header" }, Dv = { class: "ao-card-pr
|
|
|
9409
9409
|
}),
|
|
9410
9410
|
v("span", Bv, K(i.value) + " / " + K(o.value), 1)
|
|
9411
9411
|
]),
|
|
9412
|
-
M(
|
|
9412
|
+
M(zn, {
|
|
9413
9413
|
percentages: r.value,
|
|
9414
9414
|
class: "ao-card-project-phase__progress"
|
|
9415
9415
|
}, null, 8, ["percentages"]),
|
|
@@ -9433,7 +9433,7 @@ const Hv = { class: "ao-card-project-phase__header" }, Dv = { class: "ao-card-pr
|
|
|
9433
9433
|
{ lazy: !0 }
|
|
9434
9434
|
]
|
|
9435
9435
|
]) : O("", !0),
|
|
9436
|
-
v("span", Nv, K(
|
|
9436
|
+
v("span", Nv, K(Q(En)(c.deadline)), 1)
|
|
9437
9437
|
], 2)
|
|
9438
9438
|
])
|
|
9439
9439
|
]),
|
|
@@ -9512,12 +9512,12 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
|
|
|
9512
9512
|
}), o = A(() => {
|
|
9513
9513
|
var l;
|
|
9514
9514
|
return (l = a.activities) == null ? void 0 : l.filter(
|
|
9515
|
-
(c) =>
|
|
9515
|
+
(c) => In(c, a.closedStatus)
|
|
9516
9516
|
).length;
|
|
9517
9517
|
}), i = A(() => (o.value || 0) / (s.value || 1)), r = (l) => {
|
|
9518
9518
|
e("updateMilestone", { id: a.id, name: l });
|
|
9519
9519
|
};
|
|
9520
|
-
return (l, c) => (p(), P(
|
|
9520
|
+
return (l, c) => (p(), P(qn, {
|
|
9521
9521
|
class: Y([
|
|
9522
9522
|
"ao-card-project-milestone",
|
|
9523
9523
|
{ "ao-card-project-milestone--selected": l.isSelected }
|
|
@@ -9564,7 +9564,7 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
|
|
|
9564
9564
|
}),
|
|
9565
9565
|
v("span", Yv, K(o.value) + " / " + K(s.value), 1)
|
|
9566
9566
|
]),
|
|
9567
|
-
M(
|
|
9567
|
+
M(zn, {
|
|
9568
9568
|
percentages: i.value,
|
|
9569
9569
|
class: "ao-card-project-milestone__progress"
|
|
9570
9570
|
}, null, 8, ["percentages"])
|
|
@@ -9586,11 +9586,11 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
|
|
|
9586
9586
|
size: "sm"
|
|
9587
9587
|
}, null, 8, ["class"])) : O("", !0),
|
|
9588
9588
|
l.deadline ? (p(), g("label", Xv, [
|
|
9589
|
-
v("span", Qv, K(
|
|
9589
|
+
v("span", Qv, K(Q(En)(l.deadline)), 1)
|
|
9590
9590
|
])) : O("", !0),
|
|
9591
9591
|
l.assignee ? (p(), g("div", Jv, [
|
|
9592
9592
|
M(Je, {
|
|
9593
|
-
"user-name":
|
|
9593
|
+
"user-name": Q(xs)(l.assignee),
|
|
9594
9594
|
"avatar-url": l.assignee.avatarUrl,
|
|
9595
9595
|
color: l.isSelected ? "black" : "primary",
|
|
9596
9596
|
size: "sm"
|
|
@@ -9682,7 +9682,7 @@ const t9 = {
|
|
|
9682
9682
|
]),
|
|
9683
9683
|
v("div", n9, [
|
|
9684
9684
|
v("div", s9, [
|
|
9685
|
-
M(
|
|
9685
|
+
M(Q(mt), He({
|
|
9686
9686
|
class: "ao-project-phase__milestones-list",
|
|
9687
9687
|
list: i.value,
|
|
9688
9688
|
disabled: d.readonly || !d.isEditable,
|
|
@@ -9707,7 +9707,7 @@ const t9 = {
|
|
|
9707
9707
|
readonly: d.readonly,
|
|
9708
9708
|
class: Y(["ao-project-phase__milestone"]),
|
|
9709
9709
|
onClick: (S) => !d.readonly && d.$router.push({
|
|
9710
|
-
name:
|
|
9710
|
+
name: d.projectOverviewRoutes.milestone,
|
|
9711
9711
|
params: { phaseId: d.phase.id, milestoneId: b.id }
|
|
9712
9712
|
}),
|
|
9713
9713
|
onUpdateMilestone: l,
|
|
@@ -9772,7 +9772,7 @@ const r9 = { class: "ao-project__phases" }, l9 = {
|
|
|
9772
9772
|
e("addPhase", u);
|
|
9773
9773
|
};
|
|
9774
9774
|
return (u, f) => (p(), g("div", r9, [
|
|
9775
|
-
M(
|
|
9775
|
+
M(Q(mt), {
|
|
9776
9776
|
class: "ao-project-phase__phases-list",
|
|
9777
9777
|
"model-value": u.phases,
|
|
9778
9778
|
"item-key": "id",
|
|
@@ -9826,7 +9826,7 @@ const f9 = ["onSubmit"], v9 = { class: "ao-add-template-modal__form-body" }, h9
|
|
|
9826
9826
|
}, i = () => {
|
|
9827
9827
|
s.value && e("apply", s.value, a.projectId);
|
|
9828
9828
|
};
|
|
9829
|
-
return (r, l) => (p(), P(
|
|
9829
|
+
return (r, l) => (p(), P(Hn, { size: "sm" }, {
|
|
9830
9830
|
header: Z(() => [
|
|
9831
9831
|
M(ye, {
|
|
9832
9832
|
title: r.$t("project.template.add.title"),
|
|
@@ -9978,7 +9978,7 @@ const di = /* @__PURE__ */ N(g9, [["render", y9], ["__scopeId", "data-v-cbe33527
|
|
|
9978
9978
|
e("applyTemplate", { templateId: I, projectId: z }), F.value = !1;
|
|
9979
9979
|
};
|
|
9980
9980
|
return (I, z) => {
|
|
9981
|
-
const R =
|
|
9981
|
+
const R = xe("RouterView");
|
|
9982
9982
|
return p(), g(ve, null, [
|
|
9983
9983
|
v("div", He({ class: "ao-project-overview" }, I.$attrs), [
|
|
9984
9984
|
v("div", b9, [
|
|
@@ -9989,7 +9989,7 @@ const di = /* @__PURE__ */ N(g9, [["render", y9], ["__scopeId", "data-v-cbe33527
|
|
|
9989
9989
|
"right-label": I.$t("project.switch.feed"),
|
|
9990
9990
|
"left-label": I.$t("project.switch.overview"),
|
|
9991
9991
|
"onUpdate:isLeft": z[0] || (z[0] = (U) => {
|
|
9992
|
-
U || I.$router.push({ name:
|
|
9992
|
+
U || I.$router.push({ name: Q(Ye).feed });
|
|
9993
9993
|
})
|
|
9994
9994
|
}, null, 8, ["right-label", "left-label"]),
|
|
9995
9995
|
M(ce, {
|
|
@@ -10039,7 +10039,7 @@ const di = /* @__PURE__ */ N(g9, [["render", y9], ["__scopeId", "data-v-cbe33527
|
|
|
10039
10039
|
users: I.users,
|
|
10040
10040
|
"is-editable": I.isEditable === !0,
|
|
10041
10041
|
"closed-status": I.closedStatus,
|
|
10042
|
-
onClose: z[3] || (z[3] = (U) => I.$router.push({ name:
|
|
10042
|
+
onClose: z[3] || (z[3] = (U) => I.$router.push({ name: Q(Ye).project })),
|
|
10043
10043
|
onUpdateMilestone: c,
|
|
10044
10044
|
onAddActivity: f,
|
|
10045
10045
|
onUpdateActivity: d,
|
|
@@ -10155,7 +10155,7 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10155
10155
|
id: a.id,
|
|
10156
10156
|
name: h
|
|
10157
10157
|
});
|
|
10158
|
-
}, i = A(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = A(() => a.assignee ? [a.assignee] : []), l = A(() =>
|
|
10158
|
+
}, i = A(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = A(() => a.assignee ? [a.assignee] : []), l = A(() => En(a.deadline)), c = (h) => {
|
|
10159
10159
|
e("removeAssignee", h);
|
|
10160
10160
|
}, u = A(() => {
|
|
10161
10161
|
var h;
|
|
@@ -10164,7 +10164,7 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10164
10164
|
var h;
|
|
10165
10165
|
return (h = a.tasks) == null ? void 0 : h.filter((w) => w.isDone).length;
|
|
10166
10166
|
}), d = A(() => (f.value || 0) / (u.value || 1));
|
|
10167
|
-
return (h, w) => (p(), P(
|
|
10167
|
+
return (h, w) => (p(), P(qn, {
|
|
10168
10168
|
class: Y(["ao-card-feed", { "ao-card-feed--closed": h.isClosed }]),
|
|
10169
10169
|
"is-clickable": !0
|
|
10170
10170
|
}, {
|
|
@@ -10230,7 +10230,7 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10230
10230
|
}, [
|
|
10231
10231
|
b ? (p(), g("li", V9, [
|
|
10232
10232
|
M(Je, {
|
|
10233
|
-
"user-name":
|
|
10233
|
+
"user-name": Q(xs)(b),
|
|
10234
10234
|
"avatar-url": b.avatarUrl,
|
|
10235
10235
|
"is-closable": !0,
|
|
10236
10236
|
onClose: () => c(b.id)
|
|
@@ -10264,7 +10264,7 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10264
10264
|
}),
|
|
10265
10265
|
v("span", q9, K(f.value) + " / " + K(u.value), 1)
|
|
10266
10266
|
]),
|
|
10267
|
-
M(
|
|
10267
|
+
M(zn, {
|
|
10268
10268
|
percentages: d.value,
|
|
10269
10269
|
class: "ao-card-feed__progress"
|
|
10270
10270
|
}, null, 8, ["percentages"])
|
|
@@ -10283,15 +10283,15 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10283
10283
|
*/
|
|
10284
10284
|
function wt(t) {
|
|
10285
10285
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10286
|
-
/#/.test(t) ? e = x9(t) : /rgb/.test(t) ? e =
|
|
10286
|
+
/#/.test(t) ? e = x9(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10287
10287
|
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Y9(e);
|
|
10288
10288
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10289
10289
|
}
|
|
10290
|
-
function
|
|
10290
|
+
function xn(t) {
|
|
10291
10291
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10292
10292
|
return e.width = n, e.height = n, a.fillStyle = "#ffffff", a.fillRect(0, 0, n, n), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
10293
10293
|
}
|
|
10294
|
-
function
|
|
10294
|
+
function Sn(t, e, a, n, s, o) {
|
|
10295
10295
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
|
|
10296
10296
|
r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
|
|
10297
10297
|
}
|
|
@@ -10308,7 +10308,7 @@ function x9(t) {
|
|
|
10308
10308
|
b: e(t.slice(4, 6))
|
|
10309
10309
|
};
|
|
10310
10310
|
}
|
|
10311
|
-
function
|
|
10311
|
+
function Ms(t) {
|
|
10312
10312
|
return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
|
|
10313
10313
|
r: Number(t[0]) || 0,
|
|
10314
10314
|
g: Number(t[1]) || 0,
|
|
@@ -10324,7 +10324,7 @@ function Y9({ r: t, g: e, b: a }) {
|
|
|
10324
10324
|
let r = parseFloat((n === 0 ? 0 : 1 - s / n).toFixed(2)), l = parseFloat(n.toFixed(2));
|
|
10325
10325
|
return { h: i, s: r, v: l };
|
|
10326
10326
|
}
|
|
10327
|
-
var
|
|
10327
|
+
var Yn = q({
|
|
10328
10328
|
props: {
|
|
10329
10329
|
color: {
|
|
10330
10330
|
type: String,
|
|
@@ -10357,7 +10357,7 @@ var xn = q({
|
|
|
10357
10357
|
methods: {
|
|
10358
10358
|
renderColor() {
|
|
10359
10359
|
const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
|
|
10360
|
-
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e),
|
|
10360
|
+
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), Sn("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), Sn("p", a, e, e, "rgba(0,0,0,0)", "#000000");
|
|
10361
10361
|
},
|
|
10362
10362
|
renderSlide() {
|
|
10363
10363
|
this.slideSaturationStyle = {
|
|
@@ -10414,9 +10414,9 @@ function G9(t, e, a, n, s, o) {
|
|
|
10414
10414
|
/* HYDRATE_EVENTS */
|
|
10415
10415
|
);
|
|
10416
10416
|
}
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
var
|
|
10417
|
+
Yn.render = G9;
|
|
10418
|
+
Yn.__file = "src/color/Saturation.vue";
|
|
10419
|
+
var Kn = q({
|
|
10420
10420
|
props: {
|
|
10421
10421
|
hsv: {
|
|
10422
10422
|
type: Object,
|
|
@@ -10500,9 +10500,9 @@ function Q9(t, e, a, n, s, o) {
|
|
|
10500
10500
|
/* HYDRATE_EVENTS */
|
|
10501
10501
|
);
|
|
10502
10502
|
}
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
var
|
|
10503
|
+
Kn.render = Q9;
|
|
10504
|
+
Kn.__file = "src/color/Hue.vue";
|
|
10505
|
+
var Gn = q({
|
|
10506
10506
|
props: {
|
|
10507
10507
|
color: {
|
|
10508
10508
|
type: String,
|
|
@@ -10541,8 +10541,8 @@ var Kn = q({
|
|
|
10541
10541
|
},
|
|
10542
10542
|
methods: {
|
|
10543
10543
|
renderColor() {
|
|
10544
|
-
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10545
|
-
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a),
|
|
10544
|
+
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = xn(n), o = t.getContext("2d");
|
|
10545
|
+
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), Sn("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10546
10546
|
},
|
|
10547
10547
|
renderSlide() {
|
|
10548
10548
|
this.slideAlphaStyle = {
|
|
@@ -10595,9 +10595,9 @@ function e4(t, e, a, n, s, o) {
|
|
|
10595
10595
|
/* HYDRATE_EVENTS */
|
|
10596
10596
|
);
|
|
10597
10597
|
}
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
var
|
|
10598
|
+
Gn.render = e4;
|
|
10599
|
+
Gn.__file = "src/color/Alpha.vue";
|
|
10600
|
+
var Xn = q({
|
|
10601
10601
|
props: {
|
|
10602
10602
|
color: {
|
|
10603
10603
|
type: String,
|
|
@@ -10627,7 +10627,7 @@ var Gn = q({
|
|
|
10627
10627
|
},
|
|
10628
10628
|
methods: {
|
|
10629
10629
|
renderColor() {
|
|
10630
|
-
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10630
|
+
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s = xn(n), o = t.getContext("2d");
|
|
10631
10631
|
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), o.fillStyle = this.color, o.fillRect(0, 0, e, a);
|
|
10632
10632
|
}
|
|
10633
10633
|
}
|
|
@@ -10635,9 +10635,9 @@ var Gn = q({
|
|
|
10635
10635
|
function t4(t, e, a, n, s, o) {
|
|
10636
10636
|
return p(), P("canvas");
|
|
10637
10637
|
}
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
var
|
|
10638
|
+
Xn.render = t4;
|
|
10639
|
+
Xn.__file = "src/color/Preview.vue";
|
|
10640
|
+
var Qn = q({
|
|
10641
10641
|
props: {
|
|
10642
10642
|
suckerCanvas: {
|
|
10643
10643
|
type: Object,
|
|
@@ -10764,9 +10764,9 @@ function i4(t, e, a, n, s, o) {
|
|
|
10764
10764
|
])) : O("v-if", !0)
|
|
10765
10765
|
]);
|
|
10766
10766
|
}
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
var
|
|
10767
|
+
Qn.render = i4;
|
|
10768
|
+
Qn.__file = "src/color/Sucker.vue";
|
|
10769
|
+
var Jn = q({
|
|
10770
10770
|
props: {
|
|
10771
10771
|
name: {
|
|
10772
10772
|
type: String,
|
|
@@ -10823,9 +10823,9 @@ function l4(t, e, a, n, s, o) {
|
|
|
10823
10823
|
])
|
|
10824
10824
|
]);
|
|
10825
10825
|
}
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
var
|
|
10826
|
+
Jn.render = l4;
|
|
10827
|
+
Jn.__file = "src/color/Box.vue";
|
|
10828
|
+
var es = q({
|
|
10829
10829
|
name: "ColorPicker",
|
|
10830
10830
|
props: {
|
|
10831
10831
|
color: {
|
|
@@ -10844,7 +10844,7 @@ var Jn = q({
|
|
|
10844
10844
|
emits: ["selectColor"],
|
|
10845
10845
|
setup(t, { emit: e }) {
|
|
10846
10846
|
const a = ee(), n = ee([]), s = ee();
|
|
10847
|
-
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value =
|
|
10847
|
+
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = xn(4).toDataURL(), An(() => {
|
|
10848
10848
|
o(a.value);
|
|
10849
10849
|
});
|
|
10850
10850
|
function o(r) {
|
|
@@ -10941,17 +10941,17 @@ function d4(t, e, a, n, s, o) {
|
|
|
10941
10941
|
])) : O("v-if", !0)
|
|
10942
10942
|
]);
|
|
10943
10943
|
}
|
|
10944
|
-
|
|
10945
|
-
|
|
10944
|
+
es.render = d4;
|
|
10945
|
+
es.__file = "src/color/Colors.vue";
|
|
10946
10946
|
var Nt = q({
|
|
10947
10947
|
components: {
|
|
10948
|
-
Saturation:
|
|
10949
|
-
Hue:
|
|
10950
|
-
Alpha:
|
|
10951
|
-
Preview:
|
|
10952
|
-
Sucker:
|
|
10953
|
-
Box:
|
|
10954
|
-
Colors:
|
|
10948
|
+
Saturation: Yn,
|
|
10949
|
+
Hue: Kn,
|
|
10950
|
+
Alpha: Gn,
|
|
10951
|
+
Preview: Xn,
|
|
10952
|
+
Sucker: Qn,
|
|
10953
|
+
Box: Jn,
|
|
10954
|
+
Colors: es
|
|
10955
10955
|
},
|
|
10956
10956
|
emits: ["changeColor", "openSucker", "inputFocus", "inputBlur"],
|
|
10957
10957
|
props: {
|
|
@@ -11118,7 +11118,7 @@ var Nt = q({
|
|
|
11118
11118
|
});
|
|
11119
11119
|
const p4 = { class: "color-set" };
|
|
11120
11120
|
function f4(t, e, a, n, s, o) {
|
|
11121
|
-
const i =
|
|
11121
|
+
const i = xe("Saturation"), r = xe("Hue"), l = xe("Alpha"), c = xe("Preview"), u = xe("Sucker"), f = xe("Box"), d = xe("Colors");
|
|
11122
11122
|
return p(), P(
|
|
11123
11123
|
"div",
|
|
11124
11124
|
{
|
|
@@ -11231,7 +11231,7 @@ const v4 = {
|
|
|
11231
11231
|
}
|
|
11232
11232
|
}, h4 = { class: "color-picker-wrapper" };
|
|
11233
11233
|
function m4(t, e, a, n, s, o) {
|
|
11234
|
-
const i =
|
|
11234
|
+
const i = xe("ColorPicker");
|
|
11235
11235
|
return p(), g("div", h4, [
|
|
11236
11236
|
v("button", {
|
|
11237
11237
|
style: Ua({ backgroundColor: a.color }),
|
|
@@ -11253,7 +11253,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11253
11253
|
}, k4 = { class: "ao-field__row ao-milestone__field-row" }, S4 = { class: "ao-field ao-field--inline" }, A4 = { class: "ao-field__row ao-milestone__field-row" }, M4 = { class: "ao-field ao-milestone__field-multiselect" }, T4 = { class: "ao-project-milestone__body" }, O4 = {
|
|
11254
11254
|
key: 0,
|
|
11255
11255
|
class: "ao-project-milestone__footer"
|
|
11256
|
-
},
|
|
11256
|
+
}, Ts = /* @__PURE__ */ q({
|
|
11257
11257
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11258
11258
|
props: {
|
|
11259
11259
|
milestoneId: {},
|
|
@@ -11327,7 +11327,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11327
11327
|
deadline: _ != null && _.length ? _ : null
|
|
11328
11328
|
});
|
|
11329
11329
|
}
|
|
11330
|
-
}), w = (_) => a.closedStatus ?
|
|
11330
|
+
}), w = (_) => a.closedStatus ? In(_, a.closedStatus) : !1, b = A(() => {
|
|
11331
11331
|
var _;
|
|
11332
11332
|
return ((_ = a.users) == null ? void 0 : _.map((C) => ({
|
|
11333
11333
|
label: `${C.firstName} ${C.lastName}`,
|
|
@@ -11374,7 +11374,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11374
11374
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11375
11375
|
level: 5
|
|
11376
11376
|
}, null, 8, ["title"]),
|
|
11377
|
-
M(
|
|
11377
|
+
M(kn, {
|
|
11378
11378
|
modelValue: S.value,
|
|
11379
11379
|
"onUpdate:modelValue": C[0] || (C[0] = (L) => S.value = L),
|
|
11380
11380
|
modelModifiers: { lazy: !0 },
|
|
@@ -11442,7 +11442,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11442
11442
|
])) : O("", !0)
|
|
11443
11443
|
]),
|
|
11444
11444
|
v("div", T4, [
|
|
11445
|
-
M(
|
|
11445
|
+
M(Q(mt), He({
|
|
11446
11446
|
class: "ao-project-milestone__activities",
|
|
11447
11447
|
list: r.value,
|
|
11448
11448
|
disabled: !_.isEditable,
|
|
@@ -11470,7 +11470,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11470
11470
|
"is-private": L.private,
|
|
11471
11471
|
"is-closed": w(L),
|
|
11472
11472
|
onClick: (z) => _.$router.push({
|
|
11473
|
-
name:
|
|
11473
|
+
name: Q(Ye).activity,
|
|
11474
11474
|
params: { milestoneId: _.milestoneId, activityId: L.id }
|
|
11475
11475
|
}),
|
|
11476
11476
|
onUpdateActivity: u,
|
|
@@ -11638,7 +11638,7 @@ function H4(t) {
|
|
|
11638
11638
|
return Bi() ? (Ri(t), !0) : !1;
|
|
11639
11639
|
}
|
|
11640
11640
|
function ja(t) {
|
|
11641
|
-
return typeof t == "function" ? t() :
|
|
11641
|
+
return typeof t == "function" ? t() : Q(t);
|
|
11642
11642
|
}
|
|
11643
11643
|
const D4 = typeof window < "u" && typeof document < "u";
|
|
11644
11644
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -11809,7 +11809,7 @@ const Z4 = {
|
|
|
11809
11809
|
])
|
|
11810
11810
|
];
|
|
11811
11811
|
}) : O("", !0),
|
|
11812
|
-
M(
|
|
11812
|
+
M(Q(mt), He({
|
|
11813
11813
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11814
11814
|
list: u.list,
|
|
11815
11815
|
"item-key": "id",
|
|
@@ -11849,7 +11849,6 @@ const Z4 = {
|
|
|
11849
11849
|
attachments: (L = d.attachments) == null ? void 0 : L.length,
|
|
11850
11850
|
users: u.users,
|
|
11851
11851
|
assignee: d.assignee,
|
|
11852
|
-
slug: d.slug,
|
|
11853
11852
|
"is-editable": o(d),
|
|
11854
11853
|
"is-private": d.private,
|
|
11855
11854
|
"tag-type": u.tagType,
|
|
@@ -11882,7 +11881,7 @@ const Z4 = {
|
|
|
11882
11881
|
}, null, 8, ["label", "onClick"])) : O("", !0)
|
|
11883
11882
|
]),
|
|
11884
11883
|
_: 2
|
|
11885
|
-
}, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "
|
|
11884
|
+
}, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "tag-type", "onUpdateActivity", "onClick", "onRemoveAssignee"])
|
|
11886
11885
|
];
|
|
11887
11886
|
}),
|
|
11888
11887
|
footer: Z(() => [
|
|
@@ -11934,7 +11933,7 @@ const X4 = { class: "ao-field ao-search-field" }, Q4 = ["value", "placeholder",
|
|
|
11934
11933
|
class: "ao-field__input ao-search-field__input",
|
|
11935
11934
|
placeholder: i.placeholder,
|
|
11936
11935
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11937
|
-
(...l) =>
|
|
11936
|
+
(...l) => Q(s) && Q(s)(...l)),
|
|
11938
11937
|
onKeypress: dt(n, ["enter"])
|
|
11939
11938
|
}, null, 40, Q4),
|
|
11940
11939
|
M(pe, {
|
|
@@ -11952,7 +11951,7 @@ const X4 = { class: "ao-field ao-search-field" }, Q4 = ["value", "placeholder",
|
|
|
11952
11951
|
]));
|
|
11953
11952
|
}
|
|
11954
11953
|
});
|
|
11955
|
-
const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" },
|
|
11954
|
+
const e8 = { class: "ao-feed" }, t8 = /* @__PURE__ */ v("div", null, "************************************************************************************", -1), a8 = /* @__PURE__ */ v("div", null, "************************************************************************************", -1), n8 = /* @__PURE__ */ v("div", null, "************************************************************************************", -1), s8 = { class: "ao-feed__filters" }, i8 = { class: "ao-feed__body" }, fi = /* @__PURE__ */ q({
|
|
11956
11955
|
__name: "AoFeed",
|
|
11957
11956
|
props: {
|
|
11958
11957
|
activities: {},
|
|
@@ -11989,7 +11988,7 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
11989
11988
|
de(
|
|
11990
11989
|
[() => a.statuses, () => a.activities, () => a.initialActivityId],
|
|
11991
11990
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11992
|
-
async ([T, k, m], [E,
|
|
11991
|
+
async ([T, k, m], [E, X]) => {
|
|
11993
11992
|
r.value = Object.fromEntries(
|
|
11994
11993
|
T.map((J) => [
|
|
11995
11994
|
J.id,
|
|
@@ -11998,7 +11997,7 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
11998
11997
|
return ((ae = re.status) == null ? void 0 : ae.id) === J.id;
|
|
11999
11998
|
})
|
|
12000
11999
|
])
|
|
12001
|
-
), m && !l.value && (i(m), l.value = !0), c.value && Xe(k,
|
|
12000
|
+
), m && !l.value && (i(m), l.value = !0), c.value && Xe(k, X);
|
|
12002
12001
|
},
|
|
12003
12002
|
{ immediate: !0 }
|
|
12004
12003
|
);
|
|
@@ -12007,12 +12006,12 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12007
12006
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((T = a.selectedActivity.milestone.phase) == null ? void 0 : T.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12008
12007
|
}), d = (T) => {
|
|
12009
12008
|
var J, re;
|
|
12010
|
-
const k = (J = a.activities) == null ? void 0 : J.at(-1), m = k ? Ie.LexoRank.parse(k.rank).genNext() : Ie.LexoRank.middle(), E = ((re = a.activities) == null ? void 0 : re.length) ?? 0,
|
|
12009
|
+
const k = (J = a.activities) == null ? void 0 : J.at(-1), m = k ? Ie.LexoRank.parse(k.rank).genNext() : Ie.LexoRank.middle(), E = ((re = a.activities) == null ? void 0 : re.length) ?? 0, X = {
|
|
12011
12010
|
name: n("activity.defaultName", { idx: E + 1 }),
|
|
12012
12011
|
rank: m.format(),
|
|
12013
12012
|
statusId: T.id
|
|
12014
12013
|
};
|
|
12015
|
-
a.filters.assigneeId.length > 0 && (
|
|
12014
|
+
a.filters.assigneeId.length > 0 && (X.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (X.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (X.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", X);
|
|
12016
12015
|
}, h = (T, k) => {
|
|
12017
12016
|
c.value = !1, e("update:filters", { ...a.filters, [T]: k });
|
|
12018
12017
|
}, w = A(
|
|
@@ -12067,16 +12066,19 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12067
12066
|
return (T, k) => {
|
|
12068
12067
|
var m;
|
|
12069
12068
|
return p(), g("div", e8, [
|
|
12069
|
+
t8,
|
|
12070
|
+
a8,
|
|
12071
|
+
n8,
|
|
12070
12072
|
M(Ga, null, {
|
|
12071
12073
|
primary: Z(() => [
|
|
12072
|
-
v("div",
|
|
12074
|
+
v("div", s8, [
|
|
12073
12075
|
a.project ? (p(), P(di, {
|
|
12074
12076
|
key: 0,
|
|
12075
12077
|
"is-left": !1,
|
|
12076
12078
|
"right-label": T.$t("project.switch.feed"),
|
|
12077
12079
|
"left-label": T.$t("project.switch.overview"),
|
|
12078
12080
|
"onUpdate:isLeft": k[0] || (k[0] = (E) => {
|
|
12079
|
-
E && T.$router.push({ name:
|
|
12081
|
+
E && T.$router.push({ name: Q(Ye).project });
|
|
12080
12082
|
})
|
|
12081
12083
|
}, null, 8, ["right-label", "left-label"])) : O("", !0),
|
|
12082
12084
|
M(J4, {
|
|
@@ -12088,46 +12090,46 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12088
12090
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12089
12091
|
a.project ? O("", !0) : (p(), P($e, {
|
|
12090
12092
|
key: 1,
|
|
12091
|
-
"model-value": T.filters[
|
|
12093
|
+
"model-value": T.filters[Q(Ht).project],
|
|
12092
12094
|
mode: "tags",
|
|
12093
12095
|
options: b.value,
|
|
12094
12096
|
"close-on-select": !1,
|
|
12095
12097
|
searchable: !0,
|
|
12096
12098
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12097
12099
|
placeholder: T.$t("feed.filters.project.placeholder"),
|
|
12098
|
-
"onUpdate:modelValue": k[1] || (k[1] = (E) => h(
|
|
12100
|
+
"onUpdate:modelValue": k[1] || (k[1] = (E) => h(Q(Ht).project, E))
|
|
12099
12101
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12100
12102
|
y.value ? (p(), P($e, {
|
|
12101
12103
|
key: 2,
|
|
12102
|
-
"model-value": T.filters[
|
|
12104
|
+
"model-value": T.filters[Q(Ht).type],
|
|
12103
12105
|
mode: "tags",
|
|
12104
12106
|
options: y.value,
|
|
12105
12107
|
"close-on-select": !1,
|
|
12106
12108
|
searchable: !0,
|
|
12107
12109
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12108
12110
|
placeholder: T.$t("feed.filters.activityType.placeholder"),
|
|
12109
|
-
"onUpdate:modelValue": k[2] || (k[2] = (E) => h(
|
|
12111
|
+
"onUpdate:modelValue": k[2] || (k[2] = (E) => h(Q(Ht).type, E))
|
|
12110
12112
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12111
12113
|
S.value.length ? (p(), P($e, {
|
|
12112
12114
|
key: 3,
|
|
12113
|
-
"model-value": T.filters[
|
|
12115
|
+
"model-value": T.filters[Q(Ht).assignee],
|
|
12114
12116
|
mode: "tags",
|
|
12115
12117
|
options: S.value,
|
|
12116
12118
|
"close-on-select": !1,
|
|
12117
12119
|
searchable: !0,
|
|
12118
12120
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12119
12121
|
placeholder: T.$t("feed.filters.assignee.placeholder"),
|
|
12120
|
-
"onUpdate:modelValue": k[3] || (k[3] = (E) => h(
|
|
12122
|
+
"onUpdate:modelValue": k[3] || (k[3] = (E) => h(Q(Ht).assignee, E))
|
|
12121
12123
|
}, {
|
|
12122
12124
|
tag: Z(({
|
|
12123
12125
|
option: E,
|
|
12124
|
-
handleTagRemove:
|
|
12126
|
+
handleTagRemove: X
|
|
12125
12127
|
}) => [
|
|
12126
12128
|
M(Je, {
|
|
12127
12129
|
"user-name": E.label,
|
|
12128
12130
|
"avatar-url": E.avatar,
|
|
12129
12131
|
"is-closable": !0,
|
|
12130
|
-
onClose: (J) =>
|
|
12132
|
+
onClose: (J) => X(E, J)
|
|
12131
12133
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12132
12134
|
]),
|
|
12133
12135
|
_: 1
|
|
@@ -12160,7 +12162,7 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12160
12162
|
]),
|
|
12161
12163
|
_: 1
|
|
12162
12164
|
}),
|
|
12163
|
-
v("div",
|
|
12165
|
+
v("div", i8, [
|
|
12164
12166
|
(p(!0), g(ve, null, _e(T.statuses, (E) => (p(), P(G4, {
|
|
12165
12167
|
key: E.id,
|
|
12166
12168
|
status: E,
|
|
@@ -12218,7 +12220,7 @@ const Pt = {
|
|
|
12218
12220
|
TEMPLATES: "templates",
|
|
12219
12221
|
TEMPLATE_DETAILS: "template_details",
|
|
12220
12222
|
TEMPLATES_LIST: "templates_list"
|
|
12221
|
-
},
|
|
12223
|
+
}, w8 = (t, e = {}) => [
|
|
12222
12224
|
{
|
|
12223
12225
|
path: t,
|
|
12224
12226
|
name: Pt.TEMPLATES,
|
|
@@ -12228,7 +12230,7 @@ const Pt = {
|
|
|
12228
12230
|
{
|
|
12229
12231
|
path: "",
|
|
12230
12232
|
name: Pt.TEMPLATES_LIST,
|
|
12231
|
-
component:
|
|
12233
|
+
component: r8
|
|
12232
12234
|
},
|
|
12233
12235
|
{
|
|
12234
12236
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12238,35 +12240,35 @@ const Pt = {
|
|
|
12238
12240
|
}
|
|
12239
12241
|
]
|
|
12240
12242
|
}
|
|
12241
|
-
],
|
|
12243
|
+
], Ye = {
|
|
12242
12244
|
project: "AoProject",
|
|
12243
12245
|
feed: "AoProjectFeed",
|
|
12244
12246
|
milestone: "AoMilestone",
|
|
12245
12247
|
activity: "AoActivity"
|
|
12246
|
-
},
|
|
12248
|
+
}, $8 = (t, e = {}) => [
|
|
12247
12249
|
{
|
|
12248
12250
|
path: t,
|
|
12249
12251
|
...e,
|
|
12250
|
-
redirect: { name:
|
|
12252
|
+
redirect: { name: Ye.project },
|
|
12251
12253
|
children: [
|
|
12252
12254
|
{
|
|
12253
12255
|
path: "",
|
|
12254
|
-
name:
|
|
12256
|
+
name: Ye.project,
|
|
12255
12257
|
component: $9,
|
|
12256
12258
|
props: !0,
|
|
12257
12259
|
children: [
|
|
12258
12260
|
{
|
|
12259
12261
|
path: ":phaseId/:milestoneId",
|
|
12260
|
-
name:
|
|
12261
|
-
component:
|
|
12262
|
+
name: Ye.milestone,
|
|
12263
|
+
component: Ts,
|
|
12262
12264
|
props: !0
|
|
12263
12265
|
},
|
|
12264
12266
|
{
|
|
12265
12267
|
path: ":phaseId/:milestoneId/:activityId",
|
|
12266
|
-
name:
|
|
12268
|
+
name: Ye.activity,
|
|
12267
12269
|
props: { default: !0, modal: !0 },
|
|
12268
12270
|
components: {
|
|
12269
|
-
default:
|
|
12271
|
+
default: Ts,
|
|
12270
12272
|
modal: E4
|
|
12271
12273
|
}
|
|
12272
12274
|
}
|
|
@@ -12274,35 +12276,36 @@ const Pt = {
|
|
|
12274
12276
|
},
|
|
12275
12277
|
{
|
|
12276
12278
|
path: "feed",
|
|
12277
|
-
name:
|
|
12279
|
+
name: Ye.feed,
|
|
12278
12280
|
component: fi,
|
|
12279
12281
|
props: !0
|
|
12280
12282
|
}
|
|
12281
12283
|
]
|
|
12282
12284
|
}
|
|
12283
|
-
],
|
|
12285
|
+
], gn = {
|
|
12284
12286
|
feed: "AoFeed",
|
|
12285
|
-
|
|
12286
|
-
},
|
|
12287
|
+
activity: "AoActivityDetails"
|
|
12288
|
+
}, k8 = (t, e = {}) => [
|
|
12287
12289
|
{
|
|
12288
12290
|
path: t,
|
|
12291
|
+
redirect: { name: gn.feed },
|
|
12289
12292
|
...e,
|
|
12290
12293
|
children: [
|
|
12291
12294
|
{
|
|
12292
12295
|
path: "",
|
|
12293
|
-
name:
|
|
12296
|
+
name: gn.feed,
|
|
12294
12297
|
component: fi,
|
|
12295
12298
|
props: !0
|
|
12296
12299
|
},
|
|
12297
12300
|
{
|
|
12298
12301
|
path: ":activitySlug",
|
|
12299
|
-
name:
|
|
12302
|
+
name: gn.activity,
|
|
12300
12303
|
component: nn,
|
|
12301
12304
|
props: !0
|
|
12302
12305
|
}
|
|
12303
12306
|
]
|
|
12304
12307
|
}
|
|
12305
|
-
],
|
|
12308
|
+
], o8 = { class: "ao-templates" }, r8 = /* @__PURE__ */ q({
|
|
12306
12309
|
__name: "AoTemplatesList",
|
|
12307
12310
|
props: {
|
|
12308
12311
|
templates: {}
|
|
@@ -12342,7 +12345,7 @@ const Pt = {
|
|
|
12342
12345
|
});
|
|
12343
12346
|
}
|
|
12344
12347
|
};
|
|
12345
|
-
return (r, l) => (p(), g("div",
|
|
12348
|
+
return (r, l) => (p(), g("div", o8, [
|
|
12346
12349
|
M(Ga, null, {
|
|
12347
12350
|
secondary: Z(() => [
|
|
12348
12351
|
M(ce, {
|
|
@@ -12355,7 +12358,7 @@ const Pt = {
|
|
|
12355
12358
|
]),
|
|
12356
12359
|
_: 1
|
|
12357
12360
|
}),
|
|
12358
|
-
M(
|
|
12361
|
+
M(Q(mt), {
|
|
12359
12362
|
"model-value": r.templates,
|
|
12360
12363
|
class: "ao-templates__list",
|
|
12361
12364
|
"item-key": "id",
|
|
@@ -12369,13 +12372,13 @@ const Pt = {
|
|
|
12369
12372
|
id: c.id,
|
|
12370
12373
|
title: c.name,
|
|
12371
12374
|
phases: c.phases,
|
|
12372
|
-
milestones: (u = c.phases) != null && u.length ?
|
|
12373
|
-
activities: c.phases ?
|
|
12375
|
+
milestones: (u = c.phases) != null && u.length ? Q(T3)(c.phases) : 0,
|
|
12376
|
+
activities: c.phases ? Q(O3)(c.phases) : 0,
|
|
12374
12377
|
"updated-at": c.updatedAt,
|
|
12375
12378
|
"updated-by": c.updatedBy,
|
|
12376
12379
|
onUpdateTitle: (f) => o(c.id, f),
|
|
12377
12380
|
onClick: (f) => r.$router.push({
|
|
12378
|
-
name:
|
|
12381
|
+
name: Q(Pt).TEMPLATE_DETAILS,
|
|
12379
12382
|
params: { templateId: c.id }
|
|
12380
12383
|
})
|
|
12381
12384
|
}, null, 8, ["id", "title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
@@ -12386,7 +12389,7 @@ const Pt = {
|
|
|
12386
12389
|
]));
|
|
12387
12390
|
}
|
|
12388
12391
|
});
|
|
12389
|
-
const
|
|
12392
|
+
const l8 = { class: "ao-field__label" }, u8 = /* @__PURE__ */ q({
|
|
12390
12393
|
__name: "AoField",
|
|
12391
12394
|
props: {
|
|
12392
12395
|
label: {},
|
|
@@ -12396,11 +12399,11 @@ const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ q({
|
|
|
12396
12399
|
return (e, a) => (p(), g("label", {
|
|
12397
12400
|
class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12398
12401
|
}, [
|
|
12399
|
-
v("span",
|
|
12402
|
+
v("span", l8, K(e.label), 1),
|
|
12400
12403
|
te(e.$slots, "default")
|
|
12401
12404
|
], 2));
|
|
12402
12405
|
}
|
|
12403
|
-
}),
|
|
12406
|
+
}), c8 = ["type", "value", "disabled", "readonly"], S8 = /* @__PURE__ */ q({
|
|
12404
12407
|
__name: "AoInputField",
|
|
12405
12408
|
props: {
|
|
12406
12409
|
label: { default: "" },
|
|
@@ -12417,7 +12420,7 @@ const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ q({
|
|
|
12417
12420
|
), s = (o) => {
|
|
12418
12421
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12419
12422
|
};
|
|
12420
|
-
return (o, i) => (p(), P(
|
|
12423
|
+
return (o, i) => (p(), P(u8, { label: o.label }, {
|
|
12421
12424
|
default: Z(() => [
|
|
12422
12425
|
v("input", He({
|
|
12423
12426
|
class: "ao-field__input",
|
|
@@ -12427,12 +12430,12 @@ const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ q({
|
|
|
12427
12430
|
readonly: o.isReadonly
|
|
12428
12431
|
}, {
|
|
12429
12432
|
[Ni(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12430
|
-
}), null, 16,
|
|
12433
|
+
}), null, 16, c8)
|
|
12431
12434
|
]),
|
|
12432
12435
|
_: 1
|
|
12433
12436
|
}, 8, ["label"]));
|
|
12434
12437
|
}
|
|
12435
|
-
}),
|
|
12438
|
+
}), d8 = { class: "ao-field" }, p8 = { class: "ao-field__label" }, f8 = ["checked", "disabled"], A8 = /* @__PURE__ */ q({
|
|
12436
12439
|
__name: "AoCheckboxField",
|
|
12437
12440
|
props: {
|
|
12438
12441
|
label: { default: "" },
|
|
@@ -12442,8 +12445,8 @@ const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ q({
|
|
|
12442
12445
|
},
|
|
12443
12446
|
emits: ["update:modelValue"],
|
|
12444
12447
|
setup(t) {
|
|
12445
|
-
return (e, a) => (p(), g("label",
|
|
12446
|
-
v("span",
|
|
12448
|
+
return (e, a) => (p(), g("label", d8, [
|
|
12449
|
+
v("span", p8, K(e.label), 1),
|
|
12447
12450
|
v("input", {
|
|
12448
12451
|
class: "ao-field__input",
|
|
12449
12452
|
type: "checkbox",
|
|
@@ -12456,33 +12459,33 @@ const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ q({
|
|
|
12456
12459
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12457
12460
|
);
|
|
12458
12461
|
})
|
|
12459
|
-
}, null, 40,
|
|
12462
|
+
}, null, 40, f8)
|
|
12460
12463
|
]));
|
|
12461
12464
|
}
|
|
12462
12465
|
});
|
|
12463
12466
|
export {
|
|
12464
12467
|
Je as AoAvatar,
|
|
12465
12468
|
pi as AoCardFeed,
|
|
12466
|
-
|
|
12469
|
+
A8 as AoCheckboxField,
|
|
12467
12470
|
fi as AoFeed,
|
|
12468
|
-
|
|
12469
|
-
|
|
12471
|
+
u8 as AoField,
|
|
12472
|
+
S8 as AoInputField,
|
|
12470
12473
|
$e as AoMultiselect,
|
|
12471
12474
|
p9 as AoProjectPhases,
|
|
12472
12475
|
Ov as AoTemplateDetails,
|
|
12473
|
-
|
|
12474
|
-
|
|
12476
|
+
g8 as AoTemplates,
|
|
12477
|
+
r8 as AoTemplatesList,
|
|
12475
12478
|
W2 as TemplateItemTypeEnum,
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
+
gn as activityFeedRoutes,
|
|
12480
|
+
y8 as activityFeedStatus,
|
|
12481
|
+
_8 as durationTypes,
|
|
12479
12482
|
Ht as feedFilterTypes,
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
|
|
12485
|
-
|
|
12483
|
+
k8 as getActivityFeedRoutes,
|
|
12484
|
+
$8 as getProjectOverviewRoutes,
|
|
12485
|
+
w8 as getTemplateRoutes,
|
|
12486
|
+
b8 as listUpdateTypes,
|
|
12487
|
+
_n as milestoneStatus,
|
|
12488
|
+
Ye as projectOverviewRoutes,
|
|
12486
12489
|
F2 as ruleComparators,
|
|
12487
12490
|
Z2 as ruleDurationUnits,
|
|
12488
12491
|
U2 as ruleTriggerTypes,
|