@26lights/orcha 0.12.9 → 0.13.0
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/locales/en/translation.json +2 -0
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +102 -98
- package/dist/orcha.umd.js +1 -1
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, openBlock as v, createBlock as N, unref as F, mergeProps as Ve, createElementBlock as h, createElementVNode as f, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as b, resolveDynamicComponent as tt, normalizeClass as K, renderSlot as te, toDisplayString as
|
|
1
|
+
import { defineComponent as G, openBlock as v, createBlock as N, unref as F, mergeProps as Ve, createElementBlock as h, createElementVNode as f, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as b, resolveDynamicComponent as tt, normalizeClass as K, renderSlot as te, toDisplayString as z, createCommentVNode as T, ref as J, watch as re, nextTick as Ee, withKeys as Ye, toHandlers as cn, withCtx as U, createTextVNode as e1, createVNode as k, normalizeStyle as ra, withModifiers as _e, createSlots as t1, Fragment as fe, renderList as ye, onMounted as Dt, onBeforeUnmount as dn, onUnmounted as ua, toRefs as $e, getCurrentInstance as at, toRef as dt, normalizeProps as fn, guardReactiveProps as vn, onUpdated as pn, withDirectives as ft, vModelText as Et, vModelCheckbox as hn, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
|
|
2
2
|
import { RouterView as yn } from "vue-router";
|
|
3
3
|
import Xe from "vuedraggable";
|
|
4
4
|
const z4 = /* @__PURE__ */ G({
|
|
@@ -1180,7 +1180,7 @@ const nc = ["type"], sc = {
|
|
|
1180
1180
|
])
|
|
1181
1181
|
}, [
|
|
1182
1182
|
te(n.$slots, "default", {}, () => [
|
|
1183
|
-
n.label ? (v(), h("span", sc,
|
|
1183
|
+
n.label ? (v(), h("span", sc, z(n.label), 1)) : T("", !0)
|
|
1184
1184
|
]),
|
|
1185
1185
|
s.value ? (v(), N(de, {
|
|
1186
1186
|
key: 0,
|
|
@@ -1276,7 +1276,7 @@ const me = /* @__PURE__ */ G({
|
|
|
1276
1276
|
onKeydown: Ye(F(d), ["esc"])
|
|
1277
1277
|
}), {
|
|
1278
1278
|
default: U(() => [
|
|
1279
|
-
e1(
|
|
1279
|
+
e1(z(M.title), 1)
|
|
1280
1280
|
]),
|
|
1281
1281
|
_: 1
|
|
1282
1282
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1348,7 +1348,7 @@ const ic = {
|
|
|
1348
1348
|
"onUpdate:title": t
|
|
1349
1349
|
}, null, 8, ["id", "title"]),
|
|
1350
1350
|
te(s.$slots, "subtitle", {}, () => [
|
|
1351
|
-
s.subtitle ? (v(), h("span", uc,
|
|
1351
|
+
s.subtitle ? (v(), h("span", uc, z(s.subtitle), 1)) : T("", !0)
|
|
1352
1352
|
])
|
|
1353
1353
|
]),
|
|
1354
1354
|
s.$slots.header ? (v(), h("div", cc, [
|
|
@@ -1398,7 +1398,7 @@ const E1 = /* @__PURE__ */ G({
|
|
|
1398
1398
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
1399
1399
|
}), {
|
|
1400
1400
|
default: U(() => [
|
|
1401
|
-
e1(
|
|
1401
|
+
e1(z(n.label), 1)
|
|
1402
1402
|
]),
|
|
1403
1403
|
_: 1
|
|
1404
1404
|
}, 16)),
|
|
@@ -3644,7 +3644,7 @@ const l3 = ["title"], r3 = { className: "ao-avatar__initials" }, _t = /* @__PURE
|
|
|
3644
3644
|
class: K(["ao-avatar", `ao-avatar--${o.size}`]),
|
|
3645
3645
|
title: o.userName
|
|
3646
3646
|
}, [
|
|
3647
|
-
f("span", r3,
|
|
3647
|
+
f("span", r3, z(F(s)), 1),
|
|
3648
3648
|
o.isClosable ? (v(), N(ce, {
|
|
3649
3649
|
key: 0,
|
|
3650
3650
|
"icon-name": "CloseRounded",
|
|
@@ -3694,14 +3694,14 @@ const u3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
|
|
|
3694
3694
|
name: "MountainFlagOutlineRounded",
|
|
3695
3695
|
size: "sm"
|
|
3696
3696
|
}),
|
|
3697
|
-
f("span", d3,
|
|
3697
|
+
f("span", d3, z(s.milestones), 1)
|
|
3698
3698
|
]),
|
|
3699
3699
|
f("li", f3, [
|
|
3700
3700
|
k(de, {
|
|
3701
3701
|
name: "TaskOutlineRounded",
|
|
3702
3702
|
size: "sm"
|
|
3703
3703
|
}),
|
|
3704
|
-
f("span", v3,
|
|
3704
|
+
f("span", v3, z(s.activities), 1)
|
|
3705
3705
|
])
|
|
3706
3706
|
])
|
|
3707
3707
|
]),
|
|
@@ -3713,7 +3713,7 @@ const u3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
|
|
|
3713
3713
|
name: "WaterfallChartRounded",
|
|
3714
3714
|
size: "sm"
|
|
3715
3715
|
}),
|
|
3716
|
-
f("span", C3,
|
|
3716
|
+
f("span", C3, z(s.$t("template.phases.title")), 1)
|
|
3717
3717
|
]),
|
|
3718
3718
|
s.phases ? (v(), h("ul", _3, [
|
|
3719
3719
|
(v(!0), h(fe, null, ye(s.phases, (o) => (v(), N(E1, {
|
|
@@ -3734,15 +3734,15 @@ const u3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
|
|
|
3734
3734
|
f("div", g3, [
|
|
3735
3735
|
s.updatedAt ? (v(), h("div", y3, [
|
|
3736
3736
|
f("div", b3, [
|
|
3737
|
-
f("span", w3,
|
|
3737
|
+
f("span", w3, z(s.$t("template.updatedAt.label")), 1)
|
|
3738
3738
|
]),
|
|
3739
3739
|
f("div", $3, [
|
|
3740
|
-
f("span", null,
|
|
3740
|
+
f("span", null, z(s.updatedAt), 1)
|
|
3741
3741
|
])
|
|
3742
3742
|
])) : T("", !0),
|
|
3743
3743
|
s.updatedBy ? (v(), h("div", M3, [
|
|
3744
3744
|
f("div", k3, [
|
|
3745
|
-
f("span", A3,
|
|
3745
|
+
f("span", A3, z(s.$t("template.updatedBy.label")), 1)
|
|
3746
3746
|
]),
|
|
3747
3747
|
f("div", S3, [
|
|
3748
3748
|
k(_t, { "user-name": s.updatedBy }, null, 8, ["user-name"])
|
|
@@ -3808,7 +3808,7 @@ const L3 = ["type"], V3 = {
|
|
|
3808
3808
|
])
|
|
3809
3809
|
}, [
|
|
3810
3810
|
te(n.$slots, "default", {}, () => [
|
|
3811
|
-
n.label ? (v(), h("span", V3,
|
|
3811
|
+
n.label ? (v(), h("span", V3, z(n.label), 1)) : T("", !0)
|
|
3812
3812
|
]),
|
|
3813
3813
|
s.value ? (v(), N(de, {
|
|
3814
3814
|
key: 0,
|
|
@@ -3851,7 +3851,7 @@ const D3 = { class: "ao-card-template-item__footer" }, H3 = {
|
|
|
3851
3851
|
name: n[r],
|
|
3852
3852
|
size: "sm"
|
|
3853
3853
|
}, null, 8, ["name"]),
|
|
3854
|
-
f("span", P3,
|
|
3854
|
+
f("span", P3, z(i.$props[r]), 1)
|
|
3855
3855
|
])) : T("", !0)
|
|
3856
3856
|
], 64))), 64))
|
|
3857
3857
|
])
|
|
@@ -5084,7 +5084,7 @@ function H0(a, e, t) {
|
|
|
5084
5084
|
disabledProp: $,
|
|
5085
5085
|
searchStart: Y,
|
|
5086
5086
|
searchFilter: he
|
|
5087
|
-
} = $e(a),
|
|
5087
|
+
} = $e(a), W = at().proxy, Z = t.iv, E = t.ev, j = t.search, Ce = t.clearSearch, Pe = t.update, Na = t.pointer, st = t.clearPointer, Ra = t.focus, ja = t.deactivate, it = t.close, Ua = t.localize, gt = J([]), Fe = J([]), Ie = J(!1), f1 = J(null), v1 = J(le.value && i.value === -1 ? 10 : i.value), U1 = b(() => r.value || c.value || !1), Za = b(() => d.value !== void 0 ? d.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
|
|
5088
5088
|
if (ue.value) {
|
|
5089
5089
|
let m = Rt.value || /* istanbul ignore next */
|
|
5090
5090
|
[], H = [];
|
|
@@ -5144,7 +5144,7 @@ function H0(a, e, t) {
|
|
|
5144
5144
|
case "tags":
|
|
5145
5145
|
return !Le(Z.value) && Z.value.length > 0;
|
|
5146
5146
|
}
|
|
5147
|
-
}), qa = b(() => C !== void 0 && C.value !== void 0 ? C.value(Z.value,
|
|
5147
|
+
}), qa = b(() => C !== void 0 && C.value !== void 0 ? C.value(Z.value, W) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), Wa = b(() => !qe.value.length && !Ie.value && !ot.value.length), za = b(() => qe.value.length > 0 && yt.value.length == 0 && (j.value && ue.value || !ue.value)), ot = b(() => U1.value === !1 || !j.value ? [] : tn(j.value) !== -1 ? [] : [{
|
|
5148
5148
|
[D.value]: j.value,
|
|
5149
5149
|
[Oe.value]: j.value,
|
|
5150
5150
|
[u.value]: j.value,
|
|
@@ -5167,7 +5167,7 @@ function H0(a, e, t) {
|
|
|
5167
5167
|
Pe(Z.value.concat(m));
|
|
5168
5168
|
break;
|
|
5169
5169
|
}
|
|
5170
|
-
e.emit("select", q1(m), m,
|
|
5170
|
+
e.emit("select", q1(m), m, W);
|
|
5171
5171
|
}, rt = (m) => {
|
|
5172
5172
|
switch (typeof m != "object" && (m = Ne(m)), n.value) {
|
|
5173
5173
|
case "single":
|
|
@@ -5178,7 +5178,7 @@ function H0(a, e, t) {
|
|
|
5178
5178
|
Pe(Array.isArray(m) ? Z.value.filter((H) => m.map((se) => se[D.value]).indexOf(H[D.value]) === -1) : Z.value.filter((H) => H[D.value] != m[D.value]));
|
|
5179
5179
|
break;
|
|
5180
5180
|
}
|
|
5181
|
-
e.emit("deselect", q1(m), m,
|
|
5181
|
+
e.emit("deselect", q1(m), m, W);
|
|
5182
5182
|
}, q1 = (m) => w.value ? m : m[D.value], W1 = (m) => {
|
|
5183
5183
|
rt(m);
|
|
5184
5184
|
}, Ka = (m, H) => {
|
|
@@ -5188,7 +5188,7 @@ function H0(a, e, t) {
|
|
|
5188
5188
|
}
|
|
5189
5189
|
W1(m);
|
|
5190
5190
|
}, z1 = () => {
|
|
5191
|
-
e.emit("clear",
|
|
5191
|
+
e.emit("clear", W), Pe(Ya.value);
|
|
5192
5192
|
}, Be = (m) => {
|
|
5193
5193
|
if (m.group !== void 0)
|
|
5194
5194
|
return n.value === "single" ? !1 : en(m[ie.value]) && m[ie.value].length;
|
|
@@ -5201,7 +5201,7 @@ function H0(a, e, t) {
|
|
|
5201
5201
|
}
|
|
5202
5202
|
}, h1 = (m) => m[$.value] === !0, m1 = () => ee === void 0 || ee.value === -1 || !p1.value && ee.value > 0 ? !1 : Z.value.length >= ee.value, Ga = (m) => {
|
|
5203
5203
|
if (!h1(m)) {
|
|
5204
|
-
if (q && q.value && !Be(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = q.value(m,
|
|
5204
|
+
if (q && q.value && !Be(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = q.value(m, W), m instanceof Promise)) {
|
|
5205
5205
|
Ie.value = !0, m.then((H) => {
|
|
5206
5206
|
Ie.value = !1, Y1(H);
|
|
5207
5207
|
});
|
|
@@ -5224,7 +5224,7 @@ function H0(a, e, t) {
|
|
|
5224
5224
|
return;
|
|
5225
5225
|
}
|
|
5226
5226
|
if (m1()) {
|
|
5227
|
-
e.emit("max",
|
|
5227
|
+
e.emit("max", W);
|
|
5228
5228
|
return;
|
|
5229
5229
|
}
|
|
5230
5230
|
m && (C1(m), lt(m)), x.value && Ce(), l.value && st(), A.value && it();
|
|
@@ -5235,7 +5235,7 @@ function H0(a, e, t) {
|
|
|
5235
5235
|
return;
|
|
5236
5236
|
}
|
|
5237
5237
|
if (m1()) {
|
|
5238
|
-
e.emit("max",
|
|
5238
|
+
e.emit("max", W);
|
|
5239
5239
|
return;
|
|
5240
5240
|
}
|
|
5241
5241
|
m && C1(m), x.value && Ce(), m && lt(m), l.value && st(), A.value && it();
|
|
@@ -5255,7 +5255,7 @@ function H0(a, e, t) {
|
|
|
5255
5255
|
A.value && ja();
|
|
5256
5256
|
}
|
|
5257
5257
|
}, C1 = (m) => {
|
|
5258
|
-
Ne(m[D.value]) === void 0 && U1.value && (e.emit("tag", m[D.value],
|
|
5258
|
+
Ne(m[D.value]) === void 0 && U1.value && (e.emit("tag", m[D.value], W), e.emit("option", m[D.value], W), e.emit("create", m[D.value], W), Za.value && nn(m), Ce());
|
|
5259
5259
|
}, Qa = () => {
|
|
5260
5260
|
n.value !== "single" && lt(yt.value.filter((m) => !m.disabled && !Be(m)));
|
|
5261
5261
|
}, Ja = (m) => m.find((H) => !Be(H) && !H[$.value]) === void 0, en = (m) => m.find((H) => !Be(H)) === void 0, Ne = (m) => qe.value[qe.value.map((H) => String(H[D.value])).indexOf(String(m))], tn = (m, H = !0) => qe.value.map((se) => parseInt(se[Oe.value]) == se[Oe.value] ? parseInt(se[Oe.value]) : se[Oe.value]).indexOf(
|
|
@@ -5283,7 +5283,7 @@ function H0(a, e, t) {
|
|
|
5283
5283
|
}, jt = () => {
|
|
5284
5284
|
Le(E.value) || (Z.value = Zt(E.value));
|
|
5285
5285
|
}, Ut = (m) => (Ie.value = !0, new Promise((H, se) => {
|
|
5286
|
-
s.value(j.value,
|
|
5286
|
+
s.value(j.value, W).then((ve) => {
|
|
5287
5287
|
Fe.value = ve || [], typeof m == "function" && m(ve), Ie.value = !1;
|
|
5288
5288
|
}).catch((ve) => {
|
|
5289
5289
|
console.error(ve), Fe.value = [], Ie.value = !1;
|
|
@@ -5319,7 +5319,7 @@ function H0(a, e, t) {
|
|
|
5319
5319
|
}), x1 = () => {
|
|
5320
5320
|
f1.value = re(j, (m) => {
|
|
5321
5321
|
m.length < g.value || !m && g.value !== 0 || (Ie.value = !0, R.value && (Fe.value = []), setTimeout(() => {
|
|
5322
|
-
m == j.value && s.value(j.value,
|
|
5322
|
+
m == j.value && s.value(j.value, W).then((H) => {
|
|
5323
5323
|
(m == j.value || !j.value) && (Fe.value = H, Na.value = yt.value.filter((se) => se[$.value] !== !0)[0] || null, Ie.value = !1);
|
|
5324
5324
|
}).catch(
|
|
5325
5325
|
/* istanbul ignore next */
|
|
@@ -5395,21 +5395,21 @@ function P0(a, e, t) {
|
|
|
5395
5395
|
groupSelect: c,
|
|
5396
5396
|
disabledProp: u,
|
|
5397
5397
|
groupOptions: d
|
|
5398
|
-
} = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, M = t.handleGroupClick, S = t.search, _ = t.pointer, g = t.setPointer, V = t.clearPointer, R = t.multiselect, x = t.isOpen, D = b(() => p.value.filter((E) => !E[u.value])), X = b(() => C.value.filter((E) => !E[u.value])), ae = b(() => r.value !== "single" && c.value), I = b(() => _.value && _.value.group), ee = b(() =>
|
|
5398
|
+
} = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, M = t.handleGroupClick, S = t.search, _ = t.pointer, g = t.setPointer, V = t.clearPointer, R = t.multiselect, x = t.isOpen, D = b(() => p.value.filter((E) => !E[u.value])), X = b(() => C.value.filter((E) => !E[u.value])), ae = b(() => r.value !== "single" && c.value), I = b(() => _.value && _.value.group), ee = b(() => W(_.value)), y = b(() => {
|
|
5399
5399
|
const E = I.value ? _.value : (
|
|
5400
5400
|
/* istanbul ignore next */
|
|
5401
|
-
|
|
5401
|
+
W(_.value)
|
|
5402
5402
|
), j = X.value.map((Pe) => Pe[i.value]).indexOf(E[i.value]);
|
|
5403
5403
|
let Ce = X.value[j - 1];
|
|
5404
5404
|
return Ce === void 0 && (Ce = B.value), Ce;
|
|
5405
5405
|
}), A = b(() => {
|
|
5406
|
-
let E = X.value.map((j) => j.label).indexOf(I.value ? _.value[i.value] :
|
|
5406
|
+
let E = X.value.map((j) => j.label).indexOf(I.value ? _.value[i.value] : W(_.value)[i.value]) + 1;
|
|
5407
5407
|
return X.value.length <= E && (E = 0), X.value[E];
|
|
5408
5408
|
}), B = b(() => [...X.value].slice(-1)[0]), ue = b(() => _.value.__VISIBLE__.filter((E) => !E[u.value])[0]), ne = b(() => {
|
|
5409
5409
|
const E = ee.value.__VISIBLE__.filter((j) => !j[u.value]);
|
|
5410
5410
|
return E[E.map((j) => j[s.value]).indexOf(_.value[s.value]) - 1];
|
|
5411
5411
|
}), le = b(() => {
|
|
5412
|
-
const E =
|
|
5412
|
+
const E = W(_.value).__VISIBLE__.filter((j) => !j[u.value]);
|
|
5413
5413
|
return E[E.map((j) => j[s.value]).indexOf(_.value[s.value]) + 1];
|
|
5414
5414
|
}), ie = b(() => [...y.value.__VISIBLE__.filter((E) => !E[u.value])].slice(-1)[0]), O = b(() => [...B.value.__VISIBLE__.filter((E) => !E[u.value])].slice(-1)[0]), L = (E) => _.value && (!E.group && _.value[s.value] === E[s.value] || E.group !== void 0 && _.value[i.value] === E[i.value]) ? !0 : void 0, q = () => {
|
|
5415
5415
|
g(D.value[0] || null);
|
|
@@ -5444,7 +5444,7 @@ function P0(a, e, t) {
|
|
|
5444
5444
|
Ee(() => {
|
|
5445
5445
|
Z();
|
|
5446
5446
|
});
|
|
5447
|
-
},
|
|
5447
|
+
}, W = (E) => X.value.find((j) => j.__VISIBLE__.map((Ce) => Ce[s.value]).indexOf(E[s.value]) !== -1), Z = () => {
|
|
5448
5448
|
let E = R.value.querySelector("[data-pointed]");
|
|
5449
5449
|
if (!E)
|
|
5450
5450
|
return;
|
|
@@ -6256,7 +6256,7 @@ function d5(a, e, t, s, n, o) {
|
|
|
6256
6256
|
"aria-label": a.ariaTagLabel(a.localize(i[t.label]))
|
|
6257
6257
|
}, [
|
|
6258
6258
|
e1(
|
|
6259
|
-
|
|
6259
|
+
z(a.localize(i[t.label])) + " ",
|
|
6260
6260
|
1
|
|
6261
6261
|
/* TEXT */
|
|
6262
6262
|
),
|
|
@@ -6293,7 +6293,7 @@ function d5(a, e, t, s, n, o) {
|
|
|
6293
6293
|
{
|
|
6294
6294
|
class: K(a.classList.tagsSearchCopy)
|
|
6295
6295
|
},
|
|
6296
|
-
|
|
6296
|
+
z(a.search),
|
|
6297
6297
|
3
|
|
6298
6298
|
/* TEXT, CLASS */
|
|
6299
6299
|
),
|
|
@@ -6344,7 +6344,7 @@ function d5(a, e, t, s, n, o) {
|
|
|
6344
6344
|
{
|
|
6345
6345
|
class: K(a.classList.singleLabelText)
|
|
6346
6346
|
},
|
|
6347
|
-
|
|
6347
|
+
z(a.localize(a.iv[t.label])),
|
|
6348
6348
|
3
|
|
6349
6349
|
/* TEXT, CLASS */
|
|
6350
6350
|
)
|
|
@@ -6371,7 +6371,7 @@ function d5(a, e, t, s, n, o) {
|
|
|
6371
6371
|
class: K(a.classList.placeholder),
|
|
6372
6372
|
"aria-hidden": "true"
|
|
6373
6373
|
},
|
|
6374
|
-
|
|
6374
|
+
z(t.placeholder),
|
|
6375
6375
|
3
|
|
6376
6376
|
/* TEXT, CLASS */
|
|
6377
6377
|
)
|
|
@@ -6507,7 +6507,7 @@ function d5(a, e, t, s, n, o) {
|
|
|
6507
6507
|
f(
|
|
6508
6508
|
"span",
|
|
6509
6509
|
null,
|
|
6510
|
-
|
|
6510
|
+
z(a.localize(c[t.label])),
|
|
6511
6511
|
1
|
|
6512
6512
|
/* TEXT */
|
|
6513
6513
|
)
|
|
@@ -6544,7 +6544,7 @@ function d5(a, e, t, s, n, o) {
|
|
|
6544
6544
|
f(
|
|
6545
6545
|
"span",
|
|
6546
6546
|
null,
|
|
6547
|
-
|
|
6547
|
+
z(a.localize(i[t.label])),
|
|
6548
6548
|
1
|
|
6549
6549
|
/* TEXT */
|
|
6550
6550
|
)
|
|
@@ -6634,7 +6634,7 @@ function d5(a, e, t, s, n, o) {
|
|
|
6634
6634
|
class: K(a.classList.assist),
|
|
6635
6635
|
id: a.ariaAssist,
|
|
6636
6636
|
"aria-hidden": "true"
|
|
6637
|
-
},
|
|
6637
|
+
}, z(a.ariaLabel), 11, c5)) : T("v-if", !0),
|
|
6638
6638
|
T(" Create height for empty input "),
|
|
6639
6639
|
f(
|
|
6640
6640
|
"div",
|
|
@@ -6927,7 +6927,7 @@ const _5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], g5 = {
|
|
|
6927
6927
|
name: "AttachFileRounded",
|
|
6928
6928
|
size: "sm"
|
|
6929
6929
|
}),
|
|
6930
|
-
f("span", b5,
|
|
6930
|
+
f("span", b5, z(p.name), 1)
|
|
6931
6931
|
], 8, y5),
|
|
6932
6932
|
c.isEditable ? (v(), N(ce, {
|
|
6933
6933
|
key: 0,
|
|
@@ -6943,7 +6943,7 @@ const _5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], g5 = {
|
|
|
6943
6943
|
])) : T("", !0),
|
|
6944
6944
|
c.isEditable ? (v(), h("div", w5, [
|
|
6945
6945
|
f("label", $5, [
|
|
6946
|
-
f("span", M5,
|
|
6946
|
+
f("span", M5, z(c.$t("activity.attachment.button.resting")), 1),
|
|
6947
6947
|
f("input", {
|
|
6948
6948
|
class: "input-field",
|
|
6949
6949
|
type: "file",
|
|
@@ -6953,7 +6953,7 @@ const _5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], g5 = {
|
|
|
6953
6953
|
onChange: s
|
|
6954
6954
|
}, null, 32)
|
|
6955
6955
|
]),
|
|
6956
|
-
f("span", k5,
|
|
6956
|
+
f("span", k5, z(c.$t("activity.attachment.placeholder.resting")), 1)
|
|
6957
6957
|
])) : T("", !0)
|
|
6958
6958
|
], 42, _5);
|
|
6959
6959
|
};
|
|
@@ -7009,12 +7009,12 @@ const S5 = { class: "ao-comment" }, T5 = { class: "ao-comment__body" }, E5 = { c
|
|
|
7009
7009
|
]
|
|
7010
7010
|
}, {
|
|
7011
7011
|
default: U(() => [
|
|
7012
|
-
e1(
|
|
7012
|
+
e1(z(S.content), 1)
|
|
7013
7013
|
]),
|
|
7014
7014
|
_: 1
|
|
7015
7015
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
7016
7016
|
]),
|
|
7017
|
-
f("span", I5,
|
|
7017
|
+
f("span", I5, z(u.value || c.value), 1)
|
|
7018
7018
|
]),
|
|
7019
7019
|
S.isEditable ? (v(), h("div", O5, [
|
|
7020
7020
|
F(o) ? (v(), h(fe, { key: 0 }, [
|
|
@@ -7113,7 +7113,7 @@ const V5 = {
|
|
|
7113
7113
|
onSubmit: _e(l, ["prevent"])
|
|
7114
7114
|
}, [
|
|
7115
7115
|
f("label", P5, [
|
|
7116
|
-
f("span", B5,
|
|
7116
|
+
f("span", B5, z(u.$t("activity.comment.label")), 1),
|
|
7117
7117
|
ft(f("textarea", {
|
|
7118
7118
|
"onUpdate:modelValue": d[0] || (d[0] = (C) => i.value = C),
|
|
7119
7119
|
rows: "4",
|
|
@@ -7314,7 +7314,7 @@ const j5 = {
|
|
|
7314
7314
|
onClose: A[8] || (A[8] = (B) => y.$emit("close"))
|
|
7315
7315
|
}, {
|
|
7316
7316
|
header: U(() => [
|
|
7317
|
-
y.breadcrumbs ? (v(), h("div", j5,
|
|
7317
|
+
y.breadcrumbs ? (v(), h("div", j5, z(y.breadcrumbs), 1)) : T("", !0),
|
|
7318
7318
|
k(me, {
|
|
7319
7319
|
title: y.activity.name || "",
|
|
7320
7320
|
level: 4,
|
|
@@ -7325,7 +7325,7 @@ const j5 = {
|
|
|
7325
7325
|
var B;
|
|
7326
7326
|
return [
|
|
7327
7327
|
D.value ? (v(), h("label", U5, [
|
|
7328
|
-
f("span", Z5,
|
|
7328
|
+
f("span", Z5, z(y.$t("activity.status.label")), 1),
|
|
7329
7329
|
k(be, {
|
|
7330
7330
|
options: D.value,
|
|
7331
7331
|
value: (B = y.activity.status) == null ? void 0 : B.id,
|
|
@@ -7344,7 +7344,7 @@ const j5 = {
|
|
|
7344
7344
|
f("fieldset", q5, [
|
|
7345
7345
|
f("div", W5, [
|
|
7346
7346
|
f("label", z5, [
|
|
7347
|
-
f("span", Y5,
|
|
7347
|
+
f("span", Y5, z(y.$t("activity.description.label")), 1),
|
|
7348
7348
|
ft(f("textarea", {
|
|
7349
7349
|
"onUpdate:modelValue": A[0] || (A[0] = (B) => n.value = B),
|
|
7350
7350
|
readonly: !y.isEditable,
|
|
@@ -7365,7 +7365,7 @@ const j5 = {
|
|
|
7365
7365
|
]),
|
|
7366
7366
|
f("div", K5, [
|
|
7367
7367
|
f("label", G5, [
|
|
7368
|
-
f("span", X5,
|
|
7368
|
+
f("span", X5, z(y.$t("activity.estimation.label")), 1),
|
|
7369
7369
|
ft(f("input", {
|
|
7370
7370
|
"onUpdate:modelValue": A[1] || (A[1] = (B) => o.value = B),
|
|
7371
7371
|
readonly: !y.isEditable,
|
|
@@ -7385,7 +7385,7 @@ const j5 = {
|
|
|
7385
7385
|
])
|
|
7386
7386
|
]),
|
|
7387
7387
|
f("label", J5, [
|
|
7388
|
-
f("span", e7,
|
|
7388
|
+
f("span", e7, z(y.$t("activity.important.label")), 1),
|
|
7389
7389
|
ft(f("input", {
|
|
7390
7390
|
"onUpdate:modelValue": A[2] || (A[2] = (B) => i.value = B),
|
|
7391
7391
|
disabled: !y.isEditable,
|
|
@@ -7472,7 +7472,7 @@ const j5 = {
|
|
|
7472
7472
|
f("div", f7, [
|
|
7473
7473
|
f("div", v7, [
|
|
7474
7474
|
f("label", p7, [
|
|
7475
|
-
f("span", h7,
|
|
7475
|
+
f("span", h7, z(y.$t("activity.dependingOn.label")), 1),
|
|
7476
7476
|
k(be, {
|
|
7477
7477
|
modelValue: c.value,
|
|
7478
7478
|
"onUpdate:modelValue": A[4] || (A[4] = (B) => c.value = B),
|
|
@@ -7487,7 +7487,7 @@ const j5 = {
|
|
|
7487
7487
|
]),
|
|
7488
7488
|
f("div", m7, [
|
|
7489
7489
|
f("label", C7, [
|
|
7490
|
-
f("span", _7,
|
|
7490
|
+
f("span", _7, z(y.$t("activity.blocking.label")), 1),
|
|
7491
7491
|
k(be, {
|
|
7492
7492
|
modelValue: d.value,
|
|
7493
7493
|
"onUpdate:modelValue": A[5] || (A[5] = (B) => d.value = B),
|
|
@@ -7502,7 +7502,7 @@ const j5 = {
|
|
|
7502
7502
|
]),
|
|
7503
7503
|
f("div", g7, [
|
|
7504
7504
|
f("label", y7, [
|
|
7505
|
-
f("span", b7,
|
|
7505
|
+
f("span", b7, z(y.$t("activity.dependingMilestone.label")), 1),
|
|
7506
7506
|
k(be, {
|
|
7507
7507
|
modelValue: w.value,
|
|
7508
7508
|
"onUpdate:modelValue": A[6] || (A[6] = (B) => w.value = B),
|
|
@@ -7520,7 +7520,7 @@ const j5 = {
|
|
|
7520
7520
|
f("fieldset", w7, [
|
|
7521
7521
|
y.activityTypes ? (v(), h("div", $7, [
|
|
7522
7522
|
f("label", M7, [
|
|
7523
|
-
f("span", k7,
|
|
7523
|
+
f("span", k7, z(y.$t("activity.type.label")), 1),
|
|
7524
7524
|
k(be, {
|
|
7525
7525
|
modelValue: l.value,
|
|
7526
7526
|
"onUpdate:modelValue": A[7] || (A[7] = (B) => l.value = B),
|
|
@@ -7809,7 +7809,7 @@ const V7 = {
|
|
|
7809
7809
|
var O, L;
|
|
7810
7810
|
return ((L = (O = n.value) == null ? void 0 : O.phases) == null ? void 0 : L.reduce((q, $) => {
|
|
7811
7811
|
const he = ($.milestones || []).reduce(
|
|
7812
|
-
(
|
|
7812
|
+
(W, Z) => Z.activities ? [...W, ...Z.activities] : W,
|
|
7813
7813
|
[]
|
|
7814
7814
|
);
|
|
7815
7815
|
return [...q, ...he];
|
|
@@ -7987,7 +7987,7 @@ const V7 = {
|
|
|
7987
7987
|
e("removeFile", O);
|
|
7988
7988
|
};
|
|
7989
7989
|
return (O, L) => {
|
|
7990
|
-
var q, $, Y, he,
|
|
7990
|
+
var q, $, Y, he, W, Z;
|
|
7991
7991
|
return n.value ? (v(), h("div", V7, [
|
|
7992
7992
|
k(r1, {
|
|
7993
7993
|
"can-go-back": !0,
|
|
@@ -8093,7 +8093,7 @@ const V7 = {
|
|
|
8093
8093
|
key: 0,
|
|
8094
8094
|
activity: u.value,
|
|
8095
8095
|
"activity-types": d.value,
|
|
8096
|
-
breadcrumbs: `${n.value.name} / ${(he = i.value) == null ? void 0 : he.name} / ${(
|
|
8096
|
+
breadcrumbs: `${n.value.name} / ${(he = i.value) == null ? void 0 : he.name} / ${(W = l.value) == null ? void 0 : W.name}`,
|
|
8097
8097
|
"milestone-id": (Z = l.value) == null ? void 0 : Z.id,
|
|
8098
8098
|
"template-activities": c.value,
|
|
8099
8099
|
"template-milestones": r.value,
|
|
@@ -8221,7 +8221,7 @@ const q7 = { class: "ao-card-project-phase__header" }, W7 = { class: "ao-card-pr
|
|
|
8221
8221
|
name: "MountainFlagOutlineRounded",
|
|
8222
8222
|
size: "sm"
|
|
8223
8223
|
}),
|
|
8224
|
-
f("span", x7,
|
|
8224
|
+
f("span", x7, z(o.value) + " / " + z(n.value), 1)
|
|
8225
8225
|
]),
|
|
8226
8226
|
k(j1, {
|
|
8227
8227
|
percentages: i.value,
|
|
@@ -8322,7 +8322,7 @@ const X7 = { class: "ao-card-project-milestone__default" }, Q7 = {
|
|
|
8322
8322
|
name: "SelectCheckBox",
|
|
8323
8323
|
size: "sm"
|
|
8324
8324
|
}),
|
|
8325
|
-
f("span", a9,
|
|
8325
|
+
f("span", a9, z(n.value) + " / " + z(s.value), 1)
|
|
8326
8326
|
]),
|
|
8327
8327
|
k(j1, {
|
|
8328
8328
|
percentages: o.value,
|
|
@@ -8602,7 +8602,7 @@ function k9(a, e, t, s, n, o) {
|
|
|
8602
8602
|
}),
|
|
8603
8603
|
type: "button",
|
|
8604
8604
|
onClick: e[0] || (e[0] = (...i) => a.selectLeft && a.selectLeft(...i))
|
|
8605
|
-
},
|
|
8605
|
+
}, z(a.leftLabel), 3),
|
|
8606
8606
|
f("button", {
|
|
8607
8607
|
class: K({
|
|
8608
8608
|
button: !0,
|
|
@@ -8611,7 +8611,7 @@ function k9(a, e, t, s, n, o) {
|
|
|
8611
8611
|
}),
|
|
8612
8612
|
type: "button",
|
|
8613
8613
|
onClick: e[1] || (e[1] = (...i) => a.selectRight && a.selectRight(...i))
|
|
8614
|
-
},
|
|
8614
|
+
}, z(a.rightLabel), 3)
|
|
8615
8615
|
]);
|
|
8616
8616
|
}
|
|
8617
8617
|
const Pa = /* @__PURE__ */ P($9, [["render", k9], ["__scopeId", "data-v-8f286655"]]), A9 = { class: "ao-project-overview" }, S9 = { class: "ao-project" }, T9 = { class: "ao-project__body" }, E9 = /* @__PURE__ */ G({
|
|
@@ -8680,9 +8680,11 @@ const Pa = /* @__PURE__ */ P($9, [["render", k9], ["__scopeId", "data-v-8f286655
|
|
|
8680
8680
|
primary: U(() => [
|
|
8681
8681
|
k(Pa, {
|
|
8682
8682
|
"is-left": !0,
|
|
8683
|
-
"right-label": I.$t("project.feed
|
|
8684
|
-
"left-label": I.$t("project.overview
|
|
8685
|
-
"onUpdate:isLeft": ee[0] || (ee[0] = (A) =>
|
|
8683
|
+
"right-label": I.$t("project.switch.feed"),
|
|
8684
|
+
"left-label": I.$t("project.switch.overview"),
|
|
8685
|
+
"onUpdate:isLeft": ee[0] || (ee[0] = (A) => {
|
|
8686
|
+
A || I.$router.push({ name: F(Re).feed });
|
|
8687
|
+
})
|
|
8686
8688
|
}, null, 8, ["right-label", "left-label"]),
|
|
8687
8689
|
I.isEditable ? (v(), N(ce, {
|
|
8688
8690
|
key: 0,
|
|
@@ -8842,7 +8844,7 @@ const I9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
8842
8844
|
]),
|
|
8843
8845
|
default: U(() => [
|
|
8844
8846
|
f("div", L9, [
|
|
8845
|
-
n.value ? (v(), h("span", V9,
|
|
8847
|
+
n.value ? (v(), h("span", V9, z(n.value), 1)) : T("", !0),
|
|
8846
8848
|
k(me, {
|
|
8847
8849
|
id: p.id,
|
|
8848
8850
|
title: p.name,
|
|
@@ -8850,7 +8852,7 @@ const I9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
8850
8852
|
"is-editable": p.isEditable,
|
|
8851
8853
|
"onUpdate:title": s
|
|
8852
8854
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8853
|
-
p.deadline ? (v(), h("span", D9,
|
|
8855
|
+
p.deadline ? (v(), h("span", D9, z(i.value), 1)) : T("", !0)
|
|
8854
8856
|
])
|
|
8855
8857
|
]),
|
|
8856
8858
|
footer: U(() => [
|
|
@@ -8875,14 +8877,14 @@ const I9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
8875
8877
|
name: "ChatOutline",
|
|
8876
8878
|
size: "sm"
|
|
8877
8879
|
}),
|
|
8878
|
-
f("span", U9,
|
|
8880
|
+
f("span", U9, z(p.comments), 1)
|
|
8879
8881
|
])) : T("", !0),
|
|
8880
8882
|
p.attachments ? (v(), h("li", Z9, [
|
|
8881
8883
|
k(de, {
|
|
8882
8884
|
name: "AttachFileRounded",
|
|
8883
8885
|
size: "sm"
|
|
8884
8886
|
}),
|
|
8885
|
-
f("span", F9,
|
|
8887
|
+
f("span", F9, z(p.attachments), 1)
|
|
8886
8888
|
])) : T("", !0)
|
|
8887
8889
|
])) : T("", !0)
|
|
8888
8890
|
]),
|
|
@@ -8893,7 +8895,7 @@ const I9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
8893
8895
|
name: "SelectCheckBox",
|
|
8894
8896
|
size: "sm"
|
|
8895
8897
|
}),
|
|
8896
|
-
f("span", Y9,
|
|
8898
|
+
f("span", Y9, z(u.value) + " / " + z(c.value), 1)
|
|
8897
8899
|
]),
|
|
8898
8900
|
k(j1, {
|
|
8899
8901
|
percentages: d.value,
|
|
@@ -8965,7 +8967,7 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
8965
8967
|
return v(), h("div", x9, [
|
|
8966
8968
|
f("header", K9, [
|
|
8967
8969
|
f("div", G9, [
|
|
8968
|
-
f("span", null,
|
|
8970
|
+
f("span", null, z(p.$t("project.milestone.title")), 1),
|
|
8969
8971
|
k(me, {
|
|
8970
8972
|
title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
|
|
8971
8973
|
level: 5
|
|
@@ -9370,7 +9372,7 @@ const f4 = {
|
|
|
9370
9372
|
ref: n,
|
|
9371
9373
|
class: "ao-list-kanban__end"
|
|
9372
9374
|
}, null, 512)) : (v(), h("div", h4, [
|
|
9373
|
-
r.noMoreLabel ? (v(), h("span", m4,
|
|
9375
|
+
r.noMoreLabel ? (v(), h("span", m4, z(r.noMoreLabel), 1)) : (v(), h("span", C4))
|
|
9374
9376
|
]))
|
|
9375
9377
|
]),
|
|
9376
9378
|
_: 1
|
|
@@ -9478,7 +9480,7 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9478
9480
|
re(
|
|
9479
9481
|
[() => t.statuses, () => t.activities],
|
|
9480
9482
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9481
|
-
async ([$, Y], [he,
|
|
9483
|
+
async ([$, Y], [he, W]) => {
|
|
9482
9484
|
r.value = Object.fromEntries(
|
|
9483
9485
|
$.map((Z) => [
|
|
9484
9486
|
Z.id,
|
|
@@ -9487,7 +9489,7 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9487
9489
|
return ((j = E.status) == null ? void 0 : j.id) === Z.id;
|
|
9488
9490
|
})
|
|
9489
9491
|
])
|
|
9490
|
-
), c.value && je(Y,
|
|
9492
|
+
), c.value && je(Y, W);
|
|
9491
9493
|
},
|
|
9492
9494
|
{ immediate: !0 }
|
|
9493
9495
|
);
|
|
@@ -9496,8 +9498,8 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9496
9498
|
return !i.value || !i.value.milestone ? "" : `${(($ = i.value.milestone.phase) == null ? void 0 : $.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
|
|
9497
9499
|
}), d = ($) => {
|
|
9498
9500
|
var E, j;
|
|
9499
|
-
const Y = (E = t.activities) == null ? void 0 : E.at(-1), he = Y ? Ae.LexoRank.parse(Y.rank).genNext() : Ae.LexoRank.middle(),
|
|
9500
|
-
name: s("activity.defaultName", { idx:
|
|
9501
|
+
const Y = (E = t.activities) == null ? void 0 : E.at(-1), he = Y ? Ae.LexoRank.parse(Y.rank).genNext() : Ae.LexoRank.middle(), W = ((j = t.activities) == null ? void 0 : j.length) ?? 0, Z = {
|
|
9502
|
+
name: s("activity.defaultName", { idx: W + 1 }),
|
|
9501
9503
|
rank: he.format(),
|
|
9502
9504
|
statusId: $.id
|
|
9503
9505
|
};
|
|
@@ -9562,8 +9564,8 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9562
9564
|
value: $.id,
|
|
9563
9565
|
label: $.name
|
|
9564
9566
|
}))), le = b(() => {
|
|
9565
|
-
var Y, he,
|
|
9566
|
-
const $ = (
|
|
9567
|
+
var Y, he, W;
|
|
9568
|
+
const $ = (W = (he = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : he.phases) == null ? void 0 : W.reduce((Z, E) => [...Z, ...E.milestones], []);
|
|
9567
9569
|
return $ == null ? void 0 : $.map((Z) => ({
|
|
9568
9570
|
value: Z.id,
|
|
9569
9571
|
label: Z.name
|
|
@@ -9599,9 +9601,11 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9599
9601
|
t.project ? (v(), N(Pa, {
|
|
9600
9602
|
key: 0,
|
|
9601
9603
|
"is-left": !1,
|
|
9602
|
-
"right-label": $.$t("project.feed
|
|
9603
|
-
"left-label": $.$t("project.overview
|
|
9604
|
-
"onUpdate:isLeft": Y[0] || (Y[0] = (
|
|
9604
|
+
"right-label": $.$t("project.switch.feed"),
|
|
9605
|
+
"left-label": $.$t("project.switch.overview"),
|
|
9606
|
+
"onUpdate:isLeft": Y[0] || (Y[0] = (W) => {
|
|
9607
|
+
W && $.$router.push({ name: F(Re).project });
|
|
9608
|
+
})
|
|
9605
9609
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
9606
9610
|
k(w4, {
|
|
9607
9611
|
"model-value": $.searchText,
|
|
@@ -9619,7 +9623,7 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9619
9623
|
searchable: !0,
|
|
9620
9624
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
9621
9625
|
placeholder: $.$t("feed.filters.project.placeholder"),
|
|
9622
|
-
"onUpdate:modelValue": Y[1] || (Y[1] = (
|
|
9626
|
+
"onUpdate:modelValue": Y[1] || (Y[1] = (W) => p(F(ut).project, W))
|
|
9623
9627
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
9624
9628
|
M.value ? (v(), N(be, {
|
|
9625
9629
|
key: 2,
|
|
@@ -9630,7 +9634,7 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9630
9634
|
searchable: !0,
|
|
9631
9635
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
9632
9636
|
placeholder: $.$t("feed.filters.activityType.placeholder"),
|
|
9633
|
-
"onUpdate:modelValue": Y[2] || (Y[2] = (
|
|
9637
|
+
"onUpdate:modelValue": Y[2] || (Y[2] = (W) => p(F(ut).type, W))
|
|
9634
9638
|
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
9635
9639
|
k(be, {
|
|
9636
9640
|
"model-value": $.filters[F(ut).assignee],
|
|
@@ -9640,13 +9644,13 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9640
9644
|
searchable: !0,
|
|
9641
9645
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
9642
9646
|
placeholder: $.$t("feed.filters.assignee.placeholder"),
|
|
9643
|
-
"onUpdate:modelValue": Y[3] || (Y[3] = (
|
|
9647
|
+
"onUpdate:modelValue": Y[3] || (Y[3] = (W) => p(F(ut).assignee, W))
|
|
9644
9648
|
}, {
|
|
9645
|
-
tag: U(({ option:
|
|
9649
|
+
tag: U(({ option: W, handleTagRemove: Z }) => [
|
|
9646
9650
|
k(_t, {
|
|
9647
|
-
"user-name":
|
|
9651
|
+
"user-name": W.label,
|
|
9648
9652
|
"is-closable": !0,
|
|
9649
|
-
onClose: (E) => Z(
|
|
9653
|
+
onClose: (E) => Z(W, E)
|
|
9650
9654
|
}, null, 8, ["user-name", "onClose"])
|
|
9651
9655
|
]),
|
|
9652
9656
|
_: 1
|
|
@@ -9662,20 +9666,20 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9662
9666
|
label: $.$t("feed.filters.showsArchivedActivities.label"),
|
|
9663
9667
|
role: "checkbox",
|
|
9664
9668
|
"aria-checked": $.showsArchivedActivities,
|
|
9665
|
-
onClick: Y[4] || (Y[4] = (
|
|
9669
|
+
onClick: Y[4] || (Y[4] = (W) => $.$emit("update:showsArchivedActivities", !$.showsArchivedActivities))
|
|
9666
9670
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
9667
9671
|
]),
|
|
9668
9672
|
_: 1
|
|
9669
9673
|
}),
|
|
9670
9674
|
f("div", T4, [
|
|
9671
|
-
(v(!0), h(fe, null, ye($.statuses, (
|
|
9672
|
-
key:
|
|
9673
|
-
status:
|
|
9674
|
-
list: r.value[
|
|
9675
|
-
title:
|
|
9675
|
+
(v(!0), h(fe, null, ye($.statuses, (W) => (v(), N(g4, {
|
|
9676
|
+
key: W.id,
|
|
9677
|
+
status: W,
|
|
9678
|
+
list: r.value[W.id],
|
|
9679
|
+
title: W.name,
|
|
9676
9680
|
"footer-label": $.$t("feed.activity.add"),
|
|
9677
9681
|
users: $.users,
|
|
9678
|
-
onAdd: () => d(
|
|
9682
|
+
onAdd: () => d(W),
|
|
9679
9683
|
onSelectActivity: l,
|
|
9680
9684
|
onArchiveActivity: V,
|
|
9681
9685
|
onUpdateActivity: g
|
|
@@ -9706,20 +9710,20 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9706
9710
|
onRemoveComment: ue
|
|
9707
9711
|
}, {
|
|
9708
9712
|
header: U(() => {
|
|
9709
|
-
var
|
|
9713
|
+
var W, Z, E;
|
|
9710
9714
|
return [
|
|
9711
9715
|
f("div", E4, [
|
|
9712
9716
|
ne.value && !t.project ? (v(), h("label", I4, [
|
|
9713
|
-
f("span", O4,
|
|
9717
|
+
f("span", O4, z($.$t("activity.project.label")), 1),
|
|
9714
9718
|
k(be, {
|
|
9715
9719
|
options: ne.value,
|
|
9716
|
-
value: (
|
|
9720
|
+
value: (W = F(i).project) == null ? void 0 : W.id,
|
|
9717
9721
|
searchable: !0,
|
|
9718
9722
|
onChange: ie
|
|
9719
9723
|
}, null, 8, ["options", "value"])
|
|
9720
9724
|
])) : T("", !0),
|
|
9721
9725
|
le.value ? (v(), h("label", L4, [
|
|
9722
|
-
f("span", V4,
|
|
9726
|
+
f("span", V4, z($.$t("activity.milestone.label")), 1),
|
|
9723
9727
|
k(be, {
|
|
9724
9728
|
options: le.value,
|
|
9725
9729
|
value: (Z = F(i).milestone) == null ? void 0 : Z.id,
|
|
@@ -9728,7 +9732,7 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9728
9732
|
}, null, 8, ["options", "value"])
|
|
9729
9733
|
])) : T("", !0),
|
|
9730
9734
|
L.value ? (v(), h("label", D4, [
|
|
9731
|
-
f("span", H4,
|
|
9735
|
+
f("span", H4, z($.$t("activity.status.label")), 1),
|
|
9732
9736
|
k(be, {
|
|
9733
9737
|
options: L.value,
|
|
9734
9738
|
value: (E = F(i).status) == null ? void 0 : E.id,
|
|
@@ -9743,9 +9747,9 @@ const A4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, T4 = { clas
|
|
|
9743
9747
|
default: U(() => [
|
|
9744
9748
|
f("div", P4, [
|
|
9745
9749
|
f("label", B4, [
|
|
9746
|
-
f("span", N4,
|
|
9750
|
+
f("span", N4, z($.$t("activity.deadline.label")), 1),
|
|
9747
9751
|
ft(f("input", {
|
|
9748
|
-
"onUpdate:modelValue": Y[5] || (Y[5] = (
|
|
9752
|
+
"onUpdate:modelValue": Y[5] || (Y[5] = (W) => R.value = W),
|
|
9749
9753
|
class: "ao-field__input",
|
|
9750
9754
|
type: "date"
|
|
9751
9755
|
}, null, 512), [
|