@26lights/orcha 0.41.11 → 0.41.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +412 -410
- package/dist/orcha.umd.js +3 -3
- package/dist/src/components/AoTabBar.vue.d.ts +10 -10
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as z, openBlock as p, createBlock as D, unref as J, mergeProps as He, createElementBlock as g, createElementVNode as f, pushScopeId as
|
|
1
|
+
import { defineComponent as z, openBlock as p, createBlock as D, unref as J, mergeProps as He, createElementBlock as g, createElementVNode as f, pushScopeId as Ei, popScopeId as Ii, createStaticVNode as Li, computed as A, resolveDynamicComponent as ht, normalizeClass as G, renderSlot as te, toDisplayString as Z, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Pi, withCtx as F, createTextVNode as Fa, createVNode as M, normalizeStyle as Za, withModifiers as ve, createSlots as Wa, Fragment as fe, renderList as _e, onMounted as Mt, onBeforeUnmount as On, onUnmounted as Ss, Teleport as jt, toRefs as Me, getCurrentInstance as Tt, toRef as Vt, normalizeProps as va, guardReactiveProps as fa, withDirectives as Ne, vShow as Hi, onUpdated as Di, vModelText as Ge, vModelCheckbox as Vi, resolveComponent as Ke, getCurrentScope as Bi, onScopeDispose as Ri, toHandlerKey as Ni } from "vue";
|
|
2
2
|
import { RouterView as ji, useRouter as Ui } from "vue-router";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import mt from "vuedraggable";
|
|
4
|
+
const N4 = /* @__PURE__ */ z({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -617,7 +617,7 @@ function du(t, e) {
|
|
|
617
617
|
const pu = /* @__PURE__ */ j(lu, [["render", du]]), vu = z({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const As = (t) => (
|
|
620
|
+
const As = (t) => (Ei("data-v-ad6da4a9"), t = t(), Ii(), t), fu = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
@@ -1153,7 +1153,7 @@ const A2 = /* @__PURE__ */ j(b2, [["render", S2]]), M2 = /* @__PURE__ */ Object.
|
|
|
1153
1153
|
...Ms,
|
|
1154
1154
|
...O2
|
|
1155
1155
|
});
|
|
1156
|
-
const
|
|
1156
|
+
const En = {
|
|
1157
1157
|
ROUND: "round",
|
|
1158
1158
|
ROUNDED: "rounded"
|
|
1159
1159
|
}, E2 = {
|
|
@@ -1188,7 +1188,7 @@ const I2 = ["type"], L2 = {
|
|
|
1188
1188
|
footer: { type: Boolean, default: () => !1 },
|
|
1189
1189
|
size: { default: () => qa.MD },
|
|
1190
1190
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1191
|
-
corners: { default: () =>
|
|
1191
|
+
corners: { default: () => En.ROUNDED }
|
|
1192
1192
|
},
|
|
1193
1193
|
setup(t) {
|
|
1194
1194
|
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -1217,7 +1217,7 @@ const I2 = ["type"], L2 = {
|
|
|
1217
1217
|
], 10, I2));
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
|
-
function
|
|
1220
|
+
function In(t) {
|
|
1221
1221
|
const e = ee(!1), a = ee(""), s = A(() => "value" in t.value ? "value" : "innerHTML"), n = () => {
|
|
1222
1222
|
e.value = !e.value;
|
|
1223
1223
|
}, o = (r) => {
|
|
@@ -1258,7 +1258,7 @@ const ye = /* @__PURE__ */ z({
|
|
|
1258
1258
|
},
|
|
1259
1259
|
emits: ["update:title", "toggle-is-editing"],
|
|
1260
1260
|
setup(t, { emit: e }) {
|
|
1261
|
-
const a = t, s = ee(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } =
|
|
1261
|
+
const a = t, s = ee(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = In(s), r = A(() => n.value ? "input" : a.tag || `h${a.level}`), c = A(() => a.isEditable ? n.value ? {
|
|
1262
1262
|
change: u,
|
|
1263
1263
|
click: (b) => b.stopPropagation(),
|
|
1264
1264
|
blur: h
|
|
@@ -1329,7 +1329,7 @@ const P2 = {
|
|
|
1329
1329
|
}, U2 = {
|
|
1330
1330
|
key: 3,
|
|
1331
1331
|
class: "ao-card-horiz__secondary"
|
|
1332
|
-
},
|
|
1332
|
+
}, Ln = /* @__PURE__ */ z({
|
|
1333
1333
|
__name: "AoCardHoriz",
|
|
1334
1334
|
props: {
|
|
1335
1335
|
id: {},
|
|
@@ -1453,11 +1453,11 @@ const Cs = {
|
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
1456
|
-
},
|
|
1456
|
+
}, j4 = {
|
|
1457
1457
|
months: "months",
|
|
1458
1458
|
weeks: "weeks",
|
|
1459
1459
|
days: "days"
|
|
1460
|
-
},
|
|
1460
|
+
}, U4 = {
|
|
1461
1461
|
future: "future",
|
|
1462
1462
|
this_month: "this_month",
|
|
1463
1463
|
this_week: "this_week",
|
|
@@ -1481,7 +1481,7 @@ const Cs = {
|
|
|
1481
1481
|
TASKS: "tasks"
|
|
1482
1482
|
};
|
|
1483
1483
|
var q2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(q2 || {});
|
|
1484
|
-
const
|
|
1484
|
+
const F4 = {
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
@@ -1542,11 +1542,11 @@ function G2(t, e) {
|
|
|
1542
1542
|
var a = be(t), s = be(e), n = a.getTime() - s.getTime();
|
|
1543
1543
|
return n < 0 ? -1 : n > 0 ? 1 : n;
|
|
1544
1544
|
}
|
|
1545
|
-
var
|
|
1545
|
+
var Pn = 6e4, Hn = 36e5;
|
|
1546
1546
|
function X2(t) {
|
|
1547
1547
|
return Ce(1, arguments), t instanceof Date || Ha(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function Dn(t) {
|
|
1550
1550
|
if (Ce(1, arguments), !X2(t) && typeof t != "number")
|
|
1551
1551
|
return !1;
|
|
1552
1552
|
var e = be(t);
|
|
@@ -1570,7 +1570,7 @@ function Da(t) {
|
|
|
1570
1570
|
var e = 1, a = be(t), s = a.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
|
|
1571
1571
|
return a.setUTCDate(a.getUTCDate() - n), a.setUTCHours(0, 0, 0, 0), a;
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function Vn(t) {
|
|
1574
1574
|
Ce(1, arguments);
|
|
1575
1575
|
var e = be(t), a = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
s.setUTCFullYear(a + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
|
|
@@ -1581,7 +1581,7 @@ function Rn(t) {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
function e0(t) {
|
|
1583
1583
|
Ce(1, arguments);
|
|
1584
|
-
var e =
|
|
1584
|
+
var e = Vn(t), a = /* @__PURE__ */ new Date(0);
|
|
1585
1585
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1586
1586
|
var s = Da(a);
|
|
1587
1587
|
return s;
|
|
@@ -1601,7 +1601,7 @@ function Va(t, e) {
|
|
|
1601
1601
|
var h = be(t), v = h.getUTCDay(), $ = (v < d ? 7 : 0) + v - d;
|
|
1602
1602
|
return h.setUTCDate(h.getUTCDate() - $), h.setUTCHours(0, 0, 0, 0), h;
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1604
|
+
function Bn(t, e) {
|
|
1605
1605
|
var a, s, n, o, i, l, r, c;
|
|
1606
1606
|
Ce(1, arguments);
|
|
1607
1607
|
var u = be(t), d = u.getUTCFullYear(), h = ha(), v = 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 : h.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = h.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
@@ -1617,7 +1617,7 @@ function Nn(t, e) {
|
|
|
1617
1617
|
function s0(t, e) {
|
|
1618
1618
|
var a, s, n, o, i, l, r, c;
|
|
1619
1619
|
Ce(1, arguments);
|
|
1620
|
-
var u = ha(), d = 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 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), h =
|
|
1620
|
+
var u = ha(), d = 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 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), h = Bn(t, e), v = /* @__PURE__ */ new Date(0);
|
|
1621
1621
|
v.setUTCFullYear(h, 0, d), v.setUTCHours(0, 0, 0, 0);
|
|
1622
1622
|
var $ = Va(v, e);
|
|
1623
1623
|
return $;
|
|
@@ -1730,7 +1730,7 @@ var Ht = {
|
|
|
1730
1730
|
},
|
|
1731
1731
|
// Local week-numbering year
|
|
1732
1732
|
Y: function(e, a, s, n) {
|
|
1733
|
-
var o =
|
|
1733
|
+
var o = Bn(e, n), i = o > 0 ? o : 1 - o;
|
|
1734
1734
|
if (a === "YY") {
|
|
1735
1735
|
var l = i % 100;
|
|
1736
1736
|
return ce(l, 2);
|
|
@@ -1741,7 +1741,7 @@ var Ht = {
|
|
|
1741
1741
|
},
|
|
1742
1742
|
// ISO week-numbering year
|
|
1743
1743
|
R: function(e, a) {
|
|
1744
|
-
var s =
|
|
1744
|
+
var s = Vn(e);
|
|
1745
1745
|
return ce(s, a.length);
|
|
1746
1746
|
},
|
|
1747
1747
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2173,11 +2173,11 @@ var Ht = {
|
|
|
2173
2173
|
return cn(i);
|
|
2174
2174
|
case "XXXX":
|
|
2175
2175
|
case "XX":
|
|
2176
|
-
return
|
|
2176
|
+
return $t(i);
|
|
2177
2177
|
case "XXXXX":
|
|
2178
2178
|
case "XXX":
|
|
2179
2179
|
default:
|
|
2180
|
-
return
|
|
2180
|
+
return $t(i, ":");
|
|
2181
2181
|
}
|
|
2182
2182
|
},
|
|
2183
2183
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -2188,11 +2188,11 @@ var Ht = {
|
|
|
2188
2188
|
return cn(i);
|
|
2189
2189
|
case "xxxx":
|
|
2190
2190
|
case "xx":
|
|
2191
|
-
return
|
|
2191
|
+
return $t(i);
|
|
2192
2192
|
case "xxxxx":
|
|
2193
2193
|
case "xxx":
|
|
2194
2194
|
default:
|
|
2195
|
-
return
|
|
2195
|
+
return $t(i, ":");
|
|
2196
2196
|
}
|
|
2197
2197
|
},
|
|
2198
2198
|
// Timezone (GMT)
|
|
@@ -2205,7 +2205,7 @@ var Ht = {
|
|
|
2205
2205
|
return "GMT" + un(i, ":");
|
|
2206
2206
|
case "OOOO":
|
|
2207
2207
|
default:
|
|
2208
|
-
return "GMT" +
|
|
2208
|
+
return "GMT" + $t(i, ":");
|
|
2209
2209
|
}
|
|
2210
2210
|
},
|
|
2211
2211
|
// Timezone (specific non-location)
|
|
@@ -2218,7 +2218,7 @@ var Ht = {
|
|
|
2218
2218
|
return "GMT" + un(i, ":");
|
|
2219
2219
|
case "zzzz":
|
|
2220
2220
|
default:
|
|
2221
|
-
return "GMT" +
|
|
2221
|
+
return "GMT" + $t(i, ":");
|
|
2222
2222
|
}
|
|
2223
2223
|
},
|
|
2224
2224
|
// Seconds timestamp
|
|
@@ -2244,9 +2244,9 @@ function cn(t, e) {
|
|
|
2244
2244
|
var a = t > 0 ? "-" : "+";
|
|
2245
2245
|
return a + ce(Math.abs(t) / 60, 2);
|
|
2246
2246
|
}
|
|
2247
|
-
return
|
|
2247
|
+
return $t(t, e);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function $t(t, e) {
|
|
2250
2250
|
var a = e || "", s = t > 0 ? "-" : "+", n = Math.abs(t), o = ce(Math.floor(n / 60), 2), i = ce(n % 60, 2);
|
|
2251
2251
|
return s + o + a + i;
|
|
2252
2252
|
}
|
|
@@ -2271,7 +2271,7 @@ var dn = function(e, a) {
|
|
|
2271
2271
|
width: "full"
|
|
2272
2272
|
});
|
|
2273
2273
|
}
|
|
2274
|
-
},
|
|
2274
|
+
}, Rn = function(e, a) {
|
|
2275
2275
|
switch (e) {
|
|
2276
2276
|
case "p":
|
|
2277
2277
|
return a.time({
|
|
@@ -2319,9 +2319,9 @@ var dn = function(e, a) {
|
|
|
2319
2319
|
});
|
|
2320
2320
|
break;
|
|
2321
2321
|
}
|
|
2322
|
-
return i.replace("{{date}}", dn(n, a)).replace("{{time}}",
|
|
2322
|
+
return i.replace("{{date}}", dn(n, a)).replace("{{time}}", Rn(o, a));
|
|
2323
2323
|
}, c0 = {
|
|
2324
|
-
p:
|
|
2324
|
+
p: Rn,
|
|
2325
2325
|
P: u0
|
|
2326
2326
|
};
|
|
2327
2327
|
const d0 = c0;
|
|
@@ -2731,12 +2731,12 @@ var J0 = {
|
|
|
2731
2731
|
firstWeekContainsDate: 1
|
|
2732
2732
|
}
|
|
2733
2733
|
};
|
|
2734
|
-
const
|
|
2734
|
+
const Nn = J0;
|
|
2735
2735
|
var e3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, t3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, a3 = /^'([^]*?)'?$/, s3 = /''/g, n3 = /[a-zA-Z]/;
|
|
2736
|
-
function
|
|
2736
|
+
function jn(t, e, a) {
|
|
2737
2737
|
var s, n, o, i, l, r, c, u, d, h, v, $, b, w, S, y, C, P;
|
|
2738
2738
|
Ce(2, arguments);
|
|
2739
|
-
var E = String(e), I = ha(), U = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : I.locale) !== null && s !== void 0 ? s :
|
|
2739
|
+
var E = String(e), I = ha(), U = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : I.locale) !== null && s !== void 0 ? s : Nn, W = Je((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : I.firstWeekContainsDate) !== null && i !== void 0 ? i : (d = I.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2740
2740
|
if (!(W >= 1 && W <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
2742
|
var x = Je((v = ($ = (b = (w = a == null ? void 0 : a.weekStartsOn) !== null && w !== void 0 ? w : a == null || (S = a.locale) === null || S === void 0 || (y = S.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && b !== void 0 ? b : I.weekStartsOn) !== null && $ !== void 0 ? $ : (C = I.locale) === null || C === void 0 || (P = C.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && v !== void 0 ? v : 0);
|
|
@@ -2747,7 +2747,7 @@ function Fn(t, e, a) {
|
|
|
2747
2747
|
if (!U.formatLong)
|
|
2748
2748
|
throw new RangeError("locale must contain formatLong property");
|
|
2749
2749
|
var Y = be(t);
|
|
2750
|
-
if (!
|
|
2750
|
+
if (!Dn(Y))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
2752
|
var ae = ra(Y), N = _s(Y, ae), K = {
|
|
2753
2753
|
firstWeekContainsDate: W,
|
|
@@ -2783,7 +2783,7 @@ function i3(t) {
|
|
|
2783
2783
|
function o3(t, e, a) {
|
|
2784
2784
|
var s, n, o, i, l, r, c, u, d, h;
|
|
2785
2785
|
Ce(2, arguments);
|
|
2786
|
-
var v = be(t), $ = be(e), b = ha(), w = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : b.locale) !== null && s !== void 0 ? s :
|
|
2786
|
+
var v = be(t), $ = be(e), b = ha(), w = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : b.locale) !== null && s !== void 0 ? s : Nn, S = Je((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && l !== void 0 ? l : b.weekStartsOn) !== null && i !== void 0 ? i : (d = b.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2787
2787
|
if (!w.localize)
|
|
2788
2788
|
throw new RangeError("locale must contain localize property");
|
|
2789
2789
|
if (!w.formatLong)
|
|
@@ -2799,7 +2799,7 @@ function o3(t, e, a) {
|
|
|
2799
2799
|
locale: w,
|
|
2800
2800
|
weekStartsOn: S
|
|
2801
2801
|
});
|
|
2802
|
-
return
|
|
2802
|
+
return jn(v, I, {
|
|
2803
2803
|
locale: w,
|
|
2804
2804
|
weekStartsOn: S
|
|
2805
2805
|
});
|
|
@@ -2879,7 +2879,7 @@ function v3(t) {
|
|
|
2879
2879
|
if (!e)
|
|
2880
2880
|
return NaN;
|
|
2881
2881
|
var a = fs(e[1]), s = fs(e[2]), n = fs(e[3]);
|
|
2882
|
-
return y3(a, s, n) ? a *
|
|
2882
|
+
return y3(a, s, n) ? a * Hn + s * Pn + n * 1e3 : NaN;
|
|
2883
2883
|
}
|
|
2884
2884
|
function fs(t) {
|
|
2885
2885
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
@@ -2891,7 +2891,7 @@ function f3(t) {
|
|
|
2891
2891
|
if (!e)
|
|
2892
2892
|
return 0;
|
|
2893
2893
|
var a = e[1] === "+" ? -1 : 1, s = parseInt(e[2]), n = e[3] && parseInt(e[3]) || 0;
|
|
2894
|
-
return b3(s, n) ? a * (s *
|
|
2894
|
+
return b3(s, n) ? a * (s * Hn + n * Pn) : NaN;
|
|
2895
2895
|
}
|
|
2896
2896
|
function h3(t, e, a) {
|
|
2897
2897
|
var s = /* @__PURE__ */ new Date(0);
|
|
@@ -2900,14 +2900,14 @@ function h3(t, e, a) {
|
|
|
2900
2900
|
return s.setUTCDate(s.getUTCDate() + o), s;
|
|
2901
2901
|
}
|
|
2902
2902
|
var m3 = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2903
|
-
function
|
|
2903
|
+
function Un(t) {
|
|
2904
2904
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
2905
2905
|
}
|
|
2906
2906
|
function g3(t, e, a) {
|
|
2907
|
-
return e >= 0 && e <= 11 && a >= 1 && a <= (m3[e] || (
|
|
2907
|
+
return e >= 0 && e <= 11 && a >= 1 && a <= (m3[e] || (Un(t) ? 29 : 28));
|
|
2908
2908
|
}
|
|
2909
2909
|
function C3(t, e) {
|
|
2910
|
-
return e >= 1 && e <= (
|
|
2910
|
+
return e >= 1 && e <= (Un(t) ? 366 : 365);
|
|
2911
2911
|
}
|
|
2912
2912
|
function _3(t, e, a) {
|
|
2913
2913
|
return e >= 1 && e <= 53 && a >= 0 && a <= 6;
|
|
@@ -2918,7 +2918,7 @@ function y3(t, e, a) {
|
|
|
2918
2918
|
function b3(t, e) {
|
|
2919
2919
|
return e >= 0 && e <= 59;
|
|
2920
2920
|
}
|
|
2921
|
-
var Pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {},
|
|
2921
|
+
var Pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Fn = {}, aa = {}, ma = {}, Yt = {}, za = {};
|
|
2922
2922
|
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
2923
2923
|
za.lexoHelper = void 0;
|
|
2924
2924
|
za.lexoHelper = {
|
|
@@ -3266,11 +3266,11 @@ class Ee {
|
|
|
3266
3266
|
}
|
|
3267
3267
|
ma.LexoDecimal = Ee;
|
|
3268
3268
|
var Oa = {}, vn;
|
|
3269
|
-
function
|
|
3269
|
+
function Zn() {
|
|
3270
3270
|
if (vn)
|
|
3271
3271
|
return Oa;
|
|
3272
3272
|
vn = 1, Object.defineProperty(Oa, "__esModule", { value: !0 });
|
|
3273
|
-
const t = Yt, e =
|
|
3273
|
+
const t = Yt, e = qn();
|
|
3274
3274
|
class a {
|
|
3275
3275
|
constructor(n) {
|
|
3276
3276
|
this.value = t.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3323,8 +3323,8 @@ function qn() {
|
|
|
3323
3323
|
}
|
|
3324
3324
|
return Oa.default = a, Oa;
|
|
3325
3325
|
}
|
|
3326
|
-
var Ts = {},
|
|
3327
|
-
Object.defineProperty(
|
|
3326
|
+
var Ts = {}, Wn = {};
|
|
3327
|
+
Object.defineProperty(Wn, "__esModule", { value: !0 });
|
|
3328
3328
|
var xa = {};
|
|
3329
3329
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
3330
3330
|
xa.LexoNumeralSystem10 = void 0;
|
|
@@ -3432,14 +3432,14 @@ Ka.LexoNumeralSystem64 = T3;
|
|
|
3432
3432
|
for (var o in s)
|
|
3433
3433
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3434
3434
|
};
|
|
3435
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3435
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Wn, t), a(xa, t), a(Ya, t), a(Ka, t);
|
|
3436
3436
|
})(Ts);
|
|
3437
3437
|
var fn;
|
|
3438
|
-
function
|
|
3438
|
+
function qn() {
|
|
3439
3439
|
if (fn)
|
|
3440
3440
|
return aa;
|
|
3441
3441
|
fn = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3442
|
-
const t = ma, e =
|
|
3442
|
+
const t = ma, e = Zn(), a = ga, s = Ts;
|
|
3443
3443
|
class n {
|
|
3444
3444
|
constructor(i, l) {
|
|
3445
3445
|
this.value = i.format() + "|" + n.formatDecimal(l), this.bucket = i, this.decimal = l;
|
|
@@ -3625,8 +3625,8 @@ function xn() {
|
|
|
3625
3625
|
for (var o in s)
|
|
3626
3626
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3627
3627
|
};
|
|
3628
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3629
|
-
})(
|
|
3628
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(qn(), t), a(Zn(), t), a(ma, t), a(Yt, t);
|
|
3629
|
+
})(Fn);
|
|
3630
3630
|
(function(t) {
|
|
3631
3631
|
var e = Pe && Pe.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3632
3632
|
i === void 0 && (i = o);
|
|
@@ -3640,9 +3640,9 @@ function xn() {
|
|
|
3640
3640
|
for (var o in s)
|
|
3641
3641
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3642
3642
|
};
|
|
3643
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3643
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fn, t), a(Ts, t);
|
|
3644
3644
|
})(we);
|
|
3645
|
-
function
|
|
3645
|
+
function zn(t) {
|
|
3646
3646
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3647
3647
|
var s;
|
|
3648
3648
|
return e + (((s = a.activities) == null ? void 0 : s.length) ?? 0);
|
|
@@ -3657,7 +3657,7 @@ function O3(t) {
|
|
|
3657
3657
|
function E3(t) {
|
|
3658
3658
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3659
3659
|
var n;
|
|
3660
|
-
const s = (n = a.milestones) != null && n.length ?
|
|
3660
|
+
const s = (n = a.milestones) != null && n.length ? zn(a.milestones) : 0;
|
|
3661
3661
|
return e + s;
|
|
3662
3662
|
}, 0)) ?? 0;
|
|
3663
3663
|
}
|
|
@@ -3687,7 +3687,7 @@ function Os(t, e = "dd/MM/yyyy") {
|
|
|
3687
3687
|
if (!t)
|
|
3688
3688
|
return "";
|
|
3689
3689
|
const a = ua(t);
|
|
3690
|
-
return
|
|
3690
|
+
return Dn(a) ? jn(a, e) : "";
|
|
3691
3691
|
}
|
|
3692
3692
|
function Es(t, e) {
|
|
3693
3693
|
return t.status.id === e.id;
|
|
@@ -3701,7 +3701,7 @@ function P3(t, e) {
|
|
|
3701
3701
|
status: L3(t, e) ? Cs.done : Cs.todo
|
|
3702
3702
|
};
|
|
3703
3703
|
}
|
|
3704
|
-
const
|
|
3704
|
+
const xn = (t) => {
|
|
3705
3705
|
const { firstName: e, lastName: a } = t || {};
|
|
3706
3706
|
return `${e ?? ""}${e ? " " : ""}${a ?? ""}`;
|
|
3707
3707
|
}, H3 = ["title"], D3 = {
|
|
@@ -3776,7 +3776,7 @@ const B3 = { class: "ao-card-template__subitems" }, R3 = { class: "ao-card-templ
|
|
|
3776
3776
|
var l;
|
|
3777
3777
|
return ((l = a.phases) == null ? void 0 : l.slice(0, hs)) ?? [];
|
|
3778
3778
|
}), i = A(() => a.phases && a.phases.length > hs ? a.phases.length - hs : 0);
|
|
3779
|
-
return (l, r) => (p(), D(
|
|
3779
|
+
return (l, r) => (p(), D(Ln, {
|
|
3780
3780
|
id: l.id,
|
|
3781
3781
|
title: l.title,
|
|
3782
3782
|
"is-draggable": !0,
|
|
@@ -3896,7 +3896,7 @@ const n5 = { class: "ao-page-header" }, i5 = { class: "ao-page-header-main" }, o
|
|
|
3896
3896
|
const l5 = ["type"], r5 = {
|
|
3897
3897
|
key: 0,
|
|
3898
3898
|
class: "ao-button-card__label"
|
|
3899
|
-
},
|
|
3899
|
+
}, gt = /* @__PURE__ */ z({
|
|
3900
3900
|
__name: "AoButtonCard",
|
|
3901
3901
|
props: {
|
|
3902
3902
|
label: { default: () => "" },
|
|
@@ -3906,7 +3906,7 @@ const l5 = ["type"], r5 = {
|
|
|
3906
3906
|
color: { default: () => Ms.BLACK },
|
|
3907
3907
|
size: { default: () => qa.MD },
|
|
3908
3908
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3909
|
-
corners: { default: () =>
|
|
3909
|
+
corners: { default: () => En.ROUNDED }
|
|
3910
3910
|
},
|
|
3911
3911
|
setup(t) {
|
|
3912
3912
|
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3954,7 +3954,7 @@ const u5 = { class: "ao-card-template-item__footer" }, c5 = {
|
|
|
3954
3954
|
}, o = () => {
|
|
3955
3955
|
e("remove");
|
|
3956
3956
|
};
|
|
3957
|
-
return (i, l) => (p(), D(
|
|
3957
|
+
return (i, l) => (p(), D(Ln, { "onUpdate:title": a }, {
|
|
3958
3958
|
footer: F(() => [
|
|
3959
3959
|
f("ul", u5, [
|
|
3960
3960
|
(p(), g(fe, null, _e(s, (r) => (p(), g(fe, { key: r }, [
|
|
@@ -3994,7 +3994,7 @@ const v5 = /* @__PURE__ */ z({
|
|
|
3994
3994
|
const e = t, a = A(() => {
|
|
3995
3995
|
var n;
|
|
3996
3996
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
3997
|
-
}), s = A(() => e.milestones ?
|
|
3997
|
+
}), s = A(() => e.milestones ? zn(e.milestones) : 0);
|
|
3998
3998
|
return (n, o) => (p(), D(Is, He({
|
|
3999
3999
|
id: n.id,
|
|
4000
4000
|
title: n.name,
|
|
@@ -4048,7 +4048,7 @@ const v5 = /* @__PURE__ */ z({
|
|
|
4048
4048
|
});
|
|
4049
4049
|
}
|
|
4050
4050
|
};
|
|
4051
|
-
return (l, r) => l.phase ? (p(), D(J(
|
|
4051
|
+
return (l, r) => l.phase ? (p(), D(J(mt), {
|
|
4052
4052
|
key: 0,
|
|
4053
4053
|
"model-value": l.phase.milestones,
|
|
4054
4054
|
class: "ao-templates__list",
|
|
@@ -4083,7 +4083,7 @@ const v5 = /* @__PURE__ */ z({
|
|
|
4083
4083
|
]),
|
|
4084
4084
|
footer: F(() => [
|
|
4085
4085
|
f("div", h5, [
|
|
4086
|
-
M(
|
|
4086
|
+
M(gt, {
|
|
4087
4087
|
"icon-name": "AddBoxOutlineRounded",
|
|
4088
4088
|
label: l.$t("template.milestones.add"),
|
|
4089
4089
|
onClick: s
|
|
@@ -4138,7 +4138,7 @@ const v5 = /* @__PURE__ */ z({
|
|
|
4138
4138
|
});
|
|
4139
4139
|
}
|
|
4140
4140
|
};
|
|
4141
|
-
return (l, r) => l.milestone ? (p(), D(J(
|
|
4141
|
+
return (l, r) => l.milestone ? (p(), D(J(mt), {
|
|
4142
4142
|
key: 0,
|
|
4143
4143
|
"model-value": l.milestone.activities,
|
|
4144
4144
|
title: l.$t("template.activities.title"),
|
|
@@ -4169,7 +4169,7 @@ const v5 = /* @__PURE__ */ z({
|
|
|
4169
4169
|
]),
|
|
4170
4170
|
footer: F(() => [
|
|
4171
4171
|
f("div", C5, [
|
|
4172
|
-
M(
|
|
4172
|
+
M(gt, {
|
|
4173
4173
|
"icon-name": "AddBoxOutlineRounded",
|
|
4174
4174
|
label: l.$t("template.activities.add"),
|
|
4175
4175
|
onClick: s
|
|
@@ -4247,18 +4247,18 @@ function Qa(t) {
|
|
|
4247
4247
|
function T5(t) {
|
|
4248
4248
|
return t === "x" ? "y" : "x";
|
|
4249
4249
|
}
|
|
4250
|
-
function
|
|
4250
|
+
function Yn(t) {
|
|
4251
4251
|
return t === "y" ? "height" : "width";
|
|
4252
4252
|
}
|
|
4253
4253
|
function Ps(t) {
|
|
4254
4254
|
return ["top", "bottom"].includes(Ft(t)) ? "y" : "x";
|
|
4255
4255
|
}
|
|
4256
|
-
function
|
|
4256
|
+
function Kn(t) {
|
|
4257
4257
|
return T5(Ps(t));
|
|
4258
4258
|
}
|
|
4259
4259
|
function O5(t, e, a) {
|
|
4260
4260
|
a === void 0 && (a = !1);
|
|
4261
|
-
const s = Qa(t), n =
|
|
4261
|
+
const s = Qa(t), n = Kn(t), o = Yn(n);
|
|
4262
4262
|
let i = n === "x" ? s === (a ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4263
4263
|
return e.reference[o] > e.floating[o] && (i = Ra(i)), [i, Ra(i)];
|
|
4264
4264
|
}
|
|
@@ -4321,7 +4321,7 @@ function hn(t, e, a) {
|
|
|
4321
4321
|
reference: s,
|
|
4322
4322
|
floating: n
|
|
4323
4323
|
} = t;
|
|
4324
|
-
const o = Ps(e), i =
|
|
4324
|
+
const o = Ps(e), i = Kn(e), l = Yn(i), r = Ft(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, d = s.y + s.height / 2 - n.height / 2, h = s[l] / 2 - n[l] / 2;
|
|
4325
4325
|
let v;
|
|
4326
4326
|
switch (r) {
|
|
4327
4327
|
case "top":
|
|
@@ -4428,7 +4428,7 @@ const D5 = async (t, e, a) => {
|
|
|
4428
4428
|
middlewareData: v
|
|
4429
4429
|
};
|
|
4430
4430
|
};
|
|
4431
|
-
async function
|
|
4431
|
+
async function Gn(t, e) {
|
|
4432
4432
|
var a;
|
|
4433
4433
|
e === void 0 && (e = {});
|
|
4434
4434
|
const {
|
|
@@ -4497,7 +4497,7 @@ const V5 = function(t) {
|
|
|
4497
4497
|
return {};
|
|
4498
4498
|
const S = Ft(n), y = Ft(l) === l, C = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), P = h || (y || !b ? [Ra(l)] : E5(l));
|
|
4499
4499
|
!h && $ !== "none" && P.push(...L5(l, b, $, C));
|
|
4500
|
-
const E = [l, ...P], I = await
|
|
4500
|
+
const E = [l, ...P], I = await Gn(e, w), U = [];
|
|
4501
4501
|
let W = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4502
4502
|
if (u && U.push(I[S]), d) {
|
|
4503
4503
|
const N = O5(n, i, C);
|
|
@@ -4556,7 +4556,7 @@ const V5 = function(t) {
|
|
|
4556
4556
|
apply: i = () => {
|
|
4557
4557
|
},
|
|
4558
4558
|
...l
|
|
4559
|
-
} = Ls(t, e), r = await
|
|
4559
|
+
} = Ls(t, e), r = await Gn(e, l), c = Ft(a), u = Qa(a), d = Ps(a) === "y", {
|
|
4560
4560
|
width: h,
|
|
4561
4561
|
height: v
|
|
4562
4562
|
} = s.floating;
|
|
@@ -4590,7 +4590,7 @@ const V5 = function(t) {
|
|
|
4590
4590
|
};
|
|
4591
4591
|
};
|
|
4592
4592
|
function vt(t) {
|
|
4593
|
-
return
|
|
4593
|
+
return Xn(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4594
4594
|
}
|
|
4595
4595
|
function Se(t) {
|
|
4596
4596
|
var e;
|
|
@@ -4598,9 +4598,9 @@ function Se(t) {
|
|
|
4598
4598
|
}
|
|
4599
4599
|
function st(t) {
|
|
4600
4600
|
var e;
|
|
4601
|
-
return (e = (
|
|
4601
|
+
return (e = (Xn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4602
4602
|
}
|
|
4603
|
-
function
|
|
4603
|
+
function Xn(t) {
|
|
4604
4604
|
return t instanceof Node || t instanceof Se(t).Node;
|
|
4605
4605
|
}
|
|
4606
4606
|
function tt(t) {
|
|
@@ -4667,17 +4667,17 @@ function Zt(t) {
|
|
|
4667
4667
|
);
|
|
4668
4668
|
return mn(e) ? e.host : e;
|
|
4669
4669
|
}
|
|
4670
|
-
function
|
|
4670
|
+
function Qn(t) {
|
|
4671
4671
|
const e = Zt(t);
|
|
4672
|
-
return Ja(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && _a(e) ? e :
|
|
4672
|
+
return Ja(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && _a(e) ? e : Qn(e);
|
|
4673
4673
|
}
|
|
4674
4674
|
function da(t, e, a) {
|
|
4675
4675
|
var s;
|
|
4676
4676
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4677
|
-
const n =
|
|
4677
|
+
const n = Qn(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Se(n);
|
|
4678
4678
|
return o ? e.concat(i, i.visualViewport || [], _a(n) ? n : [], i.frameElement && a ? da(i.frameElement) : []) : e.concat(n, da(n));
|
|
4679
4679
|
}
|
|
4680
|
-
function
|
|
4680
|
+
function Jn(t) {
|
|
4681
4681
|
const e = Be(t);
|
|
4682
4682
|
let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4683
4683
|
const n = Ze(t), o = n ? t.offsetWidth : a, i = n ? t.offsetHeight : s, l = Ba(a) !== o || Ba(s) !== i;
|
|
@@ -4698,7 +4698,7 @@ function Bt(t) {
|
|
|
4698
4698
|
width: s,
|
|
4699
4699
|
height: n,
|
|
4700
4700
|
$: o
|
|
4701
|
-
} =
|
|
4701
|
+
} = Jn(e);
|
|
4702
4702
|
let i = (o ? Ba(a.width) : a.width) / s, l = (o ? Ba(a.height) : a.height) / n;
|
|
4703
4703
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4704
4704
|
x: i,
|
|
@@ -4706,7 +4706,7 @@ function Bt(t) {
|
|
|
4706
4706
|
};
|
|
4707
4707
|
}
|
|
4708
4708
|
const j5 = /* @__PURE__ */ pt(0);
|
|
4709
|
-
function
|
|
4709
|
+
function ei(t) {
|
|
4710
4710
|
const e = Se(t);
|
|
4711
4711
|
return !Ds() || !e.visualViewport ? j5 : {
|
|
4712
4712
|
x: e.visualViewport.offsetLeft,
|
|
@@ -4716,12 +4716,12 @@ function ai(t) {
|
|
|
4716
4716
|
function U5(t, e, a) {
|
|
4717
4717
|
return e === void 0 && (e = !1), !a || e && a !== Se(t) ? !1 : e;
|
|
4718
4718
|
}
|
|
4719
|
-
function
|
|
4719
|
+
function St(t, e, a, s) {
|
|
4720
4720
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4721
4721
|
const n = t.getBoundingClientRect(), o = Vs(t);
|
|
4722
4722
|
let i = pt(1);
|
|
4723
4723
|
e && (s ? tt(s) && (i = Bt(s)) : i = Bt(t));
|
|
4724
|
-
const l = U5(o, a, s) ?
|
|
4724
|
+
const l = U5(o, a, s) ? ei(o) : pt(0);
|
|
4725
4725
|
let r = (n.left + l.x) / i.x, c = (n.top + l.y) / i.y, u = n.width / i.x, d = n.height / i.y;
|
|
4726
4726
|
if (o) {
|
|
4727
4727
|
const h = Se(o), v = s && tt(s) ? Se(s) : s;
|
|
@@ -4753,7 +4753,7 @@ function F5(t) {
|
|
|
4753
4753
|
}, l = pt(1);
|
|
4754
4754
|
const r = pt(0);
|
|
4755
4755
|
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || _a(o)) && (i = es(a)), Ze(a))) {
|
|
4756
|
-
const c =
|
|
4756
|
+
const c = St(a);
|
|
4757
4757
|
l = Bt(a), r.x = c.x + a.clientLeft, r.y = c.y + a.clientTop;
|
|
4758
4758
|
}
|
|
4759
4759
|
return {
|
|
@@ -4766,12 +4766,12 @@ function F5(t) {
|
|
|
4766
4766
|
function Z5(t) {
|
|
4767
4767
|
return Array.from(t.getClientRects());
|
|
4768
4768
|
}
|
|
4769
|
-
function
|
|
4770
|
-
return
|
|
4769
|
+
function ti(t) {
|
|
4770
|
+
return St(st(t)).left + es(t).scrollLeft;
|
|
4771
4771
|
}
|
|
4772
4772
|
function W5(t) {
|
|
4773
4773
|
const e = st(t), a = es(t), s = t.ownerDocument.body, n = Ie(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = Ie(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4774
|
-
let i = -a.scrollLeft +
|
|
4774
|
+
let i = -a.scrollLeft + ti(t);
|
|
4775
4775
|
const l = -a.scrollTop;
|
|
4776
4776
|
return Be(s).direction === "rtl" && (i += Ie(e.clientWidth, s.clientWidth) - n), {
|
|
4777
4777
|
width: n,
|
|
@@ -4796,7 +4796,7 @@ function q5(t, e) {
|
|
|
4796
4796
|
};
|
|
4797
4797
|
}
|
|
4798
4798
|
function z5(t, e) {
|
|
4799
|
-
const a =
|
|
4799
|
+
const a = St(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = Ze(t) ? Bt(t) : pt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, c = s * o.y;
|
|
4800
4800
|
return {
|
|
4801
4801
|
width: i,
|
|
4802
4802
|
height: l,
|
|
@@ -4813,7 +4813,7 @@ function gn(t, e, a) {
|
|
|
4813
4813
|
else if (tt(e))
|
|
4814
4814
|
s = z5(e, a);
|
|
4815
4815
|
else {
|
|
4816
|
-
const n =
|
|
4816
|
+
const n = ei(t);
|
|
4817
4817
|
s = {
|
|
4818
4818
|
...e,
|
|
4819
4819
|
x: e.x - n.x,
|
|
@@ -4822,9 +4822,9 @@ function gn(t, e, a) {
|
|
|
4822
4822
|
}
|
|
4823
4823
|
return Na(s);
|
|
4824
4824
|
}
|
|
4825
|
-
function
|
|
4825
|
+
function ai(t, e) {
|
|
4826
4826
|
const a = Zt(t);
|
|
4827
|
-
return a === e || !tt(a) || Ja(a) ? !1 : Be(a).position === "fixed" ||
|
|
4827
|
+
return a === e || !tt(a) || Ja(a) ? !1 : Be(a).position === "fixed" || ai(a, e);
|
|
4828
4828
|
}
|
|
4829
4829
|
function x5(t, e) {
|
|
4830
4830
|
const a = e.get(t);
|
|
@@ -4835,7 +4835,7 @@ function x5(t, e) {
|
|
|
4835
4835
|
let i = o ? Zt(t) : t;
|
|
4836
4836
|
for (; tt(i) && !Ja(i); ) {
|
|
4837
4837
|
const l = Be(i), r = Hs(i);
|
|
4838
|
-
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || _a(i) && !r &&
|
|
4838
|
+
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || _a(i) && !r && ai(t, i)) ? s = s.filter((u) => u !== i) : n = l, i = Zt(i);
|
|
4839
4839
|
}
|
|
4840
4840
|
return e.set(t, s), s;
|
|
4841
4841
|
}
|
|
@@ -4858,10 +4858,10 @@ function Y5(t) {
|
|
|
4858
4858
|
};
|
|
4859
4859
|
}
|
|
4860
4860
|
function K5(t) {
|
|
4861
|
-
return
|
|
4861
|
+
return Jn(t);
|
|
4862
4862
|
}
|
|
4863
4863
|
function G5(t, e, a) {
|
|
4864
|
-
const s = Ze(e), n = st(e), o = a === "fixed", i =
|
|
4864
|
+
const s = Ze(e), n = st(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4865
4865
|
let l = {
|
|
4866
4866
|
scrollLeft: 0,
|
|
4867
4867
|
scrollTop: 0
|
|
@@ -4869,10 +4869,10 @@ function G5(t, e, a) {
|
|
|
4869
4869
|
const r = pt(0);
|
|
4870
4870
|
if (s || !s && !o)
|
|
4871
4871
|
if ((vt(e) !== "body" || _a(n)) && (l = es(e)), s) {
|
|
4872
|
-
const c =
|
|
4872
|
+
const c = St(e, !0, o, e);
|
|
4873
4873
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4874
4874
|
} else
|
|
4875
|
-
n && (r.x =
|
|
4875
|
+
n && (r.x = ti(n));
|
|
4876
4876
|
return {
|
|
4877
4877
|
x: i.left + l.scrollLeft - r.x,
|
|
4878
4878
|
y: i.top + l.scrollTop - r.y,
|
|
@@ -4883,7 +4883,7 @@ function G5(t, e, a) {
|
|
|
4883
4883
|
function Cn(t, e) {
|
|
4884
4884
|
return !Ze(t) || Be(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4885
4885
|
}
|
|
4886
|
-
function
|
|
4886
|
+
function si(t, e) {
|
|
4887
4887
|
const a = Se(t);
|
|
4888
4888
|
if (!Ze(t))
|
|
4889
4889
|
return a;
|
|
@@ -4898,7 +4898,7 @@ const X5 = async function(t) {
|
|
|
4898
4898
|
floating: a,
|
|
4899
4899
|
strategy: s
|
|
4900
4900
|
} = t;
|
|
4901
|
-
const n = this.getOffsetParent ||
|
|
4901
|
+
const n = this.getOffsetParent || si, o = this.getDimensions;
|
|
4902
4902
|
return {
|
|
4903
4903
|
reference: G5(e, await n(a), s),
|
|
4904
4904
|
floating: {
|
|
@@ -4915,7 +4915,7 @@ const J5 = {
|
|
|
4915
4915
|
convertOffsetParentRelativeRectToViewportRelativeRect: F5,
|
|
4916
4916
|
getDocumentElement: st,
|
|
4917
4917
|
getClippingRect: Y5,
|
|
4918
|
-
getOffsetParent:
|
|
4918
|
+
getOffsetParent: si,
|
|
4919
4919
|
getElementRects: X5,
|
|
4920
4920
|
getClientRects: Z5,
|
|
4921
4921
|
getDimensions: K5,
|
|
@@ -4990,10 +4990,10 @@ function t7(t, e, a, s) {
|
|
|
4990
4990
|
v && v.observe(e);
|
|
4991
4991
|
})), a();
|
|
4992
4992
|
}), c && !r && v.observe(c), v.observe(e));
|
|
4993
|
-
let $, b = r ?
|
|
4993
|
+
let $, b = r ? St(t) : null;
|
|
4994
4994
|
r && w();
|
|
4995
4995
|
function w() {
|
|
4996
|
-
const S =
|
|
4996
|
+
const S = St(t);
|
|
4997
4997
|
b && (S.x !== b.x || S.y !== b.y || S.width !== b.width || S.height !== b.height) && a(), b = S, $ = requestAnimationFrame(w);
|
|
4998
4998
|
}
|
|
4999
4999
|
return a(), () => {
|
|
@@ -5072,9 +5072,9 @@ const a7 = (t, e, a) => {
|
|
|
5072
5072
|
});
|
|
5073
5073
|
});
|
|
5074
5074
|
}
|
|
5075
|
-
|
|
5075
|
+
Mt(() => {
|
|
5076
5076
|
c();
|
|
5077
|
-
}),
|
|
5077
|
+
}), On(() => {
|
|
5078
5078
|
l.value();
|
|
5079
5079
|
}), Ss(() => {
|
|
5080
5080
|
l.value();
|
|
@@ -5197,7 +5197,7 @@ function c7(t, e, a) {
|
|
|
5197
5197
|
searchFilter: re
|
|
5198
5198
|
} = Me(t), ie = Tt().proxy, q = a.iv, L = a.ev, Q = a.search, he = a.clearSearch, $e = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, ya = a.focus, ns = a.deactivate, it = a.close, ba = a.localize, ot = ee([]), Ue = ee([]), Te = ee(!1), Re = ee(null), ze = ee(O.value && i.value === -1 ? 10 : i.value), Xt = A(() => r.value || c.value || !1), wa = A(() => d.value !== void 0 ? d.value : h.value !== void 0 ? h.value : !0), Oe = A(() => {
|
|
5199
5199
|
if (oe.value) {
|
|
5200
|
-
let k =
|
|
5200
|
+
let k = _t.value || /* istanbul ignore next */
|
|
5201
5201
|
[], B = [];
|
|
5202
5202
|
return k.forEach((le) => {
|
|
5203
5203
|
ds(le[m.value]).forEach((ge) => {
|
|
@@ -5215,7 +5215,7 @@ function c7(t, e, a) {
|
|
|
5215
5215
|
}), lt = A(() => {
|
|
5216
5216
|
let k = Qt.value;
|
|
5217
5217
|
return ze.value > 0 && (k = k.slice(0, ze.value)), k;
|
|
5218
|
-
}),
|
|
5218
|
+
}), _t = A(() => {
|
|
5219
5219
|
if (!oe.value)
|
|
5220
5220
|
return [];
|
|
5221
5221
|
let k = [], B = Ue.value || /* istanbul ignore next */
|
|
@@ -5226,7 +5226,7 @@ function c7(t, e, a) {
|
|
|
5226
5226
|
__CREATE__: !0
|
|
5227
5227
|
}), k.concat(B);
|
|
5228
5228
|
}), $a = A(() => {
|
|
5229
|
-
let k = [...
|
|
5229
|
+
let k = [..._t.value].map((B) => ({ ...B }));
|
|
5230
5230
|
return Et.value.length && (k[0] && k[0].__CREATE__ ? k[0][m.value] = [...Et.value, ...k[0][m.value]] : k = [{
|
|
5231
5231
|
[W.value]: " ",
|
|
5232
5232
|
[m.value]: [...Et.value],
|
|
@@ -5236,15 +5236,15 @@ function c7(t, e, a) {
|
|
|
5236
5236
|
if (!oe.value)
|
|
5237
5237
|
return [];
|
|
5238
5238
|
let k = $a.value;
|
|
5239
|
-
return
|
|
5239
|
+
return Mi((k || /* istanbul ignore next */
|
|
5240
5240
|
[]).map((B, le) => {
|
|
5241
5241
|
const ge = ds(B[m.value]);
|
|
5242
5242
|
return {
|
|
5243
5243
|
...B,
|
|
5244
5244
|
index: le,
|
|
5245
5245
|
group: !0,
|
|
5246
|
-
[m.value]: cs(ge, !1).map((
|
|
5247
|
-
__VISIBLE__: cs(ge).map((
|
|
5246
|
+
[m.value]: cs(ge, !1).map((bt) => Object.assign({}, bt, B[_.value] ? { [_.value]: !0 } : {})),
|
|
5247
|
+
__VISIBLE__: cs(ge).map((bt) => Object.assign({}, bt, B[_.value] ? { [_.value]: !0 } : {}))
|
|
5248
5248
|
};
|
|
5249
5249
|
}));
|
|
5250
5250
|
}), os = A(() => {
|
|
@@ -5255,12 +5255,12 @@ function c7(t, e, a) {
|
|
|
5255
5255
|
case "tags":
|
|
5256
5256
|
return !Fe(q.value) && q.value.length > 0;
|
|
5257
5257
|
}
|
|
5258
|
-
}),
|
|
5258
|
+
}), vi = A(() => v !== void 0 && v.value !== void 0 ? v.value(q.value, ie) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), fi = A(() => !Oe.value.length && !Te.value && !Et.value.length), hi = A(() => Oe.value.length > 0 && lt.value.length == 0 && (Q.value && oe.value || !oe.value)), Et = A(() => Xt.value === !1 || !Q.value ? [] : ki(Q.value) !== -1 ? [] : [{
|
|
5259
5259
|
[I.value]: Q.value,
|
|
5260
|
-
[
|
|
5260
|
+
[yt.value[0]]: Q.value,
|
|
5261
5261
|
[u.value]: Q.value,
|
|
5262
5262
|
__CREATE__: !0
|
|
5263
|
-
}]),
|
|
5263
|
+
}]), yt = A(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), mi = A(() => {
|
|
5264
5264
|
switch (n.value) {
|
|
5265
5265
|
case "single":
|
|
5266
5266
|
return null;
|
|
@@ -5268,7 +5268,7 @@ function c7(t, e, a) {
|
|
|
5268
5268
|
case "tags":
|
|
5269
5269
|
return [];
|
|
5270
5270
|
}
|
|
5271
|
-
}),
|
|
5271
|
+
}), gi = A(() => b.value || Te.value), It = (k) => {
|
|
5272
5272
|
switch (typeof k != "object" && (k = Ye(k)), n.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
$e(k);
|
|
@@ -5292,17 +5292,17 @@ function c7(t, e, a) {
|
|
|
5292
5292
|
e.emit("deselect", en(k), k, ie);
|
|
5293
5293
|
}, en = (k) => $.value ? k : k[I.value], tn = (k) => {
|
|
5294
5294
|
Lt(k);
|
|
5295
|
-
},
|
|
5295
|
+
}, Ci = (k, B) => {
|
|
5296
5296
|
if (B.button !== 0) {
|
|
5297
5297
|
B.preventDefault();
|
|
5298
5298
|
return;
|
|
5299
5299
|
}
|
|
5300
5300
|
tn(k);
|
|
5301
5301
|
}, an = () => {
|
|
5302
|
-
$e(
|
|
5302
|
+
$e(mi.value), e.emit("clear", ie);
|
|
5303
5303
|
}, xe = (k) => {
|
|
5304
5304
|
if (k.group !== void 0)
|
|
5305
|
-
return n.value === "single" ? !1 :
|
|
5305
|
+
return n.value === "single" ? !1 : $i(k[m.value]) && k[m.value].length;
|
|
5306
5306
|
switch (n.value) {
|
|
5307
5307
|
case "single":
|
|
5308
5308
|
return !Fe(q.value) && q.value[I.value] == k[I.value];
|
|
@@ -5310,7 +5310,7 @@ function c7(t, e, a) {
|
|
|
5310
5310
|
case "multiple":
|
|
5311
5311
|
return !Fe(q.value) && q.value.map((B) => B[I.value]).indexOf(k[I.value]) !== -1;
|
|
5312
5312
|
}
|
|
5313
|
-
}, ls = (k) => k[_.value] === !0, rs = () => Y === void 0 || Y.value === -1 || !os.value && Y.value > 0 ? !1 : q.value.length >= Y.value,
|
|
5313
|
+
}, ls = (k) => k[_.value] === !0, rs = () => Y === void 0 || Y.value === -1 || !os.value && Y.value > 0 ? !1 : q.value.length >= Y.value, _i = (k) => {
|
|
5314
5314
|
if (!ls(k)) {
|
|
5315
5315
|
if (X && X.value && !xe(k) && k.__CREATE__ && (k = { ...k }, delete k.__CREATE__, k = X.value(k, ie), k instanceof Promise)) {
|
|
5316
5316
|
Te.value = !0, k.then((B) => {
|
|
@@ -5353,12 +5353,12 @@ function c7(t, e, a) {
|
|
|
5353
5353
|
break;
|
|
5354
5354
|
}
|
|
5355
5355
|
N.value || ya();
|
|
5356
|
-
},
|
|
5356
|
+
}, yi = (k) => {
|
|
5357
5357
|
if (!(ls(k) || n.value === "single" || !H.value)) {
|
|
5358
5358
|
switch (n.value) {
|
|
5359
5359
|
case "multiple":
|
|
5360
5360
|
case "tags":
|
|
5361
|
-
|
|
5361
|
+
wi(k[m.value]) ? Lt(k[m.value]) : It(
|
|
5362
5362
|
k[m.value].filter((B) => q.value.map((le) => le[I.value]).indexOf(B[I.value]) === -1).filter((B) => !B[_.value]).filter((B, le) => q.value.length + 1 + le <= Y.value || Y.value === -1)
|
|
5363
5363
|
), l.value && Kt.value && Gt(is.value.filter((B) => !B[_.value])[Kt.value.index]);
|
|
5364
5364
|
break;
|
|
@@ -5366,29 +5366,29 @@ function c7(t, e, a) {
|
|
|
5366
5366
|
N.value && ns();
|
|
5367
5367
|
}
|
|
5368
5368
|
}, us = (k) => {
|
|
5369
|
-
Ye(k[I.value]) === void 0 && Xt.value && (e.emit("tag", k[I.value], ie), e.emit("option", k[I.value], ie), e.emit("create", k[I.value], ie), wa.value &&
|
|
5370
|
-
},
|
|
5369
|
+
Ye(k[I.value]) === void 0 && Xt.value && (e.emit("tag", k[I.value], ie), e.emit("option", k[I.value], ie), e.emit("create", k[I.value], ie), wa.value && Ai(k), he());
|
|
5370
|
+
}, bi = () => {
|
|
5371
5371
|
n.value !== "single" && It(lt.value.filter((k) => !k.disabled && !xe(k)));
|
|
5372
|
-
},
|
|
5372
|
+
}, wi = (k) => k.find((B) => !xe(B) && !B[_.value]) === void 0, $i = (k) => k.find((B) => !xe(B)) === void 0, Ye = (k) => Oe.value[Oe.value.map((B) => String(B[I.value])).indexOf(String(k))], ki = (k) => Oe.value.findIndex((B) => yt.value.some((le) => (parseInt(B[le]) == B[le] ? parseInt(B[le]) : B[le]) === (parseInt(k) == k ? parseInt(k) : k))), Si = (k) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(k), Ai = (k) => {
|
|
5373
5373
|
ot.value.push(k);
|
|
5374
|
-
},
|
|
5374
|
+
}, Mi = (k) => V.value ? k.filter(
|
|
5375
5375
|
(B) => Q.value ? B.__VISIBLE__.length : B[m.value].length
|
|
5376
5376
|
) : k.filter((B) => Q.value ? B.__VISIBLE__.length : !0), cs = (k, B = !0) => {
|
|
5377
5377
|
let le = k;
|
|
5378
5378
|
if (Q.value && C.value) {
|
|
5379
5379
|
let ge = re.value;
|
|
5380
|
-
ge || (ge = (
|
|
5381
|
-
let ln = ms(ba(
|
|
5380
|
+
ge || (ge = (bt, on, D4) => yt.value.some((Oi) => {
|
|
5381
|
+
let ln = ms(ba(bt[Oi]), ae.value);
|
|
5382
5382
|
return R.value ? ln.startsWith(ms(on, ae.value)) : ln.indexOf(ms(on, ae.value)) !== -1;
|
|
5383
|
-
})), le = le.filter((
|
|
5383
|
+
})), le = le.filter((bt) => ge(bt, Q.value, ie));
|
|
5384
5384
|
}
|
|
5385
|
-
return l.value && B && (le = le.filter((ge) => !
|
|
5385
|
+
return l.value && B && (le = le.filter((ge) => !Si(ge))), le;
|
|
5386
5386
|
}, ds = (k) => {
|
|
5387
5387
|
let B = k;
|
|
5388
5388
|
return r7(B) && (B = Object.keys(B).map((le) => {
|
|
5389
5389
|
let ge = B[le];
|
|
5390
|
-
return { [I.value]: le, [
|
|
5391
|
-
})), B = B.map((le) => typeof le == "object" ? le : { [I.value]: le, [
|
|
5390
|
+
return { [I.value]: le, [yt.value[0]]: ge, [u.value]: ge };
|
|
5391
|
+
})), B = B.map((le) => typeof le == "object" ? le : { [I.value]: le, [yt.value[0]]: le, [u.value]: le }), B;
|
|
5392
5392
|
}, ka = () => {
|
|
5393
5393
|
Fe(L.value) || (q.value = Aa(L.value));
|
|
5394
5394
|
}, Sa = (k) => (Te.value = !0, new Promise((B, le) => {
|
|
@@ -5415,16 +5415,16 @@ function c7(t, e, a) {
|
|
|
5415
5415
|
q.value[B][u.value] = ge, $.value && (L.value[B][u.value] = ge);
|
|
5416
5416
|
}
|
|
5417
5417
|
});
|
|
5418
|
-
},
|
|
5418
|
+
}, Ti = (k) => {
|
|
5419
5419
|
Sa(k);
|
|
5420
5420
|
}, Aa = (k) => Fe(k) ? n.value === "single" ? {} : [] : $.value ? k : n.value === "single" ? Ye(k) || (U.value ? {
|
|
5421
5421
|
[u.value]: k,
|
|
5422
5422
|
[I.value]: k,
|
|
5423
|
-
[
|
|
5423
|
+
[yt.value[0]]: k
|
|
5424
5424
|
} : {}) : k.filter((B) => !!Ye(B) || U.value).map((B) => Ye(B) || {
|
|
5425
5425
|
[u.value]: B,
|
|
5426
5426
|
[I.value]: B,
|
|
5427
|
-
[
|
|
5427
|
+
[yt.value[0]]: B
|
|
5428
5428
|
}), nn = () => {
|
|
5429
5429
|
Re.value = de(Q, (k) => {
|
|
5430
5430
|
k.length < y.value || !k && y.value !== 0 || (Te.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
@@ -5466,31 +5466,31 @@ function c7(t, e, a) {
|
|
|
5466
5466
|
fo: lt,
|
|
5467
5467
|
filteredOptions: lt,
|
|
5468
5468
|
hasSelected: os,
|
|
5469
|
-
multipleLabelText:
|
|
5469
|
+
multipleLabelText: vi,
|
|
5470
5470
|
eo: Oe,
|
|
5471
5471
|
extendedOptions: Oe,
|
|
5472
|
-
eg:
|
|
5473
|
-
extendedGroups:
|
|
5472
|
+
eg: _t,
|
|
5473
|
+
extendedGroups: _t,
|
|
5474
5474
|
fg: is,
|
|
5475
5475
|
filteredGroups: is,
|
|
5476
|
-
noOptions:
|
|
5477
|
-
noResults:
|
|
5476
|
+
noOptions: fi,
|
|
5477
|
+
noResults: hi,
|
|
5478
5478
|
resolving: Te,
|
|
5479
|
-
busy:
|
|
5479
|
+
busy: gi,
|
|
5480
5480
|
offset: ze,
|
|
5481
5481
|
select: It,
|
|
5482
5482
|
deselect: Lt,
|
|
5483
5483
|
remove: tn,
|
|
5484
|
-
selectAll:
|
|
5484
|
+
selectAll: bi,
|
|
5485
5485
|
clear: an,
|
|
5486
5486
|
isSelected: xe,
|
|
5487
5487
|
isDisabled: ls,
|
|
5488
5488
|
isMax: rs,
|
|
5489
5489
|
getOption: Ye,
|
|
5490
|
-
handleOptionClick:
|
|
5491
|
-
handleGroupClick:
|
|
5492
|
-
handleTagRemove:
|
|
5493
|
-
refreshOptions:
|
|
5490
|
+
handleOptionClick: _i,
|
|
5491
|
+
handleGroupClick: yi,
|
|
5492
|
+
handleTagRemove: Ci,
|
|
5493
|
+
refreshOptions: Ti,
|
|
5494
5494
|
resolveOptions: Sa,
|
|
5495
5495
|
refreshLabels: ps
|
|
5496
5496
|
};
|
|
@@ -5593,7 +5593,7 @@ function Ae(t) {
|
|
|
5593
5593
|
}
|
|
5594
5594
|
return t;
|
|
5595
5595
|
}
|
|
5596
|
-
function
|
|
5596
|
+
function At(t) {
|
|
5597
5597
|
var e = Ae(t).Element;
|
|
5598
5598
|
return t instanceof e || t instanceof Element;
|
|
5599
5599
|
}
|
|
@@ -5607,21 +5607,21 @@ function Bs(t) {
|
|
|
5607
5607
|
var e = Ae(t).ShadowRoot;
|
|
5608
5608
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5609
5609
|
}
|
|
5610
|
-
var
|
|
5610
|
+
var kt = Math.max, ja = Math.min, Wt = Math.round;
|
|
5611
5611
|
function bs() {
|
|
5612
5612
|
var t = navigator.userAgentData;
|
|
5613
5613
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5614
5614
|
return e.brand + "/" + e.version;
|
|
5615
5615
|
}).join(" ") : navigator.userAgent;
|
|
5616
5616
|
}
|
|
5617
|
-
function
|
|
5617
|
+
function ni() {
|
|
5618
5618
|
return !/^((?!chrome|android).)*safari/i.test(bs());
|
|
5619
5619
|
}
|
|
5620
5620
|
function qt(t, e, a) {
|
|
5621
5621
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5622
5622
|
var s = t.getBoundingClientRect(), n = 1, o = 1;
|
|
5623
5623
|
e && Ve(t) && (n = t.offsetWidth > 0 && Wt(s.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Wt(s.height) / t.offsetHeight || 1);
|
|
5624
|
-
var i =
|
|
5624
|
+
var i = At(t) ? Ae(t) : window, l = i.visualViewport, r = !ni() && a, c = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / o, d = s.width / n, h = s.height / o;
|
|
5625
5625
|
return {
|
|
5626
5626
|
width: d,
|
|
5627
5627
|
height: h,
|
|
@@ -5652,14 +5652,14 @@ function v7(t) {
|
|
|
5652
5652
|
function We(t) {
|
|
5653
5653
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5654
5654
|
}
|
|
5655
|
-
function
|
|
5656
|
-
return ((
|
|
5655
|
+
function Ct(t) {
|
|
5656
|
+
return ((At(t) ? t.ownerDocument : (
|
|
5657
5657
|
// $FlowFixMe[prop-missing]
|
|
5658
5658
|
t.document
|
|
5659
5659
|
)) || window.document).documentElement;
|
|
5660
5660
|
}
|
|
5661
5661
|
function Ns(t) {
|
|
5662
|
-
return qt(
|
|
5662
|
+
return qt(Ct(t)).left + Rs(t).scrollLeft;
|
|
5663
5663
|
}
|
|
5664
5664
|
function at(t) {
|
|
5665
5665
|
return Ae(t).getComputedStyle(t);
|
|
@@ -5674,7 +5674,7 @@ function f7(t) {
|
|
|
5674
5674
|
}
|
|
5675
5675
|
function h7(t, e, a) {
|
|
5676
5676
|
a === void 0 && (a = !1);
|
|
5677
|
-
var s = Ve(e), n = Ve(e) && f7(e), o =
|
|
5677
|
+
var s = Ve(e), n = Ve(e) && f7(e), o = Ct(e), i = qt(t, n, a), l = {
|
|
5678
5678
|
scrollLeft: 0,
|
|
5679
5679
|
scrollTop: 0
|
|
5680
5680
|
}, r = {
|
|
@@ -5689,7 +5689,7 @@ function h7(t, e, a) {
|
|
|
5689
5689
|
height: i.height
|
|
5690
5690
|
};
|
|
5691
5691
|
}
|
|
5692
|
-
function
|
|
5692
|
+
function ii(t) {
|
|
5693
5693
|
var e = qt(t), a = t.offsetWidth, s = t.offsetHeight;
|
|
5694
5694
|
return Math.abs(e.width - a) <= 1 && (a = e.width), Math.abs(e.height - s) <= 1 && (s = e.height), {
|
|
5695
5695
|
x: t.offsetLeft,
|
|
@@ -5707,16 +5707,16 @@ function ts(t) {
|
|
|
5707
5707
|
t.parentNode || // DOM Element detected
|
|
5708
5708
|
(Bs(t) ? t.host : null) || // ShadowRoot detected
|
|
5709
5709
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5710
|
-
|
|
5710
|
+
Ct(t)
|
|
5711
5711
|
);
|
|
5712
5712
|
}
|
|
5713
|
-
function
|
|
5714
|
-
return ["html", "body", "#document"].indexOf(We(t)) >= 0 ? t.ownerDocument.body : Ve(t) && js(t) ? t :
|
|
5713
|
+
function oi(t) {
|
|
5714
|
+
return ["html", "body", "#document"].indexOf(We(t)) >= 0 ? t.ownerDocument.body : Ve(t) && js(t) ? t : oi(ts(t));
|
|
5715
5715
|
}
|
|
5716
5716
|
function ia(t, e) {
|
|
5717
5717
|
var a;
|
|
5718
5718
|
e === void 0 && (e = []);
|
|
5719
|
-
var s =
|
|
5719
|
+
var s = oi(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Ae(s), i = n ? [o].concat(o.visualViewport || [], js(s) ? s : []) : s, l = e.concat(i);
|
|
5720
5720
|
return n ? l : (
|
|
5721
5721
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5722
5722
|
l.concat(ia(ts(i)))
|
|
@@ -5750,7 +5750,7 @@ function as(t) {
|
|
|
5750
5750
|
a = _n(a);
|
|
5751
5751
|
return a && (We(a) === "html" || We(a) === "body" && at(a).position === "static") ? e : a || g7(t) || e;
|
|
5752
5752
|
}
|
|
5753
|
-
var je = "top", qe = "bottom", ft = "right", Xe = "left", Us = "auto", ss = [je, qe, ft, Xe], zt = "start", pa = "end", C7 = "clippingParents",
|
|
5753
|
+
var je = "top", qe = "bottom", ft = "right", Xe = "left", Us = "auto", ss = [je, qe, ft, Xe], zt = "start", pa = "end", C7 = "clippingParents", li = "viewport", na = "popper", _7 = "reference", yn = /* @__PURE__ */ ss.reduce(function(t, e) {
|
|
5754
5754
|
return t.concat([e + "-" + zt, e + "-" + pa]);
|
|
5755
5755
|
}, []), y7 = /* @__PURE__ */ [].concat(ss, [Us]).reduce(function(t, e) {
|
|
5756
5756
|
return t.concat([e, e + "-" + zt, e + "-" + pa]);
|
|
@@ -5805,10 +5805,10 @@ function H7(t) {
|
|
|
5805
5805
|
});
|
|
5806
5806
|
}
|
|
5807
5807
|
function D7(t, e) {
|
|
5808
|
-
var a = Ae(t), s =
|
|
5808
|
+
var a = Ae(t), s = Ct(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
|
|
5809
5809
|
if (n) {
|
|
5810
5810
|
o = n.width, i = n.height;
|
|
5811
|
-
var c =
|
|
5811
|
+
var c = ni();
|
|
5812
5812
|
(c || !c && e === "fixed") && (l = n.offsetLeft, r = n.offsetTop);
|
|
5813
5813
|
}
|
|
5814
5814
|
return {
|
|
@@ -5819,8 +5819,8 @@ function D7(t, e) {
|
|
|
5819
5819
|
};
|
|
5820
5820
|
}
|
|
5821
5821
|
function V7(t) {
|
|
5822
|
-
var e, a =
|
|
5823
|
-
return at(n || a).direction === "rtl" && (l +=
|
|
5822
|
+
var e, a = Ct(t), s = Rs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), l = -s.scrollLeft + Ns(t), r = -s.scrollTop;
|
|
5823
|
+
return at(n || a).direction === "rtl" && (l += kt(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5824
5824
|
width: o,
|
|
5825
5825
|
height: i,
|
|
5826
5826
|
x: l,
|
|
@@ -5854,18 +5854,18 @@ function R7(t, e) {
|
|
|
5854
5854
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5855
5855
|
}
|
|
5856
5856
|
function bn(t, e, a) {
|
|
5857
|
-
return e ===
|
|
5857
|
+
return e === li ? ws(D7(t, a)) : At(e) ? R7(e, a) : ws(V7(Ct(t)));
|
|
5858
5858
|
}
|
|
5859
5859
|
function N7(t) {
|
|
5860
5860
|
var e = ia(ts(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a && Ve(t) ? as(t) : t;
|
|
5861
|
-
return
|
|
5862
|
-
return
|
|
5861
|
+
return At(s) ? e.filter(function(n) {
|
|
5862
|
+
return At(n) && B7(n, s) && We(n) !== "body";
|
|
5863
5863
|
}) : [];
|
|
5864
5864
|
}
|
|
5865
5865
|
function j7(t, e, a, s) {
|
|
5866
5866
|
var n = e === "clippingParents" ? N7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], l = o.reduce(function(r, c) {
|
|
5867
5867
|
var u = bn(t, c, s);
|
|
5868
|
-
return r.top =
|
|
5868
|
+
return r.top = kt(u.top, r.top), r.right = ja(u.right, r.right), r.bottom = ja(u.bottom, r.bottom), r.left = kt(u.left, r.left), r;
|
|
5869
5869
|
}, bn(t, i, s));
|
|
5870
5870
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
5871
5871
|
}
|
|
@@ -5875,10 +5875,10 @@ function ct(t) {
|
|
|
5875
5875
|
function xt(t) {
|
|
5876
5876
|
return t.split("-")[1];
|
|
5877
5877
|
}
|
|
5878
|
-
function
|
|
5878
|
+
function ri(t) {
|
|
5879
5879
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5880
5880
|
}
|
|
5881
|
-
function
|
|
5881
|
+
function ui(t) {
|
|
5882
5882
|
var e = t.reference, a = t.element, s = t.placement, n = s ? ct(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;
|
|
5883
5883
|
switch (n) {
|
|
5884
5884
|
case je:
|
|
@@ -5911,7 +5911,7 @@ function di(t) {
|
|
|
5911
5911
|
y: e.y
|
|
5912
5912
|
};
|
|
5913
5913
|
}
|
|
5914
|
-
var c = n ?
|
|
5914
|
+
var c = n ? ri(n) : null;
|
|
5915
5915
|
if (c != null) {
|
|
5916
5916
|
var u = c === "y" ? "height" : "width";
|
|
5917
5917
|
switch (o) {
|
|
@@ -5925,7 +5925,7 @@ function di(t) {
|
|
|
5925
5925
|
}
|
|
5926
5926
|
return r;
|
|
5927
5927
|
}
|
|
5928
|
-
function
|
|
5928
|
+
function ci() {
|
|
5929
5929
|
return {
|
|
5930
5930
|
top: 0,
|
|
5931
5931
|
right: 0,
|
|
@@ -5934,7 +5934,7 @@ function pi() {
|
|
|
5934
5934
|
};
|
|
5935
5935
|
}
|
|
5936
5936
|
function U7(t) {
|
|
5937
|
-
return Object.assign({},
|
|
5937
|
+
return Object.assign({}, ci(), t);
|
|
5938
5938
|
}
|
|
5939
5939
|
function F7(t, e) {
|
|
5940
5940
|
return e.reduce(function(a, s) {
|
|
@@ -5943,7 +5943,7 @@ function F7(t, e) {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function Fs(t, e) {
|
|
5945
5945
|
e === void 0 && (e = {});
|
|
5946
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? C7 : l, c = a.rootBoundary, u = c === void 0 ?
|
|
5946
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? C7 : l, c = a.rootBoundary, u = c === void 0 ? li : c, d = a.elementContext, h = d === void 0 ? na : d, v = a.altBoundary, $ = v === void 0 ? !1 : v, b = a.padding, w = b === void 0 ? 0 : b, S = U7(typeof w != "number" ? w : F7(w, ss)), y = h === na ? _7 : na, C = t.rects.popper, P = t.elements[$ ? y : h], E = j7(At(P) ? P : P.contextElement || Ct(t.elements.popper), r, u, i), I = qt(t.elements.reference), U = ui({
|
|
5947
5947
|
reference: I,
|
|
5948
5948
|
element: C,
|
|
5949
5949
|
strategy: "absolute",
|
|
@@ -5996,7 +5996,7 @@ function Z7(t) {
|
|
|
5996
5996
|
setOptions: function(S) {
|
|
5997
5997
|
var y = typeof S == "function" ? S(u.options) : S;
|
|
5998
5998
|
b(), u.options = Object.assign({}, o, u.options, y), u.scrollParents = {
|
|
5999
|
-
reference:
|
|
5999
|
+
reference: At(l) ? ia(l) : l.contextElement ? ia(l.contextElement) : [],
|
|
6000
6000
|
popper: ia(r)
|
|
6001
6001
|
};
|
|
6002
6002
|
var C = L7(H7([].concat(s, u.options.modifiers)));
|
|
@@ -6015,7 +6015,7 @@ function Z7(t) {
|
|
|
6015
6015
|
if ($n(y, C)) {
|
|
6016
6016
|
u.rects = {
|
|
6017
6017
|
reference: h7(y, as(C), u.options.strategy === "fixed"),
|
|
6018
|
-
popper:
|
|
6018
|
+
popper: ii(C)
|
|
6019
6019
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(Y) {
|
|
6020
6020
|
return u.modifiersData[Y.name] = Object.assign({}, Y.data);
|
|
6021
6021
|
});
|
|
@@ -6098,7 +6098,7 @@ var q7 = {
|
|
|
6098
6098
|
};
|
|
6099
6099
|
function z7(t) {
|
|
6100
6100
|
var e = t.state, a = t.name;
|
|
6101
|
-
e.modifiersData[a] =
|
|
6101
|
+
e.modifiersData[a] = ui({
|
|
6102
6102
|
reference: e.rects.reference,
|
|
6103
6103
|
element: e.rects.popper,
|
|
6104
6104
|
strategy: "absolute",
|
|
@@ -6136,7 +6136,7 @@ function kn(t) {
|
|
|
6136
6136
|
var S = i.hasOwnProperty("x"), y = i.hasOwnProperty("y"), C = Xe, P = je, E = window;
|
|
6137
6137
|
if (c) {
|
|
6138
6138
|
var I = as(a), U = "clientHeight", W = "clientWidth";
|
|
6139
|
-
if (I === Ae(a) && (I =
|
|
6139
|
+
if (I === Ae(a) && (I = Ct(a), at(I).position !== "static" && l === "absolute" && (U = "scrollHeight", W = "scrollWidth")), I = I, n === je || (n === Xe || n === ft) && o === pa) {
|
|
6140
6140
|
P = qe;
|
|
6141
6141
|
var x = d && I === E && E.visualViewport ? E.visualViewport.height : (
|
|
6142
6142
|
// $FlowFixMe[prop-missing]
|
|
@@ -6246,7 +6246,7 @@ function sp(t) {
|
|
|
6246
6246
|
return t === "x" ? "y" : "x";
|
|
6247
6247
|
}
|
|
6248
6248
|
function La(t, e, a) {
|
|
6249
|
-
return
|
|
6249
|
+
return kt(t, ja(e, a));
|
|
6250
6250
|
}
|
|
6251
6251
|
function np(t, e, a) {
|
|
6252
6252
|
var s = La(t, e, a);
|
|
@@ -6258,7 +6258,7 @@ function ip(t) {
|
|
|
6258
6258
|
rootBoundary: c,
|
|
6259
6259
|
padding: d,
|
|
6260
6260
|
altBoundary: u
|
|
6261
|
-
}), S = ct(e.placement), y = xt(e.placement), C = !y, P =
|
|
6261
|
+
}), S = ct(e.placement), y = xt(e.placement), C = !y, P = ri(S), E = sp(P), I = e.modifiersData.popperOffsets, U = e.rects.reference, W = e.rects.popper, x = typeof b == "function" ? b(Object.assign({}, e.rects, {
|
|
6262
6262
|
placement: e.placement
|
|
6263
6263
|
})) : b, Y = typeof x == "number" ? {
|
|
6264
6264
|
mainAxis: x,
|
|
@@ -6272,14 +6272,14 @@ function ip(t) {
|
|
|
6272
6272
|
};
|
|
6273
6273
|
if (I) {
|
|
6274
6274
|
if (o) {
|
|
6275
|
-
var K, oe = P === "y" ? je : Xe, se = P === "y" ? qe : ft, O = P === "y" ? "height" : "width", m = I[P], V = m + w[oe], H = m - w[se], X = v ? -W[O] / 2 : 0, _ = y === zt ? U[O] : W[O], R = y === zt ? -W[O] : -U[O], re = e.elements.arrow, ie = v && re ?
|
|
6275
|
+
var K, oe = P === "y" ? je : Xe, se = P === "y" ? qe : ft, O = P === "y" ? "height" : "width", m = I[P], V = m + w[oe], H = m - w[se], X = v ? -W[O] / 2 : 0, _ = y === zt ? U[O] : W[O], R = y === zt ? -W[O] : -U[O], re = e.elements.arrow, ie = v && re ? ii(re) : {
|
|
6276
6276
|
width: 0,
|
|
6277
6277
|
height: 0
|
|
6278
|
-
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding :
|
|
6278
|
+
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ci(), L = q[oe], Q = q[se], he = La(0, U[O], ie[O]), $e = C ? U[O] / 2 - X - he - L - Y.mainAxis : _ - he - L - Y.mainAxis, Kt = C ? -U[O] / 2 + X + he + Q + Y.mainAxis : R + he + Q + Y.mainAxis, Gt = e.elements.arrow && as(e.elements.arrow), nt = Gt ? P === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, ya = (K = ae == null ? void 0 : ae[P]) != null ? K : 0, ns = m + $e - ya - nt, it = m + Kt - ya, ba = La(v ? ja(V, ns) : V, m, v ? kt(H, it) : H);
|
|
6279
6279
|
I[P] = ba, N[P] = ba - m;
|
|
6280
6280
|
}
|
|
6281
6281
|
if (l) {
|
|
6282
|
-
var ot, Ue = P === "x" ? je : Xe, Te = P === "x" ? qe : ft, Re = I[E], ze = E === "y" ? "height" : "width", Xt = Re + w[Ue], wa = Re - w[Te], Oe = [je, Xe].indexOf(S) !== -1, Qt = (ot = ae == null ? void 0 : ae[E]) != null ? ot : 0, lt = Oe ? Xt : Re - U[ze] - W[ze] - Qt + Y.altAxis,
|
|
6282
|
+
var ot, Ue = P === "x" ? je : Xe, Te = P === "x" ? qe : ft, Re = I[E], ze = E === "y" ? "height" : "width", Xt = Re + w[Ue], wa = Re - w[Te], Oe = [je, Xe].indexOf(S) !== -1, Qt = (ot = ae == null ? void 0 : ae[E]) != null ? ot : 0, lt = Oe ? Xt : Re - U[ze] - W[ze] - Qt + Y.altAxis, _t = Oe ? Re + U[ze] + W[ze] - Qt - Y.altAxis : wa, $a = v && Oe ? np(lt, Re, _t) : La(v ? lt : Xt, Re, v ? _t : wa);
|
|
6283
6283
|
I[E] = $a, N[E] = $a - Re;
|
|
6284
6284
|
}
|
|
6285
6285
|
e.modifiersData[s] = N;
|
|
@@ -6427,7 +6427,7 @@ function vp(t, e, a) {
|
|
|
6427
6427
|
}
|
|
6428
6428
|
return !1;
|
|
6429
6429
|
};
|
|
6430
|
-
return
|
|
6430
|
+
return Mt(() => {
|
|
6431
6431
|
v.value && (d.value = ap(r.value, c.value, {
|
|
6432
6432
|
strategy: y(r.value) ? (
|
|
6433
6433
|
/* istanbul ignore next: UI feature */
|
|
@@ -6459,7 +6459,7 @@ function vp(t, e, a) {
|
|
|
6459
6459
|
}
|
|
6460
6460
|
]
|
|
6461
6461
|
}));
|
|
6462
|
-
}),
|
|
6462
|
+
}), On(() => {
|
|
6463
6463
|
!v.value || !d.value || (d.value.destroy(), d.value = null);
|
|
6464
6464
|
}), {
|
|
6465
6465
|
popper: d,
|
|
@@ -6726,7 +6726,7 @@ function gp(t, e, a) {
|
|
|
6726
6726
|
n.value && (i.value = s.value, $());
|
|
6727
6727
|
}, { flush: "post" }), de(c, () => {
|
|
6728
6728
|
n.value && $();
|
|
6729
|
-
}, { immediate: !1, flush: "post" }),
|
|
6729
|
+
}, { immediate: !1, flush: "post" }), Mt(() => {
|
|
6730
6730
|
window && window.IntersectionObserver && (u.value = new IntersectionObserver(v));
|
|
6731
6731
|
}), {
|
|
6732
6732
|
hasMore: h,
|
|
@@ -6772,7 +6772,7 @@ function Cp(t, e, a) {
|
|
|
6772
6772
|
let K = [];
|
|
6773
6773
|
return K.push(N), K.join(" ");
|
|
6774
6774
|
}, ae = (N) => `${N} ❎`;
|
|
6775
|
-
return
|
|
6775
|
+
return Mt(() => {
|
|
6776
6776
|
if (n && n.value && document && document.querySelector) {
|
|
6777
6777
|
let N = document.querySelector(`[for="${n.value}"]`);
|
|
6778
6778
|
b.value = N ? N.innerText : null;
|
|
@@ -7899,7 +7899,7 @@ const Gp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Xp = { class:
|
|
|
7899
7899
|
const d = u.target, h = Array.from(d.files ?? []);
|
|
7900
7900
|
e("add", h);
|
|
7901
7901
|
}, o = ["dragenter", "dragover", "dragleave", "drop"];
|
|
7902
|
-
|
|
7902
|
+
Mt(() => {
|
|
7903
7903
|
o.forEach((u) => {
|
|
7904
7904
|
document.body.addEventListener(u, (d) => d.preventDefault());
|
|
7905
7905
|
});
|
|
@@ -8016,7 +8016,7 @@ const rv = { class: "ao-comment" }, uv = { class: "ao-comment__created-at" }, cv
|
|
|
8016
8016
|
const a = t, s = A(() => {
|
|
8017
8017
|
const b = a.user;
|
|
8018
8018
|
return b ? `${b == null ? void 0 : b.firstName} ${b == null ? void 0 : b.lastName}` : null;
|
|
8019
|
-
}), n = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } =
|
|
8019
|
+
}), n = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = In(n), c = A(() => {
|
|
8020
8020
|
const b = a.editedAt && ua(a.editedAt), w = ua(a.createdAt), S = /* @__PURE__ */ new Date(), y = b ?? w;
|
|
8021
8021
|
return y && o3(y, S);
|
|
8022
8022
|
}), u = A(() => o.value ? "textarea" : "p"), d = r(), h = l((b) => {
|
|
@@ -8948,7 +8948,7 @@ const wf = { class: "ao-template-rules__body" }, $f = { class: "ao-template-rule
|
|
|
8948
8948
|
onClose: () => s(i.id)
|
|
8949
8949
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8950
8950
|
]),
|
|
8951
|
-
M(
|
|
8951
|
+
M(gt, {
|
|
8952
8952
|
label: n.$t("template.rules.add"),
|
|
8953
8953
|
"icon-name": "Add",
|
|
8954
8954
|
onClick: a
|
|
@@ -9231,7 +9231,7 @@ const Sf = {
|
|
|
9231
9231
|
f("div", Af, [
|
|
9232
9232
|
f("ol", Mf, [
|
|
9233
9233
|
f("li", Tf, [
|
|
9234
|
-
M(J(
|
|
9234
|
+
M(J(mt), {
|
|
9235
9235
|
"model-value": n.value.phases,
|
|
9236
9236
|
class: "ao-templates__list",
|
|
9237
9237
|
"item-key": "id",
|
|
@@ -9266,7 +9266,7 @@ const Sf = {
|
|
|
9266
9266
|
}),
|
|
9267
9267
|
footer: F(() => [
|
|
9268
9268
|
f("div", Of, [
|
|
9269
|
-
M(
|
|
9269
|
+
M(gt, {
|
|
9270
9270
|
"icon-name": "AddBoxOutlineRounded",
|
|
9271
9271
|
label: m.$t("template.phases.add"),
|
|
9272
9272
|
onClick: h
|
|
@@ -9665,7 +9665,7 @@ const xf = { class: "ao-card-project-milestone__default" }, Yf = { class: "ao-ti
|
|
|
9665
9665
|
])) : T("", !0),
|
|
9666
9666
|
r.assignee ? (p(), g("div", o9, [
|
|
9667
9667
|
M(et, {
|
|
9668
|
-
"user-name": J(
|
|
9668
|
+
"user-name": J(xn)(r.assignee),
|
|
9669
9669
|
"avatar-url": r.assignee.avatarUrl,
|
|
9670
9670
|
color: r.isSelected ? "black" : "primary",
|
|
9671
9671
|
size: "sm"
|
|
@@ -9761,7 +9761,7 @@ const r9 = {
|
|
|
9761
9761
|
]),
|
|
9762
9762
|
f("div", c9, [
|
|
9763
9763
|
f("div", d9, [
|
|
9764
|
-
M(J(
|
|
9764
|
+
M(J(mt), He({
|
|
9765
9765
|
class: "ao-project-phase__milestones-list",
|
|
9766
9766
|
list: i.value,
|
|
9767
9767
|
disabled: v.readonly || !v.isEditable,
|
|
@@ -9797,7 +9797,7 @@ const r9 = {
|
|
|
9797
9797
|
_: 1
|
|
9798
9798
|
}, 16, ["list", "disabled"]),
|
|
9799
9799
|
f("div", p9, [
|
|
9800
|
-
v.isEditable ? (p(), D(
|
|
9800
|
+
v.isEditable ? (p(), D(gt, {
|
|
9801
9801
|
key: 0,
|
|
9802
9802
|
label: v.$t("project.milestone.add"),
|
|
9803
9803
|
class: "ao-project-phase__milestone-add",
|
|
@@ -9853,7 +9853,7 @@ const f9 = { class: "ao-project__phases" }, h9 = {
|
|
|
9853
9853
|
e("addPhase", d);
|
|
9854
9854
|
};
|
|
9855
9855
|
return (d, h) => (p(), g("div", f9, [
|
|
9856
|
-
M(J(
|
|
9856
|
+
M(J(mt), {
|
|
9857
9857
|
class: "ao-project-phase__phases-list",
|
|
9858
9858
|
"model-value": d.phases,
|
|
9859
9859
|
"item-key": "id",
|
|
@@ -9880,7 +9880,7 @@ const f9 = { class: "ao-project__phases" }, h9 = {
|
|
|
9880
9880
|
d.isEditable ? (p(), g("div", h9, [
|
|
9881
9881
|
m9,
|
|
9882
9882
|
f("div", g9, [
|
|
9883
|
-
M(
|
|
9883
|
+
M(gt, {
|
|
9884
9884
|
label: d.$t("project.phases.add"),
|
|
9885
9885
|
"icon-name": "Add",
|
|
9886
9886
|
class: "ao-project-phase__add-phase",
|
|
@@ -9954,7 +9954,7 @@ const S9 = ["onSubmit"], A9 = { class: "ao-save-template-modal__form-body" }, M9
|
|
|
9954
9954
|
emits: ["save"],
|
|
9955
9955
|
setup(t, { emit: e }) {
|
|
9956
9956
|
const a = t, s = ee(""), n = ee([]);
|
|
9957
|
-
|
|
9957
|
+
Mt(() => {
|
|
9958
9958
|
n.value = a.phases.map((i) => i.id);
|
|
9959
9959
|
});
|
|
9960
9960
|
const o = () => {
|
|
@@ -10070,34 +10070,36 @@ function R9(t, e, a, s, n, o) {
|
|
|
10070
10070
|
}, Z(t.rightLabel), 3)
|
|
10071
10071
|
]);
|
|
10072
10072
|
}
|
|
10073
|
-
const
|
|
10074
|
-
__name: "AoTabBar",
|
|
10073
|
+
const di = /* @__PURE__ */ j(V9, [["render", R9], ["__scopeId", "data-v-cbe33527"]]), N9 = z({
|
|
10075
10074
|
props: {
|
|
10076
|
-
modelValue: {
|
|
10077
|
-
|
|
10075
|
+
modelValue: {
|
|
10076
|
+
type: [String, Number],
|
|
10077
|
+
required: !0
|
|
10078
|
+
},
|
|
10079
|
+
tabs: {
|
|
10080
|
+
type: Array,
|
|
10081
|
+
required: !0
|
|
10082
|
+
}
|
|
10078
10083
|
},
|
|
10079
10084
|
emits: ["update:modelValue"],
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
}
|
|
10085
|
-
return mt(() => {
|
|
10086
|
-
console.log("Tabs:", a.tabs);
|
|
10087
|
-
}), (n, o) => (p(), g(fe, null, [
|
|
10088
|
-
j9,
|
|
10089
|
-
f("div", U9, [
|
|
10090
|
-
(p(!0), g(fe, null, _e(n.tabs, (i) => (p(), g("button", {
|
|
10091
|
-
key: i.value,
|
|
10092
|
-
class: G(["tab-button", { "tab-button--active": i.value === n.modelValue }]),
|
|
10093
|
-
type: "button",
|
|
10094
|
-
onClick: (l) => s(i.value)
|
|
10095
|
-
}, Z(i.label), 11, F9))), 128))
|
|
10096
|
-
])
|
|
10097
|
-
], 64));
|
|
10085
|
+
methods: {
|
|
10086
|
+
selectTab(t) {
|
|
10087
|
+
this.$emit("update:modelValue", t);
|
|
10088
|
+
}
|
|
10098
10089
|
}
|
|
10099
10090
|
});
|
|
10100
|
-
const
|
|
10091
|
+
const j9 = { class: "tabbar-wrapper" }, U9 = ["onClick"];
|
|
10092
|
+
function F9(t, e, a, s, n, o) {
|
|
10093
|
+
return p(), g("div", j9, [
|
|
10094
|
+
(p(!0), g(fe, null, _e(t.tabs, (i) => (p(), g("button", {
|
|
10095
|
+
key: i.value,
|
|
10096
|
+
class: G(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
10097
|
+
type: "button",
|
|
10098
|
+
onClick: (l) => t.selectTab(i.value)
|
|
10099
|
+
}, Z(i.label), 11, U9))), 128))
|
|
10100
|
+
]);
|
|
10101
|
+
}
|
|
10102
|
+
const Z9 = /* @__PURE__ */ j(N9, [["render", F9], ["__scopeId", "data-v-ff4e3297"]]), W9 = { class: "ao-project" }, q9 = { class: "ao-project__body" }, z9 = /* @__PURE__ */ z({
|
|
10101
10103
|
__name: "AoProjectOverviewProject",
|
|
10102
10104
|
props: {
|
|
10103
10105
|
project: {},
|
|
@@ -10177,15 +10179,15 @@ const W9 = /* @__PURE__ */ j(Z9, [["__scopeId", "data-v-a7bf21f0"]]), q9 = { cla
|
|
|
10177
10179
|
const H = Ke("RouterView");
|
|
10178
10180
|
return p(), g(fe, null, [
|
|
10179
10181
|
f("div", He({ class: "ao-project-overview" }, m.$attrs), [
|
|
10180
|
-
f("div",
|
|
10182
|
+
f("div", W9, [
|
|
10181
10183
|
M(Ga, null, {
|
|
10182
10184
|
primary: F(() => [
|
|
10183
|
-
M(
|
|
10185
|
+
M(Z9, {
|
|
10184
10186
|
tabs: O,
|
|
10185
10187
|
modelValue: se.value,
|
|
10186
10188
|
"onUpdate:modelValue": V[0] || (V[0] = (X) => se.value = X)
|
|
10187
10189
|
}, null, 8, ["modelValue"]),
|
|
10188
|
-
M(
|
|
10190
|
+
M(di, {
|
|
10189
10191
|
"is-left": !0,
|
|
10190
10192
|
"right-label": m.$t("project.switch.feed"),
|
|
10191
10193
|
"left-label": m.$t("project.switch.overview"),
|
|
@@ -10224,7 +10226,7 @@ const W9 = /* @__PURE__ */ j(Z9, [["__scopeId", "data-v-a7bf21f0"]]), q9 = { cla
|
|
|
10224
10226
|
]),
|
|
10225
10227
|
_: 1
|
|
10226
10228
|
}),
|
|
10227
|
-
f("div",
|
|
10229
|
+
f("div", q9, [
|
|
10228
10230
|
M(_9, {
|
|
10229
10231
|
phases: m.phases,
|
|
10230
10232
|
"closed-status": m.closedStatus,
|
|
@@ -10310,39 +10312,39 @@ const W9 = /* @__PURE__ */ j(Z9, [["__scopeId", "data-v-a7bf21f0"]]), q9 = { cla
|
|
|
10310
10312
|
};
|
|
10311
10313
|
}
|
|
10312
10314
|
});
|
|
10313
|
-
const
|
|
10315
|
+
const x9 = { class: "ao-card-feed__header" }, Y9 = {
|
|
10314
10316
|
key: 1,
|
|
10315
10317
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10316
|
-
},
|
|
10318
|
+
}, K9 = {
|
|
10317
10319
|
key: 2,
|
|
10318
10320
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10319
|
-
},
|
|
10321
|
+
}, G9 = { class: "ao-card-feed__body" }, X9 = {
|
|
10320
10322
|
key: 0,
|
|
10321
10323
|
class: "ao-card-feed__breadcrumbs"
|
|
10322
|
-
},
|
|
10324
|
+
}, Q9 = {
|
|
10323
10325
|
class: /* @__PURE__ */ G(["ao-card-feed__title-group"])
|
|
10324
|
-
},
|
|
10326
|
+
}, J9 = { class: "ao-card-feed__title-line" }, eh = {
|
|
10325
10327
|
key: 0,
|
|
10326
10328
|
class: "ao-card-feed__slug"
|
|
10327
|
-
},
|
|
10329
|
+
}, th = {
|
|
10328
10330
|
key: 1,
|
|
10329
10331
|
class: "ao-card-feed__deadline"
|
|
10330
|
-
},
|
|
10332
|
+
}, ah = { class: "ao-card-feed__footer" }, sh = { class: "ao-card-feed__footer-row" }, nh = { class: "ao-assignees" }, ih = {
|
|
10331
10333
|
key: 0,
|
|
10332
10334
|
class: "ao-assignee"
|
|
10333
|
-
},
|
|
10335
|
+
}, oh = {
|
|
10334
10336
|
key: 0,
|
|
10335
10337
|
class: "ao-card-feed__subitems"
|
|
10336
|
-
},
|
|
10338
|
+
}, lh = {
|
|
10337
10339
|
key: 0,
|
|
10338
10340
|
class: "ao-card-feed__subitem"
|
|
10339
|
-
},
|
|
10341
|
+
}, rh = { class: "ao-card-feed__subitem" }, uh = {
|
|
10340
10342
|
key: 1,
|
|
10341
10343
|
class: "ao-card-feed__subitem"
|
|
10342
|
-
},
|
|
10344
|
+
}, ch = { class: "ao-card-feed__subitem" }, dh = { class: "ao-card-feed__footer-row" }, ph = {
|
|
10343
10345
|
key: 0,
|
|
10344
10346
|
class: "ao-card-feed__progress-wrapper"
|
|
10345
|
-
},
|
|
10347
|
+
}, vh = { class: "ao-card-feed__subitem" }, fh = { class: "ao-card-feed__subitem" }, pi = /* @__PURE__ */ z({
|
|
10346
10348
|
__name: "AoCardFeed",
|
|
10347
10349
|
props: {
|
|
10348
10350
|
id: {},
|
|
@@ -10385,7 +10387,7 @@ const Y9 = { class: "ao-card-feed__header" }, K9 = {
|
|
|
10385
10387
|
"is-clickable": !0
|
|
10386
10388
|
}, {
|
|
10387
10389
|
header: F(() => [
|
|
10388
|
-
f("div",
|
|
10390
|
+
f("div", x9, [
|
|
10389
10391
|
s.value ? (p(), D(la, {
|
|
10390
10392
|
key: 0,
|
|
10391
10393
|
label: s.value,
|
|
@@ -10394,7 +10396,7 @@ const Y9 = { class: "ao-card-feed__header" }, K9 = {
|
|
|
10394
10396
|
color: v.projectColor ? void 0 : "primary",
|
|
10395
10397
|
"raw-color": n.value
|
|
10396
10398
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10397
|
-
v.isPrivate || v.important || v.isClosed ? (p(), g("div",
|
|
10399
|
+
v.isPrivate || v.important || v.isClosed ? (p(), g("div", Y9, [
|
|
10398
10400
|
v.isPrivate ? (p(), D(pe, {
|
|
10399
10401
|
key: 0,
|
|
10400
10402
|
name: "Lock",
|
|
@@ -10413,17 +10415,17 @@ const Y9 = { class: "ao-card-feed__header" }, K9 = {
|
|
|
10413
10415
|
class: "ao-card-feed__closed"
|
|
10414
10416
|
})) : T("", !0)
|
|
10415
10417
|
])) : T("", !0),
|
|
10416
|
-
v.$slots.secondary ? (p(), g("div",
|
|
10418
|
+
v.$slots.secondary ? (p(), g("div", K9, [
|
|
10417
10419
|
te(v.$slots, "secondary")
|
|
10418
10420
|
])) : T("", !0)
|
|
10419
10421
|
])
|
|
10420
10422
|
]),
|
|
10421
10423
|
default: F(() => [
|
|
10422
|
-
f("div",
|
|
10423
|
-
i.value ? (p(), g("span",
|
|
10424
|
-
f("div",
|
|
10425
|
-
f("div",
|
|
10426
|
-
v.slug ? (p(), g("span",
|
|
10424
|
+
f("div", G9, [
|
|
10425
|
+
i.value ? (p(), g("span", X9, Z(i.value), 1)) : T("", !0),
|
|
10426
|
+
f("div", Q9, [
|
|
10427
|
+
f("div", J9, [
|
|
10428
|
+
v.slug ? (p(), g("span", eh, Z(v.slug) + ": ", 1)) : T("", !0),
|
|
10427
10429
|
M(ye, {
|
|
10428
10430
|
id: v.id,
|
|
10429
10431
|
title: v.name,
|
|
@@ -10434,19 +10436,19 @@ const Y9 = { class: "ao-card-feed__header" }, K9 = {
|
|
|
10434
10436
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10435
10437
|
])
|
|
10436
10438
|
]),
|
|
10437
|
-
v.deadline ? (p(), g("span",
|
|
10439
|
+
v.deadline ? (p(), g("span", th, Z(r.value), 1)) : T("", !0)
|
|
10438
10440
|
])
|
|
10439
10441
|
]),
|
|
10440
10442
|
footer: F(() => [
|
|
10441
|
-
f("div",
|
|
10442
|
-
f("div",
|
|
10443
|
-
f("ul",
|
|
10443
|
+
f("div", ah, [
|
|
10444
|
+
f("div", sh, [
|
|
10445
|
+
f("ul", nh, [
|
|
10444
10446
|
(p(!0), g(fe, null, _e(l.value, (b) => (p(), g(fe, {
|
|
10445
10447
|
key: b.id
|
|
10446
10448
|
}, [
|
|
10447
|
-
b ? (p(), g("li",
|
|
10449
|
+
b ? (p(), g("li", ih, [
|
|
10448
10450
|
M(et, {
|
|
10449
|
-
"user-name": J(
|
|
10451
|
+
"user-name": J(xn)(b),
|
|
10450
10452
|
"avatar-url": b.avatarUrl,
|
|
10451
10453
|
"is-closable": !0,
|
|
10452
10454
|
onClose: () => c(b.id)
|
|
@@ -10454,31 +10456,31 @@ const Y9 = { class: "ao-card-feed__header" }, K9 = {
|
|
|
10454
10456
|
])) : T("", !0)
|
|
10455
10457
|
], 64))), 128))
|
|
10456
10458
|
]),
|
|
10457
|
-
v.comments || v.attachments ? (p(), g("ul",
|
|
10458
|
-
v.comments ? (p(), g("li",
|
|
10459
|
+
v.comments || v.attachments ? (p(), g("ul", oh, [
|
|
10460
|
+
v.comments ? (p(), g("li", lh, [
|
|
10459
10461
|
M(pe, {
|
|
10460
10462
|
name: "ChatOutline",
|
|
10461
10463
|
size: "sm"
|
|
10462
10464
|
}),
|
|
10463
|
-
f("span",
|
|
10465
|
+
f("span", rh, Z(v.comments), 1)
|
|
10464
10466
|
])) : T("", !0),
|
|
10465
|
-
v.attachments ? (p(), g("li",
|
|
10467
|
+
v.attachments ? (p(), g("li", uh, [
|
|
10466
10468
|
M(pe, {
|
|
10467
10469
|
name: "AttachFileRounded",
|
|
10468
10470
|
size: "sm"
|
|
10469
10471
|
}),
|
|
10470
|
-
f("span",
|
|
10472
|
+
f("span", ch, Z(v.attachments), 1)
|
|
10471
10473
|
])) : T("", !0)
|
|
10472
10474
|
])) : T("", !0)
|
|
10473
10475
|
]),
|
|
10474
|
-
f("div",
|
|
10475
|
-
v.tasks && v.tasks.length ? (p(), g("div",
|
|
10476
|
-
f("div",
|
|
10476
|
+
f("div", dh, [
|
|
10477
|
+
v.tasks && v.tasks.length ? (p(), g("div", ph, [
|
|
10478
|
+
f("div", vh, [
|
|
10477
10479
|
M(pe, {
|
|
10478
10480
|
name: "SelectCheckBox",
|
|
10479
10481
|
size: "sm"
|
|
10480
10482
|
}),
|
|
10481
|
-
f("span",
|
|
10483
|
+
f("span", fh, Z(d.value) + " / " + Z(u.value), 1)
|
|
10482
10484
|
]),
|
|
10483
10485
|
M(qs, {
|
|
10484
10486
|
percentages: h.value,
|
|
@@ -10497,10 +10499,10 @@ const Y9 = { class: "ao-card-feed__header" }, K9 = {
|
|
|
10497
10499
|
* (c) 2023
|
|
10498
10500
|
* @license MIT
|
|
10499
10501
|
*/
|
|
10500
|
-
function
|
|
10502
|
+
function wt(t) {
|
|
10501
10503
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10502
|
-
/#/.test(t) ? e =
|
|
10503
|
-
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } =
|
|
10504
|
+
/#/.test(t) ? e = mh(t) : /rgb/.test(t) ? e = Mn(t) : typeof t == "string" ? e = Mn(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10505
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } = gh(e);
|
|
10504
10506
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: l, v: r };
|
|
10505
10507
|
}
|
|
10506
10508
|
function zs(t) {
|
|
@@ -10511,11 +10513,11 @@ function ks(t, e, a, s, n, o) {
|
|
|
10511
10513
|
const i = t === "l", l = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
10512
10514
|
l.addColorStop(0.01, n), l.addColorStop(0.99, o), e.fillStyle = l, e.fillRect(0, 0, a, s);
|
|
10513
10515
|
}
|
|
10514
|
-
function
|
|
10516
|
+
function hh({ r: t, g: e, b: a }, s) {
|
|
10515
10517
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
10516
10518
|
return s ? o.toUpperCase() : o;
|
|
10517
10519
|
}
|
|
10518
|
-
function
|
|
10520
|
+
function mh(t) {
|
|
10519
10521
|
t = t.slice(1);
|
|
10520
10522
|
const e = (a) => parseInt(a, 16) || 0;
|
|
10521
10523
|
return {
|
|
@@ -10532,7 +10534,7 @@ function Mn(t) {
|
|
|
10532
10534
|
a: Number(t[3] ? t[3] : 1)
|
|
10533
10535
|
}) : t;
|
|
10534
10536
|
}
|
|
10535
|
-
function
|
|
10537
|
+
function gh({ r: t, g: e, b: a }) {
|
|
10536
10538
|
t = t / 255, e = e / 255, a = a / 255;
|
|
10537
10539
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
10538
10540
|
let i = 0;
|
|
@@ -10599,8 +10601,8 @@ var xs = z({
|
|
|
10599
10601
|
}
|
|
10600
10602
|
}
|
|
10601
10603
|
});
|
|
10602
|
-
const
|
|
10603
|
-
function
|
|
10604
|
+
const Ch = { ref: "canvasSaturation" };
|
|
10605
|
+
function _h(t, e, a, s, n, o) {
|
|
10604
10606
|
return p(), D(
|
|
10605
10607
|
"div",
|
|
10606
10608
|
{
|
|
@@ -10610,7 +10612,7 @@ function yh(t, e, a, s, n, o) {
|
|
|
10610
10612
|
[
|
|
10611
10613
|
M(
|
|
10612
10614
|
"canvas",
|
|
10613
|
-
|
|
10615
|
+
Ch,
|
|
10614
10616
|
null,
|
|
10615
10617
|
512
|
|
10616
10618
|
/* NEED_PATCH */
|
|
@@ -10630,7 +10632,7 @@ function yh(t, e, a, s, n, o) {
|
|
|
10630
10632
|
/* HYDRATE_EVENTS */
|
|
10631
10633
|
);
|
|
10632
10634
|
}
|
|
10633
|
-
xs.render =
|
|
10635
|
+
xs.render = _h;
|
|
10634
10636
|
xs.__file = "src/color/Saturation.vue";
|
|
10635
10637
|
var Ys = z({
|
|
10636
10638
|
props: {
|
|
@@ -10685,8 +10687,8 @@ var Ys = z({
|
|
|
10685
10687
|
}
|
|
10686
10688
|
}
|
|
10687
10689
|
});
|
|
10688
|
-
const
|
|
10689
|
-
function
|
|
10690
|
+
const yh = { ref: "canvasHue" };
|
|
10691
|
+
function bh(t, e, a, s, n, o) {
|
|
10690
10692
|
return p(), D(
|
|
10691
10693
|
"div",
|
|
10692
10694
|
{
|
|
@@ -10696,7 +10698,7 @@ function wh(t, e, a, s, n, o) {
|
|
|
10696
10698
|
[
|
|
10697
10699
|
M(
|
|
10698
10700
|
"canvas",
|
|
10699
|
-
|
|
10701
|
+
yh,
|
|
10700
10702
|
null,
|
|
10701
10703
|
512
|
|
10702
10704
|
/* NEED_PATCH */
|
|
@@ -10716,7 +10718,7 @@ function wh(t, e, a, s, n, o) {
|
|
|
10716
10718
|
/* HYDRATE_EVENTS */
|
|
10717
10719
|
);
|
|
10718
10720
|
}
|
|
10719
|
-
Ys.render =
|
|
10721
|
+
Ys.render = bh;
|
|
10720
10722
|
Ys.__file = "src/color/Hue.vue";
|
|
10721
10723
|
var Ks = z({
|
|
10722
10724
|
props: {
|
|
@@ -10780,8 +10782,8 @@ var Ks = z({
|
|
|
10780
10782
|
}
|
|
10781
10783
|
}
|
|
10782
10784
|
});
|
|
10783
|
-
const
|
|
10784
|
-
function
|
|
10785
|
+
const wh = { ref: "canvasAlpha" };
|
|
10786
|
+
function $h(t, e, a, s, n, o) {
|
|
10785
10787
|
return p(), D(
|
|
10786
10788
|
"div",
|
|
10787
10789
|
{
|
|
@@ -10791,7 +10793,7 @@ function kh(t, e, a, s, n, o) {
|
|
|
10791
10793
|
[
|
|
10792
10794
|
M(
|
|
10793
10795
|
"canvas",
|
|
10794
|
-
|
|
10796
|
+
wh,
|
|
10795
10797
|
null,
|
|
10796
10798
|
512
|
|
10797
10799
|
/* NEED_PATCH */
|
|
@@ -10811,7 +10813,7 @@ function kh(t, e, a, s, n, o) {
|
|
|
10811
10813
|
/* HYDRATE_EVENTS */
|
|
10812
10814
|
);
|
|
10813
10815
|
}
|
|
10814
|
-
Ks.render =
|
|
10816
|
+
Ks.render = $h;
|
|
10815
10817
|
Ks.__file = "src/color/Alpha.vue";
|
|
10816
10818
|
var Gs = z({
|
|
10817
10819
|
props: {
|
|
@@ -10848,10 +10850,10 @@ var Gs = z({
|
|
|
10848
10850
|
}
|
|
10849
10851
|
}
|
|
10850
10852
|
});
|
|
10851
|
-
function
|
|
10853
|
+
function kh(t, e, a, s, n, o) {
|
|
10852
10854
|
return p(), D("canvas");
|
|
10853
10855
|
}
|
|
10854
|
-
Gs.render =
|
|
10856
|
+
Gs.render = kh;
|
|
10855
10857
|
Gs.__file = "src/color/Preview.vue";
|
|
10856
10858
|
var Xs = z({
|
|
10857
10859
|
props: {
|
|
@@ -10914,19 +10916,19 @@ var Xs = z({
|
|
|
10914
10916
|
}
|
|
10915
10917
|
}
|
|
10916
10918
|
});
|
|
10917
|
-
const
|
|
10919
|
+
const Sh = /* @__PURE__ */ M(
|
|
10918
10920
|
"path",
|
|
10919
10921
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10920
10922
|
null,
|
|
10921
10923
|
-1
|
|
10922
10924
|
/* HOISTED */
|
|
10923
|
-
),
|
|
10925
|
+
), Ah = {
|
|
10924
10926
|
key: 1,
|
|
10925
10927
|
class: "sucker",
|
|
10926
10928
|
viewBox: "-16 -16 68 68",
|
|
10927
10929
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10928
10930
|
stroke: "#9099a4"
|
|
10929
|
-
},
|
|
10931
|
+
}, Mh = /* @__PURE__ */ M(
|
|
10930
10932
|
"g",
|
|
10931
10933
|
{
|
|
10932
10934
|
fill: "none",
|
|
@@ -10958,7 +10960,7 @@ const Ah = /* @__PURE__ */ M(
|
|
|
10958
10960
|
-1
|
|
10959
10961
|
/* HOISTED */
|
|
10960
10962
|
);
|
|
10961
|
-
function
|
|
10963
|
+
function Th(t, e, a, s, n, o) {
|
|
10962
10964
|
return p(), D("div", null, [
|
|
10963
10965
|
t.isSucking ? T("v-if", !0) : (p(), D(
|
|
10964
10966
|
"svg",
|
|
@@ -10970,17 +10972,17 @@ function Oh(t, e, a, s, n, o) {
|
|
|
10970
10972
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10971
10973
|
},
|
|
10972
10974
|
[
|
|
10973
|
-
|
|
10975
|
+
Sh
|
|
10974
10976
|
],
|
|
10975
10977
|
2
|
|
10976
10978
|
/* CLASS */
|
|
10977
10979
|
)),
|
|
10978
|
-
t.isSucking ? (p(), D("svg",
|
|
10979
|
-
|
|
10980
|
+
t.isSucking ? (p(), D("svg", Ah, [
|
|
10981
|
+
Mh
|
|
10980
10982
|
])) : T("v-if", !0)
|
|
10981
10983
|
]);
|
|
10982
10984
|
}
|
|
10983
|
-
Xs.render =
|
|
10985
|
+
Xs.render = Th;
|
|
10984
10986
|
Xs.__file = "src/color/Sucker.vue";
|
|
10985
10987
|
var Qs = z({
|
|
10986
10988
|
props: {
|
|
@@ -11013,12 +11015,12 @@ var Qs = z({
|
|
|
11013
11015
|
};
|
|
11014
11016
|
}
|
|
11015
11017
|
});
|
|
11016
|
-
const
|
|
11017
|
-
function
|
|
11018
|
-
return p(), D("div",
|
|
11018
|
+
const Oh = { class: "color-type" }, Eh = { class: "name" };
|
|
11019
|
+
function Ih(t, e, a, s, n, o) {
|
|
11020
|
+
return p(), D("div", Oh, [
|
|
11019
11021
|
M(
|
|
11020
11022
|
"span",
|
|
11021
|
-
|
|
11023
|
+
Eh,
|
|
11022
11024
|
Z(t.name),
|
|
11023
11025
|
1
|
|
11024
11026
|
/* TEXT */
|
|
@@ -11039,7 +11041,7 @@ function Lh(t, e, a, s, n, o) {
|
|
|
11039
11041
|
])
|
|
11040
11042
|
]);
|
|
11041
11043
|
}
|
|
11042
|
-
Qs.render =
|
|
11044
|
+
Qs.render = Ih;
|
|
11043
11045
|
Qs.__file = "src/color/Box.vue";
|
|
11044
11046
|
var Js = z({
|
|
11045
11047
|
name: "ColorPicker",
|
|
@@ -11081,13 +11083,13 @@ var Js = z({
|
|
|
11081
11083
|
};
|
|
11082
11084
|
}
|
|
11083
11085
|
});
|
|
11084
|
-
const
|
|
11086
|
+
const Lh = { class: "colors" }, Ph = {
|
|
11085
11087
|
key: 0,
|
|
11086
11088
|
class: "colors history"
|
|
11087
11089
|
};
|
|
11088
|
-
function
|
|
11090
|
+
function Hh(t, e, a, s, n, o) {
|
|
11089
11091
|
return p(), D("div", null, [
|
|
11090
|
-
M("ul",
|
|
11092
|
+
M("ul", Lh, [
|
|
11091
11093
|
(p(!0), D(
|
|
11092
11094
|
fe,
|
|
11093
11095
|
null,
|
|
@@ -11121,7 +11123,7 @@ function Dh(t, e, a, s, n, o) {
|
|
|
11121
11123
|
/* KEYED_FRAGMENT */
|
|
11122
11124
|
))
|
|
11123
11125
|
]),
|
|
11124
|
-
t.colorsHistory.length ? (p(), D("ul",
|
|
11126
|
+
t.colorsHistory.length ? (p(), D("ul", Ph, [
|
|
11125
11127
|
(p(!0), D(
|
|
11126
11128
|
fe,
|
|
11127
11129
|
null,
|
|
@@ -11157,7 +11159,7 @@ function Dh(t, e, a, s, n, o) {
|
|
|
11157
11159
|
])) : T("v-if", !0)
|
|
11158
11160
|
]);
|
|
11159
11161
|
}
|
|
11160
|
-
Js.render =
|
|
11162
|
+
Js.render = Hh;
|
|
11161
11163
|
Js.__file = "src/color/Colors.vue";
|
|
11162
11164
|
var Nt = z({
|
|
11163
11165
|
components: {
|
|
@@ -11268,11 +11270,11 @@ var Nt = z({
|
|
|
11268
11270
|
return `rgba(${this.rgbaStringShort})`;
|
|
11269
11271
|
},
|
|
11270
11272
|
hexString() {
|
|
11271
|
-
return
|
|
11273
|
+
return hh(this.rgba, !0);
|
|
11272
11274
|
}
|
|
11273
11275
|
},
|
|
11274
11276
|
created() {
|
|
11275
|
-
Object.assign(this,
|
|
11277
|
+
Object.assign(this, wt(this.color)), this.setText(), this.$watch("rgba", () => {
|
|
11276
11278
|
this.$emit("changeColor", {
|
|
11277
11279
|
rgba: this.rgba,
|
|
11278
11280
|
hsv: this.hsv,
|
|
@@ -11282,7 +11284,7 @@ var Nt = z({
|
|
|
11282
11284
|
},
|
|
11283
11285
|
methods: {
|
|
11284
11286
|
selectSaturation(t) {
|
|
11285
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
11287
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = wt(t);
|
|
11286
11288
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText();
|
|
11287
11289
|
},
|
|
11288
11290
|
handleFocus(t) {
|
|
@@ -11292,7 +11294,7 @@ var Nt = z({
|
|
|
11292
11294
|
this.$emit("inputBlur", t);
|
|
11293
11295
|
},
|
|
11294
11296
|
selectHue(t) {
|
|
11295
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
11297
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = wt(t);
|
|
11296
11298
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText(), this.$nextTick(() => {
|
|
11297
11299
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide();
|
|
11298
11300
|
});
|
|
@@ -11301,13 +11303,13 @@ var Nt = z({
|
|
|
11301
11303
|
this.a = t, this.setText();
|
|
11302
11304
|
},
|
|
11303
11305
|
inputHex(t) {
|
|
11304
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
11306
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = wt(t);
|
|
11305
11307
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = t, this.modelRgba = this.rgbaStringShort, this.$nextTick(() => {
|
|
11306
11308
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
11307
11309
|
});
|
|
11308
11310
|
},
|
|
11309
11311
|
inputRgba(t) {
|
|
11310
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
11312
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = wt(t);
|
|
11311
11313
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = this.hexString, this.modelRgba = t, this.$nextTick(() => {
|
|
11312
11314
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
11313
11315
|
});
|
|
@@ -11319,21 +11321,21 @@ var Nt = z({
|
|
|
11319
11321
|
this.$emit("openSucker", t);
|
|
11320
11322
|
},
|
|
11321
11323
|
selectSucker(t) {
|
|
11322
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
11324
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = wt(t);
|
|
11323
11325
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
11324
11326
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
11325
11327
|
});
|
|
11326
11328
|
},
|
|
11327
11329
|
selectColor(t) {
|
|
11328
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
11330
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = wt(t);
|
|
11329
11331
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
11330
11332
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
11331
11333
|
});
|
|
11332
11334
|
}
|
|
11333
11335
|
}
|
|
11334
11336
|
});
|
|
11335
|
-
const
|
|
11336
|
-
function
|
|
11337
|
+
const Dh = { class: "color-set" };
|
|
11338
|
+
function Vh(t, e, a, s, n, o) {
|
|
11337
11339
|
const i = Ke("Saturation"), l = Ke("Hue"), r = Ke("Alpha"), c = Ke("Preview"), u = Ke("Sucker"), d = Ke("Box"), h = Ke("Colors");
|
|
11338
11340
|
return p(), D(
|
|
11339
11341
|
"div",
|
|
@@ -11342,7 +11344,7 @@ function Bh(t, e, a, s, n, o) {
|
|
|
11342
11344
|
style: { width: t.totalWidth + "px" }
|
|
11343
11345
|
},
|
|
11344
11346
|
[
|
|
11345
|
-
M("div",
|
|
11347
|
+
M("div", Dh, [
|
|
11346
11348
|
M(i, {
|
|
11347
11349
|
ref: "saturation",
|
|
11348
11350
|
color: t.rgbString,
|
|
@@ -11416,12 +11418,12 @@ function Bh(t, e, a, s, n, o) {
|
|
|
11416
11418
|
/* CLASS, STYLE */
|
|
11417
11419
|
);
|
|
11418
11420
|
}
|
|
11419
|
-
Nt.render =
|
|
11421
|
+
Nt.render = Vh;
|
|
11420
11422
|
Nt.__file = "src/color/ColorPicker.vue";
|
|
11421
11423
|
Nt.install = (t) => {
|
|
11422
11424
|
t.component(Nt.name, Nt);
|
|
11423
11425
|
};
|
|
11424
|
-
const
|
|
11426
|
+
const Bh = {
|
|
11425
11427
|
props: {
|
|
11426
11428
|
color: {
|
|
11427
11429
|
type: String,
|
|
@@ -11445,10 +11447,10 @@ const Rh = {
|
|
|
11445
11447
|
this.$emit("update:color", o);
|
|
11446
11448
|
}
|
|
11447
11449
|
}
|
|
11448
|
-
},
|
|
11449
|
-
function
|
|
11450
|
+
}, Rh = { class: "color-picker-wrapper" };
|
|
11451
|
+
function Nh(t, e, a, s, n, o) {
|
|
11450
11452
|
const i = Ke("ColorPicker");
|
|
11451
|
-
return p(), g("div",
|
|
11453
|
+
return p(), g("div", Rh, [
|
|
11452
11454
|
f("button", {
|
|
11453
11455
|
style: Za({ backgroundColor: a.color }),
|
|
11454
11456
|
class: "color-button",
|
|
@@ -11463,10 +11465,10 @@ function jh(t, e, a, s, n, o) {
|
|
|
11463
11465
|
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11464
11466
|
]);
|
|
11465
11467
|
}
|
|
11466
|
-
const
|
|
11468
|
+
const jh = /* @__PURE__ */ j(Bh, [["render", Nh]]), Uh = { class: "ao-project-milestone" }, Fh = { class: "ao-project-milestone__header" }, Zh = { class: "ao-project-milestone__header_line" }, Wh = { class: "ao-project-milestone__header_line" }, qh = { class: "ao-project-milestone__title" }, zh = {
|
|
11467
11469
|
key: 0,
|
|
11468
11470
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11469
|
-
},
|
|
11471
|
+
}, xh = { class: "ao-field__row ao-milestone__field-row" }, Yh = { class: "ao-field ao-field--inline" }, Kh = { class: "ao-field__row ao-milestone__field-row" }, Gh = { class: "ao-field ao-milestone__field-multiselect" }, Xh = { class: "ao-project-milestone__body" }, Qh = {
|
|
11470
11472
|
key: 0,
|
|
11471
11473
|
class: "ao-project-milestone__footer"
|
|
11472
11474
|
}, Tn = /* @__PURE__ */ z({
|
|
@@ -11573,9 +11575,9 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11573
11575
|
});
|
|
11574
11576
|
return (y, C) => {
|
|
11575
11577
|
var P;
|
|
11576
|
-
return p(), g("div",
|
|
11577
|
-
f("header",
|
|
11578
|
-
f("div",
|
|
11578
|
+
return p(), g("div", Uh, [
|
|
11579
|
+
f("header", Fh, [
|
|
11580
|
+
f("div", Zh, [
|
|
11579
11581
|
M(ue, {
|
|
11580
11582
|
"icon-name": "CloseRounded",
|
|
11581
11583
|
variant: "ghost",
|
|
@@ -11584,8 +11586,8 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11584
11586
|
onClick: r
|
|
11585
11587
|
})
|
|
11586
11588
|
]),
|
|
11587
|
-
f("div",
|
|
11588
|
-
f("div",
|
|
11589
|
+
f("div", Wh, [
|
|
11590
|
+
f("div", qh, [
|
|
11589
11591
|
M(ye, {
|
|
11590
11592
|
title: ((P = i.value) == null ? void 0 : P.name) || y.milestoneId,
|
|
11591
11593
|
level: 5
|
|
@@ -11604,9 +11606,9 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11604
11606
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11605
11607
|
])
|
|
11606
11608
|
]),
|
|
11607
|
-
i.value ? (p(), g("div",
|
|
11608
|
-
f("div",
|
|
11609
|
-
f("label",
|
|
11609
|
+
i.value ? (p(), g("div", zh, [
|
|
11610
|
+
f("div", xh, [
|
|
11611
|
+
f("label", Yh, [
|
|
11610
11612
|
Ne(f("input", {
|
|
11611
11613
|
"onUpdate:modelValue": C[1] || (C[1] = (E) => v.value = E),
|
|
11612
11614
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11621,8 +11623,8 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11621
11623
|
])
|
|
11622
11624
|
])
|
|
11623
11625
|
]),
|
|
11624
|
-
f("div",
|
|
11625
|
-
f("label",
|
|
11626
|
+
f("div", Kh, [
|
|
11627
|
+
f("label", Gh, [
|
|
11626
11628
|
M(ke, {
|
|
11627
11629
|
modelValue: w.value,
|
|
11628
11630
|
"onUpdate:modelValue": C[2] || (C[2] = (E) => w.value = E),
|
|
@@ -11651,14 +11653,14 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11651
11653
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11652
11654
|
])
|
|
11653
11655
|
]),
|
|
11654
|
-
M(
|
|
11656
|
+
M(jh, {
|
|
11655
11657
|
color: h.value,
|
|
11656
11658
|
"onUpdate:color": C[3] || (C[3] = (E) => h.value = E)
|
|
11657
11659
|
}, null, 8, ["color"])
|
|
11658
11660
|
])) : T("", !0)
|
|
11659
11661
|
]),
|
|
11660
|
-
f("div",
|
|
11661
|
-
M(J(
|
|
11662
|
+
f("div", Xh, [
|
|
11663
|
+
M(J(mt), He({
|
|
11662
11664
|
class: "ao-project-milestone__activities",
|
|
11663
11665
|
list: l.value,
|
|
11664
11666
|
disabled: !y.isEditable,
|
|
@@ -11668,7 +11670,7 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11668
11670
|
item: F(({ element: E }) => {
|
|
11669
11671
|
var I, U, W, x, Y;
|
|
11670
11672
|
return [
|
|
11671
|
-
M(
|
|
11673
|
+
M(pi, {
|
|
11672
11674
|
id: E.id,
|
|
11673
11675
|
name: E.name || E.id,
|
|
11674
11676
|
"phase-name": (I = n.value) == null ? void 0 : I.name,
|
|
@@ -11728,8 +11730,8 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11728
11730
|
}),
|
|
11729
11731
|
_: 1
|
|
11730
11732
|
}, 16, ["list", "disabled"]),
|
|
11731
|
-
y.isEditable ? (p(), g("div",
|
|
11732
|
-
M(
|
|
11733
|
+
y.isEditable ? (p(), g("div", Qh, [
|
|
11734
|
+
M(gt, {
|
|
11733
11735
|
"icon-name": "Add",
|
|
11734
11736
|
label: y.$t("project.activity.add"),
|
|
11735
11737
|
onClick: c
|
|
@@ -11740,7 +11742,7 @@ const Uh = /* @__PURE__ */ j(Rh, [["render", jh]]), Fh = { class: "ao-project-mi
|
|
|
11740
11742
|
};
|
|
11741
11743
|
}
|
|
11742
11744
|
});
|
|
11743
|
-
const
|
|
11745
|
+
const Jh = /* @__PURE__ */ z({
|
|
11744
11746
|
__name: "AoProjectOverviewActivityDetails",
|
|
11745
11747
|
props: {
|
|
11746
11748
|
phaseId: {},
|
|
@@ -11827,14 +11829,14 @@ const e4 = /* @__PURE__ */ z({
|
|
|
11827
11829
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11828
11830
|
};
|
|
11829
11831
|
}
|
|
11830
|
-
}),
|
|
11832
|
+
}), e4 = { class: "ao-col-header" }, t4 = /* @__PURE__ */ z({
|
|
11831
11833
|
__name: "AoColHeader",
|
|
11832
11834
|
props: {
|
|
11833
11835
|
title: {},
|
|
11834
11836
|
items: {}
|
|
11835
11837
|
},
|
|
11836
11838
|
setup(t) {
|
|
11837
|
-
return (e, a) => (p(), g("header",
|
|
11839
|
+
return (e, a) => (p(), g("header", e4, [
|
|
11838
11840
|
M(ye, {
|
|
11839
11841
|
title: e.title,
|
|
11840
11842
|
class: "ao-col-header__title",
|
|
@@ -11850,17 +11852,17 @@ const e4 = /* @__PURE__ */ z({
|
|
|
11850
11852
|
]));
|
|
11851
11853
|
}
|
|
11852
11854
|
});
|
|
11853
|
-
function
|
|
11855
|
+
function a4(t) {
|
|
11854
11856
|
return Bi() ? (Ri(t), !0) : !1;
|
|
11855
11857
|
}
|
|
11856
11858
|
function Ua(t) {
|
|
11857
11859
|
return typeof t == "function" ? t() : J(t);
|
|
11858
11860
|
}
|
|
11859
|
-
const
|
|
11861
|
+
const s4 = typeof window < "u" && typeof document < "u";
|
|
11860
11862
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11861
|
-
const
|
|
11863
|
+
const n4 = (t) => t != null, oa = () => {
|
|
11862
11864
|
};
|
|
11863
|
-
function
|
|
11865
|
+
function i4(t, e) {
|
|
11864
11866
|
function a(...s) {
|
|
11865
11867
|
return new Promise((n, o) => {
|
|
11866
11868
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -11868,7 +11870,7 @@ function o4(t, e) {
|
|
|
11868
11870
|
}
|
|
11869
11871
|
return a;
|
|
11870
11872
|
}
|
|
11871
|
-
function
|
|
11873
|
+
function o4(t, e = {}) {
|
|
11872
11874
|
let a, s, n = oa;
|
|
11873
11875
|
const o = (l) => {
|
|
11874
11876
|
clearTimeout(l), n(), n = oa;
|
|
@@ -11884,9 +11886,9 @@ function l4(t, e = {}) {
|
|
|
11884
11886
|
});
|
|
11885
11887
|
};
|
|
11886
11888
|
}
|
|
11887
|
-
function
|
|
11888
|
-
return
|
|
11889
|
-
|
|
11889
|
+
function l4(t, e = 200, a = {}) {
|
|
11890
|
+
return i4(
|
|
11891
|
+
o4(e, a),
|
|
11890
11892
|
t
|
|
11891
11893
|
);
|
|
11892
11894
|
}
|
|
@@ -11895,27 +11897,27 @@ function gs(t) {
|
|
|
11895
11897
|
const a = Ua(t);
|
|
11896
11898
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11897
11899
|
}
|
|
11898
|
-
const
|
|
11899
|
-
function
|
|
11900
|
+
const r4 = s4 ? window : void 0;
|
|
11901
|
+
function u4() {
|
|
11900
11902
|
const t = ee(!1), e = Tt();
|
|
11901
|
-
return e &&
|
|
11903
|
+
return e && Mt(() => {
|
|
11902
11904
|
t.value = !0;
|
|
11903
11905
|
}, e), t;
|
|
11904
11906
|
}
|
|
11905
|
-
function
|
|
11906
|
-
const e =
|
|
11907
|
+
function c4(t) {
|
|
11908
|
+
const e = u4();
|
|
11907
11909
|
return A(() => (e.value, !!t()));
|
|
11908
11910
|
}
|
|
11909
|
-
function
|
|
11911
|
+
function d4(t, e, a = {}) {
|
|
11910
11912
|
const {
|
|
11911
11913
|
root: s,
|
|
11912
11914
|
rootMargin: n = "0px",
|
|
11913
11915
|
threshold: o = 0.1,
|
|
11914
|
-
window: i =
|
|
11916
|
+
window: i = r4,
|
|
11915
11917
|
immediate: l = !0
|
|
11916
|
-
} = a, r =
|
|
11918
|
+
} = a, r = c4(() => i && "IntersectionObserver" in i), c = A(() => {
|
|
11917
11919
|
const $ = Ua(t);
|
|
11918
|
-
return (Array.isArray($) ? $ : [$]).map(gs).filter(
|
|
11920
|
+
return (Array.isArray($) ? $ : [$]).map(gs).filter(n4);
|
|
11919
11921
|
});
|
|
11920
11922
|
let u = oa;
|
|
11921
11923
|
const d = ee(l), h = r.value ? de(
|
|
@@ -11939,7 +11941,7 @@ function p4(t, e, a = {}) {
|
|
|
11939
11941
|
) : oa, v = () => {
|
|
11940
11942
|
u(), h(), d.value = !1;
|
|
11941
11943
|
};
|
|
11942
|
-
return
|
|
11944
|
+
return a4(v), {
|
|
11943
11945
|
isSupported: r,
|
|
11944
11946
|
isActive: d,
|
|
11945
11947
|
pause() {
|
|
@@ -11951,24 +11953,24 @@ function p4(t, e, a = {}) {
|
|
|
11951
11953
|
stop: v
|
|
11952
11954
|
};
|
|
11953
11955
|
}
|
|
11954
|
-
const
|
|
11956
|
+
const p4 = {
|
|
11955
11957
|
class: /* @__PURE__ */ G(["ao-list-kanban"])
|
|
11956
|
-
},
|
|
11958
|
+
}, v4 = { class: "ao-list-kanban__header" }, f4 = {
|
|
11957
11959
|
key: 0,
|
|
11958
11960
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11959
|
-
},
|
|
11961
|
+
}, h4 = {
|
|
11960
11962
|
key: 1,
|
|
11961
11963
|
class: "ao-list-kanban__end"
|
|
11962
|
-
},
|
|
11964
|
+
}, m4 = {
|
|
11963
11965
|
key: 0,
|
|
11964
11966
|
class: "ao-list-kanban__no-more"
|
|
11965
|
-
},
|
|
11967
|
+
}, g4 = {
|
|
11966
11968
|
key: 1,
|
|
11967
11969
|
class: "ao-list-kanban__divider"
|
|
11968
|
-
},
|
|
11970
|
+
}, C4 = {
|
|
11969
11971
|
key: 1,
|
|
11970
11972
|
class: "ao-list-kanban__footer"
|
|
11971
|
-
},
|
|
11973
|
+
}, _4 = /* @__PURE__ */ z({
|
|
11972
11974
|
__name: "AoListKanban",
|
|
11973
11975
|
props: {
|
|
11974
11976
|
list: {},
|
|
@@ -11986,7 +11988,7 @@ const v4 = {
|
|
|
11986
11988
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11987
11989
|
setup(t, { emit: e }) {
|
|
11988
11990
|
const a = t, s = ee(!1), n = ee(null);
|
|
11989
|
-
|
|
11991
|
+
d4(n, ([{ isIntersecting: u }]) => {
|
|
11990
11992
|
s.value = u;
|
|
11991
11993
|
}), de(s, (u) => {
|
|
11992
11994
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12011,12 +12013,12 @@ const v4 = {
|
|
|
12011
12013
|
)
|
|
12012
12014
|
});
|
|
12013
12015
|
}, c = ee(!1);
|
|
12014
|
-
return (u, d) => (p(), g("div",
|
|
12016
|
+
return (u, d) => (p(), g("div", p4, [
|
|
12015
12017
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12016
12018
|
var h;
|
|
12017
12019
|
return [
|
|
12018
|
-
f("div",
|
|
12019
|
-
u.title ? (p(), D(
|
|
12020
|
+
f("div", v4, [
|
|
12021
|
+
u.title ? (p(), D(t4, {
|
|
12020
12022
|
key: 0,
|
|
12021
12023
|
title: u.title,
|
|
12022
12024
|
level: 3,
|
|
@@ -12025,7 +12027,7 @@ const v4 = {
|
|
|
12025
12027
|
])
|
|
12026
12028
|
];
|
|
12027
12029
|
}) : T("", !0),
|
|
12028
|
-
M(J(
|
|
12030
|
+
M(J(mt), He({
|
|
12029
12031
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
12030
12032
|
list: u.list,
|
|
12031
12033
|
"item-key": "id",
|
|
@@ -12046,7 +12048,7 @@ const v4 = {
|
|
|
12046
12048
|
item: F(({ element: h }) => {
|
|
12047
12049
|
var v, $, b, w, S, y, C, P, E;
|
|
12048
12050
|
return [
|
|
12049
|
-
M(
|
|
12051
|
+
M(pi, {
|
|
12050
12052
|
class: G(o(h) ? "ao-list-draggable" : ""),
|
|
12051
12053
|
id: h.id,
|
|
12052
12054
|
name: h.name,
|
|
@@ -12102,22 +12104,22 @@ const v4 = {
|
|
|
12102
12104
|
];
|
|
12103
12105
|
}),
|
|
12104
12106
|
footer: F(() => [
|
|
12105
|
-
u.isLoading ? (p(), g("div",
|
|
12107
|
+
u.isLoading ? (p(), g("div", f4, [
|
|
12106
12108
|
M(pe, { name: "Loading" })
|
|
12107
12109
|
])) : u.hasMore ? (p(), g("div", {
|
|
12108
12110
|
key: 2,
|
|
12109
12111
|
ref_key: "scrollEnd",
|
|
12110
12112
|
ref: n,
|
|
12111
12113
|
class: "ao-list-kanban__end"
|
|
12112
|
-
}, null, 512)) : (p(), g("div",
|
|
12113
|
-
u.noMoreLabel ? (p(), g("span",
|
|
12114
|
+
}, null, 512)) : (p(), g("div", h4, [
|
|
12115
|
+
u.noMoreLabel ? (p(), g("span", m4, Z(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", g4)) : T("", !0)
|
|
12114
12116
|
]))
|
|
12115
12117
|
]),
|
|
12116
12118
|
_: 1
|
|
12117
12119
|
}, 16, ["class", "list", "disabled"]),
|
|
12118
|
-
u.$slots.footer || u.footerLabel ? (p(), g("div",
|
|
12120
|
+
u.$slots.footer || u.footerLabel ? (p(), g("div", C4, [
|
|
12119
12121
|
te(u.$slots, "footer", {}, () => [
|
|
12120
|
-
u.isEditable ? (p(), D(
|
|
12122
|
+
u.isEditable ? (p(), D(gt, {
|
|
12121
12123
|
key: 0,
|
|
12122
12124
|
"icon-name": "AddBoxOutlineRounded",
|
|
12123
12125
|
label: u.footerLabel,
|
|
@@ -12128,7 +12130,7 @@ const v4 = {
|
|
|
12128
12130
|
]));
|
|
12129
12131
|
}
|
|
12130
12132
|
});
|
|
12131
|
-
const
|
|
12133
|
+
const y4 = { class: "ao-field ao-search-field" }, b4 = ["value", "placeholder", "onKeypress"], w4 = /* @__PURE__ */ z({
|
|
12132
12134
|
__name: "AoSearchField",
|
|
12133
12135
|
props: {
|
|
12134
12136
|
modelValue: {},
|
|
@@ -12140,10 +12142,10 @@ const b4 = { class: "ao-field ao-search-field" }, w4 = ["value", "placeholder",
|
|
|
12140
12142
|
const a = t, s = async (i) => {
|
|
12141
12143
|
const r = i.target.value;
|
|
12142
12144
|
e("update:modelValue", r, i);
|
|
12143
|
-
}, n =
|
|
12145
|
+
}, n = l4(s, a.delay), o = (i) => {
|
|
12144
12146
|
e("clear", i);
|
|
12145
12147
|
};
|
|
12146
|
-
return (i, l) => (p(), g("div",
|
|
12148
|
+
return (i, l) => (p(), g("div", y4, [
|
|
12147
12149
|
f("input", {
|
|
12148
12150
|
value: i.modelValue,
|
|
12149
12151
|
type: "text",
|
|
@@ -12152,7 +12154,7 @@ const b4 = { class: "ao-field ao-search-field" }, w4 = ["value", "placeholder",
|
|
|
12152
12154
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12153
12155
|
(...r) => J(n) && J(n)(...r)),
|
|
12154
12156
|
onKeypress: dt(s, ["enter"])
|
|
12155
|
-
}, null, 40,
|
|
12157
|
+
}, null, 40, b4),
|
|
12156
12158
|
M(pe, {
|
|
12157
12159
|
name: "SearchRounded",
|
|
12158
12160
|
class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12168,7 +12170,7 @@ const b4 = { class: "ao-field ao-search-field" }, w4 = ["value", "placeholder",
|
|
|
12168
12170
|
]));
|
|
12169
12171
|
}
|
|
12170
12172
|
});
|
|
12171
|
-
const
|
|
12173
|
+
const $4 = { class: "ao-feed" }, k4 = { class: "ao-feed__filters" }, S4 = { class: "ao-feed__body" }, A4 = /* @__PURE__ */ z({
|
|
12172
12174
|
__name: "AoFeed",
|
|
12173
12175
|
props: {
|
|
12174
12176
|
activities: {},
|
|
@@ -12279,11 +12281,11 @@ const k4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, A4 = { clas
|
|
|
12279
12281
|
};
|
|
12280
12282
|
return (O, m) => {
|
|
12281
12283
|
var V;
|
|
12282
|
-
return p(), g("div",
|
|
12284
|
+
return p(), g("div", $4, [
|
|
12283
12285
|
M(Ga, null, {
|
|
12284
12286
|
primary: F(() => [
|
|
12285
|
-
f("div",
|
|
12286
|
-
a.project ? (p(), D(
|
|
12287
|
+
f("div", k4, [
|
|
12288
|
+
a.project ? (p(), D(di, {
|
|
12287
12289
|
key: 0,
|
|
12288
12290
|
"is-left": !1,
|
|
12289
12291
|
"right-label": O.$t("project.switch.feed"),
|
|
@@ -12292,7 +12294,7 @@ const k4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, A4 = { clas
|
|
|
12292
12294
|
H && O.$router.push({ name: J(Le).project });
|
|
12293
12295
|
})
|
|
12294
12296
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12295
|
-
M(
|
|
12297
|
+
M(w4, {
|
|
12296
12298
|
"model-value": O.searchText,
|
|
12297
12299
|
placeholder: O.$t("feed.search.placeholder"),
|
|
12298
12300
|
class: "ao-feed__search",
|
|
@@ -12385,8 +12387,8 @@ const k4 = { class: "ao-feed" }, S4 = { class: "ao-feed__filters" }, A4 = { clas
|
|
|
12385
12387
|
]),
|
|
12386
12388
|
_: 1
|
|
12387
12389
|
}),
|
|
12388
|
-
f("div",
|
|
12389
|
-
(p(!0), g(fe, null, _e(O.statuses, (H) => (p(), D(
|
|
12390
|
+
f("div", S4, [
|
|
12391
|
+
(p(!0), g(fe, null, _e(O.statuses, (H) => (p(), D(_4, {
|
|
12390
12392
|
key: H.id,
|
|
12391
12393
|
status: H,
|
|
12392
12394
|
list: l.value[H.id],
|
|
@@ -12444,7 +12446,7 @@ const Dt = {
|
|
|
12444
12446
|
TEMPLATES: "templates",
|
|
12445
12447
|
TEMPLATE_DETAILS: "template_details",
|
|
12446
12448
|
TEMPLATES_LIST: "templates_list"
|
|
12447
|
-
},
|
|
12449
|
+
}, Z4 = (t, e = {}) => [
|
|
12448
12450
|
{
|
|
12449
12451
|
path: t,
|
|
12450
12452
|
name: Dt.TEMPLATES,
|
|
@@ -12454,7 +12456,7 @@ const Dt = {
|
|
|
12454
12456
|
{
|
|
12455
12457
|
path: "",
|
|
12456
12458
|
name: Dt.TEMPLATES_LIST,
|
|
12457
|
-
component:
|
|
12459
|
+
component: T4
|
|
12458
12460
|
},
|
|
12459
12461
|
{
|
|
12460
12462
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12469,7 +12471,7 @@ const Dt = {
|
|
|
12469
12471
|
feed: "AoProjectFeed",
|
|
12470
12472
|
milestone: "AoMilestone",
|
|
12471
12473
|
activity: "AoActivity"
|
|
12472
|
-
},
|
|
12474
|
+
}, W4 = (t, e = {}) => [
|
|
12473
12475
|
{
|
|
12474
12476
|
path: t,
|
|
12475
12477
|
...e,
|
|
@@ -12478,7 +12480,7 @@ const Dt = {
|
|
|
12478
12480
|
{
|
|
12479
12481
|
path: "",
|
|
12480
12482
|
name: Le.project,
|
|
12481
|
-
component:
|
|
12483
|
+
component: z9,
|
|
12482
12484
|
props: !0,
|
|
12483
12485
|
children: [
|
|
12484
12486
|
{
|
|
@@ -12493,7 +12495,7 @@ const Dt = {
|
|
|
12493
12495
|
props: { default: !0, modal: !0 },
|
|
12494
12496
|
components: {
|
|
12495
12497
|
default: Tn,
|
|
12496
|
-
modal:
|
|
12498
|
+
modal: Jh
|
|
12497
12499
|
}
|
|
12498
12500
|
}
|
|
12499
12501
|
]
|
|
@@ -12501,12 +12503,12 @@ const Dt = {
|
|
|
12501
12503
|
{
|
|
12502
12504
|
path: "feed",
|
|
12503
12505
|
name: Le.feed,
|
|
12504
|
-
component:
|
|
12506
|
+
component: A4,
|
|
12505
12507
|
props: !0
|
|
12506
12508
|
}
|
|
12507
12509
|
]
|
|
12508
12510
|
}
|
|
12509
|
-
],
|
|
12511
|
+
], M4 = { class: "ao-templates" }, T4 = /* @__PURE__ */ z({
|
|
12510
12512
|
__name: "AoTemplatesList",
|
|
12511
12513
|
props: {
|
|
12512
12514
|
templates: {}
|
|
@@ -12555,7 +12557,7 @@ const Dt = {
|
|
|
12555
12557
|
});
|
|
12556
12558
|
}
|
|
12557
12559
|
};
|
|
12558
|
-
return (r, c) => (p(), g("div",
|
|
12560
|
+
return (r, c) => (p(), g("div", M4, [
|
|
12559
12561
|
M(Ga, null, {
|
|
12560
12562
|
secondary: F(() => [
|
|
12561
12563
|
M(ue, {
|
|
@@ -12568,7 +12570,7 @@ const Dt = {
|
|
|
12568
12570
|
]),
|
|
12569
12571
|
_: 1
|
|
12570
12572
|
}),
|
|
12571
|
-
M(J(
|
|
12573
|
+
M(J(mt), {
|
|
12572
12574
|
"model-value": r.templates,
|
|
12573
12575
|
class: "ao-templates__list",
|
|
12574
12576
|
"item-key": "id",
|
|
@@ -12600,7 +12602,7 @@ const Dt = {
|
|
|
12600
12602
|
]));
|
|
12601
12603
|
}
|
|
12602
12604
|
});
|
|
12603
|
-
const
|
|
12605
|
+
const O4 = { class: "ao-field__label" }, E4 = /* @__PURE__ */ z({
|
|
12604
12606
|
__name: "AoField",
|
|
12605
12607
|
props: {
|
|
12606
12608
|
label: {},
|
|
@@ -12610,11 +12612,11 @@ const E4 = { class: "ao-field__label" }, I4 = /* @__PURE__ */ z({
|
|
|
12610
12612
|
return (e, a) => (p(), g("label", {
|
|
12611
12613
|
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12612
12614
|
}, [
|
|
12613
|
-
f("span",
|
|
12615
|
+
f("span", O4, Z(e.label), 1),
|
|
12614
12616
|
te(e.$slots, "default")
|
|
12615
12617
|
], 2));
|
|
12616
12618
|
}
|
|
12617
|
-
}),
|
|
12619
|
+
}), I4 = ["type", "value", "disabled", "readonly"], q4 = /* @__PURE__ */ z({
|
|
12618
12620
|
__name: "AoInputField",
|
|
12619
12621
|
props: {
|
|
12620
12622
|
label: { default: "" },
|
|
@@ -12631,7 +12633,7 @@ const E4 = { class: "ao-field__label" }, I4 = /* @__PURE__ */ z({
|
|
|
12631
12633
|
), n = (o) => {
|
|
12632
12634
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12633
12635
|
};
|
|
12634
|
-
return (o, i) => (p(), D(
|
|
12636
|
+
return (o, i) => (p(), D(E4, { label: o.label }, {
|
|
12635
12637
|
default: F(() => [
|
|
12636
12638
|
f("input", He({
|
|
12637
12639
|
class: "ao-field__input",
|
|
@@ -12641,12 +12643,12 @@ const E4 = { class: "ao-field__label" }, I4 = /* @__PURE__ */ z({
|
|
|
12641
12643
|
readonly: o.isReadonly
|
|
12642
12644
|
}, {
|
|
12643
12645
|
[Ni(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12644
|
-
}), null, 16,
|
|
12646
|
+
}), null, 16, I4)
|
|
12645
12647
|
]),
|
|
12646
12648
|
_: 1
|
|
12647
12649
|
}, 8, ["label"]));
|
|
12648
12650
|
}
|
|
12649
|
-
}),
|
|
12651
|
+
}), L4 = { class: "ao-field" }, P4 = { class: "ao-field__label" }, H4 = ["checked", "disabled"], z4 = /* @__PURE__ */ z({
|
|
12650
12652
|
__name: "AoCheckboxField",
|
|
12651
12653
|
props: {
|
|
12652
12654
|
label: { default: "" },
|
|
@@ -12656,8 +12658,8 @@ const E4 = { class: "ao-field__label" }, I4 = /* @__PURE__ */ z({
|
|
|
12656
12658
|
},
|
|
12657
12659
|
emits: ["update:modelValue"],
|
|
12658
12660
|
setup(t) {
|
|
12659
|
-
return (e, a) => (p(), g("label",
|
|
12660
|
-
f("span",
|
|
12661
|
+
return (e, a) => (p(), g("label", L4, [
|
|
12662
|
+
f("span", P4, Z(e.label), 1),
|
|
12661
12663
|
f("input", {
|
|
12662
12664
|
class: "ao-field__input",
|
|
12663
12665
|
type: "checkbox",
|
|
@@ -12670,29 +12672,29 @@ const E4 = { class: "ao-field__label" }, I4 = /* @__PURE__ */ z({
|
|
|
12670
12672
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12671
12673
|
);
|
|
12672
12674
|
})
|
|
12673
|
-
}, null, 40,
|
|
12675
|
+
}, null, 40, H4)
|
|
12674
12676
|
]));
|
|
12675
12677
|
}
|
|
12676
12678
|
});
|
|
12677
12679
|
export {
|
|
12678
12680
|
et as AoAvatar,
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
12681
|
+
pi as AoCardFeed,
|
|
12682
|
+
z4 as AoCheckboxField,
|
|
12683
|
+
A4 as AoFeed,
|
|
12684
|
+
E4 as AoField,
|
|
12685
|
+
q4 as AoInputField,
|
|
12684
12686
|
ke as AoMultiselect,
|
|
12685
12687
|
_9 as AoProjectPhases,
|
|
12686
12688
|
Lf as AoTemplateDetails,
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
+
N4 as AoTemplates,
|
|
12690
|
+
T4 as AoTemplatesList,
|
|
12689
12691
|
q2 as TemplateItemTypeEnum,
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
+
U4 as activityFeedStatus,
|
|
12693
|
+
j4 as durationTypes,
|
|
12692
12694
|
Pt as feedFilterTypes,
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12695
|
+
W4 as getProjectOverviewRoutes,
|
|
12696
|
+
Z4 as getTemplateRoutes,
|
|
12697
|
+
F4 as listUpdateTypes,
|
|
12696
12698
|
Cs as milestoneStatus,
|
|
12697
12699
|
Le as projectOverviewRoutes,
|
|
12698
12700
|
F2 as ruleComparators,
|