@26lights/orcha 0.34.11 → 0.34.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +365 -356
- package/dist/orcha.umd.js +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as J, openBlock as v, createBlock as R, unref as Q, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as k, resolveDynamicComponent as vt, normalizeClass as Y, renderSlot as
|
|
1
|
+
import { defineComponent as J, openBlock as v, createBlock as R, unref as Q, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as k, resolveDynamicComponent as vt, normalizeClass as Y, renderSlot as te, toDisplayString as X, createCommentVNode as T, ref as ne, watch as de, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as q, createTextVNode as Ra, createVNode as L, normalizeStyle as vn, withModifiers as me, createSlots as Na, Fragment as he, renderList as ye, onMounted as Ft, onBeforeUnmount as pn, onUnmounted as mn, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
|
|
2
2
|
import { RouterView as As } from "vue-router";
|
|
3
3
|
import pt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const Mv = /* @__PURE__ */ J({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1200,7 +1200,7 @@ const m2 = ["type"], h2 = {
|
|
|
1200
1200
|
s.$attrs.disabled ? "ao-button--is-disabled" : ""
|
|
1201
1201
|
])
|
|
1202
1202
|
}, [
|
|
1203
|
-
|
|
1203
|
+
te(s.$slots, "default", {}, () => [
|
|
1204
1204
|
s.label ? (v(), g("span", h2, X(s.label), 1)) : T("", !0)
|
|
1205
1205
|
]),
|
|
1206
1206
|
n.value ? (v(), R(ce, {
|
|
@@ -1368,22 +1368,22 @@ const C2 = {
|
|
|
1368
1368
|
"is-editable": !0,
|
|
1369
1369
|
"onUpdate:title": a
|
|
1370
1370
|
}, null, 8, ["id", "title"]),
|
|
1371
|
-
|
|
1371
|
+
te(n.$slots, "subtitle", {}, () => [
|
|
1372
1372
|
n.subtitle ? (v(), g("span", b2, X(n.subtitle), 1)) : T("", !0)
|
|
1373
1373
|
])
|
|
1374
1374
|
]),
|
|
1375
1375
|
n.$slots.header ? (v(), g("div", w2, [
|
|
1376
|
-
|
|
1376
|
+
te(n.$slots, "header")
|
|
1377
1377
|
])) : T("", !0)
|
|
1378
1378
|
]),
|
|
1379
1379
|
n.$slots.default ? (v(), g("div", $2, [
|
|
1380
|
-
|
|
1380
|
+
te(n.$slots, "default")
|
|
1381
1381
|
])) : T("", !0),
|
|
1382
1382
|
n.$slots.footer ? (v(), g("div", k2, [
|
|
1383
|
-
|
|
1383
|
+
te(n.$slots, "footer")
|
|
1384
1384
|
])) : T("", !0),
|
|
1385
1385
|
n.$slots.secondary ? (v(), g("div", M2, [
|
|
1386
|
-
|
|
1386
|
+
te(n.$slots, "secondary")
|
|
1387
1387
|
])) : T("", !0)
|
|
1388
1388
|
]),
|
|
1389
1389
|
_: 3
|
|
@@ -1441,11 +1441,11 @@ const c1 = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, Av = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, Tv = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const c1 = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var E2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(E2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const Sv = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -3851,10 +3851,10 @@ const U3 = { class: "ao-page-header" }, Z3 = { class: "ao-page-header-main" }, F
|
|
|
3851
3851
|
variant: "ghost",
|
|
3852
3852
|
onClick: a[0] || (a[0] = (n) => e.$emit("goBack"))
|
|
3853
3853
|
})) : T("", !0),
|
|
3854
|
-
|
|
3854
|
+
te(e.$slots, "primary")
|
|
3855
3855
|
]),
|
|
3856
3856
|
e.$slots.secondary ? (v(), g("div", F3, [
|
|
3857
|
-
|
|
3857
|
+
te(e.$slots, "secondary")
|
|
3858
3858
|
])) : T("", !0)
|
|
3859
3859
|
]));
|
|
3860
3860
|
}
|
|
@@ -3885,7 +3885,7 @@ const q3 = ["type"], W3 = {
|
|
|
3885
3885
|
s.$attrs.disabled ? "ao-button-card--is-disabled" : ""
|
|
3886
3886
|
])
|
|
3887
3887
|
}, [
|
|
3888
|
-
|
|
3888
|
+
te(s.$slots, "default", {}, () => [
|
|
3889
3889
|
s.label ? (v(), g("span", W3, X(s.label), 1)) : T("", !0)
|
|
3890
3890
|
]),
|
|
3891
3891
|
n.value ? (v(), R(ce, {
|
|
@@ -3968,7 +3968,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
3968
3968
|
milestones: a.value
|
|
3969
3969
|
}, s.$attrs), {
|
|
3970
3970
|
default: q(() => [
|
|
3971
|
-
|
|
3971
|
+
te(s.$slots, "default")
|
|
3972
3972
|
]),
|
|
3973
3973
|
_: 3
|
|
3974
3974
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
@@ -3985,7 +3985,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
3985
3985
|
});
|
|
3986
3986
|
return (n, s) => (v(), R($1, { activities: a.value }, {
|
|
3987
3987
|
default: q(() => [
|
|
3988
|
-
|
|
3988
|
+
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
3990
3990
|
_: 3
|
|
3991
3991
|
}, 8, ["activities"]));
|
|
@@ -4072,7 +4072,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4072
4072
|
});
|
|
4073
4073
|
return (n, s) => (v(), R($1, { tasks: a.value }, {
|
|
4074
4074
|
default: q(() => [
|
|
4075
|
-
|
|
4075
|
+
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
4077
4077
|
_: 3
|
|
4078
4078
|
}, 8, ["tasks"]));
|
|
@@ -4176,14 +4176,14 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4176
4176
|
})
|
|
4177
4177
|
]),
|
|
4178
4178
|
p("header", o5, [
|
|
4179
|
-
|
|
4179
|
+
te(e.$slots, "header")
|
|
4180
4180
|
])
|
|
4181
4181
|
])) : T("", !0),
|
|
4182
4182
|
p("div", r5, [
|
|
4183
|
-
|
|
4183
|
+
te(e.$slots, "default")
|
|
4184
4184
|
]),
|
|
4185
4185
|
e.$slots.footer ? (v(), g("footer", l5, [
|
|
4186
|
-
|
|
4186
|
+
te(e.$slots, "footer")
|
|
4187
4187
|
])) : T("", !0)
|
|
4188
4188
|
])
|
|
4189
4189
|
], 2));
|
|
@@ -5158,8 +5158,8 @@ function Y5(t, e, a) {
|
|
|
5158
5158
|
groupHideEmpty: O,
|
|
5159
5159
|
groupSelect: B,
|
|
5160
5160
|
onCreate: se,
|
|
5161
|
-
disabledProp:
|
|
5162
|
-
searchStart:
|
|
5161
|
+
disabledProp: ae,
|
|
5162
|
+
searchStart: ee,
|
|
5163
5163
|
searchFilter: Ce
|
|
5164
5164
|
} = Ae(t), re = Mt().proxy, G = a.iv, D = a.ev, K = a.search, fe = a.clearSearch, we = a.update, Wt = a.pointer, zt = a.setPointer, tt = a.clearPointer, ha = a.focus, Qa = a.deactivate, at = a.close, Ca = a.localize, nt = ne([]), Ne = ne([]), Te = ne(!1), Be = ne(null), We = ne(x.value && i.value === -1 ? 10 : i.value), Yt = k(() => l.value || u.value || !1), ga = k(() => c.value !== void 0 ? c.value : m.value !== void 0 ? m.value : !0), Se = k(() => {
|
|
5165
5165
|
if (E.value) {
|
|
@@ -5167,7 +5167,7 @@ function Y5(t, e, a) {
|
|
|
5167
5167
|
[], P = [];
|
|
5168
5168
|
return b.forEach((oe) => {
|
|
5169
5169
|
i1(oe[f.value]).forEach((ve) => {
|
|
5170
|
-
P.push(Object.assign({}, ve, oe[
|
|
5170
|
+
P.push(Object.assign({}, ve, oe[ae.value] ? { [ae.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), P;
|
|
5173
5173
|
} else {
|
|
@@ -5209,8 +5209,8 @@ function Y5(t, e, a) {
|
|
|
5209
5209
|
...P,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[f.value]: s1(ve, !1).map((_t) => Object.assign({}, _t, P[
|
|
5213
|
-
__VISIBLE__: s1(ve).map((_t) => Object.assign({}, _t, P[
|
|
5212
|
+
[f.value]: s1(ve, !1).map((_t) => Object.assign({}, _t, P[ae.value] ? { [ae.value]: !0 } : {})),
|
|
5213
|
+
__VISIBLE__: s1(ve).map((_t) => Object.assign({}, _t, P[ae.value] ? { [ae.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
5216
5216
|
}), e1 = k(() => {
|
|
@@ -5276,7 +5276,7 @@ function Y5(t, e, a) {
|
|
|
5276
5276
|
case "multiple":
|
|
5277
5277
|
return !je(G.value) && G.value.map((P) => P[I.value]).indexOf(b[I.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
}, t1 = (b) => b[
|
|
5279
|
+
}, t1 = (b) => b[ae.value] === !0, a1 = () => S === void 0 || S.value === -1 || !e1.value && S.value > 0 ? !1 : G.value.length >= S.value, is = (b) => {
|
|
5280
5280
|
if (!t1(b)) {
|
|
5281
5281
|
if (se && se.value && !ze(b) && b.__CREATE__ && (b = { ...b }, delete b.__CREATE__, b = se.value(b, re), b instanceof Promise)) {
|
|
5282
5282
|
Te.value = !0, b.then((P) => {
|
|
@@ -5325,8 +5325,8 @@ function Y5(t, e, a) {
|
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
5327
|
ls(b[f.value]) ? Et(b[f.value]) : St(
|
|
5328
|
-
b[f.value].filter((P) => G.value.map((oe) => oe[I.value]).indexOf(P[I.value]) === -1).filter((P) => !P[
|
|
5329
|
-
), r.value && Wt.value && zt(Ja.value.filter((P) => !P[
|
|
5328
|
+
b[f.value].filter((P) => G.value.map((oe) => oe[I.value]).indexOf(P[I.value]) === -1).filter((P) => !P[ae.value]).filter((P, oe) => G.value.length + 1 + oe <= S.value || S.value === -1)
|
|
5329
|
+
), r.value && Wt.value && zt(Ja.value.filter((P) => !P[ae.value])[Wt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
5332
5332
|
H.value && Qa();
|
|
@@ -5335,7 +5335,7 @@ function Y5(t, e, a) {
|
|
|
5335
5335
|
Ye(b[I.value]) === void 0 && Yt.value && (e.emit("tag", b[I.value], re), e.emit("option", b[I.value], re), e.emit("create", b[I.value], re), ga.value && fs(b), fe());
|
|
5336
5336
|
}, rs = () => {
|
|
5337
5337
|
s.value !== "single" && St(st.value.filter((b) => !b.disabled && !ze(b)));
|
|
5338
|
-
}, ls = (b) => b.find((P) => !ze(P) && !P[
|
|
5338
|
+
}, ls = (b) => b.find((P) => !ze(P) && !P[ae.value]) === void 0, us = (b) => b.find((P) => !ze(P)) === void 0, Ye = (b) => Se.value[Se.value.map((P) => String(P[I.value])).indexOf(String(b))], ds = (b) => Se.value.findIndex((P) => gt.value.some((oe) => (parseInt(P[oe]) == P[oe] ? parseInt(P[oe]) : P[oe]) === (parseInt(b) == b ? parseInt(b) : b))), cs = (b) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze(b), fs = (b) => {
|
|
5339
5339
|
nt.value.push(b);
|
|
5340
5340
|
}, vs = (b) => O.value ? b.filter(
|
|
5341
5341
|
(P) => K.value ? P.__VISIBLE__.length : P[f.value].length
|
|
@@ -5343,9 +5343,9 @@ function Y5(t, e, a) {
|
|
|
5343
5343
|
let oe = b;
|
|
5344
5344
|
if (K.value && w.value) {
|
|
5345
5345
|
let ve = Ce.value;
|
|
5346
|
-
ve || (ve = (_t, q1,
|
|
5346
|
+
ve || (ve = (_t, q1, bv) => gt.value.some((ms) => {
|
|
5347
5347
|
let W1 = u1(Ca(_t[ms]), W.value);
|
|
5348
|
-
return
|
|
5348
|
+
return ee.value ? W1.startsWith(u1(q1, W.value)) : W1.indexOf(u1(q1, W.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((_t) => ve(_t, K.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && P && (oe = oe.filter((ve) => !cs(ve))), oe;
|
|
@@ -5395,7 +5395,7 @@ function Y5(t, e, a) {
|
|
|
5395
5395
|
Be.value = de(K, (b) => {
|
|
5396
5396
|
b.length < M.value || !b && M.value !== 0 || (Te.value = !0, A.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
b == K.value && n.value(K.value, re).then((P) => {
|
|
5398
|
-
(b == K.value || !K.value) && (Ne.value = P, Wt.value = st.value.filter((oe) => oe[
|
|
5398
|
+
(b == K.value || !K.value) && (Ne.value = P, Wt.value = st.value.filter((oe) => oe[ae.value] !== !0)[0] || null, Te.value = !1);
|
|
5399
5399
|
}).catch(
|
|
5400
5400
|
/* istanbul ignore next */
|
|
5401
5401
|
(P) => {
|
|
@@ -5490,9 +5490,9 @@ function x5(t, e, a) {
|
|
|
5490
5490
|
return D[D.map((K) => K[n.value]).indexOf(h.value[n.value]) + 1];
|
|
5491
5491
|
}), f = k(() => [...W.value.__VISIBLE__.filter((D) => !D[d.value])].slice(-1)[0]), O = k(() => [...F.value.__VISIBLE__.filter((D) => !D[d.value])].slice(-1)[0]), B = (D) => h.value && (!D.group && h.value[n.value] === D[n.value] || D.group !== void 0 && h.value[i.value] === D[i.value]) ? !0 : void 0, se = () => {
|
|
5492
5492
|
M(I.value[0] || null);
|
|
5493
|
-
}, te = () => {
|
|
5494
|
-
!h.value || h.value[d.value] === !0 || (z.value ? _(h.value) : $(h.value));
|
|
5495
5493
|
}, ae = () => {
|
|
5494
|
+
!h.value || h.value[d.value] === !0 || (z.value ? _(h.value) : $(h.value));
|
|
5495
|
+
}, ee = () => {
|
|
5496
5496
|
if (h.value === null)
|
|
5497
5497
|
M((r.value && U.value ? Z.value[0].__CREATE__ ? I.value[0] : Z.value[0] : I.value[0]) || null);
|
|
5498
5498
|
else if (r.value && U.value) {
|
|
@@ -5545,8 +5545,8 @@ function x5(t, e, a) {
|
|
|
5545
5545
|
canPointGroups: U,
|
|
5546
5546
|
isPointed: B,
|
|
5547
5547
|
setPointerFirst: se,
|
|
5548
|
-
selectPointer:
|
|
5549
|
-
forwardPointer:
|
|
5548
|
+
selectPointer: ae,
|
|
5549
|
+
forwardPointer: ee,
|
|
5550
5550
|
backwardPointer: Ce
|
|
5551
5551
|
};
|
|
5552
5552
|
}
|
|
@@ -6238,10 +6238,10 @@ function Z7(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (I) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var F, E = A === "y" ? Re : xe, N = A === "y" ? qe : ft, x = A === "y" ? "height" : "width", f = I[A], O = f + y[E], B = f - y[N], se = C ? -U[x] / 2 : 0,
|
|
6241
|
+
var F, E = A === "y" ? Re : xe, N = A === "y" ? qe : ft, x = A === "y" ? "height" : "width", f = I[A], O = f + y[E], B = f - y[N], se = C ? -U[x] / 2 : 0, ae = M === Ut ? Z[x] : U[x], ee = M === Ut ? -U[x] : -Z[x], Ce = e.elements.arrow, re = C && Ce ? Wn(Ce) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, G = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Kn(), D = G[E], K = G[N], fe = Sa(0, Z[x], re[x]), we = w ? Z[x] / 2 - se - fe - D - S.mainAxis :
|
|
6244
|
+
}, G = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Kn(), D = G[E], K = G[N], fe = Sa(0, Z[x], re[x]), we = w ? Z[x] / 2 - se - fe - D - S.mainAxis : ae - fe - D - S.mainAxis, Wt = w ? -Z[x] / 2 + se + fe + K + S.mainAxis : ee + fe + K + S.mainAxis, zt = e.elements.arrow && Ka(e.elements.arrow), tt = zt ? A === "y" ? zt.clientTop || 0 : zt.clientLeft || 0 : 0, ha = (F = W == null ? void 0 : W[A]) != null ? F : 0, Qa = f + we - ha - tt, at = f + Wt - ha, Ca = Sa(C ? Ha(O, Qa) : O, f, C ? wt(B, at) : B);
|
|
6245
6245
|
I[A] = Ca, H[A] = Ca - f;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
@@ -6334,7 +6334,7 @@ function x7(t) {
|
|
|
6334
6334
|
Z.set(W, B);
|
|
6335
6335
|
}
|
|
6336
6336
|
if (U)
|
|
6337
|
-
for (var se = $ ? 3 : 1,
|
|
6337
|
+
for (var se = $ ? 3 : 1, ae = function(G) {
|
|
6338
6338
|
var D = A.find(function(K) {
|
|
6339
6339
|
var fe = Z.get(K);
|
|
6340
6340
|
if (fe)
|
|
@@ -6344,8 +6344,8 @@ function x7(t) {
|
|
|
6344
6344
|
});
|
|
6345
6345
|
if (D)
|
|
6346
6346
|
return z = D, "break";
|
|
6347
|
-
},
|
|
6348
|
-
var Ce =
|
|
6347
|
+
}, ee = se; ee > 0; ee--) {
|
|
6348
|
+
var Ce = ae(ee);
|
|
6349
6349
|
if (Ce === "break")
|
|
6350
6350
|
break;
|
|
6351
6351
|
}
|
|
@@ -6493,19 +6493,19 @@ function Q7(t, e, a) {
|
|
|
6493
6493
|
return {
|
|
6494
6494
|
handleKeydown: (B) => {
|
|
6495
6495
|
e.emit("keydown", B, $);
|
|
6496
|
-
let se,
|
|
6497
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(B.key) !== -1 && n.value === "tags" && (se = [...Z.value.querySelectorAll("[data-tags] > *")].filter((
|
|
6496
|
+
let se, ae;
|
|
6497
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(B.key) !== -1 && n.value === "tags" && (se = [...Z.value.querySelectorAll("[data-tags] > *")].filter((ee) => ee !== z.value), ae = se.findIndex((ee) => ee === document.activeElement)), B.key) {
|
|
6498
6498
|
case "Backspace":
|
|
6499
6499
|
if (n.value === "single" || i.value && [null, ""].indexOf(M.value) === -1 || _.value.length === 0)
|
|
6500
6500
|
return;
|
|
6501
|
-
let
|
|
6502
|
-
|
|
6501
|
+
let ee = _.value.filter((Ce) => !Ce.disabled && Ce.remove !== !1);
|
|
6502
|
+
ee.length && h(ee[ee.length - 1]);
|
|
6503
6503
|
break;
|
|
6504
6504
|
case "Enter":
|
|
6505
6505
|
if (B.preventDefault(), B.keyCode === 229)
|
|
6506
6506
|
return;
|
|
6507
|
-
if (
|
|
6508
|
-
y([..._.value].filter((Ce, re) => re !==
|
|
6507
|
+
if (ae !== -1 && ae !== void 0) {
|
|
6508
|
+
y([..._.value].filter((Ce, re) => re !== ae)), ae === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : U.value.focus());
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
6511
|
if (N.value.indexOf("enter") === -1 && E.value)
|
|
@@ -6546,12 +6546,12 @@ function Q7(t, e, a) {
|
|
|
6546
6546
|
case "ArrowLeft":
|
|
6547
6547
|
if (i.value && z.value && z.value.querySelector("input").selectionStart || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
|
|
6548
6548
|
return;
|
|
6549
|
-
B.preventDefault(),
|
|
6549
|
+
B.preventDefault(), ae === -1 ? se[se.length - 1].focus() : ae > 0 && se[ae - 1].focus();
|
|
6550
6550
|
break;
|
|
6551
6551
|
case "ArrowRight":
|
|
6552
|
-
if (
|
|
6552
|
+
if (ae === -1 || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
|
|
6553
6553
|
return;
|
|
6554
|
-
B.preventDefault(), se.length >
|
|
6554
|
+
B.preventDefault(), se.length > ae + 1 ? se[ae + 1].focus() : i.value ? z.value.querySelector("input").focus() : i.value || U.value.focus();
|
|
6555
6555
|
break;
|
|
6556
6556
|
}
|
|
6557
6557
|
},
|
|
@@ -7225,7 +7225,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7225
7225
|
(v(!0), g(
|
|
7226
7226
|
he,
|
|
7227
7227
|
null,
|
|
7228
|
-
ye(t.iv, (i, r, l) =>
|
|
7228
|
+
ye(t.iv, (i, r, l) => te(t.$slots, "tag", {
|
|
7229
7229
|
option: i,
|
|
7230
7230
|
handleTagRemove: t.handleTagRemove,
|
|
7231
7231
|
disabled: a.disabled
|
|
@@ -7318,7 +7318,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7318
7318
|
/* CLASS */
|
|
7319
7319
|
)) : T("v-if", !0),
|
|
7320
7320
|
T(" Single label "),
|
|
7321
|
-
a.mode == "single" && t.hasSelected && !t.search && t.iv ?
|
|
7321
|
+
a.mode == "single" && t.hasSelected && !t.search && t.iv ? te(t.$slots, "singlelabel", {
|
|
7322
7322
|
key: 2,
|
|
7323
7323
|
value: t.iv
|
|
7324
7324
|
}, () => [
|
|
@@ -7343,7 +7343,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7343
7343
|
)
|
|
7344
7344
|
]) : T("v-if", !0),
|
|
7345
7345
|
T(" Multiple label "),
|
|
7346
|
-
a.mode == "multiple" && t.hasSelected && !t.search ?
|
|
7346
|
+
a.mode == "multiple" && t.hasSelected && !t.search ? te(t.$slots, "multiplelabel", {
|
|
7347
7347
|
key: 3,
|
|
7348
7348
|
values: t.iv
|
|
7349
7349
|
}, () => [
|
|
@@ -7353,7 +7353,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7353
7353
|
}, null, 10, c9)
|
|
7354
7354
|
]) : T("v-if", !0),
|
|
7355
7355
|
T(" Placeholder "),
|
|
7356
|
-
a.placeholder && !t.hasSelected && !t.search ?
|
|
7356
|
+
a.placeholder && !t.hasSelected && !t.search ? te(t.$slots, "placeholder", { key: 4 }, () => [
|
|
7357
7357
|
p(
|
|
7358
7358
|
"div",
|
|
7359
7359
|
{
|
|
@@ -7366,7 +7366,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7366
7366
|
)
|
|
7367
7367
|
]) : T("v-if", !0),
|
|
7368
7368
|
T(" Spinner "),
|
|
7369
|
-
a.loading || t.resolving ?
|
|
7369
|
+
a.loading || t.resolving ? te(t.$slots, "spinner", { key: 5 }, () => [
|
|
7370
7370
|
p(
|
|
7371
7371
|
"span",
|
|
7372
7372
|
{
|
|
@@ -7379,7 +7379,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7379
7379
|
)
|
|
7380
7380
|
]) : T("v-if", !0),
|
|
7381
7381
|
T(" Clear "),
|
|
7382
|
-
t.hasSelected && !a.disabled && a.canClear && !t.busy ?
|
|
7382
|
+
t.hasSelected && !a.disabled && a.canClear && !t.busy ? te(t.$slots, "clear", {
|
|
7383
7383
|
key: 6,
|
|
7384
7384
|
clear: t.clear
|
|
7385
7385
|
}, () => [
|
|
@@ -7411,7 +7411,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7411
7411
|
)
|
|
7412
7412
|
]) : T("v-if", !0),
|
|
7413
7413
|
T(" Caret "),
|
|
7414
|
-
a.caret && a.showOptions ?
|
|
7414
|
+
a.caret && a.showOptions ? te(t.$slots, "caret", {
|
|
7415
7415
|
key: 7,
|
|
7416
7416
|
handleCaretClick: t.handleCaretClick,
|
|
7417
7417
|
isOpen: t.isOpen
|
|
@@ -7440,7 +7440,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7440
7440
|
tabindex: "-1",
|
|
7441
7441
|
ref: "dropdown"
|
|
7442
7442
|
}, [
|
|
7443
|
-
|
|
7443
|
+
te(t.$slots, "beforelist", { options: t.fo }),
|
|
7444
7444
|
p("ul", {
|
|
7445
7445
|
class: Y(t.classList.options),
|
|
7446
7446
|
id: t.ariaControls,
|
|
@@ -7464,7 +7464,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7464
7464
|
onMouseenter: (u) => t.setPointer(i, r),
|
|
7465
7465
|
onMousedown: me((u) => t.handleGroupClick(i), ["prevent"])
|
|
7466
7466
|
}, [
|
|
7467
|
-
|
|
7467
|
+
te(t.$slots, "grouplabel", {
|
|
7468
7468
|
group: i,
|
|
7469
7469
|
isSelected: t.isSelected,
|
|
7470
7470
|
isPointed: t.isPointed
|
|
@@ -7494,7 +7494,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7494
7494
|
"aria-label": t.ariaOptionLabel(t.localize(u[a.label])),
|
|
7495
7495
|
role: "option"
|
|
7496
7496
|
}, [
|
|
7497
|
-
|
|
7497
|
+
te(t.$slots, "option", {
|
|
7498
7498
|
option: u,
|
|
7499
7499
|
isSelected: t.isSelected,
|
|
7500
7500
|
isPointed: t.isPointed,
|
|
@@ -7531,7 +7531,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7531
7531
|
"aria-label": t.ariaOptionLabel(t.localize(i[a.label])),
|
|
7532
7532
|
role: "option"
|
|
7533
7533
|
}, [
|
|
7534
|
-
|
|
7534
|
+
te(t.$slots, "option", {
|
|
7535
7535
|
option: i,
|
|
7536
7536
|
isSelected: t.isSelected,
|
|
7537
7537
|
isPointed: t.isPointed,
|
|
@@ -7550,13 +7550,13 @@ function A9(t, e, a, n, s, o) {
|
|
|
7550
7550
|
/* KEYED_FRAGMENT */
|
|
7551
7551
|
))
|
|
7552
7552
|
], 10, v9),
|
|
7553
|
-
t.noOptions ?
|
|
7553
|
+
t.noOptions ? te(t.$slots, "nooptions", { key: 0 }, () => [
|
|
7554
7554
|
p("div", {
|
|
7555
7555
|
class: Y(t.classList.noOptions),
|
|
7556
7556
|
innerHTML: t.localize(a.noOptionsText)
|
|
7557
7557
|
}, null, 10, y9)
|
|
7558
7558
|
]) : T("v-if", !0),
|
|
7559
|
-
t.noResults ?
|
|
7559
|
+
t.noResults ? te(t.$slots, "noresults", { key: 1 }, () => [
|
|
7560
7560
|
p("div", {
|
|
7561
7561
|
class: Y(t.classList.noResults),
|
|
7562
7562
|
innerHTML: t.localize(a.noResultsText)
|
|
@@ -7570,7 +7570,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7570
7570
|
ref: "infiniteLoader"
|
|
7571
7571
|
},
|
|
7572
7572
|
[
|
|
7573
|
-
|
|
7573
|
+
te(t.$slots, "infinite", {}, () => [
|
|
7574
7574
|
p(
|
|
7575
7575
|
"span",
|
|
7576
7576
|
{
|
|
@@ -7585,7 +7585,7 @@ function A9(t, e, a, n, s, o) {
|
|
|
7585
7585
|
2
|
|
7586
7586
|
/* CLASS */
|
|
7587
7587
|
)) : T("v-if", !0),
|
|
7588
|
-
|
|
7588
|
+
te(t.$slots, "afterlist", { options: t.fo })
|
|
7589
7589
|
], 10, f9)
|
|
7590
7590
|
], 8, ["to", "disabled"])),
|
|
7591
7591
|
T(" Hacky input element to show HTML5 required warning "),
|
|
@@ -7662,7 +7662,7 @@ const $e = /* @__PURE__ */ J({
|
|
|
7662
7662
|
ye(s.$slots, (i, r) => ({
|
|
7663
7663
|
name: r,
|
|
7664
7664
|
fn: q((l) => [
|
|
7665
|
-
|
|
7665
|
+
te(s.$slots, r, ua(da(l ?? {})))
|
|
7666
7666
|
])
|
|
7667
7667
|
}))
|
|
7668
7668
|
]), 1536));
|
|
@@ -7905,7 +7905,7 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
|
|
|
7905
7905
|
onDragover: me(r, ["prevent"]),
|
|
7906
7906
|
onDragleave: me(l, ["prevent"])
|
|
7907
7907
|
}, [
|
|
7908
|
-
|
|
7908
|
+
te(d.$slots, "default", {}, () => [
|
|
7909
7909
|
p("span", D9, X(d.$t("activity.attachment.placeholder.resting")), 1)
|
|
7910
7910
|
]),
|
|
7911
7911
|
d.attachments ? (v(), g("ul", P9, [
|
|
@@ -8189,19 +8189,19 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8189
8189
|
}, A4 = { class: "ao-fieldset__title" }, T4 = { class: "ao-activity-details__aside" }, S4 = {
|
|
8190
8190
|
key: 0,
|
|
8191
8191
|
class: "ao-activity-details__aside-section"
|
|
8192
|
-
}, E4 = { class: "ao-field" }, O4 = { class: "ao-field__label" }, I4 = { class: "ao-activity-details__aside-section" },
|
|
8192
|
+
}, E4 = { class: "ao-field" }, O4 = { class: "ao-field__label" }, I4 = { class: "ao-activity-details__aside" }, L4 = { class: "ao-activity-details__aside-section" }, V4 = { class: "ao-field" }, D4 = { class: "ao-field__label" }, P4 = { class: "ao-activity-details__aside-section" }, H4 = {
|
|
8193
8193
|
key: 0,
|
|
8194
8194
|
class: "ao-field__row"
|
|
8195
|
-
},
|
|
8195
|
+
}, B4 = { class: "ao-field" }, R4 = { class: "ao-field__label" }, N4 = ["readonly"], j4 = { class: "ao-activity-details__aside-section" }, U4 = {
|
|
8196
8196
|
key: 0,
|
|
8197
8197
|
class: "ao-field__row"
|
|
8198
|
-
},
|
|
8198
|
+
}, Z4 = { class: "ao-field ao-field--multiselect" }, F4 = { class: "ao-activity-details__aside-section" }, q4 = {
|
|
8199
8199
|
key: 1,
|
|
8200
8200
|
class: "ao-activity-details__aside-section"
|
|
8201
|
-
},
|
|
8201
|
+
}, W4 = { class: "ao-fieldset ao-activity-details__aside-section" }, z4 = { class: "ao-fieldset__title" }, Y4 = { class: "ao-fieldset__body" }, x4 = { class: "ao-field__row" }, G4 = { class: "ao-field ao-field--multiselect" }, K4 = { class: "ao-field__label" }, X4 = { class: "ao-field__row" }, Q4 = { class: "ao-field ao-field--multiselect" }, J4 = { class: "ao-field__label" }, ef = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
},
|
|
8204
|
+
}, tf = { class: "ao-activity__created-by" }, H1 = /* @__PURE__ */ J({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8355,12 +8355,12 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8355
8355
|
}))), U = k(() => {
|
|
8356
8356
|
var O, B, se;
|
|
8357
8357
|
const f = (se = (B = (O = a.activity) == null ? void 0 : O.project) == null ? void 0 : B.phases) == null ? void 0 : se.reduce(
|
|
8358
|
-
(
|
|
8358
|
+
(ae, ee) => [...ae, ...ee.milestones],
|
|
8359
8359
|
[]
|
|
8360
8360
|
);
|
|
8361
|
-
return f == null ? void 0 : f.map((
|
|
8362
|
-
value:
|
|
8363
|
-
label:
|
|
8361
|
+
return f == null ? void 0 : f.map((ae) => ({
|
|
8362
|
+
value: ae.id,
|
|
8363
|
+
label: ae.name
|
|
8364
8364
|
}));
|
|
8365
8365
|
}), z = (f) => {
|
|
8366
8366
|
a.activity && e("update:activity", {
|
|
@@ -8397,10 +8397,10 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8397
8397
|
return ((f = a.activity.createdBy) == null ? void 0 : f.firstName) && ((O = a.activity.createdBy) == null ? void 0 : O.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8398
8398
|
});
|
|
8399
8399
|
return (f, O) => (v(), R(k1, {
|
|
8400
|
-
onClose: O[
|
|
8400
|
+
onClose: O[10] || (O[10] = (B) => f.$emit("close"))
|
|
8401
8401
|
}, {
|
|
8402
8402
|
default: q(() => {
|
|
8403
|
-
var B, se,
|
|
8403
|
+
var B, se, ae;
|
|
8404
8404
|
return [
|
|
8405
8405
|
p("div", n4, [
|
|
8406
8406
|
p("div", s4, [
|
|
@@ -8436,7 +8436,7 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8436
8436
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8437
8437
|
])) : T("", !0)
|
|
8438
8438
|
]),
|
|
8439
|
-
|
|
8439
|
+
te(f.$slots, "header")
|
|
8440
8440
|
]),
|
|
8441
8441
|
p("div", f4, [
|
|
8442
8442
|
p("fieldset", v4, [
|
|
@@ -8451,7 +8451,7 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8451
8451
|
p("label", m4, [
|
|
8452
8452
|
p("span", h4, X(f.$t("activity.description.label")), 1),
|
|
8453
8453
|
rt(p("textarea", {
|
|
8454
|
-
"onUpdate:modelValue": O[0] || (O[0] = (
|
|
8454
|
+
"onUpdate:modelValue": O[0] || (O[0] = (ee) => s.value = ee),
|
|
8455
8455
|
readonly: !f.isEditable,
|
|
8456
8456
|
rows: "4",
|
|
8457
8457
|
class: "ao-field__textarea"
|
|
@@ -8475,7 +8475,7 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8475
8475
|
p("label", _4, [
|
|
8476
8476
|
p("span", y4, X(f.$t("activity.estimation.label")), 1),
|
|
8477
8477
|
rt(p("input", {
|
|
8478
|
-
"onUpdate:modelValue": O[1] || (O[1] = (
|
|
8478
|
+
"onUpdate:modelValue": O[1] || (O[1] = (ee) => o.value = ee),
|
|
8479
8479
|
readonly: !f.isEditable,
|
|
8480
8480
|
class: "ao-field__input ao-field__input--estim",
|
|
8481
8481
|
type: "number",
|
|
@@ -8537,13 +8537,19 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8537
8537
|
])
|
|
8538
8538
|
]),
|
|
8539
8539
|
p("div", T4, [
|
|
8540
|
+
p("div", null, [
|
|
8541
|
+
L(ce, {
|
|
8542
|
+
name: "CloseRounded",
|
|
8543
|
+
onClick: O[2] || (O[2] = (ee) => f.$emit("close"))
|
|
8544
|
+
})
|
|
8545
|
+
]),
|
|
8540
8546
|
W.value ? (v(), g("div", S4, [
|
|
8541
8547
|
p("label", E4, [
|
|
8542
8548
|
p("span", O4, X(f.$t("activity.status.label")), 1),
|
|
8543
8549
|
L($e, {
|
|
8544
8550
|
class: "ao-activity-details__multiselect",
|
|
8545
8551
|
options: W.value,
|
|
8546
|
-
value: (
|
|
8552
|
+
value: (ae = f.activity.status) == null ? void 0 : ae.id,
|
|
8547
8553
|
"can-clear": !1,
|
|
8548
8554
|
"can-deselect": !1,
|
|
8549
8555
|
disabled: !f.isEditable,
|
|
@@ -8554,44 +8560,47 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8554
8560
|
])) : T("", !0),
|
|
8555
8561
|
p("div", I4, [
|
|
8556
8562
|
p("div", L4, [
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8563
|
+
p("label", V4, [
|
|
8564
|
+
p("span", D4, X(f.$t("activity.assignee.label")), 1),
|
|
8565
|
+
L($e, {
|
|
8566
|
+
modelValue: A.value,
|
|
8567
|
+
"onUpdate:modelValue": O[3] || (O[3] = (ee) => A.value = ee),
|
|
8568
|
+
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8569
|
+
options: w.value,
|
|
8570
|
+
"close-on-select": !0,
|
|
8571
|
+
searchable: !0,
|
|
8572
|
+
max: 1,
|
|
8573
|
+
placeholder: f.$t("activity.filters.assignee.placeholder"),
|
|
8574
|
+
mode: "tags",
|
|
8575
|
+
disabled: !f.isEditable,
|
|
8576
|
+
caret: f.isEditable
|
|
8577
|
+
}, {
|
|
8578
|
+
tag: q(({
|
|
8579
|
+
option: ee,
|
|
8580
|
+
handleTagRemove: Ce
|
|
8581
|
+
}) => [
|
|
8582
|
+
L(Xe, {
|
|
8583
|
+
"user-name": ee.label,
|
|
8584
|
+
"avatar-url": ee.avatar,
|
|
8585
|
+
"is-closable": !0,
|
|
8586
|
+
onClose: (re) => Ce(ee, re)
|
|
8587
|
+
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
8588
|
+
]),
|
|
8589
|
+
_: 1
|
|
8590
|
+
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
8591
|
+
])
|
|
8583
8592
|
])
|
|
8584
8593
|
]),
|
|
8585
|
-
p("div",
|
|
8586
|
-
f.isTemplate !== !0 && f.userId ? (v(), g("div",
|
|
8587
|
-
p("label",
|
|
8588
|
-
p("span",
|
|
8594
|
+
p("div", P4, [
|
|
8595
|
+
f.isTemplate !== !0 && f.userId ? (v(), g("div", H4, [
|
|
8596
|
+
p("label", B4, [
|
|
8597
|
+
p("span", R4, X(f.$t("activity.deadline.label")), 1),
|
|
8589
8598
|
rt(p("input", {
|
|
8590
|
-
"onUpdate:modelValue": O[
|
|
8599
|
+
"onUpdate:modelValue": O[4] || (O[4] = (ee) => l.value = ee),
|
|
8591
8600
|
readonly: !f.isEditable,
|
|
8592
8601
|
class: "ao-field__input",
|
|
8593
8602
|
type: "date"
|
|
8594
|
-
}, null, 8,
|
|
8603
|
+
}, null, 8, N4), [
|
|
8595
8604
|
[
|
|
8596
8605
|
bt,
|
|
8597
8606
|
l.value,
|
|
@@ -8602,12 +8611,12 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8602
8611
|
])
|
|
8603
8612
|
])) : T("", !0)
|
|
8604
8613
|
]),
|
|
8605
|
-
p("div",
|
|
8606
|
-
u.value ? (v(), g("div",
|
|
8607
|
-
p("label",
|
|
8614
|
+
p("div", j4, [
|
|
8615
|
+
u.value ? (v(), g("div", U4, [
|
|
8616
|
+
p("label", Z4, [
|
|
8608
8617
|
L($e, {
|
|
8609
8618
|
modelValue: d.value,
|
|
8610
|
-
"onUpdate:modelValue": O[
|
|
8619
|
+
"onUpdate:modelValue": O[5] || (O[5] = (ee) => d.value = ee),
|
|
8611
8620
|
class: "ao-activity-details__multiselect",
|
|
8612
8621
|
mode: "single",
|
|
8613
8622
|
searchable: !0,
|
|
@@ -8618,12 +8627,12 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8618
8627
|
}, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
8619
8628
|
])
|
|
8620
8629
|
])) : T("", !0),
|
|
8621
|
-
|
|
8630
|
+
te(f.$slots, "default", { activity: f.activity })
|
|
8622
8631
|
]),
|
|
8623
|
-
p("div",
|
|
8632
|
+
p("div", F4, [
|
|
8624
8633
|
L(h1, {
|
|
8625
8634
|
modelValue: i.value,
|
|
8626
|
-
"onUpdate:modelValue": O[
|
|
8635
|
+
"onUpdate:modelValue": O[6] || (O[6] = (ee) => i.value = ee),
|
|
8627
8636
|
modelModifiers: { lazy: !0 },
|
|
8628
8637
|
label: f.$t("activity.important.label"),
|
|
8629
8638
|
disabled: !f.isEditable,
|
|
@@ -8635,10 +8644,10 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8635
8644
|
size: "sm"
|
|
8636
8645
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8637
8646
|
]),
|
|
8638
|
-
f.isTemplate !== !0 && f.activity.createdBy.id === f.userId ? (v(), g("div",
|
|
8647
|
+
f.isTemplate !== !0 && f.activity.createdBy.id === f.userId ? (v(), g("div", q4, [
|
|
8639
8648
|
L(h1, {
|
|
8640
8649
|
modelValue: r.value,
|
|
8641
|
-
"onUpdate:modelValue": O[
|
|
8650
|
+
"onUpdate:modelValue": O[7] || (O[7] = (ee) => r.value = ee),
|
|
8642
8651
|
modelModifiers: { lazy: !0 },
|
|
8643
8652
|
label: f.$t("activity.private.label"),
|
|
8644
8653
|
disabled: !f.isEditable,
|
|
@@ -8649,21 +8658,21 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8649
8658
|
size: "sm"
|
|
8650
8659
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8651
8660
|
])) : T("", !0),
|
|
8652
|
-
p("fieldset",
|
|
8653
|
-
p("div",
|
|
8661
|
+
p("fieldset", W4, [
|
|
8662
|
+
p("div", z4, [
|
|
8654
8663
|
L(ce, { name: "FlowsheetOutlineRounded" }),
|
|
8655
8664
|
L(_e, {
|
|
8656
8665
|
level: 4,
|
|
8657
8666
|
title: f.$t("activity.dependencies.title")
|
|
8658
8667
|
}, null, 8, ["title"])
|
|
8659
8668
|
]),
|
|
8660
|
-
p("div",
|
|
8661
|
-
p("div",
|
|
8662
|
-
p("label",
|
|
8663
|
-
p("span",
|
|
8669
|
+
p("div", Y4, [
|
|
8670
|
+
p("div", x4, [
|
|
8671
|
+
p("label", G4, [
|
|
8672
|
+
p("span", K4, X(f.$t("activity.dependingOn.label")), 1),
|
|
8664
8673
|
L($e, {
|
|
8665
8674
|
modelValue: m.value,
|
|
8666
|
-
"onUpdate:modelValue": O[
|
|
8675
|
+
"onUpdate:modelValue": O[8] || (O[8] = (ee) => m.value = ee),
|
|
8667
8676
|
class: "ao-activity-details__multiselect",
|
|
8668
8677
|
mode: "tags",
|
|
8669
8678
|
"close-on-select": !1,
|
|
@@ -8674,12 +8683,12 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8674
8683
|
}, null, 8, ["modelValue", "options", "disabled", "caret"])
|
|
8675
8684
|
])
|
|
8676
8685
|
]),
|
|
8677
|
-
p("div",
|
|
8678
|
-
p("label",
|
|
8679
|
-
p("span",
|
|
8686
|
+
p("div", X4, [
|
|
8687
|
+
p("label", Q4, [
|
|
8688
|
+
p("span", J4, X(f.$t("activity.blocking.label")), 1),
|
|
8680
8689
|
L($e, {
|
|
8681
8690
|
modelValue: $.value,
|
|
8682
|
-
"onUpdate:modelValue": O[
|
|
8691
|
+
"onUpdate:modelValue": O[9] || (O[9] = (ee) => $.value = ee),
|
|
8683
8692
|
class: "ao-activity-details__multiselect",
|
|
8684
8693
|
mode: "tags",
|
|
8685
8694
|
"close-on-select": !1,
|
|
@@ -8692,8 +8701,8 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8692
8701
|
])
|
|
8693
8702
|
])
|
|
8694
8703
|
]),
|
|
8695
|
-
f.isTemplate !== !0 && x.value ? (v(), g("div",
|
|
8696
|
-
p("div",
|
|
8704
|
+
f.isTemplate !== !0 && x.value ? (v(), g("div", ef, [
|
|
8705
|
+
p("div", tf, [
|
|
8697
8706
|
L(Xe, {
|
|
8698
8707
|
"user-name": x.value,
|
|
8699
8708
|
color: "black"
|
|
@@ -8709,7 +8718,7 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8709
8718
|
}));
|
|
8710
8719
|
}
|
|
8711
8720
|
});
|
|
8712
|
-
const
|
|
8721
|
+
const af = /* @__PURE__ */ J({
|
|
8713
8722
|
__name: "AoRuleLine",
|
|
8714
8723
|
props: {
|
|
8715
8724
|
rule: {},
|
|
@@ -8833,7 +8842,7 @@ const ef = /* @__PURE__ */ J({
|
|
|
8833
8842
|
}));
|
|
8834
8843
|
}
|
|
8835
8844
|
});
|
|
8836
|
-
const
|
|
8845
|
+
const nf = { class: "ao-template-rules__body" }, sf = { class: "ao-template-rules__list" }, of = /* @__PURE__ */ J({
|
|
8837
8846
|
__name: "AoTemplateRules",
|
|
8838
8847
|
props: {
|
|
8839
8848
|
templateId: {},
|
|
@@ -8857,9 +8866,9 @@ const tf = { class: "ao-template-rules__body" }, af = { class: "ao-template-rule
|
|
|
8857
8866
|
}, null, 8, ["title"])
|
|
8858
8867
|
]),
|
|
8859
8868
|
default: q(() => [
|
|
8860
|
-
p("div",
|
|
8861
|
-
p("ul",
|
|
8862
|
-
(v(!0), g(he, null, ye(s.rules, (i) => (v(), R(
|
|
8869
|
+
p("div", nf, [
|
|
8870
|
+
p("ul", sf, [
|
|
8871
|
+
(v(!0), g(he, null, ye(s.rules, (i) => (v(), R(af, {
|
|
8863
8872
|
key: i.id,
|
|
8864
8873
|
rule: i,
|
|
8865
8874
|
"template-phases": s.templatePhases,
|
|
@@ -8887,10 +8896,10 @@ function Pt(t, e, a) {
|
|
|
8887
8896
|
rank: o.format()
|
|
8888
8897
|
};
|
|
8889
8898
|
}
|
|
8890
|
-
const
|
|
8899
|
+
const rf = {
|
|
8891
8900
|
key: 0,
|
|
8892
8901
|
class: "ao-template-details"
|
|
8893
|
-
},
|
|
8902
|
+
}, lf = { class: "ao-template-details__body" }, uf = { class: "ao-template-details__cols" }, df = { class: "ao-template-details__col" }, cf = { class: "ao-list__footer" }, ff = { class: "ao-template-details__col" }, vf = { class: "ao-template-details__col" }, pf = /* @__PURE__ */ J({
|
|
8894
8903
|
__name: "AoTemplateDetails",
|
|
8895
8904
|
props: {
|
|
8896
8905
|
templateId: {},
|
|
@@ -8952,17 +8961,17 @@ const sf = {
|
|
|
8952
8961
|
const l = k(() => {
|
|
8953
8962
|
var f, O;
|
|
8954
8963
|
return ((O = (f = s.value) == null ? void 0 : f.phases) == null ? void 0 : O.reduce((B, se) => {
|
|
8955
|
-
const
|
|
8956
|
-
return [...B, ...
|
|
8964
|
+
const ae = se.milestones || [];
|
|
8965
|
+
return [...B, ...ae];
|
|
8957
8966
|
}, [])) || [];
|
|
8958
8967
|
}), u = k(() => {
|
|
8959
8968
|
var f, O;
|
|
8960
8969
|
return ((O = (f = s.value) == null ? void 0 : f.phases) == null ? void 0 : O.reduce((B, se) => {
|
|
8961
|
-
const
|
|
8970
|
+
const ee = (se.milestones || []).reduce(
|
|
8962
8971
|
(Ce, re) => re.activities ? [...Ce, ...re.activities] : Ce,
|
|
8963
8972
|
[]
|
|
8964
8973
|
);
|
|
8965
|
-
return [...B, ...
|
|
8974
|
+
return [...B, ...ee];
|
|
8966
8975
|
}, [])) || [];
|
|
8967
8976
|
}), d = k(() => {
|
|
8968
8977
|
var f, O;
|
|
@@ -9131,8 +9140,8 @@ const sf = {
|
|
|
9131
9140
|
e("removeFile", f);
|
|
9132
9141
|
};
|
|
9133
9142
|
return (f, O) => {
|
|
9134
|
-
var B, se,
|
|
9135
|
-
return s.value ? (v(), g("div",
|
|
9143
|
+
var B, se, ae, ee, Ce, re;
|
|
9144
|
+
return s.value ? (v(), g("div", rf, [
|
|
9136
9145
|
L(Wa, {
|
|
9137
9146
|
"can-go-back": !0,
|
|
9138
9147
|
onGoBack: O[1] || (O[1] = (G) => f.$router.push({ name: Q(Lt).TEMPLATES_LIST }))
|
|
@@ -9149,9 +9158,9 @@ const sf = {
|
|
|
9149
9158
|
]),
|
|
9150
9159
|
_: 1
|
|
9151
9160
|
}),
|
|
9152
|
-
p("div",
|
|
9153
|
-
p("ol",
|
|
9154
|
-
p("li",
|
|
9161
|
+
p("div", lf, [
|
|
9162
|
+
p("ol", uf, [
|
|
9163
|
+
p("li", df, [
|
|
9155
9164
|
L(Q(pt), {
|
|
9156
9165
|
"model-value": s.value.phases,
|
|
9157
9166
|
class: "ao-templates__list",
|
|
@@ -9186,7 +9195,7 @@ const sf = {
|
|
|
9186
9195
|
];
|
|
9187
9196
|
}),
|
|
9188
9197
|
footer: q(() => [
|
|
9189
|
-
p("div",
|
|
9198
|
+
p("div", cf, [
|
|
9190
9199
|
L(mt, {
|
|
9191
9200
|
"icon-name": "AddBoxOutlineRounded",
|
|
9192
9201
|
label: f.$t("template.phases.add"),
|
|
@@ -9197,7 +9206,7 @@ const sf = {
|
|
|
9197
9206
|
_: 1
|
|
9198
9207
|
}, 8, ["model-value"])
|
|
9199
9208
|
]),
|
|
9200
|
-
p("li",
|
|
9209
|
+
p("li", ff, [
|
|
9201
9210
|
i.value ? (v(), R(J3, {
|
|
9202
9211
|
key: 0,
|
|
9203
9212
|
"template-id": f.templateId,
|
|
@@ -9209,13 +9218,13 @@ const sf = {
|
|
|
9209
9218
|
onRemoveMilestone: M
|
|
9210
9219
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
|
|
9211
9220
|
]),
|
|
9212
|
-
p("li",
|
|
9221
|
+
p("li", vf, [
|
|
9213
9222
|
i.value && r.value ? (v(), R(a5, {
|
|
9214
9223
|
key: 0,
|
|
9215
9224
|
"template-id": f.templateId,
|
|
9216
9225
|
"phase-id": (se = i.value) == null ? void 0 : se.id,
|
|
9217
9226
|
milestone: r.value,
|
|
9218
|
-
"activity-id": (
|
|
9227
|
+
"activity-id": (ae = d.value) == null ? void 0 : ae.id,
|
|
9219
9228
|
onAddActivity: A,
|
|
9220
9229
|
onUpdateActivity: I,
|
|
9221
9230
|
onRemoveActivity: V
|
|
@@ -9228,7 +9237,7 @@ const sf = {
|
|
|
9228
9237
|
key: 0,
|
|
9229
9238
|
activity: d.value,
|
|
9230
9239
|
"activity-types": f.activityTypes,
|
|
9231
|
-
breadcrumbs: `${s.value.name} / ${(
|
|
9240
|
+
breadcrumbs: `${s.value.name} / ${(ee = i.value) == null ? void 0 : ee.name} / ${(Ce = r.value) == null ? void 0 : Ce.name}`,
|
|
9232
9241
|
"milestone-id": (re = r.value) == null ? void 0 : re.id,
|
|
9233
9242
|
"template-activities": u.value,
|
|
9234
9243
|
"template-milestones": l.value,
|
|
@@ -9247,13 +9256,13 @@ const sf = {
|
|
|
9247
9256
|
onRemoveFile: x
|
|
9248
9257
|
}, {
|
|
9249
9258
|
default: q((G) => [
|
|
9250
|
-
|
|
9259
|
+
te(f.$slots, "activityDetailsBody", ua(da(G)))
|
|
9251
9260
|
]),
|
|
9252
9261
|
_: 3
|
|
9253
9262
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
9254
9263
|
])),
|
|
9255
9264
|
(v(), R(Ht, { to: "body" }, [
|
|
9256
|
-
Z.value ? (v(), R(
|
|
9265
|
+
Z.value ? (v(), R(of, {
|
|
9257
9266
|
key: 0,
|
|
9258
9267
|
"template-id": s.value.id,
|
|
9259
9268
|
rules: s.value.rules || [],
|
|
@@ -9269,10 +9278,10 @@ const sf = {
|
|
|
9269
9278
|
};
|
|
9270
9279
|
}
|
|
9271
9280
|
});
|
|
9272
|
-
const
|
|
9281
|
+
const mf = {
|
|
9273
9282
|
key: 0,
|
|
9274
9283
|
class: "ao-card__header"
|
|
9275
|
-
},
|
|
9284
|
+
}, hf = { class: "ao-card__body" }, Cf = {
|
|
9276
9285
|
key: 1,
|
|
9277
9286
|
class: "ao-card__footer"
|
|
9278
9287
|
}, B1 = /* @__PURE__ */ J({
|
|
@@ -9293,14 +9302,14 @@ const vf = {
|
|
|
9293
9302
|
])
|
|
9294
9303
|
}, {
|
|
9295
9304
|
default: q(() => [
|
|
9296
|
-
e.$slots.header ? (v(), g("header",
|
|
9297
|
-
|
|
9305
|
+
e.$slots.header ? (v(), g("header", mf, [
|
|
9306
|
+
te(e.$slots, "header")
|
|
9298
9307
|
])) : T("", !0),
|
|
9299
|
-
p("div",
|
|
9300
|
-
|
|
9308
|
+
p("div", hf, [
|
|
9309
|
+
te(e.$slots, "default")
|
|
9301
9310
|
]),
|
|
9302
|
-
e.$slots.footer ? (v(), g("footer",
|
|
9303
|
-
|
|
9311
|
+
e.$slots.footer ? (v(), g("footer", Cf, [
|
|
9312
|
+
te(e.$slots, "footer")
|
|
9304
9313
|
])) : T("", !0)
|
|
9305
9314
|
]),
|
|
9306
9315
|
_: 3
|
|
@@ -9327,13 +9336,13 @@ const R1 = /* @__PURE__ */ J({
|
|
|
9327
9336
|
], 2));
|
|
9328
9337
|
}
|
|
9329
9338
|
});
|
|
9330
|
-
const
|
|
9339
|
+
const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-project-phase__footer" }, yf = {
|
|
9331
9340
|
key: 0,
|
|
9332
9341
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9333
|
-
},
|
|
9342
|
+
}, bf = { class: "ao-card-project-phase__subitem" }, wf = { class: "ao-card-project-phase__subitem" }, $f = {
|
|
9334
9343
|
key: 0,
|
|
9335
9344
|
class: "ao-card-project-phase__secondary"
|
|
9336
|
-
},
|
|
9345
|
+
}, kf = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Mf = /* @__PURE__ */ J({
|
|
9337
9346
|
__name: "AoCardProjectItemPhase",
|
|
9338
9347
|
props: {
|
|
9339
9348
|
id: {},
|
|
@@ -9372,21 +9381,21 @@ const hf = { class: "ao-card-project-phase__header" }, Cf = { class: "ao-card-pr
|
|
|
9372
9381
|
}, null, 8, ["id", "title", "is-editable"])
|
|
9373
9382
|
]),
|
|
9374
9383
|
footer: q(() => [
|
|
9375
|
-
p("div",
|
|
9376
|
-
s.value ? (v(), g("div",
|
|
9377
|
-
p("div",
|
|
9384
|
+
p("div", _f, [
|
|
9385
|
+
s.value ? (v(), g("div", yf, [
|
|
9386
|
+
p("div", bf, [
|
|
9378
9387
|
L(ce, {
|
|
9379
9388
|
name: "MountainFlagOutlineRounded",
|
|
9380
9389
|
size: "sm"
|
|
9381
9390
|
}),
|
|
9382
|
-
p("span",
|
|
9391
|
+
p("span", wf, X(o.value) + " / " + X(s.value), 1)
|
|
9383
9392
|
]),
|
|
9384
9393
|
L(R1, {
|
|
9385
9394
|
percentages: i.value,
|
|
9386
9395
|
class: "ao-card-project-phase__progress"
|
|
9387
9396
|
}, null, 8, ["percentages"]),
|
|
9388
|
-
l.$slots.secondary ? (v(), g("div",
|
|
9389
|
-
|
|
9397
|
+
l.$slots.secondary ? (v(), g("div", $f, [
|
|
9398
|
+
te(l.$slots, "secondary")
|
|
9390
9399
|
])) : T("", !0)
|
|
9391
9400
|
])) : T("", !0),
|
|
9392
9401
|
p("div", {
|
|
@@ -9405,7 +9414,7 @@ const hf = { class: "ao-card-project-phase__header" }, Cf = { class: "ao-card-pr
|
|
|
9405
9414
|
{ lazy: !0 }
|
|
9406
9415
|
]
|
|
9407
9416
|
]) : T("", !0),
|
|
9408
|
-
p("span",
|
|
9417
|
+
p("span", kf, X(Q(b1)(l.deadline)), 1)
|
|
9409
9418
|
], 2)
|
|
9410
9419
|
])
|
|
9411
9420
|
]),
|
|
@@ -9414,7 +9423,7 @@ const hf = { class: "ao-card-project-phase__header" }, Cf = { class: "ao-card-pr
|
|
|
9414
9423
|
l.isEditable ? {
|
|
9415
9424
|
name: "header",
|
|
9416
9425
|
fn: q(() => [
|
|
9417
|
-
p("div",
|
|
9426
|
+
p("div", gf, [
|
|
9418
9427
|
L(ue, {
|
|
9419
9428
|
class: "ao-card-project-phase__archive",
|
|
9420
9429
|
color: "primary",
|
|
@@ -9433,19 +9442,19 @@ const hf = { class: "ao-card-project-phase__header" }, Cf = { class: "ao-card-pr
|
|
|
9433
9442
|
]), 1032, ["is-clickable"]));
|
|
9434
9443
|
}
|
|
9435
9444
|
});
|
|
9436
|
-
const
|
|
9445
|
+
const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
9437
9446
|
key: 0,
|
|
9438
9447
|
class: "ao-card-project-milestone__archive"
|
|
9439
|
-
},
|
|
9448
|
+
}, Sf = { class: "ao-card-project-milestone__activities" }, Ef = { class: "ao-card-project-milestone__activities-row" }, Of = { class: "ao-card-project-milestone__subitem" }, If = { class: "ao-card-project-milestone__subitem" }, Lf = {
|
|
9440
9449
|
key: 1,
|
|
9441
9450
|
class: "ao-card-project-milestone__secondary"
|
|
9442
|
-
},
|
|
9451
|
+
}, Vf = { class: "ao-card-project-milestone__footer" }, Df = {
|
|
9443
9452
|
key: 1,
|
|
9444
9453
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9445
|
-
},
|
|
9454
|
+
}, Pf = { class: "ao-field__label" }, Hf = {
|
|
9446
9455
|
key: 2,
|
|
9447
9456
|
class: "ao-card-project-milestone__assignee"
|
|
9448
|
-
},
|
|
9457
|
+
}, Bf = /* @__PURE__ */ J({
|
|
9449
9458
|
__name: "AoCardProjectItemMilestone",
|
|
9450
9459
|
props: {
|
|
9451
9460
|
id: {},
|
|
@@ -9482,7 +9491,7 @@ const kf = { class: "ao-card-project-milestone__default" }, Mf = {
|
|
|
9482
9491
|
"is-selected": r.isSelected
|
|
9483
9492
|
}, {
|
|
9484
9493
|
default: q(() => [
|
|
9485
|
-
p("div",
|
|
9494
|
+
p("div", Af, [
|
|
9486
9495
|
L(_e, {
|
|
9487
9496
|
id: r.id,
|
|
9488
9497
|
title: r.name || "",
|
|
@@ -9491,7 +9500,7 @@ const kf = { class: "ao-card-project-milestone__default" }, Mf = {
|
|
|
9491
9500
|
class: "ao-card-project-milestone__title",
|
|
9492
9501
|
"onUpdate:title": i
|
|
9493
9502
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9494
|
-
!r.readonly && r.isEditable ? (v(), g("div",
|
|
9503
|
+
!r.readonly && r.isEditable ? (v(), g("div", Tf, [
|
|
9495
9504
|
L(ue, {
|
|
9496
9505
|
color: r.isSelected ? void 0 : "primary",
|
|
9497
9506
|
variant: "ghost",
|
|
@@ -9504,29 +9513,29 @@ const kf = { class: "ao-card-project-milestone__default" }, Mf = {
|
|
|
9504
9513
|
}, null, 8, ["color", "label"])
|
|
9505
9514
|
])) : T("", !0)
|
|
9506
9515
|
]),
|
|
9507
|
-
p("div",
|
|
9508
|
-
p("div",
|
|
9516
|
+
p("div", Sf, [
|
|
9517
|
+
p("div", Ef, [
|
|
9509
9518
|
n.value ? (v(), g(he, { key: 0 }, [
|
|
9510
|
-
p("div",
|
|
9519
|
+
p("div", Of, [
|
|
9511
9520
|
L(ce, {
|
|
9512
9521
|
name: "SelectCheckBox",
|
|
9513
9522
|
size: "sm"
|
|
9514
9523
|
}),
|
|
9515
|
-
p("span",
|
|
9524
|
+
p("span", If, X(s.value) + " / " + X(n.value), 1)
|
|
9516
9525
|
]),
|
|
9517
9526
|
L(R1, {
|
|
9518
9527
|
percentages: o.value,
|
|
9519
9528
|
class: "ao-card-project-milestone__progress"
|
|
9520
9529
|
}, null, 8, ["percentages"])
|
|
9521
9530
|
], 64)) : T("", !0),
|
|
9522
|
-
r.$slots.secondary ? (v(), g("div",
|
|
9523
|
-
|
|
9531
|
+
r.$slots.secondary ? (v(), g("div", Lf, [
|
|
9532
|
+
te(r.$slots, "secondary")
|
|
9524
9533
|
])) : T("", !0)
|
|
9525
9534
|
])
|
|
9526
9535
|
])
|
|
9527
9536
|
]),
|
|
9528
9537
|
footer: q(() => [
|
|
9529
|
-
p("div",
|
|
9538
|
+
p("div", Vf, [
|
|
9530
9539
|
r.important ? (v(), R(ce, {
|
|
9531
9540
|
key: 0,
|
|
9532
9541
|
name: "FlagRounded",
|
|
@@ -9535,10 +9544,10 @@ const kf = { class: "ao-card-project-milestone__default" }, Mf = {
|
|
|
9535
9544
|
),
|
|
9536
9545
|
size: "sm"
|
|
9537
9546
|
}, null, 8, ["class"])) : T("", !0),
|
|
9538
|
-
r.deadline ? (v(), g("label",
|
|
9539
|
-
p("span",
|
|
9547
|
+
r.deadline ? (v(), g("label", Df, [
|
|
9548
|
+
p("span", Pf, X(Q(b1)(r.deadline)), 1)
|
|
9540
9549
|
])) : T("", !0),
|
|
9541
|
-
r.assignee ? (v(), g("div",
|
|
9550
|
+
r.assignee ? (v(), g("div", Hf, [
|
|
9542
9551
|
L(Xe, {
|
|
9543
9552
|
"user-name": Q(Vn)(r.assignee),
|
|
9544
9553
|
"avatar-url": r.assignee.avatarUrl,
|
|
@@ -9552,10 +9561,10 @@ const kf = { class: "ao-card-project-milestone__default" }, Mf = {
|
|
|
9552
9561
|
}, 8, ["class", "is-clickable", "is-selected"]));
|
|
9553
9562
|
}
|
|
9554
9563
|
});
|
|
9555
|
-
const
|
|
9564
|
+
const Rf = {
|
|
9556
9565
|
key: 0,
|
|
9557
9566
|
class: "ao-project-phase__drag ao-card__drag"
|
|
9558
|
-
},
|
|
9567
|
+
}, Nf = { class: "ao-project-phase__col-phase" }, jf = { class: "ao-project-phase__col-milestones" }, Uf = { class: "ao-project-phase__milestones" }, Zf = { class: "ao-project-phase__milestones-list-footer" }, Ff = /* @__PURE__ */ J({
|
|
9559
9568
|
__name: "AoProjectPhase",
|
|
9560
9569
|
props: {
|
|
9561
9570
|
phase: {},
|
|
@@ -9608,14 +9617,14 @@ const Hf = {
|
|
|
9608
9617
|
{ "ao-project-phase--selected": m.phase.id === (($ = m.$route.params) == null ? void 0 : $.phaseId) }
|
|
9609
9618
|
])
|
|
9610
9619
|
}, [
|
|
9611
|
-
m.isEditable ? (v(), g("div",
|
|
9620
|
+
m.isEditable ? (v(), g("div", Rf, [
|
|
9612
9621
|
L(ce, {
|
|
9613
9622
|
name: "DragIndicator",
|
|
9614
9623
|
class: "ao-project-phase__drag-handle"
|
|
9615
9624
|
})
|
|
9616
9625
|
])) : T("", !0),
|
|
9617
|
-
p("div",
|
|
9618
|
-
L(
|
|
9626
|
+
p("div", Nf, [
|
|
9627
|
+
L(Mf, {
|
|
9619
9628
|
id: m.phase.id,
|
|
9620
9629
|
milestones: i.value,
|
|
9621
9630
|
name: m.phase.name,
|
|
@@ -9626,8 +9635,8 @@ const Hf = {
|
|
|
9626
9635
|
onArchivePhase: d
|
|
9627
9636
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
9628
9637
|
]),
|
|
9629
|
-
p("div",
|
|
9630
|
-
p("div",
|
|
9638
|
+
p("div", jf, [
|
|
9639
|
+
p("div", Uf, [
|
|
9631
9640
|
L(Q(pt), Ve({
|
|
9632
9641
|
class: "ao-project-phase__milestones-list",
|
|
9633
9642
|
list: i.value,
|
|
@@ -9638,7 +9647,7 @@ const Hf = {
|
|
|
9638
9647
|
item: q(({ element: _ }) => {
|
|
9639
9648
|
var y;
|
|
9640
9649
|
return [
|
|
9641
|
-
L(
|
|
9650
|
+
L(Bf, {
|
|
9642
9651
|
id: _.id,
|
|
9643
9652
|
name: _.name,
|
|
9644
9653
|
activities: _.activities,
|
|
@@ -9662,7 +9671,7 @@ const Hf = {
|
|
|
9662
9671
|
}),
|
|
9663
9672
|
_: 1
|
|
9664
9673
|
}, 16, ["list", "disabled"]),
|
|
9665
|
-
p("div",
|
|
9674
|
+
p("div", Zf, [
|
|
9666
9675
|
m.isEditable ? (v(), R(mt, {
|
|
9667
9676
|
key: 0,
|
|
9668
9677
|
label: m.$t("project.milestone.add"),
|
|
@@ -9677,10 +9686,10 @@ const Hf = {
|
|
|
9677
9686
|
};
|
|
9678
9687
|
}
|
|
9679
9688
|
});
|
|
9680
|
-
const
|
|
9689
|
+
const qf = { class: "ao-project__phases" }, Wf = {
|
|
9681
9690
|
key: 0,
|
|
9682
9691
|
class: "ao-project-phase__phases-list-footer"
|
|
9683
|
-
},
|
|
9692
|
+
}, zf = /* @__PURE__ */ p("div", { class: "ao-project-phase__empty_drag" }, null, -1), Yf = { class: "ao-project-phase__col-phase" }, xf = /* @__PURE__ */ p("div", { class: "ao-project-phase__col-milestones" }, null, -1), Gf = /* @__PURE__ */ J({
|
|
9684
9693
|
__name: "AoProjectPhases",
|
|
9685
9694
|
props: {
|
|
9686
9695
|
phases: {},
|
|
@@ -9716,7 +9725,7 @@ const Zf = { class: "ao-project__phases" }, Ff = {
|
|
|
9716
9725
|
}, u = (d) => {
|
|
9717
9726
|
e("addPhase", d);
|
|
9718
9727
|
};
|
|
9719
|
-
return (d, c) => (v(), g("div",
|
|
9728
|
+
return (d, c) => (v(), g("div", qf, [
|
|
9720
9729
|
L(Q(pt), {
|
|
9721
9730
|
class: "ao-project-phase__phases-list",
|
|
9722
9731
|
"model-value": d.phases,
|
|
@@ -9725,7 +9734,7 @@ const Zf = { class: "ao-project__phases" }, Ff = {
|
|
|
9725
9734
|
onChange: r
|
|
9726
9735
|
}, {
|
|
9727
9736
|
item: q(({ element: m }) => [
|
|
9728
|
-
L(
|
|
9737
|
+
L(Ff, {
|
|
9729
9738
|
phase: m,
|
|
9730
9739
|
"is-editable": !d.readonly && d.isEditable,
|
|
9731
9740
|
"closed-status": d.closedStatus,
|
|
@@ -9740,9 +9749,9 @@ const Zf = { class: "ao-project__phases" }, Ff = {
|
|
|
9740
9749
|
]),
|
|
9741
9750
|
_: 1
|
|
9742
9751
|
}, 8, ["model-value"]),
|
|
9743
|
-
d.isEditable ? (v(), g("div",
|
|
9744
|
-
|
|
9745
|
-
p("div",
|
|
9752
|
+
d.isEditable ? (v(), g("div", Wf, [
|
|
9753
|
+
zf,
|
|
9754
|
+
p("div", Yf, [
|
|
9746
9755
|
L(mt, {
|
|
9747
9756
|
label: d.$t("project.phases.add"),
|
|
9748
9757
|
"icon-name": "Add",
|
|
@@ -9750,12 +9759,12 @@ const Zf = { class: "ao-project__phases" }, Ff = {
|
|
|
9750
9759
|
onClick: u
|
|
9751
9760
|
}, null, 8, ["label"])
|
|
9752
9761
|
]),
|
|
9753
|
-
|
|
9762
|
+
xf
|
|
9754
9763
|
])) : T("", !0)
|
|
9755
9764
|
]));
|
|
9756
9765
|
}
|
|
9757
9766
|
});
|
|
9758
|
-
const
|
|
9767
|
+
const Kf = ["onSubmit"], Xf = { class: "ao-add-template-modal__form-body" }, Qf = { class: "field__row" }, Jf = { class: "ao-add-template-modal__form-footer" }, e8 = /* @__PURE__ */ J({
|
|
9759
9768
|
__name: "AoAddTemplateModal",
|
|
9760
9769
|
props: {
|
|
9761
9770
|
projectId: {},
|
|
@@ -9783,8 +9792,8 @@ const xf = ["onSubmit"], Gf = { class: "ao-add-template-modal__form-body" }, Kf
|
|
|
9783
9792
|
class: "ao-add-template-modal__form",
|
|
9784
9793
|
onSubmit: me(i, ["prevent"])
|
|
9785
9794
|
}, [
|
|
9786
|
-
p("div",
|
|
9787
|
-
p("div",
|
|
9795
|
+
p("div", Xf, [
|
|
9796
|
+
p("div", Qf, [
|
|
9788
9797
|
L($e, {
|
|
9789
9798
|
value: s.value,
|
|
9790
9799
|
options: n.value,
|
|
@@ -9793,7 +9802,7 @@ const xf = ["onSubmit"], Gf = { class: "ao-add-template-modal__form-body" }, Kf
|
|
|
9793
9802
|
}, null, 8, ["value", "options"])
|
|
9794
9803
|
])
|
|
9795
9804
|
]),
|
|
9796
|
-
p("footer",
|
|
9805
|
+
p("footer", Jf, [
|
|
9797
9806
|
L(ue, {
|
|
9798
9807
|
label: r.$t("project.template.add.label"),
|
|
9799
9808
|
type: "submit",
|
|
@@ -9802,13 +9811,13 @@ const xf = ["onSubmit"], Gf = { class: "ao-add-template-modal__form-body" }, Kf
|
|
|
9802
9811
|
onClick: i
|
|
9803
9812
|
}, null, 8, ["label"])
|
|
9804
9813
|
])
|
|
9805
|
-
], 40,
|
|
9814
|
+
], 40, Kf)
|
|
9806
9815
|
]),
|
|
9807
9816
|
_: 1
|
|
9808
9817
|
}));
|
|
9809
9818
|
}
|
|
9810
9819
|
});
|
|
9811
|
-
const
|
|
9820
|
+
const t8 = J({
|
|
9812
9821
|
props: {
|
|
9813
9822
|
isLeft: {
|
|
9814
9823
|
type: Boolean,
|
|
@@ -9837,9 +9846,9 @@ const Jf = J({
|
|
|
9837
9846
|
}
|
|
9838
9847
|
}
|
|
9839
9848
|
});
|
|
9840
|
-
const
|
|
9841
|
-
function
|
|
9842
|
-
return v(), g("div",
|
|
9849
|
+
const a8 = { class: "toggle-wrapper" };
|
|
9850
|
+
function n8(t, e, a, n, s, o) {
|
|
9851
|
+
return v(), g("div", a8, [
|
|
9843
9852
|
p("button", {
|
|
9844
9853
|
class: Y({
|
|
9845
9854
|
button: !0,
|
|
@@ -9860,7 +9869,7 @@ function t8(t, e, a, n, s, o) {
|
|
|
9860
9869
|
}, X(t.rightLabel), 3)
|
|
9861
9870
|
]);
|
|
9862
9871
|
}
|
|
9863
|
-
const Xn = /* @__PURE__ */ j(
|
|
9872
|
+
const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527"]]), s8 = { class: "ao-project" }, i8 = { class: "ao-project__body" }, o8 = /* @__PURE__ */ J({
|
|
9864
9873
|
__name: "AoProjectOverviewProject",
|
|
9865
9874
|
props: {
|
|
9866
9875
|
project: {},
|
|
@@ -9925,7 +9934,7 @@ const Xn = /* @__PURE__ */ j(Jf, [["render", t8], ["__scopeId", "data-v-cbe33527
|
|
|
9925
9934
|
const H = ws("RouterView");
|
|
9926
9935
|
return v(), g(he, null, [
|
|
9927
9936
|
p("div", Ve({ class: "ao-project-overview" }, S.$attrs), [
|
|
9928
|
-
p("div",
|
|
9937
|
+
p("div", s8, [
|
|
9929
9938
|
L(Wa, null, {
|
|
9930
9939
|
primary: q(() => [
|
|
9931
9940
|
L(Xn, {
|
|
@@ -9960,8 +9969,8 @@ const Xn = /* @__PURE__ */ j(Jf, [["render", t8], ["__scopeId", "data-v-cbe33527
|
|
|
9960
9969
|
]),
|
|
9961
9970
|
_: 1
|
|
9962
9971
|
}),
|
|
9963
|
-
p("div",
|
|
9964
|
-
L(
|
|
9972
|
+
p("div", i8, [
|
|
9973
|
+
L(Gf, {
|
|
9965
9974
|
phases: S.phases,
|
|
9966
9975
|
"closed-status": S.closedStatus,
|
|
9967
9976
|
"is-editable": S.isEditable,
|
|
@@ -10014,7 +10023,7 @@ const Xn = /* @__PURE__ */ j(Jf, [["render", t8], ["__scopeId", "data-v-cbe33527
|
|
|
10014
10023
|
default: q(({ Component: F }) => [
|
|
10015
10024
|
(v(), R(vt(F), null, {
|
|
10016
10025
|
default: q((E) => [
|
|
10017
|
-
|
|
10026
|
+
te(S.$slots, "activityDetailsBody", ua(da(E)))
|
|
10018
10027
|
]),
|
|
10019
10028
|
_: 2
|
|
10020
10029
|
}, 1024))
|
|
@@ -10024,7 +10033,7 @@ const Xn = /* @__PURE__ */ j(Jf, [["render", t8], ["__scopeId", "data-v-cbe33527
|
|
|
10024
10033
|
]))
|
|
10025
10034
|
], 16),
|
|
10026
10035
|
(v(), R(Ht, { to: "body" }, [
|
|
10027
|
-
U.value ? (v(), R(
|
|
10036
|
+
U.value ? (v(), R(e8, {
|
|
10028
10037
|
key: 0,
|
|
10029
10038
|
"project-id": S.project.id,
|
|
10030
10039
|
templates: S.templates,
|
|
@@ -10036,36 +10045,36 @@ const Xn = /* @__PURE__ */ j(Jf, [["render", t8], ["__scopeId", "data-v-cbe33527
|
|
|
10036
10045
|
};
|
|
10037
10046
|
}
|
|
10038
10047
|
});
|
|
10039
|
-
const
|
|
10048
|
+
const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
10040
10049
|
key: 1,
|
|
10041
10050
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10042
|
-
},
|
|
10051
|
+
}, u8 = {
|
|
10043
10052
|
key: 2,
|
|
10044
10053
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10045
|
-
},
|
|
10054
|
+
}, d8 = { class: "ao-card-feed__body" }, c8 = {
|
|
10046
10055
|
key: 0,
|
|
10047
10056
|
class: "ao-card-feed__breadcrumbs"
|
|
10048
|
-
},
|
|
10057
|
+
}, f8 = {
|
|
10049
10058
|
class: /* @__PURE__ */ Y(["ao-card-feed__title-group"])
|
|
10050
|
-
},
|
|
10059
|
+
}, v8 = {
|
|
10051
10060
|
key: 1,
|
|
10052
10061
|
class: "ao-card-feed__deadline"
|
|
10053
|
-
},
|
|
10062
|
+
}, p8 = { class: "ao-card-feed__footer" }, m8 = { class: "ao-card-feed__footer-row" }, h8 = { class: "ao-assignees" }, C8 = {
|
|
10054
10063
|
key: 0,
|
|
10055
10064
|
class: "ao-assignee"
|
|
10056
|
-
},
|
|
10065
|
+
}, g8 = {
|
|
10057
10066
|
key: 0,
|
|
10058
10067
|
class: "ao-card-feed__subitems"
|
|
10059
|
-
},
|
|
10068
|
+
}, _8 = {
|
|
10060
10069
|
key: 0,
|
|
10061
10070
|
class: "ao-card-feed__subitem"
|
|
10062
|
-
},
|
|
10071
|
+
}, y8 = { class: "ao-card-feed__subitem" }, b8 = {
|
|
10063
10072
|
key: 1,
|
|
10064
10073
|
class: "ao-card-feed__subitem"
|
|
10065
|
-
},
|
|
10074
|
+
}, w8 = { class: "ao-card-feed__subitem" }, $8 = { class: "ao-card-feed__footer-row" }, k8 = {
|
|
10066
10075
|
key: 0,
|
|
10067
10076
|
class: "ao-card-feed__progress-wrapper"
|
|
10068
|
-
},
|
|
10077
|
+
}, M8 = { class: "ao-card-feed__subitem" }, A8 = { class: "ao-card-feed__subitem" }, Qn = /* @__PURE__ */ J({
|
|
10069
10078
|
__name: "AoCardFeed",
|
|
10070
10079
|
props: {
|
|
10071
10080
|
id: {},
|
|
@@ -10105,7 +10114,7 @@ const i8 = { class: "ao-card-feed__header" }, o8 = {
|
|
|
10105
10114
|
"is-clickable": !0
|
|
10106
10115
|
}, {
|
|
10107
10116
|
header: q(() => [
|
|
10108
|
-
p("div",
|
|
10117
|
+
p("div", r8, [
|
|
10109
10118
|
c.projectName ? (v(), R(_1, {
|
|
10110
10119
|
key: 0,
|
|
10111
10120
|
label: c.projectName,
|
|
@@ -10114,7 +10123,7 @@ const i8 = { class: "ao-card-feed__header" }, o8 = {
|
|
|
10114
10123
|
color: c.projectColor ? void 0 : "primary",
|
|
10115
10124
|
"raw-color": c.projectColor
|
|
10116
10125
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10117
|
-
c.isPrivate || c.important || c.isClosed ? (v(), g("div",
|
|
10126
|
+
c.isPrivate || c.important || c.isClosed ? (v(), g("div", l8, [
|
|
10118
10127
|
c.isPrivate ? (v(), R(ce, {
|
|
10119
10128
|
key: 0,
|
|
10120
10129
|
name: "Lock",
|
|
@@ -10133,15 +10142,15 @@ const i8 = { class: "ao-card-feed__header" }, o8 = {
|
|
|
10133
10142
|
class: "ao-card-feed__closed"
|
|
10134
10143
|
})) : T("", !0)
|
|
10135
10144
|
])) : T("", !0),
|
|
10136
|
-
c.$slots.secondary ? (v(), g("div",
|
|
10137
|
-
|
|
10145
|
+
c.$slots.secondary ? (v(), g("div", u8, [
|
|
10146
|
+
te(c.$slots, "secondary")
|
|
10138
10147
|
])) : T("", !0)
|
|
10139
10148
|
])
|
|
10140
10149
|
]),
|
|
10141
10150
|
default: q(() => [
|
|
10142
|
-
p("div",
|
|
10143
|
-
s.value ? (v(), g("span",
|
|
10144
|
-
p("div",
|
|
10151
|
+
p("div", d8, [
|
|
10152
|
+
s.value ? (v(), g("span", c8, X(s.value), 1)) : T("", !0),
|
|
10153
|
+
p("div", f8, [
|
|
10145
10154
|
L(_e, {
|
|
10146
10155
|
id: c.id,
|
|
10147
10156
|
title: c.name,
|
|
@@ -10150,17 +10159,17 @@ const i8 = { class: "ao-card-feed__header" }, o8 = {
|
|
|
10150
10159
|
"onUpdate:title": n
|
|
10151
10160
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10152
10161
|
]),
|
|
10153
|
-
c.deadline ? (v(), g("span",
|
|
10162
|
+
c.deadline ? (v(), g("span", v8, X(i.value), 1)) : T("", !0)
|
|
10154
10163
|
])
|
|
10155
10164
|
]),
|
|
10156
10165
|
footer: q(() => [
|
|
10157
|
-
p("div",
|
|
10158
|
-
p("div",
|
|
10159
|
-
p("ul",
|
|
10166
|
+
p("div", p8, [
|
|
10167
|
+
p("div", m8, [
|
|
10168
|
+
p("ul", h8, [
|
|
10160
10169
|
(v(!0), g(he, null, ye(o.value, (C) => (v(), g(he, {
|
|
10161
10170
|
key: C.id
|
|
10162
10171
|
}, [
|
|
10163
|
-
C ? (v(), g("li",
|
|
10172
|
+
C ? (v(), g("li", C8, [
|
|
10164
10173
|
L(Xe, {
|
|
10165
10174
|
"user-name": Q(Vn)(C),
|
|
10166
10175
|
"avatar-url": C.avatarUrl,
|
|
@@ -10170,31 +10179,31 @@ const i8 = { class: "ao-card-feed__header" }, o8 = {
|
|
|
10170
10179
|
])) : T("", !0)
|
|
10171
10180
|
], 64))), 128))
|
|
10172
10181
|
]),
|
|
10173
|
-
c.comments || c.attachments ? (v(), g("ul",
|
|
10174
|
-
c.comments ? (v(), g("li",
|
|
10182
|
+
c.comments || c.attachments ? (v(), g("ul", g8, [
|
|
10183
|
+
c.comments ? (v(), g("li", _8, [
|
|
10175
10184
|
L(ce, {
|
|
10176
10185
|
name: "ChatOutline",
|
|
10177
10186
|
size: "sm"
|
|
10178
10187
|
}),
|
|
10179
|
-
p("span",
|
|
10188
|
+
p("span", y8, X(c.comments), 1)
|
|
10180
10189
|
])) : T("", !0),
|
|
10181
|
-
c.attachments ? (v(), g("li",
|
|
10190
|
+
c.attachments ? (v(), g("li", b8, [
|
|
10182
10191
|
L(ce, {
|
|
10183
10192
|
name: "AttachFileRounded",
|
|
10184
10193
|
size: "sm"
|
|
10185
10194
|
}),
|
|
10186
|
-
p("span",
|
|
10195
|
+
p("span", w8, X(c.attachments), 1)
|
|
10187
10196
|
])) : T("", !0)
|
|
10188
10197
|
])) : T("", !0)
|
|
10189
10198
|
]),
|
|
10190
|
-
p("div",
|
|
10191
|
-
c.tasks && c.tasks.length ? (v(), g("div",
|
|
10192
|
-
p("div",
|
|
10199
|
+
p("div", $8, [
|
|
10200
|
+
c.tasks && c.tasks.length ? (v(), g("div", k8, [
|
|
10201
|
+
p("div", M8, [
|
|
10193
10202
|
L(ce, {
|
|
10194
10203
|
name: "SelectCheckBox",
|
|
10195
10204
|
size: "sm"
|
|
10196
10205
|
}),
|
|
10197
|
-
p("span",
|
|
10206
|
+
p("span", A8, X(u.value) + " / " + X(l.value), 1)
|
|
10198
10207
|
]),
|
|
10199
10208
|
L(R1, {
|
|
10200
10209
|
percentages: d.value,
|
|
@@ -10208,10 +10217,10 @@ const i8 = { class: "ao-card-feed__header" }, o8 = {
|
|
|
10208
10217
|
}, 8, ["class"]));
|
|
10209
10218
|
}
|
|
10210
10219
|
});
|
|
10211
|
-
const
|
|
10220
|
+
const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-milestone__header" }, E8 = { class: "ao-project-milestone__header_line" }, O8 = { class: "ao-project-milestone__header_line" }, I8 = { class: "ao-project-milestone__title" }, L8 = {
|
|
10212
10221
|
key: 0,
|
|
10213
10222
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
10214
|
-
},
|
|
10223
|
+
}, V8 = { class: "ao-field__row ao-milestone__field-row" }, D8 = { class: "ao-field ao-field--inline" }, P8 = { class: "ao-field__row ao-milestone__field-row" }, H8 = { class: "ao-field ao-milestone__field-multiselect" }, B8 = { class: "ao-project-milestone__body" }, R8 = {
|
|
10215
10224
|
key: 0,
|
|
10216
10225
|
class: "ao-project-milestone__footer"
|
|
10217
10226
|
}, fn = /* @__PURE__ */ J({
|
|
@@ -10307,9 +10316,9 @@ const M8 = { class: "ao-project-milestone" }, A8 = { class: "ao-project-mileston
|
|
|
10307
10316
|
});
|
|
10308
10317
|
return (h, M) => {
|
|
10309
10318
|
var w;
|
|
10310
|
-
return v(), g("div",
|
|
10311
|
-
p("header",
|
|
10312
|
-
p("div",
|
|
10319
|
+
return v(), g("div", T8, [
|
|
10320
|
+
p("header", S8, [
|
|
10321
|
+
p("div", E8, [
|
|
10313
10322
|
L(ue, {
|
|
10314
10323
|
"icon-name": "CloseRounded",
|
|
10315
10324
|
variant: "ghost",
|
|
@@ -10318,8 +10327,8 @@ const M8 = { class: "ao-project-milestone" }, A8 = { class: "ao-project-mileston
|
|
|
10318
10327
|
onClick: l
|
|
10319
10328
|
})
|
|
10320
10329
|
]),
|
|
10321
|
-
p("div",
|
|
10322
|
-
p("div",
|
|
10330
|
+
p("div", O8, [
|
|
10331
|
+
p("div", I8, [
|
|
10323
10332
|
L(_e, {
|
|
10324
10333
|
title: ((w = i.value) == null ? void 0 : w.name) || h.milestoneId,
|
|
10325
10334
|
level: 5
|
|
@@ -10338,9 +10347,9 @@ const M8 = { class: "ao-project-milestone" }, A8 = { class: "ao-project-mileston
|
|
|
10338
10347
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
10339
10348
|
])
|
|
10340
10349
|
]),
|
|
10341
|
-
i.value ? (v(), g("div",
|
|
10342
|
-
p("div",
|
|
10343
|
-
p("label",
|
|
10350
|
+
i.value ? (v(), g("div", L8, [
|
|
10351
|
+
p("div", V8, [
|
|
10352
|
+
p("label", D8, [
|
|
10344
10353
|
rt(p("input", {
|
|
10345
10354
|
"onUpdate:modelValue": M[1] || (M[1] = (A) => m.value = A),
|
|
10346
10355
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -10355,8 +10364,8 @@ const M8 = { class: "ao-project-milestone" }, A8 = { class: "ao-project-mileston
|
|
|
10355
10364
|
])
|
|
10356
10365
|
])
|
|
10357
10366
|
]),
|
|
10358
|
-
p("div",
|
|
10359
|
-
p("label",
|
|
10367
|
+
p("div", P8, [
|
|
10368
|
+
p("label", H8, [
|
|
10360
10369
|
L($e, {
|
|
10361
10370
|
modelValue: _.value,
|
|
10362
10371
|
"onUpdate:modelValue": M[2] || (M[2] = (A) => _.value = A),
|
|
@@ -10387,7 +10396,7 @@ const M8 = { class: "ao-project-milestone" }, A8 = { class: "ao-project-mileston
|
|
|
10387
10396
|
])
|
|
10388
10397
|
])) : T("", !0)
|
|
10389
10398
|
]),
|
|
10390
|
-
p("div",
|
|
10399
|
+
p("div", B8, [
|
|
10391
10400
|
L(Q(pt), Ve({
|
|
10392
10401
|
class: "ao-project-milestone__activities",
|
|
10393
10402
|
list: r.value,
|
|
@@ -10456,7 +10465,7 @@ const M8 = { class: "ao-project-milestone" }, A8 = { class: "ao-project-mileston
|
|
|
10456
10465
|
}),
|
|
10457
10466
|
_: 1
|
|
10458
10467
|
}, 16, ["list", "disabled"]),
|
|
10459
|
-
h.isEditable ? (v(), g("div",
|
|
10468
|
+
h.isEditable ? (v(), g("div", R8, [
|
|
10460
10469
|
L(mt, {
|
|
10461
10470
|
"icon-name": "Add",
|
|
10462
10471
|
label: h.$t("project.activity.add"),
|
|
@@ -10468,7 +10477,7 @@ const M8 = { class: "ao-project-milestone" }, A8 = { class: "ao-project-mileston
|
|
|
10468
10477
|
};
|
|
10469
10478
|
}
|
|
10470
10479
|
});
|
|
10471
|
-
const
|
|
10480
|
+
const N8 = /* @__PURE__ */ J({
|
|
10472
10481
|
__name: "AoProjectOverviewActivityDetails",
|
|
10473
10482
|
props: {
|
|
10474
10483
|
phaseId: {},
|
|
@@ -10550,20 +10559,20 @@ const B8 = /* @__PURE__ */ J({
|
|
|
10550
10559
|
onRemoveComment: _
|
|
10551
10560
|
}, {
|
|
10552
10561
|
default: q((A) => [
|
|
10553
|
-
|
|
10562
|
+
te(y.$slots, "default", ua(da(A)))
|
|
10554
10563
|
]),
|
|
10555
10564
|
_: 3
|
|
10556
10565
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
10557
10566
|
};
|
|
10558
10567
|
}
|
|
10559
|
-
}),
|
|
10568
|
+
}), j8 = { class: "ao-col-header" }, U8 = /* @__PURE__ */ J({
|
|
10560
10569
|
__name: "AoColHeader",
|
|
10561
10570
|
props: {
|
|
10562
10571
|
title: {},
|
|
10563
10572
|
items: {}
|
|
10564
10573
|
},
|
|
10565
10574
|
setup(t) {
|
|
10566
|
-
return (e, a) => (v(), g("header",
|
|
10575
|
+
return (e, a) => (v(), g("header", j8, [
|
|
10567
10576
|
L(_e, {
|
|
10568
10577
|
title: e.title,
|
|
10569
10578
|
class: "ao-col-header__title",
|
|
@@ -10579,17 +10588,17 @@ const B8 = /* @__PURE__ */ J({
|
|
|
10579
10588
|
]));
|
|
10580
10589
|
}
|
|
10581
10590
|
});
|
|
10582
|
-
function
|
|
10591
|
+
function Z8(t) {
|
|
10583
10592
|
return $s() ? (ks(t), !0) : !1;
|
|
10584
10593
|
}
|
|
10585
10594
|
function Ba(t) {
|
|
10586
10595
|
return typeof t == "function" ? t() : Q(t);
|
|
10587
10596
|
}
|
|
10588
|
-
const
|
|
10597
|
+
const F8 = typeof window < "u" && typeof document < "u";
|
|
10589
10598
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
10590
|
-
const
|
|
10599
|
+
const q8 = (t) => t != null, aa = () => {
|
|
10591
10600
|
};
|
|
10592
|
-
function
|
|
10601
|
+
function W8(t, e) {
|
|
10593
10602
|
function a(...n) {
|
|
10594
10603
|
return new Promise((s, o) => {
|
|
10595
10604
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -10597,7 +10606,7 @@ function F8(t, e) {
|
|
|
10597
10606
|
}
|
|
10598
10607
|
return a;
|
|
10599
10608
|
}
|
|
10600
|
-
function
|
|
10609
|
+
function z8(t, e = {}) {
|
|
10601
10610
|
let a, n, s = aa;
|
|
10602
10611
|
const o = (r) => {
|
|
10603
10612
|
clearTimeout(r), s(), s = aa;
|
|
@@ -10613,9 +10622,9 @@ function q8(t, e = {}) {
|
|
|
10613
10622
|
});
|
|
10614
10623
|
};
|
|
10615
10624
|
}
|
|
10616
|
-
function
|
|
10617
|
-
return
|
|
10618
|
-
|
|
10625
|
+
function Y8(t, e = 200, a = {}) {
|
|
10626
|
+
return W8(
|
|
10627
|
+
z8(e, a),
|
|
10619
10628
|
t
|
|
10620
10629
|
);
|
|
10621
10630
|
}
|
|
@@ -10624,27 +10633,27 @@ function d1(t) {
|
|
|
10624
10633
|
const a = Ba(t);
|
|
10625
10634
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
10626
10635
|
}
|
|
10627
|
-
const
|
|
10628
|
-
function
|
|
10636
|
+
const x8 = F8 ? window : void 0;
|
|
10637
|
+
function G8() {
|
|
10629
10638
|
const t = ne(!1), e = Mt();
|
|
10630
10639
|
return e && Ft(() => {
|
|
10631
10640
|
t.value = !0;
|
|
10632
10641
|
}, e), t;
|
|
10633
10642
|
}
|
|
10634
|
-
function
|
|
10635
|
-
const e =
|
|
10643
|
+
function K8(t) {
|
|
10644
|
+
const e = G8();
|
|
10636
10645
|
return k(() => (e.value, !!t()));
|
|
10637
10646
|
}
|
|
10638
|
-
function
|
|
10647
|
+
function X8(t, e, a = {}) {
|
|
10639
10648
|
const {
|
|
10640
10649
|
root: n,
|
|
10641
10650
|
rootMargin: s = "0px",
|
|
10642
10651
|
threshold: o = 0.1,
|
|
10643
|
-
window: i =
|
|
10652
|
+
window: i = x8,
|
|
10644
10653
|
immediate: r = !0
|
|
10645
|
-
} = a, l =
|
|
10654
|
+
} = a, l = K8(() => i && "IntersectionObserver" in i), u = k(() => {
|
|
10646
10655
|
const $ = Ba(t);
|
|
10647
|
-
return (Array.isArray($) ? $ : [$]).map(d1).filter(
|
|
10656
|
+
return (Array.isArray($) ? $ : [$]).map(d1).filter(q8);
|
|
10648
10657
|
});
|
|
10649
10658
|
let d = aa;
|
|
10650
10659
|
const c = ne(r), m = l.value ? de(
|
|
@@ -10668,7 +10677,7 @@ function G8(t, e, a = {}) {
|
|
|
10668
10677
|
) : aa, C = () => {
|
|
10669
10678
|
d(), m(), c.value = !1;
|
|
10670
10679
|
};
|
|
10671
|
-
return
|
|
10680
|
+
return Z8(C), {
|
|
10672
10681
|
isSupported: l,
|
|
10673
10682
|
isActive: c,
|
|
10674
10683
|
pause() {
|
|
@@ -10680,24 +10689,24 @@ function G8(t, e, a = {}) {
|
|
|
10680
10689
|
stop: C
|
|
10681
10690
|
};
|
|
10682
10691
|
}
|
|
10683
|
-
const
|
|
10692
|
+
const Q8 = {
|
|
10684
10693
|
class: /* @__PURE__ */ Y(["ao-list-kanban"])
|
|
10685
|
-
},
|
|
10694
|
+
}, J8 = { class: "ao-list-kanban__header" }, ev = {
|
|
10686
10695
|
key: 0,
|
|
10687
10696
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
10688
|
-
},
|
|
10697
|
+
}, tv = {
|
|
10689
10698
|
key: 1,
|
|
10690
10699
|
class: "ao-list-kanban__end"
|
|
10691
|
-
},
|
|
10700
|
+
}, av = {
|
|
10692
10701
|
key: 0,
|
|
10693
10702
|
class: "ao-list-kanban__no-more"
|
|
10694
|
-
},
|
|
10703
|
+
}, nv = {
|
|
10695
10704
|
key: 1,
|
|
10696
10705
|
class: "ao-list-kanban__divider"
|
|
10697
|
-
},
|
|
10706
|
+
}, sv = {
|
|
10698
10707
|
key: 1,
|
|
10699
10708
|
class: "ao-list-kanban__footer"
|
|
10700
|
-
},
|
|
10709
|
+
}, iv = /* @__PURE__ */ J({
|
|
10701
10710
|
__name: "AoListKanban",
|
|
10702
10711
|
props: {
|
|
10703
10712
|
list: {},
|
|
@@ -10713,7 +10722,7 @@ const K8 = {
|
|
|
10713
10722
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
10714
10723
|
setup(t, { emit: e }) {
|
|
10715
10724
|
const a = t, n = ne(!1), s = ne(null);
|
|
10716
|
-
|
|
10725
|
+
X8(s, ([{ isIntersecting: u }]) => {
|
|
10717
10726
|
n.value = u;
|
|
10718
10727
|
}), de(n, (u) => {
|
|
10719
10728
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -10735,12 +10744,12 @@ const K8 = {
|
|
|
10735
10744
|
)
|
|
10736
10745
|
});
|
|
10737
10746
|
}, l = ne(!1);
|
|
10738
|
-
return (u, d) => (v(), g("div",
|
|
10739
|
-
u.title || u.$slots.header ?
|
|
10747
|
+
return (u, d) => (v(), g("div", Q8, [
|
|
10748
|
+
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
10740
10749
|
var c;
|
|
10741
10750
|
return [
|
|
10742
|
-
p("div",
|
|
10743
|
-
u.title ? (v(), R(
|
|
10751
|
+
p("div", J8, [
|
|
10752
|
+
u.title ? (v(), R(U8, {
|
|
10744
10753
|
key: 0,
|
|
10745
10754
|
title: u.title,
|
|
10746
10755
|
level: 3,
|
|
@@ -10824,21 +10833,21 @@ const K8 = {
|
|
|
10824
10833
|
];
|
|
10825
10834
|
}),
|
|
10826
10835
|
footer: q(() => [
|
|
10827
|
-
u.isLoading ? (v(), g("div",
|
|
10836
|
+
u.isLoading ? (v(), g("div", ev, [
|
|
10828
10837
|
L(ce, { name: "Loading" })
|
|
10829
10838
|
])) : u.hasMore ? (v(), g("div", {
|
|
10830
10839
|
key: 2,
|
|
10831
10840
|
ref_key: "scrollEnd",
|
|
10832
10841
|
ref: s,
|
|
10833
10842
|
class: "ao-list-kanban__end"
|
|
10834
|
-
}, null, 512)) : (v(), g("div",
|
|
10835
|
-
u.noMoreLabel ? (v(), g("span",
|
|
10843
|
+
}, null, 512)) : (v(), g("div", tv, [
|
|
10844
|
+
u.noMoreLabel ? (v(), g("span", av, X(u.noMoreLabel), 1)) : u.isEditable ? (v(), g("span", nv)) : T("", !0)
|
|
10836
10845
|
]))
|
|
10837
10846
|
]),
|
|
10838
10847
|
_: 1
|
|
10839
10848
|
}, 16, ["class", "list", "disabled"]),
|
|
10840
|
-
u.$slots.footer || u.footerLabel ? (v(), g("div",
|
|
10841
|
-
|
|
10849
|
+
u.$slots.footer || u.footerLabel ? (v(), g("div", sv, [
|
|
10850
|
+
te(u.$slots, "footer", {}, () => [
|
|
10842
10851
|
u.isEditable ? (v(), R(mt, {
|
|
10843
10852
|
key: 0,
|
|
10844
10853
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -10850,7 +10859,7 @@ const K8 = {
|
|
|
10850
10859
|
]));
|
|
10851
10860
|
}
|
|
10852
10861
|
});
|
|
10853
|
-
const
|
|
10862
|
+
const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder", "onKeypress"], lv = /* @__PURE__ */ J({
|
|
10854
10863
|
__name: "AoSearchField",
|
|
10855
10864
|
props: {
|
|
10856
10865
|
modelValue: {},
|
|
@@ -10862,10 +10871,10 @@ const sv = { class: "ao-field ao-search-field" }, iv = ["value", "placeholder",
|
|
|
10862
10871
|
const a = t, n = async (i) => {
|
|
10863
10872
|
const l = i.target.value;
|
|
10864
10873
|
e("update:modelValue", l, i);
|
|
10865
|
-
}, s =
|
|
10874
|
+
}, s = Y8(n, a.delay), o = (i) => {
|
|
10866
10875
|
e("clear", i);
|
|
10867
10876
|
};
|
|
10868
|
-
return (i, r) => (v(), g("div",
|
|
10877
|
+
return (i, r) => (v(), g("div", ov, [
|
|
10869
10878
|
p("input", {
|
|
10870
10879
|
value: i.modelValue,
|
|
10871
10880
|
type: "text",
|
|
@@ -10874,7 +10883,7 @@ const sv = { class: "ao-field ao-search-field" }, iv = ["value", "placeholder",
|
|
|
10874
10883
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
10875
10884
|
(...l) => Q(s) && Q(s)(...l)),
|
|
10876
10885
|
onKeypress: ut(n, ["enter"])
|
|
10877
|
-
}, null, 40,
|
|
10886
|
+
}, null, 40, rv),
|
|
10878
10887
|
L(ce, {
|
|
10879
10888
|
name: "SearchRounded",
|
|
10880
10889
|
class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -10890,7 +10899,7 @@ const sv = { class: "ao-field ao-search-field" }, iv = ["value", "placeholder",
|
|
|
10890
10899
|
]));
|
|
10891
10900
|
}
|
|
10892
10901
|
});
|
|
10893
|
-
const
|
|
10902
|
+
const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { class: "ao-feed__body" }, fv = /* @__PURE__ */ J({
|
|
10894
10903
|
__name: "AoFeed",
|
|
10895
10904
|
props: {
|
|
10896
10905
|
activities: {},
|
|
@@ -10923,8 +10932,8 @@ const rv = { class: "ao-feed" }, lv = { class: "ao-feed__filters" }, uv = { clas
|
|
|
10923
10932
|
E.map((B) => [
|
|
10924
10933
|
B.id,
|
|
10925
10934
|
N.filter((se) => {
|
|
10926
|
-
var
|
|
10927
|
-
return ((
|
|
10935
|
+
var ae;
|
|
10936
|
+
return ((ae = se.status) == null ? void 0 : ae.id) === B.id;
|
|
10928
10937
|
})
|
|
10929
10938
|
])
|
|
10930
10939
|
), x && !r.value && (o(x), r.value = !0), l.value && Ge(N, O);
|
|
@@ -10995,10 +11004,10 @@ const rv = { class: "ao-feed" }, lv = { class: "ao-feed__filters" }, uv = { clas
|
|
|
10995
11004
|
};
|
|
10996
11005
|
return (E, N) => {
|
|
10997
11006
|
var x;
|
|
10998
|
-
return v(), g("div",
|
|
11007
|
+
return v(), g("div", uv, [
|
|
10999
11008
|
L(Wa, null, {
|
|
11000
11009
|
primary: q(() => [
|
|
11001
|
-
p("div",
|
|
11010
|
+
p("div", dv, [
|
|
11002
11011
|
a.project ? (v(), R(Xn, {
|
|
11003
11012
|
key: 0,
|
|
11004
11013
|
"is-left": !1,
|
|
@@ -11008,7 +11017,7 @@ const rv = { class: "ao-feed" }, lv = { class: "ao-feed__filters" }, uv = { clas
|
|
|
11008
11017
|
f && E.$router.push({ name: Q(Ue).project });
|
|
11009
11018
|
})
|
|
11010
11019
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
11011
|
-
L(
|
|
11020
|
+
L(lv, {
|
|
11012
11021
|
"model-value": E.searchText,
|
|
11013
11022
|
placeholder: E.$t("feed.search.placeholder"),
|
|
11014
11023
|
class: "ao-feed__search",
|
|
@@ -11088,8 +11097,8 @@ const rv = { class: "ao-feed" }, lv = { class: "ao-feed__filters" }, uv = { clas
|
|
|
11088
11097
|
]),
|
|
11089
11098
|
_: 1
|
|
11090
11099
|
}),
|
|
11091
|
-
p("div",
|
|
11092
|
-
(v(!0), g(he, null, ye(E.statuses, (f) => (v(), R(
|
|
11100
|
+
p("div", cv, [
|
|
11101
|
+
(v(!0), g(he, null, ye(E.statuses, (f) => (v(), R(iv, {
|
|
11093
11102
|
key: f.id,
|
|
11094
11103
|
status: f,
|
|
11095
11104
|
list: i.value[f.id],
|
|
@@ -11131,7 +11140,7 @@ const rv = { class: "ao-feed" }, lv = { class: "ao-feed__filters" }, uv = { clas
|
|
|
11131
11140
|
onRemoveComment: F
|
|
11132
11141
|
}, {
|
|
11133
11142
|
default: q((f) => [
|
|
11134
|
-
|
|
11143
|
+
te(E.$slots, "activityDetailsBody", ua(da(f)))
|
|
11135
11144
|
]),
|
|
11136
11145
|
_: 3
|
|
11137
11146
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : T("", !0)
|
|
@@ -11144,7 +11153,7 @@ const Lt = {
|
|
|
11144
11153
|
TEMPLATES: "templates",
|
|
11145
11154
|
TEMPLATE_DETAILS: "template_details",
|
|
11146
11155
|
TEMPLATES_LIST: "templates_list"
|
|
11147
|
-
},
|
|
11156
|
+
}, Ev = (t, e = {}) => [
|
|
11148
11157
|
{
|
|
11149
11158
|
path: t,
|
|
11150
11159
|
name: Lt.TEMPLATES,
|
|
@@ -11154,12 +11163,12 @@ const Lt = {
|
|
|
11154
11163
|
{
|
|
11155
11164
|
path: "",
|
|
11156
11165
|
name: Lt.TEMPLATES_LIST,
|
|
11157
|
-
component:
|
|
11166
|
+
component: pv
|
|
11158
11167
|
},
|
|
11159
11168
|
{
|
|
11160
11169
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
11161
11170
|
name: Lt.TEMPLATE_DETAILS,
|
|
11162
|
-
component:
|
|
11171
|
+
component: pf,
|
|
11163
11172
|
props: !0
|
|
11164
11173
|
}
|
|
11165
11174
|
]
|
|
@@ -11169,7 +11178,7 @@ const Lt = {
|
|
|
11169
11178
|
feed: "AoProjectFeed",
|
|
11170
11179
|
milestone: "AoMilestone",
|
|
11171
11180
|
activity: "AoActivity"
|
|
11172
|
-
},
|
|
11181
|
+
}, Ov = (t, e = {}) => [
|
|
11173
11182
|
{
|
|
11174
11183
|
path: t,
|
|
11175
11184
|
...e,
|
|
@@ -11178,7 +11187,7 @@ const Lt = {
|
|
|
11178
11187
|
{
|
|
11179
11188
|
path: "",
|
|
11180
11189
|
name: Ue.project,
|
|
11181
|
-
component:
|
|
11190
|
+
component: o8,
|
|
11182
11191
|
props: !0,
|
|
11183
11192
|
children: [
|
|
11184
11193
|
{
|
|
@@ -11193,7 +11202,7 @@ const Lt = {
|
|
|
11193
11202
|
props: { default: !0, modal: !0 },
|
|
11194
11203
|
components: {
|
|
11195
11204
|
default: fn,
|
|
11196
|
-
modal:
|
|
11205
|
+
modal: N8
|
|
11197
11206
|
}
|
|
11198
11207
|
}
|
|
11199
11208
|
]
|
|
@@ -11201,12 +11210,12 @@ const Lt = {
|
|
|
11201
11210
|
{
|
|
11202
11211
|
path: "feed",
|
|
11203
11212
|
name: Ue.feed,
|
|
11204
|
-
component:
|
|
11213
|
+
component: fv,
|
|
11205
11214
|
props: !0
|
|
11206
11215
|
}
|
|
11207
11216
|
]
|
|
11208
11217
|
}
|
|
11209
|
-
],
|
|
11218
|
+
], vv = { class: "ao-templates" }, pv = /* @__PURE__ */ J({
|
|
11210
11219
|
__name: "AoTemplatesList",
|
|
11211
11220
|
props: {
|
|
11212
11221
|
templates: {}
|
|
@@ -11246,7 +11255,7 @@ const Lt = {
|
|
|
11246
11255
|
});
|
|
11247
11256
|
}
|
|
11248
11257
|
};
|
|
11249
|
-
return (r, l) => (v(), g("div",
|
|
11258
|
+
return (r, l) => (v(), g("div", vv, [
|
|
11250
11259
|
L(Wa, null, {
|
|
11251
11260
|
secondary: q(() => [
|
|
11252
11261
|
L(ue, {
|
|
@@ -11290,7 +11299,7 @@ const Lt = {
|
|
|
11290
11299
|
]));
|
|
11291
11300
|
}
|
|
11292
11301
|
});
|
|
11293
|
-
const
|
|
11302
|
+
const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
|
|
11294
11303
|
__name: "AoField",
|
|
11295
11304
|
props: {
|
|
11296
11305
|
label: {},
|
|
@@ -11300,11 +11309,11 @@ const vv = { class: "ao-field__label" }, pv = /* @__PURE__ */ J({
|
|
|
11300
11309
|
return (e, a) => (v(), g("label", {
|
|
11301
11310
|
class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
11302
11311
|
}, [
|
|
11303
|
-
p("span",
|
|
11304
|
-
|
|
11312
|
+
p("span", mv, X(e.label), 1),
|
|
11313
|
+
te(e.$slots, "default")
|
|
11305
11314
|
], 2));
|
|
11306
11315
|
}
|
|
11307
|
-
}),
|
|
11316
|
+
}), Cv = ["type", "value", "disabled", "readonly"], Iv = /* @__PURE__ */ J({
|
|
11308
11317
|
__name: "AoInputField",
|
|
11309
11318
|
props: {
|
|
11310
11319
|
label: { default: "" },
|
|
@@ -11321,7 +11330,7 @@ const vv = { class: "ao-field__label" }, pv = /* @__PURE__ */ J({
|
|
|
11321
11330
|
), s = (o) => {
|
|
11322
11331
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
11323
11332
|
};
|
|
11324
|
-
return (o, i) => (v(), R(
|
|
11333
|
+
return (o, i) => (v(), R(hv, { label: o.label }, {
|
|
11325
11334
|
default: q(() => [
|
|
11326
11335
|
p("input", Ve({
|
|
11327
11336
|
class: "ao-field__input",
|
|
@@ -11331,12 +11340,12 @@ const vv = { class: "ao-field__label" }, pv = /* @__PURE__ */ J({
|
|
|
11331
11340
|
readonly: o.isReadonly
|
|
11332
11341
|
}, {
|
|
11333
11342
|
[Ms(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
11334
|
-
}), null, 16,
|
|
11343
|
+
}), null, 16, Cv)
|
|
11335
11344
|
]),
|
|
11336
11345
|
_: 1
|
|
11337
11346
|
}, 8, ["label"]));
|
|
11338
11347
|
}
|
|
11339
|
-
}),
|
|
11348
|
+
}), gv = { class: "ao-field" }, _v = { class: "ao-field__label" }, yv = ["checked", "disabled"], Lv = /* @__PURE__ */ J({
|
|
11340
11349
|
__name: "AoCheckboxField",
|
|
11341
11350
|
props: {
|
|
11342
11351
|
label: { default: "" },
|
|
@@ -11346,8 +11355,8 @@ const vv = { class: "ao-field__label" }, pv = /* @__PURE__ */ J({
|
|
|
11346
11355
|
},
|
|
11347
11356
|
emits: ["update:modelValue"],
|
|
11348
11357
|
setup(t) {
|
|
11349
|
-
return (e, a) => (v(), g("label",
|
|
11350
|
-
p("span",
|
|
11358
|
+
return (e, a) => (v(), g("label", gv, [
|
|
11359
|
+
p("span", _v, X(e.label), 1),
|
|
11351
11360
|
p("input", {
|
|
11352
11361
|
class: "ao-field__input",
|
|
11353
11362
|
type: "checkbox",
|
|
@@ -11360,28 +11369,28 @@ const vv = { class: "ao-field__label" }, pv = /* @__PURE__ */ J({
|
|
|
11360
11369
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
11361
11370
|
);
|
|
11362
11371
|
})
|
|
11363
|
-
}, null, 40,
|
|
11372
|
+
}, null, 40, yv)
|
|
11364
11373
|
]));
|
|
11365
11374
|
}
|
|
11366
11375
|
});
|
|
11367
11376
|
export {
|
|
11368
11377
|
Qn as AoCardFeed,
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11378
|
+
Lv as AoCheckboxField,
|
|
11379
|
+
fv as AoFeed,
|
|
11380
|
+
hv as AoField,
|
|
11381
|
+
Iv as AoInputField,
|
|
11373
11382
|
$e as AoMultiselect,
|
|
11374
|
-
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
|
|
11383
|
+
Gf as AoProjectPhases,
|
|
11384
|
+
pf as AoTemplateDetails,
|
|
11385
|
+
Mv as AoTemplates,
|
|
11386
|
+
pv as AoTemplatesList,
|
|
11378
11387
|
E2 as TemplateItemTypeEnum,
|
|
11379
|
-
|
|
11380
|
-
|
|
11388
|
+
Tv as activityFeedStatus,
|
|
11389
|
+
Av as durationTypes,
|
|
11381
11390
|
Ot as feedFilterTypes,
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11391
|
+
Ov as getProjectOverviewRoutes,
|
|
11392
|
+
Ev as getTemplateRoutes,
|
|
11393
|
+
Sv as listUpdateTypes,
|
|
11385
11394
|
c1 as milestoneStatus,
|
|
11386
11395
|
Ue as projectOverviewRoutes,
|
|
11387
11396
|
A2 as ruleComparators,
|