@26lights/orcha 0.35.12 → 0.35.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +743 -752
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as J, openBlock as v, createBlock as R, unref as X, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as M, resolveDynamicComponent as vt, normalizeClass as x, renderSlot as te, toDisplayString as K, createCommentVNode as T, ref as ae, watch as ce, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as
|
|
1
|
+
import { defineComponent as J, openBlock as v, createBlock as R, unref as X, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as M, resolveDynamicComponent as vt, normalizeClass as x, renderSlot as te, toDisplayString as K, createCommentVNode as T, ref as ae, watch as ce, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as W, createTextVNode as Ra, createVNode as V, normalizeStyle as v1, withModifiers as he, createSlots as Na, Fragment as Ce, renderList as ye, onMounted as Wt, onBeforeUnmount as p1, onUnmounted as m1, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
|
|
2
2
|
import { RouterView as As } from "vue-router";
|
|
3
3
|
import pt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const Mv = /* @__PURE__ */ J({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -59,7 +59,7 @@ const Rs = /* @__PURE__ */ j(Vs, [["render", Bs]]), Ns = {}, js = {
|
|
|
59
59
|
function Fs(t, e) {
|
|
60
60
|
return v(), g("svg", js, Zs);
|
|
61
61
|
}
|
|
62
|
-
const
|
|
62
|
+
const Ws = /* @__PURE__ */ j(Ns, [["render", Fs]]), qs = {}, zs = {
|
|
63
63
|
width: "24",
|
|
64
64
|
height: "24",
|
|
65
65
|
viewBox: "0 0 24 24",
|
|
@@ -74,7 +74,7 @@ const qs = /* @__PURE__ */ j(Ns, [["render", Fs]]), Ws = {}, zs = {
|
|
|
74
74
|
function Gs(t, e) {
|
|
75
75
|
return v(), g("svg", zs, Ys);
|
|
76
76
|
}
|
|
77
|
-
const Ks = /* @__PURE__ */ j(
|
|
77
|
+
const Ks = /* @__PURE__ */ j(qs, [["render", Gs]]), Xs = {}, Qs = {
|
|
78
78
|
width: "24",
|
|
79
79
|
height: "24",
|
|
80
80
|
viewBox: "0 0 24 24",
|
|
@@ -194,7 +194,7 @@ const Ri = /* @__PURE__ */ j(Vi, [["render", Bi]]), Ni = {}, ji = {
|
|
|
194
194
|
function Fi(t, e) {
|
|
195
195
|
return v(), g("svg", ji, Zi);
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const Wi = /* @__PURE__ */ j(Ni, [["render", Fi]]), qi = {}, zi = {
|
|
198
198
|
width: "24",
|
|
199
199
|
height: "24",
|
|
200
200
|
viewBox: "0 0 24 24",
|
|
@@ -209,7 +209,7 @@ const qi = /* @__PURE__ */ j(Ni, [["render", Fi]]), Wi = {}, zi = {
|
|
|
209
209
|
function Gi(t, e) {
|
|
210
210
|
return v(), g("svg", zi, Yi);
|
|
211
211
|
}
|
|
212
|
-
const Ki = /* @__PURE__ */ j(
|
|
212
|
+
const Ki = /* @__PURE__ */ j(qi, [["render", Gi]]), Xi = {}, Qi = {
|
|
213
213
|
width: "24",
|
|
214
214
|
height: "24",
|
|
215
215
|
viewBox: "0 0 24 24",
|
|
@@ -326,10 +326,10 @@ const No = /* @__PURE__ */ j(Do, [["render", Ro]]), jo = {}, Uo = {
|
|
|
326
326
|
}, null, -1), Fo = [
|
|
327
327
|
Zo
|
|
328
328
|
];
|
|
329
|
-
function
|
|
329
|
+
function Wo(t, e) {
|
|
330
330
|
return v(), g("svg", Uo, Fo);
|
|
331
331
|
}
|
|
332
|
-
const
|
|
332
|
+
const qo = /* @__PURE__ */ j(jo, [["render", Wo]]), zo = {}, xo = {
|
|
333
333
|
width: "24",
|
|
334
334
|
height: "24",
|
|
335
335
|
viewBox: "0 0 24 24",
|
|
@@ -461,10 +461,10 @@ const Nr = /* @__PURE__ */ j(Dr, [["render", Rr]]), jr = {}, Ur = {
|
|
|
461
461
|
}, null, -1), Fr = [
|
|
462
462
|
Zr
|
|
463
463
|
];
|
|
464
|
-
function
|
|
464
|
+
function Wr(t, e) {
|
|
465
465
|
return v(), g("svg", Ur, Fr);
|
|
466
466
|
}
|
|
467
|
-
const
|
|
467
|
+
const qr = /* @__PURE__ */ j(jr, [["render", Wr]]), zr = {}, xr = {
|
|
468
468
|
width: "24",
|
|
469
469
|
height: "24",
|
|
470
470
|
viewBox: "0 0 24 24",
|
|
@@ -596,10 +596,10 @@ const Nl = /* @__PURE__ */ j(Dl, [["render", Rl]]), jl = {}, Ul = {
|
|
|
596
596
|
}, null, -1), Fl = [
|
|
597
597
|
Zl
|
|
598
598
|
];
|
|
599
|
-
function
|
|
599
|
+
function Wl(t, e) {
|
|
600
600
|
return v(), g("svg", Ul, Fl);
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const ql = /* @__PURE__ */ j(jl, [["render", Wl]]), zl = {}, xl = {
|
|
603
603
|
width: "24",
|
|
604
604
|
height: "24",
|
|
605
605
|
viewBox: "0 0 24 24",
|
|
@@ -738,14 +738,14 @@ const Uu = /* @__PURE__ */ j(Hu, [["render", ju]]), Zu = {}, Fu = {
|
|
|
738
738
|
viewBox: "0 0 24 24",
|
|
739
739
|
fill: "none",
|
|
740
740
|
xmlns: "http://www.w3.org/2000/svg"
|
|
741
|
-
},
|
|
741
|
+
}, Wu = /* @__PURE__ */ p("path", {
|
|
742
742
|
d: "M8.70002 12.925L10.075 13.85L11.55 13.1C11.6834 13.0167 11.8334 12.975 12 12.975C12.1667 12.975 12.3167 13.0167 12.45 13.1L13.925 13.85L15.25 12.975L14.25 11H9.65002L8.70002 12.925ZM5.22502 20H18.75L16.15 14.775L14.55 15.85C14.4 15.95 14.2377 16.0043 14.063 16.013C13.8884 16.0217 13.7174 15.984 13.55 15.9L12 15.125L10.45 15.9C10.2834 15.9833 10.1124 16.0167 9.93702 16C9.76169 15.9833 9.59936 15.925 9.45002 15.825L7.80002 14.75L5.22502 20ZM3.60002 22C3.21669 22 2.92936 21.8417 2.73802 21.525C2.54669 21.2083 2.53402 20.8833 2.70002 20.55L7.85002 10.125C8.01669 9.79167 8.26269 9.52067 8.58802 9.312C8.91336 9.10334 9.26736 8.99934 9.65002 9H11V3C11 2.71667 11.096 2.479 11.288 2.287C11.48 2.095 11.7174 1.99934 12 2H17.2C17.3834 2 17.525 2.07934 17.625 2.238C17.725 2.39667 17.7334 2.559 17.65 2.725L17.1 3.775C17.0667 3.85834 17.05 3.93334 17.05 4C17.05 4.06667 17.0667 4.14167 17.1 4.225L17.65 5.275C17.7334 5.44167 17.725 5.604 17.625 5.762C17.525 5.92 17.3834 5.99934 17.2 6H13V9H14.25C14.6334 9 14.9834 9.1 15.3 9.3C15.6167 9.5 15.8667 9.76667 16.05 10.1L21.275 20.55C21.4417 20.8833 21.4294 21.2083 21.238 21.525C21.0467 21.8417 20.759 22 20.375 22H3.60002Z",
|
|
743
743
|
fill: "black"
|
|
744
|
-
}, null, -1),
|
|
745
|
-
|
|
744
|
+
}, null, -1), qu = [
|
|
745
|
+
Wu
|
|
746
746
|
];
|
|
747
747
|
function zu(t, e) {
|
|
748
|
-
return v(), g("svg", Fu,
|
|
748
|
+
return v(), g("svg", Fu, qu);
|
|
749
749
|
}
|
|
750
750
|
const xu = /* @__PURE__ */ j(Zu, [["render", zu]]), Yu = {}, Gu = {
|
|
751
751
|
width: "24",
|
|
@@ -870,14 +870,14 @@ const Ud = /* @__PURE__ */ j(Hd, [["render", jd]]), Zd = {}, Fd = {
|
|
|
870
870
|
viewBox: "0 0 24 24",
|
|
871
871
|
fill: "none",
|
|
872
872
|
xmlns: "http://www.w3.org/2000/svg"
|
|
873
|
-
},
|
|
873
|
+
}, Wd = /* @__PURE__ */ p("path", {
|
|
874
874
|
d: "M4.4 19.4251C4.06667 19.5584 3.75 19.5291 3.45 19.3371C3.15 19.1457 3 18.8667 3 18.5001V14.7751C3 14.5417 3.06667 14.3334 3.2 14.1501C3.33333 13.9667 3.51667 13.8501 3.75 13.8001L11 12.0001L3.75 10.2001C3.51667 10.1501 3.33333 10.0334 3.2 9.85006C3.06667 9.66672 3 9.45839 3 9.22506V5.50006C3 5.13339 3.15 4.85406 3.45 4.66206C3.75 4.47072 4.06667 4.44172 4.4 4.57506L19.8 11.0751C20.2167 11.2584 20.425 11.5667 20.425 12.0001C20.425 12.4334 20.2167 12.7417 19.8 12.9251L4.4 19.4251Z",
|
|
875
875
|
fill: "black"
|
|
876
|
-
}, null, -1),
|
|
877
|
-
|
|
876
|
+
}, null, -1), qd = [
|
|
877
|
+
Wd
|
|
878
878
|
];
|
|
879
879
|
function zd(t, e) {
|
|
880
|
-
return v(), g("svg", Fd,
|
|
880
|
+
return v(), g("svg", Fd, qd);
|
|
881
881
|
}
|
|
882
882
|
const xd = /* @__PURE__ */ j(Zd, [["render", zd]]), Yd = {}, Gd = {
|
|
883
883
|
width: "24",
|
|
@@ -1005,14 +1005,14 @@ const Uc = /* @__PURE__ */ j(Hc, [["render", jc]]), Zc = {}, Fc = {
|
|
|
1005
1005
|
viewBox: "0 0 24 24",
|
|
1006
1006
|
fill: "none",
|
|
1007
1007
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1008
|
-
},
|
|
1008
|
+
}, Wc = /* @__PURE__ */ p("path", {
|
|
1009
1009
|
d: "M7 17H11C11.2833 17 11.521 16.904 11.713 16.712C11.905 16.52 12.0007 16.2827 12 16C12 15.7167 11.904 15.479 11.712 15.287C11.52 15.095 11.2827 14.9993 11 15H7C6.71667 15 6.479 15.096 6.287 15.288C6.095 15.48 5.99934 15.7173 6 16C6 16.2833 6.096 16.521 6.288 16.713C6.48 16.905 6.71734 17.0007 7 17ZM10 13H14C14.2833 13 14.521 12.904 14.713 12.712C14.905 12.52 15.0007 12.2827 15 12C15 11.7167 14.904 11.479 14.712 11.287C14.52 11.095 14.2827 10.9993 14 11H10C9.71667 11 9.479 11.096 9.287 11.288C9.095 11.48 8.99934 11.7173 9 12C9 12.2833 9.096 12.521 9.288 12.713C9.48 12.905 9.71734 13.0007 10 13ZM13 9H17C17.2833 9 17.521 8.904 17.713 8.712C17.905 8.52 18.0007 8.28267 18 8C18 7.71667 17.904 7.479 17.712 7.287C17.52 7.095 17.2827 6.99934 17 7H13C12.7167 7 12.479 7.096 12.287 7.288C12.095 7.48 11.9993 7.71734 12 8C12 8.28334 12.096 8.521 12.288 8.713C12.48 8.905 12.7173 9.00067 13 9ZM5 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 21H5Z",
|
|
1010
1010
|
fill: "black"
|
|
1011
|
-
}, null, -1),
|
|
1012
|
-
|
|
1011
|
+
}, null, -1), qc = [
|
|
1012
|
+
Wc
|
|
1013
1013
|
];
|
|
1014
1014
|
function zc(t, e) {
|
|
1015
|
-
return v(), g("svg", Fc,
|
|
1015
|
+
return v(), g("svg", Fc, qc);
|
|
1016
1016
|
}
|
|
1017
1017
|
const xc = /* @__PURE__ */ j(Zc, [["render", zc]]), Yc = {}, Gc = {
|
|
1018
1018
|
width: "24",
|
|
@@ -1063,7 +1063,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1063
1063
|
__proto__: null,
|
|
1064
1064
|
AccountBoxSharp: Ls,
|
|
1065
1065
|
AccountCircle: Rs,
|
|
1066
|
-
AccountTreeOutlineRounded:
|
|
1066
|
+
AccountTreeOutlineRounded: Ws,
|
|
1067
1067
|
AccountTreeRounded: Ks,
|
|
1068
1068
|
Add: ai,
|
|
1069
1069
|
AddBoxOutlineRounded: li,
|
|
@@ -1072,7 +1072,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1072
1072
|
ArrowDropDownRounded: Ai,
|
|
1073
1073
|
ArrowForwardRounded: Li,
|
|
1074
1074
|
AssignmentOutlineRounded: Ri,
|
|
1075
|
-
AttachFileRounded:
|
|
1075
|
+
AttachFileRounded: Wi,
|
|
1076
1076
|
CalendarTodayOutlineRounded: Ki,
|
|
1077
1077
|
CancelRounded: ao,
|
|
1078
1078
|
ChatOutline: lo,
|
|
@@ -1081,7 +1081,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1081
1081
|
CheckBoxOutlineRounded: To,
|
|
1082
1082
|
CheckSmallRounded: Vo,
|
|
1083
1083
|
ChecklistRounded: No,
|
|
1084
|
-
ChevronLeft:
|
|
1084
|
+
ChevronLeft: qo,
|
|
1085
1085
|
ChevronRight: Xo,
|
|
1086
1086
|
CloseRounded: nr,
|
|
1087
1087
|
ContactsOutlineRounded: ur,
|
|
@@ -1090,7 +1090,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1090
1090
|
DragIndicator: Tr,
|
|
1091
1091
|
EditDocumentRounded: Vr,
|
|
1092
1092
|
EditOutline: Nr,
|
|
1093
|
-
ErrorOutlineRounded:
|
|
1093
|
+
ErrorOutlineRounded: qr,
|
|
1094
1094
|
FilterListRounded: Xr,
|
|
1095
1095
|
FlagRounded: nl,
|
|
1096
1096
|
FlowsheetOutlineRounded: ul,
|
|
@@ -1099,7 +1099,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1099
1099
|
HomeOutlineRounded: Tl,
|
|
1100
1100
|
ImageRounded: Vl,
|
|
1101
1101
|
Info: Nl,
|
|
1102
|
-
KeyboardArrowDown:
|
|
1102
|
+
KeyboardArrowDown: ql,
|
|
1103
1103
|
KeyboardArrowUp: Xl,
|
|
1104
1104
|
Loading: iu,
|
|
1105
1105
|
Lock: cu,
|
|
@@ -1253,29 +1253,29 @@ const _e = /* @__PURE__ */ J({
|
|
|
1253
1253
|
},
|
|
1254
1254
|
emits: ["update:title", "toggle-is-editing"],
|
|
1255
1255
|
setup(t, { emit: e }) {
|
|
1256
|
-
const a = t, n = ae(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = C1(n), u = M(() => s.value ? "input" : a.tag || `h${a.level}`),
|
|
1257
|
-
change:
|
|
1256
|
+
const a = t, n = ae(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = C1(n), u = M(() => a.title.replace(/\s*\(\d+\)$/, "")), d = M(() => s.value ? "input" : a.tag || `h${a.level}`), l = M(() => a.isEditable ? s.value ? {
|
|
1257
|
+
change: c,
|
|
1258
1258
|
click: (_) => _.stopPropagation(),
|
|
1259
|
-
blur:
|
|
1259
|
+
blur: C
|
|
1260
1260
|
} : {
|
|
1261
|
-
click:
|
|
1262
|
-
focus:
|
|
1263
|
-
} : {}),
|
|
1264
|
-
const
|
|
1265
|
-
e("update:title",
|
|
1266
|
-
}),
|
|
1261
|
+
click: w,
|
|
1262
|
+
focus: w
|
|
1263
|
+
} : {}), c = i((_, m) => {
|
|
1264
|
+
const y = m.target.value;
|
|
1265
|
+
e("update:title", y);
|
|
1266
|
+
}), f = r(), C = async () => {
|
|
1267
1267
|
s.value && o(!1);
|
|
1268
|
-
},
|
|
1268
|
+
}, $ = () => {
|
|
1269
1269
|
e("toggle-is-editing", !1);
|
|
1270
|
-
},
|
|
1270
|
+
}, w = (_) => {
|
|
1271
1271
|
_.stopPropagation(), s.value || o(!0);
|
|
1272
1272
|
};
|
|
1273
1273
|
return ce(
|
|
1274
1274
|
() => a.isEditable,
|
|
1275
1275
|
(_) => {
|
|
1276
|
-
_ ||
|
|
1276
|
+
_ || f();
|
|
1277
1277
|
}
|
|
1278
|
-
), (_,
|
|
1278
|
+
), (_, m) => (v(), R(vt(d.value), Ve({
|
|
1279
1279
|
id: _.id,
|
|
1280
1280
|
ref_key: "target",
|
|
1281
1281
|
ref: n,
|
|
@@ -1290,13 +1290,13 @@ const _e = /* @__PURE__ */ J({
|
|
|
1290
1290
|
}
|
|
1291
1291
|
],
|
|
1292
1292
|
type: X(s) ? "text" : null,
|
|
1293
|
-
value: X(s) ?
|
|
1293
|
+
value: X(s) ? u.value : null,
|
|
1294
1294
|
tabindex: "0",
|
|
1295
|
-
onKeyup: ut(
|
|
1296
|
-
}, _s(
|
|
1297
|
-
onKeydown: ut(X(
|
|
1295
|
+
onKeyup: ut($, ["enter"])
|
|
1296
|
+
}, _s(l.value), {
|
|
1297
|
+
onKeydown: ut(X(f), ["esc"])
|
|
1298
1298
|
}), {
|
|
1299
|
-
default:
|
|
1299
|
+
default: W(() => [
|
|
1300
1300
|
Ra(K(_.title), 1)
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 1
|
|
@@ -1344,7 +1344,7 @@ const C2 = {
|
|
|
1344
1344
|
return (n, s) => (v(), R(vt(n.tagName), {
|
|
1345
1345
|
class: x(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1346
1346
|
}, {
|
|
1347
|
-
default:
|
|
1347
|
+
default: W(() => [
|
|
1348
1348
|
n.isDraggable ? (v(), g("div", C2, [
|
|
1349
1349
|
V(fe, {
|
|
1350
1350
|
name: "DragIndicator",
|
|
@@ -1418,7 +1418,7 @@ const yn = /* @__PURE__ */ J({
|
|
|
1418
1418
|
(v(), R(vt(a.value), Ve({ class: "ao-tag__label" }, n.value, {
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1420
1420
|
}), {
|
|
1421
|
-
default:
|
|
1421
|
+
default: W(() => [
|
|
1422
1422
|
Ra(K(s.label), 1)
|
|
1423
1423
|
]),
|
|
1424
1424
|
_: 1
|
|
@@ -1441,11 +1441,11 @@ const fn = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, Av = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, Tv = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const fn = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var O2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(O2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const Sv = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1597,10 +1597,10 @@ function $1(t, e) {
|
|
|
1597
1597
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1598
1598
|
var $ = /* @__PURE__ */ new Date(0);
|
|
1599
1599
|
$.setUTCFullYear(c + 1, 0, C), $.setUTCHours(0, 0, 0, 0);
|
|
1600
|
-
var
|
|
1601
|
-
|
|
1602
|
-
var m = La(
|
|
1603
|
-
return l.getTime() >=
|
|
1600
|
+
var w = La($, e), _ = /* @__PURE__ */ new Date(0);
|
|
1601
|
+
_.setUTCFullYear(c, 0, C), _.setUTCHours(0, 0, 0, 0);
|
|
1602
|
+
var m = La(_, e);
|
|
1603
|
+
return l.getTime() >= w.getTime() ? c + 1 : l.getTime() >= m.getTime() ? c : c - 1;
|
|
1604
1604
|
}
|
|
1605
1605
|
function U2(t, e) {
|
|
1606
1606
|
var a, n, s, o, i, r, u, d;
|
|
@@ -1621,7 +1621,7 @@ function ue(t, e) {
|
|
|
1621
1621
|
n = "0" + n;
|
|
1622
1622
|
return a + n;
|
|
1623
1623
|
}
|
|
1624
|
-
var
|
|
1624
|
+
var W2 = {
|
|
1625
1625
|
// Year
|
|
1626
1626
|
y: function(e, a) {
|
|
1627
1627
|
var n = e.getUTCFullYear(), s = n > 0 ? n : 1 - n;
|
|
@@ -1674,7 +1674,7 @@ var q2 = {
|
|
|
1674
1674
|
return ue(o, a.length);
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
|
-
const it =
|
|
1677
|
+
const it = W2;
|
|
1678
1678
|
var It = {
|
|
1679
1679
|
am: "am",
|
|
1680
1680
|
pm: "pm",
|
|
@@ -1684,7 +1684,7 @@ var It = {
|
|
|
1684
1684
|
afternoon: "afternoon",
|
|
1685
1685
|
evening: "evening",
|
|
1686
1686
|
night: "night"
|
|
1687
|
-
},
|
|
1687
|
+
}, q2 = {
|
|
1688
1688
|
// Era
|
|
1689
1689
|
G: function(e, a, n) {
|
|
1690
1690
|
var s = e.getUTCFullYear() > 0 ? 1 : 0;
|
|
@@ -2238,7 +2238,7 @@ function yt(t, e) {
|
|
|
2238
2238
|
var a = e || "", n = t > 0 ? "-" : "+", s = Math.abs(t), o = ue(Math.floor(s / 60), 2), i = ue(s % 60, 2);
|
|
2239
2239
|
return n + o + a + i;
|
|
2240
2240
|
}
|
|
2241
|
-
const z2 =
|
|
2241
|
+
const z2 = q2;
|
|
2242
2242
|
var Kn = function(e, a) {
|
|
2243
2243
|
switch (e) {
|
|
2244
2244
|
case "P":
|
|
@@ -2722,13 +2722,13 @@ var B0 = {
|
|
|
2722
2722
|
const M1 = B0;
|
|
2723
2723
|
var R0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, N0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, j0 = /^'([^]*?)'?$/, U0 = /''/g, Z0 = /[a-zA-Z]/;
|
|
2724
2724
|
function A1(t, e, a) {
|
|
2725
|
-
var n, s, o, i, r, u, d, l, c, f, C, $,
|
|
2725
|
+
var n, s, o, i, r, u, d, l, c, f, C, $, w, _, m, A, y, S;
|
|
2726
2726
|
ge(2, arguments);
|
|
2727
2727
|
var D = String(e), L = ca(), Z = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : M1, U = Ke((o = (i = (r = (u = a == null ? void 0 : a.firstWeekContainsDate) !== null && u !== void 0 ? u : a == null || (d = a.locale) === null || d === void 0 || (l = d.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = L.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2728
2728
|
if (!(U >= 1 && U <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
|
-
var
|
|
2731
|
-
if (!(
|
|
2730
|
+
var q = Ke((C = ($ = (w = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (m = a.locale) === null || m === void 0 || (A = m.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && w !== void 0 ? w : L.weekStartsOn) !== null && $ !== void 0 ? $ : (y = L.locale) === null || y === void 0 || (S = y.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && C !== void 0 ? C : 0);
|
|
2731
|
+
if (!(q >= 0 && q <= 6))
|
|
2732
2732
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2733
2733
|
if (!Z.localize)
|
|
2734
2734
|
throw new RangeError("locale must contain localize property");
|
|
@@ -2739,7 +2739,7 @@ function A1(t, e, a) {
|
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
2740
|
var Y = sa(O), B = vn(O, Y), F = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
2742
|
-
weekStartsOn:
|
|
2742
|
+
weekStartsOn: q,
|
|
2743
2743
|
locale: Z,
|
|
2744
2744
|
_originalDate: O
|
|
2745
2745
|
}, E = D.match(N0).map(function(N) {
|
|
@@ -2768,27 +2768,27 @@ function F0(t) {
|
|
|
2768
2768
|
var e = t.match(j0);
|
|
2769
2769
|
return e ? e[1].replace(U0, "'") : t;
|
|
2770
2770
|
}
|
|
2771
|
-
function
|
|
2771
|
+
function W0(t, e, a) {
|
|
2772
2772
|
var n, s, o, i, r, u, d, l, c, f;
|
|
2773
2773
|
ge(2, arguments);
|
|
2774
|
-
var C = be(t), $ = be(e),
|
|
2775
|
-
if (!
|
|
2774
|
+
var C = be(t), $ = be(e), w = ca(), _ = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : w.locale) !== null && n !== void 0 ? n : M1, m = Ke((o = (i = (r = (u = a == null ? void 0 : a.weekStartsOn) !== null && u !== void 0 ? u : a == null || (d = a.locale) === null || d === void 0 || (l = d.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : w.weekStartsOn) !== null && i !== void 0 ? i : (c = w.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2775
|
+
if (!_.localize)
|
|
2776
2776
|
throw new RangeError("locale must contain localize property");
|
|
2777
|
-
if (!
|
|
2777
|
+
if (!_.formatLong)
|
|
2778
2778
|
throw new RangeError("locale must contain formatLong property");
|
|
2779
|
-
if (!
|
|
2779
|
+
if (!_.formatRelative)
|
|
2780
2780
|
throw new RangeError("locale must contain formatRelative property");
|
|
2781
2781
|
var A = V2(C, $);
|
|
2782
2782
|
if (isNaN(A))
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
|
-
var
|
|
2785
|
-
A < -6 ?
|
|
2786
|
-
var S = vn(C, sa(C)), D = vn($, sa($)), L =
|
|
2787
|
-
locale:
|
|
2784
|
+
var y;
|
|
2785
|
+
A < -6 ? y = "other" : A < -1 ? y = "lastWeek" : A < 0 ? y = "yesterday" : A < 1 ? y = "today" : A < 2 ? y = "tomorrow" : A < 7 ? y = "nextWeek" : y = "other";
|
|
2786
|
+
var S = vn(C, sa(C)), D = vn($, sa($)), L = _.formatRelative(y, S, D, {
|
|
2787
|
+
locale: _,
|
|
2788
2788
|
weekStartsOn: m
|
|
2789
2789
|
});
|
|
2790
2790
|
return A1(C, L, {
|
|
2791
|
-
locale:
|
|
2791
|
+
locale: _,
|
|
2792
2792
|
weekStartsOn: m
|
|
2793
2793
|
});
|
|
2794
2794
|
}
|
|
@@ -2823,7 +2823,7 @@ var $a = {
|
|
|
2823
2823
|
dateTimeDelimiter: /[T ]/,
|
|
2824
2824
|
timeZoneDelimiter: /[Z ]/i,
|
|
2825
2825
|
timezone: /([Z+-].*)$/
|
|
2826
|
-
},
|
|
2826
|
+
}, q0 = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, z0 = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, x0 = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
2827
2827
|
function Y0(t) {
|
|
2828
2828
|
var e = {}, a = t.split($a.dateTimeDelimiter), n;
|
|
2829
2829
|
if (a.length > 2)
|
|
@@ -2850,7 +2850,7 @@ function G0(t, e) {
|
|
|
2850
2850
|
function K0(t, e) {
|
|
2851
2851
|
if (e === null)
|
|
2852
2852
|
return /* @__PURE__ */ new Date(NaN);
|
|
2853
|
-
var a = t.match(
|
|
2853
|
+
var a = t.match(q0);
|
|
2854
2854
|
if (!a)
|
|
2855
2855
|
return /* @__PURE__ */ new Date(NaN);
|
|
2856
2856
|
var n = !!a[4], s = Qt(a[1]), o = Qt(a[2]) - 1, i = Qt(a[3]), r = Qt(a[4]), u = Qt(a[5]) - 1;
|
|
@@ -2906,7 +2906,7 @@ function s3(t, e, a) {
|
|
|
2906
2906
|
function i3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
|
-
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, S1 = {}, Jt = {}, fa = {},
|
|
2909
|
+
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, S1 = {}, Jt = {}, fa = {}, qt = {}, Ua = {};
|
|
2910
2910
|
Object.defineProperty(Ua, "__esModule", { value: !0 });
|
|
2911
2911
|
Ua.lexoHelper = void 0;
|
|
2912
2912
|
Ua.lexoHelper = {
|
|
@@ -2944,8 +2944,8 @@ class r3 {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
}
|
|
2946
2946
|
va.default = r3;
|
|
2947
|
-
Object.defineProperty(
|
|
2948
|
-
|
|
2947
|
+
Object.defineProperty(qt, "__esModule", { value: !0 });
|
|
2948
|
+
qt.LexoInteger = void 0;
|
|
2949
2949
|
const ka = Ua, l3 = va;
|
|
2950
2950
|
class ie {
|
|
2951
2951
|
constructor(e, a, n) {
|
|
@@ -3140,7 +3140,7 @@ class ie {
|
|
|
3140
3140
|
throw new Error("Expected numbers of same numeral sys");
|
|
3141
3141
|
}
|
|
3142
3142
|
}
|
|
3143
|
-
|
|
3143
|
+
qt.LexoInteger = ie;
|
|
3144
3144
|
ie.ZERO_MAG = [0];
|
|
3145
3145
|
ie.ONE_MAG = [1];
|
|
3146
3146
|
ie.NEGATIVE_SIGN = -1;
|
|
@@ -3148,7 +3148,7 @@ ie.ZERO_SIGN = 0;
|
|
|
3148
3148
|
ie.POSITIVE_SIGN = 1;
|
|
3149
3149
|
Object.defineProperty(fa, "__esModule", { value: !0 });
|
|
3150
3150
|
fa.LexoDecimal = void 0;
|
|
3151
|
-
const ea =
|
|
3151
|
+
const ea = qt, u3 = va;
|
|
3152
3152
|
class Oe {
|
|
3153
3153
|
constructor(e, a) {
|
|
3154
3154
|
this.mag = e, this.sig = a;
|
|
@@ -3258,7 +3258,7 @@ function O1() {
|
|
|
3258
3258
|
if (Qn)
|
|
3259
3259
|
return Ma;
|
|
3260
3260
|
Qn = 1, Object.defineProperty(Ma, "__esModule", { value: !0 });
|
|
3261
|
-
const t =
|
|
3261
|
+
const t = qt, e = I1();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
3264
3264
|
this.value = t.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3370,9 +3370,9 @@ class c3 {
|
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
3372
|
Fa.LexoNumeralSystem36 = c3;
|
|
3373
|
-
var
|
|
3374
|
-
Object.defineProperty(
|
|
3375
|
-
|
|
3373
|
+
var Wa = {};
|
|
3374
|
+
Object.defineProperty(Wa, "__esModule", { value: !0 });
|
|
3375
|
+
Wa.LexoNumeralSystem64 = void 0;
|
|
3376
3376
|
class f3 {
|
|
3377
3377
|
constructor() {
|
|
3378
3378
|
this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3406,7 +3406,7 @@ class f3 {
|
|
|
3406
3406
|
return this.DIGITS[e];
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
|
-
|
|
3409
|
+
Wa.LexoNumeralSystem64 = f3;
|
|
3410
3410
|
(function(t) {
|
|
3411
3411
|
var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
3412
3412
|
i === void 0 && (i = o);
|
|
@@ -3420,7 +3420,7 @@ qa.LexoNumeralSystem64 = f3;
|
|
|
3420
3420
|
for (var o in n)
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(E1, t), a(Za, t), a(Fa, t), a(
|
|
3423
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(E1, t), a(Za, t), a(Fa, t), a(Wa, t);
|
|
3424
3424
|
})(bn);
|
|
3425
3425
|
var Jn;
|
|
3426
3426
|
function I1() {
|
|
@@ -3488,20 +3488,20 @@ function I1() {
|
|
|
3488
3488
|
}
|
|
3489
3489
|
let c;
|
|
3490
3490
|
for (let $ = u.getScale(); $ > 0; d = c) {
|
|
3491
|
-
const
|
|
3492
|
-
if (c = d.setScale(
|
|
3493
|
-
return s.checkMid(i, r,
|
|
3494
|
-
if (
|
|
3491
|
+
const w = $ - 1, _ = u.setScale(w, !0);
|
|
3492
|
+
if (c = d.setScale(w, !1), _.compareTo(c) === 0)
|
|
3493
|
+
return s.checkMid(i, r, _);
|
|
3494
|
+
if (_.compareTo(c) > 0)
|
|
3495
3495
|
break;
|
|
3496
|
-
$ =
|
|
3496
|
+
$ = w, u = _;
|
|
3497
3497
|
}
|
|
3498
3498
|
let f = s.middleInternal(i, r, u, d), C;
|
|
3499
3499
|
for (let $ = f.getScale(); $ > 0; $ = C) {
|
|
3500
3500
|
C = $ - 1;
|
|
3501
|
-
const
|
|
3502
|
-
if (i.compareTo(
|
|
3501
|
+
const w = f.setScale(C);
|
|
3502
|
+
if (i.compareTo(w) >= 0 || w.compareTo(r) >= 0)
|
|
3503
3503
|
break;
|
|
3504
|
-
f =
|
|
3504
|
+
f = w;
|
|
3505
3505
|
}
|
|
3506
3506
|
return f;
|
|
3507
3507
|
}
|
|
@@ -3613,7 +3613,7 @@ function I1() {
|
|
|
3613
3613
|
for (var o in n)
|
|
3614
3614
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3615
3615
|
};
|
|
3616
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(I1(), t), a(O1(), t), a(fa, t), a(
|
|
3616
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(I1(), t), a(O1(), t), a(fa, t), a(qt, t);
|
|
3617
3617
|
})(S1);
|
|
3618
3618
|
(function(t) {
|
|
3619
3619
|
var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
@@ -3765,7 +3765,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
|
|
|
3765
3765
|
"is-draggable": !0,
|
|
3766
3766
|
"onUpdate:title": a
|
|
3767
3767
|
}, Na({
|
|
3768
|
-
subtitle:
|
|
3768
|
+
subtitle: W(() => [
|
|
3769
3769
|
p("ul", b3, [
|
|
3770
3770
|
p("li", w3, [
|
|
3771
3771
|
V(fe, {
|
|
@@ -3783,7 +3783,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
|
|
|
3783
3783
|
])
|
|
3784
3784
|
])
|
|
3785
3785
|
]),
|
|
3786
|
-
default:
|
|
3786
|
+
default: W(() => [
|
|
3787
3787
|
p("div", A3, [
|
|
3788
3788
|
p("div", T3, [
|
|
3789
3789
|
p("div", S3, [
|
|
@@ -3808,7 +3808,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
|
|
|
3808
3808
|
}, [
|
|
3809
3809
|
n.updatedBy || n.updatedAt ? {
|
|
3810
3810
|
name: "footer",
|
|
3811
|
-
fn:
|
|
3811
|
+
fn: W(() => [
|
|
3812
3812
|
p("div", I3, [
|
|
3813
3813
|
n.updatedAt ? (v(), g("div", L3, [
|
|
3814
3814
|
p("div", V3, [
|
|
@@ -3836,7 +3836,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
|
|
|
3836
3836
|
const U3 = { class: "ao-page-header" }, Z3 = { class: "ao-page-header-main" }, F3 = {
|
|
3837
3837
|
key: 0,
|
|
3838
3838
|
class: "ao-page-header-secondary"
|
|
3839
|
-
},
|
|
3839
|
+
}, qa = /* @__PURE__ */ J({
|
|
3840
3840
|
__name: "AoPageHeader",
|
|
3841
3841
|
props: {
|
|
3842
3842
|
canGoBack: { type: Boolean }
|
|
@@ -3859,7 +3859,7 @@ const U3 = { class: "ao-page-header" }, Z3 = { class: "ao-page-header-main" }, F
|
|
|
3859
3859
|
]));
|
|
3860
3860
|
}
|
|
3861
3861
|
});
|
|
3862
|
-
const
|
|
3862
|
+
const W3 = ["type"], q3 = {
|
|
3863
3863
|
key: 0,
|
|
3864
3864
|
class: "ao-button-card__label"
|
|
3865
3865
|
}, mt = /* @__PURE__ */ J({
|
|
@@ -3886,7 +3886,7 @@ const q3 = ["type"], W3 = {
|
|
|
3886
3886
|
])
|
|
3887
3887
|
}, [
|
|
3888
3888
|
te(s.$slots, "default", {}, () => [
|
|
3889
|
-
s.label ? (v(), g("span",
|
|
3889
|
+
s.label ? (v(), g("span", q3, K(s.label), 1)) : T("", !0)
|
|
3890
3890
|
]),
|
|
3891
3891
|
n.value ? (v(), R(fe, {
|
|
3892
3892
|
key: 0,
|
|
@@ -3894,7 +3894,7 @@ const q3 = ["type"], W3 = {
|
|
|
3894
3894
|
class: "ao-button-card__icon",
|
|
3895
3895
|
size: a.value
|
|
3896
3896
|
}, null, 8, ["name", "size"])) : T("", !0)
|
|
3897
|
-
], 10,
|
|
3897
|
+
], 10, W3));
|
|
3898
3898
|
}
|
|
3899
3899
|
});
|
|
3900
3900
|
const z3 = { class: "ao-card-template-item__footer" }, x3 = {
|
|
@@ -3921,7 +3921,7 @@ const z3 = { class: "ao-card-template-item__footer" }, x3 = {
|
|
|
3921
3921
|
e("remove");
|
|
3922
3922
|
};
|
|
3923
3923
|
return (i, r) => (v(), R(g1, { "onUpdate:title": a }, {
|
|
3924
|
-
footer:
|
|
3924
|
+
footer: W(() => [
|
|
3925
3925
|
p("ul", z3, [
|
|
3926
3926
|
(v(), g(Ce, null, ye(n, (u) => (v(), g(Ce, { key: u }, [
|
|
3927
3927
|
i.$props[u] ? (v(), g("li", x3, [
|
|
@@ -3934,7 +3934,7 @@ const z3 = { class: "ao-card-template-item__footer" }, x3 = {
|
|
|
3934
3934
|
], 64))), 64))
|
|
3935
3935
|
])
|
|
3936
3936
|
]),
|
|
3937
|
-
secondary:
|
|
3937
|
+
secondary: W(() => [
|
|
3938
3938
|
p("div", G3, [
|
|
3939
3939
|
V(de, {
|
|
3940
3940
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -3967,7 +3967,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
3967
3967
|
activities: n.value,
|
|
3968
3968
|
milestones: a.value
|
|
3969
3969
|
}, s.$attrs), {
|
|
3970
|
-
default:
|
|
3970
|
+
default: W(() => [
|
|
3971
3971
|
te(s.$slots, "default")
|
|
3972
3972
|
]),
|
|
3973
3973
|
_: 3
|
|
@@ -3984,7 +3984,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
3984
3984
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3985
3985
|
});
|
|
3986
3986
|
return (n, s) => (v(), R(kn, { activities: a.value }, {
|
|
3987
|
-
default:
|
|
3987
|
+
default: W(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
3990
3990
|
_: 3
|
|
@@ -4023,14 +4023,14 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4023
4023
|
"item-key": "id",
|
|
4024
4024
|
onChange: i
|
|
4025
4025
|
}, {
|
|
4026
|
-
header:
|
|
4026
|
+
header: W(() => [
|
|
4027
4027
|
V(_e, {
|
|
4028
4028
|
title: "Milestones",
|
|
4029
4029
|
level: 3,
|
|
4030
4030
|
class: "ao-list__title"
|
|
4031
4031
|
})
|
|
4032
4032
|
]),
|
|
4033
|
-
item:
|
|
4033
|
+
item: W(({ element: d }) => [
|
|
4034
4034
|
(v(), R(X3, {
|
|
4035
4035
|
id: d.id,
|
|
4036
4036
|
key: d.id,
|
|
@@ -4047,7 +4047,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4047
4047
|
onRemove: () => s(d.id)
|
|
4048
4048
|
}, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4049
4049
|
]),
|
|
4050
|
-
footer:
|
|
4050
|
+
footer: W(() => [
|
|
4051
4051
|
p("div", Q3, [
|
|
4052
4052
|
V(mt, {
|
|
4053
4053
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -4071,7 +4071,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4071
4071
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4072
4072
|
});
|
|
4073
4073
|
return (n, s) => (v(), R(kn, { tasks: a.value }, {
|
|
4074
|
-
default:
|
|
4074
|
+
default: W(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
4077
4077
|
_: 3
|
|
@@ -4113,14 +4113,14 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4113
4113
|
"item-key": "id",
|
|
4114
4114
|
onChange: i
|
|
4115
4115
|
}, {
|
|
4116
|
-
header:
|
|
4116
|
+
header: W(() => [
|
|
4117
4117
|
V(_e, {
|
|
4118
4118
|
title: "Activities",
|
|
4119
4119
|
level: 3,
|
|
4120
4120
|
class: "ao-list__title"
|
|
4121
4121
|
})
|
|
4122
4122
|
]),
|
|
4123
|
-
item:
|
|
4123
|
+
item: W(({ element: d }) => [
|
|
4124
4124
|
(v(), R(e5, {
|
|
4125
4125
|
id: d.id,
|
|
4126
4126
|
key: d.id,
|
|
@@ -4133,7 +4133,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4133
4133
|
onRemove: () => o(d.id)
|
|
4134
4134
|
}, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4135
4135
|
]),
|
|
4136
|
-
footer:
|
|
4136
|
+
footer: W(() => [
|
|
4137
4137
|
p("div", t5, [
|
|
4138
4138
|
V(mt, {
|
|
4139
4139
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -4345,13 +4345,13 @@ const g5 = async (t, e, a) => {
|
|
|
4345
4345
|
x: l,
|
|
4346
4346
|
y: c
|
|
4347
4347
|
} = e1(d, n, u), f = n, C = {}, $ = 0;
|
|
4348
|
-
for (let
|
|
4348
|
+
for (let w = 0; w < r.length; w++) {
|
|
4349
4349
|
const {
|
|
4350
|
-
name:
|
|
4350
|
+
name: _,
|
|
4351
4351
|
fn: m
|
|
4352
|
-
} = r[
|
|
4352
|
+
} = r[w], {
|
|
4353
4353
|
x: A,
|
|
4354
|
-
y
|
|
4354
|
+
y,
|
|
4355
4355
|
data: S,
|
|
4356
4356
|
reset: D
|
|
4357
4357
|
} = await m({
|
|
@@ -4368,10 +4368,10 @@ const g5 = async (t, e, a) => {
|
|
|
4368
4368
|
floating: e
|
|
4369
4369
|
}
|
|
4370
4370
|
});
|
|
4371
|
-
if (l = A ?? l, c =
|
|
4371
|
+
if (l = A ?? l, c = y ?? c, C = {
|
|
4372
4372
|
...C,
|
|
4373
|
-
[
|
|
4374
|
-
...C[
|
|
4373
|
+
[_]: {
|
|
4374
|
+
...C[_],
|
|
4375
4375
|
...S
|
|
4376
4376
|
}
|
|
4377
4377
|
}, D && $ <= 50) {
|
|
@@ -4382,7 +4382,7 @@ const g5 = async (t, e, a) => {
|
|
|
4382
4382
|
}) : D.rects), {
|
|
4383
4383
|
x: l,
|
|
4384
4384
|
y: c
|
|
4385
|
-
} = e1(d, f, u)),
|
|
4385
|
+
} = e1(d, f, u)), w = -1;
|
|
4386
4386
|
continue;
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
@@ -4410,8 +4410,8 @@ async function H1(t, e) {
|
|
|
4410
4410
|
elementContext: c = "floating",
|
|
4411
4411
|
altBoundary: f = !1,
|
|
4412
4412
|
padding: C = 0
|
|
4413
|
-
} = An(e, t), $ = C5(C),
|
|
4414
|
-
element: (a = await (o.isElement == null ? void 0 : o.isElement(
|
|
4413
|
+
} = An(e, t), $ = C5(C), _ = r[f ? c === "floating" ? "reference" : "floating" : c], m = Pa(await o.getClippingRect({
|
|
4414
|
+
element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: d,
|
|
4416
4416
|
rootBoundary: l,
|
|
4417
4417
|
strategy: u
|
|
@@ -4419,7 +4419,7 @@ async function H1(t, e) {
|
|
|
4419
4419
|
...i.floating,
|
|
4420
4420
|
x: n,
|
|
4421
4421
|
y: s
|
|
4422
|
-
} : i.reference,
|
|
4422
|
+
} : i.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(r.floating)), S = await (o.isElement == null ? void 0 : o.isElement(y)) ? await (o.getScale == null ? void 0 : o.getScale(y)) || {
|
|
4423
4423
|
x: 1,
|
|
4424
4424
|
y: 1
|
|
4425
4425
|
} : {
|
|
@@ -4427,7 +4427,7 @@ async function H1(t, e) {
|
|
|
4427
4427
|
y: 1
|
|
4428
4428
|
}, D = Pa(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4429
4429
|
rect: A,
|
|
4430
|
-
offsetParent:
|
|
4430
|
+
offsetParent: y,
|
|
4431
4431
|
strategy: u
|
|
4432
4432
|
}) : A);
|
|
4433
4433
|
return {
|
|
@@ -4456,25 +4456,25 @@ const _5 = function(t) {
|
|
|
4456
4456
|
fallbackPlacements: f,
|
|
4457
4457
|
fallbackStrategy: C = "bestFit",
|
|
4458
4458
|
fallbackAxisSideDirection: $ = "none",
|
|
4459
|
-
flipAlignment:
|
|
4460
|
-
...
|
|
4459
|
+
flipAlignment: w = !0,
|
|
4460
|
+
..._
|
|
4461
4461
|
} = An(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
|
-
const m = Rt(s), A = Rt(r) === r,
|
|
4465
|
-
!f && $ !== "none" && S.push(...m5(r,
|
|
4466
|
-
const D = [r, ...S], L = await H1(e,
|
|
4464
|
+
const m = Rt(s), A = Rt(r) === r, y = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), S = f || (A || !w ? [Da(r)] : v5(r));
|
|
4465
|
+
!f && $ !== "none" && S.push(...m5(r, w, $, y));
|
|
4466
|
+
const D = [r, ...S], L = await H1(e, _), Z = [];
|
|
4467
4467
|
let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4468
4468
|
if (l && Z.push(L[m]), c) {
|
|
4469
|
-
const B = f5(s, i,
|
|
4469
|
+
const B = f5(s, i, y);
|
|
4470
4470
|
Z.push(L[B[0]], L[B[1]]);
|
|
4471
4471
|
}
|
|
4472
4472
|
if (U = [...U, {
|
|
4473
4473
|
placement: s,
|
|
4474
4474
|
overflows: Z
|
|
4475
4475
|
}], !Z.every((B) => B <= 0)) {
|
|
4476
|
-
var
|
|
4477
|
-
const B = (((
|
|
4476
|
+
var q, O;
|
|
4477
|
+
const B = (((q = o.flip) == null ? void 0 : q.index) || 0) + 1, F = D[B];
|
|
4478
4478
|
if (F)
|
|
4479
4479
|
return {
|
|
4480
4480
|
data: {
|
|
@@ -4526,25 +4526,25 @@ const _5 = function(t) {
|
|
|
4526
4526
|
width: f,
|
|
4527
4527
|
height: C
|
|
4528
4528
|
} = n.floating;
|
|
4529
|
-
let $,
|
|
4530
|
-
d === "top" || d === "bottom" ? ($ = d,
|
|
4531
|
-
const
|
|
4532
|
-
let
|
|
4529
|
+
let $, w;
|
|
4530
|
+
d === "top" || d === "bottom" ? ($ = d, w = l === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (w = d, $ = l === "end" ? "top" : "bottom");
|
|
4531
|
+
const _ = C - u[$], m = f - u[w], A = !e.middlewareData.shift;
|
|
4532
|
+
let y = _, S = m;
|
|
4533
4533
|
if (c) {
|
|
4534
4534
|
const L = f - u.left - u.right;
|
|
4535
4535
|
S = l || A ? oa(m, L) : L;
|
|
4536
4536
|
} else {
|
|
4537
4537
|
const L = C - u.top - u.bottom;
|
|
4538
|
-
|
|
4538
|
+
y = l || A ? oa(_, L) : L;
|
|
4539
4539
|
}
|
|
4540
4540
|
if (A && !l) {
|
|
4541
|
-
const L = Ee(u.left, 0), Z = Ee(u.right, 0), U = Ee(u.top, 0),
|
|
4542
|
-
c ? S = f - 2 * (L !== 0 || Z !== 0 ? L + Z : Ee(u.left, u.right)) :
|
|
4541
|
+
const L = Ee(u.left, 0), Z = Ee(u.right, 0), U = Ee(u.top, 0), q = Ee(u.bottom, 0);
|
|
4542
|
+
c ? S = f - 2 * (L !== 0 || Z !== 0 ? L + Z : Ee(u.left, u.right)) : y = C - 2 * (U !== 0 || q !== 0 ? U + q : Ee(u.top, u.bottom));
|
|
4543
4543
|
}
|
|
4544
4544
|
await i({
|
|
4545
4545
|
...e,
|
|
4546
4546
|
availableWidth: S,
|
|
4547
|
-
availableHeight:
|
|
4547
|
+
availableHeight: y
|
|
4548
4548
|
});
|
|
4549
4549
|
const D = await s.getDimensions(o.floating);
|
|
4550
4550
|
return f !== D.width || C !== D.height ? {
|
|
@@ -4693,8 +4693,8 @@ function $t(t, e, a, n) {
|
|
|
4693
4693
|
const f = ke(o), C = n && Qe(n) ? ke(n) : n;
|
|
4694
4694
|
let $ = f.frameElement;
|
|
4695
4695
|
for (; $ && n && C !== f; ) {
|
|
4696
|
-
const
|
|
4697
|
-
u *=
|
|
4696
|
+
const w = Dt($), _ = $.getBoundingClientRect(), m = He($), A = _.left + ($.clientLeft + parseFloat(m.paddingLeft)) * w.x, y = _.top + ($.clientTop + parseFloat(m.paddingTop)) * w.y;
|
|
4697
|
+
u *= w.x, d *= w.y, l *= w.x, c *= w.y, u += A, d += y, $ = ke($).frameElement;
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
4700
4700
|
return Pa({
|
|
@@ -4905,21 +4905,21 @@ function B5(t, e) {
|
|
|
4905
4905
|
} = t.getBoundingClientRect();
|
|
4906
4906
|
if (r || e(), !c || !f)
|
|
4907
4907
|
return;
|
|
4908
|
-
const C = Aa(l), $ = Aa(s.clientWidth - (d + c)),
|
|
4909
|
-
rootMargin: -C + "px " + -$ + "px " + -
|
|
4908
|
+
const C = Aa(l), $ = Aa(s.clientWidth - (d + c)), w = Aa(s.clientHeight - (l + f)), _ = Aa(d), A = {
|
|
4909
|
+
rootMargin: -C + "px " + -$ + "px " + -w + "px " + -_ + "px",
|
|
4910
4910
|
threshold: Ee(0, oa(1, u)) || 1
|
|
4911
4911
|
};
|
|
4912
|
-
let
|
|
4912
|
+
let y = !0;
|
|
4913
4913
|
function S(D) {
|
|
4914
4914
|
const L = D[0].intersectionRatio;
|
|
4915
4915
|
if (L !== u) {
|
|
4916
|
-
if (!
|
|
4916
|
+
if (!y)
|
|
4917
4917
|
return i();
|
|
4918
4918
|
L ? i(!1, L) : n = setTimeout(() => {
|
|
4919
4919
|
i(!1, 1e-7);
|
|
4920
4920
|
}, 100);
|
|
4921
4921
|
}
|
|
4922
|
-
|
|
4922
|
+
y = !1;
|
|
4923
4923
|
}
|
|
4924
4924
|
try {
|
|
4925
4925
|
a = new IntersectionObserver(S, {
|
|
@@ -4956,11 +4956,11 @@ function R5(t, e, a, n) {
|
|
|
4956
4956
|
C && C.observe(e);
|
|
4957
4957
|
})), a();
|
|
4958
4958
|
}), d && !u && C.observe(d), C.observe(e));
|
|
4959
|
-
let $,
|
|
4960
|
-
u &&
|
|
4961
|
-
function
|
|
4959
|
+
let $, w = u ? $t(t) : null;
|
|
4960
|
+
u && _();
|
|
4961
|
+
function _() {
|
|
4962
4962
|
const m = $t(t);
|
|
4963
|
-
|
|
4963
|
+
w && (m.x !== w.x || m.y !== w.y || m.width !== w.width || m.height !== w.height) && a(), w = m, $ = requestAnimationFrame(_);
|
|
4964
4964
|
}
|
|
4965
4965
|
return a(), () => {
|
|
4966
4966
|
l.forEach((m) => {
|
|
@@ -5038,7 +5038,7 @@ const N5 = (t, e, a) => {
|
|
|
5038
5038
|
});
|
|
5039
5039
|
});
|
|
5040
5040
|
}
|
|
5041
|
-
|
|
5041
|
+
Wt(() => {
|
|
5042
5042
|
d();
|
|
5043
5043
|
}), p1(() => {
|
|
5044
5044
|
r.value();
|
|
@@ -5083,8 +5083,8 @@ function F5(t, e, a) {
|
|
|
5083
5083
|
}, c = (f) => {
|
|
5084
5084
|
if (n && n.value) {
|
|
5085
5085
|
let $ = (f.clipboardData || /* istanbul ignore next */
|
|
5086
|
-
window.clipboardData).getData("Text"),
|
|
5087
|
-
typeof
|
|
5086
|
+
window.clipboardData).getData("Text"), w = n.value;
|
|
5087
|
+
typeof w == "string" && (w = new RegExp(w)), $.split("").every((_) => !!_.match(w)) || f.preventDefault();
|
|
5088
5088
|
}
|
|
5089
5089
|
e.emit("paste", f, s);
|
|
5090
5090
|
};
|
|
@@ -5098,7 +5098,7 @@ function F5(t, e, a) {
|
|
|
5098
5098
|
handlePaste: c
|
|
5099
5099
|
};
|
|
5100
5100
|
}
|
|
5101
|
-
function
|
|
5101
|
+
function W5(t, e, a) {
|
|
5102
5102
|
const { groupSelect: n, mode: s, groups: o, disabledProp: i } = Ae(t), r = ae(null), u = (l) => {
|
|
5103
5103
|
l === void 0 || l !== null && l[i.value] || o.value && l && l.group && (s.value === "single" || !n.value) || (r.value = l);
|
|
5104
5104
|
};
|
|
@@ -5113,7 +5113,7 @@ function q5(t, e, a) {
|
|
|
5113
5113
|
function dn(t, e = !0) {
|
|
5114
5114
|
return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5115
5115
|
}
|
|
5116
|
-
function
|
|
5116
|
+
function q5(t) {
|
|
5117
5117
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
5118
5118
|
}
|
|
5119
5119
|
function z5(t, e) {
|
|
@@ -5136,17 +5136,17 @@ function x5(t, e, a) {
|
|
|
5136
5136
|
appendNewOption: f,
|
|
5137
5137
|
multipleLabel: C,
|
|
5138
5138
|
object: $,
|
|
5139
|
-
loading:
|
|
5140
|
-
delay:
|
|
5139
|
+
loading: w,
|
|
5140
|
+
delay: _,
|
|
5141
5141
|
resolveOnLoad: m,
|
|
5142
5142
|
minChars: A,
|
|
5143
|
-
filterResults:
|
|
5143
|
+
filterResults: y,
|
|
5144
5144
|
clearOnSearch: S,
|
|
5145
5145
|
clearOnSelect: D,
|
|
5146
5146
|
valueProp: L,
|
|
5147
5147
|
allowAbsent: Z,
|
|
5148
5148
|
groupLabel: U,
|
|
5149
|
-
canDeselect:
|
|
5149
|
+
canDeselect: q,
|
|
5150
5150
|
max: O,
|
|
5151
5151
|
strict: Y,
|
|
5152
5152
|
closeOnSelect: B,
|
|
@@ -5161,7 +5161,7 @@ function x5(t, e, a) {
|
|
|
5161
5161
|
disabledProp: ne,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: se
|
|
5164
|
-
} = Ae(t), re = Mt().proxy, z = a.iv, P = a.ev, G = a.search, ve = a.clearSearch, we = a.update, zt = a.pointer, xt = a.setPointer, tt = a.clearPointer, ha = a.focus, Qa = a.deactivate, at = a.close, Ca = a.localize, nt = ae([]), Ne = ae([]), Te = ae(!1), Be = ae(null),
|
|
5164
|
+
} = Ae(t), re = Mt().proxy, z = a.iv, P = a.ev, G = a.search, ve = a.clearSearch, we = a.update, zt = a.pointer, xt = a.setPointer, tt = a.clearPointer, ha = a.focus, Qa = a.deactivate, at = a.close, Ca = a.localize, nt = ae([]), Ne = ae([]), Te = ae(!1), Be = ae(null), qe = ae(Q.value && i.value === -1 ? 10 : i.value), Yt = M(() => u.value || d.value || !1), ga = M(() => c.value !== void 0 ? c.value : f.value !== void 0 ? f.value : !0), Se = M(() => {
|
|
5165
5165
|
if (E.value) {
|
|
5166
5166
|
let b = Ct.value || /* istanbul ignore next */
|
|
5167
5167
|
[], H = [];
|
|
@@ -5180,7 +5180,7 @@ function x5(t, e, a) {
|
|
|
5180
5180
|
return N.value && (b = b.reverse()), Tt.value.length && (b = Tt.value.concat(b)), sn(b);
|
|
5181
5181
|
}), st = M(() => {
|
|
5182
5182
|
let b = Gt.value;
|
|
5183
|
-
return
|
|
5183
|
+
return qe.value > 0 && (b = b.slice(0, qe.value)), b;
|
|
5184
5184
|
}), Ct = M(() => {
|
|
5185
5185
|
if (!E.value)
|
|
5186
5186
|
return [];
|
|
@@ -5234,7 +5234,7 @@ function x5(t, e, a) {
|
|
|
5234
5234
|
case "tags":
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
|
-
}), ns = M(() =>
|
|
5237
|
+
}), ns = M(() => w.value || Te.value), St = (b) => {
|
|
5238
5238
|
switch (typeof b != "object" && (b = xe(b)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
we(b);
|
|
@@ -5290,7 +5290,7 @@ function x5(t, e, a) {
|
|
|
5290
5290
|
switch (b.__CREATE__ && (b = { ...b }, delete b.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
5292
|
if (b && ze(b)) {
|
|
5293
|
-
|
|
5293
|
+
q.value && Ot(b), F.value && (tt(), at());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
5296
|
b && nn(b), D.value && ve(), B.value && (tt(), at()), b && St(b);
|
|
@@ -5341,17 +5341,17 @@ function x5(t, e, a) {
|
|
|
5341
5341
|
(H) => G.value ? H.__VISIBLE__.length : H[k.value].length
|
|
5342
5342
|
) : b.filter((H) => G.value ? H.__VISIBLE__.length : !0), sn = (b, H = !0) => {
|
|
5343
5343
|
let oe = b;
|
|
5344
|
-
if (G.value &&
|
|
5344
|
+
if (G.value && y.value) {
|
|
5345
5345
|
let pe = se.value;
|
|
5346
|
-
pe || (pe = (_t,
|
|
5346
|
+
pe || (pe = (_t, qn, bv) => gt.value.some((ms) => {
|
|
5347
5347
|
let zn = dn(Ca(_t[ms]), Y.value);
|
|
5348
|
-
return le.value ? zn.startsWith(dn(
|
|
5348
|
+
return le.value ? zn.startsWith(dn(qn, Y.value)) : zn.indexOf(dn(qn, Y.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((_t) => pe(_t, G.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && H && (oe = oe.filter((pe) => !cs(pe))), oe;
|
|
5352
5352
|
}, on = (b) => {
|
|
5353
5353
|
let H = b;
|
|
5354
|
-
return
|
|
5354
|
+
return q5(H) && (H = Object.keys(H).map((oe) => {
|
|
5355
5355
|
let pe = H[oe];
|
|
5356
5356
|
return { [L.value]: oe, [gt.value[0]]: pe, [l.value]: pe };
|
|
5357
5357
|
})), H = H.map((oe) => typeof oe == "object" ? oe : { [L.value]: oe, [gt.value[0]]: oe, [l.value]: oe }), H;
|
|
@@ -5391,7 +5391,7 @@ function x5(t, e, a) {
|
|
|
5391
5391
|
[l.value]: H,
|
|
5392
5392
|
[L.value]: H,
|
|
5393
5393
|
[gt.value[0]]: H
|
|
5394
|
-
}),
|
|
5394
|
+
}), Wn = () => {
|
|
5395
5395
|
Be.value = ce(G, (b) => {
|
|
5396
5396
|
b.length < A.value || !b && A.value !== 0 || (Te.value = !0, S.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
b == G.value && n.value(G.value, re).then((H) => {
|
|
@@ -5402,13 +5402,13 @@ function x5(t, e, a) {
|
|
|
5402
5402
|
console.error(H);
|
|
5403
5403
|
}
|
|
5404
5404
|
);
|
|
5405
|
-
},
|
|
5405
|
+
}, _.value));
|
|
5406
5406
|
}, { flush: "sync" });
|
|
5407
5407
|
};
|
|
5408
5408
|
if (s.value !== "single" && !je(P.value) && !Array.isArray(P.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ? m.value ? ba(ya) : $.value == !0 && ya() : (Ne.value = n.value, ya()),
|
|
5411
|
-
Be.value && Be.value(), b >= 0 &&
|
|
5410
|
+
return n && typeof n.value == "function" ? m.value ? ba(ya) : $.value == !0 && ya() : (Ne.value = n.value, ya()), _.value > -1 && Wn(), ce(_, (b, H) => {
|
|
5411
|
+
Be.value && Be.value(), b >= 0 && Wn();
|
|
5412
5412
|
}), ce(P, (b) => {
|
|
5413
5413
|
if (je(b)) {
|
|
5414
5414
|
we(wa(b), !1);
|
|
@@ -5426,7 +5426,7 @@ function x5(t, e, a) {
|
|
|
5426
5426
|
}, { deep: !0 }), ce(n, (b, H) => {
|
|
5427
5427
|
typeof t.options == "function" ? m.value && (!H || b && b.toString() !== H.toString()) && ba() : (Ne.value = t.options, Object.keys(z.value).length || ya(), rn());
|
|
5428
5428
|
}), ce(l, rn), ce(i, (b, H) => {
|
|
5429
|
-
|
|
5429
|
+
qe.value = Q.value && b === -1 ? 10 : b;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Gt,
|
|
5432
5432
|
fo: st,
|
|
@@ -5443,7 +5443,7 @@ function x5(t, e, a) {
|
|
|
5443
5443
|
noResults: ts,
|
|
5444
5444
|
resolving: Te,
|
|
5445
5445
|
busy: ns,
|
|
5446
|
-
offset:
|
|
5446
|
+
offset: qe,
|
|
5447
5447
|
select: St,
|
|
5448
5448
|
deselect: Ot,
|
|
5449
5449
|
remove: Un,
|
|
@@ -5472,15 +5472,15 @@ function Y5(t, e, a) {
|
|
|
5472
5472
|
groupSelect: d,
|
|
5473
5473
|
disabledProp: l,
|
|
5474
5474
|
groupOptions: c
|
|
5475
|
-
} = Ae(t), f = a.fo, C = a.fg, $ = a.handleOptionClick,
|
|
5476
|
-
const P =
|
|
5475
|
+
} = Ae(t), f = a.fo, C = a.fg, $ = a.handleOptionClick, w = a.handleGroupClick, _ = a.search, m = a.pointer, A = a.setPointer, y = a.clearPointer, S = a.multiselect, D = a.isOpen, L = M(() => f.value.filter((P) => !P[l.value])), Z = M(() => C.value.filter((P) => !P[l.value])), U = M(() => u.value !== "single" && d.value), q = M(() => m.value && m.value.group), O = M(() => re(m.value)), Y = M(() => {
|
|
5476
|
+
const P = q.value ? m.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
5478
|
re(m.value)
|
|
5479
5479
|
), G = Z.value.map((we) => we[i.value]).indexOf(P[i.value]);
|
|
5480
5480
|
let ve = Z.value[G - 1];
|
|
5481
5481
|
return ve === void 0 && (ve = F.value), ve;
|
|
5482
5482
|
}), B = M(() => {
|
|
5483
|
-
let P = Z.value.map((G) => G.label).indexOf(
|
|
5483
|
+
let P = Z.value.map((G) => G.label).indexOf(q.value ? m.value[i.value] : re(m.value)[i.value]) + 1;
|
|
5484
5484
|
return Z.value.length <= P && (P = 0), Z.value[P];
|
|
5485
5485
|
}), F = M(() => [...Z.value].slice(-1)[0]), E = M(() => m.value.__VISIBLE__.filter((P) => !P[l.value])[0]), N = M(() => {
|
|
5486
5486
|
const P = O.value.__VISIBLE__.filter((G) => !G[l.value]);
|
|
@@ -5491,12 +5491,12 @@ function Y5(t, e, a) {
|
|
|
5491
5491
|
}), k = M(() => [...Y.value.__VISIBLE__.filter((P) => !P[l.value])].slice(-1)[0]), h = M(() => [...F.value.__VISIBLE__.filter((P) => !P[l.value])].slice(-1)[0]), I = (P) => m.value && (!P.group && m.value[n.value] === P[n.value] || P.group !== void 0 && m.value[i.value] === P[i.value]) ? !0 : void 0, ee = () => {
|
|
5492
5492
|
A(L.value[0] || null);
|
|
5493
5493
|
}, ne = () => {
|
|
5494
|
-
!m.value || m.value[l.value] === !0 || (
|
|
5494
|
+
!m.value || m.value[l.value] === !0 || (q.value ? w(m.value) : $(m.value));
|
|
5495
5495
|
}, le = () => {
|
|
5496
5496
|
if (m.value === null)
|
|
5497
5497
|
A((r.value && U.value ? Z.value[0].__CREATE__ ? L.value[0] : Z.value[0] : L.value[0]) || null);
|
|
5498
5498
|
else if (r.value && U.value) {
|
|
5499
|
-
let P =
|
|
5499
|
+
let P = q.value ? E.value : Q.value;
|
|
5500
5500
|
P === void 0 && (P = B.value, P.__CREATE__ && (P = P[c.value][0])), A(P || /* istanbul ignore next */
|
|
5501
5501
|
null);
|
|
5502
5502
|
} else {
|
|
@@ -5511,8 +5511,8 @@ function Y5(t, e, a) {
|
|
|
5511
5511
|
let P = L.value[L.value.length - 1];
|
|
5512
5512
|
r.value && U.value && (P = h.value, P === void 0 && (P = F.value)), A(P || null);
|
|
5513
5513
|
} else if (r.value && U.value) {
|
|
5514
|
-
let P =
|
|
5515
|
-
P === void 0 && (P =
|
|
5514
|
+
let P = q.value ? k.value : N.value;
|
|
5515
|
+
P === void 0 && (P = q.value ? Y.value : O.value, P.__CREATE__ && (P = k.value, P === void 0 && (P = Y.value))), A(P || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
5518
|
let P = L.value.map((G) => G[n.value]).indexOf(m.value[n.value]) - 1;
|
|
@@ -5526,10 +5526,10 @@ function Y5(t, e, a) {
|
|
|
5526
5526
|
if (!P)
|
|
5527
5527
|
return;
|
|
5528
5528
|
let G = P.parentElement.parentElement;
|
|
5529
|
-
r.value && (G =
|
|
5529
|
+
r.value && (G = q.value ? P.parentElement.parentElement.parentElement : P.parentElement.parentElement.parentElement.parentElement), P.offsetTop + P.offsetHeight > G.clientHeight + G.scrollTop && (G.scrollTop = P.offsetTop + P.offsetHeight - G.clientHeight), P.offsetTop < G.scrollTop && (G.scrollTop = P.offsetTop);
|
|
5530
5530
|
};
|
|
5531
|
-
return ce(
|
|
5532
|
-
o.value && (P.length && s.value ? ee() :
|
|
5531
|
+
return ce(_, (P) => {
|
|
5532
|
+
o.value && (P.length && s.value ? ee() : y());
|
|
5533
5533
|
}), ce(D, (P) => {
|
|
5534
5534
|
if (P) {
|
|
5535
5535
|
let G = S.value.querySelectorAll("[data-selected]")[0];
|
|
@@ -5580,14 +5580,14 @@ function mn() {
|
|
|
5580
5580
|
return e.brand + "/" + e.version;
|
|
5581
5581
|
}).join(" ") : navigator.userAgent;
|
|
5582
5582
|
}
|
|
5583
|
-
function
|
|
5583
|
+
function W1() {
|
|
5584
5584
|
return !/^((?!chrome|android).)*safari/i.test(mn());
|
|
5585
5585
|
}
|
|
5586
5586
|
function Ut(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
5589
|
e && Pe(t) && (s = t.offsetWidth > 0 && jt(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && jt(n.height) / t.offsetHeight || 1);
|
|
5590
|
-
var i = kt(t) ? Me(t) : window, r = i.visualViewport, u = !
|
|
5590
|
+
var i = kt(t) ? Me(t) : window, r = i.visualViewport, u = !W1() && a, d = (n.left + (u && r ? r.offsetLeft : 0)) / s, l = (n.top + (u && r ? r.offsetTop : 0)) / o, c = n.width / s, f = n.height / o;
|
|
5591
5591
|
return {
|
|
5592
5592
|
width: c,
|
|
5593
5593
|
height: f,
|
|
@@ -5655,7 +5655,7 @@ function Q5(t, e, a) {
|
|
|
5655
5655
|
height: i.height
|
|
5656
5656
|
};
|
|
5657
5657
|
}
|
|
5658
|
-
function
|
|
5658
|
+
function q1(t) {
|
|
5659
5659
|
var e = Ut(t), a = t.offsetWidth, n = t.offsetHeight;
|
|
5660
5660
|
return Math.abs(e.width - a) <= 1 && (a = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
|
|
5661
5661
|
x: t.offsetLeft,
|
|
@@ -5716,7 +5716,7 @@ function Ka(t) {
|
|
|
5716
5716
|
a = s1(a);
|
|
5717
5717
|
return a && (Fe(a) === "html" || Fe(a) === "body" && Je(a).position === "static") ? e : a || e7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top",
|
|
5719
|
+
var Re = "top", We = "bottom", ft = "right", Ye = "left", Pn = "auto", Xa = [Re, We, ft, Ye], Zt = "start", la = "end", t7 = "clippingParents", x1 = "viewport", ta = "popper", a7 = "reference", i1 = /* @__PURE__ */ Xa.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + Zt, e + "-" + la]);
|
|
5721
5721
|
}, []), n7 = /* @__PURE__ */ [].concat(Xa, [Pn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + Zt, e + "-" + la]);
|
|
@@ -5774,7 +5774,7 @@ function g7(t, e) {
|
|
|
5774
5774
|
var a = Me(t), n = ht(t), s = a.visualViewport, o = n.clientWidth, i = n.clientHeight, r = 0, u = 0;
|
|
5775
5775
|
if (s) {
|
|
5776
5776
|
o = s.width, i = s.height;
|
|
5777
|
-
var d =
|
|
5777
|
+
var d = W1();
|
|
5778
5778
|
(d || !d && e === "fixed") && (r = s.offsetLeft, u = s.offsetTop);
|
|
5779
5779
|
}
|
|
5780
5780
|
return {
|
|
@@ -5853,7 +5853,7 @@ function G1(t) {
|
|
|
5853
5853
|
y: e.y - a.height
|
|
5854
5854
|
};
|
|
5855
5855
|
break;
|
|
5856
|
-
case
|
|
5856
|
+
case We:
|
|
5857
5857
|
u = {
|
|
5858
5858
|
x: i,
|
|
5859
5859
|
y: e.y + e.height
|
|
@@ -5909,21 +5909,21 @@ function M7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Hn(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, u = r === void 0 ? t7 : r, d = a.rootBoundary, l = d === void 0 ? x1 : d, c = a.elementContext, f = c === void 0 ? ta : c, C = a.altBoundary, $ = C === void 0 ? !1 : C,
|
|
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, u = r === void 0 ? t7 : r, d = a.rootBoundary, l = d === void 0 ? x1 : d, c = a.elementContext, f = c === void 0 ? ta : c, C = a.altBoundary, $ = C === void 0 ? !1 : C, w = a.padding, _ = w === void 0 ? 0 : w, m = k7(typeof _ != "number" ? _ : M7(_, Xa)), A = f === ta ? a7 : ta, y = t.rects.popper, S = t.elements[$ ? A : f], D = $7(kt(S) ? S : S.contextElement || ht(t.elements.popper), u, l, i), L = Ut(t.elements.reference), Z = G1({
|
|
5913
5913
|
reference: L,
|
|
5914
|
-
element:
|
|
5914
|
+
element: y,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), U = hn(Object.assign({},
|
|
5918
|
-
top: D.top -
|
|
5919
|
-
bottom:
|
|
5920
|
-
left: D.left -
|
|
5921
|
-
right:
|
|
5917
|
+
}), U = hn(Object.assign({}, y, Z)), q = f === ta ? U : L, O = {
|
|
5918
|
+
top: D.top - q.top + m.top,
|
|
5919
|
+
bottom: q.bottom - D.bottom + m.bottom,
|
|
5920
|
+
left: D.left - q.left + m.left,
|
|
5921
|
+
right: q.right - D.right + m.right
|
|
5922
5922
|
}, Y = t.modifiersData.offset;
|
|
5923
5923
|
if (f === ta && Y) {
|
|
5924
5924
|
var B = Y[s];
|
|
5925
5925
|
Object.keys(O).forEach(function(F) {
|
|
5926
|
-
var E = [ft,
|
|
5926
|
+
var E = [ft, We].indexOf(F) >= 0 ? 1 : -1, N = [Re, We].indexOf(F) >= 0 ? "y" : "x";
|
|
5927
5927
|
O[F] += B[N] * E;
|
|
5928
5928
|
});
|
|
5929
5929
|
}
|
|
@@ -5961,12 +5961,12 @@ function A7(t) {
|
|
|
5961
5961
|
state: l,
|
|
5962
5962
|
setOptions: function(m) {
|
|
5963
5963
|
var A = typeof m == "function" ? m(l.options) : m;
|
|
5964
|
-
|
|
5964
|
+
w(), l.options = Object.assign({}, o, l.options, A), l.scrollParents = {
|
|
5965
5965
|
reference: kt(r) ? aa(r) : r.contextElement ? aa(r.contextElement) : [],
|
|
5966
5966
|
popper: aa(u)
|
|
5967
5967
|
};
|
|
5968
|
-
var
|
|
5969
|
-
return l.orderedModifiers =
|
|
5968
|
+
var y = m7(C7([].concat(n, l.options.modifiers)));
|
|
5969
|
+
return l.orderedModifiers = y.filter(function(S) {
|
|
5970
5970
|
return S.enabled;
|
|
5971
5971
|
}), $(), C.update();
|
|
5972
5972
|
},
|
|
@@ -5977,11 +5977,11 @@ function A7(t) {
|
|
|
5977
5977
|
// prefer the async Popper#update method
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!f) {
|
|
5980
|
-
var m = l.elements, A = m.reference,
|
|
5981
|
-
if (l1(A,
|
|
5980
|
+
var m = l.elements, A = m.reference, y = m.popper;
|
|
5981
|
+
if (l1(A, y)) {
|
|
5982
5982
|
l.rects = {
|
|
5983
|
-
reference: Q5(A, Ka(
|
|
5984
|
-
popper:
|
|
5983
|
+
reference: Q5(A, Ka(y), l.options.strategy === "fixed"),
|
|
5984
|
+
popper: q1(y)
|
|
5985
5985
|
}, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(O) {
|
|
5986
5986
|
return l.modifiersData[O.name] = Object.assign({}, O.data);
|
|
5987
5987
|
});
|
|
@@ -5990,11 +5990,11 @@ function A7(t) {
|
|
|
5990
5990
|
l.reset = !1, S = -1;
|
|
5991
5991
|
continue;
|
|
5992
5992
|
}
|
|
5993
|
-
var D = l.orderedModifiers[S], L = D.fn, Z = D.options, U = Z === void 0 ? {} : Z,
|
|
5993
|
+
var D = l.orderedModifiers[S], L = D.fn, Z = D.options, U = Z === void 0 ? {} : Z, q = D.name;
|
|
5994
5994
|
typeof L == "function" && (l = L({
|
|
5995
5995
|
state: l,
|
|
5996
5996
|
options: U,
|
|
5997
|
-
name:
|
|
5997
|
+
name: q,
|
|
5998
5998
|
instance: C
|
|
5999
5999
|
}) || l);
|
|
6000
6000
|
}
|
|
@@ -6004,37 +6004,37 @@ function A7(t) {
|
|
|
6004
6004
|
// Async and optimistically optimized update – it will not be executed if
|
|
6005
6005
|
// not necessary (debounced to run at most once-per-tick)
|
|
6006
6006
|
update: h7(function() {
|
|
6007
|
-
return new Promise(function(
|
|
6008
|
-
C.forceUpdate(),
|
|
6007
|
+
return new Promise(function(_) {
|
|
6008
|
+
C.forceUpdate(), _(l);
|
|
6009
6009
|
});
|
|
6010
6010
|
}),
|
|
6011
6011
|
destroy: function() {
|
|
6012
|
-
|
|
6012
|
+
w(), f = !0;
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
6015
|
if (!l1(r, u))
|
|
6016
6016
|
return C;
|
|
6017
|
-
C.setOptions(d).then(function(
|
|
6018
|
-
!f && d.onFirstUpdate && d.onFirstUpdate(
|
|
6017
|
+
C.setOptions(d).then(function(_) {
|
|
6018
|
+
!f && d.onFirstUpdate && d.onFirstUpdate(_);
|
|
6019
6019
|
});
|
|
6020
6020
|
function $() {
|
|
6021
|
-
l.orderedModifiers.forEach(function(
|
|
6022
|
-
var m =
|
|
6021
|
+
l.orderedModifiers.forEach(function(_) {
|
|
6022
|
+
var m = _.name, A = _.options, y = A === void 0 ? {} : A, S = _.effect;
|
|
6023
6023
|
if (typeof S == "function") {
|
|
6024
6024
|
var D = S({
|
|
6025
6025
|
state: l,
|
|
6026
6026
|
name: m,
|
|
6027
6027
|
instance: C,
|
|
6028
|
-
options:
|
|
6028
|
+
options: y
|
|
6029
6029
|
}), L = function() {
|
|
6030
6030
|
};
|
|
6031
6031
|
c.push(D || L);
|
|
6032
6032
|
}
|
|
6033
6033
|
});
|
|
6034
6034
|
}
|
|
6035
|
-
function
|
|
6036
|
-
c.forEach(function(
|
|
6037
|
-
return
|
|
6035
|
+
function w() {
|
|
6036
|
+
c.forEach(function(_) {
|
|
6037
|
+
return _();
|
|
6038
6038
|
}), c = [];
|
|
6039
6039
|
}
|
|
6040
6040
|
return C;
|
|
@@ -6091,27 +6091,27 @@ function L7(t, e) {
|
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
6093
6093
|
function u1(t) {
|
|
6094
|
-
var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, u = t.gpuAcceleration, d = t.adaptive, l = t.roundOffsets, c = t.isFixed, f = i.x, C = f === void 0 ? 0 : f, $ = i.y,
|
|
6094
|
+
var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, u = t.gpuAcceleration, d = t.adaptive, l = t.roundOffsets, c = t.isFixed, f = i.x, C = f === void 0 ? 0 : f, $ = i.y, w = $ === void 0 ? 0 : $, _ = typeof l == "function" ? l({
|
|
6095
6095
|
x: C,
|
|
6096
|
-
y:
|
|
6096
|
+
y: w
|
|
6097
6097
|
}) : {
|
|
6098
6098
|
x: C,
|
|
6099
|
-
y:
|
|
6099
|
+
y: w
|
|
6100
6100
|
};
|
|
6101
|
-
C =
|
|
6102
|
-
var m = i.hasOwnProperty("x"), A = i.hasOwnProperty("y"),
|
|
6101
|
+
C = _.x, w = _.y;
|
|
6102
|
+
var m = i.hasOwnProperty("x"), A = i.hasOwnProperty("y"), y = Ye, S = Re, D = window;
|
|
6103
6103
|
if (d) {
|
|
6104
6104
|
var L = Ka(a), Z = "clientHeight", U = "clientWidth";
|
|
6105
6105
|
if (L === Me(a) && (L = ht(a), Je(L).position !== "static" && r === "absolute" && (Z = "scrollHeight", U = "scrollWidth")), L = L, s === Re || (s === Ye || s === ft) && o === la) {
|
|
6106
|
-
S =
|
|
6107
|
-
var
|
|
6106
|
+
S = We;
|
|
6107
|
+
var q = c && L === D && D.visualViewport ? D.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
6109
6109
|
L[Z]
|
|
6110
6110
|
);
|
|
6111
|
-
|
|
6111
|
+
w -= q - n.height, w *= u ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
|
-
if (s === Ye || (s === Re || s ===
|
|
6114
|
-
|
|
6113
|
+
if (s === Ye || (s === Re || s === We) && o === la) {
|
|
6114
|
+
y = ft;
|
|
6115
6115
|
var O = c && L === D && D.visualViewport ? D.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
6117
6117
|
L[U]
|
|
@@ -6123,16 +6123,16 @@ function u1(t) {
|
|
|
6123
6123
|
position: r
|
|
6124
6124
|
}, d && I7), B = l === !0 ? L7({
|
|
6125
6125
|
x: C,
|
|
6126
|
-
y:
|
|
6126
|
+
y: w
|
|
6127
6127
|
}, Me(a)) : {
|
|
6128
6128
|
x: C,
|
|
6129
|
-
y:
|
|
6129
|
+
y: w
|
|
6130
6130
|
};
|
|
6131
|
-
if (C = B.x,
|
|
6131
|
+
if (C = B.x, w = B.y, u) {
|
|
6132
6132
|
var F;
|
|
6133
|
-
return Object.assign({}, Y, (F = {}, F[S] = A ? "0" : "", F[
|
|
6133
|
+
return Object.assign({}, Y, (F = {}, F[S] = A ? "0" : "", F[y] = m ? "0" : "", F.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + C + "px, " + w + "px)" : "translate3d(" + C + "px, " + w + "px, 0)", F));
|
|
6134
6134
|
}
|
|
6135
|
-
return Object.assign({}, Y, (e = {}, e[S] = A ?
|
|
6135
|
+
return Object.assign({}, Y, (e = {}, e[S] = A ? w + "px" : "", e[y] = m ? C + "px" : "", e.transform = "", e));
|
|
6136
6136
|
}
|
|
6137
6137
|
function V7(t) {
|
|
6138
6138
|
var e = t.state, a = t.options, n = a.gpuAcceleration, s = n === void 0 ? !0 : n, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, u = r === void 0 ? !0 : r, d = {
|
|
@@ -6219,33 +6219,33 @@ function U7(t, e, a) {
|
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function Z7(t) {
|
|
6222
|
-
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, u = a.boundary, d = a.rootBoundary, l = a.altBoundary, c = a.padding, f = a.tether, C = f === void 0 ? !0 : f, $ = a.tetherOffset,
|
|
6222
|
+
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, u = a.boundary, d = a.rootBoundary, l = a.altBoundary, c = a.padding, f = a.tether, C = f === void 0 ? !0 : f, $ = a.tetherOffset, w = $ === void 0 ? 0 : $, _ = Hn(e, {
|
|
6223
6223
|
boundary: u,
|
|
6224
6224
|
rootBoundary: d,
|
|
6225
6225
|
padding: c,
|
|
6226
6226
|
altBoundary: l
|
|
6227
|
-
}), m = lt(e.placement), A = Ft(e.placement),
|
|
6227
|
+
}), m = lt(e.placement), A = Ft(e.placement), y = !A, S = Y1(m), D = j7(S), L = e.modifiersData.popperOffsets, Z = e.rects.reference, U = e.rects.popper, q = typeof w == "function" ? w(Object.assign({}, e.rects, {
|
|
6228
6228
|
placement: e.placement
|
|
6229
|
-
})) :
|
|
6230
|
-
mainAxis:
|
|
6231
|
-
altAxis:
|
|
6229
|
+
})) : w, O = typeof q == "number" ? {
|
|
6230
|
+
mainAxis: q,
|
|
6231
|
+
altAxis: q
|
|
6232
6232
|
} : Object.assign({
|
|
6233
6233
|
mainAxis: 0,
|
|
6234
6234
|
altAxis: 0
|
|
6235
|
-
},
|
|
6235
|
+
}, q), Y = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, B = {
|
|
6236
6236
|
x: 0,
|
|
6237
6237
|
y: 0
|
|
6238
6238
|
};
|
|
6239
6239
|
if (L) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var F, E = S === "y" ? Re : Ye, N = S === "y" ?
|
|
6241
|
+
var F, E = S === "y" ? Re : Ye, N = S === "y" ? We : ft, Q = S === "y" ? "height" : "width", k = L[S], h = k + _[E], I = k - _[N], ee = C ? -U[Q] / 2 : 0, ne = A === Zt ? Z[Q] : U[Q], le = A === Zt ? -U[Q] : -Z[Q], se = e.elements.arrow, re = C && se ? q1(se) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : K1(), P = z[E], G = z[N], ve = Sa(0, Z[Q], re[Q]), we =
|
|
6244
|
+
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : K1(), P = z[E], G = z[N], ve = Sa(0, Z[Q], re[Q]), we = y ? Z[Q] / 2 - ee - ve - P - O.mainAxis : ne - ve - P - O.mainAxis, zt = y ? -Z[Q] / 2 + ee + ve + G + O.mainAxis : le + ve + G + O.mainAxis, xt = e.elements.arrow && Ka(e.elements.arrow), tt = xt ? S === "y" ? xt.clientTop || 0 : xt.clientLeft || 0 : 0, ha = (F = Y == null ? void 0 : Y[S]) != null ? F : 0, Qa = k + we - ha - tt, at = k + zt - ha, Ca = Sa(C ? Ha(h, Qa) : h, k, C ? wt(I, at) : I);
|
|
6245
6245
|
L[S] = Ca, B[S] = Ca - k;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var nt, Ne = S === "x" ? Re : Ye, Te = S === "x" ?
|
|
6248
|
+
var nt, Ne = S === "x" ? Re : Ye, Te = S === "x" ? We : ft, Be = L[D], qe = D === "y" ? "height" : "width", Yt = Be + _[Ne], ga = Be - _[Te], Se = [Re, Ye].indexOf(m) !== -1, Gt = (nt = Y == null ? void 0 : Y[D]) != null ? nt : 0, st = Se ? Yt : Be - Z[qe] - U[qe] - Gt + O.altAxis, Ct = Se ? Be + Z[qe] + U[qe] - Gt - O.altAxis : ga, _a = C && Se ? U7(st, Be, Ct) : Sa(C ? st : Yt, Be, C ? Ct : ga);
|
|
6249
6249
|
L[D] = _a, B[D] = _a - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = B;
|
|
@@ -6257,7 +6257,7 @@ var F7 = {
|
|
|
6257
6257
|
phase: "main",
|
|
6258
6258
|
fn: Z7,
|
|
6259
6259
|
requiresIfExists: ["offset"]
|
|
6260
|
-
},
|
|
6260
|
+
}, W7 = {
|
|
6261
6261
|
left: "right",
|
|
6262
6262
|
right: "left",
|
|
6263
6263
|
bottom: "top",
|
|
@@ -6265,16 +6265,16 @@ var F7 = {
|
|
|
6265
6265
|
};
|
|
6266
6266
|
function Oa(t) {
|
|
6267
6267
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
6268
|
-
return
|
|
6268
|
+
return W7[e];
|
|
6269
6269
|
});
|
|
6270
6270
|
}
|
|
6271
|
-
var
|
|
6271
|
+
var q7 = {
|
|
6272
6272
|
start: "end",
|
|
6273
6273
|
end: "start"
|
|
6274
6274
|
};
|
|
6275
6275
|
function d1(t) {
|
|
6276
6276
|
return t.replace(/start|end/g, function(e) {
|
|
6277
|
-
return
|
|
6277
|
+
return q7[e];
|
|
6278
6278
|
});
|
|
6279
6279
|
}
|
|
6280
6280
|
function z7(t, e) {
|
|
@@ -6285,16 +6285,16 @@ function z7(t, e) {
|
|
|
6285
6285
|
return d.indexOf($) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
f.length === 0 && (f = c);
|
|
6288
|
-
var C = f.reduce(function($,
|
|
6289
|
-
return $[
|
|
6290
|
-
placement:
|
|
6288
|
+
var C = f.reduce(function($, w) {
|
|
6289
|
+
return $[w] = Hn(t, {
|
|
6290
|
+
placement: w,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
6293
6293
|
padding: i
|
|
6294
|
-
})[lt(
|
|
6294
|
+
})[lt(w)], $;
|
|
6295
6295
|
}, {});
|
|
6296
|
-
return Object.keys(C).sort(function($,
|
|
6297
|
-
return C[$] - C[
|
|
6296
|
+
return Object.keys(C).sort(function($, w) {
|
|
6297
|
+
return C[$] - C[w];
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function x7(t) {
|
|
@@ -6306,29 +6306,29 @@ function x7(t) {
|
|
|
6306
6306
|
function Y7(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
|
-
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, u = a.fallbackPlacements, d = a.padding, l = a.boundary, c = a.rootBoundary, f = a.altBoundary, C = a.flipVariations, $ = C === void 0 ? !0 : C,
|
|
6309
|
+
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, u = a.fallbackPlacements, d = a.padding, l = a.boundary, c = a.rootBoundary, f = a.altBoundary, C = a.flipVariations, $ = C === void 0 ? !0 : C, w = a.allowedAutoPlacements, _ = e.options.placement, m = lt(_), A = m === _, y = u || (A || !$ ? [Oa(_)] : x7(_)), S = [_].concat(y).reduce(function(re, z) {
|
|
6310
6310
|
return re.concat(lt(z) === Pn ? z7(e, {
|
|
6311
6311
|
placement: z,
|
|
6312
6312
|
boundary: l,
|
|
6313
6313
|
rootBoundary: c,
|
|
6314
6314
|
padding: d,
|
|
6315
6315
|
flipVariations: $,
|
|
6316
|
-
allowedAutoPlacements:
|
|
6316
|
+
allowedAutoPlacements: w
|
|
6317
6317
|
}) : z);
|
|
6318
|
-
}, []), D = e.rects.reference, L = e.rects.popper, Z = /* @__PURE__ */ new Map(), U = !0,
|
|
6319
|
-
var Y = S[O], B = lt(Y), F = Ft(Y) === Zt, E = [Re,
|
|
6318
|
+
}, []), D = e.rects.reference, L = e.rects.popper, Z = /* @__PURE__ */ new Map(), U = !0, q = S[0], O = 0; O < S.length; O++) {
|
|
6319
|
+
var Y = S[O], B = lt(Y), F = Ft(Y) === Zt, E = [Re, We].indexOf(B) >= 0, N = E ? "width" : "height", Q = Hn(e, {
|
|
6320
6320
|
placement: Y,
|
|
6321
6321
|
boundary: l,
|
|
6322
6322
|
rootBoundary: c,
|
|
6323
6323
|
altBoundary: f,
|
|
6324
6324
|
padding: d
|
|
6325
|
-
}), k = E ? F ? ft : Ye : F ?
|
|
6325
|
+
}), k = E ? F ? ft : Ye : F ? We : Re;
|
|
6326
6326
|
D[N] > L[N] && (k = Oa(k));
|
|
6327
6327
|
var h = Oa(k), I = [];
|
|
6328
6328
|
if (o && I.push(Q[B] <= 0), r && I.push(Q[k] <= 0, Q[h] <= 0), I.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
6331
|
-
|
|
6331
|
+
q = Y, U = !1;
|
|
6332
6332
|
break;
|
|
6333
6333
|
}
|
|
6334
6334
|
Z.set(Y, I);
|
|
@@ -6343,13 +6343,13 @@ function Y7(t) {
|
|
|
6343
6343
|
});
|
|
6344
6344
|
});
|
|
6345
6345
|
if (P)
|
|
6346
|
-
return
|
|
6346
|
+
return q = P, "break";
|
|
6347
6347
|
}, le = ee; le > 0; le--) {
|
|
6348
6348
|
var se = ne(le);
|
|
6349
6349
|
if (se === "break")
|
|
6350
6350
|
break;
|
|
6351
6351
|
}
|
|
6352
|
-
e.placement !==
|
|
6352
|
+
e.placement !== q && (e.modifiersData[n]._skip = !0, e.placement = q, e.reset = !0);
|
|
6353
6353
|
}
|
|
6354
6354
|
}
|
|
6355
6355
|
var G7 = {
|
|
@@ -6363,16 +6363,16 @@ var G7 = {
|
|
|
6363
6363
|
}
|
|
6364
6364
|
};
|
|
6365
6365
|
function K7(t, e, a) {
|
|
6366
|
-
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, u = a.multiselect, d = a.dropdown, l = ae(!1), c = ae(null), f = ae(null), C = M(() => s.value || o.value), $ = M(() => i.value === "top" && f.value === "bottom" || i.value === "bottom" && f.value !== "top" ? "bottom" : "top"),
|
|
6366
|
+
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, u = a.multiselect, d = a.dropdown, l = ae(!1), c = ae(null), f = ae(null), C = M(() => s.value || o.value), $ = M(() => i.value === "top" && f.value === "bottom" || i.value === "bottom" && f.value !== "top" ? "bottom" : "top"), w = () => {
|
|
6367
6367
|
l.value || n.value || (l.value = !0, e.emit("open", r), C.value && De(() => {
|
|
6368
6368
|
m();
|
|
6369
6369
|
}));
|
|
6370
|
-
},
|
|
6370
|
+
}, _ = () => {
|
|
6371
6371
|
l.value && (l.value = !1, e.emit("close", r));
|
|
6372
6372
|
}, m = () => {
|
|
6373
6373
|
if (!c.value)
|
|
6374
6374
|
return;
|
|
6375
|
-
let
|
|
6375
|
+
let y = parseInt(window.getComputedStyle(d.value).borderTopWidth.replace("px", "")), S = parseInt(window.getComputedStyle(d.value).borderBottomWidth.replace("px", ""));
|
|
6376
6376
|
c.value.setOptions((D) => ({
|
|
6377
6377
|
...D,
|
|
6378
6378
|
modifiers: [
|
|
@@ -6380,20 +6380,20 @@ function K7(t, e, a) {
|
|
|
6380
6380
|
{
|
|
6381
6381
|
name: "offset",
|
|
6382
6382
|
options: {
|
|
6383
|
-
offset: [0, ($.value === "top" ?
|
|
6383
|
+
offset: [0, ($.value === "top" ? y : S) * -1]
|
|
6384
6384
|
}
|
|
6385
6385
|
}
|
|
6386
6386
|
]
|
|
6387
6387
|
})), c.value.update();
|
|
6388
|
-
}, A = (
|
|
6389
|
-
for (;
|
|
6390
|
-
if (getComputedStyle(
|
|
6388
|
+
}, A = (y) => {
|
|
6389
|
+
for (; y && y !== document.body; ) {
|
|
6390
|
+
if (getComputedStyle(y).position === "fixed")
|
|
6391
6391
|
return !0;
|
|
6392
|
-
|
|
6392
|
+
y = y.parentElement;
|
|
6393
6393
|
}
|
|
6394
6394
|
return !1;
|
|
6395
6395
|
};
|
|
6396
|
-
return
|
|
6396
|
+
return Wt(() => {
|
|
6397
6397
|
C.value && (c.value = N7(u.value, d.value, {
|
|
6398
6398
|
strategy: A(u.value) ? (
|
|
6399
6399
|
/* istanbul ignore next: UI feature */
|
|
@@ -6408,19 +6408,19 @@ function K7(t, e, a) {
|
|
|
6408
6408
|
enabled: !0,
|
|
6409
6409
|
phase: "beforeWrite",
|
|
6410
6410
|
requires: ["computeStyles"],
|
|
6411
|
-
fn: ({ state:
|
|
6412
|
-
|
|
6411
|
+
fn: ({ state: y }) => {
|
|
6412
|
+
y.styles.popper.width = `${y.rects.reference.width}px`;
|
|
6413
6413
|
},
|
|
6414
|
-
effect: ({ state:
|
|
6415
|
-
|
|
6414
|
+
effect: ({ state: y }) => {
|
|
6415
|
+
y.elements.popper.style.width = `${y.elements.reference.offsetWidth}px`;
|
|
6416
6416
|
}
|
|
6417
6417
|
},
|
|
6418
6418
|
{
|
|
6419
6419
|
name: "toggleClass",
|
|
6420
6420
|
enabled: !0,
|
|
6421
6421
|
phase: "write",
|
|
6422
|
-
fn({ state:
|
|
6423
|
-
f.value =
|
|
6422
|
+
fn({ state: y }) {
|
|
6423
|
+
f.value = y.placement;
|
|
6424
6424
|
}
|
|
6425
6425
|
}
|
|
6426
6426
|
]
|
|
@@ -6430,44 +6430,44 @@ function K7(t, e, a) {
|
|
|
6430
6430
|
}), {
|
|
6431
6431
|
popper: c,
|
|
6432
6432
|
isOpen: l,
|
|
6433
|
-
open:
|
|
6434
|
-
close:
|
|
6433
|
+
open: w,
|
|
6434
|
+
close: _,
|
|
6435
6435
|
placement: $,
|
|
6436
6436
|
updatePopper: m
|
|
6437
6437
|
};
|
|
6438
6438
|
}
|
|
6439
6439
|
function X7(t, e, a) {
|
|
6440
|
-
const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, u = a.close, d = a.clearSearch, l = a.isOpen, c = a.wrapper, f = a.tags, C = ae(!1), $ = ae(!1),
|
|
6440
|
+
const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, u = a.close, d = a.clearSearch, l = a.isOpen, c = a.wrapper, f = a.tags, C = ae(!1), $ = ae(!1), w = M(() => n.value || s.value ? -1 : 0), _ = () => {
|
|
6441
6441
|
n.value && i.value.blur(), c.value.blur();
|
|
6442
6442
|
}, m = () => {
|
|
6443
6443
|
n.value && !s.value && i.value.focus();
|
|
6444
6444
|
}, A = (U = !0) => {
|
|
6445
6445
|
s.value || (C.value = !0, U && r());
|
|
6446
|
-
},
|
|
6446
|
+
}, y = () => {
|
|
6447
6447
|
C.value = !1, setTimeout(() => {
|
|
6448
6448
|
C.value || (u(), o.value && d());
|
|
6449
6449
|
}, 1);
|
|
6450
6450
|
};
|
|
6451
6451
|
return {
|
|
6452
|
-
tabindex:
|
|
6452
|
+
tabindex: w,
|
|
6453
6453
|
isActive: C,
|
|
6454
6454
|
mouseClicked: $,
|
|
6455
|
-
blur:
|
|
6455
|
+
blur: _,
|
|
6456
6456
|
focus: m,
|
|
6457
6457
|
activate: A,
|
|
6458
|
-
deactivate:
|
|
6458
|
+
deactivate: y,
|
|
6459
6459
|
handleFocusIn: (U) => {
|
|
6460
6460
|
U.target.closest("[data-tags]") && U.target.nodeName !== "INPUT" || U.target.closest("[data-clear]") || A($.value);
|
|
6461
6461
|
},
|
|
6462
6462
|
handleFocusOut: () => {
|
|
6463
|
-
|
|
6463
|
+
y();
|
|
6464
6464
|
},
|
|
6465
6465
|
handleCaretClick: () => {
|
|
6466
|
-
|
|
6466
|
+
y(), _();
|
|
6467
6467
|
},
|
|
6468
6468
|
handleMousedown: (U) => {
|
|
6469
6469
|
$.value = !0, l.value && (U.target.isEqualNode(c.value) || U.target.isEqualNode(f.value)) ? setTimeout(() => {
|
|
6470
|
-
|
|
6470
|
+
y();
|
|
6471
6471
|
}, 0) : !l.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(i.value)) && A(), setTimeout(() => {
|
|
6472
6472
|
$.value = !1;
|
|
6473
6473
|
}, 0);
|
|
@@ -6487,25 +6487,25 @@ function Q7(t, e, a) {
|
|
|
6487
6487
|
createTag: c,
|
|
6488
6488
|
createOption: f,
|
|
6489
6489
|
reverse: C
|
|
6490
|
-
} = Ae(t), $ = Mt().proxy,
|
|
6491
|
-
n.value === "tags" && !r.value && E.value && i.value && !d.value &&
|
|
6490
|
+
} = Ae(t), $ = Mt().proxy, w = a.iv, _ = a.update, m = a.deselect, A = a.search, y = a.setPointer, S = a.selectPointer, D = a.backwardPointer, L = a.forwardPointer, Z = a.multiselect, U = a.wrapper, q = a.tags, O = a.isOpen, Y = a.open, B = a.blur, F = a.fo, E = M(() => c.value || f.value || !1), N = M(() => s.value !== void 0 ? s.value : l.value !== void 0 ? l.value : ["enter"]), Q = () => {
|
|
6491
|
+
n.value === "tags" && !r.value && E.value && i.value && !d.value && y(F.value[F.value.map((I) => I[u.value]).indexOf(A.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
6494
6494
|
handleKeydown: (I) => {
|
|
6495
6495
|
e.emit("keydown", I, $);
|
|
6496
6496
|
let ee, ne;
|
|
6497
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(I.key) !== -1 && n.value === "tags" && (ee = [...Z.value.querySelectorAll("[data-tags] > *")].filter((le) => le !==
|
|
6497
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(I.key) !== -1 && n.value === "tags" && (ee = [...Z.value.querySelectorAll("[data-tags] > *")].filter((le) => le !== q.value), ne = ee.findIndex((le) => le === document.activeElement)), I.key) {
|
|
6498
6498
|
case "Backspace":
|
|
6499
|
-
if (n.value === "single" || i.value && [null, ""].indexOf(A.value) === -1 ||
|
|
6499
|
+
if (n.value === "single" || i.value && [null, ""].indexOf(A.value) === -1 || w.value.length === 0)
|
|
6500
6500
|
return;
|
|
6501
|
-
let le =
|
|
6501
|
+
let le = w.value.filter((se) => !se.disabled && se.remove !== !1);
|
|
6502
6502
|
le.length && m(le[le.length - 1]);
|
|
6503
6503
|
break;
|
|
6504
6504
|
case "Enter":
|
|
6505
6505
|
if (I.preventDefault(), I.keyCode === 229)
|
|
6506
6506
|
return;
|
|
6507
6507
|
if (ne !== -1 && ne !== void 0) {
|
|
6508
|
-
|
|
6508
|
+
_([...w.value].filter((se, re) => re !== ne)), ne === ee.length - 1 && (ee.length - 1 ? ee[ee.length - 2].focus() : i.value ? q.value.querySelector("input").focus() : U.value.focus());
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
6511
|
if (N.value.indexOf("enter") === -1 && E.value)
|
|
@@ -6544,14 +6544,14 @@ function Q7(t, e, a) {
|
|
|
6544
6544
|
O.value || Y(), L();
|
|
6545
6545
|
break;
|
|
6546
6546
|
case "ArrowLeft":
|
|
6547
|
-
if (i.value &&
|
|
6547
|
+
if (i.value && q.value && q.value.querySelector("input").selectionStart || I.shiftKey || n.value !== "tags" || !w.value || !w.value.length)
|
|
6548
6548
|
return;
|
|
6549
6549
|
I.preventDefault(), ne === -1 ? ee[ee.length - 1].focus() : ne > 0 && ee[ne - 1].focus();
|
|
6550
6550
|
break;
|
|
6551
6551
|
case "ArrowRight":
|
|
6552
|
-
if (ne === -1 || I.shiftKey || n.value !== "tags" || !
|
|
6552
|
+
if (ne === -1 || I.shiftKey || n.value !== "tags" || !w.value || !w.value.length)
|
|
6553
6553
|
return;
|
|
6554
|
-
I.preventDefault(), ee.length > ne + 1 ? ee[ne + 1].focus() : i.value ?
|
|
6554
|
+
I.preventDefault(), ee.length > ne + 1 ? ee[ne + 1].focus() : i.value ? q.value.querySelector("input").focus() : i.value || U.value.focus();
|
|
6555
6555
|
break;
|
|
6556
6556
|
}
|
|
6557
6557
|
},
|
|
@@ -6567,7 +6567,7 @@ function J7(t, e, a) {
|
|
|
6567
6567
|
disabled: s,
|
|
6568
6568
|
showOptions: o,
|
|
6569
6569
|
breakTags: i
|
|
6570
|
-
} = Ae(t), r = a.isOpen, u = a.isPointed, d = a.isSelected, l = a.isDisabled, c = a.isActive, f = a.canPointGroups, C = a.resolving, $ = a.fo,
|
|
6570
|
+
} = Ae(t), r = a.isOpen, u = a.isPointed, d = a.isSelected, l = a.isDisabled, c = a.isActive, f = a.canPointGroups, C = a.resolving, $ = a.fo, w = a.placement, _ = M(() => ({
|
|
6571
6571
|
container: "multiselect",
|
|
6572
6572
|
containerDisabled: "is-disabled",
|
|
6573
6573
|
containerOpen: "is-open",
|
|
@@ -6625,47 +6625,47 @@ function J7(t, e, a) {
|
|
|
6625
6625
|
})), m = M(() => !!(r.value && o.value && (!C.value || C.value && $.value.length)));
|
|
6626
6626
|
return {
|
|
6627
6627
|
classList: M(() => {
|
|
6628
|
-
const
|
|
6628
|
+
const y = _.value;
|
|
6629
6629
|
return {
|
|
6630
|
-
container: [
|
|
6631
|
-
wrapper:
|
|
6632
|
-
spacer:
|
|
6633
|
-
singleLabel:
|
|
6634
|
-
singleLabelText:
|
|
6635
|
-
multipleLabel:
|
|
6636
|
-
search:
|
|
6637
|
-
tags:
|
|
6638
|
-
tag: [
|
|
6639
|
-
tagWrapper: [
|
|
6640
|
-
tagDisabled:
|
|
6641
|
-
tagRemove:
|
|
6642
|
-
tagRemoveIcon:
|
|
6643
|
-
tagsSearchWrapper:
|
|
6644
|
-
tagsSearch:
|
|
6645
|
-
tagsSearchCopy:
|
|
6646
|
-
placeholder:
|
|
6647
|
-
caret: [
|
|
6648
|
-
clear:
|
|
6649
|
-
clearIcon:
|
|
6650
|
-
spinner:
|
|
6651
|
-
inifinite:
|
|
6652
|
-
inifiniteSpinner:
|
|
6653
|
-
dropdown: [
|
|
6654
|
-
options: [
|
|
6655
|
-
group:
|
|
6630
|
+
container: [y.container].concat(s.value ? y.containerDisabled : []).concat(m.value && w.value === "top" ? y.containerOpenTop : []).concat(m.value && w.value !== "top" ? y.containerOpen : []).concat(c.value ? y.containerActive : []),
|
|
6631
|
+
wrapper: y.wrapper,
|
|
6632
|
+
spacer: y.spacer,
|
|
6633
|
+
singleLabel: y.singleLabel,
|
|
6634
|
+
singleLabelText: y.singleLabelText,
|
|
6635
|
+
multipleLabel: y.multipleLabel,
|
|
6636
|
+
search: y.search,
|
|
6637
|
+
tags: y.tags,
|
|
6638
|
+
tag: [y.tag].concat(s.value ? y.tagDisabled : []),
|
|
6639
|
+
tagWrapper: [y.tagWrapper, i.value ? y.tagWrapperBreak : null],
|
|
6640
|
+
tagDisabled: y.tagDisabled,
|
|
6641
|
+
tagRemove: y.tagRemove,
|
|
6642
|
+
tagRemoveIcon: y.tagRemoveIcon,
|
|
6643
|
+
tagsSearchWrapper: y.tagsSearchWrapper,
|
|
6644
|
+
tagsSearch: y.tagsSearch,
|
|
6645
|
+
tagsSearchCopy: y.tagsSearchCopy,
|
|
6646
|
+
placeholder: y.placeholder,
|
|
6647
|
+
caret: [y.caret].concat(r.value ? y.caretOpen : []),
|
|
6648
|
+
clear: y.clear,
|
|
6649
|
+
clearIcon: y.clearIcon,
|
|
6650
|
+
spinner: y.spinner,
|
|
6651
|
+
inifinite: y.inifinite,
|
|
6652
|
+
inifiniteSpinner: y.inifiniteSpinner,
|
|
6653
|
+
dropdown: [y.dropdown].concat(w.value === "top" ? y.dropdownTop : []).concat(!r.value || !o.value || !m.value ? y.dropdownHidden : []),
|
|
6654
|
+
options: [y.options].concat(w.value === "top" ? y.optionsTop : []),
|
|
6655
|
+
group: y.group,
|
|
6656
6656
|
groupLabel: (S) => {
|
|
6657
|
-
let D = [
|
|
6658
|
-
return u(S) ? D.push(d(S) ?
|
|
6657
|
+
let D = [y.groupLabel];
|
|
6658
|
+
return u(S) ? D.push(d(S) ? y.groupLabelSelectedPointed : y.groupLabelPointed) : d(S) && f.value ? D.push(l(S) ? y.groupLabelSelectedDisabled : y.groupLabelSelected) : l(S) && D.push(y.groupLabelDisabled), f.value && D.push(y.groupLabelPointable), D;
|
|
6659
6659
|
},
|
|
6660
|
-
groupOptions:
|
|
6660
|
+
groupOptions: y.groupOptions,
|
|
6661
6661
|
option: (S, D) => {
|
|
6662
|
-
let L = [
|
|
6663
|
-
return u(S) ? L.push(d(S) ?
|
|
6662
|
+
let L = [y.option];
|
|
6663
|
+
return u(S) ? L.push(d(S) ? y.optionSelectedPointed : y.optionPointed) : d(S) ? L.push(l(S) ? y.optionSelectedDisabled : y.optionSelected) : (l(S) || D && l(D)) && L.push(y.optionDisabled), L;
|
|
6664
6664
|
},
|
|
6665
|
-
noOptions:
|
|
6666
|
-
noResults:
|
|
6667
|
-
assist:
|
|
6668
|
-
fakeInput:
|
|
6665
|
+
noOptions: y.noOptions,
|
|
6666
|
+
noResults: y.noResults,
|
|
6667
|
+
assist: y.assist,
|
|
6668
|
+
fakeInput: y.fakeInput
|
|
6669
6669
|
};
|
|
6670
6670
|
}),
|
|
6671
6671
|
showDropdown: m
|
|
@@ -6675,12 +6675,12 @@ function e9(t, e, a) {
|
|
|
6675
6675
|
const {
|
|
6676
6676
|
limit: n,
|
|
6677
6677
|
infinite: s
|
|
6678
|
-
} = Ae(t), o = a.isOpen, i = a.offset, r = a.search, u = a.pfo, d = a.eo, l = ae(null), c = ae(null), f = M(() => i.value < u.value.length), C = (
|
|
6679
|
-
const { isIntersecting:
|
|
6680
|
-
if (
|
|
6681
|
-
const A = m.offsetParent,
|
|
6678
|
+
} = Ae(t), o = a.isOpen, i = a.offset, r = a.search, u = a.pfo, d = a.eo, l = ae(null), c = ae(null), f = M(() => i.value < u.value.length), C = (w) => {
|
|
6679
|
+
const { isIntersecting: _, target: m } = w[0];
|
|
6680
|
+
if (_) {
|
|
6681
|
+
const A = m.offsetParent, y = A.scrollTop;
|
|
6682
6682
|
i.value += n.value == -1 ? 10 : n.value, De(() => {
|
|
6683
|
-
A.scrollTop =
|
|
6683
|
+
A.scrollTop = y;
|
|
6684
6684
|
});
|
|
6685
6685
|
}
|
|
6686
6686
|
}, $ = () => {
|
|
@@ -6692,7 +6692,7 @@ function e9(t, e, a) {
|
|
|
6692
6692
|
s.value && (i.value = n.value, $());
|
|
6693
6693
|
}, { flush: "post" }), ce(d, () => {
|
|
6694
6694
|
s.value && $();
|
|
6695
|
-
}, { immediate: !1, flush: "post" }),
|
|
6695
|
+
}, { immediate: !1, flush: "post" }), Wt(() => {
|
|
6696
6696
|
window && window.IntersectionObserver && (l.value = new IntersectionObserver(C));
|
|
6697
6697
|
}), {
|
|
6698
6698
|
hasMore: f,
|
|
@@ -6709,7 +6709,7 @@ function t9(t, e, a) {
|
|
|
6709
6709
|
groupLabel: u,
|
|
6710
6710
|
aria: d,
|
|
6711
6711
|
searchable: l
|
|
6712
|
-
} = Ae(t), c = a.pointer, f = a.iv, C = a.hasSelected, $ = a.multipleLabelText,
|
|
6712
|
+
} = Ae(t), c = a.pointer, f = a.iv, C = a.hasSelected, $ = a.multipleLabelText, w = ae(null), _ = M(() => {
|
|
6713
6713
|
let B = [];
|
|
6714
6714
|
return s && s.value && B.push(s.value), B.push("assist"), B.join("-");
|
|
6715
6715
|
}), m = M(() => {
|
|
@@ -6719,40 +6719,40 @@ function t9(t, e, a) {
|
|
|
6719
6719
|
let B = [];
|
|
6720
6720
|
if (s && s.value && B.push(s.value), c.value)
|
|
6721
6721
|
return B.push(c.value.group ? "multiselect-group" : "multiselect-option"), B.push(c.value.group ? c.value.index : c.value[o.value]), B.join("-");
|
|
6722
|
-
}),
|
|
6722
|
+
}), y = M(() => n.value), S = M(() => r.value !== "single"), D = M(() => {
|
|
6723
6723
|
let B = "";
|
|
6724
6724
|
return r.value === "single" && C.value && (B += f.value[i.value]), r.value === "multiple" && C.value && (B += $.value), r.value === "tags" && C.value && (B += f.value.map((F) => F[i.value]).join(", ")), B;
|
|
6725
6725
|
}), L = M(() => {
|
|
6726
6726
|
let B = { ...d.value };
|
|
6727
|
-
return l.value && (B["aria-labelledby"] = B["aria-labelledby"] ? `${
|
|
6727
|
+
return l.value && (B["aria-labelledby"] = B["aria-labelledby"] ? `${_.value} ${B["aria-labelledby"]}` : _.value, D.value && B["aria-label"] && (B["aria-label"] = `${D.value}, ${B["aria-label"]}`)), B;
|
|
6728
6728
|
}), Z = (B) => {
|
|
6729
6729
|
let F = [];
|
|
6730
6730
|
return s && s.value && F.push(s.value), F.push("multiselect-option"), F.push(B[o.value]), F.join("-");
|
|
6731
6731
|
}, U = (B) => {
|
|
6732
6732
|
let F = [];
|
|
6733
6733
|
return s && s.value && F.push(s.value), F.push("multiselect-group"), F.push(B.index), F.join("-");
|
|
6734
|
-
},
|
|
6734
|
+
}, q = (B) => {
|
|
6735
6735
|
let F = [];
|
|
6736
6736
|
return F.push(B), F.join(" ");
|
|
6737
6737
|
}, O = (B) => {
|
|
6738
6738
|
let F = [];
|
|
6739
6739
|
return F.push(B), F.join(" ");
|
|
6740
6740
|
}, Y = (B) => `${B} ❎`;
|
|
6741
|
-
return
|
|
6741
|
+
return Wt(() => {
|
|
6742
6742
|
if (s && s.value && document && document.querySelector) {
|
|
6743
6743
|
let B = document.querySelector(`[for="${s.value}"]`);
|
|
6744
|
-
|
|
6744
|
+
w.value = B ? B.innerText : null;
|
|
6745
6745
|
}
|
|
6746
6746
|
}), {
|
|
6747
6747
|
arias: L,
|
|
6748
6748
|
ariaLabel: D,
|
|
6749
|
-
ariaAssist:
|
|
6749
|
+
ariaAssist: _,
|
|
6750
6750
|
ariaControls: m,
|
|
6751
|
-
ariaPlaceholder:
|
|
6751
|
+
ariaPlaceholder: y,
|
|
6752
6752
|
ariaMultiselectable: S,
|
|
6753
6753
|
ariaActiveDescendant: A,
|
|
6754
6754
|
ariaOptionId: Z,
|
|
6755
|
-
ariaOptionLabel:
|
|
6755
|
+
ariaOptionLabel: q,
|
|
6756
6756
|
ariaGroupId: U,
|
|
6757
6757
|
ariaGroupLabel: O,
|
|
6758
6758
|
ariaTagLabel: Y
|
|
@@ -7144,7 +7144,7 @@ var ot = {
|
|
|
7144
7144
|
n9,
|
|
7145
7145
|
a9,
|
|
7146
7146
|
Z5,
|
|
7147
|
-
|
|
7147
|
+
W5,
|
|
7148
7148
|
K7,
|
|
7149
7149
|
F5,
|
|
7150
7150
|
U5,
|
|
@@ -7661,7 +7661,7 @@ const $e = /* @__PURE__ */ J({
|
|
|
7661
7661
|
}, Na({ _: 2 }, [
|
|
7662
7662
|
ye(s.$slots, (i, r) => ({
|
|
7663
7663
|
name: r,
|
|
7664
|
-
fn:
|
|
7664
|
+
fn: W((u) => [
|
|
7665
7665
|
te(s.$slots, r, ua(da(u ?? {})))
|
|
7666
7666
|
])
|
|
7667
7667
|
}))
|
|
@@ -7775,7 +7775,7 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
|
|
|
7775
7775
|
return (c, f) => (v(), g("div", S9, [
|
|
7776
7776
|
p("ul", O9, [
|
|
7777
7777
|
(v(!0), g(Ce, null, ye(c.tasks, (C) => {
|
|
7778
|
-
var $,
|
|
7778
|
+
var $, w;
|
|
7779
7779
|
return v(), g("li", {
|
|
7780
7780
|
key: C.id,
|
|
7781
7781
|
class: "ao-subtask"
|
|
@@ -7795,13 +7795,13 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
|
|
|
7795
7795
|
readonly: !c.isEditable,
|
|
7796
7796
|
class: x(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": C.isDone }]),
|
|
7797
7797
|
type: "text",
|
|
7798
|
-
onChange: (
|
|
7798
|
+
onChange: (_) => i(_, C.id),
|
|
7799
7799
|
onKeyup: ut(l, ["enter"])
|
|
7800
7800
|
}, null, 42, E9),
|
|
7801
7801
|
Ra(". "),
|
|
7802
7802
|
!c.isTemplate && c.users ? (v(), R($e, {
|
|
7803
7803
|
key: 1,
|
|
7804
|
-
value: (
|
|
7804
|
+
value: (w = C.assignee) != null && w.id ? [C.assignee.id] : [],
|
|
7805
7805
|
options: s.value,
|
|
7806
7806
|
"close-on-select": !0,
|
|
7807
7807
|
searchable: !0,
|
|
@@ -7811,14 +7811,14 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
|
|
|
7811
7811
|
placeholder: c.$t("feed.filters.assignee.placeholder"),
|
|
7812
7812
|
disabled: !c.isEditable,
|
|
7813
7813
|
caret: c.isEditable,
|
|
7814
|
-
onChange: (
|
|
7814
|
+
onChange: (_) => d(_, C.id)
|
|
7815
7815
|
}, {
|
|
7816
|
-
tag:
|
|
7816
|
+
tag: W(({ option: _, handleTagRemove: m }) => [
|
|
7817
7817
|
V(Xe, {
|
|
7818
|
-
"user-name":
|
|
7819
|
-
"avatar-url":
|
|
7818
|
+
"user-name": _.label,
|
|
7819
|
+
"avatar-url": _.avatar,
|
|
7820
7820
|
"is-closable": !0,
|
|
7821
|
-
onClose: (A) => m(
|
|
7821
|
+
onClose: (A) => m(_, A)
|
|
7822
7822
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
7823
7823
|
]),
|
|
7824
7824
|
_: 2
|
|
@@ -7851,7 +7851,7 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
|
|
|
7851
7851
|
const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class: "ao-files__placeholder" }, P9 = {
|
|
7852
7852
|
key: 0,
|
|
7853
7853
|
class: "ao-files__list"
|
|
7854
|
-
}, H9 = ["href"], B9 = { class: "ao-file__title" }, R9 = { key: 0 }, N9 = { class: "ao-files__input" }, j9 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, U9 = { class: "ao-button__label" }, Z9 = { class: "ao-files__dropzone" }, F9 = { class: "ao-files__dropzone-label" },
|
|
7854
|
+
}, H9 = ["href"], B9 = { class: "ao-file__title" }, R9 = { key: 0 }, N9 = { class: "ao-files__input" }, j9 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, U9 = { class: "ao-button__label" }, Z9 = { class: "ao-files__dropzone" }, F9 = { class: "ao-files__dropzone-label" }, W9 = /* @__PURE__ */ J({
|
|
7855
7855
|
__name: "AoActivityDetailsFiles",
|
|
7856
7856
|
props: {
|
|
7857
7857
|
attachments: {},
|
|
@@ -7865,7 +7865,7 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
|
|
|
7865
7865
|
const c = l.target, f = Array.from(c.files ?? []);
|
|
7866
7866
|
e("add", f);
|
|
7867
7867
|
}, o = ["dragenter", "dragover", "dragleave", "drop"];
|
|
7868
|
-
|
|
7868
|
+
Wt(() => {
|
|
7869
7869
|
o.forEach((l) => {
|
|
7870
7870
|
document.body.addEventListener(l, (c) => c.preventDefault());
|
|
7871
7871
|
});
|
|
@@ -7965,7 +7965,7 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
|
|
|
7965
7965
|
], 42, V9));
|
|
7966
7966
|
}
|
|
7967
7967
|
});
|
|
7968
|
-
const
|
|
7968
|
+
const q9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9 = { class: "ao-comment__body" }, Y9 = { class: "ao-comment__content-wrapper" }, G9 = {
|
|
7969
7969
|
key: 1,
|
|
7970
7970
|
class: "ao-comment__footer"
|
|
7971
7971
|
}, K9 = /* @__PURE__ */ J({
|
|
@@ -7980,30 +7980,30 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
7980
7980
|
emits: ["edit", "remove"],
|
|
7981
7981
|
setup(t, { emit: e }) {
|
|
7982
7982
|
const a = t, n = M(() => {
|
|
7983
|
-
const
|
|
7984
|
-
return
|
|
7983
|
+
const w = a.user;
|
|
7984
|
+
return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
|
|
7985
7985
|
}), s = ae(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: u } = C1(s), d = M(() => {
|
|
7986
|
-
const
|
|
7987
|
-
return A &&
|
|
7988
|
-
}), l = M(() => o.value ? "textarea" : "p"), c = u(), f = r((
|
|
7989
|
-
e("edit",
|
|
7986
|
+
const w = a.editedAt && ia(a.editedAt), _ = ia(a.createdAt), m = /* @__PURE__ */ new Date(), A = w ?? _;
|
|
7987
|
+
return A && W0(A, m);
|
|
7988
|
+
}), l = M(() => o.value ? "textarea" : "p"), c = u(), f = r((w) => {
|
|
7989
|
+
e("edit", w);
|
|
7990
7990
|
}), C = () => {
|
|
7991
7991
|
e("remove");
|
|
7992
7992
|
}, $ = ae(2);
|
|
7993
7993
|
return bs(() => {
|
|
7994
7994
|
De(() => {
|
|
7995
|
-
var
|
|
7995
|
+
var w;
|
|
7996
7996
|
if (!o.value) {
|
|
7997
|
-
const
|
|
7998
|
-
$.value =
|
|
7997
|
+
const _ = (w = s.value) == null ? void 0 : w.getClientRects().length;
|
|
7998
|
+
$.value = _ || 2;
|
|
7999
7999
|
}
|
|
8000
8000
|
});
|
|
8001
|
-
}), (
|
|
8001
|
+
}), (w, _) => {
|
|
8002
8002
|
var m;
|
|
8003
|
-
return v(), g("li",
|
|
8003
|
+
return v(), g("li", q9, [
|
|
8004
8004
|
n.value ? (v(), R(Xe, {
|
|
8005
8005
|
key: 0,
|
|
8006
|
-
"avatar-url": (m =
|
|
8006
|
+
"avatar-url": (m = w.user) == null ? void 0 : m.avatarUrl,
|
|
8007
8007
|
"user-name": n.value,
|
|
8008
8008
|
class: "ao-comment__avatar"
|
|
8009
8009
|
}, null, 8, ["avatar-url", "user-name"])) : T("", !0),
|
|
@@ -8014,21 +8014,21 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: s,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
8017
|
-
value: X(o) ?
|
|
8017
|
+
value: X(o) ? w.content : null,
|
|
8018
8018
|
rows: X(o) ? $.value : null,
|
|
8019
8019
|
onKeyup: [
|
|
8020
8020
|
ut(X(c), ["esc"]),
|
|
8021
8021
|
ut(he(X(f), ["ctrl"]), ["enter"])
|
|
8022
8022
|
]
|
|
8023
8023
|
}, {
|
|
8024
|
-
default:
|
|
8025
|
-
Ra(K(
|
|
8024
|
+
default: W(() => [
|
|
8025
|
+
Ra(K(w.content), 1)
|
|
8026
8026
|
]),
|
|
8027
8027
|
_: 1
|
|
8028
8028
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
8029
8029
|
])
|
|
8030
8030
|
]),
|
|
8031
|
-
|
|
8031
|
+
w.isEditable ? (v(), g("div", G9, [
|
|
8032
8032
|
X(o) ? (v(), g(Ce, { key: 0 }, [
|
|
8033
8033
|
V(de, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
@@ -8047,14 +8047,14 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (v(), g(Ce, { key: 1 }, [
|
|
8049
8049
|
V(de, {
|
|
8050
|
-
label:
|
|
8050
|
+
label: w.$t("activity.comment.delete"),
|
|
8051
8051
|
size: "sm",
|
|
8052
8052
|
variant: "ghost",
|
|
8053
8053
|
color: "neutral",
|
|
8054
8054
|
onClick: C
|
|
8055
8055
|
}, null, 8, ["label"]),
|
|
8056
8056
|
V(de, {
|
|
8057
|
-
label:
|
|
8057
|
+
label: w.$t("activity.comment.edit"),
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
8060
8060
|
color: "neutral",
|
|
@@ -8149,7 +8149,7 @@ const X9 = { class: "ao-comments__header" }, Q9 = ["onSubmit"], J9 = ["placehold
|
|
|
8149
8149
|
"edited-at": $.updatedAt,
|
|
8150
8150
|
"is-editable": $.author.id === c.userId,
|
|
8151
8151
|
class: "ao-comment",
|
|
8152
|
-
onEdit: (
|
|
8152
|
+
onEdit: (w) => d($.id, w),
|
|
8153
8153
|
onRemove: () => l($.id)
|
|
8154
8154
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
8155
8155
|
])) : T("", !0)
|
|
@@ -8195,10 +8195,10 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8195
8195
|
}, B4 = { class: "ao-field" }, R4 = { class: "ao-field__label" }, N4 = ["readonly"], j4 = { class: "ao-activity-details__aside-section" }, U4 = {
|
|
8196
8196
|
key: 0,
|
|
8197
8197
|
class: "ao-field__row"
|
|
8198
|
-
}, Z4 = { class: "ao-field ao-field--multiselect" }, F4 = { class: "ao-activity-details__aside-section" },
|
|
8198
|
+
}, Z4 = { class: "ao-field ao-field--multiselect" }, F4 = { class: "ao-activity-details__aside-section" }, W4 = {
|
|
8199
8199
|
key: 1,
|
|
8200
8200
|
class: "ao-activity-details__aside-section"
|
|
8201
|
-
},
|
|
8201
|
+
}, q4 = { class: "ao-fieldset ao-activity-details__aside-section" }, z4 = { class: "ao-fieldset__title" }, x4 = { class: "ao-fieldset__body" }, Y4 = { class: "ao-field__row" }, G4 = { class: "ao-field ao-field--multiselect" }, K4 = { class: "ao-field__label" }, X4 = { class: "ao-field__row" }, Q4 = { class: "ao-field ao-field--multiselect" }, J4 = { class: "ao-field__label" }, ef = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
8204
|
}, tf = { class: "ao-activity__created-by" }, Bn = /* @__PURE__ */ J({
|
|
@@ -8298,7 +8298,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8298
8298
|
...h,
|
|
8299
8299
|
disabled: (I = a.activity.blocking) == null ? void 0 : I.some((ee) => ee.id === h.value)
|
|
8300
8300
|
};
|
|
8301
|
-
})),
|
|
8301
|
+
})), w = M({
|
|
8302
8302
|
get() {
|
|
8303
8303
|
var h;
|
|
8304
8304
|
return (h = a.activity.blocking) == null ? void 0 : h.map((I) => I.id);
|
|
@@ -8309,7 +8309,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8309
8309
|
blocking: h
|
|
8310
8310
|
});
|
|
8311
8311
|
}
|
|
8312
|
-
}),
|
|
8312
|
+
}), _ = M(() => f.value.map((h) => {
|
|
8313
8313
|
var I;
|
|
8314
8314
|
return {
|
|
8315
8315
|
...h,
|
|
@@ -8321,7 +8321,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8321
8321
|
e("addSubtask", h);
|
|
8322
8322
|
}, A = (h) => {
|
|
8323
8323
|
e("updateSubtask", h);
|
|
8324
|
-
},
|
|
8324
|
+
}, y = (h) => {
|
|
8325
8325
|
e("deleteSubtask", h);
|
|
8326
8326
|
}, S = M(() => {
|
|
8327
8327
|
var h;
|
|
@@ -8355,7 +8355,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8355
8355
|
}, U = M(() => a.projects.map((h) => ({
|
|
8356
8356
|
value: h.id,
|
|
8357
8357
|
label: h.name
|
|
8358
|
-
}))),
|
|
8358
|
+
}))), q = M(() => {
|
|
8359
8359
|
var I, ee, ne;
|
|
8360
8360
|
const h = (ne = (ee = (I = a.activity) == null ? void 0 : I.project) == null ? void 0 : ee.phases) == null ? void 0 : ne.reduce(
|
|
8361
8361
|
(le, se) => [...le, ...se.milestones],
|
|
@@ -8402,7 +8402,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8402
8402
|
return (h, I) => (v(), R(Mn, {
|
|
8403
8403
|
onClose: I[10] || (I[10] = (ee) => h.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
|
-
default:
|
|
8405
|
+
default: W(() => {
|
|
8406
8406
|
var ee, ne, le;
|
|
8407
8407
|
return [
|
|
8408
8408
|
p("div", n4, [
|
|
@@ -8427,10 +8427,10 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8427
8427
|
onChange: O
|
|
8428
8428
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8429
8429
|
])) : T("", !0),
|
|
8430
|
-
|
|
8430
|
+
q.value ? (v(), g("label", d4, [
|
|
8431
8431
|
p("span", c4, K(h.$t("activity.milestone.label")), 1),
|
|
8432
8432
|
V($e, {
|
|
8433
|
-
options:
|
|
8433
|
+
options: q.value,
|
|
8434
8434
|
value: (ne = h.activity.milestone) == null ? void 0 : ne.id,
|
|
8435
8435
|
searchable: !0,
|
|
8436
8436
|
disabled: !n.value,
|
|
@@ -8444,13 +8444,13 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8444
8444
|
p("div", f4, [
|
|
8445
8445
|
p("fieldset", v4, [
|
|
8446
8446
|
p("div", p4, [
|
|
8447
|
-
V(
|
|
8447
|
+
V(W9, {
|
|
8448
8448
|
attachments: h.activity.attachments,
|
|
8449
8449
|
"is-editable": h.attachmentEnabled && n.value && h.isTemplate !== !0 && !!h.userId,
|
|
8450
8450
|
onAdd: L,
|
|
8451
8451
|
onRemove: Z
|
|
8452
8452
|
}, {
|
|
8453
|
-
default:
|
|
8453
|
+
default: W(() => [
|
|
8454
8454
|
p("label", m4, [
|
|
8455
8455
|
p("span", h4, K(h.$t("activity.description.label")), 1),
|
|
8456
8456
|
rt(p("textarea", {
|
|
@@ -8516,7 +8516,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8516
8516
|
"is-template": h.isTemplate,
|
|
8517
8517
|
onAdd: m,
|
|
8518
8518
|
onUpdate: A,
|
|
8519
|
-
onDelete:
|
|
8519
|
+
onDelete: y
|
|
8520
8520
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
8521
8521
|
])
|
|
8522
8522
|
]),
|
|
@@ -8577,7 +8577,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8577
8577
|
disabled: !n.value,
|
|
8578
8578
|
caret: n.value
|
|
8579
8579
|
}, {
|
|
8580
|
-
tag:
|
|
8580
|
+
tag: W(({
|
|
8581
8581
|
option: se,
|
|
8582
8582
|
handleTagRemove: re
|
|
8583
8583
|
}) => [
|
|
@@ -8645,7 +8645,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8645
8645
|
size: "sm"
|
|
8646
8646
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8647
8647
|
]),
|
|
8648
|
-
h.isTemplate !== !0 && h.activity.createdBy.id === h.userId ? (v(), g("div",
|
|
8648
|
+
h.isTemplate !== !0 && h.activity.createdBy.id === h.userId ? (v(), g("div", W4, [
|
|
8649
8649
|
V(Cn, {
|
|
8650
8650
|
modelValue: u.value,
|
|
8651
8651
|
"onUpdate:modelValue": I[7] || (I[7] = (se) => u.value = se),
|
|
@@ -8659,7 +8659,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8659
8659
|
size: "sm"
|
|
8660
8660
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8661
8661
|
])) : T("", !0),
|
|
8662
|
-
p("fieldset",
|
|
8662
|
+
p("fieldset", q4, [
|
|
8663
8663
|
p("div", z4, [
|
|
8664
8664
|
V(fe, { name: "FlowsheetOutlineRounded" }),
|
|
8665
8665
|
V(_e, {
|
|
@@ -8688,13 +8688,13 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8688
8688
|
p("label", Q4, [
|
|
8689
8689
|
p("span", J4, K(h.$t("activity.blocking.label")), 1),
|
|
8690
8690
|
V($e, {
|
|
8691
|
-
modelValue:
|
|
8692
|
-
"onUpdate:modelValue": I[9] || (I[9] = (se) =>
|
|
8691
|
+
modelValue: w.value,
|
|
8692
|
+
"onUpdate:modelValue": I[9] || (I[9] = (se) => w.value = se),
|
|
8693
8693
|
class: "ao-activity-details__multiselect",
|
|
8694
8694
|
mode: "tags",
|
|
8695
8695
|
"close-on-select": !1,
|
|
8696
8696
|
searchable: !0,
|
|
8697
|
-
options:
|
|
8697
|
+
options: _.value,
|
|
8698
8698
|
disabled: !n.value,
|
|
8699
8699
|
caret: n.value
|
|
8700
8700
|
}, null, 8, ["modelValue", "options", "disabled", "caret"])
|
|
@@ -8760,9 +8760,9 @@ const af = /* @__PURE__ */ J({
|
|
|
8760
8760
|
[me.ACTIVITIES]: a.templateActivities,
|
|
8761
8761
|
[me.MILESTONES]: a.templateMilestones,
|
|
8762
8762
|
[me.PHASES]: a.templatePhases
|
|
8763
|
-
}[n.value]) == null ? void 0 : A.map((
|
|
8764
|
-
value:
|
|
8765
|
-
label:
|
|
8763
|
+
}[n.value]) == null ? void 0 : A.map((y) => ({
|
|
8764
|
+
value: y.id,
|
|
8765
|
+
label: y.name
|
|
8766
8766
|
}));
|
|
8767
8767
|
}), u = Vt(a.rule.comparator), d = M({
|
|
8768
8768
|
get() {
|
|
@@ -8785,38 +8785,38 @@ const af = /* @__PURE__ */ J({
|
|
|
8785
8785
|
set(m) {
|
|
8786
8786
|
e("update:rule", { ...a.rule, duration: m });
|
|
8787
8787
|
}
|
|
8788
|
-
}),
|
|
8788
|
+
}), w = M({
|
|
8789
8789
|
get() {
|
|
8790
8790
|
return a.rule.durationUnit;
|
|
8791
8791
|
},
|
|
8792
8792
|
set(m) {
|
|
8793
8793
|
e("update:rule", { ...a.rule, durationUnit: m });
|
|
8794
8794
|
}
|
|
8795
|
-
}),
|
|
8795
|
+
}), _ = M(() => Object.values(S2));
|
|
8796
8796
|
return (m, A) => (v(), R(vt(m.tagName), { class: "ao-rule-line" }, {
|
|
8797
|
-
default:
|
|
8797
|
+
default: W(() => [
|
|
8798
8798
|
V(X(ot), {
|
|
8799
8799
|
modelValue: s.value,
|
|
8800
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
8800
|
+
"onUpdate:modelValue": A[0] || (A[0] = (y) => s.value = y),
|
|
8801
8801
|
options: o.value
|
|
8802
8802
|
}, null, 8, ["modelValue", "options"]),
|
|
8803
8803
|
V(X(ot), {
|
|
8804
8804
|
modelValue: i.value,
|
|
8805
|
-
"onUpdate:modelValue": A[1] || (A[1] = (
|
|
8805
|
+
"onUpdate:modelValue": A[1] || (A[1] = (y) => i.value = y),
|
|
8806
8806
|
options: r.value
|
|
8807
8807
|
}, null, 8, ["modelValue", "options"]),
|
|
8808
8808
|
V(X(ot), {
|
|
8809
8809
|
modelValue: f.value,
|
|
8810
|
-
"onUpdate:modelValue": A[2] || (A[2] = (
|
|
8810
|
+
"onUpdate:modelValue": A[2] || (A[2] = (y) => f.value = y),
|
|
8811
8811
|
options: C.value
|
|
8812
8812
|
}, null, 8, ["modelValue", "options"]),
|
|
8813
8813
|
V(X(ot), {
|
|
8814
8814
|
modelValue: d.value,
|
|
8815
|
-
"onUpdate:modelValue": A[3] || (A[3] = (
|
|
8815
|
+
"onUpdate:modelValue": A[3] || (A[3] = (y) => d.value = y),
|
|
8816
8816
|
options: l.value
|
|
8817
8817
|
}, null, 8, ["modelValue", "options"]),
|
|
8818
8818
|
rt(p("input", {
|
|
8819
|
-
"onUpdate:modelValue": A[4] || (A[4] = (
|
|
8819
|
+
"onUpdate:modelValue": A[4] || (A[4] = (y) => $.value = y),
|
|
8820
8820
|
type: "number",
|
|
8821
8821
|
min: "0"
|
|
8822
8822
|
}, null, 512), [
|
|
@@ -8828,15 +8828,15 @@ const af = /* @__PURE__ */ J({
|
|
|
8828
8828
|
]
|
|
8829
8829
|
]),
|
|
8830
8830
|
V(X(ot), {
|
|
8831
|
-
modelValue:
|
|
8832
|
-
"onUpdate:modelValue": A[5] || (A[5] = (
|
|
8833
|
-
options:
|
|
8831
|
+
modelValue: w.value,
|
|
8832
|
+
"onUpdate:modelValue": A[5] || (A[5] = (y) => w.value = y),
|
|
8833
|
+
options: _.value
|
|
8834
8834
|
}, null, 8, ["modelValue", "options"]),
|
|
8835
8835
|
V(de, {
|
|
8836
8836
|
class: "ao-rule-line__remove",
|
|
8837
8837
|
"icon-name": "CloseRounded",
|
|
8838
8838
|
variant: "ghost",
|
|
8839
|
-
onClick: A[6] || (A[6] = (
|
|
8839
|
+
onClick: A[6] || (A[6] = (y) => m.$emit("close"))
|
|
8840
8840
|
})
|
|
8841
8841
|
]),
|
|
8842
8842
|
_: 1
|
|
@@ -8860,13 +8860,13 @@ const nf = { class: "ao-template-rules__body" }, sf = { class: "ao-template-rule
|
|
|
8860
8860
|
e("removeRule", s);
|
|
8861
8861
|
};
|
|
8862
8862
|
return (s, o) => (v(), R(Mn, null, {
|
|
8863
|
-
header:
|
|
8863
|
+
header: W(() => [
|
|
8864
8864
|
V(_e, {
|
|
8865
8865
|
title: s.$t("template.rules.title"),
|
|
8866
8866
|
level: 2
|
|
8867
8867
|
}, null, 8, ["title"])
|
|
8868
8868
|
]),
|
|
8869
|
-
default:
|
|
8869
|
+
default: W(() => [
|
|
8870
8870
|
p("div", nf, [
|
|
8871
8871
|
p("ul", sf, [
|
|
8872
8872
|
(v(!0), g(Ce, null, ye(s.rules, (i) => (v(), R(af, {
|
|
@@ -9013,14 +9013,14 @@ const rf = {
|
|
|
9013
9013
|
id: k
|
|
9014
9014
|
}
|
|
9015
9015
|
});
|
|
9016
|
-
},
|
|
9016
|
+
}, w = (k, h) => {
|
|
9017
9017
|
e("updateItem", {
|
|
9018
9018
|
templateId: a.templateId,
|
|
9019
9019
|
id: k,
|
|
9020
9020
|
itemType: me.PHASES,
|
|
9021
9021
|
data: { name: h }
|
|
9022
9022
|
});
|
|
9023
|
-
},
|
|
9023
|
+
}, _ = (k) => {
|
|
9024
9024
|
e("updateItem", k);
|
|
9025
9025
|
}, m = (k) => {
|
|
9026
9026
|
if (!i.value)
|
|
@@ -9049,7 +9049,7 @@ const rf = {
|
|
|
9049
9049
|
id: k.id
|
|
9050
9050
|
}
|
|
9051
9051
|
});
|
|
9052
|
-
},
|
|
9052
|
+
}, y = (k) => {
|
|
9053
9053
|
const { id: h, ...I } = k;
|
|
9054
9054
|
e("updateItem", {
|
|
9055
9055
|
itemType: me.MILESTONES,
|
|
@@ -9093,7 +9093,7 @@ const rf = {
|
|
|
9093
9093
|
});
|
|
9094
9094
|
}, Z = ae(!1), U = () => {
|
|
9095
9095
|
Z.value = !Z.value;
|
|
9096
|
-
},
|
|
9096
|
+
}, q = () => {
|
|
9097
9097
|
e("addRule", { templateId: a.templateId });
|
|
9098
9098
|
}, O = (k) => {
|
|
9099
9099
|
e("removeRule", { id: k, templateId: a.templateId });
|
|
@@ -9143,11 +9143,11 @@ const rf = {
|
|
|
9143
9143
|
return (k, h) => {
|
|
9144
9144
|
var I, ee, ne, le, se, re;
|
|
9145
9145
|
return s.value ? (v(), g("div", rf, [
|
|
9146
|
-
V(
|
|
9146
|
+
V(qa, {
|
|
9147
9147
|
"can-go-back": !0,
|
|
9148
9148
|
onGoBack: h[1] || (h[1] = (z) => k.$router.push({ name: X(Lt).TEMPLATES_LIST }))
|
|
9149
9149
|
}, {
|
|
9150
|
-
primary:
|
|
9150
|
+
primary: W(() => [
|
|
9151
9151
|
V(_e, {
|
|
9152
9152
|
title: c.value,
|
|
9153
9153
|
level: 2,
|
|
@@ -9169,14 +9169,14 @@ const rf = {
|
|
|
9169
9169
|
handle: ".ao-card__drag",
|
|
9170
9170
|
onChange: Y
|
|
9171
9171
|
}, {
|
|
9172
|
-
header:
|
|
9172
|
+
header: W(() => [
|
|
9173
9173
|
V(_e, {
|
|
9174
9174
|
title: k.$t("template.phases.title"),
|
|
9175
9175
|
level: 3,
|
|
9176
9176
|
class: "ao-list__title"
|
|
9177
9177
|
}, null, 8, ["title"])
|
|
9178
9178
|
]),
|
|
9179
|
-
item:
|
|
9179
|
+
item: W(({ element: z }) => {
|
|
9180
9180
|
var P;
|
|
9181
9181
|
return [
|
|
9182
9182
|
V(K3, {
|
|
@@ -9189,13 +9189,13 @@ const rf = {
|
|
|
9189
9189
|
params: { templateId: k.templateId, phaseId: z.id }
|
|
9190
9190
|
}),
|
|
9191
9191
|
"onUpdate:title": (G) => {
|
|
9192
|
-
|
|
9192
|
+
w(z.id, G);
|
|
9193
9193
|
},
|
|
9194
9194
|
onRemove: () => $(z.id)
|
|
9195
9195
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
9196
9196
|
];
|
|
9197
9197
|
}),
|
|
9198
|
-
footer:
|
|
9198
|
+
footer: W(() => [
|
|
9199
9199
|
p("div", cf, [
|
|
9200
9200
|
V(mt, {
|
|
9201
9201
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -9214,8 +9214,8 @@ const rf = {
|
|
|
9214
9214
|
phase: i.value,
|
|
9215
9215
|
"milestone-id": (I = r.value) == null ? void 0 : I.id,
|
|
9216
9216
|
onAddMilestone: m,
|
|
9217
|
-
onUpdateMilestone:
|
|
9218
|
-
onUpdatePhase:
|
|
9217
|
+
onUpdateMilestone: y,
|
|
9218
|
+
onUpdatePhase: _,
|
|
9219
9219
|
onRemoveMilestone: A
|
|
9220
9220
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
|
|
9221
9221
|
]),
|
|
@@ -9256,7 +9256,7 @@ const rf = {
|
|
|
9256
9256
|
onAddFiles: N,
|
|
9257
9257
|
onRemoveFile: Q
|
|
9258
9258
|
}, {
|
|
9259
|
-
default:
|
|
9259
|
+
default: W((z) => [
|
|
9260
9260
|
te(k.$slots, "activityDetailsBody", ua(da(z)))
|
|
9261
9261
|
]),
|
|
9262
9262
|
_: 3
|
|
@@ -9271,7 +9271,7 @@ const rf = {
|
|
|
9271
9271
|
"template-milestones": u.value,
|
|
9272
9272
|
"template-activities": d.value,
|
|
9273
9273
|
onClose: U,
|
|
9274
|
-
onAddRule:
|
|
9274
|
+
onAddRule: q,
|
|
9275
9275
|
onRemoveRule: O
|
|
9276
9276
|
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
|
|
9277
9277
|
]))
|
|
@@ -9302,7 +9302,7 @@ const mf = {
|
|
|
9302
9302
|
}
|
|
9303
9303
|
])
|
|
9304
9304
|
}, {
|
|
9305
|
-
default:
|
|
9305
|
+
default: W(() => [
|
|
9306
9306
|
e.$slots.header ? (v(), g("header", mf, [
|
|
9307
9307
|
te(e.$slots, "header")
|
|
9308
9308
|
])) : T("", !0),
|
|
@@ -9380,7 +9380,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9380
9380
|
class: "ao-card-project-phase",
|
|
9381
9381
|
"is-clickable": d.isEditable
|
|
9382
9382
|
}, Na({
|
|
9383
|
-
default:
|
|
9383
|
+
default: W(() => [
|
|
9384
9384
|
V(_e, {
|
|
9385
9385
|
id: d.id,
|
|
9386
9386
|
class: "ao-card-project-phase__title",
|
|
@@ -9390,7 +9390,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9390
9390
|
"onUpdate:title": n
|
|
9391
9391
|
}, null, 8, ["id", "title", "is-editable"])
|
|
9392
9392
|
]),
|
|
9393
|
-
footer:
|
|
9393
|
+
footer: W(() => [
|
|
9394
9394
|
p("div", _f, [
|
|
9395
9395
|
o.value ? (v(), g("div", yf, [
|
|
9396
9396
|
p("div", bf, [
|
|
@@ -9432,7 +9432,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9432
9432
|
}, [
|
|
9433
9433
|
d.isEditable ? {
|
|
9434
9434
|
name: "header",
|
|
9435
|
-
fn:
|
|
9435
|
+
fn: W(() => [
|
|
9436
9436
|
p("div", gf, [
|
|
9437
9437
|
V(de, {
|
|
9438
9438
|
class: "ao-card-project-phase__archive",
|
|
@@ -9452,19 +9452,19 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9452
9452
|
]), 1032, ["is-clickable"]));
|
|
9453
9453
|
}
|
|
9454
9454
|
});
|
|
9455
|
-
const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
9455
|
+
const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
9456
9456
|
key: 0,
|
|
9457
9457
|
class: "ao-card-project-milestone__archive"
|
|
9458
|
-
},
|
|
9458
|
+
}, Sf = { class: "ao-card-project-milestone__activities" }, Of = { class: "ao-card-project-milestone__activities-row" }, Ef = { class: "ao-card-project-milestone__subitem" }, If = { class: "ao-card-project-milestone__subitem" }, Lf = {
|
|
9459
9459
|
key: 1,
|
|
9460
9460
|
class: "ao-card-project-milestone__secondary"
|
|
9461
|
-
},
|
|
9461
|
+
}, Vf = { class: "ao-card-project-milestone__footer" }, Df = {
|
|
9462
9462
|
key: 1,
|
|
9463
9463
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9464
|
-
},
|
|
9464
|
+
}, Pf = { class: "ao-field__label" }, Hf = {
|
|
9465
9465
|
key: 2,
|
|
9466
9466
|
class: "ao-card-project-milestone__assignee"
|
|
9467
|
-
},
|
|
9467
|
+
}, Bf = /* @__PURE__ */ J({
|
|
9468
9468
|
__name: "AoCardProjectItemMilestone",
|
|
9469
9469
|
props: {
|
|
9470
9470
|
id: {},
|
|
@@ -9480,100 +9480,91 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = { class: "ao-ca
|
|
|
9480
9480
|
},
|
|
9481
9481
|
emits: ["updateMilestone", "archiveMilestone"],
|
|
9482
9482
|
setup(t, { emit: e }) {
|
|
9483
|
-
const a = t
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
return a.name + " (" + ((r = a.activities) == null ? void 0 : r.reduce((u, d) => u + (d.estimation || 0), 0)) + ")";
|
|
9487
|
-
});
|
|
9488
|
-
const n = M(() => {
|
|
9489
|
-
var r;
|
|
9490
|
-
return (r = a.activities) == null ? void 0 : r.length;
|
|
9483
|
+
const a = t, n = M(() => {
|
|
9484
|
+
var u;
|
|
9485
|
+
return a.name + " (" + ((u = a.activities) == null ? void 0 : u.reduce((d, l) => d + (l.estimation || 0), 0)) + ")";
|
|
9491
9486
|
}), s = M(() => {
|
|
9492
|
-
var
|
|
9493
|
-
return (
|
|
9494
|
-
|
|
9487
|
+
var u;
|
|
9488
|
+
return (u = a.activities) == null ? void 0 : u.length;
|
|
9489
|
+
}), o = M(() => {
|
|
9490
|
+
var u;
|
|
9491
|
+
return (u = a.activities) == null ? void 0 : u.filter(
|
|
9492
|
+
(d) => $n(d, a.closedStatus)
|
|
9495
9493
|
).length;
|
|
9496
|
-
}),
|
|
9497
|
-
e("updateMilestone", { id: a.id, name:
|
|
9494
|
+
}), i = M(() => (o.value || 0) / (s.value || 1)), r = (u) => {
|
|
9495
|
+
e("updateMilestone", { id: a.id, name: u });
|
|
9498
9496
|
};
|
|
9499
|
-
return (
|
|
9497
|
+
return (u, d) => (v(), R(Rn, {
|
|
9500
9498
|
class: x([
|
|
9501
9499
|
"ao-card-project-milestone",
|
|
9502
|
-
{ "ao-card-project-milestone--selected":
|
|
9500
|
+
{ "ao-card-project-milestone--selected": u.isSelected }
|
|
9503
9501
|
]),
|
|
9504
|
-
"is-clickable": !
|
|
9502
|
+
"is-clickable": !u.readonly,
|
|
9505
9503
|
"tag-name": "li",
|
|
9506
|
-
"is-selected":
|
|
9504
|
+
"is-selected": u.isSelected
|
|
9507
9505
|
}, {
|
|
9508
|
-
default:
|
|
9506
|
+
default: W(() => [
|
|
9509
9507
|
p("div", Af, [
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
V(_e, {
|
|
9520
|
-
title: "()",
|
|
9521
|
-
level: 5,
|
|
9522
|
-
"is-editable": !1
|
|
9523
|
-
})
|
|
9524
|
-
]),
|
|
9525
|
-
!r.readonly && r.isEditable ? (v(), g("div", Sf, [
|
|
9508
|
+
V(_e, {
|
|
9509
|
+
id: u.id,
|
|
9510
|
+
title: n.value || "",
|
|
9511
|
+
level: 5,
|
|
9512
|
+
"is-editable": !u.readonly && u.isEditable,
|
|
9513
|
+
class: "ao-card-project-milestone__title",
|
|
9514
|
+
"onUpdate:title": r
|
|
9515
|
+
}, null, 8, ["id", "title", "is-editable"]),
|
|
9516
|
+
!u.readonly && u.isEditable ? (v(), g("div", Tf, [
|
|
9526
9517
|
V(de, {
|
|
9527
|
-
color:
|
|
9518
|
+
color: u.isSelected ? void 0 : "primary",
|
|
9528
9519
|
variant: "ghost",
|
|
9529
9520
|
"icon-name": "ArchiveOutlineRounded",
|
|
9530
9521
|
size: "sm",
|
|
9531
9522
|
"icon-position": "start",
|
|
9532
9523
|
corners: "round",
|
|
9533
|
-
label:
|
|
9534
|
-
onClick:
|
|
9524
|
+
label: u.$t("archive"),
|
|
9525
|
+
onClick: d[0] || (d[0] = he(() => u.$emit("archiveMilestone", { id: u.id }), ["stop"]))
|
|
9535
9526
|
}, null, 8, ["color", "label"])
|
|
9536
9527
|
])) : T("", !0)
|
|
9537
9528
|
]),
|
|
9538
|
-
p("div",
|
|
9539
|
-
p("div",
|
|
9540
|
-
|
|
9541
|
-
p("div",
|
|
9529
|
+
p("div", Sf, [
|
|
9530
|
+
p("div", Of, [
|
|
9531
|
+
s.value ? (v(), g(Ce, { key: 0 }, [
|
|
9532
|
+
p("div", Ef, [
|
|
9542
9533
|
V(fe, {
|
|
9543
9534
|
name: "SelectCheckBox",
|
|
9544
9535
|
size: "sm"
|
|
9545
9536
|
}),
|
|
9546
|
-
p("span",
|
|
9537
|
+
p("span", If, K(o.value) + " / " + K(s.value), 1)
|
|
9547
9538
|
]),
|
|
9548
9539
|
V(Nn, {
|
|
9549
|
-
percentages:
|
|
9540
|
+
percentages: i.value,
|
|
9550
9541
|
class: "ao-card-project-milestone__progress"
|
|
9551
9542
|
}, null, 8, ["percentages"])
|
|
9552
9543
|
], 64)) : T("", !0),
|
|
9553
|
-
|
|
9554
|
-
te(
|
|
9544
|
+
u.$slots.secondary ? (v(), g("div", Lf, [
|
|
9545
|
+
te(u.$slots, "secondary")
|
|
9555
9546
|
])) : T("", !0)
|
|
9556
9547
|
])
|
|
9557
9548
|
])
|
|
9558
9549
|
]),
|
|
9559
|
-
footer:
|
|
9560
|
-
p("div",
|
|
9561
|
-
|
|
9550
|
+
footer: W(() => [
|
|
9551
|
+
p("div", Vf, [
|
|
9552
|
+
u.important ? (v(), R(fe, {
|
|
9562
9553
|
key: 0,
|
|
9563
9554
|
name: "FlagRounded",
|
|
9564
9555
|
class: x(
|
|
9565
|
-
|
|
9556
|
+
u.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
9566
9557
|
),
|
|
9567
9558
|
size: "sm"
|
|
9568
9559
|
}, null, 8, ["class"])) : T("", !0),
|
|
9569
|
-
|
|
9570
|
-
p("span",
|
|
9560
|
+
u.deadline ? (v(), g("label", Df, [
|
|
9561
|
+
p("span", Pf, K(X(wn)(u.deadline)), 1)
|
|
9571
9562
|
])) : T("", !0),
|
|
9572
|
-
|
|
9563
|
+
u.assignee ? (v(), g("div", Hf, [
|
|
9573
9564
|
V(Xe, {
|
|
9574
|
-
"user-name": X(V1)(
|
|
9575
|
-
"avatar-url":
|
|
9576
|
-
color:
|
|
9565
|
+
"user-name": X(V1)(u.assignee),
|
|
9566
|
+
"avatar-url": u.assignee.avatarUrl,
|
|
9567
|
+
color: u.isSelected ? "black" : "primary",
|
|
9577
9568
|
size: "sm"
|
|
9578
9569
|
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
9579
9570
|
])) : T("", !0)
|
|
@@ -9583,10 +9574,10 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = { class: "ao-ca
|
|
|
9583
9574
|
}, 8, ["class", "is-clickable", "is-selected"]));
|
|
9584
9575
|
}
|
|
9585
9576
|
});
|
|
9586
|
-
const
|
|
9577
|
+
const Rf = {
|
|
9587
9578
|
key: 0,
|
|
9588
9579
|
class: "ao-project-phase__drag ao-card__drag"
|
|
9589
|
-
},
|
|
9580
|
+
}, Nf = { class: "ao-project-phase__col-phase" }, jf = { class: "ao-project-phase__col-milestones" }, Uf = { class: "ao-project-phase__milestones" }, Zf = { class: "ao-project-phase__milestones-list-footer" }, Ff = /* @__PURE__ */ J({
|
|
9590
9581
|
__name: "AoProjectPhase",
|
|
9591
9582
|
props: {
|
|
9592
9583
|
phase: {},
|
|
@@ -9643,13 +9634,13 @@ const Nf = {
|
|
|
9643
9634
|
{ "ao-project-phase--selected": f.phase.id === (($ = f.$route.params) == null ? void 0 : $.phaseId) }
|
|
9644
9635
|
])
|
|
9645
9636
|
}, [
|
|
9646
|
-
f.isEditable ? (v(), g("div",
|
|
9637
|
+
f.isEditable ? (v(), g("div", Rf, [
|
|
9647
9638
|
V(fe, {
|
|
9648
9639
|
name: "DragIndicator",
|
|
9649
9640
|
class: "ao-project-phase__drag-handle"
|
|
9650
9641
|
})
|
|
9651
9642
|
])) : T("", !0),
|
|
9652
|
-
p("div",
|
|
9643
|
+
p("div", Nf, [
|
|
9653
9644
|
V(Mf, {
|
|
9654
9645
|
id: f.phase.id,
|
|
9655
9646
|
milestones: i.value,
|
|
@@ -9661,8 +9652,8 @@ const Nf = {
|
|
|
9661
9652
|
onArchivePhase: l
|
|
9662
9653
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
9663
9654
|
]),
|
|
9664
|
-
p("div",
|
|
9665
|
-
p("div",
|
|
9655
|
+
p("div", jf, [
|
|
9656
|
+
p("div", Uf, [
|
|
9666
9657
|
V(X(pt), Ve({
|
|
9667
9658
|
class: "ao-project-phase__milestones-list",
|
|
9668
9659
|
list: i.value,
|
|
@@ -9670,25 +9661,25 @@ const Nf = {
|
|
|
9670
9661
|
"item-key": "id",
|
|
9671
9662
|
group: "kanban"
|
|
9672
9663
|
}, f.$attrs, { onChange: c }), {
|
|
9673
|
-
item:
|
|
9674
|
-
var
|
|
9664
|
+
item: W(({ element: w }) => {
|
|
9665
|
+
var _;
|
|
9675
9666
|
return [
|
|
9676
|
-
V(
|
|
9677
|
-
id:
|
|
9678
|
-
name:
|
|
9679
|
-
activities:
|
|
9680
|
-
deadline:
|
|
9667
|
+
V(Bf, {
|
|
9668
|
+
id: w.id,
|
|
9669
|
+
name: w.name,
|
|
9670
|
+
activities: w.activities,
|
|
9671
|
+
deadline: w.deadline,
|
|
9681
9672
|
"is-editable": !f.readonly && f.isEditable,
|
|
9682
9673
|
"is-draggable": !f.readonly && f.isEditable,
|
|
9683
9674
|
"closed-status": f.closedStatus,
|
|
9684
|
-
"is-selected":
|
|
9685
|
-
assignee:
|
|
9686
|
-
important:
|
|
9675
|
+
"is-selected": w.id === ((_ = f.$route.params) == null ? void 0 : _.milestoneId),
|
|
9676
|
+
assignee: w.assignee,
|
|
9677
|
+
important: w.important,
|
|
9687
9678
|
readonly: f.readonly,
|
|
9688
9679
|
class: x(["ao-project-phase__milestone"]),
|
|
9689
9680
|
onClick: (m) => !f.readonly && f.$router.push({
|
|
9690
9681
|
name: X(Ue).milestone,
|
|
9691
|
-
params: { phaseId: f.phase.id, milestoneId:
|
|
9682
|
+
params: { phaseId: f.phase.id, milestoneId: w.id }
|
|
9692
9683
|
}),
|
|
9693
9684
|
onUpdateMilestone: u,
|
|
9694
9685
|
onArchiveMilestone: d
|
|
@@ -9697,7 +9688,7 @@ const Nf = {
|
|
|
9697
9688
|
}),
|
|
9698
9689
|
_: 1
|
|
9699
9690
|
}, 16, ["list", "disabled"]),
|
|
9700
|
-
p("div",
|
|
9691
|
+
p("div", Zf, [
|
|
9701
9692
|
f.isEditable ? (v(), R(mt, {
|
|
9702
9693
|
key: 0,
|
|
9703
9694
|
label: f.$t("project.milestone.add"),
|
|
@@ -9712,10 +9703,10 @@ const Nf = {
|
|
|
9712
9703
|
};
|
|
9713
9704
|
}
|
|
9714
9705
|
});
|
|
9715
|
-
const Wf = { class: "ao-project__phases" },
|
|
9706
|
+
const Wf = { class: "ao-project__phases" }, qf = {
|
|
9716
9707
|
key: 0,
|
|
9717
9708
|
class: "ao-project-phase__phases-list-footer"
|
|
9718
|
-
},
|
|
9709
|
+
}, zf = /* @__PURE__ */ p("div", { class: "ao-project-phase__empty_drag" }, null, -1), xf = { class: "ao-project-phase__col-phase" }, Yf = /* @__PURE__ */ p("div", { class: "ao-project-phase__col-milestones" }, null, -1), Gf = /* @__PURE__ */ J({
|
|
9719
9710
|
__name: "AoProjectPhases",
|
|
9720
9711
|
props: {
|
|
9721
9712
|
phases: {},
|
|
@@ -9759,8 +9750,8 @@ const Wf = { class: "ao-project__phases" }, zf = {
|
|
|
9759
9750
|
handle: ".ao-card__drag",
|
|
9760
9751
|
onChange: r
|
|
9761
9752
|
}, {
|
|
9762
|
-
item:
|
|
9763
|
-
V(
|
|
9753
|
+
item: W(({ element: f }) => [
|
|
9754
|
+
V(Ff, {
|
|
9764
9755
|
phase: f,
|
|
9765
9756
|
"is-editable": !l.readonly && l.isEditable,
|
|
9766
9757
|
"closed-status": l.closedStatus,
|
|
@@ -9775,9 +9766,9 @@ const Wf = { class: "ao-project__phases" }, zf = {
|
|
|
9775
9766
|
]),
|
|
9776
9767
|
_: 1
|
|
9777
9768
|
}, 8, ["model-value"]),
|
|
9778
|
-
l.isEditable ? (v(), g("div",
|
|
9779
|
-
|
|
9780
|
-
p("div",
|
|
9769
|
+
l.isEditable ? (v(), g("div", qf, [
|
|
9770
|
+
zf,
|
|
9771
|
+
p("div", xf, [
|
|
9781
9772
|
V(mt, {
|
|
9782
9773
|
label: l.$t("project.phases.add"),
|
|
9783
9774
|
"icon-name": "Add",
|
|
@@ -9785,12 +9776,12 @@ const Wf = { class: "ao-project__phases" }, zf = {
|
|
|
9785
9776
|
onClick: d
|
|
9786
9777
|
}, null, 8, ["label"])
|
|
9787
9778
|
]),
|
|
9788
|
-
|
|
9779
|
+
Yf
|
|
9789
9780
|
])) : T("", !0)
|
|
9790
9781
|
]));
|
|
9791
9782
|
}
|
|
9792
9783
|
});
|
|
9793
|
-
const
|
|
9784
|
+
const Kf = ["onSubmit"], Xf = { class: "ao-add-template-modal__form-body" }, Qf = { class: "field__row" }, Jf = { class: "ao-add-template-modal__form-footer" }, e8 = /* @__PURE__ */ J({
|
|
9794
9785
|
__name: "AoAddTemplateModal",
|
|
9795
9786
|
props: {
|
|
9796
9787
|
projectId: {},
|
|
@@ -9807,19 +9798,19 @@ const Xf = ["onSubmit"], Qf = { class: "ao-add-template-modal__form-body" }, Jf
|
|
|
9807
9798
|
s.value && e("apply", s.value, a.projectId);
|
|
9808
9799
|
};
|
|
9809
9800
|
return (r, u) => (v(), R(Mn, { size: "sm" }, {
|
|
9810
|
-
header:
|
|
9801
|
+
header: W(() => [
|
|
9811
9802
|
V(_e, {
|
|
9812
9803
|
title: r.$t("project.template.add.title"),
|
|
9813
9804
|
level: 3
|
|
9814
9805
|
}, null, 8, ["title"])
|
|
9815
9806
|
]),
|
|
9816
|
-
default:
|
|
9807
|
+
default: W(() => [
|
|
9817
9808
|
p("form", {
|
|
9818
9809
|
class: "ao-add-template-modal__form",
|
|
9819
9810
|
onSubmit: he(i, ["prevent"])
|
|
9820
9811
|
}, [
|
|
9821
|
-
p("div",
|
|
9822
|
-
p("div",
|
|
9812
|
+
p("div", Xf, [
|
|
9813
|
+
p("div", Qf, [
|
|
9823
9814
|
V($e, {
|
|
9824
9815
|
value: s.value,
|
|
9825
9816
|
options: n.value,
|
|
@@ -9828,7 +9819,7 @@ const Xf = ["onSubmit"], Qf = { class: "ao-add-template-modal__form-body" }, Jf
|
|
|
9828
9819
|
}, null, 8, ["value", "options"])
|
|
9829
9820
|
])
|
|
9830
9821
|
]),
|
|
9831
|
-
p("footer",
|
|
9822
|
+
p("footer", Jf, [
|
|
9832
9823
|
V(de, {
|
|
9833
9824
|
label: r.$t("project.template.add.label"),
|
|
9834
9825
|
type: "submit",
|
|
@@ -9837,13 +9828,13 @@ const Xf = ["onSubmit"], Qf = { class: "ao-add-template-modal__form-body" }, Jf
|
|
|
9837
9828
|
onClick: i
|
|
9838
9829
|
}, null, 8, ["label"])
|
|
9839
9830
|
])
|
|
9840
|
-
], 40,
|
|
9831
|
+
], 40, Kf)
|
|
9841
9832
|
]),
|
|
9842
9833
|
_: 1
|
|
9843
9834
|
}));
|
|
9844
9835
|
}
|
|
9845
9836
|
});
|
|
9846
|
-
const
|
|
9837
|
+
const t8 = J({
|
|
9847
9838
|
props: {
|
|
9848
9839
|
isLeft: {
|
|
9849
9840
|
type: Boolean,
|
|
@@ -9872,9 +9863,9 @@ const a8 = J({
|
|
|
9872
9863
|
}
|
|
9873
9864
|
}
|
|
9874
9865
|
});
|
|
9875
|
-
const
|
|
9876
|
-
function
|
|
9877
|
-
return v(), g("div",
|
|
9866
|
+
const a8 = { class: "toggle-wrapper" };
|
|
9867
|
+
function n8(t, e, a, n, s, o) {
|
|
9868
|
+
return v(), g("div", a8, [
|
|
9878
9869
|
p("button", {
|
|
9879
9870
|
class: x({
|
|
9880
9871
|
button: !0,
|
|
@@ -9895,7 +9886,7 @@ function s8(t, e, a, n, s, o) {
|
|
|
9895
9886
|
}, K(t.rightLabel), 3)
|
|
9896
9887
|
]);
|
|
9897
9888
|
}
|
|
9898
|
-
const X1 = /* @__PURE__ */ j(
|
|
9889
|
+
const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527"]]), s8 = { class: "ao-project" }, i8 = { class: "ao-project__body" }, o8 = /* @__PURE__ */ J({
|
|
9899
9890
|
__name: "AoProjectOverviewProject",
|
|
9900
9891
|
props: {
|
|
9901
9892
|
project: {},
|
|
@@ -9936,15 +9927,15 @@ const X1 = /* @__PURE__ */ j(a8, [["render", s8], ["__scopeId", "data-v-cbe33527
|
|
|
9936
9927
|
e("archiveActivity", O);
|
|
9937
9928
|
}, $ = (O) => {
|
|
9938
9929
|
e("unarchiveActivity", O);
|
|
9939
|
-
},
|
|
9930
|
+
}, w = (O) => {
|
|
9940
9931
|
e("addSubtask", O);
|
|
9941
|
-
},
|
|
9932
|
+
}, _ = (O) => {
|
|
9942
9933
|
e("updateSubtask", O);
|
|
9943
9934
|
}, m = (O) => {
|
|
9944
9935
|
e("deleteSubtask", O);
|
|
9945
9936
|
}, A = M(
|
|
9946
9937
|
() => s.value.flatMap((O) => O.activities)
|
|
9947
|
-
),
|
|
9938
|
+
), y = (O) => {
|
|
9948
9939
|
e("addFiles", O);
|
|
9949
9940
|
}, S = (O) => {
|
|
9950
9941
|
e("removeFile", O);
|
|
@@ -9954,16 +9945,16 @@ const X1 = /* @__PURE__ */ j(a8, [["render", s8], ["__scopeId", "data-v-cbe33527
|
|
|
9954
9945
|
e("updateComment", O);
|
|
9955
9946
|
}, Z = (O) => {
|
|
9956
9947
|
e("removeComment", O);
|
|
9957
|
-
}, U = ae(!1),
|
|
9948
|
+
}, U = ae(!1), q = (O, Y) => {
|
|
9958
9949
|
e("applyTemplate", { templateId: O, projectId: Y }), U.value = !1;
|
|
9959
9950
|
};
|
|
9960
9951
|
return (O, Y) => {
|
|
9961
9952
|
const B = ws("RouterView");
|
|
9962
9953
|
return v(), g(Ce, null, [
|
|
9963
9954
|
p("div", Ve({ class: "ao-project-overview" }, O.$attrs), [
|
|
9964
|
-
p("div",
|
|
9965
|
-
V(
|
|
9966
|
-
primary:
|
|
9955
|
+
p("div", s8, [
|
|
9956
|
+
V(qa, null, {
|
|
9957
|
+
primary: W(() => [
|
|
9967
9958
|
V(X1, {
|
|
9968
9959
|
"is-left": !0,
|
|
9969
9960
|
"right-label": O.$t("project.switch.feed"),
|
|
@@ -9985,7 +9976,7 @@ const X1 = /* @__PURE__ */ j(a8, [["render", s8], ["__scopeId", "data-v-cbe33527
|
|
|
9985
9976
|
onClick: Y[1] || (Y[1] = (F) => O.$emit("update:showsArchived", !O.showsArchived))
|
|
9986
9977
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
9987
9978
|
]),
|
|
9988
|
-
secondary:
|
|
9979
|
+
secondary: W(() => [
|
|
9989
9980
|
O.isEditable === !0 ? (v(), R(de, {
|
|
9990
9981
|
key: 0,
|
|
9991
9982
|
class: "ao-project-overview__add-template",
|
|
@@ -9996,8 +9987,8 @@ const X1 = /* @__PURE__ */ j(a8, [["render", s8], ["__scopeId", "data-v-cbe33527
|
|
|
9996
9987
|
]),
|
|
9997
9988
|
_: 1
|
|
9998
9989
|
}),
|
|
9999
|
-
p("div",
|
|
10000
|
-
V(
|
|
9990
|
+
p("div", i8, [
|
|
9991
|
+
V(Gf, {
|
|
10001
9992
|
phases: O.phases,
|
|
10002
9993
|
"closed-status": O.closedStatus,
|
|
10003
9994
|
"is-editable": O.isEditable === !0,
|
|
@@ -10040,18 +10031,18 @@ const X1 = /* @__PURE__ */ j(a8, [["render", s8], ["__scopeId", "data-v-cbe33527
|
|
|
10040
10031
|
"is-editable": O.isEditable,
|
|
10041
10032
|
"attachment-enabled": O.attachmentEnabled,
|
|
10042
10033
|
"onUpdate:activity": f,
|
|
10043
|
-
onAddSubtask:
|
|
10044
|
-
onUpdateSubtask:
|
|
10034
|
+
onAddSubtask: w,
|
|
10035
|
+
onUpdateSubtask: _,
|
|
10045
10036
|
onDeleteSubtask: m,
|
|
10046
|
-
onAddFiles:
|
|
10037
|
+
onAddFiles: y,
|
|
10047
10038
|
onRemoveFile: S,
|
|
10048
10039
|
onAddComment: D,
|
|
10049
10040
|
onUpdateComment: L,
|
|
10050
10041
|
onRemoveComment: Z
|
|
10051
10042
|
}, {
|
|
10052
|
-
default:
|
|
10043
|
+
default: W(({ Component: F }) => [
|
|
10053
10044
|
(v(), R(vt(F), null, {
|
|
10054
|
-
default:
|
|
10045
|
+
default: W((E) => [
|
|
10055
10046
|
te(O.$slots, "activityDetailsBody", ua(da(E)))
|
|
10056
10047
|
]),
|
|
10057
10048
|
_: 2
|
|
@@ -10062,48 +10053,48 @@ const X1 = /* @__PURE__ */ j(a8, [["render", s8], ["__scopeId", "data-v-cbe33527
|
|
|
10062
10053
|
]))
|
|
10063
10054
|
], 16),
|
|
10064
10055
|
(v(), R(Ht, { to: "body" }, [
|
|
10065
|
-
U.value ? (v(), R(
|
|
10056
|
+
U.value ? (v(), R(e8, {
|
|
10066
10057
|
key: 0,
|
|
10067
10058
|
"project-id": O.project.id,
|
|
10068
10059
|
templates: O.templates,
|
|
10069
10060
|
onClose: Y[4] || (Y[4] = (F) => U.value = !1),
|
|
10070
|
-
onApply:
|
|
10061
|
+
onApply: q
|
|
10071
10062
|
}, null, 8, ["project-id", "templates"])) : T("", !0)
|
|
10072
10063
|
]))
|
|
10073
10064
|
], 64);
|
|
10074
10065
|
};
|
|
10075
10066
|
}
|
|
10076
10067
|
});
|
|
10077
|
-
const
|
|
10068
|
+
const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
10078
10069
|
key: 1,
|
|
10079
10070
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10080
|
-
},
|
|
10071
|
+
}, u8 = {
|
|
10081
10072
|
key: 2,
|
|
10082
10073
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10083
|
-
},
|
|
10074
|
+
}, d8 = { class: "ao-card-feed__body" }, c8 = {
|
|
10084
10075
|
key: 0,
|
|
10085
10076
|
class: "ao-card-feed__breadcrumbs"
|
|
10086
|
-
},
|
|
10077
|
+
}, f8 = {
|
|
10087
10078
|
class: /* @__PURE__ */ x(["ao-card-feed__title-group"])
|
|
10088
|
-
},
|
|
10079
|
+
}, v8 = {
|
|
10089
10080
|
key: 1,
|
|
10090
10081
|
class: "ao-card-feed__deadline"
|
|
10091
|
-
},
|
|
10082
|
+
}, p8 = { class: "ao-card-feed__footer" }, m8 = { class: "ao-card-feed__footer-row" }, h8 = { class: "ao-assignees" }, C8 = {
|
|
10092
10083
|
key: 0,
|
|
10093
10084
|
class: "ao-assignee"
|
|
10094
|
-
},
|
|
10085
|
+
}, g8 = {
|
|
10095
10086
|
key: 0,
|
|
10096
10087
|
class: "ao-card-feed__subitems"
|
|
10097
|
-
},
|
|
10088
|
+
}, _8 = {
|
|
10098
10089
|
key: 0,
|
|
10099
10090
|
class: "ao-card-feed__subitem"
|
|
10100
|
-
},
|
|
10091
|
+
}, y8 = { class: "ao-card-feed__subitem" }, b8 = {
|
|
10101
10092
|
key: 1,
|
|
10102
10093
|
class: "ao-card-feed__subitem"
|
|
10103
|
-
},
|
|
10094
|
+
}, w8 = { class: "ao-card-feed__subitem" }, $8 = { class: "ao-card-feed__footer-row" }, k8 = {
|
|
10104
10095
|
key: 0,
|
|
10105
10096
|
class: "ao-card-feed__progress-wrapper"
|
|
10106
|
-
},
|
|
10097
|
+
}, M8 = { class: "ao-card-feed__subitem" }, A8 = { class: "ao-card-feed__subitem" }, Q1 = /* @__PURE__ */ J({
|
|
10107
10098
|
__name: "AoCardFeed",
|
|
10108
10099
|
props: {
|
|
10109
10100
|
id: {},
|
|
@@ -10143,8 +10134,8 @@ const l8 = { class: "ao-card-feed__header" }, u8 = {
|
|
|
10143
10134
|
class: x(["ao-card-feed", { "ao-card-feed--closed": c.isClosed }]),
|
|
10144
10135
|
"is-clickable": !0
|
|
10145
10136
|
}, {
|
|
10146
|
-
header:
|
|
10147
|
-
p("div",
|
|
10137
|
+
header: W(() => [
|
|
10138
|
+
p("div", r8, [
|
|
10148
10139
|
(c.isFeedView ? c.milestoneName : c.projectName) ? (v(), R(yn, {
|
|
10149
10140
|
key: 0,
|
|
10150
10141
|
label: (c.isFeedView ? c.milestoneName : c.projectName) ?? "",
|
|
@@ -10153,7 +10144,7 @@ const l8 = { class: "ao-card-feed__header" }, u8 = {
|
|
|
10153
10144
|
color: c.projectColor ? void 0 : "primary",
|
|
10154
10145
|
"raw-color": c.projectColor
|
|
10155
10146
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10156
|
-
c.isPrivate || c.important || c.isClosed ? (v(), g("div",
|
|
10147
|
+
c.isPrivate || c.important || c.isClosed ? (v(), g("div", l8, [
|
|
10157
10148
|
c.isPrivate ? (v(), R(fe, {
|
|
10158
10149
|
key: 0,
|
|
10159
10150
|
name: "Lock",
|
|
@@ -10172,15 +10163,15 @@ const l8 = { class: "ao-card-feed__header" }, u8 = {
|
|
|
10172
10163
|
class: "ao-card-feed__closed"
|
|
10173
10164
|
})) : T("", !0)
|
|
10174
10165
|
])) : T("", !0),
|
|
10175
|
-
c.$slots.secondary ? (v(), g("div",
|
|
10166
|
+
c.$slots.secondary ? (v(), g("div", u8, [
|
|
10176
10167
|
te(c.$slots, "secondary")
|
|
10177
10168
|
])) : T("", !0)
|
|
10178
10169
|
])
|
|
10179
10170
|
]),
|
|
10180
|
-
default:
|
|
10181
|
-
p("div",
|
|
10182
|
-
s.value ? (v(), g("span",
|
|
10183
|
-
p("div",
|
|
10171
|
+
default: W(() => [
|
|
10172
|
+
p("div", d8, [
|
|
10173
|
+
s.value ? (v(), g("span", c8, K(s.value), 1)) : T("", !0),
|
|
10174
|
+
p("div", f8, [
|
|
10184
10175
|
V(_e, {
|
|
10185
10176
|
id: c.id,
|
|
10186
10177
|
title: c.name,
|
|
@@ -10189,17 +10180,17 @@ const l8 = { class: "ao-card-feed__header" }, u8 = {
|
|
|
10189
10180
|
"onUpdate:title": n
|
|
10190
10181
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10191
10182
|
]),
|
|
10192
|
-
c.deadline ? (v(), g("span",
|
|
10183
|
+
c.deadline ? (v(), g("span", v8, K(i.value), 1)) : T("", !0)
|
|
10193
10184
|
])
|
|
10194
10185
|
]),
|
|
10195
|
-
footer:
|
|
10196
|
-
p("div",
|
|
10197
|
-
p("div",
|
|
10198
|
-
p("ul",
|
|
10186
|
+
footer: W(() => [
|
|
10187
|
+
p("div", p8, [
|
|
10188
|
+
p("div", m8, [
|
|
10189
|
+
p("ul", h8, [
|
|
10199
10190
|
(v(!0), g(Ce, null, ye(o.value, (C) => (v(), g(Ce, {
|
|
10200
10191
|
key: C.id
|
|
10201
10192
|
}, [
|
|
10202
|
-
C ? (v(), g("li",
|
|
10193
|
+
C ? (v(), g("li", C8, [
|
|
10203
10194
|
V(Xe, {
|
|
10204
10195
|
"user-name": X(V1)(C),
|
|
10205
10196
|
"avatar-url": C.avatarUrl,
|
|
@@ -10209,31 +10200,31 @@ const l8 = { class: "ao-card-feed__header" }, u8 = {
|
|
|
10209
10200
|
])) : T("", !0)
|
|
10210
10201
|
], 64))), 128))
|
|
10211
10202
|
]),
|
|
10212
|
-
c.comments || c.attachments ? (v(), g("ul",
|
|
10213
|
-
c.comments ? (v(), g("li",
|
|
10203
|
+
c.comments || c.attachments ? (v(), g("ul", g8, [
|
|
10204
|
+
c.comments ? (v(), g("li", _8, [
|
|
10214
10205
|
V(fe, {
|
|
10215
10206
|
name: "ChatOutline",
|
|
10216
10207
|
size: "sm"
|
|
10217
10208
|
}),
|
|
10218
|
-
p("span",
|
|
10209
|
+
p("span", y8, K(c.comments), 1)
|
|
10219
10210
|
])) : T("", !0),
|
|
10220
|
-
c.attachments ? (v(), g("li",
|
|
10211
|
+
c.attachments ? (v(), g("li", b8, [
|
|
10221
10212
|
V(fe, {
|
|
10222
10213
|
name: "AttachFileRounded",
|
|
10223
10214
|
size: "sm"
|
|
10224
10215
|
}),
|
|
10225
|
-
p("span",
|
|
10216
|
+
p("span", w8, K(c.attachments), 1)
|
|
10226
10217
|
])) : T("", !0)
|
|
10227
10218
|
])) : T("", !0)
|
|
10228
10219
|
]),
|
|
10229
|
-
p("div",
|
|
10230
|
-
c.tasks && c.tasks.length ? (v(), g("div",
|
|
10231
|
-
p("div",
|
|
10220
|
+
p("div", $8, [
|
|
10221
|
+
c.tasks && c.tasks.length ? (v(), g("div", k8, [
|
|
10222
|
+
p("div", M8, [
|
|
10232
10223
|
V(fe, {
|
|
10233
10224
|
name: "SelectCheckBox",
|
|
10234
10225
|
size: "sm"
|
|
10235
10226
|
}),
|
|
10236
|
-
p("span",
|
|
10227
|
+
p("span", A8, K(d.value) + " / " + K(u.value), 1)
|
|
10237
10228
|
]),
|
|
10238
10229
|
V(Nn, {
|
|
10239
10230
|
percentages: l.value,
|
|
@@ -10247,10 +10238,10 @@ const l8 = { class: "ao-card-feed__header" }, u8 = {
|
|
|
10247
10238
|
}, 8, ["class"]));
|
|
10248
10239
|
}
|
|
10249
10240
|
});
|
|
10250
|
-
const
|
|
10241
|
+
const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-milestone__header" }, O8 = { class: "ao-project-milestone__header_line" }, E8 = { class: "ao-project-milestone__header_line" }, I8 = { class: "ao-project-milestone__title" }, L8 = {
|
|
10251
10242
|
key: 0,
|
|
10252
10243
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
10253
|
-
},
|
|
10244
|
+
}, V8 = { class: "ao-field__row ao-milestone__field-row" }, D8 = { class: "ao-field ao-field--inline" }, P8 = { class: "ao-field__row ao-milestone__field-row" }, H8 = { class: "ao-field ao-milestone__field-multiselect" }, B8 = { class: "ao-project-milestone__body" }, R8 = {
|
|
10254
10245
|
key: 0,
|
|
10255
10246
|
class: "ao-project-milestone__footer"
|
|
10256
10247
|
}, f1 = /* @__PURE__ */ J({
|
|
@@ -10323,7 +10314,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10323
10314
|
value: A.id,
|
|
10324
10315
|
avatar: A.avatarUrl
|
|
10325
10316
|
}))) || [];
|
|
10326
|
-
}),
|
|
10317
|
+
}), w = M({
|
|
10327
10318
|
get() {
|
|
10328
10319
|
var m, A;
|
|
10329
10320
|
return (A = (m = i.value) == null ? void 0 : m.assignee) != null && A.id ? [i.value.assignee.id] : [];
|
|
@@ -10335,7 +10326,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10335
10326
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
10336
10327
|
});
|
|
10337
10328
|
}
|
|
10338
|
-
}),
|
|
10329
|
+
}), _ = M({
|
|
10339
10330
|
get() {
|
|
10340
10331
|
var m;
|
|
10341
10332
|
return ((m = i.value) == null ? void 0 : m.important) ?? !1;
|
|
@@ -10345,10 +10336,10 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10345
10336
|
}
|
|
10346
10337
|
});
|
|
10347
10338
|
return (m, A) => {
|
|
10348
|
-
var
|
|
10349
|
-
return v(), g("div",
|
|
10350
|
-
p("header",
|
|
10351
|
-
p("div",
|
|
10339
|
+
var y;
|
|
10340
|
+
return v(), g("div", T8, [
|
|
10341
|
+
p("header", S8, [
|
|
10342
|
+
p("div", O8, [
|
|
10352
10343
|
V(de, {
|
|
10353
10344
|
"icon-name": "CloseRounded",
|
|
10354
10345
|
variant: "ghost",
|
|
@@ -10357,15 +10348,15 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10357
10348
|
onClick: u
|
|
10358
10349
|
})
|
|
10359
10350
|
]),
|
|
10360
|
-
p("div",
|
|
10361
|
-
p("div",
|
|
10351
|
+
p("div", E8, [
|
|
10352
|
+
p("div", I8, [
|
|
10362
10353
|
V(_e, {
|
|
10363
|
-
title: ((
|
|
10354
|
+
title: ((y = i.value) == null ? void 0 : y.name) || m.milestoneId,
|
|
10364
10355
|
level: 5
|
|
10365
10356
|
}, null, 8, ["title"]),
|
|
10366
10357
|
V(Cn, {
|
|
10367
|
-
modelValue:
|
|
10368
|
-
"onUpdate:modelValue": A[0] || (A[0] = (S) =>
|
|
10358
|
+
modelValue: _.value,
|
|
10359
|
+
"onUpdate:modelValue": A[0] || (A[0] = (S) => _.value = S),
|
|
10369
10360
|
modelModifiers: { lazy: !0 },
|
|
10370
10361
|
disabled: !m.isEditable,
|
|
10371
10362
|
class: "ao-milestone__important",
|
|
@@ -10377,9 +10368,9 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10377
10368
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
10378
10369
|
])
|
|
10379
10370
|
]),
|
|
10380
|
-
i.value ? (v(), g("div",
|
|
10381
|
-
p("div",
|
|
10382
|
-
p("label",
|
|
10371
|
+
i.value ? (v(), g("div", L8, [
|
|
10372
|
+
p("div", V8, [
|
|
10373
|
+
p("label", D8, [
|
|
10383
10374
|
rt(p("input", {
|
|
10384
10375
|
"onUpdate:modelValue": A[1] || (A[1] = (S) => f.value = S),
|
|
10385
10376
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -10394,11 +10385,11 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10394
10385
|
])
|
|
10395
10386
|
])
|
|
10396
10387
|
]),
|
|
10397
|
-
p("div",
|
|
10398
|
-
p("label",
|
|
10388
|
+
p("div", P8, [
|
|
10389
|
+
p("label", H8, [
|
|
10399
10390
|
V($e, {
|
|
10400
|
-
modelValue:
|
|
10401
|
-
"onUpdate:modelValue": A[2] || (A[2] = (S) =>
|
|
10391
|
+
modelValue: w.value,
|
|
10392
|
+
"onUpdate:modelValue": A[2] || (A[2] = (S) => w.value = S),
|
|
10402
10393
|
options: $.value,
|
|
10403
10394
|
"close-on-select": !0,
|
|
10404
10395
|
searchable: !0,
|
|
@@ -10409,7 +10400,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10409
10400
|
disabled: !m.isEditable,
|
|
10410
10401
|
caret: m.isEditable
|
|
10411
10402
|
}, {
|
|
10412
|
-
tag:
|
|
10403
|
+
tag: W(({
|
|
10413
10404
|
option: S,
|
|
10414
10405
|
handleTagRemove: D
|
|
10415
10406
|
}) => [
|
|
@@ -10426,7 +10417,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10426
10417
|
])
|
|
10427
10418
|
])) : T("", !0)
|
|
10428
10419
|
]),
|
|
10429
|
-
p("div",
|
|
10420
|
+
p("div", B8, [
|
|
10430
10421
|
V(X(pt), Ve({
|
|
10431
10422
|
class: "ao-project-milestone__activities",
|
|
10432
10423
|
list: r.value,
|
|
@@ -10434,7 +10425,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10434
10425
|
"item-key": "id",
|
|
10435
10426
|
group: "kanban"
|
|
10436
10427
|
}, m.$attrs, { onChange: c }), {
|
|
10437
|
-
item:
|
|
10428
|
+
item: W(({ element: S }) => {
|
|
10438
10429
|
var D, L, Z, U;
|
|
10439
10430
|
return [
|
|
10440
10431
|
V(Q1, {
|
|
@@ -10452,7 +10443,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10452
10443
|
"is-editable": m.isEditable,
|
|
10453
10444
|
"is-private": S.private,
|
|
10454
10445
|
"is-closed": C(S),
|
|
10455
|
-
onClick: (
|
|
10446
|
+
onClick: (q) => m.$router.push({
|
|
10456
10447
|
name: X(Ue).activity,
|
|
10457
10448
|
params: { milestoneId: m.milestoneId, activityId: S.id }
|
|
10458
10449
|
}),
|
|
@@ -10461,7 +10452,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10461
10452
|
}, Na({ _: 2 }, [
|
|
10462
10453
|
m.isEditable ? {
|
|
10463
10454
|
name: "secondary",
|
|
10464
|
-
fn:
|
|
10455
|
+
fn: W(() => [
|
|
10465
10456
|
m.isEditable && S.active ? (v(), R(de, {
|
|
10466
10457
|
key: 0,
|
|
10467
10458
|
color: "primary",
|
|
@@ -10495,7 +10486,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10495
10486
|
}),
|
|
10496
10487
|
_: 1
|
|
10497
10488
|
}, 16, ["list", "disabled"]),
|
|
10498
|
-
m.isEditable ? (v(), g("div",
|
|
10489
|
+
m.isEditable ? (v(), g("div", R8, [
|
|
10499
10490
|
V(mt, {
|
|
10500
10491
|
"icon-name": "Add",
|
|
10501
10492
|
label: m.$t("project.activity.add"),
|
|
@@ -10507,7 +10498,7 @@ const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-mileston
|
|
|
10507
10498
|
};
|
|
10508
10499
|
}
|
|
10509
10500
|
});
|
|
10510
|
-
const
|
|
10501
|
+
const N8 = /* @__PURE__ */ J({
|
|
10511
10502
|
__name: "AoProjectOverviewActivityDetails",
|
|
10512
10503
|
props: {
|
|
10513
10504
|
phaseId: {},
|
|
@@ -10527,56 +10518,56 @@ const j8 = /* @__PURE__ */ J({
|
|
|
10527
10518
|
emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
10528
10519
|
setup(t, { emit: e }) {
|
|
10529
10520
|
const a = t, n = M(() => {
|
|
10530
|
-
var
|
|
10531
|
-
return (
|
|
10521
|
+
var _;
|
|
10522
|
+
return (_ = a.phases) == null ? void 0 : _.find((m) => m.id === a.phaseId);
|
|
10532
10523
|
}), s = M(
|
|
10533
10524
|
() => {
|
|
10534
|
-
var
|
|
10535
|
-
return (
|
|
10525
|
+
var _;
|
|
10526
|
+
return (_ = a.phases) == null ? void 0 : _.flatMap((m) => m.milestones);
|
|
10536
10527
|
}
|
|
10537
10528
|
), o = M(() => {
|
|
10538
|
-
var
|
|
10539
|
-
return (
|
|
10529
|
+
var _;
|
|
10530
|
+
return (_ = s.value) == null ? void 0 : _.find((m) => m.id === a.milestoneId);
|
|
10540
10531
|
}), i = M(() => {
|
|
10541
|
-
var
|
|
10542
|
-
return (
|
|
10543
|
-
}), r = (
|
|
10544
|
-
e("update:activity",
|
|
10545
|
-
}, u = (
|
|
10546
|
-
e("addSubtask",
|
|
10547
|
-
}, d = (
|
|
10548
|
-
e("updateSubtask",
|
|
10549
|
-
}, l = (
|
|
10550
|
-
e("deleteSubtask",
|
|
10551
|
-
}, c = (
|
|
10552
|
-
e("addFiles",
|
|
10553
|
-
}, f = (
|
|
10554
|
-
e("removeFile",
|
|
10555
|
-
}, C = (
|
|
10556
|
-
e("addComment",
|
|
10557
|
-
}, $ = (
|
|
10558
|
-
e("updateComment",
|
|
10559
|
-
},
|
|
10560
|
-
e("removeComment",
|
|
10532
|
+
var _;
|
|
10533
|
+
return (_ = a.activities) == null ? void 0 : _.find((m) => m.id === a.activityId);
|
|
10534
|
+
}), r = (_) => {
|
|
10535
|
+
e("update:activity", _);
|
|
10536
|
+
}, u = (_) => {
|
|
10537
|
+
e("addSubtask", _);
|
|
10538
|
+
}, d = (_) => {
|
|
10539
|
+
e("updateSubtask", _);
|
|
10540
|
+
}, l = (_) => {
|
|
10541
|
+
e("deleteSubtask", _);
|
|
10542
|
+
}, c = (_) => {
|
|
10543
|
+
e("addFiles", _);
|
|
10544
|
+
}, f = (_) => {
|
|
10545
|
+
e("removeFile", _);
|
|
10546
|
+
}, C = (_) => {
|
|
10547
|
+
e("addComment", _);
|
|
10548
|
+
}, $ = (_) => {
|
|
10549
|
+
e("updateComment", _);
|
|
10550
|
+
}, w = (_) => {
|
|
10551
|
+
e("removeComment", _);
|
|
10561
10552
|
};
|
|
10562
|
-
return (
|
|
10563
|
-
var A,
|
|
10553
|
+
return (_, m) => {
|
|
10554
|
+
var A, y;
|
|
10564
10555
|
return i.value ? (v(), R(Bn, {
|
|
10565
10556
|
key: 0,
|
|
10566
10557
|
activity: i.value,
|
|
10567
|
-
"activity-types":
|
|
10568
|
-
"milestone-id":
|
|
10569
|
-
"template-activities":
|
|
10558
|
+
"activity-types": _.activityTypes,
|
|
10559
|
+
"milestone-id": _.milestoneId,
|
|
10560
|
+
"template-activities": _.activities,
|
|
10570
10561
|
"is-template": !1,
|
|
10571
|
-
users:
|
|
10572
|
-
"user-id":
|
|
10573
|
-
"is-task-checkable":
|
|
10574
|
-
statuses:
|
|
10575
|
-
breadcrumbs: `${(A = n.value) == null ? void 0 : A.name} / ${(
|
|
10576
|
-
"is-editable":
|
|
10577
|
-
"attachment-enabled":
|
|
10578
|
-
projects: [
|
|
10579
|
-
onClose:
|
|
10562
|
+
users: _.users,
|
|
10563
|
+
"user-id": _.userId,
|
|
10564
|
+
"is-task-checkable": _.isTaskCheckable,
|
|
10565
|
+
statuses: _.statuses,
|
|
10566
|
+
breadcrumbs: `${(A = n.value) == null ? void 0 : A.name} / ${(y = o.value) == null ? void 0 : y.name}`,
|
|
10567
|
+
"is-editable": _.isEditable,
|
|
10568
|
+
"attachment-enabled": _.attachmentEnabled,
|
|
10569
|
+
projects: [_.project],
|
|
10570
|
+
onClose: _.$router.back,
|
|
10580
10571
|
"onUpdate:activity": r,
|
|
10581
10572
|
onAddSubtask: u,
|
|
10582
10573
|
onUpdateSubtask: d,
|
|
@@ -10585,23 +10576,23 @@ const j8 = /* @__PURE__ */ J({
|
|
|
10585
10576
|
onRemoveFile: f,
|
|
10586
10577
|
onAddComment: C,
|
|
10587
10578
|
onUpdateComment: $,
|
|
10588
|
-
onRemoveComment:
|
|
10579
|
+
onRemoveComment: w
|
|
10589
10580
|
}, {
|
|
10590
|
-
default:
|
|
10591
|
-
te(
|
|
10581
|
+
default: W((S) => [
|
|
10582
|
+
te(_.$slots, "default", ua(da(S)))
|
|
10592
10583
|
]),
|
|
10593
10584
|
_: 3
|
|
10594
10585
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
10595
10586
|
};
|
|
10596
10587
|
}
|
|
10597
|
-
}),
|
|
10588
|
+
}), j8 = { class: "ao-col-header" }, U8 = /* @__PURE__ */ J({
|
|
10598
10589
|
__name: "AoColHeader",
|
|
10599
10590
|
props: {
|
|
10600
10591
|
title: {},
|
|
10601
10592
|
items: {}
|
|
10602
10593
|
},
|
|
10603
10594
|
setup(t) {
|
|
10604
|
-
return (e, a) => (v(), g("header",
|
|
10595
|
+
return (e, a) => (v(), g("header", j8, [
|
|
10605
10596
|
V(_e, {
|
|
10606
10597
|
title: e.title,
|
|
10607
10598
|
class: "ao-col-header__title",
|
|
@@ -10617,17 +10608,17 @@ const j8 = /* @__PURE__ */ J({
|
|
|
10617
10608
|
]));
|
|
10618
10609
|
}
|
|
10619
10610
|
});
|
|
10620
|
-
function
|
|
10611
|
+
function Z8(t) {
|
|
10621
10612
|
return $s() ? (ks(t), !0) : !1;
|
|
10622
10613
|
}
|
|
10623
10614
|
function Ba(t) {
|
|
10624
10615
|
return typeof t == "function" ? t() : X(t);
|
|
10625
10616
|
}
|
|
10626
|
-
const
|
|
10617
|
+
const F8 = typeof window < "u" && typeof document < "u";
|
|
10627
10618
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
10628
10619
|
const W8 = (t) => t != null, na = () => {
|
|
10629
10620
|
};
|
|
10630
|
-
function
|
|
10621
|
+
function q8(t, e) {
|
|
10631
10622
|
function a(...n) {
|
|
10632
10623
|
return new Promise((s, o) => {
|
|
10633
10624
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -10635,7 +10626,7 @@ function z8(t, e) {
|
|
|
10635
10626
|
}
|
|
10636
10627
|
return a;
|
|
10637
10628
|
}
|
|
10638
|
-
function
|
|
10629
|
+
function z8(t, e = {}) {
|
|
10639
10630
|
let a, n, s = na;
|
|
10640
10631
|
const o = (r) => {
|
|
10641
10632
|
clearTimeout(r), s(), s = na;
|
|
@@ -10651,9 +10642,9 @@ function x8(t, e = {}) {
|
|
|
10651
10642
|
});
|
|
10652
10643
|
};
|
|
10653
10644
|
}
|
|
10654
|
-
function
|
|
10655
|
-
return
|
|
10656
|
-
|
|
10645
|
+
function x8(t, e = 200, a = {}) {
|
|
10646
|
+
return q8(
|
|
10647
|
+
z8(e, a),
|
|
10657
10648
|
t
|
|
10658
10649
|
);
|
|
10659
10650
|
}
|
|
@@ -10662,51 +10653,51 @@ function cn(t) {
|
|
|
10662
10653
|
const a = Ba(t);
|
|
10663
10654
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
10664
10655
|
}
|
|
10665
|
-
const
|
|
10666
|
-
function
|
|
10656
|
+
const Y8 = F8 ? window : void 0;
|
|
10657
|
+
function G8() {
|
|
10667
10658
|
const t = ae(!1), e = Mt();
|
|
10668
|
-
return e &&
|
|
10659
|
+
return e && Wt(() => {
|
|
10669
10660
|
t.value = !0;
|
|
10670
10661
|
}, e), t;
|
|
10671
10662
|
}
|
|
10672
|
-
function
|
|
10673
|
-
const e =
|
|
10663
|
+
function K8(t) {
|
|
10664
|
+
const e = G8();
|
|
10674
10665
|
return M(() => (e.value, !!t()));
|
|
10675
10666
|
}
|
|
10676
|
-
function
|
|
10667
|
+
function X8(t, e, a = {}) {
|
|
10677
10668
|
const {
|
|
10678
10669
|
root: n,
|
|
10679
10670
|
rootMargin: s = "0px",
|
|
10680
10671
|
threshold: o = 0.1,
|
|
10681
|
-
window: i =
|
|
10672
|
+
window: i = Y8,
|
|
10682
10673
|
immediate: r = !0
|
|
10683
|
-
} = a, u =
|
|
10674
|
+
} = a, u = K8(() => i && "IntersectionObserver" in i), d = M(() => {
|
|
10684
10675
|
const $ = Ba(t);
|
|
10685
10676
|
return (Array.isArray($) ? $ : [$]).map(cn).filter(W8);
|
|
10686
10677
|
});
|
|
10687
10678
|
let l = na;
|
|
10688
10679
|
const c = ae(r), f = u.value ? ce(
|
|
10689
10680
|
() => [d.value, cn(n), c.value],
|
|
10690
|
-
([$,
|
|
10681
|
+
([$, w]) => {
|
|
10691
10682
|
if (l(), !c.value || !$.length)
|
|
10692
10683
|
return;
|
|
10693
|
-
const
|
|
10684
|
+
const _ = new IntersectionObserver(
|
|
10694
10685
|
e,
|
|
10695
10686
|
{
|
|
10696
|
-
root: cn(
|
|
10687
|
+
root: cn(w),
|
|
10697
10688
|
rootMargin: s,
|
|
10698
10689
|
threshold: o
|
|
10699
10690
|
}
|
|
10700
10691
|
);
|
|
10701
|
-
$.forEach((m) => m &&
|
|
10702
|
-
|
|
10692
|
+
$.forEach((m) => m && _.observe(m)), l = () => {
|
|
10693
|
+
_.disconnect(), l = na;
|
|
10703
10694
|
};
|
|
10704
10695
|
},
|
|
10705
10696
|
{ immediate: r, flush: "post" }
|
|
10706
10697
|
) : na, C = () => {
|
|
10707
10698
|
l(), f(), c.value = !1;
|
|
10708
10699
|
};
|
|
10709
|
-
return
|
|
10700
|
+
return Z8(C), {
|
|
10710
10701
|
isSupported: u,
|
|
10711
10702
|
isActive: c,
|
|
10712
10703
|
pause() {
|
|
@@ -10718,24 +10709,24 @@ function Q8(t, e, a = {}) {
|
|
|
10718
10709
|
stop: C
|
|
10719
10710
|
};
|
|
10720
10711
|
}
|
|
10721
|
-
const
|
|
10712
|
+
const Q8 = {
|
|
10722
10713
|
class: /* @__PURE__ */ x(["ao-list-kanban"])
|
|
10723
|
-
},
|
|
10714
|
+
}, J8 = { class: "ao-list-kanban__header" }, ev = {
|
|
10724
10715
|
key: 0,
|
|
10725
10716
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
10726
|
-
},
|
|
10717
|
+
}, tv = {
|
|
10727
10718
|
key: 1,
|
|
10728
10719
|
class: "ao-list-kanban__end"
|
|
10729
|
-
},
|
|
10720
|
+
}, av = {
|
|
10730
10721
|
key: 0,
|
|
10731
10722
|
class: "ao-list-kanban__no-more"
|
|
10732
|
-
},
|
|
10723
|
+
}, nv = {
|
|
10733
10724
|
key: 1,
|
|
10734
10725
|
class: "ao-list-kanban__divider"
|
|
10735
|
-
},
|
|
10726
|
+
}, sv = {
|
|
10736
10727
|
key: 1,
|
|
10737
10728
|
class: "ao-list-kanban__footer"
|
|
10738
|
-
},
|
|
10729
|
+
}, iv = /* @__PURE__ */ J({
|
|
10739
10730
|
__name: "AoListKanban",
|
|
10740
10731
|
props: {
|
|
10741
10732
|
list: {},
|
|
@@ -10753,7 +10744,7 @@ const J8 = {
|
|
|
10753
10744
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
10754
10745
|
setup(t, { emit: e }) {
|
|
10755
10746
|
const a = t, n = ae(!1), s = ae(null);
|
|
10756
|
-
|
|
10747
|
+
X8(s, ([{ isIntersecting: l }]) => {
|
|
10757
10748
|
n.value = l;
|
|
10758
10749
|
}), ce(n, (l) => {
|
|
10759
10750
|
l && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -10778,12 +10769,12 @@ const J8 = {
|
|
|
10778
10769
|
)
|
|
10779
10770
|
});
|
|
10780
10771
|
}, d = ae(!1);
|
|
10781
|
-
return (l, c) => (v(), g("div",
|
|
10772
|
+
return (l, c) => (v(), g("div", Q8, [
|
|
10782
10773
|
l.title || l.$slots.header ? te(l.$slots, "header", { key: 0 }, () => {
|
|
10783
10774
|
var f;
|
|
10784
10775
|
return [
|
|
10785
|
-
p("div",
|
|
10786
|
-
l.title ? (v(), R(
|
|
10776
|
+
p("div", J8, [
|
|
10777
|
+
l.title ? (v(), R(U8, {
|
|
10787
10778
|
key: 0,
|
|
10788
10779
|
title: l.title,
|
|
10789
10780
|
level: 3,
|
|
@@ -10810,8 +10801,8 @@ const J8 = {
|
|
|
10810
10801
|
name: "ao-list-kanban__transition"
|
|
10811
10802
|
}
|
|
10812
10803
|
}), {
|
|
10813
|
-
item:
|
|
10814
|
-
var C, $,
|
|
10804
|
+
item: W(({ element: f }) => {
|
|
10805
|
+
var C, $, w, _, m, A, y, S;
|
|
10815
10806
|
return [
|
|
10816
10807
|
V(Q1, {
|
|
10817
10808
|
class: x(o(f) ? "ao-list-draggable" : ""),
|
|
@@ -10819,7 +10810,7 @@ const J8 = {
|
|
|
10819
10810
|
name: f.name,
|
|
10820
10811
|
"project-name": (C = f.project) == null ? void 0 : C.name,
|
|
10821
10812
|
"project-color": ($ = f.project) == null ? void 0 : $.color,
|
|
10822
|
-
"phase-name": (
|
|
10813
|
+
"phase-name": (_ = (w = f.milestone) == null ? void 0 : w.phase) == null ? void 0 : _.name,
|
|
10823
10814
|
"milestone-name": (m = f.milestone) == null ? void 0 : m.name,
|
|
10824
10815
|
deadline: f.deadline,
|
|
10825
10816
|
rules: ((A = f.rules) == null ? void 0 : A.length) || 0,
|
|
@@ -10827,7 +10818,7 @@ const J8 = {
|
|
|
10827
10818
|
description: f.description,
|
|
10828
10819
|
important: f.important,
|
|
10829
10820
|
type: f.type,
|
|
10830
|
-
comments: (
|
|
10821
|
+
comments: (y = f.comments) == null ? void 0 : y.length,
|
|
10831
10822
|
attachments: (S = f.attachments) == null ? void 0 : S.length,
|
|
10832
10823
|
users: l.users,
|
|
10833
10824
|
assignee: f.assignee,
|
|
@@ -10838,7 +10829,7 @@ const J8 = {
|
|
|
10838
10829
|
onClick: () => i(f.id),
|
|
10839
10830
|
onRemoveAssignee: () => o(f) && r({ id: f.id, assigneeId: null })
|
|
10840
10831
|
}, {
|
|
10841
|
-
secondary:
|
|
10832
|
+
secondary: W(() => [
|
|
10842
10833
|
o(f) && f.active ? (v(), R(de, {
|
|
10843
10834
|
key: 0,
|
|
10844
10835
|
color: "primary",
|
|
@@ -10866,21 +10857,21 @@ const J8 = {
|
|
|
10866
10857
|
}, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "is-feed-view", "onUpdateActivity", "onClick", "onRemoveAssignee"])
|
|
10867
10858
|
];
|
|
10868
10859
|
}),
|
|
10869
|
-
footer:
|
|
10870
|
-
l.isLoading ? (v(), g("div",
|
|
10860
|
+
footer: W(() => [
|
|
10861
|
+
l.isLoading ? (v(), g("div", ev, [
|
|
10871
10862
|
V(fe, { name: "Loading" })
|
|
10872
10863
|
])) : l.hasMore ? (v(), g("div", {
|
|
10873
10864
|
key: 2,
|
|
10874
10865
|
ref_key: "scrollEnd",
|
|
10875
10866
|
ref: s,
|
|
10876
10867
|
class: "ao-list-kanban__end"
|
|
10877
|
-
}, null, 512)) : (v(), g("div",
|
|
10878
|
-
l.noMoreLabel ? (v(), g("span",
|
|
10868
|
+
}, null, 512)) : (v(), g("div", tv, [
|
|
10869
|
+
l.noMoreLabel ? (v(), g("span", av, K(l.noMoreLabel), 1)) : l.isEditable ? (v(), g("span", nv)) : T("", !0)
|
|
10879
10870
|
]))
|
|
10880
10871
|
]),
|
|
10881
10872
|
_: 1
|
|
10882
10873
|
}, 16, ["class", "list", "disabled"]),
|
|
10883
|
-
l.$slots.footer || l.footerLabel ? (v(), g("div",
|
|
10874
|
+
l.$slots.footer || l.footerLabel ? (v(), g("div", sv, [
|
|
10884
10875
|
te(l.$slots, "footer", {}, () => [
|
|
10885
10876
|
l.isEditable ? (v(), R(mt, {
|
|
10886
10877
|
key: 0,
|
|
@@ -10893,7 +10884,7 @@ const J8 = {
|
|
|
10893
10884
|
]));
|
|
10894
10885
|
}
|
|
10895
10886
|
});
|
|
10896
|
-
const
|
|
10887
|
+
const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder", "onKeypress"], lv = /* @__PURE__ */ J({
|
|
10897
10888
|
__name: "AoSearchField",
|
|
10898
10889
|
props: {
|
|
10899
10890
|
modelValue: {},
|
|
@@ -10905,10 +10896,10 @@ const rv = { class: "ao-field ao-search-field" }, lv = ["value", "placeholder",
|
|
|
10905
10896
|
const a = t, n = async (i) => {
|
|
10906
10897
|
const u = i.target.value;
|
|
10907
10898
|
e("update:modelValue", u, i);
|
|
10908
|
-
}, s =
|
|
10899
|
+
}, s = x8(n, a.delay), o = (i) => {
|
|
10909
10900
|
e("clear", i);
|
|
10910
10901
|
};
|
|
10911
|
-
return (i, r) => (v(), g("div",
|
|
10902
|
+
return (i, r) => (v(), g("div", ov, [
|
|
10912
10903
|
p("input", {
|
|
10913
10904
|
value: i.modelValue,
|
|
10914
10905
|
type: "text",
|
|
@@ -10917,7 +10908,7 @@ const rv = { class: "ao-field ao-search-field" }, lv = ["value", "placeholder",
|
|
|
10917
10908
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
10918
10909
|
(...u) => X(s) && X(s)(...u)),
|
|
10919
10910
|
onKeypress: ut(n, ["enter"])
|
|
10920
|
-
}, null, 40,
|
|
10911
|
+
}, null, 40, rv),
|
|
10921
10912
|
V(fe, {
|
|
10922
10913
|
name: "SearchRounded",
|
|
10923
10914
|
class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -10933,7 +10924,7 @@ const rv = { class: "ao-field ao-search-field" }, lv = ["value", "placeholder",
|
|
|
10933
10924
|
]));
|
|
10934
10925
|
}
|
|
10935
10926
|
});
|
|
10936
|
-
const
|
|
10927
|
+
const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { class: "ao-feed__body" }, fv = /* @__PURE__ */ J({
|
|
10937
10928
|
__name: "AoFeed",
|
|
10938
10929
|
props: {
|
|
10939
10930
|
activities: {},
|
|
@@ -10998,17 +10989,17 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
10998
10989
|
value: N.id,
|
|
10999
10990
|
label: N.name
|
|
11000
10991
|
}));
|
|
11001
|
-
}),
|
|
10992
|
+
}), w = M(() => a.users.map((E) => ({
|
|
11002
10993
|
value: E.id,
|
|
11003
10994
|
label: `${E.firstName} ${E.lastName}`,
|
|
11004
10995
|
avatar: E.avatarUrl
|
|
11005
|
-
}))),
|
|
10996
|
+
}))), _ = (E) => {
|
|
11006
10997
|
a.selectedActivity && e("update:activity", E);
|
|
11007
10998
|
}, m = (E) => {
|
|
11008
10999
|
e("update:activity", E);
|
|
11009
11000
|
}, A = (E) => {
|
|
11010
11001
|
e("archiveActivity", E);
|
|
11011
|
-
},
|
|
11002
|
+
}, y = (E) => {
|
|
11012
11003
|
e("unarchiveActivity", E);
|
|
11013
11004
|
}, S = (E) => {
|
|
11014
11005
|
u.value = !1, e("update:searchText", E);
|
|
@@ -11020,7 +11011,7 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
11020
11011
|
a.selectedActivity && e("updateSubtask", E);
|
|
11021
11012
|
}, U = (E) => {
|
|
11022
11013
|
a.selectedActivity && e("deleteSubtask", E);
|
|
11023
|
-
},
|
|
11014
|
+
}, q = (E) => {
|
|
11024
11015
|
e("addFiles", E);
|
|
11025
11016
|
}, O = (E) => {
|
|
11026
11017
|
e("removeFile", E);
|
|
@@ -11038,10 +11029,10 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
11038
11029
|
};
|
|
11039
11030
|
return (E, N) => {
|
|
11040
11031
|
var Q;
|
|
11041
|
-
return v(), g("div",
|
|
11042
|
-
V(
|
|
11043
|
-
primary:
|
|
11044
|
-
p("div",
|
|
11032
|
+
return v(), g("div", uv, [
|
|
11033
|
+
V(qa, null, {
|
|
11034
|
+
primary: W(() => [
|
|
11035
|
+
p("div", dv, [
|
|
11045
11036
|
a.project ? (v(), R(X1, {
|
|
11046
11037
|
key: 0,
|
|
11047
11038
|
"is-left": !1,
|
|
@@ -11051,7 +11042,7 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
11051
11042
|
k && E.$router.push({ name: X(Ue).project });
|
|
11052
11043
|
})
|
|
11053
11044
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
11054
|
-
V(
|
|
11045
|
+
V(lv, {
|
|
11055
11046
|
"model-value": E.searchText,
|
|
11056
11047
|
placeholder: E.$t("feed.search.placeholder"),
|
|
11057
11048
|
class: "ao-feed__search",
|
|
@@ -11080,18 +11071,18 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
11080
11071
|
placeholder: E.$t("feed.filters.activityType.placeholder"),
|
|
11081
11072
|
"onUpdate:modelValue": N[2] || (N[2] = (k) => c(X(Et).type, k))
|
|
11082
11073
|
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
11083
|
-
|
|
11074
|
+
w.value.length ? (v(), R($e, {
|
|
11084
11075
|
key: 3,
|
|
11085
11076
|
"model-value": E.filters[X(Et).assignee],
|
|
11086
11077
|
mode: "tags",
|
|
11087
|
-
options:
|
|
11078
|
+
options: w.value,
|
|
11088
11079
|
"close-on-select": !1,
|
|
11089
11080
|
searchable: !0,
|
|
11090
11081
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
11091
11082
|
placeholder: E.$t("feed.filters.assignee.placeholder"),
|
|
11092
11083
|
"onUpdate:modelValue": N[3] || (N[3] = (k) => c(X(Et).assignee, k))
|
|
11093
11084
|
}, {
|
|
11094
|
-
tag:
|
|
11085
|
+
tag: W(({
|
|
11095
11086
|
option: k,
|
|
11096
11087
|
handleTagRemove: h
|
|
11097
11088
|
}) => [
|
|
@@ -11132,8 +11123,8 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
11132
11123
|
]),
|
|
11133
11124
|
_: 1
|
|
11134
11125
|
}),
|
|
11135
|
-
p("div",
|
|
11136
|
-
(v(!0), g(Ce, null, ye(E.statuses, (k) => (v(), R(
|
|
11126
|
+
p("div", cv, [
|
|
11127
|
+
(v(!0), g(Ce, null, ye(E.statuses, (k) => (v(), R(iv, {
|
|
11137
11128
|
key: k.id,
|
|
11138
11129
|
status: k,
|
|
11139
11130
|
list: i.value[k.id],
|
|
@@ -11146,7 +11137,7 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
11146
11137
|
onAdd: () => l(k),
|
|
11147
11138
|
onSelectActivity: o,
|
|
11148
11139
|
onArchiveActivity: A,
|
|
11149
|
-
onUnarchiveActivity:
|
|
11140
|
+
onUnarchiveActivity: y,
|
|
11150
11141
|
onUpdateActivity: m
|
|
11151
11142
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "is-feed-view", "onAdd"]))), 128))
|
|
11152
11143
|
]),
|
|
@@ -11166,17 +11157,17 @@ const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { clas
|
|
|
11166
11157
|
"attachment-enabled": E.attachmentEnabled,
|
|
11167
11158
|
projects: f.value,
|
|
11168
11159
|
onClose: N[6] || (N[6] = () => o(null)),
|
|
11169
|
-
"onUpdate:activity":
|
|
11160
|
+
"onUpdate:activity": _,
|
|
11170
11161
|
onAddSubtask: L,
|
|
11171
11162
|
onUpdateSubtask: Z,
|
|
11172
11163
|
onDeleteSubtask: U,
|
|
11173
|
-
onAddFiles:
|
|
11164
|
+
onAddFiles: q,
|
|
11174
11165
|
onRemoveFile: O,
|
|
11175
11166
|
onAddComment: Y,
|
|
11176
11167
|
onUpdateComment: B,
|
|
11177
11168
|
onRemoveComment: F
|
|
11178
11169
|
}, {
|
|
11179
|
-
default:
|
|
11170
|
+
default: W((k) => [
|
|
11180
11171
|
te(E.$slots, "activityDetailsBody", ua(da(k)))
|
|
11181
11172
|
]),
|
|
11182
11173
|
_: 3
|
|
@@ -11190,7 +11181,7 @@ const Lt = {
|
|
|
11190
11181
|
TEMPLATES: "templates",
|
|
11191
11182
|
TEMPLATE_DETAILS: "template_details",
|
|
11192
11183
|
TEMPLATES_LIST: "templates_list"
|
|
11193
|
-
},
|
|
11184
|
+
}, Ov = (t, e = {}) => [
|
|
11194
11185
|
{
|
|
11195
11186
|
path: t,
|
|
11196
11187
|
name: Lt.TEMPLATES,
|
|
@@ -11200,7 +11191,7 @@ const Lt = {
|
|
|
11200
11191
|
{
|
|
11201
11192
|
path: "",
|
|
11202
11193
|
name: Lt.TEMPLATES_LIST,
|
|
11203
|
-
component:
|
|
11194
|
+
component: pv
|
|
11204
11195
|
},
|
|
11205
11196
|
{
|
|
11206
11197
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -11215,7 +11206,7 @@ const Lt = {
|
|
|
11215
11206
|
feed: "AoProjectFeed",
|
|
11216
11207
|
milestone: "AoMilestone",
|
|
11217
11208
|
activity: "AoActivity"
|
|
11218
|
-
},
|
|
11209
|
+
}, Ev = (t, e = {}) => [
|
|
11219
11210
|
{
|
|
11220
11211
|
path: t,
|
|
11221
11212
|
...e,
|
|
@@ -11224,7 +11215,7 @@ const Lt = {
|
|
|
11224
11215
|
{
|
|
11225
11216
|
path: "",
|
|
11226
11217
|
name: Ue.project,
|
|
11227
|
-
component:
|
|
11218
|
+
component: o8,
|
|
11228
11219
|
props: !0,
|
|
11229
11220
|
children: [
|
|
11230
11221
|
{
|
|
@@ -11239,7 +11230,7 @@ const Lt = {
|
|
|
11239
11230
|
props: { default: !0, modal: !0 },
|
|
11240
11231
|
components: {
|
|
11241
11232
|
default: f1,
|
|
11242
|
-
modal:
|
|
11233
|
+
modal: N8
|
|
11243
11234
|
}
|
|
11244
11235
|
}
|
|
11245
11236
|
]
|
|
@@ -11247,12 +11238,12 @@ const Lt = {
|
|
|
11247
11238
|
{
|
|
11248
11239
|
path: "feed",
|
|
11249
11240
|
name: Ue.feed,
|
|
11250
|
-
component:
|
|
11241
|
+
component: fv,
|
|
11251
11242
|
props: !0
|
|
11252
11243
|
}
|
|
11253
11244
|
]
|
|
11254
11245
|
}
|
|
11255
|
-
],
|
|
11246
|
+
], vv = { class: "ao-templates" }, pv = /* @__PURE__ */ J({
|
|
11256
11247
|
__name: "AoTemplatesList",
|
|
11257
11248
|
props: {
|
|
11258
11249
|
templates: {}
|
|
@@ -11292,9 +11283,9 @@ const Lt = {
|
|
|
11292
11283
|
});
|
|
11293
11284
|
}
|
|
11294
11285
|
};
|
|
11295
|
-
return (r, u) => (v(), g("div",
|
|
11296
|
-
V(
|
|
11297
|
-
secondary:
|
|
11286
|
+
return (r, u) => (v(), g("div", vv, [
|
|
11287
|
+
V(qa, null, {
|
|
11288
|
+
secondary: W(() => [
|
|
11298
11289
|
V(de, {
|
|
11299
11290
|
label: r.$t("templates.new"),
|
|
11300
11291
|
color: "primary",
|
|
@@ -11312,7 +11303,7 @@ const Lt = {
|
|
|
11312
11303
|
handle: ".ao-card__drag",
|
|
11313
11304
|
onChange: i
|
|
11314
11305
|
}, {
|
|
11315
|
-
item:
|
|
11306
|
+
item: W(({ element: d }) => {
|
|
11316
11307
|
var l;
|
|
11317
11308
|
return [
|
|
11318
11309
|
V(j3, {
|
|
@@ -11336,7 +11327,7 @@ const Lt = {
|
|
|
11336
11327
|
]));
|
|
11337
11328
|
}
|
|
11338
11329
|
});
|
|
11339
|
-
const
|
|
11330
|
+
const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
|
|
11340
11331
|
__name: "AoField",
|
|
11341
11332
|
props: {
|
|
11342
11333
|
label: {},
|
|
@@ -11346,11 +11337,11 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
|
|
|
11346
11337
|
return (e, a) => (v(), g("label", {
|
|
11347
11338
|
class: x(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
11348
11339
|
}, [
|
|
11349
|
-
p("span",
|
|
11340
|
+
p("span", mv, K(e.label), 1),
|
|
11350
11341
|
te(e.$slots, "default")
|
|
11351
11342
|
], 2));
|
|
11352
11343
|
}
|
|
11353
|
-
}),
|
|
11344
|
+
}), Cv = ["type", "value", "disabled", "readonly"], Iv = /* @__PURE__ */ J({
|
|
11354
11345
|
__name: "AoInputField",
|
|
11355
11346
|
props: {
|
|
11356
11347
|
label: { default: "" },
|
|
@@ -11367,8 +11358,8 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
|
|
|
11367
11358
|
), s = (o) => {
|
|
11368
11359
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
11369
11360
|
};
|
|
11370
|
-
return (o, i) => (v(), R(
|
|
11371
|
-
default:
|
|
11361
|
+
return (o, i) => (v(), R(hv, { label: o.label }, {
|
|
11362
|
+
default: W(() => [
|
|
11372
11363
|
p("input", Ve({
|
|
11373
11364
|
class: "ao-field__input",
|
|
11374
11365
|
type: o.type,
|
|
@@ -11377,12 +11368,12 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
|
|
|
11377
11368
|
readonly: o.isReadonly
|
|
11378
11369
|
}, {
|
|
11379
11370
|
[Ms(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
11380
|
-
}), null, 16,
|
|
11371
|
+
}), null, 16, Cv)
|
|
11381
11372
|
]),
|
|
11382
11373
|
_: 1
|
|
11383
11374
|
}, 8, ["label"]));
|
|
11384
11375
|
}
|
|
11385
|
-
}),
|
|
11376
|
+
}), gv = { class: "ao-field" }, _v = { class: "ao-field__label" }, yv = ["checked", "disabled"], Lv = /* @__PURE__ */ J({
|
|
11386
11377
|
__name: "AoCheckboxField",
|
|
11387
11378
|
props: {
|
|
11388
11379
|
label: { default: "" },
|
|
@@ -11392,8 +11383,8 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
|
|
|
11392
11383
|
},
|
|
11393
11384
|
emits: ["update:modelValue"],
|
|
11394
11385
|
setup(t) {
|
|
11395
|
-
return (e, a) => (v(), g("label",
|
|
11396
|
-
p("span",
|
|
11386
|
+
return (e, a) => (v(), g("label", gv, [
|
|
11387
|
+
p("span", _v, K(e.label), 1),
|
|
11397
11388
|
p("input", {
|
|
11398
11389
|
class: "ao-field__input",
|
|
11399
11390
|
type: "checkbox",
|
|
@@ -11406,28 +11397,28 @@ const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
|
|
|
11406
11397
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
11407
11398
|
);
|
|
11408
11399
|
})
|
|
11409
|
-
}, null, 40,
|
|
11400
|
+
}, null, 40, yv)
|
|
11410
11401
|
]));
|
|
11411
11402
|
}
|
|
11412
11403
|
});
|
|
11413
11404
|
export {
|
|
11414
11405
|
Q1 as AoCardFeed,
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11406
|
+
Lv as AoCheckboxField,
|
|
11407
|
+
fv as AoFeed,
|
|
11408
|
+
hv as AoField,
|
|
11409
|
+
Iv as AoInputField,
|
|
11419
11410
|
$e as AoMultiselect,
|
|
11420
|
-
|
|
11411
|
+
Gf as AoProjectPhases,
|
|
11421
11412
|
pf as AoTemplateDetails,
|
|
11422
|
-
|
|
11423
|
-
|
|
11413
|
+
Mv as AoTemplates,
|
|
11414
|
+
pv as AoTemplatesList,
|
|
11424
11415
|
O2 as TemplateItemTypeEnum,
|
|
11425
|
-
|
|
11426
|
-
|
|
11416
|
+
Tv as activityFeedStatus,
|
|
11417
|
+
Av as durationTypes,
|
|
11427
11418
|
Et as feedFilterTypes,
|
|
11428
|
-
|
|
11429
|
-
|
|
11430
|
-
|
|
11419
|
+
Ev as getProjectOverviewRoutes,
|
|
11420
|
+
Ov as getTemplateRoutes,
|
|
11421
|
+
Sv as listUpdateTypes,
|
|
11431
11422
|
fn as milestoneStatus,
|
|
11432
11423
|
Ue as projectOverviewRoutes,
|
|
11433
11424
|
A2 as ruleComparators,
|