@26lights/orcha 0.41.76 → 0.41.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +155 -152
- package/dist/orcha.umd.js +2 -2
- 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 Q, 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 X, 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(Q(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: X(["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: X([
|
|
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": Q(n),
|
|
1294
|
+
"ao-title--readonly": !Q(n)
|
|
1295
1295
|
}
|
|
1296
1296
|
],
|
|
1297
|
-
type:
|
|
1298
|
-
value:
|
|
1297
|
+
type: Q(n) ? "text" : null,
|
|
1298
|
+
value: Q(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(Q(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: X(["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: X([
|
|
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 === Q(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 J = $e(t);
|
|
2750
|
+
if (!Bn(J))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
|
-
var ae = ua(
|
|
2752
|
+
var ae = ua(J), j = ws(J, ae), G = {
|
|
2753
2753
|
firstWeekContainsDate: z,
|
|
2754
2754
|
weekStartsOn: K,
|
|
2755
2755
|
locale: F,
|
|
2756
|
-
_originalDate:
|
|
2756
|
+
_originalDate: J
|
|
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: X(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(Q(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: X([
|
|
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(Q(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(Q(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: X(["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, J;
|
|
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 = (J = z.filter((se) => se.overflows[0] <= 0).sort((se, ee) => se.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : J.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 = Q(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: J,
|
|
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 = () => J === void 0 || J.value === -1 || !cs.value && J.value > 0 ? !1 : Z.value.length >= J.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 <= J.value || J.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), J = 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 = J.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 : J.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, J = {
|
|
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(J).forEach(function(G) {
|
|
5978
5978
|
var le = [ht, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
|
|
5979
|
-
|
|
5979
|
+
J[G] += j[se] * le;
|
|
5980
5980
|
});
|
|
5981
5981
|
}
|
|
5982
|
-
return
|
|
5982
|
+
return J;
|
|
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(J) {
|
|
6038
|
+
return u.modifiersData[J.name] = Object.assign({}, J.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 J = d && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
6169
6169
|
L[z]
|
|
6170
6170
|
);
|
|
6171
|
-
m -=
|
|
6171
|
+
m -= J - 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, J = 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 - J.mainAxis : y - he - H - J.mainAxis, Gt = _ ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.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 + J.altAxis, bt = Le ? Re + F[Ye] + z[Ye] - Jt - J.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], J = 0; J < P.length; J++) {
|
|
6371
|
+
var ae = P[J], 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, J = 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
|
+
J.value || ae(), I();
|
|
6592
6592
|
break;
|
|
6593
6593
|
case "ArrowDown":
|
|
6594
6594
|
if (k.preventDefault(), !l.value)
|
|
6595
6595
|
return;
|
|
6596
|
-
|
|
6596
|
+
J.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
|
+
}, J = (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: J,
|
|
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: X(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: X(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: X([
|
|
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: X(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: X(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: X(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: X(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: X(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: X(t.classList.singleLabel)
|
|
7381
7381
|
},
|
|
7382
7382
|
[
|
|
7383
7383
|
f(
|
|
7384
7384
|
"span",
|
|
7385
7385
|
{
|
|
7386
|
-
class:
|
|
7386
|
+
class: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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: X(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(Q(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: X(["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: X([
|
|
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: Q(o) ? b.content : null,
|
|
8070
|
+
rows: Q(o) ? w.value : null,
|
|
8071
8071
|
onKeyup: [
|
|
8072
|
-
dt(
|
|
8073
|
-
dt(ve(
|
|
8072
|
+
dt(Q(d), ["esc"]),
|
|
8073
|
+
dt(ve(Q(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
|
+
Q(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: Q(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: Q(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: Q(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 : Q(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
|
+
}, J = 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
|
+
J.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: J.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(Q(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(Q(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(Q(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(Q(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(Q(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
|
+
}, J = (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: Q(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(Q(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: J
|
|
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: X([
|
|
9386
9386
|
"ao-card",
|
|
9387
9387
|
{
|
|
9388
9388
|
"ao-card--clickable": e.isClickable
|
|
@@ -9422,12 +9422,12 @@ const ls = /* @__PURE__ */ q({
|
|
|
9422
9422
|
setup(t) {
|
|
9423
9423
|
const e = t, a = A(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
9424
9424
|
return (s, n) => (p(), C("div", {
|
|
9425
|
-
class:
|
|
9425
|
+
class: X(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
|
|
9426
9426
|
role: "meter"
|
|
9427
9427
|
}, [
|
|
9428
9428
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9429
9429
|
key: o,
|
|
9430
|
-
class:
|
|
9430
|
+
class: X(["ao-progress__progress"]),
|
|
9431
9431
|
style: pt({
|
|
9432
9432
|
width: `${o * 100}%`,
|
|
9433
9433
|
"--ao-progress-color": s.color || "var(--ao-color-primary-base)"
|
|
@@ -9518,7 +9518,7 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
|
|
|
9518
9518
|
])) : O("", !0)
|
|
9519
9519
|
])) : O("", !0),
|
|
9520
9520
|
f("div", {
|
|
9521
|
-
class:
|
|
9521
|
+
class: X(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
9522
9522
|
}, [
|
|
9523
9523
|
c.isEditable ? De((p(), C("input", {
|
|
9524
9524
|
key: 0,
|
|
@@ -9533,7 +9533,7 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
|
|
|
9533
9533
|
{ lazy: !0 }
|
|
9534
9534
|
]
|
|
9535
9535
|
]) : O("", !0),
|
|
9536
|
-
f("span", Qf, W(
|
|
9536
|
+
f("span", Qf, W(Q(Qa)(c.deadline)), 1)
|
|
9537
9537
|
], 2)
|
|
9538
9538
|
])
|
|
9539
9539
|
]),
|
|
@@ -9625,6 +9625,9 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9625
9625
|
e("updateMilestone", { id: a.id, name: r });
|
|
9626
9626
|
};
|
|
9627
9627
|
return (r, c) => (p(), D(os, {
|
|
9628
|
+
class: X([
|
|
9629
|
+
"ao-card-project-milestone"
|
|
9630
|
+
]),
|
|
9628
9631
|
"is-clickable": !r.readonly,
|
|
9629
9632
|
"tag-name": "li",
|
|
9630
9633
|
"is-selected": r.isSelected,
|
|
@@ -9650,7 +9653,7 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9650
9653
|
]),
|
|
9651
9654
|
!r.readonly && r.isEditable ? (p(), C("div", ih, [
|
|
9652
9655
|
M(re, {
|
|
9653
|
-
color:
|
|
9656
|
+
color: "primary",
|
|
9654
9657
|
variant: "ghost",
|
|
9655
9658
|
"icon-name": "ArchiveOutlineRounded",
|
|
9656
9659
|
size: "sm",
|
|
@@ -9661,7 +9664,7 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9661
9664
|
() => r.active ? r.$emit("archiveMilestone", { id: r.id }) : r.$emit("unarchiveMilestone", { id: r.id }),
|
|
9662
9665
|
["stop"]
|
|
9663
9666
|
))
|
|
9664
|
-
}, null, 8, ["
|
|
9667
|
+
}, null, 8, ["label"])
|
|
9665
9668
|
])) : O("", !0)
|
|
9666
9669
|
]),
|
|
9667
9670
|
f("div", oh, [
|
|
@@ -9691,17 +9694,17 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9691
9694
|
r.important ? (p(), D(pe, {
|
|
9692
9695
|
key: 0,
|
|
9693
9696
|
name: "FlagRounded",
|
|
9694
|
-
class:
|
|
9697
|
+
class: X(
|
|
9695
9698
|
r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
9696
9699
|
),
|
|
9697
9700
|
size: "sm"
|
|
9698
9701
|
}, null, 8, ["class"])) : O("", !0),
|
|
9699
9702
|
r.deadline ? (p(), C("label", ph, [
|
|
9700
|
-
f("span", vh, W(
|
|
9703
|
+
f("span", vh, W(Q(Qa)(r.deadline)), 1)
|
|
9701
9704
|
])) : O("", !0),
|
|
9702
9705
|
r.assignee ? (p(), C("div", fh, [
|
|
9703
9706
|
M(Je, {
|
|
9704
|
-
"user-name":
|
|
9707
|
+
"user-name": Q(Kn)(r.assignee),
|
|
9705
9708
|
"avatar-url": r.assignee.avatarUrl,
|
|
9706
9709
|
color: r.isSelected ? "black" : "primary",
|
|
9707
9710
|
size: "sm"
|
|
@@ -10674,7 +10677,7 @@ const jh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10674
10677
|
ref_key: "pickerRef",
|
|
10675
10678
|
ref: s
|
|
10676
10679
|
}, [
|
|
10677
|
-
M(
|
|
10680
|
+
M(Q(Ut), {
|
|
10678
10681
|
class: "color-picker",
|
|
10679
10682
|
theme: "light",
|
|
10680
10683
|
color: l.color,
|
|
@@ -10783,7 +10786,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10783
10786
|
])) : O("", !0)
|
|
10784
10787
|
])) : O("", !0),
|
|
10785
10788
|
f("div", {
|
|
10786
|
-
class:
|
|
10789
|
+
class: X(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
|
|
10787
10790
|
}, [
|
|
10788
10791
|
d.isEditable ? De((p(), C("input", {
|
|
10789
10792
|
key: 0,
|
|
@@ -10798,7 +10801,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10798
10801
|
{ lazy: !0 }
|
|
10799
10802
|
]
|
|
10800
10803
|
]) : O("", !0),
|
|
10801
|
-
f("span", Yh, W(
|
|
10804
|
+
f("span", Yh, W(Q(Qa)(d.deadline)), 1)
|
|
10802
10805
|
], 2)
|
|
10803
10806
|
])
|
|
10804
10807
|
]),
|
|
@@ -10949,7 +10952,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10949
10952
|
class: "ao-project-phase__milestones",
|
|
10950
10953
|
style: pt($.value)
|
|
10951
10954
|
}, [
|
|
10952
|
-
M(
|
|
10955
|
+
M(Q(gt), Ae({
|
|
10953
10956
|
class: "ao-project-phase__milestones-list",
|
|
10954
10957
|
list: l.value,
|
|
10955
10958
|
disabled: h.readonly || !h.isEditable,
|
|
@@ -10974,9 +10977,9 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10974
10977
|
assignee: P.assignee,
|
|
10975
10978
|
important: P.important,
|
|
10976
10979
|
readonly: h.readonly,
|
|
10977
|
-
class:
|
|
10980
|
+
class: X(["ao-project-phase__milestone"]),
|
|
10978
10981
|
onClick: (L) => !h.readonly && h.$router.push({
|
|
10979
|
-
name:
|
|
10982
|
+
name: Q(ye).milestone,
|
|
10980
10983
|
params: { phaseId: h.phase.id, milestoneId: P.id }
|
|
10981
10984
|
}),
|
|
10982
10985
|
onUpdateMilestone: c,
|
|
@@ -11045,7 +11048,7 @@ const a9 = { class: "ao-project__phases" }, s9 = {
|
|
|
11045
11048
|
e("addPhase", v);
|
|
11046
11049
|
};
|
|
11047
11050
|
return (v, m) => (p(), C("div", a9, [
|
|
11048
|
-
M(
|
|
11051
|
+
M(Q(gt), {
|
|
11049
11052
|
class: "ao-project-phase__phases-list",
|
|
11050
11053
|
"model-value": v.phases,
|
|
11051
11054
|
"item-key": "id",
|
|
@@ -11234,7 +11237,7 @@ function k9(t, e, a, s, n, o) {
|
|
|
11234
11237
|
return p(), C("div", w9, [
|
|
11235
11238
|
(p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
|
|
11236
11239
|
key: i.value,
|
|
11237
|
-
class:
|
|
11240
|
+
class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11238
11241
|
type: "button",
|
|
11239
11242
|
onClick: (l) => t.selectTab(i.value)
|
|
11240
11243
|
}, W(i.label), 11, $9))), 128))
|
|
@@ -11303,7 +11306,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11303
11306
|
e("addComment", T);
|
|
11304
11307
|
}, K = (T) => {
|
|
11305
11308
|
e("updateComment", T);
|
|
11306
|
-
},
|
|
11309
|
+
}, J = (T) => {
|
|
11307
11310
|
e("removeComment", T);
|
|
11308
11311
|
}, ae = x(!1), j = x(!1), G = (T, k) => {
|
|
11309
11312
|
e("applyTemplate", { templateId: T, projectId: k }), ae.value = !1;
|
|
@@ -11387,7 +11390,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11387
11390
|
users: T.users,
|
|
11388
11391
|
"is-editable": T.isEditable === !0,
|
|
11389
11392
|
"closed-status": T.closedStatus,
|
|
11390
|
-
onClose: k[4] || (k[4] = (y) => T.$router.push({ name:
|
|
11393
|
+
onClose: k[4] || (k[4] = (y) => T.$router.push({ name: Q(ye).project })),
|
|
11391
11394
|
onUpdateMilestone: d,
|
|
11392
11395
|
onAddActivity: w,
|
|
11393
11396
|
onUpdateActivity: b,
|
|
@@ -11415,7 +11418,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11415
11418
|
onRemoveFile: F,
|
|
11416
11419
|
onAddComment: z,
|
|
11417
11420
|
onUpdateComment: K,
|
|
11418
|
-
onRemoveComment:
|
|
11421
|
+
onRemoveComment: J
|
|
11419
11422
|
}, {
|
|
11420
11423
|
default: N(({ Component: y }) => [
|
|
11421
11424
|
(p(), D(mt(y), null, {
|
|
@@ -11458,7 +11461,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11458
11461
|
key: 0,
|
|
11459
11462
|
class: "ao-card-feed__breadcrumbs"
|
|
11460
11463
|
}, P9 = {
|
|
11461
|
-
class: /* @__PURE__ */
|
|
11464
|
+
class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
|
|
11462
11465
|
}, H9 = { class: "ao-card-feed__title-line" }, V9 = {
|
|
11463
11466
|
key: 0,
|
|
11464
11467
|
class: "ao-card-feed__slug"
|
|
@@ -11519,7 +11522,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11519
11522
|
return (m = a.tasks) == null ? void 0 : m.filter((w) => w.isDone).length;
|
|
11520
11523
|
}), v = A(() => (d.value || 0) / (u.value || 1));
|
|
11521
11524
|
return (m, w) => (p(), D(os, {
|
|
11522
|
-
class:
|
|
11525
|
+
class: X(["ao-card-feed", { "ao-card-feed--closed": m.isClosed }]),
|
|
11523
11526
|
"is-clickable": !0
|
|
11524
11527
|
}, {
|
|
11525
11528
|
header: N(() => [
|
|
@@ -11584,7 +11587,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11584
11587
|
}, [
|
|
11585
11588
|
b ? (p(), C("li", N9, [
|
|
11586
11589
|
M(Je, {
|
|
11587
|
-
"user-name":
|
|
11590
|
+
"user-name": Q(Kn)(b),
|
|
11588
11591
|
"avatar-url": b.avatarUrl,
|
|
11589
11592
|
"is-closable": !0,
|
|
11590
11593
|
onClose: () => c(b.id)
|
|
@@ -11834,7 +11837,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11834
11837
|
])) : O("", !0)
|
|
11835
11838
|
]),
|
|
11836
11839
|
f("div", l4, [
|
|
11837
|
-
M(
|
|
11840
|
+
M(Q(gt), Ae({
|
|
11838
11841
|
class: "ao-project-milestone__activities",
|
|
11839
11842
|
list: l.value,
|
|
11840
11843
|
disabled: !h.isEditable,
|
|
@@ -11842,7 +11845,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11842
11845
|
group: "kanban"
|
|
11843
11846
|
}, h.$attrs, { onChange: d }), {
|
|
11844
11847
|
item: N(({ element: I }) => {
|
|
11845
|
-
var L, F, z, K,
|
|
11848
|
+
var L, F, z, K, J;
|
|
11846
11849
|
return [
|
|
11847
11850
|
M(gi, {
|
|
11848
11851
|
id: I.id,
|
|
@@ -11856,13 +11859,13 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11856
11859
|
assignee: I.assignee,
|
|
11857
11860
|
slug: I.slug,
|
|
11858
11861
|
comments: (K = I.comments) == null ? void 0 : K.length,
|
|
11859
|
-
attachments: (
|
|
11862
|
+
attachments: (J = I.attachments) == null ? void 0 : J.length,
|
|
11860
11863
|
tasks: I.tasks,
|
|
11861
11864
|
"is-editable": h.isEditable,
|
|
11862
11865
|
"is-private": I.private,
|
|
11863
11866
|
"is-closed": w(I),
|
|
11864
11867
|
onClick: (ae) => h.$router.push({
|
|
11865
|
-
name:
|
|
11868
|
+
name: Q(ye).activity,
|
|
11866
11869
|
params: { milestoneId: h.milestoneId, activityId: I.id }
|
|
11867
11870
|
}),
|
|
11868
11871
|
onUpdateActivity: u,
|
|
@@ -12030,7 +12033,7 @@ function p4(t) {
|
|
|
12030
12033
|
return Fi() ? (Zi(t), !0) : !1;
|
|
12031
12034
|
}
|
|
12032
12035
|
function za(t) {
|
|
12033
|
-
return typeof t == "function" ? t() :
|
|
12036
|
+
return typeof t == "function" ? t() : Q(t);
|
|
12034
12037
|
}
|
|
12035
12038
|
const v4 = typeof window < "u" && typeof document < "u";
|
|
12036
12039
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -12128,7 +12131,7 @@ function b4(t, e, a = {}) {
|
|
|
12128
12131
|
};
|
|
12129
12132
|
}
|
|
12130
12133
|
const w4 = {
|
|
12131
|
-
class: /* @__PURE__ */
|
|
12134
|
+
class: /* @__PURE__ */ X(["ao-list-kanban"])
|
|
12132
12135
|
}, $4 = { class: "ao-list-kanban__header" }, k4 = {
|
|
12133
12136
|
key: 0,
|
|
12134
12137
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
@@ -12201,7 +12204,7 @@ const w4 = {
|
|
|
12201
12204
|
])
|
|
12202
12205
|
];
|
|
12203
12206
|
}) : O("", !0),
|
|
12204
|
-
M(
|
|
12207
|
+
M(Q(gt), Ae({
|
|
12205
12208
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
12206
12209
|
list: u.list,
|
|
12207
12210
|
"item-key": "id",
|
|
@@ -12223,7 +12226,7 @@ const w4 = {
|
|
|
12223
12226
|
var m, w, b, g, $, h, _, P, I;
|
|
12224
12227
|
return [
|
|
12225
12228
|
M(gi, {
|
|
12226
|
-
class:
|
|
12229
|
+
class: X(o(v) ? "ao-list-draggable" : ""),
|
|
12227
12230
|
id: v.id,
|
|
12228
12231
|
name: v.name,
|
|
12229
12232
|
"project-name": (m = v.project) == null ? void 0 : m.name,
|
|
@@ -12326,19 +12329,19 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
|
|
|
12326
12329
|
class: "ao-field__input ao-search-field__input",
|
|
12327
12330
|
placeholder: i.placeholder,
|
|
12328
12331
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12329
|
-
(...r) =>
|
|
12332
|
+
(...r) => Q(n) && Q(n)(...r)),
|
|
12330
12333
|
onKeypress: dt(s, ["enter"])
|
|
12331
12334
|
}, null, 40, I4),
|
|
12332
12335
|
M(pe, {
|
|
12333
12336
|
name: "SearchRounded",
|
|
12334
|
-
class:
|
|
12337
|
+
class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
12335
12338
|
}, null, 8, ["class"]),
|
|
12336
12339
|
M(re, {
|
|
12337
12340
|
"icon-name": "CloseRounded",
|
|
12338
12341
|
size: "sm",
|
|
12339
12342
|
color: "primary",
|
|
12340
12343
|
corners: "round",
|
|
12341
|
-
class:
|
|
12344
|
+
class: X(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
|
|
12342
12345
|
onClick: o
|
|
12343
12346
|
}, null, 8, ["class"])
|
|
12344
12347
|
]));
|
|
@@ -12435,7 +12438,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12435
12438
|
a.selectedActivity && e("addSubtask", k);
|
|
12436
12439
|
}, K = (k) => {
|
|
12437
12440
|
a.selectedActivity && e("updateSubtask", k);
|
|
12438
|
-
},
|
|
12441
|
+
}, J = (k) => {
|
|
12439
12442
|
a.selectedActivity && e("deleteSubtask", k);
|
|
12440
12443
|
}, ae = (k) => {
|
|
12441
12444
|
e("addFiles", k);
|
|
@@ -12479,36 +12482,36 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12479
12482
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12480
12483
|
a.project ? O("", !0) : (p(), D(Se, {
|
|
12481
12484
|
key: 0,
|
|
12482
|
-
"model-value": k.filters[
|
|
12485
|
+
"model-value": k.filters[Q(Dt).project],
|
|
12483
12486
|
mode: "tags",
|
|
12484
12487
|
options: b.value,
|
|
12485
12488
|
"close-on-select": !1,
|
|
12486
12489
|
searchable: !0,
|
|
12487
12490
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12488
12491
|
placeholder: k.$t("feed.filters.project.placeholder"),
|
|
12489
|
-
"onUpdate:modelValue": R[1] || (R[1] = (V) => m(
|
|
12492
|
+
"onUpdate:modelValue": R[1] || (R[1] = (V) => m(Q(Dt).project, V))
|
|
12490
12493
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12491
12494
|
g.value ? (p(), D(Se, {
|
|
12492
12495
|
key: 1,
|
|
12493
|
-
"model-value": k.filters[
|
|
12496
|
+
"model-value": k.filters[Q(Dt).type],
|
|
12494
12497
|
mode: "tags",
|
|
12495
12498
|
options: g.value,
|
|
12496
12499
|
"close-on-select": !1,
|
|
12497
12500
|
searchable: !0,
|
|
12498
12501
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12499
12502
|
placeholder: k.$t("feed.filters.activityType.placeholder"),
|
|
12500
|
-
"onUpdate:modelValue": R[2] || (R[2] = (V) => m(
|
|
12503
|
+
"onUpdate:modelValue": R[2] || (R[2] = (V) => m(Q(Dt).type, V))
|
|
12501
12504
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12502
12505
|
$.value.length ? (p(), D(Se, {
|
|
12503
12506
|
key: 2,
|
|
12504
|
-
"model-value": k.filters[
|
|
12507
|
+
"model-value": k.filters[Q(Dt).assignee],
|
|
12505
12508
|
mode: "tags",
|
|
12506
12509
|
options: $.value,
|
|
12507
12510
|
"close-on-select": !1,
|
|
12508
12511
|
searchable: !0,
|
|
12509
12512
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12510
12513
|
placeholder: k.$t("feed.filters.assignee.placeholder"),
|
|
12511
|
-
"onUpdate:modelValue": R[3] || (R[3] = (V) => m(
|
|
12514
|
+
"onUpdate:modelValue": R[3] || (R[3] = (V) => m(Q(Dt).assignee, V))
|
|
12512
12515
|
}, {
|
|
12513
12516
|
tag: N(({
|
|
12514
12517
|
option: V,
|
|
@@ -12600,7 +12603,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12600
12603
|
"onUpdate:activity": h,
|
|
12601
12604
|
onAddSubtask: z,
|
|
12602
12605
|
onUpdateSubtask: K,
|
|
12603
|
-
onDeleteSubtask:
|
|
12606
|
+
onDeleteSubtask: J,
|
|
12604
12607
|
onAddFiles: ae,
|
|
12605
12608
|
onRemoveFile: j,
|
|
12606
12609
|
onAddComment: G,
|
|
@@ -12722,7 +12725,7 @@ const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
|
|
|
12722
12725
|
f("img", {
|
|
12723
12726
|
class: "architecture-image",
|
|
12724
12727
|
src: g.project.architectureImage.url,
|
|
12725
|
-
alt:
|
|
12728
|
+
alt: Q(s)("architectureImage.alt")
|
|
12726
12729
|
}, null, 8, U4)
|
|
12727
12730
|
])) : O("", !0)
|
|
12728
12731
|
])
|
|
@@ -12881,7 +12884,7 @@ const jt = {
|
|
|
12881
12884
|
]),
|
|
12882
12885
|
_: 1
|
|
12883
12886
|
}),
|
|
12884
|
-
M(
|
|
12887
|
+
M(Q(gt), {
|
|
12885
12888
|
"model-value": r.templates,
|
|
12886
12889
|
class: "ao-templates__list",
|
|
12887
12890
|
"item-key": "id",
|
|
@@ -12895,13 +12898,13 @@ const jt = {
|
|
|
12895
12898
|
id: u.id,
|
|
12896
12899
|
title: u.name,
|
|
12897
12900
|
phases: u.phases,
|
|
12898
|
-
milestones: (d = u.phases) != null && d.length ?
|
|
12899
|
-
activities: u.phases ?
|
|
12901
|
+
milestones: (d = u.phases) != null && d.length ? Q(H3)(u.phases) : 0,
|
|
12902
|
+
activities: u.phases ? Q(V3)(u.phases) : 0,
|
|
12900
12903
|
"updated-at": u.updatedAt,
|
|
12901
12904
|
"updated-by": u.updatedBy,
|
|
12902
12905
|
onUpdateTitle: (v) => o(u.id, v),
|
|
12903
12906
|
onClick: (v) => r.$router.push({
|
|
12904
|
-
name:
|
|
12907
|
+
name: Q(jt).TEMPLATE_DETAILS,
|
|
12905
12908
|
params: { templateId: u.id }
|
|
12906
12909
|
}),
|
|
12907
12910
|
onDeleteItem: c[0] || (c[0] = (v, m) => i(v, m))
|
|
@@ -12921,7 +12924,7 @@ const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
|
12921
12924
|
},
|
|
12922
12925
|
setup(t) {
|
|
12923
12926
|
return (e, a) => (p(), C("label", {
|
|
12924
|
-
class:
|
|
12927
|
+
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12925
12928
|
}, [
|
|
12926
12929
|
f("span", z4, W(e.label), 1),
|
|
12927
12930
|
te(e.$slots, "default")
|