@26lights/orcha 0.17.1 → 0.17.2
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 +175 -175
- package/dist/orcha.umd.js +1 -1
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as x, openBlock as c, createBlock as R, unref as F, mergeProps as
|
|
1
|
+
import { defineComponent as x, openBlock as c, createBlock as R, unref as F, mergeProps as Ie, createElementBlock as m, createElementVNode as f, pushScopeId as rn, popScopeId as un, createStaticVNode as dn, computed as y, resolveDynamicComponent as at, normalizeClass as G, renderSlot as ee, toDisplayString as q, createCommentVNode as k, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as cn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Ht, onBeforeUnmount as fn, onUnmounted as da, toRefs as $e, getCurrentInstance as nt, toRef as ft, normalizeProps as vn, guardReactiveProps as pn, onUpdated as hn, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
|
|
2
2
|
import { RouterView as bn } from "vue-router";
|
|
3
3
|
import Xe from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const a8 = /* @__PURE__ */ x({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(a) {
|
|
10
|
-
return (e, t) => (c(), R(F(bn),
|
|
10
|
+
return (e, t) => (c(), R(F(bn), Ie({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), P = (a, e) => {
|
|
13
13
|
const t = a.__vccOpts || a;
|
|
@@ -1209,17 +1209,17 @@ function fa(a) {
|
|
|
1209
1209
|
}, o = (r) => {
|
|
1210
1210
|
e.value = r;
|
|
1211
1211
|
}, i = (r) => async () => {
|
|
1212
|
-
o(!1), await
|
|
1212
|
+
o(!1), await Oe(() => {
|
|
1213
1213
|
a.value[s.value] = t.value, r == null || r();
|
|
1214
1214
|
});
|
|
1215
1215
|
}, l = (r) => async (d) => {
|
|
1216
1216
|
const u = a.value[s.value];
|
|
1217
|
-
o(!1), await
|
|
1217
|
+
o(!1), await Oe(() => {
|
|
1218
1218
|
r(u, d);
|
|
1219
1219
|
});
|
|
1220
1220
|
};
|
|
1221
1221
|
return ue(e, async (r) => {
|
|
1222
|
-
await
|
|
1222
|
+
await Oe(() => {
|
|
1223
1223
|
setTimeout(() => {
|
|
1224
1224
|
a.value && r && (a.value.focus(), t.value = a.value[s.value]);
|
|
1225
1225
|
}, 1);
|
|
@@ -1266,7 +1266,7 @@ const Ce = /* @__PURE__ */ x({
|
|
|
1266
1266
|
($) => {
|
|
1267
1267
|
$ || v();
|
|
1268
1268
|
}
|
|
1269
|
-
), ($, A) => (c(), R(at(r.value),
|
|
1269
|
+
), ($, A) => (c(), R(at(r.value), Ie({
|
|
1270
1270
|
id: $.id,
|
|
1271
1271
|
ref_key: "target",
|
|
1272
1272
|
ref: s,
|
|
@@ -1406,7 +1406,7 @@ const E1 = /* @__PURE__ */ x({
|
|
|
1406
1406
|
]),
|
|
1407
1407
|
style: ua(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1408
1408
|
}, [
|
|
1409
|
-
(c(), R(at(t.value),
|
|
1409
|
+
(c(), R(at(t.value), Ie({ class: "ao-tag__label" }, s.value, {
|
|
1410
1410
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
1411
1411
|
}), {
|
|
1412
1412
|
default: j(() => [
|
|
@@ -1432,11 +1432,11 @@ const k1 = {
|
|
|
1432
1432
|
todo: "todo",
|
|
1433
1433
|
done: "done",
|
|
1434
1434
|
archived: "archived"
|
|
1435
|
-
},
|
|
1435
|
+
}, n8 = {
|
|
1436
1436
|
months: "months",
|
|
1437
1437
|
weeks: "weeks",
|
|
1438
1438
|
days: "days"
|
|
1439
|
-
},
|
|
1439
|
+
}, s8 = {
|
|
1440
1440
|
future: "future",
|
|
1441
1441
|
this_month: "this_month",
|
|
1442
1442
|
this_week: "this_week",
|
|
@@ -1460,7 +1460,7 @@ const k1 = {
|
|
|
1460
1460
|
TASKS: "tasks"
|
|
1461
1461
|
};
|
|
1462
1462
|
var $d = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))($d || {});
|
|
1463
|
-
const
|
|
1463
|
+
const i8 = {
|
|
1464
1464
|
add: "add",
|
|
1465
1465
|
remove: "remove",
|
|
1466
1466
|
moved: "moved"
|
|
@@ -3904,7 +3904,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
3904
3904
|
var n;
|
|
3905
3905
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
3906
3906
|
}), s = y(() => e.milestones ? ka(e.milestones) : 0);
|
|
3907
|
-
return (n, o) => (c(), R(O1,
|
|
3907
|
+
return (n, o) => (c(), R(O1, Ie({
|
|
3908
3908
|
id: n.id,
|
|
3909
3909
|
title: n.name,
|
|
3910
3910
|
activities: s.value,
|
|
@@ -4989,7 +4989,7 @@ const H3 = (a, e, t) => {
|
|
|
4989
4989
|
l.value();
|
|
4990
4990
|
});
|
|
4991
4991
|
};
|
|
4992
|
-
function
|
|
4992
|
+
function He(a) {
|
|
4993
4993
|
return [null, void 0].indexOf(a) !== -1;
|
|
4994
4994
|
}
|
|
4995
4995
|
function P3(a, e, t) {
|
|
@@ -4997,7 +4997,7 @@ function P3(a, e, t) {
|
|
|
4997
4997
|
l.value = u(v);
|
|
4998
4998
|
const C = d(v);
|
|
4999
4999
|
e.emit("change", C, i), p && (e.emit("input", C), e.emit("update:modelValue", C));
|
|
5000
|
-
}, d = (v) => s.value ||
|
|
5000
|
+
}, d = (v) => s.value || He(v) ? v : Array.isArray(v) ? v.map((p) => p[n.value]) : v[n.value], u = (v) => He(v) ? o.value === "single" ? {} : [] : v;
|
|
5001
5001
|
return {
|
|
5002
5002
|
update: r
|
|
5003
5003
|
};
|
|
@@ -5105,7 +5105,7 @@ function Z3(a, e, t) {
|
|
|
5105
5105
|
disabledProp: se,
|
|
5106
5106
|
searchStart: M,
|
|
5107
5107
|
searchFilter: Y
|
|
5108
|
-
} = $e(a), ie = nt().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, gt = Q([]), Fe = Q([]),
|
|
5108
|
+
} = $e(a), ie = nt().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, gt = Q([]), Fe = Q([]), Le = Q(!1), f1 = Q(null), v1 = Q(re.value && i.value === -1 ? 10 : i.value), j1 = y(() => r.value || d.value || !1), Fa = y(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = y(() => {
|
|
5109
5109
|
if (z.value) {
|
|
5110
5110
|
let _ = Rt.value || /* istanbul ignore next */
|
|
5111
5111
|
[], H = [];
|
|
@@ -5160,17 +5160,17 @@ function Z3(a, e, t) {
|
|
|
5160
5160
|
}), p1 = y(() => {
|
|
5161
5161
|
switch (n.value) {
|
|
5162
5162
|
case "single":
|
|
5163
|
-
return !
|
|
5163
|
+
return !He(B.value[D.value]);
|
|
5164
5164
|
case "multiple":
|
|
5165
5165
|
case "tags":
|
|
5166
|
-
return !
|
|
5166
|
+
return !He(B.value) && B.value.length > 0;
|
|
5167
5167
|
}
|
|
5168
|
-
}), za = y(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = y(() => !qe.value.length && !
|
|
5168
|
+
}), za = y(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = y(() => !qe.value.length && !Le.value && !lt.value.length), Ya = y(() => qe.value.length > 0 && bt.value.length == 0 && (N.value && z.value || !z.value)), lt = y(() => j1.value === !1 || !N.value ? [] : an(N.value) !== -1 ? [] : [{
|
|
5169
5169
|
[D.value]: N.value,
|
|
5170
|
-
[
|
|
5170
|
+
[Ve.value]: N.value,
|
|
5171
5171
|
[u.value]: N.value,
|
|
5172
5172
|
__CREATE__: !0
|
|
5173
|
-
}]),
|
|
5173
|
+
}]), Ve = y(() => o.value || u.value), Ka = y(() => {
|
|
5174
5174
|
switch (n.value) {
|
|
5175
5175
|
case "single":
|
|
5176
5176
|
return null;
|
|
@@ -5178,7 +5178,7 @@ function Z3(a, e, t) {
|
|
|
5178
5178
|
case "tags":
|
|
5179
5179
|
return [];
|
|
5180
5180
|
}
|
|
5181
|
-
}), Ga = y(() => $.value ||
|
|
5181
|
+
}), Ga = y(() => $.value || Le.value), rt = (_) => {
|
|
5182
5182
|
switch (typeof _ != "object" && (_ = Ne(_)), n.value) {
|
|
5183
5183
|
case "single":
|
|
5184
5184
|
Me(_);
|
|
@@ -5215,16 +5215,16 @@ function Z3(a, e, t) {
|
|
|
5215
5215
|
return n.value === "single" ? !1 : tn(_[oe.value]) && _[oe.value].length;
|
|
5216
5216
|
switch (n.value) {
|
|
5217
5217
|
case "single":
|
|
5218
|
-
return !
|
|
5218
|
+
return !He(B.value) && B.value[D.value] == _[D.value];
|
|
5219
5219
|
case "tags":
|
|
5220
5220
|
case "multiple":
|
|
5221
|
-
return !
|
|
5221
|
+
return !He(B.value) && B.value.map((H) => H[D.value]).indexOf(_[D.value]) !== -1;
|
|
5222
5222
|
}
|
|
5223
5223
|
}, h1 = (_) => _[se.value] === !0, m1 = () => J === void 0 || J.value === -1 || !p1.value && J.value > 0 ? !1 : B.value.length >= J.value, Xa = (_) => {
|
|
5224
5224
|
if (!h1(_)) {
|
|
5225
5225
|
if (Z && Z.value && !Be(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = Z.value(_, ie), _ instanceof Promise)) {
|
|
5226
|
-
|
|
5227
|
-
|
|
5226
|
+
Le.value = !0, _.then((H) => {
|
|
5227
|
+
Le.value = !1, Y1(H);
|
|
5228
5228
|
});
|
|
5229
5229
|
return;
|
|
5230
5230
|
}
|
|
@@ -5279,7 +5279,7 @@ function Z3(a, e, t) {
|
|
|
5279
5279
|
Ne(_[D.value]) === void 0 && j1.value && (e.emit("tag", _[D.value], ie), e.emit("option", _[D.value], ie), e.emit("create", _[D.value], ie), Fa.value && sn(_), pe());
|
|
5280
5280
|
}, Ja = () => {
|
|
5281
5281
|
n.value !== "single" && rt(bt.value.filter((_) => !_.disabled && !Be(_)));
|
|
5282
|
-
}, en = (_) => _.find((H) => !Be(H) && !H[se.value]) === void 0, tn = (_) => _.find((H) => !Be(H)) === void 0, Ne = (_) => qe.value[qe.value.map((H) => String(H[D.value])).indexOf(String(_))], an = (_, H = !0) => qe.value.map((ne) => parseInt(ne[
|
|
5282
|
+
}, en = (_) => _.find((H) => !Be(H) && !H[se.value]) === void 0, tn = (_) => _.find((H) => !Be(H)) === void 0, Ne = (_) => qe.value[qe.value.map((H) => String(H[D.value])).indexOf(String(_))], an = (_, H = !0) => qe.value.map((ne) => parseInt(ne[Ve.value]) == ne[Ve.value] ? parseInt(ne[Ve.value]) : ne[Ve.value]).indexOf(
|
|
5283
5283
|
parseInt(_) == _ ? parseInt(_) : _
|
|
5284
5284
|
), nn = (_) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(_), sn = (_) => {
|
|
5285
5285
|
gt.value.push(_);
|
|
@@ -5289,8 +5289,8 @@ function Z3(a, e, t) {
|
|
|
5289
5289
|
let ne = _;
|
|
5290
5290
|
if (N.value && L.value) {
|
|
5291
5291
|
let he = Y.value;
|
|
5292
|
-
he || (he = (yt,
|
|
5293
|
-
let G1 = $1(Za(yt[
|
|
5292
|
+
he || (he = (yt, Q4) => {
|
|
5293
|
+
let G1 = $1(Za(yt[Ve.value]), de.value);
|
|
5294
5294
|
return M.value ? G1.startsWith($1(N.value, de.value)) : G1.indexOf($1(N.value, de.value)) !== -1;
|
|
5295
5295
|
}), ne = ne.filter(he);
|
|
5296
5296
|
}
|
|
@@ -5299,15 +5299,15 @@ function Z3(a, e, t) {
|
|
|
5299
5299
|
let H = _;
|
|
5300
5300
|
return U3(H) && (H = Object.keys(H).map((ne) => {
|
|
5301
5301
|
let he = H[ne];
|
|
5302
|
-
return { [D.value]: ne, [
|
|
5303
|
-
})), H = H.map((ne) => typeof ne == "object" ? ne : { [D.value]: ne, [
|
|
5302
|
+
return { [D.value]: ne, [Ve.value]: he, [u.value]: he };
|
|
5303
|
+
})), H = H.map((ne) => typeof ne == "object" ? ne : { [D.value]: ne, [Ve.value]: ne, [u.value]: ne }), H;
|
|
5304
5304
|
}, Ut = () => {
|
|
5305
|
-
|
|
5306
|
-
}, jt = (_) => (
|
|
5305
|
+
He(S.value) || (B.value = Zt(S.value));
|
|
5306
|
+
}, jt = (_) => (Le.value = !0, new Promise((H, ne) => {
|
|
5307
5307
|
s.value(N.value, ie).then((he) => {
|
|
5308
|
-
Fe.value = he || [], typeof _ == "function" && _(he),
|
|
5308
|
+
Fe.value = he || [], typeof _ == "function" && _(he), Le.value = !1;
|
|
5309
5309
|
}).catch((he) => {
|
|
5310
|
-
console.error(he), Fe.value = [],
|
|
5310
|
+
console.error(he), Fe.value = [], Le.value = !1;
|
|
5311
5311
|
}).finally(() => {
|
|
5312
5312
|
H();
|
|
5313
5313
|
});
|
|
@@ -5329,19 +5329,19 @@ function Z3(a, e, t) {
|
|
|
5329
5329
|
});
|
|
5330
5330
|
}, ln = (_) => {
|
|
5331
5331
|
jt(_);
|
|
5332
|
-
}, Zt = (_) =>
|
|
5332
|
+
}, Zt = (_) => He(_) ? n.value === "single" ? {} : [] : w.value ? _ : n.value === "single" ? Ne(_) || (K.value ? {
|
|
5333
5333
|
[u.value]: _,
|
|
5334
5334
|
[D.value]: _,
|
|
5335
|
-
[
|
|
5335
|
+
[Ve.value]: _
|
|
5336
5336
|
} : {}) : _.filter((H) => !!Ne(H) || K.value).map((H) => Ne(H) || {
|
|
5337
5337
|
[u.value]: H,
|
|
5338
5338
|
[D.value]: H,
|
|
5339
|
-
[
|
|
5339
|
+
[Ve.value]: H
|
|
5340
5340
|
}), K1 = () => {
|
|
5341
5341
|
f1.value = ue(N, (_) => {
|
|
5342
|
-
_.length < b.value || !_ && b.value !== 0 || (
|
|
5342
|
+
_.length < b.value || !_ && b.value !== 0 || (Le.value = !0, U.value && (Fe.value = []), setTimeout(() => {
|
|
5343
5343
|
_ == N.value && s.value(N.value, ie).then((H) => {
|
|
5344
|
-
(_ == N.value || !N.value) && (Fe.value = H, Ra.value = bt.value.filter((ne) => ne[se.value] !== !0)[0] || null,
|
|
5344
|
+
(_ == N.value || !N.value) && (Fe.value = H, Ra.value = bt.value.filter((ne) => ne[se.value] !== !0)[0] || null, Le.value = !1);
|
|
5345
5345
|
}).catch(
|
|
5346
5346
|
/* istanbul ignore next */
|
|
5347
5347
|
(H) => {
|
|
@@ -5351,12 +5351,12 @@ function Z3(a, e, t) {
|
|
|
5351
5351
|
}, A.value));
|
|
5352
5352
|
}, { flush: "sync" });
|
|
5353
5353
|
};
|
|
5354
|
-
if (n.value !== "single" && !
|
|
5354
|
+
if (n.value !== "single" && !He(S.value) && !Array.isArray(S.value))
|
|
5355
5355
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
5356
5356
|
return s && typeof s.value == "function" ? g.value ? jt(Ut) : w.value == !0 && Ut() : (Fe.value = s.value, Ut()), A.value > -1 && K1(), ue(A, (_, H) => {
|
|
5357
5357
|
f1.value && f1.value(), _ >= 0 && K1();
|
|
5358
5358
|
}), ue(S, (_) => {
|
|
5359
|
-
if (
|
|
5359
|
+
if (He(_)) {
|
|
5360
5360
|
Me(Zt(_), !1);
|
|
5361
5361
|
return;
|
|
5362
5362
|
}
|
|
@@ -5385,7 +5385,7 @@ function Z3(a, e, t) {
|
|
|
5385
5385
|
filteredGroups: F1,
|
|
5386
5386
|
noOptions: Wa,
|
|
5387
5387
|
noResults: Ya,
|
|
5388
|
-
resolving:
|
|
5388
|
+
resolving: Le,
|
|
5389
5389
|
busy: Ga,
|
|
5390
5390
|
offset: v1,
|
|
5391
5391
|
select: rt,
|
|
@@ -5447,7 +5447,7 @@ function F3(a, e, t) {
|
|
|
5447
5447
|
let S = D.value.map((N) => N[s.value]).indexOf(g.value[s.value]) + 1;
|
|
5448
5448
|
D.value.length <= S && (S = 0), b(D.value[S] || null);
|
|
5449
5449
|
}
|
|
5450
|
-
|
|
5450
|
+
Oe(() => {
|
|
5451
5451
|
B();
|
|
5452
5452
|
});
|
|
5453
5453
|
}, Y = () => {
|
|
@@ -5462,7 +5462,7 @@ function F3(a, e, t) {
|
|
|
5462
5462
|
let S = D.value.map((N) => N[s.value]).indexOf(g.value[s.value]) - 1;
|
|
5463
5463
|
S < 0 && (S = D.value.length - 1), b(D.value[S] || null);
|
|
5464
5464
|
}
|
|
5465
|
-
|
|
5465
|
+
Oe(() => {
|
|
5466
5466
|
B();
|
|
5467
5467
|
});
|
|
5468
5468
|
}, ie = (S) => K.value.find((N) => N.__VISIBLE__.map((pe) => pe[s.value]).indexOf(S[s.value]) !== -1), B = () => {
|
|
@@ -5480,7 +5480,7 @@ function F3(a, e, t) {
|
|
|
5480
5480
|
if (!N)
|
|
5481
5481
|
return;
|
|
5482
5482
|
let pe = N.parentElement.parentElement;
|
|
5483
|
-
|
|
5483
|
+
Oe(() => {
|
|
5484
5484
|
pe.scrollTop > 0 || (pe.scrollTop = N.offsetTop);
|
|
5485
5485
|
});
|
|
5486
5486
|
}
|
|
@@ -5753,7 +5753,7 @@ function K3(a, e, t) {
|
|
|
5753
5753
|
const { isIntersecting: A, target: g } = $[0];
|
|
5754
5754
|
if (A) {
|
|
5755
5755
|
const b = g.offsetParent, L = b.scrollTop;
|
|
5756
|
-
i.value += s.value == -1 ? 10 : s.value,
|
|
5756
|
+
i.value += s.value == -1 ? 10 : s.value, Oe(() => {
|
|
5757
5757
|
b.scrollTop = L;
|
|
5758
5758
|
});
|
|
5759
5759
|
}
|
|
@@ -6214,7 +6214,7 @@ function _5(a, e, t, s, n, o) {
|
|
|
6214
6214
|
onKeyup: e[12] || (e[12] = (...i) => a.handleKeyup && a.handleKeyup(...i)),
|
|
6215
6215
|
onKeydown: e[13] || (e[13] = (...i) => a.handleKeydown && a.handleKeydown(...i))
|
|
6216
6216
|
}, [
|
|
6217
|
-
f("div",
|
|
6217
|
+
f("div", Ie({
|
|
6218
6218
|
class: a.classList.wrapper,
|
|
6219
6219
|
onMousedown: e[9] || (e[9] = (...i) => a.handleMousedown && a.handleMousedown(...i)),
|
|
6220
6220
|
ref: "wrapper",
|
|
@@ -6227,7 +6227,7 @@ function _5(a, e, t, s, n, o) {
|
|
|
6227
6227
|
role: t.searchable ? void 0 : "combobox"
|
|
6228
6228
|
}, t.searchable ? {} : a.arias), [
|
|
6229
6229
|
k(" Search "),
|
|
6230
|
-
t.mode !== "tags" && t.searchable && !t.disabled ? (c(), m("input",
|
|
6230
|
+
t.mode !== "tags" && t.searchable && !t.disabled ? (c(), m("input", Ie({
|
|
6231
6231
|
key: 0,
|
|
6232
6232
|
type: t.inputType,
|
|
6233
6233
|
modelValue: a.search,
|
|
@@ -6319,7 +6319,7 @@ function _5(a, e, t, s, n, o) {
|
|
|
6319
6319
|
/* TEXT, CLASS */
|
|
6320
6320
|
),
|
|
6321
6321
|
k(" Actual search input "),
|
|
6322
|
-
t.searchable && !t.disabled ? (c(), m("input",
|
|
6322
|
+
t.searchable && !t.disabled ? (c(), m("input", Ie({
|
|
6323
6323
|
key: 0,
|
|
6324
6324
|
type: t.inputType,
|
|
6325
6325
|
modelValue: a.search,
|
|
@@ -6737,9 +6737,9 @@ async function Ue(a, e) {
|
|
|
6737
6737
|
if (s.length !== 1)
|
|
6738
6738
|
return;
|
|
6739
6739
|
const n = s[0].id;
|
|
6740
|
-
await
|
|
6740
|
+
await Oe();
|
|
6741
6741
|
const o = document.getElementById(n);
|
|
6742
|
-
o == null || o.focus(), await
|
|
6742
|
+
o == null || o.focus(), await Oe();
|
|
6743
6743
|
const i = document.getElementById(
|
|
6744
6744
|
n
|
|
6745
6745
|
);
|
|
@@ -7005,7 +7005,7 @@ const H5 = { class: "ao-comment" }, D5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7005
7005
|
e("remove");
|
|
7006
7006
|
}, $ = Q(2);
|
|
7007
7007
|
return hn(() => {
|
|
7008
|
-
|
|
7008
|
+
Oe(() => {
|
|
7009
7009
|
var A;
|
|
7010
7010
|
if (!o.value) {
|
|
7011
7011
|
const g = (A = n.value) == null ? void 0 : A.getClientRects().length;
|
|
@@ -7093,7 +7093,7 @@ const U5 = {
|
|
|
7093
7093
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
7094
7094
|
setup(a, { emit: e }) {
|
|
7095
7095
|
const t = a, s = (u) => t.users.find((p) => p.id === u), n = Q();
|
|
7096
|
-
|
|
7096
|
+
Oe(() => {
|
|
7097
7097
|
n.value && (n.value.scrollTop = n.value.scrollHeight);
|
|
7098
7098
|
});
|
|
7099
7099
|
const o = ft(t.newComment), i = y({
|
|
@@ -8460,7 +8460,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
|
|
|
8460
8460
|
]),
|
|
8461
8461
|
f("div", _9, [
|
|
8462
8462
|
f("div", g9, [
|
|
8463
|
-
T(F(Xe),
|
|
8463
|
+
T(F(Xe), Ie({
|
|
8464
8464
|
class: "ao-project-phase__milestones-list",
|
|
8465
8465
|
list: o.value,
|
|
8466
8466
|
disabled: !v.isEditable,
|
|
@@ -8679,7 +8679,7 @@ function D9(a, e, t, s, n, o) {
|
|
|
8679
8679
|
}, q(a.rightLabel), 3)
|
|
8680
8680
|
]);
|
|
8681
8681
|
}
|
|
8682
|
-
const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655"]]), P9 = { class: "ao-project
|
|
8682
|
+
const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655"]]), P9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, N9 = /* @__PURE__ */ x({
|
|
8683
8683
|
__name: "AoProjectOverviewProject",
|
|
8684
8684
|
props: {
|
|
8685
8685
|
project: {},
|
|
@@ -8739,8 +8739,8 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
|
|
|
8739
8739
|
return (E, J) => {
|
|
8740
8740
|
const de = mn("RouterView");
|
|
8741
8741
|
return c(), m(ve, null, [
|
|
8742
|
-
f("div",
|
|
8743
|
-
f("div",
|
|
8742
|
+
f("div", Ie({ class: "ao-project-overview" }, E.$attrs), [
|
|
8743
|
+
f("div", P9, [
|
|
8744
8744
|
T(r1, null, {
|
|
8745
8745
|
primary: j(() => [
|
|
8746
8746
|
T(Ba, {
|
|
@@ -8761,7 +8761,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
|
|
|
8761
8761
|
]),
|
|
8762
8762
|
_: 1
|
|
8763
8763
|
}),
|
|
8764
|
-
f("div",
|
|
8764
|
+
f("div", B9, [
|
|
8765
8765
|
T(T9, {
|
|
8766
8766
|
phases: E.phases,
|
|
8767
8767
|
"closed-status": E.closedStatus,
|
|
@@ -8808,7 +8808,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
|
|
|
8808
8808
|
onRemoveComment: D
|
|
8809
8809
|
}, null, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
|
|
8810
8810
|
]))
|
|
8811
|
-
]),
|
|
8811
|
+
], 16),
|
|
8812
8812
|
(c(), R(It, { to: "body" }, [
|
|
8813
8813
|
K.value ? (c(), R(L9, {
|
|
8814
8814
|
key: 0,
|
|
@@ -8822,34 +8822,34 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
|
|
|
8822
8822
|
};
|
|
8823
8823
|
}
|
|
8824
8824
|
});
|
|
8825
|
-
const
|
|
8825
|
+
const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
8826
8826
|
key: 1,
|
|
8827
8827
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
8828
|
-
},
|
|
8828
|
+
}, j9 = {
|
|
8829
8829
|
key: 2,
|
|
8830
8830
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
8831
|
-
},
|
|
8831
|
+
}, Z9 = { class: "ao-card-feed__body" }, F9 = {
|
|
8832
8832
|
key: 0,
|
|
8833
8833
|
class: "ao-card-feed__breadcrumbs"
|
|
8834
|
-
},
|
|
8834
|
+
}, q9 = {
|
|
8835
8835
|
key: 1,
|
|
8836
8836
|
class: "ao-card-feed__deadline"
|
|
8837
|
-
},
|
|
8837
|
+
}, z9 = { class: "ao-card-feed__footer" }, W9 = { class: "ao-card-feed__footer-row" }, Y9 = { class: "ao-assignees" }, K9 = {
|
|
8838
8838
|
key: 0,
|
|
8839
8839
|
class: "ao-assignee"
|
|
8840
|
-
},
|
|
8840
|
+
}, G9 = {
|
|
8841
8841
|
key: 0,
|
|
8842
8842
|
class: "ao-card-feed__subitems"
|
|
8843
|
-
},
|
|
8843
|
+
}, x9 = {
|
|
8844
8844
|
key: 0,
|
|
8845
8845
|
class: "ao-card-feed__subitem"
|
|
8846
|
-
},
|
|
8846
|
+
}, X9 = { class: "ao-card-feed__subitem" }, Q9 = {
|
|
8847
8847
|
key: 1,
|
|
8848
8848
|
class: "ao-card-feed__subitem"
|
|
8849
|
-
},
|
|
8849
|
+
}, J9 = { class: "ao-card-feed__subitem" }, e4 = { class: "ao-card-feed__footer-row" }, t4 = {
|
|
8850
8850
|
key: 0,
|
|
8851
8851
|
class: "ao-card-feed__progress-wrapper"
|
|
8852
|
-
},
|
|
8852
|
+
}, a4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */ x({
|
|
8853
8853
|
__name: "AoCardFeed",
|
|
8854
8854
|
props: {
|
|
8855
8855
|
id: {},
|
|
@@ -8891,7 +8891,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8891
8891
|
"is-clickable": !0
|
|
8892
8892
|
}, {
|
|
8893
8893
|
header: j(() => [
|
|
8894
|
-
f("div",
|
|
8894
|
+
f("div", R9, [
|
|
8895
8895
|
p.projectName ? (c(), R(E1, {
|
|
8896
8896
|
key: 0,
|
|
8897
8897
|
label: p.projectName,
|
|
@@ -8900,7 +8900,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8900
8900
|
color: p.projectColor ? void 0 : "primary",
|
|
8901
8901
|
"raw-color": p.projectColor
|
|
8902
8902
|
}, null, 8, ["label", "color", "raw-color"])) : k("", !0),
|
|
8903
|
-
p.isPrivate || p.important ? (c(), m("div",
|
|
8903
|
+
p.isPrivate || p.important ? (c(), m("div", U9, [
|
|
8904
8904
|
p.isPrivate ? (c(), R(ce, {
|
|
8905
8905
|
key: 0,
|
|
8906
8906
|
name: "Lock",
|
|
@@ -8914,14 +8914,14 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8914
8914
|
size: "sm"
|
|
8915
8915
|
})) : k("", !0)
|
|
8916
8916
|
])) : k("", !0),
|
|
8917
|
-
p.$slots.secondary ? (c(), m("div",
|
|
8917
|
+
p.$slots.secondary ? (c(), m("div", j9, [
|
|
8918
8918
|
ee(p.$slots, "secondary")
|
|
8919
8919
|
])) : k("", !0)
|
|
8920
8920
|
])
|
|
8921
8921
|
]),
|
|
8922
8922
|
default: j(() => [
|
|
8923
|
-
f("div",
|
|
8924
|
-
n.value ? (c(), m("span",
|
|
8923
|
+
f("div", Z9, [
|
|
8924
|
+
n.value ? (c(), m("span", F9, q(n.value), 1)) : k("", !0),
|
|
8925
8925
|
T(Ce, {
|
|
8926
8926
|
id: p.id,
|
|
8927
8927
|
title: p.name,
|
|
@@ -8929,17 +8929,17 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8929
8929
|
"is-editable": p.isEditable,
|
|
8930
8930
|
"onUpdate:title": s
|
|
8931
8931
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8932
|
-
p.deadline ? (c(), m("span",
|
|
8932
|
+
p.deadline ? (c(), m("span", q9, q(i.value), 1)) : k("", !0)
|
|
8933
8933
|
])
|
|
8934
8934
|
]),
|
|
8935
8935
|
footer: j(() => [
|
|
8936
|
-
f("div",
|
|
8937
|
-
f("div",
|
|
8938
|
-
f("ul",
|
|
8936
|
+
f("div", z9, [
|
|
8937
|
+
f("div", W9, [
|
|
8938
|
+
f("ul", Y9, [
|
|
8939
8939
|
(c(!0), m(ve, null, be(o.value, (w) => (c(), m(ve, {
|
|
8940
8940
|
key: w.id
|
|
8941
8941
|
}, [
|
|
8942
|
-
w ? (c(), m("li",
|
|
8942
|
+
w ? (c(), m("li", K9, [
|
|
8943
8943
|
T(_t, {
|
|
8944
8944
|
"user-name": l(w),
|
|
8945
8945
|
"avatar-url": w.avatarUrl,
|
|
@@ -8949,31 +8949,31 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8949
8949
|
])) : k("", !0)
|
|
8950
8950
|
], 64))), 128))
|
|
8951
8951
|
]),
|
|
8952
|
-
p.comments || p.attachments ? (c(), m("ul",
|
|
8953
|
-
p.comments ? (c(), m("li",
|
|
8952
|
+
p.comments || p.attachments ? (c(), m("ul", G9, [
|
|
8953
|
+
p.comments ? (c(), m("li", x9, [
|
|
8954
8954
|
T(ce, {
|
|
8955
8955
|
name: "ChatOutline",
|
|
8956
8956
|
size: "sm"
|
|
8957
8957
|
}),
|
|
8958
|
-
f("span",
|
|
8958
|
+
f("span", X9, q(p.comments), 1)
|
|
8959
8959
|
])) : k("", !0),
|
|
8960
|
-
p.attachments ? (c(), m("li",
|
|
8960
|
+
p.attachments ? (c(), m("li", Q9, [
|
|
8961
8961
|
T(ce, {
|
|
8962
8962
|
name: "AttachFileRounded",
|
|
8963
8963
|
size: "sm"
|
|
8964
8964
|
}),
|
|
8965
|
-
f("span",
|
|
8965
|
+
f("span", J9, q(p.attachments), 1)
|
|
8966
8966
|
])) : k("", !0)
|
|
8967
8967
|
])) : k("", !0)
|
|
8968
8968
|
]),
|
|
8969
|
-
f("div",
|
|
8970
|
-
p.tasks && p.tasks.length ? (c(), m("div",
|
|
8971
|
-
f("div",
|
|
8969
|
+
f("div", e4, [
|
|
8970
|
+
p.tasks && p.tasks.length ? (c(), m("div", t4, [
|
|
8971
|
+
f("div", a4, [
|
|
8972
8972
|
T(ce, {
|
|
8973
8973
|
name: "SelectCheckBox",
|
|
8974
8974
|
size: "sm"
|
|
8975
8975
|
}),
|
|
8976
|
-
f("span",
|
|
8976
|
+
f("span", n4, q(u.value) + " / " + q(d.value), 1)
|
|
8977
8977
|
]),
|
|
8978
8978
|
T(U1, {
|
|
8979
8979
|
percentages: v.value,
|
|
@@ -8987,7 +8987,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
|
|
|
8987
8987
|
}));
|
|
8988
8988
|
}
|
|
8989
8989
|
});
|
|
8990
|
-
const
|
|
8990
|
+
const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-milestone__header" }, o4 = { class: "ao-project-milestone__title" }, l4 = { class: "ao-project-milestone__body" }, r4 = {
|
|
8991
8991
|
key: 0,
|
|
8992
8992
|
class: "ao-project-milestone__footer"
|
|
8993
8993
|
}, ra = /* @__PURE__ */ x({
|
|
@@ -9042,9 +9042,9 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9042
9042
|
};
|
|
9043
9043
|
return (p, C) => {
|
|
9044
9044
|
var w;
|
|
9045
|
-
return c(), m("div",
|
|
9046
|
-
f("header",
|
|
9047
|
-
f("div",
|
|
9045
|
+
return c(), m("div", s4, [
|
|
9046
|
+
f("header", i4, [
|
|
9047
|
+
f("div", o4, [
|
|
9048
9048
|
f("span", null, q(p.$t("project.milestone.title")), 1),
|
|
9049
9049
|
T(Ce, {
|
|
9050
9050
|
title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
|
|
@@ -9057,8 +9057,8 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9057
9057
|
onClick: r
|
|
9058
9058
|
})
|
|
9059
9059
|
]),
|
|
9060
|
-
f("div",
|
|
9061
|
-
T(F(Xe),
|
|
9060
|
+
f("div", l4, [
|
|
9061
|
+
T(F(Xe), Ie({
|
|
9062
9062
|
class: "ao-project-milestone__activities",
|
|
9063
9063
|
list: l.value,
|
|
9064
9064
|
disabled: !p.isEditable,
|
|
@@ -9110,7 +9110,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9110
9110
|
}),
|
|
9111
9111
|
_: 1
|
|
9112
9112
|
}, 16, ["list", "disabled"]),
|
|
9113
|
-
p.isEditable ? (c(), m("div",
|
|
9113
|
+
p.isEditable ? (c(), m("div", r4, [
|
|
9114
9114
|
T(Qe, {
|
|
9115
9115
|
"icon-name": "Add",
|
|
9116
9116
|
label: p.$t("project.activity.add"),
|
|
@@ -9122,7 +9122,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
9122
9122
|
};
|
|
9123
9123
|
}
|
|
9124
9124
|
});
|
|
9125
|
-
const
|
|
9125
|
+
const u4 = /* @__PURE__ */ x({
|
|
9126
9126
|
__name: "AoProjectOverviewActivityDetails",
|
|
9127
9127
|
props: {
|
|
9128
9128
|
phaseId: {},
|
|
@@ -9205,14 +9205,14 @@ const d4 = /* @__PURE__ */ x({
|
|
|
9205
9205
|
}, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
|
|
9206
9206
|
};
|
|
9207
9207
|
}
|
|
9208
|
-
}),
|
|
9208
|
+
}), d4 = { class: "ao-col-header" }, c4 = /* @__PURE__ */ x({
|
|
9209
9209
|
__name: "AoColHeader",
|
|
9210
9210
|
props: {
|
|
9211
9211
|
title: {},
|
|
9212
9212
|
items: {}
|
|
9213
9213
|
},
|
|
9214
9214
|
setup(a) {
|
|
9215
|
-
return (e, t) => (c(), m("header",
|
|
9215
|
+
return (e, t) => (c(), m("header", d4, [
|
|
9216
9216
|
T(Ce, {
|
|
9217
9217
|
title: e.title,
|
|
9218
9218
|
class: "ao-col-header__title",
|
|
@@ -9228,15 +9228,15 @@ const d4 = /* @__PURE__ */ x({
|
|
|
9228
9228
|
]));
|
|
9229
9229
|
}
|
|
9230
9230
|
});
|
|
9231
|
-
function
|
|
9231
|
+
function f4(a) {
|
|
9232
9232
|
return Cn() ? (_n(a), !0) : !1;
|
|
9233
9233
|
}
|
|
9234
9234
|
function Jt(a) {
|
|
9235
9235
|
return typeof a == "function" ? a() : F(a);
|
|
9236
9236
|
}
|
|
9237
|
-
const
|
|
9237
|
+
const v4 = typeof window < "u", p4 = (a) => a != null, Tt = () => {
|
|
9238
9238
|
};
|
|
9239
|
-
function
|
|
9239
|
+
function h4(a, e) {
|
|
9240
9240
|
function t(...s) {
|
|
9241
9241
|
return new Promise((n, o) => {
|
|
9242
9242
|
Promise.resolve(a(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -9244,7 +9244,7 @@ function m4(a, e) {
|
|
|
9244
9244
|
}
|
|
9245
9245
|
return t;
|
|
9246
9246
|
}
|
|
9247
|
-
function
|
|
9247
|
+
function m4(a, e = {}) {
|
|
9248
9248
|
let t, s, n = Tt;
|
|
9249
9249
|
const o = (l) => {
|
|
9250
9250
|
clearTimeout(l), n(), n = Tt;
|
|
@@ -9260,9 +9260,9 @@ function C4(a, e = {}) {
|
|
|
9260
9260
|
});
|
|
9261
9261
|
};
|
|
9262
9262
|
}
|
|
9263
|
-
function
|
|
9264
|
-
return
|
|
9265
|
-
|
|
9263
|
+
function C4(a, e = 200, t = {}) {
|
|
9264
|
+
return h4(
|
|
9265
|
+
m4(e, t),
|
|
9266
9266
|
a
|
|
9267
9267
|
);
|
|
9268
9268
|
}
|
|
@@ -9271,27 +9271,27 @@ function M1(a) {
|
|
|
9271
9271
|
const t = Jt(a);
|
|
9272
9272
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
9273
9273
|
}
|
|
9274
|
-
const
|
|
9275
|
-
function
|
|
9274
|
+
const _4 = v4 ? window : void 0;
|
|
9275
|
+
function g4() {
|
|
9276
9276
|
const a = Q(!1);
|
|
9277
9277
|
return nt() && Ht(() => {
|
|
9278
9278
|
a.value = !0;
|
|
9279
9279
|
}), a;
|
|
9280
9280
|
}
|
|
9281
|
-
function
|
|
9282
|
-
const e =
|
|
9281
|
+
function b4(a) {
|
|
9282
|
+
const e = g4();
|
|
9283
9283
|
return y(() => (e.value, !!a()));
|
|
9284
9284
|
}
|
|
9285
|
-
function
|
|
9285
|
+
function y4(a, e, t = {}) {
|
|
9286
9286
|
const {
|
|
9287
9287
|
root: s,
|
|
9288
9288
|
rootMargin: n = "0px",
|
|
9289
9289
|
threshold: o = 0.1,
|
|
9290
|
-
window: i =
|
|
9290
|
+
window: i = _4,
|
|
9291
9291
|
immediate: l = !0
|
|
9292
|
-
} = t, r =
|
|
9292
|
+
} = t, r = b4(() => i && "IntersectionObserver" in i), d = y(() => {
|
|
9293
9293
|
const w = Jt(a);
|
|
9294
|
-
return (Array.isArray(w) ? w : [w]).map(M1).filter(
|
|
9294
|
+
return (Array.isArray(w) ? w : [w]).map(M1).filter(p4);
|
|
9295
9295
|
});
|
|
9296
9296
|
let u = Tt;
|
|
9297
9297
|
const v = Q(l), p = r.value ? ue(
|
|
@@ -9315,7 +9315,7 @@ function w4(a, e, t = {}) {
|
|
|
9315
9315
|
) : Tt, C = () => {
|
|
9316
9316
|
u(), p(), v.value = !1;
|
|
9317
9317
|
};
|
|
9318
|
-
return
|
|
9318
|
+
return f4(C), {
|
|
9319
9319
|
isSupported: r,
|
|
9320
9320
|
isActive: v,
|
|
9321
9321
|
pause() {
|
|
@@ -9327,24 +9327,24 @@ function w4(a, e, t = {}) {
|
|
|
9327
9327
|
stop: C
|
|
9328
9328
|
};
|
|
9329
9329
|
}
|
|
9330
|
-
const
|
|
9330
|
+
const w4 = {
|
|
9331
9331
|
class: /* @__PURE__ */ G(["ao-list-kanban"])
|
|
9332
|
-
},
|
|
9332
|
+
}, $4 = { class: "ao-list-kanban__header" }, M4 = {
|
|
9333
9333
|
key: 0,
|
|
9334
9334
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
9335
|
-
},
|
|
9335
|
+
}, k4 = {
|
|
9336
9336
|
key: 1,
|
|
9337
9337
|
class: "ao-list-kanban__end"
|
|
9338
|
-
},
|
|
9338
|
+
}, A4 = {
|
|
9339
9339
|
key: 0,
|
|
9340
9340
|
class: "ao-list-kanban__no-more"
|
|
9341
|
-
},
|
|
9341
|
+
}, T4 = {
|
|
9342
9342
|
key: 1,
|
|
9343
9343
|
class: "ao-list-kanban__divider"
|
|
9344
|
-
},
|
|
9344
|
+
}, S4 = {
|
|
9345
9345
|
key: 1,
|
|
9346
9346
|
class: "ao-list-kanban__footer"
|
|
9347
|
-
},
|
|
9347
|
+
}, E4 = /* @__PURE__ */ x({
|
|
9348
9348
|
__name: "AoListKanban",
|
|
9349
9349
|
props: {
|
|
9350
9350
|
list: {},
|
|
@@ -9360,7 +9360,7 @@ const $4 = {
|
|
|
9360
9360
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
|
|
9361
9361
|
setup(a, { emit: e }) {
|
|
9362
9362
|
const t = a, s = Q(!1), n = Q(null);
|
|
9363
|
-
|
|
9363
|
+
y4(n, ([{ isIntersecting: r }]) => {
|
|
9364
9364
|
s.value = r;
|
|
9365
9365
|
}), ue(s, (r) => {
|
|
9366
9366
|
r && t.hasMore && !t.isLoading && e("loadMore");
|
|
@@ -9383,12 +9383,12 @@ const $4 = {
|
|
|
9383
9383
|
)
|
|
9384
9384
|
});
|
|
9385
9385
|
};
|
|
9386
|
-
return (r, d) => (c(), m("div",
|
|
9386
|
+
return (r, d) => (c(), m("div", w4, [
|
|
9387
9387
|
r.title || r.$slots.header ? ee(r.$slots, "header", { key: 0 }, () => {
|
|
9388
9388
|
var u;
|
|
9389
9389
|
return [
|
|
9390
|
-
f("div",
|
|
9391
|
-
r.title ? (c(), R(
|
|
9390
|
+
f("div", $4, [
|
|
9391
|
+
r.title ? (c(), R(c4, {
|
|
9392
9392
|
key: 0,
|
|
9393
9393
|
title: r.title,
|
|
9394
9394
|
level: 3,
|
|
@@ -9397,7 +9397,7 @@ const $4 = {
|
|
|
9397
9397
|
])
|
|
9398
9398
|
];
|
|
9399
9399
|
}) : k("", !0),
|
|
9400
|
-
T(F(Xe),
|
|
9400
|
+
T(F(Xe), Ie({
|
|
9401
9401
|
class: "ao-list-kanban__list",
|
|
9402
9402
|
list: r.list,
|
|
9403
9403
|
"item-key": "id",
|
|
@@ -9453,20 +9453,20 @@ const $4 = {
|
|
|
9453
9453
|
];
|
|
9454
9454
|
}),
|
|
9455
9455
|
footer: j(() => [
|
|
9456
|
-
r.isLoading ? (c(), m("div",
|
|
9456
|
+
r.isLoading ? (c(), m("div", M4, [
|
|
9457
9457
|
T(ce, { name: "Loading" })
|
|
9458
9458
|
])) : r.hasMore ? (c(), m("div", {
|
|
9459
9459
|
key: 2,
|
|
9460
9460
|
ref_key: "scrollEnd",
|
|
9461
9461
|
ref: n,
|
|
9462
9462
|
class: "ao-list-kanban__end"
|
|
9463
|
-
}, null, 512)) : (c(), m("div",
|
|
9464
|
-
r.noMoreLabel ? (c(), m("span",
|
|
9463
|
+
}, null, 512)) : (c(), m("div", k4, [
|
|
9464
|
+
r.noMoreLabel ? (c(), m("span", A4, q(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", T4)) : k("", !0)
|
|
9465
9465
|
]))
|
|
9466
9466
|
]),
|
|
9467
9467
|
_: 1
|
|
9468
9468
|
}, 16, ["list", "disabled"]),
|
|
9469
|
-
r.$slots.footer || r.footerLabel ? (c(), m("div",
|
|
9469
|
+
r.$slots.footer || r.footerLabel ? (c(), m("div", S4, [
|
|
9470
9470
|
ee(r.$slots, "footer", {}, () => [
|
|
9471
9471
|
r.isEditable ? (c(), R(Qe, {
|
|
9472
9472
|
key: 0,
|
|
@@ -9479,7 +9479,7 @@ const $4 = {
|
|
|
9479
9479
|
]));
|
|
9480
9480
|
}
|
|
9481
9481
|
});
|
|
9482
|
-
const
|
|
9482
|
+
const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ x({
|
|
9483
9483
|
__name: "AoSearchField",
|
|
9484
9484
|
props: {
|
|
9485
9485
|
modelValue: {},
|
|
@@ -9491,10 +9491,10 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
9491
9491
|
const t = a, s = async (i) => {
|
|
9492
9492
|
const r = i.target.value;
|
|
9493
9493
|
e("update:modelValue", r, i);
|
|
9494
|
-
}, n =
|
|
9494
|
+
}, n = C4(s, t.delay), o = (i) => {
|
|
9495
9495
|
e("clear", i);
|
|
9496
9496
|
};
|
|
9497
|
-
return (i, l) => (c(), m("div",
|
|
9497
|
+
return (i, l) => (c(), m("div", I4, [
|
|
9498
9498
|
f("input", {
|
|
9499
9499
|
value: i.modelValue,
|
|
9500
9500
|
type: "text",
|
|
@@ -9503,7 +9503,7 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
9503
9503
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
9504
9504
|
(...r) => F(n) && F(n)(...r)),
|
|
9505
9505
|
onKeypress: Ye(s, ["enter"])
|
|
9506
|
-
}, null, 40,
|
|
9506
|
+
}, null, 40, O4),
|
|
9507
9507
|
T(ce, {
|
|
9508
9508
|
name: "SearchRounded",
|
|
9509
9509
|
class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -9519,7 +9519,7 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
9519
9519
|
]));
|
|
9520
9520
|
}
|
|
9521
9521
|
});
|
|
9522
|
-
function
|
|
9522
|
+
function V4(a) {
|
|
9523
9523
|
const e = Q(), t = y(
|
|
9524
9524
|
() => a.value.find(
|
|
9525
9525
|
(n) => n.id === e.value
|
|
@@ -9533,21 +9533,21 @@ function H4(a) {
|
|
|
9533
9533
|
}
|
|
9534
9534
|
};
|
|
9535
9535
|
}
|
|
9536
|
-
const
|
|
9537
|
-
function
|
|
9538
|
-
const e =
|
|
9539
|
-
return gn(
|
|
9536
|
+
const H4 = Symbol.for("FeedStore");
|
|
9537
|
+
function D4(a) {
|
|
9538
|
+
const e = V4(a);
|
|
9539
|
+
return gn(H4, e), e;
|
|
9540
9540
|
}
|
|
9541
|
-
const
|
|
9541
|
+
const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { class: "ao-feed__body" }, R4 = { class: "ao-feed__activity-details__header" }, U4 = {
|
|
9542
9542
|
key: 0,
|
|
9543
9543
|
class: "ao-field ao-feed__activity-details__project"
|
|
9544
|
-
},
|
|
9544
|
+
}, j4 = { class: "ao-field__label" }, Z4 = {
|
|
9545
9545
|
key: 1,
|
|
9546
9546
|
class: "ao-field ao-feed__activity-details__project"
|
|
9547
|
-
},
|
|
9547
|
+
}, F4 = { class: "ao-field__label" }, q4 = {
|
|
9548
9548
|
key: 2,
|
|
9549
9549
|
class: "ao-field ao-feed__activity-details__status"
|
|
9550
|
-
},
|
|
9550
|
+
}, z4 = { class: "ao-field__label" }, W4 = { class: "ao-field__row" }, Y4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = /* @__PURE__ */ x({
|
|
9551
9551
|
__name: "AoFeed",
|
|
9552
9552
|
props: {
|
|
9553
9553
|
activities: {},
|
|
@@ -9566,7 +9566,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9566
9566
|
},
|
|
9567
9567
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9568
9568
|
setup(a, { emit: e }) {
|
|
9569
|
-
const t = a, { t: s } = st(), n = ft(t, "activities"), { selectActivity: o, selectedActivity: i } =
|
|
9569
|
+
const t = a, { t: s } = st(), n = ft(t, "activities"), { selectActivity: o, selectedActivity: i } = D4(n), l = (M) => {
|
|
9570
9570
|
o(M), e("selectActivity", M);
|
|
9571
9571
|
}, r = Q({}), d = Q(!1), u = Q(!1);
|
|
9572
9572
|
ue(
|
|
@@ -9687,10 +9687,10 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9687
9687
|
};
|
|
9688
9688
|
return (M, Y) => {
|
|
9689
9689
|
var ie;
|
|
9690
|
-
return c(), m("div",
|
|
9690
|
+
return c(), m("div", P4, [
|
|
9691
9691
|
T(r1, null, {
|
|
9692
9692
|
primary: j(() => [
|
|
9693
|
-
f("div",
|
|
9693
|
+
f("div", B4, [
|
|
9694
9694
|
t.project ? (c(), R(Ba, {
|
|
9695
9695
|
key: 0,
|
|
9696
9696
|
"is-left": !1,
|
|
@@ -9700,7 +9700,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9700
9700
|
B && M.$router.push({ name: F(Re).project });
|
|
9701
9701
|
})
|
|
9702
9702
|
}, null, 8, ["right-label", "left-label"])) : k("", !0),
|
|
9703
|
-
T(
|
|
9703
|
+
T(L4, {
|
|
9704
9704
|
"model-value": M.searchText,
|
|
9705
9705
|
placeholder: M.$t("feed.search.placeholder"),
|
|
9706
9706
|
class: "ao-feed__search",
|
|
@@ -9765,8 +9765,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9765
9765
|
]),
|
|
9766
9766
|
_: 1
|
|
9767
9767
|
}),
|
|
9768
|
-
f("div",
|
|
9769
|
-
(c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(
|
|
9768
|
+
f("div", N4, [
|
|
9769
|
+
(c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(E4, {
|
|
9770
9770
|
key: B.id,
|
|
9771
9771
|
status: B,
|
|
9772
9772
|
list: r.value[B.id],
|
|
@@ -9807,9 +9807,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9807
9807
|
header: j(() => {
|
|
9808
9808
|
var B, S, N;
|
|
9809
9809
|
return [
|
|
9810
|
-
f("div",
|
|
9811
|
-
re.value && !t.project ? (c(), m("label",
|
|
9812
|
-
f("span",
|
|
9810
|
+
f("div", R4, [
|
|
9811
|
+
re.value && !t.project ? (c(), m("label", U4, [
|
|
9812
|
+
f("span", j4, q(M.$t("activity.project.label")), 1),
|
|
9813
9813
|
T(ye, {
|
|
9814
9814
|
options: re.value,
|
|
9815
9815
|
value: (B = F(i).project) == null ? void 0 : B.id,
|
|
@@ -9819,8 +9819,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9819
9819
|
onChange: I
|
|
9820
9820
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9821
9821
|
])) : k("", !0),
|
|
9822
|
-
oe.value ? (c(), m("label",
|
|
9823
|
-
f("span",
|
|
9822
|
+
oe.value ? (c(), m("label", Z4, [
|
|
9823
|
+
f("span", F4, q(M.$t("activity.milestone.label")), 1),
|
|
9824
9824
|
T(ye, {
|
|
9825
9825
|
options: oe.value,
|
|
9826
9826
|
value: (S = F(i).milestone) == null ? void 0 : S.id,
|
|
@@ -9830,8 +9830,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9830
9830
|
onChange: V
|
|
9831
9831
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9832
9832
|
])) : k("", !0),
|
|
9833
|
-
Z.value ? (c(), m("label",
|
|
9834
|
-
f("span",
|
|
9833
|
+
Z.value ? (c(), m("label", q4, [
|
|
9834
|
+
f("span", z4, q(M.$t("activity.status.label")), 1),
|
|
9835
9835
|
T(ye, {
|
|
9836
9836
|
options: Z.value,
|
|
9837
9837
|
value: (N = F(i).status) == null ? void 0 : N.id,
|
|
@@ -9846,9 +9846,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
|
|
|
9846
9846
|
];
|
|
9847
9847
|
}),
|
|
9848
9848
|
default: j(() => [
|
|
9849
|
-
f("div",
|
|
9850
|
-
f("label",
|
|
9851
|
-
f("span",
|
|
9849
|
+
f("div", W4, [
|
|
9850
|
+
f("label", Y4, [
|
|
9851
|
+
f("span", K4, q(M.$t("activity.deadline.label")), 1),
|
|
9852
9852
|
et(f("input", {
|
|
9853
9853
|
"onUpdate:modelValue": Y[5] || (Y[5] = (B) => W.value = B),
|
|
9854
9854
|
class: "ao-field__input",
|
|
@@ -9875,7 +9875,7 @@ const St = {
|
|
|
9875
9875
|
TEMPLATES: "templates",
|
|
9876
9876
|
TEMPLATE_DETAILS: "template_details",
|
|
9877
9877
|
TEMPLATES_LIST: "templates_list"
|
|
9878
|
-
},
|
|
9878
|
+
}, o8 = (a, e = {}) => [
|
|
9879
9879
|
{
|
|
9880
9880
|
path: a,
|
|
9881
9881
|
name: St.TEMPLATES,
|
|
@@ -9884,7 +9884,7 @@ const St = {
|
|
|
9884
9884
|
{
|
|
9885
9885
|
path: "",
|
|
9886
9886
|
name: St.TEMPLATES_LIST,
|
|
9887
|
-
component:
|
|
9887
|
+
component: X4
|
|
9888
9888
|
},
|
|
9889
9889
|
{
|
|
9890
9890
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -9899,7 +9899,7 @@ const St = {
|
|
|
9899
9899
|
feed: "AoProjectFeed",
|
|
9900
9900
|
milestone: "AoMilestone",
|
|
9901
9901
|
activity: "AoActivity"
|
|
9902
|
-
},
|
|
9902
|
+
}, l8 = (a, e = {}) => [
|
|
9903
9903
|
{
|
|
9904
9904
|
path: a,
|
|
9905
9905
|
...e,
|
|
@@ -9907,7 +9907,7 @@ const St = {
|
|
|
9907
9907
|
{
|
|
9908
9908
|
path: "",
|
|
9909
9909
|
name: Re.project,
|
|
9910
|
-
component:
|
|
9910
|
+
component: N9,
|
|
9911
9911
|
props: !0,
|
|
9912
9912
|
children: [
|
|
9913
9913
|
{
|
|
@@ -9922,7 +9922,7 @@ const St = {
|
|
|
9922
9922
|
props: { default: !0, modal: !0 },
|
|
9923
9923
|
components: {
|
|
9924
9924
|
default: ra,
|
|
9925
|
-
modal:
|
|
9925
|
+
modal: u4
|
|
9926
9926
|
}
|
|
9927
9927
|
}
|
|
9928
9928
|
]
|
|
@@ -9930,12 +9930,12 @@ const St = {
|
|
|
9930
9930
|
{
|
|
9931
9931
|
path: "feed",
|
|
9932
9932
|
name: Re.feed,
|
|
9933
|
-
component:
|
|
9933
|
+
component: G4,
|
|
9934
9934
|
props: !0
|
|
9935
9935
|
}
|
|
9936
9936
|
]
|
|
9937
9937
|
}
|
|
9938
|
-
],
|
|
9938
|
+
], x4 = { class: "ao-templates" }, X4 = /* @__PURE__ */ x({
|
|
9939
9939
|
__name: "AoTemplatesList",
|
|
9940
9940
|
props: {
|
|
9941
9941
|
templates: {}
|
|
@@ -9975,7 +9975,7 @@ const St = {
|
|
|
9975
9975
|
});
|
|
9976
9976
|
}
|
|
9977
9977
|
};
|
|
9978
|
-
return (l, r) => (c(), m("div",
|
|
9978
|
+
return (l, r) => (c(), m("div", x4, [
|
|
9979
9979
|
T(r1, null, {
|
|
9980
9980
|
secondary: j(() => [
|
|
9981
9981
|
T(fe, {
|
|
@@ -10020,17 +10020,17 @@ const St = {
|
|
|
10020
10020
|
}
|
|
10021
10021
|
});
|
|
10022
10022
|
export {
|
|
10023
|
-
|
|
10023
|
+
G4 as AoFeed,
|
|
10024
10024
|
x7 as AoTemplateDetails,
|
|
10025
|
-
|
|
10026
|
-
|
|
10025
|
+
a8 as AoTemplates,
|
|
10026
|
+
X4 as AoTemplatesList,
|
|
10027
10027
|
$d as TemplateItemTypeEnum,
|
|
10028
|
-
|
|
10029
|
-
|
|
10028
|
+
s8 as activityFeedStatus,
|
|
10029
|
+
n8 as durationTypes,
|
|
10030
10030
|
dt as feedFilterTypes,
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
|
|
10031
|
+
l8 as getProjectOverviewRoutes,
|
|
10032
|
+
o8 as getTemplateRoutes,
|
|
10033
|
+
i8 as listUpdateTypes,
|
|
10034
10034
|
k1 as milestoneStatus,
|
|
10035
10035
|
Re as projectOverviewRoutes,
|
|
10036
10036
|
bd as ruleComparators,
|