@26lights/orcha 0.41.74 → 0.41.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +160 -161
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as D, unref as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as D, unref as X, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as J, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as pt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
4
|
const t8 = /* @__PURE__ */ q({
|
|
@@ -7,7 +7,7 @@ const t8 = /* @__PURE__ */ q({
|
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(), D(
|
|
10
|
+
return (e, a) => (p(), D(X(zi), Ae({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), U = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -1169,7 +1169,7 @@ const Ln = {
|
|
|
1169
1169
|
setup(t) {
|
|
1170
1170
|
const e = t, a = A(() => 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
|
});
|
|
@@ -1194,7 +1194,7 @@ const D2 = ["type"], B2 = {
|
|
|
1194
1194
|
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
1195
1195
|
return (n, o) => (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}` : "",
|
|
@@ -1290,16 +1290,16 @@ const be = /* @__PURE__ */ q({
|
|
|
1290
1290
|
{
|
|
1291
1291
|
[`ao-title--${b.color}`]: !!b.color,
|
|
1292
1292
|
"ao-title--editable": b.isEditable,
|
|
1293
|
-
"ao-field__input ao-title--editing":
|
|
1294
|
-
"ao-title--readonly": !
|
|
1293
|
+
"ao-field__input ao-title--editing": X(n),
|
|
1294
|
+
"ao-title--readonly": !X(n)
|
|
1295
1295
|
}
|
|
1296
1296
|
],
|
|
1297
|
-
type:
|
|
1298
|
-
value:
|
|
1297
|
+
type: X(n) ? "text" : null,
|
|
1298
|
+
value: X(n) ? b.title : null,
|
|
1299
1299
|
tabindex: "0",
|
|
1300
1300
|
onKeyup: dt(m, ["enter"])
|
|
1301
1301
|
}, ji(c.value), {
|
|
1302
|
-
onKeydown: dt(
|
|
1302
|
+
onKeydown: dt(X(d), ["esc"])
|
|
1303
1303
|
}), {
|
|
1304
1304
|
default: N(() => [
|
|
1305
1305
|
qa(W(b.title), 1)
|
|
@@ -1347,7 +1347,7 @@ const j2 = {
|
|
|
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: N(() => [
|
|
1353
1353
|
s.isDraggable ? (p(), C("div", j2, [
|
|
@@ -1412,7 +1412,7 @@ const ra = /* @__PURE__ */ q({
|
|
|
1412
1412
|
() => a.value === "button" ? { type: "button" } : {}
|
|
1413
1413
|
);
|
|
1414
1414
|
return (n, o) => (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" : "",
|
|
@@ -1426,7 +1426,7 @@ const ra = /* @__PURE__ */ q({
|
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: N(() => [
|
|
1428
1428
|
qa(W(n.label) + " ", 1),
|
|
1429
|
-
n.variant ===
|
|
1429
|
+
n.variant === X(V2).SOLID_ICON && n.iconName ? (p(), D(pe, {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
name: n.iconName,
|
|
1432
1432
|
class: "ao-tag__icon",
|
|
@@ -2746,14 +2746,14 @@ function Fn(t, e, a) {
|
|
|
2746
2746
|
throw new RangeError("locale must contain localize property");
|
|
2747
2747
|
if (!F.formatLong)
|
|
2748
2748
|
throw new RangeError("locale must contain formatLong property");
|
|
2749
|
-
var
|
|
2750
|
-
if (!Bn(
|
|
2749
|
+
var Q = $e(t);
|
|
2750
|
+
if (!Bn(Q))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
|
-
var ae = ua(
|
|
2752
|
+
var ae = ua(Q), j = ws(Q, ae), G = {
|
|
2753
2753
|
firstWeekContainsDate: z,
|
|
2754
2754
|
weekStartsOn: K,
|
|
2755
2755
|
locale: F,
|
|
2756
|
-
_originalDate:
|
|
2756
|
+
_originalDate: Q
|
|
2757
2757
|
}, le = I.match(o3).map(function(se) {
|
|
2758
2758
|
var ee = se[0];
|
|
2759
2759
|
if (ee === "p" || ee === "P") {
|
|
@@ -3744,10 +3744,10 @@ const U3 = ["title"], F3 = {
|
|
|
3744
3744
|
};
|
|
3745
3745
|
return (i, l) => (p(), C("div", {
|
|
3746
3746
|
role: "img",
|
|
3747
|
-
class:
|
|
3747
|
+
class: J(s.value),
|
|
3748
3748
|
title: i.userName
|
|
3749
3749
|
}, [
|
|
3750
|
-
i.avatarUrl ? O("", !0) : (p(), C("span", F3, W(
|
|
3750
|
+
i.avatarUrl ? O("", !0) : (p(), C("span", F3, W(X(n)), 1)),
|
|
3751
3751
|
i.avatarUrl ? (p(), C("img", {
|
|
3752
3752
|
key: 1,
|
|
3753
3753
|
className: "ao-avatar__image",
|
|
@@ -3930,7 +3930,7 @@ const f5 = ["type"], h5 = {
|
|
|
3930
3930
|
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
3931
3931
|
return (n, o) => (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}`,
|
|
@@ -4066,7 +4066,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4066
4066
|
});
|
|
4067
4067
|
}
|
|
4068
4068
|
};
|
|
4069
|
-
return (l, r) => l.phase ? (p(), D(
|
|
4069
|
+
return (l, r) => l.phase ? (p(), D(X(gt), {
|
|
4070
4070
|
key: 0,
|
|
4071
4071
|
"model-value": l.phase.milestones,
|
|
4072
4072
|
class: "ao-templates__list",
|
|
@@ -4156,7 +4156,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4156
4156
|
});
|
|
4157
4157
|
}
|
|
4158
4158
|
};
|
|
4159
|
-
return (l, r) => l.milestone ? (p(), D(
|
|
4159
|
+
return (l, r) => l.milestone ? (p(), D(X(gt), {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
"model-value": l.milestone.activities,
|
|
4162
4162
|
title: l.$t("template.activities.title"),
|
|
@@ -4211,7 +4211,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
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",
|
|
@@ -4525,7 +4525,7 @@ const Z5 = function(t) {
|
|
|
4525
4525
|
placement: n,
|
|
4526
4526
|
overflows: F
|
|
4527
4527
|
}], !F.every((j) => j <= 0)) {
|
|
4528
|
-
var K,
|
|
4528
|
+
var K, Q;
|
|
4529
4529
|
const j = (((K = o.flip) == null ? void 0 : K.index) || 0) + 1, G = I[j];
|
|
4530
4530
|
if (G)
|
|
4531
4531
|
return {
|
|
@@ -4537,7 +4537,7 @@ const Z5 = function(t) {
|
|
|
4537
4537
|
placement: G
|
|
4538
4538
|
}
|
|
4539
4539
|
};
|
|
4540
|
-
let le = (
|
|
4540
|
+
let le = (Q = z.filter((se) => se.overflows[0] <= 0).sort((se, ee) => se.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : Q.placement;
|
|
4541
4541
|
if (!le)
|
|
4542
4542
|
switch (m) {
|
|
4543
4543
|
case "bestFit": {
|
|
@@ -5035,7 +5035,7 @@ const u7 = (t, e, a) => {
|
|
|
5035
5035
|
}, c7 = (t) => {
|
|
5036
5036
|
const e = x(!1), a = x(), s = x(), n = x(0);
|
|
5037
5037
|
function o() {
|
|
5038
|
-
const d =
|
|
5038
|
+
const d = X(t.appendTo);
|
|
5039
5039
|
return d ? typeof d == "string" ? document.getElementById(d) ?? document.body : d : document.getElementById("floatingElements") ?? document.body;
|
|
5040
5040
|
}
|
|
5041
5041
|
const i = o(), l = x(() => {
|
|
@@ -5199,7 +5199,7 @@ function g7(t, e, a) {
|
|
|
5199
5199
|
allowAbsent: F,
|
|
5200
5200
|
groupLabel: z,
|
|
5201
5201
|
canDeselect: K,
|
|
5202
|
-
max:
|
|
5202
|
+
max: Q,
|
|
5203
5203
|
strict: ae,
|
|
5204
5204
|
closeOnSelect: j,
|
|
5205
5205
|
closeOnDeselect: G,
|
|
@@ -5328,7 +5328,7 @@ function g7(t, e, a) {
|
|
|
5328
5328
|
case "multiple":
|
|
5329
5329
|
return !Fe(Z.value) && Z.value.map((B) => B[L.value]).indexOf(S[L.value]) !== -1;
|
|
5330
5330
|
}
|
|
5331
|
-
}, ds = (S) => S[y.value] === !0, ps = () =>
|
|
5331
|
+
}, ds = (S) => S[y.value] === !0, ps = () => Q === void 0 || Q.value === -1 || !cs.value && Q.value > 0 ? !1 : Z.value.length >= Q.value, ki = (S) => {
|
|
5332
5332
|
if (!ds(S)) {
|
|
5333
5333
|
if (R && R.value && !xe(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = R.value(S, ne), S instanceof Promise)) {
|
|
5334
5334
|
Ie.value = !0, S.then((B) => {
|
|
@@ -5377,7 +5377,7 @@ function g7(t, e, a) {
|
|
|
5377
5377
|
case "multiple":
|
|
5378
5378
|
case "tags":
|
|
5379
5379
|
Mi(S[E.value]) ? Vt(S[E.value]) : Ht(
|
|
5380
|
-
S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, ue) => Z.value.length + 1 + ue <=
|
|
5380
|
+
S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, ue) => Z.value.length + 1 + ue <= Q.value || Q.value === -1)
|
|
5381
5381
|
), l.value && Gt.value && Xt(us.value.filter((B) => !B[y.value])[Gt.value.index]);
|
|
5382
5382
|
break;
|
|
5383
5383
|
}
|
|
@@ -5524,7 +5524,7 @@ function C7(t, e, a) {
|
|
|
5524
5524
|
groupSelect: c,
|
|
5525
5525
|
disabledProp: u,
|
|
5526
5526
|
groupOptions: d
|
|
5527
|
-
} = Ee(t), v = a.fo, m = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, g = a.search, $ = a.pointer, h = a.setPointer, _ = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => v.value.filter((H) => !H[u.value])), F = A(() => m.value.filter((H) => !H[u.value])), z = A(() => r.value !== "single" && c.value), K = A(() => $.value && $.value.group),
|
|
5527
|
+
} = Ee(t), v = a.fo, m = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, g = a.search, $ = a.pointer, h = a.setPointer, _ = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => v.value.filter((H) => !H[u.value])), F = A(() => m.value.filter((H) => !H[u.value])), z = A(() => r.value !== "single" && c.value), K = A(() => $.value && $.value.group), Q = A(() => ne($.value)), ae = A(() => {
|
|
5528
5528
|
const H = K.value ? $.value : (
|
|
5529
5529
|
/* istanbul ignore next */
|
|
5530
5530
|
ne($.value)
|
|
@@ -5535,7 +5535,7 @@ function C7(t, e, a) {
|
|
|
5535
5535
|
let H = F.value.map((Y) => Y.label).indexOf(K.value ? $.value[i.value] : ne($.value)[i.value]) + 1;
|
|
5536
5536
|
return F.value.length <= H && (H = 0), F.value[H];
|
|
5537
5537
|
}), G = A(() => [...F.value].slice(-1)[0]), le = A(() => $.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = A(() => {
|
|
5538
|
-
const H =
|
|
5538
|
+
const H = Q.value.__VISIBLE__.filter((Y) => !Y[u.value]);
|
|
5539
5539
|
return H[H.map((Y) => Y[s.value]).indexOf($.value[s.value]) - 1];
|
|
5540
5540
|
}), ee = A(() => {
|
|
5541
5541
|
const H = ne($.value).__VISIBLE__.filter((Y) => !Y[u.value]);
|
|
@@ -5564,7 +5564,7 @@ function C7(t, e, a) {
|
|
|
5564
5564
|
l.value && z.value && (H = T.value, H === void 0 && (H = G.value)), h(H || null);
|
|
5565
5565
|
} else if (l.value && z.value) {
|
|
5566
5566
|
let H = K.value ? E.value : se.value;
|
|
5567
|
-
H === void 0 && (H = K.value ? ae.value :
|
|
5567
|
+
H === void 0 && (H = K.value ? ae.value : Q.value, H.__CREATE__ && (H = E.value, H === void 0 && (H = ae.value))), h(H || /* istanbul ignore next */
|
|
5568
5568
|
null);
|
|
5569
5569
|
} else {
|
|
5570
5570
|
let H = L.value.map((Y) => Y[s.value]).indexOf($.value[s.value]) - 1;
|
|
@@ -5966,7 +5966,7 @@ function qs(t, e) {
|
|
|
5966
5966
|
element: _,
|
|
5967
5967
|
strategy: "absolute",
|
|
5968
5968
|
placement: n
|
|
5969
|
-
}), z = Ss(Object.assign({}, _, F)), K = v === ia ? z : L,
|
|
5969
|
+
}), z = Ss(Object.assign({}, _, F)), K = v === ia ? z : L, Q = {
|
|
5970
5970
|
top: I.top - K.top + $.top,
|
|
5971
5971
|
bottom: K.bottom - I.bottom + $.bottom,
|
|
5972
5972
|
left: I.left - K.left + $.left,
|
|
@@ -5974,12 +5974,12 @@ function qs(t, e) {
|
|
|
5974
5974
|
}, ae = t.modifiersData.offset;
|
|
5975
5975
|
if (v === ia && ae) {
|
|
5976
5976
|
var j = ae[n];
|
|
5977
|
-
Object.keys(
|
|
5977
|
+
Object.keys(Q).forEach(function(G) {
|
|
5978
5978
|
var le = [ht, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
|
|
5979
|
-
|
|
5979
|
+
Q[G] += j[se] * le;
|
|
5980
5980
|
});
|
|
5981
5981
|
}
|
|
5982
|
-
return
|
|
5982
|
+
return Q;
|
|
5983
5983
|
}
|
|
5984
5984
|
var Sn = {
|
|
5985
5985
|
placement: "bottom",
|
|
@@ -6034,8 +6034,8 @@ function G7(t) {
|
|
|
6034
6034
|
u.rects = {
|
|
6035
6035
|
reference: w7(h, ns(_), u.options.strategy === "fixed"),
|
|
6036
6036
|
popper: li(_)
|
|
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(Q) {
|
|
6038
|
+
return u.modifiersData[Q.name] = Object.assign({}, Q.data);
|
|
6039
6039
|
});
|
|
6040
6040
|
for (var P = 0; P < u.orderedModifiers.length; P++) {
|
|
6041
6041
|
if (u.reset === !0) {
|
|
@@ -6164,11 +6164,11 @@ function Mn(t) {
|
|
|
6164
6164
|
}
|
|
6165
6165
|
if (n === Ge || (n === Ne || n === qe) && o === va) {
|
|
6166
6166
|
_ = ht;
|
|
6167
|
-
var
|
|
6167
|
+
var Q = d && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
6169
6169
|
L[z]
|
|
6170
6170
|
);
|
|
6171
|
-
m -=
|
|
6171
|
+
m -= Q - s.width, m *= r ? 1 : -1;
|
|
6172
6172
|
}
|
|
6173
6173
|
}
|
|
6174
6174
|
var ae = Object.assign({
|
|
@@ -6278,7 +6278,7 @@ function pp(t) {
|
|
|
6278
6278
|
altBoundary: u
|
|
6279
6279
|
}), $ = ct(e.placement), h = xt(e.placement), _ = !h, P = ci($), I = cp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof b == "function" ? b(Object.assign({}, e.rects, {
|
|
6280
6280
|
placement: e.placement
|
|
6281
|
-
})) : b,
|
|
6281
|
+
})) : b, Q = typeof K == "number" ? {
|
|
6282
6282
|
mainAxis: K,
|
|
6283
6283
|
altAxis: K
|
|
6284
6284
|
} : Object.assign({
|
|
@@ -6293,11 +6293,11 @@ function pp(t) {
|
|
|
6293
6293
|
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ht, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = m ? -z[ee] / 2 : 0, y = h === Yt ? F[ee] : z[ee], V = h === Yt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = m && oe ? li(oe) : {
|
|
6294
6294
|
width: 0,
|
|
6295
6295
|
height: 0
|
|
6296
|
-
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = _ ? F[ee] / 2 - R - he - H -
|
|
6296
|
+
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = _ ? F[ee] / 2 - R - he - H - Q.mainAxis : y - he - H - Q.mainAxis, Gt = _ ? -F[ee] / 2 + R + he + Y + Q.mainAxis : V + he + Y + Q.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(m ? Wa(T, rs) : T, E, m ? At(k, nt) : k);
|
|
6297
6297
|
L[P] = ka, j[P] = ka - E;
|
|
6298
6298
|
}
|
|
6299
6299
|
if (l) {
|
|
6300
|
-
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ht, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt +
|
|
6300
|
+
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ht, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt + Q.altAxis, bt = Le ? Re + F[Ye] + z[Ye] - Jt - Q.altAxis : Sa, Aa = m && Le ? dp(ot, Re, bt) : Va(m ? ot : Qt, Re, m ? bt : Sa);
|
|
6301
6301
|
L[I] = Aa, j[I] = Aa - Re;
|
|
6302
6302
|
}
|
|
6303
6303
|
e.modifiersData[s] = j;
|
|
@@ -6367,8 +6367,8 @@ function Cp(t) {
|
|
|
6367
6367
|
flipVariations: w,
|
|
6368
6368
|
allowedAutoPlacements: b
|
|
6369
6369
|
}) : Z);
|
|
6370
|
-
}, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0],
|
|
6371
|
-
var ae = P[
|
|
6370
|
+
}, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0], Q = 0; Q < P.length; Q++) {
|
|
6371
|
+
var ae = P[Q], j = ct(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
|
|
6372
6372
|
placement: ae,
|
|
6373
6373
|
boundary: u,
|
|
6374
6374
|
rootBoundary: d,
|
|
@@ -6539,7 +6539,7 @@ function wp(t, e, a) {
|
|
|
6539
6539
|
createTag: d,
|
|
6540
6540
|
createOption: v,
|
|
6541
6541
|
reverse: m
|
|
6542
|
-
} = Ee(t), w = Lt().proxy, b = a.iv, g = a.update, $ = a.deselect, h = a.search, _ = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags,
|
|
6542
|
+
} = Ee(t), w = Lt().proxy, b = a.iv, g = a.update, $ = a.deselect, h = a.search, _ = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, Q = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => d.value || v.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
|
|
6543
6543
|
s.value === "tags" && !l.value && le.value && i.value && !c.value && _(G.value[G.value.map((k) => k[r.value]).indexOf(h.value)]);
|
|
6544
6544
|
};
|
|
6545
6545
|
return {
|
|
@@ -6588,12 +6588,12 @@ function wp(t, e, a) {
|
|
|
6588
6588
|
case "ArrowUp":
|
|
6589
6589
|
if (k.preventDefault(), !l.value)
|
|
6590
6590
|
return;
|
|
6591
|
-
|
|
6591
|
+
Q.value || ae(), I();
|
|
6592
6592
|
break;
|
|
6593
6593
|
case "ArrowDown":
|
|
6594
6594
|
if (k.preventDefault(), !l.value)
|
|
6595
6595
|
return;
|
|
6596
|
-
|
|
6596
|
+
Q.value || ae(), L();
|
|
6597
6597
|
break;
|
|
6598
6598
|
case "ArrowLeft":
|
|
6599
6599
|
if (i.value && K.value && K.value.querySelector("input").selectionStart || k.shiftKey || s.value !== "tags" || !b.value || !b.value.length)
|
|
@@ -6786,7 +6786,7 @@ function Sp(t, e, a) {
|
|
|
6786
6786
|
}, K = (j) => {
|
|
6787
6787
|
let G = [];
|
|
6788
6788
|
return G.push(j), G.join(" ");
|
|
6789
|
-
},
|
|
6789
|
+
}, Q = (j) => {
|
|
6790
6790
|
let G = [];
|
|
6791
6791
|
return G.push(j), G.join(" ");
|
|
6792
6792
|
}, ae = (j) => `${j} ❎`;
|
|
@@ -6806,7 +6806,7 @@ function Sp(t, e, a) {
|
|
|
6806
6806
|
ariaOptionId: F,
|
|
6807
6807
|
ariaOptionLabel: K,
|
|
6808
6808
|
ariaGroupId: z,
|
|
6809
|
-
ariaGroupLabel:
|
|
6809
|
+
ariaGroupLabel: Q,
|
|
6810
6810
|
ariaTagLabel: ae
|
|
6811
6811
|
};
|
|
6812
6812
|
}
|
|
@@ -7222,7 +7222,7 @@ const Op = ["id", "dir"], Ep = ["tabindex", "aria-controls", "aria-placeholder",
|
|
|
7222
7222
|
function Gp(t, e, a, s, n, o) {
|
|
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] = (...i) => t.handleFocusIn && t.handleFocusIn(...i)),
|
|
@@ -7270,7 +7270,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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, o) {
|
|
|
7283
7283
|
disabled: a.disabled
|
|
7284
7284
|
}, () => [
|
|
7285
7285
|
(p(), C("span", {
|
|
7286
|
-
class:
|
|
7286
|
+
class: J([
|
|
7287
7287
|
t.classList.tag,
|
|
7288
7288
|
i.disabled ? t.classList.tagDisabled : null
|
|
7289
7289
|
]),
|
|
@@ -7295,7 +7295,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7295
7295
|
f(
|
|
7296
7296
|
"span",
|
|
7297
7297
|
{
|
|
7298
|
-
class:
|
|
7298
|
+
class: J(t.classList.tagWrapper)
|
|
7299
7299
|
},
|
|
7300
7300
|
W(t.localize(i[a.label])),
|
|
7301
7301
|
3
|
|
@@ -7303,13 +7303,13 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7303
7303
|
),
|
|
7304
7304
|
!a.disabled && !i.disabled ? (p(), C("span", {
|
|
7305
7305
|
key: 0,
|
|
7306
|
-
class:
|
|
7306
|
+
class: J(t.classList.tagRemove),
|
|
7307
7307
|
onClick: ve((c) => t.handleTagRemove(i, c), ["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, o) {
|
|
|
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,7 +7332,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7332
7332
|
f(
|
|
7333
7333
|
"span",
|
|
7334
7334
|
{
|
|
7335
|
-
class:
|
|
7335
|
+
class: J(t.classList.tagsSearchCopy)
|
|
7336
7336
|
},
|
|
7337
7337
|
W(t.search),
|
|
7338
7338
|
3
|
|
@@ -7377,13 +7377,13 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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
|
W(t.localize(t.iv[a.label])),
|
|
7389
7389
|
3
|
|
@@ -7400,7 +7400,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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
|
]) : O("v-if", !0),
|
|
@@ -7409,7 +7409,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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
|
W(a.placeholder),
|
|
@@ -7422,7 +7422,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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, o) {
|
|
|
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] = (...i) => t.clear && t.clear(...i)),
|
|
7448
7448
|
onKeyup: e[7] || (e[7] = dt((...i) => t.clear && t.clear(...i), ["enter"]))
|
|
7449
7449
|
},
|
|
@@ -7451,7 +7451,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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, o) {
|
|
|
7471
7471
|
f(
|
|
7472
7472
|
"span",
|
|
7473
7473
|
{
|
|
7474
|
-
class:
|
|
7474
|
+
class: J(t.classList.caret),
|
|
7475
7475
|
onClick: e[8] || (e[8] = (...i) => t.handleCaretClick && t.handleCaretClick(...i)),
|
|
7476
7476
|
"aria-hidden": "true"
|
|
7477
7477
|
},
|
|
@@ -7488,13 +7488,13 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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
|
te(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, o) {
|
|
|
7502
7502
|
fe,
|
|
7503
7503
|
{ key: 0 },
|
|
7504
7504
|
_e(t.fg, (i, l, r) => (p(), C("li", {
|
|
7505
|
-
class:
|
|
7505
|
+
class: J(t.classList.group),
|
|
7506
7506
|
key: r,
|
|
7507
7507
|
id: t.ariaGroupId(i),
|
|
7508
7508
|
"aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
|
|
@@ -7511,7 +7511,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7511
7511
|
}, [
|
|
7512
7512
|
i.__CREATE__ ? O("v-if", !0) : (p(), C("div", {
|
|
7513
7513
|
key: 0,
|
|
7514
|
-
class:
|
|
7514
|
+
class: J(t.classList.groupLabel(i)),
|
|
7515
7515
|
"data-pointed": t.isPointed(i),
|
|
7516
7516
|
onMouseenter: (c) => t.setPointer(i, l),
|
|
7517
7517
|
onMousedown: ve((c) => t.handleGroupClick(i), ["prevent"])
|
|
@@ -7527,7 +7527,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7527
7527
|
])
|
|
7528
7528
|
], 42, Rp)),
|
|
7529
7529
|
f("ul", {
|
|
7530
|
-
class:
|
|
7530
|
+
class: J(t.classList.groupOptions),
|
|
7531
7531
|
"aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
|
|
7532
7532
|
role: "group"
|
|
7533
7533
|
}, [
|
|
@@ -7535,7 +7535,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7535
7535
|
fe,
|
|
7536
7536
|
null,
|
|
7537
7537
|
_e(i.__VISIBLE__, (c, u, d) => (p(), C("li", {
|
|
7538
|
-
class:
|
|
7538
|
+
class: J(t.classList.option(c, i)),
|
|
7539
7539
|
"data-pointed": t.isPointed(c),
|
|
7540
7540
|
"data-selected": t.isSelected(c) || void 0,
|
|
7541
7541
|
key: d,
|
|
@@ -7572,7 +7572,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7572
7572
|
fe,
|
|
7573
7573
|
{ key: 1 },
|
|
7574
7574
|
_e(t.fo, (i, l, r) => (p(), C("li", {
|
|
7575
|
-
class:
|
|
7575
|
+
class: J(t.classList.option(i)),
|
|
7576
7576
|
"data-pointed": t.isPointed(i),
|
|
7577
7577
|
"data-selected": t.isSelected(i) || void 0,
|
|
7578
7578
|
key: r,
|
|
@@ -7604,13 +7604,13 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7604
7604
|
], 10, Bp),
|
|
7605
7605
|
t.noOptions ? te(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
|
]) : O("v-if", !0),
|
|
7611
7611
|
t.noResults ? te(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
|
]) : O("v-if", !0),
|
|
@@ -7618,7 +7618,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
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, o) {
|
|
|
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, o) {
|
|
|
7643
7643
|
O(" 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: ""
|
|
@@ -7677,7 +7677,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7677
7677
|
O(" 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
|
}, W(t.ariaLabel), 11, Kp)) : O("v-if", !0),
|
|
@@ -7685,7 +7685,7 @@ function Gp(t, e, a, s, n, o) {
|
|
|
7685
7685
|
f(
|
|
7686
7686
|
"div",
|
|
7687
7687
|
{
|
|
7688
|
-
class:
|
|
7688
|
+
class: J(t.classList.spacer)
|
|
7689
7689
|
},
|
|
7690
7690
|
null,
|
|
7691
7691
|
2
|
|
@@ -7706,7 +7706,7 @@ const Se = /* @__PURE__ */ q({
|
|
|
7706
7706
|
return e.detached && c7({
|
|
7707
7707
|
multiselect: s,
|
|
7708
7708
|
appendTo: a.value
|
|
7709
|
-
}), (n, o) => (p(), D(
|
|
7709
|
+
}), (n, o) => (p(), D(X(ut), {
|
|
7710
7710
|
ref_key: "multiselectRef",
|
|
7711
7711
|
ref: s,
|
|
7712
7712
|
class: "ao-multiselect"
|
|
@@ -7845,7 +7845,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7845
7845
|
id: m.id,
|
|
7846
7846
|
value: m.name,
|
|
7847
7847
|
readonly: !d.isEditable,
|
|
7848
|
-
class:
|
|
7848
|
+
class: J(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": m.isDone }]),
|
|
7849
7849
|
type: "text",
|
|
7850
7850
|
onChange: (g) => i(g, m.id),
|
|
7851
7851
|
onKeyup: dt(u, ["enter"])
|
|
@@ -7946,7 +7946,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
|
|
|
7946
7946
|
u.dataTransfer && e("add", d);
|
|
7947
7947
|
}
|
|
7948
7948
|
return (u, d) => (p(), C("div", {
|
|
7949
|
-
class:
|
|
7949
|
+
class: J([
|
|
7950
7950
|
"ao-files__wrapper",
|
|
7951
7951
|
{
|
|
7952
7952
|
"ao-files__wrapper--drop-active": i.value
|
|
@@ -8066,11 +8066,11 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8066
8066
|
ref_key: "commentContent",
|
|
8067
8067
|
ref: n,
|
|
8068
8068
|
class: "ao-comment__content",
|
|
8069
|
-
value:
|
|
8070
|
-
rows:
|
|
8069
|
+
value: X(o) ? b.content : null,
|
|
8070
|
+
rows: X(o) ? w.value : null,
|
|
8071
8071
|
onKeyup: [
|
|
8072
|
-
dt(
|
|
8073
|
-
dt(ve(
|
|
8072
|
+
dt(X(d), ["esc"]),
|
|
8073
|
+
dt(ve(X(v), ["ctrl"]), ["enter"])
|
|
8074
8074
|
]
|
|
8075
8075
|
}, {
|
|
8076
8076
|
default: N(() => [
|
|
@@ -8081,13 +8081,13 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8081
8081
|
])
|
|
8082
8082
|
]),
|
|
8083
8083
|
b.isEditable ? (p(), C("div", _v, [
|
|
8084
|
-
|
|
8084
|
+
X(o) ? (p(), C(fe, { key: 0 }, [
|
|
8085
8085
|
M(re, {
|
|
8086
8086
|
"icon-name": "CloseRounded",
|
|
8087
8087
|
size: "sm",
|
|
8088
8088
|
variant: "ghost",
|
|
8089
8089
|
color: "neutral",
|
|
8090
|
-
onClick:
|
|
8090
|
+
onClick: X(d)
|
|
8091
8091
|
}, null, 8, ["onClick"]),
|
|
8092
8092
|
M(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: X(v)
|
|
8099
8099
|
}, null, 8, ["onClick"])
|
|
8100
8100
|
], 64)) : (p(), C(fe, { key: 1 }, [
|
|
8101
8101
|
M(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: X(i)
|
|
8114
8114
|
}, null, 8, ["label", "onClick"])
|
|
8115
8115
|
], 64))
|
|
8116
8116
|
])) : O("", !0)
|
|
@@ -8221,7 +8221,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8221
8221
|
e("update:modelValue", !a.modelValue);
|
|
8222
8222
|
};
|
|
8223
8223
|
return (n, o) => (p(), D(re, {
|
|
8224
|
-
color: n.modelValue ? n.color :
|
|
8224
|
+
color: n.modelValue ? n.color : X(Ls).NEUTRAL,
|
|
8225
8225
|
"icon-position": "start",
|
|
8226
8226
|
onClick: o[0] || (o[0] = () => s())
|
|
8227
8227
|
}, null, 8, ["color"]));
|
|
@@ -8411,7 +8411,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8411
8411
|
activityId: a.activity.id,
|
|
8412
8412
|
file: y
|
|
8413
8413
|
});
|
|
8414
|
-
},
|
|
8414
|
+
}, Q = A(() => a.projects.map((y) => ({
|
|
8415
8415
|
value: y.id,
|
|
8416
8416
|
label: y.name
|
|
8417
8417
|
}))), ae = A(() => {
|
|
@@ -8493,10 +8493,10 @@ const As = /* @__PURE__ */ q({
|
|
|
8493
8493
|
"onUpdate:title": n
|
|
8494
8494
|
}, null, 8, ["title", "is-editable"]),
|
|
8495
8495
|
f("div", Iv, [
|
|
8496
|
-
|
|
8496
|
+
Q.value ? (p(), C("label", Lv, [
|
|
8497
8497
|
f("span", Pv, W(y.$t("activity.project.label")), 1),
|
|
8498
8498
|
M(Se, {
|
|
8499
|
-
options:
|
|
8499
|
+
options: Q.value,
|
|
8500
8500
|
value: (oe = y.activity.project) == null ? void 0 : oe.id,
|
|
8501
8501
|
searchable: !0,
|
|
8502
8502
|
disabled: !s.value,
|
|
@@ -8882,22 +8882,22 @@ const Tf = /* @__PURE__ */ q({
|
|
|
8882
8882
|
}), g = A(() => Object.values(K2));
|
|
8883
8883
|
return ($, h) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
|
|
8884
8884
|
default: N(() => [
|
|
8885
|
-
M(
|
|
8885
|
+
M(X(ut), {
|
|
8886
8886
|
modelValue: n.value,
|
|
8887
8887
|
"onUpdate:modelValue": h[0] || (h[0] = (_) => n.value = _),
|
|
8888
8888
|
options: o.value
|
|
8889
8889
|
}, null, 8, ["modelValue", "options"]),
|
|
8890
|
-
M(
|
|
8890
|
+
M(X(ut), {
|
|
8891
8891
|
modelValue: i.value,
|
|
8892
8892
|
"onUpdate:modelValue": h[1] || (h[1] = (_) => i.value = _),
|
|
8893
8893
|
options: l.value
|
|
8894
8894
|
}, null, 8, ["modelValue", "options"]),
|
|
8895
|
-
M(
|
|
8895
|
+
M(X(ut), {
|
|
8896
8896
|
modelValue: v.value,
|
|
8897
8897
|
"onUpdate:modelValue": h[2] || (h[2] = (_) => v.value = _),
|
|
8898
8898
|
options: m.value
|
|
8899
8899
|
}, null, 8, ["modelValue", "options"]),
|
|
8900
|
-
M(
|
|
8900
|
+
M(X(ut), {
|
|
8901
8901
|
modelValue: c.value,
|
|
8902
8902
|
"onUpdate:modelValue": h[3] || (h[3] = (_) => c.value = _),
|
|
8903
8903
|
options: u.value
|
|
@@ -8914,7 +8914,7 @@ const Tf = /* @__PURE__ */ q({
|
|
|
8914
8914
|
{ number: !0 }
|
|
8915
8915
|
]
|
|
8916
8916
|
]),
|
|
8917
|
-
M(
|
|
8917
|
+
M(X(ut), {
|
|
8918
8918
|
modelValue: b.value,
|
|
8919
8919
|
"onUpdate:modelValue": h[5] || (h[5] = (_) => b.value = _),
|
|
8920
8920
|
options: g.value
|
|
@@ -9182,7 +9182,7 @@ const Lf = {
|
|
|
9182
9182
|
F.value = !F.value;
|
|
9183
9183
|
}, K = () => {
|
|
9184
9184
|
e("addRule", { templateId: a.templateId });
|
|
9185
|
-
},
|
|
9185
|
+
}, Q = (E) => {
|
|
9186
9186
|
e("removeRule", { id: E, templateId: a.templateId });
|
|
9187
9187
|
}, ae = (E) => {
|
|
9188
9188
|
var T;
|
|
@@ -9232,7 +9232,7 @@ const Lf = {
|
|
|
9232
9232
|
return n.value ? (p(), C("div", Lf, [
|
|
9233
9233
|
M(ba, {
|
|
9234
9234
|
"can-go-back": !0,
|
|
9235
|
-
onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name:
|
|
9235
|
+
onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: X(jt).TEMPLATES_LIST }))
|
|
9236
9236
|
}, {
|
|
9237
9237
|
primary: N(() => [
|
|
9238
9238
|
M(be, {
|
|
@@ -9249,7 +9249,7 @@ const Lf = {
|
|
|
9249
9249
|
f("div", Pf, [
|
|
9250
9250
|
f("ol", Hf, [
|
|
9251
9251
|
f("li", Vf, [
|
|
9252
|
-
M(
|
|
9252
|
+
M(X(gt), {
|
|
9253
9253
|
"model-value": n.value.phases,
|
|
9254
9254
|
class: "ao-templates__list",
|
|
9255
9255
|
"item-key": "id",
|
|
@@ -9359,7 +9359,7 @@ const Lf = {
|
|
|
9359
9359
|
"template-activities": c.value,
|
|
9360
9360
|
onClose: z,
|
|
9361
9361
|
onAddRule: K,
|
|
9362
|
-
onRemoveRule:
|
|
9362
|
+
onRemoveRule: Q
|
|
9363
9363
|
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : O("", !0)
|
|
9364
9364
|
]))
|
|
9365
9365
|
])) : O("", !0);
|
|
@@ -9382,7 +9382,7 @@ const Nf = { class: "ao-card__content" }, Uf = {
|
|
|
9382
9382
|
},
|
|
9383
9383
|
setup(t) {
|
|
9384
9384
|
return (e, a) => (p(), D(mt(e.tagName), {
|
|
9385
|
-
class:
|
|
9385
|
+
class: J([
|
|
9386
9386
|
"ao-card",
|
|
9387
9387
|
{
|
|
9388
9388
|
"ao-card--clickable": e.isClickable
|
|
@@ -9391,10 +9391,11 @@ const Nf = { class: "ao-card__content" }, Uf = {
|
|
|
9391
9391
|
style: pt(e.isSelected ? { borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
|
|
9392
9392
|
}, {
|
|
9393
9393
|
default: N(() => [
|
|
9394
|
-
|
|
9394
|
+
e.isSelected ? O("", !0) : (p(), C("div", {
|
|
9395
|
+
key: 0,
|
|
9395
9396
|
class: "ao-card__left-border",
|
|
9396
9397
|
style: pt({ backgroundColor: e.color })
|
|
9397
|
-
}, null, 4),
|
|
9398
|
+
}, null, 4)),
|
|
9398
9399
|
f("div", Nf, [
|
|
9399
9400
|
e.$slots.header ? (p(), C("header", Uf, [
|
|
9400
9401
|
te(e.$slots, "header")
|
|
@@ -9421,12 +9422,12 @@ const ls = /* @__PURE__ */ q({
|
|
|
9421
9422
|
setup(t) {
|
|
9422
9423
|
const e = t, a = A(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
9423
9424
|
return (s, n) => (p(), C("div", {
|
|
9424
|
-
class:
|
|
9425
|
+
class: J(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
|
|
9425
9426
|
role: "meter"
|
|
9426
9427
|
}, [
|
|
9427
9428
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9428
9429
|
key: o,
|
|
9429
|
-
class:
|
|
9430
|
+
class: J(["ao-progress__progress"]),
|
|
9430
9431
|
style: pt({
|
|
9431
9432
|
width: `${o * 100}%`,
|
|
9432
9433
|
"--ao-progress-color": s.color || "var(--ao-color-primary-base)"
|
|
@@ -9481,7 +9482,8 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
|
|
|
9481
9482
|
});
|
|
9482
9483
|
return (c, u) => (p(), D(os, {
|
|
9483
9484
|
class: "ao-card-project-phase",
|
|
9484
|
-
"is-clickable": c.isEditable
|
|
9485
|
+
"is-clickable": c.isEditable,
|
|
9486
|
+
color: c.color
|
|
9485
9487
|
}, fa({
|
|
9486
9488
|
default: N(() => [
|
|
9487
9489
|
f("div", zf, [
|
|
@@ -9516,7 +9518,7 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
|
|
|
9516
9518
|
])) : O("", !0)
|
|
9517
9519
|
])) : O("", !0),
|
|
9518
9520
|
f("div", {
|
|
9519
|
-
class:
|
|
9521
|
+
class: J(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
9520
9522
|
}, [
|
|
9521
9523
|
c.isEditable ? De((p(), C("input", {
|
|
9522
9524
|
key: 0,
|
|
@@ -9531,7 +9533,7 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
|
|
|
9531
9533
|
{ lazy: !0 }
|
|
9532
9534
|
]
|
|
9533
9535
|
]) : O("", !0),
|
|
9534
|
-
f("span", Qf, W(
|
|
9536
|
+
f("span", Qf, W(X(Qa)(c.deadline)), 1)
|
|
9535
9537
|
], 2)
|
|
9536
9538
|
])
|
|
9537
9539
|
]),
|
|
@@ -9559,7 +9561,7 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
|
|
|
9559
9561
|
]),
|
|
9560
9562
|
key: "0"
|
|
9561
9563
|
} : void 0
|
|
9562
|
-
]), 1032, ["is-clickable"]));
|
|
9564
|
+
]), 1032, ["is-clickable", "color"]));
|
|
9563
9565
|
}
|
|
9564
9566
|
});
|
|
9565
9567
|
const eh = /* @__PURE__ */ q({
|
|
@@ -9623,14 +9625,10 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9623
9625
|
e("updateMilestone", { id: a.id, name: r });
|
|
9624
9626
|
};
|
|
9625
9627
|
return (r, c) => (p(), D(os, {
|
|
9626
|
-
class: X([
|
|
9627
|
-
"ao-card-project-milestone",
|
|
9628
|
-
{ "ao-card-project-milestone--selected": r.isSelected }
|
|
9629
|
-
]),
|
|
9630
9628
|
"is-clickable": !r.readonly,
|
|
9631
9629
|
"tag-name": "li",
|
|
9632
9630
|
"is-selected": r.isSelected,
|
|
9633
|
-
|
|
9631
|
+
color: r.phaseColor
|
|
9634
9632
|
}, {
|
|
9635
9633
|
default: N(() => [
|
|
9636
9634
|
f("div", th, [
|
|
@@ -9693,17 +9691,17 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9693
9691
|
r.important ? (p(), D(pe, {
|
|
9694
9692
|
key: 0,
|
|
9695
9693
|
name: "FlagRounded",
|
|
9696
|
-
class:
|
|
9694
|
+
class: J(
|
|
9697
9695
|
r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
9698
9696
|
),
|
|
9699
9697
|
size: "sm"
|
|
9700
9698
|
}, null, 8, ["class"])) : O("", !0),
|
|
9701
9699
|
r.deadline ? (p(), C("label", ph, [
|
|
9702
|
-
f("span", vh, W(
|
|
9700
|
+
f("span", vh, W(X(Qa)(r.deadline)), 1)
|
|
9703
9701
|
])) : O("", !0),
|
|
9704
9702
|
r.assignee ? (p(), C("div", fh, [
|
|
9705
9703
|
M(Je, {
|
|
9706
|
-
"user-name":
|
|
9704
|
+
"user-name": X(Kn)(r.assignee),
|
|
9707
9705
|
"avatar-url": r.assignee.avatarUrl,
|
|
9708
9706
|
color: r.isSelected ? "black" : "primary",
|
|
9709
9707
|
size: "sm"
|
|
@@ -9712,7 +9710,7 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9712
9710
|
])
|
|
9713
9711
|
]),
|
|
9714
9712
|
_: 3
|
|
9715
|
-
}, 8, ["
|
|
9713
|
+
}, 8, ["is-clickable", "is-selected", "color"]));
|
|
9716
9714
|
}
|
|
9717
9715
|
});
|
|
9718
9716
|
/*!
|
|
@@ -10676,7 +10674,7 @@ const jh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10676
10674
|
ref_key: "pickerRef",
|
|
10677
10675
|
ref: s
|
|
10678
10676
|
}, [
|
|
10679
|
-
M(
|
|
10677
|
+
M(X(Ut), {
|
|
10680
10678
|
class: "color-picker",
|
|
10681
10679
|
theme: "light",
|
|
10682
10680
|
color: l.color,
|
|
@@ -10749,6 +10747,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10749
10747
|
M(os, {
|
|
10750
10748
|
class: "ao-mapping-card-project-phase",
|
|
10751
10749
|
"is-clickable": d.isEditable,
|
|
10750
|
+
color: w,
|
|
10752
10751
|
onClick: (b) => u(b, m)
|
|
10753
10752
|
}, fa({
|
|
10754
10753
|
default: N(() => [
|
|
@@ -10784,7 +10783,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10784
10783
|
])) : O("", !0)
|
|
10785
10784
|
])) : O("", !0),
|
|
10786
10785
|
f("div", {
|
|
10787
|
-
class:
|
|
10786
|
+
class: J(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
|
|
10788
10787
|
}, [
|
|
10789
10788
|
d.isEditable ? De((p(), C("input", {
|
|
10790
10789
|
key: 0,
|
|
@@ -10799,7 +10798,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10799
10798
|
{ lazy: !0 }
|
|
10800
10799
|
]
|
|
10801
10800
|
]) : O("", !0),
|
|
10802
|
-
f("span", Yh, W(
|
|
10801
|
+
f("span", Yh, W(X(Qa)(d.deadline)), 1)
|
|
10803
10802
|
], 2)
|
|
10804
10803
|
])
|
|
10805
10804
|
]),
|
|
@@ -10827,7 +10826,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10827
10826
|
]),
|
|
10828
10827
|
key: "0"
|
|
10829
10828
|
} : void 0
|
|
10830
|
-
]), 1032, ["is-clickable", "onClick"])
|
|
10829
|
+
]), 1032, ["is-clickable", "color", "onClick"])
|
|
10831
10830
|
]),
|
|
10832
10831
|
_: 3
|
|
10833
10832
|
}, 8, ["color"]));
|
|
@@ -10950,7 +10949,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10950
10949
|
class: "ao-project-phase__milestones",
|
|
10951
10950
|
style: pt($.value)
|
|
10952
10951
|
}, [
|
|
10953
|
-
M(
|
|
10952
|
+
M(X(gt), Ae({
|
|
10954
10953
|
class: "ao-project-phase__milestones-list",
|
|
10955
10954
|
list: l.value,
|
|
10956
10955
|
disabled: h.readonly || !h.isEditable,
|
|
@@ -10975,9 +10974,9 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10975
10974
|
assignee: P.assignee,
|
|
10976
10975
|
important: P.important,
|
|
10977
10976
|
readonly: h.readonly,
|
|
10978
|
-
class:
|
|
10977
|
+
class: J(["ao-project-phase__milestone"]),
|
|
10979
10978
|
onClick: (L) => !h.readonly && h.$router.push({
|
|
10980
|
-
name:
|
|
10979
|
+
name: X(ye).milestone,
|
|
10981
10980
|
params: { phaseId: h.phase.id, milestoneId: P.id }
|
|
10982
10981
|
}),
|
|
10983
10982
|
onUpdateMilestone: c,
|
|
@@ -11046,7 +11045,7 @@ const a9 = { class: "ao-project__phases" }, s9 = {
|
|
|
11046
11045
|
e("addPhase", v);
|
|
11047
11046
|
};
|
|
11048
11047
|
return (v, m) => (p(), C("div", a9, [
|
|
11049
|
-
M(
|
|
11048
|
+
M(X(gt), {
|
|
11050
11049
|
class: "ao-project-phase__phases-list",
|
|
11051
11050
|
"model-value": v.phases,
|
|
11052
11051
|
"item-key": "id",
|
|
@@ -11235,7 +11234,7 @@ function k9(t, e, a, s, n, o) {
|
|
|
11235
11234
|
return p(), C("div", w9, [
|
|
11236
11235
|
(p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
|
|
11237
11236
|
key: i.value,
|
|
11238
|
-
class:
|
|
11237
|
+
class: J(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11239
11238
|
type: "button",
|
|
11240
11239
|
onClick: (l) => t.selectTab(i.value)
|
|
11241
11240
|
}, W(i.label), 11, $9))), 128))
|
|
@@ -11304,7 +11303,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11304
11303
|
e("addComment", T);
|
|
11305
11304
|
}, K = (T) => {
|
|
11306
11305
|
e("updateComment", T);
|
|
11307
|
-
},
|
|
11306
|
+
}, Q = (T) => {
|
|
11308
11307
|
e("removeComment", T);
|
|
11309
11308
|
}, ae = x(!1), j = x(!1), G = (T, k) => {
|
|
11310
11309
|
e("applyTemplate", { templateId: T, projectId: k }), ae.value = !1;
|
|
@@ -11388,7 +11387,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11388
11387
|
users: T.users,
|
|
11389
11388
|
"is-editable": T.isEditable === !0,
|
|
11390
11389
|
"closed-status": T.closedStatus,
|
|
11391
|
-
onClose: k[4] || (k[4] = (y) => T.$router.push({ name:
|
|
11390
|
+
onClose: k[4] || (k[4] = (y) => T.$router.push({ name: X(ye).project })),
|
|
11392
11391
|
onUpdateMilestone: d,
|
|
11393
11392
|
onAddActivity: w,
|
|
11394
11393
|
onUpdateActivity: b,
|
|
@@ -11416,7 +11415,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11416
11415
|
onRemoveFile: F,
|
|
11417
11416
|
onAddComment: z,
|
|
11418
11417
|
onUpdateComment: K,
|
|
11419
|
-
onRemoveComment:
|
|
11418
|
+
onRemoveComment: Q
|
|
11420
11419
|
}, {
|
|
11421
11420
|
default: N(({ Component: y }) => [
|
|
11422
11421
|
(p(), D(mt(y), null, {
|
|
@@ -11459,7 +11458,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11459
11458
|
key: 0,
|
|
11460
11459
|
class: "ao-card-feed__breadcrumbs"
|
|
11461
11460
|
}, P9 = {
|
|
11462
|
-
class: /* @__PURE__ */
|
|
11461
|
+
class: /* @__PURE__ */ J(["ao-card-feed__title-group"])
|
|
11463
11462
|
}, H9 = { class: "ao-card-feed__title-line" }, V9 = {
|
|
11464
11463
|
key: 0,
|
|
11465
11464
|
class: "ao-card-feed__slug"
|
|
@@ -11520,7 +11519,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11520
11519
|
return (m = a.tasks) == null ? void 0 : m.filter((w) => w.isDone).length;
|
|
11521
11520
|
}), v = A(() => (d.value || 0) / (u.value || 1));
|
|
11522
11521
|
return (m, w) => (p(), D(os, {
|
|
11523
|
-
class:
|
|
11522
|
+
class: J(["ao-card-feed", { "ao-card-feed--closed": m.isClosed }]),
|
|
11524
11523
|
"is-clickable": !0
|
|
11525
11524
|
}, {
|
|
11526
11525
|
header: N(() => [
|
|
@@ -11585,7 +11584,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11585
11584
|
}, [
|
|
11586
11585
|
b ? (p(), C("li", N9, [
|
|
11587
11586
|
M(Je, {
|
|
11588
|
-
"user-name":
|
|
11587
|
+
"user-name": X(Kn)(b),
|
|
11589
11588
|
"avatar-url": b.avatarUrl,
|
|
11590
11589
|
"is-closable": !0,
|
|
11591
11590
|
onClose: () => c(b.id)
|
|
@@ -11835,7 +11834,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11835
11834
|
])) : O("", !0)
|
|
11836
11835
|
]),
|
|
11837
11836
|
f("div", l4, [
|
|
11838
|
-
M(
|
|
11837
|
+
M(X(gt), Ae({
|
|
11839
11838
|
class: "ao-project-milestone__activities",
|
|
11840
11839
|
list: l.value,
|
|
11841
11840
|
disabled: !h.isEditable,
|
|
@@ -11843,7 +11842,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11843
11842
|
group: "kanban"
|
|
11844
11843
|
}, h.$attrs, { onChange: d }), {
|
|
11845
11844
|
item: N(({ element: I }) => {
|
|
11846
|
-
var L, F, z, K,
|
|
11845
|
+
var L, F, z, K, Q;
|
|
11847
11846
|
return [
|
|
11848
11847
|
M(gi, {
|
|
11849
11848
|
id: I.id,
|
|
@@ -11857,13 +11856,13 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11857
11856
|
assignee: I.assignee,
|
|
11858
11857
|
slug: I.slug,
|
|
11859
11858
|
comments: (K = I.comments) == null ? void 0 : K.length,
|
|
11860
|
-
attachments: (
|
|
11859
|
+
attachments: (Q = I.attachments) == null ? void 0 : Q.length,
|
|
11861
11860
|
tasks: I.tasks,
|
|
11862
11861
|
"is-editable": h.isEditable,
|
|
11863
11862
|
"is-private": I.private,
|
|
11864
11863
|
"is-closed": w(I),
|
|
11865
11864
|
onClick: (ae) => h.$router.push({
|
|
11866
|
-
name:
|
|
11865
|
+
name: X(ye).activity,
|
|
11867
11866
|
params: { milestoneId: h.milestoneId, activityId: I.id }
|
|
11868
11867
|
}),
|
|
11869
11868
|
onUpdateActivity: u,
|
|
@@ -12031,7 +12030,7 @@ function p4(t) {
|
|
|
12031
12030
|
return Fi() ? (Zi(t), !0) : !1;
|
|
12032
12031
|
}
|
|
12033
12032
|
function za(t) {
|
|
12034
|
-
return typeof t == "function" ? t() :
|
|
12033
|
+
return typeof t == "function" ? t() : X(t);
|
|
12035
12034
|
}
|
|
12036
12035
|
const v4 = typeof window < "u" && typeof document < "u";
|
|
12037
12036
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -12129,7 +12128,7 @@ function b4(t, e, a = {}) {
|
|
|
12129
12128
|
};
|
|
12130
12129
|
}
|
|
12131
12130
|
const w4 = {
|
|
12132
|
-
class: /* @__PURE__ */
|
|
12131
|
+
class: /* @__PURE__ */ J(["ao-list-kanban"])
|
|
12133
12132
|
}, $4 = { class: "ao-list-kanban__header" }, k4 = {
|
|
12134
12133
|
key: 0,
|
|
12135
12134
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
@@ -12202,7 +12201,7 @@ const w4 = {
|
|
|
12202
12201
|
])
|
|
12203
12202
|
];
|
|
12204
12203
|
}) : O("", !0),
|
|
12205
|
-
M(
|
|
12204
|
+
M(X(gt), Ae({
|
|
12206
12205
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
12207
12206
|
list: u.list,
|
|
12208
12207
|
"item-key": "id",
|
|
@@ -12224,7 +12223,7 @@ const w4 = {
|
|
|
12224
12223
|
var m, w, b, g, $, h, _, P, I;
|
|
12225
12224
|
return [
|
|
12226
12225
|
M(gi, {
|
|
12227
|
-
class:
|
|
12226
|
+
class: J(o(v) ? "ao-list-draggable" : ""),
|
|
12228
12227
|
id: v.id,
|
|
12229
12228
|
name: v.name,
|
|
12230
12229
|
"project-name": (m = v.project) == null ? void 0 : m.name,
|
|
@@ -12327,19 +12326,19 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
|
|
|
12327
12326
|
class: "ao-field__input ao-search-field__input",
|
|
12328
12327
|
placeholder: i.placeholder,
|
|
12329
12328
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12330
|
-
(...r) =>
|
|
12329
|
+
(...r) => X(n) && X(n)(...r)),
|
|
12331
12330
|
onKeypress: dt(s, ["enter"])
|
|
12332
12331
|
}, null, 40, I4),
|
|
12333
12332
|
M(pe, {
|
|
12334
12333
|
name: "SearchRounded",
|
|
12335
|
-
class:
|
|
12334
|
+
class: J(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
12336
12335
|
}, null, 8, ["class"]),
|
|
12337
12336
|
M(re, {
|
|
12338
12337
|
"icon-name": "CloseRounded",
|
|
12339
12338
|
size: "sm",
|
|
12340
12339
|
color: "primary",
|
|
12341
12340
|
corners: "round",
|
|
12342
|
-
class:
|
|
12341
|
+
class: J(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
|
|
12343
12342
|
onClick: o
|
|
12344
12343
|
}, null, 8, ["class"])
|
|
12345
12344
|
]));
|
|
@@ -12436,7 +12435,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12436
12435
|
a.selectedActivity && e("addSubtask", k);
|
|
12437
12436
|
}, K = (k) => {
|
|
12438
12437
|
a.selectedActivity && e("updateSubtask", k);
|
|
12439
|
-
},
|
|
12438
|
+
}, Q = (k) => {
|
|
12440
12439
|
a.selectedActivity && e("deleteSubtask", k);
|
|
12441
12440
|
}, ae = (k) => {
|
|
12442
12441
|
e("addFiles", k);
|
|
@@ -12480,36 +12479,36 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12480
12479
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12481
12480
|
a.project ? O("", !0) : (p(), D(Se, {
|
|
12482
12481
|
key: 0,
|
|
12483
|
-
"model-value": k.filters[
|
|
12482
|
+
"model-value": k.filters[X(Dt).project],
|
|
12484
12483
|
mode: "tags",
|
|
12485
12484
|
options: b.value,
|
|
12486
12485
|
"close-on-select": !1,
|
|
12487
12486
|
searchable: !0,
|
|
12488
12487
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12489
12488
|
placeholder: k.$t("feed.filters.project.placeholder"),
|
|
12490
|
-
"onUpdate:modelValue": R[1] || (R[1] = (V) => m(
|
|
12489
|
+
"onUpdate:modelValue": R[1] || (R[1] = (V) => m(X(Dt).project, V))
|
|
12491
12490
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12492
12491
|
g.value ? (p(), D(Se, {
|
|
12493
12492
|
key: 1,
|
|
12494
|
-
"model-value": k.filters[
|
|
12493
|
+
"model-value": k.filters[X(Dt).type],
|
|
12495
12494
|
mode: "tags",
|
|
12496
12495
|
options: g.value,
|
|
12497
12496
|
"close-on-select": !1,
|
|
12498
12497
|
searchable: !0,
|
|
12499
12498
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12500
12499
|
placeholder: k.$t("feed.filters.activityType.placeholder"),
|
|
12501
|
-
"onUpdate:modelValue": R[2] || (R[2] = (V) => m(
|
|
12500
|
+
"onUpdate:modelValue": R[2] || (R[2] = (V) => m(X(Dt).type, V))
|
|
12502
12501
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12503
12502
|
$.value.length ? (p(), D(Se, {
|
|
12504
12503
|
key: 2,
|
|
12505
|
-
"model-value": k.filters[
|
|
12504
|
+
"model-value": k.filters[X(Dt).assignee],
|
|
12506
12505
|
mode: "tags",
|
|
12507
12506
|
options: $.value,
|
|
12508
12507
|
"close-on-select": !1,
|
|
12509
12508
|
searchable: !0,
|
|
12510
12509
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12511
12510
|
placeholder: k.$t("feed.filters.assignee.placeholder"),
|
|
12512
|
-
"onUpdate:modelValue": R[3] || (R[3] = (V) => m(
|
|
12511
|
+
"onUpdate:modelValue": R[3] || (R[3] = (V) => m(X(Dt).assignee, V))
|
|
12513
12512
|
}, {
|
|
12514
12513
|
tag: N(({
|
|
12515
12514
|
option: V,
|
|
@@ -12601,7 +12600,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12601
12600
|
"onUpdate:activity": h,
|
|
12602
12601
|
onAddSubtask: z,
|
|
12603
12602
|
onUpdateSubtask: K,
|
|
12604
|
-
onDeleteSubtask:
|
|
12603
|
+
onDeleteSubtask: Q,
|
|
12605
12604
|
onAddFiles: ae,
|
|
12606
12605
|
onRemoveFile: j,
|
|
12607
12606
|
onAddComment: G,
|
|
@@ -12723,7 +12722,7 @@ const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
|
|
|
12723
12722
|
f("img", {
|
|
12724
12723
|
class: "architecture-image",
|
|
12725
12724
|
src: g.project.architectureImage.url,
|
|
12726
|
-
alt:
|
|
12725
|
+
alt: X(s)("architectureImage.alt")
|
|
12727
12726
|
}, null, 8, U4)
|
|
12728
12727
|
])) : O("", !0)
|
|
12729
12728
|
])
|
|
@@ -12882,7 +12881,7 @@ const jt = {
|
|
|
12882
12881
|
]),
|
|
12883
12882
|
_: 1
|
|
12884
12883
|
}),
|
|
12885
|
-
M(
|
|
12884
|
+
M(X(gt), {
|
|
12886
12885
|
"model-value": r.templates,
|
|
12887
12886
|
class: "ao-templates__list",
|
|
12888
12887
|
"item-key": "id",
|
|
@@ -12896,13 +12895,13 @@ const jt = {
|
|
|
12896
12895
|
id: u.id,
|
|
12897
12896
|
title: u.name,
|
|
12898
12897
|
phases: u.phases,
|
|
12899
|
-
milestones: (d = u.phases) != null && d.length ?
|
|
12900
|
-
activities: u.phases ?
|
|
12898
|
+
milestones: (d = u.phases) != null && d.length ? X(H3)(u.phases) : 0,
|
|
12899
|
+
activities: u.phases ? X(V3)(u.phases) : 0,
|
|
12901
12900
|
"updated-at": u.updatedAt,
|
|
12902
12901
|
"updated-by": u.updatedBy,
|
|
12903
12902
|
onUpdateTitle: (v) => o(u.id, v),
|
|
12904
12903
|
onClick: (v) => r.$router.push({
|
|
12905
|
-
name:
|
|
12904
|
+
name: X(jt).TEMPLATE_DETAILS,
|
|
12906
12905
|
params: { templateId: u.id }
|
|
12907
12906
|
}),
|
|
12908
12907
|
onDeleteItem: c[0] || (c[0] = (v, m) => i(v, m))
|
|
@@ -12922,7 +12921,7 @@ const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
|
12922
12921
|
},
|
|
12923
12922
|
setup(t) {
|
|
12924
12923
|
return (e, a) => (p(), C("label", {
|
|
12925
|
-
class:
|
|
12924
|
+
class: J(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12926
12925
|
}, [
|
|
12927
12926
|
f("span", z4, W(e.label), 1),
|
|
12928
12927
|
te(e.$slots, "default")
|