@26lights/orcha 0.36.8 → 0.36.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +569 -581
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as V, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as k, resolveDynamicComponent as ht, normalizeClass as Y, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as M, normalizeStyle as As, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as wn, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Vt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as xe, getCurrentScope as Vi, onScopeDispose as Pi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const l8 = /* @__PURE__ */ q({
|
|
@@ -7,7 +7,7 @@ const l8 = /* @__PURE__ */ q({
|
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(),
|
|
10
|
+
return (e, a) => (p(), V(Q(Ri), He({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), j = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -617,23 +617,23 @@ function lu(t, e) {
|
|
|
617
617
|
const uu = /* @__PURE__ */ j(su, [["render", lu]]), cu = q({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const $n = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
|
|
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
|
-
}, pu = /* @__PURE__ */
|
|
626
|
+
}, pu = /* @__PURE__ */ $n(() => /* @__PURE__ */ v("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), fu = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), fu = /* @__PURE__ */ $n(() => /* @__PURE__ */ v("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), vu = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), vu = /* @__PURE__ */ $n(() => /* @__PURE__ */ v("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -1139,7 +1139,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
1141
1141
|
XL: "xl"
|
|
1142
|
-
},
|
|
1142
|
+
}, kn = {
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
@@ -1149,7 +1149,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
|
-
...
|
|
1152
|
+
...kn,
|
|
1153
1153
|
...M2
|
|
1154
1154
|
});
|
|
1155
1155
|
const Os = {
|
|
@@ -1163,7 +1163,7 @@ const Os = {
|
|
|
1163
1163
|
},
|
|
1164
1164
|
setup(t) {
|
|
1165
1165
|
const e = t, a = k(() => k2[e.name]);
|
|
1166
|
-
return (n, s) => (p(),
|
|
1166
|
+
return (n, s) => (p(), V(ht(a.value), {
|
|
1167
1167
|
class: Y(["ao-icon", `ao-icon--${n.size}`])
|
|
1168
1168
|
}, null, 8, ["class"]));
|
|
1169
1169
|
}
|
|
@@ -1203,7 +1203,7 @@ const A2 = ["type"], T2 = {
|
|
|
1203
1203
|
te(s.$slots, "default", {}, () => [
|
|
1204
1204
|
s.label ? (p(), g("span", T2, G(s.label), 1)) : T("", !0)
|
|
1205
1205
|
]),
|
|
1206
|
-
n.value ? (p(),
|
|
1206
|
+
n.value ? (p(), V(pe, {
|
|
1207
1207
|
key: 0,
|
|
1208
1208
|
name: n.value,
|
|
1209
1209
|
class: "ao-button__icon",
|
|
@@ -1275,7 +1275,7 @@ const ye = /* @__PURE__ */ q({
|
|
|
1275
1275
|
(_) => {
|
|
1276
1276
|
_ || d();
|
|
1277
1277
|
}
|
|
1278
|
-
), (_, h) => (p(),
|
|
1278
|
+
), (_, h) => (p(), V(ht(c.value), He({
|
|
1279
1279
|
id: _.id,
|
|
1280
1280
|
ref_key: "target",
|
|
1281
1281
|
ref: n,
|
|
@@ -1341,26 +1341,26 @@ const O2 = {
|
|
|
1341
1341
|
const a = (n) => {
|
|
1342
1342
|
e("update:title", n);
|
|
1343
1343
|
};
|
|
1344
|
-
return (n, s) => (p(),
|
|
1344
|
+
return (n, s) => (p(), V(ht(n.tagName), {
|
|
1345
1345
|
class: Y(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: W(() => [
|
|
1348
1348
|
n.isDraggable ? (p(), g("div", O2, [
|
|
1349
|
-
|
|
1349
|
+
M(pe, {
|
|
1350
1350
|
name: "DragIndicator",
|
|
1351
1351
|
class: "ao-card-horiz__drag-handle"
|
|
1352
1352
|
})
|
|
1353
1353
|
])) : T("", !0),
|
|
1354
1354
|
v("div", E2, [
|
|
1355
1355
|
n.icon ? (p(), g("div", I2, [
|
|
1356
|
-
|
|
1356
|
+
M(pe, {
|
|
1357
1357
|
class: "ao-card-horiz__icon",
|
|
1358
1358
|
name: n.icon,
|
|
1359
1359
|
size: "xl"
|
|
1360
1360
|
}, null, 8, ["name"])
|
|
1361
1361
|
])) : T("", !0),
|
|
1362
1362
|
v("div", L2, [
|
|
1363
|
-
|
|
1363
|
+
M(ye, {
|
|
1364
1364
|
id: n.id,
|
|
1365
1365
|
class: "ao-card-horiz__title",
|
|
1366
1366
|
level: 4,
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const Sn = /* @__PURE__ */ q({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1413,9 +1413,9 @@ const Mn = /* @__PURE__ */ q({
|
|
|
1413
1413
|
s.closable ? "ao-tag--closable" : "",
|
|
1414
1414
|
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1415
1415
|
]),
|
|
1416
|
-
style:
|
|
1416
|
+
style: As(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1417
1417
|
}, [
|
|
1418
|
-
(p(),
|
|
1418
|
+
(p(), V(ht(a.value), He({ class: "ao-tag__label" }, n.value, {
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1420
1420
|
}), {
|
|
1421
1421
|
default: W(() => [
|
|
@@ -1428,7 +1428,7 @@ const Mn = /* @__PURE__ */ q({
|
|
|
1428
1428
|
class: "ao-tag__close",
|
|
1429
1429
|
onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
|
|
1430
1430
|
}, [
|
|
1431
|
-
|
|
1431
|
+
M(pe, {
|
|
1432
1432
|
name: "CloseRounded",
|
|
1433
1433
|
size: "sm",
|
|
1434
1434
|
class: "ao-tag__close-icon"
|
|
@@ -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 os(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 W2 = 864e5;
|
|
1523
1523
|
function q2(t, e) {
|
|
1524
1524
|
ge(2, arguments);
|
|
1525
|
-
var a =
|
|
1525
|
+
var a = os(t), n = os(e), s = a.getTime() - ra(a), o = n.getTime() - ra(n);
|
|
1526
1526
|
return Math.round((s - o) / W2);
|
|
1527
1527
|
}
|
|
1528
1528
|
function z2(t, e) {
|
|
@@ -2158,7 +2158,7 @@ var Ht = {
|
|
|
2158
2158
|
return "Z";
|
|
2159
2159
|
switch (a) {
|
|
2160
2160
|
case "X":
|
|
2161
|
-
return
|
|
2161
|
+
return ls(i);
|
|
2162
2162
|
case "XXXX":
|
|
2163
2163
|
case "XX":
|
|
2164
2164
|
return $t(i);
|
|
@@ -2173,7 +2173,7 @@ var Ht = {
|
|
|
2173
2173
|
var o = s._originalDate || e, i = o.getTimezoneOffset();
|
|
2174
2174
|
switch (a) {
|
|
2175
2175
|
case "x":
|
|
2176
|
-
return
|
|
2176
|
+
return ls(i);
|
|
2177
2177
|
case "xxxx":
|
|
2178
2178
|
case "xx":
|
|
2179
2179
|
return $t(i);
|
|
@@ -2190,7 +2190,7 @@ var Ht = {
|
|
|
2190
2190
|
case "O":
|
|
2191
2191
|
case "OO":
|
|
2192
2192
|
case "OOO":
|
|
2193
|
-
return "GMT" +
|
|
2193
|
+
return "GMT" + rs(i, ":");
|
|
2194
2194
|
case "OOOO":
|
|
2195
2195
|
default:
|
|
2196
2196
|
return "GMT" + $t(i, ":");
|
|
@@ -2203,7 +2203,7 @@ var Ht = {
|
|
|
2203
2203
|
case "z":
|
|
2204
2204
|
case "zz":
|
|
2205
2205
|
case "zzz":
|
|
2206
|
-
return "GMT" +
|
|
2206
|
+
return "GMT" + rs(i, ":");
|
|
2207
2207
|
case "zzzz":
|
|
2208
2208
|
default:
|
|
2209
2209
|
return "GMT" + $t(i, ":");
|
|
@@ -2220,14 +2220,14 @@ var Ht = {
|
|
|
2220
2220
|
return ue(i, a.length);
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
|
-
function
|
|
2223
|
+
function rs(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 ls(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 s0 = n0;
|
|
2242
|
-
var
|
|
2242
|
+
var us = 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
|
}, i0 = 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 us(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}}", us(s, a)).replace("{{time}}", Bs(o, a));
|
|
2311
2311
|
}, o0 = {
|
|
2312
2312
|
p: Bs,
|
|
2313
2313
|
P: i0
|
|
@@ -2320,7 +2320,7 @@ function c0(t) {
|
|
|
2320
2320
|
function d0(t) {
|
|
2321
2321
|
return u0.indexOf(t) !== -1;
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function cs(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")
|
|
@@ -2745,8 +2745,8 @@ function Ns(t, e, a) {
|
|
|
2745
2745
|
}, ie = D.match(X0).map(function(O) {
|
|
2746
2746
|
var N = O[0];
|
|
2747
2747
|
if (N === "p" || N === "P") {
|
|
2748
|
-
var
|
|
2749
|
-
return
|
|
2748
|
+
var S = r0[N];
|
|
2749
|
+
return S(O, U.formatLong);
|
|
2750
2750
|
}
|
|
2751
2751
|
return O;
|
|
2752
2752
|
}).join("").match(G0).map(function(O) {
|
|
@@ -2755,9 +2755,9 @@ function Ns(t, e, a) {
|
|
|
2755
2755
|
var N = O[0];
|
|
2756
2756
|
if (N === "'")
|
|
2757
2757
|
return t3(O);
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) &&
|
|
2758
|
+
var S = s0[N];
|
|
2759
|
+
if (S)
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) && cs(O, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(O) && cs(O, e, String(t)), S(R, O, U.localize, Z);
|
|
2761
2761
|
if (N.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
|
|
2763
2763
|
return O;
|
|
@@ -3253,11 +3253,11 @@ class Oe {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
3255
|
ha.LexoDecimal = Oe;
|
|
3256
|
-
var Ta = {},
|
|
3256
|
+
var Ta = {}, ds;
|
|
3257
3257
|
function Us() {
|
|
3258
|
-
if (
|
|
3258
|
+
if (ds)
|
|
3259
3259
|
return Ta;
|
|
3260
|
-
|
|
3260
|
+
ds = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
|
|
3261
3261
|
const t = Yt, e = Ws();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
@@ -3311,7 +3311,7 @@ function Us() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3314
|
+
var Mn = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
3316
3316
|
var qa = {};
|
|
3317
3317
|
Object.defineProperty(qa, "__esModule", { value: !0 });
|
|
@@ -3421,13 +3421,13 @@ xa.LexoNumeralSystem64 = k3;
|
|
|
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(Zs, t), a(qa, t), a(za, t), a(xa, t);
|
|
3424
|
-
})(
|
|
3425
|
-
var
|
|
3424
|
+
})(Mn);
|
|
3425
|
+
var ps;
|
|
3426
3426
|
function Ws() {
|
|
3427
|
-
if (
|
|
3427
|
+
if (ps)
|
|
3428
3428
|
return aa;
|
|
3429
|
-
|
|
3430
|
-
const t = ha, e = Us(), a = ma, n =
|
|
3429
|
+
ps = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
+
const t = ha, e = Us(), a = ma, n = Mn;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3628,7 +3628,7 @@ function Ws() {
|
|
|
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(Fs, t), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(Mn, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
3633
|
function qs(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3671,17 +3671,17 @@ function jt(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 An(t, e = "dd/MM/yyyy") {
|
|
3675
3675
|
if (!t)
|
|
3676
3676
|
return "";
|
|
3677
3677
|
const a = la(t);
|
|
3678
3678
|
return Ds(a) ? Ns(a, e) : "";
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3680
|
+
function Tn(t, e) {
|
|
3681
3681
|
return t.status.id === e.id;
|
|
3682
3682
|
}
|
|
3683
3683
|
function T3(t, e) {
|
|
3684
|
-
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !
|
|
3684
|
+
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !Tn(a, e));
|
|
3685
3685
|
}
|
|
3686
3686
|
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
@@ -3723,7 +3723,7 @@ const zs = (t) => {
|
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
3724
3724
|
src: i.avatarUrl
|
|
3725
3725
|
}, null, 8, L3)) : T("", !0),
|
|
3726
|
-
i.isClosable ? (p(),
|
|
3726
|
+
i.isClosable ? (p(), V(ce, {
|
|
3727
3727
|
key: 2,
|
|
3728
3728
|
"icon-name": "CloseRounded",
|
|
3729
3729
|
class: "ao-avatar__close",
|
|
@@ -3759,7 +3759,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3759
3759
|
const a = (n) => {
|
|
3760
3760
|
e("updateTitle", n);
|
|
3761
3761
|
};
|
|
3762
|
-
return (n, s) => (p(),
|
|
3762
|
+
return (n, s) => (p(), V(Is, {
|
|
3763
3763
|
id: n.id,
|
|
3764
3764
|
title: n.title,
|
|
3765
3765
|
"is-draggable": !0,
|
|
@@ -3768,14 +3768,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3768
3768
|
subtitle: W(() => [
|
|
3769
3769
|
v("ul", H3, [
|
|
3770
3770
|
v("li", D3, [
|
|
3771
|
-
|
|
3771
|
+
M(pe, {
|
|
3772
3772
|
name: "MountainFlagOutlineRounded",
|
|
3773
3773
|
size: "sm"
|
|
3774
3774
|
}),
|
|
3775
3775
|
v("span", V3, G(n.milestones), 1)
|
|
3776
3776
|
]),
|
|
3777
3777
|
v("li", P3, [
|
|
3778
|
-
|
|
3778
|
+
M(pe, {
|
|
3779
3779
|
name: "TaskOutlineRounded",
|
|
3780
3780
|
size: "sm"
|
|
3781
3781
|
}),
|
|
@@ -3787,14 +3787,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3787
3787
|
v("div", R3, [
|
|
3788
3788
|
v("div", N3, [
|
|
3789
3789
|
v("div", j3, [
|
|
3790
|
-
|
|
3790
|
+
M(pe, {
|
|
3791
3791
|
name: "WaterfallChartRounded",
|
|
3792
3792
|
size: "sm"
|
|
3793
3793
|
}),
|
|
3794
3794
|
v("span", F3, G(n.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
n.phases ? (p(), g("ul", U3, [
|
|
3797
|
-
(p(!0), g(ve, null, _e(n.phases, (o) => (p(),
|
|
3797
|
+
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), V(Sn, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -3823,7 +3823,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3823
3823
|
v("span", G3, G(n.$t("template.updatedBy.label")), 1)
|
|
3824
3824
|
]),
|
|
3825
3825
|
v("div", X3, [
|
|
3826
|
-
|
|
3826
|
+
M(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
3827
3827
|
])
|
|
3828
3828
|
])) : T("", !0)
|
|
3829
3829
|
])
|
|
@@ -3845,7 +3845,7 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
|
|
|
3845
3845
|
setup(t) {
|
|
3846
3846
|
return (e, a) => (p(), g("header", J3, [
|
|
3847
3847
|
v("div", e5, [
|
|
3848
|
-
e.canGoBack ? (p(),
|
|
3848
|
+
e.canGoBack ? (p(), V(ce, {
|
|
3849
3849
|
key: 0,
|
|
3850
3850
|
"icon-name": "ArrowBackRounded",
|
|
3851
3851
|
variant: "ghost",
|
|
@@ -3869,7 +3869,7 @@ const a5 = ["type"], n5 = {
|
|
|
3869
3869
|
iconName: {},
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
|
-
color: { default: () =>
|
|
3872
|
+
color: { default: () => kn.BLACK },
|
|
3873
3873
|
size: { default: () => Za.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Os.ROUNDED }
|
|
@@ -3888,7 +3888,7 @@ const a5 = ["type"], n5 = {
|
|
|
3888
3888
|
te(s.$slots, "default", {}, () => [
|
|
3889
3889
|
s.label ? (p(), g("span", n5, G(s.label), 1)) : T("", !0)
|
|
3890
3890
|
]),
|
|
3891
|
-
n.value ? (p(),
|
|
3891
|
+
n.value ? (p(), V(pe, {
|
|
3892
3892
|
key: 0,
|
|
3893
3893
|
name: n.value,
|
|
3894
3894
|
class: "ao-button-card__icon",
|
|
@@ -3900,7 +3900,7 @@ const a5 = ["type"], n5 = {
|
|
|
3900
3900
|
const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" },
|
|
3903
|
+
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" }, On = /* @__PURE__ */ q({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3920,12 +3920,12 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3920
3920
|
}, o = () => {
|
|
3921
3921
|
e("remove");
|
|
3922
3922
|
};
|
|
3923
|
-
return (i, r) => (p(),
|
|
3923
|
+
return (i, r) => (p(), V(Is, { "onUpdate:title": a }, {
|
|
3924
3924
|
footer: W(() => [
|
|
3925
3925
|
v("ul", s5, [
|
|
3926
3926
|
(p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
|
|
3927
3927
|
i.$props[l] ? (p(), g("li", i5, [
|
|
3928
|
-
|
|
3928
|
+
M(pe, {
|
|
3929
3929
|
name: s[l],
|
|
3930
3930
|
size: "sm"
|
|
3931
3931
|
}, null, 8, ["name"]),
|
|
@@ -3936,7 +3936,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3936
3936
|
]),
|
|
3937
3937
|
secondary: W(() => [
|
|
3938
3938
|
v("div", r5, [
|
|
3939
|
-
|
|
3939
|
+
M(ce, {
|
|
3940
3940
|
"icon-name": "DeleteOutlineRounded",
|
|
3941
3941
|
variant: "ghost",
|
|
3942
3942
|
size: "md",
|
|
@@ -3961,7 +3961,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
3961
3961
|
var s;
|
|
3962
3962
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3963
3963
|
}), n = k(() => e.milestones ? qs(e.milestones) : 0);
|
|
3964
|
-
return (s, o) => (p(),
|
|
3964
|
+
return (s, o) => (p(), V(On, He({
|
|
3965
3965
|
id: s.id,
|
|
3966
3966
|
title: s.name,
|
|
3967
3967
|
activities: n.value,
|
|
@@ -3983,7 +3983,7 @@ const l5 = /* @__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(),
|
|
3986
|
+
return (n, s) => (p(), V(On, { activities: a.value }, {
|
|
3987
3987
|
default: W(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
@@ -4014,7 +4014,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4014
4014
|
});
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
|
-
return (r, l) => r.phase ? (p(),
|
|
4017
|
+
return (r, l) => r.phase ? (p(), V(Q(mt), {
|
|
4018
4018
|
key: 0,
|
|
4019
4019
|
"model-value": r.phase.milestones,
|
|
4020
4020
|
class: "ao-templates__list",
|
|
@@ -4024,14 +4024,14 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4024
4024
|
onChange: i
|
|
4025
4025
|
}, {
|
|
4026
4026
|
header: W(() => [
|
|
4027
|
-
|
|
4027
|
+
M(ye, {
|
|
4028
4028
|
title: "Milestones",
|
|
4029
4029
|
level: 3,
|
|
4030
4030
|
class: "ao-list__title"
|
|
4031
4031
|
})
|
|
4032
4032
|
]),
|
|
4033
4033
|
item: W(({ element: c }) => [
|
|
4034
|
-
(p(),
|
|
4034
|
+
(p(), V(u5, {
|
|
4035
4035
|
id: c.id,
|
|
4036
4036
|
key: c.id,
|
|
4037
4037
|
title: c.name,
|
|
@@ -4049,7 +4049,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4049
4049
|
]),
|
|
4050
4050
|
footer: W(() => [
|
|
4051
4051
|
v("div", c5, [
|
|
4052
|
-
|
|
4052
|
+
M(Ct, {
|
|
4053
4053
|
"icon-name": "AddBoxOutlineRounded",
|
|
4054
4054
|
label: r.$t("template.milestones.add"),
|
|
4055
4055
|
onClick: n
|
|
@@ -4070,7 +4070,7 @@ const l5 = /* @__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(),
|
|
4073
|
+
return (n, s) => (p(), V(On, { tasks: a.value }, {
|
|
4074
4074
|
default: W(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
@@ -4104,7 +4104,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4104
4104
|
});
|
|
4105
4105
|
}
|
|
4106
4106
|
};
|
|
4107
|
-
return (r, l) => r.milestone ? (p(),
|
|
4107
|
+
return (r, l) => r.milestone ? (p(), V(Q(mt), {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
"model-value": r.milestone.activities,
|
|
4110
4110
|
title: r.$t("template.activities.title"),
|
|
@@ -4114,14 +4114,14 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4114
4114
|
onChange: i
|
|
4115
4115
|
}, {
|
|
4116
4116
|
header: W(() => [
|
|
4117
|
-
|
|
4117
|
+
M(ye, {
|
|
4118
4118
|
title: "Activities",
|
|
4119
4119
|
level: 3,
|
|
4120
4120
|
class: "ao-list__title"
|
|
4121
4121
|
})
|
|
4122
4122
|
]),
|
|
4123
4123
|
item: W(({ element: c }) => [
|
|
4124
|
-
(p(),
|
|
4124
|
+
(p(), V(p5, {
|
|
4125
4125
|
id: c.id,
|
|
4126
4126
|
key: c.id,
|
|
4127
4127
|
title: c.name,
|
|
@@ -4135,7 +4135,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4135
4135
|
]),
|
|
4136
4136
|
footer: W(() => [
|
|
4137
4137
|
v("div", f5, [
|
|
4138
|
-
|
|
4138
|
+
M(Ct, {
|
|
4139
4139
|
"icon-name": "AddBoxOutlineRounded",
|
|
4140
4140
|
label: r.$t("template.activities.add"),
|
|
4141
4141
|
onClick: n
|
|
@@ -4151,7 +4151,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4151
4151
|
}, C5 = { class: "ao-modal__header-meta" }, g5 = { class: "ao-modal__title-group" }, _5 = { class: "ao-modal__body" }, y5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
|
-
},
|
|
4154
|
+
}, En = /* @__PURE__ */ q({
|
|
4155
4155
|
__name: "AoModal",
|
|
4156
4156
|
props: {
|
|
4157
4157
|
size: { default: "md" }
|
|
@@ -4168,7 +4168,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4168
4168
|
v("div", h5, [
|
|
4169
4169
|
e.$slots.header ? (p(), g("div", m5, [
|
|
4170
4170
|
v("div", C5, [
|
|
4171
|
-
|
|
4171
|
+
M(ce, {
|
|
4172
4172
|
"icon-name": "CloseRounded",
|
|
4173
4173
|
variant: "ghost",
|
|
4174
4174
|
color: "primary",
|
|
@@ -4201,7 +4201,7 @@ const ua = Math.min, Ee = Math.max, Pa = Math.round, Oa = Math.floor, pt = (t) =
|
|
|
4201
4201
|
start: "end",
|
|
4202
4202
|
end: "start"
|
|
4203
4203
|
};
|
|
4204
|
-
function
|
|
4204
|
+
function In(t, e) {
|
|
4205
4205
|
return typeof t == "function" ? t(e) : t;
|
|
4206
4206
|
}
|
|
4207
4207
|
function Ft(t) {
|
|
@@ -4216,11 +4216,11 @@ function $5(t) {
|
|
|
4216
4216
|
function xs(t) {
|
|
4217
4217
|
return t === "y" ? "height" : "width";
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function Ln(t) {
|
|
4220
4220
|
return ["top", "bottom"].includes(Ft(t)) ? "y" : "x";
|
|
4221
4221
|
}
|
|
4222
4222
|
function Ys(t) {
|
|
4223
|
-
return $5(
|
|
4223
|
+
return $5(Ln(t));
|
|
4224
4224
|
}
|
|
4225
4225
|
function k5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
@@ -4282,12 +4282,12 @@ function Ra(t) {
|
|
|
4282
4282
|
bottom: t.y + t.height
|
|
4283
4283
|
};
|
|
4284
4284
|
}
|
|
4285
|
-
function
|
|
4285
|
+
function fs(t, e, a) {
|
|
4286
4286
|
let {
|
|
4287
4287
|
reference: n,
|
|
4288
4288
|
floating: s
|
|
4289
4289
|
} = t;
|
|
4290
|
-
const o =
|
|
4290
|
+
const o = Ln(e), i = Ys(e), r = xs(i), l = Ft(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 C;
|
|
4292
4292
|
switch (l) {
|
|
4293
4293
|
case "top":
|
|
@@ -4344,7 +4344,7 @@ const E5 = async (t, e, a) => {
|
|
|
4344
4344
|
}), {
|
|
4345
4345
|
x: u,
|
|
4346
4346
|
y: f
|
|
4347
|
-
} =
|
|
4347
|
+
} = fs(c, n, l), d = n, C = {}, b = 0;
|
|
4348
4348
|
for (let y = 0; y < r.length; y++) {
|
|
4349
4349
|
const {
|
|
4350
4350
|
name: _,
|
|
@@ -4382,7 +4382,7 @@ const E5 = async (t, e, a) => {
|
|
|
4382
4382
|
}) : D.rects), {
|
|
4383
4383
|
x: u,
|
|
4384
4384
|
y: f
|
|
4385
|
-
} =
|
|
4385
|
+
} = fs(c, d, l)), y = -1;
|
|
4386
4386
|
continue;
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
@@ -4410,7 +4410,7 @@ async function Ks(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: C = 0
|
|
4413
|
-
} =
|
|
4413
|
+
} = In(e, t), b = O5(C), _ = r[d ? f === "floating" ? "reference" : "floating" : f], h = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4458,7 +4458,7 @@ const I5 = function(t) {
|
|
|
4458
4458
|
fallbackAxisSideDirection: b = "none",
|
|
4459
4459
|
flipAlignment: y = !0,
|
|
4460
4460
|
..._
|
|
4461
|
-
} =
|
|
4461
|
+
} = In(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const h = Ft(s), A = Ft(r) === r, w = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = d || (A || !y ? [Ba(r)] : S5(r));
|
|
@@ -4490,7 +4490,7 @@ const I5 = function(t) {
|
|
|
4490
4490
|
switch (C) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var K;
|
|
4493
|
-
const O = (K = F.map((N) => [N.placement, N.overflows.filter((
|
|
4493
|
+
const O = (K = F.map((N) => [N.placement, N.overflows.filter((S) => S > 0).reduce((S, m) => S + m, 0)]).sort((N, S) => N[1] - S[1])[0]) == null ? void 0 : K[0];
|
|
4494
4494
|
O && (ie = O);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
@@ -4522,7 +4522,7 @@ const I5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} =
|
|
4525
|
+
} = In(t, e), l = await Ks(e, r), c = Ft(a), u = Ka(a), f = Ln(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: C
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4575,7 +4575,7 @@ function et(t) {
|
|
|
4575
4575
|
function Fe(t) {
|
|
4576
4576
|
return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
|
-
function
|
|
4578
|
+
function vs(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 H5(t) {
|
|
4591
4591
|
return ["table", "td", "th"].includes(ft(t));
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4594
|
-
const e =
|
|
4593
|
+
function Hn(t) {
|
|
4594
|
+
const e = Dn(), a = Pe(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 D5(t) {
|
|
4598
4598
|
let e = Ut(t);
|
|
4599
4599
|
for (; Fe(e) && !Ga(e); ) {
|
|
4600
|
-
if (
|
|
4600
|
+
if (Hn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Ut(e);
|
|
4603
4603
|
}
|
|
4604
4604
|
return null;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Dn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
4609
|
function Ga(t) {
|
|
@@ -4628,10 +4628,10 @@ function Ut(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
|
+
vs(t) && t.host || // Fallback.
|
|
4632
4632
|
at(t)
|
|
4633
4633
|
);
|
|
4634
|
-
return
|
|
4634
|
+
return vs(e) ? e.host : e;
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
@@ -4653,11 +4653,11 @@ function Qs(t) {
|
|
|
4653
4653
|
$: r
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
|
-
function
|
|
4656
|
+
function Vn(t) {
|
|
4657
4657
|
return et(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
4659
|
function Pt(t) {
|
|
4660
|
-
const e =
|
|
4660
|
+
const e = Vn(t);
|
|
4661
4661
|
if (!Fe(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
@@ -4674,7 +4674,7 @@ function Pt(t) {
|
|
|
4674
4674
|
const V5 = /* @__PURE__ */ pt(0);
|
|
4675
4675
|
function Js(t) {
|
|
4676
4676
|
const e = ke(t);
|
|
4677
|
-
return !
|
|
4677
|
+
return !Dn() || !e.visualViewport ? V5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
@@ -4684,7 +4684,7 @@ function P5(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 = Vn(t);
|
|
4688
4688
|
let i = pt(1);
|
|
4689
4689
|
e && (n ? et(n) && (i = Pt(n)) : i = Pt(t));
|
|
4690
4690
|
const r = P5(o, a, n) ? Js(o) : pt(0);
|
|
@@ -4751,7 +4751,7 @@ function j5(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 = Dn();
|
|
4755
4755
|
(!c || c && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
4756
4756
|
}
|
|
4757
4757
|
return {
|
|
@@ -4770,7 +4770,7 @@ function F5(t, e) {
|
|
|
4770
4770
|
y: c
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function hs(t, e, a) {
|
|
4774
4774
|
let n;
|
|
4775
4775
|
if (e === "viewport")
|
|
4776
4776
|
n = j5(t, a);
|
|
@@ -4800,7 +4800,7 @@ function U5(t, e) {
|
|
|
4800
4800
|
const o = Pe(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
4802
|
for (; et(i) && !Ga(i); ) {
|
|
4803
|
-
const r = Pe(i), l =
|
|
4803
|
+
const r = Pe(i), l = Hn(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 && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(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" ? U5(e, this._c) : [].concat(a), n], r = i[0], l = i.reduce((c, u) => {
|
|
4816
|
-
const f =
|
|
4816
|
+
const f = hs(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
|
+
}, hs(e, r, s));
|
|
4819
4819
|
return {
|
|
4820
4820
|
width: l.right - l.left,
|
|
4821
4821
|
height: l.bottom - l.top,
|
|
@@ -4846,17 +4846,17 @@ function q5(t, e, a) {
|
|
|
4846
4846
|
height: i.height
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4849
|
+
function ms(t, e) {
|
|
4850
4850
|
return !Fe(t) || Pe(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ai(t, e) {
|
|
4853
4853
|
const a = ke(t);
|
|
4854
4854
|
if (!Fe(t))
|
|
4855
4855
|
return a;
|
|
4856
|
-
let n =
|
|
4856
|
+
let n = ms(t, e);
|
|
4857
4857
|
for (; n && H5(n) && Pe(n).position === "static"; )
|
|
4858
|
-
n =
|
|
4859
|
-
return n && (ft(n) === "html" || ft(n) === "body" && Pe(n).position === "static" && !
|
|
4858
|
+
n = ms(n, e);
|
|
4859
|
+
return n && (ft(n) === "html" || ft(n) === "body" && Pe(n).position === "static" && !Hn(n)) ? a : n || D5(t) || a;
|
|
4860
4860
|
}
|
|
4861
4861
|
const z5 = async function(t) {
|
|
4862
4862
|
let {
|
|
@@ -4942,7 +4942,7 @@ function G5(t, e, a, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
|
-
} = n, c =
|
|
4945
|
+
} = n, c = Vn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
4946
|
u.forEach((h) => {
|
|
4947
4947
|
s && h.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
@@ -5042,7 +5042,7 @@ const X5 = (t, e, a) => {
|
|
|
5042
5042
|
c();
|
|
5043
5043
|
}), Ts(() => {
|
|
5044
5044
|
r.value();
|
|
5045
|
-
}),
|
|
5045
|
+
}), wn(() => {
|
|
5046
5046
|
r.value();
|
|
5047
5047
|
});
|
|
5048
5048
|
};
|
|
@@ -5154,19 +5154,19 @@ function i7(t, e, a) {
|
|
|
5154
5154
|
groups: ie,
|
|
5155
5155
|
reverse: O,
|
|
5156
5156
|
infinite: N,
|
|
5157
|
-
groupOptions:
|
|
5157
|
+
groupOptions: S,
|
|
5158
5158
|
groupHideEmpty: m,
|
|
5159
5159
|
groupSelect: L,
|
|
5160
5160
|
onCreate: J,
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} = Me(t), re = At().proxy, x = a.iv,
|
|
5164
|
+
} = Me(t), re = At().proxy, x = a.iv, P = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, tn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Ae = ee(!1), Be = ee(null), We = ee(N.value && i.value === -1 ? 10 : i.value), Xt = k(() => l.value || c.value || !1), ba = k(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = k(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((oe) => {
|
|
5169
|
-
un(oe[
|
|
5169
|
+
un(oe[S.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
@@ -5188,14 +5188,14 @@ function i7(t, e, a) {
|
|
|
5188
5188
|
[];
|
|
5189
5189
|
return it.value.length && $.push({
|
|
5190
5190
|
[F.value]: " ",
|
|
5191
|
-
[
|
|
5191
|
+
[S.value]: [...it.value],
|
|
5192
5192
|
__CREATE__: !0
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
5194
|
}), wa = k(() => {
|
|
5195
5195
|
let $ = [..._t.value].map((B) => ({ ...B }));
|
|
5196
|
-
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][
|
|
5196
|
+
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][S.value] = [...Ot.value, ...$[0][S.value]] : $ = [{
|
|
5197
5197
|
[F.value]: " ",
|
|
5198
|
-
[
|
|
5198
|
+
[S.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
5201
|
}), an = k(() => {
|
|
@@ -5204,12 +5204,12 @@ function i7(t, e, a) {
|
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
5205
|
return Mi(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
|
-
const me = un(B[
|
|
5207
|
+
const me = un(B[S.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[
|
|
5212
|
+
[S.value]: ln(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
|
|
5213
5213
|
__VISIBLE__: ln(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
@@ -5244,31 +5244,31 @@ function i7(t, e, a) {
|
|
|
5244
5244
|
we(x.value.concat($));
|
|
5245
5245
|
break;
|
|
5246
5246
|
}
|
|
5247
|
-
e.emit("select",
|
|
5247
|
+
e.emit("select", Jn($), $, re);
|
|
5248
5248
|
}, It = ($) => {
|
|
5249
5249
|
switch (typeof $ != "object" && ($ = ze($)), s.value) {
|
|
5250
5250
|
case "single":
|
|
5251
|
-
|
|
5251
|
+
ts();
|
|
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", Jn($), $, re);
|
|
5259
|
+
}, Jn = ($) => b.value ? $ : $[H.value], es = ($) => {
|
|
5260
5260
|
It($);
|
|
5261
5261
|
}, Ci = ($, B) => {
|
|
5262
5262
|
if (B.button !== 0) {
|
|
5263
5263
|
B.preventDefault();
|
|
5264
5264
|
return;
|
|
5265
5265
|
}
|
|
5266
|
-
|
|
5267
|
-
},
|
|
5266
|
+
es($);
|
|
5267
|
+
}, ts = () => {
|
|
5268
5268
|
we(hi.value), e.emit("clear", re);
|
|
5269
5269
|
}, qe = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
|
-
return s.value === "single" ? !1 : wi($[
|
|
5271
|
+
return s.value === "single" ? !1 : wi($[S.value]) && $[S.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
return !je(x.value) && x.value[H.value] == $[H.value];
|
|
@@ -5280,13 +5280,13 @@ function i7(t, e, a) {
|
|
|
5280
5280
|
if (!sn($)) {
|
|
5281
5281
|
if (J && J.value && !qe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
5282
|
Ae.value = !0, $.then((B) => {
|
|
5283
|
-
Ae.value = !1,
|
|
5283
|
+
Ae.value = !1, as(B);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
5287
|
-
|
|
5287
|
+
as($);
|
|
5288
5288
|
}
|
|
5289
|
-
},
|
|
5289
|
+
}, as = ($) => {
|
|
5290
5290
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
5292
|
if ($ && qe($)) {
|
|
@@ -5324,8 +5324,8 @@ function i7(t, e, a) {
|
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
|
-
bi($[
|
|
5328
|
-
$[
|
|
5327
|
+
bi($[S.value]) ? It($[S.value]) : Et(
|
|
5328
|
+
$[S.value].filter((B) => x.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => x.value.length + 1 + oe <= I.value || I.value === -1)
|
|
5329
5329
|
), r.value && Kt.value && Gt(an.value.filter((B) => !B[ae.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
@@ -5338,14 +5338,14 @@ function i7(t, e, a) {
|
|
|
5338
5338
|
}, bi = ($) => $.find((B) => !qe(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !qe(B)) === void 0, ze = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && qe($), Si = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Mi = ($) => m.value ? $.filter(
|
|
5341
|
-
(B) => X.value ? B.__VISIBLE__.length : B[
|
|
5341
|
+
(B) => X.value ? B.__VISIBLE__.length : B[S.value].length
|
|
5342
5342
|
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), ln = ($, B = !0) => {
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && w.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
|
-
me || (me = (bt,
|
|
5347
|
-
let
|
|
5348
|
-
return le.value ?
|
|
5346
|
+
me || (me = (bt, ss, s8) => yt.value.some((Ti) => {
|
|
5347
|
+
let is = fn(ya(bt[Ti]), K.value);
|
|
5348
|
+
return le.value ? is.startsWith(fn(ss, K.value)) : is.indexOf(fn(ss, K.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (oe = oe.filter((me) => !ki(me))), oe;
|
|
@@ -5356,7 +5356,7 @@ function i7(t, e, a) {
|
|
|
5356
5356
|
return { [H.value]: oe, [yt.value[0]]: me, [u.value]: me };
|
|
5357
5357
|
})), B = B.map((oe) => typeof oe == "object" ? oe : { [H.value]: oe, [yt.value[0]]: oe, [u.value]: oe }), B;
|
|
5358
5358
|
}, $a = () => {
|
|
5359
|
-
je(
|
|
5359
|
+
je(P.value) || (x.value = Sa(P.value));
|
|
5360
5360
|
}, ka = ($) => (Ae.value = !0, new Promise((B, oe) => {
|
|
5361
5361
|
n.value(X.value, re).then((me) => {
|
|
5362
5362
|
Ne.value = me || [], typeof $ == "function" && $(me), Ae.value = !1;
|
|
@@ -5371,14 +5371,14 @@ function i7(t, e, a) {
|
|
|
5371
5371
|
let $ = ze(x.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
5373
5373
|
let B = $[u.value];
|
|
5374
|
-
x.value[u.value] = B, b.value && (
|
|
5374
|
+
x.value[u.value] = B, b.value && (P.value[u.value] = B);
|
|
5375
5375
|
}
|
|
5376
5376
|
} else
|
|
5377
5377
|
x.value.forEach(($, B) => {
|
|
5378
5378
|
let oe = ze(x.value[B][H.value]);
|
|
5379
5379
|
if (oe !== void 0) {
|
|
5380
5380
|
let me = oe[u.value];
|
|
5381
|
-
x.value[B][u.value] = me, b.value && (
|
|
5381
|
+
x.value[B][u.value] = me, b.value && (P.value[B][u.value] = me);
|
|
5382
5382
|
}
|
|
5383
5383
|
});
|
|
5384
5384
|
}, Ai = ($) => {
|
|
@@ -5391,7 +5391,7 @@ function i7(t, e, a) {
|
|
|
5391
5391
|
[u.value]: B,
|
|
5392
5392
|
[H.value]: B,
|
|
5393
5393
|
[yt.value[0]]: B
|
|
5394
|
-
}),
|
|
5394
|
+
}), ns = () => {
|
|
5395
5395
|
Be.value = de(X, ($) => {
|
|
5396
5396
|
$.length < A.value || !$ && A.value !== 0 || (Ae.value = !0, E.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
$ == X.value && n.value(X.value, re).then((B) => {
|
|
@@ -5405,11 +5405,11 @@ function i7(t, e, a) {
|
|
|
5405
5405
|
}, _.value));
|
|
5406
5406
|
}, { flush: "sync" });
|
|
5407
5407
|
};
|
|
5408
|
-
if (s.value !== "single" && !je(
|
|
5408
|
+
if (s.value !== "single" && !je(P.value) && !Array.isArray(P.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ? h.value ? ka($a) : b.value == !0 && $a() : (Ne.value = n.value, $a()), _.value > -1 &&
|
|
5411
|
-
Be.value && Be.value(), $ >= 0 &&
|
|
5412
|
-
}), de(
|
|
5410
|
+
return n && typeof n.value == "function" ? h.value ? ka($a) : b.value == !0 && $a() : (Ne.value = n.value, $a()), _.value > -1 && ns(), de(_, ($, B) => {
|
|
5411
|
+
Be.value && Be.value(), $ >= 0 && ns();
|
|
5412
|
+
}), de(P, ($) => {
|
|
5413
5413
|
if (je($)) {
|
|
5414
5414
|
we(Sa($), !1);
|
|
5415
5415
|
return;
|
|
@@ -5446,9 +5446,9 @@ function i7(t, e, a) {
|
|
|
5446
5446
|
offset: We,
|
|
5447
5447
|
select: Et,
|
|
5448
5448
|
deselect: It,
|
|
5449
|
-
remove:
|
|
5449
|
+
remove: es,
|
|
5450
5450
|
selectAll: yi,
|
|
5451
|
-
clear:
|
|
5451
|
+
clear: ts,
|
|
5452
5452
|
isSelected: qe,
|
|
5453
5453
|
isDisabled: sn,
|
|
5454
5454
|
isMax: on,
|
|
@@ -5472,23 +5472,23 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: f
|
|
5475
|
-
} = Me(t), d = a.fo, C = a.fg, b = a.handleOptionClick, y = a.handleGroupClick, _ = a.search, h = a.pointer, A = a.setPointer, w = a.clearPointer, E = a.multiselect, D = a.isOpen, H = k(() => d.value.filter((
|
|
5476
|
-
const
|
|
5475
|
+
} = Me(t), d = a.fo, C = a.fg, b = a.handleOptionClick, y = a.handleGroupClick, _ = a.search, h = a.pointer, A = a.setPointer, w = a.clearPointer, E = a.multiselect, D = a.isOpen, H = k(() => d.value.filter((P) => !P[u.value])), U = k(() => C.value.filter((P) => !P[u.value])), F = k(() => l.value !== "single" && c.value), z = k(() => h.value && h.value.group), I = k(() => re(h.value)), K = k(() => {
|
|
5476
|
+
const P = z.value ? h.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
5478
|
re(h.value)
|
|
5479
|
-
), X = U.value.map((we) => we[i.value]).indexOf(
|
|
5479
|
+
), X = U.value.map((we) => we[i.value]).indexOf(P[i.value]);
|
|
5480
5480
|
let he = U.value[X - 1];
|
|
5481
5481
|
return he === void 0 && (he = Z.value), he;
|
|
5482
5482
|
}), R = k(() => {
|
|
5483
|
-
let
|
|
5484
|
-
return U.value.length <=
|
|
5485
|
-
}), Z = k(() => [...U.value].slice(-1)[0]), ie = k(() => h.value.__VISIBLE__.filter((
|
|
5486
|
-
const
|
|
5487
|
-
return
|
|
5483
|
+
let P = U.value.map((X) => X.label).indexOf(z.value ? h.value[i.value] : re(h.value)[i.value]) + 1;
|
|
5484
|
+
return U.value.length <= P && (P = 0), U.value[P];
|
|
5485
|
+
}), Z = k(() => [...U.value].slice(-1)[0]), ie = k(() => h.value.__VISIBLE__.filter((P) => !P[u.value])[0]), O = k(() => {
|
|
5486
|
+
const P = I.value.__VISIBLE__.filter((X) => !X[u.value]);
|
|
5487
|
+
return P[P.map((X) => X[n.value]).indexOf(h.value[n.value]) - 1];
|
|
5488
5488
|
}), N = k(() => {
|
|
5489
|
-
const
|
|
5490
|
-
return
|
|
5491
|
-
}),
|
|
5489
|
+
const P = re(h.value).__VISIBLE__.filter((X) => !X[u.value]);
|
|
5490
|
+
return P[P.map((X) => X[n.value]).indexOf(h.value[n.value]) + 1];
|
|
5491
|
+
}), S = k(() => [...K.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), m = k(() => [...Z.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), L = (P) => h.value && (!P.group && h.value[n.value] === P[n.value] || P.group !== void 0 && h.value[i.value] === P[i.value]) ? !0 : void 0, J = () => {
|
|
5492
5492
|
A(H.value[0] || null);
|
|
5493
5493
|
}, ae = () => {
|
|
5494
5494
|
!h.value || h.value[u.value] === !0 || (z.value ? y(h.value) : b(h.value));
|
|
@@ -5496,42 +5496,42 @@ function o7(t, e, a) {
|
|
|
5496
5496
|
if (h.value === null)
|
|
5497
5497
|
A((r.value && F.value ? U.value[0].__CREATE__ ? H.value[0] : U.value[0] : H.value[0]) || null);
|
|
5498
5498
|
else if (r.value && F.value) {
|
|
5499
|
-
let
|
|
5500
|
-
|
|
5499
|
+
let P = z.value ? ie.value : N.value;
|
|
5500
|
+
P === void 0 && (P = R.value, P.__CREATE__ && (P = P[f.value][0])), A(P || /* istanbul ignore next */
|
|
5501
5501
|
null);
|
|
5502
5502
|
} else {
|
|
5503
|
-
let
|
|
5504
|
-
H.value.length <=
|
|
5503
|
+
let P = H.value.map((X) => X[n.value]).indexOf(h.value[n.value]) + 1;
|
|
5504
|
+
H.value.length <= P && (P = 0), A(H.value[P] || null);
|
|
5505
5505
|
}
|
|
5506
5506
|
De(() => {
|
|
5507
5507
|
x();
|
|
5508
5508
|
});
|
|
5509
5509
|
}, ne = () => {
|
|
5510
5510
|
if (h.value === null) {
|
|
5511
|
-
let
|
|
5512
|
-
r.value && F.value && (
|
|
5511
|
+
let P = H.value[H.value.length - 1];
|
|
5512
|
+
r.value && F.value && (P = m.value, P === void 0 && (P = Z.value)), A(P || null);
|
|
5513
5513
|
} else if (r.value && F.value) {
|
|
5514
|
-
let
|
|
5515
|
-
|
|
5514
|
+
let P = z.value ? S.value : O.value;
|
|
5515
|
+
P === void 0 && (P = z.value ? K.value : I.value, P.__CREATE__ && (P = S.value, P === void 0 && (P = K.value))), A(P || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
|
-
let
|
|
5519
|
-
|
|
5518
|
+
let P = H.value.map((X) => X[n.value]).indexOf(h.value[n.value]) - 1;
|
|
5519
|
+
P < 0 && (P = H.value.length - 1), A(H.value[P] || null);
|
|
5520
5520
|
}
|
|
5521
5521
|
De(() => {
|
|
5522
5522
|
x();
|
|
5523
5523
|
});
|
|
5524
|
-
}, re = (
|
|
5525
|
-
let
|
|
5526
|
-
if (!
|
|
5524
|
+
}, re = (P) => U.value.find((X) => X.__VISIBLE__.map((he) => he[n.value]).indexOf(P[n.value]) !== -1), x = () => {
|
|
5525
|
+
let P = E.value.querySelector("[data-pointed]");
|
|
5526
|
+
if (!P)
|
|
5527
5527
|
return;
|
|
5528
|
-
let X =
|
|
5529
|
-
r.value && (X = z.value ?
|
|
5528
|
+
let X = P.parentElement.parentElement;
|
|
5529
|
+
r.value && (X = z.value ? P.parentElement.parentElement.parentElement : P.parentElement.parentElement.parentElement.parentElement), P.offsetTop + P.offsetHeight > X.clientHeight + X.scrollTop && (X.scrollTop = P.offsetTop + P.offsetHeight - X.clientHeight), P.offsetTop < X.scrollTop && (X.scrollTop = P.offsetTop);
|
|
5530
5530
|
};
|
|
5531
|
-
return de(_, (
|
|
5532
|
-
o.value && (
|
|
5533
|
-
}), de(D, (
|
|
5534
|
-
if (
|
|
5531
|
+
return de(_, (P) => {
|
|
5532
|
+
o.value && (P.length && s.value ? J() : w());
|
|
5533
|
+
}), de(D, (P) => {
|
|
5534
|
+
if (P) {
|
|
5535
5535
|
let X = E.value.querySelectorAll("[data-selected]")[0];
|
|
5536
5536
|
if (!X)
|
|
5537
5537
|
return;
|
|
@@ -5567,7 +5567,7 @@ function Ve(t) {
|
|
|
5567
5567
|
var e = Se(t).HTMLElement;
|
|
5568
5568
|
return t instanceof e || t instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
5570
|
-
function
|
|
5570
|
+
function Pn(t) {
|
|
5571
5571
|
if (typeof ShadowRoot > "u")
|
|
5572
5572
|
return !1;
|
|
5573
5573
|
var e = Se(t).ShadowRoot;
|
|
@@ -5599,7 +5599,7 @@ function Wt(t, e, a) {
|
|
|
5599
5599
|
y: u
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
|
-
function
|
|
5602
|
+
function Bn(t) {
|
|
5603
5603
|
var e = Se(t), a = e.pageXOffset, n = e.pageYOffset;
|
|
5604
5604
|
return {
|
|
5605
5605
|
scrollLeft: a,
|
|
@@ -5613,7 +5613,7 @@ function r7(t) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function l7(t) {
|
|
5616
|
-
return t === Se(t) || !Ve(t) ?
|
|
5616
|
+
return t === Se(t) || !Ve(t) ? Bn(t) : r7(t);
|
|
5617
5617
|
}
|
|
5618
5618
|
function Ue(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -5624,13 +5624,13 @@ function gt(t) {
|
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5628
|
-
return Wt(gt(t)).left +
|
|
5627
|
+
function Rn(t) {
|
|
5628
|
+
return Wt(gt(t)).left + Bn(t).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
5630
|
function tt(t) {
|
|
5631
5631
|
return Se(t).getComputedStyle(t);
|
|
5632
5632
|
}
|
|
5633
|
-
function
|
|
5633
|
+
function Nn(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
|
}
|
|
@@ -5648,7 +5648,7 @@ function c7(t, e, a) {
|
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
5650
|
return (n || !n && !a) && ((Ue(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
-
|
|
5651
|
+
Nn(o)) && (r = l7(e)), Ve(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Rn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
5654
5654
|
width: i.width,
|
|
@@ -5671,18 +5671,18 @@ function Qa(t) {
|
|
|
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
|
+
(Pn(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 ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Ve(t) &&
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Ve(t) && Nn(t) ? t : ii(Qa(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
5684
5684
|
e === void 0 && (e = []);
|
|
5685
|
-
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [],
|
|
5685
|
+
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], Nn(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(Qa(i)))
|
|
@@ -5691,7 +5691,7 @@ function ia(t, e) {
|
|
|
5691
5691
|
function d7(t) {
|
|
5692
5692
|
return ["table", "td", "th"].indexOf(Ue(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
|
-
function
|
|
5694
|
+
function Cs(t) {
|
|
5695
5695
|
return !Ve(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
@@ -5703,7 +5703,7 @@ function p7(t) {
|
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var s = Qa(t);
|
|
5706
|
-
for (
|
|
5706
|
+
for (Pn(s) && (s = s.host); Ve(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 p7(t) {
|
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
5714
|
function Ja(t) {
|
|
5715
|
-
for (var e = Se(t), a =
|
|
5716
|
-
a =
|
|
5715
|
+
for (var e = Se(t), a = Cs(t); a && d7(a) && tt(a).position === "static"; )
|
|
5716
|
+
a = Cs(a);
|
|
5717
5717
|
return a && (Ue(a) === "html" || Ue(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", Ze = "bottom", vt = "right", Ge = "left",
|
|
5719
|
+
var Re = "top", Ze = "bottom", vt = "right", Ge = "left", jn = "auto", en = [Re, Ze, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", gs = /* @__PURE__ */ en.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
|
-
}, []), h7 = /* @__PURE__ */ [].concat(en, [
|
|
5721
|
+
}, []), h7 = /* @__PURE__ */ [].concat(en, [jn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
5723
|
}, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
|
|
5724
5724
|
function M7(t) {
|
|
@@ -5780,12 +5780,12 @@ function E7(t, e) {
|
|
|
5780
5780
|
return {
|
|
5781
5781
|
width: o,
|
|
5782
5782
|
height: i,
|
|
5783
|
-
x: r +
|
|
5783
|
+
x: r + Rn(t),
|
|
5784
5784
|
y: l
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function I7(t) {
|
|
5788
|
-
var e, a = gt(t), n =
|
|
5788
|
+
var e, a = gt(t), n = Bn(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 + Rn(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 L7(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 && Pn(a)) {
|
|
5801
5801
|
var n = e;
|
|
5802
5802
|
do {
|
|
5803
5803
|
if (n && t.isSameNode(n))
|
|
@@ -5819,7 +5819,7 @@ function H7(t, e) {
|
|
|
5819
5819
|
var a = Wt(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
|
|
5822
|
+
function _s(t, e, a) {
|
|
5823
5823
|
return e === oi ? _n(E7(t, a)) : Mt(e) ? H7(e, a) : _n(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
@@ -5830,9 +5830,9 @@ function D7(t) {
|
|
|
5830
5830
|
}
|
|
5831
5831
|
function V7(t, e, a, n) {
|
|
5832
5832
|
var s = e === "clippingParents" ? D7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(l, c) {
|
|
5833
|
-
var u =
|
|
5833
|
+
var u = _s(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
|
+
}, _s(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) {
|
|
@@ -5907,7 +5907,7 @@ function B7(t, e) {
|
|
|
5907
5907
|
return a[n] = t, a;
|
|
5908
5908
|
}, {});
|
|
5909
5909
|
}
|
|
5910
|
-
function
|
|
5910
|
+
function Fn(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 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, C = a.altBoundary, b = C === void 0 ? !1 : C, y = a.padding, _ = y === void 0 ? 0 : y, h = P7(typeof _ != "number" ? _ : B7(_, en)), A = d === sa ? v7 : sa, w = t.rects.popper, E = t.elements[b ? A : d], D = V7(Mt(E) ? E : E.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), U = li({
|
|
5913
5913
|
reference: H,
|
|
@@ -5929,12 +5929,12 @@ function Un(t, e) {
|
|
|
5929
5929
|
}
|
|
5930
5930
|
return I;
|
|
5931
5931
|
}
|
|
5932
|
-
var
|
|
5932
|
+
var ys = {
|
|
5933
5933
|
placement: "bottom",
|
|
5934
5934
|
modifiers: [],
|
|
5935
5935
|
strategy: "absolute"
|
|
5936
5936
|
};
|
|
5937
|
-
function
|
|
5937
|
+
function bs() {
|
|
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 R7(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 ? ys : 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({}, ys, o),
|
|
5953
5953
|
modifiersData: {},
|
|
5954
5954
|
elements: {
|
|
5955
5955
|
reference: r,
|
|
@@ -5978,7 +5978,7 @@ function R7(t) {
|
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!d) {
|
|
5980
5980
|
var h = u.elements, A = h.reference, w = h.popper;
|
|
5981
|
-
if (
|
|
5981
|
+
if (bs(A, w)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
5983
|
reference: c7(A, Ja(w), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: si(w)
|
|
@@ -6012,7 +6012,7 @@ function R7(t) {
|
|
|
6012
6012
|
y(), d = !0;
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
|
-
if (!
|
|
6015
|
+
if (!bs(r, l))
|
|
6016
6016
|
return C;
|
|
6017
6017
|
C.setOptions(c).then(function(_) {
|
|
6018
6018
|
!d && c.onFirstUpdate && c.onFirstUpdate(_);
|
|
@@ -6090,7 +6090,7 @@ function W7(t, e) {
|
|
|
6090
6090
|
y: Zt(n * s) / s || 0
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6093
|
+
function ws(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, C = d === void 0 ? 0 : d, b = i.y, y = b === void 0 ? 0 : b, _ = typeof u == "function" ? u({
|
|
6095
6095
|
x: C,
|
|
6096
6096
|
y
|
|
@@ -6143,12 +6143,12 @@ function q7(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, ws(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, ws(Object.assign({}, c, {
|
|
6152
6152
|
offsets: e.modifiersData.arrow,
|
|
6153
6153
|
position: "absolute",
|
|
6154
6154
|
adaptive: !1,
|
|
@@ -6219,7 +6219,7 @@ function J7(t, e, a) {
|
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function ep(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, C = d === void 0 ? !0 : d, b = a.tetherOffset, y = b === void 0 ? 0 : b, _ =
|
|
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, C = d === void 0 ? !0 : d, b = a.tetherOffset, y = b === void 0 ? 0 : b, _ = Fn(e, {
|
|
6223
6223
|
boundary: l,
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: f,
|
|
@@ -6238,11 +6238,11 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var Z, ie = E === "y" ? Re : Ge, O = E === "y" ? Ze : vt, N = E === "y" ? "height" : "width",
|
|
6241
|
+
var Z, ie = E === "y" ? Re : Ge, O = E === "y" ? Ze : vt, N = E === "y" ? "height" : "width", S = H[E], m = S + _[ie], L = S - _[O], J = C ? -F[N] / 2 : 0, ae = A === qt ? U[N] : F[N], le = A === qt ? -F[N] : -U[N], ne = e.elements.arrow, re = C && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(),
|
|
6245
|
-
H[E] = ya, R[E] = ya -
|
|
6244
|
+
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), P = x[ie], X = x[O], he = Ia(0, U[N], re[N]), we = w ? U[N] / 2 - J - he - P - I.mainAxis : ae - he - P - I.mainAxis, Kt = w ? -U[N] / 2 + J + he + X + I.mainAxis : le + he + X + I.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? E === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = K == null ? void 0 : K[E]) != null ? Z : 0, tn = S + we - _a - nt, st = S + Kt - _a, ya = Ia(C ? Na(m, tn) : m, S, C ? kt(L, st) : L);
|
|
6245
|
+
H[E] = ya, R[E] = ya - S;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
6248
|
var it, Ne = E === "x" ? Re : Ge, Ae = E === "x" ? Ze : vt, Be = H[D], We = D === "y" ? "height" : "width", Xt = Be + _[Ne], ba = Be - _[Ae], Te = [Re, Ge].indexOf(h) !== -1, Qt = (it = K == null ? void 0 : K[D]) != null ? it : 0, ot = Te ? Xt : Be - U[We] - F[We] - Qt + I.altAxis, _t = Te ? Be + U[We] + F[We] - Qt - I.altAxis : ba, wa = C && Te ? J7(ot, Be, _t) : Ia(C ? ot : Xt, Be, C ? _t : ba);
|
|
@@ -6272,21 +6272,21 @@ var np = {
|
|
|
6272
6272
|
start: "end",
|
|
6273
6273
|
end: "start"
|
|
6274
6274
|
};
|
|
6275
|
-
function
|
|
6275
|
+
function $s(t) {
|
|
6276
6276
|
return t.replace(/start|end/g, function(e) {
|
|
6277
6277
|
return np[e];
|
|
6278
6278
|
});
|
|
6279
6279
|
}
|
|
6280
6280
|
function sp(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 ? h7 : l, u = zt(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 ? h7 : l, u = zt(n), f = u ? r ? gs : gs.filter(function(b) {
|
|
6283
6283
|
return zt(b) === u;
|
|
6284
6284
|
}) : en, d = f.filter(function(b) {
|
|
6285
6285
|
return c.indexOf(b) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
6288
6288
|
var C = d.reduce(function(b, y) {
|
|
6289
|
-
return b[y] =
|
|
6289
|
+
return b[y] = Fn(t, {
|
|
6290
6290
|
placement: y,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
@@ -6298,16 +6298,16 @@ function sp(t, e) {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function ip(t) {
|
|
6301
|
-
if (ct(t) ===
|
|
6301
|
+
if (ct(t) === jn)
|
|
6302
6302
|
return [];
|
|
6303
6303
|
var e = La(t);
|
|
6304
|
-
return [
|
|
6304
|
+
return [$s(t), e, $s(e)];
|
|
6305
6305
|
}
|
|
6306
6306
|
function op(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
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, C = a.flipVariations, b = C === void 0 ? !0 : C, y = a.allowedAutoPlacements, _ = e.options.placement, h = ct(_), A = h === _, w = l || (A || !b ? [La(_)] : ip(_)), E = [_].concat(w).reduce(function(re, x) {
|
|
6310
|
-
return re.concat(ct(x) ===
|
|
6310
|
+
return re.concat(ct(x) === jn ? sp(e, {
|
|
6311
6311
|
placement: x,
|
|
6312
6312
|
boundary: u,
|
|
6313
6313
|
rootBoundary: f,
|
|
@@ -6316,16 +6316,16 @@ function op(t) {
|
|
|
6316
6316
|
allowedAutoPlacements: y
|
|
6317
6317
|
}) : x);
|
|
6318
6318
|
}, []), D = e.rects.reference, H = e.rects.popper, U = /* @__PURE__ */ new Map(), F = !0, z = E[0], I = 0; I < E.length; I++) {
|
|
6319
|
-
var K = E[I], R = ct(K), Z = zt(K) === qt, ie = [Re, Ze].indexOf(R) >= 0, O = ie ? "width" : "height", N =
|
|
6319
|
+
var K = E[I], R = ct(K), Z = zt(K) === qt, ie = [Re, Ze].indexOf(R) >= 0, O = ie ? "width" : "height", N = Fn(e, {
|
|
6320
6320
|
placement: K,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}),
|
|
6326
|
-
D[O] > H[O] && (
|
|
6327
|
-
var m = La(
|
|
6328
|
-
if (o && L.push(N[R] <= 0), r && L.push(N[
|
|
6325
|
+
}), S = ie ? Z ? vt : Ge : Z ? Ze : Re;
|
|
6326
|
+
D[O] > H[O] && (S = La(S));
|
|
6327
|
+
var m = La(S), L = [];
|
|
6328
|
+
if (o && L.push(N[R] <= 0), r && L.push(N[S] <= 0, N[m] <= 0), L.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
z = K, F = !1;
|
|
@@ -6335,15 +6335,15 @@ function op(t) {
|
|
|
6335
6335
|
}
|
|
6336
6336
|
if (F)
|
|
6337
6337
|
for (var J = b ? 3 : 1, ae = function(x) {
|
|
6338
|
-
var
|
|
6338
|
+
var P = E.find(function(X) {
|
|
6339
6339
|
var he = U.get(X);
|
|
6340
6340
|
if (he)
|
|
6341
6341
|
return he.slice(0, x).every(function(we) {
|
|
6342
6342
|
return we;
|
|
6343
6343
|
});
|
|
6344
6344
|
});
|
|
6345
|
-
if (
|
|
6346
|
-
return z =
|
|
6345
|
+
if (P)
|
|
6346
|
+
return z = P, "break";
|
|
6347
6347
|
}, le = J; le > 0; le--) {
|
|
6348
6348
|
var ne = ae(le);
|
|
6349
6349
|
if (ne === "break")
|
|
@@ -7430,7 +7430,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7430
7430
|
]) : T("v-if", !0)
|
|
7431
7431
|
], 16, gp),
|
|
7432
7432
|
T(" Options "),
|
|
7433
|
-
(p(),
|
|
7433
|
+
(p(), V(Nt, {
|
|
7434
7434
|
to: a.appendTo || "body",
|
|
7435
7435
|
disabled: !a.appendToBody && !a.appendTo
|
|
7436
7436
|
}, [
|
|
@@ -7654,7 +7654,7 @@ const $e = /* @__PURE__ */ q({
|
|
|
7654
7654
|
return e.detached && Q5({
|
|
7655
7655
|
multiselect: n,
|
|
7656
7656
|
appendTo: a.value
|
|
7657
|
-
}), (s, o) => (p(),
|
|
7657
|
+
}), (s, o) => (p(), V(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 ks;
|
|
7672
7672
|
function Tt() {
|
|
7673
7673
|
const t = Np(), 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 = ks.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 = ks.lastIndex;
|
|
7700
7700
|
}
|
|
7701
7701
|
return n.push(a.substring(o)), n;
|
|
7702
7702
|
};
|
|
@@ -7780,7 +7780,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7780
7780
|
key: C.id,
|
|
7781
7781
|
class: "ao-subtask"
|
|
7782
7782
|
}, [
|
|
7783
|
-
((b = f.isCheckable) == null ? void 0 : b.call(f, C)) ?? !1 ? (p(),
|
|
7783
|
+
((b = f.isCheckable) == null ? void 0 : b.call(f, C)) ?? !1 ? (p(), V(ce, {
|
|
7784
7784
|
key: 0,
|
|
7785
7785
|
class: "ao-subtask__check",
|
|
7786
7786
|
"icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -7799,7 +7799,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7799
7799
|
onKeyup: dt(u, ["enter"])
|
|
7800
7800
|
}, null, 42, Up),
|
|
7801
7801
|
Fa(". "),
|
|
7802
|
-
!f.isTemplate && f.users ? (p(),
|
|
7802
|
+
!f.isTemplate && f.users ? (p(), V($e, {
|
|
7803
7803
|
key: 1,
|
|
7804
7804
|
value: (y = C.assignee) != null && y.id ? [C.assignee.id] : [],
|
|
7805
7805
|
options: s.value,
|
|
@@ -7814,7 +7814,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7814
7814
|
onChange: (_) => c(_, C.id)
|
|
7815
7815
|
}, {
|
|
7816
7816
|
tag: W(({ option: _, handleTagRemove: h }) => [
|
|
7817
|
-
|
|
7817
|
+
M(Je, {
|
|
7818
7818
|
"user-name": _.label,
|
|
7819
7819
|
"avatar-url": _.avatar,
|
|
7820
7820
|
"is-closable": !0,
|
|
@@ -7823,7 +7823,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7823
7823
|
]),
|
|
7824
7824
|
_: 2
|
|
7825
7825
|
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
|
|
7826
|
-
f.isEditable ? (p(),
|
|
7826
|
+
f.isEditable ? (p(), V(ce, {
|
|
7827
7827
|
key: 2,
|
|
7828
7828
|
class: "ao-subtask__delete",
|
|
7829
7829
|
"icon-name": "CancelRounded",
|
|
@@ -7836,7 +7836,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7836
7836
|
}), 128))
|
|
7837
7837
|
]),
|
|
7838
7838
|
v("div", Zp, [
|
|
7839
|
-
f.isEditable ? (p(),
|
|
7839
|
+
f.isEditable ? (p(), V(ce, {
|
|
7840
7840
|
key: 0,
|
|
7841
7841
|
label: f.$t("activity.tasks.add"),
|
|
7842
7842
|
"icon-name": "Add",
|
|
@@ -7869,7 +7869,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7869
7869
|
o.forEach((u) => {
|
|
7870
7870
|
document.body.addEventListener(u, (f) => f.preventDefault());
|
|
7871
7871
|
});
|
|
7872
|
-
}),
|
|
7872
|
+
}), wn(() => {
|
|
7873
7873
|
o.forEach((u) => {
|
|
7874
7874
|
document.body.removeEventListener(
|
|
7875
7875
|
u,
|
|
@@ -7919,14 +7919,14 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7919
7919
|
target: "_blank",
|
|
7920
7920
|
rel: "noopener noreferrer"
|
|
7921
7921
|
}, [
|
|
7922
|
-
|
|
7922
|
+
M(pe, {
|
|
7923
7923
|
class: "ao-file__icon",
|
|
7924
7924
|
name: "AttachFileRounded",
|
|
7925
7925
|
size: "sm"
|
|
7926
7926
|
}),
|
|
7927
7927
|
v("span", Kp, G(d.name), 1)
|
|
7928
7928
|
], 8, Yp),
|
|
7929
|
-
u.isEditable ? (p(),
|
|
7929
|
+
u.isEditable ? (p(), V(ce, {
|
|
7930
7930
|
key: 0,
|
|
7931
7931
|
class: "ao-files__delete-button",
|
|
7932
7932
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -7940,7 +7940,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7940
7940
|
u.isEditable ? (p(), g("li", Gp, [
|
|
7941
7941
|
v("label", Xp, [
|
|
7942
7942
|
v("div", Qp, [
|
|
7943
|
-
|
|
7943
|
+
M(pe, {
|
|
7944
7944
|
name: "Add",
|
|
7945
7945
|
size: "sm"
|
|
7946
7946
|
}),
|
|
@@ -8001,7 +8001,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8001
8001
|
}), (y, _) => {
|
|
8002
8002
|
var h;
|
|
8003
8003
|
return p(), g("li", nf, [
|
|
8004
|
-
n.value ? (p(),
|
|
8004
|
+
n.value ? (p(), V(Je, {
|
|
8005
8005
|
key: 0,
|
|
8006
8006
|
"avatar-url": (h = y.user) == null ? void 0 : h.avatarUrl,
|
|
8007
8007
|
"user-name": n.value,
|
|
@@ -8010,7 +8010,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8010
8010
|
v("span", sf, G(c.value), 1),
|
|
8011
8011
|
v("div", of, [
|
|
8012
8012
|
v("div", rf, [
|
|
8013
|
-
(p(),
|
|
8013
|
+
(p(), V(ht(u.value), {
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: s,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
@@ -8030,14 +8030,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8030
8030
|
]),
|
|
8031
8031
|
y.isEditable ? (p(), g("div", lf, [
|
|
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
8038
|
onClick: Q(f)
|
|
8039
8039
|
}, null, 8, ["onClick"]),
|
|
8040
|
-
|
|
8040
|
+
M(ce, {
|
|
8041
8041
|
"icon-name": "CheckSmallRounded",
|
|
8042
8042
|
size: "sm",
|
|
8043
8043
|
variant: "solid",
|
|
@@ -8046,14 +8046,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8046
8046
|
onClick: Q(d)
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (p(), g(ve, { key: 1 }, [
|
|
8049
|
-
|
|
8049
|
+
M(ce, {
|
|
8050
8050
|
label: y.$t("activity.comment.delete"),
|
|
8051
8051
|
size: "sm",
|
|
8052
8052
|
variant: "ghost",
|
|
8053
8053
|
color: "neutral",
|
|
8054
8054
|
onClick: C
|
|
8055
8055
|
}, null, 8, ["label"]),
|
|
8056
|
-
|
|
8056
|
+
M(ce, {
|
|
8057
8057
|
label: y.$t("activity.comment.edit"),
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
@@ -8129,7 +8129,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8129
8129
|
]
|
|
8130
8130
|
]),
|
|
8131
8131
|
v("div", ff, [
|
|
8132
|
-
|
|
8132
|
+
M(ce, {
|
|
8133
8133
|
type: "submit",
|
|
8134
8134
|
"icon-name": "SendRounded",
|
|
8135
8135
|
color: "primary",
|
|
@@ -8141,7 +8141,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8141
8141
|
], 40, df)
|
|
8142
8142
|
]),
|
|
8143
8143
|
((C = n.value) == null ? void 0 : C.length) > 0 ? (p(), g("ul", vf, [
|
|
8144
|
-
(p(!0), g(ve, null, _e(n.value, (b) => (p(),
|
|
8144
|
+
(p(!0), g(ve, null, _e(n.value, (b) => (p(), V(uf, {
|
|
8145
8145
|
key: b.id,
|
|
8146
8146
|
user: s(b.author.id),
|
|
8147
8147
|
content: b.message,
|
|
@@ -8168,8 +8168,8 @@ const yn = /* @__PURE__ */ q({
|
|
|
8168
8168
|
const a = t, n = () => {
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
|
-
return (s, o) => (p(),
|
|
8172
|
-
color: s.modelValue ? s.color : Q(
|
|
8171
|
+
return (s, o) => (p(), V(ce, {
|
|
8172
|
+
color: s.modelValue ? s.color : Q(kn).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8201,7 +8201,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8201
8201
|
}, s9 = { class: "ao-fieldset ao-activity-details__aside-section" }, i9 = { class: "ao-fieldset__title" }, o9 = { class: "ao-fieldset__body" }, r9 = { class: "ao-field__row" }, l9 = { class: "ao-field ao-field--multiselect" }, u9 = { class: "ao-field__label" }, c9 = { class: "ao-field__row" }, d9 = { class: "ao-field ao-field--multiselect" }, p9 = { class: "ao-field__label" }, f9 = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
}, v9 = { class: "ao-activity__created-by" },
|
|
8204
|
+
}, v9 = { class: "ao-activity__created-by" }, Un = /* @__PURE__ */ q({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8395,11 +8395,11 @@ const yn = /* @__PURE__ */ q({
|
|
|
8395
8395
|
e("updateComment", m);
|
|
8396
8396
|
}, N = (m) => {
|
|
8397
8397
|
e("removeComment", m);
|
|
8398
|
-
},
|
|
8398
|
+
}, S = k(() => {
|
|
8399
8399
|
var m, L;
|
|
8400
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((L = a.activity.createdBy) == null ? void 0 : L.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
8402
|
-
return (m, L) => (p(),
|
|
8402
|
+
return (m, L) => (p(), V(En, {
|
|
8403
8403
|
onClose: L[10] || (L[10] = (J) => m.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
8405
|
default: W(() => {
|
|
@@ -8409,7 +8409,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8409
8409
|
v("div", Cf, [
|
|
8410
8410
|
v("div", gf, [
|
|
8411
8411
|
m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
|
|
8412
|
-
|
|
8412
|
+
M(ye, {
|
|
8413
8413
|
title: m.activity.name || "",
|
|
8414
8414
|
level: 4,
|
|
8415
8415
|
"is-editable": n.value,
|
|
@@ -8418,7 +8418,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8418
8418
|
v("div", yf, [
|
|
8419
8419
|
F.value ? (p(), g("label", bf, [
|
|
8420
8420
|
v("span", wf, G(m.$t("activity.project.label")), 1),
|
|
8421
|
-
|
|
8421
|
+
M($e, {
|
|
8422
8422
|
options: F.value,
|
|
8423
8423
|
value: (J = m.activity.project) == null ? void 0 : J.id,
|
|
8424
8424
|
searchable: !0,
|
|
@@ -8429,7 +8429,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8429
8429
|
])) : T("", !0),
|
|
8430
8430
|
z.value ? (p(), g("label", $f, [
|
|
8431
8431
|
v("span", kf, G(m.$t("activity.milestone.label")), 1),
|
|
8432
|
-
|
|
8432
|
+
M($e, {
|
|
8433
8433
|
options: z.value,
|
|
8434
8434
|
value: (ae = m.activity.milestone) == null ? void 0 : ae.id,
|
|
8435
8435
|
searchable: !0,
|
|
@@ -8444,7 +8444,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8444
8444
|
v("div", Sf, [
|
|
8445
8445
|
v("fieldset", Mf, [
|
|
8446
8446
|
v("div", Af, [
|
|
8447
|
-
|
|
8447
|
+
M(af, {
|
|
8448
8448
|
attachments: m.activity.attachments,
|
|
8449
8449
|
"is-editable": m.attachmentEnabled && n.value && m.isTemplate !== !0 && !!m.userId,
|
|
8450
8450
|
onAdd: H,
|
|
@@ -8499,14 +8499,14 @@ const yn = /* @__PURE__ */ q({
|
|
|
8499
8499
|
]),
|
|
8500
8500
|
v("fieldset", Vf, [
|
|
8501
8501
|
v("div", Pf, [
|
|
8502
|
-
|
|
8503
|
-
|
|
8502
|
+
M(pe, { name: "SelectCheckBox" }),
|
|
8503
|
+
M(ye, {
|
|
8504
8504
|
level: 4,
|
|
8505
8505
|
title: m.$t("activity.tasks.title")
|
|
8506
8506
|
}, null, 8, ["title"])
|
|
8507
8507
|
]),
|
|
8508
8508
|
v("div", Bf, [
|
|
8509
|
-
|
|
8509
|
+
M(Wp, {
|
|
8510
8510
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8511
8511
|
tasks: m.activity.tasks || [],
|
|
8512
8512
|
"activity-id": m.activity.id,
|
|
@@ -8522,13 +8522,13 @@ const yn = /* @__PURE__ */ q({
|
|
|
8522
8522
|
]),
|
|
8523
8523
|
m.isTemplate !== !0 && m.userId ? (p(), g("div", Rf, [
|
|
8524
8524
|
v("div", Nf, [
|
|
8525
|
-
|
|
8526
|
-
|
|
8525
|
+
M(pe, { name: "ChatOutline" }),
|
|
8526
|
+
M(ye, {
|
|
8527
8527
|
level: 4,
|
|
8528
8528
|
title: m.$t("activity.comments.title")
|
|
8529
8529
|
}, null, 8, ["title"])
|
|
8530
8530
|
]),
|
|
8531
|
-
|
|
8531
|
+
M(hf, {
|
|
8532
8532
|
comments: m.activity.comments,
|
|
8533
8533
|
users: m.users,
|
|
8534
8534
|
"user-id": m.userId,
|
|
@@ -8541,7 +8541,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8541
8541
|
]),
|
|
8542
8542
|
v("div", jf, [
|
|
8543
8543
|
v("div", Ff, [
|
|
8544
|
-
|
|
8544
|
+
M(pe, {
|
|
8545
8545
|
name: "CloseRounded",
|
|
8546
8546
|
onClick: L[2] || (L[2] = (ne) => m.$emit("close"))
|
|
8547
8547
|
})
|
|
@@ -8549,7 +8549,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8549
8549
|
R.value ? (p(), g("div", Uf, [
|
|
8550
8550
|
v("label", Zf, [
|
|
8551
8551
|
v("span", Wf, G(m.$t("activity.status.label")), 1),
|
|
8552
|
-
|
|
8552
|
+
M($e, {
|
|
8553
8553
|
class: "ao-activity-details__multiselect",
|
|
8554
8554
|
options: R.value,
|
|
8555
8555
|
value: (le = m.activity.status) == null ? void 0 : le.id,
|
|
@@ -8564,7 +8564,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8564
8564
|
v("div", qf, [
|
|
8565
8565
|
v("div", zf, [
|
|
8566
8566
|
v("span", xf, G(m.$t("activity.assignee.label")), 1),
|
|
8567
|
-
|
|
8567
|
+
M($e, {
|
|
8568
8568
|
modelValue: D.value,
|
|
8569
8569
|
"onUpdate:modelValue": L[3] || (L[3] = (ne) => D.value = ne),
|
|
8570
8570
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
@@ -8581,7 +8581,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8581
8581
|
option: ne,
|
|
8582
8582
|
handleTagRemove: re
|
|
8583
8583
|
}) => [
|
|
8584
|
-
|
|
8584
|
+
M(Je, {
|
|
8585
8585
|
"user-name": ne.label,
|
|
8586
8586
|
"avatar-url": ne.avatar,
|
|
8587
8587
|
"is-closable": !0,
|
|
@@ -8615,7 +8615,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8615
8615
|
v("div", Jf, [
|
|
8616
8616
|
u.value ? (p(), g("div", e9, [
|
|
8617
8617
|
v("label", t9, [
|
|
8618
|
-
|
|
8618
|
+
M($e, {
|
|
8619
8619
|
modelValue: f.value,
|
|
8620
8620
|
"onUpdate:modelValue": L[5] || (L[5] = (ne) => f.value = ne),
|
|
8621
8621
|
class: "ao-activity-details__multiselect",
|
|
@@ -8631,7 +8631,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8631
8631
|
te(m.$slots, "default", { activity: m.activity })
|
|
8632
8632
|
]),
|
|
8633
8633
|
v("div", a9, [
|
|
8634
|
-
|
|
8634
|
+
M(yn, {
|
|
8635
8635
|
modelValue: r.value,
|
|
8636
8636
|
"onUpdate:modelValue": L[6] || (L[6] = (ne) => r.value = ne),
|
|
8637
8637
|
modelModifiers: { lazy: !0 },
|
|
@@ -8646,7 +8646,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8646
8646
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8647
8647
|
]),
|
|
8648
8648
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", n9, [
|
|
8649
|
-
|
|
8649
|
+
M(yn, {
|
|
8650
8650
|
modelValue: l.value,
|
|
8651
8651
|
"onUpdate:modelValue": L[7] || (L[7] = (ne) => l.value = ne),
|
|
8652
8652
|
modelModifiers: { lazy: !0 },
|
|
@@ -8661,8 +8661,8 @@ const yn = /* @__PURE__ */ q({
|
|
|
8661
8661
|
])) : T("", !0),
|
|
8662
8662
|
v("fieldset", s9, [
|
|
8663
8663
|
v("div", i9, [
|
|
8664
|
-
|
|
8665
|
-
|
|
8664
|
+
M(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8665
|
+
M(ye, {
|
|
8666
8666
|
level: 4,
|
|
8667
8667
|
title: m.$t("activity.dependencies.title")
|
|
8668
8668
|
}, null, 8, ["title"])
|
|
@@ -8671,7 +8671,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8671
8671
|
v("div", r9, [
|
|
8672
8672
|
v("label", l9, [
|
|
8673
8673
|
v("span", u9, G(m.$t("activity.dependingOn.label")), 1),
|
|
8674
|
-
|
|
8674
|
+
M($e, {
|
|
8675
8675
|
modelValue: C.value,
|
|
8676
8676
|
"onUpdate:modelValue": L[8] || (L[8] = (ne) => C.value = ne),
|
|
8677
8677
|
class: "ao-activity-details__multiselect",
|
|
@@ -8687,7 +8687,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8687
8687
|
v("div", c9, [
|
|
8688
8688
|
v("label", d9, [
|
|
8689
8689
|
v("span", p9, G(m.$t("activity.blocking.label")), 1),
|
|
8690
|
-
|
|
8690
|
+
M($e, {
|
|
8691
8691
|
modelValue: y.value,
|
|
8692
8692
|
"onUpdate:modelValue": L[9] || (L[9] = (ne) => y.value = ne),
|
|
8693
8693
|
class: "ao-activity-details__multiselect",
|
|
@@ -8702,13 +8702,13 @@ const yn = /* @__PURE__ */ q({
|
|
|
8702
8702
|
])
|
|
8703
8703
|
])
|
|
8704
8704
|
]),
|
|
8705
|
-
m.isTemplate !== !0 &&
|
|
8705
|
+
m.isTemplate !== !0 && S.value ? (p(), g("div", f9, [
|
|
8706
8706
|
v("div", v9, [
|
|
8707
|
-
|
|
8708
|
-
"user-name":
|
|
8707
|
+
M(Je, {
|
|
8708
|
+
"user-name": S.value,
|
|
8709
8709
|
color: "black"
|
|
8710
8710
|
}, null, 8, ["user-name"]),
|
|
8711
|
-
v("span", null, G(
|
|
8711
|
+
v("span", null, G(S.value), 1)
|
|
8712
8712
|
])
|
|
8713
8713
|
])) : T("", !0)
|
|
8714
8714
|
])
|
|
@@ -8793,24 +8793,24 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8793
8793
|
e("update:rule", { ...a.rule, durationUnit: h });
|
|
8794
8794
|
}
|
|
8795
8795
|
}), _ = k(() => Object.values(j2));
|
|
8796
|
-
return (h, A) => (p(),
|
|
8796
|
+
return (h, A) => (p(), V(ht(h.tagName), { class: "ao-rule-line" }, {
|
|
8797
8797
|
default: W(() => [
|
|
8798
|
-
|
|
8798
|
+
M(Q(lt), {
|
|
8799
8799
|
modelValue: s.value,
|
|
8800
8800
|
"onUpdate:modelValue": A[0] || (A[0] = (w) => s.value = w),
|
|
8801
8801
|
options: o.value
|
|
8802
8802
|
}, null, 8, ["modelValue", "options"]),
|
|
8803
|
-
|
|
8803
|
+
M(Q(lt), {
|
|
8804
8804
|
modelValue: i.value,
|
|
8805
8805
|
"onUpdate:modelValue": A[1] || (A[1] = (w) => i.value = w),
|
|
8806
8806
|
options: r.value
|
|
8807
8807
|
}, null, 8, ["modelValue", "options"]),
|
|
8808
|
-
|
|
8808
|
+
M(Q(lt), {
|
|
8809
8809
|
modelValue: d.value,
|
|
8810
8810
|
"onUpdate:modelValue": A[2] || (A[2] = (w) => d.value = w),
|
|
8811
8811
|
options: C.value
|
|
8812
8812
|
}, null, 8, ["modelValue", "options"]),
|
|
8813
|
-
|
|
8813
|
+
M(Q(lt), {
|
|
8814
8814
|
modelValue: c.value,
|
|
8815
8815
|
"onUpdate:modelValue": A[3] || (A[3] = (w) => c.value = w),
|
|
8816
8816
|
options: u.value
|
|
@@ -8827,12 +8827,12 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8827
8827
|
{ number: !0 }
|
|
8828
8828
|
]
|
|
8829
8829
|
]),
|
|
8830
|
-
|
|
8830
|
+
M(Q(lt), {
|
|
8831
8831
|
modelValue: y.value,
|
|
8832
8832
|
"onUpdate:modelValue": A[5] || (A[5] = (w) => y.value = w),
|
|
8833
8833
|
options: _.value
|
|
8834
8834
|
}, null, 8, ["modelValue", "options"]),
|
|
8835
|
-
|
|
8835
|
+
M(ce, {
|
|
8836
8836
|
class: "ao-rule-line__remove",
|
|
8837
8837
|
"icon-name": "CloseRounded",
|
|
8838
8838
|
variant: "ghost",
|
|
@@ -8859,9 +8859,9 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8859
8859
|
}, n = (s) => {
|
|
8860
8860
|
e("removeRule", s);
|
|
8861
8861
|
};
|
|
8862
|
-
return (s, o) => (p(),
|
|
8862
|
+
return (s, o) => (p(), V(En, null, {
|
|
8863
8863
|
header: W(() => [
|
|
8864
|
-
|
|
8864
|
+
M(ye, {
|
|
8865
8865
|
title: s.$t("template.rules.title"),
|
|
8866
8866
|
level: 2
|
|
8867
8867
|
}, null, 8, ["title"])
|
|
@@ -8869,7 +8869,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8869
8869
|
default: W(() => [
|
|
8870
8870
|
v("div", m9, [
|
|
8871
8871
|
v("ul", C9, [
|
|
8872
|
-
(p(!0), g(ve, null, _e(s.rules, (i) => (p(),
|
|
8872
|
+
(p(!0), g(ve, null, _e(s.rules, (i) => (p(), V(h9, {
|
|
8873
8873
|
key: i.id,
|
|
8874
8874
|
rule: i,
|
|
8875
8875
|
"template-phases": s.templatePhases,
|
|
@@ -8879,7 +8879,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8879
8879
|
onClose: () => n(i.id)
|
|
8880
8880
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8881
8881
|
]),
|
|
8882
|
-
|
|
8882
|
+
M(Ct, {
|
|
8883
8883
|
label: s.$t("template.rules.add"),
|
|
8884
8884
|
"icon-name": "Add",
|
|
8885
8885
|
onClick: a
|
|
@@ -8915,8 +8915,8 @@ const _9 = {
|
|
|
8915
8915
|
setup(t, { emit: e }) {
|
|
8916
8916
|
const a = t, { t: n } = Tt(), s = k(
|
|
8917
8917
|
() => {
|
|
8918
|
-
var
|
|
8919
|
-
return (
|
|
8918
|
+
var S;
|
|
8919
|
+
return (S = a.templates) == null ? void 0 : S.find((m) => m.id === a.templateId);
|
|
8920
8920
|
}
|
|
8921
8921
|
), o = ee(!1);
|
|
8922
8922
|
de(
|
|
@@ -8924,50 +8924,50 @@ const _9 = {
|
|
|
8924
8924
|
() => o.value = !1
|
|
8925
8925
|
), de(
|
|
8926
8926
|
() => {
|
|
8927
|
-
var
|
|
8928
|
-
return (
|
|
8927
|
+
var S;
|
|
8928
|
+
return (S = s.value) == null ? void 0 : S.phases;
|
|
8929
8929
|
},
|
|
8930
|
-
(
|
|
8931
|
-
o.value && Xe(
|
|
8930
|
+
(S, m) => {
|
|
8931
|
+
o.value && Xe(S, m);
|
|
8932
8932
|
}
|
|
8933
8933
|
);
|
|
8934
8934
|
const i = k(() => {
|
|
8935
|
-
var
|
|
8936
|
-
return (m = (
|
|
8935
|
+
var S, m;
|
|
8936
|
+
return (m = (S = s == null ? void 0 : s.value) == null ? void 0 : S.phases) == null ? void 0 : m.find((L) => L.id === a.phaseId);
|
|
8937
8937
|
});
|
|
8938
8938
|
de(
|
|
8939
8939
|
() => {
|
|
8940
|
-
var
|
|
8941
|
-
return (
|
|
8940
|
+
var S;
|
|
8941
|
+
return (S = i.value) == null ? void 0 : S.milestones;
|
|
8942
8942
|
},
|
|
8943
|
-
(
|
|
8944
|
-
o.value && Xe(
|
|
8943
|
+
(S, m) => {
|
|
8944
|
+
o.value && Xe(S, m);
|
|
8945
8945
|
}
|
|
8946
8946
|
);
|
|
8947
8947
|
const r = k(() => {
|
|
8948
|
-
var
|
|
8949
|
-
return (m = (
|
|
8948
|
+
var S, m;
|
|
8949
|
+
return (m = (S = i.value) == null ? void 0 : S.milestones) == null ? void 0 : m.find(
|
|
8950
8950
|
(L) => L.id === a.milestoneId
|
|
8951
8951
|
);
|
|
8952
8952
|
});
|
|
8953
8953
|
de(
|
|
8954
8954
|
() => {
|
|
8955
|
-
var
|
|
8956
|
-
return (
|
|
8955
|
+
var S;
|
|
8956
|
+
return (S = r.value) == null ? void 0 : S.activities;
|
|
8957
8957
|
},
|
|
8958
|
-
(
|
|
8959
|
-
o.value && Xe(
|
|
8958
|
+
(S, m) => {
|
|
8959
|
+
o.value && Xe(S, m);
|
|
8960
8960
|
}
|
|
8961
8961
|
);
|
|
8962
8962
|
const l = k(() => {
|
|
8963
|
-
var
|
|
8964
|
-
return ((m = (
|
|
8963
|
+
var S, m;
|
|
8964
|
+
return ((m = (S = s.value) == null ? void 0 : S.phases) == null ? void 0 : m.reduce((L, J) => {
|
|
8965
8965
|
const ae = J.milestones || [];
|
|
8966
8966
|
return [...L, ...ae];
|
|
8967
8967
|
}, [])) || [];
|
|
8968
8968
|
}), c = k(() => {
|
|
8969
|
-
var
|
|
8970
|
-
return ((m = (
|
|
8969
|
+
var S, m;
|
|
8970
|
+
return ((m = (S = s.value) == null ? void 0 : S.phases) == null ? void 0 : m.reduce((L, J) => {
|
|
8971
8971
|
const le = (J.milestones || []).reduce(
|
|
8972
8972
|
(ne, re) => re.activities ? [...ne, ...re.activities] : ne,
|
|
8973
8973
|
[]
|
|
@@ -8975,17 +8975,17 @@ const _9 = {
|
|
|
8975
8975
|
return [...L, ...le];
|
|
8976
8976
|
}, [])) || [];
|
|
8977
8977
|
}), u = k(() => {
|
|
8978
|
-
var
|
|
8979
|
-
return (m = (
|
|
8978
|
+
var S, m;
|
|
8979
|
+
return (m = (S = r.value) == null ? void 0 : S.activities) == null ? void 0 : m.find(
|
|
8980
8980
|
(L) => L.id === a.activityId
|
|
8981
8981
|
);
|
|
8982
8982
|
}), f = k(() => {
|
|
8983
|
-
var
|
|
8984
|
-
return ((
|
|
8983
|
+
var S;
|
|
8984
|
+
return ((S = s.value) == null ? void 0 : S.name) || a.templateId;
|
|
8985
8985
|
}), d = () => {
|
|
8986
8986
|
if (!s.value)
|
|
8987
8987
|
return;
|
|
8988
|
-
const { name:
|
|
8988
|
+
const { name: S, rank: m } = Bt(
|
|
8989
8989
|
s.value.phases,
|
|
8990
8990
|
"phase",
|
|
8991
8991
|
n
|
|
@@ -8994,35 +8994,35 @@ const _9 = {
|
|
|
8994
8994
|
type: Ce.PHASES,
|
|
8995
8995
|
templateId: a.templateId,
|
|
8996
8996
|
item: {
|
|
8997
|
-
name:
|
|
8997
|
+
name: S,
|
|
8998
8998
|
rank: m
|
|
8999
8999
|
}
|
|
9000
9000
|
});
|
|
9001
|
-
}, C = (
|
|
9001
|
+
}, C = (S) => {
|
|
9002
9002
|
e("updateItem", {
|
|
9003
9003
|
templateId: a.templateId,
|
|
9004
9004
|
id: a.templateId,
|
|
9005
9005
|
itemType: Ce.TEMPLATES,
|
|
9006
|
-
data: { name:
|
|
9006
|
+
data: { name: S }
|
|
9007
9007
|
});
|
|
9008
|
-
}, b = (
|
|
9008
|
+
}, b = (S) => {
|
|
9009
9009
|
e("removeItem", {
|
|
9010
9010
|
type: Ce.PHASES,
|
|
9011
9011
|
templateId: a.templateId,
|
|
9012
9012
|
data: {
|
|
9013
|
-
id:
|
|
9013
|
+
id: S
|
|
9014
9014
|
}
|
|
9015
9015
|
});
|
|
9016
|
-
}, y = (
|
|
9016
|
+
}, y = (S, m) => {
|
|
9017
9017
|
e("updateItem", {
|
|
9018
9018
|
templateId: a.templateId,
|
|
9019
|
-
id:
|
|
9019
|
+
id: S,
|
|
9020
9020
|
itemType: Ce.PHASES,
|
|
9021
9021
|
data: { name: m }
|
|
9022
9022
|
});
|
|
9023
|
-
}, _ = (
|
|
9024
|
-
e("updateItem",
|
|
9025
|
-
}, h = (
|
|
9023
|
+
}, _ = (S) => {
|
|
9024
|
+
e("updateItem", S);
|
|
9025
|
+
}, h = (S) => {
|
|
9026
9026
|
if (!i.value)
|
|
9027
9027
|
return;
|
|
9028
9028
|
const { name: m, rank: L } = Bt(
|
|
@@ -9033,32 +9033,32 @@ const _9 = {
|
|
|
9033
9033
|
o.value = !0, e("addItem", {
|
|
9034
9034
|
type: Ce.MILESTONES,
|
|
9035
9035
|
templateId: a.templateId,
|
|
9036
|
-
phaseId:
|
|
9036
|
+
phaseId: S.phaseId,
|
|
9037
9037
|
item: {
|
|
9038
9038
|
name: m,
|
|
9039
9039
|
rank: L,
|
|
9040
|
-
phaseId:
|
|
9040
|
+
phaseId: S.phaseId
|
|
9041
9041
|
}
|
|
9042
9042
|
});
|
|
9043
|
-
}, A = (
|
|
9043
|
+
}, A = (S) => {
|
|
9044
9044
|
e("removeItem", {
|
|
9045
9045
|
type: Ce.MILESTONES,
|
|
9046
9046
|
templateId: a.templateId,
|
|
9047
|
-
phaseId:
|
|
9047
|
+
phaseId: S.phaseId,
|
|
9048
9048
|
data: {
|
|
9049
|
-
id:
|
|
9049
|
+
id: S.id
|
|
9050
9050
|
}
|
|
9051
9051
|
});
|
|
9052
|
-
}, w = (
|
|
9053
|
-
const { id: m, ...L } =
|
|
9052
|
+
}, w = (S) => {
|
|
9053
|
+
const { id: m, ...L } = S;
|
|
9054
9054
|
e("updateItem", {
|
|
9055
9055
|
itemType: Ce.MILESTONES,
|
|
9056
9056
|
id: m,
|
|
9057
9057
|
templateId: a.templateId,
|
|
9058
9058
|
data: L
|
|
9059
9059
|
});
|
|
9060
|
-
}, E = (
|
|
9061
|
-
const { milestoneId: m } =
|
|
9060
|
+
}, E = (S) => {
|
|
9061
|
+
const { milestoneId: m } = S;
|
|
9062
9062
|
if (!r.value)
|
|
9063
9063
|
return;
|
|
9064
9064
|
const { name: L, rank: J } = Bt(
|
|
@@ -9072,7 +9072,7 @@ const _9 = {
|
|
|
9072
9072
|
templateId: a.templateId,
|
|
9073
9073
|
item: { name: L, rank: J, milestoneId: m }
|
|
9074
9074
|
});
|
|
9075
|
-
}, D = (
|
|
9075
|
+
}, D = (S) => {
|
|
9076
9076
|
var m, L;
|
|
9077
9077
|
e("removeItem", {
|
|
9078
9078
|
type: Ce.ACTIVITIES,
|
|
@@ -9080,11 +9080,11 @@ const _9 = {
|
|
|
9080
9080
|
phaseId: (m = i.value) == null ? void 0 : m.id,
|
|
9081
9081
|
milestoneId: (L = r.value) == null ? void 0 : L.id,
|
|
9082
9082
|
data: {
|
|
9083
|
-
id:
|
|
9083
|
+
id: S.id
|
|
9084
9084
|
}
|
|
9085
9085
|
});
|
|
9086
|
-
}, H = (
|
|
9087
|
-
const { id: m, ...L } =
|
|
9086
|
+
}, H = (S) => {
|
|
9087
|
+
const { id: m, ...L } = S;
|
|
9088
9088
|
e("updateItem", {
|
|
9089
9089
|
itemType: Ce.ACTIVITIES,
|
|
9090
9090
|
id: m,
|
|
@@ -9095,60 +9095,60 @@ const _9 = {
|
|
|
9095
9095
|
U.value = !U.value;
|
|
9096
9096
|
}, z = () => {
|
|
9097
9097
|
e("addRule", { templateId: a.templateId });
|
|
9098
|
-
}, I = (
|
|
9099
|
-
e("removeRule", { id:
|
|
9100
|
-
}, K = (
|
|
9098
|
+
}, I = (S) => {
|
|
9099
|
+
e("removeRule", { id: S, templateId: a.templateId });
|
|
9100
|
+
}, K = (S) => {
|
|
9101
9101
|
var m;
|
|
9102
|
-
if (
|
|
9103
|
-
const L = Ca(
|
|
9102
|
+
if (S.moved) {
|
|
9103
|
+
const L = Ca(S, ((m = s.value) == null ? void 0 : m.phases) ?? []);
|
|
9104
9104
|
e("updateItem", {
|
|
9105
9105
|
itemType: Ce.PHASES,
|
|
9106
|
-
id:
|
|
9106
|
+
id: S.moved.element.id,
|
|
9107
9107
|
templateId: a.templateId,
|
|
9108
9108
|
data: {
|
|
9109
9109
|
rank: L
|
|
9110
9110
|
}
|
|
9111
9111
|
});
|
|
9112
9112
|
}
|
|
9113
|
-
}, R = (
|
|
9113
|
+
}, R = (S) => {
|
|
9114
9114
|
!i.value || !r.value || !u.value || e("addItem", {
|
|
9115
9115
|
type: Ce.TASKS,
|
|
9116
|
-
activityId:
|
|
9116
|
+
activityId: S.activityId,
|
|
9117
9117
|
milestoneId: r.value.id,
|
|
9118
9118
|
phaseId: i.value.id,
|
|
9119
9119
|
templateId: a.templateId,
|
|
9120
|
-
item:
|
|
9120
|
+
item: S
|
|
9121
9121
|
});
|
|
9122
|
-
}, Z = (
|
|
9122
|
+
}, Z = (S) => {
|
|
9123
9123
|
!i.value || !r.value || !u.value || e("updateItem", {
|
|
9124
9124
|
itemType: Ce.TASKS,
|
|
9125
|
-
id:
|
|
9125
|
+
id: S.id,
|
|
9126
9126
|
templateId: a.templateId,
|
|
9127
|
-
data:
|
|
9127
|
+
data: S
|
|
9128
9128
|
});
|
|
9129
|
-
}, ie = (
|
|
9129
|
+
}, ie = (S) => {
|
|
9130
9130
|
!i.value || !r.value || !u.value || e("removeItem", {
|
|
9131
9131
|
type: Ce.TASKS,
|
|
9132
9132
|
activityId: u.value.id,
|
|
9133
9133
|
milestoneId: r.value.id,
|
|
9134
9134
|
phaseId: i.value.id,
|
|
9135
9135
|
templateId: a.templateId,
|
|
9136
|
-
data:
|
|
9136
|
+
data: S
|
|
9137
9137
|
});
|
|
9138
|
-
}, O = (
|
|
9139
|
-
e("addFiles",
|
|
9140
|
-
}, N = (
|
|
9141
|
-
e("removeFile",
|
|
9138
|
+
}, O = (S) => {
|
|
9139
|
+
e("addFiles", S);
|
|
9140
|
+
}, N = (S) => {
|
|
9141
|
+
e("removeFile", S);
|
|
9142
9142
|
};
|
|
9143
|
-
return (
|
|
9143
|
+
return (S, m) => {
|
|
9144
9144
|
var L, J, ae, le, ne, re;
|
|
9145
9145
|
return s.value ? (p(), g("div", _9, [
|
|
9146
|
-
|
|
9146
|
+
M(Ya, {
|
|
9147
9147
|
"can-go-back": !0,
|
|
9148
|
-
onGoBack: m[1] || (m[1] = (x) =>
|
|
9148
|
+
onGoBack: m[1] || (m[1] = (x) => S.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
|
|
9149
9149
|
}, {
|
|
9150
9150
|
primary: W(() => [
|
|
9151
|
-
|
|
9151
|
+
M(ye, {
|
|
9152
9152
|
title: f.value,
|
|
9153
9153
|
level: 2,
|
|
9154
9154
|
"is-editable": !0,
|
|
@@ -9162,7 +9162,7 @@ const _9 = {
|
|
|
9162
9162
|
v("div", y9, [
|
|
9163
9163
|
v("ol", b9, [
|
|
9164
9164
|
v("li", w9, [
|
|
9165
|
-
|
|
9165
|
+
M(Q(mt), {
|
|
9166
9166
|
"model-value": s.value.phases,
|
|
9167
9167
|
class: "ao-templates__list",
|
|
9168
9168
|
"item-key": "id",
|
|
@@ -9170,23 +9170,23 @@ const _9 = {
|
|
|
9170
9170
|
onChange: K
|
|
9171
9171
|
}, {
|
|
9172
9172
|
header: W(() => [
|
|
9173
|
-
|
|
9174
|
-
title:
|
|
9173
|
+
M(ye, {
|
|
9174
|
+
title: S.$t("template.phases.title"),
|
|
9175
9175
|
level: 3,
|
|
9176
9176
|
class: "ao-list__title"
|
|
9177
9177
|
}, null, 8, ["title"])
|
|
9178
9178
|
]),
|
|
9179
9179
|
item: W(({ element: x }) => {
|
|
9180
|
-
var
|
|
9180
|
+
var P;
|
|
9181
9181
|
return [
|
|
9182
|
-
|
|
9182
|
+
M(l5, {
|
|
9183
9183
|
id: x.id,
|
|
9184
9184
|
name: x.name,
|
|
9185
9185
|
milestones: x.milestones,
|
|
9186
|
-
"is-active": ((
|
|
9186
|
+
"is-active": ((P = i.value) == null ? void 0 : P.id) === x.id,
|
|
9187
9187
|
"is-draggable": !0,
|
|
9188
|
-
onClick: (X) =>
|
|
9189
|
-
params: { templateId:
|
|
9188
|
+
onClick: (X) => S.$router.push({
|
|
9189
|
+
params: { templateId: S.templateId, phaseId: x.id }
|
|
9190
9190
|
}),
|
|
9191
9191
|
"onUpdate:title": (X) => {
|
|
9192
9192
|
y(x.id, X);
|
|
@@ -9197,9 +9197,9 @@ const _9 = {
|
|
|
9197
9197
|
}),
|
|
9198
9198
|
footer: W(() => [
|
|
9199
9199
|
v("div", $9, [
|
|
9200
|
-
|
|
9200
|
+
M(Ct, {
|
|
9201
9201
|
"icon-name": "AddBoxOutlineRounded",
|
|
9202
|
-
label:
|
|
9202
|
+
label: S.$t("template.phases.add"),
|
|
9203
9203
|
onClick: d
|
|
9204
9204
|
}, null, 8, ["label"])
|
|
9205
9205
|
])
|
|
@@ -9208,9 +9208,9 @@ const _9 = {
|
|
|
9208
9208
|
}, 8, ["model-value"])
|
|
9209
9209
|
]),
|
|
9210
9210
|
v("li", k9, [
|
|
9211
|
-
i.value ? (p(),
|
|
9211
|
+
i.value ? (p(), V(d5, {
|
|
9212
9212
|
key: 0,
|
|
9213
|
-
"template-id":
|
|
9213
|
+
"template-id": S.templateId,
|
|
9214
9214
|
phase: i.value,
|
|
9215
9215
|
"milestone-id": (L = r.value) == null ? void 0 : L.id,
|
|
9216
9216
|
onAddMilestone: h,
|
|
@@ -9220,9 +9220,9 @@ const _9 = {
|
|
|
9220
9220
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
|
|
9221
9221
|
]),
|
|
9222
9222
|
v("li", S9, [
|
|
9223
|
-
i.value && r.value ? (p(),
|
|
9223
|
+
i.value && r.value ? (p(), V(v5, {
|
|
9224
9224
|
key: 0,
|
|
9225
|
-
"template-id":
|
|
9225
|
+
"template-id": S.templateId,
|
|
9226
9226
|
"phase-id": (J = i.value) == null ? void 0 : J.id,
|
|
9227
9227
|
milestone: r.value,
|
|
9228
9228
|
"activity-id": (ae = u.value) == null ? void 0 : ae.id,
|
|
@@ -9233,23 +9233,23 @@ const _9 = {
|
|
|
9233
9233
|
])
|
|
9234
9234
|
])
|
|
9235
9235
|
]),
|
|
9236
|
-
(p(),
|
|
9237
|
-
u.value ? (p(),
|
|
9236
|
+
(p(), V(Nt, { to: "body" }, [
|
|
9237
|
+
u.value ? (p(), V(Un, {
|
|
9238
9238
|
key: 0,
|
|
9239
9239
|
activity: u.value,
|
|
9240
|
-
"activity-types":
|
|
9240
|
+
"activity-types": S.activityTypes,
|
|
9241
9241
|
breadcrumbs: `${s.value.name} / ${(le = i.value) == null ? void 0 : le.name} / ${(ne = r.value) == null ? void 0 : ne.name}`,
|
|
9242
9242
|
"milestone-id": (re = r.value) == null ? void 0 : re.id,
|
|
9243
9243
|
"template-activities": c.value,
|
|
9244
9244
|
"template-milestones": l.value,
|
|
9245
9245
|
"is-template": !0,
|
|
9246
9246
|
"is-editable": !0,
|
|
9247
|
-
users:
|
|
9247
|
+
users: S.users,
|
|
9248
9248
|
"onUpdate:activity": m[2] || (m[2] = (x) => {
|
|
9249
9249
|
u.value && H(x);
|
|
9250
9250
|
}),
|
|
9251
9251
|
"attachment-enabled": !1,
|
|
9252
|
-
onClose:
|
|
9252
|
+
onClose: S.$router.back,
|
|
9253
9253
|
onAddSubtask: R,
|
|
9254
9254
|
onUpdateSubtask: Z,
|
|
9255
9255
|
onDeleteSubtask: ie,
|
|
@@ -9257,13 +9257,13 @@ const _9 = {
|
|
|
9257
9257
|
onRemoveFile: N
|
|
9258
9258
|
}, {
|
|
9259
9259
|
default: W((x) => [
|
|
9260
|
-
te(
|
|
9260
|
+
te(S.$slots, "activityDetailsBody", pa(fa(x)))
|
|
9261
9261
|
]),
|
|
9262
9262
|
_: 3
|
|
9263
9263
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
9264
9264
|
])),
|
|
9265
|
-
(p(),
|
|
9266
|
-
U.value ? (p(),
|
|
9265
|
+
(p(), V(Nt, { to: "body" }, [
|
|
9266
|
+
U.value ? (p(), V(g9, {
|
|
9267
9267
|
key: 0,
|
|
9268
9268
|
"template-id": s.value.id,
|
|
9269
9269
|
rules: s.value.rules || [],
|
|
@@ -9285,7 +9285,7 @@ const A9 = {
|
|
|
9285
9285
|
}, T9 = { class: "ao-card__body" }, O9 = {
|
|
9286
9286
|
key: 1,
|
|
9287
9287
|
class: "ao-card__footer"
|
|
9288
|
-
},
|
|
9288
|
+
}, Zn = /* @__PURE__ */ q({
|
|
9289
9289
|
__name: "AoCard",
|
|
9290
9290
|
props: {
|
|
9291
9291
|
isClickable: { type: Boolean },
|
|
@@ -9293,7 +9293,7 @@ const A9 = {
|
|
|
9293
9293
|
isSelected: { type: Boolean }
|
|
9294
9294
|
},
|
|
9295
9295
|
setup(t) {
|
|
9296
|
-
return (e, a) => (p(),
|
|
9296
|
+
return (e, a) => (p(), V(ht(e.tagName), {
|
|
9297
9297
|
class: Y([
|
|
9298
9298
|
"ao-card",
|
|
9299
9299
|
{
|
|
@@ -9317,7 +9317,7 @@ const A9 = {
|
|
|
9317
9317
|
}, 8, ["class"]));
|
|
9318
9318
|
}
|
|
9319
9319
|
});
|
|
9320
|
-
const
|
|
9320
|
+
const Wn = /* @__PURE__ */ q({
|
|
9321
9321
|
__name: "AoProgress",
|
|
9322
9322
|
props: {
|
|
9323
9323
|
percentages: {},
|
|
@@ -9332,7 +9332,7 @@ const qn = /* @__PURE__ */ q({
|
|
|
9332
9332
|
(p(!0), g(ve, null, _e(a.value, (o) => (p(), g("div", {
|
|
9333
9333
|
key: o,
|
|
9334
9334
|
class: Y(["ao-progress__progress"]),
|
|
9335
|
-
style:
|
|
9335
|
+
style: As({ width: `${o * 100}%` })
|
|
9336
9336
|
}, null, 4))), 128))
|
|
9337
9337
|
], 2));
|
|
9338
9338
|
}
|
|
@@ -9377,12 +9377,12 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9377
9377
|
get: () => a.deadline ?? "",
|
|
9378
9378
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
9379
9379
|
});
|
|
9380
|
-
return (c, u) => (p(),
|
|
9380
|
+
return (c, u) => (p(), V(Zn, {
|
|
9381
9381
|
class: "ao-card-project-phase",
|
|
9382
9382
|
"is-clickable": c.isEditable
|
|
9383
9383
|
}, Ua({
|
|
9384
9384
|
default: W(() => [
|
|
9385
|
-
|
|
9385
|
+
M(ye, {
|
|
9386
9386
|
id: c.id,
|
|
9387
9387
|
class: "ao-card-project-phase__title",
|
|
9388
9388
|
title: s.value || "",
|
|
@@ -9395,13 +9395,13 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9395
9395
|
v("div", I9, [
|
|
9396
9396
|
o.value ? (p(), g("div", L9, [
|
|
9397
9397
|
v("div", H9, [
|
|
9398
|
-
|
|
9398
|
+
M(pe, {
|
|
9399
9399
|
name: "MountainFlagOutlineRounded",
|
|
9400
9400
|
size: "sm"
|
|
9401
9401
|
}),
|
|
9402
9402
|
v("span", D9, G(i.value) + " / " + G(o.value), 1)
|
|
9403
9403
|
]),
|
|
9404
|
-
|
|
9404
|
+
M(Wn, {
|
|
9405
9405
|
percentages: r.value,
|
|
9406
9406
|
class: "ao-card-project-phase__progress"
|
|
9407
9407
|
}, null, 8, ["percentages"]),
|
|
@@ -9425,7 +9425,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9425
9425
|
{ lazy: !0 }
|
|
9426
9426
|
]
|
|
9427
9427
|
]) : T("", !0),
|
|
9428
|
-
v("span", P9, G(Q(
|
|
9428
|
+
v("span", P9, G(Q(An)(c.deadline)), 1)
|
|
9429
9429
|
], 2)
|
|
9430
9430
|
])
|
|
9431
9431
|
]),
|
|
@@ -9435,7 +9435,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9435
9435
|
name: "header",
|
|
9436
9436
|
fn: W(() => [
|
|
9437
9437
|
v("div", E9, [
|
|
9438
|
-
|
|
9438
|
+
M(ce, {
|
|
9439
9439
|
class: "ao-card-project-phase__archive",
|
|
9440
9440
|
color: "primary",
|
|
9441
9441
|
variant: "ghost",
|
|
@@ -9491,12 +9491,12 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9491
9491
|
}), o = k(() => {
|
|
9492
9492
|
var l;
|
|
9493
9493
|
return (l = a.activities) == null ? void 0 : l.filter(
|
|
9494
|
-
(c) =>
|
|
9494
|
+
(c) => Tn(c, a.closedStatus)
|
|
9495
9495
|
).length;
|
|
9496
9496
|
}), i = k(() => (o.value || 0) / (s.value || 1)), r = (l) => {
|
|
9497
9497
|
e("updateMilestone", { id: a.id, name: l });
|
|
9498
9498
|
};
|
|
9499
|
-
return (l, c) => (p(),
|
|
9499
|
+
return (l, c) => (p(), V(Zn, {
|
|
9500
9500
|
class: Y([
|
|
9501
9501
|
"ao-card-project-milestone",
|
|
9502
9502
|
{ "ao-card-project-milestone--selected": l.isSelected }
|
|
@@ -9507,7 +9507,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9507
9507
|
}, {
|
|
9508
9508
|
default: W(() => [
|
|
9509
9509
|
v("div", R9, [
|
|
9510
|
-
|
|
9510
|
+
M(ye, {
|
|
9511
9511
|
id: l.id,
|
|
9512
9512
|
title: n.value || "",
|
|
9513
9513
|
level: 5,
|
|
@@ -9516,7 +9516,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9516
9516
|
"onUpdate:title": r
|
|
9517
9517
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9518
9518
|
!l.readonly && l.isEditable ? (p(), g("div", N9, [
|
|
9519
|
-
|
|
9519
|
+
M(ce, {
|
|
9520
9520
|
color: l.isSelected ? void 0 : "primary",
|
|
9521
9521
|
variant: "ghost",
|
|
9522
9522
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9532,13 +9532,13 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9532
9532
|
v("div", F9, [
|
|
9533
9533
|
s.value ? (p(), g(ve, { key: 0 }, [
|
|
9534
9534
|
v("div", U9, [
|
|
9535
|
-
|
|
9535
|
+
M(pe, {
|
|
9536
9536
|
name: "SelectCheckBox",
|
|
9537
9537
|
size: "sm"
|
|
9538
9538
|
}),
|
|
9539
9539
|
v("span", Z9, G(o.value) + " / " + G(s.value), 1)
|
|
9540
9540
|
]),
|
|
9541
|
-
|
|
9541
|
+
M(Wn, {
|
|
9542
9542
|
percentages: i.value,
|
|
9543
9543
|
class: "ao-card-project-milestone__progress"
|
|
9544
9544
|
}, null, 8, ["percentages"])
|
|
@@ -9551,7 +9551,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9551
9551
|
]),
|
|
9552
9552
|
footer: W(() => [
|
|
9553
9553
|
v("div", q9, [
|
|
9554
|
-
l.important ? (p(),
|
|
9554
|
+
l.important ? (p(), V(pe, {
|
|
9555
9555
|
key: 0,
|
|
9556
9556
|
name: "FlagRounded",
|
|
9557
9557
|
class: Y(
|
|
@@ -9560,10 +9560,10 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9560
9560
|
size: "sm"
|
|
9561
9561
|
}, null, 8, ["class"])) : T("", !0),
|
|
9562
9562
|
l.deadline ? (p(), g("label", z9, [
|
|
9563
|
-
v("span", x9, G(Q(
|
|
9563
|
+
v("span", x9, G(Q(An)(l.deadline)), 1)
|
|
9564
9564
|
])) : T("", !0),
|
|
9565
9565
|
l.assignee ? (p(), g("div", Y9, [
|
|
9566
|
-
|
|
9566
|
+
M(Je, {
|
|
9567
9567
|
"user-name": Q(zs)(l.assignee),
|
|
9568
9568
|
"avatar-url": l.assignee.avatarUrl,
|
|
9569
9569
|
color: l.isSelected ? "black" : "primary",
|
|
@@ -9637,13 +9637,13 @@ const G9 = {
|
|
|
9637
9637
|
])
|
|
9638
9638
|
}, [
|
|
9639
9639
|
d.isEditable ? (p(), g("div", G9, [
|
|
9640
|
-
|
|
9640
|
+
M(pe, {
|
|
9641
9641
|
name: "DragIndicator",
|
|
9642
9642
|
class: "ao-project-phase__drag-handle"
|
|
9643
9643
|
})
|
|
9644
9644
|
])) : T("", !0),
|
|
9645
9645
|
v("div", X9, [
|
|
9646
|
-
|
|
9646
|
+
M(B9, {
|
|
9647
9647
|
id: d.phase.id,
|
|
9648
9648
|
milestones: i.value,
|
|
9649
9649
|
name: d.phase.name,
|
|
@@ -9656,7 +9656,7 @@ const G9 = {
|
|
|
9656
9656
|
]),
|
|
9657
9657
|
v("div", Q9, [
|
|
9658
9658
|
v("div", J9, [
|
|
9659
|
-
|
|
9659
|
+
M(Q(mt), He({
|
|
9660
9660
|
class: "ao-project-phase__milestones-list",
|
|
9661
9661
|
list: i.value,
|
|
9662
9662
|
disabled: d.readonly || !d.isEditable,
|
|
@@ -9666,7 +9666,7 @@ const G9 = {
|
|
|
9666
9666
|
item: W(({ element: y }) => {
|
|
9667
9667
|
var _;
|
|
9668
9668
|
return [
|
|
9669
|
-
|
|
9669
|
+
M(K9, {
|
|
9670
9670
|
id: y.id,
|
|
9671
9671
|
name: y.name,
|
|
9672
9672
|
activities: y.activities,
|
|
@@ -9691,7 +9691,7 @@ const G9 = {
|
|
|
9691
9691
|
_: 1
|
|
9692
9692
|
}, 16, ["list", "disabled"]),
|
|
9693
9693
|
v("div", ev, [
|
|
9694
|
-
d.isEditable ? (p(),
|
|
9694
|
+
d.isEditable ? (p(), V(Ct, {
|
|
9695
9695
|
key: 0,
|
|
9696
9696
|
label: d.$t("project.milestone.add"),
|
|
9697
9697
|
class: "ao-project-phase__milestone-add",
|
|
@@ -9745,7 +9745,7 @@ const av = { class: "ao-project__phases" }, nv = {
|
|
|
9745
9745
|
e("addPhase", u);
|
|
9746
9746
|
};
|
|
9747
9747
|
return (u, f) => (p(), g("div", av, [
|
|
9748
|
-
|
|
9748
|
+
M(Q(mt), {
|
|
9749
9749
|
class: "ao-project-phase__phases-list",
|
|
9750
9750
|
"model-value": u.phases,
|
|
9751
9751
|
"item-key": "id",
|
|
@@ -9753,7 +9753,7 @@ const av = { class: "ao-project__phases" }, nv = {
|
|
|
9753
9753
|
onChange: r
|
|
9754
9754
|
}, {
|
|
9755
9755
|
item: W(({ element: d }) => [
|
|
9756
|
-
|
|
9756
|
+
M(tv, {
|
|
9757
9757
|
phase: d,
|
|
9758
9758
|
"is-editable": !u.readonly && u.isEditable,
|
|
9759
9759
|
"closed-status": u.closedStatus,
|
|
@@ -9771,7 +9771,7 @@ const av = { class: "ao-project__phases" }, nv = {
|
|
|
9771
9771
|
u.isEditable ? (p(), g("div", nv, [
|
|
9772
9772
|
sv,
|
|
9773
9773
|
v("div", iv, [
|
|
9774
|
-
|
|
9774
|
+
M(Ct, {
|
|
9775
9775
|
label: u.$t("project.phases.add"),
|
|
9776
9776
|
"icon-name": "Add",
|
|
9777
9777
|
class: "ao-project-phase__add-phase",
|
|
@@ -9799,9 +9799,9 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9799
9799
|
}, i = () => {
|
|
9800
9800
|
s.value && e("apply", s.value, a.projectId);
|
|
9801
9801
|
};
|
|
9802
|
-
return (r, l) => (p(),
|
|
9802
|
+
return (r, l) => (p(), V(En, { size: "sm" }, {
|
|
9803
9803
|
header: W(() => [
|
|
9804
|
-
|
|
9804
|
+
M(ye, {
|
|
9805
9805
|
title: r.$t("project.template.add.title"),
|
|
9806
9806
|
level: 3
|
|
9807
9807
|
}, null, 8, ["title"])
|
|
@@ -9813,7 +9813,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9813
9813
|
}, [
|
|
9814
9814
|
v("div", uv, [
|
|
9815
9815
|
v("div", cv, [
|
|
9816
|
-
|
|
9816
|
+
M($e, {
|
|
9817
9817
|
value: s.value,
|
|
9818
9818
|
options: n.value,
|
|
9819
9819
|
detached: !0,
|
|
@@ -9822,7 +9822,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9822
9822
|
])
|
|
9823
9823
|
]),
|
|
9824
9824
|
v("footer", dv, [
|
|
9825
|
-
|
|
9825
|
+
M(ce, {
|
|
9826
9826
|
label: r.$t("project.template.add.label"),
|
|
9827
9827
|
type: "submit",
|
|
9828
9828
|
color: "primary",
|
|
@@ -9955,9 +9955,9 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9955
9955
|
return p(), g(ve, null, [
|
|
9956
9956
|
v("div", He({ class: "ao-project-overview" }, I.$attrs), [
|
|
9957
9957
|
v("div", mv, [
|
|
9958
|
-
|
|
9958
|
+
M(Ya, null, {
|
|
9959
9959
|
primary: W(() => [
|
|
9960
|
-
|
|
9960
|
+
M(ci, {
|
|
9961
9961
|
"is-left": !0,
|
|
9962
9962
|
"right-label": I.$t("project.switch.feed"),
|
|
9963
9963
|
"left-label": I.$t("project.switch.overview"),
|
|
@@ -9965,7 +9965,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9965
9965
|
Z || I.$router.push({ name: Q(Ye).feed });
|
|
9966
9966
|
})
|
|
9967
9967
|
}, null, 8, ["right-label", "left-label"]),
|
|
9968
|
-
|
|
9968
|
+
M(ce, {
|
|
9969
9969
|
class: "ao-feed__show-archived",
|
|
9970
9970
|
size: "sm",
|
|
9971
9971
|
"icon-name": I.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -9979,7 +9979,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9979
9979
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
9980
9980
|
]),
|
|
9981
9981
|
secondary: W(() => [
|
|
9982
|
-
I.isEditable === !0 ? (p(),
|
|
9982
|
+
I.isEditable === !0 ? (p(), V(ce, {
|
|
9983
9983
|
key: 0,
|
|
9984
9984
|
class: "ao-project-overview__add-template",
|
|
9985
9985
|
color: "primary",
|
|
@@ -9990,7 +9990,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9990
9990
|
_: 1
|
|
9991
9991
|
}),
|
|
9992
9992
|
v("div", Cv, [
|
|
9993
|
-
|
|
9993
|
+
M(rv, {
|
|
9994
9994
|
phases: I.phases,
|
|
9995
9995
|
"closed-status": I.closedStatus,
|
|
9996
9996
|
"is-editable": I.isEditable === !0,
|
|
@@ -10004,7 +10004,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10004
10004
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
10005
10005
|
])
|
|
10006
10006
|
]),
|
|
10007
|
-
|
|
10007
|
+
M(R, {
|
|
10008
10008
|
class: "ao-project__sidebar",
|
|
10009
10009
|
phases: I.phases,
|
|
10010
10010
|
"project-id": I.project.id,
|
|
@@ -10019,8 +10019,8 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10019
10019
|
onArchiveActivity: C,
|
|
10020
10020
|
onUnarchiveActivity: b
|
|
10021
10021
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
10022
|
-
(p(),
|
|
10023
|
-
|
|
10022
|
+
(p(), V(Nt, { to: "body" }, [
|
|
10023
|
+
M(R, {
|
|
10024
10024
|
name: "modal",
|
|
10025
10025
|
activities: A.value,
|
|
10026
10026
|
"is-task-checkable": I.isTaskCheckable,
|
|
@@ -10043,7 +10043,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10043
10043
|
onRemoveComment: U
|
|
10044
10044
|
}, {
|
|
10045
10045
|
default: W(({ Component: Z }) => [
|
|
10046
|
-
(p(),
|
|
10046
|
+
(p(), V(ht(Z), null, {
|
|
10047
10047
|
default: W((ie) => [
|
|
10048
10048
|
te(I.$slots, "activityDetailsBody", pa(fa(ie)))
|
|
10049
10049
|
]),
|
|
@@ -10054,8 +10054,8 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10054
10054
|
}, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
|
|
10055
10055
|
]))
|
|
10056
10056
|
], 16),
|
|
10057
|
-
(p(),
|
|
10058
|
-
F.value ? (p(),
|
|
10057
|
+
(p(), V(Nt, { to: "body" }, [
|
|
10058
|
+
F.value ? (p(), V(pv, {
|
|
10059
10059
|
key: 0,
|
|
10060
10060
|
"project-id": I.project.id,
|
|
10061
10061
|
templates: I.templates,
|
|
@@ -10123,7 +10123,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10123
10123
|
id: a.id,
|
|
10124
10124
|
name: d
|
|
10125
10125
|
});
|
|
10126
|
-
}, o = k(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), i = k(() => a.assignee ? [a.assignee] : []), r = k(() =>
|
|
10126
|
+
}, o = k(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), i = k(() => a.assignee ? [a.assignee] : []), r = k(() => An(a.deadline)), l = (d) => {
|
|
10127
10127
|
e("removeAssignee", d);
|
|
10128
10128
|
}, c = k(() => {
|
|
10129
10129
|
var d;
|
|
@@ -10132,13 +10132,13 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10132
10132
|
var d;
|
|
10133
10133
|
return (d = a.tasks) == null ? void 0 : d.filter((C) => C.isDone).length;
|
|
10134
10134
|
}), f = k(() => (u.value || 0) / (c.value || 1));
|
|
10135
|
-
return (d, C) => (p(),
|
|
10135
|
+
return (d, C) => (p(), V(Zn, {
|
|
10136
10136
|
class: Y(["ao-card-feed", { "ao-card-feed--closed": d.isClosed }]),
|
|
10137
10137
|
"is-clickable": !0
|
|
10138
10138
|
}, {
|
|
10139
10139
|
header: W(() => [
|
|
10140
10140
|
v("div", _v, [
|
|
10141
|
-
n.value ? (p(),
|
|
10141
|
+
n.value ? (p(), V(Sn, {
|
|
10142
10142
|
key: 0,
|
|
10143
10143
|
label: n.value,
|
|
10144
10144
|
class: "ao-card-feed__project",
|
|
@@ -10147,19 +10147,19 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10147
10147
|
"raw-color": d.projectColor
|
|
10148
10148
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10149
10149
|
d.isPrivate || d.important || d.isClosed ? (p(), g("div", yv, [
|
|
10150
|
-
d.isPrivate ? (p(),
|
|
10150
|
+
d.isPrivate ? (p(), V(pe, {
|
|
10151
10151
|
key: 0,
|
|
10152
10152
|
name: "Lock",
|
|
10153
10153
|
class: "ao-card-feed__warning",
|
|
10154
10154
|
size: "sm"
|
|
10155
10155
|
})) : T("", !0),
|
|
10156
|
-
d.important ? (p(),
|
|
10156
|
+
d.important ? (p(), V(pe, {
|
|
10157
10157
|
key: 1,
|
|
10158
10158
|
name: "FlagRounded",
|
|
10159
10159
|
class: "ao-card-feed__important",
|
|
10160
10160
|
size: "sm"
|
|
10161
10161
|
})) : T("", !0),
|
|
10162
|
-
d.isClosed ? (p(),
|
|
10162
|
+
d.isClosed ? (p(), V(pe, {
|
|
10163
10163
|
key: 2,
|
|
10164
10164
|
name: "CheckSmallRounded",
|
|
10165
10165
|
class: "ao-card-feed__closed"
|
|
@@ -10174,7 +10174,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10174
10174
|
v("div", wv, [
|
|
10175
10175
|
o.value ? (p(), g("span", $v, G(o.value), 1)) : T("", !0),
|
|
10176
10176
|
v("div", kv, [
|
|
10177
|
-
|
|
10177
|
+
M(ye, {
|
|
10178
10178
|
id: d.id,
|
|
10179
10179
|
title: d.name,
|
|
10180
10180
|
level: 5,
|
|
@@ -10193,7 +10193,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10193
10193
|
key: b.id
|
|
10194
10194
|
}, [
|
|
10195
10195
|
b ? (p(), g("li", Ov, [
|
|
10196
|
-
|
|
10196
|
+
M(Je, {
|
|
10197
10197
|
"user-name": Q(zs)(b),
|
|
10198
10198
|
"avatar-url": b.avatarUrl,
|
|
10199
10199
|
"is-closable": !0,
|
|
@@ -10204,14 +10204,14 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10204
10204
|
]),
|
|
10205
10205
|
d.comments || d.attachments ? (p(), g("ul", Ev, [
|
|
10206
10206
|
d.comments ? (p(), g("li", Iv, [
|
|
10207
|
-
|
|
10207
|
+
M(pe, {
|
|
10208
10208
|
name: "ChatOutline",
|
|
10209
10209
|
size: "sm"
|
|
10210
10210
|
}),
|
|
10211
10211
|
v("span", Lv, G(d.comments), 1)
|
|
10212
10212
|
])) : T("", !0),
|
|
10213
10213
|
d.attachments ? (p(), g("li", Hv, [
|
|
10214
|
-
|
|
10214
|
+
M(pe, {
|
|
10215
10215
|
name: "AttachFileRounded",
|
|
10216
10216
|
size: "sm"
|
|
10217
10217
|
}),
|
|
@@ -10222,13 +10222,13 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10222
10222
|
v("div", Vv, [
|
|
10223
10223
|
d.tasks && d.tasks.length ? (p(), g("div", Pv, [
|
|
10224
10224
|
v("div", Bv, [
|
|
10225
|
-
|
|
10225
|
+
M(pe, {
|
|
10226
10226
|
name: "SelectCheckBox",
|
|
10227
10227
|
size: "sm"
|
|
10228
10228
|
}),
|
|
10229
10229
|
v("span", Rv, G(u.value) + " / " + G(c.value), 1)
|
|
10230
10230
|
]),
|
|
10231
|
-
|
|
10231
|
+
M(Wn, {
|
|
10232
10232
|
percentages: f.value,
|
|
10233
10233
|
class: "ao-card-feed__progress"
|
|
10234
10234
|
}, null, 8, ["percentages"])
|
|
@@ -10247,11 +10247,11 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10247
10247
|
*/
|
|
10248
10248
|
function wt(t) {
|
|
10249
10249
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10250
|
-
/#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e =
|
|
10250
|
+
/#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e = Ss(t) : typeof t == "string" ? e = Ss(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10251
10251
|
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Fv(e);
|
|
10252
10252
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10253
10253
|
}
|
|
10254
|
-
function
|
|
10254
|
+
function qn(t) {
|
|
10255
10255
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10256
10256
|
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;
|
|
10257
10257
|
}
|
|
@@ -10272,7 +10272,7 @@ function jv(t) {
|
|
|
10272
10272
|
b: e(t.slice(4, 6))
|
|
10273
10273
|
};
|
|
10274
10274
|
}
|
|
10275
|
-
function
|
|
10275
|
+
function Ss(t) {
|
|
10276
10276
|
return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
|
|
10277
10277
|
r: Number(t[0]) || 0,
|
|
10278
10278
|
g: Number(t[1]) || 0,
|
|
@@ -10288,7 +10288,7 @@ function Fv({ r: t, g: e, b: a }) {
|
|
|
10288
10288
|
let r = parseFloat((n === 0 ? 0 : 1 - s / n).toFixed(2)), l = parseFloat(n.toFixed(2));
|
|
10289
10289
|
return { h: i, s: r, v: l };
|
|
10290
10290
|
}
|
|
10291
|
-
var
|
|
10291
|
+
var zn = q({
|
|
10292
10292
|
props: {
|
|
10293
10293
|
color: {
|
|
10294
10294
|
type: String,
|
|
@@ -10349,21 +10349,21 @@ var xn = q({
|
|
|
10349
10349
|
});
|
|
10350
10350
|
const Uv = { ref: "canvasSaturation" };
|
|
10351
10351
|
function Zv(t, e, a, n, s, o) {
|
|
10352
|
-
return p(),
|
|
10352
|
+
return p(), V(
|
|
10353
10353
|
"div",
|
|
10354
10354
|
{
|
|
10355
10355
|
class: "saturation",
|
|
10356
10356
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectSaturation && t.selectSaturation(...i), ["prevent", "stop"]))
|
|
10357
10357
|
},
|
|
10358
10358
|
[
|
|
10359
|
-
|
|
10359
|
+
M(
|
|
10360
10360
|
"canvas",
|
|
10361
10361
|
Uv,
|
|
10362
10362
|
null,
|
|
10363
10363
|
512
|
|
10364
10364
|
/* NEED_PATCH */
|
|
10365
10365
|
),
|
|
10366
|
-
|
|
10366
|
+
M(
|
|
10367
10367
|
"div",
|
|
10368
10368
|
{
|
|
10369
10369
|
style: t.slideSaturationStyle,
|
|
@@ -10378,9 +10378,9 @@ function Zv(t, e, a, n, s, o) {
|
|
|
10378
10378
|
/* HYDRATE_EVENTS */
|
|
10379
10379
|
);
|
|
10380
10380
|
}
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
var
|
|
10381
|
+
zn.render = Zv;
|
|
10382
|
+
zn.__file = "src/color/Saturation.vue";
|
|
10383
|
+
var xn = q({
|
|
10384
10384
|
props: {
|
|
10385
10385
|
hsv: {
|
|
10386
10386
|
type: Object,
|
|
@@ -10435,21 +10435,21 @@ var Yn = q({
|
|
|
10435
10435
|
});
|
|
10436
10436
|
const Wv = { ref: "canvasHue" };
|
|
10437
10437
|
function qv(t, e, a, n, s, o) {
|
|
10438
|
-
return p(),
|
|
10438
|
+
return p(), V(
|
|
10439
10439
|
"div",
|
|
10440
10440
|
{
|
|
10441
10441
|
class: "hue",
|
|
10442
10442
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectHue && t.selectHue(...i), ["prevent", "stop"]))
|
|
10443
10443
|
},
|
|
10444
10444
|
[
|
|
10445
|
-
|
|
10445
|
+
M(
|
|
10446
10446
|
"canvas",
|
|
10447
10447
|
Wv,
|
|
10448
10448
|
null,
|
|
10449
10449
|
512
|
|
10450
10450
|
/* NEED_PATCH */
|
|
10451
10451
|
),
|
|
10452
|
-
|
|
10452
|
+
M(
|
|
10453
10453
|
"div",
|
|
10454
10454
|
{
|
|
10455
10455
|
style: t.slideHueStyle,
|
|
@@ -10464,9 +10464,9 @@ function qv(t, e, a, n, s, o) {
|
|
|
10464
10464
|
/* HYDRATE_EVENTS */
|
|
10465
10465
|
);
|
|
10466
10466
|
}
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
var
|
|
10467
|
+
xn.render = qv;
|
|
10468
|
+
xn.__file = "src/color/Hue.vue";
|
|
10469
|
+
var Yn = q({
|
|
10470
10470
|
props: {
|
|
10471
10471
|
color: {
|
|
10472
10472
|
type: String,
|
|
@@ -10505,7 +10505,7 @@ var Kn = q({
|
|
|
10505
10505
|
},
|
|
10506
10506
|
methods: {
|
|
10507
10507
|
renderColor() {
|
|
10508
|
-
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10508
|
+
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = qn(n), o = t.getContext("2d");
|
|
10509
10509
|
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), bn("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10510
10510
|
},
|
|
10511
10511
|
renderSlide() {
|
|
@@ -10530,21 +10530,21 @@ var Kn = q({
|
|
|
10530
10530
|
});
|
|
10531
10531
|
const zv = { ref: "canvasAlpha" };
|
|
10532
10532
|
function xv(t, e, a, n, s, o) {
|
|
10533
|
-
return p(),
|
|
10533
|
+
return p(), V(
|
|
10534
10534
|
"div",
|
|
10535
10535
|
{
|
|
10536
10536
|
class: "color-alpha",
|
|
10537
10537
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectAlpha && t.selectAlpha(...i), ["prevent", "stop"]))
|
|
10538
10538
|
},
|
|
10539
10539
|
[
|
|
10540
|
-
|
|
10540
|
+
M(
|
|
10541
10541
|
"canvas",
|
|
10542
10542
|
zv,
|
|
10543
10543
|
null,
|
|
10544
10544
|
512
|
|
10545
10545
|
/* NEED_PATCH */
|
|
10546
10546
|
),
|
|
10547
|
-
|
|
10547
|
+
M(
|
|
10548
10548
|
"div",
|
|
10549
10549
|
{
|
|
10550
10550
|
style: t.slideAlphaStyle,
|
|
@@ -10559,9 +10559,9 @@ function xv(t, e, a, n, s, o) {
|
|
|
10559
10559
|
/* HYDRATE_EVENTS */
|
|
10560
10560
|
);
|
|
10561
10561
|
}
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
var
|
|
10562
|
+
Yn.render = xv;
|
|
10563
|
+
Yn.__file = "src/color/Alpha.vue";
|
|
10564
|
+
var Kn = q({
|
|
10565
10565
|
props: {
|
|
10566
10566
|
color: {
|
|
10567
10567
|
type: String,
|
|
@@ -10591,17 +10591,17 @@ var Gn = q({
|
|
|
10591
10591
|
},
|
|
10592
10592
|
methods: {
|
|
10593
10593
|
renderColor() {
|
|
10594
|
-
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10594
|
+
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s = qn(n), o = t.getContext("2d");
|
|
10595
10595
|
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);
|
|
10596
10596
|
}
|
|
10597
10597
|
}
|
|
10598
10598
|
});
|
|
10599
10599
|
function Yv(t, e, a, n, s, o) {
|
|
10600
|
-
return p(),
|
|
10600
|
+
return p(), V("canvas");
|
|
10601
10601
|
}
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
var
|
|
10602
|
+
Kn.render = Yv;
|
|
10603
|
+
Kn.__file = "src/color/Preview.vue";
|
|
10604
|
+
var Gn = q({
|
|
10605
10605
|
props: {
|
|
10606
10606
|
suckerCanvas: {
|
|
10607
10607
|
type: Object,
|
|
@@ -10662,7 +10662,7 @@ var Xn = q({
|
|
|
10662
10662
|
}
|
|
10663
10663
|
}
|
|
10664
10664
|
});
|
|
10665
|
-
const Kv = /* @__PURE__ */
|
|
10665
|
+
const Kv = /* @__PURE__ */ M(
|
|
10666
10666
|
"path",
|
|
10667
10667
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10668
10668
|
null,
|
|
@@ -10674,25 +10674,25 @@ const Kv = /* @__PURE__ */ S(
|
|
|
10674
10674
|
viewBox: "-16 -16 68 68",
|
|
10675
10675
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10676
10676
|
stroke: "#9099a4"
|
|
10677
|
-
}, Xv = /* @__PURE__ */
|
|
10677
|
+
}, Xv = /* @__PURE__ */ M(
|
|
10678
10678
|
"g",
|
|
10679
10679
|
{
|
|
10680
10680
|
fill: "none",
|
|
10681
10681
|
"fill-rule": "evenodd"
|
|
10682
10682
|
},
|
|
10683
10683
|
[
|
|
10684
|
-
/* @__PURE__ */
|
|
10684
|
+
/* @__PURE__ */ M("g", {
|
|
10685
10685
|
transform: "translate(1 1)",
|
|
10686
10686
|
"stroke-width": "4"
|
|
10687
10687
|
}, [
|
|
10688
|
-
/* @__PURE__ */
|
|
10688
|
+
/* @__PURE__ */ M("circle", {
|
|
10689
10689
|
"stroke-opacity": ".5",
|
|
10690
10690
|
cx: "18",
|
|
10691
10691
|
cy: "18",
|
|
10692
10692
|
r: "18"
|
|
10693
10693
|
}),
|
|
10694
|
-
/* @__PURE__ */
|
|
10695
|
-
/* @__PURE__ */
|
|
10694
|
+
/* @__PURE__ */ M("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
|
|
10695
|
+
/* @__PURE__ */ M("animateTransform", {
|
|
10696
10696
|
attributeName: "transform",
|
|
10697
10697
|
type: "rotate",
|
|
10698
10698
|
from: "0 18 18",
|
|
@@ -10707,8 +10707,8 @@ const Kv = /* @__PURE__ */ S(
|
|
|
10707
10707
|
/* HOISTED */
|
|
10708
10708
|
);
|
|
10709
10709
|
function Qv(t, e, a, n, s, o) {
|
|
10710
|
-
return p(),
|
|
10711
|
-
t.isSucking ? T("v-if", !0) : (p(),
|
|
10710
|
+
return p(), V("div", null, [
|
|
10711
|
+
t.isSucking ? T("v-if", !0) : (p(), V(
|
|
10712
10712
|
"svg",
|
|
10713
10713
|
{
|
|
10714
10714
|
key: 0,
|
|
@@ -10723,14 +10723,14 @@ function Qv(t, e, a, n, s, o) {
|
|
|
10723
10723
|
2
|
|
10724
10724
|
/* CLASS */
|
|
10725
10725
|
)),
|
|
10726
|
-
t.isSucking ? (p(),
|
|
10726
|
+
t.isSucking ? (p(), V("svg", Gv, [
|
|
10727
10727
|
Xv
|
|
10728
10728
|
])) : T("v-if", !0)
|
|
10729
10729
|
]);
|
|
10730
10730
|
}
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
var
|
|
10731
|
+
Gn.render = Qv;
|
|
10732
|
+
Gn.__file = "src/color/Sucker.vue";
|
|
10733
|
+
var Xn = q({
|
|
10734
10734
|
props: {
|
|
10735
10735
|
name: {
|
|
10736
10736
|
type: String,
|
|
@@ -10763,15 +10763,15 @@ var Qn = q({
|
|
|
10763
10763
|
});
|
|
10764
10764
|
const Jv = { class: "color-type" }, e4 = { class: "name" };
|
|
10765
10765
|
function t4(t, e, a, n, s, o) {
|
|
10766
|
-
return p(),
|
|
10767
|
-
|
|
10766
|
+
return p(), V("div", Jv, [
|
|
10767
|
+
M(
|
|
10768
10768
|
"span",
|
|
10769
10769
|
e4,
|
|
10770
10770
|
G(t.name),
|
|
10771
10771
|
1
|
|
10772
10772
|
/* TEXT */
|
|
10773
10773
|
),
|
|
10774
|
-
Ke(
|
|
10774
|
+
Ke(M(
|
|
10775
10775
|
"input",
|
|
10776
10776
|
{
|
|
10777
10777
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
|
|
@@ -10787,9 +10787,9 @@ function t4(t, e, a, n, s, o) {
|
|
|
10787
10787
|
])
|
|
10788
10788
|
]);
|
|
10789
10789
|
}
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
var
|
|
10790
|
+
Xn.render = t4;
|
|
10791
|
+
Xn.__file = "src/color/Box.vue";
|
|
10792
|
+
var Qn = q({
|
|
10793
10793
|
name: "ColorPicker",
|
|
10794
10794
|
props: {
|
|
10795
10795
|
color: {
|
|
@@ -10808,7 +10808,7 @@ var Jn = q({
|
|
|
10808
10808
|
emits: ["selectColor"],
|
|
10809
10809
|
setup(t, { emit: e }) {
|
|
10810
10810
|
const a = ee(), n = ee([]), s = ee();
|
|
10811
|
-
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value =
|
|
10811
|
+
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = qn(4).toDataURL(), wn(() => {
|
|
10812
10812
|
o(a.value);
|
|
10813
10813
|
});
|
|
10814
10814
|
function o(r) {
|
|
@@ -10834,17 +10834,17 @@ const a4 = { class: "colors" }, n4 = {
|
|
|
10834
10834
|
class: "colors history"
|
|
10835
10835
|
};
|
|
10836
10836
|
function s4(t, e, a, n, s, o) {
|
|
10837
|
-
return p(),
|
|
10838
|
-
|
|
10839
|
-
(p(!0),
|
|
10837
|
+
return p(), V("div", null, [
|
|
10838
|
+
M("ul", a4, [
|
|
10839
|
+
(p(!0), V(
|
|
10840
10840
|
ve,
|
|
10841
10841
|
null,
|
|
10842
|
-
_e(t.colorsDefault, (i) => (p(),
|
|
10842
|
+
_e(t.colorsDefault, (i) => (p(), V("li", {
|
|
10843
10843
|
key: i,
|
|
10844
10844
|
class: "item",
|
|
10845
10845
|
onClick: (r) => t.selectColor(i)
|
|
10846
10846
|
}, [
|
|
10847
|
-
|
|
10847
|
+
M(
|
|
10848
10848
|
"div",
|
|
10849
10849
|
{
|
|
10850
10850
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10854,7 +10854,7 @@ function s4(t, e, a, n, s, o) {
|
|
|
10854
10854
|
4
|
|
10855
10855
|
/* STYLE */
|
|
10856
10856
|
),
|
|
10857
|
-
|
|
10857
|
+
M(
|
|
10858
10858
|
"div",
|
|
10859
10859
|
{
|
|
10860
10860
|
style: { background: i },
|
|
@@ -10869,16 +10869,16 @@ function s4(t, e, a, n, s, o) {
|
|
|
10869
10869
|
/* KEYED_FRAGMENT */
|
|
10870
10870
|
))
|
|
10871
10871
|
]),
|
|
10872
|
-
t.colorsHistory.length ? (p(),
|
|
10873
|
-
(p(!0),
|
|
10872
|
+
t.colorsHistory.length ? (p(), V("ul", n4, [
|
|
10873
|
+
(p(!0), V(
|
|
10874
10874
|
ve,
|
|
10875
10875
|
null,
|
|
10876
|
-
_e(t.colorsHistory, (i) => (p(),
|
|
10876
|
+
_e(t.colorsHistory, (i) => (p(), V("li", {
|
|
10877
10877
|
key: i,
|
|
10878
10878
|
class: "item",
|
|
10879
10879
|
onClick: (r) => t.selectColor(i)
|
|
10880
10880
|
}, [
|
|
10881
|
-
|
|
10881
|
+
M(
|
|
10882
10882
|
"div",
|
|
10883
10883
|
{
|
|
10884
10884
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10888,7 +10888,7 @@ function s4(t, e, a, n, s, o) {
|
|
|
10888
10888
|
4
|
|
10889
10889
|
/* STYLE */
|
|
10890
10890
|
),
|
|
10891
|
-
|
|
10891
|
+
M(
|
|
10892
10892
|
"div",
|
|
10893
10893
|
{
|
|
10894
10894
|
style: { background: i },
|
|
@@ -10905,17 +10905,17 @@ function s4(t, e, a, n, s, o) {
|
|
|
10905
10905
|
])) : T("v-if", !0)
|
|
10906
10906
|
]);
|
|
10907
10907
|
}
|
|
10908
|
-
|
|
10909
|
-
|
|
10908
|
+
Qn.render = s4;
|
|
10909
|
+
Qn.__file = "src/color/Colors.vue";
|
|
10910
10910
|
var Rt = q({
|
|
10911
10911
|
components: {
|
|
10912
|
-
Saturation:
|
|
10913
|
-
Hue:
|
|
10914
|
-
Alpha:
|
|
10915
|
-
Preview:
|
|
10916
|
-
Sucker:
|
|
10917
|
-
Box:
|
|
10918
|
-
Colors:
|
|
10912
|
+
Saturation: zn,
|
|
10913
|
+
Hue: xn,
|
|
10914
|
+
Alpha: Yn,
|
|
10915
|
+
Preview: Kn,
|
|
10916
|
+
Sucker: Gn,
|
|
10917
|
+
Box: Xn,
|
|
10918
|
+
Colors: Qn
|
|
10919
10919
|
},
|
|
10920
10920
|
emits: ["changeColor", "openSucker", "inputFocus", "inputBlur"],
|
|
10921
10921
|
props: {
|
|
@@ -11083,29 +11083,29 @@ var Rt = q({
|
|
|
11083
11083
|
const i4 = { class: "color-set" };
|
|
11084
11084
|
function o4(t, e, a, n, s, o) {
|
|
11085
11085
|
const i = xe("Saturation"), r = xe("Hue"), l = xe("Alpha"), c = xe("Preview"), u = xe("Sucker"), f = xe("Box"), d = xe("Colors");
|
|
11086
|
-
return p(),
|
|
11086
|
+
return p(), V(
|
|
11087
11087
|
"div",
|
|
11088
11088
|
{
|
|
11089
11089
|
class: ["hu-color-picker", { light: t.isLightTheme }],
|
|
11090
11090
|
style: { width: t.totalWidth + "px" }
|
|
11091
11091
|
},
|
|
11092
11092
|
[
|
|
11093
|
-
|
|
11094
|
-
|
|
11093
|
+
M("div", i4, [
|
|
11094
|
+
M(i, {
|
|
11095
11095
|
ref: "saturation",
|
|
11096
11096
|
color: t.rgbString,
|
|
11097
11097
|
hsv: t.hsv,
|
|
11098
11098
|
size: t.hueHeight,
|
|
11099
11099
|
onSelectSaturation: t.selectSaturation
|
|
11100
11100
|
}, null, 8, ["color", "hsv", "size", "onSelectSaturation"]),
|
|
11101
|
-
|
|
11101
|
+
M(r, {
|
|
11102
11102
|
ref: "hue",
|
|
11103
11103
|
hsv: t.hsv,
|
|
11104
11104
|
width: t.hueWidth,
|
|
11105
11105
|
height: t.hueHeight,
|
|
11106
11106
|
onSelectHue: t.selectHue
|
|
11107
11107
|
}, null, 8, ["hsv", "width", "height", "onSelectHue"]),
|
|
11108
|
-
|
|
11108
|
+
M(l, {
|
|
11109
11109
|
ref: "alpha",
|
|
11110
11110
|
color: t.rgbString,
|
|
11111
11111
|
rgba: t.rgba,
|
|
@@ -11114,19 +11114,19 @@ function o4(t, e, a, n, s, o) {
|
|
|
11114
11114
|
onSelectAlpha: t.selectAlpha
|
|
11115
11115
|
}, null, 8, ["color", "rgba", "width", "height", "onSelectAlpha"])
|
|
11116
11116
|
]),
|
|
11117
|
-
|
|
11117
|
+
M(
|
|
11118
11118
|
"div",
|
|
11119
11119
|
{
|
|
11120
11120
|
style: { height: t.previewHeight + "px" },
|
|
11121
11121
|
class: "color-show"
|
|
11122
11122
|
},
|
|
11123
11123
|
[
|
|
11124
|
-
|
|
11124
|
+
M(c, {
|
|
11125
11125
|
color: t.rgbaString,
|
|
11126
11126
|
width: t.previewWidth,
|
|
11127
11127
|
height: t.previewHeight
|
|
11128
11128
|
}, null, 8, ["color", "width", "height"]),
|
|
11129
|
-
t.suckerHide ? T("v-if", !0) : (p(),
|
|
11129
|
+
t.suckerHide ? T("v-if", !0) : (p(), V(u, {
|
|
11130
11130
|
key: 0,
|
|
11131
11131
|
"sucker-canvas": t.suckerCanvas,
|
|
11132
11132
|
"sucker-area": t.suckerArea,
|
|
@@ -11137,21 +11137,21 @@ function o4(t, e, a, n, s, o) {
|
|
|
11137
11137
|
4
|
|
11138
11138
|
/* STYLE */
|
|
11139
11139
|
),
|
|
11140
|
-
|
|
11140
|
+
M(f, {
|
|
11141
11141
|
name: "HEX",
|
|
11142
11142
|
color: t.modelHex,
|
|
11143
11143
|
onInputColor: t.inputHex,
|
|
11144
11144
|
onInputFocus: t.handleFocus,
|
|
11145
11145
|
onInputBlur: t.handleBlur
|
|
11146
11146
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11147
|
-
|
|
11147
|
+
M(f, {
|
|
11148
11148
|
name: "RGBA",
|
|
11149
11149
|
color: t.modelRgba,
|
|
11150
11150
|
onInputColor: t.inputRgba,
|
|
11151
11151
|
onInputFocus: t.handleFocus,
|
|
11152
11152
|
onInputBlur: t.handleBlur
|
|
11153
11153
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11154
|
-
|
|
11154
|
+
M(d, {
|
|
11155
11155
|
color: t.rgbaString,
|
|
11156
11156
|
"colors-default": t.colorsDefault,
|
|
11157
11157
|
"colors-history-key": t.colorsHistoryKey,
|
|
@@ -11175,10 +11175,7 @@ const r4 = {
|
|
|
11175
11175
|
},
|
|
11176
11176
|
data() {
|
|
11177
11177
|
return {
|
|
11178
|
-
color: "#59c7f9"
|
|
11179
|
-
suckerCanvas: null,
|
|
11180
|
-
suckerArea: [],
|
|
11181
|
-
isSucking: !1
|
|
11178
|
+
color: "#59c7f9"
|
|
11182
11179
|
};
|
|
11183
11180
|
},
|
|
11184
11181
|
methods: {
|
|
@@ -11192,21 +11189,12 @@ const r4 = {
|
|
|
11192
11189
|
};
|
|
11193
11190
|
function l4(t, e, a, n, s, o) {
|
|
11194
11191
|
const i = xe("ColorPicker");
|
|
11195
|
-
return p(),
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
"sucker-hide": !1,
|
|
11202
|
-
"sucker-canvas": s.suckerCanvas,
|
|
11203
|
-
"sucker-area": s.suckerArea,
|
|
11204
|
-
onChangeColor: o.changeColor,
|
|
11205
|
-
onOpenSucker: o.openSucker,
|
|
11206
|
-
onInputFocus: t.inputFocus,
|
|
11207
|
-
onInputBlur: t.inputBlur
|
|
11208
|
-
}, null, 8, ["color", "sucker-canvas", "sucker-area", "onChangeColor", "onOpenSucker", "onInputFocus", "onInputBlur"])
|
|
11209
|
-
], 4);
|
|
11192
|
+
return p(), V(i, {
|
|
11193
|
+
class: "color-picker",
|
|
11194
|
+
theme: "light",
|
|
11195
|
+
color: s.color,
|
|
11196
|
+
onChangeColor: o.changeColor
|
|
11197
|
+
}, null, 8, ["color", "onChangeColor"]);
|
|
11210
11198
|
}
|
|
11211
11199
|
const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-milestone__header" }, p4 = { class: "ao-project-milestone__header_line" }, f4 = { class: "ao-project-milestone__header_line" }, v4 = { class: "ao-project-milestone__title" }, h4 = {
|
|
11212
11200
|
key: 0,
|
|
@@ -11214,7 +11202,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11214
11202
|
}, m4 = { class: "ao-field__row ao-milestone__field-row" }, C4 = { class: "ao-field ao-field--inline" }, g4 = { class: "ao-field__row ao-milestone__field-row" }, _4 = { class: "ao-field ao-milestone__field-multiselect" }, y4 = { class: "ao-project-milestone__body" }, b4 = {
|
|
11215
11203
|
key: 0,
|
|
11216
11204
|
class: "ao-project-milestone__footer"
|
|
11217
|
-
},
|
|
11205
|
+
}, Ms = /* @__PURE__ */ q({
|
|
11218
11206
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11219
11207
|
props: {
|
|
11220
11208
|
milestoneId: {},
|
|
@@ -11277,7 +11265,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11277
11265
|
deadline: h != null && h.length ? h : null
|
|
11278
11266
|
});
|
|
11279
11267
|
}
|
|
11280
|
-
}), C = (h) => a.closedStatus ?
|
|
11268
|
+
}), C = (h) => a.closedStatus ? Tn(h, a.closedStatus) : !1, b = k(() => {
|
|
11281
11269
|
var h;
|
|
11282
11270
|
return ((h = a.users) == null ? void 0 : h.map((A) => ({
|
|
11283
11271
|
label: `${A.firstName} ${A.lastName}`,
|
|
@@ -11310,7 +11298,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11310
11298
|
return p(), g("div", c4, [
|
|
11311
11299
|
v("header", d4, [
|
|
11312
11300
|
v("div", p4, [
|
|
11313
|
-
|
|
11301
|
+
M(ce, {
|
|
11314
11302
|
"icon-name": "CloseRounded",
|
|
11315
11303
|
variant: "ghost",
|
|
11316
11304
|
size: "sm",
|
|
@@ -11320,11 +11308,11 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11320
11308
|
]),
|
|
11321
11309
|
v("div", f4, [
|
|
11322
11310
|
v("div", v4, [
|
|
11323
|
-
|
|
11311
|
+
M(ye, {
|
|
11324
11312
|
title: ((w = i.value) == null ? void 0 : w.name) || h.milestoneId,
|
|
11325
11313
|
level: 5
|
|
11326
11314
|
}, null, 8, ["title"]),
|
|
11327
|
-
|
|
11315
|
+
M(yn, {
|
|
11328
11316
|
modelValue: _.value,
|
|
11329
11317
|
"onUpdate:modelValue": A[0] || (A[0] = (E) => _.value = E),
|
|
11330
11318
|
modelModifiers: { lazy: !0 },
|
|
@@ -11357,7 +11345,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11357
11345
|
]),
|
|
11358
11346
|
v("div", g4, [
|
|
11359
11347
|
v("label", _4, [
|
|
11360
|
-
|
|
11348
|
+
M($e, {
|
|
11361
11349
|
modelValue: y.value,
|
|
11362
11350
|
"onUpdate:modelValue": A[2] || (A[2] = (E) => y.value = E),
|
|
11363
11351
|
options: b.value,
|
|
@@ -11374,7 +11362,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11374
11362
|
option: E,
|
|
11375
11363
|
handleTagRemove: D
|
|
11376
11364
|
}) => [
|
|
11377
|
-
|
|
11365
|
+
M(Je, {
|
|
11378
11366
|
"user-name": E.label,
|
|
11379
11367
|
"avatar-url": E.avatar,
|
|
11380
11368
|
"is-closable": !0,
|
|
@@ -11385,11 +11373,11 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11385
11373
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11386
11374
|
])
|
|
11387
11375
|
]),
|
|
11388
|
-
|
|
11376
|
+
M(u4)
|
|
11389
11377
|
])) : T("", !0)
|
|
11390
11378
|
]),
|
|
11391
11379
|
v("div", y4, [
|
|
11392
|
-
|
|
11380
|
+
M(Q(mt), He({
|
|
11393
11381
|
class: "ao-project-milestone__activities",
|
|
11394
11382
|
list: r.value,
|
|
11395
11383
|
disabled: !h.isEditable,
|
|
@@ -11399,7 +11387,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11399
11387
|
item: W(({ element: E }) => {
|
|
11400
11388
|
var D, H, U, F;
|
|
11401
11389
|
return [
|
|
11402
|
-
|
|
11390
|
+
M(di, {
|
|
11403
11391
|
id: E.id,
|
|
11404
11392
|
name: E.name || E.id,
|
|
11405
11393
|
"phase-name": (D = s.value) == null ? void 0 : D.name,
|
|
@@ -11424,7 +11412,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11424
11412
|
h.isEditable ? {
|
|
11425
11413
|
name: "secondary",
|
|
11426
11414
|
fn: W(() => [
|
|
11427
|
-
h.isEditable && E.active ? (p(),
|
|
11415
|
+
h.isEditable && E.active ? (p(), V(ce, {
|
|
11428
11416
|
key: 0,
|
|
11429
11417
|
color: "primary",
|
|
11430
11418
|
variant: "ghost",
|
|
@@ -11435,7 +11423,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11435
11423
|
label: h.$t("archive"),
|
|
11436
11424
|
onClick: fe(() => h.$emit("archiveActivity", { id: E.id }), ["stop"])
|
|
11437
11425
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11438
|
-
h.isEditable && !E.active ? (p(),
|
|
11426
|
+
h.isEditable && !E.active ? (p(), V(ce, {
|
|
11439
11427
|
key: 1,
|
|
11440
11428
|
color: "primary",
|
|
11441
11429
|
variant: "ghost",
|
|
@@ -11458,7 +11446,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11458
11446
|
_: 1
|
|
11459
11447
|
}, 16, ["list", "disabled"]),
|
|
11460
11448
|
h.isEditable ? (p(), g("div", b4, [
|
|
11461
|
-
|
|
11449
|
+
M(Ct, {
|
|
11462
11450
|
"icon-name": "Add",
|
|
11463
11451
|
label: h.$t("project.activity.add"),
|
|
11464
11452
|
onClick: c
|
|
@@ -11523,7 +11511,7 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11523
11511
|
};
|
|
11524
11512
|
return (_, h) => {
|
|
11525
11513
|
var A, w;
|
|
11526
|
-
return i.value ? (p(),
|
|
11514
|
+
return i.value ? (p(), V(Un, {
|
|
11527
11515
|
key: 0,
|
|
11528
11516
|
activity: i.value,
|
|
11529
11517
|
"activity-types": _.activityTypes,
|
|
@@ -11564,12 +11552,12 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11564
11552
|
},
|
|
11565
11553
|
setup(t) {
|
|
11566
11554
|
return (e, a) => (p(), g("header", $4, [
|
|
11567
|
-
|
|
11555
|
+
M(ye, {
|
|
11568
11556
|
title: e.title,
|
|
11569
11557
|
class: "ao-col-header__title",
|
|
11570
11558
|
level: 4
|
|
11571
11559
|
}, null, 8, ["title"]),
|
|
11572
|
-
e.items ? (p(),
|
|
11560
|
+
e.items ? (p(), V(Sn, {
|
|
11573
11561
|
key: 0,
|
|
11574
11562
|
label: e.items,
|
|
11575
11563
|
class: "ao-col-header__items",
|
|
@@ -11745,7 +11733,7 @@ const V4 = {
|
|
|
11745
11733
|
var d;
|
|
11746
11734
|
return [
|
|
11747
11735
|
v("div", P4, [
|
|
11748
|
-
u.title ? (p(),
|
|
11736
|
+
u.title ? (p(), V(k4, {
|
|
11749
11737
|
key: 0,
|
|
11750
11738
|
title: u.title,
|
|
11751
11739
|
level: 3,
|
|
@@ -11754,7 +11742,7 @@ const V4 = {
|
|
|
11754
11742
|
])
|
|
11755
11743
|
];
|
|
11756
11744
|
}) : T("", !0),
|
|
11757
|
-
|
|
11745
|
+
M(Q(mt), He({
|
|
11758
11746
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11759
11747
|
list: u.list,
|
|
11760
11748
|
"item-key": "id",
|
|
@@ -11775,7 +11763,7 @@ const V4 = {
|
|
|
11775
11763
|
item: W(({ element: d }) => {
|
|
11776
11764
|
var C, b, y, _, h, A, w, E;
|
|
11777
11765
|
return [
|
|
11778
|
-
|
|
11766
|
+
M(di, {
|
|
11779
11767
|
class: Y(o(d) ? "ao-list-draggable" : ""),
|
|
11780
11768
|
id: d.id,
|
|
11781
11769
|
name: d.name,
|
|
@@ -11801,7 +11789,7 @@ const V4 = {
|
|
|
11801
11789
|
onRemoveAssignee: () => o(d) && r({ id: d.id, assigneeId: null })
|
|
11802
11790
|
}, {
|
|
11803
11791
|
secondary: W(() => [
|
|
11804
|
-
o(d) && d.active ? (p(),
|
|
11792
|
+
o(d) && d.active ? (p(), V(ce, {
|
|
11805
11793
|
key: 0,
|
|
11806
11794
|
color: "primary",
|
|
11807
11795
|
variant: "ghost",
|
|
@@ -11812,7 +11800,7 @@ const V4 = {
|
|
|
11812
11800
|
label: u.$t("feed.activity.archive"),
|
|
11813
11801
|
onClick: fe(() => u.$emit("archiveActivity", { id: d.id }), ["stop"])
|
|
11814
11802
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11815
|
-
o(d) && !d.active ? (p(),
|
|
11803
|
+
o(d) && !d.active ? (p(), V(ce, {
|
|
11816
11804
|
key: 1,
|
|
11817
11805
|
color: "primary",
|
|
11818
11806
|
variant: "ghost",
|
|
@@ -11830,7 +11818,7 @@ const V4 = {
|
|
|
11830
11818
|
}),
|
|
11831
11819
|
footer: W(() => [
|
|
11832
11820
|
u.isLoading ? (p(), g("div", B4, [
|
|
11833
|
-
|
|
11821
|
+
M(pe, { name: "Loading" })
|
|
11834
11822
|
])) : u.hasMore ? (p(), g("div", {
|
|
11835
11823
|
key: 2,
|
|
11836
11824
|
ref_key: "scrollEnd",
|
|
@@ -11844,7 +11832,7 @@ const V4 = {
|
|
|
11844
11832
|
}, 16, ["class", "list", "disabled"]),
|
|
11845
11833
|
u.$slots.footer || u.footerLabel ? (p(), g("div", F4, [
|
|
11846
11834
|
te(u.$slots, "footer", {}, () => [
|
|
11847
|
-
u.isEditable ? (p(),
|
|
11835
|
+
u.isEditable ? (p(), V(Ct, {
|
|
11848
11836
|
key: 0,
|
|
11849
11837
|
"icon-name": "AddBoxOutlineRounded",
|
|
11850
11838
|
label: u.footerLabel,
|
|
@@ -11880,11 +11868,11 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11880
11868
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11881
11869
|
onKeypress: dt(n, ["enter"])
|
|
11882
11870
|
}, null, 40, W4),
|
|
11883
|
-
|
|
11871
|
+
M(pe, {
|
|
11884
11872
|
name: "SearchRounded",
|
|
11885
11873
|
class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
11886
11874
|
}, null, 8, ["class"]),
|
|
11887
|
-
|
|
11875
|
+
M(ce, {
|
|
11888
11876
|
"icon-name": "CloseRounded",
|
|
11889
11877
|
size: "sm",
|
|
11890
11878
|
color: "primary",
|
|
@@ -11923,7 +11911,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11923
11911
|
de(
|
|
11924
11912
|
[() => a.statuses, () => a.activities, () => a.initialActivityId],
|
|
11925
11913
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11926
|
-
async ([O, N,
|
|
11914
|
+
async ([O, N, S], [m, L]) => {
|
|
11927
11915
|
i.value = Object.fromEntries(
|
|
11928
11916
|
O.map((J) => [
|
|
11929
11917
|
J.id,
|
|
@@ -11932,7 +11920,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11932
11920
|
return ((le = ae.status) == null ? void 0 : le.id) === J.id;
|
|
11933
11921
|
})
|
|
11934
11922
|
])
|
|
11935
|
-
),
|
|
11923
|
+
), S && !r.value && (o(S), r.value = !0), l.value && Xe(N, L);
|
|
11936
11924
|
},
|
|
11937
11925
|
{ immediate: !0 }
|
|
11938
11926
|
);
|
|
@@ -11941,9 +11929,9 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11941
11929
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((O = a.selectedActivity.milestone.phase) == null ? void 0 : O.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
11942
11930
|
}), f = (O) => {
|
|
11943
11931
|
var J, ae;
|
|
11944
|
-
const N = (J = a.activities) == null ? void 0 : J.at(-1),
|
|
11932
|
+
const N = (J = a.activities) == null ? void 0 : J.at(-1), S = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, L = {
|
|
11945
11933
|
name: n("activity.defaultName", { idx: m + 1 }),
|
|
11946
|
-
rank:
|
|
11934
|
+
rank: S.format(),
|
|
11947
11935
|
statusId: O.id
|
|
11948
11936
|
};
|
|
11949
11937
|
a.filters.assigneeId.length > 0 && (L.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (L.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (L.typeId = a.filters.typeId[0]), l.value = !0, e("addActivity", L);
|
|
@@ -11999,12 +11987,12 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11999
11987
|
N && e("removeComment", O);
|
|
12000
11988
|
};
|
|
12001
11989
|
return (O, N) => {
|
|
12002
|
-
var
|
|
11990
|
+
var S;
|
|
12003
11991
|
return p(), g("div", z4, [
|
|
12004
|
-
|
|
11992
|
+
M(Ya, null, {
|
|
12005
11993
|
primary: W(() => [
|
|
12006
11994
|
v("div", x4, [
|
|
12007
|
-
a.project ? (p(),
|
|
11995
|
+
a.project ? (p(), V(ci, {
|
|
12008
11996
|
key: 0,
|
|
12009
11997
|
"is-left": !1,
|
|
12010
11998
|
"right-label": O.$t("project.switch.feed"),
|
|
@@ -12013,14 +12001,14 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12013
12001
|
m && O.$router.push({ name: Q(Ye).project });
|
|
12014
12002
|
})
|
|
12015
12003
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12016
|
-
|
|
12004
|
+
M(q4, {
|
|
12017
12005
|
"model-value": O.searchText,
|
|
12018
12006
|
placeholder: O.$t("feed.search.placeholder"),
|
|
12019
12007
|
class: "ao-feed__search",
|
|
12020
12008
|
"onUpdate:modelValue": D,
|
|
12021
12009
|
onClear: H
|
|
12022
12010
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12023
|
-
a.project ? T("", !0) : (p(),
|
|
12011
|
+
a.project ? T("", !0) : (p(), V($e, {
|
|
12024
12012
|
key: 1,
|
|
12025
12013
|
"model-value": O.filters[Q(Lt).project],
|
|
12026
12014
|
mode: "tags",
|
|
@@ -12031,7 +12019,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12031
12019
|
placeholder: O.$t("feed.filters.project.placeholder"),
|
|
12032
12020
|
"onUpdate:modelValue": N[1] || (N[1] = (m) => d(Q(Lt).project, m))
|
|
12033
12021
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12034
|
-
y.value ? (p(),
|
|
12022
|
+
y.value ? (p(), V($e, {
|
|
12035
12023
|
key: 2,
|
|
12036
12024
|
"model-value": O.filters[Q(Lt).type],
|
|
12037
12025
|
mode: "tags",
|
|
@@ -12042,7 +12030,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12042
12030
|
placeholder: O.$t("feed.filters.activityType.placeholder"),
|
|
12043
12031
|
"onUpdate:modelValue": N[2] || (N[2] = (m) => d(Q(Lt).type, m))
|
|
12044
12032
|
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
12045
|
-
_.value.length ? (p(),
|
|
12033
|
+
_.value.length ? (p(), V($e, {
|
|
12046
12034
|
key: 3,
|
|
12047
12035
|
"model-value": O.filters[Q(Lt).assignee],
|
|
12048
12036
|
mode: "tags",
|
|
@@ -12057,7 +12045,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12057
12045
|
option: m,
|
|
12058
12046
|
handleTagRemove: L
|
|
12059
12047
|
}) => [
|
|
12060
|
-
|
|
12048
|
+
M(Je, {
|
|
12061
12049
|
"user-name": m.label,
|
|
12062
12050
|
"avatar-url": m.avatar,
|
|
12063
12051
|
"is-closable": !0,
|
|
@@ -12067,7 +12055,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12067
12055
|
_: 1
|
|
12068
12056
|
}, 8, ["model-value", "options", "placeholder"])) : T("", !0)
|
|
12069
12057
|
]),
|
|
12070
|
-
|
|
12058
|
+
M(ce, {
|
|
12071
12059
|
class: "ao-feed__only-important",
|
|
12072
12060
|
size: "sm",
|
|
12073
12061
|
"icon-name": O.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12079,7 +12067,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12079
12067
|
"aria-checked": O.showsOnlyImportant,
|
|
12080
12068
|
onClick: N[4] || (N[4] = (m) => O.$emit("update:showsOnlyImportant", !O.showsOnlyImportant))
|
|
12081
12069
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12082
|
-
|
|
12070
|
+
M(ce, {
|
|
12083
12071
|
class: "ao-feed__show-archived",
|
|
12084
12072
|
size: "sm",
|
|
12085
12073
|
"icon-name": O.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12095,7 +12083,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12095
12083
|
_: 1
|
|
12096
12084
|
}),
|
|
12097
12085
|
v("div", Y4, [
|
|
12098
|
-
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(),
|
|
12086
|
+
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(), V(U4, {
|
|
12099
12087
|
key: m.id,
|
|
12100
12088
|
status: m,
|
|
12101
12089
|
list: i.value[m.id],
|
|
@@ -12112,12 +12100,12 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12112
12100
|
onUpdateActivity: A
|
|
12113
12101
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12114
12102
|
]),
|
|
12115
|
-
(p(),
|
|
12116
|
-
O.selectedActivity ? (p(),
|
|
12103
|
+
(p(), V(Nt, { to: "body" }, [
|
|
12104
|
+
O.selectedActivity ? (p(), V(Un, {
|
|
12117
12105
|
key: 0,
|
|
12118
12106
|
activity: O.selectedActivity,
|
|
12119
12107
|
"activity-types": O.activityTypes,
|
|
12120
|
-
"milestone-id": (
|
|
12108
|
+
"milestone-id": (S = O.selectedActivity.milestone) == null ? void 0 : S.id,
|
|
12121
12109
|
"template-activities": s.value,
|
|
12122
12110
|
users: O.users,
|
|
12123
12111
|
"user-id": O.userId,
|
|
@@ -12192,7 +12180,7 @@ const Dt = {
|
|
|
12192
12180
|
{
|
|
12193
12181
|
path: ":phaseId/:milestoneId",
|
|
12194
12182
|
name: Ye.milestone,
|
|
12195
|
-
component:
|
|
12183
|
+
component: Ms,
|
|
12196
12184
|
props: !0
|
|
12197
12185
|
},
|
|
12198
12186
|
{
|
|
@@ -12200,7 +12188,7 @@ const Dt = {
|
|
|
12200
12188
|
name: Ye.activity,
|
|
12201
12189
|
props: { default: !0, modal: !0 },
|
|
12202
12190
|
components: {
|
|
12203
|
-
default:
|
|
12191
|
+
default: Ms,
|
|
12204
12192
|
modal: w4
|
|
12205
12193
|
}
|
|
12206
12194
|
}
|
|
@@ -12255,9 +12243,9 @@ const Dt = {
|
|
|
12255
12243
|
}
|
|
12256
12244
|
};
|
|
12257
12245
|
return (r, l) => (p(), g("div", G4, [
|
|
12258
|
-
|
|
12246
|
+
M(Ya, null, {
|
|
12259
12247
|
secondary: W(() => [
|
|
12260
|
-
|
|
12248
|
+
M(ce, {
|
|
12261
12249
|
label: r.$t("templates.new"),
|
|
12262
12250
|
color: "primary",
|
|
12263
12251
|
"icon-name": "Add",
|
|
@@ -12267,7 +12255,7 @@ const Dt = {
|
|
|
12267
12255
|
]),
|
|
12268
12256
|
_: 1
|
|
12269
12257
|
}),
|
|
12270
|
-
|
|
12258
|
+
M(Q(mt), {
|
|
12271
12259
|
"model-value": r.templates,
|
|
12272
12260
|
class: "ao-templates__list",
|
|
12273
12261
|
"item-key": "id",
|
|
@@ -12277,7 +12265,7 @@ const Dt = {
|
|
|
12277
12265
|
item: W(({ element: c }) => {
|
|
12278
12266
|
var u;
|
|
12279
12267
|
return [
|
|
12280
|
-
|
|
12268
|
+
M(Q3, {
|
|
12281
12269
|
id: c.id,
|
|
12282
12270
|
title: c.name,
|
|
12283
12271
|
phases: c.phases,
|
|
@@ -12329,7 +12317,7 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12329
12317
|
), s = (o) => {
|
|
12330
12318
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12331
12319
|
};
|
|
12332
|
-
return (o, i) => (p(),
|
|
12320
|
+
return (o, i) => (p(), V(J4, { label: o.label }, {
|
|
12333
12321
|
default: W(() => [
|
|
12334
12322
|
v("input", He({
|
|
12335
12323
|
class: "ao-field__input",
|