@26lights/orcha 0.41.94 → 0.41.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +173 -173
- package/dist/orcha.umd.js +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, openBlock as p, createBlock as
|
|
1
|
+
import { defineComponent as x, openBlock as p, createBlock as D, unref as J, 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 Q, renderSlot as ae, toDisplayString as Y, 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
2
|
import { RouterView as qo, useRoute as Yo, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
4
|
const a8 = /* @__PURE__ */ x({
|
|
@@ -7,7 +7,7 @@ const a8 = /* @__PURE__ */ x({
|
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(),
|
|
10
|
+
return (e, a) => (p(), D(J(qo), Me({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), W = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -1168,7 +1168,7 @@ const Pn = {
|
|
|
1168
1168
|
},
|
|
1169
1169
|
setup(t) {
|
|
1170
1170
|
const e = t, a = M(() => L2[e.name]);
|
|
1171
|
-
return (s, n) => (p(),
|
|
1171
|
+
return (s, n) => (p(), D(mt(a.value), {
|
|
1172
1172
|
class: Q(["ao-icon", `ao-icon--${s.size}`])
|
|
1173
1173
|
}, null, 8, ["class"]));
|
|
1174
1174
|
}
|
|
@@ -1208,7 +1208,7 @@ const D2 = ["type"], B2 = {
|
|
|
1208
1208
|
ae(n.$slots, "default", {}, () => [
|
|
1209
1209
|
n.label ? (p(), C("span", B2, Y(n.label), 1)) : E("", !0)
|
|
1210
1210
|
]),
|
|
1211
|
-
s.value ? (p(),
|
|
1211
|
+
s.value ? (p(), D(pe, {
|
|
1212
1212
|
key: 0,
|
|
1213
1213
|
name: s.value,
|
|
1214
1214
|
class: "ao-button__icon",
|
|
@@ -1280,7 +1280,7 @@ const be = /* @__PURE__ */ x({
|
|
|
1280
1280
|
(_) => {
|
|
1281
1281
|
_ || c();
|
|
1282
1282
|
}
|
|
1283
|
-
), (_, g) => (p(),
|
|
1283
|
+
), (_, g) => (p(), D(mt(r.value), Me({
|
|
1284
1284
|
id: _.id,
|
|
1285
1285
|
ref_key: "target",
|
|
1286
1286
|
ref: s,
|
|
@@ -1346,7 +1346,7 @@ const R2 = {
|
|
|
1346
1346
|
const a = (s) => {
|
|
1347
1347
|
e("update:title", s);
|
|
1348
1348
|
};
|
|
1349
|
-
return (s, n) => (p(),
|
|
1349
|
+
return (s, n) => (p(), D(mt(s.tagName), {
|
|
1350
1350
|
class: Q(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
|
|
1351
1351
|
}, {
|
|
1352
1352
|
default: F(() => [
|
|
@@ -1421,12 +1421,12 @@ const ra = /* @__PURE__ */ x({
|
|
|
1421
1421
|
]),
|
|
1422
1422
|
style: We(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
|
-
(p(),
|
|
1424
|
+
(p(), D(mt(a.value), Me({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: i[0] || (i[0] = (o) => n.$emit("click", o))
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: F(() => [
|
|
1428
1428
|
qa(Y(n.label) + " ", 1),
|
|
1429
|
-
n.variant === J(V2).SOLID_ICON && n.iconName ? (p(),
|
|
1429
|
+
n.variant === J(V2).SOLID_ICON && n.iconName ? (p(), D(pe, {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
name: n.iconName,
|
|
1432
1432
|
class: "ao-tag__icon",
|
|
@@ -2736,15 +2736,15 @@ 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(),
|
|
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
2740
|
if (!(R >= 1 && R <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
2742
|
var Z = 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
2743
|
if (!(Z >= 0 && Z <= 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
2749
|
var K = ke(t);
|
|
2750
2750
|
if (!Rn(K))
|
|
@@ -2752,13 +2752,13 @@ function Zn(t, e, a) {
|
|
|
2752
2752
|
var te = ua(K), N = ws(K, te), G = {
|
|
2753
2753
|
firstWeekContainsDate: R,
|
|
2754
2754
|
weekStartsOn: Z,
|
|
2755
|
-
locale:
|
|
2755
|
+
locale: B,
|
|
2756
2756
|
_originalDate: K
|
|
2757
2757
|
}, ie = P.match(i3).map(function(se) {
|
|
2758
2758
|
var ee = se[0];
|
|
2759
2759
|
if (ee === "p" || ee === "P") {
|
|
2760
2760
|
var L = m0[ee];
|
|
2761
|
-
return L(se,
|
|
2761
|
+
return L(se, B.formatLong);
|
|
2762
2762
|
}
|
|
2763
2763
|
return se;
|
|
2764
2764
|
}).join("").match(o3).map(function(se) {
|
|
@@ -2769,7 +2769,7 @@ function Zn(t, e, a) {
|
|
|
2769
2769
|
return c3(se);
|
|
2770
2770
|
var L = v0[ee];
|
|
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,
|
|
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
2773
|
if (ee.match(u3))
|
|
2774
2774
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + ee + "`");
|
|
2775
2775
|
return se;
|
|
@@ -3753,7 +3753,7 @@ const U3 = ["title"], F3 = {
|
|
|
3753
3753
|
className: "ao-avatar__image",
|
|
3754
3754
|
src: o.avatarUrl
|
|
3755
3755
|
}, null, 8, Z3)) : E("", !0),
|
|
3756
|
-
o.isClosable ? (p(),
|
|
3756
|
+
o.isClosable ? (p(), D(re, {
|
|
3757
3757
|
key: 2,
|
|
3758
3758
|
"icon-name": "CloseRounded",
|
|
3759
3759
|
class: "ao-avatar__close",
|
|
@@ -3794,7 +3794,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3794
3794
|
var l;
|
|
3795
3795
|
return ((l = a.phases) == null ? void 0 : l.slice(0, _s)) ?? [];
|
|
3796
3796
|
}), o = M(() => a.phases && a.phases.length > _s ? a.phases.length - _s : 0);
|
|
3797
|
-
return (l, r) => (p(),
|
|
3797
|
+
return (l, r) => (p(), D(Vn, {
|
|
3798
3798
|
id: l.id,
|
|
3799
3799
|
title: l.title,
|
|
3800
3800
|
"is-draggable": !0,
|
|
@@ -3829,13 +3829,13 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3829
3829
|
f("span", Q3, Y(l.$t("template.phases.title")), 1)
|
|
3830
3830
|
]),
|
|
3831
3831
|
l.phases ? (p(), C("ul", J3, [
|
|
3832
|
-
(p(!0), C(fe, null, Ce(i.value, (d) => (p(),
|
|
3832
|
+
(p(!0), C(fe, null, Ce(i.value, (d) => (p(), D(ra, {
|
|
3833
3833
|
key: d.id,
|
|
3834
3834
|
label: d.name || d.id,
|
|
3835
3835
|
color: "primary",
|
|
3836
3836
|
variant: "solid"
|
|
3837
3837
|
}, null, 8, ["label"]))), 128)),
|
|
3838
|
-
o.value > 0 ? (p(),
|
|
3838
|
+
o.value > 0 ? (p(), D(ra, {
|
|
3839
3839
|
key: 0,
|
|
3840
3840
|
label: `+${o.value} more`,
|
|
3841
3841
|
color: "primary-lighter",
|
|
@@ -3897,7 +3897,7 @@ const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v
|
|
|
3897
3897
|
setup(t) {
|
|
3898
3898
|
return (e, a) => (p(), C("header", d5, [
|
|
3899
3899
|
f("div", p5, [
|
|
3900
|
-
e.canGoBack ? (p(),
|
|
3900
|
+
e.canGoBack ? (p(), D(re, {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
"icon-name": "ArrowBackRounded",
|
|
3903
3903
|
variant: "ghost",
|
|
@@ -3940,7 +3940,7 @@ const f5 = ["type"], h5 = {
|
|
|
3940
3940
|
ae(n.$slots, "default", {}, () => [
|
|
3941
3941
|
n.label ? (p(), C("span", h5, Y(n.label), 1)) : E("", !0)
|
|
3942
3942
|
]),
|
|
3943
|
-
s.value ? (p(),
|
|
3943
|
+
s.value ? (p(), D(pe, {
|
|
3944
3944
|
key: 0,
|
|
3945
3945
|
name: s.value,
|
|
3946
3946
|
class: "ao-button-card__icon",
|
|
@@ -3972,7 +3972,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
|
3972
3972
|
}, i = () => {
|
|
3973
3973
|
e("remove");
|
|
3974
3974
|
};
|
|
3975
|
-
return (o, l) => (p(),
|
|
3975
|
+
return (o, l) => (p(), D(Vn, { "onUpdate:title": a }, {
|
|
3976
3976
|
footer: F(() => [
|
|
3977
3977
|
f("ul", m5, [
|
|
3978
3978
|
(p(), C(fe, null, Ce(s, (r) => (p(), C(fe, { key: r }, [
|
|
@@ -4013,7 +4013,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4013
4013
|
var n;
|
|
4014
4014
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
4015
4015
|
}), s = M(() => e.milestones ? Kn(e.milestones) : 0);
|
|
4016
|
-
return (n, i) => (p(),
|
|
4016
|
+
return (n, i) => (p(), D(Vs, Me({
|
|
4017
4017
|
id: n.id,
|
|
4018
4018
|
title: n.name,
|
|
4019
4019
|
activities: s.value,
|
|
@@ -4035,7 +4035,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4035
4035
|
var s;
|
|
4036
4036
|
return ((s = e.activities) == null ? void 0 : s.length) || 0;
|
|
4037
4037
|
});
|
|
4038
|
-
return (s, n) => (p(),
|
|
4038
|
+
return (s, n) => (p(), D(Vs, { activities: a.value }, {
|
|
4039
4039
|
default: F(() => [
|
|
4040
4040
|
ae(s.$slots, "default")
|
|
4041
4041
|
]),
|
|
@@ -4066,7 +4066,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4066
4066
|
});
|
|
4067
4067
|
}
|
|
4068
4068
|
};
|
|
4069
|
-
return (l, r) => l.phase ? (p(),
|
|
4069
|
+
return (l, r) => l.phase ? (p(), D(J(gt), {
|
|
4070
4070
|
key: 0,
|
|
4071
4071
|
"model-value": l.phase.milestones,
|
|
4072
4072
|
class: "ao-templates__list",
|
|
@@ -4083,7 +4083,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4083
4083
|
})
|
|
4084
4084
|
]),
|
|
4085
4085
|
item: F(({ element: d }) => [
|
|
4086
|
-
(p(),
|
|
4086
|
+
(p(), D(b5, {
|
|
4087
4087
|
id: d.id,
|
|
4088
4088
|
key: d.id,
|
|
4089
4089
|
title: d.name,
|
|
@@ -4122,7 +4122,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4122
4122
|
var s;
|
|
4123
4123
|
return ((s = e.tasks) == null ? void 0 : s.length) || 0;
|
|
4124
4124
|
});
|
|
4125
|
-
return (s, n) => (p(),
|
|
4125
|
+
return (s, n) => (p(), D(Vs, { tasks: a.value }, {
|
|
4126
4126
|
default: F(() => [
|
|
4127
4127
|
ae(s.$slots, "default")
|
|
4128
4128
|
]),
|
|
@@ -4156,7 +4156,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4156
4156
|
});
|
|
4157
4157
|
}
|
|
4158
4158
|
};
|
|
4159
|
-
return (l, r) => l.milestone ? (p(),
|
|
4159
|
+
return (l, r) => l.milestone ? (p(), D(J(gt), {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
"model-value": l.milestone.activities,
|
|
4162
4162
|
title: l.$t("template.activities.title"),
|
|
@@ -4173,7 +4173,7 @@ const y5 = /* @__PURE__ */ x({
|
|
|
4173
4173
|
})
|
|
4174
4174
|
]),
|
|
4175
4175
|
item: F(({ element: d }) => [
|
|
4176
|
-
(p(),
|
|
4176
|
+
(p(), D(k5, {
|
|
4177
4177
|
id: d.id,
|
|
4178
4178
|
key: d.id,
|
|
4179
4179
|
title: d.name,
|
|
@@ -4515,16 +4515,16 @@ 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),
|
|
4518
|
+
const P = [l, ...I], A = await Jn(e, g), B = [];
|
|
4519
4519
|
let R = ((s = i.flip) == null ? void 0 : s.overflows) || [];
|
|
4520
|
-
if (u &&
|
|
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
4524
|
if (R = [...R, {
|
|
4525
4525
|
placement: n,
|
|
4526
|
-
overflows:
|
|
4527
|
-
}], !
|
|
4526
|
+
overflows: B
|
|
4527
|
+
}], !B.every((N) => N <= 0)) {
|
|
4528
4528
|
var Z, K;
|
|
4529
4529
|
const N = (((Z = i.flip) == null ? void 0 : Z.index) || 0) + 1, G = P[N];
|
|
4530
4530
|
if (G)
|
|
@@ -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), Z = 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 || Z !== 0 ? R + Z : He(r.top, r.bottom));
|
|
4595
4595
|
}
|
|
4596
4596
|
await o({
|
|
4597
4597
|
...e,
|
|
@@ -5196,7 +5196,7 @@ function g7(t, e, a) {
|
|
|
5196
5196
|
clearOnSearch: I,
|
|
5197
5197
|
clearOnSelect: P,
|
|
5198
5198
|
valueProp: A,
|
|
5199
|
-
allowAbsent:
|
|
5199
|
+
allowAbsent: B,
|
|
5200
5200
|
groupLabel: R,
|
|
5201
5201
|
canDeselect: Z,
|
|
5202
5202
|
max: K,
|
|
@@ -5435,11 +5435,11 @@ function g7(t, e, a) {
|
|
|
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
|
|
@@ -5524,17 +5524,17 @@ 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])),
|
|
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), Z = M(() => $.value && $.value.group), K = M(() => ne($.value)), te = M(() => {
|
|
5528
5528
|
const H = Z.value ? $.value : (
|
|
5529
5529
|
/* istanbul ignore next */
|
|
5530
5530
|
ne($.value)
|
|
5531
|
-
), X =
|
|
5532
|
-
let he =
|
|
5531
|
+
), X = B.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
|
|
5532
|
+
let he = B.value[X - 1];
|
|
5533
5533
|
return he === void 0 && (he = G.value), he;
|
|
5534
5534
|
}), N = M(() => {
|
|
5535
|
-
let H =
|
|
5536
|
-
return
|
|
5537
|
-
}), G = M(() => [...
|
|
5535
|
+
let H = B.value.map((X) => X.label).indexOf(Z.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
5538
|
const H = K.value.__VISIBLE__.filter((X) => !X[u.value]);
|
|
5539
5539
|
return H[H.map((X) => X[s.value]).indexOf($.value[s.value]) - 1];
|
|
5540
5540
|
}), ee = M(() => {
|
|
@@ -5546,7 +5546,7 @@ function C7(t, e, a) {
|
|
|
5546
5546
|
!$.value || $.value[u.value] === !0 || (Z.value ? _($.value) : w($.value));
|
|
5547
5547
|
}, V = () => {
|
|
5548
5548
|
if ($.value === null)
|
|
5549
|
-
b((l.value && R.value ?
|
|
5549
|
+
b((l.value && R.value ? B.value[0].__CREATE__ ? A.value[0] : B.value[0] : A.value[0]) || null);
|
|
5550
5550
|
else if (l.value && R.value) {
|
|
5551
5551
|
let H = Z.value ? ie.value : ee.value;
|
|
5552
5552
|
H === void 0 && (H = N.value, H.__CREATE__ && (H = H[c.value][0])), b(H || /* istanbul ignore next */
|
|
@@ -5573,7 +5573,7 @@ function C7(t, e, a) {
|
|
|
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;
|
|
@@ -5961,12 +5961,12 @@ 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 : _, $ = x7(typeof g != "number" ? g : K7(g, os)), b = v === oa ? A7 : oa, m = t.rects.popper, I = t.elements[w ? b : v], P = Y7(Et(I) ? I : I.contextElement || _t(t.elements.popper), r, u, o), A = qt(t.elements.reference),
|
|
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 : _, $ = x7(typeof g != "number" ? g : K7(g, os)), b = v === oa ? A7 : oa, m = t.rects.popper, I = t.elements[w ? b : v], P = Y7(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
|
-
}), R = Ss(Object.assign({}, m,
|
|
5969
|
+
}), R = Ss(Object.assign({}, m, B)), Z = v === oa ? R : A, K = {
|
|
5970
5970
|
top: P.top - Z.top + $.top,
|
|
5971
5971
|
bottom: Z.bottom - P.bottom + $.bottom,
|
|
5972
5972
|
left: P.left - Z.left + $.left,
|
|
@@ -6042,7 +6042,7 @@ function G7(t) {
|
|
|
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, Z = P.name;
|
|
6046
6046
|
typeof A == "function" && (u = A({
|
|
6047
6047
|
state: u,
|
|
6048
6048
|
options: R,
|
|
@@ -6153,12 +6153,12 @@ 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" && (
|
|
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
6158
|
I = Ye;
|
|
6159
6159
|
var Z = c && A === P && P.visualViewport ? P.visualViewport.height : (
|
|
6160
6160
|
// $FlowFixMe[prop-missing]
|
|
6161
|
-
A[
|
|
6161
|
+
A[B]
|
|
6162
6162
|
);
|
|
6163
6163
|
_ -= Z - s.height, _ *= r ? 1 : -1;
|
|
6164
6164
|
}
|
|
@@ -6276,7 +6276,7 @@ function pp(t) {
|
|
|
6276
6276
|
rootBoundary: d,
|
|
6277
6277
|
padding: c,
|
|
6278
6278
|
altBoundary: u
|
|
6279
|
-
}), $ = dt(e.placement), b = xt(e.placement), m = !b, I = po($), P = cp(I), A = e.modifiersData.popperOffsets,
|
|
6279
|
+
}), $ = dt(e.placement), b = xt(e.placement), m = !b, I = po($), P = cp(I), A = e.modifiersData.popperOffsets, B = e.rects.reference, R = e.rects.popper, Z = typeof _ == "function" ? _(Object.assign({}, e.rects, {
|
|
6280
6280
|
placement: e.placement
|
|
6281
6281
|
})) : _, K = typeof Z == "number" ? {
|
|
6282
6282
|
mainAxis: Z,
|
|
@@ -6290,14 +6290,14 @@ function pp(t) {
|
|
|
6290
6290
|
};
|
|
6291
6291
|
if (A) {
|
|
6292
6292
|
if (i) {
|
|
6293
|
-
var G, ie = I === "y" ? Ne : Xe, se = I === "y" ? Ye : ht, ee = I === "y" ? "height" : "width", L = A[I], O = L + g[ie], k = L - g[se], U = h ? -R[ee] / 2 : 0, y = b === Yt ?
|
|
6293
|
+
var G, ie = I === "y" ? Ne : Xe, se = I === "y" ? Ye : ht, ee = I === "y" ? "height" : "width", L = A[I], O = L + g[ie], k = L - g[se], U = h ? -R[ee] / 2 : 0, y = b === Yt ? B[ee] : R[ee], V = b === Yt ? -R[ee] : -B[ee], le = e.elements.arrow, ne = h && le ? ro(le) : {
|
|
6294
6294
|
width: 0,
|
|
6295
6295
|
height: 0
|
|
6296
|
-
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fo(), H = z[ie], X = z[se], he = Va(0,
|
|
6296
|
+
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fo(), H = z[ie], X = z[se], he = Va(0, B[ee], ne[ee]), Se = m ? B[ee] / 2 - U - he - H - K.mainAxis : y - he - H - K.mainAxis, Gt = m ? -B[ee] / 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" ? Ye : ht, je = A[P], xe = 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 -
|
|
6300
|
+
var it, Ue = I === "x" ? Ne : Xe, Ie = I === "x" ? Ye : ht, je = A[P], xe = 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[xe] - R[xe] - Jt + K.altAxis, bt = Le ? je + B[xe] + R[xe] - 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;
|
|
@@ -6367,7 +6367,7 @@ function Cp(t) {
|
|
|
6367
6367
|
flipVariations: w,
|
|
6368
6368
|
allowedAutoPlacements: _
|
|
6369
6369
|
}) : z);
|
|
6370
|
-
}, []), P = e.rects.reference, A = e.rects.popper,
|
|
6370
|
+
}, []), P = e.rects.reference, A = e.rects.popper, B = /* @__PURE__ */ new Map(), R = !0, Z = I[0], K = 0; K < I.length; K++) {
|
|
6371
6371
|
var te = I[K], N = dt(te), G = xt(te) === Yt, ie = [Ne, Ye].indexOf(N) >= 0, se = ie ? "width" : "height", ee = qs(e, {
|
|
6372
6372
|
placement: te,
|
|
6373
6373
|
boundary: u,
|
|
@@ -6383,12 +6383,12 @@ function Cp(t) {
|
|
|
6383
6383
|
Z = te, R = !1;
|
|
6384
6384
|
break;
|
|
6385
6385
|
}
|
|
6386
|
-
|
|
6386
|
+
B.set(te, k);
|
|
6387
6387
|
}
|
|
6388
6388
|
if (R)
|
|
6389
6389
|
for (var U = w ? 3 : 1, y = function(z) {
|
|
6390
6390
|
var H = I.find(function(X) {
|
|
6391
|
-
var he =
|
|
6391
|
+
var he = B.get(X);
|
|
6392
6392
|
if (he)
|
|
6393
6393
|
return he.slice(0, z).every(function(Se) {
|
|
6394
6394
|
return Se;
|
|
@@ -6539,14 +6539,14 @@ 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,
|
|
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, Z = 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"]), ee = () => {
|
|
6543
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 !== Z.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;
|
|
@@ -6777,7 +6777,7 @@ function Sp(t, e, a) {
|
|
|
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
|
-
}),
|
|
6780
|
+
}), B = (N) => {
|
|
6781
6781
|
let G = [];
|
|
6782
6782
|
return n && n.value && G.push(n.value), G.push("multiselect-option"), G.push(N[i.value]), G.join("-");
|
|
6783
6783
|
}, R = (N) => {
|
|
@@ -6803,7 +6803,7 @@ function Sp(t, e, a) {
|
|
|
6803
6803
|
ariaPlaceholder: m,
|
|
6804
6804
|
ariaMultiselectable: I,
|
|
6805
6805
|
ariaActiveDescendant: b,
|
|
6806
|
-
ariaOptionId:
|
|
6806
|
+
ariaOptionId: B,
|
|
6807
6807
|
ariaOptionLabel: Z,
|
|
6808
6808
|
ariaGroupId: R,
|
|
6809
6809
|
ariaGroupLabel: K,
|
|
@@ -7482,7 +7482,7 @@ function Gp(t, e, a, s, n, i) {
|
|
|
7482
7482
|
]) : E("v-if", !0)
|
|
7483
7483
|
], 16, Ep),
|
|
7484
7484
|
E(" Options "),
|
|
7485
|
-
(p(),
|
|
7485
|
+
(p(), D(Tt, {
|
|
7486
7486
|
to: a.appendTo || "body",
|
|
7487
7487
|
disabled: !a.appendToBody && !a.appendTo
|
|
7488
7488
|
}, [
|
|
@@ -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(),
|
|
7709
|
+
}), (n, i) => (p(), D(J(ct), {
|
|
7710
7710
|
ref_key: "multiselectRef",
|
|
7711
7711
|
ref: s,
|
|
7712
7712
|
class: "ao-multiselect"
|
|
@@ -7832,7 +7832,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7832
7832
|
key: h.id,
|
|
7833
7833
|
class: "ao-subtask"
|
|
7834
7834
|
}, [
|
|
7835
|
-
((w = c.isCheckable) == null ? void 0 : w.call(c, h)) ?? !1 ? (p(),
|
|
7835
|
+
((w = c.isCheckable) == null ? void 0 : w.call(c, h)) ?? !1 ? (p(), D(re, {
|
|
7836
7836
|
key: 0,
|
|
7837
7837
|
class: "ao-subtask__check",
|
|
7838
7838
|
"icon-name": h.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -7851,7 +7851,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7851
7851
|
onKeyup: pt(u, ["enter"])
|
|
7852
7852
|
}, null, 42, ev),
|
|
7853
7853
|
qa(". "),
|
|
7854
|
-
!c.isTemplate && c.users ? (p(),
|
|
7854
|
+
!c.isTemplate && c.users ? (p(), D(Ae, {
|
|
7855
7855
|
key: 1,
|
|
7856
7856
|
value: (_ = h.assignee) != null && _.id ? [h.assignee.id] : [],
|
|
7857
7857
|
options: n.value,
|
|
@@ -7875,7 +7875,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7875
7875
|
]),
|
|
7876
7876
|
_: 2
|
|
7877
7877
|
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : E("", !0),
|
|
7878
|
-
c.isEditable ? (p(),
|
|
7878
|
+
c.isEditable ? (p(), D(re, {
|
|
7879
7879
|
key: 2,
|
|
7880
7880
|
class: "ao-subtask__delete",
|
|
7881
7881
|
"icon-name": "CancelRounded",
|
|
@@ -7888,7 +7888,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7888
7888
|
}), 128))
|
|
7889
7889
|
]),
|
|
7890
7890
|
f("div", tv, [
|
|
7891
|
-
c.isEditable ? (p(),
|
|
7891
|
+
c.isEditable ? (p(), D(re, {
|
|
7892
7892
|
key: 0,
|
|
7893
7893
|
label: c.$t("activity.tasks.add"),
|
|
7894
7894
|
"icon-name": "Add",
|
|
@@ -7978,7 +7978,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7978
7978
|
}),
|
|
7979
7979
|
f("span", lv, Y(v.name), 1)
|
|
7980
7980
|
], 8, iv),
|
|
7981
|
-
u.isEditable ? (p(),
|
|
7981
|
+
u.isEditable ? (p(), D(re, {
|
|
7982
7982
|
key: 0,
|
|
7983
7983
|
class: "ao-files__delete-button",
|
|
7984
7984
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -8053,7 +8053,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8053
8053
|
}), (_, g) => {
|
|
8054
8054
|
var $;
|
|
8055
8055
|
return p(), C("li", hv, [
|
|
8056
|
-
s.value ? (p(),
|
|
8056
|
+
s.value ? (p(), D(et, {
|
|
8057
8057
|
key: 0,
|
|
8058
8058
|
"avatar-url": ($ = _.user) == null ? void 0 : $.avatarUrl,
|
|
8059
8059
|
"user-name": s.value,
|
|
@@ -8062,7 +8062,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8062
8062
|
f("span", mv, Y(d.value), 1),
|
|
8063
8063
|
f("div", gv, [
|
|
8064
8064
|
f("div", Cv, [
|
|
8065
|
-
(p(),
|
|
8065
|
+
(p(), D(mt(u.value), {
|
|
8066
8066
|
ref_key: "commentContent",
|
|
8067
8067
|
ref: n,
|
|
8068
8068
|
class: "ao-comment__content",
|
|
@@ -8132,8 +8132,8 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8132
8132
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
8133
8133
|
setup(t, { emit: e }) {
|
|
8134
8134
|
const a = t, s = M(() => (a.comments || []).toSorted(
|
|
8135
|
-
(A,
|
|
8136
|
-
)), n = (P) => a.users.find((
|
|
8135
|
+
(A, B) => t0(ca(A.createdAt), ca(B.createdAt))
|
|
8136
|
+
)), n = (P) => a.users.find((B) => B.id === P), i = q();
|
|
8137
8137
|
$e(() => {
|
|
8138
8138
|
i.value && (i.value.scrollTop = i.value.scrollHeight);
|
|
8139
8139
|
});
|
|
@@ -8155,9 +8155,9 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8155
8155
|
}, u = (P) => {
|
|
8156
8156
|
e("removeComment", { id: P });
|
|
8157
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,
|
|
8158
|
+
const A = P.target, B = A.selectionStart, Z = A.value.slice(0, B).match(/@(\w*)$/);
|
|
8159
8159
|
Z ? (v.value = Z[1], h.value = !0, $e(() => {
|
|
8160
|
-
const { top: K, left: te } = I(A,
|
|
8160
|
+
const { top: K, left: te } = I(A, B);
|
|
8161
8161
|
w.value = { top: K, left: te };
|
|
8162
8162
|
})) : h.value = !1;
|
|
8163
8163
|
}, $ = (P) => {
|
|
@@ -8175,13 +8175,13 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8175
8175
|
const A = _.value;
|
|
8176
8176
|
if (!A)
|
|
8177
8177
|
return;
|
|
8178
|
-
const
|
|
8178
|
+
const B = A.selectionStart, R = o.value, Z = R.slice(0, B).replace(/@(\w*)$/, `@${P} `), K = R.slice(B);
|
|
8179
8179
|
o.value = Z + K, h.value = !1, $e(() => {
|
|
8180
8180
|
A.focus(), A.setSelectionRange(Z.length, Z.length);
|
|
8181
8181
|
});
|
|
8182
8182
|
};
|
|
8183
8183
|
function I(P, A) {
|
|
8184
|
-
const
|
|
8184
|
+
const B = document.createElement("div"), R = document.createElement("span"), Z = window.getComputedStyle(P), K = [
|
|
8185
8185
|
"boxSizing",
|
|
8186
8186
|
"width",
|
|
8187
8187
|
"height",
|
|
@@ -8209,20 +8209,20 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8209
8209
|
"letterSpacing",
|
|
8210
8210
|
"wordSpacing"
|
|
8211
8211
|
];
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
}),
|
|
8212
|
+
B.style.position = "absolute", B.style.visibility = "hidden", B.style.whiteSpace = "pre-wrap", B.style.overflow = "hidden", K.forEach((O) => {
|
|
8213
|
+
B.style[O] = Z.getPropertyValue(O);
|
|
8214
|
+
}), B.style.width = Z.getPropertyValue("width"), B.scrollTop = P.scrollTop, B.scrollLeft = P.scrollLeft;
|
|
8215
8215
|
const te = P.value.substring(0, A), N = P.value.substring(A) || ".";
|
|
8216
|
-
|
|
8217
|
-
const G = R.getBoundingClientRect(), ie =
|
|
8218
|
-
return document.body.removeChild(
|
|
8219
|
-
top: ee +
|
|
8216
|
+
B.textContent = te, R.textContent = N[0], B.appendChild(R), document.body.appendChild(B);
|
|
8217
|
+
const G = R.getBoundingClientRect(), ie = B.getBoundingClientRect(), se = P.getBoundingClientRect(), ee = G.top - ie.top + se.top - P.scrollTop, L = G.left - ie.left + se.left - P.scrollLeft;
|
|
8218
|
+
return document.body.removeChild(B), {
|
|
8219
|
+
top: ee + 50,
|
|
8220
8220
|
// adjust vertical offset for dropdown
|
|
8221
8221
|
left: L
|
|
8222
8222
|
};
|
|
8223
8223
|
}
|
|
8224
8224
|
return (P, A) => {
|
|
8225
|
-
var
|
|
8225
|
+
var B;
|
|
8226
8226
|
return p(), C("div", {
|
|
8227
8227
|
ref_key: "commentsContainer",
|
|
8228
8228
|
ref: i,
|
|
@@ -8262,8 +8262,8 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
|
|
|
8262
8262
|
])
|
|
8263
8263
|
], 40, wv)
|
|
8264
8264
|
]),
|
|
8265
|
-
((
|
|
8266
|
-
(p(!0), C(fe, null, Ce(s.value, (R) => (p(),
|
|
8265
|
+
((B = s.value) == null ? void 0 : B.length) > 0 ? (p(), C("ul", Sv, [
|
|
8266
|
+
(p(!0), C(fe, null, Ce(s.value, (R) => (p(), D(yv, {
|
|
8267
8267
|
key: R.id,
|
|
8268
8268
|
user: n(R.author.id),
|
|
8269
8269
|
content: R.message,
|
|
@@ -8300,7 +8300,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8300
8300
|
const a = t, s = () => {
|
|
8301
8301
|
e("update:modelValue", !a.modelValue);
|
|
8302
8302
|
};
|
|
8303
|
-
return (n, i) => (p(),
|
|
8303
|
+
return (n, i) => (p(), D(re, {
|
|
8304
8304
|
color: n.modelValue ? n.color : J(Ls).NEUTRAL,
|
|
8305
8305
|
"icon-position": "start",
|
|
8306
8306
|
onClick: i[0] || (i[0] = () => s())
|
|
@@ -8457,10 +8457,10 @@ const As = /* @__PURE__ */ x({
|
|
|
8457
8457
|
e("deleteSubtask", y);
|
|
8458
8458
|
};
|
|
8459
8459
|
function I() {
|
|
8460
|
-
a.userId ?
|
|
8460
|
+
a.userId ? B.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
|
|
8461
8461
|
}
|
|
8462
8462
|
function P(y) {
|
|
8463
|
-
|
|
8463
|
+
B.value = [y];
|
|
8464
8464
|
}
|
|
8465
8465
|
const A = M(() => {
|
|
8466
8466
|
var y;
|
|
@@ -8469,7 +8469,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8469
8469
|
value: V.id,
|
|
8470
8470
|
avatar: V.avatarUrl
|
|
8471
8471
|
}))) || [];
|
|
8472
|
-
}),
|
|
8472
|
+
}), B = M({
|
|
8473
8473
|
get() {
|
|
8474
8474
|
var y, V;
|
|
8475
8475
|
return (y = a.activity.assignee) != null && y.id ? [(V = a.activity.assignee) == null ? void 0 : V.id] : [];
|
|
@@ -8546,7 +8546,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8546
8546
|
console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
|
|
8547
8547
|
});
|
|
8548
8548
|
}
|
|
8549
|
-
return (y, V) => (p(),
|
|
8549
|
+
return (y, V) => (p(), D(Ja, {
|
|
8550
8550
|
onClose: V[10] || (V[10] = (le) => y.$emit("close"))
|
|
8551
8551
|
}, {
|
|
8552
8552
|
default: F(() => {
|
|
@@ -8555,7 +8555,7 @@ const As = /* @__PURE__ */ x({
|
|
|
8555
8555
|
f("div", Tv, [
|
|
8556
8556
|
f("div", Ov, [
|
|
8557
8557
|
f("div", Ev, [
|
|
8558
|
-
y.activity.slug ? (p(),
|
|
8558
|
+
y.activity.slug ? (p(), D(ra, {
|
|
8559
8559
|
key: 0,
|
|
8560
8560
|
label: y.activity.slug,
|
|
8561
8561
|
clickable: !0,
|
|
@@ -8732,8 +8732,8 @@ const As = /* @__PURE__ */ x({
|
|
|
8732
8732
|
}, null, 8, ["label"])
|
|
8733
8733
|
]),
|
|
8734
8734
|
T(Ae, {
|
|
8735
|
-
modelValue:
|
|
8736
|
-
"onUpdate:modelValue": V[3] || (V[3] = (H) =>
|
|
8735
|
+
modelValue: B.value,
|
|
8736
|
+
"onUpdate:modelValue": V[3] || (V[3] = (H) => B.value = H),
|
|
8737
8737
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8738
8738
|
options: A.value,
|
|
8739
8739
|
"close-on-select": !0,
|
|
@@ -8960,7 +8960,7 @@ const Of = /* @__PURE__ */ x({
|
|
|
8960
8960
|
e("update:rule", { ...a.rule, durationUnit: $ });
|
|
8961
8961
|
}
|
|
8962
8962
|
}), g = M(() => Object.values(K2));
|
|
8963
|
-
return ($, b) => (p(),
|
|
8963
|
+
return ($, b) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
|
|
8964
8964
|
default: F(() => [
|
|
8965
8965
|
T(J(ct), {
|
|
8966
8966
|
modelValue: n.value,
|
|
@@ -9026,7 +9026,7 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
|
|
|
9026
9026
|
}, s = (n) => {
|
|
9027
9027
|
e("removeRule", n);
|
|
9028
9028
|
};
|
|
9029
|
-
return (n, i) => (p(),
|
|
9029
|
+
return (n, i) => (p(), D(Ja, null, {
|
|
9030
9030
|
header: F(() => [
|
|
9031
9031
|
T(be, {
|
|
9032
9032
|
title: n.$t("template.rules.title"),
|
|
@@ -9036,7 +9036,7 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
|
|
|
9036
9036
|
default: F(() => [
|
|
9037
9037
|
f("div", Ef, [
|
|
9038
9038
|
f("ul", If, [
|
|
9039
|
-
(p(!0), C(fe, null, Ce(n.rules, (o) => (p(),
|
|
9039
|
+
(p(!0), C(fe, null, Ce(n.rules, (o) => (p(), D(Of, {
|
|
9040
9040
|
key: o.id,
|
|
9041
9041
|
rule: o,
|
|
9042
9042
|
"template-phases": n.templatePhases,
|
|
@@ -9258,8 +9258,8 @@ const Pf = {
|
|
|
9258
9258
|
templateId: a.templateId,
|
|
9259
9259
|
data: k
|
|
9260
9260
|
});
|
|
9261
|
-
},
|
|
9262
|
-
|
|
9261
|
+
}, B = q(!1), R = () => {
|
|
9262
|
+
B.value = !B.value;
|
|
9263
9263
|
}, Z = () => {
|
|
9264
9264
|
e("addRule", { templateId: a.templateId });
|
|
9265
9265
|
}, K = (L) => {
|
|
@@ -9375,7 +9375,7 @@ const Pf = {
|
|
|
9375
9375
|
}, 8, ["model-value"])
|
|
9376
9376
|
]),
|
|
9377
9377
|
f("li", Rf, [
|
|
9378
|
-
o.value ? (p(),
|
|
9378
|
+
o.value ? (p(), D($5, {
|
|
9379
9379
|
key: 0,
|
|
9380
9380
|
"template-id": L.templateId,
|
|
9381
9381
|
phase: o.value,
|
|
@@ -9387,7 +9387,7 @@ const Pf = {
|
|
|
9387
9387
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
|
|
9388
9388
|
]),
|
|
9389
9389
|
f("li", jf, [
|
|
9390
|
-
o.value && l.value ? (p(),
|
|
9390
|
+
o.value && l.value ? (p(), D(A5, {
|
|
9391
9391
|
key: 0,
|
|
9392
9392
|
"template-id": L.templateId,
|
|
9393
9393
|
"phase-id": (U = o.value) == null ? void 0 : U.id,
|
|
@@ -9400,8 +9400,8 @@ const Pf = {
|
|
|
9400
9400
|
])
|
|
9401
9401
|
])
|
|
9402
9402
|
]),
|
|
9403
|
-
(p(),
|
|
9404
|
-
u.value ? (p(),
|
|
9403
|
+
(p(), D(Tt, { to: "body" }, [
|
|
9404
|
+
u.value ? (p(), D(Ys, {
|
|
9405
9405
|
key: 0,
|
|
9406
9406
|
activity: u.value,
|
|
9407
9407
|
"activity-types": L.activityTypes,
|
|
@@ -9429,8 +9429,8 @@ const Pf = {
|
|
|
9429
9429
|
_: 3
|
|
9430
9430
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : E("", !0)
|
|
9431
9431
|
])),
|
|
9432
|
-
(p(),
|
|
9433
|
-
|
|
9432
|
+
(p(), D(Tt, { to: "body" }, [
|
|
9433
|
+
B.value ? (p(), D(Lf, {
|
|
9434
9434
|
key: 0,
|
|
9435
9435
|
"template-id": n.value.id,
|
|
9436
9436
|
rules: n.value.rules || [],
|
|
@@ -9462,7 +9462,7 @@ const Uf = { class: "ao-card__content" }, Ff = {
|
|
|
9462
9462
|
withLeftBorder: { type: Boolean, default: !1 }
|
|
9463
9463
|
},
|
|
9464
9464
|
setup(t) {
|
|
9465
|
-
return (e, a) => (p(),
|
|
9465
|
+
return (e, a) => (p(), D(mt(e.tagName), {
|
|
9466
9466
|
class: Q([
|
|
9467
9467
|
"ao-card",
|
|
9468
9468
|
{
|
|
@@ -9626,7 +9626,7 @@ var Ks = x({
|
|
|
9626
9626
|
});
|
|
9627
9627
|
const xf = { ref: "canvasSaturation" };
|
|
9628
9628
|
function Kf(t, e, a, s, n, i) {
|
|
9629
|
-
return p(),
|
|
9629
|
+
return p(), D(
|
|
9630
9630
|
"div",
|
|
9631
9631
|
{
|
|
9632
9632
|
class: "saturation",
|
|
@@ -9712,7 +9712,7 @@ var Gs = x({
|
|
|
9712
9712
|
});
|
|
9713
9713
|
const Gf = { ref: "canvasHue" };
|
|
9714
9714
|
function Xf(t, e, a, s, n, i) {
|
|
9715
|
-
return p(),
|
|
9715
|
+
return p(), D(
|
|
9716
9716
|
"div",
|
|
9717
9717
|
{
|
|
9718
9718
|
class: "hue",
|
|
@@ -9807,7 +9807,7 @@ var Xs = x({
|
|
|
9807
9807
|
});
|
|
9808
9808
|
const Qf = { ref: "canvasAlpha" };
|
|
9809
9809
|
function Jf(t, e, a, s, n, i) {
|
|
9810
|
-
return p(),
|
|
9810
|
+
return p(), D(
|
|
9811
9811
|
"div",
|
|
9812
9812
|
{
|
|
9813
9813
|
class: "color-alpha",
|
|
@@ -9874,7 +9874,7 @@ var Qs = x({
|
|
|
9874
9874
|
}
|
|
9875
9875
|
});
|
|
9876
9876
|
function eh(t, e, a, s, n, i) {
|
|
9877
|
-
return p(),
|
|
9877
|
+
return p(), D("canvas");
|
|
9878
9878
|
}
|
|
9879
9879
|
Qs.render = eh;
|
|
9880
9880
|
Qs.__file = "src/color/Preview.vue";
|
|
@@ -9984,8 +9984,8 @@ const th = /* @__PURE__ */ T(
|
|
|
9984
9984
|
/* HOISTED */
|
|
9985
9985
|
);
|
|
9986
9986
|
function nh(t, e, a, s, n, i) {
|
|
9987
|
-
return p(),
|
|
9988
|
-
t.isSucking ? E("v-if", !0) : (p(),
|
|
9987
|
+
return p(), D("div", null, [
|
|
9988
|
+
t.isSucking ? E("v-if", !0) : (p(), D(
|
|
9989
9989
|
"svg",
|
|
9990
9990
|
{
|
|
9991
9991
|
key: 0,
|
|
@@ -10000,7 +10000,7 @@ function nh(t, e, a, s, n, i) {
|
|
|
10000
10000
|
2
|
|
10001
10001
|
/* CLASS */
|
|
10002
10002
|
)),
|
|
10003
|
-
t.isSucking ? (p(),
|
|
10003
|
+
t.isSucking ? (p(), D("svg", ah, [
|
|
10004
10004
|
sh
|
|
10005
10005
|
])) : E("v-if", !0)
|
|
10006
10006
|
]);
|
|
@@ -10040,7 +10040,7 @@ var en = x({
|
|
|
10040
10040
|
});
|
|
10041
10041
|
const oh = { class: "color-type" }, ih = { class: "name" };
|
|
10042
10042
|
function lh(t, e, a, s, n, i) {
|
|
10043
|
-
return p(),
|
|
10043
|
+
return p(), D("div", oh, [
|
|
10044
10044
|
T(
|
|
10045
10045
|
"span",
|
|
10046
10046
|
ih,
|
|
@@ -10111,12 +10111,12 @@ const rh = { class: "colors" }, uh = {
|
|
|
10111
10111
|
class: "colors history"
|
|
10112
10112
|
};
|
|
10113
10113
|
function ch(t, e, a, s, n, i) {
|
|
10114
|
-
return p(),
|
|
10114
|
+
return p(), D("div", null, [
|
|
10115
10115
|
T("ul", rh, [
|
|
10116
|
-
(p(!0),
|
|
10116
|
+
(p(!0), D(
|
|
10117
10117
|
fe,
|
|
10118
10118
|
null,
|
|
10119
|
-
Ce(t.colorsDefault, (o) => (p(),
|
|
10119
|
+
Ce(t.colorsDefault, (o) => (p(), D("li", {
|
|
10120
10120
|
key: o,
|
|
10121
10121
|
class: "item",
|
|
10122
10122
|
onClick: (l) => t.selectColor(o)
|
|
@@ -10146,11 +10146,11 @@ function ch(t, e, a, s, n, i) {
|
|
|
10146
10146
|
/* KEYED_FRAGMENT */
|
|
10147
10147
|
))
|
|
10148
10148
|
]),
|
|
10149
|
-
t.colorsHistory.length ? (p(),
|
|
10150
|
-
(p(!0),
|
|
10149
|
+
t.colorsHistory.length ? (p(), D("ul", uh, [
|
|
10150
|
+
(p(!0), D(
|
|
10151
10151
|
fe,
|
|
10152
10152
|
null,
|
|
10153
|
-
Ce(t.colorsHistory, (o) => (p(),
|
|
10153
|
+
Ce(t.colorsHistory, (o) => (p(), D("li", {
|
|
10154
10154
|
key: o,
|
|
10155
10155
|
class: "item",
|
|
10156
10156
|
onClick: (l) => t.selectColor(o)
|
|
@@ -10360,7 +10360,7 @@ var Ut = x({
|
|
|
10360
10360
|
const dh = { class: "color-set" };
|
|
10361
10361
|
function ph(t, e, a, s, n, i) {
|
|
10362
10362
|
const o = ut("Saturation"), l = ut("Hue"), r = ut("Alpha"), d = ut("Preview"), u = ut("Sucker"), c = ut("Box"), v = ut("Colors");
|
|
10363
|
-
return p(),
|
|
10363
|
+
return p(), D(
|
|
10364
10364
|
"div",
|
|
10365
10365
|
{
|
|
10366
10366
|
class: ["hu-color-picker", { light: t.isLightTheme }],
|
|
@@ -10403,7 +10403,7 @@ function ph(t, e, a, s, n, i) {
|
|
|
10403
10403
|
width: t.previewWidth,
|
|
10404
10404
|
height: t.previewHeight
|
|
10405
10405
|
}, null, 8, ["color", "width", "height"]),
|
|
10406
|
-
t.suckerHide ? E("v-if", !0) : (p(),
|
|
10406
|
+
t.suckerHide ? E("v-if", !0) : (p(), D(u, {
|
|
10407
10407
|
key: 0,
|
|
10408
10408
|
"sucker-canvas": t.suckerCanvas,
|
|
10409
10409
|
"sucker-area": t.suckerArea,
|
|
@@ -10554,7 +10554,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
|
|
|
10554
10554
|
const h = c.target;
|
|
10555
10555
|
h.closest("button") || h.closest("input") || h.closest(".ao-title") || v(h);
|
|
10556
10556
|
};
|
|
10557
|
-
return (c, v) => (p(),
|
|
10557
|
+
return (c, v) => (p(), D(an, {
|
|
10558
10558
|
color: d.value,
|
|
10559
10559
|
"onUpdate:color": v[2] || (v[2] = (h) => d.value = h)
|
|
10560
10560
|
}, {
|
|
@@ -10708,7 +10708,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10708
10708
|
}), o = M(() => (i.value || 0) / (n.value || 1)), l = (r) => {
|
|
10709
10709
|
e("updateMilestone", { id: a.id, name: r });
|
|
10710
10710
|
};
|
|
10711
|
-
return (r, d) => (p(),
|
|
10711
|
+
return (r, d) => (p(), D(is, {
|
|
10712
10712
|
class: Q([
|
|
10713
10713
|
"ao-card-project-milestone"
|
|
10714
10714
|
]),
|
|
@@ -10775,7 +10775,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
|
|
|
10775
10775
|
]),
|
|
10776
10776
|
footer: F(() => [
|
|
10777
10777
|
f("div", Vh, [
|
|
10778
|
-
r.important ? (p(),
|
|
10778
|
+
r.important ? (p(), D(pe, {
|
|
10779
10779
|
key: 0,
|
|
10780
10780
|
name: "FlagRounded",
|
|
10781
10781
|
class: Q(
|
|
@@ -10855,7 +10855,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
|
|
|
10855
10855
|
const h = c.target;
|
|
10856
10856
|
h.closest("button") || h.closest("input") || h.closest(".ao-title") || v();
|
|
10857
10857
|
};
|
|
10858
|
-
return (c, v) => (p(),
|
|
10858
|
+
return (c, v) => (p(), D(an, {
|
|
10859
10859
|
color: d.value,
|
|
10860
10860
|
"onUpdate:color": v[2] || (v[2] = (h) => d.value = h)
|
|
10861
10861
|
}, {
|
|
@@ -11106,7 +11106,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
|
|
|
11106
11106
|
_: 1
|
|
11107
11107
|
}, 16, ["list", "disabled"]),
|
|
11108
11108
|
f("div", t9, [
|
|
11109
|
-
b.isEditable ? (p(),
|
|
11109
|
+
b.isEditable ? (p(), D(Ct, {
|
|
11110
11110
|
key: 0,
|
|
11111
11111
|
label: b.$t("project.milestone.add"),
|
|
11112
11112
|
class: "ao-project-phase__milestone-add",
|
|
@@ -11219,7 +11219,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
|
|
|
11219
11219
|
}, o = () => {
|
|
11220
11220
|
n.value && e("apply", n.value, a.projectId);
|
|
11221
11221
|
};
|
|
11222
|
-
return (l, r) => (p(),
|
|
11222
|
+
return (l, r) => (p(), D(Ja, { size: "sm" }, {
|
|
11223
11223
|
header: F(() => [
|
|
11224
11224
|
T(be, {
|
|
11225
11225
|
title: l.$t("project.template.apply.title"),
|
|
@@ -11271,7 +11271,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
|
|
|
11271
11271
|
const i = () => {
|
|
11272
11272
|
s.value && e("save", s.value, n.value);
|
|
11273
11273
|
};
|
|
11274
|
-
return (o, l) => (p(),
|
|
11274
|
+
return (o, l) => (p(), D(Ja, { size: "sm" }, {
|
|
11275
11275
|
header: F(() => [
|
|
11276
11276
|
T(be, {
|
|
11277
11277
|
title: o.$t("project.template.save.title"),
|
|
@@ -11415,7 +11415,7 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11415
11415
|
() => n.value.flatMap((O) => O.activities)
|
|
11416
11416
|
), A = (O) => {
|
|
11417
11417
|
e("addFiles", O);
|
|
11418
|
-
},
|
|
11418
|
+
}, B = (O) => {
|
|
11419
11419
|
e("removeFile", O);
|
|
11420
11420
|
}, R = (O) => {
|
|
11421
11421
|
e("addComment", O);
|
|
@@ -11462,14 +11462,14 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11462
11462
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
11463
11463
|
]),
|
|
11464
11464
|
secondary: F(() => [
|
|
11465
|
-
O.isEditable === !0 ? (p(),
|
|
11465
|
+
O.isEditable === !0 ? (p(), D(re, {
|
|
11466
11466
|
key: 0,
|
|
11467
11467
|
class: "ao-project-overview__save-as-template",
|
|
11468
11468
|
color: "primary",
|
|
11469
11469
|
label: O.$t("project.template.save.label"),
|
|
11470
11470
|
onClick: k[2] || (k[2] = (y) => N.value = !0)
|
|
11471
11471
|
}, null, 8, ["label"])) : E("", !0),
|
|
11472
|
-
O.isEditable === !0 ? (p(),
|
|
11472
|
+
O.isEditable === !0 ? (p(), D(re, {
|
|
11473
11473
|
key: 1,
|
|
11474
11474
|
class: "ao-project-overview__add-template",
|
|
11475
11475
|
color: "primary",
|
|
@@ -11512,7 +11512,7 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11512
11512
|
onArchiveActivity: g,
|
|
11513
11513
|
onUnarchiveActivity: $
|
|
11514
11514
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
11515
|
-
(p(),
|
|
11515
|
+
(p(), D(Tt, { to: "body" }, [
|
|
11516
11516
|
T(U, {
|
|
11517
11517
|
name: "modal",
|
|
11518
11518
|
activities: P.value,
|
|
@@ -11530,13 +11530,13 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11530
11530
|
onUpdateSubtask: m,
|
|
11531
11531
|
onDeleteSubtask: I,
|
|
11532
11532
|
onAddFiles: A,
|
|
11533
|
-
onRemoveFile:
|
|
11533
|
+
onRemoveFile: B,
|
|
11534
11534
|
onAddComment: R,
|
|
11535
11535
|
onUpdateComment: Z,
|
|
11536
11536
|
onRemoveComment: K
|
|
11537
11537
|
}, {
|
|
11538
11538
|
default: F(({ Component: y }) => [
|
|
11539
|
-
(p(),
|
|
11539
|
+
(p(), D(mt(y), null, {
|
|
11540
11540
|
default: F((V) => [
|
|
11541
11541
|
ae(O.$slots, "activityDetailsBody", ha(ma(V)))
|
|
11542
11542
|
]),
|
|
@@ -11547,14 +11547,14 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
|
|
|
11547
11547
|
}, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
|
|
11548
11548
|
]))
|
|
11549
11549
|
], 16),
|
|
11550
|
-
(p(),
|
|
11551
|
-
N.value ? (p(),
|
|
11550
|
+
(p(), D(Tt, { to: "body" }, [
|
|
11551
|
+
N.value ? (p(), D(go, {
|
|
11552
11552
|
key: 0,
|
|
11553
11553
|
phases: O.phases,
|
|
11554
11554
|
onClose: k[5] || (k[5] = (y) => N.value = !1),
|
|
11555
11555
|
onSave: ie
|
|
11556
11556
|
}, null, 8, ["phases"])) : E("", !0),
|
|
11557
|
-
te.value ? (p(),
|
|
11557
|
+
te.value ? (p(), D(mo, {
|
|
11558
11558
|
key: 1,
|
|
11559
11559
|
"project-id": O.project.id,
|
|
11560
11560
|
templates: O.templates,
|
|
@@ -11636,13 +11636,13 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11636
11636
|
var h;
|
|
11637
11637
|
return (h = a.tasks) == null ? void 0 : h.filter((w) => w.isDone).length;
|
|
11638
11638
|
}), v = M(() => (c.value || 0) / (u.value || 1));
|
|
11639
|
-
return (h, w) => (p(),
|
|
11639
|
+
return (h, w) => (p(), D(is, {
|
|
11640
11640
|
class: Q(["ao-card-feed", { "ao-card-feed--closed": h.isClosed }]),
|
|
11641
11641
|
"is-clickable": !0
|
|
11642
11642
|
}, {
|
|
11643
11643
|
header: F(() => [
|
|
11644
11644
|
f("div", O9, [
|
|
11645
|
-
s.value ? (p(),
|
|
11645
|
+
s.value ? (p(), D(ra, {
|
|
11646
11646
|
key: 0,
|
|
11647
11647
|
label: s.value,
|
|
11648
11648
|
class: "ao-card-feed__project",
|
|
@@ -11651,19 +11651,19 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
|
|
|
11651
11651
|
"raw-color": n.value
|
|
11652
11652
|
}, null, 8, ["label", "color", "raw-color"])) : E("", !0),
|
|
11653
11653
|
h.isPrivate || h.important || h.isClosed ? (p(), C("div", E9, [
|
|
11654
|
-
h.isPrivate ? (p(),
|
|
11654
|
+
h.isPrivate ? (p(), D(pe, {
|
|
11655
11655
|
key: 0,
|
|
11656
11656
|
name: "Lock",
|
|
11657
11657
|
class: "ao-card-feed__warning",
|
|
11658
11658
|
size: "sm"
|
|
11659
11659
|
})) : E("", !0),
|
|
11660
|
-
h.important ? (p(),
|
|
11660
|
+
h.important ? (p(), D(pe, {
|
|
11661
11661
|
key: 1,
|
|
11662
11662
|
name: "FlagRounded",
|
|
11663
11663
|
class: "ao-card-feed__important",
|
|
11664
11664
|
size: "sm"
|
|
11665
11665
|
})) : E("", !0),
|
|
11666
|
-
h.isClosed ? (p(),
|
|
11666
|
+
h.isClosed ? (p(), D(pe, {
|
|
11667
11667
|
key: 2,
|
|
11668
11668
|
name: "CheckSmallRounded",
|
|
11669
11669
|
class: "ao-card-feed__closed"
|
|
@@ -11926,13 +11926,13 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11926
11926
|
}, {
|
|
11927
11927
|
tag: F(({
|
|
11928
11928
|
option: A,
|
|
11929
|
-
handleTagRemove:
|
|
11929
|
+
handleTagRemove: B
|
|
11930
11930
|
}) => [
|
|
11931
11931
|
T(et, {
|
|
11932
11932
|
"user-name": A.label,
|
|
11933
11933
|
"avatar-url": A.avatar,
|
|
11934
11934
|
"is-closable": !0,
|
|
11935
|
-
onClose: (R) =>
|
|
11935
|
+
onClose: (R) => B(A, R)
|
|
11936
11936
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
11937
11937
|
]),
|
|
11938
11938
|
_: 1
|
|
@@ -11943,9 +11943,9 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11943
11943
|
color: v.value,
|
|
11944
11944
|
"onUpdate:color": I[3] || (I[3] = (A) => v.value = A)
|
|
11945
11945
|
}, {
|
|
11946
|
-
clickable: F(({ openPicker: A, bgColor:
|
|
11946
|
+
clickable: F(({ openPicker: A, bgColor: B }) => [
|
|
11947
11947
|
f("button", {
|
|
11948
|
-
style: We({ background:
|
|
11948
|
+
style: We({ background: B }),
|
|
11949
11949
|
class: "color-button",
|
|
11950
11950
|
onClick: (R) => b(R, A)
|
|
11951
11951
|
}, null, 12, l4)
|
|
@@ -11963,12 +11963,12 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11963
11963
|
group: "kanban"
|
|
11964
11964
|
}, m.$attrs, { onChange: c }), {
|
|
11965
11965
|
item: F(({ element: A }) => {
|
|
11966
|
-
var
|
|
11966
|
+
var B, R, Z, K, te;
|
|
11967
11967
|
return [
|
|
11968
11968
|
T(Co, {
|
|
11969
11969
|
id: A.id,
|
|
11970
11970
|
name: A.name || A.id,
|
|
11971
|
-
"phase-name": (
|
|
11971
|
+
"phase-name": (B = n.value) == null ? void 0 : B.name,
|
|
11972
11972
|
"milestone-name": (R = o.value) == null ? void 0 : R.name,
|
|
11973
11973
|
"milestone-color": (Z = o.value) == null ? void 0 : Z.color,
|
|
11974
11974
|
deadline: A.deadline,
|
|
@@ -11992,7 +11992,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
11992
11992
|
m.isEditable ? {
|
|
11993
11993
|
name: "secondary",
|
|
11994
11994
|
fn: F(() => [
|
|
11995
|
-
m.isEditable && A.active ? (p(),
|
|
11995
|
+
m.isEditable && A.active ? (p(), D(re, {
|
|
11996
11996
|
key: 0,
|
|
11997
11997
|
color: "primary",
|
|
11998
11998
|
variant: "ghost",
|
|
@@ -12003,7 +12003,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
|
|
|
12003
12003
|
label: m.$t("archive"),
|
|
12004
12004
|
onClick: ve(() => m.$emit("archiveActivity", { id: A.id }), ["stop"])
|
|
12005
12005
|
}, null, 8, ["label", "onClick"])) : E("", !0),
|
|
12006
|
-
m.isEditable && !A.active ? (p(),
|
|
12006
|
+
m.isEditable && !A.active ? (p(), D(re, {
|
|
12007
12007
|
key: 1,
|
|
12008
12008
|
color: "primary",
|
|
12009
12009
|
variant: "ghost",
|
|
@@ -12091,7 +12091,7 @@ const c4 = /* @__PURE__ */ x({
|
|
|
12091
12091
|
};
|
|
12092
12092
|
return (g, $) => {
|
|
12093
12093
|
var b, m;
|
|
12094
|
-
return o.value ? (p(),
|
|
12094
|
+
return o.value ? (p(), D(Ys, {
|
|
12095
12095
|
key: 0,
|
|
12096
12096
|
activity: o.value,
|
|
12097
12097
|
"activity-types": g.activityTypes,
|
|
@@ -12137,7 +12137,7 @@ const c4 = /* @__PURE__ */ x({
|
|
|
12137
12137
|
class: "ao-col-header__title",
|
|
12138
12138
|
level: 4
|
|
12139
12139
|
}, null, 8, ["title"]),
|
|
12140
|
-
e.items ? (p(),
|
|
12140
|
+
e.items ? (p(), D(ra, {
|
|
12141
12141
|
key: 0,
|
|
12142
12142
|
label: e.items,
|
|
12143
12143
|
class: "ao-col-header__items",
|
|
@@ -12313,7 +12313,7 @@ const $4 = {
|
|
|
12313
12313
|
var v;
|
|
12314
12314
|
return [
|
|
12315
12315
|
f("div", k4, [
|
|
12316
|
-
u.title ? (p(),
|
|
12316
|
+
u.title ? (p(), D(p4, {
|
|
12317
12317
|
key: 0,
|
|
12318
12318
|
title: u.title,
|
|
12319
12319
|
level: 3,
|
|
@@ -12371,7 +12371,7 @@ const $4 = {
|
|
|
12371
12371
|
onRemoveAssignee: () => i(v) && l({ id: v.id, assigneeId: null })
|
|
12372
12372
|
}, {
|
|
12373
12373
|
secondary: F(() => [
|
|
12374
|
-
i(v) && v.active ? (p(),
|
|
12374
|
+
i(v) && v.active ? (p(), D(re, {
|
|
12375
12375
|
key: 0,
|
|
12376
12376
|
color: "primary",
|
|
12377
12377
|
variant: "ghost",
|
|
@@ -12382,7 +12382,7 @@ const $4 = {
|
|
|
12382
12382
|
label: u.$t("feed.activity.archive"),
|
|
12383
12383
|
onClick: ve(() => u.$emit("archiveActivity", { id: v.id }), ["stop"])
|
|
12384
12384
|
}, null, 8, ["label", "onClick"])) : E("", !0),
|
|
12385
|
-
i(v) && !v.active ? (p(),
|
|
12385
|
+
i(v) && !v.active ? (p(), D(re, {
|
|
12386
12386
|
key: 1,
|
|
12387
12387
|
color: "primary",
|
|
12388
12388
|
variant: "ghost",
|
|
@@ -12414,7 +12414,7 @@ const $4 = {
|
|
|
12414
12414
|
}, 16, ["class", "list", "disabled"]),
|
|
12415
12415
|
u.$slots.footer || u.footerLabel ? (p(), C("div", O4, [
|
|
12416
12416
|
ae(u.$slots, "footer", {}, () => [
|
|
12417
|
-
u.isEditable ? (p(),
|
|
12417
|
+
u.isEditable ? (p(), D(Ct, {
|
|
12418
12418
|
key: 0,
|
|
12419
12419
|
"icon-name": "AddBoxOutlineRounded",
|
|
12420
12420
|
label: u.footerLabel,
|
|
@@ -12550,7 +12550,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12550
12550
|
e("unarchiveActivity", k);
|
|
12551
12551
|
}, A = (k) => {
|
|
12552
12552
|
d.value = !1, e("update:searchText", k);
|
|
12553
|
-
},
|
|
12553
|
+
}, B = (k) => {
|
|
12554
12554
|
d.value = !1, e("clear:searchText", k);
|
|
12555
12555
|
}, R = (k) => {
|
|
12556
12556
|
a.selectedActivity && e("addSubtask", k);
|
|
@@ -12596,9 +12596,9 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12596
12596
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12597
12597
|
class: "ao-feed__search",
|
|
12598
12598
|
"onUpdate:modelValue": A,
|
|
12599
|
-
onClear:
|
|
12599
|
+
onClear: B
|
|
12600
12600
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12601
|
-
a.project ? E("", !0) : (p(),
|
|
12601
|
+
a.project ? E("", !0) : (p(), D(Ae, {
|
|
12602
12602
|
key: 0,
|
|
12603
12603
|
"model-value": k.filters[J(Dt).project],
|
|
12604
12604
|
mode: "tags",
|
|
@@ -12609,7 +12609,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12609
12609
|
placeholder: k.$t("feed.filters.project.placeholder"),
|
|
12610
12610
|
"onUpdate:modelValue": U[1] || (U[1] = (V) => h(J(Dt).project, V))
|
|
12611
12611
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12612
|
-
g.value ? (p(),
|
|
12612
|
+
g.value ? (p(), D(Ae, {
|
|
12613
12613
|
key: 1,
|
|
12614
12614
|
"model-value": k.filters[J(Dt).type],
|
|
12615
12615
|
mode: "tags",
|
|
@@ -12620,7 +12620,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12620
12620
|
placeholder: k.$t("feed.filters.activityType.placeholder"),
|
|
12621
12621
|
"onUpdate:modelValue": U[2] || (U[2] = (V) => h(J(Dt).type, V))
|
|
12622
12622
|
}, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
|
|
12623
|
-
$.value.length ? (p(),
|
|
12623
|
+
$.value.length ? (p(), D(Ae, {
|
|
12624
12624
|
key: 2,
|
|
12625
12625
|
"model-value": k.filters[J(Dt).assignee],
|
|
12626
12626
|
mode: "tags",
|
|
@@ -12685,7 +12685,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12685
12685
|
_: 1
|
|
12686
12686
|
}),
|
|
12687
12687
|
f("div", D4, [
|
|
12688
|
-
(p(!0), C(fe, null, Ce(k.statuses, (V) => (p(),
|
|
12688
|
+
(p(!0), C(fe, null, Ce(k.statuses, (V) => (p(), D(E4, {
|
|
12689
12689
|
key: V.id,
|
|
12690
12690
|
status: V,
|
|
12691
12691
|
list: l.value[V.id],
|
|
@@ -12702,8 +12702,8 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
|
|
|
12702
12702
|
onUpdateActivity: m
|
|
12703
12703
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12704
12704
|
]),
|
|
12705
|
-
(p(),
|
|
12706
|
-
k.selectedActivity ? (p(),
|
|
12705
|
+
(p(), D(Tt, { to: "body" }, [
|
|
12706
|
+
k.selectedActivity ? (p(), D(Ys, {
|
|
12707
12707
|
key: 0,
|
|
12708
12708
|
activity: k.selectedActivity,
|
|
12709
12709
|
"activity-types": k.activityTypes,
|
|
@@ -12808,14 +12808,14 @@ const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
|
|
|
12808
12808
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
12809
12809
|
]),
|
|
12810
12810
|
secondary: F(() => [
|
|
12811
|
-
g.isEditable === !0 ? (p(),
|
|
12811
|
+
g.isEditable === !0 ? (p(), D(re, {
|
|
12812
12812
|
key: 0,
|
|
12813
12813
|
class: "ao-project-mapping-overview__save-as-template",
|
|
12814
12814
|
color: "primary",
|
|
12815
12815
|
label: g.$t("project.template.save.label"),
|
|
12816
12816
|
onClick: $[2] || ($[2] = (b) => u.value = !0)
|
|
12817
12817
|
}, null, 8, ["label"])) : E("", !0),
|
|
12818
|
-
g.isEditable === !0 ? (p(),
|
|
12818
|
+
g.isEditable === !0 ? (p(), D(re, {
|
|
12819
12819
|
key: 1,
|
|
12820
12820
|
class: "ao-project-mapping-overview__add-template",
|
|
12821
12821
|
color: "primary",
|
|
@@ -12849,14 +12849,14 @@ const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
|
|
|
12849
12849
|
])
|
|
12850
12850
|
])
|
|
12851
12851
|
], 16),
|
|
12852
|
-
(p(),
|
|
12853
|
-
u.value ? (p(),
|
|
12852
|
+
(p(), D(Tt, { to: "body" }, [
|
|
12853
|
+
u.value ? (p(), D(go, {
|
|
12854
12854
|
key: 0,
|
|
12855
12855
|
phases: g.phases,
|
|
12856
12856
|
onClose: $[4] || ($[4] = (b) => u.value = !1),
|
|
12857
12857
|
onSave: v
|
|
12858
12858
|
}, null, 8, ["phases"])) : E("", !0),
|
|
12859
|
-
d.value ? (p(),
|
|
12859
|
+
d.value ? (p(), D(mo, {
|
|
12860
12860
|
key: 1,
|
|
12861
12861
|
"project-id": g.project.id,
|
|
12862
12862
|
templates: g.templates,
|
|
@@ -13065,7 +13065,7 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ x({
|
|
|
13065
13065
|
), n = (i) => {
|
|
13066
13066
|
a.modelModifiers.number && (i = Number(i)), e("update:modelValue", i);
|
|
13067
13067
|
};
|
|
13068
|
-
return (i, o) => (p(),
|
|
13068
|
+
return (i, o) => (p(), D(Y4, { label: i.label }, {
|
|
13069
13069
|
default: F(() => [
|
|
13070
13070
|
f("input", Me({
|
|
13071
13071
|
class: "ao-field__input",
|