@26lights/orcha 0.31.1 → 0.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +387 -386
- package/dist/orcha.umd.js +1 -1
- package/dist/src/types/index.d.ts +6 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as xe, normalizeClass as G, renderSlot as X, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
|
|
2
2
|
import { RouterView as ys } from "vue-router";
|
|
3
3
|
import Qe from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const l8 = /* @__PURE__ */ K({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -23,13 +23,13 @@ const o8 = /* @__PURE__ */ K({
|
|
|
23
23
|
}, $s = /* @__PURE__ */ v("path", {
|
|
24
24
|
d: "M12 13C12.9667 13 13.7917 12.6583 14.475 11.975C15.1583 11.2917 15.5 10.4667 15.5 9.5C15.5 8.53333 15.1583 7.70833 14.475 7.025C13.7917 6.34167 12.9667 6 12 6C11.0333 6 10.2083 6.34167 9.525 7.025C8.84167 7.70833 8.5 8.53333 8.5 9.5C8.5 10.4667 8.84167 11.2917 9.525 11.975C10.2083 12.6583 11.0333 13 12 13ZM3 21V3H21V21H3ZM5 19H19V17.85C18.1 16.9667 17.054 16.271 15.862 15.763C14.67 15.255 13.3827 15.0007 12 15C10.6167 15 9.329 15.2543 8.137 15.763C6.945 16.2717 5.89933 16.9673 5 17.85V19Z",
|
|
25
25
|
fill: "black"
|
|
26
|
-
}, null, -1),
|
|
26
|
+
}, null, -1), ks = [
|
|
27
27
|
$s
|
|
28
28
|
];
|
|
29
|
-
function
|
|
30
|
-
return f(), h("svg", ws,
|
|
29
|
+
function Ms(t, e) {
|
|
30
|
+
return f(), h("svg", ws, ks);
|
|
31
31
|
}
|
|
32
|
-
const As = /* @__PURE__ */ B(bs, [["render",
|
|
32
|
+
const As = /* @__PURE__ */ B(bs, [["render", Ms]]), Ts = {}, Ss = {
|
|
33
33
|
width: "24",
|
|
34
34
|
height: "24",
|
|
35
35
|
viewBox: "0 0 24 24",
|
|
@@ -155,14 +155,14 @@ const bn = /* @__PURE__ */ B(mn, [["render", yn]]), wn = {}, $n = {
|
|
|
155
155
|
viewBox: "0 0 24 24",
|
|
156
156
|
fill: "none",
|
|
157
157
|
xmlns: "http://www.w3.org/2000/svg"
|
|
158
|
-
},
|
|
158
|
+
}, kn = /* @__PURE__ */ v("path", {
|
|
159
159
|
d: "M11.3 19.3C11.1167 19.1167 11.0207 18.8834 11.012 18.6C11.004 18.3167 11.0917 18.0834 11.275 17.9L16.175 13H5C4.71667 13 4.479 12.904 4.287 12.712C4.09567 12.5207 4 12.2834 4 12C4 11.7167 4.09567 11.479 4.287 11.287C4.479 11.0957 4.71667 11 5 11H16.175L11.275 6.10005C11.0917 5.91672 11.004 5.68338 11.012 5.40005C11.0207 5.11672 11.1167 4.88338 11.3 4.70005C11.4833 4.51672 11.7167 4.42505 12 4.42505C12.2833 4.42505 12.5167 4.51672 12.7 4.70005L19.3 11.3C19.4 11.3834 19.471 11.4874 19.513 11.612C19.5543 11.7374 19.575 11.8667 19.575 12C19.575 12.1334 19.5543 12.2584 19.513 12.375C19.471 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4834 12.2833 19.575 12 19.575C11.7167 19.575 11.4833 19.4834 11.3 19.3V19.3Z",
|
|
160
160
|
fill: "black"
|
|
161
|
-
}, null, -1),
|
|
162
|
-
|
|
161
|
+
}, null, -1), Mn = [
|
|
162
|
+
kn
|
|
163
163
|
];
|
|
164
164
|
function An(t, e) {
|
|
165
|
-
return f(), h("svg", $n,
|
|
165
|
+
return f(), h("svg", $n, Mn);
|
|
166
166
|
}
|
|
167
167
|
const Tn = /* @__PURE__ */ B(wn, [["render", An]]), Sn = {}, En = {
|
|
168
168
|
width: "24",
|
|
@@ -290,14 +290,14 @@ const bi = /* @__PURE__ */ B(mi, [["render", yi]]), wi = {}, $i = {
|
|
|
290
290
|
viewBox: "0 0 24 24",
|
|
291
291
|
fill: "none",
|
|
292
292
|
xmlns: "http://www.w3.org/2000/svg"
|
|
293
|
-
},
|
|
293
|
+
}, ki = /* @__PURE__ */ v("path", {
|
|
294
294
|
d: "M10 13.6L15.9 7.70005C16.0834 7.51672 16.3167 7.42505 16.6 7.42505C16.8834 7.42505 17.1167 7.51672 17.3 7.70005C17.4834 7.88338 17.575 8.11671 17.575 8.40005C17.575 8.68338 17.4834 8.91672 17.3 9.10005L10.7 15.7C10.5 15.9 10.2667 16 10 16C9.73338 16 9.50005 15.9 9.30005 15.7L6.70005 13.1C6.51672 12.9167 6.42505 12.6834 6.42505 12.4C6.42505 12.1167 6.51672 11.8834 6.70005 11.7C6.88338 11.5167 7.11672 11.425 7.40005 11.425C7.68338 11.425 7.91672 11.5167 8.10005 11.7L10 13.6Z",
|
|
295
295
|
fill: "black"
|
|
296
|
-
}, null, -1),
|
|
297
|
-
|
|
296
|
+
}, null, -1), Mi = [
|
|
297
|
+
ki
|
|
298
298
|
];
|
|
299
299
|
function Ai(t, e) {
|
|
300
|
-
return f(), h("svg", $i,
|
|
300
|
+
return f(), h("svg", $i, Mi);
|
|
301
301
|
}
|
|
302
302
|
const Ti = /* @__PURE__ */ B(wi, [["render", Ai]]), Si = {}, Ei = {
|
|
303
303
|
width: "24",
|
|
@@ -419,20 +419,20 @@ const mo = /* @__PURE__ */ B(co, [["render", ho]]), Co = {}, _o = {
|
|
|
419
419
|
function bo(t, e) {
|
|
420
420
|
return f(), h("svg", _o, yo);
|
|
421
421
|
}
|
|
422
|
-
const wo = /* @__PURE__ */ B(Co, [["render", bo]]), $o = {},
|
|
422
|
+
const wo = /* @__PURE__ */ B(Co, [["render", bo]]), $o = {}, ko = {
|
|
423
423
|
width: "24",
|
|
424
424
|
height: "24",
|
|
425
425
|
viewBox: "0 0 24 24",
|
|
426
426
|
fill: "none",
|
|
427
427
|
xmlns: "http://www.w3.org/2000/svg"
|
|
428
|
-
},
|
|
428
|
+
}, Mo = /* @__PURE__ */ v("path", {
|
|
429
429
|
d: "M6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",
|
|
430
430
|
fill: "black"
|
|
431
431
|
}, null, -1), Ao = [
|
|
432
|
-
|
|
432
|
+
Mo
|
|
433
433
|
];
|
|
434
434
|
function To(t, e) {
|
|
435
|
-
return f(), h("svg",
|
|
435
|
+
return f(), h("svg", ko, Ao);
|
|
436
436
|
}
|
|
437
437
|
const So = /* @__PURE__ */ B($o, [["render", To]]), Eo = {}, Io = {
|
|
438
438
|
width: "24",
|
|
@@ -554,20 +554,20 @@ const ml = /* @__PURE__ */ B(cl, [["render", hl]]), Cl = {}, _l = {
|
|
|
554
554
|
function bl(t, e) {
|
|
555
555
|
return f(), h("svg", _l, yl);
|
|
556
556
|
}
|
|
557
|
-
const wl = /* @__PURE__ */ B(Cl, [["render", bl]]), $l = {},
|
|
557
|
+
const wl = /* @__PURE__ */ B(Cl, [["render", bl]]), $l = {}, kl = {
|
|
558
558
|
width: "24",
|
|
559
559
|
height: "24",
|
|
560
560
|
viewBox: "0 0 24 24",
|
|
561
561
|
fill: "none",
|
|
562
562
|
xmlns: "http://www.w3.org/2000/svg"
|
|
563
|
-
},
|
|
563
|
+
}, Ml = /* @__PURE__ */ v("path", {
|
|
564
564
|
d: "M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",
|
|
565
565
|
fill: "black"
|
|
566
566
|
}, null, -1), Al = [
|
|
567
|
-
|
|
567
|
+
Ml
|
|
568
568
|
];
|
|
569
569
|
function Tl(t, e) {
|
|
570
|
-
return f(), h("svg",
|
|
570
|
+
return f(), h("svg", kl, Al);
|
|
571
571
|
}
|
|
572
572
|
const Sl = /* @__PURE__ */ B($l, [["render", Tl]]), El = {}, Il = {
|
|
573
573
|
width: "24",
|
|
@@ -702,7 +702,7 @@ const _r = /* @__PURE__ */ B(vr, [["render", Cr]]), gr = {}, yr = {
|
|
|
702
702
|
function $r(t, e) {
|
|
703
703
|
return f(), h("svg", yr, wr);
|
|
704
704
|
}
|
|
705
|
-
const
|
|
705
|
+
const kr = /* @__PURE__ */ B(gr, [["render", $r]]), Mr = {}, Ar = {
|
|
706
706
|
width: "24",
|
|
707
707
|
height: "24",
|
|
708
708
|
viewBox: "0 0 24 24",
|
|
@@ -717,7 +717,7 @@ const Mr = /* @__PURE__ */ B(gr, [["render", $r]]), kr = {}, Ar = {
|
|
|
717
717
|
function Er(t, e) {
|
|
718
718
|
return f(), h("svg", Ar, Sr);
|
|
719
719
|
}
|
|
720
|
-
const Ir = /* @__PURE__ */ B(
|
|
720
|
+
const Ir = /* @__PURE__ */ B(Mr, [["render", Er]]), Or = {}, Lr = {
|
|
721
721
|
width: "24",
|
|
722
722
|
height: "24",
|
|
723
723
|
viewBox: "0 0 24 24",
|
|
@@ -837,7 +837,7 @@ const _2 = /* @__PURE__ */ B(v2, [["render", C2]]), g2 = {}, y2 = {
|
|
|
837
837
|
function $2(t, e) {
|
|
838
838
|
return f(), h("svg", y2, w2);
|
|
839
839
|
}
|
|
840
|
-
const
|
|
840
|
+
const k2 = /* @__PURE__ */ B(g2, [["render", $2]]), M2 = {}, A2 = {
|
|
841
841
|
width: "26",
|
|
842
842
|
height: "29",
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
@@ -849,7 +849,7 @@ const M2 = /* @__PURE__ */ B(g2, [["render", $2]]), k2 = {}, A2 = {
|
|
|
849
849
|
function E2(t, e) {
|
|
850
850
|
return f(), h("svg", A2, S2);
|
|
851
851
|
}
|
|
852
|
-
const I2 = /* @__PURE__ */ B(
|
|
852
|
+
const I2 = /* @__PURE__ */ B(M2, [["render", E2]]), O2 = {}, L2 = {
|
|
853
853
|
width: "24",
|
|
854
854
|
height: "24",
|
|
855
855
|
viewBox: "0 0 24 24",
|
|
@@ -969,7 +969,7 @@ const _u = /* @__PURE__ */ B(vu, [["render", Cu]]), gu = {}, yu = {
|
|
|
969
969
|
function $u(t, e) {
|
|
970
970
|
return f(), h("svg", yu, wu);
|
|
971
971
|
}
|
|
972
|
-
const
|
|
972
|
+
const ku = /* @__PURE__ */ B(gu, [["render", $u]]), Mu = {}, Au = {
|
|
973
973
|
width: "24",
|
|
974
974
|
height: "24",
|
|
975
975
|
viewBox: "0 0 24 24",
|
|
@@ -984,7 +984,7 @@ const Mu = /* @__PURE__ */ B(gu, [["render", $u]]), ku = {}, Au = {
|
|
|
984
984
|
function Eu(t, e) {
|
|
985
985
|
return f(), h("svg", Au, Su);
|
|
986
986
|
}
|
|
987
|
-
const Iu = /* @__PURE__ */ B(
|
|
987
|
+
const Iu = /* @__PURE__ */ B(Mu, [["render", Eu]]), Ou = {}, Lu = {
|
|
988
988
|
width: "24",
|
|
989
989
|
height: "24",
|
|
990
990
|
viewBox: "0 0 24 24",
|
|
@@ -1105,7 +1105,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1105
1105
|
Lock: or,
|
|
1106
1106
|
LogoutRounded: fr,
|
|
1107
1107
|
Menu: _r,
|
|
1108
|
-
MoreHoriz:
|
|
1108
|
+
MoreHoriz: kr,
|
|
1109
1109
|
MoreTimeRounded: Ir,
|
|
1110
1110
|
MoreVert: Pr,
|
|
1111
1111
|
MountainFlagOutlineRounded: Zr,
|
|
@@ -1114,7 +1114,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1114
1114
|
RadioButtonChecked: o2,
|
|
1115
1115
|
RadioButtonCheckedOutline: f2,
|
|
1116
1116
|
RadioButtonUnchecked: _2,
|
|
1117
|
-
RemoveRounded:
|
|
1117
|
+
RemoveRounded: k2,
|
|
1118
1118
|
SearchRounded: I2,
|
|
1119
1119
|
SelectCheckBox: P2,
|
|
1120
1120
|
SendRounded: Z2,
|
|
@@ -1123,7 +1123,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1123
1123
|
Target: ou,
|
|
1124
1124
|
TaskOutlineRounded: fu,
|
|
1125
1125
|
TextSnippetRounded: _u,
|
|
1126
|
-
TimerOutline:
|
|
1126
|
+
TimerOutline: ku,
|
|
1127
1127
|
ViewComfyAltRounded: Iu,
|
|
1128
1128
|
ViewCompactAltRounded: Pu,
|
|
1129
1129
|
ViewTimelineRounded: Zu,
|
|
@@ -1432,11 +1432,11 @@ const T1 = {
|
|
|
1432
1432
|
todo: "todo",
|
|
1433
1433
|
done: "done",
|
|
1434
1434
|
archived: "archived"
|
|
1435
|
-
},
|
|
1435
|
+
}, r8 = {
|
|
1436
1436
|
months: "months",
|
|
1437
1437
|
weeks: "weeks",
|
|
1438
1438
|
days: "days"
|
|
1439
|
-
},
|
|
1439
|
+
}, u8 = {
|
|
1440
1440
|
future: "future",
|
|
1441
1441
|
this_month: "this_month",
|
|
1442
1442
|
this_week: "this_week",
|
|
@@ -1459,8 +1459,8 @@ const T1 = {
|
|
|
1459
1459
|
ACTIVITIES: "activities",
|
|
1460
1460
|
TASKS: "tasks"
|
|
1461
1461
|
};
|
|
1462
|
-
var
|
|
1463
|
-
const
|
|
1462
|
+
var kd = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(kd || {});
|
|
1463
|
+
const d8 = {
|
|
1464
1464
|
add: "add",
|
|
1465
1465
|
remove: "remove",
|
|
1466
1466
|
moved: "moved"
|
|
@@ -1492,7 +1492,7 @@ function Be(t) {
|
|
|
1492
1492
|
var e = Object.prototype.toString.call(t);
|
|
1493
1493
|
return t instanceof Date || Gt(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function Md(t, e) {
|
|
1496
1496
|
ge(2, arguments);
|
|
1497
1497
|
var a = Be(t).getTime(), n = Ke(e);
|
|
1498
1498
|
return new Date(a + n);
|
|
@@ -1518,7 +1518,7 @@ function _a(t) {
|
|
|
1518
1518
|
function Ed(t, e) {
|
|
1519
1519
|
ge(2, arguments);
|
|
1520
1520
|
var a = Ke(e);
|
|
1521
|
-
return
|
|
1521
|
+
return Md(t, -a);
|
|
1522
1522
|
}
|
|
1523
1523
|
var Id = 864e5;
|
|
1524
1524
|
function Od(t) {
|
|
@@ -1574,8 +1574,8 @@ function ya(t, e) {
|
|
|
1574
1574
|
w.setUTCFullYear(u + 1, 0, m), w.setUTCHours(0, 0, 0, 0);
|
|
1575
1575
|
var A = xt(w, e), _ = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
_.setUTCFullYear(u, 0, m), _.setUTCHours(0, 0, 0, 0);
|
|
1577
|
-
var
|
|
1578
|
-
return c.getTime() >= A.getTime() ? u + 1 : c.getTime() >=
|
|
1577
|
+
var k = xt(_, e);
|
|
1578
|
+
return c.getTime() >= A.getTime() ? u + 1 : c.getTime() >= k.getTime() ? u : u - 1;
|
|
1579
1579
|
}
|
|
1580
1580
|
function Hd(t, e) {
|
|
1581
1581
|
var a, n, s, o, i, l, d, r;
|
|
@@ -2553,7 +2553,7 @@ var ic = {
|
|
|
2553
2553
|
})
|
|
2554
2554
|
};
|
|
2555
2555
|
const vc = fc;
|
|
2556
|
-
function
|
|
2556
|
+
function kt(t) {
|
|
2557
2557
|
return function(e) {
|
|
2558
2558
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, s = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], o = e.match(s);
|
|
2559
2559
|
if (!o)
|
|
@@ -2614,10 +2614,10 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
|
|
|
2614
2614
|
narrow: /^[jfmasond]/i,
|
|
2615
2615
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
2616
2616
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
2617
|
-
},
|
|
2617
|
+
}, kc = {
|
|
2618
2618
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
2619
2619
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
2620
|
-
},
|
|
2620
|
+
}, Mc = {
|
|
2621
2621
|
narrow: /^[smtwf]/i,
|
|
2622
2622
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
2623
2623
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
@@ -2647,13 +2647,13 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
|
|
|
2647
2647
|
return parseInt(e, 10);
|
|
2648
2648
|
}
|
|
2649
2649
|
}),
|
|
2650
|
-
era:
|
|
2650
|
+
era: kt({
|
|
2651
2651
|
matchPatterns: gc,
|
|
2652
2652
|
defaultMatchWidth: "wide",
|
|
2653
2653
|
parsePatterns: yc,
|
|
2654
2654
|
defaultParseWidth: "any"
|
|
2655
2655
|
}),
|
|
2656
|
-
quarter:
|
|
2656
|
+
quarter: kt({
|
|
2657
2657
|
matchPatterns: bc,
|
|
2658
2658
|
defaultMatchWidth: "wide",
|
|
2659
2659
|
parsePatterns: wc,
|
|
@@ -2662,19 +2662,19 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
|
|
|
2662
2662
|
return e + 1;
|
|
2663
2663
|
}
|
|
2664
2664
|
}),
|
|
2665
|
-
month:
|
|
2665
|
+
month: kt({
|
|
2666
2666
|
matchPatterns: $c,
|
|
2667
2667
|
defaultMatchWidth: "wide",
|
|
2668
|
-
parsePatterns:
|
|
2668
|
+
parsePatterns: kc,
|
|
2669
2669
|
defaultParseWidth: "any"
|
|
2670
2670
|
}),
|
|
2671
|
-
day:
|
|
2672
|
-
matchPatterns:
|
|
2671
|
+
day: kt({
|
|
2672
|
+
matchPatterns: Mc,
|
|
2673
2673
|
defaultMatchWidth: "wide",
|
|
2674
2674
|
parsePatterns: Ac,
|
|
2675
2675
|
defaultParseWidth: "any"
|
|
2676
2676
|
}),
|
|
2677
|
-
dayPeriod:
|
|
2677
|
+
dayPeriod: kt({
|
|
2678
2678
|
matchPatterns: Tc,
|
|
2679
2679
|
defaultMatchWidth: "any",
|
|
2680
2680
|
parsePatterns: Sc,
|
|
@@ -2697,12 +2697,12 @@ var Oc = {
|
|
|
2697
2697
|
const Lc = Oc;
|
|
2698
2698
|
var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hc = /^'([^]*?)'?$/, Pc = /''/g, Bc = /[a-zA-Z]/;
|
|
2699
2699
|
function Nc(t, e, a) {
|
|
2700
|
-
var n, s, o, i, l, d, r, c, u, p, m, w, A, _,
|
|
2700
|
+
var n, s, o, i, l, d, r, c, u, p, m, w, A, _, k, y, L, Z;
|
|
2701
2701
|
ge(2, arguments);
|
|
2702
2702
|
var W = String(e), V = i1(), x = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (r = a.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = V.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2703
2703
|
if (!(te >= 1 && te <= 7))
|
|
2704
2704
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2705
|
-
var I = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (
|
|
2705
|
+
var I = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (k = a.locale) === null || k === void 0 || (y = k.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && A !== void 0 ? A : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
|
|
2706
2706
|
if (!(I >= 0 && I <= 6))
|
|
2707
2707
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2708
2708
|
if (!x.localize)
|
|
@@ -2720,8 +2720,8 @@ function Nc(t, e, a) {
|
|
|
2720
2720
|
}, ce = W.match(Dc).map(function(se) {
|
|
2721
2721
|
var re = se[0];
|
|
2722
2722
|
if (re === "p" || re === "P") {
|
|
2723
|
-
var
|
|
2724
|
-
return
|
|
2723
|
+
var M = Fd[re];
|
|
2724
|
+
return M(se, x.formatLong);
|
|
2725
2725
|
}
|
|
2726
2726
|
return se;
|
|
2727
2727
|
}).join("").match(Vc).map(function(se) {
|
|
@@ -2730,9 +2730,9 @@ function Nc(t, e, a) {
|
|
|
2730
2730
|
var re = se[0];
|
|
2731
2731
|
if (re === "'")
|
|
2732
2732
|
return Rc(se);
|
|
2733
|
-
var
|
|
2734
|
-
if (
|
|
2735
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)),
|
|
2733
|
+
var M = Ud[re];
|
|
2734
|
+
if (M)
|
|
2735
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), M(S, se, x.localize, P);
|
|
2736
2736
|
if (re.match(Bc))
|
|
2737
2737
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
|
|
2738
2738
|
return se;
|
|
@@ -2804,23 +2804,23 @@ function Wc(t, e) {
|
|
|
2804
2804
|
var a = t.match(jc);
|
|
2805
2805
|
if (!a)
|
|
2806
2806
|
return /* @__PURE__ */ new Date(NaN);
|
|
2807
|
-
var n = !!a[4], s =
|
|
2807
|
+
var n = !!a[4], s = Mt(a[1]), o = Mt(a[2]) - 1, i = Mt(a[3]), l = Mt(a[4]), d = Mt(a[5]) - 1;
|
|
2808
2808
|
if (n)
|
|
2809
2809
|
return Jc(e, l, d) ? Gc(e, l, d) : /* @__PURE__ */ new Date(NaN);
|
|
2810
2810
|
var r = /* @__PURE__ */ new Date(0);
|
|
2811
2811
|
return !xc(e, o, i) || !Qc(e, s) ? /* @__PURE__ */ new Date(NaN) : (r.setUTCFullYear(e, o, Math.max(s, i)), r);
|
|
2812
2812
|
}
|
|
2813
|
-
function
|
|
2813
|
+
function Mt(t) {
|
|
2814
2814
|
return t ? parseInt(t) : 1;
|
|
2815
2815
|
}
|
|
2816
2816
|
function Yc(t) {
|
|
2817
2817
|
var e = t.match(Zc);
|
|
2818
2818
|
if (!e)
|
|
2819
2819
|
return NaN;
|
|
2820
|
-
var a =
|
|
2820
|
+
var a = k1(e[1]), n = k1(e[2]), s = k1(e[3]);
|
|
2821
2821
|
return e0(a, n, s) ? a * Ca + n * ma + s * 1e3 : NaN;
|
|
2822
2822
|
}
|
|
2823
|
-
function
|
|
2823
|
+
function k1(t) {
|
|
2824
2824
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2825
2825
|
}
|
|
2826
2826
|
function Kc(t) {
|
|
@@ -3100,34 +3100,34 @@ ee.POSITIVE_SIGN = 1;
|
|
|
3100
3100
|
Object.defineProperty(Bt, "__esModule", { value: !0 });
|
|
3101
3101
|
Bt.LexoDecimal = void 0;
|
|
3102
3102
|
const Tt = _t, i0 = Nt;
|
|
3103
|
-
class
|
|
3103
|
+
class Me {
|
|
3104
3104
|
constructor(e, a) {
|
|
3105
3105
|
this.mag = e, this.sig = a;
|
|
3106
3106
|
}
|
|
3107
3107
|
static half(e) {
|
|
3108
3108
|
const a = e.getBase() / 2 | 0;
|
|
3109
|
-
return
|
|
3109
|
+
return Me.make(Tt.LexoInteger.make(e, 1, [a]), 1);
|
|
3110
3110
|
}
|
|
3111
3111
|
static parse(e, a) {
|
|
3112
3112
|
const n = e.indexOf(a.getRadixPointChar());
|
|
3113
3113
|
if (e.lastIndexOf(a.getRadixPointChar()) !== n)
|
|
3114
3114
|
throw new Error("More than one " + a.getRadixPointChar());
|
|
3115
3115
|
if (n < 0)
|
|
3116
|
-
return
|
|
3116
|
+
return Me.make(Tt.LexoInteger.parse(e, a), 0);
|
|
3117
3117
|
const s = e.substring(0, n) + e.substring(n + 1);
|
|
3118
|
-
return
|
|
3118
|
+
return Me.make(Tt.LexoInteger.parse(s, a), e.length - 1 - n);
|
|
3119
3119
|
}
|
|
3120
3120
|
static from(e) {
|
|
3121
|
-
return
|
|
3121
|
+
return Me.make(e, 0);
|
|
3122
3122
|
}
|
|
3123
3123
|
static make(e, a) {
|
|
3124
3124
|
if (e.isZero())
|
|
3125
|
-
return new
|
|
3125
|
+
return new Me(e, 0);
|
|
3126
3126
|
let n = 0;
|
|
3127
3127
|
for (let i = 0; i < a && e.getMag(i) === 0; ++i)
|
|
3128
3128
|
++n;
|
|
3129
3129
|
const s = e.shiftRight(n), o = a - n;
|
|
3130
|
-
return new
|
|
3130
|
+
return new Me(s, o);
|
|
3131
3131
|
}
|
|
3132
3132
|
getSystem() {
|
|
3133
3133
|
return this.mag.getSystem();
|
|
@@ -3138,7 +3138,7 @@ class ke {
|
|
|
3138
3138
|
a = a.shiftLeft();
|
|
3139
3139
|
for (; n > o; )
|
|
3140
3140
|
s = s.shiftLeft(), ++o;
|
|
3141
|
-
return
|
|
3141
|
+
return Me.make(a.add(s), n);
|
|
3142
3142
|
}
|
|
3143
3143
|
subtract(e) {
|
|
3144
3144
|
let a = this.mag, n = this.sig, s = e.mag, o;
|
|
@@ -3146,10 +3146,10 @@ class ke {
|
|
|
3146
3146
|
a = a.shiftLeft();
|
|
3147
3147
|
for (; n > o; )
|
|
3148
3148
|
s = s.shiftLeft(), ++o;
|
|
3149
|
-
return
|
|
3149
|
+
return Me.make(a.subtract(s), n);
|
|
3150
3150
|
}
|
|
3151
3151
|
multiply(e) {
|
|
3152
|
-
return
|
|
3152
|
+
return Me.make(this.mag.multiply(e.mag), this.sig + e.sig);
|
|
3153
3153
|
}
|
|
3154
3154
|
floor() {
|
|
3155
3155
|
return this.mag.shiftRight(this.sig);
|
|
@@ -3177,7 +3177,7 @@ class ke {
|
|
|
3177
3177
|
e < 0 && (e = 0);
|
|
3178
3178
|
const n = this.sig - e;
|
|
3179
3179
|
let s = this.mag.shiftRight(n);
|
|
3180
|
-
return a && (s = s.add(Tt.LexoInteger.one(s.getSystem()))),
|
|
3180
|
+
return a && (s = s.add(Tt.LexoInteger.one(s.getSystem()))), Me.make(s, e);
|
|
3181
3181
|
}
|
|
3182
3182
|
compareTo(e) {
|
|
3183
3183
|
if (this === e)
|
|
@@ -3203,9 +3203,9 @@ class ke {
|
|
|
3203
3203
|
return this.format();
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
|
-
Bt.LexoDecimal =
|
|
3206
|
+
Bt.LexoDecimal = Me;
|
|
3207
3207
|
var Yt = {}, sa;
|
|
3208
|
-
function
|
|
3208
|
+
function ka() {
|
|
3209
3209
|
if (sa)
|
|
3210
3210
|
return Yt;
|
|
3211
3211
|
sa = 1, Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
@@ -3262,8 +3262,8 @@ function Ma() {
|
|
|
3262
3262
|
}
|
|
3263
3263
|
return Yt.default = a, Yt;
|
|
3264
3264
|
}
|
|
3265
|
-
var L1 = {},
|
|
3266
|
-
Object.defineProperty(
|
|
3265
|
+
var L1 = {}, Ma = {};
|
|
3266
|
+
Object.defineProperty(Ma, "__esModule", { value: !0 });
|
|
3267
3267
|
var l1 = {};
|
|
3268
3268
|
Object.defineProperty(l1, "__esModule", { value: !0 });
|
|
3269
3269
|
l1.LexoNumeralSystem10 = void 0;
|
|
@@ -3371,14 +3371,14 @@ u1.LexoNumeralSystem64 = r0;
|
|
|
3371
3371
|
for (var o in n)
|
|
3372
3372
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3373
3373
|
};
|
|
3374
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3374
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Ma, t), a(l1, t), a(r1, t), a(u1, t);
|
|
3375
3375
|
})(L1);
|
|
3376
3376
|
var na;
|
|
3377
3377
|
function Aa() {
|
|
3378
3378
|
if (na)
|
|
3379
3379
|
return At;
|
|
3380
3380
|
na = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.LexoRank = void 0;
|
|
3381
|
-
const t = Bt, e =
|
|
3381
|
+
const t = Bt, e = ka(), a = Nt, n = L1;
|
|
3382
3382
|
class s {
|
|
3383
3383
|
constructor(i, l) {
|
|
3384
3384
|
this.value = i.format() + "|" + s.formatDecimal(l), this.bucket = i, this.decimal = l;
|
|
@@ -3564,7 +3564,7 @@ function Aa() {
|
|
|
3564
3564
|
for (var o in n)
|
|
3565
3565
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3566
3566
|
};
|
|
3567
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Aa(), t), a(
|
|
3567
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Aa(), t), a(ka(), t), a(Bt, t), a(_t, t);
|
|
3568
3568
|
})($a);
|
|
3569
3569
|
(function(t) {
|
|
3570
3570
|
var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
@@ -3678,7 +3678,7 @@ const p0 = ["title"], h0 = {
|
|
|
3678
3678
|
], 10, p0));
|
|
3679
3679
|
}
|
|
3680
3680
|
});
|
|
3681
|
-
const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-template__subitem" }, g0 = { class: "ao-card-template__subitem-number" }, y0 = { class: "ao-card-template__subitem" }, b0 = { class: "ao-card-template__subitem" }, w0 = { class: "ao-card-template__body" }, $0 = { class: "ao-card-template__col ao-card-template__col--phases" },
|
|
3681
|
+
const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-template__subitem" }, g0 = { class: "ao-card-template__subitem-number" }, y0 = { class: "ao-card-template__subitem" }, b0 = { class: "ao-card-template__subitem" }, w0 = { class: "ao-card-template__body" }, $0 = { class: "ao-card-template__col ao-card-template__col--phases" }, k0 = { class: "ao-card-template__col-title" }, M0 = { class: "ao-card-template__col-label" }, A0 = {
|
|
3682
3682
|
key: 0,
|
|
3683
3683
|
class: "ao-card-template__col-body ao-card-template__phases-list"
|
|
3684
3684
|
}, T0 = { class: "ao-card-template__footer" }, S0 = {
|
|
@@ -3730,12 +3730,12 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3730
3730
|
default: U(() => [
|
|
3731
3731
|
v("div", w0, [
|
|
3732
3732
|
v("div", $0, [
|
|
3733
|
-
v("div",
|
|
3733
|
+
v("div", k0, [
|
|
3734
3734
|
E(fe, {
|
|
3735
3735
|
name: "WaterfallChartRounded",
|
|
3736
3736
|
size: "sm"
|
|
3737
3737
|
}),
|
|
3738
|
-
v("span",
|
|
3738
|
+
v("span", M0, q(n.$t("template.phases.title")), 1)
|
|
3739
3739
|
]),
|
|
3740
3740
|
n.phases ? (f(), h("ul", A0, [
|
|
3741
3741
|
(f(!0), h(ve, null, ye(n.phases, (o) => (f(), N(O1, {
|
|
@@ -4292,13 +4292,13 @@ const p3 = async (t, e, a) => {
|
|
|
4292
4292
|
for (let A = 0; A < l.length; A++) {
|
|
4293
4293
|
const {
|
|
4294
4294
|
name: _,
|
|
4295
|
-
fn:
|
|
4295
|
+
fn: k
|
|
4296
4296
|
} = l[A], {
|
|
4297
4297
|
x: y,
|
|
4298
4298
|
y: L,
|
|
4299
4299
|
data: Z,
|
|
4300
4300
|
reset: W
|
|
4301
|
-
} = await
|
|
4301
|
+
} = await k({
|
|
4302
4302
|
x: c,
|
|
4303
4303
|
y: u,
|
|
4304
4304
|
initialPlacement: n,
|
|
@@ -4354,7 +4354,7 @@ async function Oa(t, e) {
|
|
|
4354
4354
|
elementContext: u = "floating",
|
|
4355
4355
|
altBoundary: p = !1,
|
|
4356
4356
|
padding: m = 0
|
|
4357
|
-
} = H1(e, t), w = v3(m), _ = l[p ? u === "floating" ? "reference" : "floating" : u],
|
|
4357
|
+
} = H1(e, t), w = v3(m), _ = l[p ? u === "floating" ? "reference" : "floating" : u], k = e1(await o.getClippingRect({
|
|
4358
4358
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
4359
4359
|
boundary: r,
|
|
4360
4360
|
rootBoundary: c,
|
|
@@ -4375,10 +4375,10 @@ async function Oa(t, e) {
|
|
|
4375
4375
|
strategy: d
|
|
4376
4376
|
}) : y);
|
|
4377
4377
|
return {
|
|
4378
|
-
top: (
|
|
4379
|
-
bottom: (W.bottom -
|
|
4380
|
-
left: (
|
|
4381
|
-
right: (W.right -
|
|
4378
|
+
top: (k.top - W.top + w.top) / Z.y,
|
|
4379
|
+
bottom: (W.bottom - k.bottom + w.bottom) / Z.y,
|
|
4380
|
+
left: (k.left - W.left + w.left) / Z.x,
|
|
4381
|
+
right: (W.right - k.right + w.right) / Z.x
|
|
4382
4382
|
};
|
|
4383
4383
|
}
|
|
4384
4384
|
const h3 = function(t) {
|
|
@@ -4405,11 +4405,11 @@ const h3 = function(t) {
|
|
|
4405
4405
|
} = H1(t, e);
|
|
4406
4406
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4407
4407
|
return {};
|
|
4408
|
-
const
|
|
4408
|
+
const k = mt(s), y = mt(l) === l, L = await (d.isRTL == null ? void 0 : d.isRTL(r.floating)), Z = p || (y || !A ? [Jt(l)] : u3(l));
|
|
4409
4409
|
!p && w !== "none" && Z.push(...c3(l, A, w, L));
|
|
4410
4410
|
const W = [l, ...Z], V = await Oa(e, _), x = [];
|
|
4411
4411
|
let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4412
|
-
if (c && x.push(V[
|
|
4412
|
+
if (c && x.push(V[k]), u) {
|
|
4413
4413
|
const S = r3(s, i, L);
|
|
4414
4414
|
x.push(V[S[0]], V[S[1]]);
|
|
4415
4415
|
}
|
|
@@ -4434,7 +4434,7 @@ const h3 = function(t) {
|
|
|
4434
4434
|
switch (m) {
|
|
4435
4435
|
case "bestFit": {
|
|
4436
4436
|
var g;
|
|
4437
|
-
const se = (g = te.map((re) => [re.placement, re.overflows.filter((
|
|
4437
|
+
const se = (g = te.map((re) => [re.placement, re.overflows.filter((M) => M > 0).reduce((M, F) => M + F, 0)]).sort((re, M) => re[1] - M[1])[0]) == null ? void 0 : g[0];
|
|
4438
4438
|
se && (ce = se);
|
|
4439
4439
|
break;
|
|
4440
4440
|
}
|
|
@@ -4472,11 +4472,11 @@ const h3 = function(t) {
|
|
|
4472
4472
|
} = n.floating;
|
|
4473
4473
|
let w, A;
|
|
4474
4474
|
r === "top" || r === "bottom" ? (w = r, A = c === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (A = r, w = c === "end" ? "top" : "bottom");
|
|
4475
|
-
const _ = m - d[w],
|
|
4476
|
-
let L = _, Z =
|
|
4475
|
+
const _ = m - d[w], k = p - d[A], y = !e.middlewareData.shift;
|
|
4476
|
+
let L = _, Z = k;
|
|
4477
4477
|
if (u) {
|
|
4478
4478
|
const V = p - d.left - d.right;
|
|
4479
|
-
Z = c || y ? Lt(
|
|
4479
|
+
Z = c || y ? Lt(k, V) : V;
|
|
4480
4480
|
} else {
|
|
4481
4481
|
const V = m - d.top - d.bottom;
|
|
4482
4482
|
L = c || y ? Lt(_, V) : V;
|
|
@@ -4637,7 +4637,7 @@ function at(t, e, a, n) {
|
|
|
4637
4637
|
const p = we(o), m = n && je(n) ? we(n) : n;
|
|
4638
4638
|
let w = p.frameElement;
|
|
4639
4639
|
for (; w && n && m !== p; ) {
|
|
4640
|
-
const A = pt(w), _ = w.getBoundingClientRect(),
|
|
4640
|
+
const A = pt(w), _ = w.getBoundingClientRect(), k = Ie(w), y = _.left + (w.clientLeft + parseFloat(k.paddingLeft)) * A.x, L = _.top + (w.clientTop + parseFloat(k.paddingTop)) * A.y;
|
|
4641
4641
|
d *= A.x, r *= A.y, c *= A.x, u *= A.y, d += y, r += L, w = we(w).frameElement;
|
|
4642
4642
|
}
|
|
4643
4643
|
}
|
|
@@ -4690,7 +4690,7 @@ function $3(t) {
|
|
|
4690
4690
|
y: l
|
|
4691
4691
|
};
|
|
4692
4692
|
}
|
|
4693
|
-
function
|
|
4693
|
+
function k3(t, e) {
|
|
4694
4694
|
const a = we(t), n = Ze(t), s = a.visualViewport;
|
|
4695
4695
|
let o = n.clientWidth, i = n.clientHeight, l = 0, d = 0;
|
|
4696
4696
|
if (s) {
|
|
@@ -4705,7 +4705,7 @@ function M3(t, e) {
|
|
|
4705
4705
|
y: d
|
|
4706
4706
|
};
|
|
4707
4707
|
}
|
|
4708
|
-
function
|
|
4708
|
+
function M3(t, e) {
|
|
4709
4709
|
const a = at(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Pe(t) ? pt(t) : Ge(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, d = s * o.x, r = n * o.y;
|
|
4710
4710
|
return {
|
|
4711
4711
|
width: i,
|
|
@@ -4717,11 +4717,11 @@ function k3(t, e) {
|
|
|
4717
4717
|
function la(t, e, a) {
|
|
4718
4718
|
let n;
|
|
4719
4719
|
if (e === "viewport")
|
|
4720
|
-
n =
|
|
4720
|
+
n = k3(t, a);
|
|
4721
4721
|
else if (e === "document")
|
|
4722
4722
|
n = $3(Ze(t));
|
|
4723
4723
|
else if (je(e))
|
|
4724
|
-
n =
|
|
4724
|
+
n = M3(e, a);
|
|
4725
4725
|
else {
|
|
4726
4726
|
const s = Ha(t);
|
|
4727
4727
|
n = {
|
|
@@ -4887,15 +4887,15 @@ function D3(t, e, a, n) {
|
|
|
4887
4887
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
4888
4888
|
animationFrame: d = !1
|
|
4889
4889
|
} = n, r = R1(t), c = s || o ? [...r ? Vt(r) : [], ...Vt(e)] : [];
|
|
4890
|
-
c.forEach((
|
|
4891
|
-
s &&
|
|
4890
|
+
c.forEach((k) => {
|
|
4891
|
+
s && k.addEventListener("scroll", a, {
|
|
4892
4892
|
passive: !0
|
|
4893
|
-
}), o &&
|
|
4893
|
+
}), o && k.addEventListener("resize", a);
|
|
4894
4894
|
});
|
|
4895
4895
|
const u = r && l ? V3(r, a) : null;
|
|
4896
4896
|
let p = -1, m = null;
|
|
4897
|
-
i && (m = new ResizeObserver((
|
|
4898
|
-
let [y] =
|
|
4897
|
+
i && (m = new ResizeObserver((k) => {
|
|
4898
|
+
let [y] = k;
|
|
4899
4899
|
y && y.target === r && m && (m.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
4900
4900
|
m && m.observe(e);
|
|
4901
4901
|
})), a();
|
|
@@ -4903,12 +4903,12 @@ function D3(t, e, a, n) {
|
|
|
4903
4903
|
let w, A = d ? at(t) : null;
|
|
4904
4904
|
d && _();
|
|
4905
4905
|
function _() {
|
|
4906
|
-
const
|
|
4907
|
-
A && (
|
|
4906
|
+
const k = at(t);
|
|
4907
|
+
A && (k.x !== A.x || k.y !== A.y || k.width !== A.width || k.height !== A.height) && a(), A = k, w = requestAnimationFrame(_);
|
|
4908
4908
|
}
|
|
4909
4909
|
return a(), () => {
|
|
4910
|
-
c.forEach((
|
|
4911
|
-
s &&
|
|
4910
|
+
c.forEach((k) => {
|
|
4911
|
+
s && k.removeEventListener("scroll", a), o && k.removeEventListener("resize", a);
|
|
4912
4912
|
}), u && u(), m && m.disconnect(), m = null, d && cancelAnimationFrame(w);
|
|
4913
4913
|
};
|
|
4914
4914
|
}
|
|
@@ -5028,7 +5028,7 @@ function R3(t, e, a) {
|
|
|
5028
5028
|
if (n && n.value) {
|
|
5029
5029
|
let A = (m.clipboardData || /* istanbul ignore next */
|
|
5030
5030
|
window.clipboardData).getData("Text"), _ = n.value;
|
|
5031
|
-
typeof _ == "string" && (_ = new RegExp(_)), A.split("").every((
|
|
5031
|
+
typeof _ == "string" && (_ = new RegExp(_)), A.split("").every((k) => !!k.match(_)) || m.preventDefault();
|
|
5032
5032
|
}
|
|
5033
5033
|
e.emit("paste", m, s);
|
|
5034
5034
|
};
|
|
@@ -5055,7 +5055,7 @@ function U3(t, e, a) {
|
|
|
5055
5055
|
}
|
|
5056
5056
|
};
|
|
5057
5057
|
}
|
|
5058
|
-
function
|
|
5058
|
+
function M1(t, e = !0) {
|
|
5059
5059
|
return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5060
5060
|
}
|
|
5061
5061
|
function j3(t) {
|
|
@@ -5083,7 +5083,7 @@ function F3(t, e, a) {
|
|
|
5083
5083
|
object: w,
|
|
5084
5084
|
loading: A,
|
|
5085
5085
|
delay: _,
|
|
5086
|
-
resolveOnLoad:
|
|
5086
|
+
resolveOnLoad: k,
|
|
5087
5087
|
minChars: y,
|
|
5088
5088
|
filterResults: L,
|
|
5089
5089
|
clearOnSearch: Z,
|
|
@@ -5099,19 +5099,19 @@ function F3(t, e, a) {
|
|
|
5099
5099
|
groups: ce,
|
|
5100
5100
|
reverse: se,
|
|
5101
5101
|
infinite: re,
|
|
5102
|
-
groupOptions:
|
|
5102
|
+
groupOptions: M,
|
|
5103
5103
|
groupHideEmpty: F,
|
|
5104
5104
|
groupSelect: j,
|
|
5105
5105
|
onCreate: ae,
|
|
5106
5106
|
disabledProp: oe,
|
|
5107
5107
|
searchStart: $,
|
|
5108
5108
|
searchFilter: Y
|
|
5109
|
-
} = $e(t), ie = st().proxy, H = a.iv, O = a.ev, R = a.search, me = a.clearSearch,
|
|
5109
|
+
} = $e(t), ie = st().proxy, H = a.iv, O = a.ev, R = a.search, me = a.clearSearch, ke = a.update, ja = a.pointer, it = a.clearPointer, Za = a.focus, Fa = a.deactivate, ot = a.close, qa = a.localize, yt = Q([]), Fe = Q([]), Le = Q(!1), p1 = Q(null), h1 = Q(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => d.value || r.value || !1), za = b(() => u.value !== void 0 ? u.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
|
|
5110
5110
|
if (ce.value) {
|
|
5111
5111
|
let C = jt.value || /* istanbul ignore next */
|
|
5112
5112
|
[], D = [];
|
|
5113
5113
|
return C.forEach((ne) => {
|
|
5114
|
-
b1(ne[
|
|
5114
|
+
b1(ne[M.value]).forEach((pe) => {
|
|
5115
5115
|
D.push(Object.assign({}, pe, ne[oe.value] ? { [oe.value]: !0 } : {}));
|
|
5116
5116
|
});
|
|
5117
5117
|
}), D;
|
|
@@ -5133,14 +5133,14 @@ function F3(t, e, a) {
|
|
|
5133
5133
|
[];
|
|
5134
5134
|
return yt.value.length && C.push({
|
|
5135
5135
|
[te.value]: " ",
|
|
5136
|
-
[
|
|
5136
|
+
[M.value]: [...yt.value],
|
|
5137
5137
|
__CREATE__: !0
|
|
5138
5138
|
}), C.concat(D);
|
|
5139
5139
|
}), Wa = b(() => {
|
|
5140
5140
|
let C = [...jt.value].map((D) => ({ ...D }));
|
|
5141
|
-
return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][
|
|
5141
|
+
return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][M.value] = [...lt.value, ...C[0][M.value]] : C = [{
|
|
5142
5142
|
[te.value]: " ",
|
|
5143
|
-
[
|
|
5143
|
+
[M.value]: [...lt.value],
|
|
5144
5144
|
__CREATE__: !0
|
|
5145
5145
|
}].concat(C)), C;
|
|
5146
5146
|
}), z1 = b(() => {
|
|
@@ -5149,12 +5149,12 @@ function F3(t, e, a) {
|
|
|
5149
5149
|
let C = Wa.value;
|
|
5150
5150
|
return ls((C || /* istanbul ignore next */
|
|
5151
5151
|
[]).map((D, ne) => {
|
|
5152
|
-
const pe = b1(D[
|
|
5152
|
+
const pe = b1(D[M.value]);
|
|
5153
5153
|
return {
|
|
5154
5154
|
...D,
|
|
5155
5155
|
index: ne,
|
|
5156
5156
|
group: !0,
|
|
5157
|
-
[
|
|
5157
|
+
[M.value]: y1(pe, !1).map((wt) => Object.assign({}, wt, D[oe.value] ? { [oe.value]: !0 } : {})),
|
|
5158
5158
|
__VISIBLE__: y1(pe).map((wt) => Object.assign({}, wt, D[oe.value] ? { [oe.value]: !0 } : {}))
|
|
5159
5159
|
};
|
|
5160
5160
|
}));
|
|
@@ -5182,11 +5182,11 @@ function F3(t, e, a) {
|
|
|
5182
5182
|
}), xa = b(() => A.value || Le.value), rt = (C) => {
|
|
5183
5183
|
switch (typeof C != "object" && (C = Re(C)), s.value) {
|
|
5184
5184
|
case "single":
|
|
5185
|
-
|
|
5185
|
+
ke(C);
|
|
5186
5186
|
break;
|
|
5187
5187
|
case "multiple":
|
|
5188
5188
|
case "tags":
|
|
5189
|
-
|
|
5189
|
+
ke(H.value.concat(C));
|
|
5190
5190
|
break;
|
|
5191
5191
|
}
|
|
5192
5192
|
e.emit("select", W1(C), C, ie);
|
|
@@ -5197,7 +5197,7 @@ function F3(t, e, a) {
|
|
|
5197
5197
|
break;
|
|
5198
5198
|
case "tags":
|
|
5199
5199
|
case "multiple":
|
|
5200
|
-
|
|
5200
|
+
ke(Array.isArray(C) ? H.value.filter((D) => C.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1) : H.value.filter((D) => D[V.value] != C[V.value]));
|
|
5201
5201
|
break;
|
|
5202
5202
|
}
|
|
5203
5203
|
e.emit("deselect", W1(C), C, ie);
|
|
@@ -5210,10 +5210,10 @@ function F3(t, e, a) {
|
|
|
5210
5210
|
}
|
|
5211
5211
|
Y1(C);
|
|
5212
5212
|
}, K1 = () => {
|
|
5213
|
-
e.emit("clear", ie),
|
|
5213
|
+
e.emit("clear", ie), ke(Xa.value);
|
|
5214
5214
|
}, Ne = (C) => {
|
|
5215
5215
|
if (C.group !== void 0)
|
|
5216
|
-
return s.value === "single" ? !1 : ss(C[
|
|
5216
|
+
return s.value === "single" ? !1 : ss(C[M.value]) && C[M.value].length;
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
5219
|
return !De(H.value) && H.value[V.value] == C[V.value];
|
|
@@ -5269,8 +5269,8 @@ function F3(t, e, a) {
|
|
|
5269
5269
|
switch (s.value) {
|
|
5270
5270
|
case "multiple":
|
|
5271
5271
|
case "tags":
|
|
5272
|
-
as(C[
|
|
5273
|
-
C[
|
|
5272
|
+
as(C[M.value]) ? ut(C[M.value]) : rt(
|
|
5273
|
+
C[M.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= J.value || J.value === -1)
|
|
5274
5274
|
);
|
|
5275
5275
|
break;
|
|
5276
5276
|
}
|
|
@@ -5285,14 +5285,14 @@ function F3(t, e, a) {
|
|
|
5285
5285
|
), is = (C) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(C), os = (C) => {
|
|
5286
5286
|
yt.value.push(C);
|
|
5287
5287
|
}, ls = (C) => F.value ? C.filter(
|
|
5288
|
-
(D) => R.value ? D.__VISIBLE__.length : D[
|
|
5288
|
+
(D) => R.value ? D.__VISIBLE__.length : D[M.value].length
|
|
5289
5289
|
) : C.filter((D) => R.value ? D.__VISIBLE__.length : !0), y1 = (C, D = !0) => {
|
|
5290
5290
|
let ne = C;
|
|
5291
5291
|
if (R.value && L.value) {
|
|
5292
5292
|
let pe = Y.value;
|
|
5293
|
-
pe || (pe = (wt,
|
|
5294
|
-
let x1 =
|
|
5295
|
-
return $.value ? x1.startsWith(
|
|
5293
|
+
pe || (pe = (wt, s8) => {
|
|
5294
|
+
let x1 = M1(qa(wt[Ve.value]), g.value);
|
|
5295
|
+
return $.value ? x1.startsWith(M1(R.value, g.value)) : x1.indexOf(M1(R.value, g.value)) !== -1;
|
|
5296
5296
|
}), ne = ne.filter(pe);
|
|
5297
5297
|
}
|
|
5298
5298
|
return l.value && D && (ne = ne.filter((pe) => !is(pe))), ne;
|
|
@@ -5354,24 +5354,24 @@ function F3(t, e, a) {
|
|
|
5354
5354
|
};
|
|
5355
5355
|
if (s.value !== "single" && !De(O.value) && !Array.isArray(O.value))
|
|
5356
5356
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5357
|
-
return n && typeof n.value == "function" ?
|
|
5357
|
+
return n && typeof n.value == "function" ? k.value ? Ft(Zt) : w.value == !0 && Zt() : (Fe.value = n.value, Zt()), _.value > -1 && X1(), ue(_, (C, D) => {
|
|
5358
5358
|
p1.value && p1.value(), C >= 0 && X1();
|
|
5359
5359
|
}), ue(O, (C) => {
|
|
5360
5360
|
if (De(C)) {
|
|
5361
|
-
|
|
5361
|
+
ke(qt(C), !1);
|
|
5362
5362
|
return;
|
|
5363
5363
|
}
|
|
5364
5364
|
switch (s.value) {
|
|
5365
5365
|
case "single":
|
|
5366
|
-
(w.value ? C[V.value] != H.value[V.value] : C != H.value[V.value]) &&
|
|
5366
|
+
(w.value ? C[V.value] != H.value[V.value] : C != H.value[V.value]) && ke(qt(C), !1);
|
|
5367
5367
|
break;
|
|
5368
5368
|
case "multiple":
|
|
5369
5369
|
case "tags":
|
|
5370
|
-
Z3(w.value ? C.map((D) => D[V.value]) : C, H.value.map((D) => D[V.value])) ||
|
|
5370
|
+
Z3(w.value ? C.map((D) => D[V.value]) : C, H.value.map((D) => D[V.value])) || ke(qt(C), !1);
|
|
5371
5371
|
break;
|
|
5372
5372
|
}
|
|
5373
5373
|
}, { deep: !0 }), ue(n, (C, D) => {
|
|
5374
|
-
typeof t.options == "function" ?
|
|
5374
|
+
typeof t.options == "function" ? k.value && (!D || C && C.toString() !== D.toString()) && Ft() : (Fe.value = t.options, Object.keys(H.value).length || Zt(), w1());
|
|
5375
5375
|
}), ue(c, w1), {
|
|
5376
5376
|
pfo: q1,
|
|
5377
5377
|
fo: bt,
|
|
@@ -5417,50 +5417,50 @@ function q3(t, e, a) {
|
|
|
5417
5417
|
groupSelect: r,
|
|
5418
5418
|
disabledProp: c,
|
|
5419
5419
|
groupOptions: u
|
|
5420
|
-
} = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search,
|
|
5421
|
-
const O = I.value ?
|
|
5420
|
+
} = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, k = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), x = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), I = b(() => k.value && k.value.group), J = b(() => ie(k.value)), g = b(() => {
|
|
5421
|
+
const O = I.value ? k.value : (
|
|
5422
5422
|
/* istanbul ignore next */
|
|
5423
|
-
ie(
|
|
5424
|
-
), R = x.value.map((
|
|
5423
|
+
ie(k.value)
|
|
5424
|
+
), R = x.value.map((ke) => ke[i.value]).indexOf(O[i.value]);
|
|
5425
5425
|
let me = x.value[R - 1];
|
|
5426
5426
|
return me === void 0 && (me = P.value), me;
|
|
5427
5427
|
}), S = b(() => {
|
|
5428
|
-
let O = x.value.map((R) => R.label).indexOf(I.value ?
|
|
5428
|
+
let O = x.value.map((R) => R.label).indexOf(I.value ? k.value[i.value] : ie(k.value)[i.value]) + 1;
|
|
5429
5429
|
return x.value.length <= O && (O = 0), x.value[O];
|
|
5430
|
-
}), P = b(() => [...x.value].slice(-1)[0]), ce = b(() =>
|
|
5430
|
+
}), P = b(() => [...x.value].slice(-1)[0]), ce = b(() => k.value.__VISIBLE__.filter((O) => !O[c.value])[0]), se = b(() => {
|
|
5431
5431
|
const O = J.value.__VISIBLE__.filter((R) => !R[c.value]);
|
|
5432
|
-
return O[O.map((R) => R[n.value]).indexOf(
|
|
5432
|
+
return O[O.map((R) => R[n.value]).indexOf(k.value[n.value]) - 1];
|
|
5433
5433
|
}), re = b(() => {
|
|
5434
|
-
const O = ie(
|
|
5435
|
-
return O[O.map((R) => R[n.value]).indexOf(
|
|
5436
|
-
}),
|
|
5434
|
+
const O = ie(k.value).__VISIBLE__.filter((R) => !R[c.value]);
|
|
5435
|
+
return O[O.map((R) => R[n.value]).indexOf(k.value[n.value]) + 1];
|
|
5436
|
+
}), M = b(() => [...g.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), F = b(() => [...P.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), j = (O) => k.value && (!O.group && k.value[n.value] === O[n.value] || O.group !== void 0 && k.value[i.value] === O[i.value]) ? !0 : void 0, ae = () => {
|
|
5437
5437
|
y(V.value[0] || null);
|
|
5438
5438
|
}, oe = () => {
|
|
5439
|
-
!
|
|
5439
|
+
!k.value || k.value[c.value] === !0 || (I.value ? A(k.value) : w(k.value));
|
|
5440
5440
|
}, $ = () => {
|
|
5441
|
-
if (
|
|
5441
|
+
if (k.value === null)
|
|
5442
5442
|
y((l.value && te.value ? x.value[0].__CREATE__ ? V.value[0] : x.value[0] : V.value[0]) || null);
|
|
5443
5443
|
else if (l.value && te.value) {
|
|
5444
5444
|
let O = I.value ? ce.value : re.value;
|
|
5445
5445
|
O === void 0 && (O = S.value, O.__CREATE__ && (O = O[u.value][0])), y(O || /* istanbul ignore next */
|
|
5446
5446
|
null);
|
|
5447
5447
|
} else {
|
|
5448
|
-
let O = V.value.map((R) => R[n.value]).indexOf(
|
|
5448
|
+
let O = V.value.map((R) => R[n.value]).indexOf(k.value[n.value]) + 1;
|
|
5449
5449
|
V.value.length <= O && (O = 0), y(V.value[O] || null);
|
|
5450
5450
|
}
|
|
5451
5451
|
Oe(() => {
|
|
5452
5452
|
H();
|
|
5453
5453
|
});
|
|
5454
5454
|
}, Y = () => {
|
|
5455
|
-
if (
|
|
5455
|
+
if (k.value === null) {
|
|
5456
5456
|
let O = V.value[V.value.length - 1];
|
|
5457
5457
|
l.value && te.value && (O = F.value, O === void 0 && (O = P.value)), y(O || null);
|
|
5458
5458
|
} else if (l.value && te.value) {
|
|
5459
|
-
let O = I.value ?
|
|
5460
|
-
O === void 0 && (O = I.value ? g.value : J.value, O.__CREATE__ && (O =
|
|
5459
|
+
let O = I.value ? M.value : se.value;
|
|
5460
|
+
O === void 0 && (O = I.value ? g.value : J.value, O.__CREATE__ && (O = M.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
|
|
5461
5461
|
null);
|
|
5462
5462
|
} else {
|
|
5463
|
-
let O = V.value.map((R) => R[n.value]).indexOf(
|
|
5463
|
+
let O = V.value.map((R) => R[n.value]).indexOf(k.value[n.value]) - 1;
|
|
5464
5464
|
O < 0 && (O = V.value.length - 1), y(V.value[O] || null);
|
|
5465
5465
|
}
|
|
5466
5466
|
Oe(() => {
|
|
@@ -5486,7 +5486,7 @@ function q3(t, e, a) {
|
|
|
5486
5486
|
});
|
|
5487
5487
|
}
|
|
5488
5488
|
}), {
|
|
5489
|
-
pointer:
|
|
5489
|
+
pointer: k,
|
|
5490
5490
|
canPointGroups: te,
|
|
5491
5491
|
isPointed: j,
|
|
5492
5492
|
setPointerFirst: ae,
|
|
@@ -5508,7 +5508,7 @@ function z3(t, e, a) {
|
|
|
5508
5508
|
};
|
|
5509
5509
|
}
|
|
5510
5510
|
function W3(t, e, a) {
|
|
5511
|
-
const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1), A = Q(!1), _ = b(() => n.value || s.value ? -1 : 0),
|
|
5511
|
+
const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1), A = Q(!1), _ = b(() => n.value || s.value ? -1 : 0), k = () => {
|
|
5512
5512
|
n.value && i.value.blur(), p.value.blur();
|
|
5513
5513
|
}, y = () => {
|
|
5514
5514
|
n.value && !s.value && i.value.focus();
|
|
@@ -5526,7 +5526,7 @@ function W3(t, e, a) {
|
|
|
5526
5526
|
tabindex: _,
|
|
5527
5527
|
isActive: w,
|
|
5528
5528
|
mouseClicked: A,
|
|
5529
|
-
blur:
|
|
5529
|
+
blur: k,
|
|
5530
5530
|
focus: y,
|
|
5531
5531
|
activate: L,
|
|
5532
5532
|
deactivate: Z,
|
|
@@ -5537,7 +5537,7 @@ function W3(t, e, a) {
|
|
|
5537
5537
|
Z();
|
|
5538
5538
|
},
|
|
5539
5539
|
handleCaretClick: () => {
|
|
5540
|
-
Z(),
|
|
5540
|
+
Z(), k();
|
|
5541
5541
|
},
|
|
5542
5542
|
handleMousedown: (I) => {
|
|
5543
5543
|
A.value = !0, c.value && (I.target.isEqualNode(p.value) || I.target.isEqualNode(m.value)) ? setTimeout(() => {
|
|
@@ -5561,8 +5561,8 @@ function Y3(t, e, a) {
|
|
|
5561
5561
|
createTag: u,
|
|
5562
5562
|
createOption: p,
|
|
5563
5563
|
reverse: m
|
|
5564
|
-
} = $e(t), w = st().proxy, A = a.iv, _ = a.update,
|
|
5565
|
-
n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf(
|
|
5564
|
+
} = $e(t), w = st().proxy, A = a.iv, _ = a.update, k = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, x = a.wrapper, te = a.tags, I = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), ce = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
|
|
5565
|
+
n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf(k.value)]);
|
|
5566
5566
|
}, re = (j) => {
|
|
5567
5567
|
let ae = j.length - 1;
|
|
5568
5568
|
for (; ae >= 0 && (j[ae].remove === !1 || j[ae].disabled); )
|
|
@@ -5575,7 +5575,7 @@ function Y3(t, e, a) {
|
|
|
5575
5575
|
let ae, oe;
|
|
5576
5576
|
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(j.key) !== -1 && n.value === "tags" && (ae = [...V.value.querySelectorAll("[data-tags] > *")].filter(($) => $ !== te.value), oe = ae.findIndex(($) => $ === document.activeElement)), j.key) {
|
|
5577
5577
|
case "Backspace":
|
|
5578
|
-
if (n.value === "single" || i.value && [null, ""].indexOf(
|
|
5578
|
+
if (n.value === "single" || i.value && [null, ""].indexOf(k.value) === -1 || A.value.length === 0)
|
|
5579
5579
|
return;
|
|
5580
5580
|
_(re([...A.value]));
|
|
5581
5581
|
break;
|
|
@@ -5751,9 +5751,9 @@ function G3(t, e, a) {
|
|
|
5751
5751
|
limit: n,
|
|
5752
5752
|
infinite: s
|
|
5753
5753
|
} = $e(t), o = a.isOpen, i = a.offset, l = a.search, d = a.pfo, r = a.eo, c = Q(null), u = Q(null), p = b(() => i.value < d.value.length), m = (A) => {
|
|
5754
|
-
const { isIntersecting: _, target:
|
|
5754
|
+
const { isIntersecting: _, target: k } = A[0];
|
|
5755
5755
|
if (_) {
|
|
5756
|
-
const y =
|
|
5756
|
+
const y = k.offsetParent, L = y.scrollTop;
|
|
5757
5757
|
i.value += n.value == -1 ? 10 : n.value, Oe(() => {
|
|
5758
5758
|
y.scrollTop = L;
|
|
5759
5759
|
});
|
|
@@ -5787,7 +5787,7 @@ function X3(t, e, a) {
|
|
|
5787
5787
|
} = $e(t), u = a.pointer, p = a.iv, m = a.hasSelected, w = a.multipleLabelText, A = Q(null), _ = b(() => {
|
|
5788
5788
|
let S = [];
|
|
5789
5789
|
return s && s.value && S.push(s.value), S.push("assist"), S.join("-");
|
|
5790
|
-
}),
|
|
5790
|
+
}), k = b(() => {
|
|
5791
5791
|
let S = [];
|
|
5792
5792
|
return s && s.value && S.push(s.value), S.push("multiselect-options"), S.join("-");
|
|
5793
5793
|
}), y = b(() => {
|
|
@@ -5822,7 +5822,7 @@ function X3(t, e, a) {
|
|
|
5822
5822
|
arias: V,
|
|
5823
5823
|
ariaLabel: W,
|
|
5824
5824
|
ariaAssist: _,
|
|
5825
|
-
ariaControls:
|
|
5825
|
+
ariaControls: k,
|
|
5826
5826
|
ariaPlaceholder: L,
|
|
5827
5827
|
ariaMultiselectable: Z,
|
|
5828
5828
|
ariaActiveDescendant: y,
|
|
@@ -6747,7 +6747,7 @@ async function Ue(t, e) {
|
|
|
6747
6747
|
i == null || i.select();
|
|
6748
6748
|
}
|
|
6749
6749
|
}
|
|
6750
|
-
const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"],
|
|
6750
|
+
const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], k5 = { class: "ao-tasks__list-footer" }, M5 = /* @__PURE__ */ K({
|
|
6751
6751
|
__name: "AoActivityTasks",
|
|
6752
6752
|
props: {
|
|
6753
6753
|
activityId: {},
|
|
@@ -6839,12 +6839,12 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6839
6839
|
caret: u.isEditable,
|
|
6840
6840
|
onChange: (_) => r(_, m.id)
|
|
6841
6841
|
}, {
|
|
6842
|
-
tag: U(({ option: _, handleTagRemove:
|
|
6842
|
+
tag: U(({ option: _, handleTagRemove: k }) => [
|
|
6843
6843
|
E(gt, {
|
|
6844
6844
|
"user-name": _.label,
|
|
6845
6845
|
"avatar-url": _.avatar,
|
|
6846
6846
|
"is-closable": !0,
|
|
6847
|
-
onClose: (y) =>
|
|
6847
|
+
onClose: (y) => k(_, y)
|
|
6848
6848
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
6849
6849
|
]),
|
|
6850
6850
|
_: 2
|
|
@@ -6861,7 +6861,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6861
6861
|
]);
|
|
6862
6862
|
}), 128))
|
|
6863
6863
|
]),
|
|
6864
|
-
v("div",
|
|
6864
|
+
v("div", k5, [
|
|
6865
6865
|
u.isEditable ? (f(), N(de, {
|
|
6866
6866
|
key: 0,
|
|
6867
6867
|
label: u.$t("activity.tasks.add"),
|
|
@@ -7010,11 +7010,11 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7010
7010
|
Oe(() => {
|
|
7011
7011
|
var _;
|
|
7012
7012
|
if (!o.value) {
|
|
7013
|
-
const
|
|
7014
|
-
A.value =
|
|
7013
|
+
const k = (_ = s.value) == null ? void 0 : _.getClientRects().length;
|
|
7014
|
+
A.value = k || 2;
|
|
7015
7015
|
}
|
|
7016
7016
|
});
|
|
7017
|
-
}), (_,
|
|
7017
|
+
}), (_, k) => {
|
|
7018
7018
|
var y;
|
|
7019
7019
|
return f(), h("li", H5, [
|
|
7020
7020
|
n.value ? (f(), N(gt, {
|
|
@@ -7183,7 +7183,7 @@ const K5 = {
|
|
|
7183
7183
|
}, c7 = { class: "ao-field__label" }, f7 = ["disabled"], v7 = {
|
|
7184
7184
|
key: 0,
|
|
7185
7185
|
class: "ao-fieldset"
|
|
7186
|
-
}, p7 = { class: "ao-fieldset__title" }, h7 = { class: "ao-fieldset__body" }, m7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-fieldset" }, g7 = { class: "ao-fieldset__title" }, y7 = { class: "ao-fieldset__body" }, b7 = { class: "ao-fieldset" }, w7 = { class: "ao-fieldset__title" }, $7 = { class: "ao-fieldset__body" },
|
|
7186
|
+
}, p7 = { class: "ao-fieldset__title" }, h7 = { class: "ao-fieldset__body" }, m7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-fieldset" }, g7 = { class: "ao-fieldset__title" }, y7 = { class: "ao-fieldset__body" }, b7 = { class: "ao-fieldset" }, w7 = { class: "ao-fieldset__title" }, $7 = { class: "ao-fieldset__body" }, k7 = { class: "ao-field__row" }, M7 = { class: "ao-field ao-field--multiselect" }, A7 = { class: "ao-field__label" }, T7 = { class: "ao-field__row" }, S7 = { class: "ao-field ao-field--multiselect" }, E7 = { class: "ao-field__label" }, I7 = { class: "ao-fieldset" }, O7 = {
|
|
7187
7187
|
key: 0,
|
|
7188
7188
|
class: "ao-field__row"
|
|
7189
7189
|
}, L7 = { class: "ao-field ao-field--multiselect" }, V7 = { class: "ao-field__label" }, D7 = {
|
|
@@ -7297,7 +7297,7 @@ const K5 = {
|
|
|
7297
7297
|
e("addSubtask", g);
|
|
7298
7298
|
}, _ = (g) => {
|
|
7299
7299
|
e("updateSubtask", g);
|
|
7300
|
-
},
|
|
7300
|
+
}, k = (g) => {
|
|
7301
7301
|
e("deleteSubtask", g);
|
|
7302
7302
|
}, y = b(() => {
|
|
7303
7303
|
var g;
|
|
@@ -7507,7 +7507,7 @@ const K5 = {
|
|
|
7507
7507
|
}, null, 8, ["title"])
|
|
7508
7508
|
]),
|
|
7509
7509
|
v("div", y7, [
|
|
7510
|
-
E(
|
|
7510
|
+
E(M5, {
|
|
7511
7511
|
class: "ao-activity-details__tasks ao-field__row",
|
|
7512
7512
|
tasks: g.activity.tasks || [],
|
|
7513
7513
|
"activity-id": g.activity.id,
|
|
@@ -7517,7 +7517,7 @@ const K5 = {
|
|
|
7517
7517
|
"is-template": g.isTemplate,
|
|
7518
7518
|
onAdd: A,
|
|
7519
7519
|
onUpdate: _,
|
|
7520
|
-
onDelete:
|
|
7520
|
+
onDelete: k
|
|
7521
7521
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
7522
7522
|
])
|
|
7523
7523
|
]),
|
|
@@ -7530,8 +7530,8 @@ const K5 = {
|
|
|
7530
7530
|
}, null, 8, ["title"])
|
|
7531
7531
|
]),
|
|
7532
7532
|
v("div", $7, [
|
|
7533
|
-
v("div",
|
|
7534
|
-
v("label",
|
|
7533
|
+
v("div", k7, [
|
|
7534
|
+
v("label", M7, [
|
|
7535
7535
|
v("span", A7, q(g.$t("activity.dependingOn.label")), 1),
|
|
7536
7536
|
E(be, {
|
|
7537
7537
|
modelValue: u.value,
|
|
@@ -7633,10 +7633,10 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7633
7633
|
get() {
|
|
7634
7634
|
return n.value;
|
|
7635
7635
|
},
|
|
7636
|
-
set(
|
|
7637
|
-
n.value =
|
|
7636
|
+
set(k) {
|
|
7637
|
+
n.value = k, e("update:rule", {
|
|
7638
7638
|
...a.rule,
|
|
7639
|
-
itemType:
|
|
7639
|
+
itemType: k,
|
|
7640
7640
|
subItemId: void 0
|
|
7641
7641
|
});
|
|
7642
7642
|
}
|
|
@@ -7644,10 +7644,10 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7644
7644
|
get() {
|
|
7645
7645
|
return a.rule.subItemId;
|
|
7646
7646
|
},
|
|
7647
|
-
set(
|
|
7647
|
+
set(k) {
|
|
7648
7648
|
e("update:rule", {
|
|
7649
7649
|
...a.rule,
|
|
7650
|
-
subItemId:
|
|
7650
|
+
subItemId: k,
|
|
7651
7651
|
itemType: a.rule.itemType || s.value
|
|
7652
7652
|
});
|
|
7653
7653
|
}
|
|
@@ -7665,32 +7665,32 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7665
7665
|
get() {
|
|
7666
7666
|
return d.value;
|
|
7667
7667
|
},
|
|
7668
|
-
set(
|
|
7669
|
-
e("update:rule", { ...a.rule, comparator:
|
|
7668
|
+
set(k) {
|
|
7669
|
+
e("update:rule", { ...a.rule, comparator: k });
|
|
7670
7670
|
}
|
|
7671
7671
|
}), c = b(() => Object.values(bd)), u = vt(a.rule.trigger), p = b({
|
|
7672
7672
|
get() {
|
|
7673
7673
|
return u.value;
|
|
7674
7674
|
},
|
|
7675
|
-
set(
|
|
7676
|
-
e("update:rule", { ...a.rule, trigger:
|
|
7675
|
+
set(k) {
|
|
7676
|
+
e("update:rule", { ...a.rule, trigger: k });
|
|
7677
7677
|
}
|
|
7678
7678
|
}), m = b(() => Object.values(wd)), w = b({
|
|
7679
7679
|
get() {
|
|
7680
7680
|
return a.rule.duration;
|
|
7681
7681
|
},
|
|
7682
|
-
set(
|
|
7683
|
-
e("update:rule", { ...a.rule, duration:
|
|
7682
|
+
set(k) {
|
|
7683
|
+
e("update:rule", { ...a.rule, duration: k });
|
|
7684
7684
|
}
|
|
7685
7685
|
}), A = b({
|
|
7686
7686
|
get() {
|
|
7687
7687
|
return a.rule.durationUnit;
|
|
7688
7688
|
},
|
|
7689
|
-
set(
|
|
7690
|
-
e("update:rule", { ...a.rule, durationUnit:
|
|
7689
|
+
set(k) {
|
|
7690
|
+
e("update:rule", { ...a.rule, durationUnit: k });
|
|
7691
7691
|
}
|
|
7692
7692
|
}), _ = b(() => Object.values($d));
|
|
7693
|
-
return (
|
|
7693
|
+
return (k, y) => (f(), N(xe(k.tagName), { class: "ao-rule-line" }, {
|
|
7694
7694
|
default: U(() => [
|
|
7695
7695
|
E(z(We), {
|
|
7696
7696
|
modelValue: s.value,
|
|
@@ -7733,7 +7733,7 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7733
7733
|
class: "ao-rule-line__remove",
|
|
7734
7734
|
"icon-name": "CloseRounded",
|
|
7735
7735
|
variant: "ghost",
|
|
7736
|
-
onClick: y[6] || (y[6] = (L) =>
|
|
7736
|
+
onClick: y[6] || (y[6] = (L) => k.$emit("close"))
|
|
7737
7737
|
})
|
|
7738
7738
|
]),
|
|
7739
7739
|
_: 1
|
|
@@ -7812,8 +7812,8 @@ const j7 = {
|
|
|
7812
7812
|
setup(t, { emit: e }) {
|
|
7813
7813
|
const a = t, { t: n } = nt(), s = b(
|
|
7814
7814
|
() => {
|
|
7815
|
-
var
|
|
7816
|
-
return (
|
|
7815
|
+
var M;
|
|
7816
|
+
return (M = a.templates) == null ? void 0 : M.find((F) => F.id === a.templateId);
|
|
7817
7817
|
}
|
|
7818
7818
|
), o = Q(!1);
|
|
7819
7819
|
ue(
|
|
@@ -7821,50 +7821,50 @@ const j7 = {
|
|
|
7821
7821
|
() => o.value = !1
|
|
7822
7822
|
), ue(
|
|
7823
7823
|
() => {
|
|
7824
|
-
var
|
|
7825
|
-
return (
|
|
7824
|
+
var M;
|
|
7825
|
+
return (M = s.value) == null ? void 0 : M.phases;
|
|
7826
7826
|
},
|
|
7827
|
-
(
|
|
7828
|
-
o.value && Ue(
|
|
7827
|
+
(M, F) => {
|
|
7828
|
+
o.value && Ue(M, F);
|
|
7829
7829
|
}
|
|
7830
7830
|
);
|
|
7831
7831
|
const i = b(() => {
|
|
7832
|
-
var
|
|
7833
|
-
return (F = (
|
|
7832
|
+
var M, F;
|
|
7833
|
+
return (F = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : F.find((j) => j.id === a.phaseId);
|
|
7834
7834
|
});
|
|
7835
7835
|
ue(
|
|
7836
7836
|
() => {
|
|
7837
|
-
var
|
|
7838
|
-
return (
|
|
7837
|
+
var M;
|
|
7838
|
+
return (M = i.value) == null ? void 0 : M.milestones;
|
|
7839
7839
|
},
|
|
7840
|
-
(
|
|
7841
|
-
o.value && Ue(
|
|
7840
|
+
(M, F) => {
|
|
7841
|
+
o.value && Ue(M, F);
|
|
7842
7842
|
}
|
|
7843
7843
|
);
|
|
7844
7844
|
const l = b(() => {
|
|
7845
|
-
var
|
|
7846
|
-
return (F = (
|
|
7845
|
+
var M, F;
|
|
7846
|
+
return (F = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : F.find(
|
|
7847
7847
|
(j) => j.id === a.milestoneId
|
|
7848
7848
|
);
|
|
7849
7849
|
});
|
|
7850
7850
|
ue(
|
|
7851
7851
|
() => {
|
|
7852
|
-
var
|
|
7853
|
-
return (
|
|
7852
|
+
var M;
|
|
7853
|
+
return (M = l.value) == null ? void 0 : M.activities;
|
|
7854
7854
|
},
|
|
7855
|
-
(
|
|
7856
|
-
o.value && Ue(
|
|
7855
|
+
(M, F) => {
|
|
7856
|
+
o.value && Ue(M, F);
|
|
7857
7857
|
}
|
|
7858
7858
|
);
|
|
7859
7859
|
const d = b(() => {
|
|
7860
|
-
var
|
|
7861
|
-
return ((F = (
|
|
7860
|
+
var M, F;
|
|
7861
|
+
return ((F = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : F.reduce((j, ae) => {
|
|
7862
7862
|
const oe = ae.milestones || [];
|
|
7863
7863
|
return [...j, ...oe];
|
|
7864
7864
|
}, [])) || [];
|
|
7865
7865
|
}), r = b(() => {
|
|
7866
|
-
var
|
|
7867
|
-
return ((F = (
|
|
7866
|
+
var M, F;
|
|
7867
|
+
return ((F = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : F.reduce((j, ae) => {
|
|
7868
7868
|
const $ = (ae.milestones || []).reduce(
|
|
7869
7869
|
(Y, ie) => ie.activities ? [...Y, ...ie.activities] : Y,
|
|
7870
7870
|
[]
|
|
@@ -7872,17 +7872,17 @@ const j7 = {
|
|
|
7872
7872
|
return [...j, ...$];
|
|
7873
7873
|
}, [])) || [];
|
|
7874
7874
|
}), c = b(() => {
|
|
7875
|
-
var
|
|
7876
|
-
return (F = (
|
|
7875
|
+
var M, F;
|
|
7876
|
+
return (F = (M = l.value) == null ? void 0 : M.activities) == null ? void 0 : F.find(
|
|
7877
7877
|
(j) => j.id === a.activityId
|
|
7878
7878
|
);
|
|
7879
7879
|
}), u = b(() => {
|
|
7880
|
-
var
|
|
7881
|
-
return ((
|
|
7880
|
+
var M;
|
|
7881
|
+
return ((M = s.value) == null ? void 0 : M.name) || a.templateId;
|
|
7882
7882
|
}), p = () => {
|
|
7883
7883
|
if (!s.value)
|
|
7884
7884
|
return;
|
|
7885
|
-
const { name:
|
|
7885
|
+
const { name: M, rank: F } = ht(
|
|
7886
7886
|
s.value.phases,
|
|
7887
7887
|
"phase",
|
|
7888
7888
|
n
|
|
@@ -7891,35 +7891,35 @@ const j7 = {
|
|
|
7891
7891
|
type: he.PHASES,
|
|
7892
7892
|
templateId: a.templateId,
|
|
7893
7893
|
item: {
|
|
7894
|
-
name:
|
|
7894
|
+
name: M,
|
|
7895
7895
|
rank: F
|
|
7896
7896
|
}
|
|
7897
7897
|
});
|
|
7898
|
-
}, m = (
|
|
7898
|
+
}, m = (M) => {
|
|
7899
7899
|
e("updateItem", {
|
|
7900
7900
|
templateId: a.templateId,
|
|
7901
7901
|
id: a.templateId,
|
|
7902
7902
|
itemType: he.TEMPLATES,
|
|
7903
|
-
data: { name:
|
|
7903
|
+
data: { name: M }
|
|
7904
7904
|
});
|
|
7905
|
-
}, w = (
|
|
7905
|
+
}, w = (M) => {
|
|
7906
7906
|
e("removeItem", {
|
|
7907
7907
|
type: he.PHASES,
|
|
7908
7908
|
templateId: a.templateId,
|
|
7909
7909
|
data: {
|
|
7910
|
-
id:
|
|
7910
|
+
id: M
|
|
7911
7911
|
}
|
|
7912
7912
|
});
|
|
7913
|
-
}, A = (
|
|
7913
|
+
}, A = (M, F) => {
|
|
7914
7914
|
e("updateItem", {
|
|
7915
7915
|
templateId: a.templateId,
|
|
7916
|
-
id:
|
|
7916
|
+
id: M,
|
|
7917
7917
|
itemType: he.PHASES,
|
|
7918
7918
|
data: { name: F }
|
|
7919
7919
|
});
|
|
7920
|
-
}, _ = (
|
|
7921
|
-
e("updateItem",
|
|
7922
|
-
},
|
|
7920
|
+
}, _ = (M) => {
|
|
7921
|
+
e("updateItem", M);
|
|
7922
|
+
}, k = (M) => {
|
|
7923
7923
|
if (!i.value)
|
|
7924
7924
|
return;
|
|
7925
7925
|
const { name: F, rank: j } = ht(
|
|
@@ -7930,32 +7930,32 @@ const j7 = {
|
|
|
7930
7930
|
o.value = !0, e("addItem", {
|
|
7931
7931
|
type: he.MILESTONES,
|
|
7932
7932
|
templateId: a.templateId,
|
|
7933
|
-
phaseId:
|
|
7933
|
+
phaseId: M.phaseId,
|
|
7934
7934
|
item: {
|
|
7935
7935
|
name: F,
|
|
7936
7936
|
rank: j,
|
|
7937
|
-
phaseId:
|
|
7937
|
+
phaseId: M.phaseId
|
|
7938
7938
|
}
|
|
7939
7939
|
});
|
|
7940
|
-
}, y = (
|
|
7940
|
+
}, y = (M) => {
|
|
7941
7941
|
e("removeItem", {
|
|
7942
7942
|
type: he.MILESTONES,
|
|
7943
7943
|
templateId: a.templateId,
|
|
7944
|
-
phaseId:
|
|
7944
|
+
phaseId: M.phaseId,
|
|
7945
7945
|
data: {
|
|
7946
|
-
id:
|
|
7946
|
+
id: M.id
|
|
7947
7947
|
}
|
|
7948
7948
|
});
|
|
7949
|
-
}, L = (
|
|
7950
|
-
const { id: F, ...j } =
|
|
7949
|
+
}, L = (M) => {
|
|
7950
|
+
const { id: F, ...j } = M;
|
|
7951
7951
|
e("updateItem", {
|
|
7952
7952
|
itemType: he.MILESTONES,
|
|
7953
7953
|
id: F,
|
|
7954
7954
|
templateId: a.templateId,
|
|
7955
7955
|
data: j
|
|
7956
7956
|
});
|
|
7957
|
-
}, Z = (
|
|
7958
|
-
const { milestoneId: F } =
|
|
7957
|
+
}, Z = (M) => {
|
|
7958
|
+
const { milestoneId: F } = M;
|
|
7959
7959
|
if (!l.value)
|
|
7960
7960
|
return;
|
|
7961
7961
|
const { name: j, rank: ae } = ht(
|
|
@@ -7969,7 +7969,7 @@ const j7 = {
|
|
|
7969
7969
|
templateId: a.templateId,
|
|
7970
7970
|
item: { name: j, rank: ae, milestoneId: F }
|
|
7971
7971
|
});
|
|
7972
|
-
}, W = (
|
|
7972
|
+
}, W = (M) => {
|
|
7973
7973
|
var F, j;
|
|
7974
7974
|
e("removeItem", {
|
|
7975
7975
|
type: he.ACTIVITIES,
|
|
@@ -7977,11 +7977,11 @@ const j7 = {
|
|
|
7977
7977
|
phaseId: (F = i.value) == null ? void 0 : F.id,
|
|
7978
7978
|
milestoneId: (j = l.value) == null ? void 0 : j.id,
|
|
7979
7979
|
data: {
|
|
7980
|
-
id:
|
|
7980
|
+
id: M.id
|
|
7981
7981
|
}
|
|
7982
7982
|
});
|
|
7983
|
-
}, V = (
|
|
7984
|
-
const { id: F, ...j } =
|
|
7983
|
+
}, V = (M) => {
|
|
7984
|
+
const { id: F, ...j } = M;
|
|
7985
7985
|
e("updateItem", {
|
|
7986
7986
|
itemType: he.ACTIVITIES,
|
|
7987
7987
|
id: F,
|
|
@@ -7992,57 +7992,57 @@ const j7 = {
|
|
|
7992
7992
|
x.value = !x.value;
|
|
7993
7993
|
}, I = () => {
|
|
7994
7994
|
e("addRule", { templateId: a.templateId });
|
|
7995
|
-
}, J = (
|
|
7996
|
-
e("removeRule", { id:
|
|
7997
|
-
}, g = (
|
|
7995
|
+
}, J = (M) => {
|
|
7996
|
+
e("removeRule", { id: M, templateId: a.templateId });
|
|
7997
|
+
}, g = (M) => {
|
|
7998
7998
|
var F;
|
|
7999
|
-
if (
|
|
8000
|
-
const j = Rt(
|
|
7999
|
+
if (M.moved) {
|
|
8000
|
+
const j = Rt(M, ((F = s.value) == null ? void 0 : F.phases) ?? []);
|
|
8001
8001
|
e("updateItem", {
|
|
8002
8002
|
itemType: he.PHASES,
|
|
8003
|
-
id:
|
|
8003
|
+
id: M.moved.element.id,
|
|
8004
8004
|
templateId: a.templateId,
|
|
8005
8005
|
data: {
|
|
8006
8006
|
rank: j
|
|
8007
8007
|
}
|
|
8008
8008
|
});
|
|
8009
8009
|
}
|
|
8010
|
-
}, S = (
|
|
8010
|
+
}, S = (M) => {
|
|
8011
8011
|
!i.value || !l.value || !c.value || e("addItem", {
|
|
8012
8012
|
type: he.TASKS,
|
|
8013
|
-
activityId:
|
|
8013
|
+
activityId: M.activityId,
|
|
8014
8014
|
milestoneId: l.value.id,
|
|
8015
8015
|
phaseId: i.value.id,
|
|
8016
8016
|
templateId: a.templateId,
|
|
8017
|
-
item:
|
|
8017
|
+
item: M
|
|
8018
8018
|
});
|
|
8019
|
-
}, P = (
|
|
8019
|
+
}, P = (M) => {
|
|
8020
8020
|
!i.value || !l.value || !c.value || e("updateItem", {
|
|
8021
8021
|
itemType: he.TASKS,
|
|
8022
|
-
id:
|
|
8022
|
+
id: M.id,
|
|
8023
8023
|
templateId: a.templateId,
|
|
8024
|
-
data:
|
|
8024
|
+
data: M
|
|
8025
8025
|
});
|
|
8026
|
-
}, ce = (
|
|
8026
|
+
}, ce = (M) => {
|
|
8027
8027
|
!i.value || !l.value || !c.value || e("removeItem", {
|
|
8028
8028
|
type: he.TASKS,
|
|
8029
8029
|
activityId: c.value.id,
|
|
8030
8030
|
milestoneId: l.value.id,
|
|
8031
8031
|
phaseId: i.value.id,
|
|
8032
8032
|
templateId: a.templateId,
|
|
8033
|
-
data:
|
|
8033
|
+
data: M
|
|
8034
8034
|
});
|
|
8035
|
-
}, se = (
|
|
8036
|
-
e("addFiles",
|
|
8037
|
-
}, re = (
|
|
8038
|
-
e("removeFile",
|
|
8035
|
+
}, se = (M) => {
|
|
8036
|
+
e("addFiles", M);
|
|
8037
|
+
}, re = (M) => {
|
|
8038
|
+
e("removeFile", M);
|
|
8039
8039
|
};
|
|
8040
|
-
return (
|
|
8040
|
+
return (M, F) => {
|
|
8041
8041
|
var j, ae, oe, $, Y, ie;
|
|
8042
8042
|
return s.value ? (f(), h("div", j7, [
|
|
8043
8043
|
E(d1, {
|
|
8044
8044
|
"can-go-back": !0,
|
|
8045
|
-
onGoBack: F[1] || (F[1] = (H) =>
|
|
8045
|
+
onGoBack: F[1] || (F[1] = (H) => M.$router.push({ name: z(ft).TEMPLATES_LIST }))
|
|
8046
8046
|
}, {
|
|
8047
8047
|
primary: U(() => [
|
|
8048
8048
|
E(Ce, {
|
|
@@ -8068,7 +8068,7 @@ const j7 = {
|
|
|
8068
8068
|
}, {
|
|
8069
8069
|
header: U(() => [
|
|
8070
8070
|
E(Ce, {
|
|
8071
|
-
title:
|
|
8071
|
+
title: M.$t("template.phases.title"),
|
|
8072
8072
|
level: 3,
|
|
8073
8073
|
class: "ao-list__title"
|
|
8074
8074
|
}, null, 8, ["title"])
|
|
@@ -8082,8 +8082,8 @@ const j7 = {
|
|
|
8082
8082
|
milestones: H.milestones,
|
|
8083
8083
|
"is-active": ((O = i.value) == null ? void 0 : O.id) === H.id,
|
|
8084
8084
|
"is-draggable": !0,
|
|
8085
|
-
onClick: (R) =>
|
|
8086
|
-
params: { templateId:
|
|
8085
|
+
onClick: (R) => M.$router.push({
|
|
8086
|
+
params: { templateId: M.templateId, phaseId: H.id }
|
|
8087
8087
|
}),
|
|
8088
8088
|
"onUpdate:title": (R) => {
|
|
8089
8089
|
A(H.id, R);
|
|
@@ -8096,7 +8096,7 @@ const j7 = {
|
|
|
8096
8096
|
v("div", z7, [
|
|
8097
8097
|
E(Je, {
|
|
8098
8098
|
"icon-name": "AddBoxOutlineRounded",
|
|
8099
|
-
label:
|
|
8099
|
+
label: M.$t("template.phases.add"),
|
|
8100
8100
|
onClick: p
|
|
8101
8101
|
}, null, 8, ["label"])
|
|
8102
8102
|
])
|
|
@@ -8107,10 +8107,10 @@ const j7 = {
|
|
|
8107
8107
|
v("li", W7, [
|
|
8108
8108
|
i.value ? (f(), N(G0, {
|
|
8109
8109
|
key: 0,
|
|
8110
|
-
"template-id":
|
|
8110
|
+
"template-id": M.templateId,
|
|
8111
8111
|
phase: i.value,
|
|
8112
8112
|
"milestone-id": (j = l.value) == null ? void 0 : j.id,
|
|
8113
|
-
onAddMilestone:
|
|
8113
|
+
onAddMilestone: k,
|
|
8114
8114
|
onUpdateMilestone: L,
|
|
8115
8115
|
onUpdatePhase: _,
|
|
8116
8116
|
onRemoveMilestone: y
|
|
@@ -8119,7 +8119,7 @@ const j7 = {
|
|
|
8119
8119
|
v("li", Y7, [
|
|
8120
8120
|
i.value && l.value ? (f(), N(Q0, {
|
|
8121
8121
|
key: 0,
|
|
8122
|
-
"template-id":
|
|
8122
|
+
"template-id": M.templateId,
|
|
8123
8123
|
"phase-id": (ae = i.value) == null ? void 0 : ae.id,
|
|
8124
8124
|
milestone: l.value,
|
|
8125
8125
|
"activity-id": (oe = c.value) == null ? void 0 : oe.id,
|
|
@@ -8134,18 +8134,18 @@ const j7 = {
|
|
|
8134
8134
|
c.value ? (f(), N(U1, {
|
|
8135
8135
|
key: 0,
|
|
8136
8136
|
activity: c.value,
|
|
8137
|
-
"activity-types":
|
|
8137
|
+
"activity-types": M.activityTypes,
|
|
8138
8138
|
breadcrumbs: `${s.value.name} / ${($ = i.value) == null ? void 0 : $.name} / ${(Y = l.value) == null ? void 0 : Y.name}`,
|
|
8139
8139
|
"milestone-id": (ie = l.value) == null ? void 0 : ie.id,
|
|
8140
8140
|
"template-activities": r.value,
|
|
8141
8141
|
"template-milestones": d.value,
|
|
8142
8142
|
"is-template": !0,
|
|
8143
8143
|
"is-editable": !0,
|
|
8144
|
-
users:
|
|
8144
|
+
users: M.users,
|
|
8145
8145
|
"onUpdate:activity": F[2] || (F[2] = (H) => {
|
|
8146
8146
|
c.value && V(H);
|
|
8147
8147
|
}),
|
|
8148
|
-
onClose:
|
|
8148
|
+
onClose: M.$router.back,
|
|
8149
8149
|
onAddSubtask: S,
|
|
8150
8150
|
onUpdateSubtask: P,
|
|
8151
8151
|
onDeleteSubtask: ce,
|
|
@@ -8153,7 +8153,7 @@ const j7 = {
|
|
|
8153
8153
|
onRemoveFile: re
|
|
8154
8154
|
}, {
|
|
8155
8155
|
default: U((H) => [
|
|
8156
|
-
X(
|
|
8156
|
+
X(M.$slots, "activityDetailsBody", Ht(Pt(H)))
|
|
8157
8157
|
]),
|
|
8158
8158
|
_: 3
|
|
8159
8159
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
@@ -8485,7 +8485,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8485
8485
|
const y9 = { class: "ao-project__phases" }, b9 = {
|
|
8486
8486
|
key: 0,
|
|
8487
8487
|
class: "ao-project-phase__phases-list-footer"
|
|
8488
|
-
}, w9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), $9 = { class: "ao-project-phase__col-phase" },
|
|
8488
|
+
}, w9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), $9 = { class: "ao-project-phase__col-phase" }, k9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), M9 = /* @__PURE__ */ K({
|
|
8489
8489
|
__name: "AoProjectPhases",
|
|
8490
8490
|
props: {
|
|
8491
8491
|
phases: {},
|
|
@@ -8551,7 +8551,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
|
|
|
8551
8551
|
onClick: r
|
|
8552
8552
|
}, null, 8, ["label"])
|
|
8553
8553
|
]),
|
|
8554
|
-
|
|
8554
|
+
k9
|
|
8555
8555
|
])) : T("", !0)
|
|
8556
8556
|
]));
|
|
8557
8557
|
}
|
|
@@ -8705,7 +8705,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8705
8705
|
e("updateSubtask", I);
|
|
8706
8706
|
}, _ = (I) => {
|
|
8707
8707
|
e("deleteSubtask", I);
|
|
8708
|
-
},
|
|
8708
|
+
}, k = b(
|
|
8709
8709
|
() => s.value.flatMap((I) => I.activities)
|
|
8710
8710
|
), y = (I) => {
|
|
8711
8711
|
e("addFiles", I);
|
|
@@ -8758,7 +8758,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8758
8758
|
_: 1
|
|
8759
8759
|
}),
|
|
8760
8760
|
v("div", H9, [
|
|
8761
|
-
E(
|
|
8761
|
+
E(M9, {
|
|
8762
8762
|
phases: I.phases,
|
|
8763
8763
|
"closed-status": I.closedStatus,
|
|
8764
8764
|
"is-editable": I.isEditable,
|
|
@@ -8786,7 +8786,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8786
8786
|
(f(), N(It, { to: "body" }, [
|
|
8787
8787
|
E(g, {
|
|
8788
8788
|
name: "modal",
|
|
8789
|
-
activities:
|
|
8789
|
+
activities: k.value,
|
|
8790
8790
|
"is-task-checkable": I.isTaskCheckable,
|
|
8791
8791
|
statuses: I.statuses,
|
|
8792
8792
|
"activity-types": I.activityTypes,
|
|
@@ -8994,7 +8994,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8994
8994
|
}));
|
|
8995
8995
|
}
|
|
8996
8996
|
});
|
|
8997
|
-
const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-milestone__header" }, n4 = { class: "ao-project-milestone__title" }, i4 = { class: "ao-project-milestone__body" },
|
|
8997
|
+
const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-milestone__header" }, n4 = { class: "ao-project-milestone__title" }, i4 = { key: 0 }, o4 = { class: "ao-project-milestone__body" }, l4 = {
|
|
8998
8998
|
key: 0,
|
|
8999
8999
|
class: "ao-project-milestone__footer"
|
|
9000
9000
|
}, da = /* @__PURE__ */ K({
|
|
@@ -9061,9 +9061,10 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9061
9061
|
"icon-name": "CloseRounded",
|
|
9062
9062
|
variant: "ghost",
|
|
9063
9063
|
onClick: d
|
|
9064
|
-
})
|
|
9064
|
+
}),
|
|
9065
|
+
i.value ? (f(), h("div", i4, q(i.value.deadline), 1)) : T("", !0)
|
|
9065
9066
|
]),
|
|
9066
|
-
v("div",
|
|
9067
|
+
v("div", o4, [
|
|
9067
9068
|
E(z(Qe), Ee({
|
|
9068
9069
|
class: "ao-project-milestone__activities",
|
|
9069
9070
|
list: l.value,
|
|
@@ -9072,13 +9073,13 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9072
9073
|
group: "kanban"
|
|
9073
9074
|
}, p.$attrs, { onChange: u }), {
|
|
9074
9075
|
item: U(({ element: A }) => {
|
|
9075
|
-
var _,
|
|
9076
|
+
var _, k, y, L;
|
|
9076
9077
|
return [
|
|
9077
9078
|
E(Ua, {
|
|
9078
9079
|
id: A.id,
|
|
9079
9080
|
name: A.name || A.id,
|
|
9080
9081
|
"phase-name": (_ = s.value) == null ? void 0 : _.name,
|
|
9081
|
-
"milestone-name": (
|
|
9082
|
+
"milestone-name": (k = i.value) == null ? void 0 : k.name,
|
|
9082
9083
|
deadline: A.deadline,
|
|
9083
9084
|
important: A.important,
|
|
9084
9085
|
users: p.users,
|
|
@@ -9116,7 +9117,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9116
9117
|
}),
|
|
9117
9118
|
_: 1
|
|
9118
9119
|
}, 16, ["list", "disabled"]),
|
|
9119
|
-
p.isEditable ? (f(), h("div",
|
|
9120
|
+
p.isEditable ? (f(), h("div", l4, [
|
|
9120
9121
|
E(Je, {
|
|
9121
9122
|
"icon-name": "Add",
|
|
9122
9123
|
label: p.$t("project.activity.add"),
|
|
@@ -9128,7 +9129,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9128
9129
|
};
|
|
9129
9130
|
}
|
|
9130
9131
|
});
|
|
9131
|
-
const
|
|
9132
|
+
const r4 = /* @__PURE__ */ K({
|
|
9132
9133
|
__name: "AoProjectOverviewActivityDetails",
|
|
9133
9134
|
props: {
|
|
9134
9135
|
phaseId: {},
|
|
@@ -9148,18 +9149,18 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9148
9149
|
setup(t, { emit: e }) {
|
|
9149
9150
|
const a = t, n = b(() => {
|
|
9150
9151
|
var _;
|
|
9151
|
-
return (_ = a.phases) == null ? void 0 : _.find((
|
|
9152
|
+
return (_ = a.phases) == null ? void 0 : _.find((k) => k.id === a.phaseId);
|
|
9152
9153
|
}), s = b(
|
|
9153
9154
|
() => {
|
|
9154
9155
|
var _;
|
|
9155
|
-
return (_ = a.phases) == null ? void 0 : _.flatMap((
|
|
9156
|
+
return (_ = a.phases) == null ? void 0 : _.flatMap((k) => k.milestones);
|
|
9156
9157
|
}
|
|
9157
9158
|
), o = b(() => {
|
|
9158
9159
|
var _;
|
|
9159
|
-
return (_ = s.value) == null ? void 0 : _.find((
|
|
9160
|
+
return (_ = s.value) == null ? void 0 : _.find((k) => k.id === a.milestoneId);
|
|
9160
9161
|
}), i = b(() => {
|
|
9161
9162
|
var _;
|
|
9162
|
-
return (_ = a.activities) == null ? void 0 : _.find((
|
|
9163
|
+
return (_ = a.activities) == null ? void 0 : _.find((k) => k.id === a.activityId);
|
|
9163
9164
|
}), l = (_) => {
|
|
9164
9165
|
e("update:activity", _);
|
|
9165
9166
|
}, d = (_) => {
|
|
@@ -9179,7 +9180,7 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9179
9180
|
}, A = (_) => {
|
|
9180
9181
|
e("removeComment", _);
|
|
9181
9182
|
};
|
|
9182
|
-
return (_,
|
|
9183
|
+
return (_, k) => {
|
|
9183
9184
|
var y, L;
|
|
9184
9185
|
return i.value ? (f(), N(U1, {
|
|
9185
9186
|
key: 0,
|
|
@@ -9212,14 +9213,14 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9212
9213
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : T("", !0);
|
|
9213
9214
|
};
|
|
9214
9215
|
}
|
|
9215
|
-
}),
|
|
9216
|
+
}), u4 = { class: "ao-col-header" }, d4 = /* @__PURE__ */ K({
|
|
9216
9217
|
__name: "AoColHeader",
|
|
9217
9218
|
props: {
|
|
9218
9219
|
title: {},
|
|
9219
9220
|
items: {}
|
|
9220
9221
|
},
|
|
9221
9222
|
setup(t) {
|
|
9222
|
-
return (e, a) => (f(), h("header",
|
|
9223
|
+
return (e, a) => (f(), h("header", u4, [
|
|
9223
9224
|
E(Ce, {
|
|
9224
9225
|
title: e.title,
|
|
9225
9226
|
class: "ao-col-header__title",
|
|
@@ -9235,15 +9236,15 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9235
9236
|
]));
|
|
9236
9237
|
}
|
|
9237
9238
|
});
|
|
9238
|
-
function
|
|
9239
|
+
function c4(t) {
|
|
9239
9240
|
return ms() ? (Cs(t), !0) : !1;
|
|
9240
9241
|
}
|
|
9241
9242
|
function t1(t) {
|
|
9242
9243
|
return typeof t == "function" ? t() : z(t);
|
|
9243
9244
|
}
|
|
9244
|
-
const
|
|
9245
|
+
const f4 = typeof window < "u", v4 = (t) => t != null, St = () => {
|
|
9245
9246
|
};
|
|
9246
|
-
function
|
|
9247
|
+
function p4(t, e) {
|
|
9247
9248
|
function a(...n) {
|
|
9248
9249
|
return new Promise((s, o) => {
|
|
9249
9250
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -9251,7 +9252,7 @@ function v4(t, e) {
|
|
|
9251
9252
|
}
|
|
9252
9253
|
return a;
|
|
9253
9254
|
}
|
|
9254
|
-
function
|
|
9255
|
+
function h4(t, e = {}) {
|
|
9255
9256
|
let a, n, s = St;
|
|
9256
9257
|
const o = (l) => {
|
|
9257
9258
|
clearTimeout(l), s(), s = St;
|
|
@@ -9267,9 +9268,9 @@ function p4(t, e = {}) {
|
|
|
9267
9268
|
});
|
|
9268
9269
|
};
|
|
9269
9270
|
}
|
|
9270
|
-
function
|
|
9271
|
-
return
|
|
9272
|
-
|
|
9271
|
+
function m4(t, e = 200, a = {}) {
|
|
9272
|
+
return p4(
|
|
9273
|
+
h4(e, a),
|
|
9273
9274
|
t
|
|
9274
9275
|
);
|
|
9275
9276
|
}
|
|
@@ -9278,27 +9279,27 @@ function A1(t) {
|
|
|
9278
9279
|
const a = t1(t);
|
|
9279
9280
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
9280
9281
|
}
|
|
9281
|
-
const
|
|
9282
|
-
function
|
|
9282
|
+
const C4 = f4 ? window : void 0;
|
|
9283
|
+
function _4() {
|
|
9283
9284
|
const t = Q(!1);
|
|
9284
9285
|
return st() && Dt(() => {
|
|
9285
9286
|
t.value = !0;
|
|
9286
9287
|
}), t;
|
|
9287
9288
|
}
|
|
9288
|
-
function
|
|
9289
|
-
const e =
|
|
9289
|
+
function g4(t) {
|
|
9290
|
+
const e = _4();
|
|
9290
9291
|
return b(() => (e.value, !!t()));
|
|
9291
9292
|
}
|
|
9292
|
-
function
|
|
9293
|
+
function y4(t, e, a = {}) {
|
|
9293
9294
|
const {
|
|
9294
9295
|
root: n,
|
|
9295
9296
|
rootMargin: s = "0px",
|
|
9296
9297
|
threshold: o = 0.1,
|
|
9297
|
-
window: i =
|
|
9298
|
+
window: i = C4,
|
|
9298
9299
|
immediate: l = !0
|
|
9299
|
-
} = a, d =
|
|
9300
|
+
} = a, d = g4(() => i && "IntersectionObserver" in i), r = b(() => {
|
|
9300
9301
|
const w = t1(t);
|
|
9301
|
-
return (Array.isArray(w) ? w : [w]).map(A1).filter(
|
|
9302
|
+
return (Array.isArray(w) ? w : [w]).map(A1).filter(v4);
|
|
9302
9303
|
});
|
|
9303
9304
|
let c = St;
|
|
9304
9305
|
const u = Q(l), p = d.value ? ue(
|
|
@@ -9314,7 +9315,7 @@ function g4(t, e, a = {}) {
|
|
|
9314
9315
|
threshold: o
|
|
9315
9316
|
}
|
|
9316
9317
|
);
|
|
9317
|
-
w.forEach((
|
|
9318
|
+
w.forEach((k) => k && _.observe(k)), c = () => {
|
|
9318
9319
|
_.disconnect(), c = St;
|
|
9319
9320
|
};
|
|
9320
9321
|
},
|
|
@@ -9322,7 +9323,7 @@ function g4(t, e, a = {}) {
|
|
|
9322
9323
|
) : St, m = () => {
|
|
9323
9324
|
c(), p(), u.value = !1;
|
|
9324
9325
|
};
|
|
9325
|
-
return
|
|
9326
|
+
return c4(m), {
|
|
9326
9327
|
isSupported: d,
|
|
9327
9328
|
isActive: u,
|
|
9328
9329
|
pause() {
|
|
@@ -9334,24 +9335,24 @@ function g4(t, e, a = {}) {
|
|
|
9334
9335
|
stop: m
|
|
9335
9336
|
};
|
|
9336
9337
|
}
|
|
9337
|
-
const
|
|
9338
|
+
const b4 = {
|
|
9338
9339
|
class: /* @__PURE__ */ G(["ao-list-kanban"])
|
|
9339
|
-
},
|
|
9340
|
+
}, w4 = { class: "ao-list-kanban__header" }, $4 = {
|
|
9340
9341
|
key: 0,
|
|
9341
9342
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
9342
|
-
},
|
|
9343
|
+
}, k4 = {
|
|
9343
9344
|
key: 1,
|
|
9344
9345
|
class: "ao-list-kanban__end"
|
|
9345
9346
|
}, M4 = {
|
|
9346
9347
|
key: 0,
|
|
9347
9348
|
class: "ao-list-kanban__no-more"
|
|
9348
|
-
},
|
|
9349
|
+
}, A4 = {
|
|
9349
9350
|
key: 1,
|
|
9350
9351
|
class: "ao-list-kanban__divider"
|
|
9351
|
-
},
|
|
9352
|
+
}, T4 = {
|
|
9352
9353
|
key: 1,
|
|
9353
9354
|
class: "ao-list-kanban__footer"
|
|
9354
|
-
},
|
|
9355
|
+
}, S4 = /* @__PURE__ */ K({
|
|
9355
9356
|
__name: "AoListKanban",
|
|
9356
9357
|
props: {
|
|
9357
9358
|
list: {},
|
|
@@ -9367,7 +9368,7 @@ const y4 = {
|
|
|
9367
9368
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
|
|
9368
9369
|
setup(t, { emit: e }) {
|
|
9369
9370
|
const a = t, n = Q(!1), s = Q(null);
|
|
9370
|
-
|
|
9371
|
+
y4(s, ([{ isIntersecting: r }]) => {
|
|
9371
9372
|
n.value = r;
|
|
9372
9373
|
}), ue(n, (r) => {
|
|
9373
9374
|
r && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -9389,12 +9390,12 @@ const y4 = {
|
|
|
9389
9390
|
)
|
|
9390
9391
|
});
|
|
9391
9392
|
}, d = Q(!1);
|
|
9392
|
-
return (r, c) => (f(), h("div",
|
|
9393
|
+
return (r, c) => (f(), h("div", b4, [
|
|
9393
9394
|
r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
|
|
9394
9395
|
var u;
|
|
9395
9396
|
return [
|
|
9396
|
-
v("div",
|
|
9397
|
-
r.title ? (f(), N(
|
|
9397
|
+
v("div", w4, [
|
|
9398
|
+
r.title ? (f(), N(d4, {
|
|
9398
9399
|
key: 0,
|
|
9399
9400
|
title: r.title,
|
|
9400
9401
|
level: 3,
|
|
@@ -9421,7 +9422,7 @@ const y4 = {
|
|
|
9421
9422
|
}
|
|
9422
9423
|
}), {
|
|
9423
9424
|
item: U(({ element: u }) => {
|
|
9424
|
-
var p, m, w, A, _,
|
|
9425
|
+
var p, m, w, A, _, k, y, L;
|
|
9425
9426
|
return [
|
|
9426
9427
|
E(Ua, {
|
|
9427
9428
|
id: u.id,
|
|
@@ -9431,7 +9432,7 @@ const y4 = {
|
|
|
9431
9432
|
"phase-name": (A = (w = u.milestone) == null ? void 0 : w.phase) == null ? void 0 : A.name,
|
|
9432
9433
|
"milestone-name": (_ = u.milestone) == null ? void 0 : _.name,
|
|
9433
9434
|
deadline: u.deadline,
|
|
9434
|
-
rules: ((
|
|
9435
|
+
rules: ((k = u.rules) == null ? void 0 : k.length) || 0,
|
|
9435
9436
|
tasks: u.tasks,
|
|
9436
9437
|
description: u.description,
|
|
9437
9438
|
important: u.important,
|
|
@@ -9467,20 +9468,20 @@ const y4 = {
|
|
|
9467
9468
|
];
|
|
9468
9469
|
}),
|
|
9469
9470
|
footer: U(() => [
|
|
9470
|
-
r.isLoading ? (f(), h("div",
|
|
9471
|
+
r.isLoading ? (f(), h("div", $4, [
|
|
9471
9472
|
E(fe, { name: "Loading" })
|
|
9472
9473
|
])) : r.hasMore ? (f(), h("div", {
|
|
9473
9474
|
key: 2,
|
|
9474
9475
|
ref_key: "scrollEnd",
|
|
9475
9476
|
ref: s,
|
|
9476
9477
|
class: "ao-list-kanban__end"
|
|
9477
|
-
}, null, 512)) : (f(), h("div",
|
|
9478
|
-
r.noMoreLabel ? (f(), h("span", M4, q(r.noMoreLabel), 1)) : r.isEditable ? (f(), h("span",
|
|
9478
|
+
}, null, 512)) : (f(), h("div", k4, [
|
|
9479
|
+
r.noMoreLabel ? (f(), h("span", M4, q(r.noMoreLabel), 1)) : r.isEditable ? (f(), h("span", A4)) : T("", !0)
|
|
9479
9480
|
]))
|
|
9480
9481
|
]),
|
|
9481
9482
|
_: 1
|
|
9482
9483
|
}, 16, ["class", "list", "disabled"]),
|
|
9483
|
-
r.$slots.footer || r.footerLabel ? (f(), h("div",
|
|
9484
|
+
r.$slots.footer || r.footerLabel ? (f(), h("div", T4, [
|
|
9484
9485
|
X(r.$slots, "footer", {}, () => [
|
|
9485
9486
|
r.isEditable ? (f(), N(Je, {
|
|
9486
9487
|
key: 0,
|
|
@@ -9493,7 +9494,7 @@ const y4 = {
|
|
|
9493
9494
|
]));
|
|
9494
9495
|
}
|
|
9495
9496
|
});
|
|
9496
|
-
const
|
|
9497
|
+
const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder", "onKeypress"], O4 = /* @__PURE__ */ K({
|
|
9497
9498
|
__name: "AoSearchField",
|
|
9498
9499
|
props: {
|
|
9499
9500
|
modelValue: {},
|
|
@@ -9505,10 +9506,10 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
9505
9506
|
const a = t, n = async (i) => {
|
|
9506
9507
|
const d = i.target.value;
|
|
9507
9508
|
e("update:modelValue", d, i);
|
|
9508
|
-
}, s =
|
|
9509
|
+
}, s = m4(n, a.delay), o = (i) => {
|
|
9509
9510
|
e("clear", i);
|
|
9510
9511
|
};
|
|
9511
|
-
return (i, l) => (f(), h("div",
|
|
9512
|
+
return (i, l) => (f(), h("div", E4, [
|
|
9512
9513
|
v("input", {
|
|
9513
9514
|
value: i.modelValue,
|
|
9514
9515
|
type: "text",
|
|
@@ -9517,7 +9518,7 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
9517
9518
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
9518
9519
|
(...d) => z(s) && z(s)(...d)),
|
|
9519
9520
|
onKeypress: Ye(n, ["enter"])
|
|
9520
|
-
}, null, 40,
|
|
9521
|
+
}, null, 40, I4),
|
|
9521
9522
|
E(fe, {
|
|
9522
9523
|
name: "SearchRounded",
|
|
9523
9524
|
class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -9533,7 +9534,7 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
9533
9534
|
]));
|
|
9534
9535
|
}
|
|
9535
9536
|
});
|
|
9536
|
-
function
|
|
9537
|
+
function L4(t) {
|
|
9537
9538
|
const e = Q(), a = b(
|
|
9538
9539
|
() => t.value.find(
|
|
9539
9540
|
(s) => s.id === e.value
|
|
@@ -9547,21 +9548,21 @@ function O4(t) {
|
|
|
9547
9548
|
}
|
|
9548
9549
|
};
|
|
9549
9550
|
}
|
|
9550
|
-
const
|
|
9551
|
-
function
|
|
9552
|
-
const e =
|
|
9553
|
-
return _s(
|
|
9551
|
+
const V4 = Symbol.for("FeedStore");
|
|
9552
|
+
function D4(t) {
|
|
9553
|
+
const e = L4(t);
|
|
9554
|
+
return _s(V4, e), e;
|
|
9554
9555
|
}
|
|
9555
|
-
const
|
|
9556
|
+
const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { class: "ao-feed__body" }, N4 = { class: "ao-feed__activity-details__header" }, R4 = {
|
|
9556
9557
|
key: 0,
|
|
9557
9558
|
class: "ao-field ao-feed__activity-details__project"
|
|
9558
|
-
},
|
|
9559
|
+
}, U4 = { class: "ao-field__label" }, j4 = {
|
|
9559
9560
|
key: 1,
|
|
9560
9561
|
class: "ao-field ao-feed__activity-details__project"
|
|
9561
|
-
},
|
|
9562
|
+
}, Z4 = { class: "ao-field__label" }, F4 = {
|
|
9562
9563
|
key: 2,
|
|
9563
9564
|
class: "ao-field ao-feed__activity-details__status"
|
|
9564
|
-
},
|
|
9565
|
+
}, q4 = { class: "ao-field__label" }, z4 = { class: "ao-field__row" }, W4 = { class: "ao-field" }, Y4 = { class: "ao-field__label" }, K4 = /* @__PURE__ */ K({
|
|
9565
9566
|
__name: "AoFeed",
|
|
9566
9567
|
props: {
|
|
9567
9568
|
activities: {},
|
|
@@ -9581,7 +9582,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9581
9582
|
},
|
|
9582
9583
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9583
9584
|
setup(t, { emit: e }) {
|
|
9584
|
-
const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } =
|
|
9585
|
+
const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } = D4(s), l = async ($) => {
|
|
9585
9586
|
o($), await e("selectActivity", $);
|
|
9586
9587
|
}, d = Q({}), r = Q(!1), c = Q(!1);
|
|
9587
9588
|
ue(
|
|
@@ -9592,8 +9593,8 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9592
9593
|
$.map((R) => [
|
|
9593
9594
|
R.id,
|
|
9594
9595
|
Y.filter((me) => {
|
|
9595
|
-
var
|
|
9596
|
-
return ((
|
|
9596
|
+
var ke;
|
|
9597
|
+
return ((ke = me.status) == null ? void 0 : ke.id) === R.id;
|
|
9597
9598
|
})
|
|
9598
9599
|
])
|
|
9599
9600
|
), ie && !r.value && (l(ie), r.value = !0), c.value && Ue(Y, O);
|
|
@@ -9624,7 +9625,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9624
9625
|
value: Y.id,
|
|
9625
9626
|
label: Y.name
|
|
9626
9627
|
}));
|
|
9627
|
-
}),
|
|
9628
|
+
}), k = b(() => a.users.map(($) => ({
|
|
9628
9629
|
value: $.id,
|
|
9629
9630
|
label: `${$.firstName} ${$.lastName}`,
|
|
9630
9631
|
avatar: $.avatarUrl
|
|
@@ -9673,7 +9674,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9673
9674
|
}, re = b(() => w.value.map(($) => ({
|
|
9674
9675
|
value: $.id,
|
|
9675
9676
|
label: $.name
|
|
9676
|
-
}))),
|
|
9677
|
+
}))), M = b(() => {
|
|
9677
9678
|
var Y, ie, H;
|
|
9678
9679
|
const $ = (H = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : H.reduce(
|
|
9679
9680
|
(O, R) => [...O, ...R.milestones],
|
|
@@ -9707,10 +9708,10 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9707
9708
|
};
|
|
9708
9709
|
return ($, Y) => {
|
|
9709
9710
|
var ie;
|
|
9710
|
-
return f(), h("div",
|
|
9711
|
+
return f(), h("div", H4, [
|
|
9711
9712
|
E(d1, null, {
|
|
9712
9713
|
primary: U(() => [
|
|
9713
|
-
v("div",
|
|
9714
|
+
v("div", P4, [
|
|
9714
9715
|
a.project ? (f(), N(Ra, {
|
|
9715
9716
|
key: 0,
|
|
9716
9717
|
"is-left": !1,
|
|
@@ -9720,7 +9721,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9720
9721
|
H && $.$router.push({ name: z(He).project });
|
|
9721
9722
|
})
|
|
9722
9723
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
9723
|
-
E(
|
|
9724
|
+
E(O4, {
|
|
9724
9725
|
"model-value": $.searchText,
|
|
9725
9726
|
placeholder: $.$t("feed.search.placeholder"),
|
|
9726
9727
|
class: "ao-feed__search",
|
|
@@ -9752,7 +9753,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9752
9753
|
E(be, {
|
|
9753
9754
|
"model-value": $.filters[z(dt).assignee],
|
|
9754
9755
|
mode: "tags",
|
|
9755
|
-
options:
|
|
9756
|
+
options: k.value,
|
|
9756
9757
|
"close-on-select": !1,
|
|
9757
9758
|
searchable: !0,
|
|
9758
9759
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
@@ -9800,8 +9801,8 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9800
9801
|
]),
|
|
9801
9802
|
_: 1
|
|
9802
9803
|
}),
|
|
9803
|
-
v("div",
|
|
9804
|
-
(f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(
|
|
9804
|
+
v("div", B4, [
|
|
9805
|
+
(f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(S4, {
|
|
9805
9806
|
key: H.id,
|
|
9806
9807
|
status: H,
|
|
9807
9808
|
list: d.value[H.id],
|
|
@@ -9842,9 +9843,9 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9842
9843
|
header: U(() => {
|
|
9843
9844
|
var H, O, R;
|
|
9844
9845
|
return [
|
|
9845
|
-
v("div",
|
|
9846
|
-
re.value && !a.project ? (f(), h("label",
|
|
9847
|
-
v("span",
|
|
9846
|
+
v("div", N4, [
|
|
9847
|
+
re.value && !a.project ? (f(), h("label", R4, [
|
|
9848
|
+
v("span", U4, q($.$t("activity.project.label")), 1),
|
|
9848
9849
|
E(be, {
|
|
9849
9850
|
options: re.value,
|
|
9850
9851
|
value: (H = z(i).project) == null ? void 0 : H.id,
|
|
@@ -9854,10 +9855,10 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9854
9855
|
onChange: F
|
|
9855
9856
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9856
9857
|
])) : T("", !0),
|
|
9857
|
-
|
|
9858
|
-
v("span",
|
|
9858
|
+
M.value ? (f(), h("label", j4, [
|
|
9859
|
+
v("span", Z4, q($.$t("activity.milestone.label")), 1),
|
|
9859
9860
|
E(be, {
|
|
9860
|
-
options:
|
|
9861
|
+
options: M.value,
|
|
9861
9862
|
value: (O = z(i).milestone) == null ? void 0 : O.id,
|
|
9862
9863
|
searchable: !0,
|
|
9863
9864
|
disabled: !$.isEditable,
|
|
@@ -9865,8 +9866,8 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9865
9866
|
onChange: j
|
|
9866
9867
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9867
9868
|
])) : T("", !0),
|
|
9868
|
-
ae.value ? (f(), h("label",
|
|
9869
|
-
v("span",
|
|
9869
|
+
ae.value ? (f(), h("label", F4, [
|
|
9870
|
+
v("span", q4, q($.$t("activity.status.label")), 1),
|
|
9870
9871
|
E(be, {
|
|
9871
9872
|
options: ae.value,
|
|
9872
9873
|
value: (R = z(i).status) == null ? void 0 : R.id,
|
|
@@ -9881,9 +9882,9 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9881
9882
|
];
|
|
9882
9883
|
}),
|
|
9883
9884
|
default: U((H) => [
|
|
9884
|
-
v("div",
|
|
9885
|
-
v("label",
|
|
9886
|
-
v("span",
|
|
9885
|
+
v("div", z4, [
|
|
9886
|
+
v("label", W4, [
|
|
9887
|
+
v("span", Y4, q($.$t("activity.deadline.label")), 1),
|
|
9887
9888
|
tt(v("input", {
|
|
9888
9889
|
"onUpdate:modelValue": Y[6] || (Y[6] = (O) => W.value = O),
|
|
9889
9890
|
class: "ao-field__input",
|
|
@@ -9911,7 +9912,7 @@ const ft = {
|
|
|
9911
9912
|
TEMPLATES: "templates",
|
|
9912
9913
|
TEMPLATE_DETAILS: "template_details",
|
|
9913
9914
|
TEMPLATES_LIST: "templates_list"
|
|
9914
|
-
},
|
|
9915
|
+
}, c8 = (t, e = {}) => [
|
|
9915
9916
|
{
|
|
9916
9917
|
path: t,
|
|
9917
9918
|
name: ft.TEMPLATES,
|
|
@@ -9921,7 +9922,7 @@ const ft = {
|
|
|
9921
9922
|
{
|
|
9922
9923
|
path: "",
|
|
9923
9924
|
name: ft.TEMPLATES_LIST,
|
|
9924
|
-
component:
|
|
9925
|
+
component: X4
|
|
9925
9926
|
},
|
|
9926
9927
|
{
|
|
9927
9928
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -9936,7 +9937,7 @@ const ft = {
|
|
|
9936
9937
|
feed: "AoProjectFeed",
|
|
9937
9938
|
milestone: "AoMilestone",
|
|
9938
9939
|
activity: "AoActivity"
|
|
9939
|
-
},
|
|
9940
|
+
}, f8 = (t, e = {}) => [
|
|
9940
9941
|
{
|
|
9941
9942
|
path: t,
|
|
9942
9943
|
...e,
|
|
@@ -9960,7 +9961,7 @@ const ft = {
|
|
|
9960
9961
|
props: { default: !0, modal: !0 },
|
|
9961
9962
|
components: {
|
|
9962
9963
|
default: da,
|
|
9963
|
-
modal:
|
|
9964
|
+
modal: r4
|
|
9964
9965
|
}
|
|
9965
9966
|
}
|
|
9966
9967
|
]
|
|
@@ -9968,12 +9969,12 @@ const ft = {
|
|
|
9968
9969
|
{
|
|
9969
9970
|
path: "feed",
|
|
9970
9971
|
name: He.feed,
|
|
9971
|
-
component:
|
|
9972
|
+
component: K4,
|
|
9972
9973
|
props: !0
|
|
9973
9974
|
}
|
|
9974
9975
|
]
|
|
9975
9976
|
}
|
|
9976
|
-
],
|
|
9977
|
+
], G4 = { class: "ao-templates" }, X4 = /* @__PURE__ */ K({
|
|
9977
9978
|
__name: "AoTemplatesList",
|
|
9978
9979
|
props: {
|
|
9979
9980
|
templates: {}
|
|
@@ -10013,7 +10014,7 @@ const ft = {
|
|
|
10013
10014
|
});
|
|
10014
10015
|
}
|
|
10015
10016
|
};
|
|
10016
|
-
return (l, d) => (f(), h("div",
|
|
10017
|
+
return (l, d) => (f(), h("div", G4, [
|
|
10017
10018
|
E(d1, null, {
|
|
10018
10019
|
secondary: U(() => [
|
|
10019
10020
|
E(de, {
|
|
@@ -10057,7 +10058,7 @@ const ft = {
|
|
|
10057
10058
|
]));
|
|
10058
10059
|
}
|
|
10059
10060
|
});
|
|
10060
|
-
const
|
|
10061
|
+
const x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
|
|
10061
10062
|
__name: "AoField",
|
|
10062
10063
|
props: {
|
|
10063
10064
|
label: {},
|
|
@@ -10067,11 +10068,11 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10067
10068
|
return (e, a) => (f(), h("label", {
|
|
10068
10069
|
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
10069
10070
|
}, [
|
|
10070
|
-
v("span",
|
|
10071
|
+
v("span", x4, q(e.label), 1),
|
|
10071
10072
|
X(e.$slots, "default")
|
|
10072
10073
|
], 2));
|
|
10073
10074
|
}
|
|
10074
|
-
}),
|
|
10075
|
+
}), J4 = ["type", "value", "disabled", "readonly"], v8 = /* @__PURE__ */ K({
|
|
10075
10076
|
__name: "AoInputField",
|
|
10076
10077
|
props: {
|
|
10077
10078
|
label: { default: "" },
|
|
@@ -10088,7 +10089,7 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10088
10089
|
), s = (o) => {
|
|
10089
10090
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
10090
10091
|
};
|
|
10091
|
-
return (o, i) => (f(), N(
|
|
10092
|
+
return (o, i) => (f(), N(Q4, { label: o.label }, {
|
|
10092
10093
|
default: U(() => [
|
|
10093
10094
|
v("input", Ee({
|
|
10094
10095
|
class: "ao-field__input",
|
|
@@ -10098,12 +10099,12 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10098
10099
|
readonly: o.isReadonly
|
|
10099
10100
|
}, {
|
|
10100
10101
|
[gs(n.value)]: i[0] || (i[0] = (l) => s(l.target.value))
|
|
10101
|
-
}), null, 16,
|
|
10102
|
+
}), null, 16, J4)
|
|
10102
10103
|
]),
|
|
10103
10104
|
_: 1
|
|
10104
10105
|
}, 8, ["label"]));
|
|
10105
10106
|
}
|
|
10106
|
-
}),
|
|
10107
|
+
}), e8 = { class: "ao-field" }, t8 = { class: "ao-field__label" }, a8 = ["checked", "disabled"], p8 = /* @__PURE__ */ K({
|
|
10107
10108
|
__name: "AoCheckboxField",
|
|
10108
10109
|
props: {
|
|
10109
10110
|
label: { default: "" },
|
|
@@ -10113,8 +10114,8 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10113
10114
|
},
|
|
10114
10115
|
emits: ["update:modelValue"],
|
|
10115
10116
|
setup(t) {
|
|
10116
|
-
return (e, a) => (f(), h("label",
|
|
10117
|
-
v("span",
|
|
10117
|
+
return (e, a) => (f(), h("label", e8, [
|
|
10118
|
+
v("span", t8, q(e.label), 1),
|
|
10118
10119
|
v("input", {
|
|
10119
10120
|
class: "ao-field__input",
|
|
10120
10121
|
type: "checkbox",
|
|
@@ -10127,27 +10128,27 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10127
10128
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
10128
10129
|
);
|
|
10129
10130
|
})
|
|
10130
|
-
}, null, 40,
|
|
10131
|
+
}, null, 40, a8)
|
|
10131
10132
|
]));
|
|
10132
10133
|
}
|
|
10133
10134
|
});
|
|
10134
10135
|
export {
|
|
10135
10136
|
Ua as AoCardFeed,
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10137
|
+
p8 as AoCheckboxField,
|
|
10138
|
+
K4 as AoFeed,
|
|
10139
|
+
Q4 as AoField,
|
|
10140
|
+
v8 as AoInputField,
|
|
10140
10141
|
be as AoMultiselect,
|
|
10141
10142
|
K7 as AoTemplateDetails,
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10143
|
+
l8 as AoTemplates,
|
|
10144
|
+
X4 as AoTemplatesList,
|
|
10145
|
+
kd as TemplateItemTypeEnum,
|
|
10146
|
+
u8 as activityFeedStatus,
|
|
10147
|
+
r8 as durationTypes,
|
|
10147
10148
|
dt as feedFilterTypes,
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10149
|
+
f8 as getProjectOverviewRoutes,
|
|
10150
|
+
c8 as getTemplateRoutes,
|
|
10151
|
+
d8 as listUpdateTypes,
|
|
10151
10152
|
T1 as milestoneStatus,
|
|
10152
10153
|
He as projectOverviewRoutes,
|
|
10153
10154
|
bd as ruleComparators,
|