@26lights/orcha 0.42.101 → 0.42.103
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 +495 -511
- 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,227 @@ 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:
|
|
26259
|
+
set(B) {
|
|
26260
|
+
r("update:activity", { id: n.activity.id, important: B });
|
|
26261
26261
|
}
|
|
26262
26262
|
});
|
|
26263
26263
|
O({
|
|
26264
26264
|
get() {
|
|
26265
26265
|
return n.activity.private ?? !1;
|
|
26266
26266
|
},
|
|
26267
|
-
set(
|
|
26268
|
-
r("update:activity", { id: n.activity.id, private:
|
|
26267
|
+
set(B) {
|
|
26268
|
+
r("update:activity", { id: n.activity.id, private: B });
|
|
26269
26269
|
}
|
|
26270
26270
|
});
|
|
26271
26271
|
const C = O({
|
|
26272
26272
|
get() {
|
|
26273
26273
|
return n.activity.deadline;
|
|
26274
26274
|
},
|
|
26275
|
-
set(
|
|
26276
|
-
r("update:activity", { id: n.activity.id, deadline:
|
|
26277
|
-
}
|
|
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 });
|
|
26275
|
+
set(B) {
|
|
26276
|
+
r("update:activity", { id: n.activity.id, deadline: B });
|
|
26292
26277
|
}
|
|
26293
|
-
})
|
|
26294
|
-
const w = O({
|
|
26278
|
+
}), w = O({
|
|
26295
26279
|
get() {
|
|
26296
26280
|
return n.activity.activityType !== "dev";
|
|
26297
26281
|
},
|
|
26298
|
-
set(
|
|
26282
|
+
set(B) {
|
|
26299
26283
|
var Ee;
|
|
26300
|
-
const
|
|
26301
|
-
n.activity.activityType !== "dev" &&
|
|
26284
|
+
const re = B ? "standard" : "dev";
|
|
26285
|
+
n.activity.activityType !== "dev" && re === "dev" && !n.activity.devStatus && ((Ee = n.devStatuses) != null && Ee.length) ? r("update:activity", {
|
|
26302
26286
|
id: n.activity.id,
|
|
26303
|
-
type:
|
|
26287
|
+
type: re,
|
|
26304
26288
|
statusDevId: n.devStatuses[0].id
|
|
26305
|
-
}) : r("update:activity", { id: n.activity.id, type:
|
|
26289
|
+
}) : r("update:activity", { id: n.activity.id, type: re });
|
|
26306
26290
|
}
|
|
26307
26291
|
}), b = O(() => {
|
|
26308
|
-
var
|
|
26309
|
-
return ((
|
|
26310
|
-
value:
|
|
26311
|
-
label:
|
|
26292
|
+
var B;
|
|
26293
|
+
return ((B = n.devStatuses) == null ? void 0 : B.map((re) => ({
|
|
26294
|
+
value: re.id,
|
|
26295
|
+
label: re.name
|
|
26312
26296
|
}))) ?? [];
|
|
26313
26297
|
}), S = O({
|
|
26314
26298
|
get() {
|
|
26315
|
-
var
|
|
26316
|
-
return (
|
|
26299
|
+
var B;
|
|
26300
|
+
return (B = n.activity.devStatus) == null ? void 0 : B.id;
|
|
26317
26301
|
},
|
|
26318
|
-
set(
|
|
26319
|
-
r("update:activity", { id: n.activity.id, statusDevId:
|
|
26302
|
+
set(B) {
|
|
26303
|
+
r("update:activity", { id: n.activity.id, statusDevId: B });
|
|
26320
26304
|
}
|
|
26321
|
-
}), E = O(() => n.templateActivities.filter((
|
|
26322
|
-
label:
|
|
26323
|
-
value:
|
|
26305
|
+
}), E = O(() => n.templateActivities.filter((B) => B.id !== n.activity.id).map((B) => ({
|
|
26306
|
+
label: B.name,
|
|
26307
|
+
value: B.id
|
|
26324
26308
|
}))), T = O({
|
|
26325
26309
|
get() {
|
|
26326
|
-
var
|
|
26327
|
-
return (
|
|
26310
|
+
var B;
|
|
26311
|
+
return (B = n.activity.dependingOn) == null ? void 0 : B.map((re) => re.id);
|
|
26328
26312
|
},
|
|
26329
|
-
set(
|
|
26330
|
-
|
|
26313
|
+
set(B) {
|
|
26314
|
+
B && r("update:activity", {
|
|
26331
26315
|
id: n.activity.id,
|
|
26332
|
-
dependingOn:
|
|
26316
|
+
dependingOn: B
|
|
26333
26317
|
});
|
|
26334
26318
|
}
|
|
26335
|
-
}), M = O(() => E.value.map((
|
|
26336
|
-
var
|
|
26319
|
+
}), M = O(() => E.value.map((B) => {
|
|
26320
|
+
var re;
|
|
26337
26321
|
return {
|
|
26338
|
-
...
|
|
26339
|
-
disabled: (
|
|
26322
|
+
...B,
|
|
26323
|
+
disabled: (re = n.activity.blocking) == null ? void 0 : re.some((Ee) => Ee.id === B.value)
|
|
26340
26324
|
};
|
|
26341
26325
|
})), U = O({
|
|
26342
26326
|
get() {
|
|
26343
|
-
var
|
|
26344
|
-
return (
|
|
26327
|
+
var B;
|
|
26328
|
+
return (B = n.activity.blocking) == null ? void 0 : B.map((re) => re.id);
|
|
26345
26329
|
},
|
|
26346
|
-
set(
|
|
26347
|
-
|
|
26330
|
+
set(B) {
|
|
26331
|
+
B && r("update:activity", {
|
|
26348
26332
|
id: n.activity.id,
|
|
26349
|
-
blocking:
|
|
26333
|
+
blocking: B
|
|
26350
26334
|
});
|
|
26351
26335
|
}
|
|
26352
|
-
}), D = O(() => E.value.map((
|
|
26353
|
-
var
|
|
26336
|
+
}), D = O(() => E.value.map((B) => {
|
|
26337
|
+
var re;
|
|
26354
26338
|
return {
|
|
26355
|
-
...
|
|
26356
|
-
disabled: (
|
|
26357
|
-
(Ee) => Ee.id ===
|
|
26339
|
+
...B,
|
|
26340
|
+
disabled: (re = n.activity.dependingOn) == null ? void 0 : re.some(
|
|
26341
|
+
(Ee) => Ee.id === B.value
|
|
26358
26342
|
)
|
|
26359
26343
|
};
|
|
26360
|
-
})), L = (
|
|
26361
|
-
r("addSubtask",
|
|
26362
|
-
}, N = (
|
|
26363
|
-
r("updateSubtask",
|
|
26364
|
-
}, q = (
|
|
26365
|
-
r("deleteSubtask",
|
|
26344
|
+
})), L = (B) => {
|
|
26345
|
+
r("addSubtask", B);
|
|
26346
|
+
}, N = (B) => {
|
|
26347
|
+
r("updateSubtask", B);
|
|
26348
|
+
}, q = (B) => {
|
|
26349
|
+
r("deleteSubtask", B);
|
|
26366
26350
|
};
|
|
26367
26351
|
function z() {
|
|
26368
26352
|
n.userId ? K.value = [n.userId] : console.error("Failed assigning to self: userId is missing");
|
|
26369
26353
|
}
|
|
26370
|
-
function J(
|
|
26371
|
-
K.value = [
|
|
26354
|
+
function J(B) {
|
|
26355
|
+
K.value = [B];
|
|
26372
26356
|
}
|
|
26373
26357
|
const j = O(() => {
|
|
26374
|
-
var
|
|
26375
|
-
const
|
|
26376
|
-
return (
|
|
26377
|
-
|
|
26378
|
-
}), Array.from(
|
|
26358
|
+
var re;
|
|
26359
|
+
const B = /* @__PURE__ */ new Map();
|
|
26360
|
+
return (re = n.users) == null || re.forEach((Ee) => {
|
|
26361
|
+
B.has(Ee.id) || B.set(Ee.id, Ee);
|
|
26362
|
+
}), Array.from(B.values()).map((Ee) => ({
|
|
26379
26363
|
label: `${Ee.firstName} ${Ee.lastName}`,
|
|
26380
26364
|
value: Ee.id,
|
|
26381
26365
|
avatar: Ee.avatarUrl
|
|
26382
26366
|
}));
|
|
26383
26367
|
}), K = O({
|
|
26384
26368
|
get() {
|
|
26385
|
-
var
|
|
26386
|
-
return (
|
|
26369
|
+
var B, re;
|
|
26370
|
+
return (B = n.activity.assignee) != null && B.id ? [(re = n.activity.assignee) == null ? void 0 : re.id] : [];
|
|
26387
26371
|
},
|
|
26388
|
-
set(
|
|
26372
|
+
set(B) {
|
|
26389
26373
|
r("update:activity", {
|
|
26390
26374
|
id: n.activity.id,
|
|
26391
|
-
assigneeId:
|
|
26375
|
+
assigneeId: B[0] ?? null
|
|
26392
26376
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
26393
26377
|
});
|
|
26394
26378
|
}
|
|
26395
|
-
}), V = (
|
|
26379
|
+
}), V = (B) => {
|
|
26396
26380
|
r("addFiles", {
|
|
26397
26381
|
activityId: n.activity.id,
|
|
26398
|
-
files:
|
|
26382
|
+
files: B
|
|
26399
26383
|
});
|
|
26400
|
-
}, le = (
|
|
26401
|
-
V(
|
|
26402
|
-
}, H = (
|
|
26384
|
+
}, le = (B) => {
|
|
26385
|
+
V(B);
|
|
26386
|
+
}, H = (B) => {
|
|
26403
26387
|
r("removeFile", {
|
|
26404
26388
|
activityId: n.activity.id,
|
|
26405
|
-
file:
|
|
26389
|
+
file: B
|
|
26406
26390
|
});
|
|
26407
|
-
}, he = O(() => n.projects.map((
|
|
26408
|
-
value:
|
|
26409
|
-
label:
|
|
26391
|
+
}, he = O(() => n.projects.map((B) => ({
|
|
26392
|
+
value: B.id,
|
|
26393
|
+
label: B.name
|
|
26410
26394
|
}))), fe = O(() => {
|
|
26411
|
-
var
|
|
26412
|
-
const
|
|
26395
|
+
var re, Ee, Ze;
|
|
26396
|
+
const B = (Ze = (Ee = (re = n.activity) == null ? void 0 : re.project) == null ? void 0 : Ee.phases) == null ? void 0 : Ze.reduce(
|
|
26413
26397
|
(et, De) => [...et, ...De.milestones],
|
|
26414
26398
|
[]
|
|
26415
26399
|
);
|
|
26416
|
-
return
|
|
26400
|
+
return B == null ? void 0 : B.map((et) => ({
|
|
26417
26401
|
value: et.id,
|
|
26418
26402
|
label: et.name
|
|
26419
26403
|
}));
|
|
26420
|
-
}), te = (
|
|
26404
|
+
}), te = (B) => {
|
|
26421
26405
|
n.activity && r("update:activity", {
|
|
26422
26406
|
id: n.activity.id,
|
|
26423
|
-
projectId:
|
|
26407
|
+
projectId: B
|
|
26424
26408
|
});
|
|
26425
|
-
}, W = (
|
|
26409
|
+
}, W = (B) => {
|
|
26426
26410
|
n.activity && r("update:activity", {
|
|
26427
26411
|
id: n.activity.id,
|
|
26428
|
-
milestoneId:
|
|
26412
|
+
milestoneId: B
|
|
26429
26413
|
});
|
|
26430
26414
|
}, ce = O(() => {
|
|
26431
|
-
var
|
|
26432
|
-
return (
|
|
26433
|
-
value:
|
|
26434
|
-
label:
|
|
26415
|
+
var B;
|
|
26416
|
+
return (B = n.statuses) == null ? void 0 : B.map((re) => ({
|
|
26417
|
+
value: re.id,
|
|
26418
|
+
label: re.name
|
|
26435
26419
|
}));
|
|
26436
|
-
}), xe = (
|
|
26420
|
+
}), xe = (B) => {
|
|
26437
26421
|
r("update:activity", {
|
|
26438
26422
|
id: n.activity.id,
|
|
26439
|
-
statusId:
|
|
26423
|
+
statusId: B
|
|
26440
26424
|
});
|
|
26441
|
-
}, Ue = (
|
|
26425
|
+
}, Ue = (B) => {
|
|
26442
26426
|
r("update:activity", {
|
|
26443
26427
|
id: n.activity.id,
|
|
26444
|
-
statusDevId:
|
|
26428
|
+
statusDevId: B
|
|
26445
26429
|
});
|
|
26446
|
-
}, Qe = (
|
|
26430
|
+
}, Qe = (B) => {
|
|
26447
26431
|
r("addComment", {
|
|
26448
|
-
...
|
|
26432
|
+
...B,
|
|
26449
26433
|
activityId: n.activity.id
|
|
26450
26434
|
});
|
|
26451
|
-
}, Et = (
|
|
26452
|
-
r("updateComment",
|
|
26453
|
-
}, Oe = (
|
|
26454
|
-
r("removeComment",
|
|
26435
|
+
}, Et = (B) => {
|
|
26436
|
+
r("updateComment", B);
|
|
26437
|
+
}, Oe = (B) => {
|
|
26438
|
+
r("removeComment", B);
|
|
26455
26439
|
}, $t = O(() => {
|
|
26456
|
-
var
|
|
26457
|
-
return ((
|
|
26440
|
+
var B, re;
|
|
26441
|
+
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
26442
|
}), qe = O(() => n.activity.createdAt ? new Date(n.activity.createdAt).toLocaleDateString("en-UK", {
|
|
26459
26443
|
day: "2-digit",
|
|
26460
26444
|
month: "2-digit",
|
|
26461
26445
|
year: "numeric"
|
|
26462
26446
|
}) : "");
|
|
26463
26447
|
function It() {
|
|
26464
|
-
const
|
|
26448
|
+
const B = window.location.origin, re = n.activity.slug, Ee = `${B}/activity-feed/slug/${re}`;
|
|
26465
26449
|
navigator.clipboard.writeText(Ee).then(() => {
|
|
26466
26450
|
console.log(`Link copied to clipboard: ${Ee}`), r("toast", "clipboard.copy.success", "success");
|
|
26467
26451
|
}).catch(() => {
|
|
26468
26452
|
console.log("Failed to copy link"), r("toast", "clipboard.copy.error", "error");
|
|
26469
26453
|
});
|
|
26470
26454
|
}
|
|
26471
|
-
return (
|
|
26455
|
+
return (B, re) => (k(), $(He, null, [
|
|
26472
26456
|
I(dl, {
|
|
26473
|
-
onClose:
|
|
26457
|
+
onClose: re[10] || (re[10] = (Ee) => B.$emit("close"))
|
|
26474
26458
|
}, {
|
|
26475
26459
|
default: pe(() => {
|
|
26476
26460
|
var Ee, Ze, et;
|
|
@@ -26487,18 +26471,18 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26487
26471
|
"icon-name": "ContentCopyOutline",
|
|
26488
26472
|
class: "ao-activity__ao-tag",
|
|
26489
26473
|
onClick: It
|
|
26490
|
-
}, null, 8, ["label"])) :
|
|
26491
|
-
t.breadcrumbs ? (k(), $("div", W1e,
|
|
26474
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
26475
|
+
t.breadcrumbs ? (k(), $("div", W1e, ne(t.breadcrumbs), 1)) : F("", !0),
|
|
26492
26476
|
I(At, {
|
|
26493
26477
|
title: t.activity.name || "",
|
|
26494
26478
|
level: 4,
|
|
26495
26479
|
"is-editable": a.value,
|
|
26496
26480
|
"onUpdate:title": u
|
|
26497
26481
|
}, null, 8, ["title", "is-editable"]),
|
|
26498
|
-
$t.value ? (k(), $("div", Z1e,
|
|
26482
|
+
$t.value ? (k(), $("div", Z1e, ne(B.$t("activity.createdBy.label", { name: $t.value, date: qe.value })), 1)) : F("", !0),
|
|
26499
26483
|
x("div", K1e, [
|
|
26500
26484
|
he.value ? (k(), $("label", G1e, [
|
|
26501
|
-
x("span", Y1e,
|
|
26485
|
+
x("span", Y1e, ne(B.$t("activity.project.label")), 1),
|
|
26502
26486
|
I(Gt, {
|
|
26503
26487
|
options: he.value,
|
|
26504
26488
|
value: (Ee = t.activity.project) == null ? void 0 : Ee.id,
|
|
@@ -26507,9 +26491,9 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26507
26491
|
caret: a.value,
|
|
26508
26492
|
onChange: te
|
|
26509
26493
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26510
|
-
])) :
|
|
26494
|
+
])) : F("", !0),
|
|
26511
26495
|
fe.value ? (k(), $("label", J1e, [
|
|
26512
|
-
x("span", X1e,
|
|
26496
|
+
x("span", X1e, ne(B.$t("activity.milestone.label")), 1),
|
|
26513
26497
|
I(Gt, {
|
|
26514
26498
|
options: fe.value,
|
|
26515
26499
|
value: (Ze = t.activity.milestone) == null ? void 0 : Ze.id,
|
|
@@ -26518,14 +26502,14 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26518
26502
|
caret: a.value,
|
|
26519
26503
|
onChange: W
|
|
26520
26504
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26521
|
-
])) :
|
|
26505
|
+
])) : F("", !0)
|
|
26522
26506
|
]),
|
|
26523
|
-
be(
|
|
26507
|
+
be(B.$slots, "header")
|
|
26524
26508
|
]),
|
|
26525
26509
|
x("div", Q1e, [
|
|
26526
26510
|
I(Vl, {
|
|
26527
26511
|
modelValue: i.value,
|
|
26528
|
-
"onUpdate:modelValue":
|
|
26512
|
+
"onUpdate:modelValue": re[0] || (re[0] = (De) => i.value = De),
|
|
26529
26513
|
tabs: s.value,
|
|
26530
26514
|
variant: "underline",
|
|
26531
26515
|
class: "ao-activity-details__tabs"
|
|
@@ -26535,10 +26519,10 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26535
26519
|
x("div", nfe, [
|
|
26536
26520
|
I(F4, {
|
|
26537
26521
|
attachments: t.activity.attachments,
|
|
26538
|
-
"is-editable": t.attachmentEnabled && a.value && t.isTemplate
|
|
26522
|
+
"is-editable": t.attachmentEnabled && a.value && !t.isTemplate && !!t.userId,
|
|
26539
26523
|
onAdd: V,
|
|
26540
26524
|
onRemove: H,
|
|
26541
|
-
onPreview:
|
|
26525
|
+
onPreview: re[1] || (re[1] = (De) => c.value = De)
|
|
26542
26526
|
}, {
|
|
26543
26527
|
default: pe(() => [
|
|
26544
26528
|
l.value ? (k(), Y(H1e, {
|
|
@@ -26592,7 +26576,7 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26592
26576
|
onUpdateComment: Et,
|
|
26593
26577
|
onRemoveComment: Oe
|
|
26594
26578
|
}, null, 8, ["comments", "users", "user-id"])
|
|
26595
|
-
])) :
|
|
26579
|
+
])) : F("", !0)
|
|
26596
26580
|
], 512), [
|
|
26597
26581
|
[_a, i.value === "comments"]
|
|
26598
26582
|
])
|
|
@@ -26602,21 +26586,21 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26602
26586
|
x("div", cfe, [
|
|
26603
26587
|
I(Le, {
|
|
26604
26588
|
name: "CloseRounded",
|
|
26605
|
-
onClick:
|
|
26589
|
+
onClick: re[2] || (re[2] = (De) => B.$emit("close"))
|
|
26606
26590
|
})
|
|
26607
26591
|
]),
|
|
26608
26592
|
x("div", ufe, [
|
|
26609
|
-
x("span", dfe,
|
|
26593
|
+
x("span", dfe, ne(B.$t("activity.type.label")), 1),
|
|
26610
26594
|
I(O1e, {
|
|
26611
26595
|
"is-left": w.value,
|
|
26612
|
-
"onUpdate:isLeft":
|
|
26596
|
+
"onUpdate:isLeft": re[3] || (re[3] = (De) => w.value = De),
|
|
26613
26597
|
"left-label": "Standard",
|
|
26614
26598
|
"right-label": "Development"
|
|
26615
26599
|
}, null, 8, ["is-left"])
|
|
26616
26600
|
]),
|
|
26617
26601
|
ce.value ? (k(), $("div", ffe, [
|
|
26618
26602
|
x("label", pfe, [
|
|
26619
|
-
x("span", hfe,
|
|
26603
|
+
x("span", hfe, ne(B.$t("activity.status.label")), 1),
|
|
26620
26604
|
I(Gt, {
|
|
26621
26605
|
class: "ao-activity-details__multiselect",
|
|
26622
26606
|
options: ce.value,
|
|
@@ -26628,10 +26612,10 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26628
26612
|
onChange: xe
|
|
26629
26613
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26630
26614
|
])
|
|
26631
|
-
])) :
|
|
26615
|
+
])) : F("", !0),
|
|
26632
26616
|
t.activity.activityType === "dev" && b.value.length ? (k(), $("div", mfe, [
|
|
26633
26617
|
x("label", gfe, [
|
|
26634
|
-
x("span", vfe,
|
|
26618
|
+
x("span", vfe, ne(B.$t("activity.devStatus.label")), 1),
|
|
26635
26619
|
I(Gt, {
|
|
26636
26620
|
class: "ao-activity-details__multiselect",
|
|
26637
26621
|
options: b.value,
|
|
@@ -26643,13 +26627,13 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26643
26627
|
onChange: Ue
|
|
26644
26628
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26645
26629
|
])
|
|
26646
|
-
])) :
|
|
26630
|
+
])) : F("", !0),
|
|
26647
26631
|
x("div", yfe, [
|
|
26648
26632
|
x("div", _fe, [
|
|
26649
26633
|
x("div", bfe, [
|
|
26650
|
-
x("span", Cfe,
|
|
26634
|
+
x("span", Cfe, ne(B.$t("activity.assignee.label")), 1),
|
|
26651
26635
|
I(Te, {
|
|
26652
|
-
label:
|
|
26636
|
+
label: B.$t("activity.assignee.toMe"),
|
|
26653
26637
|
type: "button",
|
|
26654
26638
|
color: "primary",
|
|
26655
26639
|
variant: "solid",
|
|
@@ -26659,12 +26643,12 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26659
26643
|
]),
|
|
26660
26644
|
I(Gt, {
|
|
26661
26645
|
modelValue: K.value,
|
|
26662
|
-
"onUpdate:modelValue":
|
|
26646
|
+
"onUpdate:modelValue": re[4] || (re[4] = (De) => K.value = De),
|
|
26663
26647
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
26664
26648
|
options: j.value,
|
|
26665
26649
|
"close-on-select": !0,
|
|
26666
26650
|
searchable: !0,
|
|
26667
|
-
placeholder:
|
|
26651
|
+
placeholder: B.$t("activity.filters.assignee.placeholder"),
|
|
26668
26652
|
mode: "tags",
|
|
26669
26653
|
disabled: !a.value,
|
|
26670
26654
|
caret: a.value,
|
|
@@ -26688,9 +26672,9 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26688
26672
|
x("div", wfe, [
|
|
26689
26673
|
t.isTemplate !== !0 && t.userId ? (k(), $("div", kfe, [
|
|
26690
26674
|
x("label", xfe, [
|
|
26691
|
-
x("span", Sfe,
|
|
26675
|
+
x("span", Sfe, ne(B.$t("activity.deadline.label")), 1),
|
|
26692
26676
|
Jt(x("input", {
|
|
26693
|
-
"onUpdate:modelValue":
|
|
26677
|
+
"onUpdate:modelValue": re[5] || (re[5] = (De) => C.value = De),
|
|
26694
26678
|
readonly: !a.value,
|
|
26695
26679
|
class: "ao-field__input",
|
|
26696
26680
|
type: "date"
|
|
@@ -26703,14 +26687,14 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26703
26687
|
]
|
|
26704
26688
|
])
|
|
26705
26689
|
])
|
|
26706
|
-
])) :
|
|
26690
|
+
])) : F("", !0)
|
|
26707
26691
|
]),
|
|
26708
26692
|
x("div", Tfe, [
|
|
26709
26693
|
x("div", Efe, [
|
|
26710
26694
|
x("label", $fe, [
|
|
26711
|
-
x("span", Dfe,
|
|
26695
|
+
x("span", Dfe, ne(B.$t("activity.estimation.label")) + " (" + ne(_.value) + ")", 1),
|
|
26712
26696
|
Jt(x("input", {
|
|
26713
|
-
"onUpdate:modelValue":
|
|
26697
|
+
"onUpdate:modelValue": re[6] || (re[6] = (De) => m.value = De),
|
|
26714
26698
|
readonly: !a.value,
|
|
26715
26699
|
class: "ao-field__input ao-field__input--estim",
|
|
26716
26700
|
type: "number",
|
|
@@ -26730,17 +26714,17 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26730
26714
|
]),
|
|
26731
26715
|
x("div", Ofe, [
|
|
26732
26716
|
x("label", Lfe, [
|
|
26733
|
-
x("span", Nfe,
|
|
26734
|
-
x("span", Ife,
|
|
26717
|
+
x("span", Nfe, ne(B.$t("activity.timeSpent.label")) + " (" + ne(_.value) + ")", 1),
|
|
26718
|
+
x("span", Ife, ne(g.value), 1)
|
|
26735
26719
|
])
|
|
26736
26720
|
])
|
|
26737
26721
|
]),
|
|
26738
26722
|
x("div", Pfe, [
|
|
26739
26723
|
I(hg, {
|
|
26740
26724
|
modelValue: y.value,
|
|
26741
|
-
"onUpdate:modelValue":
|
|
26725
|
+
"onUpdate:modelValue": re[7] || (re[7] = (De) => y.value = De),
|
|
26742
26726
|
modelModifiers: { lazy: !0 },
|
|
26743
|
-
label:
|
|
26727
|
+
label: B.$t("activity.important.label"),
|
|
26744
26728
|
disabled: !a.value,
|
|
26745
26729
|
variant: "ghost",
|
|
26746
26730
|
"icon-name": "FlagRounded",
|
|
@@ -26755,16 +26739,16 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26755
26739
|
I(Le, { name: "FlowsheetOutlineRounded" }),
|
|
26756
26740
|
I(At, {
|
|
26757
26741
|
level: 4,
|
|
26758
|
-
title:
|
|
26742
|
+
title: B.$t("activity.dependencies.title")
|
|
26759
26743
|
}, null, 8, ["title"])
|
|
26760
26744
|
]),
|
|
26761
26745
|
x("div", Bfe, [
|
|
26762
26746
|
x("div", Ufe, [
|
|
26763
26747
|
x("label", qfe, [
|
|
26764
|
-
x("span", Hfe,
|
|
26748
|
+
x("span", Hfe, ne(B.$t("activity.dependingOn.label")), 1),
|
|
26765
26749
|
I(Gt, {
|
|
26766
26750
|
modelValue: T.value,
|
|
26767
|
-
"onUpdate:modelValue":
|
|
26751
|
+
"onUpdate:modelValue": re[8] || (re[8] = (De) => T.value = De),
|
|
26768
26752
|
class: "ao-activity-details__multiselect",
|
|
26769
26753
|
mode: "tags",
|
|
26770
26754
|
"close-on-select": !1,
|
|
@@ -26777,10 +26761,10 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26777
26761
|
]),
|
|
26778
26762
|
x("div", zfe, [
|
|
26779
26763
|
x("label", Vfe, [
|
|
26780
|
-
x("span", jfe,
|
|
26764
|
+
x("span", jfe, ne(B.$t("activity.blocking.label")), 1),
|
|
26781
26765
|
I(Gt, {
|
|
26782
26766
|
modelValue: U.value,
|
|
26783
|
-
"onUpdate:modelValue":
|
|
26767
|
+
"onUpdate:modelValue": re[9] || (re[9] = (De) => U.value = De),
|
|
26784
26768
|
class: "ao-activity-details__multiselect",
|
|
26785
26769
|
mode: "tags",
|
|
26786
26770
|
"close-on-select": !1,
|
|
@@ -26793,7 +26777,7 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26793
26777
|
])
|
|
26794
26778
|
])
|
|
26795
26779
|
]),
|
|
26796
|
-
be(
|
|
26780
|
+
be(B.$slots, "default", { activity: t.activity })
|
|
26797
26781
|
])
|
|
26798
26782
|
])
|
|
26799
26783
|
];
|
|
@@ -26805,9 +26789,9 @@ const z1e = { class: "ao-activity-details" }, V1e = { class: "ao-activity-detail
|
|
|
26805
26789
|
attachments: t.activity.attachments || [],
|
|
26806
26790
|
"current-index": c.value,
|
|
26807
26791
|
"load-preview": n.loadAttachmentPreview,
|
|
26808
|
-
"onUpdate:currentIndex":
|
|
26809
|
-
onClose:
|
|
26810
|
-
}, null, 8, ["attachments", "current-index", "load-preview"])) :
|
|
26792
|
+
"onUpdate:currentIndex": re[11] || (re[11] = (Ee) => c.value = Ee),
|
|
26793
|
+
onClose: re[12] || (re[12] = (Ee) => c.value = null)
|
|
26794
|
+
}, null, 8, ["attachments", "current-index", "load-preview"])) : F("", !0)
|
|
26811
26795
|
], 64));
|
|
26812
26796
|
}
|
|
26813
26797
|
});
|
|
@@ -27309,7 +27293,7 @@ const Yfe = {
|
|
|
27309
27293
|
onUpdateMilestone: C,
|
|
27310
27294
|
onUpdatePhase: _,
|
|
27311
27295
|
onRemoveMilestone: y
|
|
27312
|
-
}, null, 8, ["template-id", "phase", "milestone-id"])) :
|
|
27296
|
+
}, null, 8, ["template-id", "phase", "milestone-id"])) : F("", !0)
|
|
27313
27297
|
]),
|
|
27314
27298
|
x("li", npe, [
|
|
27315
27299
|
a.value && l.value ? (k(), Y(Gb, {
|
|
@@ -27321,7 +27305,7 @@ const Yfe = {
|
|
|
27321
27305
|
onAddActivity: w,
|
|
27322
27306
|
onUpdateActivity: S,
|
|
27323
27307
|
onRemoveActivity: b
|
|
27324
|
-
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) :
|
|
27308
|
+
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : F("", !0)
|
|
27325
27309
|
])
|
|
27326
27310
|
])
|
|
27327
27311
|
]),
|
|
@@ -27352,7 +27336,7 @@ const Yfe = {
|
|
|
27352
27336
|
be(j.$slots, "activityDetailsBody", Ss(As(W)))
|
|
27353
27337
|
]),
|
|
27354
27338
|
_: 3
|
|
27355
|
-
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) :
|
|
27339
|
+
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : F("", !0)
|
|
27356
27340
|
])),
|
|
27357
27341
|
(k(), Y(ur, { to: "body" }, [
|
|
27358
27342
|
E.value ? (k(), Y(Gfe, {
|
|
@@ -27365,9 +27349,9 @@ const Yfe = {
|
|
|
27365
27349
|
onClose: T,
|
|
27366
27350
|
onAddRule: M,
|
|
27367
27351
|
onRemoveRule: U
|
|
27368
|
-
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) :
|
|
27352
|
+
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : F("", !0)
|
|
27369
27353
|
]))
|
|
27370
|
-
])) :
|
|
27354
|
+
])) : F("", !0);
|
|
27371
27355
|
};
|
|
27372
27356
|
}
|
|
27373
27357
|
});
|
|
@@ -27401,17 +27385,17 @@ const ope = { class: "ao-card__content" }, ipe = {
|
|
|
27401
27385
|
key: 0,
|
|
27402
27386
|
class: "ao-card__left-border",
|
|
27403
27387
|
style: zn({ backgroundColor: t.color })
|
|
27404
|
-
}, null, 4)) :
|
|
27388
|
+
}, null, 4)) : F("", !0),
|
|
27405
27389
|
x("div", ope, [
|
|
27406
27390
|
e.$slots.header ? (k(), $("header", ipe, [
|
|
27407
27391
|
be(e.$slots, "header")
|
|
27408
|
-
])) :
|
|
27392
|
+
])) : F("", !0),
|
|
27409
27393
|
x("div", spe, [
|
|
27410
27394
|
be(e.$slots, "default")
|
|
27411
27395
|
]),
|
|
27412
27396
|
e.$slots.footer ? (k(), $("footer", ape, [
|
|
27413
27397
|
be(e.$slots, "footer")
|
|
27414
|
-
])) :
|
|
27398
|
+
])) : F("", !0)
|
|
27415
27399
|
])
|
|
27416
27400
|
]),
|
|
27417
27401
|
_: 3
|
|
@@ -27910,7 +27894,7 @@ const ype = /* @__PURE__ */ I(
|
|
|
27910
27894
|
);
|
|
27911
27895
|
function Cpe(t, e, n, r, o, i) {
|
|
27912
27896
|
return k(), Y("div", null, [
|
|
27913
|
-
t.isSucking ?
|
|
27897
|
+
t.isSucking ? F("v-if", !0) : (k(), Y(
|
|
27914
27898
|
"svg",
|
|
27915
27899
|
{
|
|
27916
27900
|
key: 0,
|
|
@@ -27927,7 +27911,7 @@ function Cpe(t, e, n, r, o, i) {
|
|
|
27927
27911
|
)),
|
|
27928
27912
|
t.isSucking ? (k(), Y("svg", _pe, [
|
|
27929
27913
|
bpe
|
|
27930
|
-
])) :
|
|
27914
|
+
])) : F("v-if", !0)
|
|
27931
27915
|
]);
|
|
27932
27916
|
}
|
|
27933
27917
|
Hd.render = Cpe;
|
|
@@ -27969,7 +27953,7 @@ function xpe(t, e, n, r, o, i) {
|
|
|
27969
27953
|
I(
|
|
27970
27954
|
"span",
|
|
27971
27955
|
kpe,
|
|
27972
|
-
|
|
27956
|
+
ne(t.name),
|
|
27973
27957
|
1
|
|
27974
27958
|
/* TEXT */
|
|
27975
27959
|
),
|
|
@@ -28104,7 +28088,7 @@ function Tpe(t, e, n, r, o, i) {
|
|
|
28104
28088
|
128
|
|
28105
28089
|
/* KEYED_FRAGMENT */
|
|
28106
28090
|
))
|
|
28107
|
-
])) :
|
|
28091
|
+
])) : F("v-if", !0)
|
|
28108
28092
|
]);
|
|
28109
28093
|
}
|
|
28110
28094
|
Vd.render = Tpe;
|
|
@@ -28328,7 +28312,7 @@ function $pe(t, e, n, r, o, i) {
|
|
|
28328
28312
|
width: t.previewWidth,
|
|
28329
28313
|
height: t.previewHeight
|
|
28330
28314
|
}, null, 8, ["color", "width", "height"]),
|
|
28331
|
-
t.suckerHide ?
|
|
28315
|
+
t.suckerHide ? F("v-if", !0) : (k(), Y(u, {
|
|
28332
28316
|
key: 0,
|
|
28333
28317
|
"sucker-canvas": t.suckerCanvas,
|
|
28334
28318
|
"sucker-area": t.suckerArea,
|
|
@@ -28359,7 +28343,7 @@ function $pe(t, e, n, r, o, i) {
|
|
|
28359
28343
|
"colors-history-key": t.colorsHistoryKey,
|
|
28360
28344
|
onSelectColor: t.selectColor
|
|
28361
28345
|
}, null, 8, ["color", "colors-default", "colors-history-key", "onSelectColor"]),
|
|
28362
|
-
|
|
28346
|
+
F(" custom options "),
|
|
28363
28347
|
be(t.$slots, "default")
|
|
28364
28348
|
],
|
|
28365
28349
|
6
|
|
@@ -28420,7 +28404,7 @@ const Dpe = { class: "color-picker-wrapper" }, jd = /* @__PURE__ */ de({
|
|
|
28420
28404
|
color: t.color,
|
|
28421
28405
|
onChangeColor: p
|
|
28422
28406
|
}, null, 8, ["color"])
|
|
28423
|
-
], 4)) :
|
|
28407
|
+
], 4)) : F("", !0)
|
|
28424
28408
|
]));
|
|
28425
28409
|
}
|
|
28426
28410
|
});
|
|
@@ -28510,7 +28494,7 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28510
28494
|
"is-editable": t.isEditable,
|
|
28511
28495
|
"onUpdate:title": o
|
|
28512
28496
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
28513
|
-
i.value || s.value ? (k(), $("span", Lpe, " (" +
|
|
28497
|
+
i.value || s.value ? (k(), $("span", Lpe, " (" + ne(l.value) + "/" + ne(i.value) + ne(a.value) + ")", 1)) : F("", !0)
|
|
28514
28498
|
])
|
|
28515
28499
|
]),
|
|
28516
28500
|
footer: pe(() => [
|
|
@@ -28521,7 +28505,7 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28521
28505
|
name: "MountainFlagOutlineRounded",
|
|
28522
28506
|
size: "sm"
|
|
28523
28507
|
}),
|
|
28524
|
-
x("span", Fpe,
|
|
28508
|
+
x("span", Fpe, ne(u.value) + " / " + ne(c.value), 1)
|
|
28525
28509
|
]),
|
|
28526
28510
|
I(Wl, {
|
|
28527
28511
|
percentages: d.value,
|
|
@@ -28530,8 +28514,8 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28530
28514
|
}, null, 8, ["percentages", "color"]),
|
|
28531
28515
|
m.$slots.secondary ? (k(), $("div", Rpe, [
|
|
28532
28516
|
be(m.$slots, "secondary")
|
|
28533
|
-
])) :
|
|
28534
|
-
])) :
|
|
28517
|
+
])) : F("", !0)
|
|
28518
|
+
])) : F("", !0),
|
|
28535
28519
|
x("div", {
|
|
28536
28520
|
class: ye(["ao-card-project-phase__footer-row", f.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
28537
28521
|
}, [
|
|
@@ -28547,8 +28531,8 @@ const Mpe = { class: "ao-card-project-phase__header" }, Ope = { class: "ao-card-
|
|
|
28547
28531
|
void 0,
|
|
28548
28532
|
{ lazy: !0 }
|
|
28549
28533
|
]
|
|
28550
|
-
]) :
|
|
28551
|
-
x("span", Bpe,
|
|
28534
|
+
]) : F("", !0),
|
|
28535
|
+
x("span", Bpe, ne(ve(ul)(t.deadline)), 1)
|
|
28552
28536
|
], 2)
|
|
28553
28537
|
])
|
|
28554
28538
|
]),
|
|
@@ -28677,7 +28661,7 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28677
28661
|
class: "ao-card-project-milestone__title",
|
|
28678
28662
|
"onUpdate:title": d
|
|
28679
28663
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
28680
|
-
o.value || i.value ? (k(), $("span", jpe, " (" +
|
|
28664
|
+
o.value || i.value ? (k(), $("span", jpe, " (" + ne(a.value) + "/" + ne(o.value) + ne(s.value) + ")", 1)) : F("", !0)
|
|
28681
28665
|
])
|
|
28682
28666
|
]),
|
|
28683
28667
|
!t.readonly && t.isEditable ? (k(), $("div", Wpe, [
|
|
@@ -28694,7 +28678,7 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28694
28678
|
["stop"]
|
|
28695
28679
|
))
|
|
28696
28680
|
}, null, 8, ["label"])
|
|
28697
|
-
])) :
|
|
28681
|
+
])) : F("", !0)
|
|
28698
28682
|
]),
|
|
28699
28683
|
x("div", Zpe, [
|
|
28700
28684
|
x("div", Kpe, [
|
|
@@ -28704,17 +28688,17 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28704
28688
|
name: "SelectCheckBox",
|
|
28705
28689
|
size: "sm"
|
|
28706
28690
|
}),
|
|
28707
|
-
x("span", Ype,
|
|
28691
|
+
x("span", Ype, ne(c.value) + " / " + ne(l.value), 1)
|
|
28708
28692
|
]),
|
|
28709
28693
|
I(Wl, {
|
|
28710
28694
|
percentages: u.value,
|
|
28711
28695
|
color: t.phaseColor,
|
|
28712
28696
|
class: "ao-card-project-milestone__progress"
|
|
28713
28697
|
}, null, 8, ["percentages", "color"])
|
|
28714
|
-
], 64)) :
|
|
28698
|
+
], 64)) : F("", !0),
|
|
28715
28699
|
f.$slots.secondary ? (k(), $("div", Jpe, [
|
|
28716
28700
|
be(f.$slots, "secondary")
|
|
28717
|
-
])) :
|
|
28701
|
+
])) : F("", !0)
|
|
28718
28702
|
])
|
|
28719
28703
|
])
|
|
28720
28704
|
]),
|
|
@@ -28727,10 +28711,10 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28727
28711
|
t.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
28728
28712
|
),
|
|
28729
28713
|
size: "sm"
|
|
28730
|
-
}, null, 8, ["class"])) :
|
|
28714
|
+
}, null, 8, ["class"])) : F("", !0),
|
|
28731
28715
|
t.deadline ? (k(), $("label", Qpe, [
|
|
28732
|
-
x("span", ehe,
|
|
28733
|
-
])) :
|
|
28716
|
+
x("span", ehe, ne(ve(ul)(t.deadline)), 1)
|
|
28717
|
+
])) : F("", !0),
|
|
28734
28718
|
t.assignee ? (k(), $("div", the, [
|
|
28735
28719
|
I(Hr, {
|
|
28736
28720
|
"user-name": ve(dh)(t.assignee),
|
|
@@ -28738,7 +28722,7 @@ const Hpe = { class: "ao-card-project-milestone__default" }, zpe = { class: "ao-
|
|
|
28738
28722
|
color: t.isSelected ? "black" : "primary",
|
|
28739
28723
|
size: "sm"
|
|
28740
28724
|
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
28741
|
-
])) :
|
|
28725
|
+
])) : F("", !0)
|
|
28742
28726
|
])
|
|
28743
28727
|
]),
|
|
28744
28728
|
_: 3
|
|
@@ -28831,7 +28815,7 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28831
28815
|
"is-editable": t.isEditable,
|
|
28832
28816
|
"onUpdate:title": o
|
|
28833
28817
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
28834
|
-
i.value || s.value ? (k(), $("span", ihe, " (" +
|
|
28818
|
+
i.value || s.value ? (k(), $("span", ihe, " (" + ne(l.value) + "/" + ne(i.value) + ne(a.value) + ")", 1)) : F("", !0)
|
|
28835
28819
|
])
|
|
28836
28820
|
]),
|
|
28837
28821
|
footer: pe(() => [
|
|
@@ -28842,7 +28826,7 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28842
28826
|
name: "MountainFlagOutlineRounded",
|
|
28843
28827
|
size: "sm"
|
|
28844
28828
|
}),
|
|
28845
|
-
x("span", che,
|
|
28829
|
+
x("span", che, ne(u.value) + " / " + ne(c.value), 1)
|
|
28846
28830
|
]),
|
|
28847
28831
|
I(Wl, {
|
|
28848
28832
|
percentages: d.value,
|
|
@@ -28851,8 +28835,8 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28851
28835
|
}, null, 8, ["percentages", "color"]),
|
|
28852
28836
|
m.$slots.secondary ? (k(), $("div", uhe, [
|
|
28853
28837
|
be(m.$slots, "secondary")
|
|
28854
|
-
])) :
|
|
28855
|
-
])) :
|
|
28838
|
+
])) : F("", !0)
|
|
28839
|
+
])) : F("", !0),
|
|
28856
28840
|
x("div", {
|
|
28857
28841
|
class: ye(["ao-mapping-card-project-phase__footer-row", f.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
|
|
28858
28842
|
}, [
|
|
@@ -28868,8 +28852,8 @@ const rhe = { class: "ao-mapping-card-project-phase__header" }, ohe = { class: "
|
|
|
28868
28852
|
void 0,
|
|
28869
28853
|
{ lazy: !0 }
|
|
28870
28854
|
]
|
|
28871
|
-
]) :
|
|
28872
|
-
x("span", dhe,
|
|
28855
|
+
]) : F("", !0),
|
|
28856
|
+
x("span", dhe, ne(ve(ul)(t.deadline)), 1)
|
|
28873
28857
|
], 2)
|
|
28874
28858
|
])
|
|
28875
28859
|
]),
|
|
@@ -28993,7 +28977,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
28993
28977
|
name: "DragIndicator",
|
|
28994
28978
|
class: "ao-project-phase__drag-handle"
|
|
28995
28979
|
})
|
|
28996
|
-
])) :
|
|
28980
|
+
])) : F("", !0),
|
|
28997
28981
|
g.value ? (k(), $("div", ghe, [
|
|
28998
28982
|
I(fhe, {
|
|
28999
28983
|
id: t.phase.id,
|
|
@@ -29029,7 +29013,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
29029
29013
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color", "time-tracking-data", "estimation-unit"])
|
|
29030
29014
|
]))
|
|
29031
29015
|
], 4),
|
|
29032
|
-
g.value ?
|
|
29016
|
+
g.value ? F("", !0) : (k(), $("div", vhe, [
|
|
29033
29017
|
x("div", {
|
|
29034
29018
|
class: "ao-project-phase__milestones ao-project-phase__milestones--hoverable",
|
|
29035
29019
|
style: zn(C.value)
|
|
@@ -29044,7 +29028,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
29044
29028
|
name: "Add",
|
|
29045
29029
|
class: "ao-project-phase__milestone-quick-add-icon"
|
|
29046
29030
|
})
|
|
29047
|
-
], 10, yhe)) :
|
|
29031
|
+
], 10, yhe)) : F("", !0),
|
|
29048
29032
|
I(ve(qr), Ot({
|
|
29049
29033
|
class: "ao-project-phase__milestones-list",
|
|
29050
29034
|
list: l.value,
|
|
@@ -29092,7 +29076,7 @@ const phe = { class: "ao-project-phase" }, hhe = {
|
|
|
29092
29076
|
class: "ao-project-phase__milestone-add",
|
|
29093
29077
|
"icon-name": "Add",
|
|
29094
29078
|
onClick: b[1] || (b[1] = () => c(t.phase.id))
|
|
29095
|
-
}, null, 8, ["label"])) :
|
|
29079
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
29096
29080
|
])
|
|
29097
29081
|
], 4)
|
|
29098
29082
|
]))
|
|
@@ -29183,7 +29167,7 @@ const Che = { class: "ao-project__phases" }, whe = {
|
|
|
29183
29167
|
}, null, 8, ["label"])
|
|
29184
29168
|
]),
|
|
29185
29169
|
h[1] || (h[1] = x("div", { class: "ao-project-phase__col-milestones" }, null, -1))
|
|
29186
|
-
])) :
|
|
29170
|
+
])) : F("", !0)
|
|
29187
29171
|
]));
|
|
29188
29172
|
}
|
|
29189
29173
|
});
|
|
@@ -29215,7 +29199,7 @@ const xhe = { class: "ao-add-template-modal__form-body" }, She = { class: "field
|
|
|
29215
29199
|
class: "ao-add-template-modal__form",
|
|
29216
29200
|
onSubmit: ke(a, ["prevent"])
|
|
29217
29201
|
}, [
|
|
29218
|
-
x("p", null,
|
|
29202
|
+
x("p", null, ne(l.$t("project.template.apply.notice")), 1),
|
|
29219
29203
|
x("div", xhe, [
|
|
29220
29204
|
x("div", She, [
|
|
29221
29205
|
I(Gt, {
|
|
@@ -29270,7 +29254,7 @@ const The = { class: "ao-save-template-modal__form-body" }, Ehe = { class: "fiel
|
|
|
29270
29254
|
x("div", The, [
|
|
29271
29255
|
x("div", Ehe, [
|
|
29272
29256
|
x("label", $he, [
|
|
29273
|
-
x("span", Dhe,
|
|
29257
|
+
x("span", Dhe, ne(a.$t("project.template.name.label")) + ": ", 1),
|
|
29274
29258
|
Jt(x("input", {
|
|
29275
29259
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => o.value = c),
|
|
29276
29260
|
type: "text"
|
|
@@ -29280,7 +29264,7 @@ const The = { class: "ao-save-template-modal__form-body" }, Ehe = { class: "fiel
|
|
|
29280
29264
|
])
|
|
29281
29265
|
]),
|
|
29282
29266
|
x("div", Mhe, [
|
|
29283
|
-
x("div", Ohe,
|
|
29267
|
+
x("div", Ohe, ne(a.$t("project.template.phases.label")), 1),
|
|
29284
29268
|
x("div", Lhe, [
|
|
29285
29269
|
(k(!0), $(He, null, ot(n.phases, (c) => (k(), $("label", {
|
|
29286
29270
|
key: c.id,
|
|
@@ -29293,7 +29277,7 @@ const The = { class: "ao-save-template-modal__form-body" }, Ehe = { class: "fiel
|
|
|
29293
29277
|
}, null, 8, Nhe), [
|
|
29294
29278
|
[Ng, i.value]
|
|
29295
29279
|
]),
|
|
29296
|
-
x("span", null,
|
|
29280
|
+
x("span", null, ne(c.name), 1)
|
|
29297
29281
|
]))), 128))
|
|
29298
29282
|
])
|
|
29299
29283
|
])
|
|
@@ -29433,21 +29417,21 @@ const Phe = { class: "ao-project" }, Fhe = { class: "ao-project__body" }, Rhe =
|
|
|
29433
29417
|
variant: "ghost",
|
|
29434
29418
|
label: V.$t("project.phase.add"),
|
|
29435
29419
|
onClick: a
|
|
29436
|
-
}, null, 8, ["label"])) :
|
|
29420
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
29437
29421
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
29438
29422
|
key: 1,
|
|
29439
29423
|
class: "ao-project-overview__save-as-template",
|
|
29440
29424
|
color: "primary",
|
|
29441
29425
|
label: V.$t("project.template.save.label"),
|
|
29442
29426
|
onClick: le[2] || (le[2] = (fe) => N.value = !0)
|
|
29443
|
-
}, null, 8, ["label"])) :
|
|
29427
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
29444
29428
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
29445
29429
|
key: 2,
|
|
29446
29430
|
class: "ao-project-overview__add-template",
|
|
29447
29431
|
color: "primary",
|
|
29448
29432
|
label: V.$t("project.template.apply.label"),
|
|
29449
29433
|
onClick: le[3] || (le[3] = (fe) => L.value = !0)
|
|
29450
|
-
}, null, 8, ["label"])) :
|
|
29434
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
29451
29435
|
]),
|
|
29452
29436
|
_: 1
|
|
29453
29437
|
}),
|
|
@@ -29530,14 +29514,14 @@ const Phe = { class: "ao-project" }, Fhe = { class: "ao-project__body" }, Rhe =
|
|
|
29530
29514
|
phases: t.phases,
|
|
29531
29515
|
onClose: le[5] || (le[5] = (fe) => N.value = !1),
|
|
29532
29516
|
onSave: z
|
|
29533
|
-
}, null, 8, ["phases"])) :
|
|
29517
|
+
}, null, 8, ["phases"])) : F("", !0),
|
|
29534
29518
|
L.value ? (k(), Y(gg, {
|
|
29535
29519
|
key: 1,
|
|
29536
29520
|
"project-id": t.project.id,
|
|
29537
29521
|
templates: t.templates,
|
|
29538
29522
|
onClose: le[6] || (le[6] = (fe) => L.value = !1),
|
|
29539
29523
|
onApply: q
|
|
29540
|
-
}, null, 8, ["project-id", "templates"])) :
|
|
29524
|
+
}, null, 8, ["project-id", "templates"])) : F("", !0)
|
|
29541
29525
|
]))
|
|
29542
29526
|
], 64);
|
|
29543
29527
|
};
|
|
@@ -29635,37 +29619,37 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29635
29619
|
variant: "solid",
|
|
29636
29620
|
color: t.projectColor ? void 0 : "primary",
|
|
29637
29621
|
"raw-color": i.value
|
|
29638
|
-
}, null, 8, ["label", "color", "raw-color"])) :
|
|
29622
|
+
}, null, 8, ["label", "color", "raw-color"])) : F("", !0),
|
|
29639
29623
|
t.isPrivate || t.important || t.isClosed ? (k(), $("div", Uhe, [
|
|
29640
29624
|
t.isPrivate ? (k(), Y(Le, {
|
|
29641
29625
|
key: 0,
|
|
29642
29626
|
name: "Lock",
|
|
29643
29627
|
class: "ao-card-feed__warning",
|
|
29644
29628
|
size: "sm"
|
|
29645
|
-
})) :
|
|
29629
|
+
})) : F("", !0),
|
|
29646
29630
|
t.important ? (k(), Y(Le, {
|
|
29647
29631
|
key: 1,
|
|
29648
29632
|
name: "FlagRounded",
|
|
29649
29633
|
class: "ao-card-feed__important",
|
|
29650
29634
|
size: "sm"
|
|
29651
|
-
})) :
|
|
29635
|
+
})) : F("", !0),
|
|
29652
29636
|
t.isClosed ? (k(), Y(Le, {
|
|
29653
29637
|
key: 2,
|
|
29654
29638
|
name: "CheckSmallRounded",
|
|
29655
29639
|
class: "ao-card-feed__closed"
|
|
29656
|
-
})) :
|
|
29657
|
-
])) :
|
|
29640
|
+
})) : F("", !0)
|
|
29641
|
+
])) : F("", !0),
|
|
29658
29642
|
m.$slots.secondary ? (k(), $("div", qhe, [
|
|
29659
29643
|
be(m.$slots, "secondary")
|
|
29660
|
-
])) :
|
|
29644
|
+
])) : F("", !0)
|
|
29661
29645
|
])
|
|
29662
29646
|
]),
|
|
29663
29647
|
default: pe(() => [
|
|
29664
29648
|
x("div", Hhe, [
|
|
29665
|
-
a.value ? (k(), $("span", zhe,
|
|
29649
|
+
a.value ? (k(), $("span", zhe, ne(a.value), 1)) : F("", !0),
|
|
29666
29650
|
x("div", Vhe, [
|
|
29667
29651
|
x("div", jhe, [
|
|
29668
|
-
t.slug ? (k(), $("span", Whe,
|
|
29652
|
+
t.slug ? (k(), $("span", Whe, ne(t.slug) + ": ", 1)) : F("", !0),
|
|
29669
29653
|
I(At, {
|
|
29670
29654
|
id: t.id,
|
|
29671
29655
|
title: t.name,
|
|
@@ -29676,7 +29660,7 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29676
29660
|
}, null, 8, ["id", "title", "is-editable"])
|
|
29677
29661
|
])
|
|
29678
29662
|
]),
|
|
29679
|
-
t.deadline ? (k(), $("span", Zhe,
|
|
29663
|
+
t.deadline ? (k(), $("span", Zhe, ne(c.value), 1)) : F("", !0)
|
|
29680
29664
|
])
|
|
29681
29665
|
]),
|
|
29682
29666
|
footer: pe(() => [
|
|
@@ -29693,7 +29677,7 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29693
29677
|
"is-closable": !0,
|
|
29694
29678
|
onClose: () => u(_.id)
|
|
29695
29679
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
29696
|
-
])) :
|
|
29680
|
+
])) : F("", !0)
|
|
29697
29681
|
], 64))), 128))
|
|
29698
29682
|
]),
|
|
29699
29683
|
t.comments || t.attachments ? (k(), $("ul", Xhe, [
|
|
@@ -29702,16 +29686,16 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29702
29686
|
name: "ChatOutline",
|
|
29703
29687
|
size: "sm"
|
|
29704
29688
|
}),
|
|
29705
|
-
x("span", eme,
|
|
29706
|
-
])) :
|
|
29689
|
+
x("span", eme, ne(t.comments), 1)
|
|
29690
|
+
])) : F("", !0),
|
|
29707
29691
|
t.attachments ? (k(), $("li", tme, [
|
|
29708
29692
|
I(Le, {
|
|
29709
29693
|
name: "AttachFileRounded",
|
|
29710
29694
|
size: "sm"
|
|
29711
29695
|
}),
|
|
29712
|
-
x("span", nme,
|
|
29713
|
-
])) :
|
|
29714
|
-
])) :
|
|
29696
|
+
x("span", nme, ne(t.attachments), 1)
|
|
29697
|
+
])) : F("", !0)
|
|
29698
|
+
])) : F("", !0),
|
|
29715
29699
|
x("div", rme, [
|
|
29716
29700
|
I(Le, {
|
|
29717
29701
|
name: "TimerOutline",
|
|
@@ -29728,13 +29712,13 @@ const Bhe = { class: "ao-card-feed__header" }, Uhe = {
|
|
|
29728
29712
|
name: "SelectCheckBox",
|
|
29729
29713
|
size: "sm"
|
|
29730
29714
|
}),
|
|
29731
|
-
x("span", ame,
|
|
29715
|
+
x("span", ame, ne(p.value) + " / " + ne(f.value), 1)
|
|
29732
29716
|
]),
|
|
29733
29717
|
I(Wl, {
|
|
29734
29718
|
percentages: h.value,
|
|
29735
29719
|
class: "ao-card-feed__progress"
|
|
29736
29720
|
}, null, 8, ["percentages"])
|
|
29737
|
-
])) :
|
|
29721
|
+
])) : F("", !0)
|
|
29738
29722
|
])
|
|
29739
29723
|
])
|
|
29740
29724
|
]),
|
|
@@ -29976,9 +29960,9 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
29976
29960
|
name: "Add",
|
|
29977
29961
|
class: "ao-project-milestone__quick-add-icon"
|
|
29978
29962
|
})
|
|
29979
|
-
], 8, bme)) :
|
|
29963
|
+
], 8, bme)) : F("", !0)
|
|
29980
29964
|
])
|
|
29981
|
-
])) :
|
|
29965
|
+
])) : F("", !0)
|
|
29982
29966
|
]),
|
|
29983
29967
|
x("div", Cme, [
|
|
29984
29968
|
I(ve(qr), Ot({
|
|
@@ -30030,7 +30014,7 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
30030
30014
|
corners: "round",
|
|
30031
30015
|
label: b.$t("archive"),
|
|
30032
30016
|
onClick: ke(() => b.$emit("archiveActivity", { id: T.id }), ["stop"])
|
|
30033
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30017
|
+
}, null, 8, ["label", "onClick"])) : F("", !0),
|
|
30034
30018
|
t.isEditable && !T.active ? (k(), Y(Te, {
|
|
30035
30019
|
key: 1,
|
|
30036
30020
|
color: "primary",
|
|
@@ -30044,7 +30028,7 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
30044
30028
|
() => b.$emit("unarchiveActivity", { id: T.id }),
|
|
30045
30029
|
["stop"]
|
|
30046
30030
|
)
|
|
30047
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30031
|
+
}, null, 8, ["label", "onClick"])) : F("", !0)
|
|
30048
30032
|
]),
|
|
30049
30033
|
key: "0"
|
|
30050
30034
|
} : void 0
|
|
@@ -30059,7 +30043,7 @@ const lme = { class: "ao-project-milestone" }, cme = { class: "ao-project-milest
|
|
|
30059
30043
|
label: b.$t("project.activity.add"),
|
|
30060
30044
|
onClick: d
|
|
30061
30045
|
}, null, 8, ["label"])
|
|
30062
|
-
])) :
|
|
30046
|
+
])) : F("", !0)
|
|
30063
30047
|
])
|
|
30064
30048
|
]);
|
|
30065
30049
|
};
|
|
@@ -30155,7 +30139,7 @@ const kme = /* @__PURE__ */ de({
|
|
|
30155
30139
|
be(_.$slots, "default", Ss(As(w)))
|
|
30156
30140
|
]),
|
|
30157
30141
|
_: 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"])) :
|
|
30142
|
+
}, 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
30143
|
};
|
|
30160
30144
|
}
|
|
30161
30145
|
}), xme = { class: "ao-col-header" }, Sme = /* @__PURE__ */ de({
|
|
@@ -30177,7 +30161,7 @@ const kme = /* @__PURE__ */ de({
|
|
|
30177
30161
|
class: "ao-col-header__items",
|
|
30178
30162
|
variant: "solid",
|
|
30179
30163
|
color: "primary"
|
|
30180
|
-
}, null, 8, ["label"])) :
|
|
30164
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
30181
30165
|
]));
|
|
30182
30166
|
}
|
|
30183
30167
|
});
|
|
@@ -30354,7 +30338,7 @@ const Pme = {
|
|
|
30354
30338
|
title: t.title,
|
|
30355
30339
|
level: 3,
|
|
30356
30340
|
items: (p = t.list) == null ? void 0 : p.length
|
|
30357
|
-
}, null, 8, ["title", "items"])) :
|
|
30341
|
+
}, null, 8, ["title", "items"])) : F("", !0),
|
|
30358
30342
|
t.showHeaderAdd ? (k(), $("button", {
|
|
30359
30343
|
key: 1,
|
|
30360
30344
|
class: "ao-list-kanban__header-add",
|
|
@@ -30362,10 +30346,10 @@ const Pme = {
|
|
|
30362
30346
|
onClick: f[0] || (f[0] = (h) => d.$emit("addAtBeginning"))
|
|
30363
30347
|
}, [
|
|
30364
30348
|
I(Le, { name: "Add" })
|
|
30365
|
-
], 8, Rme)) :
|
|
30349
|
+
], 8, Rme)) : F("", !0)
|
|
30366
30350
|
])
|
|
30367
30351
|
];
|
|
30368
|
-
}, void 0, 0) :
|
|
30352
|
+
}, void 0, 0) : F("", !0),
|
|
30369
30353
|
I(ve(qr), Ot({
|
|
30370
30354
|
class: ["ao-list-kanban__list", u.value ? "ao-list-kanban__transition" : void 0],
|
|
30371
30355
|
list: t.list,
|
|
@@ -30427,7 +30411,7 @@ const Pme = {
|
|
|
30427
30411
|
corners: "round",
|
|
30428
30412
|
label: d.$t("feed.activity.archive"),
|
|
30429
30413
|
onClick: ke(() => d.$emit("archiveActivity", { id: p.id }), ["stop"])
|
|
30430
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30414
|
+
}, null, 8, ["label", "onClick"])) : F("", !0),
|
|
30431
30415
|
s(p) && !p.active ? (k(), Y(Te, {
|
|
30432
30416
|
key: 1,
|
|
30433
30417
|
color: "primary",
|
|
@@ -30438,7 +30422,7 @@ const Pme = {
|
|
|
30438
30422
|
corners: "round",
|
|
30439
30423
|
label: d.$t("feed.activity.unarchive"),
|
|
30440
30424
|
onClick: ke(() => d.$emit("unarchiveActivity", { id: p.id }), ["stop"])
|
|
30441
|
-
}, null, 8, ["label", "onClick"])) :
|
|
30425
|
+
}, null, 8, ["label", "onClick"])) : F("", !0)
|
|
30442
30426
|
]),
|
|
30443
30427
|
_: 2
|
|
30444
30428
|
}, 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 +30437,7 @@ const Pme = {
|
|
|
30453
30437
|
ref: i,
|
|
30454
30438
|
class: "ao-list-kanban__end"
|
|
30455
30439
|
}, null, 512)) : (k(), $("div", Ume, [
|
|
30456
|
-
t.noMoreLabel ? (k(), $("span", qme,
|
|
30440
|
+
t.noMoreLabel ? (k(), $("span", qme, ne(t.noMoreLabel), 1)) : t.isEditable ? (k(), $("span", Hme)) : F("", !0)
|
|
30457
30441
|
]))
|
|
30458
30442
|
]),
|
|
30459
30443
|
_: 1
|
|
@@ -30465,9 +30449,9 @@ const Pme = {
|
|
|
30465
30449
|
"icon-name": "AddBoxOutlineRounded",
|
|
30466
30450
|
label: t.footerLabel,
|
|
30467
30451
|
onClick: f[4] || (f[4] = (p) => d.$emit("add"))
|
|
30468
|
-
}, null, 8, ["label"])) :
|
|
30452
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
30469
30453
|
])
|
|
30470
|
-
])) :
|
|
30454
|
+
])) : F("", !0)
|
|
30471
30455
|
]));
|
|
30472
30456
|
}
|
|
30473
30457
|
});
|
|
@@ -30516,25 +30500,25 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30516
30500
|
props: {
|
|
30517
30501
|
activities: {},
|
|
30518
30502
|
statuses: {},
|
|
30519
|
-
devStatuses: {},
|
|
30520
|
-
project: {},
|
|
30521
|
-
projects: {},
|
|
30503
|
+
devStatuses: { default: () => [] },
|
|
30504
|
+
project: { default: void 0 },
|
|
30505
|
+
projects: { default: () => [] },
|
|
30522
30506
|
filters: {},
|
|
30523
|
-
activityTypes: {},
|
|
30507
|
+
activityTypes: { default: () => [] },
|
|
30524
30508
|
users: {},
|
|
30525
30509
|
userId: {},
|
|
30526
|
-
initialActivityId: {},
|
|
30527
|
-
initialActivitySlug: {},
|
|
30510
|
+
initialActivityId: { default: void 0 },
|
|
30511
|
+
initialActivitySlug: { default: void 0 },
|
|
30528
30512
|
searchText: { default: "" },
|
|
30529
30513
|
showsArchivedActivities: { type: Boolean },
|
|
30530
30514
|
showsOnlyImportant: { type: Boolean },
|
|
30531
30515
|
showsOnlyNonAssigned: { type: Boolean },
|
|
30532
|
-
selectedActivity: {},
|
|
30516
|
+
selectedActivity: { default: void 0 },
|
|
30533
30517
|
isTaskCheckable: { type: Function, default: void 0 },
|
|
30534
30518
|
isEditable: { type: [Boolean, String] },
|
|
30535
30519
|
attachmentEnabled: { type: Boolean, default: !0 },
|
|
30536
|
-
timeTrackingData: {},
|
|
30537
|
-
loadAttachmentPreview: {}
|
|
30520
|
+
timeTrackingData: { default: () => ({}) },
|
|
30521
|
+
loadAttachmentPreview: { type: Function, default: void 0 }
|
|
30538
30522
|
},
|
|
30539
30523
|
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
30524
|
setup(t, { emit: e }) {
|
|
@@ -30664,7 +30648,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30664
30648
|
"onUpdate:modelValue": T,
|
|
30665
30649
|
onClear: M
|
|
30666
30650
|
}, null, 8, ["model-value", "placeholder"]),
|
|
30667
|
-
r.project ?
|
|
30651
|
+
r.project ? F("", !0) : (k(), Y(Gt, {
|
|
30668
30652
|
key: 0,
|
|
30669
30653
|
"model-value": t.filters[ve(Ro).project],
|
|
30670
30654
|
mode: "tags",
|
|
@@ -30685,7 +30669,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30685
30669
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
30686
30670
|
placeholder: H.$t("feed.filters.activityType.placeholder"),
|
|
30687
30671
|
"onUpdate:modelValue": he[2] || (he[2] = (te) => m(ve(Ro).type, te))
|
|
30688
|
-
}, null, 8, ["model-value", "options", "placeholder"])) :
|
|
30672
|
+
}, null, 8, ["model-value", "options", "placeholder"])) : F("", !0),
|
|
30689
30673
|
y.value.length ? (k(), Y(Gt, {
|
|
30690
30674
|
key: 2,
|
|
30691
30675
|
"model-value": t.filters[ve(Ro).assignee],
|
|
@@ -30709,7 +30693,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30709
30693
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
30710
30694
|
]),
|
|
30711
30695
|
_: 1
|
|
30712
|
-
}, 8, ["model-value", "options", "placeholder"])) :
|
|
30696
|
+
}, 8, ["model-value", "options", "placeholder"])) : F("", !0)
|
|
30713
30697
|
]),
|
|
30714
30698
|
I(Te, {
|
|
30715
30699
|
class: "ao-feed__only-non-assigned",
|
|
@@ -30805,7 +30789,7 @@ const Kme = { class: "ao-feed" }, Gme = { class: "ao-feed__filters" }, Yme = { c
|
|
|
30805
30789
|
be(H.$slots, "activityDetailsBody", Ss(As(te)))
|
|
30806
30790
|
]),
|
|
30807
30791
|
_: 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"])) :
|
|
30792
|
+
}, 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
30793
|
]))
|
|
30810
30794
|
]);
|
|
30811
30795
|
};
|
|
@@ -30895,21 +30879,21 @@ const Xme = { class: "ao-project-mapping" }, Qme = { class: "ao-project-mapping-
|
|
|
30895
30879
|
variant: "ghost",
|
|
30896
30880
|
label: g.$t("project.phase.add"),
|
|
30897
30881
|
onClick: s
|
|
30898
|
-
}, null, 8, ["label"])) :
|
|
30882
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
30899
30883
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
30900
30884
|
key: 1,
|
|
30901
30885
|
class: "ao-project-mapping-overview__save-as-template",
|
|
30902
30886
|
color: "primary",
|
|
30903
30887
|
label: g.$t("project.template.save.label"),
|
|
30904
30888
|
onClick: y[2] || (y[2] = (w) => f.value = !0)
|
|
30905
|
-
}, null, 8, ["label"])) :
|
|
30889
|
+
}, null, 8, ["label"])) : F("", !0),
|
|
30906
30890
|
t.isEditable === !0 ? (k(), Y(Te, {
|
|
30907
30891
|
key: 2,
|
|
30908
30892
|
class: "ao-project-mapping-overview__add-template",
|
|
30909
30893
|
color: "primary",
|
|
30910
30894
|
label: g.$t("project.template.apply.label"),
|
|
30911
30895
|
onClick: y[3] || (y[3] = (w) => d.value = !0)
|
|
30912
|
-
}, null, 8, ["label"])) :
|
|
30896
|
+
}, null, 8, ["label"])) : F("", !0)
|
|
30913
30897
|
]),
|
|
30914
30898
|
_: 1
|
|
30915
30899
|
}),
|
|
@@ -30934,7 +30918,7 @@ const Xme = { class: "ao-project-mapping" }, Qme = { class: "ao-project-mapping-
|
|
|
30934
30918
|
src: t.project.architectureImage.url,
|
|
30935
30919
|
alt: ve(n)("architectureImage.alt")
|
|
30936
30920
|
}, null, 8, n0e)
|
|
30937
|
-
])) :
|
|
30921
|
+
])) : F("", !0)
|
|
30938
30922
|
])
|
|
30939
30923
|
])
|
|
30940
30924
|
], 16),
|
|
@@ -30944,14 +30928,14 @@ const Xme = { class: "ao-project-mapping" }, Qme = { class: "ao-project-mapping-
|
|
|
30944
30928
|
phases: t.phases,
|
|
30945
30929
|
onClose: y[4] || (y[4] = (w) => f.value = !1),
|
|
30946
30930
|
onSave: h
|
|
30947
|
-
}, null, 8, ["phases"])) :
|
|
30931
|
+
}, null, 8, ["phases"])) : F("", !0),
|
|
30948
30932
|
d.value ? (k(), Y(gg, {
|
|
30949
30933
|
key: 1,
|
|
30950
30934
|
"project-id": t.project.id,
|
|
30951
30935
|
templates: t.templates,
|
|
30952
30936
|
onClose: y[5] || (y[5] = (w) => d.value = !1),
|
|
30953
30937
|
onApply: p
|
|
30954
|
-
}, null, 8, ["project-id", "templates"])) :
|
|
30938
|
+
}, null, 8, ["project-id", "templates"])) : F("", !0)
|
|
30955
30939
|
]))
|
|
30956
30940
|
], 64);
|
|
30957
30941
|
};
|
|
@@ -31134,7 +31118,7 @@ const s0e = { class: "ao-field__label" }, a0e = /* @__PURE__ */ de({
|
|
|
31134
31118
|
return (e, n) => (k(), $("label", {
|
|
31135
31119
|
class: ye(["ao-field", { "ao-field--multiselect": t.isMultiselect }])
|
|
31136
31120
|
}, [
|
|
31137
|
-
x("span", s0e,
|
|
31121
|
+
x("span", s0e, ne(t.label), 1),
|
|
31138
31122
|
be(e.$slots, "default")
|
|
31139
31123
|
], 2));
|
|
31140
31124
|
}
|
|
@@ -31181,7 +31165,7 @@ const s0e = { class: "ao-field__label" }, a0e = /* @__PURE__ */ de({
|
|
|
31181
31165
|
emits: ["update:modelValue"],
|
|
31182
31166
|
setup(t) {
|
|
31183
31167
|
return (e, n) => (k(), $("label", c0e, [
|
|
31184
|
-
x("span", u0e,
|
|
31168
|
+
x("span", u0e, ne(t.label), 1),
|
|
31185
31169
|
x("input", {
|
|
31186
31170
|
class: "ao-field__input",
|
|
31187
31171
|
type: "checkbox",
|