@26lights/orcha 0.36.10 → 0.36.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +354 -342
- 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 As, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as wn, 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",
|
|
@@ -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,
|
|
@@ -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, [
|
|
@@ -1415,7 +1415,7 @@ const Sn = /* @__PURE__ */ q({
|
|
|
1415
1415
|
]),
|
|
1416
1416
|
style: As(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"
|
|
@@ -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.
|
|
@@ -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
|
}
|
|
@@ -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(Sn, {
|
|
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",
|
|
@@ -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",
|
|
@@ -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(On, 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(On, { 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(On, { 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,
|
|
@@ -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 = {
|
|
@@ -4584,14 +4584,14 @@ 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
4593
|
function Hn(t) {
|
|
4594
|
-
const e = Dn(), a =
|
|
4594
|
+
const e = Dn(), 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) {
|
|
@@ -4609,7 +4609,7 @@ function Dn() {
|
|
|
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) {
|
|
@@ -4644,20 +4644,20 @@ 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,
|
|
4653
4653
|
$: r
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
|
-
function
|
|
4656
|
+
function Pn(t) {
|
|
4657
4657
|
return et(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
|
-
function
|
|
4660
|
-
const e =
|
|
4659
|
+
function Vt(t) {
|
|
4660
|
+
const e = Pn(t);
|
|
4661
4661
|
if (!Fe(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
@@ -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 !Dn() || !e.visualViewport ?
|
|
4677
|
+
return !Dn() || !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
|
-
const s = t.getBoundingClientRect(), o =
|
|
4687
|
+
const s = t.getBoundingClientRect(), o = Pn(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,
|
|
@@ -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,
|
|
@@ -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 = Hn(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;
|
|
@@ -4847,16 +4847,16 @@ function q5(t, e, a) {
|
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
4849
|
function ms(t, e) {
|
|
4850
|
-
return !Fe(t) ||
|
|
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
4856
|
let n = ms(t, e);
|
|
4857
|
-
for (; n && H5(n) &&
|
|
4857
|
+
for (; n && H5(n) && Ve(n).position === "static"; )
|
|
4858
4858
|
n = ms(n, e);
|
|
4859
|
-
return n && (ft(n) === "html" || ft(n) === "body" &&
|
|
4859
|
+
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !Hn(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
|
};
|
|
@@ -4942,7 +4942,7 @@ function G5(t, e, a, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
|
-
} = n, c =
|
|
4945
|
+
} = n, c = Pn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
4946
|
u.forEach((h) => {
|
|
4947
4947
|
s && h.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
@@ -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 = [];
|
|
@@ -5343,7 +5343,7 @@ 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, ss,
|
|
5346
|
+
me || (me = (bt, ss, i8) => yt.value.some((Ti) => {
|
|
5347
5347
|
let is = fn(ya(bt[Ti]), K.value);
|
|
5348
5348
|
return le.value ? is.startsWith(fn(ss, K.value)) : is.indexOf(fn(ss, K.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
@@ -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 = ($) => {
|
|
@@ -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
5410
|
return n && typeof n.value == "function" ? h.value ? ka($a) : b.value == !0 && $a() : (Ne.value = n.value, $a()), _.value > -1 && ns(), de(_, ($, B) => {
|
|
5411
5411
|
Be.value && Be.value(), $ >= 0 && ns();
|
|
5412
|
-
}), de(
|
|
5412
|
+
}), de(V, ($) => {
|
|
5413
5413
|
if (je($)) {
|
|
5414
5414
|
we(Sa($), !1);
|
|
5415
5415
|
return;
|
|
@@ -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 Vn(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,
|
|
@@ -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) ? Bn(t) : r7(t);
|
|
5617
5617
|
}
|
|
5618
5618
|
function Ue(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -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
|
-
Nn(o)) && (r = l7(e)),
|
|
5651
|
+
Nn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Rn(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,13 +5671,13 @@ 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
|
+
(Vn(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) && Nn(t) ? t : ii(Qa(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
@@ -5692,18 +5692,18 @@ function d7(t) {
|
|
|
5692
5692
|
return ["table", "td", "th"].indexOf(Ue(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
5694
|
function Cs(t) {
|
|
5695
|
-
return !
|
|
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 (Vn(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;
|
|
@@ -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 && Vn(a)) {
|
|
5801
5801
|
var n = e;
|
|
5802
5802
|
do {
|
|
5803
5803
|
if (n && t.isSameNode(n))
|
|
@@ -5823,12 +5823,12 @@ function _s(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
5833
|
var u = _s(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;
|
|
@@ -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) {
|
|
@@ -5909,7 +5909,7 @@ function B7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Fn(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",
|
|
@@ -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
|
});
|
|
@@ -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) {
|
|
@@ -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"
|
|
@@ -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",
|
|
@@ -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,7 +8168,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8168
8168
|
const a = t, n = () => {
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
|
-
return (s, o) => (p(),
|
|
8171
|
+
return (s, o) => (p(), P(ce, {
|
|
8172
8172
|
color: s.modelValue ? s.color : Q(kn).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
@@ -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 = {
|
|
@@ -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(En, {
|
|
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(En, 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(Un, {
|
|
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 || [],
|
|
@@ -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
|
{
|
|
@@ -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(Zn, {
|
|
9381
9381
|
class: "ao-card-project-phase",
|
|
9382
9382
|
"is-clickable": c.isEditable
|
|
9383
9383
|
}, Ua({
|
|
@@ -9405,7 +9405,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
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(An)(c.deadline)), 1)
|
|
9429
9429
|
], 2)
|
|
9430
9430
|
])
|
|
9431
9431
|
]),
|
|
@@ -9496,7 +9496,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
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(Zn, {
|
|
9500
9500
|
class: Y([
|
|
9501
9501
|
"ao-card-project-milestone",
|
|
9502
9502
|
{ "ao-card-project-milestone--selected": l.isSelected }
|
|
@@ -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(
|
|
@@ -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(En, { 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({
|
|
@@ -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(Zn, {
|
|
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(Sn, {
|
|
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",
|
|
@@ -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",
|
|
@@ -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",
|
|
@@ -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",
|
|
@@ -10597,7 +10597,7 @@ var Kn = q({
|
|
|
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
10602
|
Kn.render = Yv;
|
|
10603
10603
|
Kn.__file = "src/color/Preview.vue";
|
|
@@ -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,7 +10723,7 @@ 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
|
]);
|
|
@@ -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,
|
|
@@ -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)
|
|
@@ -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,31 +11175,43 @@ 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
|
+
s.showPicker ? (p(), P(i, {
|
|
11203
|
+
key: 0,
|
|
11204
|
+
class: "color-picker",
|
|
11205
|
+
theme: "light",
|
|
11206
|
+
color: s.color,
|
|
11207
|
+
onChangeColor: o.changeColor
|
|
11208
|
+
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11209
|
+
], 512);
|
|
11210
|
+
}
|
|
11211
|
+
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
11212
|
key: 0,
|
|
11201
11213
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11202
|
-
},
|
|
11214
|
+
}, 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
11215
|
key: 0,
|
|
11204
11216
|
class: "ao-project-milestone__footer"
|
|
11205
11217
|
}, Ms = /* @__PURE__ */ q({
|
|
@@ -11295,9 +11307,9 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11295
11307
|
});
|
|
11296
11308
|
return (h, A) => {
|
|
11297
11309
|
var w;
|
|
11298
|
-
return p(), g("div",
|
|
11299
|
-
v("header",
|
|
11300
|
-
v("div",
|
|
11310
|
+
return p(), g("div", d4, [
|
|
11311
|
+
v("header", p4, [
|
|
11312
|
+
v("div", f4, [
|
|
11301
11313
|
M(ce, {
|
|
11302
11314
|
"icon-name": "CloseRounded",
|
|
11303
11315
|
variant: "ghost",
|
|
@@ -11306,8 +11318,8 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11306
11318
|
onClick: l
|
|
11307
11319
|
})
|
|
11308
11320
|
]),
|
|
11309
|
-
v("div",
|
|
11310
|
-
v("div",
|
|
11321
|
+
v("div", v4, [
|
|
11322
|
+
v("div", h4, [
|
|
11311
11323
|
M(ye, {
|
|
11312
11324
|
title: ((w = i.value) == null ? void 0 : w.name) || h.milestoneId,
|
|
11313
11325
|
level: 5
|
|
@@ -11326,9 +11338,9 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11326
11338
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11327
11339
|
])
|
|
11328
11340
|
]),
|
|
11329
|
-
i.value ? (p(), g("div",
|
|
11330
|
-
v("div",
|
|
11331
|
-
v("label",
|
|
11341
|
+
i.value ? (p(), g("div", m4, [
|
|
11342
|
+
v("div", C4, [
|
|
11343
|
+
v("label", g4, [
|
|
11332
11344
|
Ke(v("input", {
|
|
11333
11345
|
"onUpdate:modelValue": A[1] || (A[1] = (E) => d.value = E),
|
|
11334
11346
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11343,8 +11355,8 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11343
11355
|
])
|
|
11344
11356
|
])
|
|
11345
11357
|
]),
|
|
11346
|
-
v("div",
|
|
11347
|
-
v("label",
|
|
11358
|
+
v("div", _4, [
|
|
11359
|
+
v("label", y4, [
|
|
11348
11360
|
M($e, {
|
|
11349
11361
|
modelValue: y.value,
|
|
11350
11362
|
"onUpdate:modelValue": A[2] || (A[2] = (E) => y.value = E),
|
|
@@ -11373,10 +11385,10 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11373
11385
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11374
11386
|
])
|
|
11375
11387
|
]),
|
|
11376
|
-
M(
|
|
11388
|
+
M(c4)
|
|
11377
11389
|
])) : T("", !0)
|
|
11378
11390
|
]),
|
|
11379
|
-
v("div",
|
|
11391
|
+
v("div", b4, [
|
|
11380
11392
|
M(Q(mt), He({
|
|
11381
11393
|
class: "ao-project-milestone__activities",
|
|
11382
11394
|
list: r.value,
|
|
@@ -11412,7 +11424,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11412
11424
|
h.isEditable ? {
|
|
11413
11425
|
name: "secondary",
|
|
11414
11426
|
fn: W(() => [
|
|
11415
|
-
h.isEditable && E.active ? (p(),
|
|
11427
|
+
h.isEditable && E.active ? (p(), P(ce, {
|
|
11416
11428
|
key: 0,
|
|
11417
11429
|
color: "primary",
|
|
11418
11430
|
variant: "ghost",
|
|
@@ -11423,7 +11435,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11423
11435
|
label: h.$t("archive"),
|
|
11424
11436
|
onClick: fe(() => h.$emit("archiveActivity", { id: E.id }), ["stop"])
|
|
11425
11437
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11426
|
-
h.isEditable && !E.active ? (p(),
|
|
11438
|
+
h.isEditable && !E.active ? (p(), P(ce, {
|
|
11427
11439
|
key: 1,
|
|
11428
11440
|
color: "primary",
|
|
11429
11441
|
variant: "ghost",
|
|
@@ -11445,7 +11457,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11445
11457
|
}),
|
|
11446
11458
|
_: 1
|
|
11447
11459
|
}, 16, ["list", "disabled"]),
|
|
11448
|
-
h.isEditable ? (p(), g("div",
|
|
11460
|
+
h.isEditable ? (p(), g("div", w4, [
|
|
11449
11461
|
M(Ct, {
|
|
11450
11462
|
"icon-name": "Add",
|
|
11451
11463
|
label: h.$t("project.activity.add"),
|
|
@@ -11457,7 +11469,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11457
11469
|
};
|
|
11458
11470
|
}
|
|
11459
11471
|
});
|
|
11460
|
-
const
|
|
11472
|
+
const $4 = /* @__PURE__ */ q({
|
|
11461
11473
|
__name: "AoProjectOverviewActivityDetails",
|
|
11462
11474
|
props: {
|
|
11463
11475
|
phaseId: {},
|
|
@@ -11511,7 +11523,7 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11511
11523
|
};
|
|
11512
11524
|
return (_, h) => {
|
|
11513
11525
|
var A, w;
|
|
11514
|
-
return i.value ? (p(),
|
|
11526
|
+
return i.value ? (p(), P(Un, {
|
|
11515
11527
|
key: 0,
|
|
11516
11528
|
activity: i.value,
|
|
11517
11529
|
"activity-types": _.activityTypes,
|
|
@@ -11544,20 +11556,20 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11544
11556
|
}, 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
11557
|
};
|
|
11546
11558
|
}
|
|
11547
|
-
}),
|
|
11559
|
+
}), k4 = { class: "ao-col-header" }, S4 = /* @__PURE__ */ q({
|
|
11548
11560
|
__name: "AoColHeader",
|
|
11549
11561
|
props: {
|
|
11550
11562
|
title: {},
|
|
11551
11563
|
items: {}
|
|
11552
11564
|
},
|
|
11553
11565
|
setup(t) {
|
|
11554
|
-
return (e, a) => (p(), g("header",
|
|
11566
|
+
return (e, a) => (p(), g("header", k4, [
|
|
11555
11567
|
M(ye, {
|
|
11556
11568
|
title: e.title,
|
|
11557
11569
|
class: "ao-col-header__title",
|
|
11558
11570
|
level: 4
|
|
11559
11571
|
}, null, 8, ["title"]),
|
|
11560
|
-
e.items ? (p(),
|
|
11572
|
+
e.items ? (p(), P(Sn, {
|
|
11561
11573
|
key: 0,
|
|
11562
11574
|
label: e.items,
|
|
11563
11575
|
class: "ao-col-header__items",
|
|
@@ -11567,17 +11579,17 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11567
11579
|
]));
|
|
11568
11580
|
}
|
|
11569
11581
|
});
|
|
11570
|
-
function
|
|
11571
|
-
return
|
|
11582
|
+
function M4(t) {
|
|
11583
|
+
return Pi() ? (Vi(t), !0) : !1;
|
|
11572
11584
|
}
|
|
11573
11585
|
function ja(t) {
|
|
11574
11586
|
return typeof t == "function" ? t() : Q(t);
|
|
11575
11587
|
}
|
|
11576
|
-
const
|
|
11588
|
+
const A4 = typeof window < "u" && typeof document < "u";
|
|
11577
11589
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11578
|
-
const
|
|
11590
|
+
const T4 = (t) => t != null, oa = () => {
|
|
11579
11591
|
};
|
|
11580
|
-
function
|
|
11592
|
+
function O4(t, e) {
|
|
11581
11593
|
function a(...n) {
|
|
11582
11594
|
return new Promise((s, o) => {
|
|
11583
11595
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -11585,7 +11597,7 @@ function T4(t, e) {
|
|
|
11585
11597
|
}
|
|
11586
11598
|
return a;
|
|
11587
11599
|
}
|
|
11588
|
-
function
|
|
11600
|
+
function E4(t, e = {}) {
|
|
11589
11601
|
let a, n, s = oa;
|
|
11590
11602
|
const o = (r) => {
|
|
11591
11603
|
clearTimeout(r), s(), s = oa;
|
|
@@ -11601,9 +11613,9 @@ function O4(t, e = {}) {
|
|
|
11601
11613
|
});
|
|
11602
11614
|
};
|
|
11603
11615
|
}
|
|
11604
|
-
function
|
|
11605
|
-
return
|
|
11606
|
-
|
|
11616
|
+
function I4(t, e = 200, a = {}) {
|
|
11617
|
+
return O4(
|
|
11618
|
+
E4(e, a),
|
|
11607
11619
|
t
|
|
11608
11620
|
);
|
|
11609
11621
|
}
|
|
@@ -11612,27 +11624,27 @@ function vn(t) {
|
|
|
11612
11624
|
const a = ja(t);
|
|
11613
11625
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11614
11626
|
}
|
|
11615
|
-
const
|
|
11616
|
-
function
|
|
11627
|
+
const L4 = A4 ? window : void 0;
|
|
11628
|
+
function H4() {
|
|
11617
11629
|
const t = ee(!1), e = At();
|
|
11618
11630
|
return e && xt(() => {
|
|
11619
11631
|
t.value = !0;
|
|
11620
11632
|
}, e), t;
|
|
11621
11633
|
}
|
|
11622
|
-
function
|
|
11623
|
-
const e =
|
|
11634
|
+
function D4(t) {
|
|
11635
|
+
const e = H4();
|
|
11624
11636
|
return k(() => (e.value, !!t()));
|
|
11625
11637
|
}
|
|
11626
|
-
function
|
|
11638
|
+
function P4(t, e, a = {}) {
|
|
11627
11639
|
const {
|
|
11628
11640
|
root: n,
|
|
11629
11641
|
rootMargin: s = "0px",
|
|
11630
11642
|
threshold: o = 0.1,
|
|
11631
|
-
window: i =
|
|
11643
|
+
window: i = L4,
|
|
11632
11644
|
immediate: r = !0
|
|
11633
|
-
} = a, l =
|
|
11645
|
+
} = a, l = D4(() => i && "IntersectionObserver" in i), c = k(() => {
|
|
11634
11646
|
const b = ja(t);
|
|
11635
|
-
return (Array.isArray(b) ? b : [b]).map(vn).filter(
|
|
11647
|
+
return (Array.isArray(b) ? b : [b]).map(vn).filter(T4);
|
|
11636
11648
|
});
|
|
11637
11649
|
let u = oa;
|
|
11638
11650
|
const f = ee(r), d = l.value ? de(
|
|
@@ -11656,7 +11668,7 @@ function D4(t, e, a = {}) {
|
|
|
11656
11668
|
) : oa, C = () => {
|
|
11657
11669
|
u(), d(), f.value = !1;
|
|
11658
11670
|
};
|
|
11659
|
-
return
|
|
11671
|
+
return M4(C), {
|
|
11660
11672
|
isSupported: l,
|
|
11661
11673
|
isActive: f,
|
|
11662
11674
|
pause() {
|
|
@@ -11670,22 +11682,22 @@ function D4(t, e, a = {}) {
|
|
|
11670
11682
|
}
|
|
11671
11683
|
const V4 = {
|
|
11672
11684
|
class: /* @__PURE__ */ Y(["ao-list-kanban"])
|
|
11673
|
-
},
|
|
11685
|
+
}, B4 = { class: "ao-list-kanban__header" }, R4 = {
|
|
11674
11686
|
key: 0,
|
|
11675
11687
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11676
|
-
},
|
|
11688
|
+
}, N4 = {
|
|
11677
11689
|
key: 1,
|
|
11678
11690
|
class: "ao-list-kanban__end"
|
|
11679
|
-
},
|
|
11691
|
+
}, j4 = {
|
|
11680
11692
|
key: 0,
|
|
11681
11693
|
class: "ao-list-kanban__no-more"
|
|
11682
|
-
},
|
|
11694
|
+
}, F4 = {
|
|
11683
11695
|
key: 1,
|
|
11684
11696
|
class: "ao-list-kanban__divider"
|
|
11685
|
-
},
|
|
11697
|
+
}, U4 = {
|
|
11686
11698
|
key: 1,
|
|
11687
11699
|
class: "ao-list-kanban__footer"
|
|
11688
|
-
},
|
|
11700
|
+
}, Z4 = /* @__PURE__ */ q({
|
|
11689
11701
|
__name: "AoListKanban",
|
|
11690
11702
|
props: {
|
|
11691
11703
|
list: {},
|
|
@@ -11703,7 +11715,7 @@ const V4 = {
|
|
|
11703
11715
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11704
11716
|
setup(t, { emit: e }) {
|
|
11705
11717
|
const a = t, n = ee(!1), s = ee(null);
|
|
11706
|
-
|
|
11718
|
+
P4(s, ([{ isIntersecting: u }]) => {
|
|
11707
11719
|
n.value = u;
|
|
11708
11720
|
}), de(n, (u) => {
|
|
11709
11721
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11732,8 +11744,8 @@ const V4 = {
|
|
|
11732
11744
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
11733
11745
|
var d;
|
|
11734
11746
|
return [
|
|
11735
|
-
v("div",
|
|
11736
|
-
u.title ? (p(),
|
|
11747
|
+
v("div", B4, [
|
|
11748
|
+
u.title ? (p(), P(S4, {
|
|
11737
11749
|
key: 0,
|
|
11738
11750
|
title: u.title,
|
|
11739
11751
|
level: 3,
|
|
@@ -11789,7 +11801,7 @@ const V4 = {
|
|
|
11789
11801
|
onRemoveAssignee: () => o(d) && r({ id: d.id, assigneeId: null })
|
|
11790
11802
|
}, {
|
|
11791
11803
|
secondary: W(() => [
|
|
11792
|
-
o(d) && d.active ? (p(),
|
|
11804
|
+
o(d) && d.active ? (p(), P(ce, {
|
|
11793
11805
|
key: 0,
|
|
11794
11806
|
color: "primary",
|
|
11795
11807
|
variant: "ghost",
|
|
@@ -11800,7 +11812,7 @@ const V4 = {
|
|
|
11800
11812
|
label: u.$t("feed.activity.archive"),
|
|
11801
11813
|
onClick: fe(() => u.$emit("archiveActivity", { id: d.id }), ["stop"])
|
|
11802
11814
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11803
|
-
o(d) && !d.active ? (p(),
|
|
11815
|
+
o(d) && !d.active ? (p(), P(ce, {
|
|
11804
11816
|
key: 1,
|
|
11805
11817
|
color: "primary",
|
|
11806
11818
|
variant: "ghost",
|
|
@@ -11817,22 +11829,22 @@ const V4 = {
|
|
|
11817
11829
|
];
|
|
11818
11830
|
}),
|
|
11819
11831
|
footer: W(() => [
|
|
11820
|
-
u.isLoading ? (p(), g("div",
|
|
11832
|
+
u.isLoading ? (p(), g("div", R4, [
|
|
11821
11833
|
M(pe, { name: "Loading" })
|
|
11822
11834
|
])) : u.hasMore ? (p(), g("div", {
|
|
11823
11835
|
key: 2,
|
|
11824
11836
|
ref_key: "scrollEnd",
|
|
11825
11837
|
ref: s,
|
|
11826
11838
|
class: "ao-list-kanban__end"
|
|
11827
|
-
}, null, 512)) : (p(), g("div",
|
|
11828
|
-
u.noMoreLabel ? (p(), g("span",
|
|
11839
|
+
}, null, 512)) : (p(), g("div", N4, [
|
|
11840
|
+
u.noMoreLabel ? (p(), g("span", j4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", F4)) : T("", !0)
|
|
11829
11841
|
]))
|
|
11830
11842
|
]),
|
|
11831
11843
|
_: 1
|
|
11832
11844
|
}, 16, ["class", "list", "disabled"]),
|
|
11833
|
-
u.$slots.footer || u.footerLabel ? (p(), g("div",
|
|
11845
|
+
u.$slots.footer || u.footerLabel ? (p(), g("div", U4, [
|
|
11834
11846
|
te(u.$slots, "footer", {}, () => [
|
|
11835
|
-
u.isEditable ? (p(),
|
|
11847
|
+
u.isEditable ? (p(), P(Ct, {
|
|
11836
11848
|
key: 0,
|
|
11837
11849
|
"icon-name": "AddBoxOutlineRounded",
|
|
11838
11850
|
label: u.footerLabel,
|
|
@@ -11843,7 +11855,7 @@ const V4 = {
|
|
|
11843
11855
|
]));
|
|
11844
11856
|
}
|
|
11845
11857
|
});
|
|
11846
|
-
const
|
|
11858
|
+
const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder", "onKeypress"], z4 = /* @__PURE__ */ q({
|
|
11847
11859
|
__name: "AoSearchField",
|
|
11848
11860
|
props: {
|
|
11849
11861
|
modelValue: {},
|
|
@@ -11855,10 +11867,10 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11855
11867
|
const a = t, n = async (i) => {
|
|
11856
11868
|
const l = i.target.value;
|
|
11857
11869
|
e("update:modelValue", l, i);
|
|
11858
|
-
}, s =
|
|
11870
|
+
}, s = I4(n, a.delay), o = (i) => {
|
|
11859
11871
|
e("clear", i);
|
|
11860
11872
|
};
|
|
11861
|
-
return (i, r) => (p(), g("div",
|
|
11873
|
+
return (i, r) => (p(), g("div", W4, [
|
|
11862
11874
|
v("input", {
|
|
11863
11875
|
value: i.modelValue,
|
|
11864
11876
|
type: "text",
|
|
@@ -11867,7 +11879,7 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11867
11879
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11868
11880
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11869
11881
|
onKeypress: dt(n, ["enter"])
|
|
11870
|
-
}, null, 40,
|
|
11882
|
+
}, null, 40, q4),
|
|
11871
11883
|
M(pe, {
|
|
11872
11884
|
name: "SearchRounded",
|
|
11873
11885
|
class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -11883,7 +11895,7 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11883
11895
|
]));
|
|
11884
11896
|
}
|
|
11885
11897
|
});
|
|
11886
|
-
const
|
|
11898
|
+
const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { class: "ao-feed__body" }, G4 = /* @__PURE__ */ q({
|
|
11887
11899
|
__name: "AoFeed",
|
|
11888
11900
|
props: {
|
|
11889
11901
|
activities: {},
|
|
@@ -11905,7 +11917,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11905
11917
|
},
|
|
11906
11918
|
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
11919
|
setup(t, { emit: e }) {
|
|
11908
|
-
const a = t, { t: n } = Tt(), s =
|
|
11920
|
+
const a = t, { t: n } = Tt(), s = Pt(a, "activities"), o = async (O) => {
|
|
11909
11921
|
await e("selectActivity", O);
|
|
11910
11922
|
}, i = ee({}), r = ee(!1), l = ee(!1), c = k(() => a.project ? "milestone" : "project");
|
|
11911
11923
|
de(
|
|
@@ -11988,11 +12000,11 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11988
12000
|
};
|
|
11989
12001
|
return (O, N) => {
|
|
11990
12002
|
var S;
|
|
11991
|
-
return p(), g("div",
|
|
12003
|
+
return p(), g("div", x4, [
|
|
11992
12004
|
M(Ya, null, {
|
|
11993
12005
|
primary: W(() => [
|
|
11994
|
-
v("div",
|
|
11995
|
-
a.project ? (p(),
|
|
12006
|
+
v("div", Y4, [
|
|
12007
|
+
a.project ? (p(), P(ci, {
|
|
11996
12008
|
key: 0,
|
|
11997
12009
|
"is-left": !1,
|
|
11998
12010
|
"right-label": O.$t("project.switch.feed"),
|
|
@@ -12001,14 +12013,14 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12001
12013
|
m && O.$router.push({ name: Q(Ye).project });
|
|
12002
12014
|
})
|
|
12003
12015
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12004
|
-
M(
|
|
12016
|
+
M(z4, {
|
|
12005
12017
|
"model-value": O.searchText,
|
|
12006
12018
|
placeholder: O.$t("feed.search.placeholder"),
|
|
12007
12019
|
class: "ao-feed__search",
|
|
12008
12020
|
"onUpdate:modelValue": D,
|
|
12009
12021
|
onClear: H
|
|
12010
12022
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12011
|
-
a.project ? T("", !0) : (p(),
|
|
12023
|
+
a.project ? T("", !0) : (p(), P($e, {
|
|
12012
12024
|
key: 1,
|
|
12013
12025
|
"model-value": O.filters[Q(Lt).project],
|
|
12014
12026
|
mode: "tags",
|
|
@@ -12019,7 +12031,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12019
12031
|
placeholder: O.$t("feed.filters.project.placeholder"),
|
|
12020
12032
|
"onUpdate:modelValue": N[1] || (N[1] = (m) => d(Q(Lt).project, m))
|
|
12021
12033
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12022
|
-
y.value ? (p(),
|
|
12034
|
+
y.value ? (p(), P($e, {
|
|
12023
12035
|
key: 2,
|
|
12024
12036
|
"model-value": O.filters[Q(Lt).type],
|
|
12025
12037
|
mode: "tags",
|
|
@@ -12030,7 +12042,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12030
12042
|
placeholder: O.$t("feed.filters.activityType.placeholder"),
|
|
12031
12043
|
"onUpdate:modelValue": N[2] || (N[2] = (m) => d(Q(Lt).type, m))
|
|
12032
12044
|
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
12033
|
-
_.value.length ? (p(),
|
|
12045
|
+
_.value.length ? (p(), P($e, {
|
|
12034
12046
|
key: 3,
|
|
12035
12047
|
"model-value": O.filters[Q(Lt).assignee],
|
|
12036
12048
|
mode: "tags",
|
|
@@ -12082,8 +12094,8 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12082
12094
|
]),
|
|
12083
12095
|
_: 1
|
|
12084
12096
|
}),
|
|
12085
|
-
v("div",
|
|
12086
|
-
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(),
|
|
12097
|
+
v("div", K4, [
|
|
12098
|
+
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(), P(Z4, {
|
|
12087
12099
|
key: m.id,
|
|
12088
12100
|
status: m,
|
|
12089
12101
|
list: i.value[m.id],
|
|
@@ -12100,8 +12112,8 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12100
12112
|
onUpdateActivity: A
|
|
12101
12113
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12102
12114
|
]),
|
|
12103
|
-
(p(),
|
|
12104
|
-
O.selectedActivity ? (p(),
|
|
12115
|
+
(p(), P(Nt, { to: "body" }, [
|
|
12116
|
+
O.selectedActivity ? (p(), P(Un, {
|
|
12105
12117
|
key: 0,
|
|
12106
12118
|
activity: O.selectedActivity,
|
|
12107
12119
|
"activity-types": O.activityTypes,
|
|
@@ -12140,7 +12152,7 @@ const Dt = {
|
|
|
12140
12152
|
TEMPLATES: "templates",
|
|
12141
12153
|
TEMPLATE_DETAILS: "template_details",
|
|
12142
12154
|
TEMPLATES_LIST: "templates_list"
|
|
12143
|
-
},
|
|
12155
|
+
}, f8 = (t, e = {}) => [
|
|
12144
12156
|
{
|
|
12145
12157
|
path: t,
|
|
12146
12158
|
name: Dt.TEMPLATES,
|
|
@@ -12150,7 +12162,7 @@ const Dt = {
|
|
|
12150
12162
|
{
|
|
12151
12163
|
path: "",
|
|
12152
12164
|
name: Dt.TEMPLATES_LIST,
|
|
12153
|
-
component:
|
|
12165
|
+
component: Q4
|
|
12154
12166
|
},
|
|
12155
12167
|
{
|
|
12156
12168
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12165,7 +12177,7 @@ const Dt = {
|
|
|
12165
12177
|
feed: "AoProjectFeed",
|
|
12166
12178
|
milestone: "AoMilestone",
|
|
12167
12179
|
activity: "AoActivity"
|
|
12168
|
-
},
|
|
12180
|
+
}, v8 = (t, e = {}) => [
|
|
12169
12181
|
{
|
|
12170
12182
|
path: t,
|
|
12171
12183
|
...e,
|
|
@@ -12189,7 +12201,7 @@ const Dt = {
|
|
|
12189
12201
|
props: { default: !0, modal: !0 },
|
|
12190
12202
|
components: {
|
|
12191
12203
|
default: Ms,
|
|
12192
|
-
modal:
|
|
12204
|
+
modal: $4
|
|
12193
12205
|
}
|
|
12194
12206
|
}
|
|
12195
12207
|
]
|
|
@@ -12197,12 +12209,12 @@ const Dt = {
|
|
|
12197
12209
|
{
|
|
12198
12210
|
path: "feed",
|
|
12199
12211
|
name: Ye.feed,
|
|
12200
|
-
component:
|
|
12212
|
+
component: G4,
|
|
12201
12213
|
props: !0
|
|
12202
12214
|
}
|
|
12203
12215
|
]
|
|
12204
12216
|
}
|
|
12205
|
-
],
|
|
12217
|
+
], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ q({
|
|
12206
12218
|
__name: "AoTemplatesList",
|
|
12207
12219
|
props: {
|
|
12208
12220
|
templates: {}
|
|
@@ -12242,7 +12254,7 @@ const Dt = {
|
|
|
12242
12254
|
});
|
|
12243
12255
|
}
|
|
12244
12256
|
};
|
|
12245
|
-
return (r, l) => (p(), g("div",
|
|
12257
|
+
return (r, l) => (p(), g("div", X4, [
|
|
12246
12258
|
M(Ya, null, {
|
|
12247
12259
|
secondary: W(() => [
|
|
12248
12260
|
M(ce, {
|
|
@@ -12286,7 +12298,7 @@ const Dt = {
|
|
|
12286
12298
|
]));
|
|
12287
12299
|
}
|
|
12288
12300
|
});
|
|
12289
|
-
const
|
|
12301
|
+
const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ q({
|
|
12290
12302
|
__name: "AoField",
|
|
12291
12303
|
props: {
|
|
12292
12304
|
label: {},
|
|
@@ -12296,11 +12308,11 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12296
12308
|
return (e, a) => (p(), g("label", {
|
|
12297
12309
|
class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12298
12310
|
}, [
|
|
12299
|
-
v("span",
|
|
12311
|
+
v("span", J4, G(e.label), 1),
|
|
12300
12312
|
te(e.$slots, "default")
|
|
12301
12313
|
], 2));
|
|
12302
12314
|
}
|
|
12303
|
-
}),
|
|
12315
|
+
}), t8 = ["type", "value", "disabled", "readonly"], h8 = /* @__PURE__ */ q({
|
|
12304
12316
|
__name: "AoInputField",
|
|
12305
12317
|
props: {
|
|
12306
12318
|
label: { default: "" },
|
|
@@ -12317,7 +12329,7 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12317
12329
|
), s = (o) => {
|
|
12318
12330
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12319
12331
|
};
|
|
12320
|
-
return (o, i) => (p(),
|
|
12332
|
+
return (o, i) => (p(), P(e8, { label: o.label }, {
|
|
12321
12333
|
default: W(() => [
|
|
12322
12334
|
v("input", He({
|
|
12323
12335
|
class: "ao-field__input",
|
|
@@ -12327,12 +12339,12 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12327
12339
|
readonly: o.isReadonly
|
|
12328
12340
|
}, {
|
|
12329
12341
|
[Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12330
|
-
}), null, 16,
|
|
12342
|
+
}), null, 16, t8)
|
|
12331
12343
|
]),
|
|
12332
12344
|
_: 1
|
|
12333
12345
|
}, 8, ["label"]));
|
|
12334
12346
|
}
|
|
12335
|
-
}),
|
|
12347
|
+
}), a8 = { class: "ao-field" }, n8 = { class: "ao-field__label" }, s8 = ["checked", "disabled"], m8 = /* @__PURE__ */ q({
|
|
12336
12348
|
__name: "AoCheckboxField",
|
|
12337
12349
|
props: {
|
|
12338
12350
|
label: { default: "" },
|
|
@@ -12342,8 +12354,8 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12342
12354
|
},
|
|
12343
12355
|
emits: ["update:modelValue"],
|
|
12344
12356
|
setup(t) {
|
|
12345
|
-
return (e, a) => (p(), g("label",
|
|
12346
|
-
v("span",
|
|
12357
|
+
return (e, a) => (p(), g("label", a8, [
|
|
12358
|
+
v("span", n8, G(e.label), 1),
|
|
12347
12359
|
v("input", {
|
|
12348
12360
|
class: "ao-field__input",
|
|
12349
12361
|
type: "checkbox",
|
|
@@ -12356,28 +12368,28 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12356
12368
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12357
12369
|
);
|
|
12358
12370
|
})
|
|
12359
|
-
}, null, 40,
|
|
12371
|
+
}, null, 40, s8)
|
|
12360
12372
|
]));
|
|
12361
12373
|
}
|
|
12362
12374
|
});
|
|
12363
12375
|
export {
|
|
12364
12376
|
di as AoCardFeed,
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12377
|
+
m8 as AoCheckboxField,
|
|
12378
|
+
G4 as AoFeed,
|
|
12379
|
+
e8 as AoField,
|
|
12380
|
+
h8 as AoInputField,
|
|
12369
12381
|
$e as AoMultiselect,
|
|
12370
12382
|
rv as AoProjectPhases,
|
|
12371
12383
|
M9 as AoTemplateDetails,
|
|
12372
|
-
|
|
12373
|
-
|
|
12384
|
+
u8 as AoTemplates,
|
|
12385
|
+
Q4 as AoTemplatesList,
|
|
12374
12386
|
F2 as TemplateItemTypeEnum,
|
|
12375
|
-
|
|
12376
|
-
|
|
12387
|
+
d8 as activityFeedStatus,
|
|
12388
|
+
c8 as durationTypes,
|
|
12377
12389
|
Lt as feedFilterTypes,
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12390
|
+
v8 as getProjectOverviewRoutes,
|
|
12391
|
+
f8 as getTemplateRoutes,
|
|
12392
|
+
p8 as listUpdateTypes,
|
|
12381
12393
|
hn as milestoneStatus,
|
|
12382
12394
|
Ye as projectOverviewRoutes,
|
|
12383
12395
|
R2 as ruleComparators,
|