@26lights/orcha 0.14.4 → 0.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +50 -48
- package/dist/orcha.umd.js +1 -1
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, openBlock as c, createBlock as N, unref as q, mergeProps as Ve, createElementBlock as h, createElementVNode as v, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as y, resolveDynamicComponent as tt, normalizeClass as G, renderSlot as te, toDisplayString as z, createCommentVNode as A, ref as J, watch as
|
|
1
|
+
import { defineComponent as x, openBlock as c, createBlock as N, unref as q, mergeProps as Ve, createElementBlock as h, createElementVNode as v, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as y, resolveDynamicComponent as tt, normalizeClass as G, renderSlot as te, toDisplayString as z, createCommentVNode as A, ref as J, watch as le, nextTick as Ee, withKeys as Ye, toHandlers as dn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ra, withModifiers as _e, createSlots as t1, Fragment as fe, renderList as be, onMounted as Dt, onBeforeUnmount as cn, onUnmounted as ua, toRefs as $e, getCurrentInstance as at, toRef as ct, normalizeProps as fn, guardReactiveProps as vn, onUpdated as pn, withDirectives as ft, vModelText as Et, vModelCheckbox as hn, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
|
|
2
2
|
import { RouterView as bn } from "vue-router";
|
|
3
3
|
import Xe from "vuedraggable";
|
|
4
4
|
const Y4 = /* @__PURE__ */ x({
|
|
@@ -1206,7 +1206,7 @@ function ca(a) {
|
|
|
1206
1206
|
r(u, d);
|
|
1207
1207
|
});
|
|
1208
1208
|
};
|
|
1209
|
-
return
|
|
1209
|
+
return le(e, async (r) => {
|
|
1210
1210
|
await Ee(() => {
|
|
1211
1211
|
setTimeout(() => {
|
|
1212
1212
|
a.value && r && (a.value.focus(), t.value = a.value[s.value]);
|
|
@@ -1249,7 +1249,7 @@ const me = /* @__PURE__ */ x({
|
|
|
1249
1249
|
}, $ = (M) => {
|
|
1250
1250
|
M.stopPropagation(), n.value || o(!0);
|
|
1251
1251
|
};
|
|
1252
|
-
return
|
|
1252
|
+
return le(
|
|
1253
1253
|
() => t.isEditable,
|
|
1254
1254
|
(M) => {
|
|
1255
1255
|
M || f();
|
|
@@ -2706,23 +2706,23 @@ function Oc(a, e, t) {
|
|
|
2706
2706
|
locale: X,
|
|
2707
2707
|
_originalDate: ee
|
|
2708
2708
|
}, ue = K.match(Sc).map(function(ne) {
|
|
2709
|
-
var
|
|
2710
|
-
if (
|
|
2711
|
-
var ie = Pd[
|
|
2709
|
+
var re = ne[0];
|
|
2710
|
+
if (re === "p" || re === "P") {
|
|
2711
|
+
var ie = Pd[re];
|
|
2712
2712
|
return ie(ne, X.formatLong);
|
|
2713
2713
|
}
|
|
2714
2714
|
return ne;
|
|
2715
2715
|
}).join("").match(Ac).map(function(ne) {
|
|
2716
2716
|
if (ne === "''")
|
|
2717
2717
|
return "'";
|
|
2718
|
-
var
|
|
2719
|
-
if (
|
|
2718
|
+
var re = ne[0];
|
|
2719
|
+
if (re === "'")
|
|
2720
2720
|
return Lc(ne);
|
|
2721
|
-
var ie = Vd[
|
|
2721
|
+
var ie = Vd[re];
|
|
2722
2722
|
if (ie)
|
|
2723
2723
|
return !(t != null && t.useAdditionalWeekYearTokens) && Ud(ne) && J1(ne, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Rd(ne) && J1(ne, e, String(a)), ie(k, ne, X.localize, P);
|
|
2724
|
-
if (
|
|
2725
|
-
throw new RangeError("Format string contains an unescaped latin alphabet character `" +
|
|
2724
|
+
if (re.match(Ic))
|
|
2725
|
+
throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
|
|
2726
2726
|
return ne;
|
|
2727
2727
|
}).join("");
|
|
2728
2728
|
return ue;
|
|
@@ -4416,12 +4416,12 @@ const r0 = function(a) {
|
|
|
4416
4416
|
placement: P
|
|
4417
4417
|
}
|
|
4418
4418
|
};
|
|
4419
|
-
let ue = (ee = ae.filter((ne) => ne.overflows[0] <= 0).sort((ne,
|
|
4419
|
+
let ue = (ee = ae.filter((ne) => ne.overflows[0] <= 0).sort((ne, re) => ne.overflows[1] - re.overflows[1])[0]) == null ? void 0 : ee.placement;
|
|
4420
4420
|
if (!ue)
|
|
4421
4421
|
switch (m) {
|
|
4422
4422
|
case "bestFit": {
|
|
4423
4423
|
var b;
|
|
4424
|
-
const ne = (b = ae.map((
|
|
4424
|
+
const ne = (b = ae.map((re) => [re.placement, re.overflows.filter((ie) => ie > 0).reduce((ie, O) => ie + O, 0)]).sort((re, ie) => re[1] - ie[1])[0]) == null ? void 0 : b[0];
|
|
4425
4425
|
ne && (ue = ne);
|
|
4426
4426
|
break;
|
|
4427
4427
|
}
|
|
@@ -5019,7 +5019,7 @@ function L0(a, e, t) {
|
|
|
5019
5019
|
}
|
|
5020
5020
|
e.emit("paste", m, n);
|
|
5021
5021
|
};
|
|
5022
|
-
return
|
|
5022
|
+
return le(l, (m) => {
|
|
5023
5023
|
!o.value && m && i(), e.emit("search-change", m, n);
|
|
5024
5024
|
}), {
|
|
5025
5025
|
search: l,
|
|
@@ -5085,7 +5085,7 @@ function P0(a, e, t) {
|
|
|
5085
5085
|
closeOnDeselect: P,
|
|
5086
5086
|
groups: ue,
|
|
5087
5087
|
reverse: ne,
|
|
5088
|
-
infinite:
|
|
5088
|
+
infinite: re,
|
|
5089
5089
|
groupOptions: ie,
|
|
5090
5090
|
groupHideEmpty: O,
|
|
5091
5091
|
groupSelect: L,
|
|
@@ -5093,7 +5093,7 @@ function P0(a, e, t) {
|
|
|
5093
5093
|
disabledProp: w,
|
|
5094
5094
|
searchStart: Y,
|
|
5095
5095
|
searchFilter: he
|
|
5096
|
-
} = $e(a), Z = at().proxy, F = t.iv, E = t.ev, U = t.search, Ce = t.clearSearch, Pe = t.update, Na = t.pointer, st = t.clearPointer, Ra = t.focus, Ua = t.deactivate, it = t.close, ja = t.localize, gt = J([]), Fe = J([]), Ie = J(!1), f1 = J(null), v1 = J(
|
|
5096
|
+
} = $e(a), Z = at().proxy, F = t.iv, E = t.ev, U = t.search, Ce = t.clearSearch, Pe = t.update, Na = t.pointer, st = t.clearPointer, Ra = t.focus, Ua = t.deactivate, it = t.close, ja = t.localize, gt = J([]), Fe = J([]), Ie = J(!1), f1 = J(null), v1 = J(re.value && i.value === -1 ? 10 : i.value), j1 = y(() => r.value || d.value || !1), Za = y(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), qe = y(() => {
|
|
5097
5097
|
if (ue.value) {
|
|
5098
5098
|
let C = Rt.value || /* istanbul ignore next */
|
|
5099
5099
|
[], H = [];
|
|
@@ -5326,7 +5326,7 @@ function P0(a, e, t) {
|
|
|
5326
5326
|
[D.value]: H,
|
|
5327
5327
|
[Oe.value]: H
|
|
5328
5328
|
}), K1 = () => {
|
|
5329
|
-
f1.value =
|
|
5329
|
+
f1.value = le(U, (C) => {
|
|
5330
5330
|
C.length < g.value || !C && g.value !== 0 || (Ie.value = !0, R.value && (Fe.value = []), setTimeout(() => {
|
|
5331
5331
|
C == U.value && s.value(U.value, Z).then((H) => {
|
|
5332
5332
|
(C == U.value || !U.value) && (Fe.value = H, Na.value = bt.value.filter((se) => se[w.value] !== !0)[0] || null, Ie.value = !1);
|
|
@@ -5341,9 +5341,9 @@ function P0(a, e, t) {
|
|
|
5341
5341
|
};
|
|
5342
5342
|
if (n.value !== "single" && !Le(E.value) && !Array.isArray(E.value))
|
|
5343
5343
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
5344
|
-
return s && typeof s.value == "function" ? _.value ? jt(Ut) : $.value == !0 && Ut() : (Fe.value = s.value, Ut()), S.value > -1 && K1(),
|
|
5344
|
+
return s && typeof s.value == "function" ? _.value ? jt(Ut) : $.value == !0 && Ut() : (Fe.value = s.value, Ut()), S.value > -1 && K1(), le(S, (C, H) => {
|
|
5345
5345
|
f1.value && f1.value(), C >= 0 && K1();
|
|
5346
|
-
}),
|
|
5346
|
+
}), le(E, (C) => {
|
|
5347
5347
|
if (Le(C)) {
|
|
5348
5348
|
Pe(Zt(C), !1);
|
|
5349
5349
|
return;
|
|
@@ -5357,9 +5357,9 @@ function P0(a, e, t) {
|
|
|
5357
5357
|
H0($.value ? C.map((H) => H[D.value]) : C, F.value.map((H) => H[D.value])) || Pe(Zt(C), !1);
|
|
5358
5358
|
break;
|
|
5359
5359
|
}
|
|
5360
|
-
}, { deep: !0 }),
|
|
5360
|
+
}, { deep: !0 }), le(s, (C, H) => {
|
|
5361
5361
|
typeof a.options == "function" ? _.value && (!H || C && C.toString() !== H.toString()) && jt() : (Fe.value = a.options, Object.keys(F.value).length || Ut(), b1());
|
|
5362
|
-
}),
|
|
5362
|
+
}), le(u, b1), {
|
|
5363
5363
|
pfo: Z1,
|
|
5364
5364
|
fo: bt,
|
|
5365
5365
|
filteredOptions: bt,
|
|
@@ -5417,7 +5417,7 @@ function B0(a, e, t) {
|
|
|
5417
5417
|
}), P = y(() => [...X.value].slice(-1)[0]), ue = y(() => _.value.__VISIBLE__.filter((E) => !E[u.value])[0]), ne = y(() => {
|
|
5418
5418
|
const E = ee.value.__VISIBLE__.filter((U) => !U[u.value]);
|
|
5419
5419
|
return E[E.map((U) => U[s.value]).indexOf(_.value[s.value]) - 1];
|
|
5420
|
-
}),
|
|
5420
|
+
}), re = y(() => {
|
|
5421
5421
|
const E = Z(_.value).__VISIBLE__.filter((U) => !U[u.value]);
|
|
5422
5422
|
return E[E.map((U) => U[s.value]).indexOf(_.value[s.value]) + 1];
|
|
5423
5423
|
}), ie = y(() => [...b.value.__VISIBLE__.filter((E) => !E[u.value])].slice(-1)[0]), O = y(() => [...P.value.__VISIBLE__.filter((E) => !E[u.value])].slice(-1)[0]), L = (E) => _.value && (!E.group && _.value[s.value] === E[s.value] || E.group !== void 0 && _.value[i.value] === E[i.value]) ? !0 : void 0, W = () => {
|
|
@@ -5428,7 +5428,7 @@ function B0(a, e, t) {
|
|
|
5428
5428
|
if (_.value === null)
|
|
5429
5429
|
g((l.value && ae.value ? X.value[0].__CREATE__ ? D.value[0] : X.value[0] : D.value[0]) || null);
|
|
5430
5430
|
else if (l.value && ae.value) {
|
|
5431
|
-
let E = I.value ? ue.value :
|
|
5431
|
+
let E = I.value ? ue.value : re.value;
|
|
5432
5432
|
E === void 0 && (E = k.value, E.__CREATE__ && (E = E[f.value][0])), g(E || /* istanbul ignore next */
|
|
5433
5433
|
null);
|
|
5434
5434
|
} else {
|
|
@@ -5460,9 +5460,9 @@ function B0(a, e, t) {
|
|
|
5460
5460
|
let U = E.parentElement.parentElement;
|
|
5461
5461
|
l.value && (U = I.value ? E.parentElement.parentElement.parentElement : E.parentElement.parentElement.parentElement.parentElement), E.offsetTop + E.offsetHeight > U.clientHeight + U.scrollTop && (U.scrollTop = E.offsetTop + E.offsetHeight - U.clientHeight), E.offsetTop < U.scrollTop && (U.scrollTop = E.offsetTop);
|
|
5462
5462
|
};
|
|
5463
|
-
return
|
|
5463
|
+
return le(S, (E) => {
|
|
5464
5464
|
o.value && (E.length && n.value ? W() : V());
|
|
5465
|
-
}),
|
|
5465
|
+
}), le(K, (E) => {
|
|
5466
5466
|
if (E) {
|
|
5467
5467
|
let U = R.value.querySelectorAll("[data-selected]")[0];
|
|
5468
5468
|
if (!U)
|
|
@@ -5550,7 +5550,7 @@ function U0(a, e, t) {
|
|
|
5550
5550
|
reverse: m
|
|
5551
5551
|
} = $e(a), $ = at().proxy, M = t.iv, S = t.update, _ = t.search, g = t.setPointer, V = t.selectPointer, R = t.backwardPointer, K = t.forwardPointer, D = t.multiselect, X = t.wrapper, ae = t.tags, I = t.isOpen, ee = t.open, b = t.blur, k = t.fo, P = y(() => f.value || p.value || !1), ue = y(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ne = () => {
|
|
5552
5552
|
s.value === "tags" && !l.value && P.value && i.value && !d.value && g(k.value[k.value.map((L) => L[r.value]).indexOf(_.value)]);
|
|
5553
|
-
},
|
|
5553
|
+
}, re = (L) => {
|
|
5554
5554
|
let W = L.length - 1;
|
|
5555
5555
|
for (; W >= 0 && (L[W].remove === !1 || L[W].disabled); )
|
|
5556
5556
|
W--;
|
|
@@ -5564,7 +5564,7 @@ function U0(a, e, t) {
|
|
|
5564
5564
|
case "Backspace":
|
|
5565
5565
|
if (s.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || M.value.length === 0)
|
|
5566
5566
|
return;
|
|
5567
|
-
S(
|
|
5567
|
+
S(re([...M.value]));
|
|
5568
5568
|
break;
|
|
5569
5569
|
case "Enter":
|
|
5570
5570
|
if (L.preventDefault(), L.keyCode === 229)
|
|
@@ -5748,11 +5748,11 @@ function Z0(a, e, t) {
|
|
|
5748
5748
|
}, $ = () => {
|
|
5749
5749
|
o.value && i.value < r.value.length ? u.value.observe(f.value) : !o.value && u.value && u.value.disconnect();
|
|
5750
5750
|
};
|
|
5751
|
-
return
|
|
5751
|
+
return le(o, () => {
|
|
5752
5752
|
n.value && $();
|
|
5753
|
-
}),
|
|
5753
|
+
}), le(l, () => {
|
|
5754
5754
|
n.value && (i.value = s.value, $());
|
|
5755
|
-
}, { flush: "post" }),
|
|
5755
|
+
}, { flush: "post" }), le(d, () => {
|
|
5756
5756
|
n.value && $();
|
|
5757
5757
|
}, { immediate: !1, flush: "post" }), Dt(() => {
|
|
5758
5758
|
window && window.IntersectionObserver && (u.value = new IntersectionObserver(m));
|
|
@@ -6746,7 +6746,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6746
6746
|
emits: ["add", "delete", "update"],
|
|
6747
6747
|
setup(a, { emit: e }) {
|
|
6748
6748
|
const t = a, { t: s } = nt();
|
|
6749
|
-
|
|
6749
|
+
le(() => t.tasks, (f, p) => {
|
|
6750
6750
|
Ue(f, p);
|
|
6751
6751
|
});
|
|
6752
6752
|
const n = y(
|
|
@@ -6899,7 +6899,7 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], b5 = {
|
|
|
6899
6899
|
function l() {
|
|
6900
6900
|
o.value = !1;
|
|
6901
6901
|
}
|
|
6902
|
-
|
|
6902
|
+
le(o, (d) => {
|
|
6903
6903
|
e("toggleIsDropActive", d);
|
|
6904
6904
|
});
|
|
6905
6905
|
function r(d) {
|
|
@@ -7788,7 +7788,7 @@ const D7 = {
|
|
|
7788
7788
|
return (O = t.templates) == null ? void 0 : O.find((L) => L.id === t.templateId);
|
|
7789
7789
|
}
|
|
7790
7790
|
), o = J(!1);
|
|
7791
|
-
|
|
7791
|
+
le(() => [t.templateId, t.phaseId, t.milestoneId], () => o.value = !1), le(() => {
|
|
7792
7792
|
var O;
|
|
7793
7793
|
return (O = n.value) == null ? void 0 : O.phases;
|
|
7794
7794
|
}, (O, L) => {
|
|
@@ -7798,7 +7798,7 @@ const D7 = {
|
|
|
7798
7798
|
var O, L;
|
|
7799
7799
|
return (L = (O = n == null ? void 0 : n.value) == null ? void 0 : O.phases) == null ? void 0 : L.find((W) => W.id === t.phaseId);
|
|
7800
7800
|
});
|
|
7801
|
-
|
|
7801
|
+
le(() => {
|
|
7802
7802
|
var O;
|
|
7803
7803
|
return (O = i.value) == null ? void 0 : O.milestones;
|
|
7804
7804
|
}, (O, L) => {
|
|
@@ -7810,7 +7810,7 @@ const D7 = {
|
|
|
7810
7810
|
(W) => W.id === t.milestoneId
|
|
7811
7811
|
);
|
|
7812
7812
|
});
|
|
7813
|
-
|
|
7813
|
+
le(() => {
|
|
7814
7814
|
var O;
|
|
7815
7815
|
return (O = l.value) == null ? void 0 : O.activities;
|
|
7816
7816
|
}, (O, L) => {
|
|
@@ -7998,7 +7998,7 @@ const D7 = {
|
|
|
7998
7998
|
templateId: t.templateId,
|
|
7999
7999
|
data: O
|
|
8000
8000
|
});
|
|
8001
|
-
},
|
|
8001
|
+
}, re = (O) => {
|
|
8002
8002
|
e("addFiles", O);
|
|
8003
8003
|
}, ie = (O) => {
|
|
8004
8004
|
e("removeFile", O);
|
|
@@ -8123,7 +8123,7 @@ const D7 = {
|
|
|
8123
8123
|
onAddSubtask: P,
|
|
8124
8124
|
onUpdateSubtask: ue,
|
|
8125
8125
|
onDeleteSubtask: ne,
|
|
8126
|
-
onAddFiles:
|
|
8126
|
+
onAddFiles: re,
|
|
8127
8127
|
onRemoveFile: ie
|
|
8128
8128
|
}, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : A("", !0)
|
|
8129
8129
|
])),
|
|
@@ -8369,7 +8369,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
|
|
|
8369
8369
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "updatePhase", "archivePhase"],
|
|
8370
8370
|
setup(a, { emit: e }) {
|
|
8371
8371
|
const t = a, { t: s } = nt();
|
|
8372
|
-
|
|
8372
|
+
le(() => t.phase.milestones, (f, p) => {
|
|
8373
8373
|
Ue(f, p);
|
|
8374
8374
|
});
|
|
8375
8375
|
const n = (f) => {
|
|
@@ -8465,7 +8465,7 @@ const v9 = { class: "ao-project__phases" }, p9 = {
|
|
|
8465
8465
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "addPhase", "updatePhase", "archivePhase"],
|
|
8466
8466
|
setup(a, { emit: e }) {
|
|
8467
8467
|
const t = a;
|
|
8468
|
-
|
|
8468
|
+
le(() => t.phases, (u, f) => {
|
|
8469
8469
|
Ue(u, f);
|
|
8470
8470
|
});
|
|
8471
8471
|
const s = (u) => {
|
|
@@ -8955,7 +8955,7 @@ const G9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
8955
8955
|
var p;
|
|
8956
8956
|
return (p = i.value) == null ? void 0 : p.activities;
|
|
8957
8957
|
});
|
|
8958
|
-
|
|
8958
|
+
le(l, (p, m) => {
|
|
8959
8959
|
Ue(p, m);
|
|
8960
8960
|
});
|
|
8961
8961
|
const r = (p) => {
|
|
@@ -9233,7 +9233,7 @@ function f4(a, e, t = {}) {
|
|
|
9233
9233
|
return (Array.isArray($) ? $ : [$]).map(M1).filter(i4);
|
|
9234
9234
|
});
|
|
9235
9235
|
let u = St;
|
|
9236
|
-
const f = J(l), p = r.value ?
|
|
9236
|
+
const f = J(l), p = r.value ? le(
|
|
9237
9237
|
() => [d.value, M1(s), f.value],
|
|
9238
9238
|
([$, M]) => {
|
|
9239
9239
|
if (u(), !f.value || !$.length)
|
|
@@ -9301,7 +9301,7 @@ const v4 = {
|
|
|
9301
9301
|
const t = a, s = J(!1), n = J(null);
|
|
9302
9302
|
f4(n, ([{ isIntersecting: r }]) => {
|
|
9303
9303
|
s.value = r;
|
|
9304
|
-
}),
|
|
9304
|
+
}), le(s, (r) => {
|
|
9305
9305
|
r && t.hasMore && !t.isLoading && e("loadMore");
|
|
9306
9306
|
});
|
|
9307
9307
|
const o = (r) => {
|
|
@@ -9503,7 +9503,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9503
9503
|
const t = a, { t: s } = nt(), n = ct(t, "activities"), { selectActivity: o, selectedActivity: i } = A4(n), l = (w) => {
|
|
9504
9504
|
o(w), e("selectActivity", w);
|
|
9505
9505
|
}, r = J({}), d = J(!1);
|
|
9506
|
-
|
|
9506
|
+
le(
|
|
9507
9507
|
[() => t.statuses, () => t.activities],
|
|
9508
9508
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9509
9509
|
async ([w, Y], [he, Z]) => {
|
|
@@ -9533,7 +9533,9 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9533
9533
|
}, p = (w, Y) => {
|
|
9534
9534
|
d.value = !1, e("update:filters", { ...t.filters, [w]: Y });
|
|
9535
9535
|
}, m = t.project ? [t.project] : t.projects ?? [];
|
|
9536
|
-
|
|
9536
|
+
le([t], () => {
|
|
9537
|
+
console.log({ propsProject: JSON.stringify(t.project), propsProjects: JSON.stringify(t.projects), projects: JSON.stringify(m) });
|
|
9538
|
+
});
|
|
9537
9539
|
const $ = y(() => m.map((w) => ({
|
|
9538
9540
|
value: w.id,
|
|
9539
9541
|
label: w.name
|
|
@@ -9592,7 +9594,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9592
9594
|
}, ne = y(() => m.map((w) => ({
|
|
9593
9595
|
value: w.id,
|
|
9594
9596
|
label: w.name
|
|
9595
|
-
}))),
|
|
9597
|
+
}))), re = y(() => {
|
|
9596
9598
|
var Y, he, Z;
|
|
9597
9599
|
const w = (Z = (he = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : he.phases) == null ? void 0 : Z.reduce((F, E) => [...F, ...E.milestones], []);
|
|
9598
9600
|
return w == null ? void 0 : w.map((F) => ({
|
|
@@ -9753,10 +9755,10 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9753
9755
|
onChange: ie
|
|
9754
9756
|
}, null, 8, ["options", "value"])
|
|
9755
9757
|
])) : A("", !0),
|
|
9756
|
-
|
|
9758
|
+
re.value ? (c(), h("label", V4, [
|
|
9757
9759
|
v("span", D4, z(w.$t("activity.milestone.label")), 1),
|
|
9758
9760
|
T(ye, {
|
|
9759
|
-
options:
|
|
9761
|
+
options: re.value,
|
|
9760
9762
|
value: (F = q(i).milestone) == null ? void 0 : F.id,
|
|
9761
9763
|
searchable: !0,
|
|
9762
9764
|
onChange: O
|
|
@@ -9873,7 +9875,7 @@ const Tt = {
|
|
|
9873
9875
|
emits: ["addTemplate", "updateTemplates", "updateItem"],
|
|
9874
9876
|
setup(a, { emit: e }) {
|
|
9875
9877
|
const t = a, { t: s } = nt();
|
|
9876
|
-
|
|
9878
|
+
le(() => t.templates, (l, r) => {
|
|
9877
9879
|
Ue(l, r);
|
|
9878
9880
|
});
|
|
9879
9881
|
const n = () => {
|