@26lights/orcha 0.42.257 → 0.42.259
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 +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +590 -585
- package/dist/orcha.umd.js +20 -20
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var ev = Object.defineProperty;
|
|
2
2
|
var tv = (t, e, n) => e in t ? ev(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Q = (t, e, n) => (tv(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as le, openBlock as k, createBlock as J, unref as te, mergeProps as Wt, createElementBlock as E, createElementVNode as b, createStaticVNode as fh, computed as I, resolveDynamicComponent as Br, normalizeClass as me, renderSlot as
|
|
4
|
+
import { defineComponent as le, openBlock as k, createBlock as J, unref as te, mergeProps as Wt, createElementBlock as E, createElementVNode as b, createStaticVNode as fh, computed as I, resolveDynamicComponent as Br, normalizeClass as me, renderSlot as Se, toDisplayString as B, createCommentVNode as P, ref as ee, watch as Ne, nextTick as Jt, withKeys as ao, toHandlers as nv, withCtx as ae, createTextVNode as fn, createVNode as N, normalizeStyle as Mt, withModifiers as we, createSlots as Is, Fragment as $e, renderList as Ye, onMounted as Ot, onBeforeUnmount as Ns, onUnmounted as _n, Teleport as En, toRefs as bn, getCurrentInstance as Ur, toRef as ai, normalizeProps as Ps, guardReactiveProps as Rs, withDirectives as tt, vShow as Wo, provide as ov, inject as rv, useTemplateRef as iv, readonly as sv, toValue as uc, watchEffect as ph, shallowRef as Fa, h as av, vModelText as Tt, resolveComponent as zo, vModelCheckbox as hh, getCurrentScope as lv, onScopeDispose as cv, toHandlerKey as uv } from "vue";
|
|
5
5
|
import { RouterView as dv, useRoute as mh, useRouter as ju, RouterLink as fv } from "vue-router";
|
|
6
|
-
import
|
|
7
|
-
const
|
|
6
|
+
import po from "vuedraggable";
|
|
7
|
+
const jye = /* @__PURE__ */ le({
|
|
8
8
|
__name: "AoTemplates",
|
|
9
9
|
props: {
|
|
10
10
|
templates: {}
|
|
@@ -1241,7 +1241,7 @@ const M5 = ["type"], L5 = {
|
|
|
1241
1241
|
r.$attrs.disabled ? "ao-button--is-disabled" : ""
|
|
1242
1242
|
])
|
|
1243
1243
|
}, [
|
|
1244
|
-
|
|
1244
|
+
Se(r.$slots, "default", {}, () => [
|
|
1245
1245
|
t.label ? (k(), E("span", L5, B(t.label), 1)) : P("", !0)
|
|
1246
1246
|
]),
|
|
1247
1247
|
o.value ? (k(), J(Re, {
|
|
@@ -1333,9 +1333,9 @@ const Rt = /* @__PURE__ */ le({
|
|
|
1333
1333
|
type: te(i) ? "text" : null,
|
|
1334
1334
|
value: te(i) ? t.title : null,
|
|
1335
1335
|
tabindex: "0",
|
|
1336
|
-
onKeyup:
|
|
1336
|
+
onKeyup: ao(h, ["enter"])
|
|
1337
1337
|
}, nv(c.value), {
|
|
1338
|
-
onKeydown:
|
|
1338
|
+
onKeydown: ao(te(f), ["esc"])
|
|
1339
1339
|
}), {
|
|
1340
1340
|
default: ae(() => [
|
|
1341
1341
|
fn(B(t.title), 1)
|
|
@@ -1409,22 +1409,22 @@ const I5 = {
|
|
|
1409
1409
|
"is-editable": !0,
|
|
1410
1410
|
"onUpdate:title": o
|
|
1411
1411
|
}, null, 8, ["id", "title"]),
|
|
1412
|
-
|
|
1412
|
+
Se(r.$slots, "subtitle", {}, () => [
|
|
1413
1413
|
t.subtitle ? (k(), E("span", F5, B(t.subtitle), 1)) : P("", !0)
|
|
1414
1414
|
])
|
|
1415
1415
|
]),
|
|
1416
1416
|
r.$slots.header ? (k(), E("div", B5, [
|
|
1417
|
-
|
|
1417
|
+
Se(r.$slots, "header")
|
|
1418
1418
|
])) : P("", !0)
|
|
1419
1419
|
]),
|
|
1420
1420
|
r.$slots.default ? (k(), E("div", U5, [
|
|
1421
|
-
|
|
1421
|
+
Se(r.$slots, "default")
|
|
1422
1422
|
])) : P("", !0),
|
|
1423
1423
|
r.$slots.footer ? (k(), E("div", H5, [
|
|
1424
|
-
|
|
1424
|
+
Se(r.$slots, "footer")
|
|
1425
1425
|
])) : P("", !0),
|
|
1426
1426
|
r.$slots.secondary ? (k(), E("div", z5, [
|
|
1427
|
-
|
|
1427
|
+
Se(r.$slots, "secondary")
|
|
1428
1428
|
])) : P("", !0)
|
|
1429
1429
|
]),
|
|
1430
1430
|
_: 3
|
|
@@ -1489,11 +1489,11 @@ const Ba = {
|
|
|
1489
1489
|
todo: "todo",
|
|
1490
1490
|
done: "done",
|
|
1491
1491
|
archived: "archived"
|
|
1492
|
-
},
|
|
1492
|
+
}, qye = {
|
|
1493
1493
|
months: "months",
|
|
1494
1494
|
weeks: "weeks",
|
|
1495
1495
|
days: "days"
|
|
1496
|
-
},
|
|
1496
|
+
}, Vye = {
|
|
1497
1497
|
future: "future",
|
|
1498
1498
|
this_month: "this_month",
|
|
1499
1499
|
this_week: "this_week",
|
|
@@ -1517,7 +1517,7 @@ const Ba = {
|
|
|
1517
1517
|
TASKS: "tasks"
|
|
1518
1518
|
};
|
|
1519
1519
|
var W5 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(W5 || {});
|
|
1520
|
-
const
|
|
1520
|
+
const Wye = {
|
|
1521
1521
|
add: "add",
|
|
1522
1522
|
remove: "remove",
|
|
1523
1523
|
moved: "moved"
|
|
@@ -1537,7 +1537,7 @@ function Ua(t) {
|
|
|
1537
1537
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1538
1538
|
}, Ua(t);
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function Eo(t) {
|
|
1541
1541
|
if (t === null || t === !0 || t === !1)
|
|
1542
1542
|
return NaN;
|
|
1543
1543
|
var e = Number(t);
|
|
@@ -1554,7 +1554,7 @@ function Qt(t) {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
function K5(t, e) {
|
|
1556
1556
|
Ct(2, arguments);
|
|
1557
|
-
var n = Qt(t).getTime(), o =
|
|
1557
|
+
var n = Qt(t).getTime(), o = Eo(e);
|
|
1558
1558
|
return new Date(n + o);
|
|
1559
1559
|
}
|
|
1560
1560
|
var G5 = {};
|
|
@@ -1593,7 +1593,7 @@ function bh(t) {
|
|
|
1593
1593
|
}
|
|
1594
1594
|
function tu(t, e) {
|
|
1595
1595
|
Ct(2, arguments);
|
|
1596
|
-
var n =
|
|
1596
|
+
var n = Eo(e);
|
|
1597
1597
|
return K5(t, -n);
|
|
1598
1598
|
}
|
|
1599
1599
|
var eb = 864e5;
|
|
@@ -1634,7 +1634,7 @@ function rb(t) {
|
|
|
1634
1634
|
function za(t, e) {
|
|
1635
1635
|
var n, o, r, i, s, a, l, u;
|
|
1636
1636
|
Ct(1, arguments);
|
|
1637
|
-
var c = Fs(), d =
|
|
1637
|
+
var c = Fs(), d = Eo((n = (o = (r = (i = e == null ? void 0 : e.weekStartsOn) !== null && i !== void 0 ? i : e == null || (s = e.locale) === null || s === void 0 || (a = s.options) === null || a === void 0 ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : c.weekStartsOn) !== null && o !== void 0 ? o : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && n !== void 0 ? n : 0);
|
|
1638
1638
|
if (!(d >= 0 && d <= 6))
|
|
1639
1639
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1640
1640
|
var f = Qt(t), p = f.getUTCDay(), h = (p < d ? 7 : 0) + p - d;
|
|
@@ -1643,7 +1643,7 @@ function za(t, e) {
|
|
|
1643
1643
|
function kh(t, e) {
|
|
1644
1644
|
var n, o, r, i, s, a, l, u;
|
|
1645
1645
|
Ct(1, arguments);
|
|
1646
|
-
var c = Qt(t), d = c.getUTCFullYear(), f = Fs(), p =
|
|
1646
|
+
var c = Qt(t), d = c.getUTCFullYear(), f = Fs(), p = Eo((n = (o = (r = (i = e == null ? void 0 : e.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (s = e.locale) === null || s === void 0 || (a = s.options) === null || a === void 0 ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : f.firstWeekContainsDate) !== null && o !== void 0 ? o : (l = f.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
|
|
1647
1647
|
if (!(p >= 1 && p <= 7))
|
|
1648
1648
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1649
1649
|
var h = /* @__PURE__ */ new Date(0);
|
|
@@ -1656,7 +1656,7 @@ function kh(t, e) {
|
|
|
1656
1656
|
function ib(t, e) {
|
|
1657
1657
|
var n, o, r, i, s, a, l, u;
|
|
1658
1658
|
Ct(1, arguments);
|
|
1659
|
-
var c = Fs(), d =
|
|
1659
|
+
var c = Fs(), d = Eo((n = (o = (r = (i = e == null ? void 0 : e.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (s = e.locale) === null || s === void 0 || (a = s.options) === null || a === void 0 ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : c.firstWeekContainsDate) !== null && o !== void 0 ? o : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), f = kh(t, e), p = /* @__PURE__ */ new Date(0);
|
|
1660
1660
|
p.setUTCFullYear(f, 0, d), p.setUTCHours(0, 0, 0, 0);
|
|
1661
1661
|
var h = za(p, e);
|
|
1662
1662
|
return h;
|
|
@@ -1725,7 +1725,7 @@ var lb = {
|
|
|
1725
1725
|
return Xe(i, n.length);
|
|
1726
1726
|
}
|
|
1727
1727
|
};
|
|
1728
|
-
const
|
|
1728
|
+
const Uo = lb;
|
|
1729
1729
|
var Kr = {
|
|
1730
1730
|
am: "am",
|
|
1731
1731
|
pm: "pm",
|
|
@@ -1765,7 +1765,7 @@ var Kr = {
|
|
|
1765
1765
|
unit: "year"
|
|
1766
1766
|
});
|
|
1767
1767
|
}
|
|
1768
|
-
return
|
|
1768
|
+
return Uo.y(e, n);
|
|
1769
1769
|
},
|
|
1770
1770
|
// Local week-numbering year
|
|
1771
1771
|
Y: function(e, n, o, r) {
|
|
@@ -1862,7 +1862,7 @@ var Kr = {
|
|
|
1862
1862
|
switch (n) {
|
|
1863
1863
|
case "M":
|
|
1864
1864
|
case "MM":
|
|
1865
|
-
return
|
|
1865
|
+
return Uo.M(e, n);
|
|
1866
1866
|
case "Mo":
|
|
1867
1867
|
return o.ordinalNumber(r + 1, {
|
|
1868
1868
|
unit: "month"
|
|
@@ -1933,7 +1933,7 @@ var Kr = {
|
|
|
1933
1933
|
d: function(e, n, o) {
|
|
1934
1934
|
return n === "do" ? o.ordinalNumber(e.getUTCDate(), {
|
|
1935
1935
|
unit: "date"
|
|
1936
|
-
}) :
|
|
1936
|
+
}) : Uo.d(e, n);
|
|
1937
1937
|
},
|
|
1938
1938
|
// Day of year
|
|
1939
1939
|
D: function(e, n, o) {
|
|
@@ -2164,13 +2164,13 @@ var Kr = {
|
|
|
2164
2164
|
unit: "hour"
|
|
2165
2165
|
});
|
|
2166
2166
|
}
|
|
2167
|
-
return
|
|
2167
|
+
return Uo.h(e, n);
|
|
2168
2168
|
},
|
|
2169
2169
|
// Hour [0-23]
|
|
2170
2170
|
H: function(e, n, o) {
|
|
2171
2171
|
return n === "Ho" ? o.ordinalNumber(e.getUTCHours(), {
|
|
2172
2172
|
unit: "hour"
|
|
2173
|
-
}) :
|
|
2173
|
+
}) : Uo.H(e, n);
|
|
2174
2174
|
},
|
|
2175
2175
|
// Hour [0-11]
|
|
2176
2176
|
K: function(e, n, o) {
|
|
@@ -2190,17 +2190,17 @@ var Kr = {
|
|
|
2190
2190
|
m: function(e, n, o) {
|
|
2191
2191
|
return n === "mo" ? o.ordinalNumber(e.getUTCMinutes(), {
|
|
2192
2192
|
unit: "minute"
|
|
2193
|
-
}) :
|
|
2193
|
+
}) : Uo.m(e, n);
|
|
2194
2194
|
},
|
|
2195
2195
|
// Second
|
|
2196
2196
|
s: function(e, n, o) {
|
|
2197
2197
|
return n === "so" ? o.ordinalNumber(e.getUTCSeconds(), {
|
|
2198
2198
|
unit: "second"
|
|
2199
|
-
}) :
|
|
2199
|
+
}) : Uo.s(e, n);
|
|
2200
2200
|
},
|
|
2201
2201
|
// Fraction of second
|
|
2202
2202
|
S: function(e, n) {
|
|
2203
|
-
return
|
|
2203
|
+
return Uo.S(e, n);
|
|
2204
2204
|
},
|
|
2205
2205
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
2206
2206
|
X: function(e, n, o, r) {
|
|
@@ -2775,10 +2775,10 @@ var n7 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, o7 = /P+p+|P+|
|
|
|
2775
2775
|
function xh(t, e, n) {
|
|
2776
2776
|
var o, r, i, s, a, l, u, c, d, f, p, h, _, g, v, m, y, C;
|
|
2777
2777
|
Ct(2, arguments);
|
|
2778
|
-
var S = String(e), w = Fs(), $ = (o = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : w.locale) !== null && o !== void 0 ? o : Sh, T =
|
|
2778
|
+
var S = String(e), w = Fs(), $ = (o = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : w.locale) !== null && o !== void 0 ? o : Sh, T = Eo((i = (s = (a = (l = n == null ? void 0 : n.firstWeekContainsDate) !== null && l !== void 0 ? l : n == null || (u = n.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : w.firstWeekContainsDate) !== null && s !== void 0 ? s : (d = w.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
|
|
2779
2779
|
if (!(T >= 1 && T <= 7))
|
|
2780
2780
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2781
|
-
var A =
|
|
2781
|
+
var A = Eo((p = (h = (_ = (g = n == null ? void 0 : n.weekStartsOn) !== null && g !== void 0 ? g : n == null || (v = n.locale) === null || v === void 0 || (m = v.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && _ !== void 0 ? _ : w.weekStartsOn) !== null && h !== void 0 ? h : (y = w.locale) === null || y === void 0 || (C = y.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && p !== void 0 ? p : 0);
|
|
2782
2782
|
if (!(A >= 0 && A <= 6))
|
|
2783
2783
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2784
2784
|
if (!$.localize)
|
|
@@ -2822,7 +2822,7 @@ function a7(t) {
|
|
|
2822
2822
|
function l7(t, e, n) {
|
|
2823
2823
|
var o, r, i, s, a, l, u, c, d, f;
|
|
2824
2824
|
Ct(2, arguments);
|
|
2825
|
-
var p = Qt(t), h = Qt(e), _ = Fs(), g = (o = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : _.locale) !== null && o !== void 0 ? o : Sh, v =
|
|
2825
|
+
var p = Qt(t), h = Qt(e), _ = Fs(), g = (o = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : _.locale) !== null && o !== void 0 ? o : Sh, v = Eo((i = (s = (a = (l = n == null ? void 0 : n.weekStartsOn) !== null && l !== void 0 ? l : n == null || (u = n.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : _.weekStartsOn) !== null && s !== void 0 ? s : (d = _.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && i !== void 0 ? i : 0);
|
|
2826
2826
|
if (!g.localize)
|
|
2827
2827
|
throw new RangeError("locale must contain localize property");
|
|
2828
2828
|
if (!g.formatLong)
|
|
@@ -2846,7 +2846,7 @@ function l7(t, e, n) {
|
|
|
2846
2846
|
function Cs(t, e) {
|
|
2847
2847
|
var n;
|
|
2848
2848
|
Ct(1, arguments);
|
|
2849
|
-
var o =
|
|
2849
|
+
var o = Eo((n = e == null ? void 0 : e.additionalDigits) !== null && n !== void 0 ? n : 2);
|
|
2850
2850
|
if (o !== 2 && o !== 1 && o !== 0)
|
|
2851
2851
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
2852
2852
|
if (!(typeof t == "string" || Object.prototype.toString.call(t) === "[object String]"))
|
|
@@ -3885,7 +3885,7 @@ const H7 = ["title"], z7 = {
|
|
|
3885
3885
|
class: "ao-avatar__close",
|
|
3886
3886
|
color: t.color,
|
|
3887
3887
|
corners: "round",
|
|
3888
|
-
onClick:
|
|
3888
|
+
onClick: we(s, ["stop"])
|
|
3889
3889
|
}, null, 8, ["color"])) : P("", !0)
|
|
3890
3890
|
], 10, H7));
|
|
3891
3891
|
}
|
|
@@ -3978,7 +3978,7 @@ const q7 = { class: "ao-card-template__subitems" }, V7 = { class: "ao-card-templ
|
|
|
3978
3978
|
variant: "ghost",
|
|
3979
3979
|
size: "md",
|
|
3980
3980
|
corners: "round",
|
|
3981
|
-
onClick: u[0] || (u[0] =
|
|
3981
|
+
onClick: u[0] || (u[0] = we((c) => i(t.id, t.title), ["stop"]))
|
|
3982
3982
|
})
|
|
3983
3983
|
])
|
|
3984
3984
|
]),
|
|
@@ -4029,10 +4029,10 @@ const dC = { class: "ao-page-header" }, fC = { class: "ao-page-header-main" }, p
|
|
|
4029
4029
|
variant: "ghost",
|
|
4030
4030
|
onClick: n[0] || (n[0] = (o) => e.$emit("goBack"))
|
|
4031
4031
|
})) : P("", !0),
|
|
4032
|
-
|
|
4032
|
+
Se(e.$slots, "primary")
|
|
4033
4033
|
]),
|
|
4034
4034
|
e.$slots.secondary ? (k(), E("div", pC, [
|
|
4035
|
-
|
|
4035
|
+
Se(e.$slots, "secondary")
|
|
4036
4036
|
])) : P("", !0)
|
|
4037
4037
|
]));
|
|
4038
4038
|
}
|
|
@@ -4063,7 +4063,7 @@ const hC = ["type"], mC = {
|
|
|
4063
4063
|
r.$attrs.disabled ? "ao-button-card--is-disabled" : ""
|
|
4064
4064
|
])
|
|
4065
4065
|
}, [
|
|
4066
|
-
|
|
4066
|
+
Se(r.$slots, "default", {}, () => [
|
|
4067
4067
|
t.label ? (k(), E("span", mC, B(t.label), 1)) : P("", !0)
|
|
4068
4068
|
]),
|
|
4069
4069
|
o.value ? (k(), J(Re, {
|
|
@@ -4119,7 +4119,7 @@ const gC = { class: "ao-card-template-item__footer" }, vC = {
|
|
|
4119
4119
|
variant: "ghost",
|
|
4120
4120
|
size: "md",
|
|
4121
4121
|
corners: "round",
|
|
4122
|
-
onClick:
|
|
4122
|
+
onClick: we(s, ["stop"])
|
|
4123
4123
|
})
|
|
4124
4124
|
])
|
|
4125
4125
|
]),
|
|
@@ -4146,7 +4146,7 @@ const bC = /* @__PURE__ */ le({
|
|
|
4146
4146
|
milestones: n.value
|
|
4147
4147
|
}, r.$attrs), {
|
|
4148
4148
|
default: ae(() => [
|
|
4149
|
-
|
|
4149
|
+
Se(r.$slots, "default")
|
|
4150
4150
|
]),
|
|
4151
4151
|
_: 3
|
|
4152
4152
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
@@ -4163,7 +4163,7 @@ const bC = /* @__PURE__ */ le({
|
|
|
4163
4163
|
});
|
|
4164
4164
|
return (o, r) => (k(), J(Ku, { activities: n.value }, {
|
|
4165
4165
|
default: ae(() => [
|
|
4166
|
-
|
|
4166
|
+
Se(o.$slots, "default")
|
|
4167
4167
|
]),
|
|
4168
4168
|
_: 3
|
|
4169
4169
|
}, 8, ["activities"]));
|
|
@@ -4192,7 +4192,7 @@ const bC = /* @__PURE__ */ le({
|
|
|
4192
4192
|
});
|
|
4193
4193
|
}
|
|
4194
4194
|
};
|
|
4195
|
-
return (l, u) => t.phase ? (k(), J(te(
|
|
4195
|
+
return (l, u) => t.phase ? (k(), J(te(po), {
|
|
4196
4196
|
key: 0,
|
|
4197
4197
|
"model-value": t.phase.milestones,
|
|
4198
4198
|
class: "ao-templates__list",
|
|
@@ -4250,7 +4250,7 @@ const bC = /* @__PURE__ */ le({
|
|
|
4250
4250
|
});
|
|
4251
4251
|
return (o, r) => (k(), J(Ku, { tasks: n.value }, {
|
|
4252
4252
|
default: ae(() => [
|
|
4253
|
-
|
|
4253
|
+
Se(o.$slots, "default")
|
|
4254
4254
|
]),
|
|
4255
4255
|
_: 3
|
|
4256
4256
|
}, 8, ["tasks"]));
|
|
@@ -4282,7 +4282,7 @@ const bC = /* @__PURE__ */ le({
|
|
|
4282
4282
|
});
|
|
4283
4283
|
}
|
|
4284
4284
|
};
|
|
4285
|
-
return (l, u) => t.milestone ? (k(), J(te(
|
|
4285
|
+
return (l, u) => t.milestone ? (k(), J(te(po), {
|
|
4286
4286
|
key: 0,
|
|
4287
4287
|
"model-value": t.milestone.activities,
|
|
4288
4288
|
title: l.$t("template.activities.title"),
|
|
@@ -4354,14 +4354,14 @@ const bC = /* @__PURE__ */ le({
|
|
|
4354
4354
|
})
|
|
4355
4355
|
]),
|
|
4356
4356
|
b("header", DC, [
|
|
4357
|
-
|
|
4357
|
+
Se(e.$slots, "header")
|
|
4358
4358
|
])
|
|
4359
4359
|
])) : P("", !0),
|
|
4360
4360
|
b("div", MC, [
|
|
4361
|
-
|
|
4361
|
+
Se(e.$slots, "default")
|
|
4362
4362
|
]),
|
|
4363
4363
|
e.$slots.footer ? (k(), E("footer", LC, [
|
|
4364
|
-
|
|
4364
|
+
Se(e.$slots, "footer")
|
|
4365
4365
|
])) : P("", !0)
|
|
4366
4366
|
])
|
|
4367
4367
|
], 2));
|
|
@@ -4740,17 +4740,17 @@ function hn(t) {
|
|
|
4740
4740
|
var e;
|
|
4741
4741
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
4742
4742
|
}
|
|
4743
|
-
function
|
|
4743
|
+
function Lo(t) {
|
|
4744
4744
|
var e;
|
|
4745
4745
|
return (e = (Rh(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4746
4746
|
}
|
|
4747
4747
|
function Rh(t) {
|
|
4748
4748
|
return t instanceof Node || t instanceof hn(t).Node;
|
|
4749
4749
|
}
|
|
4750
|
-
function
|
|
4750
|
+
function To(t) {
|
|
4751
4751
|
return t instanceof Element || t instanceof hn(t).Element;
|
|
4752
4752
|
}
|
|
4753
|
-
function
|
|
4753
|
+
function lo(t) {
|
|
4754
4754
|
return t instanceof HTMLElement || t instanceof hn(t).HTMLElement;
|
|
4755
4755
|
}
|
|
4756
4756
|
function S1(t) {
|
|
@@ -4774,7 +4774,7 @@ function Ju(t) {
|
|
|
4774
4774
|
}
|
|
4775
4775
|
function WC(t) {
|
|
4776
4776
|
let e = yi(t);
|
|
4777
|
-
for (;
|
|
4777
|
+
for (; lo(e) && !xl(e); ) {
|
|
4778
4778
|
if (Ju(e))
|
|
4779
4779
|
return e;
|
|
4780
4780
|
e = yi(e);
|
|
@@ -4791,7 +4791,7 @@ function Tn(t) {
|
|
|
4791
4791
|
return hn(t).getComputedStyle(t);
|
|
4792
4792
|
}
|
|
4793
4793
|
function Al(t) {
|
|
4794
|
-
return
|
|
4794
|
+
return To(t) ? {
|
|
4795
4795
|
scrollLeft: t.scrollLeft,
|
|
4796
4796
|
scrollTop: t.scrollTop
|
|
4797
4797
|
} : {
|
|
@@ -4807,13 +4807,13 @@ function yi(t) {
|
|
|
4807
4807
|
t.assignedSlot || // DOM Element detected.
|
|
4808
4808
|
t.parentNode || // ShadowRoot detected.
|
|
4809
4809
|
S1(t) && t.host || // Fallback.
|
|
4810
|
-
|
|
4810
|
+
Lo(t)
|
|
4811
4811
|
);
|
|
4812
4812
|
return S1(e) ? e.host : e;
|
|
4813
4813
|
}
|
|
4814
4814
|
function Fh(t) {
|
|
4815
4815
|
const e = yi(t);
|
|
4816
|
-
return xl(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
4816
|
+
return xl(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : lo(e) && qs(e) ? e : Fh(e);
|
|
4817
4817
|
}
|
|
4818
4818
|
function ws(t, e, n) {
|
|
4819
4819
|
var o;
|
|
@@ -4824,7 +4824,7 @@ function ws(t, e, n) {
|
|
|
4824
4824
|
function Bh(t) {
|
|
4825
4825
|
const e = Tn(t);
|
|
4826
4826
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
4827
|
-
const r =
|
|
4827
|
+
const r = lo(t), i = r ? t.offsetWidth : n, s = r ? t.offsetHeight : o, a = ja(n) !== i || ja(o) !== s;
|
|
4828
4828
|
return a && (n = i, o = s), {
|
|
4829
4829
|
width: n,
|
|
4830
4830
|
height: o,
|
|
@@ -4832,11 +4832,11 @@ function Bh(t) {
|
|
|
4832
4832
|
};
|
|
4833
4833
|
}
|
|
4834
4834
|
function Qu(t) {
|
|
4835
|
-
return
|
|
4835
|
+
return To(t) ? t : t.contextElement;
|
|
4836
4836
|
}
|
|
4837
4837
|
function li(t) {
|
|
4838
4838
|
const e = Qu(t);
|
|
4839
|
-
if (!
|
|
4839
|
+
if (!lo(e))
|
|
4840
4840
|
return Xo(1);
|
|
4841
4841
|
const n = e.getBoundingClientRect(), {
|
|
4842
4842
|
width: o,
|
|
@@ -4864,11 +4864,11 @@ function Ar(t, e, n, o) {
|
|
|
4864
4864
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
4865
4865
|
const r = t.getBoundingClientRect(), i = Qu(t);
|
|
4866
4866
|
let s = Xo(1);
|
|
4867
|
-
e && (o ?
|
|
4867
|
+
e && (o ? To(o) && (s = li(o)) : s = li(t));
|
|
4868
4868
|
const a = KC(i, n, o) ? Uh(i) : Xo(0);
|
|
4869
4869
|
let l = (r.left + a.x) / s.x, u = (r.top + a.y) / s.y, c = r.width / s.x, d = r.height / s.y;
|
|
4870
4870
|
if (i) {
|
|
4871
|
-
const f = hn(i), p = o &&
|
|
4871
|
+
const f = hn(i), p = o && To(o) ? hn(o) : o;
|
|
4872
4872
|
let h = f.frameElement;
|
|
4873
4873
|
for (; h && o && p !== f; ) {
|
|
4874
4874
|
const _ = li(h), g = h.getBoundingClientRect(), v = Tn(h), m = g.left + (h.clientLeft + parseFloat(v.paddingLeft)) * _.x, y = g.top + (h.clientTop + parseFloat(v.paddingTop)) * _.y;
|
|
@@ -4888,7 +4888,7 @@ function GC(t) {
|
|
|
4888
4888
|
offsetParent: n,
|
|
4889
4889
|
strategy: o
|
|
4890
4890
|
} = t;
|
|
4891
|
-
const r =
|
|
4891
|
+
const r = lo(n), i = Lo(n);
|
|
4892
4892
|
if (n === i)
|
|
4893
4893
|
return e;
|
|
4894
4894
|
let s = {
|
|
@@ -4896,7 +4896,7 @@ function GC(t) {
|
|
|
4896
4896
|
scrollTop: 0
|
|
4897
4897
|
}, a = Xo(1);
|
|
4898
4898
|
const l = Xo(0);
|
|
4899
|
-
if ((r || !r && o !== "fixed") && ((Qo(n) !== "body" || qs(i)) && (s = Al(n)),
|
|
4899
|
+
if ((r || !r && o !== "fixed") && ((Qo(n) !== "body" || qs(i)) && (s = Al(n)), lo(n))) {
|
|
4900
4900
|
const u = Ar(n);
|
|
4901
4901
|
a = li(n), l.x = u.x + n.clientLeft, l.y = u.y + n.clientTop;
|
|
4902
4902
|
}
|
|
@@ -4911,10 +4911,10 @@ function YC(t) {
|
|
|
4911
4911
|
return Array.from(t.getClientRects());
|
|
4912
4912
|
}
|
|
4913
4913
|
function Hh(t) {
|
|
4914
|
-
return Ar(
|
|
4914
|
+
return Ar(Lo(t)).left + Al(t).scrollLeft;
|
|
4915
4915
|
}
|
|
4916
4916
|
function JC(t) {
|
|
4917
|
-
const e =
|
|
4917
|
+
const e = Lo(t), n = Al(t), o = t.ownerDocument.body, r = kn(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), i = kn(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
4918
4918
|
let s = -n.scrollLeft + Hh(t);
|
|
4919
4919
|
const a = -n.scrollTop;
|
|
4920
4920
|
return Tn(o).direction === "rtl" && (s += kn(e.clientWidth, o.clientWidth) - r), {
|
|
@@ -4925,7 +4925,7 @@ function JC(t) {
|
|
|
4925
4925
|
};
|
|
4926
4926
|
}
|
|
4927
4927
|
function XC(t, e) {
|
|
4928
|
-
const n = hn(t), o =
|
|
4928
|
+
const n = hn(t), o = Lo(t), r = n.visualViewport;
|
|
4929
4929
|
let i = o.clientWidth, s = o.clientHeight, a = 0, l = 0;
|
|
4930
4930
|
if (r) {
|
|
4931
4931
|
i = r.width, s = r.height;
|
|
@@ -4940,7 +4940,7 @@ function XC(t, e) {
|
|
|
4940
4940
|
};
|
|
4941
4941
|
}
|
|
4942
4942
|
function QC(t, e) {
|
|
4943
|
-
const n = Ar(t, !0, e === "fixed"), o = n.top + t.clientTop, r = n.left + t.clientLeft, i =
|
|
4943
|
+
const n = Ar(t, !0, e === "fixed"), o = n.top + t.clientTop, r = n.left + t.clientLeft, i = lo(t) ? li(t) : Xo(1), s = t.clientWidth * i.x, a = t.clientHeight * i.y, l = r * i.x, u = o * i.y;
|
|
4944
4944
|
return {
|
|
4945
4945
|
width: s,
|
|
4946
4946
|
height: a,
|
|
@@ -4953,8 +4953,8 @@ function x1(t, e, n) {
|
|
|
4953
4953
|
if (e === "viewport")
|
|
4954
4954
|
o = XC(t, n);
|
|
4955
4955
|
else if (e === "document")
|
|
4956
|
-
o = JC(
|
|
4957
|
-
else if (
|
|
4956
|
+
o = JC(Lo(t));
|
|
4957
|
+
else if (To(e))
|
|
4958
4958
|
o = QC(e, n);
|
|
4959
4959
|
else {
|
|
4960
4960
|
const r = Uh(t);
|
|
@@ -4968,16 +4968,16 @@ function x1(t, e, n) {
|
|
|
4968
4968
|
}
|
|
4969
4969
|
function zh(t, e) {
|
|
4970
4970
|
const n = yi(t);
|
|
4971
|
-
return n === e || !
|
|
4971
|
+
return n === e || !To(n) || xl(n) ? !1 : Tn(n).position === "fixed" || zh(n, e);
|
|
4972
4972
|
}
|
|
4973
4973
|
function e4(t, e) {
|
|
4974
4974
|
const n = e.get(t);
|
|
4975
4975
|
if (n)
|
|
4976
4976
|
return n;
|
|
4977
|
-
let o = ws(t, [], !1).filter((a) =>
|
|
4977
|
+
let o = ws(t, [], !1).filter((a) => To(a) && Qo(a) !== "body"), r = null;
|
|
4978
4978
|
const i = Tn(t).position === "fixed";
|
|
4979
4979
|
let s = i ? yi(t) : t;
|
|
4980
|
-
for (;
|
|
4980
|
+
for (; To(s) && !xl(s); ) {
|
|
4981
4981
|
const a = Tn(s), l = Ju(s);
|
|
4982
4982
|
!l && a.position === "fixed" && (r = null), (i ? !l && !r : !l && a.position === "static" && !!r && ["absolute", "fixed"].includes(r.position) || qs(s) && !l && zh(t, s)) ? o = o.filter((c) => c !== s) : r = a, s = yi(s);
|
|
4983
4983
|
}
|
|
@@ -5005,7 +5005,7 @@ function n4(t) {
|
|
|
5005
5005
|
return Bh(t);
|
|
5006
5006
|
}
|
|
5007
5007
|
function o4(t, e, n) {
|
|
5008
|
-
const o =
|
|
5008
|
+
const o = lo(e), r = Lo(e), i = n === "fixed", s = Ar(t, !0, i, e);
|
|
5009
5009
|
let a = {
|
|
5010
5010
|
scrollLeft: 0,
|
|
5011
5011
|
scrollTop: 0
|
|
@@ -5025,11 +5025,11 @@ function o4(t, e, n) {
|
|
|
5025
5025
|
};
|
|
5026
5026
|
}
|
|
5027
5027
|
function A1(t, e) {
|
|
5028
|
-
return !
|
|
5028
|
+
return !lo(t) || Tn(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
5029
5029
|
}
|
|
5030
5030
|
function jh(t, e) {
|
|
5031
5031
|
const n = hn(t);
|
|
5032
|
-
if (!
|
|
5032
|
+
if (!lo(t))
|
|
5033
5033
|
return n;
|
|
5034
5034
|
let o = A1(t, e);
|
|
5035
5035
|
for (; o && VC(o) && Tn(o).position === "static"; )
|
|
@@ -5057,19 +5057,19 @@ function i4(t) {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
const s4 = {
|
|
5059
5059
|
convertOffsetParentRelativeRectToViewportRelativeRect: GC,
|
|
5060
|
-
getDocumentElement:
|
|
5060
|
+
getDocumentElement: Lo,
|
|
5061
5061
|
getClippingRect: t4,
|
|
5062
5062
|
getOffsetParent: jh,
|
|
5063
5063
|
getElementRects: r4,
|
|
5064
5064
|
getClientRects: YC,
|
|
5065
5065
|
getDimensions: n4,
|
|
5066
5066
|
getScale: li,
|
|
5067
|
-
isElement:
|
|
5067
|
+
isElement: To,
|
|
5068
5068
|
isRTL: i4
|
|
5069
5069
|
};
|
|
5070
5070
|
function a4(t, e) {
|
|
5071
5071
|
let n = null, o;
|
|
5072
|
-
const r =
|
|
5072
|
+
const r = Lo(t);
|
|
5073
5073
|
function i() {
|
|
5074
5074
|
clearTimeout(o), n && n.disconnect(), n = null;
|
|
5075
5075
|
}
|
|
@@ -5387,8 +5387,8 @@ function v4(t, e, n) {
|
|
|
5387
5387
|
...ce,
|
|
5388
5388
|
index: Fe,
|
|
5389
5389
|
group: !0,
|
|
5390
|
-
[z.value]: zi(at, !1).map((
|
|
5391
|
-
__VISIBLE__: zi(at).map((
|
|
5390
|
+
[z.value]: zi(at, !1).map((go) => Object.assign({}, go, ce[be.value] ? { [be.value]: !0 } : {})),
|
|
5391
|
+
__VISIBLE__: zi(at).map((go) => Object.assign({}, go, ce[be.value] ? { [be.value]: !0 } : {}))
|
|
5392
5392
|
};
|
|
5393
5393
|
}));
|
|
5394
5394
|
}), Zn = I(() => {
|
|
@@ -5399,7 +5399,7 @@ function v4(t, e, n) {
|
|
|
5399
5399
|
case "tags":
|
|
5400
5400
|
return !Jn(pe.value) && pe.value.length > 0;
|
|
5401
5401
|
}
|
|
5402
|
-
}), Kn = I(() => p !== void 0 && p.value !== void 0 ? p.value(pe.value, ge) : pe.value && pe.value.length > 1 ? `${pe.value.length} options selected` : "1 option selected"),
|
|
5402
|
+
}), Kn = I(() => p !== void 0 && p.value !== void 0 ? p.value(pe.value, ge) : pe.value && pe.value.length > 1 ? `${pe.value.length} options selected` : "1 option selected"), No = I(() => !Ge.value.length && !We.value && !X.value.length), F = I(() => Ge.value.length > 0 && St.value.length == 0 && (W.value && L.value || !L.value)), X = I(() => ht.value === !1 || !W.value ? [] : ia(W.value) !== -1 ? [] : [{
|
|
5403
5403
|
[w.value]: W.value,
|
|
5404
5404
|
[Ce.value[0]]: W.value,
|
|
5405
5405
|
[c.value]: W.value,
|
|
@@ -5434,14 +5434,14 @@ function v4(t, e, n) {
|
|
|
5434
5434
|
break;
|
|
5435
5435
|
}
|
|
5436
5436
|
e.emit("deselect", Kt(H), H, ge);
|
|
5437
|
-
}, Kt = (H) => h.value ? H : H[w.value],
|
|
5437
|
+
}, Kt = (H) => h.value ? H : H[w.value], Po = (H) => {
|
|
5438
5438
|
Le(H);
|
|
5439
5439
|
}, oa = (H, ce) => {
|
|
5440
5440
|
if (ce.button !== 0) {
|
|
5441
5441
|
ce.preventDefault();
|
|
5442
5442
|
return;
|
|
5443
5443
|
}
|
|
5444
|
-
|
|
5444
|
+
Po(H);
|
|
5445
5445
|
}, Bi = () => {
|
|
5446
5446
|
He(gt.value), e.emit("clear", ge);
|
|
5447
5447
|
}, ln = (H) => {
|
|
@@ -5454,7 +5454,7 @@ function v4(t, e, n) {
|
|
|
5454
5454
|
case "multiple":
|
|
5455
5455
|
return !Jn(pe.value) && pe.value.map((ce) => ce[w.value]).indexOf(H[w.value]) !== -1;
|
|
5456
5456
|
}
|
|
5457
|
-
}, Vr = (H) => H[be.value] === !0,
|
|
5457
|
+
}, Vr = (H) => H[be.value] === !0, Ro = () => M === void 0 || M.value === -1 || !Zn.value && M.value > 0 ? !1 : pe.value.length >= M.value, Wr = (H) => {
|
|
5458
5458
|
if (!Vr(H)) {
|
|
5459
5459
|
if (ie && ie.value && !ln(H) && H.__CREATE__ && (H = { ...H }, delete H.__CREATE__, H = ie.value(H, ge), H instanceof Promise)) {
|
|
5460
5460
|
We.value = !0, H.then((ce) => {
|
|
@@ -5478,7 +5478,7 @@ function v4(t, e, n) {
|
|
|
5478
5478
|
Le(H), V.value && (Pe(), ye());
|
|
5479
5479
|
return;
|
|
5480
5480
|
}
|
|
5481
|
-
if (
|
|
5481
|
+
if (Ro()) {
|
|
5482
5482
|
e.emit("max", ge);
|
|
5483
5483
|
return;
|
|
5484
5484
|
}
|
|
@@ -5489,7 +5489,7 @@ function v4(t, e, n) {
|
|
|
5489
5489
|
Le(H), V.value && (Pe(), ye());
|
|
5490
5490
|
return;
|
|
5491
5491
|
}
|
|
5492
|
-
if (
|
|
5492
|
+
if (Ro()) {
|
|
5493
5493
|
e.emit("max", ge);
|
|
5494
5494
|
return;
|
|
5495
5495
|
}
|
|
@@ -5497,7 +5497,7 @@ function v4(t, e, n) {
|
|
|
5497
5497
|
break;
|
|
5498
5498
|
}
|
|
5499
5499
|
R.value || Bt();
|
|
5500
|
-
},
|
|
5500
|
+
}, Fo = (H) => {
|
|
5501
5501
|
if (!(Vr(H) || r.value === "single" || !Y.value)) {
|
|
5502
5502
|
switch (r.value) {
|
|
5503
5503
|
case "multiple":
|
|
@@ -5521,10 +5521,10 @@ function v4(t, e, n) {
|
|
|
5521
5521
|
let Fe = H;
|
|
5522
5522
|
if (W.value && y.value) {
|
|
5523
5523
|
let at = Be.value;
|
|
5524
|
-
at || (at = (
|
|
5525
|
-
let aa = hc(De(
|
|
5524
|
+
at || (at = (go, On, Wi) => Ce.value.some((vo) => {
|
|
5525
|
+
let aa = hc(De(go[vo]), j.value);
|
|
5526
5526
|
return he.value ? aa.startsWith(hc(On, j.value)) : aa.indexOf(hc(On, j.value)) !== -1;
|
|
5527
|
-
})), Fe = Fe.filter((
|
|
5527
|
+
})), Fe = Fe.filter((go) => at(go, W.value, ge));
|
|
5528
5528
|
}
|
|
5529
5529
|
return a.value && ce && (Fe = Fe.filter((at) => !Hi(at))), Fe;
|
|
5530
5530
|
}, ji = (H) => {
|
|
@@ -5534,7 +5534,7 @@ function v4(t, e, n) {
|
|
|
5534
5534
|
return { [w.value]: Fe, [Ce.value[0]]: at, [c.value]: at };
|
|
5535
5535
|
})), ce = ce.map((Fe) => typeof Fe == "object" ? Fe : { [w.value]: Fe, [Ce.value[0]]: Fe, [c.value]: Fe }), ce;
|
|
5536
5536
|
}, Qe = () => {
|
|
5537
|
-
Jn(K.value) || (pe.value =
|
|
5537
|
+
Jn(K.value) || (pe.value = Bo(K.value));
|
|
5538
5538
|
}, Ln = (H) => (We.value = !0, new Promise((ce, Fe) => {
|
|
5539
5539
|
o.value(W.value, ge).then((at) => {
|
|
5540
5540
|
dt.value = at || [], typeof H == "function" && H(at), We.value = !1;
|
|
@@ -5561,7 +5561,7 @@ function v4(t, e, n) {
|
|
|
5561
5561
|
});
|
|
5562
5562
|
}, sa = (H) => {
|
|
5563
5563
|
Ln(H);
|
|
5564
|
-
},
|
|
5564
|
+
}, Bo = (H) => Jn(H) ? r.value === "single" ? {} : [] : h.value ? H : r.value === "single" ? un(H) || ($.value ? {
|
|
5565
5565
|
[c.value]: H,
|
|
5566
5566
|
[w.value]: H,
|
|
5567
5567
|
[Ce.value[0]]: H
|
|
@@ -5589,16 +5589,16 @@ function v4(t, e, n) {
|
|
|
5589
5589
|
Ze.value && Ze.value(), H >= 0 && Vi();
|
|
5590
5590
|
}), Ne(K, (H) => {
|
|
5591
5591
|
if (Jn(H)) {
|
|
5592
|
-
He(
|
|
5592
|
+
He(Bo(H), !1);
|
|
5593
5593
|
return;
|
|
5594
5594
|
}
|
|
5595
5595
|
switch (r.value) {
|
|
5596
5596
|
case "single":
|
|
5597
|
-
(h.value ? H[w.value] != pe.value[w.value] : H != pe.value[w.value]) && He(
|
|
5597
|
+
(h.value ? H[w.value] != pe.value[w.value] : H != pe.value[w.value]) && He(Bo(H), !1);
|
|
5598
5598
|
break;
|
|
5599
5599
|
case "multiple":
|
|
5600
5600
|
case "tags":
|
|
5601
|
-
g4(h.value ? H.map((ce) => ce[w.value]) : H, pe.value.map((ce) => ce[w.value])) || He(
|
|
5601
|
+
g4(h.value ? H.map((ce) => ce[w.value]) : H, pe.value.map((ce) => ce[w.value])) || He(Bo(H), !1);
|
|
5602
5602
|
break;
|
|
5603
5603
|
}
|
|
5604
5604
|
}, { deep: !0 }), Ne(o, (H, ce) => {
|
|
@@ -5617,22 +5617,22 @@ function v4(t, e, n) {
|
|
|
5617
5617
|
extendedGroups: sn,
|
|
5618
5618
|
fg: Wn,
|
|
5619
5619
|
filteredGroups: Wn,
|
|
5620
|
-
noOptions:
|
|
5620
|
+
noOptions: No,
|
|
5621
5621
|
noResults: F,
|
|
5622
5622
|
resolving: We,
|
|
5623
5623
|
busy: an,
|
|
5624
5624
|
offset: ot,
|
|
5625
5625
|
select: Ht,
|
|
5626
5626
|
deselect: Le,
|
|
5627
|
-
remove:
|
|
5627
|
+
remove: Po,
|
|
5628
5628
|
selectAll: Ui,
|
|
5629
5629
|
clear: Bi,
|
|
5630
5630
|
isSelected: ln,
|
|
5631
5631
|
isDisabled: Vr,
|
|
5632
|
-
isMax:
|
|
5632
|
+
isMax: Ro,
|
|
5633
5633
|
getOption: un,
|
|
5634
5634
|
handleOptionClick: Wr,
|
|
5635
|
-
handleGroupClick:
|
|
5635
|
+
handleGroupClick: Fo,
|
|
5636
5636
|
handleTagRemove: oa,
|
|
5637
5637
|
refreshOptions: sa,
|
|
5638
5638
|
resolveOptions: Ln,
|
|
@@ -5793,7 +5793,7 @@ function _4(t) {
|
|
|
5793
5793
|
function b4(t) {
|
|
5794
5794
|
return t === mn(t) || !An(t) ? td(t) : _4(t);
|
|
5795
5795
|
}
|
|
5796
|
-
function
|
|
5796
|
+
function co(t) {
|
|
5797
5797
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5798
5798
|
}
|
|
5799
5799
|
function rr(t) {
|
|
@@ -5805,11 +5805,11 @@ function rr(t) {
|
|
|
5805
5805
|
function nd(t) {
|
|
5806
5806
|
return bi(rr(t)).left + td(t).scrollLeft;
|
|
5807
5807
|
}
|
|
5808
|
-
function
|
|
5808
|
+
function $o(t) {
|
|
5809
5809
|
return mn(t).getComputedStyle(t);
|
|
5810
5810
|
}
|
|
5811
5811
|
function od(t) {
|
|
5812
|
-
var e =
|
|
5812
|
+
var e = $o(t), n = e.overflow, o = e.overflowX, r = e.overflowY;
|
|
5813
5813
|
return /auto|scroll|overlay|hidden/.test(n + r + o);
|
|
5814
5814
|
}
|
|
5815
5815
|
function C4(t) {
|
|
@@ -5825,7 +5825,7 @@ function k4(t, e, n) {
|
|
|
5825
5825
|
x: 0,
|
|
5826
5826
|
y: 0
|
|
5827
5827
|
};
|
|
5828
|
-
return (o || !o && !n) && ((
|
|
5828
|
+
return (o || !o && !n) && ((co(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5829
5829
|
od(i)) && (a = b4(e)), An(e) ? (l = bi(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : i && (l.x = nd(i))), {
|
|
5830
5830
|
x: s.left + a.scrollLeft - l.x,
|
|
5831
5831
|
y: s.top + a.scrollTop - l.y,
|
|
@@ -5843,7 +5843,7 @@ function Vh(t) {
|
|
|
5843
5843
|
};
|
|
5844
5844
|
}
|
|
5845
5845
|
function El(t) {
|
|
5846
|
-
return
|
|
5846
|
+
return co(t) === "html" ? t : (
|
|
5847
5847
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5848
5848
|
// $FlowFixMe[incompatible-return]
|
|
5849
5849
|
// $FlowFixMe[prop-missing]
|
|
@@ -5855,7 +5855,7 @@ function El(t) {
|
|
|
5855
5855
|
);
|
|
5856
5856
|
}
|
|
5857
5857
|
function Wh(t) {
|
|
5858
|
-
return ["html", "body", "#document"].indexOf(
|
|
5858
|
+
return ["html", "body", "#document"].indexOf(co(t)) >= 0 ? t.ownerDocument.body : An(t) && od(t) ? t : Wh(El(t));
|
|
5859
5859
|
}
|
|
5860
5860
|
function ds(t, e) {
|
|
5861
5861
|
var n;
|
|
@@ -5867,22 +5867,22 @@ function ds(t, e) {
|
|
|
5867
5867
|
);
|
|
5868
5868
|
}
|
|
5869
5869
|
function w4(t) {
|
|
5870
|
-
return ["table", "td", "th"].indexOf(
|
|
5870
|
+
return ["table", "td", "th"].indexOf(co(t)) >= 0;
|
|
5871
5871
|
}
|
|
5872
5872
|
function E1(t) {
|
|
5873
5873
|
return !An(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5874
|
-
|
|
5874
|
+
$o(t).position === "fixed" ? null : t.offsetParent;
|
|
5875
5875
|
}
|
|
5876
5876
|
function S4(t) {
|
|
5877
5877
|
var e = /firefox/i.test(ou()), n = /Trident/i.test(ou());
|
|
5878
5878
|
if (n && An(t)) {
|
|
5879
|
-
var o =
|
|
5879
|
+
var o = $o(t);
|
|
5880
5880
|
if (o.position === "fixed")
|
|
5881
5881
|
return null;
|
|
5882
5882
|
}
|
|
5883
5883
|
var r = El(t);
|
|
5884
|
-
for (ed(r) && (r = r.host); An(r) && ["html", "body"].indexOf(
|
|
5885
|
-
var i =
|
|
5884
|
+
for (ed(r) && (r = r.host); An(r) && ["html", "body"].indexOf(co(r)) < 0; ) {
|
|
5885
|
+
var i = $o(r);
|
|
5886
5886
|
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
|
|
5887
5887
|
return r;
|
|
5888
5888
|
r = r.parentNode;
|
|
@@ -5890,11 +5890,11 @@ function S4(t) {
|
|
|
5890
5890
|
return null;
|
|
5891
5891
|
}
|
|
5892
5892
|
function Tl(t) {
|
|
5893
|
-
for (var e = mn(t), n = E1(t); n && w4(n) &&
|
|
5893
|
+
for (var e = mn(t), n = E1(t); n && w4(n) && $o(n).position === "static"; )
|
|
5894
5894
|
n = E1(n);
|
|
5895
|
-
return n && (
|
|
5895
|
+
return n && (co(n) === "html" || co(n) === "body" && $o(n).position === "static") ? e : n || S4(t) || e;
|
|
5896
5896
|
}
|
|
5897
|
-
var Rn = "top",
|
|
5897
|
+
var Rn = "top", uo = "bottom", er = "right", xo = "left", rd = "auto", $l = [Rn, uo, er, xo], Ci = "start", Ss = "end", x4 = "clippingParents", Zh = "viewport", es = "popper", A4 = "reference", T1 = /* @__PURE__ */ $l.reduce(function(t, e) {
|
|
5898
5898
|
return t.concat([e + "-" + Ci, e + "-" + Ss]);
|
|
5899
5899
|
}, []), E4 = /* @__PURE__ */ [].concat($l, [rd]).reduce(function(t, e) {
|
|
5900
5900
|
return t.concat([e, e + "-" + Ci, e + "-" + Ss]);
|
|
@@ -5964,7 +5964,7 @@ function z4(t, e) {
|
|
|
5964
5964
|
}
|
|
5965
5965
|
function j4(t) {
|
|
5966
5966
|
var e, n = rr(t), o = td(t), r = (e = t.ownerDocument) == null ? void 0 : e.body, i = br(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), s = br(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), a = -o.scrollLeft + nd(t), l = -o.scrollTop;
|
|
5967
|
-
return
|
|
5967
|
+
return $o(r || n).direction === "rtl" && (a += br(n.clientWidth, r ? r.clientWidth : 0) - i), {
|
|
5968
5968
|
width: i,
|
|
5969
5969
|
height: s,
|
|
5970
5970
|
x: a,
|
|
@@ -6001,9 +6001,9 @@ function $1(t, e, n) {
|
|
|
6001
6001
|
return e === Zh ? ru(z4(t, n)) : Er(e) ? V4(e, n) : ru(j4(rr(t)));
|
|
6002
6002
|
}
|
|
6003
6003
|
function W4(t) {
|
|
6004
|
-
var e = ds(El(t)), n = ["absolute", "fixed"].indexOf(
|
|
6004
|
+
var e = ds(El(t)), n = ["absolute", "fixed"].indexOf($o(t).position) >= 0, o = n && An(t) ? Tl(t) : t;
|
|
6005
6005
|
return Er(o) ? e.filter(function(r) {
|
|
6006
|
-
return Er(r) && q4(r, o) &&
|
|
6006
|
+
return Er(r) && q4(r, o) && co(r) !== "body";
|
|
6007
6007
|
}) : [];
|
|
6008
6008
|
}
|
|
6009
6009
|
function Z4(t, e, n, o) {
|
|
@@ -6013,7 +6013,7 @@ function Z4(t, e, n, o) {
|
|
|
6013
6013
|
}, $1(t, s, o));
|
|
6014
6014
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
6015
6015
|
}
|
|
6016
|
-
function
|
|
6016
|
+
function Go(t) {
|
|
6017
6017
|
return t.split("-")[0];
|
|
6018
6018
|
}
|
|
6019
6019
|
function ki(t) {
|
|
@@ -6023,7 +6023,7 @@ function Kh(t) {
|
|
|
6023
6023
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
6024
6024
|
}
|
|
6025
6025
|
function Gh(t) {
|
|
6026
|
-
var e = t.reference, n = t.element, o = t.placement, r = o ?
|
|
6026
|
+
var e = t.reference, n = t.element, o = t.placement, r = o ? Go(o) : null, i = o ? ki(o) : null, s = e.x + e.width / 2 - n.width / 2, a = e.y + e.height / 2 - n.height / 2, l;
|
|
6027
6027
|
switch (r) {
|
|
6028
6028
|
case Rn:
|
|
6029
6029
|
l = {
|
|
@@ -6031,7 +6031,7 @@ function Gh(t) {
|
|
|
6031
6031
|
y: e.y - n.height
|
|
6032
6032
|
};
|
|
6033
6033
|
break;
|
|
6034
|
-
case
|
|
6034
|
+
case uo:
|
|
6035
6035
|
l = {
|
|
6036
6036
|
x: s,
|
|
6037
6037
|
y: e.y + e.height
|
|
@@ -6043,7 +6043,7 @@ function Gh(t) {
|
|
|
6043
6043
|
y: a
|
|
6044
6044
|
};
|
|
6045
6045
|
break;
|
|
6046
|
-
case
|
|
6046
|
+
case xo:
|
|
6047
6047
|
l = {
|
|
6048
6048
|
x: e.x - n.width,
|
|
6049
6049
|
y: a
|
|
@@ -6101,7 +6101,7 @@ function id(t, e) {
|
|
|
6101
6101
|
if (f === es && j) {
|
|
6102
6102
|
var R = j[r];
|
|
6103
6103
|
Object.keys(M).forEach(function(V) {
|
|
6104
|
-
var L = [er,
|
|
6104
|
+
var L = [er, uo].indexOf(V) >= 0 ? 1 : -1, O = [Rn, uo].indexOf(V) >= 0 ? "y" : "x";
|
|
6105
6105
|
M[V] += R[O] * L;
|
|
6106
6106
|
});
|
|
6107
6107
|
}
|
|
@@ -6277,18 +6277,18 @@ function L1(t) {
|
|
|
6277
6277
|
y: _
|
|
6278
6278
|
};
|
|
6279
6279
|
p = g.x, _ = g.y;
|
|
6280
|
-
var v = s.hasOwnProperty("x"), m = s.hasOwnProperty("y"), y =
|
|
6280
|
+
var v = s.hasOwnProperty("x"), m = s.hasOwnProperty("y"), y = xo, C = Rn, S = window;
|
|
6281
6281
|
if (u) {
|
|
6282
6282
|
var w = Tl(n), $ = "clientHeight", T = "clientWidth";
|
|
6283
|
-
if (w === mn(n) && (w = rr(n),
|
|
6284
|
-
C =
|
|
6283
|
+
if (w === mn(n) && (w = rr(n), $o(w).position !== "static" && a === "absolute" && ($ = "scrollHeight", T = "scrollWidth")), w = w, r === Rn || (r === xo || r === er) && i === Ss) {
|
|
6284
|
+
C = uo;
|
|
6285
6285
|
var A = d && w === S && S.visualViewport ? S.visualViewport.height : (
|
|
6286
6286
|
// $FlowFixMe[prop-missing]
|
|
6287
6287
|
w[$]
|
|
6288
6288
|
);
|
|
6289
6289
|
_ -= A - o.height, _ *= l ? 1 : -1;
|
|
6290
6290
|
}
|
|
6291
|
-
if (r ===
|
|
6291
|
+
if (r === xo || (r === Rn || r === uo) && i === Ss) {
|
|
6292
6292
|
y = er;
|
|
6293
6293
|
var M = d && w === S && S.visualViewport ? S.visualViewport.width : (
|
|
6294
6294
|
// $FlowFixMe[prop-missing]
|
|
@@ -6314,7 +6314,7 @@ function L1(t) {
|
|
|
6314
6314
|
}
|
|
6315
6315
|
function o9(t) {
|
|
6316
6316
|
var e = t.state, n = t.options, o = n.gpuAcceleration, r = o === void 0 ? !0 : o, i = n.adaptive, s = i === void 0 ? !0 : i, a = n.roundOffsets, l = a === void 0 ? !0 : a, u = {
|
|
6317
|
-
placement:
|
|
6317
|
+
placement: Go(e.placement),
|
|
6318
6318
|
variation: ki(e.placement),
|
|
6319
6319
|
popper: e.elements.popper,
|
|
6320
6320
|
popperRect: e.rects.popper,
|
|
@@ -6346,7 +6346,7 @@ function i9(t) {
|
|
|
6346
6346
|
var e = t.state;
|
|
6347
6347
|
Object.keys(e.elements).forEach(function(n) {
|
|
6348
6348
|
var o = e.styles[n] || {}, r = e.attributes[n] || {}, i = e.elements[n];
|
|
6349
|
-
!An(i) || !
|
|
6349
|
+
!An(i) || !co(i) || (Object.assign(i.style, o), Object.keys(r).forEach(function(s) {
|
|
6350
6350
|
var a = r[s];
|
|
6351
6351
|
a === !1 ? i.removeAttribute(s) : i.setAttribute(s, a === !0 ? "" : a);
|
|
6352
6352
|
}));
|
|
@@ -6370,7 +6370,7 @@ function s9(t) {
|
|
|
6370
6370
|
var r = e.elements[o], i = e.attributes[o] || {}, s = Object.keys(e.styles.hasOwnProperty(o) ? e.styles[o] : n[o]), a = s.reduce(function(l, u) {
|
|
6371
6371
|
return l[u] = "", l;
|
|
6372
6372
|
}, {});
|
|
6373
|
-
!An(r) || !
|
|
6373
|
+
!An(r) || !co(r) || (Object.assign(r.style, a), Object.keys(i).forEach(function(l) {
|
|
6374
6374
|
r.removeAttribute(l);
|
|
6375
6375
|
}));
|
|
6376
6376
|
});
|
|
@@ -6402,7 +6402,7 @@ function f9(t) {
|
|
|
6402
6402
|
rootBoundary: u,
|
|
6403
6403
|
padding: d,
|
|
6404
6404
|
altBoundary: c
|
|
6405
|
-
}), v =
|
|
6405
|
+
}), v = Go(e.placement), m = ki(e.placement), y = !m, C = Kh(v), S = u9(C), w = e.modifiersData.popperOffsets, $ = e.rects.reference, T = e.rects.popper, A = typeof _ == "function" ? _(Object.assign({}, e.rects, {
|
|
6406
6406
|
placement: e.placement
|
|
6407
6407
|
})) : _, M = typeof A == "number" ? {
|
|
6408
6408
|
mainAxis: A,
|
|
@@ -6416,14 +6416,14 @@ function f9(t) {
|
|
|
6416
6416
|
};
|
|
6417
6417
|
if (w) {
|
|
6418
6418
|
if (i) {
|
|
6419
|
-
var V, L = C === "y" ? Rn :
|
|
6419
|
+
var V, L = C === "y" ? Rn : xo, O = C === "y" ? uo : er, x = C === "y" ? "height" : "width", z = w[C], U = z + g[L], Y = z - g[O], ie = p ? -T[x] / 2 : 0, be = m === Ci ? $[x] : T[x], he = m === Ci ? -T[x] : -$[x], Be = e.elements.arrow, ge = p && Be ? Vh(Be) : {
|
|
6420
6420
|
width: 0,
|
|
6421
6421
|
height: 0
|
|
6422
6422
|
}, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Yh(), K = pe[L], W = pe[O], ve = Da(0, $[x], ge[x]), He = y ? $[x] / 2 - ie - ve - K - M.mainAxis : be - ve - K - M.mainAxis, st = y ? -$[x] / 2 + ie + ve + W + M.mainAxis : he + ve + W + M.mainAxis, Ue = e.elements.arrow && Tl(e.elements.arrow), Pe = Ue ? C === "y" ? Ue.clientTop || 0 : Ue.clientLeft || 0 : 0, Bt = (V = j == null ? void 0 : j[C]) != null ? V : 0, Z = z + He - Bt - Pe, ye = z + st - Bt, De = Da(p ? Wa(U, Z) : U, z, p ? br(Y, ye) : Y);
|
|
6423
6423
|
w[C] = De, R[C] = De - z;
|
|
6424
6424
|
}
|
|
6425
6425
|
if (a) {
|
|
6426
|
-
var Ee, dt = C === "x" ? Rn :
|
|
6426
|
+
var Ee, dt = C === "x" ? Rn : xo, We = C === "x" ? uo : er, Ze = w[S], ot = S === "y" ? "height" : "width", ht = Ze + g[dt], mt = Ze - g[We], Ge = [Rn, xo].indexOf(v) !== -1, Ut = (Ee = j == null ? void 0 : j[S]) != null ? Ee : 0, St = Ge ? ht : Ze - $[ot] - T[ot] - Ut + M.altAxis, sn = Ge ? Ze + $[ot] + T[ot] - Ut - M.altAxis : mt, Mn = p && Ge ? d9(St, Ze, sn) : Da(p ? St : ht, Ze, p ? sn : mt);
|
|
6427
6427
|
w[S] = Mn, R[S] = Mn - Ze;
|
|
6428
6428
|
}
|
|
6429
6429
|
e.modifiersData[o] = R;
|
|
@@ -6469,14 +6469,14 @@ function g9(t, e) {
|
|
|
6469
6469
|
boundary: r,
|
|
6470
6470
|
rootBoundary: i,
|
|
6471
6471
|
padding: s
|
|
6472
|
-
})[
|
|
6472
|
+
})[Go(_)], h;
|
|
6473
6473
|
}, {});
|
|
6474
6474
|
return Object.keys(p).sort(function(h, _) {
|
|
6475
6475
|
return p[h] - p[_];
|
|
6476
6476
|
});
|
|
6477
6477
|
}
|
|
6478
6478
|
function v9(t) {
|
|
6479
|
-
if (
|
|
6479
|
+
if (Go(t) === rd)
|
|
6480
6480
|
return [];
|
|
6481
6481
|
var e = Ma(t);
|
|
6482
6482
|
return [O1(t), e, O1(e)];
|
|
@@ -6484,8 +6484,8 @@ function v9(t) {
|
|
|
6484
6484
|
function y9(t) {
|
|
6485
6485
|
var e = t.state, n = t.options, o = t.name;
|
|
6486
6486
|
if (!e.modifiersData[o]._skip) {
|
|
6487
|
-
for (var r = n.mainAxis, i = r === void 0 ? !0 : r, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, _ = n.allowedAutoPlacements, g = e.options.placement, v =
|
|
6488
|
-
return ge.concat(
|
|
6487
|
+
for (var r = n.mainAxis, i = r === void 0 ? !0 : r, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, _ = n.allowedAutoPlacements, g = e.options.placement, v = Go(g), m = v === g, y = l || (m || !h ? [Ma(g)] : v9(g)), C = [g].concat(y).reduce(function(ge, pe) {
|
|
6488
|
+
return ge.concat(Go(pe) === rd ? g9(e, {
|
|
6489
6489
|
placement: pe,
|
|
6490
6490
|
boundary: c,
|
|
6491
6491
|
rootBoundary: d,
|
|
@@ -6494,13 +6494,13 @@ function y9(t) {
|
|
|
6494
6494
|
allowedAutoPlacements: _
|
|
6495
6495
|
}) : pe);
|
|
6496
6496
|
}, []), S = e.rects.reference, w = e.rects.popper, $ = /* @__PURE__ */ new Map(), T = !0, A = C[0], M = 0; M < C.length; M++) {
|
|
6497
|
-
var j = C[M], R =
|
|
6497
|
+
var j = C[M], R = Go(j), V = ki(j) === Ci, L = [Rn, uo].indexOf(R) >= 0, O = L ? "width" : "height", x = id(e, {
|
|
6498
6498
|
placement: j,
|
|
6499
6499
|
boundary: c,
|
|
6500
6500
|
rootBoundary: d,
|
|
6501
6501
|
altBoundary: f,
|
|
6502
6502
|
padding: u
|
|
6503
|
-
}), z = L ? V ? er :
|
|
6503
|
+
}), z = L ? V ? er : xo : V ? uo : Rn;
|
|
6504
6504
|
S[O] > w[O] && (z = Ma(z));
|
|
6505
6505
|
var U = Ma(z), Y = [];
|
|
6506
6506
|
if (i && Y.push(x[R] <= 0), a && Y.push(x[z] <= 0, x[U] <= 0), Y.every(function(ge) {
|
|
@@ -6963,7 +6963,7 @@ function T9(t, e, n, o = {}) {
|
|
|
6963
6963
|
});
|
|
6964
6964
|
}), o;
|
|
6965
6965
|
}
|
|
6966
|
-
var
|
|
6966
|
+
var qo = {
|
|
6967
6967
|
name: "Multiselect",
|
|
6968
6968
|
emits: [
|
|
6969
6969
|
"paste",
|
|
@@ -7379,7 +7379,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7379
7379
|
id: n.searchable ? n.id : void 0,
|
|
7380
7380
|
onInput: e[0] || (e[0] = (...s) => t.handleSearchInput && t.handleSearchInput(...s)),
|
|
7381
7381
|
onKeypress: e[1] || (e[1] = (...s) => t.handleKeypress && t.handleKeypress(...s)),
|
|
7382
|
-
onPaste: e[2] || (e[2] =
|
|
7382
|
+
onPaste: e[2] || (e[2] = we((...s) => t.handlePaste && t.handlePaste(...s), ["stop"])),
|
|
7383
7383
|
ref: "input",
|
|
7384
7384
|
"aria-controls": t.ariaControls,
|
|
7385
7385
|
"aria-placeholder": t.ariaPlaceholder,
|
|
@@ -7403,7 +7403,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7403
7403
|
(k(!0), E(
|
|
7404
7404
|
$e,
|
|
7405
7405
|
null,
|
|
7406
|
-
Ye(t.iv, (s, a, l) =>
|
|
7406
|
+
Ye(t.iv, (s, a, l) => Se(t.$slots, "tag", {
|
|
7407
7407
|
option: s,
|
|
7408
7408
|
handleTagRemove: t.handleTagRemove,
|
|
7409
7409
|
disabled: n.disabled
|
|
@@ -7414,7 +7414,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7414
7414
|
s.disabled ? t.classList.tagDisabled : null
|
|
7415
7415
|
]),
|
|
7416
7416
|
tabindex: "-1",
|
|
7417
|
-
onKeyup:
|
|
7417
|
+
onKeyup: ao((u) => t.handleTagRemove(s, u), ["enter"]),
|
|
7418
7418
|
key: l,
|
|
7419
7419
|
"aria-label": t.ariaTagLabel(t.localize(s[n.label]))
|
|
7420
7420
|
}, [
|
|
@@ -7430,7 +7430,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7430
7430
|
!n.disabled && !s.disabled ? (k(), E("span", {
|
|
7431
7431
|
key: 0,
|
|
7432
7432
|
class: me(t.classList.tagRemove),
|
|
7433
|
-
onClick:
|
|
7433
|
+
onClick: we((u) => t.handleTagRemove(s, u), ["stop"])
|
|
7434
7434
|
}, [
|
|
7435
7435
|
b(
|
|
7436
7436
|
"span",
|
|
@@ -7475,7 +7475,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7475
7475
|
autocomplete: n.autocomplete,
|
|
7476
7476
|
onInput: e[3] || (e[3] = (...s) => t.handleSearchInput && t.handleSearchInput(...s)),
|
|
7477
7477
|
onKeypress: e[4] || (e[4] = (...s) => t.handleKeypress && t.handleKeypress(...s)),
|
|
7478
|
-
onPaste: e[5] || (e[5] =
|
|
7478
|
+
onPaste: e[5] || (e[5] = we((...s) => t.handlePaste && t.handlePaste(...s), ["stop"])),
|
|
7479
7479
|
ref: "input",
|
|
7480
7480
|
"aria-controls": t.ariaControls,
|
|
7481
7481
|
"aria-placeholder": t.ariaPlaceholder,
|
|
@@ -7496,7 +7496,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7496
7496
|
/* CLASS */
|
|
7497
7497
|
)) : P("v-if", !0),
|
|
7498
7498
|
P(" Single label "),
|
|
7499
|
-
n.mode == "single" && t.hasSelected && !t.search && t.iv ?
|
|
7499
|
+
n.mode == "single" && t.hasSelected && !t.search && t.iv ? Se(t.$slots, "singlelabel", {
|
|
7500
7500
|
key: 2,
|
|
7501
7501
|
value: t.iv
|
|
7502
7502
|
}, () => [
|
|
@@ -7521,7 +7521,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7521
7521
|
)
|
|
7522
7522
|
]) : P("v-if", !0),
|
|
7523
7523
|
P(" Multiple label "),
|
|
7524
|
-
n.mode == "multiple" && t.hasSelected && !t.search ?
|
|
7524
|
+
n.mode == "multiple" && t.hasSelected && !t.search ? Se(t.$slots, "multiplelabel", {
|
|
7525
7525
|
key: 3,
|
|
7526
7526
|
values: t.iv
|
|
7527
7527
|
}, () => [
|
|
@@ -7531,7 +7531,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7531
7531
|
}, null, 10, N9)
|
|
7532
7532
|
]) : P("v-if", !0),
|
|
7533
7533
|
P(" Placeholder "),
|
|
7534
|
-
n.placeholder && !t.hasSelected && !t.search ?
|
|
7534
|
+
n.placeholder && !t.hasSelected && !t.search ? Se(t.$slots, "placeholder", { key: 4 }, () => [
|
|
7535
7535
|
b(
|
|
7536
7536
|
"div",
|
|
7537
7537
|
{
|
|
@@ -7544,7 +7544,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7544
7544
|
)
|
|
7545
7545
|
]) : P("v-if", !0),
|
|
7546
7546
|
P(" Spinner "),
|
|
7547
|
-
n.loading || t.resolving ?
|
|
7547
|
+
n.loading || t.resolving ? Se(t.$slots, "spinner", { key: 5 }, () => [
|
|
7548
7548
|
b(
|
|
7549
7549
|
"span",
|
|
7550
7550
|
{
|
|
@@ -7557,7 +7557,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7557
7557
|
)
|
|
7558
7558
|
]) : P("v-if", !0),
|
|
7559
7559
|
P(" Clear "),
|
|
7560
|
-
t.hasSelected && !n.disabled && n.canClear && !t.busy ?
|
|
7560
|
+
t.hasSelected && !n.disabled && n.canClear && !t.busy ? Se(t.$slots, "clear", {
|
|
7561
7561
|
key: 6,
|
|
7562
7562
|
clear: t.clear
|
|
7563
7563
|
}, () => [
|
|
@@ -7571,7 +7571,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7571
7571
|
"aria-roledescription": "❎",
|
|
7572
7572
|
class: me(t.classList.clear),
|
|
7573
7573
|
onClick: e[6] || (e[6] = (...s) => t.clear && t.clear(...s)),
|
|
7574
|
-
onKeyup: e[7] || (e[7] =
|
|
7574
|
+
onKeyup: e[7] || (e[7] = ao((...s) => t.clear && t.clear(...s), ["enter"]))
|
|
7575
7575
|
},
|
|
7576
7576
|
[
|
|
7577
7577
|
b(
|
|
@@ -7589,7 +7589,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7589
7589
|
)
|
|
7590
7590
|
]) : P("v-if", !0),
|
|
7591
7591
|
P(" Caret "),
|
|
7592
|
-
n.caret && n.showOptions ?
|
|
7592
|
+
n.caret && n.showOptions ? Se(t.$slots, "caret", {
|
|
7593
7593
|
key: 7,
|
|
7594
7594
|
handleCaretClick: t.handleCaretClick,
|
|
7595
7595
|
isOpen: t.isOpen
|
|
@@ -7618,7 +7618,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7618
7618
|
tabindex: "-1",
|
|
7619
7619
|
ref: "dropdown"
|
|
7620
7620
|
}, [
|
|
7621
|
-
|
|
7621
|
+
Se(t.$slots, "beforelist", { options: t.fo }),
|
|
7622
7622
|
b("ul", {
|
|
7623
7623
|
class: me(t.classList.options),
|
|
7624
7624
|
id: t.ariaControls,
|
|
@@ -7640,9 +7640,9 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7640
7640
|
class: me(t.classList.groupLabel(s)),
|
|
7641
7641
|
"data-pointed": t.isPointed(s),
|
|
7642
7642
|
onMouseenter: (u) => t.setPointer(s, a),
|
|
7643
|
-
onMousedown:
|
|
7643
|
+
onMousedown: we((u) => t.handleGroupClick(s), ["prevent"])
|
|
7644
7644
|
}, [
|
|
7645
|
-
|
|
7645
|
+
Se(t.$slots, "grouplabel", {
|
|
7646
7646
|
group: s,
|
|
7647
7647
|
isSelected: t.isSelected,
|
|
7648
7648
|
isPointed: t.isPointed
|
|
@@ -7666,13 +7666,13 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7666
7666
|
"data-selected": t.isSelected(u) || void 0,
|
|
7667
7667
|
key: d,
|
|
7668
7668
|
onMouseenter: (f) => t.setPointer(u),
|
|
7669
|
-
onMousedown:
|
|
7669
|
+
onMousedown: we((f) => t.handleOptionClick(u), ["prevent"]),
|
|
7670
7670
|
id: t.ariaOptionId(u),
|
|
7671
7671
|
"aria-selected": t.isSelected(u),
|
|
7672
7672
|
"aria-label": t.ariaOptionLabel(t.localize(u[n.label])),
|
|
7673
7673
|
role: "option"
|
|
7674
7674
|
}, [
|
|
7675
|
-
|
|
7675
|
+
Se(t.$slots, "option", {
|
|
7676
7676
|
option: u,
|
|
7677
7677
|
isSelected: t.isSelected,
|
|
7678
7678
|
isPointed: t.isPointed,
|
|
@@ -7703,13 +7703,13 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7703
7703
|
"data-selected": t.isSelected(s) || void 0,
|
|
7704
7704
|
key: l,
|
|
7705
7705
|
onMouseenter: (u) => t.setPointer(s),
|
|
7706
|
-
onMousedown:
|
|
7706
|
+
onMousedown: we((u) => t.handleOptionClick(s), ["prevent"]),
|
|
7707
7707
|
id: t.ariaOptionId(s),
|
|
7708
7708
|
"aria-selected": t.isSelected(s),
|
|
7709
7709
|
"aria-label": t.ariaOptionLabel(t.localize(s[n.label])),
|
|
7710
7710
|
role: "option"
|
|
7711
7711
|
}, [
|
|
7712
|
-
|
|
7712
|
+
Se(t.$slots, "option", {
|
|
7713
7713
|
option: s,
|
|
7714
7714
|
isSelected: t.isSelected,
|
|
7715
7715
|
isPointed: t.isPointed,
|
|
@@ -7728,13 +7728,13 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7728
7728
|
/* KEYED_FRAGMENT */
|
|
7729
7729
|
))
|
|
7730
7730
|
], 10, R9),
|
|
7731
|
-
t.noOptions ?
|
|
7731
|
+
t.noOptions ? Se(t.$slots, "nooptions", { key: 0 }, () => [
|
|
7732
7732
|
b("div", {
|
|
7733
7733
|
class: me(t.classList.noOptions),
|
|
7734
7734
|
innerHTML: t.localize(n.noOptionsText)
|
|
7735
7735
|
}, null, 10, q9)
|
|
7736
7736
|
]) : P("v-if", !0),
|
|
7737
|
-
t.noResults ?
|
|
7737
|
+
t.noResults ? Se(t.$slots, "noresults", { key: 1 }, () => [
|
|
7738
7738
|
b("div", {
|
|
7739
7739
|
class: me(t.classList.noResults),
|
|
7740
7740
|
innerHTML: t.localize(n.noResultsText)
|
|
@@ -7748,7 +7748,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7748
7748
|
ref: "infiniteLoader"
|
|
7749
7749
|
},
|
|
7750
7750
|
[
|
|
7751
|
-
|
|
7751
|
+
Se(t.$slots, "infinite", {}, () => [
|
|
7752
7752
|
b(
|
|
7753
7753
|
"span",
|
|
7754
7754
|
{
|
|
@@ -7763,7 +7763,7 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7763
7763
|
2
|
|
7764
7764
|
/* CLASS */
|
|
7765
7765
|
)) : P("v-if", !0),
|
|
7766
|
-
|
|
7766
|
+
Se(t.$slots, "afterlist", { options: t.fo })
|
|
7767
7767
|
], 10, P9)
|
|
7768
7768
|
], 8, ["to", "disabled"])),
|
|
7769
7769
|
P(" Hacky input element to show HTML5 required warning "),
|
|
@@ -7819,8 +7819,8 @@ function Y9(t, e, n, o, r, i) {
|
|
|
7819
7819
|
)
|
|
7820
7820
|
], 42, $9);
|
|
7821
7821
|
}
|
|
7822
|
-
|
|
7823
|
-
|
|
7822
|
+
qo.render = Y9;
|
|
7823
|
+
qo.__file = "src/Multiselect.vue";
|
|
7824
7824
|
const qt = /* @__PURE__ */ le({
|
|
7825
7825
|
__name: "AoMultiselect",
|
|
7826
7826
|
props: {
|
|
@@ -7834,7 +7834,7 @@ const qt = /* @__PURE__ */ le({
|
|
|
7834
7834
|
return e.detached && u4({
|
|
7835
7835
|
multiselect: o,
|
|
7836
7836
|
appendTo: n.value
|
|
7837
|
-
}), (r, i) => (k(), J(te(
|
|
7837
|
+
}), (r, i) => (k(), J(te(qo), {
|
|
7838
7838
|
ref_key: "multiselectRef",
|
|
7839
7839
|
ref: o,
|
|
7840
7840
|
class: "ao-multiselect",
|
|
@@ -7844,7 +7844,7 @@ const qt = /* @__PURE__ */ le({
|
|
|
7844
7844
|
Ye(r.$slots, (s, a) => ({
|
|
7845
7845
|
name: a,
|
|
7846
7846
|
fn: ae((l) => [
|
|
7847
|
-
|
|
7847
|
+
Se(r.$slots, a, Ps(Rs(l ?? {})))
|
|
7848
7848
|
])
|
|
7849
7849
|
}))
|
|
7850
7850
|
]), 1032, ["close-on-select", "clear-on-select"]));
|
|
@@ -7884,7 +7884,7 @@ le({
|
|
|
7884
7884
|
};
|
|
7885
7885
|
}
|
|
7886
7886
|
});
|
|
7887
|
-
async function
|
|
7887
|
+
async function Ao(t, e) {
|
|
7888
7888
|
if (e && t && t.length - e.length === 1) {
|
|
7889
7889
|
const n = new Set(e.map((a) => a.id)), o = t.filter(
|
|
7890
7890
|
(a) => !n.has(a.id)
|
|
@@ -7930,7 +7930,7 @@ const X9 = { class: "ao-tasks__list" }, Q9 = ["id", "value", "readonly", "onChan
|
|
|
7930
7930
|
Ne(
|
|
7931
7931
|
() => o.tasks,
|
|
7932
7932
|
(y, C) => {
|
|
7933
|
-
|
|
7933
|
+
Ao(y, C), d();
|
|
7934
7934
|
},
|
|
7935
7935
|
{
|
|
7936
7936
|
deep: !0
|
|
@@ -8013,7 +8013,7 @@ const X9 = { class: "ao-tasks__list" }, Q9 = ["id", "value", "readonly", "onChan
|
|
|
8013
8013
|
rows: "1",
|
|
8014
8014
|
onInput: u,
|
|
8015
8015
|
onChange: (T) => h(T, S.id),
|
|
8016
|
-
onKeydown:
|
|
8016
|
+
onKeydown: ao(we(m, ["prevent"]), ["enter"])
|
|
8017
8017
|
}, null, 42, Q9),
|
|
8018
8018
|
!t.isTemplate && t.users ? (k(), J(qt, {
|
|
8019
8019
|
key: 1,
|
|
@@ -8147,12 +8147,12 @@ const n8 = { class: "ao-files__placeholder" }, o8 = {
|
|
|
8147
8147
|
"ao-files__wrapper--drop-active": r.value
|
|
8148
8148
|
}
|
|
8149
8149
|
]),
|
|
8150
|
-
onDrop:
|
|
8151
|
-
onDragenter:
|
|
8152
|
-
onDragover:
|
|
8153
|
-
onDragleave:
|
|
8150
|
+
onDrop: we(f, ["prevent"]),
|
|
8151
|
+
onDragenter: we(c, ["prevent"]),
|
|
8152
|
+
onDragover: we(c, ["prevent"]),
|
|
8153
|
+
onDragleave: we(d, ["prevent"])
|
|
8154
8154
|
}, [
|
|
8155
|
-
|
|
8155
|
+
Se(p.$slots, "default", {}, () => [
|
|
8156
8156
|
b("span", n8, B(p.$t("activity.attachment.placeholder.resting")), 1)
|
|
8157
8157
|
]),
|
|
8158
8158
|
(_ = t.attachments) != null && _.length || t.isEditable ? (k(), E("ul", o8, [
|
|
@@ -8181,7 +8181,7 @@ const n8 = { class: "ao-files__placeholder" }, o8 = {
|
|
|
8181
8181
|
corners: "round",
|
|
8182
8182
|
"aria-label": "Download",
|
|
8183
8183
|
title: "Download",
|
|
8184
|
-
onClick:
|
|
8184
|
+
onClick: we((m) => a(g), ["stop"])
|
|
8185
8185
|
}, null, 8, ["onClick"]),
|
|
8186
8186
|
t.isEditable ? (k(), J(xe, {
|
|
8187
8187
|
key: 0,
|
|
@@ -8192,7 +8192,7 @@ const n8 = { class: "ao-files__placeholder" }, o8 = {
|
|
|
8192
8192
|
corners: "round",
|
|
8193
8193
|
"aria-label": "Delete",
|
|
8194
8194
|
title: "Delete",
|
|
8195
|
-
onClick:
|
|
8195
|
+
onClick: we((m) => s(g), ["stop"])
|
|
8196
8196
|
}, null, 8, ["onClick"])) : P("", !0)
|
|
8197
8197
|
])
|
|
8198
8198
|
]))), 128)),
|
|
@@ -8219,7 +8219,7 @@ const n8 = { class: "ao-files__placeholder" }, o8 = {
|
|
|
8219
8219
|
tt(b("div", d8, [
|
|
8220
8220
|
b("span", f8, B(p.$t("activity.attachment.placeholder.active")), 1)
|
|
8221
8221
|
], 512), [
|
|
8222
|
-
[
|
|
8222
|
+
[Wo, r.value]
|
|
8223
8223
|
])
|
|
8224
8224
|
], 34);
|
|
8225
8225
|
};
|
|
@@ -10743,17 +10743,17 @@ var Ll = {}, Gie = function(e, n, o) {
|
|
|
10743
10743
|
Ll.parseLinkLabel = Gie;
|
|
10744
10744
|
Ll.parseLinkDestination = Yie;
|
|
10745
10745
|
Ll.parseLinkTitle = Xie;
|
|
10746
|
-
var Qie = Ke.assign, ese = Ke.unescapeAll, Tr = Ke.escapeHtml,
|
|
10747
|
-
|
|
10746
|
+
var Qie = Ke.assign, ese = Ke.unescapeAll, Tr = Ke.escapeHtml, ho = {};
|
|
10747
|
+
ho.code_inline = function(t, e, n, o, r) {
|
|
10748
10748
|
var i = t[e];
|
|
10749
10749
|
return "<code" + r.renderAttrs(i) + ">" + Tr(i.content) + "</code>";
|
|
10750
10750
|
};
|
|
10751
|
-
|
|
10751
|
+
ho.code_block = function(t, e, n, o, r) {
|
|
10752
10752
|
var i = t[e];
|
|
10753
10753
|
return "<pre" + r.renderAttrs(i) + "><code>" + Tr(t[e].content) + `</code></pre>
|
|
10754
10754
|
`;
|
|
10755
10755
|
};
|
|
10756
|
-
|
|
10756
|
+
ho.fence = function(t, e, n, o, r) {
|
|
10757
10757
|
var i = t[e], s = i.info ? ese(i.info).trim() : "", a = "", l = "", u, c, d, f, p;
|
|
10758
10758
|
return s && (d = s.split(/(\s+)/g), a = d[0], l = d.slice(2).join("")), n.highlight ? u = n.highlight(i.content, a, l) || Tr(i.content) : u = Tr(i.content), u.indexOf("<pre") === 0 ? u + `
|
|
10759
10759
|
` : s ? (c = i.attrIndex("class"), f = i.attrs ? i.attrs.slice() : [], c < 0 ? f.push(["class", n.langPrefix + a]) : (f[c] = f[c].slice(), f[c][1] += " " + n.langPrefix + a), p = {
|
|
@@ -10762,32 +10762,32 @@ po.fence = function(t, e, n, o, r) {
|
|
|
10762
10762
|
`) : "<pre><code" + r.renderAttrs(i) + ">" + u + `</code></pre>
|
|
10763
10763
|
`;
|
|
10764
10764
|
};
|
|
10765
|
-
|
|
10765
|
+
ho.image = function(t, e, n, o, r) {
|
|
10766
10766
|
var i = t[e];
|
|
10767
10767
|
return i.attrs[i.attrIndex("alt")][1] = r.renderInlineAsText(i.children, n, o), r.renderToken(t, e, n);
|
|
10768
10768
|
};
|
|
10769
|
-
|
|
10769
|
+
ho.hardbreak = function(t, e, n) {
|
|
10770
10770
|
return n.xhtmlOut ? `<br />
|
|
10771
10771
|
` : `<br>
|
|
10772
10772
|
`;
|
|
10773
10773
|
};
|
|
10774
|
-
|
|
10774
|
+
ho.softbreak = function(t, e, n) {
|
|
10775
10775
|
return n.breaks ? n.xhtmlOut ? `<br />
|
|
10776
10776
|
` : `<br>
|
|
10777
10777
|
` : `
|
|
10778
10778
|
`;
|
|
10779
10779
|
};
|
|
10780
|
-
|
|
10780
|
+
ho.text = function(t, e) {
|
|
10781
10781
|
return Tr(t[e].content);
|
|
10782
10782
|
};
|
|
10783
|
-
|
|
10783
|
+
ho.html_block = function(t, e) {
|
|
10784
10784
|
return t[e].content;
|
|
10785
10785
|
};
|
|
10786
|
-
|
|
10786
|
+
ho.html_inline = function(t, e) {
|
|
10787
10787
|
return t[e].content;
|
|
10788
10788
|
};
|
|
10789
10789
|
function Mi() {
|
|
10790
|
-
this.rules = Qie({},
|
|
10790
|
+
this.rules = Qie({}, ho);
|
|
10791
10791
|
}
|
|
10792
10792
|
Mi.prototype.renderAttrs = function(e) {
|
|
10793
10793
|
var n, o, r;
|
|
@@ -11470,7 +11470,7 @@ var Yse = Rse, Jse = Ol.HTML_OPEN_CLOSE_TAG_RE, Gr = [
|
|
|
11470
11470
|
}
|
|
11471
11471
|
return r = e.getLines(n, c, e.blkIndent, !1).trim(), e.line = c, l = e.push("paragraph_open", "p", 1), l.map = [n, e.line], l = e.push("inline", "", 0), l.content = r, l.map = [n, e.line], l.children = [], l = e.push("paragraph_close", "p", -1), e.parentType = u, !0;
|
|
11472
11472
|
}, sm = ld, Il = Ke.isSpace;
|
|
11473
|
-
function
|
|
11473
|
+
function mo(t, e, n, o) {
|
|
11474
11474
|
var r, i, s, a, l, u, c, d;
|
|
11475
11475
|
for (this.src = t, this.md = e, this.env = n, this.tokens = o, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0, this.result = "", i = this.src, d = !1, s = a = u = c = 0, l = i.length; a < l; a++) {
|
|
11476
11476
|
if (r = i.charCodeAt(a), !d)
|
|
@@ -11483,24 +11483,24 @@ function ho(t, e, n, o) {
|
|
|
11483
11483
|
}
|
|
11484
11484
|
this.bMarks.push(i.length), this.eMarks.push(i.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
11485
11485
|
}
|
|
11486
|
-
|
|
11486
|
+
mo.prototype.push = function(t, e, n) {
|
|
11487
11487
|
var o = new sm(t, e, n);
|
|
11488
11488
|
return o.block = !0, n < 0 && this.level--, o.level = this.level, n > 0 && this.level++, this.tokens.push(o), o;
|
|
11489
11489
|
};
|
|
11490
|
-
|
|
11490
|
+
mo.prototype.isEmpty = function(e) {
|
|
11491
11491
|
return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
|
|
11492
11492
|
};
|
|
11493
|
-
|
|
11493
|
+
mo.prototype.skipEmptyLines = function(e) {
|
|
11494
11494
|
for (var n = this.lineMax; e < n && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++)
|
|
11495
11495
|
;
|
|
11496
11496
|
return e;
|
|
11497
11497
|
};
|
|
11498
|
-
|
|
11498
|
+
mo.prototype.skipSpaces = function(e) {
|
|
11499
11499
|
for (var n, o = this.src.length; e < o && (n = this.src.charCodeAt(e), !!Il(n)); e++)
|
|
11500
11500
|
;
|
|
11501
11501
|
return e;
|
|
11502
11502
|
};
|
|
11503
|
-
|
|
11503
|
+
mo.prototype.skipSpacesBack = function(e, n) {
|
|
11504
11504
|
if (e <= n)
|
|
11505
11505
|
return e;
|
|
11506
11506
|
for (; e > n; )
|
|
@@ -11508,12 +11508,12 @@ ho.prototype.skipSpacesBack = function(e, n) {
|
|
|
11508
11508
|
return e + 1;
|
|
11509
11509
|
return e;
|
|
11510
11510
|
};
|
|
11511
|
-
|
|
11511
|
+
mo.prototype.skipChars = function(e, n) {
|
|
11512
11512
|
for (var o = this.src.length; e < o && this.src.charCodeAt(e) === n; e++)
|
|
11513
11513
|
;
|
|
11514
11514
|
return e;
|
|
11515
11515
|
};
|
|
11516
|
-
|
|
11516
|
+
mo.prototype.skipCharsBack = function(e, n, o) {
|
|
11517
11517
|
if (e <= o)
|
|
11518
11518
|
return e;
|
|
11519
11519
|
for (; e > o; )
|
|
@@ -11521,7 +11521,7 @@ ho.prototype.skipCharsBack = function(e, n, o) {
|
|
|
11521
11521
|
return e + 1;
|
|
11522
11522
|
return e;
|
|
11523
11523
|
};
|
|
11524
|
-
|
|
11524
|
+
mo.prototype.getLines = function(e, n, o, r) {
|
|
11525
11525
|
var i, s, a, l, u, c, d, f = e;
|
|
11526
11526
|
if (e >= n)
|
|
11527
11527
|
return "";
|
|
@@ -11539,8 +11539,8 @@ ho.prototype.getLines = function(e, n, o, r) {
|
|
|
11539
11539
|
}
|
|
11540
11540
|
return c.join("");
|
|
11541
11541
|
};
|
|
11542
|
-
|
|
11543
|
-
var nae =
|
|
11542
|
+
mo.prototype.Token = sm;
|
|
11543
|
+
var nae = mo, oae = ad, ya = [
|
|
11544
11544
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
11545
11545
|
// which can be terminated by this one.
|
|
11546
11546
|
["table", Ase, ["paragraph", "reference"]],
|
|
@@ -12157,7 +12157,7 @@ const ci = 2147483647, no = 36, fd = 1, xs = 26, Kae = 38, Gae = 700, lm = 72, c
|
|
|
12157
12157
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
12158
12158
|
"invalid-input": "Invalid input"
|
|
12159
12159
|
}, Ec = no - fd, oo = Math.floor, Tc = String.fromCharCode;
|
|
12160
|
-
function
|
|
12160
|
+
function jo(t) {
|
|
12161
12161
|
throw new RangeError(Qae[t]);
|
|
12162
12162
|
}
|
|
12163
12163
|
function ele(t, e) {
|
|
@@ -12202,21 +12202,21 @@ const fm = (t) => String.fromCodePoint(...t), tle = function(t) {
|
|
|
12202
12202
|
let o = 0, r = cm, i = lm, s = t.lastIndexOf(um);
|
|
12203
12203
|
s < 0 && (s = 0);
|
|
12204
12204
|
for (let a = 0; a < s; ++a)
|
|
12205
|
-
t.charCodeAt(a) >= 128 &&
|
|
12205
|
+
t.charCodeAt(a) >= 128 && jo("not-basic"), e.push(t.charCodeAt(a));
|
|
12206
12206
|
for (let a = s > 0 ? s + 1 : 0; a < n; ) {
|
|
12207
12207
|
const l = o;
|
|
12208
12208
|
for (let c = 1, d = no; ; d += no) {
|
|
12209
|
-
a >= n &&
|
|
12209
|
+
a >= n && jo("invalid-input");
|
|
12210
12210
|
const f = tle(t.charCodeAt(a++));
|
|
12211
|
-
f >= no &&
|
|
12211
|
+
f >= no && jo("invalid-input"), f > oo((ci - o) / c) && jo("overflow"), o += f * c;
|
|
12212
12212
|
const p = d <= i ? fd : d >= i + xs ? xs : d - i;
|
|
12213
12213
|
if (f < p)
|
|
12214
12214
|
break;
|
|
12215
12215
|
const h = no - p;
|
|
12216
|
-
c > oo(ci / h) &&
|
|
12216
|
+
c > oo(ci / h) && jo("overflow"), c *= h;
|
|
12217
12217
|
}
|
|
12218
12218
|
const u = e.length + 1;
|
|
12219
|
-
i = pm(o - l, u, l == 0), oo(o / u) > ci - r &&
|
|
12219
|
+
i = pm(o - l, u, l == 0), oo(o / u) > ci - r && jo("overflow"), r += oo(o / u), o %= u, e.splice(o++, 0, r);
|
|
12220
12220
|
}
|
|
12221
12221
|
return String.fromCodePoint(...e);
|
|
12222
12222
|
}, md = function(t) {
|
|
@@ -12233,9 +12233,9 @@ const fm = (t) => String.fromCodePoint(...t), tle = function(t) {
|
|
|
12233
12233
|
for (const c of t)
|
|
12234
12234
|
c >= o && c < l && (l = c);
|
|
12235
12235
|
const u = a + 1;
|
|
12236
|
-
l - o > oo((ci - r) / u) &&
|
|
12236
|
+
l - o > oo((ci - r) / u) && jo("overflow"), r += (l - o) * u, o = l;
|
|
12237
12237
|
for (const c of t)
|
|
12238
|
-
if (c < o && ++r > ci &&
|
|
12238
|
+
if (c < o && ++r > ci && jo("overflow"), c === o) {
|
|
12239
12239
|
let d = r;
|
|
12240
12240
|
for (let f = no; ; f += no) {
|
|
12241
12241
|
const p = f <= i ? fd : f >= i + xs ? xs : f - i;
|
|
@@ -12614,7 +12614,7 @@ lu || (lu = function(e) {
|
|
|
12614
12614
|
o[r - 1] = arguments[r];
|
|
12615
12615
|
return new e(...o);
|
|
12616
12616
|
});
|
|
12617
|
-
const Yr = _t(Array.prototype.forEach), Mle = _t(Array.prototype.lastIndexOf), bf = _t(Array.prototype.pop), Jr = _t(Array.prototype.push), Lle = _t(Array.prototype.splice),
|
|
12617
|
+
const Yr = _t(Array.prototype.forEach), Mle = _t(Array.prototype.lastIndexOf), bf = _t(Array.prototype.pop), Jr = _t(Array.prototype.push), Lle = _t(Array.prototype.splice), Vo = Array.isArray, as = _t(String.prototype.toLowerCase), $c = _t(String.prototype.toString), Cf = _t(String.prototype.match), ts = _t(String.prototype.replace), kf = _t(String.prototype.indexOf), Ole = _t(String.prototype.trim), Ile = _t(Number.prototype.toString), Nle = _t(Boolean.prototype.toString), wf = typeof BigInt > "u" ? null : _t(BigInt.prototype.toString), Sf = typeof Symbol > "u" ? null : _t(Symbol.prototype.toString), At = _t(Object.prototype.hasOwnProperty), ns = _t(Object.prototype.toString), xt = _t(RegExp.prototype.test), ur = Ple(TypeError);
|
|
12618
12618
|
function _t(t) {
|
|
12619
12619
|
return function(e) {
|
|
12620
12620
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -12632,7 +12632,7 @@ function Ple(t) {
|
|
|
12632
12632
|
}
|
|
12633
12633
|
function ze(t, e) {
|
|
12634
12634
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : as;
|
|
12635
|
-
if (_f && _f(t, null), !
|
|
12635
|
+
if (_f && _f(t, null), !Vo(e))
|
|
12636
12636
|
return t;
|
|
12637
12637
|
let o = e.length;
|
|
12638
12638
|
for (; o--; ) {
|
|
@@ -12655,7 +12655,7 @@ function zt(t) {
|
|
|
12655
12655
|
for (const o of ym(t)) {
|
|
12656
12656
|
var n = Ale(o, 2);
|
|
12657
12657
|
const r = n[0], i = n[1];
|
|
12658
|
-
At(t, r) && (
|
|
12658
|
+
At(t, r) && (Vo(i) ? e[r] = Rle(i) : i && typeof i == "object" && i.constructor === Object ? e[r] = zt(i) : e[r] = i);
|
|
12659
12659
|
}
|
|
12660
12660
|
return e;
|
|
12661
12661
|
}
|
|
@@ -12766,8 +12766,8 @@ const xf = Nt(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
12766
12766
|
uponSanitizeElement: [],
|
|
12767
12767
|
uponSanitizeShadowNode: []
|
|
12768
12768
|
};
|
|
12769
|
-
},
|
|
12770
|
-
return At(e, n) &&
|
|
12769
|
+
}, Ho = function(e, n, o, r) {
|
|
12770
|
+
return At(e, n) && Vo(e[n]) ? ze(r.base ? zt(r.base) : {}, e[n], r.transform) : o;
|
|
12771
12771
|
};
|
|
12772
12772
|
function bm() {
|
|
12773
12773
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Qle();
|
|
@@ -12846,10 +12846,10 @@ function bm() {
|
|
|
12846
12846
|
value: null
|
|
12847
12847
|
}
|
|
12848
12848
|
}));
|
|
12849
|
-
let Ze = !0, ot = !0, ht = !1, mt = !0, Ge = !1, Ut = !0, St = !1, sn = !1, Mn = null, Wn = null, Zn = !1, Kn = !1,
|
|
12849
|
+
let Ze = !0, ot = !0, ht = !1, mt = !0, Ge = !1, Ut = !0, St = !1, sn = !1, Mn = null, Wn = null, Zn = !1, Kn = !1, No = !1, F = !1, X = !0, Ce = !1;
|
|
12850
12850
|
const gt = "user-content-";
|
|
12851
12851
|
let an = !0, Ht = !1, Le = {}, Kt = null;
|
|
12852
|
-
const
|
|
12852
|
+
const Po = ze({}, [
|
|
12853
12853
|
"annotation-xml",
|
|
12854
12854
|
"audio",
|
|
12855
12855
|
"colgroup",
|
|
@@ -12889,9 +12889,9 @@ function bm() {
|
|
|
12889
12889
|
let oa = null;
|
|
12890
12890
|
const Bi = ze({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
12891
12891
|
let ln = null;
|
|
12892
|
-
const Vr = ze({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]),
|
|
12893
|
-
let
|
|
12894
|
-
const ic = ze({}, [
|
|
12892
|
+
const Vr = ze({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ro = "http://www.w3.org/1998/Math/MathML", Wr = "http://www.w3.org/2000/svg", cn = "http://www.w3.org/1999/xhtml";
|
|
12893
|
+
let Fo = cn, ar = !1, Ui = null;
|
|
12894
|
+
const ic = ze({}, [Ro, Wr, cn], $c), ra = Nt(["mi", "mo", "mn", "ms", "mtext"]);
|
|
12895
12895
|
let un = ze({}, ra);
|
|
12896
12896
|
const ia = Nt(["annotation-xml"]);
|
|
12897
12897
|
let Hi = ze({}, ia);
|
|
@@ -12901,32 +12901,32 @@ function bm() {
|
|
|
12901
12901
|
let Qe = null, Ln = null;
|
|
12902
12902
|
const qi = n.createElement("form"), sa = function(D) {
|
|
12903
12903
|
return D instanceof RegExp || D instanceof Function;
|
|
12904
|
-
},
|
|
12904
|
+
}, Bo = function() {
|
|
12905
12905
|
let D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
12906
12906
|
if (Ln && Ln === D)
|
|
12907
12907
|
return;
|
|
12908
12908
|
(!D || typeof D != "object") && (D = {}), D = zt(D), lr = // eslint-disable-next-line unicorn/prefer-includes
|
|
12909
|
-
zi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? ji : D.PARSER_MEDIA_TYPE, Qe = lr === "application/xhtml+xml" ? $c : as, Pe =
|
|
12909
|
+
zi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? ji : D.PARSER_MEDIA_TYPE, Qe = lr === "application/xhtml+xml" ? $c : as, Pe = Ho(D, "ALLOWED_TAGS", Bt, {
|
|
12910
12910
|
transform: Qe
|
|
12911
|
-
}), Z =
|
|
12911
|
+
}), Z = Ho(D, "ALLOWED_ATTR", ye, {
|
|
12912
12912
|
transform: Qe
|
|
12913
|
-
}), Ui =
|
|
12913
|
+
}), Ui = Ho(D, "ALLOWED_NAMESPACES", ic, {
|
|
12914
12914
|
transform: $c
|
|
12915
|
-
}), ln =
|
|
12915
|
+
}), ln = Ho(D, "ADD_URI_SAFE_ATTR", Vr, {
|
|
12916
12916
|
transform: Qe,
|
|
12917
12917
|
base: Vr
|
|
12918
|
-
}), oa =
|
|
12918
|
+
}), oa = Ho(D, "ADD_DATA_URI_TAGS", Bi, {
|
|
12919
12919
|
transform: Qe,
|
|
12920
12920
|
base: Bi
|
|
12921
|
-
}), Kt =
|
|
12921
|
+
}), Kt = Ho(D, "FORBID_CONTENTS", Po, {
|
|
12922
12922
|
transform: Qe
|
|
12923
|
-
}), Ee =
|
|
12923
|
+
}), Ee = Ho(D, "FORBID_TAGS", zt({}), {
|
|
12924
12924
|
transform: Qe
|
|
12925
|
-
}), dt =
|
|
12925
|
+
}), dt = Ho(D, "FORBID_ATTR", zt({}), {
|
|
12926
12926
|
transform: Qe
|
|
12927
|
-
}), Le = At(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, ht = D.ALLOW_UNKNOWN_PROTOCOLS || !1, mt = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ge = D.SAFE_FOR_TEMPLATES || !1, Ut = D.SAFE_FOR_XML !== !1, St = D.WHOLE_DOCUMENT || !1, Kn = D.RETURN_DOM || !1,
|
|
12927
|
+
}), Le = At(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, ht = D.ALLOW_UNKNOWN_PROTOCOLS || !1, mt = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ge = D.SAFE_FOR_TEMPLATES || !1, Ut = D.SAFE_FOR_XML !== !1, St = D.WHOLE_DOCUMENT || !1, Kn = D.RETURN_DOM || !1, No = D.RETURN_DOM_FRAGMENT || !1, F = D.RETURN_TRUSTED_TYPE || !1, Zn = D.FORCE_BODY || !1, X = D.SANITIZE_DOM !== !1, Ce = D.SANITIZE_NAMED_PROPS || !1, an = D.KEEP_CONTENT !== !1, Ht = D.IN_PLACE || !1, Ue = Ble(D.ALLOWED_URI_REGEXP) ? D.ALLOWED_URI_REGEXP : $f, Fo = typeof D.NAMESPACE == "string" ? D.NAMESPACE : cn, un = At(D, "MATHML_TEXT_INTEGRATION_POINTS") && D.MATHML_TEXT_INTEGRATION_POINTS && typeof D.MATHML_TEXT_INTEGRATION_POINTS == "object" ? zt(D.MATHML_TEXT_INTEGRATION_POINTS) : ze({}, ra), Hi = At(D, "HTML_INTEGRATION_POINTS") && D.HTML_INTEGRATION_POINTS && typeof D.HTML_INTEGRATION_POINTS == "object" ? zt(D.HTML_INTEGRATION_POINTS) : ze({}, ia);
|
|
12928
12928
|
const q = At(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? zt(D.CUSTOM_ELEMENT_HANDLING) : ti(null);
|
|
12929
|
-
if (De = ti(null), At(q, "tagNameCheck") && sa(q.tagNameCheck) && (De.tagNameCheck = q.tagNameCheck), At(q, "attributeNameCheck") && sa(q.attributeNameCheck) && (De.attributeNameCheck = q.attributeNameCheck), At(q, "allowCustomizedBuiltInElements") && typeof q.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = q.allowCustomizedBuiltInElements), Ft(De), Ge && (ot = !1),
|
|
12929
|
+
if (De = ti(null), At(q, "tagNameCheck") && sa(q.tagNameCheck) && (De.tagNameCheck = q.tagNameCheck), At(q, "attributeNameCheck") && sa(q.attributeNameCheck) && (De.attributeNameCheck = q.attributeNameCheck), At(q, "allowCustomizedBuiltInElements") && typeof q.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = q.allowCustomizedBuiltInElements), Ft(De), Ge && (ot = !1), No && (Kn = !0), Le && (Pe = ze({}, Af), Z = ti(null), Le.html === !0 && (ze(Pe, xf), ze(Z, Ef)), Le.svg === !0 && (ze(Pe, Dc), ze(Z, Oc), ze(Z, _a)), Le.svgFilters === !0 && (ze(Pe, Mc), ze(Z, Oc), ze(Z, _a)), Le.mathMl === !0 && (ze(Pe, Lc), ze(Z, Tf), ze(Z, _a))), We.tagCheck = null, We.attributeCheck = null, At(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? We.tagCheck = D.ADD_TAGS : Vo(D.ADD_TAGS) && (Pe === Bt && (Pe = zt(Pe)), ze(Pe, D.ADD_TAGS, Qe))), At(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? We.attributeCheck = D.ADD_ATTR : Vo(D.ADD_ATTR) && (Z === ye && (Z = zt(Z)), ze(Z, D.ADD_ATTR, Qe))), At(D, "ADD_URI_SAFE_ATTR") && Vo(D.ADD_URI_SAFE_ATTR) && ze(ln, D.ADD_URI_SAFE_ATTR, Qe), At(D, "FORBID_CONTENTS") && Vo(D.FORBID_CONTENTS) && (Kt === Po && (Kt = zt(Kt)), ze(Kt, D.FORBID_CONTENTS, Qe)), At(D, "ADD_FORBID_CONTENTS") && Vo(D.ADD_FORBID_CONTENTS) && (Kt === Po && (Kt = zt(Kt)), ze(Kt, D.ADD_FORBID_CONTENTS, Qe)), an && (Pe["#text"] = !0), St && ze(Pe, ["html", "head", "body"]), Pe.table && (ze(Pe, ["tbody"]), delete Ee.tbody), D.TRUSTED_TYPES_POLICY) {
|
|
12930
12930
|
if (typeof D.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
12931
12931
|
throw ur('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
12932
12932
|
if (typeof D.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -12942,19 +12942,19 @@ function bm() {
|
|
|
12942
12942
|
D.TRUSTED_TYPES_POLICY === null ? ($ = void 0, T = "") : ($ === void 0 && ($ = O()), $ && typeof T == "string" && (T = V("")));
|
|
12943
12943
|
Nt && Nt(D), Ln = D;
|
|
12944
12944
|
}, Vi = ze({}, [...Dc, ...Mc, ...Ule]), H = ze({}, [...Lc, ...Hle]), ce = function(D, q, oe) {
|
|
12945
|
-
return q.namespaceURI === cn ? D === "svg" : q.namespaceURI ===
|
|
12945
|
+
return q.namespaceURI === cn ? D === "svg" : q.namespaceURI === Ro ? D === "svg" && (oe === "annotation-xml" || un[oe]) : !!Vi[D];
|
|
12946
12946
|
}, Fe = function(D, q, oe) {
|
|
12947
12947
|
return q.namespaceURI === cn ? D === "math" : q.namespaceURI === Wr ? D === "math" && Hi[oe] : !!H[D];
|
|
12948
12948
|
}, at = function(D, q, oe) {
|
|
12949
|
-
return q.namespaceURI === Wr && !Hi[oe] || q.namespaceURI ===
|
|
12950
|
-
},
|
|
12949
|
+
return q.namespaceURI === Wr && !Hi[oe] || q.namespaceURI === Ro && !un[oe] ? !1 : !H[D] && (sc[D] || !Vi[D]);
|
|
12950
|
+
}, go = function(D) {
|
|
12951
12951
|
let q = v(D);
|
|
12952
12952
|
(!q || !q.tagName) && (q = {
|
|
12953
|
-
namespaceURI:
|
|
12953
|
+
namespaceURI: Fo,
|
|
12954
12954
|
tagName: "template"
|
|
12955
12955
|
});
|
|
12956
12956
|
const oe = as(D.tagName), ke = as(q.tagName);
|
|
12957
|
-
return Ui[D.namespaceURI] ? D.namespaceURI === Wr ? ce(oe, q, ke) : D.namespaceURI ===
|
|
12957
|
+
return Ui[D.namespaceURI] ? D.namespaceURI === Wr ? ce(oe, q, ke) : D.namespaceURI === Ro ? Fe(oe, q, ke) : D.namespaceURI === cn ? at(oe, q, ke) : !!(lr === "application/xhtml+xml" && Ui[D.namespaceURI]) : !1;
|
|
12958
12958
|
}, On = function(D) {
|
|
12959
12959
|
Jr(e.removed, {
|
|
12960
12960
|
element: D
|
|
@@ -12989,7 +12989,7 @@ function bm() {
|
|
|
12989
12989
|
} catch {
|
|
12990
12990
|
}
|
|
12991
12991
|
}
|
|
12992
|
-
},
|
|
12992
|
+
}, vo = function(D, q) {
|
|
12993
12993
|
try {
|
|
12994
12994
|
Jr(e.removed, {
|
|
12995
12995
|
attribute: q.getAttributeNode(D),
|
|
@@ -13002,7 +13002,7 @@ function bm() {
|
|
|
13002
13002
|
});
|
|
13003
13003
|
}
|
|
13004
13004
|
if (q.removeAttribute(D), D === "is")
|
|
13005
|
-
if (Kn ||
|
|
13005
|
+
if (Kn || No)
|
|
13006
13006
|
try {
|
|
13007
13007
|
On(q);
|
|
13008
13008
|
} catch {
|
|
@@ -13066,22 +13066,22 @@ function bm() {
|
|
|
13066
13066
|
const Ie = Cf(D, /^[\r\n\t ]+/);
|
|
13067
13067
|
oe = Ie && Ie[0];
|
|
13068
13068
|
}
|
|
13069
|
-
lr === "application/xhtml+xml" &&
|
|
13069
|
+
lr === "application/xhtml+xml" && Fo === cn && (D = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + D + "</body></html>");
|
|
13070
13070
|
const ke = $ ? V(D) : D;
|
|
13071
|
-
if (
|
|
13071
|
+
if (Fo === cn)
|
|
13072
13072
|
try {
|
|
13073
13073
|
q = new c().parseFromString(ke, lr);
|
|
13074
13074
|
} catch {
|
|
13075
13075
|
}
|
|
13076
13076
|
if (!q || !q.documentElement) {
|
|
13077
|
-
q = z.createDocument(
|
|
13077
|
+
q = z.createDocument(Fo, "template", null);
|
|
13078
13078
|
try {
|
|
13079
13079
|
q.documentElement.innerHTML = ar ? T : ke;
|
|
13080
13080
|
} catch {
|
|
13081
13081
|
}
|
|
13082
13082
|
}
|
|
13083
13083
|
const Ae = q.body || q.documentElement;
|
|
13084
|
-
return D && oe && Ae.insertBefore(n.createTextNode(oe), Ae.childNodes[0] || null),
|
|
13084
|
+
return D && oe && Ae.insertBefore(n.createTextNode(oe), Ae.childNodes[0] || null), Fo === cn ? ie.call(q, St ? "html" : "body")[0] : St ? q.documentElement : Ae;
|
|
13085
13085
|
}, l1 = function(D) {
|
|
13086
13086
|
const q = w ? w(D) : D.ownerDocument;
|
|
13087
13087
|
return U.call(
|
|
@@ -13193,7 +13193,7 @@ function bm() {
|
|
|
13193
13193
|
const Ae = Y0(D, oe, q);
|
|
13194
13194
|
return Ae === !1 && Gn(he.afterSanitizeElements, D, null), Ae;
|
|
13195
13195
|
}
|
|
13196
|
-
if ((C ? C(D) : D.nodeType) === dn.element && !
|
|
13196
|
+
if ((C ? C(D) : D.nodeType) === dn.element && !go(D) || (oe === "noscript" || oe === "noembed" || oe === "noframes") && xt(Jle, D.innerHTML))
|
|
13197
13197
|
return On(D), !0;
|
|
13198
13198
|
if (Ge && D.nodeType === dn.text) {
|
|
13199
13199
|
const Ae = la(D.textContent);
|
|
@@ -13246,7 +13246,7 @@ function bm() {
|
|
|
13246
13246
|
try {
|
|
13247
13247
|
oe ? D.setAttributeNS(oe, q, ke) : D.setAttribute(q, ke), ca(D) ? On(D) : bf(e.removed);
|
|
13248
13248
|
} catch {
|
|
13249
|
-
|
|
13249
|
+
vo(q, D);
|
|
13250
13250
|
}
|
|
13251
13251
|
}, p1 = function(D) {
|
|
13252
13252
|
Gn(he.beforeSanitizeAttributes, D, null);
|
|
@@ -13266,25 +13266,25 @@ function bm() {
|
|
|
13266
13266
|
for (; ke--; ) {
|
|
13267
13267
|
const Ie = q[ke], et = Ie.name, lt = Ie.namespaceURI, en = Ie.value, tn = Qe(et), cc = en;
|
|
13268
13268
|
let Gt = et === "value" ? cc : Ole(cc);
|
|
13269
|
-
if (oe.attrName = tn, oe.attrValue = Gt, oe.keepAttr = !0, oe.forceKeepAttr = void 0, Gn(he.uponSanitizeAttribute, D, oe), Gt = oe.attrValue, Ce && (tn === "id" || tn === "name") && kf(Gt, gt) !== 0 && (
|
|
13270
|
-
|
|
13269
|
+
if (oe.attrName = tn, oe.attrValue = Gt, oe.keepAttr = !0, oe.forceKeepAttr = void 0, Gn(he.uponSanitizeAttribute, D, oe), Gt = oe.attrValue, Ce && (tn === "id" || tn === "name") && kf(Gt, gt) !== 0 && (vo(et, D), Gt = gt + Gt), Ut && xt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Gt)) {
|
|
13270
|
+
vo(et, D);
|
|
13271
13271
|
continue;
|
|
13272
13272
|
}
|
|
13273
13273
|
if (tn === "attributename" && Cf(Gt, "href")) {
|
|
13274
|
-
|
|
13274
|
+
vo(et, D);
|
|
13275
13275
|
continue;
|
|
13276
13276
|
}
|
|
13277
13277
|
if (!oe.forceKeepAttr) {
|
|
13278
13278
|
if (!oe.keepAttr) {
|
|
13279
|
-
|
|
13279
|
+
vo(et, D);
|
|
13280
13280
|
continue;
|
|
13281
13281
|
}
|
|
13282
13282
|
if (!mt && xt(Xle, Gt)) {
|
|
13283
|
-
|
|
13283
|
+
vo(et, D);
|
|
13284
13284
|
continue;
|
|
13285
13285
|
}
|
|
13286
13286
|
if (Ge && (Gt = la(Gt)), !d1(Ae, tn, Gt)) {
|
|
13287
|
-
|
|
13287
|
+
vo(et, D);
|
|
13288
13288
|
continue;
|
|
13289
13289
|
}
|
|
13290
13290
|
Gt = X0(Ae, tn, lt, Gt), Gt !== cc && Q0(D, et, lt, Gt);
|
|
@@ -13346,7 +13346,7 @@ function bm() {
|
|
|
13346
13346
|
throw ur("dirty is not a string, aborting");
|
|
13347
13347
|
if (!e.isSupported)
|
|
13348
13348
|
return ue;
|
|
13349
|
-
sn ? (Pe = Mn, Z = Wn) :
|
|
13349
|
+
sn ? (Pe = Mn, Z = Wn) : Bo(D), (he.uponSanitizeElement.length > 0 || he.uponSanitizeAttribute.length > 0) && (Pe = zt(Pe)), he.uponSanitizeAttribute.length > 0 && (Z = zt(Z)), e.removed = [];
|
|
13350
13350
|
const Ie = Ht && typeof ue != "string" && Ki(ue);
|
|
13351
13351
|
if (Ie) {
|
|
13352
13352
|
K0(ue);
|
|
@@ -13388,7 +13388,7 @@ function bm() {
|
|
|
13388
13388
|
en.element && Zi(en.element);
|
|
13389
13389
|
}), Ge && ac(ue), ue;
|
|
13390
13390
|
if (Kn) {
|
|
13391
|
-
if (Ge && ac(q),
|
|
13391
|
+
if (Ge && ac(q), No)
|
|
13392
13392
|
for (Ae = Y.call(q.ownerDocument); q.firstChild; )
|
|
13393
13393
|
Ae.appendChild(q.firstChild);
|
|
13394
13394
|
else
|
|
@@ -13400,11 +13400,11 @@ function bm() {
|
|
|
13400
13400
|
` + lt), Ge && (lt = la(lt)), $ && F ? V(lt) : lt;
|
|
13401
13401
|
}, e.setConfig = function() {
|
|
13402
13402
|
let ue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
13403
|
-
|
|
13403
|
+
Bo(ue), sn = !0, Mn = Pe, Wn = Z;
|
|
13404
13404
|
}, e.clearConfig = function() {
|
|
13405
13405
|
Ln = null, sn = !1, Mn = null, Wn = null, $ = A, T = "";
|
|
13406
13406
|
}, e.isValidAttribute = function(ue, D, q) {
|
|
13407
|
-
Ln ||
|
|
13407
|
+
Ln || Bo({});
|
|
13408
13408
|
const oe = Qe(ue), ke = Qe(D);
|
|
13409
13409
|
return d1(oe, ke, q);
|
|
13410
13410
|
}, e.addHook = function(ue, D) {
|
|
@@ -13532,7 +13532,7 @@ function kce(t, e, n) {
|
|
|
13532
13532
|
if (o.is(n) && t.format !== o.getFormat())
|
|
13533
13533
|
return !1;
|
|
13534
13534
|
}
|
|
13535
|
-
return
|
|
13535
|
+
return Io(e) && n.isAttached();
|
|
13536
13536
|
}
|
|
13537
13537
|
function wce(t, e, n, o) {
|
|
13538
13538
|
for (let r = t; r && !Aue(r); r = ea(r)) {
|
|
@@ -13563,7 +13563,7 @@ function Em(t, e, n) {
|
|
|
13563
13563
|
continue;
|
|
13564
13564
|
const [v, m] = g;
|
|
13565
13565
|
if (h === "characterData")
|
|
13566
|
-
o && se(m) &&
|
|
13566
|
+
o && se(m) && Io(_) && kce(r, _, m) && Cce(_, m, t);
|
|
13567
13567
|
else if (h === "childList") {
|
|
13568
13568
|
u = !0;
|
|
13569
13569
|
const y = p.addedNodes;
|
|
@@ -13830,7 +13830,7 @@ function jf(t) {
|
|
|
13830
13830
|
t.set(o.__key, r ? o.getChildrenSize() : 0, "element", !0);
|
|
13831
13831
|
}
|
|
13832
13832
|
}
|
|
13833
|
-
let Dr, Zt, Ts, Ul, uu, du, Mr, Fn, fu, $s, kt = "", Xn = null, Qn = "",
|
|
13833
|
+
let Dr, Zt, Ts, Ul, uu, du, Mr, Fn, fu, $s, kt = "", Xn = null, Qn = "", wo = "", ni = !1, Ya = !1;
|
|
13834
13834
|
function Ja(t, e) {
|
|
13835
13835
|
const n = Mr.get(t);
|
|
13836
13836
|
if (e !== null) {
|
|
@@ -13896,14 +13896,14 @@ function Xa(t, e) {
|
|
|
13896
13896
|
mu(Qa(n, Fn), n, 0, a, n.getDOMSlot(o));
|
|
13897
13897
|
}
|
|
13898
13898
|
const s = n.__format;
|
|
13899
|
-
s !== 0 && Nm(o, s), n.isInline() || Pm(null, n, o), Gl(n) && (kt += tr,
|
|
13899
|
+
s !== 0 && Nm(o, s), n.isInline() || Pm(null, n, o), Gl(n) && (kt += tr, wo += tr);
|
|
13900
13900
|
} else {
|
|
13901
13901
|
const r = n.getTextContent();
|
|
13902
13902
|
if (qe(n)) {
|
|
13903
13903
|
const i = n.decorate(Zt, Dr);
|
|
13904
13904
|
i !== null && Rm(t, i), o.contentEditable = "false";
|
|
13905
13905
|
}
|
|
13906
|
-
kt += r,
|
|
13906
|
+
kt += r, wo += r;
|
|
13907
13907
|
}
|
|
13908
13908
|
return e !== null && e.insertChild(o), Od($s, Ts, Ul, n, "created"), o;
|
|
13909
13909
|
}
|
|
@@ -14021,10 +14021,10 @@ function ls(t, e) {
|
|
|
14021
14021
|
if (n === o && !r) {
|
|
14022
14022
|
if (G(n)) {
|
|
14023
14023
|
const s = i.__lexicalTextContent;
|
|
14024
|
-
s !== void 0 && (kt += s,
|
|
14024
|
+
s !== void 0 && (kt += s, wo += s);
|
|
14025
14025
|
} else {
|
|
14026
14026
|
const s = n.getTextContent();
|
|
14027
|
-
|
|
14027
|
+
wo += s, kt += s;
|
|
14028
14028
|
}
|
|
14029
14029
|
return i;
|
|
14030
14030
|
}
|
|
@@ -14036,7 +14036,7 @@ function ls(t, e) {
|
|
|
14036
14036
|
const s = o.__indent;
|
|
14037
14037
|
(ni || s !== n.__indent) && Im(i, s);
|
|
14038
14038
|
const a = o.__format;
|
|
14039
|
-
if ((ni || a !== n.__format) && Nm(i, a), r && (Dce(n, o, i), yt(o) || o.isInline() || Pm(n, o, i)), Gl(o) && (kt += tr,
|
|
14039
|
+
if ((ni || a !== n.__format) && Nm(i, a), r && (Dce(n, o, i), yt(o) || o.isInline() || Pm(n, o, i)), Gl(o) && (kt += tr, wo += tr), (ni || o.__dir !== n.__dir) && (hu(i, o), yt(o) && !ni))
|
|
14040
14040
|
for (const l of o.getChildren())
|
|
14041
14041
|
G(l) && hu(Or(Zt, l.getKey()), l);
|
|
14042
14042
|
} else {
|
|
@@ -14045,11 +14045,11 @@ function ls(t, e) {
|
|
|
14045
14045
|
const a = o.decorate(Zt, Dr);
|
|
14046
14046
|
a !== null && Rm(t, a);
|
|
14047
14047
|
}
|
|
14048
|
-
kt += s,
|
|
14048
|
+
kt += s, wo += s;
|
|
14049
14049
|
}
|
|
14050
|
-
if (!Ya && yt(o) && o.__cachedText !==
|
|
14050
|
+
if (!Ya && yt(o) && o.__cachedText !== wo) {
|
|
14051
14051
|
const s = o.getWritable();
|
|
14052
|
-
s.__cachedText =
|
|
14052
|
+
s.__cachedText = wo, o = s;
|
|
14053
14053
|
}
|
|
14054
14054
|
return i;
|
|
14055
14055
|
}
|
|
@@ -14068,7 +14068,7 @@ function Pc(t) {
|
|
|
14068
14068
|
return e !== null && e === Zt._blockCursorElement && (e = e.nextSibling), e;
|
|
14069
14069
|
}
|
|
14070
14070
|
function Mce(t, e, n, o, r, i) {
|
|
14071
|
-
kt = "",
|
|
14071
|
+
kt = "", wo = "", ni = o === 2, Zt = n, Dr = n._config, Ts = n._nodes, Ul = Zt._listeners.mutation, uu = r, du = i, Mr = t._nodeMap, Fn = e._nodeMap, Ya = e._readOnly, fu = new Map(n._keyToDOMMap);
|
|
14072
14072
|
const s = /* @__PURE__ */ new Map();
|
|
14073
14073
|
return $s = s, ls("root", null), Zt = void 0, Ts = void 0, uu = void 0, du = void 0, Mr = void 0, Fn = void 0, Dr = void 0, fu = void 0, $s = void 0, s;
|
|
14074
14074
|
}
|
|
@@ -14079,7 +14079,7 @@ function gu(t) {
|
|
|
14079
14079
|
function Te(t) {
|
|
14080
14080
|
return { type: t };
|
|
14081
14081
|
}
|
|
14082
|
-
const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), Bm = Te("CLICK_COMMAND"), Cr = Te("DELETE_CHARACTER_COMMAND"), ui = Te("INSERT_LINE_BREAK_COMMAND"), Ds = Te("INSERT_PARAGRAPH_COMMAND"), di = Te("CONTROLLED_TEXT_INSERTION_COMMAND"), vd = Te("PASTE_COMMAND"), vu = Te("REMOVE_TEXT_COMMAND"), Ms = Te("DELETE_WORD_COMMAND"), Ls = Te("DELETE_LINE_COMMAND"), Sn = Te("FORMAT_TEXT_COMMAND"), yd = Te("UNDO_COMMAND"), _d = Te("REDO_COMMAND"), Oce = Te("KEYDOWN_COMMAND"), Um = Te("KEY_ARROW_RIGHT_COMMAND"), Ice = Te("MOVE_TO_END"), Hm = Te("KEY_ARROW_LEFT_COMMAND"), Nce = Te("MOVE_TO_START"), zm = Te("KEY_ARROW_UP_COMMAND"), jm = Te("KEY_ARROW_DOWN_COMMAND"), el = Te("KEY_ENTER_COMMAND"), qm = Te("KEY_SPACE_COMMAND"), Vm = Te("KEY_BACKSPACE_COMMAND"), Wm = Te("KEY_ESCAPE_COMMAND"), Zm = Te("KEY_DELETE_COMMAND"), Km = Te("KEY_TAB_COMMAND"), Pce = Te("INSERT_TAB_COMMAND"), Rce = Te("INDENT_CONTENT_COMMAND"), Vf = Te("OUTDENT_CONTENT_COMMAND"), Gm = Te("DROP_COMMAND"), Fce = Te("FORMAT_ELEMENT_COMMAND"), Ym = Te("DRAGSTART_COMMAND"), Jm = Te("DRAGOVER_COMMAND"), Bce = Te("DRAGEND_COMMAND"), Hl = Te("COPY_COMMAND"), bd = Te("CUT_COMMAND"), yu = Te("SELECT_ALL_COMMAND"), Uce = Te("CLEAR_EDITOR_COMMAND"), Hce = Te("CLEAR_HISTORY_COMMAND"), ba = Te("CAN_REDO_COMMAND"), Ca = Te("CAN_UNDO_COMMAND"), zce = Te("FOCUS_COMMAND"), jce = Te("BLUR_COMMAND"), qce = Te("KEY_MODIFIER_COMMAND"),
|
|
14082
|
+
const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), Bm = Te("CLICK_COMMAND"), Cr = Te("DELETE_CHARACTER_COMMAND"), ui = Te("INSERT_LINE_BREAK_COMMAND"), Ds = Te("INSERT_PARAGRAPH_COMMAND"), di = Te("CONTROLLED_TEXT_INSERTION_COMMAND"), vd = Te("PASTE_COMMAND"), vu = Te("REMOVE_TEXT_COMMAND"), Ms = Te("DELETE_WORD_COMMAND"), Ls = Te("DELETE_LINE_COMMAND"), Sn = Te("FORMAT_TEXT_COMMAND"), yd = Te("UNDO_COMMAND"), _d = Te("REDO_COMMAND"), Oce = Te("KEYDOWN_COMMAND"), Um = Te("KEY_ARROW_RIGHT_COMMAND"), Ice = Te("MOVE_TO_END"), Hm = Te("KEY_ARROW_LEFT_COMMAND"), Nce = Te("MOVE_TO_START"), zm = Te("KEY_ARROW_UP_COMMAND"), jm = Te("KEY_ARROW_DOWN_COMMAND"), el = Te("KEY_ENTER_COMMAND"), qm = Te("KEY_SPACE_COMMAND"), Vm = Te("KEY_BACKSPACE_COMMAND"), Wm = Te("KEY_ESCAPE_COMMAND"), Zm = Te("KEY_DELETE_COMMAND"), Km = Te("KEY_TAB_COMMAND"), Pce = Te("INSERT_TAB_COMMAND"), Rce = Te("INDENT_CONTENT_COMMAND"), Vf = Te("OUTDENT_CONTENT_COMMAND"), Gm = Te("DROP_COMMAND"), Fce = Te("FORMAT_ELEMENT_COMMAND"), Ym = Te("DRAGSTART_COMMAND"), Jm = Te("DRAGOVER_COMMAND"), Bce = Te("DRAGEND_COMMAND"), Hl = Te("COPY_COMMAND"), bd = Te("CUT_COMMAND"), yu = Te("SELECT_ALL_COMMAND"), Uce = Te("CLEAR_EDITOR_COMMAND"), Hce = Te("CLEAR_HISTORY_COMMAND"), ba = Te("CAN_REDO_COMMAND"), Ca = Te("CAN_UNDO_COMMAND"), zce = Te("FOCUS_COMMAND"), jce = Te("BLUR_COMMAND"), qce = Te("KEY_MODIFIER_COMMAND"), yo = Object.freeze({}), _u = [["keydown", function(t, e) {
|
|
14083
14083
|
if (ps = t.timeStamp, Xm = t.key, !e.isComposing() && !_e(e, Oce, t) && t.key != null) {
|
|
14084
14084
|
if (Rc && bp(t))
|
|
14085
14085
|
return pn(e, () => {
|
|
@@ -14090,7 +14090,7 @@ const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_
|
|
|
14090
14090
|
}(t))
|
|
14091
14091
|
_e(e, Um, t);
|
|
14092
14092
|
else if (function(n) {
|
|
14093
|
-
return Je(n, "ArrowRight",
|
|
14093
|
+
return Je(n, "ArrowRight", bo);
|
|
14094
14094
|
}(t))
|
|
14095
14095
|
_e(e, Ice, t);
|
|
14096
14096
|
else if (function(n) {
|
|
@@ -14098,7 +14098,7 @@ const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_
|
|
|
14098
14098
|
}(t))
|
|
14099
14099
|
_e(e, Hm, t);
|
|
14100
14100
|
else if (function(n) {
|
|
14101
|
-
return Je(n, "ArrowLeft",
|
|
14101
|
+
return Je(n, "ArrowLeft", bo);
|
|
14102
14102
|
}(t))
|
|
14103
14103
|
_e(e, Nce, t);
|
|
14104
14104
|
else if (function(n) {
|
|
@@ -14156,15 +14156,15 @@ const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_
|
|
|
14156
14156
|
}(t))
|
|
14157
14157
|
t.preventDefault(), _e(e, Ls, !1);
|
|
14158
14158
|
else if (function(n) {
|
|
14159
|
-
return Je(n, "b",
|
|
14159
|
+
return Je(n, "b", bo);
|
|
14160
14160
|
}(t))
|
|
14161
14161
|
t.preventDefault(), _e(e, Sn, "bold");
|
|
14162
14162
|
else if (function(n) {
|
|
14163
|
-
return Je(n, "u",
|
|
14163
|
+
return Je(n, "u", bo);
|
|
14164
14164
|
}(t))
|
|
14165
14165
|
t.preventDefault(), _e(e, Sn, "underline");
|
|
14166
14166
|
else if (function(n) {
|
|
14167
|
-
return Je(n, "i",
|
|
14167
|
+
return Je(n, "i", bo);
|
|
14168
14168
|
}(t))
|
|
14169
14169
|
t.preventDefault(), _e(e, Sn, "italic");
|
|
14170
14170
|
else if (function(n) {
|
|
@@ -14172,7 +14172,7 @@ const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_
|
|
|
14172
14172
|
}(t))
|
|
14173
14173
|
_e(e, Km, t);
|
|
14174
14174
|
else if (function(n) {
|
|
14175
|
-
return Je(n, "z",
|
|
14175
|
+
return Je(n, "z", bo);
|
|
14176
14176
|
}(t))
|
|
14177
14177
|
t.preventDefault(), _e(e, yd, void 0);
|
|
14178
14178
|
else if (function(n) {
|
|
@@ -14182,9 +14182,9 @@ const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_
|
|
|
14182
14182
|
else {
|
|
14183
14183
|
const n = e._editorState._selection;
|
|
14184
14184
|
n === null || ne(n) ? Cp(t) && (t.preventDefault(), _e(e, yu, t)) : function(o) {
|
|
14185
|
-
return Je(o, "c",
|
|
14185
|
+
return Je(o, "c", bo);
|
|
14186
14186
|
}(t) ? (t.preventDefault(), _e(e, Hl, t)) : function(o) {
|
|
14187
|
-
return Je(o, "x",
|
|
14187
|
+
return Je(o, "x", bo);
|
|
14188
14188
|
}(t) ? (t.preventDefault(), _e(e, bd, t)) : Cp(t) && (t.preventDefault(), _e(e, yu, t));
|
|
14189
14189
|
}
|
|
14190
14190
|
(function(n) {
|
|
@@ -14244,12 +14244,12 @@ const Fm = Te("SELECTION_CHANGE_COMMAND"), Lce = Te("SELECTION_INSERT_CLIPBOARD_
|
|
|
14244
14244
|
}
|
|
14245
14245
|
} else if (t.pointerType === "touch" || t.pointerType === "pen") {
|
|
14246
14246
|
const i = o.anchorNode;
|
|
14247
|
-
(bt(i) ||
|
|
14247
|
+
(bt(i) || Io(i)) && Lt(kd(r, o, e, t));
|
|
14248
14248
|
}
|
|
14249
14249
|
}
|
|
14250
14250
|
_e(e, Bm, t);
|
|
14251
14251
|
});
|
|
14252
|
-
}], ["cut",
|
|
14252
|
+
}], ["cut", yo], ["copy", yo], ["dragstart", yo], ["dragover", yo], ["dragend", yo], ["paste", yo], ["focus", yo], ["blur", yo], ["drop", yo]];
|
|
14253
14253
|
Ga && _u.push(["beforeinput", (t, e) => function(n, o) {
|
|
14254
14254
|
const r = n.inputType, i = og(n);
|
|
14255
14255
|
r === "deleteCompositionText" || $r && Lg(o) || r !== "insertCompositionText" && pn(o, () => {
|
|
@@ -14376,7 +14376,7 @@ const bu = /* @__PURE__ */ new WeakMap(), tl = /* @__PURE__ */ new WeakMap();
|
|
|
14376
14376
|
let Cu = !1, ku = !1, hs = !1, os = !1, Rc = !1, Fc = "", gr = null, eg = [0, "", 0, "root", 0];
|
|
14377
14377
|
function tg(t, e, n, o, r) {
|
|
14378
14378
|
const i = t.anchor, s = t.focus, a = i.getNode(), l = ct(), u = Hn(Dn(l)), c = u !== null ? u.anchorNode : null, d = i.key, f = l.getElementByKey(d), p = n.length;
|
|
14379
|
-
return d !== s.key || !se(a) || (!r && (!Ga || Qm < o + 50) || a.isDirty() && p < 2 || $g(n)) && i.offset !== s.offset && !a.isComposing() ||
|
|
14379
|
+
return d !== s.key || !se(a) || (!r && (!Ga || Qm < o + 50) || a.isDirty() && p < 2 || $g(n)) && i.offset !== s.offset && !a.isComposing() || Co(a) || a.isDirty() && p > 1 || (r || !Ga) && f !== null && !a.isComposing() && c !== xi(f) || u !== null && e !== null && (!e.collapsed || e.startContainer !== u.anchorNode || e.startOffset !== u.anchorOffset) || a.getFormat() !== t.format || a.getStyle() !== t.style || function(h, _) {
|
|
14380
14380
|
if (_.isSegmented())
|
|
14381
14381
|
return !0;
|
|
14382
14382
|
if (!h.isCollapsed())
|
|
@@ -14389,7 +14389,7 @@ function tg(t, e, n, o, r) {
|
|
|
14389
14389
|
}(t, a);
|
|
14390
14390
|
}
|
|
14391
14391
|
function Wf(t, e) {
|
|
14392
|
-
return
|
|
14392
|
+
return Io(t) && t.nodeValue !== null && e !== 0 && e !== t.nodeValue.length;
|
|
14393
14393
|
}
|
|
14394
14394
|
function Zf(t, e, n) {
|
|
14395
14395
|
const { anchorNode: o, anchorOffset: r, focusNode: i, focusOffset: s } = t;
|
|
@@ -14478,7 +14478,7 @@ function ig(t) {
|
|
|
14478
14478
|
return;
|
|
14479
14479
|
ku && (ku = !1, pn(n, () => {
|
|
14480
14480
|
const l = Ii(), u = e.anchorNode;
|
|
14481
|
-
(bt(u) ||
|
|
14481
|
+
(bt(u) || Io(u)) && Lt(kd(l, e, n, t));
|
|
14482
14482
|
}));
|
|
14483
14483
|
const o = Dd(n), r = o[o.length - 1], i = r._key, s = fi.get(i), a = s || r;
|
|
14484
14484
|
a !== n && Zf(e, a, !1), Zf(e, n, !0), n !== r ? fi.set(i, n) : s && fi.delete(i);
|
|
@@ -14797,7 +14797,7 @@ class Bn {
|
|
|
14797
14797
|
const _ = o.anchor, g = o.focus;
|
|
14798
14798
|
_.key === i && ep(_, a), g.key === i && ep(g, a);
|
|
14799
14799
|
}
|
|
14800
|
-
return
|
|
14800
|
+
return Zo() === i && It(s), a;
|
|
14801
14801
|
}
|
|
14802
14802
|
insertAfter(e, n = !0) {
|
|
14803
14803
|
Et(), qc(this, e);
|
|
@@ -14937,7 +14937,7 @@ function io(t) {
|
|
|
14937
14937
|
return t instanceof Zs;
|
|
14938
14938
|
}
|
|
14939
14939
|
function wa(t) {
|
|
14940
|
-
return
|
|
14940
|
+
return Io(t) && /^( |\t|\r?\n)+$/.test(t.textContent || "");
|
|
14941
14941
|
}
|
|
14942
14942
|
function Bc(t, e) {
|
|
14943
14943
|
return 16 & e ? "code" : e & xm ? "mark" : 32 & e ? "sub" : 64 & e ? "sup" : null;
|
|
@@ -14996,7 +14996,7 @@ function Sa(t, e) {
|
|
|
14996
14996
|
const n = document.createElement(e);
|
|
14997
14997
|
return n.appendChild(t), n;
|
|
14998
14998
|
}
|
|
14999
|
-
class
|
|
14999
|
+
class Oo extends Bn {
|
|
15000
15000
|
constructor(n = "", o) {
|
|
15001
15001
|
super(o);
|
|
15002
15002
|
Q(this, "__text");
|
|
@@ -15010,7 +15010,7 @@ class Lo extends Bn {
|
|
|
15010
15010
|
return "text";
|
|
15011
15011
|
}
|
|
15012
15012
|
static clone(n) {
|
|
15013
|
-
return new
|
|
15013
|
+
return new Oo(n.__text, n.__key);
|
|
15014
15014
|
}
|
|
15015
15015
|
afterCloneFrom(n) {
|
|
15016
15016
|
super.afterCloneFrom(n), this.__text = n.__text, this.__format = n.__format, this.__style = n.__style, this.__mode = n.__mode, this.__detail = n.__detail;
|
|
@@ -15032,7 +15032,7 @@ class Lo extends Bn {
|
|
|
15032
15032
|
return this.getLatest().__mode === 1;
|
|
15033
15033
|
}
|
|
15034
15034
|
isComposing() {
|
|
15035
|
-
return this.__key ===
|
|
15035
|
+
return this.__key === Zo();
|
|
15036
15036
|
}
|
|
15037
15037
|
isSegmented() {
|
|
15038
15038
|
return this.getLatest().__mode === 2;
|
|
@@ -15087,7 +15087,7 @@ class Lo extends Bn {
|
|
|
15087
15087
|
return h !== _ && (o.style.cssText = _), !1;
|
|
15088
15088
|
}
|
|
15089
15089
|
static importDOM() {
|
|
15090
|
-
return { "#text": () => ({ conversion: tue, priority: 0 }), b: () => ({ conversion: Qce, priority: 0 }), code: () => ({ conversion:
|
|
15090
|
+
return { "#text": () => ({ conversion: tue, priority: 0 }), b: () => ({ conversion: Qce, priority: 0 }), code: () => ({ conversion: _o, priority: 0 }), em: () => ({ conversion: _o, priority: 0 }), i: () => ({ conversion: _o, priority: 0 }), mark: () => ({ conversion: _o, priority: 0 }), s: () => ({ conversion: _o, priority: 0 }), span: () => ({ conversion: Xce, priority: 0 }), strong: () => ({ conversion: _o, priority: 0 }), sub: () => ({ conversion: _o, priority: 0 }), sup: () => ({ conversion: _o, priority: 0 }), u: () => ({ conversion: _o, priority: 0 }) };
|
|
15091
15091
|
}
|
|
15092
15092
|
static importJSON(n) {
|
|
15093
15093
|
return rt().updateFromJSON(n);
|
|
@@ -15153,7 +15153,7 @@ class Lo extends Bn {
|
|
|
15153
15153
|
if (!ne(s))
|
|
15154
15154
|
return fg(l, r, l, i, "text", "text");
|
|
15155
15155
|
{
|
|
15156
|
-
const u =
|
|
15156
|
+
const u = Zo();
|
|
15157
15157
|
u !== s.anchor.key && u !== s.focus.key || It(l), s.setTextNodeRange(this, r, this, i);
|
|
15158
15158
|
}
|
|
15159
15159
|
return s;
|
|
@@ -15188,7 +15188,7 @@ class Lo extends Bn {
|
|
|
15188
15188
|
const o = this.getLatest(), r = o.getTextContent();
|
|
15189
15189
|
if (r === "")
|
|
15190
15190
|
return [];
|
|
15191
|
-
const i = o.__key, s =
|
|
15191
|
+
const i = o.__key, s = Zo(), a = r.length;
|
|
15192
15192
|
n.sort((A, M) => A - M), n.push(a);
|
|
15193
15193
|
const l = [], u = n.length;
|
|
15194
15194
|
for (let A = 0, M = 0; A < a && M <= u; M++) {
|
|
@@ -15241,7 +15241,7 @@ class Lo extends Bn {
|
|
|
15241
15241
|
const o = n === this.getPreviousSibling();
|
|
15242
15242
|
o || n === this.getNextSibling() || re(50);
|
|
15243
15243
|
const r = this.__key, i = n.__key, s = this.__text, a = s.length;
|
|
15244
|
-
|
|
15244
|
+
Zo() === i && It(r);
|
|
15245
15245
|
const l = de();
|
|
15246
15246
|
if (ne(l)) {
|
|
15247
15247
|
const f = l.anchor, p = l.focus;
|
|
@@ -15337,28 +15337,28 @@ function Qf(t, e) {
|
|
|
15337
15337
|
let r = n;
|
|
15338
15338
|
for (; (r = e ? n.firstChild : n.lastChild) !== null; )
|
|
15339
15339
|
n = r;
|
|
15340
|
-
if (
|
|
15340
|
+
if (Io(n))
|
|
15341
15341
|
return n;
|
|
15342
15342
|
if (n.nodeName === "BR")
|
|
15343
15343
|
return null;
|
|
15344
15344
|
}
|
|
15345
15345
|
}
|
|
15346
15346
|
const nue = { code: "code", em: "italic", i: "italic", mark: "highlight", s: "strikethrough", strong: "bold", sub: "subscript", sup: "superscript", u: "underline" };
|
|
15347
|
-
function
|
|
15347
|
+
function _o(t) {
|
|
15348
15348
|
const e = nue[t.nodeName.toLowerCase()];
|
|
15349
15349
|
return e === void 0 ? { node: null } : { forChild: Cd(t.style, e), node: null };
|
|
15350
15350
|
}
|
|
15351
15351
|
function rt(t = "") {
|
|
15352
|
-
return Vn(new
|
|
15352
|
+
return Vn(new Oo(t));
|
|
15353
15353
|
}
|
|
15354
15354
|
function se(t) {
|
|
15355
|
-
return t instanceof
|
|
15355
|
+
return t instanceof Oo;
|
|
15356
15356
|
}
|
|
15357
15357
|
function Cd(t, e) {
|
|
15358
15358
|
const n = t.fontWeight, o = t.textDecoration.split(" "), r = n === "700" || n === "bold", i = o.includes("line-through"), s = t.fontStyle === "italic", a = o.includes("underline"), l = t.verticalAlign;
|
|
15359
15359
|
return (u) => (se(u) && (r && !u.hasFormat("bold") && u.toggleFormat("bold"), i && !u.hasFormat("strikethrough") && u.toggleFormat("strikethrough"), s && !u.hasFormat("italic") && u.toggleFormat("italic"), a && !u.hasFormat("underline") && u.toggleFormat("underline"), l !== "sub" || u.hasFormat("subscript") || u.toggleFormat("subscript"), l !== "super" || u.hasFormat("superscript") || u.toggleFormat("superscript"), e && !u.hasFormat(e) && u.toggleFormat(e)), u);
|
|
15360
15360
|
}
|
|
15361
|
-
class Ks extends
|
|
15361
|
+
class Ks extends Oo {
|
|
15362
15362
|
static getType() {
|
|
15363
15363
|
return "tab";
|
|
15364
15364
|
}
|
|
@@ -15415,7 +15415,7 @@ class oue {
|
|
|
15415
15415
|
return this.key === e.key && this.offset === e.offset && this.type === e.type;
|
|
15416
15416
|
}
|
|
15417
15417
|
isBefore(e) {
|
|
15418
|
-
return this.key === e.key ? this.offset < e.offset : Rg(xn(
|
|
15418
|
+
return this.key === e.key ? this.offset < e.offset : Rg(xn(Do(this, "next")), xn(Do(e, "next"))) < 0;
|
|
15419
15419
|
}
|
|
15420
15420
|
getNode() {
|
|
15421
15421
|
const e = wt(this.key);
|
|
@@ -15423,10 +15423,10 @@ class oue {
|
|
|
15423
15423
|
}
|
|
15424
15424
|
set(e, n, o, r) {
|
|
15425
15425
|
const i = this._selection, s = this.key;
|
|
15426
|
-
r && this.key === e && this.offset === n && this.type === o || (this.key = e, this.offset = n, this.type = o, Gs() || (
|
|
15426
|
+
r && this.key === e && this.offset === n && this.type === o || (this.key = e, this.offset = n, this.type = o, Gs() || (Zo() === s && It(e), i !== null && (i.setCachedNodes(null), i.dirty = !0)));
|
|
15427
15427
|
}
|
|
15428
15428
|
}
|
|
15429
|
-
function
|
|
15429
|
+
function fo(t, e, n) {
|
|
15430
15430
|
return new oue(t, e, n);
|
|
15431
15431
|
}
|
|
15432
15432
|
function Hc(t, e) {
|
|
@@ -15595,7 +15595,7 @@ class Hr {
|
|
|
15595
15595
|
r.pop();
|
|
15596
15596
|
}
|
|
15597
15597
|
if (r.length === 0 && o.isCollapsed()) {
|
|
15598
|
-
const u = xn(o.anchor), c = xn(o.anchor.getFlipped()), d = (p) =>
|
|
15598
|
+
const u = xn(o.anchor), c = xn(o.anchor.getFlipped()), d = (p) => Yo(p) ? p.origin : p.getNodeAtCaret(), f = d(u) || d(c) || (o.anchor.getNodeAtCaret() ? u.origin : c.origin);
|
|
15599
15599
|
r.push(f);
|
|
15600
15600
|
}
|
|
15601
15601
|
return r;
|
|
@@ -15633,7 +15633,7 @@ class Hr {
|
|
|
15633
15633
|
}
|
|
15634
15634
|
clone() {
|
|
15635
15635
|
const e = this.anchor, n = this.focus;
|
|
15636
|
-
return new Hr(
|
|
15636
|
+
return new Hr(fo(e.key, e.offset, e.type), fo(n.key, n.offset, n.type), this.format, this.style);
|
|
15637
15637
|
}
|
|
15638
15638
|
toggleFormat(e) {
|
|
15639
15639
|
this.format = sl(this.format, e, null), this.dirty = !0;
|
|
@@ -15670,7 +15670,7 @@ class Hr {
|
|
|
15670
15670
|
S === null ? C.append($) : S.insertBefore($);
|
|
15671
15671
|
}
|
|
15672
15672
|
g.is(v) && v.set(w.__key, 0, "text"), g.set(w.__key, 0, "text");
|
|
15673
|
-
}(s, a, r, i), a.type === "element" && Rr(a, xn(
|
|
15673
|
+
}(s, a, r, i), a.type === "element" && Rr(a, xn(Do(a, "next")));
|
|
15674
15674
|
const l = s.offset;
|
|
15675
15675
|
let u = a.offset;
|
|
15676
15676
|
const c = this.getNodes(), d = c.length;
|
|
@@ -15678,13 +15678,13 @@ class Hr {
|
|
|
15678
15678
|
se(f) || re(26);
|
|
15679
15679
|
const p = f.getTextContent().length, h = f.getParentOrThrow();
|
|
15680
15680
|
let _ = c[d - 1];
|
|
15681
|
-
if (d === 1 && a.type === "element" && (u = p, a.set(s.key, u, "text")), this.isCollapsed() && l === p && (
|
|
15681
|
+
if (d === 1 && a.type === "element" && (u = p, a.set(s.key, u, "text")), this.isCollapsed() && l === p && (Co(f) || !f.canInsertTextAfter() || !h.canInsertTextAfter() && f.getNextSibling() === null)) {
|
|
15682
15682
|
let g = f.getNextSibling();
|
|
15683
|
-
if (se(g) && g.canInsertTextBefore() && !
|
|
15683
|
+
if (se(g) && g.canInsertTextBefore() && !Co(g) || (g = rt(), g.setFormat(r), g.setStyle(i), h.canInsertTextAfter() ? f.insertAfter(g) : h.insertAfter(g)), g.select(0, 0), f = g, e !== "")
|
|
15684
15684
|
return void this.insertText(e);
|
|
15685
|
-
} else if (this.isCollapsed() && l === 0 && (
|
|
15685
|
+
} else if (this.isCollapsed() && l === 0 && (Co(f) || !f.canInsertTextBefore() || !h.canInsertTextBefore() && f.getPreviousSibling() === null)) {
|
|
15686
15686
|
let g = f.getPreviousSibling();
|
|
15687
|
-
if (se(g) && !
|
|
15687
|
+
if (se(g) && !Co(g) || (g = rt(), g.setFormat(r), h.canInsertTextBefore() ? f.insertBefore(g) : h.insertBefore(g)), g.select(), f = g, e !== "")
|
|
15688
15688
|
return void this.insertText(e);
|
|
15689
15689
|
} else if (f.isSegmented() && l !== p) {
|
|
15690
15690
|
const g = rt(f.getTextContent());
|
|
@@ -15801,7 +15801,7 @@ class Hr {
|
|
|
15801
15801
|
if (p.is(v)) {
|
|
15802
15802
|
if (h === m)
|
|
15803
15803
|
return;
|
|
15804
|
-
if (
|
|
15804
|
+
if (Co(p) || h === 0 && m === p.getTextContentSize())
|
|
15805
15805
|
p.setFormat(_);
|
|
15806
15806
|
else {
|
|
15807
15807
|
const C = p.splitText(h, m), S = h === 0 ? C[0] : C[1];
|
|
@@ -15809,9 +15809,9 @@ class Hr {
|
|
|
15809
15809
|
}
|
|
15810
15810
|
return void (this.format = _);
|
|
15811
15811
|
}
|
|
15812
|
-
h === 0 ||
|
|
15812
|
+
h === 0 || Co(p) || ([, p] = p.splitText(h), h = 0), p.setFormat(_);
|
|
15813
15813
|
const y = v.getFormatFlags(e, _);
|
|
15814
|
-
m > 0 && (m === v.getTextContentSize() ||
|
|
15814
|
+
m > 0 && (m === v.getTextContentSize() || Co(v) || ([v] = v.splitText(m)), v.setFormat(y));
|
|
15815
15815
|
for (let C = f + 1; C < g; C++) {
|
|
15816
15816
|
const S = r[C], w = S.getFormatFlags(e, y);
|
|
15817
15817
|
S.setFormat(w);
|
|
@@ -15961,7 +15961,7 @@ class Hr {
|
|
|
15961
15961
|
let r = o.getNode();
|
|
15962
15962
|
if (this.forwardDeletion(o, r, e))
|
|
15963
15963
|
return;
|
|
15964
|
-
const i = Ud(
|
|
15964
|
+
const i = Ud(Do(o, e ? "previous" : "next"));
|
|
15965
15965
|
if (i.getTextSlices().every((a) => a === null || a.distance === 0)) {
|
|
15966
15966
|
let a = { type: "initial" };
|
|
15967
15967
|
for (const l of i.iterNodeCarets("shadowRoot"))
|
|
@@ -16124,7 +16124,7 @@ function rp(t, e, n, o) {
|
|
|
16124
16124
|
t === f && e > Array.prototype.indexOf.call(f.children, u) && i--;
|
|
16125
16125
|
}
|
|
16126
16126
|
if (r = ii(c), se(r))
|
|
16127
|
-
i =
|
|
16127
|
+
i = Jo(r, s ? "next" : "previous");
|
|
16128
16128
|
else {
|
|
16129
16129
|
let f = ii(t);
|
|
16130
16130
|
if (f === null)
|
|
@@ -16140,17 +16140,17 @@ function rp(t, e, n, o) {
|
|
|
16140
16140
|
const g = s ? _.getLastDescendant() : _.getFirstDescendant();
|
|
16141
16141
|
g === null ? f = _ : (_ = g, f = G(_) ? _ : _.getParentOrThrow()), i = 0;
|
|
16142
16142
|
}
|
|
16143
|
-
se(_) ? (r = _, f = null, i =
|
|
16143
|
+
se(_) ? (r = _, f = null, i = Jo(_, s ? "next" : "previous")) : _ !== f && s && !d && (G(f) || re(216), i = Math.min(f.getChildrenSize(), i + 1));
|
|
16144
16144
|
} else {
|
|
16145
16145
|
const p = f.getIndexWithinParent();
|
|
16146
16146
|
i = e === 0 && qe(f) && ii(t) === f ? p : p + 1, f = f.getParentOrThrow();
|
|
16147
16147
|
}
|
|
16148
16148
|
if (G(f))
|
|
16149
|
-
return
|
|
16149
|
+
return fo(f.__key, i, "element");
|
|
16150
16150
|
}
|
|
16151
16151
|
} else
|
|
16152
16152
|
r = ii(t);
|
|
16153
|
-
return se(r) ?
|
|
16153
|
+
return se(r) ? fo(r.__key, Jo(r, i, "clamp"), "text") : null;
|
|
16154
16154
|
}
|
|
16155
16155
|
function ip(t, e, n) {
|
|
16156
16156
|
const o = t.offset, r = t.getNode();
|
|
@@ -16204,11 +16204,11 @@ function xu(t) {
|
|
|
16204
16204
|
return G(t) && !t.isInline();
|
|
16205
16205
|
}
|
|
16206
16206
|
function fg(t, e, n, o, r, i) {
|
|
16207
|
-
const s = ir(), a = new Hr(
|
|
16207
|
+
const s = ir(), a = new Hr(fo(t, e, r), fo(n, o, i), 0, "");
|
|
16208
16208
|
return a.dirty = !0, s._selection = a, a;
|
|
16209
16209
|
}
|
|
16210
16210
|
function ql() {
|
|
16211
|
-
const t =
|
|
16211
|
+
const t = fo("root", 0, "element"), e = fo("root", 0, "element");
|
|
16212
16212
|
return new Hr(t, e, 0, "");
|
|
16213
16213
|
}
|
|
16214
16214
|
function pg() {
|
|
@@ -16395,7 +16395,7 @@ function aue(t, e) {
|
|
|
16395
16395
|
return [n, t.getIndexWithinParent()];
|
|
16396
16396
|
const o = t.getChildAtIndex(e);
|
|
16397
16397
|
if (o) {
|
|
16398
|
-
const r = new Hr(
|
|
16398
|
+
const r = new Hr(fo(t.__key, e, "element"), fo(t.__key, e, "element"), 0, ""), i = t.insertNewAfter(r);
|
|
16399
16399
|
i && i.append(o, ...o.getNextSiblings());
|
|
16400
16400
|
}
|
|
16401
16401
|
return [n, t.getIndexWithinParent() + 1];
|
|
@@ -16405,7 +16405,7 @@ function lp(t, e, n, o, r = "decorators-and-blocks") {
|
|
|
16405
16405
|
const [c, d] = n === t.isBackward() ? [t.focus, t.anchor] : [t.anchor, t.focus];
|
|
16406
16406
|
return d.set(c.key, c.offset, c.type), !0;
|
|
16407
16407
|
}
|
|
16408
|
-
const i =
|
|
16408
|
+
const i = Do(t.focus, n ? "previous" : "next"), s = o === "lineboundary", a = e === "move";
|
|
16409
16409
|
let l = i, u = r === "decorators-and-blocks";
|
|
16410
16410
|
if (!Bg(l)) {
|
|
16411
16411
|
for (const c of l) {
|
|
@@ -16515,7 +16515,7 @@ function fp(t, e, n) {
|
|
|
16515
16515
|
$t = o, on = r, Dt = i;
|
|
16516
16516
|
}
|
|
16517
16517
|
}
|
|
16518
|
-
function
|
|
16518
|
+
function So(t, e) {
|
|
16519
16519
|
const n = t._pendingEditorState, o = t._rootElement, r = t._headless || o === null;
|
|
16520
16520
|
if (n === null)
|
|
16521
16521
|
return;
|
|
@@ -16529,7 +16529,7 @@ function wo(t, e) {
|
|
|
16529
16529
|
} catch (w) {
|
|
16530
16530
|
if (w instanceof Error && t._onError(w), jc)
|
|
16531
16531
|
throw w;
|
|
16532
|
-
return Cg(t, null, o, n), $m(t), t._dirtyType = 2, jc = !0,
|
|
16532
|
+
return Cg(t, null, o, n), $m(t), t._dirtyType = 2, jc = !0, So(t, i), void (jc = !1);
|
|
16533
16533
|
} finally {
|
|
16534
16534
|
p.observe(o, cp), t._updating = f, $t = u, on = c, Dt = d;
|
|
16535
16535
|
}
|
|
@@ -16683,7 +16683,7 @@ function Vl(t, e, n) {
|
|
|
16683
16683
|
se($) && $.isAttached() && $.isSimpleText() && !$.isUnmergeable() && zf($);
|
|
16684
16684
|
}
|
|
16685
16685
|
}(l, t) : function(m, y) {
|
|
16686
|
-
const C = y._dirtyLeaves, S = y._dirtyElements, w = m._nodeMap, $ =
|
|
16686
|
+
const C = y._dirtyLeaves, S = y._dirtyElements, w = m._nodeMap, $ = Zo(), T = /* @__PURE__ */ new Map();
|
|
16687
16687
|
let A = C, M = A.size, j = S, R = j.size;
|
|
16688
16688
|
for (; M > 0 || R > 0; ) {
|
|
16689
16689
|
if (M > 0) {
|
|
@@ -16728,7 +16728,7 @@ function Vl(t, e, n) {
|
|
|
16728
16728
|
} else
|
|
16729
16729
|
jt(v) && v._nodes.size === 0 && (l._selection = null);
|
|
16730
16730
|
} catch (g) {
|
|
16731
|
-
return g instanceof Error && t._onError(g), t._pendingEditorState = a, t._dirtyType = 2, t._cloneNotNeeded.clear(), t._dirtyLeaves = /* @__PURE__ */ new Set(), t._dirtyElements.clear(), void
|
|
16731
|
+
return g instanceof Error && t._onError(g), t._pendingEditorState = a, t._dirtyType = 2, t._cloneNotNeeded.clear(), t._dirtyLeaves = /* @__PURE__ */ new Set(), t._dirtyElements.clear(), void So(t);
|
|
16732
16732
|
} finally {
|
|
16733
16733
|
$t = c, on = d, Dt = f, t._updating = p, Oa = 0;
|
|
16734
16734
|
}
|
|
@@ -16740,8 +16740,8 @@ function Vl(t, e, n) {
|
|
|
16740
16740
|
} else if (m !== null)
|
|
16741
16741
|
return !0;
|
|
16742
16742
|
return !1;
|
|
16743
|
-
}(l, t) ? l._flushSync ? (l._flushSync = !1,
|
|
16744
|
-
|
|
16743
|
+
}(l, t) ? l._flushSync ? (l._flushSync = !1, So(t)) : u && mue(() => {
|
|
16744
|
+
So(t);
|
|
16745
16745
|
}) : (l._flushSync = !1, u && (o.clear(), t._deferred = [], t._pendingEditorState = null));
|
|
16746
16746
|
}
|
|
16747
16747
|
function pn(t, e, n) {
|
|
@@ -17417,7 +17417,7 @@ function fue(t) {
|
|
|
17417
17417
|
return e;
|
|
17418
17418
|
}
|
|
17419
17419
|
function pue(t) {
|
|
17420
|
-
const e = t || {}, n = lue(), o = e.theme || {}, r = t === void 0 ? n : e.parentEditor || null, i = e.disableEvents || !1, s = Sd(), a = e.namespace || (r !== null ? r._config.namespace : Dg()), l = e.editorState, u = [Ys,
|
|
17420
|
+
const e = t || {}, n = lue(), o = e.theme || {}, r = t === void 0 ? n : e.parentEditor || null, i = e.disableEvents || !1, s = Sd(), a = e.namespace || (r !== null ? r._config.namespace : Dg()), l = e.editorState, u = [Ys, Oo, Zs, Ks, Js, xd, ...e.nodes || []], { onError: c, html: d } = e, f = e.editable === void 0 || e.editable;
|
|
17421
17421
|
let p;
|
|
17422
17422
|
if (t === void 0 && n !== null)
|
|
17423
17423
|
p = n._nodes;
|
|
@@ -17608,7 +17608,7 @@ class Lr {
|
|
|
17608
17608
|
const o = pi(this._config.theme, "root"), r = this._pendingEditorState || this._editorState;
|
|
17609
17609
|
if (this._rootElement = e, Cg(this, n, e, r), n !== null && (this._config.disableEvents || Vce(n), o != null && n.classList.remove(...o)), e !== null) {
|
|
17610
17610
|
const i = Id(e), s = e.style;
|
|
17611
|
-
s.userSelect = "text", s.whiteSpace = "pre-wrap", s.wordBreak = "break-word", e.setAttribute("data-lexical-editor", "true"), this._window = i, this._dirtyType = 2, $m(this), this._updateTags.add(ms),
|
|
17611
|
+
s.userSelect = "text", s.whiteSpace = "pre-wrap", s.wordBreak = "break-word", e.setAttribute("data-lexical-editor", "true"), this._window = i, this._dirtyType = 2, $m(this), this._updateTags.add(ms), So(this), this._config.disableEvents || function(a, l) {
|
|
17612
17612
|
const u = a.ownerDocument;
|
|
17613
17613
|
bu.set(a, u);
|
|
17614
17614
|
const c = tl.get(u) ?? 0;
|
|
@@ -17649,7 +17649,7 @@ class Lr {
|
|
|
17649
17649
|
}
|
|
17650
17650
|
}(e, this), o != null && e.classList.add(...o);
|
|
17651
17651
|
} else
|
|
17652
|
-
this._window = null, this._updateTags.add(ms),
|
|
17652
|
+
this._window = null, this._updateTags.add(ms), So(this);
|
|
17653
17653
|
gs("root", this, !1, e, n);
|
|
17654
17654
|
}
|
|
17655
17655
|
}
|
|
@@ -17664,7 +17664,7 @@ class Lr {
|
|
|
17664
17664
|
let o = e;
|
|
17665
17665
|
o._readOnly && (o = _g(e), o._selection = e._selection ? e._selection.clone() : null), Tm(this);
|
|
17666
17666
|
const r = this._pendingEditorState, i = this._updateTags, s = n !== void 0 ? n.tag : null;
|
|
17667
|
-
r === null || r.isEmpty() || (s != null && i.add(s),
|
|
17667
|
+
r === null || r.isEmpty() || (s != null && i.add(s), So(this)), this._pendingEditorState = o, this._dirtyType = 2, this._dirtyElements.set("root", !1), this._compositionKey = null, s != null && i.add(s), this._updating || So(this);
|
|
17668
17668
|
}
|
|
17669
17669
|
parseEditorState(e, n) {
|
|
17670
17670
|
return function(o, r, i) {
|
|
@@ -17682,7 +17682,7 @@ class Lr {
|
|
|
17682
17682
|
}(typeof e == "string" ? JSON.parse(e) : e, this, n);
|
|
17683
17683
|
}
|
|
17684
17684
|
read(e) {
|
|
17685
|
-
return
|
|
17685
|
+
return So(this), this.getEditorState().read(e, { editor: this });
|
|
17686
17686
|
}
|
|
17687
17687
|
update(e, n) {
|
|
17688
17688
|
(function(o, r, i) {
|
|
@@ -17768,10 +17768,10 @@ function Zl(t) {
|
|
|
17768
17768
|
function kr(t) {
|
|
17769
17769
|
return zl(t) || t.isToken();
|
|
17770
17770
|
}
|
|
17771
|
-
function
|
|
17771
|
+
function Co(t) {
|
|
17772
17772
|
return kr(t) || t.isSegmented();
|
|
17773
17773
|
}
|
|
17774
|
-
function
|
|
17774
|
+
function Io(t) {
|
|
17775
17775
|
return Ni(t) && t.nodeType === 3;
|
|
17776
17776
|
}
|
|
17777
17777
|
function Sg(t) {
|
|
@@ -17780,7 +17780,7 @@ function Sg(t) {
|
|
|
17780
17780
|
function xi(t) {
|
|
17781
17781
|
let e = t;
|
|
17782
17782
|
for (; e != null; ) {
|
|
17783
|
-
if (
|
|
17783
|
+
if (Io(e))
|
|
17784
17784
|
return e;
|
|
17785
17785
|
e = e.firstChild;
|
|
17786
17786
|
}
|
|
@@ -17845,7 +17845,7 @@ function It(t) {
|
|
|
17845
17845
|
}
|
|
17846
17846
|
}
|
|
17847
17847
|
}
|
|
17848
|
-
function
|
|
17848
|
+
function Zo() {
|
|
17849
17849
|
return Gs() ? null : ct()._compositionKey;
|
|
17850
17850
|
}
|
|
17851
17851
|
function wt(t, e) {
|
|
@@ -17914,7 +17914,7 @@ function Dg() {
|
|
|
17914
17914
|
return Math.random().toString(36).replace(/[^a-z]+/g, "").substring(0, 5);
|
|
17915
17915
|
}
|
|
17916
17916
|
function Mg(t) {
|
|
17917
|
-
return
|
|
17917
|
+
return Io(t) ? t.nodeValue : null;
|
|
17918
17918
|
}
|
|
17919
17919
|
function Md(t, e, n) {
|
|
17920
17920
|
const o = Hn(Dn(e));
|
|
@@ -17955,7 +17955,7 @@ function Ld(t, e, n, o, r) {
|
|
|
17955
17955
|
}
|
|
17956
17956
|
return;
|
|
17957
17957
|
}
|
|
17958
|
-
const u = i.getParent(), c = Ii(), d = i.getTextContentSize(), f =
|
|
17958
|
+
const u = i.getParent(), c = Ii(), d = i.getTextContentSize(), f = Zo(), p = i.getKey();
|
|
17959
17959
|
if (i.isToken() || f !== null && p === f && !s || ne(c) && (u !== null && !u.canInsertTextBefore() && c.anchor.offset === 0 || c.anchor.key === t.__key && c.anchor.offset === 0 && !i.canInsertTextBefore() && !s || c.focus.key === t.__key && c.focus.offset === d && !i.canInsertTextAfter() && !s))
|
|
17960
17960
|
return void i.markDirty();
|
|
17961
17961
|
const h = de();
|
|
@@ -17974,7 +17974,7 @@ function yp(t, e, n) {
|
|
|
17974
17974
|
const o = t.getKey();
|
|
17975
17975
|
for (const r of ["anchor", "focus"]) {
|
|
17976
17976
|
const i = n[r];
|
|
17977
|
-
i.type === "text" && i.key === o && (i.offset =
|
|
17977
|
+
i.type === "text" && i.key === o && (i.offset = Jo(t, i.offset, "clamp"));
|
|
17978
17978
|
}
|
|
17979
17979
|
}
|
|
17980
17980
|
}
|
|
@@ -17988,12 +17988,12 @@ function vue(t, e) {
|
|
|
17988
17988
|
function Je(t, e, n) {
|
|
17989
17989
|
return vue(t, n) && t.key.toLowerCase() === e.toLowerCase();
|
|
17990
17990
|
}
|
|
17991
|
-
const
|
|
17991
|
+
const bo = { ctrlKey: !Nn, metaKey: Nn }, _p = { altKey: Nn, ctrlKey: !Nn };
|
|
17992
17992
|
function bp(t) {
|
|
17993
17993
|
return t.key === "Backspace";
|
|
17994
17994
|
}
|
|
17995
17995
|
function Cp(t) {
|
|
17996
|
-
return Je(t, "a",
|
|
17996
|
+
return Je(t, "a", bo);
|
|
17997
17997
|
}
|
|
17998
17998
|
function yue(t) {
|
|
17999
17999
|
const e = ut();
|
|
@@ -18414,7 +18414,7 @@ class Nr extends Pd {
|
|
|
18414
18414
|
return Pt(this.origin, this.direction);
|
|
18415
18415
|
}
|
|
18416
18416
|
}
|
|
18417
|
-
function
|
|
18417
|
+
function Yo(t) {
|
|
18418
18418
|
return t instanceof Nr;
|
|
18419
18419
|
}
|
|
18420
18420
|
function Ei(t) {
|
|
@@ -18494,9 +18494,9 @@ function Pt(t, e) {
|
|
|
18494
18494
|
return t ? new Mue[e](t) : null;
|
|
18495
18495
|
}
|
|
18496
18496
|
function Pr(t, e, n) {
|
|
18497
|
-
return t ? new Due[e](t,
|
|
18497
|
+
return t ? new Due[e](t, Jo(t, n)) : null;
|
|
18498
18498
|
}
|
|
18499
|
-
function
|
|
18499
|
+
function Jo(t, e, n = "error") {
|
|
18500
18500
|
const o = t.getTextContentSize();
|
|
18501
18501
|
let r = e === "next" ? o : e === "previous" ? 0 : e;
|
|
18502
18502
|
return (r < 0 || r > o) && (n !== "clamp" && km(284, String(e), String(o), t.getKey()), r = r < 0 ? 0 : o), r;
|
|
@@ -18531,8 +18531,8 @@ class Bd {
|
|
|
18531
18531
|
getTextSlices() {
|
|
18532
18532
|
const e = (r) => {
|
|
18533
18533
|
const i = this[r].getLatest();
|
|
18534
|
-
return
|
|
18535
|
-
const { direction: l, origin: u } = s, c =
|
|
18534
|
+
return Yo(i) ? function(s, a) {
|
|
18535
|
+
const { direction: l, origin: u } = s, c = Jo(u, a === "focus" ? Pi(l) : l);
|
|
18536
18536
|
return xp(s, c - s.offset);
|
|
18537
18537
|
}(i, r) : null;
|
|
18538
18538
|
}, n = e("anchor"), o = e("focus");
|
|
@@ -18544,7 +18544,7 @@ class Bd {
|
|
|
18544
18544
|
return [n, o];
|
|
18545
18545
|
}
|
|
18546
18546
|
iterNodeCarets(e = "root") {
|
|
18547
|
-
const n =
|
|
18547
|
+
const n = Yo(this.anchor) ? this.anchor.getSiblingCaret() : this.anchor.getLatest(), o = this.focus.getLatest(), r = Yo(o), i = (s) => s.isSameNodeCaret(o) ? null : Fd(s) || s.getParentCaret(e);
|
|
18548
18548
|
return Pg({ hasNext: (s) => s !== null && !(r && o.isSameNodeCaret(s)), initial: n.isSameNodeCaret(o) ? null : i(n), map: (s) => s, step: i });
|
|
18549
18549
|
}
|
|
18550
18550
|
[Symbol.iterator]() {
|
|
@@ -18642,13 +18642,13 @@ function Ia(t, e) {
|
|
|
18642
18642
|
}
|
|
18643
18643
|
return null;
|
|
18644
18644
|
}
|
|
18645
|
-
function
|
|
18645
|
+
function Do(t, e) {
|
|
18646
18646
|
const { type: n, key: o, offset: r } = t, i = kue(t.key);
|
|
18647
18647
|
return n === "text" ? (se(i) || re(266, i.getType(), o), Pr(i, e, r)) : (G(i) || re(267, i.getType(), o), Fue(i, t.offset, e));
|
|
18648
18648
|
}
|
|
18649
18649
|
function Rr(t, e) {
|
|
18650
18650
|
const { origin: n, direction: o } = e, r = o === "next";
|
|
18651
|
-
|
|
18651
|
+
Yo(e) ? t.set(n.getKey(), e.offset, "text") : Ei(e) ? se(n) ? t.set(n.getKey(), Jo(n, o), "text") : t.set(n.getParentOrThrow().getKey(), n.getIndexWithinParent() + (r ? 1 : 0), "element") : (so(e) && G(n) || re(268), t.set(n.getKey(), r ? 0 : n.getChildrenSize(), "element"));
|
|
18652
18652
|
}
|
|
18653
18653
|
function Pue(t) {
|
|
18654
18654
|
const e = de(), n = ne(e) ? e : ql();
|
|
@@ -18658,7 +18658,7 @@ function Na(t, e) {
|
|
|
18658
18658
|
Rr(t.anchor, e.anchor), Rr(t.focus, e.focus);
|
|
18659
18659
|
}
|
|
18660
18660
|
function Ep(t) {
|
|
18661
|
-
const { anchor: e, focus: n } = t, o =
|
|
18661
|
+
const { anchor: e, focus: n } = t, o = Do(e, "next"), r = Do(n, "next"), i = Rg(o, r) <= 0 ? "next" : "previous";
|
|
18662
18662
|
return nr(Ti(o, i), Ti(r, i));
|
|
18663
18663
|
}
|
|
18664
18664
|
function Hd(t) {
|
|
@@ -18764,12 +18764,12 @@ function xn(t) {
|
|
|
18764
18764
|
return i;
|
|
18765
18765
|
}(t.getLatest()), { direction: n } = e;
|
|
18766
18766
|
if (se(e.origin))
|
|
18767
|
-
return
|
|
18767
|
+
return Yo(e) ? e : Pr(e.origin, n, n);
|
|
18768
18768
|
const o = e.getAdjacentCaret();
|
|
18769
18769
|
return Ei(o) && se(o.origin) ? Pr(o.origin, n, Pi(n)) : e;
|
|
18770
18770
|
}
|
|
18771
18771
|
function Bg(t) {
|
|
18772
|
-
return
|
|
18772
|
+
return Yo(t) && t.offset !== Jo(t.origin, t.direction);
|
|
18773
18773
|
}
|
|
18774
18774
|
function Ti(t, e) {
|
|
18775
18775
|
return t.direction === e ? t : t.getFlipped();
|
|
@@ -18820,7 +18820,7 @@ function Dp(t) {
|
|
|
18820
18820
|
}
|
|
18821
18821
|
function qg(t, e, n = "self") {
|
|
18822
18822
|
const o = t.getStartEndPoints();
|
|
18823
|
-
if (e.isSelected(t) && !
|
|
18823
|
+
if (e.isSelected(t) && !Co(e) && o !== null) {
|
|
18824
18824
|
const [r, i] = o, s = t.isBackward(), a = r.getNode(), l = i.getNode(), u = e.is(a), c = e.is(l);
|
|
18825
18825
|
if (u || c) {
|
|
18826
18826
|
const [d, f] = Su(t), p = a.is(l), h = e.is(s ? l : a), _ = e.is(s ? a : l);
|
|
@@ -18875,7 +18875,7 @@ function Wg(t) {
|
|
|
18875
18875
|
function Mp(t, e) {
|
|
18876
18876
|
let n = Vg(t) ? !e : e;
|
|
18877
18877
|
Zg(t) && (n = !n);
|
|
18878
|
-
const o =
|
|
18878
|
+
const o = Do(t.focus, n ? "previous" : "next");
|
|
18879
18879
|
if (Bg(o))
|
|
18880
18880
|
return !1;
|
|
18881
18881
|
for (const r of Ud(o)) {
|
|
@@ -18926,7 +18926,7 @@ function Ri(...t) {
|
|
|
18926
18926
|
};
|
|
18927
18927
|
}
|
|
18928
18928
|
const que = zd;
|
|
18929
|
-
function
|
|
18929
|
+
function Mo(t, ...e) {
|
|
18930
18930
|
const n = Kg(...e);
|
|
18931
18931
|
n.length > 0 && t.classList.add(...n);
|
|
18932
18932
|
}
|
|
@@ -18953,7 +18953,7 @@ function Zue(t) {
|
|
|
18953
18953
|
function yr(t, e) {
|
|
18954
18954
|
return t !== null && Object.getPrototypeOf(t).constructor.name === e.name;
|
|
18955
18955
|
}
|
|
18956
|
-
function
|
|
18956
|
+
function Ko(t, ...e) {
|
|
18957
18957
|
const n = new URL("https://lexical.dev/docs/error"), o = new URLSearchParams();
|
|
18958
18958
|
o.append("code", t);
|
|
18959
18959
|
for (const r of e)
|
|
@@ -18969,7 +18969,7 @@ function Ou(t) {
|
|
|
18969
18969
|
e++, n = o.getParent();
|
|
18970
18970
|
continue;
|
|
18971
18971
|
}
|
|
18972
|
-
|
|
18972
|
+
Ko(40);
|
|
18973
18973
|
}
|
|
18974
18974
|
return e;
|
|
18975
18975
|
}
|
|
@@ -18977,7 +18977,7 @@ function Ou(t) {
|
|
|
18977
18977
|
}
|
|
18978
18978
|
function Iu(t) {
|
|
18979
18979
|
let e = t.getParent();
|
|
18980
|
-
Me(e) ||
|
|
18980
|
+
Me(e) || Ko(40);
|
|
18981
18981
|
let n = e;
|
|
18982
18982
|
for (; n !== null; )
|
|
18983
18983
|
n = n.getParent(), Me(n) && (e = n);
|
|
@@ -19007,7 +19007,7 @@ function Ip(t) {
|
|
|
19007
19007
|
let n = e.getNodes();
|
|
19008
19008
|
if (ne(e)) {
|
|
19009
19009
|
const r = e.getStartEndPoints();
|
|
19010
|
-
r === null &&
|
|
19010
|
+
r === null && Ko(143);
|
|
19011
19011
|
const [i] = r, s = i.getNode(), a = s.getParent();
|
|
19012
19012
|
if (Xt(s)) {
|
|
19013
19013
|
const l = s.getFirstChild();
|
|
@@ -19166,7 +19166,7 @@ function Jue() {
|
|
|
19166
19166
|
if (!Ve(e) || e.getChildrenSize() !== 0)
|
|
19167
19167
|
return !1;
|
|
19168
19168
|
const n = Iu(e), o = e.getParent();
|
|
19169
|
-
Me(o) ||
|
|
19169
|
+
Me(o) || Ko(40);
|
|
19170
19170
|
const r = o.getParent();
|
|
19171
19171
|
let i;
|
|
19172
19172
|
if (Xt(r))
|
|
@@ -19243,7 +19243,7 @@ let sr = class extends vn {
|
|
|
19243
19243
|
const _ = cl(h);
|
|
19244
19244
|
u.getChildren().some((g) => Me(g)) ? c.push(..._) : d.push(..._);
|
|
19245
19245
|
}
|
|
19246
|
-
d.length > 0 && jd(a, ...d), c.length > 0 &&
|
|
19246
|
+
d.length > 0 && jd(a, ...d), c.length > 0 && Mo(a, ...c);
|
|
19247
19247
|
}(o, r.theme, this);
|
|
19248
19248
|
const i = n ? n.__style : "", s = this.__style;
|
|
19249
19249
|
i !== s && (s === "" ? o.removeAttribute("style") : o.style.cssText = s), function(a, l, u) {
|
|
@@ -19302,13 +19302,13 @@ let sr = class extends vn {
|
|
|
19302
19302
|
}
|
|
19303
19303
|
r.insertAfter(n), n.insertAfter(i);
|
|
19304
19304
|
}
|
|
19305
|
-
return o && (G(n) ||
|
|
19305
|
+
return o && (G(n) || Ko(139), this.getChildren().forEach((i) => {
|
|
19306
19306
|
n.append(i);
|
|
19307
19307
|
})), this.remove(), r.getChildrenSize() === 0 && r.remove(), n;
|
|
19308
19308
|
}
|
|
19309
19309
|
insertAfter(n, o = !0) {
|
|
19310
19310
|
const r = this.getParentOrThrow();
|
|
19311
|
-
if (Me(r) ||
|
|
19311
|
+
if (Me(r) || Ko(39), Ve(n))
|
|
19312
19312
|
return super.insertAfter(n, o);
|
|
19313
19313
|
const i = this.getNextSiblings();
|
|
19314
19314
|
if (r.insertAfter(n, o), i.length !== 0) {
|
|
@@ -19372,7 +19372,7 @@ let sr = class extends vn {
|
|
|
19372
19372
|
return r;
|
|
19373
19373
|
}
|
|
19374
19374
|
setIndent(n) {
|
|
19375
|
-
typeof n != "number" &&
|
|
19375
|
+
typeof n != "number" && Ko(117), (n = Math.floor(n)) >= 0 || Ko(199);
|
|
19376
19376
|
let o = this.getIndent();
|
|
19377
19377
|
for (; o !== n; )
|
|
19378
19378
|
o < n ? (Gue(this), o++) : (Yue(this), o--);
|
|
@@ -19514,7 +19514,7 @@ function Rp(t, e, n) {
|
|
|
19514
19514
|
a > 1 ? o.push(...h) : r.push(...h);
|
|
19515
19515
|
}
|
|
19516
19516
|
}
|
|
19517
|
-
r.length > 0 && jd(t, ...r), o.length > 0 &&
|
|
19517
|
+
r.length > 0 && jd(t, ...r), o.length > 0 && Mo(t, ...o);
|
|
19518
19518
|
}
|
|
19519
19519
|
function Que(t) {
|
|
19520
19520
|
const e = [];
|
|
@@ -19566,7 +19566,7 @@ function ode(t) {
|
|
|
19566
19566
|
const o = de();
|
|
19567
19567
|
ne(o) && (o.style !== e.getTextStyle() || o.format !== e.getTextFormat()) && o.isCollapsed() && e.is(o.anchor.getNode()) && e.setTextStyle(o.style).setTextFormat(o.format);
|
|
19568
19568
|
}
|
|
19569
|
-
}), t.registerNodeTransform(
|
|
19569
|
+
}), t.registerNodeTransform(Oo, (e) => {
|
|
19570
19570
|
const n = e.getParent();
|
|
19571
19571
|
if (Ve(n) && e.is(n.getFirstChild())) {
|
|
19572
19572
|
const o = e.getStyle(), r = e.getFormat();
|
|
@@ -19779,9 +19779,9 @@ function Up(t, e, n) {
|
|
|
19779
19779
|
if (ne(o) && o.isCollapsed()) {
|
|
19780
19780
|
const r = o.anchor;
|
|
19781
19781
|
let i = null;
|
|
19782
|
-
const s =
|
|
19782
|
+
const s = Do(r, "previous");
|
|
19783
19783
|
if (s)
|
|
19784
|
-
if (
|
|
19784
|
+
if (Yo(s))
|
|
19785
19785
|
i = s.origin;
|
|
19786
19786
|
else {
|
|
19787
19787
|
const a = nr(s, zn(ut(), "next").getFlipped());
|
|
@@ -19963,7 +19963,7 @@ let Vd = class i0 extends vn {
|
|
|
19963
19963
|
}
|
|
19964
19964
|
createDOM(e) {
|
|
19965
19965
|
const n = document.createElement("blockquote");
|
|
19966
|
-
return
|
|
19966
|
+
return Mo(n, e.theme.quote), n;
|
|
19967
19967
|
}
|
|
19968
19968
|
updateDOM(e, n) {
|
|
19969
19969
|
return !1;
|
|
@@ -20026,7 +20026,7 @@ let Xl = class s0 extends vn {
|
|
|
20026
20026
|
const o = this.__tag, r = document.createElement(o), i = n.theme.heading;
|
|
20027
20027
|
if (i !== void 0) {
|
|
20028
20028
|
const s = i[o];
|
|
20029
|
-
|
|
20029
|
+
Mo(r, s);
|
|
20030
20030
|
}
|
|
20031
20031
|
return r;
|
|
20032
20032
|
}
|
|
@@ -22926,7 +22926,7 @@ let Ql = class c0 extends vn {
|
|
|
22926
22926
|
}
|
|
22927
22927
|
createDOM(n) {
|
|
22928
22928
|
const o = document.createElement("code");
|
|
22929
|
-
|
|
22929
|
+
Mo(o, n.theme.code), o.setAttribute("spellcheck", "false");
|
|
22930
22930
|
const r = this.getLanguage();
|
|
22931
22931
|
r && (o.setAttribute(cs, r), this.getIsSyntaxHighlightSupported() && o.setAttribute(is, r));
|
|
22932
22932
|
const i = this.getTheme();
|
|
@@ -22946,7 +22946,7 @@ let Ql = class c0 extends vn {
|
|
|
22946
22946
|
}
|
|
22947
22947
|
exportDOM(n) {
|
|
22948
22948
|
const o = document.createElement("pre");
|
|
22949
|
-
|
|
22949
|
+
Mo(o, n._config.theme.code), o.setAttribute("spellcheck", "false");
|
|
22950
22950
|
const r = this.getLanguage();
|
|
22951
22951
|
r && (o.setAttribute(cs, r), this.getIsSyntaxHighlightSupported() && o.setAttribute(is, r));
|
|
22952
22952
|
const i = this.getTheme();
|
|
@@ -23074,7 +23074,7 @@ function Jp(t) {
|
|
|
23074
23074
|
function Gc(t) {
|
|
23075
23075
|
return t.classList.contains("js-file-line-container");
|
|
23076
23076
|
}
|
|
23077
|
-
let u0 = class d0 extends
|
|
23077
|
+
let u0 = class d0 extends Oo {
|
|
23078
23078
|
constructor(n = "", o, r) {
|
|
23079
23079
|
super(n, r);
|
|
23080
23080
|
Q(this, "__highlightType");
|
|
@@ -23098,11 +23098,11 @@ let u0 = class d0 extends Lo {
|
|
|
23098
23098
|
}
|
|
23099
23099
|
createDOM(n) {
|
|
23100
23100
|
const o = super.createDOM(n), r = Yc(n.theme, this.__highlightType);
|
|
23101
|
-
return
|
|
23101
|
+
return Mo(o, r), o;
|
|
23102
23102
|
}
|
|
23103
23103
|
updateDOM(n, o, r) {
|
|
23104
23104
|
const i = super.updateDOM(n, o, r), s = Yc(r.theme, n.__highlightType), a = Yc(r.theme, this.__highlightType);
|
|
23105
|
-
return s !== a && (s && jd(o, s), a &&
|
|
23105
|
+
return s !== a && (s && jd(o, s), a && Mo(o, a)), i;
|
|
23106
23106
|
}
|
|
23107
23107
|
static importJSON(n) {
|
|
23108
23108
|
return f0().updateFromJSON(n);
|
|
@@ -23170,7 +23170,7 @@ class qr extends vn {
|
|
|
23170
23170
|
}
|
|
23171
23171
|
createDOM(n) {
|
|
23172
23172
|
const o = document.createElement("a");
|
|
23173
|
-
return this.updateLinkDOM(null, o, n),
|
|
23173
|
+
return this.updateLinkDOM(null, o, n), Mo(o, n.theme.link), o;
|
|
23174
23174
|
}
|
|
23175
23175
|
updateLinkDOM(n, o, r) {
|
|
23176
23176
|
if (Ig(o)) {
|
|
@@ -23275,7 +23275,7 @@ function $de(t) {
|
|
|
23275
23275
|
function Sr(t = "", e) {
|
|
23276
23276
|
return Vn(new qr(t, e));
|
|
23277
23277
|
}
|
|
23278
|
-
function
|
|
23278
|
+
function ko(t) {
|
|
23279
23279
|
return t instanceof qr;
|
|
23280
23280
|
}
|
|
23281
23281
|
class ta extends qr {
|
|
@@ -23358,10 +23358,10 @@ function Mde(t, e = {}) {
|
|
|
23358
23358
|
const c = s.getNodes();
|
|
23359
23359
|
return c.length === 0 ? void 0 : void c.forEach((d) => {
|
|
23360
23360
|
if (n === null) {
|
|
23361
|
-
const f = Vt(d, (p) => !to(p) &&
|
|
23361
|
+
const f = Vt(d, (p) => !to(p) && ko(p));
|
|
23362
23362
|
f && (f.insertBefore(d), f.getChildren().length === 0 && f.remove());
|
|
23363
23363
|
} else {
|
|
23364
|
-
const f = Vt(d, (p) => !to(p) &&
|
|
23364
|
+
const f = Vt(d, (p) => !to(p) && ko(p));
|
|
23365
23365
|
if (f)
|
|
23366
23366
|
f.setURL(n), o !== void 0 && f.setTarget(o), i !== void 0 && f.setRel(i);
|
|
23367
23367
|
else {
|
|
@@ -23376,7 +23376,7 @@ function Mde(t, e = {}) {
|
|
|
23376
23376
|
const c = /* @__PURE__ */ new Set();
|
|
23377
23377
|
return void a.forEach((d) => {
|
|
23378
23378
|
const f = d.getParent();
|
|
23379
|
-
if (
|
|
23379
|
+
if (ko(f) && !to(f)) {
|
|
23380
23380
|
const p = f.getKey();
|
|
23381
23381
|
if (c.has(p))
|
|
23382
23382
|
return;
|
|
@@ -23407,7 +23407,7 @@ function Mde(t, e = {}) {
|
|
|
23407
23407
|
l.has(c.getKey()) || (l.add(c.getKey()), c.setURL(n), o !== void 0 && c.setTarget(o), i !== void 0 && c.setRel(i), r !== void 0 && c.setTitle(r));
|
|
23408
23408
|
};
|
|
23409
23409
|
if (a.length === 1) {
|
|
23410
|
-
const c = a[0], d = Vt(c,
|
|
23410
|
+
const c = a[0], d = Vt(c, ko);
|
|
23411
23411
|
if (d !== null)
|
|
23412
23412
|
return u(d);
|
|
23413
23413
|
}
|
|
@@ -23436,7 +23436,7 @@ function Mde(t, e = {}) {
|
|
|
23436
23436
|
for (const d of a) {
|
|
23437
23437
|
if (!d.isAttached())
|
|
23438
23438
|
continue;
|
|
23439
|
-
const f = Vt(d,
|
|
23439
|
+
const f = Vt(d, ko);
|
|
23440
23440
|
if (f) {
|
|
23441
23441
|
u(f);
|
|
23442
23442
|
continue;
|
|
@@ -23444,7 +23444,7 @@ function Mde(t, e = {}) {
|
|
|
23444
23444
|
if (G(d)) {
|
|
23445
23445
|
if (!d.isInline())
|
|
23446
23446
|
continue;
|
|
23447
|
-
if (
|
|
23447
|
+
if (ko(d)) {
|
|
23448
23448
|
if (!(to(d) || c !== null && c.getParentOrThrow().isParentOf(d))) {
|
|
23449
23449
|
u(d), c = d;
|
|
23450
23450
|
continue;
|
|
@@ -23456,7 +23456,7 @@ function Mde(t, e = {}) {
|
|
|
23456
23456
|
}
|
|
23457
23457
|
}
|
|
23458
23458
|
const p = d.getPreviousSibling();
|
|
23459
|
-
|
|
23459
|
+
ko(p) && p.is(c) ? p.append(d) : (c = Sr(n, { rel: i, target: o, title: r }), d.insertAfter(c), c.append(d));
|
|
23460
23460
|
}
|
|
23461
23461
|
});
|
|
23462
23462
|
}
|
|
@@ -23562,11 +23562,11 @@ function Fde(t, e = Rde) {
|
|
|
23562
23562
|
for (const a of o)
|
|
23563
23563
|
a(i, s);
|
|
23564
23564
|
};
|
|
23565
|
-
return Ri(t.registerNodeTransform(
|
|
23565
|
+
return Ri(t.registerNodeTransform(Oo, (i) => {
|
|
23566
23566
|
const s = i.getParentOrThrow(), a = i.getPreviousSibling();
|
|
23567
23567
|
if (to(s) && !s.getIsUnlinked())
|
|
23568
23568
|
Jc(s, n, r);
|
|
23569
|
-
else if (!
|
|
23569
|
+
else if (!ko(s)) {
|
|
23570
23570
|
if (i.isSimpleText() && (Ru(i.getTextContent()) || !to(a))) {
|
|
23571
23571
|
const l = function(u) {
|
|
23572
23572
|
const c = [u];
|
|
@@ -23954,7 +23954,7 @@ const y0 = /^(\s*)(\d{1,})\.\s/, _0 = /^(\s*)[-*+]\s/, Wde = /^(\s*)(?:[-*+]\s)?
|
|
|
23954
23954
|
} else
|
|
23955
23955
|
e && k0((l) => ro(l ? l[1] : void 0))(t, e, n, i);
|
|
23956
23956
|
}, type: "multiline-element" }, A0 = { dependencies: [zr, sr], export: (t, e) => Me(t) ? Kd(t, e, 0) : null, regExp: _0, replace: w0("bullet"), type: "element" }, E0 = { dependencies: [zr, sr], export: (t, e) => Me(t) ? Kd(t, e, 0) : null, regExp: y0, replace: w0("number"), type: "element" }, T0 = { format: ["code"], tag: "`", type: "text-format" }, Jde = { format: ["highlight"], tag: "==", type: "text-format" }, $0 = { format: ["bold", "italic"], tag: "***", type: "text-format" }, Xde = { format: ["bold", "italic"], intraword: !1, tag: "___", type: "text-format" }, D0 = { format: ["bold"], tag: "**", type: "text-format" }, Qde = { format: ["bold"], intraword: !1, tag: "__", type: "text-format" }, M0 = { format: ["strikethrough"], tag: "~~", type: "text-format" }, L0 = { format: ["italic"], tag: "*", type: "text-format" }, e1e = { format: ["italic"], intraword: !1, tag: "_", type: "text-format" }, O0 = { dependencies: [qr], export: (t, e, n) => {
|
|
23957
|
-
if (!
|
|
23957
|
+
if (!ko(t) || to(t))
|
|
23958
23958
|
return null;
|
|
23959
23959
|
const o = t.getTitle(), r = e(t);
|
|
23960
23960
|
return o ? `[${r}](${t.getURL()} "${o}")` : `[${r}](${t.getURL()})`;
|
|
@@ -24207,7 +24207,7 @@ const N0 = Symbol("LexicalEditor"), u1e = (() => {
|
|
|
24207
24207
|
return ov(N0, h), Ot(() => {
|
|
24208
24208
|
const g = s.initialConfig.editable;
|
|
24209
24209
|
h.setEditable(g !== void 0 ? g : !0);
|
|
24210
|
-
}), (g, v) =>
|
|
24210
|
+
}), (g, v) => Se(g.$slots, "default");
|
|
24211
24211
|
}
|
|
24212
24212
|
});
|
|
24213
24213
|
return t.__vue_vine = !0, t;
|
|
@@ -24924,7 +24924,7 @@ const k1e = (() => {
|
|
|
24924
24924
|
"editor"
|
|
24925
24925
|
]),
|
|
24926
24926
|
te(a) ? (k(), E("div", t, [
|
|
24927
|
-
|
|
24927
|
+
Se(l.$slots, "placeholder")
|
|
24928
24928
|
])) : P("", !0)
|
|
24929
24929
|
], 64);
|
|
24930
24930
|
};
|
|
@@ -25129,10 +25129,10 @@ const I1e = (() => {
|
|
|
25129
25129
|
o();
|
|
25130
25130
|
const r = Fi(), i = R0(r);
|
|
25131
25131
|
return O1e(r), (s, a) => (k(), E($e, null, [
|
|
25132
|
-
te(i) ?
|
|
25132
|
+
te(i) ? Se(s.$slots, "placeholder", {
|
|
25133
25133
|
key: 0
|
|
25134
25134
|
}) : P("", !0),
|
|
25135
|
-
|
|
25135
|
+
Se(s.$slots, "contentEditable"),
|
|
25136
25136
|
N(te(L1e))
|
|
25137
25137
|
], 64));
|
|
25138
25138
|
}
|
|
@@ -25476,7 +25476,7 @@ const I1e = (() => {
|
|
|
25476
25476
|
blockStyle: a
|
|
25477
25477
|
}), (x, z) => (k(), J(te(u1e), { "initial-config": d }, {
|
|
25478
25478
|
default: ae(() => [
|
|
25479
|
-
|
|
25479
|
+
Se(x.$slots, "toolbar"),
|
|
25480
25480
|
b("div", {
|
|
25481
25481
|
class: me(["ao-lexical-editor", l.value])
|
|
25482
25482
|
}, [
|
|
@@ -25723,7 +25723,7 @@ const R1e = {
|
|
|
25723
25723
|
type: "button",
|
|
25724
25724
|
class: "ao-comment-editor__toolbar-button",
|
|
25725
25725
|
title: "Bold",
|
|
25726
|
-
onMousedown: L[0] || (L[0] =
|
|
25726
|
+
onMousedown: L[0] || (L[0] = we(() => {
|
|
25727
25727
|
}, ["prevent"])),
|
|
25728
25728
|
onClick: L[1] || (L[1] = (O) => {
|
|
25729
25729
|
var x;
|
|
@@ -25736,7 +25736,7 @@ const R1e = {
|
|
|
25736
25736
|
type: "button",
|
|
25737
25737
|
class: "ao-comment-editor__toolbar-button",
|
|
25738
25738
|
title: "Italic",
|
|
25739
|
-
onMousedown: L[2] || (L[2] =
|
|
25739
|
+
onMousedown: L[2] || (L[2] = we(() => {
|
|
25740
25740
|
}, ["prevent"])),
|
|
25741
25741
|
onClick: L[3] || (L[3] = (O) => {
|
|
25742
25742
|
var x;
|
|
@@ -25749,7 +25749,7 @@ const R1e = {
|
|
|
25749
25749
|
type: "button",
|
|
25750
25750
|
class: "ao-comment-editor__toolbar-button",
|
|
25751
25751
|
title: "Strikethrough",
|
|
25752
|
-
onMousedown: L[4] || (L[4] =
|
|
25752
|
+
onMousedown: L[4] || (L[4] = we(() => {
|
|
25753
25753
|
}, ["prevent"])),
|
|
25754
25754
|
onClick: L[5] || (L[5] = (O) => {
|
|
25755
25755
|
var x;
|
|
@@ -25762,7 +25762,7 @@ const R1e = {
|
|
|
25762
25762
|
type: "button",
|
|
25763
25763
|
class: "ao-comment-editor__toolbar-button",
|
|
25764
25764
|
title: "Inline code",
|
|
25765
|
-
onMousedown: L[6] || (L[6] =
|
|
25765
|
+
onMousedown: L[6] || (L[6] = we(() => {
|
|
25766
25766
|
}, ["prevent"])),
|
|
25767
25767
|
onClick: L[7] || (L[7] = (O) => {
|
|
25768
25768
|
var x;
|
|
@@ -25775,7 +25775,7 @@ const R1e = {
|
|
|
25775
25775
|
type: "button",
|
|
25776
25776
|
class: "ao-comment-editor__toolbar-button",
|
|
25777
25777
|
title: "Link",
|
|
25778
|
-
onMousedown: L[8] || (L[8] =
|
|
25778
|
+
onMousedown: L[8] || (L[8] = we(() => {
|
|
25779
25779
|
}, ["prevent"])),
|
|
25780
25780
|
onClick: T
|
|
25781
25781
|
}, [
|
|
@@ -25786,7 +25786,7 @@ const R1e = {
|
|
|
25786
25786
|
type: "button",
|
|
25787
25787
|
class: "ao-comment-editor__toolbar-button",
|
|
25788
25788
|
title: "Bullet list",
|
|
25789
|
-
onMousedown: L[9] || (L[9] =
|
|
25789
|
+
onMousedown: L[9] || (L[9] = we(() => {
|
|
25790
25790
|
}, ["prevent"])),
|
|
25791
25791
|
onClick: L[10] || (L[10] = (O) => {
|
|
25792
25792
|
var x;
|
|
@@ -25797,7 +25797,7 @@ const R1e = {
|
|
|
25797
25797
|
type: "button",
|
|
25798
25798
|
class: "ao-comment-editor__toolbar-button",
|
|
25799
25799
|
title: "Numbered list",
|
|
25800
|
-
onMousedown: L[11] || (L[11] =
|
|
25800
|
+
onMousedown: L[11] || (L[11] = we(() => {
|
|
25801
25801
|
}, ["prevent"])),
|
|
25802
25802
|
onClick: L[12] || (L[12] = (O) => {
|
|
25803
25803
|
var x;
|
|
@@ -25832,7 +25832,7 @@ const R1e = {
|
|
|
25832
25832
|
class: me({
|
|
25833
25833
|
"ao-comment-editor__mention-item--selected": x === te(f)
|
|
25834
25834
|
}),
|
|
25835
|
-
onMousedown: L[13] || (L[13] =
|
|
25835
|
+
onMousedown: L[13] || (L[13] = we(() => {
|
|
25836
25836
|
}, ["prevent"])),
|
|
25837
25837
|
onClick: (z) => te(p)(O.name)
|
|
25838
25838
|
}, " @" + B(O.name), 43, F1e))), 128))
|
|
@@ -25842,7 +25842,7 @@ const R1e = {
|
|
|
25842
25842
|
type: "button",
|
|
25843
25843
|
class: "ao-comment-editor__submit",
|
|
25844
25844
|
title: "Send comment",
|
|
25845
|
-
onMousedown: L[14] || (L[14] =
|
|
25845
|
+
onMousedown: L[14] || (L[14] = we(() => {
|
|
25846
25846
|
}, ["prevent"])),
|
|
25847
25847
|
onClick: A
|
|
25848
25848
|
}, [
|
|
@@ -26198,7 +26198,7 @@ const K1e = ["aria-label"], G1e = { class: "ao-file-preview__actions" }, Y1e = [
|
|
|
26198
26198
|
class: "ao-file-preview__action",
|
|
26199
26199
|
title: "Download",
|
|
26200
26200
|
"aria-label": "Download",
|
|
26201
|
-
onClick:
|
|
26201
|
+
onClick: we(w, ["stop"])
|
|
26202
26202
|
}, [
|
|
26203
26203
|
N(Re, {
|
|
26204
26204
|
name: "DownloadRounded",
|
|
@@ -26211,7 +26211,7 @@ const K1e = ["aria-label"], G1e = { class: "ao-file-preview__actions" }, Y1e = [
|
|
|
26211
26211
|
class: "ao-file-preview__action ao-file-preview__action--close",
|
|
26212
26212
|
title: "Close",
|
|
26213
26213
|
"aria-label": "Close",
|
|
26214
|
-
onClick:
|
|
26214
|
+
onClick: we(T, ["stop"])
|
|
26215
26215
|
}, [
|
|
26216
26216
|
N(Re, {
|
|
26217
26217
|
name: "CloseRounded",
|
|
@@ -26228,7 +26228,7 @@ const K1e = ["aria-label"], G1e = { class: "ao-file-preview__actions" }, Y1e = [
|
|
|
26228
26228
|
type: "button",
|
|
26229
26229
|
class: "ao-file-preview__nav ao-file-preview__nav--prev",
|
|
26230
26230
|
"aria-label": M.$t("activity.attachment.preview.previous"),
|
|
26231
|
-
onClick:
|
|
26231
|
+
onClick: we(C, ["stop"])
|
|
26232
26232
|
}, [
|
|
26233
26233
|
N(Re, {
|
|
26234
26234
|
name: "ArrowBackRounded",
|
|
@@ -26237,7 +26237,7 @@ const K1e = ["aria-label"], G1e = { class: "ao-file-preview__actions" }, Y1e = [
|
|
|
26237
26237
|
], 8, Y1e)),
|
|
26238
26238
|
b("div", {
|
|
26239
26239
|
class: "ao-file-preview__content",
|
|
26240
|
-
onClick: j[1] || (j[1] =
|
|
26240
|
+
onClick: j[1] || (j[1] = we(() => {
|
|
26241
26241
|
}, ["stop"]))
|
|
26242
26242
|
}, [
|
|
26243
26243
|
i.value ? (k(), E("div", J1e, [...j[3] || (j[3] = [
|
|
@@ -26255,7 +26255,7 @@ const K1e = ["aria-label"], G1e = { class: "ao-file-preview__actions" }, Y1e = [
|
|
|
26255
26255
|
}, null, 40, X1e)) : _.value && r.value && !s.value ? (k(), E("div", {
|
|
26256
26256
|
key: 2,
|
|
26257
26257
|
class: "ao-file-preview__pdf-container",
|
|
26258
|
-
onClick: j[0] || (j[0] =
|
|
26258
|
+
onClick: j[0] || (j[0] = we(() => {
|
|
26259
26259
|
}, ["stop"]))
|
|
26260
26260
|
}, [
|
|
26261
26261
|
b("iframe", {
|
|
@@ -26284,7 +26284,7 @@ const K1e = ["aria-label"], G1e = { class: "ao-file-preview__actions" }, Y1e = [
|
|
|
26284
26284
|
type: "button",
|
|
26285
26285
|
class: "ao-file-preview__nav ao-file-preview__nav--next",
|
|
26286
26286
|
"aria-label": M.$t("activity.attachment.preview.next"),
|
|
26287
|
-
onClick:
|
|
26287
|
+
onClick: we(S, ["stop"])
|
|
26288
26288
|
}, [
|
|
26289
26289
|
N(Re, {
|
|
26290
26290
|
name: "ArrowForwardRounded",
|
|
@@ -26627,7 +26627,7 @@ const tc = /* @__PURE__ */ fe(Mfe, [["render", Nfe], ["__scopeId", "data-v-3d268
|
|
|
26627
26627
|
type: "button",
|
|
26628
26628
|
class: "ao-rich-text-editor__toolbar-button",
|
|
26629
26629
|
title: "Bold",
|
|
26630
|
-
onMousedown: c[0] || (c[0] =
|
|
26630
|
+
onMousedown: c[0] || (c[0] = we(() => {
|
|
26631
26631
|
}, ["prevent"])),
|
|
26632
26632
|
onClick: c[1] || (c[1] = (f) => {
|
|
26633
26633
|
var p;
|
|
@@ -26640,7 +26640,7 @@ const tc = /* @__PURE__ */ fe(Mfe, [["render", Nfe], ["__scopeId", "data-v-3d268
|
|
|
26640
26640
|
type: "button",
|
|
26641
26641
|
class: "ao-rich-text-editor__toolbar-button",
|
|
26642
26642
|
title: "Italic",
|
|
26643
|
-
onMousedown: c[2] || (c[2] =
|
|
26643
|
+
onMousedown: c[2] || (c[2] = we(() => {
|
|
26644
26644
|
}, ["prevent"])),
|
|
26645
26645
|
onClick: c[3] || (c[3] = (f) => {
|
|
26646
26646
|
var p;
|
|
@@ -26653,7 +26653,7 @@ const tc = /* @__PURE__ */ fe(Mfe, [["render", Nfe], ["__scopeId", "data-v-3d268
|
|
|
26653
26653
|
type: "button",
|
|
26654
26654
|
class: "ao-rich-text-editor__toolbar-button",
|
|
26655
26655
|
title: "Strikethrough",
|
|
26656
|
-
onMousedown: c[4] || (c[4] =
|
|
26656
|
+
onMousedown: c[4] || (c[4] = we(() => {
|
|
26657
26657
|
}, ["prevent"])),
|
|
26658
26658
|
onClick: c[5] || (c[5] = (f) => {
|
|
26659
26659
|
var p;
|
|
@@ -26666,7 +26666,7 @@ const tc = /* @__PURE__ */ fe(Mfe, [["render", Nfe], ["__scopeId", "data-v-3d268
|
|
|
26666
26666
|
type: "button",
|
|
26667
26667
|
class: "ao-rich-text-editor__toolbar-button",
|
|
26668
26668
|
title: "Inline code",
|
|
26669
|
-
onMousedown: c[6] || (c[6] =
|
|
26669
|
+
onMousedown: c[6] || (c[6] = we(() => {
|
|
26670
26670
|
}, ["prevent"])),
|
|
26671
26671
|
onClick: c[7] || (c[7] = (f) => {
|
|
26672
26672
|
var p;
|
|
@@ -26679,7 +26679,7 @@ const tc = /* @__PURE__ */ fe(Mfe, [["render", Nfe], ["__scopeId", "data-v-3d268
|
|
|
26679
26679
|
type: "button",
|
|
26680
26680
|
class: "ao-rich-text-editor__toolbar-button",
|
|
26681
26681
|
title: "Link",
|
|
26682
|
-
onMousedown: c[8] || (c[8] =
|
|
26682
|
+
onMousedown: c[8] || (c[8] = we(() => {
|
|
26683
26683
|
}, ["prevent"])),
|
|
26684
26684
|
onClick: i
|
|
26685
26685
|
}, [
|
|
@@ -26690,7 +26690,7 @@ const tc = /* @__PURE__ */ fe(Mfe, [["render", Nfe], ["__scopeId", "data-v-3d268
|
|
|
26690
26690
|
type: "button",
|
|
26691
26691
|
class: "ao-rich-text-editor__toolbar-button",
|
|
26692
26692
|
title: "Bullet list",
|
|
26693
|
-
onMousedown: c[9] || (c[9] =
|
|
26693
|
+
onMousedown: c[9] || (c[9] = we(() => {
|
|
26694
26694
|
}, ["prevent"])),
|
|
26695
26695
|
onClick: c[10] || (c[10] = (f) => {
|
|
26696
26696
|
var p;
|
|
@@ -26701,7 +26701,7 @@ const tc = /* @__PURE__ */ fe(Mfe, [["render", Nfe], ["__scopeId", "data-v-3d268
|
|
|
26701
26701
|
type: "button",
|
|
26702
26702
|
class: "ao-rich-text-editor__toolbar-button",
|
|
26703
26703
|
title: "Numbered list",
|
|
26704
|
-
onMousedown: c[11] || (c[11] =
|
|
26704
|
+
onMousedown: c[11] || (c[11] = we(() => {
|
|
26705
26705
|
}, ["prevent"])),
|
|
26706
26706
|
onClick: c[12] || (c[12] = (f) => {
|
|
26707
26707
|
var p;
|
|
@@ -27116,7 +27116,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27116
27116
|
month: "2-digit",
|
|
27117
27117
|
year: "numeric"
|
|
27118
27118
|
}) : "");
|
|
27119
|
-
function
|
|
27119
|
+
function No() {
|
|
27120
27120
|
const F = window.location.origin, X = o.activity.slug, Ce = `${F}/activity-feed/slug/${X}`;
|
|
27121
27121
|
navigator.clipboard.writeText(Ce).then(() => {
|
|
27122
27122
|
console.log(`Link copied to clipboard: ${Ce}`), r("toast", "clipboard.copy.success", "success");
|
|
@@ -27142,7 +27142,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27142
27142
|
color: "primary",
|
|
27143
27143
|
"icon-name": "ContentCopyOutline",
|
|
27144
27144
|
class: "ao-activity__ao-tag",
|
|
27145
|
-
onClick:
|
|
27145
|
+
onClick: No
|
|
27146
27146
|
}, null, 8, ["label"])) : P("", !0),
|
|
27147
27147
|
t.breadcrumbs ? (k(), E("div", qfe, B(t.breadcrumbs), 1)) : P("", !0),
|
|
27148
27148
|
N(Rt, {
|
|
@@ -27176,7 +27176,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27176
27176
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
27177
27177
|
])) : P("", !0)
|
|
27178
27178
|
]),
|
|
27179
|
-
|
|
27179
|
+
Se(F.$slots, "header")
|
|
27180
27180
|
]),
|
|
27181
27181
|
b("div", Jfe, [
|
|
27182
27182
|
N(tc, {
|
|
@@ -27216,7 +27216,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27216
27216
|
])
|
|
27217
27217
|
])
|
|
27218
27218
|
], 512), [
|
|
27219
|
-
[
|
|
27219
|
+
[Wo, l.value === "description"]
|
|
27220
27220
|
]),
|
|
27221
27221
|
tt(b("div", tpe, [
|
|
27222
27222
|
b("fieldset", npe, [
|
|
@@ -27236,7 +27236,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27236
27236
|
])
|
|
27237
27237
|
])
|
|
27238
27238
|
], 512), [
|
|
27239
|
-
[
|
|
27239
|
+
[Wo, l.value === "checklist"]
|
|
27240
27240
|
]),
|
|
27241
27241
|
tt(b("div", rpe, [
|
|
27242
27242
|
t.isTemplate !== !0 && t.userId ? (k(), E("div", ipe, [
|
|
@@ -27250,7 +27250,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27250
27250
|
}, null, 8, ["comments", "users", "user-id"])
|
|
27251
27251
|
])) : P("", !0)
|
|
27252
27252
|
], 512), [
|
|
27253
|
-
[
|
|
27253
|
+
[Wo, l.value === "comments"]
|
|
27254
27254
|
]),
|
|
27255
27255
|
tt(b("div", spe, [
|
|
27256
27256
|
N(Afe, {
|
|
@@ -27259,7 +27259,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27259
27259
|
loading: t.historyLoading
|
|
27260
27260
|
}, null, 8, ["events", "presentation-config", "loading"])
|
|
27261
27261
|
], 512), [
|
|
27262
|
-
[
|
|
27262
|
+
[Wo, l.value === "history"]
|
|
27263
27263
|
])
|
|
27264
27264
|
])
|
|
27265
27265
|
]),
|
|
@@ -27409,7 +27409,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27409
27409
|
onDeselect: O
|
|
27410
27410
|
}, null, 8, ["options", "value", "disabled", "placeholder", "caret"]))
|
|
27411
27411
|
]),
|
|
27412
|
-
|
|
27412
|
+
Se(F.$slots, "sprintModal")
|
|
27413
27413
|
])) : P("", !0),
|
|
27414
27414
|
b("div", Ipe, [
|
|
27415
27415
|
b("div", Npe, [
|
|
@@ -27445,7 +27445,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27445
27445
|
"user-name": Le.label,
|
|
27446
27446
|
"avatar-url": Le.avatar,
|
|
27447
27447
|
"is-closable": !0,
|
|
27448
|
-
onClose: (
|
|
27448
|
+
onClose: (Po) => Kt(Le, Po)
|
|
27449
27449
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
27450
27450
|
]),
|
|
27451
27451
|
_: 1
|
|
@@ -27560,7 +27560,7 @@ const Hfe = { class: "ao-activity-details" }, zfe = { class: "ao-activity-detail
|
|
|
27560
27560
|
])
|
|
27561
27561
|
])
|
|
27562
27562
|
]),
|
|
27563
|
-
|
|
27563
|
+
Se(F.$slots, "default", { activity: t.activity })
|
|
27564
27564
|
])
|
|
27565
27565
|
])
|
|
27566
27566
|
];
|
|
@@ -27654,22 +27654,22 @@ const lhe = /* @__PURE__ */ le({
|
|
|
27654
27654
|
}), v = I(() => Object.values(V5));
|
|
27655
27655
|
return (m, y) => (k(), J(Br(t.tagName), { class: "ao-rule-line" }, {
|
|
27656
27656
|
default: ae(() => [
|
|
27657
|
-
N(te(
|
|
27657
|
+
N(te(qo), {
|
|
27658
27658
|
modelValue: i.value,
|
|
27659
27659
|
"onUpdate:modelValue": y[0] || (y[0] = (C) => i.value = C),
|
|
27660
27660
|
options: s.value
|
|
27661
27661
|
}, null, 8, ["modelValue", "options"]),
|
|
27662
|
-
N(te(
|
|
27662
|
+
N(te(qo), {
|
|
27663
27663
|
modelValue: a.value,
|
|
27664
27664
|
"onUpdate:modelValue": y[1] || (y[1] = (C) => a.value = C),
|
|
27665
27665
|
options: l.value
|
|
27666
27666
|
}, null, 8, ["modelValue", "options"]),
|
|
27667
|
-
N(te(
|
|
27667
|
+
N(te(qo), {
|
|
27668
27668
|
modelValue: p.value,
|
|
27669
27669
|
"onUpdate:modelValue": y[2] || (y[2] = (C) => p.value = C),
|
|
27670
27670
|
options: h.value
|
|
27671
27671
|
}, null, 8, ["modelValue", "options"]),
|
|
27672
|
-
N(te(
|
|
27672
|
+
N(te(qo), {
|
|
27673
27673
|
modelValue: c.value,
|
|
27674
27674
|
"onUpdate:modelValue": y[3] || (y[3] = (C) => c.value = C),
|
|
27675
27675
|
options: d.value
|
|
@@ -27686,7 +27686,7 @@ const lhe = /* @__PURE__ */ le({
|
|
|
27686
27686
|
{ number: !0 }
|
|
27687
27687
|
]
|
|
27688
27688
|
]),
|
|
27689
|
-
N(te(
|
|
27689
|
+
N(te(qo), {
|
|
27690
27690
|
modelValue: g.value,
|
|
27691
27691
|
"onUpdate:modelValue": y[5] || (y[5] = (C) => g.value = C),
|
|
27692
27692
|
options: v.value
|
|
@@ -27787,7 +27787,7 @@ const fhe = {
|
|
|
27787
27787
|
return (U = i.value) == null ? void 0 : U.phases;
|
|
27788
27788
|
},
|
|
27789
27789
|
(U, Y) => {
|
|
27790
|
-
s.value &&
|
|
27790
|
+
s.value && Ao(U, Y);
|
|
27791
27791
|
}
|
|
27792
27792
|
);
|
|
27793
27793
|
const a = I(() => {
|
|
@@ -27800,7 +27800,7 @@ const fhe = {
|
|
|
27800
27800
|
return (U = a.value) == null ? void 0 : U.milestones;
|
|
27801
27801
|
},
|
|
27802
27802
|
(U, Y) => {
|
|
27803
|
-
s.value &&
|
|
27803
|
+
s.value && Ao(U, Y);
|
|
27804
27804
|
}
|
|
27805
27805
|
);
|
|
27806
27806
|
const l = I(() => {
|
|
@@ -27815,7 +27815,7 @@ const fhe = {
|
|
|
27815
27815
|
return (U = l.value) == null ? void 0 : U.activities;
|
|
27816
27816
|
},
|
|
27817
27817
|
(U, Y) => {
|
|
27818
|
-
s.value &&
|
|
27818
|
+
s.value && Ao(U, Y);
|
|
27819
27819
|
}
|
|
27820
27820
|
);
|
|
27821
27821
|
const u = I(() => {
|
|
@@ -28021,7 +28021,7 @@ const fhe = {
|
|
|
28021
28021
|
b("div", phe, [
|
|
28022
28022
|
b("ol", hhe, [
|
|
28023
28023
|
b("li", mhe, [
|
|
28024
|
-
N(te(
|
|
28024
|
+
N(te(po), {
|
|
28025
28025
|
"model-value": i.value.phases,
|
|
28026
28026
|
class: "ao-templates__list",
|
|
28027
28027
|
"item-key": "id",
|
|
@@ -28117,7 +28117,7 @@ const fhe = {
|
|
|
28117
28117
|
onRemoveFile: z
|
|
28118
28118
|
}, {
|
|
28119
28119
|
default: ae((K) => [
|
|
28120
|
-
|
|
28120
|
+
Se(U.$slots, "activityDetailsBody", Ps(Rs(K)))
|
|
28121
28121
|
]),
|
|
28122
28122
|
_: 3
|
|
28123
28123
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : P("", !0)
|
|
@@ -28174,13 +28174,13 @@ const bhe = { class: "ao-card__content" }, Che = {
|
|
|
28174
28174
|
}, null, 4)) : P("", !0),
|
|
28175
28175
|
b("div", bhe, [
|
|
28176
28176
|
e.$slots.header ? (k(), E("header", Che, [
|
|
28177
|
-
|
|
28177
|
+
Se(e.$slots, "header")
|
|
28178
28178
|
])) : P("", !0),
|
|
28179
28179
|
b("div", khe, [
|
|
28180
|
-
|
|
28180
|
+
Se(e.$slots, "default")
|
|
28181
28181
|
]),
|
|
28182
28182
|
e.$slots.footer ? (k(), E("footer", whe, [
|
|
28183
|
-
|
|
28183
|
+
Se(e.$slots, "footer")
|
|
28184
28184
|
])) : P("", !0)
|
|
28185
28185
|
])
|
|
28186
28186
|
]),
|
|
@@ -28325,7 +28325,7 @@ function The(t, e, n, o, r, i) {
|
|
|
28325
28325
|
"div",
|
|
28326
28326
|
{
|
|
28327
28327
|
class: "saturation",
|
|
28328
|
-
onMousedown: e[1] || (e[1] =
|
|
28328
|
+
onMousedown: e[1] || (e[1] = we((...s) => t.selectSaturation && t.selectSaturation(...s), ["prevent", "stop"]))
|
|
28329
28329
|
},
|
|
28330
28330
|
[
|
|
28331
28331
|
N(
|
|
@@ -28411,7 +28411,7 @@ function Dhe(t, e, n, o, r, i) {
|
|
|
28411
28411
|
"div",
|
|
28412
28412
|
{
|
|
28413
28413
|
class: "hue",
|
|
28414
|
-
onMousedown: e[1] || (e[1] =
|
|
28414
|
+
onMousedown: e[1] || (e[1] = we((...s) => t.selectHue && t.selectHue(...s), ["prevent", "stop"]))
|
|
28415
28415
|
},
|
|
28416
28416
|
[
|
|
28417
28417
|
N(
|
|
@@ -28506,7 +28506,7 @@ function Lhe(t, e, n, o, r, i) {
|
|
|
28506
28506
|
"div",
|
|
28507
28507
|
{
|
|
28508
28508
|
class: "color-alpha",
|
|
28509
|
-
onMousedown: e[1] || (e[1] =
|
|
28509
|
+
onMousedown: e[1] || (e[1] = we((...s) => t.selectAlpha && t.selectAlpha(...s), ["prevent", "stop"]))
|
|
28510
28510
|
},
|
|
28511
28511
|
[
|
|
28512
28512
|
N(
|
|
@@ -29054,7 +29054,7 @@ var hi = le({
|
|
|
29054
29054
|
});
|
|
29055
29055
|
const qhe = { class: "color-set" };
|
|
29056
29056
|
function Vhe(t, e, n, o, r, i) {
|
|
29057
|
-
const s =
|
|
29057
|
+
const s = zo("Saturation"), a = zo("Hue"), l = zo("Alpha"), u = zo("Preview"), c = zo("Sucker"), d = zo("Box"), f = zo("Colors");
|
|
29058
29058
|
return k(), J(
|
|
29059
29059
|
"div",
|
|
29060
29060
|
{
|
|
@@ -29130,7 +29130,7 @@ function Vhe(t, e, n, o, r, i) {
|
|
|
29130
29130
|
onSelectColor: t.selectColor
|
|
29131
29131
|
}, null, 8, ["color", "colors-default", "colors-history-key", "onSelectColor"]),
|
|
29132
29132
|
P(" custom options "),
|
|
29133
|
-
|
|
29133
|
+
Se(t.$slots, "default")
|
|
29134
29134
|
],
|
|
29135
29135
|
6
|
|
29136
29136
|
/* CLASS, STYLE */
|
|
@@ -29188,7 +29188,7 @@ const Whe = { class: "color-picker-wrapper" }, na = /* @__PURE__ */ le({
|
|
|
29188
29188
|
!0
|
|
29189
29189
|
);
|
|
29190
29190
|
}), (h, _) => (k(), E("div", Whe, [
|
|
29191
|
-
|
|
29191
|
+
Se(h.$slots, "clickable", {
|
|
29192
29192
|
openPicker: u,
|
|
29193
29193
|
bgColor: l.value
|
|
29194
29194
|
}),
|
|
@@ -29314,7 +29314,7 @@ const Zhe = { class: "ao-card-project-phase__header" }, Khe = { class: "ao-card-
|
|
|
29314
29314
|
color: t.color
|
|
29315
29315
|
}, null, 8, ["percentages", "color"]),
|
|
29316
29316
|
g.$slots.secondary ? (k(), E("div", eme, [
|
|
29317
|
-
|
|
29317
|
+
Se(g.$slots, "secondary")
|
|
29318
29318
|
])) : P("", !0)
|
|
29319
29319
|
])) : P("", !0),
|
|
29320
29320
|
b("div", {
|
|
@@ -29352,7 +29352,7 @@ const Zhe = { class: "ao-card-project-phase__header" }, Khe = { class: "ao-card-
|
|
|
29352
29352
|
"icon-position": "start",
|
|
29353
29353
|
corners: "round",
|
|
29354
29354
|
label: t.active ? g.$t("archive") : g.$t("unarchive"),
|
|
29355
|
-
onClick: v[0] || (v[0] =
|
|
29355
|
+
onClick: v[0] || (v[0] = we(
|
|
29356
29356
|
() => t.active ? g.$emit("archivePhase", { id: t.id }) : g.$emit("unarchivePhase", { id: t.id }),
|
|
29357
29357
|
["stop"]
|
|
29358
29358
|
))
|
|
@@ -29474,7 +29474,7 @@ const rme = { class: "ao-card-project-milestone__default" }, ime = { class: "ao-
|
|
|
29474
29474
|
"icon-position": "start",
|
|
29475
29475
|
corners: "round",
|
|
29476
29476
|
label: t.active ? p.$t("archive") : p.$t("unarchive"),
|
|
29477
|
-
onClick: h[0] || (h[0] =
|
|
29477
|
+
onClick: h[0] || (h[0] = we(
|
|
29478
29478
|
() => t.active ? p.$emit("archiveMilestone", { id: t.id }) : p.$emit("unarchiveMilestone", { id: t.id }),
|
|
29479
29479
|
["stop"]
|
|
29480
29480
|
))
|
|
@@ -29498,7 +29498,7 @@ const rme = { class: "ao-card-project-milestone__default" }, ime = { class: "ao-
|
|
|
29498
29498
|
}, null, 8, ["percentages", "color"])
|
|
29499
29499
|
], 64)) : P("", !0),
|
|
29500
29500
|
p.$slots.secondary ? (k(), E("div", pme, [
|
|
29501
|
-
|
|
29501
|
+
Se(p.$slots, "secondary")
|
|
29502
29502
|
])) : P("", !0)
|
|
29503
29503
|
])
|
|
29504
29504
|
])
|
|
@@ -29654,7 +29654,7 @@ const _me = ["onKeydown"], hl = /* @__PURE__ */ le({
|
|
|
29654
29654
|
ref: s,
|
|
29655
29655
|
class: "ao-popover-menu"
|
|
29656
29656
|
}, v.$attrs), [
|
|
29657
|
-
|
|
29657
|
+
Se(v.$slots, "trigger", {
|
|
29658
29658
|
open: d,
|
|
29659
29659
|
toggle: p
|
|
29660
29660
|
})
|
|
@@ -29667,9 +29667,9 @@ const _me = ["onKeydown"], hl = /* @__PURE__ */ le({
|
|
|
29667
29667
|
class: "ao-popover-menu__menu",
|
|
29668
29668
|
style: Mt(c.value),
|
|
29669
29669
|
role: "menu",
|
|
29670
|
-
onKeydown:
|
|
29670
|
+
onKeydown: ao(we(f, ["stop"]), ["esc"])
|
|
29671
29671
|
}, [
|
|
29672
|
-
|
|
29672
|
+
Se(v.$slots, "menu", { close: f })
|
|
29673
29673
|
], 44, _me)) : P("", !0)
|
|
29674
29674
|
]))
|
|
29675
29675
|
], 64));
|
|
@@ -29887,7 +29887,7 @@ const Ame = ["onKeydown"], Eme = { class: "ao-modal ao-bulk-insert-modal" }, Tme
|
|
|
29887
29887
|
"ao-bulk-insert-modal__wrapper",
|
|
29888
29888
|
`ao-modal__wrapper--${t.size}`
|
|
29889
29889
|
]),
|
|
29890
|
-
onKeydown:
|
|
29890
|
+
onKeydown: ao(we(g, ["stop"]), ["esc"])
|
|
29891
29891
|
}, [
|
|
29892
29892
|
b("div", {
|
|
29893
29893
|
class: "ao-modal__backdrop",
|
|
@@ -29913,7 +29913,7 @@ const Ame = ["onKeydown"], Eme = { class: "ao-modal ao-bulk-insert-modal" }, Tme
|
|
|
29913
29913
|
b("div", Mme, [
|
|
29914
29914
|
b("form", {
|
|
29915
29915
|
class: "ao-bulk-insert-modal__form",
|
|
29916
|
-
onSubmit:
|
|
29916
|
+
onSubmit: we(v, ["prevent"])
|
|
29917
29917
|
}, [
|
|
29918
29918
|
t.hint ? (k(), E("p", Lme, B(t.hint), 1)) : P("", !0),
|
|
29919
29919
|
tt(b("textarea", {
|
|
@@ -30127,7 +30127,7 @@ const Vme = { class: "ao-mapping-card-project-phase__header" }, Wme = { class: "
|
|
|
30127
30127
|
color: h.value
|
|
30128
30128
|
}, null, 8, ["percentages", "color"]),
|
|
30129
30129
|
g.$slots.secondary ? (k(), E("div", Xme, [
|
|
30130
|
-
|
|
30130
|
+
Se(g.$slots, "secondary")
|
|
30131
30131
|
])) : P("", !0)
|
|
30132
30132
|
])) : P("", !0),
|
|
30133
30133
|
b("div", {
|
|
@@ -30165,7 +30165,7 @@ const Vme = { class: "ao-mapping-card-project-phase__header" }, Wme = { class: "
|
|
|
30165
30165
|
"icon-position": "start",
|
|
30166
30166
|
corners: "round",
|
|
30167
30167
|
label: t.active ? g.$t("archive") : g.$t("unarchive"),
|
|
30168
|
-
onClick: v[0] || (v[0] =
|
|
30168
|
+
onClick: v[0] || (v[0] = we(
|
|
30169
30169
|
() => t.active ? g.$emit("archivePhase", { id: t.id }) : g.$emit("unarchivePhase", { id: t.id }),
|
|
30170
30170
|
["stop"]
|
|
30171
30171
|
))
|
|
@@ -30209,7 +30209,7 @@ const tge = { class: "ao-project-phase" }, nge = {
|
|
|
30209
30209
|
Ne(
|
|
30210
30210
|
() => o.phase.milestones,
|
|
30211
30211
|
(T, A) => {
|
|
30212
|
-
|
|
30212
|
+
Ao(T, A);
|
|
30213
30213
|
}
|
|
30214
30214
|
);
|
|
30215
30215
|
const i = (T) => {
|
|
@@ -30367,7 +30367,7 @@ const tge = { class: "ao-project-phase" }, nge = {
|
|
|
30367
30367
|
]),
|
|
30368
30368
|
_: 1
|
|
30369
30369
|
}, 8, ["class"])) : P("", !0),
|
|
30370
|
-
N(te(
|
|
30370
|
+
N(te(po), Wt({
|
|
30371
30371
|
class: "ao-project-phase__milestones-list",
|
|
30372
30372
|
list: l.value,
|
|
30373
30373
|
disabled: t.readonly || !t.isEditable,
|
|
@@ -30448,7 +30448,7 @@ const dge = { class: "ao-project__phases" }, fge = {
|
|
|
30448
30448
|
setup(t, { emit: e }) {
|
|
30449
30449
|
const n = t, o = e;
|
|
30450
30450
|
Ne(() => n.phases, (p, h) => {
|
|
30451
|
-
|
|
30451
|
+
Ao(p, h);
|
|
30452
30452
|
});
|
|
30453
30453
|
const r = (p) => {
|
|
30454
30454
|
o("addMilestone", p);
|
|
@@ -30476,7 +30476,7 @@ const dge = { class: "ao-project__phases" }, fge = {
|
|
|
30476
30476
|
o("addPhase", p);
|
|
30477
30477
|
};
|
|
30478
30478
|
return (p, h) => (k(), E("div", dge, [
|
|
30479
|
-
N(te(
|
|
30479
|
+
N(te(po), {
|
|
30480
30480
|
class: "ao-project-phase__phases-list",
|
|
30481
30481
|
"model-value": t.phases,
|
|
30482
30482
|
"item-key": "id",
|
|
@@ -30545,7 +30545,7 @@ const hge = { class: "ao-add-template-modal__form-body" }, mge = { class: "field
|
|
|
30545
30545
|
default: ae(() => [
|
|
30546
30546
|
b("form", {
|
|
30547
30547
|
class: "ao-add-template-modal__form",
|
|
30548
|
-
onSubmit:
|
|
30548
|
+
onSubmit: we(a, ["prevent"])
|
|
30549
30549
|
}, [
|
|
30550
30550
|
b("p", null, B(l.$t("project.template.apply.notice")), 1),
|
|
30551
30551
|
b("div", hge, [
|
|
@@ -30597,7 +30597,7 @@ const vge = { class: "ao-save-template-modal__form-body" }, yge = { class: "fiel
|
|
|
30597
30597
|
default: ae(() => [
|
|
30598
30598
|
b("form", {
|
|
30599
30599
|
class: "ao-save-template-modal__form",
|
|
30600
|
-
onSubmit:
|
|
30600
|
+
onSubmit: we(s, ["prevent"])
|
|
30601
30601
|
}, [
|
|
30602
30602
|
b("div", vge, [
|
|
30603
30603
|
b("div", yge, [
|
|
@@ -30757,7 +30757,7 @@ const Age = { class: "ao-project" }, Ege = ["onClick"], Tge = ["onClick"], $ge =
|
|
|
30757
30757
|
W === "feed" ? (ge.push({ name: nt.feed }), console.log("Navigating to feed...")) : W === "dev" ? (ge.push({ name: nt.dev }), console.log("Navigating to dev...")) : W === "overview" ? (ge.push({ name: nt.project }), console.log("Navigating to feed...")) : W === "mapping" && (ge.push({ name: nt.mapping }), console.log("Navigating to feed..."));
|
|
30758
30758
|
}), (W, ve) => {
|
|
30759
30759
|
var st;
|
|
30760
|
-
const He =
|
|
30760
|
+
const He = zo("RouterView");
|
|
30761
30761
|
return k(), E($e, null, [
|
|
30762
30762
|
b("div", Wt({ class: "ao-project-overview" }, W.$attrs), [
|
|
30763
30763
|
b("div", Age, [
|
|
@@ -30904,7 +30904,7 @@ const Age = { class: "ao-project" }, Ege = ["onClick"], Tge = ["onClick"], $ge =
|
|
|
30904
30904
|
default: ae(({ Component: Ue }) => [
|
|
30905
30905
|
(k(), J(Br(Ue), null, {
|
|
30906
30906
|
default: ae((Pe) => [
|
|
30907
|
-
|
|
30907
|
+
Se(W.$slots, "activityDetailsBody", Ps(Rs(Pe)))
|
|
30908
30908
|
]),
|
|
30909
30909
|
_: 3
|
|
30910
30910
|
}))
|
|
@@ -30961,7 +30961,7 @@ const Mge = ["disabled"], Lge = { class: "ao-priority-badge__value" }, Ra = /* @
|
|
|
30961
30961
|
t.clickable ? "ao-priority-badge--clickable" : ""
|
|
30962
30962
|
]),
|
|
30963
30963
|
disabled: !t.clickable,
|
|
30964
|
-
onClick:
|
|
30964
|
+
onClick: we(o, ["stop"])
|
|
30965
30965
|
}, [
|
|
30966
30966
|
b("span", Lge, B(t.priority), 1),
|
|
30967
30967
|
i[0] || (i[0] = b("span", { class: "ao-priority-badge__hover" }, "+", -1))
|
|
@@ -31090,7 +31090,7 @@ const Oge = { class: "ao-card-feed__header" }, Ige = {
|
|
|
31090
31090
|
})) : P("", !0)
|
|
31091
31091
|
])) : P("", !0),
|
|
31092
31092
|
g.$slots.secondary ? (k(), E("div", Nge, [
|
|
31093
|
-
|
|
31093
|
+
Se(g.$slots, "secondary")
|
|
31094
31094
|
])) : P("", !0)
|
|
31095
31095
|
])
|
|
31096
31096
|
]),
|
|
@@ -31162,7 +31162,7 @@ const Oge = { class: "ao-card-feed__header" }, Ige = {
|
|
|
31162
31162
|
name: "TimerOutline",
|
|
31163
31163
|
class: "ao-card-feed__timer",
|
|
31164
31164
|
size: "md",
|
|
31165
|
-
onClick:
|
|
31165
|
+
onClick: we(f, ["stop"])
|
|
31166
31166
|
})
|
|
31167
31167
|
])
|
|
31168
31168
|
]),
|
|
@@ -31238,7 +31238,7 @@ const o0e = { class: "ao-project-milestone" }, r0e = { class: "ao-project-milest
|
|
|
31238
31238
|
Ne(
|
|
31239
31239
|
u,
|
|
31240
31240
|
(A, M) => {
|
|
31241
|
-
|
|
31241
|
+
Ao(
|
|
31242
31242
|
A,
|
|
31243
31243
|
M
|
|
31244
31244
|
);
|
|
@@ -31497,7 +31497,7 @@ const o0e = { class: "ao-project-milestone" }, r0e = { class: "ao-project-milest
|
|
|
31497
31497
|
])) : P("", !0)
|
|
31498
31498
|
]),
|
|
31499
31499
|
b("div", y0e, [
|
|
31500
|
-
N(te(
|
|
31500
|
+
N(te(po), Wt({
|
|
31501
31501
|
class: "ao-project-milestone__activities",
|
|
31502
31502
|
list: u.value,
|
|
31503
31503
|
disabled: !t.isEditable,
|
|
@@ -31552,7 +31552,7 @@ const o0e = { class: "ao-project-milestone" }, r0e = { class: "ao-project-milest
|
|
|
31552
31552
|
"icon-position": "start",
|
|
31553
31553
|
corners: "round",
|
|
31554
31554
|
label: A.$t("archive"),
|
|
31555
|
-
onClick:
|
|
31555
|
+
onClick: we(
|
|
31556
31556
|
() => A.$emit("archiveActivity", { id: R.id }),
|
|
31557
31557
|
["stop"]
|
|
31558
31558
|
)
|
|
@@ -31566,7 +31566,7 @@ const o0e = { class: "ao-project-milestone" }, r0e = { class: "ao-project-milest
|
|
|
31566
31566
|
"icon-position": "start",
|
|
31567
31567
|
corners: "round",
|
|
31568
31568
|
label: A.$t("feed.activity.unarchive"),
|
|
31569
|
-
onClick:
|
|
31569
|
+
onClick: we(
|
|
31570
31570
|
() => A.$emit("unarchiveActivity", { id: R.id }),
|
|
31571
31571
|
["stop"]
|
|
31572
31572
|
)
|
|
@@ -31717,7 +31717,7 @@ const k0e = /* @__PURE__ */ le({
|
|
|
31717
31717
|
onFetchHistory: m[1] || (m[1] = () => o("fetchHistory"))
|
|
31718
31718
|
}, {
|
|
31719
31719
|
default: ae((S) => [
|
|
31720
|
-
|
|
31720
|
+
Se(v.$slots, "default", Ps(Rs(S)))
|
|
31721
31721
|
]),
|
|
31722
31722
|
_: 3
|
|
31723
31723
|
}, 8, ["activity", "activity-types", "dev-statuses", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "load-attachment-preview", "sprints", "history", "history-loading", "onClose"])) : P("", !0);
|
|
@@ -31913,7 +31913,7 @@ const N0e = {
|
|
|
31913
31913
|
});
|
|
31914
31914
|
}, c = ee(!1);
|
|
31915
31915
|
return (d, f) => (k(), E("div", N0e, [
|
|
31916
|
-
t.title || d.$slots.header ?
|
|
31916
|
+
t.title || d.$slots.header ? Se(d.$slots, "header", {}, () => {
|
|
31917
31917
|
var p;
|
|
31918
31918
|
return [
|
|
31919
31919
|
b("div", P0e, [
|
|
@@ -31935,7 +31935,7 @@ const N0e = {
|
|
|
31935
31935
|
])
|
|
31936
31936
|
];
|
|
31937
31937
|
}, void 0, 0) : P("", !0),
|
|
31938
|
-
N(te(
|
|
31938
|
+
N(te(po), Wt({
|
|
31939
31939
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
31940
31940
|
list: t.list,
|
|
31941
31941
|
"item-key": "id",
|
|
@@ -31997,7 +31997,7 @@ const N0e = {
|
|
|
31997
31997
|
"icon-position": "start",
|
|
31998
31998
|
corners: "round",
|
|
31999
31999
|
label: d.$t("feed.activity.archive"),
|
|
32000
|
-
onClick:
|
|
32000
|
+
onClick: we(() => d.$emit("archiveActivity", { id: p.id }), ["stop"])
|
|
32001
32001
|
}, null, 8, ["label", "onClick"])) : P("", !0),
|
|
32002
32002
|
s(p) && !p.active ? (k(), J(xe, {
|
|
32003
32003
|
key: 1,
|
|
@@ -32008,7 +32008,7 @@ const N0e = {
|
|
|
32008
32008
|
"icon-position": "start",
|
|
32009
32009
|
corners: "round",
|
|
32010
32010
|
label: d.$t("feed.activity.unarchive"),
|
|
32011
|
-
onClick:
|
|
32011
|
+
onClick: we(() => d.$emit("unarchiveActivity", { id: p.id }), ["stop"])
|
|
32012
32012
|
}, null, 8, ["label", "onClick"])) : P("", !0)
|
|
32013
32013
|
]),
|
|
32014
32014
|
_: 2
|
|
@@ -32030,7 +32030,7 @@ const N0e = {
|
|
|
32030
32030
|
_: 1
|
|
32031
32031
|
}, 16, ["class", "list", "disabled"]),
|
|
32032
32032
|
d.$slots.footer || t.footerLabel ? (k(), E("div", z0e, [
|
|
32033
|
-
|
|
32033
|
+
Se(d.$slots, "footer", {}, () => [
|
|
32034
32034
|
t.isEditable ? (k(), J(or, {
|
|
32035
32035
|
key: 0,
|
|
32036
32036
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -32065,7 +32065,7 @@ const q0e = { class: "ao-field ao-search-field" }, V0e = ["value", "placeholder"
|
|
|
32065
32065
|
placeholder: t.placeholder,
|
|
32066
32066
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
32067
32067
|
(...u) => te(i) && te(i)(...u)),
|
|
32068
|
-
onKeypress:
|
|
32068
|
+
onKeypress: ao(r, ["enter"])
|
|
32069
32069
|
}, null, 40, V0e),
|
|
32070
32070
|
N(Re, {
|
|
32071
32071
|
name: "SearchRounded",
|
|
@@ -32295,7 +32295,7 @@ const Z0e = { class: "ao-sprint-metrics" }, K0e = ["onClick"], G0e = { class: "a
|
|
|
32295
32295
|
])
|
|
32296
32296
|
])
|
|
32297
32297
|
], 512), [
|
|
32298
|
-
[
|
|
32298
|
+
[Wo, !i.value.has(x.id)]
|
|
32299
32299
|
])
|
|
32300
32300
|
]);
|
|
32301
32301
|
}), 128))
|
|
@@ -32357,7 +32357,7 @@ const Mve = /* @__PURE__ */ fe(Dve, [["__scopeId", "data-v-f3ddff2c"]]), Lve = {
|
|
|
32357
32357
|
return (mt == null ? void 0 : mt.id) === ot.id;
|
|
32358
32358
|
})
|
|
32359
32359
|
])
|
|
32360
|
-
), De && !d.value ? (u(De, null), d.value = !0) : Ee && !d.value && (u(null, Ee), d.value = !0), f.value &&
|
|
32360
|
+
), De && !d.value ? (u(De, null), d.value = !0) : Ee && !d.value && (u(null, Ee), d.value = !0), f.value && Ao(ye, We);
|
|
32361
32361
|
},
|
|
32362
32362
|
{ immediate: !0 }
|
|
32363
32363
|
);
|
|
@@ -32669,7 +32669,7 @@ const Mve = /* @__PURE__ */ fe(Dve, [["__scopeId", "data-v-f3ddff2c"]]), Lve = {
|
|
|
32669
32669
|
onCreateSprint: ye[10] || (ye[10] = (Ee) => r("createSprint", Ee))
|
|
32670
32670
|
}, {
|
|
32671
32671
|
default: ae((Ee) => [
|
|
32672
|
-
|
|
32672
|
+
Se(Z.$slots, "activityDetailsBody", Ps(Rs(Ee)))
|
|
32673
32673
|
]),
|
|
32674
32674
|
_: 3
|
|
32675
32675
|
}, 8, ["activity", "activity-types", "dev-statuses", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "history", "history-loading", "load-attachment-preview", "sprints"])) : P("", !0)
|
|
@@ -32829,7 +32829,7 @@ const si = {
|
|
|
32829
32829
|
TEMPLATES: "templates",
|
|
32830
32830
|
TEMPLATE_DETAILS: "template_details",
|
|
32831
32831
|
TEMPLATES_LIST: "templates_list"
|
|
32832
|
-
},
|
|
32832
|
+
}, Yye = (t, e = {}) => [
|
|
32833
32833
|
{
|
|
32834
32834
|
path: t,
|
|
32835
32835
|
name: si.TEMPLATES,
|
|
@@ -32859,7 +32859,7 @@ const si = {
|
|
|
32859
32859
|
}, ei = {
|
|
32860
32860
|
feed: "ActivityFeed",
|
|
32861
32861
|
dev: "ActivityFeedDev"
|
|
32862
|
-
},
|
|
32862
|
+
}, Jye = (t, e = {}) => [
|
|
32863
32863
|
{
|
|
32864
32864
|
path: t,
|
|
32865
32865
|
...e,
|
|
@@ -32923,7 +32923,7 @@ const si = {
|
|
|
32923
32923
|
setup(t, { emit: e }) {
|
|
32924
32924
|
const { t: n } = pt(), o = t, r = e;
|
|
32925
32925
|
Ne(() => o.templates, (u, c) => {
|
|
32926
|
-
|
|
32926
|
+
Ao(u, c);
|
|
32927
32927
|
});
|
|
32928
32928
|
const i = () => {
|
|
32929
32929
|
var p, h;
|
|
@@ -32976,7 +32976,7 @@ const si = {
|
|
|
32976
32976
|
]),
|
|
32977
32977
|
_: 1
|
|
32978
32978
|
}),
|
|
32979
|
-
N(te(
|
|
32979
|
+
N(te(po), {
|
|
32980
32980
|
"model-value": t.templates,
|
|
32981
32981
|
class: "ao-templates__list",
|
|
32982
32982
|
"item-key": "id",
|
|
@@ -33019,10 +33019,10 @@ const jve = { class: "ao-field__label" }, qve = /* @__PURE__ */ le({
|
|
|
33019
33019
|
class: me(["ao-field", { "ao-field--multiselect": t.isMultiselect }])
|
|
33020
33020
|
}, [
|
|
33021
33021
|
b("span", jve, B(t.label), 1),
|
|
33022
|
-
|
|
33022
|
+
Se(e.$slots, "default")
|
|
33023
33023
|
], 2));
|
|
33024
33024
|
}
|
|
33025
|
-
}), Vve = ["type", "value", "disabled", "readonly"],
|
|
33025
|
+
}), Vve = ["type", "value", "disabled", "readonly"], Xye = /* @__PURE__ */ le({
|
|
33026
33026
|
__name: "AoInputField",
|
|
33027
33027
|
props: {
|
|
33028
33028
|
label: { default: "" },
|
|
@@ -33102,7 +33102,7 @@ const jve = { class: "ao-field__label" }, qve = /* @__PURE__ */ le({
|
|
|
33102
33102
|
}, d2e = { class: "ao-audit-config__option" }, f2e = ["title"], p2e = {
|
|
33103
33103
|
key: 0,
|
|
33104
33104
|
class: "ao-audit-config__all-tracked"
|
|
33105
|
-
},
|
|
33105
|
+
}, Qye = /* @__PURE__ */ le({
|
|
33106
33106
|
__name: "AoAuditConfigTable",
|
|
33107
33107
|
props: {
|
|
33108
33108
|
tables: {},
|
|
@@ -33206,16 +33206,16 @@ const jve = { class: "ao-field__label" }, qve = /* @__PURE__ */ le({
|
|
|
33206
33206
|
const h2e = {
|
|
33207
33207
|
key: 0,
|
|
33208
33208
|
class: "ao-activity-inline__drag-handle"
|
|
33209
|
-
}, m2e = { class: "ao-activity-inline__title" },
|
|
33209
|
+
}, m2e = ["onKeydown"], g2e = { class: "ao-activity-inline__title" }, v2e = { class: "ao-activity-inline__name" }, y2e = { class: "ao-activity-inline__assignee" }, _2e = {
|
|
33210
33210
|
key: 1,
|
|
33211
33211
|
class: "ao-activity-inline__unassigned"
|
|
33212
|
-
},
|
|
33212
|
+
}, b2e = { class: "ao-activity-inline__estimation" }, C2e = { class: "ao-activity-inline__status" }, k2e = { class: "ao-activity-inline__title" }, w2e = { class: "ao-activity-inline__name" }, S2e = { class: "ao-activity-inline__assignee" }, x2e = {
|
|
33213
33213
|
key: 1,
|
|
33214
33214
|
class: "ao-activity-inline__unassigned"
|
|
33215
|
-
},
|
|
33215
|
+
}, A2e = { class: "ao-activity-inline__estimation" }, E2e = { class: "ao-activity-inline__status" }, T2e = {
|
|
33216
33216
|
key: 3,
|
|
33217
33217
|
class: "ao-activity-inline__content ao-activity-inline--disabled"
|
|
33218
|
-
},
|
|
33218
|
+
}, $2e = { class: "ao-activity-inline__title" }, D2e = { class: "ao-activity-inline__name" }, M2e = { class: "ao-activity-inline__assignee" }, L2e = { key: 1 }, O2e = { class: "ao-activity-inline__estimation" }, I2e = { class: "ao-activity-inline__status" }, N2e = /* @__PURE__ */ le({
|
|
33219
33219
|
__name: "AoActivityInline",
|
|
33220
33220
|
props: {
|
|
33221
33221
|
activity: {},
|
|
@@ -33257,114 +33257,119 @@ const h2e = {
|
|
|
33257
33257
|
t.isDraggable ? (k(), E("div", h2e, [
|
|
33258
33258
|
N(Re, { name: "DragIndicator" })
|
|
33259
33259
|
])) : P("", !0),
|
|
33260
|
-
t.clickable ? (k(), E("
|
|
33260
|
+
t.clickable ? (k(), E("div", {
|
|
33261
33261
|
key: 1,
|
|
33262
|
-
type: "button",
|
|
33263
33262
|
class: "ao-activity-inline__content",
|
|
33264
|
-
|
|
33263
|
+
role: "button",
|
|
33264
|
+
tabindex: "0",
|
|
33265
|
+
onClick: we(r, ["stop"]),
|
|
33266
|
+
onKeydown: [
|
|
33267
|
+
ao(we(r, ["stop"]), ["enter"]),
|
|
33268
|
+
ao(we(r, ["prevent", "stop"]), ["space"])
|
|
33269
|
+
]
|
|
33265
33270
|
}, [
|
|
33266
|
-
b("div",
|
|
33271
|
+
b("div", g2e, [
|
|
33267
33272
|
t.showMilestone && t.activity.milestone ? (k(), E("span", {
|
|
33268
33273
|
key: 0,
|
|
33269
33274
|
class: "ao-activity-inline__milestone",
|
|
33270
33275
|
style: Mt({ "--milestone-color": t.activity.milestone.color || void 0 })
|
|
33271
33276
|
}, B(t.activity.milestone.name), 5)) : P("", !0),
|
|
33272
|
-
b("span",
|
|
33277
|
+
b("span", v2e, B(t.activity.name), 1)
|
|
33273
33278
|
]),
|
|
33274
|
-
b("div",
|
|
33279
|
+
b("div", y2e, [
|
|
33275
33280
|
t.activity.assignee ? (k(), J(Pn, {
|
|
33276
33281
|
key: 0,
|
|
33277
33282
|
"user-name": s.value,
|
|
33278
33283
|
"avatar-url": t.activity.assignee.avatarUrl,
|
|
33279
|
-
size: "
|
|
33284
|
+
size: "md",
|
|
33280
33285
|
color: "neutral"
|
|
33281
|
-
}, null, 8, ["user-name", "avatar-url"])) : (k(), E("span",
|
|
33286
|
+
}, null, 8, ["user-name", "avatar-url"])) : (k(), E("span", _2e, " — ")),
|
|
33282
33287
|
t.activity.priority ? (k(), J(Ra, {
|
|
33283
33288
|
key: 2,
|
|
33284
33289
|
priority: t.activity.priority
|
|
33285
33290
|
}, null, 8, ["priority"])) : P("", !0)
|
|
33286
33291
|
]),
|
|
33287
|
-
b("div",
|
|
33292
|
+
b("div", b2e, [
|
|
33288
33293
|
t.activity.estimation != null ? (k(), E($e, { key: 0 }, [
|
|
33289
33294
|
fn(B(t.activity.estimation) + B(u.value), 1)
|
|
33290
33295
|
], 64)) : (k(), E($e, { key: 1 }, [
|
|
33291
33296
|
fn(" — ")
|
|
33292
33297
|
], 64))
|
|
33293
33298
|
]),
|
|
33294
|
-
b("div",
|
|
33295
|
-
])) : i.value ? (k(), J(te(fv), {
|
|
33299
|
+
b("div", C2e, B(a.value), 1)
|
|
33300
|
+
], 40, m2e)) : i.value ? (k(), J(te(fv), {
|
|
33296
33301
|
key: 2,
|
|
33297
33302
|
to: i.value,
|
|
33298
33303
|
class: "ao-activity-inline__content"
|
|
33299
33304
|
}, {
|
|
33300
33305
|
default: ae(() => [
|
|
33301
|
-
b("div",
|
|
33306
|
+
b("div", k2e, [
|
|
33302
33307
|
t.showMilestone && t.activity.milestone ? (k(), E("span", {
|
|
33303
33308
|
key: 0,
|
|
33304
33309
|
class: "ao-activity-inline__milestone",
|
|
33305
33310
|
style: Mt({ "--milestone-color": t.activity.milestone.color || void 0 })
|
|
33306
33311
|
}, B(t.activity.milestone.name), 5)) : P("", !0),
|
|
33307
|
-
b("span",
|
|
33312
|
+
b("span", w2e, B(t.activity.name), 1)
|
|
33308
33313
|
]),
|
|
33309
|
-
b("div",
|
|
33314
|
+
b("div", S2e, [
|
|
33310
33315
|
t.activity.assignee ? (k(), J(Pn, {
|
|
33311
33316
|
key: 0,
|
|
33312
33317
|
"user-name": s.value,
|
|
33313
33318
|
"avatar-url": t.activity.assignee.avatarUrl,
|
|
33314
33319
|
size: "sm",
|
|
33315
33320
|
color: "neutral"
|
|
33316
|
-
}, null, 8, ["user-name", "avatar-url"])) : (k(), E("span",
|
|
33321
|
+
}, null, 8, ["user-name", "avatar-url"])) : (k(), E("span", x2e, " — ")),
|
|
33317
33322
|
t.activity.priority ? (k(), J(Ra, {
|
|
33318
33323
|
key: 2,
|
|
33319
33324
|
priority: t.activity.priority
|
|
33320
33325
|
}, null, 8, ["priority"])) : P("", !0)
|
|
33321
33326
|
]),
|
|
33322
|
-
b("div",
|
|
33327
|
+
b("div", A2e, [
|
|
33323
33328
|
t.activity.estimation != null ? (k(), E($e, { key: 0 }, [
|
|
33324
33329
|
fn(B(t.activity.estimation) + B(u.value), 1)
|
|
33325
33330
|
], 64)) : (k(), E($e, { key: 1 }, [
|
|
33326
33331
|
fn(" — ")
|
|
33327
33332
|
], 64))
|
|
33328
33333
|
]),
|
|
33329
|
-
b("div",
|
|
33334
|
+
b("div", E2e, B(a.value), 1)
|
|
33330
33335
|
]),
|
|
33331
33336
|
_: 1
|
|
33332
|
-
}, 8, ["to"])) : (k(), E("div",
|
|
33333
|
-
b("div",
|
|
33334
|
-
b("span",
|
|
33337
|
+
}, 8, ["to"])) : (k(), E("div", T2e, [
|
|
33338
|
+
b("div", $2e, [
|
|
33339
|
+
b("span", D2e, B(t.activity.name), 1)
|
|
33335
33340
|
]),
|
|
33336
|
-
b("div",
|
|
33341
|
+
b("div", M2e, [
|
|
33337
33342
|
t.activity.assignee ? (k(), J(Pn, {
|
|
33338
33343
|
key: 0,
|
|
33339
33344
|
"user-name": s.value,
|
|
33340
33345
|
"avatar-url": t.activity.assignee.avatarUrl,
|
|
33341
33346
|
size: "sm",
|
|
33342
33347
|
color: "neutral"
|
|
33343
|
-
}, null, 8, ["user-name", "avatar-url"])) : (k(), E("span",
|
|
33348
|
+
}, null, 8, ["user-name", "avatar-url"])) : (k(), E("span", L2e, "—")),
|
|
33344
33349
|
t.activity.priority ? (k(), J(Ra, {
|
|
33345
33350
|
key: 2,
|
|
33346
33351
|
priority: t.activity.priority
|
|
33347
33352
|
}, null, 8, ["priority"])) : P("", !0)
|
|
33348
33353
|
]),
|
|
33349
|
-
b("div",
|
|
33354
|
+
b("div", O2e, [
|
|
33350
33355
|
t.activity.estimation != null ? (k(), E($e, { key: 0 }, [
|
|
33351
33356
|
fn(B(t.activity.estimation) + B(u.value), 1)
|
|
33352
33357
|
], 64)) : (k(), E($e, { key: 1 }, [
|
|
33353
33358
|
fn(" — ")
|
|
33354
33359
|
], 64))
|
|
33355
33360
|
]),
|
|
33356
|
-
b("div",
|
|
33361
|
+
b("div", I2e, B(a.value), 1)
|
|
33357
33362
|
]))
|
|
33358
33363
|
], 2));
|
|
33359
33364
|
}
|
|
33360
33365
|
});
|
|
33361
|
-
const Z0 = /* @__PURE__ */ fe(
|
|
33366
|
+
const Z0 = /* @__PURE__ */ fe(N2e, [["__scopeId", "data-v-f7964431"]]), P2e = { class: "ao-sprint-section__header-left" }, R2e = { class: "ao-sprint-section__expand-icon" }, F2e = { class: "ao-sprint-section__title" }, B2e = {
|
|
33362
33367
|
key: 0,
|
|
33363
33368
|
class: "ao-sprint-section__archived-badge"
|
|
33364
|
-
},
|
|
33369
|
+
}, U2e = { class: "ao-sprint-section__header-right" }, H2e = { class: "ao-sprint-section__dates" }, z2e = { class: "ao-sprint-section__meta" }, j2e = ["title"], q2e = ["onClick"], V2e = { class: "ao-sprint-section__edit-title" }, W2e = { class: "ao-sprint-section__fixed-number" }, Z2e = { class: "ao-sprint-section__date-fields" }, K2e = { class: "ao-sprint-section__actions" }, G2e = { class: "ao-sprint-section__content" }, Y2e = {
|
|
33365
33370
|
key: 0,
|
|
33366
33371
|
class: "ao-sprint-section__empty"
|
|
33367
|
-
},
|
|
33372
|
+
}, J2e = /* @__PURE__ */ le({
|
|
33368
33373
|
__name: "AoSprintSection",
|
|
33369
33374
|
props: {
|
|
33370
33375
|
sprint: {},
|
|
@@ -33499,7 +33504,7 @@ const Z0 = /* @__PURE__ */ fe(I2e, [["__scopeId", "data-v-04889c01"]]), N2e = {
|
|
|
33499
33504
|
a.value ? (k(), E("div", {
|
|
33500
33505
|
key: 1,
|
|
33501
33506
|
class: "ao-sprint-section__edit",
|
|
33502
|
-
onClick: x[6] || (x[6] =
|
|
33507
|
+
onClick: x[6] || (x[6] = we(() => {
|
|
33503
33508
|
}, ["stop"]))
|
|
33504
33509
|
}, [
|
|
33505
33510
|
N(na, {
|
|
@@ -33512,12 +33517,12 @@ const Z0 = /* @__PURE__ */ fe(I2e, [["__scopeId", "data-v-04889c01"]]), N2e = {
|
|
|
33512
33517
|
style: Mt({ backgroundColor: U }),
|
|
33513
33518
|
title: "Sprint color",
|
|
33514
33519
|
onClick: (Y) => z(Y.currentTarget)
|
|
33515
|
-
}, null, 12,
|
|
33520
|
+
}, null, 12, q2e)
|
|
33516
33521
|
]),
|
|
33517
33522
|
_: 1
|
|
33518
33523
|
}, 8, ["color"]),
|
|
33519
|
-
b("div",
|
|
33520
|
-
b("span",
|
|
33524
|
+
b("div", V2e, [
|
|
33525
|
+
b("span", W2e, " Sprint " + B(t.sprint.number) + ": ", 1),
|
|
33521
33526
|
tt(b("input", {
|
|
33522
33527
|
"onUpdate:modelValue": x[3] || (x[3] = (z) => u.value.label = z),
|
|
33523
33528
|
type: "text",
|
|
@@ -33527,7 +33532,7 @@ const Z0 = /* @__PURE__ */ fe(I2e, [["__scopeId", "data-v-04889c01"]]), N2e = {
|
|
|
33527
33532
|
[Tt, u.value.label]
|
|
33528
33533
|
])
|
|
33529
33534
|
]),
|
|
33530
|
-
b("div",
|
|
33535
|
+
b("div", Z2e, [
|
|
33531
33536
|
tt(b("input", {
|
|
33532
33537
|
"onUpdate:modelValue": x[4] || (x[4] = (z) => u.value.startDate = z),
|
|
33533
33538
|
type: "date",
|
|
@@ -33544,7 +33549,7 @@ const Z0 = /* @__PURE__ */ fe(I2e, [["__scopeId", "data-v-04889c01"]]), N2e = {
|
|
|
33544
33549
|
[Tt, u.value.endDate]
|
|
33545
33550
|
])
|
|
33546
33551
|
]),
|
|
33547
|
-
b("div",
|
|
33552
|
+
b("div", K2e, [
|
|
33548
33553
|
N(xe, {
|
|
33549
33554
|
color: "success",
|
|
33550
33555
|
variant: "ghost",
|
|
@@ -33568,31 +33573,31 @@ const Z0 = /* @__PURE__ */ fe(I2e, [["__scopeId", "data-v-04889c01"]]), N2e = {
|
|
|
33568
33573
|
class: "ao-sprint-section__header",
|
|
33569
33574
|
onClick: A
|
|
33570
33575
|
}, [
|
|
33571
|
-
b("div",
|
|
33572
|
-
b("span",
|
|
33576
|
+
b("div", P2e, [
|
|
33577
|
+
b("span", R2e, B(s.value ? "▾" : "▸"), 1),
|
|
33573
33578
|
b("span", {
|
|
33574
33579
|
class: "ao-sprint-section__color-dot",
|
|
33575
33580
|
style: Mt({
|
|
33576
33581
|
backgroundColor: t.sprint.color || "var(--ao-color-primary-base)"
|
|
33577
33582
|
})
|
|
33578
33583
|
}, null, 4),
|
|
33579
|
-
b("span",
|
|
33580
|
-
t.sprint.active ? P("", !0) : (k(), E("span",
|
|
33584
|
+
b("span", F2e, B(c.value), 1),
|
|
33585
|
+
t.sprint.active ? P("", !0) : (k(), E("span", B2e, " Archived "))
|
|
33581
33586
|
]),
|
|
33582
|
-
b("div",
|
|
33583
|
-
b("span",
|
|
33584
|
-
b("span",
|
|
33587
|
+
b("div", U2e, [
|
|
33588
|
+
b("span", H2e, B(d.value), 1),
|
|
33589
|
+
b("span", z2e, B(f.value) + " " + B(f.value === 1 ? "activity" : "activities"), 1),
|
|
33585
33590
|
w.value ? (k(), E("span", {
|
|
33586
33591
|
key: 0,
|
|
33587
33592
|
class: me(["ao-sprint-section__capacity", {
|
|
33588
33593
|
"ao-sprint-section__capacity--over": S.value
|
|
33589
33594
|
}]),
|
|
33590
33595
|
title: $.value
|
|
33591
|
-
}, B(w.value), 11,
|
|
33596
|
+
}, B(w.value), 11, j2e)) : P("", !0),
|
|
33592
33597
|
t.isEditable ? (k(), E("div", {
|
|
33593
33598
|
key: 1,
|
|
33594
33599
|
class: "ao-sprint-section__actions",
|
|
33595
|
-
onClick: x[1] || (x[1] =
|
|
33600
|
+
onClick: x[1] || (x[1] = we(() => {
|
|
33596
33601
|
}, ["stop"]))
|
|
33597
33602
|
}, [
|
|
33598
33603
|
N(xe, {
|
|
@@ -33615,8 +33620,8 @@ const Z0 = /* @__PURE__ */ fe(I2e, [["__scopeId", "data-v-04889c01"]]), N2e = {
|
|
|
33615
33620
|
])) : P("", !0)
|
|
33616
33621
|
])
|
|
33617
33622
|
])),
|
|
33618
|
-
tt(b("div",
|
|
33619
|
-
N(te(
|
|
33623
|
+
tt(b("div", G2e, [
|
|
33624
|
+
N(te(po), {
|
|
33620
33625
|
list: t.activities,
|
|
33621
33626
|
class: "ao-sprint-section__draggable",
|
|
33622
33627
|
group: "sprint-planning-activities",
|
|
@@ -33636,23 +33641,23 @@ const Z0 = /* @__PURE__ */ fe(I2e, [["__scopeId", "data-v-04889c01"]]), N2e = {
|
|
|
33636
33641
|
]),
|
|
33637
33642
|
_: 1
|
|
33638
33643
|
}, 8, ["list", "disabled"]),
|
|
33639
|
-
t.activities.length === 0 ? (k(), E("div",
|
|
33644
|
+
t.activities.length === 0 ? (k(), E("div", Y2e, " No activities ")) : P("", !0)
|
|
33640
33645
|
], 512), [
|
|
33641
|
-
[
|
|
33646
|
+
[Wo, s.value && !a.value]
|
|
33642
33647
|
])
|
|
33643
33648
|
], 2));
|
|
33644
33649
|
}
|
|
33645
33650
|
});
|
|
33646
|
-
const
|
|
33651
|
+
const X2e = /* @__PURE__ */ fe(J2e, [["__scopeId", "data-v-ce9dec1d"]]), Q2e = { class: "ao-sprint-list" }, eye = { class: "ao-sprint-list__header" }, tye = { class: "ao-sprint-list__title-group" }, nye = { class: "ao-sprint-list__count" }, oye = { class: "ao-sprint-list__actions" }, rye = {
|
|
33647
33652
|
key: 0,
|
|
33648
33653
|
class: "ao-sprint-list__toggle"
|
|
33649
|
-
},
|
|
33654
|
+
}, iye = {
|
|
33650
33655
|
key: 0,
|
|
33651
33656
|
class: "ao-sprint-list__create"
|
|
33652
|
-
},
|
|
33657
|
+
}, sye = ["title", "onClick"], aye = { class: "ao-sprint-list__create-title" }, lye = { class: "ao-sprint-list__fixed-number" }, cye = ["placeholder"], uye = { class: "ao-sprint-list__date-fields" }, dye = { class: "ao-sprint-list__row-actions" }, fye = { class: "ao-sprint-list__sections" }, pye = {
|
|
33653
33658
|
key: 1,
|
|
33654
33659
|
class: "ao-sprint-list__empty"
|
|
33655
|
-
},
|
|
33660
|
+
}, hye = /* @__PURE__ */ le({
|
|
33656
33661
|
__name: "AoSprintList",
|
|
33657
33662
|
props: {
|
|
33658
33663
|
sprints: {},
|
|
@@ -33696,14 +33701,14 @@ const J2e = /* @__PURE__ */ fe(Y2e, [["__scopeId", "data-v-ce9dec1d"]]), X2e = {
|
|
|
33696
33701
|
color: a.value.color || void 0
|
|
33697
33702
|
}), s.value = !1);
|
|
33698
33703
|
};
|
|
33699
|
-
return (g, v) => (k(), E("section",
|
|
33700
|
-
b("div",
|
|
33701
|
-
b("div",
|
|
33704
|
+
return (g, v) => (k(), E("section", Q2e, [
|
|
33705
|
+
b("div", eye, [
|
|
33706
|
+
b("div", tye, [
|
|
33702
33707
|
b("h3", null, B(te(n)("sprint.planning")), 1),
|
|
33703
|
-
b("span",
|
|
33708
|
+
b("span", nye, B(l.value.length), 1)
|
|
33704
33709
|
]),
|
|
33705
|
-
b("div",
|
|
33706
|
-
t.sprints.some((m) => !m.active) ? (k(), E("label",
|
|
33710
|
+
b("div", oye, [
|
|
33711
|
+
t.sprints.some((m) => !m.active) ? (k(), E("label", rye, [
|
|
33707
33712
|
tt(b("input", {
|
|
33708
33713
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => i.value = m),
|
|
33709
33714
|
type: "checkbox"
|
|
@@ -33724,7 +33729,7 @@ const J2e = /* @__PURE__ */ fe(Y2e, [["__scopeId", "data-v-ce9dec1d"]]), X2e = {
|
|
|
33724
33729
|
}, null, 8, ["label"])) : P("", !0)
|
|
33725
33730
|
])
|
|
33726
33731
|
]),
|
|
33727
|
-
s.value ? (k(), E("div",
|
|
33732
|
+
s.value ? (k(), E("div", iye, [
|
|
33728
33733
|
N(na, {
|
|
33729
33734
|
color: a.value.color,
|
|
33730
33735
|
"onUpdate:color": v[1] || (v[1] = (m) => a.value.color = m)
|
|
@@ -33735,22 +33740,22 @@ const J2e = /* @__PURE__ */ fe(Y2e, [["__scopeId", "data-v-ce9dec1d"]]), X2e = {
|
|
|
33735
33740
|
style: Mt({ backgroundColor: y }),
|
|
33736
33741
|
title: te(n)("sprint.color"),
|
|
33737
33742
|
onClick: (C) => m(C.currentTarget)
|
|
33738
|
-
}, null, 12,
|
|
33743
|
+
}, null, 12, sye)
|
|
33739
33744
|
]),
|
|
33740
33745
|
_: 1
|
|
33741
33746
|
}, 8, ["color"]),
|
|
33742
|
-
b("div",
|
|
33743
|
-
b("span",
|
|
33747
|
+
b("div", aye, [
|
|
33748
|
+
b("span", lye, "Sprint " + B(u.value) + ":", 1),
|
|
33744
33749
|
tt(b("input", {
|
|
33745
33750
|
"onUpdate:modelValue": v[2] || (v[2] = (m) => a.value.label = m),
|
|
33746
33751
|
type: "text",
|
|
33747
33752
|
class: "ao-sprint-list__input ao-sprint-list__input--label",
|
|
33748
33753
|
placeholder: te(n)("sprint.label")
|
|
33749
|
-
}, null, 8,
|
|
33754
|
+
}, null, 8, cye), [
|
|
33750
33755
|
[Tt, a.value.label]
|
|
33751
33756
|
])
|
|
33752
33757
|
]),
|
|
33753
|
-
b("div",
|
|
33758
|
+
b("div", uye, [
|
|
33754
33759
|
tt(b("input", {
|
|
33755
33760
|
"onUpdate:modelValue": v[3] || (v[3] = (m) => a.value.startDate = m),
|
|
33756
33761
|
type: "date",
|
|
@@ -33767,7 +33772,7 @@ const J2e = /* @__PURE__ */ fe(Y2e, [["__scopeId", "data-v-ce9dec1d"]]), X2e = {
|
|
|
33767
33772
|
[Tt, a.value.endDate]
|
|
33768
33773
|
])
|
|
33769
33774
|
]),
|
|
33770
|
-
b("div",
|
|
33775
|
+
b("div", dye, [
|
|
33771
33776
|
N(xe, {
|
|
33772
33777
|
color: "success",
|
|
33773
33778
|
variant: "ghost",
|
|
@@ -33787,8 +33792,8 @@ const J2e = /* @__PURE__ */ fe(Y2e, [["__scopeId", "data-v-ce9dec1d"]]), X2e = {
|
|
|
33787
33792
|
}, null, 8, ["title"])
|
|
33788
33793
|
])
|
|
33789
33794
|
])) : P("", !0),
|
|
33790
|
-
b("div",
|
|
33791
|
-
(k(!0), E($e, null, Ye(l.value, (m) => (k(), J(
|
|
33795
|
+
b("div", fye, [
|
|
33796
|
+
(k(!0), E($e, null, Ye(l.value, (m) => (k(), J(X2e, {
|
|
33792
33797
|
key: m.id,
|
|
33793
33798
|
sprint: m,
|
|
33794
33799
|
activities: f(m.id),
|
|
@@ -33803,17 +33808,17 @@ const J2e = /* @__PURE__ */ fe(Y2e, [["__scopeId", "data-v-ce9dec1d"]]), X2e = {
|
|
|
33803
33808
|
onOpenActivity: v[9] || (v[9] = (y) => r("openActivity", y))
|
|
33804
33809
|
}, null, 8, ["sprint", "activities", "is-editable", "planning-data", "projects", "business-day-hours"]))), 128))
|
|
33805
33810
|
]),
|
|
33806
|
-
l.value.length === 0 && !s.value ? (k(), E("div",
|
|
33811
|
+
l.value.length === 0 && !s.value ? (k(), E("div", pye, B(te(n)("sprint.noSprints")), 1)) : P("", !0)
|
|
33807
33812
|
]));
|
|
33808
33813
|
}
|
|
33809
33814
|
});
|
|
33810
|
-
const
|
|
33815
|
+
const mye = /* @__PURE__ */ fe(hye, [["__scopeId", "data-v-97d6bf84"]]), gye = { class: "ao-backlog-section" }, vye = { class: "ao-backlog-section__header-left" }, yye = { class: "ao-backlog-section__expand-icon" }, _ye = { class: "ao-backlog-section__name" }, bye = {
|
|
33811
33816
|
key: 0,
|
|
33812
33817
|
class: "ao-backlog-section__phase"
|
|
33813
|
-
},
|
|
33818
|
+
}, Cye = { class: "ao-backlog-section__header-right" }, kye = { class: "ao-backlog-section__count" }, wye = { class: "ao-backlog-section__content" }, Sye = {
|
|
33814
33819
|
key: 1,
|
|
33815
33820
|
class: "ao-backlog-section__empty"
|
|
33816
|
-
},
|
|
33821
|
+
}, xye = { class: "ao-backlog-section__drop-hint" }, Aye = /* @__PURE__ */ le({
|
|
33817
33822
|
__name: "AoBacklogSection",
|
|
33818
33823
|
props: {
|
|
33819
33824
|
milestoneId: {},
|
|
@@ -33847,7 +33852,7 @@ const hye = /* @__PURE__ */ fe(pye, [["__scopeId", "data-v-97d6bf84"]]), mye = {
|
|
|
33847
33852
|
activityIds: o.activities.map((f) => f.id)
|
|
33848
33853
|
});
|
|
33849
33854
|
};
|
|
33850
|
-
return (d, f) => (k(), E("div",
|
|
33855
|
+
return (d, f) => (k(), E("div", gye, [
|
|
33851
33856
|
b("div", {
|
|
33852
33857
|
class: me(["ao-backlog-section__header", {
|
|
33853
33858
|
"ao-backlog-section__header--no-milestone": !t.milestoneColor
|
|
@@ -33855,17 +33860,17 @@ const hye = /* @__PURE__ */ fe(pye, [["__scopeId", "data-v-97d6bf84"]]), mye = {
|
|
|
33855
33860
|
style: Mt(a.value),
|
|
33856
33861
|
onClick: l
|
|
33857
33862
|
}, [
|
|
33858
|
-
b("div",
|
|
33859
|
-
b("span",
|
|
33860
|
-
b("span",
|
|
33861
|
-
t.phaseName ? (k(), E("span",
|
|
33863
|
+
b("div", vye, [
|
|
33864
|
+
b("span", yye, B(i.value ? "▾" : "▸"), 1),
|
|
33865
|
+
b("span", _ye, B(t.milestoneName), 1),
|
|
33866
|
+
t.phaseName ? (k(), E("span", bye, B(t.phaseName), 1)) : P("", !0)
|
|
33862
33867
|
]),
|
|
33863
|
-
b("div",
|
|
33864
|
-
b("span",
|
|
33868
|
+
b("div", Cye, [
|
|
33869
|
+
b("span", kye, B(s.value) + " " + B(s.value === 1 ? te(n)("backlog.activity") : te(n)("backlog.activities")), 1)
|
|
33865
33870
|
])
|
|
33866
33871
|
], 6),
|
|
33867
|
-
tt(b("div",
|
|
33868
|
-
t.activities.length > 0 ? (k(), J(te(
|
|
33872
|
+
tt(b("div", wye, [
|
|
33873
|
+
t.activities.length > 0 ? (k(), J(te(po), {
|
|
33869
33874
|
key: 0,
|
|
33870
33875
|
list: t.activities,
|
|
33871
33876
|
class: "ao-backlog-section__draggable",
|
|
@@ -33886,22 +33891,22 @@ const hye = /* @__PURE__ */ fe(pye, [["__scopeId", "data-v-97d6bf84"]]), mye = {
|
|
|
33886
33891
|
}, null, 8, ["activity", "is-draggable"])
|
|
33887
33892
|
]),
|
|
33888
33893
|
_: 1
|
|
33889
|
-
}, 8, ["list", "disabled"])) : (k(), E("div",
|
|
33890
|
-
b("span",
|
|
33894
|
+
}, 8, ["list", "disabled"])) : (k(), E("div", Sye, [
|
|
33895
|
+
b("span", xye, B(te(n)("backlog.dropHere")), 1)
|
|
33891
33896
|
]))
|
|
33892
33897
|
], 512), [
|
|
33893
|
-
[
|
|
33898
|
+
[Wo, i.value]
|
|
33894
33899
|
])
|
|
33895
33900
|
]));
|
|
33896
33901
|
}
|
|
33897
33902
|
});
|
|
33898
|
-
const
|
|
33903
|
+
const Eye = /* @__PURE__ */ fe(Aye, [["__scopeId", "data-v-fd191163"]]), Tye = { class: "ao-backlog" }, $ye = { class: "ao-backlog__header" }, Dye = { class: "ao-backlog__count" }, Mye = {
|
|
33899
33904
|
key: 0,
|
|
33900
33905
|
class: "ao-backlog__sections"
|
|
33901
|
-
},
|
|
33906
|
+
}, Lye = {
|
|
33902
33907
|
key: 1,
|
|
33903
33908
|
class: "ao-backlog__empty"
|
|
33904
|
-
},
|
|
33909
|
+
}, Oye = /* @__PURE__ */ le({
|
|
33905
33910
|
__name: "AoBacklog",
|
|
33906
33911
|
props: {
|
|
33907
33912
|
activities: {},
|
|
@@ -33946,13 +33951,13 @@ const Aye = /* @__PURE__ */ fe(xye, [["__scopeId", "data-v-fd191163"]]), Eye = {
|
|
|
33946
33951
|
return p - h;
|
|
33947
33952
|
});
|
|
33948
33953
|
});
|
|
33949
|
-
return (a, l) => (k(), E("section",
|
|
33950
|
-
b("div",
|
|
33954
|
+
return (a, l) => (k(), E("section", Tye, [
|
|
33955
|
+
b("div", $ye, [
|
|
33951
33956
|
b("h3", null, B(te(n)("backlog.title")), 1),
|
|
33952
|
-
b("span",
|
|
33957
|
+
b("span", Dye, B(i.value.length), 1)
|
|
33953
33958
|
]),
|
|
33954
|
-
s.value.length > 0 ? (k(), E("div",
|
|
33955
|
-
(k(!0), E($e, null, Ye(s.value, (u) => (k(), J(
|
|
33959
|
+
s.value.length > 0 ? (k(), E("div", Mye, [
|
|
33960
|
+
(k(!0), E($e, null, Ye(s.value, (u) => (k(), J(Eye, {
|
|
33956
33961
|
key: u.milestoneId,
|
|
33957
33962
|
"milestone-id": u.milestoneId,
|
|
33958
33963
|
"milestone-name": u.milestoneName,
|
|
@@ -33963,11 +33968,11 @@ const Aye = /* @__PURE__ */ fe(xye, [["__scopeId", "data-v-fd191163"]]), Eye = {
|
|
|
33963
33968
|
onActivityChange: l[0] || (l[0] = (c) => r("activityChange", c)),
|
|
33964
33969
|
onOpenActivity: l[1] || (l[1] = (c) => r("openActivity", c))
|
|
33965
33970
|
}, null, 8, ["milestone-id", "milestone-name", "milestone-color", "phase-name", "activities", "is-editable"]))), 128))
|
|
33966
|
-
])) : (k(), E("div",
|
|
33971
|
+
])) : (k(), E("div", Lye, B(te(n)("backlog.empty")), 1))
|
|
33967
33972
|
]));
|
|
33968
33973
|
}
|
|
33969
33974
|
});
|
|
33970
|
-
const
|
|
33975
|
+
const Iye = /* @__PURE__ */ fe(Oye, [["__scopeId", "data-v-59715eab"]]), Nye = { class: "ao-sprint-planning" }, Pye = { class: "ao-sprint-planning__sprint" }, Rye = { class: "ao-sprint-planning__backlog" }, Fye = /* @__PURE__ */ le({
|
|
33971
33976
|
__name: "AoSprintPlanning",
|
|
33972
33977
|
props: {
|
|
33973
33978
|
sprints: {},
|
|
@@ -34020,9 +34025,9 @@ const Oye = /* @__PURE__ */ fe(Lye, [["__scopeId", "data-v-59715eab"]]), Iye = {
|
|
|
34020
34025
|
window.removeEventListener("keydown", g);
|
|
34021
34026
|
}), (v, m) => {
|
|
34022
34027
|
var y;
|
|
34023
|
-
return k(), E("div",
|
|
34024
|
-
b("div",
|
|
34025
|
-
N(
|
|
34028
|
+
return k(), E("div", Nye, [
|
|
34029
|
+
b("div", Pye, [
|
|
34030
|
+
N(mye, {
|
|
34026
34031
|
sprints: t.sprints,
|
|
34027
34032
|
activities: t.activities,
|
|
34028
34033
|
"is-editable": t.isEditable,
|
|
@@ -34037,8 +34042,8 @@ const Oye = /* @__PURE__ */ fe(Lye, [["__scopeId", "data-v-59715eab"]]), Iye = {
|
|
|
34037
34042
|
onOpenActivity: f
|
|
34038
34043
|
}, null, 8, ["sprints", "activities", "is-editable", "planning-data", "projects", "business-day-hours"])
|
|
34039
34044
|
]),
|
|
34040
|
-
b("div",
|
|
34041
|
-
N(
|
|
34045
|
+
b("div", Rye, [
|
|
34046
|
+
N(Iye, {
|
|
34042
34047
|
activities: t.activities,
|
|
34043
34048
|
"is-editable": t.isEditable,
|
|
34044
34049
|
onActivityChange: m[5] || (m[5] = (C) => o("activityChange", C)),
|
|
@@ -34080,9 +34085,9 @@ const Oye = /* @__PURE__ */ fe(Lye, [["__scopeId", "data-v-59715eab"]]), Iye = {
|
|
|
34080
34085
|
};
|
|
34081
34086
|
}
|
|
34082
34087
|
});
|
|
34083
|
-
const
|
|
34088
|
+
const e_e = /* @__PURE__ */ fe(Fye, [["__scopeId", "data-v-de9a1fe3"]]);
|
|
34084
34089
|
export {
|
|
34085
|
-
|
|
34090
|
+
Qye as AoAuditConfigTable,
|
|
34086
34091
|
Pn as AoAvatar,
|
|
34087
34092
|
W0 as AoCardFeed,
|
|
34088
34093
|
Gve as AoCheckboxField,
|
|
@@ -34090,23 +34095,23 @@ export {
|
|
|
34090
34095
|
dh as AoFeed,
|
|
34091
34096
|
qve as AoField,
|
|
34092
34097
|
Afe as AoHistory,
|
|
34093
|
-
|
|
34098
|
+
Xye as AoInputField,
|
|
34094
34099
|
qt as AoMultiselect,
|
|
34095
34100
|
j0 as AoProjectPhases,
|
|
34096
|
-
|
|
34101
|
+
e_e as AoSprintPlanning,
|
|
34097
34102
|
tc as AoTabBar,
|
|
34098
34103
|
_he as AoTemplateDetails,
|
|
34099
|
-
|
|
34104
|
+
jye as AoTemplates,
|
|
34100
34105
|
zve as AoTemplatesList,
|
|
34101
34106
|
Z5 as EstimationUnit,
|
|
34102
34107
|
W5 as TemplateItemTypeEnum,
|
|
34103
34108
|
ei as activityFeedRoutes,
|
|
34104
|
-
|
|
34105
|
-
|
|
34109
|
+
Vye as activityFeedStatus,
|
|
34110
|
+
qye as durationTypes,
|
|
34106
34111
|
Yn as feedFilterTypes,
|
|
34107
|
-
|
|
34108
|
-
|
|
34109
|
-
|
|
34112
|
+
Jye as getProjectOverviewRoutes,
|
|
34113
|
+
Yye as getTemplateRoutes,
|
|
34114
|
+
Wye as listUpdateTypes,
|
|
34110
34115
|
Ba as milestoneStatus,
|
|
34111
34116
|
nt as projectOverviewRoutes,
|
|
34112
34117
|
j5 as ruleComparators,
|