@26lights/orcha 0.42.100 → 0.42.102
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 +17 -17
- package/dist/orcha.es.js +494 -519
- package/dist/orcha.umd.js +5 -5
- package/dist/src/components/AoActivityDetails.vue.d.ts +33 -0
- package/dist/src/views/AoFeed.vue.d.ts +27 -0
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Sg = Object.defineProperty;
|
|
2
2
|
var Ag = (t, e, n) => e in t ? Sg(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var G = (t, e, n) => (Ag(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as de, openBlock as k, createBlock as Y, unref as ve, mergeProps as Ot, createElementBlock as $, createElementVNode as x, createStaticVNode as Tg, computed as O, resolveDynamicComponent as To, normalizeClass as ye, renderSlot as be, toDisplayString as
|
|
4
|
+
import { defineComponent as de, openBlock as k, createBlock as Y, unref as ve, mergeProps as Ot, createElementBlock as $, createElementVNode as x, createStaticVNode as Tg, computed as O, resolveDynamicComponent as To, normalizeClass as ye, renderSlot as be, toDisplayString as ne, createCommentVNode as F, ref as ae, watch as Pe, nextTick as Xt, withKeys as oi, toHandlers as Eg, withCtx as pe, createTextVNode as Eu, createVNode as I, normalizeStyle as zn, withModifiers as ke, createSlots as xs, Fragment as He, renderList as ot, onMounted as Tt, onBeforeUnmount as $u, onUnmounted as gn, Teleport as ur, toRefs as on, getCurrentInstance as Eo, toRef as Yo, normalizeProps as Ss, guardReactiveProps as As, withDirectives as Jt, vShow as _a, provide as $g, inject as Dg, useTemplateRef as Mg, readonly as Og, toValue as Xl, watchEffect as Kp, shallowRef as Aa, h as Lg, vModelText as Ir, resolveComponent as Sr, vModelCheckbox as Ng, getCurrentScope as Ig, onScopeDispose as Pg, toHandlerKey as Fg } from "vue";
|
|
5
5
|
import { RouterView as Rg, useRoute as Bg, useRouter as Du } from "vue-router";
|
|
6
6
|
import qr from "vuedraggable";
|
|
7
7
|
const g0e = /* @__PURE__ */ de({
|
|
@@ -1229,14 +1229,14 @@ const ey = ["type"], ty = {
|
|
|
1229
1229
|
])
|
|
1230
1230
|
}, [
|
|
1231
1231
|
be(o.$slots, "default", {}, () => [
|
|
1232
|
-
t.label ? (k(), $("span", ty,
|
|
1232
|
+
t.label ? (k(), $("span", ty, ne(t.label), 1)) : F("", !0)
|
|
1233
1233
|
]),
|
|
1234
1234
|
r.value ? (k(), Y(Le, {
|
|
1235
1235
|
key: 0,
|
|
1236
1236
|
name: r.value,
|
|
1237
1237
|
class: "ao-button__icon",
|
|
1238
1238
|
size: n.value
|
|
1239
|
-
}, null, 8, ["name", "size"])) :
|
|
1239
|
+
}, null, 8, ["name", "size"])) : F("", !0)
|
|
1240
1240
|
], 10, ey));
|
|
1241
1241
|
}
|
|
1242
1242
|
});
|
|
@@ -1325,7 +1325,7 @@ const At = /* @__PURE__ */ de({
|
|
|
1325
1325
|
onKeydown: oi(ve(f), ["esc"])
|
|
1326
1326
|
}), {
|
|
1327
1327
|
default: pe(() => [
|
|
1328
|
-
Eu(
|
|
1328
|
+
Eu(ne(t.title), 1)
|
|
1329
1329
|
]),
|
|
1330
1330
|
_: 1
|
|
1331
1331
|
}, 16, ["id", "class", "type", "value", "onKeydown"]));
|
|
@@ -1378,7 +1378,7 @@ const ry = {
|
|
|
1378
1378
|
name: "DragIndicator",
|
|
1379
1379
|
class: "ao-card-horiz__drag-handle"
|
|
1380
1380
|
})
|
|
1381
|
-
])) :
|
|
1381
|
+
])) : F("", !0),
|
|
1382
1382
|
x("div", oy, [
|
|
1383
1383
|
t.icon ? (k(), $("div", iy, [
|
|
1384
1384
|
I(Le, {
|
|
@@ -1386,7 +1386,7 @@ const ry = {
|
|
|
1386
1386
|
name: t.icon,
|
|
1387
1387
|
size: "xl"
|
|
1388
1388
|
}, null, 8, ["name"])
|
|
1389
|
-
])) :
|
|
1389
|
+
])) : F("", !0),
|
|
1390
1390
|
x("div", sy, [
|
|
1391
1391
|
I(At, {
|
|
1392
1392
|
id: t.id,
|
|
@@ -1397,22 +1397,22 @@ const ry = {
|
|
|
1397
1397
|
"onUpdate:title": r
|
|
1398
1398
|
}, null, 8, ["id", "title"]),
|
|
1399
1399
|
be(o.$slots, "subtitle", {}, () => [
|
|
1400
|
-
t.subtitle ? (k(), $("span", ay,
|
|
1400
|
+
t.subtitle ? (k(), $("span", ay, ne(t.subtitle), 1)) : F("", !0)
|
|
1401
1401
|
])
|
|
1402
1402
|
]),
|
|
1403
1403
|
o.$slots.header ? (k(), $("div", ly, [
|
|
1404
1404
|
be(o.$slots, "header")
|
|
1405
|
-
])) :
|
|
1405
|
+
])) : F("", !0)
|
|
1406
1406
|
]),
|
|
1407
1407
|
o.$slots.default ? (k(), $("div", cy, [
|
|
1408
1408
|
be(o.$slots, "default")
|
|
1409
|
-
])) :
|
|
1409
|
+
])) : F("", !0),
|
|
1410
1410
|
o.$slots.footer ? (k(), $("div", uy, [
|
|
1411
1411
|
be(o.$slots, "footer")
|
|
1412
|
-
])) :
|
|
1412
|
+
])) : F("", !0),
|
|
1413
1413
|
o.$slots.secondary ? (k(), $("div", dy, [
|
|
1414
1414
|
be(o.$slots, "secondary")
|
|
1415
|
-
])) :
|
|
1415
|
+
])) : F("", !0)
|
|
1416
1416
|
]),
|
|
1417
1417
|
_: 3
|
|
1418
1418
|
}, 8, ["class"]));
|
|
@@ -1448,13 +1448,13 @@ const cs = /* @__PURE__ */ de({
|
|
|
1448
1448
|
onClick: i[0] || (i[0] = (s) => o.$emit("click", s))
|
|
1449
1449
|
}), {
|
|
1450
1450
|
default: pe(() => [
|
|
1451
|
-
Eu(
|
|
1451
|
+
Eu(ne(t.label) + " ", 1),
|
|
1452
1452
|
t.variant === ve(Q7).SOLID_ICON && t.iconName ? (k(), Y(Le, {
|
|
1453
1453
|
key: 0,
|
|
1454
1454
|
name: t.iconName,
|
|
1455
1455
|
class: "ao-tag__icon",
|
|
1456
1456
|
size: "sm"
|
|
1457
|
-
}, null, 8, ["name"])) :
|
|
1457
|
+
}, null, 8, ["name"])) : F("", !0)
|
|
1458
1458
|
]),
|
|
1459
1459
|
_: 1
|
|
1460
1460
|
}, 16)),
|
|
@@ -1468,7 +1468,7 @@ const cs = /* @__PURE__ */ de({
|
|
|
1468
1468
|
size: "sm",
|
|
1469
1469
|
class: "ao-tag__close-icon"
|
|
1470
1470
|
})
|
|
1471
|
-
])) :
|
|
1471
|
+
])) : F("", !0)
|
|
1472
1472
|
], 6));
|
|
1473
1473
|
}
|
|
1474
1474
|
});
|
|
@@ -3844,12 +3844,12 @@ const ub = ["title"], db = {
|
|
|
3844
3844
|
class: ye(o.value),
|
|
3845
3845
|
title: t.userName
|
|
3846
3846
|
}, [
|
|
3847
|
-
t.avatarUrl ?
|
|
3847
|
+
t.avatarUrl ? F("", !0) : (k(), $("span", db, ne(ve(i)), 1)),
|
|
3848
3848
|
t.avatarUrl ? (k(), $("img", {
|
|
3849
3849
|
key: 1,
|
|
3850
3850
|
className: "ao-avatar__image",
|
|
3851
3851
|
src: t.avatarUrl
|
|
3852
|
-
}, null, 8, fb)) :
|
|
3852
|
+
}, null, 8, fb)) : F("", !0),
|
|
3853
3853
|
t.isClosable ? (k(), Y(Te, {
|
|
3854
3854
|
key: 2,
|
|
3855
3855
|
"icon-name": "CloseRounded",
|
|
@@ -3857,7 +3857,7 @@ const ub = ["title"], db = {
|
|
|
3857
3857
|
color: t.color,
|
|
3858
3858
|
corners: "round",
|
|
3859
3859
|
onClick: ke(s, ["stop"])
|
|
3860
|
-
}, null, 8, ["color"])) :
|
|
3860
|
+
}, null, 8, ["color"])) : F("", !0)
|
|
3861
3861
|
], 10, ub));
|
|
3862
3862
|
}
|
|
3863
3863
|
});
|
|
@@ -3904,14 +3904,14 @@ const pb = { class: "ao-card-template__subitems" }, hb = { class: "ao-card-templ
|
|
|
3904
3904
|
name: "MountainFlagOutlineRounded",
|
|
3905
3905
|
size: "sm"
|
|
3906
3906
|
}),
|
|
3907
|
-
x("span", mb,
|
|
3907
|
+
x("span", mb, ne(t.milestones), 1)
|
|
3908
3908
|
]),
|
|
3909
3909
|
x("li", gb, [
|
|
3910
3910
|
I(Le, {
|
|
3911
3911
|
name: "TaskOutlineRounded",
|
|
3912
3912
|
size: "sm"
|
|
3913
3913
|
}),
|
|
3914
|
-
x("span", vb,
|
|
3914
|
+
x("span", vb, ne(t.activities), 1)
|
|
3915
3915
|
])
|
|
3916
3916
|
])
|
|
3917
3917
|
]),
|
|
@@ -3923,7 +3923,7 @@ const pb = { class: "ao-card-template__subitems" }, hb = { class: "ao-card-templ
|
|
|
3923
3923
|
name: "WaterfallChartRounded",
|
|
3924
3924
|
size: "sm"
|
|
3925
3925
|
}),
|
|
3926
|
-
x("span", Cb,
|
|
3926
|
+
x("span", Cb, ne(l.$t("template.phases.title")), 1)
|
|
3927
3927
|
]),
|
|
3928
3928
|
t.phases ? (k(), $("ul", wb, [
|
|
3929
3929
|
(k(!0), $(He, null, ot(s.value, (u) => (k(), Y(cs, {
|
|
@@ -3937,8 +3937,8 @@ const pb = { class: "ao-card-template__subitems" }, hb = { class: "ao-card-templ
|
|
|
3937
3937
|
label: `+${a.value} more`,
|
|
3938
3938
|
color: "primary-lighter",
|
|
3939
3939
|
variant: "solid"
|
|
3940
|
-
}, null, 8, ["label"])) :
|
|
3941
|
-
])) :
|
|
3940
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
3941
|
+
])) : F("", !0)
|
|
3942
3942
|
])
|
|
3943
3943
|
])
|
|
3944
3944
|
]),
|
|
@@ -3961,20 +3961,20 @@ const pb = { class: "ao-card-template__subitems" }, hb = { class: "ao-card-templ
|
|
|
3961
3961
|
x("div", kb, [
|
|
3962
3962
|
t.updatedAt ? (k(), $("div", xb, [
|
|
3963
3963
|
x("div", Sb, [
|
|
3964
|
-
x("span", Ab,
|
|
3964
|
+
x("span", Ab, ne(l.$t("template.updatedAt.label")), 1)
|
|
3965
3965
|
]),
|
|
3966
3966
|
x("div", Tb, [
|
|
3967
|
-
x("span", null,
|
|
3967
|
+
x("span", null, ne(t.updatedAt), 1)
|
|
3968
3968
|
])
|
|
3969
|
-
])) :
|
|
3969
|
+
])) : F("", !0),
|
|
3970
3970
|
t.updatedBy ? (k(), $("div", Eb, [
|
|
3971
3971
|
x("div", $b, [
|
|
3972
|
-
x("span", Db,
|
|
3972
|
+
x("span", Db, ne(l.$t("template.updatedBy.label")), 1)
|
|
3973
3973
|
]),
|
|
3974
3974
|
x("div", Mb, [
|
|
3975
3975
|
I(Hr, { "user-name": t.updatedBy }, null, 8, ["user-name"])
|
|
3976
3976
|
])
|
|
3977
|
-
])) :
|
|
3977
|
+
])) : F("", !0)
|
|
3978
3978
|
])
|
|
3979
3979
|
]),
|
|
3980
3980
|
key: "0"
|
|
@@ -3999,12 +3999,12 @@ const Nb = { class: "ao-page-header" }, Ib = { class: "ao-page-header-main" }, P
|
|
|
3999
3999
|
"icon-name": "ArrowBackRounded",
|
|
4000
4000
|
variant: "ghost",
|
|
4001
4001
|
onClick: n[0] || (n[0] = (r) => e.$emit("goBack"))
|
|
4002
|
-
})) :
|
|
4002
|
+
})) : F("", !0),
|
|
4003
4003
|
be(e.$slots, "primary")
|
|
4004
4004
|
]),
|
|
4005
4005
|
e.$slots.secondary ? (k(), $("div", Pb, [
|
|
4006
4006
|
be(e.$slots, "secondary")
|
|
4007
|
-
])) :
|
|
4007
|
+
])) : F("", !0)
|
|
4008
4008
|
]));
|
|
4009
4009
|
}
|
|
4010
4010
|
});
|
|
@@ -4035,14 +4035,14 @@ const Fb = ["type"], Rb = {
|
|
|
4035
4035
|
])
|
|
4036
4036
|
}, [
|
|
4037
4037
|
be(o.$slots, "default", {}, () => [
|
|
4038
|
-
t.label ? (k(), $("span", Rb,
|
|
4038
|
+
t.label ? (k(), $("span", Rb, ne(t.label), 1)) : F("", !0)
|
|
4039
4039
|
]),
|
|
4040
4040
|
r.value ? (k(), Y(Le, {
|
|
4041
4041
|
key: 0,
|
|
4042
4042
|
name: r.value,
|
|
4043
4043
|
class: "ao-button-card__icon",
|
|
4044
4044
|
size: n.value
|
|
4045
|
-
}, null, 8, ["name", "size"])) :
|
|
4045
|
+
}, null, 8, ["name", "size"])) : F("", !0)
|
|
4046
4046
|
], 10, Fb));
|
|
4047
4047
|
}
|
|
4048
4048
|
});
|
|
@@ -4078,8 +4078,8 @@ const Bb = { class: "ao-card-template-item__footer" }, Ub = {
|
|
|
4078
4078
|
name: i[c],
|
|
4079
4079
|
size: "sm"
|
|
4080
4080
|
}, null, 8, ["name"]),
|
|
4081
|
-
x("span", qb,
|
|
4082
|
-
])) :
|
|
4081
|
+
x("span", qb, ne(a.$props[c]), 1)
|
|
4082
|
+
])) : F("", !0)
|
|
4083
4083
|
], 64))), 64))
|
|
4084
4084
|
])
|
|
4085
4085
|
]),
|
|
@@ -4206,7 +4206,7 @@ const zb = /* @__PURE__ */ de({
|
|
|
4206
4206
|
])
|
|
4207
4207
|
]),
|
|
4208
4208
|
_: 1
|
|
4209
|
-
}, 8, ["model-value", "title"])) :
|
|
4209
|
+
}, 8, ["model-value", "title"])) : F("", !0);
|
|
4210
4210
|
}
|
|
4211
4211
|
}), Zb = /* @__PURE__ */ de({
|
|
4212
4212
|
__name: "AoCardTemplateItemActivity",
|
|
@@ -4292,7 +4292,7 @@ const zb = /* @__PURE__ */ de({
|
|
|
4292
4292
|
])
|
|
4293
4293
|
]),
|
|
4294
4294
|
_: 1
|
|
4295
|
-
}, 8, ["model-value", "title"])) :
|
|
4295
|
+
}, 8, ["model-value", "title"])) : F("", !0);
|
|
4296
4296
|
}
|
|
4297
4297
|
}), Yb = { class: "ao-modal" }, Jb = {
|
|
4298
4298
|
key: 0,
|
|
@@ -4327,13 +4327,13 @@ const zb = /* @__PURE__ */ de({
|
|
|
4327
4327
|
x("header", Qb, [
|
|
4328
4328
|
be(e.$slots, "header")
|
|
4329
4329
|
])
|
|
4330
|
-
])) :
|
|
4330
|
+
])) : F("", !0),
|
|
4331
4331
|
x("div", eC, [
|
|
4332
4332
|
be(e.$slots, "default")
|
|
4333
4333
|
]),
|
|
4334
4334
|
e.$slots.footer ? (k(), $("footer", tC, [
|
|
4335
4335
|
be(e.$slots, "footer")
|
|
4336
|
-
])) :
|
|
4336
|
+
])) : F("", !0)
|
|
4337
4337
|
])
|
|
4338
4338
|
], 2));
|
|
4339
4339
|
}
|
|
@@ -5310,7 +5310,7 @@ function UC(t, e, n) {
|
|
|
5310
5310
|
disabledProp: le,
|
|
5311
5311
|
searchStart: H,
|
|
5312
5312
|
searchFilter: he
|
|
5313
|
-
} = on(t), fe = Eo().proxy, te = n.iv, W = n.ev, ce = n.search, xe = n.clearSearch, Ue = n.update, Qe = n.pointer, Et = n.setPointer, Oe = n.clearPointer, $t = n.focus, qe = n.deactivate, It = n.close,
|
|
5313
|
+
} = on(t), fe = Eo().proxy, te = n.iv, W = n.ev, ce = n.search, xe = n.clearSearch, Ue = n.update, Qe = n.pointer, Et = n.setPointer, Oe = n.clearPointer, $t = n.focus, qe = n.deactivate, It = n.close, B = n.localize, re = ae([]), Ee = ae([]), Ze = ae(!1), et = ae(null), De = ae(z.value && s.value === -1 ? 10 : s.value), On = O(() => l.value || c.value || !1), Jn = O(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), rt = O(() => {
|
|
5314
5314
|
if (N.value) {
|
|
5315
5315
|
let P = vn.value || /* istanbul ignore next */
|
|
5316
5316
|
[], oe = [];
|
|
@@ -5322,7 +5322,7 @@ function UC(t, e, n) {
|
|
|
5322
5322
|
} else {
|
|
5323
5323
|
let P = Oi(Ee.value || /* istanbul ignore next */
|
|
5324
5324
|
[]);
|
|
5325
|
-
return
|
|
5325
|
+
return re.value.length && (P = P.concat(re.value)), P;
|
|
5326
5326
|
}
|
|
5327
5327
|
}), Pt = O(() => {
|
|
5328
5328
|
let P = rt.value;
|
|
@@ -5335,9 +5335,9 @@ function UC(t, e, n) {
|
|
|
5335
5335
|
return [];
|
|
5336
5336
|
let P = [], oe = Ee.value || /* istanbul ignore next */
|
|
5337
5337
|
[];
|
|
5338
|
-
return
|
|
5338
|
+
return re.value.length && P.push({
|
|
5339
5339
|
[E.value]: " ",
|
|
5340
|
-
[J.value]: [...
|
|
5340
|
+
[J.value]: [...re.value],
|
|
5341
5341
|
__CREATE__: !0
|
|
5342
5342
|
}), P.concat(oe);
|
|
5343
5343
|
}), Xn = O(() => {
|
|
@@ -5485,7 +5485,7 @@ function UC(t, e, n) {
|
|
|
5485
5485
|
}, $i = () => {
|
|
5486
5486
|
o.value !== "single" && yn(kt.value.filter((P) => !P.disabled && !Vt(P)));
|
|
5487
5487
|
}, Zl = (P) => P.find((oe) => !Vt(oe) && !oe[le.value]) === void 0, Zs = (P) => P.find((oe) => !Vt(oe)) === void 0, Wt = (P) => rt.value[rt.value.map((oe) => String(oe[b.value])).indexOf(String(P))], Ks = (P) => rt.value.findIndex((oe) => Ln.value.some((Me) => (parseInt(oe[Me]) == oe[Me] ? parseInt(oe[Me]) : oe[Me]) === (parseInt(P) == P ? parseInt(P) : P))), Di = (P) => ["tags", "multiple"].indexOf(o.value) !== -1 && a.value && Vt(P), Kl = (P) => {
|
|
5488
|
-
|
|
5488
|
+
re.value.push(P);
|
|
5489
5489
|
}, Yr = (P) => j.value ? P.filter(
|
|
5490
5490
|
(oe) => ce.value ? oe.__VISIBLE__.length : oe[J.value].length
|
|
5491
5491
|
) : P.filter((oe) => ce.value ? oe.__VISIBLE__.length : !0), Mi = (P, oe = !0) => {
|
|
@@ -5493,7 +5493,7 @@ function UC(t, e, n) {
|
|
|
5493
5493
|
if (ce.value && y.value) {
|
|
5494
5494
|
let Ge = he.value;
|
|
5495
5495
|
Ge || (Ge = (er, bn, Ii) => Ln.value.some((tr) => {
|
|
5496
|
-
let Ys = nc(
|
|
5496
|
+
let Ys = nc(B(er[tr]), U.value);
|
|
5497
5497
|
return H.value ? Ys.startsWith(nc(bn, U.value)) : Ys.indexOf(nc(bn, U.value)) !== -1;
|
|
5498
5498
|
})), Me = Me.filter((er) => Ge(er, ce.value, fe));
|
|
5499
5499
|
}
|
|
@@ -6390,11 +6390,11 @@ function I9(t) {
|
|
|
6390
6390
|
var L, N = C === "y" ? kn : lr, q = C === "y" ? Wn : Rr, z = C === "y" ? "height" : "width", J = b[C], j = J + v[N], K = J - v[q], V = p ? -E[z] / 2 : 0, le = g === ui ? S[z] : E[z], H = g === ui ? -E[z] : -S[z], he = e.elements.arrow, fe = p && he ? xh(he) : {
|
|
6391
6391
|
width: 0,
|
|
6392
6392
|
height: 0
|
|
6393
|
-
}, te = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : $h(), W = te[N], ce = te[q], xe = ba(0, S[z], fe[z]), Ue = y ? S[z] / 2 - V - xe - W - M.mainAxis : le - xe - W - M.mainAxis, Qe = y ? -S[z] / 2 + V + xe + ce + M.mainAxis : H + xe + ce + M.mainAxis, Et = e.elements.arrow && gl(e.elements.arrow), Oe = Et ? C === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, $t = (L = U == null ? void 0 : U[C]) != null ? L : 0, qe = J + Ue - $t - Oe, It = J + Qe - $t,
|
|
6394
|
-
b[C] =
|
|
6393
|
+
}, te = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : $h(), W = te[N], ce = te[q], xe = ba(0, S[z], fe[z]), Ue = y ? S[z] / 2 - V - xe - W - M.mainAxis : le - xe - W - M.mainAxis, Qe = y ? -S[z] / 2 + V + xe + ce + M.mainAxis : H + xe + ce + M.mainAxis, Et = e.elements.arrow && gl(e.elements.arrow), Oe = Et ? C === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, $t = (L = U == null ? void 0 : U[C]) != null ? L : 0, qe = J + Ue - $t - Oe, It = J + Qe - $t, B = ba(p ? Na(j, qe) : j, J, p ? lo(K, It) : K);
|
|
6394
|
+
b[C] = B, D[C] = B - J;
|
|
6395
6395
|
}
|
|
6396
6396
|
if (a) {
|
|
6397
|
-
var
|
|
6397
|
+
var re, Ee = C === "x" ? kn : lr, Ze = C === "x" ? Wn : Rr, et = b[w], De = w === "y" ? "height" : "width", On = et + v[Ee], Jn = et - v[Ze], rt = [kn, lr].indexOf(_) !== -1, Pt = (re = U == null ? void 0 : U[w]) != null ? re : 0, kt = rt ? On : et - S[De] - E[De] - Pt + M.altAxis, vn = rt ? et + S[De] + E[De] - Pt - M.altAxis : Jn, Xn = p && rt ? N9(kt, et, vn) : ba(p ? kt : On, et, p ? vn : Jn);
|
|
6398
6398
|
b[w] = Xn, D[w] = Xn - et;
|
|
6399
6399
|
}
|
|
6400
6400
|
e.modifiersData[r] = D;
|
|
@@ -7339,7 +7339,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7339
7339
|
"aria-multiselectable": n.searchable ? void 0 : t.ariaMultiselectable,
|
|
7340
7340
|
role: n.searchable ? void 0 : "combobox"
|
|
7341
7341
|
}, n.searchable ? {} : t.arias), [
|
|
7342
|
-
|
|
7342
|
+
F(" Search "),
|
|
7343
7343
|
n.mode !== "tags" && n.searchable && !n.disabled ? (k(), $("input", Ot({
|
|
7344
7344
|
key: 0,
|
|
7345
7345
|
type: n.inputType,
|
|
@@ -7361,8 +7361,8 @@ function _4(t, e, n, r, o, i) {
|
|
|
7361
7361
|
}, {
|
|
7362
7362
|
...n.attrs,
|
|
7363
7363
|
...t.arias
|
|
7364
|
-
}), null, 16, e4)) :
|
|
7365
|
-
|
|
7364
|
+
}), null, 16, e4)) : F("v-if", !0),
|
|
7365
|
+
F(" Tags (with search) "),
|
|
7366
7366
|
n.mode == "tags" ? (k(), $(
|
|
7367
7367
|
"div",
|
|
7368
7368
|
{
|
|
@@ -7394,7 +7394,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7394
7394
|
{
|
|
7395
7395
|
class: ye(t.classList.tagWrapper)
|
|
7396
7396
|
},
|
|
7397
|
-
|
|
7397
|
+
ne(t.localize(s[n.label])),
|
|
7398
7398
|
3
|
|
7399
7399
|
/* TEXT, CLASS */
|
|
7400
7400
|
),
|
|
@@ -7412,7 +7412,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7412
7412
|
2
|
|
7413
7413
|
/* CLASS */
|
|
7414
7414
|
)
|
|
7415
|
-
], 10, n4)) :
|
|
7415
|
+
], 10, n4)) : F("v-if", !0)
|
|
7416
7416
|
], 42, t4))
|
|
7417
7417
|
])),
|
|
7418
7418
|
256
|
|
@@ -7425,17 +7425,17 @@ function _4(t, e, n, r, o, i) {
|
|
|
7425
7425
|
ref: "tags"
|
|
7426
7426
|
},
|
|
7427
7427
|
[
|
|
7428
|
-
|
|
7428
|
+
F(" Used for measuring search width "),
|
|
7429
7429
|
x(
|
|
7430
7430
|
"span",
|
|
7431
7431
|
{
|
|
7432
7432
|
class: ye(t.classList.tagsSearchCopy)
|
|
7433
7433
|
},
|
|
7434
|
-
|
|
7434
|
+
ne(t.search),
|
|
7435
7435
|
3
|
|
7436
7436
|
/* TEXT, CLASS */
|
|
7437
7437
|
),
|
|
7438
|
-
|
|
7438
|
+
F(" Actual search input "),
|
|
7439
7439
|
n.searchable && !n.disabled ? (k(), $("input", Ot({
|
|
7440
7440
|
key: 0,
|
|
7441
7441
|
type: n.inputType,
|
|
@@ -7457,7 +7457,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7457
7457
|
}, {
|
|
7458
7458
|
...n.attrs,
|
|
7459
7459
|
...t.arias
|
|
7460
|
-
}), null, 16, r4)) :
|
|
7460
|
+
}), null, 16, r4)) : F("v-if", !0)
|
|
7461
7461
|
],
|
|
7462
7462
|
2
|
|
7463
7463
|
/* CLASS */
|
|
@@ -7465,8 +7465,8 @@ function _4(t, e, n, r, o, i) {
|
|
|
7465
7465
|
],
|
|
7466
7466
|
2
|
|
7467
7467
|
/* CLASS */
|
|
7468
|
-
)) :
|
|
7469
|
-
|
|
7468
|
+
)) : F("v-if", !0),
|
|
7469
|
+
F(" Single label "),
|
|
7470
7470
|
n.mode == "single" && t.hasSelected && !t.search && t.iv ? be(t.$slots, "singlelabel", {
|
|
7471
7471
|
key: 2,
|
|
7472
7472
|
value: t.iv
|
|
@@ -7482,7 +7482,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7482
7482
|
{
|
|
7483
7483
|
class: ye(t.classList.singleLabelText)
|
|
7484
7484
|
},
|
|
7485
|
-
|
|
7485
|
+
ne(t.localize(t.iv[n.label])),
|
|
7486
7486
|
3
|
|
7487
7487
|
/* TEXT, CLASS */
|
|
7488
7488
|
)
|
|
@@ -7490,8 +7490,8 @@ function _4(t, e, n, r, o, i) {
|
|
|
7490
7490
|
2
|
|
7491
7491
|
/* CLASS */
|
|
7492
7492
|
)
|
|
7493
|
-
]) :
|
|
7494
|
-
|
|
7493
|
+
]) : F("v-if", !0),
|
|
7494
|
+
F(" Multiple label "),
|
|
7495
7495
|
n.mode == "multiple" && t.hasSelected && !t.search ? be(t.$slots, "multiplelabel", {
|
|
7496
7496
|
key: 3,
|
|
7497
7497
|
values: t.iv
|
|
@@ -7500,8 +7500,8 @@ function _4(t, e, n, r, o, i) {
|
|
|
7500
7500
|
class: ye(t.classList.multipleLabel),
|
|
7501
7501
|
innerHTML: t.multipleLabelText
|
|
7502
7502
|
}, null, 10, o4)
|
|
7503
|
-
]) :
|
|
7504
|
-
|
|
7503
|
+
]) : F("v-if", !0),
|
|
7504
|
+
F(" Placeholder "),
|
|
7505
7505
|
n.placeholder && !t.hasSelected && !t.search ? be(t.$slots, "placeholder", { key: 4 }, () => [
|
|
7506
7506
|
x(
|
|
7507
7507
|
"div",
|
|
@@ -7509,12 +7509,12 @@ function _4(t, e, n, r, o, i) {
|
|
|
7509
7509
|
class: ye(t.classList.placeholder),
|
|
7510
7510
|
"aria-hidden": "true"
|
|
7511
7511
|
},
|
|
7512
|
-
|
|
7512
|
+
ne(n.placeholder),
|
|
7513
7513
|
3
|
|
7514
7514
|
/* TEXT, CLASS */
|
|
7515
7515
|
)
|
|
7516
|
-
]) :
|
|
7517
|
-
|
|
7516
|
+
]) : F("v-if", !0),
|
|
7517
|
+
F(" Spinner "),
|
|
7518
7518
|
n.loading || t.resolving ? be(t.$slots, "spinner", { key: 5 }, () => [
|
|
7519
7519
|
x(
|
|
7520
7520
|
"span",
|
|
@@ -7526,8 +7526,8 @@ function _4(t, e, n, r, o, i) {
|
|
|
7526
7526
|
2
|
|
7527
7527
|
/* CLASS */
|
|
7528
7528
|
)
|
|
7529
|
-
]) :
|
|
7530
|
-
|
|
7529
|
+
]) : F("v-if", !0),
|
|
7530
|
+
F(" Clear "),
|
|
7531
7531
|
t.hasSelected && !n.disabled && n.canClear && !t.busy ? be(t.$slots, "clear", {
|
|
7532
7532
|
key: 6,
|
|
7533
7533
|
clear: t.clear
|
|
@@ -7558,8 +7558,8 @@ function _4(t, e, n, r, o, i) {
|
|
|
7558
7558
|
34
|
|
7559
7559
|
/* CLASS, HYDRATE_EVENTS */
|
|
7560
7560
|
)
|
|
7561
|
-
]) :
|
|
7562
|
-
|
|
7561
|
+
]) : F("v-if", !0),
|
|
7562
|
+
F(" Caret "),
|
|
7563
7563
|
n.caret && n.showOptions ? be(t.$slots, "caret", {
|
|
7564
7564
|
key: 7,
|
|
7565
7565
|
handleCaretClick: t.handleCaretClick,
|
|
@@ -7576,9 +7576,9 @@ function _4(t, e, n, r, o, i) {
|
|
|
7576
7576
|
2
|
|
7577
7577
|
/* CLASS */
|
|
7578
7578
|
)
|
|
7579
|
-
]) :
|
|
7579
|
+
]) : F("v-if", !0)
|
|
7580
7580
|
], 16, Q9),
|
|
7581
|
-
|
|
7581
|
+
F(" Options "),
|
|
7582
7582
|
(k(), Y(ur, {
|
|
7583
7583
|
to: n.appendTo || "body",
|
|
7584
7584
|
disabled: !n.appendToBody && !n.appendTo
|
|
@@ -7606,7 +7606,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7606
7606
|
"aria-selected": t.isSelected(s),
|
|
7607
7607
|
role: "option"
|
|
7608
7608
|
}, [
|
|
7609
|
-
s.__CREATE__ ?
|
|
7609
|
+
s.__CREATE__ ? F("v-if", !0) : (k(), $("div", {
|
|
7610
7610
|
key: 0,
|
|
7611
7611
|
class: ye(t.classList.groupLabel(s)),
|
|
7612
7612
|
"data-pointed": t.isPointed(s),
|
|
@@ -7652,7 +7652,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7652
7652
|
x(
|
|
7653
7653
|
"span",
|
|
7654
7654
|
null,
|
|
7655
|
-
|
|
7655
|
+
ne(t.localize(c[n.label])),
|
|
7656
7656
|
1
|
|
7657
7657
|
/* TEXT */
|
|
7658
7658
|
)
|
|
@@ -7689,7 +7689,7 @@ function _4(t, e, n, r, o, i) {
|
|
|
7689
7689
|
x(
|
|
7690
7690
|
"span",
|
|
7691
7691
|
null,
|
|
7692
|
-
|
|
7692
|
+
ne(t.localize(s[n.label])),
|
|
7693
7693
|
1
|
|
7694
7694
|
/* TEXT */
|
|
7695
7695
|
)
|
|
@@ -7704,13 +7704,13 @@ function _4(t, e, n, r, o, i) {
|
|
|
7704
7704
|
class: ye(t.classList.noOptions),
|
|
7705
7705
|
innerHTML: t.localize(n.noOptionsText)
|
|
7706
7706
|
}, null, 10, p4)
|
|
7707
|
-
]) :
|
|
7707
|
+
]) : F("v-if", !0),
|
|
7708
7708
|
t.noResults ? be(t.$slots, "noresults", { key: 1 }, () => [
|
|
7709
7709
|
x("div", {
|
|
7710
7710
|
class: ye(t.classList.noResults),
|
|
7711
7711
|
innerHTML: t.localize(n.noResultsText)
|
|
7712
7712
|
}, null, 10, h4)
|
|
7713
|
-
]) :
|
|
7713
|
+
]) : F("v-if", !0),
|
|
7714
7714
|
n.infinite && t.hasMore ? (k(), $(
|
|
7715
7715
|
"div",
|
|
7716
7716
|
{
|
|
@@ -7733,19 +7733,19 @@ function _4(t, e, n, r, o, i) {
|
|
|
7733
7733
|
],
|
|
7734
7734
|
2
|
|
7735
7735
|
/* CLASS */
|
|
7736
|
-
)) :
|
|
7736
|
+
)) : F("v-if", !0),
|
|
7737
7737
|
be(t.$slots, "afterlist", { options: t.fo })
|
|
7738
7738
|
], 10, i4)
|
|
7739
7739
|
], 8, ["to", "disabled"])),
|
|
7740
|
-
|
|
7740
|
+
F(" Hacky input element to show HTML5 required warning "),
|
|
7741
7741
|
n.required ? (k(), $("input", {
|
|
7742
7742
|
key: 0,
|
|
7743
7743
|
class: ye(t.classList.fakeInput),
|
|
7744
7744
|
tabindex: "-1",
|
|
7745
7745
|
value: t.textValue,
|
|
7746
7746
|
required: ""
|
|
7747
|
-
}, null, 10, m4)) :
|
|
7748
|
-
|
|
7747
|
+
}, null, 10, m4)) : F("v-if", !0),
|
|
7748
|
+
F(" Native input support "),
|
|
7749
7749
|
n.nativeSupport ? (k(), $(
|
|
7750
7750
|
He,
|
|
7751
7751
|
{ key: 1 },
|
|
@@ -7770,15 +7770,15 @@ function _4(t, e, n, r, o, i) {
|
|
|
7770
7770
|
],
|
|
7771
7771
|
64
|
|
7772
7772
|
/* STABLE_FRAGMENT */
|
|
7773
|
-
)) :
|
|
7774
|
-
|
|
7773
|
+
)) : F("v-if", !0),
|
|
7774
|
+
F(" Screen reader assistive text "),
|
|
7775
7775
|
n.searchable && t.hasSelected ? (k(), $("div", {
|
|
7776
7776
|
key: 2,
|
|
7777
7777
|
class: ye(t.classList.assist),
|
|
7778
7778
|
id: t.ariaAssist,
|
|
7779
7779
|
"aria-hidden": "true"
|
|
7780
|
-
},
|
|
7781
|
-
|
|
7780
|
+
}, ne(t.ariaLabel), 11, y4)) : F("v-if", !0),
|
|
7781
|
+
F(" Create height for empty input "),
|
|
7782
7782
|
x(
|
|
7783
7783
|
"div",
|
|
7784
7784
|
{
|
|
@@ -7937,7 +7937,7 @@ const C4 = { class: "ao-tasks" }, w4 = { class: "ao-tasks__list" }, k4 = ["id",
|
|
|
7937
7937
|
variant: "ghost",
|
|
7938
7938
|
color: "primary",
|
|
7939
7939
|
onClick: () => l(h.id, !h.isDone)
|
|
7940
|
-
}, null, 8, ["icon-name", "disabled", "onClick"])) :
|
|
7940
|
+
}, null, 8, ["icon-name", "disabled", "onClick"])) : F("", !0),
|
|
7941
7941
|
x("input", {
|
|
7942
7942
|
id: h.id,
|
|
7943
7943
|
value: h.name,
|
|
@@ -7971,7 +7971,7 @@ const C4 = { class: "ao-tasks" }, w4 = { class: "ao-tasks__list" }, k4 = ["id",
|
|
|
7971
7971
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
7972
7972
|
]),
|
|
7973
7973
|
_: 1
|
|
7974
|
-
}, 8, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) :
|
|
7974
|
+
}, 8, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : F("", !0),
|
|
7975
7975
|
t.isEditable ? (k(), Y(Te, {
|
|
7976
7976
|
key: 2,
|
|
7977
7977
|
class: "ao-subtask__delete",
|
|
@@ -7980,7 +7980,7 @@ const C4 = { class: "ao-tasks" }, w4 = { class: "ao-tasks__list" }, k4 = ["id",
|
|
|
7980
7980
|
variant: "ghost",
|
|
7981
7981
|
color: "neutral",
|
|
7982
7982
|
onClick: () => c(h.id)
|
|
7983
|
-
}, null, 8, ["onClick"])) :
|
|
7983
|
+
}, null, 8, ["onClick"])) : F("", !0)
|
|
7984
7984
|
]);
|
|
7985
7985
|
}), 128))
|
|
7986
7986
|
]),
|
|
@@ -7992,7 +7992,7 @@ const C4 = { class: "ao-tasks" }, w4 = { class: "ao-tasks__list" }, k4 = ["id",
|
|
|
7992
7992
|
variant: "ghost",
|
|
7993
7993
|
color: "primary",
|
|
7994
7994
|
onClick: s
|
|
7995
|
-
}, null, 8, ["label"])) :
|
|
7995
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
7996
7996
|
])
|
|
7997
7997
|
]));
|
|
7998
7998
|
}
|
|
@@ -8081,7 +8081,7 @@ const A4 = { class: "ao-files__placeholder" }, T4 = {
|
|
|
8081
8081
|
onDragleave: ke(d, ["prevent"])
|
|
8082
8082
|
}, [
|
|
8083
8083
|
be(p.$slots, "default", {}, () => [
|
|
8084
|
-
x("span", A4,
|
|
8084
|
+
x("span", A4, ne(p.$t("activity.attachment.placeholder.resting")), 1)
|
|
8085
8085
|
]),
|
|
8086
8086
|
(m = t.attachments) != null && m.length || t.isEditable ? (k(), $("ul", T4, [
|
|
8087
8087
|
(k(!0), $(He, null, ot(t.attachments, (v, _) => (k(), $("li", {
|
|
@@ -8098,7 +8098,7 @@ const A4 = { class: "ao-files__placeholder" }, T4 = {
|
|
|
8098
8098
|
name: "AttachFileRounded",
|
|
8099
8099
|
size: "sm"
|
|
8100
8100
|
}),
|
|
8101
|
-
x("span", $4,
|
|
8101
|
+
x("span", $4, ne(v.name), 1)
|
|
8102
8102
|
], 8, E4),
|
|
8103
8103
|
x("div", D4, [
|
|
8104
8104
|
I(Te, {
|
|
@@ -8121,7 +8121,7 @@ const A4 = { class: "ao-files__placeholder" }, T4 = {
|
|
|
8121
8121
|
"aria-label": "Delete",
|
|
8122
8122
|
title: "Delete",
|
|
8123
8123
|
onClick: ke((g) => s(v), ["stop"])
|
|
8124
|
-
}, null, 8, ["onClick"])) :
|
|
8124
|
+
}, null, 8, ["onClick"])) : F("", !0)
|
|
8125
8125
|
])
|
|
8126
8126
|
]))), 128)),
|
|
8127
8127
|
t.isEditable ? (k(), $("li", M4, [
|
|
@@ -8131,7 +8131,7 @@ const A4 = { class: "ao-files__placeholder" }, T4 = {
|
|
|
8131
8131
|
name: "Add",
|
|
8132
8132
|
size: "sm"
|
|
8133
8133
|
}),
|
|
8134
|
-
x("span", N4,
|
|
8134
|
+
x("span", N4, ne(p.$t("activity.attachment.button.resting")), 1)
|
|
8135
8135
|
]),
|
|
8136
8136
|
x("input", {
|
|
8137
8137
|
class: "input-field",
|
|
@@ -8142,10 +8142,10 @@ const A4 = { class: "ao-files__placeholder" }, T4 = {
|
|
|
8142
8142
|
onChange: l
|
|
8143
8143
|
}, null, 32)
|
|
8144
8144
|
])
|
|
8145
|
-
])) :
|
|
8146
|
-
])) :
|
|
8145
|
+
])) : F("", !0)
|
|
8146
|
+
])) : F("", !0),
|
|
8147
8147
|
Jt(x("div", I4, [
|
|
8148
|
-
x("span", P4,
|
|
8148
|
+
x("span", P4, ne(p.$t("activity.attachment.placeholder.active")), 1)
|
|
8149
8149
|
], 512), [
|
|
8150
8150
|
[_a, o.value]
|
|
8151
8151
|
])
|
|
@@ -12740,7 +12740,7 @@ function Qh() {
|
|
|
12740
12740
|
const $t = Ne({}, [...uf, ...yc, ..._c, ...bc, ...df]);
|
|
12741
12741
|
let qe = null;
|
|
12742
12742
|
const It = Ne({}, [...ff, ...Cc, ...pf, ...la]);
|
|
12743
|
-
let
|
|
12743
|
+
let B = Object.seal(jo(null, {
|
|
12744
12744
|
tagNameCheck: {
|
|
12745
12745
|
writable: !0,
|
|
12746
12746
|
configurable: !1,
|
|
@@ -12759,7 +12759,7 @@ function Qh() {
|
|
|
12759
12759
|
enumerable: !0,
|
|
12760
12760
|
value: !1
|
|
12761
12761
|
}
|
|
12762
|
-
})),
|
|
12762
|
+
})), re = null, Ee = null;
|
|
12763
12763
|
const Ze = Object.seal(jo(null, {
|
|
12764
12764
|
tagCheck: {
|
|
12765
12765
|
writable: !0,
|
|
@@ -12848,13 +12848,13 @@ function Qh() {
|
|
|
12848
12848
|
base: Ei
|
|
12849
12849
|
}), zt = xr(A, "FORBID_CONTENTS", No, {
|
|
12850
12850
|
transform: je
|
|
12851
|
-
}),
|
|
12851
|
+
}), re = xr(A, "FORBID_TAGS", xt({}), {
|
|
12852
12852
|
transform: je
|
|
12853
12853
|
}), Ee = xr(A, "FORBID_ATTR", xt({}), {
|
|
12854
12854
|
transform: je
|
|
12855
12855
|
}), Ht = ft(A, "USE_PROFILES") ? A.USE_PROFILES && typeof A.USE_PROFILES == "object" ? xt(A.USE_PROFILES) : A.USE_PROFILES : !1, et = A.ALLOW_ARIA_ATTR !== !1, De = A.ALLOW_DATA_ATTR !== !1, On = A.ALLOW_UNKNOWN_PROTOCOLS || !1, Jn = A.ALLOW_SELF_CLOSE_IN_ATTR !== !1, rt = A.SAFE_FOR_TEMPLATES || !1, Pt = A.SAFE_FOR_XML !== !1, kt = A.WHOLE_DOCUMENT || !1, _r = A.RETURN_DOM || !1, Oo = A.RETURN_DOM_FRAGMENT || !1, Lo = A.RETURN_TRUSTED_TYPE || !1, Kr = A.FORCE_BODY || !1, Qn = A.SANITIZE_DOM !== !1, Ln = A.SANITIZE_NAMED_PROPS || !1, Ti = A.KEEP_CONTENT !== !1, yn = A.IN_PLACE || !1, Et = cle(A.ALLOWED_URI_REGEXP) ? A.ALLOWED_URI_REGEXP : hf, Cr = typeof A.NAMESPACE == "string" ? A.NAMESPACE : jt, Wt = ft(A, "MATHML_TEXT_INTEGRATION_POINTS") && A.MATHML_TEXT_INTEGRATION_POINTS && typeof A.MATHML_TEXT_INTEGRATION_POINTS == "object" ? xt(A.MATHML_TEXT_INTEGRATION_POINTS) : Ne({}, Zs), Di = ft(A, "HTML_INTEGRATION_POINTS") && A.HTML_INTEGRATION_POINTS && typeof A.HTML_INTEGRATION_POINTS == "object" ? xt(A.HTML_INTEGRATION_POINTS) : Ne({}, Ks);
|
|
12856
|
-
const
|
|
12857
|
-
if (
|
|
12856
|
+
const R = ft(A, "CUSTOM_ELEMENT_HANDLING") && A.CUSTOM_ELEMENT_HANDLING && typeof A.CUSTOM_ELEMENT_HANDLING == "object" ? xt(A.CUSTOM_ELEMENT_HANDLING) : jo(null);
|
|
12857
|
+
if (B = jo(null), ft(R, "tagNameCheck") && Gs(R.tagNameCheck) && (B.tagNameCheck = R.tagNameCheck), ft(R, "attributeNameCheck") && Gs(R.attributeNameCheck) && (B.attributeNameCheck = R.attributeNameCheck), ft(R, "allowCustomizedBuiltInElements") && typeof R.allowCustomizedBuiltInElements == "boolean" && (B.allowCustomizedBuiltInElements = R.allowCustomizedBuiltInElements), Ct(B), rt && (De = !1), Oo && (_r = !0), Ht && (Oe = Ne({}, df), qe = jo(null), Ht.html === !0 && (Ne(Oe, uf), Ne(qe, ff)), Ht.svg === !0 && (Ne(Oe, yc), Ne(qe, Cc), Ne(qe, la)), Ht.svgFilters === !0 && (Ne(Oe, _c), Ne(qe, Cc), Ne(qe, la)), Ht.mathMl === !0 && (Ne(Oe, bc), Ne(qe, pf), Ne(qe, la))), Ze.tagCheck = null, Ze.attributeCheck = null, ft(A, "ADD_TAGS") && (typeof A.ADD_TAGS == "function" ? Ze.tagCheck = A.ADD_TAGS : Er(A.ADD_TAGS) && (Oe === $t && (Oe = xt(Oe)), Ne(Oe, A.ADD_TAGS, je))), ft(A, "ADD_ATTR") && (typeof A.ADD_ATTR == "function" ? Ze.attributeCheck = A.ADD_ATTR : Er(A.ADD_ATTR) && (qe === It && (qe = xt(qe)), Ne(qe, A.ADD_ATTR, je))), ft(A, "ADD_URI_SAFE_ATTR") && Er(A.ADD_URI_SAFE_ATTR) && Ne(Vt, A.ADD_URI_SAFE_ATTR, je), ft(A, "FORBID_CONTENTS") && Er(A.FORBID_CONTENTS) && (zt === No && (zt = xt(zt)), Ne(zt, A.FORBID_CONTENTS, je)), ft(A, "ADD_FORBID_CONTENTS") && Er(A.ADD_FORBID_CONTENTS) && (zt === No && (zt = xt(zt)), Ne(zt, A.ADD_FORBID_CONTENTS, je)), Ti && (Oe["#text"] = !0), kt && Ne(Oe, ["html", "head", "body"]), Oe.table && (Ne(Oe, ["tbody"]), delete re.tbody), A.TRUSTED_TYPES_POLICY) {
|
|
12858
12858
|
if (typeof A.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
12859
12859
|
throw Xr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
12860
12860
|
if (typeof A.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -12869,20 +12869,20 @@ function Qh() {
|
|
|
12869
12869
|
} else
|
|
12870
12870
|
A.TRUSTED_TYPES_POLICY === null ? (S = void 0, E = "") : (S === void 0 && (S = q()), S && typeof E == "string" && (E = L("")));
|
|
12871
12871
|
_t && _t(A), _n = A;
|
|
12872
|
-
}, Ni = Ne({}, [...yc, ..._c, ...ule]), P = Ne({}, [...bc, ...dle]), oe = function(A,
|
|
12873
|
-
return
|
|
12874
|
-
}, Me = function(A,
|
|
12875
|
-
return
|
|
12876
|
-
}, Ge = function(A,
|
|
12877
|
-
return
|
|
12872
|
+
}, Ni = Ne({}, [...yc, ..._c, ...ule]), P = Ne({}, [...bc, ...dle]), oe = function(A, R, X) {
|
|
12873
|
+
return R.namespaceURI === jt ? A === "svg" : R.namespaceURI === br ? A === "svg" && (X === "annotation-xml" || Wt[X]) : !!Ni[A];
|
|
12874
|
+
}, Me = function(A, R, X) {
|
|
12875
|
+
return R.namespaceURI === jt ? A === "math" : R.namespaceURI === Po ? A === "math" && Di[X] : !!P[A];
|
|
12876
|
+
}, Ge = function(A, R, X) {
|
|
12877
|
+
return R.namespaceURI === Po && !Di[X] || R.namespaceURI === br && !Wt[X] ? !1 : !P[A] && (Kl[A] || !Ni[A]);
|
|
12878
12878
|
}, er = function(A) {
|
|
12879
|
-
let
|
|
12880
|
-
(!
|
|
12879
|
+
let R = _(A);
|
|
12880
|
+
(!R || !R.tagName) && (R = {
|
|
12881
12881
|
namespaceURI: Cr,
|
|
12882
12882
|
tagName: "template"
|
|
12883
12883
|
});
|
|
12884
|
-
const X = Ji(A.tagName), _e = Ji(
|
|
12885
|
-
return $i[A.namespaceURI] ? A.namespaceURI === Po ? oe(X,
|
|
12884
|
+
const X = Ji(A.tagName), _e = Ji(R.tagName);
|
|
12885
|
+
return $i[A.namespaceURI] ? A.namespaceURI === Po ? oe(X, R, _e) : A.namespaceURI === br ? Me(X, R, _e) : A.namespaceURI === jt ? Ge(X, R, _e) : !!(Yr === "application/xhtml+xml" && $i[A.namespaceURI]) : !1;
|
|
12886
12886
|
}, bn = function(A) {
|
|
12887
12887
|
Ho(e.removed, {
|
|
12888
12888
|
element: A
|
|
@@ -12895,10 +12895,10 @@ function Qh() {
|
|
|
12895
12895
|
}
|
|
12896
12896
|
}, Ii = function(A) {
|
|
12897
12897
|
Pi(A);
|
|
12898
|
-
const
|
|
12899
|
-
if (
|
|
12898
|
+
const R = v(A);
|
|
12899
|
+
if (R) {
|
|
12900
12900
|
const _e = [];
|
|
12901
|
-
qo(
|
|
12901
|
+
qo(R, (Ce) => {
|
|
12902
12902
|
Ho(_e, Ce);
|
|
12903
12903
|
}), qo(_e, (Ce) => {
|
|
12904
12904
|
try {
|
|
@@ -12917,34 +12917,34 @@ function Qh() {
|
|
|
12917
12917
|
} catch {
|
|
12918
12918
|
}
|
|
12919
12919
|
}
|
|
12920
|
-
}, tr = function(A,
|
|
12920
|
+
}, tr = function(A, R) {
|
|
12921
12921
|
try {
|
|
12922
12922
|
Ho(e.removed, {
|
|
12923
|
-
attribute:
|
|
12924
|
-
from:
|
|
12923
|
+
attribute: R.getAttributeNode(A),
|
|
12924
|
+
from: R
|
|
12925
12925
|
});
|
|
12926
12926
|
} catch {
|
|
12927
12927
|
Ho(e.removed, {
|
|
12928
12928
|
attribute: null,
|
|
12929
|
-
from:
|
|
12929
|
+
from: R
|
|
12930
12930
|
});
|
|
12931
12931
|
}
|
|
12932
|
-
if (
|
|
12932
|
+
if (R.removeAttribute(A), A === "is")
|
|
12933
12933
|
if (_r || Oo)
|
|
12934
12934
|
try {
|
|
12935
|
-
bn(
|
|
12935
|
+
bn(R);
|
|
12936
12936
|
} catch {
|
|
12937
12937
|
}
|
|
12938
12938
|
else
|
|
12939
12939
|
try {
|
|
12940
|
-
|
|
12940
|
+
R.setAttribute(A, "");
|
|
12941
12941
|
} catch {
|
|
12942
12942
|
}
|
|
12943
12943
|
}, Ys = function(A) {
|
|
12944
|
-
const
|
|
12945
|
-
if (
|
|
12946
|
-
for (let X =
|
|
12947
|
-
const _e =
|
|
12944
|
+
const R = y(A);
|
|
12945
|
+
if (R)
|
|
12946
|
+
for (let X = R.length - 1; X >= 0; --X) {
|
|
12947
|
+
const _e = R[X], Ce = _e && _e.name;
|
|
12948
12948
|
if (!(typeof Ce != "string" || qe[je(Ce)]))
|
|
12949
12949
|
try {
|
|
12950
12950
|
A.removeAttribute(Ce);
|
|
@@ -12952,21 +12952,21 @@ function Qh() {
|
|
|
12952
12952
|
}
|
|
12953
12953
|
}
|
|
12954
12954
|
}, Pi = function(A) {
|
|
12955
|
-
const
|
|
12956
|
-
for (;
|
|
12957
|
-
const X =
|
|
12955
|
+
const R = [A];
|
|
12956
|
+
for (; R.length > 0; ) {
|
|
12957
|
+
const X = R.pop();
|
|
12958
12958
|
(C ? C(X) : X.nodeType) === Zt.element && Ys(X);
|
|
12959
12959
|
const Ce = v(X);
|
|
12960
12960
|
if (Ce)
|
|
12961
12961
|
for (let $e = Ce.length - 1; $e >= 0; --$e)
|
|
12962
|
-
|
|
12962
|
+
R.push(Ce[$e]);
|
|
12963
12963
|
}
|
|
12964
12964
|
}, _g = function(A) {
|
|
12965
12965
|
if (!Pt)
|
|
12966
12966
|
return;
|
|
12967
|
-
const
|
|
12968
|
-
for (;
|
|
12969
|
-
const X =
|
|
12967
|
+
const R = [A];
|
|
12968
|
+
for (; R.length > 0; ) {
|
|
12969
|
+
const X = R.pop(), _e = C ? C(X) : X.nodeType;
|
|
12970
12970
|
if (_e === Zt.processingInstruction || _e === Zt.comment && dt(gf, X.data)) {
|
|
12971
12971
|
try {
|
|
12972
12972
|
h(X);
|
|
@@ -12984,10 +12984,10 @@ function Qh() {
|
|
|
12984
12984
|
const Ce = v(X);
|
|
12985
12985
|
if (Ce)
|
|
12986
12986
|
for (let $e = Ce.length - 1; $e >= 0; --$e)
|
|
12987
|
-
|
|
12987
|
+
R.push(Ce[$e]);
|
|
12988
12988
|
}
|
|
12989
12989
|
}, Wd = function(A) {
|
|
12990
|
-
let
|
|
12990
|
+
let R = null, X = null;
|
|
12991
12991
|
if (Kr)
|
|
12992
12992
|
A = "<remove></remove>" + A;
|
|
12993
12993
|
else {
|
|
@@ -12998,22 +12998,22 @@ function Qh() {
|
|
|
12998
12998
|
const _e = S ? L(A) : A;
|
|
12999
12999
|
if (Cr === jt)
|
|
13000
13000
|
try {
|
|
13001
|
-
|
|
13001
|
+
R = new u().parseFromString(_e, Yr);
|
|
13002
13002
|
} catch {
|
|
13003
13003
|
}
|
|
13004
|
-
if (!
|
|
13005
|
-
|
|
13004
|
+
if (!R || !R.documentElement) {
|
|
13005
|
+
R = J.createDocument(Cr, "template", null);
|
|
13006
13006
|
try {
|
|
13007
|
-
|
|
13007
|
+
R.documentElement.innerHTML = Gr ? E : _e;
|
|
13008
13008
|
} catch {
|
|
13009
13009
|
}
|
|
13010
13010
|
}
|
|
13011
|
-
const Ce =
|
|
13012
|
-
return A && X && Ce.insertBefore(n.createTextNode(X), Ce.childNodes[0] || null), Cr === jt ? V.call(
|
|
13011
|
+
const Ce = R.body || R.documentElement;
|
|
13012
|
+
return A && X && Ce.insertBefore(n.createTextNode(X), Ce.childNodes[0] || null), Cr === jt ? V.call(R, kt ? "html" : "body")[0] : kt ? R.documentElement : Ce;
|
|
13013
13013
|
}, Zd = function(A) {
|
|
13014
|
-
const
|
|
13014
|
+
const R = b ? b(A) : A.ownerDocument;
|
|
13015
13015
|
return j.call(
|
|
13016
|
-
|
|
13016
|
+
R || A,
|
|
13017
13017
|
A,
|
|
13018
13018
|
// eslint-disable-next-line no-bitwise
|
|
13019
13019
|
l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION,
|
|
@@ -13022,7 +13022,7 @@ function Qh() {
|
|
|
13022
13022
|
}, Js = function(A) {
|
|
13023
13023
|
return A = Vi(A, he, " "), A = Vi(A, fe, " "), A = Vi(A, te, " "), A;
|
|
13024
13024
|
}, Gl = function(A) {
|
|
13025
|
-
var
|
|
13025
|
+
var R;
|
|
13026
13026
|
A.normalize();
|
|
13027
13027
|
const X = b ? b(A) : A.ownerDocument, _e = j.call(
|
|
13028
13028
|
X || A,
|
|
@@ -13034,13 +13034,13 @@ function Qh() {
|
|
|
13034
13034
|
let Ce = _e.nextNode();
|
|
13035
13035
|
for (; Ce; )
|
|
13036
13036
|
Ce.data = Js(Ce.data), Ce = _e.nextNode();
|
|
13037
|
-
const $e = (
|
|
13037
|
+
const $e = (R = A.querySelectorAll) === null || R === void 0 ? void 0 : R.call(A, "template");
|
|
13038
13038
|
$e && qo($e, (We) => {
|
|
13039
13039
|
Fo(We.content) && Gl(We.content);
|
|
13040
13040
|
});
|
|
13041
13041
|
}, Xs = function(A) {
|
|
13042
|
-
const
|
|
13043
|
-
return typeof
|
|
13042
|
+
const R = w ? w(A) : null;
|
|
13043
|
+
return typeof R != "string" || je(R) !== "form" ? !1 : typeof A.nodeName != "string" || typeof A.textContent != "string" || typeof A.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
|
|
13044
13044
|
// prototype getter. Clobbered .attributes (e.g. <input name="attributes">)
|
|
13045
13045
|
// makes the direct read diverge from the cached read; a clean form
|
|
13046
13046
|
// (same-realm OR foreign-realm) has both reads pointing at the same
|
|
@@ -13081,17 +13081,17 @@ function Qh() {
|
|
|
13081
13081
|
return !1;
|
|
13082
13082
|
}
|
|
13083
13083
|
};
|
|
13084
|
-
function Nn(ie, A,
|
|
13084
|
+
function Nn(ie, A, R) {
|
|
13085
13085
|
ie.length !== 0 && qo(ie, (X) => {
|
|
13086
|
-
X.call(e, A,
|
|
13086
|
+
X.call(e, A, R, _n);
|
|
13087
13087
|
});
|
|
13088
13088
|
}
|
|
13089
|
-
const bg = function(A,
|
|
13090
|
-
return !!(Pt && A.hasChildNodes() && !Fi(A.firstElementChild) && dt(mf, A.textContent) && dt(mf, A.innerHTML) || Pt && A.namespaceURI === jt &&
|
|
13091
|
-
}, Cg = function(A,
|
|
13092
|
-
if (!
|
|
13089
|
+
const bg = function(A, R) {
|
|
13090
|
+
return !!(Pt && A.hasChildNodes() && !Fi(A.firstElementChild) && dt(mf, A.textContent) && dt(mf, A.innerHTML) || Pt && A.namespaceURI === jt && R === "style" && Fi(A.firstElementChild) || A.nodeType === Zt.processingInstruction || Pt && A.nodeType === Zt.comment && dt(gf, A.data));
|
|
13091
|
+
}, Cg = function(A, R, X) {
|
|
13092
|
+
if (!re[R] && Jd(R) && (B.tagNameCheck instanceof RegExp && dt(B.tagNameCheck, R) || B.tagNameCheck instanceof Function && B.tagNameCheck(R)))
|
|
13093
13093
|
return !1;
|
|
13094
|
-
if (Ti && !zt[
|
|
13094
|
+
if (Ti && !zt[R]) {
|
|
13095
13095
|
const _e = _(A), Ce = v(A);
|
|
13096
13096
|
if (Ce && _e) {
|
|
13097
13097
|
const $e = Ce.length;
|
|
@@ -13102,10 +13102,10 @@ function Qh() {
|
|
|
13102
13102
|
}
|
|
13103
13103
|
}
|
|
13104
13104
|
return bn(A), !0;
|
|
13105
|
-
}, Kd = function(A,
|
|
13106
|
-
return A.length === 0 ?
|
|
13107
|
-
}, Gd = function(A,
|
|
13108
|
-
if (Nn(H.beforeSanitizeElements, A, null), A !==
|
|
13105
|
+
}, Kd = function(A, R, X, _e) {
|
|
13106
|
+
return A.length === 0 ? R : R === X || R === _e ? xt(R) : R;
|
|
13107
|
+
}, Gd = function(A, R) {
|
|
13108
|
+
if (Nn(H.beforeSanitizeElements, A, null), A !== R && _(A) === null)
|
|
13109
13109
|
return yn && Pi(A), !0;
|
|
13110
13110
|
if (Xs(A))
|
|
13111
13111
|
return bn(A), !0;
|
|
@@ -13113,12 +13113,12 @@ function Qh() {
|
|
|
13113
13113
|
if (Oe = Kd(H.uponSanitizeElement, Oe, $t, Xn), Nn(H.uponSanitizeElement, A, {
|
|
13114
13114
|
tagName: X,
|
|
13115
13115
|
allowedTags: Oe
|
|
13116
|
-
}), A !==
|
|
13116
|
+
}), A !== R && _(A) === null)
|
|
13117
13117
|
return yn && Pi(A), !0;
|
|
13118
13118
|
if (bg(A, X))
|
|
13119
13119
|
return bn(A), !0;
|
|
13120
|
-
if (
|
|
13121
|
-
const Ce = Cg(A, X,
|
|
13120
|
+
if (re[X] || !(Ze.tagCheck instanceof Function && Ze.tagCheck(X)) && !Oe[X]) {
|
|
13121
|
+
const Ce = Cg(A, X, R);
|
|
13122
13122
|
return Ce === !1 && Nn(H.afterSanitizeElements, A, null), Ce;
|
|
13123
13123
|
}
|
|
13124
13124
|
if ((C ? C(A) : A.nodeType) === Zt.element && !er(A) || (X === "noscript" || X === "noembed" || X === "noframes") && dt(Cle, A.innerHTML))
|
|
@@ -13130,16 +13130,16 @@ function Qh() {
|
|
|
13130
13130
|
}), A.textContent = Ce);
|
|
13131
13131
|
}
|
|
13132
13132
|
return Nn(H.afterSanitizeElements, A, null), !1;
|
|
13133
|
-
}, Yd = function(A,
|
|
13134
|
-
if (Ee[
|
|
13133
|
+
}, Yd = function(A, R, X) {
|
|
13134
|
+
if (Ee[R] || Pt && R === "patchsrc" || Pt && R === "for" && A !== "label" && A !== "output" || Qn && (R === "id" || R === "name") && (X in n || X in Li))
|
|
13135
13135
|
return !1;
|
|
13136
|
-
const _e = qe[
|
|
13137
|
-
if (!(De && dt(W,
|
|
13138
|
-
if (!(et && dt(ce,
|
|
13136
|
+
const _e = qe[R] || Ze.attributeCheck instanceof Function && Ze.attributeCheck(R, A);
|
|
13137
|
+
if (!(De && dt(W, R))) {
|
|
13138
|
+
if (!(et && dt(ce, R))) {
|
|
13139
13139
|
if (_e) {
|
|
13140
|
-
if (!Vt[
|
|
13140
|
+
if (!Vt[R]) {
|
|
13141
13141
|
if (!dt(Et, Vi(X, Ue, ""))) {
|
|
13142
|
-
if (!((
|
|
13142
|
+
if (!((R === "src" || R === "xlink:href" || R === "href") && A !== "script" && af(X, "data:") === 0 && Ws[A])) {
|
|
13143
13143
|
if (!(On && !dt(xe, Vi(X, Ue, "")))) {
|
|
13144
13144
|
if (X)
|
|
13145
13145
|
return !1;
|
|
@@ -13151,9 +13151,9 @@ function Qh() {
|
|
|
13151
13151
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
13152
13152
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
13153
13153
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
13154
|
-
!(Jd(A) && (
|
|
13154
|
+
!(Jd(A) && (B.tagNameCheck instanceof RegExp && dt(B.tagNameCheck, A) || B.tagNameCheck instanceof Function && B.tagNameCheck(A)) && (B.attributeNameCheck instanceof RegExp && dt(B.attributeNameCheck, R) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(R, A)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
13155
13155
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
13156
|
-
|
|
13156
|
+
R === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && dt(B.tagNameCheck, X) || B.tagNameCheck instanceof Function && B.tagNameCheck(X)))
|
|
13157
13157
|
)
|
|
13158
13158
|
return !1;
|
|
13159
13159
|
}
|
|
@@ -13161,25 +13161,25 @@ function Qh() {
|
|
|
13161
13161
|
return !0;
|
|
13162
13162
|
}, wg = Ne({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), Jd = function(A) {
|
|
13163
13163
|
return !wg[Ji(A)] && dt(Qe, A);
|
|
13164
|
-
}, kg = function(A,
|
|
13164
|
+
}, kg = function(A, R, X, _e) {
|
|
13165
13165
|
if (S && typeof d == "object" && typeof d.getAttributeType == "function" && !X)
|
|
13166
|
-
switch (d.getAttributeType(A,
|
|
13166
|
+
switch (d.getAttributeType(A, R)) {
|
|
13167
13167
|
case "TrustedHTML":
|
|
13168
13168
|
return L(_e);
|
|
13169
13169
|
case "TrustedScriptURL":
|
|
13170
13170
|
return N(_e);
|
|
13171
13171
|
}
|
|
13172
13172
|
return _e;
|
|
13173
|
-
}, xg = function(A,
|
|
13173
|
+
}, xg = function(A, R, X, _e) {
|
|
13174
13174
|
try {
|
|
13175
|
-
X ? A.setAttributeNS(X,
|
|
13175
|
+
X ? A.setAttributeNS(X, R, _e) : A.setAttribute(R, _e), Xs(A) ? bn(A) : of(e.removed);
|
|
13176
13176
|
} catch {
|
|
13177
|
-
tr(
|
|
13177
|
+
tr(R, A);
|
|
13178
13178
|
}
|
|
13179
13179
|
}, Xd = function(A) {
|
|
13180
13180
|
Nn(H.beforeSanitizeAttributes, A, null);
|
|
13181
|
-
const
|
|
13182
|
-
if (!
|
|
13181
|
+
const R = A.attributes;
|
|
13182
|
+
if (!R || Xs(A))
|
|
13183
13183
|
return;
|
|
13184
13184
|
qe = Kd(H.uponSanitizeAttribute, qe, It, yr);
|
|
13185
13185
|
const X = {
|
|
@@ -13189,10 +13189,10 @@ function Qh() {
|
|
|
13189
13189
|
allowedAttributes: qe,
|
|
13190
13190
|
forceKeepAttr: void 0
|
|
13191
13191
|
};
|
|
13192
|
-
let _e =
|
|
13192
|
+
let _e = R.length;
|
|
13193
13193
|
const Ce = je(A.nodeName);
|
|
13194
13194
|
for (; _e--; ) {
|
|
13195
|
-
const $e =
|
|
13195
|
+
const $e = R[_e], We = $e.name, Ye = $e.namespaceURI, Ft = $e.value, Rt = je(We), Jl = Ft;
|
|
13196
13196
|
let Dt = We === "value" ? Jl : rle(Jl);
|
|
13197
13197
|
if (X.attrName = Rt, X.attrValue = Dt, X.keepAttr = !0, X.forceKeepAttr = void 0, Nn(H.uponSanitizeAttribute, A, X), Dt = X.attrValue, Ln && (Rt === "id" || Rt === "name") && af(Dt, js) !== 0 && (tr(We, A), Dt = js + Dt), Pt && dt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Dt)) {
|
|
13198
13198
|
tr(We, A);
|
|
@@ -13220,21 +13220,21 @@ function Qh() {
|
|
|
13220
13220
|
}
|
|
13221
13221
|
Nn(H.afterSanitizeAttributes, A, null);
|
|
13222
13222
|
}, Qs = function(A) {
|
|
13223
|
-
let
|
|
13223
|
+
let R = null;
|
|
13224
13224
|
const X = Zd(A);
|
|
13225
|
-
for (Nn(H.beforeSanitizeShadowDOM, A, null);
|
|
13226
|
-
if (Nn(H.uponSanitizeShadowNode,
|
|
13227
|
-
const Ce = g(
|
|
13225
|
+
for (Nn(H.beforeSanitizeShadowDOM, A, null); R = X.nextNode(); )
|
|
13226
|
+
if (Nn(H.uponSanitizeShadowNode, R, null), Gd(R, A), Xd(R), Fo(R.content) && Qs(R.content), (C ? C(R) : R.nodeType) === Zt.element) {
|
|
13227
|
+
const Ce = g(R);
|
|
13228
13228
|
Fo(Ce) && (Yl(Ce), Qs(Ce));
|
|
13229
13229
|
}
|
|
13230
13230
|
Nn(H.afterSanitizeShadowDOM, A, null);
|
|
13231
13231
|
}, Yl = function(A) {
|
|
13232
|
-
const
|
|
13232
|
+
const R = [{
|
|
13233
13233
|
node: A,
|
|
13234
13234
|
shadow: null
|
|
13235
13235
|
}];
|
|
13236
|
-
for (;
|
|
13237
|
-
const X =
|
|
13236
|
+
for (; R.length > 0; ) {
|
|
13237
|
+
const X = R.pop();
|
|
13238
13238
|
if (X.shadow) {
|
|
13239
13239
|
Qs(X.shadow);
|
|
13240
13240
|
continue;
|
|
@@ -13242,7 +13242,7 @@ function Qh() {
|
|
|
13242
13242
|
const _e = X.node, $e = (C ? C(_e) : _e.nodeType) === Zt.element, We = v(_e);
|
|
13243
13243
|
if (We)
|
|
13244
13244
|
for (let Ye = We.length - 1; Ye >= 0; --Ye)
|
|
13245
|
-
|
|
13245
|
+
R.push({
|
|
13246
13246
|
node: We[Ye],
|
|
13247
13247
|
shadow: null
|
|
13248
13248
|
});
|
|
@@ -13250,7 +13250,7 @@ function Qh() {
|
|
|
13250
13250
|
const Ye = w ? w(_e) : null;
|
|
13251
13251
|
if (typeof Ye == "string" && je(Ye) === "template") {
|
|
13252
13252
|
const Ft = _e.content;
|
|
13253
|
-
Fo(Ft) &&
|
|
13253
|
+
Fo(Ft) && R.push({
|
|
13254
13254
|
node: Ft,
|
|
13255
13255
|
shadow: null
|
|
13256
13256
|
});
|
|
@@ -13258,7 +13258,7 @@ function Qh() {
|
|
|
13258
13258
|
}
|
|
13259
13259
|
if ($e) {
|
|
13260
13260
|
const Ye = g(_e);
|
|
13261
|
-
Fo(Ye) &&
|
|
13261
|
+
Fo(Ye) && R.push({
|
|
13262
13262
|
node: null,
|
|
13263
13263
|
shadow: Ye
|
|
13264
13264
|
}, {
|
|
@@ -13269,7 +13269,7 @@ function Qh() {
|
|
|
13269
13269
|
}
|
|
13270
13270
|
};
|
|
13271
13271
|
return e.sanitize = function(ie) {
|
|
13272
|
-
let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
13272
|
+
let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, R = null, X = null, _e = null, Ce = null;
|
|
13273
13273
|
if (Gr = !ie, Gr && (ie = "<!-->"), typeof ie != "string" && !Fi(ie) && (ie = lle(ie), typeof ie != "string"))
|
|
13274
13274
|
throw Xr("dirty is not a string, aborting");
|
|
13275
13275
|
if (!e.isSupported)
|
|
@@ -13281,7 +13281,7 @@ function Qh() {
|
|
|
13281
13281
|
const Ft = w ? w(ie) : ie.nodeName;
|
|
13282
13282
|
if (typeof Ft == "string") {
|
|
13283
13283
|
const Rt = je(Ft);
|
|
13284
|
-
if (!Oe[Rt] ||
|
|
13284
|
+
if (!Oe[Rt] || re[Rt])
|
|
13285
13285
|
throw Ii(ie), Xr("root node is forbidden and cannot be sanitized in-place");
|
|
13286
13286
|
}
|
|
13287
13287
|
if (Xs(ie))
|
|
@@ -13292,16 +13292,16 @@ function Qh() {
|
|
|
13292
13292
|
throw Ii(ie), Rt;
|
|
13293
13293
|
}
|
|
13294
13294
|
} else if (Fi(ie))
|
|
13295
|
-
|
|
13295
|
+
R = Wd("<!---->"), X = R.ownerDocument.importNode(ie, !0), X.nodeType === Zt.element && X.nodeName === "BODY" || X.nodeName === "HTML" ? R = X : R.appendChild(X), Yl(X);
|
|
13296
13296
|
else {
|
|
13297
13297
|
if (!_r && !rt && !kt && // eslint-disable-next-line unicorn/prefer-includes
|
|
13298
13298
|
ie.indexOf("<") === -1)
|
|
13299
13299
|
return S && Lo ? L(ie) : ie;
|
|
13300
|
-
if (
|
|
13300
|
+
if (R = Wd(ie), !R)
|
|
13301
13301
|
return _r ? null : Lo ? E : "";
|
|
13302
13302
|
}
|
|
13303
|
-
|
|
13304
|
-
const We = $e ? ie :
|
|
13303
|
+
R && Kr && bn(R.firstChild);
|
|
13304
|
+
const We = $e ? ie : R;
|
|
13305
13305
|
try {
|
|
13306
13306
|
const Ft = Zd(We);
|
|
13307
13307
|
for (; _e = Ft.nextNode(); )
|
|
@@ -13316,32 +13316,32 @@ function Qh() {
|
|
|
13316
13316
|
Ft.element && Pi(Ft.element);
|
|
13317
13317
|
}), rt && Gl(ie), ie;
|
|
13318
13318
|
if (_r) {
|
|
13319
|
-
if (rt && Gl(
|
|
13320
|
-
for (Ce = K.call(
|
|
13321
|
-
Ce.appendChild(
|
|
13319
|
+
if (rt && Gl(R), Oo)
|
|
13320
|
+
for (Ce = K.call(R.ownerDocument); R.firstChild; )
|
|
13321
|
+
Ce.appendChild(R.firstChild);
|
|
13322
13322
|
else
|
|
13323
|
-
Ce =
|
|
13323
|
+
Ce = R;
|
|
13324
13324
|
return (qe.shadowroot || qe.shadowrootmode) && (Ce = le.call(r, Ce, !0)), Ce;
|
|
13325
13325
|
}
|
|
13326
|
-
let Ye = kt ?
|
|
13327
|
-
return kt && Oe["!doctype"] &&
|
|
13326
|
+
let Ye = kt ? R.outerHTML : R.innerHTML;
|
|
13327
|
+
return kt && Oe["!doctype"] && R.ownerDocument && R.ownerDocument.doctype && R.ownerDocument.doctype.name && dt(_le, R.ownerDocument.doctype.name) && (Ye = "<!DOCTYPE " + R.ownerDocument.doctype.name + `>
|
|
13328
13328
|
` + Ye), rt && (Ye = Js(Ye)), S && Lo ? L(Ye) : Ye;
|
|
13329
13329
|
}, e.setConfig = function() {
|
|
13330
13330
|
let ie = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
13331
13331
|
wr(ie), vn = !0, Xn = Oe, yr = qe;
|
|
13332
13332
|
}, e.clearConfig = function() {
|
|
13333
13333
|
_n = null, vn = !1, Xn = null, yr = null, S = T, E = "";
|
|
13334
|
-
}, e.isValidAttribute = function(ie, A,
|
|
13334
|
+
}, e.isValidAttribute = function(ie, A, R) {
|
|
13335
13335
|
_n || wr({});
|
|
13336
13336
|
const X = je(ie), _e = je(A);
|
|
13337
|
-
return Yd(X, _e,
|
|
13337
|
+
return Yd(X, _e, R);
|
|
13338
13338
|
}, e.addHook = function(ie, A) {
|
|
13339
13339
|
typeof A == "function" && ft(H, ie) && Ho(H[ie], A);
|
|
13340
13340
|
}, e.removeHook = function(ie, A) {
|
|
13341
13341
|
if (ft(H, ie)) {
|
|
13342
13342
|
if (A !== void 0) {
|
|
13343
|
-
const
|
|
13344
|
-
return
|
|
13343
|
+
const R = tle(H[ie], A);
|
|
13344
|
+
return R === -1 ? void 0 : nle(H[ie], R, 1)[0];
|
|
13345
13345
|
}
|
|
13346
13346
|
return of(H[ie]);
|
|
13347
13347
|
}
|
|
@@ -13390,7 +13390,7 @@ const Ale = ["innerHTML"], Tle = {
|
|
|
13390
13390
|
key: 0,
|
|
13391
13391
|
class: "ao-markdown-content",
|
|
13392
13392
|
innerHTML: r.value
|
|
13393
|
-
}, null, 8, Ale)) : (k(), $("div", Tle,
|
|
13393
|
+
}, null, 8, Ale)) : (k(), $("div", Tle, ne(t.placeholder), 1));
|
|
13394
13394
|
}
|
|
13395
13395
|
});
|
|
13396
13396
|
function ee(t, ...e) {
|
|
@@ -24570,7 +24570,7 @@ const qde = (() => {
|
|
|
24570
24570
|
]),
|
|
24571
24571
|
ve(a) ? (k(), $("div", t, [
|
|
24572
24572
|
be(l.$slots, "placeholder")
|
|
24573
|
-
])) :
|
|
24573
|
+
])) : F("", !0)
|
|
24574
24574
|
], 64);
|
|
24575
24575
|
};
|
|
24576
24576
|
}
|
|
@@ -24776,7 +24776,7 @@ const Qde = (() => {
|
|
|
24776
24776
|
return Xde(o), (s, a) => (k(), $(He, null, [
|
|
24777
24777
|
ve(i) ? be(s.$slots, "placeholder", {
|
|
24778
24778
|
key: 0
|
|
24779
|
-
}) :
|
|
24779
|
+
}) : F("", !0),
|
|
24780
24780
|
be(s.$slots, "contentEditable"),
|
|
24781
24781
|
I(ve(Jde))
|
|
24782
24782
|
], 64));
|
|
@@ -25083,7 +25083,7 @@ const Qde = (() => {
|
|
|
25083
25083
|
onPaste: h
|
|
25084
25084
|
}, {
|
|
25085
25085
|
placeholder: pe(() => [
|
|
25086
|
-
x("div", e1e,
|
|
25086
|
+
x("div", e1e, ne(t.placeholder), 1)
|
|
25087
25087
|
]),
|
|
25088
25088
|
_: 1
|
|
25089
25089
|
})
|
|
@@ -25379,7 +25379,7 @@ const n1e = {
|
|
|
25379
25379
|
return (q = i.value) == null ? void 0 : q.insertNumberedList();
|
|
25380
25380
|
})
|
|
25381
25381
|
}, " 1. ", 32)
|
|
25382
|
-
])) :
|
|
25382
|
+
])) : F("", !0),
|
|
25383
25383
|
x("div", {
|
|
25384
25384
|
class: "ao-comment-editor__wrapper",
|
|
25385
25385
|
onFocusin: w,
|
|
@@ -25410,8 +25410,8 @@ const n1e = {
|
|
|
25410
25410
|
onMousedown: L[12] || (L[12] = ke(() => {
|
|
25411
25411
|
}, ["prevent"])),
|
|
25412
25412
|
onClick: (z) => ve(p)(N.name)
|
|
25413
|
-
}, " @" +
|
|
25414
|
-
], 4)) :
|
|
25413
|
+
}, " @" + ne(N.name), 43, r1e))), 128))
|
|
25414
|
+
], 4)) : F("", !0),
|
|
25415
25415
|
t.showSubmitButton ? (k(), $("button", {
|
|
25416
25416
|
key: 1,
|
|
25417
25417
|
type: "button",
|
|
@@ -25422,7 +25422,7 @@ const n1e = {
|
|
|
25422
25422
|
onClick: E
|
|
25423
25423
|
}, [
|
|
25424
25424
|
I(Le, { name: "SendRounded" })
|
|
25425
|
-
], 32)) :
|
|
25425
|
+
], 32)) : F("", !0)
|
|
25426
25426
|
], 32)
|
|
25427
25427
|
], 2));
|
|
25428
25428
|
}
|
|
@@ -25477,13 +25477,13 @@ const o1e = { class: "ao-comment" }, i1e = { class: "ao-comment__created-at" },
|
|
|
25477
25477
|
return (h, m) => {
|
|
25478
25478
|
var v;
|
|
25479
25479
|
return k(), $("li", o1e, [
|
|
25480
|
-
x("span", i1e,
|
|
25480
|
+
x("span", i1e, ne(l.value), 1),
|
|
25481
25481
|
o.value ? (k(), Y(Hr, {
|
|
25482
25482
|
key: 0,
|
|
25483
25483
|
"avatar-url": (v = t.user) == null ? void 0 : v.avatarUrl,
|
|
25484
25484
|
"user-name": o.value,
|
|
25485
25485
|
class: "ao-comment__avatar"
|
|
25486
|
-
}, null, 8, ["avatar-url", "user-name"])) :
|
|
25486
|
+
}, null, 8, ["avatar-url", "user-name"])) : F("", !0),
|
|
25487
25487
|
x("div", s1e, [
|
|
25488
25488
|
x("div", a1e, [
|
|
25489
25489
|
i.value ? (k(), Y(pg, {
|
|
@@ -25536,7 +25536,7 @@ const o1e = { class: "ao-comment" }, i1e = { class: "ao-comment__created-at" },
|
|
|
25536
25536
|
onClick: p
|
|
25537
25537
|
}, null, 8, ["label"])
|
|
25538
25538
|
], 64))
|
|
25539
|
-
])) :
|
|
25539
|
+
])) : F("", !0)
|
|
25540
25540
|
])
|
|
25541
25541
|
]);
|
|
25542
25542
|
};
|
|
@@ -25621,7 +25621,7 @@ const u1e = { class: "ao-comments__new" }, d1e = {
|
|
|
25621
25621
|
onEdit: (h) => c(p.id, h),
|
|
25622
25622
|
onRemove: () => u(p.id)
|
|
25623
25623
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "mentionable-users", "onEdit", "onRemove"]))), 128))
|
|
25624
|
-
])) :
|
|
25624
|
+
])) : F("", !0)
|
|
25625
25625
|
], 512));
|
|
25626
25626
|
}
|
|
25627
25627
|
});
|
|
@@ -25798,7 +25798,7 @@ const p1e = ["aria-label"], h1e = { class: "ao-file-preview__actions" }, m1e = [
|
|
|
25798
25798
|
class: "ao-file-preview__backdrop",
|
|
25799
25799
|
onClick: E
|
|
25800
25800
|
}),
|
|
25801
|
-
c.value ?
|
|
25801
|
+
c.value ? F("", !0) : (k(), $("button", {
|
|
25802
25802
|
key: 0,
|
|
25803
25803
|
type: "button",
|
|
25804
25804
|
class: "ao-file-preview__nav ao-file-preview__nav--prev",
|
|
@@ -25843,8 +25843,8 @@ const p1e = ["aria-label"], h1e = { class: "ao-file-preview__actions" }, m1e = [
|
|
|
25843
25843
|
name: _.value,
|
|
25844
25844
|
size: "xl"
|
|
25845
25845
|
}, null, 8, ["name"]),
|
|
25846
|
-
x("p", b1e,
|
|
25847
|
-
x("p", C1e,
|
|
25846
|
+
x("p", b1e, ne(M.$t("activity.attachment.preview.notAvailable")), 1),
|
|
25847
|
+
x("p", C1e, ne((q = l.value) == null ? void 0 : q.name), 1),
|
|
25848
25848
|
I(Te, {
|
|
25849
25849
|
variant: "solid",
|
|
25850
25850
|
color: "primary",
|
|
@@ -25854,7 +25854,7 @@ const p1e = ["aria-label"], h1e = { class: "ao-file-preview__actions" }, m1e = [
|
|
|
25854
25854
|
}, null, 8, ["label"])
|
|
25855
25855
|
]))
|
|
25856
25856
|
]),
|
|
25857
|
-
u.value ?
|
|
25857
|
+
u.value ? F("", !0) : (k(), $("button", {
|
|
25858
25858
|
key: 1,
|
|
25859
25859
|
type: "button",
|
|
25860
25860
|
class: "ao-file-preview__nav ao-file-preview__nav--next",
|
|
@@ -25870,11 +25870,11 @@ const p1e = ["aria-label"], h1e = { class: "ao-file-preview__actions" }, m1e = [
|
|
|
25870
25870
|
x("span", {
|
|
25871
25871
|
class: "ao-file-preview__info-filename",
|
|
25872
25872
|
title: (z = l.value) == null ? void 0 : z.name
|
|
25873
|
-
},
|
|
25874
|
-
t.attachments.length > 1 ? (k(), $("span", S1e,
|
|
25873
|
+
}, ne((J = l.value) == null ? void 0 : J.name), 9, x1e),
|
|
25874
|
+
t.attachments.length > 1 ? (k(), $("span", S1e, ne(t.currentIndex + 1) + " / " + ne(t.attachments.length), 1)) : F("", !0)
|
|
25875
25875
|
])) : t.attachments.length > 1 ? (k(), $("div", A1e, [
|
|
25876
|
-
x("span", T1e,
|
|
25877
|
-
])) :
|
|
25876
|
+
x("span", T1e, ne(t.currentIndex + 1) + " / " + ne(t.attachments.length), 1)
|
|
25877
|
+
])) : F("", !0)
|
|
25878
25878
|
], 8, p1e)
|
|
25879
25879
|
]);
|
|
25880
25880
|
};
|
|
@@ -25937,7 +25937,7 @@ function M1e(t, e, n, r, o, i) {
|
|
|
25937
25937
|
}),
|
|
25938
25938
|
type: "button",
|
|
25939
25939
|
onClick: e[0] || (e[0] = (...s) => t.selectLeft && t.selectLeft(...s))
|
|
25940
|
-
},
|
|
25940
|
+
}, ne(t.leftLabel), 3),
|
|
25941
25941
|
x("button", {
|
|
25942
25942
|
class: ye({
|
|
25943
25943
|
button: !0,
|
|
@@ -25946,7 +25946,7 @@ function M1e(t, e, n, r, o, i) {
|
|
|
25946
25946
|
}),
|
|
25947
25947
|
type: "button",
|
|
25948
25948
|
onClick: e[1] || (e[1] = (...s) => t.selectRight && t.selectRight(...s))
|
|
25949
|
-
},
|
|
25949
|
+
}, ne(t.rightLabel), 3)
|
|
25950
25950
|
]);
|
|
25951
25951
|
}
|
|
25952
25952
|
const O1e = /* @__PURE__ */ me($1e, [["render", M1e], ["__scopeId", "data-v-cbe33527"]]), L1e = de({
|
|
@@ -25994,8 +25994,8 @@ function F1e(t, e, n, r, o, i) {
|
|
|
25994
25994
|
type: "button",
|
|
25995
25995
|
onClick: (a) => t.selectTab(s.value)
|
|
25996
25996
|
}, [
|
|
25997
|
-
x("span", I1e,
|
|
25998
|
-
s.count !== void 0 && s.count > 0 ? (k(), $("span", P1e,
|
|
25997
|
+
x("span", I1e, ne(s.label), 1),
|
|
25998
|
+
s.count !== void 0 && s.count > 0 ? (k(), $("span", P1e, ne(s.count), 1)) : F("", !0)
|
|
25999
25999
|
], 10, N1e))), 128))
|
|
26000
26000
|
], 2);
|
|
26001
26001
|
}
|
|
@@ -26175,54 +26175,54 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26175
26175
|
__name: "AoActivityDetails",
|
|
26176
26176
|
props: {
|
|
26177
26177
|
activity: {},
|
|
26178
|
-
activityTypes: {},
|
|
26179
|
-
breadcrumbs: {},
|
|
26180
|
-
milestoneId: {},
|
|
26178
|
+
activityTypes: { default: () => [] },
|
|
26179
|
+
breadcrumbs: { default: "" },
|
|
26180
|
+
milestoneId: { default: void 0 },
|
|
26181
26181
|
templateActivities: {},
|
|
26182
|
-
templateMilestones: {},
|
|
26183
|
-
isTemplate: { type: Boolean },
|
|
26182
|
+
templateMilestones: { default: () => [] },
|
|
26183
|
+
isTemplate: { type: Boolean, default: !1 },
|
|
26184
26184
|
users: {},
|
|
26185
|
-
userId: {},
|
|
26186
|
-
isTaskCheckable: {},
|
|
26187
|
-
statuses: {},
|
|
26188
|
-
devStatuses: {},
|
|
26185
|
+
userId: { default: void 0 },
|
|
26186
|
+
isTaskCheckable: { type: Function, default: void 0 },
|
|
26187
|
+
statuses: { default: () => [] },
|
|
26188
|
+
devStatuses: { default: () => [] },
|
|
26189
26189
|
isEditable: { type: [Boolean, String] },
|
|
26190
26190
|
attachmentEnabled: { type: Boolean },
|
|
26191
26191
|
projects: { default: () => [] },
|
|
26192
|
-
timeTrackingData: {},
|
|
26193
|
-
loadAttachmentPreview: {}
|
|
26192
|
+
timeTrackingData: { default: () => ({}) },
|
|
26193
|
+
loadAttachmentPreview: { type: Function, default: void 0 }
|
|
26194
26194
|
},
|
|
26195
26195
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
|
|
26196
26196
|
setup(t, { emit: e }) {
|
|
26197
26197
|
const n = t, r = e, { t: o } = Kn(), i = ae("description"), s = O(() => {
|
|
26198
|
-
var
|
|
26198
|
+
var B, re;
|
|
26199
26199
|
return [
|
|
26200
26200
|
{ label: o("activity.description.label") || "Description", value: "description" },
|
|
26201
26201
|
{
|
|
26202
26202
|
label: o("activity.tasks.title") || "Checklist",
|
|
26203
26203
|
value: "checklist",
|
|
26204
|
-
count: ((
|
|
26204
|
+
count: ((B = n.activity.tasks) == null ? void 0 : B.length) ?? 0
|
|
26205
26205
|
},
|
|
26206
26206
|
{
|
|
26207
26207
|
label: o("activity.comments.title") || "Commentaires",
|
|
26208
26208
|
value: "comments",
|
|
26209
|
-
count: ((
|
|
26209
|
+
count: ((re = n.activity.comments) == null ? void 0 : re.length) ?? 0
|
|
26210
26210
|
}
|
|
26211
26211
|
];
|
|
26212
26212
|
}), a = O(() => {
|
|
26213
|
-
var
|
|
26214
|
-
return n.isEditable === !0 ? !0 : n.userId && n.isEditable === "only-own" ? n.userId === ((
|
|
26215
|
-
}), l = ae(!1), c = ae(null), u = (
|
|
26213
|
+
var B;
|
|
26214
|
+
return n.isEditable === !0 ? !0 : n.userId && n.isEditable === "only-own" ? n.userId === ((B = n.activity.assignee) == null ? void 0 : B.id) : !1;
|
|
26215
|
+
}), l = ae(!1), c = ae(null), u = (B) => {
|
|
26216
26216
|
r("update:activity", {
|
|
26217
26217
|
id: n.activity.id,
|
|
26218
|
-
name:
|
|
26218
|
+
name: B
|
|
26219
26219
|
});
|
|
26220
26220
|
}, d = O(() => n.activity.description ?? ""), f = () => {
|
|
26221
26221
|
a.value && (l.value = !0);
|
|
26222
|
-
}, p = (
|
|
26222
|
+
}, p = (B) => {
|
|
26223
26223
|
r("update:activity", {
|
|
26224
26224
|
id: n.activity.id,
|
|
26225
|
-
description:
|
|
26225
|
+
description: B
|
|
26226
26226
|
}), l.value = !1;
|
|
26227
26227
|
}, h = () => {
|
|
26228
26228
|
l.value = !1;
|
|
@@ -26234,243 +26234,218 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26234
26234
|
get() {
|
|
26235
26235
|
return n.activity.estimation ?? 0;
|
|
26236
26236
|
},
|
|
26237
|
-
set(
|
|
26238
|
-
r("update:activity", { id: n.activity.id, estimation:
|
|
26237
|
+
set(B) {
|
|
26238
|
+
r("update:activity", { id: n.activity.id, estimation: B });
|
|
26239
26239
|
}
|
|
26240
26240
|
}), v = O({
|
|
26241
26241
|
get() {
|
|
26242
|
-
var
|
|
26243
|
-
const
|
|
26244
|
-
return (
|
|
26242
|
+
var re;
|
|
26243
|
+
const B = (re = n.timeTrackingData) == null ? void 0 : re[n.activity.id];
|
|
26244
|
+
return (B == null ? void 0 : B.timeSpent) ?? 0;
|
|
26245
26245
|
},
|
|
26246
26246
|
set() {
|
|
26247
26247
|
}
|
|
26248
26248
|
}), _ = O(() => {
|
|
26249
|
-
var
|
|
26250
|
-
return ((
|
|
26249
|
+
var re;
|
|
26250
|
+
return ((re = n.activity.project) == null ? void 0 : re.estimationUnit) === "days" ? "d" : "h";
|
|
26251
26251
|
}), g = O(() => {
|
|
26252
|
-
var
|
|
26253
|
-
const
|
|
26254
|
-
return cl(v.value,
|
|
26252
|
+
var re;
|
|
26253
|
+
const B = (re = n.activity.project) == null ? void 0 : re.estimationUnit;
|
|
26254
|
+
return cl(v.value, B);
|
|
26255
26255
|
}), y = O({
|
|
26256
26256
|
get() {
|
|
26257
26257
|
return n.activity.important ?? !1;
|
|
26258
26258
|
},
|
|
26259
|
-
set(
|
|
26260
|
-
r("update:activity", { id: n.activity.id, important:
|
|
26261
|
-
}
|
|
26262
|
-
});
|
|
26263
|
-
O({
|
|
26264
|
-
get() {
|
|
26265
|
-
return n.activity.private ?? !1;
|
|
26266
|
-
},
|
|
26267
|
-
set(F) {
|
|
26268
|
-
r("update:activity", { id: n.activity.id, private: F });
|
|
26259
|
+
set(B) {
|
|
26260
|
+
r("update:activity", { id: n.activity.id, important: B });
|
|
26269
26261
|
}
|
|
26270
|
-
})
|
|
26271
|
-
const C = O({
|
|
26262
|
+
}), C = O({
|
|
26272
26263
|
get() {
|
|
26273
26264
|
return n.activity.deadline;
|
|
26274
26265
|
},
|
|
26275
|
-
set(
|
|
26276
|
-
r("update:activity", { id: n.activity.id, deadline:
|
|
26266
|
+
set(B) {
|
|
26267
|
+
r("update:activity", { id: n.activity.id, deadline: B });
|
|
26277
26268
|
}
|
|
26278
|
-
})
|
|
26279
|
-
O(() => {
|
|
26280
|
-
var F;
|
|
26281
|
-
return (F = n.activityTypes) == null ? void 0 : F.map((ne) => ({
|
|
26282
|
-
label: ne.name,
|
|
26283
|
-
value: ne.id
|
|
26284
|
-
}));
|
|
26285
|
-
}), O({
|
|
26286
|
-
get() {
|
|
26287
|
-
var F;
|
|
26288
|
-
return (F = n.activity.type) == null ? void 0 : F.id;
|
|
26289
|
-
},
|
|
26290
|
-
set(F) {
|
|
26291
|
-
r("update:activity", { id: n.activity.id, typeId: F });
|
|
26292
|
-
}
|
|
26293
|
-
});
|
|
26294
|
-
const w = O({
|
|
26269
|
+
}), w = O({
|
|
26295
26270
|
get() {
|
|
26296
26271
|
return n.activity.activityType !== "dev";
|
|
26297
26272
|
},
|
|
26298
|
-
set(
|
|
26273
|
+
set(B) {
|
|
26299
26274
|
var Ee;
|
|
26300
|
-
const
|
|
26301
|
-
n.activity.activityType !== "dev" &&
|
|
26275
|
+
const re = B ? "standard" : "dev";
|
|
26276
|
+
n.activity.activityType !== "dev" && re === "dev" && !n.activity.devStatus && ((Ee = n.devStatuses) != null && Ee.length) ? r("update:activity", {
|
|
26302
26277
|
id: n.activity.id,
|
|
26303
|
-
type:
|
|
26278
|
+
type: re,
|
|
26304
26279
|
statusDevId: n.devStatuses[0].id
|
|
26305
|
-
}) : r("update:activity", { id: n.activity.id, type:
|
|
26280
|
+
}) : r("update:activity", { id: n.activity.id, type: re });
|
|
26306
26281
|
}
|
|
26307
26282
|
}), b = O(() => {
|
|
26308
|
-
var
|
|
26309
|
-
return ((
|
|
26310
|
-
value:
|
|
26311
|
-
label:
|
|
26283
|
+
var B;
|
|
26284
|
+
return ((B = n.devStatuses) == null ? void 0 : B.map((re) => ({
|
|
26285
|
+
value: re.id,
|
|
26286
|
+
label: re.name
|
|
26312
26287
|
}))) ?? [];
|
|
26313
26288
|
}), S = O({
|
|
26314
26289
|
get() {
|
|
26315
|
-
var
|
|
26316
|
-
return (
|
|
26290
|
+
var B;
|
|
26291
|
+
return (B = n.activity.devStatus) == null ? void 0 : B.id;
|
|
26317
26292
|
},
|
|
26318
|
-
set(
|
|
26319
|
-
r("update:activity", { id: n.activity.id, statusDevId:
|
|
26293
|
+
set(B) {
|
|
26294
|
+
r("update:activity", { id: n.activity.id, statusDevId: B });
|
|
26320
26295
|
}
|
|
26321
|
-
}), E = O(() => n.templateActivities.filter((
|
|
26322
|
-
label:
|
|
26323
|
-
value:
|
|
26296
|
+
}), E = O(() => n.templateActivities.filter((B) => B.id !== n.activity.id).map((B) => ({
|
|
26297
|
+
label: B.name,
|
|
26298
|
+
value: B.id
|
|
26324
26299
|
}))), T = O({
|
|
26325
26300
|
get() {
|
|
26326
|
-
var
|
|
26327
|
-
return (
|
|
26301
|
+
var B;
|
|
26302
|
+
return (B = n.activity.dependingOn) == null ? void 0 : B.map((re) => re.id);
|
|
26328
26303
|
},
|
|
26329
|
-
set(
|
|
26330
|
-
|
|
26304
|
+
set(B) {
|
|
26305
|
+
B && r("update:activity", {
|
|
26331
26306
|
id: n.activity.id,
|
|
26332
|
-
dependingOn:
|
|
26307
|
+
dependingOn: B
|
|
26333
26308
|
});
|
|
26334
26309
|
}
|
|
26335
|
-
}), M = O(() => E.value.map((
|
|
26336
|
-
var
|
|
26310
|
+
}), M = O(() => E.value.map((B) => {
|
|
26311
|
+
var re;
|
|
26337
26312
|
return {
|
|
26338
|
-
...
|
|
26339
|
-
disabled: (
|
|
26313
|
+
...B,
|
|
26314
|
+
disabled: (re = n.activity.blocking) == null ? void 0 : re.some((Ee) => Ee.id === B.value)
|
|
26340
26315
|
};
|
|
26341
26316
|
})), U = O({
|
|
26342
26317
|
get() {
|
|
26343
|
-
var
|
|
26344
|
-
return (
|
|
26318
|
+
var B;
|
|
26319
|
+
return (B = n.activity.blocking) == null ? void 0 : B.map((re) => re.id);
|
|
26345
26320
|
},
|
|
26346
|
-
set(
|
|
26347
|
-
|
|
26321
|
+
set(B) {
|
|
26322
|
+
B && r("update:activity", {
|
|
26348
26323
|
id: n.activity.id,
|
|
26349
|
-
blocking:
|
|
26324
|
+
blocking: B
|
|
26350
26325
|
});
|
|
26351
26326
|
}
|
|
26352
|
-
}), D = O(() => E.value.map((
|
|
26353
|
-
var
|
|
26327
|
+
}), D = O(() => E.value.map((B) => {
|
|
26328
|
+
var re;
|
|
26354
26329
|
return {
|
|
26355
|
-
...
|
|
26356
|
-
disabled: (
|
|
26357
|
-
(Ee) => Ee.id ===
|
|
26330
|
+
...B,
|
|
26331
|
+
disabled: (re = n.activity.dependingOn) == null ? void 0 : re.some(
|
|
26332
|
+
(Ee) => Ee.id === B.value
|
|
26358
26333
|
)
|
|
26359
26334
|
};
|
|
26360
|
-
})), L = (
|
|
26361
|
-
r("addSubtask",
|
|
26362
|
-
}, N = (
|
|
26363
|
-
r("updateSubtask",
|
|
26364
|
-
}, q = (
|
|
26365
|
-
r("deleteSubtask",
|
|
26335
|
+
})), L = (B) => {
|
|
26336
|
+
r("addSubtask", B);
|
|
26337
|
+
}, N = (B) => {
|
|
26338
|
+
r("updateSubtask", B);
|
|
26339
|
+
}, q = (B) => {
|
|
26340
|
+
r("deleteSubtask", B);
|
|
26366
26341
|
};
|
|
26367
26342
|
function z() {
|
|
26368
26343
|
n.userId ? K.value = [n.userId] : console.error("Failed assigning to self: userId is missing");
|
|
26369
26344
|
}
|
|
26370
|
-
function J(
|
|
26371
|
-
K.value = [
|
|
26345
|
+
function J(B) {
|
|
26346
|
+
K.value = [B];
|
|
26372
26347
|
}
|
|
26373
26348
|
const j = O(() => {
|
|
26374
|
-
var
|
|
26375
|
-
const
|
|
26376
|
-
return (
|
|
26377
|
-
|
|
26378
|
-
}), Array.from(
|
|
26349
|
+
var re;
|
|
26350
|
+
const B = /* @__PURE__ */ new Map();
|
|
26351
|
+
return (re = n.users) == null || re.forEach((Ee) => {
|
|
26352
|
+
B.has(Ee.id) || B.set(Ee.id, Ee);
|
|
26353
|
+
}), Array.from(B.values()).map((Ee) => ({
|
|
26379
26354
|
label: `${Ee.firstName} ${Ee.lastName}`,
|
|
26380
26355
|
value: Ee.id,
|
|
26381
26356
|
avatar: Ee.avatarUrl
|
|
26382
26357
|
}));
|
|
26383
26358
|
}), K = O({
|
|
26384
26359
|
get() {
|
|
26385
|
-
var
|
|
26386
|
-
return (
|
|
26360
|
+
var B, re;
|
|
26361
|
+
return (B = n.activity.assignee) != null && B.id ? [(re = n.activity.assignee) == null ? void 0 : re.id] : [];
|
|
26387
26362
|
},
|
|
26388
|
-
set(
|
|
26363
|
+
set(B) {
|
|
26389
26364
|
r("update:activity", {
|
|
26390
26365
|
id: n.activity.id,
|
|
26391
|
-
assigneeId:
|
|
26366
|
+
assigneeId: B[0] ?? null
|
|
26392
26367
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
26393
26368
|
});
|
|
26394
26369
|
}
|
|
26395
|
-
}), V = (
|
|
26370
|
+
}), V = (B) => {
|
|
26396
26371
|
r("addFiles", {
|
|
26397
26372
|
activityId: n.activity.id,
|
|
26398
|
-
files:
|
|
26373
|
+
files: B
|
|
26399
26374
|
});
|
|
26400
|
-
}, le = (
|
|
26401
|
-
V(
|
|
26402
|
-
}, H = (
|
|
26375
|
+
}, le = (B) => {
|
|
26376
|
+
V(B);
|
|
26377
|
+
}, H = (B) => {
|
|
26403
26378
|
r("removeFile", {
|
|
26404
26379
|
activityId: n.activity.id,
|
|
26405
|
-
file:
|
|
26380
|
+
file: B
|
|
26406
26381
|
});
|
|
26407
|
-
}, he = O(() => n.projects.map((
|
|
26408
|
-
value:
|
|
26409
|
-
label:
|
|
26382
|
+
}, he = O(() => n.projects.map((B) => ({
|
|
26383
|
+
value: B.id,
|
|
26384
|
+
label: B.name
|
|
26410
26385
|
}))), fe = O(() => {
|
|
26411
|
-
var
|
|
26412
|
-
const
|
|
26386
|
+
var re, Ee, Ze;
|
|
26387
|
+
const B = (Ze = (Ee = (re = n.activity) == null ? void 0 : re.project) == null ? void 0 : Ee.phases) == null ? void 0 : Ze.reduce(
|
|
26413
26388
|
(et, De) => [...et, ...De.milestones],
|
|
26414
26389
|
[]
|
|
26415
26390
|
);
|
|
26416
|
-
return
|
|
26391
|
+
return B == null ? void 0 : B.map((et) => ({
|
|
26417
26392
|
value: et.id,
|
|
26418
26393
|
label: et.name
|
|
26419
26394
|
}));
|
|
26420
|
-
}), te = (
|
|
26395
|
+
}), te = (B) => {
|
|
26421
26396
|
n.activity && r("update:activity", {
|
|
26422
26397
|
id: n.activity.id,
|
|
26423
|
-
projectId:
|
|
26398
|
+
projectId: B
|
|
26424
26399
|
});
|
|
26425
|
-
}, W = (
|
|
26400
|
+
}, W = (B) => {
|
|
26426
26401
|
n.activity && r("update:activity", {
|
|
26427
26402
|
id: n.activity.id,
|
|
26428
|
-
milestoneId:
|
|
26403
|
+
milestoneId: B
|
|
26429
26404
|
});
|
|
26430
26405
|
}, ce = O(() => {
|
|
26431
|
-
var
|
|
26432
|
-
return (
|
|
26433
|
-
value:
|
|
26434
|
-
label:
|
|
26406
|
+
var B;
|
|
26407
|
+
return (B = n.statuses) == null ? void 0 : B.map((re) => ({
|
|
26408
|
+
value: re.id,
|
|
26409
|
+
label: re.name
|
|
26435
26410
|
}));
|
|
26436
|
-
}), xe = (
|
|
26411
|
+
}), xe = (B) => {
|
|
26437
26412
|
r("update:activity", {
|
|
26438
26413
|
id: n.activity.id,
|
|
26439
|
-
statusId:
|
|
26414
|
+
statusId: B
|
|
26440
26415
|
});
|
|
26441
|
-
}, Ue = (
|
|
26416
|
+
}, Ue = (B) => {
|
|
26442
26417
|
r("update:activity", {
|
|
26443
26418
|
id: n.activity.id,
|
|
26444
|
-
statusDevId:
|
|
26419
|
+
statusDevId: B
|
|
26445
26420
|
});
|
|
26446
|
-
}, Qe = (
|
|
26421
|
+
}, Qe = (B) => {
|
|
26447
26422
|
r("addComment", {
|
|
26448
|
-
...
|
|
26423
|
+
...B,
|
|
26449
26424
|
activityId: n.activity.id
|
|
26450
26425
|
});
|
|
26451
|
-
}, Et = (
|
|
26452
|
-
r("updateComment",
|
|
26453
|
-
}, Oe = (
|
|
26454
|
-
r("removeComment",
|
|
26426
|
+
}, Et = (B) => {
|
|
26427
|
+
r("updateComment", B);
|
|
26428
|
+
}, Oe = (B) => {
|
|
26429
|
+
r("removeComment", B);
|
|
26455
26430
|
}, $t = O(() => {
|
|
26456
|
-
var
|
|
26457
|
-
return ((
|
|
26431
|
+
var B, re;
|
|
26432
|
+
return ((B = n.activity.createdBy) == null ? void 0 : B.firstName) && ((re = n.activity.createdBy) == null ? void 0 : re.lastName) && `${n.activity.createdBy.firstName} ${n.activity.createdBy.lastName}`;
|
|
26458
26433
|
}), qe = O(() => n.activity.createdAt ? new Date(n.activity.createdAt).toLocaleDateString("en-UK", {
|
|
26459
26434
|
day: "2-digit",
|
|
26460
26435
|
month: "2-digit",
|
|
26461
26436
|
year: "numeric"
|
|
26462
26437
|
}) : "");
|
|
26463
26438
|
function It() {
|
|
26464
|
-
const
|
|
26439
|
+
const B = window.location.origin, re = n.activity.slug, Ee = `${B}/activity-feed/slug/${re}`;
|
|
26465
26440
|
navigator.clipboard.writeText(Ee).then(() => {
|
|
26466
26441
|
console.log(`Link copied to clipboard: ${Ee}`), r("toast", "clipboard.copy.success", "success");
|
|
26467
26442
|
}).catch(() => {
|
|
26468
26443
|
console.log("Failed to copy link"), r("toast", "clipboard.copy.error", "error");
|
|
26469
26444
|
});
|
|
26470
26445
|
}
|
|
26471
|
-
return (
|
|
26446
|
+
return (B, re) => (k(), $(He, null, [
|
|
26472
26447
|
I(dl, {
|
|
26473
|
-
onClose:
|
|
26448
|
+
onClose: re[10] || (re[10] = (Ee) => B.$emit("close"))
|
|
26474
26449
|
}, {
|
|
26475
26450
|
default: pe(() => {
|
|
26476
26451
|
var Ee, Ze, et;
|
|
@@ -26487,18 +26462,18 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26487
26462
|
"icon-name": "ContentCopyOutline",
|
|
26488
26463
|
class: "ao-activity__ao-tag",
|
|
26489
26464
|
onClick: It
|
|
26490
|
-
}, null, 8, ["label"])) :
|
|
26491
|
-
t.breadcrumbs ? (k(), $("div", W1e,
|
|
26465
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
26466
|
+
t.breadcrumbs ? (k(), $("div", W1e, ne(t.breadcrumbs), 1)) : F("", !0),
|
|
26492
26467
|
I(At, {
|
|
26493
26468
|
title: t.activity.name || "",
|
|
26494
26469
|
level: 4,
|
|
26495
26470
|
"is-editable": a.value,
|
|
26496
26471
|
"onUpdate:title": u
|
|
26497
26472
|
}, null, 8, ["title", "is-editable"]),
|
|
26498
|
-
$t.value ? (k(), $("div", Z1e,
|
|
26473
|
+
$t.value ? (k(), $("div", Z1e, ne(B.$t("activity.createdBy.label", { name: $t.value, date: qe.value })), 1)) : F("", !0),
|
|
26499
26474
|
x("div", K1e, [
|
|
26500
26475
|
he.value ? (k(), $("label", G1e, [
|
|
26501
|
-
x("span", Y1e,
|
|
26476
|
+
x("span", Y1e, ne(B.$t("activity.project.label")), 1),
|
|
26502
26477
|
I(Gt, {
|
|
26503
26478
|
options: he.value,
|
|
26504
26479
|
value: (Ee = t.activity.project) == null ? void 0 : Ee.id,
|
|
@@ -26507,9 +26482,9 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26507
26482
|
caret: a.value,
|
|
26508
26483
|
onChange: te
|
|
26509
26484
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26510
|
-
])) :
|
|
26485
|
+
])) : F("", !0),
|
|
26511
26486
|
fe.value ? (k(), $("label", J1e, [
|
|
26512
|
-
x("span", X1e,
|
|
26487
|
+
x("span", X1e, ne(B.$t("activity.milestone.label")), 1),
|
|
26513
26488
|
I(Gt, {
|
|
26514
26489
|
options: fe.value,
|
|
26515
26490
|
value: (Ze = t.activity.milestone) == null ? void 0 : Ze.id,
|
|
@@ -26518,14 +26493,14 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26518
26493
|
caret: a.value,
|
|
26519
26494
|
onChange: W
|
|
26520
26495
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26521
|
-
])) :
|
|
26496
|
+
])) : F("", !0)
|
|
26522
26497
|
]),
|
|
26523
|
-
be(
|
|
26498
|
+
be(B.$slots, "header")
|
|
26524
26499
|
]),
|
|
26525
26500
|
x("div", Q1e, [
|
|
26526
26501
|
I(Vl, {
|
|
26527
26502
|
modelValue: i.value,
|
|
26528
|
-
"onUpdate:modelValue":
|
|
26503
|
+
"onUpdate:modelValue": re[0] || (re[0] = (De) => i.value = De),
|
|
26529
26504
|
tabs: s.value,
|
|
26530
26505
|
variant: "underline",
|
|
26531
26506
|
class: "ao-activity-details__tabs"
|
|
@@ -26535,10 +26510,10 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26535
26510
|
x("div", nfe, [
|
|
26536
26511
|
I(F4, {
|
|
26537
26512
|
attachments: t.activity.attachments,
|
|
26538
|
-
"is-editable": t.attachmentEnabled && a.value && t.isTemplate
|
|
26513
|
+
"is-editable": t.attachmentEnabled && a.value && !t.isTemplate && !!t.userId,
|
|
26539
26514
|
onAdd: V,
|
|
26540
26515
|
onRemove: H,
|
|
26541
|
-
onPreview:
|
|
26516
|
+
onPreview: re[1] || (re[1] = (De) => c.value = De)
|
|
26542
26517
|
}, {
|
|
26543
26518
|
default: pe(() => [
|
|
26544
26519
|
l.value ? (k(), Y(H1e, {
|
|
@@ -26592,7 +26567,7 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26592
26567
|
onUpdateComment: Et,
|
|
26593
26568
|
onRemoveComment: Oe
|
|
26594
26569
|
}, null, 8, ["comments", "users", "user-id"])
|
|
26595
|
-
])) :
|
|
26570
|
+
])) : F("", !0)
|
|
26596
26571
|
], 512), [
|
|
26597
26572
|
[_a, i.value === "comments"]
|
|
26598
26573
|
])
|
|
@@ -26602,21 +26577,21 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26602
26577
|
x("div", cfe, [
|
|
26603
26578
|
I(Le, {
|
|
26604
26579
|
name: "CloseRounded",
|
|
26605
|
-
onClick:
|
|
26580
|
+
onClick: re[2] || (re[2] = (De) => B.$emit("close"))
|
|
26606
26581
|
})
|
|
26607
26582
|
]),
|
|
26608
26583
|
x("div", ufe, [
|
|
26609
|
-
x("span", dfe,
|
|
26584
|
+
x("span", dfe, ne(B.$t("activity.type.label")), 1),
|
|
26610
26585
|
I(O1e, {
|
|
26611
26586
|
"is-left": w.value,
|
|
26612
|
-
"onUpdate:isLeft":
|
|
26587
|
+
"onUpdate:isLeft": re[3] || (re[3] = (De) => w.value = De),
|
|
26613
26588
|
"left-label": "Standard",
|
|
26614
26589
|
"right-label": "Development"
|
|
26615
26590
|
}, null, 8, ["is-left"])
|
|
26616
26591
|
]),
|
|
26617
26592
|
ce.value ? (k(), $("div", ffe, [
|
|
26618
26593
|
x("label", pfe, [
|
|
26619
|
-
x("span", hfe,
|
|
26594
|
+
x("span", hfe, ne(B.$t("activity.status.label")), 1),
|
|
26620
26595
|
I(Gt, {
|
|
26621
26596
|
class: "ao-activity-details__multiselect",
|
|
26622
26597
|
options: ce.value,
|
|
@@ -26628,10 +26603,10 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26628
26603
|
onChange: xe
|
|
26629
26604
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26630
26605
|
])
|
|
26631
|
-
])) :
|
|
26606
|
+
])) : F("", !0),
|
|
26632
26607
|
t.activity.activityType === "dev" && b.value.length ? (k(), $("div", mfe, [
|
|
26633
26608
|
x("label", gfe, [
|
|
26634
|
-
x("span", vfe,
|
|
26609
|
+
x("span", vfe, ne(B.$t("activity.devStatus.label")), 1),
|
|
26635
26610
|
I(Gt, {
|
|
26636
26611
|
class: "ao-activity-details__multiselect",
|
|
26637
26612
|
options: b.value,
|
|
@@ -26643,13 +26618,13 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26643
26618
|
onChange: Ue
|
|
26644
26619
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26645
26620
|
])
|
|
26646
|
-
])) :
|
|
26621
|
+
])) : F("", !0),
|
|
26647
26622
|
x("div", yfe, [
|
|
26648
26623
|
x("div", _fe, [
|
|
26649
26624
|
x("div", bfe, [
|
|
26650
|
-
x("span", Cfe,
|
|
26625
|
+
x("span", Cfe, ne(B.$t("activity.assignee.label")), 1),
|
|
26651
26626
|
I(Te, {
|
|
26652
|
-
label:
|
|
26627
|
+
label: B.$t("activity.assignee.toMe"),
|
|
26653
26628
|
type: "button",
|
|
26654
26629
|
color: "primary",
|
|
26655
26630
|
variant: "solid",
|
|
@@ -26659,12 +26634,12 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26659
26634
|
]),
|
|
26660
26635
|
I(Gt, {
|
|
26661
26636
|
modelValue: K.value,
|
|
26662
|
-
"onUpdate:modelValue":
|
|
26637
|
+
"onUpdate:modelValue": re[4] || (re[4] = (De) => K.value = De),
|
|
26663
26638
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
26664
26639
|
options: j.value,
|
|
26665
26640
|
"close-on-select": !0,
|
|
26666
26641
|
searchable: !0,
|
|
26667
|
-
placeholder:
|
|
26642
|
+
placeholder: B.$t("activity.filters.assignee.placeholder"),
|
|
26668
26643
|
mode: "tags",
|
|
26669
26644
|
disabled: !a.value,
|
|
26670
26645
|
caret: a.value,
|
|
@@ -26688,9 +26663,9 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26688
26663
|
x("div", wfe, [
|
|
26689
26664
|
t.isTemplate !== !0 && t.userId ? (k(), $("div", kfe, [
|
|
26690
26665
|
x("label", xfe, [
|
|
26691
|
-
x("span", Sfe,
|
|
26666
|
+
x("span", Sfe, ne(B.$t("activity.deadline.label")), 1),
|
|
26692
26667
|
Jt(x("input", {
|
|
26693
|
-
"onUpdate:modelValue":
|
|
26668
|
+
"onUpdate:modelValue": re[5] || (re[5] = (De) => C.value = De),
|
|
26694
26669
|
readonly: !a.value,
|
|
26695
26670
|
class: "ao-field__input",
|
|
26696
26671
|
type: "date"
|
|
@@ -26703,14 +26678,14 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26703
26678
|
]
|
|
26704
26679
|
])
|
|
26705
26680
|
])
|
|
26706
|
-
])) :
|
|
26681
|
+
])) : F("", !0)
|
|
26707
26682
|
]),
|
|
26708
26683
|
x("div", Tfe, [
|
|
26709
26684
|
x("div", Efe, [
|
|
26710
26685
|
x("label", $fe, [
|
|
26711
|
-
x("span", Dfe,
|
|
26686
|
+
x("span", Dfe, ne(B.$t("activity.estimation.label")) + " (" + ne(_.value) + ")", 1),
|
|
26712
26687
|
Jt(x("input", {
|
|
26713
|
-
"onUpdate:modelValue":
|
|
26688
|
+
"onUpdate:modelValue": re[6] || (re[6] = (De) => m.value = De),
|
|
26714
26689
|
readonly: !a.value,
|
|
26715
26690
|
class: "ao-field__input ao-field__input--estim",
|
|
26716
26691
|
type: "number",
|
|
@@ -26730,17 +26705,17 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26730
26705
|
]),
|
|
26731
26706
|
x("div", Ofe, [
|
|
26732
26707
|
x("label", Lfe, [
|
|
26733
|
-
x("span", Nfe,
|
|
26734
|
-
x("span", Ife,
|
|
26708
|
+
x("span", Nfe, ne(B.$t("activity.timeSpent.label")) + " (" + ne(_.value) + ")", 1),
|
|
26709
|
+
x("span", Ife, ne(g.value), 1)
|
|
26735
26710
|
])
|
|
26736
26711
|
])
|
|
26737
26712
|
]),
|
|
26738
26713
|
x("div", Pfe, [
|
|
26739
26714
|
I(hg, {
|
|
26740
26715
|
modelValue: y.value,
|
|
26741
|
-
"onUpdate:modelValue":
|
|
26716
|
+
"onUpdate:modelValue": re[7] || (re[7] = (De) => y.value = De),
|
|
26742
26717
|
modelModifiers: { lazy: !0 },
|
|
26743
|
-
label:
|
|
26718
|
+
label: B.$t("activity.important.label"),
|
|
26744
26719
|
disabled: !a.value,
|
|
26745
26720
|
variant: "ghost",
|
|
26746
26721
|
"icon-name": "FlagRounded",
|
|
@@ -26755,16 +26730,16 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26755
26730
|
I(Le, { name: "FlowsheetOutlineRounded" }),
|
|
26756
26731
|
I(At, {
|
|
26757
26732
|
level: 4,
|
|
26758
|
-
title:
|
|
26733
|
+
title: B.$t("activity.dependencies.title")
|
|
26759
26734
|
}, null, 8, ["title"])
|
|
26760
26735
|
]),
|
|
26761
26736
|
x("div", Bfe, [
|
|
26762
26737
|
x("div", Ufe, [
|
|
26763
26738
|
x("label", qfe, [
|
|
26764
|
-
x("span", Hfe,
|
|
26739
|
+
x("span", Hfe, ne(B.$t("activity.dependingOn.label")), 1),
|
|
26765
26740
|
I(Gt, {
|
|
26766
26741
|
modelValue: T.value,
|
|
26767
|
-
"onUpdate:modelValue":
|
|
26742
|
+
"onUpdate:modelValue": re[8] || (re[8] = (De) => T.value = De),
|
|
26768
26743
|
class: "ao-activity-details__multiselect",
|
|
26769
26744
|
mode: "tags",
|
|
26770
26745
|
"close-on-select": !1,
|
|
@@ -26777,10 +26752,10 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26777
26752
|
]),
|
|
26778
26753
|
x("div", zfe, [
|
|
26779
26754
|
x("label", Vfe, [
|
|
26780
|
-
x("span", jfe,
|
|
26755
|
+
x("span", jfe, ne(B.$t("activity.blocking.label")), 1),
|
|
26781
26756
|
I(Gt, {
|
|
26782
26757
|
modelValue: U.value,
|
|
26783
|
-
"onUpdate:modelValue":
|
|
26758
|
+
"onUpdate:modelValue": re[9] || (re[9] = (De) => U.value = De),
|
|
26784
26759
|
class: "ao-activity-details__multiselect",
|
|
26785
26760
|
mode: "tags",
|
|
26786
26761
|
"close-on-select": !1,
|
|
@@ -26793,7 +26768,7 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26793
26768
|
])
|
|
26794
26769
|
])
|
|
26795
26770
|
]),
|
|
26796
|
-
be(
|
|
26771
|
+
be(B.$slots, "default", { activity: t.activity })
|
|
26797
26772
|
])
|
|
26798
26773
|
])
|
|
26799
26774
|
];
|
|
@@ -26805,9 +26780,9 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26805
26780
|
attachments: t.activity.attachments || [],
|
|
26806
26781
|
"current-index": c.value,
|
|
26807
26782
|
"load-preview": n.loadAttachmentPreview,
|
|
26808
|
-
"onUpdate:currentIndex":
|
|
26809
|
-
onClose:
|
|
26810
|
-
}, null, 8, ["attachments", "current-index", "load-preview"])) :
|
|
26783
|
+
"onUpdate:currentIndex": re[11] || (re[11] = (Ee) => c.value = Ee),
|
|
26784
|
+
onClose: re[12] || (re[12] = (Ee) => c.value = null)
|
|
26785
|
+
}, null, 8, ["attachments", "current-index", "load-preview"])) : F("", !0)
|
|
26811
26786
|
], 64));
|
|
26812
26787
|
}
|
|
26813
26788
|
});
|
|
@@ -27309,7 +27284,7 @@ const Yfe = {
|
|
|
27309
27284
|
onUpdateMilestone: C,
|
|
27310
27285
|
onUpdatePhase: _,
|
|
27311
27286
|
onRemoveMilestone: y
|
|
27312
|
-
}, null, 8, ["template-id", "phase", "milestone-id"])) :
|
|
27287
|
+
}, null, 8, ["template-id", "phase", "milestone-id"])) : F("", !0)
|
|
27313
27288
|
]),
|
|
27314
27289
|
x("li", npe, [
|
|
27315
27290
|
a.value && l.value ? (k(), Y(Gb, {
|
|
@@ -27321,7 +27296,7 @@ const Yfe = {
|
|
|
27321
27296
|
onAddActivity: w,
|
|
27322
27297
|
onUpdateActivity: S,
|
|
27323
27298
|
onRemoveActivity: b
|
|
27324
|
-
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) :
|
|
27299
|
+
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : F("", !0)
|
|
27325
27300
|
])
|
|
27326
27301
|
])
|
|
27327
27302
|
]),
|
|
@@ -27352,7 +27327,7 @@ const Yfe = {
|
|
|
27352
27327
|
be(j.$slots, "activityDetailsBody", Ss(As(W)))
|
|
27353
27328
|
]),
|
|
27354
27329
|
_: 3
|
|
27355
|
-
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) :
|
|
27330
|
+
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : F("", !0)
|
|
27356
27331
|
])),
|
|
27357
27332
|
(k(), Y(ur, { to: "body" }, [
|
|
27358
27333
|
E.value ? (k(), Y(Gfe, {
|
|
@@ -27365,9 +27340,9 @@ const Yfe = {
|
|
|
27365
27340
|
onClose: T,
|
|
27366
27341
|
onAddRule: M,
|
|
27367
27342
|
onRemoveRule: U
|
|
27368
|
-
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) :
|
|
27343
|
+
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : F("", !0)
|
|
27369
27344
|
]))
|
|
27370
|
-
])) :
|
|
27345
|
+
])) : F("", !0);
|
|
27371
27346
|
};
|
|
27372
27347
|
}
|
|
27373
27348
|
});
|
|
@@ -27401,17 +27376,17 @@ const ope = { class: "ao-card__content" }, ipe = {
|
|
|
27401
27376
|
key: 0,
|
|
27402
27377
|
class: "ao-card__left-border",
|
|
27403
27378
|
style: zn({ backgroundColor: t.color })
|
|
27404
|
-
}, null, 4)) :
|
|
27379
|
+
}, null, 4)) : F("", !0),
|
|
27405
27380
|
x("div", ope, [
|
|
27406
27381
|
e.$slots.header ? (k(), $("header", ipe, [
|
|
27407
27382
|
be(e.$slots, "header")
|
|
27408
|
-
])) :
|
|
27383
|
+
])) : F("", !0),
|
|
27409
27384
|
x("div", spe, [
|
|
27410
27385
|
be(e.$slots, "default")
|
|
27411
27386
|
]),
|
|
27412
27387
|
e.$slots.footer ? (k(), $("footer", ape, [
|
|
27413
27388
|
be(e.$slots, "footer")
|
|
27414
|
-
])) :
|
|
27389
|
+
])) : F("", !0)
|
|
27415
27390
|
])
|
|
27416
27391
|
]),
|
|
27417
27392
|
_: 3
|
|
@@ -27910,7 +27885,7 @@ const ype = /* @__PURE__ */ I(
|
|
|
27910
27885
|
);
|
|
27911
27886
|
function Cpe(t, e, n, r, o, i) {
|
|
27912
27887
|
return k(), Y("div", null, [
|
|
27913
|
-
t.isSucking ?
|
|
27888
|
+
t.isSucking ? F("v-if", !0) : (k(), Y(
|
|
27914
27889
|
"svg",
|
|
27915
27890
|
{
|
|
27916
27891
|
key: 0,
|
|
@@ -27927,7 +27902,7 @@ function Cpe(t, e, n, r, o, i) {
|
|
|
27927
27902
|
)),
|
|
27928
27903
|
t.isSucking ? (k(), Y("svg", _pe, [
|
|
27929
27904
|
bpe
|
|
27930
|
-
])) :
|
|
27905
|
+
])) : F("v-if", !0)
|
|
27931
27906
|
]);
|
|
27932
27907
|
}
|
|
27933
27908
|
Hd.render = Cpe;
|
|
@@ -27969,7 +27944,7 @@ function xpe(t, e, n, r, o, i) {
|
|
|
27969
27944
|
I(
|
|
27970
27945
|
"span",
|
|
27971
27946
|
kpe,
|
|
27972
|
-
|
|
27947
|
+
ne(t.name),
|
|
27973
27948
|
1
|
|
27974
27949
|
/* TEXT */
|
|
27975
27950
|
),
|
|
@@ -28104,7 +28079,7 @@ function Tpe(t, e, n, r, o, i) {
|
|
|
28104
28079
|
128
|
|
28105
28080
|
/* KEYED_FRAGMENT */
|
|
28106
28081
|
))
|
|
28107
|
-
])) :
|
|
28082
|
+
])) : F("v-if", !0)
|
|
28108
28083
|
]);
|
|
28109
28084
|
}
|
|
28110
28085
|
Vd.render = Tpe;
|
|
@@ -28328,7 +28303,7 @@ function $pe(t, e, n, r, o, i) {
|
|
|
28328
28303
|
width: t.previewWidth,
|
|
28329
28304
|
height: t.previewHeight
|
|
28330
28305
|
}, null, 8, ["color", "width", "height"]),
|
|
28331
|
-
t.suckerHide ?
|
|
28306
|
+
t.suckerHide ? F("v-if", !0) : (k(), Y(u, {
|
|
28332
28307
|
key: 0,
|
|
28333
28308
|
"sucker-canvas": t.suckerCanvas,
|
|
28334
28309
|
"sucker-area": t.suckerArea,
|
|
@@ -28359,7 +28334,7 @@ function $pe(t, e, n, r, o, i) {
|
|
|
28359
28334
|
"colors-history-key": t.colorsHistoryKey,
|
|
28360
28335
|
onSelectColor: t.selectColor
|
|
28361
28336
|
}, null, 8, ["color", "colors-default", "colors-history-key", "onSelectColor"]),
|
|
28362
|
-
|
|
28337
|
+
F(" custom options "),
|
|
28363
28338
|
be(t.$slots, "default")
|
|
28364
28339
|
],
|
|
28365
28340
|
6
|
|
@@ -28420,7 +28395,7 @@ const Dpe = { class: "color-picker-wrapper" }, jd = /* @__PURE__ */ de({
|
|
|
28420
28395
|
color: t.color,
|
|
28421
28396
|
onChangeColor: p
|
|
28422
28397
|
}, null, 8, ["color"])
|
|
28423
|
-
], 4)) :
|
|
28398
|
+
], 4)) : F("", !0)
|
|
28424
28399
|
]));
|
|
28425
28400
|
}
|
|
28426
28401
|
});
|
|
@@ -28510,7 +28485,7 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28510
28485
|
"is-editable": t.isEditable,
|
|
28511
28486
|
"onUpdate:title": o
|
|
28512
28487
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
28513
|
-
i.value || s.value ? (k(), $("span", Lpe, " (" +
|
|
28488
|
+
i.value || s.value ? (k(), $("span", Lpe, " (" + ne(l.value) + "/" + ne(i.value) + ne(a.value) + ")", 1)) : F("", !0)
|
|
28514
28489
|
])
|
|
28515
28490
|
]),
|
|
28516
28491
|
footer: pe(() => [
|
|
@@ -28521,7 +28496,7 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28521
28496
|
name: "MountainFlagOutlineRounded",
|
|
28522
28497
|
size: "sm"
|
|
28523
28498
|
}),
|
|
28524
|
-
x("span", Fpe,
|
|
28499
|
+
x("span", Fpe, ne(u.value) + " / " + ne(c.value), 1)
|
|
28525
28500
|
]),
|
|
28526
28501
|
I(Wl, {
|
|
28527
28502
|
percentages: d.value,
|
|
@@ -28530,8 +28505,8 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28530
28505
|
}, null, 8, ["percentages", "color"]),
|
|
28531
28506
|
m.$slots.secondary ? (k(), $("div", Rpe, [
|
|
28532
28507
|
be(m.$slots, "secondary")
|
|
28533
|
-
])) :
|
|
28534
|
-
])) :
|
|
28508
|
+
])) : F("", !0)
|
|
28509
|
+
])) : F("", !0),
|
|
28535
28510
|
x("div", {
|
|
28536
28511
|
class: ye(["ao-card-project-phase__footer-row", f.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
28537
28512
|
}, [
|
|
@@ -28547,8 +28522,8 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28547
28522
|
void 0,
|
|
28548
28523
|
{ lazy: !0 }
|
|
28549
28524
|
]
|
|
28550
|
-
]) :
|
|
28551
|
-
x("span", Bpe,
|
|
28525
|
+
]) : F("", !0),
|
|
28526
|
+
x("span", Bpe, ne(ve(ul)(t.deadline)), 1)
|
|
28552
28527
|
], 2)
|
|
28553
28528
|
])
|
|
28554
28529
|
]),
|
|
@@ -28677,7 +28652,7 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28677
28652
|
class: "ao-card-project-milestone__title",
|
|
28678
28653
|
"onUpdate:title": d
|
|
28679
28654
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
28680
|
-
o.value || i.value ? (k(), $("span", jpe, " (" +
|
|
28655
|
+
o.value || i.value ? (k(), $("span", jpe, " (" + ne(a.value) + "/" + ne(o.value) + ne(s.value) + ")", 1)) : F("", !0)
|
|
28681
28656
|
])
|
|
28682
28657
|
]),
|
|
28683
28658
|
!t.readonly && t.isEditable ? (k(), $("div", Wpe, [
|
|
@@ -28694,7 +28669,7 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28694
28669
|
["stop"]
|
|
28695
28670
|
))
|
|
28696
28671
|
}, null, 8, ["label"])
|
|
28697
|
-
])) :
|
|
28672
|
+
])) : F("", !0)
|
|
28698
28673
|
]),
|
|
28699
28674
|
x("div", Zpe, [
|
|
28700
28675
|
x("div", Kpe, [
|
|
@@ -28704,17 +28679,17 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28704
28679
|
name: "SelectCheckBox",
|
|
28705
28680
|
size: "sm"
|
|
28706
28681
|
}),
|
|
28707
|
-
x("span", Ype,
|
|
28682
|
+
x("span", Ype, ne(c.value) + " / " + ne(l.value), 1)
|
|
28708
28683
|
]),
|
|
28709
28684
|
I(Wl, {
|
|
28710
28685
|
percentages: u.value,
|
|
28711
28686
|
color: t.phaseColor,
|
|
28712
28687
|
class: "ao-card-project-milestone__progress"
|
|
28713
28688
|
}, null, 8, ["percentages", "color"])
|
|
28714
|
-
], 64)) :
|
|
28689
|
+
], 64)) : F("", !0),
|
|
28715
28690
|
f.$slots.secondary ? (k(), $("div", Jpe, [
|
|
28716
28691
|
be(f.$slots, "secondary")
|
|
28717
|
-
])) :
|
|
28692
|
+
])) : F("", !0)
|
|
28718
28693
|
])
|
|
28719
28694
|
])
|
|
28720
28695
|
]),
|
|
@@ -28727,10 +28702,10 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28727
28702
|
t.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
28728
28703
|
),
|
|
28729
28704
|
size: "sm"
|
|
28730
|
-
}, null, 8, ["class"])) :
|
|
28705
|
+
}, null, 8, ["class"])) : F("", !0),
|
|
28731
28706
|
t.deadline ? (k(), $("label", Qpe, [
|
|
28732
|
-
x("span", ehe,
|
|
28733
|
-
])) :
|
|
28707
|
+
x("span", ehe, ne(ve(ul)(t.deadline)), 1)
|
|
28708
|
+
])) : F("", !0),
|
|
28734
28709
|
t.assignee ? (k(), $("div", the, [
|
|
28735
28710
|
I(Hr, {
|
|
28736
28711
|
"user-name": ve(dh)(t.assignee),
|
|
@@ -28738,7 +28713,7 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28738
28713
|
color: t.isSelected ? "black" : "primary",
|
|
28739
28714
|
size: "sm"
|
|
28740
28715
|
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
28741
|
-
])) :
|
|
28716
|
+
])) : F("", !0)
|
|
28742
28717
|
])
|
|
28743
28718
|
]),
|
|
28744
28719
|
_: 3
|
|
@@ -28831,7 +28806,7 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28831
28806
|
"is-editable": t.isEditable,
|
|
28832
28807
|
"onUpdate:title": o
|
|
28833
28808
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
28834
|
-
i.value || s.value ? (k(), $("span", ihe, " (" +
|
|
28809
|
+
i.value || s.value ? (k(), $("span", ihe, " (" + ne(l.value) + "/" + ne(i.value) + ne(a.value) + ")", 1)) : F("", !0)
|
|
28835
28810
|
])
|
|
28836
28811
|
]),
|
|
28837
28812
|
footer: pe(() => [
|
|
@@ -28842,7 +28817,7 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28842
28817
|
name: "MountainFlagOutlineRounded",
|
|
28843
28818
|
size: "sm"
|
|
28844
28819
|
}),
|
|
28845
|
-
x("span", che,
|
|
28820
|
+
x("span", che, ne(u.value) + " / " + ne(c.value), 1)
|
|
28846
28821
|
]),
|
|
28847
28822
|
I(Wl, {
|
|
28848
28823
|
percentages: d.value,
|
|
@@ -28851,8 +28826,8 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28851
28826
|
}, null, 8, ["percentages", "color"]),
|
|
28852
28827
|
m.$slots.secondary ? (k(), $("div", uhe, [
|
|
28853
28828
|
be(m.$slots, "secondary")
|
|
28854
|
-
])) :
|
|
28855
|
-
])) :
|
|
28829
|
+
])) : F("", !0)
|
|
28830
|
+
])) : F("", !0),
|
|
28856
28831
|
x("div", {
|
|
28857
28832
|
class: ye(["ao-mapping-card-project-phase__footer-row", f.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
|
|
28858
28833
|
}, [
|
|
@@ -28868,8 +28843,8 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28868
28843
|
void 0,
|
|
28869
28844
|
{ lazy: !0 }
|
|
28870
28845
|
]
|
|
28871
|
-
]) :
|
|
28872
|
-
x("span", dhe,
|
|
28846
|
+
]) : F("", !0),
|
|
28847
|
+
x("span", dhe, ne(ve(ul)(t.deadline)), 1)
|
|
28873
28848
|
], 2)
|
|
28874
28849
|
])
|
|
28875
28850
|
]),
|
|
@@ -28993,7 +28968,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
28993
28968
|
name: "DragIndicator",
|
|
28994
28969
|
class: "ao-project-phase__drag-handle"
|
|
28995
28970
|
})
|
|
28996
|
-
])) :
|
|
28971
|
+
])) : F("", !0),
|
|
28997
28972
|
g.value ? (k(), $("div", ghe, [
|
|
28998
28973
|
I(fhe, {
|
|
28999
28974
|
id: t.phase.id,
|
|
@@ -29029,7 +29004,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
29029
29004
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color", "time-tracking-data", "estimation-unit"])
|
|
29030
29005
|
]))
|
|
29031
29006
|
], 4),
|
|
29032
|
-
g.value ?
|
|
29007
|
+
g.value ? F("", !0) : (k(), $("div", vhe, [
|
|
29033
29008
|
x("div", {
|
|
29034
29009
|
class: "ao-project-phase__milestones ao-project-phase__milestones--hoverable",
|
|
29035
29010
|
style: zn(C.value)
|
|
@@ -29044,7 +29019,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
29044
29019
|
name: "Add",
|
|
29045
29020
|
class: "ao-project-phase__milestone-quick-add-icon"
|
|
29046
29021
|
})
|
|
29047
|
-
], 10, yhe)) :
|
|
29022
|
+
], 10, yhe)) : F("", !0),
|
|
29048
29023
|
I(ve(qr), Ot({
|
|
29049
29024
|
class: "ao-project-phase__milestones-list",
|
|
29050
29025
|
list: l.value,
|
|
@@ -29092,7 +29067,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
29092
29067
|
class: "ao-project-phase__milestone-add",
|
|
29093
29068
|
"icon-name": "Add",
|
|
29094
29069
|
onClick: b[1] || (b[1] = () => c(t.phase.id))
|
|
29095
|
-
}, null, 8, ["label"])) :
|
|
29070
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
29096
29071
|
])
|
|
29097
29072
|
], 4)
|
|
29098
29073
|
]))
|
|
@@ -29183,7 +29158,7 @@ const Che = { class: "ao-project__phases" }, whe = {
|
|
|
29183
29158
|
}, null, 8, ["label"])
|
|
29184
29159
|
]),
|
|
29185
29160
|
h[1] || (h[1] = x("div", { class: "ao-project-phase__col-milestones" }, null, -1))
|
|
29186
|
-
])) :
|
|
29161
|
+
])) : F("", !0)
|
|
29187
29162
|
]));
|
|
29188
29163
|
}
|
|
29189
29164
|
});
|
|
@@ -29215,7 +29190,7 @@ const xhe = { class: "ao-add-template-modal__form-body" }, She = { class: "field
|
|
|
29215
29190
|
class: "ao-add-template-modal__form",
|
|
29216
29191
|
onSubmit: ke(a, ["prevent"])
|
|
29217
29192
|
}, [
|
|
29218
|
-
x("p", null,
|
|
29193
|
+
x("p", null, ne(l.$t("project.template.apply.notice")), 1),
|
|
29219
29194
|
x("div", xhe, [
|
|
29220
29195
|
x("div", She, [
|
|
29221
29196
|
I(Gt, {
|
|
@@ -29270,7 +29245,7 @@ const The = { class: "ao-save-template-modal__form-body" }, Ehe = { class: "fiel
|
|
|
29270
29245
|
x("div", The, [
|
|
29271
29246
|
x("div", Ehe, [
|
|
29272
29247
|
x("label", $he, [
|
|
29273
|
-
x("span", Dhe,
|
|
29248
|
+
x("span", Dhe, ne(a.$t("project.template.name.label")) + ": ", 1),
|
|
29274
29249
|
Jt(x("input", {
|
|
29275
29250
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => o.value = c),
|
|
29276
29251
|
type: "text"
|
|
@@ -29280,7 +29255,7 @@ const The = { class: "ao-save-template-modal__form-body" }, Ehe = { class: "fiel
|
|
|
29280
29255
|
])
|
|
29281
29256
|
]),
|
|
29282
29257
|
x("div", Mhe, [
|
|
29283
|
-
x("div", Ohe,
|
|
29258
|
+
x("div", Ohe, ne(a.$t("project.template.phases.label")), 1),
|
|
29284
29259
|
x("div", Lhe, [
|
|
29285
29260
|
(k(!0), $(He, null, ot(n.phases, (c) => (k(), $("label", {
|
|
29286
29261
|
key: c.id,
|
|
@@ -29293,7 +29268,7 @@ const The = { class: "ao-save-template-modal__form-body" }, Ehe = { class: "fiel
|
|
|
29293
29268
|
}, null, 8, Nhe), [
|
|
29294
29269
|
[Ng, i.value]
|
|
29295
29270
|
]),
|
|
29296
|
-
x("span", null,
|
|
29271
|
+
x("span", null, ne(c.name), 1)
|
|
29297
29272
|
]))), 128))
|
|
29298
29273
|
])
|
|
29299
29274
|
])
|
|
@@ -29433,21 +29408,21 @@ const Phe = { class: "ao-project" }, Fhe = { class: "ao-project__body" }, Rhe =
|
|
|
29433
29408
|
variant: "ghost",
|
|
29434
29409
|
label: V.$t("project.phase.add"),
|
|
29435
29410
|
onClick: a
|
|
29436
|
-
}, null, 8, ["label"])) :
|
|
29411
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
29437
29412
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
29438
29413
|
key: 1,
|
|
29439
29414
|
class: "ao-project-overview__save-as-template",
|
|
29440
29415
|
color: "primary",
|
|
29441
29416
|
label: V.$t("project.template.save.label"),
|
|
29442
29417
|
onClick: le[2] || (le[2] = (fe) => N.value = !0)
|
|
29443
|
-
}, null, 8, ["label"])) :
|
|
29418
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
29444
29419
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
29445
29420
|
key: 2,
|
|
29446
29421
|
class: "ao-project-overview__add-template",
|
|
29447
29422
|
color: "primary",
|
|
29448
29423
|
label: V.$t("project.template.apply.label"),
|
|
29449
29424
|
onClick: le[3] || (le[3] = (fe) => L.value = !0)
|
|
29450
|
-
}, null, 8, ["label"])) :
|
|
29425
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
29451
29426
|
]),
|
|
29452
29427
|
_: 1
|
|
29453
29428
|
}),
|
|
@@ -29530,14 +29505,14 @@ const Phe = { class: "ao-project" }, Fhe = { class: "ao-project__body" }, Rhe =
|
|
|
29530
29505
|
phases: t.phases,
|
|
29531
29506
|
onClose: le[5] || (le[5] = (fe) => N.value = !1),
|
|
29532
29507
|
onSave: z
|
|
29533
|
-
}, null, 8, ["phases"])) :
|
|
29508
|
+
}, null, 8, ["phases"])) : F("", !0),
|
|
29534
29509
|
L.value ? (k(), Y(gg, {
|
|
29535
29510
|
key: 1,
|
|
29536
29511
|
"project-id": t.project.id,
|
|
29537
29512
|
templates: t.templates,
|
|
29538
29513
|
onClose: le[6] || (le[6] = (fe) => L.value = !1),
|
|
29539
29514
|
onApply: q
|
|
29540
|
-
}, null, 8, ["project-id", "templates"])) :
|
|
29515
|
+
}, null, 8, ["project-id", "templates"])) : F("", !0)
|
|
29541
29516
|
]))
|
|
29542
29517
|
], 64);
|
|
29543
29518
|
};
|
|
@@ -29635,37 +29610,37 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29635
29610
|
variant: "solid",
|
|
29636
29611
|
color: t.projectColor ? void 0 : "primary",
|
|
29637
29612
|
"raw-color": i.value
|
|
29638
|
-
}, null, 8, ["label", "color", "raw-color"])) :
|
|
29613
|
+
}, null, 8, ["label", "color", "raw-color"])) : F("", !0),
|
|
29639
29614
|
t.isPrivate || t.important || t.isClosed ? (k(), $("div", Uhe, [
|
|
29640
29615
|
t.isPrivate ? (k(), Y(Le, {
|
|
29641
29616
|
key: 0,
|
|
29642
29617
|
name: "Lock",
|
|
29643
29618
|
class: "ao-card-feed__warning",
|
|
29644
29619
|
size: "sm"
|
|
29645
|
-
})) :
|
|
29620
|
+
})) : F("", !0),
|
|
29646
29621
|
t.important ? (k(), Y(Le, {
|
|
29647
29622
|
key: 1,
|
|
29648
29623
|
name: "FlagRounded",
|
|
29649
29624
|
class: "ao-card-feed__important",
|
|
29650
29625
|
size: "sm"
|
|
29651
|
-
})) :
|
|
29626
|
+
})) : F("", !0),
|
|
29652
29627
|
t.isClosed ? (k(), Y(Le, {
|
|
29653
29628
|
key: 2,
|
|
29654
29629
|
name: "CheckSmallRounded",
|
|
29655
29630
|
class: "ao-card-feed__closed"
|
|
29656
|
-
})) :
|
|
29657
|
-
])) :
|
|
29631
|
+
})) : F("", !0)
|
|
29632
|
+
])) : F("", !0),
|
|
29658
29633
|
m.$slots.secondary ? (k(), $("div", qhe, [
|
|
29659
29634
|
be(m.$slots, "secondary")
|
|
29660
|
-
])) :
|
|
29635
|
+
])) : F("", !0)
|
|
29661
29636
|
])
|
|
29662
29637
|
]),
|
|
29663
29638
|
default: pe(() => [
|
|
29664
29639
|
x("div", Hhe, [
|
|
29665
|
-
a.value ? (k(), $("span", zhe,
|
|
29640
|
+
a.value ? (k(), $("span", zhe, ne(a.value), 1)) : F("", !0),
|
|
29666
29641
|
x("div", Vhe, [
|
|
29667
29642
|
x("div", jhe, [
|
|
29668
|
-
t.slug ? (k(), $("span", Whe,
|
|
29643
|
+
t.slug ? (k(), $("span", Whe, ne(t.slug) + ": ", 1)) : F("", !0),
|
|
29669
29644
|
I(At, {
|
|
29670
29645
|
id: t.id,
|
|
29671
29646
|
title: t.name,
|
|
@@ -29676,7 +29651,7 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29676
29651
|
}, null, 8, ["id", "title", "is-editable"])
|
|
29677
29652
|
])
|
|
29678
29653
|
]),
|
|
29679
|
-
t.deadline ? (k(), $("span", Zhe,
|
|
29654
|
+
t.deadline ? (k(), $("span", Zhe, ne(c.value), 1)) : F("", !0)
|
|
29680
29655
|
])
|
|
29681
29656
|
]),
|
|
29682
29657
|
footer: pe(() => [
|
|
@@ -29693,7 +29668,7 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29693
29668
|
"is-closable": !0,
|
|
29694
29669
|
onClose: () => u(_.id)
|
|
29695
29670
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
29696
|
-
])) :
|
|
29671
|
+
])) : F("", !0)
|
|
29697
29672
|
], 64))), 128))
|
|
29698
29673
|
]),
|
|
29699
29674
|
t.comments || t.attachments ? (k(), $("ul", Xhe, [
|
|
@@ -29702,16 +29677,16 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29702
29677
|
name: "ChatOutline",
|
|
29703
29678
|
size: "sm"
|
|
29704
29679
|
}),
|
|
29705
|
-
x("span", eme,
|
|
29706
|
-
])) :
|
|
29680
|
+
x("span", eme, ne(t.comments), 1)
|
|
29681
|
+
])) : F("", !0),
|
|
29707
29682
|
t.attachments ? (k(), $("li", tme, [
|
|
29708
29683
|
I(Le, {
|
|
29709
29684
|
name: "AttachFileRounded",
|
|
29710
29685
|
size: "sm"
|
|
29711
29686
|
}),
|
|
29712
|
-
x("span", nme,
|
|
29713
|
-
])) :
|
|
29714
|
-
])) :
|
|
29687
|
+
x("span", nme, ne(t.attachments), 1)
|
|
29688
|
+
])) : F("", !0)
|
|
29689
|
+
])) : F("", !0),
|
|
29715
29690
|
x("div", rme, [
|
|
29716
29691
|
I(Le, {
|
|
29717
29692
|
name: "TimerOutline",
|
|
@@ -29728,13 +29703,13 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29728
29703
|
name: "SelectCheckBox",
|
|
29729
29704
|
size: "sm"
|
|
29730
29705
|
}),
|
|
29731
|
-
x("span", ame,
|
|
29706
|
+
x("span", ame, ne(p.value) + " / " + ne(f.value), 1)
|
|
29732
29707
|
]),
|
|
29733
29708
|
I(Wl, {
|
|
29734
29709
|
percentages: h.value,
|
|
29735
29710
|
class: "ao-card-feed__progress"
|
|
29736
29711
|
}, null, 8, ["percentages"])
|
|
29737
|
-
])) :
|
|
29712
|
+
])) : F("", !0)
|
|
29738
29713
|
])
|
|
29739
29714
|
])
|
|
29740
29715
|
]),
|
|
@@ -29976,9 +29951,9 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
29976
29951
|
name: "Add",
|
|
29977
29952
|
class: "ao-project-milestone__quick-add-icon"
|
|
29978
29953
|
})
|
|
29979
|
-
], 8, bme)) :
|
|
29954
|
+
], 8, bme)) : F("", !0)
|
|
29980
29955
|
])
|
|
29981
|
-
])) :
|
|
29956
|
+
])) : F("", !0)
|
|
29982
29957
|
]),
|
|
29983
29958
|
x("div", Cme, [
|
|
29984
29959
|
I(ve(qr), Ot({
|
|
@@ -30030,7 +30005,7 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
30030
30005
|
corners: "round",
|
|
30031
30006
|
label: b.$t("archive"),
|
|
30032
30007
|
onClick: ke(() => b.$emit("archiveActivity", { id: T.id }), ["stop"])
|
|
30033
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30008
|
+
}, null, 8, ["label", "onClick"])) : F("", !0),
|
|
30034
30009
|
t.isEditable && !T.active ? (k(), Y(Te, {
|
|
30035
30010
|
key: 1,
|
|
30036
30011
|
color: "primary",
|
|
@@ -30044,7 +30019,7 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
30044
30019
|
() => b.$emit("unarchiveActivity", { id: T.id }),
|
|
30045
30020
|
["stop"]
|
|
30046
30021
|
)
|
|
30047
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30022
|
+
}, null, 8, ["label", "onClick"])) : F("", !0)
|
|
30048
30023
|
]),
|
|
30049
30024
|
key: "0"
|
|
30050
30025
|
} : void 0
|
|
@@ -30059,7 +30034,7 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
30059
30034
|
label: b.$t("project.activity.add"),
|
|
30060
30035
|
onClick: d
|
|
30061
30036
|
}, null, 8, ["label"])
|
|
30062
|
-
])) :
|
|
30037
|
+
])) : F("", !0)
|
|
30063
30038
|
])
|
|
30064
30039
|
]);
|
|
30065
30040
|
};
|
|
@@ -30155,7 +30130,7 @@ const kme = /* @__PURE__ */ de({
|
|
|
30155
30130
|
be(_.$slots, "default", Ss(As(w)))
|
|
30156
30131
|
]),
|
|
30157
30132
|
_: 3
|
|
30158
|
-
}, 8, ["activity", "activity-types", "dev-statuses", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "load-attachment-preview", "onClose"])) :
|
|
30133
|
+
}, 8, ["activity", "activity-types", "dev-statuses", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "load-attachment-preview", "onClose"])) : F("", !0);
|
|
30159
30134
|
};
|
|
30160
30135
|
}
|
|
30161
30136
|
}), xme = { class: "ao-col-header" }, Sme = /* @__PURE__ */ de({
|
|
@@ -30177,7 +30152,7 @@ const kme = /* @__PURE__ */ de({
|
|
|
30177
30152
|
class: "ao-col-header__items",
|
|
30178
30153
|
variant: "solid",
|
|
30179
30154
|
color: "primary"
|
|
30180
|
-
}, null, 8, ["label"])) :
|
|
30155
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
30181
30156
|
]));
|
|
30182
30157
|
}
|
|
30183
30158
|
});
|
|
@@ -30354,7 +30329,7 @@ const Pme = {
|
|
|
30354
30329
|
title: t.title,
|
|
30355
30330
|
level: 3,
|
|
30356
30331
|
items: (p = t.list) == null ? void 0 : p.length
|
|
30357
|
-
}, null, 8, ["title", "items"])) :
|
|
30332
|
+
}, null, 8, ["title", "items"])) : F("", !0),
|
|
30358
30333
|
t.showHeaderAdd ? (k(), $("button", {
|
|
30359
30334
|
key: 1,
|
|
30360
30335
|
class: "ao-list-kanban__header-add",
|
|
@@ -30362,10 +30337,10 @@ const Pme = {
|
|
|
30362
30337
|
onClick: f[0] || (f[0] = (h) => d.$emit("addAtBeginning"))
|
|
30363
30338
|
}, [
|
|
30364
30339
|
I(Le, { name: "Add" })
|
|
30365
|
-
], 8, Rme)) :
|
|
30340
|
+
], 8, Rme)) : F("", !0)
|
|
30366
30341
|
])
|
|
30367
30342
|
];
|
|
30368
|
-
}, void 0, 0) :
|
|
30343
|
+
}, void 0, 0) : F("", !0),
|
|
30369
30344
|
I(ve(qr), Ot({
|
|
30370
30345
|
class: ["ao-list-kanban__list", u.value ? "ao-list-kanban__transition" : void 0],
|
|
30371
30346
|
list: t.list,
|
|
@@ -30427,7 +30402,7 @@ const Pme = {
|
|
|
30427
30402
|
corners: "round",
|
|
30428
30403
|
label: d.$t("feed.activity.archive"),
|
|
30429
30404
|
onClick: ke(() => d.$emit("archiveActivity", { id: p.id }), ["stop"])
|
|
30430
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30405
|
+
}, null, 8, ["label", "onClick"])) : F("", !0),
|
|
30431
30406
|
s(p) && !p.active ? (k(), Y(Te, {
|
|
30432
30407
|
key: 1,
|
|
30433
30408
|
color: "primary",
|
|
@@ -30438,7 +30413,7 @@ const Pme = {
|
|
|
30438
30413
|
corners: "round",
|
|
30439
30414
|
label: d.$t("feed.activity.unarchive"),
|
|
30440
30415
|
onClick: ke(() => d.$emit("unarchiveActivity", { id: p.id }), ["stop"])
|
|
30441
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30416
|
+
}, null, 8, ["label", "onClick"])) : F("", !0)
|
|
30442
30417
|
]),
|
|
30443
30418
|
_: 2
|
|
30444
30419
|
}, 1032, ["id", "class", "name", "project-name", "project-id", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "slug", "is-editable", "is-private", "tag-type", "onUpdateActivity", "onClick", "onRemoveAssignee"])
|
|
@@ -30453,7 +30428,7 @@ const Pme = {
|
|
|
30453
30428
|
ref: i,
|
|
30454
30429
|
class: "ao-list-kanban__end"
|
|
30455
30430
|
}, null, 512)) : (k(), $("div", Ume, [
|
|
30456
|
-
t.noMoreLabel ? (k(), $("span", qme,
|
|
30431
|
+
t.noMoreLabel ? (k(), $("span", qme, ne(t.noMoreLabel), 1)) : t.isEditable ? (k(), $("span", Hme)) : F("", !0)
|
|
30457
30432
|
]))
|
|
30458
30433
|
]),
|
|
30459
30434
|
_: 1
|
|
@@ -30465,9 +30440,9 @@ const Pme = {
|
|
|
30465
30440
|
"icon-name": "AddBoxOutlineRounded",
|
|
30466
30441
|
label: t.footerLabel,
|
|
30467
30442
|
onClick: f[4] || (f[4] = (p) => d.$emit("add"))
|
|
30468
|
-
}, null, 8, ["label"])) :
|
|
30443
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
30469
30444
|
])
|
|
30470
|
-
])) :
|
|
30445
|
+
])) : F("", !0)
|
|
30471
30446
|
]));
|
|
30472
30447
|
}
|
|
30473
30448
|
});
|
|
@@ -30516,25 +30491,25 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30516
30491
|
props: {
|
|
30517
30492
|
activities: {},
|
|
30518
30493
|
statuses: {},
|
|
30519
|
-
devStatuses: {},
|
|
30520
|
-
project: {},
|
|
30521
|
-
projects: {},
|
|
30494
|
+
devStatuses: { default: () => [] },
|
|
30495
|
+
project: { default: void 0 },
|
|
30496
|
+
projects: { default: () => [] },
|
|
30522
30497
|
filters: {},
|
|
30523
|
-
activityTypes: {},
|
|
30498
|
+
activityTypes: { default: () => [] },
|
|
30524
30499
|
users: {},
|
|
30525
30500
|
userId: {},
|
|
30526
|
-
initialActivityId: {},
|
|
30527
|
-
initialActivitySlug: {},
|
|
30501
|
+
initialActivityId: { default: void 0 },
|
|
30502
|
+
initialActivitySlug: { default: void 0 },
|
|
30528
30503
|
searchText: { default: "" },
|
|
30529
30504
|
showsArchivedActivities: { type: Boolean },
|
|
30530
30505
|
showsOnlyImportant: { type: Boolean },
|
|
30531
30506
|
showsOnlyNonAssigned: { type: Boolean },
|
|
30532
|
-
selectedActivity: {},
|
|
30507
|
+
selectedActivity: { default: void 0 },
|
|
30533
30508
|
isTaskCheckable: { type: Function, default: void 0 },
|
|
30534
30509
|
isEditable: { type: [Boolean, String] },
|
|
30535
30510
|
attachmentEnabled: { type: Boolean, default: !0 },
|
|
30536
|
-
timeTrackingData: {},
|
|
30537
|
-
loadAttachmentPreview: {}
|
|
30511
|
+
timeTrackingData: { default: () => ({}) },
|
|
30512
|
+
loadAttachmentPreview: { type: Function, default: void 0 }
|
|
30538
30513
|
},
|
|
30539
30514
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "update:showsOnlyNonAssigned", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast", "startTimer"],
|
|
30540
30515
|
setup(t, { emit: e }) {
|
|
@@ -30664,7 +30639,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30664
30639
|
"onUpdate:modelValue": T,
|
|
30665
30640
|
onClear: M
|
|
30666
30641
|
}, null, 8, ["model-value", "placeholder"]),
|
|
30667
|
-
r.project ?
|
|
30642
|
+
r.project ? F("", !0) : (k(), Y(Gt, {
|
|
30668
30643
|
key: 0,
|
|
30669
30644
|
"model-value": t.filters[ve(Ro).project],
|
|
30670
30645
|
mode: "tags",
|
|
@@ -30685,7 +30660,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30685
30660
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
30686
30661
|
placeholder: H.$t("feed.filters.activityType.placeholder"),
|
|
30687
30662
|
"onUpdate:modelValue": he[2] || (he[2] = (te) => m(ve(Ro).type, te))
|
|
30688
|
-
}, null, 8, ["model-value", "options", "placeholder"])) :
|
|
30663
|
+
}, null, 8, ["model-value", "options", "placeholder"])) : F("", !0),
|
|
30689
30664
|
y.value.length ? (k(), Y(Gt, {
|
|
30690
30665
|
key: 2,
|
|
30691
30666
|
"model-value": t.filters[ve(Ro).assignee],
|
|
@@ -30709,7 +30684,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30709
30684
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
30710
30685
|
]),
|
|
30711
30686
|
_: 1
|
|
30712
|
-
}, 8, ["model-value", "options", "placeholder"])) :
|
|
30687
|
+
}, 8, ["model-value", "options", "placeholder"])) : F("", !0)
|
|
30713
30688
|
]),
|
|
30714
30689
|
I(Te, {
|
|
30715
30690
|
class: "ao-feed__only-non-assigned",
|
|
@@ -30805,7 +30780,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30805
30780
|
be(H.$slots, "activityDetailsBody", Ss(As(te)))
|
|
30806
30781
|
]),
|
|
30807
30782
|
_: 3
|
|
30808
|
-
}, 8, ["activity", "activity-types", "dev-statuses", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "load-attachment-preview"])) :
|
|
30783
|
+
}, 8, ["activity", "activity-types", "dev-statuses", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "load-attachment-preview"])) : F("", !0)
|
|
30809
30784
|
]))
|
|
30810
30785
|
]);
|
|
30811
30786
|
};
|
|
@@ -30895,21 +30870,21 @@ const Xme = { class: "ao-project-mapping" }, Qme = { class: "ao-project-mapping-
|
|
|
30895
30870
|
variant: "ghost",
|
|
30896
30871
|
label: g.$t("project.phase.add"),
|
|
30897
30872
|
onClick: s
|
|
30898
|
-
}, null, 8, ["label"])) :
|
|
30873
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
30899
30874
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
30900
30875
|
key: 1,
|
|
30901
30876
|
class: "ao-project-mapping-overview__save-as-template",
|
|
30902
30877
|
color: "primary",
|
|
30903
30878
|
label: g.$t("project.template.save.label"),
|
|
30904
30879
|
onClick: y[2] || (y[2] = (w) => f.value = !0)
|
|
30905
|
-
}, null, 8, ["label"])) :
|
|
30880
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
30906
30881
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
30907
30882
|
key: 2,
|
|
30908
30883
|
class: "ao-project-mapping-overview__add-template",
|
|
30909
30884
|
color: "primary",
|
|
30910
30885
|
label: g.$t("project.template.apply.label"),
|
|
30911
30886
|
onClick: y[3] || (y[3] = (w) => d.value = !0)
|
|
30912
|
-
}, null, 8, ["label"])) :
|
|
30887
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
30913
30888
|
]),
|
|
30914
30889
|
_: 1
|
|
30915
30890
|
}),
|
|
@@ -30934,7 +30909,7 @@ const Xme = { class: "ao-project-mapping" }, Qme = { class: "ao-project-mapping-
|
|
|
30934
30909
|
src: t.project.architectureImage.url,
|
|
30935
30910
|
alt: ve(n)("architectureImage.alt")
|
|
30936
30911
|
}, null, 8, n0e)
|
|
30937
|
-
])) :
|
|
30912
|
+
])) : F("", !0)
|
|
30938
30913
|
])
|
|
30939
30914
|
])
|
|
30940
30915
|
], 16),
|
|
@@ -30944,14 +30919,14 @@ const Xme = { class: "ao-project-mapping" }, Qme = { class: "ao-project-mapping-
|
|
|
30944
30919
|
phases: t.phases,
|
|
30945
30920
|
onClose: y[4] || (y[4] = (w) => f.value = !1),
|
|
30946
30921
|
onSave: h
|
|
30947
|
-
}, null, 8, ["phases"])) :
|
|
30922
|
+
}, null, 8, ["phases"])) : F("", !0),
|
|
30948
30923
|
d.value ? (k(), Y(gg, {
|
|
30949
30924
|
key: 1,
|
|
30950
30925
|
"project-id": t.project.id,
|
|
30951
30926
|
templates: t.templates,
|
|
30952
30927
|
onClose: y[5] || (y[5] = (w) => d.value = !1),
|
|
30953
30928
|
onApply: p
|
|
30954
|
-
}, null, 8, ["project-id", "templates"])) :
|
|
30929
|
+
}, null, 8, ["project-id", "templates"])) : F("", !0)
|
|
30955
30930
|
]))
|
|
30956
30931
|
], 64);
|
|
30957
30932
|
};
|
|
@@ -31134,7 +31109,7 @@ const s0e = { class: "ao-field__label" }, a0e = /* @__PURE__ */ de({
|
|
|
31134
31109
|
return (e, n) => (k(), $("label", {
|
|
31135
31110
|
class: ye(["ao-field", { "ao-field--multiselect": t.isMultiselect }])
|
|
31136
31111
|
}, [
|
|
31137
|
-
x("span", s0e,
|
|
31112
|
+
x("span", s0e, ne(t.label), 1),
|
|
31138
31113
|
be(e.$slots, "default")
|
|
31139
31114
|
], 2));
|
|
31140
31115
|
}
|
|
@@ -31181,7 +31156,7 @@ const s0e = { class: "ao-field__label" }, a0e = /* @__PURE__ */ de({
|
|
|
31181
31156
|
emits: ["update:modelValue"],
|
|
31182
31157
|
setup(t) {
|
|
31183
31158
|
return (e, n) => (k(), $("label", c0e, [
|
|
31184
|
-
x("span", u0e,
|
|
31159
|
+
x("span", u0e, ne(t.label), 1),
|
|
31185
31160
|
x("input", {
|
|
31186
31161
|
class: "ao-field__input",
|
|
31187
31162
|
type: "checkbox",
|