@26lights/orcha 0.38.14 → 0.38.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.es.js +500 -498
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -89,20 +89,20 @@ const lo = /* @__PURE__ */ N(no, [["render", ro]]), uo = {}, co = {
|
|
|
89
89
|
function fo(t, e) {
|
|
90
90
|
return p(), m("svg", co, vo);
|
|
91
91
|
}
|
|
92
|
-
const ho = /* @__PURE__ */ N(uo, [["render", fo]]), mo = {},
|
|
92
|
+
const ho = /* @__PURE__ */ N(uo, [["render", fo]]), mo = {}, go = {
|
|
93
93
|
width: "24",
|
|
94
94
|
height: "24",
|
|
95
95
|
viewBox: "0 0 24 24",
|
|
96
96
|
fill: "none",
|
|
97
97
|
xmlns: "http://www.w3.org/2000/svg"
|
|
98
|
-
},
|
|
98
|
+
}, Co = /* @__PURE__ */ f("path", {
|
|
99
99
|
d: "M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16V13H16C16.2833 13 16.5207 12.904 16.712 12.712C16.904 12.5207 17 12.2833 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.5207 11.0957 16.2833 11 16 11H13V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V11H8C7.71667 11 7.479 11.0957 7.287 11.287C7.09567 11.479 7 11.7167 7 12C7 12.2833 7.09567 12.5207 7.287 12.712C7.479 12.904 7.71667 13 8 13H11V16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM5 21C4.45 21 3.979 20.8043 3.587 20.413C3.19567 20.021 3 19.55 3 19V5C3 4.45 3.19567 3.979 3.587 3.587C3.979 3.19567 4.45 3 5 3H19C19.55 3 20.021 3.19567 20.413 3.587C20.8043 3.979 21 4.45 21 5V19C21 19.55 20.8043 20.021 20.413 20.413C20.021 20.8043 19.55 21 19 21H5ZM5 19H19V5H5V19ZM5 19V5V19Z",
|
|
100
100
|
fill: "black"
|
|
101
101
|
}, null, -1), _o = [
|
|
102
|
-
|
|
102
|
+
Co
|
|
103
103
|
];
|
|
104
104
|
function yo(t, e) {
|
|
105
|
-
return p(), m("svg",
|
|
105
|
+
return p(), m("svg", go, _o);
|
|
106
106
|
}
|
|
107
107
|
const bo = /* @__PURE__ */ N(mo, [["render", yo]]), wo = {}, $o = {
|
|
108
108
|
width: "24",
|
|
@@ -224,20 +224,20 @@ const u1 = /* @__PURE__ */ N(s1, [["render", l1]]), c1 = {}, d1 = {
|
|
|
224
224
|
function f1(t, e) {
|
|
225
225
|
return p(), m("svg", d1, v1);
|
|
226
226
|
}
|
|
227
|
-
const h1 = /* @__PURE__ */ N(c1, [["render", f1]]), m1 = {},
|
|
227
|
+
const h1 = /* @__PURE__ */ N(c1, [["render", f1]]), m1 = {}, g1 = {
|
|
228
228
|
width: "24",
|
|
229
229
|
height: "24",
|
|
230
230
|
viewBox: "0 0 24 24",
|
|
231
231
|
fill: "none",
|
|
232
232
|
xmlns: "http://www.w3.org/2000/svg"
|
|
233
|
-
},
|
|
233
|
+
}, C1 = /* @__PURE__ */ f("path", {
|
|
234
234
|
d: "M6 14H14V12H6V14ZM6 11H18V9H6V11ZM6 8H18V6H6V8ZM2 22V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H6L2 22ZM4 17.175L5.175 16H20V4H4V17.175Z",
|
|
235
235
|
fill: "black"
|
|
236
236
|
}, null, -1), _1 = [
|
|
237
|
-
|
|
237
|
+
C1
|
|
238
238
|
];
|
|
239
239
|
function y1(t, e) {
|
|
240
|
-
return p(), m("svg",
|
|
240
|
+
return p(), m("svg", g1, _1);
|
|
241
241
|
}
|
|
242
242
|
const b1 = /* @__PURE__ */ N(m1, [["render", y1]]), w1 = {}, $1 = {
|
|
243
243
|
width: "24",
|
|
@@ -359,20 +359,20 @@ const ur = /* @__PURE__ */ N(sr, [["render", lr]]), cr = {}, dr = {
|
|
|
359
359
|
function fr(t, e) {
|
|
360
360
|
return p(), m("svg", dr, vr);
|
|
361
361
|
}
|
|
362
|
-
const hr = /* @__PURE__ */ N(cr, [["render", fr]]), mr = {},
|
|
362
|
+
const hr = /* @__PURE__ */ N(cr, [["render", fr]]), mr = {}, gr = {
|
|
363
363
|
width: "24",
|
|
364
364
|
height: "24",
|
|
365
365
|
viewBox: "0 0 24 24",
|
|
366
366
|
fill: "none",
|
|
367
367
|
xmlns: "http://www.w3.org/2000/svg"
|
|
368
|
-
},
|
|
368
|
+
}, Cr = /* @__PURE__ */ f("path", {
|
|
369
369
|
d: "M5 23C4.71667 23 4.479 22.904 4.287 22.712C4.095 22.52 3.99934 22.2827 4 22C4 21.7167 4.096 21.479 4.288 21.287C4.48 21.095 4.71734 20.9993 5 21H19C19.2833 21 19.521 21.096 19.713 21.288C19.905 21.48 20.0007 21.7173 20 22C20 22.2833 19.904 22.521 19.712 22.713C19.52 22.905 19.2827 23.0007 19 23H5ZM5 3C4.71667 3 4.479 2.904 4.287 2.712C4.095 2.52 3.99934 2.28267 4 2C4 1.71667 4.096 1.479 4.288 1.287C4.48 1.095 4.71734 0.999337 5 1H19C19.2833 1 19.521 1.096 19.713 1.288C19.905 1.48 20.0007 1.71734 20 2C20 2.28334 19.904 2.521 19.712 2.713C19.52 2.905 19.2827 3.00067 19 3H5ZM12 13C12.8333 13 13.5417 12.7083 14.125 12.125C14.7083 11.5417 15 10.8333 15 10C15 9.16667 14.7083 8.45834 14.125 7.875C13.5417 7.29167 12.8333 7 12 7C11.1667 7 10.4583 7.29167 9.875 7.875C9.29167 8.45834 9 9.16667 9 10C9 10.8333 9.29167 11.5417 9.875 12.125C10.4583 12.7083 11.1667 13 12 13ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4ZM5.75 18C6.5 17.0667 7.40834 16.3333 8.475 15.8C9.54167 15.2667 10.7167 15 12 15C13.2833 15 14.4583 15.2667 15.525 15.8C16.5917 16.3333 17.5 17.0667 18.25 18H20V6H4V18H5.75ZM8.7 18H15.3C14.8167 17.6667 14.2957 17.4167 13.737 17.25C13.1783 17.0833 12.5993 17 12 17C11.4 17 10.8207 17.0833 10.262 17.25C9.70334 17.4167 9.18267 17.6667 8.7 18ZM12 11C11.7167 11 11.479 10.904 11.287 10.712C11.095 10.52 10.9993 10.2827 11 10C11 9.71667 11.096 9.479 11.288 9.287C11.48 9.095 11.7173 8.99934 12 9C12.2833 9 12.521 9.096 12.713 9.288C12.905 9.48 13.0007 9.71734 13 10C13 10.2833 12.904 10.521 12.712 10.713C12.52 10.905 12.2827 11.0007 12 11Z",
|
|
370
370
|
fill: "black"
|
|
371
371
|
}, null, -1), _r = [
|
|
372
|
-
|
|
372
|
+
Cr
|
|
373
373
|
];
|
|
374
374
|
function yr(t, e) {
|
|
375
|
-
return p(), m("svg",
|
|
375
|
+
return p(), m("svg", gr, _r);
|
|
376
376
|
}
|
|
377
377
|
const br = /* @__PURE__ */ N(mr, [["render", yr]]), wr = {}, $r = {
|
|
378
378
|
width: "24",
|
|
@@ -494,20 +494,20 @@ const ul = /* @__PURE__ */ N(sl, [["render", ll]]), cl = {}, dl = {
|
|
|
494
494
|
function fl(t, e) {
|
|
495
495
|
return p(), m("svg", dl, vl);
|
|
496
496
|
}
|
|
497
|
-
const hl = /* @__PURE__ */ N(cl, [["render", fl]]), ml = {},
|
|
497
|
+
const hl = /* @__PURE__ */ N(cl, [["render", fl]]), ml = {}, gl = {
|
|
498
498
|
width: "24",
|
|
499
499
|
height: "24",
|
|
500
500
|
viewBox: "0 0 24 24",
|
|
501
501
|
fill: "none",
|
|
502
502
|
xmlns: "http://www.w3.org/2000/svg"
|
|
503
|
-
},
|
|
503
|
+
}, Cl = /* @__PURE__ */ f("path", {
|
|
504
504
|
d: "M4 12V18V6V12ZM14 21C14.2833 21 14.521 20.904 14.713 20.712C14.905 20.52 15.0007 20.2827 15 20C15 19.7167 14.904 19.479 14.712 19.287C14.52 19.095 14.2827 18.9993 14 19C13.7167 19 13.479 19.096 13.287 19.288C13.095 19.48 12.9993 19.7173 13 20C13 20.2833 13.096 20.521 13.288 20.713C13.48 20.905 13.7173 21.0007 14 21ZM20 11C20.2833 11 20.521 10.904 20.713 10.712C20.905 10.52 21.0007 10.2827 21 10C21 9.71667 20.904 9.479 20.712 9.287C20.52 9.095 20.2827 8.99934 20 9C19.7167 9 19.479 9.096 19.287 9.288C19.095 9.48 18.9993 9.71734 19 10C19 10.2833 19.096 10.521 19.288 10.713C19.48 10.905 19.7173 11.0007 20 11ZM10 11C10.2833 11 10.521 10.904 10.713 10.712C10.905 10.52 11.0007 10.2827 11 10C11 9.71667 10.904 9.479 10.712 9.287C10.52 9.095 10.2827 8.99934 10 9H7C6.71667 9 6.479 9.096 6.287 9.288C6.095 9.48 5.99934 9.71734 6 10C6 10.2833 6.096 10.521 6.288 10.713C6.48 10.905 6.71734 11.0007 7 11H10ZM10 15C10.2833 15 10.521 14.904 10.713 14.712C10.905 14.52 11.0007 14.2827 11 14C11 13.7167 10.904 13.479 10.712 13.287C10.52 13.095 10.2827 12.9993 10 13H7C6.71667 13 6.479 13.096 6.287 13.288C6.095 13.48 5.99934 13.7173 6 14C6 14.2833 6.096 14.521 6.288 14.713C6.48 14.905 6.71734 15.0007 7 15H10ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6H4V18H9V20H4ZM14 23C13.1667 23 12.4583 22.7083 11.875 22.125C11.2917 21.5417 11 20.8333 11 20C11 19.35 11.1877 18.7667 11.563 18.25C11.9383 17.7333 12.4173 17.375 13 17.175V15C13 14.7167 13.096 14.479 13.288 14.287C13.48 14.095 13.7173 13.9993 14 14H19V12.825C18.4167 12.625 17.9373 12.2667 17.562 11.75C17.1867 11.2333 16.9993 10.65 17 10C17 9.16667 17.2917 8.45833 17.875 7.875C18.4583 7.29167 19.1667 7 20 7C20.8333 7 21.5417 7.29167 22.125 7.875C22.7083 8.45833 23 9.16667 23 10C23 10.65 22.8123 11.2333 22.437 11.75C22.0617 12.2667 21.5827 12.625 21 12.825V15C21 15.2833 20.904 15.521 20.712 15.713C20.52 15.905 20.2827 16.0007 20 16H15V17.175C15.5833 17.375 16.0627 17.7333 16.438 18.25C16.8133 18.7667 17.0007 19.35 17 20C17 20.8333 16.7083 21.5417 16.125 22.125C15.5417 22.7083 14.8333 23 14 23Z",
|
|
505
505
|
fill: "black"
|
|
506
506
|
}, null, -1), _l = [
|
|
507
|
-
|
|
507
|
+
Cl
|
|
508
508
|
];
|
|
509
509
|
function yl(t, e) {
|
|
510
|
-
return p(), m("svg",
|
|
510
|
+
return p(), m("svg", gl, _l);
|
|
511
511
|
}
|
|
512
512
|
const bl = /* @__PURE__ */ N(ml, [["render", yl]]), wl = {}, $l = {
|
|
513
513
|
width: "24",
|
|
@@ -646,7 +646,7 @@ const An = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
|
|
|
646
646
|
function mu(t, e, a, n, s, o) {
|
|
647
647
|
return p(), m("svg", du, hu);
|
|
648
648
|
}
|
|
649
|
-
const
|
|
649
|
+
const gu = /* @__PURE__ */ N(cu, [["render", mu], ["__scopeId", "data-v-ad6da4a9"]]), Cu = {}, _u = {
|
|
650
650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
651
651
|
height: "24",
|
|
652
652
|
viewBox: "0 -960 960 960",
|
|
@@ -657,7 +657,7 @@ const Cu = /* @__PURE__ */ N(cu, [["render", mu], ["__scopeId", "data-v-ad6da4a9
|
|
|
657
657
|
function wu(t, e) {
|
|
658
658
|
return p(), m("svg", _u, bu);
|
|
659
659
|
}
|
|
660
|
-
const $u = /* @__PURE__ */ N(
|
|
660
|
+
const $u = /* @__PURE__ */ N(Cu, [["render", wu]]), ku = {}, Su = {
|
|
661
661
|
width: "24",
|
|
662
662
|
height: "24",
|
|
663
663
|
viewBox: "0 0 24 24",
|
|
@@ -777,7 +777,7 @@ const dc = /* @__PURE__ */ N(oc, [["render", cc]]), pc = {}, vc = {
|
|
|
777
777
|
function mc(t, e) {
|
|
778
778
|
return p(), m("svg", vc, hc);
|
|
779
779
|
}
|
|
780
|
-
const
|
|
780
|
+
const gc = /* @__PURE__ */ N(pc, [["render", mc]]), Cc = {}, _c = {
|
|
781
781
|
width: "24",
|
|
782
782
|
height: "24",
|
|
783
783
|
viewBox: "0 0 24 24",
|
|
@@ -792,7 +792,7 @@ const Cc = /* @__PURE__ */ N(pc, [["render", mc]]), gc = {}, _c = {
|
|
|
792
792
|
function wc(t, e) {
|
|
793
793
|
return p(), m("svg", _c, bc);
|
|
794
794
|
}
|
|
795
|
-
const $c = /* @__PURE__ */ N(
|
|
795
|
+
const $c = /* @__PURE__ */ N(Cc, [["render", wc]]), kc = {}, Sc = {
|
|
796
796
|
width: "24",
|
|
797
797
|
height: "24",
|
|
798
798
|
viewBox: "0 0 24 24",
|
|
@@ -909,7 +909,7 @@ const dd = /* @__PURE__ */ N(od, [["render", cd]]), pd = {}, vd = {
|
|
|
909
909
|
function md(t, e) {
|
|
910
910
|
return p(), m("svg", vd, hd);
|
|
911
911
|
}
|
|
912
|
-
const
|
|
912
|
+
const gd = /* @__PURE__ */ N(pd, [["render", md]]), Cd = {}, _d = {
|
|
913
913
|
width: "24",
|
|
914
914
|
height: "24",
|
|
915
915
|
viewBox: "0 0 24 24",
|
|
@@ -924,7 +924,7 @@ const Cd = /* @__PURE__ */ N(pd, [["render", md]]), gd = {}, _d = {
|
|
|
924
924
|
function wd(t, e) {
|
|
925
925
|
return p(), m("svg", _d, bd);
|
|
926
926
|
}
|
|
927
|
-
const $d = /* @__PURE__ */ N(
|
|
927
|
+
const $d = /* @__PURE__ */ N(Cd, [["render", wd]]), kd = {}, Sd = {
|
|
928
928
|
width: "24",
|
|
929
929
|
height: "24",
|
|
930
930
|
viewBox: "0 0 24 24",
|
|
@@ -1044,7 +1044,7 @@ const d2 = /* @__PURE__ */ N(o2, [["render", c2]]), p2 = {}, v2 = {
|
|
|
1044
1044
|
function m2(t, e) {
|
|
1045
1045
|
return p(), m("svg", v2, h2);
|
|
1046
1046
|
}
|
|
1047
|
-
const
|
|
1047
|
+
const g2 = /* @__PURE__ */ N(p2, [["render", m2]]), C2 = {}, _2 = {
|
|
1048
1048
|
width: "24",
|
|
1049
1049
|
height: "24",
|
|
1050
1050
|
viewBox: "0 0 24 24",
|
|
@@ -1059,7 +1059,7 @@ const C2 = /* @__PURE__ */ N(p2, [["render", m2]]), g2 = {}, _2 = {
|
|
|
1059
1059
|
function w2(t, e) {
|
|
1060
1060
|
return p(), m("svg", _2, b2);
|
|
1061
1061
|
}
|
|
1062
|
-
const $2 = /* @__PURE__ */ N(
|
|
1062
|
+
const $2 = /* @__PURE__ */ N(C2, [["render", w2]]), k2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1063
1063
|
__proto__: null,
|
|
1064
1064
|
AccountBoxSharp: Wi,
|
|
1065
1065
|
AccountCircle: Gi,
|
|
@@ -1101,7 +1101,7 @@ const $2 = /* @__PURE__ */ N(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1101
1101
|
Info: Xl,
|
|
1102
1102
|
KeyboardArrowDown: nu,
|
|
1103
1103
|
KeyboardArrowUp: uu,
|
|
1104
|
-
Loading:
|
|
1104
|
+
Loading: gu,
|
|
1105
1105
|
Lock: $u,
|
|
1106
1106
|
LogoutRounded: Ou,
|
|
1107
1107
|
Menu: Pu,
|
|
@@ -1110,7 +1110,7 @@ const $2 = /* @__PURE__ */ N(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1110
1110
|
MoreVert: Ju,
|
|
1111
1111
|
MountainFlagOutlineRounded: ic,
|
|
1112
1112
|
PersonAddOutlineRounded: dc,
|
|
1113
|
-
PictureAsPdfRounded:
|
|
1113
|
+
PictureAsPdfRounded: gc,
|
|
1114
1114
|
RadioButtonChecked: $c,
|
|
1115
1115
|
RadioButtonCheckedOutline: Oc,
|
|
1116
1116
|
RadioButtonUnchecked: Pc,
|
|
@@ -1119,7 +1119,7 @@ const $2 = /* @__PURE__ */ N(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1119
1119
|
SelectCheckBox: Jc,
|
|
1120
1120
|
SendRounded: id,
|
|
1121
1121
|
Settings: dd,
|
|
1122
|
-
SlideshowRounded:
|
|
1122
|
+
SlideshowRounded: gd,
|
|
1123
1123
|
Target: $d,
|
|
1124
1124
|
TaskOutlineRounded: Od,
|
|
1125
1125
|
TextSnippetRounded: Pd,
|
|
@@ -1128,7 +1128,7 @@ const $2 = /* @__PURE__ */ N(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1128
1128
|
ViewCompactAltRounded: Jd,
|
|
1129
1129
|
ViewTimelineRounded: i2,
|
|
1130
1130
|
WarningOutlineRounded: d2,
|
|
1131
|
-
WarningRounded:
|
|
1131
|
+
WarningRounded: g2,
|
|
1132
1132
|
WaterfallChartRounded: $2
|
|
1133
1133
|
}, Symbol.toStringTag, { value: "Module" })), S2 = {
|
|
1134
1134
|
SOLID: "solid",
|
|
@@ -1255,49 +1255,49 @@ const ye = /* @__PURE__ */ Y({
|
|
|
1255
1255
|
setup(t, { emit: e }) {
|
|
1256
1256
|
const a = t, n = ee(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = Es(n), l = M(() => s.value ? "input" : a.tag || `h${a.level}`), c = M(() => a.isEditable ? s.value ? {
|
|
1257
1257
|
change: u,
|
|
1258
|
-
click: (
|
|
1258
|
+
click: (C) => C.stopPropagation(),
|
|
1259
1259
|
blur: d
|
|
1260
1260
|
} : {
|
|
1261
1261
|
click: w,
|
|
1262
1262
|
focus: w
|
|
1263
|
-
} : {}), u = i((
|
|
1263
|
+
} : {}), u = i((C, b) => {
|
|
1264
1264
|
const _ = b.target.value;
|
|
1265
1265
|
e("update:title", _);
|
|
1266
1266
|
}), v = r(), d = async () => {
|
|
1267
1267
|
s.value && o(!1);
|
|
1268
1268
|
}, h = () => {
|
|
1269
1269
|
e("toggle-is-editing", !1);
|
|
1270
|
-
}, w = (
|
|
1271
|
-
|
|
1270
|
+
}, w = (C) => {
|
|
1271
|
+
C.stopPropagation(), s.value || o(!0);
|
|
1272
1272
|
};
|
|
1273
1273
|
return de(
|
|
1274
1274
|
() => a.isEditable,
|
|
1275
|
-
(
|
|
1276
|
-
|
|
1275
|
+
(C) => {
|
|
1276
|
+
C || v();
|
|
1277
1277
|
}
|
|
1278
|
-
), (
|
|
1279
|
-
id:
|
|
1278
|
+
), (C, b) => (p(), P(ht(l.value), He({
|
|
1279
|
+
id: C.id,
|
|
1280
1280
|
ref_key: "target",
|
|
1281
1281
|
ref: n,
|
|
1282
1282
|
class: [
|
|
1283
1283
|
"ao-title",
|
|
1284
|
-
`ao-title--${
|
|
1284
|
+
`ao-title--${C.level}`,
|
|
1285
1285
|
{
|
|
1286
|
-
[`ao-title--${
|
|
1287
|
-
"ao-title--editable":
|
|
1286
|
+
[`ao-title--${C.color}`]: !!C.color,
|
|
1287
|
+
"ao-title--editable": C.isEditable,
|
|
1288
1288
|
"ao-field__input ao-title--editing": J(s),
|
|
1289
1289
|
"ao-title--readonly": !J(s)
|
|
1290
1290
|
}
|
|
1291
1291
|
],
|
|
1292
1292
|
type: J(s) ? "text" : null,
|
|
1293
|
-
value: J(s) ?
|
|
1293
|
+
value: J(s) ? C.title : null,
|
|
1294
1294
|
tabindex: "0",
|
|
1295
1295
|
onKeyup: dt(h, ["enter"])
|
|
1296
1296
|
}, Li(c.value), {
|
|
1297
1297
|
onKeydown: dt(J(v), ["esc"])
|
|
1298
1298
|
}), {
|
|
1299
1299
|
default: W(() => [
|
|
1300
|
-
Fa(x(
|
|
1300
|
+
Fa(x(C.title), 1)
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 1
|
|
1303
1303
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1437,7 +1437,7 @@ const qa = /* @__PURE__ */ Y({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const Cn = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
@@ -1461,7 +1461,7 @@ const gn = {
|
|
|
1461
1461
|
DAYS: "days",
|
|
1462
1462
|
WEEKS: "weeks",
|
|
1463
1463
|
MONTHS: "months"
|
|
1464
|
-
},
|
|
1464
|
+
}, ge = {
|
|
1465
1465
|
TEMPLATES: "templates",
|
|
1466
1466
|
PHASES: "phases",
|
|
1467
1467
|
MILESTONES: "milestones",
|
|
@@ -1492,17 +1492,17 @@ function Je(t) {
|
|
|
1492
1492
|
var e = Number(t);
|
|
1493
1493
|
return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function Ce(t, e) {
|
|
1496
1496
|
if (e.length < t)
|
|
1497
1497
|
throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
|
|
1498
1498
|
}
|
|
1499
1499
|
function be(t) {
|
|
1500
|
-
|
|
1500
|
+
Ce(1, arguments);
|
|
1501
1501
|
var e = Object.prototype.toString.call(t);
|
|
1502
1502
|
return t instanceof Date || Ha(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));
|
|
1503
1503
|
}
|
|
1504
1504
|
function U2(t, e) {
|
|
1505
|
-
|
|
1505
|
+
Ce(2, arguments);
|
|
1506
1506
|
var a = be(t).getTime(), n = Je(e);
|
|
1507
1507
|
return new Date(a + n);
|
|
1508
1508
|
}
|
|
@@ -1515,51 +1515,51 @@ function ra(t) {
|
|
|
1515
1515
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1516
1516
|
}
|
|
1517
1517
|
function rs(t) {
|
|
1518
|
-
|
|
1518
|
+
Ce(1, arguments);
|
|
1519
1519
|
var e = be(t);
|
|
1520
1520
|
return e.setHours(0, 0, 0, 0), e;
|
|
1521
1521
|
}
|
|
1522
1522
|
var W2 = 864e5;
|
|
1523
1523
|
function q2(t, e) {
|
|
1524
|
-
|
|
1524
|
+
Ce(2, arguments);
|
|
1525
1525
|
var a = rs(t), n = rs(e), s = a.getTime() - ra(a), o = n.getTime() - ra(n);
|
|
1526
1526
|
return Math.round((s - o) / W2);
|
|
1527
1527
|
}
|
|
1528
1528
|
function z2(t, e) {
|
|
1529
|
-
|
|
1529
|
+
Ce(2, arguments);
|
|
1530
1530
|
var a = be(t), n = be(e), s = a.getTime() - n.getTime();
|
|
1531
1531
|
return s < 0 ? -1 : s > 0 ? 1 : s;
|
|
1532
1532
|
}
|
|
1533
1533
|
var Ls = 6e4, Hs = 36e5;
|
|
1534
1534
|
function x2(t) {
|
|
1535
|
-
return
|
|
1535
|
+
return Ce(1, arguments), t instanceof Date || Ha(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1536
1536
|
}
|
|
1537
1537
|
function Ds(t) {
|
|
1538
|
-
if (
|
|
1538
|
+
if (Ce(1, arguments), !x2(t) && typeof t != "number")
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
1543
|
function _n(t, e) {
|
|
1544
|
-
|
|
1544
|
+
Ce(2, arguments);
|
|
1545
1545
|
var a = Je(e);
|
|
1546
1546
|
return U2(t, -a);
|
|
1547
1547
|
}
|
|
1548
1548
|
var Y2 = 864e5;
|
|
1549
1549
|
function K2(t) {
|
|
1550
|
-
|
|
1550
|
+
Ce(1, arguments);
|
|
1551
1551
|
var e = be(t), a = e.getTime();
|
|
1552
1552
|
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
|
|
1553
1553
|
var n = e.getTime(), s = a - n;
|
|
1554
1554
|
return Math.floor(s / Y2) + 1;
|
|
1555
1555
|
}
|
|
1556
1556
|
function Da(t) {
|
|
1557
|
-
|
|
1557
|
+
Ce(1, arguments);
|
|
1558
1558
|
var e = 1, a = be(t), n = a.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1559
1559
|
return a.setUTCDate(a.getUTCDate() - s), a.setUTCHours(0, 0, 0, 0), a;
|
|
1560
1560
|
}
|
|
1561
1561
|
function Ps(t) {
|
|
1562
|
-
|
|
1562
|
+
Ce(1, arguments);
|
|
1563
1563
|
var e = be(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1564
1564
|
n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
1565
1565
|
var s = Da(n), o = /* @__PURE__ */ new Date(0);
|
|
@@ -1568,7 +1568,7 @@ function Ps(t) {
|
|
|
1568
1568
|
return e.getTime() >= s.getTime() ? a + 1 : e.getTime() >= i.getTime() ? a : a - 1;
|
|
1569
1569
|
}
|
|
1570
1570
|
function G2(t) {
|
|
1571
|
-
|
|
1571
|
+
Ce(1, arguments);
|
|
1572
1572
|
var e = Ps(t), a = /* @__PURE__ */ new Date(0);
|
|
1573
1573
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1574
1574
|
var n = Da(a);
|
|
@@ -1576,13 +1576,13 @@ function G2(t) {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
var X2 = 6048e5;
|
|
1578
1578
|
function Q2(t) {
|
|
1579
|
-
|
|
1579
|
+
Ce(1, arguments);
|
|
1580
1580
|
var e = be(t), a = Da(e).getTime() - G2(e).getTime();
|
|
1581
1581
|
return Math.round(a / X2) + 1;
|
|
1582
1582
|
}
|
|
1583
1583
|
function Pa(t, e) {
|
|
1584
1584
|
var a, n, s, o, i, r, l, c;
|
|
1585
|
-
|
|
1585
|
+
Ce(1, arguments);
|
|
1586
1586
|
var u = fa(), v = Je((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1587
1587
|
if (!(v >= 0 && v <= 6))
|
|
1588
1588
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
@@ -1591,20 +1591,20 @@ function Pa(t, e) {
|
|
|
1591
1591
|
}
|
|
1592
1592
|
function Vs(t, e) {
|
|
1593
1593
|
var a, n, s, o, i, r, l, c;
|
|
1594
|
-
|
|
1594
|
+
Ce(1, arguments);
|
|
1595
1595
|
var u = be(t), v = u.getUTCFullYear(), d = fa(), h = Je((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1596
1596
|
if (!(h >= 1 && h <= 7))
|
|
1597
1597
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1598
1598
|
var w = /* @__PURE__ */ new Date(0);
|
|
1599
1599
|
w.setUTCFullYear(v + 1, 0, h), w.setUTCHours(0, 0, 0, 0);
|
|
1600
|
-
var
|
|
1600
|
+
var C = Pa(w, e), b = /* @__PURE__ */ new Date(0);
|
|
1601
1601
|
b.setUTCFullYear(v, 0, h), b.setUTCHours(0, 0, 0, 0);
|
|
1602
1602
|
var A = Pa(b, e);
|
|
1603
|
-
return u.getTime() >=
|
|
1603
|
+
return u.getTime() >= C.getTime() ? v + 1 : u.getTime() >= A.getTime() ? v : v - 1;
|
|
1604
1604
|
}
|
|
1605
1605
|
function J2(t, e) {
|
|
1606
1606
|
var a, n, s, o, i, r, l, c;
|
|
1607
|
-
|
|
1607
|
+
Ce(1, arguments);
|
|
1608
1608
|
var u = fa(), v = Je((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Vs(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1609
1609
|
h.setUTCFullYear(d, 0, v), h.setUTCHours(0, 0, 0, 0);
|
|
1610
1610
|
var w = Pa(h, e);
|
|
@@ -1612,7 +1612,7 @@ function J2(t, e) {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
var e0 = 6048e5;
|
|
1614
1614
|
function t0(t, e) {
|
|
1615
|
-
|
|
1615
|
+
Ce(1, arguments);
|
|
1616
1616
|
var a = be(t), n = Pa(a, e).getTime() - J2(a, e).getTime();
|
|
1617
1617
|
return Math.round(n / e0) + 1;
|
|
1618
1618
|
}
|
|
@@ -2413,12 +2413,12 @@ var h0 = {
|
|
|
2413
2413
|
long: "h:mm:ss a z",
|
|
2414
2414
|
medium: "h:mm:ss a",
|
|
2415
2415
|
short: "h:mm a"
|
|
2416
|
-
},
|
|
2416
|
+
}, g0 = {
|
|
2417
2417
|
full: "{{date}} 'at' {{time}}",
|
|
2418
2418
|
long: "{{date}} 'at' {{time}}",
|
|
2419
2419
|
medium: "{{date}}, {{time}}",
|
|
2420
2420
|
short: "{{date}}, {{time}}"
|
|
2421
|
-
},
|
|
2421
|
+
}, C0 = {
|
|
2422
2422
|
date: fn({
|
|
2423
2423
|
formats: h0,
|
|
2424
2424
|
defaultWidth: "full"
|
|
@@ -2428,11 +2428,11 @@ var h0 = {
|
|
|
2428
2428
|
defaultWidth: "full"
|
|
2429
2429
|
}),
|
|
2430
2430
|
dateTime: fn({
|
|
2431
|
-
formats:
|
|
2431
|
+
formats: g0,
|
|
2432
2432
|
defaultWidth: "full"
|
|
2433
2433
|
})
|
|
2434
2434
|
};
|
|
2435
|
-
const _0 =
|
|
2435
|
+
const _0 = C0;
|
|
2436
2436
|
var y0 = {
|
|
2437
2437
|
lastWeek: "'last' eeee 'at' p",
|
|
2438
2438
|
yesterday: "'yesterday at' p",
|
|
@@ -2722,45 +2722,45 @@ var K0 = {
|
|
|
2722
2722
|
const Rs = K0;
|
|
2723
2723
|
var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Q0 = /^'([^]*?)'?$/, J0 = /''/g, e3 = /[a-zA-Z]/;
|
|
2724
2724
|
function js(t, e, a) {
|
|
2725
|
-
var n, s, o, i, r, l, c, u, v, d, h, w,
|
|
2726
|
-
|
|
2725
|
+
var n, s, o, i, r, l, c, u, v, d, h, w, C, b, A, _, g, D;
|
|
2726
|
+
Ce(2, arguments);
|
|
2727
2727
|
var I = String(e), L = fa(), U = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : Rs, Z = Je((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = L.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2728
2728
|
if (!(Z >= 1 && Z <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
|
-
var z = Je((h = (w = (
|
|
2730
|
+
var z = Je((h = (w = (C = (b = a == null ? void 0 : a.weekStartsOn) !== null && b !== void 0 ? b : a == null || (A = a.locale) === null || A === void 0 || (_ = A.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && C !== void 0 ? C : L.weekStartsOn) !== null && w !== void 0 ? w : (g = L.locale) === null || g === void 0 || (D = g.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2731
2731
|
if (!(z >= 0 && z <= 6))
|
|
2732
2732
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2733
2733
|
if (!U.localize)
|
|
2734
2734
|
throw new RangeError("locale must contain localize property");
|
|
2735
2735
|
if (!U.formatLong)
|
|
2736
2736
|
throw new RangeError("locale must contain formatLong property");
|
|
2737
|
-
var
|
|
2738
|
-
if (!Ds(
|
|
2737
|
+
var Q = be(t);
|
|
2738
|
+
if (!Ds(Q))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var ae = ra(
|
|
2740
|
+
var ae = ra(Q), S = _n(Q, ae), j = {
|
|
2741
2741
|
firstWeekContainsDate: Z,
|
|
2742
2742
|
weekStartsOn: z,
|
|
2743
2743
|
locale: U,
|
|
2744
|
-
_originalDate:
|
|
2745
|
-
}, ne = I.match(X0).map(function(
|
|
2746
|
-
var O =
|
|
2744
|
+
_originalDate: Q
|
|
2745
|
+
}, ne = I.match(X0).map(function(X) {
|
|
2746
|
+
var O = X[0];
|
|
2747
2747
|
if (O === "p" || O === "P") {
|
|
2748
2748
|
var k = r0[O];
|
|
2749
|
-
return k(
|
|
2749
|
+
return k(X, U.formatLong);
|
|
2750
2750
|
}
|
|
2751
|
-
return
|
|
2752
|
-
}).join("").match(G0).map(function(
|
|
2753
|
-
if (
|
|
2751
|
+
return X;
|
|
2752
|
+
}).join("").match(G0).map(function(X) {
|
|
2753
|
+
if (X === "''")
|
|
2754
2754
|
return "'";
|
|
2755
|
-
var O =
|
|
2755
|
+
var O = X[0];
|
|
2756
2756
|
if (O === "'")
|
|
2757
|
-
return t3(
|
|
2757
|
+
return t3(X);
|
|
2758
2758
|
var k = s0[O];
|
|
2759
2759
|
if (k)
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(X) && ds(X, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(X) && ds(X, e, String(t)), k(S, X, U.localize, j);
|
|
2761
2761
|
if (O.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + O + "`");
|
|
2763
|
-
return
|
|
2763
|
+
return X;
|
|
2764
2764
|
}).join("");
|
|
2765
2765
|
return ne;
|
|
2766
2766
|
}
|
|
@@ -2770,8 +2770,8 @@ function t3(t) {
|
|
|
2770
2770
|
}
|
|
2771
2771
|
function a3(t, e, a) {
|
|
2772
2772
|
var n, s, o, i, r, l, c, u, v, d;
|
|
2773
|
-
|
|
2774
|
-
var h = be(t), w = be(e),
|
|
2773
|
+
Ce(2, arguments);
|
|
2774
|
+
var h = be(t), w = be(e), C = fa(), b = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : C.locale) !== null && n !== void 0 ? n : Rs, A = Je((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : C.weekStartsOn) !== null && i !== void 0 ? i : (v = C.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2775
2775
|
if (!b.localize)
|
|
2776
2776
|
throw new RangeError("locale must contain localize property");
|
|
2777
2777
|
if (!b.formatLong)
|
|
@@ -2781,9 +2781,9 @@ function a3(t, e, a) {
|
|
|
2781
2781
|
var _ = q2(h, w);
|
|
2782
2782
|
if (isNaN(_))
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
|
-
var
|
|
2785
|
-
_ < -6 ?
|
|
2786
|
-
var D = _n(h, ra(h)), I = _n(w, ra(w)), L = b.formatRelative(
|
|
2784
|
+
var g;
|
|
2785
|
+
_ < -6 ? g = "other" : _ < -1 ? g = "lastWeek" : _ < 0 ? g = "yesterday" : _ < 1 ? g = "today" : _ < 2 ? g = "tomorrow" : _ < 7 ? g = "nextWeek" : g = "other";
|
|
2786
|
+
var D = _n(h, ra(h)), I = _n(w, ra(w)), L = b.formatRelative(g, D, I, {
|
|
2787
2787
|
locale: b,
|
|
2788
2788
|
weekStartsOn: A
|
|
2789
2789
|
});
|
|
@@ -2794,7 +2794,7 @@ function a3(t, e, a) {
|
|
|
2794
2794
|
}
|
|
2795
2795
|
function la(t, e) {
|
|
2796
2796
|
var a;
|
|
2797
|
-
|
|
2797
|
+
Ce(1, arguments);
|
|
2798
2798
|
var n = Je((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
2799
2799
|
if (n !== 2 && n !== 1 && n !== 0)
|
|
2800
2800
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
@@ -2879,7 +2879,7 @@ function c3(t) {
|
|
|
2879
2879
|
if (!e)
|
|
2880
2880
|
return 0;
|
|
2881
2881
|
var a = e[1] === "+" ? -1 : 1, n = parseInt(e[2]), s = e[3] && parseInt(e[3]) || 0;
|
|
2882
|
-
return
|
|
2882
|
+
return g3(n, s) ? a * (n * Hs + s * Ls) : NaN;
|
|
2883
2883
|
}
|
|
2884
2884
|
function d3(t, e, a) {
|
|
2885
2885
|
var n = /* @__PURE__ */ new Date(0);
|
|
@@ -2903,16 +2903,16 @@ function h3(t, e, a) {
|
|
|
2903
2903
|
function m3(t, e, a) {
|
|
2904
2904
|
return t === 24 ? e === 0 && a === 0 : a >= 0 && a < 60 && e >= 0 && e < 60 && t >= 0 && t < 25;
|
|
2905
2905
|
}
|
|
2906
|
-
function
|
|
2906
|
+
function g3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
2909
|
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, za = {};
|
|
2910
2910
|
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
2911
2911
|
za.lexoHelper = void 0;
|
|
2912
2912
|
za.lexoHelper = {
|
|
2913
|
-
arrayCopy:
|
|
2913
|
+
arrayCopy: C3
|
|
2914
2914
|
};
|
|
2915
|
-
function
|
|
2915
|
+
function C3(t, e, a, n, s) {
|
|
2916
2916
|
let o = n;
|
|
2917
2917
|
const i = e + s;
|
|
2918
2918
|
for (let r = e; r < i; r++)
|
|
@@ -3488,20 +3488,20 @@ function Ws() {
|
|
|
3488
3488
|
}
|
|
3489
3489
|
let v;
|
|
3490
3490
|
for (let w = l.getScale(); w > 0; c = v) {
|
|
3491
|
-
const
|
|
3492
|
-
if (v = c.setScale(
|
|
3491
|
+
const C = w - 1, b = l.setScale(C, !0);
|
|
3492
|
+
if (v = c.setScale(C, !1), b.compareTo(v) === 0)
|
|
3493
3493
|
return s.checkMid(i, r, b);
|
|
3494
3494
|
if (b.compareTo(v) > 0)
|
|
3495
3495
|
break;
|
|
3496
|
-
w =
|
|
3496
|
+
w = C, l = b;
|
|
3497
3497
|
}
|
|
3498
3498
|
let d = s.middleInternal(i, r, l, c), h;
|
|
3499
3499
|
for (let w = d.getScale(); w > 0; w = h) {
|
|
3500
3500
|
h = w - 1;
|
|
3501
|
-
const
|
|
3502
|
-
if (i.compareTo(
|
|
3501
|
+
const C = d.setScale(h);
|
|
3502
|
+
if (i.compareTo(C) >= 0 || C.compareTo(r) >= 0)
|
|
3503
3503
|
break;
|
|
3504
|
-
d =
|
|
3504
|
+
d = C;
|
|
3505
3505
|
}
|
|
3506
3506
|
return d;
|
|
3507
3507
|
}
|
|
@@ -3652,7 +3652,7 @@ function A3(t) {
|
|
|
3652
3652
|
function M3(t) {
|
|
3653
3653
|
return t.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function ga(t, e) {
|
|
3656
3656
|
if (t.moved)
|
|
3657
3657
|
return Nt(e, t.moved.newIndex);
|
|
3658
3658
|
}
|
|
@@ -3686,7 +3686,7 @@ function T3(t, e) {
|
|
|
3686
3686
|
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: T3(t, e) ?
|
|
3689
|
+
status: T3(t, e) ? Cn.done : Cn.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const zs = (t) => {
|
|
@@ -3862,7 +3862,7 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
|
|
|
3862
3862
|
const a5 = ["type"], n5 = {
|
|
3863
3863
|
key: 0,
|
|
3864
3864
|
class: "ao-button-card__label"
|
|
3865
|
-
},
|
|
3865
|
+
}, gt = /* @__PURE__ */ Y({
|
|
3866
3866
|
__name: "AoButtonCard",
|
|
3867
3867
|
props: {
|
|
3868
3868
|
label: { default: () => "" },
|
|
@@ -4007,7 +4007,7 @@ const l5 = /* @__PURE__ */ Y({
|
|
|
4007
4007
|
e("updateMilestone", r);
|
|
4008
4008
|
}, i = (r) => {
|
|
4009
4009
|
if (r.moved) {
|
|
4010
|
-
const l =
|
|
4010
|
+
const l = ga(r, a.phase.milestones);
|
|
4011
4011
|
e("updateMilestone", {
|
|
4012
4012
|
id: r.moved.element.id,
|
|
4013
4013
|
rank: l
|
|
@@ -4049,7 +4049,7 @@ const l5 = /* @__PURE__ */ Y({
|
|
|
4049
4049
|
]),
|
|
4050
4050
|
footer: W(() => [
|
|
4051
4051
|
f("div", c5, [
|
|
4052
|
-
T(
|
|
4052
|
+
T(gt, {
|
|
4053
4053
|
"icon-name": "AddBoxOutlineRounded",
|
|
4054
4054
|
label: r.$t("template.milestones.add"),
|
|
4055
4055
|
onClick: n
|
|
@@ -4097,7 +4097,7 @@ const l5 = /* @__PURE__ */ Y({
|
|
|
4097
4097
|
e("removeActivity", { id: r });
|
|
4098
4098
|
}, i = (r) => {
|
|
4099
4099
|
if (r.moved) {
|
|
4100
|
-
const l =
|
|
4100
|
+
const l = ga(r, a.milestone.activities);
|
|
4101
4101
|
e("updateActivity", {
|
|
4102
4102
|
id: r.moved.element.id,
|
|
4103
4103
|
rank: l
|
|
@@ -4135,7 +4135,7 @@ const l5 = /* @__PURE__ */ Y({
|
|
|
4135
4135
|
]),
|
|
4136
4136
|
footer: W(() => [
|
|
4137
4137
|
f("div", v5, [
|
|
4138
|
-
T(
|
|
4138
|
+
T(gt, {
|
|
4139
4139
|
"icon-name": "AddBoxOutlineRounded",
|
|
4140
4140
|
label: r.$t("template.activities.add"),
|
|
4141
4141
|
onClick: n
|
|
@@ -4148,7 +4148,7 @@ const l5 = /* @__PURE__ */ Y({
|
|
|
4148
4148
|
}), h5 = { class: "ao-modal" }, m5 = {
|
|
4149
4149
|
key: 0,
|
|
4150
4150
|
class: "ao-modal__header"
|
|
4151
|
-
},
|
|
4151
|
+
}, g5 = { class: "ao-modal__header-meta" }, C5 = { class: "ao-modal__title-group" }, _5 = { class: "ao-modal__body" }, y5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
4154
|
}, Xa = /* @__PURE__ */ Y({
|
|
@@ -4167,7 +4167,7 @@ const l5 = /* @__PURE__ */ Y({
|
|
|
4167
4167
|
}),
|
|
4168
4168
|
f("div", h5, [
|
|
4169
4169
|
e.$slots.header ? (p(), m("div", m5, [
|
|
4170
|
-
f("div",
|
|
4170
|
+
f("div", g5, [
|
|
4171
4171
|
T(ue, {
|
|
4172
4172
|
"icon-name": "CloseRounded",
|
|
4173
4173
|
variant: "ghost",
|
|
@@ -4175,7 +4175,7 @@ const l5 = /* @__PURE__ */ Y({
|
|
|
4175
4175
|
onClick: a[1] || (a[1] = (n) => e.$emit("close"))
|
|
4176
4176
|
})
|
|
4177
4177
|
]),
|
|
4178
|
-
f("header",
|
|
4178
|
+
f("header", C5, [
|
|
4179
4179
|
te(e.$slots, "header")
|
|
4180
4180
|
])
|
|
4181
4181
|
])) : E("", !0),
|
|
@@ -4345,13 +4345,13 @@ const E5 = async (t, e, a) => {
|
|
|
4345
4345
|
x: u,
|
|
4346
4346
|
y: v
|
|
4347
4347
|
} = fs(c, n, l), d = n, h = {}, w = 0;
|
|
4348
|
-
for (let
|
|
4348
|
+
for (let C = 0; C < r.length; C++) {
|
|
4349
4349
|
const {
|
|
4350
4350
|
name: b,
|
|
4351
4351
|
fn: A
|
|
4352
|
-
} = r[
|
|
4352
|
+
} = r[C], {
|
|
4353
4353
|
x: _,
|
|
4354
|
-
y:
|
|
4354
|
+
y: g,
|
|
4355
4355
|
data: D,
|
|
4356
4356
|
reset: I
|
|
4357
4357
|
} = await A({
|
|
@@ -4368,7 +4368,7 @@ const E5 = async (t, e, a) => {
|
|
|
4368
4368
|
floating: e
|
|
4369
4369
|
}
|
|
4370
4370
|
});
|
|
4371
|
-
if (u = _ ?? u, v =
|
|
4371
|
+
if (u = _ ?? u, v = g ?? v, h = {
|
|
4372
4372
|
...h,
|
|
4373
4373
|
[b]: {
|
|
4374
4374
|
...h[b],
|
|
@@ -4382,7 +4382,7 @@ const E5 = async (t, e, a) => {
|
|
|
4382
4382
|
}) : I.rects), {
|
|
4383
4383
|
x: u,
|
|
4384
4384
|
y: v
|
|
4385
|
-
} = fs(c, d, l)),
|
|
4385
|
+
} = fs(c, d, l)), C = -1;
|
|
4386
4386
|
continue;
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
@@ -4419,7 +4419,7 @@ async function Ks(t, e) {
|
|
|
4419
4419
|
...i.floating,
|
|
4420
4420
|
x: n,
|
|
4421
4421
|
y: s
|
|
4422
|
-
} : i.reference,
|
|
4422
|
+
} : i.reference, g = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(r.floating)), D = await (o.isElement == null ? void 0 : o.isElement(g)) ? await (o.getScale == null ? void 0 : o.getScale(g)) || {
|
|
4423
4423
|
x: 1,
|
|
4424
4424
|
y: 1
|
|
4425
4425
|
} : {
|
|
@@ -4427,7 +4427,7 @@ async function Ks(t, e) {
|
|
|
4427
4427
|
y: 1
|
|
4428
4428
|
}, I = Ra(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4429
4429
|
rect: _,
|
|
4430
|
-
offsetParent:
|
|
4430
|
+
offsetParent: g,
|
|
4431
4431
|
strategy: l
|
|
4432
4432
|
}) : _);
|
|
4433
4433
|
return {
|
|
@@ -4456,24 +4456,24 @@ const I5 = function(t) {
|
|
|
4456
4456
|
fallbackPlacements: d,
|
|
4457
4457
|
fallbackStrategy: h = "bestFit",
|
|
4458
4458
|
fallbackAxisSideDirection: w = "none",
|
|
4459
|
-
flipAlignment:
|
|
4459
|
+
flipAlignment: C = !0,
|
|
4460
4460
|
...b
|
|
4461
4461
|
} = Ln(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
|
-
const A = Ft(s), _ = Ft(r) === r,
|
|
4465
|
-
!d && w !== "none" && D.push(...M5(r,
|
|
4464
|
+
const A = Ft(s), _ = Ft(r) === r, g = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !C ? [Ba(r)] : S5(r));
|
|
4465
|
+
!d && w !== "none" && D.push(...M5(r, C, w, g));
|
|
4466
4466
|
const I = [r, ...D], L = await Ks(e, b), U = [];
|
|
4467
4467
|
let Z = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4468
4468
|
if (u && U.push(L[A]), v) {
|
|
4469
|
-
const S = k5(s, i,
|
|
4469
|
+
const S = k5(s, i, g);
|
|
4470
4470
|
U.push(L[S[0]], L[S[1]]);
|
|
4471
4471
|
}
|
|
4472
4472
|
if (Z = [...Z, {
|
|
4473
4473
|
placement: s,
|
|
4474
4474
|
overflows: U
|
|
4475
4475
|
}], !U.every((S) => S <= 0)) {
|
|
4476
|
-
var z,
|
|
4476
|
+
var z, Q;
|
|
4477
4477
|
const S = (((z = o.flip) == null ? void 0 : z.index) || 0) + 1, j = I[S];
|
|
4478
4478
|
if (j)
|
|
4479
4479
|
return {
|
|
@@ -4485,13 +4485,13 @@ const I5 = function(t) {
|
|
|
4485
4485
|
placement: j
|
|
4486
4486
|
}
|
|
4487
4487
|
};
|
|
4488
|
-
let ne = (
|
|
4488
|
+
let ne = (Q = Z.filter((X) => X.overflows[0] <= 0).sort((X, O) => X.overflows[1] - O.overflows[1])[0]) == null ? void 0 : Q.placement;
|
|
4489
4489
|
if (!ne)
|
|
4490
4490
|
switch (h) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var ae;
|
|
4493
|
-
const
|
|
4494
|
-
|
|
4493
|
+
const X = (ae = Z.map((O) => [O.placement, O.overflows.filter((k) => k > 0).reduce((k, F) => k + F, 0)]).sort((O, k) => O[1] - k[1])[0]) == null ? void 0 : ae[0];
|
|
4494
|
+
X && (ne = X);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
4497
4497
|
case "initialPlacement":
|
|
@@ -4526,25 +4526,25 @@ const I5 = function(t) {
|
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: h
|
|
4528
4528
|
} = n.floating;
|
|
4529
|
-
let w,
|
|
4530
|
-
c === "top" || c === "bottom" ? (w = c,
|
|
4531
|
-
const b = h - l[w], A = d - l[
|
|
4532
|
-
let
|
|
4529
|
+
let w, C;
|
|
4530
|
+
c === "top" || c === "bottom" ? (w = c, C = u === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (C = c, w = u === "end" ? "top" : "bottom");
|
|
4531
|
+
const b = h - l[w], A = d - l[C], _ = !e.middlewareData.shift;
|
|
4532
|
+
let g = b, D = A;
|
|
4533
4533
|
if (v) {
|
|
4534
4534
|
const L = d - l.left - l.right;
|
|
4535
4535
|
D = u || _ ? ua(A, L) : L;
|
|
4536
4536
|
} else {
|
|
4537
4537
|
const L = h - l.top - l.bottom;
|
|
4538
|
-
|
|
4538
|
+
g = u || _ ? ua(b, L) : L;
|
|
4539
4539
|
}
|
|
4540
4540
|
if (_ && !u) {
|
|
4541
4541
|
const L = Ie(l.left, 0), U = Ie(l.right, 0), Z = Ie(l.top, 0), z = Ie(l.bottom, 0);
|
|
4542
|
-
v ? D = d - 2 * (L !== 0 || U !== 0 ? L + U : Ie(l.left, l.right)) :
|
|
4542
|
+
v ? D = d - 2 * (L !== 0 || U !== 0 ? L + U : Ie(l.left, l.right)) : g = h - 2 * (Z !== 0 || z !== 0 ? Z + z : Ie(l.top, l.bottom));
|
|
4543
4543
|
}
|
|
4544
4544
|
await i({
|
|
4545
4545
|
...e,
|
|
4546
4546
|
availableWidth: D,
|
|
4547
|
-
availableHeight:
|
|
4547
|
+
availableHeight: g
|
|
4548
4548
|
});
|
|
4549
4549
|
const I = await s.getDimensions(o.floating);
|
|
4550
4550
|
return d !== I.width || h !== I.height ? {
|
|
@@ -4578,7 +4578,7 @@ function Ze(t) {
|
|
|
4578
4578
|
function hs(t) {
|
|
4579
4579
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Se(t).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
|
-
function
|
|
4581
|
+
function Ca(t) {
|
|
4582
4582
|
const {
|
|
4583
4583
|
overflow: e,
|
|
4584
4584
|
overflowX: a,
|
|
@@ -4635,13 +4635,13 @@ function Ut(t) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
4638
|
-
return Ja(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) &&
|
|
4638
|
+
return Ja(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && Ca(e) ? e : Xs(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ca(t, e, a) {
|
|
4641
4641
|
var n;
|
|
4642
4642
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4643
4643
|
const s = Xs(t), o = s === ((n = t.ownerDocument) == null ? void 0 : n.body), i = Se(s);
|
|
4644
|
-
return o ? e.concat(i, i.visualViewport || [],
|
|
4644
|
+
return o ? e.concat(i, i.visualViewport || [], Ca(s) ? s : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(s, ca(s));
|
|
4645
4645
|
}
|
|
4646
4646
|
function Qs(t) {
|
|
4647
4647
|
const e = Ve(t);
|
|
@@ -4693,8 +4693,8 @@ function St(t, e, a, n) {
|
|
|
4693
4693
|
const d = Se(o), h = n && tt(n) ? Se(n) : n;
|
|
4694
4694
|
let w = d.frameElement;
|
|
4695
4695
|
for (; w && n && h !== d; ) {
|
|
4696
|
-
const
|
|
4697
|
-
l *=
|
|
4696
|
+
const C = Vt(w), b = w.getBoundingClientRect(), A = Ve(w), _ = b.left + (w.clientLeft + parseFloat(A.paddingLeft)) * C.x, g = b.top + (w.clientTop + parseFloat(A.paddingTop)) * C.y;
|
|
4697
|
+
l *= C.x, c *= C.y, u *= C.x, v *= C.y, l += _, c += g, w = Se(w).frameElement;
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
4700
4700
|
return Ra({
|
|
@@ -4718,7 +4718,7 @@ function B5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((vt(a) !== "body" ||
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((vt(a) !== "body" || Ca(o)) && (i = en(a)), Ze(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4801,7 +4801,7 @@ function U5(t, e) {
|
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
4802
|
for (; tt(i) && !Ja(i); ) {
|
|
4803
4803
|
const r = Ve(i), l = Dn(i);
|
|
4804
|
-
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) ||
|
|
4804
|
+
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Ca(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
|
|
4805
4805
|
}
|
|
4806
4806
|
return e.set(t, n), n;
|
|
4807
4807
|
}
|
|
@@ -4834,7 +4834,7 @@ function q5(t, e, a) {
|
|
|
4834
4834
|
};
|
|
4835
4835
|
const l = pt(0);
|
|
4836
4836
|
if (n || !n && !o)
|
|
4837
|
-
if ((vt(e) !== "body" ||
|
|
4837
|
+
if ((vt(e) !== "body" || Ca(s)) && (r = en(e)), n) {
|
|
4838
4838
|
const c = St(e, !0, o, e);
|
|
4839
4839
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4840
|
} else
|
|
@@ -4846,16 +4846,16 @@ function q5(t, e, a) {
|
|
|
4846
4846
|
height: i.height
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4849
|
+
function gs(t, e) {
|
|
4850
4850
|
return !Ze(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ai(t, e) {
|
|
4853
4853
|
const a = Se(t);
|
|
4854
4854
|
if (!Ze(t))
|
|
4855
4855
|
return a;
|
|
4856
|
-
let n =
|
|
4856
|
+
let n = gs(t, e);
|
|
4857
4857
|
for (; n && H5(n) && Ve(n).position === "static"; )
|
|
4858
|
-
n =
|
|
4858
|
+
n = gs(n, e);
|
|
4859
4859
|
return n && (vt(n) === "html" || vt(n) === "body" && Ve(n).position === "static" && !Dn(n)) ? a : n || D5(t) || a;
|
|
4860
4860
|
}
|
|
4861
4861
|
const z5 = async function(t) {
|
|
@@ -4905,21 +4905,21 @@ function K5(t, e) {
|
|
|
4905
4905
|
} = t.getBoundingClientRect();
|
|
4906
4906
|
if (r || e(), !v || !d)
|
|
4907
4907
|
return;
|
|
4908
|
-
const h = Oa(u), w = Oa(s.clientWidth - (c + v)),
|
|
4909
|
-
rootMargin: -h + "px " + -w + "px " + -
|
|
4908
|
+
const h = Oa(u), w = Oa(s.clientWidth - (c + v)), C = Oa(s.clientHeight - (u + d)), b = Oa(c), _ = {
|
|
4909
|
+
rootMargin: -h + "px " + -w + "px " + -C + "px " + -b + "px",
|
|
4910
4910
|
threshold: Ie(0, ua(1, l)) || 1
|
|
4911
4911
|
};
|
|
4912
|
-
let
|
|
4912
|
+
let g = !0;
|
|
4913
4913
|
function D(I) {
|
|
4914
4914
|
const L = I[0].intersectionRatio;
|
|
4915
4915
|
if (L !== l) {
|
|
4916
|
-
if (!
|
|
4916
|
+
if (!g)
|
|
4917
4917
|
return i();
|
|
4918
4918
|
L ? i(!1, L) : n = setTimeout(() => {
|
|
4919
4919
|
i(!1, 1e-7);
|
|
4920
4920
|
}, 100);
|
|
4921
4921
|
}
|
|
4922
|
-
|
|
4922
|
+
g = !1;
|
|
4923
4923
|
}
|
|
4924
4924
|
try {
|
|
4925
4925
|
a = new IntersectionObserver(D, {
|
|
@@ -4956,11 +4956,11 @@ function G5(t, e, a, n) {
|
|
|
4956
4956
|
h && h.observe(e);
|
|
4957
4957
|
})), a();
|
|
4958
4958
|
}), c && !l && h.observe(c), h.observe(e));
|
|
4959
|
-
let w,
|
|
4959
|
+
let w, C = l ? St(t) : null;
|
|
4960
4960
|
l && b();
|
|
4961
4961
|
function b() {
|
|
4962
4962
|
const A = St(t);
|
|
4963
|
-
|
|
4963
|
+
C && (A.x !== C.x || A.y !== C.y || A.width !== C.width || A.height !== C.height) && a(), C = A, w = requestAnimationFrame(b);
|
|
4964
4964
|
}
|
|
4965
4965
|
return a(), () => {
|
|
4966
4966
|
u.forEach((A) => {
|
|
@@ -5083,8 +5083,8 @@ function t7(t, e, a) {
|
|
|
5083
5083
|
}, v = (d) => {
|
|
5084
5084
|
if (n && n.value) {
|
|
5085
5085
|
let w = (d.clipboardData || /* istanbul ignore next */
|
|
5086
|
-
window.clipboardData).getData("Text"),
|
|
5087
|
-
typeof
|
|
5086
|
+
window.clipboardData).getData("Text"), C = n.value;
|
|
5087
|
+
typeof C == "string" && (C = new RegExp(C)), w.split("").every((b) => !!b.match(C)) || d.preventDefault();
|
|
5088
5088
|
}
|
|
5089
5089
|
e.emit("paste", d, s);
|
|
5090
5090
|
};
|
|
@@ -5136,23 +5136,23 @@ function i7(t, e, a) {
|
|
|
5136
5136
|
appendNewOption: d,
|
|
5137
5137
|
multipleLabel: h,
|
|
5138
5138
|
object: w,
|
|
5139
|
-
loading:
|
|
5139
|
+
loading: C,
|
|
5140
5140
|
delay: b,
|
|
5141
5141
|
resolveOnLoad: A,
|
|
5142
5142
|
minChars: _,
|
|
5143
|
-
filterResults:
|
|
5143
|
+
filterResults: g,
|
|
5144
5144
|
clearOnSearch: D,
|
|
5145
5145
|
clearOnSelect: I,
|
|
5146
5146
|
valueProp: L,
|
|
5147
5147
|
allowAbsent: U,
|
|
5148
5148
|
groupLabel: Z,
|
|
5149
5149
|
canDeselect: z,
|
|
5150
|
-
max:
|
|
5150
|
+
max: Q,
|
|
5151
5151
|
strict: ae,
|
|
5152
5152
|
closeOnSelect: S,
|
|
5153
5153
|
closeOnDeselect: j,
|
|
5154
5154
|
groups: ne,
|
|
5155
|
-
reverse:
|
|
5155
|
+
reverse: X,
|
|
5156
5156
|
infinite: O,
|
|
5157
5157
|
groupOptions: k,
|
|
5158
5158
|
groupHideEmpty: F,
|
|
@@ -5177,7 +5177,7 @@ function i7(t, e, a) {
|
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Qt = M(() => {
|
|
5179
5179
|
let $ = Oe.value;
|
|
5180
|
-
return
|
|
5180
|
+
return X.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), dn($);
|
|
5181
5181
|
}), rt = M(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
5183
|
return ze.value > 0 && ($ = $.slice(0, ze.value)), $;
|
|
@@ -5234,7 +5234,7 @@ function i7(t, e, a) {
|
|
|
5234
5234
|
case "tags":
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
|
-
}), mi = M(() =>
|
|
5237
|
+
}), mi = M(() => C.value || Te.value), Et = ($) => {
|
|
5238
5238
|
switch (typeof $ != "object" && ($ = Ye($)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
$e($);
|
|
@@ -5258,7 +5258,7 @@ function i7(t, e, a) {
|
|
|
5258
5258
|
e.emit("deselect", es($), $, oe);
|
|
5259
5259
|
}, es = ($) => w.value ? $ : $[L.value], ts = ($) => {
|
|
5260
5260
|
It($);
|
|
5261
|
-
},
|
|
5261
|
+
}, gi = ($, B) => {
|
|
5262
5262
|
if (B.button !== 0) {
|
|
5263
5263
|
B.preventDefault();
|
|
5264
5264
|
return;
|
|
@@ -5276,7 +5276,7 @@ function i7(t, e, a) {
|
|
|
5276
5276
|
case "multiple":
|
|
5277
5277
|
return !Ne(q.value) && q.value.map((B) => B[L.value]).indexOf($[L.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
}, ln = ($) => $[y.value] === !0, un = () =>
|
|
5279
|
+
}, ln = ($) => $[y.value] === !0, un = () => Q === void 0 || Q.value === -1 || !rn.value && Q.value > 0 ? !1 : q.value.length >= Q.value, Ci = ($) => {
|
|
5280
5280
|
if (!ln($)) {
|
|
5281
5281
|
if (ie && ie.value && !xe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = ie.value($, oe), $ instanceof Promise)) {
|
|
5282
5282
|
Te.value = !0, $.then((B) => {
|
|
@@ -5325,7 +5325,7 @@ function i7(t, e, a) {
|
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
5327
|
bi($[k.value]) ? It($[k.value]) : Et(
|
|
5328
|
-
$[k.value].filter((B) => q.value.map((re) => re[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, re) => q.value.length + 1 + re <=
|
|
5328
|
+
$[k.value].filter((B) => q.value.map((re) => re[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, re) => q.value.length + 1 + re <= Q.value || Q.value === -1)
|
|
5329
5329
|
), r.value && Kt.value && Gt(on.value.filter((B) => !B[y.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
@@ -5341,7 +5341,7 @@ function i7(t, e, a) {
|
|
|
5341
5341
|
(B) => K.value ? B.__VISIBLE__.length : B[k.value].length
|
|
5342
5342
|
) : $.filter((B) => K.value ? B.__VISIBLE__.length : !0), dn = ($, B = !0) => {
|
|
5343
5343
|
let re = $;
|
|
5344
|
-
if (K.value &&
|
|
5344
|
+
if (K.value && g.value) {
|
|
5345
5345
|
let me = le.value;
|
|
5346
5346
|
me || (me = (bt, is, b8) => yt.value.some((Ti) => {
|
|
5347
5347
|
let os = mn(ya(bt[Ti]), ae.value);
|
|
@@ -5453,9 +5453,9 @@ function i7(t, e, a) {
|
|
|
5453
5453
|
isDisabled: ln,
|
|
5454
5454
|
isMax: un,
|
|
5455
5455
|
getOption: Ye,
|
|
5456
|
-
handleOptionClick:
|
|
5456
|
+
handleOptionClick: Ci,
|
|
5457
5457
|
handleGroupClick: _i,
|
|
5458
|
-
handleTagRemove:
|
|
5458
|
+
handleTagRemove: gi,
|
|
5459
5459
|
refreshOptions: Mi,
|
|
5460
5460
|
resolveOptions: ka,
|
|
5461
5461
|
refreshLabels: vn
|
|
@@ -5472,7 +5472,7 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: v
|
|
5475
|
-
} = Me(t), d = a.fo, h = a.fg, w = a.handleOptionClick,
|
|
5475
|
+
} = Me(t), d = a.fo, h = a.fg, w = a.handleOptionClick, C = a.handleGroupClick, b = a.search, A = a.pointer, _ = a.setPointer, g = a.clearPointer, D = a.multiselect, I = a.isOpen, L = M(() => d.value.filter((H) => !H[u.value])), U = M(() => h.value.filter((H) => !H[u.value])), Z = M(() => l.value !== "single" && c.value), z = M(() => A.value && A.value.group), Q = M(() => oe(A.value)), ae = M(() => {
|
|
5476
5476
|
const H = z.value ? A.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
5478
|
oe(A.value)
|
|
@@ -5482,8 +5482,8 @@ function o7(t, e, a) {
|
|
|
5482
5482
|
}), S = M(() => {
|
|
5483
5483
|
let H = U.value.map((K) => K.label).indexOf(z.value ? A.value[i.value] : oe(A.value)[i.value]) + 1;
|
|
5484
5484
|
return U.value.length <= H && (H = 0), U.value[H];
|
|
5485
|
-
}), j = M(() => [...U.value].slice(-1)[0]), ne = M(() => A.value.__VISIBLE__.filter((H) => !H[u.value])[0]),
|
|
5486
|
-
const H =
|
|
5485
|
+
}), j = M(() => [...U.value].slice(-1)[0]), ne = M(() => A.value.__VISIBLE__.filter((H) => !H[u.value])[0]), X = M(() => {
|
|
5486
|
+
const H = Q.value.__VISIBLE__.filter((K) => !K[u.value]);
|
|
5487
5487
|
return H[H.map((K) => K[n.value]).indexOf(A.value[n.value]) - 1];
|
|
5488
5488
|
}), O = M(() => {
|
|
5489
5489
|
const H = oe(A.value).__VISIBLE__.filter((K) => !K[u.value]);
|
|
@@ -5491,7 +5491,7 @@ function o7(t, e, a) {
|
|
|
5491
5491
|
}), k = M(() => [...ae.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), F = M(() => [...j.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), V = (H) => A.value && (!H.group && A.value[n.value] === H[n.value] || H.group !== void 0 && A.value[i.value] === H[i.value]) ? !0 : void 0, ie = () => {
|
|
5492
5492
|
_(L.value[0] || null);
|
|
5493
5493
|
}, y = () => {
|
|
5494
|
-
!A.value || A.value[u.value] === !0 || (z.value ?
|
|
5494
|
+
!A.value || A.value[u.value] === !0 || (z.value ? C(A.value) : w(A.value));
|
|
5495
5495
|
}, R = () => {
|
|
5496
5496
|
if (A.value === null)
|
|
5497
5497
|
_((r.value && Z.value ? U.value[0].__CREATE__ ? L.value[0] : U.value[0] : L.value[0]) || null);
|
|
@@ -5511,8 +5511,8 @@ function o7(t, e, a) {
|
|
|
5511
5511
|
let H = L.value[L.value.length - 1];
|
|
5512
5512
|
r.value && Z.value && (H = F.value, H === void 0 && (H = j.value)), _(H || null);
|
|
5513
5513
|
} else if (r.value && Z.value) {
|
|
5514
|
-
let H = z.value ? k.value :
|
|
5515
|
-
H === void 0 && (H = z.value ? ae.value :
|
|
5514
|
+
let H = z.value ? k.value : X.value;
|
|
5515
|
+
H === void 0 && (H = z.value ? ae.value : Q.value, H.__CREATE__ && (H = k.value, H === void 0 && (H = ae.value))), _(H || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
5518
|
let H = L.value.map((K) => K[n.value]).indexOf(A.value[n.value]) - 1;
|
|
@@ -5529,7 +5529,7 @@ function o7(t, e, a) {
|
|
|
5529
5529
|
r.value && (K = z.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > K.clientHeight + K.scrollTop && (K.scrollTop = H.offsetTop + H.offsetHeight - K.clientHeight), H.offsetTop < K.scrollTop && (K.scrollTop = H.offsetTop);
|
|
5530
5530
|
};
|
|
5531
5531
|
return de(b, (H) => {
|
|
5532
|
-
o.value && (H.length && s.value ? ie() :
|
|
5532
|
+
o.value && (H.length && s.value ? ie() : g());
|
|
5533
5533
|
}), de(I, (H) => {
|
|
5534
5534
|
if (H) {
|
|
5535
5535
|
let K = D.value.querySelectorAll("[data-selected]")[0];
|
|
@@ -5618,14 +5618,14 @@ function l7(t) {
|
|
|
5618
5618
|
function We(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5620
5620
|
}
|
|
5621
|
-
function
|
|
5621
|
+
function Ct(t) {
|
|
5622
5622
|
return ((At(t) ? t.ownerDocument : (
|
|
5623
5623
|
// $FlowFixMe[prop-missing]
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
5626
5626
|
}
|
|
5627
5627
|
function jn(t) {
|
|
5628
|
-
return Wt(
|
|
5628
|
+
return Wt(Ct(t)).left + Rn(t).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
5630
|
function at(t) {
|
|
5631
5631
|
return Ae(t).getComputedStyle(t);
|
|
@@ -5640,7 +5640,7 @@ function u7(t) {
|
|
|
5640
5640
|
}
|
|
5641
5641
|
function c7(t, e, a) {
|
|
5642
5642
|
a === void 0 && (a = !1);
|
|
5643
|
-
var n = Pe(e), s = Pe(e) && u7(e), o =
|
|
5643
|
+
var n = Pe(e), s = Pe(e) && u7(e), o = Ct(e), i = Wt(t, s, a), r = {
|
|
5644
5644
|
scrollLeft: 0,
|
|
5645
5645
|
scrollTop: 0
|
|
5646
5646
|
}, l = {
|
|
@@ -5673,7 +5673,7 @@ function tn(t) {
|
|
|
5673
5673
|
t.parentNode || // DOM Element detected
|
|
5674
5674
|
(Bn(t) ? t.host : null) || // ShadowRoot detected
|
|
5675
5675
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5676
|
-
|
|
5676
|
+
Ct(t)
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
@@ -5691,7 +5691,7 @@ function ia(t, e) {
|
|
|
5691
5691
|
function d7(t) {
|
|
5692
5692
|
return ["table", "td", "th"].indexOf(We(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
|
-
function
|
|
5694
|
+
function Cs(t) {
|
|
5695
5695
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
at(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
@@ -5712,15 +5712,15 @@ function p7(t) {
|
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
5714
|
function an(t) {
|
|
5715
|
-
for (var e = Ae(t), a =
|
|
5716
|
-
a =
|
|
5715
|
+
for (var e = Ae(t), a = Cs(t); a && d7(a) && at(a).position === "static"; )
|
|
5716
|
+
a = Cs(a);
|
|
5717
5717
|
return a && (We(a) === "html" || We(a) === "body" && at(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
5719
|
var Re = "top", qe = "bottom", ft = "right", Xe = "left", Fn = "auto", nn = [Re, qe, ft, Xe], qt = "start", da = "end", v7 = "clippingParents", oi = "viewport", sa = "popper", f7 = "reference", _s = /* @__PURE__ */ nn.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
5721
|
}, []), h7 = /* @__PURE__ */ [].concat(nn, [Fn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
|
-
}, []), m7 = "beforeRead",
|
|
5723
|
+
}, []), m7 = "beforeRead", g7 = "read", C7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, g7, C7, _7, y7, b7, w7, $7, k7];
|
|
5724
5724
|
function A7(t) {
|
|
5725
5725
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), n = [];
|
|
5726
5726
|
t.forEach(function(o) {
|
|
@@ -5771,7 +5771,7 @@ function O7(t) {
|
|
|
5771
5771
|
});
|
|
5772
5772
|
}
|
|
5773
5773
|
function E7(t, e) {
|
|
5774
|
-
var a = Ae(t), n =
|
|
5774
|
+
var a = Ae(t), n = Ct(t), s = a.visualViewport, o = n.clientWidth, i = n.clientHeight, r = 0, l = 0;
|
|
5775
5775
|
if (s) {
|
|
5776
5776
|
o = s.width, i = s.height;
|
|
5777
5777
|
var c = ni();
|
|
@@ -5785,7 +5785,7 @@ function E7(t, e) {
|
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function I7(t) {
|
|
5788
|
-
var e, a =
|
|
5788
|
+
var e, a = Ct(t), n = Rn(t), s = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), r = -n.scrollLeft + jn(t), l = -n.scrollTop;
|
|
5789
5789
|
return at(s || a).direction === "rtl" && (r += kt(a.clientWidth, s ? s.clientWidth : 0) - o), {
|
|
5790
5790
|
width: o,
|
|
5791
5791
|
height: i,
|
|
@@ -5820,7 +5820,7 @@ function H7(t, e) {
|
|
|
5820
5820
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5821
5821
|
}
|
|
5822
5822
|
function ys(t, e, a) {
|
|
5823
|
-
return e === oi ? wn(E7(t, a)) : At(e) ? H7(e, a) : wn(I7(
|
|
5823
|
+
return e === oi ? wn(E7(t, a)) : At(e) ? H7(e, a) : wn(I7(Ct(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
5826
|
var e = ia(tn(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, n = a && Pe(t) ? an(t) : t;
|
|
@@ -5909,12 +5909,12 @@ function B7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Un(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
|
-
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? v7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, v = a.elementContext, d = v === void 0 ? sa : v, h = a.altBoundary, w = h === void 0 ? !1 : h,
|
|
5912
|
+
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? v7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, v = a.elementContext, d = v === void 0 ? sa : v, h = a.altBoundary, w = h === void 0 ? !1 : h, C = a.padding, b = C === void 0 ? 0 : C, A = V7(typeof b != "number" ? b : B7(b, nn)), _ = d === sa ? f7 : sa, g = t.rects.popper, D = t.elements[w ? _ : d], I = P7(At(D) ? D : D.contextElement || Ct(t.elements.popper), l, u, i), L = Wt(t.elements.reference), U = li({
|
|
5913
5913
|
reference: L,
|
|
5914
|
-
element:
|
|
5914
|
+
element: g,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), Z = wn(Object.assign({},
|
|
5917
|
+
}), Z = wn(Object.assign({}, g, U)), z = d === sa ? Z : L, Q = {
|
|
5918
5918
|
top: I.top - z.top + A.top,
|
|
5919
5919
|
bottom: z.bottom - I.bottom + A.bottom,
|
|
5920
5920
|
left: I.left - z.left + A.left,
|
|
@@ -5922,12 +5922,12 @@ function Un(t, e) {
|
|
|
5922
5922
|
}, ae = t.modifiersData.offset;
|
|
5923
5923
|
if (d === sa && ae) {
|
|
5924
5924
|
var S = ae[s];
|
|
5925
|
-
Object.keys(
|
|
5926
|
-
var ne = [ft, qe].indexOf(j) >= 0 ? 1 : -1,
|
|
5927
|
-
|
|
5925
|
+
Object.keys(Q).forEach(function(j) {
|
|
5926
|
+
var ne = [ft, qe].indexOf(j) >= 0 ? 1 : -1, X = [Re, qe].indexOf(j) >= 0 ? "y" : "x";
|
|
5927
|
+
Q[j] += S[X] * ne;
|
|
5928
5928
|
});
|
|
5929
5929
|
}
|
|
5930
|
-
return
|
|
5930
|
+
return Q;
|
|
5931
5931
|
}
|
|
5932
5932
|
var bs = {
|
|
5933
5933
|
placement: "bottom",
|
|
@@ -5961,12 +5961,12 @@ function R7(t) {
|
|
|
5961
5961
|
state: u,
|
|
5962
5962
|
setOptions: function(A) {
|
|
5963
5963
|
var _ = typeof A == "function" ? A(u.options) : A;
|
|
5964
|
-
|
|
5964
|
+
C(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5965
5965
|
reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
|
|
5966
5966
|
popper: ia(l)
|
|
5967
5967
|
};
|
|
5968
|
-
var
|
|
5969
|
-
return u.orderedModifiers =
|
|
5968
|
+
var g = M7(O7([].concat(n, u.options.modifiers)));
|
|
5969
|
+
return u.orderedModifiers = g.filter(function(D) {
|
|
5970
5970
|
return D.enabled;
|
|
5971
5971
|
}), w(), h.update();
|
|
5972
5972
|
},
|
|
@@ -5977,13 +5977,13 @@ function R7(t) {
|
|
|
5977
5977
|
// prefer the async Popper#update method
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!d) {
|
|
5980
|
-
var A = u.elements, _ = A.reference,
|
|
5981
|
-
if (ws(_,
|
|
5980
|
+
var A = u.elements, _ = A.reference, g = A.popper;
|
|
5981
|
+
if (ws(_, g)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
|
-
reference: c7(_, an(
|
|
5984
|
-
popper: si(
|
|
5985
|
-
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(
|
|
5986
|
-
return u.modifiersData[
|
|
5983
|
+
reference: c7(_, an(g), u.options.strategy === "fixed"),
|
|
5984
|
+
popper: si(g)
|
|
5985
|
+
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(Q) {
|
|
5986
|
+
return u.modifiersData[Q.name] = Object.assign({}, Q.data);
|
|
5987
5987
|
});
|
|
5988
5988
|
for (var D = 0; D < u.orderedModifiers.length; D++) {
|
|
5989
5989
|
if (u.reset === !0) {
|
|
@@ -6009,7 +6009,7 @@ function R7(t) {
|
|
|
6009
6009
|
});
|
|
6010
6010
|
}),
|
|
6011
6011
|
destroy: function() {
|
|
6012
|
-
|
|
6012
|
+
C(), d = !0;
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
6015
|
if (!ws(r, l))
|
|
@@ -6019,20 +6019,20 @@ function R7(t) {
|
|
|
6019
6019
|
});
|
|
6020
6020
|
function w() {
|
|
6021
6021
|
u.orderedModifiers.forEach(function(b) {
|
|
6022
|
-
var A = b.name, _ = b.options,
|
|
6022
|
+
var A = b.name, _ = b.options, g = _ === void 0 ? {} : _, D = b.effect;
|
|
6023
6023
|
if (typeof D == "function") {
|
|
6024
6024
|
var I = D({
|
|
6025
6025
|
state: u,
|
|
6026
6026
|
name: A,
|
|
6027
6027
|
instance: h,
|
|
6028
|
-
options:
|
|
6028
|
+
options: g
|
|
6029
6029
|
}), L = function() {
|
|
6030
6030
|
};
|
|
6031
6031
|
v.push(I || L);
|
|
6032
6032
|
}
|
|
6033
6033
|
});
|
|
6034
6034
|
}
|
|
6035
|
-
function
|
|
6035
|
+
function C() {
|
|
6036
6036
|
v.forEach(function(b) {
|
|
6037
6037
|
return b();
|
|
6038
6038
|
}), v = [];
|
|
@@ -6091,48 +6091,48 @@ function W7(t, e) {
|
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
6093
6093
|
function $s(t) {
|
|
6094
|
-
var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, v = t.isFixed, d = i.x, h = d === void 0 ? 0 : d, w = i.y,
|
|
6094
|
+
var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, v = t.isFixed, d = i.x, h = d === void 0 ? 0 : d, w = i.y, C = w === void 0 ? 0 : w, b = typeof u == "function" ? u({
|
|
6095
6095
|
x: h,
|
|
6096
|
-
y:
|
|
6096
|
+
y: C
|
|
6097
6097
|
}) : {
|
|
6098
6098
|
x: h,
|
|
6099
|
-
y:
|
|
6099
|
+
y: C
|
|
6100
6100
|
};
|
|
6101
|
-
h = b.x,
|
|
6102
|
-
var A = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"),
|
|
6101
|
+
h = b.x, C = b.y;
|
|
6102
|
+
var A = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), g = Xe, D = Re, I = window;
|
|
6103
6103
|
if (c) {
|
|
6104
6104
|
var L = an(a), U = "clientHeight", Z = "clientWidth";
|
|
6105
|
-
if (L === Ae(a) && (L =
|
|
6105
|
+
if (L === Ae(a) && (L = Ct(a), at(L).position !== "static" && r === "absolute" && (U = "scrollHeight", Z = "scrollWidth")), L = L, s === Re || (s === Xe || s === ft) && o === da) {
|
|
6106
6106
|
D = qe;
|
|
6107
6107
|
var z = v && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
6109
6109
|
L[U]
|
|
6110
6110
|
);
|
|
6111
|
-
|
|
6111
|
+
C -= z - n.height, C *= l ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
6113
|
if (s === Xe || (s === Re || s === qe) && o === da) {
|
|
6114
|
-
|
|
6115
|
-
var
|
|
6114
|
+
g = ft;
|
|
6115
|
+
var Q = v && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
6117
6117
|
L[Z]
|
|
6118
6118
|
);
|
|
6119
|
-
h -=
|
|
6119
|
+
h -= Q - n.width, h *= l ? 1 : -1;
|
|
6120
6120
|
}
|
|
6121
6121
|
}
|
|
6122
6122
|
var ae = Object.assign({
|
|
6123
6123
|
position: r
|
|
6124
6124
|
}, c && Z7), S = u === !0 ? W7({
|
|
6125
6125
|
x: h,
|
|
6126
|
-
y:
|
|
6126
|
+
y: C
|
|
6127
6127
|
}, Ae(a)) : {
|
|
6128
6128
|
x: h,
|
|
6129
|
-
y:
|
|
6129
|
+
y: C
|
|
6130
6130
|
};
|
|
6131
|
-
if (h = S.x,
|
|
6131
|
+
if (h = S.x, C = S.y, l) {
|
|
6132
6132
|
var j;
|
|
6133
|
-
return Object.assign({}, ae, (j = {}, j[D] = _ ? "0" : "", j[
|
|
6133
|
+
return Object.assign({}, ae, (j = {}, j[D] = _ ? "0" : "", j[g] = A ? "0" : "", j.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + C + "px)" : "translate3d(" + h + "px, " + C + "px, 0)", j));
|
|
6134
6134
|
}
|
|
6135
|
-
return Object.assign({}, ae, (e = {}, e[D] = _ ?
|
|
6135
|
+
return Object.assign({}, ae, (e = {}, e[D] = _ ? C + "px" : "", e[g] = A ? h + "px" : "", e.transform = "", e));
|
|
6136
6136
|
}
|
|
6137
6137
|
function q7(t) {
|
|
6138
6138
|
var e = t.state, a = t.options, n = a.gpuAcceleration, s = n === void 0 ? !0 : n, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, l = r === void 0 ? !0 : r, c = {
|
|
@@ -6219,14 +6219,14 @@ function J7(t, e, a) {
|
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function ep(t) {
|
|
6222
|
-
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, v = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset,
|
|
6222
|
+
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, v = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, C = w === void 0 ? 0 : w, b = Un(e, {
|
|
6223
6223
|
boundary: l,
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: v,
|
|
6226
6226
|
altBoundary: u
|
|
6227
|
-
}), A = ct(e.placement), _ = zt(e.placement),
|
|
6227
|
+
}), A = ct(e.placement), _ = zt(e.placement), g = !_, D = ri(A), I = Q7(D), L = e.modifiersData.popperOffsets, U = e.rects.reference, Z = e.rects.popper, z = typeof C == "function" ? C(Object.assign({}, e.rects, {
|
|
6228
6228
|
placement: e.placement
|
|
6229
|
-
})) :
|
|
6229
|
+
})) : C, Q = typeof z == "number" ? {
|
|
6230
6230
|
mainAxis: z,
|
|
6231
6231
|
altAxis: z
|
|
6232
6232
|
} : Object.assign({
|
|
@@ -6238,14 +6238,14 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (L) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var j, ne = D === "y" ? Re : Xe,
|
|
6241
|
+
var j, ne = D === "y" ? Re : Xe, X = D === "y" ? qe : ft, O = D === "y" ? "height" : "width", k = L[D], F = k + b[ne], V = k - b[X], ie = h ? -Z[O] / 2 : 0, y = _ === qt ? U[O] : Z[O], R = _ === qt ? -Z[O] : -U[O], le = e.elements.arrow, oe = h && le ? si(le) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[ne], K = q[
|
|
6244
|
+
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[ne], K = q[X], fe = Ia(0, U[O], oe[O]), $e = g ? U[O] / 2 - ie - fe - H - Q.mainAxis : y - fe - H - Q.mainAxis, Kt = g ? -U[O] / 2 + ie + fe + K + Q.mainAxis : R + fe + K + Q.mainAxis, Gt = e.elements.arrow && an(e.elements.arrow), st = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (j = ae == null ? void 0 : ae[D]) != null ? j : 0, sn = k + $e - _a - st, it = k + Kt - _a, ya = Ia(h ? ja(F, sn) : F, k, h ? kt(V, it) : V);
|
|
6245
6245
|
L[D] = ya, S[D] = ya - k;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var ot, je = D === "x" ? Re : Xe, Te = D === "x" ? qe : ft, Be = L[I], ze = I === "y" ? "height" : "width", Xt = Be + b[je], ba = Be - b[Te], Oe = [Re, Xe].indexOf(A) !== -1, Qt = (ot = ae == null ? void 0 : ae[I]) != null ? ot : 0, rt = Oe ? Xt : Be - U[ze] - Z[ze] - Qt +
|
|
6248
|
+
var ot, je = D === "x" ? Re : Xe, Te = D === "x" ? qe : ft, Be = L[I], ze = I === "y" ? "height" : "width", Xt = Be + b[je], ba = Be - b[Te], Oe = [Re, Xe].indexOf(A) !== -1, Qt = (ot = ae == null ? void 0 : ae[I]) != null ? ot : 0, rt = Oe ? Xt : Be - U[ze] - Z[ze] - Qt + Q.altAxis, _t = Oe ? Be + U[ze] + Z[ze] - Qt - Q.altAxis : ba, wa = h && Oe ? J7(rt, Be, _t) : Ia(h ? rt : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
L[I] = wa, S[I] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = S;
|
|
@@ -6285,16 +6285,16 @@ function sp(t, e) {
|
|
|
6285
6285
|
return c.indexOf(w) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = v);
|
|
6288
|
-
var h = d.reduce(function(w,
|
|
6289
|
-
return w[
|
|
6290
|
-
placement:
|
|
6288
|
+
var h = d.reduce(function(w, C) {
|
|
6289
|
+
return w[C] = Un(t, {
|
|
6290
|
+
placement: C,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
6293
6293
|
padding: i
|
|
6294
|
-
})[ct(
|
|
6294
|
+
})[ct(C)], w;
|
|
6295
6295
|
}, {});
|
|
6296
|
-
return Object.keys(h).sort(function(w,
|
|
6297
|
-
return h[w] - h[
|
|
6296
|
+
return Object.keys(h).sort(function(w, C) {
|
|
6297
|
+
return h[w] - h[C];
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function ip(t) {
|
|
@@ -6306,24 +6306,24 @@ function ip(t) {
|
|
|
6306
6306
|
function op(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
|
-
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, v = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h,
|
|
6309
|
+
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, v = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, C = a.allowedAutoPlacements, b = e.options.placement, A = ct(b), _ = A === b, g = l || (_ || !w ? [La(b)] : ip(b)), D = [b].concat(g).reduce(function(oe, q) {
|
|
6310
6310
|
return oe.concat(ct(q) === Fn ? sp(e, {
|
|
6311
6311
|
placement: q,
|
|
6312
6312
|
boundary: u,
|
|
6313
6313
|
rootBoundary: v,
|
|
6314
6314
|
padding: c,
|
|
6315
6315
|
flipVariations: w,
|
|
6316
|
-
allowedAutoPlacements:
|
|
6316
|
+
allowedAutoPlacements: C
|
|
6317
6317
|
}) : q);
|
|
6318
|
-
}, []), I = e.rects.reference, L = e.rects.popper, U = /* @__PURE__ */ new Map(), Z = !0, z = D[0],
|
|
6319
|
-
var ae = D[
|
|
6318
|
+
}, []), I = e.rects.reference, L = e.rects.popper, U = /* @__PURE__ */ new Map(), Z = !0, z = D[0], Q = 0; Q < D.length; Q++) {
|
|
6319
|
+
var ae = D[Q], S = ct(ae), j = zt(ae) === qt, ne = [Re, qe].indexOf(S) >= 0, X = ne ? "width" : "height", O = Un(e, {
|
|
6320
6320
|
placement: ae,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: v,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
6325
|
}), k = ne ? j ? ft : Xe : j ? qe : Re;
|
|
6326
|
-
I[
|
|
6326
|
+
I[X] > L[X] && (k = La(k));
|
|
6327
6327
|
var F = La(k), V = [];
|
|
6328
6328
|
if (o && V.push(O[S] <= 0), r && V.push(O[k] <= 0, O[F] <= 0), V.every(function(oe) {
|
|
6329
6329
|
return oe;
|
|
@@ -6363,7 +6363,7 @@ var rp = {
|
|
|
6363
6363
|
}
|
|
6364
6364
|
};
|
|
6365
6365
|
function lp(t, e, a) {
|
|
6366
|
-
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Me(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), v = ee(null), d = ee(null), h = M(() => s.value || o.value), w = M(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"),
|
|
6366
|
+
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Me(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), v = ee(null), d = ee(null), h = M(() => s.value || o.value), w = M(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), C = () => {
|
|
6367
6367
|
u.value || n.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
|
|
6368
6368
|
A();
|
|
6369
6369
|
}));
|
|
@@ -6372,7 +6372,7 @@ function lp(t, e, a) {
|
|
|
6372
6372
|
}, A = () => {
|
|
6373
6373
|
if (!v.value)
|
|
6374
6374
|
return;
|
|
6375
|
-
let
|
|
6375
|
+
let g = parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px", "")), D = parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px", ""));
|
|
6376
6376
|
v.value.setOptions((I) => ({
|
|
6377
6377
|
...I,
|
|
6378
6378
|
modifiers: [
|
|
@@ -6380,16 +6380,16 @@ function lp(t, e, a) {
|
|
|
6380
6380
|
{
|
|
6381
6381
|
name: "offset",
|
|
6382
6382
|
options: {
|
|
6383
|
-
offset: [0, (w.value === "top" ?
|
|
6383
|
+
offset: [0, (w.value === "top" ? g : D) * -1]
|
|
6384
6384
|
}
|
|
6385
6385
|
}
|
|
6386
6386
|
]
|
|
6387
6387
|
})), v.value.update();
|
|
6388
|
-
}, _ = (
|
|
6389
|
-
for (;
|
|
6390
|
-
if (getComputedStyle(
|
|
6388
|
+
}, _ = (g) => {
|
|
6389
|
+
for (; g && g !== document.body; ) {
|
|
6390
|
+
if (getComputedStyle(g).position === "fixed")
|
|
6391
6391
|
return !0;
|
|
6392
|
-
|
|
6392
|
+
g = g.parentElement;
|
|
6393
6393
|
}
|
|
6394
6394
|
return !1;
|
|
6395
6395
|
};
|
|
@@ -6408,19 +6408,19 @@ function lp(t, e, a) {
|
|
|
6408
6408
|
enabled: !0,
|
|
6409
6409
|
phase: "beforeWrite",
|
|
6410
6410
|
requires: ["computeStyles"],
|
|
6411
|
-
fn: ({ state:
|
|
6412
|
-
|
|
6411
|
+
fn: ({ state: g }) => {
|
|
6412
|
+
g.styles.popper.width = `${g.rects.reference.width}px`;
|
|
6413
6413
|
},
|
|
6414
|
-
effect: ({ state:
|
|
6415
|
-
|
|
6414
|
+
effect: ({ state: g }) => {
|
|
6415
|
+
g.elements.popper.style.width = `${g.elements.reference.offsetWidth}px`;
|
|
6416
6416
|
}
|
|
6417
6417
|
},
|
|
6418
6418
|
{
|
|
6419
6419
|
name: "toggleClass",
|
|
6420
6420
|
enabled: !0,
|
|
6421
6421
|
phase: "write",
|
|
6422
|
-
fn({ state:
|
|
6423
|
-
d.value =
|
|
6422
|
+
fn({ state: g }) {
|
|
6423
|
+
d.value = g.placement;
|
|
6424
6424
|
}
|
|
6425
6425
|
}
|
|
6426
6426
|
]
|
|
@@ -6430,44 +6430,44 @@ function lp(t, e, a) {
|
|
|
6430
6430
|
}), {
|
|
6431
6431
|
popper: v,
|
|
6432
6432
|
isOpen: u,
|
|
6433
|
-
open:
|
|
6433
|
+
open: C,
|
|
6434
6434
|
close: b,
|
|
6435
6435
|
placement: w,
|
|
6436
6436
|
updatePopper: A
|
|
6437
6437
|
};
|
|
6438
6438
|
}
|
|
6439
6439
|
function up(t, e, a) {
|
|
6440
|
-
const { searchable: n, disabled: s, clearOnBlur: o } = Me(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, v = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1),
|
|
6440
|
+
const { searchable: n, disabled: s, clearOnBlur: o } = Me(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, v = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), C = M(() => n.value || s.value ? -1 : 0), b = () => {
|
|
6441
6441
|
n.value && i.value.blur(), v.value.blur();
|
|
6442
6442
|
}, A = () => {
|
|
6443
6443
|
n.value && !s.value && i.value.focus();
|
|
6444
6444
|
}, _ = (Z = !0) => {
|
|
6445
6445
|
s.value || (h.value = !0, Z && r());
|
|
6446
|
-
},
|
|
6446
|
+
}, g = () => {
|
|
6447
6447
|
h.value = !1, setTimeout(() => {
|
|
6448
6448
|
h.value || (l(), o.value && c());
|
|
6449
6449
|
}, 1);
|
|
6450
6450
|
};
|
|
6451
6451
|
return {
|
|
6452
|
-
tabindex:
|
|
6452
|
+
tabindex: C,
|
|
6453
6453
|
isActive: h,
|
|
6454
6454
|
mouseClicked: w,
|
|
6455
6455
|
blur: b,
|
|
6456
6456
|
focus: A,
|
|
6457
6457
|
activate: _,
|
|
6458
|
-
deactivate:
|
|
6458
|
+
deactivate: g,
|
|
6459
6459
|
handleFocusIn: (Z) => {
|
|
6460
6460
|
Z.target.closest("[data-tags]") && Z.target.nodeName !== "INPUT" || Z.target.closest("[data-clear]") || _(w.value);
|
|
6461
6461
|
},
|
|
6462
6462
|
handleFocusOut: () => {
|
|
6463
|
-
|
|
6463
|
+
g();
|
|
6464
6464
|
},
|
|
6465
6465
|
handleCaretClick: () => {
|
|
6466
|
-
|
|
6466
|
+
g(), b();
|
|
6467
6467
|
},
|
|
6468
6468
|
handleMousedown: (Z) => {
|
|
6469
6469
|
w.value = !0, u.value && (Z.target.isEqualNode(v.value) || Z.target.isEqualNode(d.value)) ? setTimeout(() => {
|
|
6470
|
-
|
|
6470
|
+
g();
|
|
6471
6471
|
}, 0) : !u.value && (document.activeElement.isEqualNode(v.value) || document.activeElement.isEqualNode(i.value)) && _(), setTimeout(() => {
|
|
6472
6472
|
w.value = !1;
|
|
6473
6473
|
}, 0);
|
|
@@ -6487,8 +6487,8 @@ function cp(t, e, a) {
|
|
|
6487
6487
|
createTag: v,
|
|
6488
6488
|
createOption: d,
|
|
6489
6489
|
reverse: h
|
|
6490
|
-
} = Me(t), w = Mt().proxy,
|
|
6491
|
-
n.value === "tags" && !r.value && ne.value && i.value && !c.value &&
|
|
6490
|
+
} = Me(t), w = Mt().proxy, C = a.iv, b = a.update, A = a.deselect, _ = a.search, g = a.setPointer, D = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, Z = a.wrapper, z = a.tags, Q = a.isOpen, ae = a.open, S = a.blur, j = a.fo, ne = M(() => v.value || d.value || !1), X = M(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
|
|
6491
|
+
n.value === "tags" && !r.value && ne.value && i.value && !c.value && g(j.value[j.value.map((V) => V[l.value]).indexOf(_.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
6494
6494
|
handleKeydown: (V) => {
|
|
@@ -6496,19 +6496,19 @@ function cp(t, e, a) {
|
|
|
6496
6496
|
let ie, y;
|
|
6497
6497
|
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && n.value === "tags" && (ie = [...U.value.querySelectorAll("[data-tags] > *")].filter((R) => R !== z.value), y = ie.findIndex((R) => R === document.activeElement)), V.key) {
|
|
6498
6498
|
case "Backspace":
|
|
6499
|
-
if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 ||
|
|
6499
|
+
if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || C.value.length === 0)
|
|
6500
6500
|
return;
|
|
6501
|
-
let R =
|
|
6501
|
+
let R = C.value.filter((le) => !le.disabled && le.remove !== !1);
|
|
6502
6502
|
R.length && A(R[R.length - 1]);
|
|
6503
6503
|
break;
|
|
6504
6504
|
case "Enter":
|
|
6505
6505
|
if (V.preventDefault(), V.keyCode === 229)
|
|
6506
6506
|
return;
|
|
6507
6507
|
if (y !== -1 && y !== void 0) {
|
|
6508
|
-
b([...
|
|
6508
|
+
b([...C.value].filter((le, oe) => oe !== y)), y === ie.length - 1 && (ie.length - 1 ? ie[ie.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : Z.value.focus());
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
|
-
if (
|
|
6511
|
+
if (X.value.indexOf("enter") === -1 && ne.value)
|
|
6512
6512
|
return;
|
|
6513
6513
|
O(), D();
|
|
6514
6514
|
break;
|
|
@@ -6519,14 +6519,14 @@ function cp(t, e, a) {
|
|
|
6519
6519
|
}
|
|
6520
6520
|
if (!ne.value)
|
|
6521
6521
|
return !1;
|
|
6522
|
-
if (
|
|
6522
|
+
if (X.value.indexOf("space") === -1 && ne.value)
|
|
6523
6523
|
return;
|
|
6524
6524
|
V.preventDefault(), O(), D();
|
|
6525
6525
|
break;
|
|
6526
6526
|
case "Tab":
|
|
6527
6527
|
case ";":
|
|
6528
6528
|
case ",":
|
|
6529
|
-
if (
|
|
6529
|
+
if (X.value.indexOf(V.key.toLowerCase()) === -1 || !ne.value)
|
|
6530
6530
|
return;
|
|
6531
6531
|
O(), D(), V.preventDefault();
|
|
6532
6532
|
break;
|
|
@@ -6536,20 +6536,20 @@ function cp(t, e, a) {
|
|
|
6536
6536
|
case "ArrowUp":
|
|
6537
6537
|
if (V.preventDefault(), !r.value)
|
|
6538
6538
|
return;
|
|
6539
|
-
|
|
6539
|
+
Q.value || ae(), I();
|
|
6540
6540
|
break;
|
|
6541
6541
|
case "ArrowDown":
|
|
6542
6542
|
if (V.preventDefault(), !r.value)
|
|
6543
6543
|
return;
|
|
6544
|
-
|
|
6544
|
+
Q.value || ae(), L();
|
|
6545
6545
|
break;
|
|
6546
6546
|
case "ArrowLeft":
|
|
6547
|
-
if (i.value && z.value && z.value.querySelector("input").selectionStart || V.shiftKey || n.value !== "tags" || !
|
|
6547
|
+
if (i.value && z.value && z.value.querySelector("input").selectionStart || V.shiftKey || n.value !== "tags" || !C.value || !C.value.length)
|
|
6548
6548
|
return;
|
|
6549
6549
|
V.preventDefault(), y === -1 ? ie[ie.length - 1].focus() : y > 0 && ie[y - 1].focus();
|
|
6550
6550
|
break;
|
|
6551
6551
|
case "ArrowRight":
|
|
6552
|
-
if (y === -1 || V.shiftKey || n.value !== "tags" || !
|
|
6552
|
+
if (y === -1 || V.shiftKey || n.value !== "tags" || !C.value || !C.value.length)
|
|
6553
6553
|
return;
|
|
6554
6554
|
V.preventDefault(), ie.length > y + 1 ? ie[y + 1].focus() : i.value ? z.value.querySelector("input").focus() : i.value || Z.value.focus();
|
|
6555
6555
|
break;
|
|
@@ -6567,7 +6567,7 @@ function dp(t, e, a) {
|
|
|
6567
6567
|
disabled: s,
|
|
6568
6568
|
showOptions: o,
|
|
6569
6569
|
breakTags: i
|
|
6570
|
-
} = Me(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, v = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo,
|
|
6570
|
+
} = Me(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, v = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, C = a.placement, b = M(() => ({
|
|
6571
6571
|
container: "multiselect",
|
|
6572
6572
|
containerDisabled: "is-disabled",
|
|
6573
6573
|
containerOpen: "is-open",
|
|
@@ -6625,47 +6625,47 @@ function dp(t, e, a) {
|
|
|
6625
6625
|
})), A = M(() => !!(r.value && o.value && (!h.value || h.value && w.value.length)));
|
|
6626
6626
|
return {
|
|
6627
6627
|
classList: M(() => {
|
|
6628
|
-
const
|
|
6628
|
+
const g = b.value;
|
|
6629
6629
|
return {
|
|
6630
|
-
container: [
|
|
6631
|
-
wrapper:
|
|
6632
|
-
spacer:
|
|
6633
|
-
singleLabel:
|
|
6634
|
-
singleLabelText:
|
|
6635
|
-
multipleLabel:
|
|
6636
|
-
search:
|
|
6637
|
-
tags:
|
|
6638
|
-
tag: [
|
|
6639
|
-
tagWrapper: [
|
|
6640
|
-
tagDisabled:
|
|
6641
|
-
tagRemove:
|
|
6642
|
-
tagRemoveIcon:
|
|
6643
|
-
tagsSearchWrapper:
|
|
6644
|
-
tagsSearch:
|
|
6645
|
-
tagsSearchCopy:
|
|
6646
|
-
placeholder:
|
|
6647
|
-
caret: [
|
|
6648
|
-
clear:
|
|
6649
|
-
clearIcon:
|
|
6650
|
-
spinner:
|
|
6651
|
-
inifinite:
|
|
6652
|
-
inifiniteSpinner:
|
|
6653
|
-
dropdown: [
|
|
6654
|
-
options: [
|
|
6655
|
-
group:
|
|
6630
|
+
container: [g.container].concat(s.value ? g.containerDisabled : []).concat(A.value && C.value === "top" ? g.containerOpenTop : []).concat(A.value && C.value !== "top" ? g.containerOpen : []).concat(v.value ? g.containerActive : []),
|
|
6631
|
+
wrapper: g.wrapper,
|
|
6632
|
+
spacer: g.spacer,
|
|
6633
|
+
singleLabel: g.singleLabel,
|
|
6634
|
+
singleLabelText: g.singleLabelText,
|
|
6635
|
+
multipleLabel: g.multipleLabel,
|
|
6636
|
+
search: g.search,
|
|
6637
|
+
tags: g.tags,
|
|
6638
|
+
tag: [g.tag].concat(s.value ? g.tagDisabled : []),
|
|
6639
|
+
tagWrapper: [g.tagWrapper, i.value ? g.tagWrapperBreak : null],
|
|
6640
|
+
tagDisabled: g.tagDisabled,
|
|
6641
|
+
tagRemove: g.tagRemove,
|
|
6642
|
+
tagRemoveIcon: g.tagRemoveIcon,
|
|
6643
|
+
tagsSearchWrapper: g.tagsSearchWrapper,
|
|
6644
|
+
tagsSearch: g.tagsSearch,
|
|
6645
|
+
tagsSearchCopy: g.tagsSearchCopy,
|
|
6646
|
+
placeholder: g.placeholder,
|
|
6647
|
+
caret: [g.caret].concat(r.value ? g.caretOpen : []),
|
|
6648
|
+
clear: g.clear,
|
|
6649
|
+
clearIcon: g.clearIcon,
|
|
6650
|
+
spinner: g.spinner,
|
|
6651
|
+
inifinite: g.inifinite,
|
|
6652
|
+
inifiniteSpinner: g.inifiniteSpinner,
|
|
6653
|
+
dropdown: [g.dropdown].concat(C.value === "top" ? g.dropdownTop : []).concat(!r.value || !o.value || !A.value ? g.dropdownHidden : []),
|
|
6654
|
+
options: [g.options].concat(C.value === "top" ? g.optionsTop : []),
|
|
6655
|
+
group: g.group,
|
|
6656
6656
|
groupLabel: (D) => {
|
|
6657
|
-
let I = [
|
|
6658
|
-
return l(D) ? I.push(c(D) ?
|
|
6657
|
+
let I = [g.groupLabel];
|
|
6658
|
+
return l(D) ? I.push(c(D) ? g.groupLabelSelectedPointed : g.groupLabelPointed) : c(D) && d.value ? I.push(u(D) ? g.groupLabelSelectedDisabled : g.groupLabelSelected) : u(D) && I.push(g.groupLabelDisabled), d.value && I.push(g.groupLabelPointable), I;
|
|
6659
6659
|
},
|
|
6660
|
-
groupOptions:
|
|
6660
|
+
groupOptions: g.groupOptions,
|
|
6661
6661
|
option: (D, I) => {
|
|
6662
|
-
let L = [
|
|
6663
|
-
return l(D) ? L.push(c(D) ?
|
|
6662
|
+
let L = [g.option];
|
|
6663
|
+
return l(D) ? L.push(c(D) ? g.optionSelectedPointed : g.optionPointed) : c(D) ? L.push(u(D) ? g.optionSelectedDisabled : g.optionSelected) : (u(D) || I && u(I)) && L.push(g.optionDisabled), L;
|
|
6664
6664
|
},
|
|
6665
|
-
noOptions:
|
|
6666
|
-
noResults:
|
|
6667
|
-
assist:
|
|
6668
|
-
fakeInput:
|
|
6665
|
+
noOptions: g.noOptions,
|
|
6666
|
+
noResults: g.noResults,
|
|
6667
|
+
assist: g.assist,
|
|
6668
|
+
fakeInput: g.fakeInput
|
|
6669
6669
|
};
|
|
6670
6670
|
}),
|
|
6671
6671
|
showDropdown: A
|
|
@@ -6675,12 +6675,12 @@ function pp(t, e, a) {
|
|
|
6675
6675
|
const {
|
|
6676
6676
|
limit: n,
|
|
6677
6677
|
infinite: s
|
|
6678
|
-
} = Me(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = ee(null), v = ee(null), d = M(() => i.value < l.value.length), h = (
|
|
6679
|
-
const { isIntersecting: b, target: A } =
|
|
6678
|
+
} = Me(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = ee(null), v = ee(null), d = M(() => i.value < l.value.length), h = (C) => {
|
|
6679
|
+
const { isIntersecting: b, target: A } = C[0];
|
|
6680
6680
|
if (b) {
|
|
6681
|
-
const _ = A.offsetParent,
|
|
6681
|
+
const _ = A.offsetParent, g = _.scrollTop;
|
|
6682
6682
|
i.value += n.value == -1 ? 10 : n.value, De(() => {
|
|
6683
|
-
_.scrollTop =
|
|
6683
|
+
_.scrollTop = g;
|
|
6684
6684
|
});
|
|
6685
6685
|
}
|
|
6686
6686
|
}, w = () => {
|
|
@@ -6709,7 +6709,7 @@ function vp(t, e, a) {
|
|
|
6709
6709
|
groupLabel: l,
|
|
6710
6710
|
aria: c,
|
|
6711
6711
|
searchable: u
|
|
6712
|
-
} = Me(t), v = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText,
|
|
6712
|
+
} = Me(t), v = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, C = ee(null), b = M(() => {
|
|
6713
6713
|
let S = [];
|
|
6714
6714
|
return s && s.value && S.push(s.value), S.push("assist"), S.join("-");
|
|
6715
6715
|
}), A = M(() => {
|
|
@@ -6719,7 +6719,7 @@ function vp(t, e, a) {
|
|
|
6719
6719
|
let S = [];
|
|
6720
6720
|
if (s && s.value && S.push(s.value), v.value)
|
|
6721
6721
|
return S.push(v.value.group ? "multiselect-group" : "multiselect-option"), S.push(v.value.group ? v.value.index : v.value[o.value]), S.join("-");
|
|
6722
|
-
}),
|
|
6722
|
+
}), g = M(() => n.value), D = M(() => r.value !== "single"), I = M(() => {
|
|
6723
6723
|
let S = "";
|
|
6724
6724
|
return r.value === "single" && h.value && (S += d.value[i.value]), r.value === "multiple" && h.value && (S += w.value), r.value === "tags" && h.value && (S += d.value.map((j) => j[i.value]).join(", ")), S;
|
|
6725
6725
|
}), L = M(() => {
|
|
@@ -6734,27 +6734,27 @@ function vp(t, e, a) {
|
|
|
6734
6734
|
}, z = (S) => {
|
|
6735
6735
|
let j = [];
|
|
6736
6736
|
return j.push(S), j.join(" ");
|
|
6737
|
-
},
|
|
6737
|
+
}, Q = (S) => {
|
|
6738
6738
|
let j = [];
|
|
6739
6739
|
return j.push(S), j.join(" ");
|
|
6740
6740
|
}, ae = (S) => `${S} ❎`;
|
|
6741
6741
|
return xt(() => {
|
|
6742
6742
|
if (s && s.value && document && document.querySelector) {
|
|
6743
6743
|
let S = document.querySelector(`[for="${s.value}"]`);
|
|
6744
|
-
|
|
6744
|
+
C.value = S ? S.innerText : null;
|
|
6745
6745
|
}
|
|
6746
6746
|
}), {
|
|
6747
6747
|
arias: L,
|
|
6748
6748
|
ariaLabel: I,
|
|
6749
6749
|
ariaAssist: b,
|
|
6750
6750
|
ariaControls: A,
|
|
6751
|
-
ariaPlaceholder:
|
|
6751
|
+
ariaPlaceholder: g,
|
|
6752
6752
|
ariaMultiselectable: D,
|
|
6753
6753
|
ariaActiveDescendant: _,
|
|
6754
6754
|
ariaOptionId: U,
|
|
6755
6755
|
ariaOptionLabel: z,
|
|
6756
6756
|
ariaGroupId: Z,
|
|
6757
|
-
ariaGroupLabel:
|
|
6757
|
+
ariaGroupLabel: Q,
|
|
6758
6758
|
ariaTagLabel: ae
|
|
6759
6759
|
};
|
|
6760
6760
|
}
|
|
@@ -7166,7 +7166,7 @@ var ut = {
|
|
|
7166
7166
|
}));
|
|
7167
7167
|
}
|
|
7168
7168
|
};
|
|
7169
|
-
const
|
|
7169
|
+
const gp = ["id", "dir"], Cp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], _p = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], yp = ["onKeyup", "aria-label"], bp = ["onClick"], wp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], $p = ["innerHTML"], kp = ["id"], Sp = ["id"], Ap = ["id", "aria-label", "aria-selected"], Mp = ["data-pointed", "onMouseenter", "onMousedown"], Tp = ["innerHTML"], Op = ["aria-label"], Ep = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Ip = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Lp = ["innerHTML"], Hp = ["innerHTML"], Dp = ["value"], Pp = ["name", "value"], Vp = ["name", "value"], Bp = ["id"];
|
|
7170
7170
|
function Rp(t, e, a, n, s, o) {
|
|
7171
7171
|
return p(), m("div", {
|
|
7172
7172
|
ref: "multiselect",
|
|
@@ -7428,7 +7428,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7428
7428
|
/* CLASS */
|
|
7429
7429
|
)
|
|
7430
7430
|
]) : E("v-if", !0)
|
|
7431
|
-
], 16,
|
|
7431
|
+
], 16, Cp),
|
|
7432
7432
|
E(" Options "),
|
|
7433
7433
|
(p(), P(jt, {
|
|
7434
7434
|
to: a.appendTo || "body",
|
|
@@ -7639,7 +7639,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7639
7639
|
2
|
|
7640
7640
|
/* CLASS */
|
|
7641
7641
|
)
|
|
7642
|
-
], 42,
|
|
7642
|
+
], 42, gp);
|
|
7643
7643
|
}
|
|
7644
7644
|
ut.render = Rp;
|
|
7645
7645
|
ut.__file = "src/Multiselect.vue";
|
|
@@ -7775,7 +7775,7 @@ const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7775
7775
|
return (v, d) => (p(), m("div", Np, [
|
|
7776
7776
|
f("ul", Fp, [
|
|
7777
7777
|
(p(!0), m(he, null, _e(v.tasks, (h) => {
|
|
7778
|
-
var w,
|
|
7778
|
+
var w, C;
|
|
7779
7779
|
return p(), m("li", {
|
|
7780
7780
|
key: h.id,
|
|
7781
7781
|
class: "ao-subtask"
|
|
@@ -7801,7 +7801,7 @@ const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7801
7801
|
Fa(". "),
|
|
7802
7802
|
!v.isTemplate && v.users ? (p(), P(ke, {
|
|
7803
7803
|
key: 1,
|
|
7804
|
-
value: (
|
|
7804
|
+
value: (C = h.assignee) != null && C.id ? [h.assignee.id] : [],
|
|
7805
7805
|
options: s.value,
|
|
7806
7806
|
"close-on-select": !0,
|
|
7807
7807
|
searchable: !0,
|
|
@@ -7980,30 +7980,30 @@ const nv = { class: "ao-comment" }, sv = { class: "ao-comment__created-at" }, iv
|
|
|
7980
7980
|
emits: ["edit", "remove"],
|
|
7981
7981
|
setup(t, { emit: e }) {
|
|
7982
7982
|
const a = t, n = M(() => {
|
|
7983
|
-
const
|
|
7984
|
-
return
|
|
7983
|
+
const C = a.user;
|
|
7984
|
+
return C ? `${C == null ? void 0 : C.firstName} ${C == null ? void 0 : C.lastName}` : null;
|
|
7985
7985
|
}), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Es(s), c = M(() => {
|
|
7986
|
-
const
|
|
7986
|
+
const C = a.editedAt && la(a.editedAt), b = la(a.createdAt), A = /* @__PURE__ */ new Date(), _ = C ?? b;
|
|
7987
7987
|
return _ && a3(_, A);
|
|
7988
|
-
}), u = M(() => o.value ? "textarea" : "p"), v = l(), d = r((
|
|
7989
|
-
e("edit",
|
|
7988
|
+
}), u = M(() => o.value ? "textarea" : "p"), v = l(), d = r((C) => {
|
|
7989
|
+
e("edit", C);
|
|
7990
7990
|
}), h = () => {
|
|
7991
7991
|
e("remove");
|
|
7992
7992
|
}, w = ee(2);
|
|
7993
7993
|
return Di(() => {
|
|
7994
7994
|
De(() => {
|
|
7995
|
-
var
|
|
7995
|
+
var C;
|
|
7996
7996
|
if (!o.value) {
|
|
7997
|
-
const b = (
|
|
7997
|
+
const b = (C = s.value) == null ? void 0 : C.getClientRects().length;
|
|
7998
7998
|
w.value = b || 2;
|
|
7999
7999
|
}
|
|
8000
8000
|
});
|
|
8001
|
-
}), (
|
|
8001
|
+
}), (C, b) => {
|
|
8002
8002
|
var A;
|
|
8003
8003
|
return p(), m("li", nv, [
|
|
8004
8004
|
n.value ? (p(), P(et, {
|
|
8005
8005
|
key: 0,
|
|
8006
|
-
"avatar-url": (A =
|
|
8006
|
+
"avatar-url": (A = C.user) == null ? void 0 : A.avatarUrl,
|
|
8007
8007
|
"user-name": n.value,
|
|
8008
8008
|
class: "ao-comment__avatar"
|
|
8009
8009
|
}, null, 8, ["avatar-url", "user-name"])) : E("", !0),
|
|
@@ -8014,7 +8014,7 @@ const nv = { class: "ao-comment" }, sv = { class: "ao-comment__created-at" }, iv
|
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: s,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
8017
|
-
value: J(o) ?
|
|
8017
|
+
value: J(o) ? C.content : null,
|
|
8018
8018
|
rows: J(o) ? w.value : null,
|
|
8019
8019
|
onKeyup: [
|
|
8020
8020
|
dt(J(v), ["esc"]),
|
|
@@ -8022,13 +8022,13 @@ const nv = { class: "ao-comment" }, sv = { class: "ao-comment__created-at" }, iv
|
|
|
8022
8022
|
]
|
|
8023
8023
|
}, {
|
|
8024
8024
|
default: W(() => [
|
|
8025
|
-
Fa(x(
|
|
8025
|
+
Fa(x(C.content), 1)
|
|
8026
8026
|
]),
|
|
8027
8027
|
_: 1
|
|
8028
8028
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
8029
8029
|
])
|
|
8030
8030
|
]),
|
|
8031
|
-
|
|
8031
|
+
C.isEditable ? (p(), m("div", rv, [
|
|
8032
8032
|
J(o) ? (p(), m(he, { key: 0 }, [
|
|
8033
8033
|
T(ue, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
@@ -8047,14 +8047,14 @@ const nv = { class: "ao-comment" }, sv = { class: "ao-comment__created-at" }, iv
|
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (p(), m(he, { key: 1 }, [
|
|
8049
8049
|
T(ue, {
|
|
8050
|
-
label:
|
|
8050
|
+
label: C.$t("activity.comment.delete"),
|
|
8051
8051
|
size: "sm",
|
|
8052
8052
|
variant: "ghost",
|
|
8053
8053
|
color: "neutral",
|
|
8054
8054
|
onClick: h
|
|
8055
8055
|
}, null, 8, ["label"]),
|
|
8056
8056
|
T(ue, {
|
|
8057
|
-
label:
|
|
8057
|
+
label: C.$t("activity.comment.edit"),
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
8060
8060
|
color: "neutral",
|
|
@@ -8149,7 +8149,7 @@ const uv = { class: "ao-comments__header" }, cv = ["onSubmit"], dv = ["placehold
|
|
|
8149
8149
|
"edited-at": w.updatedAt,
|
|
8150
8150
|
"is-editable": w.author.id === v.userId,
|
|
8151
8151
|
class: "ao-comment",
|
|
8152
|
-
onEdit: (
|
|
8152
|
+
onEdit: (C) => c(w.id, C),
|
|
8153
8153
|
onRemove: () => u(w.id)
|
|
8154
8154
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
8155
8155
|
])) : E("", !0)
|
|
@@ -8174,7 +8174,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
8176
8176
|
}
|
|
8177
|
-
}), hv = { class: "ao-activity-details" }, mv = { class: "ao-activity-details__main" },
|
|
8177
|
+
}), hv = { class: "ao-activity-details" }, mv = { class: "ao-activity-details__main" }, gv = { class: "ao-activity-details__header" }, Cv = {
|
|
8178
8178
|
key: 1,
|
|
8179
8179
|
class: "ao-activity__category"
|
|
8180
8180
|
}, _v = { class: "ao-feed__activity-details__header" }, yv = {
|
|
@@ -8298,7 +8298,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8298
8298
|
...y,
|
|
8299
8299
|
disabled: (R = a.activity.blocking) == null ? void 0 : R.some((le) => le.id === y.value)
|
|
8300
8300
|
};
|
|
8301
|
-
})),
|
|
8301
|
+
})), C = M({
|
|
8302
8302
|
get() {
|
|
8303
8303
|
var y;
|
|
8304
8304
|
return (y = a.activity.blocking) == null ? void 0 : y.map((R) => R.id);
|
|
@@ -8321,7 +8321,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8321
8321
|
e("addSubtask", y);
|
|
8322
8322
|
}, _ = (y) => {
|
|
8323
8323
|
e("updateSubtask", y);
|
|
8324
|
-
},
|
|
8324
|
+
}, g = (y) => {
|
|
8325
8325
|
e("deleteSubtask", y);
|
|
8326
8326
|
};
|
|
8327
8327
|
function D() {
|
|
@@ -8359,7 +8359,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8359
8359
|
activityId: a.activity.id,
|
|
8360
8360
|
file: y
|
|
8361
8361
|
});
|
|
8362
|
-
},
|
|
8362
|
+
}, Q = M(() => a.projects.map((y) => ({
|
|
8363
8363
|
value: y.id,
|
|
8364
8364
|
label: y.name
|
|
8365
8365
|
}))), ae = M(() => {
|
|
@@ -8388,7 +8388,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8388
8388
|
value: R.id,
|
|
8389
8389
|
label: R.name
|
|
8390
8390
|
}));
|
|
8391
|
-
}),
|
|
8391
|
+
}), X = (y) => {
|
|
8392
8392
|
e("update:activity", {
|
|
8393
8393
|
id: a.activity.id,
|
|
8394
8394
|
statusId: y
|
|
@@ -8422,7 +8422,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8422
8422
|
return [
|
|
8423
8423
|
f("div", hv, [
|
|
8424
8424
|
f("div", mv, [
|
|
8425
|
-
f("div",
|
|
8425
|
+
f("div", gv, [
|
|
8426
8426
|
y.activity.slug ? (p(), P(qa, {
|
|
8427
8427
|
key: 0,
|
|
8428
8428
|
label: y.activity.slug,
|
|
@@ -8432,7 +8432,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8432
8432
|
class: "ao-activity__ao-tag",
|
|
8433
8433
|
onClick: ie
|
|
8434
8434
|
}, null, 8, ["label"])) : E("", !0),
|
|
8435
|
-
y.breadcrumbs ? (p(), m("div",
|
|
8435
|
+
y.breadcrumbs ? (p(), m("div", Cv, x(y.breadcrumbs), 1)) : E("", !0),
|
|
8436
8436
|
T(ye, {
|
|
8437
8437
|
title: y.activity.name || "",
|
|
8438
8438
|
level: 4,
|
|
@@ -8440,10 +8440,10 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8440
8440
|
"onUpdate:title": s
|
|
8441
8441
|
}, null, 8, ["title", "is-editable"]),
|
|
8442
8442
|
f("div", _v, [
|
|
8443
|
-
|
|
8443
|
+
Q.value ? (p(), m("label", yv, [
|
|
8444
8444
|
f("span", bv, x(y.$t("activity.project.label")), 1),
|
|
8445
8445
|
T(ke, {
|
|
8446
|
-
options:
|
|
8446
|
+
options: Q.value,
|
|
8447
8447
|
value: (le = y.activity.project) == null ? void 0 : le.id,
|
|
8448
8448
|
searchable: !0,
|
|
8449
8449
|
disabled: !n.value,
|
|
@@ -8540,7 +8540,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8540
8540
|
"is-template": y.isTemplate,
|
|
8541
8541
|
onAdd: A,
|
|
8542
8542
|
onUpdate: _,
|
|
8543
|
-
onDelete:
|
|
8543
|
+
onDelete: g
|
|
8544
8544
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
8545
8545
|
])
|
|
8546
8546
|
]),
|
|
@@ -8581,7 +8581,7 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8581
8581
|
"can-deselect": !1,
|
|
8582
8582
|
disabled: !n.value,
|
|
8583
8583
|
caret: n.value,
|
|
8584
|
-
onChange:
|
|
8584
|
+
onChange: X
|
|
8585
8585
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8586
8586
|
])
|
|
8587
8587
|
])) : E("", !0),
|
|
@@ -8722,8 +8722,8 @@ const $n = /* @__PURE__ */ Y({
|
|
|
8722
8722
|
f("label", pf, [
|
|
8723
8723
|
f("span", vf, x(y.$t("activity.blocking.label")), 1),
|
|
8724
8724
|
T(ke, {
|
|
8725
|
-
modelValue:
|
|
8726
|
-
"onUpdate:modelValue": R[9] || (R[9] = (H) =>
|
|
8725
|
+
modelValue: C.value,
|
|
8726
|
+
"onUpdate:modelValue": R[9] || (R[9] = (H) => C.value = H),
|
|
8727
8727
|
class: "ao-activity-details__multiselect",
|
|
8728
8728
|
mode: "tags",
|
|
8729
8729
|
"close-on-select": !1,
|
|
@@ -8765,7 +8765,7 @@ const mf = /* @__PURE__ */ Y({
|
|
|
8765
8765
|
emits: ["update:rule", "close"],
|
|
8766
8766
|
setup(t, { emit: e }) {
|
|
8767
8767
|
const a = t, n = Pt(
|
|
8768
|
-
a.rule.itemType ||
|
|
8768
|
+
a.rule.itemType || ge.ACTIVITIES
|
|
8769
8769
|
), s = M({
|
|
8770
8770
|
get() {
|
|
8771
8771
|
return n.value;
|
|
@@ -8777,7 +8777,7 @@ const mf = /* @__PURE__ */ Y({
|
|
|
8777
8777
|
subItemId: void 0
|
|
8778
8778
|
});
|
|
8779
8779
|
}
|
|
8780
|
-
}), o = M(() => Object.values(
|
|
8780
|
+
}), o = M(() => Object.values(ge)), i = M({
|
|
8781
8781
|
get() {
|
|
8782
8782
|
return a.rule.subItemId;
|
|
8783
8783
|
},
|
|
@@ -8791,12 +8791,12 @@ const mf = /* @__PURE__ */ Y({
|
|
|
8791
8791
|
}), r = M(() => {
|
|
8792
8792
|
var _;
|
|
8793
8793
|
return !a.templateActivities || !a.templateMilestones || !a.templatePhases ? null : (_ = {
|
|
8794
|
-
[
|
|
8795
|
-
[
|
|
8796
|
-
[
|
|
8797
|
-
}[n.value]) == null ? void 0 : _.map((
|
|
8798
|
-
value:
|
|
8799
|
-
label:
|
|
8794
|
+
[ge.ACTIVITIES]: a.templateActivities,
|
|
8795
|
+
[ge.MILESTONES]: a.templateMilestones,
|
|
8796
|
+
[ge.PHASES]: a.templatePhases
|
|
8797
|
+
}[n.value]) == null ? void 0 : _.map((g) => ({
|
|
8798
|
+
value: g.id,
|
|
8799
|
+
label: g.name
|
|
8800
8800
|
}));
|
|
8801
8801
|
}), l = Pt(a.rule.comparator), c = M({
|
|
8802
8802
|
get() {
|
|
@@ -8819,7 +8819,7 @@ const mf = /* @__PURE__ */ Y({
|
|
|
8819
8819
|
set(A) {
|
|
8820
8820
|
e("update:rule", { ...a.rule, duration: A });
|
|
8821
8821
|
}
|
|
8822
|
-
}),
|
|
8822
|
+
}), C = M({
|
|
8823
8823
|
get() {
|
|
8824
8824
|
return a.rule.durationUnit;
|
|
8825
8825
|
},
|
|
@@ -8831,26 +8831,26 @@ const mf = /* @__PURE__ */ Y({
|
|
|
8831
8831
|
default: W(() => [
|
|
8832
8832
|
T(J(ut), {
|
|
8833
8833
|
modelValue: s.value,
|
|
8834
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
8834
|
+
"onUpdate:modelValue": _[0] || (_[0] = (g) => s.value = g),
|
|
8835
8835
|
options: o.value
|
|
8836
8836
|
}, null, 8, ["modelValue", "options"]),
|
|
8837
8837
|
T(J(ut), {
|
|
8838
8838
|
modelValue: i.value,
|
|
8839
|
-
"onUpdate:modelValue": _[1] || (_[1] = (
|
|
8839
|
+
"onUpdate:modelValue": _[1] || (_[1] = (g) => i.value = g),
|
|
8840
8840
|
options: r.value
|
|
8841
8841
|
}, null, 8, ["modelValue", "options"]),
|
|
8842
8842
|
T(J(ut), {
|
|
8843
8843
|
modelValue: d.value,
|
|
8844
|
-
"onUpdate:modelValue": _[2] || (_[2] = (
|
|
8844
|
+
"onUpdate:modelValue": _[2] || (_[2] = (g) => d.value = g),
|
|
8845
8845
|
options: h.value
|
|
8846
8846
|
}, null, 8, ["modelValue", "options"]),
|
|
8847
8847
|
T(J(ut), {
|
|
8848
8848
|
modelValue: c.value,
|
|
8849
|
-
"onUpdate:modelValue": _[3] || (_[3] = (
|
|
8849
|
+
"onUpdate:modelValue": _[3] || (_[3] = (g) => c.value = g),
|
|
8850
8850
|
options: u.value
|
|
8851
8851
|
}, null, 8, ["modelValue", "options"]),
|
|
8852
8852
|
Ue(f("input", {
|
|
8853
|
-
"onUpdate:modelValue": _[4] || (_[4] = (
|
|
8853
|
+
"onUpdate:modelValue": _[4] || (_[4] = (g) => w.value = g),
|
|
8854
8854
|
type: "number",
|
|
8855
8855
|
min: "0"
|
|
8856
8856
|
}, null, 512), [
|
|
@@ -8862,22 +8862,22 @@ const mf = /* @__PURE__ */ Y({
|
|
|
8862
8862
|
]
|
|
8863
8863
|
]),
|
|
8864
8864
|
T(J(ut), {
|
|
8865
|
-
modelValue:
|
|
8866
|
-
"onUpdate:modelValue": _[5] || (_[5] = (
|
|
8865
|
+
modelValue: C.value,
|
|
8866
|
+
"onUpdate:modelValue": _[5] || (_[5] = (g) => C.value = g),
|
|
8867
8867
|
options: b.value
|
|
8868
8868
|
}, null, 8, ["modelValue", "options"]),
|
|
8869
8869
|
T(ue, {
|
|
8870
8870
|
class: "ao-rule-line__remove",
|
|
8871
8871
|
"icon-name": "CloseRounded",
|
|
8872
8872
|
variant: "ghost",
|
|
8873
|
-
onClick: _[6] || (_[6] = (
|
|
8873
|
+
onClick: _[6] || (_[6] = (g) => A.$emit("close"))
|
|
8874
8874
|
})
|
|
8875
8875
|
]),
|
|
8876
8876
|
_: 1
|
|
8877
8877
|
}));
|
|
8878
8878
|
}
|
|
8879
8879
|
});
|
|
8880
|
-
const
|
|
8880
|
+
const gf = { class: "ao-template-rules__body" }, Cf = { class: "ao-template-rules__list" }, _f = /* @__PURE__ */ Y({
|
|
8881
8881
|
__name: "AoTemplateRules",
|
|
8882
8882
|
props: {
|
|
8883
8883
|
templateId: {},
|
|
@@ -8901,8 +8901,8 @@ const Cf = { class: "ao-template-rules__body" }, gf = { class: "ao-template-rule
|
|
|
8901
8901
|
}, null, 8, ["title"])
|
|
8902
8902
|
]),
|
|
8903
8903
|
default: W(() => [
|
|
8904
|
-
f("div",
|
|
8905
|
-
f("ul",
|
|
8904
|
+
f("div", gf, [
|
|
8905
|
+
f("ul", Cf, [
|
|
8906
8906
|
(p(!0), m(he, null, _e(s.rules, (i) => (p(), P(mf, {
|
|
8907
8907
|
key: i.id,
|
|
8908
8908
|
rule: i,
|
|
@@ -8913,7 +8913,7 @@ const Cf = { class: "ao-template-rules__body" }, gf = { class: "ao-template-rule
|
|
|
8913
8913
|
onClose: () => n(i.id)
|
|
8914
8914
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8915
8915
|
]),
|
|
8916
|
-
T(
|
|
8916
|
+
T(gt, {
|
|
8917
8917
|
label: s.$t("template.rules.add"),
|
|
8918
8918
|
"icon-name": "Add",
|
|
8919
8919
|
onClick: a
|
|
@@ -9025,7 +9025,7 @@ const yf = {
|
|
|
9025
9025
|
n
|
|
9026
9026
|
);
|
|
9027
9027
|
o.value = !0, e("addItem", {
|
|
9028
|
-
type:
|
|
9028
|
+
type: ge.PHASES,
|
|
9029
9029
|
templateId: a.templateId,
|
|
9030
9030
|
item: {
|
|
9031
9031
|
name: k,
|
|
@@ -9036,22 +9036,22 @@ const yf = {
|
|
|
9036
9036
|
e("updateItem", {
|
|
9037
9037
|
templateId: a.templateId,
|
|
9038
9038
|
id: a.templateId,
|
|
9039
|
-
itemType:
|
|
9039
|
+
itemType: ge.TEMPLATES,
|
|
9040
9040
|
data: { name: k }
|
|
9041
9041
|
});
|
|
9042
9042
|
}, w = (k) => {
|
|
9043
9043
|
e("removeItem", {
|
|
9044
|
-
type:
|
|
9044
|
+
type: ge.PHASES,
|
|
9045
9045
|
templateId: a.templateId,
|
|
9046
9046
|
data: {
|
|
9047
9047
|
id: k
|
|
9048
9048
|
}
|
|
9049
9049
|
});
|
|
9050
|
-
},
|
|
9050
|
+
}, C = (k, F) => {
|
|
9051
9051
|
e("updateItem", {
|
|
9052
9052
|
templateId: a.templateId,
|
|
9053
9053
|
id: k,
|
|
9054
|
-
itemType:
|
|
9054
|
+
itemType: ge.PHASES,
|
|
9055
9055
|
data: { name: F }
|
|
9056
9056
|
});
|
|
9057
9057
|
}, b = (k) => {
|
|
@@ -9065,7 +9065,7 @@ const yf = {
|
|
|
9065
9065
|
n
|
|
9066
9066
|
);
|
|
9067
9067
|
o.value = !0, e("addItem", {
|
|
9068
|
-
type:
|
|
9068
|
+
type: ge.MILESTONES,
|
|
9069
9069
|
templateId: a.templateId,
|
|
9070
9070
|
phaseId: k.phaseId,
|
|
9071
9071
|
item: {
|
|
@@ -9076,17 +9076,17 @@ const yf = {
|
|
|
9076
9076
|
});
|
|
9077
9077
|
}, _ = (k) => {
|
|
9078
9078
|
e("removeItem", {
|
|
9079
|
-
type:
|
|
9079
|
+
type: ge.MILESTONES,
|
|
9080
9080
|
templateId: a.templateId,
|
|
9081
9081
|
phaseId: k.phaseId,
|
|
9082
9082
|
data: {
|
|
9083
9083
|
id: k.id
|
|
9084
9084
|
}
|
|
9085
9085
|
});
|
|
9086
|
-
},
|
|
9086
|
+
}, g = (k) => {
|
|
9087
9087
|
const { id: F, ...V } = k;
|
|
9088
9088
|
e("updateItem", {
|
|
9089
|
-
itemType:
|
|
9089
|
+
itemType: ge.MILESTONES,
|
|
9090
9090
|
id: F,
|
|
9091
9091
|
templateId: a.templateId,
|
|
9092
9092
|
data: V
|
|
@@ -9101,7 +9101,7 @@ const yf = {
|
|
|
9101
9101
|
n
|
|
9102
9102
|
);
|
|
9103
9103
|
o.value = !0, e("addItem", {
|
|
9104
|
-
type:
|
|
9104
|
+
type: ge.ACTIVITIES,
|
|
9105
9105
|
milestoneId: F,
|
|
9106
9106
|
templateId: a.templateId,
|
|
9107
9107
|
item: { name: V, rank: ie, milestoneId: F }
|
|
@@ -9109,7 +9109,7 @@ const yf = {
|
|
|
9109
9109
|
}, I = (k) => {
|
|
9110
9110
|
var F, V;
|
|
9111
9111
|
e("removeItem", {
|
|
9112
|
-
type:
|
|
9112
|
+
type: ge.ACTIVITIES,
|
|
9113
9113
|
templateId: a.templateId,
|
|
9114
9114
|
phaseId: (F = i.value) == null ? void 0 : F.id,
|
|
9115
9115
|
milestoneId: (V = r.value) == null ? void 0 : V.id,
|
|
@@ -9120,7 +9120,7 @@ const yf = {
|
|
|
9120
9120
|
}, L = (k) => {
|
|
9121
9121
|
const { id: F, ...V } = k;
|
|
9122
9122
|
e("updateItem", {
|
|
9123
|
-
itemType:
|
|
9123
|
+
itemType: ge.ACTIVITIES,
|
|
9124
9124
|
id: F,
|
|
9125
9125
|
templateId: a.templateId,
|
|
9126
9126
|
data: V
|
|
@@ -9129,14 +9129,14 @@ const yf = {
|
|
|
9129
9129
|
U.value = !U.value;
|
|
9130
9130
|
}, z = () => {
|
|
9131
9131
|
e("addRule", { templateId: a.templateId });
|
|
9132
|
-
},
|
|
9132
|
+
}, Q = (k) => {
|
|
9133
9133
|
e("removeRule", { id: k, templateId: a.templateId });
|
|
9134
9134
|
}, ae = (k) => {
|
|
9135
9135
|
var F;
|
|
9136
9136
|
if (k.moved) {
|
|
9137
|
-
const V =
|
|
9137
|
+
const V = ga(k, ((F = s.value) == null ? void 0 : F.phases) ?? []);
|
|
9138
9138
|
e("updateItem", {
|
|
9139
|
-
itemType:
|
|
9139
|
+
itemType: ge.PHASES,
|
|
9140
9140
|
id: k.moved.element.id,
|
|
9141
9141
|
templateId: a.templateId,
|
|
9142
9142
|
data: {
|
|
@@ -9146,7 +9146,7 @@ const yf = {
|
|
|
9146
9146
|
}
|
|
9147
9147
|
}, S = (k) => {
|
|
9148
9148
|
!i.value || !r.value || !u.value || e("addItem", {
|
|
9149
|
-
type:
|
|
9149
|
+
type: ge.TASKS,
|
|
9150
9150
|
activityId: k.activityId,
|
|
9151
9151
|
milestoneId: r.value.id,
|
|
9152
9152
|
phaseId: i.value.id,
|
|
@@ -9155,21 +9155,21 @@ const yf = {
|
|
|
9155
9155
|
});
|
|
9156
9156
|
}, j = (k) => {
|
|
9157
9157
|
!i.value || !r.value || !u.value || e("updateItem", {
|
|
9158
|
-
itemType:
|
|
9158
|
+
itemType: ge.TASKS,
|
|
9159
9159
|
id: k.id,
|
|
9160
9160
|
templateId: a.templateId,
|
|
9161
9161
|
data: k
|
|
9162
9162
|
});
|
|
9163
9163
|
}, ne = (k) => {
|
|
9164
9164
|
!i.value || !r.value || !u.value || e("removeItem", {
|
|
9165
|
-
type:
|
|
9165
|
+
type: ge.TASKS,
|
|
9166
9166
|
activityId: u.value.id,
|
|
9167
9167
|
milestoneId: r.value.id,
|
|
9168
9168
|
phaseId: i.value.id,
|
|
9169
9169
|
templateId: a.templateId,
|
|
9170
9170
|
data: k
|
|
9171
9171
|
});
|
|
9172
|
-
},
|
|
9172
|
+
}, X = (k) => {
|
|
9173
9173
|
e("addFiles", k);
|
|
9174
9174
|
}, O = (k) => {
|
|
9175
9175
|
e("removeFile", k);
|
|
@@ -9223,7 +9223,7 @@ const yf = {
|
|
|
9223
9223
|
params: { templateId: k.templateId, phaseId: q.id }
|
|
9224
9224
|
}),
|
|
9225
9225
|
"onUpdate:title": (K) => {
|
|
9226
|
-
|
|
9226
|
+
C(q.id, K);
|
|
9227
9227
|
},
|
|
9228
9228
|
onRemove: () => w(q.id)
|
|
9229
9229
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
@@ -9231,7 +9231,7 @@ const yf = {
|
|
|
9231
9231
|
}),
|
|
9232
9232
|
footer: W(() => [
|
|
9233
9233
|
f("div", kf, [
|
|
9234
|
-
T(
|
|
9234
|
+
T(gt, {
|
|
9235
9235
|
"icon-name": "AddBoxOutlineRounded",
|
|
9236
9236
|
label: k.$t("template.phases.add"),
|
|
9237
9237
|
onClick: d
|
|
@@ -9248,7 +9248,7 @@ const yf = {
|
|
|
9248
9248
|
phase: i.value,
|
|
9249
9249
|
"milestone-id": (V = r.value) == null ? void 0 : V.id,
|
|
9250
9250
|
onAddMilestone: A,
|
|
9251
|
-
onUpdateMilestone:
|
|
9251
|
+
onUpdateMilestone: g,
|
|
9252
9252
|
onUpdatePhase: b,
|
|
9253
9253
|
onRemoveMilestone: _
|
|
9254
9254
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
|
|
@@ -9287,7 +9287,7 @@ const yf = {
|
|
|
9287
9287
|
onAddSubtask: S,
|
|
9288
9288
|
onUpdateSubtask: j,
|
|
9289
9289
|
onDeleteSubtask: ne,
|
|
9290
|
-
onAddFiles:
|
|
9290
|
+
onAddFiles: X,
|
|
9291
9291
|
onRemoveFile: O
|
|
9292
9292
|
}, {
|
|
9293
9293
|
default: W((q) => [
|
|
@@ -9306,7 +9306,7 @@ const yf = {
|
|
|
9306
9306
|
"template-activities": c.value,
|
|
9307
9307
|
onClose: Z,
|
|
9308
9308
|
onAddRule: z,
|
|
9309
|
-
onRemoveRule:
|
|
9309
|
+
onRemoveRule: Q
|
|
9310
9310
|
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : E("", !0)
|
|
9311
9311
|
]))
|
|
9312
9312
|
])) : E("", !0);
|
|
@@ -9408,7 +9408,7 @@ const If = { class: "ao-card-project-phase__header" }, Lf = { class: "ao-card-pr
|
|
|
9408
9408
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9409
9409
|
}), i = M(() => {
|
|
9410
9410
|
var c;
|
|
9411
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9411
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === Cn.done).length;
|
|
9412
9412
|
}), r = M(() => (i.value || 0) / (o.value || 1)), l = M({
|
|
9413
9413
|
get: () => a.deadline ?? "",
|
|
9414
9414
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9725,26 +9725,26 @@ const n9 = {
|
|
|
9725
9725
|
"item-key": "id",
|
|
9726
9726
|
group: "kanban"
|
|
9727
9727
|
}, d.$attrs, { onChange: v }), {
|
|
9728
|
-
item: W(({ element:
|
|
9728
|
+
item: W(({ element: C }) => {
|
|
9729
9729
|
var b;
|
|
9730
9730
|
return [
|
|
9731
9731
|
T(a9, {
|
|
9732
|
-
id:
|
|
9733
|
-
name:
|
|
9734
|
-
color:
|
|
9735
|
-
activities:
|
|
9736
|
-
deadline:
|
|
9732
|
+
id: C.id,
|
|
9733
|
+
name: C.name,
|
|
9734
|
+
color: C.color,
|
|
9735
|
+
activities: C.activities,
|
|
9736
|
+
deadline: C.deadline,
|
|
9737
9737
|
"is-editable": !d.readonly && d.isEditable,
|
|
9738
9738
|
"is-draggable": !d.readonly && d.isEditable,
|
|
9739
9739
|
"closed-status": d.closedStatus,
|
|
9740
|
-
"is-selected":
|
|
9741
|
-
assignee:
|
|
9742
|
-
important:
|
|
9740
|
+
"is-selected": C.id === ((b = d.$route.params) == null ? void 0 : b.milestoneId),
|
|
9741
|
+
assignee: C.assignee,
|
|
9742
|
+
important: C.important,
|
|
9743
9743
|
readonly: d.readonly,
|
|
9744
9744
|
class: G(["ao-project-phase__milestone"]),
|
|
9745
9745
|
onClick: (A) => !d.readonly && d.$router.push({
|
|
9746
9746
|
name: J(Fe).milestone,
|
|
9747
|
-
params: { phaseId: d.phase.id, milestoneId:
|
|
9747
|
+
params: { phaseId: d.phase.id, milestoneId: C.id }
|
|
9748
9748
|
}),
|
|
9749
9749
|
onUpdateMilestone: l,
|
|
9750
9750
|
onArchiveMilestone: c
|
|
@@ -9754,7 +9754,7 @@ const n9 = {
|
|
|
9754
9754
|
_: 1
|
|
9755
9755
|
}, 16, ["list", "disabled"]),
|
|
9756
9756
|
f("div", r9, [
|
|
9757
|
-
d.isEditable ? (p(), P(
|
|
9757
|
+
d.isEditable ? (p(), P(gt, {
|
|
9758
9758
|
key: 0,
|
|
9759
9759
|
label: d.$t("project.milestone.add"),
|
|
9760
9760
|
class: "ao-project-phase__milestone-add",
|
|
@@ -9796,7 +9796,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
|
|
|
9796
9796
|
e("archivePhase", u);
|
|
9797
9797
|
}, r = (u) => {
|
|
9798
9798
|
if (u.moved) {
|
|
9799
|
-
const v =
|
|
9799
|
+
const v = ga(u, a.phases ?? []);
|
|
9800
9800
|
e("updatePhase", {
|
|
9801
9801
|
id: u.moved.element.id,
|
|
9802
9802
|
rank: v
|
|
@@ -9834,7 +9834,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
|
|
|
9834
9834
|
u.isEditable ? (p(), m("div", c9, [
|
|
9835
9835
|
d9,
|
|
9836
9836
|
f("div", p9, [
|
|
9837
|
-
T(
|
|
9837
|
+
T(gt, {
|
|
9838
9838
|
label: u.$t("project.phases.add"),
|
|
9839
9839
|
"icon-name": "Add",
|
|
9840
9840
|
class: "ao-project-phase__add-phase",
|
|
@@ -9846,7 +9846,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
|
|
|
9846
9846
|
]));
|
|
9847
9847
|
}
|
|
9848
9848
|
});
|
|
9849
|
-
const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" },
|
|
9849
|
+
const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" }, g9 = { class: "field__row" }, C9 = { class: "ao-add-template-modal__form-footer" }, _9 = /* @__PURE__ */ Y({
|
|
9850
9850
|
__name: "AoAddTemplateModal",
|
|
9851
9851
|
props: {
|
|
9852
9852
|
projectId: {},
|
|
@@ -9875,7 +9875,7 @@ const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" }, C9
|
|
|
9875
9875
|
onSubmit: ve(i, ["prevent"])
|
|
9876
9876
|
}, [
|
|
9877
9877
|
f("div", m9, [
|
|
9878
|
-
f("div",
|
|
9878
|
+
f("div", g9, [
|
|
9879
9879
|
T(ke, {
|
|
9880
9880
|
value: s.value,
|
|
9881
9881
|
options: n.value,
|
|
@@ -9884,7 +9884,7 @@ const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" }, C9
|
|
|
9884
9884
|
}, null, 8, ["value", "options"])
|
|
9885
9885
|
])
|
|
9886
9886
|
]),
|
|
9887
|
-
f("footer",
|
|
9887
|
+
f("footer", C9, [
|
|
9888
9888
|
T(ue, {
|
|
9889
9889
|
label: r.$t("project.template.add.label"),
|
|
9890
9890
|
type: "submit",
|
|
@@ -9907,7 +9907,7 @@ const y9 = ["onSubmit"], b9 = { class: "ao-save-template-modal__form-body" }, w9
|
|
|
9907
9907
|
emits: ["save"],
|
|
9908
9908
|
setup(t, { emit: e }) {
|
|
9909
9909
|
const a = t, n = ee(""), s = () => {
|
|
9910
|
-
n.value && e("save", n.value, a.projectId);
|
|
9910
|
+
console.log("HELLO " + n.value), console.log("HELLO " + a.projectId), n.value && e("save", n.value, a.projectId);
|
|
9911
9911
|
};
|
|
9912
9912
|
return (o, i) => (p(), P(Xa, { size: "sm" }, {
|
|
9913
9913
|
header: W(() => [
|
|
@@ -10042,7 +10042,7 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10042
10042
|
e("archiveActivity", S);
|
|
10043
10043
|
}, w = (S) => {
|
|
10044
10044
|
e("unarchiveActivity", S);
|
|
10045
|
-
},
|
|
10045
|
+
}, C = (S) => {
|
|
10046
10046
|
e("addSubtask", S);
|
|
10047
10047
|
}, b = (S) => {
|
|
10048
10048
|
e("updateSubtask", S);
|
|
@@ -10050,7 +10050,7 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10050
10050
|
e("deleteSubtask", S);
|
|
10051
10051
|
}, _ = M(
|
|
10052
10052
|
() => s.value.flatMap((S) => S.activities)
|
|
10053
|
-
),
|
|
10053
|
+
), g = (S) => {
|
|
10054
10054
|
e("addFiles", S);
|
|
10055
10055
|
}, D = (S) => {
|
|
10056
10056
|
e("removeFile", S);
|
|
@@ -10060,12 +10060,15 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10060
10060
|
e("updateComment", S);
|
|
10061
10061
|
}, U = (S) => {
|
|
10062
10062
|
e("removeComment", S);
|
|
10063
|
-
}, Z = ee(!1), z = ee(!1),
|
|
10063
|
+
}, Z = ee(!1), z = ee(!1), Q = (S, j) => {
|
|
10064
10064
|
e("applyTemplate", { templateId: S, projectId: j }), Z.value = !1;
|
|
10065
10065
|
}, ae = (S, j) => {
|
|
10066
10066
|
var O;
|
|
10067
|
-
|
|
10068
|
-
|
|
10067
|
+
console.log("***************"), console.log("***************");
|
|
10068
|
+
const ne = (O = a.templates) == null ? void 0 : O.at(-1);
|
|
10069
|
+
console.log(JSON.stringify(a.templates, null, 2)), console.log("***************"), console.log("***************");
|
|
10070
|
+
const X = ne ? we.LexoRank.parse(ne.rank).genNext() : we.LexoRank.middle();
|
|
10071
|
+
console.log("templateName : " + S), console.log("rank : " + X.format()), console.log("projectId : " + j), e("saveTemplate", { templateName: S, rank: X.format(), projectId: j }), z.value = !1;
|
|
10069
10072
|
};
|
|
10070
10073
|
return (S, j) => {
|
|
10071
10074
|
const ne = Ke("RouterView");
|
|
@@ -10078,8 +10081,8 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10078
10081
|
"is-left": !0,
|
|
10079
10082
|
"right-label": S.$t("project.switch.feed"),
|
|
10080
10083
|
"left-label": S.$t("project.switch.overview"),
|
|
10081
|
-
"onUpdate:isLeft": j[0] || (j[0] = (
|
|
10082
|
-
|
|
10084
|
+
"onUpdate:isLeft": j[0] || (j[0] = (X) => {
|
|
10085
|
+
X || S.$router.push({ name: J(Fe).feed });
|
|
10083
10086
|
})
|
|
10084
10087
|
}, null, 8, ["right-label", "left-label"]),
|
|
10085
10088
|
T(ue, {
|
|
@@ -10092,7 +10095,7 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10092
10095
|
label: S.$t("feed.filters.showsArchived.label"),
|
|
10093
10096
|
role: "checkbox",
|
|
10094
10097
|
"aria-checked": S.showsArchived,
|
|
10095
|
-
onClick: j[1] || (j[1] = (
|
|
10098
|
+
onClick: j[1] || (j[1] = (X) => S.$emit("update:showsArchived", !S.showsArchived))
|
|
10096
10099
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
10097
10100
|
]),
|
|
10098
10101
|
secondary: W(() => [
|
|
@@ -10101,14 +10104,14 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10101
10104
|
class: "ao-project-overview__save-as-template",
|
|
10102
10105
|
color: "primary",
|
|
10103
10106
|
label: S.$t("project.template.save.label"),
|
|
10104
|
-
onClick: j[2] || (j[2] = (
|
|
10107
|
+
onClick: j[2] || (j[2] = (X) => z.value = !0)
|
|
10105
10108
|
}, null, 8, ["label"])) : E("", !0),
|
|
10106
10109
|
S.isEditable === !0 ? (p(), P(ue, {
|
|
10107
10110
|
key: 1,
|
|
10108
10111
|
class: "ao-project-overview__add-template",
|
|
10109
10112
|
color: "primary",
|
|
10110
10113
|
label: S.$t("project.template.add.label"),
|
|
10111
|
-
onClick: j[3] || (j[3] = (
|
|
10114
|
+
onClick: j[3] || (j[3] = (X) => Z.value = !0)
|
|
10112
10115
|
}, null, 8, ["label"])) : E("", !0)
|
|
10113
10116
|
]),
|
|
10114
10117
|
_: 1
|
|
@@ -10136,7 +10139,7 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10136
10139
|
users: S.users,
|
|
10137
10140
|
"is-editable": S.isEditable === !0,
|
|
10138
10141
|
"closed-status": S.closedStatus,
|
|
10139
|
-
onClose: j[4] || (j[4] = (
|
|
10142
|
+
onClose: j[4] || (j[4] = (X) => S.$router.push({ name: J(Fe).project })),
|
|
10140
10143
|
onUpdateMilestone: c,
|
|
10141
10144
|
onAddActivity: v,
|
|
10142
10145
|
onUpdateActivity: d,
|
|
@@ -10157,17 +10160,17 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10157
10160
|
"is-editable": S.isEditable,
|
|
10158
10161
|
"attachment-enabled": S.attachmentEnabled,
|
|
10159
10162
|
"onUpdate:activity": d,
|
|
10160
|
-
onAddSubtask:
|
|
10163
|
+
onAddSubtask: C,
|
|
10161
10164
|
onUpdateSubtask: b,
|
|
10162
10165
|
onDeleteSubtask: A,
|
|
10163
|
-
onAddFiles:
|
|
10166
|
+
onAddFiles: g,
|
|
10164
10167
|
onRemoveFile: D,
|
|
10165
10168
|
onAddComment: I,
|
|
10166
10169
|
onUpdateComment: L,
|
|
10167
10170
|
onRemoveComment: U
|
|
10168
10171
|
}, {
|
|
10169
|
-
default: W(({ Component:
|
|
10170
|
-
(p(), P(ht(
|
|
10172
|
+
default: W(({ Component: X }) => [
|
|
10173
|
+
(p(), P(ht(X), null, {
|
|
10171
10174
|
default: W((O) => [
|
|
10172
10175
|
te(S.$slots, "activityDetailsBody", pa(va(O)))
|
|
10173
10176
|
]),
|
|
@@ -10182,16 +10185,15 @@ const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527
|
|
|
10182
10185
|
z.value ? (p(), P(A9, {
|
|
10183
10186
|
key: 0,
|
|
10184
10187
|
"project-id": S.project.id,
|
|
10185
|
-
|
|
10186
|
-
onClose: j[5] || (j[5] = (Q) => z.value = !1),
|
|
10188
|
+
onClose: j[5] || (j[5] = (X) => z.value = !1),
|
|
10187
10189
|
onSave: ae
|
|
10188
|
-
}, null, 8, ["project-id"
|
|
10190
|
+
}, null, 8, ["project-id"])) : E("", !0),
|
|
10189
10191
|
Z.value ? (p(), P(_9, {
|
|
10190
10192
|
key: 1,
|
|
10191
10193
|
"project-id": S.project.id,
|
|
10192
10194
|
templates: S.templates,
|
|
10193
|
-
onClose: j[6] || (j[6] = (
|
|
10194
|
-
onApply:
|
|
10195
|
+
onClose: j[6] || (j[6] = (X) => Z.value = !1),
|
|
10196
|
+
onApply: Q
|
|
10195
10197
|
}, null, 8, ["project-id", "templates"])) : E("", !0)
|
|
10196
10198
|
]))
|
|
10197
10199
|
], 64);
|
|
@@ -10329,15 +10331,15 @@ const H9 = { class: "ao-card-feed__header" }, D9 = {
|
|
|
10329
10331
|
f("div", U9, [
|
|
10330
10332
|
f("div", Z9, [
|
|
10331
10333
|
f("ul", W9, [
|
|
10332
|
-
(p(!0), m(he, null, _e(r.value, (
|
|
10333
|
-
key:
|
|
10334
|
+
(p(!0), m(he, null, _e(r.value, (C) => (p(), m(he, {
|
|
10335
|
+
key: C.id
|
|
10334
10336
|
}, [
|
|
10335
|
-
|
|
10337
|
+
C ? (p(), m("li", q9, [
|
|
10336
10338
|
T(et, {
|
|
10337
|
-
"user-name": J(zs)(
|
|
10338
|
-
"avatar-url":
|
|
10339
|
+
"user-name": J(zs)(C),
|
|
10340
|
+
"avatar-url": C.avatarUrl,
|
|
10339
10341
|
"is-closable": !0,
|
|
10340
|
-
onClose: () => c(
|
|
10342
|
+
onClose: () => c(C.id)
|
|
10341
10343
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
10342
10344
|
])) : E("", !0)
|
|
10343
10345
|
], 64))), 128))
|
|
@@ -10775,8 +10777,8 @@ var Xn = Y({
|
|
|
10775
10777
|
const { clientX: e, clientY: a } = t, { top: n, left: s, width: o, height: i } = this.suckerCanvas.getBoundingClientRect(), r = e - s, l = a - n, u = this.suckerCanvas.getContext("2d").getImageData(Math.min(r, o - 1), Math.min(l, i - 1), 1, 1);
|
|
10776
10778
|
let [v, d, h, w] = u.data;
|
|
10777
10779
|
w = parseFloat((w / 255).toFixed(2));
|
|
10778
|
-
const
|
|
10779
|
-
Object.assign(
|
|
10780
|
+
const C = this.suckerPreview.style;
|
|
10781
|
+
Object.assign(C, {
|
|
10780
10782
|
position: "absolute",
|
|
10781
10783
|
left: e + 20 + "px",
|
|
10782
10784
|
top: a - 36 + "px",
|
|
@@ -10791,13 +10793,13 @@ var Xn = Y({
|
|
|
10791
10793
|
e >= this.suckerArea[0] && // @ts-ignore
|
|
10792
10794
|
a >= this.suckerArea[1] && // @ts-ignore
|
|
10793
10795
|
e <= this.suckerArea[2] && // @ts-ignore
|
|
10794
|
-
a <= this.suckerArea[3] ?
|
|
10796
|
+
a <= this.suckerArea[3] ? C.display = "" : C.display = "none";
|
|
10795
10797
|
},
|
|
10796
10798
|
suckColor(t) {
|
|
10797
10799
|
t && t.tagName !== "CANVAS" || (this.suckerPreview = document.createElement("div"), this.suckerPreview && document.body.appendChild(this.suckerPreview), document.addEventListener("mousemove", this.mousemoveHandler), document.addEventListener("mouseup", this.mousemoveHandler), t.addEventListener("click", (e) => {
|
|
10798
10800
|
const { clientX: a, clientY: n } = e, { top: s, left: o, width: i, height: r } = t.getBoundingClientRect(), l = a - o, c = n - s, v = t.getContext("2d").getImageData(Math.min(l, i - 1), Math.min(c, r - 1), 1, 1);
|
|
10799
|
-
let [d, h, w,
|
|
10800
|
-
|
|
10801
|
+
let [d, h, w, C] = v.data;
|
|
10802
|
+
C = parseFloat((C / 255).toFixed(2)), this.$emit("selectSucker", { r: d, g: h, b: w, a: C });
|
|
10801
10803
|
}));
|
|
10802
10804
|
}
|
|
10803
10805
|
}
|
|
@@ -10902,7 +10904,7 @@ var Qn = Y({
|
|
|
10902
10904
|
}
|
|
10903
10905
|
});
|
|
10904
10906
|
const h4 = { class: "color-type" }, m4 = { class: "name" };
|
|
10905
|
-
function
|
|
10907
|
+
function g4(t, e, a, n, s, o) {
|
|
10906
10908
|
return p(), P("div", h4, [
|
|
10907
10909
|
T(
|
|
10908
10910
|
"span",
|
|
@@ -10927,7 +10929,7 @@ function C4(t, e, a, n, s, o) {
|
|
|
10927
10929
|
])
|
|
10928
10930
|
]);
|
|
10929
10931
|
}
|
|
10930
|
-
Qn.render =
|
|
10932
|
+
Qn.render = g4;
|
|
10931
10933
|
Qn.__file = "src/color/Box.vue";
|
|
10932
10934
|
var Jn = Y({
|
|
10933
10935
|
name: "ColorPicker",
|
|
@@ -10969,13 +10971,13 @@ var Jn = Y({
|
|
|
10969
10971
|
};
|
|
10970
10972
|
}
|
|
10971
10973
|
});
|
|
10972
|
-
const
|
|
10974
|
+
const C4 = { class: "colors" }, _4 = {
|
|
10973
10975
|
key: 0,
|
|
10974
10976
|
class: "colors history"
|
|
10975
10977
|
};
|
|
10976
10978
|
function y4(t, e, a, n, s, o) {
|
|
10977
10979
|
return p(), P("div", null, [
|
|
10978
|
-
T("ul",
|
|
10980
|
+
T("ul", C4, [
|
|
10979
10981
|
(p(!0), P(
|
|
10980
10982
|
he,
|
|
10981
10983
|
null,
|
|
@@ -11372,26 +11374,26 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11372
11374
|
setup(t, { emit: e }) {
|
|
11373
11375
|
const a = t, { t: n } = Tt(), s = M(() => {
|
|
11374
11376
|
var _;
|
|
11375
|
-
return (_ = a.phases) == null ? void 0 : _.find((
|
|
11377
|
+
return (_ = a.phases) == null ? void 0 : _.find((g) => g.id === a.phaseId);
|
|
11376
11378
|
}), o = M(
|
|
11377
11379
|
() => {
|
|
11378
11380
|
var _;
|
|
11379
|
-
return (_ = a.phases) == null ? void 0 : _.flatMap((
|
|
11381
|
+
return (_ = a.phases) == null ? void 0 : _.flatMap((g) => g.milestones);
|
|
11380
11382
|
}
|
|
11381
11383
|
), i = M(() => {
|
|
11382
11384
|
var _;
|
|
11383
|
-
return (_ = o.value) == null ? void 0 : _.find((
|
|
11385
|
+
return (_ = o.value) == null ? void 0 : _.find((g) => g.id === a.milestoneId);
|
|
11384
11386
|
}), r = M(() => {
|
|
11385
11387
|
var _;
|
|
11386
11388
|
return (_ = i.value) == null ? void 0 : _.activities;
|
|
11387
11389
|
});
|
|
11388
|
-
de(r, (_,
|
|
11389
|
-
Qe(_,
|
|
11390
|
+
de(r, (_, g) => {
|
|
11391
|
+
Qe(_, g);
|
|
11390
11392
|
});
|
|
11391
11393
|
const l = (_) => {
|
|
11392
11394
|
e("close", _);
|
|
11393
11395
|
}, c = () => {
|
|
11394
|
-
const { name: _, rank:
|
|
11396
|
+
const { name: _, rank: g } = Bt(
|
|
11395
11397
|
r.value ?? [],
|
|
11396
11398
|
"activity",
|
|
11397
11399
|
n
|
|
@@ -11399,7 +11401,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11399
11401
|
e("addActivity", {
|
|
11400
11402
|
milestoneId: a.milestoneId,
|
|
11401
11403
|
name: _,
|
|
11402
|
-
rank:
|
|
11404
|
+
rank: g,
|
|
11403
11405
|
projectId: a.projectId
|
|
11404
11406
|
});
|
|
11405
11407
|
}, u = (_) => {
|
|
@@ -11431,17 +11433,17 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11431
11433
|
deadline: _ != null && _.length ? _ : null
|
|
11432
11434
|
});
|
|
11433
11435
|
}
|
|
11434
|
-
}), w = (_) => a.closedStatus ? En(_, a.closedStatus) : !1,
|
|
11436
|
+
}), w = (_) => a.closedStatus ? En(_, a.closedStatus) : !1, C = M(() => {
|
|
11435
11437
|
var _;
|
|
11436
|
-
return ((_ = a.users) == null ? void 0 : _.map((
|
|
11437
|
-
label: `${
|
|
11438
|
-
value:
|
|
11439
|
-
avatar:
|
|
11438
|
+
return ((_ = a.users) == null ? void 0 : _.map((g) => ({
|
|
11439
|
+
label: `${g.firstName} ${g.lastName}`,
|
|
11440
|
+
value: g.id,
|
|
11441
|
+
avatar: g.avatarUrl
|
|
11440
11442
|
}))) || [];
|
|
11441
11443
|
}), b = M({
|
|
11442
11444
|
get() {
|
|
11443
|
-
var _,
|
|
11444
|
-
return (
|
|
11445
|
+
var _, g;
|
|
11446
|
+
return (g = (_ = i.value) == null ? void 0 : _.assignee) != null && g.id ? [i.value.assignee.id] : [];
|
|
11445
11447
|
},
|
|
11446
11448
|
set(_) {
|
|
11447
11449
|
e("updateMilestone", {
|
|
@@ -11459,7 +11461,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11459
11461
|
e("updateMilestone", { id: a.milestoneId, important: _ });
|
|
11460
11462
|
}
|
|
11461
11463
|
});
|
|
11462
|
-
return (_,
|
|
11464
|
+
return (_, g) => {
|
|
11463
11465
|
var D;
|
|
11464
11466
|
return p(), m("div", M4, [
|
|
11465
11467
|
f("header", T4, [
|
|
@@ -11480,7 +11482,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11480
11482
|
}, null, 8, ["title"]),
|
|
11481
11483
|
T($n, {
|
|
11482
11484
|
modelValue: A.value,
|
|
11483
|
-
"onUpdate:modelValue":
|
|
11485
|
+
"onUpdate:modelValue": g[0] || (g[0] = (I) => A.value = I),
|
|
11484
11486
|
modelModifiers: { lazy: !0 },
|
|
11485
11487
|
disabled: !_.isEditable,
|
|
11486
11488
|
class: "ao-milestone__important",
|
|
@@ -11496,7 +11498,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11496
11498
|
f("div", H4, [
|
|
11497
11499
|
f("label", D4, [
|
|
11498
11500
|
Ue(f("input", {
|
|
11499
|
-
"onUpdate:modelValue":
|
|
11501
|
+
"onUpdate:modelValue": g[1] || (g[1] = (I) => h.value = I),
|
|
11500
11502
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
11501
11503
|
type: "date"
|
|
11502
11504
|
}, null, 512), [
|
|
@@ -11513,8 +11515,8 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11513
11515
|
f("label", V4, [
|
|
11514
11516
|
T(ke, {
|
|
11515
11517
|
modelValue: b.value,
|
|
11516
|
-
"onUpdate:modelValue":
|
|
11517
|
-
options:
|
|
11518
|
+
"onUpdate:modelValue": g[2] || (g[2] = (I) => b.value = I),
|
|
11519
|
+
options: C.value,
|
|
11518
11520
|
"close-on-select": !0,
|
|
11519
11521
|
searchable: !0,
|
|
11520
11522
|
max: 1,
|
|
@@ -11541,7 +11543,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11541
11543
|
]),
|
|
11542
11544
|
T(A4, {
|
|
11543
11545
|
color: d.value,
|
|
11544
|
-
"onUpdate:color":
|
|
11546
|
+
"onUpdate:color": g[3] || (g[3] = (I) => d.value = I)
|
|
11545
11547
|
}, null, 8, ["color"])
|
|
11546
11548
|
])) : E("", !0)
|
|
11547
11549
|
]),
|
|
@@ -11554,7 +11556,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11554
11556
|
group: "kanban"
|
|
11555
11557
|
}, _.$attrs, { onChange: v }), {
|
|
11556
11558
|
item: W(({ element: I }) => {
|
|
11557
|
-
var L, U, Z, z,
|
|
11559
|
+
var L, U, Z, z, Q;
|
|
11558
11560
|
return [
|
|
11559
11561
|
T(di, {
|
|
11560
11562
|
id: I.id,
|
|
@@ -11568,7 +11570,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11568
11570
|
assignee: I.assignee,
|
|
11569
11571
|
slug: I.slug,
|
|
11570
11572
|
comments: (z = I.comments) == null ? void 0 : z.length,
|
|
11571
|
-
attachments: (
|
|
11573
|
+
attachments: (Q = I.attachments) == null ? void 0 : Q.length,
|
|
11572
11574
|
tasks: I.tasks,
|
|
11573
11575
|
"is-editable": _.isEditable,
|
|
11574
11576
|
"is-private": I.private,
|
|
@@ -11617,7 +11619,7 @@ const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-mi
|
|
|
11617
11619
|
_: 1
|
|
11618
11620
|
}, 16, ["list", "disabled"]),
|
|
11619
11621
|
_.isEditable ? (p(), m("div", R4, [
|
|
11620
|
-
T(
|
|
11622
|
+
T(gt, {
|
|
11621
11623
|
"icon-name": "Add",
|
|
11622
11624
|
label: _.$t("project.activity.add"),
|
|
11623
11625
|
onClick: c
|
|
@@ -11677,11 +11679,11 @@ const j4 = /* @__PURE__ */ Y({
|
|
|
11677
11679
|
e("addComment", b);
|
|
11678
11680
|
}, w = (b) => {
|
|
11679
11681
|
e("updateComment", b);
|
|
11680
|
-
},
|
|
11682
|
+
}, C = (b) => {
|
|
11681
11683
|
e("removeComment", b);
|
|
11682
11684
|
};
|
|
11683
11685
|
return (b, A) => {
|
|
11684
|
-
var _,
|
|
11686
|
+
var _, g;
|
|
11685
11687
|
return i.value ? (p(), P(Zn, {
|
|
11686
11688
|
key: 0,
|
|
11687
11689
|
activity: i.value,
|
|
@@ -11693,7 +11695,7 @@ const j4 = /* @__PURE__ */ Y({
|
|
|
11693
11695
|
"user-id": b.userId,
|
|
11694
11696
|
"is-task-checkable": b.isTaskCheckable,
|
|
11695
11697
|
statuses: b.statuses,
|
|
11696
|
-
breadcrumbs: `${(_ = n.value) == null ? void 0 : _.name} / ${(
|
|
11698
|
+
breadcrumbs: `${(_ = n.value) == null ? void 0 : _.name} / ${(g = o.value) == null ? void 0 : g.name}`,
|
|
11697
11699
|
"is-editable": b.isEditable,
|
|
11698
11700
|
"attachment-enabled": b.attachmentEnabled,
|
|
11699
11701
|
projects: [b.project],
|
|
@@ -11706,7 +11708,7 @@ const j4 = /* @__PURE__ */ Y({
|
|
|
11706
11708
|
onRemoveFile: d,
|
|
11707
11709
|
onAddComment: h,
|
|
11708
11710
|
onUpdateComment: w,
|
|
11709
|
-
onRemoveComment:
|
|
11711
|
+
onRemoveComment: C
|
|
11710
11712
|
}, {
|
|
11711
11713
|
default: W((D) => [
|
|
11712
11714
|
te(b.$slots, "default", pa(va(D)))
|
|
@@ -11778,7 +11780,7 @@ function x4(t, e = 200, a = {}) {
|
|
|
11778
11780
|
t
|
|
11779
11781
|
);
|
|
11780
11782
|
}
|
|
11781
|
-
function
|
|
11783
|
+
function gn(t) {
|
|
11782
11784
|
var e;
|
|
11783
11785
|
const a = Na(t);
|
|
11784
11786
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
@@ -11803,18 +11805,18 @@ function X4(t, e, a = {}) {
|
|
|
11803
11805
|
immediate: r = !0
|
|
11804
11806
|
} = a, l = G4(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
11805
11807
|
const w = Na(t);
|
|
11806
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
11808
|
+
return (Array.isArray(w) ? w : [w]).map(gn).filter(W4);
|
|
11807
11809
|
});
|
|
11808
11810
|
let u = oa;
|
|
11809
11811
|
const v = ee(r), d = l.value ? de(
|
|
11810
|
-
() => [c.value,
|
|
11811
|
-
([w,
|
|
11812
|
+
() => [c.value, gn(n), v.value],
|
|
11813
|
+
([w, C]) => {
|
|
11812
11814
|
if (u(), !v.value || !w.length)
|
|
11813
11815
|
return;
|
|
11814
11816
|
const b = new IntersectionObserver(
|
|
11815
11817
|
e,
|
|
11816
11818
|
{
|
|
11817
|
-
root:
|
|
11819
|
+
root: gn(C),
|
|
11818
11820
|
rootMargin: s,
|
|
11819
11821
|
threshold: o
|
|
11820
11822
|
}
|
|
@@ -11932,7 +11934,7 @@ const Q4 = {
|
|
|
11932
11934
|
}
|
|
11933
11935
|
}), {
|
|
11934
11936
|
item: W(({ element: d }) => {
|
|
11935
|
-
var h, w,
|
|
11937
|
+
var h, w, C, b, A, _, g, D, I;
|
|
11936
11938
|
return [
|
|
11937
11939
|
T(di, {
|
|
11938
11940
|
class: G(o(d) ? "ao-list-draggable" : ""),
|
|
@@ -11940,11 +11942,11 @@ const Q4 = {
|
|
|
11940
11942
|
name: d.name,
|
|
11941
11943
|
"project-name": (h = d.project) == null ? void 0 : h.name,
|
|
11942
11944
|
"project-color": (w = d.project) == null ? void 0 : w.color,
|
|
11943
|
-
"phase-name": (b = (
|
|
11945
|
+
"phase-name": (b = (C = d.milestone) == null ? void 0 : C.phase) == null ? void 0 : b.name,
|
|
11944
11946
|
"milestone-name": (A = d.milestone) == null ? void 0 : A.name,
|
|
11945
11947
|
"milestone-color": (_ = d.milestone) == null ? void 0 : _.color,
|
|
11946
11948
|
deadline: d.deadline,
|
|
11947
|
-
rules: ((
|
|
11949
|
+
rules: ((g = d.rules) == null ? void 0 : g.length) || 0,
|
|
11948
11950
|
tasks: d.tasks,
|
|
11949
11951
|
description: d.description,
|
|
11950
11952
|
important: d.important,
|
|
@@ -12005,7 +12007,7 @@ const Q4 = {
|
|
|
12005
12007
|
}, 16, ["class", "list", "disabled"]),
|
|
12006
12008
|
u.$slots.footer || u.footerLabel ? (p(), m("div", s8, [
|
|
12007
12009
|
te(u.$slots, "footer", {}, () => [
|
|
12008
|
-
u.isEditable ? (p(), P(
|
|
12010
|
+
u.isEditable ? (p(), P(gt, {
|
|
12009
12011
|
key: 0,
|
|
12010
12012
|
"icon-name": "AddBoxOutlineRounded",
|
|
12011
12013
|
label: u.footerLabel,
|
|
@@ -12118,7 +12120,7 @@ const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { clas
|
|
|
12118
12120
|
c.value = !1, e("update:filters", { ...a.filters, [O]: k });
|
|
12119
12121
|
}, w = M(
|
|
12120
12122
|
() => a.project ? [a.project] : a.projects ?? []
|
|
12121
|
-
),
|
|
12123
|
+
), C = M(() => w.value.map((O) => ({
|
|
12122
12124
|
value: O.id,
|
|
12123
12125
|
label: O.name
|
|
12124
12126
|
}))), b = M(() => {
|
|
@@ -12133,7 +12135,7 @@ const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { clas
|
|
|
12133
12135
|
avatar: O.avatarUrl
|
|
12134
12136
|
}))), _ = (O) => {
|
|
12135
12137
|
a.selectedActivity && e("update:activity", O);
|
|
12136
|
-
},
|
|
12138
|
+
}, g = (O) => {
|
|
12137
12139
|
e("update:activity", O);
|
|
12138
12140
|
}, D = (O) => {
|
|
12139
12141
|
e("archiveActivity", O);
|
|
@@ -12147,7 +12149,7 @@ const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { clas
|
|
|
12147
12149
|
a.selectedActivity && e("addSubtask", O);
|
|
12148
12150
|
}, z = (O) => {
|
|
12149
12151
|
a.selectedActivity && e("updateSubtask", O);
|
|
12150
|
-
},
|
|
12152
|
+
}, Q = (O) => {
|
|
12151
12153
|
a.selectedActivity && e("deleteSubtask", O);
|
|
12152
12154
|
}, ae = (O) => {
|
|
12153
12155
|
e("addFiles", O);
|
|
@@ -12161,7 +12163,7 @@ const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { clas
|
|
|
12161
12163
|
}, ne = (O) => {
|
|
12162
12164
|
const { id: k } = a.selectedActivity || {};
|
|
12163
12165
|
k && e("updateComment", O);
|
|
12164
|
-
},
|
|
12166
|
+
}, X = (O) => {
|
|
12165
12167
|
const { id: k } = a.selectedActivity || {};
|
|
12166
12168
|
k && e("removeComment", O);
|
|
12167
12169
|
};
|
|
@@ -12191,7 +12193,7 @@ const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { clas
|
|
|
12191
12193
|
key: 1,
|
|
12192
12194
|
"model-value": O.filters[J(Lt).project],
|
|
12193
12195
|
mode: "tags",
|
|
12194
|
-
options:
|
|
12196
|
+
options: C.value,
|
|
12195
12197
|
"close-on-select": !1,
|
|
12196
12198
|
searchable: !0,
|
|
12197
12199
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
@@ -12288,7 +12290,7 @@ const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { clas
|
|
|
12288
12290
|
onSelectActivity: i,
|
|
12289
12291
|
onArchiveActivity: D,
|
|
12290
12292
|
onUnarchiveActivity: I,
|
|
12291
|
-
onUpdateActivity:
|
|
12293
|
+
onUpdateActivity: g
|
|
12292
12294
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12293
12295
|
]),
|
|
12294
12296
|
(p(), P(jt, { to: "body" }, [
|
|
@@ -12310,12 +12312,12 @@ const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { clas
|
|
|
12310
12312
|
"onUpdate:activity": _,
|
|
12311
12313
|
onAddSubtask: Z,
|
|
12312
12314
|
onUpdateSubtask: z,
|
|
12313
|
-
onDeleteSubtask:
|
|
12315
|
+
onDeleteSubtask: Q,
|
|
12314
12316
|
onAddFiles: ae,
|
|
12315
12317
|
onRemoveFile: S,
|
|
12316
12318
|
onAddComment: j,
|
|
12317
12319
|
onUpdateComment: ne,
|
|
12318
|
-
onRemoveComment:
|
|
12320
|
+
onRemoveComment: X,
|
|
12319
12321
|
onToast: s
|
|
12320
12322
|
}, {
|
|
12321
12323
|
default: W((V) => [
|
|
@@ -12414,7 +12416,7 @@ const Dt = {
|
|
|
12414
12416
|
e("addTemplate", u);
|
|
12415
12417
|
}, o = (r, l) => {
|
|
12416
12418
|
e("updateItem", {
|
|
12417
|
-
itemType:
|
|
12419
|
+
itemType: ge.TEMPLATES,
|
|
12418
12420
|
id: r,
|
|
12419
12421
|
templateId: r,
|
|
12420
12422
|
data: {
|
|
@@ -12423,9 +12425,9 @@ const Dt = {
|
|
|
12423
12425
|
});
|
|
12424
12426
|
}, i = (r) => {
|
|
12425
12427
|
if (r.moved) {
|
|
12426
|
-
const l =
|
|
12428
|
+
const l = ga(r, a.templates ?? []);
|
|
12427
12429
|
e("updateItem", {
|
|
12428
|
-
itemType:
|
|
12430
|
+
itemType: ge.TEMPLATES,
|
|
12429
12431
|
id: r.moved.element.id,
|
|
12430
12432
|
templateId: r.moved.element.id,
|
|
12431
12433
|
data: {
|
|
@@ -12492,7 +12494,7 @@ const h8 = { class: "ao-field__label" }, m8 = /* @__PURE__ */ Y({
|
|
|
12492
12494
|
te(e.$slots, "default")
|
|
12493
12495
|
], 2));
|
|
12494
12496
|
}
|
|
12495
|
-
}),
|
|
12497
|
+
}), g8 = ["type", "value", "disabled", "readonly"], I8 = /* @__PURE__ */ Y({
|
|
12496
12498
|
__name: "AoInputField",
|
|
12497
12499
|
props: {
|
|
12498
12500
|
label: { default: "" },
|
|
@@ -12519,12 +12521,12 @@ const h8 = { class: "ao-field__label" }, m8 = /* @__PURE__ */ Y({
|
|
|
12519
12521
|
readonly: o.isReadonly
|
|
12520
12522
|
}, {
|
|
12521
12523
|
[Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12522
|
-
}), null, 16,
|
|
12524
|
+
}), null, 16, g8)
|
|
12523
12525
|
]),
|
|
12524
12526
|
_: 1
|
|
12525
12527
|
}, 8, ["label"]));
|
|
12526
12528
|
}
|
|
12527
|
-
}),
|
|
12529
|
+
}), C8 = { class: "ao-field" }, _8 = { class: "ao-field__label" }, y8 = ["checked", "disabled"], L8 = /* @__PURE__ */ Y({
|
|
12528
12530
|
__name: "AoCheckboxField",
|
|
12529
12531
|
props: {
|
|
12530
12532
|
label: { default: "" },
|
|
@@ -12534,7 +12536,7 @@ const h8 = { class: "ao-field__label" }, m8 = /* @__PURE__ */ Y({
|
|
|
12534
12536
|
},
|
|
12535
12537
|
emits: ["update:modelValue"],
|
|
12536
12538
|
setup(t) {
|
|
12537
|
-
return (e, a) => (p(), m("label",
|
|
12539
|
+
return (e, a) => (p(), m("label", C8, [
|
|
12538
12540
|
f("span", _8, x(e.label), 1),
|
|
12539
12541
|
f("input", {
|
|
12540
12542
|
class: "ao-field__input",
|
|
@@ -12571,11 +12573,11 @@ export {
|
|
|
12571
12573
|
E8 as getProjectOverviewRoutes,
|
|
12572
12574
|
O8 as getTemplateRoutes,
|
|
12573
12575
|
T8 as listUpdateTypes,
|
|
12574
|
-
|
|
12576
|
+
Cn as milestoneStatus,
|
|
12575
12577
|
Fe as projectOverviewRoutes,
|
|
12576
12578
|
R2 as ruleComparators,
|
|
12577
12579
|
N2 as ruleDurationUnits,
|
|
12578
12580
|
j2 as ruleTriggerTypes,
|
|
12579
|
-
|
|
12581
|
+
ge as templateItemType,
|
|
12580
12582
|
Dt as templateRouteNames
|
|
12581
12583
|
};
|