@26lights/orcha 0.42.230 → 0.42.232
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 +20 -20
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +634 -612
- package/dist/orcha.umd.js +20 -20
- package/dist/src/components/AoBacklogSection.vue.d.ts +6 -0
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var U0 = Object.defineProperty;
|
|
2
2
|
var H0 = (t, e, n) => e in t ? U0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var J = (t, e, n) => (H0(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as le, openBlock as k, createBlock as Y, unref as te, mergeProps as
|
|
4
|
+
import { defineComponent as le, openBlock as k, createBlock as Y, unref as te, mergeProps as jt, createElementBlock as T, createElementVNode as b, createStaticVNode as z0, computed as O, resolveDynamicComponent as Pr, normalizeClass as ge, renderSlot as we, toDisplayString as R, createCommentVNode as P, ref as Q, watch as Ne, nextTick as Yt, withKeys as Ko, toHandlers as q0, withCtx as ie, createTextVNode as Gt, createVNode as N, normalizeStyle as Dt, withModifiers as xe, createSlots as $s, Fragment as Te, renderList as Ye, onMounted as Mt, onBeforeUnmount as Ds, onUnmounted as _n, Teleport as En, toRefs as yn, getCurrentInstance as Fr, toRef as ni, normalizeProps as Ms, guardReactiveProps as Ls, withDirectives as tt, vShow as Ho, provide as j0, inject as V0, useTemplateRef as W0, readonly as Z0, toValue as ic, watchEffect as ih, shallowRef as Ma, h as K0, vModelText as Et, resolveComponent as Fo, vModelCheckbox as sh, getCurrentScope as G0, onScopeDispose as Y0, toHandlerKey as J0 } from "vue";
|
|
5
5
|
import { RouterView as X0, useRoute as ah, useRouter as Pu, RouterLink as Q0 } from "vue-router";
|
|
6
6
|
import co from "vuedraggable";
|
|
7
|
-
const
|
|
7
|
+
const p_e = /* @__PURE__ */ le({
|
|
8
8
|
__name: "AoTemplates",
|
|
9
9
|
props: {
|
|
10
10
|
templates: {}
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
|
-
return (e, n) => (k(), Y(te(X0),
|
|
13
|
+
return (e, n) => (k(), Y(te(X0), jt({ templates: t.templates }, e.$attrs), null, 16, ["templates"]));
|
|
14
14
|
}
|
|
15
15
|
}), de = (t, e) => {
|
|
16
16
|
const n = t.__vccOpts || t;
|
|
@@ -1192,7 +1192,7 @@ const lh = {
|
|
|
1192
1192
|
setup(t) {
|
|
1193
1193
|
const e = t, n = O(() => u5[e.name]);
|
|
1194
1194
|
return (o, r) => (k(), Y(Pr(n.value), {
|
|
1195
|
-
class:
|
|
1195
|
+
class: ge(["ao-icon", `ao-icon--${t.size}`])
|
|
1196
1196
|
}, null, 8, ["class"]));
|
|
1197
1197
|
}
|
|
1198
1198
|
});
|
|
@@ -1217,7 +1217,7 @@ const h5 = ["type"], m5 = {
|
|
|
1217
1217
|
const e = t, n = O(() => e.size), o = O(() => e.isLoading ? "Loading" : e.iconName);
|
|
1218
1218
|
return (r, i) => (k(), T("button", {
|
|
1219
1219
|
type: t.type,
|
|
1220
|
-
class:
|
|
1220
|
+
class: ge([
|
|
1221
1221
|
"ao-button",
|
|
1222
1222
|
`ao-button--${t.variant}`,
|
|
1223
1223
|
t.color ? `ao-button--${t.color}` : "",
|
|
@@ -1246,17 +1246,17 @@ function g5(t) {
|
|
|
1246
1246
|
}, i = (l) => {
|
|
1247
1247
|
e.value = l;
|
|
1248
1248
|
}, s = (l) => async () => {
|
|
1249
|
-
i(!1), await
|
|
1249
|
+
i(!1), await Yt(() => {
|
|
1250
1250
|
t.value[o.value] = n.value, l == null || l();
|
|
1251
1251
|
});
|
|
1252
1252
|
}, a = (l) => async (c) => {
|
|
1253
1253
|
const u = t.value[o.value];
|
|
1254
|
-
i(!1), await
|
|
1254
|
+
i(!1), await Yt(() => {
|
|
1255
1255
|
l(u, c);
|
|
1256
1256
|
});
|
|
1257
1257
|
};
|
|
1258
1258
|
return Ne(e, async (l) => {
|
|
1259
|
-
await
|
|
1259
|
+
await Yt(() => {
|
|
1260
1260
|
setTimeout(() => {
|
|
1261
1261
|
t.value && l && (t.value.focus(), n.value = t.value[o.value]);
|
|
1262
1262
|
}, 1);
|
|
@@ -1269,7 +1269,7 @@ function g5(t) {
|
|
|
1269
1269
|
onDiscard: s
|
|
1270
1270
|
};
|
|
1271
1271
|
}
|
|
1272
|
-
const
|
|
1272
|
+
const Nt = /* @__PURE__ */ le({
|
|
1273
1273
|
__name: "AoTitle",
|
|
1274
1274
|
props: {
|
|
1275
1275
|
id: {},
|
|
@@ -1303,7 +1303,7 @@ const It = /* @__PURE__ */ le({
|
|
|
1303
1303
|
(y) => {
|
|
1304
1304
|
y || d();
|
|
1305
1305
|
}
|
|
1306
|
-
), (y, v) => (k(), Y(Pr(c.value),
|
|
1306
|
+
), (y, v) => (k(), Y(Pr(c.value), jt({
|
|
1307
1307
|
id: t.id,
|
|
1308
1308
|
ref_key: "target",
|
|
1309
1309
|
ref: n,
|
|
@@ -1325,7 +1325,7 @@ const It = /* @__PURE__ */ le({
|
|
|
1325
1325
|
onKeydown: Ko(te(d), ["esc"])
|
|
1326
1326
|
}), {
|
|
1327
1327
|
default: ie(() => [
|
|
1328
|
-
|
|
1328
|
+
Gt(R(t.title), 1)
|
|
1329
1329
|
]),
|
|
1330
1330
|
_: 1
|
|
1331
1331
|
}, 16, ["id", "class", "type", "value", "onKeydown"]));
|
|
@@ -1370,7 +1370,7 @@ const v5 = {
|
|
|
1370
1370
|
n("update:title", r);
|
|
1371
1371
|
};
|
|
1372
1372
|
return (r, i) => (k(), Y(Pr(t.tagName), {
|
|
1373
|
-
class:
|
|
1373
|
+
class: ge(["ao-card-horiz", { "ao-card-horiz--active": t.isActive }])
|
|
1374
1374
|
}, {
|
|
1375
1375
|
default: ie(() => [
|
|
1376
1376
|
t.isDraggable ? (k(), T("div", v5, [
|
|
@@ -1388,7 +1388,7 @@ const v5 = {
|
|
|
1388
1388
|
}, null, 8, ["name"])
|
|
1389
1389
|
])) : P("", !0),
|
|
1390
1390
|
b("div", b5, [
|
|
1391
|
-
N(
|
|
1391
|
+
N(Nt, {
|
|
1392
1392
|
id: t.id,
|
|
1393
1393
|
class: "ao-card-horiz__title",
|
|
1394
1394
|
level: 4,
|
|
@@ -1435,20 +1435,20 @@ const hs = /* @__PURE__ */ le({
|
|
|
1435
1435
|
() => n.value === "button" ? { type: "button" } : {}
|
|
1436
1436
|
);
|
|
1437
1437
|
return (r, i) => (k(), T("div", {
|
|
1438
|
-
class:
|
|
1438
|
+
class: ge([
|
|
1439
1439
|
"ao-tag",
|
|
1440
1440
|
t.color ? `ao-tag--${t.color}` : "",
|
|
1441
1441
|
t.clickable ? "ao-tag--clickable" : "",
|
|
1442
1442
|
t.closable ? "ao-tag--closable" : "",
|
|
1443
1443
|
t.variant ? `ao-tag--${t.variant}` : ""
|
|
1444
1444
|
]),
|
|
1445
|
-
style:
|
|
1445
|
+
style: Dt(t.rawColor ? { "--ao-tag-bg": t.rawColor } : {})
|
|
1446
1446
|
}, [
|
|
1447
|
-
(k(), Y(Pr(n.value),
|
|
1447
|
+
(k(), Y(Pr(n.value), jt({ class: "ao-tag__label" }, o.value, {
|
|
1448
1448
|
onClick: i[0] || (i[0] = (s) => r.$emit("click", s))
|
|
1449
1449
|
}), {
|
|
1450
1450
|
default: ie(() => [
|
|
1451
|
-
|
|
1451
|
+
Gt(R(t.label) + " ", 1),
|
|
1452
1452
|
t.variant === te(p5).SOLID_ICON && t.iconName ? (k(), Y(Re, {
|
|
1453
1453
|
key: 0,
|
|
1454
1454
|
name: t.iconName,
|
|
@@ -1476,11 +1476,11 @@ const La = {
|
|
|
1476
1476
|
todo: "todo",
|
|
1477
1477
|
done: "done",
|
|
1478
1478
|
archived: "archived"
|
|
1479
|
-
},
|
|
1479
|
+
}, h_e = {
|
|
1480
1480
|
months: "months",
|
|
1481
1481
|
weeks: "weeks",
|
|
1482
1482
|
days: "days"
|
|
1483
|
-
},
|
|
1483
|
+
}, m_e = {
|
|
1484
1484
|
future: "future",
|
|
1485
1485
|
this_month: "this_month",
|
|
1486
1486
|
this_week: "this_week",
|
|
@@ -1504,7 +1504,7 @@ const La = {
|
|
|
1504
1504
|
TASKS: "tasks"
|
|
1505
1505
|
};
|
|
1506
1506
|
var $5 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))($5 || {});
|
|
1507
|
-
const
|
|
1507
|
+
const g_e = {
|
|
1508
1508
|
add: "add",
|
|
1509
1509
|
remove: "remove",
|
|
1510
1510
|
moved: "moved"
|
|
@@ -3857,7 +3857,7 @@ const S7 = ["title"], x7 = {
|
|
|
3857
3857
|
};
|
|
3858
3858
|
return (a, l) => (k(), T("div", {
|
|
3859
3859
|
role: "img",
|
|
3860
|
-
class:
|
|
3860
|
+
class: ge(r.value),
|
|
3861
3861
|
title: t.userName
|
|
3862
3862
|
}, [
|
|
3863
3863
|
t.avatarUrl ? P("", !0) : (k(), T("span", x7, R(te(i)), 1)),
|
|
@@ -4043,7 +4043,7 @@ const J7 = ["type"], X7 = {
|
|
|
4043
4043
|
const e = t, n = O(() => e.size), o = O(() => e.isLoading ? "Loading" : e.iconName);
|
|
4044
4044
|
return (r, i) => (k(), T("button", {
|
|
4045
4045
|
type: t.type,
|
|
4046
|
-
class:
|
|
4046
|
+
class: ge([
|
|
4047
4047
|
"ao-button-card",
|
|
4048
4048
|
`ao-button-card--${t.color}`,
|
|
4049
4049
|
`ao-button-card--${t.corners}`,
|
|
@@ -4126,7 +4126,7 @@ const oC = /* @__PURE__ */ le({
|
|
|
4126
4126
|
var r;
|
|
4127
4127
|
return (r = e.milestones) == null ? void 0 : r.length;
|
|
4128
4128
|
}), o = O(() => e.milestones ? wh(e.milestones) : 0);
|
|
4129
|
-
return (r, i) => (k(), Y(Hu,
|
|
4129
|
+
return (r, i) => (k(), Y(Hu, jt({
|
|
4130
4130
|
id: t.id,
|
|
4131
4131
|
title: t.name,
|
|
4132
4132
|
activities: o.value,
|
|
@@ -4189,7 +4189,7 @@ const oC = /* @__PURE__ */ le({
|
|
|
4189
4189
|
onChange: a
|
|
4190
4190
|
}, {
|
|
4191
4191
|
header: ie(() => [
|
|
4192
|
-
N(
|
|
4192
|
+
N(Nt, {
|
|
4193
4193
|
title: "Milestones",
|
|
4194
4194
|
level: 3,
|
|
4195
4195
|
class: "ao-list__title"
|
|
@@ -4279,7 +4279,7 @@ const oC = /* @__PURE__ */ le({
|
|
|
4279
4279
|
onChange: a
|
|
4280
4280
|
}, {
|
|
4281
4281
|
header: ie(() => [
|
|
4282
|
-
N(
|
|
4282
|
+
N(Nt, {
|
|
4283
4283
|
title: "Activities",
|
|
4284
4284
|
level: 3,
|
|
4285
4285
|
class: "ao-list__title"
|
|
@@ -4324,7 +4324,7 @@ const oC = /* @__PURE__ */ le({
|
|
|
4324
4324
|
emits: ["close"],
|
|
4325
4325
|
setup(t) {
|
|
4326
4326
|
return (e, n) => (k(), T("div", {
|
|
4327
|
-
class:
|
|
4327
|
+
class: ge(["ao-modal__wrapper", `ao-modal__wrapper--${t.size}`])
|
|
4328
4328
|
}, [
|
|
4329
4329
|
b("div", {
|
|
4330
4330
|
class: "ao-modal__backdrop",
|
|
@@ -5203,7 +5203,7 @@ const WC = (t, e, n) => {
|
|
|
5203
5203
|
});
|
|
5204
5204
|
});
|
|
5205
5205
|
}
|
|
5206
|
-
|
|
5206
|
+
Mt(() => {
|
|
5207
5207
|
c();
|
|
5208
5208
|
}), Ds(() => {
|
|
5209
5209
|
a.value();
|
|
@@ -5326,7 +5326,7 @@ function e9(t, e, n) {
|
|
|
5326
5326
|
disabledProp: be,
|
|
5327
5327
|
searchStart: he,
|
|
5328
5328
|
searchFilter: Ve
|
|
5329
|
-
} = yn(t), Ce = Fr().proxy, pe = n.iv, Z = n.ev, V = n.search, me = n.clearSearch, Ue = n.update, it = n.pointer, Be = n.setPointer, Pe = n.clearPointer,
|
|
5329
|
+
} = yn(t), Ce = Fr().proxy, pe = n.iv, Z = n.ev, V = n.search, me = n.clearSearch, Ue = n.update, it = n.pointer, Be = n.setPointer, Pe = n.clearPointer, Bt = n.focus, W = n.deactivate, ve = n.close, De = n.localize, Ee = Q([]), ut = Q([]), We = Q(!1), Ze = Q(null), ot = Q(q.value && s.value === -1 ? 10 : s.value), pt = O(() => l.value || c.value || !1), ht = O(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Ge = O(() => {
|
|
5330
5330
|
if (F.value) {
|
|
5331
5331
|
let U = rn.value || /* istanbul ignore next */
|
|
5332
5332
|
[], ae = [];
|
|
@@ -5340,11 +5340,11 @@ function e9(t, e, n) {
|
|
|
5340
5340
|
[]);
|
|
5341
5341
|
return Ee.value.length && (U = U.concat(Ee.value)), U;
|
|
5342
5342
|
}
|
|
5343
|
-
}),
|
|
5343
|
+
}), Ut = O(() => {
|
|
5344
5344
|
let U = Ge.value;
|
|
5345
5345
|
return H.value && (U = U.reverse()), X.value.length && (U = X.value.concat(U)), Pi(U);
|
|
5346
5346
|
}), wt = O(() => {
|
|
5347
|
-
let U =
|
|
5347
|
+
let U = Ut.value;
|
|
5348
5348
|
return ot.value > 0 && (U = U.slice(0, ot.value)), U;
|
|
5349
5349
|
}), rn = O(() => {
|
|
5350
5350
|
if (!F.value)
|
|
@@ -5399,7 +5399,7 @@ function e9(t, e, n) {
|
|
|
5399
5399
|
case "tags":
|
|
5400
5400
|
return [];
|
|
5401
5401
|
}
|
|
5402
|
-
}), sn = O(() => g.value || We.value),
|
|
5402
|
+
}), sn = O(() => g.value || We.value), Ht = (U) => {
|
|
5403
5403
|
switch (typeof U != "object" && (U = cn(U)), r.value) {
|
|
5404
5404
|
case "single":
|
|
5405
5405
|
Ue(U);
|
|
@@ -5409,7 +5409,7 @@ function e9(t, e, n) {
|
|
|
5409
5409
|
Ue(pe.value.concat(U));
|
|
5410
5410
|
break;
|
|
5411
5411
|
}
|
|
5412
|
-
e.emit("select",
|
|
5412
|
+
e.emit("select", Wt(U), U, Ce);
|
|
5413
5413
|
}, Le = (U) => {
|
|
5414
5414
|
switch (typeof U != "object" && (U = cn(U)), r.value) {
|
|
5415
5415
|
case "single":
|
|
@@ -5420,8 +5420,8 @@ function e9(t, e, n) {
|
|
|
5420
5420
|
Ue(Array.isArray(U) ? pe.value.filter((ae) => U.map((Fe) => Fe[w.value]).indexOf(ae[w.value]) === -1) : pe.value.filter((ae) => ae[w.value] != U[w.value]));
|
|
5421
5421
|
break;
|
|
5422
5422
|
}
|
|
5423
|
-
e.emit("deselect",
|
|
5424
|
-
},
|
|
5423
|
+
e.emit("deselect", Wt(U), U, Ce);
|
|
5424
|
+
}, Wt = (U) => h.value ? U : U[w.value], Mo = (U) => {
|
|
5425
5425
|
Le(U);
|
|
5426
5426
|
}, Xs = (U, ae) => {
|
|
5427
5427
|
if (ae.button !== 0) {
|
|
@@ -5455,41 +5455,41 @@ function e9(t, e, n) {
|
|
|
5455
5455
|
switch (U.__CREATE__ && (U = { ...U }, delete U.__CREATE__), r.value) {
|
|
5456
5456
|
case "single":
|
|
5457
5457
|
if (U && an(U)) {
|
|
5458
|
-
x.value && Le(U), L.value && (Pe(),
|
|
5458
|
+
x.value && Le(U), L.value && (Pe(), ve());
|
|
5459
5459
|
return;
|
|
5460
5460
|
}
|
|
5461
|
-
U && ir(U), S.value && me(), A.value && (Pe(),
|
|
5461
|
+
U && ir(U), S.value && me(), A.value && (Pe(), ve()), U && Ht(U);
|
|
5462
5462
|
break;
|
|
5463
5463
|
case "multiple":
|
|
5464
5464
|
if (U && an(U)) {
|
|
5465
|
-
Le(U), L.value && (Pe(),
|
|
5465
|
+
Le(U), L.value && (Pe(), ve());
|
|
5466
5466
|
return;
|
|
5467
5467
|
}
|
|
5468
5468
|
if (Lo()) {
|
|
5469
5469
|
e.emit("max", Ce);
|
|
5470
5470
|
return;
|
|
5471
5471
|
}
|
|
5472
|
-
U && (ir(U),
|
|
5472
|
+
U && (ir(U), Ht(U)), S.value && me(), a.value && Pe(), A.value && ve();
|
|
5473
5473
|
break;
|
|
5474
5474
|
case "tags":
|
|
5475
5475
|
if (U && an(U)) {
|
|
5476
|
-
Le(U), L.value && (Pe(),
|
|
5476
|
+
Le(U), L.value && (Pe(), ve());
|
|
5477
5477
|
return;
|
|
5478
5478
|
}
|
|
5479
5479
|
if (Lo()) {
|
|
5480
5480
|
e.emit("max", Ce);
|
|
5481
5481
|
return;
|
|
5482
5482
|
}
|
|
5483
|
-
U && ir(U), S.value && me(), U &&
|
|
5483
|
+
U && ir(U), S.value && me(), U && Ht(U), a.value && Pe(), A.value && ve();
|
|
5484
5484
|
break;
|
|
5485
5485
|
}
|
|
5486
|
-
A.value ||
|
|
5486
|
+
A.value || Bt();
|
|
5487
5487
|
}, Oo = (U) => {
|
|
5488
5488
|
if (!(Hr(U) || r.value === "single" || !G.value)) {
|
|
5489
5489
|
switch (r.value) {
|
|
5490
5490
|
case "multiple":
|
|
5491
5491
|
case "tags":
|
|
5492
|
-
ec(U[ee.value]) ? Le(U[ee.value]) :
|
|
5492
|
+
ec(U[ee.value]) ? Le(U[ee.value]) : Ht(
|
|
5493
5493
|
U[ee.value].filter((ae) => pe.value.map((Fe) => Fe[w.value]).indexOf(ae[w.value]) === -1).filter((ae) => !ae[be.value]).filter((ae, Fe) => pe.value.length + 1 + Fe <= M.value || M.value === -1)
|
|
5494
5494
|
), a.value && it.value && Be(Wn.value.filter((ae) => !ae[be.value])[it.value.index]);
|
|
5495
5495
|
break;
|
|
@@ -5499,7 +5499,7 @@ function e9(t, e, n) {
|
|
|
5499
5499
|
}, ir = (U) => {
|
|
5500
5500
|
cn(U[w.value]) === void 0 && pt.value && (e.emit("tag", U[w.value], Ce), e.emit("option", U[w.value], Ce), e.emit("create", U[w.value], Ce), ht.value && tc(U), me());
|
|
5501
5501
|
}, Ii = () => {
|
|
5502
|
-
r.value !== "single" &&
|
|
5502
|
+
r.value !== "single" && Ht(wt.value.filter((U) => !U.disabled && !an(U)));
|
|
5503
5503
|
}, ec = (U) => U.find((ae) => !an(ae) && !ae[be.value]) === void 0, Qs = (U) => U.find((ae) => !an(ae)) === void 0, cn = (U) => Ge.value[Ge.value.map((ae) => String(ae[w.value])).indexOf(String(U))], ea = (U) => Ge.value.findIndex((ae) => ye.value.some((Fe) => (parseInt(ae[Fe]) == ae[Fe] ? parseInt(ae[Fe]) : ae[Fe]) === (parseInt(U) == U ? parseInt(U) : U))), Ni = (U) => ["tags", "multiple"].indexOf(r.value) !== -1 && a.value && an(U), tc = (U) => {
|
|
5504
5504
|
Ee.value.push(U);
|
|
5505
5505
|
}, sr = (U) => j.value ? U.filter(
|
|
@@ -5593,7 +5593,7 @@ function e9(t, e, n) {
|
|
|
5593
5593
|
}), Ne(u, Ri), Ne(s, (U, ae) => {
|
|
5594
5594
|
ot.value = q.value && U === -1 ? 10 : U;
|
|
5595
5595
|
}), {
|
|
5596
|
-
pfo:
|
|
5596
|
+
pfo: Ut,
|
|
5597
5597
|
fo: wt,
|
|
5598
5598
|
filteredOptions: wt,
|
|
5599
5599
|
hasSelected: Zn,
|
|
@@ -5609,7 +5609,7 @@ function e9(t, e, n) {
|
|
|
5609
5609
|
resolving: We,
|
|
5610
5610
|
busy: sn,
|
|
5611
5611
|
offset: ot,
|
|
5612
|
-
select:
|
|
5612
|
+
select: Ht,
|
|
5613
5613
|
deselect: Le,
|
|
5614
5614
|
remove: Mo,
|
|
5615
5615
|
selectAll: Ii,
|
|
@@ -5668,7 +5668,7 @@ function t9(t, e, n) {
|
|
|
5668
5668
|
let Z = w.value.map((V) => V[o.value]).indexOf(v.value[o.value]) + 1;
|
|
5669
5669
|
w.value.length <= Z && (Z = 0), m(w.value[Z] || null);
|
|
5670
5670
|
}
|
|
5671
|
-
|
|
5671
|
+
Yt(() => {
|
|
5672
5672
|
pe();
|
|
5673
5673
|
});
|
|
5674
5674
|
}, Ve = () => {
|
|
@@ -5683,7 +5683,7 @@ function t9(t, e, n) {
|
|
|
5683
5683
|
let Z = w.value.map((V) => V[o.value]).indexOf(v.value[o.value]) - 1;
|
|
5684
5684
|
Z < 0 && (Z = w.value.length - 1), m(w.value[Z] || null);
|
|
5685
5685
|
}
|
|
5686
|
-
|
|
5686
|
+
Yt(() => {
|
|
5687
5687
|
pe();
|
|
5688
5688
|
});
|
|
5689
5689
|
}, Ce = (Z) => $.value.find((V) => V.__VISIBLE__.map((me) => me[o.value]).indexOf(Z[o.value]) !== -1), pe = () => {
|
|
@@ -5701,7 +5701,7 @@ function t9(t, e, n) {
|
|
|
5701
5701
|
if (!V)
|
|
5702
5702
|
return;
|
|
5703
5703
|
let me = V.parentElement.parentElement;
|
|
5704
|
-
|
|
5704
|
+
Yt(() => {
|
|
5705
5705
|
me.scrollTop > 0 || (me.scrollTop = V.offsetTop);
|
|
5706
5706
|
});
|
|
5707
5707
|
}
|
|
@@ -6406,11 +6406,11 @@ function G9(t) {
|
|
|
6406
6406
|
var L, F = C === "y" ? Fn : Co, H = C === "y" ? ao : Jo, q = C === "y" ? "height" : "width", ee = w[C], j = ee + y[F], G = ee - y[H], se = p ? -E[q] / 2 : 0, be = m === gi ? $[q] : E[q], he = m === gi ? -E[q] : -$[q], Ve = e.elements.arrow, Ce = p && Ve ? Fh(Ve) : {
|
|
6407
6407
|
width: 0,
|
|
6408
6408
|
height: 0
|
|
6409
|
-
}, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zh(), Z = pe[F], V = pe[H], me = xa(0, $[q], Ce[q]), Ue = _ ? $[q] / 2 - se - me - Z - M.mainAxis : be - me - Z - M.mainAxis, it = _ ? -$[q] / 2 + se + me + V + M.mainAxis : he + me + V + M.mainAxis, Be = e.elements.arrow && kl(e.elements.arrow), Pe = Be ? C === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0,
|
|
6409
|
+
}, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zh(), Z = pe[F], V = pe[H], me = xa(0, $[q], Ce[q]), Ue = _ ? $[q] / 2 - se - me - Z - M.mainAxis : be - me - Z - M.mainAxis, it = _ ? -$[q] / 2 + se + me + V + M.mainAxis : he + me + V + M.mainAxis, Be = e.elements.arrow && kl(e.elements.arrow), Pe = Be ? C === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0, Bt = (L = I == null ? void 0 : I[C]) != null ? L : 0, W = ee + Ue - Bt - Pe, ve = ee + it - Bt, De = xa(p ? Ba(j, W) : j, ee, p ? _r(G, ve) : G);
|
|
6410
6410
|
w[C] = De, A[C] = De - ee;
|
|
6411
6411
|
}
|
|
6412
6412
|
if (a) {
|
|
6413
|
-
var Ee, ut = C === "x" ? Fn : Co, We = C === "x" ? ao : Jo, Ze = w[S], ot = S === "y" ? "height" : "width", pt = Ze + y[ut], ht = Ze - y[We], Ge = [Fn, Co].indexOf(v) !== -1,
|
|
6413
|
+
var Ee, ut = C === "x" ? Fn : Co, We = C === "x" ? ao : Jo, Ze = w[S], ot = S === "y" ? "height" : "width", pt = Ze + y[ut], ht = Ze - y[We], Ge = [Fn, Co].indexOf(v) !== -1, Ut = (Ee = I == null ? void 0 : I[S]) != null ? Ee : 0, wt = Ge ? pt : Ze - $[ot] - E[ot] - Ut + M.altAxis, rn = Ge ? Ze + $[ot] + E[ot] - Ut - M.altAxis : ht, Mn = p && Ge ? K9(wt, Ze, rn) : xa(p ? wt : pt, Ze, p ? rn : ht);
|
|
6414
6414
|
w[S] = Mn, A[S] = Mn - Ze;
|
|
6415
6415
|
}
|
|
6416
6416
|
e.modifiersData[o] = A;
|
|
@@ -6529,7 +6529,7 @@ var n4 = {
|
|
|
6529
6529
|
};
|
|
6530
6530
|
function o4(t, e, n) {
|
|
6531
6531
|
const { disabled: o, appendTo: r, appendToBody: i, openDirection: s } = yn(t), a = Fr().proxy, l = n.multiselect, c = n.dropdown, u = Q(!1), f = Q(null), d = Q(null), p = O(() => r.value || i.value), h = O(() => s.value === "top" && d.value === "bottom" || s.value === "bottom" && d.value !== "top" ? "bottom" : "top"), g = () => {
|
|
6532
|
-
u.value || o.value || (u.value = !0, e.emit("open", a), p.value &&
|
|
6532
|
+
u.value || o.value || (u.value = !0, e.emit("open", a), p.value && Yt(() => {
|
|
6533
6533
|
v();
|
|
6534
6534
|
}));
|
|
6535
6535
|
}, y = () => {
|
|
@@ -6558,7 +6558,7 @@ function o4(t, e, n) {
|
|
|
6558
6558
|
}
|
|
6559
6559
|
return !1;
|
|
6560
6560
|
};
|
|
6561
|
-
return
|
|
6561
|
+
return Mt(() => {
|
|
6562
6562
|
p.value && (f.value = W9(l.value, c.value, {
|
|
6563
6563
|
strategy: m(l.value) ? (
|
|
6564
6564
|
/* istanbul ignore next: UI feature */
|
|
@@ -6844,7 +6844,7 @@ function a4(t, e, n) {
|
|
|
6844
6844
|
const { isIntersecting: y, target: v } = g[0];
|
|
6845
6845
|
if (y) {
|
|
6846
6846
|
const m = v.offsetParent, _ = m.scrollTop;
|
|
6847
|
-
s.value += o.value == -1 ? 10 : o.value,
|
|
6847
|
+
s.value += o.value == -1 ? 10 : o.value, Yt(() => {
|
|
6848
6848
|
m.scrollTop = _;
|
|
6849
6849
|
});
|
|
6850
6850
|
}
|
|
@@ -6857,7 +6857,7 @@ function a4(t, e, n) {
|
|
|
6857
6857
|
r.value && (s.value = o.value, h());
|
|
6858
6858
|
}, { flush: "post" }), Ne(c, () => {
|
|
6859
6859
|
r.value && h();
|
|
6860
|
-
}, { immediate: !1, flush: "post" }),
|
|
6860
|
+
}, { immediate: !1, flush: "post" }), Mt(() => {
|
|
6861
6861
|
window && window.IntersectionObserver && (u.value = new IntersectionObserver(p));
|
|
6862
6862
|
}), {
|
|
6863
6863
|
hasMore: d,
|
|
@@ -6903,7 +6903,7 @@ function l4(t, e, n) {
|
|
|
6903
6903
|
let L = [];
|
|
6904
6904
|
return L.push(A), L.join(" ");
|
|
6905
6905
|
}, I = (A) => `${A} ❎`;
|
|
6906
|
-
return
|
|
6906
|
+
return Mt(() => {
|
|
6907
6907
|
if (r && r.value && document && document.querySelector) {
|
|
6908
6908
|
let A = document.querySelector(`[for="${r.value}"]`);
|
|
6909
6909
|
g.value = A ? A.innerText : null;
|
|
@@ -7335,7 +7335,7 @@ const f4 = ["id", "dir"], p4 = ["tabindex", "aria-controls", "aria-placeholder",
|
|
|
7335
7335
|
function O4(t, e, n, o, r, i) {
|
|
7336
7336
|
return k(), T("div", {
|
|
7337
7337
|
ref: "multiselect",
|
|
7338
|
-
class:
|
|
7338
|
+
class: ge(t.classList.container),
|
|
7339
7339
|
id: n.searchable ? void 0 : n.id,
|
|
7340
7340
|
dir: n.rtl ? "rtl" : void 0,
|
|
7341
7341
|
onFocusin: e[10] || (e[10] = (...s) => t.handleFocusIn && t.handleFocusIn(...s)),
|
|
@@ -7343,7 +7343,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7343
7343
|
onKeyup: e[12] || (e[12] = (...s) => t.handleKeyup && t.handleKeyup(...s)),
|
|
7344
7344
|
onKeydown: e[13] || (e[13] = (...s) => t.handleKeydown && t.handleKeydown(...s))
|
|
7345
7345
|
}, [
|
|
7346
|
-
b("div",
|
|
7346
|
+
b("div", jt({
|
|
7347
7347
|
class: t.classList.wrapper,
|
|
7348
7348
|
onMousedown: e[9] || (e[9] = (...s) => t.handleMousedown && t.handleMousedown(...s)),
|
|
7349
7349
|
ref: "wrapper",
|
|
@@ -7356,7 +7356,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7356
7356
|
role: n.searchable ? void 0 : "combobox"
|
|
7357
7357
|
}, n.searchable ? {} : t.arias), [
|
|
7358
7358
|
P(" Search "),
|
|
7359
|
-
n.mode !== "tags" && n.searchable && !n.disabled ? (k(), T("input",
|
|
7359
|
+
n.mode !== "tags" && n.searchable && !n.disabled ? (k(), T("input", jt({
|
|
7360
7360
|
key: 0,
|
|
7361
7361
|
type: n.inputType,
|
|
7362
7362
|
modelValue: t.search,
|
|
@@ -7383,7 +7383,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7383
7383
|
"div",
|
|
7384
7384
|
{
|
|
7385
7385
|
key: 1,
|
|
7386
|
-
class:
|
|
7386
|
+
class: ge(t.classList.tags),
|
|
7387
7387
|
"data-tags": ""
|
|
7388
7388
|
},
|
|
7389
7389
|
[
|
|
@@ -7396,7 +7396,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7396
7396
|
disabled: n.disabled
|
|
7397
7397
|
}, () => [
|
|
7398
7398
|
(k(), T("span", {
|
|
7399
|
-
class:
|
|
7399
|
+
class: ge([
|
|
7400
7400
|
t.classList.tag,
|
|
7401
7401
|
s.disabled ? t.classList.tagDisabled : null
|
|
7402
7402
|
]),
|
|
@@ -7408,7 +7408,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7408
7408
|
b(
|
|
7409
7409
|
"span",
|
|
7410
7410
|
{
|
|
7411
|
-
class:
|
|
7411
|
+
class: ge(t.classList.tagWrapper)
|
|
7412
7412
|
},
|
|
7413
7413
|
R(t.localize(s[n.label])),
|
|
7414
7414
|
3
|
|
@@ -7416,13 +7416,13 @@ function O4(t, e, n, o, r, i) {
|
|
|
7416
7416
|
),
|
|
7417
7417
|
!n.disabled && !s.disabled ? (k(), T("span", {
|
|
7418
7418
|
key: 0,
|
|
7419
|
-
class:
|
|
7419
|
+
class: ge(t.classList.tagRemove),
|
|
7420
7420
|
onClick: xe((c) => t.handleTagRemove(s, c), ["stop"])
|
|
7421
7421
|
}, [
|
|
7422
7422
|
b(
|
|
7423
7423
|
"span",
|
|
7424
7424
|
{
|
|
7425
|
-
class:
|
|
7425
|
+
class: ge(t.classList.tagRemoveIcon)
|
|
7426
7426
|
},
|
|
7427
7427
|
null,
|
|
7428
7428
|
2
|
|
@@ -7437,7 +7437,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7437
7437
|
b(
|
|
7438
7438
|
"div",
|
|
7439
7439
|
{
|
|
7440
|
-
class:
|
|
7440
|
+
class: ge(t.classList.tagsSearchWrapper),
|
|
7441
7441
|
ref: "tags"
|
|
7442
7442
|
},
|
|
7443
7443
|
[
|
|
@@ -7445,14 +7445,14 @@ function O4(t, e, n, o, r, i) {
|
|
|
7445
7445
|
b(
|
|
7446
7446
|
"span",
|
|
7447
7447
|
{
|
|
7448
|
-
class:
|
|
7448
|
+
class: ge(t.classList.tagsSearchCopy)
|
|
7449
7449
|
},
|
|
7450
7450
|
R(t.search),
|
|
7451
7451
|
3
|
|
7452
7452
|
/* TEXT, CLASS */
|
|
7453
7453
|
),
|
|
7454
7454
|
P(" Actual search input "),
|
|
7455
|
-
n.searchable && !n.disabled ? (k(), T("input",
|
|
7455
|
+
n.searchable && !n.disabled ? (k(), T("input", jt({
|
|
7456
7456
|
key: 0,
|
|
7457
7457
|
type: n.inputType,
|
|
7458
7458
|
modelValue: t.search,
|
|
@@ -7490,13 +7490,13 @@ function O4(t, e, n, o, r, i) {
|
|
|
7490
7490
|
b(
|
|
7491
7491
|
"div",
|
|
7492
7492
|
{
|
|
7493
|
-
class:
|
|
7493
|
+
class: ge(t.classList.singleLabel)
|
|
7494
7494
|
},
|
|
7495
7495
|
[
|
|
7496
7496
|
b(
|
|
7497
7497
|
"span",
|
|
7498
7498
|
{
|
|
7499
|
-
class:
|
|
7499
|
+
class: ge(t.classList.singleLabelText)
|
|
7500
7500
|
},
|
|
7501
7501
|
R(t.localize(t.iv[n.label])),
|
|
7502
7502
|
3
|
|
@@ -7513,7 +7513,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7513
7513
|
values: t.iv
|
|
7514
7514
|
}, () => [
|
|
7515
7515
|
b("div", {
|
|
7516
|
-
class:
|
|
7516
|
+
class: ge(t.classList.multipleLabel),
|
|
7517
7517
|
innerHTML: t.multipleLabelText
|
|
7518
7518
|
}, null, 10, _4)
|
|
7519
7519
|
]) : P("v-if", !0),
|
|
@@ -7522,7 +7522,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7522
7522
|
b(
|
|
7523
7523
|
"div",
|
|
7524
7524
|
{
|
|
7525
|
-
class:
|
|
7525
|
+
class: ge(t.classList.placeholder),
|
|
7526
7526
|
"aria-hidden": "true"
|
|
7527
7527
|
},
|
|
7528
7528
|
R(n.placeholder),
|
|
@@ -7535,7 +7535,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7535
7535
|
b(
|
|
7536
7536
|
"span",
|
|
7537
7537
|
{
|
|
7538
|
-
class:
|
|
7538
|
+
class: ge(t.classList.spinner),
|
|
7539
7539
|
"aria-hidden": "true"
|
|
7540
7540
|
},
|
|
7541
7541
|
null,
|
|
@@ -7556,7 +7556,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7556
7556
|
role: "button",
|
|
7557
7557
|
"data-clear": "",
|
|
7558
7558
|
"aria-roledescription": "❎",
|
|
7559
|
-
class:
|
|
7559
|
+
class: ge(t.classList.clear),
|
|
7560
7560
|
onClick: e[6] || (e[6] = (...s) => t.clear && t.clear(...s)),
|
|
7561
7561
|
onKeyup: e[7] || (e[7] = Ko((...s) => t.clear && t.clear(...s), ["enter"]))
|
|
7562
7562
|
},
|
|
@@ -7564,7 +7564,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7564
7564
|
b(
|
|
7565
7565
|
"span",
|
|
7566
7566
|
{
|
|
7567
|
-
class:
|
|
7567
|
+
class: ge(t.classList.clearIcon)
|
|
7568
7568
|
},
|
|
7569
7569
|
null,
|
|
7570
7570
|
2
|
|
@@ -7584,7 +7584,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7584
7584
|
b(
|
|
7585
7585
|
"span",
|
|
7586
7586
|
{
|
|
7587
|
-
class:
|
|
7587
|
+
class: ge(t.classList.caret),
|
|
7588
7588
|
onClick: e[8] || (e[8] = (...s) => t.handleCaretClick && t.handleCaretClick(...s)),
|
|
7589
7589
|
"aria-hidden": "true"
|
|
7590
7590
|
},
|
|
@@ -7601,13 +7601,13 @@ function O4(t, e, n, o, r, i) {
|
|
|
7601
7601
|
}, [
|
|
7602
7602
|
b("div", {
|
|
7603
7603
|
id: `${n.id}-dropdown`,
|
|
7604
|
-
class:
|
|
7604
|
+
class: ge(t.classList.dropdown),
|
|
7605
7605
|
tabindex: "-1",
|
|
7606
7606
|
ref: "dropdown"
|
|
7607
7607
|
}, [
|
|
7608
7608
|
we(t.$slots, "beforelist", { options: t.fo }),
|
|
7609
7609
|
b("ul", {
|
|
7610
|
-
class:
|
|
7610
|
+
class: ge(t.classList.options),
|
|
7611
7611
|
id: t.ariaControls,
|
|
7612
7612
|
role: "listbox"
|
|
7613
7613
|
}, [
|
|
@@ -7615,7 +7615,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7615
7615
|
Te,
|
|
7616
7616
|
{ key: 0 },
|
|
7617
7617
|
Ye(t.fg, (s, a, l) => (k(), T("li", {
|
|
7618
|
-
class:
|
|
7618
|
+
class: ge(t.classList.group),
|
|
7619
7619
|
key: l,
|
|
7620
7620
|
id: t.ariaGroupId(s),
|
|
7621
7621
|
"aria-label": t.ariaGroupLabel(t.localize(s[n.groupLabel])),
|
|
@@ -7624,7 +7624,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7624
7624
|
}, [
|
|
7625
7625
|
s.__CREATE__ ? P("v-if", !0) : (k(), T("div", {
|
|
7626
7626
|
key: 0,
|
|
7627
|
-
class:
|
|
7627
|
+
class: ge(t.classList.groupLabel(s)),
|
|
7628
7628
|
"data-pointed": t.isPointed(s),
|
|
7629
7629
|
onMouseenter: (c) => t.setPointer(s, a),
|
|
7630
7630
|
onMousedown: xe((c) => t.handleGroupClick(s), ["prevent"])
|
|
@@ -7640,7 +7640,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7640
7640
|
])
|
|
7641
7641
|
], 42, k4)),
|
|
7642
7642
|
b("ul", {
|
|
7643
|
-
class:
|
|
7643
|
+
class: ge(t.classList.groupOptions),
|
|
7644
7644
|
"aria-label": t.ariaGroupLabel(t.localize(s[n.groupLabel])),
|
|
7645
7645
|
role: "group"
|
|
7646
7646
|
}, [
|
|
@@ -7648,7 +7648,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7648
7648
|
Te,
|
|
7649
7649
|
null,
|
|
7650
7650
|
Ye(s.__VISIBLE__, (c, u, f) => (k(), T("li", {
|
|
7651
|
-
class:
|
|
7651
|
+
class: ge(t.classList.option(c, s)),
|
|
7652
7652
|
"data-pointed": t.isPointed(c),
|
|
7653
7653
|
"data-selected": t.isSelected(c) || void 0,
|
|
7654
7654
|
key: f,
|
|
@@ -7685,7 +7685,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7685
7685
|
Te,
|
|
7686
7686
|
{ key: 1 },
|
|
7687
7687
|
Ye(t.fo, (s, a, l) => (k(), T("li", {
|
|
7688
|
-
class:
|
|
7688
|
+
class: ge(t.classList.option(s)),
|
|
7689
7689
|
"data-pointed": t.isPointed(s),
|
|
7690
7690
|
"data-selected": t.isSelected(s) || void 0,
|
|
7691
7691
|
key: l,
|
|
@@ -7717,13 +7717,13 @@ function O4(t, e, n, o, r, i) {
|
|
|
7717
7717
|
], 10, b4),
|
|
7718
7718
|
t.noOptions ? we(t.$slots, "nooptions", { key: 0 }, () => [
|
|
7719
7719
|
b("div", {
|
|
7720
|
-
class:
|
|
7720
|
+
class: ge(t.classList.noOptions),
|
|
7721
7721
|
innerHTML: t.localize(n.noOptionsText)
|
|
7722
7722
|
}, null, 10, E4)
|
|
7723
7723
|
]) : P("v-if", !0),
|
|
7724
7724
|
t.noResults ? we(t.$slots, "noresults", { key: 1 }, () => [
|
|
7725
7725
|
b("div", {
|
|
7726
|
-
class:
|
|
7726
|
+
class: ge(t.classList.noResults),
|
|
7727
7727
|
innerHTML: t.localize(n.noResultsText)
|
|
7728
7728
|
}, null, 10, T4)
|
|
7729
7729
|
]) : P("v-if", !0),
|
|
@@ -7731,7 +7731,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7731
7731
|
"div",
|
|
7732
7732
|
{
|
|
7733
7733
|
key: 2,
|
|
7734
|
-
class:
|
|
7734
|
+
class: ge(t.classList.inifinite),
|
|
7735
7735
|
ref: "infiniteLoader"
|
|
7736
7736
|
},
|
|
7737
7737
|
[
|
|
@@ -7739,7 +7739,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7739
7739
|
b(
|
|
7740
7740
|
"span",
|
|
7741
7741
|
{
|
|
7742
|
-
class:
|
|
7742
|
+
class: ge(t.classList.inifiniteSpinner)
|
|
7743
7743
|
},
|
|
7744
7744
|
null,
|
|
7745
7745
|
2
|
|
@@ -7756,7 +7756,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7756
7756
|
P(" Hacky input element to show HTML5 required warning "),
|
|
7757
7757
|
n.required ? (k(), T("input", {
|
|
7758
7758
|
key: 0,
|
|
7759
|
-
class:
|
|
7759
|
+
class: ge(t.classList.fakeInput),
|
|
7760
7760
|
tabindex: "-1",
|
|
7761
7761
|
value: t.textValue,
|
|
7762
7762
|
required: ""
|
|
@@ -7790,7 +7790,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7790
7790
|
P(" Screen reader assistive text "),
|
|
7791
7791
|
n.searchable && t.hasSelected ? (k(), T("div", {
|
|
7792
7792
|
key: 2,
|
|
7793
|
-
class:
|
|
7793
|
+
class: ge(t.classList.assist),
|
|
7794
7794
|
id: t.ariaAssist,
|
|
7795
7795
|
"aria-hidden": "true"
|
|
7796
7796
|
}, R(t.ariaLabel), 11, L4)) : P("v-if", !0),
|
|
@@ -7798,7 +7798,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7798
7798
|
b(
|
|
7799
7799
|
"div",
|
|
7800
7800
|
{
|
|
7801
|
-
class:
|
|
7801
|
+
class: ge(t.classList.spacer)
|
|
7802
7802
|
},
|
|
7803
7803
|
null,
|
|
7804
7804
|
2
|
|
@@ -7808,7 +7808,7 @@ function O4(t, e, n, o, r, i) {
|
|
|
7808
7808
|
}
|
|
7809
7809
|
Bo.render = O4;
|
|
7810
7810
|
Bo.__file = "src/Multiselect.vue";
|
|
7811
|
-
const
|
|
7811
|
+
const qt = /* @__PURE__ */ le({
|
|
7812
7812
|
__name: "AoMultiselect",
|
|
7813
7813
|
props: {
|
|
7814
7814
|
detached: { type: Boolean, default: !1 },
|
|
@@ -7838,7 +7838,7 @@ const zt = /* @__PURE__ */ le({
|
|
|
7838
7838
|
}
|
|
7839
7839
|
});
|
|
7840
7840
|
var E1;
|
|
7841
|
-
function
|
|
7841
|
+
function Rt() {
|
|
7842
7842
|
const t = I4(), e = t.appContext.config.globalProperties;
|
|
7843
7843
|
return {
|
|
7844
7844
|
i18next: e.$i18next,
|
|
@@ -7879,9 +7879,9 @@ async function ko(t, e) {
|
|
|
7879
7879
|
if (o.length !== 1)
|
|
7880
7880
|
return;
|
|
7881
7881
|
const r = o[0].id;
|
|
7882
|
-
await
|
|
7882
|
+
await Yt();
|
|
7883
7883
|
const i = document.getElementById(r);
|
|
7884
|
-
i == null || i.focus(), await
|
|
7884
|
+
i == null || i.focus(), await Yt();
|
|
7885
7885
|
const s = document.getElementById(
|
|
7886
7886
|
r
|
|
7887
7887
|
);
|
|
@@ -7900,7 +7900,7 @@ const N4 = { class: "ao-tasks__list" }, P4 = ["id", "value", "readonly", "onChan
|
|
|
7900
7900
|
},
|
|
7901
7901
|
emits: ["add", "delete", "update"],
|
|
7902
7902
|
setup(t, { emit: e }) {
|
|
7903
|
-
const { t: n } =
|
|
7903
|
+
const { t: n } = Rt(), o = t, r = e, i = Q(null);
|
|
7904
7904
|
let s = null, a = null;
|
|
7905
7905
|
const l = (_) => {
|
|
7906
7906
|
_.style.height = "auto", _.style.height = `${_.scrollHeight}px`;
|
|
@@ -7922,7 +7922,7 @@ const N4 = { class: "ao-tasks__list" }, P4 = ["id", "value", "readonly", "onChan
|
|
|
7922
7922
|
{
|
|
7923
7923
|
deep: !0
|
|
7924
7924
|
}
|
|
7925
|
-
),
|
|
7925
|
+
), Mt(() => {
|
|
7926
7926
|
f(), i.value && (s = new ResizeObserver(() => {
|
|
7927
7927
|
f();
|
|
7928
7928
|
}), s.observe(i.value));
|
|
@@ -7990,7 +7990,7 @@ const N4 = { class: "ao-tasks__list" }, P4 = ["id", "value", "readonly", "onChan
|
|
|
7990
7990
|
id: S.id,
|
|
7991
7991
|
value: S.name,
|
|
7992
7992
|
readonly: !t.isEditable,
|
|
7993
|
-
class:
|
|
7993
|
+
class: ge([
|
|
7994
7994
|
"ao-field__input ao-subtask__field",
|
|
7995
7995
|
{
|
|
7996
7996
|
"ao-subtask__field--checked": S.isDone
|
|
@@ -8001,7 +8001,7 @@ const N4 = { class: "ao-tasks__list" }, P4 = ["id", "value", "readonly", "onChan
|
|
|
8001
8001
|
onChange: (E) => h(E, S.id),
|
|
8002
8002
|
onKeydown: Ko(xe(m, ["prevent"]), ["enter"])
|
|
8003
8003
|
}, null, 42, P4),
|
|
8004
|
-
!t.isTemplate && t.users ? (k(), Y(
|
|
8004
|
+
!t.isTemplate && t.users ? (k(), Y(qt, {
|
|
8005
8005
|
key: 1,
|
|
8006
8006
|
value: ($ = S.assignee) != null && $.id ? [S.assignee.id] : [],
|
|
8007
8007
|
options: d.value,
|
|
@@ -8088,7 +8088,7 @@ const B4 = { class: "ao-files__placeholder" }, U4 = {
|
|
|
8088
8088
|
function c(p) {
|
|
8089
8089
|
p.preventDefault();
|
|
8090
8090
|
}
|
|
8091
|
-
|
|
8091
|
+
Mt(() => {
|
|
8092
8092
|
i.forEach((p) => {
|
|
8093
8093
|
document.body.addEventListener(
|
|
8094
8094
|
p,
|
|
@@ -8127,7 +8127,7 @@ const B4 = { class: "ao-files__placeholder" }, U4 = {
|
|
|
8127
8127
|
return (p, h) => {
|
|
8128
8128
|
var g;
|
|
8129
8129
|
return k(), T("div", {
|
|
8130
|
-
class:
|
|
8130
|
+
class: ge([
|
|
8131
8131
|
"ao-files__wrapper",
|
|
8132
8132
|
{
|
|
8133
8133
|
"ao-files__wrapper--drop-active": r.value
|
|
@@ -12583,11 +12583,11 @@ function ule(t, e) {
|
|
|
12583
12583
|
}
|
|
12584
12584
|
}
|
|
12585
12585
|
const um = Object.entries, ff = Object.setPrototypeOf, dle = Object.isFrozen, fle = Object.getPrototypeOf, ple = Object.getOwnPropertyDescriptor;
|
|
12586
|
-
let
|
|
12587
|
-
|
|
12586
|
+
let Ot = Object.freeze, Pt = Object.seal, Jr = Object.create, dm = typeof Reflect < "u" && Reflect, tu = dm.apply, nu = dm.construct;
|
|
12587
|
+
Ot || (Ot = function(e) {
|
|
12588
12588
|
return e;
|
|
12589
12589
|
});
|
|
12590
|
-
|
|
12590
|
+
Pt || (Pt = function(e) {
|
|
12591
12591
|
return e;
|
|
12592
12592
|
});
|
|
12593
12593
|
tu || (tu = function(e, n) {
|
|
@@ -12636,12 +12636,12 @@ function ble(t) {
|
|
|
12636
12636
|
xt(t, e) || (t[e] = null);
|
|
12637
12637
|
return t;
|
|
12638
12638
|
}
|
|
12639
|
-
function
|
|
12639
|
+
function zt(t) {
|
|
12640
12640
|
const e = Jr(null);
|
|
12641
12641
|
for (const o of um(t)) {
|
|
12642
12642
|
var n = cle(o, 2);
|
|
12643
12643
|
const r = n[0], i = n[1];
|
|
12644
|
-
xt(t, r) && (Uo(i) ? e[r] = ble(i) : i && typeof i == "object" && i.constructor === Object ? e[r] =
|
|
12644
|
+
xt(t, r) && (Uo(i) ? e[r] = ble(i) : i && typeof i == "object" && i.constructor === Object ? e[r] = zt(i) : e[r] = i);
|
|
12645
12645
|
}
|
|
12646
12646
|
return e;
|
|
12647
12647
|
}
|
|
@@ -12697,13 +12697,13 @@ function kle(t) {
|
|
|
12697
12697
|
return !1;
|
|
12698
12698
|
}
|
|
12699
12699
|
}
|
|
12700
|
-
const _f =
|
|
12700
|
+
const _f = Ot(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), xc = Ot(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ac = Ot(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), wle = Ot(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ec = Ot(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Sle = Ot(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), yf = Ot(["#text"]), bf = Ot(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), Tc = Ot(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Cf = Ot(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ha = Ot(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xle = Pt(/{{[\w\W]*|^[\w\W]*}}/g), Ale = Pt(/<%[\w\W]*|^[\w\W]*%>/g), Ele = Pt(/\${[\w\W]*/g), Tle = Pt(/^data-[\-\w.\u00B7-\uFFFF]+$/), $le = Pt(/^aria-[\-\w]+$/), kf = Pt(
|
|
12701
12701
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
12702
12702
|
// eslint-disable-line no-useless-escape
|
|
12703
|
-
), Dle =
|
|
12703
|
+
), Dle = Pt(/^(?:\w+script|data):/i), Mle = Pt(
|
|
12704
12704
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
12705
12705
|
// eslint-disable-line no-control-regex
|
|
12706
|
-
), Lle =
|
|
12706
|
+
), Lle = Pt(/^html$/i), Ole = Pt(/^[a-z][.\w]*(-[.\w]+)+$/i), wf = Pt(/<[/\w!]/g), Sf = Pt(/<[/\w]/g), Ile = Pt(/<\/no(script|embed|frames)/i), Nle = Pt(/\/>/i), un = {
|
|
12707
12707
|
element: 1,
|
|
12708
12708
|
attribute: 2,
|
|
12709
12709
|
text: 3,
|
|
@@ -12753,7 +12753,7 @@ const _f = Lt(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
12753
12753
|
uponSanitizeShadowNode: []
|
|
12754
12754
|
};
|
|
12755
12755
|
}, Po = function(e, n, o, r) {
|
|
12756
|
-
return xt(e, n) && Uo(e[n]) ? He(r.base ?
|
|
12756
|
+
return xt(e, n) && Uo(e[n]) ? He(r.base ? zt(r.base) : {}, e[n], r.transform) : o;
|
|
12757
12757
|
};
|
|
12758
12758
|
function fm() {
|
|
12759
12759
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ple();
|
|
@@ -12795,9 +12795,9 @@ function fm() {
|
|
|
12795
12795
|
e.isSupported = typeof um == "function" && typeof v == "function" && ee && ee.createHTMLDocument !== void 0;
|
|
12796
12796
|
const Ve = xle, Ce = Ale, pe = Ele, Z = Tle, V = $le, me = Dle, Ue = Mle, it = Ole;
|
|
12797
12797
|
let Be = kf, Pe = null;
|
|
12798
|
-
const
|
|
12798
|
+
const Bt = He({}, [..._f, ...xc, ...Ac, ...Ec, ...yf]);
|
|
12799
12799
|
let W = null;
|
|
12800
|
-
const
|
|
12800
|
+
const ve = He({}, [...bf, ...Tc, ...Cf, ...ha]);
|
|
12801
12801
|
let De = Object.seal(Jr(null, {
|
|
12802
12802
|
tagNameCheck: {
|
|
12803
12803
|
writable: !0,
|
|
@@ -12832,9 +12832,9 @@ function fm() {
|
|
|
12832
12832
|
value: null
|
|
12833
12833
|
}
|
|
12834
12834
|
}));
|
|
12835
|
-
let Ze = !0, ot = !0, pt = !1, ht = !0, Ge = !1,
|
|
12835
|
+
let Ze = !0, ot = !0, pt = !1, ht = !0, Ge = !1, Ut = !0, wt = !1, rn = !1, Mn = null, Wn = null, Zn = !1, Kn = !1, Do = !1, B = !1, X = !0, ye = !1;
|
|
12836
12836
|
const mt = "user-content-";
|
|
12837
|
-
let sn = !0,
|
|
12837
|
+
let sn = !0, Ht = !1, Le = {}, Wt = null;
|
|
12838
12838
|
const Mo = He({}, [
|
|
12839
12839
|
"annotation-xml",
|
|
12840
12840
|
"audio",
|
|
@@ -12877,9 +12877,9 @@ function fm() {
|
|
|
12877
12877
|
let an = null;
|
|
12878
12878
|
const Hr = He({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Lo = "http://www.w3.org/1998/Math/MathML", zr = "http://www.w3.org/2000/svg", ln = "http://www.w3.org/1999/xhtml";
|
|
12879
12879
|
let Oo = ln, ir = !1, Ii = null;
|
|
12880
|
-
const ec = He({}, [Lo, zr, ln], Sc), Qs =
|
|
12880
|
+
const ec = He({}, [Lo, zr, ln], Sc), Qs = Ot(["mi", "mo", "mn", "ms", "mtext"]);
|
|
12881
12881
|
let cn = He({}, Qs);
|
|
12882
|
-
const ea =
|
|
12882
|
+
const ea = Ot(["annotation-xml"]);
|
|
12883
12883
|
let Ni = He({}, ea);
|
|
12884
12884
|
const tc = He({}, ["title", "style", "font", "a", "script"]);
|
|
12885
12885
|
let sr = null;
|
|
@@ -12891,10 +12891,10 @@ function fm() {
|
|
|
12891
12891
|
let D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
12892
12892
|
if (Ln && Ln === D)
|
|
12893
12893
|
return;
|
|
12894
|
-
(!D || typeof D != "object") && (D = {}), D =
|
|
12895
|
-
Pi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? Fi : D.PARSER_MEDIA_TYPE, Qe = sr === "application/xhtml+xml" ? Sc : ns, Pe = Po(D, "ALLOWED_TAGS",
|
|
12894
|
+
(!D || typeof D != "object") && (D = {}), D = zt(D), sr = // eslint-disable-next-line unicorn/prefer-includes
|
|
12895
|
+
Pi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? Fi : D.PARSER_MEDIA_TYPE, Qe = sr === "application/xhtml+xml" ? Sc : ns, Pe = Po(D, "ALLOWED_TAGS", Bt, {
|
|
12896
12896
|
transform: Qe
|
|
12897
|
-
}), W = Po(D, "ALLOWED_ATTR",
|
|
12897
|
+
}), W = Po(D, "ALLOWED_ATTR", ve, {
|
|
12898
12898
|
transform: Qe
|
|
12899
12899
|
}), Ii = Po(D, "ALLOWED_NAMESPACES", ec, {
|
|
12900
12900
|
transform: Sc
|
|
@@ -12904,15 +12904,15 @@ function fm() {
|
|
|
12904
12904
|
}), Xs = Po(D, "ADD_DATA_URI_TAGS", Oi, {
|
|
12905
12905
|
transform: Qe,
|
|
12906
12906
|
base: Oi
|
|
12907
|
-
}),
|
|
12907
|
+
}), Wt = Po(D, "FORBID_CONTENTS", Mo, {
|
|
12908
12908
|
transform: Qe
|
|
12909
|
-
}), Ee = Po(D, "FORBID_TAGS",
|
|
12909
|
+
}), Ee = Po(D, "FORBID_TAGS", zt({}), {
|
|
12910
12910
|
transform: Qe
|
|
12911
|
-
}), ut = Po(D, "FORBID_ATTR",
|
|
12911
|
+
}), ut = Po(D, "FORBID_ATTR", zt({}), {
|
|
12912
12912
|
transform: Qe
|
|
12913
|
-
}), Le = xt(D, "USE_PROFILES") ? D.USE_PROFILES && typeof D.USE_PROFILES == "object" ?
|
|
12914
|
-
const z = xt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ?
|
|
12915
|
-
if (De = Jr(null), xt(z, "tagNameCheck") && ta(z.tagNameCheck) && (De.tagNameCheck = z.tagNameCheck), xt(z, "attributeNameCheck") && ta(z.attributeNameCheck) && (De.attributeNameCheck = z.attributeNameCheck), xt(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements),
|
|
12913
|
+
}), Le = xt(D, "USE_PROFILES") ? D.USE_PROFILES && typeof D.USE_PROFILES == "object" ? zt(D.USE_PROFILES) : D.USE_PROFILES : !1, Ze = D.ALLOW_ARIA_ATTR !== !1, ot = D.ALLOW_DATA_ATTR !== !1, pt = D.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ge = D.SAFE_FOR_TEMPLATES || !1, Ut = D.SAFE_FOR_XML !== !1, wt = D.WHOLE_DOCUMENT || !1, Kn = D.RETURN_DOM || !1, Do = D.RETURN_DOM_FRAGMENT || !1, B = D.RETURN_TRUSTED_TYPE || !1, Zn = D.FORCE_BODY || !1, X = D.SANITIZE_DOM !== !1, ye = D.SANITIZE_NAMED_PROPS || !1, sn = D.KEEP_CONTENT !== !1, Ht = D.IN_PLACE || !1, Be = kle(D.ALLOWED_URI_REGEXP) ? D.ALLOWED_URI_REGEXP : kf, Oo = typeof D.NAMESPACE == "string" ? D.NAMESPACE : ln, cn = xt(D, "MATHML_TEXT_INTEGRATION_POINTS") && D.MATHML_TEXT_INTEGRATION_POINTS && typeof D.MATHML_TEXT_INTEGRATION_POINTS == "object" ? zt(D.MATHML_TEXT_INTEGRATION_POINTS) : He({}, Qs), Ni = xt(D, "HTML_INTEGRATION_POINTS") && D.HTML_INTEGRATION_POINTS && typeof D.HTML_INTEGRATION_POINTS == "object" ? zt(D.HTML_INTEGRATION_POINTS) : He({}, ea);
|
|
12914
|
+
const z = xt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? zt(D.CUSTOM_ELEMENT_HANDLING) : Jr(null);
|
|
12915
|
+
if (De = Jr(null), xt(z, "tagNameCheck") && ta(z.tagNameCheck) && (De.tagNameCheck = z.tagNameCheck), xt(z, "attributeNameCheck") && ta(z.attributeNameCheck) && (De.attributeNameCheck = z.attributeNameCheck), xt(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements), Pt(De), Ge && (ot = !1), Do && (Kn = !0), Le && (Pe = He({}, yf), W = Jr(null), Le.html === !0 && (He(Pe, _f), He(W, bf)), Le.svg === !0 && (He(Pe, xc), He(W, Tc), He(W, ha)), Le.svgFilters === !0 && (He(Pe, Ac), He(W, Tc), He(W, ha)), Le.mathMl === !0 && (He(Pe, Ec), He(W, Cf), He(W, ha))), We.tagCheck = null, We.attributeCheck = null, xt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? We.tagCheck = D.ADD_TAGS : Uo(D.ADD_TAGS) && (Pe === Bt && (Pe = zt(Pe)), He(Pe, D.ADD_TAGS, Qe))), xt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? We.attributeCheck = D.ADD_ATTR : Uo(D.ADD_ATTR) && (W === ve && (W = zt(W)), He(W, D.ADD_ATTR, Qe))), xt(D, "ADD_URI_SAFE_ATTR") && Uo(D.ADD_URI_SAFE_ATTR) && He(an, D.ADD_URI_SAFE_ATTR, Qe), xt(D, "FORBID_CONTENTS") && Uo(D.FORBID_CONTENTS) && (Wt === Mo && (Wt = zt(Wt)), He(Wt, D.FORBID_CONTENTS, Qe)), xt(D, "ADD_FORBID_CONTENTS") && Uo(D.ADD_FORBID_CONTENTS) && (Wt === Mo && (Wt = zt(Wt)), He(Wt, D.ADD_FORBID_CONTENTS, Qe)), sn && (Pe["#text"] = !0), wt && He(Pe, ["html", "head", "body"]), Pe.table && (He(Pe, ["tbody"]), delete Ee.tbody), D.TRUSTED_TYPES_POLICY) {
|
|
12916
12916
|
if (typeof D.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
12917
12917
|
throw lr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
12918
12918
|
if (typeof D.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -12926,7 +12926,7 @@ function fm() {
|
|
|
12926
12926
|
}
|
|
12927
12927
|
} else
|
|
12928
12928
|
D.TRUSTED_TYPES_POLICY === null ? ($ = void 0, E = "") : ($ === void 0 && ($ = H()), $ && typeof E == "string" && (E = L("")));
|
|
12929
|
-
|
|
12929
|
+
Ot && Ot(D), Ln = D;
|
|
12930
12930
|
}, Bi = He({}, [...xc, ...Ac, ...wle]), U = He({}, [...Ec, ...Sle]), ae = function(D, z, ne) {
|
|
12931
12931
|
return z.namespaceURI === ln ? D === "svg" : z.namespaceURI === Lo ? D === "svg" && (ne === "annotation-xml" || cn[ne]) : !!Bi[D];
|
|
12932
12932
|
}, Fe = function(D, z, ne) {
|
|
@@ -13020,7 +13020,7 @@ function fm() {
|
|
|
13020
13020
|
z.push(Ae[Ie]);
|
|
13021
13021
|
}
|
|
13022
13022
|
}, I0 = function(D) {
|
|
13023
|
-
if (!
|
|
13023
|
+
if (!Ut)
|
|
13024
13024
|
return;
|
|
13025
13025
|
const z = [D];
|
|
13026
13026
|
for (; z.length > 0; ) {
|
|
@@ -13145,11 +13145,11 @@ function fm() {
|
|
|
13145
13145
|
});
|
|
13146
13146
|
}
|
|
13147
13147
|
const N0 = function(D, z) {
|
|
13148
|
-
return !!(
|
|
13148
|
+
return !!(Ut && D.hasChildNodes() && !zi(D.firstElementChild) && St(wf, D.textContent) && St(wf, D.innerHTML) || Ut && D.namespaceURI === ln && z === "style" && zi(D.firstElementChild) || D.nodeType === un.processingInstruction || Ut && D.nodeType === un.comment && St(Sf, D.data));
|
|
13149
13149
|
}, P0 = function(D, z, ne) {
|
|
13150
13150
|
if (!Ee[z] && i1(z) && (De.tagNameCheck instanceof RegExp && St(De.tagNameCheck, z) || De.tagNameCheck instanceof Function && De.tagNameCheck(z)))
|
|
13151
13151
|
return !1;
|
|
13152
|
-
if (sn && !
|
|
13152
|
+
if (sn && !Wt[z]) {
|
|
13153
13153
|
const ke = v(D), Ae = y(D);
|
|
13154
13154
|
if (Ae && ke) {
|
|
13155
13155
|
const Ie = Ae.length;
|
|
@@ -13161,18 +13161,18 @@ function fm() {
|
|
|
13161
13161
|
}
|
|
13162
13162
|
return On(D), !0;
|
|
13163
13163
|
}, n1 = function(D, z, ne, ke) {
|
|
13164
|
-
return D.length === 0 ? z : z === ne || z === ke ?
|
|
13164
|
+
return D.length === 0 ? z : z === ne || z === ke ? zt(z) : z;
|
|
13165
13165
|
}, o1 = function(D, z) {
|
|
13166
13166
|
if (Gn(he.beforeSanitizeElements, D, null), D !== z && v(D) === null)
|
|
13167
|
-
return
|
|
13167
|
+
return Ht && Hi(D), !0;
|
|
13168
13168
|
if (ra(D))
|
|
13169
13169
|
return On(D), !0;
|
|
13170
13170
|
const ne = Qe(S ? S(D) : D.nodeName);
|
|
13171
|
-
if (Pe = n1(he.uponSanitizeElement, Pe,
|
|
13171
|
+
if (Pe = n1(he.uponSanitizeElement, Pe, Bt, Mn), Gn(he.uponSanitizeElement, D, {
|
|
13172
13172
|
tagName: ne,
|
|
13173
13173
|
allowedTags: Pe
|
|
13174
13174
|
}), D !== z && v(D) === null)
|
|
13175
|
-
return
|
|
13175
|
+
return Ht && Hi(D), !0;
|
|
13176
13176
|
if (N0(D, ne))
|
|
13177
13177
|
return On(D), !0;
|
|
13178
13178
|
if (Ee[ne] || !(We.tagCheck instanceof Function && We.tagCheck(ne)) && !Pe[ne]) {
|
|
@@ -13189,7 +13189,7 @@ function fm() {
|
|
|
13189
13189
|
}
|
|
13190
13190
|
return Gn(he.afterSanitizeElements, D, null), !1;
|
|
13191
13191
|
}, r1 = function(D, z, ne) {
|
|
13192
|
-
if (ut[z] ||
|
|
13192
|
+
if (ut[z] || Ut && z === "patchsrc" || Ut && z === "for" && D !== "label" && D !== "output" || X && (z === "id" || z === "name") && (ne in n || ne in Ri))
|
|
13193
13193
|
return !1;
|
|
13194
13194
|
const ke = W[z] || We.attributeCheck instanceof Function && We.attributeCheck(z, D);
|
|
13195
13195
|
if (!(ot && St(Z, z))) {
|
|
@@ -13239,7 +13239,7 @@ function fm() {
|
|
|
13239
13239
|
const z = D.attributes;
|
|
13240
13240
|
if (!z || ra(D))
|
|
13241
13241
|
return;
|
|
13242
|
-
W = n1(he.uponSanitizeAttribute, W,
|
|
13242
|
+
W = n1(he.uponSanitizeAttribute, W, ve, Wn);
|
|
13243
13243
|
const ne = {
|
|
13244
13244
|
attrName: "",
|
|
13245
13245
|
attrValue: "",
|
|
@@ -13251,12 +13251,12 @@ function fm() {
|
|
|
13251
13251
|
const Ae = Qe(D.nodeName);
|
|
13252
13252
|
for (; ke--; ) {
|
|
13253
13253
|
const Ie = z[ke], et = Ie.name, at = Ie.namespaceURI, Qt = Ie.value, en = Qe(et), rc = Qt;
|
|
13254
|
-
let
|
|
13255
|
-
if (ne.attrName = en, ne.attrValue =
|
|
13254
|
+
let Zt = et === "value" ? rc : gle(rc);
|
|
13255
|
+
if (ne.attrName = en, ne.attrValue = Zt, ne.keepAttr = !0, ne.forceKeepAttr = void 0, Gn(he.uponSanitizeAttribute, D, ne), Zt = ne.attrValue, ye && (en === "id" || en === "name") && mf(Zt, mt) !== 0 && (ho(et, D), Zt = mt + Zt), Ut && St(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Zt)) {
|
|
13256
13256
|
ho(et, D);
|
|
13257
13257
|
continue;
|
|
13258
13258
|
}
|
|
13259
|
-
if (en === "attributename" && hf(
|
|
13259
|
+
if (en === "attributename" && hf(Zt, "href")) {
|
|
13260
13260
|
ho(et, D);
|
|
13261
13261
|
continue;
|
|
13262
13262
|
}
|
|
@@ -13265,15 +13265,15 @@ function fm() {
|
|
|
13265
13265
|
ho(et, D);
|
|
13266
13266
|
continue;
|
|
13267
13267
|
}
|
|
13268
|
-
if (!ht && St(Nle,
|
|
13268
|
+
if (!ht && St(Nle, Zt)) {
|
|
13269
13269
|
ho(et, D);
|
|
13270
13270
|
continue;
|
|
13271
13271
|
}
|
|
13272
|
-
if (Ge && (
|
|
13272
|
+
if (Ge && (Zt = oa(Zt)), !r1(Ae, en, Zt)) {
|
|
13273
13273
|
ho(et, D);
|
|
13274
13274
|
continue;
|
|
13275
13275
|
}
|
|
13276
|
-
|
|
13276
|
+
Zt = R0(Ae, en, at, Zt), Zt !== rc && B0(D, et, at, Zt);
|
|
13277
13277
|
}
|
|
13278
13278
|
}
|
|
13279
13279
|
Gn(he.afterSanitizeAttributes, D, null);
|
|
@@ -13332,8 +13332,8 @@ function fm() {
|
|
|
13332
13332
|
throw lr("dirty is not a string, aborting");
|
|
13333
13333
|
if (!e.isSupported)
|
|
13334
13334
|
return ce;
|
|
13335
|
-
rn ? (Pe = Mn, W = Wn) : Io(D), (he.uponSanitizeElement.length > 0 || he.uponSanitizeAttribute.length > 0) && (Pe =
|
|
13336
|
-
const Ie =
|
|
13335
|
+
rn ? (Pe = Mn, W = Wn) : Io(D), (he.uponSanitizeElement.length > 0 || he.uponSanitizeAttribute.length > 0) && (Pe = zt(Pe)), he.uponSanitizeAttribute.length > 0 && (W = zt(W)), e.removed = [];
|
|
13336
|
+
const Ie = Ht && typeof ce != "string" && zi(ce);
|
|
13337
13337
|
if (Ie) {
|
|
13338
13338
|
I0(ce);
|
|
13339
13339
|
const Qt = S ? S(ce) : ce.nodeName;
|
|
@@ -13476,7 +13476,7 @@ function gm(...t) {
|
|
|
13476
13476
|
}
|
|
13477
13477
|
const qle = 0, jle = 1, Vle = 2, vm = 128, Wle = 1, Zle = 2, Kle = 3, Gle = 4, Yle = 5, Jle = 6, Ol = Cs || _i || ks ? " " : "", Xo = `
|
|
13478
13478
|
|
|
13479
|
-
`, Xle = Ar ? " " : Ol,
|
|
13479
|
+
`, Xle = Ar ? " " : Ol, Kt = { bold: 1, capitalize: 1024, code: 16, highlight: vm, italic: 2, lowercase: 256, strikethrough: 4, subscript: 32, superscript: 64, underline: 8, uppercase: 512 }, Qle = { directionless: 1, unmergeable: 2 }, Ef = { center: 2, end: 6, justify: 4, left: 1, right: 3, start: 5 }, ece = { [Zle]: "center", [Jle]: "end", [Gle]: "justify", [Wle]: "left", [Kle]: "right", [Yle]: "start" }, tce = { normal: 0, segmented: 2, token: 1 }, nce = { [qle]: "normal", [Vle]: "segmented", [jle]: "token" }, Tf = "$config";
|
|
13480
13480
|
function _m(t, e, n, o, r, i) {
|
|
13481
13481
|
let s = t.getFirstChild();
|
|
13482
13482
|
for (; s !== null; ) {
|
|
@@ -13575,7 +13575,7 @@ function ym(t, e, n) {
|
|
|
13575
13575
|
}
|
|
13576
13576
|
n.takeRecords();
|
|
13577
13577
|
}
|
|
13578
|
-
r !== null && (c &&
|
|
13578
|
+
r !== null && (c && Ft(r), Ar && Sg(t) && r.insertRawText(u));
|
|
13579
13579
|
});
|
|
13580
13580
|
} finally {
|
|
13581
13581
|
ou = !1;
|
|
@@ -13803,14 +13803,14 @@ function Pf(t) {
|
|
|
13803
13803
|
t.set(o.__key, r ? o.getChildrenSize() : 0, "element", !0);
|
|
13804
13804
|
}
|
|
13805
13805
|
}
|
|
13806
|
-
let Er,
|
|
13806
|
+
let Er, Vt, ws, Il, ru, iu, Tr, Rn, su, Ss, Ct = "", Xn = null, Qn = "", yo = "", Xr = !1, ja = !1;
|
|
13807
13807
|
function Va(t, e) {
|
|
13808
13808
|
const n = Tr.get(t);
|
|
13809
13809
|
if (e !== null) {
|
|
13810
13810
|
const o = uu(t);
|
|
13811
13811
|
o.parentNode === e && e.removeChild(o);
|
|
13812
13812
|
}
|
|
13813
|
-
if (Rn.has(t) ||
|
|
13813
|
+
if (Rn.has(t) || Vt._keyToDOMMap.delete(t), K(n)) {
|
|
13814
13814
|
const o = Za(n, Tr);
|
|
13815
13815
|
au(o, 0, o.length - 1, null);
|
|
13816
13816
|
}
|
|
@@ -13855,14 +13855,14 @@ function lu(t, e) {
|
|
|
13855
13855
|
function Wa(t, e) {
|
|
13856
13856
|
const n = Rn.get(t);
|
|
13857
13857
|
n === void 0 && re(60);
|
|
13858
|
-
const o = n.createDOM(Er,
|
|
13858
|
+
const o = n.createDOM(Er, Vt);
|
|
13859
13859
|
if (function(r, i, s) {
|
|
13860
13860
|
const a = s._keyToDOMMap;
|
|
13861
13861
|
(function(l, c, u) {
|
|
13862
13862
|
const f = `__lexicalKey_${c._key}`;
|
|
13863
13863
|
l[f] = u;
|
|
13864
13864
|
})(i, s, r), a.set(r, i);
|
|
13865
|
-
}(t, o,
|
|
13865
|
+
}(t, o, Vt), ue(n) ? o.setAttribute("data-lexical-text", "true") : qe(n) && o.setAttribute("data-lexical-decorator", "true"), K(n)) {
|
|
13866
13866
|
const r = n.__indent, i = n.__size;
|
|
13867
13867
|
if (lu(o, n), r !== 0 && Am(o, r), i !== 0) {
|
|
13868
13868
|
const a = i - 1;
|
|
@@ -13873,7 +13873,7 @@ function Wa(t, e) {
|
|
|
13873
13873
|
} else {
|
|
13874
13874
|
const r = n.getTextContent();
|
|
13875
13875
|
if (qe(n)) {
|
|
13876
|
-
const i = n.decorate(
|
|
13876
|
+
const i = n.decorate(Vt, Er);
|
|
13877
13877
|
i !== null && $m(t, i), o.contentEditable = "false";
|
|
13878
13878
|
}
|
|
13879
13879
|
Ct += r, yo += r;
|
|
@@ -13954,7 +13954,7 @@ function pce(t, e, n) {
|
|
|
13954
13954
|
const H = w.has(A), q = S.has(L);
|
|
13955
13955
|
if (H)
|
|
13956
13956
|
if (q) {
|
|
13957
|
-
const ee = Dr(
|
|
13957
|
+
const ee = Dr(Vt, L);
|
|
13958
13958
|
ee === $ ? $ = Mc(os(L, m.element)) : (m.withBefore($).insertChild(ee), os(L, m.element)), E++, x++;
|
|
13959
13959
|
} else
|
|
13960
13960
|
Wa(L, m.withBefore($)), x++;
|
|
@@ -13966,7 +13966,7 @@ function pce(t, e, n) {
|
|
|
13966
13966
|
}
|
|
13967
13967
|
const M = E > _, I = x > C;
|
|
13968
13968
|
if (M && !I) {
|
|
13969
|
-
const A = g[C + 1], L = A === void 0 ? null :
|
|
13969
|
+
const A = g[C + 1], L = A === void 0 ? null : Vt.getElementByKey(A);
|
|
13970
13970
|
cu(g, p, x, C, m.withBefore(L));
|
|
13971
13971
|
} else
|
|
13972
13972
|
I && !M && au(h, E, _, m.element);
|
|
@@ -13990,7 +13990,7 @@ function os(t, e) {
|
|
|
13990
13990
|
const n = Tr.get(t);
|
|
13991
13991
|
let o = Rn.get(t);
|
|
13992
13992
|
n !== void 0 && o !== void 0 || re(61);
|
|
13993
|
-
const r = Xr || iu.has(t) || ru.has(t), i = Dr(
|
|
13993
|
+
const r = Xr || iu.has(t) || ru.has(t), i = Dr(Vt, t);
|
|
13994
13994
|
if (n === o && !r) {
|
|
13995
13995
|
if (K(n)) {
|
|
13996
13996
|
const s = i.__lexicalTextContent;
|
|
@@ -14011,11 +14011,11 @@ function os(t, e) {
|
|
|
14011
14011
|
const a = o.__format;
|
|
14012
14012
|
if ((Xr || a !== n.__format) && Em(i, a), r && (pce(n, o, i), vt(o) || o.isInline() || Tm(n, o, i)), ql(o) && (Ct += Xo, yo += Xo), (Xr || o.__dir !== n.__dir) && (lu(i, o), vt(o) && !Xr))
|
|
14013
14013
|
for (const l of o.getChildren())
|
|
14014
|
-
K(l) && lu(Dr(
|
|
14014
|
+
K(l) && lu(Dr(Vt, l.getKey()), l);
|
|
14015
14015
|
} else {
|
|
14016
14016
|
const s = o.getTextContent();
|
|
14017
14017
|
if (qe(o)) {
|
|
14018
|
-
const a = o.decorate(
|
|
14018
|
+
const a = o.decorate(Vt, Er);
|
|
14019
14019
|
a !== null && $m(t, a);
|
|
14020
14020
|
}
|
|
14021
14021
|
Ct += s, yo += s;
|
|
@@ -14027,23 +14027,23 @@ function os(t, e) {
|
|
|
14027
14027
|
return i;
|
|
14028
14028
|
}
|
|
14029
14029
|
function $m(t, e) {
|
|
14030
|
-
let n =
|
|
14031
|
-
const o =
|
|
14030
|
+
let n = Vt._pendingDecorators;
|
|
14031
|
+
const o = Vt._decorators;
|
|
14032
14032
|
if (n === null) {
|
|
14033
14033
|
if (o[t] === e)
|
|
14034
14034
|
return;
|
|
14035
|
-
n = yg(
|
|
14035
|
+
n = yg(Vt);
|
|
14036
14036
|
}
|
|
14037
14037
|
n[t] = e;
|
|
14038
14038
|
}
|
|
14039
14039
|
function Mc(t) {
|
|
14040
14040
|
let e = t.nextSibling;
|
|
14041
|
-
return e !== null && e ===
|
|
14041
|
+
return e !== null && e === Vt._blockCursorElement && (e = e.nextSibling), e;
|
|
14042
14042
|
}
|
|
14043
14043
|
function hce(t, e, n, o, r, i) {
|
|
14044
|
-
Ct = "", yo = "", Xr = o === 2,
|
|
14044
|
+
Ct = "", yo = "", Xr = o === 2, Vt = n, Er = n._config, ws = n._nodes, Il = Vt._listeners.mutation, ru = r, iu = i, Tr = t._nodeMap, Rn = e._nodeMap, ja = e._readOnly, su = new Map(n._keyToDOMMap);
|
|
14045
14045
|
const s = /* @__PURE__ */ new Map();
|
|
14046
|
-
return Ss = s, os("root", null),
|
|
14046
|
+
return Ss = s, os("root", null), Vt = void 0, ws = void 0, ru = void 0, iu = void 0, Tr = void 0, Rn = void 0, Er = void 0, su = void 0, Ss = void 0, s;
|
|
14047
14047
|
}
|
|
14048
14048
|
function uu(t) {
|
|
14049
14049
|
const e = su.get(t);
|
|
@@ -14053,7 +14053,7 @@ function $e(t) {
|
|
|
14053
14053
|
return { type: t };
|
|
14054
14054
|
}
|
|
14055
14055
|
const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), Mm = $e("CLICK_COMMAND"), yr = $e("DELETE_CHARACTER_COMMAND"), ii = $e("INSERT_LINE_BREAK_COMMAND"), xs = $e("INSERT_PARAGRAPH_COMMAND"), si = $e("CONTROLLED_TEXT_INSERTION_COMMAND"), ud = $e("PASTE_COMMAND"), du = $e("REMOVE_TEXT_COMMAND"), As = $e("DELETE_WORD_COMMAND"), Es = $e("DELETE_LINE_COMMAND"), wn = $e("FORMAT_TEXT_COMMAND"), dd = $e("UNDO_COMMAND"), fd = $e("REDO_COMMAND"), gce = $e("KEYDOWN_COMMAND"), Lm = $e("KEY_ARROW_RIGHT_COMMAND"), vce = $e("MOVE_TO_END"), Om = $e("KEY_ARROW_LEFT_COMMAND"), _ce = $e("MOVE_TO_START"), Im = $e("KEY_ARROW_UP_COMMAND"), Nm = $e("KEY_ARROW_DOWN_COMMAND"), Ka = $e("KEY_ENTER_COMMAND"), Pm = $e("KEY_SPACE_COMMAND"), Fm = $e("KEY_BACKSPACE_COMMAND"), Rm = $e("KEY_ESCAPE_COMMAND"), Bm = $e("KEY_DELETE_COMMAND"), Um = $e("KEY_TAB_COMMAND"), yce = $e("INSERT_TAB_COMMAND"), bce = $e("INDENT_CONTENT_COMMAND"), Rf = $e("OUTDENT_CONTENT_COMMAND"), Hm = $e("DROP_COMMAND"), Cce = $e("FORMAT_ELEMENT_COMMAND"), zm = $e("DRAGSTART_COMMAND"), qm = $e("DRAGOVER_COMMAND"), kce = $e("DRAGEND_COMMAND"), Nl = $e("COPY_COMMAND"), pd = $e("CUT_COMMAND"), fu = $e("SELECT_ALL_COMMAND"), wce = $e("CLEAR_EDITOR_COMMAND"), Sce = $e("CLEAR_HISTORY_COMMAND"), ma = $e("CAN_REDO_COMMAND"), ga = $e("CAN_UNDO_COMMAND"), xce = $e("FOCUS_COMMAND"), Ace = $e("BLUR_COMMAND"), Ece = $e("KEY_MODIFIER_COMMAND"), mo = Object.freeze({}), pu = [["keydown", function(t, e) {
|
|
14056
|
-
if (ls = t.timeStamp, jm = t.key, !e.isComposing() && !
|
|
14056
|
+
if (ls = t.timeStamp, jm = t.key, !e.isComposing() && !_e(e, gce, t) && t.key != null) {
|
|
14057
14057
|
if (Lc && pp(t))
|
|
14058
14058
|
return fn(e, () => {
|
|
14059
14059
|
va(e, Oc);
|
|
@@ -14061,108 +14061,108 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
|
|
|
14061
14061
|
if (function(n) {
|
|
14062
14062
|
return Je(n, "ArrowRight", { shiftKey: "any" });
|
|
14063
14063
|
}(t))
|
|
14064
|
-
|
|
14064
|
+
_e(e, Lm, t);
|
|
14065
14065
|
else if (function(n) {
|
|
14066
14066
|
return Je(n, "ArrowRight", vo);
|
|
14067
14067
|
}(t))
|
|
14068
|
-
|
|
14068
|
+
_e(e, vce, t);
|
|
14069
14069
|
else if (function(n) {
|
|
14070
14070
|
return Je(n, "ArrowLeft", { shiftKey: "any" });
|
|
14071
14071
|
}(t))
|
|
14072
|
-
|
|
14072
|
+
_e(e, Om, t);
|
|
14073
14073
|
else if (function(n) {
|
|
14074
14074
|
return Je(n, "ArrowLeft", vo);
|
|
14075
14075
|
}(t))
|
|
14076
|
-
|
|
14076
|
+
_e(e, _ce, t);
|
|
14077
14077
|
else if (function(n) {
|
|
14078
14078
|
return Je(n, "ArrowUp", { altKey: "any", shiftKey: "any" });
|
|
14079
14079
|
}(t))
|
|
14080
|
-
|
|
14080
|
+
_e(e, Im, t);
|
|
14081
14081
|
else if (function(n) {
|
|
14082
14082
|
return Je(n, "ArrowDown", { altKey: "any", shiftKey: "any" });
|
|
14083
14083
|
}(t))
|
|
14084
|
-
|
|
14084
|
+
_e(e, Nm, t);
|
|
14085
14085
|
else if (function(n) {
|
|
14086
14086
|
return Je(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any", shiftKey: !0 });
|
|
14087
14087
|
}(t))
|
|
14088
|
-
cs = !0,
|
|
14088
|
+
cs = !0, _e(e, Ka, t);
|
|
14089
14089
|
else if (function(n) {
|
|
14090
14090
|
return n.key === " ";
|
|
14091
14091
|
}(t))
|
|
14092
|
-
|
|
14092
|
+
_e(e, Pm, t);
|
|
14093
14093
|
else if (function(n) {
|
|
14094
14094
|
return Nn && Je(n, "o", { ctrlKey: !0 });
|
|
14095
14095
|
}(t))
|
|
14096
|
-
t.preventDefault(), cs = !0,
|
|
14096
|
+
t.preventDefault(), cs = !0, _e(e, ii, !0);
|
|
14097
14097
|
else if (function(n) {
|
|
14098
14098
|
return Je(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any" });
|
|
14099
14099
|
}(t))
|
|
14100
|
-
cs = !1,
|
|
14100
|
+
cs = !1, _e(e, Ka, t);
|
|
14101
14101
|
else if (function(n) {
|
|
14102
14102
|
return Je(n, "Backspace", { shiftKey: "any" }) || Nn && Je(n, "h", { ctrlKey: !0 });
|
|
14103
14103
|
}(t))
|
|
14104
|
-
pp(t) ?
|
|
14104
|
+
pp(t) ? _e(e, Fm, t) : (t.preventDefault(), _e(e, yr, !0));
|
|
14105
14105
|
else if (function(n) {
|
|
14106
14106
|
return n.key === "Escape";
|
|
14107
14107
|
}(t))
|
|
14108
|
-
|
|
14108
|
+
_e(e, Rm, t);
|
|
14109
14109
|
else if (function(n) {
|
|
14110
14110
|
return Je(n, "Delete", {}) || Nn && Je(n, "d", { ctrlKey: !0 });
|
|
14111
14111
|
}(t))
|
|
14112
14112
|
(function(n) {
|
|
14113
14113
|
return n.key === "Delete";
|
|
14114
|
-
})(t) ?
|
|
14114
|
+
})(t) ? _e(e, Bm, t) : (t.preventDefault(), _e(e, yr, !1));
|
|
14115
14115
|
else if (function(n) {
|
|
14116
14116
|
return Je(n, "Backspace", fp);
|
|
14117
14117
|
}(t))
|
|
14118
|
-
t.preventDefault(),
|
|
14118
|
+
t.preventDefault(), _e(e, As, !0);
|
|
14119
14119
|
else if (function(n) {
|
|
14120
14120
|
return Je(n, "Delete", fp);
|
|
14121
14121
|
}(t))
|
|
14122
|
-
t.preventDefault(),
|
|
14122
|
+
t.preventDefault(), _e(e, As, !1);
|
|
14123
14123
|
else if (function(n) {
|
|
14124
14124
|
return Nn && Je(n, "Backspace", { metaKey: !0 });
|
|
14125
14125
|
}(t))
|
|
14126
|
-
t.preventDefault(),
|
|
14126
|
+
t.preventDefault(), _e(e, Es, !0);
|
|
14127
14127
|
else if (function(n) {
|
|
14128
14128
|
return Nn && (Je(n, "Delete", { metaKey: !0 }) || Je(n, "k", { ctrlKey: !0 }));
|
|
14129
14129
|
}(t))
|
|
14130
|
-
t.preventDefault(),
|
|
14130
|
+
t.preventDefault(), _e(e, Es, !1);
|
|
14131
14131
|
else if (function(n) {
|
|
14132
14132
|
return Je(n, "b", vo);
|
|
14133
14133
|
}(t))
|
|
14134
|
-
t.preventDefault(),
|
|
14134
|
+
t.preventDefault(), _e(e, wn, "bold");
|
|
14135
14135
|
else if (function(n) {
|
|
14136
14136
|
return Je(n, "u", vo);
|
|
14137
14137
|
}(t))
|
|
14138
|
-
t.preventDefault(),
|
|
14138
|
+
t.preventDefault(), _e(e, wn, "underline");
|
|
14139
14139
|
else if (function(n) {
|
|
14140
14140
|
return Je(n, "i", vo);
|
|
14141
14141
|
}(t))
|
|
14142
|
-
t.preventDefault(),
|
|
14142
|
+
t.preventDefault(), _e(e, wn, "italic");
|
|
14143
14143
|
else if (function(n) {
|
|
14144
14144
|
return Je(n, "Tab", { shiftKey: "any" });
|
|
14145
14145
|
}(t))
|
|
14146
|
-
|
|
14146
|
+
_e(e, Um, t);
|
|
14147
14147
|
else if (function(n) {
|
|
14148
14148
|
return Je(n, "z", vo);
|
|
14149
14149
|
}(t))
|
|
14150
|
-
t.preventDefault(),
|
|
14150
|
+
t.preventDefault(), _e(e, dd, void 0);
|
|
14151
14151
|
else if (function(n) {
|
|
14152
14152
|
return Nn ? Je(n, "z", { metaKey: !0, shiftKey: !0 }) : Je(n, "y", { ctrlKey: !0 }) || Je(n, "z", { ctrlKey: !0, shiftKey: !0 });
|
|
14153
14153
|
}(t))
|
|
14154
|
-
t.preventDefault(),
|
|
14154
|
+
t.preventDefault(), _e(e, fd, void 0);
|
|
14155
14155
|
else {
|
|
14156
14156
|
const n = e._editorState._selection;
|
|
14157
|
-
n === null || oe(n) ? hp(t) && (t.preventDefault(),
|
|
14157
|
+
n === null || oe(n) ? hp(t) && (t.preventDefault(), _e(e, fu, t)) : function(o) {
|
|
14158
14158
|
return Je(o, "c", vo);
|
|
14159
|
-
}(t) ? (t.preventDefault(),
|
|
14159
|
+
}(t) ? (t.preventDefault(), _e(e, Nl, t)) : function(o) {
|
|
14160
14160
|
return Je(o, "x", vo);
|
|
14161
|
-
}(t) ? (t.preventDefault(),
|
|
14161
|
+
}(t) ? (t.preventDefault(), _e(e, pd, t)) : hp(t) && (t.preventDefault(), _e(e, fu, t));
|
|
14162
14162
|
}
|
|
14163
14163
|
(function(n) {
|
|
14164
14164
|
return n.ctrlKey || n.shiftKey || n.altKey || n.metaKey;
|
|
14165
|
-
})(t) &&
|
|
14165
|
+
})(t) && _e(e, Ece, t);
|
|
14166
14166
|
}
|
|
14167
14167
|
}], ["pointerdown", function(t, e) {
|
|
14168
14168
|
const n = t.target, o = t.pointerType;
|
|
@@ -14174,7 +14174,7 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
|
|
|
14174
14174
|
const n = fe();
|
|
14175
14175
|
if (oe(n) && !e.isComposing()) {
|
|
14176
14176
|
const o = n.anchor, r = n.anchor.getNode();
|
|
14177
|
-
|
|
14177
|
+
Lt(o.key), (t.timeStamp < ls + 30 || o.type === "element" || !n.isCollapsed() || r.getFormat() !== n.format || ue(r) && r.getStyle() !== n.style) && _e(e, si, Xle);
|
|
14178
14178
|
}
|
|
14179
14179
|
});
|
|
14180
14180
|
}], ["compositionend", function(t, e) {
|
|
@@ -14192,9 +14192,9 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
|
|
|
14192
14192
|
if (s === null)
|
|
14193
14193
|
return;
|
|
14194
14194
|
const a = n.isBackward(), l = a ? n.anchor.offset : n.focus.offset, c = a ? n.focus.offset : n.anchor.offset;
|
|
14195
|
-
za && !n.isCollapsed() && ue(i) && s.anchorNode !== null && i.getTextContent().slice(0, l) + o + i.getTextContent().slice(l + c) === wg(s.anchorNode) ||
|
|
14195
|
+
za && !n.isCollapsed() && ue(i) && s.anchorNode !== null && i.getTextContent().slice(0, l) + o + i.getTextContent().slice(l + c) === wg(s.anchorNode) || _e(e, si, o);
|
|
14196
14196
|
const u = o.length;
|
|
14197
|
-
Ar && u > 1 && t.inputType === "insertCompositionText" && !e.isComposing() && (n.anchor.offset -= u), Cs || _i || ks || !e.isComposing() || (ls = 0,
|
|
14197
|
+
Ar && u > 1 && t.inputType === "insertCompositionText" && !e.isComposing() && (n.anchor.offset -= u), Cs || _i || ks || !e.isComposing() || (ls = 0, Lt(null));
|
|
14198
14198
|
} else
|
|
14199
14199
|
Sd(!1, e, o !== null ? o : void 0), Ji && (va(e, o || void 0), Ji = !1);
|
|
14200
14200
|
(function() {
|
|
@@ -14217,10 +14217,10 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
|
|
|
14217
14217
|
}
|
|
14218
14218
|
} else if (t.pointerType === "touch" || t.pointerType === "pen") {
|
|
14219
14219
|
const i = o.anchorNode;
|
|
14220
|
-
(yt(i) || $o(i)) &&
|
|
14220
|
+
(yt(i) || $o(i)) && Ft(md(r, o, e, t));
|
|
14221
14221
|
}
|
|
14222
14222
|
}
|
|
14223
|
-
|
|
14223
|
+
_e(e, Mm, t);
|
|
14224
14224
|
});
|
|
14225
14225
|
}], ["cut", mo], ["copy", mo], ["dragstart", mo], ["dragover", mo], ["dragend", mo], ["paste", mo], ["focus", mo], ["blur", mo], ["drop", mo]];
|
|
14226
14226
|
za && pu.push(["beforeinput", (t, e) => function(n, o) {
|
|
@@ -14232,25 +14232,25 @@ za && pu.push(["beforeinput", (t, e) => function(n, o) {
|
|
|
14232
14232
|
const p = Ti();
|
|
14233
14233
|
if (!oe(p))
|
|
14234
14234
|
return;
|
|
14235
|
-
|
|
14235
|
+
Ft(p.clone());
|
|
14236
14236
|
}
|
|
14237
14237
|
if (oe(s)) {
|
|
14238
14238
|
const p = s.anchor.key === s.focus.key;
|
|
14239
14239
|
if (a = n.timeStamp, jm === "MediaLast" && a < ls + 30 && o.isComposing() && p) {
|
|
14240
|
-
if (
|
|
14240
|
+
if (Lt(null), ls = 0, setTimeout(() => {
|
|
14241
14241
|
fn(o, () => {
|
|
14242
|
-
|
|
14242
|
+
Lt(null);
|
|
14243
14243
|
});
|
|
14244
14244
|
}, 30), oe(s)) {
|
|
14245
14245
|
const h = s.anchor.getNode();
|
|
14246
14246
|
h.markDirty(), ue(h) || re(142), Km(s, h);
|
|
14247
14247
|
}
|
|
14248
14248
|
} else {
|
|
14249
|
-
|
|
14249
|
+
Lt(null), n.preventDefault();
|
|
14250
14250
|
const h = s.anchor.getNode(), g = h.getTextContent(), y = h.canInsertTextAfter(), v = s.anchor.offset === 0 && s.focus.offset === g.length;
|
|
14251
14251
|
let m = Af && p && !v && y;
|
|
14252
14252
|
if (m && s.isCollapsed() && (m = !qe(Cu(s.anchor, !0))), !m) {
|
|
14253
|
-
|
|
14253
|
+
_e(o, yr, !0);
|
|
14254
14254
|
const _ = fe();
|
|
14255
14255
|
Af && oe(_) && _.isCollapsed() && (hr = _, setTimeout(() => hr = null));
|
|
14256
14256
|
}
|
|
@@ -14269,77 +14269,77 @@ za && pu.push(["beforeinput", (t, e) => function(n, o) {
|
|
|
14269
14269
|
case "insertFromYank":
|
|
14270
14270
|
case "insertFromDrop":
|
|
14271
14271
|
case "insertReplacementText":
|
|
14272
|
-
|
|
14272
|
+
_e(o, si, n);
|
|
14273
14273
|
break;
|
|
14274
14274
|
case "insertFromComposition":
|
|
14275
|
-
|
|
14275
|
+
Lt(null), _e(o, si, n);
|
|
14276
14276
|
break;
|
|
14277
14277
|
case "insertLineBreak":
|
|
14278
|
-
|
|
14278
|
+
Lt(null), _e(o, ii, !1);
|
|
14279
14279
|
break;
|
|
14280
14280
|
case "insertParagraph":
|
|
14281
|
-
|
|
14281
|
+
Lt(null), cs && !_i ? (cs = !1, _e(o, ii, !1)) : _e(o, xs, void 0);
|
|
14282
14282
|
break;
|
|
14283
14283
|
case "insertFromPaste":
|
|
14284
14284
|
case "insertFromPasteAsQuotation":
|
|
14285
|
-
|
|
14285
|
+
_e(o, ud, n);
|
|
14286
14286
|
break;
|
|
14287
14287
|
case "deleteByComposition":
|
|
14288
14288
|
(function(p, h) {
|
|
14289
14289
|
return p !== h || K(p) || K(h) || !br(p) || !br(h);
|
|
14290
|
-
})(f, d) &&
|
|
14290
|
+
})(f, d) && _e(o, du, n);
|
|
14291
14291
|
break;
|
|
14292
14292
|
case "deleteByDrag":
|
|
14293
14293
|
case "deleteByCut":
|
|
14294
|
-
|
|
14294
|
+
_e(o, du, n);
|
|
14295
14295
|
break;
|
|
14296
14296
|
case "deleteContent":
|
|
14297
|
-
|
|
14297
|
+
_e(o, yr, !1);
|
|
14298
14298
|
break;
|
|
14299
14299
|
case "deleteWordBackward":
|
|
14300
|
-
|
|
14300
|
+
_e(o, As, !0);
|
|
14301
14301
|
break;
|
|
14302
14302
|
case "deleteWordForward":
|
|
14303
|
-
|
|
14303
|
+
_e(o, As, !1);
|
|
14304
14304
|
break;
|
|
14305
14305
|
case "deleteHardLineBackward":
|
|
14306
14306
|
case "deleteSoftLineBackward":
|
|
14307
|
-
|
|
14307
|
+
_e(o, Es, !0);
|
|
14308
14308
|
break;
|
|
14309
14309
|
case "deleteContentForward":
|
|
14310
14310
|
case "deleteHardLineForward":
|
|
14311
14311
|
case "deleteSoftLineForward":
|
|
14312
|
-
|
|
14312
|
+
_e(o, Es, !1);
|
|
14313
14313
|
break;
|
|
14314
14314
|
case "formatStrikeThrough":
|
|
14315
|
-
|
|
14315
|
+
_e(o, wn, "strikethrough");
|
|
14316
14316
|
break;
|
|
14317
14317
|
case "formatBold":
|
|
14318
|
-
|
|
14318
|
+
_e(o, wn, "bold");
|
|
14319
14319
|
break;
|
|
14320
14320
|
case "formatItalic":
|
|
14321
|
-
|
|
14321
|
+
_e(o, wn, "italic");
|
|
14322
14322
|
break;
|
|
14323
14323
|
case "formatUnderline":
|
|
14324
|
-
|
|
14324
|
+
_e(o, wn, "underline");
|
|
14325
14325
|
break;
|
|
14326
14326
|
case "historyUndo":
|
|
14327
|
-
|
|
14327
|
+
_e(o, dd, void 0);
|
|
14328
14328
|
break;
|
|
14329
14329
|
case "historyRedo":
|
|
14330
|
-
|
|
14330
|
+
_e(o, fd, void 0);
|
|
14331
14331
|
}
|
|
14332
14332
|
else {
|
|
14333
14333
|
if (l === `
|
|
14334
14334
|
`)
|
|
14335
|
-
n.preventDefault(),
|
|
14335
|
+
n.preventDefault(), _e(o, ii, !1);
|
|
14336
14336
|
else if (l === Xo)
|
|
14337
|
-
n.preventDefault(),
|
|
14337
|
+
n.preventDefault(), _e(o, xs, void 0);
|
|
14338
14338
|
else if (l == null && n.dataTransfer) {
|
|
14339
14339
|
const p = n.dataTransfer.getData("text/plain");
|
|
14340
14340
|
n.preventDefault(), s.insertRawText(p);
|
|
14341
14341
|
} else
|
|
14342
|
-
l != null && Zm(s, i, l, n.timeStamp, !0) ? (n.preventDefault(),
|
|
14342
|
+
l != null && Zm(s, i, l, n.timeStamp, !0) ? (n.preventDefault(), _e(o, si, l)) : Qr = l;
|
|
14343
14343
|
Vm = n.timeStamp;
|
|
14344
14344
|
}
|
|
14345
14345
|
});
|
|
@@ -14368,13 +14368,13 @@ function Uf(t, e, n) {
|
|
|
14368
14368
|
const { anchorNode: o, anchorOffset: r, focusNode: i, focusOffset: s } = t;
|
|
14369
14369
|
mu && (mu = !1, Bf(o, r) && Bf(i, s) && !hr) || fn(e, () => {
|
|
14370
14370
|
if (!n)
|
|
14371
|
-
return void
|
|
14371
|
+
return void Ft(null);
|
|
14372
14372
|
if (!Ks(e, o, i))
|
|
14373
14373
|
return;
|
|
14374
14374
|
let a = fe();
|
|
14375
14375
|
if (hr && oe(a) && a.isCollapsed()) {
|
|
14376
14376
|
const l = a.anchor, c = hr.anchor;
|
|
14377
|
-
(l.key === c.key && l.offset === c.offset + 1 || l.offset === 1 && c.getNode().is(l.getNode().getPreviousSibling())) && (a = hr.clone(),
|
|
14377
|
+
(l.key === c.key && l.offset === c.offset + 1 || l.offset === 1 && c.getNode().is(l.getNode().getPreviousSibling())) && (a = hr.clone(), Ft(a));
|
|
14378
14378
|
}
|
|
14379
14379
|
if (hr = null, oe(a)) {
|
|
14380
14380
|
const l = a.anchor, c = l.getNode();
|
|
@@ -14404,7 +14404,7 @@ function Uf(t, e, n) {
|
|
|
14404
14404
|
a.format = C ? _ : 0;
|
|
14405
14405
|
}
|
|
14406
14406
|
}
|
|
14407
|
-
|
|
14407
|
+
_e(e, Dm, void 0);
|
|
14408
14408
|
});
|
|
14409
14409
|
}
|
|
14410
14410
|
function Ea(t, e, n) {
|
|
@@ -14421,7 +14421,7 @@ function Gm(t) {
|
|
|
14421
14421
|
}
|
|
14422
14422
|
function va(t, e) {
|
|
14423
14423
|
const n = t._compositionKey;
|
|
14424
|
-
if (
|
|
14424
|
+
if (Lt(null), n !== null && e != null) {
|
|
14425
14425
|
if (e === "") {
|
|
14426
14426
|
const o = kt(n), r = yi(t.getElementByKey(n));
|
|
14427
14427
|
return void (r !== null && r.nodeValue !== null && ue(o) && xd(o, r.nodeValue, null, null, !0));
|
|
@@ -14431,7 +14431,7 @@ function va(t, e) {
|
|
|
14431
14431
|
const o = fe();
|
|
14432
14432
|
if (oe(o)) {
|
|
14433
14433
|
const r = o.focus;
|
|
14434
|
-
return o.anchor.set(r.key, r.offset, r.type), void
|
|
14434
|
+
return o.anchor.set(r.key, r.offset, r.type), void _e(t, Ka, null);
|
|
14435
14435
|
}
|
|
14436
14436
|
}
|
|
14437
14437
|
}
|
|
@@ -14451,7 +14451,7 @@ function Jm(t) {
|
|
|
14451
14451
|
return;
|
|
14452
14452
|
gu && (gu = !1, fn(n, () => {
|
|
14453
14453
|
const l = Ti(), c = e.anchorNode;
|
|
14454
|
-
(yt(c) || $o(c)) &&
|
|
14454
|
+
(yt(c) || $o(c)) && Ft(md(l, e, n, t));
|
|
14455
14455
|
}));
|
|
14456
14456
|
const o = wd(n), r = o[o.length - 1], i = r._key, s = ai.get(i), a = s || r;
|
|
14457
14457
|
a !== n && Uf(e, a, !1), Uf(e, n, !0), n !== r ? ai.set(i, n) : s && ai.delete(i);
|
|
@@ -14509,7 +14509,7 @@ function vu(t, e, n) {
|
|
|
14509
14509
|
Cr(t), Xa(i, r, a, -1);
|
|
14510
14510
|
} else
|
|
14511
14511
|
Cr(t);
|
|
14512
|
-
n ||
|
|
14512
|
+
n || Jt(r) || r.canBeEmpty() || !r.isEmpty() || vu(r, e), e && i && vt(r) && r.isEmpty() && r.selectEnd();
|
|
14513
14513
|
}
|
|
14514
14514
|
const Xm = Symbol.for("ephemeral");
|
|
14515
14515
|
function Ya(t) {
|
|
@@ -14606,7 +14606,7 @@ class Bn {
|
|
|
14606
14606
|
let e = this;
|
|
14607
14607
|
for (; e !== null; ) {
|
|
14608
14608
|
const n = e.getParent();
|
|
14609
|
-
if (
|
|
14609
|
+
if (Jt(n))
|
|
14610
14610
|
return K(e) || e === this && qe(e) || re(194), e;
|
|
14611
14611
|
e = n;
|
|
14612
14612
|
}
|
|
@@ -14766,11 +14766,11 @@ class Bn {
|
|
|
14766
14766
|
if (vu(r, !1, !0), u === null ? l.__first = s : u.getWritable().__next = s, a.__prev = d, f === null ? l.__last = s : f.getWritable().__prev = s, a.__next = p, a.__parent = h, l.__size = c, n && (K(this) && K(a) || re(139), this.getChildren().forEach((g) => {
|
|
14767
14767
|
a.append(g);
|
|
14768
14768
|
})), oe(o)) {
|
|
14769
|
-
|
|
14769
|
+
Ft(o);
|
|
14770
14770
|
const g = o.anchor, y = o.focus;
|
|
14771
14771
|
g.key === i && Zf(g, a), y.key === i && Zf(y, a);
|
|
14772
14772
|
}
|
|
14773
|
-
return zo() === i &&
|
|
14773
|
+
return zo() === i && Lt(s), a;
|
|
14774
14774
|
}
|
|
14775
14775
|
insertAfter(e, n = !0) {
|
|
14776
14776
|
At(), Bc(this, e);
|
|
@@ -14925,8 +14925,8 @@ function eg(t, e, n, o, r) {
|
|
|
14925
14925
|
let a = !1;
|
|
14926
14926
|
const l = 8 & e && 4 & e;
|
|
14927
14927
|
s !== void 0 && (8 & n && 4 & n ? (a = !0, l || i.add(...s)) : l && i.remove(...s));
|
|
14928
|
-
for (const c in
|
|
14929
|
-
const u =
|
|
14928
|
+
for (const c in Kt) {
|
|
14929
|
+
const u = Kt[c];
|
|
14930
14930
|
if (s = li(r, c), s !== void 0)
|
|
14931
14931
|
if (n & u) {
|
|
14932
14932
|
if (a && (c === "underline" || c === "strikethrough")) {
|
|
@@ -15017,7 +15017,7 @@ class nr extends Bn {
|
|
|
15017
15017
|
return !!(2 & this.getLatest().__detail);
|
|
15018
15018
|
}
|
|
15019
15019
|
hasFormat(n) {
|
|
15020
|
-
const o =
|
|
15020
|
+
const o = Kt[n];
|
|
15021
15021
|
return (this.getFormat() & o) !== 0;
|
|
15022
15022
|
}
|
|
15023
15023
|
isSimpleText() {
|
|
@@ -15079,7 +15079,7 @@ class nr extends Bn {
|
|
|
15079
15079
|
}
|
|
15080
15080
|
setFormat(n) {
|
|
15081
15081
|
const o = this.getWritable();
|
|
15082
|
-
return o.__format = typeof n == "string" ?
|
|
15082
|
+
return o.__format = typeof n == "string" ? Kt[n] : n, o;
|
|
15083
15083
|
}
|
|
15084
15084
|
setDetail(n) {
|
|
15085
15085
|
const o = this.getWritable();
|
|
@@ -15127,7 +15127,7 @@ class nr extends Bn {
|
|
|
15127
15127
|
return rg(l, r, l, i, "text", "text");
|
|
15128
15128
|
{
|
|
15129
15129
|
const c = zo();
|
|
15130
|
-
c !== s.anchor.key && c !== s.focus.key ||
|
|
15130
|
+
c !== s.anchor.key && c !== s.focus.key || Lt(l), s.setTextNodeRange(this, r, this, i);
|
|
15131
15131
|
}
|
|
15132
15132
|
return s;
|
|
15133
15133
|
}
|
|
@@ -15186,7 +15186,7 @@ class nr extends Bn {
|
|
|
15186
15186
|
const M = ft(l[x]);
|
|
15187
15187
|
M.__format = h, M.__style = g, M.__detail = y, M.__state = Lf(o, M);
|
|
15188
15188
|
const I = M.__key;
|
|
15189
|
-
s === i &&
|
|
15189
|
+
s === i && Lt(I), S.push(M);
|
|
15190
15190
|
}
|
|
15191
15191
|
const w = m ? m.offset : null, $ = _ ? _.offset : null;
|
|
15192
15192
|
let E = 0;
|
|
@@ -15214,7 +15214,7 @@ class nr extends Bn {
|
|
|
15214
15214
|
const o = n === this.getPreviousSibling();
|
|
15215
15215
|
o || n === this.getNextSibling() || re(50);
|
|
15216
15216
|
const r = this.__key, i = n.__key, s = this.__text, a = s.length;
|
|
15217
|
-
zo() === i &&
|
|
15217
|
+
zo() === i && Lt(r);
|
|
15218
15218
|
const l = fe();
|
|
15219
15219
|
if (oe(l)) {
|
|
15220
15220
|
const d = l.anchor, p = l.focus;
|
|
@@ -15396,7 +15396,7 @@ class Uce {
|
|
|
15396
15396
|
}
|
|
15397
15397
|
set(e, n, o, r) {
|
|
15398
15398
|
const i = this._selection, s = this.key;
|
|
15399
|
-
r && this.key === e && this.offset === n && this.type === o || (this.key = e, this.offset = n, this.type = o, js() || (zo() === s &&
|
|
15399
|
+
r && this.key === e && this.offset === n && this.type === o || (this.key = e, this.offset = n, this.type = o, js() || (zo() === s && Lt(e), i !== null && (i.setCachedNodes(null), i.dirty = !0)));
|
|
15400
15400
|
}
|
|
15401
15401
|
}
|
|
15402
15402
|
function lo(t, e, n) {
|
|
@@ -15510,7 +15510,7 @@ class Fl {
|
|
|
15510
15510
|
deleteNodes() {
|
|
15511
15511
|
const e = this.getNodes();
|
|
15512
15512
|
if ((fe() || Ti()) === this && e[0]) {
|
|
15513
|
-
const n =
|
|
15513
|
+
const n = It(e[0], "next");
|
|
15514
15514
|
yue(Qo(n, n));
|
|
15515
15515
|
}
|
|
15516
15516
|
for (const n of e)
|
|
@@ -15618,7 +15618,7 @@ class Rr {
|
|
|
15618
15618
|
this.style = e, this.dirty = !0;
|
|
15619
15619
|
}
|
|
15620
15620
|
hasFormat(e) {
|
|
15621
|
-
const n =
|
|
15621
|
+
const n = Kt[e];
|
|
15622
15622
|
return (this.format & n) !== 0;
|
|
15623
15623
|
}
|
|
15624
15624
|
insertRawText(e) {
|
|
@@ -15744,11 +15744,11 @@ class Rr {
|
|
|
15744
15744
|
}
|
|
15745
15745
|
removeText() {
|
|
15746
15746
|
const e = fe() === this;
|
|
15747
|
-
Da(this, bue(bp(this))), e && fe() !== this &&
|
|
15747
|
+
Da(this, bue(bp(this))), e && fe() !== this && Ft(this);
|
|
15748
15748
|
}
|
|
15749
15749
|
formatText(e, n = null) {
|
|
15750
15750
|
if (this.isCollapsed())
|
|
15751
|
-
return this.toggleFormat(e), void
|
|
15751
|
+
return this.toggleFormat(e), void Lt(null);
|
|
15752
15752
|
const o = this.getNodes(), r = [];
|
|
15753
15753
|
for (const C of o)
|
|
15754
15754
|
ue(C) && r.push(C);
|
|
@@ -15761,7 +15761,7 @@ class Rr {
|
|
|
15761
15761
|
});
|
|
15762
15762
|
}, s = r.length;
|
|
15763
15763
|
if (s === 0)
|
|
15764
|
-
return this.toggleFormat(e),
|
|
15764
|
+
return this.toggleFormat(e), Lt(null), void i(n);
|
|
15765
15765
|
const a = this.anchor, l = this.focus, c = this.isBackward(), u = c ? l : a, f = c ? a : l;
|
|
15766
15766
|
let d = 0, p = r[0], h = u.type === "element" ? 0 : u.offset;
|
|
15767
15767
|
if (u.type === "text" && h === p.getTextContentSize() && (d = 1, p = r[1], h = 0), p == null)
|
|
@@ -15968,7 +15968,7 @@ class Rr {
|
|
|
15968
15968
|
if (a.type === "merge-next-block" && (l.origin.isKeyboardSelectable() || !l.origin.isInline()) && K(i.anchor.origin) && i.anchor.origin.isEmpty()) {
|
|
15969
15969
|
i.anchor.origin.remove();
|
|
15970
15970
|
const c = ig();
|
|
15971
|
-
c.add(l.origin.getKey()),
|
|
15971
|
+
c.add(l.origin.getKey()), Ft(c);
|
|
15972
15972
|
} else
|
|
15973
15973
|
l.origin.remove();
|
|
15974
15974
|
return;
|
|
@@ -15978,7 +15978,7 @@ class Rr {
|
|
|
15978
15978
|
}
|
|
15979
15979
|
if (a.type === "merge-block") {
|
|
15980
15980
|
const { caret: l, block: c } = a;
|
|
15981
|
-
return Da(this, Qo(!l.origin.isEmpty() && c.isEmpty() ? Id(
|
|
15981
|
+
return Da(this, Qo(!l.origin.isEmpty() && c.isEmpty() ? Id(It(c, l.direction)) : i.anchor, l)), this.removeText();
|
|
15982
15982
|
}
|
|
15983
15983
|
}
|
|
15984
15984
|
const s = this.focus;
|
|
@@ -16053,7 +16053,7 @@ function Gf(t, e) {
|
|
|
16053
16053
|
if (K(n)) {
|
|
16054
16054
|
if (n.collapseAtStart(t))
|
|
16055
16055
|
return !0;
|
|
16056
|
-
if (
|
|
16056
|
+
if (Jt(n))
|
|
16057
16057
|
break;
|
|
16058
16058
|
}
|
|
16059
16059
|
if (n.getPreviousSibling())
|
|
@@ -16403,7 +16403,7 @@ function tp(t, e, n, o, r = "decorators-and-blocks") {
|
|
|
16403
16403
|
return !1;
|
|
16404
16404
|
if (a && !s && qe(l.origin) && l.origin.isKeyboardSelectable()) {
|
|
16405
16405
|
const u = ig();
|
|
16406
|
-
return u.add(l.origin.getKey()),
|
|
16406
|
+
return u.add(l.origin.getKey()), Ft(u), !0;
|
|
16407
16407
|
}
|
|
16408
16408
|
return l = Sn(l), a && Ir(t.anchor, l), Ir(t.focus, l), c || !s;
|
|
16409
16409
|
}
|
|
@@ -16985,7 +16985,7 @@ class gn extends Bn {
|
|
|
16985
16985
|
return !1;
|
|
16986
16986
|
}
|
|
16987
16987
|
hasTextFormat(n) {
|
|
16988
|
-
const o =
|
|
16988
|
+
const o = Kt[n];
|
|
16989
16989
|
return (this.getTextFormat() & o) !== 0;
|
|
16990
16990
|
}
|
|
16991
16991
|
getFormatFlags(n, o) {
|
|
@@ -17099,7 +17099,7 @@ class gn extends Bn {
|
|
|
17099
17099
|
const h = fe();
|
|
17100
17100
|
if (oe(h)) {
|
|
17101
17101
|
const g = new Set(c), y = new Set(l), { anchor: v, focus: m } = h;
|
|
17102
|
-
lp(v, g, y) && Qa(v, v.getNode(), this, f, u), lp(m, g, y) && Qa(m, m.getNode(), this, f, u), d !== 0 || this.canBeEmpty() ||
|
|
17102
|
+
lp(v, g, y) && Qa(v, v.getNode(), this, f, u), lp(m, g, y) && Qa(m, m.getNode(), this, f, u), d !== 0 || this.canBeEmpty() || Jt(this) || this.remove();
|
|
17103
17103
|
}
|
|
17104
17104
|
}
|
|
17105
17105
|
return s;
|
|
@@ -17564,7 +17564,7 @@ class $r {
|
|
|
17564
17564
|
return e.every(this.hasNode.bind(this));
|
|
17565
17565
|
}
|
|
17566
17566
|
dispatchCommand(e, n) {
|
|
17567
|
-
return
|
|
17567
|
+
return _e(this, e, n);
|
|
17568
17568
|
}
|
|
17569
17569
|
getDecorators() {
|
|
17570
17570
|
return this._decorators;
|
|
@@ -17597,23 +17597,23 @@ class $r {
|
|
|
17597
17597
|
const v = l.isEditable();
|
|
17598
17598
|
switch (p) {
|
|
17599
17599
|
case "cut":
|
|
17600
|
-
return v &&
|
|
17600
|
+
return v && _e(l, pd, y);
|
|
17601
17601
|
case "copy":
|
|
17602
|
-
return
|
|
17602
|
+
return _e(l, Nl, y);
|
|
17603
17603
|
case "paste":
|
|
17604
|
-
return v &&
|
|
17604
|
+
return v && _e(l, ud, y);
|
|
17605
17605
|
case "dragstart":
|
|
17606
|
-
return v &&
|
|
17606
|
+
return v && _e(l, zm, y);
|
|
17607
17607
|
case "dragover":
|
|
17608
|
-
return v &&
|
|
17608
|
+
return v && _e(l, qm, y);
|
|
17609
17609
|
case "dragend":
|
|
17610
|
-
return v &&
|
|
17610
|
+
return v && _e(l, kce, y);
|
|
17611
17611
|
case "focus":
|
|
17612
|
-
return v &&
|
|
17612
|
+
return v && _e(l, xce, y);
|
|
17613
17613
|
case "blur":
|
|
17614
|
-
return v &&
|
|
17614
|
+
return v && _e(l, Ace, y);
|
|
17615
17615
|
case "drop":
|
|
17616
|
-
return v &&
|
|
17616
|
+
return v && _e(l, Hm, y);
|
|
17617
17617
|
}
|
|
17618
17618
|
};
|
|
17619
17619
|
a.addEventListener(p, g), f.push(() => {
|
|
@@ -17666,7 +17666,7 @@ class $r {
|
|
|
17666
17666
|
const o = this._rootElement;
|
|
17667
17667
|
o !== null && (o.setAttribute("autocapitalize", "off"), fn(this, () => {
|
|
17668
17668
|
const r = fe(), i = ct();
|
|
17669
|
-
r !== null ? r.dirty ||
|
|
17669
|
+
r !== null ? r.dirty || Ft(r.clone()) : i.getChildrenSize() !== 0 && (n.defaultSelection === "rootStart" ? i.selectStart() : i.selectEnd()), nue("focus"), oue(() => {
|
|
17670
17670
|
o.removeAttribute("autocapitalize"), e && e();
|
|
17671
17671
|
});
|
|
17672
17672
|
}), this._pendingEditorState === null && o.removeAttribute("autocapitalize"));
|
|
@@ -17760,11 +17760,11 @@ function yi(t) {
|
|
|
17760
17760
|
return null;
|
|
17761
17761
|
}
|
|
17762
17762
|
function el(t, e, n) {
|
|
17763
|
-
const o =
|
|
17763
|
+
const o = Kt[e];
|
|
17764
17764
|
if (n !== null && (t & o) === (n & o))
|
|
17765
17765
|
return t;
|
|
17766
17766
|
let r = t ^ o;
|
|
17767
|
-
return e === "subscript" ? r &= ~
|
|
17767
|
+
return e === "subscript" ? r &= ~Kt.superscript : e === "superscript" ? r &= ~Kt.subscript : e === "lowercase" ? (r &= ~Kt.uppercase, r &= ~Kt.capitalize) : e === "uppercase" ? (r &= ~Kt.lowercase, r &= ~Kt.capitalize) : e === "capitalize" && (r &= ~Kt.lowercase, r &= ~Kt.uppercase), r;
|
|
17768
17768
|
}
|
|
17769
17769
|
function vg(t) {
|
|
17770
17770
|
return ue(t) || Vo(t) || qe(t);
|
|
@@ -17804,7 +17804,7 @@ function tl(t) {
|
|
|
17804
17804
|
const a = e.__key;
|
|
17805
17805
|
r._dirtyType = 1, K(t) ? s.set(a, !0) : r._dirtyLeaves.add(a);
|
|
17806
17806
|
}
|
|
17807
|
-
function
|
|
17807
|
+
function Lt(t) {
|
|
17808
17808
|
At();
|
|
17809
17809
|
const e = lt(), n = e._compositionKey;
|
|
17810
17810
|
if (t !== n) {
|
|
@@ -17855,7 +17855,7 @@ function ct() {
|
|
|
17855
17855
|
function bg(t) {
|
|
17856
17856
|
return t._nodeMap.get("root");
|
|
17857
17857
|
}
|
|
17858
|
-
function
|
|
17858
|
+
function Ft(t) {
|
|
17859
17859
|
At();
|
|
17860
17860
|
const e = or();
|
|
17861
17861
|
t !== null && (t.dirty = !0, t.setCachedNodes(null)), e._selection = t;
|
|
@@ -17916,7 +17916,7 @@ function xd(t, e, n, o, r) {
|
|
|
17916
17916
|
const l = i.getTextContent();
|
|
17917
17917
|
if (r || a !== l) {
|
|
17918
17918
|
if (a === "") {
|
|
17919
|
-
if (
|
|
17919
|
+
if (Lt(null), Cs || _i || ks)
|
|
17920
17920
|
i.remove();
|
|
17921
17921
|
else {
|
|
17922
17922
|
const g = lt();
|
|
@@ -17976,7 +17976,7 @@ function tue(t) {
|
|
|
17976
17976
|
}
|
|
17977
17977
|
{
|
|
17978
17978
|
const n = e.select(0, e.getChildrenSize());
|
|
17979
|
-
return
|
|
17979
|
+
return Ft(qa(n)), n;
|
|
17980
17980
|
}
|
|
17981
17981
|
}
|
|
17982
17982
|
function li(t, e) {
|
|
@@ -18024,7 +18024,7 @@ function Sg(t) {
|
|
|
18024
18024
|
const e = Dn(t).event, n = e && e.inputType;
|
|
18025
18025
|
return n === "insertFromPaste" || n === "insertFromPasteAsQuotation";
|
|
18026
18026
|
}
|
|
18027
|
-
function
|
|
18027
|
+
function _e(t, e, n) {
|
|
18028
18028
|
return function(o, r, i) {
|
|
18029
18029
|
const s = wd(o);
|
|
18030
18030
|
for (let a = 4; a >= 0; a--)
|
|
@@ -18087,13 +18087,13 @@ function Dn(t) {
|
|
|
18087
18087
|
function rue(t) {
|
|
18088
18088
|
let e = t.getParentOrThrow();
|
|
18089
18089
|
for (; e !== null; ) {
|
|
18090
|
-
if (
|
|
18090
|
+
if (Jt(e))
|
|
18091
18091
|
return e;
|
|
18092
18092
|
e = e.getParentOrThrow();
|
|
18093
18093
|
}
|
|
18094
18094
|
return e;
|
|
18095
18095
|
}
|
|
18096
|
-
function
|
|
18096
|
+
function Jt(t) {
|
|
18097
18097
|
return vt(t) || K(t) && t.isShadowRoot();
|
|
18098
18098
|
}
|
|
18099
18099
|
function Vn(t) {
|
|
@@ -18151,7 +18151,7 @@ function nl(t) {
|
|
|
18151
18151
|
function kn(t) {
|
|
18152
18152
|
if (qe(t) && !t.isInline())
|
|
18153
18153
|
return !0;
|
|
18154
|
-
if (!K(t) ||
|
|
18154
|
+
if (!K(t) || Jt(t))
|
|
18155
18155
|
return !1;
|
|
18156
18156
|
const e = t.getFirstChild(), n = e === null || Vo(e) || ue(e) || e.isInline();
|
|
18157
18157
|
return !t.isInline() && t.canBeEmpty() !== !1 && n;
|
|
@@ -18246,10 +18246,10 @@ class $d {
|
|
|
18246
18246
|
return Tg({ hasNext: Ci, initial: this.getAdjacentCaret(), map: (e) => e, step: (e) => e.getAdjacentCaret() });
|
|
18247
18247
|
}
|
|
18248
18248
|
getAdjacentCaret() {
|
|
18249
|
-
return
|
|
18249
|
+
return It(this.getNodeAtCaret(), this.direction);
|
|
18250
18250
|
}
|
|
18251
18251
|
getSiblingCaret() {
|
|
18252
|
-
return
|
|
18252
|
+
return It(this.origin, this.direction);
|
|
18253
18253
|
}
|
|
18254
18254
|
remove() {
|
|
18255
18255
|
const e = this.getNodeAtCaret();
|
|
@@ -18279,7 +18279,7 @@ class $d {
|
|
|
18279
18279
|
c === null && re(263, Array.from(a).join(" "));
|
|
18280
18280
|
} else
|
|
18281
18281
|
i.insert(l);
|
|
18282
|
-
i =
|
|
18282
|
+
i = It(l, this.direction);
|
|
18283
18283
|
}
|
|
18284
18284
|
for (const l of a.values())
|
|
18285
18285
|
l.remove();
|
|
@@ -18296,11 +18296,11 @@ class Ts extends $d {
|
|
|
18296
18296
|
return n === this.origin ? this : zn(n, this.direction);
|
|
18297
18297
|
}
|
|
18298
18298
|
getParentCaret(n = "root") {
|
|
18299
|
-
return
|
|
18299
|
+
return It(Dd(this.getParentAtCaret(), n), this.direction);
|
|
18300
18300
|
}
|
|
18301
18301
|
getFlipped() {
|
|
18302
18302
|
const n = Di(this.direction);
|
|
18303
|
-
return
|
|
18303
|
+
return It(this.getNodeAtCaret(), n) || zn(this.origin, n);
|
|
18304
18304
|
}
|
|
18305
18305
|
getParentAtCaret() {
|
|
18306
18306
|
return this.origin;
|
|
@@ -18315,7 +18315,7 @@ class Ts extends $d {
|
|
|
18315
18315
|
return this.isSameNodeCaret(n);
|
|
18316
18316
|
}
|
|
18317
18317
|
}
|
|
18318
|
-
const fue = { root: vt, shadowRoot:
|
|
18318
|
+
const fue = { root: vt, shadowRoot: Jt };
|
|
18319
18319
|
function Di(t) {
|
|
18320
18320
|
return due[t];
|
|
18321
18321
|
}
|
|
@@ -18329,7 +18329,7 @@ class Mr extends $d {
|
|
|
18329
18329
|
}
|
|
18330
18330
|
getLatest() {
|
|
18331
18331
|
const n = this.origin.getLatest();
|
|
18332
|
-
return n === this.origin ? this :
|
|
18332
|
+
return n === this.origin ? this : It(n, this.direction);
|
|
18333
18333
|
}
|
|
18334
18334
|
getSiblingCaret() {
|
|
18335
18335
|
return this;
|
|
@@ -18341,11 +18341,11 @@ class Mr extends $d {
|
|
|
18341
18341
|
return K(this.origin) ? zn(this.origin, this.direction) : null;
|
|
18342
18342
|
}
|
|
18343
18343
|
getParentCaret(n = "root") {
|
|
18344
|
-
return
|
|
18344
|
+
return It(Dd(this.getParentAtCaret(), n), this.direction);
|
|
18345
18345
|
}
|
|
18346
18346
|
getFlipped() {
|
|
18347
18347
|
const n = Di(this.direction);
|
|
18348
|
-
return
|
|
18348
|
+
return It(this.getNodeAtCaret(), n) || zn(this.origin.getParentOrThrow(), n);
|
|
18349
18349
|
}
|
|
18350
18350
|
isSamePointCaret(n) {
|
|
18351
18351
|
return n instanceof Mr && this.direction === n.direction && this.origin.is(n.origin);
|
|
@@ -18372,7 +18372,7 @@ class Lr extends $d {
|
|
|
18372
18372
|
return null;
|
|
18373
18373
|
}
|
|
18374
18374
|
getParentCaret(n = "root") {
|
|
18375
|
-
return
|
|
18375
|
+
return It(Dd(this.getParentAtCaret(), n), this.direction);
|
|
18376
18376
|
}
|
|
18377
18377
|
getFlipped() {
|
|
18378
18378
|
return Or(this.origin, Di(this.direction), this.offset);
|
|
@@ -18384,7 +18384,7 @@ class Lr extends $d {
|
|
|
18384
18384
|
return (n instanceof Mr || n instanceof Lr) && this.direction === n.direction && this.origin.is(n.origin);
|
|
18385
18385
|
}
|
|
18386
18386
|
getSiblingCaret() {
|
|
18387
|
-
return
|
|
18387
|
+
return It(this.origin, this.direction);
|
|
18388
18388
|
}
|
|
18389
18389
|
}
|
|
18390
18390
|
function Wo(t) {
|
|
@@ -18463,7 +18463,7 @@ const pue = { next: class extends Lr {
|
|
|
18463
18463
|
return this.origin.splice(this.origin.getChildrenSize(), 0, [e]), this;
|
|
18464
18464
|
}
|
|
18465
18465
|
} };
|
|
18466
|
-
function
|
|
18466
|
+
function It(t, e) {
|
|
18467
18467
|
return t ? new hue[e](t) : null;
|
|
18468
18468
|
}
|
|
18469
18469
|
function Or(t, e, n) {
|
|
@@ -18548,7 +18548,7 @@ class vue {
|
|
|
18548
18548
|
}
|
|
18549
18549
|
}
|
|
18550
18550
|
function Od(t) {
|
|
18551
|
-
return Qo(t,
|
|
18551
|
+
return Qo(t, It(ct(), t.direction));
|
|
18552
18552
|
}
|
|
18553
18553
|
function _ue(t) {
|
|
18554
18554
|
return Qo(t, t);
|
|
@@ -18625,7 +18625,7 @@ function Ir(t, e) {
|
|
|
18625
18625
|
}
|
|
18626
18626
|
function yue(t) {
|
|
18627
18627
|
const e = fe(), n = oe(e) ? e : Rl();
|
|
18628
|
-
return Da(n, t),
|
|
18628
|
+
return Da(n, t), Ft(n), n;
|
|
18629
18629
|
}
|
|
18630
18630
|
function Da(t, e) {
|
|
18631
18631
|
Ir(t.anchor, e.anchor), Ir(t.focus, e.focus);
|
|
@@ -18635,8 +18635,8 @@ function bp(t) {
|
|
|
18635
18635
|
return Qo(ki(o, i), ki(r, i));
|
|
18636
18636
|
}
|
|
18637
18637
|
function Id(t) {
|
|
18638
|
-
const { direction: e, origin: n } = t, o =
|
|
18639
|
-
return o ?
|
|
18638
|
+
const { direction: e, origin: n } = t, o = It(n, Di(e)).getNodeAtCaret();
|
|
18639
|
+
return o ? It(o, e) : zn(n.getParentOrThrow(), e);
|
|
18640
18640
|
}
|
|
18641
18641
|
function Cp(t, e = "root") {
|
|
18642
18642
|
const n = [t];
|
|
@@ -18665,7 +18665,7 @@ function bue(t, e = "removeEmptySlices") {
|
|
|
18665
18665
|
for (const h of i.getTextSlices()) {
|
|
18666
18666
|
if (!h)
|
|
18667
18667
|
continue;
|
|
18668
|
-
const { origin: g } = h.caret, y = g.getTextContentSize(), v = Id(
|
|
18668
|
+
const { origin: g } = h.caret, y = g.getTextContentSize(), v = Id(It(g, o)), m = g.getMode();
|
|
18669
18669
|
if (Math.abs(h.distance) === y && r === "removeEmptySlices" || m === "token" && h.distance !== 0)
|
|
18670
18670
|
v.remove();
|
|
18671
18671
|
else if (h.distance !== 0) {
|
|
@@ -18708,7 +18708,7 @@ function bue(t, e = "removeEmptySlices") {
|
|
|
18708
18708
|
let A;
|
|
18709
18709
|
for (let L = w; L < M.length; L++) {
|
|
18710
18710
|
const F = M[L];
|
|
18711
|
-
if (
|
|
18711
|
+
if (Jt(F))
|
|
18712
18712
|
return;
|
|
18713
18713
|
!A && I(F) && (A = F);
|
|
18714
18714
|
}
|
|
@@ -18835,7 +18835,7 @@ function zc(t, e, n = wue) {
|
|
|
18835
18835
|
const l = e();
|
|
18836
18836
|
n(a, l), a.replace(l, !0), i && (s === i.anchor.key && i.anchor.set(l.getKey(), i.anchor.offset, i.anchor.type), s === i.focus.key && i.focus.set(l.getKey(), i.focus.offset, i.focus.type));
|
|
18837
18837
|
}
|
|
18838
|
-
i && t.is(fe()) &&
|
|
18838
|
+
i && t.is(fe()) && Ft(i);
|
|
18839
18839
|
}
|
|
18840
18840
|
function Fg(t) {
|
|
18841
18841
|
const e = Rg(t);
|
|
@@ -18982,7 +18982,7 @@ function Ep(t) {
|
|
|
18982
18982
|
const r = e.getStartEndPoints();
|
|
18983
18983
|
r === null && qo(143);
|
|
18984
18984
|
const [i] = r, s = i.getNode(), a = s.getParent();
|
|
18985
|
-
if (
|
|
18985
|
+
if (Jt(s)) {
|
|
18986
18986
|
const l = s.getFirstChild();
|
|
18987
18987
|
if (l)
|
|
18988
18988
|
n = l.selectStart().getNodes();
|
|
@@ -18992,7 +18992,7 @@ function Ep(t) {
|
|
|
18992
18992
|
}
|
|
18993
18993
|
} else if (zg(s, n)) {
|
|
18994
18994
|
const l = on(t);
|
|
18995
|
-
if (
|
|
18995
|
+
if (Jt(a)) {
|
|
18996
18996
|
s.replace(l);
|
|
18997
18997
|
const c = vn();
|
|
18998
18998
|
K(s) && (c.setFormat(s.getFormatType()), c.setIndent(s.getIndent())), l.append(c);
|
|
@@ -19022,7 +19022,7 @@ function Ep(t) {
|
|
|
19022
19022
|
}
|
|
19023
19023
|
{
|
|
19024
19024
|
const l = s.getParent();
|
|
19025
|
-
if (
|
|
19025
|
+
if (Jt(l) && !o.has(a)) {
|
|
19026
19026
|
o.add(a), Tp(s, t);
|
|
19027
19027
|
break;
|
|
19028
19028
|
}
|
|
@@ -19142,7 +19142,7 @@ function Iue() {
|
|
|
19142
19142
|
Me(o) || qo(40);
|
|
19143
19143
|
const r = o.getParent();
|
|
19144
19144
|
let i;
|
|
19145
|
-
if (
|
|
19145
|
+
if (Jt(r))
|
|
19146
19146
|
i = rt(), n.insertAfter(i);
|
|
19147
19147
|
else {
|
|
19148
19148
|
if (!je(r))
|
|
@@ -19673,7 +19673,7 @@ function Kg(t, e, n, o, r = /* @__PURE__ */ new Map(), i) {
|
|
|
19673
19673
|
}
|
|
19674
19674
|
const f = t.childNodes;
|
|
19675
19675
|
let d = [];
|
|
19676
|
-
const p = (a == null || !
|
|
19676
|
+
const p = (a == null || !Jt(a)) && (a != null && yu(a) || o);
|
|
19677
19677
|
for (let h = 0; h < f.length; h++)
|
|
19678
19678
|
d.push(...Kg(f[h], e, n, p, new Map(r), a));
|
|
19679
19679
|
return u != null && (d = u(d)), nl(t) && (d = jue(t, d, p ? () => {
|
|
@@ -20266,7 +20266,7 @@ function ide(t) {
|
|
|
20266
20266
|
l.anchor.set(u, f, "element"), l.focus.set(u, f, "element");
|
|
20267
20267
|
}
|
|
20268
20268
|
const c = qa(l);
|
|
20269
|
-
|
|
20269
|
+
Ft(c);
|
|
20270
20270
|
}
|
|
20271
20271
|
t.dispatchCommand(Rp, n);
|
|
20272
20272
|
}
|
|
@@ -20962,11 +20962,11 @@ var sde = { exports: {} };
|
|
|
20962
20962
|
me && (Be = d(_, Be, me), G += me.length), p(_, Be, be);
|
|
20963
20963
|
var Pe = new l(E, A ? a.tokenize(V, A) : V, H, V);
|
|
20964
20964
|
if (j = d(_, Be, Pe), Ue && d(_, j, Ue), be > 1) {
|
|
20965
|
-
var
|
|
20965
|
+
var Bt = {
|
|
20966
20966
|
cause: E + "," + M,
|
|
20967
20967
|
reach: it
|
|
20968
20968
|
};
|
|
20969
|
-
u(m, _, C, j.prev, G,
|
|
20969
|
+
u(m, _, C, j.prev, G, Bt), $ && Bt.reach > $.reach && ($.reach = Bt.reach);
|
|
20970
20970
|
}
|
|
20971
20971
|
}
|
|
20972
20972
|
}
|
|
@@ -23107,7 +23107,7 @@ function i0(t) {
|
|
|
23107
23107
|
}
|
|
23108
23108
|
function cde(t, e) {
|
|
23109
23109
|
let n = t;
|
|
23110
|
-
for (let o =
|
|
23110
|
+
for (let o = It(t, e); o && (i0(o.origin) || Pl(o.origin)); o = Tue(o))
|
|
23111
23111
|
n = o.origin;
|
|
23112
23112
|
return n;
|
|
23113
23113
|
}
|
|
@@ -23701,7 +23701,7 @@ function Fde(t, e = zd) {
|
|
|
23701
23701
|
const i = (s, a, l) => {
|
|
23702
23702
|
(function(c, u, f, d) {
|
|
23703
23703
|
const p = c.getParent();
|
|
23704
|
-
if (!
|
|
23704
|
+
if (!Jt(p) || c.getFirstChild() !== u)
|
|
23705
23705
|
return !1;
|
|
23706
23706
|
const h = u.getTextContent();
|
|
23707
23707
|
if (h[f - 1] !== " ")
|
|
@@ -23717,7 +23717,7 @@ function Fde(t, e = zd) {
|
|
|
23717
23717
|
return !1;
|
|
23718
23718
|
})(s, a, l, n.element) || function(c, u, f, d) {
|
|
23719
23719
|
const p = c.getParent();
|
|
23720
|
-
if (!
|
|
23720
|
+
if (!Jt(p) || c.getFirstChild() !== u)
|
|
23721
23721
|
return !1;
|
|
23722
23722
|
const h = u.getTextContent();
|
|
23723
23723
|
if (h[f - 1] !== " ")
|
|
@@ -23783,7 +23783,7 @@ function Fde(t, e = zd) {
|
|
|
23783
23783
|
const L = w === S ? A : x;
|
|
23784
23784
|
w.setTextContent(L.slice(0, $) + L.slice($ + m));
|
|
23785
23785
|
const F = fe(), H = Rl();
|
|
23786
|
-
|
|
23786
|
+
Ft(H);
|
|
23787
23787
|
const q = p - m * (w === S ? 2 : 1) + 1;
|
|
23788
23788
|
H.anchor.set(w.__key, $, "text"), H.focus.set(S.__key, q, "text");
|
|
23789
23789
|
for (const ee of y.format)
|
|
@@ -23907,7 +23907,7 @@ const k0 = Symbol("LexicalEditor"), zde = (() => {
|
|
|
23907
23907
|
}
|
|
23908
23908
|
}
|
|
23909
23909
|
}
|
|
23910
|
-
return j0(k0, h),
|
|
23910
|
+
return j0(k0, h), Mt(() => {
|
|
23911
23911
|
const y = s.initialConfig.editable;
|
|
23912
23912
|
h.setEditable(y !== void 0 ? y : !0);
|
|
23913
23913
|
}), (y, v) => we(y.$slots, "default");
|
|
@@ -24219,7 +24219,7 @@ const Vde = (() => {
|
|
|
24219
24219
|
const i = n, s = W0("root"), a = Q(i.editor.isEditable()), l = O(() => qde(i, [
|
|
24220
24220
|
"editor"
|
|
24221
24221
|
]));
|
|
24222
|
-
|
|
24222
|
+
Mt(() => {
|
|
24223
24223
|
function u(d) {
|
|
24224
24224
|
d && d.ownerDocument && d.ownerDocument.defaultView ? i.editor.setRootElement(d) : i.editor.setRootElement(null);
|
|
24225
24225
|
}
|
|
@@ -24233,7 +24233,7 @@ const Vde = (() => {
|
|
|
24233
24233
|
var u;
|
|
24234
24234
|
return (u = i.role) != null ? u : "textbox";
|
|
24235
24235
|
});
|
|
24236
|
-
return (u, f) => (k(), T("div",
|
|
24236
|
+
return (u, f) => (k(), T("div", jt({
|
|
24237
24237
|
ref_key: "root",
|
|
24238
24238
|
ref: s
|
|
24239
24239
|
}, l.value, {
|
|
@@ -24302,7 +24302,7 @@ function S0(t) {
|
|
|
24302
24302
|
const r = Gde(t);
|
|
24303
24303
|
n.value = r;
|
|
24304
24304
|
}
|
|
24305
|
-
return
|
|
24305
|
+
return Mt(() => {
|
|
24306
24306
|
const r = Ys(t.registerUpdateListener(() => {
|
|
24307
24307
|
o();
|
|
24308
24308
|
}), t.registerEditableListener(() => {
|
|
@@ -24609,7 +24609,7 @@ const e1e = (() => {
|
|
|
24609
24609
|
let { expose: r } = o;
|
|
24610
24610
|
r();
|
|
24611
24611
|
const i = Li(), s = Q(!1), a = S0(i);
|
|
24612
|
-
return
|
|
24612
|
+
return Mt(() => {
|
|
24613
24613
|
s.value = i.isEditable();
|
|
24614
24614
|
const l = i.registerEditableListener((c) => {
|
|
24615
24615
|
s.value = c;
|
|
@@ -24618,7 +24618,7 @@ const e1e = (() => {
|
|
|
24618
24618
|
}), (l, c) => {
|
|
24619
24619
|
var u, f;
|
|
24620
24620
|
return k(), T(Te, null, [
|
|
24621
|
-
N(te(Vde),
|
|
24621
|
+
N(te(Vde), jt({
|
|
24622
24622
|
editor: te(i)
|
|
24623
24623
|
}, Qde(Jde({}, l.$props), {
|
|
24624
24624
|
role: (u = l.role) != null ? u : "textbox",
|
|
@@ -24757,7 +24757,7 @@ const s1e = (() => {
|
|
|
24757
24757
|
return t.__vue_vine = !0, t;
|
|
24758
24758
|
})();
|
|
24759
24759
|
function a1e(t) {
|
|
24760
|
-
|
|
24760
|
+
Mt(() => {
|
|
24761
24761
|
const e = Uue(t);
|
|
24762
24762
|
_n(() => {
|
|
24763
24763
|
e();
|
|
@@ -24793,7 +24793,7 @@ const l1e = (() => {
|
|
|
24793
24793
|
})();
|
|
24794
24794
|
function c1e(t) {
|
|
24795
24795
|
const e = Ma(t.getDecorators());
|
|
24796
|
-
return
|
|
24796
|
+
return Mt(() => {
|
|
24797
24797
|
const n = t.registerDecoratorListener((o) => {
|
|
24798
24798
|
e.value = o;
|
|
24799
24799
|
});
|
|
@@ -24819,7 +24819,7 @@ const u1e = le({
|
|
|
24819
24819
|
}
|
|
24820
24820
|
});
|
|
24821
24821
|
function d1e(t) {
|
|
24822
|
-
|
|
24822
|
+
Mt(() => {
|
|
24823
24823
|
const e = Ys(ide(t), Jue(t));
|
|
24824
24824
|
_n(e);
|
|
24825
24825
|
});
|
|
@@ -24942,7 +24942,7 @@ const f1e = (() => {
|
|
|
24942
24942
|
);
|
|
24943
24943
|
});
|
|
24944
24944
|
}
|
|
24945
|
-
return
|
|
24945
|
+
return Mt(() => {
|
|
24946
24946
|
L(
|
|
24947
24947
|
"ready",
|
|
24948
24948
|
F
|
|
@@ -24999,7 +24999,7 @@ const f1e = (() => {
|
|
|
24999
24999
|
return new File([A], be, { type: A.type });
|
|
25000
25000
|
}
|
|
25001
25001
|
function y() {
|
|
25002
|
-
s.value &&
|
|
25002
|
+
s.value && Ft(
|
|
25003
25003
|
s.value.clone()
|
|
25004
25004
|
);
|
|
25005
25005
|
}
|
|
@@ -25131,7 +25131,7 @@ const f1e = (() => {
|
|
|
25131
25131
|
default: ie(() => [
|
|
25132
25132
|
we(A.$slots, "toolbar"),
|
|
25133
25133
|
b("div", {
|
|
25134
|
-
class:
|
|
25134
|
+
class: ge(["ao-lexical-editor", l.value])
|
|
25135
25135
|
}, [
|
|
25136
25136
|
N(te(f1e), null, {
|
|
25137
25137
|
contentEditable: ie(() => [
|
|
@@ -25359,7 +25359,7 @@ const m1e = {
|
|
|
25359
25359
|
reset: M,
|
|
25360
25360
|
focus: I
|
|
25361
25361
|
}), (A, L) => (k(), T("div", {
|
|
25362
|
-
class:
|
|
25362
|
+
class: ge(["ao-comment-editor", { "ao-comment-editor--focused": a.value }])
|
|
25363
25363
|
}, [
|
|
25364
25364
|
_.value ? (k(), T("div", m1e, [
|
|
25365
25365
|
b("button", {
|
|
@@ -25455,14 +25455,14 @@ const m1e = {
|
|
|
25455
25455
|
te(c) && te(f).length > 0 ? (k(), T("ul", {
|
|
25456
25456
|
key: 0,
|
|
25457
25457
|
class: "ao-comment-editor__mention-list",
|
|
25458
|
-
style:
|
|
25458
|
+
style: Dt({
|
|
25459
25459
|
top: te(u).top + "px",
|
|
25460
25460
|
left: te(u).left + "px"
|
|
25461
25461
|
})
|
|
25462
25462
|
}, [
|
|
25463
25463
|
(k(!0), T(Te, null, Ye(te(f), (F, H) => (k(), T("li", {
|
|
25464
25464
|
key: F.id,
|
|
25465
|
-
class:
|
|
25465
|
+
class: ge({
|
|
25466
25466
|
"ao-comment-editor__mention-item--selected": H === te(d)
|
|
25467
25467
|
}),
|
|
25468
25468
|
onMousedown: L[12] || (L[12] = xe(() => {
|
|
@@ -25514,7 +25514,7 @@ const v1e = { class: "ao-comment" }, _1e = { class: "ao-comment__created-at" },
|
|
|
25514
25514
|
}
|
|
25515
25515
|
);
|
|
25516
25516
|
function c() {
|
|
25517
|
-
s.value = n.content, i.value = !0,
|
|
25517
|
+
s.value = n.content, i.value = !0, Yt(() => {
|
|
25518
25518
|
var h;
|
|
25519
25519
|
(h = a.value) == null || h.focus();
|
|
25520
25520
|
});
|
|
@@ -25619,7 +25619,7 @@ const w1e = { class: "ao-comments__new" }, S1e = {
|
|
|
25619
25619
|
gs(d.createdAt)
|
|
25620
25620
|
)
|
|
25621
25621
|
)), i = (f) => n.users.find((d) => d.id === f), s = Q(null);
|
|
25622
|
-
|
|
25622
|
+
Yt(() => {
|
|
25623
25623
|
s.value && (s.value.scrollTop = s.value.scrollHeight);
|
|
25624
25624
|
});
|
|
25625
25625
|
const a = Q(null);
|
|
@@ -25707,7 +25707,7 @@ const A1e = ["aria-label"], E1e = { class: "ao-file-preview__actions" }, T1e = [
|
|
|
25707
25707
|
},
|
|
25708
25708
|
emits: ["update:currentIndex", "close"],
|
|
25709
25709
|
setup(t, { emit: e }) {
|
|
25710
|
-
|
|
25710
|
+
Rt();
|
|
25711
25711
|
const n = t, o = e, r = Q(null), i = Q(!1), s = Q(!1);
|
|
25712
25712
|
let a = 0;
|
|
25713
25713
|
const l = O(() => n.attachments[n.currentIndex]), c = O(() => n.currentIndex === 0), u = O(() => n.currentIndex === n.attachments.length - 1), f = O(() => {
|
|
@@ -25806,7 +25806,7 @@ const A1e = ["aria-label"], E1e = { class: "ao-file-preview__actions" }, T1e = [
|
|
|
25806
25806
|
{
|
|
25807
25807
|
immediate: !0
|
|
25808
25808
|
}
|
|
25809
|
-
),
|
|
25809
|
+
), Mt(() => {
|
|
25810
25810
|
document.addEventListener(
|
|
25811
25811
|
"keydown",
|
|
25812
25812
|
x
|
|
@@ -25978,7 +25978,7 @@ const Iu = /* @__PURE__ */ le({
|
|
|
25978
25978
|
loading: { type: Boolean }
|
|
25979
25979
|
},
|
|
25980
25980
|
setup(t) {
|
|
25981
|
-
const { t: e } =
|
|
25981
|
+
const { t: e } = Rt(), n = t;
|
|
25982
25982
|
function o(d) {
|
|
25983
25983
|
var g, y, v;
|
|
25984
25984
|
if ((v = (y = (g = n.presentationConfig) == null ? void 0 : g.fields) == null ? void 0 : y[d]) != null && v.label)
|
|
@@ -26128,7 +26128,7 @@ const sfe = { class: "toggle-wrapper" };
|
|
|
26128
26128
|
function afe(t, e, n, o, r, i) {
|
|
26129
26129
|
return k(), T("div", sfe, [
|
|
26130
26130
|
b("button", {
|
|
26131
|
-
class:
|
|
26131
|
+
class: ge({
|
|
26132
26132
|
button: !0,
|
|
26133
26133
|
"button--left": !0,
|
|
26134
26134
|
"button--inactive": !t.isLeft
|
|
@@ -26137,7 +26137,7 @@ function afe(t, e, n, o, r, i) {
|
|
|
26137
26137
|
onClick: e[0] || (e[0] = (...s) => t.selectLeft && t.selectLeft(...s))
|
|
26138
26138
|
}, R(t.leftLabel), 3),
|
|
26139
26139
|
b("button", {
|
|
26140
|
-
class:
|
|
26140
|
+
class: ge({
|
|
26141
26141
|
button: !0,
|
|
26142
26142
|
"button--right": !0,
|
|
26143
26143
|
"button--inactive": t.isLeft
|
|
@@ -26176,13 +26176,13 @@ const ufe = ["onClick"], dfe = { class: "tab-button__label" }, ffe = {
|
|
|
26176
26176
|
};
|
|
26177
26177
|
function pfe(t, e, n, o, r, i) {
|
|
26178
26178
|
return k(), T("div", {
|
|
26179
|
-
class:
|
|
26179
|
+
class: ge(["tabbar-wrapper", {
|
|
26180
26180
|
"tabbar-wrapper--underline": t.variant === "underline"
|
|
26181
26181
|
}])
|
|
26182
26182
|
}, [
|
|
26183
26183
|
(k(!0), T(Te, null, Ye(t.tabs, (s) => (k(), T("button", {
|
|
26184
26184
|
key: s.value,
|
|
26185
|
-
class:
|
|
26185
|
+
class: ge([
|
|
26186
26186
|
"tab-button",
|
|
26187
26187
|
{
|
|
26188
26188
|
"tab-button--active": s.value === t.modelValue,
|
|
@@ -26398,7 +26398,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26398
26398
|
},
|
|
26399
26399
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast", "createSprint", "fetchHistory"],
|
|
26400
26400
|
setup(t, { emit: e }) {
|
|
26401
|
-
const n = (B) => B.label ? `Sprint ${B.number}: ${B.label}` : `Sprint ${B.number}`, o = t, r = e, { t: i } =
|
|
26401
|
+
const n = (B) => B.label ? `Sprint ${B.number}: ${B.label}` : `Sprint ${B.number}`, o = t, r = e, { t: i } = Rt();
|
|
26402
26402
|
function s(B) {
|
|
26403
26403
|
return B.reduce((X, ye) => (ye.name && (X[ye.id] = ye.name), X), {});
|
|
26404
26404
|
}
|
|
@@ -26640,13 +26640,13 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26640
26640
|
}, Pe = (B) => {
|
|
26641
26641
|
r("deleteSubtask", B);
|
|
26642
26642
|
};
|
|
26643
|
-
function
|
|
26643
|
+
function Bt() {
|
|
26644
26644
|
o.userId ? De.value = [o.userId] : console.error("Failed assigning to self: userId is missing");
|
|
26645
26645
|
}
|
|
26646
26646
|
function W(B) {
|
|
26647
26647
|
De.value = [B];
|
|
26648
26648
|
}
|
|
26649
|
-
const
|
|
26649
|
+
const ve = O(() => {
|
|
26650
26650
|
var X;
|
|
26651
26651
|
const B = /* @__PURE__ */ new Map();
|
|
26652
26652
|
return (X = o.users) == null || X.forEach((ye) => {
|
|
@@ -26686,7 +26686,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26686
26686
|
}))), ot = O(() => {
|
|
26687
26687
|
var X, ye, mt;
|
|
26688
26688
|
const B = (mt = (ye = (X = o.activity) == null ? void 0 : X.project) == null ? void 0 : ye.phases) == null ? void 0 : mt.reduce(
|
|
26689
|
-
(sn,
|
|
26689
|
+
(sn, Ht) => [...sn, ...Ht.milestones],
|
|
26690
26690
|
[]
|
|
26691
26691
|
);
|
|
26692
26692
|
return B == null ? void 0 : B.map((sn) => ({
|
|
@@ -26709,7 +26709,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26709
26709
|
value: X.id,
|
|
26710
26710
|
label: X.name
|
|
26711
26711
|
}));
|
|
26712
|
-
}),
|
|
26712
|
+
}), Ut = (B) => {
|
|
26713
26713
|
r("update:activity", {
|
|
26714
26714
|
id: o.activity.id,
|
|
26715
26715
|
statusId: B
|
|
@@ -26749,7 +26749,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26749
26749
|
onClose: X[14] || (X[14] = (ye) => B.$emit("close"))
|
|
26750
26750
|
}, {
|
|
26751
26751
|
default: ie(() => {
|
|
26752
|
-
var ye, mt, sn,
|
|
26752
|
+
var ye, mt, sn, Ht;
|
|
26753
26753
|
return [
|
|
26754
26754
|
b("div", yfe, [
|
|
26755
26755
|
b("div", bfe, [
|
|
@@ -26765,7 +26765,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26765
26765
|
onClick: Do
|
|
26766
26766
|
}, null, 8, ["label"])) : P("", !0),
|
|
26767
26767
|
t.breadcrumbs ? (k(), T("div", kfe, R(t.breadcrumbs), 1)) : P("", !0),
|
|
26768
|
-
N(
|
|
26768
|
+
N(Nt, {
|
|
26769
26769
|
title: t.activity.name || "",
|
|
26770
26770
|
level: 4,
|
|
26771
26771
|
"is-editable": u.value,
|
|
@@ -26775,7 +26775,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26775
26775
|
b("div", Sfe, [
|
|
26776
26776
|
Ze.value ? (k(), T("label", xfe, [
|
|
26777
26777
|
b("span", Afe, R(B.$t("activity.project.label")), 1),
|
|
26778
|
-
N(
|
|
26778
|
+
N(qt, {
|
|
26779
26779
|
options: Ze.value,
|
|
26780
26780
|
value: (ye = t.activity.project) == null ? void 0 : ye.id,
|
|
26781
26781
|
searchable: !0,
|
|
@@ -26786,7 +26786,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26786
26786
|
])) : P("", !0),
|
|
26787
26787
|
ot.value ? (k(), T("label", Efe, [
|
|
26788
26788
|
b("span", Tfe, R(B.$t("activity.milestone.label")), 1),
|
|
26789
|
-
N(
|
|
26789
|
+
N(qt, {
|
|
26790
26790
|
options: ot.value,
|
|
26791
26791
|
value: (mt = t.activity.milestone) == null ? void 0 : mt.id,
|
|
26792
26792
|
searchable: !0,
|
|
@@ -26825,7 +26825,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26825
26825
|
onPaste: ut
|
|
26826
26826
|
}, null, 8, ["initial-markdown"])) : (k(), T("div", {
|
|
26827
26827
|
key: 0,
|
|
26828
|
-
class:
|
|
26828
|
+
class: ge(["ao-activity-details__description", { "ao-activity-details__description--editable": u.value }]),
|
|
26829
26829
|
onClick: g
|
|
26830
26830
|
}, [
|
|
26831
26831
|
N(pm, { content: h.value }, null, 8, ["content"])
|
|
@@ -26903,7 +26903,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26903
26903
|
Ge.value ? (k(), T("div", qfe, [
|
|
26904
26904
|
b("label", jfe, [
|
|
26905
26905
|
b("span", Vfe, R(B.$t("activity.status.label")), 1),
|
|
26906
|
-
N(
|
|
26906
|
+
N(qt, {
|
|
26907
26907
|
class: "ao-activity-details__multiselect",
|
|
26908
26908
|
options: Ge.value,
|
|
26909
26909
|
value: (sn = t.activity.status) == null ? void 0 : sn.id,
|
|
@@ -26911,14 +26911,14 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26911
26911
|
"can-deselect": !1,
|
|
26912
26912
|
disabled: !u.value,
|
|
26913
26913
|
caret: u.value,
|
|
26914
|
-
onChange:
|
|
26914
|
+
onChange: Ut
|
|
26915
26915
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
26916
26916
|
])
|
|
26917
26917
|
])) : P("", !0),
|
|
26918
26918
|
t.activity.activityType === "dev" ? (k(), T("div", Wfe, [
|
|
26919
26919
|
b("label", Zfe, [
|
|
26920
26920
|
b("span", Kfe, R(B.$t("activity.devStatus.label")), 1),
|
|
26921
|
-
N(
|
|
26921
|
+
N(qt, {
|
|
26922
26922
|
class: "ao-activity-details__multiselect",
|
|
26923
26923
|
options: M.value,
|
|
26924
26924
|
value: I.value,
|
|
@@ -26932,7 +26932,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26932
26932
|
b("div", Gfe, [
|
|
26933
26933
|
b("div", Yfe, [
|
|
26934
26934
|
b("span", Jfe, R(B.$t("activity.sprint.label")), 1),
|
|
26935
|
-
(
|
|
26935
|
+
(Ht = t.activity.project) != null && Ht.id && u.value && !ee.value ? (k(), Y(Se, {
|
|
26936
26936
|
key: 0,
|
|
26937
26937
|
label: B.$t("activity.sprint.new"),
|
|
26938
26938
|
type: "button",
|
|
@@ -26990,7 +26990,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
26990
26990
|
onClick: Ce
|
|
26991
26991
|
}, null, 8, ["label", "disabled"])
|
|
26992
26992
|
])
|
|
26993
|
-
])) : (k(), Y(
|
|
26993
|
+
])) : (k(), Y(qt, {
|
|
26994
26994
|
key: 0,
|
|
26995
26995
|
class: "ao-activity-details__multiselect",
|
|
26996
26996
|
options: A.value,
|
|
@@ -27018,14 +27018,14 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
27018
27018
|
color: "primary",
|
|
27019
27019
|
variant: "solid",
|
|
27020
27020
|
class: "ao-button--sm",
|
|
27021
|
-
onClick:
|
|
27021
|
+
onClick: Bt
|
|
27022
27022
|
}, null, 8, ["label"])
|
|
27023
27023
|
]),
|
|
27024
|
-
N(
|
|
27024
|
+
N(qt, {
|
|
27025
27025
|
modelValue: De.value,
|
|
27026
27026
|
"onUpdate:modelValue": X[7] || (X[7] = (Le) => De.value = Le),
|
|
27027
27027
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
27028
|
-
options:
|
|
27028
|
+
options: ve.value,
|
|
27029
27029
|
"close-on-select": !0,
|
|
27030
27030
|
searchable: !0,
|
|
27031
27031
|
placeholder: B.$t("activity.filters.assignee.placeholder"),
|
|
@@ -27036,13 +27036,13 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
27036
27036
|
}, {
|
|
27037
27037
|
tag: ie(({
|
|
27038
27038
|
option: Le,
|
|
27039
|
-
handleTagRemove:
|
|
27039
|
+
handleTagRemove: Wt
|
|
27040
27040
|
}) => [
|
|
27041
27041
|
N(Pn, {
|
|
27042
27042
|
"user-name": Le.label,
|
|
27043
27043
|
"avatar-url": Le.avatar,
|
|
27044
27044
|
"is-closable": !0,
|
|
27045
|
-
onClose: (Mo) =>
|
|
27045
|
+
onClose: (Mo) => Wt(Le, Mo)
|
|
27046
27046
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
27047
27047
|
]),
|
|
27048
27048
|
_: 1
|
|
@@ -27132,7 +27132,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
27132
27132
|
b("fieldset", Epe, [
|
|
27133
27133
|
b("div", Tpe, [
|
|
27134
27134
|
N(Re, { name: "FlowsheetOutlineRounded" }),
|
|
27135
|
-
N(
|
|
27135
|
+
N(Nt, {
|
|
27136
27136
|
level: 4,
|
|
27137
27137
|
title: B.$t("activity.dependencies.title")
|
|
27138
27138
|
}, null, 8, ["title"])
|
|
@@ -27141,7 +27141,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
27141
27141
|
b("div", Dpe, [
|
|
27142
27142
|
b("label", Mpe, [
|
|
27143
27143
|
b("span", Lpe, R(B.$t("activity.dependingOn.label")), 1),
|
|
27144
|
-
N(
|
|
27144
|
+
N(qt, {
|
|
27145
27145
|
modelValue: Z.value,
|
|
27146
27146
|
"onUpdate:modelValue": X[12] || (X[12] = (Le) => Z.value = Le),
|
|
27147
27147
|
class: "ao-activity-details__multiselect",
|
|
@@ -27157,7 +27157,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
27157
27157
|
b("div", Ope, [
|
|
27158
27158
|
b("label", Ipe, [
|
|
27159
27159
|
b("span", Npe, R(B.$t("activity.blocking.label")), 1),
|
|
27160
|
-
N(
|
|
27160
|
+
N(qt, {
|
|
27161
27161
|
modelValue: me.value,
|
|
27162
27162
|
"onUpdate:modelValue": X[13] || (X[13] = (Le) => me.value = Le),
|
|
27163
27163
|
class: "ao-activity-details__multiselect",
|
|
@@ -27332,7 +27332,7 @@ const Fpe = { class: "ao-template-rules__body" }, Rpe = { class: "ao-template-ru
|
|
|
27332
27332
|
};
|
|
27333
27333
|
return (i, s) => (k(), Y(vl, null, {
|
|
27334
27334
|
header: ie(() => [
|
|
27335
|
-
N(
|
|
27335
|
+
N(Nt, {
|
|
27336
27336
|
title: i.$t("template.rules.title"),
|
|
27337
27337
|
level: 2
|
|
27338
27338
|
}, null, 8, ["title"])
|
|
@@ -27384,7 +27384,7 @@ const Upe = {
|
|
|
27384
27384
|
},
|
|
27385
27385
|
emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
|
|
27386
27386
|
setup(t, { emit: e }) {
|
|
27387
|
-
const { t: n } =
|
|
27387
|
+
const { t: n } = Rt(), o = t, r = e, i = O(
|
|
27388
27388
|
() => {
|
|
27389
27389
|
var j;
|
|
27390
27390
|
return (j = o.templates) == null ? void 0 : j.find((G) => G.id === o.templateId);
|
|
@@ -27619,7 +27619,7 @@ const Upe = {
|
|
|
27619
27619
|
onGoBack: G[1] || (G[1] = (Z) => j.$router.push({ name: te(ti).TEMPLATES_LIST }))
|
|
27620
27620
|
}, {
|
|
27621
27621
|
primary: ie(() => [
|
|
27622
|
-
N(
|
|
27622
|
+
N(Nt, {
|
|
27623
27623
|
title: d.value,
|
|
27624
27624
|
level: 2,
|
|
27625
27625
|
"is-editable": !0,
|
|
@@ -27641,7 +27641,7 @@ const Upe = {
|
|
|
27641
27641
|
onChange: A
|
|
27642
27642
|
}, {
|
|
27643
27643
|
header: ie(() => [
|
|
27644
|
-
N(
|
|
27644
|
+
N(Nt, {
|
|
27645
27645
|
title: j.$t("template.phases.title"),
|
|
27646
27646
|
level: 3,
|
|
27647
27647
|
class: "ao-list__title"
|
|
@@ -27769,20 +27769,20 @@ const Kpe = { class: "ao-card__content" }, Gpe = {
|
|
|
27769
27769
|
},
|
|
27770
27770
|
setup(t) {
|
|
27771
27771
|
return (e, n) => (k(), Y(Pr(t.tagName), {
|
|
27772
|
-
class:
|
|
27772
|
+
class: ge([
|
|
27773
27773
|
"ao-card",
|
|
27774
27774
|
{
|
|
27775
27775
|
"ao-card--clickable": t.isClickable,
|
|
27776
27776
|
"ao-card--danger": t.variant === "danger"
|
|
27777
27777
|
}
|
|
27778
27778
|
]),
|
|
27779
|
-
style:
|
|
27779
|
+
style: Dt(t.isSelected ? { border: "solid", borderColor: t.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
|
|
27780
27780
|
}, {
|
|
27781
27781
|
default: ie(() => [
|
|
27782
27782
|
t.withLeftBorder ? (k(), T("div", {
|
|
27783
27783
|
key: 0,
|
|
27784
27784
|
class: "ao-card__left-border",
|
|
27785
|
-
style:
|
|
27785
|
+
style: Dt({ backgroundColor: t.color })
|
|
27786
27786
|
}, null, 4)) : P("", !0),
|
|
27787
27787
|
b("div", Kpe, [
|
|
27788
27788
|
e.$slots.header ? (k(), T("header", Gpe, [
|
|
@@ -27810,13 +27810,13 @@ const Ql = /* @__PURE__ */ le({
|
|
|
27810
27810
|
setup(t) {
|
|
27811
27811
|
const e = t, n = O(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
27812
27812
|
return (o, r) => (k(), T("div", {
|
|
27813
|
-
class:
|
|
27813
|
+
class: ge(["ao-progress", t.status ? `ao-progress--${t.status}` : ""]),
|
|
27814
27814
|
role: "meter"
|
|
27815
27815
|
}, [
|
|
27816
27816
|
(k(!0), T(Te, null, Ye(n.value, (i) => (k(), T("div", {
|
|
27817
27817
|
key: i,
|
|
27818
|
-
class:
|
|
27819
|
-
style:
|
|
27818
|
+
class: ge(["ao-progress__progress"]),
|
|
27819
|
+
style: Dt({
|
|
27820
27820
|
width: `${i * 100}%`,
|
|
27821
27821
|
"--ao-progress-color": t.color || "var(--ao-color-primary-base)"
|
|
27822
27822
|
})
|
|
@@ -28761,7 +28761,7 @@ const bhe = { class: "color-picker-wrapper" }, Js = /* @__PURE__ */ le({
|
|
|
28761
28761
|
emits: ["update:color"],
|
|
28762
28762
|
setup(t, { emit: e }) {
|
|
28763
28763
|
const n = t, o = e, r = Q(!1), i = Q(null), s = Q(0), a = Q(0), l = Q(n.color), c = async (h) => {
|
|
28764
|
-
l.value = n.color, r.value = !0, await
|
|
28764
|
+
l.value = n.color, r.value = !0, await Yt();
|
|
28765
28765
|
const g = h.getBoundingClientRect(), y = i.value, v = (y == null ? void 0 : y.offsetHeight) || 300, m = window.innerHeight - g.bottom, _ = g.top, C = m < v && _ > v;
|
|
28766
28766
|
s.value = C ? g.top - v - 8 : g.bottom + 8, a.value = g.left, setTimeout(() => {
|
|
28767
28767
|
window.addEventListener(
|
|
@@ -28809,7 +28809,7 @@ const bhe = { class: "color-picker-wrapper" }, Js = /* @__PURE__ */ le({
|
|
|
28809
28809
|
ref_key: "pickerRef",
|
|
28810
28810
|
ref: i,
|
|
28811
28811
|
class: "color-picker",
|
|
28812
|
-
style:
|
|
28812
|
+
style: Dt(u.value)
|
|
28813
28813
|
}, [
|
|
28814
28814
|
N(te(ci), {
|
|
28815
28815
|
class: "color-picker-box",
|
|
@@ -28899,7 +28899,7 @@ const Che = { class: "ao-card-project-phase__header" }, khe = { class: "ao-card-
|
|
|
28899
28899
|
}, $s({
|
|
28900
28900
|
default: ie(() => [
|
|
28901
28901
|
b("div", khe, [
|
|
28902
|
-
N(
|
|
28902
|
+
N(Nt, {
|
|
28903
28903
|
id: t.id,
|
|
28904
28904
|
class: "ao-card-project-phase__title",
|
|
28905
28905
|
title: t.name || "",
|
|
@@ -28930,7 +28930,7 @@ const Che = { class: "ao-card-project-phase__header" }, khe = { class: "ao-card-
|
|
|
28930
28930
|
])) : P("", !0)
|
|
28931
28931
|
])) : P("", !0),
|
|
28932
28932
|
b("div", {
|
|
28933
|
-
class:
|
|
28933
|
+
class: ge(["ao-card-project-phase__footer-row", d.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
28934
28934
|
}, [
|
|
28935
28935
|
t.isEditable ? tt((k(), T("input", {
|
|
28936
28936
|
key: 0,
|
|
@@ -28987,7 +28987,7 @@ const Mhe = /* @__PURE__ */ le({
|
|
|
28987
28987
|
setup(t) {
|
|
28988
28988
|
return (e, n) => (k(), T("span", {
|
|
28989
28989
|
class: "aoBadge",
|
|
28990
|
-
style:
|
|
28990
|
+
style: Dt({ backgroundColor: t.color })
|
|
28991
28991
|
}, null, 4));
|
|
28992
28992
|
}
|
|
28993
28993
|
});
|
|
@@ -29051,7 +29051,7 @@ const Lhe = { class: "ao-card-project-milestone__default" }, Ohe = { class: "ao-
|
|
|
29051
29051
|
o("updateMilestone", { id: n.id, name: d });
|
|
29052
29052
|
};
|
|
29053
29053
|
return (d, p) => (k(), Y(Xl, {
|
|
29054
|
-
class:
|
|
29054
|
+
class: ge([
|
|
29055
29055
|
"ao-card-project-milestone"
|
|
29056
29056
|
]),
|
|
29057
29057
|
"is-clickable": !t.readonly,
|
|
@@ -29066,7 +29066,7 @@ const Lhe = { class: "ao-card-project-milestone__default" }, Ohe = { class: "ao-
|
|
|
29066
29066
|
color: t.color || ""
|
|
29067
29067
|
}, null, 8, ["color"]),
|
|
29068
29068
|
b("div", Ihe, [
|
|
29069
|
-
N(
|
|
29069
|
+
N(Nt, {
|
|
29070
29070
|
id: t.id,
|
|
29071
29071
|
title: t.name || "",
|
|
29072
29072
|
level: 5,
|
|
@@ -29120,7 +29120,7 @@ const Lhe = { class: "ao-card-project-milestone__default" }, Ohe = { class: "ao-
|
|
|
29120
29120
|
t.important ? (k(), Y(Re, {
|
|
29121
29121
|
key: 0,
|
|
29122
29122
|
name: "FlagRounded",
|
|
29123
|
-
class:
|
|
29123
|
+
class: ge(
|
|
29124
29124
|
t.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
29125
29125
|
),
|
|
29126
29126
|
size: "sm"
|
|
@@ -29184,7 +29184,7 @@ const Zhe = ["onKeydown"], ll = /* @__PURE__ */ le({
|
|
|
29184
29184
|
}), f = async () => {
|
|
29185
29185
|
if (i.value)
|
|
29186
29186
|
return;
|
|
29187
|
-
c(), i.value = !0, r("open"), await
|
|
29187
|
+
c(), i.value = !0, r("open"), await Yt();
|
|
29188
29188
|
const v = a.value;
|
|
29189
29189
|
if (v) {
|
|
29190
29190
|
const m = v.querySelector(
|
|
@@ -29261,7 +29261,7 @@ const Zhe = ["onKeydown"], ll = /* @__PURE__ */ le({
|
|
|
29261
29261
|
close: d,
|
|
29262
29262
|
toggle: p
|
|
29263
29263
|
}), (v, m) => (k(), T(Te, null, [
|
|
29264
|
-
b("span",
|
|
29264
|
+
b("span", jt({
|
|
29265
29265
|
ref_key: "triggerRef",
|
|
29266
29266
|
ref: s,
|
|
29267
29267
|
class: "ao-popover-menu"
|
|
@@ -29277,7 +29277,7 @@ const Zhe = ["onKeydown"], ll = /* @__PURE__ */ le({
|
|
|
29277
29277
|
ref_key: "menuRef",
|
|
29278
29278
|
ref: a,
|
|
29279
29279
|
class: "ao-popover-menu__menu",
|
|
29280
|
-
style:
|
|
29280
|
+
style: Dt(u.value),
|
|
29281
29281
|
role: "menu",
|
|
29282
29282
|
onKeydown: Ko(xe(d, ["stop"]), ["esc"])
|
|
29283
29283
|
}, [
|
|
@@ -29426,7 +29426,7 @@ const eme = ["onKeydown"], tme = { class: "ao-modal ao-bulk-insert-modal" }, nme
|
|
|
29426
29426
|
},
|
|
29427
29427
|
emits: ["update:open", "submit", "close"],
|
|
29428
29428
|
setup(t, { emit: e }) {
|
|
29429
|
-
const n = t, o = e, { t: r } =
|
|
29429
|
+
const n = t, o = e, { t: r } = Rt(), i = Q(""), s = Q(null), a = {
|
|
29430
29430
|
phase: "project.bulk.entity.phase",
|
|
29431
29431
|
milestone: "project.bulk.entity.milestone",
|
|
29432
29432
|
activity: "project.bulk.entity.activity",
|
|
@@ -29468,7 +29468,7 @@ const eme = ["onKeydown"], tme = { class: "ao-modal ao-bulk-insert-modal" }, nme
|
|
|
29468
29468
|
() => n.open,
|
|
29469
29469
|
async (C) => {
|
|
29470
29470
|
var S;
|
|
29471
|
-
C && (i.value = "", await
|
|
29471
|
+
C && (i.value = "", await Yt(), (S = s.value) == null || S.focus());
|
|
29472
29472
|
},
|
|
29473
29473
|
{
|
|
29474
29474
|
immediate: !0
|
|
@@ -29494,7 +29494,7 @@ const eme = ["onKeydown"], tme = { class: "ao-modal ao-bulk-insert-modal" }, nme
|
|
|
29494
29494
|
return (C, S) => (k(), Y(En, { to: "body" }, [
|
|
29495
29495
|
t.open ? (k(), T("div", {
|
|
29496
29496
|
key: 0,
|
|
29497
|
-
class:
|
|
29497
|
+
class: ge([
|
|
29498
29498
|
"ao-modal__wrapper",
|
|
29499
29499
|
"ao-bulk-insert-modal__wrapper",
|
|
29500
29500
|
`ao-modal__wrapper--${t.size}`
|
|
@@ -29516,7 +29516,7 @@ const eme = ["onKeydown"], tme = { class: "ao-modal ao-bulk-insert-modal" }, nme
|
|
|
29516
29516
|
})
|
|
29517
29517
|
]),
|
|
29518
29518
|
b("header", rme, [
|
|
29519
|
-
N(
|
|
29519
|
+
N(Nt, {
|
|
29520
29520
|
title: t.title,
|
|
29521
29521
|
level: 3
|
|
29522
29522
|
}, null, 8, ["title"])
|
|
@@ -29712,7 +29712,7 @@ const yme = { class: "ao-mapping-card-project-phase__header" }, bme = { class: "
|
|
|
29712
29712
|
}, $s({
|
|
29713
29713
|
default: ie(() => [
|
|
29714
29714
|
b("div", bme, [
|
|
29715
|
-
N(
|
|
29715
|
+
N(Nt, {
|
|
29716
29716
|
id: t.id,
|
|
29717
29717
|
class: "ao-mapping-card-project-phase__title",
|
|
29718
29718
|
title: t.name || "",
|
|
@@ -29743,7 +29743,7 @@ const yme = { class: "ao-mapping-card-project-phase__header" }, bme = { class: "
|
|
|
29743
29743
|
])) : P("", !0)
|
|
29744
29744
|
])) : P("", !0),
|
|
29745
29745
|
b("div", {
|
|
29746
|
-
class:
|
|
29746
|
+
class: ge(["ao-mapping-card-project-phase__footer-row", d.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
|
|
29747
29747
|
}, [
|
|
29748
29748
|
t.isEditable ? tt((k(), T("input", {
|
|
29749
29749
|
key: 0,
|
|
@@ -29817,7 +29817,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
|
|
|
29817
29817
|
},
|
|
29818
29818
|
emits: ["addMilestone", "bulkAddMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "updatePhase", "archivePhase", "unarchivePhase"],
|
|
29819
29819
|
setup(t, { emit: e }) {
|
|
29820
|
-
const { t: n } =
|
|
29820
|
+
const { t: n } = Rt(), o = t, r = e;
|
|
29821
29821
|
Ne(
|
|
29822
29822
|
() => o.phase.milestones,
|
|
29823
29823
|
(E, x) => {
|
|
@@ -29895,7 +29895,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
|
|
|
29895
29895
|
return (E, x) => (k(), T("li", $me, [
|
|
29896
29896
|
b("div", {
|
|
29897
29897
|
class: "ao-project-phases__draggable-card",
|
|
29898
|
-
style:
|
|
29898
|
+
style: Dt($.value)
|
|
29899
29899
|
}, [
|
|
29900
29900
|
t.isEditable ? (k(), T("div", Dme, [
|
|
29901
29901
|
N(Re, {
|
|
@@ -29941,11 +29941,11 @@ const $me = { class: "ao-project-phase" }, Dme = {
|
|
|
29941
29941
|
S.value ? P("", !0) : (k(), T("div", Ome, [
|
|
29942
29942
|
b("div", {
|
|
29943
29943
|
class: "ao-project-phase__milestones ao-project-phase__milestones--hoverable",
|
|
29944
|
-
style:
|
|
29944
|
+
style: Dt($.value)
|
|
29945
29945
|
}, [
|
|
29946
29946
|
t.isEditable ? (k(), Y(ll, {
|
|
29947
29947
|
key: 0,
|
|
29948
|
-
class:
|
|
29948
|
+
class: ge(["ao-project-phase__milestone-quick-add", { "ao-project-phase__milestone-quick-add--visible": w.value }]),
|
|
29949
29949
|
placement: "bottom-end"
|
|
29950
29950
|
}, {
|
|
29951
29951
|
trigger: ie(({ open: M }) => [
|
|
@@ -29979,7 +29979,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
|
|
|
29979
29979
|
]),
|
|
29980
29980
|
_: 1
|
|
29981
29981
|
}, 8, ["class"])) : P("", !0),
|
|
29982
|
-
N(te(co),
|
|
29982
|
+
N(te(co), jt({
|
|
29983
29983
|
class: "ao-project-phase__milestones-list",
|
|
29984
29984
|
list: l.value,
|
|
29985
29985
|
disabled: t.readonly || !t.isEditable,
|
|
@@ -30006,7 +30006,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
|
|
|
30006
30006
|
readonly: t.readonly,
|
|
30007
30007
|
"time-tracking-data": t.timeTrackingData,
|
|
30008
30008
|
"estimation-unit": t.estimationUnit,
|
|
30009
|
-
class:
|
|
30009
|
+
class: ge(["ao-project-phase__milestone"]),
|
|
30010
30010
|
onClick: (A) => !t.readonly && E.$router.push({
|
|
30011
30011
|
name: te(nt).milestone,
|
|
30012
30012
|
params: { phaseId: t.phase.id, milestoneId: M.id }
|
|
@@ -30149,7 +30149,7 @@ const zme = { class: "ao-add-template-modal__form-body" }, qme = { class: "field
|
|
|
30149
30149
|
};
|
|
30150
30150
|
return (l, c) => (k(), Y(vl, { size: "sm" }, {
|
|
30151
30151
|
header: ie(() => [
|
|
30152
|
-
N(
|
|
30152
|
+
N(Nt, {
|
|
30153
30153
|
title: l.$t("project.template.apply.title"),
|
|
30154
30154
|
level: 3
|
|
30155
30155
|
}, null, 8, ["title"])
|
|
@@ -30162,7 +30162,7 @@ const zme = { class: "ao-add-template-modal__form-body" }, qme = { class: "field
|
|
|
30162
30162
|
b("p", null, R(l.$t("project.template.apply.notice")), 1),
|
|
30163
30163
|
b("div", zme, [
|
|
30164
30164
|
b("div", qme, [
|
|
30165
|
-
N(
|
|
30165
|
+
N(qt, {
|
|
30166
30166
|
value: i.value,
|
|
30167
30167
|
options: r.value,
|
|
30168
30168
|
detached: !0,
|
|
@@ -30193,7 +30193,7 @@ const Vme = { class: "ao-save-template-modal__form-body" }, Wme = { class: "fiel
|
|
|
30193
30193
|
emits: ["save"],
|
|
30194
30194
|
setup(t, { emit: e }) {
|
|
30195
30195
|
const n = t, o = e, r = Q(""), i = Q([]);
|
|
30196
|
-
|
|
30196
|
+
Mt(() => {
|
|
30197
30197
|
i.value = n.phases.map((a) => a.id);
|
|
30198
30198
|
});
|
|
30199
30199
|
const s = () => {
|
|
@@ -30201,7 +30201,7 @@ const Vme = { class: "ao-save-template-modal__form-body" }, Wme = { class: "fiel
|
|
|
30201
30201
|
};
|
|
30202
30202
|
return (a, l) => (k(), Y(vl, { size: "sm" }, {
|
|
30203
30203
|
header: ie(() => [
|
|
30204
|
-
N(
|
|
30204
|
+
N(Nt, {
|
|
30205
30205
|
title: a.$t("project.template.save.title"),
|
|
30206
30206
|
level: 3
|
|
30207
30207
|
}, null, 8, ["title"])
|
|
@@ -30282,7 +30282,7 @@ const ege = { class: "ao-project" }, tge = ["onClick"], nge = ["onClick"], oge =
|
|
|
30282
30282
|
},
|
|
30283
30283
|
emits: ["addPhase", "bulkAddPhase", "updatePhase", "archivePhase", "unarchivePhase", "addMilestone", "bulkAddMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "addActivity", "bulkAddActivity", "update:activity", "archiveActivity", "copyPhaseToTemplate", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "saveTemplate", "update:showsArchived", "fetchHistory"],
|
|
30284
30284
|
setup(t, { emit: e }) {
|
|
30285
|
-
const { t: n } =
|
|
30285
|
+
const { t: n } = Rt(), o = t, r = e, i = O(
|
|
30286
30286
|
() => o.phases.flatMap((V) => V.milestones)
|
|
30287
30287
|
), s = () => {
|
|
30288
30288
|
const { name: V, rank: me } = kr(o.phases, "phase", n);
|
|
@@ -30371,7 +30371,7 @@ const ege = { class: "ao-project" }, tge = ["onClick"], nge = ["onClick"], oge =
|
|
|
30371
30371
|
var it;
|
|
30372
30372
|
const Ue = Fo("RouterView");
|
|
30373
30373
|
return k(), T(Te, null, [
|
|
30374
|
-
b("div",
|
|
30374
|
+
b("div", jt({ class: "ao-project-overview" }, V.$attrs), [
|
|
30375
30375
|
b("div", ege, [
|
|
30376
30376
|
N(Rs, null, {
|
|
30377
30377
|
primary: ie(() => [
|
|
@@ -30563,7 +30563,7 @@ const ige = { class: "ao-card-feed__header" }, sge = {
|
|
|
30563
30563
|
key: 0,
|
|
30564
30564
|
class: "ao-card-feed__breadcrumbs"
|
|
30565
30565
|
}, uge = {
|
|
30566
|
-
class: /* @__PURE__ */
|
|
30566
|
+
class: /* @__PURE__ */ ge(["ao-card-feed__title-group"])
|
|
30567
30567
|
}, dge = { class: "ao-card-feed__title-line" }, fge = {
|
|
30568
30568
|
key: 0,
|
|
30569
30569
|
class: "ao-card-feed__slug"
|
|
@@ -30634,7 +30634,7 @@ const ige = { class: "ao-card-feed__header" }, sge = {
|
|
|
30634
30634
|
return (g = n.tasks) == null ? void 0 : g.filter((y) => y.isDone).length;
|
|
30635
30635
|
}), h = O(() => (p.value || 0) / (d.value || 1));
|
|
30636
30636
|
return (g, y) => (k(), Y(Xl, {
|
|
30637
|
-
class:
|
|
30637
|
+
class: ge(["ao-card-feed", { "ao-card-feed--closed": t.isClosed }]),
|
|
30638
30638
|
"is-clickable": !0,
|
|
30639
30639
|
variant: t.blocked ? "danger" : "default"
|
|
30640
30640
|
}, {
|
|
@@ -30678,7 +30678,7 @@ const ige = { class: "ao-card-feed__header" }, sge = {
|
|
|
30678
30678
|
b("div", uge, [
|
|
30679
30679
|
b("div", dge, [
|
|
30680
30680
|
t.slug ? (k(), T("span", fge, R(t.slug) + ": ", 1)) : P("", !0),
|
|
30681
|
-
N(
|
|
30681
|
+
N(Nt, {
|
|
30682
30682
|
id: t.id,
|
|
30683
30683
|
title: t.name,
|
|
30684
30684
|
level: 5,
|
|
@@ -30774,7 +30774,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
|
|
|
30774
30774
|
},
|
|
30775
30775
|
emits: ["close", "addActivity", "bulkAddActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity", "startTimer"],
|
|
30776
30776
|
setup(t, { emit: e }) {
|
|
30777
|
-
const { t: n } =
|
|
30777
|
+
const { t: n } = Rt(), o = t, r = e, i = (x) => {
|
|
30778
30778
|
var M;
|
|
30779
30779
|
r("startTimer", x), (M = window.parent) == null || M.postMessage(
|
|
30780
30780
|
{
|
|
@@ -30946,7 +30946,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
|
|
|
30946
30946
|
]),
|
|
30947
30947
|
b("div", Mge, [
|
|
30948
30948
|
b("div", Lge, [
|
|
30949
|
-
N(
|
|
30949
|
+
N(Nt, {
|
|
30950
30950
|
title: ((I = l.value) == null ? void 0 : I.name) || t.milestoneId,
|
|
30951
30951
|
level: 5
|
|
30952
30952
|
}, null, 8, ["title"]),
|
|
@@ -30983,7 +30983,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
|
|
|
30983
30983
|
]),
|
|
30984
30984
|
b("div", Pge, [
|
|
30985
30985
|
b("label", Fge, [
|
|
30986
|
-
N(
|
|
30986
|
+
N(qt, {
|
|
30987
30987
|
modelValue: w.value,
|
|
30988
30988
|
"onUpdate:modelValue": M[2] || (M[2] = (A) => w.value = A),
|
|
30989
30989
|
options: S.value,
|
|
@@ -31018,7 +31018,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
|
|
|
31018
31018
|
}, {
|
|
31019
31019
|
clickable: ie(({ openPicker: A, bgColor: L }) => [
|
|
31020
31020
|
b("button", {
|
|
31021
|
-
style:
|
|
31021
|
+
style: Dt({ background: L }),
|
|
31022
31022
|
class: "color-button",
|
|
31023
31023
|
onClick: (F) => E(F, A)
|
|
31024
31024
|
}, null, 12, Bge)
|
|
@@ -31064,7 +31064,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
|
|
|
31064
31064
|
])) : P("", !0)
|
|
31065
31065
|
]),
|
|
31066
31066
|
b("div", qge, [
|
|
31067
|
-
N(te(co),
|
|
31067
|
+
N(te(co), jt({
|
|
31068
31068
|
class: "ao-project-milestone__activities",
|
|
31069
31069
|
list: c.value,
|
|
31070
31070
|
disabled: !t.isEditable,
|
|
@@ -31298,7 +31298,7 @@ const Zge = /* @__PURE__ */ le({
|
|
|
31298
31298
|
},
|
|
31299
31299
|
setup(t) {
|
|
31300
31300
|
return (e, n) => (k(), T("header", Kge, [
|
|
31301
|
-
N(
|
|
31301
|
+
N(Nt, {
|
|
31302
31302
|
title: t.title,
|
|
31303
31303
|
class: "ao-col-header__title",
|
|
31304
31304
|
level: 4
|
|
@@ -31361,7 +31361,7 @@ function Kc(t) {
|
|
|
31361
31361
|
const n0e = Jge ? window : void 0;
|
|
31362
31362
|
function o0e() {
|
|
31363
31363
|
const t = Q(!1), e = Fr();
|
|
31364
|
-
return e &&
|
|
31364
|
+
return e && Mt(() => {
|
|
31365
31365
|
t.value = !0;
|
|
31366
31366
|
}, e), t;
|
|
31367
31367
|
}
|
|
@@ -31415,7 +31415,7 @@ function i0e(t, e, n = {}) {
|
|
|
31415
31415
|
};
|
|
31416
31416
|
}
|
|
31417
31417
|
const s0e = {
|
|
31418
|
-
class: /* @__PURE__ */
|
|
31418
|
+
class: /* @__PURE__ */ ge(["ao-list-kanban"])
|
|
31419
31419
|
}, a0e = { class: "ao-list-kanban__header" }, l0e = ["title"], c0e = {
|
|
31420
31420
|
key: 0,
|
|
31421
31421
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
@@ -31502,7 +31502,7 @@ const s0e = {
|
|
|
31502
31502
|
])
|
|
31503
31503
|
];
|
|
31504
31504
|
}, void 0, 0) : P("", !0),
|
|
31505
|
-
N(te(co),
|
|
31505
|
+
N(te(co), jt({
|
|
31506
31506
|
class: ["ao-list-kanban__list", u.value ? "ao-list-kanban__transition" : void 0],
|
|
31507
31507
|
list: t.list,
|
|
31508
31508
|
"item-key": "id",
|
|
@@ -31525,7 +31525,7 @@ const s0e = {
|
|
|
31525
31525
|
return [
|
|
31526
31526
|
N(L0, {
|
|
31527
31527
|
id: p.id,
|
|
31528
|
-
class:
|
|
31528
|
+
class: ge(s(p) ? "ao-list-draggable" : ""),
|
|
31529
31529
|
name: p.name,
|
|
31530
31530
|
"project-name": (h = p.project) == null ? void 0 : h.name,
|
|
31531
31531
|
"project-id": (g = p.project) == null ? void 0 : g.id,
|
|
@@ -31635,14 +31635,14 @@ const m0e = { class: "ao-field ao-search-field" }, g0e = ["value", "placeholder"
|
|
|
31635
31635
|
}, null, 40, g0e),
|
|
31636
31636
|
N(Re, {
|
|
31637
31637
|
name: "SearchRounded",
|
|
31638
|
-
class:
|
|
31638
|
+
class: ge(`ao-search-field__icon ao-search-field__action ${t.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
31639
31639
|
}, null, 8, ["class"]),
|
|
31640
31640
|
N(Se, {
|
|
31641
31641
|
"icon-name": "CloseRounded",
|
|
31642
31642
|
size: "sm",
|
|
31643
31643
|
color: "primary",
|
|
31644
31644
|
corners: "round",
|
|
31645
|
-
class:
|
|
31645
|
+
class: ge(`ao-search-field__button ao-search-field__action ${t.modelValue ? "ao-search-field__action--visible" : ""}`),
|
|
31646
31646
|
onClick: s
|
|
31647
31647
|
}, null, 8, ["class"])
|
|
31648
31648
|
]));
|
|
@@ -31666,7 +31666,7 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
|
|
|
31666
31666
|
projects: { default: () => [] }
|
|
31667
31667
|
},
|
|
31668
31668
|
setup(t) {
|
|
31669
|
-
const e = (I) => I.label ? `Sprint ${I.number}: ${I.label}` : `Sprint ${I.number}`, n = t, { t: o } =
|
|
31669
|
+
const e = (I) => I.label ? `Sprint ${I.number}: ${I.label}` : `Sprint ${I.number}`, n = t, { t: o } = Rt(), r = ["Ok for prod", "Done"], i = Q(/* @__PURE__ */ new Set()), s = Q({}), a = (I) => {
|
|
31670
31670
|
i.value.has(I) ? i.value.delete(I) : i.value.add(I);
|
|
31671
31671
|
}, l = (I) => n.projects.find((A) => A.id === I.projectId), c = (I) => {
|
|
31672
31672
|
var A;
|
|
@@ -31738,13 +31738,13 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
|
|
|
31738
31738
|
!i.value.has(L.id) && l(L) ? (k(), T("span", S0e, " · " + R((F = l(L)) == null ? void 0 : F.name), 1)) : P("", !0)
|
|
31739
31739
|
]),
|
|
31740
31740
|
b("div", {
|
|
31741
|
-
class:
|
|
31741
|
+
class: ge(["ao-sprint-metrics__header-right", { "ao-sprint-metrics__header-right--behind": $(L.id) }])
|
|
31742
31742
|
}, [
|
|
31743
31743
|
b("div", x0e, [
|
|
31744
31744
|
b("div", A0e, [
|
|
31745
31745
|
b("div", {
|
|
31746
|
-
class:
|
|
31747
|
-
style:
|
|
31746
|
+
class: ge(["ao-sprint-metrics__progress-fill", { "ao-sprint-metrics__progress-fill--behind": $(L.id) }]),
|
|
31747
|
+
style: Dt({ width: C(L.id) + "%" })
|
|
31748
31748
|
}, null, 6)
|
|
31749
31749
|
]),
|
|
31750
31750
|
b("span", E0e, R(C(L.id)) + "% ", 1),
|
|
@@ -31790,9 +31790,9 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
|
|
|
31790
31790
|
b("div", B0e, R(te(o)("sprintMetrics.manDaysPlanned")), 1),
|
|
31791
31791
|
b("div", U0e, [
|
|
31792
31792
|
b("span", {
|
|
31793
|
-
class:
|
|
31793
|
+
class: ge(["ao-sprint-metrics__man-days", { "ao-sprint-metrics__man-days--has-tooltip": f(L.id).length > 0 }])
|
|
31794
31794
|
}, [
|
|
31795
|
-
|
|
31795
|
+
Gt(R(E(c(L.id))) + " MD ", 1),
|
|
31796
31796
|
f(L.id).length > 0 ? (k(), T("span", H0e, [
|
|
31797
31797
|
b("span", z0e, R(E(c(L.id))) + " MD planned ", 1),
|
|
31798
31798
|
(k(!0), T(Te, null, Ye(f(L.id), (H) => (k(), T("span", {
|
|
@@ -31830,9 +31830,9 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
|
|
|
31830
31830
|
b("div", X0e, R(te(o)("sprintMetrics.planningProgress")), 1),
|
|
31831
31831
|
b("div", Q0e, [
|
|
31832
31832
|
m(L.id) !== null ? (k(), T(Te, { key: 0 }, [
|
|
31833
|
-
|
|
31833
|
+
Gt(R(_(L.id)) + "% · " + R(E(d(L.id))) + " / " + R(E(v(L.id))) + " pts ", 1)
|
|
31834
31834
|
], 64)) : (k(), T(Te, { key: 1 }, [
|
|
31835
|
-
|
|
31835
|
+
Gt(" — ")
|
|
31836
31836
|
], 64))
|
|
31837
31837
|
])
|
|
31838
31838
|
])
|
|
@@ -31879,27 +31879,27 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
31879
31879
|
},
|
|
31880
31880
|
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", "createSprint", "fetchHistory"],
|
|
31881
31881
|
setup(t, { emit: e }) {
|
|
31882
|
-
const { t: n } =
|
|
31883
|
-
function i(W,
|
|
31884
|
-
r("toast", W,
|
|
31882
|
+
const { t: n } = Rt(), o = t, r = e;
|
|
31883
|
+
function i(W, ve) {
|
|
31884
|
+
r("toast", W, ve);
|
|
31885
31885
|
}
|
|
31886
|
-
const s = ni(o, "activities"), a = O(() => o.feedMode === "dev" ? o.devStatuses : o.statuses), l = O(() => o.feedMode === "dev" ? s.value.filter((W) => W.activityType === "dev") : s.value), c = async (W,
|
|
31887
|
-
await r("selectActivity", W,
|
|
31886
|
+
const s = ni(o, "activities"), a = O(() => o.feedMode === "dev" ? o.devStatuses : o.statuses), l = O(() => o.feedMode === "dev" ? s.value.filter((W) => W.activityType === "dev") : s.value), c = async (W, ve) => {
|
|
31887
|
+
await r("selectActivity", W, ve);
|
|
31888
31888
|
}, u = Q({}), f = Q(!1), d = Q(!1), p = O(() => o.project ? "milestone" : "project");
|
|
31889
31889
|
Ne(
|
|
31890
31890
|
[() => a.value, () => l.value, () => o.initialActivityId, () => o.initialActivitySlug, () => o.feedMode],
|
|
31891
31891
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
31892
|
-
async ([W,
|
|
31892
|
+
async ([W, ve, De, Ee], [ut, We]) => {
|
|
31893
31893
|
const Ze = o.feedMode === "dev" ? "devStatus" : "status";
|
|
31894
31894
|
u.value = Object.fromEntries(
|
|
31895
31895
|
W.map((ot) => [
|
|
31896
31896
|
ot.id,
|
|
31897
|
-
|
|
31897
|
+
ve.filter((pt) => {
|
|
31898
31898
|
const ht = pt[Ze];
|
|
31899
31899
|
return (ht == null ? void 0 : ht.id) === ot.id;
|
|
31900
31900
|
})
|
|
31901
31901
|
])
|
|
31902
|
-
), De && !f.value ? (c(De, null), f.value = !0) : Ee && !f.value && (c(null, Ee), f.value = !0), d.value && ko(
|
|
31902
|
+
), De && !f.value ? (c(De, null), f.value = !0) : Ee && !f.value && (c(null, Ee), f.value = !0), d.value && ko(ve, We);
|
|
31903
31903
|
},
|
|
31904
31904
|
{ immediate: !0 }
|
|
31905
31905
|
);
|
|
@@ -31908,7 +31908,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
31908
31908
|
return !o.selectedActivity || !o.selectedActivity.milestone ? "" : `${((W = o.selectedActivity.milestone.phase) == null ? void 0 : W.name) ?? ""} / ${o.selectedActivity.milestone.name ?? ""}`;
|
|
31909
31909
|
}), g = (W) => {
|
|
31910
31910
|
var ot;
|
|
31911
|
-
const
|
|
31911
|
+
const ve = o.feedMode === "dev" ? o.activities.filter((pt) => pt.activityType === "dev") : o.activities, De = ve == null ? void 0 : ve.at(-1), Ee = De ? gt.LexoRank.parse(De.rank).genNext() : gt.LexoRank.middle(), ut = ((ot = o.activities) == null ? void 0 : ot.length) ?? 0, We = o.feedMode === "dev", Ze = {
|
|
31912
31912
|
name: n("activity.defaultName", { idx: ut + 1 }),
|
|
31913
31913
|
rank: Ee.format(),
|
|
31914
31914
|
...We ? { statusDevId: W.id, type: "dev" } : { statusId: W.id }
|
|
@@ -31920,8 +31920,8 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
31920
31920
|
d.value = !0, r("addActivity", Ze);
|
|
31921
31921
|
}, y = (W) => {
|
|
31922
31922
|
var ot, pt;
|
|
31923
|
-
const
|
|
31924
|
-
const Ge = ht[
|
|
31923
|
+
const ve = o.feedMode === "dev" ? "devStatus" : "status", De = ((ot = o.activities) == null ? void 0 : ot.filter((ht) => {
|
|
31924
|
+
const Ge = ht[ve];
|
|
31925
31925
|
return (Ge == null ? void 0 : Ge.id) === W.id;
|
|
31926
31926
|
})) ?? [], Ee = Fs(De), ut = ((pt = o.activities) == null ? void 0 : pt.length) ?? 0, We = o.feedMode === "dev", Ze = {
|
|
31927
31927
|
name: n("activity.defaultName", { idx: ut + 1 }),
|
|
@@ -31933,8 +31933,8 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
31933
31933
|
ht && (Ze.sprintId = ht.id, Ze.projectId = ht.projectId);
|
|
31934
31934
|
}
|
|
31935
31935
|
d.value = !0, r("addActivity", Ze);
|
|
31936
|
-
}, v = (W,
|
|
31937
|
-
d.value = !1, r("update:filters", { ...o.filters, [W]:
|
|
31936
|
+
}, v = (W, ve) => {
|
|
31937
|
+
d.value = !1, r("update:filters", { ...o.filters, [W]: ve });
|
|
31938
31938
|
}, m = O(
|
|
31939
31939
|
() => o.project ? [o.project] : o.projects ?? []
|
|
31940
31940
|
), _ = O(() => m.value.map((W) => ({
|
|
@@ -31948,25 +31948,25 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
31948
31948
|
projectId: W.projectId
|
|
31949
31949
|
}))), S = O(() => {
|
|
31950
31950
|
const W = o.filters[Yn.sprint] ?? [];
|
|
31951
|
-
return o.sprints.filter((
|
|
31951
|
+
return o.sprints.filter((ve) => W.includes(ve.id));
|
|
31952
31952
|
}), w = O(() => {
|
|
31953
31953
|
var De;
|
|
31954
|
-
const W = o.filters[Yn.project] ?? [],
|
|
31955
|
-
return [...W, ...
|
|
31954
|
+
const W = o.filters[Yn.project] ?? [], ve = (De = o.project) != null && De.id ? [o.project.id] : [];
|
|
31955
|
+
return [...W, ...ve];
|
|
31956
31956
|
}), $ = O(() => o.milestones.map((W) => {
|
|
31957
|
-
var
|
|
31957
|
+
var ve;
|
|
31958
31958
|
return {
|
|
31959
31959
|
value: W.id,
|
|
31960
|
-
label: (
|
|
31960
|
+
label: (ve = W.phase) != null && ve.name ? `${W.phase.name} - ${W.name}` : W.name,
|
|
31961
31961
|
color: W.color,
|
|
31962
31962
|
important: W.important
|
|
31963
31963
|
};
|
|
31964
31964
|
}));
|
|
31965
31965
|
O(() => {
|
|
31966
31966
|
var W;
|
|
31967
|
-
return (W = o.activityTypes) == null ? void 0 : W.map((
|
|
31968
|
-
value:
|
|
31969
|
-
label:
|
|
31967
|
+
return (W = o.activityTypes) == null ? void 0 : W.map((ve) => ({
|
|
31968
|
+
value: ve.id,
|
|
31969
|
+
label: ve.name
|
|
31970
31970
|
}));
|
|
31971
31971
|
});
|
|
31972
31972
|
const E = O(() => o.users.map((W) => ({
|
|
@@ -31982,8 +31982,8 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
31982
31982
|
}, A = (W) => {
|
|
31983
31983
|
r("unarchiveActivity", W);
|
|
31984
31984
|
}, L = (W) => {
|
|
31985
|
-
var
|
|
31986
|
-
r("startTimer", W), (
|
|
31985
|
+
var ve;
|
|
31986
|
+
r("startTimer", W), (ve = window.parent) == null || ve.postMessage({
|
|
31987
31987
|
type: "startTimer",
|
|
31988
31988
|
data: W
|
|
31989
31989
|
}, "*");
|
|
@@ -32007,11 +32007,11 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32007
32007
|
activityId: o.selectedActivity.id
|
|
32008
32008
|
});
|
|
32009
32009
|
}, he = (W) => {
|
|
32010
|
-
const { id:
|
|
32011
|
-
|
|
32010
|
+
const { id: ve } = o.selectedActivity || {};
|
|
32011
|
+
ve && r("updateComment", W);
|
|
32012
32012
|
}, Ve = (W) => {
|
|
32013
|
-
const { id:
|
|
32014
|
-
|
|
32013
|
+
const { id: ve } = o.selectedActivity || {};
|
|
32014
|
+
ve && r("removeComment", W);
|
|
32015
32015
|
}, Ce = Pu(), pe = ah(), Z = Q("feed");
|
|
32016
32016
|
Ne(
|
|
32017
32017
|
() => pe.name,
|
|
@@ -32025,10 +32025,10 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32025
32025
|
{ label: "Feed", value: "feed" },
|
|
32026
32026
|
{ label: "Dev", value: "dev" },
|
|
32027
32027
|
{ label: "Mapping", value: "mapping" }
|
|
32028
|
-
], me = O(() => Ue.value ? V.filter((W) => W.value === "feed" || W.value === "dev") : V), Ue = O(() => !o.project && pe.name && (pe.name === Yr.feed || pe.name === Yr.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), it = O(() => Ue.value ? Yr.feed : nt.feed), Be = O(() => Ue.value ? Yr.dev : nt.dev), Pe = O(() => nt.project),
|
|
32028
|
+
], me = O(() => Ue.value ? V.filter((W) => W.value === "feed" || W.value === "dev") : V), Ue = O(() => !o.project && pe.name && (pe.name === Yr.feed || pe.name === Yr.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), it = O(() => Ue.value ? Yr.feed : nt.feed), Be = O(() => Ue.value ? Yr.dev : nt.dev), Pe = O(() => nt.project), Bt = O(() => nt.mapping);
|
|
32029
32029
|
return Ne(Z, (W) => {
|
|
32030
|
-
W === "feed" ? Ce.push({ name: it.value }) : W === "dev" ? Ce.push({ name: Be.value }) : W === "overview" ? Ce.push({ name: Pe.value }) : W === "mapping" && Ce.push({ name:
|
|
32031
|
-
}), (W,
|
|
32030
|
+
W === "feed" ? Ce.push({ name: it.value }) : W === "dev" ? Ce.push({ name: Be.value }) : W === "overview" ? Ce.push({ name: Pe.value }) : W === "mapping" && Ce.push({ name: Bt.value });
|
|
32031
|
+
}), (W, ve) => {
|
|
32032
32032
|
var De;
|
|
32033
32033
|
return k(), T("div", nve, [
|
|
32034
32034
|
N(Rs, null, {
|
|
@@ -32036,7 +32036,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32036
32036
|
b("div", ove, [
|
|
32037
32037
|
N(Yl, {
|
|
32038
32038
|
modelValue: Z.value,
|
|
32039
|
-
"onUpdate:modelValue":
|
|
32039
|
+
"onUpdate:modelValue": ve[0] || (ve[0] = (Ee) => Z.value = Ee),
|
|
32040
32040
|
tabs: me.value
|
|
32041
32041
|
}, null, 8, ["modelValue", "tabs"]),
|
|
32042
32042
|
N(v0e, {
|
|
@@ -32046,7 +32046,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32046
32046
|
"onUpdate:modelValue": F,
|
|
32047
32047
|
onClear: H
|
|
32048
32048
|
}, null, 8, ["model-value", "placeholder"]),
|
|
32049
|
-
o.project ? P("", !0) : (k(), Y(
|
|
32049
|
+
o.project ? P("", !0) : (k(), Y(qt, {
|
|
32050
32050
|
key: 0,
|
|
32051
32051
|
"model-value": t.filters[te(Yn).project],
|
|
32052
32052
|
mode: "tags",
|
|
@@ -32056,9 +32056,9 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32056
32056
|
searchable: !0,
|
|
32057
32057
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
32058
32058
|
placeholder: W.$t("feed.filters.project.placeholder"),
|
|
32059
|
-
"onUpdate:modelValue":
|
|
32059
|
+
"onUpdate:modelValue": ve[1] || (ve[1] = (Ee) => v(te(Yn).project, Ee))
|
|
32060
32060
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
32061
|
-
t.feedMode === "dev" ? (k(), Y(
|
|
32061
|
+
t.feedMode === "dev" ? (k(), Y(qt, {
|
|
32062
32062
|
key: 1,
|
|
32063
32063
|
"model-value": t.filters[te(Yn).sprint],
|
|
32064
32064
|
mode: "tags",
|
|
@@ -32068,9 +32068,9 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32068
32068
|
disabled: !C.value.length,
|
|
32069
32069
|
class: "ao-feed__filter ao-feed__filter__sprints",
|
|
32070
32070
|
placeholder: W.$t("feed.filters.sprint.placeholder"),
|
|
32071
|
-
"onUpdate:modelValue":
|
|
32071
|
+
"onUpdate:modelValue": ve[2] || (ve[2] = (Ee) => v(te(Yn).sprint, Ee))
|
|
32072
32072
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : P("", !0),
|
|
32073
|
-
N(
|
|
32073
|
+
N(qt, {
|
|
32074
32074
|
"model-value": t.filters[te(Yn).milestone],
|
|
32075
32075
|
mode: "tags",
|
|
32076
32076
|
options: $.value,
|
|
@@ -32080,9 +32080,9 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32080
32080
|
disabled: w.value.length === 0,
|
|
32081
32081
|
class: "ao-feed__filter ao-feed__filter__milestones",
|
|
32082
32082
|
placeholder: W.$t("feed.filters.milestone.placeholder"),
|
|
32083
|
-
"onUpdate:modelValue":
|
|
32083
|
+
"onUpdate:modelValue": ve[3] || (ve[3] = (Ee) => v(te(Yn).milestone, Ee))
|
|
32084
32084
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"]),
|
|
32085
|
-
E.value.length ? (k(), Y(
|
|
32085
|
+
E.value.length ? (k(), Y(qt, {
|
|
32086
32086
|
key: 2,
|
|
32087
32087
|
"model-value": t.filters[te(Yn).assignee],
|
|
32088
32088
|
mode: "tags",
|
|
@@ -32091,7 +32091,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32091
32091
|
searchable: !0,
|
|
32092
32092
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
32093
32093
|
placeholder: W.$t("feed.filters.assignee.placeholder"),
|
|
32094
|
-
"onUpdate:modelValue":
|
|
32094
|
+
"onUpdate:modelValue": ve[4] || (ve[4] = (Ee) => v(te(Yn).assignee, Ee))
|
|
32095
32095
|
}, {
|
|
32096
32096
|
tag: ie(({
|
|
32097
32097
|
option: Ee,
|
|
@@ -32117,7 +32117,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32117
32117
|
label: W.$t("feed.filters.showsOnlyNonAssigned.label"),
|
|
32118
32118
|
role: "checkbox",
|
|
32119
32119
|
"aria-checked": t.showsOnlyNonAssigned,
|
|
32120
|
-
onClick:
|
|
32120
|
+
onClick: ve[5] || (ve[5] = (Ee) => W.$emit("update:showsOnlyNonAssigned", !t.showsOnlyNonAssigned))
|
|
32121
32121
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
32122
32122
|
N(Se, {
|
|
32123
32123
|
class: "ao-feed__only-important",
|
|
@@ -32129,7 +32129,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32129
32129
|
label: W.$t("feed.filters.showsOnlyImportant.label"),
|
|
32130
32130
|
role: "checkbox",
|
|
32131
32131
|
"aria-checked": t.showsOnlyImportant,
|
|
32132
|
-
onClick:
|
|
32132
|
+
onClick: ve[6] || (ve[6] = (Ee) => W.$emit("update:showsOnlyImportant", !t.showsOnlyImportant))
|
|
32133
32133
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
32134
32134
|
N(Se, {
|
|
32135
32135
|
class: "ao-feed__show-archived",
|
|
@@ -32141,7 +32141,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32141
32141
|
label: W.$t("feed.filters.showsArchivedActivities.label"),
|
|
32142
32142
|
role: "checkbox",
|
|
32143
32143
|
"aria-checked": t.showsArchivedActivities,
|
|
32144
|
-
onClick:
|
|
32144
|
+
onClick: ve[7] || (ve[7] = (Ee) => W.$emit("update:showsArchivedActivities", !t.showsArchivedActivities))
|
|
32145
32145
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
32146
32146
|
]),
|
|
32147
32147
|
_: 1
|
|
@@ -32196,8 +32196,8 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32196
32196
|
"history-loading": t.historyLoading,
|
|
32197
32197
|
"load-attachment-preview": o.loadAttachmentPreview,
|
|
32198
32198
|
sprints: t.activitySprints,
|
|
32199
|
-
onClose:
|
|
32200
|
-
onFetchHistory:
|
|
32199
|
+
onClose: ve[8] || (ve[8] = () => c(null, null)),
|
|
32200
|
+
onFetchHistory: ve[9] || (ve[9] = () => r("fetchHistory")),
|
|
32201
32201
|
"onUpdate:activity": x,
|
|
32202
32202
|
onAddSubtask: q,
|
|
32203
32203
|
onUpdateSubtask: ee,
|
|
@@ -32208,7 +32208,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32208
32208
|
onUpdateComment: he,
|
|
32209
32209
|
onRemoveComment: Ve,
|
|
32210
32210
|
onToast: i,
|
|
32211
|
-
onCreateSprint:
|
|
32211
|
+
onCreateSprint: ve[10] || (ve[10] = (Ee) => r("createSprint", Ee))
|
|
32212
32212
|
}, {
|
|
32213
32213
|
default: ie((Ee) => [
|
|
32214
32214
|
we(W.$slots, "activityDetailsBody", Ms(Ls(Ee)))
|
|
@@ -32241,7 +32241,7 @@ const ive = { class: "ao-project-mapping" }, sve = { class: "ao-project-mapping-
|
|
|
32241
32241
|
},
|
|
32242
32242
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "copyPhaseToTemplate", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
32243
32243
|
setup(t, { emit: e }) {
|
|
32244
|
-
const { t: n } =
|
|
32244
|
+
const { t: n } = Rt(), o = t, r = e, i = () => {
|
|
32245
32245
|
const { name: m, rank: _ } = kr(o.phases, "phase", n);
|
|
32246
32246
|
r("addPhase", { name: m, rank: _, projectId: o.project.id });
|
|
32247
32247
|
}, s = () => {
|
|
@@ -32272,7 +32272,7 @@ const ive = { class: "ao-project-mapping" }, sve = { class: "ao-project-mapping-
|
|
|
32272
32272
|
}), (m, _) => {
|
|
32273
32273
|
var C;
|
|
32274
32274
|
return k(), T(Te, null, [
|
|
32275
|
-
b("div",
|
|
32275
|
+
b("div", jt({ class: "ao-project-mapping-overview" }, m.$attrs), [
|
|
32276
32276
|
b("div", ive, [
|
|
32277
32277
|
N(Rs, null, {
|
|
32278
32278
|
primary: ie(() => [
|
|
@@ -32371,7 +32371,7 @@ const ti = {
|
|
|
32371
32371
|
TEMPLATES: "templates",
|
|
32372
32372
|
TEMPLATE_DETAILS: "template_details",
|
|
32373
32373
|
TEMPLATES_LIST: "templates_list"
|
|
32374
|
-
},
|
|
32374
|
+
}, b_e = (t, e = {}) => [
|
|
32375
32375
|
{
|
|
32376
32376
|
path: t,
|
|
32377
32377
|
name: ti.TEMPLATES,
|
|
@@ -32401,7 +32401,7 @@ const ti = {
|
|
|
32401
32401
|
}, Yr = {
|
|
32402
32402
|
feed: "ActivityFeed",
|
|
32403
32403
|
dev: "ActivityFeedDev"
|
|
32404
|
-
},
|
|
32404
|
+
}, C_e = (t, e = {}) => [
|
|
32405
32405
|
{
|
|
32406
32406
|
path: t,
|
|
32407
32407
|
...e,
|
|
@@ -32463,7 +32463,7 @@ const ti = {
|
|
|
32463
32463
|
},
|
|
32464
32464
|
emits: ["addTemplate", "updateTemplates", "updateItem", "removeItem"],
|
|
32465
32465
|
setup(t, { emit: e }) {
|
|
32466
|
-
const { t: n } =
|
|
32466
|
+
const { t: n } = Rt(), o = t, r = e;
|
|
32467
32467
|
Ne(() => o.templates, (c, u) => {
|
|
32468
32468
|
ko(c, u);
|
|
32469
32469
|
});
|
|
@@ -32558,13 +32558,13 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
|
|
|
32558
32558
|
},
|
|
32559
32559
|
setup(t) {
|
|
32560
32560
|
return (e, n) => (k(), T("label", {
|
|
32561
|
-
class:
|
|
32561
|
+
class: ge(["ao-field", { "ao-field--multiselect": t.isMultiselect }])
|
|
32562
32562
|
}, [
|
|
32563
32563
|
b("span", pve, R(t.label), 1),
|
|
32564
32564
|
we(e.$slots, "default")
|
|
32565
32565
|
], 2));
|
|
32566
32566
|
}
|
|
32567
|
-
}), mve = ["type", "value", "disabled", "readonly"],
|
|
32567
|
+
}), mve = ["type", "value", "disabled", "readonly"], k_e = /* @__PURE__ */ le({
|
|
32568
32568
|
__name: "AoInputField",
|
|
32569
32569
|
props: {
|
|
32570
32570
|
label: { default: "" },
|
|
@@ -32583,7 +32583,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
|
|
|
32583
32583
|
};
|
|
32584
32584
|
return (s, a) => (k(), Y(hve, { label: t.label }, {
|
|
32585
32585
|
default: ie(() => [
|
|
32586
|
-
b("input",
|
|
32586
|
+
b("input", jt({
|
|
32587
32587
|
class: "ao-field__input",
|
|
32588
32588
|
type: t.type,
|
|
32589
32589
|
value: t.modelValue,
|
|
@@ -32644,7 +32644,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
|
|
|
32644
32644
|
}, Nve = { class: "ao-audit-config__option" }, Pve = ["title"], Fve = {
|
|
32645
32645
|
key: 0,
|
|
32646
32646
|
class: "ao-audit-config__all-tracked"
|
|
32647
|
-
},
|
|
32647
|
+
}, w_e = /* @__PURE__ */ le({
|
|
32648
32648
|
__name: "AoAuditConfigTable",
|
|
32649
32649
|
props: {
|
|
32650
32650
|
tables: {},
|
|
@@ -32654,7 +32654,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
|
|
|
32654
32654
|
},
|
|
32655
32655
|
emits: ["update"],
|
|
32656
32656
|
setup(t, { emit: e }) {
|
|
32657
|
-
const n = t, o = e, { t: r } =
|
|
32657
|
+
const n = t, o = e, { t: r } = Rt(), i = O(() => n.tables);
|
|
32658
32658
|
function s(c) {
|
|
32659
32659
|
return c.columns.map((u) => ({
|
|
32660
32660
|
value: u.name,
|
|
@@ -32708,7 +32708,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
|
|
|
32708
32708
|
])
|
|
32709
32709
|
]),
|
|
32710
32710
|
b("td", Ove, [
|
|
32711
|
-
f.isEnabled ? (k(), Y(
|
|
32711
|
+
f.isEnabled ? (k(), Y(qt, {
|
|
32712
32712
|
key: 1,
|
|
32713
32713
|
"model-value": f.excludeColumns,
|
|
32714
32714
|
class: "ao-audit-config__multiselect",
|
|
@@ -32725,7 +32725,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
|
|
|
32725
32725
|
}, {
|
|
32726
32726
|
option: ie(({ option: d }) => [
|
|
32727
32727
|
b("span", Nve, [
|
|
32728
|
-
|
|
32728
|
+
Gt(R(d.label) + " ", 1),
|
|
32729
32729
|
d.isPrimaryKey ? (k(), T("span", {
|
|
32730
32730
|
key: 0,
|
|
32731
32731
|
class: "ao-audit-config__pk",
|
|
@@ -32748,22 +32748,16 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
|
|
|
32748
32748
|
const Rve = {
|
|
32749
32749
|
key: 0,
|
|
32750
32750
|
class: "ao-activity-inline__drag-handle"
|
|
32751
|
-
}, Bve = { class: "ao-activity-inline__title" }, Uve = {
|
|
32752
|
-
key: 0,
|
|
32753
|
-
class: "ao-activity-inline__milestone"
|
|
32754
|
-
}, Hve = { class: "ao-activity-inline__name" }, zve = { class: "ao-activity-inline__assignee" }, qve = {
|
|
32751
|
+
}, Bve = { class: "ao-activity-inline__title" }, Uve = { class: "ao-activity-inline__name" }, Hve = { class: "ao-activity-inline__assignee" }, zve = {
|
|
32755
32752
|
key: 1,
|
|
32756
32753
|
class: "ao-activity-inline__unassigned"
|
|
32757
|
-
},
|
|
32758
|
-
key: 0,
|
|
32759
|
-
class: "ao-activity-inline__milestone"
|
|
32760
|
-
}, Kve = { class: "ao-activity-inline__name" }, Gve = { class: "ao-activity-inline__assignee" }, Yve = {
|
|
32754
|
+
}, qve = { class: "ao-activity-inline__estimation" }, jve = { class: "ao-activity-inline__status" }, Vve = { class: "ao-activity-inline__title" }, Wve = { class: "ao-activity-inline__name" }, Zve = { class: "ao-activity-inline__assignee" }, Kve = {
|
|
32761
32755
|
key: 1,
|
|
32762
32756
|
class: "ao-activity-inline__unassigned"
|
|
32763
|
-
},
|
|
32757
|
+
}, Gve = { class: "ao-activity-inline__estimation" }, Yve = { class: "ao-activity-inline__status" }, Jve = {
|
|
32764
32758
|
key: 3,
|
|
32765
32759
|
class: "ao-activity-inline__content ao-activity-inline--disabled"
|
|
32766
|
-
},
|
|
32760
|
+
}, Xve = { class: "ao-activity-inline__title" }, Qve = { class: "ao-activity-inline__name" }, e2e = { class: "ao-activity-inline__assignee" }, t2e = { key: 1 }, n2e = { class: "ao-activity-inline__estimation" }, o2e = { class: "ao-activity-inline__status" }, r2e = /* @__PURE__ */ le({
|
|
32767
32761
|
__name: "AoActivityInline",
|
|
32768
32762
|
props: {
|
|
32769
32763
|
activity: {},
|
|
@@ -32797,7 +32791,7 @@ const Rve = {
|
|
|
32797
32791
|
return ((c = n.activity.project) == null ? void 0 : c.estimationUnit) === "days" ? "d" : "h";
|
|
32798
32792
|
});
|
|
32799
32793
|
return (c, u) => (k(), T("div", {
|
|
32800
|
-
class:
|
|
32794
|
+
class: ge([
|
|
32801
32795
|
"ao-activity-inline",
|
|
32802
32796
|
t.isDraggable ? "ao-activity-inline--draggable" : ""
|
|
32803
32797
|
])
|
|
@@ -32805,94 +32799,102 @@ const Rve = {
|
|
|
32805
32799
|
t.isDraggable ? (k(), T("div", Rve, [
|
|
32806
32800
|
N(Re, { name: "DragIndicator" })
|
|
32807
32801
|
])) : P("", !0),
|
|
32808
|
-
t.clickable
|
|
32802
|
+
t.clickable ? (k(), T("button", {
|
|
32809
32803
|
key: 1,
|
|
32810
32804
|
type: "button",
|
|
32811
32805
|
class: "ao-activity-inline__content",
|
|
32812
32806
|
onClick: xe(r, ["stop"])
|
|
32813
32807
|
}, [
|
|
32814
32808
|
b("div", Bve, [
|
|
32815
|
-
t.showMilestone && t.activity.milestone ? (k(), T("span",
|
|
32816
|
-
|
|
32809
|
+
t.showMilestone && t.activity.milestone ? (k(), T("span", {
|
|
32810
|
+
key: 0,
|
|
32811
|
+
class: "ao-activity-inline__milestone",
|
|
32812
|
+
style: Dt({ "--milestone-color": t.activity.milestone.color || void 0 })
|
|
32813
|
+
}, R(t.activity.milestone.name), 5)) : P("", !0),
|
|
32814
|
+
b("span", Uve, R(t.activity.name), 1)
|
|
32817
32815
|
]),
|
|
32818
|
-
b("div",
|
|
32816
|
+
b("div", Hve, [
|
|
32819
32817
|
t.activity.assignee ? (k(), Y(Pn, {
|
|
32820
32818
|
key: 0,
|
|
32821
32819
|
"user-name": s.value,
|
|
32822
32820
|
"avatar-url": t.activity.assignee.avatarUrl,
|
|
32823
32821
|
size: "sm",
|
|
32824
32822
|
color: "neutral"
|
|
32825
|
-
}, null, 8, ["user-name", "avatar-url"])) : (k(), T("span",
|
|
32823
|
+
}, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", zve, " — "))
|
|
32826
32824
|
]),
|
|
32827
|
-
b("div",
|
|
32825
|
+
b("div", qve, [
|
|
32828
32826
|
t.activity.estimation != null ? (k(), T(Te, { key: 0 }, [
|
|
32829
|
-
|
|
32827
|
+
Gt(R(t.activity.estimation) + R(l.value), 1)
|
|
32830
32828
|
], 64)) : (k(), T(Te, { key: 1 }, [
|
|
32831
|
-
|
|
32829
|
+
Gt(" — ")
|
|
32832
32830
|
], 64))
|
|
32833
32831
|
]),
|
|
32834
|
-
b("div",
|
|
32832
|
+
b("div", jve, R(a.value), 1)
|
|
32835
32833
|
])) : i.value ? (k(), Y(te(Q0), {
|
|
32836
32834
|
key: 2,
|
|
32837
32835
|
to: i.value,
|
|
32838
32836
|
class: "ao-activity-inline__content"
|
|
32839
32837
|
}, {
|
|
32840
32838
|
default: ie(() => [
|
|
32841
|
-
b("div",
|
|
32842
|
-
t.showMilestone && t.activity.milestone ? (k(), T("span",
|
|
32843
|
-
|
|
32839
|
+
b("div", Vve, [
|
|
32840
|
+
t.showMilestone && t.activity.milestone ? (k(), T("span", {
|
|
32841
|
+
key: 0,
|
|
32842
|
+
class: "ao-activity-inline__milestone",
|
|
32843
|
+
style: Dt({ "--milestone-color": t.activity.milestone.color || void 0 })
|
|
32844
|
+
}, R(t.activity.milestone.name), 5)) : P("", !0),
|
|
32845
|
+
b("span", Wve, R(t.activity.name), 1)
|
|
32844
32846
|
]),
|
|
32845
|
-
b("div",
|
|
32847
|
+
b("div", Zve, [
|
|
32846
32848
|
t.activity.assignee ? (k(), Y(Pn, {
|
|
32847
32849
|
key: 0,
|
|
32848
32850
|
"user-name": s.value,
|
|
32849
32851
|
"avatar-url": t.activity.assignee.avatarUrl,
|
|
32850
32852
|
size: "sm",
|
|
32851
32853
|
color: "neutral"
|
|
32852
|
-
}, null, 8, ["user-name", "avatar-url"])) : (k(), T("span",
|
|
32854
|
+
}, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", Kve, " — "))
|
|
32853
32855
|
]),
|
|
32854
|
-
b("div",
|
|
32856
|
+
b("div", Gve, [
|
|
32855
32857
|
t.activity.estimation != null ? (k(), T(Te, { key: 0 }, [
|
|
32856
|
-
|
|
32858
|
+
Gt(R(t.activity.estimation) + R(l.value), 1)
|
|
32857
32859
|
], 64)) : (k(), T(Te, { key: 1 }, [
|
|
32858
|
-
|
|
32860
|
+
Gt(" — ")
|
|
32859
32861
|
], 64))
|
|
32860
32862
|
]),
|
|
32861
|
-
b("div",
|
|
32863
|
+
b("div", Yve, R(a.value), 1)
|
|
32862
32864
|
]),
|
|
32863
32865
|
_: 1
|
|
32864
|
-
}, 8, ["to"])) : (k(), T("div",
|
|
32865
|
-
b("div",
|
|
32866
|
-
b("span",
|
|
32866
|
+
}, 8, ["to"])) : (k(), T("div", Jve, [
|
|
32867
|
+
b("div", Xve, [
|
|
32868
|
+
b("span", Qve, R(t.activity.name), 1)
|
|
32867
32869
|
]),
|
|
32868
|
-
b("div",
|
|
32870
|
+
b("div", e2e, [
|
|
32869
32871
|
t.activity.assignee ? (k(), Y(Pn, {
|
|
32870
32872
|
key: 0,
|
|
32871
32873
|
"user-name": s.value,
|
|
32872
32874
|
"avatar-url": t.activity.assignee.avatarUrl,
|
|
32873
32875
|
size: "sm",
|
|
32874
32876
|
color: "neutral"
|
|
32875
|
-
}, null, 8, ["user-name", "avatar-url"])) : (k(), T("span",
|
|
32877
|
+
}, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", t2e, "—"))
|
|
32876
32878
|
]),
|
|
32877
|
-
b("div",
|
|
32879
|
+
b("div", n2e, [
|
|
32878
32880
|
t.activity.estimation != null ? (k(), T(Te, { key: 0 }, [
|
|
32879
|
-
|
|
32881
|
+
Gt(R(t.activity.estimation) + R(l.value), 1)
|
|
32880
32882
|
], 64)) : (k(), T(Te, { key: 1 }, [
|
|
32881
|
-
|
|
32883
|
+
Gt(" — ")
|
|
32882
32884
|
], 64))
|
|
32883
32885
|
]),
|
|
32884
|
-
b("div",
|
|
32886
|
+
b("div", o2e, R(a.value), 1)
|
|
32885
32887
|
]))
|
|
32886
32888
|
], 2));
|
|
32887
32889
|
}
|
|
32888
32890
|
});
|
|
32889
|
-
const O0 = /* @__PURE__ */ de(
|
|
32891
|
+
const O0 = /* @__PURE__ */ de(r2e, [["__scopeId", "data-v-dba59e2d"]]), i2e = { class: "ao-sprint-section__header-left" }, s2e = { class: "ao-sprint-section__expand-icon" }, a2e = { class: "ao-sprint-section__title" }, l2e = {
|
|
32890
32892
|
key: 0,
|
|
32891
32893
|
class: "ao-sprint-section__archived-badge"
|
|
32892
|
-
},
|
|
32894
|
+
}, c2e = { class: "ao-sprint-section__header-right" }, u2e = { class: "ao-sprint-section__dates" }, d2e = { class: "ao-sprint-section__meta" }, f2e = ["onClick"], p2e = { class: "ao-sprint-section__edit-title" }, h2e = { class: "ao-sprint-section__fixed-number" }, m2e = { class: "ao-sprint-section__date-fields" }, g2e = { class: "ao-sprint-section__actions" }, v2e = { class: "ao-sprint-section__content" }, _2e = {
|
|
32893
32895
|
key: 0,
|
|
32894
32896
|
class: "ao-sprint-section__empty"
|
|
32895
|
-
},
|
|
32897
|
+
}, y2e = /* @__PURE__ */ le({
|
|
32896
32898
|
__name: "AoSprintSection",
|
|
32897
32899
|
props: {
|
|
32898
32900
|
sprint: {},
|
|
@@ -32952,7 +32954,7 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
|
|
|
32952
32954
|
o("unarchiveSprint", { id: n.sprint.id });
|
|
32953
32955
|
};
|
|
32954
32956
|
return ($, E) => (k(), T("div", {
|
|
32955
|
-
class:
|
|
32957
|
+
class: ge(["ao-sprint-section", { "ao-sprint-section--archived": !t.sprint.active }])
|
|
32956
32958
|
}, [
|
|
32957
32959
|
a.value ? (k(), T("div", {
|
|
32958
32960
|
key: 1,
|
|
@@ -32967,15 +32969,15 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
|
|
|
32967
32969
|
clickable: ie(({ openPicker: x, bgColor: M }) => [
|
|
32968
32970
|
b("button", {
|
|
32969
32971
|
class: "ao-sprint-section__color-trigger",
|
|
32970
|
-
style:
|
|
32972
|
+
style: Dt({ backgroundColor: M }),
|
|
32971
32973
|
title: "Sprint color",
|
|
32972
32974
|
onClick: (I) => x(I.currentTarget)
|
|
32973
|
-
}, null, 12,
|
|
32975
|
+
}, null, 12, f2e)
|
|
32974
32976
|
]),
|
|
32975
32977
|
_: 1
|
|
32976
32978
|
}, 8, ["color"]),
|
|
32977
|
-
b("div",
|
|
32978
|
-
b("span",
|
|
32979
|
+
b("div", p2e, [
|
|
32980
|
+
b("span", h2e, "Sprint " + R(t.sprint.number) + ":", 1),
|
|
32979
32981
|
tt(b("input", {
|
|
32980
32982
|
"onUpdate:modelValue": E[3] || (E[3] = (x) => l.value.label = x),
|
|
32981
32983
|
type: "text",
|
|
@@ -32985,7 +32987,7 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
|
|
|
32985
32987
|
[Et, l.value.label]
|
|
32986
32988
|
])
|
|
32987
32989
|
]),
|
|
32988
|
-
b("div",
|
|
32990
|
+
b("div", m2e, [
|
|
32989
32991
|
tt(b("input", {
|
|
32990
32992
|
"onUpdate:modelValue": E[4] || (E[4] = (x) => l.value.startDate = x),
|
|
32991
32993
|
type: "date",
|
|
@@ -33002,7 +33004,7 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
|
|
|
33002
33004
|
[Et, l.value.endDate]
|
|
33003
33005
|
])
|
|
33004
33006
|
]),
|
|
33005
|
-
b("div",
|
|
33007
|
+
b("div", g2e, [
|
|
33006
33008
|
N(Se, {
|
|
33007
33009
|
color: "success",
|
|
33008
33010
|
variant: "ghost",
|
|
@@ -33026,21 +33028,21 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
|
|
|
33026
33028
|
class: "ao-sprint-section__header",
|
|
33027
33029
|
onClick: v
|
|
33028
33030
|
}, [
|
|
33029
|
-
b("div",
|
|
33030
|
-
b("span",
|
|
33031
|
+
b("div", i2e, [
|
|
33032
|
+
b("span", s2e, R(s.value ? "▾" : "▸"), 1),
|
|
33031
33033
|
b("span", {
|
|
33032
33034
|
class: "ao-sprint-section__color-dot",
|
|
33033
|
-
style:
|
|
33035
|
+
style: Dt({ backgroundColor: t.sprint.color || "var(--ao-color-primary-base)" })
|
|
33034
33036
|
}, null, 4),
|
|
33035
|
-
b("span",
|
|
33036
|
-
t.sprint.active ? P("", !0) : (k(), T("span",
|
|
33037
|
+
b("span", a2e, R(c.value), 1),
|
|
33038
|
+
t.sprint.active ? P("", !0) : (k(), T("span", l2e, " Archived "))
|
|
33037
33039
|
]),
|
|
33038
|
-
b("div",
|
|
33039
|
-
b("span",
|
|
33040
|
-
b("span",
|
|
33041
|
-
|
|
33040
|
+
b("div", c2e, [
|
|
33041
|
+
b("span", u2e, R(u.value), 1),
|
|
33042
|
+
b("span", d2e, [
|
|
33043
|
+
Gt(R(f.value) + " " + R(f.value === 1 ? "activity" : "activities") + " ", 1),
|
|
33042
33044
|
p.value ? (k(), T(Te, { key: 0 }, [
|
|
33043
|
-
|
|
33045
|
+
Gt(" · " + R(h.value) + R(g.value), 1)
|
|
33044
33046
|
], 64)) : P("", !0)
|
|
33045
33047
|
]),
|
|
33046
33048
|
t.isEditable ? (k(), T("div", {
|
|
@@ -33069,7 +33071,7 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
|
|
|
33069
33071
|
])) : P("", !0)
|
|
33070
33072
|
])
|
|
33071
33073
|
])),
|
|
33072
|
-
tt(b("div",
|
|
33074
|
+
tt(b("div", v2e, [
|
|
33073
33075
|
N(te(co), {
|
|
33074
33076
|
list: t.activities,
|
|
33075
33077
|
class: "ao-sprint-section__draggable",
|
|
@@ -33090,23 +33092,23 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
|
|
|
33090
33092
|
]),
|
|
33091
33093
|
_: 1
|
|
33092
33094
|
}, 8, ["list", "disabled"]),
|
|
33093
|
-
t.activities.length === 0 ? (k(), T("div",
|
|
33095
|
+
t.activities.length === 0 ? (k(), T("div", _2e, " No activities ")) : P("", !0)
|
|
33094
33096
|
], 512), [
|
|
33095
33097
|
[Ho, s.value && !a.value]
|
|
33096
33098
|
])
|
|
33097
33099
|
], 2));
|
|
33098
33100
|
}
|
|
33099
33101
|
});
|
|
33100
|
-
const
|
|
33102
|
+
const b2e = /* @__PURE__ */ de(y2e, [["__scopeId", "data-v-b4dd5b78"]]), C2e = { class: "ao-sprint-list" }, k2e = { class: "ao-sprint-list__header" }, w2e = { class: "ao-sprint-list__title-group" }, S2e = { class: "ao-sprint-list__count" }, x2e = { class: "ao-sprint-list__actions" }, A2e = {
|
|
33101
33103
|
key: 0,
|
|
33102
33104
|
class: "ao-sprint-list__toggle"
|
|
33103
|
-
},
|
|
33105
|
+
}, E2e = {
|
|
33104
33106
|
key: 0,
|
|
33105
33107
|
class: "ao-sprint-list__create"
|
|
33106
|
-
},
|
|
33108
|
+
}, T2e = ["title", "onClick"], $2e = { class: "ao-sprint-list__create-title" }, D2e = { class: "ao-sprint-list__fixed-number" }, M2e = ["placeholder"], L2e = { class: "ao-sprint-list__date-fields" }, O2e = { class: "ao-sprint-list__row-actions" }, I2e = { class: "ao-sprint-list__sections" }, N2e = {
|
|
33107
33109
|
key: 1,
|
|
33108
33110
|
class: "ao-sprint-list__empty"
|
|
33109
|
-
},
|
|
33111
|
+
}, P2e = /* @__PURE__ */ le({
|
|
33110
33112
|
__name: "AoSprintList",
|
|
33111
33113
|
props: {
|
|
33112
33114
|
sprints: {},
|
|
@@ -33115,7 +33117,7 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
|
|
|
33115
33117
|
},
|
|
33116
33118
|
emits: ["updateSprint", "archiveSprint", "unarchiveSprint", "createSprint", "activityChange", "openActivity"],
|
|
33117
33119
|
setup(t, { emit: e }) {
|
|
33118
|
-
const { t: n } =
|
|
33120
|
+
const { t: n } = Rt(), o = t, r = e, i = Q(!1), s = Q(!1), a = Q({
|
|
33119
33121
|
label: "",
|
|
33120
33122
|
startDate: "",
|
|
33121
33123
|
endDate: "",
|
|
@@ -33147,21 +33149,21 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
|
|
|
33147
33149
|
color: a.value.color || void 0
|
|
33148
33150
|
}), s.value = !1);
|
|
33149
33151
|
};
|
|
33150
|
-
return (y, v) => (k(), T("section",
|
|
33151
|
-
b("div",
|
|
33152
|
-
b("div",
|
|
33152
|
+
return (y, v) => (k(), T("section", C2e, [
|
|
33153
|
+
b("div", k2e, [
|
|
33154
|
+
b("div", w2e, [
|
|
33153
33155
|
b("h3", null, R(te(n)("sprint.planning")), 1),
|
|
33154
|
-
b("span",
|
|
33156
|
+
b("span", S2e, R(l.value.length), 1)
|
|
33155
33157
|
]),
|
|
33156
|
-
b("div",
|
|
33157
|
-
t.sprints.some((m) => !m.active) ? (k(), T("label",
|
|
33158
|
+
b("div", x2e, [
|
|
33159
|
+
t.sprints.some((m) => !m.active) ? (k(), T("label", A2e, [
|
|
33158
33160
|
tt(b("input", {
|
|
33159
33161
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => i.value = m),
|
|
33160
33162
|
type: "checkbox"
|
|
33161
33163
|
}, null, 512), [
|
|
33162
33164
|
[sh, i.value]
|
|
33163
33165
|
]),
|
|
33164
|
-
|
|
33166
|
+
Gt(" " + R(te(n)("sprint.showArchived")), 1)
|
|
33165
33167
|
])) : P("", !0),
|
|
33166
33168
|
t.isEditable && !s.value ? (k(), Y(Se, {
|
|
33167
33169
|
key: 1,
|
|
@@ -33175,7 +33177,7 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
|
|
|
33175
33177
|
}, null, 8, ["label"])) : P("", !0)
|
|
33176
33178
|
])
|
|
33177
33179
|
]),
|
|
33178
|
-
s.value ? (k(), T("div",
|
|
33180
|
+
s.value ? (k(), T("div", E2e, [
|
|
33179
33181
|
N(Js, {
|
|
33180
33182
|
color: a.value.color,
|
|
33181
33183
|
"onUpdate:color": v[1] || (v[1] = (m) => a.value.color = m)
|
|
@@ -33183,25 +33185,25 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
|
|
|
33183
33185
|
clickable: ie(({ openPicker: m, bgColor: _ }) => [
|
|
33184
33186
|
b("button", {
|
|
33185
33187
|
class: "ao-sprint-list__color-trigger",
|
|
33186
|
-
style:
|
|
33188
|
+
style: Dt({ backgroundColor: _ }),
|
|
33187
33189
|
title: te(n)("sprint.color"),
|
|
33188
33190
|
onClick: (C) => m(C.currentTarget)
|
|
33189
|
-
}, null, 12,
|
|
33191
|
+
}, null, 12, T2e)
|
|
33190
33192
|
]),
|
|
33191
33193
|
_: 1
|
|
33192
33194
|
}, 8, ["color"]),
|
|
33193
|
-
b("div",
|
|
33194
|
-
b("span",
|
|
33195
|
+
b("div", $2e, [
|
|
33196
|
+
b("span", D2e, "Sprint " + R(c.value) + ":", 1),
|
|
33195
33197
|
tt(b("input", {
|
|
33196
33198
|
"onUpdate:modelValue": v[2] || (v[2] = (m) => a.value.label = m),
|
|
33197
33199
|
type: "text",
|
|
33198
33200
|
class: "ao-sprint-list__input ao-sprint-list__input--label",
|
|
33199
33201
|
placeholder: te(n)("sprint.label")
|
|
33200
|
-
}, null, 8,
|
|
33202
|
+
}, null, 8, M2e), [
|
|
33201
33203
|
[Et, a.value.label]
|
|
33202
33204
|
])
|
|
33203
33205
|
]),
|
|
33204
|
-
b("div",
|
|
33206
|
+
b("div", L2e, [
|
|
33205
33207
|
tt(b("input", {
|
|
33206
33208
|
"onUpdate:modelValue": v[3] || (v[3] = (m) => a.value.startDate = m),
|
|
33207
33209
|
type: "date",
|
|
@@ -33218,7 +33220,7 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
|
|
|
33218
33220
|
[Et, a.value.endDate]
|
|
33219
33221
|
])
|
|
33220
33222
|
]),
|
|
33221
|
-
b("div",
|
|
33223
|
+
b("div", O2e, [
|
|
33222
33224
|
N(Se, {
|
|
33223
33225
|
color: "success",
|
|
33224
33226
|
variant: "ghost",
|
|
@@ -33238,8 +33240,8 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
|
|
|
33238
33240
|
}, null, 8, ["title"])
|
|
33239
33241
|
])
|
|
33240
33242
|
])) : P("", !0),
|
|
33241
|
-
b("div",
|
|
33242
|
-
(k(!0), T(Te, null, Ye(l.value, (m) => (k(), Y(
|
|
33243
|
+
b("div", I2e, [
|
|
33244
|
+
(k(!0), T(Te, null, Ye(l.value, (m) => (k(), Y(b2e, {
|
|
33243
33245
|
key: m.id,
|
|
33244
33246
|
sprint: m,
|
|
33245
33247
|
activities: d(m.id),
|
|
@@ -33251,57 +33253,68 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
|
|
|
33251
33253
|
onOpenActivity: v[9] || (v[9] = (_) => r("openActivity", _))
|
|
33252
33254
|
}, null, 8, ["sprint", "activities", "is-editable"]))), 128))
|
|
33253
33255
|
]),
|
|
33254
|
-
l.value.length === 0 && !s.value ? (k(), T("div",
|
|
33256
|
+
l.value.length === 0 && !s.value ? (k(), T("div", N2e, R(te(n)("sprint.noSprints")), 1)) : P("", !0)
|
|
33255
33257
|
]));
|
|
33256
33258
|
}
|
|
33257
33259
|
});
|
|
33258
|
-
const
|
|
33260
|
+
const F2e = /* @__PURE__ */ de(P2e, [["__scopeId", "data-v-3ca83674"]]), R2e = { class: "ao-backlog-section" }, B2e = { class: "ao-backlog-section__header-left" }, U2e = { class: "ao-backlog-section__expand-icon" }, H2e = { class: "ao-backlog-section__name" }, z2e = {
|
|
33259
33261
|
key: 0,
|
|
33260
33262
|
class: "ao-backlog-section__phase"
|
|
33261
|
-
},
|
|
33263
|
+
}, q2e = { class: "ao-backlog-section__header-right" }, j2e = { class: "ao-backlog-section__count" }, V2e = { class: "ao-backlog-section__content" }, W2e = {
|
|
33262
33264
|
key: 1,
|
|
33263
33265
|
class: "ao-backlog-section__empty"
|
|
33264
|
-
},
|
|
33266
|
+
}, Z2e = { class: "ao-backlog-section__drop-hint" }, K2e = /* @__PURE__ */ le({
|
|
33265
33267
|
__name: "AoBacklogSection",
|
|
33266
33268
|
props: {
|
|
33267
33269
|
milestoneId: {},
|
|
33268
33270
|
milestoneName: {},
|
|
33271
|
+
milestoneColor: {},
|
|
33269
33272
|
phaseName: {},
|
|
33270
33273
|
activities: {},
|
|
33271
33274
|
isEditable: { type: Boolean, default: !1 }
|
|
33272
33275
|
},
|
|
33273
33276
|
emits: ["activityChange", "openActivity"],
|
|
33274
33277
|
setup(t, { emit: e }) {
|
|
33275
|
-
const { t: n } =
|
|
33278
|
+
const { t: n } = Rt(), o = t, r = e, i = Q(!0), s = O(() => o.activities.length), a = O(() => {
|
|
33279
|
+
if (o.milestoneColor)
|
|
33280
|
+
return {
|
|
33281
|
+
"--milestone-color": o.milestoneColor
|
|
33282
|
+
};
|
|
33283
|
+
}), l = () => {
|
|
33276
33284
|
i.value = !i.value;
|
|
33277
|
-
},
|
|
33278
|
-
if (
|
|
33279
|
-
|
|
33280
|
-
|
|
33281
|
-
|
|
33282
|
-
|
|
33283
|
-
|
|
33284
|
-
|
|
33285
|
-
}
|
|
33286
|
-
},
|
|
33287
|
-
|
|
33288
|
-
|
|
33285
|
+
}, c = (f) => {
|
|
33286
|
+
if (!f.added)
|
|
33287
|
+
return;
|
|
33288
|
+
const d = o.milestoneId === "__no_milestone__" ? null : o.milestoneId;
|
|
33289
|
+
r("activityChange", {
|
|
33290
|
+
id: f.added.element.id,
|
|
33291
|
+
sprintId: null,
|
|
33292
|
+
milestoneId: d
|
|
33293
|
+
});
|
|
33294
|
+
}, u = (f) => {
|
|
33295
|
+
r("openActivity", {
|
|
33296
|
+
activityId: f,
|
|
33297
|
+
activityIds: o.activities.map((d) => d.id)
|
|
33298
|
+
});
|
|
33289
33299
|
};
|
|
33290
|
-
return (
|
|
33300
|
+
return (f, d) => (k(), T("div", R2e, [
|
|
33291
33301
|
b("div", {
|
|
33292
|
-
class: "ao-backlog-section__header",
|
|
33293
|
-
|
|
33302
|
+
class: ge(["ao-backlog-section__header", {
|
|
33303
|
+
"ao-backlog-section__header--no-milestone": !t.milestoneColor
|
|
33304
|
+
}]),
|
|
33305
|
+
style: Dt(a.value),
|
|
33306
|
+
onClick: l
|
|
33294
33307
|
}, [
|
|
33295
|
-
b("div",
|
|
33296
|
-
b("span",
|
|
33297
|
-
b("span",
|
|
33298
|
-
t.phaseName ? (k(), T("span",
|
|
33308
|
+
b("div", B2e, [
|
|
33309
|
+
b("span", U2e, R(i.value ? "▾" : "▸"), 1),
|
|
33310
|
+
b("span", H2e, R(t.milestoneName), 1),
|
|
33311
|
+
t.phaseName ? (k(), T("span", z2e, R(t.phaseName), 1)) : P("", !0)
|
|
33299
33312
|
]),
|
|
33300
|
-
b("div",
|
|
33301
|
-
b("span",
|
|
33313
|
+
b("div", q2e, [
|
|
33314
|
+
b("span", j2e, R(s.value) + " " + R(s.value === 1 ? te(n)("backlog.activity") : te(n)("backlog.activities")), 1)
|
|
33302
33315
|
])
|
|
33303
|
-
]),
|
|
33304
|
-
tt(b("div",
|
|
33316
|
+
], 6),
|
|
33317
|
+
tt(b("div", V2e, [
|
|
33305
33318
|
t.activities.length > 0 ? (k(), Y(te(co), {
|
|
33306
33319
|
key: 0,
|
|
33307
33320
|
list: t.activities,
|
|
@@ -33311,20 +33324,20 @@ const B2e = /* @__PURE__ */ de(R2e, [["__scopeId", "data-v-3ca83674"]]), U2e = {
|
|
|
33311
33324
|
handle: ".ao-activity-inline__drag-handle",
|
|
33312
33325
|
disabled: !t.isEditable,
|
|
33313
33326
|
"ghost-class": "ao-backlog-section__ghost",
|
|
33314
|
-
onChange:
|
|
33327
|
+
onChange: c
|
|
33315
33328
|
}, {
|
|
33316
|
-
item: ie(({ element:
|
|
33329
|
+
item: ie(({ element: p }) => [
|
|
33317
33330
|
N(O0, {
|
|
33318
|
-
activity:
|
|
33331
|
+
activity: p,
|
|
33319
33332
|
"is-draggable": t.isEditable,
|
|
33320
33333
|
"show-milestone": !1,
|
|
33321
33334
|
clickable: !0,
|
|
33322
|
-
onOpenActivity:
|
|
33335
|
+
onOpenActivity: u
|
|
33323
33336
|
}, null, 8, ["activity", "is-draggable"])
|
|
33324
33337
|
]),
|
|
33325
33338
|
_: 1
|
|
33326
|
-
}, 8, ["list", "disabled"])) : (k(), T("div",
|
|
33327
|
-
b("span",
|
|
33339
|
+
}, 8, ["list", "disabled"])) : (k(), T("div", W2e, [
|
|
33340
|
+
b("span", Z2e, R(te(n)("backlog.dropHere")), 1)
|
|
33328
33341
|
]))
|
|
33329
33342
|
], 512), [
|
|
33330
33343
|
[Ho, i.value]
|
|
@@ -33332,13 +33345,13 @@ const B2e = /* @__PURE__ */ de(R2e, [["__scopeId", "data-v-3ca83674"]]), U2e = {
|
|
|
33332
33345
|
]));
|
|
33333
33346
|
}
|
|
33334
33347
|
});
|
|
33335
|
-
const
|
|
33348
|
+
const G2e = /* @__PURE__ */ de(K2e, [["__scopeId", "data-v-fd191163"]]), Y2e = { class: "ao-backlog" }, J2e = { class: "ao-backlog__header" }, X2e = { class: "ao-backlog__count" }, Q2e = {
|
|
33336
33349
|
key: 0,
|
|
33337
33350
|
class: "ao-backlog__sections"
|
|
33338
|
-
},
|
|
33351
|
+
}, e_e = {
|
|
33339
33352
|
key: 1,
|
|
33340
33353
|
class: "ao-backlog__empty"
|
|
33341
|
-
},
|
|
33354
|
+
}, t_e = /* @__PURE__ */ le({
|
|
33342
33355
|
__name: "AoBacklog",
|
|
33343
33356
|
props: {
|
|
33344
33357
|
activities: {},
|
|
@@ -33346,7 +33359,7 @@ const J2e = /* @__PURE__ */ de(Y2e, [["__scopeId", "data-v-aa34e83b"]]), X2e = {
|
|
|
33346
33359
|
},
|
|
33347
33360
|
emits: ["activityChange", "openActivity"],
|
|
33348
33361
|
setup(t, { emit: e }) {
|
|
33349
|
-
const { t: n } =
|
|
33362
|
+
const { t: n } = Rt(), o = t, r = e, i = O(() => o.activities.filter((a) => {
|
|
33350
33363
|
var u, f, d, p;
|
|
33351
33364
|
if (a.sprint || a.active === !1)
|
|
33352
33365
|
return !1;
|
|
@@ -33369,33 +33382,42 @@ const J2e = /* @__PURE__ */ de(Y2e, [["__scopeId", "data-v-aa34e83b"]]), X2e = {
|
|
|
33369
33382
|
a.set(h, {
|
|
33370
33383
|
milestoneId: h,
|
|
33371
33384
|
milestoneName: (d == null ? void 0 : d.name) ?? n("backlog.noMilestone"),
|
|
33385
|
+
/*
|
|
33386
|
+
* Important: no fallback color here.
|
|
33387
|
+
* Undefined means "No milestone" keeps the regular grey header.
|
|
33388
|
+
*/
|
|
33389
|
+
milestoneColor: (d == null ? void 0 : d.color) || void 0,
|
|
33372
33390
|
phaseName: p == null ? void 0 : p.name,
|
|
33373
33391
|
activities: [f]
|
|
33374
33392
|
});
|
|
33375
33393
|
}
|
|
33376
|
-
return Array.from(a.values()).sort((f, d) =>
|
|
33394
|
+
return Array.from(a.values()).sort((f, d) => {
|
|
33395
|
+
const p = l.get(f.milestoneId) ?? Number.MAX_SAFE_INTEGER, h = l.get(d.milestoneId) ?? Number.MAX_SAFE_INTEGER;
|
|
33396
|
+
return p - h;
|
|
33397
|
+
});
|
|
33377
33398
|
});
|
|
33378
|
-
return (a, l) => (k(), T("section",
|
|
33379
|
-
b("div",
|
|
33399
|
+
return (a, l) => (k(), T("section", Y2e, [
|
|
33400
|
+
b("div", J2e, [
|
|
33380
33401
|
b("h3", null, R(te(n)("backlog.title")), 1),
|
|
33381
|
-
b("span",
|
|
33402
|
+
b("span", X2e, R(i.value.length), 1)
|
|
33382
33403
|
]),
|
|
33383
|
-
s.value.length > 0 ? (k(), T("div",
|
|
33384
|
-
(k(!0), T(Te, null, Ye(s.value, (c) => (k(), Y(
|
|
33404
|
+
s.value.length > 0 ? (k(), T("div", Q2e, [
|
|
33405
|
+
(k(!0), T(Te, null, Ye(s.value, (c) => (k(), Y(G2e, {
|
|
33385
33406
|
key: c.milestoneId,
|
|
33386
33407
|
"milestone-id": c.milestoneId,
|
|
33387
33408
|
"milestone-name": c.milestoneName,
|
|
33409
|
+
"milestone-color": c.milestoneColor,
|
|
33388
33410
|
"phase-name": c.phaseName,
|
|
33389
33411
|
activities: c.activities,
|
|
33390
33412
|
"is-editable": t.isEditable,
|
|
33391
33413
|
onActivityChange: l[0] || (l[0] = (u) => r("activityChange", u)),
|
|
33392
33414
|
onOpenActivity: l[1] || (l[1] = (u) => r("openActivity", u))
|
|
33393
|
-
}, null, 8, ["milestone-id", "milestone-name", "phase-name", "activities", "is-editable"]))), 128))
|
|
33394
|
-
])) : (k(), T("div",
|
|
33415
|
+
}, null, 8, ["milestone-id", "milestone-name", "milestone-color", "phase-name", "activities", "is-editable"]))), 128))
|
|
33416
|
+
])) : (k(), T("div", e_e, R(te(n)("backlog.empty")), 1))
|
|
33395
33417
|
]));
|
|
33396
33418
|
}
|
|
33397
33419
|
});
|
|
33398
|
-
const
|
|
33420
|
+
const n_e = /* @__PURE__ */ de(t_e, [["__scopeId", "data-v-59715eab"]]), o_e = { class: "ao-sprint-planning" }, r_e = { class: "ao-sprint-planning__sprint" }, i_e = { class: "ao-sprint-planning__backlog" }, s_e = { class: "ao-sprint-planning__nav-buttons" }, a_e = { class: "ao-sprint-planning__nav-indicator" }, l_e = /* @__PURE__ */ le({
|
|
33399
33421
|
__name: "AoSprintPlanning",
|
|
33400
33422
|
props: {
|
|
33401
33423
|
sprints: {},
|
|
@@ -33439,15 +33461,15 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
|
|
|
33439
33461
|
const m = v.target;
|
|
33440
33462
|
m instanceof HTMLInputElement || m instanceof HTMLTextAreaElement || m instanceof HTMLSelectElement || m.isContentEditable || (v.key === "ArrowLeft" ? (v.preventDefault(), v.stopImmediatePropagation(), h()) : v.key === "ArrowRight" ? (v.preventDefault(), v.stopImmediatePropagation(), g()) : v.key === "Escape" && (v.preventDefault(), v.stopImmediatePropagation(), p()));
|
|
33441
33463
|
};
|
|
33442
|
-
return
|
|
33464
|
+
return Mt(() => {
|
|
33443
33465
|
window.addEventListener("keydown", y);
|
|
33444
33466
|
}), _n(() => {
|
|
33445
33467
|
window.removeEventListener("keydown", y);
|
|
33446
33468
|
}), (v, m) => {
|
|
33447
33469
|
var _;
|
|
33448
|
-
return k(), T("div",
|
|
33449
|
-
b("div",
|
|
33450
|
-
N(
|
|
33470
|
+
return k(), T("div", o_e, [
|
|
33471
|
+
b("div", r_e, [
|
|
33472
|
+
N(F2e, {
|
|
33451
33473
|
sprints: t.sprints,
|
|
33452
33474
|
activities: t.activities,
|
|
33453
33475
|
"is-editable": t.isEditable,
|
|
@@ -33459,8 +33481,8 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
|
|
|
33459
33481
|
onOpenActivity: d
|
|
33460
33482
|
}, null, 8, ["sprints", "activities", "is-editable"])
|
|
33461
33483
|
]),
|
|
33462
|
-
b("div",
|
|
33463
|
-
N(
|
|
33484
|
+
b("div", i_e, [
|
|
33485
|
+
N(n_e, {
|
|
33464
33486
|
activities: t.activities,
|
|
33465
33487
|
"is-editable": t.isEditable,
|
|
33466
33488
|
onActivityChange: m[5] || (m[5] = (C) => o("activityChange", C)),
|
|
@@ -33498,7 +33520,7 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
|
|
|
33498
33520
|
onFetchHistory: m[15] || (m[15] = (C) => o("fetchHistory"))
|
|
33499
33521
|
}, {
|
|
33500
33522
|
header: ie(() => [
|
|
33501
|
-
b("div",
|
|
33523
|
+
b("div", s_e, [
|
|
33502
33524
|
N(Se, {
|
|
33503
33525
|
variant: "ghost",
|
|
33504
33526
|
size: "sm",
|
|
@@ -33507,7 +33529,7 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
|
|
|
33507
33529
|
title: v.$t("activity.previousActivity"),
|
|
33508
33530
|
onClick: h
|
|
33509
33531
|
}, null, 8, ["disabled", "title"]),
|
|
33510
|
-
b("span",
|
|
33532
|
+
b("span", a_e, R(s.value + 1) + " / " + R(i.value.length), 1),
|
|
33511
33533
|
N(Se, {
|
|
33512
33534
|
variant: "ghost",
|
|
33513
33535
|
size: "sm",
|
|
@@ -33525,9 +33547,9 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
|
|
|
33525
33547
|
};
|
|
33526
33548
|
}
|
|
33527
33549
|
});
|
|
33528
|
-
const
|
|
33550
|
+
const S_e = /* @__PURE__ */ de(l_e, [["__scopeId", "data-v-c0e0c3c8"]]);
|
|
33529
33551
|
export {
|
|
33530
|
-
|
|
33552
|
+
w_e as AoAuditConfigTable,
|
|
33531
33553
|
Pn as AoAvatar,
|
|
33532
33554
|
L0 as AoCardFeed,
|
|
33533
33555
|
yve as AoCheckboxField,
|
|
@@ -33535,23 +33557,23 @@ export {
|
|
|
33535
33557
|
rh as AoFeed,
|
|
33536
33558
|
hve as AoField,
|
|
33537
33559
|
rfe as AoHistory,
|
|
33538
|
-
|
|
33539
|
-
|
|
33560
|
+
k_e as AoInputField,
|
|
33561
|
+
qt as AoMultiselect,
|
|
33540
33562
|
$0 as AoProjectPhases,
|
|
33541
|
-
|
|
33563
|
+
S_e as AoSprintPlanning,
|
|
33542
33564
|
Yl as AoTabBar,
|
|
33543
33565
|
Zpe as AoTemplateDetails,
|
|
33544
|
-
|
|
33566
|
+
p_e as AoTemplates,
|
|
33545
33567
|
fve as AoTemplatesList,
|
|
33546
33568
|
D5 as EstimationUnit,
|
|
33547
33569
|
$5 as TemplateItemTypeEnum,
|
|
33548
33570
|
Yr as activityFeedRoutes,
|
|
33549
|
-
|
|
33550
|
-
|
|
33571
|
+
m_e as activityFeedStatus,
|
|
33572
|
+
h_e as durationTypes,
|
|
33551
33573
|
Yn as feedFilterTypes,
|
|
33552
|
-
|
|
33553
|
-
|
|
33554
|
-
|
|
33574
|
+
C_e as getProjectOverviewRoutes,
|
|
33575
|
+
b_e as getTemplateRoutes,
|
|
33576
|
+
g_e as listUpdateTypes,
|
|
33555
33577
|
La as milestoneStatus,
|
|
33556
33578
|
nt as projectOverviewRoutes,
|
|
33557
33579
|
A5 as ruleComparators,
|