@26lights/orcha 0.36.10 → 0.36.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +518 -501
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as
|
|
1
|
+
import { defineComponent as q, 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 k, resolveDynamicComponent as ht, normalizeClass as Y, 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 M, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as xe, 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
|
-
const
|
|
4
|
+
const u8 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(),
|
|
10
|
+
return (e, a) => (p(), P(Q(Ri), He({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), j = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -140,14 +140,14 @@ const L1 = /* @__PURE__ */ j(A1, [["render", I1]]), H1 = {}, D1 = {
|
|
|
140
140
|
viewBox: "0 0 24 24",
|
|
141
141
|
fill: "none",
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg"
|
|
143
|
-
},
|
|
143
|
+
}, P1 = /* @__PURE__ */ v("path", {
|
|
144
144
|
d: "M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",
|
|
145
145
|
fill: "black"
|
|
146
|
-
}, null, -1),
|
|
147
|
-
|
|
146
|
+
}, null, -1), V1 = [
|
|
147
|
+
P1
|
|
148
148
|
];
|
|
149
149
|
function B1(t, e) {
|
|
150
|
-
return p(), g("svg", D1,
|
|
150
|
+
return p(), g("svg", D1, V1);
|
|
151
151
|
}
|
|
152
152
|
const R1 = /* @__PURE__ */ j(H1, [["render", B1]]), N1 = {}, j1 = {
|
|
153
153
|
width: "24",
|
|
@@ -269,20 +269,20 @@ const Ao = /* @__PURE__ */ j(wo, [["render", Mo]]), To = {}, Oo = {
|
|
|
269
269
|
function Lo(t, e) {
|
|
270
270
|
return p(), g("svg", Oo, Io);
|
|
271
271
|
}
|
|
272
|
-
const Ho = /* @__PURE__ */ j(To, [["render", Lo]]), Do = {},
|
|
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",
|
|
276
276
|
fill: "none",
|
|
277
277
|
xmlns: "http://www.w3.org/2000/svg"
|
|
278
|
-
},
|
|
278
|
+
}, Vo = /* @__PURE__ */ v("path", {
|
|
279
279
|
d: "M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",
|
|
280
280
|
fill: "black"
|
|
281
281
|
}, null, -1), Bo = [
|
|
282
|
-
|
|
282
|
+
Vo
|
|
283
283
|
];
|
|
284
284
|
function Ro(t, e) {
|
|
285
|
-
return p(), g("svg",
|
|
285
|
+
return p(), g("svg", Po, Bo);
|
|
286
286
|
}
|
|
287
287
|
const No = /* @__PURE__ */ j(Do, [["render", Ro]]), jo = {}, Fo = {
|
|
288
288
|
width: "24",
|
|
@@ -404,20 +404,20 @@ const Ar = /* @__PURE__ */ j(wr, [["render", Mr]]), Tr = {}, Or = {
|
|
|
404
404
|
function Lr(t, e) {
|
|
405
405
|
return p(), g("svg", Or, Ir);
|
|
406
406
|
}
|
|
407
|
-
const Hr = /* @__PURE__ */ j(Tr, [["render", Lr]]), Dr = {},
|
|
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",
|
|
411
411
|
fill: "none",
|
|
412
412
|
xmlns: "http://www.w3.org/2000/svg"
|
|
413
|
-
},
|
|
413
|
+
}, Vr = /* @__PURE__ */ v("path", {
|
|
414
414
|
d: "M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",
|
|
415
415
|
fill: "black"
|
|
416
416
|
}, null, -1), Br = [
|
|
417
|
-
|
|
417
|
+
Vr
|
|
418
418
|
];
|
|
419
419
|
function Rr(t, e) {
|
|
420
|
-
return p(), g("svg",
|
|
420
|
+
return p(), g("svg", Pr, Br);
|
|
421
421
|
}
|
|
422
422
|
const Nr = /* @__PURE__ */ j(Dr, [["render", Rr]]), jr = {}, Fr = {
|
|
423
423
|
width: "24",
|
|
@@ -539,20 +539,20 @@ const Al = /* @__PURE__ */ j(wl, [["render", Ml]]), Tl = {}, Ol = {
|
|
|
539
539
|
function Ll(t, e) {
|
|
540
540
|
return p(), g("svg", Ol, Il);
|
|
541
541
|
}
|
|
542
|
-
const Hl = /* @__PURE__ */ j(Tl, [["render", Ll]]), Dl = {},
|
|
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",
|
|
546
546
|
fill: "none",
|
|
547
547
|
xmlns: "http://www.w3.org/2000/svg"
|
|
548
|
-
},
|
|
548
|
+
}, Vl = /* @__PURE__ */ v("path", {
|
|
549
549
|
d: "M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",
|
|
550
550
|
fill: "black"
|
|
551
551
|
}, null, -1), Bl = [
|
|
552
|
-
|
|
552
|
+
Vl
|
|
553
553
|
];
|
|
554
554
|
function Rl(t, e) {
|
|
555
|
-
return p(), g("svg",
|
|
555
|
+
return p(), g("svg", Pl, Bl);
|
|
556
556
|
}
|
|
557
557
|
const Nl = /* @__PURE__ */ j(Dl, [["render", Rl]]), jl = {}, Fl = {
|
|
558
558
|
width: "24",
|
|
@@ -617,23 +617,23 @@ function lu(t, e) {
|
|
|
617
617
|
const uu = /* @__PURE__ */ j(su, [["render", lu]]), cu = q({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const kn = (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",
|
|
624
624
|
fill: "none",
|
|
625
625
|
xmlns: "http://www.w3.org/2000/svg"
|
|
626
|
-
}, pu = /* @__PURE__ */
|
|
626
|
+
}, pu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), fu = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), fu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), vu = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), vu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -687,7 +687,7 @@ const Ou = /* @__PURE__ */ j(ku, [["render", Tu]]), Eu = {}, Iu = {
|
|
|
687
687
|
function Du(t, e) {
|
|
688
688
|
return p(), g("svg", Iu, Hu);
|
|
689
689
|
}
|
|
690
|
-
const
|
|
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",
|
|
@@ -702,7 +702,7 @@ const Vu = /* @__PURE__ */ j(Eu, [["render", Du]]), Pu = {}, Bu = {
|
|
|
702
702
|
function ju(t, e) {
|
|
703
703
|
return p(), g("svg", Bu, Nu);
|
|
704
704
|
}
|
|
705
|
-
const Fu = /* @__PURE__ */ j(
|
|
705
|
+
const Fu = /* @__PURE__ */ j(Vu, [["render", ju]]), Uu = {}, Zu = {
|
|
706
706
|
width: "24",
|
|
707
707
|
height: "24",
|
|
708
708
|
viewBox: "0 0 24 24",
|
|
@@ -822,7 +822,7 @@ const Oc = /* @__PURE__ */ j(kc, [["render", Tc]]), Ec = {}, Ic = {
|
|
|
822
822
|
function Dc(t, e) {
|
|
823
823
|
return p(), g("svg", Ic, Hc);
|
|
824
824
|
}
|
|
825
|
-
const
|
|
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",
|
|
@@ -837,7 +837,7 @@ const Vc = /* @__PURE__ */ j(Ec, [["render", Dc]]), Pc = {}, Bc = {
|
|
|
837
837
|
function jc(t, e) {
|
|
838
838
|
return p(), g("svg", Bc, Nc);
|
|
839
839
|
}
|
|
840
|
-
const Fc = /* @__PURE__ */ j(
|
|
840
|
+
const Fc = /* @__PURE__ */ j(Vc, [["render", jc]]), Uc = {}, Zc = {
|
|
841
841
|
width: "26",
|
|
842
842
|
height: "29",
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
@@ -954,7 +954,7 @@ const Od = /* @__PURE__ */ j(kd, [["render", Td]]), Ed = {}, Id = {
|
|
|
954
954
|
function Dd(t, e) {
|
|
955
955
|
return p(), g("svg", Id, Hd);
|
|
956
956
|
}
|
|
957
|
-
const
|
|
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",
|
|
@@ -969,7 +969,7 @@ const Vd = /* @__PURE__ */ j(Ed, [["render", Dd]]), Pd = {}, Bd = {
|
|
|
969
969
|
function jd(t, e) {
|
|
970
970
|
return p(), g("svg", Bd, Nd);
|
|
971
971
|
}
|
|
972
|
-
const Fd = /* @__PURE__ */ j(
|
|
972
|
+
const Fd = /* @__PURE__ */ j(Vd, [["render", jd]]), Ud = {}, Zd = {
|
|
973
973
|
width: "24",
|
|
974
974
|
height: "24",
|
|
975
975
|
viewBox: "0 0 24 24",
|
|
@@ -1104,7 +1104,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1104
1104
|
Loading: Cu,
|
|
1105
1105
|
Lock: $u,
|
|
1106
1106
|
LogoutRounded: Ou,
|
|
1107
|
-
Menu:
|
|
1107
|
+
Menu: Pu,
|
|
1108
1108
|
MoreHoriz: Fu,
|
|
1109
1109
|
MoreTimeRounded: xu,
|
|
1110
1110
|
MoreVert: Ju,
|
|
@@ -1113,7 +1113,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1113
1113
|
PictureAsPdfRounded: Cc,
|
|
1114
1114
|
RadioButtonChecked: $c,
|
|
1115
1115
|
RadioButtonCheckedOutline: Oc,
|
|
1116
|
-
RadioButtonUnchecked:
|
|
1116
|
+
RadioButtonUnchecked: Pc,
|
|
1117
1117
|
RemoveRounded: Fc,
|
|
1118
1118
|
SearchRounded: xc,
|
|
1119
1119
|
SelectCheckBox: Jc,
|
|
@@ -1122,7 +1122,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1122
1122
|
SlideshowRounded: Cd,
|
|
1123
1123
|
Target: $d,
|
|
1124
1124
|
TaskOutlineRounded: Od,
|
|
1125
|
-
TextSnippetRounded:
|
|
1125
|
+
TextSnippetRounded: Pd,
|
|
1126
1126
|
TimerOutline: Fd,
|
|
1127
1127
|
ViewComfyAltRounded: xd,
|
|
1128
1128
|
ViewCompactAltRounded: Jd,
|
|
@@ -1139,7 +1139,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
1141
1141
|
XL: "xl"
|
|
1142
|
-
},
|
|
1142
|
+
}, Sn = {
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
@@ -1149,7 +1149,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
|
-
...
|
|
1152
|
+
...Sn,
|
|
1153
1153
|
...M2
|
|
1154
1154
|
});
|
|
1155
1155
|
const Os = {
|
|
@@ -1163,7 +1163,7 @@ const Os = {
|
|
|
1163
1163
|
},
|
|
1164
1164
|
setup(t) {
|
|
1165
1165
|
const e = t, a = k(() => k2[e.name]);
|
|
1166
|
-
return (n, s) => (p(),
|
|
1166
|
+
return (n, s) => (p(), P(ht(a.value), {
|
|
1167
1167
|
class: Y(["ao-icon", `ao-icon--${n.size}`])
|
|
1168
1168
|
}, null, 8, ["class"]));
|
|
1169
1169
|
}
|
|
@@ -1203,7 +1203,7 @@ const A2 = ["type"], T2 = {
|
|
|
1203
1203
|
te(s.$slots, "default", {}, () => [
|
|
1204
1204
|
s.label ? (p(), g("span", T2, G(s.label), 1)) : T("", !0)
|
|
1205
1205
|
]),
|
|
1206
|
-
n.value ? (p(),
|
|
1206
|
+
n.value ? (p(), P(pe, {
|
|
1207
1207
|
key: 0,
|
|
1208
1208
|
name: n.value,
|
|
1209
1209
|
class: "ao-button__icon",
|
|
@@ -1275,7 +1275,7 @@ const ye = /* @__PURE__ */ q({
|
|
|
1275
1275
|
(_) => {
|
|
1276
1276
|
_ || d();
|
|
1277
1277
|
}
|
|
1278
|
-
), (_, h) => (p(),
|
|
1278
|
+
), (_, h) => (p(), P(ht(c.value), He({
|
|
1279
1279
|
id: _.id,
|
|
1280
1280
|
ref_key: "target",
|
|
1281
1281
|
ref: n,
|
|
@@ -1315,10 +1315,10 @@ const O2 = {
|
|
|
1315
1315
|
}, D2 = {
|
|
1316
1316
|
key: 1,
|
|
1317
1317
|
class: "ao-card-horiz__header"
|
|
1318
|
-
},
|
|
1318
|
+
}, P2 = {
|
|
1319
1319
|
key: 1,
|
|
1320
1320
|
class: "ao-card-horiz__body"
|
|
1321
|
-
},
|
|
1321
|
+
}, V2 = {
|
|
1322
1322
|
key: 2,
|
|
1323
1323
|
class: "ao-card-horiz__footer"
|
|
1324
1324
|
}, B2 = {
|
|
@@ -1341,7 +1341,7 @@ const O2 = {
|
|
|
1341
1341
|
const a = (n) => {
|
|
1342
1342
|
e("update:title", n);
|
|
1343
1343
|
};
|
|
1344
|
-
return (n, s) => (p(),
|
|
1344
|
+
return (n, s) => (p(), P(ht(n.tagName), {
|
|
1345
1345
|
class: Y(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: W(() => [
|
|
@@ -1376,10 +1376,10 @@ const O2 = {
|
|
|
1376
1376
|
te(n.$slots, "header")
|
|
1377
1377
|
])) : T("", !0)
|
|
1378
1378
|
]),
|
|
1379
|
-
n.$slots.default ? (p(), g("div",
|
|
1379
|
+
n.$slots.default ? (p(), g("div", P2, [
|
|
1380
1380
|
te(n.$slots, "default")
|
|
1381
1381
|
])) : T("", !0),
|
|
1382
|
-
n.$slots.footer ? (p(), g("div",
|
|
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, [
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const Mn = /* @__PURE__ */ q({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1413,9 +1413,9 @@ const Sn = /* @__PURE__ */ q({
|
|
|
1413
1413
|
s.closable ? "ao-tag--closable" : "",
|
|
1414
1414
|
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1415
1415
|
]),
|
|
1416
|
-
style:
|
|
1416
|
+
style: wn(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1417
1417
|
}, [
|
|
1418
|
-
(p(),
|
|
1418
|
+
(p(), P(ht(a.value), He({ class: "ao-tag__label" }, n.value, {
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1420
1420
|
}), {
|
|
1421
1421
|
default: W(() => [
|
|
@@ -1441,11 +1441,11 @@ const hn = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, c8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, d8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const hn = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const p8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1514,7 +1514,7 @@ function ra(t) {
|
|
|
1514
1514
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1515
1515
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function rs(t) {
|
|
1518
1518
|
ge(1, arguments);
|
|
1519
1519
|
var e = be(t);
|
|
1520
1520
|
return e.setHours(0, 0, 0, 0), e;
|
|
@@ -1522,7 +1522,7 @@ function os(t) {
|
|
|
1522
1522
|
var W2 = 864e5;
|
|
1523
1523
|
function q2(t, e) {
|
|
1524
1524
|
ge(2, arguments);
|
|
1525
|
-
var a =
|
|
1525
|
+
var a = rs(t), n = rs(e), s = a.getTime() - ra(a), o = n.getTime() - ra(n);
|
|
1526
1526
|
return Math.round((s - o) / W2);
|
|
1527
1527
|
}
|
|
1528
1528
|
function z2(t, e) {
|
|
@@ -1558,7 +1558,7 @@ function Da(t) {
|
|
|
1558
1558
|
var e = 1, a = be(t), n = a.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1559
1559
|
return a.setUTCDate(a.getUTCDate() - s), a.setUTCHours(0, 0, 0, 0), a;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Ps(t) {
|
|
1562
1562
|
ge(1, arguments);
|
|
1563
1563
|
var e = be(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1564
1564
|
n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
@@ -1569,7 +1569,7 @@ function Vs(t) {
|
|
|
1569
1569
|
}
|
|
1570
1570
|
function G2(t) {
|
|
1571
1571
|
ge(1, arguments);
|
|
1572
|
-
var e =
|
|
1572
|
+
var e = Ps(t), a = /* @__PURE__ */ new Date(0);
|
|
1573
1573
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1574
1574
|
var n = Da(a);
|
|
1575
1575
|
return n;
|
|
@@ -1580,7 +1580,7 @@ function Q2(t) {
|
|
|
1580
1580
|
var e = be(t), a = Da(e).getTime() - G2(e).getTime();
|
|
1581
1581
|
return Math.round(a / X2) + 1;
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function Pa(t, e) {
|
|
1584
1584
|
var a, n, s, o, i, r, l, c;
|
|
1585
1585
|
ge(1, arguments);
|
|
1586
1586
|
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
@@ -1589,7 +1589,7 @@ function Va(t, e) {
|
|
|
1589
1589
|
var d = be(t), C = d.getUTCDay(), b = (C < f ? 7 : 0) + C - f;
|
|
1590
1590
|
return d.setUTCDate(d.getUTCDate() - b), d.setUTCHours(0, 0, 0, 0), d;
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function Vs(t, e) {
|
|
1593
1593
|
var a, n, s, o, i, r, l, c;
|
|
1594
1594
|
ge(1, arguments);
|
|
1595
1595
|
var u = be(t), f = u.getUTCFullYear(), d = va(), C = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
@@ -1597,23 +1597,23 @@ function Ps(t, e) {
|
|
|
1597
1597
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1598
1598
|
var b = /* @__PURE__ */ new Date(0);
|
|
1599
1599
|
b.setUTCFullYear(f + 1, 0, C), b.setUTCHours(0, 0, 0, 0);
|
|
1600
|
-
var y =
|
|
1600
|
+
var y = Pa(b, e), _ = /* @__PURE__ */ new Date(0);
|
|
1601
1601
|
_.setUTCFullYear(f, 0, C), _.setUTCHours(0, 0, 0, 0);
|
|
1602
|
-
var h =
|
|
1602
|
+
var h = Pa(_, e);
|
|
1603
1603
|
return u.getTime() >= y.getTime() ? f + 1 : u.getTime() >= h.getTime() ? f : f - 1;
|
|
1604
1604
|
}
|
|
1605
1605
|
function J2(t, e) {
|
|
1606
1606
|
var a, n, s, o, i, r, l, c;
|
|
1607
1607
|
ge(1, arguments);
|
|
1608
|
-
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d =
|
|
1608
|
+
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Vs(t, e), C = /* @__PURE__ */ new Date(0);
|
|
1609
1609
|
C.setUTCFullYear(d, 0, f), C.setUTCHours(0, 0, 0, 0);
|
|
1610
|
-
var b =
|
|
1610
|
+
var b = Pa(C, e);
|
|
1611
1611
|
return b;
|
|
1612
1612
|
}
|
|
1613
1613
|
var e0 = 6048e5;
|
|
1614
1614
|
function t0(t, e) {
|
|
1615
1615
|
ge(1, arguments);
|
|
1616
|
-
var a = be(t), n =
|
|
1616
|
+
var a = be(t), n = Pa(a, e).getTime() - J2(a, e).getTime();
|
|
1617
1617
|
return Math.round(n / e0) + 1;
|
|
1618
1618
|
}
|
|
1619
1619
|
function ue(t, e) {
|
|
@@ -1718,7 +1718,7 @@ var Ht = {
|
|
|
1718
1718
|
},
|
|
1719
1719
|
// Local week-numbering year
|
|
1720
1720
|
Y: function(e, a, n, s) {
|
|
1721
|
-
var o =
|
|
1721
|
+
var o = Vs(e, s), i = o > 0 ? o : 1 - o;
|
|
1722
1722
|
if (a === "YY") {
|
|
1723
1723
|
var r = i % 100;
|
|
1724
1724
|
return ue(r, 2);
|
|
@@ -1729,7 +1729,7 @@ var Ht = {
|
|
|
1729
1729
|
},
|
|
1730
1730
|
// ISO week-numbering year
|
|
1731
1731
|
R: function(e, a) {
|
|
1732
|
-
var n =
|
|
1732
|
+
var n = Ps(e);
|
|
1733
1733
|
return ue(n, a.length);
|
|
1734
1734
|
},
|
|
1735
1735
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2158,7 +2158,7 @@ var Ht = {
|
|
|
2158
2158
|
return "Z";
|
|
2159
2159
|
switch (a) {
|
|
2160
2160
|
case "X":
|
|
2161
|
-
return
|
|
2161
|
+
return us(i);
|
|
2162
2162
|
case "XXXX":
|
|
2163
2163
|
case "XX":
|
|
2164
2164
|
return $t(i);
|
|
@@ -2173,7 +2173,7 @@ var Ht = {
|
|
|
2173
2173
|
var o = s._originalDate || e, i = o.getTimezoneOffset();
|
|
2174
2174
|
switch (a) {
|
|
2175
2175
|
case "x":
|
|
2176
|
-
return
|
|
2176
|
+
return us(i);
|
|
2177
2177
|
case "xxxx":
|
|
2178
2178
|
case "xx":
|
|
2179
2179
|
return $t(i);
|
|
@@ -2190,7 +2190,7 @@ var Ht = {
|
|
|
2190
2190
|
case "O":
|
|
2191
2191
|
case "OO":
|
|
2192
2192
|
case "OOO":
|
|
2193
|
-
return "GMT" +
|
|
2193
|
+
return "GMT" + ls(i, ":");
|
|
2194
2194
|
case "OOOO":
|
|
2195
2195
|
default:
|
|
2196
2196
|
return "GMT" + $t(i, ":");
|
|
@@ -2203,7 +2203,7 @@ var Ht = {
|
|
|
2203
2203
|
case "z":
|
|
2204
2204
|
case "zz":
|
|
2205
2205
|
case "zzz":
|
|
2206
|
-
return "GMT" +
|
|
2206
|
+
return "GMT" + ls(i, ":");
|
|
2207
2207
|
case "zzzz":
|
|
2208
2208
|
default:
|
|
2209
2209
|
return "GMT" + $t(i, ":");
|
|
@@ -2220,14 +2220,14 @@ var Ht = {
|
|
|
2220
2220
|
return ue(i, a.length);
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
|
-
function
|
|
2223
|
+
function ls(t, e) {
|
|
2224
2224
|
var a = t > 0 ? "-" : "+", n = Math.abs(t), s = Math.floor(n / 60), o = n % 60;
|
|
2225
2225
|
if (o === 0)
|
|
2226
2226
|
return a + String(s);
|
|
2227
2227
|
var i = e || "";
|
|
2228
2228
|
return a + String(s) + i + ue(o, 2);
|
|
2229
2229
|
}
|
|
2230
|
-
function
|
|
2230
|
+
function us(t, e) {
|
|
2231
2231
|
if (t % 60 === 0) {
|
|
2232
2232
|
var a = t > 0 ? "-" : "+";
|
|
2233
2233
|
return a + ue(Math.abs(t) / 60, 2);
|
|
@@ -2239,7 +2239,7 @@ function $t(t, e) {
|
|
|
2239
2239
|
return n + o + a + i;
|
|
2240
2240
|
}
|
|
2241
2241
|
const s0 = n0;
|
|
2242
|
-
var
|
|
2242
|
+
var cs = function(e, a) {
|
|
2243
2243
|
switch (e) {
|
|
2244
2244
|
case "P":
|
|
2245
2245
|
return a.date({
|
|
@@ -2282,7 +2282,7 @@ var us = function(e, a) {
|
|
|
2282
2282
|
}, i0 = function(e, a) {
|
|
2283
2283
|
var n = e.match(/(P+)(p+)?/) || [], s = n[1], o = n[2];
|
|
2284
2284
|
if (!o)
|
|
2285
|
-
return
|
|
2285
|
+
return cs(e, a);
|
|
2286
2286
|
var i;
|
|
2287
2287
|
switch (s) {
|
|
2288
2288
|
case "P":
|
|
@@ -2307,7 +2307,7 @@ var us = function(e, a) {
|
|
|
2307
2307
|
});
|
|
2308
2308
|
break;
|
|
2309
2309
|
}
|
|
2310
|
-
return i.replace("{{date}}",
|
|
2310
|
+
return i.replace("{{date}}", cs(s, a)).replace("{{time}}", Bs(o, a));
|
|
2311
2311
|
}, o0 = {
|
|
2312
2312
|
p: Bs,
|
|
2313
2313
|
P: i0
|
|
@@ -2320,7 +2320,7 @@ function c0(t) {
|
|
|
2320
2320
|
function d0(t) {
|
|
2321
2321
|
return u0.indexOf(t) !== -1;
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function ds(t, e, a) {
|
|
2324
2324
|
if (t === "YYYY")
|
|
2325
2325
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
2326
2326
|
if (t === "YY")
|
|
@@ -2623,7 +2623,7 @@ function D0(t) {
|
|
|
2623
2623
|
};
|
|
2624
2624
|
};
|
|
2625
2625
|
}
|
|
2626
|
-
var
|
|
2626
|
+
var P0 = /^(\d+)(th|st|nd|rd)?/i, V0 = /\d+/i, B0 = {
|
|
2627
2627
|
narrow: /^(b|a)/i,
|
|
2628
2628
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
2629
2629
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
@@ -2666,8 +2666,8 @@ var V0 = /^(\d+)(th|st|nd|rd)?/i, P0 = /\d+/i, B0 = {
|
|
|
2666
2666
|
}
|
|
2667
2667
|
}, x0 = {
|
|
2668
2668
|
ordinalNumber: D0({
|
|
2669
|
-
matchPattern:
|
|
2670
|
-
parsePattern:
|
|
2669
|
+
matchPattern: P0,
|
|
2670
|
+
parsePattern: V0,
|
|
2671
2671
|
valueCallback: function(e) {
|
|
2672
2672
|
return parseInt(e, 10);
|
|
2673
2673
|
}
|
|
@@ -2757,7 +2757,7 @@ function Ns(t, e, a) {
|
|
|
2757
2757
|
return t3(O);
|
|
2758
2758
|
var S = s0[N];
|
|
2759
2759
|
if (S)
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) &&
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) && ds(O, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(O) && ds(O, e, String(t)), S(R, O, U.localize, Z);
|
|
2761
2761
|
if (N.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
|
|
2763
2763
|
return O;
|
|
@@ -3253,11 +3253,11 @@ class Oe {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
3255
|
ha.LexoDecimal = Oe;
|
|
3256
|
-
var Ta = {},
|
|
3256
|
+
var Ta = {}, ps;
|
|
3257
3257
|
function Us() {
|
|
3258
|
-
if (
|
|
3258
|
+
if (ps)
|
|
3259
3259
|
return Ta;
|
|
3260
|
-
|
|
3260
|
+
ps = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
|
|
3261
3261
|
const t = Yt, e = Ws();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
@@ -3311,7 +3311,7 @@ function Us() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3314
|
+
var An = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
3316
3316
|
var qa = {};
|
|
3317
3317
|
Object.defineProperty(qa, "__esModule", { value: !0 });
|
|
@@ -3421,13 +3421,13 @@ xa.LexoNumeralSystem64 = k3;
|
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
3423
|
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(qa, t), a(za, t), a(xa, t);
|
|
3424
|
-
})(
|
|
3425
|
-
var
|
|
3424
|
+
})(An);
|
|
3425
|
+
var fs;
|
|
3426
3426
|
function Ws() {
|
|
3427
|
-
if (
|
|
3427
|
+
if (fs)
|
|
3428
3428
|
return aa;
|
|
3429
|
-
|
|
3430
|
-
const t = ha, e = Us(), a = ma, n =
|
|
3429
|
+
fs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
+
const t = ha, e = Us(), a = ma, n = An;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3628,7 +3628,7 @@ function Ws() {
|
|
|
3628
3628
|
for (var o in n)
|
|
3629
3629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3630
3630
|
};
|
|
3631
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(An, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
3633
|
function qs(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3671,17 +3671,17 @@ 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
3683
|
function T3(t, e) {
|
|
3684
|
-
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !
|
|
3684
|
+
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !On(a, e));
|
|
3685
3685
|
}
|
|
3686
3686
|
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
@@ -3723,7 +3723,7 @@ const zs = (t) => {
|
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
3724
3724
|
src: i.avatarUrl
|
|
3725
3725
|
}, null, 8, L3)) : T("", !0),
|
|
3726
|
-
i.isClosable ? (p(),
|
|
3726
|
+
i.isClosable ? (p(), P(ce, {
|
|
3727
3727
|
key: 2,
|
|
3728
3728
|
"icon-name": "CloseRounded",
|
|
3729
3729
|
class: "ao-avatar__close",
|
|
@@ -3734,7 +3734,7 @@ const zs = (t) => {
|
|
|
3734
3734
|
], 10, E3));
|
|
3735
3735
|
}
|
|
3736
3736
|
});
|
|
3737
|
-
const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-template__subitem" },
|
|
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 = {
|
|
3738
3738
|
key: 0,
|
|
3739
3739
|
class: "ao-card-template__col-body ao-card-template__phases-list"
|
|
3740
3740
|
}, Z3 = { class: "ao-card-template__footer" }, W3 = {
|
|
@@ -3759,7 +3759,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3759
3759
|
const a = (n) => {
|
|
3760
3760
|
e("updateTitle", n);
|
|
3761
3761
|
};
|
|
3762
|
-
return (n, s) => (p(),
|
|
3762
|
+
return (n, s) => (p(), P(Is, {
|
|
3763
3763
|
id: n.id,
|
|
3764
3764
|
title: n.title,
|
|
3765
3765
|
"is-draggable": !0,
|
|
@@ -3772,9 +3772,9 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3772
3772
|
name: "MountainFlagOutlineRounded",
|
|
3773
3773
|
size: "sm"
|
|
3774
3774
|
}),
|
|
3775
|
-
v("span",
|
|
3775
|
+
v("span", P3, G(n.milestones), 1)
|
|
3776
3776
|
]),
|
|
3777
|
-
v("li",
|
|
3777
|
+
v("li", V3, [
|
|
3778
3778
|
M(pe, {
|
|
3779
3779
|
name: "TaskOutlineRounded",
|
|
3780
3780
|
size: "sm"
|
|
@@ -3794,7 +3794,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3794
3794
|
v("span", F3, G(n.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
n.phases ? (p(), g("ul", U3, [
|
|
3797
|
-
(p(!0), g(ve, null, _e(n.phases, (o) => (p(),
|
|
3797
|
+
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(Mn, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -3845,7 +3845,7 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
|
|
|
3845
3845
|
setup(t) {
|
|
3846
3846
|
return (e, a) => (p(), g("header", J3, [
|
|
3847
3847
|
v("div", e5, [
|
|
3848
|
-
e.canGoBack ? (p(),
|
|
3848
|
+
e.canGoBack ? (p(), P(ce, {
|
|
3849
3849
|
key: 0,
|
|
3850
3850
|
"icon-name": "ArrowBackRounded",
|
|
3851
3851
|
variant: "ghost",
|
|
@@ -3869,7 +3869,7 @@ const a5 = ["type"], n5 = {
|
|
|
3869
3869
|
iconName: {},
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
|
-
color: { default: () =>
|
|
3872
|
+
color: { default: () => Sn.BLACK },
|
|
3873
3873
|
size: { default: () => Za.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Os.ROUNDED }
|
|
@@ -3888,7 +3888,7 @@ const a5 = ["type"], n5 = {
|
|
|
3888
3888
|
te(s.$slots, "default", {}, () => [
|
|
3889
3889
|
s.label ? (p(), g("span", n5, G(s.label), 1)) : T("", !0)
|
|
3890
3890
|
]),
|
|
3891
|
-
n.value ? (p(),
|
|
3891
|
+
n.value ? (p(), P(pe, {
|
|
3892
3892
|
key: 0,
|
|
3893
3893
|
name: n.value,
|
|
3894
3894
|
class: "ao-button-card__icon",
|
|
@@ -3900,7 +3900,7 @@ const a5 = ["type"], n5 = {
|
|
|
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__ */ q({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3920,7 +3920,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3920
3920
|
}, o = () => {
|
|
3921
3921
|
e("remove");
|
|
3922
3922
|
};
|
|
3923
|
-
return (i, r) => (p(),
|
|
3923
|
+
return (i, r) => (p(), P(Is, { "onUpdate:title": a }, {
|
|
3924
3924
|
footer: W(() => [
|
|
3925
3925
|
v("ul", s5, [
|
|
3926
3926
|
(p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
|
|
@@ -3961,7 +3961,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
3961
3961
|
var s;
|
|
3962
3962
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3963
3963
|
}), n = k(() => e.milestones ? qs(e.milestones) : 0);
|
|
3964
|
-
return (s, o) => (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__ */ q({
|
|
|
3983
3983
|
var n;
|
|
3984
3984
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3985
3985
|
});
|
|
3986
|
-
return (n, s) => (p(),
|
|
3986
|
+
return (n, s) => (p(), P(En, { activities: a.value }, {
|
|
3987
3987
|
default: W(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
@@ -4014,7 +4014,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4014
4014
|
});
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
|
-
return (r, l) => r.phase ? (p(),
|
|
4017
|
+
return (r, l) => r.phase ? (p(), P(Q(mt), {
|
|
4018
4018
|
key: 0,
|
|
4019
4019
|
"model-value": r.phase.milestones,
|
|
4020
4020
|
class: "ao-templates__list",
|
|
@@ -4031,7 +4031,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4031
4031
|
})
|
|
4032
4032
|
]),
|
|
4033
4033
|
item: W(({ element: c }) => [
|
|
4034
|
-
(p(),
|
|
4034
|
+
(p(), P(u5, {
|
|
4035
4035
|
id: c.id,
|
|
4036
4036
|
key: c.id,
|
|
4037
4037
|
title: c.name,
|
|
@@ -4070,7 +4070,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4070
4070
|
var n;
|
|
4071
4071
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4072
4072
|
});
|
|
4073
|
-
return (n, s) => (p(),
|
|
4073
|
+
return (n, s) => (p(), P(En, { tasks: a.value }, {
|
|
4074
4074
|
default: W(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
@@ -4104,7 +4104,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4104
4104
|
});
|
|
4105
4105
|
}
|
|
4106
4106
|
};
|
|
4107
|
-
return (r, l) => r.milestone ? (p(),
|
|
4107
|
+
return (r, l) => r.milestone ? (p(), P(Q(mt), {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
"model-value": r.milestone.activities,
|
|
4110
4110
|
title: r.$t("template.activities.title"),
|
|
@@ -4121,7 +4121,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4121
4121
|
})
|
|
4122
4122
|
]),
|
|
4123
4123
|
item: W(({ element: c }) => [
|
|
4124
|
-
(p(),
|
|
4124
|
+
(p(), P(p5, {
|
|
4125
4125
|
id: c.id,
|
|
4126
4126
|
key: c.id,
|
|
4127
4127
|
title: c.name,
|
|
@@ -4151,7 +4151,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4151
4151
|
}, C5 = { class: "ao-modal__header-meta" }, g5 = { class: "ao-modal__title-group" }, _5 = { class: "ao-modal__body" }, y5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
|
-
},
|
|
4154
|
+
}, In = /* @__PURE__ */ q({
|
|
4155
4155
|
__name: "AoModal",
|
|
4156
4156
|
props: {
|
|
4157
4157
|
size: { default: "md" }
|
|
@@ -4189,7 +4189,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4189
4189
|
], 2));
|
|
4190
4190
|
}
|
|
4191
4191
|
});
|
|
4192
|
-
const ua = Math.min, Ee = Math.max,
|
|
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 = {
|
|
@@ -4201,7 +4201,7 @@ const ua = Math.min, Ee = Math.max, Pa = Math.round, Oa = Math.floor, pt = (t) =
|
|
|
4201
4201
|
start: "end",
|
|
4202
4202
|
end: "start"
|
|
4203
4203
|
};
|
|
4204
|
-
function
|
|
4204
|
+
function Ln(t, e) {
|
|
4205
4205
|
return typeof t == "function" ? t(e) : t;
|
|
4206
4206
|
}
|
|
4207
4207
|
function Ft(t) {
|
|
@@ -4216,11 +4216,11 @@ function $5(t) {
|
|
|
4216
4216
|
function xs(t) {
|
|
4217
4217
|
return t === "y" ? "height" : "width";
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function Hn(t) {
|
|
4220
4220
|
return ["top", "bottom"].includes(Ft(t)) ? "y" : "x";
|
|
4221
4221
|
}
|
|
4222
4222
|
function Ys(t) {
|
|
4223
|
-
return $5(
|
|
4223
|
+
return $5(Hn(t));
|
|
4224
4224
|
}
|
|
4225
4225
|
function k5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
@@ -4282,12 +4282,12 @@ function Ra(t) {
|
|
|
4282
4282
|
bottom: t.y + t.height
|
|
4283
4283
|
};
|
|
4284
4284
|
}
|
|
4285
|
-
function
|
|
4285
|
+
function vs(t, e, a) {
|
|
4286
4286
|
let {
|
|
4287
4287
|
reference: n,
|
|
4288
4288
|
floating: s
|
|
4289
4289
|
} = t;
|
|
4290
|
-
const o =
|
|
4290
|
+
const o = Hn(e), i = Ys(e), r = xs(i), l = Ft(e), c = o === "y", u = n.x + n.width / 2 - s.width / 2, f = n.y + n.height / 2 - s.height / 2, d = n[r] / 2 - s[r] / 2;
|
|
4291
4291
|
let C;
|
|
4292
4292
|
switch (l) {
|
|
4293
4293
|
case "top":
|
|
@@ -4344,7 +4344,7 @@ const E5 = async (t, e, a) => {
|
|
|
4344
4344
|
}), {
|
|
4345
4345
|
x: u,
|
|
4346
4346
|
y: f
|
|
4347
|
-
} =
|
|
4347
|
+
} = vs(c, n, l), d = n, C = {}, b = 0;
|
|
4348
4348
|
for (let y = 0; y < r.length; y++) {
|
|
4349
4349
|
const {
|
|
4350
4350
|
name: _,
|
|
@@ -4382,7 +4382,7 @@ const E5 = async (t, e, a) => {
|
|
|
4382
4382
|
}) : D.rects), {
|
|
4383
4383
|
x: u,
|
|
4384
4384
|
y: f
|
|
4385
|
-
} =
|
|
4385
|
+
} = vs(c, d, l)), y = -1;
|
|
4386
4386
|
continue;
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
@@ -4410,7 +4410,7 @@ async function Ks(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: C = 0
|
|
4413
|
-
} =
|
|
4413
|
+
} = Ln(e, t), b = O5(C), _ = r[d ? f === "floating" ? "reference" : "floating" : f], h = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4458,7 +4458,7 @@ const I5 = function(t) {
|
|
|
4458
4458
|
fallbackAxisSideDirection: b = "none",
|
|
4459
4459
|
flipAlignment: y = !0,
|
|
4460
4460
|
..._
|
|
4461
|
-
} =
|
|
4461
|
+
} = Ln(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const h = Ft(s), A = Ft(r) === r, w = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = d || (A || !y ? [Ba(r)] : S5(r));
|
|
@@ -4522,7 +4522,7 @@ const I5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} =
|
|
4525
|
+
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u = Ka(a), f = Hn(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: C
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4575,7 +4575,7 @@ function et(t) {
|
|
|
4575
4575
|
function Fe(t) {
|
|
4576
4576
|
return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
|
-
function
|
|
4578
|
+
function hs(t) {
|
|
4579
4579
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof ke(t).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
4581
|
function ga(t) {
|
|
@@ -4584,32 +4584,32 @@ function ga(t) {
|
|
|
4584
4584
|
overflowX: a,
|
|
4585
4585
|
overflowY: n,
|
|
4586
4586
|
display: s
|
|
4587
|
-
} =
|
|
4587
|
+
} = Ve(t);
|
|
4588
4588
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + a) && !["inline", "contents"].includes(s);
|
|
4589
4589
|
}
|
|
4590
4590
|
function H5(t) {
|
|
4591
4591
|
return ["table", "td", "th"].includes(ft(t));
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4594
|
-
const e =
|
|
4593
|
+
function Dn(t) {
|
|
4594
|
+
const e = Pn(), a = Ve(t);
|
|
4595
4595
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (a.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (a.contain || "").includes(n));
|
|
4596
4596
|
}
|
|
4597
4597
|
function D5(t) {
|
|
4598
4598
|
let e = Ut(t);
|
|
4599
4599
|
for (; Fe(e) && !Ga(e); ) {
|
|
4600
|
-
if (
|
|
4600
|
+
if (Dn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Ut(e);
|
|
4603
4603
|
}
|
|
4604
4604
|
return null;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Pn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
4609
|
function Ga(t) {
|
|
4610
4610
|
return ["html", "body", "#document"].includes(ft(t));
|
|
4611
4611
|
}
|
|
4612
|
-
function
|
|
4612
|
+
function Ve(t) {
|
|
4613
4613
|
return ke(t).getComputedStyle(t);
|
|
4614
4614
|
}
|
|
4615
4615
|
function Xa(t) {
|
|
@@ -4628,10 +4628,10 @@ function Ut(t) {
|
|
|
4628
4628
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4629
4629
|
t.assignedSlot || // DOM Element detected.
|
|
4630
4630
|
t.parentNode || // ShadowRoot detected.
|
|
4631
|
-
|
|
4631
|
+
hs(t) && t.host || // Fallback.
|
|
4632
4632
|
at(t)
|
|
4633
4633
|
);
|
|
4634
|
-
return
|
|
4634
|
+
return hs(e) ? e.host : e;
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
@@ -4644,9 +4644,9 @@ function ca(t, e, a) {
|
|
|
4644
4644
|
return o ? e.concat(i, i.visualViewport || [], ga(s) ? s : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(s, ca(s));
|
|
4645
4645
|
}
|
|
4646
4646
|
function Qs(t) {
|
|
4647
|
-
const e =
|
|
4647
|
+
const e = Ve(t);
|
|
4648
4648
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4649
|
-
const s = Fe(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r =
|
|
4649
|
+
const s = Fe(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
|
|
4650
4650
|
return r && (a = o, n = i), {
|
|
4651
4651
|
width: a,
|
|
4652
4652
|
height: n,
|
|
@@ -4656,7 +4656,7 @@ function Qs(t) {
|
|
|
4656
4656
|
function Vn(t) {
|
|
4657
4657
|
return et(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
|
-
function
|
|
4659
|
+
function Vt(t) {
|
|
4660
4660
|
const e = Vn(t);
|
|
4661
4661
|
if (!Fe(e))
|
|
4662
4662
|
return pt(1);
|
|
@@ -4665,35 +4665,35 @@ function Pt(t) {
|
|
|
4665
4665
|
height: s,
|
|
4666
4666
|
$: o
|
|
4667
4667
|
} = Qs(e);
|
|
4668
|
-
let i = (o ?
|
|
4668
|
+
let i = (o ? Va(a.width) : a.width) / n, r = (o ? Va(a.height) : a.height) / s;
|
|
4669
4669
|
return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
4670
4670
|
x: i,
|
|
4671
4671
|
y: r
|
|
4672
4672
|
};
|
|
4673
4673
|
}
|
|
4674
|
-
const
|
|
4674
|
+
const P5 = /* @__PURE__ */ pt(0);
|
|
4675
4675
|
function Js(t) {
|
|
4676
4676
|
const e = ke(t);
|
|
4677
|
-
return !
|
|
4677
|
+
return !Pn() || !e.visualViewport ? P5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
4681
4681
|
}
|
|
4682
|
-
function
|
|
4682
|
+
function V5(t, e, a) {
|
|
4683
4683
|
return e === void 0 && (e = !1), !a || e && a !== ke(t) ? !1 : e;
|
|
4684
4684
|
}
|
|
4685
4685
|
function St(t, e, a, n) {
|
|
4686
4686
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4687
4687
|
const s = t.getBoundingClientRect(), o = Vn(t);
|
|
4688
4688
|
let i = pt(1);
|
|
4689
|
-
e && (n ? et(n) && (i =
|
|
4690
|
-
const r =
|
|
4689
|
+
e && (n ? et(n) && (i = Vt(n)) : i = Vt(t));
|
|
4690
|
+
const r = V5(o, a, n) ? Js(o) : pt(0);
|
|
4691
4691
|
let l = (s.left + r.x) / i.x, c = (s.top + r.y) / i.y, u = s.width / i.x, f = s.height / i.y;
|
|
4692
4692
|
if (o) {
|
|
4693
4693
|
const d = ke(o), C = n && et(n) ? ke(n) : n;
|
|
4694
4694
|
let b = d.frameElement;
|
|
4695
4695
|
for (; b && n && C !== d; ) {
|
|
4696
|
-
const y =
|
|
4696
|
+
const y = Vt(b), _ = b.getBoundingClientRect(), h = Ve(b), A = _.left + (b.clientLeft + parseFloat(h.paddingLeft)) * y.x, w = _.top + (b.clientTop + parseFloat(h.paddingTop)) * y.y;
|
|
4697
4697
|
l *= y.x, c *= y.y, u *= y.x, f *= y.y, l += A, c += w, b = ke(b).frameElement;
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
@@ -4720,7 +4720,7 @@ function B5(t) {
|
|
|
4720
4720
|
const l = pt(0);
|
|
4721
4721
|
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Xa(a)), Fe(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
|
-
r =
|
|
4723
|
+
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
4725
4725
|
return {
|
|
4726
4726
|
width: e.width * r.x,
|
|
@@ -4739,7 +4739,7 @@ function N5(t) {
|
|
|
4739
4739
|
const e = at(t), a = Xa(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
|
|
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,
|
|
@@ -4751,7 +4751,7 @@ function j5(t, e) {
|
|
|
4751
4751
|
let o = n.clientWidth, i = n.clientHeight, r = 0, l = 0;
|
|
4752
4752
|
if (s) {
|
|
4753
4753
|
o = s.width, i = s.height;
|
|
4754
|
-
const c =
|
|
4754
|
+
const c = Pn();
|
|
4755
4755
|
(!c || c && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
4756
4756
|
}
|
|
4757
4757
|
return {
|
|
@@ -4762,7 +4762,7 @@ function j5(t, e) {
|
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
4764
4764
|
function F5(t, e) {
|
|
4765
|
-
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Fe(t) ?
|
|
4765
|
+
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Fe(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
|
|
4766
4766
|
return {
|
|
4767
4767
|
width: i,
|
|
4768
4768
|
height: r,
|
|
@@ -4770,7 +4770,7 @@ function F5(t, e) {
|
|
|
4770
4770
|
y: c
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function ms(t, e, a) {
|
|
4774
4774
|
let n;
|
|
4775
4775
|
if (e === "viewport")
|
|
4776
4776
|
n = j5(t, a);
|
|
@@ -4790,17 +4790,17 @@ function hs(t, e, a) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
function ti(t, e) {
|
|
4792
4792
|
const a = Ut(t);
|
|
4793
|
-
return a === e || !et(a) || Ga(a) ? !1 :
|
|
4793
|
+
return a === e || !et(a) || Ga(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function U5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
4797
4797
|
if (a)
|
|
4798
4798
|
return a;
|
|
4799
4799
|
let n = ca(t, [], !1).filter((r) => et(r) && ft(r) !== "body"), s = null;
|
|
4800
|
-
const o =
|
|
4800
|
+
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
4802
|
for (; et(i) && !Ga(i); ) {
|
|
4803
|
-
const r =
|
|
4803
|
+
const r = Ve(i), l = Dn(i);
|
|
4804
4804
|
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
|
|
4805
4805
|
}
|
|
4806
4806
|
return e.set(t, n), n;
|
|
@@ -4813,9 +4813,9 @@ function Z5(t) {
|
|
|
4813
4813
|
strategy: s
|
|
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
|
-
const f =
|
|
4816
|
+
const f = ms(e, u, s);
|
|
4817
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,
|
|
4821
4821
|
height: l.bottom - l.top,
|
|
@@ -4846,17 +4846,17 @@ function q5(t, e, a) {
|
|
|
4846
4846
|
height: i.height
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4850
|
-
return !Fe(t) ||
|
|
4849
|
+
function Cs(t, e) {
|
|
4850
|
+
return !Fe(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ai(t, e) {
|
|
4853
4853
|
const a = ke(t);
|
|
4854
4854
|
if (!Fe(t))
|
|
4855
4855
|
return a;
|
|
4856
|
-
let n =
|
|
4857
|
-
for (; n && H5(n) &&
|
|
4858
|
-
n =
|
|
4859
|
-
return n && (ft(n) === "html" || ft(n) === "body" &&
|
|
4856
|
+
let n = Cs(t, e);
|
|
4857
|
+
for (; n && H5(n) && Ve(n).position === "static"; )
|
|
4858
|
+
n = Cs(n, e);
|
|
4859
|
+
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !Dn(n)) ? a : n || D5(t) || a;
|
|
4860
4860
|
}
|
|
4861
4861
|
const z5 = async function(t) {
|
|
4862
4862
|
let {
|
|
@@ -4875,7 +4875,7 @@ const z5 = async function(t) {
|
|
|
4875
4875
|
};
|
|
4876
4876
|
};
|
|
4877
4877
|
function x5(t) {
|
|
4878
|
-
return
|
|
4878
|
+
return Ve(t).direction === "rtl";
|
|
4879
4879
|
}
|
|
4880
4880
|
const Y5 = {
|
|
4881
4881
|
convertOffsetParentRelativeRectToViewportRelativeRect: B5,
|
|
@@ -4885,7 +4885,7 @@ const Y5 = {
|
|
|
4885
4885
|
getElementRects: z5,
|
|
4886
4886
|
getClientRects: R5,
|
|
4887
4887
|
getDimensions: W5,
|
|
4888
|
-
getScale:
|
|
4888
|
+
getScale: Vt,
|
|
4889
4889
|
isElement: et,
|
|
4890
4890
|
isRTL: x5
|
|
4891
4891
|
};
|
|
@@ -5042,7 +5042,7 @@ const X5 = (t, e, a) => {
|
|
|
5042
5042
|
c();
|
|
5043
5043
|
}), Ts(() => {
|
|
5044
5044
|
r.value();
|
|
5045
|
-
}),
|
|
5045
|
+
}), $n(() => {
|
|
5046
5046
|
r.value();
|
|
5047
5047
|
});
|
|
5048
5048
|
};
|
|
@@ -5161,7 +5161,7 @@ function i7(t, e, a) {
|
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} = Me(t), re = At().proxy, x = a.iv,
|
|
5164
|
+
} = Me(t), re = At().proxy, x = 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, tn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Ae = ee(!1), Be = ee(null), We = ee(N.value && i.value === -1 ? 10 : i.value), Xt = k(() => l.value || c.value || !1), ba = k(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = k(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
@@ -5244,27 +5244,27 @@ function i7(t, e, a) {
|
|
|
5244
5244
|
we(x.value.concat($));
|
|
5245
5245
|
break;
|
|
5246
5246
|
}
|
|
5247
|
-
e.emit("select",
|
|
5247
|
+
e.emit("select", es($), $, re);
|
|
5248
5248
|
}, It = ($) => {
|
|
5249
5249
|
switch (typeof $ != "object" && ($ = ze($)), s.value) {
|
|
5250
5250
|
case "single":
|
|
5251
|
-
|
|
5251
|
+
as();
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
5254
|
case "multiple":
|
|
5255
5255
|
we(Array.isArray($) ? x.value.filter((B) => $.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1) : x.value.filter((B) => B[H.value] != $[H.value]));
|
|
5256
5256
|
break;
|
|
5257
5257
|
}
|
|
5258
|
-
e.emit("deselect",
|
|
5259
|
-
},
|
|
5258
|
+
e.emit("deselect", es($), $, re);
|
|
5259
|
+
}, es = ($) => b.value ? $ : $[H.value], ts = ($) => {
|
|
5260
5260
|
It($);
|
|
5261
5261
|
}, Ci = ($, B) => {
|
|
5262
5262
|
if (B.button !== 0) {
|
|
5263
5263
|
B.preventDefault();
|
|
5264
5264
|
return;
|
|
5265
5265
|
}
|
|
5266
|
-
|
|
5267
|
-
},
|
|
5266
|
+
ts($);
|
|
5267
|
+
}, as = () => {
|
|
5268
5268
|
we(hi.value), e.emit("clear", re);
|
|
5269
5269
|
}, qe = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
@@ -5280,13 +5280,13 @@ function i7(t, e, a) {
|
|
|
5280
5280
|
if (!sn($)) {
|
|
5281
5281
|
if (J && J.value && !qe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
5282
|
Ae.value = !0, $.then((B) => {
|
|
5283
|
-
Ae.value = !1,
|
|
5283
|
+
Ae.value = !1, ns(B);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
5287
|
-
|
|
5287
|
+
ns($);
|
|
5288
5288
|
}
|
|
5289
|
-
},
|
|
5289
|
+
}, ns = ($) => {
|
|
5290
5290
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
5292
|
if ($ && qe($)) {
|
|
@@ -5343,9 +5343,9 @@ function i7(t, e, a) {
|
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && w.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
|
-
me || (me = (bt,
|
|
5347
|
-
let
|
|
5348
|
-
return le.value ?
|
|
5346
|
+
me || (me = (bt, is, i8) => yt.value.some((Ti) => {
|
|
5347
|
+
let os = fn(ya(bt[Ti]), K.value);
|
|
5348
|
+
return le.value ? os.startsWith(fn(is, K.value)) : os.indexOf(fn(is, K.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (oe = oe.filter((me) => !ki(me))), oe;
|
|
@@ -5356,7 +5356,7 @@ function i7(t, e, a) {
|
|
|
5356
5356
|
return { [H.value]: oe, [yt.value[0]]: me, [u.value]: me };
|
|
5357
5357
|
})), B = B.map((oe) => typeof oe == "object" ? oe : { [H.value]: oe, [yt.value[0]]: oe, [u.value]: oe }), B;
|
|
5358
5358
|
}, $a = () => {
|
|
5359
|
-
je(
|
|
5359
|
+
je(V.value) || (x.value = Sa(V.value));
|
|
5360
5360
|
}, ka = ($) => (Ae.value = !0, new Promise((B, oe) => {
|
|
5361
5361
|
n.value(X.value, re).then((me) => {
|
|
5362
5362
|
Ne.value = me || [], typeof $ == "function" && $(me), Ae.value = !1;
|
|
@@ -5371,14 +5371,14 @@ function i7(t, e, a) {
|
|
|
5371
5371
|
let $ = ze(x.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
5373
5373
|
let B = $[u.value];
|
|
5374
|
-
x.value[u.value] = B, b.value && (
|
|
5374
|
+
x.value[u.value] = B, b.value && (V.value[u.value] = B);
|
|
5375
5375
|
}
|
|
5376
5376
|
} else
|
|
5377
5377
|
x.value.forEach(($, B) => {
|
|
5378
5378
|
let oe = ze(x.value[B][H.value]);
|
|
5379
5379
|
if (oe !== void 0) {
|
|
5380
5380
|
let me = oe[u.value];
|
|
5381
|
-
x.value[B][u.value] = me, b.value && (
|
|
5381
|
+
x.value[B][u.value] = me, b.value && (V.value[B][u.value] = me);
|
|
5382
5382
|
}
|
|
5383
5383
|
});
|
|
5384
5384
|
}, Ai = ($) => {
|
|
@@ -5391,7 +5391,7 @@ function i7(t, e, a) {
|
|
|
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, ($) => {
|
|
5396
5396
|
$.length < A.value || !$ && A.value !== 0 || (Ae.value = !0, E.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
$ == X.value && n.value(X.value, re).then((B) => {
|
|
@@ -5405,11 +5405,11 @@ function i7(t, e, a) {
|
|
|
5405
5405
|
}, _.value));
|
|
5406
5406
|
}, { flush: "sync" });
|
|
5407
5407
|
};
|
|
5408
|
-
if (s.value !== "single" && !je(
|
|
5408
|
+
if (s.value !== "single" && !je(V.value) && !Array.isArray(V.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ? h.value ? ka($a) : b.value == !0 && $a() : (Ne.value = n.value, $a()), _.value > -1 &&
|
|
5411
|
-
Be.value && Be.value(), $ >= 0 &&
|
|
5412
|
-
}), de(
|
|
5410
|
+
return n && typeof n.value == "function" ? h.value ? ka($a) : b.value == !0 && $a() : (Ne.value = n.value, $a()), _.value > -1 && ss(), de(_, ($, B) => {
|
|
5411
|
+
Be.value && Be.value(), $ >= 0 && ss();
|
|
5412
|
+
}), de(V, ($) => {
|
|
5413
5413
|
if (je($)) {
|
|
5414
5414
|
we(Sa($), !1);
|
|
5415
5415
|
return;
|
|
@@ -5446,9 +5446,9 @@ function i7(t, e, a) {
|
|
|
5446
5446
|
offset: We,
|
|
5447
5447
|
select: Et,
|
|
5448
5448
|
deselect: It,
|
|
5449
|
-
remove:
|
|
5449
|
+
remove: ts,
|
|
5450
5450
|
selectAll: yi,
|
|
5451
|
-
clear:
|
|
5451
|
+
clear: as,
|
|
5452
5452
|
isSelected: qe,
|
|
5453
5453
|
isDisabled: sn,
|
|
5454
5454
|
isMax: on,
|
|
@@ -5472,23 +5472,23 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: f
|
|
5475
|
-
} = Me(t), d = a.fo, C = a.fg, b = a.handleOptionClick, y = a.handleGroupClick, _ = a.search, h = a.pointer, A = a.setPointer, w = a.clearPointer, E = a.multiselect, D = a.isOpen, H = k(() => d.value.filter((
|
|
5476
|
-
const
|
|
5475
|
+
} = Me(t), d = a.fo, C = a.fg, b = a.handleOptionClick, y = a.handleGroupClick, _ = a.search, h = a.pointer, A = a.setPointer, w = a.clearPointer, E = a.multiselect, D = a.isOpen, H = k(() => d.value.filter((V) => !V[u.value])), U = k(() => C.value.filter((V) => !V[u.value])), F = k(() => l.value !== "single" && c.value), z = k(() => h.value && h.value.group), I = k(() => re(h.value)), K = k(() => {
|
|
5476
|
+
const V = z.value ? h.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
5478
|
re(h.value)
|
|
5479
|
-
), X = U.value.map((we) => we[i.value]).indexOf(
|
|
5479
|
+
), X = U.value.map((we) => we[i.value]).indexOf(V[i.value]);
|
|
5480
5480
|
let he = U.value[X - 1];
|
|
5481
5481
|
return he === void 0 && (he = Z.value), he;
|
|
5482
5482
|
}), R = k(() => {
|
|
5483
|
-
let
|
|
5484
|
-
return U.value.length <=
|
|
5485
|
-
}), Z = k(() => [...U.value].slice(-1)[0]), ie = k(() => h.value.__VISIBLE__.filter((
|
|
5486
|
-
const
|
|
5487
|
-
return
|
|
5483
|
+
let V = U.value.map((X) => X.label).indexOf(z.value ? h.value[i.value] : re(h.value)[i.value]) + 1;
|
|
5484
|
+
return U.value.length <= V && (V = 0), U.value[V];
|
|
5485
|
+
}), Z = k(() => [...U.value].slice(-1)[0]), ie = k(() => h.value.__VISIBLE__.filter((V) => !V[u.value])[0]), O = k(() => {
|
|
5486
|
+
const V = I.value.__VISIBLE__.filter((X) => !X[u.value]);
|
|
5487
|
+
return V[V.map((X) => X[n.value]).indexOf(h.value[n.value]) - 1];
|
|
5488
5488
|
}), N = k(() => {
|
|
5489
|
-
const
|
|
5490
|
-
return
|
|
5491
|
-
}), S = k(() => [...K.value.__VISIBLE__.filter((
|
|
5489
|
+
const V = re(h.value).__VISIBLE__.filter((X) => !X[u.value]);
|
|
5490
|
+
return V[V.map((X) => X[n.value]).indexOf(h.value[n.value]) + 1];
|
|
5491
|
+
}), S = k(() => [...K.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = k(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), L = (V) => h.value && (!V.group && h.value[n.value] === V[n.value] || V.group !== void 0 && h.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
|
|
5492
5492
|
A(H.value[0] || null);
|
|
5493
5493
|
}, ae = () => {
|
|
5494
5494
|
!h.value || h.value[u.value] === !0 || (z.value ? y(h.value) : b(h.value));
|
|
@@ -5496,42 +5496,42 @@ function o7(t, e, a) {
|
|
|
5496
5496
|
if (h.value === null)
|
|
5497
5497
|
A((r.value && F.value ? U.value[0].__CREATE__ ? H.value[0] : U.value[0] : H.value[0]) || null);
|
|
5498
5498
|
else if (r.value && F.value) {
|
|
5499
|
-
let
|
|
5500
|
-
|
|
5499
|
+
let V = z.value ? ie.value : N.value;
|
|
5500
|
+
V === void 0 && (V = R.value, V.__CREATE__ && (V = V[f.value][0])), A(V || /* istanbul ignore next */
|
|
5501
5501
|
null);
|
|
5502
5502
|
} else {
|
|
5503
|
-
let
|
|
5504
|
-
H.value.length <=
|
|
5503
|
+
let V = H.value.map((X) => X[n.value]).indexOf(h.value[n.value]) + 1;
|
|
5504
|
+
H.value.length <= V && (V = 0), A(H.value[V] || null);
|
|
5505
5505
|
}
|
|
5506
5506
|
De(() => {
|
|
5507
5507
|
x();
|
|
5508
5508
|
});
|
|
5509
5509
|
}, ne = () => {
|
|
5510
5510
|
if (h.value === null) {
|
|
5511
|
-
let
|
|
5512
|
-
r.value && F.value && (
|
|
5511
|
+
let V = H.value[H.value.length - 1];
|
|
5512
|
+
r.value && F.value && (V = m.value, V === void 0 && (V = Z.value)), A(V || null);
|
|
5513
5513
|
} else if (r.value && F.value) {
|
|
5514
|
-
let
|
|
5515
|
-
|
|
5514
|
+
let V = z.value ? S.value : O.value;
|
|
5515
|
+
V === void 0 && (V = z.value ? K.value : I.value, V.__CREATE__ && (V = S.value, V === void 0 && (V = K.value))), A(V || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
|
-
let
|
|
5519
|
-
|
|
5518
|
+
let V = H.value.map((X) => X[n.value]).indexOf(h.value[n.value]) - 1;
|
|
5519
|
+
V < 0 && (V = H.value.length - 1), A(H.value[V] || null);
|
|
5520
5520
|
}
|
|
5521
5521
|
De(() => {
|
|
5522
5522
|
x();
|
|
5523
5523
|
});
|
|
5524
|
-
}, re = (
|
|
5525
|
-
let
|
|
5526
|
-
if (!
|
|
5524
|
+
}, re = (V) => U.value.find((X) => X.__VISIBLE__.map((he) => he[n.value]).indexOf(V[n.value]) !== -1), x = () => {
|
|
5525
|
+
let V = E.value.querySelector("[data-pointed]");
|
|
5526
|
+
if (!V)
|
|
5527
5527
|
return;
|
|
5528
|
-
let X =
|
|
5529
|
-
r.value && (X = z.value ?
|
|
5528
|
+
let X = V.parentElement.parentElement;
|
|
5529
|
+
r.value && (X = z.value ? V.parentElement.parentElement.parentElement : V.parentElement.parentElement.parentElement.parentElement), V.offsetTop + V.offsetHeight > X.clientHeight + X.scrollTop && (X.scrollTop = V.offsetTop + V.offsetHeight - X.clientHeight), V.offsetTop < X.scrollTop && (X.scrollTop = V.offsetTop);
|
|
5530
5530
|
};
|
|
5531
|
-
return de(_, (
|
|
5532
|
-
o.value && (
|
|
5533
|
-
}), de(D, (
|
|
5534
|
-
if (
|
|
5531
|
+
return de(_, (V) => {
|
|
5532
|
+
o.value && (V.length && s.value ? J() : w());
|
|
5533
|
+
}), de(D, (V) => {
|
|
5534
|
+
if (V) {
|
|
5535
5535
|
let X = E.value.querySelectorAll("[data-selected]")[0];
|
|
5536
5536
|
if (!X)
|
|
5537
5537
|
return;
|
|
@@ -5563,11 +5563,11 @@ function Mt(t) {
|
|
|
5563
5563
|
var e = Se(t).Element;
|
|
5564
5564
|
return t instanceof e || t instanceof Element;
|
|
5565
5565
|
}
|
|
5566
|
-
function
|
|
5566
|
+
function Pe(t) {
|
|
5567
5567
|
var e = Se(t).HTMLElement;
|
|
5568
5568
|
return t instanceof e || t instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
5570
|
-
function
|
|
5570
|
+
function Bn(t) {
|
|
5571
5571
|
if (typeof ShadowRoot > "u")
|
|
5572
5572
|
return !1;
|
|
5573
5573
|
var e = Se(t).ShadowRoot;
|
|
@@ -5586,7 +5586,7 @@ function ni() {
|
|
|
5586
5586
|
function Wt(t, e, a) {
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5588
5588
|
var n = t.getBoundingClientRect(), s = 1, o = 1;
|
|
5589
|
-
e &&
|
|
5589
|
+
e && Pe(t) && (s = t.offsetWidth > 0 && Zt(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Zt(n.height) / t.offsetHeight || 1);
|
|
5590
5590
|
var i = Mt(t) ? Se(t) : window, r = i.visualViewport, l = !ni() && a, c = (n.left + (l && r ? r.offsetLeft : 0)) / s, u = (n.top + (l && r ? r.offsetTop : 0)) / o, f = n.width / s, d = n.height / o;
|
|
5591
5591
|
return {
|
|
5592
5592
|
width: f,
|
|
@@ -5599,7 +5599,7 @@ function Wt(t, e, a) {
|
|
|
5599
5599
|
y: u
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
|
-
function
|
|
5602
|
+
function Rn(t) {
|
|
5603
5603
|
var e = Se(t), a = e.pageXOffset, n = e.pageYOffset;
|
|
5604
5604
|
return {
|
|
5605
5605
|
scrollLeft: a,
|
|
@@ -5613,7 +5613,7 @@ function r7(t) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function l7(t) {
|
|
5616
|
-
return t === Se(t) || !
|
|
5616
|
+
return t === Se(t) || !Pe(t) ? Rn(t) : r7(t);
|
|
5617
5617
|
}
|
|
5618
5618
|
function Ue(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -5624,13 +5624,13 @@ function gt(t) {
|
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5628
|
-
return Wt(gt(t)).left +
|
|
5627
|
+
function Nn(t) {
|
|
5628
|
+
return Wt(gt(t)).left + Rn(t).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
5630
|
function tt(t) {
|
|
5631
5631
|
return Se(t).getComputedStyle(t);
|
|
5632
5632
|
}
|
|
5633
|
-
function
|
|
5633
|
+
function jn(t) {
|
|
5634
5634
|
var e = tt(t), a = e.overflow, n = e.overflowX, s = e.overflowY;
|
|
5635
5635
|
return /auto|scroll|overlay|hidden/.test(a + s + n);
|
|
5636
5636
|
}
|
|
@@ -5640,7 +5640,7 @@ function u7(t) {
|
|
|
5640
5640
|
}
|
|
5641
5641
|
function c7(t, e, a) {
|
|
5642
5642
|
a === void 0 && (a = !1);
|
|
5643
|
-
var n =
|
|
5643
|
+
var n = Pe(e), s = Pe(e) && u7(e), o = gt(e), i = Wt(t, s, a), r = {
|
|
5644
5644
|
scrollLeft: 0,
|
|
5645
5645
|
scrollTop: 0
|
|
5646
5646
|
}, l = {
|
|
@@ -5648,7 +5648,7 @@ function c7(t, e, a) {
|
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
5650
|
return (n || !n && !a) && ((Ue(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
-
|
|
5651
|
+
jn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Nn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
5654
5654
|
width: i.width,
|
|
@@ -5671,18 +5671,18 @@ function Qa(t) {
|
|
|
5671
5671
|
// $FlowFixMe[prop-missing]
|
|
5672
5672
|
t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
5673
5673
|
t.parentNode || // DOM Element detected
|
|
5674
|
-
(
|
|
5674
|
+
(Bn(t) ? t.host : null) || // ShadowRoot detected
|
|
5675
5675
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5676
5676
|
gt(t)
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body :
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Qa(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
5684
5684
|
e === void 0 && (e = []);
|
|
5685
|
-
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [],
|
|
5685
|
+
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], jn(n) ? n : []) : n, r = e.concat(i);
|
|
5686
5686
|
return s ? r : (
|
|
5687
5687
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
5688
|
r.concat(ia(Qa(i)))
|
|
@@ -5691,19 +5691,19 @@ function ia(t, e) {
|
|
|
5691
5691
|
function d7(t) {
|
|
5692
5692
|
return ["table", "td", "th"].indexOf(Ue(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
|
-
function
|
|
5695
|
-
return !
|
|
5694
|
+
function gs(t) {
|
|
5695
|
+
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function p7(t) {
|
|
5699
5699
|
var e = /firefox/i.test(gn()), a = /Trident/i.test(gn());
|
|
5700
|
-
if (a &&
|
|
5700
|
+
if (a && Pe(t)) {
|
|
5701
5701
|
var n = tt(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var s = Qa(t);
|
|
5706
|
-
for (
|
|
5706
|
+
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ue(s)) < 0; ) {
|
|
5707
5707
|
var o = tt(s);
|
|
5708
5708
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5709
5709
|
return s;
|
|
@@ -5712,13 +5712,13 @@ function p7(t) {
|
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
5714
|
function Ja(t) {
|
|
5715
|
-
for (var e = Se(t), a =
|
|
5716
|
-
a =
|
|
5715
|
+
for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
|
|
5716
|
+
a = gs(a);
|
|
5717
5717
|
return a && (Ue(a) === "html" || Ue(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", Ze = "bottom", vt = "right", Ge = "left",
|
|
5719
|
+
var Re = "top", Ze = "bottom", vt = "right", Ge = "left", Fn = "auto", en = [Re, Ze, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ en.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
|
-
}, []), h7 = /* @__PURE__ */ [].concat(en, [
|
|
5721
|
+
}, []), h7 = /* @__PURE__ */ [].concat(en, [Fn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
5723
|
}, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
|
|
5724
5724
|
function M7(t) {
|
|
@@ -5780,12 +5780,12 @@ function E7(t, e) {
|
|
|
5780
5780
|
return {
|
|
5781
5781
|
width: o,
|
|
5782
5782
|
height: i,
|
|
5783
|
-
x: r +
|
|
5783
|
+
x: r + Nn(t),
|
|
5784
5784
|
y: l
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function I7(t) {
|
|
5788
|
-
var e, a = gt(t), n =
|
|
5788
|
+
var e, a = gt(t), n = Rn(t), s = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), r = -n.scrollLeft + Nn(t), l = -n.scrollTop;
|
|
5789
5789
|
return tt(s || a).direction === "rtl" && (r += kt(a.clientWidth, s ? s.clientWidth : 0) - o), {
|
|
5790
5790
|
width: o,
|
|
5791
5791
|
height: i,
|
|
@@ -5797,7 +5797,7 @@ function L7(t, e) {
|
|
|
5797
5797
|
var a = e.getRootNode && e.getRootNode();
|
|
5798
5798
|
if (t.contains(e))
|
|
5799
5799
|
return !0;
|
|
5800
|
-
if (a &&
|
|
5800
|
+
if (a && Bn(a)) {
|
|
5801
5801
|
var n = e;
|
|
5802
5802
|
do {
|
|
5803
5803
|
if (n && t.isSameNode(n))
|
|
@@ -5819,20 +5819,20 @@ function H7(t, e) {
|
|
|
5819
5819
|
var a = Wt(t, !1, e === "fixed");
|
|
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
|
-
function
|
|
5822
|
+
function ys(t, e, a) {
|
|
5823
5823
|
return e === oi ? _n(E7(t, a)) : Mt(e) ? H7(e, a) : _n(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
|
-
var e = ia(Qa(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a &&
|
|
5826
|
+
var e = ia(Qa(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? Ja(t) : t;
|
|
5827
5827
|
return Mt(n) ? e.filter(function(s) {
|
|
5828
5828
|
return Mt(s) && L7(s, n) && Ue(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
|
-
function
|
|
5831
|
+
function P7(t, e, a, n) {
|
|
5832
5832
|
var s = e === "clippingParents" ? D7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(l, c) {
|
|
5833
|
-
var u =
|
|
5833
|
+
var u = ys(t, c, n);
|
|
5834
5834
|
return l.top = kt(u.top, l.top), l.right = Na(u.right, l.right), l.bottom = Na(u.bottom, l.bottom), l.left = kt(u.left, l.left), l;
|
|
5835
|
-
},
|
|
5835
|
+
}, ys(t, i, n));
|
|
5836
5836
|
return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
5837
5837
|
}
|
|
5838
5838
|
function ct(t) {
|
|
@@ -5899,7 +5899,7 @@ function ui() {
|
|
|
5899
5899
|
left: 0
|
|
5900
5900
|
};
|
|
5901
5901
|
}
|
|
5902
|
-
function
|
|
5902
|
+
function V7(t) {
|
|
5903
5903
|
return Object.assign({}, ui(), t);
|
|
5904
5904
|
}
|
|
5905
5905
|
function B7(t, e) {
|
|
@@ -5907,9 +5907,9 @@ function B7(t, e) {
|
|
|
5907
5907
|
return a[n] = t, a;
|
|
5908
5908
|
}, {});
|
|
5909
5909
|
}
|
|
5910
|
-
function
|
|
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, C = a.altBoundary, b = C === void 0 ? !1 : C, y = a.padding, _ = y === void 0 ? 0 : y, h =
|
|
5912
|
+
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, C = a.altBoundary, b = C === void 0 ? !1 : C, y = a.padding, _ = y === void 0 ? 0 : y, h = V7(typeof _ != "number" ? _ : B7(_, en)), A = d === sa ? v7 : sa, w = t.rects.popper, E = t.elements[b ? A : d], D = P7(Mt(E) ? E : E.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), U = li({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: w,
|
|
5915
5915
|
strategy: "absolute",
|
|
@@ -5929,12 +5929,12 @@ function Fn(t, e) {
|
|
|
5929
5929
|
}
|
|
5930
5930
|
return I;
|
|
5931
5931
|
}
|
|
5932
|
-
var
|
|
5932
|
+
var bs = {
|
|
5933
5933
|
placement: "bottom",
|
|
5934
5934
|
modifiers: [],
|
|
5935
5935
|
strategy: "absolute"
|
|
5936
5936
|
};
|
|
5937
|
-
function
|
|
5937
|
+
function ws() {
|
|
5938
5938
|
for (var t = arguments.length, e = new Array(t), a = 0; a < t; a++)
|
|
5939
5939
|
e[a] = arguments[a];
|
|
5940
5940
|
return !e.some(function(n) {
|
|
@@ -5943,13 +5943,13 @@ function bs() {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function R7(t) {
|
|
5945
5945
|
t === void 0 && (t = {});
|
|
5946
|
-
var e = t, a = e.defaultModifiers, n = a === void 0 ? [] : a, s = e.defaultOptions, o = s === void 0 ?
|
|
5946
|
+
var e = t, a = e.defaultModifiers, n = a === void 0 ? [] : a, s = e.defaultOptions, o = s === void 0 ? bs : s;
|
|
5947
5947
|
return function(r, l, c) {
|
|
5948
5948
|
c === void 0 && (c = o);
|
|
5949
5949
|
var u = {
|
|
5950
5950
|
placement: "bottom",
|
|
5951
5951
|
orderedModifiers: [],
|
|
5952
|
-
options: Object.assign({},
|
|
5952
|
+
options: Object.assign({}, bs, o),
|
|
5953
5953
|
modifiersData: {},
|
|
5954
5954
|
elements: {
|
|
5955
5955
|
reference: r,
|
|
@@ -5978,7 +5978,7 @@ function R7(t) {
|
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!d) {
|
|
5980
5980
|
var h = u.elements, A = h.reference, w = h.popper;
|
|
5981
|
-
if (
|
|
5981
|
+
if (ws(A, w)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
5983
|
reference: c7(A, Ja(w), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: si(w)
|
|
@@ -6012,7 +6012,7 @@ function R7(t) {
|
|
|
6012
6012
|
y(), d = !0;
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
|
-
if (!
|
|
6015
|
+
if (!ws(r, l))
|
|
6016
6016
|
return C;
|
|
6017
6017
|
C.setOptions(c).then(function(_) {
|
|
6018
6018
|
!d && c.onFirstUpdate && c.onFirstUpdate(_);
|
|
@@ -6090,7 +6090,7 @@ function W7(t, e) {
|
|
|
6090
6090
|
y: Zt(n * s) / s || 0
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6093
|
+
function $s(t) {
|
|
6094
6094
|
var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, d = i.x, C = d === void 0 ? 0 : d, b = i.y, y = b === void 0 ? 0 : b, _ = typeof u == "function" ? u({
|
|
6095
6095
|
x: C,
|
|
6096
6096
|
y
|
|
@@ -6143,12 +6143,12 @@ function q7(t) {
|
|
|
6143
6143
|
gpuAcceleration: s,
|
|
6144
6144
|
isFixed: e.options.strategy === "fixed"
|
|
6145
6145
|
};
|
|
6146
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
6146
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, $s(Object.assign({}, c, {
|
|
6147
6147
|
offsets: e.modifiersData.popperOffsets,
|
|
6148
6148
|
position: e.options.strategy,
|
|
6149
6149
|
adaptive: i,
|
|
6150
6150
|
roundOffsets: l
|
|
6151
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
6151
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, $s(Object.assign({}, c, {
|
|
6152
6152
|
offsets: e.modifiersData.arrow,
|
|
6153
6153
|
position: "absolute",
|
|
6154
6154
|
adaptive: !1,
|
|
@@ -6168,7 +6168,7 @@ function x7(t) {
|
|
|
6168
6168
|
var e = t.state;
|
|
6169
6169
|
Object.keys(e.elements).forEach(function(a) {
|
|
6170
6170
|
var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
|
|
6171
|
-
!
|
|
6171
|
+
!Pe(o) || !Ue(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
|
|
6172
6172
|
var r = s[i];
|
|
6173
6173
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6174
6174
|
}));
|
|
@@ -6192,7 +6192,7 @@ function Y7(t) {
|
|
|
6192
6192
|
var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
|
|
6193
6193
|
return l[c] = "", l;
|
|
6194
6194
|
}, {});
|
|
6195
|
-
!
|
|
6195
|
+
!Pe(s) || !Ue(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
|
|
6196
6196
|
s.removeAttribute(l);
|
|
6197
6197
|
}));
|
|
6198
6198
|
});
|
|
@@ -6219,7 +6219,7 @@ function J7(t, e, a) {
|
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function ep(t) {
|
|
6222
|
-
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, C = d === void 0 ? !0 : d, b = a.tetherOffset, y = b === void 0 ? 0 : b, _ =
|
|
6222
|
+
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, C = d === void 0 ? !0 : d, b = a.tetherOffset, y = b === void 0 ? 0 : b, _ = Un(e, {
|
|
6223
6223
|
boundary: l,
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: f,
|
|
@@ -6241,7 +6241,7 @@ function ep(t) {
|
|
|
6241
6241
|
var Z, ie = E === "y" ? Re : Ge, O = E === "y" ? Ze : vt, N = E === "y" ? "height" : "width", S = H[E], m = S + _[ie], L = S - _[O], J = C ? -F[N] / 2 : 0, ae = A === qt ? U[N] : F[N], le = A === qt ? -F[N] : -U[N], ne = e.elements.arrow, re = C && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(),
|
|
6244
|
+
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = x[ie], X = x[O], he = Ia(0, U[N], re[N]), we = w ? U[N] / 2 - J - he - V - I.mainAxis : ae - he - V - I.mainAxis, Kt = w ? -U[N] / 2 + J + he + X + I.mainAxis : le + he + X + I.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? E === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = K == null ? void 0 : K[E]) != null ? Z : 0, tn = S + we - _a - nt, st = S + Kt - _a, ya = Ia(C ? Na(m, tn) : m, S, C ? kt(L, st) : L);
|
|
6245
6245
|
H[E] = ya, R[E] = ya - S;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
@@ -6272,21 +6272,21 @@ var np = {
|
|
|
6272
6272
|
start: "end",
|
|
6273
6273
|
end: "start"
|
|
6274
6274
|
};
|
|
6275
|
-
function
|
|
6275
|
+
function ks(t) {
|
|
6276
6276
|
return t.replace(/start|end/g, function(e) {
|
|
6277
6277
|
return np[e];
|
|
6278
6278
|
});
|
|
6279
6279
|
}
|
|
6280
6280
|
function sp(t, e) {
|
|
6281
6281
|
e === void 0 && (e = {});
|
|
6282
|
-
var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? h7 : l, u = zt(n), f = u ? r ?
|
|
6282
|
+
var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? h7 : l, u = zt(n), f = u ? r ? _s : _s.filter(function(b) {
|
|
6283
6283
|
return zt(b) === u;
|
|
6284
6284
|
}) : en, d = f.filter(function(b) {
|
|
6285
6285
|
return c.indexOf(b) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
6288
6288
|
var C = d.reduce(function(b, y) {
|
|
6289
|
-
return b[y] =
|
|
6289
|
+
return b[y] = Un(t, {
|
|
6290
6290
|
placement: y,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
@@ -6298,16 +6298,16 @@ function sp(t, e) {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function ip(t) {
|
|
6301
|
-
if (ct(t) ===
|
|
6301
|
+
if (ct(t) === Fn)
|
|
6302
6302
|
return [];
|
|
6303
6303
|
var e = La(t);
|
|
6304
|
-
return [
|
|
6304
|
+
return [ks(t), e, ks(e)];
|
|
6305
6305
|
}
|
|
6306
6306
|
function op(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
6309
|
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, C = a.flipVariations, b = C === void 0 ? !0 : C, y = a.allowedAutoPlacements, _ = e.options.placement, h = ct(_), A = h === _, w = l || (A || !b ? [La(_)] : ip(_)), E = [_].concat(w).reduce(function(re, x) {
|
|
6310
|
-
return re.concat(ct(x) ===
|
|
6310
|
+
return re.concat(ct(x) === Fn ? sp(e, {
|
|
6311
6311
|
placement: x,
|
|
6312
6312
|
boundary: u,
|
|
6313
6313
|
rootBoundary: f,
|
|
@@ -6316,7 +6316,7 @@ function op(t) {
|
|
|
6316
6316
|
allowedAutoPlacements: y
|
|
6317
6317
|
}) : x);
|
|
6318
6318
|
}, []), D = e.rects.reference, H = e.rects.popper, U = /* @__PURE__ */ new Map(), F = !0, z = E[0], I = 0; I < E.length; I++) {
|
|
6319
|
-
var K = E[I], R = ct(K), Z = zt(K) === qt, ie = [Re, Ze].indexOf(R) >= 0, O = ie ? "width" : "height", N =
|
|
6319
|
+
var K = E[I], R = ct(K), Z = zt(K) === qt, ie = [Re, Ze].indexOf(R) >= 0, O = ie ? "width" : "height", N = Un(e, {
|
|
6320
6320
|
placement: K,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: f,
|
|
@@ -6335,15 +6335,15 @@ function op(t) {
|
|
|
6335
6335
|
}
|
|
6336
6336
|
if (F)
|
|
6337
6337
|
for (var J = b ? 3 : 1, ae = function(x) {
|
|
6338
|
-
var
|
|
6338
|
+
var V = E.find(function(X) {
|
|
6339
6339
|
var he = U.get(X);
|
|
6340
6340
|
if (he)
|
|
6341
6341
|
return he.slice(0, x).every(function(we) {
|
|
6342
6342
|
return we;
|
|
6343
6343
|
});
|
|
6344
6344
|
});
|
|
6345
|
-
if (
|
|
6346
|
-
return z =
|
|
6345
|
+
if (V)
|
|
6346
|
+
return z = V, "break";
|
|
6347
6347
|
}, le = J; le > 0; le--) {
|
|
6348
6348
|
var ne = ae(le);
|
|
6349
6349
|
if (ne === "break")
|
|
@@ -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"], Mp = ["id", "aria-label", "aria-selected"], Ap = ["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"],
|
|
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"], Mp = ["id", "aria-label", "aria-selected"], Ap = ["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",
|
|
@@ -7430,7 +7430,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7430
7430
|
]) : T("v-if", !0)
|
|
7431
7431
|
], 16, gp),
|
|
7432
7432
|
T(" Options "),
|
|
7433
|
-
(p(),
|
|
7433
|
+
(p(), P(Nt, {
|
|
7434
7434
|
to: a.appendTo || "body",
|
|
7435
7435
|
disabled: !a.appendToBody && !a.appendTo
|
|
7436
7436
|
}, [
|
|
@@ -7606,7 +7606,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7606
7606
|
type: "hidden",
|
|
7607
7607
|
name: a.name,
|
|
7608
7608
|
value: t.plainValue !== void 0 ? t.plainValue : ""
|
|
7609
|
-
}, null, 8,
|
|
7609
|
+
}, null, 8, Pp)) : (p(!0), g(
|
|
7610
7610
|
ve,
|
|
7611
7611
|
{ key: 1 },
|
|
7612
7612
|
_e(t.plainValue, (i, r) => (p(), g("input", {
|
|
@@ -7614,7 +7614,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7614
7614
|
name: `${a.name}[]`,
|
|
7615
7615
|
value: i,
|
|
7616
7616
|
key: r
|
|
7617
|
-
}, null, 8,
|
|
7617
|
+
}, null, 8, Vp))),
|
|
7618
7618
|
128
|
|
7619
7619
|
/* KEYED_FRAGMENT */
|
|
7620
7620
|
))
|
|
@@ -7650,11 +7650,11 @@ const $e = /* @__PURE__ */ q({
|
|
|
7650
7650
|
appendTo: {}
|
|
7651
7651
|
},
|
|
7652
7652
|
setup(t) {
|
|
7653
|
-
const e = t, a =
|
|
7653
|
+
const e = t, a = Pt(() => e.appendTo), n = ee();
|
|
7654
7654
|
return e.detached && Q5({
|
|
7655
7655
|
multiselect: n,
|
|
7656
7656
|
appendTo: a.value
|
|
7657
|
-
}), (s, o) => (p(),
|
|
7657
|
+
}), (s, o) => (p(), P(Q(lt), {
|
|
7658
7658
|
ref_key: "multiselectRef",
|
|
7659
7659
|
ref: n,
|
|
7660
7660
|
class: "ao-multiselect"
|
|
@@ -7668,7 +7668,7 @@ const $e = /* @__PURE__ */ q({
|
|
|
7668
7668
|
]), 1536));
|
|
7669
7669
|
}
|
|
7670
7670
|
});
|
|
7671
|
-
var
|
|
7671
|
+
var Ss;
|
|
7672
7672
|
function Tt() {
|
|
7673
7673
|
const t = Np(), e = t.appContext.config.globalProperties;
|
|
7674
7674
|
return {
|
|
@@ -7693,10 +7693,10 @@ q({
|
|
|
7693
7693
|
return () => {
|
|
7694
7694
|
const a = t.translation, n = [];
|
|
7695
7695
|
let s, o = 0;
|
|
7696
|
-
for (; (s =
|
|
7696
|
+
for (; (s = Ss.exec(a)) !== null; ) {
|
|
7697
7697
|
n.push(a.substring(o, s.index));
|
|
7698
7698
|
const i = e[s[1]];
|
|
7699
|
-
i ? n.push(...i()) : n.push(s[0]), o =
|
|
7699
|
+
i ? n.push(...i()) : n.push(s[0]), o = Ss.lastIndex;
|
|
7700
7700
|
}
|
|
7701
7701
|
return n.push(a.substring(o)), n;
|
|
7702
7702
|
};
|
|
@@ -7780,7 +7780,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7780
7780
|
key: C.id,
|
|
7781
7781
|
class: "ao-subtask"
|
|
7782
7782
|
}, [
|
|
7783
|
-
((b = f.isCheckable) == null ? void 0 : b.call(f, C)) ?? !1 ? (p(),
|
|
7783
|
+
((b = f.isCheckable) == null ? void 0 : b.call(f, C)) ?? !1 ? (p(), P(ce, {
|
|
7784
7784
|
key: 0,
|
|
7785
7785
|
class: "ao-subtask__check",
|
|
7786
7786
|
"icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -7799,7 +7799,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7799
7799
|
onKeyup: dt(u, ["enter"])
|
|
7800
7800
|
}, null, 42, Up),
|
|
7801
7801
|
Fa(". "),
|
|
7802
|
-
!f.isTemplate && f.users ? (p(),
|
|
7802
|
+
!f.isTemplate && f.users ? (p(), P($e, {
|
|
7803
7803
|
key: 1,
|
|
7804
7804
|
value: (y = C.assignee) != null && y.id ? [C.assignee.id] : [],
|
|
7805
7805
|
options: s.value,
|
|
@@ -7823,7 +7823,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7823
7823
|
]),
|
|
7824
7824
|
_: 2
|
|
7825
7825
|
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
|
|
7826
|
-
f.isEditable ? (p(),
|
|
7826
|
+
f.isEditable ? (p(), P(ce, {
|
|
7827
7827
|
key: 2,
|
|
7828
7828
|
class: "ao-subtask__delete",
|
|
7829
7829
|
"icon-name": "CancelRounded",
|
|
@@ -7836,7 +7836,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7836
7836
|
}), 128))
|
|
7837
7837
|
]),
|
|
7838
7838
|
v("div", Zp, [
|
|
7839
|
-
f.isEditable ? (p(),
|
|
7839
|
+
f.isEditable ? (p(), P(ce, {
|
|
7840
7840
|
key: 0,
|
|
7841
7841
|
label: f.$t("activity.tasks.add"),
|
|
7842
7842
|
"icon-name": "Add",
|
|
@@ -7869,7 +7869,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7869
7869
|
o.forEach((u) => {
|
|
7870
7870
|
document.body.addEventListener(u, (f) => f.preventDefault());
|
|
7871
7871
|
});
|
|
7872
|
-
}),
|
|
7872
|
+
}), $n(() => {
|
|
7873
7873
|
o.forEach((u) => {
|
|
7874
7874
|
document.body.removeEventListener(
|
|
7875
7875
|
u,
|
|
@@ -7926,7 +7926,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7926
7926
|
}),
|
|
7927
7927
|
v("span", Kp, G(d.name), 1)
|
|
7928
7928
|
], 8, Yp),
|
|
7929
|
-
u.isEditable ? (p(),
|
|
7929
|
+
u.isEditable ? (p(), P(ce, {
|
|
7930
7930
|
key: 0,
|
|
7931
7931
|
class: "ao-files__delete-button",
|
|
7932
7932
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -8001,7 +8001,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8001
8001
|
}), (y, _) => {
|
|
8002
8002
|
var h;
|
|
8003
8003
|
return p(), g("li", nf, [
|
|
8004
|
-
n.value ? (p(),
|
|
8004
|
+
n.value ? (p(), P(Je, {
|
|
8005
8005
|
key: 0,
|
|
8006
8006
|
"avatar-url": (h = y.user) == null ? void 0 : h.avatarUrl,
|
|
8007
8007
|
"user-name": n.value,
|
|
@@ -8010,7 +8010,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8010
8010
|
v("span", sf, G(c.value), 1),
|
|
8011
8011
|
v("div", of, [
|
|
8012
8012
|
v("div", rf, [
|
|
8013
|
-
(p(),
|
|
8013
|
+
(p(), P(ht(u.value), {
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: s,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
@@ -8085,7 +8085,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8085
8085
|
De(() => {
|
|
8086
8086
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
8087
8087
|
});
|
|
8088
|
-
const i =
|
|
8088
|
+
const i = Pt(a.newComment), r = k({
|
|
8089
8089
|
get() {
|
|
8090
8090
|
return i.value;
|
|
8091
8091
|
},
|
|
@@ -8141,7 +8141,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8141
8141
|
], 40, df)
|
|
8142
8142
|
]),
|
|
8143
8143
|
((C = n.value) == null ? void 0 : C.length) > 0 ? (p(), g("ul", vf, [
|
|
8144
|
-
(p(!0), g(ve, null, _e(n.value, (b) => (p(),
|
|
8144
|
+
(p(!0), g(ve, null, _e(n.value, (b) => (p(), P(uf, {
|
|
8145
8145
|
key: b.id,
|
|
8146
8146
|
user: s(b.author.id),
|
|
8147
8147
|
content: b.message,
|
|
@@ -8168,8 +8168,8 @@ const yn = /* @__PURE__ */ q({
|
|
|
8168
8168
|
const a = t, n = () => {
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
|
-
return (s, o) => (p(),
|
|
8172
|
-
color: s.modelValue ? s.color : Q(
|
|
8171
|
+
return (s, o) => (p(), P(ce, {
|
|
8172
|
+
color: s.modelValue ? s.color : Q(Sn).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8183,7 +8183,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
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" }, Mf = { class: "ao-fieldset" }, Af = { 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"],
|
|
8186
|
+
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" }, Mf = { class: "ao-fieldset" }, Af = { 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 = {
|
|
@@ -8201,7 +8201,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8201
8201
|
}, s9 = { class: "ao-fieldset ao-activity-details__aside-section" }, i9 = { class: "ao-fieldset__title" }, o9 = { class: "ao-fieldset__body" }, r9 = { class: "ao-field__row" }, l9 = { class: "ao-field ao-field--multiselect" }, u9 = { class: "ao-field__label" }, c9 = { class: "ao-field__row" }, d9 = { class: "ao-field ao-field--multiselect" }, p9 = { class: "ao-field__label" }, f9 = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
}, v9 = { class: "ao-activity__created-by" },
|
|
8204
|
+
}, v9 = { class: "ao-activity__created-by" }, Zn = /* @__PURE__ */ q({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8399,7 +8399,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8399
8399
|
var m, L;
|
|
8400
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, L) => (p(),
|
|
8402
|
+
return (m, L) => (p(), P(In, {
|
|
8403
8403
|
onClose: L[10] || (L[10] = (J) => m.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
8405
|
default: W(() => {
|
|
@@ -8497,8 +8497,8 @@ const yn = /* @__PURE__ */ q({
|
|
|
8497
8497
|
])
|
|
8498
8498
|
])
|
|
8499
8499
|
]),
|
|
8500
|
-
v("fieldset",
|
|
8501
|
-
v("div",
|
|
8500
|
+
v("fieldset", Pf, [
|
|
8501
|
+
v("div", Vf, [
|
|
8502
8502
|
M(pe, { name: "SelectCheckBox" }),
|
|
8503
8503
|
M(ye, {
|
|
8504
8504
|
level: 4,
|
|
@@ -8730,7 +8730,7 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8730
8730
|
},
|
|
8731
8731
|
emits: ["update:rule", "close"],
|
|
8732
8732
|
setup(t, { emit: e }) {
|
|
8733
|
-
const a = t, n =
|
|
8733
|
+
const a = t, n = Pt(
|
|
8734
8734
|
a.rule.itemType || Ce.ACTIVITIES
|
|
8735
8735
|
), s = k({
|
|
8736
8736
|
get() {
|
|
@@ -8764,14 +8764,14 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8764
8764
|
value: w.id,
|
|
8765
8765
|
label: w.name
|
|
8766
8766
|
}));
|
|
8767
|
-
}), l =
|
|
8767
|
+
}), l = Pt(a.rule.comparator), c = k({
|
|
8768
8768
|
get() {
|
|
8769
8769
|
return l.value;
|
|
8770
8770
|
},
|
|
8771
8771
|
set(h) {
|
|
8772
8772
|
e("update:rule", { ...a.rule, comparator: h });
|
|
8773
8773
|
}
|
|
8774
|
-
}), u = k(() => Object.values(R2)), f =
|
|
8774
|
+
}), u = k(() => Object.values(R2)), f = Pt(a.rule.trigger), d = k({
|
|
8775
8775
|
get() {
|
|
8776
8776
|
return f.value;
|
|
8777
8777
|
},
|
|
@@ -8793,7 +8793,7 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8793
8793
|
e("update:rule", { ...a.rule, durationUnit: h });
|
|
8794
8794
|
}
|
|
8795
8795
|
}), _ = k(() => Object.values(j2));
|
|
8796
|
-
return (h, A) => (p(),
|
|
8796
|
+
return (h, A) => (p(), P(ht(h.tagName), { class: "ao-rule-line" }, {
|
|
8797
8797
|
default: W(() => [
|
|
8798
8798
|
M(Q(lt), {
|
|
8799
8799
|
modelValue: s.value,
|
|
@@ -8859,7 +8859,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8859
8859
|
}, n = (s) => {
|
|
8860
8860
|
e("removeRule", s);
|
|
8861
8861
|
};
|
|
8862
|
-
return (s, o) => (p(),
|
|
8862
|
+
return (s, o) => (p(), P(In, null, {
|
|
8863
8863
|
header: W(() => [
|
|
8864
8864
|
M(ye, {
|
|
8865
8865
|
title: s.$t("template.rules.title"),
|
|
@@ -8869,7 +8869,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8869
8869
|
default: W(() => [
|
|
8870
8870
|
v("div", m9, [
|
|
8871
8871
|
v("ul", C9, [
|
|
8872
|
-
(p(!0), g(ve, null, _e(s.rules, (i) => (p(),
|
|
8872
|
+
(p(!0), g(ve, null, _e(s.rules, (i) => (p(), P(h9, {
|
|
8873
8873
|
key: i.id,
|
|
8874
8874
|
rule: i,
|
|
8875
8875
|
"template-phases": s.templatePhases,
|
|
@@ -9177,13 +9177,13 @@ const _9 = {
|
|
|
9177
9177
|
}, null, 8, ["title"])
|
|
9178
9178
|
]),
|
|
9179
9179
|
item: W(({ element: x }) => {
|
|
9180
|
-
var
|
|
9180
|
+
var V;
|
|
9181
9181
|
return [
|
|
9182
9182
|
M(l5, {
|
|
9183
9183
|
id: x.id,
|
|
9184
9184
|
name: x.name,
|
|
9185
9185
|
milestones: x.milestones,
|
|
9186
|
-
"is-active": ((
|
|
9186
|
+
"is-active": ((V = i.value) == null ? void 0 : V.id) === x.id,
|
|
9187
9187
|
"is-draggable": !0,
|
|
9188
9188
|
onClick: (X) => S.$router.push({
|
|
9189
9189
|
params: { templateId: S.templateId, phaseId: x.id }
|
|
@@ -9208,7 +9208,7 @@ const _9 = {
|
|
|
9208
9208
|
}, 8, ["model-value"])
|
|
9209
9209
|
]),
|
|
9210
9210
|
v("li", k9, [
|
|
9211
|
-
i.value ? (p(),
|
|
9211
|
+
i.value ? (p(), P(d5, {
|
|
9212
9212
|
key: 0,
|
|
9213
9213
|
"template-id": S.templateId,
|
|
9214
9214
|
phase: i.value,
|
|
@@ -9220,7 +9220,7 @@ const _9 = {
|
|
|
9220
9220
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
|
|
9221
9221
|
]),
|
|
9222
9222
|
v("li", S9, [
|
|
9223
|
-
i.value && r.value ? (p(),
|
|
9223
|
+
i.value && r.value ? (p(), P(v5, {
|
|
9224
9224
|
key: 0,
|
|
9225
9225
|
"template-id": S.templateId,
|
|
9226
9226
|
"phase-id": (J = i.value) == null ? void 0 : J.id,
|
|
@@ -9233,8 +9233,8 @@ const _9 = {
|
|
|
9233
9233
|
])
|
|
9234
9234
|
])
|
|
9235
9235
|
]),
|
|
9236
|
-
(p(),
|
|
9237
|
-
u.value ? (p(),
|
|
9236
|
+
(p(), P(Nt, { to: "body" }, [
|
|
9237
|
+
u.value ? (p(), P(Zn, {
|
|
9238
9238
|
key: 0,
|
|
9239
9239
|
activity: u.value,
|
|
9240
9240
|
"activity-types": S.activityTypes,
|
|
@@ -9262,8 +9262,8 @@ const _9 = {
|
|
|
9262
9262
|
_: 3
|
|
9263
9263
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
9264
9264
|
])),
|
|
9265
|
-
(p(),
|
|
9266
|
-
U.value ? (p(),
|
|
9265
|
+
(p(), P(Nt, { to: "body" }, [
|
|
9266
|
+
U.value ? (p(), P(g9, {
|
|
9267
9267
|
key: 0,
|
|
9268
9268
|
"template-id": s.value.id,
|
|
9269
9269
|
rules: s.value.rules || [],
|
|
@@ -9285,7 +9285,7 @@ const A9 = {
|
|
|
9285
9285
|
}, T9 = { class: "ao-card__body" }, O9 = {
|
|
9286
9286
|
key: 1,
|
|
9287
9287
|
class: "ao-card__footer"
|
|
9288
|
-
},
|
|
9288
|
+
}, Wn = /* @__PURE__ */ q({
|
|
9289
9289
|
__name: "AoCard",
|
|
9290
9290
|
props: {
|
|
9291
9291
|
isClickable: { type: Boolean },
|
|
@@ -9293,7 +9293,7 @@ const A9 = {
|
|
|
9293
9293
|
isSelected: { type: Boolean }
|
|
9294
9294
|
},
|
|
9295
9295
|
setup(t) {
|
|
9296
|
-
return (e, a) => (p(),
|
|
9296
|
+
return (e, a) => (p(), P(ht(e.tagName), {
|
|
9297
9297
|
class: Y([
|
|
9298
9298
|
"ao-card",
|
|
9299
9299
|
{
|
|
@@ -9317,7 +9317,7 @@ const A9 = {
|
|
|
9317
9317
|
}, 8, ["class"]));
|
|
9318
9318
|
}
|
|
9319
9319
|
});
|
|
9320
|
-
const
|
|
9320
|
+
const qn = /* @__PURE__ */ q({
|
|
9321
9321
|
__name: "AoProgress",
|
|
9322
9322
|
props: {
|
|
9323
9323
|
percentages: {},
|
|
@@ -9332,7 +9332,7 @@ const Wn = /* @__PURE__ */ q({
|
|
|
9332
9332
|
(p(!0), g(ve, null, _e(a.value, (o) => (p(), g("div", {
|
|
9333
9333
|
key: o,
|
|
9334
9334
|
class: Y(["ao-progress__progress"]),
|
|
9335
|
-
style:
|
|
9335
|
+
style: wn({ width: `${o * 100}%` })
|
|
9336
9336
|
}, null, 4))), 128))
|
|
9337
9337
|
], 2));
|
|
9338
9338
|
}
|
|
@@ -9340,10 +9340,10 @@ const Wn = /* @__PURE__ */ q({
|
|
|
9340
9340
|
const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-project-phase__footer" }, L9 = {
|
|
9341
9341
|
key: 0,
|
|
9342
9342
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9343
|
-
}, H9 = { class: "ao-card-project-phase__subitem" }, D9 = { class: "ao-card-project-phase__subitem" },
|
|
9343
|
+
}, H9 = { class: "ao-card-project-phase__subitem" }, D9 = { class: "ao-card-project-phase__subitem" }, P9 = {
|
|
9344
9344
|
key: 0,
|
|
9345
9345
|
class: "ao-card-project-phase__secondary"
|
|
9346
|
-
},
|
|
9346
|
+
}, V9 = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, B9 = /* @__PURE__ */ q({
|
|
9347
9347
|
__name: "AoCardProjectItemPhase",
|
|
9348
9348
|
props: {
|
|
9349
9349
|
id: {},
|
|
@@ -9377,7 +9377,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9377
9377
|
get: () => a.deadline ?? "",
|
|
9378
9378
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
9379
9379
|
});
|
|
9380
|
-
return (c, u) => (p(),
|
|
9380
|
+
return (c, u) => (p(), P(Wn, {
|
|
9381
9381
|
class: "ao-card-project-phase",
|
|
9382
9382
|
"is-clickable": c.isEditable
|
|
9383
9383
|
}, Ua({
|
|
@@ -9401,11 +9401,11 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9401
9401
|
}),
|
|
9402
9402
|
v("span", D9, G(i.value) + " / " + G(o.value), 1)
|
|
9403
9403
|
]),
|
|
9404
|
-
M(
|
|
9404
|
+
M(qn, {
|
|
9405
9405
|
percentages: r.value,
|
|
9406
9406
|
class: "ao-card-project-phase__progress"
|
|
9407
9407
|
}, null, 8, ["percentages"]),
|
|
9408
|
-
c.$slots.secondary ? (p(), g("div",
|
|
9408
|
+
c.$slots.secondary ? (p(), g("div", P9, [
|
|
9409
9409
|
te(c.$slots, "secondary")
|
|
9410
9410
|
])) : T("", !0)
|
|
9411
9411
|
])) : T("", !0),
|
|
@@ -9425,7 +9425,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9425
9425
|
{ lazy: !0 }
|
|
9426
9426
|
]
|
|
9427
9427
|
]) : T("", !0),
|
|
9428
|
-
v("span",
|
|
9428
|
+
v("span", V9, G(Q(Tn)(c.deadline)), 1)
|
|
9429
9429
|
], 2)
|
|
9430
9430
|
])
|
|
9431
9431
|
]),
|
|
@@ -9491,12 +9491,12 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9491
9491
|
}), o = k(() => {
|
|
9492
9492
|
var l;
|
|
9493
9493
|
return (l = a.activities) == null ? void 0 : l.filter(
|
|
9494
|
-
(c) =>
|
|
9494
|
+
(c) => On(c, a.closedStatus)
|
|
9495
9495
|
).length;
|
|
9496
9496
|
}), i = k(() => (o.value || 0) / (s.value || 1)), r = (l) => {
|
|
9497
9497
|
e("updateMilestone", { id: a.id, name: l });
|
|
9498
9498
|
};
|
|
9499
|
-
return (l, c) => (p(),
|
|
9499
|
+
return (l, c) => (p(), P(Wn, {
|
|
9500
9500
|
class: Y([
|
|
9501
9501
|
"ao-card-project-milestone",
|
|
9502
9502
|
{ "ao-card-project-milestone--selected": l.isSelected }
|
|
@@ -9538,7 +9538,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9538
9538
|
}),
|
|
9539
9539
|
v("span", Z9, G(o.value) + " / " + G(s.value), 1)
|
|
9540
9540
|
]),
|
|
9541
|
-
M(
|
|
9541
|
+
M(qn, {
|
|
9542
9542
|
percentages: i.value,
|
|
9543
9543
|
class: "ao-card-project-milestone__progress"
|
|
9544
9544
|
}, null, 8, ["percentages"])
|
|
@@ -9551,7 +9551,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9551
9551
|
]),
|
|
9552
9552
|
footer: W(() => [
|
|
9553
9553
|
v("div", q9, [
|
|
9554
|
-
l.important ? (p(),
|
|
9554
|
+
l.important ? (p(), P(pe, {
|
|
9555
9555
|
key: 0,
|
|
9556
9556
|
name: "FlagRounded",
|
|
9557
9557
|
class: Y(
|
|
@@ -9560,7 +9560,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9560
9560
|
size: "sm"
|
|
9561
9561
|
}, null, 8, ["class"])) : T("", !0),
|
|
9562
9562
|
l.deadline ? (p(), g("label", z9, [
|
|
9563
|
-
v("span", x9, G(Q(
|
|
9563
|
+
v("span", x9, G(Q(Tn)(l.deadline)), 1)
|
|
9564
9564
|
])) : T("", !0),
|
|
9565
9565
|
l.assignee ? (p(), g("div", Y9, [
|
|
9566
9566
|
M(Je, {
|
|
@@ -9691,7 +9691,7 @@ const G9 = {
|
|
|
9691
9691
|
_: 1
|
|
9692
9692
|
}, 16, ["list", "disabled"]),
|
|
9693
9693
|
v("div", ev, [
|
|
9694
|
-
d.isEditable ? (p(),
|
|
9694
|
+
d.isEditable ? (p(), P(Ct, {
|
|
9695
9695
|
key: 0,
|
|
9696
9696
|
label: d.$t("project.milestone.add"),
|
|
9697
9697
|
class: "ao-project-phase__milestone-add",
|
|
@@ -9799,7 +9799,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9799
9799
|
}, i = () => {
|
|
9800
9800
|
s.value && e("apply", s.value, a.projectId);
|
|
9801
9801
|
};
|
|
9802
|
-
return (r, l) => (p(),
|
|
9802
|
+
return (r, l) => (p(), P(In, { size: "sm" }, {
|
|
9803
9803
|
header: W(() => [
|
|
9804
9804
|
M(ye, {
|
|
9805
9805
|
title: r.$t("project.template.add.title"),
|
|
@@ -9979,7 +9979,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9979
9979
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
9980
9980
|
]),
|
|
9981
9981
|
secondary: W(() => [
|
|
9982
|
-
I.isEditable === !0 ? (p(),
|
|
9982
|
+
I.isEditable === !0 ? (p(), P(ce, {
|
|
9983
9983
|
key: 0,
|
|
9984
9984
|
class: "ao-project-overview__add-template",
|
|
9985
9985
|
color: "primary",
|
|
@@ -10019,7 +10019,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10019
10019
|
onArchiveActivity: C,
|
|
10020
10020
|
onUnarchiveActivity: b
|
|
10021
10021
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
10022
|
-
(p(),
|
|
10022
|
+
(p(), P(Nt, { to: "body" }, [
|
|
10023
10023
|
M(R, {
|
|
10024
10024
|
name: "modal",
|
|
10025
10025
|
activities: A.value,
|
|
@@ -10043,7 +10043,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10043
10043
|
onRemoveComment: U
|
|
10044
10044
|
}, {
|
|
10045
10045
|
default: W(({ Component: Z }) => [
|
|
10046
|
-
(p(),
|
|
10046
|
+
(p(), P(ht(Z), null, {
|
|
10047
10047
|
default: W((ie) => [
|
|
10048
10048
|
te(I.$slots, "activityDetailsBody", pa(fa(ie)))
|
|
10049
10049
|
]),
|
|
@@ -10054,8 +10054,8 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10054
10054
|
}, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
|
|
10055
10055
|
]))
|
|
10056
10056
|
], 16),
|
|
10057
|
-
(p(),
|
|
10058
|
-
F.value ? (p(),
|
|
10057
|
+
(p(), P(Nt, { to: "body" }, [
|
|
10058
|
+
F.value ? (p(), P(pv, {
|
|
10059
10059
|
key: 0,
|
|
10060
10060
|
"project-id": I.project.id,
|
|
10061
10061
|
templates: I.templates,
|
|
@@ -10093,7 +10093,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10093
10093
|
}, Lv = { class: "ao-card-feed__subitem" }, Hv = {
|
|
10094
10094
|
key: 1,
|
|
10095
10095
|
class: "ao-card-feed__subitem"
|
|
10096
|
-
}, Dv = { class: "ao-card-feed__subitem" },
|
|
10096
|
+
}, Dv = { class: "ao-card-feed__subitem" }, Pv = { class: "ao-card-feed__footer-row" }, Vv = {
|
|
10097
10097
|
key: 0,
|
|
10098
10098
|
class: "ao-card-feed__progress-wrapper"
|
|
10099
10099
|
}, Bv = { class: "ao-card-feed__subitem" }, Rv = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ q({
|
|
@@ -10123,7 +10123,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10123
10123
|
id: a.id,
|
|
10124
10124
|
name: d
|
|
10125
10125
|
});
|
|
10126
|
-
}, o = k(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), i = k(() => a.assignee ? [a.assignee] : []), r = k(() =>
|
|
10126
|
+
}, o = k(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), i = k(() => a.assignee ? [a.assignee] : []), r = k(() => Tn(a.deadline)), l = (d) => {
|
|
10127
10127
|
e("removeAssignee", d);
|
|
10128
10128
|
}, c = k(() => {
|
|
10129
10129
|
var d;
|
|
@@ -10132,13 +10132,13 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10132
10132
|
var d;
|
|
10133
10133
|
return (d = a.tasks) == null ? void 0 : d.filter((C) => C.isDone).length;
|
|
10134
10134
|
}), f = k(() => (u.value || 0) / (c.value || 1));
|
|
10135
|
-
return (d, C) => (p(),
|
|
10135
|
+
return (d, C) => (p(), P(Wn, {
|
|
10136
10136
|
class: Y(["ao-card-feed", { "ao-card-feed--closed": d.isClosed }]),
|
|
10137
10137
|
"is-clickable": !0
|
|
10138
10138
|
}, {
|
|
10139
10139
|
header: W(() => [
|
|
10140
10140
|
v("div", _v, [
|
|
10141
|
-
n.value ? (p(),
|
|
10141
|
+
n.value ? (p(), P(Mn, {
|
|
10142
10142
|
key: 0,
|
|
10143
10143
|
label: n.value,
|
|
10144
10144
|
class: "ao-card-feed__project",
|
|
@@ -10147,19 +10147,19 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10147
10147
|
"raw-color": d.projectColor
|
|
10148
10148
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10149
10149
|
d.isPrivate || d.important || d.isClosed ? (p(), g("div", yv, [
|
|
10150
|
-
d.isPrivate ? (p(),
|
|
10150
|
+
d.isPrivate ? (p(), P(pe, {
|
|
10151
10151
|
key: 0,
|
|
10152
10152
|
name: "Lock",
|
|
10153
10153
|
class: "ao-card-feed__warning",
|
|
10154
10154
|
size: "sm"
|
|
10155
10155
|
})) : T("", !0),
|
|
10156
|
-
d.important ? (p(),
|
|
10156
|
+
d.important ? (p(), P(pe, {
|
|
10157
10157
|
key: 1,
|
|
10158
10158
|
name: "FlagRounded",
|
|
10159
10159
|
class: "ao-card-feed__important",
|
|
10160
10160
|
size: "sm"
|
|
10161
10161
|
})) : T("", !0),
|
|
10162
|
-
d.isClosed ? (p(),
|
|
10162
|
+
d.isClosed ? (p(), P(pe, {
|
|
10163
10163
|
key: 2,
|
|
10164
10164
|
name: "CheckSmallRounded",
|
|
10165
10165
|
class: "ao-card-feed__closed"
|
|
@@ -10219,8 +10219,8 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10219
10219
|
])) : T("", !0)
|
|
10220
10220
|
])) : T("", !0)
|
|
10221
10221
|
]),
|
|
10222
|
-
v("div",
|
|
10223
|
-
d.tasks && d.tasks.length ? (p(), g("div",
|
|
10222
|
+
v("div", Pv, [
|
|
10223
|
+
d.tasks && d.tasks.length ? (p(), g("div", Vv, [
|
|
10224
10224
|
v("div", Bv, [
|
|
10225
10225
|
M(pe, {
|
|
10226
10226
|
name: "SelectCheckBox",
|
|
@@ -10228,7 +10228,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10228
10228
|
}),
|
|
10229
10229
|
v("span", Rv, G(u.value) + " / " + G(c.value), 1)
|
|
10230
10230
|
]),
|
|
10231
|
-
M(
|
|
10231
|
+
M(qn, {
|
|
10232
10232
|
percentages: f.value,
|
|
10233
10233
|
class: "ao-card-feed__progress"
|
|
10234
10234
|
}, null, 8, ["percentages"])
|
|
@@ -10247,11 +10247,11 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10247
10247
|
*/
|
|
10248
10248
|
function wt(t) {
|
|
10249
10249
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10250
|
-
/#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e =
|
|
10250
|
+
/#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10251
10251
|
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Fv(e);
|
|
10252
10252
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10253
10253
|
}
|
|
10254
|
-
function
|
|
10254
|
+
function zn(t) {
|
|
10255
10255
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10256
10256
|
return e.width = n, e.height = n, a.fillStyle = "#ffffff", a.fillRect(0, 0, n, n), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
10257
10257
|
}
|
|
@@ -10272,7 +10272,7 @@ function jv(t) {
|
|
|
10272
10272
|
b: e(t.slice(4, 6))
|
|
10273
10273
|
};
|
|
10274
10274
|
}
|
|
10275
|
-
function
|
|
10275
|
+
function Ms(t) {
|
|
10276
10276
|
return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
|
|
10277
10277
|
r: Number(t[0]) || 0,
|
|
10278
10278
|
g: Number(t[1]) || 0,
|
|
@@ -10288,7 +10288,7 @@ function Fv({ r: t, g: e, b: a }) {
|
|
|
10288
10288
|
let r = parseFloat((n === 0 ? 0 : 1 - s / n).toFixed(2)), l = parseFloat(n.toFixed(2));
|
|
10289
10289
|
return { h: i, s: r, v: l };
|
|
10290
10290
|
}
|
|
10291
|
-
var
|
|
10291
|
+
var xn = q({
|
|
10292
10292
|
props: {
|
|
10293
10293
|
color: {
|
|
10294
10294
|
type: String,
|
|
@@ -10349,7 +10349,7 @@ var zn = q({
|
|
|
10349
10349
|
});
|
|
10350
10350
|
const Uv = { ref: "canvasSaturation" };
|
|
10351
10351
|
function Zv(t, e, a, n, s, o) {
|
|
10352
|
-
return p(),
|
|
10352
|
+
return p(), P(
|
|
10353
10353
|
"div",
|
|
10354
10354
|
{
|
|
10355
10355
|
class: "saturation",
|
|
@@ -10378,9 +10378,9 @@ function Zv(t, e, a, n, s, o) {
|
|
|
10378
10378
|
/* HYDRATE_EVENTS */
|
|
10379
10379
|
);
|
|
10380
10380
|
}
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
var
|
|
10381
|
+
xn.render = Zv;
|
|
10382
|
+
xn.__file = "src/color/Saturation.vue";
|
|
10383
|
+
var Yn = q({
|
|
10384
10384
|
props: {
|
|
10385
10385
|
hsv: {
|
|
10386
10386
|
type: Object,
|
|
@@ -10435,7 +10435,7 @@ var xn = q({
|
|
|
10435
10435
|
});
|
|
10436
10436
|
const Wv = { ref: "canvasHue" };
|
|
10437
10437
|
function qv(t, e, a, n, s, o) {
|
|
10438
|
-
return p(),
|
|
10438
|
+
return p(), P(
|
|
10439
10439
|
"div",
|
|
10440
10440
|
{
|
|
10441
10441
|
class: "hue",
|
|
@@ -10464,9 +10464,9 @@ function qv(t, e, a, n, s, o) {
|
|
|
10464
10464
|
/* HYDRATE_EVENTS */
|
|
10465
10465
|
);
|
|
10466
10466
|
}
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
var
|
|
10467
|
+
Yn.render = qv;
|
|
10468
|
+
Yn.__file = "src/color/Hue.vue";
|
|
10469
|
+
var Kn = q({
|
|
10470
10470
|
props: {
|
|
10471
10471
|
color: {
|
|
10472
10472
|
type: String,
|
|
@@ -10505,7 +10505,7 @@ var Yn = q({
|
|
|
10505
10505
|
},
|
|
10506
10506
|
methods: {
|
|
10507
10507
|
renderColor() {
|
|
10508
|
-
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10508
|
+
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
|
|
10509
10509
|
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), bn("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10510
10510
|
},
|
|
10511
10511
|
renderSlide() {
|
|
@@ -10530,7 +10530,7 @@ var Yn = q({
|
|
|
10530
10530
|
});
|
|
10531
10531
|
const zv = { ref: "canvasAlpha" };
|
|
10532
10532
|
function xv(t, e, a, n, s, o) {
|
|
10533
|
-
return p(),
|
|
10533
|
+
return p(), P(
|
|
10534
10534
|
"div",
|
|
10535
10535
|
{
|
|
10536
10536
|
class: "color-alpha",
|
|
@@ -10559,9 +10559,9 @@ function xv(t, e, a, n, s, o) {
|
|
|
10559
10559
|
/* HYDRATE_EVENTS */
|
|
10560
10560
|
);
|
|
10561
10561
|
}
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
var
|
|
10562
|
+
Kn.render = xv;
|
|
10563
|
+
Kn.__file = "src/color/Alpha.vue";
|
|
10564
|
+
var Gn = q({
|
|
10565
10565
|
props: {
|
|
10566
10566
|
color: {
|
|
10567
10567
|
type: String,
|
|
@@ -10591,17 +10591,17 @@ var Kn = q({
|
|
|
10591
10591
|
},
|
|
10592
10592
|
methods: {
|
|
10593
10593
|
renderColor() {
|
|
10594
|
-
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10594
|
+
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
|
|
10595
10595
|
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), o.fillStyle = this.color, o.fillRect(0, 0, e, a);
|
|
10596
10596
|
}
|
|
10597
10597
|
}
|
|
10598
10598
|
});
|
|
10599
10599
|
function Yv(t, e, a, n, s, o) {
|
|
10600
|
-
return p(),
|
|
10600
|
+
return p(), P("canvas");
|
|
10601
10601
|
}
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
var
|
|
10602
|
+
Gn.render = Yv;
|
|
10603
|
+
Gn.__file = "src/color/Preview.vue";
|
|
10604
|
+
var Xn = q({
|
|
10605
10605
|
props: {
|
|
10606
10606
|
suckerCanvas: {
|
|
10607
10607
|
type: Object,
|
|
@@ -10707,8 +10707,8 @@ const Kv = /* @__PURE__ */ M(
|
|
|
10707
10707
|
/* HOISTED */
|
|
10708
10708
|
);
|
|
10709
10709
|
function Qv(t, e, a, n, s, o) {
|
|
10710
|
-
return p(),
|
|
10711
|
-
t.isSucking ? T("v-if", !0) : (p(),
|
|
10710
|
+
return p(), P("div", null, [
|
|
10711
|
+
t.isSucking ? T("v-if", !0) : (p(), P(
|
|
10712
10712
|
"svg",
|
|
10713
10713
|
{
|
|
10714
10714
|
key: 0,
|
|
@@ -10723,14 +10723,14 @@ function Qv(t, e, a, n, s, o) {
|
|
|
10723
10723
|
2
|
|
10724
10724
|
/* CLASS */
|
|
10725
10725
|
)),
|
|
10726
|
-
t.isSucking ? (p(),
|
|
10726
|
+
t.isSucking ? (p(), P("svg", Gv, [
|
|
10727
10727
|
Xv
|
|
10728
10728
|
])) : T("v-if", !0)
|
|
10729
10729
|
]);
|
|
10730
10730
|
}
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
var
|
|
10731
|
+
Xn.render = Qv;
|
|
10732
|
+
Xn.__file = "src/color/Sucker.vue";
|
|
10733
|
+
var Qn = q({
|
|
10734
10734
|
props: {
|
|
10735
10735
|
name: {
|
|
10736
10736
|
type: String,
|
|
@@ -10763,7 +10763,7 @@ var Xn = q({
|
|
|
10763
10763
|
});
|
|
10764
10764
|
const Jv = { class: "color-type" }, e4 = { class: "name" };
|
|
10765
10765
|
function t4(t, e, a, n, s, o) {
|
|
10766
|
-
return p(),
|
|
10766
|
+
return p(), P("div", Jv, [
|
|
10767
10767
|
M(
|
|
10768
10768
|
"span",
|
|
10769
10769
|
e4,
|
|
@@ -10787,9 +10787,9 @@ function t4(t, e, a, n, s, o) {
|
|
|
10787
10787
|
])
|
|
10788
10788
|
]);
|
|
10789
10789
|
}
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
var
|
|
10790
|
+
Qn.render = t4;
|
|
10791
|
+
Qn.__file = "src/color/Box.vue";
|
|
10792
|
+
var Jn = q({
|
|
10793
10793
|
name: "ColorPicker",
|
|
10794
10794
|
props: {
|
|
10795
10795
|
color: {
|
|
@@ -10808,7 +10808,7 @@ var Qn = q({
|
|
|
10808
10808
|
emits: ["selectColor"],
|
|
10809
10809
|
setup(t, { emit: e }) {
|
|
10810
10810
|
const a = ee(), n = ee([]), s = ee();
|
|
10811
|
-
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value =
|
|
10811
|
+
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(), $n(() => {
|
|
10812
10812
|
o(a.value);
|
|
10813
10813
|
});
|
|
10814
10814
|
function o(r) {
|
|
@@ -10834,12 +10834,12 @@ const a4 = { class: "colors" }, n4 = {
|
|
|
10834
10834
|
class: "colors history"
|
|
10835
10835
|
};
|
|
10836
10836
|
function s4(t, e, a, n, s, o) {
|
|
10837
|
-
return p(),
|
|
10837
|
+
return p(), P("div", null, [
|
|
10838
10838
|
M("ul", a4, [
|
|
10839
|
-
(p(!0),
|
|
10839
|
+
(p(!0), P(
|
|
10840
10840
|
ve,
|
|
10841
10841
|
null,
|
|
10842
|
-
_e(t.colorsDefault, (i) => (p(),
|
|
10842
|
+
_e(t.colorsDefault, (i) => (p(), P("li", {
|
|
10843
10843
|
key: i,
|
|
10844
10844
|
class: "item",
|
|
10845
10845
|
onClick: (r) => t.selectColor(i)
|
|
@@ -10869,11 +10869,11 @@ function s4(t, e, a, n, s, o) {
|
|
|
10869
10869
|
/* KEYED_FRAGMENT */
|
|
10870
10870
|
))
|
|
10871
10871
|
]),
|
|
10872
|
-
t.colorsHistory.length ? (p(),
|
|
10873
|
-
(p(!0),
|
|
10872
|
+
t.colorsHistory.length ? (p(), P("ul", n4, [
|
|
10873
|
+
(p(!0), P(
|
|
10874
10874
|
ve,
|
|
10875
10875
|
null,
|
|
10876
|
-
_e(t.colorsHistory, (i) => (p(),
|
|
10876
|
+
_e(t.colorsHistory, (i) => (p(), P("li", {
|
|
10877
10877
|
key: i,
|
|
10878
10878
|
class: "item",
|
|
10879
10879
|
onClick: (r) => t.selectColor(i)
|
|
@@ -10905,17 +10905,17 @@ function s4(t, e, a, n, s, o) {
|
|
|
10905
10905
|
])) : T("v-if", !0)
|
|
10906
10906
|
]);
|
|
10907
10907
|
}
|
|
10908
|
-
|
|
10909
|
-
|
|
10908
|
+
Jn.render = s4;
|
|
10909
|
+
Jn.__file = "src/color/Colors.vue";
|
|
10910
10910
|
var Rt = q({
|
|
10911
10911
|
components: {
|
|
10912
|
-
Saturation:
|
|
10913
|
-
Hue:
|
|
10914
|
-
Alpha:
|
|
10915
|
-
Preview:
|
|
10916
|
-
Sucker:
|
|
10917
|
-
Box:
|
|
10918
|
-
Colors:
|
|
10912
|
+
Saturation: xn,
|
|
10913
|
+
Hue: Yn,
|
|
10914
|
+
Alpha: Kn,
|
|
10915
|
+
Preview: Gn,
|
|
10916
|
+
Sucker: Xn,
|
|
10917
|
+
Box: Qn,
|
|
10918
|
+
Colors: Jn
|
|
10919
10919
|
},
|
|
10920
10920
|
emits: ["changeColor", "openSucker", "inputFocus", "inputBlur"],
|
|
10921
10921
|
props: {
|
|
@@ -11083,7 +11083,7 @@ var Rt = q({
|
|
|
11083
11083
|
const i4 = { class: "color-set" };
|
|
11084
11084
|
function o4(t, e, a, n, s, o) {
|
|
11085
11085
|
const i = xe("Saturation"), r = xe("Hue"), l = xe("Alpha"), c = xe("Preview"), u = xe("Sucker"), f = xe("Box"), d = xe("Colors");
|
|
11086
|
-
return p(),
|
|
11086
|
+
return p(), P(
|
|
11087
11087
|
"div",
|
|
11088
11088
|
{
|
|
11089
11089
|
class: ["hu-color-picker", { light: t.isLightTheme }],
|
|
@@ -11126,7 +11126,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
11126
11126
|
width: t.previewWidth,
|
|
11127
11127
|
height: t.previewHeight
|
|
11128
11128
|
}, null, 8, ["color", "width", "height"]),
|
|
11129
|
-
t.suckerHide ? T("v-if", !0) : (p(),
|
|
11129
|
+
t.suckerHide ? T("v-if", !0) : (p(), P(u, {
|
|
11130
11130
|
key: 0,
|
|
11131
11131
|
"sucker-canvas": t.suckerCanvas,
|
|
11132
11132
|
"sucker-area": t.suckerArea,
|
|
@@ -11175,34 +11175,51 @@ const r4 = {
|
|
|
11175
11175
|
},
|
|
11176
11176
|
data() {
|
|
11177
11177
|
return {
|
|
11178
|
-
color: "#59c7f9"
|
|
11178
|
+
color: "#59c7f9",
|
|
11179
|
+
showPicker: !1
|
|
11179
11180
|
};
|
|
11180
11181
|
},
|
|
11181
11182
|
methods: {
|
|
11183
|
+
togglePicker() {
|
|
11184
|
+
this.showPicker = !this.showPicker;
|
|
11185
|
+
},
|
|
11182
11186
|
changeColor(t) {
|
|
11183
11187
|
const { r: e, g: a, b: n, a: s } = t.rgba;
|
|
11184
11188
|
this.color = `rgba(${e}, ${a}, ${n}, ${s})`;
|
|
11185
|
-
},
|
|
11186
|
-
openSucker(t) {
|
|
11187
11189
|
}
|
|
11188
11190
|
}
|
|
11191
|
+
}, l4 = {
|
|
11192
|
+
class: "color-picker-wrapper",
|
|
11193
|
+
ref: "wrapper"
|
|
11189
11194
|
};
|
|
11190
|
-
function
|
|
11195
|
+
function u4(t, e, a, n, s, o) {
|
|
11191
11196
|
const i = xe("ColorPicker");
|
|
11192
|
-
return p(),
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
}
|
|
11199
|
-
|
|
11197
|
+
return p(), g("div", l4, [
|
|
11198
|
+
v("button", {
|
|
11199
|
+
class: "color-button",
|
|
11200
|
+
onClick: e[0] || (e[0] = (...r) => o.togglePicker && o.togglePicker(...r))
|
|
11201
|
+
}, [
|
|
11202
|
+
v("span", {
|
|
11203
|
+
style: wn({ backgroundColor: s.color }),
|
|
11204
|
+
class: "color-preview"
|
|
11205
|
+
}, null, 4)
|
|
11206
|
+
]),
|
|
11207
|
+
s.showPicker ? (p(), P(i, {
|
|
11208
|
+
key: 0,
|
|
11209
|
+
class: "color-picker",
|
|
11210
|
+
theme: "light",
|
|
11211
|
+
color: s.color,
|
|
11212
|
+
onChangeColor: o.changeColor
|
|
11213
|
+
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11214
|
+
], 512);
|
|
11215
|
+
}
|
|
11216
|
+
const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-milestone" }, p4 = { class: "ao-project-milestone__header" }, f4 = { class: "ao-project-milestone__header_line" }, v4 = { class: "ao-project-milestone__header_line" }, h4 = { class: "ao-project-milestone__title" }, m4 = {
|
|
11200
11217
|
key: 0,
|
|
11201
11218
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11202
|
-
},
|
|
11219
|
+
}, C4 = { class: "ao-field__row ao-milestone__field-row" }, g4 = { class: "ao-field ao-field--inline" }, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-milestone__field-multiselect" }, b4 = { class: "ao-project-milestone__body" }, w4 = {
|
|
11203
11220
|
key: 0,
|
|
11204
11221
|
class: "ao-project-milestone__footer"
|
|
11205
|
-
},
|
|
11222
|
+
}, As = /* @__PURE__ */ q({
|
|
11206
11223
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11207
11224
|
props: {
|
|
11208
11225
|
milestoneId: {},
|
|
@@ -11265,7 +11282,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11265
11282
|
deadline: h != null && h.length ? h : null
|
|
11266
11283
|
});
|
|
11267
11284
|
}
|
|
11268
|
-
}), C = (h) => a.closedStatus ?
|
|
11285
|
+
}), C = (h) => a.closedStatus ? On(h, a.closedStatus) : !1, b = k(() => {
|
|
11269
11286
|
var h;
|
|
11270
11287
|
return ((h = a.users) == null ? void 0 : h.map((A) => ({
|
|
11271
11288
|
label: `${A.firstName} ${A.lastName}`,
|
|
@@ -11295,9 +11312,9 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11295
11312
|
});
|
|
11296
11313
|
return (h, A) => {
|
|
11297
11314
|
var w;
|
|
11298
|
-
return p(), g("div",
|
|
11299
|
-
v("header",
|
|
11300
|
-
v("div",
|
|
11315
|
+
return p(), g("div", d4, [
|
|
11316
|
+
v("header", p4, [
|
|
11317
|
+
v("div", f4, [
|
|
11301
11318
|
M(ce, {
|
|
11302
11319
|
"icon-name": "CloseRounded",
|
|
11303
11320
|
variant: "ghost",
|
|
@@ -11306,8 +11323,8 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11306
11323
|
onClick: l
|
|
11307
11324
|
})
|
|
11308
11325
|
]),
|
|
11309
|
-
v("div",
|
|
11310
|
-
v("div",
|
|
11326
|
+
v("div", v4, [
|
|
11327
|
+
v("div", h4, [
|
|
11311
11328
|
M(ye, {
|
|
11312
11329
|
title: ((w = i.value) == null ? void 0 : w.name) || h.milestoneId,
|
|
11313
11330
|
level: 5
|
|
@@ -11326,9 +11343,9 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11326
11343
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11327
11344
|
])
|
|
11328
11345
|
]),
|
|
11329
|
-
i.value ? (p(), g("div",
|
|
11330
|
-
v("div",
|
|
11331
|
-
v("label",
|
|
11346
|
+
i.value ? (p(), g("div", m4, [
|
|
11347
|
+
v("div", C4, [
|
|
11348
|
+
v("label", g4, [
|
|
11332
11349
|
Ke(v("input", {
|
|
11333
11350
|
"onUpdate:modelValue": A[1] || (A[1] = (E) => d.value = E),
|
|
11334
11351
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11343,8 +11360,8 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11343
11360
|
])
|
|
11344
11361
|
])
|
|
11345
11362
|
]),
|
|
11346
|
-
v("div",
|
|
11347
|
-
v("label",
|
|
11363
|
+
v("div", _4, [
|
|
11364
|
+
v("label", y4, [
|
|
11348
11365
|
M($e, {
|
|
11349
11366
|
modelValue: y.value,
|
|
11350
11367
|
"onUpdate:modelValue": A[2] || (A[2] = (E) => y.value = E),
|
|
@@ -11373,10 +11390,10 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11373
11390
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11374
11391
|
])
|
|
11375
11392
|
]),
|
|
11376
|
-
M(
|
|
11393
|
+
M(c4)
|
|
11377
11394
|
])) : T("", !0)
|
|
11378
11395
|
]),
|
|
11379
|
-
v("div",
|
|
11396
|
+
v("div", b4, [
|
|
11380
11397
|
M(Q(mt), He({
|
|
11381
11398
|
class: "ao-project-milestone__activities",
|
|
11382
11399
|
list: r.value,
|
|
@@ -11412,7 +11429,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11412
11429
|
h.isEditable ? {
|
|
11413
11430
|
name: "secondary",
|
|
11414
11431
|
fn: W(() => [
|
|
11415
|
-
h.isEditable && E.active ? (p(),
|
|
11432
|
+
h.isEditable && E.active ? (p(), P(ce, {
|
|
11416
11433
|
key: 0,
|
|
11417
11434
|
color: "primary",
|
|
11418
11435
|
variant: "ghost",
|
|
@@ -11423,7 +11440,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11423
11440
|
label: h.$t("archive"),
|
|
11424
11441
|
onClick: fe(() => h.$emit("archiveActivity", { id: E.id }), ["stop"])
|
|
11425
11442
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11426
|
-
h.isEditable && !E.active ? (p(),
|
|
11443
|
+
h.isEditable && !E.active ? (p(), P(ce, {
|
|
11427
11444
|
key: 1,
|
|
11428
11445
|
color: "primary",
|
|
11429
11446
|
variant: "ghost",
|
|
@@ -11445,7 +11462,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11445
11462
|
}),
|
|
11446
11463
|
_: 1
|
|
11447
11464
|
}, 16, ["list", "disabled"]),
|
|
11448
|
-
h.isEditable ? (p(), g("div",
|
|
11465
|
+
h.isEditable ? (p(), g("div", w4, [
|
|
11449
11466
|
M(Ct, {
|
|
11450
11467
|
"icon-name": "Add",
|
|
11451
11468
|
label: h.$t("project.activity.add"),
|
|
@@ -11457,7 +11474,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11457
11474
|
};
|
|
11458
11475
|
}
|
|
11459
11476
|
});
|
|
11460
|
-
const
|
|
11477
|
+
const $4 = /* @__PURE__ */ q({
|
|
11461
11478
|
__name: "AoProjectOverviewActivityDetails",
|
|
11462
11479
|
props: {
|
|
11463
11480
|
phaseId: {},
|
|
@@ -11511,7 +11528,7 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11511
11528
|
};
|
|
11512
11529
|
return (_, h) => {
|
|
11513
11530
|
var A, w;
|
|
11514
|
-
return i.value ? (p(),
|
|
11531
|
+
return i.value ? (p(), P(Zn, {
|
|
11515
11532
|
key: 0,
|
|
11516
11533
|
activity: i.value,
|
|
11517
11534
|
"activity-types": _.activityTypes,
|
|
@@ -11544,20 +11561,20 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11544
11561
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11545
11562
|
};
|
|
11546
11563
|
}
|
|
11547
|
-
}),
|
|
11564
|
+
}), k4 = { class: "ao-col-header" }, S4 = /* @__PURE__ */ q({
|
|
11548
11565
|
__name: "AoColHeader",
|
|
11549
11566
|
props: {
|
|
11550
11567
|
title: {},
|
|
11551
11568
|
items: {}
|
|
11552
11569
|
},
|
|
11553
11570
|
setup(t) {
|
|
11554
|
-
return (e, a) => (p(), g("header",
|
|
11571
|
+
return (e, a) => (p(), g("header", k4, [
|
|
11555
11572
|
M(ye, {
|
|
11556
11573
|
title: e.title,
|
|
11557
11574
|
class: "ao-col-header__title",
|
|
11558
11575
|
level: 4
|
|
11559
11576
|
}, null, 8, ["title"]),
|
|
11560
|
-
e.items ? (p(),
|
|
11577
|
+
e.items ? (p(), P(Mn, {
|
|
11561
11578
|
key: 0,
|
|
11562
11579
|
label: e.items,
|
|
11563
11580
|
class: "ao-col-header__items",
|
|
@@ -11567,17 +11584,17 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11567
11584
|
]));
|
|
11568
11585
|
}
|
|
11569
11586
|
});
|
|
11570
|
-
function
|
|
11571
|
-
return
|
|
11587
|
+
function M4(t) {
|
|
11588
|
+
return Pi() ? (Vi(t), !0) : !1;
|
|
11572
11589
|
}
|
|
11573
11590
|
function ja(t) {
|
|
11574
11591
|
return typeof t == "function" ? t() : Q(t);
|
|
11575
11592
|
}
|
|
11576
|
-
const
|
|
11593
|
+
const A4 = typeof window < "u" && typeof document < "u";
|
|
11577
11594
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11578
|
-
const
|
|
11595
|
+
const T4 = (t) => t != null, oa = () => {
|
|
11579
11596
|
};
|
|
11580
|
-
function
|
|
11597
|
+
function O4(t, e) {
|
|
11581
11598
|
function a(...n) {
|
|
11582
11599
|
return new Promise((s, o) => {
|
|
11583
11600
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -11585,7 +11602,7 @@ function T4(t, e) {
|
|
|
11585
11602
|
}
|
|
11586
11603
|
return a;
|
|
11587
11604
|
}
|
|
11588
|
-
function
|
|
11605
|
+
function E4(t, e = {}) {
|
|
11589
11606
|
let a, n, s = oa;
|
|
11590
11607
|
const o = (r) => {
|
|
11591
11608
|
clearTimeout(r), s(), s = oa;
|
|
@@ -11601,9 +11618,9 @@ function O4(t, e = {}) {
|
|
|
11601
11618
|
});
|
|
11602
11619
|
};
|
|
11603
11620
|
}
|
|
11604
|
-
function
|
|
11605
|
-
return
|
|
11606
|
-
|
|
11621
|
+
function I4(t, e = 200, a = {}) {
|
|
11622
|
+
return O4(
|
|
11623
|
+
E4(e, a),
|
|
11607
11624
|
t
|
|
11608
11625
|
);
|
|
11609
11626
|
}
|
|
@@ -11612,27 +11629,27 @@ function vn(t) {
|
|
|
11612
11629
|
const a = ja(t);
|
|
11613
11630
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11614
11631
|
}
|
|
11615
|
-
const
|
|
11616
|
-
function
|
|
11632
|
+
const L4 = A4 ? window : void 0;
|
|
11633
|
+
function H4() {
|
|
11617
11634
|
const t = ee(!1), e = At();
|
|
11618
11635
|
return e && xt(() => {
|
|
11619
11636
|
t.value = !0;
|
|
11620
11637
|
}, e), t;
|
|
11621
11638
|
}
|
|
11622
|
-
function
|
|
11623
|
-
const e =
|
|
11639
|
+
function D4(t) {
|
|
11640
|
+
const e = H4();
|
|
11624
11641
|
return k(() => (e.value, !!t()));
|
|
11625
11642
|
}
|
|
11626
|
-
function
|
|
11643
|
+
function P4(t, e, a = {}) {
|
|
11627
11644
|
const {
|
|
11628
11645
|
root: n,
|
|
11629
11646
|
rootMargin: s = "0px",
|
|
11630
11647
|
threshold: o = 0.1,
|
|
11631
|
-
window: i =
|
|
11648
|
+
window: i = L4,
|
|
11632
11649
|
immediate: r = !0
|
|
11633
|
-
} = a, l =
|
|
11650
|
+
} = a, l = D4(() => i && "IntersectionObserver" in i), c = k(() => {
|
|
11634
11651
|
const b = ja(t);
|
|
11635
|
-
return (Array.isArray(b) ? b : [b]).map(vn).filter(
|
|
11652
|
+
return (Array.isArray(b) ? b : [b]).map(vn).filter(T4);
|
|
11636
11653
|
});
|
|
11637
11654
|
let u = oa;
|
|
11638
11655
|
const f = ee(r), d = l.value ? de(
|
|
@@ -11656,7 +11673,7 @@ function D4(t, e, a = {}) {
|
|
|
11656
11673
|
) : oa, C = () => {
|
|
11657
11674
|
u(), d(), f.value = !1;
|
|
11658
11675
|
};
|
|
11659
|
-
return
|
|
11676
|
+
return M4(C), {
|
|
11660
11677
|
isSupported: l,
|
|
11661
11678
|
isActive: f,
|
|
11662
11679
|
pause() {
|
|
@@ -11670,22 +11687,22 @@ function D4(t, e, a = {}) {
|
|
|
11670
11687
|
}
|
|
11671
11688
|
const V4 = {
|
|
11672
11689
|
class: /* @__PURE__ */ Y(["ao-list-kanban"])
|
|
11673
|
-
},
|
|
11690
|
+
}, B4 = { class: "ao-list-kanban__header" }, R4 = {
|
|
11674
11691
|
key: 0,
|
|
11675
11692
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11676
|
-
},
|
|
11693
|
+
}, N4 = {
|
|
11677
11694
|
key: 1,
|
|
11678
11695
|
class: "ao-list-kanban__end"
|
|
11679
|
-
},
|
|
11696
|
+
}, j4 = {
|
|
11680
11697
|
key: 0,
|
|
11681
11698
|
class: "ao-list-kanban__no-more"
|
|
11682
|
-
},
|
|
11699
|
+
}, F4 = {
|
|
11683
11700
|
key: 1,
|
|
11684
11701
|
class: "ao-list-kanban__divider"
|
|
11685
|
-
},
|
|
11702
|
+
}, U4 = {
|
|
11686
11703
|
key: 1,
|
|
11687
11704
|
class: "ao-list-kanban__footer"
|
|
11688
|
-
},
|
|
11705
|
+
}, Z4 = /* @__PURE__ */ q({
|
|
11689
11706
|
__name: "AoListKanban",
|
|
11690
11707
|
props: {
|
|
11691
11708
|
list: {},
|
|
@@ -11703,7 +11720,7 @@ const V4 = {
|
|
|
11703
11720
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11704
11721
|
setup(t, { emit: e }) {
|
|
11705
11722
|
const a = t, n = ee(!1), s = ee(null);
|
|
11706
|
-
|
|
11723
|
+
P4(s, ([{ isIntersecting: u }]) => {
|
|
11707
11724
|
n.value = u;
|
|
11708
11725
|
}), de(n, (u) => {
|
|
11709
11726
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11732,8 +11749,8 @@ const V4 = {
|
|
|
11732
11749
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
11733
11750
|
var d;
|
|
11734
11751
|
return [
|
|
11735
|
-
v("div",
|
|
11736
|
-
u.title ? (p(),
|
|
11752
|
+
v("div", B4, [
|
|
11753
|
+
u.title ? (p(), P(S4, {
|
|
11737
11754
|
key: 0,
|
|
11738
11755
|
title: u.title,
|
|
11739
11756
|
level: 3,
|
|
@@ -11789,7 +11806,7 @@ const V4 = {
|
|
|
11789
11806
|
onRemoveAssignee: () => o(d) && r({ id: d.id, assigneeId: null })
|
|
11790
11807
|
}, {
|
|
11791
11808
|
secondary: W(() => [
|
|
11792
|
-
o(d) && d.active ? (p(),
|
|
11809
|
+
o(d) && d.active ? (p(), P(ce, {
|
|
11793
11810
|
key: 0,
|
|
11794
11811
|
color: "primary",
|
|
11795
11812
|
variant: "ghost",
|
|
@@ -11800,7 +11817,7 @@ const V4 = {
|
|
|
11800
11817
|
label: u.$t("feed.activity.archive"),
|
|
11801
11818
|
onClick: fe(() => u.$emit("archiveActivity", { id: d.id }), ["stop"])
|
|
11802
11819
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11803
|
-
o(d) && !d.active ? (p(),
|
|
11820
|
+
o(d) && !d.active ? (p(), P(ce, {
|
|
11804
11821
|
key: 1,
|
|
11805
11822
|
color: "primary",
|
|
11806
11823
|
variant: "ghost",
|
|
@@ -11817,22 +11834,22 @@ const V4 = {
|
|
|
11817
11834
|
];
|
|
11818
11835
|
}),
|
|
11819
11836
|
footer: W(() => [
|
|
11820
|
-
u.isLoading ? (p(), g("div",
|
|
11837
|
+
u.isLoading ? (p(), g("div", R4, [
|
|
11821
11838
|
M(pe, { name: "Loading" })
|
|
11822
11839
|
])) : u.hasMore ? (p(), g("div", {
|
|
11823
11840
|
key: 2,
|
|
11824
11841
|
ref_key: "scrollEnd",
|
|
11825
11842
|
ref: s,
|
|
11826
11843
|
class: "ao-list-kanban__end"
|
|
11827
|
-
}, null, 512)) : (p(), g("div",
|
|
11828
|
-
u.noMoreLabel ? (p(), g("span",
|
|
11844
|
+
}, null, 512)) : (p(), g("div", N4, [
|
|
11845
|
+
u.noMoreLabel ? (p(), g("span", j4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", F4)) : T("", !0)
|
|
11829
11846
|
]))
|
|
11830
11847
|
]),
|
|
11831
11848
|
_: 1
|
|
11832
11849
|
}, 16, ["class", "list", "disabled"]),
|
|
11833
|
-
u.$slots.footer || u.footerLabel ? (p(), g("div",
|
|
11850
|
+
u.$slots.footer || u.footerLabel ? (p(), g("div", U4, [
|
|
11834
11851
|
te(u.$slots, "footer", {}, () => [
|
|
11835
|
-
u.isEditable ? (p(),
|
|
11852
|
+
u.isEditable ? (p(), P(Ct, {
|
|
11836
11853
|
key: 0,
|
|
11837
11854
|
"icon-name": "AddBoxOutlineRounded",
|
|
11838
11855
|
label: u.footerLabel,
|
|
@@ -11843,7 +11860,7 @@ const V4 = {
|
|
|
11843
11860
|
]));
|
|
11844
11861
|
}
|
|
11845
11862
|
});
|
|
11846
|
-
const
|
|
11863
|
+
const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder", "onKeypress"], z4 = /* @__PURE__ */ q({
|
|
11847
11864
|
__name: "AoSearchField",
|
|
11848
11865
|
props: {
|
|
11849
11866
|
modelValue: {},
|
|
@@ -11855,10 +11872,10 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11855
11872
|
const a = t, n = async (i) => {
|
|
11856
11873
|
const l = i.target.value;
|
|
11857
11874
|
e("update:modelValue", l, i);
|
|
11858
|
-
}, s =
|
|
11875
|
+
}, s = I4(n, a.delay), o = (i) => {
|
|
11859
11876
|
e("clear", i);
|
|
11860
11877
|
};
|
|
11861
|
-
return (i, r) => (p(), g("div",
|
|
11878
|
+
return (i, r) => (p(), g("div", W4, [
|
|
11862
11879
|
v("input", {
|
|
11863
11880
|
value: i.modelValue,
|
|
11864
11881
|
type: "text",
|
|
@@ -11867,7 +11884,7 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11867
11884
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11868
11885
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11869
11886
|
onKeypress: dt(n, ["enter"])
|
|
11870
|
-
}, null, 40,
|
|
11887
|
+
}, null, 40, q4),
|
|
11871
11888
|
M(pe, {
|
|
11872
11889
|
name: "SearchRounded",
|
|
11873
11890
|
class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -11883,7 +11900,7 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11883
11900
|
]));
|
|
11884
11901
|
}
|
|
11885
11902
|
});
|
|
11886
|
-
const
|
|
11903
|
+
const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { class: "ao-feed__body" }, G4 = /* @__PURE__ */ q({
|
|
11887
11904
|
__name: "AoFeed",
|
|
11888
11905
|
props: {
|
|
11889
11906
|
activities: {},
|
|
@@ -11905,7 +11922,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11905
11922
|
},
|
|
11906
11923
|
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"],
|
|
11907
11924
|
setup(t, { emit: e }) {
|
|
11908
|
-
const a = t, { t: n } = Tt(), s =
|
|
11925
|
+
const a = t, { t: n } = Tt(), s = Pt(a, "activities"), o = async (O) => {
|
|
11909
11926
|
await e("selectActivity", O);
|
|
11910
11927
|
}, i = ee({}), r = ee(!1), l = ee(!1), c = k(() => a.project ? "milestone" : "project");
|
|
11911
11928
|
de(
|
|
@@ -11988,11 +12005,11 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11988
12005
|
};
|
|
11989
12006
|
return (O, N) => {
|
|
11990
12007
|
var S;
|
|
11991
|
-
return p(), g("div",
|
|
12008
|
+
return p(), g("div", x4, [
|
|
11992
12009
|
M(Ya, null, {
|
|
11993
12010
|
primary: W(() => [
|
|
11994
|
-
v("div",
|
|
11995
|
-
a.project ? (p(),
|
|
12011
|
+
v("div", Y4, [
|
|
12012
|
+
a.project ? (p(), P(ci, {
|
|
11996
12013
|
key: 0,
|
|
11997
12014
|
"is-left": !1,
|
|
11998
12015
|
"right-label": O.$t("project.switch.feed"),
|
|
@@ -12001,14 +12018,14 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12001
12018
|
m && O.$router.push({ name: Q(Ye).project });
|
|
12002
12019
|
})
|
|
12003
12020
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12004
|
-
M(
|
|
12021
|
+
M(z4, {
|
|
12005
12022
|
"model-value": O.searchText,
|
|
12006
12023
|
placeholder: O.$t("feed.search.placeholder"),
|
|
12007
12024
|
class: "ao-feed__search",
|
|
12008
12025
|
"onUpdate:modelValue": D,
|
|
12009
12026
|
onClear: H
|
|
12010
12027
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12011
|
-
a.project ? T("", !0) : (p(),
|
|
12028
|
+
a.project ? T("", !0) : (p(), P($e, {
|
|
12012
12029
|
key: 1,
|
|
12013
12030
|
"model-value": O.filters[Q(Lt).project],
|
|
12014
12031
|
mode: "tags",
|
|
@@ -12019,7 +12036,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12019
12036
|
placeholder: O.$t("feed.filters.project.placeholder"),
|
|
12020
12037
|
"onUpdate:modelValue": N[1] || (N[1] = (m) => d(Q(Lt).project, m))
|
|
12021
12038
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12022
|
-
y.value ? (p(),
|
|
12039
|
+
y.value ? (p(), P($e, {
|
|
12023
12040
|
key: 2,
|
|
12024
12041
|
"model-value": O.filters[Q(Lt).type],
|
|
12025
12042
|
mode: "tags",
|
|
@@ -12030,7 +12047,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12030
12047
|
placeholder: O.$t("feed.filters.activityType.placeholder"),
|
|
12031
12048
|
"onUpdate:modelValue": N[2] || (N[2] = (m) => d(Q(Lt).type, m))
|
|
12032
12049
|
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
12033
|
-
_.value.length ? (p(),
|
|
12050
|
+
_.value.length ? (p(), P($e, {
|
|
12034
12051
|
key: 3,
|
|
12035
12052
|
"model-value": O.filters[Q(Lt).assignee],
|
|
12036
12053
|
mode: "tags",
|
|
@@ -12082,8 +12099,8 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12082
12099
|
]),
|
|
12083
12100
|
_: 1
|
|
12084
12101
|
}),
|
|
12085
|
-
v("div",
|
|
12086
|
-
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(),
|
|
12102
|
+
v("div", K4, [
|
|
12103
|
+
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(), P(Z4, {
|
|
12087
12104
|
key: m.id,
|
|
12088
12105
|
status: m,
|
|
12089
12106
|
list: i.value[m.id],
|
|
@@ -12100,8 +12117,8 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12100
12117
|
onUpdateActivity: A
|
|
12101
12118
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12102
12119
|
]),
|
|
12103
|
-
(p(),
|
|
12104
|
-
O.selectedActivity ? (p(),
|
|
12120
|
+
(p(), P(Nt, { to: "body" }, [
|
|
12121
|
+
O.selectedActivity ? (p(), P(Zn, {
|
|
12105
12122
|
key: 0,
|
|
12106
12123
|
activity: O.selectedActivity,
|
|
12107
12124
|
"activity-types": O.activityTypes,
|
|
@@ -12140,7 +12157,7 @@ const Dt = {
|
|
|
12140
12157
|
TEMPLATES: "templates",
|
|
12141
12158
|
TEMPLATE_DETAILS: "template_details",
|
|
12142
12159
|
TEMPLATES_LIST: "templates_list"
|
|
12143
|
-
},
|
|
12160
|
+
}, f8 = (t, e = {}) => [
|
|
12144
12161
|
{
|
|
12145
12162
|
path: t,
|
|
12146
12163
|
name: Dt.TEMPLATES,
|
|
@@ -12150,7 +12167,7 @@ const Dt = {
|
|
|
12150
12167
|
{
|
|
12151
12168
|
path: "",
|
|
12152
12169
|
name: Dt.TEMPLATES_LIST,
|
|
12153
|
-
component:
|
|
12170
|
+
component: Q4
|
|
12154
12171
|
},
|
|
12155
12172
|
{
|
|
12156
12173
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12165,7 +12182,7 @@ const Dt = {
|
|
|
12165
12182
|
feed: "AoProjectFeed",
|
|
12166
12183
|
milestone: "AoMilestone",
|
|
12167
12184
|
activity: "AoActivity"
|
|
12168
|
-
},
|
|
12185
|
+
}, v8 = (t, e = {}) => [
|
|
12169
12186
|
{
|
|
12170
12187
|
path: t,
|
|
12171
12188
|
...e,
|
|
@@ -12180,7 +12197,7 @@ const Dt = {
|
|
|
12180
12197
|
{
|
|
12181
12198
|
path: ":phaseId/:milestoneId",
|
|
12182
12199
|
name: Ye.milestone,
|
|
12183
|
-
component:
|
|
12200
|
+
component: As,
|
|
12184
12201
|
props: !0
|
|
12185
12202
|
},
|
|
12186
12203
|
{
|
|
@@ -12188,8 +12205,8 @@ const Dt = {
|
|
|
12188
12205
|
name: Ye.activity,
|
|
12189
12206
|
props: { default: !0, modal: !0 },
|
|
12190
12207
|
components: {
|
|
12191
|
-
default:
|
|
12192
|
-
modal:
|
|
12208
|
+
default: As,
|
|
12209
|
+
modal: $4
|
|
12193
12210
|
}
|
|
12194
12211
|
}
|
|
12195
12212
|
]
|
|
@@ -12197,12 +12214,12 @@ const Dt = {
|
|
|
12197
12214
|
{
|
|
12198
12215
|
path: "feed",
|
|
12199
12216
|
name: Ye.feed,
|
|
12200
|
-
component:
|
|
12217
|
+
component: G4,
|
|
12201
12218
|
props: !0
|
|
12202
12219
|
}
|
|
12203
12220
|
]
|
|
12204
12221
|
}
|
|
12205
|
-
],
|
|
12222
|
+
], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ q({
|
|
12206
12223
|
__name: "AoTemplatesList",
|
|
12207
12224
|
props: {
|
|
12208
12225
|
templates: {}
|
|
@@ -12242,7 +12259,7 @@ const Dt = {
|
|
|
12242
12259
|
});
|
|
12243
12260
|
}
|
|
12244
12261
|
};
|
|
12245
|
-
return (r, l) => (p(), g("div",
|
|
12262
|
+
return (r, l) => (p(), g("div", X4, [
|
|
12246
12263
|
M(Ya, null, {
|
|
12247
12264
|
secondary: W(() => [
|
|
12248
12265
|
M(ce, {
|
|
@@ -12286,7 +12303,7 @@ const Dt = {
|
|
|
12286
12303
|
]));
|
|
12287
12304
|
}
|
|
12288
12305
|
});
|
|
12289
|
-
const
|
|
12306
|
+
const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ q({
|
|
12290
12307
|
__name: "AoField",
|
|
12291
12308
|
props: {
|
|
12292
12309
|
label: {},
|
|
@@ -12296,11 +12313,11 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12296
12313
|
return (e, a) => (p(), g("label", {
|
|
12297
12314
|
class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12298
12315
|
}, [
|
|
12299
|
-
v("span",
|
|
12316
|
+
v("span", J4, G(e.label), 1),
|
|
12300
12317
|
te(e.$slots, "default")
|
|
12301
12318
|
], 2));
|
|
12302
12319
|
}
|
|
12303
|
-
}),
|
|
12320
|
+
}), t8 = ["type", "value", "disabled", "readonly"], h8 = /* @__PURE__ */ q({
|
|
12304
12321
|
__name: "AoInputField",
|
|
12305
12322
|
props: {
|
|
12306
12323
|
label: { default: "" },
|
|
@@ -12317,7 +12334,7 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12317
12334
|
), s = (o) => {
|
|
12318
12335
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12319
12336
|
};
|
|
12320
|
-
return (o, i) => (p(),
|
|
12337
|
+
return (o, i) => (p(), P(e8, { label: o.label }, {
|
|
12321
12338
|
default: W(() => [
|
|
12322
12339
|
v("input", He({
|
|
12323
12340
|
class: "ao-field__input",
|
|
@@ -12327,12 +12344,12 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12327
12344
|
readonly: o.isReadonly
|
|
12328
12345
|
}, {
|
|
12329
12346
|
[Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12330
|
-
}), null, 16,
|
|
12347
|
+
}), null, 16, t8)
|
|
12331
12348
|
]),
|
|
12332
12349
|
_: 1
|
|
12333
12350
|
}, 8, ["label"]));
|
|
12334
12351
|
}
|
|
12335
|
-
}),
|
|
12352
|
+
}), a8 = { class: "ao-field" }, n8 = { class: "ao-field__label" }, s8 = ["checked", "disabled"], m8 = /* @__PURE__ */ q({
|
|
12336
12353
|
__name: "AoCheckboxField",
|
|
12337
12354
|
props: {
|
|
12338
12355
|
label: { default: "" },
|
|
@@ -12342,8 +12359,8 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12342
12359
|
},
|
|
12343
12360
|
emits: ["update:modelValue"],
|
|
12344
12361
|
setup(t) {
|
|
12345
|
-
return (e, a) => (p(), g("label",
|
|
12346
|
-
v("span",
|
|
12362
|
+
return (e, a) => (p(), g("label", a8, [
|
|
12363
|
+
v("span", n8, G(e.label), 1),
|
|
12347
12364
|
v("input", {
|
|
12348
12365
|
class: "ao-field__input",
|
|
12349
12366
|
type: "checkbox",
|
|
@@ -12356,28 +12373,28 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12356
12373
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12357
12374
|
);
|
|
12358
12375
|
})
|
|
12359
|
-
}, null, 40,
|
|
12376
|
+
}, null, 40, s8)
|
|
12360
12377
|
]));
|
|
12361
12378
|
}
|
|
12362
12379
|
});
|
|
12363
12380
|
export {
|
|
12364
12381
|
di as AoCardFeed,
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12382
|
+
m8 as AoCheckboxField,
|
|
12383
|
+
G4 as AoFeed,
|
|
12384
|
+
e8 as AoField,
|
|
12385
|
+
h8 as AoInputField,
|
|
12369
12386
|
$e as AoMultiselect,
|
|
12370
12387
|
rv as AoProjectPhases,
|
|
12371
12388
|
M9 as AoTemplateDetails,
|
|
12372
|
-
|
|
12373
|
-
|
|
12389
|
+
u8 as AoTemplates,
|
|
12390
|
+
Q4 as AoTemplatesList,
|
|
12374
12391
|
F2 as TemplateItemTypeEnum,
|
|
12375
|
-
|
|
12376
|
-
|
|
12392
|
+
d8 as activityFeedStatus,
|
|
12393
|
+
c8 as durationTypes,
|
|
12377
12394
|
Lt as feedFilterTypes,
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12395
|
+
v8 as getProjectOverviewRoutes,
|
|
12396
|
+
f8 as getTemplateRoutes,
|
|
12397
|
+
p8 as listUpdateTypes,
|
|
12381
12398
|
hn as milestoneStatus,
|
|
12382
12399
|
Ye as projectOverviewRoutes,
|
|
12383
12400
|
R2 as ruleComparators,
|