@26lights/orcha 0.37.31 → 0.37.33
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 +670 -669
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as
|
|
1
|
+
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const f8 = /* @__PURE__ */ z({
|
|
@@ -119,20 +119,20 @@ const y1 = /* @__PURE__ */ j(h1, [["render", _1]]), b1 = {}, w1 = {
|
|
|
119
119
|
function S1(t, e) {
|
|
120
120
|
return p(), g("svg", w1, k1);
|
|
121
121
|
}
|
|
122
|
-
const A1 = /* @__PURE__ */ j(b1, [["render", S1]]), M1 = {},
|
|
122
|
+
const A1 = /* @__PURE__ */ j(b1, [["render", S1]]), M1 = {}, T1 = {
|
|
123
123
|
width: "24",
|
|
124
124
|
height: "24",
|
|
125
125
|
viewBox: "0 0 24 24",
|
|
126
126
|
fill: "none",
|
|
127
127
|
xmlns: "http://www.w3.org/2000/svg"
|
|
128
|
-
},
|
|
128
|
+
}, O1 = /* @__PURE__ */ v("path", {
|
|
129
129
|
d: "M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",
|
|
130
130
|
fill: "black"
|
|
131
|
-
}, null, -1),
|
|
132
|
-
|
|
131
|
+
}, null, -1), E1 = [
|
|
132
|
+
O1
|
|
133
133
|
];
|
|
134
134
|
function I1(t, e) {
|
|
135
|
-
return p(), g("svg",
|
|
135
|
+
return p(), g("svg", T1, E1);
|
|
136
136
|
}
|
|
137
137
|
const L1 = /* @__PURE__ */ j(M1, [["render", I1]]), H1 = {}, D1 = {
|
|
138
138
|
width: "24",
|
|
@@ -254,22 +254,22 @@ const bo = /* @__PURE__ */ j(mo, [["render", yo]]), wo = {}, $o = {
|
|
|
254
254
|
function Ao(t, e) {
|
|
255
255
|
return p(), g("svg", $o, So);
|
|
256
256
|
}
|
|
257
|
-
const Mo = /* @__PURE__ */ j(wo, [["render", Ao]]),
|
|
257
|
+
const Mo = /* @__PURE__ */ j(wo, [["render", Ao]]), To = {}, Oo = {
|
|
258
258
|
width: "24",
|
|
259
259
|
height: "24",
|
|
260
260
|
viewBox: "0 0 24 24",
|
|
261
261
|
fill: "none",
|
|
262
262
|
xmlns: "http://www.w3.org/2000/svg"
|
|
263
|
-
},
|
|
263
|
+
}, Eo = /* @__PURE__ */ v("path", {
|
|
264
264
|
d: "M3 21V3H21V21H3ZM5 19H19V5H5V19Z",
|
|
265
265
|
fill: "black"
|
|
266
266
|
}, null, -1), Io = [
|
|
267
|
-
|
|
267
|
+
Eo
|
|
268
268
|
];
|
|
269
269
|
function Lo(t, e) {
|
|
270
|
-
return p(), g("svg",
|
|
270
|
+
return p(), g("svg", Oo, Io);
|
|
271
271
|
}
|
|
272
|
-
const Ho = /* @__PURE__ */ j(
|
|
272
|
+
const Ho = /* @__PURE__ */ j(To, [["render", Lo]]), Do = {}, Po = {
|
|
273
273
|
width: "24",
|
|
274
274
|
height: "24",
|
|
275
275
|
viewBox: "0 0 24 24",
|
|
@@ -389,22 +389,22 @@ const br = /* @__PURE__ */ j(mr, [["render", yr]]), wr = {}, $r = {
|
|
|
389
389
|
function Ar(t, e) {
|
|
390
390
|
return p(), g("svg", $r, Sr);
|
|
391
391
|
}
|
|
392
|
-
const Mr = /* @__PURE__ */ j(wr, [["render", Ar]]),
|
|
392
|
+
const Mr = /* @__PURE__ */ j(wr, [["render", Ar]]), Tr = {}, Or = {
|
|
393
393
|
width: "24",
|
|
394
394
|
height: "24",
|
|
395
395
|
viewBox: "0 0 24 24",
|
|
396
396
|
fill: "none",
|
|
397
397
|
xmlns: "http://www.w3.org/2000/svg"
|
|
398
|
-
},
|
|
398
|
+
}, Er = /* @__PURE__ */ v("path", {
|
|
399
399
|
d: "M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",
|
|
400
400
|
fill: "black"
|
|
401
401
|
}, null, -1), Ir = [
|
|
402
|
-
|
|
402
|
+
Er
|
|
403
403
|
];
|
|
404
404
|
function Lr(t, e) {
|
|
405
|
-
return p(), g("svg",
|
|
405
|
+
return p(), g("svg", Or, Ir);
|
|
406
406
|
}
|
|
407
|
-
const Hr = /* @__PURE__ */ j(
|
|
407
|
+
const Hr = /* @__PURE__ */ j(Tr, [["render", Lr]]), Dr = {}, Pr = {
|
|
408
408
|
width: "24",
|
|
409
409
|
height: "24",
|
|
410
410
|
viewBox: "0 0 24 24",
|
|
@@ -524,22 +524,22 @@ const bl = /* @__PURE__ */ j(ml, [["render", yl]]), wl = {}, $l = {
|
|
|
524
524
|
function Al(t, e) {
|
|
525
525
|
return p(), g("svg", $l, Sl);
|
|
526
526
|
}
|
|
527
|
-
const Ml = /* @__PURE__ */ j(wl, [["render", Al]]),
|
|
527
|
+
const Ml = /* @__PURE__ */ j(wl, [["render", Al]]), Tl = {}, Ol = {
|
|
528
528
|
width: "24",
|
|
529
529
|
height: "24",
|
|
530
530
|
viewBox: "0 0 24 24",
|
|
531
531
|
fill: "none",
|
|
532
532
|
xmlns: "http://www.w3.org/2000/svg"
|
|
533
|
-
},
|
|
533
|
+
}, El = /* @__PURE__ */ v("path", {
|
|
534
534
|
d: "M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",
|
|
535
535
|
fill: "black"
|
|
536
536
|
}, null, -1), Il = [
|
|
537
|
-
|
|
537
|
+
El
|
|
538
538
|
];
|
|
539
539
|
function Ll(t, e) {
|
|
540
|
-
return p(), g("svg",
|
|
540
|
+
return p(), g("svg", Ol, Il);
|
|
541
541
|
}
|
|
542
|
-
const Hl = /* @__PURE__ */ j(
|
|
542
|
+
const Hl = /* @__PURE__ */ j(Tl, [["render", Ll]]), Dl = {}, Pl = {
|
|
543
543
|
width: "24",
|
|
544
544
|
height: "24",
|
|
545
545
|
viewBox: "0 0 24 24",
|
|
@@ -617,7 +617,7 @@ function lu(t, e) {
|
|
|
617
617
|
const uu = /* @__PURE__ */ j(su, [["render", lu]]), cu = z({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const Sn = (t) => (
|
|
620
|
+
const Sn = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
@@ -669,10 +669,10 @@ const $u = /* @__PURE__ */ j(gu, [["render", wu]]), ku = {}, Su = {
|
|
|
669
669
|
}, null, -1), Mu = [
|
|
670
670
|
Au
|
|
671
671
|
];
|
|
672
|
-
function
|
|
672
|
+
function Tu(t, e) {
|
|
673
673
|
return p(), g("svg", Su, Mu);
|
|
674
674
|
}
|
|
675
|
-
const
|
|
675
|
+
const Ou = /* @__PURE__ */ j(ku, [["render", Tu]]), Eu = {}, Iu = {
|
|
676
676
|
width: "24",
|
|
677
677
|
height: "24",
|
|
678
678
|
viewBox: "0 0 24 24",
|
|
@@ -687,7 +687,7 @@ const Tu = /* @__PURE__ */ j(ku, [["render", Eu]]), Ou = {}, Iu = {
|
|
|
687
687
|
function Du(t, e) {
|
|
688
688
|
return p(), g("svg", Iu, Hu);
|
|
689
689
|
}
|
|
690
|
-
const Pu = /* @__PURE__ */ j(
|
|
690
|
+
const Pu = /* @__PURE__ */ j(Eu, [["render", Du]]), Vu = {}, Bu = {
|
|
691
691
|
width: "24",
|
|
692
692
|
height: "24",
|
|
693
693
|
viewBox: "0 0 24 24",
|
|
@@ -804,10 +804,10 @@ const $c = /* @__PURE__ */ j(gc, [["render", wc]]), kc = {}, Sc = {
|
|
|
804
804
|
}, null, -1), Mc = [
|
|
805
805
|
Ac
|
|
806
806
|
];
|
|
807
|
-
function
|
|
807
|
+
function Tc(t, e) {
|
|
808
808
|
return p(), g("svg", Sc, Mc);
|
|
809
809
|
}
|
|
810
|
-
const
|
|
810
|
+
const Oc = /* @__PURE__ */ j(kc, [["render", Tc]]), Ec = {}, Ic = {
|
|
811
811
|
width: "24",
|
|
812
812
|
height: "24",
|
|
813
813
|
viewBox: "0 0 24 24",
|
|
@@ -822,7 +822,7 @@ const Tc = /* @__PURE__ */ j(kc, [["render", Ec]]), Oc = {}, Ic = {
|
|
|
822
822
|
function Dc(t, e) {
|
|
823
823
|
return p(), g("svg", Ic, Hc);
|
|
824
824
|
}
|
|
825
|
-
const Pc = /* @__PURE__ */ j(
|
|
825
|
+
const Pc = /* @__PURE__ */ j(Ec, [["render", Dc]]), Vc = {}, Bc = {
|
|
826
826
|
width: "24",
|
|
827
827
|
height: "24",
|
|
828
828
|
viewBox: "0 0 24 24",
|
|
@@ -936,10 +936,10 @@ const $d = /* @__PURE__ */ j(gd, [["render", wd]]), kd = {}, Sd = {
|
|
|
936
936
|
}, null, -1), Md = [
|
|
937
937
|
Ad
|
|
938
938
|
];
|
|
939
|
-
function
|
|
939
|
+
function Td(t, e) {
|
|
940
940
|
return p(), g("svg", Sd, Md);
|
|
941
941
|
}
|
|
942
|
-
const
|
|
942
|
+
const Od = /* @__PURE__ */ j(kd, [["render", Td]]), Ed = {}, Id = {
|
|
943
943
|
width: "24",
|
|
944
944
|
height: "24",
|
|
945
945
|
viewBox: "0 0 24 24",
|
|
@@ -954,7 +954,7 @@ const Td = /* @__PURE__ */ j(kd, [["render", Ed]]), Od = {}, Id = {
|
|
|
954
954
|
function Dd(t, e) {
|
|
955
955
|
return p(), g("svg", Id, Hd);
|
|
956
956
|
}
|
|
957
|
-
const Pd = /* @__PURE__ */ j(
|
|
957
|
+
const Pd = /* @__PURE__ */ j(Ed, [["render", Dd]]), Vd = {}, Bd = {
|
|
958
958
|
width: "24",
|
|
959
959
|
height: "24",
|
|
960
960
|
viewBox: "0 0 24 24",
|
|
@@ -1103,7 +1103,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1103
1103
|
KeyboardArrowUp: uu,
|
|
1104
1104
|
Loading: Cu,
|
|
1105
1105
|
Lock: $u,
|
|
1106
|
-
LogoutRounded:
|
|
1106
|
+
LogoutRounded: Ou,
|
|
1107
1107
|
Menu: Pu,
|
|
1108
1108
|
MoreHoriz: Fu,
|
|
1109
1109
|
MoreTimeRounded: xu,
|
|
@@ -1112,7 +1112,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1112
1112
|
PersonAddOutlineRounded: dc,
|
|
1113
1113
|
PictureAsPdfRounded: Cc,
|
|
1114
1114
|
RadioButtonChecked: $c,
|
|
1115
|
-
RadioButtonCheckedOutline:
|
|
1115
|
+
RadioButtonCheckedOutline: Oc,
|
|
1116
1116
|
RadioButtonUnchecked: Pc,
|
|
1117
1117
|
RemoveRounded: Fc,
|
|
1118
1118
|
SearchRounded: xc,
|
|
@@ -1121,7 +1121,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1121
1121
|
Settings: dd,
|
|
1122
1122
|
SlideshowRounded: Cd,
|
|
1123
1123
|
Target: $d,
|
|
1124
|
-
TaskOutlineRounded:
|
|
1124
|
+
TaskOutlineRounded: Od,
|
|
1125
1125
|
TextSnippetRounded: Pd,
|
|
1126
1126
|
TimerOutline: Fd,
|
|
1127
1127
|
ViewComfyAltRounded: xd,
|
|
@@ -1152,7 +1152,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1152
1152
|
...An,
|
|
1153
1153
|
...A2
|
|
1154
1154
|
});
|
|
1155
|
-
const
|
|
1155
|
+
const Os = {
|
|
1156
1156
|
ROUND: "round",
|
|
1157
1157
|
ROUNDED: "rounded"
|
|
1158
1158
|
}, pe = /* @__PURE__ */ z({
|
|
@@ -1168,7 +1168,7 @@ const Ts = {
|
|
|
1168
1168
|
}, null, 8, ["class"]));
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
1171
|
-
const M2 = ["type"],
|
|
1171
|
+
const M2 = ["type"], T2 = {
|
|
1172
1172
|
key: 0,
|
|
1173
1173
|
class: "ao-button__label"
|
|
1174
1174
|
}, ce = /* @__PURE__ */ z({
|
|
@@ -1183,7 +1183,7 @@ const M2 = ["type"], E2 = {
|
|
|
1183
1183
|
footer: { type: Boolean, default: () => !1 },
|
|
1184
1184
|
size: { default: () => Wa.MD },
|
|
1185
1185
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1186
|
-
corners: { default: () =>
|
|
1186
|
+
corners: { default: () => Os.ROUNDED }
|
|
1187
1187
|
},
|
|
1188
1188
|
setup(t) {
|
|
1189
1189
|
const e = t, a = S(() => e.size), n = S(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -1201,18 +1201,18 @@ const M2 = ["type"], E2 = {
|
|
|
1201
1201
|
])
|
|
1202
1202
|
}, [
|
|
1203
1203
|
te(s.$slots, "default", {}, () => [
|
|
1204
|
-
s.label ? (p(), g("span",
|
|
1204
|
+
s.label ? (p(), g("span", T2, G(s.label), 1)) : T("", !0)
|
|
1205
1205
|
]),
|
|
1206
1206
|
n.value ? (p(), P(pe, {
|
|
1207
1207
|
key: 0,
|
|
1208
1208
|
name: n.value,
|
|
1209
1209
|
class: "ao-button__icon",
|
|
1210
1210
|
size: a.value
|
|
1211
|
-
}, null, 8, ["name", "size"])) :
|
|
1211
|
+
}, null, 8, ["name", "size"])) : T("", !0)
|
|
1212
1212
|
], 10, M2));
|
|
1213
1213
|
}
|
|
1214
1214
|
});
|
|
1215
|
-
function
|
|
1215
|
+
function Es(t) {
|
|
1216
1216
|
const e = ee(!1), a = ee(""), n = S(() => "value" in t.value ? "value" : "innerHTML"), s = () => {
|
|
1217
1217
|
e.value = !e.value;
|
|
1218
1218
|
}, o = (l) => {
|
|
@@ -1253,7 +1253,7 @@ const ye = /* @__PURE__ */ z({
|
|
|
1253
1253
|
},
|
|
1254
1254
|
emits: ["update:title", "toggle-is-editing"],
|
|
1255
1255
|
setup(t, { emit: e }) {
|
|
1256
|
-
const a = t, n = ee(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } =
|
|
1256
|
+
const a = t, n = ee(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = Es(n), l = S(() => a.title.replace(/\s*\(\d+\)$/, "")), c = S(() => s.value ? "input" : a.tag || `h${a.level}`), u = S(() => a.isEditable ? s.value ? {
|
|
1257
1257
|
change: f,
|
|
1258
1258
|
click: (y) => y.stopPropagation(),
|
|
1259
1259
|
blur: h
|
|
@@ -1303,10 +1303,10 @@ const ye = /* @__PURE__ */ z({
|
|
|
1303
1303
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
1304
1304
|
}
|
|
1305
1305
|
});
|
|
1306
|
-
const
|
|
1306
|
+
const O2 = {
|
|
1307
1307
|
key: 0,
|
|
1308
1308
|
class: "ao-card-horiz__drag ao-card__drag"
|
|
1309
|
-
},
|
|
1309
|
+
}, E2 = { class: "ao-card-horiz__header" }, I2 = {
|
|
1310
1310
|
key: 0,
|
|
1311
1311
|
class: "ao-card-horiz__avatar"
|
|
1312
1312
|
}, L2 = { class: "ao-card-horiz__title-group" }, H2 = {
|
|
@@ -1345,20 +1345,20 @@ const T2 = {
|
|
|
1345
1345
|
class: K(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: W(() => [
|
|
1348
|
-
n.isDraggable ? (p(), g("div",
|
|
1348
|
+
n.isDraggable ? (p(), g("div", O2, [
|
|
1349
1349
|
A(pe, {
|
|
1350
1350
|
name: "DragIndicator",
|
|
1351
1351
|
class: "ao-card-horiz__drag-handle"
|
|
1352
1352
|
})
|
|
1353
|
-
])) :
|
|
1354
|
-
v("div",
|
|
1353
|
+
])) : T("", !0),
|
|
1354
|
+
v("div", E2, [
|
|
1355
1355
|
n.icon ? (p(), g("div", I2, [
|
|
1356
1356
|
A(pe, {
|
|
1357
1357
|
class: "ao-card-horiz__icon",
|
|
1358
1358
|
name: n.icon,
|
|
1359
1359
|
size: "xl"
|
|
1360
1360
|
}, null, 8, ["name"])
|
|
1361
|
-
])) :
|
|
1361
|
+
])) : T("", !0),
|
|
1362
1362
|
v("div", L2, [
|
|
1363
1363
|
A(ye, {
|
|
1364
1364
|
id: n.id,
|
|
@@ -1369,22 +1369,22 @@ const T2 = {
|
|
|
1369
1369
|
"onUpdate:title": a
|
|
1370
1370
|
}, null, 8, ["id", "title"]),
|
|
1371
1371
|
te(n.$slots, "subtitle", {}, () => [
|
|
1372
|
-
n.subtitle ? (p(), g("span", H2, G(n.subtitle), 1)) :
|
|
1372
|
+
n.subtitle ? (p(), g("span", H2, G(n.subtitle), 1)) : T("", !0)
|
|
1373
1373
|
])
|
|
1374
1374
|
]),
|
|
1375
1375
|
n.$slots.header ? (p(), g("div", D2, [
|
|
1376
1376
|
te(n.$slots, "header")
|
|
1377
|
-
])) :
|
|
1377
|
+
])) : T("", !0)
|
|
1378
1378
|
]),
|
|
1379
1379
|
n.$slots.default ? (p(), g("div", P2, [
|
|
1380
1380
|
te(n.$slots, "default")
|
|
1381
|
-
])) :
|
|
1381
|
+
])) : T("", !0),
|
|
1382
1382
|
n.$slots.footer ? (p(), g("div", V2, [
|
|
1383
1383
|
te(n.$slots, "footer")
|
|
1384
|
-
])) :
|
|
1384
|
+
])) : T("", !0),
|
|
1385
1385
|
n.$slots.secondary ? (p(), g("div", B2, [
|
|
1386
1386
|
te(n.$slots, "secondary")
|
|
1387
|
-
])) :
|
|
1387
|
+
])) : T("", !0)
|
|
1388
1388
|
]),
|
|
1389
1389
|
_: 3
|
|
1390
1390
|
}, 8, ["class"]));
|
|
@@ -1433,7 +1433,7 @@ const qa = /* @__PURE__ */ z({
|
|
|
1433
1433
|
size: "sm",
|
|
1434
1434
|
class: "ao-tag__close-icon"
|
|
1435
1435
|
})
|
|
1436
|
-
])) :
|
|
1436
|
+
])) : T("", !0)
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
@@ -2506,7 +2506,7 @@ var $0 = {
|
|
|
2506
2506
|
evening: "evening",
|
|
2507
2507
|
night: "night"
|
|
2508
2508
|
}
|
|
2509
|
-
},
|
|
2509
|
+
}, T0 = {
|
|
2510
2510
|
narrow: {
|
|
2511
2511
|
am: "a",
|
|
2512
2512
|
pm: "p",
|
|
@@ -2537,7 +2537,7 @@ var $0 = {
|
|
|
2537
2537
|
evening: "in the evening",
|
|
2538
2538
|
night: "at night"
|
|
2539
2539
|
}
|
|
2540
|
-
},
|
|
2540
|
+
}, O0 = function(e, a) {
|
|
2541
2541
|
var n = Number(e), s = n % 100;
|
|
2542
2542
|
if (s > 20 || s < 10)
|
|
2543
2543
|
switch (s % 10) {
|
|
@@ -2549,8 +2549,8 @@ var $0 = {
|
|
|
2549
2549
|
return n + "rd";
|
|
2550
2550
|
}
|
|
2551
2551
|
return n + "th";
|
|
2552
|
-
},
|
|
2553
|
-
ordinalNumber:
|
|
2552
|
+
}, E0 = {
|
|
2553
|
+
ordinalNumber: O0,
|
|
2554
2554
|
era: Jt({
|
|
2555
2555
|
values: $0,
|
|
2556
2556
|
defaultWidth: "wide"
|
|
@@ -2573,11 +2573,11 @@ var $0 = {
|
|
|
2573
2573
|
dayPeriod: Jt({
|
|
2574
2574
|
values: M0,
|
|
2575
2575
|
defaultWidth: "wide",
|
|
2576
|
-
formattingValues:
|
|
2576
|
+
formattingValues: T0,
|
|
2577
2577
|
defaultFormattingWidth: "wide"
|
|
2578
2578
|
})
|
|
2579
2579
|
};
|
|
2580
|
-
const I0 =
|
|
2580
|
+
const I0 = E0;
|
|
2581
2581
|
function ea(t) {
|
|
2582
2582
|
return function(e) {
|
|
2583
2583
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, s = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], o = e.match(s);
|
|
@@ -2724,43 +2724,43 @@ var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|
|
|
|
2724
2724
|
function Ns(t, e, a) {
|
|
2725
2725
|
var n, s, o, i, r, l, c, u, f, d, h, w, b, y, k, _, C, D;
|
|
2726
2726
|
ge(2, arguments);
|
|
2727
|
-
var I = String(e),
|
|
2727
|
+
var I = String(e), H = va(), F = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Rs, U = Qe((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 : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = H.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2728
2728
|
if (!(U >= 1 && U <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
|
-
var q = Qe((h = (w = (b = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (k = a.locale) === null || k === void 0 || (_ = k.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && b !== void 0 ? b :
|
|
2730
|
+
var q = Qe((h = (w = (b = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (k = a.locale) === null || k === void 0 || (_ = k.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && b !== void 0 ? b : H.weekStartsOn) !== null && w !== void 0 ? w : (C = H.locale) === null || C === void 0 || (D = C.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2731
2731
|
if (!(q >= 0 && q <= 6))
|
|
2732
2732
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2733
2733
|
if (!F.localize)
|
|
2734
2734
|
throw new RangeError("locale must contain localize property");
|
|
2735
2735
|
if (!F.formatLong)
|
|
2736
2736
|
throw new RangeError("locale must contain formatLong property");
|
|
2737
|
-
var
|
|
2738
|
-
if (!Ds(
|
|
2737
|
+
var O = be(t);
|
|
2738
|
+
if (!Ds(O))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var x = ra(
|
|
2740
|
+
var x = ra(O), R = gn(O, x), Z = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
2742
2742
|
weekStartsOn: q,
|
|
2743
2743
|
locale: F,
|
|
2744
|
-
_originalDate:
|
|
2745
|
-
}, ie = I.match(X0).map(function(
|
|
2746
|
-
var N =
|
|
2744
|
+
_originalDate: O
|
|
2745
|
+
}, ie = I.match(X0).map(function(E) {
|
|
2746
|
+
var N = E[0];
|
|
2747
2747
|
if (N === "p" || N === "P") {
|
|
2748
2748
|
var M = r0[N];
|
|
2749
|
-
return M(
|
|
2749
|
+
return M(E, F.formatLong);
|
|
2750
2750
|
}
|
|
2751
|
-
return
|
|
2752
|
-
}).join("").match(G0).map(function(
|
|
2753
|
-
if (
|
|
2751
|
+
return E;
|
|
2752
|
+
}).join("").match(G0).map(function(E) {
|
|
2753
|
+
if (E === "''")
|
|
2754
2754
|
return "'";
|
|
2755
|
-
var N =
|
|
2755
|
+
var N = E[0];
|
|
2756
2756
|
if (N === "'")
|
|
2757
|
-
return t3(
|
|
2757
|
+
return t3(E);
|
|
2758
2758
|
var M = s0[N];
|
|
2759
2759
|
if (M)
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)), M(R, E, F.localize, Z);
|
|
2761
2761
|
if (N.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
|
|
2763
|
-
return
|
|
2763
|
+
return E;
|
|
2764
2764
|
}).join("");
|
|
2765
2765
|
return ie;
|
|
2766
2766
|
}
|
|
@@ -2783,11 +2783,11 @@ function a3(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var C;
|
|
2785
2785
|
_ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
|
|
2786
|
-
var D = gn(h, ra(h)), I = gn(w, ra(w)),
|
|
2786
|
+
var D = gn(h, ra(h)), I = gn(w, ra(w)), H = y.formatRelative(C, D, I, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: k
|
|
2789
2789
|
});
|
|
2790
|
-
return Ns(h,
|
|
2790
|
+
return Ns(h, H, {
|
|
2791
2791
|
locale: y,
|
|
2792
2792
|
weekStartsOn: k
|
|
2793
2793
|
});
|
|
@@ -3149,34 +3149,34 @@ se.POSITIVE_SIGN = 1;
|
|
|
3149
3149
|
Object.defineProperty(ha, "__esModule", { value: !0 });
|
|
3150
3150
|
ha.LexoDecimal = void 0;
|
|
3151
3151
|
const na = Yt, b3 = ma;
|
|
3152
|
-
class
|
|
3152
|
+
class Oe {
|
|
3153
3153
|
constructor(e, a) {
|
|
3154
3154
|
this.mag = e, this.sig = a;
|
|
3155
3155
|
}
|
|
3156
3156
|
static half(e) {
|
|
3157
3157
|
const a = e.getBase() / 2 | 0;
|
|
3158
|
-
return
|
|
3158
|
+
return Oe.make(na.LexoInteger.make(e, 1, [a]), 1);
|
|
3159
3159
|
}
|
|
3160
3160
|
static parse(e, a) {
|
|
3161
3161
|
const n = e.indexOf(a.getRadixPointChar());
|
|
3162
3162
|
if (e.lastIndexOf(a.getRadixPointChar()) !== n)
|
|
3163
3163
|
throw new Error("More than one " + a.getRadixPointChar());
|
|
3164
3164
|
if (n < 0)
|
|
3165
|
-
return
|
|
3165
|
+
return Oe.make(na.LexoInteger.parse(e, a), 0);
|
|
3166
3166
|
const s = e.substring(0, n) + e.substring(n + 1);
|
|
3167
|
-
return
|
|
3167
|
+
return Oe.make(na.LexoInteger.parse(s, a), e.length - 1 - n);
|
|
3168
3168
|
}
|
|
3169
3169
|
static from(e) {
|
|
3170
|
-
return
|
|
3170
|
+
return Oe.make(e, 0);
|
|
3171
3171
|
}
|
|
3172
3172
|
static make(e, a) {
|
|
3173
3173
|
if (e.isZero())
|
|
3174
|
-
return new
|
|
3174
|
+
return new Oe(e, 0);
|
|
3175
3175
|
let n = 0;
|
|
3176
3176
|
for (let i = 0; i < a && e.getMag(i) === 0; ++i)
|
|
3177
3177
|
++n;
|
|
3178
3178
|
const s = e.shiftRight(n), o = a - n;
|
|
3179
|
-
return new
|
|
3179
|
+
return new Oe(s, o);
|
|
3180
3180
|
}
|
|
3181
3181
|
getSystem() {
|
|
3182
3182
|
return this.mag.getSystem();
|
|
@@ -3187,7 +3187,7 @@ class Te {
|
|
|
3187
3187
|
a = a.shiftLeft();
|
|
3188
3188
|
for (; n > o; )
|
|
3189
3189
|
s = s.shiftLeft(), ++o;
|
|
3190
|
-
return
|
|
3190
|
+
return Oe.make(a.add(s), n);
|
|
3191
3191
|
}
|
|
3192
3192
|
subtract(e) {
|
|
3193
3193
|
let a = this.mag, n = this.sig, s = e.mag, o;
|
|
@@ -3195,10 +3195,10 @@ class Te {
|
|
|
3195
3195
|
a = a.shiftLeft();
|
|
3196
3196
|
for (; n > o; )
|
|
3197
3197
|
s = s.shiftLeft(), ++o;
|
|
3198
|
-
return
|
|
3198
|
+
return Oe.make(a.subtract(s), n);
|
|
3199
3199
|
}
|
|
3200
3200
|
multiply(e) {
|
|
3201
|
-
return
|
|
3201
|
+
return Oe.make(this.mag.multiply(e.mag), this.sig + e.sig);
|
|
3202
3202
|
}
|
|
3203
3203
|
floor() {
|
|
3204
3204
|
return this.mag.shiftRight(this.sig);
|
|
@@ -3226,7 +3226,7 @@ class Te {
|
|
|
3226
3226
|
e < 0 && (e = 0);
|
|
3227
3227
|
const n = this.sig - e;
|
|
3228
3228
|
let s = this.mag.shiftRight(n);
|
|
3229
|
-
return a && (s = s.add(na.LexoInteger.one(s.getSystem()))),
|
|
3229
|
+
return a && (s = s.add(na.LexoInteger.one(s.getSystem()))), Oe.make(s, e);
|
|
3230
3230
|
}
|
|
3231
3231
|
compareTo(e) {
|
|
3232
3232
|
if (this === e)
|
|
@@ -3252,12 +3252,12 @@ class Te {
|
|
|
3252
3252
|
return this.format();
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
|
-
ha.LexoDecimal =
|
|
3256
|
-
var
|
|
3255
|
+
ha.LexoDecimal = Oe;
|
|
3256
|
+
var Ta = {}, ps;
|
|
3257
3257
|
function Us() {
|
|
3258
3258
|
if (ps)
|
|
3259
|
-
return
|
|
3260
|
-
ps = 1, Object.defineProperty(
|
|
3259
|
+
return Ta;
|
|
3260
|
+
ps = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
|
|
3261
3261
|
const t = Yt, e = Ws();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
@@ -3309,7 +3309,7 @@ function Us() {
|
|
|
3309
3309
|
return this === s ? !0 : s ? this.value.equals(s.value) : !1;
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
|
-
return
|
|
3312
|
+
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
3314
|
var Mn = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
@@ -3671,28 +3671,28 @@ function jt(t, e) {
|
|
|
3671
3671
|
return Ie.LexoRank.parse(n.rank).between(Ie.LexoRank.parse(a.rank)).format();
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
function
|
|
3674
|
+
function Tn(t, e = "dd/MM/yyyy") {
|
|
3675
3675
|
if (!t)
|
|
3676
3676
|
return "";
|
|
3677
3677
|
const a = la(t);
|
|
3678
3678
|
return Ds(a) ? Ns(a, e) : "";
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3680
|
+
function On(t, e) {
|
|
3681
3681
|
return t.status.id === e.id;
|
|
3682
3682
|
}
|
|
3683
|
-
function E3(t, e) {
|
|
3684
|
-
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !Tn(a, e));
|
|
3685
|
-
}
|
|
3686
3683
|
function T3(t, e) {
|
|
3684
|
+
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !On(a, e));
|
|
3685
|
+
}
|
|
3686
|
+
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status:
|
|
3689
|
+
status: T3(t, e) ? Cn.done : Cn.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const zs = (t) => {
|
|
3693
3693
|
const { firstName: e, lastName: a } = t || {};
|
|
3694
3694
|
return `${e ?? ""}${e ? " " : ""}${a ?? ""}`;
|
|
3695
|
-
},
|
|
3695
|
+
}, E3 = ["title"], I3 = {
|
|
3696
3696
|
key: 0,
|
|
3697
3697
|
className: "ao-avatar__initials"
|
|
3698
3698
|
}, L3 = ["src"], Je = /* @__PURE__ */ z({
|
|
@@ -3717,12 +3717,12 @@ const zs = (t) => {
|
|
|
3717
3717
|
class: K(n.value),
|
|
3718
3718
|
title: i.userName
|
|
3719
3719
|
}, [
|
|
3720
|
-
i.avatarUrl ?
|
|
3720
|
+
i.avatarUrl ? T("", !0) : (p(), g("span", I3, G(Q(s)), 1)),
|
|
3721
3721
|
i.avatarUrl ? (p(), g("img", {
|
|
3722
3722
|
key: 1,
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
3724
3724
|
src: i.avatarUrl
|
|
3725
|
-
}, null, 8, L3)) :
|
|
3725
|
+
}, null, 8, L3)) : T("", !0),
|
|
3726
3726
|
i.isClosable ? (p(), P(ce, {
|
|
3727
3727
|
key: 2,
|
|
3728
3728
|
"icon-name": "CloseRounded",
|
|
@@ -3730,8 +3730,8 @@ const zs = (t) => {
|
|
|
3730
3730
|
color: i.color,
|
|
3731
3731
|
corners: "round",
|
|
3732
3732
|
onClick: fe(o, ["stop"])
|
|
3733
|
-
}, null, 8, ["color", "onClick"])) :
|
|
3734
|
-
], 10,
|
|
3733
|
+
}, null, 8, ["color", "onClick"])) : T("", !0)
|
|
3734
|
+
], 10, E3));
|
|
3735
3735
|
}
|
|
3736
3736
|
});
|
|
3737
3737
|
const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-template__subitem" }, P3 = { class: "ao-card-template__subitem-number" }, V3 = { class: "ao-card-template__subitem" }, B3 = { class: "ao-card-template__subitem" }, R3 = { class: "ao-card-template__body" }, N3 = { class: "ao-card-template__col ao-card-template__col--phases" }, j3 = { class: "ao-card-template__col-title" }, F3 = { class: "ao-card-template__col-label" }, U3 = {
|
|
@@ -3800,7 +3800,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3800
3800
|
color: "primary",
|
|
3801
3801
|
variant: "solid"
|
|
3802
3802
|
}, null, 8, ["label"]))), 128))
|
|
3803
|
-
])) :
|
|
3803
|
+
])) : T("", !0)
|
|
3804
3804
|
])
|
|
3805
3805
|
])
|
|
3806
3806
|
]),
|
|
@@ -3817,7 +3817,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3817
3817
|
v("div", x3, [
|
|
3818
3818
|
v("span", null, G(n.updatedAt), 1)
|
|
3819
3819
|
])
|
|
3820
|
-
])) :
|
|
3820
|
+
])) : T("", !0),
|
|
3821
3821
|
n.updatedBy ? (p(), g("div", Y3, [
|
|
3822
3822
|
v("div", K3, [
|
|
3823
3823
|
v("span", G3, G(n.$t("template.updatedBy.label")), 1)
|
|
@@ -3825,7 +3825,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3825
3825
|
v("div", X3, [
|
|
3826
3826
|
A(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
3827
3827
|
])
|
|
3828
|
-
])) :
|
|
3828
|
+
])) : T("", !0)
|
|
3829
3829
|
])
|
|
3830
3830
|
]),
|
|
3831
3831
|
key: "0"
|
|
@@ -3850,12 +3850,12 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
|
|
|
3850
3850
|
"icon-name": "ArrowBackRounded",
|
|
3851
3851
|
variant: "ghost",
|
|
3852
3852
|
onClick: a[0] || (a[0] = (n) => e.$emit("goBack"))
|
|
3853
|
-
})) :
|
|
3853
|
+
})) : T("", !0),
|
|
3854
3854
|
te(e.$slots, "primary")
|
|
3855
3855
|
]),
|
|
3856
3856
|
e.$slots.secondary ? (p(), g("div", t5, [
|
|
3857
3857
|
te(e.$slots, "secondary")
|
|
3858
|
-
])) :
|
|
3858
|
+
])) : T("", !0)
|
|
3859
3859
|
]));
|
|
3860
3860
|
}
|
|
3861
3861
|
});
|
|
@@ -3872,7 +3872,7 @@ const a5 = ["type"], n5 = {
|
|
|
3872
3872
|
color: { default: () => An.BLACK },
|
|
3873
3873
|
size: { default: () => Wa.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
|
-
corners: { default: () =>
|
|
3875
|
+
corners: { default: () => Os.ROUNDED }
|
|
3876
3876
|
},
|
|
3877
3877
|
setup(t) {
|
|
3878
3878
|
const e = t, a = S(() => e.size), n = S(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3886,21 +3886,21 @@ const a5 = ["type"], n5 = {
|
|
|
3886
3886
|
])
|
|
3887
3887
|
}, [
|
|
3888
3888
|
te(s.$slots, "default", {}, () => [
|
|
3889
|
-
s.label ? (p(), g("span", n5, G(s.label), 1)) :
|
|
3889
|
+
s.label ? (p(), g("span", n5, G(s.label), 1)) : T("", !0)
|
|
3890
3890
|
]),
|
|
3891
3891
|
n.value ? (p(), P(pe, {
|
|
3892
3892
|
key: 0,
|
|
3893
3893
|
name: n.value,
|
|
3894
3894
|
class: "ao-button-card__icon",
|
|
3895
3895
|
size: a.value
|
|
3896
|
-
}, null, 8, ["name", "size"])) :
|
|
3896
|
+
}, null, 8, ["name", "size"])) : T("", !0)
|
|
3897
3897
|
], 10, a5));
|
|
3898
3898
|
}
|
|
3899
3899
|
});
|
|
3900
3900
|
const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" },
|
|
3903
|
+
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" }, En = /* @__PURE__ */ z({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3930,7 +3930,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3930
3930
|
size: "sm"
|
|
3931
3931
|
}, null, 8, ["name"]),
|
|
3932
3932
|
v("span", o5, G(i.$props[l]), 1)
|
|
3933
|
-
])) :
|
|
3933
|
+
])) : T("", !0)
|
|
3934
3934
|
], 64))), 64))
|
|
3935
3935
|
])
|
|
3936
3936
|
]),
|
|
@@ -3961,7 +3961,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
3961
3961
|
var s;
|
|
3962
3962
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3963
3963
|
}), n = S(() => e.milestones ? qs(e.milestones) : 0);
|
|
3964
|
-
return (s, o) => (p(), P(
|
|
3964
|
+
return (s, o) => (p(), P(En, He({
|
|
3965
3965
|
id: s.id,
|
|
3966
3966
|
title: s.name,
|
|
3967
3967
|
activities: n.value,
|
|
@@ -3983,7 +3983,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
3983
3983
|
var n;
|
|
3984
3984
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3985
3985
|
});
|
|
3986
|
-
return (n, s) => (p(), P(
|
|
3986
|
+
return (n, s) => (p(), P(En, { activities: a.value }, {
|
|
3987
3987
|
default: W(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
@@ -4057,7 +4057,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4057
4057
|
])
|
|
4058
4058
|
]),
|
|
4059
4059
|
_: 1
|
|
4060
|
-
}, 8, ["model-value", "title"])) :
|
|
4060
|
+
}, 8, ["model-value", "title"])) : T("", !0);
|
|
4061
4061
|
}
|
|
4062
4062
|
}), p5 = /* @__PURE__ */ z({
|
|
4063
4063
|
__name: "AoCardTemplateItemActivity",
|
|
@@ -4070,7 +4070,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4070
4070
|
var n;
|
|
4071
4071
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4072
4072
|
});
|
|
4073
|
-
return (n, s) => (p(), P(
|
|
4073
|
+
return (n, s) => (p(), P(En, { tasks: a.value }, {
|
|
4074
4074
|
default: W(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
@@ -4143,7 +4143,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4143
4143
|
])
|
|
4144
4144
|
]),
|
|
4145
4145
|
_: 1
|
|
4146
|
-
}, 8, ["model-value", "title"])) :
|
|
4146
|
+
}, 8, ["model-value", "title"])) : T("", !0);
|
|
4147
4147
|
}
|
|
4148
4148
|
}), h5 = { class: "ao-modal" }, m5 = {
|
|
4149
4149
|
key: 0,
|
|
@@ -4178,18 +4178,18 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4178
4178
|
v("header", g5, [
|
|
4179
4179
|
te(e.$slots, "header")
|
|
4180
4180
|
])
|
|
4181
|
-
])) :
|
|
4181
|
+
])) : T("", !0),
|
|
4182
4182
|
v("div", _5, [
|
|
4183
4183
|
te(e.$slots, "default")
|
|
4184
4184
|
]),
|
|
4185
4185
|
e.$slots.footer ? (p(), g("footer", y5, [
|
|
4186
4186
|
te(e.$slots, "footer")
|
|
4187
|
-
])) :
|
|
4187
|
+
])) : T("", !0)
|
|
4188
4188
|
])
|
|
4189
4189
|
], 2));
|
|
4190
4190
|
}
|
|
4191
4191
|
});
|
|
4192
|
-
const ua = Math.min,
|
|
4192
|
+
const ua = Math.min, Ee = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) => ({
|
|
4193
4193
|
x: t,
|
|
4194
4194
|
y: t
|
|
4195
4195
|
}), b5 = {
|
|
@@ -4256,7 +4256,7 @@ function M5(t, e, a, n) {
|
|
|
4256
4256
|
function Ba(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => b5[e]);
|
|
4258
4258
|
}
|
|
4259
|
-
function
|
|
4259
|
+
function T5(t) {
|
|
4260
4260
|
return {
|
|
4261
4261
|
top: 0,
|
|
4262
4262
|
right: 0,
|
|
@@ -4265,8 +4265,8 @@ function E5(t) {
|
|
|
4265
4265
|
...t
|
|
4266
4266
|
};
|
|
4267
4267
|
}
|
|
4268
|
-
function
|
|
4269
|
-
return typeof t != "number" ?
|
|
4268
|
+
function O5(t) {
|
|
4269
|
+
return typeof t != "number" ? T5(t) : {
|
|
4270
4270
|
top: t,
|
|
4271
4271
|
right: t,
|
|
4272
4272
|
bottom: t,
|
|
@@ -4330,7 +4330,7 @@ function vs(t, e, a) {
|
|
|
4330
4330
|
}
|
|
4331
4331
|
return h;
|
|
4332
4332
|
}
|
|
4333
|
-
const
|
|
4333
|
+
const E5 = async (t, e, a) => {
|
|
4334
4334
|
const {
|
|
4335
4335
|
placement: n = "bottom",
|
|
4336
4336
|
strategy: s = "absolute",
|
|
@@ -4410,7 +4410,7 @@ async function Ks(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: h = 0
|
|
4413
|
-
} = Ln(e, t), w =
|
|
4413
|
+
} = Ln(e, t), w = O5(h), y = r[d ? f === "floating" ? "reference" : "floating" : f], k = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(y))) == null || a ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4463,17 +4463,17 @@ const I5 = function(t) {
|
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const k = Ft(s), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [Ba(r)] : S5(r));
|
|
4465
4465
|
!d && w !== "none" && D.push(...M5(r, b, w, C));
|
|
4466
|
-
const I = [r, ...D],
|
|
4466
|
+
const I = [r, ...D], H = await Ks(e, y), F = [];
|
|
4467
4467
|
let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4468
|
-
if (u && F.push(
|
|
4468
|
+
if (u && F.push(H[k]), f) {
|
|
4469
4469
|
const R = k5(s, i, C);
|
|
4470
|
-
F.push(
|
|
4470
|
+
F.push(H[R[0]], H[R[1]]);
|
|
4471
4471
|
}
|
|
4472
4472
|
if (U = [...U, {
|
|
4473
4473
|
placement: s,
|
|
4474
4474
|
overflows: F
|
|
4475
4475
|
}], !F.every((R) => R <= 0)) {
|
|
4476
|
-
var q,
|
|
4476
|
+
var q, O;
|
|
4477
4477
|
const R = (((q = o.flip) == null ? void 0 : q.index) || 0) + 1, Z = I[R];
|
|
4478
4478
|
if (Z)
|
|
4479
4479
|
return {
|
|
@@ -4485,13 +4485,13 @@ const I5 = function(t) {
|
|
|
4485
4485
|
placement: Z
|
|
4486
4486
|
}
|
|
4487
4487
|
};
|
|
4488
|
-
let ie = (
|
|
4488
|
+
let ie = (O = U.filter((E) => E.overflows[0] <= 0).sort((E, N) => E.overflows[1] - N.overflows[1])[0]) == null ? void 0 : O.placement;
|
|
4489
4489
|
if (!ie)
|
|
4490
4490
|
switch (h) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var x;
|
|
4493
|
-
const
|
|
4494
|
-
|
|
4493
|
+
const E = (x = U.map((N) => [N.placement, N.overflows.filter((M) => M > 0).reduce((M, m) => M + m, 0)]).sort((N, M) => N[1] - M[1])[0]) == null ? void 0 : x[0];
|
|
4494
|
+
E && (ie = E);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
4497
4497
|
case "initialPlacement":
|
|
@@ -4531,15 +4531,15 @@ const I5 = function(t) {
|
|
|
4531
4531
|
const y = h - l[w], k = d - l[b], _ = !e.middlewareData.shift;
|
|
4532
4532
|
let C = y, D = k;
|
|
4533
4533
|
if (f) {
|
|
4534
|
-
const
|
|
4535
|
-
D = u || _ ? ua(k,
|
|
4534
|
+
const H = d - l.left - l.right;
|
|
4535
|
+
D = u || _ ? ua(k, H) : H;
|
|
4536
4536
|
} else {
|
|
4537
|
-
const
|
|
4538
|
-
C = u || _ ? ua(y,
|
|
4537
|
+
const H = h - l.top - l.bottom;
|
|
4538
|
+
C = u || _ ? ua(y, H) : H;
|
|
4539
4539
|
}
|
|
4540
4540
|
if (_ && !u) {
|
|
4541
|
-
const
|
|
4542
|
-
f ? D = d - 2 * (
|
|
4541
|
+
const H = Ee(l.left, 0), F = Ee(l.right, 0), U = Ee(l.top, 0), q = Ee(l.bottom, 0);
|
|
4542
|
+
f ? D = d - 2 * (H !== 0 || F !== 0 ? H + F : Ee(l.left, l.right)) : C = h - 2 * (U !== 0 || q !== 0 ? U + q : Ee(l.top, l.bottom));
|
|
4543
4543
|
}
|
|
4544
4544
|
await i({
|
|
4545
4545
|
...e,
|
|
@@ -4736,10 +4736,10 @@ function ei(t) {
|
|
|
4736
4736
|
return St(at(t)).left + Ja(t).scrollLeft;
|
|
4737
4737
|
}
|
|
4738
4738
|
function N5(t) {
|
|
4739
|
-
const e = at(t), a = Ja(t), n = t.ownerDocument.body, s =
|
|
4739
|
+
const e = at(t), a = Ja(t), n = t.ownerDocument.body, s = Ee(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ee(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4740
4740
|
let i = -a.scrollLeft + ei(t);
|
|
4741
4741
|
const r = -a.scrollTop;
|
|
4742
|
-
return Ve(n).direction === "rtl" && (i +=
|
|
4742
|
+
return Ve(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
|
|
4743
4743
|
width: s,
|
|
4744
4744
|
height: o,
|
|
4745
4745
|
x: i,
|
|
@@ -4814,7 +4814,7 @@ function Z5(t) {
|
|
|
4814
4814
|
} = t;
|
|
4815
4815
|
const i = [...a === "clippingAncestors" ? U5(e, this._c) : [].concat(a), n], r = i[0], l = i.reduce((c, u) => {
|
|
4816
4816
|
const f = ms(e, u, s);
|
|
4817
|
-
return c.top =
|
|
4817
|
+
return c.top = Ee(f.top, c.top), c.right = ua(f.right, c.right), c.bottom = ua(f.bottom, c.bottom), c.left = Ee(f.left, c.left), c;
|
|
4818
4818
|
}, ms(e, r, s));
|
|
4819
4819
|
return {
|
|
4820
4820
|
width: l.right - l.left,
|
|
@@ -4905,17 +4905,17 @@ function K5(t, e) {
|
|
|
4905
4905
|
} = t.getBoundingClientRect();
|
|
4906
4906
|
if (r || e(), !f || !d)
|
|
4907
4907
|
return;
|
|
4908
|
-
const h =
|
|
4908
|
+
const h = Oa(u), w = Oa(s.clientWidth - (c + f)), b = Oa(s.clientHeight - (u + d)), y = Oa(c), _ = {
|
|
4909
4909
|
rootMargin: -h + "px " + -w + "px " + -b + "px " + -y + "px",
|
|
4910
|
-
threshold:
|
|
4910
|
+
threshold: Ee(0, ua(1, l)) || 1
|
|
4911
4911
|
};
|
|
4912
4912
|
let C = !0;
|
|
4913
4913
|
function D(I) {
|
|
4914
|
-
const
|
|
4915
|
-
if (
|
|
4914
|
+
const H = I[0].intersectionRatio;
|
|
4915
|
+
if (H !== l) {
|
|
4916
4916
|
if (!C)
|
|
4917
4917
|
return i();
|
|
4918
|
-
|
|
4918
|
+
H ? i(!1, H) : n = setTimeout(() => {
|
|
4919
4919
|
i(!1, 1e-7);
|
|
4920
4920
|
}, 100);
|
|
4921
4921
|
}
|
|
@@ -4976,7 +4976,7 @@ const X5 = (t, e, a) => {
|
|
|
4976
4976
|
...s.platform,
|
|
4977
4977
|
_c: n
|
|
4978
4978
|
};
|
|
4979
|
-
return
|
|
4979
|
+
return E5(t, e, {
|
|
4980
4980
|
...s,
|
|
4981
4981
|
platform: o
|
|
4982
4982
|
});
|
|
@@ -5040,7 +5040,7 @@ const X5 = (t, e, a) => {
|
|
|
5040
5040
|
}
|
|
5041
5041
|
xt(() => {
|
|
5042
5042
|
c();
|
|
5043
|
-
}),
|
|
5043
|
+
}), Ts(() => {
|
|
5044
5044
|
r.value();
|
|
5045
5045
|
}), kn(() => {
|
|
5046
5046
|
r.value();
|
|
@@ -5143,25 +5143,25 @@ function i7(t, e, a) {
|
|
|
5143
5143
|
filterResults: C,
|
|
5144
5144
|
clearOnSearch: D,
|
|
5145
5145
|
clearOnSelect: I,
|
|
5146
|
-
valueProp:
|
|
5146
|
+
valueProp: H,
|
|
5147
5147
|
allowAbsent: F,
|
|
5148
5148
|
groupLabel: U,
|
|
5149
5149
|
canDeselect: q,
|
|
5150
|
-
max:
|
|
5150
|
+
max: O,
|
|
5151
5151
|
strict: x,
|
|
5152
5152
|
closeOnSelect: R,
|
|
5153
5153
|
closeOnDeselect: Z,
|
|
5154
5154
|
groups: ie,
|
|
5155
|
-
reverse:
|
|
5155
|
+
reverse: E,
|
|
5156
5156
|
infinite: N,
|
|
5157
5157
|
groupOptions: M,
|
|
5158
5158
|
groupHideEmpty: m,
|
|
5159
|
-
groupSelect:
|
|
5159
|
+
groupSelect: L,
|
|
5160
5160
|
onCreate: J,
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0),
|
|
5164
|
+
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
@@ -5176,8 +5176,8 @@ function i7(t, e, a) {
|
|
|
5176
5176
|
return it.value.length && ($ = $.concat(it.value)), $;
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Qt = S(() => {
|
|
5179
|
-
let $ =
|
|
5180
|
-
return
|
|
5179
|
+
let $ = Te.value;
|
|
5180
|
+
return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cn($);
|
|
5181
5181
|
}), ot = S(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
5183
|
return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
|
|
@@ -5193,9 +5193,9 @@ function i7(t, e, a) {
|
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
5194
|
}), wa = S(() => {
|
|
5195
5195
|
let $ = [..._t.value].map((B) => ({ ...B }));
|
|
5196
|
-
return
|
|
5196
|
+
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][M.value] = [...Ot.value, ...$[0][M.value]] : $ = [{
|
|
5197
5197
|
[U.value]: " ",
|
|
5198
|
-
[M.value]: [...
|
|
5198
|
+
[M.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
5201
|
}), sn = S(() => {
|
|
@@ -5216,13 +5216,13 @@ function i7(t, e, a) {
|
|
|
5216
5216
|
}), on = S(() => {
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
|
-
return !je(Y.value[
|
|
5219
|
+
return !je(Y.value[H.value]);
|
|
5220
5220
|
case "multiple":
|
|
5221
5221
|
case "tags":
|
|
5222
5222
|
return !je(Y.value) && Y.value.length > 0;
|
|
5223
5223
|
}
|
|
5224
|
-
}), pi = S(() => h !== void 0 && h.value !== void 0 ? h.value(Y.value, re) : Y.value && Y.value.length > 1 ? `${Y.value.length} options selected` : "1 option selected"), fi = S(() => !
|
|
5225
|
-
[
|
|
5224
|
+
}), pi = S(() => h !== void 0 && h.value !== void 0 ? h.value(Y.value, re) : Y.value && Y.value.length > 1 ? `${Y.value.length} options selected` : "1 option selected"), fi = S(() => !Te.value.length && !Me.value && !Ot.value.length), vi = S(() => Te.value.length > 0 && ot.value.length == 0 && (X.value && ie.value || !ie.value)), Ot = S(() => Xt.value === !1 || !X.value ? [] : $i(X.value) !== -1 ? [] : [{
|
|
5225
|
+
[H.value]: X.value,
|
|
5226
5226
|
[yt.value[0]]: X.value,
|
|
5227
5227
|
[u.value]: X.value,
|
|
5228
5228
|
__CREATE__: !0
|
|
@@ -5234,7 +5234,7 @@ function i7(t, e, a) {
|
|
|
5234
5234
|
case "tags":
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
|
-
}), mi = S(() => b.value || Me.value),
|
|
5237
|
+
}), mi = S(() => b.value || Me.value), Et = ($) => {
|
|
5238
5238
|
switch (typeof $ != "object" && ($ = xe($)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
we($);
|
|
@@ -5252,11 +5252,11 @@ function i7(t, e, a) {
|
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
5254
|
case "multiple":
|
|
5255
|
-
we(Array.isArray($) ? Y.value.filter((B) => $.map((oe) => oe[
|
|
5255
|
+
we(Array.isArray($) ? Y.value.filter((B) => $.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1) : Y.value.filter((B) => B[H.value] != $[H.value]));
|
|
5256
5256
|
break;
|
|
5257
5257
|
}
|
|
5258
5258
|
e.emit("deselect", es($), $, re);
|
|
5259
|
-
}, es = ($) => w.value ? $ : $[
|
|
5259
|
+
}, es = ($) => w.value ? $ : $[H.value], ts = ($) => {
|
|
5260
5260
|
It($);
|
|
5261
5261
|
}, Ci = ($, B) => {
|
|
5262
5262
|
if (B.button !== 0) {
|
|
@@ -5271,12 +5271,12 @@ function i7(t, e, a) {
|
|
|
5271
5271
|
return s.value === "single" ? !1 : wi($[M.value]) && $[M.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
5273
5273
|
case "single":
|
|
5274
|
-
return !je(Y.value) && Y.value[
|
|
5274
|
+
return !je(Y.value) && Y.value[H.value] == $[H.value];
|
|
5275
5275
|
case "tags":
|
|
5276
5276
|
case "multiple":
|
|
5277
|
-
return !je(Y.value) && Y.value.map((B) => B[
|
|
5277
|
+
return !je(Y.value) && Y.value.map((B) => B[H.value]).indexOf($[H.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
}, rn = ($) => $[ae.value] === !0, ln = () =>
|
|
5279
|
+
}, rn = ($) => $[ae.value] === !0, ln = () => O === void 0 || O.value === -1 || !on.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
|
|
5280
5280
|
if (!rn($)) {
|
|
5281
5281
|
if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
5282
|
Me.value = !0, $.then((B) => {
|
|
@@ -5293,7 +5293,7 @@ function i7(t, e, a) {
|
|
|
5293
5293
|
q.value && It($), Z.value && (nt(), st());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
|
-
$ && un($), I.value && he(), R.value && (nt(), st()), $ &&
|
|
5296
|
+
$ && un($), I.value && he(), R.value && (nt(), st()), $ && Et($);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
5299
|
if ($ && ze($)) {
|
|
@@ -5304,7 +5304,7 @@ function i7(t, e, a) {
|
|
|
5304
5304
|
e.emit("max", re);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
$ && (un($),
|
|
5307
|
+
$ && (un($), Et($)), I.value && he(), r.value && nt(), R.value && st();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
5310
|
if ($ && ze($)) {
|
|
@@ -5315,27 +5315,27 @@ function i7(t, e, a) {
|
|
|
5315
5315
|
e.emit("max", re);
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
$ && un($), I.value && he(), $ &&
|
|
5318
|
+
$ && un($), I.value && he(), $ && Et($), r.value && nt(), R.value && st();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
R.value || _a();
|
|
5322
5322
|
}, _i = ($) => {
|
|
5323
|
-
if (!(rn($) || s.value === "single" || !
|
|
5323
|
+
if (!(rn($) || s.value === "single" || !L.value)) {
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
|
-
bi($[M.value]) ? It($[M.value]) :
|
|
5328
|
-
$[M.value].filter((B) => Y.value.map((oe) => oe[
|
|
5327
|
+
bi($[M.value]) ? It($[M.value]) : Et(
|
|
5328
|
+
$[M.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
|
|
5329
5329
|
), r.value && Kt.value && Gt(sn.value.filter((B) => !B[ae.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
5332
5332
|
R.value && nn();
|
|
5333
5333
|
}
|
|
5334
5334
|
}, un = ($) => {
|
|
5335
|
-
xe($[
|
|
5335
|
+
xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
|
|
5336
5336
|
}, yi = () => {
|
|
5337
|
-
s.value !== "single" &&
|
|
5338
|
-
}, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) =>
|
|
5337
|
+
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
|
|
5338
|
+
}, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Ai = ($) => m.value ? $.filter(
|
|
5341
5341
|
(B) => X.value ? B.__VISIBLE__.length : B[M.value].length
|
|
@@ -5343,8 +5343,8 @@ function i7(t, e, a) {
|
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && C.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
|
-
me || (me = (bt, is, u8) => yt.value.some((
|
|
5347
|
-
let os = hn(ya(bt[
|
|
5346
|
+
me || (me = (bt, is, u8) => yt.value.some((Ti) => {
|
|
5347
|
+
let os = hn(ya(bt[Ti]), x.value);
|
|
5348
5348
|
return le.value ? os.startsWith(hn(is, x.value)) : os.indexOf(hn(is, x.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
5350
5350
|
}
|
|
@@ -5353,8 +5353,8 @@ function i7(t, e, a) {
|
|
|
5353
5353
|
let B = $;
|
|
5354
5354
|
return n7(B) && (B = Object.keys(B).map((oe) => {
|
|
5355
5355
|
let me = B[oe];
|
|
5356
|
-
return { [
|
|
5357
|
-
})), B = B.map((oe) => typeof oe == "object" ? oe : { [
|
|
5356
|
+
return { [H.value]: oe, [yt.value[0]]: me, [u.value]: me };
|
|
5357
|
+
})), B = B.map((oe) => typeof oe == "object" ? oe : { [H.value]: oe, [yt.value[0]]: oe, [u.value]: oe }), B;
|
|
5358
5358
|
}, $a = () => {
|
|
5359
5359
|
je(V.value) || (Y.value = Sa(V.value));
|
|
5360
5360
|
}, ka = ($) => (Me.value = !0, new Promise((B, oe) => {
|
|
@@ -5368,14 +5368,14 @@ function i7(t, e, a) {
|
|
|
5368
5368
|
})), pn = () => {
|
|
5369
5369
|
if (on.value)
|
|
5370
5370
|
if (s.value === "single") {
|
|
5371
|
-
let $ = xe(Y.value[
|
|
5371
|
+
let $ = xe(Y.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
5373
5373
|
let B = $[u.value];
|
|
5374
5374
|
Y.value[u.value] = B, w.value && (V.value[u.value] = B);
|
|
5375
5375
|
}
|
|
5376
5376
|
} else
|
|
5377
5377
|
Y.value.forEach(($, B) => {
|
|
5378
|
-
let oe = xe(Y.value[B][
|
|
5378
|
+
let oe = xe(Y.value[B][H.value]);
|
|
5379
5379
|
if (oe !== void 0) {
|
|
5380
5380
|
let me = oe[u.value];
|
|
5381
5381
|
Y.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
|
|
@@ -5385,11 +5385,11 @@ function i7(t, e, a) {
|
|
|
5385
5385
|
ka($);
|
|
5386
5386
|
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (F.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
5388
|
-
[
|
|
5388
|
+
[H.value]: $,
|
|
5389
5389
|
[yt.value[0]]: $
|
|
5390
5390
|
} : {}) : $.filter((B) => !!xe(B) || F.value).map((B) => xe(B) || {
|
|
5391
5391
|
[u.value]: B,
|
|
5392
|
-
[
|
|
5392
|
+
[H.value]: B,
|
|
5393
5393
|
[yt.value[0]]: B
|
|
5394
5394
|
}), ss = () => {
|
|
5395
5395
|
Be.value = de(X, ($) => {
|
|
@@ -5416,11 +5416,11 @@ function i7(t, e, a) {
|
|
|
5416
5416
|
}
|
|
5417
5417
|
switch (s.value) {
|
|
5418
5418
|
case "single":
|
|
5419
|
-
(w.value ? $[
|
|
5419
|
+
(w.value ? $[H.value] != Y.value[H.value] : $ != Y.value[H.value]) && we(Sa($), !1);
|
|
5420
5420
|
break;
|
|
5421
5421
|
case "multiple":
|
|
5422
5422
|
case "tags":
|
|
5423
|
-
s7(w.value ? $.map((B) => B[
|
|
5423
|
+
s7(w.value ? $.map((B) => B[H.value]) : $, Y.value.map((B) => B[H.value])) || we(Sa($), !1);
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
@@ -5433,8 +5433,8 @@ function i7(t, e, a) {
|
|
|
5433
5433
|
filteredOptions: ot,
|
|
5434
5434
|
hasSelected: on,
|
|
5435
5435
|
multipleLabelText: pi,
|
|
5436
|
-
eo:
|
|
5437
|
-
extendedOptions:
|
|
5436
|
+
eo: Te,
|
|
5437
|
+
extendedOptions: Te,
|
|
5438
5438
|
eg: _t,
|
|
5439
5439
|
extendedGroups: _t,
|
|
5440
5440
|
fg: sn,
|
|
@@ -5444,7 +5444,7 @@ function i7(t, e, a) {
|
|
|
5444
5444
|
resolving: Me,
|
|
5445
5445
|
busy: mi,
|
|
5446
5446
|
offset: qe,
|
|
5447
|
-
select:
|
|
5447
|
+
select: Et,
|
|
5448
5448
|
deselect: It,
|
|
5449
5449
|
remove: ts,
|
|
5450
5450
|
selectAll: yi,
|
|
@@ -5472,7 +5472,7 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: f
|
|
5475
|
-
} = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, y = a.search, k = a.pointer, _ = a.setPointer, C = a.clearPointer, D = a.multiselect, I = a.isOpen,
|
|
5475
|
+
} = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, y = a.search, k = a.pointer, _ = a.setPointer, C = a.clearPointer, D = a.multiselect, I = a.isOpen, H = S(() => d.value.filter((V) => !V[u.value])), F = S(() => h.value.filter((V) => !V[u.value])), U = S(() => l.value !== "single" && c.value), q = S(() => k.value && k.value.group), O = S(() => re(k.value)), x = S(() => {
|
|
5476
5476
|
const V = q.value ? k.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
5478
|
re(k.value)
|
|
@@ -5482,41 +5482,41 @@ function o7(t, e, a) {
|
|
|
5482
5482
|
}), R = S(() => {
|
|
5483
5483
|
let V = F.value.map((X) => X.label).indexOf(q.value ? k.value[i.value] : re(k.value)[i.value]) + 1;
|
|
5484
5484
|
return F.value.length <= V && (V = 0), F.value[V];
|
|
5485
|
-
}), Z = S(() => [...F.value].slice(-1)[0]), ie = S(() => k.value.__VISIBLE__.filter((V) => !V[u.value])[0]),
|
|
5486
|
-
const V =
|
|
5485
|
+
}), Z = S(() => [...F.value].slice(-1)[0]), ie = S(() => k.value.__VISIBLE__.filter((V) => !V[u.value])[0]), E = S(() => {
|
|
5486
|
+
const V = O.value.__VISIBLE__.filter((X) => !X[u.value]);
|
|
5487
5487
|
return V[V.map((X) => X[n.value]).indexOf(k.value[n.value]) - 1];
|
|
5488
5488
|
}), N = S(() => {
|
|
5489
5489
|
const V = re(k.value).__VISIBLE__.filter((X) => !X[u.value]);
|
|
5490
5490
|
return V[V.map((X) => X[n.value]).indexOf(k.value[n.value]) + 1];
|
|
5491
|
-
}), M = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]),
|
|
5492
|
-
_(
|
|
5491
|
+
}), M = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), L = (V) => k.value && (!V.group && k.value[n.value] === V[n.value] || V.group !== void 0 && k.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
|
|
5492
|
+
_(H.value[0] || null);
|
|
5493
5493
|
}, ae = () => {
|
|
5494
5494
|
!k.value || k.value[u.value] === !0 || (q.value ? b(k.value) : w(k.value));
|
|
5495
5495
|
}, le = () => {
|
|
5496
5496
|
if (k.value === null)
|
|
5497
|
-
_((r.value && U.value ? F.value[0].__CREATE__ ?
|
|
5497
|
+
_((r.value && U.value ? F.value[0].__CREATE__ ? H.value[0] : F.value[0] : H.value[0]) || null);
|
|
5498
5498
|
else if (r.value && U.value) {
|
|
5499
5499
|
let V = q.value ? ie.value : N.value;
|
|
5500
5500
|
V === void 0 && (V = R.value, V.__CREATE__ && (V = V[f.value][0])), _(V || /* istanbul ignore next */
|
|
5501
5501
|
null);
|
|
5502
5502
|
} else {
|
|
5503
|
-
let V =
|
|
5504
|
-
|
|
5503
|
+
let V = H.value.map((X) => X[n.value]).indexOf(k.value[n.value]) + 1;
|
|
5504
|
+
H.value.length <= V && (V = 0), _(H.value[V] || null);
|
|
5505
5505
|
}
|
|
5506
5506
|
De(() => {
|
|
5507
5507
|
Y();
|
|
5508
5508
|
});
|
|
5509
5509
|
}, ne = () => {
|
|
5510
5510
|
if (k.value === null) {
|
|
5511
|
-
let V =
|
|
5511
|
+
let V = H.value[H.value.length - 1];
|
|
5512
5512
|
r.value && U.value && (V = m.value, V === void 0 && (V = Z.value)), _(V || null);
|
|
5513
5513
|
} else if (r.value && U.value) {
|
|
5514
|
-
let V = q.value ? M.value :
|
|
5515
|
-
V === void 0 && (V = q.value ? x.value :
|
|
5514
|
+
let V = q.value ? M.value : E.value;
|
|
5515
|
+
V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V = M.value, V === void 0 && (V = x.value))), _(V || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
|
-
let V =
|
|
5519
|
-
V < 0 && (V =
|
|
5518
|
+
let V = H.value.map((X) => X[n.value]).indexOf(k.value[n.value]) - 1;
|
|
5519
|
+
V < 0 && (V = H.value.length - 1), _(H.value[V] || null);
|
|
5520
5520
|
}
|
|
5521
5521
|
De(() => {
|
|
5522
5522
|
Y();
|
|
@@ -5543,7 +5543,7 @@ function o7(t, e, a) {
|
|
|
5543
5543
|
}), {
|
|
5544
5544
|
pointer: k,
|
|
5545
5545
|
canPointGroups: U,
|
|
5546
|
-
isPointed:
|
|
5546
|
+
isPointed: L,
|
|
5547
5547
|
setPointerFirst: J,
|
|
5548
5548
|
selectPointer: ae,
|
|
5549
5549
|
forwardPointer: le,
|
|
@@ -5748,7 +5748,7 @@ function M7(t) {
|
|
|
5748
5748
|
}));
|
|
5749
5749
|
}, []);
|
|
5750
5750
|
}
|
|
5751
|
-
function
|
|
5751
|
+
function T7(t) {
|
|
5752
5752
|
var e;
|
|
5753
5753
|
return function() {
|
|
5754
5754
|
return e || (e = new Promise(function(a) {
|
|
@@ -5758,7 +5758,7 @@ function E7(t) {
|
|
|
5758
5758
|
})), e;
|
|
5759
5759
|
};
|
|
5760
5760
|
}
|
|
5761
|
-
function
|
|
5761
|
+
function O7(t) {
|
|
5762
5762
|
var e = t.reduce(function(a, n) {
|
|
5763
5763
|
var s = a[n.name];
|
|
5764
5764
|
return a[n.name] = s ? Object.assign({}, s, n, {
|
|
@@ -5770,7 +5770,7 @@ function T7(t) {
|
|
|
5770
5770
|
return e[a];
|
|
5771
5771
|
});
|
|
5772
5772
|
}
|
|
5773
|
-
function
|
|
5773
|
+
function E7(t, e) {
|
|
5774
5774
|
var a = Se(t), n = gt(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;
|
|
@@ -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 ? bn(
|
|
5823
|
+
return e === oi ? bn(E7(t, a)) : At(e) ? H7(e, a) : bn(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
5826
|
var e = ia(en(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? tn(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 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, an)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], I = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i),
|
|
5913
|
-
reference:
|
|
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 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, an)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], I = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), F = li({
|
|
5913
|
+
reference: H,
|
|
5914
5914
|
element: C,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), U = bn(Object.assign({}, C, F)), q = d === sa ? U :
|
|
5917
|
+
}), U = bn(Object.assign({}, C, F)), q = d === sa ? U : H, O = {
|
|
5918
5918
|
top: I.top - q.top + k.top,
|
|
5919
5919
|
bottom: q.bottom - I.bottom + k.bottom,
|
|
5920
5920
|
left: I.left - q.left + k.left,
|
|
@@ -5922,12 +5922,12 @@ function Un(t, e) {
|
|
|
5922
5922
|
}, x = t.modifiersData.offset;
|
|
5923
5923
|
if (d === sa && x) {
|
|
5924
5924
|
var R = x[s];
|
|
5925
|
-
Object.keys(
|
|
5926
|
-
var ie = [vt, We].indexOf(Z) >= 0 ? 1 : -1,
|
|
5927
|
-
|
|
5925
|
+
Object.keys(O).forEach(function(Z) {
|
|
5926
|
+
var ie = [vt, We].indexOf(Z) >= 0 ? 1 : -1, E = [Re, We].indexOf(Z) >= 0 ? "y" : "x";
|
|
5927
|
+
O[Z] += R[E] * ie;
|
|
5928
5928
|
});
|
|
5929
5929
|
}
|
|
5930
|
-
return
|
|
5930
|
+
return O;
|
|
5931
5931
|
}
|
|
5932
5932
|
var bs = {
|
|
5933
5933
|
placement: "bottom",
|
|
@@ -5965,7 +5965,7 @@ function R7(t) {
|
|
|
5965
5965
|
reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
|
|
5966
5966
|
popper: ia(l)
|
|
5967
5967
|
};
|
|
5968
|
-
var C = M7(
|
|
5968
|
+
var C = M7(O7([].concat(n, u.options.modifiers)));
|
|
5969
5969
|
return u.orderedModifiers = C.filter(function(D) {
|
|
5970
5970
|
return D.enabled;
|
|
5971
5971
|
}), w(), h.update();
|
|
@@ -5982,16 +5982,16 @@ function R7(t) {
|
|
|
5982
5982
|
u.rects = {
|
|
5983
5983
|
reference: c7(_, tn(C), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: si(C)
|
|
5985
|
-
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(
|
|
5986
|
-
return u.modifiersData[
|
|
5985
|
+
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(O) {
|
|
5986
|
+
return u.modifiersData[O.name] = Object.assign({}, O.data);
|
|
5987
5987
|
});
|
|
5988
5988
|
for (var D = 0; D < u.orderedModifiers.length; D++) {
|
|
5989
5989
|
if (u.reset === !0) {
|
|
5990
5990
|
u.reset = !1, D = -1;
|
|
5991
5991
|
continue;
|
|
5992
5992
|
}
|
|
5993
|
-
var I = u.orderedModifiers[D],
|
|
5994
|
-
typeof
|
|
5993
|
+
var I = u.orderedModifiers[D], H = I.fn, F = I.options, U = F === void 0 ? {} : F, q = I.name;
|
|
5994
|
+
typeof H == "function" && (u = H({
|
|
5995
5995
|
state: u,
|
|
5996
5996
|
options: U,
|
|
5997
5997
|
name: q,
|
|
@@ -6003,7 +6003,7 @@ function R7(t) {
|
|
|
6003
6003
|
},
|
|
6004
6004
|
// Async and optimistically optimized update – it will not be executed if
|
|
6005
6005
|
// not necessary (debounced to run at most once-per-tick)
|
|
6006
|
-
update:
|
|
6006
|
+
update: T7(function() {
|
|
6007
6007
|
return new Promise(function(y) {
|
|
6008
6008
|
h.forceUpdate(), y(u);
|
|
6009
6009
|
});
|
|
@@ -6026,9 +6026,9 @@ function R7(t) {
|
|
|
6026
6026
|
name: k,
|
|
6027
6027
|
instance: h,
|
|
6028
6028
|
options: C
|
|
6029
|
-
}),
|
|
6029
|
+
}), H = function() {
|
|
6030
6030
|
};
|
|
6031
|
-
f.push(I ||
|
|
6031
|
+
f.push(I || H);
|
|
6032
6032
|
}
|
|
6033
6033
|
});
|
|
6034
6034
|
}
|
|
@@ -6040,17 +6040,17 @@ function R7(t) {
|
|
|
6040
6040
|
return h;
|
|
6041
6041
|
};
|
|
6042
6042
|
}
|
|
6043
|
-
var
|
|
6043
|
+
var Ea = {
|
|
6044
6044
|
passive: !0
|
|
6045
6045
|
};
|
|
6046
6046
|
function N7(t) {
|
|
6047
6047
|
var e = t.state, a = t.instance, n = t.options, s = n.scroll, o = s === void 0 ? !0 : s, i = n.resize, r = i === void 0 ? !0 : i, l = Se(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
6048
6048
|
return o && c.forEach(function(u) {
|
|
6049
|
-
u.addEventListener("scroll", a.update,
|
|
6050
|
-
}), r && l.addEventListener("resize", a.update,
|
|
6049
|
+
u.addEventListener("scroll", a.update, Ea);
|
|
6050
|
+
}), r && l.addEventListener("resize", a.update, Ea), function() {
|
|
6051
6051
|
o && c.forEach(function(u) {
|
|
6052
|
-
u.removeEventListener("scroll", a.update,
|
|
6053
|
-
}), r && l.removeEventListener("resize", a.update,
|
|
6052
|
+
u.removeEventListener("scroll", a.update, Ea);
|
|
6053
|
+
}), r && l.removeEventListener("resize", a.update, Ea);
|
|
6054
6054
|
};
|
|
6055
6055
|
}
|
|
6056
6056
|
var j7 = {
|
|
@@ -6101,22 +6101,22 @@ function $s(t) {
|
|
|
6101
6101
|
h = y.x, b = y.y;
|
|
6102
6102
|
var k = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Ge, D = Re, I = window;
|
|
6103
6103
|
if (c) {
|
|
6104
|
-
var
|
|
6105
|
-
if (
|
|
6104
|
+
var H = tn(a), F = "clientHeight", U = "clientWidth";
|
|
6105
|
+
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6106
6106
|
D = We;
|
|
6107
|
-
var q = f &&
|
|
6107
|
+
var q = f && H === I && I.visualViewport ? I.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
6109
|
-
|
|
6109
|
+
H[F]
|
|
6110
6110
|
);
|
|
6111
6111
|
b -= q - n.height, b *= l ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
6113
|
if (s === Ge || (s === Re || s === We) && o === da) {
|
|
6114
6114
|
C = vt;
|
|
6115
|
-
var
|
|
6115
|
+
var O = f && H === I && I.visualViewport ? I.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
6117
|
-
|
|
6117
|
+
H[U]
|
|
6118
6118
|
);
|
|
6119
|
-
h -=
|
|
6119
|
+
h -= O - n.width, h *= l ? 1 : -1;
|
|
6120
6120
|
}
|
|
6121
6121
|
}
|
|
6122
6122
|
var x = Object.assign({
|
|
@@ -6224,9 +6224,9 @@ function ep(t) {
|
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: f,
|
|
6226
6226
|
altBoundary: u
|
|
6227
|
-
}), k = ct(e.placement), _ = zt(e.placement), C = !_, D = ri(k), I = Q7(D),
|
|
6227
|
+
}), k = ct(e.placement), _ = zt(e.placement), C = !_, D = ri(k), I = Q7(D), H = e.modifiersData.popperOffsets, F = e.rects.reference, U = e.rects.popper, q = typeof b == "function" ? b(Object.assign({}, e.rects, {
|
|
6228
6228
|
placement: e.placement
|
|
6229
|
-
})) : b,
|
|
6229
|
+
})) : b, O = typeof q == "number" ? {
|
|
6230
6230
|
mainAxis: q,
|
|
6231
6231
|
altAxis: q
|
|
6232
6232
|
} : Object.assign({
|
|
@@ -6236,17 +6236,17 @@ function ep(t) {
|
|
|
6236
6236
|
x: 0,
|
|
6237
6237
|
y: 0
|
|
6238
6238
|
};
|
|
6239
|
-
if (
|
|
6239
|
+
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var Z, ie = D === "y" ? Re : Ge,
|
|
6241
|
+
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], L = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[
|
|
6245
|
-
|
|
6244
|
+
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, nn = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, nn) : m, M, h ? kt(L, st) : L);
|
|
6245
|
+
H[D] = ya, R[D] = ya - M;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be =
|
|
6249
|
-
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = H[I], qe = I === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Me], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[I]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + O.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
|
+
H[I] = wa, R[I] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = R;
|
|
6252
6252
|
}
|
|
@@ -6315,23 +6315,23 @@ function op(t) {
|
|
|
6315
6315
|
flipVariations: w,
|
|
6316
6316
|
allowedAutoPlacements: b
|
|
6317
6317
|
}) : Y);
|
|
6318
|
-
}, []), I = e.rects.reference,
|
|
6319
|
-
var x = D[
|
|
6318
|
+
}, []), I = e.rects.reference, H = e.rects.popper, F = /* @__PURE__ */ new Map(), U = !0, q = D[0], O = 0; O < D.length; O++) {
|
|
6319
|
+
var x = D[O], R = ct(x), Z = zt(x) === qt, ie = [Re, We].indexOf(R) >= 0, E = ie ? "width" : "height", N = Un(e, {
|
|
6320
6320
|
placement: x,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
6325
|
}), M = ie ? Z ? vt : Ge : Z ? We : Re;
|
|
6326
|
-
I[
|
|
6327
|
-
var m = La(M),
|
|
6328
|
-
if (o &&
|
|
6326
|
+
I[E] > H[E] && (M = La(M));
|
|
6327
|
+
var m = La(M), L = [];
|
|
6328
|
+
if (o && L.push(N[R] <= 0), r && L.push(N[M] <= 0, N[m] <= 0), L.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
q = x, U = !1;
|
|
6332
6332
|
break;
|
|
6333
6333
|
}
|
|
6334
|
-
F.set(x,
|
|
6334
|
+
F.set(x, L);
|
|
6335
6335
|
}
|
|
6336
6336
|
if (U)
|
|
6337
6337
|
for (var J = w ? 3 : 1, ae = function(Y) {
|
|
@@ -6425,7 +6425,7 @@ function lp(t, e, a) {
|
|
|
6425
6425
|
}
|
|
6426
6426
|
]
|
|
6427
6427
|
}));
|
|
6428
|
-
}),
|
|
6428
|
+
}), Ts(() => {
|
|
6429
6429
|
!h.value || !f.value || (f.value.destroy(), f.value = null);
|
|
6430
6430
|
}), {
|
|
6431
6431
|
popper: f,
|
|
@@ -6487,14 +6487,14 @@ function cp(t, e, a) {
|
|
|
6487
6487
|
createTag: f,
|
|
6488
6488
|
createOption: d,
|
|
6489
6489
|
reverse: h
|
|
6490
|
-
} = Ae(t), w = Mt().proxy, b = a.iv, y = a.update, k = a.deselect, _ = a.search, C = a.setPointer, D = a.selectPointer, I = a.backwardPointer,
|
|
6491
|
-
n.value === "tags" && !r.value && ie.value && i.value && !c.value && C(Z.value[Z.value.map((
|
|
6490
|
+
} = Ae(t), w = Mt().proxy, b = a.iv, y = a.update, k = a.deselect, _ = a.search, C = a.setPointer, D = a.selectPointer, I = a.backwardPointer, H = a.forwardPointer, F = a.multiselect, U = a.wrapper, q = a.tags, O = a.isOpen, x = a.open, R = a.blur, Z = a.fo, ie = S(() => f.value || d.value || !1), E = S(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), N = () => {
|
|
6491
|
+
n.value === "tags" && !r.value && ie.value && i.value && !c.value && C(Z.value[Z.value.map((L) => L[l.value]).indexOf(_.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
6494
|
-
handleKeydown: (
|
|
6495
|
-
e.emit("keydown",
|
|
6494
|
+
handleKeydown: (L) => {
|
|
6495
|
+
e.emit("keydown", L, w);
|
|
6496
6496
|
let J, ae;
|
|
6497
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(
|
|
6497
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(L.key) !== -1 && n.value === "tags" && (J = [...F.value.querySelectorAll("[data-tags] > *")].filter((le) => le !== q.value), ae = J.findIndex((le) => le === document.activeElement)), L.key) {
|
|
6498
6498
|
case "Backspace":
|
|
6499
6499
|
if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || b.value.length === 0)
|
|
6500
6500
|
return;
|
|
@@ -6502,61 +6502,61 @@ function cp(t, e, a) {
|
|
|
6502
6502
|
le.length && k(le[le.length - 1]);
|
|
6503
6503
|
break;
|
|
6504
6504
|
case "Enter":
|
|
6505
|
-
if (
|
|
6505
|
+
if (L.preventDefault(), L.keyCode === 229)
|
|
6506
6506
|
return;
|
|
6507
6507
|
if (ae !== -1 && ae !== void 0) {
|
|
6508
6508
|
y([...b.value].filter((ne, re) => re !== ae)), ae === J.length - 1 && (J.length - 1 ? J[J.length - 2].focus() : i.value ? q.value.querySelector("input").focus() : U.value.focus());
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
|
-
if (
|
|
6511
|
+
if (E.value.indexOf("enter") === -1 && ie.value)
|
|
6512
6512
|
return;
|
|
6513
6513
|
N(), D();
|
|
6514
6514
|
break;
|
|
6515
6515
|
case " ":
|
|
6516
6516
|
if (!ie.value && !i.value) {
|
|
6517
|
-
|
|
6517
|
+
L.preventDefault(), N(), D();
|
|
6518
6518
|
return;
|
|
6519
6519
|
}
|
|
6520
6520
|
if (!ie.value)
|
|
6521
6521
|
return !1;
|
|
6522
|
-
if (
|
|
6522
|
+
if (E.value.indexOf("space") === -1 && ie.value)
|
|
6523
6523
|
return;
|
|
6524
|
-
|
|
6524
|
+
L.preventDefault(), N(), D();
|
|
6525
6525
|
break;
|
|
6526
6526
|
case "Tab":
|
|
6527
6527
|
case ";":
|
|
6528
6528
|
case ",":
|
|
6529
|
-
if (
|
|
6529
|
+
if (E.value.indexOf(L.key.toLowerCase()) === -1 || !ie.value)
|
|
6530
6530
|
return;
|
|
6531
|
-
N(), D(),
|
|
6531
|
+
N(), D(), L.preventDefault();
|
|
6532
6532
|
break;
|
|
6533
6533
|
case "Escape":
|
|
6534
6534
|
R();
|
|
6535
6535
|
break;
|
|
6536
6536
|
case "ArrowUp":
|
|
6537
|
-
if (
|
|
6537
|
+
if (L.preventDefault(), !r.value)
|
|
6538
6538
|
return;
|
|
6539
|
-
|
|
6539
|
+
O.value || x(), I();
|
|
6540
6540
|
break;
|
|
6541
6541
|
case "ArrowDown":
|
|
6542
|
-
if (
|
|
6542
|
+
if (L.preventDefault(), !r.value)
|
|
6543
6543
|
return;
|
|
6544
|
-
|
|
6544
|
+
O.value || x(), H();
|
|
6545
6545
|
break;
|
|
6546
6546
|
case "ArrowLeft":
|
|
6547
|
-
if (i.value && q.value && q.value.querySelector("input").selectionStart ||
|
|
6547
|
+
if (i.value && q.value && q.value.querySelector("input").selectionStart || L.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
|
|
6548
6548
|
return;
|
|
6549
|
-
|
|
6549
|
+
L.preventDefault(), ae === -1 ? J[J.length - 1].focus() : ae > 0 && J[ae - 1].focus();
|
|
6550
6550
|
break;
|
|
6551
6551
|
case "ArrowRight":
|
|
6552
|
-
if (ae === -1 ||
|
|
6552
|
+
if (ae === -1 || L.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
|
|
6553
6553
|
return;
|
|
6554
|
-
|
|
6554
|
+
L.preventDefault(), J.length > ae + 1 ? J[ae + 1].focus() : i.value ? q.value.querySelector("input").focus() : i.value || U.value.focus();
|
|
6555
6555
|
break;
|
|
6556
6556
|
}
|
|
6557
6557
|
},
|
|
6558
|
-
handleKeyup: (
|
|
6559
|
-
e.emit("keyup",
|
|
6558
|
+
handleKeyup: (L) => {
|
|
6559
|
+
e.emit("keyup", L, w);
|
|
6560
6560
|
},
|
|
6561
6561
|
preparePointer: N
|
|
6562
6562
|
};
|
|
@@ -6659,8 +6659,8 @@ function dp(t, e, a) {
|
|
|
6659
6659
|
},
|
|
6660
6660
|
groupOptions: C.groupOptions,
|
|
6661
6661
|
option: (D, I) => {
|
|
6662
|
-
let
|
|
6663
|
-
return l(D) ?
|
|
6662
|
+
let H = [C.option];
|
|
6663
|
+
return l(D) ? H.push(c(D) ? C.optionSelectedPointed : C.optionPointed) : c(D) ? H.push(u(D) ? C.optionSelectedDisabled : C.optionSelected) : (u(D) || I && u(I)) && H.push(C.optionDisabled), H;
|
|
6664
6664
|
},
|
|
6665
6665
|
noOptions: C.noOptions,
|
|
6666
6666
|
noResults: C.noResults,
|
|
@@ -6722,7 +6722,7 @@ function fp(t, e, a) {
|
|
|
6722
6722
|
}), C = S(() => n.value), D = S(() => r.value !== "single"), I = S(() => {
|
|
6723
6723
|
let R = "";
|
|
6724
6724
|
return r.value === "single" && h.value && (R += d.value[i.value]), r.value === "multiple" && h.value && (R += w.value), r.value === "tags" && h.value && (R += d.value.map((Z) => Z[i.value]).join(", ")), R;
|
|
6725
|
-
}),
|
|
6725
|
+
}), H = S(() => {
|
|
6726
6726
|
let R = { ...c.value };
|
|
6727
6727
|
return u.value && (R["aria-labelledby"] = R["aria-labelledby"] ? `${y.value} ${R["aria-labelledby"]}` : y.value, I.value && R["aria-label"] && (R["aria-label"] = `${I.value}, ${R["aria-label"]}`)), R;
|
|
6728
6728
|
}), F = (R) => {
|
|
@@ -6734,7 +6734,7 @@ function fp(t, e, a) {
|
|
|
6734
6734
|
}, q = (R) => {
|
|
6735
6735
|
let Z = [];
|
|
6736
6736
|
return Z.push(R), Z.join(" ");
|
|
6737
|
-
},
|
|
6737
|
+
}, O = (R) => {
|
|
6738
6738
|
let Z = [];
|
|
6739
6739
|
return Z.push(R), Z.join(" ");
|
|
6740
6740
|
}, x = (R) => `${R} ❎`;
|
|
@@ -6744,7 +6744,7 @@ function fp(t, e, a) {
|
|
|
6744
6744
|
b.value = R ? R.innerText : null;
|
|
6745
6745
|
}
|
|
6746
6746
|
}), {
|
|
6747
|
-
arias:
|
|
6747
|
+
arias: H,
|
|
6748
6748
|
ariaLabel: I,
|
|
6749
6749
|
ariaAssist: y,
|
|
6750
6750
|
ariaControls: k,
|
|
@@ -6754,7 +6754,7 @@ function fp(t, e, a) {
|
|
|
6754
6754
|
ariaOptionId: F,
|
|
6755
6755
|
ariaOptionLabel: q,
|
|
6756
6756
|
ariaGroupId: U,
|
|
6757
|
-
ariaGroupLabel:
|
|
6757
|
+
ariaGroupLabel: O,
|
|
6758
6758
|
ariaTagLabel: x
|
|
6759
6759
|
};
|
|
6760
6760
|
}
|
|
@@ -7166,7 +7166,7 @@ var lt = {
|
|
|
7166
7166
|
}));
|
|
7167
7167
|
}
|
|
7168
7168
|
};
|
|
7169
|
-
const Cp = ["id", "dir"], gp = ["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"],
|
|
7169
|
+
const Cp = ["id", "dir"], gp = ["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(), g("div", {
|
|
7172
7172
|
ref: "multiselect",
|
|
@@ -7190,7 +7190,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7190
7190
|
"aria-multiselectable": a.searchable ? void 0 : t.ariaMultiselectable,
|
|
7191
7191
|
role: a.searchable ? void 0 : "combobox"
|
|
7192
7192
|
}, a.searchable ? {} : t.arias), [
|
|
7193
|
-
|
|
7193
|
+
T(" Search "),
|
|
7194
7194
|
a.mode !== "tags" && a.searchable && !a.disabled ? (p(), g("input", He({
|
|
7195
7195
|
key: 0,
|
|
7196
7196
|
type: a.inputType,
|
|
@@ -7212,8 +7212,8 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7212
7212
|
}, {
|
|
7213
7213
|
...a.attrs,
|
|
7214
7214
|
...t.arias
|
|
7215
|
-
}), null, 16, _p)) :
|
|
7216
|
-
|
|
7215
|
+
}), null, 16, _p)) : T("v-if", !0),
|
|
7216
|
+
T(" Tags (with search) "),
|
|
7217
7217
|
a.mode == "tags" ? (p(), g(
|
|
7218
7218
|
"div",
|
|
7219
7219
|
{
|
|
@@ -7263,7 +7263,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7263
7263
|
2
|
|
7264
7264
|
/* CLASS */
|
|
7265
7265
|
)
|
|
7266
|
-
], 10, bp)) :
|
|
7266
|
+
], 10, bp)) : T("v-if", !0)
|
|
7267
7267
|
], 42, yp))
|
|
7268
7268
|
])),
|
|
7269
7269
|
256
|
|
@@ -7276,7 +7276,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7276
7276
|
ref: "tags"
|
|
7277
7277
|
},
|
|
7278
7278
|
[
|
|
7279
|
-
|
|
7279
|
+
T(" Used for measuring search width "),
|
|
7280
7280
|
v(
|
|
7281
7281
|
"span",
|
|
7282
7282
|
{
|
|
@@ -7286,7 +7286,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7286
7286
|
3
|
|
7287
7287
|
/* TEXT, CLASS */
|
|
7288
7288
|
),
|
|
7289
|
-
|
|
7289
|
+
T(" Actual search input "),
|
|
7290
7290
|
a.searchable && !a.disabled ? (p(), g("input", He({
|
|
7291
7291
|
key: 0,
|
|
7292
7292
|
type: a.inputType,
|
|
@@ -7308,7 +7308,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7308
7308
|
}, {
|
|
7309
7309
|
...a.attrs,
|
|
7310
7310
|
...t.arias
|
|
7311
|
-
}), null, 16, wp)) :
|
|
7311
|
+
}), null, 16, wp)) : T("v-if", !0)
|
|
7312
7312
|
],
|
|
7313
7313
|
2
|
|
7314
7314
|
/* CLASS */
|
|
@@ -7316,8 +7316,8 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7316
7316
|
],
|
|
7317
7317
|
2
|
|
7318
7318
|
/* CLASS */
|
|
7319
|
-
)) :
|
|
7320
|
-
|
|
7319
|
+
)) : T("v-if", !0),
|
|
7320
|
+
T(" Single label "),
|
|
7321
7321
|
a.mode == "single" && t.hasSelected && !t.search && t.iv ? te(t.$slots, "singlelabel", {
|
|
7322
7322
|
key: 2,
|
|
7323
7323
|
value: t.iv
|
|
@@ -7341,8 +7341,8 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7341
7341
|
2
|
|
7342
7342
|
/* CLASS */
|
|
7343
7343
|
)
|
|
7344
|
-
]) :
|
|
7345
|
-
|
|
7344
|
+
]) : T("v-if", !0),
|
|
7345
|
+
T(" Multiple label "),
|
|
7346
7346
|
a.mode == "multiple" && t.hasSelected && !t.search ? te(t.$slots, "multiplelabel", {
|
|
7347
7347
|
key: 3,
|
|
7348
7348
|
values: t.iv
|
|
@@ -7351,8 +7351,8 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7351
7351
|
class: K(t.classList.multipleLabel),
|
|
7352
7352
|
innerHTML: t.multipleLabelText
|
|
7353
7353
|
}, null, 10, $p)
|
|
7354
|
-
]) :
|
|
7355
|
-
|
|
7354
|
+
]) : T("v-if", !0),
|
|
7355
|
+
T(" Placeholder "),
|
|
7356
7356
|
a.placeholder && !t.hasSelected && !t.search ? te(t.$slots, "placeholder", { key: 4 }, () => [
|
|
7357
7357
|
v(
|
|
7358
7358
|
"div",
|
|
@@ -7364,8 +7364,8 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7364
7364
|
3
|
|
7365
7365
|
/* TEXT, CLASS */
|
|
7366
7366
|
)
|
|
7367
|
-
]) :
|
|
7368
|
-
|
|
7367
|
+
]) : T("v-if", !0),
|
|
7368
|
+
T(" Spinner "),
|
|
7369
7369
|
a.loading || t.resolving ? te(t.$slots, "spinner", { key: 5 }, () => [
|
|
7370
7370
|
v(
|
|
7371
7371
|
"span",
|
|
@@ -7377,8 +7377,8 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7377
7377
|
2
|
|
7378
7378
|
/* CLASS */
|
|
7379
7379
|
)
|
|
7380
|
-
]) :
|
|
7381
|
-
|
|
7380
|
+
]) : T("v-if", !0),
|
|
7381
|
+
T(" Clear "),
|
|
7382
7382
|
t.hasSelected && !a.disabled && a.canClear && !t.busy ? te(t.$slots, "clear", {
|
|
7383
7383
|
key: 6,
|
|
7384
7384
|
clear: t.clear
|
|
@@ -7409,8 +7409,8 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7409
7409
|
34
|
|
7410
7410
|
/* CLASS, HYDRATE_EVENTS */
|
|
7411
7411
|
)
|
|
7412
|
-
]) :
|
|
7413
|
-
|
|
7412
|
+
]) : T("v-if", !0),
|
|
7413
|
+
T(" Caret "),
|
|
7414
7414
|
a.caret && a.showOptions ? te(t.$slots, "caret", {
|
|
7415
7415
|
key: 7,
|
|
7416
7416
|
handleCaretClick: t.handleCaretClick,
|
|
@@ -7427,9 +7427,9 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7427
7427
|
2
|
|
7428
7428
|
/* CLASS */
|
|
7429
7429
|
)
|
|
7430
|
-
]) :
|
|
7430
|
+
]) : T("v-if", !0)
|
|
7431
7431
|
], 16, gp),
|
|
7432
|
-
|
|
7432
|
+
T(" Options "),
|
|
7433
7433
|
(p(), P(Nt, {
|
|
7434
7434
|
to: a.appendTo || "body",
|
|
7435
7435
|
disabled: !a.appendToBody && !a.appendTo
|
|
@@ -7457,7 +7457,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7457
7457
|
"aria-selected": t.isSelected(i),
|
|
7458
7458
|
role: "option"
|
|
7459
7459
|
}, [
|
|
7460
|
-
i.__CREATE__ ?
|
|
7460
|
+
i.__CREATE__ ? T("v-if", !0) : (p(), g("div", {
|
|
7461
7461
|
key: 0,
|
|
7462
7462
|
class: K(t.classList.groupLabel(i)),
|
|
7463
7463
|
"data-pointed": t.isPointed(i),
|
|
@@ -7471,7 +7471,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7471
7471
|
}, () => [
|
|
7472
7472
|
v("span", {
|
|
7473
7473
|
innerHTML: t.localize(i[a.groupLabel])
|
|
7474
|
-
}, null, 8,
|
|
7474
|
+
}, null, 8, Tp)
|
|
7475
7475
|
])
|
|
7476
7476
|
], 42, Mp)),
|
|
7477
7477
|
v("ul", {
|
|
@@ -7508,11 +7508,11 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7508
7508
|
/* TEXT */
|
|
7509
7509
|
)
|
|
7510
7510
|
])
|
|
7511
|
-
], 42,
|
|
7511
|
+
], 42, Ep))),
|
|
7512
7512
|
128
|
|
7513
7513
|
/* KEYED_FRAGMENT */
|
|
7514
7514
|
))
|
|
7515
|
-
], 10,
|
|
7515
|
+
], 10, Op)
|
|
7516
7516
|
], 10, Ap))),
|
|
7517
7517
|
128
|
|
7518
7518
|
/* KEYED_FRAGMENT */
|
|
@@ -7555,13 +7555,13 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7555
7555
|
class: K(t.classList.noOptions),
|
|
7556
7556
|
innerHTML: t.localize(a.noOptionsText)
|
|
7557
7557
|
}, null, 10, Lp)
|
|
7558
|
-
]) :
|
|
7558
|
+
]) : T("v-if", !0),
|
|
7559
7559
|
t.noResults ? te(t.$slots, "noresults", { key: 1 }, () => [
|
|
7560
7560
|
v("div", {
|
|
7561
7561
|
class: K(t.classList.noResults),
|
|
7562
7562
|
innerHTML: t.localize(a.noResultsText)
|
|
7563
7563
|
}, null, 10, Hp)
|
|
7564
|
-
]) :
|
|
7564
|
+
]) : T("v-if", !0),
|
|
7565
7565
|
a.infinite && t.hasMore ? (p(), g(
|
|
7566
7566
|
"div",
|
|
7567
7567
|
{
|
|
@@ -7584,19 +7584,19 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7584
7584
|
],
|
|
7585
7585
|
2
|
|
7586
7586
|
/* CLASS */
|
|
7587
|
-
)) :
|
|
7587
|
+
)) : T("v-if", !0),
|
|
7588
7588
|
te(t.$slots, "afterlist", { options: t.fo })
|
|
7589
7589
|
], 10, kp)
|
|
7590
7590
|
], 8, ["to", "disabled"])),
|
|
7591
|
-
|
|
7591
|
+
T(" Hacky input element to show HTML5 required warning "),
|
|
7592
7592
|
a.required ? (p(), g("input", {
|
|
7593
7593
|
key: 0,
|
|
7594
7594
|
class: K(t.classList.fakeInput),
|
|
7595
7595
|
tabindex: "-1",
|
|
7596
7596
|
value: t.textValue,
|
|
7597
7597
|
required: ""
|
|
7598
|
-
}, null, 10, Dp)) :
|
|
7599
|
-
|
|
7598
|
+
}, null, 10, Dp)) : T("v-if", !0),
|
|
7599
|
+
T(" Native input support "),
|
|
7600
7600
|
a.nativeSupport ? (p(), g(
|
|
7601
7601
|
ve,
|
|
7602
7602
|
{ key: 1 },
|
|
@@ -7621,15 +7621,15 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7621
7621
|
],
|
|
7622
7622
|
64
|
|
7623
7623
|
/* STABLE_FRAGMENT */
|
|
7624
|
-
)) :
|
|
7625
|
-
|
|
7624
|
+
)) : T("v-if", !0),
|
|
7625
|
+
T(" Screen reader assistive text "),
|
|
7626
7626
|
a.searchable && t.hasSelected ? (p(), g("div", {
|
|
7627
7627
|
key: 2,
|
|
7628
7628
|
class: K(t.classList.assist),
|
|
7629
7629
|
id: t.ariaAssist,
|
|
7630
7630
|
"aria-hidden": "true"
|
|
7631
|
-
}, G(t.ariaLabel), 11, Bp)) :
|
|
7632
|
-
|
|
7631
|
+
}, G(t.ariaLabel), 11, Bp)) : T("v-if", !0),
|
|
7632
|
+
T(" Create height for empty input "),
|
|
7633
7633
|
v(
|
|
7634
7634
|
"div",
|
|
7635
7635
|
{
|
|
@@ -7669,7 +7669,7 @@ const $e = /* @__PURE__ */ z({
|
|
|
7669
7669
|
}
|
|
7670
7670
|
});
|
|
7671
7671
|
var Ss;
|
|
7672
|
-
function
|
|
7672
|
+
function Tt() {
|
|
7673
7673
|
const t = Np(), e = t.appContext.config.globalProperties;
|
|
7674
7674
|
return {
|
|
7675
7675
|
i18next: e.$i18next,
|
|
@@ -7731,7 +7731,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7731
7731
|
},
|
|
7732
7732
|
emits: ["add", "delete", "update"],
|
|
7733
7733
|
setup(t, { emit: e }) {
|
|
7734
|
-
const a = t, { t: n } =
|
|
7734
|
+
const a = t, { t: n } = Tt();
|
|
7735
7735
|
de(() => a.tasks, (f, d) => {
|
|
7736
7736
|
Xe(f, d);
|
|
7737
7737
|
});
|
|
@@ -7788,7 +7788,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7788
7788
|
variant: "ghost",
|
|
7789
7789
|
color: "primary",
|
|
7790
7790
|
onClick: () => r(h.id, !h.isDone)
|
|
7791
|
-
}, null, 8, ["icon-name", "disabled", "onClick"])) :
|
|
7791
|
+
}, null, 8, ["icon-name", "disabled", "onClick"])) : T("", !0),
|
|
7792
7792
|
v("input", {
|
|
7793
7793
|
id: h.id,
|
|
7794
7794
|
value: h.name,
|
|
@@ -7822,7 +7822,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7822
7822
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
7823
7823
|
]),
|
|
7824
7824
|
_: 2
|
|
7825
|
-
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) :
|
|
7825
|
+
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
|
|
7826
7826
|
f.isEditable ? (p(), P(ce, {
|
|
7827
7827
|
key: 2,
|
|
7828
7828
|
class: "ao-subtask__delete",
|
|
@@ -7831,7 +7831,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7831
7831
|
variant: "ghost",
|
|
7832
7832
|
color: "neutral",
|
|
7833
7833
|
onClick: () => l(h.id)
|
|
7834
|
-
}, null, 8, ["onClick"])) :
|
|
7834
|
+
}, null, 8, ["onClick"])) : T("", !0)
|
|
7835
7835
|
]);
|
|
7836
7836
|
}), 128))
|
|
7837
7837
|
]),
|
|
@@ -7843,7 +7843,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7843
7843
|
variant: "ghost",
|
|
7844
7844
|
color: "primary",
|
|
7845
7845
|
onClick: o
|
|
7846
|
-
}, null, 8, ["label"])) :
|
|
7846
|
+
}, null, 8, ["label"])) : T("", !0)
|
|
7847
7847
|
])
|
|
7848
7848
|
]));
|
|
7849
7849
|
}
|
|
@@ -7935,7 +7935,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7935
7935
|
size: "sm",
|
|
7936
7936
|
corners: "round",
|
|
7937
7937
|
onClick: () => n(d)
|
|
7938
|
-
}, null, 8, ["onClick"])) :
|
|
7938
|
+
}, null, 8, ["onClick"])) : T("", !0)
|
|
7939
7939
|
]))), 128)),
|
|
7940
7940
|
u.isEditable ? (p(), g("li", Gp, [
|
|
7941
7941
|
v("label", Xp, [
|
|
@@ -7955,8 +7955,8 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7955
7955
|
onChange: s
|
|
7956
7956
|
}, null, 32)
|
|
7957
7957
|
])
|
|
7958
|
-
])) :
|
|
7959
|
-
])) :
|
|
7958
|
+
])) : T("", !0)
|
|
7959
|
+
])) : T("", !0),
|
|
7960
7960
|
Ke(v("div", ef, [
|
|
7961
7961
|
v("span", tf, G(u.$t("activity.attachment.placeholder.active")), 1)
|
|
7962
7962
|
], 512), [
|
|
@@ -7982,7 +7982,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
7982
7982
|
const a = t, n = S(() => {
|
|
7983
7983
|
const b = a.user;
|
|
7984
7984
|
return b ? `${b == null ? void 0 : b.firstName} ${b == null ? void 0 : b.lastName}` : null;
|
|
7985
|
-
}), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } =
|
|
7985
|
+
}), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Es(s), c = S(() => {
|
|
7986
7986
|
const b = a.editedAt && la(a.editedAt), y = la(a.createdAt), k = /* @__PURE__ */ new Date(), _ = b ?? y;
|
|
7987
7987
|
return _ && a3(_, k);
|
|
7988
7988
|
}), u = S(() => o.value ? "textarea" : "p"), f = l(), d = r((b) => {
|
|
@@ -8006,7 +8006,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8006
8006
|
"avatar-url": (k = b.user) == null ? void 0 : k.avatarUrl,
|
|
8007
8007
|
"user-name": n.value,
|
|
8008
8008
|
class: "ao-comment__avatar"
|
|
8009
|
-
}, null, 8, ["avatar-url", "user-name"])) :
|
|
8009
|
+
}, null, 8, ["avatar-url", "user-name"])) : T("", !0),
|
|
8010
8010
|
v("span", sf, G(c.value), 1),
|
|
8011
8011
|
v("div", of, [
|
|
8012
8012
|
v("div", rf, [
|
|
@@ -8061,7 +8061,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8061
8061
|
onClick: Q(i)
|
|
8062
8062
|
}, null, 8, ["label", "onClick"])
|
|
8063
8063
|
], 64))
|
|
8064
|
-
])) :
|
|
8064
|
+
])) : T("", !0)
|
|
8065
8065
|
]);
|
|
8066
8066
|
};
|
|
8067
8067
|
}
|
|
@@ -8152,7 +8152,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8152
8152
|
onEdit: (b) => c(w.id, b),
|
|
8153
8153
|
onRemove: () => u(w.id)
|
|
8154
8154
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
8155
|
-
])) :
|
|
8155
|
+
])) : T("", !0)
|
|
8156
8156
|
], 512);
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
@@ -8183,7 +8183,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8183
8183
|
}, wf = { class: "ao-field__label" }, $f = {
|
|
8184
8184
|
key: 1,
|
|
8185
8185
|
class: "ao-field ao-feed__activity-details__project"
|
|
8186
|
-
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" }, Af = { class: "ao-fieldset" }, Mf = { class: "ao-field__row" },
|
|
8186
|
+
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" }, Af = { class: "ao-fieldset" }, Mf = { class: "ao-field__row" }, Tf = { class: "ao-field ao-field--full" }, Of = { class: "ao-field__label" }, Ef = ["readonly"], If = { class: "ao-field__row" }, Lf = { class: "ao-field ao-field--inline" }, Hf = { class: "ao-field__label" }, Df = ["readonly"], Pf = { class: "ao-fieldset" }, Vf = { class: "ao-fieldset__title" }, Bf = { class: "ao-fieldset__body" }, Rf = {
|
|
8187
8187
|
key: 0,
|
|
8188
8188
|
class: "ao-fieldset"
|
|
8189
8189
|
}, Nf = { class: "ao-fieldset__title" }, jf = { class: "ao-activity-details__aside" }, Ff = { class: "ao-activity-details__close-button" }, Uf = {
|
|
@@ -8266,9 +8266,9 @@ const wn = /* @__PURE__ */ z({
|
|
|
8266
8266
|
}
|
|
8267
8267
|
}), u = S(() => {
|
|
8268
8268
|
var m;
|
|
8269
|
-
return (m = a.activityTypes) == null ? void 0 : m.map((
|
|
8270
|
-
label:
|
|
8271
|
-
value:
|
|
8269
|
+
return (m = a.activityTypes) == null ? void 0 : m.map((L) => ({
|
|
8270
|
+
label: L.name,
|
|
8271
|
+
value: L.id
|
|
8272
8272
|
}));
|
|
8273
8273
|
}), f = S({
|
|
8274
8274
|
get() {
|
|
@@ -8284,7 +8284,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8284
8284
|
}))), h = S({
|
|
8285
8285
|
get() {
|
|
8286
8286
|
var m;
|
|
8287
|
-
return (m = a.activity.dependingOn) == null ? void 0 : m.map((
|
|
8287
|
+
return (m = a.activity.dependingOn) == null ? void 0 : m.map((L) => L.id);
|
|
8288
8288
|
},
|
|
8289
8289
|
set(m) {
|
|
8290
8290
|
m && e("update:activity", {
|
|
@@ -8293,15 +8293,15 @@ const wn = /* @__PURE__ */ z({
|
|
|
8293
8293
|
});
|
|
8294
8294
|
}
|
|
8295
8295
|
}), w = S(() => d.value.map((m) => {
|
|
8296
|
-
var
|
|
8296
|
+
var L;
|
|
8297
8297
|
return {
|
|
8298
8298
|
...m,
|
|
8299
|
-
disabled: (
|
|
8299
|
+
disabled: (L = a.activity.blocking) == null ? void 0 : L.some((J) => J.id === m.value)
|
|
8300
8300
|
};
|
|
8301
8301
|
})), b = S({
|
|
8302
8302
|
get() {
|
|
8303
8303
|
var m;
|
|
8304
|
-
return (m = a.activity.blocking) == null ? void 0 : m.map((
|
|
8304
|
+
return (m = a.activity.blocking) == null ? void 0 : m.map((L) => L.id);
|
|
8305
8305
|
},
|
|
8306
8306
|
set(m) {
|
|
8307
8307
|
m && e("update:activity", {
|
|
@@ -8310,10 +8310,10 @@ const wn = /* @__PURE__ */ z({
|
|
|
8310
8310
|
});
|
|
8311
8311
|
}
|
|
8312
8312
|
}), y = S(() => d.value.map((m) => {
|
|
8313
|
-
var
|
|
8313
|
+
var L;
|
|
8314
8314
|
return {
|
|
8315
8315
|
...m,
|
|
8316
|
-
disabled: (
|
|
8316
|
+
disabled: (L = a.activity.dependingOn) == null ? void 0 : L.some(
|
|
8317
8317
|
(J) => J.id === m.value
|
|
8318
8318
|
)
|
|
8319
8319
|
};
|
|
@@ -8325,15 +8325,15 @@ const wn = /* @__PURE__ */ z({
|
|
|
8325
8325
|
e("deleteSubtask", m);
|
|
8326
8326
|
}, D = S(() => {
|
|
8327
8327
|
var m;
|
|
8328
|
-
return ((m = a.users) == null ? void 0 : m.map((
|
|
8329
|
-
label: `${
|
|
8330
|
-
value:
|
|
8331
|
-
avatar:
|
|
8328
|
+
return ((m = a.users) == null ? void 0 : m.map((L) => ({
|
|
8329
|
+
label: `${L.firstName} ${L.lastName}`,
|
|
8330
|
+
value: L.id,
|
|
8331
|
+
avatar: L.avatarUrl
|
|
8332
8332
|
}))) || [];
|
|
8333
8333
|
}), I = S({
|
|
8334
8334
|
get() {
|
|
8335
|
-
var m,
|
|
8336
|
-
return (m = a.activity.assignee) != null && m.id ? [(
|
|
8335
|
+
var m, L;
|
|
8336
|
+
return (m = a.activity.assignee) != null && m.id ? [(L = a.activity.assignee) == null ? void 0 : L.id] : [];
|
|
8337
8337
|
},
|
|
8338
8338
|
set(m) {
|
|
8339
8339
|
e("update:activity", {
|
|
@@ -8342,7 +8342,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8342
8342
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
8343
8343
|
});
|
|
8344
8344
|
}
|
|
8345
|
-
}),
|
|
8345
|
+
}), H = (m) => {
|
|
8346
8346
|
e("addFiles", {
|
|
8347
8347
|
activityId: a.activity.id,
|
|
8348
8348
|
files: m
|
|
@@ -8356,8 +8356,8 @@ const wn = /* @__PURE__ */ z({
|
|
|
8356
8356
|
value: m.id,
|
|
8357
8357
|
label: m.name
|
|
8358
8358
|
}))), q = S(() => {
|
|
8359
|
-
var
|
|
8360
|
-
const m = (ae = (J = (
|
|
8359
|
+
var L, J, ae;
|
|
8360
|
+
const m = (ae = (J = (L = a.activity) == null ? void 0 : L.project) == null ? void 0 : J.phases) == null ? void 0 : ae.reduce(
|
|
8361
8361
|
(le, ne) => [...le, ...ne.milestones],
|
|
8362
8362
|
[]
|
|
8363
8363
|
);
|
|
@@ -8365,7 +8365,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8365
8365
|
value: le.id,
|
|
8366
8366
|
label: le.name
|
|
8367
8367
|
}));
|
|
8368
|
-
}),
|
|
8368
|
+
}), O = (m) => {
|
|
8369
8369
|
a.activity && e("update:activity", {
|
|
8370
8370
|
id: a.activity.id,
|
|
8371
8371
|
projectId: m
|
|
@@ -8377,9 +8377,9 @@ const wn = /* @__PURE__ */ z({
|
|
|
8377
8377
|
});
|
|
8378
8378
|
}, R = S(() => {
|
|
8379
8379
|
var m;
|
|
8380
|
-
return (m = a.statuses) == null ? void 0 : m.map((
|
|
8381
|
-
value:
|
|
8382
|
-
label:
|
|
8380
|
+
return (m = a.statuses) == null ? void 0 : m.map((L) => ({
|
|
8381
|
+
value: L.id,
|
|
8382
|
+
label: L.name
|
|
8383
8383
|
}));
|
|
8384
8384
|
}), Z = (m) => {
|
|
8385
8385
|
e("update:activity", {
|
|
@@ -8391,16 +8391,16 @@ const wn = /* @__PURE__ */ z({
|
|
|
8391
8391
|
...m,
|
|
8392
8392
|
activityId: a.activity.id
|
|
8393
8393
|
});
|
|
8394
|
-
},
|
|
8394
|
+
}, E = (m) => {
|
|
8395
8395
|
e("updateComment", m);
|
|
8396
8396
|
}, N = (m) => {
|
|
8397
8397
|
e("removeComment", m);
|
|
8398
8398
|
}, M = S(() => {
|
|
8399
|
-
var m,
|
|
8400
|
-
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((
|
|
8399
|
+
var m, L;
|
|
8400
|
+
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((L = a.activity.createdBy) == null ? void 0 : L.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
8402
|
-
return (m,
|
|
8403
|
-
onClose:
|
|
8402
|
+
return (m, L) => (p(), P(In, {
|
|
8403
|
+
onClose: L[10] || (L[10] = (J) => m.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
8405
|
default: W(() => {
|
|
8406
8406
|
var J, ae, le;
|
|
@@ -8415,8 +8415,8 @@ const wn = /* @__PURE__ */ z({
|
|
|
8415
8415
|
variant: "solid",
|
|
8416
8416
|
color: "primary",
|
|
8417
8417
|
class: "ao-activity__ao-tag"
|
|
8418
|
-
}, null, 8, ["label"])) :
|
|
8419
|
-
m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) :
|
|
8418
|
+
}, null, 8, ["label"])) : T("", !0),
|
|
8419
|
+
m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
|
|
8420
8420
|
A(ye, {
|
|
8421
8421
|
title: m.activity.name || "",
|
|
8422
8422
|
level: 4,
|
|
@@ -8432,9 +8432,9 @@ const wn = /* @__PURE__ */ z({
|
|
|
8432
8432
|
searchable: !0,
|
|
8433
8433
|
disabled: !n.value,
|
|
8434
8434
|
caret: n.value,
|
|
8435
|
-
onChange:
|
|
8435
|
+
onChange: O
|
|
8436
8436
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8437
|
-
])) :
|
|
8437
|
+
])) : T("", !0),
|
|
8438
8438
|
q.value ? (p(), g("label", $f, [
|
|
8439
8439
|
v("span", kf, G(m.$t("activity.milestone.label")), 1),
|
|
8440
8440
|
A($e, {
|
|
@@ -8445,7 +8445,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8445
8445
|
caret: n.value,
|
|
8446
8446
|
onChange: x
|
|
8447
8447
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8448
|
-
])) :
|
|
8448
|
+
])) : T("", !0)
|
|
8449
8449
|
]),
|
|
8450
8450
|
te(m.$slots, "header")
|
|
8451
8451
|
]),
|
|
@@ -8455,18 +8455,18 @@ const wn = /* @__PURE__ */ z({
|
|
|
8455
8455
|
A(af, {
|
|
8456
8456
|
attachments: m.activity.attachments,
|
|
8457
8457
|
"is-editable": m.attachmentEnabled && n.value && m.isTemplate !== !0 && !!m.userId,
|
|
8458
|
-
onAdd:
|
|
8458
|
+
onAdd: H,
|
|
8459
8459
|
onRemove: F
|
|
8460
8460
|
}, {
|
|
8461
8461
|
default: W(() => [
|
|
8462
|
-
v("label",
|
|
8463
|
-
v("span",
|
|
8462
|
+
v("label", Tf, [
|
|
8463
|
+
v("span", Of, G(m.$t("activity.description.label")), 1),
|
|
8464
8464
|
Ke(v("textarea", {
|
|
8465
|
-
"onUpdate:modelValue":
|
|
8465
|
+
"onUpdate:modelValue": L[0] || (L[0] = (ne) => o.value = ne),
|
|
8466
8466
|
readonly: !n.value,
|
|
8467
8467
|
rows: "4",
|
|
8468
8468
|
class: "ao-field__textarea"
|
|
8469
|
-
}, null, 8,
|
|
8469
|
+
}, null, 8, Ef), [
|
|
8470
8470
|
[
|
|
8471
8471
|
ut,
|
|
8472
8472
|
o.value,
|
|
@@ -8486,7 +8486,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8486
8486
|
v("label", Lf, [
|
|
8487
8487
|
v("span", Hf, G(m.$t("activity.estimation.label")), 1),
|
|
8488
8488
|
Ke(v("input", {
|
|
8489
|
-
"onUpdate:modelValue":
|
|
8489
|
+
"onUpdate:modelValue": L[1] || (L[1] = (ne) => i.value = ne),
|
|
8490
8490
|
readonly: !n.value,
|
|
8491
8491
|
class: "ao-field__input ao-field__input--estim",
|
|
8492
8492
|
type: "number",
|
|
@@ -8541,17 +8541,17 @@ const wn = /* @__PURE__ */ z({
|
|
|
8541
8541
|
users: m.users,
|
|
8542
8542
|
"user-id": m.userId,
|
|
8543
8543
|
onCreateComment: ie,
|
|
8544
|
-
onUpdateComment:
|
|
8544
|
+
onUpdateComment: E,
|
|
8545
8545
|
onRemoveComment: N
|
|
8546
8546
|
}, null, 8, ["comments", "users", "user-id"])
|
|
8547
|
-
])) :
|
|
8547
|
+
])) : T("", !0)
|
|
8548
8548
|
])
|
|
8549
8549
|
]),
|
|
8550
8550
|
v("div", jf, [
|
|
8551
8551
|
v("div", Ff, [
|
|
8552
8552
|
A(pe, {
|
|
8553
8553
|
name: "CloseRounded",
|
|
8554
|
-
onClick:
|
|
8554
|
+
onClick: L[2] || (L[2] = (ne) => m.$emit("close"))
|
|
8555
8555
|
})
|
|
8556
8556
|
]),
|
|
8557
8557
|
R.value ? (p(), g("div", Uf, [
|
|
@@ -8568,13 +8568,13 @@ const wn = /* @__PURE__ */ z({
|
|
|
8568
8568
|
onChange: Z
|
|
8569
8569
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8570
8570
|
])
|
|
8571
|
-
])) :
|
|
8571
|
+
])) : T("", !0),
|
|
8572
8572
|
v("div", qf, [
|
|
8573
8573
|
v("div", zf, [
|
|
8574
8574
|
v("span", xf, G(m.$t("activity.assignee.label")), 1),
|
|
8575
8575
|
A($e, {
|
|
8576
8576
|
modelValue: I.value,
|
|
8577
|
-
"onUpdate:modelValue":
|
|
8577
|
+
"onUpdate:modelValue": L[3] || (L[3] = (ne) => I.value = ne),
|
|
8578
8578
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8579
8579
|
options: D.value,
|
|
8580
8580
|
"close-on-select": !0,
|
|
@@ -8605,7 +8605,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8605
8605
|
v("label", Gf, [
|
|
8606
8606
|
v("span", Xf, G(m.$t("activity.deadline.label")), 1),
|
|
8607
8607
|
Ke(v("input", {
|
|
8608
|
-
"onUpdate:modelValue":
|
|
8608
|
+
"onUpdate:modelValue": L[4] || (L[4] = (ne) => c.value = ne),
|
|
8609
8609
|
readonly: !n.value,
|
|
8610
8610
|
class: "ao-field__input",
|
|
8611
8611
|
type: "date"
|
|
@@ -8618,14 +8618,14 @@ const wn = /* @__PURE__ */ z({
|
|
|
8618
8618
|
]
|
|
8619
8619
|
])
|
|
8620
8620
|
])
|
|
8621
|
-
])) :
|
|
8621
|
+
])) : T("", !0)
|
|
8622
8622
|
]),
|
|
8623
8623
|
v("div", Jf, [
|
|
8624
8624
|
u.value ? (p(), g("div", ev, [
|
|
8625
8625
|
v("label", tv, [
|
|
8626
8626
|
A($e, {
|
|
8627
8627
|
modelValue: f.value,
|
|
8628
|
-
"onUpdate:modelValue":
|
|
8628
|
+
"onUpdate:modelValue": L[5] || (L[5] = (ne) => f.value = ne),
|
|
8629
8629
|
class: "ao-activity-details__multiselect",
|
|
8630
8630
|
mode: "single",
|
|
8631
8631
|
searchable: !0,
|
|
@@ -8635,13 +8635,13 @@ const wn = /* @__PURE__ */ z({
|
|
|
8635
8635
|
caret: n.value
|
|
8636
8636
|
}, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
8637
8637
|
])
|
|
8638
|
-
])) :
|
|
8638
|
+
])) : T("", !0),
|
|
8639
8639
|
te(m.$slots, "default", { activity: m.activity })
|
|
8640
8640
|
]),
|
|
8641
8641
|
v("div", av, [
|
|
8642
8642
|
A(wn, {
|
|
8643
8643
|
modelValue: r.value,
|
|
8644
|
-
"onUpdate:modelValue":
|
|
8644
|
+
"onUpdate:modelValue": L[6] || (L[6] = (ne) => r.value = ne),
|
|
8645
8645
|
modelModifiers: { lazy: !0 },
|
|
8646
8646
|
label: m.$t("activity.important.label"),
|
|
8647
8647
|
disabled: !n.value,
|
|
@@ -8656,7 +8656,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8656
8656
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", nv, [
|
|
8657
8657
|
A(wn, {
|
|
8658
8658
|
modelValue: l.value,
|
|
8659
|
-
"onUpdate:modelValue":
|
|
8659
|
+
"onUpdate:modelValue": L[7] || (L[7] = (ne) => l.value = ne),
|
|
8660
8660
|
modelModifiers: { lazy: !0 },
|
|
8661
8661
|
label: m.$t("activity.private.label"),
|
|
8662
8662
|
disabled: !n.value,
|
|
@@ -8666,7 +8666,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8666
8666
|
class: "ao-field__input",
|
|
8667
8667
|
size: "sm"
|
|
8668
8668
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8669
|
-
])) :
|
|
8669
|
+
])) : T("", !0),
|
|
8670
8670
|
v("fieldset", sv, [
|
|
8671
8671
|
v("div", iv, [
|
|
8672
8672
|
A(pe, { name: "FlowsheetOutlineRounded" }),
|
|
@@ -8681,7 +8681,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8681
8681
|
v("span", uv, G(m.$t("activity.dependingOn.label")), 1),
|
|
8682
8682
|
A($e, {
|
|
8683
8683
|
modelValue: h.value,
|
|
8684
|
-
"onUpdate:modelValue":
|
|
8684
|
+
"onUpdate:modelValue": L[8] || (L[8] = (ne) => h.value = ne),
|
|
8685
8685
|
class: "ao-activity-details__multiselect",
|
|
8686
8686
|
mode: "tags",
|
|
8687
8687
|
"close-on-select": !1,
|
|
@@ -8697,7 +8697,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8697
8697
|
v("span", pv, G(m.$t("activity.blocking.label")), 1),
|
|
8698
8698
|
A($e, {
|
|
8699
8699
|
modelValue: b.value,
|
|
8700
|
-
"onUpdate:modelValue":
|
|
8700
|
+
"onUpdate:modelValue": L[9] || (L[9] = (ne) => b.value = ne),
|
|
8701
8701
|
class: "ao-activity-details__multiselect",
|
|
8702
8702
|
mode: "tags",
|
|
8703
8703
|
"close-on-select": !1,
|
|
@@ -8718,7 +8718,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8718
8718
|
}, null, 8, ["user-name"]),
|
|
8719
8719
|
v("span", null, G(M.value), 1)
|
|
8720
8720
|
])
|
|
8721
|
-
])) :
|
|
8721
|
+
])) : T("", !0)
|
|
8722
8722
|
])
|
|
8723
8723
|
])
|
|
8724
8724
|
];
|
|
@@ -8921,7 +8921,7 @@ const _v = {
|
|
|
8921
8921
|
},
|
|
8922
8922
|
emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
|
|
8923
8923
|
setup(t, { emit: e }) {
|
|
8924
|
-
const a = t, { t: n } =
|
|
8924
|
+
const a = t, { t: n } = Tt(), s = S(
|
|
8925
8925
|
() => {
|
|
8926
8926
|
var M;
|
|
8927
8927
|
return (M = a.templates) == null ? void 0 : M.find((m) => m.id === a.templateId);
|
|
@@ -8941,7 +8941,7 @@ const _v = {
|
|
|
8941
8941
|
);
|
|
8942
8942
|
const i = S(() => {
|
|
8943
8943
|
var M, m;
|
|
8944
|
-
return (m = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : m.find((
|
|
8944
|
+
return (m = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : m.find((L) => L.id === a.phaseId);
|
|
8945
8945
|
});
|
|
8946
8946
|
de(
|
|
8947
8947
|
() => {
|
|
@@ -8955,7 +8955,7 @@ const _v = {
|
|
|
8955
8955
|
const r = S(() => {
|
|
8956
8956
|
var M, m;
|
|
8957
8957
|
return (m = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : m.find(
|
|
8958
|
-
(
|
|
8958
|
+
(L) => L.id === a.milestoneId
|
|
8959
8959
|
);
|
|
8960
8960
|
});
|
|
8961
8961
|
de(
|
|
@@ -8969,23 +8969,23 @@ const _v = {
|
|
|
8969
8969
|
);
|
|
8970
8970
|
const l = S(() => {
|
|
8971
8971
|
var M, m;
|
|
8972
|
-
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((
|
|
8972
|
+
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((L, J) => {
|
|
8973
8973
|
const ae = J.milestones || [];
|
|
8974
|
-
return [...
|
|
8974
|
+
return [...L, ...ae];
|
|
8975
8975
|
}, [])) || [];
|
|
8976
8976
|
}), c = S(() => {
|
|
8977
8977
|
var M, m;
|
|
8978
|
-
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((
|
|
8978
|
+
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((L, J) => {
|
|
8979
8979
|
const le = (J.milestones || []).reduce(
|
|
8980
8980
|
(ne, re) => re.activities ? [...ne, ...re.activities] : ne,
|
|
8981
8981
|
[]
|
|
8982
8982
|
);
|
|
8983
|
-
return [...
|
|
8983
|
+
return [...L, ...le];
|
|
8984
8984
|
}, [])) || [];
|
|
8985
8985
|
}), u = S(() => {
|
|
8986
8986
|
var M, m;
|
|
8987
8987
|
return (m = (M = r.value) == null ? void 0 : M.activities) == null ? void 0 : m.find(
|
|
8988
|
-
(
|
|
8988
|
+
(L) => L.id === a.activityId
|
|
8989
8989
|
);
|
|
8990
8990
|
}), f = S(() => {
|
|
8991
8991
|
var M;
|
|
@@ -9033,7 +9033,7 @@ const _v = {
|
|
|
9033
9033
|
}, k = (M) => {
|
|
9034
9034
|
if (!i.value)
|
|
9035
9035
|
return;
|
|
9036
|
-
const { name: m, rank:
|
|
9036
|
+
const { name: m, rank: L } = Bt(
|
|
9037
9037
|
i.value.milestones,
|
|
9038
9038
|
"milestone",
|
|
9039
9039
|
n
|
|
@@ -9044,7 +9044,7 @@ const _v = {
|
|
|
9044
9044
|
phaseId: M.phaseId,
|
|
9045
9045
|
item: {
|
|
9046
9046
|
name: m,
|
|
9047
|
-
rank:
|
|
9047
|
+
rank: L,
|
|
9048
9048
|
phaseId: M.phaseId
|
|
9049
9049
|
}
|
|
9050
9050
|
});
|
|
@@ -9058,18 +9058,18 @@ const _v = {
|
|
|
9058
9058
|
}
|
|
9059
9059
|
});
|
|
9060
9060
|
}, C = (M) => {
|
|
9061
|
-
const { id: m, ...
|
|
9061
|
+
const { id: m, ...L } = M;
|
|
9062
9062
|
e("updateItem", {
|
|
9063
9063
|
itemType: Ce.MILESTONES,
|
|
9064
9064
|
id: m,
|
|
9065
9065
|
templateId: a.templateId,
|
|
9066
|
-
data:
|
|
9066
|
+
data: L
|
|
9067
9067
|
});
|
|
9068
9068
|
}, D = (M) => {
|
|
9069
9069
|
const { milestoneId: m } = M;
|
|
9070
9070
|
if (!r.value)
|
|
9071
9071
|
return;
|
|
9072
|
-
const { name:
|
|
9072
|
+
const { name: L, rank: J } = Bt(
|
|
9073
9073
|
r.value.activities,
|
|
9074
9074
|
"activity",
|
|
9075
9075
|
n
|
|
@@ -9078,43 +9078,43 @@ const _v = {
|
|
|
9078
9078
|
type: Ce.ACTIVITIES,
|
|
9079
9079
|
milestoneId: m,
|
|
9080
9080
|
templateId: a.templateId,
|
|
9081
|
-
item: { name:
|
|
9081
|
+
item: { name: L, rank: J, milestoneId: m }
|
|
9082
9082
|
});
|
|
9083
9083
|
}, I = (M) => {
|
|
9084
|
-
var m,
|
|
9084
|
+
var m, L;
|
|
9085
9085
|
e("removeItem", {
|
|
9086
9086
|
type: Ce.ACTIVITIES,
|
|
9087
9087
|
templateId: a.templateId,
|
|
9088
9088
|
phaseId: (m = i.value) == null ? void 0 : m.id,
|
|
9089
|
-
milestoneId: (
|
|
9089
|
+
milestoneId: (L = r.value) == null ? void 0 : L.id,
|
|
9090
9090
|
data: {
|
|
9091
9091
|
id: M.id
|
|
9092
9092
|
}
|
|
9093
9093
|
});
|
|
9094
|
-
},
|
|
9095
|
-
const { id: m, ...
|
|
9094
|
+
}, H = (M) => {
|
|
9095
|
+
const { id: m, ...L } = M;
|
|
9096
9096
|
e("updateItem", {
|
|
9097
9097
|
itemType: Ce.ACTIVITIES,
|
|
9098
9098
|
id: m,
|
|
9099
9099
|
templateId: a.templateId,
|
|
9100
|
-
data:
|
|
9100
|
+
data: L
|
|
9101
9101
|
});
|
|
9102
9102
|
}, F = ee(!1), U = () => {
|
|
9103
9103
|
F.value = !F.value;
|
|
9104
9104
|
}, q = () => {
|
|
9105
9105
|
e("addRule", { templateId: a.templateId });
|
|
9106
|
-
},
|
|
9106
|
+
}, O = (M) => {
|
|
9107
9107
|
e("removeRule", { id: M, templateId: a.templateId });
|
|
9108
9108
|
}, x = (M) => {
|
|
9109
9109
|
var m;
|
|
9110
9110
|
if (M.moved) {
|
|
9111
|
-
const
|
|
9111
|
+
const L = Ca(M, ((m = s.value) == null ? void 0 : m.phases) ?? []);
|
|
9112
9112
|
e("updateItem", {
|
|
9113
9113
|
itemType: Ce.PHASES,
|
|
9114
9114
|
id: M.moved.element.id,
|
|
9115
9115
|
templateId: a.templateId,
|
|
9116
9116
|
data: {
|
|
9117
|
-
rank:
|
|
9117
|
+
rank: L
|
|
9118
9118
|
}
|
|
9119
9119
|
});
|
|
9120
9120
|
}
|
|
@@ -9143,13 +9143,13 @@ const _v = {
|
|
|
9143
9143
|
templateId: a.templateId,
|
|
9144
9144
|
data: M
|
|
9145
9145
|
});
|
|
9146
|
-
},
|
|
9146
|
+
}, E = (M) => {
|
|
9147
9147
|
e("addFiles", M);
|
|
9148
9148
|
}, N = (M) => {
|
|
9149
9149
|
e("removeFile", M);
|
|
9150
9150
|
};
|
|
9151
9151
|
return (M, m) => {
|
|
9152
|
-
var
|
|
9152
|
+
var L, J, ae, le, ne, re;
|
|
9153
9153
|
return s.value ? (p(), g("div", _v, [
|
|
9154
9154
|
A(Ga, {
|
|
9155
9155
|
"can-go-back": !0,
|
|
@@ -9220,12 +9220,12 @@ const _v = {
|
|
|
9220
9220
|
key: 0,
|
|
9221
9221
|
"template-id": M.templateId,
|
|
9222
9222
|
phase: i.value,
|
|
9223
|
-
"milestone-id": (
|
|
9223
|
+
"milestone-id": (L = r.value) == null ? void 0 : L.id,
|
|
9224
9224
|
onAddMilestone: k,
|
|
9225
9225
|
onUpdateMilestone: C,
|
|
9226
9226
|
onUpdatePhase: y,
|
|
9227
9227
|
onRemoveMilestone: _
|
|
9228
|
-
}, null, 8, ["template-id", "phase", "milestone-id"])) :
|
|
9228
|
+
}, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
|
|
9229
9229
|
]),
|
|
9230
9230
|
v("li", Sv, [
|
|
9231
9231
|
i.value && r.value ? (p(), P(v5, {
|
|
@@ -9235,9 +9235,9 @@ const _v = {
|
|
|
9235
9235
|
milestone: r.value,
|
|
9236
9236
|
"activity-id": (ae = u.value) == null ? void 0 : ae.id,
|
|
9237
9237
|
onAddActivity: D,
|
|
9238
|
-
onUpdateActivity:
|
|
9238
|
+
onUpdateActivity: H,
|
|
9239
9239
|
onRemoveActivity: I
|
|
9240
|
-
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) :
|
|
9240
|
+
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : T("", !0)
|
|
9241
9241
|
])
|
|
9242
9242
|
])
|
|
9243
9243
|
]),
|
|
@@ -9254,21 +9254,21 @@ const _v = {
|
|
|
9254
9254
|
"is-editable": !0,
|
|
9255
9255
|
users: M.users,
|
|
9256
9256
|
"onUpdate:activity": m[2] || (m[2] = (Y) => {
|
|
9257
|
-
u.value &&
|
|
9257
|
+
u.value && H(Y);
|
|
9258
9258
|
}),
|
|
9259
9259
|
"attachment-enabled": !1,
|
|
9260
9260
|
onClose: M.$router.back,
|
|
9261
9261
|
onAddSubtask: R,
|
|
9262
9262
|
onUpdateSubtask: Z,
|
|
9263
9263
|
onDeleteSubtask: ie,
|
|
9264
|
-
onAddFiles:
|
|
9264
|
+
onAddFiles: E,
|
|
9265
9265
|
onRemoveFile: N
|
|
9266
9266
|
}, {
|
|
9267
9267
|
default: W((Y) => [
|
|
9268
9268
|
te(M.$slots, "activityDetailsBody", pa(fa(Y)))
|
|
9269
9269
|
]),
|
|
9270
9270
|
_: 3
|
|
9271
|
-
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) :
|
|
9271
|
+
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
9272
9272
|
])),
|
|
9273
9273
|
(p(), P(Nt, { to: "body" }, [
|
|
9274
9274
|
F.value ? (p(), P(gv, {
|
|
@@ -9280,17 +9280,17 @@ const _v = {
|
|
|
9280
9280
|
"template-activities": c.value,
|
|
9281
9281
|
onClose: U,
|
|
9282
9282
|
onAddRule: q,
|
|
9283
|
-
onRemoveRule:
|
|
9284
|
-
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) :
|
|
9283
|
+
onRemoveRule: O
|
|
9284
|
+
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
|
|
9285
9285
|
]))
|
|
9286
|
-
])) :
|
|
9286
|
+
])) : T("", !0);
|
|
9287
9287
|
};
|
|
9288
9288
|
}
|
|
9289
9289
|
});
|
|
9290
9290
|
const Mv = {
|
|
9291
9291
|
key: 0,
|
|
9292
9292
|
class: "ao-card__header"
|
|
9293
|
-
},
|
|
9293
|
+
}, Tv = { class: "ao-card__body" }, Ov = {
|
|
9294
9294
|
key: 1,
|
|
9295
9295
|
class: "ao-card__footer"
|
|
9296
9296
|
}, Wn = /* @__PURE__ */ z({
|
|
@@ -9313,13 +9313,13 @@ const Mv = {
|
|
|
9313
9313
|
default: W(() => [
|
|
9314
9314
|
e.$slots.header ? (p(), g("header", Mv, [
|
|
9315
9315
|
te(e.$slots, "header")
|
|
9316
|
-
])) :
|
|
9317
|
-
v("div",
|
|
9316
|
+
])) : T("", !0),
|
|
9317
|
+
v("div", Tv, [
|
|
9318
9318
|
te(e.$slots, "default")
|
|
9319
9319
|
]),
|
|
9320
|
-
e.$slots.footer ? (p(), g("footer",
|
|
9320
|
+
e.$slots.footer ? (p(), g("footer", Ov, [
|
|
9321
9321
|
te(e.$slots, "footer")
|
|
9322
|
-
])) :
|
|
9322
|
+
])) : T("", !0)
|
|
9323
9323
|
]),
|
|
9324
9324
|
_: 3
|
|
9325
9325
|
}, 8, ["class"]));
|
|
@@ -9345,7 +9345,7 @@ const qn = /* @__PURE__ */ z({
|
|
|
9345
9345
|
], 2));
|
|
9346
9346
|
}
|
|
9347
9347
|
});
|
|
9348
|
-
const
|
|
9348
|
+
const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-project-phase__footer" }, Lv = {
|
|
9349
9349
|
key: 0,
|
|
9350
9350
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9351
9351
|
}, Hv = { class: "ao-card-project-phase__subitem" }, Dv = { class: "ao-card-project-phase__subitem" }, Pv = {
|
|
@@ -9415,8 +9415,8 @@ const Ov = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9415
9415
|
}, null, 8, ["percentages"]),
|
|
9416
9416
|
c.$slots.secondary ? (p(), g("div", Pv, [
|
|
9417
9417
|
te(c.$slots, "secondary")
|
|
9418
|
-
])) :
|
|
9419
|
-
])) :
|
|
9418
|
+
])) : T("", !0)
|
|
9419
|
+
])) : T("", !0),
|
|
9420
9420
|
v("div", {
|
|
9421
9421
|
class: K(["ao-card-project-phase__footer-row", l.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
9422
9422
|
}, [
|
|
@@ -9432,8 +9432,8 @@ const Ov = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9432
9432
|
void 0,
|
|
9433
9433
|
{ lazy: !0 }
|
|
9434
9434
|
]
|
|
9435
|
-
]) :
|
|
9436
|
-
v("span", Vv, G(Q(
|
|
9435
|
+
]) : T("", !0),
|
|
9436
|
+
v("span", Vv, G(Q(Tn)(c.deadline)), 1)
|
|
9437
9437
|
], 2)
|
|
9438
9438
|
])
|
|
9439
9439
|
]),
|
|
@@ -9442,7 +9442,7 @@ const Ov = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9442
9442
|
c.isEditable ? {
|
|
9443
9443
|
name: "header",
|
|
9444
9444
|
fn: W(() => [
|
|
9445
|
-
v("div",
|
|
9445
|
+
v("div", Ev, [
|
|
9446
9446
|
A(ce, {
|
|
9447
9447
|
class: "ao-card-project-phase__archive",
|
|
9448
9448
|
color: "primary",
|
|
@@ -9512,7 +9512,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9512
9512
|
}), o = S(() => {
|
|
9513
9513
|
var l;
|
|
9514
9514
|
return (l = a.activities) == null ? void 0 : l.filter(
|
|
9515
|
-
(c) =>
|
|
9515
|
+
(c) => On(c, a.closedStatus)
|
|
9516
9516
|
).length;
|
|
9517
9517
|
}), i = S(() => (o.value || 0) / (s.value || 1)), r = (l) => {
|
|
9518
9518
|
e("updateMilestone", { id: a.id, name: l });
|
|
@@ -9552,7 +9552,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9552
9552
|
label: l.$t("archive"),
|
|
9553
9553
|
onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
|
|
9554
9554
|
}, null, 8, ["color", "label"])
|
|
9555
|
-
])) :
|
|
9555
|
+
])) : T("", !0)
|
|
9556
9556
|
]),
|
|
9557
9557
|
v("div", Uv, [
|
|
9558
9558
|
v("div", Zv, [
|
|
@@ -9568,10 +9568,10 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9568
9568
|
percentages: i.value,
|
|
9569
9569
|
class: "ao-card-project-milestone__progress"
|
|
9570
9570
|
}, null, 8, ["percentages"])
|
|
9571
|
-
], 64)) :
|
|
9571
|
+
], 64)) : T("", !0),
|
|
9572
9572
|
l.$slots.secondary ? (p(), g("div", zv, [
|
|
9573
9573
|
te(l.$slots, "secondary")
|
|
9574
|
-
])) :
|
|
9574
|
+
])) : T("", !0)
|
|
9575
9575
|
])
|
|
9576
9576
|
])
|
|
9577
9577
|
]),
|
|
@@ -9584,10 +9584,10 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9584
9584
|
l.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
9585
9585
|
),
|
|
9586
9586
|
size: "sm"
|
|
9587
|
-
}, null, 8, ["class"])) :
|
|
9587
|
+
}, null, 8, ["class"])) : T("", !0),
|
|
9588
9588
|
l.deadline ? (p(), g("label", Yv, [
|
|
9589
|
-
v("span", Kv, G(Q(
|
|
9590
|
-
])) :
|
|
9589
|
+
v("span", Kv, G(Q(Tn)(l.deadline)), 1)
|
|
9590
|
+
])) : T("", !0),
|
|
9591
9591
|
l.assignee ? (p(), g("div", Gv, [
|
|
9592
9592
|
A(Je, {
|
|
9593
9593
|
"user-name": Q(zs)(l.assignee),
|
|
@@ -9595,7 +9595,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9595
9595
|
color: l.isSelected ? "black" : "primary",
|
|
9596
9596
|
size: "sm"
|
|
9597
9597
|
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
9598
|
-
])) :
|
|
9598
|
+
])) : T("", !0)
|
|
9599
9599
|
])
|
|
9600
9600
|
]),
|
|
9601
9601
|
_: 3
|
|
@@ -9616,7 +9616,7 @@ const Qv = {
|
|
|
9616
9616
|
},
|
|
9617
9617
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "updatePhase", "archivePhase"],
|
|
9618
9618
|
setup(t, { emit: e }) {
|
|
9619
|
-
const a = t, { t: n } =
|
|
9619
|
+
const a = t, { t: n } = Tt();
|
|
9620
9620
|
de(
|
|
9621
9621
|
() => a.phase.milestones,
|
|
9622
9622
|
(d, h) => {
|
|
@@ -9629,7 +9629,7 @@ const Qv = {
|
|
|
9629
9629
|
e("updatePhase", { id: a.phase.id, deadline: d });
|
|
9630
9630
|
}, i = S(
|
|
9631
9631
|
() => a.phase.milestones.map(
|
|
9632
|
-
(d) =>
|
|
9632
|
+
(d) => O3(d, a.closedStatus)
|
|
9633
9633
|
)
|
|
9634
9634
|
), r = (d) => {
|
|
9635
9635
|
const { name: h, rank: w } = Bt(
|
|
@@ -9667,7 +9667,7 @@ const Qv = {
|
|
|
9667
9667
|
name: "DragIndicator",
|
|
9668
9668
|
class: "ao-project-phase__drag-handle"
|
|
9669
9669
|
})
|
|
9670
|
-
])) :
|
|
9670
|
+
])) : T("", !0),
|
|
9671
9671
|
v("div", Jv, [
|
|
9672
9672
|
A(Bv, {
|
|
9673
9673
|
id: d.phase.id,
|
|
@@ -9724,7 +9724,7 @@ const Qv = {
|
|
|
9724
9724
|
class: "ao-project-phase__milestone-add",
|
|
9725
9725
|
"icon-name": "Add",
|
|
9726
9726
|
onClick: h[0] || (h[0] = () => r(d.phase.id))
|
|
9727
|
-
}, null, 8, ["label"])) :
|
|
9727
|
+
}, null, 8, ["label"])) : T("", !0)
|
|
9728
9728
|
])
|
|
9729
9729
|
])
|
|
9730
9730
|
])
|
|
@@ -9806,7 +9806,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9806
9806
|
}, null, 8, ["label"])
|
|
9807
9807
|
]),
|
|
9808
9808
|
l9
|
|
9809
|
-
])) :
|
|
9809
|
+
])) : T("", !0)
|
|
9810
9810
|
]));
|
|
9811
9811
|
}
|
|
9812
9812
|
});
|
|
@@ -9933,95 +9933,95 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
9933
9933
|
},
|
|
9934
9934
|
emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "update:showsArchived"],
|
|
9935
9935
|
setup(t, { emit: e }) {
|
|
9936
|
-
const a = t, { t: n } =
|
|
9937
|
-
() => a.phases.flatMap((
|
|
9936
|
+
const a = t, { t: n } = Tt(), s = S(
|
|
9937
|
+
() => a.phases.flatMap((O) => O.milestones)
|
|
9938
9938
|
), o = () => {
|
|
9939
|
-
const { name:
|
|
9940
|
-
e("addPhase", { name:
|
|
9941
|
-
}, i = (
|
|
9942
|
-
e("updatePhase",
|
|
9943
|
-
}, r = (
|
|
9944
|
-
e("archivePhase",
|
|
9945
|
-
}, l = (
|
|
9946
|
-
e("addMilestone",
|
|
9947
|
-
}, c = (
|
|
9948
|
-
e("updateMilestone",
|
|
9949
|
-
}, u = (
|
|
9950
|
-
e("archiveMilestone",
|
|
9951
|
-
}, f = (
|
|
9952
|
-
e("addActivity",
|
|
9953
|
-
}, d = (
|
|
9954
|
-
e("update:activity",
|
|
9955
|
-
}, h = (
|
|
9956
|
-
e("archiveActivity",
|
|
9957
|
-
}, w = (
|
|
9958
|
-
e("unarchiveActivity",
|
|
9959
|
-
}, b = (
|
|
9960
|
-
e("addSubtask",
|
|
9961
|
-
}, y = (
|
|
9962
|
-
e("updateSubtask",
|
|
9963
|
-
}, k = (
|
|
9964
|
-
e("deleteSubtask",
|
|
9939
|
+
const { name: O, rank: x } = Bt(a.phases, "phase", n);
|
|
9940
|
+
e("addPhase", { name: O, rank: x, projectId: a.project.id });
|
|
9941
|
+
}, i = (O) => {
|
|
9942
|
+
e("updatePhase", O);
|
|
9943
|
+
}, r = (O) => {
|
|
9944
|
+
e("archivePhase", O);
|
|
9945
|
+
}, l = (O) => {
|
|
9946
|
+
e("addMilestone", O);
|
|
9947
|
+
}, c = (O) => {
|
|
9948
|
+
e("updateMilestone", O);
|
|
9949
|
+
}, u = (O) => {
|
|
9950
|
+
e("archiveMilestone", O);
|
|
9951
|
+
}, f = (O) => {
|
|
9952
|
+
e("addActivity", O);
|
|
9953
|
+
}, d = (O) => {
|
|
9954
|
+
e("update:activity", O);
|
|
9955
|
+
}, h = (O) => {
|
|
9956
|
+
e("archiveActivity", O);
|
|
9957
|
+
}, w = (O) => {
|
|
9958
|
+
e("unarchiveActivity", O);
|
|
9959
|
+
}, b = (O) => {
|
|
9960
|
+
e("addSubtask", O);
|
|
9961
|
+
}, y = (O) => {
|
|
9962
|
+
e("updateSubtask", O);
|
|
9963
|
+
}, k = (O) => {
|
|
9964
|
+
e("deleteSubtask", O);
|
|
9965
9965
|
}, _ = S(
|
|
9966
|
-
() => s.value.flatMap((
|
|
9967
|
-
), C = (
|
|
9968
|
-
e("addFiles",
|
|
9969
|
-
}, D = (
|
|
9970
|
-
e("removeFile",
|
|
9971
|
-
}, I = (
|
|
9972
|
-
e("addComment",
|
|
9973
|
-
},
|
|
9974
|
-
e("updateComment",
|
|
9975
|
-
}, F = (
|
|
9976
|
-
e("removeComment",
|
|
9977
|
-
}, U = ee(!1), q = (
|
|
9978
|
-
e("applyTemplate", { templateId:
|
|
9966
|
+
() => s.value.flatMap((O) => O.activities)
|
|
9967
|
+
), C = (O) => {
|
|
9968
|
+
e("addFiles", O);
|
|
9969
|
+
}, D = (O) => {
|
|
9970
|
+
e("removeFile", O);
|
|
9971
|
+
}, I = (O) => {
|
|
9972
|
+
e("addComment", O);
|
|
9973
|
+
}, H = (O) => {
|
|
9974
|
+
e("updateComment", O);
|
|
9975
|
+
}, F = (O) => {
|
|
9976
|
+
e("removeComment", O);
|
|
9977
|
+
}, U = ee(!1), q = (O, x) => {
|
|
9978
|
+
e("applyTemplate", { templateId: O, projectId: x }), U.value = !1;
|
|
9979
9979
|
};
|
|
9980
|
-
return (
|
|
9980
|
+
return (O, x) => {
|
|
9981
9981
|
const R = Ye("RouterView");
|
|
9982
9982
|
return p(), g(ve, null, [
|
|
9983
|
-
v("div", He({ class: "ao-project-overview" },
|
|
9983
|
+
v("div", He({ class: "ao-project-overview" }, O.$attrs), [
|
|
9984
9984
|
v("div", g9, [
|
|
9985
9985
|
A(Ga, null, {
|
|
9986
9986
|
primary: W(() => [
|
|
9987
9987
|
A(ci, {
|
|
9988
9988
|
"is-left": !0,
|
|
9989
|
-
"right-label":
|
|
9990
|
-
"left-label":
|
|
9989
|
+
"right-label": O.$t("project.switch.feed"),
|
|
9990
|
+
"left-label": O.$t("project.switch.overview"),
|
|
9991
9991
|
"onUpdate:isLeft": x[0] || (x[0] = (Z) => {
|
|
9992
|
-
Z ||
|
|
9992
|
+
Z || O.$router.push({ name: Q(Fe).feed });
|
|
9993
9993
|
})
|
|
9994
9994
|
}, null, 8, ["right-label", "left-label"]),
|
|
9995
9995
|
A(ce, {
|
|
9996
9996
|
class: "ao-feed__show-archived",
|
|
9997
9997
|
size: "sm",
|
|
9998
|
-
"icon-name":
|
|
9998
|
+
"icon-name": O.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
9999
9999
|
"icon-position": "start",
|
|
10000
10000
|
color: "primary",
|
|
10001
10001
|
variant: "ghost",
|
|
10002
|
-
label:
|
|
10002
|
+
label: O.$t("feed.filters.showsArchived.label"),
|
|
10003
10003
|
role: "checkbox",
|
|
10004
|
-
"aria-checked":
|
|
10005
|
-
onClick: x[1] || (x[1] = (Z) =>
|
|
10004
|
+
"aria-checked": O.showsArchived,
|
|
10005
|
+
onClick: x[1] || (x[1] = (Z) => O.$emit("update:showsArchived", !O.showsArchived))
|
|
10006
10006
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
10007
10007
|
]),
|
|
10008
10008
|
secondary: W(() => [
|
|
10009
|
-
|
|
10009
|
+
O.isEditable === !0 ? (p(), P(ce, {
|
|
10010
10010
|
key: 0,
|
|
10011
10011
|
class: "ao-project-overview__add-template",
|
|
10012
10012
|
color: "primary",
|
|
10013
|
-
label:
|
|
10013
|
+
label: O.$t("project.template.add.label"),
|
|
10014
10014
|
onClick: x[2] || (x[2] = (Z) => U.value = !0)
|
|
10015
|
-
}, null, 8, ["label"])) :
|
|
10015
|
+
}, null, 8, ["label"])) : T("", !0)
|
|
10016
10016
|
]),
|
|
10017
10017
|
_: 1
|
|
10018
10018
|
}),
|
|
10019
10019
|
v("div", _9, [
|
|
10020
10020
|
A(u9, {
|
|
10021
|
-
phases:
|
|
10022
|
-
"closed-status":
|
|
10023
|
-
"is-editable":
|
|
10024
|
-
users:
|
|
10021
|
+
phases: O.phases,
|
|
10022
|
+
"closed-status": O.closedStatus,
|
|
10023
|
+
"is-editable": O.isEditable === !0,
|
|
10024
|
+
users: O.users,
|
|
10025
10025
|
onAddMilestone: l,
|
|
10026
10026
|
onUpdateMilestone: c,
|
|
10027
10027
|
onArchiveMilestone: u,
|
|
@@ -10033,13 +10033,13 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10033
10033
|
]),
|
|
10034
10034
|
A(R, {
|
|
10035
10035
|
class: "ao-project__sidebar",
|
|
10036
|
-
phases:
|
|
10037
|
-
"project-id":
|
|
10038
|
-
"project-name":
|
|
10039
|
-
users:
|
|
10040
|
-
"is-editable":
|
|
10041
|
-
"closed-status":
|
|
10042
|
-
onClose: x[3] || (x[3] = (Z) =>
|
|
10036
|
+
phases: O.phases,
|
|
10037
|
+
"project-id": O.project.id,
|
|
10038
|
+
"project-name": O.project.name,
|
|
10039
|
+
users: O.users,
|
|
10040
|
+
"is-editable": O.isEditable === !0,
|
|
10041
|
+
"closed-status": O.closedStatus,
|
|
10042
|
+
onClose: x[3] || (x[3] = (Z) => O.$router.push({ name: Q(Fe).project })),
|
|
10043
10043
|
onUpdateMilestone: c,
|
|
10044
10044
|
onAddActivity: f,
|
|
10045
10045
|
onUpdateActivity: d,
|
|
@@ -10050,15 +10050,15 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10050
10050
|
A(R, {
|
|
10051
10051
|
name: "modal",
|
|
10052
10052
|
activities: _.value,
|
|
10053
|
-
"is-task-checkable":
|
|
10054
|
-
statuses:
|
|
10055
|
-
"activity-types":
|
|
10056
|
-
phases:
|
|
10057
|
-
project:
|
|
10058
|
-
users:
|
|
10059
|
-
"user-id":
|
|
10060
|
-
"is-editable":
|
|
10061
|
-
"attachment-enabled":
|
|
10053
|
+
"is-task-checkable": O.isTaskCheckable,
|
|
10054
|
+
statuses: O.statuses,
|
|
10055
|
+
"activity-types": O.activityTypes,
|
|
10056
|
+
phases: O.phases,
|
|
10057
|
+
project: O.project,
|
|
10058
|
+
users: O.users,
|
|
10059
|
+
"user-id": O.userId,
|
|
10060
|
+
"is-editable": O.isEditable,
|
|
10061
|
+
"attachment-enabled": O.attachmentEnabled,
|
|
10062
10062
|
"onUpdate:activity": d,
|
|
10063
10063
|
onAddSubtask: b,
|
|
10064
10064
|
onUpdateSubtask: y,
|
|
@@ -10066,13 +10066,13 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10066
10066
|
onAddFiles: C,
|
|
10067
10067
|
onRemoveFile: D,
|
|
10068
10068
|
onAddComment: I,
|
|
10069
|
-
onUpdateComment:
|
|
10069
|
+
onUpdateComment: H,
|
|
10070
10070
|
onRemoveComment: F
|
|
10071
10071
|
}, {
|
|
10072
10072
|
default: W(({ Component: Z }) => [
|
|
10073
10073
|
(p(), P(ht(Z), null, {
|
|
10074
10074
|
default: W((ie) => [
|
|
10075
|
-
te(
|
|
10075
|
+
te(O.$slots, "activityDetailsBody", pa(fa(ie)))
|
|
10076
10076
|
]),
|
|
10077
10077
|
_: 2
|
|
10078
10078
|
}, 1024))
|
|
@@ -10084,11 +10084,11 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10084
10084
|
(p(), P(Nt, { to: "body" }, [
|
|
10085
10085
|
U.value ? (p(), P(v9, {
|
|
10086
10086
|
key: 0,
|
|
10087
|
-
"project-id":
|
|
10088
|
-
templates:
|
|
10087
|
+
"project-id": O.project.id,
|
|
10088
|
+
templates: O.templates,
|
|
10089
10089
|
onClose: x[4] || (x[4] = (Z) => U.value = !1),
|
|
10090
10090
|
onApply: q
|
|
10091
|
-
}, null, 8, ["project-id", "templates"])) :
|
|
10091
|
+
}, null, 8, ["project-id", "templates"])) : T("", !0)
|
|
10092
10092
|
]))
|
|
10093
10093
|
], 64);
|
|
10094
10094
|
};
|
|
@@ -10105,13 +10105,13 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10105
10105
|
class: "ao-card-feed__breadcrumbs"
|
|
10106
10106
|
}, A9 = {
|
|
10107
10107
|
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10108
|
-
}, M9 = { class: "ao-card-feed__title-line" },
|
|
10108
|
+
}, M9 = { class: "ao-card-feed__title-line" }, T9 = {
|
|
10109
10109
|
key: 0,
|
|
10110
10110
|
class: "ao-card-feed__slug"
|
|
10111
|
-
},
|
|
10111
|
+
}, O9 = {
|
|
10112
10112
|
key: 1,
|
|
10113
10113
|
class: "ao-card-feed__deadline"
|
|
10114
|
-
},
|
|
10114
|
+
}, E9 = { class: "ao-card-feed__footer" }, I9 = { class: "ao-card-feed__footer-row" }, L9 = { class: "ao-assignees" }, H9 = {
|
|
10115
10115
|
key: 0,
|
|
10116
10116
|
class: "ao-assignee"
|
|
10117
10117
|
}, D9 = {
|
|
@@ -10155,7 +10155,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10155
10155
|
id: a.id,
|
|
10156
10156
|
name: h
|
|
10157
10157
|
});
|
|
10158
|
-
}, i = S(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = S(() => a.assignee ? [a.assignee] : []), l = S(() =>
|
|
10158
|
+
}, i = S(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = S(() => a.assignee ? [a.assignee] : []), l = S(() => Tn(a.deadline)), c = (h) => {
|
|
10159
10159
|
e("removeAssignee", h);
|
|
10160
10160
|
}, u = S(() => {
|
|
10161
10161
|
var h;
|
|
@@ -10177,37 +10177,37 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10177
10177
|
variant: "solid",
|
|
10178
10178
|
color: h.projectColor ? void 0 : "primary",
|
|
10179
10179
|
"raw-color": s.value
|
|
10180
|
-
}, null, 8, ["label", "color", "raw-color"])) :
|
|
10180
|
+
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10181
10181
|
h.isPrivate || h.important || h.isClosed ? (p(), g("div", w9, [
|
|
10182
10182
|
h.isPrivate ? (p(), P(pe, {
|
|
10183
10183
|
key: 0,
|
|
10184
10184
|
name: "Lock",
|
|
10185
10185
|
class: "ao-card-feed__warning",
|
|
10186
10186
|
size: "sm"
|
|
10187
|
-
})) :
|
|
10187
|
+
})) : T("", !0),
|
|
10188
10188
|
h.important ? (p(), P(pe, {
|
|
10189
10189
|
key: 1,
|
|
10190
10190
|
name: "FlagRounded",
|
|
10191
10191
|
class: "ao-card-feed__important",
|
|
10192
10192
|
size: "sm"
|
|
10193
|
-
})) :
|
|
10193
|
+
})) : T("", !0),
|
|
10194
10194
|
h.isClosed ? (p(), P(pe, {
|
|
10195
10195
|
key: 2,
|
|
10196
10196
|
name: "CheckSmallRounded",
|
|
10197
10197
|
class: "ao-card-feed__closed"
|
|
10198
|
-
})) :
|
|
10199
|
-
])) :
|
|
10198
|
+
})) : T("", !0)
|
|
10199
|
+
])) : T("", !0),
|
|
10200
10200
|
h.$slots.secondary ? (p(), g("div", $9, [
|
|
10201
10201
|
te(h.$slots, "secondary")
|
|
10202
|
-
])) :
|
|
10202
|
+
])) : T("", !0)
|
|
10203
10203
|
])
|
|
10204
10204
|
]),
|
|
10205
10205
|
default: W(() => [
|
|
10206
10206
|
v("div", k9, [
|
|
10207
|
-
i.value ? (p(), g("span", S9, G(i.value), 1)) :
|
|
10207
|
+
i.value ? (p(), g("span", S9, G(i.value), 1)) : T("", !0),
|
|
10208
10208
|
v("div", A9, [
|
|
10209
10209
|
v("div", M9, [
|
|
10210
|
-
h.slug ? (p(), g("span",
|
|
10210
|
+
h.slug ? (p(), g("span", T9, G(h.slug) + ": ", 1)) : T("", !0),
|
|
10211
10211
|
A(ye, {
|
|
10212
10212
|
id: h.id,
|
|
10213
10213
|
title: h.name,
|
|
@@ -10218,11 +10218,11 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10218
10218
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10219
10219
|
])
|
|
10220
10220
|
]),
|
|
10221
|
-
h.deadline ? (p(), g("span",
|
|
10221
|
+
h.deadline ? (p(), g("span", O9, G(l.value), 1)) : T("", !0)
|
|
10222
10222
|
])
|
|
10223
10223
|
]),
|
|
10224
10224
|
footer: W(() => [
|
|
10225
|
-
v("div",
|
|
10225
|
+
v("div", E9, [
|
|
10226
10226
|
v("div", I9, [
|
|
10227
10227
|
v("ul", L9, [
|
|
10228
10228
|
(p(!0), g(ve, null, _e(r.value, (b) => (p(), g(ve, {
|
|
@@ -10235,7 +10235,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10235
10235
|
"is-closable": !0,
|
|
10236
10236
|
onClose: () => c(b.id)
|
|
10237
10237
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
10238
|
-
])) :
|
|
10238
|
+
])) : T("", !0)
|
|
10239
10239
|
], 64))), 128))
|
|
10240
10240
|
]),
|
|
10241
10241
|
h.comments || h.attachments ? (p(), g("ul", D9, [
|
|
@@ -10245,15 +10245,15 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10245
10245
|
size: "sm"
|
|
10246
10246
|
}),
|
|
10247
10247
|
v("span", V9, G(h.comments), 1)
|
|
10248
|
-
])) :
|
|
10248
|
+
])) : T("", !0),
|
|
10249
10249
|
h.attachments ? (p(), g("li", B9, [
|
|
10250
10250
|
A(pe, {
|
|
10251
10251
|
name: "AttachFileRounded",
|
|
10252
10252
|
size: "sm"
|
|
10253
10253
|
}),
|
|
10254
10254
|
v("span", R9, G(h.attachments), 1)
|
|
10255
|
-
])) :
|
|
10256
|
-
])) :
|
|
10255
|
+
])) : T("", !0)
|
|
10256
|
+
])) : T("", !0)
|
|
10257
10257
|
]),
|
|
10258
10258
|
v("div", N9, [
|
|
10259
10259
|
h.tasks && h.tasks.length ? (p(), g("div", j9, [
|
|
@@ -10268,7 +10268,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10268
10268
|
percentages: d.value,
|
|
10269
10269
|
class: "ao-card-feed__progress"
|
|
10270
10270
|
}, null, 8, ["percentages"])
|
|
10271
|
-
])) :
|
|
10271
|
+
])) : T("", !0)
|
|
10272
10272
|
])
|
|
10273
10273
|
])
|
|
10274
10274
|
]),
|
|
@@ -10744,7 +10744,7 @@ const J9 = /* @__PURE__ */ A(
|
|
|
10744
10744
|
);
|
|
10745
10745
|
function a4(t, e, a, n, s, o) {
|
|
10746
10746
|
return p(), P("div", null, [
|
|
10747
|
-
t.isSucking ?
|
|
10747
|
+
t.isSucking ? T("v-if", !0) : (p(), P(
|
|
10748
10748
|
"svg",
|
|
10749
10749
|
{
|
|
10750
10750
|
key: 0,
|
|
@@ -10761,7 +10761,7 @@ function a4(t, e, a, n, s, o) {
|
|
|
10761
10761
|
)),
|
|
10762
10762
|
t.isSucking ? (p(), P("svg", e4, [
|
|
10763
10763
|
t4
|
|
10764
|
-
])) :
|
|
10764
|
+
])) : T("v-if", !0)
|
|
10765
10765
|
]);
|
|
10766
10766
|
}
|
|
10767
10767
|
Xn.render = a4;
|
|
@@ -10938,7 +10938,7 @@ function l4(t, e, a, n, s, o) {
|
|
|
10938
10938
|
128
|
|
10939
10939
|
/* KEYED_FRAGMENT */
|
|
10940
10940
|
))
|
|
10941
|
-
])) :
|
|
10941
|
+
])) : T("v-if", !0)
|
|
10942
10942
|
]);
|
|
10943
10943
|
}
|
|
10944
10944
|
Jn.render = l4;
|
|
@@ -11162,7 +11162,7 @@ function c4(t, e, a, n, s, o) {
|
|
|
11162
11162
|
width: t.previewWidth,
|
|
11163
11163
|
height: t.previewHeight
|
|
11164
11164
|
}, null, 8, ["color", "width", "height"]),
|
|
11165
|
-
t.suckerHide ?
|
|
11165
|
+
t.suckerHide ? T("v-if", !0) : (p(), P(u, {
|
|
11166
11166
|
key: 0,
|
|
11167
11167
|
"sucker-canvas": t.suckerCanvas,
|
|
11168
11168
|
"sucker-area": t.suckerArea,
|
|
@@ -11193,7 +11193,7 @@ function c4(t, e, a, n, s, o) {
|
|
|
11193
11193
|
"colors-history-key": t.colorsHistoryKey,
|
|
11194
11194
|
onSelectColor: t.selectColor
|
|
11195
11195
|
}, null, 8, ["color", "colors-default", "colors-history-key", "onSelectColor"]),
|
|
11196
|
-
|
|
11196
|
+
T(" custom options "),
|
|
11197
11197
|
te(t.$slots, "default")
|
|
11198
11198
|
],
|
|
11199
11199
|
6
|
|
@@ -11244,7 +11244,7 @@ function f4(t, e, a, n, s, o) {
|
|
|
11244
11244
|
theme: "light",
|
|
11245
11245
|
color: a.color,
|
|
11246
11246
|
onChangeColor: o.changeColor
|
|
11247
|
-
}, null, 8, ["color", "onChangeColor"])) :
|
|
11247
|
+
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11248
11248
|
]);
|
|
11249
11249
|
}
|
|
11250
11250
|
const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-milestone" }, m4 = { class: "ao-project-milestone__header" }, C4 = { class: "ao-project-milestone__header_line" }, g4 = { class: "ao-project-milestone__header_line" }, _4 = { class: "ao-project-milestone__title" }, y4 = {
|
|
@@ -11266,7 +11266,7 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11266
11266
|
},
|
|
11267
11267
|
emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
|
|
11268
11268
|
setup(t, { emit: e }) {
|
|
11269
|
-
const a = t, { t: n } =
|
|
11269
|
+
const a = t, { t: n } = Tt(), s = S(() => {
|
|
11270
11270
|
var _;
|
|
11271
11271
|
return (_ = a.phases) == null ? void 0 : _.find((C) => C.id === a.phaseId);
|
|
11272
11272
|
}), o = S(
|
|
@@ -11327,7 +11327,7 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11327
11327
|
deadline: _ != null && _.length ? _ : null
|
|
11328
11328
|
});
|
|
11329
11329
|
}
|
|
11330
|
-
}), w = (_) => a.closedStatus ?
|
|
11330
|
+
}), w = (_) => a.closedStatus ? On(_, a.closedStatus) : !1, b = S(() => {
|
|
11331
11331
|
var _;
|
|
11332
11332
|
return ((_ = a.users) == null ? void 0 : _.map((C) => ({
|
|
11333
11333
|
label: `${C.firstName} ${C.lastName}`,
|
|
@@ -11422,13 +11422,13 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11422
11422
|
}, {
|
|
11423
11423
|
tag: W(({
|
|
11424
11424
|
option: I,
|
|
11425
|
-
handleTagRemove:
|
|
11425
|
+
handleTagRemove: H
|
|
11426
11426
|
}) => [
|
|
11427
11427
|
A(Je, {
|
|
11428
11428
|
"user-name": I.label,
|
|
11429
11429
|
"avatar-url": I.avatar,
|
|
11430
11430
|
"is-closable": !0,
|
|
11431
|
-
onClose: (F) =>
|
|
11431
|
+
onClose: (F) => H(I, F)
|
|
11432
11432
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
11433
11433
|
]),
|
|
11434
11434
|
_: 1
|
|
@@ -11439,7 +11439,7 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11439
11439
|
color: d.value,
|
|
11440
11440
|
"onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
|
|
11441
11441
|
}, null, 8, ["color"])
|
|
11442
|
-
])) :
|
|
11442
|
+
])) : T("", !0)
|
|
11443
11443
|
]),
|
|
11444
11444
|
v("div", S4, [
|
|
11445
11445
|
A(Q(mt), He({
|
|
@@ -11450,12 +11450,12 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11450
11450
|
group: "kanban"
|
|
11451
11451
|
}, _.$attrs, { onChange: f }), {
|
|
11452
11452
|
item: W(({ element: I }) => {
|
|
11453
|
-
var
|
|
11453
|
+
var H, F, U, q, O;
|
|
11454
11454
|
return [
|
|
11455
11455
|
A(di, {
|
|
11456
11456
|
id: I.id,
|
|
11457
11457
|
name: I.name || I.id,
|
|
11458
|
-
"phase-name": (
|
|
11458
|
+
"phase-name": (H = s.value) == null ? void 0 : H.name,
|
|
11459
11459
|
"milestone-name": (F = i.value) == null ? void 0 : F.name,
|
|
11460
11460
|
"milestone-color": (U = i.value) == null ? void 0 : U.color,
|
|
11461
11461
|
deadline: I.deadline,
|
|
@@ -11464,7 +11464,7 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11464
11464
|
assignee: I.assignee,
|
|
11465
11465
|
slug: I.slug,
|
|
11466
11466
|
comments: (q = I.comments) == null ? void 0 : q.length,
|
|
11467
|
-
attachments: (
|
|
11467
|
+
attachments: (O = I.attachments) == null ? void 0 : O.length,
|
|
11468
11468
|
tasks: I.tasks,
|
|
11469
11469
|
"is-editable": _.isEditable,
|
|
11470
11470
|
"is-private": I.private,
|
|
@@ -11489,7 +11489,7 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11489
11489
|
corners: "round",
|
|
11490
11490
|
label: _.$t("archive"),
|
|
11491
11491
|
onClick: fe(() => _.$emit("archiveActivity", { id: I.id }), ["stop"])
|
|
11492
|
-
}, null, 8, ["label", "onClick"])) :
|
|
11492
|
+
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11493
11493
|
_.isEditable && !I.active ? (p(), P(ce, {
|
|
11494
11494
|
key: 1,
|
|
11495
11495
|
color: "primary",
|
|
@@ -11503,7 +11503,7 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11503
11503
|
() => _.$emit("unarchiveActivity", { id: I.id }),
|
|
11504
11504
|
["stop"]
|
|
11505
11505
|
)
|
|
11506
|
-
}, null, 8, ["label", "onClick"])) :
|
|
11506
|
+
}, null, 8, ["label", "onClick"])) : T("", !0)
|
|
11507
11507
|
]),
|
|
11508
11508
|
key: "0"
|
|
11509
11509
|
} : void 0
|
|
@@ -11518,7 +11518,7 @@ const v4 = /* @__PURE__ */ j(d4, [["render", f4]]), h4 = { class: "ao-project-mi
|
|
|
11518
11518
|
label: _.$t("project.activity.add"),
|
|
11519
11519
|
onClick: c
|
|
11520
11520
|
}, null, 8, ["label"])
|
|
11521
|
-
])) :
|
|
11521
|
+
])) : T("", !0)
|
|
11522
11522
|
])
|
|
11523
11523
|
]);
|
|
11524
11524
|
};
|
|
@@ -11608,17 +11608,17 @@ const M4 = /* @__PURE__ */ z({
|
|
|
11608
11608
|
te(y.$slots, "default", pa(fa(D)))
|
|
11609
11609
|
]),
|
|
11610
11610
|
_: 3
|
|
11611
|
-
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) :
|
|
11611
|
+
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11612
11612
|
};
|
|
11613
11613
|
}
|
|
11614
|
-
}),
|
|
11614
|
+
}), T4 = { class: "ao-col-header" }, O4 = /* @__PURE__ */ z({
|
|
11615
11615
|
__name: "AoColHeader",
|
|
11616
11616
|
props: {
|
|
11617
11617
|
title: {},
|
|
11618
11618
|
items: {}
|
|
11619
11619
|
},
|
|
11620
11620
|
setup(t) {
|
|
11621
|
-
return (e, a) => (p(), g("header",
|
|
11621
|
+
return (e, a) => (p(), g("header", T4, [
|
|
11622
11622
|
A(ye, {
|
|
11623
11623
|
title: e.title,
|
|
11624
11624
|
class: "ao-col-header__title",
|
|
@@ -11630,11 +11630,11 @@ const M4 = /* @__PURE__ */ z({
|
|
|
11630
11630
|
class: "ao-col-header__items",
|
|
11631
11631
|
variant: "solid",
|
|
11632
11632
|
color: "primary"
|
|
11633
|
-
}, null, 8, ["label"])) :
|
|
11633
|
+
}, null, 8, ["label"])) : T("", !0)
|
|
11634
11634
|
]));
|
|
11635
11635
|
}
|
|
11636
11636
|
});
|
|
11637
|
-
function
|
|
11637
|
+
function E4(t) {
|
|
11638
11638
|
return Pi() ? (Vi(t), !0) : !1;
|
|
11639
11639
|
}
|
|
11640
11640
|
function ja(t) {
|
|
@@ -11723,7 +11723,7 @@ function N4(t, e, a = {}) {
|
|
|
11723
11723
|
) : oa, h = () => {
|
|
11724
11724
|
u(), d(), f.value = !1;
|
|
11725
11725
|
};
|
|
11726
|
-
return
|
|
11726
|
+
return E4(h), {
|
|
11727
11727
|
isSupported: l,
|
|
11728
11728
|
isActive: f,
|
|
11729
11729
|
pause() {
|
|
@@ -11800,15 +11800,15 @@ const j4 = {
|
|
|
11800
11800
|
var d;
|
|
11801
11801
|
return [
|
|
11802
11802
|
v("div", F4, [
|
|
11803
|
-
u.title ? (p(), P(
|
|
11803
|
+
u.title ? (p(), P(O4, {
|
|
11804
11804
|
key: 0,
|
|
11805
11805
|
title: u.title,
|
|
11806
11806
|
level: 3,
|
|
11807
11807
|
items: (d = u.list) == null ? void 0 : d.length
|
|
11808
|
-
}, null, 8, ["title", "items"])) :
|
|
11808
|
+
}, null, 8, ["title", "items"])) : T("", !0)
|
|
11809
11809
|
])
|
|
11810
11810
|
];
|
|
11811
|
-
}) :
|
|
11811
|
+
}) : T("", !0),
|
|
11812
11812
|
A(Q(mt), He({
|
|
11813
11813
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11814
11814
|
list: u.list,
|
|
@@ -11853,7 +11853,7 @@ const j4 = {
|
|
|
11853
11853
|
"is-editable": o(d),
|
|
11854
11854
|
"is-private": d.private,
|
|
11855
11855
|
"tag-type": u.tagType,
|
|
11856
|
-
onUpdateActivity: [(
|
|
11856
|
+
onUpdateActivity: [(H) => o(d) && r(H), () => o(d) && r],
|
|
11857
11857
|
onClick: () => i(d.id),
|
|
11858
11858
|
onRemoveAssignee: () => o(d) && r({ id: d.id, assigneeId: null })
|
|
11859
11859
|
}, {
|
|
@@ -11868,7 +11868,7 @@ const j4 = {
|
|
|
11868
11868
|
corners: "round",
|
|
11869
11869
|
label: u.$t("feed.activity.archive"),
|
|
11870
11870
|
onClick: fe(() => u.$emit("archiveActivity", { id: d.id }), ["stop"])
|
|
11871
|
-
}, null, 8, ["label", "onClick"])) :
|
|
11871
|
+
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11872
11872
|
o(d) && !d.active ? (p(), P(ce, {
|
|
11873
11873
|
key: 1,
|
|
11874
11874
|
color: "primary",
|
|
@@ -11879,7 +11879,7 @@ const j4 = {
|
|
|
11879
11879
|
corners: "round",
|
|
11880
11880
|
label: u.$t("feed.activity.unarchive"),
|
|
11881
11881
|
onClick: fe(() => u.$emit("unarchiveActivity", { id: d.id }), ["stop"])
|
|
11882
|
-
}, null, 8, ["label", "onClick"])) :
|
|
11882
|
+
}, null, 8, ["label", "onClick"])) : T("", !0)
|
|
11883
11883
|
]),
|
|
11884
11884
|
_: 2
|
|
11885
11885
|
}, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "slug", "is-editable", "is-private", "tag-type", "onUpdateActivity", "onClick", "onRemoveAssignee"])
|
|
@@ -11894,7 +11894,7 @@ const j4 = {
|
|
|
11894
11894
|
ref: s,
|
|
11895
11895
|
class: "ao-list-kanban__end"
|
|
11896
11896
|
}, null, 512)) : (p(), g("div", Z4, [
|
|
11897
|
-
u.noMoreLabel ? (p(), g("span", W4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", q4)) :
|
|
11897
|
+
u.noMoreLabel ? (p(), g("span", W4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", q4)) : T("", !0)
|
|
11898
11898
|
]))
|
|
11899
11899
|
]),
|
|
11900
11900
|
_: 1
|
|
@@ -11906,9 +11906,9 @@ const j4 = {
|
|
|
11906
11906
|
"icon-name": "AddBoxOutlineRounded",
|
|
11907
11907
|
label: u.footerLabel,
|
|
11908
11908
|
onClick: f[2] || (f[2] = (d) => u.$emit("add"))
|
|
11909
|
-
}, null, 8, ["label"])) :
|
|
11909
|
+
}, null, 8, ["label"])) : T("", !0)
|
|
11910
11910
|
])
|
|
11911
|
-
])) :
|
|
11911
|
+
])) : T("", !0)
|
|
11912
11912
|
]));
|
|
11913
11913
|
}
|
|
11914
11914
|
});
|
|
@@ -11975,88 +11975,89 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
|
|
|
11975
11975
|
},
|
|
11976
11976
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
11977
11977
|
setup(t, { emit: e }) {
|
|
11978
|
-
const a = t, { t: n } =
|
|
11979
|
-
await e("selectActivity",
|
|
11978
|
+
const a = t, { t: n } = Tt(), s = Pt(a, "activities"), o = async (E) => {
|
|
11979
|
+
await e("selectActivity", E);
|
|
11980
11980
|
}, i = ee({}), r = ee(!1), l = ee(!1), c = S(() => a.project ? "milestone" : "project");
|
|
11981
11981
|
de(
|
|
11982
|
-
[() =>
|
|
11982
|
+
// [() => props.statuses, () => props.activities, () => props.initialActivityId, () => props.initialActivitySlug],
|
|
11983
|
+
[() => a.statuses, () => a.activities, () => a.selectedActivity],
|
|
11983
11984
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11984
|
-
async ([
|
|
11985
|
+
async ([E, N, M], [m, L]) => {
|
|
11985
11986
|
i.value = Object.fromEntries(
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
N.filter((
|
|
11989
|
-
var
|
|
11990
|
-
return ((
|
|
11987
|
+
E.map((J) => [
|
|
11988
|
+
J.id,
|
|
11989
|
+
N.filter((ae) => {
|
|
11990
|
+
var le;
|
|
11991
|
+
return ((le = ae.status) == null ? void 0 : le.id) === J.id;
|
|
11991
11992
|
})
|
|
11992
11993
|
])
|
|
11993
|
-
), M &&
|
|
11994
|
+
), M && (await o(M.id), r.value = !0), l.value && Xe(N, L);
|
|
11994
11995
|
},
|
|
11995
11996
|
{ immediate: !0 }
|
|
11996
11997
|
);
|
|
11997
11998
|
const u = S(() => {
|
|
11998
|
-
var
|
|
11999
|
-
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((
|
|
12000
|
-
}), f = (
|
|
11999
|
+
var E;
|
|
12000
|
+
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((E = a.selectedActivity.milestone.phase) == null ? void 0 : E.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12001
|
+
}), f = (E) => {
|
|
12001
12002
|
var J, ae;
|
|
12002
|
-
const N = (J = a.activities) == null ? void 0 : J.at(-1), M = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0,
|
|
12003
|
+
const N = (J = a.activities) == null ? void 0 : J.at(-1), M = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, L = {
|
|
12003
12004
|
name: n("activity.defaultName", { idx: m + 1 }),
|
|
12004
12005
|
rank: M.format(),
|
|
12005
|
-
statusId:
|
|
12006
|
+
statusId: E.id
|
|
12006
12007
|
};
|
|
12007
|
-
a.filters.assigneeId.length > 0 && (
|
|
12008
|
-
}, d = (
|
|
12009
|
-
l.value = !1, e("update:filters", { ...a.filters, [
|
|
12008
|
+
a.filters.assigneeId.length > 0 && (L.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (L.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (L.typeId = a.filters.typeId[0]), l.value = !0, e("addActivity", L);
|
|
12009
|
+
}, d = (E, N) => {
|
|
12010
|
+
l.value = !1, e("update:filters", { ...a.filters, [E]: N });
|
|
12010
12011
|
}, h = S(
|
|
12011
12012
|
() => a.project ? [a.project] : a.projects ?? []
|
|
12012
|
-
), w = S(() => h.value.map((
|
|
12013
|
-
value:
|
|
12014
|
-
label:
|
|
12013
|
+
), w = S(() => h.value.map((E) => ({
|
|
12014
|
+
value: E.id,
|
|
12015
|
+
label: E.name
|
|
12015
12016
|
}))), b = S(() => {
|
|
12016
|
-
var
|
|
12017
|
-
return (
|
|
12017
|
+
var E;
|
|
12018
|
+
return (E = a.activityTypes) == null ? void 0 : E.map((N) => ({
|
|
12018
12019
|
value: N.id,
|
|
12019
12020
|
label: N.name
|
|
12020
12021
|
}));
|
|
12021
|
-
}), y = S(() => a.users.map((
|
|
12022
|
-
value:
|
|
12023
|
-
label: `${
|
|
12024
|
-
avatar:
|
|
12025
|
-
}))), k = (
|
|
12026
|
-
a.selectedActivity && e("update:activity",
|
|
12027
|
-
}, _ = (
|
|
12028
|
-
e("update:activity",
|
|
12029
|
-
}, C = (
|
|
12030
|
-
e("archiveActivity",
|
|
12031
|
-
}, D = (
|
|
12032
|
-
e("unarchiveActivity",
|
|
12033
|
-
}, I = (
|
|
12034
|
-
l.value = !1, e("update:searchText",
|
|
12035
|
-
},
|
|
12036
|
-
l.value = !1, e("clear:searchText",
|
|
12037
|
-
}, F = (
|
|
12038
|
-
a.selectedActivity && e("addSubtask",
|
|
12039
|
-
}, U = (
|
|
12040
|
-
a.selectedActivity && e("updateSubtask",
|
|
12041
|
-
}, q = (
|
|
12042
|
-
a.selectedActivity && e("deleteSubtask",
|
|
12043
|
-
},
|
|
12044
|
-
e("addFiles",
|
|
12045
|
-
}, x = (
|
|
12046
|
-
e("removeFile",
|
|
12047
|
-
}, R = (
|
|
12022
|
+
}), y = S(() => a.users.map((E) => ({
|
|
12023
|
+
value: E.id,
|
|
12024
|
+
label: `${E.firstName} ${E.lastName}`,
|
|
12025
|
+
avatar: E.avatarUrl
|
|
12026
|
+
}))), k = (E) => {
|
|
12027
|
+
a.selectedActivity && e("update:activity", E);
|
|
12028
|
+
}, _ = (E) => {
|
|
12029
|
+
e("update:activity", E);
|
|
12030
|
+
}, C = (E) => {
|
|
12031
|
+
e("archiveActivity", E);
|
|
12032
|
+
}, D = (E) => {
|
|
12033
|
+
e("unarchiveActivity", E);
|
|
12034
|
+
}, I = (E) => {
|
|
12035
|
+
l.value = !1, e("update:searchText", E);
|
|
12036
|
+
}, H = (E) => {
|
|
12037
|
+
l.value = !1, e("clear:searchText", E);
|
|
12038
|
+
}, F = (E) => {
|
|
12039
|
+
a.selectedActivity && e("addSubtask", E);
|
|
12040
|
+
}, U = (E) => {
|
|
12041
|
+
a.selectedActivity && e("updateSubtask", E);
|
|
12042
|
+
}, q = (E) => {
|
|
12043
|
+
a.selectedActivity && e("deleteSubtask", E);
|
|
12044
|
+
}, O = (E) => {
|
|
12045
|
+
e("addFiles", E);
|
|
12046
|
+
}, x = (E) => {
|
|
12047
|
+
e("removeFile", E);
|
|
12048
|
+
}, R = (E) => {
|
|
12048
12049
|
a.selectedActivity && e("addComment", {
|
|
12049
|
-
...
|
|
12050
|
+
...E,
|
|
12050
12051
|
activityId: a.selectedActivity.id
|
|
12051
12052
|
});
|
|
12052
|
-
}, Z = (
|
|
12053
|
+
}, Z = (E) => {
|
|
12053
12054
|
const { id: N } = a.selectedActivity || {};
|
|
12054
|
-
N && e("updateComment",
|
|
12055
|
-
}, ie = (
|
|
12055
|
+
N && e("updateComment", E);
|
|
12056
|
+
}, ie = (E) => {
|
|
12056
12057
|
const { id: N } = a.selectedActivity || {};
|
|
12057
|
-
N && e("removeComment",
|
|
12058
|
+
N && e("removeComment", E);
|
|
12058
12059
|
};
|
|
12059
|
-
return (
|
|
12060
|
+
return (E, N) => {
|
|
12060
12061
|
var M;
|
|
12061
12062
|
return p(), g("div", X4, [
|
|
12062
12063
|
A(Ga, null, {
|
|
@@ -12065,103 +12066,103 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
|
|
|
12065
12066
|
a.project ? (p(), P(ci, {
|
|
12066
12067
|
key: 0,
|
|
12067
12068
|
"is-left": !1,
|
|
12068
|
-
"right-label":
|
|
12069
|
-
"left-label":
|
|
12069
|
+
"right-label": E.$t("project.switch.feed"),
|
|
12070
|
+
"left-label": E.$t("project.switch.overview"),
|
|
12070
12071
|
"onUpdate:isLeft": N[0] || (N[0] = (m) => {
|
|
12071
|
-
m &&
|
|
12072
|
+
m && E.$router.push({ name: Q(Fe).project });
|
|
12072
12073
|
})
|
|
12073
|
-
}, null, 8, ["right-label", "left-label"])) :
|
|
12074
|
+
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12074
12075
|
A(G4, {
|
|
12075
|
-
"model-value":
|
|
12076
|
-
placeholder:
|
|
12076
|
+
"model-value": E.searchText,
|
|
12077
|
+
placeholder: E.$t("feed.search.placeholder"),
|
|
12077
12078
|
class: "ao-feed__search",
|
|
12078
12079
|
"onUpdate:modelValue": I,
|
|
12079
|
-
onClear:
|
|
12080
|
+
onClear: H
|
|
12080
12081
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12081
|
-
a.project ?
|
|
12082
|
+
a.project ? T("", !0) : (p(), P($e, {
|
|
12082
12083
|
key: 1,
|
|
12083
|
-
"model-value":
|
|
12084
|
+
"model-value": E.filters[Q(Lt).project],
|
|
12084
12085
|
mode: "tags",
|
|
12085
12086
|
options: w.value,
|
|
12086
12087
|
"close-on-select": !1,
|
|
12087
12088
|
searchable: !0,
|
|
12088
12089
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12089
|
-
placeholder:
|
|
12090
|
+
placeholder: E.$t("feed.filters.project.placeholder"),
|
|
12090
12091
|
"onUpdate:modelValue": N[1] || (N[1] = (m) => d(Q(Lt).project, m))
|
|
12091
12092
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12092
12093
|
b.value ? (p(), P($e, {
|
|
12093
12094
|
key: 2,
|
|
12094
|
-
"model-value":
|
|
12095
|
+
"model-value": E.filters[Q(Lt).type],
|
|
12095
12096
|
mode: "tags",
|
|
12096
12097
|
options: b.value,
|
|
12097
12098
|
"close-on-select": !1,
|
|
12098
12099
|
searchable: !0,
|
|
12099
12100
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12100
|
-
placeholder:
|
|
12101
|
+
placeholder: E.$t("feed.filters.activityType.placeholder"),
|
|
12101
12102
|
"onUpdate:modelValue": N[2] || (N[2] = (m) => d(Q(Lt).type, m))
|
|
12102
|
-
}, null, 8, ["model-value", "options", "placeholder"])) :
|
|
12103
|
+
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
12103
12104
|
y.value.length ? (p(), P($e, {
|
|
12104
12105
|
key: 3,
|
|
12105
|
-
"model-value":
|
|
12106
|
+
"model-value": E.filters[Q(Lt).assignee],
|
|
12106
12107
|
mode: "tags",
|
|
12107
12108
|
options: y.value,
|
|
12108
12109
|
"close-on-select": !1,
|
|
12109
12110
|
searchable: !0,
|
|
12110
12111
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12111
|
-
placeholder:
|
|
12112
|
+
placeholder: E.$t("feed.filters.assignee.placeholder"),
|
|
12112
12113
|
"onUpdate:modelValue": N[3] || (N[3] = (m) => d(Q(Lt).assignee, m))
|
|
12113
12114
|
}, {
|
|
12114
12115
|
tag: W(({
|
|
12115
12116
|
option: m,
|
|
12116
|
-
handleTagRemove:
|
|
12117
|
+
handleTagRemove: L
|
|
12117
12118
|
}) => [
|
|
12118
12119
|
A(Je, {
|
|
12119
12120
|
"user-name": m.label,
|
|
12120
12121
|
"avatar-url": m.avatar,
|
|
12121
12122
|
"is-closable": !0,
|
|
12122
|
-
onClose: (J) =>
|
|
12123
|
+
onClose: (J) => L(m, J)
|
|
12123
12124
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12124
12125
|
]),
|
|
12125
12126
|
_: 1
|
|
12126
|
-
}, 8, ["model-value", "options", "placeholder"])) :
|
|
12127
|
+
}, 8, ["model-value", "options", "placeholder"])) : T("", !0)
|
|
12127
12128
|
]),
|
|
12128
12129
|
A(ce, {
|
|
12129
12130
|
class: "ao-feed__only-important",
|
|
12130
12131
|
size: "sm",
|
|
12131
|
-
"icon-name":
|
|
12132
|
+
"icon-name": E.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
12132
12133
|
"icon-position": "start",
|
|
12133
12134
|
color: "primary",
|
|
12134
12135
|
variant: "ghost",
|
|
12135
|
-
label:
|
|
12136
|
+
label: E.$t("feed.filters.showsOnlyImportant.label"),
|
|
12136
12137
|
role: "checkbox",
|
|
12137
|
-
"aria-checked":
|
|
12138
|
-
onClick: N[4] || (N[4] = (m) =>
|
|
12138
|
+
"aria-checked": E.showsOnlyImportant,
|
|
12139
|
+
onClick: N[4] || (N[4] = (m) => E.$emit("update:showsOnlyImportant", !E.showsOnlyImportant))
|
|
12139
12140
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12140
12141
|
A(ce, {
|
|
12141
12142
|
class: "ao-feed__show-archived",
|
|
12142
12143
|
size: "sm",
|
|
12143
|
-
"icon-name":
|
|
12144
|
+
"icon-name": E.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
12144
12145
|
"icon-position": "start",
|
|
12145
12146
|
color: "primary",
|
|
12146
12147
|
variant: "ghost",
|
|
12147
|
-
label:
|
|
12148
|
+
label: E.$t("feed.filters.showsArchivedActivities.label"),
|
|
12148
12149
|
role: "checkbox",
|
|
12149
|
-
"aria-checked":
|
|
12150
|
-
onClick: N[5] || (N[5] = (m) =>
|
|
12150
|
+
"aria-checked": E.showsArchivedActivities,
|
|
12151
|
+
onClick: N[5] || (N[5] = (m) => E.$emit("update:showsArchivedActivities", !E.showsArchivedActivities))
|
|
12151
12152
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
12152
12153
|
]),
|
|
12153
12154
|
_: 1
|
|
12154
12155
|
}),
|
|
12155
12156
|
v("div", J4, [
|
|
12156
|
-
(p(!0), g(ve, null, _e(
|
|
12157
|
+
(p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(x4, {
|
|
12157
12158
|
key: m.id,
|
|
12158
12159
|
status: m,
|
|
12159
12160
|
list: i.value[m.id],
|
|
12160
12161
|
title: m.name,
|
|
12161
|
-
"footer-label":
|
|
12162
|
-
users:
|
|
12163
|
-
"user-id":
|
|
12164
|
-
"is-editable":
|
|
12162
|
+
"footer-label": E.$t("feed.activity.add"),
|
|
12163
|
+
users: E.users,
|
|
12164
|
+
"user-id": E.userId,
|
|
12165
|
+
"is-editable": E.isEditable,
|
|
12165
12166
|
tagType: c.value,
|
|
12166
12167
|
onAdd: () => f(m),
|
|
12167
12168
|
onSelectActivity: o,
|
|
@@ -12171,36 +12172,36 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
|
|
|
12171
12172
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12172
12173
|
]),
|
|
12173
12174
|
(p(), P(Nt, { to: "body" }, [
|
|
12174
|
-
|
|
12175
|
+
E.selectedActivity ? (p(), P(Zn, {
|
|
12175
12176
|
key: 0,
|
|
12176
|
-
activity:
|
|
12177
|
-
"activity-types":
|
|
12178
|
-
"milestone-id": (M =
|
|
12177
|
+
activity: E.selectedActivity,
|
|
12178
|
+
"activity-types": E.activityTypes,
|
|
12179
|
+
"milestone-id": (M = E.selectedActivity.milestone) == null ? void 0 : M.id,
|
|
12179
12180
|
"template-activities": s.value,
|
|
12180
|
-
users:
|
|
12181
|
-
"user-id":
|
|
12182
|
-
"is-task-checkable":
|
|
12183
|
-
statuses:
|
|
12181
|
+
users: E.users,
|
|
12182
|
+
"user-id": E.userId,
|
|
12183
|
+
"is-task-checkable": E.isTaskCheckable,
|
|
12184
|
+
statuses: E.statuses,
|
|
12184
12185
|
breadcrumbs: u.value,
|
|
12185
|
-
"is-editable":
|
|
12186
|
-
"attachment-enabled":
|
|
12186
|
+
"is-editable": E.isEditable,
|
|
12187
|
+
"attachment-enabled": E.attachmentEnabled,
|
|
12187
12188
|
projects: h.value,
|
|
12188
12189
|
onClose: N[6] || (N[6] = () => o(null)),
|
|
12189
12190
|
"onUpdate:activity": k,
|
|
12190
12191
|
onAddSubtask: F,
|
|
12191
12192
|
onUpdateSubtask: U,
|
|
12192
12193
|
onDeleteSubtask: q,
|
|
12193
|
-
onAddFiles:
|
|
12194
|
+
onAddFiles: O,
|
|
12194
12195
|
onRemoveFile: x,
|
|
12195
12196
|
onAddComment: R,
|
|
12196
12197
|
onUpdateComment: Z,
|
|
12197
12198
|
onRemoveComment: ie
|
|
12198
12199
|
}, {
|
|
12199
12200
|
default: W((m) => [
|
|
12200
|
-
te(
|
|
12201
|
+
te(E.$slots, "activityDetailsBody", pa(fa(m)))
|
|
12201
12202
|
]),
|
|
12202
12203
|
_: 3
|
|
12203
|
-
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) :
|
|
12204
|
+
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : T("", !0)
|
|
12204
12205
|
]))
|
|
12205
12206
|
]);
|
|
12206
12207
|
};
|
|
@@ -12279,7 +12280,7 @@ const Dt = {
|
|
|
12279
12280
|
},
|
|
12280
12281
|
emits: ["addTemplate", "updateTemplates", "updateItem"],
|
|
12281
12282
|
setup(t, { emit: e }) {
|
|
12282
|
-
const a = t, { t: n } =
|
|
12283
|
+
const a = t, { t: n } = Tt();
|
|
12283
12284
|
de(() => a.templates, (r, l) => {
|
|
12284
12285
|
Xe(r, l);
|
|
12285
12286
|
});
|