@26lights/orcha 0.41.92 → 0.41.93
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 +776 -741
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { RouterView as qo, useRoute as
|
|
1
|
+
import { defineComponent as Y, openBlock as p, createBlock as D, unref as ee, mergeProps as Me, createElementBlock as C, createElementVNode as f, pushScopeId as Do, popScopeId as Bo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as mt, normalizeClass as J, renderSlot as ae, toDisplayString as x, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as pt, toHandlers as jo, withCtx as F, createTextVNode as qa, createVNode as T, normalizeStyle as We, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as jt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as No, onUpdated as Uo, vModelText as Ze, resolveComponent as ut, vModelCheckbox as Fo, getCurrentScope as Zo, onScopeDispose as Wo, toHandlerKey as zo } from "vue";
|
|
2
|
+
import { RouterView as qo, useRoute as xo, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
|
-
const a8 = /* @__PURE__ */
|
|
4
|
+
const a8 = /* @__PURE__ */ Y({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(), D(
|
|
10
|
+
return (e, a) => (p(), D(ee(qo), Me({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), Z = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
14
14
|
for (const [s, n] of e)
|
|
15
15
|
a[s] = n;
|
|
16
16
|
return a;
|
|
17
|
-
},
|
|
17
|
+
}, Yo = {}, Ko = {
|
|
18
18
|
width: "24",
|
|
19
19
|
height: "24",
|
|
20
20
|
viewBox: "0 0 24 24",
|
|
@@ -29,7 +29,7 @@ const a8 = /* @__PURE__ */ x({
|
|
|
29
29
|
function Qo(t, e) {
|
|
30
30
|
return p(), C("svg", Ko, Xo);
|
|
31
31
|
}
|
|
32
|
-
const Jo = /* @__PURE__ */ Z(
|
|
32
|
+
const Jo = /* @__PURE__ */ Z(Yo, [["render", Qo]]), ei = {}, ti = {
|
|
33
33
|
width: "24",
|
|
34
34
|
height: "24",
|
|
35
35
|
viewBox: "0 0 24 24",
|
|
@@ -149,7 +149,7 @@ const Ui = /* @__PURE__ */ Z(Di, [["render", Ni]]), Fi = {}, Zi = {
|
|
|
149
149
|
function qi(t, e) {
|
|
150
150
|
return p(), C("svg", Zi, zi);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const xi = /* @__PURE__ */ Z(Fi, [["render", qi]]), Yi = {}, Ki = {
|
|
153
153
|
width: "24",
|
|
154
154
|
height: "24",
|
|
155
155
|
viewBox: "0 0 24 24",
|
|
@@ -164,7 +164,7 @@ const Yi = /* @__PURE__ */ Z(Fi, [["render", qi]]), xi = {}, Ki = {
|
|
|
164
164
|
function Qi(t, e) {
|
|
165
165
|
return p(), C("svg", Ki, Xi);
|
|
166
166
|
}
|
|
167
|
-
const Ji = /* @__PURE__ */ Z(
|
|
167
|
+
const Ji = /* @__PURE__ */ Z(Yi, [["render", Qi]]), e1 = {}, t1 = {
|
|
168
168
|
width: "24",
|
|
169
169
|
height: "24",
|
|
170
170
|
viewBox: "0 0 24 24",
|
|
@@ -284,7 +284,7 @@ const U1 = /* @__PURE__ */ Z(D1, [["render", N1]]), F1 = {}, Z1 = {
|
|
|
284
284
|
function q1(t, e) {
|
|
285
285
|
return p(), C("svg", Z1, z1);
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const x1 = /* @__PURE__ */ Z(F1, [["render", q1]]), Y1 = {}, K1 = {
|
|
288
288
|
width: "24",
|
|
289
289
|
height: "24",
|
|
290
290
|
viewBox: "0 0 24 24",
|
|
@@ -299,7 +299,7 @@ const Y1 = /* @__PURE__ */ Z(F1, [["render", q1]]), x1 = {}, K1 = {
|
|
|
299
299
|
function Q1(t, e) {
|
|
300
300
|
return p(), C("svg", K1, X1);
|
|
301
301
|
}
|
|
302
|
-
const J1 = /* @__PURE__ */ Z(
|
|
302
|
+
const J1 = /* @__PURE__ */ Z(Y1, [["render", Q1]]), el = {}, tl = {
|
|
303
303
|
width: "24",
|
|
304
304
|
height: "24",
|
|
305
305
|
viewBox: "0 0 24 24",
|
|
@@ -419,7 +419,7 @@ const Ul = /* @__PURE__ */ Z(Dl, [["render", Nl]]), Fl = {}, Zl = {
|
|
|
419
419
|
function ql(t, e) {
|
|
420
420
|
return p(), C("svg", Zl, zl);
|
|
421
421
|
}
|
|
422
|
-
const
|
|
422
|
+
const xl = /* @__PURE__ */ Z(Fl, [["render", ql]]), Yl = {}, Kl = {
|
|
423
423
|
width: "24",
|
|
424
424
|
height: "24",
|
|
425
425
|
viewBox: "0 0 24 24",
|
|
@@ -434,7 +434,7 @@ const Yl = /* @__PURE__ */ Z(Fl, [["render", ql]]), xl = {}, Kl = {
|
|
|
434
434
|
function Ql(t, e) {
|
|
435
435
|
return p(), C("svg", Kl, Xl);
|
|
436
436
|
}
|
|
437
|
-
const Jl = /* @__PURE__ */ Z(
|
|
437
|
+
const Jl = /* @__PURE__ */ Z(Yl, [["render", Ql]]), er = {}, tr = {
|
|
438
438
|
width: "24",
|
|
439
439
|
height: "24",
|
|
440
440
|
viewBox: "0 0 24 24",
|
|
@@ -554,7 +554,7 @@ const Ur = /* @__PURE__ */ Z(Dr, [["render", Nr]]), Fr = {}, Zr = {
|
|
|
554
554
|
function qr(t, e) {
|
|
555
555
|
return p(), C("svg", Zr, zr);
|
|
556
556
|
}
|
|
557
|
-
const
|
|
557
|
+
const xr = /* @__PURE__ */ Z(Fr, [["render", qr]]), Yr = {}, Kr = {
|
|
558
558
|
width: "24",
|
|
559
559
|
height: "24",
|
|
560
560
|
viewBox: "0 0 24 24",
|
|
@@ -569,7 +569,7 @@ const Yr = /* @__PURE__ */ Z(Fr, [["render", qr]]), xr = {}, Kr = {
|
|
|
569
569
|
function Qr(t, e) {
|
|
570
570
|
return p(), C("svg", Kr, Xr);
|
|
571
571
|
}
|
|
572
|
-
const Jr = /* @__PURE__ */ Z(
|
|
572
|
+
const Jr = /* @__PURE__ */ Z(Yr, [["render", Qr]]), eu = {}, tu = {
|
|
573
573
|
width: "24",
|
|
574
574
|
height: "24",
|
|
575
575
|
viewBox: "0 0 24 24",
|
|
@@ -614,7 +614,7 @@ const du = /* @__PURE__ */ Z(iu, [["render", cu]]), pu = {}, vu = {
|
|
|
614
614
|
function mu(t, e) {
|
|
615
615
|
return p(), C("svg", vu, hu);
|
|
616
616
|
}
|
|
617
|
-
const gu = /* @__PURE__ */ Z(pu, [["render", mu]]), Cu =
|
|
617
|
+
const gu = /* @__PURE__ */ Z(pu, [["render", mu]]), Cu = Y({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
620
|
const Is = (t) => (Do("data-v-ad6da4a9"), t = t(), Bo(), t), _u = {
|
|
@@ -696,13 +696,13 @@ const Zu = /* @__PURE__ */ Z(Ru, [["render", Fu]]), Wu = {}, zu = {
|
|
|
696
696
|
}, qu = /* @__PURE__ */ f("path", {
|
|
697
697
|
d: "M6 14C5.45 14 4.979 13.804 4.587 13.412C4.195 13.02 3.99934 12.5493 4 12C4 11.45 4.196 10.979 4.588 10.587C4.98 10.195 5.45067 9.99934 6 10C6.55 10 7.021 10.196 7.413 10.588C7.805 10.98 8.00067 11.4507 8 12C8 12.55 7.804 13.021 7.412 13.413C7.02 13.805 6.54934 14.0007 6 14ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM18 14C17.45 14 16.979 13.804 16.587 13.412C16.195 13.02 15.9993 12.5493 16 12C16 11.45 16.196 10.979 16.588 10.587C16.98 10.195 17.4507 9.99934 18 10C18.55 10 19.021 10.196 19.413 10.588C19.805 10.98 20.0007 11.4507 20 12C20 12.55 19.804 13.021 19.412 13.413C19.02 13.805 18.5493 14.0007 18 14Z",
|
|
698
698
|
fill: "black"
|
|
699
|
-
}, null, -1),
|
|
699
|
+
}, null, -1), xu = [
|
|
700
700
|
qu
|
|
701
701
|
];
|
|
702
|
-
function
|
|
703
|
-
return p(), C("svg", zu,
|
|
702
|
+
function Yu(t, e) {
|
|
703
|
+
return p(), C("svg", zu, xu);
|
|
704
704
|
}
|
|
705
|
-
const Ku = /* @__PURE__ */ Z(Wu, [["render",
|
|
705
|
+
const Ku = /* @__PURE__ */ Z(Wu, [["render", Yu]]), Gu = {}, Xu = {
|
|
706
706
|
width: "24",
|
|
707
707
|
height: "24",
|
|
708
708
|
viewBox: "0 0 24 24",
|
|
@@ -831,13 +831,13 @@ const Zc = /* @__PURE__ */ Z(Rc, [["render", Fc]]), Wc = {}, zc = {
|
|
|
831
831
|
}, qc = /* @__PURE__ */ f("path", {
|
|
832
832
|
d: "M6 13C5.71667 13 5.479 12.904 5.287 12.712C5.095 12.52 4.99934 12.2827 5 12C5 11.7167 5.096 11.479 5.288 11.287C5.48 11.095 5.71734 10.9993 6 11H18C18.2833 11 18.521 11.096 18.713 11.288C18.905 11.48 19.0007 11.7173 19 12C19 12.2833 18.904 12.521 18.712 12.713C18.52 12.905 18.2827 13.0007 18 13H6Z",
|
|
833
833
|
fill: "black"
|
|
834
|
-
}, null, -1),
|
|
834
|
+
}, null, -1), xc = [
|
|
835
835
|
qc
|
|
836
836
|
];
|
|
837
|
-
function
|
|
838
|
-
return p(), C("svg", zc,
|
|
837
|
+
function Yc(t, e) {
|
|
838
|
+
return p(), C("svg", zc, xc);
|
|
839
839
|
}
|
|
840
|
-
const Kc = /* @__PURE__ */ Z(Wc, [["render",
|
|
840
|
+
const Kc = /* @__PURE__ */ Z(Wc, [["render", Yc]]), Gc = {}, Xc = {
|
|
841
841
|
width: "26",
|
|
842
842
|
height: "29",
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
@@ -963,13 +963,13 @@ const Zd = /* @__PURE__ */ Z(Rd, [["render", Fd]]), Wd = {}, zd = {
|
|
|
963
963
|
}, qd = /* @__PURE__ */ f("path", {
|
|
964
964
|
d: "M9 3V1H15V3H9ZM11 14H13V8H11V14ZM12 22C10.7667 22 9.604 21.7623 8.512 21.287C7.42 20.8117 6.466 20.166 5.65 19.35C4.83333 18.5333 4.18733 17.579 3.712 16.487C3.23667 15.395 2.99933 14.2327 3 13C3 11.7667 3.23767 10.604 3.713 9.512C4.18833 8.42 4.834 7.466 5.65 6.65C6.46667 5.83333 7.421 5.18733 8.513 4.712C9.605 4.23667 10.7673 3.99933 12 4C13.0333 4 14.025 4.16667 14.975 4.5C15.925 4.83333 16.8167 5.31667 17.65 5.95L19.05 4.55L20.45 5.95L19.05 7.35C19.6833 8.18333 20.1667 9.075 20.5 10.025C20.8333 10.975 21 11.9667 21 13C21 14.2333 20.7623 15.396 20.287 16.488C19.8117 17.58 19.166 18.534 18.35 19.35C17.5333 20.1667 16.579 20.8127 15.487 21.288C14.395 21.7633 13.2327 22.0007 12 22ZM12 20C13.9333 20 15.5833 19.3167 16.95 17.95C18.3167 16.5833 19 14.9333 19 13C19 11.0667 18.3167 9.41667 16.95 8.05C15.5833 6.68333 13.9333 6 12 6C10.0667 6 8.41667 6.68333 7.05 8.05C5.68333 9.41667 5 11.0667 5 13C5 14.9333 5.68333 16.5833 7.05 17.95C8.41667 19.3167 10.0667 20 12 20Z",
|
|
965
965
|
fill: "black"
|
|
966
|
-
}, null, -1),
|
|
966
|
+
}, null, -1), xd = [
|
|
967
967
|
qd
|
|
968
968
|
];
|
|
969
|
-
function
|
|
970
|
-
return p(), C("svg", zd,
|
|
969
|
+
function Yd(t, e) {
|
|
970
|
+
return p(), C("svg", zd, xd);
|
|
971
971
|
}
|
|
972
|
-
const Kd = /* @__PURE__ */ Z(Wd, [["render",
|
|
972
|
+
const Kd = /* @__PURE__ */ Z(Wd, [["render", Yd]]), Gd = {}, Xd = {
|
|
973
973
|
width: "24",
|
|
974
974
|
height: "24",
|
|
975
975
|
viewBox: "0 0 24 24",
|
|
@@ -1069,7 +1069,7 @@ const I2 = /* @__PURE__ */ Z(A2, [["render", E2]]), L2 = /* @__PURE__ */ Object.
|
|
|
1069
1069
|
AddBoxOutlineRounded: Oi,
|
|
1070
1070
|
ArchiveOutlineRounded: Vi,
|
|
1071
1071
|
ArrowBackRounded: Ui,
|
|
1072
|
-
ArrowDropDownRounded:
|
|
1072
|
+
ArrowDropDownRounded: xi,
|
|
1073
1073
|
ArrowForwardRounded: Ji,
|
|
1074
1074
|
AssignmentOutlineRounded: o1,
|
|
1075
1075
|
AttachFileRounded: d1,
|
|
@@ -1078,7 +1078,7 @@ const I2 = /* @__PURE__ */ Z(A2, [["render", E2]]), L2 = /* @__PURE__ */ Object.
|
|
|
1078
1078
|
ChatOutline: O1,
|
|
1079
1079
|
CheckBoxOutlineBlank: V1,
|
|
1080
1080
|
CheckBoxOutlineBlankSharp: U1,
|
|
1081
|
-
CheckBoxOutlineRounded:
|
|
1081
|
+
CheckBoxOutlineRounded: x1,
|
|
1082
1082
|
CheckSmallRounded: J1,
|
|
1083
1083
|
ChecklistRounded: ol,
|
|
1084
1084
|
ChevronLeft: dl,
|
|
@@ -1087,7 +1087,7 @@ const I2 = /* @__PURE__ */ Z(A2, [["render", E2]]), L2 = /* @__PURE__ */ Object.
|
|
|
1087
1087
|
ContactsOutlineRounded: Ol,
|
|
1088
1088
|
ContentCopyOutline: Vl,
|
|
1089
1089
|
DeleteOutlineRounded: Ul,
|
|
1090
|
-
DragIndicator:
|
|
1090
|
+
DragIndicator: xl,
|
|
1091
1091
|
EditDocumentRounded: Jl,
|
|
1092
1092
|
EditOutline: or,
|
|
1093
1093
|
ErrorOutlineRounded: dr,
|
|
@@ -1096,7 +1096,7 @@ const I2 = /* @__PURE__ */ Z(A2, [["render", E2]]), L2 = /* @__PURE__ */ Object.
|
|
|
1096
1096
|
FlowsheetOutlineRounded: Or,
|
|
1097
1097
|
GifBox: Vr,
|
|
1098
1098
|
GroupsOutline: Ur,
|
|
1099
|
-
HomeOutlineRounded:
|
|
1099
|
+
HomeOutlineRounded: xr,
|
|
1100
1100
|
ImageRounded: Jr,
|
|
1101
1101
|
Info: ou,
|
|
1102
1102
|
KeyboardArrowDown: du,
|
|
@@ -1134,7 +1134,7 @@ const I2 = /* @__PURE__ */ Z(A2, [["render", E2]]), L2 = /* @__PURE__ */ Object.
|
|
|
1134
1134
|
SOLID: "solid",
|
|
1135
1135
|
GHOST: "ghost",
|
|
1136
1136
|
OUTLINE: "outline"
|
|
1137
|
-
},
|
|
1137
|
+
}, xa = {
|
|
1138
1138
|
SM: "sm",
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
@@ -1160,23 +1160,23 @@ const Pn = {
|
|
|
1160
1160
|
SOLID: "solid",
|
|
1161
1161
|
OUTLINE: "outline",
|
|
1162
1162
|
SOLID_ICON: "solid_icon"
|
|
1163
|
-
}, pe = /* @__PURE__ */
|
|
1163
|
+
}, pe = /* @__PURE__ */ Y({
|
|
1164
1164
|
__name: "AoIcon",
|
|
1165
1165
|
props: {
|
|
1166
1166
|
name: {},
|
|
1167
|
-
size: { default:
|
|
1167
|
+
size: { default: xa.MD }
|
|
1168
1168
|
},
|
|
1169
1169
|
setup(t) {
|
|
1170
1170
|
const e = t, a = M(() => L2[e.name]);
|
|
1171
1171
|
return (s, n) => (p(), D(mt(a.value), {
|
|
1172
|
-
class:
|
|
1172
|
+
class: J(["ao-icon", `ao-icon--${s.size}`])
|
|
1173
1173
|
}, null, 8, ["class"]));
|
|
1174
1174
|
}
|
|
1175
1175
|
});
|
|
1176
1176
|
const D2 = ["type"], B2 = {
|
|
1177
1177
|
key: 0,
|
|
1178
1178
|
class: "ao-button__label"
|
|
1179
|
-
}, re = /* @__PURE__ */
|
|
1179
|
+
}, re = /* @__PURE__ */ Y({
|
|
1180
1180
|
__name: "AoButton",
|
|
1181
1181
|
props: {
|
|
1182
1182
|
label: { default: () => "" },
|
|
@@ -1186,7 +1186,7 @@ const D2 = ["type"], B2 = {
|
|
|
1186
1186
|
type: { default: () => "button" },
|
|
1187
1187
|
color: {},
|
|
1188
1188
|
footer: { type: Boolean, default: () => !1 },
|
|
1189
|
-
size: { default: () =>
|
|
1189
|
+
size: { default: () => xa.MD },
|
|
1190
1190
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1191
1191
|
corners: { default: () => Pn.ROUNDED }
|
|
1192
1192
|
},
|
|
@@ -1194,7 +1194,7 @@ const D2 = ["type"], B2 = {
|
|
|
1194
1194
|
const e = t, a = M(() => e.size), s = M(() => e.isLoading ? "Loading" : e.iconName);
|
|
1195
1195
|
return (n, i) => (p(), C("button", {
|
|
1196
1196
|
type: n.type,
|
|
1197
|
-
class:
|
|
1197
|
+
class: J([
|
|
1198
1198
|
"ao-button",
|
|
1199
1199
|
`ao-button--${n.variant}`,
|
|
1200
1200
|
n.color ? `ao-button--${n.color}` : "",
|
|
@@ -1206,7 +1206,7 @@ const D2 = ["type"], B2 = {
|
|
|
1206
1206
|
])
|
|
1207
1207
|
}, [
|
|
1208
1208
|
ae(n.$slots, "default", {}, () => [
|
|
1209
|
-
n.label ? (p(), C("span", B2,
|
|
1209
|
+
n.label ? (p(), C("span", B2, x(n.label), 1)) : E("", !0)
|
|
1210
1210
|
]),
|
|
1211
1211
|
s.value ? (p(), D(pe, {
|
|
1212
1212
|
key: 0,
|
|
@@ -1246,7 +1246,7 @@ function Hn(t) {
|
|
|
1246
1246
|
onDiscard: o
|
|
1247
1247
|
};
|
|
1248
1248
|
}
|
|
1249
|
-
const be = /* @__PURE__ */
|
|
1249
|
+
const be = /* @__PURE__ */ Y({
|
|
1250
1250
|
__name: "AoTitle",
|
|
1251
1251
|
props: {
|
|
1252
1252
|
id: {},
|
|
@@ -1290,19 +1290,19 @@ const be = /* @__PURE__ */ x({
|
|
|
1290
1290
|
{
|
|
1291
1291
|
[`ao-title--${_.color}`]: !!_.color,
|
|
1292
1292
|
"ao-title--editable": _.isEditable,
|
|
1293
|
-
"ao-field__input ao-title--editing":
|
|
1294
|
-
"ao-title--readonly": !
|
|
1293
|
+
"ao-field__input ao-title--editing": ee(n),
|
|
1294
|
+
"ao-title--readonly": !ee(n)
|
|
1295
1295
|
}
|
|
1296
1296
|
],
|
|
1297
|
-
type:
|
|
1298
|
-
value:
|
|
1297
|
+
type: ee(n) ? "text" : null,
|
|
1298
|
+
value: ee(n) ? _.title : null,
|
|
1299
1299
|
tabindex: "0",
|
|
1300
1300
|
onKeyup: pt(h, ["enter"])
|
|
1301
1301
|
}, jo(d.value), {
|
|
1302
|
-
onKeydown: pt(
|
|
1302
|
+
onKeydown: pt(ee(c), ["esc"])
|
|
1303
1303
|
}), {
|
|
1304
1304
|
default: F(() => [
|
|
1305
|
-
qa(
|
|
1305
|
+
qa(x(_.title), 1)
|
|
1306
1306
|
]),
|
|
1307
1307
|
_: 1
|
|
1308
1308
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1329,7 +1329,7 @@ const R2 = {
|
|
|
1329
1329
|
}, q2 = {
|
|
1330
1330
|
key: 3,
|
|
1331
1331
|
class: "ao-card-horiz__secondary"
|
|
1332
|
-
}, Vn = /* @__PURE__ */
|
|
1332
|
+
}, Vn = /* @__PURE__ */ Y({
|
|
1333
1333
|
__name: "AoCardHoriz",
|
|
1334
1334
|
props: {
|
|
1335
1335
|
id: {},
|
|
@@ -1347,7 +1347,7 @@ const R2 = {
|
|
|
1347
1347
|
e("update:title", s);
|
|
1348
1348
|
};
|
|
1349
1349
|
return (s, n) => (p(), D(mt(s.tagName), {
|
|
1350
|
-
class:
|
|
1350
|
+
class: J(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
|
|
1351
1351
|
}, {
|
|
1352
1352
|
default: F(() => [
|
|
1353
1353
|
s.isDraggable ? (p(), C("div", R2, [
|
|
@@ -1374,7 +1374,7 @@ const R2 = {
|
|
|
1374
1374
|
"onUpdate:title": a
|
|
1375
1375
|
}, null, 8, ["id", "title"]),
|
|
1376
1376
|
ae(s.$slots, "subtitle", {}, () => [
|
|
1377
|
-
s.subtitle ? (p(), C("span", F2,
|
|
1377
|
+
s.subtitle ? (p(), C("span", F2, x(s.subtitle), 1)) : E("", !0)
|
|
1378
1378
|
])
|
|
1379
1379
|
]),
|
|
1380
1380
|
s.$slots.header ? (p(), C("div", Z2, [
|
|
@@ -1395,7 +1395,7 @@ const R2 = {
|
|
|
1395
1395
|
}, 8, ["class"]));
|
|
1396
1396
|
}
|
|
1397
1397
|
});
|
|
1398
|
-
const ra = /* @__PURE__ */
|
|
1398
|
+
const ra = /* @__PURE__ */ Y({
|
|
1399
1399
|
__name: "AoTag",
|
|
1400
1400
|
props: {
|
|
1401
1401
|
label: {},
|
|
@@ -1412,7 +1412,7 @@ const ra = /* @__PURE__ */ x({
|
|
|
1412
1412
|
() => a.value === "button" ? { type: "button" } : {}
|
|
1413
1413
|
);
|
|
1414
1414
|
return (n, i) => (p(), C("div", {
|
|
1415
|
-
class:
|
|
1415
|
+
class: J([
|
|
1416
1416
|
"ao-tag",
|
|
1417
1417
|
n.color ? `ao-tag--${n.color}` : "",
|
|
1418
1418
|
n.clickable ? "ao-tag--clickable" : "",
|
|
@@ -1425,8 +1425,8 @@ const ra = /* @__PURE__ */ x({
|
|
|
1425
1425
|
onClick: i[0] || (i[0] = (o) => n.$emit("click", o))
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: F(() => [
|
|
1428
|
-
qa(
|
|
1429
|
-
n.variant ===
|
|
1428
|
+
qa(x(n.label) + " ", 1),
|
|
1429
|
+
n.variant === ee(V2).SOLID_ICON && n.iconName ? (p(), D(pe, {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
name: n.iconName,
|
|
1432
1432
|
class: "ao-tag__icon",
|
|
@@ -1463,10 +1463,10 @@ const Ba = {
|
|
|
1463
1463
|
this_week: "this_week",
|
|
1464
1464
|
today: "today",
|
|
1465
1465
|
done: "done"
|
|
1466
|
-
},
|
|
1466
|
+
}, x2 = {
|
|
1467
1467
|
BEFORE: "before",
|
|
1468
1468
|
AFTER: "after"
|
|
1469
|
-
},
|
|
1469
|
+
}, Y2 = {
|
|
1470
1470
|
START: "start",
|
|
1471
1471
|
end: "end"
|
|
1472
1472
|
}, K2 = {
|
|
@@ -2639,9 +2639,9 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
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
|
|
2642
|
-
}, Y0 = {
|
|
2643
|
-
any: [/^b/i, /^(a|c)/i]
|
|
2644
2642
|
}, x0 = {
|
|
2643
|
+
any: [/^b/i, /^(a|c)/i]
|
|
2644
|
+
}, Y0 = {
|
|
2645
2645
|
narrow: /^[1234]/i,
|
|
2646
2646
|
abbreviated: /^q[1234]/i,
|
|
2647
2647
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
@@ -2687,11 +2687,11 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
2687
2687
|
era: ta({
|
|
2688
2688
|
matchPatterns: q0,
|
|
2689
2689
|
defaultMatchWidth: "wide",
|
|
2690
|
-
parsePatterns:
|
|
2690
|
+
parsePatterns: x0,
|
|
2691
2691
|
defaultParseWidth: "any"
|
|
2692
2692
|
}),
|
|
2693
2693
|
quarter: ta({
|
|
2694
|
-
matchPatterns:
|
|
2694
|
+
matchPatterns: Y0,
|
|
2695
2695
|
defaultMatchWidth: "wide",
|
|
2696
2696
|
parsePatterns: K0,
|
|
2697
2697
|
defaultParseWidth: "any",
|
|
@@ -2736,45 +2736,45 @@ var o3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, i3 = /P+p+|P+|
|
|
|
2736
2736
|
function Zn(t, e, a) {
|
|
2737
2737
|
var s, n, i, o, l, r, d, u, c, v, h, w, _, g, $, b, m, I;
|
|
2738
2738
|
_e(2, arguments);
|
|
2739
|
-
var P = String(e), A = ga(),
|
|
2740
|
-
if (!(
|
|
2739
|
+
var P = String(e), A = ga(), B = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : A.locale) !== null && s !== void 0 ? s : Fn, R = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : A.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = A.locale) === null || c === void 0 || (v = c.options) === null || v === void 0 ? void 0 : v.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
|
|
2740
|
+
if (!(R >= 1 && R <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
|
-
var
|
|
2743
|
-
if (!(
|
|
2742
|
+
var W = Je((h = (w = (_ = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (b = $.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && _ !== void 0 ? _ : A.weekStartsOn) !== null && w !== void 0 ? w : (m = A.locale) === null || m === void 0 || (I = m.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2743
|
+
if (!(W >= 0 && W <= 6))
|
|
2744
2744
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2745
|
-
if (!
|
|
2745
|
+
if (!B.localize)
|
|
2746
2746
|
throw new RangeError("locale must contain localize property");
|
|
2747
|
-
if (!
|
|
2747
|
+
if (!B.formatLong)
|
|
2748
2748
|
throw new RangeError("locale must contain formatLong property");
|
|
2749
|
-
var
|
|
2750
|
-
if (!Rn(
|
|
2749
|
+
var K = ke(t);
|
|
2750
|
+
if (!Rn(K))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
|
-
var te = ua(
|
|
2753
|
-
firstWeekContainsDate:
|
|
2754
|
-
weekStartsOn:
|
|
2755
|
-
locale:
|
|
2756
|
-
_originalDate:
|
|
2757
|
-
},
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
var L = m0[
|
|
2761
|
-
return L(se,
|
|
2752
|
+
var te = ua(K), N = ws(K, te), G = {
|
|
2753
|
+
firstWeekContainsDate: R,
|
|
2754
|
+
weekStartsOn: W,
|
|
2755
|
+
locale: B,
|
|
2756
|
+
_originalDate: K
|
|
2757
|
+
}, ie = P.match(i3).map(function(se) {
|
|
2758
|
+
var Q = se[0];
|
|
2759
|
+
if (Q === "p" || Q === "P") {
|
|
2760
|
+
var L = m0[Q];
|
|
2761
|
+
return L(se, B.formatLong);
|
|
2762
2762
|
}
|
|
2763
2763
|
return se;
|
|
2764
2764
|
}).join("").match(o3).map(function(se) {
|
|
2765
2765
|
if (se === "''")
|
|
2766
2766
|
return "'";
|
|
2767
|
-
var
|
|
2768
|
-
if (
|
|
2767
|
+
var Q = se[0];
|
|
2768
|
+
if (Q === "'")
|
|
2769
2769
|
return c3(se);
|
|
2770
|
-
var L = v0[
|
|
2770
|
+
var L = v0[Q];
|
|
2771
2771
|
if (L)
|
|
2772
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) && mn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && _0(se) && mn(se, e, String(t)), L(N, se,
|
|
2773
|
-
if (
|
|
2774
|
-
throw new RangeError("Format string contains an unescaped latin alphabet character `" +
|
|
2772
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) && mn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && _0(se) && mn(se, e, String(t)), L(N, se, B.localize, G);
|
|
2773
|
+
if (Q.match(u3))
|
|
2774
|
+
throw new RangeError("Format string contains an unescaped latin alphabet character `" + Q + "`");
|
|
2775
2775
|
return se;
|
|
2776
2776
|
}).join("");
|
|
2777
|
-
return
|
|
2777
|
+
return ie;
|
|
2778
2778
|
}
|
|
2779
2779
|
function c3(t) {
|
|
2780
2780
|
var e = t.match(l3);
|
|
@@ -2918,10 +2918,10 @@ function S3(t, e, a) {
|
|
|
2918
2918
|
function A3(t, e) {
|
|
2919
2919
|
return e >= 0 && e <= 59;
|
|
2920
2920
|
}
|
|
2921
|
-
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, zn = {}, sa = {}, Ca = {}, Kt = {},
|
|
2922
|
-
Object.defineProperty(
|
|
2923
|
-
|
|
2924
|
-
|
|
2921
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, zn = {}, sa = {}, Ca = {}, Kt = {}, Ya = {};
|
|
2922
|
+
Object.defineProperty(Ya, "__esModule", { value: !0 });
|
|
2923
|
+
Ya.lexoHelper = void 0;
|
|
2924
|
+
Ya.lexoHelper = {
|
|
2925
2925
|
arrayCopy: M3
|
|
2926
2926
|
};
|
|
2927
2927
|
function M3(t, e, a, s, n) {
|
|
@@ -2958,7 +2958,7 @@ class T3 {
|
|
|
2958
2958
|
_a.default = T3;
|
|
2959
2959
|
Object.defineProperty(Kt, "__esModule", { value: !0 });
|
|
2960
2960
|
Kt.LexoInteger = void 0;
|
|
2961
|
-
const Ia =
|
|
2961
|
+
const Ia = Ya, O3 = _a;
|
|
2962
2962
|
class oe {
|
|
2963
2963
|
constructor(e, a, s) {
|
|
2964
2964
|
this.sys = e, this.sign = a, this.mag = s;
|
|
@@ -3270,7 +3270,7 @@ function qn() {
|
|
|
3270
3270
|
if (gn)
|
|
3271
3271
|
return La;
|
|
3272
3272
|
gn = 1, Object.defineProperty(La, "__esModule", { value: !0 });
|
|
3273
|
-
const t = Kt, e =
|
|
3273
|
+
const t = Kt, e = Yn();
|
|
3274
3274
|
class a {
|
|
3275
3275
|
constructor(n) {
|
|
3276
3276
|
this.value = t.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3323,8 +3323,8 @@ function qn() {
|
|
|
3323
3323
|
}
|
|
3324
3324
|
return La.default = a, La;
|
|
3325
3325
|
}
|
|
3326
|
-
var Ps = {},
|
|
3327
|
-
Object.defineProperty(
|
|
3326
|
+
var Ps = {}, xn = {};
|
|
3327
|
+
Object.defineProperty(xn, "__esModule", { value: !0 });
|
|
3328
3328
|
var Ka = {};
|
|
3329
3329
|
Object.defineProperty(Ka, "__esModule", { value: !0 });
|
|
3330
3330
|
Ka.LexoNumeralSystem10 = void 0;
|
|
@@ -3432,10 +3432,10 @@ Xa.LexoNumeralSystem64 = P3;
|
|
|
3432
3432
|
for (var i in s)
|
|
3433
3433
|
i !== "default" && !Object.prototype.hasOwnProperty.call(n, i) && e(n, s, i);
|
|
3434
3434
|
};
|
|
3435
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3435
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(xn, t), a(Ka, t), a(Ga, t), a(Xa, t);
|
|
3436
3436
|
})(Ps);
|
|
3437
3437
|
var Cn;
|
|
3438
|
-
function
|
|
3438
|
+
function Yn() {
|
|
3439
3439
|
if (Cn)
|
|
3440
3440
|
return sa;
|
|
3441
3441
|
Cn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.LexoRank = void 0;
|
|
@@ -3625,7 +3625,7 @@ function xn() {
|
|
|
3625
3625
|
for (var i in s)
|
|
3626
3626
|
i !== "default" && !Object.prototype.hasOwnProperty.call(n, i) && e(n, s, i);
|
|
3627
3627
|
};
|
|
3628
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3628
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(qn(), t), a(Ca, t), a(Kt, t);
|
|
3629
3629
|
})(zn);
|
|
3630
3630
|
(function(t) {
|
|
3631
3631
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, i, o) {
|
|
@@ -3725,13 +3725,13 @@ function N3(t, e = 0.15) {
|
|
|
3725
3725
|
const U3 = ["title"], F3 = {
|
|
3726
3726
|
key: 0,
|
|
3727
3727
|
className: "ao-avatar__initials"
|
|
3728
|
-
}, Z3 = ["src"], et = /* @__PURE__ */
|
|
3728
|
+
}, Z3 = ["src"], et = /* @__PURE__ */ Y({
|
|
3729
3729
|
__name: "AoAvatar",
|
|
3730
3730
|
props: {
|
|
3731
3731
|
userName: {},
|
|
3732
3732
|
avatarUrl: {},
|
|
3733
3733
|
isClosable: { type: Boolean },
|
|
3734
|
-
size: { default:
|
|
3734
|
+
size: { default: xa.MD },
|
|
3735
3735
|
color: { default: "primary" }
|
|
3736
3736
|
},
|
|
3737
3737
|
emits: ["close"],
|
|
@@ -3744,10 +3744,10 @@ const U3 = ["title"], F3 = {
|
|
|
3744
3744
|
};
|
|
3745
3745
|
return (o, l) => (p(), C("div", {
|
|
3746
3746
|
role: "img",
|
|
3747
|
-
class:
|
|
3747
|
+
class: J(s.value),
|
|
3748
3748
|
title: o.userName
|
|
3749
3749
|
}, [
|
|
3750
|
-
o.avatarUrl ? E("", !0) : (p(), C("span", F3,
|
|
3750
|
+
o.avatarUrl ? E("", !0) : (p(), C("span", F3, x(ee(n)), 1)),
|
|
3751
3751
|
o.avatarUrl ? (p(), C("img", {
|
|
3752
3752
|
key: 1,
|
|
3753
3753
|
className: "ao-avatar__image",
|
|
@@ -3764,7 +3764,7 @@ const U3 = ["title"], F3 = {
|
|
|
3764
3764
|
], 10, U3));
|
|
3765
3765
|
}
|
|
3766
3766
|
});
|
|
3767
|
-
const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-template__subitem" }, q3 = { class: "ao-card-template__subitem-number" },
|
|
3767
|
+
const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-template__subitem" }, q3 = { class: "ao-card-template__subitem-number" }, x3 = { class: "ao-card-template__subitem" }, Y3 = { class: "ao-card-template__subitem" }, K3 = { class: "ao-card-template__body" }, G3 = { class: "ao-card-template__col ao-card-template__col--phases" }, X3 = { class: "ao-card-template__col-title" }, Q3 = { class: "ao-card-template__col-label" }, J3 = {
|
|
3768
3768
|
key: 0,
|
|
3769
3769
|
class: "ao-card-template__col-body ao-card-template__phases-list"
|
|
3770
3770
|
}, e5 = { class: "ao-card-template__footer" }, t5 = {
|
|
@@ -3773,7 +3773,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3773
3773
|
}, a5 = { class: "ao-card-template__col-title" }, s5 = { class: "ao-card-template__col-label" }, n5 = { class: "ao-card-template__col-body" }, o5 = {
|
|
3774
3774
|
key: 1,
|
|
3775
3775
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
3776
|
-
}, i5 = { class: "ao-card-template__col-title" }, l5 = { class: "ao-card-template__col-label" }, r5 = { class: "ao-card-template__col-body" }, u5 = { class: "ao-card-template-item__secondary" }, _s = 5, c5 = /* @__PURE__ */
|
|
3776
|
+
}, i5 = { class: "ao-card-template__col-title" }, l5 = { class: "ao-card-template__col-label" }, r5 = { class: "ao-card-template__col-body" }, u5 = { class: "ao-card-template-item__secondary" }, _s = 5, c5 = /* @__PURE__ */ Y({
|
|
3777
3777
|
__name: "AoCardTemplate",
|
|
3778
3778
|
props: {
|
|
3779
3779
|
id: {},
|
|
@@ -3807,14 +3807,14 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3807
3807
|
name: "MountainFlagOutlineRounded",
|
|
3808
3808
|
size: "sm"
|
|
3809
3809
|
}),
|
|
3810
|
-
f("span", q3,
|
|
3810
|
+
f("span", q3, x(l.milestones), 1)
|
|
3811
3811
|
]),
|
|
3812
|
-
f("li",
|
|
3812
|
+
f("li", x3, [
|
|
3813
3813
|
T(pe, {
|
|
3814
3814
|
name: "TaskOutlineRounded",
|
|
3815
3815
|
size: "sm"
|
|
3816
3816
|
}),
|
|
3817
|
-
f("span",
|
|
3817
|
+
f("span", Y3, x(l.activities), 1)
|
|
3818
3818
|
])
|
|
3819
3819
|
])
|
|
3820
3820
|
]),
|
|
@@ -3826,7 +3826,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3826
3826
|
name: "WaterfallChartRounded",
|
|
3827
3827
|
size: "sm"
|
|
3828
3828
|
}),
|
|
3829
|
-
f("span", Q3,
|
|
3829
|
+
f("span", Q3, x(l.$t("template.phases.title")), 1)
|
|
3830
3830
|
]),
|
|
3831
3831
|
l.phases ? (p(), C("ul", J3, [
|
|
3832
3832
|
(p(!0), C(fe, null, Ce(i.value, (d) => (p(), D(ra, {
|
|
@@ -3864,15 +3864,15 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3864
3864
|
f("div", e5, [
|
|
3865
3865
|
l.updatedAt ? (p(), C("div", t5, [
|
|
3866
3866
|
f("div", a5, [
|
|
3867
|
-
f("span", s5,
|
|
3867
|
+
f("span", s5, x(l.$t("template.updatedAt.label")), 1)
|
|
3868
3868
|
]),
|
|
3869
3869
|
f("div", n5, [
|
|
3870
|
-
f("span", null,
|
|
3870
|
+
f("span", null, x(l.updatedAt), 1)
|
|
3871
3871
|
])
|
|
3872
3872
|
])) : E("", !0),
|
|
3873
3873
|
l.updatedBy ? (p(), C("div", o5, [
|
|
3874
3874
|
f("div", i5, [
|
|
3875
|
-
f("span", l5,
|
|
3875
|
+
f("span", l5, x(l.$t("template.updatedBy.label")), 1)
|
|
3876
3876
|
]),
|
|
3877
3877
|
f("div", r5, [
|
|
3878
3878
|
T(et, { "user-name": l.updatedBy }, null, 8, ["user-name"])
|
|
@@ -3888,7 +3888,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3888
3888
|
const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v5 = {
|
|
3889
3889
|
key: 0,
|
|
3890
3890
|
class: "ao-page-header-secondary"
|
|
3891
|
-
}, ba = /* @__PURE__ */
|
|
3891
|
+
}, ba = /* @__PURE__ */ Y({
|
|
3892
3892
|
__name: "AoPageHeader",
|
|
3893
3893
|
props: {
|
|
3894
3894
|
canGoBack: { type: Boolean }
|
|
@@ -3914,7 +3914,7 @@ const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v
|
|
|
3914
3914
|
const f5 = ["type"], h5 = {
|
|
3915
3915
|
key: 0,
|
|
3916
3916
|
class: "ao-button-card__label"
|
|
3917
|
-
}, Ct = /* @__PURE__ */
|
|
3917
|
+
}, Ct = /* @__PURE__ */ Y({
|
|
3918
3918
|
__name: "AoButtonCard",
|
|
3919
3919
|
props: {
|
|
3920
3920
|
label: { default: () => "" },
|
|
@@ -3922,7 +3922,7 @@ const f5 = ["type"], h5 = {
|
|
|
3922
3922
|
iconPosition: {},
|
|
3923
3923
|
type: { default: () => "button" },
|
|
3924
3924
|
color: { default: () => Ls.BLACK },
|
|
3925
|
-
size: { default: () =>
|
|
3925
|
+
size: { default: () => xa.MD },
|
|
3926
3926
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3927
3927
|
corners: { default: () => Pn.ROUNDED }
|
|
3928
3928
|
},
|
|
@@ -3930,7 +3930,7 @@ const f5 = ["type"], h5 = {
|
|
|
3930
3930
|
const e = t, a = M(() => e.size), s = M(() => e.isLoading ? "Loading" : e.iconName);
|
|
3931
3931
|
return (n, i) => (p(), C("button", {
|
|
3932
3932
|
type: n.type,
|
|
3933
|
-
class:
|
|
3933
|
+
class: J([
|
|
3934
3934
|
"ao-button-card",
|
|
3935
3935
|
`ao-button-card--${n.color}`,
|
|
3936
3936
|
`ao-button-card--${n.corners}`,
|
|
@@ -3938,7 +3938,7 @@ const f5 = ["type"], h5 = {
|
|
|
3938
3938
|
])
|
|
3939
3939
|
}, [
|
|
3940
3940
|
ae(n.$slots, "default", {}, () => [
|
|
3941
|
-
n.label ? (p(), C("span", h5,
|
|
3941
|
+
n.label ? (p(), C("span", h5, x(n.label), 1)) : E("", !0)
|
|
3942
3942
|
]),
|
|
3943
3943
|
s.value ? (p(), D(pe, {
|
|
3944
3944
|
key: 0,
|
|
@@ -3952,7 +3952,7 @@ const f5 = ["type"], h5 = {
|
|
|
3952
3952
|
const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
3953
3953
|
key: 0,
|
|
3954
3954
|
class: "ao-card-template-item__subitem"
|
|
3955
|
-
}, C5 = { class: "ao-card-template-item__subitem-number" }, _5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */
|
|
3955
|
+
}, C5 = { class: "ao-card-template-item__subitem-number" }, _5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */ Y({
|
|
3956
3956
|
__name: "AoCardTemplateItem",
|
|
3957
3957
|
props: {
|
|
3958
3958
|
milestones: {},
|
|
@@ -3981,7 +3981,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
|
3981
3981
|
name: n[r],
|
|
3982
3982
|
size: "sm"
|
|
3983
3983
|
}, null, 8, ["name"]),
|
|
3984
|
-
f("span", C5,
|
|
3984
|
+
f("span", C5, x(o.$props[r]), 1)
|
|
3985
3985
|
])) : E("", !0)
|
|
3986
3986
|
], 64))), 64))
|
|
3987
3987
|
])
|
|
@@ -4001,7 +4001,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
|
4001
4001
|
}));
|
|
4002
4002
|
}
|
|
4003
4003
|
});
|
|
4004
|
-
const y5 = /* @__PURE__ */
|
|
4004
|
+
const y5 = /* @__PURE__ */ Y({
|
|
4005
4005
|
__name: "AoCardTemplateItemPhase",
|
|
4006
4006
|
props: {
|
|
4007
4007
|
id: {},
|
|
@@ -4025,7 +4025,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4025
4025
|
_: 3
|
|
4026
4026
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
4027
4027
|
}
|
|
4028
|
-
}), b5 = /* @__PURE__ */
|
|
4028
|
+
}), b5 = /* @__PURE__ */ Y({
|
|
4029
4029
|
__name: "AoCardTemplateItemMilestone",
|
|
4030
4030
|
props: {
|
|
4031
4031
|
activities: {}
|
|
@@ -4042,7 +4042,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4042
4042
|
_: 3
|
|
4043
4043
|
}, 8, ["activities"]));
|
|
4044
4044
|
}
|
|
4045
|
-
}), w5 = { class: "ao-list__footer" }, $5 = /* @__PURE__ */
|
|
4045
|
+
}), w5 = { class: "ao-list__footer" }, $5 = /* @__PURE__ */ Y({
|
|
4046
4046
|
__name: "AoTemplateDetailsMilestones",
|
|
4047
4047
|
props: {
|
|
4048
4048
|
templateId: {},
|
|
@@ -4066,7 +4066,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4066
4066
|
});
|
|
4067
4067
|
}
|
|
4068
4068
|
};
|
|
4069
|
-
return (l, r) => l.phase ? (p(), D(
|
|
4069
|
+
return (l, r) => l.phase ? (p(), D(ee(gt), {
|
|
4070
4070
|
key: 0,
|
|
4071
4071
|
"model-value": l.phase.milestones,
|
|
4072
4072
|
class: "ao-templates__list",
|
|
@@ -4111,7 +4111,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4111
4111
|
_: 1
|
|
4112
4112
|
}, 8, ["model-value", "title"])) : E("", !0);
|
|
4113
4113
|
}
|
|
4114
|
-
}), k5 = /* @__PURE__ */
|
|
4114
|
+
}), k5 = /* @__PURE__ */ Y({
|
|
4115
4115
|
__name: "AoCardTemplateItemActivity",
|
|
4116
4116
|
props: {
|
|
4117
4117
|
name: {},
|
|
@@ -4129,7 +4129,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4129
4129
|
_: 3
|
|
4130
4130
|
}, 8, ["tasks"]));
|
|
4131
4131
|
}
|
|
4132
|
-
}), S5 = { class: "ao-list__footer" }, A5 = /* @__PURE__ */
|
|
4132
|
+
}), S5 = { class: "ao-list__footer" }, A5 = /* @__PURE__ */ Y({
|
|
4133
4133
|
__name: "AoTemplateDetailsActivities",
|
|
4134
4134
|
props: {
|
|
4135
4135
|
templateId: {},
|
|
@@ -4156,7 +4156,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4156
4156
|
});
|
|
4157
4157
|
}
|
|
4158
4158
|
};
|
|
4159
|
-
return (l, r) => l.milestone ? (p(), D(
|
|
4159
|
+
return (l, r) => l.milestone ? (p(), D(ee(gt), {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
"model-value": l.milestone.activities,
|
|
4162
4162
|
title: l.$t("template.activities.title"),
|
|
@@ -4203,7 +4203,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4203
4203
|
}, O5 = { class: "ao-modal__header-meta" }, E5 = { class: "ao-modal__title-group" }, I5 = { class: "ao-modal__body" }, L5 = {
|
|
4204
4204
|
key: 1,
|
|
4205
4205
|
class: "ao-modal__footer"
|
|
4206
|
-
}, Ja = /* @__PURE__ */
|
|
4206
|
+
}, Ja = /* @__PURE__ */ Y({
|
|
4207
4207
|
__name: "AoModal",
|
|
4208
4208
|
props: {
|
|
4209
4209
|
size: { default: "md" }
|
|
@@ -4211,7 +4211,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4211
4211
|
emits: ["close"],
|
|
4212
4212
|
setup(t) {
|
|
4213
4213
|
return (e, a) => (p(), C("div", {
|
|
4214
|
-
class:
|
|
4214
|
+
class: J(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
|
|
4215
4215
|
}, [
|
|
4216
4216
|
f("div", {
|
|
4217
4217
|
class: "ao-modal__backdrop",
|
|
@@ -4515,45 +4515,45 @@ const Z5 = function(t) {
|
|
|
4515
4515
|
return {};
|
|
4516
4516
|
const $ = Zt(n), b = Zt(l) === l, m = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), I = v || (b || !_ ? [Fa(l)] : B5(l));
|
|
4517
4517
|
!v && w !== "none" && I.push(...j5(l, _, w, m));
|
|
4518
|
-
const P = [l, ...I], A = await Jn(e, g),
|
|
4519
|
-
let
|
|
4520
|
-
if (u &&
|
|
4518
|
+
const P = [l, ...I], A = await Jn(e, g), B = [];
|
|
4519
|
+
let R = ((s = i.flip) == null ? void 0 : s.overflows) || [];
|
|
4520
|
+
if (u && B.push(A[$]), c) {
|
|
4521
4521
|
const N = D5(n, o, m);
|
|
4522
|
-
|
|
4522
|
+
B.push(A[N[0]], A[N[1]]);
|
|
4523
4523
|
}
|
|
4524
|
-
if (
|
|
4524
|
+
if (R = [...R, {
|
|
4525
4525
|
placement: n,
|
|
4526
|
-
overflows:
|
|
4527
|
-
}], !
|
|
4528
|
-
var
|
|
4529
|
-
const N = (((
|
|
4530
|
-
if (
|
|
4526
|
+
overflows: B
|
|
4527
|
+
}], !B.every((N) => N <= 0)) {
|
|
4528
|
+
var W, K;
|
|
4529
|
+
const N = (((W = i.flip) == null ? void 0 : W.index) || 0) + 1, G = P[N];
|
|
4530
|
+
if (G)
|
|
4531
4531
|
return {
|
|
4532
4532
|
data: {
|
|
4533
4533
|
index: N,
|
|
4534
|
-
overflows:
|
|
4534
|
+
overflows: R
|
|
4535
4535
|
},
|
|
4536
4536
|
reset: {
|
|
4537
|
-
placement:
|
|
4537
|
+
placement: G
|
|
4538
4538
|
}
|
|
4539
4539
|
};
|
|
4540
|
-
let
|
|
4541
|
-
if (!
|
|
4540
|
+
let ie = (K = R.filter((se) => se.overflows[0] <= 0).sort((se, Q) => se.overflows[1] - Q.overflows[1])[0]) == null ? void 0 : K.placement;
|
|
4541
|
+
if (!ie)
|
|
4542
4542
|
switch (h) {
|
|
4543
4543
|
case "bestFit": {
|
|
4544
4544
|
var te;
|
|
4545
|
-
const se = (te =
|
|
4546
|
-
se && (
|
|
4545
|
+
const se = (te = R.map((Q) => [Q.placement, Q.overflows.filter((L) => L > 0).reduce((L, O) => L + O, 0)]).sort((Q, L) => Q[1] - L[1])[0]) == null ? void 0 : te[0];
|
|
4546
|
+
se && (ie = se);
|
|
4547
4547
|
break;
|
|
4548
4548
|
}
|
|
4549
4549
|
case "initialPlacement":
|
|
4550
|
-
|
|
4550
|
+
ie = l;
|
|
4551
4551
|
break;
|
|
4552
4552
|
}
|
|
4553
|
-
if (n !==
|
|
4553
|
+
if (n !== ie)
|
|
4554
4554
|
return {
|
|
4555
4555
|
reset: {
|
|
4556
|
-
placement:
|
|
4556
|
+
placement: ie
|
|
4557
4557
|
}
|
|
4558
4558
|
};
|
|
4559
4559
|
}
|
|
@@ -4590,8 +4590,8 @@ const Z5 = function(t) {
|
|
|
4590
4590
|
m = u || b ? da(g, A) : A;
|
|
4591
4591
|
}
|
|
4592
4592
|
if (b && !u) {
|
|
4593
|
-
const A = He(r.left, 0),
|
|
4594
|
-
c ? I = v - 2 * (A !== 0 ||
|
|
4593
|
+
const A = He(r.left, 0), B = He(r.right, 0), R = He(r.top, 0), W = He(r.bottom, 0);
|
|
4594
|
+
c ? I = v - 2 * (A !== 0 || B !== 0 ? A + B : He(r.left, r.right)) : m = h - 2 * (R !== 0 || W !== 0 ? R + W : He(r.top, r.bottom));
|
|
4595
4595
|
}
|
|
4596
4596
|
await o({
|
|
4597
4597
|
...e,
|
|
@@ -4723,15 +4723,15 @@ function Nt(t) {
|
|
|
4723
4723
|
y: l
|
|
4724
4724
|
};
|
|
4725
4725
|
}
|
|
4726
|
-
const
|
|
4726
|
+
const x5 = /* @__PURE__ */ vt(0);
|
|
4727
4727
|
function so(t) {
|
|
4728
4728
|
const e = Te(t);
|
|
4729
|
-
return !js() || !e.visualViewport ?
|
|
4729
|
+
return !js() || !e.visualViewport ? x5 : {
|
|
4730
4730
|
x: e.visualViewport.offsetLeft,
|
|
4731
4731
|
y: e.visualViewport.offsetTop
|
|
4732
4732
|
};
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function Y5(t, e, a) {
|
|
4735
4735
|
return e === void 0 && (e = !1), !a || e && a !== Te(t) ? !1 : e;
|
|
4736
4736
|
}
|
|
4737
4737
|
function Ot(t, e, a, s) {
|
|
@@ -4739,7 +4739,7 @@ function Ot(t, e, a, s) {
|
|
|
4739
4739
|
const n = t.getBoundingClientRect(), i = Ns(t);
|
|
4740
4740
|
let o = vt(1);
|
|
4741
4741
|
e && (s ? tt(s) && (o = Nt(s)) : o = Nt(t));
|
|
4742
|
-
const l =
|
|
4742
|
+
const l = Y5(i, a, s) ? so(i) : vt(0);
|
|
4743
4743
|
let r = (n.left + l.x) / o.x, d = (n.top + l.y) / o.y, u = n.width / o.x, c = n.height / o.y;
|
|
4744
4744
|
if (i) {
|
|
4745
4745
|
const v = Te(i), h = s && tt(s) ? Te(s) : s;
|
|
@@ -5035,7 +5035,7 @@ const u7 = (t, e, a) => {
|
|
|
5035
5035
|
}, c7 = (t) => {
|
|
5036
5036
|
const e = q(!1), a = q(), s = q(), n = q(0);
|
|
5037
5037
|
function i() {
|
|
5038
|
-
const c =
|
|
5038
|
+
const c = ee(t.appendTo);
|
|
5039
5039
|
return c ? typeof c == "string" ? document.getElementById(c) ?? document.body : c : document.getElementById("floatingElements") ?? document.body;
|
|
5040
5040
|
}
|
|
5041
5041
|
const o = i(), l = q(() => {
|
|
@@ -5196,25 +5196,25 @@ function g7(t, e, a) {
|
|
|
5196
5196
|
clearOnSearch: I,
|
|
5197
5197
|
clearOnSelect: P,
|
|
5198
5198
|
valueProp: A,
|
|
5199
|
-
allowAbsent:
|
|
5200
|
-
groupLabel:
|
|
5201
|
-
canDeselect:
|
|
5202
|
-
max:
|
|
5199
|
+
allowAbsent: B,
|
|
5200
|
+
groupLabel: R,
|
|
5201
|
+
canDeselect: W,
|
|
5202
|
+
max: K,
|
|
5203
5203
|
strict: te,
|
|
5204
5204
|
closeOnSelect: N,
|
|
5205
|
-
closeOnDeselect:
|
|
5206
|
-
groups:
|
|
5205
|
+
closeOnDeselect: G,
|
|
5206
|
+
groups: ie,
|
|
5207
5207
|
reverse: se,
|
|
5208
|
-
infinite:
|
|
5208
|
+
infinite: Q,
|
|
5209
5209
|
groupOptions: L,
|
|
5210
5210
|
groupHideEmpty: O,
|
|
5211
5211
|
groupSelect: k,
|
|
5212
5212
|
onCreate: U,
|
|
5213
5213
|
disabledProp: y,
|
|
5214
5214
|
searchStart: V,
|
|
5215
|
-
searchFilter:
|
|
5216
|
-
} = Ee(t), ne = Lt().proxy,
|
|
5217
|
-
if (
|
|
5215
|
+
searchFilter: le
|
|
5216
|
+
} = Ee(t), ne = Lt().proxy, z = a.iv, H = a.ev, X = a.search, he = a.clearSearch, Se = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, rs = a.deactivate, ot = a.close, ka = a.localize, it = q([]), Ue = q([]), Ie = q(!1), je = q(null), Ye = q(Q.value && o.value === -1 ? 10 : o.value), Qt = M(() => r.value || d.value || !1), Sa = M(() => c.value !== void 0 ? c.value : v.value !== void 0 ? v.value : !0), Le = M(() => {
|
|
5217
|
+
if (ie.value) {
|
|
5218
5218
|
let S = bt.value || /* istanbul ignore next */
|
|
5219
5219
|
[], j = [];
|
|
5220
5220
|
return S.forEach((ue) => {
|
|
@@ -5232,26 +5232,26 @@ function g7(t, e, a) {
|
|
|
5232
5232
|
return se.value && (S = S.reverse()), Pt.value.length && (S = Pt.value.concat(S)), fs(S);
|
|
5233
5233
|
}), lt = M(() => {
|
|
5234
5234
|
let S = Jt.value;
|
|
5235
|
-
return
|
|
5235
|
+
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5236
5236
|
}), bt = M(() => {
|
|
5237
|
-
if (!
|
|
5237
|
+
if (!ie.value)
|
|
5238
5238
|
return [];
|
|
5239
5239
|
let S = [], j = Ue.value || /* istanbul ignore next */
|
|
5240
5240
|
[];
|
|
5241
5241
|
return it.value.length && S.push({
|
|
5242
|
-
[
|
|
5242
|
+
[R.value]: " ",
|
|
5243
5243
|
[L.value]: [...it.value],
|
|
5244
5244
|
__CREATE__: !0
|
|
5245
5245
|
}), S.concat(j);
|
|
5246
5246
|
}), Aa = M(() => {
|
|
5247
5247
|
let S = [...bt.value].map((j) => ({ ...j }));
|
|
5248
5248
|
return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][L.value] = [...Pt.value, ...S[0][L.value]] : S = [{
|
|
5249
|
-
[
|
|
5249
|
+
[R.value]: " ",
|
|
5250
5250
|
[L.value]: [...Pt.value],
|
|
5251
5251
|
__CREATE__: !0
|
|
5252
5252
|
}].concat(S)), S;
|
|
5253
5253
|
}), us = M(() => {
|
|
5254
|
-
if (!
|
|
5254
|
+
if (!ie.value)
|
|
5255
5255
|
return [];
|
|
5256
5256
|
let S = Aa.value;
|
|
5257
5257
|
return Po((S || /* istanbul ignore next */
|
|
@@ -5268,15 +5268,15 @@ function g7(t, e, a) {
|
|
|
5268
5268
|
}), cs = M(() => {
|
|
5269
5269
|
switch (n.value) {
|
|
5270
5270
|
case "single":
|
|
5271
|
-
return !Fe(
|
|
5271
|
+
return !Fe(z.value[A.value]);
|
|
5272
5272
|
case "multiple":
|
|
5273
5273
|
case "tags":
|
|
5274
|
-
return !Fe(
|
|
5274
|
+
return !Fe(z.value) && z.value.length > 0;
|
|
5275
5275
|
}
|
|
5276
|
-
}), _o = M(() => h !== void 0 && h.value !== void 0 ? h.value(
|
|
5277
|
-
[A.value]:
|
|
5278
|
-
[wt.value[0]]:
|
|
5279
|
-
[u.value]:
|
|
5276
|
+
}), _o = M(() => h !== void 0 && h.value !== void 0 ? h.value(z.value, ne) : z.value && z.value.length > 1 ? `${z.value.length} options selected` : "1 option selected"), yo = M(() => !Le.value.length && !Ie.value && !Pt.value.length), bo = M(() => Le.value.length > 0 && lt.value.length == 0 && (X.value && ie.value || !ie.value)), Pt = M(() => Qt.value === !1 || !X.value ? [] : Eo(X.value) !== -1 ? [] : [{
|
|
5277
|
+
[A.value]: X.value,
|
|
5278
|
+
[wt.value[0]]: X.value,
|
|
5279
|
+
[u.value]: X.value,
|
|
5280
5280
|
__CREATE__: !0
|
|
5281
5281
|
}]), wt = M(() => i.value ? Array.isArray(i.value) ? i.value : [i.value] : [u.value]), wo = M(() => {
|
|
5282
5282
|
switch (n.value) {
|
|
@@ -5293,7 +5293,7 @@ function g7(t, e, a) {
|
|
|
5293
5293
|
break;
|
|
5294
5294
|
case "multiple":
|
|
5295
5295
|
case "tags":
|
|
5296
|
-
Se(
|
|
5296
|
+
Se(z.value.concat(S));
|
|
5297
5297
|
break;
|
|
5298
5298
|
}
|
|
5299
5299
|
e.emit("select", nn(S), S, ne);
|
|
@@ -5304,7 +5304,7 @@ function g7(t, e, a) {
|
|
|
5304
5304
|
break;
|
|
5305
5305
|
case "tags":
|
|
5306
5306
|
case "multiple":
|
|
5307
|
-
Se(Array.isArray(S) ?
|
|
5307
|
+
Se(Array.isArray(S) ? z.value.filter((j) => S.map((ue) => ue[A.value]).indexOf(j[A.value]) === -1) : z.value.filter((j) => j[A.value] != S[A.value]));
|
|
5308
5308
|
break;
|
|
5309
5309
|
}
|
|
5310
5310
|
e.emit("deselect", nn(S), S, ne);
|
|
@@ -5323,12 +5323,12 @@ function g7(t, e, a) {
|
|
|
5323
5323
|
return n.value === "single" ? !1 : Oo(S[L.value]) && S[L.value].length;
|
|
5324
5324
|
switch (n.value) {
|
|
5325
5325
|
case "single":
|
|
5326
|
-
return !Fe(
|
|
5326
|
+
return !Fe(z.value) && z.value[A.value] == S[A.value];
|
|
5327
5327
|
case "tags":
|
|
5328
5328
|
case "multiple":
|
|
5329
|
-
return !Fe(
|
|
5329
|
+
return !Fe(z.value) && z.value.map((j) => j[A.value]).indexOf(S[A.value]) !== -1;
|
|
5330
5330
|
}
|
|
5331
|
-
}, ds = (S) => S[y.value] === !0, ps = () =>
|
|
5331
|
+
}, ds = (S) => S[y.value] === !0, ps = () => K === void 0 || K.value === -1 || !cs.value && K.value > 0 ? !1 : z.value.length >= K.value, So = (S) => {
|
|
5332
5332
|
if (!ds(S)) {
|
|
5333
5333
|
if (U && U.value && !Ke(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = U.value(S, ne), S instanceof Promise)) {
|
|
5334
5334
|
Ie.value = !0, S.then((j) => {
|
|
@@ -5342,14 +5342,14 @@ function g7(t, e, a) {
|
|
|
5342
5342
|
switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
|
|
5343
5343
|
case "single":
|
|
5344
5344
|
if (S && Ke(S)) {
|
|
5345
|
-
|
|
5345
|
+
W.value && Vt(S), G.value && (nt(), ot());
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
5348
|
S && vs(S), P.value && he(), N.value && (nt(), ot()), S && Ht(S);
|
|
5349
5349
|
break;
|
|
5350
5350
|
case "multiple":
|
|
5351
5351
|
if (S && Ke(S)) {
|
|
5352
|
-
Vt(S),
|
|
5352
|
+
Vt(S), G.value && (nt(), ot());
|
|
5353
5353
|
return;
|
|
5354
5354
|
}
|
|
5355
5355
|
if (ps()) {
|
|
@@ -5360,7 +5360,7 @@ function g7(t, e, a) {
|
|
|
5360
5360
|
break;
|
|
5361
5361
|
case "tags":
|
|
5362
5362
|
if (S && Ke(S)) {
|
|
5363
|
-
Vt(S),
|
|
5363
|
+
Vt(S), G.value && (nt(), ot());
|
|
5364
5364
|
return;
|
|
5365
5365
|
}
|
|
5366
5366
|
if (ps()) {
|
|
@@ -5377,7 +5377,7 @@ function g7(t, e, a) {
|
|
|
5377
5377
|
case "multiple":
|
|
5378
5378
|
case "tags":
|
|
5379
5379
|
To(S[L.value]) ? Vt(S[L.value]) : Ht(
|
|
5380
|
-
S[L.value].filter((j) =>
|
|
5380
|
+
S[L.value].filter((j) => z.value.map((ue) => ue[A.value]).indexOf(j[A.value]) === -1).filter((j) => !j[y.value]).filter((j, ue) => z.value.length + 1 + ue <= K.value || K.value === -1)
|
|
5381
5381
|
), l.value && Gt.value && Xt(us.value.filter((j) => !j[y.value])[Gt.value.index]);
|
|
5382
5382
|
break;
|
|
5383
5383
|
}
|
|
@@ -5390,15 +5390,15 @@ function g7(t, e, a) {
|
|
|
5390
5390
|
}, To = (S) => S.find((j) => !Ke(j) && !j[y.value]) === void 0, Oo = (S) => S.find((j) => !Ke(j)) === void 0, Ge = (S) => Le.value[Le.value.map((j) => String(j[A.value])).indexOf(String(S))], Eo = (S) => Le.value.findIndex((j) => wt.value.some((ue) => (parseInt(j[ue]) == j[ue] ? parseInt(j[ue]) : j[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Io = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ke(S), Lo = (S) => {
|
|
5391
5391
|
it.value.push(S);
|
|
5392
5392
|
}, Po = (S) => O.value ? S.filter(
|
|
5393
|
-
(j) =>
|
|
5394
|
-
) : S.filter((j) =>
|
|
5393
|
+
(j) => X.value ? j.__VISIBLE__.length : j[L.value].length
|
|
5394
|
+
) : S.filter((j) => X.value ? j.__VISIBLE__.length : !0), fs = (S, j = !0) => {
|
|
5395
5395
|
let ue = S;
|
|
5396
|
-
if (
|
|
5397
|
-
let ge =
|
|
5396
|
+
if (X.value && m.value) {
|
|
5397
|
+
let ge = le.value;
|
|
5398
5398
|
ge || (ge = ($t, cn, Q4) => wt.value.some((Vo) => {
|
|
5399
5399
|
let dn = ys(ka($t[Vo]), te.value);
|
|
5400
5400
|
return V.value ? dn.startsWith(ys(cn, te.value)) : dn.indexOf(ys(cn, te.value)) !== -1;
|
|
5401
|
-
})), ue = ue.filter(($t) => ge($t,
|
|
5401
|
+
})), ue = ue.filter(($t) => ge($t, X.value, ne));
|
|
5402
5402
|
}
|
|
5403
5403
|
return l.value && j && (ue = ue.filter((ge) => !Io(ge))), ue;
|
|
5404
5404
|
}, hs = (S) => {
|
|
@@ -5408,9 +5408,9 @@ function g7(t, e, a) {
|
|
|
5408
5408
|
return { [A.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
|
|
5409
5409
|
})), j = j.map((ue) => typeof ue == "object" ? ue : { [A.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), j;
|
|
5410
5410
|
}, Ma = () => {
|
|
5411
|
-
Fe(H.value) || (
|
|
5411
|
+
Fe(H.value) || (z.value = Oa(H.value));
|
|
5412
5412
|
}, Ta = (S) => (Ie.value = !0, new Promise((j, ue) => {
|
|
5413
|
-
s.value(
|
|
5413
|
+
s.value(X.value, ne).then((ge) => {
|
|
5414
5414
|
Ue.value = ge || [], typeof S == "function" && S(ge), Ie.value = !1;
|
|
5415
5415
|
}).catch((ge) => {
|
|
5416
5416
|
console.error(ge), Ue.value = [], Ie.value = !1;
|
|
@@ -5420,34 +5420,34 @@ function g7(t, e, a) {
|
|
|
5420
5420
|
})), ms = () => {
|
|
5421
5421
|
if (cs.value)
|
|
5422
5422
|
if (n.value === "single") {
|
|
5423
|
-
let S = Ge(
|
|
5423
|
+
let S = Ge(z.value[A.value]);
|
|
5424
5424
|
if (S !== void 0) {
|
|
5425
5425
|
let j = S[u.value];
|
|
5426
|
-
|
|
5426
|
+
z.value[u.value] = j, w.value && (H.value[u.value] = j);
|
|
5427
5427
|
}
|
|
5428
5428
|
} else
|
|
5429
|
-
|
|
5430
|
-
let ue = Ge(
|
|
5429
|
+
z.value.forEach((S, j) => {
|
|
5430
|
+
let ue = Ge(z.value[j][A.value]);
|
|
5431
5431
|
if (ue !== void 0) {
|
|
5432
5432
|
let ge = ue[u.value];
|
|
5433
|
-
|
|
5433
|
+
z.value[j][u.value] = ge, w.value && (H.value[j][u.value] = ge);
|
|
5434
5434
|
}
|
|
5435
5435
|
});
|
|
5436
5436
|
}, Ho = (S) => {
|
|
5437
5437
|
Ta(S);
|
|
5438
|
-
}, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ge(S) || (
|
|
5438
|
+
}, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ge(S) || (B.value ? {
|
|
5439
5439
|
[u.value]: S,
|
|
5440
5440
|
[A.value]: S,
|
|
5441
5441
|
[wt.value[0]]: S
|
|
5442
|
-
} : {}) : S.filter((j) => !!Ge(j) ||
|
|
5442
|
+
} : {}) : S.filter((j) => !!Ge(j) || B.value).map((j) => Ge(j) || {
|
|
5443
5443
|
[u.value]: j,
|
|
5444
5444
|
[A.value]: j,
|
|
5445
5445
|
[wt.value[0]]: j
|
|
5446
5446
|
}), un = () => {
|
|
5447
|
-
je.value = ce(
|
|
5447
|
+
je.value = ce(X, (S) => {
|
|
5448
5448
|
S.length < b.value || !S && b.value !== 0 || (Ie.value = !0, I.value && (Ue.value = []), setTimeout(() => {
|
|
5449
|
-
S ==
|
|
5450
|
-
(S ==
|
|
5449
|
+
S == X.value && s.value(X.value, ne).then((j) => {
|
|
5450
|
+
(S == X.value || !X.value) && (Ue.value = j, Gt.value = lt.value.filter((ue) => ue[y.value] !== !0)[0] || null, Ie.value = !1);
|
|
5451
5451
|
}).catch(
|
|
5452
5452
|
/* istanbul ignore next */
|
|
5453
5453
|
(j) => {
|
|
@@ -5468,17 +5468,17 @@ function g7(t, e, a) {
|
|
|
5468
5468
|
}
|
|
5469
5469
|
switch (n.value) {
|
|
5470
5470
|
case "single":
|
|
5471
|
-
(w.value ? S[A.value] !=
|
|
5471
|
+
(w.value ? S[A.value] != z.value[A.value] : S != z.value[A.value]) && Se(Oa(S), !1);
|
|
5472
5472
|
break;
|
|
5473
5473
|
case "multiple":
|
|
5474
5474
|
case "tags":
|
|
5475
|
-
m7(w.value ? S.map((j) => j[A.value]) : S,
|
|
5475
|
+
m7(w.value ? S.map((j) => j[A.value]) : S, z.value.map((j) => j[A.value])) || Se(Oa(S), !1);
|
|
5476
5476
|
break;
|
|
5477
5477
|
}
|
|
5478
5478
|
}, { deep: !0 }), ce(s, (S, j) => {
|
|
5479
|
-
typeof t.options == "function" ? $.value && (!j || S && S.toString() !== j.toString()) && Ta() : (Ue.value = t.options, Object.keys(
|
|
5479
|
+
typeof t.options == "function" ? $.value && (!j || S && S.toString() !== j.toString()) && Ta() : (Ue.value = t.options, Object.keys(z.value).length || Ma(), ms());
|
|
5480
5480
|
}), ce(u, ms), ce(o, (S, j) => {
|
|
5481
|
-
|
|
5481
|
+
Ye.value = Q.value && S === -1 ? 10 : S;
|
|
5482
5482
|
}), {
|
|
5483
5483
|
pfo: Jt,
|
|
5484
5484
|
fo: lt,
|
|
@@ -5495,7 +5495,7 @@ function g7(t, e, a) {
|
|
|
5495
5495
|
noResults: bo,
|
|
5496
5496
|
resolving: Ie,
|
|
5497
5497
|
busy: $o,
|
|
5498
|
-
offset:
|
|
5498
|
+
offset: Ye,
|
|
5499
5499
|
select: Ht,
|
|
5500
5500
|
deselect: Vt,
|
|
5501
5501
|
remove: on,
|
|
@@ -5524,82 +5524,82 @@ function C7(t, e, a) {
|
|
|
5524
5524
|
groupSelect: d,
|
|
5525
5525
|
disabledProp: u,
|
|
5526
5526
|
groupOptions: c
|
|
5527
|
-
} = Ee(t), v = a.fo, h = a.fg, w = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, b = a.setPointer, m = a.clearPointer, I = a.multiselect, P = a.isOpen, A = M(() => v.value.filter((H) => !H[u.value])),
|
|
5528
|
-
const H =
|
|
5527
|
+
} = Ee(t), v = a.fo, h = a.fg, w = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, b = a.setPointer, m = a.clearPointer, I = a.multiselect, P = a.isOpen, A = M(() => v.value.filter((H) => !H[u.value])), B = M(() => h.value.filter((H) => !H[u.value])), R = M(() => r.value !== "single" && d.value), W = M(() => $.value && $.value.group), K = M(() => ne($.value)), te = M(() => {
|
|
5528
|
+
const H = W.value ? $.value : (
|
|
5529
5529
|
/* istanbul ignore next */
|
|
5530
5530
|
ne($.value)
|
|
5531
|
-
),
|
|
5532
|
-
let he =
|
|
5533
|
-
return he === void 0 && (he =
|
|
5531
|
+
), X = B.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
|
|
5532
|
+
let he = B.value[X - 1];
|
|
5533
|
+
return he === void 0 && (he = G.value), he;
|
|
5534
5534
|
}), N = M(() => {
|
|
5535
|
-
let H =
|
|
5536
|
-
return
|
|
5537
|
-
}),
|
|
5538
|
-
const H =
|
|
5539
|
-
return H[H.map((
|
|
5540
|
-
}),
|
|
5541
|
-
const H = ne($.value).__VISIBLE__.filter((
|
|
5542
|
-
return H[H.map((
|
|
5543
|
-
}), L = M(() => [...te.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), O = M(() => [...
|
|
5535
|
+
let H = B.value.map((X) => X.label).indexOf(W.value ? $.value[o.value] : ne($.value)[o.value]) + 1;
|
|
5536
|
+
return B.value.length <= H && (H = 0), B.value[H];
|
|
5537
|
+
}), G = M(() => [...B.value].slice(-1)[0]), ie = M(() => $.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = M(() => {
|
|
5538
|
+
const H = K.value.__VISIBLE__.filter((X) => !X[u.value]);
|
|
5539
|
+
return H[H.map((X) => X[s.value]).indexOf($.value[s.value]) - 1];
|
|
5540
|
+
}), Q = M(() => {
|
|
5541
|
+
const H = ne($.value).__VISIBLE__.filter((X) => !X[u.value]);
|
|
5542
|
+
return H[H.map((X) => X[s.value]).indexOf($.value[s.value]) + 1];
|
|
5543
|
+
}), L = M(() => [...te.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), O = M(() => [...G.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), k = (H) => $.value && (!H.group && $.value[s.value] === H[s.value] || H.group !== void 0 && $.value[o.value] === H[o.value]) ? !0 : void 0, U = () => {
|
|
5544
5544
|
b(A.value[0] || null);
|
|
5545
5545
|
}, y = () => {
|
|
5546
|
-
!$.value || $.value[u.value] === !0 || (
|
|
5546
|
+
!$.value || $.value[u.value] === !0 || (W.value ? _($.value) : w($.value));
|
|
5547
5547
|
}, V = () => {
|
|
5548
5548
|
if ($.value === null)
|
|
5549
|
-
b((l.value &&
|
|
5550
|
-
else if (l.value &&
|
|
5551
|
-
let H =
|
|
5549
|
+
b((l.value && R.value ? B.value[0].__CREATE__ ? A.value[0] : B.value[0] : A.value[0]) || null);
|
|
5550
|
+
else if (l.value && R.value) {
|
|
5551
|
+
let H = W.value ? ie.value : Q.value;
|
|
5552
5552
|
H === void 0 && (H = N.value, H.__CREATE__ && (H = H[c.value][0])), b(H || /* istanbul ignore next */
|
|
5553
5553
|
null);
|
|
5554
5554
|
} else {
|
|
5555
|
-
let H = A.value.map((
|
|
5555
|
+
let H = A.value.map((X) => X[s.value]).indexOf($.value[s.value]) + 1;
|
|
5556
5556
|
A.value.length <= H && (H = 0), b(A.value[H] || null);
|
|
5557
5557
|
}
|
|
5558
5558
|
$e(() => {
|
|
5559
|
-
|
|
5559
|
+
z();
|
|
5560
5560
|
});
|
|
5561
|
-
},
|
|
5561
|
+
}, le = () => {
|
|
5562
5562
|
if ($.value === null) {
|
|
5563
5563
|
let H = A.value[A.value.length - 1];
|
|
5564
|
-
l.value &&
|
|
5565
|
-
} else if (l.value &&
|
|
5566
|
-
let H =
|
|
5567
|
-
H === void 0 && (H =
|
|
5564
|
+
l.value && R.value && (H = O.value, H === void 0 && (H = G.value)), b(H || null);
|
|
5565
|
+
} else if (l.value && R.value) {
|
|
5566
|
+
let H = W.value ? L.value : se.value;
|
|
5567
|
+
H === void 0 && (H = W.value ? te.value : K.value, H.__CREATE__ && (H = L.value, H === void 0 && (H = te.value))), b(H || /* istanbul ignore next */
|
|
5568
5568
|
null);
|
|
5569
5569
|
} else {
|
|
5570
|
-
let H = A.value.map((
|
|
5570
|
+
let H = A.value.map((X) => X[s.value]).indexOf($.value[s.value]) - 1;
|
|
5571
5571
|
H < 0 && (H = A.value.length - 1), b(A.value[H] || null);
|
|
5572
5572
|
}
|
|
5573
5573
|
$e(() => {
|
|
5574
|
-
|
|
5574
|
+
z();
|
|
5575
5575
|
});
|
|
5576
|
-
}, ne = (H) =>
|
|
5576
|
+
}, ne = (H) => B.value.find((X) => X.__VISIBLE__.map((he) => he[s.value]).indexOf(H[s.value]) !== -1), z = () => {
|
|
5577
5577
|
let H = I.value.querySelector("[data-pointed]");
|
|
5578
5578
|
if (!H)
|
|
5579
5579
|
return;
|
|
5580
|
-
let
|
|
5581
|
-
l.value && (
|
|
5580
|
+
let X = H.parentElement.parentElement;
|
|
5581
|
+
l.value && (X = W.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > X.clientHeight + X.scrollTop && (X.scrollTop = H.offsetTop + H.offsetHeight - X.clientHeight), H.offsetTop < X.scrollTop && (X.scrollTop = H.offsetTop);
|
|
5582
5582
|
};
|
|
5583
5583
|
return ce(g, (H) => {
|
|
5584
5584
|
i.value && (H.length && n.value ? U() : m());
|
|
5585
5585
|
}), ce(P, (H) => {
|
|
5586
5586
|
if (H) {
|
|
5587
|
-
let
|
|
5588
|
-
if (!
|
|
5587
|
+
let X = I.value.querySelectorAll("[data-selected]")[0];
|
|
5588
|
+
if (!X)
|
|
5589
5589
|
return;
|
|
5590
|
-
let he =
|
|
5590
|
+
let he = X.parentElement.parentElement;
|
|
5591
5591
|
$e(() => {
|
|
5592
|
-
he.scrollTop > 0 || (he.scrollTop =
|
|
5592
|
+
he.scrollTop > 0 || (he.scrollTop = X.offsetTop);
|
|
5593
5593
|
});
|
|
5594
5594
|
}
|
|
5595
5595
|
}), {
|
|
5596
5596
|
pointer: $,
|
|
5597
|
-
canPointGroups:
|
|
5597
|
+
canPointGroups: R,
|
|
5598
5598
|
isPointed: k,
|
|
5599
5599
|
setPointerFirst: U,
|
|
5600
5600
|
selectPointer: y,
|
|
5601
5601
|
forwardPointer: V,
|
|
5602
|
-
backwardPointer:
|
|
5602
|
+
backwardPointer: le
|
|
5603
5603
|
};
|
|
5604
5604
|
}
|
|
5605
5605
|
function Oe(t) {
|
|
@@ -5768,10 +5768,10 @@ function ns(t) {
|
|
|
5768
5768
|
a = $n(a);
|
|
5769
5769
|
return a && (qe(a) === "html" || qe(a) === "body" && at(a).position === "static") ? e : a || k7(t) || e;
|
|
5770
5770
|
}
|
|
5771
|
-
var Ne = "top",
|
|
5772
|
-
return t.concat([e + "-" +
|
|
5771
|
+
var Ne = "top", xe = "bottom", ht = "right", Xe = "left", zs = "auto", os = [Ne, xe, ht, Xe], xt = "start", va = "end", S7 = "clippingParents", co = "viewport", oa = "popper", A7 = "reference", kn = /* @__PURE__ */ os.reduce(function(t, e) {
|
|
5772
|
+
return t.concat([e + "-" + xt, e + "-" + va]);
|
|
5773
5773
|
}, []), M7 = /* @__PURE__ */ [].concat(os, [zs]).reduce(function(t, e) {
|
|
5774
|
-
return t.concat([e, e + "-" +
|
|
5774
|
+
return t.concat([e, e + "-" + xt, e + "-" + va]);
|
|
5775
5775
|
}, []), T7 = "beforeRead", O7 = "read", E7 = "afterRead", I7 = "beforeMain", L7 = "main", P7 = "afterMain", H7 = "beforeWrite", V7 = "write", D7 = "afterWrite", B7 = [T7, O7, E7, I7, L7, P7, H7, V7, D7];
|
|
5776
5776
|
function R7(t) {
|
|
5777
5777
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
@@ -5880,7 +5880,7 @@ function q7(t) {
|
|
|
5880
5880
|
return Et(n) && W7(n, s) && qe(n) !== "body";
|
|
5881
5881
|
}) : [];
|
|
5882
5882
|
}
|
|
5883
|
-
function
|
|
5883
|
+
function x7(t, e, a, s) {
|
|
5884
5884
|
var n = e === "clippingParents" ? q7(t) : [].concat(e), i = [].concat(n, [a]), o = i[0], l = i.reduce(function(r, d) {
|
|
5885
5885
|
var u = Sn(t, d, s);
|
|
5886
5886
|
return r.top = At(u.top, r.top), r.right = Wa(u.right, r.right), r.bottom = Wa(u.bottom, r.bottom), r.left = At(u.left, r.left), r;
|
|
@@ -5890,14 +5890,14 @@ function Y7(t, e, a, s) {
|
|
|
5890
5890
|
function dt(t) {
|
|
5891
5891
|
return t.split("-")[0];
|
|
5892
5892
|
}
|
|
5893
|
-
function
|
|
5893
|
+
function Yt(t) {
|
|
5894
5894
|
return t.split("-")[1];
|
|
5895
5895
|
}
|
|
5896
5896
|
function po(t) {
|
|
5897
5897
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5898
5898
|
}
|
|
5899
5899
|
function vo(t) {
|
|
5900
|
-
var e = t.reference, a = t.element, s = t.placement, n = s ? dt(s) : null, i = s ?
|
|
5900
|
+
var e = t.reference, a = t.element, s = t.placement, n = s ? dt(s) : null, i = s ? Yt(s) : null, o = e.x + e.width / 2 - a.width / 2, l = e.y + e.height / 2 - a.height / 2, r;
|
|
5901
5901
|
switch (n) {
|
|
5902
5902
|
case Ne:
|
|
5903
5903
|
r = {
|
|
@@ -5905,7 +5905,7 @@ function vo(t) {
|
|
|
5905
5905
|
y: e.y - a.height
|
|
5906
5906
|
};
|
|
5907
5907
|
break;
|
|
5908
|
-
case
|
|
5908
|
+
case xe:
|
|
5909
5909
|
r = {
|
|
5910
5910
|
x: o,
|
|
5911
5911
|
y: e.y + e.height
|
|
@@ -5933,7 +5933,7 @@ function vo(t) {
|
|
|
5933
5933
|
if (d != null) {
|
|
5934
5934
|
var u = d === "y" ? "height" : "width";
|
|
5935
5935
|
switch (i) {
|
|
5936
|
-
case
|
|
5936
|
+
case xt:
|
|
5937
5937
|
r[d] = r[d] - (e[u] / 2 - a[u] / 2);
|
|
5938
5938
|
break;
|
|
5939
5939
|
case va:
|
|
@@ -5951,7 +5951,7 @@ function fo() {
|
|
|
5951
5951
|
left: 0
|
|
5952
5952
|
};
|
|
5953
5953
|
}
|
|
5954
|
-
function
|
|
5954
|
+
function Y7(t) {
|
|
5955
5955
|
return Object.assign({}, fo(), t);
|
|
5956
5956
|
}
|
|
5957
5957
|
function K7(t, e) {
|
|
@@ -5961,25 +5961,25 @@ function K7(t, e) {
|
|
|
5961
5961
|
}
|
|
5962
5962
|
function qs(t, e) {
|
|
5963
5963
|
e === void 0 && (e = {});
|
|
5964
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, i = a.strategy, o = i === void 0 ? t.strategy : i, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ? co : d, c = a.elementContext, v = c === void 0 ? oa : c, h = a.altBoundary, w = h === void 0 ? !1 : h, _ = a.padding, g = _ === void 0 ? 0 : _, $ =
|
|
5964
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, i = a.strategy, o = i === void 0 ? t.strategy : i, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ? co : d, c = a.elementContext, v = c === void 0 ? oa : c, h = a.altBoundary, w = h === void 0 ? !1 : h, _ = a.padding, g = _ === void 0 ? 0 : _, $ = Y7(typeof g != "number" ? g : K7(g, os)), b = v === oa ? A7 : oa, m = t.rects.popper, I = t.elements[w ? b : v], P = x7(Et(I) ? I : I.contextElement || _t(t.elements.popper), r, u, o), A = qt(t.elements.reference), B = vo({
|
|
5965
5965
|
reference: A,
|
|
5966
5966
|
element: m,
|
|
5967
5967
|
strategy: "absolute",
|
|
5968
5968
|
placement: n
|
|
5969
|
-
}),
|
|
5970
|
-
top: P.top -
|
|
5971
|
-
bottom:
|
|
5972
|
-
left: P.left -
|
|
5973
|
-
right:
|
|
5969
|
+
}), R = Ss(Object.assign({}, m, B)), W = v === oa ? R : A, K = {
|
|
5970
|
+
top: P.top - W.top + $.top,
|
|
5971
|
+
bottom: W.bottom - P.bottom + $.bottom,
|
|
5972
|
+
left: P.left - W.left + $.left,
|
|
5973
|
+
right: W.right - P.right + $.right
|
|
5974
5974
|
}, te = t.modifiersData.offset;
|
|
5975
5975
|
if (v === oa && te) {
|
|
5976
5976
|
var N = te[n];
|
|
5977
|
-
Object.keys(
|
|
5978
|
-
var
|
|
5979
|
-
G
|
|
5977
|
+
Object.keys(K).forEach(function(G) {
|
|
5978
|
+
var ie = [ht, xe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, xe].indexOf(G) >= 0 ? "y" : "x";
|
|
5979
|
+
K[G] += N[se] * ie;
|
|
5980
5980
|
});
|
|
5981
5981
|
}
|
|
5982
|
-
return
|
|
5982
|
+
return K;
|
|
5983
5983
|
}
|
|
5984
5984
|
var An = {
|
|
5985
5985
|
placement: "bottom",
|
|
@@ -6034,19 +6034,19 @@ function G7(t) {
|
|
|
6034
6034
|
u.rects = {
|
|
6035
6035
|
reference: w7(b, ns(m), u.options.strategy === "fixed"),
|
|
6036
6036
|
popper: ro(m)
|
|
6037
|
-
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(
|
|
6038
|
-
return u.modifiersData[
|
|
6037
|
+
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(K) {
|
|
6038
|
+
return u.modifiersData[K.name] = Object.assign({}, K.data);
|
|
6039
6039
|
});
|
|
6040
6040
|
for (var I = 0; I < u.orderedModifiers.length; I++) {
|
|
6041
6041
|
if (u.reset === !0) {
|
|
6042
6042
|
u.reset = !1, I = -1;
|
|
6043
6043
|
continue;
|
|
6044
6044
|
}
|
|
6045
|
-
var P = u.orderedModifiers[I], A = P.fn,
|
|
6045
|
+
var P = u.orderedModifiers[I], A = P.fn, B = P.options, R = B === void 0 ? {} : B, W = P.name;
|
|
6046
6046
|
typeof A == "function" && (u = A({
|
|
6047
6047
|
state: u,
|
|
6048
|
-
options:
|
|
6049
|
-
name:
|
|
6048
|
+
options: R,
|
|
6049
|
+
name: W,
|
|
6050
6050
|
instance: h
|
|
6051
6051
|
}) || u);
|
|
6052
6052
|
}
|
|
@@ -6153,22 +6153,22 @@ function Tn(t) {
|
|
|
6153
6153
|
h = g.x, _ = g.y;
|
|
6154
6154
|
var $ = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), m = Xe, I = Ne, P = window;
|
|
6155
6155
|
if (d) {
|
|
6156
|
-
var A = ns(a),
|
|
6157
|
-
if (A === Oe(a) && (A = _t(a), at(A).position !== "static" && l === "absolute" && (
|
|
6158
|
-
I =
|
|
6159
|
-
var
|
|
6156
|
+
var A = ns(a), B = "clientHeight", R = "clientWidth";
|
|
6157
|
+
if (A === Oe(a) && (A = _t(a), at(A).position !== "static" && l === "absolute" && (B = "scrollHeight", R = "scrollWidth")), A = A, n === Ne || (n === Xe || n === ht) && i === va) {
|
|
6158
|
+
I = xe;
|
|
6159
|
+
var W = c && A === P && P.visualViewport ? P.visualViewport.height : (
|
|
6160
6160
|
// $FlowFixMe[prop-missing]
|
|
6161
|
-
A[
|
|
6161
|
+
A[B]
|
|
6162
6162
|
);
|
|
6163
|
-
_ -=
|
|
6163
|
+
_ -= W - s.height, _ *= r ? 1 : -1;
|
|
6164
6164
|
}
|
|
6165
|
-
if (n === Xe || (n === Ne || n ===
|
|
6165
|
+
if (n === Xe || (n === Ne || n === xe) && i === va) {
|
|
6166
6166
|
m = ht;
|
|
6167
|
-
var
|
|
6167
|
+
var K = c && A === P && P.visualViewport ? P.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
6169
|
-
A[
|
|
6169
|
+
A[R]
|
|
6170
6170
|
);
|
|
6171
|
-
h -=
|
|
6171
|
+
h -= K - s.width, h *= r ? 1 : -1;
|
|
6172
6172
|
}
|
|
6173
6173
|
}
|
|
6174
6174
|
var te = Object.assign({
|
|
@@ -6181,15 +6181,15 @@ function Tn(t) {
|
|
|
6181
6181
|
y: _
|
|
6182
6182
|
};
|
|
6183
6183
|
if (h = N.x, _ = N.y, r) {
|
|
6184
|
-
var
|
|
6185
|
-
return Object.assign({}, te, (
|
|
6184
|
+
var G;
|
|
6185
|
+
return Object.assign({}, te, (G = {}, G[I] = b ? "0" : "", G[m] = $ ? "0" : "", G.transform = (P.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + _ + "px)" : "translate3d(" + h + "px, " + _ + "px, 0)", G));
|
|
6186
6186
|
}
|
|
6187
6187
|
return Object.assign({}, te, (e = {}, e[I] = b ? _ + "px" : "", e[m] = $ ? h + "px" : "", e.transform = "", e));
|
|
6188
6188
|
}
|
|
6189
6189
|
function sp(t) {
|
|
6190
6190
|
var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, i = a.adaptive, o = i === void 0 ? !0 : i, l = a.roundOffsets, r = l === void 0 ? !0 : l, d = {
|
|
6191
6191
|
placement: dt(e.placement),
|
|
6192
|
-
variation:
|
|
6192
|
+
variation: Yt(e.placement),
|
|
6193
6193
|
popper: e.elements.popper,
|
|
6194
6194
|
popperRect: e.rects.popper,
|
|
6195
6195
|
gpuAcceleration: n,
|
|
@@ -6276,28 +6276,28 @@ function pp(t) {
|
|
|
6276
6276
|
rootBoundary: d,
|
|
6277
6277
|
padding: c,
|
|
6278
6278
|
altBoundary: u
|
|
6279
|
-
}), $ = dt(e.placement), b =
|
|
6279
|
+
}), $ = dt(e.placement), b = Yt(e.placement), m = !b, I = po($), P = cp(I), A = e.modifiersData.popperOffsets, B = e.rects.reference, R = e.rects.popper, W = typeof _ == "function" ? _(Object.assign({}, e.rects, {
|
|
6280
6280
|
placement: e.placement
|
|
6281
|
-
})) : _,
|
|
6282
|
-
mainAxis:
|
|
6283
|
-
altAxis:
|
|
6281
|
+
})) : _, K = typeof W == "number" ? {
|
|
6282
|
+
mainAxis: W,
|
|
6283
|
+
altAxis: W
|
|
6284
6284
|
} : Object.assign({
|
|
6285
6285
|
mainAxis: 0,
|
|
6286
6286
|
altAxis: 0
|
|
6287
|
-
},
|
|
6287
|
+
}, W), te = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, N = {
|
|
6288
6288
|
x: 0,
|
|
6289
6289
|
y: 0
|
|
6290
6290
|
};
|
|
6291
6291
|
if (A) {
|
|
6292
6292
|
if (i) {
|
|
6293
|
-
var
|
|
6293
|
+
var G, ie = I === "y" ? Ne : Xe, se = I === "y" ? xe : ht, Q = I === "y" ? "height" : "width", L = A[I], O = L + g[ie], k = L - g[se], U = h ? -R[Q] / 2 : 0, y = b === xt ? B[Q] : R[Q], V = b === xt ? -R[Q] : -B[Q], le = e.elements.arrow, ne = h && le ? ro(le) : {
|
|
6294
6294
|
width: 0,
|
|
6295
6295
|
height: 0
|
|
6296
|
-
},
|
|
6296
|
+
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fo(), H = z[ie], X = z[se], he = Va(0, B[Q], ne[Q]), Se = m ? B[Q] / 2 - U - he - H - K.mainAxis : y - he - H - K.mainAxis, Gt = m ? -B[Q] / 2 + U + he + X + K.mainAxis : V + he + X + K.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), nt = Xt ? I === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = te == null ? void 0 : te[I]) != null ? G : 0, rs = L + Se - $a - nt, ot = L + Gt - $a, ka = Va(h ? Wa(O, rs) : O, L, h ? At(k, ot) : k);
|
|
6297
6297
|
A[I] = ka, N[I] = ka - L;
|
|
6298
6298
|
}
|
|
6299
6299
|
if (l) {
|
|
6300
|
-
var it, Ue = I === "x" ? Ne : Xe, Ie = I === "x" ?
|
|
6300
|
+
var it, Ue = I === "x" ? Ne : Xe, Ie = I === "x" ? xe : ht, je = A[P], Ye = P === "y" ? "height" : "width", Qt = je + g[Ue], Sa = je - g[Ie], Le = [Ne, Xe].indexOf($) !== -1, Jt = (it = te == null ? void 0 : te[P]) != null ? it : 0, lt = Le ? Qt : je - B[Ye] - R[Ye] - Jt + K.altAxis, bt = Le ? je + B[Ye] + R[Ye] - Jt - K.altAxis : Sa, Aa = h && Le ? dp(lt, je, bt) : Va(h ? lt : Qt, je, h ? bt : Sa);
|
|
6301
6301
|
A[P] = Aa, N[P] = Aa - je;
|
|
6302
6302
|
}
|
|
6303
6303
|
e.modifiersData[s] = N;
|
|
@@ -6331,8 +6331,8 @@ function On(t) {
|
|
|
6331
6331
|
}
|
|
6332
6332
|
function mp(t, e) {
|
|
6333
6333
|
e === void 0 && (e = {});
|
|
6334
|
-
var a = e, s = a.placement, n = a.boundary, i = a.rootBoundary, o = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, d = r === void 0 ? M7 : r, u =
|
|
6335
|
-
return
|
|
6334
|
+
var a = e, s = a.placement, n = a.boundary, i = a.rootBoundary, o = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, d = r === void 0 ? M7 : r, u = Yt(s), c = u ? l ? kn : kn.filter(function(w) {
|
|
6335
|
+
return Yt(w) === u;
|
|
6336
6336
|
}) : os, v = c.filter(function(w) {
|
|
6337
6337
|
return d.indexOf(w) >= 0;
|
|
6338
6338
|
});
|
|
@@ -6358,50 +6358,50 @@ function gp(t) {
|
|
|
6358
6358
|
function Cp(t) {
|
|
6359
6359
|
var e = t.state, a = t.options, s = t.name;
|
|
6360
6360
|
if (!e.modifiersData[s]._skip) {
|
|
6361
|
-
for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, v = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, _ = a.allowedAutoPlacements, g = e.options.placement, $ = dt(g), b = $ === g, m = r || (b || !w ? [Da(g)] : gp(g)), I = [g].concat(m).reduce(function(ne,
|
|
6362
|
-
return ne.concat(dt(
|
|
6363
|
-
placement:
|
|
6361
|
+
for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, v = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, _ = a.allowedAutoPlacements, g = e.options.placement, $ = dt(g), b = $ === g, m = r || (b || !w ? [Da(g)] : gp(g)), I = [g].concat(m).reduce(function(ne, z) {
|
|
6362
|
+
return ne.concat(dt(z) === zs ? mp(e, {
|
|
6363
|
+
placement: z,
|
|
6364
6364
|
boundary: u,
|
|
6365
6365
|
rootBoundary: c,
|
|
6366
6366
|
padding: d,
|
|
6367
6367
|
flipVariations: w,
|
|
6368
6368
|
allowedAutoPlacements: _
|
|
6369
|
-
}) :
|
|
6370
|
-
}, []), P = e.rects.reference, A = e.rects.popper,
|
|
6371
|
-
var te = I[
|
|
6369
|
+
}) : z);
|
|
6370
|
+
}, []), P = e.rects.reference, A = e.rects.popper, B = /* @__PURE__ */ new Map(), R = !0, W = I[0], K = 0; K < I.length; K++) {
|
|
6371
|
+
var te = I[K], N = dt(te), G = Yt(te) === xt, ie = [Ne, xe].indexOf(N) >= 0, se = ie ? "width" : "height", Q = qs(e, {
|
|
6372
6372
|
placement: te,
|
|
6373
6373
|
boundary: u,
|
|
6374
6374
|
rootBoundary: c,
|
|
6375
6375
|
altBoundary: v,
|
|
6376
6376
|
padding: d
|
|
6377
|
-
}), L =
|
|
6377
|
+
}), L = ie ? G ? ht : Xe : G ? xe : Ne;
|
|
6378
6378
|
P[se] > A[se] && (L = Da(L));
|
|
6379
6379
|
var O = Da(L), k = [];
|
|
6380
|
-
if (i && k.push(
|
|
6380
|
+
if (i && k.push(Q[N] <= 0), l && k.push(Q[L] <= 0, Q[O] <= 0), k.every(function(ne) {
|
|
6381
6381
|
return ne;
|
|
6382
6382
|
})) {
|
|
6383
|
-
|
|
6383
|
+
W = te, R = !1;
|
|
6384
6384
|
break;
|
|
6385
6385
|
}
|
|
6386
|
-
|
|
6386
|
+
B.set(te, k);
|
|
6387
6387
|
}
|
|
6388
|
-
if (
|
|
6389
|
-
for (var U = w ? 3 : 1, y = function(
|
|
6390
|
-
var H = I.find(function(
|
|
6391
|
-
var he =
|
|
6388
|
+
if (R)
|
|
6389
|
+
for (var U = w ? 3 : 1, y = function(z) {
|
|
6390
|
+
var H = I.find(function(X) {
|
|
6391
|
+
var he = B.get(X);
|
|
6392
6392
|
if (he)
|
|
6393
|
-
return he.slice(0,
|
|
6393
|
+
return he.slice(0, z).every(function(Se) {
|
|
6394
6394
|
return Se;
|
|
6395
6395
|
});
|
|
6396
6396
|
});
|
|
6397
6397
|
if (H)
|
|
6398
|
-
return
|
|
6398
|
+
return W = H, "break";
|
|
6399
6399
|
}, V = U; V > 0; V--) {
|
|
6400
|
-
var
|
|
6401
|
-
if (
|
|
6400
|
+
var le = y(V);
|
|
6401
|
+
if (le === "break")
|
|
6402
6402
|
break;
|
|
6403
6403
|
}
|
|
6404
|
-
e.placement !==
|
|
6404
|
+
e.placement !== W && (e.modifiersData[s]._skip = !0, e.placement = W, e.reset = !0);
|
|
6405
6405
|
}
|
|
6406
6406
|
}
|
|
6407
6407
|
var _p = {
|
|
@@ -6493,8 +6493,8 @@ function bp(t, e, a) {
|
|
|
6493
6493
|
s.value && o.value.blur(), c.value.blur();
|
|
6494
6494
|
}, $ = () => {
|
|
6495
6495
|
s.value && !n.value && o.value.focus();
|
|
6496
|
-
}, b = (
|
|
6497
|
-
n.value || (h.value = !0,
|
|
6496
|
+
}, b = (R = !0) => {
|
|
6497
|
+
n.value || (h.value = !0, R && l());
|
|
6498
6498
|
}, m = () => {
|
|
6499
6499
|
h.value = !1, setTimeout(() => {
|
|
6500
6500
|
h.value || (r(), i.value && d());
|
|
@@ -6508,8 +6508,8 @@ function bp(t, e, a) {
|
|
|
6508
6508
|
focus: $,
|
|
6509
6509
|
activate: b,
|
|
6510
6510
|
deactivate: m,
|
|
6511
|
-
handleFocusIn: (
|
|
6512
|
-
|
|
6511
|
+
handleFocusIn: (R) => {
|
|
6512
|
+
R.target.closest("[data-tags]") && R.target.nodeName !== "INPUT" || R.target.closest("[data-clear]") || b(w.value);
|
|
6513
6513
|
},
|
|
6514
6514
|
handleFocusOut: () => {
|
|
6515
6515
|
m();
|
|
@@ -6517,8 +6517,8 @@ function bp(t, e, a) {
|
|
|
6517
6517
|
handleCaretClick: () => {
|
|
6518
6518
|
m(), g();
|
|
6519
6519
|
},
|
|
6520
|
-
handleMousedown: (
|
|
6521
|
-
w.value = !0, u.value && (
|
|
6520
|
+
handleMousedown: (R) => {
|
|
6521
|
+
w.value = !0, u.value && (R.target.isEqualNode(c.value) || R.target.isEqualNode(v.value)) ? setTimeout(() => {
|
|
6522
6522
|
m();
|
|
6523
6523
|
}, 0) : !u.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(o.value)) && b(), setTimeout(() => {
|
|
6524
6524
|
w.value = !1;
|
|
@@ -6539,48 +6539,48 @@ function wp(t, e, a) {
|
|
|
6539
6539
|
createTag: c,
|
|
6540
6540
|
createOption: v,
|
|
6541
6541
|
reverse: h
|
|
6542
|
-
} = Ee(t), w = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, b = a.search, m = a.setPointer, I = a.selectPointer, P = a.backwardPointer, A = a.forwardPointer,
|
|
6543
|
-
s.value === "tags" && !l.value &&
|
|
6542
|
+
} = Ee(t), w = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, b = a.search, m = a.setPointer, I = a.selectPointer, P = a.backwardPointer, A = a.forwardPointer, B = a.multiselect, R = a.wrapper, W = a.tags, K = a.isOpen, te = a.open, N = a.blur, G = a.fo, ie = M(() => c.value || v.value || !1), se = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), Q = () => {
|
|
6543
|
+
s.value === "tags" && !l.value && ie.value && o.value && !d.value && m(G.value[G.value.map((k) => k[r.value]).indexOf(b.value)]);
|
|
6544
6544
|
};
|
|
6545
6545
|
return {
|
|
6546
6546
|
handleKeydown: (k) => {
|
|
6547
6547
|
e.emit("keydown", k, w);
|
|
6548
6548
|
let U, y;
|
|
6549
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(k.key) !== -1 && s.value === "tags" && (U = [...
|
|
6549
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(k.key) !== -1 && s.value === "tags" && (U = [...B.value.querySelectorAll("[data-tags] > *")].filter((V) => V !== W.value), y = U.findIndex((V) => V === document.activeElement)), k.key) {
|
|
6550
6550
|
case "Backspace":
|
|
6551
6551
|
if (s.value === "single" || o.value && [null, ""].indexOf(b.value) === -1 || _.value.length === 0)
|
|
6552
6552
|
return;
|
|
6553
|
-
let V = _.value.filter((
|
|
6553
|
+
let V = _.value.filter((le) => !le.disabled && le.remove !== !1);
|
|
6554
6554
|
V.length && $(V[V.length - 1]);
|
|
6555
6555
|
break;
|
|
6556
6556
|
case "Enter":
|
|
6557
6557
|
if (k.preventDefault(), k.keyCode === 229)
|
|
6558
6558
|
return;
|
|
6559
6559
|
if (y !== -1 && y !== void 0) {
|
|
6560
|
-
g([..._.value].filter((
|
|
6560
|
+
g([..._.value].filter((le, ne) => ne !== y)), y === U.length - 1 && (U.length - 1 ? U[U.length - 2].focus() : o.value ? W.value.querySelector("input").focus() : R.value.focus());
|
|
6561
6561
|
return;
|
|
6562
6562
|
}
|
|
6563
|
-
if (se.value.indexOf("enter") === -1 &&
|
|
6563
|
+
if (se.value.indexOf("enter") === -1 && ie.value)
|
|
6564
6564
|
return;
|
|
6565
|
-
|
|
6565
|
+
Q(), I();
|
|
6566
6566
|
break;
|
|
6567
6567
|
case " ":
|
|
6568
|
-
if (!
|
|
6569
|
-
k.preventDefault(),
|
|
6568
|
+
if (!ie.value && !o.value) {
|
|
6569
|
+
k.preventDefault(), Q(), I();
|
|
6570
6570
|
return;
|
|
6571
6571
|
}
|
|
6572
|
-
if (!
|
|
6572
|
+
if (!ie.value)
|
|
6573
6573
|
return !1;
|
|
6574
|
-
if (se.value.indexOf("space") === -1 &&
|
|
6574
|
+
if (se.value.indexOf("space") === -1 && ie.value)
|
|
6575
6575
|
return;
|
|
6576
|
-
k.preventDefault(),
|
|
6576
|
+
k.preventDefault(), Q(), I();
|
|
6577
6577
|
break;
|
|
6578
6578
|
case "Tab":
|
|
6579
6579
|
case ";":
|
|
6580
6580
|
case ",":
|
|
6581
|
-
if (se.value.indexOf(k.key.toLowerCase()) === -1 || !
|
|
6581
|
+
if (se.value.indexOf(k.key.toLowerCase()) === -1 || !ie.value)
|
|
6582
6582
|
return;
|
|
6583
|
-
|
|
6583
|
+
Q(), I(), k.preventDefault();
|
|
6584
6584
|
break;
|
|
6585
6585
|
case "Escape":
|
|
6586
6586
|
N();
|
|
@@ -6588,29 +6588,29 @@ function wp(t, e, a) {
|
|
|
6588
6588
|
case "ArrowUp":
|
|
6589
6589
|
if (k.preventDefault(), !l.value)
|
|
6590
6590
|
return;
|
|
6591
|
-
|
|
6591
|
+
K.value || te(), P();
|
|
6592
6592
|
break;
|
|
6593
6593
|
case "ArrowDown":
|
|
6594
6594
|
if (k.preventDefault(), !l.value)
|
|
6595
6595
|
return;
|
|
6596
|
-
|
|
6596
|
+
K.value || te(), A();
|
|
6597
6597
|
break;
|
|
6598
6598
|
case "ArrowLeft":
|
|
6599
|
-
if (o.value &&
|
|
6599
|
+
if (o.value && W.value && W.value.querySelector("input").selectionStart || k.shiftKey || s.value !== "tags" || !_.value || !_.value.length)
|
|
6600
6600
|
return;
|
|
6601
6601
|
k.preventDefault(), y === -1 ? U[U.length - 1].focus() : y > 0 && U[y - 1].focus();
|
|
6602
6602
|
break;
|
|
6603
6603
|
case "ArrowRight":
|
|
6604
6604
|
if (y === -1 || k.shiftKey || s.value !== "tags" || !_.value || !_.value.length)
|
|
6605
6605
|
return;
|
|
6606
|
-
k.preventDefault(), U.length > y + 1 ? U[y + 1].focus() : o.value ?
|
|
6606
|
+
k.preventDefault(), U.length > y + 1 ? U[y + 1].focus() : o.value ? W.value.querySelector("input").focus() : o.value || R.value.focus();
|
|
6607
6607
|
break;
|
|
6608
6608
|
}
|
|
6609
6609
|
},
|
|
6610
6610
|
handleKeyup: (k) => {
|
|
6611
6611
|
e.emit("keyup", k, w);
|
|
6612
6612
|
},
|
|
6613
|
-
preparePointer:
|
|
6613
|
+
preparePointer: Q
|
|
6614
6614
|
};
|
|
6615
6615
|
}
|
|
6616
6616
|
function $p(t, e, a) {
|
|
@@ -6773,22 +6773,22 @@ function Sp(t, e, a) {
|
|
|
6773
6773
|
return N.push(c.value.group ? "multiselect-group" : "multiselect-option"), N.push(c.value.group ? c.value.index : c.value[i.value]), N.join("-");
|
|
6774
6774
|
}), m = M(() => s.value), I = M(() => l.value !== "single"), P = M(() => {
|
|
6775
6775
|
let N = "";
|
|
6776
|
-
return l.value === "single" && h.value && (N += v.value[o.value]), l.value === "multiple" && h.value && (N += w.value), l.value === "tags" && h.value && (N += v.value.map((
|
|
6776
|
+
return l.value === "single" && h.value && (N += v.value[o.value]), l.value === "multiple" && h.value && (N += w.value), l.value === "tags" && h.value && (N += v.value.map((G) => G[o.value]).join(", ")), N;
|
|
6777
6777
|
}), A = M(() => {
|
|
6778
6778
|
let N = { ...d.value };
|
|
6779
6779
|
return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${g.value} ${N["aria-labelledby"]}` : g.value, P.value && N["aria-label"] && (N["aria-label"] = `${P.value}, ${N["aria-label"]}`)), N;
|
|
6780
|
-
}),
|
|
6781
|
-
let
|
|
6782
|
-
return n && n.value &&
|
|
6783
|
-
},
|
|
6784
|
-
let
|
|
6785
|
-
return n && n.value &&
|
|
6786
|
-
},
|
|
6787
|
-
let
|
|
6788
|
-
return
|
|
6789
|
-
},
|
|
6790
|
-
let
|
|
6791
|
-
return
|
|
6780
|
+
}), B = (N) => {
|
|
6781
|
+
let G = [];
|
|
6782
|
+
return n && n.value && G.push(n.value), G.push("multiselect-option"), G.push(N[i.value]), G.join("-");
|
|
6783
|
+
}, R = (N) => {
|
|
6784
|
+
let G = [];
|
|
6785
|
+
return n && n.value && G.push(n.value), G.push("multiselect-group"), G.push(N.index), G.join("-");
|
|
6786
|
+
}, W = (N) => {
|
|
6787
|
+
let G = [];
|
|
6788
|
+
return G.push(N), G.join(" ");
|
|
6789
|
+
}, K = (N) => {
|
|
6790
|
+
let G = [];
|
|
6791
|
+
return G.push(N), G.join(" ");
|
|
6792
6792
|
}, te = (N) => `${N} ❎`;
|
|
6793
6793
|
return It(() => {
|
|
6794
6794
|
if (n && n.value && document && document.querySelector) {
|
|
@@ -6803,10 +6803,10 @@ function Sp(t, e, a) {
|
|
|
6803
6803
|
ariaPlaceholder: m,
|
|
6804
6804
|
ariaMultiselectable: I,
|
|
6805
6805
|
ariaActiveDescendant: b,
|
|
6806
|
-
ariaOptionId:
|
|
6807
|
-
ariaOptionLabel:
|
|
6808
|
-
ariaGroupId:
|
|
6809
|
-
ariaGroupLabel:
|
|
6806
|
+
ariaOptionId: B,
|
|
6807
|
+
ariaOptionLabel: W,
|
|
6808
|
+
ariaGroupId: R,
|
|
6809
|
+
ariaGroupLabel: K,
|
|
6810
6810
|
ariaTagLabel: te
|
|
6811
6811
|
};
|
|
6812
6812
|
}
|
|
@@ -7218,11 +7218,11 @@ var ct = {
|
|
|
7218
7218
|
}));
|
|
7219
7219
|
}
|
|
7220
7220
|
};
|
|
7221
|
-
const Op = ["id", "dir"], Ep = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Ip = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Lp = ["onKeyup", "aria-label"], Pp = ["onClick"], Hp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Vp = ["innerHTML"], Dp = ["id"], Bp = ["id"], Rp = ["id", "aria-label", "aria-selected"], jp = ["data-pointed", "onMouseenter", "onMousedown"], Np = ["innerHTML"], Up = ["aria-label"], Fp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Wp = ["innerHTML"], zp = ["innerHTML"], qp = ["value"],
|
|
7221
|
+
const Op = ["id", "dir"], Ep = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Ip = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Lp = ["onKeyup", "aria-label"], Pp = ["onClick"], Hp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Vp = ["innerHTML"], Dp = ["id"], Bp = ["id"], Rp = ["id", "aria-label", "aria-selected"], jp = ["data-pointed", "onMouseenter", "onMousedown"], Np = ["innerHTML"], Up = ["aria-label"], Fp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Wp = ["innerHTML"], zp = ["innerHTML"], qp = ["value"], xp = ["name", "value"], Yp = ["name", "value"], Kp = ["id"];
|
|
7222
7222
|
function Gp(t, e, a, s, n, i) {
|
|
7223
7223
|
return p(), C("div", {
|
|
7224
7224
|
ref: "multiselect",
|
|
7225
|
-
class:
|
|
7225
|
+
class: J(t.classList.container),
|
|
7226
7226
|
id: a.searchable ? void 0 : a.id,
|
|
7227
7227
|
dir: a.rtl ? "rtl" : void 0,
|
|
7228
7228
|
onFocusin: e[10] || (e[10] = (...o) => t.handleFocusIn && t.handleFocusIn(...o)),
|
|
@@ -7270,7 +7270,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7270
7270
|
"div",
|
|
7271
7271
|
{
|
|
7272
7272
|
key: 1,
|
|
7273
|
-
class:
|
|
7273
|
+
class: J(t.classList.tags),
|
|
7274
7274
|
"data-tags": ""
|
|
7275
7275
|
},
|
|
7276
7276
|
[
|
|
@@ -7283,7 +7283,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7283
7283
|
disabled: a.disabled
|
|
7284
7284
|
}, () => [
|
|
7285
7285
|
(p(), C("span", {
|
|
7286
|
-
class:
|
|
7286
|
+
class: J([
|
|
7287
7287
|
t.classList.tag,
|
|
7288
7288
|
o.disabled ? t.classList.tagDisabled : null
|
|
7289
7289
|
]),
|
|
@@ -7295,21 +7295,21 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7295
7295
|
f(
|
|
7296
7296
|
"span",
|
|
7297
7297
|
{
|
|
7298
|
-
class:
|
|
7298
|
+
class: J(t.classList.tagWrapper)
|
|
7299
7299
|
},
|
|
7300
|
-
|
|
7300
|
+
x(t.localize(o[a.label])),
|
|
7301
7301
|
3
|
|
7302
7302
|
/* TEXT, CLASS */
|
|
7303
7303
|
),
|
|
7304
7304
|
!a.disabled && !o.disabled ? (p(), C("span", {
|
|
7305
7305
|
key: 0,
|
|
7306
|
-
class:
|
|
7306
|
+
class: J(t.classList.tagRemove),
|
|
7307
7307
|
onClick: ve((d) => t.handleTagRemove(o, d), ["stop"])
|
|
7308
7308
|
}, [
|
|
7309
7309
|
f(
|
|
7310
7310
|
"span",
|
|
7311
7311
|
{
|
|
7312
|
-
class:
|
|
7312
|
+
class: J(t.classList.tagRemoveIcon)
|
|
7313
7313
|
},
|
|
7314
7314
|
null,
|
|
7315
7315
|
2
|
|
@@ -7324,7 +7324,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7324
7324
|
f(
|
|
7325
7325
|
"div",
|
|
7326
7326
|
{
|
|
7327
|
-
class:
|
|
7327
|
+
class: J(t.classList.tagsSearchWrapper),
|
|
7328
7328
|
ref: "tags"
|
|
7329
7329
|
},
|
|
7330
7330
|
[
|
|
@@ -7332,9 +7332,9 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7332
7332
|
f(
|
|
7333
7333
|
"span",
|
|
7334
7334
|
{
|
|
7335
|
-
class:
|
|
7335
|
+
class: J(t.classList.tagsSearchCopy)
|
|
7336
7336
|
},
|
|
7337
|
-
|
|
7337
|
+
x(t.search),
|
|
7338
7338
|
3
|
|
7339
7339
|
/* TEXT, CLASS */
|
|
7340
7340
|
),
|
|
@@ -7377,15 +7377,15 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7377
7377
|
f(
|
|
7378
7378
|
"div",
|
|
7379
7379
|
{
|
|
7380
|
-
class:
|
|
7380
|
+
class: J(t.classList.singleLabel)
|
|
7381
7381
|
},
|
|
7382
7382
|
[
|
|
7383
7383
|
f(
|
|
7384
7384
|
"span",
|
|
7385
7385
|
{
|
|
7386
|
-
class:
|
|
7386
|
+
class: J(t.classList.singleLabelText)
|
|
7387
7387
|
},
|
|
7388
|
-
|
|
7388
|
+
x(t.localize(t.iv[a.label])),
|
|
7389
7389
|
3
|
|
7390
7390
|
/* TEXT, CLASS */
|
|
7391
7391
|
)
|
|
@@ -7400,7 +7400,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7400
7400
|
values: t.iv
|
|
7401
7401
|
}, () => [
|
|
7402
7402
|
f("div", {
|
|
7403
|
-
class:
|
|
7403
|
+
class: J(t.classList.multipleLabel),
|
|
7404
7404
|
innerHTML: t.multipleLabelText
|
|
7405
7405
|
}, null, 10, Vp)
|
|
7406
7406
|
]) : E("v-if", !0),
|
|
@@ -7409,10 +7409,10 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7409
7409
|
f(
|
|
7410
7410
|
"div",
|
|
7411
7411
|
{
|
|
7412
|
-
class:
|
|
7412
|
+
class: J(t.classList.placeholder),
|
|
7413
7413
|
"aria-hidden": "true"
|
|
7414
7414
|
},
|
|
7415
|
-
|
|
7415
|
+
x(a.placeholder),
|
|
7416
7416
|
3
|
|
7417
7417
|
/* TEXT, CLASS */
|
|
7418
7418
|
)
|
|
@@ -7422,7 +7422,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7422
7422
|
f(
|
|
7423
7423
|
"span",
|
|
7424
7424
|
{
|
|
7425
|
-
class:
|
|
7425
|
+
class: J(t.classList.spinner),
|
|
7426
7426
|
"aria-hidden": "true"
|
|
7427
7427
|
},
|
|
7428
7428
|
null,
|
|
@@ -7443,7 +7443,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7443
7443
|
role: "button",
|
|
7444
7444
|
"data-clear": "",
|
|
7445
7445
|
"aria-roledescription": "❎",
|
|
7446
|
-
class:
|
|
7446
|
+
class: J(t.classList.clear),
|
|
7447
7447
|
onClick: e[6] || (e[6] = (...o) => t.clear && t.clear(...o)),
|
|
7448
7448
|
onKeyup: e[7] || (e[7] = pt((...o) => t.clear && t.clear(...o), ["enter"]))
|
|
7449
7449
|
},
|
|
@@ -7451,7 +7451,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7451
7451
|
f(
|
|
7452
7452
|
"span",
|
|
7453
7453
|
{
|
|
7454
|
-
class:
|
|
7454
|
+
class: J(t.classList.clearIcon)
|
|
7455
7455
|
},
|
|
7456
7456
|
null,
|
|
7457
7457
|
2
|
|
@@ -7471,7 +7471,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7471
7471
|
f(
|
|
7472
7472
|
"span",
|
|
7473
7473
|
{
|
|
7474
|
-
class:
|
|
7474
|
+
class: J(t.classList.caret),
|
|
7475
7475
|
onClick: e[8] || (e[8] = (...o) => t.handleCaretClick && t.handleCaretClick(...o)),
|
|
7476
7476
|
"aria-hidden": "true"
|
|
7477
7477
|
},
|
|
@@ -7488,13 +7488,13 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7488
7488
|
}, [
|
|
7489
7489
|
f("div", {
|
|
7490
7490
|
id: `${a.id}-dropdown`,
|
|
7491
|
-
class:
|
|
7491
|
+
class: J(t.classList.dropdown),
|
|
7492
7492
|
tabindex: "-1",
|
|
7493
7493
|
ref: "dropdown"
|
|
7494
7494
|
}, [
|
|
7495
7495
|
ae(t.$slots, "beforelist", { options: t.fo }),
|
|
7496
7496
|
f("ul", {
|
|
7497
|
-
class:
|
|
7497
|
+
class: J(t.classList.options),
|
|
7498
7498
|
id: t.ariaControls,
|
|
7499
7499
|
role: "listbox"
|
|
7500
7500
|
}, [
|
|
@@ -7502,7 +7502,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7502
7502
|
fe,
|
|
7503
7503
|
{ key: 0 },
|
|
7504
7504
|
Ce(t.fg, (o, l, r) => (p(), C("li", {
|
|
7505
|
-
class:
|
|
7505
|
+
class: J(t.classList.group),
|
|
7506
7506
|
key: r,
|
|
7507
7507
|
id: t.ariaGroupId(o),
|
|
7508
7508
|
"aria-label": t.ariaGroupLabel(t.localize(o[a.groupLabel])),
|
|
@@ -7511,7 +7511,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7511
7511
|
}, [
|
|
7512
7512
|
o.__CREATE__ ? E("v-if", !0) : (p(), C("div", {
|
|
7513
7513
|
key: 0,
|
|
7514
|
-
class:
|
|
7514
|
+
class: J(t.classList.groupLabel(o)),
|
|
7515
7515
|
"data-pointed": t.isPointed(o),
|
|
7516
7516
|
onMouseenter: (d) => t.setPointer(o, l),
|
|
7517
7517
|
onMousedown: ve((d) => t.handleGroupClick(o), ["prevent"])
|
|
@@ -7527,7 +7527,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7527
7527
|
])
|
|
7528
7528
|
], 42, jp)),
|
|
7529
7529
|
f("ul", {
|
|
7530
|
-
class:
|
|
7530
|
+
class: J(t.classList.groupOptions),
|
|
7531
7531
|
"aria-label": t.ariaGroupLabel(t.localize(o[a.groupLabel])),
|
|
7532
7532
|
role: "group"
|
|
7533
7533
|
}, [
|
|
@@ -7535,7 +7535,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7535
7535
|
fe,
|
|
7536
7536
|
null,
|
|
7537
7537
|
Ce(o.__VISIBLE__, (d, u, c) => (p(), C("li", {
|
|
7538
|
-
class:
|
|
7538
|
+
class: J(t.classList.option(d, o)),
|
|
7539
7539
|
"data-pointed": t.isPointed(d),
|
|
7540
7540
|
"data-selected": t.isSelected(d) || void 0,
|
|
7541
7541
|
key: c,
|
|
@@ -7555,7 +7555,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7555
7555
|
f(
|
|
7556
7556
|
"span",
|
|
7557
7557
|
null,
|
|
7558
|
-
|
|
7558
|
+
x(t.localize(d[a.label])),
|
|
7559
7559
|
1
|
|
7560
7560
|
/* TEXT */
|
|
7561
7561
|
)
|
|
@@ -7572,7 +7572,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7572
7572
|
fe,
|
|
7573
7573
|
{ key: 1 },
|
|
7574
7574
|
Ce(t.fo, (o, l, r) => (p(), C("li", {
|
|
7575
|
-
class:
|
|
7575
|
+
class: J(t.classList.option(o)),
|
|
7576
7576
|
"data-pointed": t.isPointed(o),
|
|
7577
7577
|
"data-selected": t.isSelected(o) || void 0,
|
|
7578
7578
|
key: r,
|
|
@@ -7592,7 +7592,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7592
7592
|
f(
|
|
7593
7593
|
"span",
|
|
7594
7594
|
null,
|
|
7595
|
-
|
|
7595
|
+
x(t.localize(o[a.label])),
|
|
7596
7596
|
1
|
|
7597
7597
|
/* TEXT */
|
|
7598
7598
|
)
|
|
@@ -7604,13 +7604,13 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7604
7604
|
], 10, Bp),
|
|
7605
7605
|
t.noOptions ? ae(t.$slots, "nooptions", { key: 0 }, () => [
|
|
7606
7606
|
f("div", {
|
|
7607
|
-
class:
|
|
7607
|
+
class: J(t.classList.noOptions),
|
|
7608
7608
|
innerHTML: t.localize(a.noOptionsText)
|
|
7609
7609
|
}, null, 10, Wp)
|
|
7610
7610
|
]) : E("v-if", !0),
|
|
7611
7611
|
t.noResults ? ae(t.$slots, "noresults", { key: 1 }, () => [
|
|
7612
7612
|
f("div", {
|
|
7613
|
-
class:
|
|
7613
|
+
class: J(t.classList.noResults),
|
|
7614
7614
|
innerHTML: t.localize(a.noResultsText)
|
|
7615
7615
|
}, null, 10, zp)
|
|
7616
7616
|
]) : E("v-if", !0),
|
|
@@ -7618,7 +7618,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7618
7618
|
"div",
|
|
7619
7619
|
{
|
|
7620
7620
|
key: 2,
|
|
7621
|
-
class:
|
|
7621
|
+
class: J(t.classList.inifinite),
|
|
7622
7622
|
ref: "infiniteLoader"
|
|
7623
7623
|
},
|
|
7624
7624
|
[
|
|
@@ -7626,7 +7626,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7626
7626
|
f(
|
|
7627
7627
|
"span",
|
|
7628
7628
|
{
|
|
7629
|
-
class:
|
|
7629
|
+
class: J(t.classList.inifiniteSpinner)
|
|
7630
7630
|
},
|
|
7631
7631
|
null,
|
|
7632
7632
|
2
|
|
@@ -7643,7 +7643,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7643
7643
|
E(" Hacky input element to show HTML5 required warning "),
|
|
7644
7644
|
a.required ? (p(), C("input", {
|
|
7645
7645
|
key: 0,
|
|
7646
|
-
class:
|
|
7646
|
+
class: J(t.classList.fakeInput),
|
|
7647
7647
|
tabindex: "-1",
|
|
7648
7648
|
value: t.textValue,
|
|
7649
7649
|
required: ""
|
|
@@ -7658,7 +7658,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7658
7658
|
type: "hidden",
|
|
7659
7659
|
name: a.name,
|
|
7660
7660
|
value: t.plainValue !== void 0 ? t.plainValue : ""
|
|
7661
|
-
}, null, 8,
|
|
7661
|
+
}, null, 8, xp)) : (p(!0), C(
|
|
7662
7662
|
fe,
|
|
7663
7663
|
{ key: 1 },
|
|
7664
7664
|
Ce(t.plainValue, (o, l) => (p(), C("input", {
|
|
@@ -7666,7 +7666,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7666
7666
|
name: `${a.name}[]`,
|
|
7667
7667
|
value: o,
|
|
7668
7668
|
key: l
|
|
7669
|
-
}, null, 8,
|
|
7669
|
+
}, null, 8, Yp))),
|
|
7670
7670
|
128
|
|
7671
7671
|
/* KEYED_FRAGMENT */
|
|
7672
7672
|
))
|
|
@@ -7677,15 +7677,15 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7677
7677
|
E(" Screen reader assistive text "),
|
|
7678
7678
|
a.searchable && t.hasSelected ? (p(), C("div", {
|
|
7679
7679
|
key: 2,
|
|
7680
|
-
class:
|
|
7680
|
+
class: J(t.classList.assist),
|
|
7681
7681
|
id: t.ariaAssist,
|
|
7682
7682
|
"aria-hidden": "true"
|
|
7683
|
-
},
|
|
7683
|
+
}, x(t.ariaLabel), 11, Kp)) : E("v-if", !0),
|
|
7684
7684
|
E(" Create height for empty input "),
|
|
7685
7685
|
f(
|
|
7686
7686
|
"div",
|
|
7687
7687
|
{
|
|
7688
|
-
class:
|
|
7688
|
+
class: J(t.classList.spacer)
|
|
7689
7689
|
},
|
|
7690
7690
|
null,
|
|
7691
7691
|
2
|
|
@@ -7695,7 +7695,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7695
7695
|
}
|
|
7696
7696
|
ct.render = Gp;
|
|
7697
7697
|
ct.__file = "src/Multiselect.vue";
|
|
7698
|
-
const Ae = /* @__PURE__ */
|
|
7698
|
+
const Ae = /* @__PURE__ */ Y({
|
|
7699
7699
|
__name: "AoMultiselect",
|
|
7700
7700
|
props: {
|
|
7701
7701
|
detached: { type: Boolean },
|
|
@@ -7706,7 +7706,7 @@ const Ae = /* @__PURE__ */ x({
|
|
|
7706
7706
|
return e.detached && c7({
|
|
7707
7707
|
multiselect: s,
|
|
7708
7708
|
appendTo: a.value
|
|
7709
|
-
}), (n, i) => (p(), D(
|
|
7709
|
+
}), (n, i) => (p(), D(ee(ct), {
|
|
7710
7710
|
ref_key: "multiselectRef",
|
|
7711
7711
|
ref: s,
|
|
7712
7712
|
class: "ao-multiselect"
|
|
@@ -7734,7 +7734,7 @@ function Xp() {
|
|
|
7734
7734
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7735
7735
|
return t;
|
|
7736
7736
|
}
|
|
7737
|
-
|
|
7737
|
+
Y({
|
|
7738
7738
|
props: {
|
|
7739
7739
|
translation: {
|
|
7740
7740
|
type: String,
|
|
@@ -7771,7 +7771,7 @@ async function Qe(t, e) {
|
|
|
7771
7771
|
o == null || o.select();
|
|
7772
7772
|
}
|
|
7773
7773
|
}
|
|
7774
|
-
const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id", "value", "readonly", "onChange", "onKeyup"], tv = { class: "ao-tasks__list-footer" }, av = /* @__PURE__ */
|
|
7774
|
+
const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id", "value", "readonly", "onChange", "onKeyup"], tv = { class: "ao-tasks__list-footer" }, av = /* @__PURE__ */ Y({
|
|
7775
7775
|
__name: "AoActivityTasks",
|
|
7776
7776
|
props: {
|
|
7777
7777
|
activityId: {},
|
|
@@ -7845,7 +7845,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7845
7845
|
id: h.id,
|
|
7846
7846
|
value: h.name,
|
|
7847
7847
|
readonly: !c.isEditable,
|
|
7848
|
-
class:
|
|
7848
|
+
class: J(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": h.isDone }]),
|
|
7849
7849
|
type: "text",
|
|
7850
7850
|
onChange: (g) => o(g, h.id),
|
|
7851
7851
|
onKeyup: pt(u, ["enter"])
|
|
@@ -7903,7 +7903,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7903
7903
|
const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class: "ao-files__placeholder" }, ov = {
|
|
7904
7904
|
key: 0,
|
|
7905
7905
|
class: "ao-files__list"
|
|
7906
|
-
}, iv = ["href"], lv = { class: "ao-file__title" }, rv = { key: 0 }, uv = { class: "ao-files__input" }, cv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, dv = { class: "ao-button__label" }, pv = { class: "ao-files__dropzone" }, vv = { class: "ao-files__dropzone-label" }, fv = /* @__PURE__ */
|
|
7906
|
+
}, iv = ["href"], lv = { class: "ao-file__title" }, rv = { key: 0 }, uv = { class: "ao-files__input" }, cv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, dv = { class: "ao-button__label" }, pv = { class: "ao-files__dropzone" }, vv = { class: "ao-files__dropzone-label" }, fv = /* @__PURE__ */ Y({
|
|
7907
7907
|
__name: "AoActivityDetailsFiles",
|
|
7908
7908
|
props: {
|
|
7909
7909
|
attachments: {},
|
|
@@ -7946,7 +7946,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7946
7946
|
u.dataTransfer && e("add", c);
|
|
7947
7947
|
}
|
|
7948
7948
|
return (u, c) => (p(), C("div", {
|
|
7949
|
-
class:
|
|
7949
|
+
class: J([
|
|
7950
7950
|
"ao-files__wrapper",
|
|
7951
7951
|
{
|
|
7952
7952
|
"ao-files__wrapper--drop-active": o.value
|
|
@@ -7958,7 +7958,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7958
7958
|
onDragleave: ve(r, ["prevent"])
|
|
7959
7959
|
}, [
|
|
7960
7960
|
ae(u.$slots, "default", {}, () => [
|
|
7961
|
-
f("span", nv,
|
|
7961
|
+
f("span", nv, x(u.$t("activity.attachment.placeholder.resting")), 1)
|
|
7962
7962
|
]),
|
|
7963
7963
|
u.attachments ? (p(), C("ul", ov, [
|
|
7964
7964
|
(p(!0), C(fe, null, Ce(u.attachments, (v) => (p(), C("li", {
|
|
@@ -7976,7 +7976,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7976
7976
|
name: "AttachFileRounded",
|
|
7977
7977
|
size: "sm"
|
|
7978
7978
|
}),
|
|
7979
|
-
f("span", lv,
|
|
7979
|
+
f("span", lv, x(v.name), 1)
|
|
7980
7980
|
], 8, iv),
|
|
7981
7981
|
u.isEditable ? (p(), D(re, {
|
|
7982
7982
|
key: 0,
|
|
@@ -7996,7 +7996,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7996
7996
|
name: "Add",
|
|
7997
7997
|
size: "sm"
|
|
7998
7998
|
}),
|
|
7999
|
-
f("span", dv,
|
|
7999
|
+
f("span", dv, x(u.$t("activity.attachment.button.resting")), 1)
|
|
8000
8000
|
]),
|
|
8001
8001
|
f("input", {
|
|
8002
8002
|
class: "input-field",
|
|
@@ -8010,7 +8010,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
8010
8010
|
])) : E("", !0)
|
|
8011
8011
|
])) : E("", !0),
|
|
8012
8012
|
De(f("div", pv, [
|
|
8013
|
-
f("span", vv,
|
|
8013
|
+
f("span", vv, x(u.$t("activity.attachment.placeholder.active")), 1)
|
|
8014
8014
|
], 512), [
|
|
8015
8015
|
[No, o.value]
|
|
8016
8016
|
])
|
|
@@ -8020,7 +8020,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
8020
8020
|
const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv = { class: "ao-comment__body" }, Cv = { class: "ao-comment__content-wrapper" }, _v = {
|
|
8021
8021
|
key: 1,
|
|
8022
8022
|
class: "ao-comment__footer"
|
|
8023
|
-
}, yv = /* @__PURE__ */
|
|
8023
|
+
}, yv = /* @__PURE__ */ Y({
|
|
8024
8024
|
__name: "AoComment",
|
|
8025
8025
|
props: {
|
|
8026
8026
|
user: {},
|
|
@@ -8059,35 +8059,35 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8059
8059
|
"user-name": s.value,
|
|
8060
8060
|
class: "ao-comment__avatar"
|
|
8061
8061
|
}, null, 8, ["avatar-url", "user-name"])) : E("", !0),
|
|
8062
|
-
f("span", mv,
|
|
8062
|
+
f("span", mv, x(d.value), 1),
|
|
8063
8063
|
f("div", gv, [
|
|
8064
8064
|
f("div", Cv, [
|
|
8065
8065
|
(p(), D(mt(u.value), {
|
|
8066
8066
|
ref_key: "commentContent",
|
|
8067
8067
|
ref: n,
|
|
8068
8068
|
class: "ao-comment__content",
|
|
8069
|
-
value:
|
|
8070
|
-
rows:
|
|
8069
|
+
value: ee(i) ? _.content : null,
|
|
8070
|
+
rows: ee(i) ? w.value : null,
|
|
8071
8071
|
onKeyup: [
|
|
8072
|
-
pt(
|
|
8073
|
-
pt(ve(
|
|
8072
|
+
pt(ee(c), ["esc"]),
|
|
8073
|
+
pt(ve(ee(v), ["ctrl"]), ["enter"])
|
|
8074
8074
|
]
|
|
8075
8075
|
}, {
|
|
8076
8076
|
default: F(() => [
|
|
8077
|
-
qa(
|
|
8077
|
+
qa(x(_.content), 1)
|
|
8078
8078
|
]),
|
|
8079
8079
|
_: 1
|
|
8080
8080
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
8081
8081
|
])
|
|
8082
8082
|
]),
|
|
8083
8083
|
_.isEditable ? (p(), C("div", _v, [
|
|
8084
|
-
|
|
8084
|
+
ee(i) ? (p(), C(fe, { key: 0 }, [
|
|
8085
8085
|
T(re, {
|
|
8086
8086
|
"icon-name": "CloseRounded",
|
|
8087
8087
|
size: "sm",
|
|
8088
8088
|
variant: "ghost",
|
|
8089
8089
|
color: "neutral",
|
|
8090
|
-
onClick:
|
|
8090
|
+
onClick: ee(c)
|
|
8091
8091
|
}, null, 8, ["onClick"]),
|
|
8092
8092
|
T(re, {
|
|
8093
8093
|
"icon-name": "CheckSmallRounded",
|
|
@@ -8095,7 +8095,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8095
8095
|
variant: "solid",
|
|
8096
8096
|
corners: "round",
|
|
8097
8097
|
color: "black",
|
|
8098
|
-
onClick:
|
|
8098
|
+
onClick: ee(v)
|
|
8099
8099
|
}, null, 8, ["onClick"])
|
|
8100
8100
|
], 64)) : (p(), C(fe, { key: 1 }, [
|
|
8101
8101
|
T(re, {
|
|
@@ -8110,7 +8110,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8110
8110
|
size: "sm",
|
|
8111
8111
|
variant: "ghost",
|
|
8112
8112
|
color: "neutral",
|
|
8113
|
-
onClick:
|
|
8113
|
+
onClick: ee(o)
|
|
8114
8114
|
}, null, 8, ["label", "onClick"])
|
|
8115
8115
|
], 64))
|
|
8116
8116
|
])) : E("", !0)
|
|
@@ -8121,7 +8121,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8121
8121
|
const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placeholder"], kv = { class: "ao-comments__form-submit" }, Sv = {
|
|
8122
8122
|
key: 0,
|
|
8123
8123
|
class: "ao-comments__list"
|
|
8124
|
-
}, Av = ["onClick"], Mv = /* @__PURE__ */
|
|
8124
|
+
}, Av = ["onClick"], Mv = /* @__PURE__ */ Y({
|
|
8125
8125
|
__name: "AoActivityDetailsComments",
|
|
8126
8126
|
props: {
|
|
8127
8127
|
comments: { default: () => [] },
|
|
@@ -8131,85 +8131,120 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8131
8131
|
},
|
|
8132
8132
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
8133
8133
|
setup(t, { emit: e }) {
|
|
8134
|
-
const a = t, s =
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
const { top: G, left: te } = u(A);
|
|
8138
|
-
o.value = { top: G, left: te };
|
|
8139
|
-
})) : i.value = !1;
|
|
8140
|
-
}, d = (P) => {
|
|
8141
|
-
P.key === "Escape" && i.value && (i.value = !1);
|
|
8142
|
-
};
|
|
8143
|
-
function u(P, A) {
|
|
8144
|
-
const { top: R, left: B } = P.getBoundingClientRect();
|
|
8145
|
-
return { top: R + P.offsetHeight, left: B };
|
|
8146
|
-
}
|
|
8147
|
-
const c = M(
|
|
8148
|
-
() => (
|
|
8149
|
-
// userSuggestions.value.filter((u) =>
|
|
8150
|
-
// u.name.toLowerCase().includes(mentionQuery.value.toLowerCase()),
|
|
8151
|
-
// ),
|
|
8152
|
-
s.filter(
|
|
8153
|
-
(P) => P.name.toLowerCase().includes(n.value.toLowerCase())
|
|
8154
|
-
)
|
|
8155
|
-
)
|
|
8156
|
-
), v = (P) => {
|
|
8157
|
-
const A = l.value;
|
|
8158
|
-
if (!A)
|
|
8159
|
-
return;
|
|
8160
|
-
const R = A.selectionStart, B = g.value, z = B.slice(0, R).replace(/@(\w*)$/, `@${P} `), G = B.slice(R);
|
|
8161
|
-
g.value = z + G, i.value = !1, $e(() => {
|
|
8162
|
-
A.focus(), A.setSelectionRange(z.length, z.length);
|
|
8163
|
-
});
|
|
8164
|
-
}, h = M(() => (a.comments || []).toSorted(
|
|
8165
|
-
(A, R) => t0(ca(A.createdAt), ca(R.createdAt))
|
|
8166
|
-
)), w = (P) => a.users.find((R) => R.id === P), _ = q();
|
|
8134
|
+
const a = t, s = M(() => (a.comments || []).toSorted(
|
|
8135
|
+
(A, B) => t0(ca(A.createdAt), ca(B.createdAt))
|
|
8136
|
+
)), n = (P) => a.users.find((B) => B.id === P), i = q();
|
|
8167
8137
|
$e(() => {
|
|
8168
|
-
|
|
8138
|
+
i.value && (i.value.scrollTop = i.value.scrollHeight);
|
|
8169
8139
|
});
|
|
8170
|
-
const
|
|
8140
|
+
const o = jt(a.newComment), l = M({
|
|
8171
8141
|
get() {
|
|
8172
|
-
return
|
|
8142
|
+
return o.value;
|
|
8173
8143
|
},
|
|
8174
8144
|
set(P) {
|
|
8175
|
-
|
|
8145
|
+
o.value = P;
|
|
8176
8146
|
}
|
|
8177
|
-
}),
|
|
8178
|
-
const P =
|
|
8179
|
-
P && (e("createComment", { authorId: a.userId, message: P }),
|
|
8180
|
-
},
|
|
8147
|
+
}), r = () => {
|
|
8148
|
+
const P = o.value.trim();
|
|
8149
|
+
P && (e("createComment", { authorId: a.userId, message: P }), o.value = "");
|
|
8150
|
+
}, d = (P, A) => {
|
|
8181
8151
|
e("updateComment", {
|
|
8182
8152
|
id: P,
|
|
8183
8153
|
message: A
|
|
8184
8154
|
});
|
|
8185
|
-
},
|
|
8155
|
+
}, u = (P) => {
|
|
8186
8156
|
e("removeComment", { id: P });
|
|
8157
|
+
}, c = [{ id: "1", name: "John" }, { id: "2", name: "Jane" }], v = q(""), h = q(!1), w = q({ top: 0, left: 0 }), _ = q(), g = (P) => {
|
|
8158
|
+
const A = P.target, B = A.selectionStart, W = A.value.slice(0, B).match(/@(\w*)$/);
|
|
8159
|
+
W ? (v.value = W[1], h.value = !0, $e(() => {
|
|
8160
|
+
const { top: K, left: te } = I(A, B);
|
|
8161
|
+
w.value = { top: K, left: te };
|
|
8162
|
+
})) : h.value = !1;
|
|
8163
|
+
}, $ = (P) => {
|
|
8164
|
+
P.key === "Escape" && h.value && (h.value = !1);
|
|
8165
|
+
}, b = M(
|
|
8166
|
+
() => (
|
|
8167
|
+
// userSuggestions.value.filter((u) =>
|
|
8168
|
+
// u.name.toLowerCase().includes(mentionQuery.value.toLowerCase()),
|
|
8169
|
+
// ),
|
|
8170
|
+
c.filter(
|
|
8171
|
+
(P) => P.name.toLowerCase().includes(v.value.toLowerCase())
|
|
8172
|
+
)
|
|
8173
|
+
)
|
|
8174
|
+
), m = (P) => {
|
|
8175
|
+
const A = _.value;
|
|
8176
|
+
if (!A)
|
|
8177
|
+
return;
|
|
8178
|
+
const B = A.selectionStart, R = o.value, W = R.slice(0, B).replace(/@(\w*)$/, `@${P} `), K = R.slice(B);
|
|
8179
|
+
o.value = W + K, h.value = !1, $e(() => {
|
|
8180
|
+
A.focus(), A.setSelectionRange(W.length, W.length);
|
|
8181
|
+
});
|
|
8187
8182
|
};
|
|
8183
|
+
function I(P, A) {
|
|
8184
|
+
const B = document.createElement("div"), R = document.createElement("span"), W = window.getComputedStyle(P), K = [
|
|
8185
|
+
"boxSizing",
|
|
8186
|
+
"width",
|
|
8187
|
+
"height",
|
|
8188
|
+
"overflowX",
|
|
8189
|
+
"overflowY",
|
|
8190
|
+
"borderTopWidth",
|
|
8191
|
+
"borderRightWidth",
|
|
8192
|
+
"borderBottomWidth",
|
|
8193
|
+
"borderLeftWidth",
|
|
8194
|
+
"paddingTop",
|
|
8195
|
+
"paddingRight",
|
|
8196
|
+
"paddingBottom",
|
|
8197
|
+
"paddingLeft",
|
|
8198
|
+
"fontStyle",
|
|
8199
|
+
"fontVariant",
|
|
8200
|
+
"fontWeight",
|
|
8201
|
+
"fontStretch",
|
|
8202
|
+
"fontSize",
|
|
8203
|
+
"fontSizeAdjust",
|
|
8204
|
+
"lineHeight",
|
|
8205
|
+
"fontFamily",
|
|
8206
|
+
"textAlign",
|
|
8207
|
+
"textTransform",
|
|
8208
|
+
"direction",
|
|
8209
|
+
"letterSpacing",
|
|
8210
|
+
"wordSpacing"
|
|
8211
|
+
];
|
|
8212
|
+
B.style.whiteSpace = "pre-wrap", B.style.wordWrap = "break-word", B.style.position = "absolute", B.style.visibility = "hidden", K.forEach((Q) => {
|
|
8213
|
+
B.style[Q] = W.getPropertyValue(Q);
|
|
8214
|
+
});
|
|
8215
|
+
const te = P.value, N = te.substring(0, A), G = te.substring(A);
|
|
8216
|
+
B.textContent = N, R.textContent = G.length === 0 ? "." : G[0], B.appendChild(R), document.body.appendChild(B);
|
|
8217
|
+
const ie = R.getBoundingClientRect(), se = {
|
|
8218
|
+
top: ie.top + window.scrollY,
|
|
8219
|
+
left: ie.left + window.scrollX
|
|
8220
|
+
};
|
|
8221
|
+
return document.body.removeChild(B), se;
|
|
8222
|
+
}
|
|
8188
8223
|
return (P, A) => {
|
|
8189
|
-
var
|
|
8224
|
+
var B;
|
|
8190
8225
|
return p(), C("div", {
|
|
8191
8226
|
ref_key: "commentsContainer",
|
|
8192
|
-
ref:
|
|
8227
|
+
ref: i,
|
|
8193
8228
|
class: "ao-comments"
|
|
8194
8229
|
}, [
|
|
8195
8230
|
f("div", bv, [
|
|
8196
8231
|
f("form", {
|
|
8197
8232
|
class: "ao-comments__form",
|
|
8198
|
-
onSubmit: ve(
|
|
8233
|
+
onSubmit: ve(r, ["prevent"])
|
|
8199
8234
|
}, [
|
|
8200
8235
|
De(f("textarea", {
|
|
8201
8236
|
ref_key: "textareaRef",
|
|
8202
|
-
ref:
|
|
8203
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
8237
|
+
ref: _,
|
|
8238
|
+
"onUpdate:modelValue": A[0] || (A[0] = (R) => l.value = R),
|
|
8204
8239
|
rows: "2",
|
|
8205
8240
|
class: "ao-field__textarea ao-comments__form-textarea",
|
|
8206
8241
|
placeholder: P.$t("activity.comment.label"),
|
|
8207
|
-
onInput:
|
|
8208
|
-
onKeydown:
|
|
8242
|
+
onInput: g,
|
|
8243
|
+
onKeydown: $
|
|
8209
8244
|
}, null, 40, $v), [
|
|
8210
8245
|
[
|
|
8211
8246
|
Ze,
|
|
8212
|
-
|
|
8247
|
+
l.value,
|
|
8213
8248
|
void 0,
|
|
8214
8249
|
{ trim: !0 }
|
|
8215
8250
|
]
|
|
@@ -8226,34 +8261,34 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8226
8261
|
])
|
|
8227
8262
|
], 40, wv)
|
|
8228
8263
|
]),
|
|
8229
|
-
((
|
|
8230
|
-
(p(!0), C(fe, null, Ce(
|
|
8231
|
-
key:
|
|
8232
|
-
user:
|
|
8233
|
-
content:
|
|
8234
|
-
"created-at":
|
|
8235
|
-
"edited-at":
|
|
8236
|
-
"is-editable":
|
|
8264
|
+
((B = s.value) == null ? void 0 : B.length) > 0 ? (p(), C("ul", Sv, [
|
|
8265
|
+
(p(!0), C(fe, null, Ce(s.value, (R) => (p(), D(yv, {
|
|
8266
|
+
key: R.id,
|
|
8267
|
+
user: n(R.author.id),
|
|
8268
|
+
content: R.message,
|
|
8269
|
+
"created-at": R.createdAt,
|
|
8270
|
+
"edited-at": R.updatedAt,
|
|
8271
|
+
"is-editable": R.author.id === P.userId,
|
|
8237
8272
|
class: "ao-comment",
|
|
8238
|
-
onEdit: (
|
|
8239
|
-
onRemove: () =>
|
|
8273
|
+
onEdit: (W) => d(R.id, W),
|
|
8274
|
+
onRemove: () => u(R.id)
|
|
8240
8275
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
8241
8276
|
])) : E("", !0),
|
|
8242
|
-
|
|
8277
|
+
h.value && b.value.length > 0 ? (p(), C("ul", {
|
|
8243
8278
|
key: 1,
|
|
8244
8279
|
class: "mention-list",
|
|
8245
|
-
style: We({ top:
|
|
8280
|
+
style: We({ top: w.value.top + "px", left: w.value.left + "px" })
|
|
8246
8281
|
}, [
|
|
8247
|
-
(p(!0), C(fe, null, Ce(
|
|
8248
|
-
key:
|
|
8249
|
-
onClick: (
|
|
8250
|
-
}, " @" +
|
|
8282
|
+
(p(!0), C(fe, null, Ce(b.value, (R) => (p(), C("li", {
|
|
8283
|
+
key: R.id,
|
|
8284
|
+
onClick: (W) => m(R.name)
|
|
8285
|
+
}, " @" + x(R.name), 9, Av))), 128))
|
|
8251
8286
|
], 4)) : E("", !0)
|
|
8252
8287
|
], 512);
|
|
8253
8288
|
};
|
|
8254
8289
|
}
|
|
8255
8290
|
});
|
|
8256
|
-
const As = /* @__PURE__ */
|
|
8291
|
+
const As = /* @__PURE__ */ Y({
|
|
8257
8292
|
__name: "AoButtonCheck",
|
|
8258
8293
|
props: {
|
|
8259
8294
|
modelValue: { type: Boolean },
|
|
@@ -8265,7 +8300,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8265
8300
|
e("update:modelValue", !a.modelValue);
|
|
8266
8301
|
};
|
|
8267
8302
|
return (n, i) => (p(), D(re, {
|
|
8268
|
-
color: n.modelValue ? n.color :
|
|
8303
|
+
color: n.modelValue ? n.color : ee(Ls).NEUTRAL,
|
|
8269
8304
|
"icon-position": "start",
|
|
8270
8305
|
onClick: i[0] || (i[0] = () => s())
|
|
8271
8306
|
}, null, 8, ["color"]));
|
|
@@ -8279,7 +8314,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8279
8314
|
}, Hv = { class: "ao-field__label" }, Vv = {
|
|
8280
8315
|
key: 1,
|
|
8281
8316
|
class: "ao-field ao-feed__activity-details__project"
|
|
8282
|
-
}, Dv = { class: "ao-field__label" }, Bv = { class: "ao-activity-details__content" }, Rv = { class: "ao-fieldset" }, jv = { class: "ao-field__row" }, Nv = { class: "ao-field ao-field--full" }, Uv = { class: "ao-field__label" }, Fv = ["readonly"], Zv = { class: "ao-field__row" }, Wv = { class: "ao-field ao-field--inline" }, zv = { class: "ao-field__label" }, qv = ["readonly"],
|
|
8317
|
+
}, Dv = { class: "ao-field__label" }, Bv = { class: "ao-activity-details__content" }, Rv = { class: "ao-fieldset" }, jv = { class: "ao-field__row" }, Nv = { class: "ao-field ao-field--full" }, Uv = { class: "ao-field__label" }, Fv = ["readonly"], Zv = { class: "ao-field__row" }, Wv = { class: "ao-field ao-field--inline" }, zv = { class: "ao-field__label" }, qv = ["readonly"], xv = { class: "ao-fieldset" }, Yv = { class: "ao-fieldset__title" }, Kv = { class: "ao-fieldset__body" }, Gv = {
|
|
8283
8318
|
key: 0,
|
|
8284
8319
|
class: "ao-fieldset"
|
|
8285
8320
|
}, Xv = { class: "ao-fieldset__title" }, Qv = { class: "ao-activity-details__aside" }, Jv = { class: "ao-activity-details__close-button" }, ef = {
|
|
@@ -8297,7 +8332,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8297
8332
|
}, Cf = { class: "ao-fieldset ao-activity-details__aside-section" }, _f = { class: "ao-fieldset__title" }, yf = { class: "ao-fieldset__body" }, bf = { class: "ao-field__row" }, wf = { class: "ao-field ao-field--multiselect" }, $f = { class: "ao-field__label" }, kf = { class: "ao-field__row" }, Sf = { class: "ao-field ao-field--multiselect" }, Af = { class: "ao-field__label" }, Mf = {
|
|
8298
8333
|
key: 2,
|
|
8299
8334
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8300
|
-
}, Tf = { class: "ao-activity__created-by" },
|
|
8335
|
+
}, Tf = { class: "ao-activity__created-by" }, xs = /* @__PURE__ */ Y({
|
|
8301
8336
|
__name: "AoActivityDetails",
|
|
8302
8337
|
props: {
|
|
8303
8338
|
activity: {},
|
|
@@ -8392,7 +8427,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8392
8427
|
var V;
|
|
8393
8428
|
return {
|
|
8394
8429
|
...y,
|
|
8395
|
-
disabled: (V = a.activity.blocking) == null ? void 0 : V.some((
|
|
8430
|
+
disabled: (V = a.activity.blocking) == null ? void 0 : V.some((le) => le.id === y.value)
|
|
8396
8431
|
};
|
|
8397
8432
|
})), _ = M({
|
|
8398
8433
|
get() {
|
|
@@ -8410,7 +8445,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8410
8445
|
return {
|
|
8411
8446
|
...y,
|
|
8412
8447
|
disabled: (V = a.activity.dependingOn) == null ? void 0 : V.some(
|
|
8413
|
-
(
|
|
8448
|
+
(le) => le.id === y.value
|
|
8414
8449
|
)
|
|
8415
8450
|
};
|
|
8416
8451
|
})), $ = (y) => {
|
|
@@ -8421,10 +8456,10 @@ const As = /* @__PURE__ */ x({
|
|
|
8421
8456
|
e("deleteSubtask", y);
|
|
8422
8457
|
};
|
|
8423
8458
|
function I() {
|
|
8424
|
-
a.userId ?
|
|
8459
|
+
a.userId ? B.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
|
|
8425
8460
|
}
|
|
8426
8461
|
function P(y) {
|
|
8427
|
-
|
|
8462
|
+
B.value = [y];
|
|
8428
8463
|
}
|
|
8429
8464
|
const A = M(() => {
|
|
8430
8465
|
var y;
|
|
@@ -8433,7 +8468,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8433
8468
|
value: V.id,
|
|
8434
8469
|
avatar: V.avatarUrl
|
|
8435
8470
|
}))) || [];
|
|
8436
|
-
}),
|
|
8471
|
+
}), B = M({
|
|
8437
8472
|
get() {
|
|
8438
8473
|
var y, V;
|
|
8439
8474
|
return (y = a.activity.assignee) != null && y.id ? [(V = a.activity.assignee) == null ? void 0 : V.id] : [];
|
|
@@ -8445,40 +8480,40 @@ const As = /* @__PURE__ */ x({
|
|
|
8445
8480
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
8446
8481
|
});
|
|
8447
8482
|
}
|
|
8448
|
-
}),
|
|
8483
|
+
}), R = (y) => {
|
|
8449
8484
|
e("addFiles", {
|
|
8450
8485
|
activityId: a.activity.id,
|
|
8451
8486
|
files: y
|
|
8452
8487
|
});
|
|
8453
|
-
},
|
|
8488
|
+
}, W = (y) => {
|
|
8454
8489
|
e("removeFile", {
|
|
8455
8490
|
activityId: a.activity.id,
|
|
8456
8491
|
file: y
|
|
8457
8492
|
});
|
|
8458
|
-
},
|
|
8493
|
+
}, K = M(() => a.projects.map((y) => ({
|
|
8459
8494
|
value: y.id,
|
|
8460
8495
|
label: y.name
|
|
8461
8496
|
}))), te = M(() => {
|
|
8462
|
-
var V,
|
|
8463
|
-
const y = (ne = (
|
|
8464
|
-
(
|
|
8497
|
+
var V, le, ne;
|
|
8498
|
+
const y = (ne = (le = (V = a.activity) == null ? void 0 : V.project) == null ? void 0 : le.phases) == null ? void 0 : ne.reduce(
|
|
8499
|
+
(z, H) => [...z, ...H.milestones],
|
|
8465
8500
|
[]
|
|
8466
8501
|
);
|
|
8467
|
-
return y == null ? void 0 : y.map((
|
|
8468
|
-
value:
|
|
8469
|
-
label:
|
|
8502
|
+
return y == null ? void 0 : y.map((z) => ({
|
|
8503
|
+
value: z.id,
|
|
8504
|
+
label: z.name
|
|
8470
8505
|
}));
|
|
8471
8506
|
}), N = (y) => {
|
|
8472
8507
|
a.activity && e("update:activity", {
|
|
8473
8508
|
id: a.activity.id,
|
|
8474
8509
|
projectId: y
|
|
8475
8510
|
});
|
|
8476
|
-
},
|
|
8511
|
+
}, G = (y) => {
|
|
8477
8512
|
a.activity && e("update:activity", {
|
|
8478
8513
|
id: a.activity.id,
|
|
8479
8514
|
milestoneId: y
|
|
8480
8515
|
});
|
|
8481
|
-
},
|
|
8516
|
+
}, ie = M(() => {
|
|
8482
8517
|
var y;
|
|
8483
8518
|
return (y = a.statuses) == null ? void 0 : y.map((V) => ({
|
|
8484
8519
|
value: V.id,
|
|
@@ -8489,7 +8524,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8489
8524
|
id: a.activity.id,
|
|
8490
8525
|
statusId: y
|
|
8491
8526
|
});
|
|
8492
|
-
},
|
|
8527
|
+
}, Q = (y) => {
|
|
8493
8528
|
e("addComment", {
|
|
8494
8529
|
...y,
|
|
8495
8530
|
activityId: a.activity.id
|
|
@@ -8503,18 +8538,18 @@ const As = /* @__PURE__ */ x({
|
|
|
8503
8538
|
return ((y = a.activity.createdBy) == null ? void 0 : y.firstName) && ((V = a.activity.createdBy) == null ? void 0 : V.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8504
8539
|
});
|
|
8505
8540
|
function U() {
|
|
8506
|
-
const y = window.location.origin, V = a.activity.slug,
|
|
8507
|
-
navigator.clipboard.writeText(
|
|
8508
|
-
console.log(`Link copied to clipboard: ${
|
|
8541
|
+
const y = window.location.origin, V = a.activity.slug, le = `${y}/activity-feed/slug/${V}`;
|
|
8542
|
+
navigator.clipboard.writeText(le).then(() => {
|
|
8543
|
+
console.log(`Link copied to clipboard: ${le}`), e("toast", "clipboard.copy.success", "success");
|
|
8509
8544
|
}).catch(() => {
|
|
8510
8545
|
console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
|
|
8511
8546
|
});
|
|
8512
8547
|
}
|
|
8513
8548
|
return (y, V) => (p(), D(Ja, {
|
|
8514
|
-
onClose: V[10] || (V[10] = (
|
|
8549
|
+
onClose: V[10] || (V[10] = (le) => y.$emit("close"))
|
|
8515
8550
|
}, {
|
|
8516
8551
|
default: F(() => {
|
|
8517
|
-
var
|
|
8552
|
+
var le, ne, z;
|
|
8518
8553
|
return [
|
|
8519
8554
|
f("div", Tv, [
|
|
8520
8555
|
f("div", Ov, [
|
|
@@ -8529,7 +8564,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8529
8564
|
class: "ao-activity__ao-tag",
|
|
8530
8565
|
onClick: U
|
|
8531
8566
|
}, null, 8, ["label"])) : E("", !0),
|
|
8532
|
-
y.breadcrumbs ? (p(), C("div", Iv,
|
|
8567
|
+
y.breadcrumbs ? (p(), C("div", Iv, x(y.breadcrumbs), 1)) : E("", !0),
|
|
8533
8568
|
T(be, {
|
|
8534
8569
|
title: y.activity.name || "",
|
|
8535
8570
|
level: 4,
|
|
@@ -8537,11 +8572,11 @@ const As = /* @__PURE__ */ x({
|
|
|
8537
8572
|
"onUpdate:title": n
|
|
8538
8573
|
}, null, 8, ["title", "is-editable"]),
|
|
8539
8574
|
f("div", Lv, [
|
|
8540
|
-
|
|
8541
|
-
f("span", Hv,
|
|
8575
|
+
K.value ? (p(), C("label", Pv, [
|
|
8576
|
+
f("span", Hv, x(y.$t("activity.project.label")), 1),
|
|
8542
8577
|
T(Ae, {
|
|
8543
|
-
options:
|
|
8544
|
-
value: (
|
|
8578
|
+
options: K.value,
|
|
8579
|
+
value: (le = y.activity.project) == null ? void 0 : le.id,
|
|
8545
8580
|
searchable: !0,
|
|
8546
8581
|
disabled: !s.value,
|
|
8547
8582
|
caret: s.value,
|
|
@@ -8549,14 +8584,14 @@ const As = /* @__PURE__ */ x({
|
|
|
8549
8584
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8550
8585
|
])) : E("", !0),
|
|
8551
8586
|
te.value ? (p(), C("label", Vv, [
|
|
8552
|
-
f("span", Dv,
|
|
8587
|
+
f("span", Dv, x(y.$t("activity.milestone.label")), 1),
|
|
8553
8588
|
T(Ae, {
|
|
8554
8589
|
options: te.value,
|
|
8555
8590
|
value: (ne = y.activity.milestone) == null ? void 0 : ne.id,
|
|
8556
8591
|
searchable: !0,
|
|
8557
8592
|
disabled: !s.value,
|
|
8558
8593
|
caret: s.value,
|
|
8559
|
-
onChange:
|
|
8594
|
+
onChange: G
|
|
8560
8595
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8561
8596
|
])) : E("", !0)
|
|
8562
8597
|
]),
|
|
@@ -8568,12 +8603,12 @@ const As = /* @__PURE__ */ x({
|
|
|
8568
8603
|
T(fv, {
|
|
8569
8604
|
attachments: y.activity.attachments,
|
|
8570
8605
|
"is-editable": y.attachmentEnabled && s.value && y.isTemplate !== !0 && !!y.userId,
|
|
8571
|
-
onAdd:
|
|
8572
|
-
onRemove:
|
|
8606
|
+
onAdd: R,
|
|
8607
|
+
onRemove: W
|
|
8573
8608
|
}, {
|
|
8574
8609
|
default: F(() => [
|
|
8575
8610
|
f("label", Nv, [
|
|
8576
|
-
f("span", Uv,
|
|
8611
|
+
f("span", Uv, x(y.$t("activity.description.label")), 1),
|
|
8577
8612
|
De(f("textarea", {
|
|
8578
8613
|
"onUpdate:modelValue": V[0] || (V[0] = (H) => i.value = H),
|
|
8579
8614
|
readonly: !s.value,
|
|
@@ -8597,7 +8632,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8597
8632
|
]),
|
|
8598
8633
|
f("div", Zv, [
|
|
8599
8634
|
f("label", Wv, [
|
|
8600
|
-
f("span", zv,
|
|
8635
|
+
f("span", zv, x(y.$t("activity.estimation.label")), 1),
|
|
8601
8636
|
De(f("input", {
|
|
8602
8637
|
"onUpdate:modelValue": V[1] || (V[1] = (H) => o.value = H),
|
|
8603
8638
|
readonly: !s.value,
|
|
@@ -8618,8 +8653,8 @@ const As = /* @__PURE__ */ x({
|
|
|
8618
8653
|
])
|
|
8619
8654
|
])
|
|
8620
8655
|
]),
|
|
8621
|
-
f("fieldset",
|
|
8622
|
-
f("div",
|
|
8656
|
+
f("fieldset", xv, [
|
|
8657
|
+
f("div", Yv, [
|
|
8623
8658
|
T(pe, { name: "SelectCheckBox" }),
|
|
8624
8659
|
T(be, {
|
|
8625
8660
|
level: 4,
|
|
@@ -8653,7 +8688,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8653
8688
|
comments: y.activity.comments,
|
|
8654
8689
|
users: y.users,
|
|
8655
8690
|
"user-id": y.userId,
|
|
8656
|
-
onCreateComment:
|
|
8691
|
+
onCreateComment: Q,
|
|
8657
8692
|
onUpdateComment: L,
|
|
8658
8693
|
onRemoveComment: O
|
|
8659
8694
|
}, null, 8, ["comments", "users", "user-id"])
|
|
@@ -8667,13 +8702,13 @@ const As = /* @__PURE__ */ x({
|
|
|
8667
8702
|
onClick: V[2] || (V[2] = (H) => y.$emit("close"))
|
|
8668
8703
|
})
|
|
8669
8704
|
]),
|
|
8670
|
-
|
|
8705
|
+
ie.value ? (p(), C("div", ef, [
|
|
8671
8706
|
f("label", tf, [
|
|
8672
|
-
f("span", af,
|
|
8707
|
+
f("span", af, x(y.$t("activity.status.label")), 1),
|
|
8673
8708
|
T(Ae, {
|
|
8674
8709
|
class: "ao-activity-details__multiselect",
|
|
8675
|
-
options:
|
|
8676
|
-
value: (
|
|
8710
|
+
options: ie.value,
|
|
8711
|
+
value: (z = y.activity.status) == null ? void 0 : z.id,
|
|
8677
8712
|
"can-clear": !1,
|
|
8678
8713
|
"can-deselect": !1,
|
|
8679
8714
|
disabled: !s.value,
|
|
@@ -8685,7 +8720,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8685
8720
|
f("div", sf, [
|
|
8686
8721
|
f("div", nf, [
|
|
8687
8722
|
f("div", of, [
|
|
8688
|
-
f("span", lf,
|
|
8723
|
+
f("span", lf, x(y.$t("activity.assignee.label")), 1),
|
|
8689
8724
|
T(re, {
|
|
8690
8725
|
label: y.$t("activity.assignee.toMe"),
|
|
8691
8726
|
type: "button",
|
|
@@ -8696,8 +8731,8 @@ const As = /* @__PURE__ */ x({
|
|
|
8696
8731
|
}, null, 8, ["label"])
|
|
8697
8732
|
]),
|
|
8698
8733
|
T(Ae, {
|
|
8699
|
-
modelValue:
|
|
8700
|
-
"onUpdate:modelValue": V[3] || (V[3] = (H) =>
|
|
8734
|
+
modelValue: B.value,
|
|
8735
|
+
"onUpdate:modelValue": V[3] || (V[3] = (H) => B.value = H),
|
|
8701
8736
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8702
8737
|
options: A.value,
|
|
8703
8738
|
"close-on-select": !0,
|
|
@@ -8710,13 +8745,13 @@ const As = /* @__PURE__ */ x({
|
|
|
8710
8745
|
}, {
|
|
8711
8746
|
tag: F(({
|
|
8712
8747
|
option: H,
|
|
8713
|
-
handleTagRemove:
|
|
8748
|
+
handleTagRemove: X
|
|
8714
8749
|
}) => [
|
|
8715
8750
|
T(et, {
|
|
8716
8751
|
"user-name": H.label,
|
|
8717
8752
|
"avatar-url": H.avatar,
|
|
8718
8753
|
"is-closable": !0,
|
|
8719
|
-
onClose: (he) =>
|
|
8754
|
+
onClose: (he) => X(H, he)
|
|
8720
8755
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
8721
8756
|
]),
|
|
8722
8757
|
_: 1
|
|
@@ -8726,7 +8761,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8726
8761
|
f("div", rf, [
|
|
8727
8762
|
y.isTemplate !== !0 && y.userId ? (p(), C("div", uf, [
|
|
8728
8763
|
f("label", cf, [
|
|
8729
|
-
f("span", df,
|
|
8764
|
+
f("span", df, x(y.$t("activity.deadline.label")), 1),
|
|
8730
8765
|
De(f("input", {
|
|
8731
8766
|
"onUpdate:modelValue": V[4] || (V[4] = (H) => d.value = H),
|
|
8732
8767
|
readonly: !s.value,
|
|
@@ -8801,7 +8836,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8801
8836
|
f("div", yf, [
|
|
8802
8837
|
f("div", bf, [
|
|
8803
8838
|
f("label", wf, [
|
|
8804
|
-
f("span", $f,
|
|
8839
|
+
f("span", $f, x(y.$t("activity.dependingOn.label")), 1),
|
|
8805
8840
|
T(Ae, {
|
|
8806
8841
|
modelValue: h.value,
|
|
8807
8842
|
"onUpdate:modelValue": V[8] || (V[8] = (H) => h.value = H),
|
|
@@ -8817,7 +8852,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8817
8852
|
]),
|
|
8818
8853
|
f("div", kf, [
|
|
8819
8854
|
f("label", Sf, [
|
|
8820
|
-
f("span", Af,
|
|
8855
|
+
f("span", Af, x(y.$t("activity.blocking.label")), 1),
|
|
8821
8856
|
T(Ae, {
|
|
8822
8857
|
modelValue: _.value,
|
|
8823
8858
|
"onUpdate:modelValue": V[9] || (V[9] = (H) => _.value = H),
|
|
@@ -8839,7 +8874,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8839
8874
|
"user-name": k.value,
|
|
8840
8875
|
color: "black"
|
|
8841
8876
|
}, null, 8, ["user-name"]),
|
|
8842
|
-
f("span", null,
|
|
8877
|
+
f("span", null, x(k.value), 1)
|
|
8843
8878
|
])
|
|
8844
8879
|
])) : E("", !0)
|
|
8845
8880
|
])
|
|
@@ -8850,7 +8885,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8850
8885
|
}));
|
|
8851
8886
|
}
|
|
8852
8887
|
});
|
|
8853
|
-
const Of = /* @__PURE__ */
|
|
8888
|
+
const Of = /* @__PURE__ */ Y({
|
|
8854
8889
|
__name: "AoRuleLine",
|
|
8855
8890
|
props: {
|
|
8856
8891
|
rule: {},
|
|
@@ -8902,14 +8937,14 @@ const Of = /* @__PURE__ */ x({
|
|
|
8902
8937
|
set($) {
|
|
8903
8938
|
e("update:rule", { ...a.rule, comparator: $ });
|
|
8904
8939
|
}
|
|
8905
|
-
}), u = M(() => Object.values(
|
|
8940
|
+
}), u = M(() => Object.values(x2)), c = jt(a.rule.trigger), v = M({
|
|
8906
8941
|
get() {
|
|
8907
8942
|
return c.value;
|
|
8908
8943
|
},
|
|
8909
8944
|
set($) {
|
|
8910
8945
|
e("update:rule", { ...a.rule, trigger: $ });
|
|
8911
8946
|
}
|
|
8912
|
-
}), h = M(() => Object.values(
|
|
8947
|
+
}), h = M(() => Object.values(Y2)), w = M({
|
|
8913
8948
|
get() {
|
|
8914
8949
|
return a.rule.duration;
|
|
8915
8950
|
},
|
|
@@ -8926,22 +8961,22 @@ const Of = /* @__PURE__ */ x({
|
|
|
8926
8961
|
}), g = M(() => Object.values(K2));
|
|
8927
8962
|
return ($, b) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
|
|
8928
8963
|
default: F(() => [
|
|
8929
|
-
T(
|
|
8964
|
+
T(ee(ct), {
|
|
8930
8965
|
modelValue: n.value,
|
|
8931
8966
|
"onUpdate:modelValue": b[0] || (b[0] = (m) => n.value = m),
|
|
8932
8967
|
options: i.value
|
|
8933
8968
|
}, null, 8, ["modelValue", "options"]),
|
|
8934
|
-
T(
|
|
8969
|
+
T(ee(ct), {
|
|
8935
8970
|
modelValue: o.value,
|
|
8936
8971
|
"onUpdate:modelValue": b[1] || (b[1] = (m) => o.value = m),
|
|
8937
8972
|
options: l.value
|
|
8938
8973
|
}, null, 8, ["modelValue", "options"]),
|
|
8939
|
-
T(
|
|
8974
|
+
T(ee(ct), {
|
|
8940
8975
|
modelValue: v.value,
|
|
8941
8976
|
"onUpdate:modelValue": b[2] || (b[2] = (m) => v.value = m),
|
|
8942
8977
|
options: h.value
|
|
8943
8978
|
}, null, 8, ["modelValue", "options"]),
|
|
8944
|
-
T(
|
|
8979
|
+
T(ee(ct), {
|
|
8945
8980
|
modelValue: d.value,
|
|
8946
8981
|
"onUpdate:modelValue": b[3] || (b[3] = (m) => d.value = m),
|
|
8947
8982
|
options: u.value
|
|
@@ -8958,7 +8993,7 @@ const Of = /* @__PURE__ */ x({
|
|
|
8958
8993
|
{ number: !0 }
|
|
8959
8994
|
]
|
|
8960
8995
|
]),
|
|
8961
|
-
T(
|
|
8996
|
+
T(ee(ct), {
|
|
8962
8997
|
modelValue: _.value,
|
|
8963
8998
|
"onUpdate:modelValue": b[5] || (b[5] = (m) => _.value = m),
|
|
8964
8999
|
options: g.value
|
|
@@ -8974,7 +9009,7 @@ const Of = /* @__PURE__ */ x({
|
|
|
8974
9009
|
}));
|
|
8975
9010
|
}
|
|
8976
9011
|
});
|
|
8977
|
-
const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rules__list" }, Lf = /* @__PURE__ */
|
|
9012
|
+
const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rules__list" }, Lf = /* @__PURE__ */ Y({
|
|
8978
9013
|
__name: "AoTemplateRules",
|
|
8979
9014
|
props: {
|
|
8980
9015
|
templateId: {},
|
|
@@ -9031,7 +9066,7 @@ function Mt(t, e, a) {
|
|
|
9031
9066
|
const Pf = {
|
|
9032
9067
|
key: 0,
|
|
9033
9068
|
class: "ao-template-details"
|
|
9034
|
-
}, Hf = { class: "ao-template-details__body" }, Vf = { class: "ao-template-details__cols" }, Df = { class: "ao-template-details__col" }, Bf = { class: "ao-list__footer" }, Rf = { class: "ao-template-details__col" }, jf = { class: "ao-template-details__col" }, Nf = /* @__PURE__ */
|
|
9069
|
+
}, Hf = { class: "ao-template-details__body" }, Vf = { class: "ao-template-details__cols" }, Df = { class: "ao-template-details__col" }, Bf = { class: "ao-list__footer" }, Rf = { class: "ao-template-details__col" }, jf = { class: "ao-template-details__col" }, Nf = /* @__PURE__ */ Y({
|
|
9035
9070
|
__name: "AoTemplateDetails",
|
|
9036
9071
|
props: {
|
|
9037
9072
|
templateId: {},
|
|
@@ -9100,7 +9135,7 @@ const Pf = {
|
|
|
9100
9135
|
var L, O;
|
|
9101
9136
|
return ((O = (L = n.value) == null ? void 0 : L.phases) == null ? void 0 : O.reduce((k, U) => {
|
|
9102
9137
|
const V = (U.milestones || []).reduce(
|
|
9103
|
-
(
|
|
9138
|
+
(le, ne) => ne.activities ? [...le, ...ne.activities] : le,
|
|
9104
9139
|
[]
|
|
9105
9140
|
);
|
|
9106
9141
|
return [...k, ...V];
|
|
@@ -9222,11 +9257,11 @@ const Pf = {
|
|
|
9222
9257
|
templateId: a.templateId,
|
|
9223
9258
|
data: k
|
|
9224
9259
|
});
|
|
9225
|
-
},
|
|
9226
|
-
|
|
9227
|
-
},
|
|
9260
|
+
}, B = q(!1), R = () => {
|
|
9261
|
+
B.value = !B.value;
|
|
9262
|
+
}, W = () => {
|
|
9228
9263
|
e("addRule", { templateId: a.templateId });
|
|
9229
|
-
},
|
|
9264
|
+
}, K = (L) => {
|
|
9230
9265
|
e("removeRule", { id: L, templateId: a.templateId });
|
|
9231
9266
|
}, te = (L) => {
|
|
9232
9267
|
var O;
|
|
@@ -9250,14 +9285,14 @@ const Pf = {
|
|
|
9250
9285
|
templateId: a.templateId,
|
|
9251
9286
|
item: L
|
|
9252
9287
|
});
|
|
9253
|
-
},
|
|
9288
|
+
}, G = (L) => {
|
|
9254
9289
|
!o.value || !l.value || !u.value || e("updateItem", {
|
|
9255
9290
|
itemType: me.TASKS,
|
|
9256
9291
|
id: L.id,
|
|
9257
9292
|
templateId: a.templateId,
|
|
9258
9293
|
data: L
|
|
9259
9294
|
});
|
|
9260
|
-
},
|
|
9295
|
+
}, ie = (L) => {
|
|
9261
9296
|
!o.value || !l.value || !u.value || e("removeItem", {
|
|
9262
9297
|
itemType: me.TASKS,
|
|
9263
9298
|
activityId: u.value.id,
|
|
@@ -9268,23 +9303,23 @@ const Pf = {
|
|
|
9268
9303
|
});
|
|
9269
9304
|
}, se = (L) => {
|
|
9270
9305
|
e("addFiles", L);
|
|
9271
|
-
},
|
|
9306
|
+
}, Q = (L) => {
|
|
9272
9307
|
e("removeFile", L);
|
|
9273
9308
|
};
|
|
9274
9309
|
return (L, O) => {
|
|
9275
|
-
var k, U, y, V,
|
|
9310
|
+
var k, U, y, V, le, ne;
|
|
9276
9311
|
return n.value ? (p(), C("div", Pf, [
|
|
9277
9312
|
T(ba, {
|
|
9278
9313
|
"can-go-back": !0,
|
|
9279
|
-
onGoBack: O[1] || (O[1] = (
|
|
9314
|
+
onGoBack: O[1] || (O[1] = (z) => L.$router.push({ name: ee(Rt).TEMPLATES_LIST }))
|
|
9280
9315
|
}, {
|
|
9281
9316
|
primary: F(() => [
|
|
9282
9317
|
T(be, {
|
|
9283
9318
|
title: c.value,
|
|
9284
9319
|
level: 2,
|
|
9285
9320
|
"is-editable": !0,
|
|
9286
|
-
"onUpdate:title": O[0] || (O[0] = (
|
|
9287
|
-
h(
|
|
9321
|
+
"onUpdate:title": O[0] || (O[0] = (z) => {
|
|
9322
|
+
h(z);
|
|
9288
9323
|
})
|
|
9289
9324
|
}, null, 8, ["title"])
|
|
9290
9325
|
]),
|
|
@@ -9293,7 +9328,7 @@ const Pf = {
|
|
|
9293
9328
|
f("div", Hf, [
|
|
9294
9329
|
f("ol", Vf, [
|
|
9295
9330
|
f("li", Df, [
|
|
9296
|
-
T(
|
|
9331
|
+
T(ee(gt), {
|
|
9297
9332
|
"model-value": n.value.phases,
|
|
9298
9333
|
class: "ao-templates__list",
|
|
9299
9334
|
"item-key": "id",
|
|
@@ -9307,22 +9342,22 @@ const Pf = {
|
|
|
9307
9342
|
class: "ao-list__title"
|
|
9308
9343
|
}, null, 8, ["title"])
|
|
9309
9344
|
]),
|
|
9310
|
-
item: F(({ element:
|
|
9345
|
+
item: F(({ element: z }) => {
|
|
9311
9346
|
var H;
|
|
9312
9347
|
return [
|
|
9313
9348
|
T(y5, {
|
|
9314
|
-
id:
|
|
9315
|
-
name:
|
|
9316
|
-
milestones:
|
|
9317
|
-
"is-active": ((H = o.value) == null ? void 0 : H.id) ===
|
|
9349
|
+
id: z.id,
|
|
9350
|
+
name: z.name,
|
|
9351
|
+
milestones: z.milestones,
|
|
9352
|
+
"is-active": ((H = o.value) == null ? void 0 : H.id) === z.id,
|
|
9318
9353
|
"is-draggable": !0,
|
|
9319
|
-
onClick: (
|
|
9320
|
-
params: { templateId: L.templateId, phaseId:
|
|
9354
|
+
onClick: (X) => L.$router.push({
|
|
9355
|
+
params: { templateId: L.templateId, phaseId: z.id }
|
|
9321
9356
|
}),
|
|
9322
|
-
"onUpdate:title": (
|
|
9323
|
-
_(
|
|
9357
|
+
"onUpdate:title": (X) => {
|
|
9358
|
+
_(z.id, X);
|
|
9324
9359
|
},
|
|
9325
|
-
onRemove: () => w(
|
|
9360
|
+
onRemove: () => w(z.id)
|
|
9326
9361
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
9327
9362
|
];
|
|
9328
9363
|
}),
|
|
@@ -9365,45 +9400,45 @@ const Pf = {
|
|
|
9365
9400
|
])
|
|
9366
9401
|
]),
|
|
9367
9402
|
(p(), D(Tt, { to: "body" }, [
|
|
9368
|
-
u.value ? (p(), D(
|
|
9403
|
+
u.value ? (p(), D(xs, {
|
|
9369
9404
|
key: 0,
|
|
9370
9405
|
activity: u.value,
|
|
9371
9406
|
"activity-types": L.activityTypes,
|
|
9372
|
-
breadcrumbs: `${n.value.name} / ${(V = o.value) == null ? void 0 : V.name} / ${(
|
|
9407
|
+
breadcrumbs: `${n.value.name} / ${(V = o.value) == null ? void 0 : V.name} / ${(le = l.value) == null ? void 0 : le.name}`,
|
|
9373
9408
|
"milestone-id": (ne = l.value) == null ? void 0 : ne.id,
|
|
9374
9409
|
"template-activities": d.value,
|
|
9375
9410
|
"template-milestones": r.value,
|
|
9376
9411
|
"is-template": !0,
|
|
9377
9412
|
"is-editable": !0,
|
|
9378
9413
|
users: L.users,
|
|
9379
|
-
"onUpdate:activity": O[2] || (O[2] = (
|
|
9380
|
-
u.value && A(
|
|
9414
|
+
"onUpdate:activity": O[2] || (O[2] = (z) => {
|
|
9415
|
+
u.value && A(z);
|
|
9381
9416
|
}),
|
|
9382
9417
|
"attachment-enabled": !1,
|
|
9383
9418
|
onClose: L.$router.back,
|
|
9384
9419
|
onAddSubtask: N,
|
|
9385
|
-
onUpdateSubtask:
|
|
9386
|
-
onDeleteSubtask:
|
|
9420
|
+
onUpdateSubtask: G,
|
|
9421
|
+
onDeleteSubtask: ie,
|
|
9387
9422
|
onAddFiles: se,
|
|
9388
|
-
onRemoveFile:
|
|
9423
|
+
onRemoveFile: Q
|
|
9389
9424
|
}, {
|
|
9390
|
-
default: F((
|
|
9391
|
-
ae(L.$slots, "activityDetailsBody", ha(ma(
|
|
9425
|
+
default: F((z) => [
|
|
9426
|
+
ae(L.$slots, "activityDetailsBody", ha(ma(z)))
|
|
9392
9427
|
]),
|
|
9393
9428
|
_: 3
|
|
9394
9429
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : E("", !0)
|
|
9395
9430
|
])),
|
|
9396
9431
|
(p(), D(Tt, { to: "body" }, [
|
|
9397
|
-
|
|
9432
|
+
B.value ? (p(), D(Lf, {
|
|
9398
9433
|
key: 0,
|
|
9399
9434
|
"template-id": n.value.id,
|
|
9400
9435
|
rules: n.value.rules || [],
|
|
9401
9436
|
"template-phases": n.value.phases,
|
|
9402
9437
|
"template-milestones": r.value,
|
|
9403
9438
|
"template-activities": d.value,
|
|
9404
|
-
onClose:
|
|
9405
|
-
onAddRule:
|
|
9406
|
-
onRemoveRule:
|
|
9439
|
+
onClose: R,
|
|
9440
|
+
onAddRule: W,
|
|
9441
|
+
onRemoveRule: K
|
|
9407
9442
|
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : E("", !0)
|
|
9408
9443
|
]))
|
|
9409
9444
|
])) : E("", !0);
|
|
@@ -9416,7 +9451,7 @@ const Uf = { class: "ao-card__content" }, Ff = {
|
|
|
9416
9451
|
}, Zf = { class: "ao-card__body" }, Wf = {
|
|
9417
9452
|
key: 1,
|
|
9418
9453
|
class: "ao-card__footer"
|
|
9419
|
-
}, is = /* @__PURE__ */
|
|
9454
|
+
}, is = /* @__PURE__ */ Y({
|
|
9420
9455
|
__name: "AoCard",
|
|
9421
9456
|
props: {
|
|
9422
9457
|
isClickable: { type: Boolean },
|
|
@@ -9427,7 +9462,7 @@ const Uf = { class: "ao-card__content" }, Ff = {
|
|
|
9427
9462
|
},
|
|
9428
9463
|
setup(t) {
|
|
9429
9464
|
return (e, a) => (p(), D(mt(e.tagName), {
|
|
9430
|
-
class:
|
|
9465
|
+
class: J([
|
|
9431
9466
|
"ao-card",
|
|
9432
9467
|
{
|
|
9433
9468
|
"ao-card--clickable": e.isClickable
|
|
@@ -9457,7 +9492,7 @@ const Uf = { class: "ao-card__content" }, Ff = {
|
|
|
9457
9492
|
}, 8, ["class", "style"]));
|
|
9458
9493
|
}
|
|
9459
9494
|
});
|
|
9460
|
-
const ls = /* @__PURE__ */
|
|
9495
|
+
const ls = /* @__PURE__ */ Y({
|
|
9461
9496
|
__name: "AoProgress",
|
|
9462
9497
|
props: {
|
|
9463
9498
|
percentages: {},
|
|
@@ -9467,12 +9502,12 @@ const ls = /* @__PURE__ */ x({
|
|
|
9467
9502
|
setup(t) {
|
|
9468
9503
|
const e = t, a = M(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
9469
9504
|
return (s, n) => (p(), C("div", {
|
|
9470
|
-
class:
|
|
9505
|
+
class: J(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
|
|
9471
9506
|
role: "meter"
|
|
9472
9507
|
}, [
|
|
9473
9508
|
(p(!0), C(fe, null, Ce(a.value, (i) => (p(), C("div", {
|
|
9474
9509
|
key: i,
|
|
9475
|
-
class:
|
|
9510
|
+
class: J(["ao-progress__progress"]),
|
|
9476
9511
|
style: We({
|
|
9477
9512
|
width: `${i * 100}%`,
|
|
9478
9513
|
"--ao-progress-color": s.color || "var(--ao-color-primary-base)"
|
|
@@ -9489,10 +9524,10 @@ const ls = /* @__PURE__ */ x({
|
|
|
9489
9524
|
function kt(t) {
|
|
9490
9525
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
9491
9526
|
/#/.test(t) ? e = qf(t) : /rgb/.test(t) ? e = In(t) : typeof t == "string" ? e = In(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
9492
|
-
const { r: a, g: s, b: n, a: i } = e, { h: o, s: l, v: r } =
|
|
9527
|
+
const { r: a, g: s, b: n, a: i } = e, { h: o, s: l, v: r } = xf(e);
|
|
9493
9528
|
return { r: a, g: s, b: n, a: i === void 0 ? 1 : i, h: o, s: l, v: r };
|
|
9494
9529
|
}
|
|
9495
|
-
function
|
|
9530
|
+
function Ys(t) {
|
|
9496
9531
|
const e = document.createElement("canvas"), a = e.getContext("2d"), s = t * 2;
|
|
9497
9532
|
return e.width = s, e.height = s, a.fillStyle = "#ffffff", a.fillRect(0, 0, s, s), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
9498
9533
|
}
|
|
@@ -9521,7 +9556,7 @@ function In(t) {
|
|
|
9521
9556
|
a: Number(t[3] ? t[3] : 1)
|
|
9522
9557
|
}) : t;
|
|
9523
9558
|
}
|
|
9524
|
-
function
|
|
9559
|
+
function xf({ r: t, g: e, b: a }) {
|
|
9525
9560
|
t = t / 255, e = e / 255, a = a / 255;
|
|
9526
9561
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), i = s - n;
|
|
9527
9562
|
let o = 0;
|
|
@@ -9529,7 +9564,7 @@ function Yf({ r: t, g: e, b: a }) {
|
|
|
9529
9564
|
let l = parseFloat((s === 0 ? 0 : 1 - n / s).toFixed(2)), r = parseFloat(s.toFixed(2));
|
|
9530
9565
|
return { h: o, s: l, v: r };
|
|
9531
9566
|
}
|
|
9532
|
-
var Ks =
|
|
9567
|
+
var Ks = Y({
|
|
9533
9568
|
props: {
|
|
9534
9569
|
color: {
|
|
9535
9570
|
type: String,
|
|
@@ -9588,7 +9623,7 @@ var Ks = x({
|
|
|
9588
9623
|
}
|
|
9589
9624
|
}
|
|
9590
9625
|
});
|
|
9591
|
-
const
|
|
9626
|
+
const Yf = { ref: "canvasSaturation" };
|
|
9592
9627
|
function Kf(t, e, a, s, n, i) {
|
|
9593
9628
|
return p(), D(
|
|
9594
9629
|
"div",
|
|
@@ -9599,7 +9634,7 @@ function Kf(t, e, a, s, n, i) {
|
|
|
9599
9634
|
[
|
|
9600
9635
|
T(
|
|
9601
9636
|
"canvas",
|
|
9602
|
-
|
|
9637
|
+
Yf,
|
|
9603
9638
|
null,
|
|
9604
9639
|
512
|
|
9605
9640
|
/* NEED_PATCH */
|
|
@@ -9621,7 +9656,7 @@ function Kf(t, e, a, s, n, i) {
|
|
|
9621
9656
|
}
|
|
9622
9657
|
Ks.render = Kf;
|
|
9623
9658
|
Ks.__file = "src/color/Saturation.vue";
|
|
9624
|
-
var Gs =
|
|
9659
|
+
var Gs = Y({
|
|
9625
9660
|
props: {
|
|
9626
9661
|
hsv: {
|
|
9627
9662
|
type: Object,
|
|
@@ -9707,7 +9742,7 @@ function Xf(t, e, a, s, n, i) {
|
|
|
9707
9742
|
}
|
|
9708
9743
|
Gs.render = Xf;
|
|
9709
9744
|
Gs.__file = "src/color/Hue.vue";
|
|
9710
|
-
var Xs =
|
|
9745
|
+
var Xs = Y({
|
|
9711
9746
|
props: {
|
|
9712
9747
|
color: {
|
|
9713
9748
|
type: String,
|
|
@@ -9746,7 +9781,7 @@ var Xs = x({
|
|
|
9746
9781
|
},
|
|
9747
9782
|
methods: {
|
|
9748
9783
|
renderColor() {
|
|
9749
|
-
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, s = this.alphaSize, n =
|
|
9784
|
+
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, s = this.alphaSize, n = Ys(s), i = t.getContext("2d");
|
|
9750
9785
|
t.width = e, t.height = a, i.fillStyle = i.createPattern(n, "repeat"), i.fillRect(0, 0, e, a), Ms("p", i, e, a, "rgba(255,255,255,0)", this.color);
|
|
9751
9786
|
},
|
|
9752
9787
|
renderSlide() {
|
|
@@ -9802,7 +9837,7 @@ function Jf(t, e, a, s, n, i) {
|
|
|
9802
9837
|
}
|
|
9803
9838
|
Xs.render = Jf;
|
|
9804
9839
|
Xs.__file = "src/color/Alpha.vue";
|
|
9805
|
-
var Qs =
|
|
9840
|
+
var Qs = Y({
|
|
9806
9841
|
props: {
|
|
9807
9842
|
color: {
|
|
9808
9843
|
type: String,
|
|
@@ -9832,7 +9867,7 @@ var Qs = x({
|
|
|
9832
9867
|
},
|
|
9833
9868
|
methods: {
|
|
9834
9869
|
renderColor() {
|
|
9835
|
-
const t = this.$el, e = this.width, a = this.height, s = this.alphaSize, n =
|
|
9870
|
+
const t = this.$el, e = this.width, a = this.height, s = this.alphaSize, n = Ys(s), i = t.getContext("2d");
|
|
9836
9871
|
t.width = e, t.height = a, i.fillStyle = i.createPattern(n, "repeat"), i.fillRect(0, 0, e, a), i.fillStyle = this.color, i.fillRect(0, 0, e, a);
|
|
9837
9872
|
}
|
|
9838
9873
|
}
|
|
@@ -9842,7 +9877,7 @@ function eh(t, e, a, s, n, i) {
|
|
|
9842
9877
|
}
|
|
9843
9878
|
Qs.render = eh;
|
|
9844
9879
|
Qs.__file = "src/color/Preview.vue";
|
|
9845
|
-
var Js =
|
|
9880
|
+
var Js = Y({
|
|
9846
9881
|
props: {
|
|
9847
9882
|
suckerCanvas: {
|
|
9848
9883
|
type: Object,
|
|
@@ -9971,7 +10006,7 @@ function nh(t, e, a, s, n, i) {
|
|
|
9971
10006
|
}
|
|
9972
10007
|
Js.render = nh;
|
|
9973
10008
|
Js.__file = "src/color/Sucker.vue";
|
|
9974
|
-
var en =
|
|
10009
|
+
var en = Y({
|
|
9975
10010
|
props: {
|
|
9976
10011
|
name: {
|
|
9977
10012
|
type: String,
|
|
@@ -10008,7 +10043,7 @@ function lh(t, e, a, s, n, i) {
|
|
|
10008
10043
|
T(
|
|
10009
10044
|
"span",
|
|
10010
10045
|
ih,
|
|
10011
|
-
|
|
10046
|
+
x(t.name),
|
|
10012
10047
|
1
|
|
10013
10048
|
/* TEXT */
|
|
10014
10049
|
),
|
|
@@ -10030,7 +10065,7 @@ function lh(t, e, a, s, n, i) {
|
|
|
10030
10065
|
}
|
|
10031
10066
|
en.render = lh;
|
|
10032
10067
|
en.__file = "src/color/Box.vue";
|
|
10033
|
-
var tn =
|
|
10068
|
+
var tn = Y({
|
|
10034
10069
|
name: "ColorPicker",
|
|
10035
10070
|
props: {
|
|
10036
10071
|
color: {
|
|
@@ -10049,7 +10084,7 @@ var tn = x({
|
|
|
10049
10084
|
emits: ["selectColor"],
|
|
10050
10085
|
setup(t, { emit: e }) {
|
|
10051
10086
|
const a = q(), s = q([]), n = q();
|
|
10052
|
-
t.colorsHistoryKey && localStorage && (s.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), n.value =
|
|
10087
|
+
t.colorsHistoryKey && localStorage && (s.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), n.value = Ys(4).toDataURL(), Os(() => {
|
|
10053
10088
|
i(a.value);
|
|
10054
10089
|
});
|
|
10055
10090
|
function i(l) {
|
|
@@ -10148,7 +10183,7 @@ function ch(t, e, a, s, n, i) {
|
|
|
10148
10183
|
}
|
|
10149
10184
|
tn.render = ch;
|
|
10150
10185
|
tn.__file = "src/color/Colors.vue";
|
|
10151
|
-
var Ut =
|
|
10186
|
+
var Ut = Y({
|
|
10152
10187
|
components: {
|
|
10153
10188
|
Saturation: Ks,
|
|
10154
10189
|
Hue: Gs,
|
|
@@ -10410,7 +10445,7 @@ Ut.__file = "src/color/ColorPicker.vue";
|
|
|
10410
10445
|
Ut.install = (t) => {
|
|
10411
10446
|
t.component(Ut.name, Ut);
|
|
10412
10447
|
};
|
|
10413
|
-
const vh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */
|
|
10448
|
+
const vh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
|
|
10414
10449
|
__name: "AoColorPicker",
|
|
10415
10450
|
props: {
|
|
10416
10451
|
color: {}
|
|
@@ -10453,7 +10488,7 @@ const vh = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ x({
|
|
|
10453
10488
|
class: "color-picker",
|
|
10454
10489
|
style: We(d.value)
|
|
10455
10490
|
}, [
|
|
10456
|
-
T(
|
|
10491
|
+
T(ee(Ut), {
|
|
10457
10492
|
class: "color-picker-box",
|
|
10458
10493
|
theme: "light",
|
|
10459
10494
|
color: h.color,
|
|
@@ -10472,7 +10507,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10472
10507
|
}, _h = { class: "ao-card-project-phase__subitem" }, yh = { class: "ao-card-project-phase__subitem" }, bh = {
|
|
10473
10508
|
key: 0,
|
|
10474
10509
|
class: "ao-card-project-phase__secondary"
|
|
10475
|
-
}, wh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, $h = /* @__PURE__ */
|
|
10510
|
+
}, wh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, $h = /* @__PURE__ */ Y({
|
|
10476
10511
|
__name: "AoCardProjectItemPhase",
|
|
10477
10512
|
props: {
|
|
10478
10513
|
id: {},
|
|
@@ -10540,7 +10575,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10540
10575
|
"is-editable": c.isEditable,
|
|
10541
10576
|
"onUpdate:title": s
|
|
10542
10577
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10543
|
-
n.value ? (p(), C("span", mh, " (" +
|
|
10578
|
+
n.value ? (p(), C("span", mh, " (" + x(n.value) + ")", 1)) : E("", !0)
|
|
10544
10579
|
])
|
|
10545
10580
|
]),
|
|
10546
10581
|
footer: F(() => [
|
|
@@ -10551,7 +10586,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10551
10586
|
name: "MountainFlagOutlineRounded",
|
|
10552
10587
|
size: "sm"
|
|
10553
10588
|
}),
|
|
10554
|
-
f("span", yh,
|
|
10589
|
+
f("span", yh, x(o.value) + " / " + x(i.value), 1)
|
|
10555
10590
|
]),
|
|
10556
10591
|
T(ls, {
|
|
10557
10592
|
percentages: l.value,
|
|
@@ -10563,7 +10598,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10563
10598
|
])) : E("", !0)
|
|
10564
10599
|
])) : E("", !0),
|
|
10565
10600
|
f("div", {
|
|
10566
|
-
class:
|
|
10601
|
+
class: J(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
10567
10602
|
}, [
|
|
10568
10603
|
c.isEditable ? De((p(), C("input", {
|
|
10569
10604
|
key: 0,
|
|
@@ -10578,7 +10613,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10578
10613
|
{ lazy: !0 }
|
|
10579
10614
|
]
|
|
10580
10615
|
]) : E("", !0),
|
|
10581
|
-
f("span", wh,
|
|
10616
|
+
f("span", wh, x(ee(Qa)(c.deadline)), 1)
|
|
10582
10617
|
], 2)
|
|
10583
10618
|
])
|
|
10584
10619
|
]),
|
|
@@ -10612,7 +10647,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10612
10647
|
}, 8, ["color"]));
|
|
10613
10648
|
}
|
|
10614
10649
|
});
|
|
10615
|
-
const kh = /* @__PURE__ */
|
|
10650
|
+
const kh = /* @__PURE__ */ Y({
|
|
10616
10651
|
__name: "AoBadge",
|
|
10617
10652
|
props: {
|
|
10618
10653
|
color: {}
|
|
@@ -10639,7 +10674,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10639
10674
|
}, Bh = { class: "ao-field__label" }, Rh = {
|
|
10640
10675
|
key: 2,
|
|
10641
10676
|
class: "ao-card-project-milestone__assignee"
|
|
10642
|
-
}, jh = /* @__PURE__ */
|
|
10677
|
+
}, jh = /* @__PURE__ */ Y({
|
|
10643
10678
|
__name: "AoCardProjectItemMilestone",
|
|
10644
10679
|
props: {
|
|
10645
10680
|
id: {},
|
|
@@ -10673,7 +10708,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10673
10708
|
e("updateMilestone", { id: a.id, name: r });
|
|
10674
10709
|
};
|
|
10675
10710
|
return (r, d) => (p(), D(is, {
|
|
10676
|
-
class:
|
|
10711
|
+
class: J([
|
|
10677
10712
|
"ao-card-project-milestone"
|
|
10678
10713
|
]),
|
|
10679
10714
|
"is-clickable": !r.readonly,
|
|
@@ -10696,7 +10731,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10696
10731
|
class: "ao-card-project-milestone__title",
|
|
10697
10732
|
"onUpdate:title": l
|
|
10698
10733
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10699
|
-
s.value ? (p(), C("span", Th, " (" +
|
|
10734
|
+
s.value ? (p(), C("span", Th, " (" + x(s.value) + ")", 1)) : E("", !0)
|
|
10700
10735
|
])
|
|
10701
10736
|
]),
|
|
10702
10737
|
!r.readonly && r.isEditable ? (p(), C("div", Oh, [
|
|
@@ -10723,7 +10758,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10723
10758
|
name: "SelectCheckBox",
|
|
10724
10759
|
size: "sm"
|
|
10725
10760
|
}),
|
|
10726
|
-
f("span", Ph,
|
|
10761
|
+
f("span", Ph, x(i.value) + " / " + x(n.value), 1)
|
|
10727
10762
|
]),
|
|
10728
10763
|
T(ls, {
|
|
10729
10764
|
percentages: o.value,
|
|
@@ -10742,17 +10777,17 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10742
10777
|
r.important ? (p(), D(pe, {
|
|
10743
10778
|
key: 0,
|
|
10744
10779
|
name: "FlagRounded",
|
|
10745
|
-
class:
|
|
10780
|
+
class: J(
|
|
10746
10781
|
r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
10747
10782
|
),
|
|
10748
10783
|
size: "sm"
|
|
10749
10784
|
}, null, 8, ["class"])) : E("", !0),
|
|
10750
10785
|
r.deadline ? (p(), C("label", Dh, [
|
|
10751
|
-
f("span", Bh,
|
|
10786
|
+
f("span", Bh, x(ee(Qa)(r.deadline)), 1)
|
|
10752
10787
|
])) : E("", !0),
|
|
10753
10788
|
r.assignee ? (p(), C("div", Rh, [
|
|
10754
10789
|
T(et, {
|
|
10755
|
-
"user-name":
|
|
10790
|
+
"user-name": ee(Gn)(r.assignee),
|
|
10756
10791
|
"avatar-url": r.assignee.avatarUrl,
|
|
10757
10792
|
color: r.isSelected ? "black" : "primary",
|
|
10758
10793
|
size: "sm"
|
|
@@ -10770,10 +10805,10 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10770
10805
|
}, Zh = { class: "ao-mapping-card-project-phase__footer" }, Wh = {
|
|
10771
10806
|
key: 0,
|
|
10772
10807
|
class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
|
|
10773
|
-
}, zh = { class: "ao-mapping-card-project-phase__subitem" }, qh = { class: "ao-mapping-card-project-phase__subitem" },
|
|
10808
|
+
}, zh = { class: "ao-mapping-card-project-phase__subitem" }, qh = { class: "ao-mapping-card-project-phase__subitem" }, xh = {
|
|
10774
10809
|
key: 0,
|
|
10775
10810
|
class: "ao-mapping-card-project-phase__secondary"
|
|
10776
|
-
},
|
|
10811
|
+
}, Yh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, Kh = /* @__PURE__ */ Y({
|
|
10777
10812
|
__name: "AoCondensedCardProjectItemPhase",
|
|
10778
10813
|
props: {
|
|
10779
10814
|
id: {},
|
|
@@ -10841,7 +10876,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10841
10876
|
"is-editable": c.isEditable,
|
|
10842
10877
|
"onUpdate:title": s
|
|
10843
10878
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10844
|
-
n.value ? (p(), C("span", Fh, " (" +
|
|
10879
|
+
n.value ? (p(), C("span", Fh, " (" + x(n.value) + ")", 1)) : E("", !0)
|
|
10845
10880
|
])
|
|
10846
10881
|
]),
|
|
10847
10882
|
footer: F(() => [
|
|
@@ -10852,19 +10887,19 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10852
10887
|
name: "MountainFlagOutlineRounded",
|
|
10853
10888
|
size: "sm"
|
|
10854
10889
|
}),
|
|
10855
|
-
f("span", qh,
|
|
10890
|
+
f("span", qh, x(o.value) + " / " + x(i.value), 1)
|
|
10856
10891
|
]),
|
|
10857
10892
|
T(ls, {
|
|
10858
10893
|
percentages: l.value,
|
|
10859
10894
|
class: "ao-mapping-card-project-phase__progress",
|
|
10860
10895
|
color: d.value
|
|
10861
10896
|
}, null, 8, ["percentages", "color"]),
|
|
10862
|
-
c.$slots.secondary ? (p(), C("div",
|
|
10897
|
+
c.$slots.secondary ? (p(), C("div", xh, [
|
|
10863
10898
|
ae(c.$slots, "secondary")
|
|
10864
10899
|
])) : E("", !0)
|
|
10865
10900
|
])) : E("", !0),
|
|
10866
10901
|
f("div", {
|
|
10867
|
-
class:
|
|
10902
|
+
class: J(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
|
|
10868
10903
|
}, [
|
|
10869
10904
|
c.isEditable ? De((p(), C("input", {
|
|
10870
10905
|
key: 0,
|
|
@@ -10879,7 +10914,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10879
10914
|
{ lazy: !0 }
|
|
10880
10915
|
]
|
|
10881
10916
|
]) : E("", !0),
|
|
10882
|
-
f("span",
|
|
10917
|
+
f("span", Yh, x(ee(Qa)(c.deadline)), 1)
|
|
10883
10918
|
], 2)
|
|
10884
10919
|
])
|
|
10885
10920
|
]),
|
|
@@ -10925,7 +10960,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10925
10960
|
}, e9 = {
|
|
10926
10961
|
key: 0,
|
|
10927
10962
|
class: "ao-project-phase__col-milestones"
|
|
10928
|
-
}, t9 = { class: "ao-project-phase__milestones-list-footer" }, a9 = /* @__PURE__ */
|
|
10963
|
+
}, t9 = { class: "ao-project-phase__milestones-list-footer" }, a9 = /* @__PURE__ */ Y({
|
|
10929
10964
|
__name: "AoProjectPhase",
|
|
10930
10965
|
props: {
|
|
10931
10966
|
phase: {},
|
|
@@ -10979,7 +11014,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
10979
11014
|
id: b.moved.element.id,
|
|
10980
11015
|
rank: Ft(l.value, b.moved.newIndex)
|
|
10981
11016
|
});
|
|
10982
|
-
}, _ =
|
|
11017
|
+
}, _ = xo(), g = M(() => _.path.includes("/mapping")), $ = M(() => {
|
|
10983
11018
|
var b;
|
|
10984
11019
|
return a.phase.id !== ((b = _.params) == null ? void 0 : b.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: N3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
|
|
10985
11020
|
});
|
|
@@ -11031,7 +11066,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
11031
11066
|
class: "ao-project-phase__milestones",
|
|
11032
11067
|
style: We($.value)
|
|
11033
11068
|
}, [
|
|
11034
|
-
T(
|
|
11069
|
+
T(ee(gt), Me({
|
|
11035
11070
|
class: "ao-project-phase__milestones-list",
|
|
11036
11071
|
list: l.value,
|
|
11037
11072
|
disabled: b.readonly || !b.isEditable,
|
|
@@ -11056,9 +11091,9 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
11056
11091
|
assignee: I.assignee,
|
|
11057
11092
|
important: I.important,
|
|
11058
11093
|
readonly: b.readonly,
|
|
11059
|
-
class:
|
|
11094
|
+
class: J(["ao-project-phase__milestone"]),
|
|
11060
11095
|
onClick: (A) => !b.readonly && b.$router.push({
|
|
11061
|
-
name:
|
|
11096
|
+
name: ee(ye).milestone,
|
|
11062
11097
|
params: { phaseId: b.phase.id, milestoneId: I.id }
|
|
11063
11098
|
}),
|
|
11064
11099
|
onUpdateMilestone: d,
|
|
@@ -11086,7 +11121,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
11086
11121
|
const s9 = { class: "ao-project__phases" }, n9 = {
|
|
11087
11122
|
key: 0,
|
|
11088
11123
|
class: "ao-project-phase__phases-list-footer"
|
|
11089
|
-
}, o9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), i9 = { class: "ao-project-phase__col-phase" }, l9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), ho = /* @__PURE__ */
|
|
11124
|
+
}, o9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), i9 = { class: "ao-project-phase__col-phase" }, l9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), ho = /* @__PURE__ */ Y({
|
|
11090
11125
|
__name: "AoProjectPhases",
|
|
11091
11126
|
props: {
|
|
11092
11127
|
phases: {},
|
|
@@ -11127,7 +11162,7 @@ const s9 = { class: "ao-project__phases" }, n9 = {
|
|
|
11127
11162
|
e("addPhase", v);
|
|
11128
11163
|
};
|
|
11129
11164
|
return (v, h) => (p(), C("div", s9, [
|
|
11130
|
-
T(
|
|
11165
|
+
T(ee(gt), {
|
|
11131
11166
|
class: "ao-project-phase__phases-list",
|
|
11132
11167
|
"model-value": v.phases,
|
|
11133
11168
|
"item-key": "id",
|
|
@@ -11167,7 +11202,7 @@ const s9 = { class: "ao-project__phases" }, n9 = {
|
|
|
11167
11202
|
]));
|
|
11168
11203
|
}
|
|
11169
11204
|
});
|
|
11170
|
-
const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9 = { class: "field__row" }, d9 = { class: "ao-add-template-modal__form-footer" }, mo = /* @__PURE__ */
|
|
11205
|
+
const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9 = { class: "field__row" }, d9 = { class: "ao-add-template-modal__form-footer" }, mo = /* @__PURE__ */ Y({
|
|
11171
11206
|
__name: "AoAddTemplateModal",
|
|
11172
11207
|
props: {
|
|
11173
11208
|
projectId: {},
|
|
@@ -11195,7 +11230,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11195
11230
|
class: "ao-add-template-modal__form",
|
|
11196
11231
|
onSubmit: ve(o, ["prevent"])
|
|
11197
11232
|
}, [
|
|
11198
|
-
f("p", null,
|
|
11233
|
+
f("p", null, x(l.$t("project.template.apply.notice")), 1),
|
|
11199
11234
|
f("div", u9, [
|
|
11200
11235
|
f("div", c9, [
|
|
11201
11236
|
T(Ae, {
|
|
@@ -11221,7 +11256,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11221
11256
|
}));
|
|
11222
11257
|
}
|
|
11223
11258
|
});
|
|
11224
|
-
const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9 = { class: "field__row" }, h9 = { class: "ao-field ao-field--inline" }, m9 = { class: "ao-field__label" }, g9 = { class: "ao-save-template-modal__phases" }, C9 = { class: "ao-field__label" }, _9 = { class: "ao-save-template-modal__phases-list" }, y9 = ["value"], b9 = { class: "ao-save-template-modal__form-footer" }, go = /* @__PURE__ */
|
|
11259
|
+
const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9 = { class: "field__row" }, h9 = { class: "ao-field ao-field--inline" }, m9 = { class: "ao-field__label" }, g9 = { class: "ao-save-template-modal__phases" }, C9 = { class: "ao-field__label" }, _9 = { class: "ao-save-template-modal__phases-list" }, y9 = ["value"], b9 = { class: "ao-save-template-modal__form-footer" }, go = /* @__PURE__ */ Y({
|
|
11225
11260
|
__name: "AoSaveTemplateModal",
|
|
11226
11261
|
props: {
|
|
11227
11262
|
phases: {}
|
|
@@ -11250,7 +11285,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11250
11285
|
f("div", v9, [
|
|
11251
11286
|
f("div", f9, [
|
|
11252
11287
|
f("label", h9, [
|
|
11253
|
-
f("span", m9,
|
|
11288
|
+
f("span", m9, x(o.$t("project.template.name.label")) + ": ", 1),
|
|
11254
11289
|
De(f("input", {
|
|
11255
11290
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11256
11291
|
type: "text"
|
|
@@ -11260,7 +11295,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11260
11295
|
])
|
|
11261
11296
|
]),
|
|
11262
11297
|
f("div", g9, [
|
|
11263
|
-
f("div", C9,
|
|
11298
|
+
f("div", C9, x(o.$t("project.template.phases.label")), 1),
|
|
11264
11299
|
f("div", _9, [
|
|
11265
11300
|
(p(!0), C(fe, null, Ce(a.phases, (r) => (p(), C("label", {
|
|
11266
11301
|
class: "ao-field ao-field--checkbox",
|
|
@@ -11273,7 +11308,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11273
11308
|
}, null, 8, y9), [
|
|
11274
11309
|
[Fo, n.value]
|
|
11275
11310
|
]),
|
|
11276
|
-
f("span", null,
|
|
11311
|
+
f("span", null, x(r.name), 1)
|
|
11277
11312
|
]))), 128))
|
|
11278
11313
|
])
|
|
11279
11314
|
])
|
|
@@ -11293,7 +11328,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11293
11328
|
}));
|
|
11294
11329
|
}
|
|
11295
11330
|
});
|
|
11296
|
-
const w9 =
|
|
11331
|
+
const w9 = Y({
|
|
11297
11332
|
props: {
|
|
11298
11333
|
modelValue: {
|
|
11299
11334
|
type: [String, Number],
|
|
@@ -11316,13 +11351,13 @@ function S9(t, e, a, s, n, i) {
|
|
|
11316
11351
|
return p(), C("div", $9, [
|
|
11317
11352
|
(p(!0), C(fe, null, Ce(t.tabs, (o) => (p(), C("button", {
|
|
11318
11353
|
key: o.value,
|
|
11319
|
-
class:
|
|
11354
|
+
class: J(["tab-button", { "tab-button--active": o.value === t.modelValue }]),
|
|
11320
11355
|
type: "button",
|
|
11321
11356
|
onClick: (l) => t.selectTab(o.value)
|
|
11322
|
-
},
|
|
11357
|
+
}, x(o.label), 11, k9))), 128))
|
|
11323
11358
|
]);
|
|
11324
11359
|
}
|
|
11325
|
-
const sn = /* @__PURE__ */ Z(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297"]]), A9 = { class: "ao-project" }, M9 = { class: "ao-project__body" }, T9 = /* @__PURE__ */
|
|
11360
|
+
const sn = /* @__PURE__ */ Z(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297"]]), A9 = { class: "ao-project" }, M9 = { class: "ao-project__body" }, T9 = /* @__PURE__ */ Y({
|
|
11326
11361
|
__name: "AoProjectOverviewProject",
|
|
11327
11362
|
props: {
|
|
11328
11363
|
project: {},
|
|
@@ -11379,26 +11414,26 @@ const sn = /* @__PURE__ */ Z(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11379
11414
|
() => n.value.flatMap((O) => O.activities)
|
|
11380
11415
|
), A = (O) => {
|
|
11381
11416
|
e("addFiles", O);
|
|
11382
|
-
}, R = (O) => {
|
|
11383
|
-
e("removeFile", O);
|
|
11384
11417
|
}, B = (O) => {
|
|
11418
|
+
e("removeFile", O);
|
|
11419
|
+
}, R = (O) => {
|
|
11385
11420
|
e("addComment", O);
|
|
11386
|
-
},
|
|
11421
|
+
}, W = (O) => {
|
|
11387
11422
|
e("updateComment", O);
|
|
11388
|
-
},
|
|
11423
|
+
}, K = (O) => {
|
|
11389
11424
|
e("removeComment", O);
|
|
11390
|
-
}, te = q(!1), N = q(!1),
|
|
11425
|
+
}, te = q(!1), N = q(!1), G = (O, k) => {
|
|
11391
11426
|
e("applyTemplate", { templateId: O, projectId: k }), te.value = !1;
|
|
11392
|
-
},
|
|
11427
|
+
}, ie = (O, k) => {
|
|
11393
11428
|
var V;
|
|
11394
11429
|
const U = (V = a.templates) == null ? void 0 : V.at(-1), y = U ? we.LexoRank.parse(U.rank).genNext() : we.LexoRank.middle();
|
|
11395
11430
|
e("saveTemplate", { templateName: O, rank: y.format(), phaseIds: k }), N.value = !1;
|
|
11396
|
-
}, se = Es(),
|
|
11431
|
+
}, se = Es(), Q = q("overview"), L = [
|
|
11397
11432
|
{ label: "Overview", value: "overview" },
|
|
11398
11433
|
{ label: "Feed", value: "feed" },
|
|
11399
11434
|
{ label: "Mapping", value: "mapping" }
|
|
11400
11435
|
];
|
|
11401
|
-
return ce(
|
|
11436
|
+
return ce(Q, (O) => {
|
|
11402
11437
|
O === "feed" ? (se.push({ name: ye.feed }), console.log("Navigating to feed...")) : O === "overview" ? (se.push({ name: ye.project }), console.log("Navigating to feed...")) : O === "mapping" && (se.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
11403
11438
|
}), (O, k) => {
|
|
11404
11439
|
const U = ut("RouterView");
|
|
@@ -11409,8 +11444,8 @@ const sn = /* @__PURE__ */ Z(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11409
11444
|
primary: F(() => [
|
|
11410
11445
|
T(sn, {
|
|
11411
11446
|
tabs: L,
|
|
11412
|
-
modelValue:
|
|
11413
|
-
"onUpdate:modelValue": k[0] || (k[0] = (y) =>
|
|
11447
|
+
modelValue: Q.value,
|
|
11448
|
+
"onUpdate:modelValue": k[0] || (k[0] = (y) => Q.value = y)
|
|
11414
11449
|
}, null, 8, ["modelValue"]),
|
|
11415
11450
|
T(re, {
|
|
11416
11451
|
class: "ao-feed__show-archived",
|
|
@@ -11469,7 +11504,7 @@ const sn = /* @__PURE__ */ Z(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11469
11504
|
users: O.users,
|
|
11470
11505
|
"is-editable": O.isEditable === !0,
|
|
11471
11506
|
"closed-status": O.closedStatus,
|
|
11472
|
-
onClose: k[4] || (k[4] = (y) => O.$router.push({ name:
|
|
11507
|
+
onClose: k[4] || (k[4] = (y) => O.$router.push({ name: ee(ye).project })),
|
|
11473
11508
|
onUpdateMilestone: c,
|
|
11474
11509
|
onAddActivity: w,
|
|
11475
11510
|
onUpdateActivity: _,
|
|
@@ -11494,10 +11529,10 @@ const sn = /* @__PURE__ */ Z(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11494
11529
|
onUpdateSubtask: m,
|
|
11495
11530
|
onDeleteSubtask: I,
|
|
11496
11531
|
onAddFiles: A,
|
|
11497
|
-
onRemoveFile:
|
|
11498
|
-
onAddComment:
|
|
11499
|
-
onUpdateComment:
|
|
11500
|
-
onRemoveComment:
|
|
11532
|
+
onRemoveFile: B,
|
|
11533
|
+
onAddComment: R,
|
|
11534
|
+
onUpdateComment: W,
|
|
11535
|
+
onRemoveComment: K
|
|
11501
11536
|
}, {
|
|
11502
11537
|
default: F(({ Component: y }) => [
|
|
11503
11538
|
(p(), D(mt(y), null, {
|
|
@@ -11516,14 +11551,14 @@ const sn = /* @__PURE__ */ Z(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11516
11551
|
key: 0,
|
|
11517
11552
|
phases: O.phases,
|
|
11518
11553
|
onClose: k[5] || (k[5] = (y) => N.value = !1),
|
|
11519
|
-
onSave:
|
|
11554
|
+
onSave: ie
|
|
11520
11555
|
}, null, 8, ["phases"])) : E("", !0),
|
|
11521
11556
|
te.value ? (p(), D(mo, {
|
|
11522
11557
|
key: 1,
|
|
11523
11558
|
"project-id": O.project.id,
|
|
11524
11559
|
templates: O.templates,
|
|
11525
11560
|
onClose: k[6] || (k[6] = (y) => te.value = !1),
|
|
11526
|
-
onApply:
|
|
11561
|
+
onApply: G
|
|
11527
11562
|
}, null, 8, ["project-id", "templates"])) : E("", !0)
|
|
11528
11563
|
]))
|
|
11529
11564
|
], 64);
|
|
@@ -11540,7 +11575,7 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11540
11575
|
key: 0,
|
|
11541
11576
|
class: "ao-card-feed__breadcrumbs"
|
|
11542
11577
|
}, H9 = {
|
|
11543
|
-
class: /* @__PURE__ */
|
|
11578
|
+
class: /* @__PURE__ */ J(["ao-card-feed__title-group"])
|
|
11544
11579
|
}, V9 = { class: "ao-card-feed__title-line" }, D9 = {
|
|
11545
11580
|
key: 0,
|
|
11546
11581
|
class: "ao-card-feed__slug"
|
|
@@ -11559,10 +11594,10 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11559
11594
|
}, W9 = { class: "ao-card-feed__subitem" }, z9 = {
|
|
11560
11595
|
key: 1,
|
|
11561
11596
|
class: "ao-card-feed__subitem"
|
|
11562
|
-
}, q9 = { class: "ao-card-feed__subitem" },
|
|
11597
|
+
}, q9 = { class: "ao-card-feed__subitem" }, x9 = { class: "ao-card-feed__footer-row" }, Y9 = {
|
|
11563
11598
|
key: 0,
|
|
11564
11599
|
class: "ao-card-feed__progress-wrapper"
|
|
11565
|
-
}, K9 = { class: "ao-card-feed__subitem" }, G9 = { class: "ao-card-feed__subitem" }, Co = /* @__PURE__ */
|
|
11600
|
+
}, K9 = { class: "ao-card-feed__subitem" }, G9 = { class: "ao-card-feed__subitem" }, Co = /* @__PURE__ */ Y({
|
|
11566
11601
|
__name: "AoCardFeed",
|
|
11567
11602
|
props: {
|
|
11568
11603
|
id: {},
|
|
@@ -11601,7 +11636,7 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11601
11636
|
return (h = a.tasks) == null ? void 0 : h.filter((w) => w.isDone).length;
|
|
11602
11637
|
}), v = M(() => (c.value || 0) / (u.value || 1));
|
|
11603
11638
|
return (h, w) => (p(), D(is, {
|
|
11604
|
-
class:
|
|
11639
|
+
class: J(["ao-card-feed", { "ao-card-feed--closed": h.isClosed }]),
|
|
11605
11640
|
"is-clickable": !0
|
|
11606
11641
|
}, {
|
|
11607
11642
|
header: F(() => [
|
|
@@ -11640,10 +11675,10 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11640
11675
|
]),
|
|
11641
11676
|
default: F(() => [
|
|
11642
11677
|
f("div", L9, [
|
|
11643
|
-
o.value ? (p(), C("span", P9,
|
|
11678
|
+
o.value ? (p(), C("span", P9, x(o.value), 1)) : E("", !0),
|
|
11644
11679
|
f("div", H9, [
|
|
11645
11680
|
f("div", V9, [
|
|
11646
|
-
h.slug ? (p(), C("span", D9,
|
|
11681
|
+
h.slug ? (p(), C("span", D9, x(h.slug) + ": ", 1)) : E("", !0),
|
|
11647
11682
|
T(be, {
|
|
11648
11683
|
id: h.id,
|
|
11649
11684
|
title: h.name,
|
|
@@ -11654,7 +11689,7 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11654
11689
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11655
11690
|
])
|
|
11656
11691
|
]),
|
|
11657
|
-
h.deadline ? (p(), C("span", B9,
|
|
11692
|
+
h.deadline ? (p(), C("span", B9, x(r.value), 1)) : E("", !0)
|
|
11658
11693
|
])
|
|
11659
11694
|
]),
|
|
11660
11695
|
footer: F(() => [
|
|
@@ -11666,7 +11701,7 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11666
11701
|
}, [
|
|
11667
11702
|
_ ? (p(), C("li", U9, [
|
|
11668
11703
|
T(et, {
|
|
11669
|
-
"user-name":
|
|
11704
|
+
"user-name": ee(Gn)(_),
|
|
11670
11705
|
"avatar-url": _.avatarUrl,
|
|
11671
11706
|
"is-closable": !0,
|
|
11672
11707
|
onClose: () => d(_.id)
|
|
@@ -11680,25 +11715,25 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11680
11715
|
name: "ChatOutline",
|
|
11681
11716
|
size: "sm"
|
|
11682
11717
|
}),
|
|
11683
|
-
f("span", W9,
|
|
11718
|
+
f("span", W9, x(h.comments), 1)
|
|
11684
11719
|
])) : E("", !0),
|
|
11685
11720
|
h.attachments ? (p(), C("li", z9, [
|
|
11686
11721
|
T(pe, {
|
|
11687
11722
|
name: "AttachFileRounded",
|
|
11688
11723
|
size: "sm"
|
|
11689
11724
|
}),
|
|
11690
|
-
f("span", q9,
|
|
11725
|
+
f("span", q9, x(h.attachments), 1)
|
|
11691
11726
|
])) : E("", !0)
|
|
11692
11727
|
])) : E("", !0)
|
|
11693
11728
|
]),
|
|
11694
|
-
f("div",
|
|
11695
|
-
h.tasks && h.tasks.length ? (p(), C("div",
|
|
11729
|
+
f("div", x9, [
|
|
11730
|
+
h.tasks && h.tasks.length ? (p(), C("div", Y9, [
|
|
11696
11731
|
f("div", K9, [
|
|
11697
11732
|
T(pe, {
|
|
11698
11733
|
name: "SelectCheckBox",
|
|
11699
11734
|
size: "sm"
|
|
11700
11735
|
}),
|
|
11701
|
-
f("span", G9,
|
|
11736
|
+
f("span", G9, x(c.value) + " / " + x(u.value), 1)
|
|
11702
11737
|
]),
|
|
11703
11738
|
T(ls, {
|
|
11704
11739
|
percentages: v.value,
|
|
@@ -11718,7 +11753,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11718
11753
|
}, s4 = { class: "ao-field__row ao-milestone__field-row" }, n4 = { class: "ao-field ao-field--inline" }, o4 = { class: "ao-field__row ao-milestone__field-row" }, i4 = { class: "ao-field ao-milestone__field-multiselect" }, l4 = ["onClick"], r4 = { class: "ao-project-milestone__body" }, u4 = {
|
|
11719
11754
|
key: 0,
|
|
11720
11755
|
class: "ao-project-milestone__footer"
|
|
11721
|
-
}, Ln = /* @__PURE__ */
|
|
11756
|
+
}, Ln = /* @__PURE__ */ Y({
|
|
11722
11757
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11723
11758
|
props: {
|
|
11724
11759
|
milestoneId: {},
|
|
@@ -11890,13 +11925,13 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11890
11925
|
}, {
|
|
11891
11926
|
tag: F(({
|
|
11892
11927
|
option: A,
|
|
11893
|
-
handleTagRemove:
|
|
11928
|
+
handleTagRemove: B
|
|
11894
11929
|
}) => [
|
|
11895
11930
|
T(et, {
|
|
11896
11931
|
"user-name": A.label,
|
|
11897
11932
|
"avatar-url": A.avatar,
|
|
11898
11933
|
"is-closable": !0,
|
|
11899
|
-
onClose: (
|
|
11934
|
+
onClose: (R) => B(A, R)
|
|
11900
11935
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
11901
11936
|
]),
|
|
11902
11937
|
_: 1
|
|
@@ -11907,11 +11942,11 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11907
11942
|
color: v.value,
|
|
11908
11943
|
"onUpdate:color": I[3] || (I[3] = (A) => v.value = A)
|
|
11909
11944
|
}, {
|
|
11910
|
-
clickable: F(({ openPicker: A, bgColor:
|
|
11945
|
+
clickable: F(({ openPicker: A, bgColor: B }) => [
|
|
11911
11946
|
f("button", {
|
|
11912
|
-
style: We({ background:
|
|
11947
|
+
style: We({ background: B }),
|
|
11913
11948
|
class: "color-button",
|
|
11914
|
-
onClick: (
|
|
11949
|
+
onClick: (R) => b(R, A)
|
|
11915
11950
|
}, null, 12, l4)
|
|
11916
11951
|
]),
|
|
11917
11952
|
_: 1
|
|
@@ -11919,7 +11954,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11919
11954
|
])) : E("", !0)
|
|
11920
11955
|
]),
|
|
11921
11956
|
f("div", r4, [
|
|
11922
|
-
T(
|
|
11957
|
+
T(ee(gt), Me({
|
|
11923
11958
|
class: "ao-project-milestone__activities",
|
|
11924
11959
|
list: l.value,
|
|
11925
11960
|
disabled: !m.isEditable,
|
|
@@ -11927,27 +11962,27 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11927
11962
|
group: "kanban"
|
|
11928
11963
|
}, m.$attrs, { onChange: c }), {
|
|
11929
11964
|
item: F(({ element: A }) => {
|
|
11930
|
-
var
|
|
11965
|
+
var B, R, W, K, te;
|
|
11931
11966
|
return [
|
|
11932
11967
|
T(Co, {
|
|
11933
11968
|
id: A.id,
|
|
11934
11969
|
name: A.name || A.id,
|
|
11935
|
-
"phase-name": (
|
|
11936
|
-
"milestone-name": (
|
|
11937
|
-
"milestone-color": (
|
|
11970
|
+
"phase-name": (B = n.value) == null ? void 0 : B.name,
|
|
11971
|
+
"milestone-name": (R = o.value) == null ? void 0 : R.name,
|
|
11972
|
+
"milestone-color": (W = o.value) == null ? void 0 : W.color,
|
|
11938
11973
|
deadline: A.deadline,
|
|
11939
11974
|
important: A.important,
|
|
11940
11975
|
users: m.users,
|
|
11941
11976
|
assignee: A.assignee,
|
|
11942
11977
|
slug: A.slug,
|
|
11943
|
-
comments: (
|
|
11978
|
+
comments: (K = A.comments) == null ? void 0 : K.length,
|
|
11944
11979
|
attachments: (te = A.attachments) == null ? void 0 : te.length,
|
|
11945
11980
|
tasks: A.tasks,
|
|
11946
11981
|
"is-editable": m.isEditable,
|
|
11947
11982
|
"is-private": A.private,
|
|
11948
11983
|
"is-closed": w(A),
|
|
11949
11984
|
onClick: (N) => m.$router.push({
|
|
11950
|
-
name:
|
|
11985
|
+
name: ee(ye).activity,
|
|
11951
11986
|
params: { milestoneId: m.milestoneId, activityId: A.id }
|
|
11952
11987
|
}),
|
|
11953
11988
|
onUpdateActivity: u,
|
|
@@ -12001,7 +12036,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
12001
12036
|
};
|
|
12002
12037
|
}
|
|
12003
12038
|
});
|
|
12004
|
-
const c4 = /* @__PURE__ */
|
|
12039
|
+
const c4 = /* @__PURE__ */ Y({
|
|
12005
12040
|
__name: "AoProjectOverviewActivityDetails",
|
|
12006
12041
|
props: {
|
|
12007
12042
|
phaseId: {},
|
|
@@ -12055,7 +12090,7 @@ const c4 = /* @__PURE__ */ x({
|
|
|
12055
12090
|
};
|
|
12056
12091
|
return (g, $) => {
|
|
12057
12092
|
var b, m;
|
|
12058
|
-
return o.value ? (p(), D(
|
|
12093
|
+
return o.value ? (p(), D(xs, {
|
|
12059
12094
|
key: 0,
|
|
12060
12095
|
activity: o.value,
|
|
12061
12096
|
"activity-types": g.activityTypes,
|
|
@@ -12088,7 +12123,7 @@ const c4 = /* @__PURE__ */ x({
|
|
|
12088
12123
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : E("", !0);
|
|
12089
12124
|
};
|
|
12090
12125
|
}
|
|
12091
|
-
}), d4 = { class: "ao-col-header" }, p4 = /* @__PURE__ */
|
|
12126
|
+
}), d4 = { class: "ao-col-header" }, p4 = /* @__PURE__ */ Y({
|
|
12092
12127
|
__name: "AoColHeader",
|
|
12093
12128
|
props: {
|
|
12094
12129
|
title: {},
|
|
@@ -12115,7 +12150,7 @@ function v4(t) {
|
|
|
12115
12150
|
return Zo() ? (Wo(t), !0) : !1;
|
|
12116
12151
|
}
|
|
12117
12152
|
function za(t) {
|
|
12118
|
-
return typeof t == "function" ? t() :
|
|
12153
|
+
return typeof t == "function" ? t() : ee(t);
|
|
12119
12154
|
}
|
|
12120
12155
|
const f4 = typeof window < "u" && typeof document < "u";
|
|
12121
12156
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -12213,7 +12248,7 @@ function w4(t, e, a = {}) {
|
|
|
12213
12248
|
};
|
|
12214
12249
|
}
|
|
12215
12250
|
const $4 = {
|
|
12216
|
-
class: /* @__PURE__ */
|
|
12251
|
+
class: /* @__PURE__ */ J(["ao-list-kanban"])
|
|
12217
12252
|
}, k4 = { class: "ao-list-kanban__header" }, S4 = {
|
|
12218
12253
|
key: 0,
|
|
12219
12254
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
@@ -12229,7 +12264,7 @@ const $4 = {
|
|
|
12229
12264
|
}, O4 = {
|
|
12230
12265
|
key: 1,
|
|
12231
12266
|
class: "ao-list-kanban__footer"
|
|
12232
|
-
}, E4 = /* @__PURE__ */
|
|
12267
|
+
}, E4 = /* @__PURE__ */ Y({
|
|
12233
12268
|
__name: "AoListKanban",
|
|
12234
12269
|
props: {
|
|
12235
12270
|
list: {},
|
|
@@ -12286,7 +12321,7 @@ const $4 = {
|
|
|
12286
12321
|
])
|
|
12287
12322
|
];
|
|
12288
12323
|
}) : E("", !0),
|
|
12289
|
-
T(
|
|
12324
|
+
T(ee(gt), Me({
|
|
12290
12325
|
class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
|
|
12291
12326
|
list: u.list,
|
|
12292
12327
|
"item-key": "id",
|
|
@@ -12308,7 +12343,7 @@ const $4 = {
|
|
|
12308
12343
|
var h, w, _, g, $, b, m, I, P;
|
|
12309
12344
|
return [
|
|
12310
12345
|
T(Co, {
|
|
12311
|
-
class:
|
|
12346
|
+
class: J(i(v) ? "ao-list-draggable" : ""),
|
|
12312
12347
|
id: v.id,
|
|
12313
12348
|
name: v.name,
|
|
12314
12349
|
"project-name": (h = v.project) == null ? void 0 : h.name,
|
|
@@ -12371,7 +12406,7 @@ const $4 = {
|
|
|
12371
12406
|
ref: n,
|
|
12372
12407
|
class: "ao-list-kanban__end"
|
|
12373
12408
|
}, null, 512)) : (p(), C("div", A4, [
|
|
12374
|
-
u.noMoreLabel ? (p(), C("span", M4,
|
|
12409
|
+
u.noMoreLabel ? (p(), C("span", M4, x(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", T4)) : E("", !0)
|
|
12375
12410
|
]))
|
|
12376
12411
|
]),
|
|
12377
12412
|
_: 1
|
|
@@ -12389,7 +12424,7 @@ const $4 = {
|
|
|
12389
12424
|
]));
|
|
12390
12425
|
}
|
|
12391
12426
|
});
|
|
12392
|
-
const I4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], P4 = /* @__PURE__ */
|
|
12427
|
+
const I4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], P4 = /* @__PURE__ */ Y({
|
|
12393
12428
|
__name: "AoSearchField",
|
|
12394
12429
|
props: {
|
|
12395
12430
|
modelValue: {},
|
|
@@ -12411,25 +12446,25 @@ const I4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
|
|
|
12411
12446
|
class: "ao-field__input ao-search-field__input",
|
|
12412
12447
|
placeholder: o.placeholder,
|
|
12413
12448
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12414
|
-
(...r) =>
|
|
12449
|
+
(...r) => ee(n) && ee(n)(...r)),
|
|
12415
12450
|
onKeypress: pt(s, ["enter"])
|
|
12416
12451
|
}, null, 40, L4),
|
|
12417
12452
|
T(pe, {
|
|
12418
12453
|
name: "SearchRounded",
|
|
12419
|
-
class:
|
|
12454
|
+
class: J(`ao-search-field__icon ao-search-field__action ${o.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
12420
12455
|
}, null, 8, ["class"]),
|
|
12421
12456
|
T(re, {
|
|
12422
12457
|
"icon-name": "CloseRounded",
|
|
12423
12458
|
size: "sm",
|
|
12424
12459
|
color: "primary",
|
|
12425
12460
|
corners: "round",
|
|
12426
|
-
class:
|
|
12461
|
+
class: J(`ao-search-field__button ao-search-field__action ${o.modelValue ? "ao-search-field__action--visible" : ""}`),
|
|
12427
12462
|
onClick: i
|
|
12428
12463
|
}, null, 8, ["class"])
|
|
12429
12464
|
]));
|
|
12430
12465
|
}
|
|
12431
12466
|
});
|
|
12432
|
-
const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { class: "ao-feed__body" }, B4 = /* @__PURE__ */
|
|
12467
|
+
const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { class: "ao-feed__body" }, B4 = /* @__PURE__ */ Y({
|
|
12433
12468
|
__name: "AoFeed",
|
|
12434
12469
|
props: {
|
|
12435
12470
|
activities: {},
|
|
@@ -12463,13 +12498,13 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12463
12498
|
ce(
|
|
12464
12499
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12465
12500
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12466
|
-
async ([k, U, y, V], [
|
|
12501
|
+
async ([k, U, y, V], [le, ne]) => {
|
|
12467
12502
|
l.value = Object.fromEntries(
|
|
12468
|
-
k.map((
|
|
12469
|
-
|
|
12503
|
+
k.map((z) => [
|
|
12504
|
+
z.id,
|
|
12470
12505
|
U.filter((H) => {
|
|
12471
|
-
var
|
|
12472
|
-
return ((
|
|
12506
|
+
var X;
|
|
12507
|
+
return ((X = H.status) == null ? void 0 : X.id) === z.id;
|
|
12473
12508
|
})
|
|
12474
12509
|
])
|
|
12475
12510
|
), y && !r.value ? (o(y, null), r.value = !0) : V && !r.value && (o(null, V), r.value = !0), d.value && Qe(U, ne);
|
|
@@ -12480,13 +12515,13 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12480
12515
|
var k;
|
|
12481
12516
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((k = a.selectedActivity.milestone.phase) == null ? void 0 : k.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12482
12517
|
}), v = (k) => {
|
|
12483
|
-
var ne,
|
|
12484
|
-
const U = (ne = a.activities) == null ? void 0 : ne.at(-1), y = U ? we.LexoRank.parse(U.rank).genNext() : we.LexoRank.middle(), V = ((
|
|
12518
|
+
var ne, z;
|
|
12519
|
+
const U = (ne = a.activities) == null ? void 0 : ne.at(-1), y = U ? we.LexoRank.parse(U.rank).genNext() : we.LexoRank.middle(), V = ((z = a.activities) == null ? void 0 : z.length) ?? 0, le = {
|
|
12485
12520
|
name: s("activity.defaultName", { idx: V + 1 }),
|
|
12486
12521
|
rank: y.format(),
|
|
12487
12522
|
statusId: k.id
|
|
12488
12523
|
};
|
|
12489
|
-
a.filters.assigneeId.length > 0 && (
|
|
12524
|
+
a.filters.assigneeId.length > 0 && (le.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (le.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (le.typeId = a.filters.typeId[0]), d.value = !0, e("addActivity", le);
|
|
12490
12525
|
}, h = (k, U) => {
|
|
12491
12526
|
d.value = !1, e("update:filters", { ...a.filters, [k]: U });
|
|
12492
12527
|
}, w = M(
|
|
@@ -12514,36 +12549,36 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12514
12549
|
e("unarchiveActivity", k);
|
|
12515
12550
|
}, A = (k) => {
|
|
12516
12551
|
d.value = !1, e("update:searchText", k);
|
|
12517
|
-
}, R = (k) => {
|
|
12518
|
-
d.value = !1, e("clear:searchText", k);
|
|
12519
12552
|
}, B = (k) => {
|
|
12553
|
+
d.value = !1, e("clear:searchText", k);
|
|
12554
|
+
}, R = (k) => {
|
|
12520
12555
|
a.selectedActivity && e("addSubtask", k);
|
|
12521
|
-
},
|
|
12556
|
+
}, W = (k) => {
|
|
12522
12557
|
a.selectedActivity && e("updateSubtask", k);
|
|
12523
|
-
},
|
|
12558
|
+
}, K = (k) => {
|
|
12524
12559
|
a.selectedActivity && e("deleteSubtask", k);
|
|
12525
12560
|
}, te = (k) => {
|
|
12526
12561
|
e("addFiles", k);
|
|
12527
12562
|
}, N = (k) => {
|
|
12528
12563
|
e("removeFile", k);
|
|
12529
|
-
},
|
|
12564
|
+
}, G = (k) => {
|
|
12530
12565
|
a.selectedActivity && e("addComment", {
|
|
12531
12566
|
...k,
|
|
12532
12567
|
activityId: a.selectedActivity.id
|
|
12533
12568
|
});
|
|
12534
|
-
},
|
|
12569
|
+
}, ie = (k) => {
|
|
12535
12570
|
const { id: U } = a.selectedActivity || {};
|
|
12536
12571
|
U && e("updateComment", k);
|
|
12537
12572
|
}, se = (k) => {
|
|
12538
12573
|
const { id: U } = a.selectedActivity || {};
|
|
12539
12574
|
U && e("removeComment", k);
|
|
12540
|
-
},
|
|
12575
|
+
}, Q = Es(), L = q("feed"), O = [
|
|
12541
12576
|
{ label: "Overview", value: "overview" },
|
|
12542
12577
|
{ label: "Feed", value: "feed" },
|
|
12543
12578
|
{ label: "Mapping", value: "mapping" }
|
|
12544
12579
|
];
|
|
12545
12580
|
return ce(L, (k) => {
|
|
12546
|
-
k === "feed" ? (
|
|
12581
|
+
k === "feed" ? (Q.push({ name: ye.feed }), console.log("Navigating to feed...")) : k === "overview" ? (Q.push({ name: ye.project }), console.log("Navigating to feed...")) : k === "mapping" && (Q.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12547
12582
|
}), (k, U) => {
|
|
12548
12583
|
var y;
|
|
12549
12584
|
return p(), C("div", H4, [
|
|
@@ -12560,50 +12595,50 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12560
12595
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12561
12596
|
class: "ao-feed__search",
|
|
12562
12597
|
"onUpdate:modelValue": A,
|
|
12563
|
-
onClear:
|
|
12598
|
+
onClear: B
|
|
12564
12599
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12565
12600
|
a.project ? E("", !0) : (p(), D(Ae, {
|
|
12566
12601
|
key: 0,
|
|
12567
|
-
"model-value": k.filters[
|
|
12602
|
+
"model-value": k.filters[ee(Dt).project],
|
|
12568
12603
|
mode: "tags",
|
|
12569
12604
|
options: _.value,
|
|
12570
12605
|
"close-on-select": !1,
|
|
12571
12606
|
searchable: !0,
|
|
12572
12607
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12573
12608
|
placeholder: k.$t("feed.filters.project.placeholder"),
|
|
12574
|
-
"onUpdate:modelValue": U[1] || (U[1] = (V) => h(
|
|
12609
|
+
"onUpdate:modelValue": U[1] || (U[1] = (V) => h(ee(Dt).project, V))
|
|
12575
12610
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12576
12611
|
g.value ? (p(), D(Ae, {
|
|
12577
12612
|
key: 1,
|
|
12578
|
-
"model-value": k.filters[
|
|
12613
|
+
"model-value": k.filters[ee(Dt).type],
|
|
12579
12614
|
mode: "tags",
|
|
12580
12615
|
options: g.value,
|
|
12581
12616
|
"close-on-select": !1,
|
|
12582
12617
|
searchable: !0,
|
|
12583
12618
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12584
12619
|
placeholder: k.$t("feed.filters.activityType.placeholder"),
|
|
12585
|
-
"onUpdate:modelValue": U[2] || (U[2] = (V) => h(
|
|
12620
|
+
"onUpdate:modelValue": U[2] || (U[2] = (V) => h(ee(Dt).type, V))
|
|
12586
12621
|
}, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
|
|
12587
12622
|
$.value.length ? (p(), D(Ae, {
|
|
12588
12623
|
key: 2,
|
|
12589
|
-
"model-value": k.filters[
|
|
12624
|
+
"model-value": k.filters[ee(Dt).assignee],
|
|
12590
12625
|
mode: "tags",
|
|
12591
12626
|
options: $.value,
|
|
12592
12627
|
"close-on-select": !1,
|
|
12593
12628
|
searchable: !0,
|
|
12594
12629
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12595
12630
|
placeholder: k.$t("feed.filters.assignee.placeholder"),
|
|
12596
|
-
"onUpdate:modelValue": U[3] || (U[3] = (V) => h(
|
|
12631
|
+
"onUpdate:modelValue": U[3] || (U[3] = (V) => h(ee(Dt).assignee, V))
|
|
12597
12632
|
}, {
|
|
12598
12633
|
tag: F(({
|
|
12599
12634
|
option: V,
|
|
12600
|
-
handleTagRemove:
|
|
12635
|
+
handleTagRemove: le
|
|
12601
12636
|
}) => [
|
|
12602
12637
|
T(et, {
|
|
12603
12638
|
"user-name": V.label,
|
|
12604
12639
|
"avatar-url": V.avatar,
|
|
12605
12640
|
"is-closable": !0,
|
|
12606
|
-
onClose: (ne) =>
|
|
12641
|
+
onClose: (ne) => le(V, ne)
|
|
12607
12642
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12608
12643
|
]),
|
|
12609
12644
|
_: 1
|
|
@@ -12667,7 +12702,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12667
12702
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12668
12703
|
]),
|
|
12669
12704
|
(p(), D(Tt, { to: "body" }, [
|
|
12670
|
-
k.selectedActivity ? (p(), D(
|
|
12705
|
+
k.selectedActivity ? (p(), D(xs, {
|
|
12671
12706
|
key: 0,
|
|
12672
12707
|
activity: k.selectedActivity,
|
|
12673
12708
|
"activity-types": k.activityTypes,
|
|
@@ -12683,13 +12718,13 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12683
12718
|
projects: w.value,
|
|
12684
12719
|
onClose: U[7] || (U[7] = () => o(null, null)),
|
|
12685
12720
|
"onUpdate:activity": b,
|
|
12686
|
-
onAddSubtask:
|
|
12687
|
-
onUpdateSubtask:
|
|
12688
|
-
onDeleteSubtask:
|
|
12721
|
+
onAddSubtask: R,
|
|
12722
|
+
onUpdateSubtask: W,
|
|
12723
|
+
onDeleteSubtask: K,
|
|
12689
12724
|
onAddFiles: te,
|
|
12690
12725
|
onRemoveFile: N,
|
|
12691
|
-
onAddComment:
|
|
12692
|
-
onUpdateComment:
|
|
12726
|
+
onAddComment: G,
|
|
12727
|
+
onUpdateComment: ie,
|
|
12693
12728
|
onRemoveComment: se,
|
|
12694
12729
|
onToast: n
|
|
12695
12730
|
}, {
|
|
@@ -12706,7 +12741,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12706
12741
|
const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-mapping__body" }, N4 = { class: "ao-project-mapping-mapping__phases" }, U4 = {
|
|
12707
12742
|
key: 0,
|
|
12708
12743
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12709
|
-
}, F4 = ["src", "alt"], Z4 = /* @__PURE__ */
|
|
12744
|
+
}, F4 = ["src", "alt"], Z4 = /* @__PURE__ */ Y({
|
|
12710
12745
|
__name: "AoMapping",
|
|
12711
12746
|
props: {
|
|
12712
12747
|
project: {},
|
|
@@ -12807,7 +12842,7 @@ const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
|
|
|
12807
12842
|
f("img", {
|
|
12808
12843
|
class: "architecture-image",
|
|
12809
12844
|
src: g.project.architectureImage.url,
|
|
12810
|
-
alt:
|
|
12845
|
+
alt: ee(s)("architectureImage.alt")
|
|
12811
12846
|
}, null, 8, F4)
|
|
12812
12847
|
])) : E("", !0)
|
|
12813
12848
|
])
|
|
@@ -12904,7 +12939,7 @@ const Rt = {
|
|
|
12904
12939
|
}
|
|
12905
12940
|
]
|
|
12906
12941
|
}
|
|
12907
|
-
], W4 = { class: "ao-templates" }, z4 = /* @__PURE__ */
|
|
12942
|
+
], W4 = { class: "ao-templates" }, z4 = /* @__PURE__ */ Y({
|
|
12908
12943
|
__name: "AoTemplatesList",
|
|
12909
12944
|
props: {
|
|
12910
12945
|
templates: {}
|
|
@@ -12966,7 +13001,7 @@ const Rt = {
|
|
|
12966
13001
|
]),
|
|
12967
13002
|
_: 1
|
|
12968
13003
|
}),
|
|
12969
|
-
T(
|
|
13004
|
+
T(ee(gt), {
|
|
12970
13005
|
"model-value": r.templates,
|
|
12971
13006
|
class: "ao-templates__list",
|
|
12972
13007
|
"item-key": "id",
|
|
@@ -12980,13 +13015,13 @@ const Rt = {
|
|
|
12980
13015
|
id: u.id,
|
|
12981
13016
|
title: u.name,
|
|
12982
13017
|
phases: u.phases,
|
|
12983
|
-
milestones: (c = u.phases) != null && c.length ?
|
|
12984
|
-
activities: u.phases ?
|
|
13018
|
+
milestones: (c = u.phases) != null && c.length ? ee(H3)(u.phases) : 0,
|
|
13019
|
+
activities: u.phases ? ee(V3)(u.phases) : 0,
|
|
12985
13020
|
"updated-at": u.updatedAt,
|
|
12986
13021
|
"updated-by": u.updatedBy,
|
|
12987
13022
|
onUpdateTitle: (v) => i(u.id, v),
|
|
12988
13023
|
onClick: (v) => r.$router.push({
|
|
12989
|
-
name:
|
|
13024
|
+
name: ee(Rt).TEMPLATE_DETAILS,
|
|
12990
13025
|
params: { templateId: u.id }
|
|
12991
13026
|
}),
|
|
12992
13027
|
onDeleteItem: d[0] || (d[0] = (v, h) => o(v, h))
|
|
@@ -12998,7 +13033,7 @@ const Rt = {
|
|
|
12998
13033
|
]));
|
|
12999
13034
|
}
|
|
13000
13035
|
});
|
|
13001
|
-
const q4 = { class: "ao-field__label" },
|
|
13036
|
+
const q4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ Y({
|
|
13002
13037
|
__name: "AoField",
|
|
13003
13038
|
props: {
|
|
13004
13039
|
label: {},
|
|
@@ -13006,13 +13041,13 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ x({
|
|
|
13006
13041
|
},
|
|
13007
13042
|
setup(t) {
|
|
13008
13043
|
return (e, a) => (p(), C("label", {
|
|
13009
|
-
class:
|
|
13044
|
+
class: J(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
13010
13045
|
}, [
|
|
13011
|
-
f("span", q4,
|
|
13046
|
+
f("span", q4, x(e.label), 1),
|
|
13012
13047
|
ae(e.$slots, "default")
|
|
13013
13048
|
], 2));
|
|
13014
13049
|
}
|
|
13015
|
-
}),
|
|
13050
|
+
}), Y4 = ["type", "value", "disabled", "readonly"], r8 = /* @__PURE__ */ Y({
|
|
13016
13051
|
__name: "AoInputField",
|
|
13017
13052
|
props: {
|
|
13018
13053
|
label: { default: "" },
|
|
@@ -13029,7 +13064,7 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ x({
|
|
|
13029
13064
|
), n = (i) => {
|
|
13030
13065
|
a.modelModifiers.number && (i = Number(i)), e("update:modelValue", i);
|
|
13031
13066
|
};
|
|
13032
|
-
return (i, o) => (p(), D(
|
|
13067
|
+
return (i, o) => (p(), D(x4, { label: i.label }, {
|
|
13033
13068
|
default: F(() => [
|
|
13034
13069
|
f("input", Me({
|
|
13035
13070
|
class: "ao-field__input",
|
|
@@ -13039,12 +13074,12 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ x({
|
|
|
13039
13074
|
readonly: i.isReadonly
|
|
13040
13075
|
}, {
|
|
13041
13076
|
[zo(s.value)]: o[0] || (o[0] = (l) => n(l.target.value))
|
|
13042
|
-
}), null, 16,
|
|
13077
|
+
}), null, 16, Y4)
|
|
13043
13078
|
]),
|
|
13044
13079
|
_: 1
|
|
13045
13080
|
}, 8, ["label"]));
|
|
13046
13081
|
}
|
|
13047
|
-
}), K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, X4 = ["checked", "disabled"], u8 = /* @__PURE__ */
|
|
13082
|
+
}), K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, X4 = ["checked", "disabled"], u8 = /* @__PURE__ */ Y({
|
|
13048
13083
|
__name: "AoCheckboxField",
|
|
13049
13084
|
props: {
|
|
13050
13085
|
label: { default: "" },
|
|
@@ -13055,7 +13090,7 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ x({
|
|
|
13055
13090
|
emits: ["update:modelValue"],
|
|
13056
13091
|
setup(t) {
|
|
13057
13092
|
return (e, a) => (p(), C("label", K4, [
|
|
13058
|
-
f("span", G4,
|
|
13093
|
+
f("span", G4, x(e.label), 1),
|
|
13059
13094
|
f("input", {
|
|
13060
13095
|
class: "ao-field__input",
|
|
13061
13096
|
type: "checkbox",
|
|
@@ -13077,7 +13112,7 @@ export {
|
|
|
13077
13112
|
Co as AoCardFeed,
|
|
13078
13113
|
u8 as AoCheckboxField,
|
|
13079
13114
|
B4 as AoFeed,
|
|
13080
|
-
|
|
13115
|
+
x4 as AoField,
|
|
13081
13116
|
r8 as AoInputField,
|
|
13082
13117
|
Ae as AoMultiselect,
|
|
13083
13118
|
ho as AoProjectPhases,
|
|
@@ -13093,9 +13128,9 @@ export {
|
|
|
13093
13128
|
o8 as listUpdateTypes,
|
|
13094
13129
|
Ba as milestoneStatus,
|
|
13095
13130
|
ye as projectOverviewRoutes,
|
|
13096
|
-
|
|
13131
|
+
x2 as ruleComparators,
|
|
13097
13132
|
K2 as ruleDurationUnits,
|
|
13098
|
-
|
|
13133
|
+
Y2 as ruleTriggerTypes,
|
|
13099
13134
|
me as templateItemType,
|
|
13100
13135
|
Rt as templateRouteNames
|
|
13101
13136
|
};
|