@26lights/orcha 0.42.231 → 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 +233 -222
- package/dist/orcha.umd.js +16 -16
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 jt, createElementBlock as T, createElementVNode as b, createStaticVNode as z0, computed as O, resolveDynamicComponent as Pr, normalizeClass 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
7
|
const p_e = /* @__PURE__ */ le({
|
|
@@ -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}` : "",
|
|
@@ -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, [
|
|
@@ -1435,7 +1435,7 @@ 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" : "",
|
|
@@ -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}`,
|
|
@@ -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",
|
|
@@ -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, Bt = n.focus, W = n.deactivate,
|
|
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 = [];
|
|
@@ -5455,32 +5455,32 @@ 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), Ht(U)), S.value && me(), a.value && Pe(), A.value &&
|
|
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 && Ht(U), a.value && Pe(), A.value &&
|
|
5483
|
+
U && ir(U), S.value && me(), U && Ht(U), a.value && Pe(), A.value && ve();
|
|
5484
5484
|
break;
|
|
5485
5485
|
}
|
|
5486
5486
|
A.value || Bt();
|
|
@@ -6406,7 +6406,7 @@ 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, Bt = (L = I == null ? void 0 : I[C]) != null ? L : 0, W = ee + Ue - Bt - Pe,
|
|
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) {
|
|
@@ -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)),
|
|
@@ -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,7 +7445,7 @@ 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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -12797,7 +12797,7 @@ function fm() {
|
|
|
12797
12797
|
let Be = kf, Pe = null;
|
|
12798
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,
|
|
@@ -12894,7 +12894,7 @@ function fm() {
|
|
|
12894
12894
|
(!D || typeof D != "object") && (D = {}), D = zt(D), sr = // eslint-disable-next-line unicorn/prefer-includes
|
|
12895
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
|
|
@@ -12912,7 +12912,7 @@ function fm() {
|
|
|
12912
12912
|
transform: Qe
|
|
12913
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
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 ===
|
|
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")
|
|
@@ -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: "",
|
|
@@ -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
|
-
Lt(o.key), (t.timeStamp < ls + 30 || o.type === "element" || !n.isCollapsed() || r.getFormat() !== n.format || ue(r) && r.getStyle() !== n.style) &&
|
|
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,7 +14192,7 @@ 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
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
|
|
@@ -14220,7 +14220,7 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
|
|
|
14220
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) {
|
|
@@ -14250,7 +14250,7 @@ za && pu.push(["beforeinput", (t, e) => function(n, o) {
|
|
|
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
|
-
Lt(null),
|
|
14275
|
+
Lt(null), _e(o, si, n);
|
|
14276
14276
|
break;
|
|
14277
14277
|
case "insertLineBreak":
|
|
14278
|
-
Lt(null),
|
|
14278
|
+
Lt(null), _e(o, ii, !1);
|
|
14279
14279
|
break;
|
|
14280
14280
|
case "insertParagraph":
|
|
14281
|
-
Lt(null), cs && !_i ? (cs = !1,
|
|
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
|
});
|
|
@@ -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) {
|
|
@@ -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
|
}
|
|
@@ -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(() => {
|
|
@@ -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--)
|
|
@@ -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", {
|
|
@@ -25462,7 +25462,7 @@ const m1e = {
|
|
|
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(() => {
|
|
@@ -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,
|
|
@@ -26646,7 +26646,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
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) => {
|
|
@@ -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"])
|
|
@@ -27025,7 +27025,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
|
|
|
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"),
|
|
@@ -27769,7 +27769,7 @@ 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,
|
|
@@ -27810,12 +27810,12 @@ 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:
|
|
27818
|
+
class: ge(["ao-progress__progress"]),
|
|
27819
27819
|
style: Dt({
|
|
27820
27820
|
width: `${i * 100}%`,
|
|
27821
27821
|
"--ao-progress-color": t.color || "var(--ao-color-primary-base)"
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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"
|
|
@@ -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}`
|
|
@@ -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,
|
|
@@ -29945,7 +29945,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
|
|
|
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 }) => [
|
|
@@ -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 }
|
|
@@ -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
|
}, {
|
|
@@ -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"
|
|
@@ -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
|
]));
|
|
@@ -31738,12 +31738,12 @@ 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:
|
|
31746
|
+
class: ge(["ao-sprint-metrics__progress-fill", { "ao-sprint-metrics__progress-fill--behind": $(L.id) }]),
|
|
31747
31747
|
style: Dt({ width: C(L.id) + "%" })
|
|
31748
31748
|
}, null, 6)
|
|
31749
31749
|
]),
|
|
@@ -31790,7 +31790,7 @@ 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, [
|
|
@@ -31880,26 +31880,26 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
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
31882
|
const { t: n } = Rt(), o = t, r = e;
|
|
31883
|
-
function i(W,
|
|
31884
|
-
r("toast", W,
|
|
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,
|
|
@@ -32028,7 +32028,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
|
|
|
32028
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
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,
|
|
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, {
|
|
@@ -32056,7 +32056,7 @@ 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
32061
|
t.feedMode === "dev" ? (k(), Y(qt, {
|
|
32062
32062
|
key: 1,
|
|
@@ -32068,7 +32068,7 @@ 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
32073
|
N(qt, {
|
|
32074
32074
|
"model-value": t.filters[te(Yn).milestone],
|
|
@@ -32080,7 +32080,7 @@ 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
32085
|
E.value.length ? (k(), Y(qt, {
|
|
32086
32086
|
key: 2,
|
|
@@ -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)))
|
|
@@ -32558,7 +32558,7 @@ 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")
|
|
@@ -32791,7 +32791,7 @@ const Rve = {
|
|
|
32791
32791
|
return ((c = n.activity.project) == null ? void 0 : c.estimationUnit) === "days" ? "d" : "h";
|
|
32792
32792
|
});
|
|
32793
32793
|
return (c, u) => (k(), T("div", {
|
|
32794
|
-
class:
|
|
32794
|
+
class: ge([
|
|
32795
32795
|
"ao-activity-inline",
|
|
32796
32796
|
t.isDraggable ? "ao-activity-inline--draggable" : ""
|
|
32797
32797
|
])
|
|
@@ -32799,7 +32799,7 @@ const Rve = {
|
|
|
32799
32799
|
t.isDraggable ? (k(), T("div", Rve, [
|
|
32800
32800
|
N(Re, { name: "DragIndicator" })
|
|
32801
32801
|
])) : P("", !0),
|
|
32802
|
-
t.clickable
|
|
32802
|
+
t.clickable ? (k(), T("button", {
|
|
32803
32803
|
key: 1,
|
|
32804
32804
|
type: "button",
|
|
32805
32805
|
class: "ao-activity-inline__content",
|
|
@@ -32888,7 +32888,7 @@ const Rve = {
|
|
|
32888
32888
|
], 2));
|
|
32889
32889
|
}
|
|
32890
32890
|
});
|
|
32891
|
-
const O0 = /* @__PURE__ */ de(r2e, [["__scopeId", "data-v-
|
|
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 = {
|
|
32892
32892
|
key: 0,
|
|
32893
32893
|
class: "ao-sprint-section__archived-badge"
|
|
32894
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 = {
|
|
@@ -32954,7 +32954,7 @@ const O0 = /* @__PURE__ */ de(r2e, [["__scopeId", "data-v-71612589"]]), i2e = {
|
|
|
32954
32954
|
o("unarchiveSprint", { id: n.sprint.id });
|
|
32955
32955
|
};
|
|
32956
32956
|
return ($, E) => (k(), T("div", {
|
|
32957
|
-
class:
|
|
32957
|
+
class: ge(["ao-sprint-section", { "ao-sprint-section--archived": !t.sprint.active }])
|
|
32958
32958
|
}, [
|
|
32959
32959
|
a.value ? (k(), T("div", {
|
|
32960
32960
|
key: 1,
|
|
@@ -33258,7 +33258,7 @@ const b2e = /* @__PURE__ */ de(y2e, [["__scopeId", "data-v-b4dd5b78"]]), C2e = {
|
|
|
33258
33258
|
}
|
|
33259
33259
|
});
|
|
33260
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 = {
|
|
33261
|
-
key:
|
|
33261
|
+
key: 0,
|
|
33262
33262
|
class: "ao-backlog-section__phase"
|
|
33263
33263
|
}, q2e = { class: "ao-backlog-section__header-right" }, j2e = { class: "ao-backlog-section__count" }, V2e = { class: "ao-backlog-section__content" }, W2e = {
|
|
33264
33264
|
key: 1,
|
|
@@ -33275,41 +33275,45 @@ const F2e = /* @__PURE__ */ de(P2e, [["__scopeId", "data-v-3ca83674"]]), R2e = {
|
|
|
33275
33275
|
},
|
|
33276
33276
|
emits: ["activityChange", "openActivity"],
|
|
33277
33277
|
setup(t, { emit: e }) {
|
|
33278
|
-
const { t: n } = Rt(), o = t, r = e, i = Q(!0), s = O(() => o.activities.length), a = () => {
|
|
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 = () => {
|
|
33279
33284
|
i.value = !i.value;
|
|
33280
|
-
},
|
|
33281
|
-
if (
|
|
33282
|
-
|
|
33283
|
-
|
|
33284
|
-
|
|
33285
|
-
|
|
33286
|
-
|
|
33287
|
-
|
|
33288
|
-
}
|
|
33289
|
-
},
|
|
33290
|
-
|
|
33291
|
-
|
|
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
|
+
});
|
|
33292
33299
|
};
|
|
33293
|
-
return (
|
|
33300
|
+
return (f, d) => (k(), T("div", R2e, [
|
|
33294
33301
|
b("div", {
|
|
33295
|
-
class: "ao-backlog-section__header",
|
|
33296
|
-
|
|
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
|
|
33297
33307
|
}, [
|
|
33298
33308
|
b("div", B2e, [
|
|
33299
33309
|
b("span", U2e, R(i.value ? "▾" : "▸"), 1),
|
|
33300
|
-
t.milestoneColor ? (k(), T("span", {
|
|
33301
|
-
key: 0,
|
|
33302
|
-
class: "ao-backlog-section__milestone-marker",
|
|
33303
|
-
style: Dt({ backgroundColor: t.milestoneColor }),
|
|
33304
|
-
"aria-hidden": "true"
|
|
33305
|
-
}, null, 4)) : P("", !0),
|
|
33306
33310
|
b("span", H2e, R(t.milestoneName), 1),
|
|
33307
33311
|
t.phaseName ? (k(), T("span", z2e, R(t.phaseName), 1)) : P("", !0)
|
|
33308
33312
|
]),
|
|
33309
33313
|
b("div", q2e, [
|
|
33310
33314
|
b("span", j2e, R(s.value) + " " + R(s.value === 1 ? te(n)("backlog.activity") : te(n)("backlog.activities")), 1)
|
|
33311
33315
|
])
|
|
33312
|
-
]),
|
|
33316
|
+
], 6),
|
|
33313
33317
|
tt(b("div", V2e, [
|
|
33314
33318
|
t.activities.length > 0 ? (k(), Y(te(co), {
|
|
33315
33319
|
key: 0,
|
|
@@ -33320,15 +33324,15 @@ const F2e = /* @__PURE__ */ de(P2e, [["__scopeId", "data-v-3ca83674"]]), R2e = {
|
|
|
33320
33324
|
handle: ".ao-activity-inline__drag-handle",
|
|
33321
33325
|
disabled: !t.isEditable,
|
|
33322
33326
|
"ghost-class": "ao-backlog-section__ghost",
|
|
33323
|
-
onChange:
|
|
33327
|
+
onChange: c
|
|
33324
33328
|
}, {
|
|
33325
|
-
item: ie(({ element:
|
|
33329
|
+
item: ie(({ element: p }) => [
|
|
33326
33330
|
N(O0, {
|
|
33327
|
-
activity:
|
|
33331
|
+
activity: p,
|
|
33328
33332
|
"is-draggable": t.isEditable,
|
|
33329
33333
|
"show-milestone": !1,
|
|
33330
33334
|
clickable: !0,
|
|
33331
|
-
onOpenActivity:
|
|
33335
|
+
onOpenActivity: u
|
|
33332
33336
|
}, null, 8, ["activity", "is-draggable"])
|
|
33333
33337
|
]),
|
|
33334
33338
|
_: 1
|
|
@@ -33341,7 +33345,7 @@ const F2e = /* @__PURE__ */ de(P2e, [["__scopeId", "data-v-3ca83674"]]), R2e = {
|
|
|
33341
33345
|
]));
|
|
33342
33346
|
}
|
|
33343
33347
|
});
|
|
33344
|
-
const G2e = /* @__PURE__ */ de(K2e, [["__scopeId", "data-v-
|
|
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 = {
|
|
33345
33349
|
key: 0,
|
|
33346
33350
|
class: "ao-backlog__sections"
|
|
33347
33351
|
}, e_e = {
|
|
@@ -33378,12 +33382,19 @@ const G2e = /* @__PURE__ */ de(K2e, [["__scopeId", "data-v-246aaa65"]]), Y2e = {
|
|
|
33378
33382
|
a.set(h, {
|
|
33379
33383
|
milestoneId: h,
|
|
33380
33384
|
milestoneName: (d == null ? void 0 : d.name) ?? n("backlog.noMilestone"),
|
|
33381
|
-
|
|
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,
|
|
33382
33390
|
phaseName: p == null ? void 0 : p.name,
|
|
33383
33391
|
activities: [f]
|
|
33384
33392
|
});
|
|
33385
33393
|
}
|
|
33386
|
-
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
|
+
});
|
|
33387
33398
|
});
|
|
33388
33399
|
return (a, l) => (k(), T("section", Y2e, [
|
|
33389
33400
|
b("div", J2e, [
|
|
@@ -33406,7 +33417,7 @@ const G2e = /* @__PURE__ */ de(K2e, [["__scopeId", "data-v-246aaa65"]]), Y2e = {
|
|
|
33406
33417
|
]));
|
|
33407
33418
|
}
|
|
33408
33419
|
});
|
|
33409
|
-
const n_e = /* @__PURE__ */ de(t_e, [["__scopeId", "data-v-
|
|
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({
|
|
33410
33421
|
__name: "AoSprintPlanning",
|
|
33411
33422
|
props: {
|
|
33412
33423
|
sprints: {},
|