@26lights/orcha 0.41.73 → 0.41.74
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 +412 -406
- package/dist/orcha.umd.js +3 -3
- package/dist/src/components/AoCard.vue.d.ts +5 -5
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
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
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import gt from "vuedraggable";
|
|
4
|
+
const t8 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1168,7 +1168,7 @@ const Ln = {
|
|
|
1168
1168
|
},
|
|
1169
1169
|
setup(t) {
|
|
1170
1170
|
const e = t, a = A(() => L2[e.name]);
|
|
1171
|
-
return (s, n) => (p(), D(
|
|
1171
|
+
return (s, n) => (p(), D(mt(a.value), {
|
|
1172
1172
|
class: X(["ao-icon", `ao-icon--${s.size}`])
|
|
1173
1173
|
}, null, 8, ["class"]));
|
|
1174
1174
|
}
|
|
@@ -1280,7 +1280,7 @@ const be = /* @__PURE__ */ q({
|
|
|
1280
1280
|
(b) => {
|
|
1281
1281
|
b || d();
|
|
1282
1282
|
}
|
|
1283
|
-
), (b, g) => (p(), D(
|
|
1283
|
+
), (b, g) => (p(), D(mt(r.value), Ae({
|
|
1284
1284
|
id: b.id,
|
|
1285
1285
|
ref_key: "target",
|
|
1286
1286
|
ref: s,
|
|
@@ -1346,7 +1346,7 @@ const j2 = {
|
|
|
1346
1346
|
const a = (s) => {
|
|
1347
1347
|
e("update:title", s);
|
|
1348
1348
|
};
|
|
1349
|
-
return (s, n) => (p(), D(
|
|
1349
|
+
return (s, n) => (p(), D(mt(s.tagName), {
|
|
1350
1350
|
class: X(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
|
|
1351
1351
|
}, {
|
|
1352
1352
|
default: N(() => [
|
|
@@ -1419,9 +1419,9 @@ const ra = /* @__PURE__ */ q({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: pt(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
|
-
(p(), D(
|
|
1424
|
+
(p(), D(mt(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: N(() => [
|
|
@@ -1453,11 +1453,11 @@ const Ba = {
|
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
1456
|
-
},
|
|
1456
|
+
}, a8 = {
|
|
1457
1457
|
months: "months",
|
|
1458
1458
|
weeks: "weeks",
|
|
1459
1459
|
days: "days"
|
|
1460
|
-
},
|
|
1460
|
+
}, s8 = {
|
|
1461
1461
|
future: "future",
|
|
1462
1462
|
this_month: "this_month",
|
|
1463
1463
|
this_week: "this_week",
|
|
@@ -1481,7 +1481,7 @@ const Ba = {
|
|
|
1481
1481
|
TASKS: "tasks"
|
|
1482
1482
|
};
|
|
1483
1483
|
var G2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(G2 || {});
|
|
1484
|
-
const
|
|
1484
|
+
const n8 = {
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
@@ -2173,11 +2173,11 @@ var Bt = {
|
|
|
2173
2173
|
return vn(i);
|
|
2174
2174
|
case "XXXX":
|
|
2175
2175
|
case "XX":
|
|
2176
|
-
return
|
|
2176
|
+
return St(i);
|
|
2177
2177
|
case "XXXXX":
|
|
2178
2178
|
case "XXX":
|
|
2179
2179
|
default:
|
|
2180
|
-
return
|
|
2180
|
+
return St(i, ":");
|
|
2181
2181
|
}
|
|
2182
2182
|
},
|
|
2183
2183
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -2188,11 +2188,11 @@ var Bt = {
|
|
|
2188
2188
|
return vn(i);
|
|
2189
2189
|
case "xxxx":
|
|
2190
2190
|
case "xx":
|
|
2191
|
-
return
|
|
2191
|
+
return St(i);
|
|
2192
2192
|
case "xxxxx":
|
|
2193
2193
|
case "xxx":
|
|
2194
2194
|
default:
|
|
2195
|
-
return
|
|
2195
|
+
return St(i, ":");
|
|
2196
2196
|
}
|
|
2197
2197
|
},
|
|
2198
2198
|
// Timezone (GMT)
|
|
@@ -2205,7 +2205,7 @@ var Bt = {
|
|
|
2205
2205
|
return "GMT" + pn(i, ":");
|
|
2206
2206
|
case "OOOO":
|
|
2207
2207
|
default:
|
|
2208
|
-
return "GMT" +
|
|
2208
|
+
return "GMT" + St(i, ":");
|
|
2209
2209
|
}
|
|
2210
2210
|
},
|
|
2211
2211
|
// Timezone (specific non-location)
|
|
@@ -2218,7 +2218,7 @@ var Bt = {
|
|
|
2218
2218
|
return "GMT" + pn(i, ":");
|
|
2219
2219
|
case "zzzz":
|
|
2220
2220
|
default:
|
|
2221
|
-
return "GMT" +
|
|
2221
|
+
return "GMT" + St(i, ":");
|
|
2222
2222
|
}
|
|
2223
2223
|
},
|
|
2224
2224
|
// Seconds timestamp
|
|
@@ -2244,9 +2244,9 @@ function vn(t, e) {
|
|
|
2244
2244
|
var a = t > 0 ? "-" : "+";
|
|
2245
2245
|
return a + de(Math.abs(t) / 60, 2);
|
|
2246
2246
|
}
|
|
2247
|
-
return
|
|
2247
|
+
return St(t, e);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function St(t, e) {
|
|
2250
2250
|
var a = e || "", s = t > 0 ? "-" : "+", n = Math.abs(t), o = de(Math.floor(n / 60), 2), i = de(n % 60, 2);
|
|
2251
2251
|
return s + o + a + i;
|
|
2252
2252
|
}
|
|
@@ -3914,7 +3914,7 @@ const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v
|
|
|
3914
3914
|
const f5 = ["type"], h5 = {
|
|
3915
3915
|
key: 0,
|
|
3916
3916
|
class: "ao-button-card__label"
|
|
3917
|
-
},
|
|
3917
|
+
}, Ct = /* @__PURE__ */ q({
|
|
3918
3918
|
__name: "AoButtonCard",
|
|
3919
3919
|
props: {
|
|
3920
3920
|
label: { default: () => "" },
|
|
@@ -4066,7 +4066,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4066
4066
|
});
|
|
4067
4067
|
}
|
|
4068
4068
|
};
|
|
4069
|
-
return (l, r) => l.phase ? (p(), D(Q(
|
|
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",
|
|
@@ -4101,7 +4101,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4101
4101
|
]),
|
|
4102
4102
|
footer: N(() => [
|
|
4103
4103
|
f("div", w5, [
|
|
4104
|
-
M(
|
|
4104
|
+
M(Ct, {
|
|
4105
4105
|
"icon-name": "AddBoxOutlineRounded",
|
|
4106
4106
|
label: l.$t("template.milestones.add"),
|
|
4107
4107
|
onClick: s
|
|
@@ -4156,7 +4156,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4156
4156
|
});
|
|
4157
4157
|
}
|
|
4158
4158
|
};
|
|
4159
|
-
return (l, r) => l.milestone ? (p(), D(Q(
|
|
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"),
|
|
@@ -4187,7 +4187,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4187
4187
|
]),
|
|
4188
4188
|
footer: N(() => [
|
|
4189
4189
|
f("div", S5, [
|
|
4190
|
-
M(
|
|
4190
|
+
M(Ct, {
|
|
4191
4191
|
"icon-name": "AddBoxOutlineRounded",
|
|
4192
4192
|
label: l.$t("template.activities.add"),
|
|
4193
4193
|
onClick: s
|
|
@@ -4241,7 +4241,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4241
4241
|
], 2));
|
|
4242
4242
|
}
|
|
4243
4243
|
});
|
|
4244
|
-
const da = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor,
|
|
4244
|
+
const da = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor, vt = (t) => ({
|
|
4245
4245
|
x: t,
|
|
4246
4246
|
y: t
|
|
4247
4247
|
}), P5 = {
|
|
@@ -4607,7 +4607,7 @@ const Z5 = function(t) {
|
|
|
4607
4607
|
}
|
|
4608
4608
|
};
|
|
4609
4609
|
};
|
|
4610
|
-
function
|
|
4610
|
+
function ft(t) {
|
|
4611
4611
|
return Jn(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4612
4612
|
}
|
|
4613
4613
|
function Te(t) {
|
|
@@ -4640,7 +4640,7 @@ function wa(t) {
|
|
|
4640
4640
|
return /auto|scroll|overlay|hidden|clip/.test(e + s + a) && !["inline", "contents"].includes(n);
|
|
4641
4641
|
}
|
|
4642
4642
|
function z5(t) {
|
|
4643
|
-
return ["table", "td", "th"].includes(
|
|
4643
|
+
return ["table", "td", "th"].includes(ft(t));
|
|
4644
4644
|
}
|
|
4645
4645
|
function js(t) {
|
|
4646
4646
|
const e = Rs(), a = je(t);
|
|
@@ -4659,7 +4659,7 @@ function Rs() {
|
|
|
4659
4659
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4660
4660
|
}
|
|
4661
4661
|
function ts(t) {
|
|
4662
|
-
return ["html", "body", "#document"].includes(
|
|
4662
|
+
return ["html", "body", "#document"].includes(ft(t));
|
|
4663
4663
|
}
|
|
4664
4664
|
function je(t) {
|
|
4665
4665
|
return Te(t).getComputedStyle(t);
|
|
@@ -4674,7 +4674,7 @@ function as(t) {
|
|
|
4674
4674
|
};
|
|
4675
4675
|
}
|
|
4676
4676
|
function Wt(t) {
|
|
4677
|
-
if (
|
|
4677
|
+
if (ft(t) === "html")
|
|
4678
4678
|
return t;
|
|
4679
4679
|
const e = (
|
|
4680
4680
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -4711,7 +4711,7 @@ function Ns(t) {
|
|
|
4711
4711
|
function Nt(t) {
|
|
4712
4712
|
const e = Ns(t);
|
|
4713
4713
|
if (!We(e))
|
|
4714
|
-
return
|
|
4714
|
+
return vt(1);
|
|
4715
4715
|
const a = e.getBoundingClientRect(), {
|
|
4716
4716
|
width: s,
|
|
4717
4717
|
height: n,
|
|
@@ -4723,7 +4723,7 @@ function Nt(t) {
|
|
|
4723
4723
|
y: l
|
|
4724
4724
|
};
|
|
4725
4725
|
}
|
|
4726
|
-
const Y5 = /* @__PURE__ */
|
|
4726
|
+
const Y5 = /* @__PURE__ */ vt(0);
|
|
4727
4727
|
function ai(t) {
|
|
4728
4728
|
const e = Te(t);
|
|
4729
4729
|
return !Rs() || !e.visualViewport ? Y5 : {
|
|
@@ -4737,9 +4737,9 @@ function x5(t, e, a) {
|
|
|
4737
4737
|
function Ot(t, e, a, s) {
|
|
4738
4738
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4739
4739
|
const n = t.getBoundingClientRect(), o = Ns(t);
|
|
4740
|
-
let i =
|
|
4740
|
+
let i = vt(1);
|
|
4741
4741
|
e && (s ? et(s) && (i = Nt(s)) : i = Nt(t));
|
|
4742
|
-
const l = x5(o, a, s) ? ai(o) :
|
|
4742
|
+
const l = x5(o, a, s) ? ai(o) : vt(0);
|
|
4743
4743
|
let r = (n.left + l.x) / i.x, c = (n.top + l.y) / i.y, u = n.width / i.x, d = n.height / i.y;
|
|
4744
4744
|
if (o) {
|
|
4745
4745
|
const v = Te(o), m = s && et(s) ? Te(s) : s;
|
|
@@ -4768,9 +4768,9 @@ function K5(t) {
|
|
|
4768
4768
|
let i = {
|
|
4769
4769
|
scrollLeft: 0,
|
|
4770
4770
|
scrollTop: 0
|
|
4771
|
-
}, l =
|
|
4772
|
-
const r =
|
|
4773
|
-
if ((n || !n && s !== "fixed") && ((
|
|
4771
|
+
}, l = vt(1);
|
|
4772
|
+
const r = vt(0);
|
|
4773
|
+
if ((n || !n && s !== "fixed") && ((ft(a) !== "body" || wa(o)) && (i = as(a)), We(a))) {
|
|
4774
4774
|
const c = Ot(a);
|
|
4775
4775
|
l = Nt(a), r.x = c.x + a.clientLeft, r.y = c.y + a.clientTop;
|
|
4776
4776
|
}
|
|
@@ -4814,7 +4814,7 @@ function Q5(t, e) {
|
|
|
4814
4814
|
};
|
|
4815
4815
|
}
|
|
4816
4816
|
function J5(t, e) {
|
|
4817
|
-
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) :
|
|
4817
|
+
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) : vt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, c = s * o.y;
|
|
4818
4818
|
return {
|
|
4819
4819
|
width: i,
|
|
4820
4820
|
height: l,
|
|
@@ -4848,7 +4848,7 @@ function e7(t, e) {
|
|
|
4848
4848
|
const a = e.get(t);
|
|
4849
4849
|
if (a)
|
|
4850
4850
|
return a;
|
|
4851
|
-
let s = pa(t, [], !1).filter((l) => et(l) &&
|
|
4851
|
+
let s = pa(t, [], !1).filter((l) => et(l) && ft(l) !== "body"), n = null;
|
|
4852
4852
|
const o = je(t).position === "fixed";
|
|
4853
4853
|
let i = o ? Wt(t) : t;
|
|
4854
4854
|
for (; et(i) && !ts(i); ) {
|
|
@@ -4884,9 +4884,9 @@ function s7(t, e, a) {
|
|
|
4884
4884
|
scrollLeft: 0,
|
|
4885
4885
|
scrollTop: 0
|
|
4886
4886
|
};
|
|
4887
|
-
const r =
|
|
4887
|
+
const r = vt(0);
|
|
4888
4888
|
if (s || !s && !o)
|
|
4889
|
-
if ((
|
|
4889
|
+
if ((ft(e) !== "body" || wa(n)) && (l = as(e)), s) {
|
|
4890
4890
|
const c = Ot(e, !0, o, e);
|
|
4891
4891
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4892
4892
|
} else
|
|
@@ -4908,7 +4908,7 @@ function ii(t, e) {
|
|
|
4908
4908
|
let s = bn(t, e);
|
|
4909
4909
|
for (; s && z5(s) && je(s).position === "static"; )
|
|
4910
4910
|
s = bn(s, e);
|
|
4911
|
-
return s && (
|
|
4911
|
+
return s && (ft(s) === "html" || ft(s) === "body" && je(s).position === "static" && !js(s)) ? a : s || q5(t) || a;
|
|
4912
4912
|
}
|
|
4913
4913
|
const n7 = async function(t) {
|
|
4914
4914
|
let {
|
|
@@ -5215,7 +5215,7 @@ function g7(t, e, a) {
|
|
|
5215
5215
|
searchFilter: oe
|
|
5216
5216
|
} = Ee(t), ne = Lt().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, st = a.clearPointer, $a = a.focus, rs = a.deactivate, nt = a.close, ka = a.localize, it = x([]), Ue = x([]), Ie = x(!1), Re = x(null), Ye = x(ee.value && i.value === -1 ? 10 : i.value), Qt = A(() => r.value || c.value || !1), Sa = A(() => d.value !== void 0 ? d.value : v.value !== void 0 ? v.value : !0), Le = A(() => {
|
|
5217
5217
|
if (le.value) {
|
|
5218
|
-
let S =
|
|
5218
|
+
let S = bt.value || /* istanbul ignore next */
|
|
5219
5219
|
[], B = [];
|
|
5220
5220
|
return S.forEach((ue) => {
|
|
5221
5221
|
hs(ue[E.value]).forEach((ge) => {
|
|
@@ -5233,7 +5233,7 @@ function g7(t, e, a) {
|
|
|
5233
5233
|
}), ot = A(() => {
|
|
5234
5234
|
let S = Jt.value;
|
|
5235
5235
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5236
|
-
}),
|
|
5236
|
+
}), bt = A(() => {
|
|
5237
5237
|
if (!le.value)
|
|
5238
5238
|
return [];
|
|
5239
5239
|
let S = [], B = Ue.value || /* istanbul ignore next */
|
|
@@ -5244,7 +5244,7 @@ function g7(t, e, a) {
|
|
|
5244
5244
|
__CREATE__: !0
|
|
5245
5245
|
}), S.concat(B);
|
|
5246
5246
|
}), Aa = A(() => {
|
|
5247
|
-
let S = [...
|
|
5247
|
+
let S = [...bt.value].map((B) => ({ ...B }));
|
|
5248
5248
|
return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][E.value] = [...Pt.value, ...S[0][E.value]] : S = [{
|
|
5249
5249
|
[z.value]: " ",
|
|
5250
5250
|
[E.value]: [...Pt.value],
|
|
@@ -5261,8 +5261,8 @@ function g7(t, e, a) {
|
|
|
5261
5261
|
...B,
|
|
5262
5262
|
index: ue,
|
|
5263
5263
|
group: !0,
|
|
5264
|
-
[E.value]: fs(ge, !1).map((
|
|
5265
|
-
__VISIBLE__: fs(ge).map((
|
|
5264
|
+
[E.value]: fs(ge, !1).map(($t) => Object.assign({}, $t, B[y.value] ? { [y.value]: !0 } : {})),
|
|
5265
|
+
__VISIBLE__: fs(ge).map(($t) => Object.assign({}, $t, B[y.value] ? { [y.value]: !0 } : {}))
|
|
5266
5266
|
};
|
|
5267
5267
|
}));
|
|
5268
5268
|
}), cs = A(() => {
|
|
@@ -5275,10 +5275,10 @@ function g7(t, e, a) {
|
|
|
5275
5275
|
}
|
|
5276
5276
|
}), Ci = A(() => m !== void 0 && m.value !== void 0 ? m.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = A(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = A(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Pt = A(() => Qt.value === !1 || !Y.value ? [] : Oi(Y.value) !== -1 ? [] : [{
|
|
5277
5277
|
[L.value]: Y.value,
|
|
5278
|
-
[
|
|
5278
|
+
[wt.value[0]]: Y.value,
|
|
5279
5279
|
[u.value]: Y.value,
|
|
5280
5280
|
__CREATE__: !0
|
|
5281
|
-
}]),
|
|
5281
|
+
}]), wt = A(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), bi = A(() => {
|
|
5282
5282
|
switch (n.value) {
|
|
5283
5283
|
case "single":
|
|
5284
5284
|
return null;
|
|
@@ -5387,7 +5387,7 @@ function g7(t, e, a) {
|
|
|
5387
5387
|
Ke(S[L.value]) === void 0 && Qt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), Sa.value && Ii(S), he());
|
|
5388
5388
|
}, Ai = () => {
|
|
5389
5389
|
n.value !== "single" && Ht(ot.value.filter((S) => !S.disabled && !xe(S)));
|
|
5390
|
-
}, Mi = (S) => S.find((B) => !xe(B) && !B[y.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) =>
|
|
5390
|
+
}, Mi = (S) => S.find((B) => !xe(B) && !B[y.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
5391
5391
|
it.value.push(S);
|
|
5392
5392
|
}, Li = (S) => T.value ? S.filter(
|
|
5393
5393
|
(B) => Y.value ? B.__VISIBLE__.length : B[E.value].length
|
|
@@ -5395,18 +5395,18 @@ function g7(t, e, a) {
|
|
|
5395
5395
|
let ue = S;
|
|
5396
5396
|
if (Y.value && _.value) {
|
|
5397
5397
|
let ge = oe.value;
|
|
5398
|
-
ge || (ge = (
|
|
5399
|
-
let cn = ys(ka(
|
|
5398
|
+
ge || (ge = ($t, un, X4) => wt.value.some((Hi) => {
|
|
5399
|
+
let cn = ys(ka($t[Hi]), ae.value);
|
|
5400
5400
|
return V.value ? cn.startsWith(ys(un, ae.value)) : cn.indexOf(ys(un, ae.value)) !== -1;
|
|
5401
|
-
})), ue = ue.filter((
|
|
5401
|
+
})), ue = ue.filter(($t) => ge($t, Y.value, ne));
|
|
5402
5402
|
}
|
|
5403
5403
|
return l.value && B && (ue = ue.filter((ge) => !Ei(ge))), ue;
|
|
5404
5404
|
}, hs = (S) => {
|
|
5405
5405
|
let B = S;
|
|
5406
5406
|
return h7(B) && (B = Object.keys(B).map((ue) => {
|
|
5407
5407
|
let ge = B[ue];
|
|
5408
|
-
return { [L.value]: ue, [
|
|
5409
|
-
})), B = B.map((ue) => typeof ue == "object" ? ue : { [L.value]: ue, [
|
|
5408
|
+
return { [L.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
|
|
5409
|
+
})), B = B.map((ue) => typeof ue == "object" ? ue : { [L.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), B;
|
|
5410
5410
|
}, Ma = () => {
|
|
5411
5411
|
Fe(H.value) || (Z.value = Oa(H.value));
|
|
5412
5412
|
}, Ta = (S) => (Ie.value = !0, new Promise((B, ue) => {
|
|
@@ -5438,11 +5438,11 @@ function g7(t, e, a) {
|
|
|
5438
5438
|
}, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ke(S) || (F.value ? {
|
|
5439
5439
|
[u.value]: S,
|
|
5440
5440
|
[L.value]: S,
|
|
5441
|
-
[
|
|
5441
|
+
[wt.value[0]]: S
|
|
5442
5442
|
} : {}) : S.filter((B) => !!Ke(B) || F.value).map((B) => Ke(B) || {
|
|
5443
5443
|
[u.value]: B,
|
|
5444
5444
|
[L.value]: B,
|
|
5445
|
-
[
|
|
5445
|
+
[wt.value[0]]: B
|
|
5446
5446
|
}), rn = () => {
|
|
5447
5447
|
Re.value = ce(Y, (S) => {
|
|
5448
5448
|
S.length < h.value || !S && h.value !== 0 || (Ie.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
@@ -5487,8 +5487,8 @@ function g7(t, e, a) {
|
|
|
5487
5487
|
multipleLabelText: Ci,
|
|
5488
5488
|
eo: Le,
|
|
5489
5489
|
extendedOptions: Le,
|
|
5490
|
-
eg:
|
|
5491
|
-
extendedGroups:
|
|
5490
|
+
eg: bt,
|
|
5491
|
+
extendedGroups: bt,
|
|
5492
5492
|
fg: us,
|
|
5493
5493
|
filteredGroups: us,
|
|
5494
5494
|
noOptions: _i,
|
|
@@ -5625,7 +5625,7 @@ function Us(t) {
|
|
|
5625
5625
|
var e = Oe(t).ShadowRoot;
|
|
5626
5626
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5627
5627
|
}
|
|
5628
|
-
var
|
|
5628
|
+
var At = Math.max, Wa = Math.min, zt = Math.round;
|
|
5629
5629
|
function ks() {
|
|
5630
5630
|
var t = navigator.userAgentData;
|
|
5631
5631
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5670,14 +5670,14 @@ function y7(t) {
|
|
|
5670
5670
|
function ze(t) {
|
|
5671
5671
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5672
5672
|
}
|
|
5673
|
-
function
|
|
5673
|
+
function _t(t) {
|
|
5674
5674
|
return ((Et(t) ? t.ownerDocument : (
|
|
5675
5675
|
// $FlowFixMe[prop-missing]
|
|
5676
5676
|
t.document
|
|
5677
5677
|
)) || window.document).documentElement;
|
|
5678
5678
|
}
|
|
5679
5679
|
function Zs(t) {
|
|
5680
|
-
return qt(
|
|
5680
|
+
return qt(_t(t)).left + Fs(t).scrollLeft;
|
|
5681
5681
|
}
|
|
5682
5682
|
function tt(t) {
|
|
5683
5683
|
return Oe(t).getComputedStyle(t);
|
|
@@ -5692,7 +5692,7 @@ function b7(t) {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
function w7(t, e, a) {
|
|
5694
5694
|
a === void 0 && (a = !1);
|
|
5695
|
-
var s = Be(e), n = Be(e) && b7(e), o =
|
|
5695
|
+
var s = Be(e), n = Be(e) && b7(e), o = _t(e), i = qt(t, n, a), l = {
|
|
5696
5696
|
scrollLeft: 0,
|
|
5697
5697
|
scrollTop: 0
|
|
5698
5698
|
}, r = {
|
|
@@ -5725,7 +5725,7 @@ function ss(t) {
|
|
|
5725
5725
|
t.parentNode || // DOM Element detected
|
|
5726
5726
|
(Us(t) ? t.host : null) || // ShadowRoot detected
|
|
5727
5727
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5728
|
-
|
|
5728
|
+
_t(t)
|
|
5729
5729
|
);
|
|
5730
5730
|
}
|
|
5731
5731
|
function ri(t) {
|
|
@@ -5768,7 +5768,7 @@ function ns(t) {
|
|
|
5768
5768
|
a = wn(a);
|
|
5769
5769
|
return a && (ze(a) === "html" || ze(a) === "body" && tt(a).position === "static") ? e : a || k7(t) || e;
|
|
5770
5770
|
}
|
|
5771
|
-
var Ne = "top", qe = "bottom",
|
|
5771
|
+
var Ne = "top", qe = "bottom", ht = "right", Ge = "left", zs = "auto", is = [Ne, qe, ht, Ge], Yt = "start", va = "end", S7 = "clippingParents", ui = "viewport", ia = "popper", A7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5772
5772
|
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
5773
5773
|
}, []), M7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5774
5774
|
return t.concat([e, e + "-" + Yt, e + "-" + va]);
|
|
@@ -5823,7 +5823,7 @@ function U7(t) {
|
|
|
5823
5823
|
});
|
|
5824
5824
|
}
|
|
5825
5825
|
function F7(t, e) {
|
|
5826
|
-
var a = Oe(t), s =
|
|
5826
|
+
var a = Oe(t), s = _t(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
|
|
5827
5827
|
if (n) {
|
|
5828
5828
|
o = n.width, i = n.height;
|
|
5829
5829
|
var c = oi();
|
|
@@ -5837,8 +5837,8 @@ function F7(t, e) {
|
|
|
5837
5837
|
};
|
|
5838
5838
|
}
|
|
5839
5839
|
function Z7(t) {
|
|
5840
|
-
var e, a =
|
|
5841
|
-
return tt(n || a).direction === "rtl" && (l +=
|
|
5840
|
+
var e, a = _t(t), s = Fs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = At(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = At(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), l = -s.scrollLeft + Zs(t), r = -s.scrollTop;
|
|
5841
|
+
return tt(n || a).direction === "rtl" && (l += At(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5842
5842
|
width: o,
|
|
5843
5843
|
height: i,
|
|
5844
5844
|
x: l,
|
|
@@ -5872,7 +5872,7 @@ function z7(t, e) {
|
|
|
5872
5872
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5873
5873
|
}
|
|
5874
5874
|
function kn(t, e, a) {
|
|
5875
|
-
return e === ui ? Ss(F7(t, a)) : Et(e) ? z7(e, a) : Ss(Z7(
|
|
5875
|
+
return e === ui ? Ss(F7(t, a)) : Et(e) ? z7(e, a) : Ss(Z7(_t(t)));
|
|
5876
5876
|
}
|
|
5877
5877
|
function q7(t) {
|
|
5878
5878
|
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
@@ -5883,7 +5883,7 @@ function q7(t) {
|
|
|
5883
5883
|
function Y7(t, e, a, s) {
|
|
5884
5884
|
var n = e === "clippingParents" ? q7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], l = o.reduce(function(r, c) {
|
|
5885
5885
|
var u = kn(t, c, s);
|
|
5886
|
-
return r.top =
|
|
5886
|
+
return r.top = At(u.top, r.top), r.right = Wa(u.right, r.right), r.bottom = Wa(u.bottom, r.bottom), r.left = At(u.left, r.left), r;
|
|
5887
5887
|
}, kn(t, i, s));
|
|
5888
5888
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
5889
5889
|
}
|
|
@@ -5911,7 +5911,7 @@ function di(t) {
|
|
|
5911
5911
|
y: e.y + e.height
|
|
5912
5912
|
};
|
|
5913
5913
|
break;
|
|
5914
|
-
case
|
|
5914
|
+
case ht:
|
|
5915
5915
|
r = {
|
|
5916
5916
|
x: e.x + e.width,
|
|
5917
5917
|
y: l
|
|
@@ -5961,7 +5961,7 @@ function K7(t, e) {
|
|
|
5961
5961
|
}
|
|
5962
5962
|
function qs(t, e) {
|
|
5963
5963
|
e === void 0 && (e = {});
|
|
5964
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, m = a.altBoundary, w = m === void 0 ? !1 : m, b = a.padding, g = b === void 0 ? 0 : b, $ = x7(typeof g != "number" ? g : K7(g, is)), h = v === ia ? A7 : ia, _ = t.rects.popper, P = t.elements[w ? h : v], I = Y7(Et(P) ? P : P.contextElement ||
|
|
5964
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, m = a.altBoundary, w = m === void 0 ? !1 : m, b = a.padding, g = b === void 0 ? 0 : b, $ = x7(typeof g != "number" ? g : K7(g, is)), h = v === ia ? A7 : ia, _ = t.rects.popper, P = t.elements[w ? h : v], I = Y7(Et(P) ? P : P.contextElement || _t(t.elements.popper), r, u, i), L = qt(t.elements.reference), F = di({
|
|
5965
5965
|
reference: L,
|
|
5966
5966
|
element: _,
|
|
5967
5967
|
strategy: "absolute",
|
|
@@ -5975,7 +5975,7 @@ function qs(t, e) {
|
|
|
5975
5975
|
if (v === ia && ae) {
|
|
5976
5976
|
var j = ae[n];
|
|
5977
5977
|
Object.keys(J).forEach(function(G) {
|
|
5978
|
-
var le = [
|
|
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
|
}
|
|
@@ -6154,7 +6154,7 @@ function Mn(t) {
|
|
|
6154
6154
|
var $ = i.hasOwnProperty("x"), h = i.hasOwnProperty("y"), _ = Ge, P = Ne, I = window;
|
|
6155
6155
|
if (c) {
|
|
6156
6156
|
var L = ns(a), F = "clientHeight", z = "clientWidth";
|
|
6157
|
-
if (L === Oe(a) && (L =
|
|
6157
|
+
if (L === Oe(a) && (L = _t(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ht) && o === va) {
|
|
6158
6158
|
P = qe;
|
|
6159
6159
|
var K = d && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6160
6160
|
// $FlowFixMe[prop-missing]
|
|
@@ -6163,7 +6163,7 @@ function Mn(t) {
|
|
|
6163
6163
|
b -= K - s.height, b *= r ? 1 : -1;
|
|
6164
6164
|
}
|
|
6165
6165
|
if (n === Ge || (n === Ne || n === qe) && o === va) {
|
|
6166
|
-
_ =
|
|
6166
|
+
_ = ht;
|
|
6167
6167
|
var J = d && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
6169
6169
|
L[z]
|
|
@@ -6264,7 +6264,7 @@ function cp(t) {
|
|
|
6264
6264
|
return t === "x" ? "y" : "x";
|
|
6265
6265
|
}
|
|
6266
6266
|
function Va(t, e, a) {
|
|
6267
|
-
return
|
|
6267
|
+
return At(t, Wa(e, a));
|
|
6268
6268
|
}
|
|
6269
6269
|
function dp(t, e, a) {
|
|
6270
6270
|
var s = Va(t, e, a);
|
|
@@ -6290,14 +6290,14 @@ function pp(t) {
|
|
|
6290
6290
|
};
|
|
6291
6291
|
if (L) {
|
|
6292
6292
|
if (o) {
|
|
6293
|
-
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe :
|
|
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 - 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 ?
|
|
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 :
|
|
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;
|
|
@@ -6374,7 +6374,7 @@ function Cp(t) {
|
|
|
6374
6374
|
rootBoundary: d,
|
|
6375
6375
|
altBoundary: v,
|
|
6376
6376
|
padding: c
|
|
6377
|
-
}), E = le ? G ?
|
|
6377
|
+
}), E = le ? G ? ht : Ge : G ? qe : Ne;
|
|
6378
6378
|
I[se] > L[se] && (E = Da(E));
|
|
6379
6379
|
var T = Da(E), k = [];
|
|
6380
6380
|
if (o && k.push(ee[j] <= 0), l && k.push(ee[E] <= 0, ee[T] <= 0), k.every(function(ne) {
|
|
@@ -7721,7 +7721,7 @@ const Se = /* @__PURE__ */ q({
|
|
|
7721
7721
|
}
|
|
7722
7722
|
});
|
|
7723
7723
|
var On;
|
|
7724
|
-
function
|
|
7724
|
+
function yt() {
|
|
7725
7725
|
const t = Xp(), e = t.appContext.config.globalProperties;
|
|
7726
7726
|
return {
|
|
7727
7727
|
i18next: e.$i18next,
|
|
@@ -7783,7 +7783,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7783
7783
|
},
|
|
7784
7784
|
emits: ["add", "delete", "update"],
|
|
7785
7785
|
setup(t, { emit: e }) {
|
|
7786
|
-
const a = t, { t: s } =
|
|
7786
|
+
const a = t, { t: s } = yt();
|
|
7787
7787
|
ce(() => a.tasks, (d, v) => {
|
|
7788
7788
|
Xe(d, v);
|
|
7789
7789
|
});
|
|
@@ -8062,7 +8062,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8062
8062
|
f("span", mv, W(c.value), 1),
|
|
8063
8063
|
f("div", gv, [
|
|
8064
8064
|
f("div", Cv, [
|
|
8065
|
-
(p(), D(
|
|
8065
|
+
(p(), D(mt(u.value), {
|
|
8066
8066
|
ref_key: "commentContent",
|
|
8067
8067
|
ref: n,
|
|
8068
8068
|
class: "ao-comment__content",
|
|
@@ -8880,7 +8880,7 @@ const Tf = /* @__PURE__ */ q({
|
|
|
8880
8880
|
e("update:rule", { ...a.rule, durationUnit: $ });
|
|
8881
8881
|
}
|
|
8882
8882
|
}), g = A(() => Object.values(K2));
|
|
8883
|
-
return ($, h) => (p(), D(
|
|
8883
|
+
return ($, h) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
|
|
8884
8884
|
default: N(() => [
|
|
8885
8885
|
M(Q(ut), {
|
|
8886
8886
|
modelValue: n.value,
|
|
@@ -8966,7 +8966,7 @@ const Of = { class: "ao-template-rules__body" }, Ef = { class: "ao-template-rule
|
|
|
8966
8966
|
onClose: () => s(i.id)
|
|
8967
8967
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8968
8968
|
]),
|
|
8969
|
-
M(
|
|
8969
|
+
M(Ct, {
|
|
8970
8970
|
label: n.$t("template.rules.add"),
|
|
8971
8971
|
"icon-name": "Add",
|
|
8972
8972
|
onClick: a
|
|
@@ -8977,7 +8977,7 @@ const Of = { class: "ao-template-rules__body" }, Ef = { class: "ao-template-rule
|
|
|
8977
8977
|
}));
|
|
8978
8978
|
}
|
|
8979
8979
|
});
|
|
8980
|
-
function
|
|
8980
|
+
function Mt(t, e, a) {
|
|
8981
8981
|
const s = t.length, n = t.at(-1), o = n ? we.LexoRank.parse(n.rank).genNext() : we.LexoRank.middle();
|
|
8982
8982
|
return {
|
|
8983
8983
|
name: a(`template.defaultName.${e}`, { idx: s + 1 }),
|
|
@@ -9000,7 +9000,7 @@ const Lf = {
|
|
|
9000
9000
|
},
|
|
9001
9001
|
emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
|
|
9002
9002
|
setup(t, { emit: e }) {
|
|
9003
|
-
const a = t, { t: s } =
|
|
9003
|
+
const a = t, { t: s } = yt(), n = A(
|
|
9004
9004
|
() => {
|
|
9005
9005
|
var E;
|
|
9006
9006
|
return (E = a.templates) == null ? void 0 : E.find((T) => T.id === a.templateId);
|
|
@@ -9072,7 +9072,7 @@ const Lf = {
|
|
|
9072
9072
|
}), v = () => {
|
|
9073
9073
|
if (!n.value)
|
|
9074
9074
|
return;
|
|
9075
|
-
const { name: E, rank: T } =
|
|
9075
|
+
const { name: E, rank: T } = Mt(
|
|
9076
9076
|
n.value.phases,
|
|
9077
9077
|
"phase",
|
|
9078
9078
|
s
|
|
@@ -9112,7 +9112,7 @@ const Lf = {
|
|
|
9112
9112
|
}, $ = (E) => {
|
|
9113
9113
|
if (!i.value)
|
|
9114
9114
|
return;
|
|
9115
|
-
const { name: T, rank: k } =
|
|
9115
|
+
const { name: T, rank: k } = Mt(
|
|
9116
9116
|
i.value.milestones,
|
|
9117
9117
|
"milestone",
|
|
9118
9118
|
s
|
|
@@ -9148,7 +9148,7 @@ const Lf = {
|
|
|
9148
9148
|
const { milestoneId: T } = E;
|
|
9149
9149
|
if (!l.value)
|
|
9150
9150
|
return;
|
|
9151
|
-
const { name: k, rank: R } =
|
|
9151
|
+
const { name: k, rank: R } = Mt(
|
|
9152
9152
|
l.value.activities,
|
|
9153
9153
|
"activity",
|
|
9154
9154
|
s
|
|
@@ -9249,7 +9249,7 @@ const Lf = {
|
|
|
9249
9249
|
f("div", Pf, [
|
|
9250
9250
|
f("ol", Hf, [
|
|
9251
9251
|
f("li", Vf, [
|
|
9252
|
-
M(Q(
|
|
9252
|
+
M(Q(gt), {
|
|
9253
9253
|
"model-value": n.value.phases,
|
|
9254
9254
|
class: "ao-templates__list",
|
|
9255
9255
|
"item-key": "id",
|
|
@@ -9284,7 +9284,7 @@ const Lf = {
|
|
|
9284
9284
|
}),
|
|
9285
9285
|
footer: N(() => [
|
|
9286
9286
|
f("div", Df, [
|
|
9287
|
-
M(
|
|
9287
|
+
M(Ct, {
|
|
9288
9288
|
"icon-name": "AddBoxOutlineRounded",
|
|
9289
9289
|
label: E.$t("template.phases.add"),
|
|
9290
9290
|
onClick: v
|
|
@@ -9366,10 +9366,10 @@ const Lf = {
|
|
|
9366
9366
|
};
|
|
9367
9367
|
}
|
|
9368
9368
|
});
|
|
9369
|
-
const Nf = {
|
|
9369
|
+
const Nf = { class: "ao-card__content" }, Uf = {
|
|
9370
9370
|
key: 0,
|
|
9371
9371
|
class: "ao-card__header"
|
|
9372
|
-
},
|
|
9372
|
+
}, Ff = { class: "ao-card__body" }, Zf = {
|
|
9373
9373
|
key: 1,
|
|
9374
9374
|
class: "ao-card__footer"
|
|
9375
9375
|
}, os = /* @__PURE__ */ q({
|
|
@@ -9378,28 +9378,34 @@ const Nf = {
|
|
|
9378
9378
|
isClickable: { type: Boolean },
|
|
9379
9379
|
tagName: { default: "div" },
|
|
9380
9380
|
isSelected: { type: Boolean },
|
|
9381
|
-
|
|
9381
|
+
color: {}
|
|
9382
9382
|
},
|
|
9383
9383
|
setup(t) {
|
|
9384
|
-
return (e, a) => (p(), D(
|
|
9384
|
+
return (e, a) => (p(), D(mt(e.tagName), {
|
|
9385
9385
|
class: X([
|
|
9386
9386
|
"ao-card",
|
|
9387
9387
|
{
|
|
9388
9388
|
"ao-card--clickable": e.isClickable
|
|
9389
9389
|
}
|
|
9390
9390
|
]),
|
|
9391
|
-
style:
|
|
9391
|
+
style: pt(e.isSelected ? { borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
|
|
9392
9392
|
}, {
|
|
9393
9393
|
default: N(() => [
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9394
|
+
f("div", {
|
|
9395
|
+
class: "ao-card__left-border",
|
|
9396
|
+
style: pt({ backgroundColor: e.color })
|
|
9397
|
+
}, null, 4),
|
|
9398
|
+
f("div", Nf, [
|
|
9399
|
+
e.$slots.header ? (p(), C("header", Uf, [
|
|
9400
|
+
te(e.$slots, "header")
|
|
9401
|
+
])) : O("", !0),
|
|
9402
|
+
f("div", Ff, [
|
|
9403
|
+
te(e.$slots, "default")
|
|
9404
|
+
]),
|
|
9405
|
+
e.$slots.footer ? (p(), C("footer", Zf, [
|
|
9406
|
+
te(e.$slots, "footer")
|
|
9407
|
+
])) : O("", !0)
|
|
9408
|
+
])
|
|
9403
9409
|
]),
|
|
9404
9410
|
_: 3
|
|
9405
9411
|
}, 8, ["class", "style"]));
|
|
@@ -9421,7 +9427,7 @@ const ls = /* @__PURE__ */ q({
|
|
|
9421
9427
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9422
9428
|
key: o,
|
|
9423
9429
|
class: X(["ao-progress__progress"]),
|
|
9424
|
-
style:
|
|
9430
|
+
style: pt({
|
|
9425
9431
|
width: `${o * 100}%`,
|
|
9426
9432
|
"--ao-progress-color": s.color || "var(--ao-color-primary-base)"
|
|
9427
9433
|
})
|
|
@@ -9429,16 +9435,16 @@ const ls = /* @__PURE__ */ q({
|
|
|
9429
9435
|
], 2));
|
|
9430
9436
|
}
|
|
9431
9437
|
});
|
|
9432
|
-
const
|
|
9438
|
+
const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-project-item__title-line" }, qf = {
|
|
9433
9439
|
key: 0,
|
|
9434
9440
|
class: "ao-card-project-item-phase__estimation"
|
|
9435
|
-
},
|
|
9441
|
+
}, Yf = { class: "ao-card-project-phase__footer" }, xf = {
|
|
9436
9442
|
key: 0,
|
|
9437
9443
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9438
|
-
},
|
|
9444
|
+
}, Kf = { class: "ao-card-project-phase__subitem" }, Gf = { class: "ao-card-project-phase__subitem" }, Xf = {
|
|
9439
9445
|
key: 0,
|
|
9440
9446
|
class: "ao-card-project-phase__secondary"
|
|
9441
|
-
},
|
|
9447
|
+
}, Qf = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Jf = /* @__PURE__ */ q({
|
|
9442
9448
|
__name: "AoCardProjectItemPhase",
|
|
9443
9449
|
props: {
|
|
9444
9450
|
id: {},
|
|
@@ -9478,7 +9484,7 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9478
9484
|
"is-clickable": c.isEditable
|
|
9479
9485
|
}, fa({
|
|
9480
9486
|
default: N(() => [
|
|
9481
|
-
f("div",
|
|
9487
|
+
f("div", zf, [
|
|
9482
9488
|
M(be, {
|
|
9483
9489
|
id: c.id,
|
|
9484
9490
|
class: "ao-card-project-phase__title",
|
|
@@ -9487,25 +9493,25 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9487
9493
|
"is-editable": c.isEditable,
|
|
9488
9494
|
"onUpdate:title": s
|
|
9489
9495
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9490
|
-
n.value ? (p(), C("span",
|
|
9496
|
+
n.value ? (p(), C("span", qf, " (" + W(n.value) + ")", 1)) : O("", !0)
|
|
9491
9497
|
])
|
|
9492
9498
|
]),
|
|
9493
9499
|
footer: N(() => [
|
|
9494
|
-
f("div",
|
|
9495
|
-
o.value ? (p(), C("div",
|
|
9496
|
-
f("div",
|
|
9500
|
+
f("div", Yf, [
|
|
9501
|
+
o.value ? (p(), C("div", xf, [
|
|
9502
|
+
f("div", Kf, [
|
|
9497
9503
|
M(pe, {
|
|
9498
9504
|
name: "MountainFlagOutlineRounded",
|
|
9499
9505
|
size: "sm"
|
|
9500
9506
|
}),
|
|
9501
|
-
f("span",
|
|
9507
|
+
f("span", Gf, W(i.value) + " / " + W(o.value), 1)
|
|
9502
9508
|
]),
|
|
9503
9509
|
M(ls, {
|
|
9504
9510
|
percentages: l.value,
|
|
9505
9511
|
class: "ao-card-project-phase__progress",
|
|
9506
9512
|
color: c.color
|
|
9507
9513
|
}, null, 8, ["percentages", "color"]),
|
|
9508
|
-
c.$slots.secondary ? (p(), C("div",
|
|
9514
|
+
c.$slots.secondary ? (p(), C("div", Xf, [
|
|
9509
9515
|
te(c.$slots, "secondary")
|
|
9510
9516
|
])) : O("", !0)
|
|
9511
9517
|
])) : O("", !0),
|
|
@@ -9525,7 +9531,7 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9525
9531
|
{ lazy: !0 }
|
|
9526
9532
|
]
|
|
9527
9533
|
]) : O("", !0),
|
|
9528
|
-
f("span",
|
|
9534
|
+
f("span", Qf, W(Q(Qa)(c.deadline)), 1)
|
|
9529
9535
|
], 2)
|
|
9530
9536
|
])
|
|
9531
9537
|
]),
|
|
@@ -9534,7 +9540,7 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9534
9540
|
c.isEditable ? {
|
|
9535
9541
|
name: "header",
|
|
9536
9542
|
fn: N(() => [
|
|
9537
|
-
f("div",
|
|
9543
|
+
f("div", Wf, [
|
|
9538
9544
|
M(re, {
|
|
9539
9545
|
class: "ao-card-project-phase__archive",
|
|
9540
9546
|
color: "primary",
|
|
@@ -9556,7 +9562,7 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9556
9562
|
]), 1032, ["is-clickable"]));
|
|
9557
9563
|
}
|
|
9558
9564
|
});
|
|
9559
|
-
const
|
|
9565
|
+
const eh = /* @__PURE__ */ q({
|
|
9560
9566
|
__name: "AoBadge",
|
|
9561
9567
|
props: {
|
|
9562
9568
|
color: {}
|
|
@@ -9564,26 +9570,26 @@ const Jf = /* @__PURE__ */ q({
|
|
|
9564
9570
|
setup(t) {
|
|
9565
9571
|
return (e, a) => (p(), C("span", {
|
|
9566
9572
|
class: "aoBadge",
|
|
9567
|
-
style:
|
|
9573
|
+
style: pt({ backgroundColor: e.color })
|
|
9568
9574
|
}, null, 4));
|
|
9569
9575
|
}
|
|
9570
9576
|
});
|
|
9571
|
-
const
|
|
9577
|
+
const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-title-with-badge-wrapper" }, sh = { class: "ao-card-project-item__title-line" }, nh = {
|
|
9572
9578
|
key: 0,
|
|
9573
9579
|
class: "ao-card-project-item-milestone__estimation"
|
|
9574
|
-
},
|
|
9580
|
+
}, ih = {
|
|
9575
9581
|
key: 0,
|
|
9576
9582
|
class: "ao-card-project-milestone__archive"
|
|
9577
|
-
},
|
|
9583
|
+
}, oh = { class: "ao-card-project-milestone__activities" }, lh = { class: "ao-card-project-milestone__activities-row" }, rh = { class: "ao-card-project-milestone__subitem" }, uh = { class: "ao-card-project-milestone__subitem" }, ch = {
|
|
9578
9584
|
key: 1,
|
|
9579
9585
|
class: "ao-card-project-milestone__secondary"
|
|
9580
|
-
},
|
|
9586
|
+
}, dh = { class: "ao-card-project-milestone__footer" }, ph = {
|
|
9581
9587
|
key: 1,
|
|
9582
9588
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9583
|
-
},
|
|
9589
|
+
}, vh = { class: "ao-field__label" }, fh = {
|
|
9584
9590
|
key: 2,
|
|
9585
9591
|
class: "ao-card-project-milestone__assignee"
|
|
9586
|
-
},
|
|
9592
|
+
}, hh = /* @__PURE__ */ q({
|
|
9587
9593
|
__name: "AoCardProjectItemMilestone",
|
|
9588
9594
|
props: {
|
|
9589
9595
|
id: {},
|
|
@@ -9627,12 +9633,12 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9627
9633
|
borderColor: r.phaseColor
|
|
9628
9634
|
}, {
|
|
9629
9635
|
default: N(() => [
|
|
9630
|
-
f("div",
|
|
9631
|
-
f("div",
|
|
9632
|
-
M(
|
|
9636
|
+
f("div", th, [
|
|
9637
|
+
f("div", ah, [
|
|
9638
|
+
M(eh, {
|
|
9633
9639
|
color: r.color || ""
|
|
9634
9640
|
}, null, 8, ["color"]),
|
|
9635
|
-
f("div",
|
|
9641
|
+
f("div", sh, [
|
|
9636
9642
|
M(be, {
|
|
9637
9643
|
id: r.id,
|
|
9638
9644
|
title: r.name || "",
|
|
@@ -9641,10 +9647,10 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9641
9647
|
class: "ao-card-project-milestone__title",
|
|
9642
9648
|
"onUpdate:title": l
|
|
9643
9649
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9644
|
-
s.value ? (p(), C("span",
|
|
9650
|
+
s.value ? (p(), C("span", nh, " (" + W(s.value) + ")", 1)) : O("", !0)
|
|
9645
9651
|
])
|
|
9646
9652
|
]),
|
|
9647
|
-
!r.readonly && r.isEditable ? (p(), C("div",
|
|
9653
|
+
!r.readonly && r.isEditable ? (p(), C("div", ih, [
|
|
9648
9654
|
M(re, {
|
|
9649
9655
|
color: r.isSelected ? void 0 : "primary",
|
|
9650
9656
|
variant: "ghost",
|
|
@@ -9660,15 +9666,15 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9660
9666
|
}, null, 8, ["color", "label"])
|
|
9661
9667
|
])) : O("", !0)
|
|
9662
9668
|
]),
|
|
9663
|
-
f("div",
|
|
9664
|
-
f("div",
|
|
9669
|
+
f("div", oh, [
|
|
9670
|
+
f("div", lh, [
|
|
9665
9671
|
n.value ? (p(), C(fe, { key: 0 }, [
|
|
9666
|
-
f("div",
|
|
9672
|
+
f("div", rh, [
|
|
9667
9673
|
M(pe, {
|
|
9668
9674
|
name: "SelectCheckBox",
|
|
9669
9675
|
size: "sm"
|
|
9670
9676
|
}),
|
|
9671
|
-
f("span",
|
|
9677
|
+
f("span", uh, W(o.value) + " / " + W(n.value), 1)
|
|
9672
9678
|
]),
|
|
9673
9679
|
M(ls, {
|
|
9674
9680
|
percentages: i.value,
|
|
@@ -9676,14 +9682,14 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9676
9682
|
class: "ao-card-project-milestone__progress"
|
|
9677
9683
|
}, null, 8, ["percentages", "color"])
|
|
9678
9684
|
], 64)) : O("", !0),
|
|
9679
|
-
r.$slots.secondary ? (p(), C("div",
|
|
9685
|
+
r.$slots.secondary ? (p(), C("div", ch, [
|
|
9680
9686
|
te(r.$slots, "secondary")
|
|
9681
9687
|
])) : O("", !0)
|
|
9682
9688
|
])
|
|
9683
9689
|
])
|
|
9684
9690
|
]),
|
|
9685
9691
|
footer: N(() => [
|
|
9686
|
-
f("div",
|
|
9692
|
+
f("div", dh, [
|
|
9687
9693
|
r.important ? (p(), D(pe, {
|
|
9688
9694
|
key: 0,
|
|
9689
9695
|
name: "FlagRounded",
|
|
@@ -9692,10 +9698,10 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9692
9698
|
),
|
|
9693
9699
|
size: "sm"
|
|
9694
9700
|
}, null, 8, ["class"])) : O("", !0),
|
|
9695
|
-
r.deadline ? (p(), C("label",
|
|
9696
|
-
f("span",
|
|
9701
|
+
r.deadline ? (p(), C("label", ph, [
|
|
9702
|
+
f("span", vh, W(Q(Qa)(r.deadline)), 1)
|
|
9697
9703
|
])) : O("", !0),
|
|
9698
|
-
r.assignee ? (p(), C("div",
|
|
9704
|
+
r.assignee ? (p(), C("div", fh, [
|
|
9699
9705
|
M(Je, {
|
|
9700
9706
|
"user-name": Q(Kn)(r.assignee),
|
|
9701
9707
|
"avatar-url": r.assignee.avatarUrl,
|
|
@@ -9714,10 +9720,10 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9714
9720
|
* (c) 2023
|
|
9715
9721
|
* @license MIT
|
|
9716
9722
|
*/
|
|
9717
|
-
function
|
|
9723
|
+
function kt(t) {
|
|
9718
9724
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
9719
|
-
/#/.test(t) ? e =
|
|
9720
|
-
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } =
|
|
9725
|
+
/#/.test(t) ? e = gh(t) : /rgb/.test(t) ? e = En(t) : typeof t == "string" ? e = En(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
9726
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } = Ch(e);
|
|
9721
9727
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: l, v: r };
|
|
9722
9728
|
}
|
|
9723
9729
|
function xs(t) {
|
|
@@ -9728,11 +9734,11 @@ function Ms(t, e, a, s, n, o) {
|
|
|
9728
9734
|
const i = t === "l", l = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
9729
9735
|
l.addColorStop(0.01, n), l.addColorStop(0.99, o), e.fillStyle = l, e.fillRect(0, 0, a, s);
|
|
9730
9736
|
}
|
|
9731
|
-
function
|
|
9737
|
+
function mh({ r: t, g: e, b: a }, s) {
|
|
9732
9738
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
9733
9739
|
return s ? o.toUpperCase() : o;
|
|
9734
9740
|
}
|
|
9735
|
-
function
|
|
9741
|
+
function gh(t) {
|
|
9736
9742
|
t = t.slice(1);
|
|
9737
9743
|
const e = (a) => parseInt(a, 16) || 0;
|
|
9738
9744
|
return {
|
|
@@ -9749,7 +9755,7 @@ function En(t) {
|
|
|
9749
9755
|
a: Number(t[3] ? t[3] : 1)
|
|
9750
9756
|
}) : t;
|
|
9751
9757
|
}
|
|
9752
|
-
function
|
|
9758
|
+
function Ch({ r: t, g: e, b: a }) {
|
|
9753
9759
|
t = t / 255, e = e / 255, a = a / 255;
|
|
9754
9760
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
9755
9761
|
let i = 0;
|
|
@@ -9816,8 +9822,8 @@ var Ks = q({
|
|
|
9816
9822
|
}
|
|
9817
9823
|
}
|
|
9818
9824
|
});
|
|
9819
|
-
const
|
|
9820
|
-
function
|
|
9825
|
+
const _h = { ref: "canvasSaturation" };
|
|
9826
|
+
function yh(t, e, a, s, n, o) {
|
|
9821
9827
|
return p(), D(
|
|
9822
9828
|
"div",
|
|
9823
9829
|
{
|
|
@@ -9827,7 +9833,7 @@ function _h(t, e, a, s, n, o) {
|
|
|
9827
9833
|
[
|
|
9828
9834
|
M(
|
|
9829
9835
|
"canvas",
|
|
9830
|
-
|
|
9836
|
+
_h,
|
|
9831
9837
|
null,
|
|
9832
9838
|
512
|
|
9833
9839
|
/* NEED_PATCH */
|
|
@@ -9847,7 +9853,7 @@ function _h(t, e, a, s, n, o) {
|
|
|
9847
9853
|
/* HYDRATE_EVENTS */
|
|
9848
9854
|
);
|
|
9849
9855
|
}
|
|
9850
|
-
Ks.render =
|
|
9856
|
+
Ks.render = yh;
|
|
9851
9857
|
Ks.__file = "src/color/Saturation.vue";
|
|
9852
9858
|
var Gs = q({
|
|
9853
9859
|
props: {
|
|
@@ -9902,8 +9908,8 @@ var Gs = q({
|
|
|
9902
9908
|
}
|
|
9903
9909
|
}
|
|
9904
9910
|
});
|
|
9905
|
-
const
|
|
9906
|
-
function
|
|
9911
|
+
const bh = { ref: "canvasHue" };
|
|
9912
|
+
function wh(t, e, a, s, n, o) {
|
|
9907
9913
|
return p(), D(
|
|
9908
9914
|
"div",
|
|
9909
9915
|
{
|
|
@@ -9913,7 +9919,7 @@ function bh(t, e, a, s, n, o) {
|
|
|
9913
9919
|
[
|
|
9914
9920
|
M(
|
|
9915
9921
|
"canvas",
|
|
9916
|
-
|
|
9922
|
+
bh,
|
|
9917
9923
|
null,
|
|
9918
9924
|
512
|
|
9919
9925
|
/* NEED_PATCH */
|
|
@@ -9933,7 +9939,7 @@ function bh(t, e, a, s, n, o) {
|
|
|
9933
9939
|
/* HYDRATE_EVENTS */
|
|
9934
9940
|
);
|
|
9935
9941
|
}
|
|
9936
|
-
Gs.render =
|
|
9942
|
+
Gs.render = wh;
|
|
9937
9943
|
Gs.__file = "src/color/Hue.vue";
|
|
9938
9944
|
var Xs = q({
|
|
9939
9945
|
props: {
|
|
@@ -9997,8 +10003,8 @@ var Xs = q({
|
|
|
9997
10003
|
}
|
|
9998
10004
|
}
|
|
9999
10005
|
});
|
|
10000
|
-
const
|
|
10001
|
-
function
|
|
10006
|
+
const $h = { ref: "canvasAlpha" };
|
|
10007
|
+
function kh(t, e, a, s, n, o) {
|
|
10002
10008
|
return p(), D(
|
|
10003
10009
|
"div",
|
|
10004
10010
|
{
|
|
@@ -10008,7 +10014,7 @@ function $h(t, e, a, s, n, o) {
|
|
|
10008
10014
|
[
|
|
10009
10015
|
M(
|
|
10010
10016
|
"canvas",
|
|
10011
|
-
|
|
10017
|
+
$h,
|
|
10012
10018
|
null,
|
|
10013
10019
|
512
|
|
10014
10020
|
/* NEED_PATCH */
|
|
@@ -10028,7 +10034,7 @@ function $h(t, e, a, s, n, o) {
|
|
|
10028
10034
|
/* HYDRATE_EVENTS */
|
|
10029
10035
|
);
|
|
10030
10036
|
}
|
|
10031
|
-
Xs.render =
|
|
10037
|
+
Xs.render = kh;
|
|
10032
10038
|
Xs.__file = "src/color/Alpha.vue";
|
|
10033
10039
|
var Qs = q({
|
|
10034
10040
|
props: {
|
|
@@ -10065,10 +10071,10 @@ var Qs = q({
|
|
|
10065
10071
|
}
|
|
10066
10072
|
}
|
|
10067
10073
|
});
|
|
10068
|
-
function
|
|
10074
|
+
function Sh(t, e, a, s, n, o) {
|
|
10069
10075
|
return p(), D("canvas");
|
|
10070
10076
|
}
|
|
10071
|
-
Qs.render =
|
|
10077
|
+
Qs.render = Sh;
|
|
10072
10078
|
Qs.__file = "src/color/Preview.vue";
|
|
10073
10079
|
var Js = q({
|
|
10074
10080
|
props: {
|
|
@@ -10131,19 +10137,19 @@ var Js = q({
|
|
|
10131
10137
|
}
|
|
10132
10138
|
}
|
|
10133
10139
|
});
|
|
10134
|
-
const
|
|
10140
|
+
const Ah = /* @__PURE__ */ M(
|
|
10135
10141
|
"path",
|
|
10136
10142
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10137
10143
|
null,
|
|
10138
10144
|
-1
|
|
10139
10145
|
/* HOISTED */
|
|
10140
|
-
),
|
|
10146
|
+
), Mh = {
|
|
10141
10147
|
key: 1,
|
|
10142
10148
|
class: "sucker",
|
|
10143
10149
|
viewBox: "-16 -16 68 68",
|
|
10144
10150
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10145
10151
|
stroke: "#9099a4"
|
|
10146
|
-
},
|
|
10152
|
+
}, Th = /* @__PURE__ */ M(
|
|
10147
10153
|
"g",
|
|
10148
10154
|
{
|
|
10149
10155
|
fill: "none",
|
|
@@ -10175,7 +10181,7 @@ const Sh = /* @__PURE__ */ M(
|
|
|
10175
10181
|
-1
|
|
10176
10182
|
/* HOISTED */
|
|
10177
10183
|
);
|
|
10178
|
-
function
|
|
10184
|
+
function Oh(t, e, a, s, n, o) {
|
|
10179
10185
|
return p(), D("div", null, [
|
|
10180
10186
|
t.isSucking ? O("v-if", !0) : (p(), D(
|
|
10181
10187
|
"svg",
|
|
@@ -10187,17 +10193,17 @@ function Th(t, e, a, s, n, o) {
|
|
|
10187
10193
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10188
10194
|
},
|
|
10189
10195
|
[
|
|
10190
|
-
|
|
10196
|
+
Ah
|
|
10191
10197
|
],
|
|
10192
10198
|
2
|
|
10193
10199
|
/* CLASS */
|
|
10194
10200
|
)),
|
|
10195
|
-
t.isSucking ? (p(), D("svg",
|
|
10196
|
-
|
|
10201
|
+
t.isSucking ? (p(), D("svg", Mh, [
|
|
10202
|
+
Th
|
|
10197
10203
|
])) : O("v-if", !0)
|
|
10198
10204
|
]);
|
|
10199
10205
|
}
|
|
10200
|
-
Js.render =
|
|
10206
|
+
Js.render = Oh;
|
|
10201
10207
|
Js.__file = "src/color/Sucker.vue";
|
|
10202
10208
|
var en = q({
|
|
10203
10209
|
props: {
|
|
@@ -10230,12 +10236,12 @@ var en = q({
|
|
|
10230
10236
|
};
|
|
10231
10237
|
}
|
|
10232
10238
|
});
|
|
10233
|
-
const
|
|
10234
|
-
function
|
|
10235
|
-
return p(), D("div",
|
|
10239
|
+
const Eh = { class: "color-type" }, Ih = { class: "name" };
|
|
10240
|
+
function Lh(t, e, a, s, n, o) {
|
|
10241
|
+
return p(), D("div", Eh, [
|
|
10236
10242
|
M(
|
|
10237
10243
|
"span",
|
|
10238
|
-
|
|
10244
|
+
Ih,
|
|
10239
10245
|
W(t.name),
|
|
10240
10246
|
1
|
|
10241
10247
|
/* TEXT */
|
|
@@ -10256,7 +10262,7 @@ function Ih(t, e, a, s, n, o) {
|
|
|
10256
10262
|
])
|
|
10257
10263
|
]);
|
|
10258
10264
|
}
|
|
10259
|
-
en.render =
|
|
10265
|
+
en.render = Lh;
|
|
10260
10266
|
en.__file = "src/color/Box.vue";
|
|
10261
10267
|
var tn = q({
|
|
10262
10268
|
name: "ColorPicker",
|
|
@@ -10298,13 +10304,13 @@ var tn = q({
|
|
|
10298
10304
|
};
|
|
10299
10305
|
}
|
|
10300
10306
|
});
|
|
10301
|
-
const
|
|
10307
|
+
const Ph = { class: "colors" }, Hh = {
|
|
10302
10308
|
key: 0,
|
|
10303
10309
|
class: "colors history"
|
|
10304
10310
|
};
|
|
10305
|
-
function
|
|
10311
|
+
function Vh(t, e, a, s, n, o) {
|
|
10306
10312
|
return p(), D("div", null, [
|
|
10307
|
-
M("ul",
|
|
10313
|
+
M("ul", Ph, [
|
|
10308
10314
|
(p(!0), D(
|
|
10309
10315
|
fe,
|
|
10310
10316
|
null,
|
|
@@ -10338,7 +10344,7 @@ function Hh(t, e, a, s, n, o) {
|
|
|
10338
10344
|
/* KEYED_FRAGMENT */
|
|
10339
10345
|
))
|
|
10340
10346
|
]),
|
|
10341
|
-
t.colorsHistory.length ? (p(), D("ul",
|
|
10347
|
+
t.colorsHistory.length ? (p(), D("ul", Hh, [
|
|
10342
10348
|
(p(!0), D(
|
|
10343
10349
|
fe,
|
|
10344
10350
|
null,
|
|
@@ -10374,7 +10380,7 @@ function Hh(t, e, a, s, n, o) {
|
|
|
10374
10380
|
])) : O("v-if", !0)
|
|
10375
10381
|
]);
|
|
10376
10382
|
}
|
|
10377
|
-
tn.render =
|
|
10383
|
+
tn.render = Vh;
|
|
10378
10384
|
tn.__file = "src/color/Colors.vue";
|
|
10379
10385
|
var Ut = q({
|
|
10380
10386
|
components: {
|
|
@@ -10485,11 +10491,11 @@ var Ut = q({
|
|
|
10485
10491
|
return `rgba(${this.rgbaStringShort})`;
|
|
10486
10492
|
},
|
|
10487
10493
|
hexString() {
|
|
10488
|
-
return
|
|
10494
|
+
return mh(this.rgba, !0);
|
|
10489
10495
|
}
|
|
10490
10496
|
},
|
|
10491
10497
|
created() {
|
|
10492
|
-
Object.assign(this,
|
|
10498
|
+
Object.assign(this, kt(this.color)), this.setText(), this.$watch("rgba", () => {
|
|
10493
10499
|
this.$emit("changeColor", {
|
|
10494
10500
|
rgba: this.rgba,
|
|
10495
10501
|
hsv: this.hsv,
|
|
@@ -10499,7 +10505,7 @@ var Ut = q({
|
|
|
10499
10505
|
},
|
|
10500
10506
|
methods: {
|
|
10501
10507
|
selectSaturation(t) {
|
|
10502
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
10508
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
|
|
10503
10509
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText();
|
|
10504
10510
|
},
|
|
10505
10511
|
handleFocus(t) {
|
|
@@ -10509,7 +10515,7 @@ var Ut = q({
|
|
|
10509
10515
|
this.$emit("inputBlur", t);
|
|
10510
10516
|
},
|
|
10511
10517
|
selectHue(t) {
|
|
10512
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
10518
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
|
|
10513
10519
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText(), this.$nextTick(() => {
|
|
10514
10520
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide();
|
|
10515
10521
|
});
|
|
@@ -10518,13 +10524,13 @@ var Ut = q({
|
|
|
10518
10524
|
this.a = t, this.setText();
|
|
10519
10525
|
},
|
|
10520
10526
|
inputHex(t) {
|
|
10521
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10527
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10522
10528
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = t, this.modelRgba = this.rgbaStringShort, this.$nextTick(() => {
|
|
10523
10529
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10524
10530
|
});
|
|
10525
10531
|
},
|
|
10526
10532
|
inputRgba(t) {
|
|
10527
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10533
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10528
10534
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = this.hexString, this.modelRgba = t, this.$nextTick(() => {
|
|
10529
10535
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10530
10536
|
});
|
|
@@ -10536,21 +10542,21 @@ var Ut = q({
|
|
|
10536
10542
|
this.$emit("openSucker", t);
|
|
10537
10543
|
},
|
|
10538
10544
|
selectSucker(t) {
|
|
10539
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10545
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10540
10546
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
10541
10547
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10542
10548
|
});
|
|
10543
10549
|
},
|
|
10544
10550
|
selectColor(t) {
|
|
10545
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10551
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10546
10552
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
10547
10553
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10548
10554
|
});
|
|
10549
10555
|
}
|
|
10550
10556
|
}
|
|
10551
10557
|
});
|
|
10552
|
-
const
|
|
10553
|
-
function
|
|
10558
|
+
const Dh = { class: "color-set" };
|
|
10559
|
+
function Bh(t, e, a, s, n, o) {
|
|
10554
10560
|
const i = rt("Saturation"), l = rt("Hue"), r = rt("Alpha"), c = rt("Preview"), u = rt("Sucker"), d = rt("Box"), v = rt("Colors");
|
|
10555
10561
|
return p(), D(
|
|
10556
10562
|
"div",
|
|
@@ -10559,7 +10565,7 @@ function Dh(t, e, a, s, n, o) {
|
|
|
10559
10565
|
style: { width: t.totalWidth + "px" }
|
|
10560
10566
|
},
|
|
10561
10567
|
[
|
|
10562
|
-
M("div",
|
|
10568
|
+
M("div", Dh, [
|
|
10563
10569
|
M(i, {
|
|
10564
10570
|
ref: "saturation",
|
|
10565
10571
|
color: t.rgbString,
|
|
@@ -10633,12 +10639,12 @@ function Dh(t, e, a, s, n, o) {
|
|
|
10633
10639
|
/* CLASS, STYLE */
|
|
10634
10640
|
);
|
|
10635
10641
|
}
|
|
10636
|
-
Ut.render =
|
|
10642
|
+
Ut.render = Bh;
|
|
10637
10643
|
Ut.__file = "src/color/ColorPicker.vue";
|
|
10638
10644
|
Ut.install = (t) => {
|
|
10639
10645
|
t.component(Ut.name, Ut);
|
|
10640
10646
|
};
|
|
10641
|
-
const
|
|
10647
|
+
const jh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
10642
10648
|
__name: "AoColorPicker",
|
|
10643
10649
|
props: {
|
|
10644
10650
|
color: {}
|
|
@@ -10660,7 +10666,7 @@ const Bh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10660
10666
|
const { r, g: c, b: u, a: d } = l.rgba, v = `rgba(${r}, ${c}, ${u}, ${d})`;
|
|
10661
10667
|
console.log("COLOR"), console.log(v), console.log(l), e("update:color", v);
|
|
10662
10668
|
};
|
|
10663
|
-
return (l, r) => (p(), C("div",
|
|
10669
|
+
return (l, r) => (p(), C("div", jh, [
|
|
10664
10670
|
te(l.$slots, "clickable", {
|
|
10665
10671
|
openPicker: n,
|
|
10666
10672
|
bgColor: l.color
|
|
@@ -10680,16 +10686,16 @@ const Bh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10680
10686
|
]));
|
|
10681
10687
|
}
|
|
10682
10688
|
});
|
|
10683
|
-
const
|
|
10689
|
+
const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao-card-project-item__title-line" }, Uh = {
|
|
10684
10690
|
key: 0,
|
|
10685
10691
|
class: "ao-card-project-item-phase__estimation"
|
|
10686
|
-
},
|
|
10692
|
+
}, Fh = { class: "ao-mapping-card-project-phase__footer" }, Zh = {
|
|
10687
10693
|
key: 0,
|
|
10688
10694
|
class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
|
|
10689
|
-
},
|
|
10695
|
+
}, Wh = { class: "ao-mapping-card-project-phase__subitem" }, zh = { class: "ao-mapping-card-project-phase__subitem" }, qh = {
|
|
10690
10696
|
key: 0,
|
|
10691
10697
|
class: "ao-mapping-card-project-phase__secondary"
|
|
10692
|
-
},
|
|
10698
|
+
}, Yh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, xh = /* @__PURE__ */ q({
|
|
10693
10699
|
__name: "AoCondensedCardProjectItemPhase",
|
|
10694
10700
|
props: {
|
|
10695
10701
|
id: {},
|
|
@@ -10746,7 +10752,7 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10746
10752
|
onClick: (b) => u(b, m)
|
|
10747
10753
|
}, fa({
|
|
10748
10754
|
default: N(() => [
|
|
10749
|
-
f("div",
|
|
10755
|
+
f("div", Nh, [
|
|
10750
10756
|
M(be, {
|
|
10751
10757
|
id: d.id,
|
|
10752
10758
|
class: "ao-mapping-card-project-phase__title",
|
|
@@ -10755,25 +10761,25 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10755
10761
|
"is-editable": d.isEditable,
|
|
10756
10762
|
"onUpdate:title": s
|
|
10757
10763
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10758
|
-
n.value ? (p(), C("span",
|
|
10764
|
+
n.value ? (p(), C("span", Uh, " (" + W(n.value) + ")", 1)) : O("", !0)
|
|
10759
10765
|
])
|
|
10760
10766
|
]),
|
|
10761
10767
|
footer: N(() => [
|
|
10762
|
-
f("div",
|
|
10763
|
-
o.value ? (p(), C("div",
|
|
10764
|
-
f("div",
|
|
10768
|
+
f("div", Fh, [
|
|
10769
|
+
o.value ? (p(), C("div", Zh, [
|
|
10770
|
+
f("div", Wh, [
|
|
10765
10771
|
M(pe, {
|
|
10766
10772
|
name: "MountainFlagOutlineRounded",
|
|
10767
10773
|
size: "sm"
|
|
10768
10774
|
}),
|
|
10769
|
-
f("span",
|
|
10775
|
+
f("span", zh, W(i.value) + " / " + W(o.value), 1)
|
|
10770
10776
|
]),
|
|
10771
10777
|
M(ls, {
|
|
10772
10778
|
percentages: l.value,
|
|
10773
10779
|
class: "ao-mapping-card-project-phase__progress",
|
|
10774
10780
|
color: c.value
|
|
10775
10781
|
}, null, 8, ["percentages", "color"]),
|
|
10776
|
-
d.$slots.secondary ? (p(), C("div",
|
|
10782
|
+
d.$slots.secondary ? (p(), C("div", qh, [
|
|
10777
10783
|
te(d.$slots, "secondary")
|
|
10778
10784
|
])) : O("", !0)
|
|
10779
10785
|
])) : O("", !0),
|
|
@@ -10793,7 +10799,7 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10793
10799
|
{ lazy: !0 }
|
|
10794
10800
|
]
|
|
10795
10801
|
]) : O("", !0),
|
|
10796
|
-
f("span",
|
|
10802
|
+
f("span", Yh, W(Q(Qa)(d.deadline)), 1)
|
|
10797
10803
|
], 2)
|
|
10798
10804
|
])
|
|
10799
10805
|
]),
|
|
@@ -10802,7 +10808,7 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10802
10808
|
d.isEditable ? {
|
|
10803
10809
|
name: "header",
|
|
10804
10810
|
fn: N(() => [
|
|
10805
|
-
f("div",
|
|
10811
|
+
f("div", Rh, [
|
|
10806
10812
|
M(re, {
|
|
10807
10813
|
class: "ao-mapping-card-project-phase__archive",
|
|
10808
10814
|
color: "primary",
|
|
@@ -10827,19 +10833,19 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10827
10833
|
}, 8, ["color"]));
|
|
10828
10834
|
}
|
|
10829
10835
|
});
|
|
10830
|
-
const
|
|
10836
|
+
const Kh = { class: "ao-project-phase" }, Gh = {
|
|
10831
10837
|
key: 0,
|
|
10832
10838
|
class: "ao-project-phase__drag ao-card__drag"
|
|
10833
|
-
},
|
|
10839
|
+
}, Xh = {
|
|
10834
10840
|
key: 1,
|
|
10835
10841
|
class: "ao-project-phase__col-phase"
|
|
10836
|
-
},
|
|
10842
|
+
}, Qh = {
|
|
10837
10843
|
key: 2,
|
|
10838
10844
|
class: "ao-mapping-project-phase__col-phase"
|
|
10839
|
-
},
|
|
10845
|
+
}, Jh = {
|
|
10840
10846
|
key: 0,
|
|
10841
10847
|
class: "ao-project-phase__col-milestones"
|
|
10842
|
-
},
|
|
10848
|
+
}, e9 = { class: "ao-project-phase__milestones-list-footer" }, t9 = /* @__PURE__ */ q({
|
|
10843
10849
|
__name: "AoProjectPhase",
|
|
10844
10850
|
props: {
|
|
10845
10851
|
phase: {},
|
|
@@ -10850,7 +10856,7 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10850
10856
|
},
|
|
10851
10857
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "updatePhase", "archivePhase", "unarchivePhase"],
|
|
10852
10858
|
setup(t, { emit: e }) {
|
|
10853
|
-
const a = t, { t: s } =
|
|
10859
|
+
const a = t, { t: s } = yt();
|
|
10854
10860
|
ce(
|
|
10855
10861
|
() => a.phase.milestones,
|
|
10856
10862
|
(h, _) => {
|
|
@@ -10868,7 +10874,7 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10868
10874
|
(h) => j3(h, a.closedStatus)
|
|
10869
10875
|
)
|
|
10870
10876
|
), r = (h) => {
|
|
10871
|
-
const { name: _, rank: P } =
|
|
10877
|
+
const { name: _, rank: P } = Mt(
|
|
10872
10878
|
l.value ?? [],
|
|
10873
10879
|
"milestone",
|
|
10874
10880
|
s
|
|
@@ -10897,19 +10903,19 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10897
10903
|
var h;
|
|
10898
10904
|
return a.phase.id !== ((h = b.params) == null ? void 0 : h.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: N3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
|
|
10899
10905
|
});
|
|
10900
|
-
return (h, _) => (p(), C("li",
|
|
10906
|
+
return (h, _) => (p(), C("li", Kh, [
|
|
10901
10907
|
f("div", {
|
|
10902
10908
|
class: "ao-project-phases__draggable-card",
|
|
10903
|
-
style:
|
|
10909
|
+
style: pt($.value)
|
|
10904
10910
|
}, [
|
|
10905
|
-
h.isEditable ? (p(), C("div",
|
|
10911
|
+
h.isEditable ? (p(), C("div", Gh, [
|
|
10906
10912
|
M(pe, {
|
|
10907
10913
|
name: "DragIndicator",
|
|
10908
10914
|
class: "ao-project-phase__drag-handle"
|
|
10909
10915
|
})
|
|
10910
10916
|
])) : O("", !0),
|
|
10911
|
-
g.value ? (p(), C("div",
|
|
10912
|
-
M(
|
|
10917
|
+
g.value ? (p(), C("div", Qh, [
|
|
10918
|
+
M(xh, {
|
|
10913
10919
|
id: h.phase.id,
|
|
10914
10920
|
milestones: l.value,
|
|
10915
10921
|
name: h.phase.name,
|
|
@@ -10923,8 +10929,8 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10923
10929
|
onUnarchivePhase: m,
|
|
10924
10930
|
onUpdatePhase: i
|
|
10925
10931
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10926
|
-
])) : (p(), C("div",
|
|
10927
|
-
M(
|
|
10932
|
+
])) : (p(), C("div", Xh, [
|
|
10933
|
+
M(Jf, {
|
|
10928
10934
|
id: h.phase.id,
|
|
10929
10935
|
milestones: l.value,
|
|
10930
10936
|
name: h.phase.name,
|
|
@@ -10939,12 +10945,12 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10939
10945
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10940
10946
|
]))
|
|
10941
10947
|
], 4),
|
|
10942
|
-
g.value ? O("", !0) : (p(), C("div",
|
|
10948
|
+
g.value ? O("", !0) : (p(), C("div", Jh, [
|
|
10943
10949
|
f("div", {
|
|
10944
10950
|
class: "ao-project-phase__milestones",
|
|
10945
|
-
style:
|
|
10951
|
+
style: pt($.value)
|
|
10946
10952
|
}, [
|
|
10947
|
-
M(Q(
|
|
10953
|
+
M(Q(gt), Ae({
|
|
10948
10954
|
class: "ao-project-phase__milestones-list",
|
|
10949
10955
|
list: l.value,
|
|
10950
10956
|
disabled: h.readonly || !h.isEditable,
|
|
@@ -10954,7 +10960,7 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10954
10960
|
item: N(({ element: P }) => {
|
|
10955
10961
|
var I;
|
|
10956
10962
|
return [
|
|
10957
|
-
M(
|
|
10963
|
+
M(hh, {
|
|
10958
10964
|
id: P.id,
|
|
10959
10965
|
name: P.name,
|
|
10960
10966
|
color: P.color,
|
|
@@ -10982,8 +10988,8 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10982
10988
|
}),
|
|
10983
10989
|
_: 1
|
|
10984
10990
|
}, 16, ["list", "disabled"]),
|
|
10985
|
-
f("div",
|
|
10986
|
-
h.isEditable ? (p(), D(
|
|
10991
|
+
f("div", e9, [
|
|
10992
|
+
h.isEditable ? (p(), D(Ct, {
|
|
10987
10993
|
key: 0,
|
|
10988
10994
|
label: h.$t("project.milestone.add"),
|
|
10989
10995
|
class: "ao-project-phase__milestone-add",
|
|
@@ -10996,10 +11002,10 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10996
11002
|
]));
|
|
10997
11003
|
}
|
|
10998
11004
|
});
|
|
10999
|
-
const
|
|
11005
|
+
const a9 = { class: "ao-project__phases" }, s9 = {
|
|
11000
11006
|
key: 0,
|
|
11001
11007
|
class: "ao-project-phase__phases-list-footer"
|
|
11002
|
-
},
|
|
11008
|
+
}, n9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), i9 = { class: "ao-project-phase__col-phase" }, o9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), fi = /* @__PURE__ */ q({
|
|
11003
11009
|
__name: "AoProjectPhases",
|
|
11004
11010
|
props: {
|
|
11005
11011
|
phases: {},
|
|
@@ -11039,8 +11045,8 @@ const t9 = { class: "ao-project__phases" }, a9 = {
|
|
|
11039
11045
|
}, d = (v) => {
|
|
11040
11046
|
e("addPhase", v);
|
|
11041
11047
|
};
|
|
11042
|
-
return (v, m) => (p(), C("div",
|
|
11043
|
-
M(Q(
|
|
11048
|
+
return (v, m) => (p(), C("div", a9, [
|
|
11049
|
+
M(Q(gt), {
|
|
11044
11050
|
class: "ao-project-phase__phases-list",
|
|
11045
11051
|
"model-value": v.phases,
|
|
11046
11052
|
"item-key": "id",
|
|
@@ -11048,7 +11054,7 @@ const t9 = { class: "ao-project__phases" }, a9 = {
|
|
|
11048
11054
|
onChange: c
|
|
11049
11055
|
}, {
|
|
11050
11056
|
item: N(({ element: w }) => [
|
|
11051
|
-
M(
|
|
11057
|
+
M(t9, {
|
|
11052
11058
|
phase: w,
|
|
11053
11059
|
"is-editable": !v.readonly && v.isEditable,
|
|
11054
11060
|
"closed-status": v.closedStatus,
|
|
@@ -11065,22 +11071,22 @@ const t9 = { class: "ao-project__phases" }, a9 = {
|
|
|
11065
11071
|
]),
|
|
11066
11072
|
_: 1
|
|
11067
11073
|
}, 8, ["model-value"]),
|
|
11068
|
-
v.isEditable ? (p(), C("div",
|
|
11069
|
-
|
|
11070
|
-
f("div",
|
|
11071
|
-
M(
|
|
11074
|
+
v.isEditable ? (p(), C("div", s9, [
|
|
11075
|
+
n9,
|
|
11076
|
+
f("div", i9, [
|
|
11077
|
+
M(Ct, {
|
|
11072
11078
|
label: v.$t("project.phases.add"),
|
|
11073
11079
|
"icon-name": "Add",
|
|
11074
11080
|
class: "ao-project-phase__add-phase",
|
|
11075
11081
|
onClick: d
|
|
11076
11082
|
}, null, 8, ["label"])
|
|
11077
11083
|
]),
|
|
11078
|
-
|
|
11084
|
+
o9
|
|
11079
11085
|
])) : O("", !0)
|
|
11080
11086
|
]));
|
|
11081
11087
|
}
|
|
11082
11088
|
});
|
|
11083
|
-
const
|
|
11089
|
+
const l9 = ["onSubmit"], r9 = { class: "ao-add-template-modal__form-body" }, u9 = { class: "field__row" }, c9 = { class: "ao-add-template-modal__form-footer" }, hi = /* @__PURE__ */ q({
|
|
11084
11090
|
__name: "AoAddTemplateModal",
|
|
11085
11091
|
props: {
|
|
11086
11092
|
projectId: {},
|
|
@@ -11109,8 +11115,8 @@ const o9 = ["onSubmit"], l9 = { class: "ao-add-template-modal__form-body" }, r9
|
|
|
11109
11115
|
onSubmit: ve(i, ["prevent"])
|
|
11110
11116
|
}, [
|
|
11111
11117
|
f("p", null, W(l.$t("project.template.apply.notice")), 1),
|
|
11112
|
-
f("div",
|
|
11113
|
-
f("div",
|
|
11118
|
+
f("div", r9, [
|
|
11119
|
+
f("div", u9, [
|
|
11114
11120
|
M(Se, {
|
|
11115
11121
|
value: n.value,
|
|
11116
11122
|
options: s.value,
|
|
@@ -11119,7 +11125,7 @@ const o9 = ["onSubmit"], l9 = { class: "ao-add-template-modal__form-body" }, r9
|
|
|
11119
11125
|
}, null, 8, ["value", "options"])
|
|
11120
11126
|
])
|
|
11121
11127
|
]),
|
|
11122
|
-
f("footer",
|
|
11128
|
+
f("footer", c9, [
|
|
11123
11129
|
M(re, {
|
|
11124
11130
|
label: l.$t("project.template.apply.label"),
|
|
11125
11131
|
type: "submit",
|
|
@@ -11128,13 +11134,13 @@ const o9 = ["onSubmit"], l9 = { class: "ao-add-template-modal__form-body" }, r9
|
|
|
11128
11134
|
onClick: i
|
|
11129
11135
|
}, null, 8, ["label"])
|
|
11130
11136
|
])
|
|
11131
|
-
], 40,
|
|
11137
|
+
], 40, l9)
|
|
11132
11138
|
]),
|
|
11133
11139
|
_: 1
|
|
11134
11140
|
}));
|
|
11135
11141
|
}
|
|
11136
11142
|
});
|
|
11137
|
-
const
|
|
11143
|
+
const d9 = ["onSubmit"], p9 = { class: "ao-save-template-modal__form-body" }, v9 = { class: "field__row" }, f9 = { class: "ao-field ao-field--inline" }, h9 = { class: "ao-field__label" }, m9 = { class: "ao-save-template-modal__phases" }, g9 = { class: "ao-field__label" }, C9 = { class: "ao-save-template-modal__phases-list" }, _9 = ["value"], y9 = { class: "ao-save-template-modal__form-footer" }, mi = /* @__PURE__ */ q({
|
|
11138
11144
|
__name: "AoSaveTemplateModal",
|
|
11139
11145
|
props: {
|
|
11140
11146
|
phases: {}
|
|
@@ -11160,10 +11166,10 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11160
11166
|
class: "ao-save-template-modal__form",
|
|
11161
11167
|
onSubmit: ve(o, ["prevent"])
|
|
11162
11168
|
}, [
|
|
11163
|
-
f("div",
|
|
11164
|
-
f("div",
|
|
11165
|
-
f("label",
|
|
11166
|
-
f("span",
|
|
11169
|
+
f("div", p9, [
|
|
11170
|
+
f("div", v9, [
|
|
11171
|
+
f("label", f9, [
|
|
11172
|
+
f("span", h9, W(i.$t("project.template.name.label")) + ": ", 1),
|
|
11167
11173
|
De(f("input", {
|
|
11168
11174
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11169
11175
|
type: "text"
|
|
@@ -11172,9 +11178,9 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11172
11178
|
])
|
|
11173
11179
|
])
|
|
11174
11180
|
]),
|
|
11175
|
-
f("div",
|
|
11176
|
-
f("div",
|
|
11177
|
-
f("div",
|
|
11181
|
+
f("div", m9, [
|
|
11182
|
+
f("div", g9, W(i.$t("project.template.phases.label")), 1),
|
|
11183
|
+
f("div", C9, [
|
|
11178
11184
|
(p(!0), C(fe, null, _e(a.phases, (r) => (p(), C("label", {
|
|
11179
11185
|
class: "ao-field ao-field--checkbox",
|
|
11180
11186
|
key: r.id
|
|
@@ -11183,7 +11189,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11183
11189
|
type: "checkbox",
|
|
11184
11190
|
value: r.id,
|
|
11185
11191
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => n.value = c)
|
|
11186
|
-
}, null, 8,
|
|
11192
|
+
}, null, 8, _9), [
|
|
11187
11193
|
[Ui, n.value]
|
|
11188
11194
|
]),
|
|
11189
11195
|
f("span", null, W(r.name), 1)
|
|
@@ -11191,7 +11197,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11191
11197
|
])
|
|
11192
11198
|
])
|
|
11193
11199
|
]),
|
|
11194
|
-
f("footer",
|
|
11200
|
+
f("footer", y9, [
|
|
11195
11201
|
M(re, {
|
|
11196
11202
|
label: i.$t("project.template.save.label"),
|
|
11197
11203
|
type: "submit",
|
|
@@ -11200,13 +11206,13 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11200
11206
|
onClick: o
|
|
11201
11207
|
}, null, 8, ["label"])
|
|
11202
11208
|
])
|
|
11203
|
-
], 40,
|
|
11209
|
+
], 40, d9)
|
|
11204
11210
|
]),
|
|
11205
11211
|
_: 1
|
|
11206
11212
|
}));
|
|
11207
11213
|
}
|
|
11208
11214
|
});
|
|
11209
|
-
const
|
|
11215
|
+
const b9 = q({
|
|
11210
11216
|
props: {
|
|
11211
11217
|
modelValue: {
|
|
11212
11218
|
type: [String, Number],
|
|
@@ -11224,18 +11230,18 @@ const y9 = q({
|
|
|
11224
11230
|
}
|
|
11225
11231
|
}
|
|
11226
11232
|
});
|
|
11227
|
-
const
|
|
11228
|
-
function
|
|
11229
|
-
return p(), C("div",
|
|
11233
|
+
const w9 = { class: "tabbar-wrapper" }, $9 = ["onClick"];
|
|
11234
|
+
function k9(t, e, a, s, n, o) {
|
|
11235
|
+
return p(), C("div", w9, [
|
|
11230
11236
|
(p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
|
|
11231
11237
|
key: i.value,
|
|
11232
11238
|
class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11233
11239
|
type: "button",
|
|
11234
11240
|
onClick: (l) => t.selectTab(i.value)
|
|
11235
|
-
}, W(i.label), 11,
|
|
11241
|
+
}, W(i.label), 11, $9))), 128))
|
|
11236
11242
|
]);
|
|
11237
11243
|
}
|
|
11238
|
-
const an = /* @__PURE__ */ U(
|
|
11244
|
+
const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297"]]), S9 = { class: "ao-project" }, A9 = { class: "ao-project__body" }, M9 = /* @__PURE__ */ q({
|
|
11239
11245
|
__name: "AoProjectOverviewProject",
|
|
11240
11246
|
props: {
|
|
11241
11247
|
project: {},
|
|
@@ -11253,10 +11259,10 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11253
11259
|
},
|
|
11254
11260
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "addActivity", "update:activity", "archiveActivity", "copyPhaseToTemplate", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
11255
11261
|
setup(t, { emit: e }) {
|
|
11256
|
-
const a = t, { t: s } =
|
|
11262
|
+
const a = t, { t: s } = yt(), n = A(
|
|
11257
11263
|
() => a.phases.flatMap((T) => T.milestones)
|
|
11258
11264
|
), o = () => {
|
|
11259
|
-
const { name: T, rank: k } =
|
|
11265
|
+
const { name: T, rank: k } = Mt(a.phases, "phase", s);
|
|
11260
11266
|
e("addPhase", { name: T, rank: k, projectId: a.project.id });
|
|
11261
11267
|
}, i = (T) => {
|
|
11262
11268
|
e("updatePhase", T);
|
|
@@ -11317,7 +11323,7 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11317
11323
|
const R = rt("RouterView");
|
|
11318
11324
|
return p(), C(fe, null, [
|
|
11319
11325
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11320
|
-
f("div",
|
|
11326
|
+
f("div", S9, [
|
|
11321
11327
|
M(ba, null, {
|
|
11322
11328
|
primary: N(() => [
|
|
11323
11329
|
M(an, {
|
|
@@ -11356,7 +11362,7 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11356
11362
|
]),
|
|
11357
11363
|
_: 1
|
|
11358
11364
|
}),
|
|
11359
|
-
f("div",
|
|
11365
|
+
f("div", A9, [
|
|
11360
11366
|
M(fi, {
|
|
11361
11367
|
phases: T.phases,
|
|
11362
11368
|
"closed-status": T.closedStatus,
|
|
@@ -11413,7 +11419,7 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11413
11419
|
onRemoveComment: J
|
|
11414
11420
|
}, {
|
|
11415
11421
|
default: N(({ Component: y }) => [
|
|
11416
|
-
(p(), D(
|
|
11422
|
+
(p(), D(mt(y), null, {
|
|
11417
11423
|
default: N((V) => [
|
|
11418
11424
|
te(T.$slots, "activityDetailsBody", ha(ma(V)))
|
|
11419
11425
|
]),
|
|
@@ -11443,39 +11449,39 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11443
11449
|
};
|
|
11444
11450
|
}
|
|
11445
11451
|
});
|
|
11446
|
-
const
|
|
11452
|
+
const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
11447
11453
|
key: 1,
|
|
11448
11454
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11449
|
-
},
|
|
11455
|
+
}, E9 = {
|
|
11450
11456
|
key: 2,
|
|
11451
11457
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
11452
|
-
},
|
|
11458
|
+
}, I9 = { class: "ao-card-feed__body" }, L9 = {
|
|
11453
11459
|
key: 0,
|
|
11454
11460
|
class: "ao-card-feed__breadcrumbs"
|
|
11455
|
-
},
|
|
11461
|
+
}, P9 = {
|
|
11456
11462
|
class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
|
|
11457
|
-
},
|
|
11463
|
+
}, H9 = { class: "ao-card-feed__title-line" }, V9 = {
|
|
11458
11464
|
key: 0,
|
|
11459
11465
|
class: "ao-card-feed__slug"
|
|
11460
|
-
},
|
|
11466
|
+
}, D9 = {
|
|
11461
11467
|
key: 1,
|
|
11462
11468
|
class: "ao-card-feed__deadline"
|
|
11463
|
-
},
|
|
11469
|
+
}, B9 = { class: "ao-card-feed__footer" }, j9 = { class: "ao-card-feed__footer-row" }, R9 = { class: "ao-assignees" }, N9 = {
|
|
11464
11470
|
key: 0,
|
|
11465
11471
|
class: "ao-assignee"
|
|
11466
|
-
},
|
|
11472
|
+
}, U9 = {
|
|
11467
11473
|
key: 0,
|
|
11468
11474
|
class: "ao-card-feed__subitems"
|
|
11469
|
-
},
|
|
11475
|
+
}, F9 = {
|
|
11470
11476
|
key: 0,
|
|
11471
11477
|
class: "ao-card-feed__subitem"
|
|
11472
|
-
},
|
|
11478
|
+
}, Z9 = { class: "ao-card-feed__subitem" }, W9 = {
|
|
11473
11479
|
key: 1,
|
|
11474
11480
|
class: "ao-card-feed__subitem"
|
|
11475
|
-
},
|
|
11481
|
+
}, z9 = { class: "ao-card-feed__subitem" }, q9 = { class: "ao-card-feed__footer-row" }, Y9 = {
|
|
11476
11482
|
key: 0,
|
|
11477
11483
|
class: "ao-card-feed__progress-wrapper"
|
|
11478
|
-
},
|
|
11484
|
+
}, x9 = { class: "ao-card-feed__subitem" }, K9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */ q({
|
|
11479
11485
|
__name: "AoCardFeed",
|
|
11480
11486
|
props: {
|
|
11481
11487
|
id: {},
|
|
@@ -11518,7 +11524,7 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11518
11524
|
"is-clickable": !0
|
|
11519
11525
|
}, {
|
|
11520
11526
|
header: N(() => [
|
|
11521
|
-
f("div",
|
|
11527
|
+
f("div", T9, [
|
|
11522
11528
|
s.value ? (p(), D(ra, {
|
|
11523
11529
|
key: 0,
|
|
11524
11530
|
label: s.value,
|
|
@@ -11527,7 +11533,7 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11527
11533
|
color: m.projectColor ? void 0 : "primary",
|
|
11528
11534
|
"raw-color": n.value
|
|
11529
11535
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
11530
|
-
m.isPrivate || m.important || m.isClosed ? (p(), C("div",
|
|
11536
|
+
m.isPrivate || m.important || m.isClosed ? (p(), C("div", O9, [
|
|
11531
11537
|
m.isPrivate ? (p(), D(pe, {
|
|
11532
11538
|
key: 0,
|
|
11533
11539
|
name: "Lock",
|
|
@@ -11546,17 +11552,17 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11546
11552
|
class: "ao-card-feed__closed"
|
|
11547
11553
|
})) : O("", !0)
|
|
11548
11554
|
])) : O("", !0),
|
|
11549
|
-
m.$slots.secondary ? (p(), C("div",
|
|
11555
|
+
m.$slots.secondary ? (p(), C("div", E9, [
|
|
11550
11556
|
te(m.$slots, "secondary")
|
|
11551
11557
|
])) : O("", !0)
|
|
11552
11558
|
])
|
|
11553
11559
|
]),
|
|
11554
11560
|
default: N(() => [
|
|
11555
|
-
f("div",
|
|
11556
|
-
i.value ? (p(), C("span",
|
|
11557
|
-
f("div",
|
|
11558
|
-
f("div",
|
|
11559
|
-
m.slug ? (p(), C("span",
|
|
11561
|
+
f("div", I9, [
|
|
11562
|
+
i.value ? (p(), C("span", L9, W(i.value), 1)) : O("", !0),
|
|
11563
|
+
f("div", P9, [
|
|
11564
|
+
f("div", H9, [
|
|
11565
|
+
m.slug ? (p(), C("span", V9, W(m.slug) + ": ", 1)) : O("", !0),
|
|
11560
11566
|
M(be, {
|
|
11561
11567
|
id: m.id,
|
|
11562
11568
|
title: m.name,
|
|
@@ -11567,17 +11573,17 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11567
11573
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11568
11574
|
])
|
|
11569
11575
|
]),
|
|
11570
|
-
m.deadline ? (p(), C("span",
|
|
11576
|
+
m.deadline ? (p(), C("span", D9, W(r.value), 1)) : O("", !0)
|
|
11571
11577
|
])
|
|
11572
11578
|
]),
|
|
11573
11579
|
footer: N(() => [
|
|
11574
|
-
f("div",
|
|
11575
|
-
f("div",
|
|
11576
|
-
f("ul",
|
|
11580
|
+
f("div", B9, [
|
|
11581
|
+
f("div", j9, [
|
|
11582
|
+
f("ul", R9, [
|
|
11577
11583
|
(p(!0), C(fe, null, _e(l.value, (b) => (p(), C(fe, {
|
|
11578
11584
|
key: b.id
|
|
11579
11585
|
}, [
|
|
11580
|
-
b ? (p(), C("li",
|
|
11586
|
+
b ? (p(), C("li", N9, [
|
|
11581
11587
|
M(Je, {
|
|
11582
11588
|
"user-name": Q(Kn)(b),
|
|
11583
11589
|
"avatar-url": b.avatarUrl,
|
|
@@ -11587,31 +11593,31 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11587
11593
|
])) : O("", !0)
|
|
11588
11594
|
], 64))), 128))
|
|
11589
11595
|
]),
|
|
11590
|
-
m.comments || m.attachments ? (p(), C("ul",
|
|
11591
|
-
m.comments ? (p(), C("li",
|
|
11596
|
+
m.comments || m.attachments ? (p(), C("ul", U9, [
|
|
11597
|
+
m.comments ? (p(), C("li", F9, [
|
|
11592
11598
|
M(pe, {
|
|
11593
11599
|
name: "ChatOutline",
|
|
11594
11600
|
size: "sm"
|
|
11595
11601
|
}),
|
|
11596
|
-
f("span",
|
|
11602
|
+
f("span", Z9, W(m.comments), 1)
|
|
11597
11603
|
])) : O("", !0),
|
|
11598
|
-
m.attachments ? (p(), C("li",
|
|
11604
|
+
m.attachments ? (p(), C("li", W9, [
|
|
11599
11605
|
M(pe, {
|
|
11600
11606
|
name: "AttachFileRounded",
|
|
11601
11607
|
size: "sm"
|
|
11602
11608
|
}),
|
|
11603
|
-
f("span",
|
|
11609
|
+
f("span", z9, W(m.attachments), 1)
|
|
11604
11610
|
])) : O("", !0)
|
|
11605
11611
|
])) : O("", !0)
|
|
11606
11612
|
]),
|
|
11607
|
-
f("div",
|
|
11608
|
-
m.tasks && m.tasks.length ? (p(), C("div",
|
|
11609
|
-
f("div",
|
|
11613
|
+
f("div", q9, [
|
|
11614
|
+
m.tasks && m.tasks.length ? (p(), C("div", Y9, [
|
|
11615
|
+
f("div", x9, [
|
|
11610
11616
|
M(pe, {
|
|
11611
11617
|
name: "SelectCheckBox",
|
|
11612
11618
|
size: "sm"
|
|
11613
11619
|
}),
|
|
11614
|
-
f("span",
|
|
11620
|
+
f("span", K9, W(d.value) + " / " + W(u.value), 1)
|
|
11615
11621
|
]),
|
|
11616
11622
|
M(ls, {
|
|
11617
11623
|
percentages: v.value,
|
|
@@ -11625,10 +11631,10 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11625
11631
|
}, 8, ["class"]));
|
|
11626
11632
|
}
|
|
11627
11633
|
});
|
|
11628
|
-
const
|
|
11634
|
+
const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-milestone__header" }, Q9 = { class: "ao-project-milestone__header_line" }, J9 = { class: "ao-project-milestone__header_line" }, e4 = { class: "ao-project-milestone__title" }, t4 = {
|
|
11629
11635
|
key: 0,
|
|
11630
11636
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11631
|
-
},
|
|
11637
|
+
}, a4 = { class: "ao-field__row ao-milestone__field-row" }, s4 = { class: "ao-field ao-field--inline" }, n4 = { class: "ao-field__row ao-milestone__field-row" }, i4 = { class: "ao-field ao-milestone__field-multiselect" }, o4 = ["onClick"], l4 = { class: "ao-project-milestone__body" }, r4 = {
|
|
11632
11638
|
key: 0,
|
|
11633
11639
|
class: "ao-project-milestone__footer"
|
|
11634
11640
|
}, In = /* @__PURE__ */ q({
|
|
@@ -11644,7 +11650,7 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11644
11650
|
},
|
|
11645
11651
|
emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
|
|
11646
11652
|
setup(t, { emit: e }) {
|
|
11647
|
-
const a = t, { t: s } =
|
|
11653
|
+
const a = t, { t: s } = yt(), n = A(() => {
|
|
11648
11654
|
var h;
|
|
11649
11655
|
return (h = a.phases) == null ? void 0 : h.find((_) => _.id === a.phaseId);
|
|
11650
11656
|
}), o = A(
|
|
@@ -11665,7 +11671,7 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11665
11671
|
const r = (h) => {
|
|
11666
11672
|
e("close", h);
|
|
11667
11673
|
}, c = () => {
|
|
11668
|
-
const { name: h, rank: _ } =
|
|
11674
|
+
const { name: h, rank: _ } = Mt(
|
|
11669
11675
|
l.value ?? [],
|
|
11670
11676
|
"activity",
|
|
11671
11677
|
s
|
|
@@ -11735,9 +11741,9 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11735
11741
|
});
|
|
11736
11742
|
return (h, _) => {
|
|
11737
11743
|
var P;
|
|
11738
|
-
return p(), C("div",
|
|
11739
|
-
f("header",
|
|
11740
|
-
f("div",
|
|
11744
|
+
return p(), C("div", G9, [
|
|
11745
|
+
f("header", X9, [
|
|
11746
|
+
f("div", Q9, [
|
|
11741
11747
|
M(re, {
|
|
11742
11748
|
"icon-name": "CloseRounded",
|
|
11743
11749
|
variant: "ghost",
|
|
@@ -11746,8 +11752,8 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11746
11752
|
onClick: r
|
|
11747
11753
|
})
|
|
11748
11754
|
]),
|
|
11749
|
-
f("div",
|
|
11750
|
-
f("div",
|
|
11755
|
+
f("div", J9, [
|
|
11756
|
+
f("div", e4, [
|
|
11751
11757
|
M(be, {
|
|
11752
11758
|
title: ((P = i.value) == null ? void 0 : P.name) || h.milestoneId,
|
|
11753
11759
|
level: 5
|
|
@@ -11766,9 +11772,9 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11766
11772
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11767
11773
|
])
|
|
11768
11774
|
]),
|
|
11769
|
-
i.value ? (p(), C("div",
|
|
11770
|
-
f("div",
|
|
11771
|
-
f("label",
|
|
11775
|
+
i.value ? (p(), C("div", t4, [
|
|
11776
|
+
f("div", a4, [
|
|
11777
|
+
f("label", s4, [
|
|
11772
11778
|
De(f("input", {
|
|
11773
11779
|
"onUpdate:modelValue": _[1] || (_[1] = (I) => m.value = I),
|
|
11774
11780
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11783,8 +11789,8 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11783
11789
|
])
|
|
11784
11790
|
])
|
|
11785
11791
|
]),
|
|
11786
|
-
f("div",
|
|
11787
|
-
f("label",
|
|
11792
|
+
f("div", n4, [
|
|
11793
|
+
f("label", i4, [
|
|
11788
11794
|
M(Se, {
|
|
11789
11795
|
modelValue: g.value,
|
|
11790
11796
|
"onUpdate:modelValue": _[2] || (_[2] = (I) => g.value = I),
|
|
@@ -11819,17 +11825,17 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11819
11825
|
}, {
|
|
11820
11826
|
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11821
11827
|
f("button", {
|
|
11822
|
-
style:
|
|
11828
|
+
style: pt({ background: L }),
|
|
11823
11829
|
class: "color-button",
|
|
11824
11830
|
onClick: I
|
|
11825
|
-
}, null, 12,
|
|
11831
|
+
}, null, 12, o4)
|
|
11826
11832
|
]),
|
|
11827
11833
|
_: 1
|
|
11828
11834
|
}, 8, ["color"])
|
|
11829
11835
|
])) : O("", !0)
|
|
11830
11836
|
]),
|
|
11831
|
-
f("div",
|
|
11832
|
-
M(Q(
|
|
11837
|
+
f("div", l4, [
|
|
11838
|
+
M(Q(gt), Ae({
|
|
11833
11839
|
class: "ao-project-milestone__activities",
|
|
11834
11840
|
list: l.value,
|
|
11835
11841
|
disabled: !h.isEditable,
|
|
@@ -11899,8 +11905,8 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11899
11905
|
}),
|
|
11900
11906
|
_: 1
|
|
11901
11907
|
}, 16, ["list", "disabled"]),
|
|
11902
|
-
h.isEditable ? (p(), C("div",
|
|
11903
|
-
M(
|
|
11908
|
+
h.isEditable ? (p(), C("div", r4, [
|
|
11909
|
+
M(Ct, {
|
|
11904
11910
|
"icon-name": "Add",
|
|
11905
11911
|
label: h.$t("project.activity.add"),
|
|
11906
11912
|
onClick: c
|
|
@@ -11911,7 +11917,7 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11911
11917
|
};
|
|
11912
11918
|
}
|
|
11913
11919
|
});
|
|
11914
|
-
const
|
|
11920
|
+
const u4 = /* @__PURE__ */ q({
|
|
11915
11921
|
__name: "AoProjectOverviewActivityDetails",
|
|
11916
11922
|
props: {
|
|
11917
11923
|
phaseId: {},
|
|
@@ -11998,14 +12004,14 @@ const r4 = /* @__PURE__ */ q({
|
|
|
11998
12004
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
11999
12005
|
};
|
|
12000
12006
|
}
|
|
12001
|
-
}),
|
|
12007
|
+
}), c4 = { class: "ao-col-header" }, d4 = /* @__PURE__ */ q({
|
|
12002
12008
|
__name: "AoColHeader",
|
|
12003
12009
|
props: {
|
|
12004
12010
|
title: {},
|
|
12005
12011
|
items: {}
|
|
12006
12012
|
},
|
|
12007
12013
|
setup(t) {
|
|
12008
|
-
return (e, a) => (p(), C("header",
|
|
12014
|
+
return (e, a) => (p(), C("header", c4, [
|
|
12009
12015
|
M(be, {
|
|
12010
12016
|
title: e.title,
|
|
12011
12017
|
class: "ao-col-header__title",
|
|
@@ -12021,17 +12027,17 @@ const r4 = /* @__PURE__ */ q({
|
|
|
12021
12027
|
]));
|
|
12022
12028
|
}
|
|
12023
12029
|
});
|
|
12024
|
-
function
|
|
12030
|
+
function p4(t) {
|
|
12025
12031
|
return Fi() ? (Zi(t), !0) : !1;
|
|
12026
12032
|
}
|
|
12027
12033
|
function za(t) {
|
|
12028
12034
|
return typeof t == "function" ? t() : Q(t);
|
|
12029
12035
|
}
|
|
12030
|
-
const
|
|
12036
|
+
const v4 = typeof window < "u" && typeof document < "u";
|
|
12031
12037
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12032
|
-
const
|
|
12038
|
+
const f4 = (t) => t != null, la = () => {
|
|
12033
12039
|
};
|
|
12034
|
-
function
|
|
12040
|
+
function h4(t, e) {
|
|
12035
12041
|
function a(...s) {
|
|
12036
12042
|
return new Promise((n, o) => {
|
|
12037
12043
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -12039,7 +12045,7 @@ function f4(t, e) {
|
|
|
12039
12045
|
}
|
|
12040
12046
|
return a;
|
|
12041
12047
|
}
|
|
12042
|
-
function
|
|
12048
|
+
function m4(t, e = {}) {
|
|
12043
12049
|
let a, s, n = la;
|
|
12044
12050
|
const o = (l) => {
|
|
12045
12051
|
clearTimeout(l), n(), n = la;
|
|
@@ -12055,9 +12061,9 @@ function h4(t, e = {}) {
|
|
|
12055
12061
|
});
|
|
12056
12062
|
};
|
|
12057
12063
|
}
|
|
12058
|
-
function
|
|
12059
|
-
return
|
|
12060
|
-
|
|
12064
|
+
function g4(t, e = 200, a = {}) {
|
|
12065
|
+
return h4(
|
|
12066
|
+
m4(e, a),
|
|
12061
12067
|
t
|
|
12062
12068
|
);
|
|
12063
12069
|
}
|
|
@@ -12066,27 +12072,27 @@ function bs(t) {
|
|
|
12066
12072
|
const a = za(t);
|
|
12067
12073
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12068
12074
|
}
|
|
12069
|
-
const
|
|
12070
|
-
function
|
|
12075
|
+
const C4 = v4 ? window : void 0;
|
|
12076
|
+
function _4() {
|
|
12071
12077
|
const t = x(!1), e = Lt();
|
|
12072
12078
|
return e && It(() => {
|
|
12073
12079
|
t.value = !0;
|
|
12074
12080
|
}, e), t;
|
|
12075
12081
|
}
|
|
12076
|
-
function
|
|
12077
|
-
const e =
|
|
12082
|
+
function y4(t) {
|
|
12083
|
+
const e = _4();
|
|
12078
12084
|
return A(() => (e.value, !!t()));
|
|
12079
12085
|
}
|
|
12080
|
-
function
|
|
12086
|
+
function b4(t, e, a = {}) {
|
|
12081
12087
|
const {
|
|
12082
12088
|
root: s,
|
|
12083
12089
|
rootMargin: n = "0px",
|
|
12084
12090
|
threshold: o = 0.1,
|
|
12085
|
-
window: i =
|
|
12091
|
+
window: i = C4,
|
|
12086
12092
|
immediate: l = !0
|
|
12087
|
-
} = a, r =
|
|
12093
|
+
} = a, r = y4(() => i && "IntersectionObserver" in i), c = A(() => {
|
|
12088
12094
|
const w = za(t);
|
|
12089
|
-
return (Array.isArray(w) ? w : [w]).map(bs).filter(
|
|
12095
|
+
return (Array.isArray(w) ? w : [w]).map(bs).filter(f4);
|
|
12090
12096
|
});
|
|
12091
12097
|
let u = la;
|
|
12092
12098
|
const d = x(l), v = r.value ? ce(
|
|
@@ -12110,7 +12116,7 @@ function y4(t, e, a = {}) {
|
|
|
12110
12116
|
) : la, m = () => {
|
|
12111
12117
|
u(), v(), d.value = !1;
|
|
12112
12118
|
};
|
|
12113
|
-
return
|
|
12119
|
+
return p4(m), {
|
|
12114
12120
|
isSupported: r,
|
|
12115
12121
|
isActive: d,
|
|
12116
12122
|
pause() {
|
|
@@ -12122,24 +12128,24 @@ function y4(t, e, a = {}) {
|
|
|
12122
12128
|
stop: m
|
|
12123
12129
|
};
|
|
12124
12130
|
}
|
|
12125
|
-
const
|
|
12131
|
+
const w4 = {
|
|
12126
12132
|
class: /* @__PURE__ */ X(["ao-list-kanban"])
|
|
12127
|
-
},
|
|
12133
|
+
}, $4 = { class: "ao-list-kanban__header" }, k4 = {
|
|
12128
12134
|
key: 0,
|
|
12129
12135
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
12130
|
-
},
|
|
12136
|
+
}, S4 = {
|
|
12131
12137
|
key: 1,
|
|
12132
12138
|
class: "ao-list-kanban__end"
|
|
12133
|
-
},
|
|
12139
|
+
}, A4 = {
|
|
12134
12140
|
key: 0,
|
|
12135
12141
|
class: "ao-list-kanban__no-more"
|
|
12136
|
-
},
|
|
12142
|
+
}, M4 = {
|
|
12137
12143
|
key: 1,
|
|
12138
12144
|
class: "ao-list-kanban__divider"
|
|
12139
|
-
},
|
|
12145
|
+
}, T4 = {
|
|
12140
12146
|
key: 1,
|
|
12141
12147
|
class: "ao-list-kanban__footer"
|
|
12142
|
-
},
|
|
12148
|
+
}, O4 = /* @__PURE__ */ q({
|
|
12143
12149
|
__name: "AoListKanban",
|
|
12144
12150
|
props: {
|
|
12145
12151
|
list: {},
|
|
@@ -12157,7 +12163,7 @@ const b4 = {
|
|
|
12157
12163
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
12158
12164
|
setup(t, { emit: e }) {
|
|
12159
12165
|
const a = t, s = x(!1), n = x(null);
|
|
12160
|
-
|
|
12166
|
+
b4(n, ([{ isIntersecting: u }]) => {
|
|
12161
12167
|
s.value = u;
|
|
12162
12168
|
}), ce(s, (u) => {
|
|
12163
12169
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12182,12 +12188,12 @@ const b4 = {
|
|
|
12182
12188
|
)
|
|
12183
12189
|
});
|
|
12184
12190
|
}, c = x(!1);
|
|
12185
|
-
return (u, d) => (p(), C("div",
|
|
12191
|
+
return (u, d) => (p(), C("div", w4, [
|
|
12186
12192
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12187
12193
|
var v;
|
|
12188
12194
|
return [
|
|
12189
|
-
f("div",
|
|
12190
|
-
u.title ? (p(), D(
|
|
12195
|
+
f("div", $4, [
|
|
12196
|
+
u.title ? (p(), D(d4, {
|
|
12191
12197
|
key: 0,
|
|
12192
12198
|
title: u.title,
|
|
12193
12199
|
level: 3,
|
|
@@ -12196,7 +12202,7 @@ const b4 = {
|
|
|
12196
12202
|
])
|
|
12197
12203
|
];
|
|
12198
12204
|
}) : O("", !0),
|
|
12199
|
-
M(Q(
|
|
12205
|
+
M(Q(gt), Ae({
|
|
12200
12206
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
12201
12207
|
list: u.list,
|
|
12202
12208
|
"item-key": "id",
|
|
@@ -12273,22 +12279,22 @@ const b4 = {
|
|
|
12273
12279
|
];
|
|
12274
12280
|
}),
|
|
12275
12281
|
footer: N(() => [
|
|
12276
|
-
u.isLoading ? (p(), C("div",
|
|
12282
|
+
u.isLoading ? (p(), C("div", k4, [
|
|
12277
12283
|
M(pe, { name: "Loading" })
|
|
12278
12284
|
])) : u.hasMore ? (p(), C("div", {
|
|
12279
12285
|
key: 2,
|
|
12280
12286
|
ref_key: "scrollEnd",
|
|
12281
12287
|
ref: n,
|
|
12282
12288
|
class: "ao-list-kanban__end"
|
|
12283
|
-
}, null, 512)) : (p(), C("div",
|
|
12284
|
-
u.noMoreLabel ? (p(), C("span",
|
|
12289
|
+
}, null, 512)) : (p(), C("div", S4, [
|
|
12290
|
+
u.noMoreLabel ? (p(), C("span", A4, W(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", M4)) : O("", !0)
|
|
12285
12291
|
]))
|
|
12286
12292
|
]),
|
|
12287
12293
|
_: 1
|
|
12288
12294
|
}, 16, ["class", "list", "disabled"]),
|
|
12289
|
-
u.$slots.footer || u.footerLabel ? (p(), C("div",
|
|
12295
|
+
u.$slots.footer || u.footerLabel ? (p(), C("div", T4, [
|
|
12290
12296
|
te(u.$slots, "footer", {}, () => [
|
|
12291
|
-
u.isEditable ? (p(), D(
|
|
12297
|
+
u.isEditable ? (p(), D(Ct, {
|
|
12292
12298
|
key: 0,
|
|
12293
12299
|
"icon-name": "AddBoxOutlineRounded",
|
|
12294
12300
|
label: u.footerLabel,
|
|
@@ -12299,7 +12305,7 @@ const b4 = {
|
|
|
12299
12305
|
]));
|
|
12300
12306
|
}
|
|
12301
12307
|
});
|
|
12302
|
-
const
|
|
12308
|
+
const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ q({
|
|
12303
12309
|
__name: "AoSearchField",
|
|
12304
12310
|
props: {
|
|
12305
12311
|
modelValue: {},
|
|
@@ -12311,10 +12317,10 @@ const O4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
12311
12317
|
const a = t, s = async (i) => {
|
|
12312
12318
|
const r = i.target.value;
|
|
12313
12319
|
e("update:modelValue", r, i);
|
|
12314
|
-
}, n =
|
|
12320
|
+
}, n = g4(s, a.delay), o = (i) => {
|
|
12315
12321
|
e("clear", i);
|
|
12316
12322
|
};
|
|
12317
|
-
return (i, l) => (p(), C("div",
|
|
12323
|
+
return (i, l) => (p(), C("div", E4, [
|
|
12318
12324
|
f("input", {
|
|
12319
12325
|
value: i.modelValue,
|
|
12320
12326
|
type: "text",
|
|
@@ -12323,7 +12329,7 @@ const O4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
12323
12329
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12324
12330
|
(...r) => Q(n) && Q(n)(...r)),
|
|
12325
12331
|
onKeypress: dt(s, ["enter"])
|
|
12326
|
-
}, null, 40,
|
|
12332
|
+
}, null, 40, I4),
|
|
12327
12333
|
M(pe, {
|
|
12328
12334
|
name: "SearchRounded",
|
|
12329
12335
|
class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12339,7 +12345,7 @@ const O4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
12339
12345
|
]));
|
|
12340
12346
|
}
|
|
12341
12347
|
});
|
|
12342
|
-
const
|
|
12348
|
+
const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { class: "ao-feed__body" }, D4 = /* @__PURE__ */ q({
|
|
12343
12349
|
__name: "AoFeed",
|
|
12344
12350
|
props: {
|
|
12345
12351
|
activities: {},
|
|
@@ -12363,7 +12369,7 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12363
12369
|
},
|
|
12364
12370
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "update:showsOnlyNonAssigned", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
|
|
12365
12371
|
setup(t, { emit: e }) {
|
|
12366
|
-
const a = t, { t: s } =
|
|
12372
|
+
const a = t, { t: s } = yt();
|
|
12367
12373
|
function n(k, R) {
|
|
12368
12374
|
e("toast", k, R);
|
|
12369
12375
|
}
|
|
@@ -12456,16 +12462,16 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12456
12462
|
k === "feed" ? (ee.push({ name: ye.feed }), console.log("Navigating to feed...")) : k === "overview" ? (ee.push({ name: ye.project }), console.log("Navigating to feed...")) : k === "mapping" && (ee.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12457
12463
|
}), (k, R) => {
|
|
12458
12464
|
var y;
|
|
12459
|
-
return p(), C("div",
|
|
12465
|
+
return p(), C("div", P4, [
|
|
12460
12466
|
M(ba, null, {
|
|
12461
12467
|
primary: N(() => [
|
|
12462
|
-
f("div",
|
|
12468
|
+
f("div", H4, [
|
|
12463
12469
|
M(an, {
|
|
12464
12470
|
tabs: T,
|
|
12465
12471
|
modelValue: E.value,
|
|
12466
12472
|
"onUpdate:modelValue": R[0] || (R[0] = (V) => E.value = V)
|
|
12467
12473
|
}, null, 8, ["modelValue"]),
|
|
12468
|
-
M(
|
|
12474
|
+
M(L4, {
|
|
12469
12475
|
"model-value": k.searchText,
|
|
12470
12476
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12471
12477
|
class: "ao-feed__search",
|
|
@@ -12558,8 +12564,8 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12558
12564
|
]),
|
|
12559
12565
|
_: 1
|
|
12560
12566
|
}),
|
|
12561
|
-
f("div",
|
|
12562
|
-
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(
|
|
12567
|
+
f("div", V4, [
|
|
12568
|
+
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(O4, {
|
|
12563
12569
|
key: V.id,
|
|
12564
12570
|
status: V,
|
|
12565
12571
|
list: l.value[V.id],
|
|
@@ -12613,10 +12619,10 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12613
12619
|
};
|
|
12614
12620
|
}
|
|
12615
12621
|
});
|
|
12616
|
-
const
|
|
12622
|
+
const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-mapping__body" }, R4 = { class: "ao-project-mapping-mapping__phases" }, N4 = {
|
|
12617
12623
|
key: 0,
|
|
12618
12624
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12619
|
-
},
|
|
12625
|
+
}, U4 = ["src", "alt"], F4 = /* @__PURE__ */ q({
|
|
12620
12626
|
__name: "AoMapping",
|
|
12621
12627
|
props: {
|
|
12622
12628
|
project: {},
|
|
@@ -12634,8 +12640,8 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12634
12640
|
},
|
|
12635
12641
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "copyPhaseToTemplate", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
12636
12642
|
setup(t, { emit: e }) {
|
|
12637
|
-
const a = t, { t: s } =
|
|
12638
|
-
const { name: g, rank: $ } =
|
|
12643
|
+
const a = t, { t: s } = yt(), n = () => {
|
|
12644
|
+
const { name: g, rank: $ } = Mt(a.phases, "phase", s);
|
|
12639
12645
|
e("addPhase", { name: g, rank: $, projectId: a.project.id });
|
|
12640
12646
|
}, o = (g) => {
|
|
12641
12647
|
e("updatePhase", g);
|
|
@@ -12660,7 +12666,7 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12660
12666
|
g === "feed" ? (m.push({ name: ye.feed }), console.log("Navigating to feed...")) : g === "overview" ? (m.push({ name: ye.project }), console.log("Navigating to feed...")) : g === "mapping" && (m.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12661
12667
|
}), (g, $) => (p(), C(fe, null, [
|
|
12662
12668
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12663
|
-
f("div",
|
|
12669
|
+
f("div", B4, [
|
|
12664
12670
|
M(ba, null, {
|
|
12665
12671
|
primary: N(() => [
|
|
12666
12672
|
M(an, {
|
|
@@ -12699,8 +12705,8 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12699
12705
|
]),
|
|
12700
12706
|
_: 1
|
|
12701
12707
|
}),
|
|
12702
|
-
f("div",
|
|
12703
|
-
f("div",
|
|
12708
|
+
f("div", j4, [
|
|
12709
|
+
f("div", R4, [
|
|
12704
12710
|
M(fi, {
|
|
12705
12711
|
phases: g.phases,
|
|
12706
12712
|
"closed-status": g.closedStatus,
|
|
@@ -12713,12 +12719,12 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12713
12719
|
onCopyPhaseToTemplate: r
|
|
12714
12720
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
12715
12721
|
]),
|
|
12716
|
-
g.project.architectureImage ? (p(), C("div",
|
|
12722
|
+
g.project.architectureImage ? (p(), C("div", N4, [
|
|
12717
12723
|
f("img", {
|
|
12718
12724
|
class: "architecture-image",
|
|
12719
12725
|
src: g.project.architectureImage.url,
|
|
12720
12726
|
alt: Q(s)("architectureImage.alt")
|
|
12721
|
-
}, null, 8,
|
|
12727
|
+
}, null, 8, U4)
|
|
12722
12728
|
])) : O("", !0)
|
|
12723
12729
|
])
|
|
12724
12730
|
])
|
|
@@ -12745,7 +12751,7 @@ const jt = {
|
|
|
12745
12751
|
TEMPLATES: "templates",
|
|
12746
12752
|
TEMPLATE_DETAILS: "template_details",
|
|
12747
12753
|
TEMPLATES_LIST: "templates_list"
|
|
12748
|
-
},
|
|
12754
|
+
}, i8 = (t, e = {}) => [
|
|
12749
12755
|
{
|
|
12750
12756
|
path: t,
|
|
12751
12757
|
name: jt.TEMPLATES,
|
|
@@ -12755,7 +12761,7 @@ const jt = {
|
|
|
12755
12761
|
{
|
|
12756
12762
|
path: "",
|
|
12757
12763
|
name: jt.TEMPLATES_LIST,
|
|
12758
|
-
component:
|
|
12764
|
+
component: W4
|
|
12759
12765
|
},
|
|
12760
12766
|
{
|
|
12761
12767
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12771,7 +12777,7 @@ const jt = {
|
|
|
12771
12777
|
mapping: "AoProjectMapping",
|
|
12772
12778
|
milestone: "AoMilestone",
|
|
12773
12779
|
activity: "AoActivity"
|
|
12774
|
-
},
|
|
12780
|
+
}, o8 = (t, e = {}) => [
|
|
12775
12781
|
{
|
|
12776
12782
|
path: t,
|
|
12777
12783
|
...e,
|
|
@@ -12780,7 +12786,7 @@ const jt = {
|
|
|
12780
12786
|
{
|
|
12781
12787
|
path: "",
|
|
12782
12788
|
name: ye.project,
|
|
12783
|
-
component:
|
|
12789
|
+
component: M9,
|
|
12784
12790
|
props: !0,
|
|
12785
12791
|
children: [
|
|
12786
12792
|
{
|
|
@@ -12795,7 +12801,7 @@ const jt = {
|
|
|
12795
12801
|
props: { default: !0, modal: !0 },
|
|
12796
12802
|
components: {
|
|
12797
12803
|
default: In,
|
|
12798
|
-
modal:
|
|
12804
|
+
modal: u4
|
|
12799
12805
|
}
|
|
12800
12806
|
}
|
|
12801
12807
|
]
|
|
@@ -12803,25 +12809,25 @@ const jt = {
|
|
|
12803
12809
|
{
|
|
12804
12810
|
path: "feed",
|
|
12805
12811
|
name: ye.feed,
|
|
12806
|
-
component:
|
|
12812
|
+
component: D4,
|
|
12807
12813
|
props: !0
|
|
12808
12814
|
},
|
|
12809
12815
|
{
|
|
12810
12816
|
path: "mapping",
|
|
12811
12817
|
name: ye.mapping,
|
|
12812
|
-
component:
|
|
12818
|
+
component: F4,
|
|
12813
12819
|
props: !0
|
|
12814
12820
|
}
|
|
12815
12821
|
]
|
|
12816
12822
|
}
|
|
12817
|
-
],
|
|
12823
|
+
], Z4 = { class: "ao-templates" }, W4 = /* @__PURE__ */ q({
|
|
12818
12824
|
__name: "AoTemplatesList",
|
|
12819
12825
|
props: {
|
|
12820
12826
|
templates: {}
|
|
12821
12827
|
},
|
|
12822
12828
|
emits: ["addTemplate", "updateTemplates", "updateItem", "removeItem"],
|
|
12823
12829
|
setup(t, { emit: e }) {
|
|
12824
|
-
const a = t, { t: s } =
|
|
12830
|
+
const a = t, { t: s } = yt();
|
|
12825
12831
|
ce(() => a.templates, (r, c) => {
|
|
12826
12832
|
Xe(r, c);
|
|
12827
12833
|
});
|
|
@@ -12863,7 +12869,7 @@ const jt = {
|
|
|
12863
12869
|
});
|
|
12864
12870
|
}
|
|
12865
12871
|
};
|
|
12866
|
-
return (r, c) => (p(), C("div",
|
|
12872
|
+
return (r, c) => (p(), C("div", Z4, [
|
|
12867
12873
|
M(ba, null, {
|
|
12868
12874
|
secondary: N(() => [
|
|
12869
12875
|
M(re, {
|
|
@@ -12876,7 +12882,7 @@ const jt = {
|
|
|
12876
12882
|
]),
|
|
12877
12883
|
_: 1
|
|
12878
12884
|
}),
|
|
12879
|
-
M(Q(
|
|
12885
|
+
M(Q(gt), {
|
|
12880
12886
|
"model-value": r.templates,
|
|
12881
12887
|
class: "ao-templates__list",
|
|
12882
12888
|
"item-key": "id",
|
|
@@ -12908,7 +12914,7 @@ const jt = {
|
|
|
12908
12914
|
]));
|
|
12909
12915
|
}
|
|
12910
12916
|
});
|
|
12911
|
-
const
|
|
12917
|
+
const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
12912
12918
|
__name: "AoField",
|
|
12913
12919
|
props: {
|
|
12914
12920
|
label: {},
|
|
@@ -12918,11 +12924,11 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12918
12924
|
return (e, a) => (p(), C("label", {
|
|
12919
12925
|
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12920
12926
|
}, [
|
|
12921
|
-
f("span",
|
|
12927
|
+
f("span", z4, W(e.label), 1),
|
|
12922
12928
|
te(e.$slots, "default")
|
|
12923
12929
|
], 2));
|
|
12924
12930
|
}
|
|
12925
|
-
}),
|
|
12931
|
+
}), Y4 = ["type", "value", "disabled", "readonly"], l8 = /* @__PURE__ */ q({
|
|
12926
12932
|
__name: "AoInputField",
|
|
12927
12933
|
props: {
|
|
12928
12934
|
label: { default: "" },
|
|
@@ -12939,7 +12945,7 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12939
12945
|
), n = (o) => {
|
|
12940
12946
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12941
12947
|
};
|
|
12942
|
-
return (o, i) => (p(), D(
|
|
12948
|
+
return (o, i) => (p(), D(q4, { label: o.label }, {
|
|
12943
12949
|
default: N(() => [
|
|
12944
12950
|
f("input", Ae({
|
|
12945
12951
|
class: "ao-field__input",
|
|
@@ -12949,12 +12955,12 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12949
12955
|
readonly: o.isReadonly
|
|
12950
12956
|
}, {
|
|
12951
12957
|
[Wi(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12952
|
-
}), null, 16,
|
|
12958
|
+
}), null, 16, Y4)
|
|
12953
12959
|
]),
|
|
12954
12960
|
_: 1
|
|
12955
12961
|
}, 8, ["label"]));
|
|
12956
12962
|
}
|
|
12957
|
-
}),
|
|
12963
|
+
}), x4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = ["checked", "disabled"], r8 = /* @__PURE__ */ q({
|
|
12958
12964
|
__name: "AoCheckboxField",
|
|
12959
12965
|
props: {
|
|
12960
12966
|
label: { default: "" },
|
|
@@ -12964,8 +12970,8 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12964
12970
|
},
|
|
12965
12971
|
emits: ["update:modelValue"],
|
|
12966
12972
|
setup(t) {
|
|
12967
|
-
return (e, a) => (p(), C("label",
|
|
12968
|
-
f("span",
|
|
12973
|
+
return (e, a) => (p(), C("label", x4, [
|
|
12974
|
+
f("span", K4, W(e.label), 1),
|
|
12969
12975
|
f("input", {
|
|
12970
12976
|
class: "ao-field__input",
|
|
12971
12977
|
type: "checkbox",
|
|
@@ -12978,29 +12984,29 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12978
12984
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12979
12985
|
);
|
|
12980
12986
|
})
|
|
12981
|
-
}, null, 40,
|
|
12987
|
+
}, null, 40, G4)
|
|
12982
12988
|
]));
|
|
12983
12989
|
}
|
|
12984
12990
|
});
|
|
12985
12991
|
export {
|
|
12986
12992
|
Je as AoAvatar,
|
|
12987
12993
|
gi as AoCardFeed,
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
12994
|
+
r8 as AoCheckboxField,
|
|
12995
|
+
D4 as AoFeed,
|
|
12996
|
+
q4 as AoField,
|
|
12997
|
+
l8 as AoInputField,
|
|
12992
12998
|
Se as AoMultiselect,
|
|
12993
12999
|
fi as AoProjectPhases,
|
|
12994
13000
|
Rf as AoTemplateDetails,
|
|
12995
|
-
|
|
12996
|
-
|
|
13001
|
+
t8 as AoTemplates,
|
|
13002
|
+
W4 as AoTemplatesList,
|
|
12997
13003
|
G2 as TemplateItemTypeEnum,
|
|
12998
|
-
|
|
12999
|
-
|
|
13004
|
+
s8 as activityFeedStatus,
|
|
13005
|
+
a8 as durationTypes,
|
|
13000
13006
|
Dt as feedFilterTypes,
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
|
|
13007
|
+
o8 as getProjectOverviewRoutes,
|
|
13008
|
+
i8 as getTemplateRoutes,
|
|
13009
|
+
n8 as listUpdateTypes,
|
|
13004
13010
|
Ba as milestoneStatus,
|
|
13005
13011
|
ye as projectOverviewRoutes,
|
|
13006
13012
|
Y2 as ruleComparators,
|