@26lights/orcha 0.41.85 → 0.41.87
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 +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +285 -283
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoColorPicker.vue.d.ts +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Y, openBlock as v, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as z, watch as ce, nextTick as Me, withKeys as pt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as Qe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as ut, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
|
-
const t8 = /* @__PURE__ */
|
|
4
|
+
const t8 = /* @__PURE__ */ Y({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -614,7 +614,7 @@ const du = /* @__PURE__ */ U(ou, [["render", cu]]), pu = {}, vu = {
|
|
|
614
614
|
function mu(t, e) {
|
|
615
615
|
return v(), C("svg", vu, hu);
|
|
616
616
|
}
|
|
617
|
-
const gu = /* @__PURE__ */ U(pu, [["render", mu]]), Cu =
|
|
617
|
+
const gu = /* @__PURE__ */ U(pu, [["render", mu]]), Cu = Y({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
620
|
const Is = (t) => (Vi("data-v-ad6da4a9"), t = t(), Di(), t), _u = {
|
|
@@ -1160,7 +1160,7 @@ const Pn = {
|
|
|
1160
1160
|
SOLID: "solid",
|
|
1161
1161
|
OUTLINE: "outline",
|
|
1162
1162
|
SOLID_ICON: "solid_icon"
|
|
1163
|
-
}, pe = /* @__PURE__ */
|
|
1163
|
+
}, pe = /* @__PURE__ */ Y({
|
|
1164
1164
|
__name: "AoIcon",
|
|
1165
1165
|
props: {
|
|
1166
1166
|
name: {},
|
|
@@ -1176,7 +1176,7 @@ const Pn = {
|
|
|
1176
1176
|
const D2 = ["type"], B2 = {
|
|
1177
1177
|
key: 0,
|
|
1178
1178
|
class: "ao-button__label"
|
|
1179
|
-
}, re = /* @__PURE__ */
|
|
1179
|
+
}, re = /* @__PURE__ */ Y({
|
|
1180
1180
|
__name: "AoButton",
|
|
1181
1181
|
props: {
|
|
1182
1182
|
label: { default: () => "" },
|
|
@@ -1218,7 +1218,7 @@ const D2 = ["type"], B2 = {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
1220
|
function Hn(t) {
|
|
1221
|
-
const e =
|
|
1221
|
+
const e = z(!1), a = z(""), s = A(() => "value" in t.value ? "value" : "innerHTML"), n = () => {
|
|
1222
1222
|
e.value = !e.value;
|
|
1223
1223
|
}, o = (r) => {
|
|
1224
1224
|
e.value = r;
|
|
@@ -1246,7 +1246,7 @@ function Hn(t) {
|
|
|
1246
1246
|
onDiscard: i
|
|
1247
1247
|
};
|
|
1248
1248
|
}
|
|
1249
|
-
const be = /* @__PURE__ */
|
|
1249
|
+
const be = /* @__PURE__ */ Y({
|
|
1250
1250
|
__name: "AoTitle",
|
|
1251
1251
|
props: {
|
|
1252
1252
|
id: {},
|
|
@@ -1258,7 +1258,7 @@ const be = /* @__PURE__ */ q({
|
|
|
1258
1258
|
},
|
|
1259
1259
|
emits: ["update:title", "toggle-is-editing"],
|
|
1260
1260
|
setup(t, { emit: e }) {
|
|
1261
|
-
const a = t, s =
|
|
1261
|
+
const a = t, s = z(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = Hn(s), r = A(() => n.value ? "input" : a.tag || `h${a.level}`), d = A(() => a.isEditable ? n.value ? {
|
|
1262
1262
|
change: u,
|
|
1263
1263
|
click: (_) => _.stopPropagation(),
|
|
1264
1264
|
blur: p
|
|
@@ -1297,9 +1297,9 @@ const be = /* @__PURE__ */ q({
|
|
|
1297
1297
|
type: Q(n) ? "text" : null,
|
|
1298
1298
|
value: Q(n) ? _.title : null,
|
|
1299
1299
|
tabindex: "0",
|
|
1300
|
-
onKeyup:
|
|
1300
|
+
onKeyup: pt(h, ["enter"])
|
|
1301
1301
|
}, ji(d.value), {
|
|
1302
|
-
onKeydown:
|
|
1302
|
+
onKeydown: pt(Q(c), ["esc"])
|
|
1303
1303
|
}), {
|
|
1304
1304
|
default: N(() => [
|
|
1305
1305
|
qa(W(_.title), 1)
|
|
@@ -1329,7 +1329,7 @@ const j2 = {
|
|
|
1329
1329
|
}, q2 = {
|
|
1330
1330
|
key: 3,
|
|
1331
1331
|
class: "ao-card-horiz__secondary"
|
|
1332
|
-
}, Vn = /* @__PURE__ */
|
|
1332
|
+
}, Vn = /* @__PURE__ */ Y({
|
|
1333
1333
|
__name: "AoCardHoriz",
|
|
1334
1334
|
props: {
|
|
1335
1335
|
id: {},
|
|
@@ -1395,7 +1395,7 @@ const j2 = {
|
|
|
1395
1395
|
}, 8, ["class"]));
|
|
1396
1396
|
}
|
|
1397
1397
|
});
|
|
1398
|
-
const ra = /* @__PURE__ */
|
|
1398
|
+
const ra = /* @__PURE__ */ Y({
|
|
1399
1399
|
__name: "AoTag",
|
|
1400
1400
|
props: {
|
|
1401
1401
|
label: {},
|
|
@@ -1419,7 +1419,7 @@ const ra = /* @__PURE__ */ q({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: Qe(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
1424
|
(v(), D(mt(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
@@ -1498,7 +1498,7 @@ function ja(t) {
|
|
|
1498
1498
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1499
1499
|
}, ja(t);
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1501
|
+
function Je(t) {
|
|
1502
1502
|
if (t === null || t === !0 || t === !1)
|
|
1503
1503
|
return NaN;
|
|
1504
1504
|
var e = Number(t);
|
|
@@ -1515,7 +1515,7 @@ function $e(t) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
function X2(t, e) {
|
|
1517
1517
|
Ce(2, arguments);
|
|
1518
|
-
var a = $e(t).getTime(), s =
|
|
1518
|
+
var a = $e(t).getTime(), s = Je(e);
|
|
1519
1519
|
return new Date(a + s);
|
|
1520
1520
|
}
|
|
1521
1521
|
var Q2 = {};
|
|
@@ -1554,7 +1554,7 @@ function jn(t) {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
function ws(t, e) {
|
|
1556
1556
|
Ce(2, arguments);
|
|
1557
|
-
var a =
|
|
1557
|
+
var a = Je(e);
|
|
1558
1558
|
return X2(t, -a);
|
|
1559
1559
|
}
|
|
1560
1560
|
var s0 = 864e5;
|
|
@@ -1595,7 +1595,7 @@ function l0(t) {
|
|
|
1595
1595
|
function Na(t, e) {
|
|
1596
1596
|
var a, s, n, o, i, l, r, d;
|
|
1597
1597
|
Ce(1, arguments);
|
|
1598
|
-
var u = ga(), c =
|
|
1598
|
+
var u = ga(), c = Je((a = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1599
1599
|
if (!(c >= 0 && c <= 6))
|
|
1600
1600
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1601
1601
|
var p = $e(t), h = p.getUTCDay(), w = (h < c ? 7 : 0) + h - c;
|
|
@@ -1604,7 +1604,7 @@ function Na(t, e) {
|
|
|
1604
1604
|
function Nn(t, e) {
|
|
1605
1605
|
var a, s, n, o, i, l, r, d;
|
|
1606
1606
|
Ce(1, arguments);
|
|
1607
|
-
var u = $e(t), c = u.getUTCFullYear(), p = ga(), h =
|
|
1607
|
+
var u = $e(t), c = u.getUTCFullYear(), p = ga(), h = Je((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1608
1608
|
if (!(h >= 1 && h <= 7))
|
|
1609
1609
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1610
1610
|
var w = /* @__PURE__ */ new Date(0);
|
|
@@ -1617,7 +1617,7 @@ function Nn(t, e) {
|
|
|
1617
1617
|
function r0(t, e) {
|
|
1618
1618
|
var a, s, n, o, i, l, r, d;
|
|
1619
1619
|
Ce(1, arguments);
|
|
1620
|
-
var u = ga(), c =
|
|
1620
|
+
var u = ga(), c = Je((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = Nn(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1621
1621
|
h.setUTCFullYear(p, 0, c), h.setUTCHours(0, 0, 0, 0);
|
|
1622
1622
|
var w = Na(h, e);
|
|
1623
1623
|
return w;
|
|
@@ -1686,7 +1686,7 @@ var d0 = {
|
|
|
1686
1686
|
return de(o, a.length);
|
|
1687
1687
|
}
|
|
1688
1688
|
};
|
|
1689
|
-
const
|
|
1689
|
+
const rt = d0;
|
|
1690
1690
|
var Bt = {
|
|
1691
1691
|
am: "am",
|
|
1692
1692
|
pm: "pm",
|
|
@@ -1726,7 +1726,7 @@ var Bt = {
|
|
|
1726
1726
|
unit: "year"
|
|
1727
1727
|
});
|
|
1728
1728
|
}
|
|
1729
|
-
return
|
|
1729
|
+
return rt.y(e, a);
|
|
1730
1730
|
},
|
|
1731
1731
|
// Local week-numbering year
|
|
1732
1732
|
Y: function(e, a, s, n) {
|
|
@@ -1823,7 +1823,7 @@ var Bt = {
|
|
|
1823
1823
|
switch (a) {
|
|
1824
1824
|
case "M":
|
|
1825
1825
|
case "MM":
|
|
1826
|
-
return
|
|
1826
|
+
return rt.M(e, a);
|
|
1827
1827
|
case "Mo":
|
|
1828
1828
|
return s.ordinalNumber(n + 1, {
|
|
1829
1829
|
unit: "month"
|
|
@@ -1894,7 +1894,7 @@ var Bt = {
|
|
|
1894
1894
|
d: function(e, a, s) {
|
|
1895
1895
|
return a === "do" ? s.ordinalNumber(e.getUTCDate(), {
|
|
1896
1896
|
unit: "date"
|
|
1897
|
-
}) :
|
|
1897
|
+
}) : rt.d(e, a);
|
|
1898
1898
|
},
|
|
1899
1899
|
// Day of year
|
|
1900
1900
|
D: function(e, a, s) {
|
|
@@ -2125,13 +2125,13 @@ var Bt = {
|
|
|
2125
2125
|
unit: "hour"
|
|
2126
2126
|
});
|
|
2127
2127
|
}
|
|
2128
|
-
return
|
|
2128
|
+
return rt.h(e, a);
|
|
2129
2129
|
},
|
|
2130
2130
|
// Hour [0-23]
|
|
2131
2131
|
H: function(e, a, s) {
|
|
2132
2132
|
return a === "Ho" ? s.ordinalNumber(e.getUTCHours(), {
|
|
2133
2133
|
unit: "hour"
|
|
2134
|
-
}) :
|
|
2134
|
+
}) : rt.H(e, a);
|
|
2135
2135
|
},
|
|
2136
2136
|
// Hour [0-11]
|
|
2137
2137
|
K: function(e, a, s) {
|
|
@@ -2151,17 +2151,17 @@ var Bt = {
|
|
|
2151
2151
|
m: function(e, a, s) {
|
|
2152
2152
|
return a === "mo" ? s.ordinalNumber(e.getUTCMinutes(), {
|
|
2153
2153
|
unit: "minute"
|
|
2154
|
-
}) :
|
|
2154
|
+
}) : rt.m(e, a);
|
|
2155
2155
|
},
|
|
2156
2156
|
// Second
|
|
2157
2157
|
s: function(e, a, s) {
|
|
2158
2158
|
return a === "so" ? s.ordinalNumber(e.getUTCSeconds(), {
|
|
2159
2159
|
unit: "second"
|
|
2160
|
-
}) :
|
|
2160
|
+
}) : rt.s(e, a);
|
|
2161
2161
|
},
|
|
2162
2162
|
// Fraction of second
|
|
2163
2163
|
S: function(e, a) {
|
|
2164
|
-
return
|
|
2164
|
+
return rt.S(e, a);
|
|
2165
2165
|
},
|
|
2166
2166
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
2167
2167
|
X: function(e, a, s, n) {
|
|
@@ -2736,10 +2736,10 @@ var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, o3 = /P+p+|P+|
|
|
|
2736
2736
|
function Zn(t, e, a) {
|
|
2737
2737
|
var s, n, o, i, l, r, d, u, c, p, h, w, _, g, $, m, y, P;
|
|
2738
2738
|
Ce(2, arguments);
|
|
2739
|
-
var I = String(e), L = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Fn,
|
|
2740
|
-
if (!(
|
|
2739
|
+
var I = String(e), L = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Fn, q = Je((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = L.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2740
|
+
if (!(q >= 1 && q <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
|
-
var K =
|
|
2742
|
+
var K = Je((h = (w = (_ = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (m = $.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && _ !== void 0 ? _ : L.weekStartsOn) !== null && w !== void 0 ? w : (y = L.locale) === null || y === void 0 || (P = y.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2743
2743
|
if (!(K >= 0 && K <= 6))
|
|
2744
2744
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2745
2745
|
if (!F.localize)
|
|
@@ -2750,7 +2750,7 @@ function Zn(t, e, a) {
|
|
|
2750
2750
|
if (!jn(J))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
2752
|
var ae = ua(J), j = ws(J, ae), G = {
|
|
2753
|
-
firstWeekContainsDate:
|
|
2753
|
+
firstWeekContainsDate: q,
|
|
2754
2754
|
weekStartsOn: K,
|
|
2755
2755
|
locale: F,
|
|
2756
2756
|
_originalDate: J
|
|
@@ -2783,7 +2783,7 @@ function c3(t) {
|
|
|
2783
2783
|
function d3(t, e, a) {
|
|
2784
2784
|
var s, n, o, i, l, r, d, u, c, p;
|
|
2785
2785
|
Ce(2, arguments);
|
|
2786
|
-
var h = $e(t), w = $e(e), _ = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : _.locale) !== null && s !== void 0 ? s : Fn, $ =
|
|
2786
|
+
var h = $e(t), w = $e(e), _ = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : _.locale) !== null && s !== void 0 ? s : Fn, $ = Je((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && l !== void 0 ? l : _.weekStartsOn) !== null && i !== void 0 ? i : (c = _.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2787
2787
|
if (!g.localize)
|
|
2788
2788
|
throw new RangeError("locale must contain localize property");
|
|
2789
2789
|
if (!g.formatLong)
|
|
@@ -2807,7 +2807,7 @@ function d3(t, e, a) {
|
|
|
2807
2807
|
function ca(t, e) {
|
|
2808
2808
|
var a;
|
|
2809
2809
|
Ce(1, arguments);
|
|
2810
|
-
var s =
|
|
2810
|
+
var s = Je((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
2811
2811
|
if (s !== 2 && s !== 1 && s !== 0)
|
|
2812
2812
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
2813
2813
|
if (!(typeof t == "string" || Object.prototype.toString.call(t) === "[object String]"))
|
|
@@ -3725,7 +3725,7 @@ function N3(t, e = 0.15) {
|
|
|
3725
3725
|
const U3 = ["title"], F3 = {
|
|
3726
3726
|
key: 0,
|
|
3727
3727
|
className: "ao-avatar__initials"
|
|
3728
|
-
}, Z3 = ["src"],
|
|
3728
|
+
}, Z3 = ["src"], et = /* @__PURE__ */ Y({
|
|
3729
3729
|
__name: "AoAvatar",
|
|
3730
3730
|
props: {
|
|
3731
3731
|
userName: {},
|
|
@@ -3773,7 +3773,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3773
3773
|
}, a5 = { class: "ao-card-template__col-title" }, s5 = { class: "ao-card-template__col-label" }, n5 = { class: "ao-card-template__col-body" }, i5 = {
|
|
3774
3774
|
key: 1,
|
|
3775
3775
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
3776
|
-
}, o5 = { class: "ao-card-template__col-title" }, l5 = { class: "ao-card-template__col-label" }, r5 = { class: "ao-card-template__col-body" }, u5 = { class: "ao-card-template-item__secondary" }, _s = 5, c5 = /* @__PURE__ */
|
|
3776
|
+
}, o5 = { class: "ao-card-template__col-title" }, l5 = { class: "ao-card-template__col-label" }, r5 = { class: "ao-card-template__col-body" }, u5 = { class: "ao-card-template-item__secondary" }, _s = 5, c5 = /* @__PURE__ */ Y({
|
|
3777
3777
|
__name: "AoCardTemplate",
|
|
3778
3778
|
props: {
|
|
3779
3779
|
id: {},
|
|
@@ -3875,7 +3875,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3875
3875
|
f("span", l5, W(l.$t("template.updatedBy.label")), 1)
|
|
3876
3876
|
]),
|
|
3877
3877
|
f("div", r5, [
|
|
3878
|
-
M(
|
|
3878
|
+
M(et, { "user-name": l.updatedBy }, null, 8, ["user-name"])
|
|
3879
3879
|
])
|
|
3880
3880
|
])) : O("", !0)
|
|
3881
3881
|
])
|
|
@@ -3888,7 +3888,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3888
3888
|
const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v5 = {
|
|
3889
3889
|
key: 0,
|
|
3890
3890
|
class: "ao-page-header-secondary"
|
|
3891
|
-
}, ba = /* @__PURE__ */
|
|
3891
|
+
}, ba = /* @__PURE__ */ Y({
|
|
3892
3892
|
__name: "AoPageHeader",
|
|
3893
3893
|
props: {
|
|
3894
3894
|
canGoBack: { type: Boolean }
|
|
@@ -3914,7 +3914,7 @@ const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v
|
|
|
3914
3914
|
const f5 = ["type"], h5 = {
|
|
3915
3915
|
key: 0,
|
|
3916
3916
|
class: "ao-button-card__label"
|
|
3917
|
-
}, Ct = /* @__PURE__ */
|
|
3917
|
+
}, Ct = /* @__PURE__ */ Y({
|
|
3918
3918
|
__name: "AoButtonCard",
|
|
3919
3919
|
props: {
|
|
3920
3920
|
label: { default: () => "" },
|
|
@@ -3952,7 +3952,7 @@ const f5 = ["type"], h5 = {
|
|
|
3952
3952
|
const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
3953
3953
|
key: 0,
|
|
3954
3954
|
class: "ao-card-template-item__subitem"
|
|
3955
|
-
}, C5 = { class: "ao-card-template-item__subitem-number" }, _5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */
|
|
3955
|
+
}, C5 = { class: "ao-card-template-item__subitem-number" }, _5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */ Y({
|
|
3956
3956
|
__name: "AoCardTemplateItem",
|
|
3957
3957
|
props: {
|
|
3958
3958
|
milestones: {},
|
|
@@ -4001,7 +4001,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
|
4001
4001
|
}));
|
|
4002
4002
|
}
|
|
4003
4003
|
});
|
|
4004
|
-
const y5 = /* @__PURE__ */
|
|
4004
|
+
const y5 = /* @__PURE__ */ Y({
|
|
4005
4005
|
__name: "AoCardTemplateItemPhase",
|
|
4006
4006
|
props: {
|
|
4007
4007
|
id: {},
|
|
@@ -4025,7 +4025,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4025
4025
|
_: 3
|
|
4026
4026
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
4027
4027
|
}
|
|
4028
|
-
}), b5 = /* @__PURE__ */
|
|
4028
|
+
}), b5 = /* @__PURE__ */ Y({
|
|
4029
4029
|
__name: "AoCardTemplateItemMilestone",
|
|
4030
4030
|
props: {
|
|
4031
4031
|
activities: {}
|
|
@@ -4042,7 +4042,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4042
4042
|
_: 3
|
|
4043
4043
|
}, 8, ["activities"]));
|
|
4044
4044
|
}
|
|
4045
|
-
}), w5 = { class: "ao-list__footer" }, $5 = /* @__PURE__ */
|
|
4045
|
+
}), w5 = { class: "ao-list__footer" }, $5 = /* @__PURE__ */ Y({
|
|
4046
4046
|
__name: "AoTemplateDetailsMilestones",
|
|
4047
4047
|
props: {
|
|
4048
4048
|
templateId: {},
|
|
@@ -4111,7 +4111,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4111
4111
|
_: 1
|
|
4112
4112
|
}, 8, ["model-value", "title"])) : O("", !0);
|
|
4113
4113
|
}
|
|
4114
|
-
}), k5 = /* @__PURE__ */
|
|
4114
|
+
}), k5 = /* @__PURE__ */ Y({
|
|
4115
4115
|
__name: "AoCardTemplateItemActivity",
|
|
4116
4116
|
props: {
|
|
4117
4117
|
name: {},
|
|
@@ -4129,7 +4129,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4129
4129
|
_: 3
|
|
4130
4130
|
}, 8, ["tasks"]));
|
|
4131
4131
|
}
|
|
4132
|
-
}), S5 = { class: "ao-list__footer" }, A5 = /* @__PURE__ */
|
|
4132
|
+
}), S5 = { class: "ao-list__footer" }, A5 = /* @__PURE__ */ Y({
|
|
4133
4133
|
__name: "AoTemplateDetailsActivities",
|
|
4134
4134
|
props: {
|
|
4135
4135
|
templateId: {},
|
|
@@ -4203,7 +4203,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4203
4203
|
}, O5 = { class: "ao-modal__header-meta" }, E5 = { class: "ao-modal__title-group" }, I5 = { class: "ao-modal__body" }, L5 = {
|
|
4204
4204
|
key: 1,
|
|
4205
4205
|
class: "ao-modal__footer"
|
|
4206
|
-
}, Ja = /* @__PURE__ */
|
|
4206
|
+
}, Ja = /* @__PURE__ */ Y({
|
|
4207
4207
|
__name: "AoModal",
|
|
4208
4208
|
props: {
|
|
4209
4209
|
size: { default: "md" }
|
|
@@ -4516,12 +4516,12 @@ const Z5 = function(t) {
|
|
|
4516
4516
|
const $ = Zt(n), m = Zt(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), P = p || (m || !_ ? [Fa(l)] : B5(l));
|
|
4517
4517
|
!p && w !== "none" && P.push(...R5(l, _, w, y));
|
|
4518
4518
|
const I = [l, ...P], L = await Jn(e, g), F = [];
|
|
4519
|
-
let
|
|
4519
|
+
let q = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4520
4520
|
if (u && F.push(L[$]), c) {
|
|
4521
4521
|
const j = D5(n, i, y);
|
|
4522
4522
|
F.push(L[j[0]], L[j[1]]);
|
|
4523
4523
|
}
|
|
4524
|
-
if (
|
|
4524
|
+
if (q = [...q, {
|
|
4525
4525
|
placement: n,
|
|
4526
4526
|
overflows: F
|
|
4527
4527
|
}], !F.every((j) => j <= 0)) {
|
|
@@ -4531,18 +4531,18 @@ const Z5 = function(t) {
|
|
|
4531
4531
|
return {
|
|
4532
4532
|
data: {
|
|
4533
4533
|
index: j,
|
|
4534
|
-
overflows:
|
|
4534
|
+
overflows: q
|
|
4535
4535
|
},
|
|
4536
4536
|
reset: {
|
|
4537
4537
|
placement: G
|
|
4538
4538
|
}
|
|
4539
4539
|
};
|
|
4540
|
-
let le = (J =
|
|
4540
|
+
let le = (J = q.filter((se) => se.overflows[0] <= 0).sort((se, ee) => se.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : J.placement;
|
|
4541
4541
|
if (!le)
|
|
4542
4542
|
switch (h) {
|
|
4543
4543
|
case "bestFit": {
|
|
4544
4544
|
var ae;
|
|
4545
|
-
const se = (ae =
|
|
4545
|
+
const se = (ae = q.map((ee) => [ee.placement, ee.overflows.filter((E) => E > 0).reduce((E, T) => E + T, 0)]).sort((ee, E) => ee[1] - E[1])[0]) == null ? void 0 : ae[0];
|
|
4546
4546
|
se && (le = se);
|
|
4547
4547
|
break;
|
|
4548
4548
|
}
|
|
@@ -4590,8 +4590,8 @@ const Z5 = function(t) {
|
|
|
4590
4590
|
y = u || m ? da(g, L) : L;
|
|
4591
4591
|
}
|
|
4592
4592
|
if (m && !u) {
|
|
4593
|
-
const L = He(r.left, 0), F = He(r.right, 0),
|
|
4594
|
-
c ? P = p - 2 * (L !== 0 || F !== 0 ? L + F : He(r.left, r.right)) : y = h - 2 * (
|
|
4593
|
+
const L = He(r.left, 0), F = He(r.right, 0), q = He(r.top, 0), K = He(r.bottom, 0);
|
|
4594
|
+
c ? P = p - 2 * (L !== 0 || F !== 0 ? L + F : He(r.left, r.right)) : y = h - 2 * (q !== 0 || K !== 0 ? q + K : He(r.top, r.bottom));
|
|
4595
4595
|
}
|
|
4596
4596
|
await i({
|
|
4597
4597
|
...e,
|
|
@@ -4614,14 +4614,14 @@ function Te(t) {
|
|
|
4614
4614
|
var e;
|
|
4615
4615
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
4616
4616
|
}
|
|
4617
|
-
function
|
|
4617
|
+
function st(t) {
|
|
4618
4618
|
var e;
|
|
4619
4619
|
return (e = (ei(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4620
4620
|
}
|
|
4621
4621
|
function ei(t) {
|
|
4622
4622
|
return t instanceof Node || t instanceof Te(t).Node;
|
|
4623
4623
|
}
|
|
4624
|
-
function
|
|
4624
|
+
function tt(t) {
|
|
4625
4625
|
return t instanceof Element || t instanceof Te(t).Element;
|
|
4626
4626
|
}
|
|
4627
4627
|
function We(t) {
|
|
@@ -4665,7 +4665,7 @@ function je(t) {
|
|
|
4665
4665
|
return Te(t).getComputedStyle(t);
|
|
4666
4666
|
}
|
|
4667
4667
|
function as(t) {
|
|
4668
|
-
return
|
|
4668
|
+
return tt(t) ? {
|
|
4669
4669
|
scrollLeft: t.scrollLeft,
|
|
4670
4670
|
scrollTop: t.scrollTop
|
|
4671
4671
|
} : {
|
|
@@ -4681,7 +4681,7 @@ function Wt(t) {
|
|
|
4681
4681
|
t.assignedSlot || // DOM Element detected.
|
|
4682
4682
|
t.parentNode || // ShadowRoot detected.
|
|
4683
4683
|
yn(t) && t.host || // Fallback.
|
|
4684
|
-
|
|
4684
|
+
st(t)
|
|
4685
4685
|
);
|
|
4686
4686
|
return yn(e) ? e.host : e;
|
|
4687
4687
|
}
|
|
@@ -4706,7 +4706,7 @@ function ai(t) {
|
|
|
4706
4706
|
};
|
|
4707
4707
|
}
|
|
4708
4708
|
function Ns(t) {
|
|
4709
|
-
return
|
|
4709
|
+
return tt(t) ? t : t.contextElement;
|
|
4710
4710
|
}
|
|
4711
4711
|
function Nt(t) {
|
|
4712
4712
|
const e = Ns(t);
|
|
@@ -4738,11 +4738,11 @@ function Ot(t, e, a, s) {
|
|
|
4738
4738
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4739
4739
|
const n = t.getBoundingClientRect(), o = Ns(t);
|
|
4740
4740
|
let i = vt(1);
|
|
4741
|
-
e && (s ?
|
|
4741
|
+
e && (s ? tt(s) && (i = Nt(s)) : i = Nt(t));
|
|
4742
4742
|
const l = x5(o, a, s) ? si(o) : vt(0);
|
|
4743
4743
|
let r = (n.left + l.x) / i.x, d = (n.top + l.y) / i.y, u = n.width / i.x, c = n.height / i.y;
|
|
4744
4744
|
if (o) {
|
|
4745
|
-
const p = Te(o), h = s &&
|
|
4745
|
+
const p = Te(o), h = s && tt(s) ? Te(s) : s;
|
|
4746
4746
|
let w = p.frameElement;
|
|
4747
4747
|
for (; w && s && h !== p; ) {
|
|
4748
4748
|
const _ = Nt(w), g = w.getBoundingClientRect(), $ = je(w), m = g.left + (w.clientLeft + parseFloat($.paddingLeft)) * _.x, y = g.top + (w.clientTop + parseFloat($.paddingTop)) * _.y;
|
|
@@ -4762,7 +4762,7 @@ function K5(t) {
|
|
|
4762
4762
|
offsetParent: a,
|
|
4763
4763
|
strategy: s
|
|
4764
4764
|
} = t;
|
|
4765
|
-
const n = We(a), o =
|
|
4765
|
+
const n = We(a), o = st(a);
|
|
4766
4766
|
if (a === o)
|
|
4767
4767
|
return e;
|
|
4768
4768
|
let i = {
|
|
@@ -4785,10 +4785,10 @@ function G5(t) {
|
|
|
4785
4785
|
return Array.from(t.getClientRects());
|
|
4786
4786
|
}
|
|
4787
4787
|
function ni(t) {
|
|
4788
|
-
return Ot(
|
|
4788
|
+
return Ot(st(t)).left + as(t).scrollLeft;
|
|
4789
4789
|
}
|
|
4790
4790
|
function X5(t) {
|
|
4791
|
-
const e =
|
|
4791
|
+
const e = st(t), a = as(t), s = t.ownerDocument.body, n = He(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = He(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4792
4792
|
let i = -a.scrollLeft + ni(t);
|
|
4793
4793
|
const l = -a.scrollTop;
|
|
4794
4794
|
return je(s).direction === "rtl" && (i += He(e.clientWidth, s.clientWidth) - n), {
|
|
@@ -4799,7 +4799,7 @@ function X5(t) {
|
|
|
4799
4799
|
};
|
|
4800
4800
|
}
|
|
4801
4801
|
function Q5(t, e) {
|
|
4802
|
-
const a = Te(t), s =
|
|
4802
|
+
const a = Te(t), s = st(t), n = a.visualViewport;
|
|
4803
4803
|
let o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
|
|
4804
4804
|
if (n) {
|
|
4805
4805
|
o = n.width, i = n.height;
|
|
@@ -4827,8 +4827,8 @@ function bn(t, e, a) {
|
|
|
4827
4827
|
if (e === "viewport")
|
|
4828
4828
|
s = Q5(t, a);
|
|
4829
4829
|
else if (e === "document")
|
|
4830
|
-
s = X5(
|
|
4831
|
-
else if (
|
|
4830
|
+
s = X5(st(t));
|
|
4831
|
+
else if (tt(e))
|
|
4832
4832
|
s = J5(e, a);
|
|
4833
4833
|
else {
|
|
4834
4834
|
const n = si(t);
|
|
@@ -4842,16 +4842,16 @@ function bn(t, e, a) {
|
|
|
4842
4842
|
}
|
|
4843
4843
|
function ii(t, e) {
|
|
4844
4844
|
const a = Wt(t);
|
|
4845
|
-
return a === e || !
|
|
4845
|
+
return a === e || !tt(a) || ts(a) ? !1 : je(a).position === "fixed" || ii(a, e);
|
|
4846
4846
|
}
|
|
4847
4847
|
function e7(t, e) {
|
|
4848
4848
|
const a = e.get(t);
|
|
4849
4849
|
if (a)
|
|
4850
4850
|
return a;
|
|
4851
|
-
let s = pa(t, [], !1).filter((l) =>
|
|
4851
|
+
let s = pa(t, [], !1).filter((l) => tt(l) && ft(l) !== "body"), n = null;
|
|
4852
4852
|
const o = je(t).position === "fixed";
|
|
4853
4853
|
let i = o ? Wt(t) : t;
|
|
4854
|
-
for (;
|
|
4854
|
+
for (; tt(i) && !ts(i); ) {
|
|
4855
4855
|
const l = je(i), r = js(i);
|
|
4856
4856
|
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(i) && !r && ii(t, i)) ? s = s.filter((u) => u !== i) : n = l, i = Wt(i);
|
|
4857
4857
|
}
|
|
@@ -4879,7 +4879,7 @@ function a7(t) {
|
|
|
4879
4879
|
return ai(t);
|
|
4880
4880
|
}
|
|
4881
4881
|
function s7(t, e, a) {
|
|
4882
|
-
const s = We(e), n =
|
|
4882
|
+
const s = We(e), n = st(e), o = a === "fixed", i = Ot(t, !0, o, e);
|
|
4883
4883
|
let l = {
|
|
4884
4884
|
scrollLeft: 0,
|
|
4885
4885
|
scrollTop: 0
|
|
@@ -4931,19 +4931,19 @@ function i7(t) {
|
|
|
4931
4931
|
}
|
|
4932
4932
|
const o7 = {
|
|
4933
4933
|
convertOffsetParentRelativeRectToViewportRelativeRect: K5,
|
|
4934
|
-
getDocumentElement:
|
|
4934
|
+
getDocumentElement: st,
|
|
4935
4935
|
getClippingRect: t7,
|
|
4936
4936
|
getOffsetParent: oi,
|
|
4937
4937
|
getElementRects: n7,
|
|
4938
4938
|
getClientRects: G5,
|
|
4939
4939
|
getDimensions: a7,
|
|
4940
4940
|
getScale: Nt,
|
|
4941
|
-
isElement:
|
|
4941
|
+
isElement: tt,
|
|
4942
4942
|
isRTL: i7
|
|
4943
4943
|
};
|
|
4944
4944
|
function l7(t, e) {
|
|
4945
4945
|
let a = null, s;
|
|
4946
|
-
const n =
|
|
4946
|
+
const n = st(t);
|
|
4947
4947
|
function o() {
|
|
4948
4948
|
clearTimeout(s), a && a.disconnect(), a = null;
|
|
4949
4949
|
}
|
|
@@ -5033,12 +5033,12 @@ const u7 = (t, e, a) => {
|
|
|
5033
5033
|
platform: o
|
|
5034
5034
|
});
|
|
5035
5035
|
}, c7 = (t) => {
|
|
5036
|
-
const e =
|
|
5036
|
+
const e = z(!1), a = z(), s = z(), n = z(0);
|
|
5037
5037
|
function o() {
|
|
5038
5038
|
const c = Q(t.appendTo);
|
|
5039
5039
|
return c ? typeof c == "string" ? document.getElementById(c) ?? document.body : c : document.getElementById("floatingElements") ?? document.body;
|
|
5040
5040
|
}
|
|
5041
|
-
const i = o(), l =
|
|
5041
|
+
const i = o(), l = z(() => {
|
|
5042
5042
|
});
|
|
5043
5043
|
function r(c) {
|
|
5044
5044
|
c.relatedTarget && s.value && s.value.contains(c.relatedTarget) || t.multiselect.value.deactivate();
|
|
@@ -5112,7 +5112,7 @@ function d7(t, e, a) {
|
|
|
5112
5112
|
};
|
|
5113
5113
|
}
|
|
5114
5114
|
function p7(t, e) {
|
|
5115
|
-
const { value: a, modelValue: s, mode: n, valueProp: o } = Ee(t), i =
|
|
5115
|
+
const { value: a, modelValue: s, mode: n, valueProp: o } = Ee(t), i = z(n.value !== "single" ? [] : {}), l = A(() => s && s.value !== void 0 ? s.value : a.value), r = A(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), d = A(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
|
|
5116
5116
|
return {
|
|
5117
5117
|
iv: i,
|
|
5118
5118
|
internalValue: i,
|
|
@@ -5123,7 +5123,7 @@ function p7(t, e) {
|
|
|
5123
5123
|
};
|
|
5124
5124
|
}
|
|
5125
5125
|
function v7(t, e, a) {
|
|
5126
|
-
const { regex: s } = Ee(t), n = Lt().proxy, o = a.isOpen, i = a.open, l =
|
|
5126
|
+
const { regex: s } = Ee(t), n = Lt().proxy, o = a.isOpen, i = a.open, l = z(null), r = () => {
|
|
5127
5127
|
l.value = "";
|
|
5128
5128
|
}, d = (p) => {
|
|
5129
5129
|
l.value = p.target.value;
|
|
@@ -5151,7 +5151,7 @@ function v7(t, e, a) {
|
|
|
5151
5151
|
};
|
|
5152
5152
|
}
|
|
5153
5153
|
function f7(t, e, a) {
|
|
5154
|
-
const { groupSelect: s, mode: n, groups: o, disabledProp: i } = Ee(t), l =
|
|
5154
|
+
const { groupSelect: s, mode: n, groups: o, disabledProp: i } = Ee(t), l = z(null), r = (u) => {
|
|
5155
5155
|
u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (l.value = u);
|
|
5156
5156
|
};
|
|
5157
5157
|
return {
|
|
@@ -5197,7 +5197,7 @@ function g7(t, e, a) {
|
|
|
5197
5197
|
clearOnSelect: I,
|
|
5198
5198
|
valueProp: L,
|
|
5199
5199
|
allowAbsent: F,
|
|
5200
|
-
groupLabel:
|
|
5200
|
+
groupLabel: q,
|
|
5201
5201
|
canDeselect: K,
|
|
5202
5202
|
max: J,
|
|
5203
5203
|
strict: ae,
|
|
@@ -5213,7 +5213,7 @@ function g7(t, e, a) {
|
|
|
5213
5213
|
disabledProp: b,
|
|
5214
5214
|
searchStart: V,
|
|
5215
5215
|
searchFilter: oe
|
|
5216
|
-
} = Ee(t), ne = Lt().proxy, Z = a.iv, H = a.ev, x = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer,
|
|
5216
|
+
} = Ee(t), ne = Lt().proxy, Z = a.iv, H = a.ev, x = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, rs = a.deactivate, it = a.close, ka = a.localize, ot = z([]), Ue = z([]), Ie = z(!1), Re = z(null), Ye = z(ee.value && i.value === -1 ? 10 : i.value), Qt = A(() => r.value || d.value || !1), Sa = A(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Le = A(() => {
|
|
5217
5217
|
if (le.value) {
|
|
5218
5218
|
let S = bt.value || /* istanbul ignore next */
|
|
5219
5219
|
[], B = [];
|
|
@@ -5225,12 +5225,12 @@ function g7(t, e, a) {
|
|
|
5225
5225
|
} else {
|
|
5226
5226
|
let S = hs(Ue.value || /* istanbul ignore next */
|
|
5227
5227
|
[]);
|
|
5228
|
-
return
|
|
5228
|
+
return ot.value.length && (S = S.concat(ot.value)), S;
|
|
5229
5229
|
}
|
|
5230
5230
|
}), Jt = A(() => {
|
|
5231
5231
|
let S = Le.value;
|
|
5232
5232
|
return se.value && (S = S.reverse()), Pt.value.length && (S = Pt.value.concat(S)), fs(S);
|
|
5233
|
-
}),
|
|
5233
|
+
}), lt = A(() => {
|
|
5234
5234
|
let S = Jt.value;
|
|
5235
5235
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5236
5236
|
}), bt = A(() => {
|
|
@@ -5238,15 +5238,15 @@ function g7(t, e, a) {
|
|
|
5238
5238
|
return [];
|
|
5239
5239
|
let S = [], B = Ue.value || /* istanbul ignore next */
|
|
5240
5240
|
[];
|
|
5241
|
-
return
|
|
5242
|
-
[
|
|
5243
|
-
[E.value]: [...
|
|
5241
|
+
return ot.value.length && S.push({
|
|
5242
|
+
[q.value]: " ",
|
|
5243
|
+
[E.value]: [...ot.value],
|
|
5244
5244
|
__CREATE__: !0
|
|
5245
5245
|
}), S.concat(B);
|
|
5246
5246
|
}), Aa = A(() => {
|
|
5247
5247
|
let S = [...bt.value].map((B) => ({ ...B }));
|
|
5248
5248
|
return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][E.value] = [...Pt.value, ...S[0][E.value]] : S = [{
|
|
5249
|
-
[
|
|
5249
|
+
[q.value]: " ",
|
|
5250
5250
|
[E.value]: [...Pt.value],
|
|
5251
5251
|
__CREATE__: !0
|
|
5252
5252
|
}].concat(S)), S;
|
|
@@ -5273,7 +5273,7 @@ function g7(t, e, a) {
|
|
|
5273
5273
|
case "tags":
|
|
5274
5274
|
return !Fe(Z.value) && Z.value.length > 0;
|
|
5275
5275
|
}
|
|
5276
|
-
}), Ci = A(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = A(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = A(() => Le.value.length > 0 &&
|
|
5276
|
+
}), Ci = A(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = A(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = A(() => Le.value.length > 0 && lt.value.length == 0 && (x.value && le.value || !le.value)), Pt = A(() => Qt.value === !1 || !x.value ? [] : Oi(x.value) !== -1 ? [] : [{
|
|
5277
5277
|
[L.value]: x.value,
|
|
5278
5278
|
[wt.value[0]]: x.value,
|
|
5279
5279
|
[u.value]: x.value,
|
|
@@ -5342,32 +5342,32 @@ function g7(t, e, a) {
|
|
|
5342
5342
|
switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
|
|
5343
5343
|
case "single":
|
|
5344
5344
|
if (S && xe(S)) {
|
|
5345
|
-
K.value && Vt(S), G.value && (
|
|
5345
|
+
K.value && Vt(S), G.value && (nt(), it());
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
|
-
S && vs(S), I.value && he(), j.value && (
|
|
5348
|
+
S && vs(S), I.value && he(), j.value && (nt(), it()), S && Ht(S);
|
|
5349
5349
|
break;
|
|
5350
5350
|
case "multiple":
|
|
5351
5351
|
if (S && xe(S)) {
|
|
5352
|
-
Vt(S), G.value && (
|
|
5352
|
+
Vt(S), G.value && (nt(), it());
|
|
5353
5353
|
return;
|
|
5354
5354
|
}
|
|
5355
5355
|
if (ps()) {
|
|
5356
5356
|
e.emit("max", ne);
|
|
5357
5357
|
return;
|
|
5358
5358
|
}
|
|
5359
|
-
S && (vs(S), Ht(S)), I.value && he(), l.value &&
|
|
5359
|
+
S && (vs(S), Ht(S)), I.value && he(), l.value && nt(), j.value && it();
|
|
5360
5360
|
break;
|
|
5361
5361
|
case "tags":
|
|
5362
5362
|
if (S && xe(S)) {
|
|
5363
|
-
Vt(S), G.value && (
|
|
5363
|
+
Vt(S), G.value && (nt(), it());
|
|
5364
5364
|
return;
|
|
5365
5365
|
}
|
|
5366
5366
|
if (ps()) {
|
|
5367
5367
|
e.emit("max", ne);
|
|
5368
5368
|
return;
|
|
5369
5369
|
}
|
|
5370
|
-
S && vs(S), I.value && he(), S && Ht(S), l.value &&
|
|
5370
|
+
S && vs(S), I.value && he(), S && Ht(S), l.value && nt(), j.value && it();
|
|
5371
5371
|
break;
|
|
5372
5372
|
}
|
|
5373
5373
|
j.value || $a();
|
|
@@ -5386,9 +5386,9 @@ function g7(t, e, a) {
|
|
|
5386
5386
|
}, vs = (S) => {
|
|
5387
5387
|
Ke(S[L.value]) === void 0 && Qt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), Sa.value && Ii(S), he());
|
|
5388
5388
|
}, Ai = () => {
|
|
5389
|
-
n.value !== "single" && Ht(
|
|
5389
|
+
n.value !== "single" && Ht(lt.value.filter((S) => !S.disabled && !xe(S)));
|
|
5390
5390
|
}, Mi = (S) => S.find((B) => !xe(B) && !B[b.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
5391
|
-
|
|
5391
|
+
ot.value.push(S);
|
|
5392
5392
|
}, Li = (S) => T.value ? S.filter(
|
|
5393
5393
|
(B) => x.value ? B.__VISIBLE__.length : B[E.value].length
|
|
5394
5394
|
) : S.filter((B) => x.value ? B.__VISIBLE__.length : !0), fs = (S, B = !0) => {
|
|
@@ -5447,7 +5447,7 @@ function g7(t, e, a) {
|
|
|
5447
5447
|
Re.value = ce(x, (S) => {
|
|
5448
5448
|
S.length < m.value || !S && m.value !== 0 || (Ie.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
5449
5449
|
S == x.value && s.value(x.value, ne).then((B) => {
|
|
5450
|
-
(S == x.value || !x.value) && (Ue.value = B, Gt.value =
|
|
5450
|
+
(S == x.value || !x.value) && (Ue.value = B, Gt.value = lt.value.filter((ue) => ue[b.value] !== !0)[0] || null, Ie.value = !1);
|
|
5451
5451
|
}).catch(
|
|
5452
5452
|
/* istanbul ignore next */
|
|
5453
5453
|
(B) => {
|
|
@@ -5481,8 +5481,8 @@ function g7(t, e, a) {
|
|
|
5481
5481
|
Ye.value = ee.value && S === -1 ? 10 : S;
|
|
5482
5482
|
}), {
|
|
5483
5483
|
pfo: Jt,
|
|
5484
|
-
fo:
|
|
5485
|
-
filteredOptions:
|
|
5484
|
+
fo: lt,
|
|
5485
|
+
filteredOptions: lt,
|
|
5486
5486
|
hasSelected: cs,
|
|
5487
5487
|
multipleLabelText: Ci,
|
|
5488
5488
|
eo: Le,
|
|
@@ -5524,7 +5524,7 @@ function C7(t, e, a) {
|
|
|
5524
5524
|
groupSelect: d,
|
|
5525
5525
|
disabledProp: u,
|
|
5526
5526
|
groupOptions: c
|
|
5527
|
-
} = Ee(t), p = a.fo, h = a.fg, w = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, m = a.setPointer, y = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => p.value.filter((H) => !H[u.value])), F = A(() => h.value.filter((H) => !H[u.value])),
|
|
5527
|
+
} = Ee(t), p = a.fo, h = a.fg, w = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, m = a.setPointer, y = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => p.value.filter((H) => !H[u.value])), F = A(() => h.value.filter((H) => !H[u.value])), q = A(() => r.value !== "single" && d.value), K = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
|
|
5528
5528
|
const H = K.value ? $.value : (
|
|
5529
5529
|
/* istanbul ignore next */
|
|
5530
5530
|
ne($.value)
|
|
@@ -5546,8 +5546,8 @@ function C7(t, e, a) {
|
|
|
5546
5546
|
!$.value || $.value[u.value] === !0 || (K.value ? _($.value) : w($.value));
|
|
5547
5547
|
}, V = () => {
|
|
5548
5548
|
if ($.value === null)
|
|
5549
|
-
m((l.value &&
|
|
5550
|
-
else if (l.value &&
|
|
5549
|
+
m((l.value && q.value ? F.value[0].__CREATE__ ? L.value[0] : F.value[0] : L.value[0]) || null);
|
|
5550
|
+
else if (l.value && q.value) {
|
|
5551
5551
|
let H = K.value ? le.value : ee.value;
|
|
5552
5552
|
H === void 0 && (H = j.value, H.__CREATE__ && (H = H[c.value][0])), m(H || /* istanbul ignore next */
|
|
5553
5553
|
null);
|
|
@@ -5561,8 +5561,8 @@ function C7(t, e, a) {
|
|
|
5561
5561
|
}, oe = () => {
|
|
5562
5562
|
if ($.value === null) {
|
|
5563
5563
|
let H = L.value[L.value.length - 1];
|
|
5564
|
-
l.value &&
|
|
5565
|
-
} else if (l.value &&
|
|
5564
|
+
l.value && q.value && (H = T.value, H === void 0 && (H = G.value)), m(H || null);
|
|
5565
|
+
} else if (l.value && q.value) {
|
|
5566
5566
|
let H = K.value ? E.value : se.value;
|
|
5567
5567
|
H === void 0 && (H = K.value ? ae.value : J.value, H.__CREATE__ && (H = E.value, H === void 0 && (H = ae.value))), m(H || /* istanbul ignore next */
|
|
5568
5568
|
null);
|
|
@@ -5594,7 +5594,7 @@ function C7(t, e, a) {
|
|
|
5594
5594
|
}
|
|
5595
5595
|
}), {
|
|
5596
5596
|
pointer: $,
|
|
5597
|
-
canPointGroups:
|
|
5597
|
+
canPointGroups: q,
|
|
5598
5598
|
isPointed: k,
|
|
5599
5599
|
setPointerFirst: R,
|
|
5600
5600
|
selectPointer: b,
|
|
@@ -5679,11 +5679,11 @@ function _t(t) {
|
|
|
5679
5679
|
function Zs(t) {
|
|
5680
5680
|
return qt(_t(t)).left + Fs(t).scrollLeft;
|
|
5681
5681
|
}
|
|
5682
|
-
function
|
|
5682
|
+
function at(t) {
|
|
5683
5683
|
return Oe(t).getComputedStyle(t);
|
|
5684
5684
|
}
|
|
5685
5685
|
function Ws(t) {
|
|
5686
|
-
var e =
|
|
5686
|
+
var e = at(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
|
|
5687
5687
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5688
5688
|
}
|
|
5689
5689
|
function b7(t) {
|
|
@@ -5745,18 +5745,18 @@ function $7(t) {
|
|
|
5745
5745
|
}
|
|
5746
5746
|
function $n(t) {
|
|
5747
5747
|
return !Be(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5748
|
-
|
|
5748
|
+
at(t).position === "fixed" ? null : t.offsetParent;
|
|
5749
5749
|
}
|
|
5750
5750
|
function k7(t) {
|
|
5751
5751
|
var e = /firefox/i.test(ks()), a = /Trident/i.test(ks());
|
|
5752
5752
|
if (a && Be(t)) {
|
|
5753
|
-
var s =
|
|
5753
|
+
var s = at(t);
|
|
5754
5754
|
if (s.position === "fixed")
|
|
5755
5755
|
return null;
|
|
5756
5756
|
}
|
|
5757
5757
|
var n = ss(t);
|
|
5758
5758
|
for (Us(n) && (n = n.host); Be(n) && ["html", "body"].indexOf(ze(n)) < 0; ) {
|
|
5759
|
-
var o =
|
|
5759
|
+
var o = at(n);
|
|
5760
5760
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5761
5761
|
return n;
|
|
5762
5762
|
n = n.parentNode;
|
|
@@ -5764,9 +5764,9 @@ function k7(t) {
|
|
|
5764
5764
|
return null;
|
|
5765
5765
|
}
|
|
5766
5766
|
function ns(t) {
|
|
5767
|
-
for (var e = Oe(t), a = $n(t); a && $7(a) &&
|
|
5767
|
+
for (var e = Oe(t), a = $n(t); a && $7(a) && at(a).position === "static"; )
|
|
5768
5768
|
a = $n(a);
|
|
5769
|
-
return a && (ze(a) === "html" || ze(a) === "body" &&
|
|
5769
|
+
return a && (ze(a) === "html" || ze(a) === "body" && at(a).position === "static") ? e : a || k7(t) || e;
|
|
5770
5770
|
}
|
|
5771
5771
|
var Ne = "top", qe = "bottom", ht = "right", Ge = "left", zs = "auto", is = [Ne, qe, ht, Ge], Yt = "start", va = "end", S7 = "clippingParents", ci = "viewport", ia = "popper", A7 = "reference", kn = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5772
5772
|
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
@@ -5838,7 +5838,7 @@ function F7(t, e) {
|
|
|
5838
5838
|
}
|
|
5839
5839
|
function Z7(t) {
|
|
5840
5840
|
var e, a = _t(t), s = Fs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = At(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = At(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), l = -s.scrollLeft + Zs(t), r = -s.scrollTop;
|
|
5841
|
-
return
|
|
5841
|
+
return at(n || a).direction === "rtl" && (l += At(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5842
5842
|
width: o,
|
|
5843
5843
|
height: i,
|
|
5844
5844
|
x: l,
|
|
@@ -5875,7 +5875,7 @@ function Sn(t, e, a) {
|
|
|
5875
5875
|
return e === ci ? Ss(F7(t, a)) : Et(e) ? z7(e, a) : Ss(Z7(_t(t)));
|
|
5876
5876
|
}
|
|
5877
5877
|
function q7(t) {
|
|
5878
|
-
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(
|
|
5878
|
+
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5879
5879
|
return Et(s) ? e.filter(function(n) {
|
|
5880
5880
|
return Et(n) && W7(n, s) && ze(n) !== "body";
|
|
5881
5881
|
}) : [];
|
|
@@ -5887,7 +5887,7 @@ function Y7(t, e, a, s) {
|
|
|
5887
5887
|
}, Sn(t, i, s));
|
|
5888
5888
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
5889
5889
|
}
|
|
5890
|
-
function
|
|
5890
|
+
function dt(t) {
|
|
5891
5891
|
return t.split("-")[0];
|
|
5892
5892
|
}
|
|
5893
5893
|
function xt(t) {
|
|
@@ -5897,7 +5897,7 @@ function di(t) {
|
|
|
5897
5897
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5898
5898
|
}
|
|
5899
5899
|
function pi(t) {
|
|
5900
|
-
var e = t.reference, a = t.element, s = t.placement, n = s ?
|
|
5900
|
+
var e = t.reference, a = t.element, s = t.placement, n = s ? dt(s) : null, o = s ? xt(s) : null, i = e.x + e.width / 2 - a.width / 2, l = e.y + e.height / 2 - a.height / 2, r;
|
|
5901
5901
|
switch (n) {
|
|
5902
5902
|
case Ne:
|
|
5903
5903
|
r = {
|
|
@@ -5966,7 +5966,7 @@ function qs(t, e) {
|
|
|
5966
5966
|
element: y,
|
|
5967
5967
|
strategy: "absolute",
|
|
5968
5968
|
placement: n
|
|
5969
|
-
}),
|
|
5969
|
+
}), q = Ss(Object.assign({}, y, F)), K = p === ia ? q : L, J = {
|
|
5970
5970
|
top: I.top - K.top + $.top,
|
|
5971
5971
|
bottom: K.bottom - I.bottom + $.bottom,
|
|
5972
5972
|
left: I.left - K.left + $.left,
|
|
@@ -6042,10 +6042,10 @@ function G7(t) {
|
|
|
6042
6042
|
u.reset = !1, P = -1;
|
|
6043
6043
|
continue;
|
|
6044
6044
|
}
|
|
6045
|
-
var I = u.orderedModifiers[P], L = I.fn, F = I.options,
|
|
6045
|
+
var I = u.orderedModifiers[P], L = I.fn, F = I.options, q = F === void 0 ? {} : F, K = I.name;
|
|
6046
6046
|
typeof L == "function" && (u = L({
|
|
6047
6047
|
state: u,
|
|
6048
|
-
options:
|
|
6048
|
+
options: q,
|
|
6049
6049
|
name: K,
|
|
6050
6050
|
instance: h
|
|
6051
6051
|
}) || u);
|
|
@@ -6153,8 +6153,8 @@ function Tn(t) {
|
|
|
6153
6153
|
h = g.x, _ = g.y;
|
|
6154
6154
|
var $ = i.hasOwnProperty("x"), m = i.hasOwnProperty("y"), y = Ge, P = Ne, I = window;
|
|
6155
6155
|
if (d) {
|
|
6156
|
-
var L = ns(a), F = "clientHeight",
|
|
6157
|
-
if (L === Oe(a) && (L = _t(a),
|
|
6156
|
+
var L = ns(a), F = "clientHeight", q = "clientWidth";
|
|
6157
|
+
if (L === Oe(a) && (L = _t(a), at(L).position !== "static" && l === "absolute" && (F = "scrollHeight", q = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ht) && o === va) {
|
|
6158
6158
|
P = qe;
|
|
6159
6159
|
var K = c && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6160
6160
|
// $FlowFixMe[prop-missing]
|
|
@@ -6166,7 +6166,7 @@ function Tn(t) {
|
|
|
6166
6166
|
y = ht;
|
|
6167
6167
|
var J = c && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
6169
|
-
L[
|
|
6169
|
+
L[q]
|
|
6170
6170
|
);
|
|
6171
6171
|
h -= J - s.width, h *= r ? 1 : -1;
|
|
6172
6172
|
}
|
|
@@ -6188,7 +6188,7 @@ function Tn(t) {
|
|
|
6188
6188
|
}
|
|
6189
6189
|
function sp(t) {
|
|
6190
6190
|
var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, o = a.adaptive, i = o === void 0 ? !0 : o, l = a.roundOffsets, r = l === void 0 ? !0 : l, d = {
|
|
6191
|
-
placement:
|
|
6191
|
+
placement: dt(e.placement),
|
|
6192
6192
|
variation: xt(e.placement),
|
|
6193
6193
|
popper: e.elements.popper,
|
|
6194
6194
|
popperRect: e.rects.popper,
|
|
@@ -6276,7 +6276,7 @@ function pp(t) {
|
|
|
6276
6276
|
rootBoundary: d,
|
|
6277
6277
|
padding: c,
|
|
6278
6278
|
altBoundary: u
|
|
6279
|
-
}), $ =
|
|
6279
|
+
}), $ = dt(e.placement), m = xt(e.placement), y = !m, P = di($), I = cp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, q = e.rects.popper, K = typeof _ == "function" ? _(Object.assign({}, e.rects, {
|
|
6280
6280
|
placement: e.placement
|
|
6281
6281
|
})) : _, J = typeof K == "number" ? {
|
|
6282
6282
|
mainAxis: K,
|
|
@@ -6290,14 +6290,14 @@ function pp(t) {
|
|
|
6290
6290
|
};
|
|
6291
6291
|
if (L) {
|
|
6292
6292
|
if (o) {
|
|
6293
|
-
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ht, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -
|
|
6293
|
+
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ht, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -q[ee] / 2 : 0, b = m === Yt ? F[ee] : q[ee], V = m === Yt ? -q[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? ri(oe) : {
|
|
6294
6294
|
width: 0,
|
|
6295
6295
|
height: 0
|
|
6296
|
-
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vi(), H = Z[le], x = Z[se], he = Va(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = y ? -F[ee] / 2 + R + he + x + J.mainAxis : V + he + x + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow),
|
|
6296
|
+
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vi(), H = Z[le], x = Z[se], he = Va(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = y ? -F[ee] / 2 + R + he + x + J.mainAxis : V + he + x + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), nt = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - nt, it = E + Gt - $a, ka = Va(h ? Wa(T, rs) : T, E, h ? At(k, it) : k);
|
|
6297
6297
|
L[P] = ka, j[P] = ka - E;
|
|
6298
6298
|
}
|
|
6299
6299
|
if (l) {
|
|
6300
|
-
var
|
|
6300
|
+
var ot, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ht, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (ot = ae == null ? void 0 : ae[I]) != null ? ot : 0, lt = Le ? Qt : Re - F[Ye] - q[Ye] - Jt + J.altAxis, bt = Le ? Re + F[Ye] + q[Ye] - Jt - J.altAxis : Sa, Aa = h && Le ? dp(lt, Re, bt) : Va(h ? lt : Qt, Re, h ? bt : Sa);
|
|
6301
6301
|
L[I] = Aa, j[I] = Aa - Re;
|
|
6302
6302
|
}
|
|
6303
6303
|
e.modifiersData[s] = j;
|
|
@@ -6343,14 +6343,14 @@ function mp(t, e) {
|
|
|
6343
6343
|
boundary: n,
|
|
6344
6344
|
rootBoundary: o,
|
|
6345
6345
|
padding: i
|
|
6346
|
-
})[
|
|
6346
|
+
})[dt(_)], w;
|
|
6347
6347
|
}, {});
|
|
6348
6348
|
return Object.keys(h).sort(function(w, _) {
|
|
6349
6349
|
return h[w] - h[_];
|
|
6350
6350
|
});
|
|
6351
6351
|
}
|
|
6352
6352
|
function gp(t) {
|
|
6353
|
-
if (
|
|
6353
|
+
if (dt(t) === zs)
|
|
6354
6354
|
return [];
|
|
6355
6355
|
var e = Da(t);
|
|
6356
6356
|
return [On(t), e, On(e)];
|
|
@@ -6358,8 +6358,8 @@ function gp(t) {
|
|
|
6358
6358
|
function Cp(t) {
|
|
6359
6359
|
var e = t.state, a = t.options, s = t.name;
|
|
6360
6360
|
if (!e.modifiersData[s]._skip) {
|
|
6361
|
-
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, _ = a.allowedAutoPlacements, g = e.options.placement, $ =
|
|
6362
|
-
return ne.concat(
|
|
6361
|
+
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, _ = a.allowedAutoPlacements, g = e.options.placement, $ = dt(g), m = $ === g, y = r || (m || !w ? [Da(g)] : gp(g)), P = [g].concat(y).reduce(function(ne, Z) {
|
|
6362
|
+
return ne.concat(dt(Z) === zs ? mp(e, {
|
|
6363
6363
|
placement: Z,
|
|
6364
6364
|
boundary: u,
|
|
6365
6365
|
rootBoundary: c,
|
|
@@ -6367,8 +6367,8 @@ function Cp(t) {
|
|
|
6367
6367
|
flipVariations: w,
|
|
6368
6368
|
allowedAutoPlacements: _
|
|
6369
6369
|
}) : Z);
|
|
6370
|
-
}, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(),
|
|
6371
|
-
var ae = P[J], j =
|
|
6370
|
+
}, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), q = !0, K = P[0], J = 0; J < P.length; J++) {
|
|
6371
|
+
var ae = P[J], j = dt(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
|
|
6372
6372
|
placement: ae,
|
|
6373
6373
|
boundary: u,
|
|
6374
6374
|
rootBoundary: c,
|
|
@@ -6380,12 +6380,12 @@ function Cp(t) {
|
|
|
6380
6380
|
if (o && k.push(ee[j] <= 0), l && k.push(ee[E] <= 0, ee[T] <= 0), k.every(function(ne) {
|
|
6381
6381
|
return ne;
|
|
6382
6382
|
})) {
|
|
6383
|
-
K = ae,
|
|
6383
|
+
K = ae, q = !1;
|
|
6384
6384
|
break;
|
|
6385
6385
|
}
|
|
6386
6386
|
F.set(ae, k);
|
|
6387
6387
|
}
|
|
6388
|
-
if (
|
|
6388
|
+
if (q)
|
|
6389
6389
|
for (var R = w ? 3 : 1, b = function(Z) {
|
|
6390
6390
|
var H = P.find(function(x) {
|
|
6391
6391
|
var he = F.get(x);
|
|
@@ -6415,7 +6415,7 @@ var _p = {
|
|
|
6415
6415
|
}
|
|
6416
6416
|
};
|
|
6417
6417
|
function yp(t, e, a) {
|
|
6418
|
-
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, d = a.dropdown, u =
|
|
6418
|
+
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, d = a.dropdown, u = z(!1), c = z(null), p = z(null), h = A(() => n.value || o.value), w = A(() => i.value === "top" && p.value === "bottom" || i.value === "bottom" && p.value !== "top" ? "bottom" : "top"), _ = () => {
|
|
6419
6419
|
u.value || s.value || (u.value = !0, e.emit("open", l), h.value && Me(() => {
|
|
6420
6420
|
$();
|
|
6421
6421
|
}));
|
|
@@ -6489,12 +6489,12 @@ function yp(t, e, a) {
|
|
|
6489
6489
|
};
|
|
6490
6490
|
}
|
|
6491
6491
|
function bp(t, e, a) {
|
|
6492
|
-
const { searchable: s, disabled: n, clearOnBlur: o } = Ee(t), i = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, h =
|
|
6492
|
+
const { searchable: s, disabled: n, clearOnBlur: o } = Ee(t), i = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, h = z(!1), w = z(!1), _ = A(() => s.value || n.value ? -1 : 0), g = () => {
|
|
6493
6493
|
s.value && i.value.blur(), c.value.blur();
|
|
6494
6494
|
}, $ = () => {
|
|
6495
6495
|
s.value && !n.value && i.value.focus();
|
|
6496
|
-
}, m = (
|
|
6497
|
-
n.value || (h.value = !0,
|
|
6496
|
+
}, m = (q = !0) => {
|
|
6497
|
+
n.value || (h.value = !0, q && l());
|
|
6498
6498
|
}, y = () => {
|
|
6499
6499
|
h.value = !1, setTimeout(() => {
|
|
6500
6500
|
h.value || (r(), o.value && d());
|
|
@@ -6508,8 +6508,8 @@ function bp(t, e, a) {
|
|
|
6508
6508
|
focus: $,
|
|
6509
6509
|
activate: m,
|
|
6510
6510
|
deactivate: y,
|
|
6511
|
-
handleFocusIn: (
|
|
6512
|
-
|
|
6511
|
+
handleFocusIn: (q) => {
|
|
6512
|
+
q.target.closest("[data-tags]") && q.target.nodeName !== "INPUT" || q.target.closest("[data-clear]") || m(w.value);
|
|
6513
6513
|
},
|
|
6514
6514
|
handleFocusOut: () => {
|
|
6515
6515
|
y();
|
|
@@ -6517,8 +6517,8 @@ function bp(t, e, a) {
|
|
|
6517
6517
|
handleCaretClick: () => {
|
|
6518
6518
|
y(), g();
|
|
6519
6519
|
},
|
|
6520
|
-
handleMousedown: (
|
|
6521
|
-
w.value = !0, u.value && (
|
|
6520
|
+
handleMousedown: (q) => {
|
|
6521
|
+
w.value = !0, u.value && (q.target.isEqualNode(c.value) || q.target.isEqualNode(p.value)) ? setTimeout(() => {
|
|
6522
6522
|
y();
|
|
6523
6523
|
}, 0) : !u.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(i.value)) && m(), setTimeout(() => {
|
|
6524
6524
|
w.value = !1;
|
|
@@ -6539,7 +6539,7 @@ function wp(t, e, a) {
|
|
|
6539
6539
|
createTag: c,
|
|
6540
6540
|
createOption: p,
|
|
6541
6541
|
reverse: h
|
|
6542
|
-
} = Ee(t), w = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, m = a.search, y = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect,
|
|
6542
|
+
} = Ee(t), w = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, m = a.search, y = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, q = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => c.value || p.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
|
|
6543
6543
|
s.value === "tags" && !l.value && le.value && i.value && !d.value && y(G.value[G.value.map((k) => k[r.value]).indexOf(m.value)]);
|
|
6544
6544
|
};
|
|
6545
6545
|
return {
|
|
@@ -6557,7 +6557,7 @@ function wp(t, e, a) {
|
|
|
6557
6557
|
if (k.preventDefault(), k.keyCode === 229)
|
|
6558
6558
|
return;
|
|
6559
6559
|
if (b !== -1 && b !== void 0) {
|
|
6560
|
-
g([..._.value].filter((oe, ne) => ne !== b)), b === R.length - 1 && (R.length - 1 ? R[R.length - 2].focus() : i.value ? K.value.querySelector("input").focus() :
|
|
6560
|
+
g([..._.value].filter((oe, ne) => ne !== b)), b === R.length - 1 && (R.length - 1 ? R[R.length - 2].focus() : i.value ? K.value.querySelector("input").focus() : q.value.focus());
|
|
6561
6561
|
return;
|
|
6562
6562
|
}
|
|
6563
6563
|
if (se.value.indexOf("enter") === -1 && le.value)
|
|
@@ -6603,7 +6603,7 @@ function wp(t, e, a) {
|
|
|
6603
6603
|
case "ArrowRight":
|
|
6604
6604
|
if (b === -1 || k.shiftKey || s.value !== "tags" || !_.value || !_.value.length)
|
|
6605
6605
|
return;
|
|
6606
|
-
k.preventDefault(), R.length > b + 1 ? R[b + 1].focus() : i.value ? K.value.querySelector("input").focus() : i.value ||
|
|
6606
|
+
k.preventDefault(), R.length > b + 1 ? R[b + 1].focus() : i.value ? K.value.querySelector("input").focus() : i.value || q.value.focus();
|
|
6607
6607
|
break;
|
|
6608
6608
|
}
|
|
6609
6609
|
},
|
|
@@ -6727,7 +6727,7 @@ function kp(t, e, a) {
|
|
|
6727
6727
|
const {
|
|
6728
6728
|
limit: s,
|
|
6729
6729
|
infinite: n
|
|
6730
|
-
} = Ee(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, d = a.eo, u =
|
|
6730
|
+
} = Ee(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, d = a.eo, u = z(null), c = z(null), p = A(() => i.value < r.value.length), h = (_) => {
|
|
6731
6731
|
const { isIntersecting: g, target: $ } = _[0];
|
|
6732
6732
|
if (g) {
|
|
6733
6733
|
const m = $.offsetParent, y = m.scrollTop;
|
|
@@ -6761,7 +6761,7 @@ function Sp(t, e, a) {
|
|
|
6761
6761
|
groupLabel: r,
|
|
6762
6762
|
aria: d,
|
|
6763
6763
|
searchable: u
|
|
6764
|
-
} = Ee(t), c = a.pointer, p = a.iv, h = a.hasSelected, w = a.multipleLabelText, _ =
|
|
6764
|
+
} = Ee(t), c = a.pointer, p = a.iv, h = a.hasSelected, w = a.multipleLabelText, _ = z(null), g = A(() => {
|
|
6765
6765
|
let j = [];
|
|
6766
6766
|
return n && n.value && j.push(n.value), j.push("assist"), j.join("-");
|
|
6767
6767
|
}), $ = A(() => {
|
|
@@ -6780,7 +6780,7 @@ function Sp(t, e, a) {
|
|
|
6780
6780
|
}), F = (j) => {
|
|
6781
6781
|
let G = [];
|
|
6782
6782
|
return n && n.value && G.push(n.value), G.push("multiselect-option"), G.push(j[o.value]), G.join("-");
|
|
6783
|
-
},
|
|
6783
|
+
}, q = (j) => {
|
|
6784
6784
|
let G = [];
|
|
6785
6785
|
return n && n.value && G.push(n.value), G.push("multiselect-group"), G.push(j.index), G.join("-");
|
|
6786
6786
|
}, K = (j) => {
|
|
@@ -6805,7 +6805,7 @@ function Sp(t, e, a) {
|
|
|
6805
6805
|
ariaActiveDescendant: m,
|
|
6806
6806
|
ariaOptionId: F,
|
|
6807
6807
|
ariaOptionLabel: K,
|
|
6808
|
-
ariaGroupId:
|
|
6808
|
+
ariaGroupId: q,
|
|
6809
6809
|
ariaGroupLabel: J,
|
|
6810
6810
|
ariaTagLabel: ae
|
|
6811
6811
|
};
|
|
@@ -6820,7 +6820,7 @@ function Ap(t, e, a) {
|
|
|
6820
6820
|
};
|
|
6821
6821
|
}
|
|
6822
6822
|
function Mp(t, e, a) {
|
|
6823
|
-
const s =
|
|
6823
|
+
const s = z(null), n = z(null), o = z(null), i = z(null), l = z(null);
|
|
6824
6824
|
return {
|
|
6825
6825
|
multiselect: s,
|
|
6826
6826
|
wrapper: n,
|
|
@@ -6837,7 +6837,7 @@ function Tp(t, e, a, s = {}) {
|
|
|
6837
6837
|
});
|
|
6838
6838
|
}), s;
|
|
6839
6839
|
}
|
|
6840
|
-
var
|
|
6840
|
+
var ct = {
|
|
6841
6841
|
name: "Multiselect",
|
|
6842
6842
|
emits: [
|
|
6843
6843
|
"paste",
|
|
@@ -7288,7 +7288,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7288
7288
|
i.disabled ? t.classList.tagDisabled : null
|
|
7289
7289
|
]),
|
|
7290
7290
|
tabindex: "-1",
|
|
7291
|
-
onKeyup:
|
|
7291
|
+
onKeyup: pt((d) => t.handleTagRemove(i, d), ["enter"]),
|
|
7292
7292
|
key: r,
|
|
7293
7293
|
"aria-label": t.ariaTagLabel(t.localize(i[a.label]))
|
|
7294
7294
|
}, [
|
|
@@ -7445,7 +7445,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7445
7445
|
"aria-roledescription": "❎",
|
|
7446
7446
|
class: X(t.classList.clear),
|
|
7447
7447
|
onClick: e[6] || (e[6] = (...i) => t.clear && t.clear(...i)),
|
|
7448
|
-
onKeyup: e[7] || (e[7] =
|
|
7448
|
+
onKeyup: e[7] || (e[7] = pt((...i) => t.clear && t.clear(...i), ["enter"]))
|
|
7449
7449
|
},
|
|
7450
7450
|
[
|
|
7451
7451
|
f(
|
|
@@ -7693,20 +7693,20 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7693
7693
|
)
|
|
7694
7694
|
], 42, Op);
|
|
7695
7695
|
}
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
const Se = /* @__PURE__ */
|
|
7696
|
+
ct.render = Gp;
|
|
7697
|
+
ct.__file = "src/Multiselect.vue";
|
|
7698
|
+
const Se = /* @__PURE__ */ Y({
|
|
7699
7699
|
__name: "AoMultiselect",
|
|
7700
7700
|
props: {
|
|
7701
7701
|
detached: { type: Boolean },
|
|
7702
7702
|
appendTo: {}
|
|
7703
7703
|
},
|
|
7704
7704
|
setup(t) {
|
|
7705
|
-
const e = t, a = Rt(() => e.appendTo), s =
|
|
7705
|
+
const e = t, a = Rt(() => e.appendTo), s = z();
|
|
7706
7706
|
return e.detached && c7({
|
|
7707
7707
|
multiselect: s,
|
|
7708
7708
|
appendTo: a.value
|
|
7709
|
-
}), (n, o) => (v(), D(Q(
|
|
7709
|
+
}), (n, o) => (v(), D(Q(ct), {
|
|
7710
7710
|
ref_key: "multiselectRef",
|
|
7711
7711
|
ref: s,
|
|
7712
7712
|
class: "ao-multiselect"
|
|
@@ -7734,7 +7734,7 @@ function Xp() {
|
|
|
7734
7734
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7735
7735
|
return t;
|
|
7736
7736
|
}
|
|
7737
|
-
|
|
7737
|
+
Y({
|
|
7738
7738
|
props: {
|
|
7739
7739
|
translation: {
|
|
7740
7740
|
type: String,
|
|
@@ -7771,7 +7771,7 @@ async function Xe(t, e) {
|
|
|
7771
7771
|
i == null || i.select();
|
|
7772
7772
|
}
|
|
7773
7773
|
}
|
|
7774
|
-
const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id", "value", "readonly", "onChange", "onKeyup"], tv = { class: "ao-tasks__list-footer" }, av = /* @__PURE__ */
|
|
7774
|
+
const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id", "value", "readonly", "onChange", "onKeyup"], tv = { class: "ao-tasks__list-footer" }, av = /* @__PURE__ */ Y({
|
|
7775
7775
|
__name: "AoActivityTasks",
|
|
7776
7776
|
props: {
|
|
7777
7777
|
activityId: {},
|
|
@@ -7848,7 +7848,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7848
7848
|
class: X(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": h.isDone }]),
|
|
7849
7849
|
type: "text",
|
|
7850
7850
|
onChange: (g) => i(g, h.id),
|
|
7851
|
-
onKeyup:
|
|
7851
|
+
onKeyup: pt(u, ["enter"])
|
|
7852
7852
|
}, null, 42, ev),
|
|
7853
7853
|
qa(". "),
|
|
7854
7854
|
!c.isTemplate && c.users ? (v(), D(Se, {
|
|
@@ -7866,7 +7866,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7866
7866
|
onChange: (g) => d(g, h.id)
|
|
7867
7867
|
}, {
|
|
7868
7868
|
tag: N(({ option: g, handleTagRemove: $ }) => [
|
|
7869
|
-
M(
|
|
7869
|
+
M(et, {
|
|
7870
7870
|
"user-name": g.label,
|
|
7871
7871
|
"avatar-url": g.avatar,
|
|
7872
7872
|
"is-closable": !0,
|
|
@@ -7903,7 +7903,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7903
7903
|
const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class: "ao-files__placeholder" }, iv = {
|
|
7904
7904
|
key: 0,
|
|
7905
7905
|
class: "ao-files__list"
|
|
7906
|
-
}, ov = ["href"], lv = { class: "ao-file__title" }, rv = { key: 0 }, uv = { class: "ao-files__input" }, cv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, dv = { class: "ao-button__label" }, pv = { class: "ao-files__dropzone" }, vv = { class: "ao-files__dropzone-label" }, fv = /* @__PURE__ */
|
|
7906
|
+
}, ov = ["href"], lv = { class: "ao-file__title" }, rv = { key: 0 }, uv = { class: "ao-files__input" }, cv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, dv = { class: "ao-button__label" }, pv = { class: "ao-files__dropzone" }, vv = { class: "ao-files__dropzone-label" }, fv = /* @__PURE__ */ Y({
|
|
7907
7907
|
__name: "AoActivityDetailsFiles",
|
|
7908
7908
|
props: {
|
|
7909
7909
|
attachments: {},
|
|
@@ -7929,7 +7929,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7929
7929
|
);
|
|
7930
7930
|
});
|
|
7931
7931
|
});
|
|
7932
|
-
const i =
|
|
7932
|
+
const i = z(!1);
|
|
7933
7933
|
function l() {
|
|
7934
7934
|
a.isEditable && (i.value = !0);
|
|
7935
7935
|
}
|
|
@@ -8020,7 +8020,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
8020
8020
|
const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv = { class: "ao-comment__body" }, Cv = { class: "ao-comment__content-wrapper" }, _v = {
|
|
8021
8021
|
key: 1,
|
|
8022
8022
|
class: "ao-comment__footer"
|
|
8023
|
-
}, yv = /* @__PURE__ */
|
|
8023
|
+
}, yv = /* @__PURE__ */ Y({
|
|
8024
8024
|
__name: "AoComment",
|
|
8025
8025
|
props: {
|
|
8026
8026
|
user: {},
|
|
@@ -8034,14 +8034,14 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8034
8034
|
const a = t, s = A(() => {
|
|
8035
8035
|
const _ = a.user;
|
|
8036
8036
|
return _ ? `${_ == null ? void 0 : _.firstName} ${_ == null ? void 0 : _.lastName}` : null;
|
|
8037
|
-
}), n =
|
|
8037
|
+
}), n = z(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Hn(n), d = A(() => {
|
|
8038
8038
|
const _ = a.editedAt && ca(a.editedAt), g = ca(a.createdAt), $ = /* @__PURE__ */ new Date(), m = _ ?? g;
|
|
8039
8039
|
return m && d3(m, $);
|
|
8040
8040
|
}), u = A(() => o.value ? "textarea" : "p"), c = r(), p = l((_) => {
|
|
8041
8041
|
e("edit", _);
|
|
8042
8042
|
}), h = () => {
|
|
8043
8043
|
e("remove");
|
|
8044
|
-
}, w =
|
|
8044
|
+
}, w = z(2);
|
|
8045
8045
|
return Ni(() => {
|
|
8046
8046
|
Me(() => {
|
|
8047
8047
|
var _;
|
|
@@ -8053,7 +8053,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8053
8053
|
}), (_, g) => {
|
|
8054
8054
|
var $;
|
|
8055
8055
|
return v(), C("li", hv, [
|
|
8056
|
-
s.value ? (v(), D(
|
|
8056
|
+
s.value ? (v(), D(et, {
|
|
8057
8057
|
key: 0,
|
|
8058
8058
|
"avatar-url": ($ = _.user) == null ? void 0 : $.avatarUrl,
|
|
8059
8059
|
"user-name": s.value,
|
|
@@ -8069,8 +8069,8 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8069
8069
|
value: Q(o) ? _.content : null,
|
|
8070
8070
|
rows: Q(o) ? w.value : null,
|
|
8071
8071
|
onKeyup: [
|
|
8072
|
-
|
|
8073
|
-
|
|
8072
|
+
pt(Q(c), ["esc"]),
|
|
8073
|
+
pt(ve(Q(p), ["ctrl"]), ["enter"])
|
|
8074
8074
|
]
|
|
8075
8075
|
}, {
|
|
8076
8076
|
default: N(() => [
|
|
@@ -8121,7 +8121,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8121
8121
|
const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placeholder"], kv = { class: "ao-comments__form-submit" }, Sv = {
|
|
8122
8122
|
key: 0,
|
|
8123
8123
|
class: "ao-comments__list"
|
|
8124
|
-
}, Av = /* @__PURE__ */
|
|
8124
|
+
}, Av = /* @__PURE__ */ Y({
|
|
8125
8125
|
__name: "AoActivityDetailsComments",
|
|
8126
8126
|
props: {
|
|
8127
8127
|
comments: { default: () => [] },
|
|
@@ -8133,7 +8133,7 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8133
8133
|
setup(t, { emit: e }) {
|
|
8134
8134
|
const a = t, s = A(() => (a.comments || []).toSorted(
|
|
8135
8135
|
(p, h) => t0(ca(p.createdAt), ca(h.createdAt))
|
|
8136
|
-
)), n = (c) => a.users.find((h) => h.id === c), o =
|
|
8136
|
+
)), n = (c) => a.users.find((h) => h.id === c), o = z();
|
|
8137
8137
|
Me(() => {
|
|
8138
8138
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
8139
8139
|
});
|
|
@@ -8209,7 +8209,7 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8209
8209
|
};
|
|
8210
8210
|
}
|
|
8211
8211
|
});
|
|
8212
|
-
const As = /* @__PURE__ */
|
|
8212
|
+
const As = /* @__PURE__ */ Y({
|
|
8213
8213
|
__name: "AoButtonCheck",
|
|
8214
8214
|
props: {
|
|
8215
8215
|
modelValue: { type: Boolean },
|
|
@@ -8253,7 +8253,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8253
8253
|
}, gf = { class: "ao-fieldset ao-activity-details__aside-section" }, Cf = { class: "ao-fieldset__title" }, _f = { class: "ao-fieldset__body" }, yf = { class: "ao-field__row" }, bf = { class: "ao-field ao-field--multiselect" }, wf = { class: "ao-field__label" }, $f = { class: "ao-field__row" }, kf = { class: "ao-field ao-field--multiselect" }, Sf = { class: "ao-field__label" }, Af = {
|
|
8254
8254
|
key: 2,
|
|
8255
8255
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8256
|
-
}, Mf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */
|
|
8256
|
+
}, Mf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ Y({
|
|
8257
8257
|
__name: "AoActivityDetails",
|
|
8258
8258
|
props: {
|
|
8259
8259
|
activity: {},
|
|
@@ -8401,7 +8401,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8401
8401
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
8402
8402
|
});
|
|
8403
8403
|
}
|
|
8404
|
-
}),
|
|
8404
|
+
}), q = (b) => {
|
|
8405
8405
|
e("addFiles", {
|
|
8406
8406
|
activityId: a.activity.id,
|
|
8407
8407
|
files: b
|
|
@@ -8524,7 +8524,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8524
8524
|
M(fv, {
|
|
8525
8525
|
attachments: b.activity.attachments,
|
|
8526
8526
|
"is-editable": b.attachmentEnabled && s.value && b.isTemplate !== !0 && !!b.userId,
|
|
8527
|
-
onAdd:
|
|
8527
|
+
onAdd: q,
|
|
8528
8528
|
onRemove: K
|
|
8529
8529
|
}, {
|
|
8530
8530
|
default: N(() => [
|
|
@@ -8668,7 +8668,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8668
8668
|
option: H,
|
|
8669
8669
|
handleTagRemove: x
|
|
8670
8670
|
}) => [
|
|
8671
|
-
M(
|
|
8671
|
+
M(et, {
|
|
8672
8672
|
"user-name": H.label,
|
|
8673
8673
|
"avatar-url": H.avatar,
|
|
8674
8674
|
"is-closable": !0,
|
|
@@ -8791,7 +8791,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8791
8791
|
]),
|
|
8792
8792
|
b.isTemplate !== !0 && k.value ? (v(), C("div", Af, [
|
|
8793
8793
|
f("div", Mf, [
|
|
8794
|
-
M(
|
|
8794
|
+
M(et, {
|
|
8795
8795
|
"user-name": k.value,
|
|
8796
8796
|
color: "black"
|
|
8797
8797
|
}, null, 8, ["user-name"]),
|
|
@@ -8806,7 +8806,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8806
8806
|
}));
|
|
8807
8807
|
}
|
|
8808
8808
|
});
|
|
8809
|
-
const Tf = /* @__PURE__ */
|
|
8809
|
+
const Tf = /* @__PURE__ */ Y({
|
|
8810
8810
|
__name: "AoRuleLine",
|
|
8811
8811
|
props: {
|
|
8812
8812
|
rule: {},
|
|
@@ -8882,22 +8882,22 @@ const Tf = /* @__PURE__ */ q({
|
|
|
8882
8882
|
}), g = A(() => Object.values(K2));
|
|
8883
8883
|
return ($, m) => (v(), D(mt($.tagName), { class: "ao-rule-line" }, {
|
|
8884
8884
|
default: N(() => [
|
|
8885
|
-
M(Q(
|
|
8885
|
+
M(Q(ct), {
|
|
8886
8886
|
modelValue: n.value,
|
|
8887
8887
|
"onUpdate:modelValue": m[0] || (m[0] = (y) => n.value = y),
|
|
8888
8888
|
options: o.value
|
|
8889
8889
|
}, null, 8, ["modelValue", "options"]),
|
|
8890
|
-
M(Q(
|
|
8890
|
+
M(Q(ct), {
|
|
8891
8891
|
modelValue: i.value,
|
|
8892
8892
|
"onUpdate:modelValue": m[1] || (m[1] = (y) => i.value = y),
|
|
8893
8893
|
options: l.value
|
|
8894
8894
|
}, null, 8, ["modelValue", "options"]),
|
|
8895
|
-
M(Q(
|
|
8895
|
+
M(Q(ct), {
|
|
8896
8896
|
modelValue: p.value,
|
|
8897
8897
|
"onUpdate:modelValue": m[2] || (m[2] = (y) => p.value = y),
|
|
8898
8898
|
options: h.value
|
|
8899
8899
|
}, null, 8, ["modelValue", "options"]),
|
|
8900
|
-
M(Q(
|
|
8900
|
+
M(Q(ct), {
|
|
8901
8901
|
modelValue: d.value,
|
|
8902
8902
|
"onUpdate:modelValue": m[3] || (m[3] = (y) => d.value = y),
|
|
8903
8903
|
options: u.value
|
|
@@ -8914,7 +8914,7 @@ const Tf = /* @__PURE__ */ q({
|
|
|
8914
8914
|
{ number: !0 }
|
|
8915
8915
|
]
|
|
8916
8916
|
]),
|
|
8917
|
-
M(Q(
|
|
8917
|
+
M(Q(ct), {
|
|
8918
8918
|
modelValue: _.value,
|
|
8919
8919
|
"onUpdate:modelValue": m[5] || (m[5] = (y) => _.value = y),
|
|
8920
8920
|
options: g.value
|
|
@@ -8930,7 +8930,7 @@ const Tf = /* @__PURE__ */ q({
|
|
|
8930
8930
|
}));
|
|
8931
8931
|
}
|
|
8932
8932
|
});
|
|
8933
|
-
const Of = { class: "ao-template-rules__body" }, Ef = { class: "ao-template-rules__list" }, If = /* @__PURE__ */
|
|
8933
|
+
const Of = { class: "ao-template-rules__body" }, Ef = { class: "ao-template-rules__list" }, If = /* @__PURE__ */ Y({
|
|
8934
8934
|
__name: "AoTemplateRules",
|
|
8935
8935
|
props: {
|
|
8936
8936
|
templateId: {},
|
|
@@ -8987,7 +8987,7 @@ function Mt(t, e, a) {
|
|
|
8987
8987
|
const Lf = {
|
|
8988
8988
|
key: 0,
|
|
8989
8989
|
class: "ao-template-details"
|
|
8990
|
-
}, Pf = { class: "ao-template-details__body" }, Hf = { class: "ao-template-details__cols" }, Vf = { class: "ao-template-details__col" }, Df = { class: "ao-list__footer" }, Bf = { class: "ao-template-details__col" }, jf = { class: "ao-template-details__col" }, Rf = /* @__PURE__ */
|
|
8990
|
+
}, Pf = { class: "ao-template-details__body" }, Hf = { class: "ao-template-details__cols" }, Vf = { class: "ao-template-details__col" }, Df = { class: "ao-list__footer" }, Bf = { class: "ao-template-details__col" }, jf = { class: "ao-template-details__col" }, Rf = /* @__PURE__ */ Y({
|
|
8991
8991
|
__name: "AoTemplateDetails",
|
|
8992
8992
|
props: {
|
|
8993
8993
|
templateId: {},
|
|
@@ -9005,7 +9005,7 @@ const Lf = {
|
|
|
9005
9005
|
var E;
|
|
9006
9006
|
return (E = a.templates) == null ? void 0 : E.find((T) => T.id === a.templateId);
|
|
9007
9007
|
}
|
|
9008
|
-
), o =
|
|
9008
|
+
), o = z(!1);
|
|
9009
9009
|
ce(
|
|
9010
9010
|
() => [a.templateId, a.phaseId, a.milestoneId],
|
|
9011
9011
|
() => o.value = !1
|
|
@@ -9178,7 +9178,7 @@ const Lf = {
|
|
|
9178
9178
|
templateId: a.templateId,
|
|
9179
9179
|
data: k
|
|
9180
9180
|
});
|
|
9181
|
-
}, F =
|
|
9181
|
+
}, F = z(!1), q = () => {
|
|
9182
9182
|
F.value = !F.value;
|
|
9183
9183
|
}, K = () => {
|
|
9184
9184
|
e("addRule", { templateId: a.templateId });
|
|
@@ -9357,7 +9357,7 @@ const Lf = {
|
|
|
9357
9357
|
"template-phases": n.value.phases,
|
|
9358
9358
|
"template-milestones": r.value,
|
|
9359
9359
|
"template-activities": d.value,
|
|
9360
|
-
onClose:
|
|
9360
|
+
onClose: q,
|
|
9361
9361
|
onAddRule: K,
|
|
9362
9362
|
onRemoveRule: J
|
|
9363
9363
|
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : O("", !0)
|
|
@@ -9372,7 +9372,7 @@ const Nf = { class: "ao-card__content" }, Uf = {
|
|
|
9372
9372
|
}, Ff = { class: "ao-card__body" }, Zf = {
|
|
9373
9373
|
key: 1,
|
|
9374
9374
|
class: "ao-card__footer"
|
|
9375
|
-
}, os = /* @__PURE__ */
|
|
9375
|
+
}, os = /* @__PURE__ */ Y({
|
|
9376
9376
|
__name: "AoCard",
|
|
9377
9377
|
props: {
|
|
9378
9378
|
isClickable: { type: Boolean },
|
|
@@ -9389,13 +9389,13 @@ const Nf = { class: "ao-card__content" }, Uf = {
|
|
|
9389
9389
|
"ao-card--clickable": e.isClickable
|
|
9390
9390
|
}
|
|
9391
9391
|
]),
|
|
9392
|
-
style:
|
|
9392
|
+
style: Qe(e.isSelected ? { border: "solid", borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
|
|
9393
9393
|
}, {
|
|
9394
9394
|
default: N(() => [
|
|
9395
9395
|
e.withLeftBorder ? (v(), C("div", {
|
|
9396
9396
|
key: 0,
|
|
9397
9397
|
class: "ao-card__left-border",
|
|
9398
|
-
style:
|
|
9398
|
+
style: Qe({ backgroundColor: e.color })
|
|
9399
9399
|
}, null, 4)) : O("", !0),
|
|
9400
9400
|
f("div", Nf, [
|
|
9401
9401
|
e.$slots.header ? (v(), C("header", Uf, [
|
|
@@ -9413,7 +9413,7 @@ const Nf = { class: "ao-card__content" }, Uf = {
|
|
|
9413
9413
|
}, 8, ["class", "style"]));
|
|
9414
9414
|
}
|
|
9415
9415
|
});
|
|
9416
|
-
const ls = /* @__PURE__ */
|
|
9416
|
+
const ls = /* @__PURE__ */ Y({
|
|
9417
9417
|
__name: "AoProgress",
|
|
9418
9418
|
props: {
|
|
9419
9419
|
percentages: {},
|
|
@@ -9429,7 +9429,7 @@ const ls = /* @__PURE__ */ q({
|
|
|
9429
9429
|
(v(!0), C(fe, null, _e(a.value, (o) => (v(), C("div", {
|
|
9430
9430
|
key: o,
|
|
9431
9431
|
class: X(["ao-progress__progress"]),
|
|
9432
|
-
style:
|
|
9432
|
+
style: Qe({
|
|
9433
9433
|
width: `${o * 100}%`,
|
|
9434
9434
|
"--ao-progress-color": s.color || "var(--ao-color-primary-base)"
|
|
9435
9435
|
})
|
|
@@ -9485,7 +9485,7 @@ function qf({ r: t, g: e, b: a }) {
|
|
|
9485
9485
|
let l = parseFloat((s === 0 ? 0 : 1 - n / s).toFixed(2)), r = parseFloat(s.toFixed(2));
|
|
9486
9486
|
return { h: i, s: l, v: r };
|
|
9487
9487
|
}
|
|
9488
|
-
var Ks =
|
|
9488
|
+
var Ks = Y({
|
|
9489
9489
|
props: {
|
|
9490
9490
|
color: {
|
|
9491
9491
|
type: String,
|
|
@@ -9577,7 +9577,7 @@ function xf(t, e, a, s, n, o) {
|
|
|
9577
9577
|
}
|
|
9578
9578
|
Ks.render = xf;
|
|
9579
9579
|
Ks.__file = "src/color/Saturation.vue";
|
|
9580
|
-
var Gs =
|
|
9580
|
+
var Gs = Y({
|
|
9581
9581
|
props: {
|
|
9582
9582
|
hsv: {
|
|
9583
9583
|
type: Object,
|
|
@@ -9663,7 +9663,7 @@ function Gf(t, e, a, s, n, o) {
|
|
|
9663
9663
|
}
|
|
9664
9664
|
Gs.render = Gf;
|
|
9665
9665
|
Gs.__file = "src/color/Hue.vue";
|
|
9666
|
-
var Xs =
|
|
9666
|
+
var Xs = Y({
|
|
9667
9667
|
props: {
|
|
9668
9668
|
color: {
|
|
9669
9669
|
type: String,
|
|
@@ -9758,7 +9758,7 @@ function Qf(t, e, a, s, n, o) {
|
|
|
9758
9758
|
}
|
|
9759
9759
|
Xs.render = Qf;
|
|
9760
9760
|
Xs.__file = "src/color/Alpha.vue";
|
|
9761
|
-
var Qs =
|
|
9761
|
+
var Qs = Y({
|
|
9762
9762
|
props: {
|
|
9763
9763
|
color: {
|
|
9764
9764
|
type: String,
|
|
@@ -9798,7 +9798,7 @@ function Jf(t, e, a, s, n, o) {
|
|
|
9798
9798
|
}
|
|
9799
9799
|
Qs.render = Jf;
|
|
9800
9800
|
Qs.__file = "src/color/Preview.vue";
|
|
9801
|
-
var Js =
|
|
9801
|
+
var Js = Y({
|
|
9802
9802
|
props: {
|
|
9803
9803
|
suckerCanvas: {
|
|
9804
9804
|
type: Object,
|
|
@@ -9927,7 +9927,7 @@ function sh(t, e, a, s, n, o) {
|
|
|
9927
9927
|
}
|
|
9928
9928
|
Js.render = sh;
|
|
9929
9929
|
Js.__file = "src/color/Sucker.vue";
|
|
9930
|
-
var en =
|
|
9930
|
+
var en = Y({
|
|
9931
9931
|
props: {
|
|
9932
9932
|
name: {
|
|
9933
9933
|
type: String,
|
|
@@ -9986,7 +9986,7 @@ function oh(t, e, a, s, n, o) {
|
|
|
9986
9986
|
}
|
|
9987
9987
|
en.render = oh;
|
|
9988
9988
|
en.__file = "src/color/Box.vue";
|
|
9989
|
-
var tn =
|
|
9989
|
+
var tn = Y({
|
|
9990
9990
|
name: "ColorPicker",
|
|
9991
9991
|
props: {
|
|
9992
9992
|
color: {
|
|
@@ -10004,7 +10004,7 @@ var tn = q({
|
|
|
10004
10004
|
},
|
|
10005
10005
|
emits: ["selectColor"],
|
|
10006
10006
|
setup(t, { emit: e }) {
|
|
10007
|
-
const a =
|
|
10007
|
+
const a = z(), s = z([]), n = z();
|
|
10008
10008
|
t.colorsHistoryKey && localStorage && (s.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), n.value = xs(4).toDataURL(), Os(() => {
|
|
10009
10009
|
o(a.value);
|
|
10010
10010
|
});
|
|
@@ -10104,7 +10104,7 @@ function uh(t, e, a, s, n, o) {
|
|
|
10104
10104
|
}
|
|
10105
10105
|
tn.render = uh;
|
|
10106
10106
|
tn.__file = "src/color/Colors.vue";
|
|
10107
|
-
var Ut =
|
|
10107
|
+
var Ut = Y({
|
|
10108
10108
|
components: {
|
|
10109
10109
|
Saturation: Ks,
|
|
10110
10110
|
Hue: Gs,
|
|
@@ -10279,7 +10279,7 @@ var Ut = q({
|
|
|
10279
10279
|
});
|
|
10280
10280
|
const ch = { class: "color-set" };
|
|
10281
10281
|
function dh(t, e, a, s, n, o) {
|
|
10282
|
-
const i =
|
|
10282
|
+
const i = ut("Saturation"), l = ut("Hue"), r = ut("Alpha"), d = ut("Preview"), u = ut("Sucker"), c = ut("Box"), p = ut("Colors");
|
|
10283
10283
|
return v(), D(
|
|
10284
10284
|
"div",
|
|
10285
10285
|
{
|
|
@@ -10366,54 +10366,56 @@ Ut.__file = "src/color/ColorPicker.vue";
|
|
|
10366
10366
|
Ut.install = (t) => {
|
|
10367
10367
|
t.component(Ut.name, Ut);
|
|
10368
10368
|
};
|
|
10369
|
-
const ph = { class: "color-picker-wrapper" }, an = /* @__PURE__ */
|
|
10369
|
+
const ph = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
|
|
10370
10370
|
__name: "AoColorPicker",
|
|
10371
10371
|
props: {
|
|
10372
10372
|
color: {}
|
|
10373
10373
|
},
|
|
10374
10374
|
emits: ["update:color"],
|
|
10375
10375
|
setup(t, { emit: e }) {
|
|
10376
|
-
const a = t, s =
|
|
10377
|
-
s.value = !0;
|
|
10378
|
-
const
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
o.value = w < h && _ > h ? "top" : "bottom";
|
|
10382
|
-
}
|
|
10383
|
-
await Me(), setTimeout(() => {
|
|
10384
|
-
window.addEventListener("click", l);
|
|
10376
|
+
const a = t, s = z(!1), n = z(null), o = z(null), i = z(0), l = z(0), r = async (h) => {
|
|
10377
|
+
o.value = h, s.value = !0, await Me();
|
|
10378
|
+
const w = h.getBoundingClientRect(), _ = n.value, g = (_ == null ? void 0 : _.offsetHeight) || 300, $ = window.innerHeight - w.bottom, m = w.top, y = $ < g && m > g;
|
|
10379
|
+
i.value = y ? w.top - g - 8 : w.bottom + 8, l.value = w.left, setTimeout(() => {
|
|
10380
|
+
window.addEventListener("click", u);
|
|
10385
10381
|
}, 0);
|
|
10386
|
-
},
|
|
10387
|
-
|
|
10388
|
-
|
|
10382
|
+
}, d = A(() => ({
|
|
10383
|
+
position: "fixed",
|
|
10384
|
+
top: `${i.value}px`,
|
|
10385
|
+
left: `${l.value}px`,
|
|
10386
|
+
zIndex: 1e3
|
|
10387
|
+
})), u = (h) => {
|
|
10388
|
+
const w = h.target;
|
|
10389
|
+
n.value && !n.value.contains(w) && (s.value = !1, e("update:color", c.value), window.removeEventListener("click", u));
|
|
10389
10390
|
};
|
|
10390
10391
|
Ts(() => {
|
|
10391
|
-
window.removeEventListener("click",
|
|
10392
|
-
}), ce(() => a.color, (
|
|
10393
|
-
s.value || (
|
|
10392
|
+
window.removeEventListener("click", u);
|
|
10393
|
+
}), ce(() => a.color, (h) => {
|
|
10394
|
+
s.value || (c.value = h);
|
|
10394
10395
|
});
|
|
10395
|
-
const
|
|
10396
|
-
const { r:
|
|
10397
|
-
|
|
10396
|
+
const c = z(a.color), p = (h) => {
|
|
10397
|
+
const { r: w, g: _, b: g, a: $ } = h.rgba;
|
|
10398
|
+
c.value = `rgba(${w}, ${_}, ${g}, ${$})`;
|
|
10398
10399
|
};
|
|
10399
|
-
return (
|
|
10400
|
-
te(
|
|
10401
|
-
openPicker:
|
|
10402
|
-
bgColor:
|
|
10400
|
+
return (h, w) => (v(), C("div", ph, [
|
|
10401
|
+
te(h.$slots, "clickable", {
|
|
10402
|
+
openPicker: r,
|
|
10403
|
+
bgColor: h.color
|
|
10403
10404
|
}),
|
|
10404
10405
|
s.value ? (v(), C("div", {
|
|
10405
10406
|
key: 0,
|
|
10406
10407
|
ref_key: "pickerRef",
|
|
10407
10408
|
ref: n,
|
|
10408
|
-
class:
|
|
10409
|
+
class: "color-picker",
|
|
10410
|
+
style: Qe(d.value)
|
|
10409
10411
|
}, [
|
|
10410
10412
|
M(Q(Ut), {
|
|
10411
10413
|
class: "color-picker-box",
|
|
10412
10414
|
theme: "light",
|
|
10413
|
-
color:
|
|
10414
|
-
onChangeColor:
|
|
10415
|
+
color: h.color,
|
|
10416
|
+
onChangeColor: p
|
|
10415
10417
|
}, null, 8, ["color"])
|
|
10416
|
-
],
|
|
10418
|
+
], 4)) : O("", !0)
|
|
10417
10419
|
]));
|
|
10418
10420
|
}
|
|
10419
10421
|
});
|
|
@@ -10426,7 +10428,7 @@ const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-pr
|
|
|
10426
10428
|
}, Ch = { class: "ao-card-project-phase__subitem" }, _h = { class: "ao-card-project-phase__subitem" }, yh = {
|
|
10427
10429
|
key: 0,
|
|
10428
10430
|
class: "ao-card-project-phase__secondary"
|
|
10429
|
-
}, bh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, wh = /* @__PURE__ */
|
|
10431
|
+
}, bh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, wh = /* @__PURE__ */ Y({
|
|
10430
10432
|
__name: "AoCardProjectItemPhase",
|
|
10431
10433
|
props: {
|
|
10432
10434
|
id: {},
|
|
@@ -10470,7 +10472,7 @@ const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-pr
|
|
|
10470
10472
|
}
|
|
10471
10473
|
}), u = (c, p) => {
|
|
10472
10474
|
const h = c.target;
|
|
10473
|
-
h.closest("button") || h.closest("input") || h.closest(".ao-title") || p();
|
|
10475
|
+
h.closest("button") || h.closest("input") || h.closest(".ao-title") || p(h);
|
|
10474
10476
|
};
|
|
10475
10477
|
return (c, p) => (v(), D(an, {
|
|
10476
10478
|
color: d.value,
|
|
@@ -10566,7 +10568,7 @@ const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-pr
|
|
|
10566
10568
|
}, 8, ["color"]));
|
|
10567
10569
|
}
|
|
10568
10570
|
});
|
|
10569
|
-
const $h = /* @__PURE__ */
|
|
10571
|
+
const $h = /* @__PURE__ */ Y({
|
|
10570
10572
|
__name: "AoBadge",
|
|
10571
10573
|
props: {
|
|
10572
10574
|
color: {}
|
|
@@ -10574,7 +10576,7 @@ const $h = /* @__PURE__ */ q({
|
|
|
10574
10576
|
setup(t) {
|
|
10575
10577
|
return (e, a) => (v(), C("span", {
|
|
10576
10578
|
class: "aoBadge",
|
|
10577
|
-
style:
|
|
10579
|
+
style: Qe({ backgroundColor: e.color })
|
|
10578
10580
|
}, null, 4));
|
|
10579
10581
|
}
|
|
10580
10582
|
});
|
|
@@ -10593,7 +10595,7 @@ const kh = { class: "ao-card-project-milestone__default" }, Sh = { class: "ao-ti
|
|
|
10593
10595
|
}, Dh = { class: "ao-field__label" }, Bh = {
|
|
10594
10596
|
key: 2,
|
|
10595
10597
|
class: "ao-card-project-milestone__assignee"
|
|
10596
|
-
}, jh = /* @__PURE__ */
|
|
10598
|
+
}, jh = /* @__PURE__ */ Y({
|
|
10597
10599
|
__name: "AoCardProjectItemMilestone",
|
|
10598
10600
|
props: {
|
|
10599
10601
|
id: {},
|
|
@@ -10705,7 +10707,7 @@ const kh = { class: "ao-card-project-milestone__default" }, Sh = { class: "ao-ti
|
|
|
10705
10707
|
f("span", Dh, W(Q(Qa)(r.deadline)), 1)
|
|
10706
10708
|
])) : O("", !0),
|
|
10707
10709
|
r.assignee ? (v(), C("div", Bh, [
|
|
10708
|
-
M(
|
|
10710
|
+
M(et, {
|
|
10709
10711
|
"user-name": Q(Gn)(r.assignee),
|
|
10710
10712
|
"avatar-url": r.assignee.avatarUrl,
|
|
10711
10713
|
color: r.isSelected ? "black" : "primary",
|
|
@@ -10727,7 +10729,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10727
10729
|
}, Wh = { class: "ao-mapping-card-project-phase__subitem" }, zh = { class: "ao-mapping-card-project-phase__subitem" }, qh = {
|
|
10728
10730
|
key: 0,
|
|
10729
10731
|
class: "ao-mapping-card-project-phase__secondary"
|
|
10730
|
-
}, Yh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, xh = /* @__PURE__ */
|
|
10732
|
+
}, Yh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, xh = /* @__PURE__ */ Y({
|
|
10731
10733
|
__name: "AoCondensedCardProjectItemPhase",
|
|
10732
10734
|
props: {
|
|
10733
10735
|
id: {},
|
|
@@ -10879,7 +10881,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10879
10881
|
}, Jh = {
|
|
10880
10882
|
key: 0,
|
|
10881
10883
|
class: "ao-project-phase__col-milestones"
|
|
10882
|
-
}, e9 = { class: "ao-project-phase__milestones-list-footer" }, t9 = /* @__PURE__ */
|
|
10884
|
+
}, e9 = { class: "ao-project-phase__milestones-list-footer" }, t9 = /* @__PURE__ */ Y({
|
|
10883
10885
|
__name: "AoProjectPhase",
|
|
10884
10886
|
props: {
|
|
10885
10887
|
phase: {},
|
|
@@ -10940,7 +10942,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10940
10942
|
return (m, y) => (v(), C("li", Kh, [
|
|
10941
10943
|
f("div", {
|
|
10942
10944
|
class: "ao-project-phases__draggable-card",
|
|
10943
|
-
style:
|
|
10945
|
+
style: Qe($.value)
|
|
10944
10946
|
}, [
|
|
10945
10947
|
m.isEditable ? (v(), C("div", Gh, [
|
|
10946
10948
|
M(pe, {
|
|
@@ -10983,7 +10985,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10983
10985
|
g.value ? O("", !0) : (v(), C("div", Jh, [
|
|
10984
10986
|
f("div", {
|
|
10985
10987
|
class: "ao-project-phase__milestones",
|
|
10986
|
-
style:
|
|
10988
|
+
style: Qe($.value)
|
|
10987
10989
|
}, [
|
|
10988
10990
|
M(Q(gt), Ae({
|
|
10989
10991
|
class: "ao-project-phase__milestones-list",
|
|
@@ -11040,7 +11042,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
11040
11042
|
const a9 = { class: "ao-project__phases" }, s9 = {
|
|
11041
11043
|
key: 0,
|
|
11042
11044
|
class: "ao-project-phase__phases-list-footer"
|
|
11043
|
-
}, n9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), i9 = { class: "ao-project-phase__col-phase" }, o9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), fi = /* @__PURE__ */
|
|
11045
|
+
}, n9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), i9 = { class: "ao-project-phase__col-phase" }, o9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), fi = /* @__PURE__ */ Y({
|
|
11044
11046
|
__name: "AoProjectPhases",
|
|
11045
11047
|
props: {
|
|
11046
11048
|
phases: {},
|
|
@@ -11121,7 +11123,7 @@ const a9 = { class: "ao-project__phases" }, s9 = {
|
|
|
11121
11123
|
]));
|
|
11122
11124
|
}
|
|
11123
11125
|
});
|
|
11124
|
-
const l9 = ["onSubmit"], r9 = { class: "ao-add-template-modal__form-body" }, u9 = { class: "field__row" }, c9 = { class: "ao-add-template-modal__form-footer" }, hi = /* @__PURE__ */
|
|
11126
|
+
const l9 = ["onSubmit"], r9 = { class: "ao-add-template-modal__form-body" }, u9 = { class: "field__row" }, c9 = { class: "ao-add-template-modal__form-footer" }, hi = /* @__PURE__ */ Y({
|
|
11125
11127
|
__name: "AoAddTemplateModal",
|
|
11126
11128
|
props: {
|
|
11127
11129
|
projectId: {},
|
|
@@ -11132,7 +11134,7 @@ const l9 = ["onSubmit"], r9 = { class: "ao-add-template-modal__form-body" }, u9
|
|
|
11132
11134
|
const a = t, s = A(() => a.templates.map((l) => ({
|
|
11133
11135
|
value: l.id,
|
|
11134
11136
|
label: l.name
|
|
11135
|
-
}))), n =
|
|
11137
|
+
}))), n = z(null), o = (l) => {
|
|
11136
11138
|
n.value = l;
|
|
11137
11139
|
}, i = () => {
|
|
11138
11140
|
n.value && e("apply", n.value, a.projectId);
|
|
@@ -11175,14 +11177,14 @@ const l9 = ["onSubmit"], r9 = { class: "ao-add-template-modal__form-body" }, u9
|
|
|
11175
11177
|
}));
|
|
11176
11178
|
}
|
|
11177
11179
|
});
|
|
11178
|
-
const d9 = ["onSubmit"], p9 = { class: "ao-save-template-modal__form-body" }, v9 = { class: "field__row" }, f9 = { class: "ao-field ao-field--inline" }, h9 = { class: "ao-field__label" }, m9 = { class: "ao-save-template-modal__phases" }, g9 = { class: "ao-field__label" }, C9 = { class: "ao-save-template-modal__phases-list" }, _9 = ["value"], y9 = { class: "ao-save-template-modal__form-footer" }, mi = /* @__PURE__ */
|
|
11180
|
+
const d9 = ["onSubmit"], p9 = { class: "ao-save-template-modal__form-body" }, v9 = { class: "field__row" }, f9 = { class: "ao-field ao-field--inline" }, h9 = { class: "ao-field__label" }, m9 = { class: "ao-save-template-modal__phases" }, g9 = { class: "ao-field__label" }, C9 = { class: "ao-save-template-modal__phases-list" }, _9 = ["value"], y9 = { class: "ao-save-template-modal__form-footer" }, mi = /* @__PURE__ */ Y({
|
|
11179
11181
|
__name: "AoSaveTemplateModal",
|
|
11180
11182
|
props: {
|
|
11181
11183
|
phases: {}
|
|
11182
11184
|
},
|
|
11183
11185
|
emits: ["save"],
|
|
11184
11186
|
setup(t, { emit: e }) {
|
|
11185
|
-
const a = t, s =
|
|
11187
|
+
const a = t, s = z(""), n = z([]);
|
|
11186
11188
|
It(() => {
|
|
11187
11189
|
n.value = a.phases.map((i) => i.id);
|
|
11188
11190
|
});
|
|
@@ -11247,7 +11249,7 @@ const d9 = ["onSubmit"], p9 = { class: "ao-save-template-modal__form-body" }, v9
|
|
|
11247
11249
|
}));
|
|
11248
11250
|
}
|
|
11249
11251
|
});
|
|
11250
|
-
const b9 =
|
|
11252
|
+
const b9 = Y({
|
|
11251
11253
|
props: {
|
|
11252
11254
|
modelValue: {
|
|
11253
11255
|
type: [String, Number],
|
|
@@ -11276,7 +11278,7 @@ function k9(t, e, a, s, n, o) {
|
|
|
11276
11278
|
}, W(i.label), 11, $9))), 128))
|
|
11277
11279
|
]);
|
|
11278
11280
|
}
|
|
11279
|
-
const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297"]]), S9 = { class: "ao-project" }, A9 = { class: "ao-project__body" }, M9 = /* @__PURE__ */
|
|
11281
|
+
const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297"]]), S9 = { class: "ao-project" }, A9 = { class: "ao-project__body" }, M9 = /* @__PURE__ */ Y({
|
|
11280
11282
|
__name: "AoProjectOverviewProject",
|
|
11281
11283
|
props: {
|
|
11282
11284
|
project: {},
|
|
@@ -11335,19 +11337,19 @@ const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11335
11337
|
e("addFiles", T);
|
|
11336
11338
|
}, F = (T) => {
|
|
11337
11339
|
e("removeFile", T);
|
|
11338
|
-
},
|
|
11340
|
+
}, q = (T) => {
|
|
11339
11341
|
e("addComment", T);
|
|
11340
11342
|
}, K = (T) => {
|
|
11341
11343
|
e("updateComment", T);
|
|
11342
11344
|
}, J = (T) => {
|
|
11343
11345
|
e("removeComment", T);
|
|
11344
|
-
}, ae =
|
|
11346
|
+
}, ae = z(!1), j = z(!1), G = (T, k) => {
|
|
11345
11347
|
e("applyTemplate", { templateId: T, projectId: k }), ae.value = !1;
|
|
11346
11348
|
}, le = (T, k) => {
|
|
11347
11349
|
var V;
|
|
11348
11350
|
const R = (V = a.templates) == null ? void 0 : V.at(-1), b = R ? we.LexoRank.parse(R.rank).genNext() : we.LexoRank.middle();
|
|
11349
11351
|
e("saveTemplate", { templateName: T, rank: b.format(), phaseIds: k }), j.value = !1;
|
|
11350
|
-
}, se = Es(), ee =
|
|
11352
|
+
}, se = Es(), ee = z("overview"), E = [
|
|
11351
11353
|
{ label: "Overview", value: "overview" },
|
|
11352
11354
|
{ label: "Feed", value: "feed" },
|
|
11353
11355
|
{ label: "Mapping", value: "mapping" }
|
|
@@ -11355,7 +11357,7 @@ const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11355
11357
|
return ce(ee, (T) => {
|
|
11356
11358
|
T === "feed" ? (se.push({ name: ye.feed }), console.log("Navigating to feed...")) : T === "overview" ? (se.push({ name: ye.project }), console.log("Navigating to feed...")) : T === "mapping" && (se.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
11357
11359
|
}), (T, k) => {
|
|
11358
|
-
const R =
|
|
11360
|
+
const R = ut("RouterView");
|
|
11359
11361
|
return v(), C(fe, null, [
|
|
11360
11362
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11361
11363
|
f("div", S9, [
|
|
@@ -11449,7 +11451,7 @@ const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11449
11451
|
onDeleteSubtask: P,
|
|
11450
11452
|
onAddFiles: L,
|
|
11451
11453
|
onRemoveFile: F,
|
|
11452
|
-
onAddComment:
|
|
11454
|
+
onAddComment: q,
|
|
11453
11455
|
onUpdateComment: K,
|
|
11454
11456
|
onRemoveComment: J
|
|
11455
11457
|
}, {
|
|
@@ -11516,7 +11518,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11516
11518
|
}, z9 = { class: "ao-card-feed__subitem" }, q9 = { class: "ao-card-feed__footer-row" }, Y9 = {
|
|
11517
11519
|
key: 0,
|
|
11518
11520
|
class: "ao-card-feed__progress-wrapper"
|
|
11519
|
-
}, x9 = { class: "ao-card-feed__subitem" }, K9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */
|
|
11521
|
+
}, x9 = { class: "ao-card-feed__subitem" }, K9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */ Y({
|
|
11520
11522
|
__name: "AoCardFeed",
|
|
11521
11523
|
props: {
|
|
11522
11524
|
id: {},
|
|
@@ -11619,7 +11621,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11619
11621
|
key: _.id
|
|
11620
11622
|
}, [
|
|
11621
11623
|
_ ? (v(), C("li", N9, [
|
|
11622
|
-
M(
|
|
11624
|
+
M(et, {
|
|
11623
11625
|
"user-name": Q(Gn)(_),
|
|
11624
11626
|
"avatar-url": _.avatarUrl,
|
|
11625
11627
|
"is-closable": !0,
|
|
@@ -11672,7 +11674,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11672
11674
|
}, a4 = { class: "ao-field__row ao-milestone__field-row" }, s4 = { class: "ao-field ao-field--inline" }, n4 = { class: "ao-field__row ao-milestone__field-row" }, i4 = { class: "ao-field ao-milestone__field-multiselect" }, o4 = ["onClick"], l4 = { class: "ao-project-milestone__body" }, r4 = {
|
|
11673
11675
|
key: 0,
|
|
11674
11676
|
class: "ao-project-milestone__footer"
|
|
11675
|
-
}, Ln = /* @__PURE__ */
|
|
11677
|
+
}, Ln = /* @__PURE__ */ Y({
|
|
11676
11678
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11677
11679
|
props: {
|
|
11678
11680
|
milestoneId: {},
|
|
@@ -11843,7 +11845,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11843
11845
|
option: I,
|
|
11844
11846
|
handleTagRemove: L
|
|
11845
11847
|
}) => [
|
|
11846
|
-
M(
|
|
11848
|
+
M(et, {
|
|
11847
11849
|
"user-name": I.label,
|
|
11848
11850
|
"avatar-url": I.avatar,
|
|
11849
11851
|
"is-closable": !0,
|
|
@@ -11860,7 +11862,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11860
11862
|
}, {
|
|
11861
11863
|
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11862
11864
|
f("button", {
|
|
11863
|
-
style:
|
|
11865
|
+
style: Qe({ background: L }),
|
|
11864
11866
|
class: "color-button",
|
|
11865
11867
|
onClick: I
|
|
11866
11868
|
}, null, 12, o4)
|
|
@@ -11878,14 +11880,14 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11878
11880
|
group: "kanban"
|
|
11879
11881
|
}, m.$attrs, { onChange: c }), {
|
|
11880
11882
|
item: N(({ element: I }) => {
|
|
11881
|
-
var L, F,
|
|
11883
|
+
var L, F, q, K, J;
|
|
11882
11884
|
return [
|
|
11883
11885
|
M(gi, {
|
|
11884
11886
|
id: I.id,
|
|
11885
11887
|
name: I.name || I.id,
|
|
11886
11888
|
"phase-name": (L = n.value) == null ? void 0 : L.name,
|
|
11887
11889
|
"milestone-name": (F = i.value) == null ? void 0 : F.name,
|
|
11888
|
-
"milestone-color": (
|
|
11890
|
+
"milestone-color": (q = i.value) == null ? void 0 : q.color,
|
|
11889
11891
|
deadline: I.deadline,
|
|
11890
11892
|
important: I.important,
|
|
11891
11893
|
users: m.users,
|
|
@@ -11952,7 +11954,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11952
11954
|
};
|
|
11953
11955
|
}
|
|
11954
11956
|
});
|
|
11955
|
-
const u4 = /* @__PURE__ */
|
|
11957
|
+
const u4 = /* @__PURE__ */ Y({
|
|
11956
11958
|
__name: "AoProjectOverviewActivityDetails",
|
|
11957
11959
|
props: {
|
|
11958
11960
|
phaseId: {},
|
|
@@ -12039,7 +12041,7 @@ const u4 = /* @__PURE__ */ q({
|
|
|
12039
12041
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
12040
12042
|
};
|
|
12041
12043
|
}
|
|
12042
|
-
}), c4 = { class: "ao-col-header" }, d4 = /* @__PURE__ */
|
|
12044
|
+
}), c4 = { class: "ao-col-header" }, d4 = /* @__PURE__ */ Y({
|
|
12043
12045
|
__name: "AoColHeader",
|
|
12044
12046
|
props: {
|
|
12045
12047
|
title: {},
|
|
@@ -12109,7 +12111,7 @@ function bs(t) {
|
|
|
12109
12111
|
}
|
|
12110
12112
|
const C4 = v4 ? window : void 0;
|
|
12111
12113
|
function _4() {
|
|
12112
|
-
const t =
|
|
12114
|
+
const t = z(!1), e = Lt();
|
|
12113
12115
|
return e && It(() => {
|
|
12114
12116
|
t.value = !0;
|
|
12115
12117
|
}, e), t;
|
|
@@ -12130,7 +12132,7 @@ function b4(t, e, a = {}) {
|
|
|
12130
12132
|
return (Array.isArray(w) ? w : [w]).map(bs).filter(f4);
|
|
12131
12133
|
});
|
|
12132
12134
|
let u = la;
|
|
12133
|
-
const c =
|
|
12135
|
+
const c = z(l), p = r.value ? ce(
|
|
12134
12136
|
() => [d.value, bs(s), c.value],
|
|
12135
12137
|
([w, _]) => {
|
|
12136
12138
|
if (u(), !c.value || !w.length)
|
|
@@ -12180,7 +12182,7 @@ const w4 = {
|
|
|
12180
12182
|
}, T4 = {
|
|
12181
12183
|
key: 1,
|
|
12182
12184
|
class: "ao-list-kanban__footer"
|
|
12183
|
-
}, O4 = /* @__PURE__ */
|
|
12185
|
+
}, O4 = /* @__PURE__ */ Y({
|
|
12184
12186
|
__name: "AoListKanban",
|
|
12185
12187
|
props: {
|
|
12186
12188
|
list: {},
|
|
@@ -12197,7 +12199,7 @@ const w4 = {
|
|
|
12197
12199
|
},
|
|
12198
12200
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
12199
12201
|
setup(t, { emit: e }) {
|
|
12200
|
-
const a = t, s =
|
|
12202
|
+
const a = t, s = z(!1), n = z(null);
|
|
12201
12203
|
b4(n, ([{ isIntersecting: u }]) => {
|
|
12202
12204
|
s.value = u;
|
|
12203
12205
|
}), ce(s, (u) => {
|
|
@@ -12222,7 +12224,7 @@ const w4 = {
|
|
|
12222
12224
|
u.moved.newIndex
|
|
12223
12225
|
)
|
|
12224
12226
|
});
|
|
12225
|
-
}, d =
|
|
12227
|
+
}, d = z(!1);
|
|
12226
12228
|
return (u, c) => (v(), C("div", w4, [
|
|
12227
12229
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12228
12230
|
var p;
|
|
@@ -12340,7 +12342,7 @@ const w4 = {
|
|
|
12340
12342
|
]));
|
|
12341
12343
|
}
|
|
12342
12344
|
});
|
|
12343
|
-
const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */
|
|
12345
|
+
const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ Y({
|
|
12344
12346
|
__name: "AoSearchField",
|
|
12345
12347
|
props: {
|
|
12346
12348
|
modelValue: {},
|
|
@@ -12363,7 +12365,7 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
|
|
|
12363
12365
|
placeholder: i.placeholder,
|
|
12364
12366
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12365
12367
|
(...r) => Q(n) && Q(n)(...r)),
|
|
12366
|
-
onKeypress:
|
|
12368
|
+
onKeypress: pt(s, ["enter"])
|
|
12367
12369
|
}, null, 40, I4),
|
|
12368
12370
|
M(pe, {
|
|
12369
12371
|
name: "SearchRounded",
|
|
@@ -12380,7 +12382,7 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
|
|
|
12380
12382
|
]));
|
|
12381
12383
|
}
|
|
12382
12384
|
});
|
|
12383
|
-
const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { class: "ao-feed__body" }, D4 = /* @__PURE__ */
|
|
12385
|
+
const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { class: "ao-feed__body" }, D4 = /* @__PURE__ */ Y({
|
|
12384
12386
|
__name: "AoFeed",
|
|
12385
12387
|
props: {
|
|
12386
12388
|
activities: {},
|
|
@@ -12410,7 +12412,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12410
12412
|
}
|
|
12411
12413
|
const o = Rt(a, "activities"), i = async (k, R) => {
|
|
12412
12414
|
await e("selectActivity", k, R);
|
|
12413
|
-
}, l =
|
|
12415
|
+
}, l = z({}), r = z(!1), d = z(!1), u = A(() => a.project ? "milestone" : "project");
|
|
12414
12416
|
ce(
|
|
12415
12417
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12416
12418
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -12467,7 +12469,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12467
12469
|
d.value = !1, e("update:searchText", k);
|
|
12468
12470
|
}, F = (k) => {
|
|
12469
12471
|
d.value = !1, e("clear:searchText", k);
|
|
12470
|
-
},
|
|
12472
|
+
}, q = (k) => {
|
|
12471
12473
|
a.selectedActivity && e("addSubtask", k);
|
|
12472
12474
|
}, K = (k) => {
|
|
12473
12475
|
a.selectedActivity && e("updateSubtask", k);
|
|
@@ -12488,7 +12490,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12488
12490
|
}, se = (k) => {
|
|
12489
12491
|
const { id: R } = a.selectedActivity || {};
|
|
12490
12492
|
R && e("removeComment", k);
|
|
12491
|
-
}, ee = Es(), E =
|
|
12493
|
+
}, ee = Es(), E = z("feed"), T = [
|
|
12492
12494
|
{ label: "Overview", value: "overview" },
|
|
12493
12495
|
{ label: "Feed", value: "feed" },
|
|
12494
12496
|
{ label: "Mapping", value: "mapping" }
|
|
@@ -12550,7 +12552,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12550
12552
|
option: V,
|
|
12551
12553
|
handleTagRemove: oe
|
|
12552
12554
|
}) => [
|
|
12553
|
-
M(
|
|
12555
|
+
M(et, {
|
|
12554
12556
|
"user-name": V.label,
|
|
12555
12557
|
"avatar-url": V.avatar,
|
|
12556
12558
|
"is-closable": !0,
|
|
@@ -12634,7 +12636,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12634
12636
|
projects: w.value,
|
|
12635
12637
|
onClose: R[7] || (R[7] = () => i(null, null)),
|
|
12636
12638
|
"onUpdate:activity": m,
|
|
12637
|
-
onAddSubtask:
|
|
12639
|
+
onAddSubtask: q,
|
|
12638
12640
|
onUpdateSubtask: K,
|
|
12639
12641
|
onDeleteSubtask: J,
|
|
12640
12642
|
onAddFiles: ae,
|
|
@@ -12657,7 +12659,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12657
12659
|
const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-mapping__body" }, R4 = { class: "ao-project-mapping-mapping__phases" }, N4 = {
|
|
12658
12660
|
key: 0,
|
|
12659
12661
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12660
|
-
}, U4 = ["src", "alt"], F4 = /* @__PURE__ */
|
|
12662
|
+
}, U4 = ["src", "alt"], F4 = /* @__PURE__ */ Y({
|
|
12661
12663
|
__name: "AoMapping",
|
|
12662
12664
|
props: {
|
|
12663
12665
|
project: {},
|
|
@@ -12686,13 +12688,13 @@ const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
|
|
|
12686
12688
|
e("unarchivePhase", g);
|
|
12687
12689
|
}, r = (g) => {
|
|
12688
12690
|
e("copyPhaseToTemplate", g);
|
|
12689
|
-
}, d =
|
|
12691
|
+
}, d = z(!1), u = z(!1), c = (g, $) => {
|
|
12690
12692
|
e("applyTemplate", { templateId: g, projectId: $ }), d.value = !1;
|
|
12691
12693
|
}, p = (g, $) => {
|
|
12692
12694
|
var P;
|
|
12693
12695
|
const m = (P = a.templates) == null ? void 0 : P.at(-1), y = m ? we.LexoRank.parse(m.rank).genNext() : we.LexoRank.middle();
|
|
12694
12696
|
e("saveTemplate", { templateName: g, rank: y.format(), phaseIds: $ }), u.value = !1;
|
|
12695
|
-
}, h = Es(), w =
|
|
12697
|
+
}, h = Es(), w = z("mapping"), _ = [
|
|
12696
12698
|
{ label: "Overview", value: "overview" },
|
|
12697
12699
|
{ label: "Feed", value: "feed" },
|
|
12698
12700
|
{ label: "Mapping", value: "mapping" }
|
|
@@ -12855,7 +12857,7 @@ const jt = {
|
|
|
12855
12857
|
}
|
|
12856
12858
|
]
|
|
12857
12859
|
}
|
|
12858
|
-
], Z4 = { class: "ao-templates" }, W4 = /* @__PURE__ */
|
|
12860
|
+
], Z4 = { class: "ao-templates" }, W4 = /* @__PURE__ */ Y({
|
|
12859
12861
|
__name: "AoTemplatesList",
|
|
12860
12862
|
props: {
|
|
12861
12863
|
templates: {}
|
|
@@ -12949,7 +12951,7 @@ const jt = {
|
|
|
12949
12951
|
]));
|
|
12950
12952
|
}
|
|
12951
12953
|
});
|
|
12952
|
-
const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */
|
|
12954
|
+
const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ Y({
|
|
12953
12955
|
__name: "AoField",
|
|
12954
12956
|
props: {
|
|
12955
12957
|
label: {},
|
|
@@ -12963,7 +12965,7 @@ const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
|
12963
12965
|
te(e.$slots, "default")
|
|
12964
12966
|
], 2));
|
|
12965
12967
|
}
|
|
12966
|
-
}), Y4 = ["type", "value", "disabled", "readonly"], l8 = /* @__PURE__ */
|
|
12968
|
+
}), Y4 = ["type", "value", "disabled", "readonly"], l8 = /* @__PURE__ */ Y({
|
|
12967
12969
|
__name: "AoInputField",
|
|
12968
12970
|
props: {
|
|
12969
12971
|
label: { default: "" },
|
|
@@ -12995,7 +12997,7 @@ const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
|
12995
12997
|
_: 1
|
|
12996
12998
|
}, 8, ["label"]));
|
|
12997
12999
|
}
|
|
12998
|
-
}), x4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = ["checked", "disabled"], r8 = /* @__PURE__ */
|
|
13000
|
+
}), x4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = ["checked", "disabled"], r8 = /* @__PURE__ */ Y({
|
|
12999
13001
|
__name: "AoCheckboxField",
|
|
13000
13002
|
props: {
|
|
13001
13003
|
label: { default: "" },
|
|
@@ -13024,7 +13026,7 @@ const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
|
13024
13026
|
}
|
|
13025
13027
|
});
|
|
13026
13028
|
export {
|
|
13027
|
-
|
|
13029
|
+
et as AoAvatar,
|
|
13028
13030
|
gi as AoCardFeed,
|
|
13029
13031
|
r8 as AoCheckboxField,
|
|
13030
13032
|
D4 as AoFeed,
|