@26lights/orcha 0.41.135 → 0.41.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.es.js +747 -763
- package/dist/orcha.umd.js +2 -2
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as X, openBlock as p, createBlock as B, unref as
|
|
1
|
+
import { defineComponent as X, openBlock as p, createBlock as B, unref as z, mergeProps as Ae, createElementBlock as _, createElementVNode as v, pushScopeId as Vi, popScopeId as Bi, createStaticVNode as ji, computed as S, resolveDynamicComponent as Lt, normalizeClass as ee, renderSlot as se, toDisplayString as W, createCommentVNode as O, ref as x, watch as de, nextTick as ke, withKeys as vt, toHandlers as Ri, withCtx as q, createTextVNode as As, createVNode as A, normalizeStyle as Fe, withModifiers as ve, createSlots as ha, Fragment as fe, renderList as Ce, onMounted as Pt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Dt, toRef as dt, normalizeProps as ma, guardReactiveProps as ga, withDirectives as Te, vShow as Ni, onUpdated as Ui, vModelText as Ne, resolveComponent as ut, vModelCheckbox as Fi, getCurrentScope as Zi, onScopeDispose as Wi, toHandlerKey as zi } from "vue";
|
|
2
2
|
import { RouterView as qi, useRoute as Yi, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const _4 = /* @__PURE__ */ X({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(), B(
|
|
10
|
+
return (e, a) => (p(), B(z(qi), Ae({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), Y = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -134,20 +134,20 @@ const Vo = /* @__PURE__ */ Y(Io, [["render", Ho]]), Bo = {}, jo = {
|
|
|
134
134
|
function Uo(t, e) {
|
|
135
135
|
return p(), _("svg", jo, No);
|
|
136
136
|
}
|
|
137
|
-
const Fo = /* @__PURE__ */ Y(Bo, [["render", Uo]]), Zo = {},
|
|
137
|
+
const Fo = /* @__PURE__ */ Y(Bo, [["render", Uo]]), Zo = {}, Wo = {
|
|
138
138
|
width: "24",
|
|
139
139
|
height: "24",
|
|
140
140
|
viewBox: "0 0 24 24",
|
|
141
141
|
fill: "none",
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg"
|
|
143
|
-
},
|
|
143
|
+
}, zo = /* @__PURE__ */ v("path", {
|
|
144
144
|
d: "M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",
|
|
145
145
|
fill: "black"
|
|
146
146
|
}, null, -1), qo = [
|
|
147
|
-
|
|
147
|
+
zo
|
|
148
148
|
];
|
|
149
149
|
function Yo(t, e) {
|
|
150
|
-
return p(), _("svg",
|
|
150
|
+
return p(), _("svg", Wo, qo);
|
|
151
151
|
}
|
|
152
152
|
const xo = /* @__PURE__ */ Y(Zo, [["render", Yo]]), Ko = {}, Go = {
|
|
153
153
|
width: "24",
|
|
@@ -269,20 +269,20 @@ const Vr = /* @__PURE__ */ Y(Ir, [["render", Hr]]), Br = {}, jr = {
|
|
|
269
269
|
function Ur(t, e) {
|
|
270
270
|
return p(), _("svg", jr, Nr);
|
|
271
271
|
}
|
|
272
|
-
const Fr = /* @__PURE__ */ Y(Br, [["render", Ur]]), Zr = {},
|
|
272
|
+
const Fr = /* @__PURE__ */ Y(Br, [["render", Ur]]), Zr = {}, Wr = {
|
|
273
273
|
width: "24",
|
|
274
274
|
height: "24",
|
|
275
275
|
viewBox: "0 0 24 24",
|
|
276
276
|
fill: "none",
|
|
277
277
|
xmlns: "http://www.w3.org/2000/svg"
|
|
278
|
-
},
|
|
278
|
+
}, zr = /* @__PURE__ */ v("path", {
|
|
279
279
|
d: "M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",
|
|
280
280
|
fill: "black"
|
|
281
281
|
}, null, -1), qr = [
|
|
282
|
-
|
|
282
|
+
zr
|
|
283
283
|
];
|
|
284
284
|
function Yr(t, e) {
|
|
285
|
-
return p(), _("svg",
|
|
285
|
+
return p(), _("svg", Wr, qr);
|
|
286
286
|
}
|
|
287
287
|
const xr = /* @__PURE__ */ Y(Zr, [["render", Yr]]), Kr = {}, Gr = {
|
|
288
288
|
width: "24",
|
|
@@ -404,20 +404,20 @@ const Vl = /* @__PURE__ */ Y(Il, [["render", Hl]]), Bl = {}, jl = {
|
|
|
404
404
|
function Ul(t, e) {
|
|
405
405
|
return p(), _("svg", jl, Nl);
|
|
406
406
|
}
|
|
407
|
-
const Fl = /* @__PURE__ */ Y(Bl, [["render", Ul]]), Zl = {},
|
|
407
|
+
const Fl = /* @__PURE__ */ Y(Bl, [["render", Ul]]), Zl = {}, Wl = {
|
|
408
408
|
width: "24",
|
|
409
409
|
height: "24",
|
|
410
410
|
viewBox: "0 0 24 24",
|
|
411
411
|
fill: "none",
|
|
412
412
|
xmlns: "http://www.w3.org/2000/svg"
|
|
413
|
-
},
|
|
413
|
+
}, zl = /* @__PURE__ */ v("path", {
|
|
414
414
|
d: "M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",
|
|
415
415
|
fill: "black"
|
|
416
416
|
}, null, -1), ql = [
|
|
417
|
-
|
|
417
|
+
zl
|
|
418
418
|
];
|
|
419
419
|
function Yl(t, e) {
|
|
420
|
-
return p(), _("svg",
|
|
420
|
+
return p(), _("svg", Wl, ql);
|
|
421
421
|
}
|
|
422
422
|
const xl = /* @__PURE__ */ Y(Zl, [["render", Yl]]), Kl = {}, Gl = {
|
|
423
423
|
width: "24",
|
|
@@ -539,20 +539,20 @@ const V1 = /* @__PURE__ */ Y(I1, [["render", H1]]), B1 = {}, j1 = {
|
|
|
539
539
|
function U1(t, e) {
|
|
540
540
|
return p(), _("svg", j1, N1);
|
|
541
541
|
}
|
|
542
|
-
const F1 = /* @__PURE__ */ Y(B1, [["render", U1]]), Z1 = {},
|
|
542
|
+
const F1 = /* @__PURE__ */ Y(B1, [["render", U1]]), Z1 = {}, W1 = {
|
|
543
543
|
width: "24",
|
|
544
544
|
height: "24",
|
|
545
545
|
viewBox: "0 0 24 24",
|
|
546
546
|
fill: "none",
|
|
547
547
|
xmlns: "http://www.w3.org/2000/svg"
|
|
548
|
-
},
|
|
548
|
+
}, z1 = /* @__PURE__ */ v("path", {
|
|
549
549
|
d: "M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",
|
|
550
550
|
fill: "black"
|
|
551
551
|
}, null, -1), q1 = [
|
|
552
|
-
|
|
552
|
+
z1
|
|
553
553
|
];
|
|
554
554
|
function Y1(t, e) {
|
|
555
|
-
return p(), _("svg",
|
|
555
|
+
return p(), _("svg", W1, q1);
|
|
556
556
|
}
|
|
557
557
|
const x1 = /* @__PURE__ */ Y(Z1, [["render", Y1]]), K1 = {}, G1 = {
|
|
558
558
|
width: "24",
|
|
@@ -687,7 +687,7 @@ const ju = /* @__PURE__ */ Y(Pu, [["render", Bu]]), Ru = {}, Nu = {
|
|
|
687
687
|
function Zu(t, e) {
|
|
688
688
|
return p(), _("svg", Nu, Fu);
|
|
689
689
|
}
|
|
690
|
-
const
|
|
690
|
+
const Wu = /* @__PURE__ */ Y(Ru, [["render", Zu]]), zu = {}, qu = {
|
|
691
691
|
width: "24",
|
|
692
692
|
height: "24",
|
|
693
693
|
viewBox: "0 0 24 24",
|
|
@@ -702,7 +702,7 @@ const zu = /* @__PURE__ */ Y(Ru, [["render", Zu]]), Wu = {}, qu = {
|
|
|
702
702
|
function Ku(t, e) {
|
|
703
703
|
return p(), _("svg", qu, xu);
|
|
704
704
|
}
|
|
705
|
-
const Gu = /* @__PURE__ */ Y(
|
|
705
|
+
const Gu = /* @__PURE__ */ Y(zu, [["render", Ku]]), Xu = {}, Qu = {
|
|
706
706
|
width: "24",
|
|
707
707
|
height: "24",
|
|
708
708
|
viewBox: "0 0 24 24",
|
|
@@ -822,7 +822,7 @@ const jc = /* @__PURE__ */ Y(Pc, [["render", Bc]]), Rc = {}, Nc = {
|
|
|
822
822
|
function Zc(t, e) {
|
|
823
823
|
return p(), _("svg", Nc, Fc);
|
|
824
824
|
}
|
|
825
|
-
const
|
|
825
|
+
const Wc = /* @__PURE__ */ Y(Rc, [["render", Zc]]), zc = {}, qc = {
|
|
826
826
|
width: "24",
|
|
827
827
|
height: "24",
|
|
828
828
|
viewBox: "0 0 24 24",
|
|
@@ -837,7 +837,7 @@ const zc = /* @__PURE__ */ Y(Rc, [["render", Zc]]), Wc = {}, qc = {
|
|
|
837
837
|
function Kc(t, e) {
|
|
838
838
|
return p(), _("svg", qc, xc);
|
|
839
839
|
}
|
|
840
|
-
const Gc = /* @__PURE__ */ Y(
|
|
840
|
+
const Gc = /* @__PURE__ */ Y(zc, [["render", Kc]]), Xc = {}, Qc = {
|
|
841
841
|
width: "26",
|
|
842
842
|
height: "29",
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
@@ -954,7 +954,7 @@ const jd = /* @__PURE__ */ Y(Pd, [["render", Bd]]), Rd = {}, Nd = {
|
|
|
954
954
|
function Zd(t, e) {
|
|
955
955
|
return p(), _("svg", Nd, Fd);
|
|
956
956
|
}
|
|
957
|
-
const
|
|
957
|
+
const Wd = /* @__PURE__ */ Y(Rd, [["render", Zd]]), zd = {}, qd = {
|
|
958
958
|
width: "24",
|
|
959
959
|
height: "24",
|
|
960
960
|
viewBox: "0 0 24 24",
|
|
@@ -969,7 +969,7 @@ const zd = /* @__PURE__ */ Y(Rd, [["render", Zd]]), Wd = {}, qd = {
|
|
|
969
969
|
function Kd(t, e) {
|
|
970
970
|
return p(), _("svg", qd, xd);
|
|
971
971
|
}
|
|
972
|
-
const Gd = /* @__PURE__ */ Y(
|
|
972
|
+
const Gd = /* @__PURE__ */ Y(zd, [["render", Kd]]), Xd = {}, Qd = {
|
|
973
973
|
width: "24",
|
|
974
974
|
height: "24",
|
|
975
975
|
viewBox: "0 0 24 24",
|
|
@@ -1104,7 +1104,7 @@ const L2 = /* @__PURE__ */ Y(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1104
1104
|
Loading: Mu,
|
|
1105
1105
|
Lock: Lu,
|
|
1106
1106
|
LogoutRounded: ju,
|
|
1107
|
-
Menu:
|
|
1107
|
+
Menu: Wu,
|
|
1108
1108
|
MoreHoriz: Gu,
|
|
1109
1109
|
MoreTimeRounded: ac,
|
|
1110
1110
|
MoreVert: lc,
|
|
@@ -1113,7 +1113,7 @@ const L2 = /* @__PURE__ */ Y(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1113
1113
|
PictureAsPdfRounded: Mc,
|
|
1114
1114
|
RadioButtonChecked: Lc,
|
|
1115
1115
|
RadioButtonCheckedOutline: jc,
|
|
1116
|
-
RadioButtonUnchecked:
|
|
1116
|
+
RadioButtonUnchecked: Wc,
|
|
1117
1117
|
RemoveRounded: Gc,
|
|
1118
1118
|
SearchRounded: ad,
|
|
1119
1119
|
SelectCheckBox: ld,
|
|
@@ -1122,7 +1122,7 @@ const L2 = /* @__PURE__ */ Y(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1122
1122
|
SlideshowRounded: Md,
|
|
1123
1123
|
Target: Ld,
|
|
1124
1124
|
TaskOutlineRounded: jd,
|
|
1125
|
-
TextSnippetRounded:
|
|
1125
|
+
TextSnippetRounded: Wd,
|
|
1126
1126
|
TimerOutline: Gd,
|
|
1127
1127
|
ViewComfyAltRounded: a2,
|
|
1128
1128
|
ViewCompactAltRounded: l2,
|
|
@@ -1206,7 +1206,7 @@ const B2 = ["type"], j2 = {
|
|
|
1206
1206
|
])
|
|
1207
1207
|
}, [
|
|
1208
1208
|
se(n.$slots, "default", {}, () => [
|
|
1209
|
-
n.label ? (p(), _("span", j2,
|
|
1209
|
+
n.label ? (p(), _("span", j2, W(n.label), 1)) : O("", !0)
|
|
1210
1210
|
]),
|
|
1211
1211
|
s.value ? (p(), B(ce, {
|
|
1212
1212
|
key: 0,
|
|
@@ -1280,7 +1280,7 @@ const be = /* @__PURE__ */ X({
|
|
|
1280
1280
|
(m) => {
|
|
1281
1281
|
m || f();
|
|
1282
1282
|
}
|
|
1283
|
-
), (m, h) => (p(), B(Lt(l.value),
|
|
1283
|
+
), (m, h) => (p(), B(Lt(l.value), Ae({
|
|
1284
1284
|
id: m.id,
|
|
1285
1285
|
ref_key: "target",
|
|
1286
1286
|
ref: s,
|
|
@@ -1290,19 +1290,19 @@ const be = /* @__PURE__ */ X({
|
|
|
1290
1290
|
{
|
|
1291
1291
|
[`ao-title--${m.color}`]: !!m.color,
|
|
1292
1292
|
"ao-title--editable": m.isEditable,
|
|
1293
|
-
"ao-field__input ao-title--editing":
|
|
1294
|
-
"ao-title--readonly": !
|
|
1293
|
+
"ao-field__input ao-title--editing": z(n),
|
|
1294
|
+
"ao-title--readonly": !z(n)
|
|
1295
1295
|
}
|
|
1296
1296
|
],
|
|
1297
|
-
type:
|
|
1298
|
-
value:
|
|
1297
|
+
type: z(n) ? "text" : null,
|
|
1298
|
+
value: z(n) ? m.title : null,
|
|
1299
1299
|
tabindex: "0",
|
|
1300
1300
|
onKeyup: vt(g, ["enter"])
|
|
1301
1301
|
}, Ri(d.value), {
|
|
1302
|
-
onKeydown: vt(
|
|
1302
|
+
onKeydown: vt(z(f), ["esc"])
|
|
1303
1303
|
}), {
|
|
1304
1304
|
default: q(() => [
|
|
1305
|
-
As(
|
|
1305
|
+
As(W(m.title), 1)
|
|
1306
1306
|
]),
|
|
1307
1307
|
_: 1
|
|
1308
1308
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1317,10 +1317,10 @@ const R2 = {
|
|
|
1317
1317
|
}, F2 = { class: "ao-card-horiz__title-group" }, Z2 = {
|
|
1318
1318
|
key: 0,
|
|
1319
1319
|
class: "ao-card-horiz__subtitle"
|
|
1320
|
-
},
|
|
1320
|
+
}, W2 = {
|
|
1321
1321
|
key: 1,
|
|
1322
1322
|
class: "ao-card-horiz__header"
|
|
1323
|
-
},
|
|
1323
|
+
}, z2 = {
|
|
1324
1324
|
key: 1,
|
|
1325
1325
|
class: "ao-card-horiz__body"
|
|
1326
1326
|
}, q2 = {
|
|
@@ -1374,14 +1374,14 @@ const R2 = {
|
|
|
1374
1374
|
"onUpdate:title": a
|
|
1375
1375
|
}, null, 8, ["id", "title"]),
|
|
1376
1376
|
se(s.$slots, "subtitle", {}, () => [
|
|
1377
|
-
s.subtitle ? (p(), _("span", Z2,
|
|
1377
|
+
s.subtitle ? (p(), _("span", Z2, W(s.subtitle), 1)) : O("", !0)
|
|
1378
1378
|
])
|
|
1379
1379
|
]),
|
|
1380
|
-
s.$slots.header ? (p(), _("div",
|
|
1380
|
+
s.$slots.header ? (p(), _("div", W2, [
|
|
1381
1381
|
se(s.$slots, "header")
|
|
1382
1382
|
])) : O("", !0)
|
|
1383
1383
|
]),
|
|
1384
|
-
s.$slots.default ? (p(), _("div",
|
|
1384
|
+
s.$slots.default ? (p(), _("div", z2, [
|
|
1385
1385
|
se(s.$slots, "default")
|
|
1386
1386
|
])) : O("", !0),
|
|
1387
1387
|
s.$slots.footer ? (p(), _("div", q2, [
|
|
@@ -1421,12 +1421,12 @@ const ua = /* @__PURE__ */ X({
|
|
|
1421
1421
|
]),
|
|
1422
1422
|
style: Fe(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
|
-
(p(), B(Lt(a.value),
|
|
1424
|
+
(p(), B(Lt(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: q(() => [
|
|
1428
|
-
As(
|
|
1429
|
-
n.variant ===
|
|
1428
|
+
As(W(n.label) + " ", 1),
|
|
1429
|
+
n.variant === z(V2).SOLID_ICON && n.iconName ? (p(), B(ce, {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
name: n.iconName,
|
|
1432
1432
|
class: "ao-tag__icon",
|
|
@@ -1453,11 +1453,11 @@ const ja = {
|
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
1456
|
-
},
|
|
1456
|
+
}, y4 = {
|
|
1457
1457
|
months: "months",
|
|
1458
1458
|
weeks: "weeks",
|
|
1459
1459
|
days: "days"
|
|
1460
|
-
},
|
|
1460
|
+
}, b4 = {
|
|
1461
1461
|
future: "future",
|
|
1462
1462
|
this_month: "this_month",
|
|
1463
1463
|
this_week: "this_week",
|
|
@@ -1481,7 +1481,7 @@ const ja = {
|
|
|
1481
1481
|
TASKS: "tasks"
|
|
1482
1482
|
};
|
|
1483
1483
|
var X2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(X2 || {});
|
|
1484
|
-
const
|
|
1484
|
+
const w4 = {
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
@@ -2618,7 +2618,7 @@ function Z0(t, e) {
|
|
|
2618
2618
|
if (e(t[a]))
|
|
2619
2619
|
return a;
|
|
2620
2620
|
}
|
|
2621
|
-
function
|
|
2621
|
+
function W0(t) {
|
|
2622
2622
|
return function(e) {
|
|
2623
2623
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = e.match(t.matchPattern);
|
|
2624
2624
|
if (!s)
|
|
@@ -2635,7 +2635,7 @@ function z0(t) {
|
|
|
2635
2635
|
};
|
|
2636
2636
|
};
|
|
2637
2637
|
}
|
|
2638
|
-
var
|
|
2638
|
+
var z0 = /^(\d+)(th|st|nd|rd)?/i, q0 = /\d+/i, Y0 = {
|
|
2639
2639
|
narrow: /^(b|a)/i,
|
|
2640
2640
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
2641
2641
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
@@ -2677,8 +2677,8 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, q0 = /\d+/i, Y0 = {
|
|
|
2677
2677
|
night: /night/i
|
|
2678
2678
|
}
|
|
2679
2679
|
}, s3 = {
|
|
2680
|
-
ordinalNumber:
|
|
2681
|
-
matchPattern:
|
|
2680
|
+
ordinalNumber: W0({
|
|
2681
|
+
matchPattern: z0,
|
|
2682
2682
|
parsePattern: q0,
|
|
2683
2683
|
valueCallback: function(e) {
|
|
2684
2684
|
return parseInt(e, 10);
|
|
@@ -2900,14 +2900,14 @@ function b3(t, e, a) {
|
|
|
2900
2900
|
return s.setUTCDate(s.getUTCDate() + o), s;
|
|
2901
2901
|
}
|
|
2902
2902
|
var w3 = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2903
|
-
function
|
|
2903
|
+
function Wn(t) {
|
|
2904
2904
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
2905
2905
|
}
|
|
2906
2906
|
function $3(t, e, a) {
|
|
2907
|
-
return e >= 0 && e <= 11 && a >= 1 && a <= (w3[e] || (
|
|
2907
|
+
return e >= 0 && e <= 11 && a >= 1 && a <= (w3[e] || (Wn(t) ? 29 : 28));
|
|
2908
2908
|
}
|
|
2909
2909
|
function k3(t, e) {
|
|
2910
|
-
return e >= 1 && e <= (
|
|
2910
|
+
return e >= 1 && e <= (Wn(t) ? 366 : 365);
|
|
2911
2911
|
}
|
|
2912
2912
|
function S3(t, e, a) {
|
|
2913
2913
|
return e >= 1 && e <= 53 && a >= 0 && a <= 6;
|
|
@@ -2918,7 +2918,7 @@ function M3(t, e, a) {
|
|
|
2918
2918
|
function A3(t, e) {
|
|
2919
2919
|
return e >= 0 && e <= 59;
|
|
2920
2920
|
}
|
|
2921
|
-
var
|
|
2921
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, zn = {}, na = {}, _a = {}, Gt = {}, xa = {};
|
|
2922
2922
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
2923
2923
|
xa.lexoHelper = void 0;
|
|
2924
2924
|
xa.lexoHelper = {
|
|
@@ -3420,7 +3420,7 @@ class D3 {
|
|
|
3420
3420
|
}
|
|
3421
3421
|
Xa.LexoNumeralSystem64 = D3;
|
|
3422
3422
|
(function(t) {
|
|
3423
|
-
var e =
|
|
3423
|
+
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3424
3424
|
i === void 0 && (i = o);
|
|
3425
3425
|
var r = Object.getOwnPropertyDescriptor(n, o);
|
|
3426
3426
|
(!r || ("get" in r ? !n.__esModule : r.writable || r.configurable)) && (r = { enumerable: !0, get: function() {
|
|
@@ -3428,7 +3428,7 @@ Xa.LexoNumeralSystem64 = D3;
|
|
|
3428
3428
|
} }), Object.defineProperty(s, i, r);
|
|
3429
3429
|
} : function(s, n, o, i) {
|
|
3430
3430
|
i === void 0 && (i = o), s[i] = n[o];
|
|
3431
|
-
}), a =
|
|
3431
|
+
}), a = Ve && Ve.__exportStar || function(s, n) {
|
|
3432
3432
|
for (var o in s)
|
|
3433
3433
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3434
3434
|
};
|
|
@@ -3613,7 +3613,7 @@ function xn() {
|
|
|
3613
3613
|
return na.LexoRank = n, na;
|
|
3614
3614
|
}
|
|
3615
3615
|
(function(t) {
|
|
3616
|
-
var e =
|
|
3616
|
+
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3617
3617
|
i === void 0 && (i = o);
|
|
3618
3618
|
var r = Object.getOwnPropertyDescriptor(n, o);
|
|
3619
3619
|
(!r || ("get" in r ? !n.__esModule : r.writable || r.configurable)) && (r = { enumerable: !0, get: function() {
|
|
@@ -3621,14 +3621,14 @@ function xn() {
|
|
|
3621
3621
|
} }), Object.defineProperty(s, i, r);
|
|
3622
3622
|
} : function(s, n, o, i) {
|
|
3623
3623
|
i === void 0 && (i = o), s[i] = n[o];
|
|
3624
|
-
}), a =
|
|
3624
|
+
}), a = Ve && Ve.__exportStar || function(s, n) {
|
|
3625
3625
|
for (var o in s)
|
|
3626
3626
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3627
3627
|
};
|
|
3628
3628
|
Object.defineProperty(t, "__esModule", { value: !0 }), a(xn(), t), a(qn(), t), a(_a, t), a(Gt, t);
|
|
3629
|
-
})(
|
|
3629
|
+
})(zn);
|
|
3630
3630
|
(function(t) {
|
|
3631
|
-
var e =
|
|
3631
|
+
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3632
3632
|
i === void 0 && (i = o);
|
|
3633
3633
|
var r = Object.getOwnPropertyDescriptor(n, o);
|
|
3634
3634
|
(!r || ("get" in r ? !n.__esModule : r.writable || r.configurable)) && (r = { enumerable: !0, get: function() {
|
|
@@ -3636,11 +3636,11 @@ function xn() {
|
|
|
3636
3636
|
} }), Object.defineProperty(s, i, r);
|
|
3637
3637
|
} : function(s, n, o, i) {
|
|
3638
3638
|
i === void 0 && (i = o), s[i] = n[o];
|
|
3639
|
-
}), a =
|
|
3639
|
+
}), a = Ve && Ve.__exportStar || function(s, n) {
|
|
3640
3640
|
for (var o in s)
|
|
3641
3641
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3642
3642
|
};
|
|
3643
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3643
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(zn, t), a(Ps, t);
|
|
3644
3644
|
})(we);
|
|
3645
3645
|
function Kn(t) {
|
|
3646
3646
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3803,10 +3803,10 @@ function F3(t, e) {
|
|
|
3803
3803
|
left: c
|
|
3804
3804
|
};
|
|
3805
3805
|
}
|
|
3806
|
-
const Z3 = ["title"],
|
|
3806
|
+
const Z3 = ["title"], W3 = {
|
|
3807
3807
|
key: 0,
|
|
3808
3808
|
className: "ao-avatar__initials"
|
|
3809
|
-
},
|
|
3809
|
+
}, z3 = ["src"], et = /* @__PURE__ */ X({
|
|
3810
3810
|
__name: "AoAvatar",
|
|
3811
3811
|
props: {
|
|
3812
3812
|
userName: {},
|
|
@@ -3828,12 +3828,12 @@ const Z3 = ["title"], z3 = {
|
|
|
3828
3828
|
class: ee(s.value),
|
|
3829
3829
|
title: i.userName
|
|
3830
3830
|
}, [
|
|
3831
|
-
i.avatarUrl ? O("", !0) : (p(), _("span",
|
|
3831
|
+
i.avatarUrl ? O("", !0) : (p(), _("span", W3, W(z(n)), 1)),
|
|
3832
3832
|
i.avatarUrl ? (p(), _("img", {
|
|
3833
3833
|
key: 1,
|
|
3834
3834
|
className: "ao-avatar__image",
|
|
3835
3835
|
src: i.avatarUrl
|
|
3836
|
-
}, null, 8,
|
|
3836
|
+
}, null, 8, z3)) : O("", !0),
|
|
3837
3837
|
i.isClosable ? (p(), B(le, {
|
|
3838
3838
|
key: 2,
|
|
3839
3839
|
"icon-name": "CloseRounded",
|
|
@@ -3888,14 +3888,14 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
|
|
|
3888
3888
|
name: "MountainFlagOutlineRounded",
|
|
3889
3889
|
size: "sm"
|
|
3890
3890
|
}),
|
|
3891
|
-
v("span", x3,
|
|
3891
|
+
v("span", x3, W(r.milestones), 1)
|
|
3892
3892
|
]),
|
|
3893
3893
|
v("li", K3, [
|
|
3894
3894
|
A(ce, {
|
|
3895
3895
|
name: "TaskOutlineRounded",
|
|
3896
3896
|
size: "sm"
|
|
3897
3897
|
}),
|
|
3898
|
-
v("span", G3,
|
|
3898
|
+
v("span", G3, W(r.activities), 1)
|
|
3899
3899
|
])
|
|
3900
3900
|
])
|
|
3901
3901
|
]),
|
|
@@ -3907,7 +3907,7 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
|
|
|
3907
3907
|
name: "WaterfallChartRounded",
|
|
3908
3908
|
size: "sm"
|
|
3909
3909
|
}),
|
|
3910
|
-
v("span", e5,
|
|
3910
|
+
v("span", e5, W(r.$t("template.phases.title")), 1)
|
|
3911
3911
|
]),
|
|
3912
3912
|
r.phases ? (p(), _("ul", t5, [
|
|
3913
3913
|
(p(!0), _(fe, null, Ce(o.value, (d) => (p(), B(ua, {
|
|
@@ -3945,15 +3945,15 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
|
|
|
3945
3945
|
v("div", a5, [
|
|
3946
3946
|
r.updatedAt ? (p(), _("div", s5, [
|
|
3947
3947
|
v("div", n5, [
|
|
3948
|
-
v("span", i5,
|
|
3948
|
+
v("span", i5, W(r.$t("template.updatedAt.label")), 1)
|
|
3949
3949
|
]),
|
|
3950
3950
|
v("div", o5, [
|
|
3951
|
-
v("span", null,
|
|
3951
|
+
v("span", null, W(r.updatedAt), 1)
|
|
3952
3952
|
])
|
|
3953
3953
|
])) : O("", !0),
|
|
3954
3954
|
r.updatedBy ? (p(), _("div", r5, [
|
|
3955
3955
|
v("div", l5, [
|
|
3956
|
-
v("span", u5,
|
|
3956
|
+
v("span", u5, W(r.$t("template.updatedBy.label")), 1)
|
|
3957
3957
|
]),
|
|
3958
3958
|
v("div", c5, [
|
|
3959
3959
|
A(et, { "user-name": r.updatedBy }, null, 8, ["user-name"])
|
|
@@ -4019,7 +4019,7 @@ const m5 = ["type"], g5 = {
|
|
|
4019
4019
|
])
|
|
4020
4020
|
}, [
|
|
4021
4021
|
se(n.$slots, "default", {}, () => [
|
|
4022
|
-
n.label ? (p(), _("span", g5,
|
|
4022
|
+
n.label ? (p(), _("span", g5, W(n.label), 1)) : O("", !0)
|
|
4023
4023
|
]),
|
|
4024
4024
|
s.value ? (p(), B(ce, {
|
|
4025
4025
|
key: 0,
|
|
@@ -4062,7 +4062,7 @@ const C5 = { class: "ao-card-template-item__footer" }, _5 = {
|
|
|
4062
4062
|
name: n[l],
|
|
4063
4063
|
size: "sm"
|
|
4064
4064
|
}, null, 8, ["name"]),
|
|
4065
|
-
v("span", y5,
|
|
4065
|
+
v("span", y5, W(i.$props[l]), 1)
|
|
4066
4066
|
])) : O("", !0)
|
|
4067
4067
|
], 64))), 64))
|
|
4068
4068
|
])
|
|
@@ -4094,7 +4094,7 @@ const w5 = /* @__PURE__ */ X({
|
|
|
4094
4094
|
var n;
|
|
4095
4095
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
4096
4096
|
}), s = S(() => e.milestones ? Kn(e.milestones) : 0);
|
|
4097
|
-
return (n, o) => (p(), B(Hs,
|
|
4097
|
+
return (n, o) => (p(), B(Hs, Ae({
|
|
4098
4098
|
id: n.id,
|
|
4099
4099
|
title: n.name,
|
|
4100
4100
|
activities: s.value,
|
|
@@ -4147,7 +4147,7 @@ const w5 = /* @__PURE__ */ X({
|
|
|
4147
4147
|
});
|
|
4148
4148
|
}
|
|
4149
4149
|
};
|
|
4150
|
-
return (r, l) => r.phase ? (p(), B(
|
|
4150
|
+
return (r, l) => r.phase ? (p(), B(z(gt), {
|
|
4151
4151
|
key: 0,
|
|
4152
4152
|
"model-value": r.phase.milestones,
|
|
4153
4153
|
class: "ao-templates__list",
|
|
@@ -4237,7 +4237,7 @@ const w5 = /* @__PURE__ */ X({
|
|
|
4237
4237
|
});
|
|
4238
4238
|
}
|
|
4239
4239
|
};
|
|
4240
|
-
return (r, l) => r.milestone ? (p(), B(
|
|
4240
|
+
return (r, l) => r.milestone ? (p(), B(z(gt), {
|
|
4241
4241
|
key: 0,
|
|
4242
4242
|
"model-value": r.milestone.activities,
|
|
4243
4243
|
title: r.$t("template.activities.title"),
|
|
@@ -4337,7 +4337,7 @@ const pa = Math.min, He = Math.max, Fa = Math.round, Da = Math.floor, ft = (t) =
|
|
|
4337
4337
|
function Vs(t, e) {
|
|
4338
4338
|
return typeof t == "function" ? t(e) : t;
|
|
4339
4339
|
}
|
|
4340
|
-
function
|
|
4340
|
+
function Wt(t) {
|
|
4341
4341
|
return t.split("-")[0];
|
|
4342
4342
|
}
|
|
4343
4343
|
function es(t) {
|
|
@@ -4350,7 +4350,7 @@ function Qn(t) {
|
|
|
4350
4350
|
return t === "y" ? "height" : "width";
|
|
4351
4351
|
}
|
|
4352
4352
|
function Bs(t) {
|
|
4353
|
-
return ["top", "bottom"].includes(
|
|
4353
|
+
return ["top", "bottom"].includes(Wt(t)) ? "y" : "x";
|
|
4354
4354
|
}
|
|
4355
4355
|
function Jn(t) {
|
|
4356
4356
|
return B5(Bs(t));
|
|
@@ -4383,7 +4383,7 @@ function N5(t, e, a) {
|
|
|
4383
4383
|
}
|
|
4384
4384
|
function U5(t, e, a, s) {
|
|
4385
4385
|
const n = es(t);
|
|
4386
|
-
let o = N5(
|
|
4386
|
+
let o = N5(Wt(t), a === "start", s);
|
|
4387
4387
|
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map(ws)))), o;
|
|
4388
4388
|
}
|
|
4389
4389
|
function Za(t) {
|
|
@@ -4406,7 +4406,7 @@ function Z5(t) {
|
|
|
4406
4406
|
left: t
|
|
4407
4407
|
};
|
|
4408
4408
|
}
|
|
4409
|
-
function
|
|
4409
|
+
function Wa(t) {
|
|
4410
4410
|
return {
|
|
4411
4411
|
...t,
|
|
4412
4412
|
top: t.y,
|
|
@@ -4420,7 +4420,7 @@ function _n(t, e, a) {
|
|
|
4420
4420
|
reference: s,
|
|
4421
4421
|
floating: n
|
|
4422
4422
|
} = t;
|
|
4423
|
-
const o = Bs(e), i = Jn(e), r = Qn(i), l =
|
|
4423
|
+
const o = Bs(e), i = Jn(e), r = Qn(i), l = Wt(e), d = o === "y", u = s.x + s.width / 2 - n.width / 2, f = s.y + s.height / 2 - n.height / 2, c = s[r] / 2 - n[r] / 2;
|
|
4424
4424
|
let g;
|
|
4425
4425
|
switch (l) {
|
|
4426
4426
|
case "top":
|
|
@@ -4463,7 +4463,7 @@ function _n(t, e, a) {
|
|
|
4463
4463
|
}
|
|
4464
4464
|
return g;
|
|
4465
4465
|
}
|
|
4466
|
-
const
|
|
4466
|
+
const W5 = async (t, e, a) => {
|
|
4467
4467
|
const {
|
|
4468
4468
|
placement: s = "bottom",
|
|
4469
4469
|
strategy: n = "absolute",
|
|
@@ -4543,7 +4543,7 @@ async function ei(t, e) {
|
|
|
4543
4543
|
elementContext: f = "floating",
|
|
4544
4544
|
altBoundary: c = !1,
|
|
4545
4545
|
padding: g = 0
|
|
4546
|
-
} = Vs(e, t), C = Z5(g), h = r[c ? f === "floating" ? "reference" : "floating" : f], $ =
|
|
4546
|
+
} = Vs(e, t), C = Z5(g), h = r[c ? f === "floating" ? "reference" : "floating" : f], $ = Wa(await o.getClippingRect({
|
|
4547
4547
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(h))) == null || a ? h : h.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4548
4548
|
boundary: d,
|
|
4549
4549
|
rootBoundary: u,
|
|
@@ -4558,7 +4558,7 @@ async function ei(t, e) {
|
|
|
4558
4558
|
} : {
|
|
4559
4559
|
x: 1,
|
|
4560
4560
|
y: 1
|
|
4561
|
-
}, E =
|
|
4561
|
+
}, E = Wa(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4562
4562
|
rect: w,
|
|
4563
4563
|
offsetParent: b,
|
|
4564
4564
|
strategy: l
|
|
@@ -4570,7 +4570,7 @@ async function ei(t, e) {
|
|
|
4570
4570
|
right: (E.right - $.right + C.right) / y.x
|
|
4571
4571
|
};
|
|
4572
4572
|
}
|
|
4573
|
-
const
|
|
4573
|
+
const z5 = function(t) {
|
|
4574
4574
|
return t === void 0 && (t = {}), {
|
|
4575
4575
|
name: "flip",
|
|
4576
4576
|
options: t,
|
|
@@ -4594,7 +4594,7 @@ const W5 = function(t) {
|
|
|
4594
4594
|
} = Vs(t, e);
|
|
4595
4595
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4596
4596
|
return {};
|
|
4597
|
-
const $ =
|
|
4597
|
+
const $ = Wt(n), w = Wt(r) === r, b = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), y = c || (w || !m ? [Za(r)] : R5(r));
|
|
4598
4598
|
!c && C !== "none" && y.push(...U5(r, m, C, b));
|
|
4599
4599
|
const E = [r, ...y], I = await ei(e, h), D = [];
|
|
4600
4600
|
let R = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
@@ -4655,7 +4655,7 @@ const W5 = function(t) {
|
|
|
4655
4655
|
apply: i = () => {
|
|
4656
4656
|
},
|
|
4657
4657
|
...r
|
|
4658
|
-
} = Vs(t, e), l = await ei(e, r), d =
|
|
4658
|
+
} = Vs(t, e), l = await ei(e, r), d = Wt(a), u = es(a), f = Bs(a) === "y", {
|
|
4659
4659
|
width: c,
|
|
4660
4660
|
height: g
|
|
4661
4661
|
} = s.floating;
|
|
@@ -4705,7 +4705,7 @@ function ti(t) {
|
|
|
4705
4705
|
function tt(t) {
|
|
4706
4706
|
return t instanceof Element || t instanceof Oe(t).Element;
|
|
4707
4707
|
}
|
|
4708
|
-
function
|
|
4708
|
+
function ze(t) {
|
|
4709
4709
|
return t instanceof HTMLElement || t instanceof Oe(t).HTMLElement;
|
|
4710
4710
|
}
|
|
4711
4711
|
function yn(t) {
|
|
@@ -4717,22 +4717,22 @@ function $a(t) {
|
|
|
4717
4717
|
overflowX: a,
|
|
4718
4718
|
overflowY: s,
|
|
4719
4719
|
display: n
|
|
4720
|
-
} =
|
|
4720
|
+
} = je(t);
|
|
4721
4721
|
return /auto|scroll|overlay|hidden|clip/.test(e + s + a) && !["inline", "contents"].includes(n);
|
|
4722
4722
|
}
|
|
4723
4723
|
function Y5(t) {
|
|
4724
4724
|
return ["table", "td", "th"].includes(ht(t));
|
|
4725
4725
|
}
|
|
4726
4726
|
function js(t) {
|
|
4727
|
-
const e = Rs(), a =
|
|
4727
|
+
const e = Rs(), a = je(t);
|
|
4728
4728
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (a.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (a.contain || "").includes(s));
|
|
4729
4729
|
}
|
|
4730
4730
|
function x5(t) {
|
|
4731
|
-
let e =
|
|
4732
|
-
for (;
|
|
4731
|
+
let e = zt(t);
|
|
4732
|
+
for (; ze(e) && !ts(e); ) {
|
|
4733
4733
|
if (js(e))
|
|
4734
4734
|
return e;
|
|
4735
|
-
e =
|
|
4735
|
+
e = zt(e);
|
|
4736
4736
|
}
|
|
4737
4737
|
return null;
|
|
4738
4738
|
}
|
|
@@ -4742,7 +4742,7 @@ function Rs() {
|
|
|
4742
4742
|
function ts(t) {
|
|
4743
4743
|
return ["html", "body", "#document"].includes(ht(t));
|
|
4744
4744
|
}
|
|
4745
|
-
function
|
|
4745
|
+
function je(t) {
|
|
4746
4746
|
return Oe(t).getComputedStyle(t);
|
|
4747
4747
|
}
|
|
4748
4748
|
function as(t) {
|
|
@@ -4754,7 +4754,7 @@ function as(t) {
|
|
|
4754
4754
|
scrollTop: t.pageYOffset
|
|
4755
4755
|
};
|
|
4756
4756
|
}
|
|
4757
|
-
function
|
|
4757
|
+
function zt(t) {
|
|
4758
4758
|
if (ht(t) === "html")
|
|
4759
4759
|
return t;
|
|
4760
4760
|
const e = (
|
|
@@ -4767,8 +4767,8 @@ function Wt(t) {
|
|
|
4767
4767
|
return yn(e) ? e.host : e;
|
|
4768
4768
|
}
|
|
4769
4769
|
function ai(t) {
|
|
4770
|
-
const e =
|
|
4771
|
-
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
4770
|
+
const e = zt(t);
|
|
4771
|
+
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : ze(e) && $a(e) ? e : ai(e);
|
|
4772
4772
|
}
|
|
4773
4773
|
function va(t, e, a) {
|
|
4774
4774
|
var s;
|
|
@@ -4777,9 +4777,9 @@ function va(t, e, a) {
|
|
|
4777
4777
|
return o ? e.concat(i, i.visualViewport || [], $a(n) ? n : [], i.frameElement && a ? va(i.frameElement) : []) : e.concat(n, va(n));
|
|
4778
4778
|
}
|
|
4779
4779
|
function si(t) {
|
|
4780
|
-
const e =
|
|
4780
|
+
const e = je(t);
|
|
4781
4781
|
let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4782
|
-
const n =
|
|
4782
|
+
const n = ze(t), o = n ? t.offsetWidth : a, i = n ? t.offsetHeight : s, r = Fa(a) !== o || Fa(s) !== i;
|
|
4783
4783
|
return r && (a = o, s = i), {
|
|
4784
4784
|
width: a,
|
|
4785
4785
|
height: s,
|
|
@@ -4791,7 +4791,7 @@ function Ns(t) {
|
|
|
4791
4791
|
}
|
|
4792
4792
|
function Ut(t) {
|
|
4793
4793
|
const e = Ns(t);
|
|
4794
|
-
if (!
|
|
4794
|
+
if (!ze(e))
|
|
4795
4795
|
return ft(1);
|
|
4796
4796
|
const a = e.getBoundingClientRect(), {
|
|
4797
4797
|
width: s,
|
|
@@ -4826,11 +4826,11 @@ function Ot(t, e, a, s) {
|
|
|
4826
4826
|
const c = Oe(o), g = s && tt(s) ? Oe(s) : s;
|
|
4827
4827
|
let C = c.frameElement;
|
|
4828
4828
|
for (; C && s && g !== c; ) {
|
|
4829
|
-
const m = Ut(C), h = C.getBoundingClientRect(), $ =
|
|
4829
|
+
const m = Ut(C), h = C.getBoundingClientRect(), $ = je(C), w = h.left + (C.clientLeft + parseFloat($.paddingLeft)) * m.x, b = h.top + (C.clientTop + parseFloat($.paddingTop)) * m.y;
|
|
4830
4830
|
l *= m.x, d *= m.y, u *= m.x, f *= m.y, l += w, d += b, C = Oe(C).frameElement;
|
|
4831
4831
|
}
|
|
4832
4832
|
}
|
|
4833
|
-
return
|
|
4833
|
+
return Wa({
|
|
4834
4834
|
width: u,
|
|
4835
4835
|
height: f,
|
|
4836
4836
|
x: l,
|
|
@@ -4843,7 +4843,7 @@ function X5(t) {
|
|
|
4843
4843
|
offsetParent: a,
|
|
4844
4844
|
strategy: s
|
|
4845
4845
|
} = t;
|
|
4846
|
-
const n =
|
|
4846
|
+
const n = ze(a), o = st(a);
|
|
4847
4847
|
if (a === o)
|
|
4848
4848
|
return e;
|
|
4849
4849
|
let i = {
|
|
@@ -4851,7 +4851,7 @@ function X5(t) {
|
|
|
4851
4851
|
scrollTop: 0
|
|
4852
4852
|
}, r = ft(1);
|
|
4853
4853
|
const l = ft(0);
|
|
4854
|
-
if ((n || !n && s !== "fixed") && ((ht(a) !== "body" || $a(o)) && (i = as(a)),
|
|
4854
|
+
if ((n || !n && s !== "fixed") && ((ht(a) !== "body" || $a(o)) && (i = as(a)), ze(a))) {
|
|
4855
4855
|
const d = Ot(a);
|
|
4856
4856
|
r = Ut(a), l.x = d.x + a.clientLeft, l.y = d.y + a.clientTop;
|
|
4857
4857
|
}
|
|
@@ -4872,7 +4872,7 @@ function J5(t) {
|
|
|
4872
4872
|
const e = st(t), a = as(t), s = t.ownerDocument.body, n = He(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = He(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4873
4873
|
let i = -a.scrollLeft + ii(t);
|
|
4874
4874
|
const r = -a.scrollTop;
|
|
4875
|
-
return
|
|
4875
|
+
return je(s).direction === "rtl" && (i += He(e.clientWidth, s.clientWidth) - n), {
|
|
4876
4876
|
width: n,
|
|
4877
4877
|
height: o,
|
|
4878
4878
|
x: i,
|
|
@@ -4895,7 +4895,7 @@ function e7(t, e) {
|
|
|
4895
4895
|
};
|
|
4896
4896
|
}
|
|
4897
4897
|
function t7(t, e) {
|
|
4898
|
-
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o =
|
|
4898
|
+
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = ze(t) ? Ut(t) : ft(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = n * o.x, d = s * o.y;
|
|
4899
4899
|
return {
|
|
4900
4900
|
width: i,
|
|
4901
4901
|
height: r,
|
|
@@ -4919,22 +4919,22 @@ function bn(t, e, a) {
|
|
|
4919
4919
|
y: e.y - n.y
|
|
4920
4920
|
};
|
|
4921
4921
|
}
|
|
4922
|
-
return
|
|
4922
|
+
return Wa(s);
|
|
4923
4923
|
}
|
|
4924
4924
|
function oi(t, e) {
|
|
4925
|
-
const a =
|
|
4926
|
-
return a === e || !tt(a) || ts(a) ? !1 :
|
|
4925
|
+
const a = zt(t);
|
|
4926
|
+
return a === e || !tt(a) || ts(a) ? !1 : je(a).position === "fixed" || oi(a, e);
|
|
4927
4927
|
}
|
|
4928
4928
|
function a7(t, e) {
|
|
4929
4929
|
const a = e.get(t);
|
|
4930
4930
|
if (a)
|
|
4931
4931
|
return a;
|
|
4932
4932
|
let s = va(t, [], !1).filter((r) => tt(r) && ht(r) !== "body"), n = null;
|
|
4933
|
-
const o =
|
|
4934
|
-
let i = o ?
|
|
4933
|
+
const o = je(t).position === "fixed";
|
|
4934
|
+
let i = o ? zt(t) : t;
|
|
4935
4935
|
for (; tt(i) && !ts(i); ) {
|
|
4936
|
-
const r =
|
|
4937
|
-
!l && r.position === "fixed" && (n = null), (o ? !l && !n : !l && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || $a(i) && !l && oi(t, i)) ? s = s.filter((u) => u !== i) : n = r, i =
|
|
4936
|
+
const r = je(i), l = js(i);
|
|
4937
|
+
!l && r.position === "fixed" && (n = null), (o ? !l && !n : !l && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || $a(i) && !l && oi(t, i)) ? s = s.filter((u) => u !== i) : n = r, i = zt(i);
|
|
4938
4938
|
}
|
|
4939
4939
|
return e.set(t, s), s;
|
|
4940
4940
|
}
|
|
@@ -4960,7 +4960,7 @@ function n7(t) {
|
|
|
4960
4960
|
return si(t);
|
|
4961
4961
|
}
|
|
4962
4962
|
function i7(t, e, a) {
|
|
4963
|
-
const s =
|
|
4963
|
+
const s = ze(e), n = st(e), o = a === "fixed", i = Ot(t, !0, o, e);
|
|
4964
4964
|
let r = {
|
|
4965
4965
|
scrollLeft: 0,
|
|
4966
4966
|
scrollTop: 0
|
|
@@ -4980,16 +4980,16 @@ function i7(t, e, a) {
|
|
|
4980
4980
|
};
|
|
4981
4981
|
}
|
|
4982
4982
|
function wn(t, e) {
|
|
4983
|
-
return !
|
|
4983
|
+
return !ze(t) || je(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4984
4984
|
}
|
|
4985
4985
|
function ri(t, e) {
|
|
4986
4986
|
const a = Oe(t);
|
|
4987
|
-
if (!
|
|
4987
|
+
if (!ze(t))
|
|
4988
4988
|
return a;
|
|
4989
4989
|
let s = wn(t, e);
|
|
4990
|
-
for (; s && Y5(s) &&
|
|
4990
|
+
for (; s && Y5(s) && je(s).position === "static"; )
|
|
4991
4991
|
s = wn(s, e);
|
|
4992
|
-
return s && (ht(s) === "html" || ht(s) === "body" &&
|
|
4992
|
+
return s && (ht(s) === "html" || ht(s) === "body" && je(s).position === "static" && !js(s)) ? a : s || x5(t) || a;
|
|
4993
4993
|
}
|
|
4994
4994
|
const o7 = async function(t) {
|
|
4995
4995
|
let {
|
|
@@ -5008,7 +5008,7 @@ const o7 = async function(t) {
|
|
|
5008
5008
|
};
|
|
5009
5009
|
};
|
|
5010
5010
|
function r7(t) {
|
|
5011
|
-
return
|
|
5011
|
+
return je(t).direction === "rtl";
|
|
5012
5012
|
}
|
|
5013
5013
|
const l7 = {
|
|
5014
5014
|
convertOffsetParentRelativeRectToViewportRelativeRect: X5,
|
|
@@ -5109,14 +5109,14 @@ const d7 = (t, e, a) => {
|
|
|
5109
5109
|
...n.platform,
|
|
5110
5110
|
_c: s
|
|
5111
5111
|
};
|
|
5112
|
-
return
|
|
5112
|
+
return W5(t, e, {
|
|
5113
5113
|
...n,
|
|
5114
5114
|
platform: o
|
|
5115
5115
|
});
|
|
5116
5116
|
}, p7 = (t) => {
|
|
5117
5117
|
const e = x(!1), a = x(), s = x(), n = x(0);
|
|
5118
5118
|
function o() {
|
|
5119
|
-
const f =
|
|
5119
|
+
const f = z(t.appendTo);
|
|
5120
5120
|
return f ? typeof f == "string" ? document.getElementById(f) ?? document.body : f : document.getElementById("floatingElements") ?? document.body;
|
|
5121
5121
|
}
|
|
5122
5122
|
const i = o(), r = x(() => {
|
|
@@ -5148,7 +5148,7 @@ const d7 = (t, e, a) => {
|
|
|
5148
5148
|
strategy: "absolute",
|
|
5149
5149
|
placement: "bottom-start",
|
|
5150
5150
|
middleware: [
|
|
5151
|
-
|
|
5151
|
+
z5({
|
|
5152
5152
|
fallbackStrategy: "initialPlacement",
|
|
5153
5153
|
fallbackPlacements: ["top-start", "bottom-start"]
|
|
5154
5154
|
}),
|
|
@@ -5179,7 +5179,7 @@ const d7 = (t, e, a) => {
|
|
|
5179
5179
|
r.value();
|
|
5180
5180
|
});
|
|
5181
5181
|
};
|
|
5182
|
-
function
|
|
5182
|
+
function We(t) {
|
|
5183
5183
|
return [null, void 0].indexOf(t) !== -1;
|
|
5184
5184
|
}
|
|
5185
5185
|
function v7(t, e, a) {
|
|
@@ -5187,7 +5187,7 @@ function v7(t, e, a) {
|
|
|
5187
5187
|
r.value = u(f);
|
|
5188
5188
|
const g = d(f);
|
|
5189
5189
|
e.emit("change", g, i), c && (e.emit("input", g), e.emit("update:modelValue", g));
|
|
5190
|
-
}, d = (f) => s.value ||
|
|
5190
|
+
}, d = (f) => s.value || We(f) ? f : Array.isArray(f) ? f.map((c) => c[n.value]) : f[n.value], u = (f) => We(f) ? o.value === "single" ? {} : [] : f;
|
|
5191
5191
|
return {
|
|
5192
5192
|
update: l
|
|
5193
5193
|
};
|
|
@@ -5289,12 +5289,12 @@ function _7(t, e, a) {
|
|
|
5289
5289
|
infinite: ae,
|
|
5290
5290
|
groupOptions: P,
|
|
5291
5291
|
groupHideEmpty: T,
|
|
5292
|
-
groupSelect:
|
|
5292
|
+
groupSelect: F,
|
|
5293
5293
|
onCreate: L,
|
|
5294
5294
|
disabledProp: j,
|
|
5295
5295
|
searchStart: k,
|
|
5296
5296
|
searchFilter: H
|
|
5297
|
-
} = Ie(t), J = Dt().proxy, K = a.iv, V = a.ev,
|
|
5297
|
+
} = Ie(t), J = Dt().proxy, K = a.iv, V = a.ev, Z = a.search, he = a.clearSearch, $e = a.update, Xt = a.pointer, Qt = a.setPointer, nt = a.clearPointer, ka = a.focus, rs = a.deactivate, it = a.close, Sa = a.localize, ot = x([]), Ze = x([]), Le = x(!1), Re = x(null), xe = x(ae.value && i.value === -1 ? 10 : i.value), Jt = S(() => l.value || d.value || !1), Ma = S(() => f.value !== void 0 ? f.value : c.value !== void 0 ? c.value : !0), Pe = S(() => {
|
|
5298
5298
|
if (re.value) {
|
|
5299
5299
|
let M = bt.value || /* istanbul ignore next */
|
|
5300
5300
|
[], U = [];
|
|
@@ -5349,15 +5349,15 @@ function _7(t, e, a) {
|
|
|
5349
5349
|
}), us = S(() => {
|
|
5350
5350
|
switch (n.value) {
|
|
5351
5351
|
case "single":
|
|
5352
|
-
return !
|
|
5352
|
+
return !We(K.value[I.value]);
|
|
5353
5353
|
case "multiple":
|
|
5354
5354
|
case "tags":
|
|
5355
|
-
return !
|
|
5355
|
+
return !We(K.value) && K.value.length > 0;
|
|
5356
5356
|
}
|
|
5357
|
-
}), _i = S(() => g !== void 0 && g.value !== void 0 ? g.value(K.value, J) : K.value && K.value.length > 1 ? `${K.value.length} options selected` : "1 option selected"), yi = S(() => !Pe.value.length && !Le.value && !Ht.value.length), bi = S(() => Pe.value.length > 0 && rt.value.length == 0 && (
|
|
5358
|
-
[I.value]:
|
|
5359
|
-
[wt.value[0]]:
|
|
5360
|
-
[u.value]:
|
|
5357
|
+
}), _i = S(() => g !== void 0 && g.value !== void 0 ? g.value(K.value, J) : K.value && K.value.length > 1 ? `${K.value.length} options selected` : "1 option selected"), yi = S(() => !Pe.value.length && !Le.value && !Ht.value.length), bi = S(() => Pe.value.length > 0 && rt.value.length == 0 && (Z.value && re.value || !re.value)), Ht = S(() => Jt.value === !1 || !Z.value ? [] : Ei(Z.value) !== -1 ? [] : [{
|
|
5358
|
+
[I.value]: Z.value,
|
|
5359
|
+
[wt.value[0]]: Z.value,
|
|
5360
|
+
[u.value]: Z.value,
|
|
5361
5361
|
__CREATE__: !0
|
|
5362
5362
|
}]), wt = S(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), wi = S(() => {
|
|
5363
5363
|
switch (n.value) {
|
|
@@ -5404,10 +5404,10 @@ function _7(t, e, a) {
|
|
|
5404
5404
|
return n.value === "single" ? !1 : Oi(M[P.value]) && M[P.value].length;
|
|
5405
5405
|
switch (n.value) {
|
|
5406
5406
|
case "single":
|
|
5407
|
-
return !
|
|
5407
|
+
return !We(K.value) && K.value[I.value] == M[I.value];
|
|
5408
5408
|
case "tags":
|
|
5409
5409
|
case "multiple":
|
|
5410
|
-
return !
|
|
5410
|
+
return !We(K.value) && K.value.map((U) => U[I.value]).indexOf(M[I.value]) !== -1;
|
|
5411
5411
|
}
|
|
5412
5412
|
}, cs = (M) => M[j.value] === !0, ds = () => te === void 0 || te.value === -1 || !us.value && te.value > 0 ? !1 : K.value.length >= te.value, Si = (M) => {
|
|
5413
5413
|
if (!cs(M)) {
|
|
@@ -5453,7 +5453,7 @@ function _7(t, e, a) {
|
|
|
5453
5453
|
}
|
|
5454
5454
|
N.value || ka();
|
|
5455
5455
|
}, Mi = (M) => {
|
|
5456
|
-
if (!(cs(M) || n.value === "single" || !
|
|
5456
|
+
if (!(cs(M) || n.value === "single" || !F.value)) {
|
|
5457
5457
|
switch (n.value) {
|
|
5458
5458
|
case "multiple":
|
|
5459
5459
|
case "tags":
|
|
@@ -5471,15 +5471,15 @@ function _7(t, e, a) {
|
|
|
5471
5471
|
}, Ti = (M) => M.find((U) => !Ke(U) && !U[j.value]) === void 0, Oi = (M) => M.find((U) => !Ke(U)) === void 0, Ge = (M) => Pe.value[Pe.value.map((U) => String(U[I.value])).indexOf(String(M))], Ei = (M) => Pe.value.findIndex((U) => wt.value.some((ue) => (parseInt(U[ue]) == U[ue] ? parseInt(U[ue]) : U[ue]) === (parseInt(M) == M ? parseInt(M) : M))), Ii = (M) => ["tags", "multiple"].indexOf(n.value) !== -1 && r.value && Ke(M), Li = (M) => {
|
|
5472
5472
|
ot.value.push(M);
|
|
5473
5473
|
}, Pi = (M) => T.value ? M.filter(
|
|
5474
|
-
(U) =>
|
|
5475
|
-
) : M.filter((U) =>
|
|
5474
|
+
(U) => Z.value ? U.__VISIBLE__.length : U[P.value].length
|
|
5475
|
+
) : M.filter((U) => Z.value ? U.__VISIBLE__.length : !0), vs = (M, U = !0) => {
|
|
5476
5476
|
let ue = M;
|
|
5477
|
-
if (
|
|
5477
|
+
if (Z.value && b.value) {
|
|
5478
5478
|
let ge = H.value;
|
|
5479
|
-
ge || (ge = ($t, cn,
|
|
5479
|
+
ge || (ge = ($t, cn, h4) => wt.value.some((Hi) => {
|
|
5480
5480
|
let dn = _s(Sa($t[Hi]), ne.value);
|
|
5481
5481
|
return k.value ? dn.startsWith(_s(cn, ne.value)) : dn.indexOf(_s(cn, ne.value)) !== -1;
|
|
5482
|
-
})), ue = ue.filter(($t) => ge($t,
|
|
5482
|
+
})), ue = ue.filter(($t) => ge($t, Z.value, J));
|
|
5483
5483
|
}
|
|
5484
5484
|
return r.value && U && (ue = ue.filter((ge) => !Ii(ge))), ue;
|
|
5485
5485
|
}, fs = (M) => {
|
|
@@ -5489,9 +5489,9 @@ function _7(t, e, a) {
|
|
|
5489
5489
|
return { [I.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
|
|
5490
5490
|
})), U = U.map((ue) => typeof ue == "object" ? ue : { [I.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), U;
|
|
5491
5491
|
}, Ta = () => {
|
|
5492
|
-
|
|
5492
|
+
We(V.value) || (K.value = Ea(V.value));
|
|
5493
5493
|
}, Oa = (M) => (Le.value = !0, new Promise((U, ue) => {
|
|
5494
|
-
s.value(
|
|
5494
|
+
s.value(Z.value, J).then((ge) => {
|
|
5495
5495
|
Ze.value = ge || [], typeof M == "function" && M(ge), Le.value = !1;
|
|
5496
5496
|
}).catch((ge) => {
|
|
5497
5497
|
console.error(ge), Ze.value = [], Le.value = !1;
|
|
@@ -5516,7 +5516,7 @@ function _7(t, e, a) {
|
|
|
5516
5516
|
});
|
|
5517
5517
|
}, Di = (M) => {
|
|
5518
5518
|
Oa(M);
|
|
5519
|
-
}, Ea = (M) =>
|
|
5519
|
+
}, Ea = (M) => We(M) ? n.value === "single" ? {} : [] : C.value ? M : n.value === "single" ? Ge(M) || (D.value ? {
|
|
5520
5520
|
[u.value]: M,
|
|
5521
5521
|
[I.value]: M,
|
|
5522
5522
|
[wt.value[0]]: M
|
|
@@ -5525,10 +5525,10 @@ function _7(t, e, a) {
|
|
|
5525
5525
|
[I.value]: U,
|
|
5526
5526
|
[wt.value[0]]: U
|
|
5527
5527
|
}), un = () => {
|
|
5528
|
-
|
|
5528
|
+
Re.value = de(Z, (M) => {
|
|
5529
5529
|
M.length < w.value || !M && w.value !== 0 || (Le.value = !0, y.value && (Ze.value = []), setTimeout(() => {
|
|
5530
|
-
M ==
|
|
5531
|
-
(M ==
|
|
5530
|
+
M == Z.value && s.value(Z.value, J).then((U) => {
|
|
5531
|
+
(M == Z.value || !Z.value) && (Ze.value = U, Xt.value = rt.value.filter((ue) => ue[j.value] !== !0)[0] || null, Le.value = !1);
|
|
5532
5532
|
}).catch(
|
|
5533
5533
|
/* istanbul ignore next */
|
|
5534
5534
|
(U) => {
|
|
@@ -5538,12 +5538,12 @@ function _7(t, e, a) {
|
|
|
5538
5538
|
}, h.value));
|
|
5539
5539
|
}, { flush: "sync" });
|
|
5540
5540
|
};
|
|
5541
|
-
if (n.value !== "single" && !
|
|
5541
|
+
if (n.value !== "single" && !We(V.value) && !Array.isArray(V.value))
|
|
5542
5542
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
5543
5543
|
return s && typeof s.value == "function" ? $.value ? Oa(Ta) : C.value == !0 && Ta() : (Ze.value = s.value, Ta()), h.value > -1 && un(), de(h, (M, U) => {
|
|
5544
|
-
|
|
5544
|
+
Re.value && Re.value(), M >= 0 && un();
|
|
5545
5545
|
}), de(V, (M) => {
|
|
5546
|
-
if (
|
|
5546
|
+
if (We(M)) {
|
|
5547
5547
|
$e(Ea(M), !1);
|
|
5548
5548
|
return;
|
|
5549
5549
|
}
|
|
@@ -5609,19 +5609,19 @@ function y7(t, e, a) {
|
|
|
5609
5609
|
const V = G.value ? $.value : (
|
|
5610
5610
|
/* istanbul ignore next */
|
|
5611
5611
|
J($.value)
|
|
5612
|
-
),
|
|
5613
|
-
let he = D.value[
|
|
5612
|
+
), Z = D.value.map(($e) => $e[i.value]).indexOf(V[i.value]);
|
|
5613
|
+
let he = D.value[Z - 1];
|
|
5614
5614
|
return he === void 0 && (he = Q.value), he;
|
|
5615
5615
|
}), N = S(() => {
|
|
5616
|
-
let V = D.value.map((
|
|
5616
|
+
let V = D.value.map((Z) => Z.label).indexOf(G.value ? $.value[i.value] : J($.value)[i.value]) + 1;
|
|
5617
5617
|
return D.value.length <= V && (V = 0), D.value[V];
|
|
5618
5618
|
}), Q = S(() => [...D.value].slice(-1)[0]), re = S(() => $.value.__VISIBLE__.filter((V) => !V[u.value])[0]), ie = S(() => {
|
|
5619
|
-
const V = te.value.__VISIBLE__.filter((
|
|
5620
|
-
return V[V.map((
|
|
5619
|
+
const V = te.value.__VISIBLE__.filter((Z) => !Z[u.value]);
|
|
5620
|
+
return V[V.map((Z) => Z[s.value]).indexOf($.value[s.value]) - 1];
|
|
5621
5621
|
}), ae = S(() => {
|
|
5622
|
-
const V = J($.value).__VISIBLE__.filter((
|
|
5623
|
-
return V[V.map((
|
|
5624
|
-
}), P = S(() => [...ne.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), T = S(() => [...Q.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]),
|
|
5622
|
+
const V = J($.value).__VISIBLE__.filter((Z) => !Z[u.value]);
|
|
5623
|
+
return V[V.map((Z) => Z[s.value]).indexOf($.value[s.value]) + 1];
|
|
5624
|
+
}), P = S(() => [...ne.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), T = S(() => [...Q.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), F = (V) => $.value && (!V.group && $.value[s.value] === V[s.value] || V.group !== void 0 && $.value[i.value] === V[i.value]) ? !0 : void 0, L = () => {
|
|
5625
5625
|
w(I.value[0] || null);
|
|
5626
5626
|
}, j = () => {
|
|
5627
5627
|
!$.value || $.value[u.value] === !0 || (G.value ? m($.value) : C($.value));
|
|
@@ -5633,7 +5633,7 @@ function y7(t, e, a) {
|
|
|
5633
5633
|
V === void 0 && (V = N.value, V.__CREATE__ && (V = V[f.value][0])), w(V || /* istanbul ignore next */
|
|
5634
5634
|
null);
|
|
5635
5635
|
} else {
|
|
5636
|
-
let V = I.value.map((
|
|
5636
|
+
let V = I.value.map((Z) => Z[s.value]).indexOf($.value[s.value]) + 1;
|
|
5637
5637
|
I.value.length <= V && (V = 0), w(I.value[V] || null);
|
|
5638
5638
|
}
|
|
5639
5639
|
ke(() => {
|
|
@@ -5648,35 +5648,35 @@ function y7(t, e, a) {
|
|
|
5648
5648
|
V === void 0 && (V = G.value ? ne.value : te.value, V.__CREATE__ && (V = P.value, V === void 0 && (V = ne.value))), w(V || /* istanbul ignore next */
|
|
5649
5649
|
null);
|
|
5650
5650
|
} else {
|
|
5651
|
-
let V = I.value.map((
|
|
5651
|
+
let V = I.value.map((Z) => Z[s.value]).indexOf($.value[s.value]) - 1;
|
|
5652
5652
|
V < 0 && (V = I.value.length - 1), w(I.value[V] || null);
|
|
5653
5653
|
}
|
|
5654
5654
|
ke(() => {
|
|
5655
5655
|
K();
|
|
5656
5656
|
});
|
|
5657
|
-
}, J = (V) => D.value.find((
|
|
5657
|
+
}, J = (V) => D.value.find((Z) => Z.__VISIBLE__.map((he) => he[s.value]).indexOf(V[s.value]) !== -1), K = () => {
|
|
5658
5658
|
let V = y.value.querySelector("[data-pointed]");
|
|
5659
5659
|
if (!V)
|
|
5660
5660
|
return;
|
|
5661
|
-
let
|
|
5662
|
-
r.value && (
|
|
5661
|
+
let Z = V.parentElement.parentElement;
|
|
5662
|
+
r.value && (Z = G.value ? V.parentElement.parentElement.parentElement : V.parentElement.parentElement.parentElement.parentElement), V.offsetTop + V.offsetHeight > Z.clientHeight + Z.scrollTop && (Z.scrollTop = V.offsetTop + V.offsetHeight - Z.clientHeight), V.offsetTop < Z.scrollTop && (Z.scrollTop = V.offsetTop);
|
|
5663
5663
|
};
|
|
5664
5664
|
return de(h, (V) => {
|
|
5665
5665
|
o.value && (V.length && n.value ? L() : b());
|
|
5666
5666
|
}), de(E, (V) => {
|
|
5667
5667
|
if (V) {
|
|
5668
|
-
let
|
|
5669
|
-
if (!
|
|
5668
|
+
let Z = y.value.querySelectorAll("[data-selected]")[0];
|
|
5669
|
+
if (!Z)
|
|
5670
5670
|
return;
|
|
5671
|
-
let he =
|
|
5671
|
+
let he = Z.parentElement.parentElement;
|
|
5672
5672
|
ke(() => {
|
|
5673
|
-
he.scrollTop > 0 || (he.scrollTop =
|
|
5673
|
+
he.scrollTop > 0 || (he.scrollTop = Z.offsetTop);
|
|
5674
5674
|
});
|
|
5675
5675
|
}
|
|
5676
5676
|
}), {
|
|
5677
5677
|
pointer: $,
|
|
5678
5678
|
canPointGroups: R,
|
|
5679
|
-
isPointed:
|
|
5679
|
+
isPointed: F,
|
|
5680
5680
|
setPointerFirst: L,
|
|
5681
5681
|
selectPointer: j,
|
|
5682
5682
|
forwardPointer: k,
|
|
@@ -5696,7 +5696,7 @@ function Et(t) {
|
|
|
5696
5696
|
var e = Ee(t).Element;
|
|
5697
5697
|
return t instanceof e || t instanceof Element;
|
|
5698
5698
|
}
|
|
5699
|
-
function
|
|
5699
|
+
function Be(t) {
|
|
5700
5700
|
var e = Ee(t).HTMLElement;
|
|
5701
5701
|
return t instanceof e || t instanceof HTMLElement;
|
|
5702
5702
|
}
|
|
@@ -5706,7 +5706,7 @@ function Us(t) {
|
|
|
5706
5706
|
var e = Ee(t).ShadowRoot;
|
|
5707
5707
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5708
5708
|
}
|
|
5709
|
-
var Mt = Math.max,
|
|
5709
|
+
var Mt = Math.max, za = Math.min, qt = Math.round;
|
|
5710
5710
|
function $s() {
|
|
5711
5711
|
var t = navigator.userAgentData;
|
|
5712
5712
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5719,7 +5719,7 @@ function li() {
|
|
|
5719
5719
|
function Yt(t, e, a) {
|
|
5720
5720
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5721
5721
|
var s = t.getBoundingClientRect(), n = 1, o = 1;
|
|
5722
|
-
e &&
|
|
5722
|
+
e && Be(t) && (n = t.offsetWidth > 0 && qt(s.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && qt(s.height) / t.offsetHeight || 1);
|
|
5723
5723
|
var i = Et(t) ? Ee(t) : window, r = i.visualViewport, l = !li() && a, d = (s.left + (l && r ? r.offsetLeft : 0)) / n, u = (s.top + (l && r ? r.offsetTop : 0)) / o, f = s.width / n, c = s.height / o;
|
|
5724
5724
|
return {
|
|
5725
5725
|
width: f,
|
|
@@ -5746,7 +5746,7 @@ function b7(t) {
|
|
|
5746
5746
|
};
|
|
5747
5747
|
}
|
|
5748
5748
|
function w7(t) {
|
|
5749
|
-
return t === Ee(t) || !
|
|
5749
|
+
return t === Ee(t) || !Be(t) ? Fs(t) : b7(t);
|
|
5750
5750
|
}
|
|
5751
5751
|
function qe(t) {
|
|
5752
5752
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -5763,7 +5763,7 @@ function Zs(t) {
|
|
|
5763
5763
|
function at(t) {
|
|
5764
5764
|
return Ee(t).getComputedStyle(t);
|
|
5765
5765
|
}
|
|
5766
|
-
function
|
|
5766
|
+
function Ws(t) {
|
|
5767
5767
|
var e = at(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
|
|
5768
5768
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5769
5769
|
}
|
|
@@ -5773,7 +5773,7 @@ function $7(t) {
|
|
|
5773
5773
|
}
|
|
5774
5774
|
function k7(t, e, a) {
|
|
5775
5775
|
a === void 0 && (a = !1);
|
|
5776
|
-
var s =
|
|
5776
|
+
var s = Be(e), n = Be(e) && $7(e), o = _t(e), i = Yt(t, n, a), r = {
|
|
5777
5777
|
scrollLeft: 0,
|
|
5778
5778
|
scrollTop: 0
|
|
5779
5779
|
}, l = {
|
|
@@ -5781,7 +5781,7 @@ function k7(t, e, a) {
|
|
|
5781
5781
|
y: 0
|
|
5782
5782
|
};
|
|
5783
5783
|
return (s || !s && !a) && ((qe(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5784
|
-
|
|
5784
|
+
Ws(o)) && (r = w7(e)), Be(e) ? (l = Yt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Zs(o))), {
|
|
5785
5785
|
x: i.left + r.scrollLeft - l.x,
|
|
5786
5786
|
y: i.top + r.scrollTop - l.y,
|
|
5787
5787
|
width: i.width,
|
|
@@ -5810,12 +5810,12 @@ function ss(t) {
|
|
|
5810
5810
|
);
|
|
5811
5811
|
}
|
|
5812
5812
|
function ci(t) {
|
|
5813
|
-
return ["html", "body", "#document"].indexOf(qe(t)) >= 0 ? t.ownerDocument.body :
|
|
5813
|
+
return ["html", "body", "#document"].indexOf(qe(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t : ci(ss(t));
|
|
5814
5814
|
}
|
|
5815
5815
|
function ra(t, e) {
|
|
5816
5816
|
var a;
|
|
5817
5817
|
e === void 0 && (e = []);
|
|
5818
|
-
var s = ci(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Ee(s), i = n ? [o].concat(o.visualViewport || [],
|
|
5818
|
+
var s = ci(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Ee(s), i = n ? [o].concat(o.visualViewport || [], Ws(s) ? s : []) : s, r = e.concat(i);
|
|
5819
5819
|
return n ? r : (
|
|
5820
5820
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5821
5821
|
r.concat(ra(ss(i)))
|
|
@@ -5825,18 +5825,18 @@ function S7(t) {
|
|
|
5825
5825
|
return ["table", "td", "th"].indexOf(qe(t)) >= 0;
|
|
5826
5826
|
}
|
|
5827
5827
|
function $n(t) {
|
|
5828
|
-
return !
|
|
5828
|
+
return !Be(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5829
5829
|
at(t).position === "fixed" ? null : t.offsetParent;
|
|
5830
5830
|
}
|
|
5831
5831
|
function M7(t) {
|
|
5832
5832
|
var e = /firefox/i.test($s()), a = /Trident/i.test($s());
|
|
5833
|
-
if (a &&
|
|
5833
|
+
if (a && Be(t)) {
|
|
5834
5834
|
var s = at(t);
|
|
5835
5835
|
if (s.position === "fixed")
|
|
5836
5836
|
return null;
|
|
5837
5837
|
}
|
|
5838
5838
|
var n = ss(t);
|
|
5839
|
-
for (Us(n) && (n = n.host);
|
|
5839
|
+
for (Us(n) && (n = n.host); Be(n) && ["html", "body"].indexOf(qe(n)) < 0; ) {
|
|
5840
5840
|
var o = at(n);
|
|
5841
5841
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5842
5842
|
return n;
|
|
@@ -5849,9 +5849,9 @@ function ns(t) {
|
|
|
5849
5849
|
a = $n(a);
|
|
5850
5850
|
return a && (qe(a) === "html" || qe(a) === "body" && at(a).position === "static") ? e : a || M7(t) || e;
|
|
5851
5851
|
}
|
|
5852
|
-
var Ue = "top", Ye = "bottom", mt = "right", Xe = "left",
|
|
5852
|
+
var Ue = "top", Ye = "bottom", mt = "right", Xe = "left", zs = "auto", is = [Ue, Ye, mt, Xe], xt = "start", fa = "end", A7 = "clippingParents", di = "viewport", oa = "popper", T7 = "reference", kn = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5853
5853
|
return t.concat([e + "-" + xt, e + "-" + fa]);
|
|
5854
|
-
}, []), O7 = /* @__PURE__ */ [].concat(is, [
|
|
5854
|
+
}, []), O7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5855
5855
|
return t.concat([e, e + "-" + xt, e + "-" + fa]);
|
|
5856
5856
|
}, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", D7 = "main", H7 = "afterMain", V7 = "beforeWrite", B7 = "write", j7 = "afterWrite", R7 = [E7, I7, L7, P7, D7, H7, V7, B7, j7];
|
|
5857
5857
|
function N7(t) {
|
|
@@ -5903,7 +5903,7 @@ function Z7(t) {
|
|
|
5903
5903
|
return e[a];
|
|
5904
5904
|
});
|
|
5905
5905
|
}
|
|
5906
|
-
function
|
|
5906
|
+
function W7(t, e) {
|
|
5907
5907
|
var a = Ee(t), s = _t(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, r = 0, l = 0;
|
|
5908
5908
|
if (n) {
|
|
5909
5909
|
o = n.width, i = n.height;
|
|
@@ -5917,7 +5917,7 @@ function z7(t, e) {
|
|
|
5917
5917
|
y: l
|
|
5918
5918
|
};
|
|
5919
5919
|
}
|
|
5920
|
-
function
|
|
5920
|
+
function z7(t) {
|
|
5921
5921
|
var e, a = _t(t), s = Fs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = Mt(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = Mt(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), r = -s.scrollLeft + Zs(t), l = -s.scrollTop;
|
|
5922
5922
|
return at(n || a).direction === "rtl" && (r += Mt(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5923
5923
|
width: o,
|
|
@@ -5953,10 +5953,10 @@ function Y7(t, e) {
|
|
|
5953
5953
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5954
5954
|
}
|
|
5955
5955
|
function Sn(t, e, a) {
|
|
5956
|
-
return e === di ? ks(
|
|
5956
|
+
return e === di ? ks(W7(t, a)) : Et(e) ? Y7(e, a) : ks(z7(_t(t)));
|
|
5957
5957
|
}
|
|
5958
5958
|
function x7(t) {
|
|
5959
|
-
var e = ra(ss(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a &&
|
|
5959
|
+
var e = ra(ss(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5960
5960
|
return Et(s) ? e.filter(function(n) {
|
|
5961
5961
|
return Et(n) && q7(n, s) && qe(n) !== "body";
|
|
5962
5962
|
}) : [];
|
|
@@ -5964,7 +5964,7 @@ function x7(t) {
|
|
|
5964
5964
|
function K7(t, e, a, s) {
|
|
5965
5965
|
var n = e === "clippingParents" ? x7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], r = o.reduce(function(l, d) {
|
|
5966
5966
|
var u = Sn(t, d, s);
|
|
5967
|
-
return l.top = Mt(u.top, l.top), l.right =
|
|
5967
|
+
return l.top = Mt(u.top, l.top), l.right = za(u.right, l.right), l.bottom = za(u.bottom, l.bottom), l.left = Mt(u.left, l.left), l;
|
|
5968
5968
|
}, Sn(t, i, s));
|
|
5969
5969
|
return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
5970
5970
|
}
|
|
@@ -6301,7 +6301,7 @@ function rp(t) {
|
|
|
6301
6301
|
var e = t.state;
|
|
6302
6302
|
Object.keys(e.elements).forEach(function(a) {
|
|
6303
6303
|
var s = e.styles[a] || {}, n = e.attributes[a] || {}, o = e.elements[a];
|
|
6304
|
-
!
|
|
6304
|
+
!Be(o) || !qe(o) || (Object.assign(o.style, s), Object.keys(n).forEach(function(i) {
|
|
6305
6305
|
var r = n[i];
|
|
6306
6306
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6307
6307
|
}));
|
|
@@ -6325,7 +6325,7 @@ function lp(t) {
|
|
|
6325
6325
|
var n = e.elements[s], o = e.attributes[s] || {}, i = Object.keys(e.styles.hasOwnProperty(s) ? e.styles[s] : a[s]), r = i.reduce(function(l, d) {
|
|
6326
6326
|
return l[d] = "", l;
|
|
6327
6327
|
}, {});
|
|
6328
|
-
!
|
|
6328
|
+
!Be(n) || !qe(n) || (Object.assign(n.style, r), Object.keys(o).forEach(function(l) {
|
|
6329
6329
|
n.removeAttribute(l);
|
|
6330
6330
|
}));
|
|
6331
6331
|
});
|
|
@@ -6345,7 +6345,7 @@ function pp(t) {
|
|
|
6345
6345
|
return t === "x" ? "y" : "x";
|
|
6346
6346
|
}
|
|
6347
6347
|
function Va(t, e, a) {
|
|
6348
|
-
return Mt(t,
|
|
6348
|
+
return Mt(t, za(e, a));
|
|
6349
6349
|
}
|
|
6350
6350
|
function vp(t, e, a) {
|
|
6351
6351
|
var s = Va(t, e, a);
|
|
@@ -6371,15 +6371,15 @@ function fp(t) {
|
|
|
6371
6371
|
};
|
|
6372
6372
|
if (I) {
|
|
6373
6373
|
if (o) {
|
|
6374
|
-
var Q, re = y === "y" ? Ue : Xe, ie = y === "y" ? Ye : mt, ae = y === "y" ? "height" : "width", P = I[y], T = P + h[re],
|
|
6374
|
+
var Q, re = y === "y" ? Ue : Xe, ie = y === "y" ? Ye : mt, ae = y === "y" ? "height" : "width", P = I[y], T = P + h[re], F = P - h[ie], L = g ? -R[ae] / 2 : 0, j = w === xt ? D[ae] : R[ae], k = w === xt ? -R[ae] : -D[ae], H = e.elements.arrow, J = g && H ? ui(H) : {
|
|
6375
6375
|
width: 0,
|
|
6376
6376
|
height: 0
|
|
6377
|
-
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fi(), V = K[re],
|
|
6377
|
+
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fi(), V = K[re], Z = K[ie], he = Va(0, D[ae], J[ae]), $e = b ? D[ae] / 2 - L - he - V - te.mainAxis : j - he - V - te.mainAxis, Xt = b ? -D[ae] / 2 + L + he + Z + te.mainAxis : k + he + Z + te.mainAxis, Qt = e.elements.arrow && ns(e.elements.arrow), nt = Qt ? y === "y" ? Qt.clientTop || 0 : Qt.clientLeft || 0 : 0, ka = (Q = ne == null ? void 0 : ne[y]) != null ? Q : 0, rs = P + $e - ka - nt, it = P + Xt - ka, Sa = Va(g ? za(T, rs) : T, P, g ? Mt(F, it) : F);
|
|
6378
6378
|
I[y] = Sa, N[y] = Sa - P;
|
|
6379
6379
|
}
|
|
6380
6380
|
if (r) {
|
|
6381
|
-
var ot, Ze = y === "x" ? Ue : Xe, Le = y === "x" ? Ye : mt,
|
|
6382
|
-
I[E] = Aa, N[E] = Aa -
|
|
6381
|
+
var ot, Ze = y === "x" ? Ue : Xe, Le = y === "x" ? Ye : mt, Re = I[E], xe = E === "y" ? "height" : "width", Jt = Re + h[Ze], Ma = Re - h[Le], Pe = [Ue, Xe].indexOf($) !== -1, ea = (ot = ne == null ? void 0 : ne[E]) != null ? ot : 0, rt = Pe ? Jt : Re - D[xe] - R[xe] - ea + te.altAxis, bt = Pe ? Re + D[xe] + R[xe] - ea - te.altAxis : Ma, Aa = g && Pe ? vp(rt, Re, bt) : Va(g ? rt : Jt, Re, g ? bt : Ma);
|
|
6382
|
+
I[E] = Aa, N[E] = Aa - Re;
|
|
6383
6383
|
}
|
|
6384
6384
|
e.modifiersData[s] = N;
|
|
6385
6385
|
}
|
|
@@ -6431,7 +6431,7 @@ function Cp(t, e) {
|
|
|
6431
6431
|
});
|
|
6432
6432
|
}
|
|
6433
6433
|
function _p(t) {
|
|
6434
|
-
if (pt(t) ===
|
|
6434
|
+
if (pt(t) === zs)
|
|
6435
6435
|
return [];
|
|
6436
6436
|
var e = Ba(t);
|
|
6437
6437
|
return [On(t), e, On(e)];
|
|
@@ -6440,7 +6440,7 @@ function yp(t) {
|
|
|
6440
6440
|
var e = t.state, a = t.options, s = t.name;
|
|
6441
6441
|
if (!e.modifiersData[s]._skip) {
|
|
6442
6442
|
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, d = a.padding, u = a.boundary, f = a.rootBoundary, c = a.altBoundary, g = a.flipVariations, C = g === void 0 ? !0 : g, m = a.allowedAutoPlacements, h = e.options.placement, $ = pt(h), w = $ === h, b = l || (w || !C ? [Ba(h)] : _p(h)), y = [h].concat(b).reduce(function(J, K) {
|
|
6443
|
-
return J.concat(pt(K) ===
|
|
6443
|
+
return J.concat(pt(K) === zs ? Cp(e, {
|
|
6444
6444
|
placement: K,
|
|
6445
6445
|
boundary: u,
|
|
6446
6446
|
rootBoundary: f,
|
|
@@ -6457,19 +6457,19 @@ function yp(t) {
|
|
|
6457
6457
|
padding: d
|
|
6458
6458
|
}), P = re ? Q ? mt : Xe : Q ? Ye : Ue;
|
|
6459
6459
|
E[ie] > I[ie] && (P = Ba(P));
|
|
6460
|
-
var T = Ba(P),
|
|
6461
|
-
if (o &&
|
|
6460
|
+
var T = Ba(P), F = [];
|
|
6461
|
+
if (o && F.push(ae[N] <= 0), r && F.push(ae[P] <= 0, ae[T] <= 0), F.every(function(J) {
|
|
6462
6462
|
return J;
|
|
6463
6463
|
})) {
|
|
6464
6464
|
G = ne, R = !1;
|
|
6465
6465
|
break;
|
|
6466
6466
|
}
|
|
6467
|
-
D.set(ne,
|
|
6467
|
+
D.set(ne, F);
|
|
6468
6468
|
}
|
|
6469
6469
|
if (R)
|
|
6470
6470
|
for (var L = C ? 3 : 1, j = function(K) {
|
|
6471
|
-
var V = y.find(function(
|
|
6472
|
-
var he = D.get(
|
|
6471
|
+
var V = y.find(function(Z) {
|
|
6472
|
+
var he = D.get(Z);
|
|
6473
6473
|
if (he)
|
|
6474
6474
|
return he.slice(0, K).every(function($e) {
|
|
6475
6475
|
return $e;
|
|
@@ -6621,13 +6621,13 @@ function kp(t, e, a) {
|
|
|
6621
6621
|
createOption: c,
|
|
6622
6622
|
reverse: g
|
|
6623
6623
|
} = Ie(t), C = Dt().proxy, m = a.iv, h = a.update, $ = a.deselect, w = a.search, b = a.setPointer, y = a.selectPointer, E = a.backwardPointer, I = a.forwardPointer, D = a.multiselect, R = a.wrapper, G = a.tags, te = a.isOpen, ne = a.open, N = a.blur, Q = a.fo, re = S(() => f.value || c.value || !1), ie = S(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
|
|
6624
|
-
s.value === "tags" && !r.value && re.value && i.value && !d.value && b(Q.value[Q.value.map((
|
|
6624
|
+
s.value === "tags" && !r.value && re.value && i.value && !d.value && b(Q.value[Q.value.map((F) => F[l.value]).indexOf(w.value)]);
|
|
6625
6625
|
};
|
|
6626
6626
|
return {
|
|
6627
|
-
handleKeydown: (
|
|
6628
|
-
e.emit("keydown",
|
|
6627
|
+
handleKeydown: (F) => {
|
|
6628
|
+
e.emit("keydown", F, C);
|
|
6629
6629
|
let L, j;
|
|
6630
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(
|
|
6630
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(F.key) !== -1 && s.value === "tags" && (L = [...D.value.querySelectorAll("[data-tags] > *")].filter((k) => k !== G.value), j = L.findIndex((k) => k === document.activeElement)), F.key) {
|
|
6631
6631
|
case "Backspace":
|
|
6632
6632
|
if (s.value === "single" || i.value && [null, ""].indexOf(w.value) === -1 || m.value.length === 0)
|
|
6633
6633
|
return;
|
|
@@ -6635,7 +6635,7 @@ function kp(t, e, a) {
|
|
|
6635
6635
|
k.length && $(k[k.length - 1]);
|
|
6636
6636
|
break;
|
|
6637
6637
|
case "Enter":
|
|
6638
|
-
if (
|
|
6638
|
+
if (F.preventDefault(), F.keyCode === 229)
|
|
6639
6639
|
return;
|
|
6640
6640
|
if (j !== -1 && j !== void 0) {
|
|
6641
6641
|
h([...m.value].filter((H, J) => J !== j)), j === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : i.value ? G.value.querySelector("input").focus() : R.value.focus());
|
|
@@ -6647,49 +6647,49 @@ function kp(t, e, a) {
|
|
|
6647
6647
|
break;
|
|
6648
6648
|
case " ":
|
|
6649
6649
|
if (!re.value && !i.value) {
|
|
6650
|
-
|
|
6650
|
+
F.preventDefault(), ae(), y();
|
|
6651
6651
|
return;
|
|
6652
6652
|
}
|
|
6653
6653
|
if (!re.value)
|
|
6654
6654
|
return !1;
|
|
6655
6655
|
if (ie.value.indexOf("space") === -1 && re.value)
|
|
6656
6656
|
return;
|
|
6657
|
-
|
|
6657
|
+
F.preventDefault(), ae(), y();
|
|
6658
6658
|
break;
|
|
6659
6659
|
case "Tab":
|
|
6660
6660
|
case ";":
|
|
6661
6661
|
case ",":
|
|
6662
|
-
if (ie.value.indexOf(
|
|
6662
|
+
if (ie.value.indexOf(F.key.toLowerCase()) === -1 || !re.value)
|
|
6663
6663
|
return;
|
|
6664
|
-
ae(), y(),
|
|
6664
|
+
ae(), y(), F.preventDefault();
|
|
6665
6665
|
break;
|
|
6666
6666
|
case "Escape":
|
|
6667
6667
|
N();
|
|
6668
6668
|
break;
|
|
6669
6669
|
case "ArrowUp":
|
|
6670
|
-
if (
|
|
6670
|
+
if (F.preventDefault(), !r.value)
|
|
6671
6671
|
return;
|
|
6672
6672
|
te.value || ne(), E();
|
|
6673
6673
|
break;
|
|
6674
6674
|
case "ArrowDown":
|
|
6675
|
-
if (
|
|
6675
|
+
if (F.preventDefault(), !r.value)
|
|
6676
6676
|
return;
|
|
6677
6677
|
te.value || ne(), I();
|
|
6678
6678
|
break;
|
|
6679
6679
|
case "ArrowLeft":
|
|
6680
|
-
if (i.value && G.value && G.value.querySelector("input").selectionStart ||
|
|
6680
|
+
if (i.value && G.value && G.value.querySelector("input").selectionStart || F.shiftKey || s.value !== "tags" || !m.value || !m.value.length)
|
|
6681
6681
|
return;
|
|
6682
|
-
|
|
6682
|
+
F.preventDefault(), j === -1 ? L[L.length - 1].focus() : j > 0 && L[j - 1].focus();
|
|
6683
6683
|
break;
|
|
6684
6684
|
case "ArrowRight":
|
|
6685
|
-
if (j === -1 ||
|
|
6685
|
+
if (j === -1 || F.shiftKey || s.value !== "tags" || !m.value || !m.value.length)
|
|
6686
6686
|
return;
|
|
6687
|
-
|
|
6687
|
+
F.preventDefault(), L.length > j + 1 ? L[j + 1].focus() : i.value ? G.value.querySelector("input").focus() : i.value || R.value.focus();
|
|
6688
6688
|
break;
|
|
6689
6689
|
}
|
|
6690
6690
|
},
|
|
6691
|
-
handleKeyup: (
|
|
6692
|
-
e.emit("keyup",
|
|
6691
|
+
handleKeyup: (F) => {
|
|
6692
|
+
e.emit("keyup", F, C);
|
|
6693
6693
|
},
|
|
6694
6694
|
preparePointer: ae
|
|
6695
6695
|
};
|
|
@@ -7299,7 +7299,7 @@ var ct = {
|
|
|
7299
7299
|
}));
|
|
7300
7300
|
}
|
|
7301
7301
|
};
|
|
7302
|
-
const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Dp = ["onKeyup", "aria-label"], Hp = ["onClick"], Vp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Bp = ["innerHTML"], jp = ["id"], Rp = ["id"], Np = ["id", "aria-label", "aria-selected"], Up = ["data-pointed", "onMouseenter", "onMousedown"], Fp = ["innerHTML"], Zp = ["aria-label"],
|
|
7302
|
+
const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Dp = ["onKeyup", "aria-label"], Hp = ["onClick"], Vp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Bp = ["innerHTML"], jp = ["id"], Rp = ["id"], Np = ["id", "aria-label", "aria-selected"], Up = ["data-pointed", "onMouseenter", "onMousedown"], Fp = ["innerHTML"], Zp = ["aria-label"], Wp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], qp = ["innerHTML"], Yp = ["innerHTML"], xp = ["value"], Kp = ["name", "value"], Gp = ["name", "value"], Xp = ["id"];
|
|
7303
7303
|
function Qp(t, e, a, s, n, o) {
|
|
7304
7304
|
return p(), _("div", {
|
|
7305
7305
|
ref: "multiselect",
|
|
@@ -7311,7 +7311,7 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7311
7311
|
onKeyup: e[12] || (e[12] = (...i) => t.handleKeyup && t.handleKeyup(...i)),
|
|
7312
7312
|
onKeydown: e[13] || (e[13] = (...i) => t.handleKeydown && t.handleKeydown(...i))
|
|
7313
7313
|
}, [
|
|
7314
|
-
v("div",
|
|
7314
|
+
v("div", Ae({
|
|
7315
7315
|
class: t.classList.wrapper,
|
|
7316
7316
|
onMousedown: e[9] || (e[9] = (...i) => t.handleMousedown && t.handleMousedown(...i)),
|
|
7317
7317
|
ref: "wrapper",
|
|
@@ -7324,7 +7324,7 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7324
7324
|
role: a.searchable ? void 0 : "combobox"
|
|
7325
7325
|
}, a.searchable ? {} : t.arias), [
|
|
7326
7326
|
O(" Search "),
|
|
7327
|
-
a.mode !== "tags" && a.searchable && !a.disabled ? (p(), _("input",
|
|
7327
|
+
a.mode !== "tags" && a.searchable && !a.disabled ? (p(), _("input", Ae({
|
|
7328
7328
|
key: 0,
|
|
7329
7329
|
type: a.inputType,
|
|
7330
7330
|
modelValue: t.search,
|
|
@@ -7378,7 +7378,7 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7378
7378
|
{
|
|
7379
7379
|
class: ee(t.classList.tagWrapper)
|
|
7380
7380
|
},
|
|
7381
|
-
|
|
7381
|
+
W(t.localize(i[a.label])),
|
|
7382
7382
|
3
|
|
7383
7383
|
/* TEXT, CLASS */
|
|
7384
7384
|
),
|
|
@@ -7415,12 +7415,12 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7415
7415
|
{
|
|
7416
7416
|
class: ee(t.classList.tagsSearchCopy)
|
|
7417
7417
|
},
|
|
7418
|
-
|
|
7418
|
+
W(t.search),
|
|
7419
7419
|
3
|
|
7420
7420
|
/* TEXT, CLASS */
|
|
7421
7421
|
),
|
|
7422
7422
|
O(" Actual search input "),
|
|
7423
|
-
a.searchable && !a.disabled ? (p(), _("input",
|
|
7423
|
+
a.searchable && !a.disabled ? (p(), _("input", Ae({
|
|
7424
7424
|
key: 0,
|
|
7425
7425
|
type: a.inputType,
|
|
7426
7426
|
modelValue: t.search,
|
|
@@ -7466,7 +7466,7 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7466
7466
|
{
|
|
7467
7467
|
class: ee(t.classList.singleLabelText)
|
|
7468
7468
|
},
|
|
7469
|
-
|
|
7469
|
+
W(t.localize(t.iv[a.label])),
|
|
7470
7470
|
3
|
|
7471
7471
|
/* TEXT, CLASS */
|
|
7472
7472
|
)
|
|
@@ -7493,7 +7493,7 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7493
7493
|
class: ee(t.classList.placeholder),
|
|
7494
7494
|
"aria-hidden": "true"
|
|
7495
7495
|
},
|
|
7496
|
-
|
|
7496
|
+
W(a.placeholder),
|
|
7497
7497
|
3
|
|
7498
7498
|
/* TEXT, CLASS */
|
|
7499
7499
|
)
|
|
@@ -7636,12 +7636,12 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7636
7636
|
v(
|
|
7637
7637
|
"span",
|
|
7638
7638
|
null,
|
|
7639
|
-
|
|
7639
|
+
W(t.localize(d[a.label])),
|
|
7640
7640
|
1
|
|
7641
7641
|
/* TEXT */
|
|
7642
7642
|
)
|
|
7643
7643
|
])
|
|
7644
|
-
], 42,
|
|
7644
|
+
], 42, Wp))),
|
|
7645
7645
|
128
|
|
7646
7646
|
/* KEYED_FRAGMENT */
|
|
7647
7647
|
))
|
|
@@ -7673,12 +7673,12 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7673
7673
|
v(
|
|
7674
7674
|
"span",
|
|
7675
7675
|
null,
|
|
7676
|
-
|
|
7676
|
+
W(t.localize(i[a.label])),
|
|
7677
7677
|
1
|
|
7678
7678
|
/* TEXT */
|
|
7679
7679
|
)
|
|
7680
7680
|
])
|
|
7681
|
-
], 42,
|
|
7681
|
+
], 42, zp))),
|
|
7682
7682
|
128
|
|
7683
7683
|
/* KEYED_FRAGMENT */
|
|
7684
7684
|
))
|
|
@@ -7761,7 +7761,7 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7761
7761
|
class: ee(t.classList.assist),
|
|
7762
7762
|
id: t.ariaAssist,
|
|
7763
7763
|
"aria-hidden": "true"
|
|
7764
|
-
},
|
|
7764
|
+
}, W(t.ariaLabel), 11, Xp)) : O("v-if", !0),
|
|
7765
7765
|
O(" Create height for empty input "),
|
|
7766
7766
|
v(
|
|
7767
7767
|
"div",
|
|
@@ -7776,7 +7776,7 @@ function Qp(t, e, a, s, n, o) {
|
|
|
7776
7776
|
}
|
|
7777
7777
|
ct.render = Qp;
|
|
7778
7778
|
ct.__file = "src/Multiselect.vue";
|
|
7779
|
-
const
|
|
7779
|
+
const Me = /* @__PURE__ */ X({
|
|
7780
7780
|
__name: "AoMultiselect",
|
|
7781
7781
|
props: {
|
|
7782
7782
|
detached: { type: Boolean },
|
|
@@ -7787,7 +7787,7 @@ const Ae = /* @__PURE__ */ X({
|
|
|
7787
7787
|
return e.detached && p7({
|
|
7788
7788
|
multiselect: s,
|
|
7789
7789
|
appendTo: a.value
|
|
7790
|
-
}), (n, o) => (p(), B(
|
|
7790
|
+
}), (n, o) => (p(), B(z(ct), {
|
|
7791
7791
|
ref_key: "multiselectRef",
|
|
7792
7792
|
ref: s,
|
|
7793
7793
|
class: "ao-multiselect"
|
|
@@ -7932,7 +7932,7 @@ const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id",
|
|
|
7932
7932
|
onKeyup: vt(u, ["enter"])
|
|
7933
7933
|
}, null, 42, av),
|
|
7934
7934
|
As(". "),
|
|
7935
|
-
!f.isTemplate && f.users ? (p(), B(
|
|
7935
|
+
!f.isTemplate && f.users ? (p(), B(Me, {
|
|
7936
7936
|
key: 1,
|
|
7937
7937
|
value: (m = g.assignee) != null && m.id ? [g.assignee.id] : [],
|
|
7938
7938
|
options: n.value,
|
|
@@ -8039,7 +8039,7 @@ const iv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], ov = { class:
|
|
|
8039
8039
|
onDragleave: ve(l, ["prevent"])
|
|
8040
8040
|
}, [
|
|
8041
8041
|
se(u.$slots, "default", {}, () => [
|
|
8042
|
-
v("span", ov,
|
|
8042
|
+
v("span", ov, W(u.$t("activity.attachment.placeholder.resting")), 1)
|
|
8043
8043
|
]),
|
|
8044
8044
|
u.attachments ? (p(), _("ul", rv, [
|
|
8045
8045
|
(p(!0), _(fe, null, Ce(u.attachments, (c) => (p(), _("li", {
|
|
@@ -8057,7 +8057,7 @@ const iv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], ov = { class:
|
|
|
8057
8057
|
name: "AttachFileRounded",
|
|
8058
8058
|
size: "sm"
|
|
8059
8059
|
}),
|
|
8060
|
-
v("span", uv,
|
|
8060
|
+
v("span", uv, W(c.name), 1)
|
|
8061
8061
|
], 8, lv),
|
|
8062
8062
|
u.isEditable ? (p(), B(le, {
|
|
8063
8063
|
key: 0,
|
|
@@ -8077,7 +8077,7 @@ const iv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], ov = { class:
|
|
|
8077
8077
|
name: "Add",
|
|
8078
8078
|
size: "sm"
|
|
8079
8079
|
}),
|
|
8080
|
-
v("span", vv,
|
|
8080
|
+
v("span", vv, W(u.$t("activity.attachment.button.resting")), 1)
|
|
8081
8081
|
]),
|
|
8082
8082
|
v("input", {
|
|
8083
8083
|
class: "input-field",
|
|
@@ -8090,8 +8090,8 @@ const iv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], ov = { class:
|
|
|
8090
8090
|
])
|
|
8091
8091
|
])) : O("", !0)
|
|
8092
8092
|
])) : O("", !0),
|
|
8093
|
-
|
|
8094
|
-
v("span", hv,
|
|
8093
|
+
Te(v("div", fv, [
|
|
8094
|
+
v("span", hv, W(u.$t("activity.attachment.placeholder.active")), 1)
|
|
8095
8095
|
], 512), [
|
|
8096
8096
|
[Ni, i.value]
|
|
8097
8097
|
])
|
|
@@ -8155,10 +8155,10 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
|
|
|
8155
8155
|
"user-name": s.value,
|
|
8156
8156
|
class: "ao-comment__avatar"
|
|
8157
8157
|
}, null, 8, ["avatar-url", "user-name"])) : O("", !0),
|
|
8158
|
-
v("span", Cv,
|
|
8158
|
+
v("span", Cv, W(u.value), 1),
|
|
8159
8159
|
v("div", _v, [
|
|
8160
8160
|
v("div", yv, [
|
|
8161
|
-
|
|
8161
|
+
z(i) ? Te((p(), _("textarea", {
|
|
8162
8162
|
key: 1,
|
|
8163
8163
|
ref_key: "commentContent",
|
|
8164
8164
|
ref: n,
|
|
@@ -8166,44 +8166,44 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
|
|
|
8166
8166
|
"onUpdate:modelValue": I[0] || (I[0] = (R) => o.value = R),
|
|
8167
8167
|
rows: C.value,
|
|
8168
8168
|
onInput: I[1] || (I[1] = //@ts-ignore
|
|
8169
|
-
(...R) =>
|
|
8169
|
+
(...R) => z(w) && z(w)(...R)),
|
|
8170
8170
|
onKeydown: I[2] || (I[2] = //@ts-ignore
|
|
8171
|
-
(...R) =>
|
|
8171
|
+
(...R) => z(b) && z(b)(...R)),
|
|
8172
8172
|
onKeyup: [
|
|
8173
8173
|
I[3] || (I[3] = vt(
|
|
8174
8174
|
//@ts-ignore
|
|
8175
|
-
(...R) =>
|
|
8175
|
+
(...R) => z(f) && z(f)(...R),
|
|
8176
8176
|
["esc"]
|
|
8177
8177
|
)),
|
|
8178
8178
|
I[4] || (I[4] = vt(ve(
|
|
8179
8179
|
//@ts-ignore
|
|
8180
|
-
(...R) =>
|
|
8180
|
+
(...R) => z(c) && z(c)(...R),
|
|
8181
8181
|
["ctrl"]
|
|
8182
8182
|
), ["enter"]))
|
|
8183
8183
|
]
|
|
8184
8184
|
}, null, 40, wv)), [
|
|
8185
|
-
[
|
|
8186
|
-
]) : (p(), _("p", bv,
|
|
8187
|
-
|
|
8185
|
+
[Ne, o.value]
|
|
8186
|
+
]) : (p(), _("p", bv, W(E.content), 1)),
|
|
8187
|
+
z(m) && z($).length > 0 ? (p(), _("ul", {
|
|
8188
8188
|
key: 2,
|
|
8189
8189
|
class: "mention-list",
|
|
8190
|
-
style: Fe({ top:
|
|
8190
|
+
style: Fe({ top: z(h).top + "px", left: z(h).left + "px" })
|
|
8191
8191
|
}, [
|
|
8192
|
-
(p(!0), _(fe, null, Ce(
|
|
8192
|
+
(p(!0), _(fe, null, Ce(z($), (R) => (p(), _("li", {
|
|
8193
8193
|
key: R.id,
|
|
8194
|
-
onClick: (G) =>
|
|
8195
|
-
}, " @" +
|
|
8194
|
+
onClick: (G) => z(y)(R.name)
|
|
8195
|
+
}, " @" + W(R.name), 9, $v))), 128))
|
|
8196
8196
|
], 4)) : O("", !0)
|
|
8197
8197
|
])
|
|
8198
8198
|
]),
|
|
8199
8199
|
E.isEditable ? (p(), _("div", kv, [
|
|
8200
|
-
|
|
8200
|
+
z(i) ? (p(), _(fe, { key: 0 }, [
|
|
8201
8201
|
A(le, {
|
|
8202
8202
|
"icon-name": "CloseRounded",
|
|
8203
8203
|
size: "sm",
|
|
8204
8204
|
variant: "ghost",
|
|
8205
8205
|
color: "neutral",
|
|
8206
|
-
onClick:
|
|
8206
|
+
onClick: z(f)
|
|
8207
8207
|
}, null, 8, ["onClick"]),
|
|
8208
8208
|
A(le, {
|
|
8209
8209
|
"icon-name": "CheckSmallRounded",
|
|
@@ -8211,7 +8211,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
|
|
|
8211
8211
|
variant: "solid",
|
|
8212
8212
|
corners: "round",
|
|
8213
8213
|
color: "black",
|
|
8214
|
-
onClick:
|
|
8214
|
+
onClick: z(c)
|
|
8215
8215
|
}, null, 8, ["onClick"])
|
|
8216
8216
|
], 64)) : (p(), _(fe, { key: 1 }, [
|
|
8217
8217
|
A(le, {
|
|
@@ -8226,7 +8226,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
|
|
|
8226
8226
|
size: "sm",
|
|
8227
8227
|
variant: "ghost",
|
|
8228
8228
|
color: "neutral",
|
|
8229
|
-
onClick:
|
|
8229
|
+
onClick: z(r)
|
|
8230
8230
|
}, null, 8, ["label", "onClick"])
|
|
8231
8231
|
], 64))
|
|
8232
8232
|
])) : O("", !0)
|
|
@@ -8288,7 +8288,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
|
|
|
8288
8288
|
class: "ao-comments__form",
|
|
8289
8289
|
onSubmit: ve(l, ["prevent"])
|
|
8290
8290
|
}, [
|
|
8291
|
-
|
|
8291
|
+
Te(v("textarea", {
|
|
8292
8292
|
ref_key: "textareaRef",
|
|
8293
8293
|
ref: f,
|
|
8294
8294
|
"onUpdate:modelValue": y[0] || (y[0] = (I) => r.value = I),
|
|
@@ -8296,12 +8296,12 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
|
|
|
8296
8296
|
class: "ao-field__textarea ao-comments__form-textarea",
|
|
8297
8297
|
placeholder: b.$t("activity.comment.label"),
|
|
8298
8298
|
onInput: y[1] || (y[1] = //@ts-ignore
|
|
8299
|
-
(...I) =>
|
|
8299
|
+
(...I) => z(m) && z(m)(...I)),
|
|
8300
8300
|
onKeydown: y[2] || (y[2] = //@ts-ignore
|
|
8301
|
-
(...I) =>
|
|
8301
|
+
(...I) => z(h) && z(h)(...I))
|
|
8302
8302
|
}, null, 40, Tv), [
|
|
8303
8303
|
[
|
|
8304
|
-
|
|
8304
|
+
Ne,
|
|
8305
8305
|
r.value,
|
|
8306
8306
|
void 0,
|
|
8307
8307
|
{ trim: !0 }
|
|
@@ -8333,15 +8333,15 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
|
|
|
8333
8333
|
onRemove: () => u(I.id)
|
|
8334
8334
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "mentionable-users", "onEdit", "onRemove"]))), 128))
|
|
8335
8335
|
])) : O("", !0),
|
|
8336
|
-
|
|
8336
|
+
z(c) && z(C).length > 0 ? (p(), _("ul", {
|
|
8337
8337
|
key: 1,
|
|
8338
8338
|
class: "mention-list",
|
|
8339
|
-
style: Fe({ top:
|
|
8339
|
+
style: Fe({ top: z(g).top + "px", left: z(g).left + "px" })
|
|
8340
8340
|
}, [
|
|
8341
|
-
(p(!0), _(fe, null, Ce(
|
|
8341
|
+
(p(!0), _(fe, null, Ce(z(C), (I) => (p(), _("li", {
|
|
8342
8342
|
key: I.id,
|
|
8343
|
-
onClick: (D) =>
|
|
8344
|
-
}, " @" +
|
|
8343
|
+
onClick: (D) => z($)(I.name)
|
|
8344
|
+
}, " @" + W(I.name), 9, Iv))), 128))
|
|
8345
8345
|
], 4)) : O("", !0)
|
|
8346
8346
|
], 512);
|
|
8347
8347
|
};
|
|
@@ -8359,7 +8359,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8359
8359
|
e("update:modelValue", !a.modelValue);
|
|
8360
8360
|
};
|
|
8361
8361
|
return (n, o) => (p(), B(le, {
|
|
8362
|
-
color: n.modelValue ? n.color :
|
|
8362
|
+
color: n.modelValue ? n.color : z(Ls).NEUTRAL,
|
|
8363
8363
|
"icon-position": "start",
|
|
8364
8364
|
onClick: o[0] || (o[0] = () => s())
|
|
8365
8365
|
}, null, 8, ["color"]));
|
|
@@ -8373,25 +8373,25 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8373
8373
|
}, Rv = { class: "ao-field__label" }, Nv = {
|
|
8374
8374
|
key: 1,
|
|
8375
8375
|
class: "ao-field ao-feed__activity-details__project"
|
|
8376
|
-
}, Uv = { class: "ao-field__label" }, Fv = { class: "ao-activity-details__content" }, Zv = { class: "ao-fieldset" },
|
|
8376
|
+
}, Uv = { class: "ao-field__label" }, Fv = { class: "ao-activity-details__content" }, Zv = { class: "ao-fieldset" }, Wv = { class: "ao-field__row" }, zv = { class: "ao-field ao-field--full" }, qv = { class: "ao-field__label" }, Yv = ["readonly"], xv = { class: "ao-field__row" }, Kv = { class: "ao-field ao-field--inline" }, Gv = { class: "ao-field__label" }, Xv = ["readonly"], Qv = { class: "ao-field ao-field--inline" }, Jv = { class: "ao-field__label" }, ef = { class: "ao-field__input ao-field__input--estim ao-field__input--readonly" }, tf = { class: "ao-fieldset" }, af = { class: "ao-fieldset__title" }, sf = { class: "ao-fieldset__body" }, nf = {
|
|
8377
8377
|
key: 0,
|
|
8378
8378
|
class: "ao-fieldset"
|
|
8379
|
-
},
|
|
8379
|
+
}, of = { class: "ao-fieldset__title" }, rf = { class: "ao-activity-details__aside" }, lf = { class: "ao-activity-details__close-button" }, uf = {
|
|
8380
8380
|
key: 0,
|
|
8381
8381
|
class: "ao-activity-details__aside-section"
|
|
8382
|
-
},
|
|
8382
|
+
}, cf = { class: "ao-field" }, df = { class: "ao-field__label" }, pf = { class: "ao-activity-details__aside-section" }, vf = { class: "ao-field ao-field--multiselect" }, ff = { class: "assignee-inline" }, hf = { class: "ao-field__label" }, mf = { class: "ao-activity-details__aside-section" }, gf = {
|
|
8383
8383
|
key: 0,
|
|
8384
8384
|
class: "ao-field__row"
|
|
8385
|
-
},
|
|
8385
|
+
}, Cf = { class: "ao-field" }, _f = { class: "ao-field__label" }, yf = ["readonly"], bf = { class: "ao-activity-details__aside-section" }, wf = {
|
|
8386
8386
|
key: 0,
|
|
8387
8387
|
class: "ao-field__row"
|
|
8388
|
-
},
|
|
8388
|
+
}, $f = { class: "ao-field ao-field--multiselect" }, kf = { class: "ao-activity-details__aside-section" }, Sf = {
|
|
8389
8389
|
key: 1,
|
|
8390
8390
|
class: "ao-activity-details__aside-section"
|
|
8391
|
-
},
|
|
8391
|
+
}, Mf = { class: "ao-fieldset ao-activity-details__aside-section" }, Af = { class: "ao-fieldset__title" }, Tf = { class: "ao-fieldset__body" }, Of = { class: "ao-field__row" }, Ef = { class: "ao-field ao-field--multiselect" }, If = { class: "ao-field__label" }, Lf = { class: "ao-field__row" }, Pf = { class: "ao-field ao-field--multiselect" }, Df = { class: "ao-field__label" }, Hf = {
|
|
8392
8392
|
key: 2,
|
|
8393
8393
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8394
|
-
},
|
|
8394
|
+
}, Vf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ X({
|
|
8395
8395
|
__name: "AoActivityDetails",
|
|
8396
8396
|
props: {
|
|
8397
8397
|
activity: {},
|
|
@@ -8564,7 +8564,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8564
8564
|
}))), N = S(() => {
|
|
8565
8565
|
var H, J, K;
|
|
8566
8566
|
const k = (K = (J = (H = a.activity) == null ? void 0 : H.project) == null ? void 0 : J.phases) == null ? void 0 : K.reduce(
|
|
8567
|
-
(V,
|
|
8567
|
+
(V, Z) => [...V, ...Z.milestones],
|
|
8568
8568
|
[]
|
|
8569
8569
|
);
|
|
8570
8570
|
return k == null ? void 0 : k.map((V) => ({
|
|
@@ -8599,7 +8599,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8599
8599
|
});
|
|
8600
8600
|
}, T = (k) => {
|
|
8601
8601
|
e("updateComment", k);
|
|
8602
|
-
},
|
|
8602
|
+
}, F = (k) => {
|
|
8603
8603
|
e("removeComment", k);
|
|
8604
8604
|
}, L = S(() => {
|
|
8605
8605
|
var k, H;
|
|
@@ -8614,7 +8614,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8614
8614
|
});
|
|
8615
8615
|
}
|
|
8616
8616
|
return (k, H) => (p(), B(Ja, {
|
|
8617
|
-
onClose: H[
|
|
8617
|
+
onClose: H[10] || (H[10] = (J) => k.$emit("close"))
|
|
8618
8618
|
}, {
|
|
8619
8619
|
default: q(() => {
|
|
8620
8620
|
var J, K, V;
|
|
@@ -8632,7 +8632,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8632
8632
|
class: "ao-activity__ao-tag",
|
|
8633
8633
|
onClick: j
|
|
8634
8634
|
}, null, 8, ["label"])) : O("", !0),
|
|
8635
|
-
k.breadcrumbs ? (p(), _("div", Vv,
|
|
8635
|
+
k.breadcrumbs ? (p(), _("div", Vv, W(k.breadcrumbs), 1)) : O("", !0),
|
|
8636
8636
|
A(be, {
|
|
8637
8637
|
title: k.activity.name || "",
|
|
8638
8638
|
level: 4,
|
|
@@ -8641,8 +8641,8 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8641
8641
|
}, null, 8, ["title", "is-editable"]),
|
|
8642
8642
|
v("div", Bv, [
|
|
8643
8643
|
ne.value ? (p(), _("label", jv, [
|
|
8644
|
-
v("span", Rv,
|
|
8645
|
-
A(
|
|
8644
|
+
v("span", Rv, W(k.$t("activity.project.label")), 1),
|
|
8645
|
+
A(Me, {
|
|
8646
8646
|
options: ne.value,
|
|
8647
8647
|
value: (J = k.activity.project) == null ? void 0 : J.id,
|
|
8648
8648
|
searchable: !0,
|
|
@@ -8652,8 +8652,8 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8652
8652
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8653
8653
|
])) : O("", !0),
|
|
8654
8654
|
N.value ? (p(), _("label", Nv, [
|
|
8655
|
-
v("span", Uv,
|
|
8656
|
-
A(
|
|
8655
|
+
v("span", Uv, W(k.$t("activity.milestone.label")), 1),
|
|
8656
|
+
A(Me, {
|
|
8657
8657
|
options: N.value,
|
|
8658
8658
|
value: (K = k.activity.milestone) == null ? void 0 : K.id,
|
|
8659
8659
|
searchable: !0,
|
|
@@ -8667,7 +8667,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8667
8667
|
]),
|
|
8668
8668
|
v("div", Fv, [
|
|
8669
8669
|
v("fieldset", Zv, [
|
|
8670
|
-
v("div",
|
|
8670
|
+
v("div", Wv, [
|
|
8671
8671
|
A(mv, {
|
|
8672
8672
|
attachments: k.activity.attachments,
|
|
8673
8673
|
"is-editable": k.attachmentEnabled && s.value && k.isTemplate !== !0 && !!k.userId,
|
|
@@ -8675,16 +8675,16 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8675
8675
|
onRemove: te
|
|
8676
8676
|
}, {
|
|
8677
8677
|
default: q(() => [
|
|
8678
|
-
v("label",
|
|
8679
|
-
v("span", qv,
|
|
8680
|
-
|
|
8681
|
-
"onUpdate:modelValue": H[0] || (H[0] = (
|
|
8678
|
+
v("label", zv, [
|
|
8679
|
+
v("span", qv, W(k.$t("activity.description.label")), 1),
|
|
8680
|
+
Te(v("textarea", {
|
|
8681
|
+
"onUpdate:modelValue": H[0] || (H[0] = (Z) => o.value = Z),
|
|
8682
8682
|
readonly: !s.value,
|
|
8683
8683
|
rows: "4",
|
|
8684
8684
|
class: "ao-field__textarea"
|
|
8685
8685
|
}, null, 8, Yv), [
|
|
8686
8686
|
[
|
|
8687
|
-
|
|
8687
|
+
Ne,
|
|
8688
8688
|
o.value,
|
|
8689
8689
|
void 0,
|
|
8690
8690
|
{
|
|
@@ -8700,16 +8700,16 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8700
8700
|
]),
|
|
8701
8701
|
v("div", xv, [
|
|
8702
8702
|
v("label", Kv, [
|
|
8703
|
-
v("span", Gv,
|
|
8704
|
-
|
|
8705
|
-
"onUpdate:modelValue": H[1] || (H[1] = (
|
|
8703
|
+
v("span", Gv, W(k.$t("activity.estimation.label")), 1),
|
|
8704
|
+
Te(v("input", {
|
|
8705
|
+
"onUpdate:modelValue": H[1] || (H[1] = (Z) => i.value = Z),
|
|
8706
8706
|
readonly: !s.value,
|
|
8707
8707
|
class: "ao-field__input ao-field__input--estim",
|
|
8708
8708
|
type: "number",
|
|
8709
8709
|
min: "0"
|
|
8710
8710
|
}, null, 8, Xv), [
|
|
8711
8711
|
[
|
|
8712
|
-
|
|
8712
|
+
Ne,
|
|
8713
8713
|
i.value,
|
|
8714
8714
|
void 0,
|
|
8715
8715
|
{
|
|
@@ -8720,36 +8720,20 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8720
8720
|
])
|
|
8721
8721
|
]),
|
|
8722
8722
|
v("label", Qv, [
|
|
8723
|
-
v("span", Jv,
|
|
8724
|
-
|
|
8725
|
-
"onUpdate:modelValue": H[2] || (H[2] = (F) => r.value = F),
|
|
8726
|
-
readonly: "",
|
|
8727
|
-
class: "ao-field__input ao-field__input--estim",
|
|
8728
|
-
type: "number",
|
|
8729
|
-
min: "0"
|
|
8730
|
-
}, null, 512), [
|
|
8731
|
-
[
|
|
8732
|
-
Ve,
|
|
8733
|
-
r.value,
|
|
8734
|
-
void 0,
|
|
8735
|
-
{
|
|
8736
|
-
lazy: !0,
|
|
8737
|
-
number: !0
|
|
8738
|
-
}
|
|
8739
|
-
]
|
|
8740
|
-
])
|
|
8723
|
+
v("span", Jv, W(k.$t("activity.timeSpent.label")), 1),
|
|
8724
|
+
v("span", ef, W(r.value), 1)
|
|
8741
8725
|
])
|
|
8742
8726
|
])
|
|
8743
8727
|
]),
|
|
8744
|
-
v("fieldset",
|
|
8745
|
-
v("div",
|
|
8728
|
+
v("fieldset", tf, [
|
|
8729
|
+
v("div", af, [
|
|
8746
8730
|
A(ce, { name: "SelectCheckBox" }),
|
|
8747
8731
|
A(be, {
|
|
8748
8732
|
level: 4,
|
|
8749
8733
|
title: k.$t("activity.tasks.title")
|
|
8750
8734
|
}, null, 8, ["title"])
|
|
8751
8735
|
]),
|
|
8752
|
-
v("div",
|
|
8736
|
+
v("div", sf, [
|
|
8753
8737
|
A(nv, {
|
|
8754
8738
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8755
8739
|
tasks: k.activity.tasks || [],
|
|
@@ -8764,8 +8748,8 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8764
8748
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
8765
8749
|
])
|
|
8766
8750
|
]),
|
|
8767
|
-
k.isTemplate !== !0 && k.userId ? (p(), _("div",
|
|
8768
|
-
v("div",
|
|
8751
|
+
k.isTemplate !== !0 && k.userId ? (p(), _("div", nf, [
|
|
8752
|
+
v("div", of, [
|
|
8769
8753
|
A(ce, { name: "ChatOutline" }),
|
|
8770
8754
|
A(be, {
|
|
8771
8755
|
level: 4,
|
|
@@ -8778,22 +8762,22 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8778
8762
|
"user-id": k.userId,
|
|
8779
8763
|
onCreateComment: P,
|
|
8780
8764
|
onUpdateComment: T,
|
|
8781
|
-
onRemoveComment:
|
|
8765
|
+
onRemoveComment: F
|
|
8782
8766
|
}, null, 8, ["comments", "users", "user-id"])
|
|
8783
8767
|
])) : O("", !0)
|
|
8784
8768
|
])
|
|
8785
8769
|
]),
|
|
8786
|
-
v("div",
|
|
8787
|
-
v("div",
|
|
8770
|
+
v("div", rf, [
|
|
8771
|
+
v("div", lf, [
|
|
8788
8772
|
A(ce, {
|
|
8789
8773
|
name: "CloseRounded",
|
|
8790
|
-
onClick: H[
|
|
8774
|
+
onClick: H[2] || (H[2] = (Z) => k.$emit("close"))
|
|
8791
8775
|
})
|
|
8792
8776
|
]),
|
|
8793
|
-
ie.value ? (p(), _("div",
|
|
8794
|
-
v("label",
|
|
8795
|
-
v("span",
|
|
8796
|
-
A(
|
|
8777
|
+
ie.value ? (p(), _("div", uf, [
|
|
8778
|
+
v("label", cf, [
|
|
8779
|
+
v("span", df, W(k.$t("activity.status.label")), 1),
|
|
8780
|
+
A(Me, {
|
|
8797
8781
|
class: "ao-activity-details__multiselect",
|
|
8798
8782
|
options: ie.value,
|
|
8799
8783
|
value: (V = k.activity.status) == null ? void 0 : V.id,
|
|
@@ -8805,10 +8789,10 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8805
8789
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8806
8790
|
])
|
|
8807
8791
|
])) : O("", !0),
|
|
8808
|
-
v("div",
|
|
8809
|
-
v("div",
|
|
8810
|
-
v("div",
|
|
8811
|
-
v("span",
|
|
8792
|
+
v("div", pf, [
|
|
8793
|
+
v("div", vf, [
|
|
8794
|
+
v("div", ff, [
|
|
8795
|
+
v("span", hf, W(k.$t("activity.assignee.label")), 1),
|
|
8812
8796
|
A(le, {
|
|
8813
8797
|
label: k.$t("activity.assignee.toMe"),
|
|
8814
8798
|
type: "button",
|
|
@@ -8818,9 +8802,9 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8818
8802
|
onClick: E
|
|
8819
8803
|
}, null, 8, ["label"])
|
|
8820
8804
|
]),
|
|
8821
|
-
A(
|
|
8805
|
+
A(Me, {
|
|
8822
8806
|
modelValue: R.value,
|
|
8823
|
-
"onUpdate:modelValue": H[
|
|
8807
|
+
"onUpdate:modelValue": H[3] || (H[3] = (Z) => R.value = Z),
|
|
8824
8808
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8825
8809
|
options: D.value,
|
|
8826
8810
|
"close-on-select": !0,
|
|
@@ -8832,32 +8816,32 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8832
8816
|
onSelect: I
|
|
8833
8817
|
}, {
|
|
8834
8818
|
tag: q(({
|
|
8835
|
-
option:
|
|
8819
|
+
option: Z,
|
|
8836
8820
|
handleTagRemove: he
|
|
8837
8821
|
}) => [
|
|
8838
8822
|
A(et, {
|
|
8839
|
-
"user-name":
|
|
8840
|
-
"avatar-url":
|
|
8823
|
+
"user-name": Z.label,
|
|
8824
|
+
"avatar-url": Z.avatar,
|
|
8841
8825
|
"is-closable": !0,
|
|
8842
|
-
onClose: ($e) => he(
|
|
8826
|
+
onClose: ($e) => he(Z, $e)
|
|
8843
8827
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
8844
8828
|
]),
|
|
8845
8829
|
_: 1
|
|
8846
8830
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
8847
8831
|
])
|
|
8848
8832
|
]),
|
|
8849
|
-
v("div",
|
|
8850
|
-
k.isTemplate !== !0 && k.userId ? (p(), _("div",
|
|
8851
|
-
v("label",
|
|
8852
|
-
v("span",
|
|
8853
|
-
|
|
8854
|
-
"onUpdate:modelValue": H[
|
|
8833
|
+
v("div", mf, [
|
|
8834
|
+
k.isTemplate !== !0 && k.userId ? (p(), _("div", gf, [
|
|
8835
|
+
v("label", Cf, [
|
|
8836
|
+
v("span", _f, W(k.$t("activity.deadline.label")), 1),
|
|
8837
|
+
Te(v("input", {
|
|
8838
|
+
"onUpdate:modelValue": H[4] || (H[4] = (Z) => u.value = Z),
|
|
8855
8839
|
readonly: !s.value,
|
|
8856
8840
|
class: "ao-field__input",
|
|
8857
8841
|
type: "date"
|
|
8858
|
-
}, null, 8,
|
|
8842
|
+
}, null, 8, yf), [
|
|
8859
8843
|
[
|
|
8860
|
-
|
|
8844
|
+
Ne,
|
|
8861
8845
|
u.value,
|
|
8862
8846
|
void 0,
|
|
8863
8847
|
{ lazy: !0 }
|
|
@@ -8866,12 +8850,12 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8866
8850
|
])
|
|
8867
8851
|
])) : O("", !0)
|
|
8868
8852
|
]),
|
|
8869
|
-
v("div",
|
|
8870
|
-
f.value ? (p(), _("div",
|
|
8871
|
-
v("label",
|
|
8872
|
-
A(
|
|
8853
|
+
v("div", bf, [
|
|
8854
|
+
f.value ? (p(), _("div", wf, [
|
|
8855
|
+
v("label", $f, [
|
|
8856
|
+
A(Me, {
|
|
8873
8857
|
modelValue: c.value,
|
|
8874
|
-
"onUpdate:modelValue": H[
|
|
8858
|
+
"onUpdate:modelValue": H[5] || (H[5] = (Z) => c.value = Z),
|
|
8875
8859
|
class: "ao-activity-details__multiselect",
|
|
8876
8860
|
mode: "single",
|
|
8877
8861
|
searchable: !0,
|
|
@@ -8884,10 +8868,10 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8884
8868
|
])) : O("", !0),
|
|
8885
8869
|
se(k.$slots, "default", { activity: k.activity })
|
|
8886
8870
|
]),
|
|
8887
|
-
v("div",
|
|
8871
|
+
v("div", kf, [
|
|
8888
8872
|
A(Ss, {
|
|
8889
8873
|
modelValue: l.value,
|
|
8890
|
-
"onUpdate:modelValue": H[
|
|
8874
|
+
"onUpdate:modelValue": H[6] || (H[6] = (Z) => l.value = Z),
|
|
8891
8875
|
modelModifiers: { lazy: !0 },
|
|
8892
8876
|
label: k.$t("activity.important.label"),
|
|
8893
8877
|
disabled: !s.value,
|
|
@@ -8899,10 +8883,10 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8899
8883
|
size: "sm"
|
|
8900
8884
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8901
8885
|
]),
|
|
8902
|
-
k.isTemplate !== !0 && k.activity.createdBy.id === k.userId ? (p(), _("div",
|
|
8886
|
+
k.isTemplate !== !0 && k.activity.createdBy.id === k.userId ? (p(), _("div", Sf, [
|
|
8903
8887
|
A(Ss, {
|
|
8904
8888
|
modelValue: d.value,
|
|
8905
|
-
"onUpdate:modelValue": H[
|
|
8889
|
+
"onUpdate:modelValue": H[7] || (H[7] = (Z) => d.value = Z),
|
|
8906
8890
|
modelModifiers: { lazy: !0 },
|
|
8907
8891
|
label: k.$t("activity.private.label"),
|
|
8908
8892
|
disabled: !s.value,
|
|
@@ -8913,21 +8897,21 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8913
8897
|
size: "sm"
|
|
8914
8898
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8915
8899
|
])) : O("", !0),
|
|
8916
|
-
v("fieldset",
|
|
8917
|
-
v("div",
|
|
8900
|
+
v("fieldset", Mf, [
|
|
8901
|
+
v("div", Af, [
|
|
8918
8902
|
A(ce, { name: "FlowsheetOutlineRounded" }),
|
|
8919
8903
|
A(be, {
|
|
8920
8904
|
level: 4,
|
|
8921
8905
|
title: k.$t("activity.dependencies.title")
|
|
8922
8906
|
}, null, 8, ["title"])
|
|
8923
8907
|
]),
|
|
8924
|
-
v("div",
|
|
8925
|
-
v("div",
|
|
8926
|
-
v("label",
|
|
8927
|
-
v("span",
|
|
8928
|
-
A(
|
|
8908
|
+
v("div", Tf, [
|
|
8909
|
+
v("div", Of, [
|
|
8910
|
+
v("label", Ef, [
|
|
8911
|
+
v("span", If, W(k.$t("activity.dependingOn.label")), 1),
|
|
8912
|
+
A(Me, {
|
|
8929
8913
|
modelValue: C.value,
|
|
8930
|
-
"onUpdate:modelValue": H[
|
|
8914
|
+
"onUpdate:modelValue": H[8] || (H[8] = (Z) => C.value = Z),
|
|
8931
8915
|
class: "ao-activity-details__multiselect",
|
|
8932
8916
|
mode: "tags",
|
|
8933
8917
|
"close-on-select": !1,
|
|
@@ -8938,12 +8922,12 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8938
8922
|
}, null, 8, ["modelValue", "options", "disabled", "caret"])
|
|
8939
8923
|
])
|
|
8940
8924
|
]),
|
|
8941
|
-
v("div",
|
|
8942
|
-
v("label",
|
|
8943
|
-
v("span",
|
|
8944
|
-
A(
|
|
8925
|
+
v("div", Lf, [
|
|
8926
|
+
v("label", Pf, [
|
|
8927
|
+
v("span", Df, W(k.$t("activity.blocking.label")), 1),
|
|
8928
|
+
A(Me, {
|
|
8945
8929
|
modelValue: h.value,
|
|
8946
|
-
"onUpdate:modelValue": H[
|
|
8930
|
+
"onUpdate:modelValue": H[9] || (H[9] = (Z) => h.value = Z),
|
|
8947
8931
|
class: "ao-activity-details__multiselect",
|
|
8948
8932
|
mode: "tags",
|
|
8949
8933
|
"close-on-select": !1,
|
|
@@ -8956,13 +8940,13 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8956
8940
|
])
|
|
8957
8941
|
])
|
|
8958
8942
|
]),
|
|
8959
|
-
k.isTemplate !== !0 && L.value ? (p(), _("div",
|
|
8960
|
-
v("div",
|
|
8943
|
+
k.isTemplate !== !0 && L.value ? (p(), _("div", Hf, [
|
|
8944
|
+
v("div", Vf, [
|
|
8961
8945
|
A(et, {
|
|
8962
8946
|
"user-name": L.value,
|
|
8963
8947
|
color: "black"
|
|
8964
8948
|
}, null, 8, ["user-name"]),
|
|
8965
|
-
v("span", null,
|
|
8949
|
+
v("span", null, W(L.value), 1)
|
|
8966
8950
|
])
|
|
8967
8951
|
])) : O("", !0)
|
|
8968
8952
|
])
|
|
@@ -8973,7 +8957,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8973
8957
|
}));
|
|
8974
8958
|
}
|
|
8975
8959
|
});
|
|
8976
|
-
const
|
|
8960
|
+
const Bf = /* @__PURE__ */ X({
|
|
8977
8961
|
__name: "AoRuleLine",
|
|
8978
8962
|
props: {
|
|
8979
8963
|
rule: {},
|
|
@@ -9049,39 +9033,39 @@ const Vf = /* @__PURE__ */ X({
|
|
|
9049
9033
|
}), h = S(() => Object.values(G2));
|
|
9050
9034
|
return ($, w) => (p(), B(Lt($.tagName), { class: "ao-rule-line" }, {
|
|
9051
9035
|
default: q(() => [
|
|
9052
|
-
A(
|
|
9036
|
+
A(z(ct), {
|
|
9053
9037
|
modelValue: n.value,
|
|
9054
9038
|
"onUpdate:modelValue": w[0] || (w[0] = (b) => n.value = b),
|
|
9055
9039
|
options: o.value
|
|
9056
9040
|
}, null, 8, ["modelValue", "options"]),
|
|
9057
|
-
A(
|
|
9041
|
+
A(z(ct), {
|
|
9058
9042
|
modelValue: i.value,
|
|
9059
9043
|
"onUpdate:modelValue": w[1] || (w[1] = (b) => i.value = b),
|
|
9060
9044
|
options: r.value
|
|
9061
9045
|
}, null, 8, ["modelValue", "options"]),
|
|
9062
|
-
A(
|
|
9046
|
+
A(z(ct), {
|
|
9063
9047
|
modelValue: c.value,
|
|
9064
9048
|
"onUpdate:modelValue": w[2] || (w[2] = (b) => c.value = b),
|
|
9065
9049
|
options: g.value
|
|
9066
9050
|
}, null, 8, ["modelValue", "options"]),
|
|
9067
|
-
A(
|
|
9051
|
+
A(z(ct), {
|
|
9068
9052
|
modelValue: d.value,
|
|
9069
9053
|
"onUpdate:modelValue": w[3] || (w[3] = (b) => d.value = b),
|
|
9070
9054
|
options: u.value
|
|
9071
9055
|
}, null, 8, ["modelValue", "options"]),
|
|
9072
|
-
|
|
9056
|
+
Te(v("input", {
|
|
9073
9057
|
"onUpdate:modelValue": w[4] || (w[4] = (b) => C.value = b),
|
|
9074
9058
|
type: "number",
|
|
9075
9059
|
min: "0"
|
|
9076
9060
|
}, null, 512), [
|
|
9077
9061
|
[
|
|
9078
|
-
|
|
9062
|
+
Ne,
|
|
9079
9063
|
C.value,
|
|
9080
9064
|
void 0,
|
|
9081
9065
|
{ number: !0 }
|
|
9082
9066
|
]
|
|
9083
9067
|
]),
|
|
9084
|
-
A(
|
|
9068
|
+
A(z(ct), {
|
|
9085
9069
|
modelValue: m.value,
|
|
9086
9070
|
"onUpdate:modelValue": w[5] || (w[5] = (b) => m.value = b),
|
|
9087
9071
|
options: h.value
|
|
@@ -9097,7 +9081,7 @@ const Vf = /* @__PURE__ */ X({
|
|
|
9097
9081
|
}));
|
|
9098
9082
|
}
|
|
9099
9083
|
});
|
|
9100
|
-
const
|
|
9084
|
+
const jf = { class: "ao-template-rules__body" }, Rf = { class: "ao-template-rules__list" }, Nf = /* @__PURE__ */ X({
|
|
9101
9085
|
__name: "AoTemplateRules",
|
|
9102
9086
|
props: {
|
|
9103
9087
|
templateId: {},
|
|
@@ -9121,9 +9105,9 @@ const Bf = { class: "ao-template-rules__body" }, jf = { class: "ao-template-rule
|
|
|
9121
9105
|
}, null, 8, ["title"])
|
|
9122
9106
|
]),
|
|
9123
9107
|
default: q(() => [
|
|
9124
|
-
v("div",
|
|
9125
|
-
v("ul",
|
|
9126
|
-
(p(!0), _(fe, null, Ce(n.rules, (i) => (p(), B(
|
|
9108
|
+
v("div", jf, [
|
|
9109
|
+
v("ul", Rf, [
|
|
9110
|
+
(p(!0), _(fe, null, Ce(n.rules, (i) => (p(), B(Bf, {
|
|
9127
9111
|
key: i.id,
|
|
9128
9112
|
rule: i,
|
|
9129
9113
|
"template-phases": n.templatePhases,
|
|
@@ -9151,10 +9135,10 @@ function At(t, e, a) {
|
|
|
9151
9135
|
rank: o.format()
|
|
9152
9136
|
};
|
|
9153
9137
|
}
|
|
9154
|
-
const
|
|
9138
|
+
const Uf = {
|
|
9155
9139
|
key: 0,
|
|
9156
9140
|
class: "ao-template-details"
|
|
9157
|
-
},
|
|
9141
|
+
}, Ff = { class: "ao-template-details__body" }, Zf = { class: "ao-template-details__cols" }, Wf = { class: "ao-template-details__col" }, zf = { class: "ao-list__footer" }, qf = { class: "ao-template-details__col" }, Yf = { class: "ao-template-details__col" }, xf = /* @__PURE__ */ X({
|
|
9158
9142
|
__name: "AoTemplateDetails",
|
|
9159
9143
|
props: {
|
|
9160
9144
|
templateId: {},
|
|
@@ -9187,7 +9171,7 @@ const Nf = {
|
|
|
9187
9171
|
);
|
|
9188
9172
|
const i = S(() => {
|
|
9189
9173
|
var P, T;
|
|
9190
|
-
return (T = (P = n == null ? void 0 : n.value) == null ? void 0 : P.phases) == null ? void 0 : T.find((
|
|
9174
|
+
return (T = (P = n == null ? void 0 : n.value) == null ? void 0 : P.phases) == null ? void 0 : T.find((F) => F.id === a.phaseId);
|
|
9191
9175
|
});
|
|
9192
9176
|
de(
|
|
9193
9177
|
() => {
|
|
@@ -9201,7 +9185,7 @@ const Nf = {
|
|
|
9201
9185
|
const r = S(() => {
|
|
9202
9186
|
var P, T;
|
|
9203
9187
|
return (T = (P = i.value) == null ? void 0 : P.milestones) == null ? void 0 : T.find(
|
|
9204
|
-
(
|
|
9188
|
+
(F) => F.id === a.milestoneId
|
|
9205
9189
|
);
|
|
9206
9190
|
});
|
|
9207
9191
|
de(
|
|
@@ -9215,23 +9199,23 @@ const Nf = {
|
|
|
9215
9199
|
);
|
|
9216
9200
|
const l = S(() => {
|
|
9217
9201
|
var P, T;
|
|
9218
|
-
return ((T = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : T.reduce((
|
|
9202
|
+
return ((T = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : T.reduce((F, L) => {
|
|
9219
9203
|
const j = L.milestones || [];
|
|
9220
|
-
return [...
|
|
9204
|
+
return [...F, ...j];
|
|
9221
9205
|
}, [])) || [];
|
|
9222
9206
|
}), d = S(() => {
|
|
9223
9207
|
var P, T;
|
|
9224
|
-
return ((T = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : T.reduce((
|
|
9208
|
+
return ((T = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : T.reduce((F, L) => {
|
|
9225
9209
|
const k = (L.milestones || []).reduce(
|
|
9226
9210
|
(H, J) => J.activities ? [...H, ...J.activities] : H,
|
|
9227
9211
|
[]
|
|
9228
9212
|
);
|
|
9229
|
-
return [...
|
|
9213
|
+
return [...F, ...k];
|
|
9230
9214
|
}, [])) || [];
|
|
9231
9215
|
}), u = S(() => {
|
|
9232
9216
|
var P, T;
|
|
9233
9217
|
return (T = (P = r.value) == null ? void 0 : P.activities) == null ? void 0 : T.find(
|
|
9234
|
-
(
|
|
9218
|
+
(F) => F.id === a.activityId
|
|
9235
9219
|
);
|
|
9236
9220
|
}), f = S(() => {
|
|
9237
9221
|
var P;
|
|
@@ -9279,7 +9263,7 @@ const Nf = {
|
|
|
9279
9263
|
}, $ = (P) => {
|
|
9280
9264
|
if (!i.value)
|
|
9281
9265
|
return;
|
|
9282
|
-
const { name: T, rank:
|
|
9266
|
+
const { name: T, rank: F } = At(
|
|
9283
9267
|
i.value.milestones,
|
|
9284
9268
|
"milestone",
|
|
9285
9269
|
s
|
|
@@ -9290,7 +9274,7 @@ const Nf = {
|
|
|
9290
9274
|
phaseId: P.phaseId,
|
|
9291
9275
|
item: {
|
|
9292
9276
|
name: T,
|
|
9293
|
-
rank:
|
|
9277
|
+
rank: F,
|
|
9294
9278
|
phaseId: P.phaseId
|
|
9295
9279
|
}
|
|
9296
9280
|
});
|
|
@@ -9304,18 +9288,18 @@ const Nf = {
|
|
|
9304
9288
|
}
|
|
9305
9289
|
});
|
|
9306
9290
|
}, b = (P) => {
|
|
9307
|
-
const { id: T, ...
|
|
9291
|
+
const { id: T, ...F } = P;
|
|
9308
9292
|
e("updateItem", {
|
|
9309
9293
|
itemType: me.MILESTONES,
|
|
9310
9294
|
id: T,
|
|
9311
9295
|
templateId: a.templateId,
|
|
9312
|
-
data:
|
|
9296
|
+
data: F
|
|
9313
9297
|
});
|
|
9314
9298
|
}, y = (P) => {
|
|
9315
9299
|
const { milestoneId: T } = P;
|
|
9316
9300
|
if (!r.value)
|
|
9317
9301
|
return;
|
|
9318
|
-
const { name:
|
|
9302
|
+
const { name: F, rank: L } = At(
|
|
9319
9303
|
r.value.activities,
|
|
9320
9304
|
"activity",
|
|
9321
9305
|
s
|
|
@@ -9324,26 +9308,26 @@ const Nf = {
|
|
|
9324
9308
|
type: me.ACTIVITIES,
|
|
9325
9309
|
milestoneId: T,
|
|
9326
9310
|
templateId: a.templateId,
|
|
9327
|
-
item: { name:
|
|
9311
|
+
item: { name: F, rank: L, milestoneId: T }
|
|
9328
9312
|
});
|
|
9329
9313
|
}, E = (P) => {
|
|
9330
|
-
var T,
|
|
9314
|
+
var T, F;
|
|
9331
9315
|
e("removeItem", {
|
|
9332
9316
|
itemType: me.ACTIVITIES,
|
|
9333
9317
|
templateId: a.templateId,
|
|
9334
9318
|
phaseId: (T = i.value) == null ? void 0 : T.id,
|
|
9335
|
-
milestoneId: (
|
|
9319
|
+
milestoneId: (F = r.value) == null ? void 0 : F.id,
|
|
9336
9320
|
data: {
|
|
9337
9321
|
id: P.id
|
|
9338
9322
|
}
|
|
9339
9323
|
});
|
|
9340
9324
|
}, I = (P) => {
|
|
9341
|
-
const { id: T, ...
|
|
9325
|
+
const { id: T, ...F } = P;
|
|
9342
9326
|
e("updateItem", {
|
|
9343
9327
|
itemType: me.ACTIVITIES,
|
|
9344
9328
|
id: T,
|
|
9345
9329
|
templateId: a.templateId,
|
|
9346
|
-
data:
|
|
9330
|
+
data: F
|
|
9347
9331
|
});
|
|
9348
9332
|
}, D = x(!1), R = () => {
|
|
9349
9333
|
D.value = !D.value;
|
|
@@ -9354,13 +9338,13 @@ const Nf = {
|
|
|
9354
9338
|
}, ne = (P) => {
|
|
9355
9339
|
var T;
|
|
9356
9340
|
if (P.moved) {
|
|
9357
|
-
const
|
|
9341
|
+
const F = ba(P, ((T = n.value) == null ? void 0 : T.phases) ?? []);
|
|
9358
9342
|
e("updateItem", {
|
|
9359
9343
|
itemType: me.PHASES,
|
|
9360
9344
|
id: P.moved.element.id,
|
|
9361
9345
|
templateId: a.templateId,
|
|
9362
9346
|
data: {
|
|
9363
|
-
rank:
|
|
9347
|
+
rank: F
|
|
9364
9348
|
}
|
|
9365
9349
|
});
|
|
9366
9350
|
}
|
|
@@ -9395,11 +9379,11 @@ const Nf = {
|
|
|
9395
9379
|
e("removeFile", P);
|
|
9396
9380
|
};
|
|
9397
9381
|
return (P, T) => {
|
|
9398
|
-
var
|
|
9399
|
-
return n.value ? (p(), _("div",
|
|
9382
|
+
var F, L, j, k, H, J;
|
|
9383
|
+
return n.value ? (p(), _("div", Uf, [
|
|
9400
9384
|
A(wa, {
|
|
9401
9385
|
"can-go-back": !0,
|
|
9402
|
-
onGoBack: T[1] || (T[1] = (K) => P.$router.push({ name:
|
|
9386
|
+
onGoBack: T[1] || (T[1] = (K) => P.$router.push({ name: z(Nt).TEMPLATES_LIST }))
|
|
9403
9387
|
}, {
|
|
9404
9388
|
primary: q(() => [
|
|
9405
9389
|
A(be, {
|
|
@@ -9413,10 +9397,10 @@ const Nf = {
|
|
|
9413
9397
|
]),
|
|
9414
9398
|
_: 1
|
|
9415
9399
|
}),
|
|
9416
|
-
v("div",
|
|
9417
|
-
v("ol",
|
|
9418
|
-
v("li",
|
|
9419
|
-
A(
|
|
9400
|
+
v("div", Ff, [
|
|
9401
|
+
v("ol", Zf, [
|
|
9402
|
+
v("li", Wf, [
|
|
9403
|
+
A(z(gt), {
|
|
9420
9404
|
"model-value": n.value.phases,
|
|
9421
9405
|
class: "ao-templates__list",
|
|
9422
9406
|
"item-key": "id",
|
|
@@ -9439,11 +9423,11 @@ const Nf = {
|
|
|
9439
9423
|
milestones: K.milestones,
|
|
9440
9424
|
"is-active": ((V = i.value) == null ? void 0 : V.id) === K.id,
|
|
9441
9425
|
"is-draggable": !0,
|
|
9442
|
-
onClick: (
|
|
9426
|
+
onClick: (Z) => P.$router.push({
|
|
9443
9427
|
params: { templateId: P.templateId, phaseId: K.id }
|
|
9444
9428
|
}),
|
|
9445
|
-
"onUpdate:title": (
|
|
9446
|
-
m(K.id,
|
|
9429
|
+
"onUpdate:title": (Z) => {
|
|
9430
|
+
m(K.id, Z);
|
|
9447
9431
|
},
|
|
9448
9432
|
onRemove: () => C(K.id)
|
|
9449
9433
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
@@ -9461,19 +9445,19 @@ const Nf = {
|
|
|
9461
9445
|
_: 1
|
|
9462
9446
|
}, 8, ["model-value"])
|
|
9463
9447
|
]),
|
|
9464
|
-
v("li",
|
|
9448
|
+
v("li", qf, [
|
|
9465
9449
|
i.value ? (p(), B(S5, {
|
|
9466
9450
|
key: 0,
|
|
9467
9451
|
"template-id": P.templateId,
|
|
9468
9452
|
phase: i.value,
|
|
9469
|
-
"milestone-id": (
|
|
9453
|
+
"milestone-id": (F = r.value) == null ? void 0 : F.id,
|
|
9470
9454
|
onAddMilestone: $,
|
|
9471
9455
|
onUpdateMilestone: b,
|
|
9472
9456
|
onUpdatePhase: h,
|
|
9473
9457
|
onRemoveMilestone: w
|
|
9474
9458
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : O("", !0)
|
|
9475
9459
|
]),
|
|
9476
|
-
v("li",
|
|
9460
|
+
v("li", Yf, [
|
|
9477
9461
|
i.value && r.value ? (p(), B(T5, {
|
|
9478
9462
|
key: 0,
|
|
9479
9463
|
"template-id": P.templateId,
|
|
@@ -9517,7 +9501,7 @@ const Nf = {
|
|
|
9517
9501
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
9518
9502
|
])),
|
|
9519
9503
|
(p(), B(Tt, { to: "body" }, [
|
|
9520
|
-
D.value ? (p(), B(
|
|
9504
|
+
D.value ? (p(), B(Nf, {
|
|
9521
9505
|
key: 0,
|
|
9522
9506
|
"template-id": n.value.id,
|
|
9523
9507
|
rules: n.value.rules || [],
|
|
@@ -9533,10 +9517,10 @@ const Nf = {
|
|
|
9533
9517
|
};
|
|
9534
9518
|
}
|
|
9535
9519
|
});
|
|
9536
|
-
const
|
|
9520
|
+
const Kf = { class: "ao-card__content" }, Gf = {
|
|
9537
9521
|
key: 0,
|
|
9538
9522
|
class: "ao-card__header"
|
|
9539
|
-
},
|
|
9523
|
+
}, Xf = { class: "ao-card__body" }, Qf = {
|
|
9540
9524
|
key: 1,
|
|
9541
9525
|
class: "ao-card__footer"
|
|
9542
9526
|
}, os = /* @__PURE__ */ X({
|
|
@@ -9564,14 +9548,14 @@ const xf = { class: "ao-card__content" }, Kf = {
|
|
|
9564
9548
|
class: "ao-card__left-border",
|
|
9565
9549
|
style: Fe({ backgroundColor: e.color })
|
|
9566
9550
|
}, null, 4)) : O("", !0),
|
|
9567
|
-
v("div",
|
|
9568
|
-
e.$slots.header ? (p(), _("header",
|
|
9551
|
+
v("div", Kf, [
|
|
9552
|
+
e.$slots.header ? (p(), _("header", Gf, [
|
|
9569
9553
|
se(e.$slots, "header")
|
|
9570
9554
|
])) : O("", !0),
|
|
9571
|
-
v("div",
|
|
9555
|
+
v("div", Xf, [
|
|
9572
9556
|
se(e.$slots, "default")
|
|
9573
9557
|
]),
|
|
9574
|
-
e.$slots.footer ? (p(), _("footer",
|
|
9558
|
+
e.$slots.footer ? (p(), _("footer", Qf, [
|
|
9575
9559
|
se(e.$slots, "footer")
|
|
9576
9560
|
])) : O("", !0)
|
|
9577
9561
|
])
|
|
@@ -9611,8 +9595,8 @@ const It = /* @__PURE__ */ X({
|
|
|
9611
9595
|
*/
|
|
9612
9596
|
function kt(t) {
|
|
9613
9597
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
9614
|
-
/#/.test(t) ? e =
|
|
9615
|
-
const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } =
|
|
9598
|
+
/#/.test(t) ? e = eh(t) : /rgb/.test(t) ? e = In(t) : typeof t == "string" ? e = In(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
9599
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } = th(e);
|
|
9616
9600
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
9617
9601
|
}
|
|
9618
9602
|
function xs(t) {
|
|
@@ -9623,11 +9607,11 @@ function Ms(t, e, a, s, n, o) {
|
|
|
9623
9607
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
9624
9608
|
r.addColorStop(0.01, n), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, s);
|
|
9625
9609
|
}
|
|
9626
|
-
function
|
|
9610
|
+
function Jf({ r: t, g: e, b: a }, s) {
|
|
9627
9611
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
9628
9612
|
return s ? o.toUpperCase() : o;
|
|
9629
9613
|
}
|
|
9630
|
-
function
|
|
9614
|
+
function eh(t) {
|
|
9631
9615
|
t = t.slice(1);
|
|
9632
9616
|
const e = (a) => parseInt(a, 16) || 0;
|
|
9633
9617
|
return {
|
|
@@ -9644,7 +9628,7 @@ function In(t) {
|
|
|
9644
9628
|
a: Number(t[3] ? t[3] : 1)
|
|
9645
9629
|
}) : t;
|
|
9646
9630
|
}
|
|
9647
|
-
function
|
|
9631
|
+
function th({ r: t, g: e, b: a }) {
|
|
9648
9632
|
t = t / 255, e = e / 255, a = a / 255;
|
|
9649
9633
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
9650
9634
|
let i = 0;
|
|
@@ -9711,8 +9695,8 @@ var Ks = X({
|
|
|
9711
9695
|
}
|
|
9712
9696
|
}
|
|
9713
9697
|
});
|
|
9714
|
-
const
|
|
9715
|
-
function
|
|
9698
|
+
const ah = { ref: "canvasSaturation" };
|
|
9699
|
+
function sh(t, e, a, s, n, o) {
|
|
9716
9700
|
return p(), B(
|
|
9717
9701
|
"div",
|
|
9718
9702
|
{
|
|
@@ -9722,7 +9706,7 @@ function ah(t, e, a, s, n, o) {
|
|
|
9722
9706
|
[
|
|
9723
9707
|
A(
|
|
9724
9708
|
"canvas",
|
|
9725
|
-
|
|
9709
|
+
ah,
|
|
9726
9710
|
null,
|
|
9727
9711
|
512
|
|
9728
9712
|
/* NEED_PATCH */
|
|
@@ -9742,7 +9726,7 @@ function ah(t, e, a, s, n, o) {
|
|
|
9742
9726
|
/* HYDRATE_EVENTS */
|
|
9743
9727
|
);
|
|
9744
9728
|
}
|
|
9745
|
-
Ks.render =
|
|
9729
|
+
Ks.render = sh;
|
|
9746
9730
|
Ks.__file = "src/color/Saturation.vue";
|
|
9747
9731
|
var Gs = X({
|
|
9748
9732
|
props: {
|
|
@@ -9797,8 +9781,8 @@ var Gs = X({
|
|
|
9797
9781
|
}
|
|
9798
9782
|
}
|
|
9799
9783
|
});
|
|
9800
|
-
const
|
|
9801
|
-
function
|
|
9784
|
+
const nh = { ref: "canvasHue" };
|
|
9785
|
+
function ih(t, e, a, s, n, o) {
|
|
9802
9786
|
return p(), B(
|
|
9803
9787
|
"div",
|
|
9804
9788
|
{
|
|
@@ -9808,7 +9792,7 @@ function nh(t, e, a, s, n, o) {
|
|
|
9808
9792
|
[
|
|
9809
9793
|
A(
|
|
9810
9794
|
"canvas",
|
|
9811
|
-
|
|
9795
|
+
nh,
|
|
9812
9796
|
null,
|
|
9813
9797
|
512
|
|
9814
9798
|
/* NEED_PATCH */
|
|
@@ -9828,7 +9812,7 @@ function nh(t, e, a, s, n, o) {
|
|
|
9828
9812
|
/* HYDRATE_EVENTS */
|
|
9829
9813
|
);
|
|
9830
9814
|
}
|
|
9831
|
-
Gs.render =
|
|
9815
|
+
Gs.render = ih;
|
|
9832
9816
|
Gs.__file = "src/color/Hue.vue";
|
|
9833
9817
|
var Xs = X({
|
|
9834
9818
|
props: {
|
|
@@ -9892,8 +9876,8 @@ var Xs = X({
|
|
|
9892
9876
|
}
|
|
9893
9877
|
}
|
|
9894
9878
|
});
|
|
9895
|
-
const
|
|
9896
|
-
function
|
|
9879
|
+
const oh = { ref: "canvasAlpha" };
|
|
9880
|
+
function rh(t, e, a, s, n, o) {
|
|
9897
9881
|
return p(), B(
|
|
9898
9882
|
"div",
|
|
9899
9883
|
{
|
|
@@ -9903,7 +9887,7 @@ function oh(t, e, a, s, n, o) {
|
|
|
9903
9887
|
[
|
|
9904
9888
|
A(
|
|
9905
9889
|
"canvas",
|
|
9906
|
-
|
|
9890
|
+
oh,
|
|
9907
9891
|
null,
|
|
9908
9892
|
512
|
|
9909
9893
|
/* NEED_PATCH */
|
|
@@ -9923,7 +9907,7 @@ function oh(t, e, a, s, n, o) {
|
|
|
9923
9907
|
/* HYDRATE_EVENTS */
|
|
9924
9908
|
);
|
|
9925
9909
|
}
|
|
9926
|
-
Xs.render =
|
|
9910
|
+
Xs.render = rh;
|
|
9927
9911
|
Xs.__file = "src/color/Alpha.vue";
|
|
9928
9912
|
var Qs = X({
|
|
9929
9913
|
props: {
|
|
@@ -9960,10 +9944,10 @@ var Qs = X({
|
|
|
9960
9944
|
}
|
|
9961
9945
|
}
|
|
9962
9946
|
});
|
|
9963
|
-
function
|
|
9947
|
+
function lh(t, e, a, s, n, o) {
|
|
9964
9948
|
return p(), B("canvas");
|
|
9965
9949
|
}
|
|
9966
|
-
Qs.render =
|
|
9950
|
+
Qs.render = lh;
|
|
9967
9951
|
Qs.__file = "src/color/Preview.vue";
|
|
9968
9952
|
var Js = X({
|
|
9969
9953
|
props: {
|
|
@@ -10026,19 +10010,19 @@ var Js = X({
|
|
|
10026
10010
|
}
|
|
10027
10011
|
}
|
|
10028
10012
|
});
|
|
10029
|
-
const
|
|
10013
|
+
const uh = /* @__PURE__ */ A(
|
|
10030
10014
|
"path",
|
|
10031
10015
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10032
10016
|
null,
|
|
10033
10017
|
-1
|
|
10034
10018
|
/* HOISTED */
|
|
10035
|
-
),
|
|
10019
|
+
), ch = {
|
|
10036
10020
|
key: 1,
|
|
10037
10021
|
class: "sucker",
|
|
10038
10022
|
viewBox: "-16 -16 68 68",
|
|
10039
10023
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10040
10024
|
stroke: "#9099a4"
|
|
10041
|
-
},
|
|
10025
|
+
}, dh = /* @__PURE__ */ A(
|
|
10042
10026
|
"g",
|
|
10043
10027
|
{
|
|
10044
10028
|
fill: "none",
|
|
@@ -10070,7 +10054,7 @@ const lh = /* @__PURE__ */ A(
|
|
|
10070
10054
|
-1
|
|
10071
10055
|
/* HOISTED */
|
|
10072
10056
|
);
|
|
10073
|
-
function
|
|
10057
|
+
function ph(t, e, a, s, n, o) {
|
|
10074
10058
|
return p(), B("div", null, [
|
|
10075
10059
|
t.isSucking ? O("v-if", !0) : (p(), B(
|
|
10076
10060
|
"svg",
|
|
@@ -10082,17 +10066,17 @@ function dh(t, e, a, s, n, o) {
|
|
|
10082
10066
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10083
10067
|
},
|
|
10084
10068
|
[
|
|
10085
|
-
|
|
10069
|
+
uh
|
|
10086
10070
|
],
|
|
10087
10071
|
2
|
|
10088
10072
|
/* CLASS */
|
|
10089
10073
|
)),
|
|
10090
|
-
t.isSucking ? (p(), B("svg",
|
|
10091
|
-
|
|
10074
|
+
t.isSucking ? (p(), B("svg", ch, [
|
|
10075
|
+
dh
|
|
10092
10076
|
])) : O("v-if", !0)
|
|
10093
10077
|
]);
|
|
10094
10078
|
}
|
|
10095
|
-
Js.render =
|
|
10079
|
+
Js.render = ph;
|
|
10096
10080
|
Js.__file = "src/color/Sucker.vue";
|
|
10097
10081
|
var en = X({
|
|
10098
10082
|
props: {
|
|
@@ -10125,17 +10109,17 @@ var en = X({
|
|
|
10125
10109
|
};
|
|
10126
10110
|
}
|
|
10127
10111
|
});
|
|
10128
|
-
const
|
|
10129
|
-
function
|
|
10130
|
-
return p(), B("div",
|
|
10112
|
+
const vh = { class: "color-type" }, fh = { class: "name" };
|
|
10113
|
+
function hh(t, e, a, s, n, o) {
|
|
10114
|
+
return p(), B("div", vh, [
|
|
10131
10115
|
A(
|
|
10132
10116
|
"span",
|
|
10133
|
-
|
|
10134
|
-
|
|
10117
|
+
fh,
|
|
10118
|
+
W(t.name),
|
|
10135
10119
|
1
|
|
10136
10120
|
/* TEXT */
|
|
10137
10121
|
),
|
|
10138
|
-
|
|
10122
|
+
Te(A(
|
|
10139
10123
|
"input",
|
|
10140
10124
|
{
|
|
10141
10125
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
|
|
@@ -10147,11 +10131,11 @@ function fh(t, e, a, s, n, o) {
|
|
|
10147
10131
|
544
|
|
10148
10132
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
10149
10133
|
), [
|
|
10150
|
-
[
|
|
10134
|
+
[Ne, t.modelColor]
|
|
10151
10135
|
])
|
|
10152
10136
|
]);
|
|
10153
10137
|
}
|
|
10154
|
-
en.render =
|
|
10138
|
+
en.render = hh;
|
|
10155
10139
|
en.__file = "src/color/Box.vue";
|
|
10156
10140
|
var tn = X({
|
|
10157
10141
|
name: "ColorPicker",
|
|
@@ -10193,13 +10177,13 @@ var tn = X({
|
|
|
10193
10177
|
};
|
|
10194
10178
|
}
|
|
10195
10179
|
});
|
|
10196
|
-
const
|
|
10180
|
+
const mh = { class: "colors" }, gh = {
|
|
10197
10181
|
key: 0,
|
|
10198
10182
|
class: "colors history"
|
|
10199
10183
|
};
|
|
10200
|
-
function
|
|
10184
|
+
function Ch(t, e, a, s, n, o) {
|
|
10201
10185
|
return p(), B("div", null, [
|
|
10202
|
-
A("ul",
|
|
10186
|
+
A("ul", mh, [
|
|
10203
10187
|
(p(!0), B(
|
|
10204
10188
|
fe,
|
|
10205
10189
|
null,
|
|
@@ -10233,7 +10217,7 @@ function gh(t, e, a, s, n, o) {
|
|
|
10233
10217
|
/* KEYED_FRAGMENT */
|
|
10234
10218
|
))
|
|
10235
10219
|
]),
|
|
10236
|
-
t.colorsHistory.length ? (p(), B("ul",
|
|
10220
|
+
t.colorsHistory.length ? (p(), B("ul", gh, [
|
|
10237
10221
|
(p(!0), B(
|
|
10238
10222
|
fe,
|
|
10239
10223
|
null,
|
|
@@ -10269,7 +10253,7 @@ function gh(t, e, a, s, n, o) {
|
|
|
10269
10253
|
])) : O("v-if", !0)
|
|
10270
10254
|
]);
|
|
10271
10255
|
}
|
|
10272
|
-
tn.render =
|
|
10256
|
+
tn.render = Ch;
|
|
10273
10257
|
tn.__file = "src/color/Colors.vue";
|
|
10274
10258
|
var Ft = X({
|
|
10275
10259
|
components: {
|
|
@@ -10380,7 +10364,7 @@ var Ft = X({
|
|
|
10380
10364
|
return `rgba(${this.rgbaStringShort})`;
|
|
10381
10365
|
},
|
|
10382
10366
|
hexString() {
|
|
10383
|
-
return
|
|
10367
|
+
return Jf(this.rgba, !0);
|
|
10384
10368
|
}
|
|
10385
10369
|
},
|
|
10386
10370
|
created() {
|
|
@@ -10444,8 +10428,8 @@ var Ft = X({
|
|
|
10444
10428
|
}
|
|
10445
10429
|
}
|
|
10446
10430
|
});
|
|
10447
|
-
const
|
|
10448
|
-
function
|
|
10431
|
+
const _h = { class: "color-set" };
|
|
10432
|
+
function yh(t, e, a, s, n, o) {
|
|
10449
10433
|
const i = ut("Saturation"), r = ut("Hue"), l = ut("Alpha"), d = ut("Preview"), u = ut("Sucker"), f = ut("Box"), c = ut("Colors");
|
|
10450
10434
|
return p(), B(
|
|
10451
10435
|
"div",
|
|
@@ -10454,7 +10438,7 @@ function _h(t, e, a, s, n, o) {
|
|
|
10454
10438
|
style: { width: t.totalWidth + "px" }
|
|
10455
10439
|
},
|
|
10456
10440
|
[
|
|
10457
|
-
A("div",
|
|
10441
|
+
A("div", _h, [
|
|
10458
10442
|
A(i, {
|
|
10459
10443
|
ref: "saturation",
|
|
10460
10444
|
color: t.rgbString,
|
|
@@ -10528,12 +10512,12 @@ function _h(t, e, a, s, n, o) {
|
|
|
10528
10512
|
/* CLASS, STYLE */
|
|
10529
10513
|
);
|
|
10530
10514
|
}
|
|
10531
|
-
Ft.render =
|
|
10515
|
+
Ft.render = yh;
|
|
10532
10516
|
Ft.__file = "src/color/ColorPicker.vue";
|
|
10533
10517
|
Ft.install = (t) => {
|
|
10534
10518
|
t.component(Ft.name, Ft);
|
|
10535
10519
|
};
|
|
10536
|
-
const
|
|
10520
|
+
const bh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ X({
|
|
10537
10521
|
__name: "AoColorPicker",
|
|
10538
10522
|
props: {
|
|
10539
10523
|
color: {}
|
|
@@ -10564,7 +10548,7 @@ const yh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ X({
|
|
|
10564
10548
|
const { r: C, g: m, b: h, a: $ } = g.rgba;
|
|
10565
10549
|
f.value = `rgba(${C}, ${m}, ${h}, ${$})`;
|
|
10566
10550
|
};
|
|
10567
|
-
return (g, C) => (p(), _("div",
|
|
10551
|
+
return (g, C) => (p(), _("div", bh, [
|
|
10568
10552
|
se(g.$slots, "clickable", {
|
|
10569
10553
|
openPicker: l,
|
|
10570
10554
|
bgColor: g.color
|
|
@@ -10576,7 +10560,7 @@ const yh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ X({
|
|
|
10576
10560
|
class: "color-picker",
|
|
10577
10561
|
style: Fe(d.value)
|
|
10578
10562
|
}, [
|
|
10579
|
-
A(
|
|
10563
|
+
A(z(Ft), {
|
|
10580
10564
|
class: "color-picker-box",
|
|
10581
10565
|
theme: "light",
|
|
10582
10566
|
color: g.color,
|
|
@@ -10586,19 +10570,19 @@ const yh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ X({
|
|
|
10586
10570
|
]));
|
|
10587
10571
|
}
|
|
10588
10572
|
});
|
|
10589
|
-
const
|
|
10573
|
+
const wh = { class: "ao-card-project-phase__header" }, $h = { class: "ao-card-project-item__title-line" }, kh = {
|
|
10590
10574
|
key: 0,
|
|
10591
10575
|
class: "ao-card-project-item-phase__estimation"
|
|
10592
|
-
},
|
|
10576
|
+
}, Sh = { class: "ao-card-project-phase__footer" }, Mh = {
|
|
10593
10577
|
key: 0,
|
|
10594
10578
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
10595
|
-
},
|
|
10579
|
+
}, Ah = { class: "ao-card-project-phase__subitem" }, Th = { class: "ao-card-project-phase__subitem" }, Oh = {
|
|
10596
10580
|
key: 0,
|
|
10597
10581
|
class: "ao-card-project-phase__secondary"
|
|
10598
|
-
},
|
|
10582
|
+
}, Eh = {
|
|
10599
10583
|
key: 1,
|
|
10600
10584
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
10601
|
-
},
|
|
10585
|
+
}, Ih = { class: "ao-card-project-phase__subitem" }, Lh = { class: "ao-card-project-phase__subitem" }, Ph = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Dh = /* @__PURE__ */ X({
|
|
10602
10586
|
__name: "AoCardProjectItemPhase",
|
|
10603
10587
|
props: {
|
|
10604
10588
|
id: {},
|
|
@@ -10665,7 +10649,7 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
|
|
|
10665
10649
|
onClick: (b) => C(b, $)
|
|
10666
10650
|
}, ha({
|
|
10667
10651
|
default: q(() => [
|
|
10668
|
-
v("div",
|
|
10652
|
+
v("div", $h, [
|
|
10669
10653
|
A(be, {
|
|
10670
10654
|
id: m.id,
|
|
10671
10655
|
class: "ao-card-project-phase__title",
|
|
@@ -10674,35 +10658,35 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
|
|
|
10674
10658
|
"is-editable": m.isEditable,
|
|
10675
10659
|
"onUpdate:title": s
|
|
10676
10660
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10677
|
-
n.value || o.value ? (p(), _("span",
|
|
10661
|
+
n.value || o.value ? (p(), _("span", kh, " (" + W(i.value) + "/" + W(n.value) + ")", 1)) : O("", !0)
|
|
10678
10662
|
])
|
|
10679
10663
|
]),
|
|
10680
10664
|
footer: q(() => [
|
|
10681
|
-
v("div",
|
|
10682
|
-
d.value ? (p(), _("div",
|
|
10683
|
-
v("div",
|
|
10665
|
+
v("div", Sh, [
|
|
10666
|
+
d.value ? (p(), _("div", Mh, [
|
|
10667
|
+
v("div", Ah, [
|
|
10684
10668
|
A(ce, {
|
|
10685
10669
|
name: "MountainFlagOutlineRounded",
|
|
10686
10670
|
size: "sm"
|
|
10687
10671
|
}),
|
|
10688
|
-
v("span",
|
|
10672
|
+
v("span", Th, W(u.value) + " / " + W(d.value), 1)
|
|
10689
10673
|
]),
|
|
10690
10674
|
A(It, {
|
|
10691
10675
|
percentages: f.value,
|
|
10692
10676
|
class: "ao-card-project-phase__progress",
|
|
10693
10677
|
color: m.color
|
|
10694
10678
|
}, null, 8, ["percentages", "color"]),
|
|
10695
|
-
m.$slots.secondary ? (p(), _("div",
|
|
10679
|
+
m.$slots.secondary ? (p(), _("div", Oh, [
|
|
10696
10680
|
se(m.$slots, "secondary")
|
|
10697
10681
|
])) : O("", !0)
|
|
10698
10682
|
])) : O("", !0),
|
|
10699
|
-
n.value ? (p(), _("div",
|
|
10700
|
-
v("div",
|
|
10683
|
+
m.isEditable && n.value ? (p(), _("div", Eh, [
|
|
10684
|
+
v("div", Ih, [
|
|
10701
10685
|
A(ce, {
|
|
10702
10686
|
name: "TimerOutlineRounded",
|
|
10703
10687
|
size: "sm"
|
|
10704
10688
|
}),
|
|
10705
|
-
v("span",
|
|
10689
|
+
v("span", Lh, W(i.value) + "h / " + W(n.value) + "h ", 1)
|
|
10706
10690
|
]),
|
|
10707
10691
|
A(It, {
|
|
10708
10692
|
percentages: r.value,
|
|
@@ -10713,20 +10697,20 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
|
|
|
10713
10697
|
v("div", {
|
|
10714
10698
|
class: ee(["ao-card-project-phase__footer-row", c.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
10715
10699
|
}, [
|
|
10716
|
-
m.isEditable ?
|
|
10700
|
+
m.isEditable ? Te((p(), _("input", {
|
|
10717
10701
|
key: 0,
|
|
10718
10702
|
"onUpdate:modelValue": h[1] || (h[1] = (b) => c.value = b),
|
|
10719
10703
|
class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
|
|
10720
10704
|
type: "date"
|
|
10721
10705
|
}, null, 512)), [
|
|
10722
10706
|
[
|
|
10723
|
-
|
|
10707
|
+
Ne,
|
|
10724
10708
|
c.value,
|
|
10725
10709
|
void 0,
|
|
10726
10710
|
{ lazy: !0 }
|
|
10727
10711
|
]
|
|
10728
10712
|
]) : O("", !0),
|
|
10729
|
-
v("span",
|
|
10713
|
+
v("span", Ph, W(z(Qa)(m.deadline)), 1)
|
|
10730
10714
|
], 2)
|
|
10731
10715
|
])
|
|
10732
10716
|
]),
|
|
@@ -10735,7 +10719,7 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
|
|
|
10735
10719
|
m.isEditable ? {
|
|
10736
10720
|
name: "header",
|
|
10737
10721
|
fn: q(() => [
|
|
10738
|
-
v("div",
|
|
10722
|
+
v("div", wh, [
|
|
10739
10723
|
A(le, {
|
|
10740
10724
|
class: "ao-card-project-phase__archive",
|
|
10741
10725
|
color: "primary",
|
|
@@ -10760,7 +10744,7 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
|
|
|
10760
10744
|
}, 8, ["color"]));
|
|
10761
10745
|
}
|
|
10762
10746
|
});
|
|
10763
|
-
const
|
|
10747
|
+
const Hh = /* @__PURE__ */ X({
|
|
10764
10748
|
__name: "AoBadge",
|
|
10765
10749
|
props: {
|
|
10766
10750
|
color: {}
|
|
@@ -10772,25 +10756,25 @@ const Dh = /* @__PURE__ */ X({
|
|
|
10772
10756
|
}, null, 4));
|
|
10773
10757
|
}
|
|
10774
10758
|
});
|
|
10775
|
-
const
|
|
10759
|
+
const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-title-with-badge-wrapper" }, jh = { class: "ao-card-project-item__title-line" }, Rh = {
|
|
10776
10760
|
key: 0,
|
|
10777
10761
|
class: "ao-card-project-item-milestone__estimation"
|
|
10778
|
-
},
|
|
10762
|
+
}, Nh = {
|
|
10779
10763
|
key: 0,
|
|
10780
10764
|
class: "ao-card-project-milestone__archive"
|
|
10781
|
-
},
|
|
10765
|
+
}, Uh = { class: "ao-card-project-milestone__activities" }, Fh = { class: "ao-card-project-milestone__activities-row" }, Zh = { class: "ao-card-project-milestone__subitem" }, Wh = { class: "ao-card-project-milestone__subitem" }, zh = {
|
|
10782
10766
|
key: 1,
|
|
10783
10767
|
class: "ao-card-project-milestone__secondary"
|
|
10784
|
-
},
|
|
10768
|
+
}, qh = {
|
|
10785
10769
|
key: 0,
|
|
10786
10770
|
class: "ao-card-project-milestone__activities-row"
|
|
10787
|
-
},
|
|
10771
|
+
}, Yh = { class: "ao-card-project-milestone__subitem" }, xh = { class: "ao-card-project-milestone__subitem" }, Kh = { class: "ao-card-project-milestone__footer" }, Gh = {
|
|
10788
10772
|
key: 1,
|
|
10789
10773
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
10790
|
-
},
|
|
10774
|
+
}, Xh = { class: "ao-field__label" }, Qh = {
|
|
10791
10775
|
key: 2,
|
|
10792
10776
|
class: "ao-card-project-milestone__assignee"
|
|
10793
|
-
},
|
|
10777
|
+
}, Jh = /* @__PURE__ */ X({
|
|
10794
10778
|
__name: "AoCardProjectItemMilestone",
|
|
10795
10779
|
props: {
|
|
10796
10780
|
id: {},
|
|
@@ -10838,12 +10822,12 @@ const Hh = { class: "ao-card-project-milestone__default" }, Vh = { class: "ao-ti
|
|
|
10838
10822
|
color: c.phaseColor
|
|
10839
10823
|
}, {
|
|
10840
10824
|
default: q(() => [
|
|
10841
|
-
v("div",
|
|
10842
|
-
v("div",
|
|
10843
|
-
A(
|
|
10825
|
+
v("div", Vh, [
|
|
10826
|
+
v("div", Bh, [
|
|
10827
|
+
A(Hh, {
|
|
10844
10828
|
color: c.color || ""
|
|
10845
10829
|
}, null, 8, ["color"]),
|
|
10846
|
-
v("div",
|
|
10830
|
+
v("div", jh, [
|
|
10847
10831
|
A(be, {
|
|
10848
10832
|
id: c.id,
|
|
10849
10833
|
title: c.name || "",
|
|
@@ -10852,10 +10836,10 @@ const Hh = { class: "ao-card-project-milestone__default" }, Vh = { class: "ao-ti
|
|
|
10852
10836
|
class: "ao-card-project-milestone__title",
|
|
10853
10837
|
"onUpdate:title": f
|
|
10854
10838
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10855
|
-
s.value || n.value ? (p(), _("span",
|
|
10839
|
+
s.value || n.value ? (p(), _("span", Rh, " (" + W(o.value) + "/" + W(s.value) + ")", 1)) : O("", !0)
|
|
10856
10840
|
])
|
|
10857
10841
|
]),
|
|
10858
|
-
!c.readonly && c.isEditable ? (p(), _("div",
|
|
10842
|
+
!c.readonly && c.isEditable ? (p(), _("div", Nh, [
|
|
10859
10843
|
A(le, {
|
|
10860
10844
|
color: "primary",
|
|
10861
10845
|
variant: "ghost",
|
|
@@ -10871,15 +10855,15 @@ const Hh = { class: "ao-card-project-milestone__default" }, Vh = { class: "ao-ti
|
|
|
10871
10855
|
}, null, 8, ["label"])
|
|
10872
10856
|
])) : O("", !0)
|
|
10873
10857
|
]),
|
|
10874
|
-
v("div",
|
|
10875
|
-
v("div",
|
|
10858
|
+
v("div", Uh, [
|
|
10859
|
+
v("div", Fh, [
|
|
10876
10860
|
l.value ? (p(), _(fe, { key: 0 }, [
|
|
10877
|
-
v("div",
|
|
10861
|
+
v("div", Zh, [
|
|
10878
10862
|
A(ce, {
|
|
10879
10863
|
name: "SelectCheckBox",
|
|
10880
10864
|
size: "sm"
|
|
10881
10865
|
}),
|
|
10882
|
-
v("span",
|
|
10866
|
+
v("span", Wh, W(d.value) + " / " + W(l.value), 1)
|
|
10883
10867
|
]),
|
|
10884
10868
|
A(It, {
|
|
10885
10869
|
percentages: u.value,
|
|
@@ -10891,13 +10875,13 @@ const Hh = { class: "ao-card-project-milestone__default" }, Vh = { class: "ao-ti
|
|
|
10891
10875
|
se(c.$slots, "secondary")
|
|
10892
10876
|
])) : O("", !0)
|
|
10893
10877
|
]),
|
|
10894
|
-
s.value ? (p(), _("div",
|
|
10895
|
-
v("div",
|
|
10878
|
+
c.isEditable && !c.readonly && s.value ? (p(), _("div", qh, [
|
|
10879
|
+
v("div", Yh, [
|
|
10896
10880
|
A(ce, {
|
|
10897
10881
|
name: "TimerOutlineRounded",
|
|
10898
10882
|
size: "sm"
|
|
10899
10883
|
}),
|
|
10900
|
-
v("span",
|
|
10884
|
+
v("span", xh, W(o.value) + "h / " + W(s.value) + "h ", 1)
|
|
10901
10885
|
]),
|
|
10902
10886
|
A(It, {
|
|
10903
10887
|
percentages: i.value,
|
|
@@ -10908,7 +10892,7 @@ const Hh = { class: "ao-card-project-milestone__default" }, Vh = { class: "ao-ti
|
|
|
10908
10892
|
])
|
|
10909
10893
|
]),
|
|
10910
10894
|
footer: q(() => [
|
|
10911
|
-
v("div",
|
|
10895
|
+
v("div", Kh, [
|
|
10912
10896
|
c.important ? (p(), B(ce, {
|
|
10913
10897
|
key: 0,
|
|
10914
10898
|
name: "FlagRounded",
|
|
@@ -10917,12 +10901,12 @@ const Hh = { class: "ao-card-project-milestone__default" }, Vh = { class: "ao-ti
|
|
|
10917
10901
|
),
|
|
10918
10902
|
size: "sm"
|
|
10919
10903
|
}, null, 8, ["class"])) : O("", !0),
|
|
10920
|
-
c.deadline ? (p(), _("label",
|
|
10921
|
-
v("span",
|
|
10904
|
+
c.deadline ? (p(), _("label", Gh, [
|
|
10905
|
+
v("span", Xh, W(z(Qa)(c.deadline)), 1)
|
|
10922
10906
|
])) : O("", !0),
|
|
10923
|
-
c.assignee ? (p(), _("div",
|
|
10907
|
+
c.assignee ? (p(), _("div", Qh, [
|
|
10924
10908
|
A(et, {
|
|
10925
|
-
"user-name":
|
|
10909
|
+
"user-name": z(Gn)(c.assignee),
|
|
10926
10910
|
"avatar-url": c.assignee.avatarUrl,
|
|
10927
10911
|
color: c.isSelected ? "black" : "primary",
|
|
10928
10912
|
size: "sm"
|
|
@@ -10934,19 +10918,19 @@ const Hh = { class: "ao-card-project-milestone__default" }, Vh = { class: "ao-ti
|
|
|
10934
10918
|
}, 8, ["is-clickable", "is-selected", "color"]));
|
|
10935
10919
|
}
|
|
10936
10920
|
});
|
|
10937
|
-
const
|
|
10921
|
+
const e9 = { class: "ao-mapping-card-project-phase__header" }, t9 = { class: "ao-card-project-item__title-line" }, a9 = {
|
|
10938
10922
|
key: 0,
|
|
10939
10923
|
class: "ao-card-project-item-phase__estimation"
|
|
10940
|
-
},
|
|
10924
|
+
}, s9 = { class: "ao-mapping-card-project-phase__footer" }, n9 = {
|
|
10941
10925
|
key: 0,
|
|
10942
10926
|
class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
|
|
10943
|
-
},
|
|
10927
|
+
}, i9 = { class: "ao-mapping-card-project-phase__subitem" }, o9 = { class: "ao-mapping-card-project-phase__subitem" }, r9 = {
|
|
10944
10928
|
key: 0,
|
|
10945
10929
|
class: "ao-mapping-card-project-phase__secondary"
|
|
10946
|
-
},
|
|
10930
|
+
}, l9 = {
|
|
10947
10931
|
key: 1,
|
|
10948
10932
|
class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
|
|
10949
|
-
},
|
|
10933
|
+
}, u9 = { class: "ao-mapping-card-project-phase__subitem" }, c9 = { class: "ao-mapping-card-project-phase__subitem" }, d9 = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, p9 = /* @__PURE__ */ X({
|
|
10950
10934
|
__name: "AoCondensedCardProjectItemPhase",
|
|
10951
10935
|
props: {
|
|
10952
10936
|
id: {},
|
|
@@ -11013,7 +10997,7 @@ const Jh = { class: "ao-mapping-card-project-phase__header" }, e9 = { class: "ao
|
|
|
11013
10997
|
onClick: (b) => C(b, $)
|
|
11014
10998
|
}, ha({
|
|
11015
10999
|
default: q(() => [
|
|
11016
|
-
v("div",
|
|
11000
|
+
v("div", t9, [
|
|
11017
11001
|
A(be, {
|
|
11018
11002
|
id: m.id,
|
|
11019
11003
|
class: "ao-mapping-card-project-phase__title",
|
|
@@ -11022,35 +11006,35 @@ const Jh = { class: "ao-mapping-card-project-phase__header" }, e9 = { class: "ao
|
|
|
11022
11006
|
"is-editable": m.isEditable,
|
|
11023
11007
|
"onUpdate:title": s
|
|
11024
11008
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
11025
|
-
n.value || o.value ? (p(), _("span",
|
|
11009
|
+
n.value || o.value ? (p(), _("span", a9, " (" + W(i.value) + "/" + W(n.value) + ")", 1)) : O("", !0)
|
|
11026
11010
|
])
|
|
11027
11011
|
]),
|
|
11028
11012
|
footer: q(() => [
|
|
11029
|
-
v("div",
|
|
11030
|
-
d.value ? (p(), _("div",
|
|
11031
|
-
v("div",
|
|
11013
|
+
v("div", s9, [
|
|
11014
|
+
d.value ? (p(), _("div", n9, [
|
|
11015
|
+
v("div", i9, [
|
|
11032
11016
|
A(ce, {
|
|
11033
11017
|
name: "MountainFlagOutlineRounded",
|
|
11034
11018
|
size: "sm"
|
|
11035
11019
|
}),
|
|
11036
|
-
v("span",
|
|
11020
|
+
v("span", o9, W(u.value) + " / " + W(d.value), 1)
|
|
11037
11021
|
]),
|
|
11038
11022
|
A(It, {
|
|
11039
11023
|
percentages: f.value,
|
|
11040
11024
|
class: "ao-mapping-card-project-phase__progress",
|
|
11041
11025
|
color: g.value
|
|
11042
11026
|
}, null, 8, ["percentages", "color"]),
|
|
11043
|
-
m.$slots.secondary ? (p(), _("div",
|
|
11027
|
+
m.$slots.secondary ? (p(), _("div", r9, [
|
|
11044
11028
|
se(m.$slots, "secondary")
|
|
11045
11029
|
])) : O("", !0)
|
|
11046
11030
|
])) : O("", !0),
|
|
11047
|
-
n.value ? (p(), _("div",
|
|
11048
|
-
v("div",
|
|
11031
|
+
m.isEditable && n.value ? (p(), _("div", l9, [
|
|
11032
|
+
v("div", u9, [
|
|
11049
11033
|
A(ce, {
|
|
11050
11034
|
name: "TimerOutlineRounded",
|
|
11051
11035
|
size: "sm"
|
|
11052
11036
|
}),
|
|
11053
|
-
v("span",
|
|
11037
|
+
v("span", c9, W(i.value) + "h / " + W(n.value) + "h ", 1)
|
|
11054
11038
|
]),
|
|
11055
11039
|
A(It, {
|
|
11056
11040
|
percentages: r.value,
|
|
@@ -11061,20 +11045,20 @@ const Jh = { class: "ao-mapping-card-project-phase__header" }, e9 = { class: "ao
|
|
|
11061
11045
|
v("div", {
|
|
11062
11046
|
class: ee(["ao-mapping-card-project-phase__footer-row", c.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
|
|
11063
11047
|
}, [
|
|
11064
|
-
m.isEditable ?
|
|
11048
|
+
m.isEditable ? Te((p(), _("input", {
|
|
11065
11049
|
key: 0,
|
|
11066
11050
|
"onUpdate:modelValue": h[1] || (h[1] = (b) => c.value = b),
|
|
11067
11051
|
class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",
|
|
11068
11052
|
type: "date"
|
|
11069
11053
|
}, null, 512)), [
|
|
11070
11054
|
[
|
|
11071
|
-
|
|
11055
|
+
Ne,
|
|
11072
11056
|
c.value,
|
|
11073
11057
|
void 0,
|
|
11074
11058
|
{ lazy: !0 }
|
|
11075
11059
|
]
|
|
11076
11060
|
]) : O("", !0),
|
|
11077
|
-
v("span",
|
|
11061
|
+
v("span", d9, W(z(Qa)(m.deadline)), 1)
|
|
11078
11062
|
], 2)
|
|
11079
11063
|
])
|
|
11080
11064
|
]),
|
|
@@ -11083,7 +11067,7 @@ const Jh = { class: "ao-mapping-card-project-phase__header" }, e9 = { class: "ao
|
|
|
11083
11067
|
m.isEditable ? {
|
|
11084
11068
|
name: "header",
|
|
11085
11069
|
fn: q(() => [
|
|
11086
|
-
v("div",
|
|
11070
|
+
v("div", e9, [
|
|
11087
11071
|
A(le, {
|
|
11088
11072
|
class: "ao-mapping-card-project-phase__archive",
|
|
11089
11073
|
color: "primary",
|
|
@@ -11108,19 +11092,19 @@ const Jh = { class: "ao-mapping-card-project-phase__header" }, e9 = { class: "ao
|
|
|
11108
11092
|
}, 8, ["color"]));
|
|
11109
11093
|
}
|
|
11110
11094
|
});
|
|
11111
|
-
const
|
|
11095
|
+
const v9 = { class: "ao-project-phase" }, f9 = {
|
|
11112
11096
|
key: 0,
|
|
11113
11097
|
class: "ao-project-phase__drag ao-card__drag"
|
|
11114
|
-
},
|
|
11098
|
+
}, h9 = {
|
|
11115
11099
|
key: 1,
|
|
11116
11100
|
class: "ao-project-phase__col-phase"
|
|
11117
|
-
},
|
|
11101
|
+
}, m9 = {
|
|
11118
11102
|
key: 2,
|
|
11119
11103
|
class: "ao-mapping-project-phase__col-phase"
|
|
11120
|
-
},
|
|
11104
|
+
}, g9 = {
|
|
11121
11105
|
key: 0,
|
|
11122
11106
|
class: "ao-project-phase__col-milestones"
|
|
11123
|
-
},
|
|
11107
|
+
}, C9 = { class: "ao-project-phase__milestones-list-footer" }, _9 = /* @__PURE__ */ X({
|
|
11124
11108
|
__name: "AoProjectPhase",
|
|
11125
11109
|
props: {
|
|
11126
11110
|
phase: {},
|
|
@@ -11179,19 +11163,19 @@ const p9 = { class: "ao-project-phase" }, v9 = {
|
|
|
11179
11163
|
var w;
|
|
11180
11164
|
return a.phase.id !== ((w = m.params) == null ? void 0 : w.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: U3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
|
|
11181
11165
|
});
|
|
11182
|
-
return (w, b) => (p(), _("li",
|
|
11166
|
+
return (w, b) => (p(), _("li", v9, [
|
|
11183
11167
|
v("div", {
|
|
11184
11168
|
class: "ao-project-phases__draggable-card",
|
|
11185
11169
|
style: Fe($.value)
|
|
11186
11170
|
}, [
|
|
11187
|
-
w.isEditable ? (p(), _("div",
|
|
11171
|
+
w.isEditable ? (p(), _("div", f9, [
|
|
11188
11172
|
A(ce, {
|
|
11189
11173
|
name: "DragIndicator",
|
|
11190
11174
|
class: "ao-project-phase__drag-handle"
|
|
11191
11175
|
})
|
|
11192
11176
|
])) : O("", !0),
|
|
11193
|
-
h.value ? (p(), _("div",
|
|
11194
|
-
A(
|
|
11177
|
+
h.value ? (p(), _("div", m9, [
|
|
11178
|
+
A(p9, {
|
|
11195
11179
|
id: w.phase.id,
|
|
11196
11180
|
milestones: r.value,
|
|
11197
11181
|
name: w.phase.name,
|
|
@@ -11205,8 +11189,8 @@ const p9 = { class: "ao-project-phase" }, v9 = {
|
|
|
11205
11189
|
onUnarchivePhase: g,
|
|
11206
11190
|
onUpdatePhase: i
|
|
11207
11191
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
11208
|
-
])) : (p(), _("div",
|
|
11209
|
-
A(
|
|
11192
|
+
])) : (p(), _("div", h9, [
|
|
11193
|
+
A(Dh, {
|
|
11210
11194
|
id: w.phase.id,
|
|
11211
11195
|
milestones: r.value,
|
|
11212
11196
|
name: w.phase.name,
|
|
@@ -11223,12 +11207,12 @@ const p9 = { class: "ao-project-phase" }, v9 = {
|
|
|
11223
11207
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color", "time-tracking-data"])
|
|
11224
11208
|
]))
|
|
11225
11209
|
], 4),
|
|
11226
|
-
h.value ? O("", !0) : (p(), _("div",
|
|
11210
|
+
h.value ? O("", !0) : (p(), _("div", g9, [
|
|
11227
11211
|
v("div", {
|
|
11228
11212
|
class: "ao-project-phase__milestones",
|
|
11229
11213
|
style: Fe($.value)
|
|
11230
11214
|
}, [
|
|
11231
|
-
A(
|
|
11215
|
+
A(z(gt), Ae({
|
|
11232
11216
|
class: "ao-project-phase__milestones-list",
|
|
11233
11217
|
list: r.value,
|
|
11234
11218
|
disabled: w.readonly || !w.isEditable,
|
|
@@ -11238,7 +11222,7 @@ const p9 = { class: "ao-project-phase" }, v9 = {
|
|
|
11238
11222
|
item: q(({ element: y }) => {
|
|
11239
11223
|
var E;
|
|
11240
11224
|
return [
|
|
11241
|
-
A(
|
|
11225
|
+
A(Jh, {
|
|
11242
11226
|
id: y.id,
|
|
11243
11227
|
name: y.name,
|
|
11244
11228
|
color: y.color,
|
|
@@ -11256,7 +11240,7 @@ const p9 = { class: "ao-project-phase" }, v9 = {
|
|
|
11256
11240
|
"time-tracking-data": w.timeTrackingData,
|
|
11257
11241
|
class: ee(["ao-project-phase__milestone"]),
|
|
11258
11242
|
onClick: (I) => !w.readonly && w.$router.push({
|
|
11259
|
-
name:
|
|
11243
|
+
name: z(ye).milestone,
|
|
11260
11244
|
params: { phaseId: w.phase.id, milestoneId: y.id }
|
|
11261
11245
|
}),
|
|
11262
11246
|
onUpdateMilestone: d,
|
|
@@ -11267,7 +11251,7 @@ const p9 = { class: "ao-project-phase" }, v9 = {
|
|
|
11267
11251
|
}),
|
|
11268
11252
|
_: 1
|
|
11269
11253
|
}, 16, ["list", "disabled"]),
|
|
11270
|
-
v("div",
|
|
11254
|
+
v("div", C9, [
|
|
11271
11255
|
w.isEditable ? (p(), B(Ct, {
|
|
11272
11256
|
key: 0,
|
|
11273
11257
|
label: w.$t("project.milestone.add"),
|
|
@@ -11281,10 +11265,10 @@ const p9 = { class: "ao-project-phase" }, v9 = {
|
|
|
11281
11265
|
]));
|
|
11282
11266
|
}
|
|
11283
11267
|
});
|
|
11284
|
-
const
|
|
11268
|
+
const y9 = { class: "ao-project__phases" }, b9 = {
|
|
11285
11269
|
key: 0,
|
|
11286
11270
|
class: "ao-project-phase__phases-list-footer"
|
|
11287
|
-
},
|
|
11271
|
+
}, w9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), $9 = { class: "ao-project-phase__col-phase" }, k9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), hi = /* @__PURE__ */ X({
|
|
11288
11272
|
__name: "AoProjectPhases",
|
|
11289
11273
|
props: {
|
|
11290
11274
|
phases: {},
|
|
@@ -11325,8 +11309,8 @@ const _9 = { class: "ao-project__phases" }, y9 = {
|
|
|
11325
11309
|
}, f = (c) => {
|
|
11326
11310
|
e("addPhase", c);
|
|
11327
11311
|
};
|
|
11328
|
-
return (c, g) => (p(), _("div",
|
|
11329
|
-
A(
|
|
11312
|
+
return (c, g) => (p(), _("div", y9, [
|
|
11313
|
+
A(z(gt), {
|
|
11330
11314
|
class: "ao-project-phase__phases-list",
|
|
11331
11315
|
"model-value": c.phases,
|
|
11332
11316
|
"item-key": "id",
|
|
@@ -11334,7 +11318,7 @@ const _9 = { class: "ao-project__phases" }, y9 = {
|
|
|
11334
11318
|
onChange: d
|
|
11335
11319
|
}, {
|
|
11336
11320
|
item: q(({ element: C }) => [
|
|
11337
|
-
A(
|
|
11321
|
+
A(_9, {
|
|
11338
11322
|
phase: C,
|
|
11339
11323
|
"is-editable": !c.readonly && c.isEditable,
|
|
11340
11324
|
"closed-status": c.closedStatus,
|
|
@@ -11352,9 +11336,9 @@ const _9 = { class: "ao-project__phases" }, y9 = {
|
|
|
11352
11336
|
]),
|
|
11353
11337
|
_: 1
|
|
11354
11338
|
}, 8, ["model-value"]),
|
|
11355
|
-
c.isEditable ? (p(), _("div",
|
|
11356
|
-
|
|
11357
|
-
v("div",
|
|
11339
|
+
c.isEditable ? (p(), _("div", b9, [
|
|
11340
|
+
w9,
|
|
11341
|
+
v("div", $9, [
|
|
11358
11342
|
A(Ct, {
|
|
11359
11343
|
label: c.$t("project.phases.add"),
|
|
11360
11344
|
"icon-name": "Add",
|
|
@@ -11362,12 +11346,12 @@ const _9 = { class: "ao-project__phases" }, y9 = {
|
|
|
11362
11346
|
onClick: f
|
|
11363
11347
|
}, null, 8, ["label"])
|
|
11364
11348
|
]),
|
|
11365
|
-
|
|
11349
|
+
k9
|
|
11366
11350
|
])) : O("", !0)
|
|
11367
11351
|
]));
|
|
11368
11352
|
}
|
|
11369
11353
|
});
|
|
11370
|
-
const
|
|
11354
|
+
const S9 = ["onSubmit"], M9 = { class: "ao-add-template-modal__form-body" }, A9 = { class: "field__row" }, T9 = { class: "ao-add-template-modal__form-footer" }, mi = /* @__PURE__ */ X({
|
|
11371
11355
|
__name: "AoAddTemplateModal",
|
|
11372
11356
|
props: {
|
|
11373
11357
|
projectId: {},
|
|
@@ -11395,10 +11379,10 @@ const k9 = ["onSubmit"], S9 = { class: "ao-add-template-modal__form-body" }, M9
|
|
|
11395
11379
|
class: "ao-add-template-modal__form",
|
|
11396
11380
|
onSubmit: ve(i, ["prevent"])
|
|
11397
11381
|
}, [
|
|
11398
|
-
v("p", null,
|
|
11399
|
-
v("div",
|
|
11400
|
-
v("div",
|
|
11401
|
-
A(
|
|
11382
|
+
v("p", null, W(r.$t("project.template.apply.notice")), 1),
|
|
11383
|
+
v("div", M9, [
|
|
11384
|
+
v("div", A9, [
|
|
11385
|
+
A(Me, {
|
|
11402
11386
|
value: n.value,
|
|
11403
11387
|
options: s.value,
|
|
11404
11388
|
detached: !0,
|
|
@@ -11406,7 +11390,7 @@ const k9 = ["onSubmit"], S9 = { class: "ao-add-template-modal__form-body" }, M9
|
|
|
11406
11390
|
}, null, 8, ["value", "options"])
|
|
11407
11391
|
])
|
|
11408
11392
|
]),
|
|
11409
|
-
v("footer",
|
|
11393
|
+
v("footer", T9, [
|
|
11410
11394
|
A(le, {
|
|
11411
11395
|
label: r.$t("project.template.apply.label"),
|
|
11412
11396
|
type: "submit",
|
|
@@ -11415,13 +11399,13 @@ const k9 = ["onSubmit"], S9 = { class: "ao-add-template-modal__form-body" }, M9
|
|
|
11415
11399
|
onClick: i
|
|
11416
11400
|
}, null, 8, ["label"])
|
|
11417
11401
|
])
|
|
11418
|
-
], 40,
|
|
11402
|
+
], 40, S9)
|
|
11419
11403
|
]),
|
|
11420
11404
|
_: 1
|
|
11421
11405
|
}));
|
|
11422
11406
|
}
|
|
11423
11407
|
});
|
|
11424
|
-
const
|
|
11408
|
+
const O9 = ["onSubmit"], E9 = { class: "ao-save-template-modal__form-body" }, I9 = { class: "field__row" }, L9 = { class: "ao-field ao-field--inline" }, P9 = { class: "ao-field__label" }, D9 = { class: "ao-save-template-modal__phases" }, H9 = { class: "ao-field__label" }, V9 = { class: "ao-save-template-modal__phases-list" }, B9 = ["value"], j9 = { class: "ao-save-template-modal__form-footer" }, gi = /* @__PURE__ */ X({
|
|
11425
11409
|
__name: "AoSaveTemplateModal",
|
|
11426
11410
|
props: {
|
|
11427
11411
|
phases: {}
|
|
@@ -11447,38 +11431,38 @@ const T9 = ["onSubmit"], O9 = { class: "ao-save-template-modal__form-body" }, E9
|
|
|
11447
11431
|
class: "ao-save-template-modal__form",
|
|
11448
11432
|
onSubmit: ve(o, ["prevent"])
|
|
11449
11433
|
}, [
|
|
11450
|
-
v("div",
|
|
11451
|
-
v("div",
|
|
11452
|
-
v("label",
|
|
11453
|
-
v("span",
|
|
11454
|
-
|
|
11434
|
+
v("div", E9, [
|
|
11435
|
+
v("div", I9, [
|
|
11436
|
+
v("label", L9, [
|
|
11437
|
+
v("span", P9, W(i.$t("project.template.name.label")) + ": ", 1),
|
|
11438
|
+
Te(v("input", {
|
|
11455
11439
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => s.value = l),
|
|
11456
11440
|
type: "text"
|
|
11457
11441
|
}, null, 512), [
|
|
11458
|
-
[
|
|
11442
|
+
[Ne, s.value]
|
|
11459
11443
|
])
|
|
11460
11444
|
])
|
|
11461
11445
|
]),
|
|
11462
|
-
v("div",
|
|
11463
|
-
v("div",
|
|
11464
|
-
v("div",
|
|
11446
|
+
v("div", D9, [
|
|
11447
|
+
v("div", H9, W(i.$t("project.template.phases.label")), 1),
|
|
11448
|
+
v("div", V9, [
|
|
11465
11449
|
(p(!0), _(fe, null, Ce(a.phases, (l) => (p(), _("label", {
|
|
11466
11450
|
class: "ao-field ao-field--checkbox",
|
|
11467
11451
|
key: l.id
|
|
11468
11452
|
}, [
|
|
11469
|
-
|
|
11453
|
+
Te(v("input", {
|
|
11470
11454
|
type: "checkbox",
|
|
11471
11455
|
value: l.id,
|
|
11472
11456
|
"onUpdate:modelValue": r[1] || (r[1] = (d) => n.value = d)
|
|
11473
|
-
}, null, 8,
|
|
11457
|
+
}, null, 8, B9), [
|
|
11474
11458
|
[Fi, n.value]
|
|
11475
11459
|
]),
|
|
11476
|
-
v("span", null,
|
|
11460
|
+
v("span", null, W(l.name), 1)
|
|
11477
11461
|
]))), 128))
|
|
11478
11462
|
])
|
|
11479
11463
|
])
|
|
11480
11464
|
]),
|
|
11481
|
-
v("footer",
|
|
11465
|
+
v("footer", j9, [
|
|
11482
11466
|
A(le, {
|
|
11483
11467
|
label: i.$t("project.template.save.label"),
|
|
11484
11468
|
type: "submit",
|
|
@@ -11487,13 +11471,13 @@ const T9 = ["onSubmit"], O9 = { class: "ao-save-template-modal__form-body" }, E9
|
|
|
11487
11471
|
onClick: o
|
|
11488
11472
|
}, null, 8, ["label"])
|
|
11489
11473
|
])
|
|
11490
|
-
], 40,
|
|
11474
|
+
], 40, O9)
|
|
11491
11475
|
]),
|
|
11492
11476
|
_: 1
|
|
11493
11477
|
}));
|
|
11494
11478
|
}
|
|
11495
11479
|
});
|
|
11496
|
-
const
|
|
11480
|
+
const R9 = X({
|
|
11497
11481
|
props: {
|
|
11498
11482
|
modelValue: {
|
|
11499
11483
|
type: [String, Number],
|
|
@@ -11511,18 +11495,18 @@ const j9 = X({
|
|
|
11511
11495
|
}
|
|
11512
11496
|
}
|
|
11513
11497
|
});
|
|
11514
|
-
const
|
|
11515
|
-
function
|
|
11516
|
-
return p(), _("div",
|
|
11498
|
+
const N9 = { class: "tabbar-wrapper" }, U9 = ["onClick"];
|
|
11499
|
+
function F9(t, e, a, s, n, o) {
|
|
11500
|
+
return p(), _("div", N9, [
|
|
11517
11501
|
(p(!0), _(fe, null, Ce(t.tabs, (i) => (p(), _("button", {
|
|
11518
11502
|
key: i.value,
|
|
11519
11503
|
class: ee(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11520
11504
|
type: "button",
|
|
11521
11505
|
onClick: (r) => t.selectTab(i.value)
|
|
11522
|
-
},
|
|
11506
|
+
}, W(i.label), 11, U9))), 128))
|
|
11523
11507
|
]);
|
|
11524
11508
|
}
|
|
11525
|
-
const sn = /* @__PURE__ */ Y(
|
|
11509
|
+
const sn = /* @__PURE__ */ Y(R9, [["render", F9], ["__scopeId", "data-v-ff4e3297"]]), Z9 = { class: "ao-project" }, W9 = { class: "ao-project__body" }, z9 = /* @__PURE__ */ X({
|
|
11526
11510
|
__name: "AoProjectOverviewProject",
|
|
11527
11511
|
props: {
|
|
11528
11512
|
project: {},
|
|
@@ -11544,8 +11528,8 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11544
11528
|
const a = t, { t: s } = yt(), n = S(
|
|
11545
11529
|
() => a.phases.flatMap((T) => T.milestones)
|
|
11546
11530
|
), o = () => {
|
|
11547
|
-
const { name: T, rank:
|
|
11548
|
-
e("addPhase", { name: T, rank:
|
|
11531
|
+
const { name: T, rank: F } = At(a.phases, "phase", s);
|
|
11532
|
+
e("addPhase", { name: T, rank: F, projectId: a.project.id });
|
|
11549
11533
|
}, i = (T) => {
|
|
11550
11534
|
e("updatePhase", T);
|
|
11551
11535
|
}, r = (T) => {
|
|
@@ -11588,12 +11572,12 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11588
11572
|
e("updateComment", T);
|
|
11589
11573
|
}, te = (T) => {
|
|
11590
11574
|
e("removeComment", T);
|
|
11591
|
-
}, ne = x(!1), N = x(!1), Q = (T,
|
|
11592
|
-
e("applyTemplate", { templateId: T, projectId:
|
|
11593
|
-
}, re = (T,
|
|
11575
|
+
}, ne = x(!1), N = x(!1), Q = (T, F) => {
|
|
11576
|
+
e("applyTemplate", { templateId: T, projectId: F }), ne.value = !1;
|
|
11577
|
+
}, re = (T, F) => {
|
|
11594
11578
|
var k;
|
|
11595
11579
|
const L = (k = a.templates) == null ? void 0 : k.at(-1), j = L ? we.LexoRank.parse(L.rank).genNext() : we.LexoRank.middle();
|
|
11596
|
-
e("saveTemplate", { templateName: T, rank: j.format(), phaseIds:
|
|
11580
|
+
e("saveTemplate", { templateName: T, rank: j.format(), phaseIds: F }), N.value = !1;
|
|
11597
11581
|
}, ie = Es(), ae = x("overview"), P = [
|
|
11598
11582
|
{ label: "Overview", value: "overview" },
|
|
11599
11583
|
{ label: "Feed", value: "feed" },
|
|
@@ -11601,17 +11585,17 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11601
11585
|
];
|
|
11602
11586
|
return de(ae, (T) => {
|
|
11603
11587
|
T === "feed" ? (ie.push({ name: ye.feed }), console.log("Navigating to feed...")) : T === "overview" ? (ie.push({ name: ye.project }), console.log("Navigating to feed...")) : T === "mapping" && (ie.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
11604
|
-
}), (T,
|
|
11588
|
+
}), (T, F) => {
|
|
11605
11589
|
const L = ut("RouterView");
|
|
11606
11590
|
return p(), _(fe, null, [
|
|
11607
|
-
v("div",
|
|
11608
|
-
v("div",
|
|
11591
|
+
v("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11592
|
+
v("div", Z9, [
|
|
11609
11593
|
A(wa, null, {
|
|
11610
11594
|
primary: q(() => [
|
|
11611
11595
|
A(sn, {
|
|
11612
11596
|
tabs: P,
|
|
11613
11597
|
modelValue: ae.value,
|
|
11614
|
-
"onUpdate:modelValue":
|
|
11598
|
+
"onUpdate:modelValue": F[0] || (F[0] = (j) => ae.value = j)
|
|
11615
11599
|
}, null, 8, ["modelValue"]),
|
|
11616
11600
|
A(le, {
|
|
11617
11601
|
class: "ao-feed__show-archived",
|
|
@@ -11623,7 +11607,7 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11623
11607
|
label: T.$t("feed.filters.showsArchived.label"),
|
|
11624
11608
|
role: "checkbox",
|
|
11625
11609
|
"aria-checked": T.showsArchived,
|
|
11626
|
-
onClick:
|
|
11610
|
+
onClick: F[1] || (F[1] = (j) => T.$emit("update:showsArchived", !T.showsArchived))
|
|
11627
11611
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
11628
11612
|
]),
|
|
11629
11613
|
secondary: q(() => [
|
|
@@ -11632,19 +11616,19 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11632
11616
|
class: "ao-project-overview__save-as-template",
|
|
11633
11617
|
color: "primary",
|
|
11634
11618
|
label: T.$t("project.template.save.label"),
|
|
11635
|
-
onClick:
|
|
11619
|
+
onClick: F[2] || (F[2] = (j) => N.value = !0)
|
|
11636
11620
|
}, null, 8, ["label"])) : O("", !0),
|
|
11637
11621
|
T.isEditable === !0 ? (p(), B(le, {
|
|
11638
11622
|
key: 1,
|
|
11639
11623
|
class: "ao-project-overview__add-template",
|
|
11640
11624
|
color: "primary",
|
|
11641
11625
|
label: T.$t("project.template.apply.label"),
|
|
11642
|
-
onClick:
|
|
11626
|
+
onClick: F[3] || (F[3] = (j) => ne.value = !0)
|
|
11643
11627
|
}, null, 8, ["label"])) : O("", !0)
|
|
11644
11628
|
]),
|
|
11645
11629
|
_: 1
|
|
11646
11630
|
}),
|
|
11647
|
-
v("div",
|
|
11631
|
+
v("div", W9, [
|
|
11648
11632
|
A(hi, {
|
|
11649
11633
|
phases: T.phases,
|
|
11650
11634
|
"closed-status": T.closedStatus,
|
|
@@ -11672,7 +11656,7 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11672
11656
|
"is-editable": T.isEditable === !0,
|
|
11673
11657
|
"closed-status": T.closedStatus,
|
|
11674
11658
|
"time-tracking-data": T.timeTrackingData,
|
|
11675
|
-
onClose:
|
|
11659
|
+
onClose: F[4] || (F[4] = (j) => T.$router.push({ name: z(ye).project })),
|
|
11676
11660
|
onUpdateMilestone: f,
|
|
11677
11661
|
onAddActivity: C,
|
|
11678
11662
|
onUpdateActivity: m,
|
|
@@ -11719,14 +11703,14 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11719
11703
|
N.value ? (p(), B(gi, {
|
|
11720
11704
|
key: 0,
|
|
11721
11705
|
phases: T.phases,
|
|
11722
|
-
onClose:
|
|
11706
|
+
onClose: F[5] || (F[5] = (j) => N.value = !1),
|
|
11723
11707
|
onSave: re
|
|
11724
11708
|
}, null, 8, ["phases"])) : O("", !0),
|
|
11725
11709
|
ne.value ? (p(), B(mi, {
|
|
11726
11710
|
key: 1,
|
|
11727
11711
|
"project-id": T.project.id,
|
|
11728
11712
|
templates: T.templates,
|
|
11729
|
-
onClose:
|
|
11713
|
+
onClose: F[6] || (F[6] = (j) => ne.value = !1),
|
|
11730
11714
|
onApply: Q
|
|
11731
11715
|
}, null, 8, ["project-id", "templates"])) : O("", !0)
|
|
11732
11716
|
]))
|
|
@@ -11734,39 +11718,39 @@ const sn = /* @__PURE__ */ Y(j9, [["render", U9], ["__scopeId", "data-v-ff4e3297
|
|
|
11734
11718
|
};
|
|
11735
11719
|
}
|
|
11736
11720
|
});
|
|
11737
|
-
const
|
|
11721
|
+
const q9 = { class: "ao-card-feed__header" }, Y9 = {
|
|
11738
11722
|
key: 1,
|
|
11739
11723
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11740
|
-
},
|
|
11724
|
+
}, x9 = {
|
|
11741
11725
|
key: 2,
|
|
11742
11726
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
11743
|
-
},
|
|
11727
|
+
}, K9 = { class: "ao-card-feed__body" }, G9 = {
|
|
11744
11728
|
key: 0,
|
|
11745
11729
|
class: "ao-card-feed__breadcrumbs"
|
|
11746
|
-
},
|
|
11730
|
+
}, X9 = {
|
|
11747
11731
|
class: /* @__PURE__ */ ee(["ao-card-feed__title-group"])
|
|
11748
|
-
},
|
|
11732
|
+
}, Q9 = { class: "ao-card-feed__title-line" }, J9 = {
|
|
11749
11733
|
key: 0,
|
|
11750
11734
|
class: "ao-card-feed__slug"
|
|
11751
|
-
},
|
|
11735
|
+
}, em = {
|
|
11752
11736
|
key: 1,
|
|
11753
11737
|
class: "ao-card-feed__deadline"
|
|
11754
|
-
},
|
|
11738
|
+
}, tm = { class: "ao-card-feed__footer" }, am = { class: "ao-card-feed__footer-row" }, sm = { class: "ao-assignees" }, nm = {
|
|
11755
11739
|
key: 0,
|
|
11756
11740
|
class: "ao-assignee"
|
|
11757
|
-
},
|
|
11741
|
+
}, im = {
|
|
11758
11742
|
key: 0,
|
|
11759
11743
|
class: "ao-card-feed__subitems"
|
|
11760
|
-
},
|
|
11744
|
+
}, om = {
|
|
11761
11745
|
key: 0,
|
|
11762
11746
|
class: "ao-card-feed__subitem"
|
|
11763
|
-
},
|
|
11747
|
+
}, rm = { class: "ao-card-feed__subitem" }, lm = {
|
|
11764
11748
|
key: 1,
|
|
11765
11749
|
class: "ao-card-feed__subitem"
|
|
11766
|
-
},
|
|
11750
|
+
}, um = { class: "ao-card-feed__subitem" }, cm = { class: "ao-card-feed__footer-row" }, dm = {
|
|
11767
11751
|
key: 0,
|
|
11768
11752
|
class: "ao-card-feed__progress-wrapper"
|
|
11769
|
-
},
|
|
11753
|
+
}, pm = { class: "ao-card-feed__subitem" }, vm = { class: "ao-card-feed__subitem" }, Ci = /* @__PURE__ */ X({
|
|
11770
11754
|
__name: "AoCardFeed",
|
|
11771
11755
|
props: {
|
|
11772
11756
|
id: {},
|
|
@@ -11818,7 +11802,7 @@ const W9 = { class: "ao-card-feed__header" }, q9 = {
|
|
|
11818
11802
|
"is-clickable": !0
|
|
11819
11803
|
}, {
|
|
11820
11804
|
header: q(() => [
|
|
11821
|
-
v("div",
|
|
11805
|
+
v("div", q9, [
|
|
11822
11806
|
s.value ? (p(), B(ua, {
|
|
11823
11807
|
key: 0,
|
|
11824
11808
|
label: s.value,
|
|
@@ -11827,7 +11811,7 @@ const W9 = { class: "ao-card-feed__header" }, q9 = {
|
|
|
11827
11811
|
color: C.projectColor ? void 0 : "primary",
|
|
11828
11812
|
"raw-color": n.value
|
|
11829
11813
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
11830
|
-
C.isPrivate || C.important || C.isClosed ? (p(), _("div",
|
|
11814
|
+
C.isPrivate || C.important || C.isClosed ? (p(), _("div", Y9, [
|
|
11831
11815
|
C.isPrivate ? (p(), B(ce, {
|
|
11832
11816
|
key: 0,
|
|
11833
11817
|
name: "Lock",
|
|
@@ -11846,7 +11830,7 @@ const W9 = { class: "ao-card-feed__header" }, q9 = {
|
|
|
11846
11830
|
class: "ao-card-feed__closed"
|
|
11847
11831
|
})) : O("", !0)
|
|
11848
11832
|
])) : O("", !0),
|
|
11849
|
-
C.$slots.secondary ? (p(), _("div",
|
|
11833
|
+
C.$slots.secondary ? (p(), _("div", x9, [
|
|
11850
11834
|
A(ce, {
|
|
11851
11835
|
name: "TimerOutline",
|
|
11852
11836
|
class: "ao-card-feed__timer",
|
|
@@ -11858,11 +11842,11 @@ const W9 = { class: "ao-card-feed__header" }, q9 = {
|
|
|
11858
11842
|
])
|
|
11859
11843
|
]),
|
|
11860
11844
|
default: q(() => [
|
|
11861
|
-
v("div",
|
|
11862
|
-
i.value ? (p(), _("span",
|
|
11863
|
-
v("div",
|
|
11864
|
-
v("div",
|
|
11865
|
-
C.slug ? (p(), _("span",
|
|
11845
|
+
v("div", K9, [
|
|
11846
|
+
i.value ? (p(), _("span", G9, W(i.value), 1)) : O("", !0),
|
|
11847
|
+
v("div", X9, [
|
|
11848
|
+
v("div", Q9, [
|
|
11849
|
+
C.slug ? (p(), _("span", J9, W(C.slug) + ": ", 1)) : O("", !0),
|
|
11866
11850
|
A(be, {
|
|
11867
11851
|
id: C.id,
|
|
11868
11852
|
title: C.name,
|
|
@@ -11873,19 +11857,19 @@ const W9 = { class: "ao-card-feed__header" }, q9 = {
|
|
|
11873
11857
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11874
11858
|
])
|
|
11875
11859
|
]),
|
|
11876
|
-
C.deadline ? (p(), _("span",
|
|
11860
|
+
C.deadline ? (p(), _("span", em, W(l.value), 1)) : O("", !0)
|
|
11877
11861
|
])
|
|
11878
11862
|
]),
|
|
11879
11863
|
footer: q(() => [
|
|
11880
|
-
v("div",
|
|
11881
|
-
v("div",
|
|
11882
|
-
v("ul",
|
|
11864
|
+
v("div", tm, [
|
|
11865
|
+
v("div", am, [
|
|
11866
|
+
v("ul", sm, [
|
|
11883
11867
|
(p(!0), _(fe, null, Ce(r.value, (h) => (p(), _(fe, {
|
|
11884
11868
|
key: h.id
|
|
11885
11869
|
}, [
|
|
11886
|
-
h ? (p(), _("li",
|
|
11870
|
+
h ? (p(), _("li", nm, [
|
|
11887
11871
|
A(et, {
|
|
11888
|
-
"user-name":
|
|
11872
|
+
"user-name": z(Gn)(h),
|
|
11889
11873
|
"avatar-url": h.avatarUrl,
|
|
11890
11874
|
"is-closable": !0,
|
|
11891
11875
|
onClose: () => d(h.id)
|
|
@@ -11893,31 +11877,31 @@ const W9 = { class: "ao-card-feed__header" }, q9 = {
|
|
|
11893
11877
|
])) : O("", !0)
|
|
11894
11878
|
], 64))), 128))
|
|
11895
11879
|
]),
|
|
11896
|
-
C.comments || C.attachments ? (p(), _("ul",
|
|
11897
|
-
C.comments ? (p(), _("li",
|
|
11880
|
+
C.comments || C.attachments ? (p(), _("ul", im, [
|
|
11881
|
+
C.comments ? (p(), _("li", om, [
|
|
11898
11882
|
A(ce, {
|
|
11899
11883
|
name: "ChatOutline",
|
|
11900
11884
|
size: "sm"
|
|
11901
11885
|
}),
|
|
11902
|
-
v("span",
|
|
11886
|
+
v("span", rm, W(C.comments), 1)
|
|
11903
11887
|
])) : O("", !0),
|
|
11904
|
-
C.attachments ? (p(), _("li",
|
|
11888
|
+
C.attachments ? (p(), _("li", lm, [
|
|
11905
11889
|
A(ce, {
|
|
11906
11890
|
name: "AttachFileRounded",
|
|
11907
11891
|
size: "sm"
|
|
11908
11892
|
}),
|
|
11909
|
-
v("span",
|
|
11893
|
+
v("span", um, W(C.attachments), 1)
|
|
11910
11894
|
])) : O("", !0)
|
|
11911
11895
|
])) : O("", !0)
|
|
11912
11896
|
]),
|
|
11913
|
-
v("div",
|
|
11914
|
-
C.tasks && C.tasks.length ? (p(), _("div",
|
|
11915
|
-
v("div",
|
|
11897
|
+
v("div", cm, [
|
|
11898
|
+
C.tasks && C.tasks.length ? (p(), _("div", dm, [
|
|
11899
|
+
v("div", pm, [
|
|
11916
11900
|
A(ce, {
|
|
11917
11901
|
name: "SelectCheckBox",
|
|
11918
11902
|
size: "sm"
|
|
11919
11903
|
}),
|
|
11920
|
-
v("span",
|
|
11904
|
+
v("span", vm, W(c.value) + " / " + W(f.value), 1)
|
|
11921
11905
|
]),
|
|
11922
11906
|
A(It, {
|
|
11923
11907
|
percentages: g.value,
|
|
@@ -11931,10 +11915,10 @@ const W9 = { class: "ao-card-feed__header" }, q9 = {
|
|
|
11931
11915
|
}, 8, ["class"]));
|
|
11932
11916
|
}
|
|
11933
11917
|
});
|
|
11934
|
-
const
|
|
11918
|
+
const fm = { class: "ao-project-milestone" }, hm = { class: "ao-project-milestone__header" }, mm = { class: "ao-project-milestone__header_line" }, gm = { class: "ao-project-milestone__header_line" }, Cm = { class: "ao-project-milestone__title" }, _m = {
|
|
11935
11919
|
key: 0,
|
|
11936
11920
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11937
|
-
},
|
|
11921
|
+
}, ym = { class: "ao-field__row ao-milestone__field-row" }, bm = { class: "ao-field ao-field--inline" }, wm = { class: "ao-field__row ao-milestone__field-row" }, $m = { class: "ao-field ao-milestone__field-multiselect" }, km = ["onClick"], Sm = { class: "ao-project-milestone__body" }, Mm = {
|
|
11938
11922
|
key: 0,
|
|
11939
11923
|
class: "ao-project-milestone__footer"
|
|
11940
11924
|
}, Ln = /* @__PURE__ */ X({
|
|
@@ -12054,9 +12038,9 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12054
12038
|
};
|
|
12055
12039
|
return (y, E) => {
|
|
12056
12040
|
var I;
|
|
12057
|
-
return p(), _("div",
|
|
12058
|
-
v("header",
|
|
12059
|
-
v("div",
|
|
12041
|
+
return p(), _("div", fm, [
|
|
12042
|
+
v("header", hm, [
|
|
12043
|
+
v("div", mm, [
|
|
12060
12044
|
A(le, {
|
|
12061
12045
|
"icon-name": "CloseRounded",
|
|
12062
12046
|
variant: "ghost",
|
|
@@ -12065,8 +12049,8 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12065
12049
|
onClick: d
|
|
12066
12050
|
})
|
|
12067
12051
|
]),
|
|
12068
|
-
v("div",
|
|
12069
|
-
v("div",
|
|
12052
|
+
v("div", gm, [
|
|
12053
|
+
v("div", Cm, [
|
|
12070
12054
|
A(be, {
|
|
12071
12055
|
title: ((I = r.value) == null ? void 0 : I.name) || y.milestoneId,
|
|
12072
12056
|
level: 5
|
|
@@ -12085,16 +12069,16 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12085
12069
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
12086
12070
|
])
|
|
12087
12071
|
]),
|
|
12088
|
-
r.value ? (p(), _("div",
|
|
12089
|
-
v("div",
|
|
12090
|
-
v("label",
|
|
12091
|
-
|
|
12072
|
+
r.value ? (p(), _("div", _m, [
|
|
12073
|
+
v("div", ym, [
|
|
12074
|
+
v("label", bm, [
|
|
12075
|
+
Te(v("input", {
|
|
12092
12076
|
"onUpdate:modelValue": E[1] || (E[1] = (D) => C.value = D),
|
|
12093
12077
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
12094
12078
|
type: "date"
|
|
12095
12079
|
}, null, 512), [
|
|
12096
12080
|
[
|
|
12097
|
-
|
|
12081
|
+
Ne,
|
|
12098
12082
|
C.value,
|
|
12099
12083
|
void 0,
|
|
12100
12084
|
{ lazy: !0 }
|
|
@@ -12102,9 +12086,9 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12102
12086
|
])
|
|
12103
12087
|
])
|
|
12104
12088
|
]),
|
|
12105
|
-
v("div",
|
|
12106
|
-
v("label",
|
|
12107
|
-
A(
|
|
12089
|
+
v("div", wm, [
|
|
12090
|
+
v("label", $m, [
|
|
12091
|
+
A(Me, {
|
|
12108
12092
|
modelValue: $.value,
|
|
12109
12093
|
"onUpdate:modelValue": E[2] || (E[2] = (D) => $.value = D),
|
|
12110
12094
|
options: h.value,
|
|
@@ -12141,14 +12125,14 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12141
12125
|
style: Fe({ background: R }),
|
|
12142
12126
|
class: "color-button",
|
|
12143
12127
|
onClick: (G) => b(G, D)
|
|
12144
|
-
}, null, 12,
|
|
12128
|
+
}, null, 12, km)
|
|
12145
12129
|
]),
|
|
12146
12130
|
_: 1
|
|
12147
12131
|
}, 8, ["color"])
|
|
12148
12132
|
])) : O("", !0)
|
|
12149
12133
|
]),
|
|
12150
|
-
v("div",
|
|
12151
|
-
A(
|
|
12134
|
+
v("div", Sm, [
|
|
12135
|
+
A(z(gt), Ae({
|
|
12152
12136
|
class: "ao-project-milestone__activities",
|
|
12153
12137
|
list: l.value,
|
|
12154
12138
|
disabled: !y.isEditable,
|
|
@@ -12177,7 +12161,7 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12177
12161
|
"is-private": D.private,
|
|
12178
12162
|
"is-closed": m(D),
|
|
12179
12163
|
onClick: (Q) => y.$router.push({
|
|
12180
|
-
name:
|
|
12164
|
+
name: z(ye).activity,
|
|
12181
12165
|
params: { milestoneId: y.milestoneId, activityId: D.id }
|
|
12182
12166
|
}),
|
|
12183
12167
|
onUpdateActivity: f,
|
|
@@ -12220,7 +12204,7 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12220
12204
|
}),
|
|
12221
12205
|
_: 1
|
|
12222
12206
|
}, 16, ["list", "disabled"]),
|
|
12223
|
-
y.isEditable ? (p(), _("div",
|
|
12207
|
+
y.isEditable ? (p(), _("div", Mm, [
|
|
12224
12208
|
A(Ct, {
|
|
12225
12209
|
"icon-name": "Add",
|
|
12226
12210
|
label: y.$t("project.activity.add"),
|
|
@@ -12232,7 +12216,7 @@ const vm = { class: "ao-project-milestone" }, fm = { class: "ao-project-mileston
|
|
|
12232
12216
|
};
|
|
12233
12217
|
}
|
|
12234
12218
|
});
|
|
12235
|
-
const
|
|
12219
|
+
const Am = /* @__PURE__ */ X({
|
|
12236
12220
|
__name: "AoProjectOverviewActivityDetails",
|
|
12237
12221
|
props: {
|
|
12238
12222
|
phaseId: {},
|
|
@@ -12321,14 +12305,14 @@ const Mm = /* @__PURE__ */ X({
|
|
|
12321
12305
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "onClose"])) : O("", !0);
|
|
12322
12306
|
};
|
|
12323
12307
|
}
|
|
12324
|
-
}),
|
|
12308
|
+
}), Tm = { class: "ao-col-header" }, Om = /* @__PURE__ */ X({
|
|
12325
12309
|
__name: "AoColHeader",
|
|
12326
12310
|
props: {
|
|
12327
12311
|
title: {},
|
|
12328
12312
|
items: {}
|
|
12329
12313
|
},
|
|
12330
12314
|
setup(t) {
|
|
12331
|
-
return (e, a) => (p(), _("header",
|
|
12315
|
+
return (e, a) => (p(), _("header", Tm, [
|
|
12332
12316
|
A(be, {
|
|
12333
12317
|
title: e.title,
|
|
12334
12318
|
class: "ao-col-header__title",
|
|
@@ -12344,17 +12328,17 @@ const Mm = /* @__PURE__ */ X({
|
|
|
12344
12328
|
]));
|
|
12345
12329
|
}
|
|
12346
12330
|
});
|
|
12347
|
-
function
|
|
12348
|
-
return Zi() ? (
|
|
12331
|
+
function Em(t) {
|
|
12332
|
+
return Zi() ? (Wi(t), !0) : !1;
|
|
12349
12333
|
}
|
|
12350
12334
|
function qa(t) {
|
|
12351
|
-
return typeof t == "function" ? t() :
|
|
12335
|
+
return typeof t == "function" ? t() : z(t);
|
|
12352
12336
|
}
|
|
12353
|
-
const
|
|
12337
|
+
const Im = typeof window < "u" && typeof document < "u";
|
|
12354
12338
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12355
|
-
const
|
|
12339
|
+
const Lm = (t) => t != null, la = () => {
|
|
12356
12340
|
};
|
|
12357
|
-
function
|
|
12341
|
+
function Pm(t, e) {
|
|
12358
12342
|
function a(...s) {
|
|
12359
12343
|
return new Promise((n, o) => {
|
|
12360
12344
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -12362,7 +12346,7 @@ function Lm(t, e) {
|
|
|
12362
12346
|
}
|
|
12363
12347
|
return a;
|
|
12364
12348
|
}
|
|
12365
|
-
function
|
|
12349
|
+
function Dm(t, e = {}) {
|
|
12366
12350
|
let a, s, n = la;
|
|
12367
12351
|
const o = (r) => {
|
|
12368
12352
|
clearTimeout(r), n(), n = la;
|
|
@@ -12378,9 +12362,9 @@ function Pm(t, e = {}) {
|
|
|
12378
12362
|
});
|
|
12379
12363
|
};
|
|
12380
12364
|
}
|
|
12381
|
-
function
|
|
12382
|
-
return
|
|
12383
|
-
|
|
12365
|
+
function Hm(t, e = 200, a = {}) {
|
|
12366
|
+
return Pm(
|
|
12367
|
+
Dm(e, a),
|
|
12384
12368
|
t
|
|
12385
12369
|
);
|
|
12386
12370
|
}
|
|
@@ -12389,27 +12373,27 @@ function ys(t) {
|
|
|
12389
12373
|
const a = qa(t);
|
|
12390
12374
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12391
12375
|
}
|
|
12392
|
-
const
|
|
12393
|
-
function
|
|
12376
|
+
const Vm = Im ? window : void 0;
|
|
12377
|
+
function Bm() {
|
|
12394
12378
|
const t = x(!1), e = Dt();
|
|
12395
12379
|
return e && Pt(() => {
|
|
12396
12380
|
t.value = !0;
|
|
12397
12381
|
}, e), t;
|
|
12398
12382
|
}
|
|
12399
|
-
function
|
|
12400
|
-
const e =
|
|
12383
|
+
function jm(t) {
|
|
12384
|
+
const e = Bm();
|
|
12401
12385
|
return S(() => (e.value, !!t()));
|
|
12402
12386
|
}
|
|
12403
|
-
function
|
|
12387
|
+
function Rm(t, e, a = {}) {
|
|
12404
12388
|
const {
|
|
12405
12389
|
root: s,
|
|
12406
12390
|
rootMargin: n = "0px",
|
|
12407
12391
|
threshold: o = 0.1,
|
|
12408
|
-
window: i =
|
|
12392
|
+
window: i = Vm,
|
|
12409
12393
|
immediate: r = !0
|
|
12410
|
-
} = a, l =
|
|
12394
|
+
} = a, l = jm(() => i && "IntersectionObserver" in i), d = S(() => {
|
|
12411
12395
|
const C = qa(t);
|
|
12412
|
-
return (Array.isArray(C) ? C : [C]).map(ys).filter(
|
|
12396
|
+
return (Array.isArray(C) ? C : [C]).map(ys).filter(Lm);
|
|
12413
12397
|
});
|
|
12414
12398
|
let u = la;
|
|
12415
12399
|
const f = x(r), c = l.value ? de(
|
|
@@ -12433,7 +12417,7 @@ function jm(t, e, a = {}) {
|
|
|
12433
12417
|
) : la, g = () => {
|
|
12434
12418
|
u(), c(), f.value = !1;
|
|
12435
12419
|
};
|
|
12436
|
-
return
|
|
12420
|
+
return Em(g), {
|
|
12437
12421
|
isSupported: l,
|
|
12438
12422
|
isActive: f,
|
|
12439
12423
|
pause() {
|
|
@@ -12445,24 +12429,24 @@ function jm(t, e, a = {}) {
|
|
|
12445
12429
|
stop: g
|
|
12446
12430
|
};
|
|
12447
12431
|
}
|
|
12448
|
-
const
|
|
12432
|
+
const Nm = {
|
|
12449
12433
|
class: /* @__PURE__ */ ee(["ao-list-kanban"])
|
|
12450
|
-
},
|
|
12434
|
+
}, Um = { class: "ao-list-kanban__header" }, Fm = {
|
|
12451
12435
|
key: 0,
|
|
12452
12436
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
12453
|
-
},
|
|
12437
|
+
}, Zm = {
|
|
12454
12438
|
key: 1,
|
|
12455
12439
|
class: "ao-list-kanban__end"
|
|
12456
|
-
},
|
|
12440
|
+
}, Wm = {
|
|
12457
12441
|
key: 0,
|
|
12458
12442
|
class: "ao-list-kanban__no-more"
|
|
12459
12443
|
}, zm = {
|
|
12460
12444
|
key: 1,
|
|
12461
12445
|
class: "ao-list-kanban__divider"
|
|
12462
|
-
},
|
|
12446
|
+
}, qm = {
|
|
12463
12447
|
key: 1,
|
|
12464
12448
|
class: "ao-list-kanban__footer"
|
|
12465
|
-
},
|
|
12449
|
+
}, Ym = /* @__PURE__ */ X({
|
|
12466
12450
|
__name: "AoListKanban",
|
|
12467
12451
|
props: {
|
|
12468
12452
|
list: {},
|
|
@@ -12480,7 +12464,7 @@ const Rm = {
|
|
|
12480
12464
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity", "startTimer"],
|
|
12481
12465
|
setup(t, { emit: e }) {
|
|
12482
12466
|
const a = t, s = x(!1), n = x(null);
|
|
12483
|
-
|
|
12467
|
+
Rm(n, ([{ isIntersecting: u }]) => {
|
|
12484
12468
|
s.value = u;
|
|
12485
12469
|
}), de(s, (u) => {
|
|
12486
12470
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12505,12 +12489,12 @@ const Rm = {
|
|
|
12505
12489
|
)
|
|
12506
12490
|
});
|
|
12507
12491
|
}, d = x(!1);
|
|
12508
|
-
return (u, f) => (p(), _("div",
|
|
12492
|
+
return (u, f) => (p(), _("div", Nm, [
|
|
12509
12493
|
u.title || u.$slots.header ? se(u.$slots, "header", { key: 0 }, () => {
|
|
12510
12494
|
var c;
|
|
12511
12495
|
return [
|
|
12512
|
-
v("div",
|
|
12513
|
-
u.title ? (p(), B(
|
|
12496
|
+
v("div", Um, [
|
|
12497
|
+
u.title ? (p(), B(Om, {
|
|
12514
12498
|
key: 0,
|
|
12515
12499
|
title: u.title,
|
|
12516
12500
|
level: 3,
|
|
@@ -12519,7 +12503,7 @@ const Rm = {
|
|
|
12519
12503
|
])
|
|
12520
12504
|
];
|
|
12521
12505
|
}) : O("", !0),
|
|
12522
|
-
A(
|
|
12506
|
+
A(z(gt), Ae({
|
|
12523
12507
|
class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
|
|
12524
12508
|
list: u.list,
|
|
12525
12509
|
"item-key": "id",
|
|
@@ -12598,20 +12582,20 @@ const Rm = {
|
|
|
12598
12582
|
];
|
|
12599
12583
|
}),
|
|
12600
12584
|
footer: q(() => [
|
|
12601
|
-
u.isLoading ? (p(), _("div",
|
|
12585
|
+
u.isLoading ? (p(), _("div", Fm, [
|
|
12602
12586
|
A(ce, { name: "Loading" })
|
|
12603
12587
|
])) : u.hasMore ? (p(), _("div", {
|
|
12604
12588
|
key: 2,
|
|
12605
12589
|
ref_key: "scrollEnd",
|
|
12606
12590
|
ref: n,
|
|
12607
12591
|
class: "ao-list-kanban__end"
|
|
12608
|
-
}, null, 512)) : (p(), _("div",
|
|
12609
|
-
u.noMoreLabel ? (p(), _("span",
|
|
12592
|
+
}, null, 512)) : (p(), _("div", Zm, [
|
|
12593
|
+
u.noMoreLabel ? (p(), _("span", Wm, W(u.noMoreLabel), 1)) : u.isEditable ? (p(), _("span", zm)) : O("", !0)
|
|
12610
12594
|
]))
|
|
12611
12595
|
]),
|
|
12612
12596
|
_: 1
|
|
12613
12597
|
}, 16, ["class", "list", "disabled"]),
|
|
12614
|
-
u.$slots.footer || u.footerLabel ? (p(), _("div",
|
|
12598
|
+
u.$slots.footer || u.footerLabel ? (p(), _("div", qm, [
|
|
12615
12599
|
se(u.$slots, "footer", {}, () => [
|
|
12616
12600
|
u.isEditable ? (p(), B(Ct, {
|
|
12617
12601
|
key: 0,
|
|
@@ -12624,7 +12608,7 @@ const Rm = {
|
|
|
12624
12608
|
]));
|
|
12625
12609
|
}
|
|
12626
12610
|
});
|
|
12627
|
-
const
|
|
12611
|
+
const xm = { class: "ao-field ao-search-field" }, Km = ["value", "placeholder", "onKeypress"], Gm = /* @__PURE__ */ X({
|
|
12628
12612
|
__name: "AoSearchField",
|
|
12629
12613
|
props: {
|
|
12630
12614
|
modelValue: {},
|
|
@@ -12636,19 +12620,19 @@ const Ym = { class: "ao-field ao-search-field" }, xm = ["value", "placeholder",
|
|
|
12636
12620
|
const a = t, s = async (i) => {
|
|
12637
12621
|
const l = i.target.value;
|
|
12638
12622
|
e("update:modelValue", l, i);
|
|
12639
|
-
}, n =
|
|
12623
|
+
}, n = Hm(s, a.delay), o = (i) => {
|
|
12640
12624
|
e("clear", i);
|
|
12641
12625
|
};
|
|
12642
|
-
return (i, r) => (p(), _("div",
|
|
12626
|
+
return (i, r) => (p(), _("div", xm, [
|
|
12643
12627
|
v("input", {
|
|
12644
12628
|
value: i.modelValue,
|
|
12645
12629
|
type: "text",
|
|
12646
12630
|
class: "ao-field__input ao-search-field__input",
|
|
12647
12631
|
placeholder: i.placeholder,
|
|
12648
12632
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
12649
|
-
(...l) =>
|
|
12633
|
+
(...l) => z(n) && z(n)(...l)),
|
|
12650
12634
|
onKeypress: vt(s, ["enter"])
|
|
12651
|
-
}, null, 40,
|
|
12635
|
+
}, null, 40, Km),
|
|
12652
12636
|
A(ce, {
|
|
12653
12637
|
name: "SearchRounded",
|
|
12654
12638
|
class: ee(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12664,7 +12648,7 @@ const Ym = { class: "ao-field ao-search-field" }, xm = ["value", "placeholder",
|
|
|
12664
12648
|
]));
|
|
12665
12649
|
}
|
|
12666
12650
|
});
|
|
12667
|
-
const
|
|
12651
|
+
const Xm = { class: "ao-feed" }, Qm = { class: "ao-feed__filters" }, Jm = { class: "ao-feed__body" }, e4 = /* @__PURE__ */ X({
|
|
12668
12652
|
__name: "AoFeed",
|
|
12669
12653
|
props: {
|
|
12670
12654
|
activities: {},
|
|
@@ -12703,9 +12687,9 @@ const Gm = { class: "ao-feed" }, Xm = { class: "ao-feed__filters" }, Qm = { clas
|
|
|
12703
12687
|
r.value = Object.fromEntries(
|
|
12704
12688
|
L.map((V) => [
|
|
12705
12689
|
V.id,
|
|
12706
|
-
j.filter((
|
|
12690
|
+
j.filter((Z) => {
|
|
12707
12691
|
var he;
|
|
12708
|
-
return ((he =
|
|
12692
|
+
return ((he = Z.status) == null ? void 0 : he.id) === V.id;
|
|
12709
12693
|
})
|
|
12710
12694
|
])
|
|
12711
12695
|
), k && !l.value ? (i(k, null), l.value = !0) : H && !l.value && (i(null, H), l.value = !0), d.value && Qe(j, K);
|
|
@@ -12779,7 +12763,7 @@ const Gm = { class: "ao-feed" }, Xm = { class: "ao-feed__filters" }, Qm = { clas
|
|
|
12779
12763
|
}, ae = (L) => {
|
|
12780
12764
|
const { id: j } = a.selectedActivity || {};
|
|
12781
12765
|
j && e("removeComment", L);
|
|
12782
|
-
}, P = Es(), T = x("feed"),
|
|
12766
|
+
}, P = Es(), T = x("feed"), F = [
|
|
12783
12767
|
{ label: "Overview", value: "overview" },
|
|
12784
12768
|
{ label: "Feed", value: "feed" },
|
|
12785
12769
|
{ label: "Mapping", value: "mapping" }
|
|
@@ -12788,54 +12772,54 @@ const Gm = { class: "ao-feed" }, Xm = { class: "ao-feed__filters" }, Qm = { clas
|
|
|
12788
12772
|
L === "feed" ? (P.push({ name: ye.feed }), console.log("Navigating to feed...")) : L === "overview" ? (P.push({ name: ye.project }), console.log("Navigating to feed...")) : L === "mapping" && (P.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12789
12773
|
}), (L, j) => {
|
|
12790
12774
|
var k;
|
|
12791
|
-
return p(), _("div",
|
|
12775
|
+
return p(), _("div", Xm, [
|
|
12792
12776
|
A(wa, null, {
|
|
12793
12777
|
primary: q(() => [
|
|
12794
|
-
v("div",
|
|
12778
|
+
v("div", Qm, [
|
|
12795
12779
|
A(sn, {
|
|
12796
|
-
tabs:
|
|
12780
|
+
tabs: F,
|
|
12797
12781
|
modelValue: T.value,
|
|
12798
12782
|
"onUpdate:modelValue": j[0] || (j[0] = (H) => T.value = H)
|
|
12799
12783
|
}, null, 8, ["modelValue"]),
|
|
12800
|
-
A(
|
|
12784
|
+
A(Gm, {
|
|
12801
12785
|
"model-value": L.searchText,
|
|
12802
12786
|
placeholder: L.$t("feed.search.placeholder"),
|
|
12803
12787
|
class: "ao-feed__search",
|
|
12804
12788
|
"onUpdate:modelValue": D,
|
|
12805
12789
|
onClear: R
|
|
12806
12790
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12807
|
-
a.project ? O("", !0) : (p(), B(
|
|
12791
|
+
a.project ? O("", !0) : (p(), B(Me, {
|
|
12808
12792
|
key: 0,
|
|
12809
|
-
"model-value": L.filters[
|
|
12793
|
+
"model-value": L.filters[z(jt).project],
|
|
12810
12794
|
mode: "tags",
|
|
12811
12795
|
options: m.value,
|
|
12812
12796
|
"close-on-select": !1,
|
|
12813
12797
|
searchable: !0,
|
|
12814
12798
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12815
12799
|
placeholder: L.$t("feed.filters.project.placeholder"),
|
|
12816
|
-
"onUpdate:modelValue": j[1] || (j[1] = (H) => g(
|
|
12800
|
+
"onUpdate:modelValue": j[1] || (j[1] = (H) => g(z(jt).project, H))
|
|
12817
12801
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12818
|
-
h.value ? (p(), B(
|
|
12802
|
+
h.value ? (p(), B(Me, {
|
|
12819
12803
|
key: 1,
|
|
12820
|
-
"model-value": L.filters[
|
|
12804
|
+
"model-value": L.filters[z(jt).type],
|
|
12821
12805
|
mode: "tags",
|
|
12822
12806
|
options: h.value,
|
|
12823
12807
|
"close-on-select": !1,
|
|
12824
12808
|
searchable: !0,
|
|
12825
12809
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12826
12810
|
placeholder: L.$t("feed.filters.activityType.placeholder"),
|
|
12827
|
-
"onUpdate:modelValue": j[2] || (j[2] = (H) => g(
|
|
12811
|
+
"onUpdate:modelValue": j[2] || (j[2] = (H) => g(z(jt).type, H))
|
|
12828
12812
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12829
|
-
$.value.length ? (p(), B(
|
|
12813
|
+
$.value.length ? (p(), B(Me, {
|
|
12830
12814
|
key: 2,
|
|
12831
|
-
"model-value": L.filters[
|
|
12815
|
+
"model-value": L.filters[z(jt).assignee],
|
|
12832
12816
|
mode: "tags",
|
|
12833
12817
|
options: $.value,
|
|
12834
12818
|
"close-on-select": !1,
|
|
12835
12819
|
searchable: !0,
|
|
12836
12820
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12837
12821
|
placeholder: L.$t("feed.filters.assignee.placeholder"),
|
|
12838
|
-
"onUpdate:modelValue": j[3] || (j[3] = (H) => g(
|
|
12822
|
+
"onUpdate:modelValue": j[3] || (j[3] = (H) => g(z(jt).assignee, H))
|
|
12839
12823
|
}, {
|
|
12840
12824
|
tag: q(({
|
|
12841
12825
|
option: H,
|
|
@@ -12890,8 +12874,8 @@ const Gm = { class: "ao-feed" }, Xm = { class: "ao-feed__filters" }, Qm = { clas
|
|
|
12890
12874
|
]),
|
|
12891
12875
|
_: 1
|
|
12892
12876
|
}),
|
|
12893
|
-
v("div",
|
|
12894
|
-
(p(!0), _(fe, null, Ce(L.statuses, (H) => (p(), B(
|
|
12877
|
+
v("div", Jm, [
|
|
12878
|
+
(p(!0), _(fe, null, Ce(L.statuses, (H) => (p(), B(Ym, {
|
|
12895
12879
|
key: H.id,
|
|
12896
12880
|
status: H,
|
|
12897
12881
|
list: r.value[H.id],
|
|
@@ -12947,10 +12931,10 @@ const Gm = { class: "ao-feed" }, Xm = { class: "ao-feed__filters" }, Qm = { clas
|
|
|
12947
12931
|
};
|
|
12948
12932
|
}
|
|
12949
12933
|
});
|
|
12950
|
-
const
|
|
12934
|
+
const t4 = { class: "ao-project-mapping" }, a4 = { class: "ao-project-mapping-mapping__body" }, s4 = { class: "ao-project-mapping-mapping__phases" }, n4 = {
|
|
12951
12935
|
key: 0,
|
|
12952
12936
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12953
|
-
},
|
|
12937
|
+
}, i4 = ["src", "alt"], o4 = /* @__PURE__ */ X({
|
|
12954
12938
|
__name: "AoMapping",
|
|
12955
12939
|
props: {
|
|
12956
12940
|
project: {},
|
|
@@ -12993,8 +12977,8 @@ const e4 = { class: "ao-project-mapping" }, t4 = { class: "ao-project-mapping-ma
|
|
|
12993
12977
|
return de(C, (h) => {
|
|
12994
12978
|
h === "feed" ? (g.push({ name: ye.feed }), console.log("Navigating to feed...")) : h === "overview" ? (g.push({ name: ye.project }), console.log("Navigating to feed...")) : h === "mapping" && (g.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12995
12979
|
}), (h, $) => (p(), _(fe, null, [
|
|
12996
|
-
v("div",
|
|
12997
|
-
v("div",
|
|
12980
|
+
v("div", Ae({ class: "ao-project-mapping-overview" }, h.$attrs), [
|
|
12981
|
+
v("div", t4, [
|
|
12998
12982
|
A(wa, null, {
|
|
12999
12983
|
primary: q(() => [
|
|
13000
12984
|
A(sn, {
|
|
@@ -13033,8 +13017,8 @@ const e4 = { class: "ao-project-mapping" }, t4 = { class: "ao-project-mapping-ma
|
|
|
13033
13017
|
]),
|
|
13034
13018
|
_: 1
|
|
13035
13019
|
}),
|
|
13036
|
-
v("div",
|
|
13037
|
-
v("div",
|
|
13020
|
+
v("div", a4, [
|
|
13021
|
+
v("div", s4, [
|
|
13038
13022
|
A(hi, {
|
|
13039
13023
|
phases: h.phases,
|
|
13040
13024
|
"closed-status": h.closedStatus,
|
|
@@ -13047,12 +13031,12 @@ const e4 = { class: "ao-project-mapping" }, t4 = { class: "ao-project-mapping-ma
|
|
|
13047
13031
|
onCopyPhaseToTemplate: l
|
|
13048
13032
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
13049
13033
|
]),
|
|
13050
|
-
h.project.architectureImage ? (p(), _("div",
|
|
13034
|
+
h.project.architectureImage ? (p(), _("div", n4, [
|
|
13051
13035
|
v("img", {
|
|
13052
13036
|
class: "architecture-image",
|
|
13053
13037
|
src: h.project.architectureImage.url,
|
|
13054
|
-
alt:
|
|
13055
|
-
}, null, 8,
|
|
13038
|
+
alt: z(s)("architectureImage.alt")
|
|
13039
|
+
}, null, 8, i4)
|
|
13056
13040
|
])) : O("", !0)
|
|
13057
13041
|
])
|
|
13058
13042
|
])
|
|
@@ -13079,7 +13063,7 @@ const Nt = {
|
|
|
13079
13063
|
TEMPLATES: "templates",
|
|
13080
13064
|
TEMPLATE_DETAILS: "template_details",
|
|
13081
13065
|
TEMPLATES_LIST: "templates_list"
|
|
13082
|
-
},
|
|
13066
|
+
}, $4 = (t, e = {}) => [
|
|
13083
13067
|
{
|
|
13084
13068
|
path: t,
|
|
13085
13069
|
name: Nt.TEMPLATES,
|
|
@@ -13089,12 +13073,12 @@ const Nt = {
|
|
|
13089
13073
|
{
|
|
13090
13074
|
path: "",
|
|
13091
13075
|
name: Nt.TEMPLATES_LIST,
|
|
13092
|
-
component:
|
|
13076
|
+
component: l4
|
|
13093
13077
|
},
|
|
13094
13078
|
{
|
|
13095
13079
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
13096
13080
|
name: Nt.TEMPLATE_DETAILS,
|
|
13097
|
-
component:
|
|
13081
|
+
component: xf,
|
|
13098
13082
|
props: !0
|
|
13099
13083
|
}
|
|
13100
13084
|
]
|
|
@@ -13105,7 +13089,7 @@ const Nt = {
|
|
|
13105
13089
|
mapping: "AoProjectMapping",
|
|
13106
13090
|
milestone: "AoMilestone",
|
|
13107
13091
|
activity: "AoActivity"
|
|
13108
|
-
},
|
|
13092
|
+
}, k4 = (t, e = {}) => [
|
|
13109
13093
|
{
|
|
13110
13094
|
path: t,
|
|
13111
13095
|
...e,
|
|
@@ -13129,7 +13113,7 @@ const Nt = {
|
|
|
13129
13113
|
props: { default: !0, modal: !0 },
|
|
13130
13114
|
components: {
|
|
13131
13115
|
default: Ln,
|
|
13132
|
-
modal:
|
|
13116
|
+
modal: Am
|
|
13133
13117
|
}
|
|
13134
13118
|
}
|
|
13135
13119
|
]
|
|
@@ -13137,18 +13121,18 @@ const Nt = {
|
|
|
13137
13121
|
{
|
|
13138
13122
|
path: "feed",
|
|
13139
13123
|
name: ye.feed,
|
|
13140
|
-
component:
|
|
13124
|
+
component: e4,
|
|
13141
13125
|
props: !0
|
|
13142
13126
|
},
|
|
13143
13127
|
{
|
|
13144
13128
|
path: "mapping",
|
|
13145
13129
|
name: ye.mapping,
|
|
13146
|
-
component:
|
|
13130
|
+
component: o4,
|
|
13147
13131
|
props: !0
|
|
13148
13132
|
}
|
|
13149
13133
|
]
|
|
13150
13134
|
}
|
|
13151
|
-
],
|
|
13135
|
+
], r4 = { class: "ao-templates" }, l4 = /* @__PURE__ */ X({
|
|
13152
13136
|
__name: "AoTemplatesList",
|
|
13153
13137
|
props: {
|
|
13154
13138
|
templates: {}
|
|
@@ -13197,7 +13181,7 @@ const Nt = {
|
|
|
13197
13181
|
});
|
|
13198
13182
|
}
|
|
13199
13183
|
};
|
|
13200
|
-
return (l, d) => (p(), _("div",
|
|
13184
|
+
return (l, d) => (p(), _("div", r4, [
|
|
13201
13185
|
A(wa, null, {
|
|
13202
13186
|
secondary: q(() => [
|
|
13203
13187
|
A(le, {
|
|
@@ -13210,7 +13194,7 @@ const Nt = {
|
|
|
13210
13194
|
]),
|
|
13211
13195
|
_: 1
|
|
13212
13196
|
}),
|
|
13213
|
-
A(
|
|
13197
|
+
A(z(gt), {
|
|
13214
13198
|
"model-value": l.templates,
|
|
13215
13199
|
class: "ao-templates__list",
|
|
13216
13200
|
"item-key": "id",
|
|
@@ -13224,13 +13208,13 @@ const Nt = {
|
|
|
13224
13208
|
id: u.id,
|
|
13225
13209
|
title: u.name,
|
|
13226
13210
|
phases: u.phases,
|
|
13227
|
-
milestones: (f = u.phases) != null && f.length ?
|
|
13228
|
-
activities: u.phases ?
|
|
13211
|
+
milestones: (f = u.phases) != null && f.length ? z(H3)(u.phases) : 0,
|
|
13212
|
+
activities: u.phases ? z(V3)(u.phases) : 0,
|
|
13229
13213
|
"updated-at": u.updatedAt,
|
|
13230
13214
|
"updated-by": u.updatedBy,
|
|
13231
13215
|
onUpdateTitle: (c) => o(u.id, c),
|
|
13232
13216
|
onClick: (c) => l.$router.push({
|
|
13233
|
-
name:
|
|
13217
|
+
name: z(Nt).TEMPLATE_DETAILS,
|
|
13234
13218
|
params: { templateId: u.id }
|
|
13235
13219
|
}),
|
|
13236
13220
|
onDeleteItem: d[0] || (d[0] = (c, g) => i(c, g))
|
|
@@ -13242,7 +13226,7 @@ const Nt = {
|
|
|
13242
13226
|
]));
|
|
13243
13227
|
}
|
|
13244
13228
|
});
|
|
13245
|
-
const
|
|
13229
|
+
const u4 = { class: "ao-field__label" }, c4 = /* @__PURE__ */ X({
|
|
13246
13230
|
__name: "AoField",
|
|
13247
13231
|
props: {
|
|
13248
13232
|
label: {},
|
|
@@ -13252,11 +13236,11 @@ const l4 = { class: "ao-field__label" }, u4 = /* @__PURE__ */ X({
|
|
|
13252
13236
|
return (e, a) => (p(), _("label", {
|
|
13253
13237
|
class: ee(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
13254
13238
|
}, [
|
|
13255
|
-
v("span",
|
|
13239
|
+
v("span", u4, W(e.label), 1),
|
|
13256
13240
|
se(e.$slots, "default")
|
|
13257
13241
|
], 2));
|
|
13258
13242
|
}
|
|
13259
|
-
}),
|
|
13243
|
+
}), d4 = ["type", "value", "disabled", "readonly"], S4 = /* @__PURE__ */ X({
|
|
13260
13244
|
__name: "AoInputField",
|
|
13261
13245
|
props: {
|
|
13262
13246
|
label: { default: "" },
|
|
@@ -13273,22 +13257,22 @@ const l4 = { class: "ao-field__label" }, u4 = /* @__PURE__ */ X({
|
|
|
13273
13257
|
), n = (o) => {
|
|
13274
13258
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
13275
13259
|
};
|
|
13276
|
-
return (o, i) => (p(), B(
|
|
13260
|
+
return (o, i) => (p(), B(c4, { label: o.label }, {
|
|
13277
13261
|
default: q(() => [
|
|
13278
|
-
v("input",
|
|
13262
|
+
v("input", Ae({
|
|
13279
13263
|
class: "ao-field__input",
|
|
13280
13264
|
type: o.type,
|
|
13281
13265
|
value: o.modelValue,
|
|
13282
13266
|
disabled: o.isDisabled,
|
|
13283
13267
|
readonly: o.isReadonly
|
|
13284
13268
|
}, {
|
|
13285
|
-
[
|
|
13286
|
-
}), null, 16,
|
|
13269
|
+
[zi(s.value)]: i[0] || (i[0] = (r) => n(r.target.value))
|
|
13270
|
+
}), null, 16, d4)
|
|
13287
13271
|
]),
|
|
13288
13272
|
_: 1
|
|
13289
13273
|
}, 8, ["label"]));
|
|
13290
13274
|
}
|
|
13291
|
-
}),
|
|
13275
|
+
}), p4 = { class: "ao-field" }, v4 = { class: "ao-field__label" }, f4 = ["checked", "disabled"], M4 = /* @__PURE__ */ X({
|
|
13292
13276
|
__name: "AoCheckboxField",
|
|
13293
13277
|
props: {
|
|
13294
13278
|
label: { default: "" },
|
|
@@ -13298,8 +13282,8 @@ const l4 = { class: "ao-field__label" }, u4 = /* @__PURE__ */ X({
|
|
|
13298
13282
|
},
|
|
13299
13283
|
emits: ["update:modelValue"],
|
|
13300
13284
|
setup(t) {
|
|
13301
|
-
return (e, a) => (p(), _("label",
|
|
13302
|
-
v("span",
|
|
13285
|
+
return (e, a) => (p(), _("label", p4, [
|
|
13286
|
+
v("span", v4, W(e.label), 1),
|
|
13303
13287
|
v("input", {
|
|
13304
13288
|
class: "ao-field__input",
|
|
13305
13289
|
type: "checkbox",
|
|
@@ -13312,30 +13296,30 @@ const l4 = { class: "ao-field__label" }, u4 = /* @__PURE__ */ X({
|
|
|
13312
13296
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
13313
13297
|
);
|
|
13314
13298
|
})
|
|
13315
|
-
}, null, 40,
|
|
13299
|
+
}, null, 40, f4)
|
|
13316
13300
|
]));
|
|
13317
13301
|
}
|
|
13318
13302
|
});
|
|
13319
13303
|
export {
|
|
13320
13304
|
et as AoAvatar,
|
|
13321
13305
|
Ci as AoCardFeed,
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
13306
|
+
M4 as AoCheckboxField,
|
|
13307
|
+
e4 as AoFeed,
|
|
13308
|
+
c4 as AoField,
|
|
13309
|
+
S4 as AoInputField,
|
|
13310
|
+
Me as AoMultiselect,
|
|
13327
13311
|
hi as AoProjectPhases,
|
|
13328
13312
|
sn as AoTabBar,
|
|
13329
|
-
|
|
13330
|
-
|
|
13331
|
-
|
|
13313
|
+
xf as AoTemplateDetails,
|
|
13314
|
+
_4 as AoTemplates,
|
|
13315
|
+
l4 as AoTemplatesList,
|
|
13332
13316
|
X2 as TemplateItemTypeEnum,
|
|
13333
|
-
|
|
13334
|
-
|
|
13317
|
+
b4 as activityFeedStatus,
|
|
13318
|
+
y4 as durationTypes,
|
|
13335
13319
|
jt as feedFilterTypes,
|
|
13336
|
-
|
|
13337
|
-
|
|
13338
|
-
|
|
13320
|
+
k4 as getProjectOverviewRoutes,
|
|
13321
|
+
$4 as getTemplateRoutes,
|
|
13322
|
+
w4 as listUpdateTypes,
|
|
13339
13323
|
ja as milestoneStatus,
|
|
13340
13324
|
ye as projectOverviewRoutes,
|
|
13341
13325
|
x2 as ruleComparators,
|