@26lights/orcha 0.41.73 → 0.41.75
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 +419 -411
- 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: {},
|
|
@@ -9475,10 +9481,11 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9475
9481
|
});
|
|
9476
9482
|
return (c, u) => (p(), D(os, {
|
|
9477
9483
|
class: "ao-card-project-phase",
|
|
9478
|
-
"is-clickable": c.isEditable
|
|
9484
|
+
"is-clickable": c.isEditable,
|
|
9485
|
+
color: c.color
|
|
9479
9486
|
}, fa({
|
|
9480
9487
|
default: N(() => [
|
|
9481
|
-
f("div",
|
|
9488
|
+
f("div", zf, [
|
|
9482
9489
|
M(be, {
|
|
9483
9490
|
id: c.id,
|
|
9484
9491
|
class: "ao-card-project-phase__title",
|
|
@@ -9487,25 +9494,25 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9487
9494
|
"is-editable": c.isEditable,
|
|
9488
9495
|
"onUpdate:title": s
|
|
9489
9496
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9490
|
-
n.value ? (p(), C("span",
|
|
9497
|
+
n.value ? (p(), C("span", qf, " (" + W(n.value) + ")", 1)) : O("", !0)
|
|
9491
9498
|
])
|
|
9492
9499
|
]),
|
|
9493
9500
|
footer: N(() => [
|
|
9494
|
-
f("div",
|
|
9495
|
-
o.value ? (p(), C("div",
|
|
9496
|
-
f("div",
|
|
9501
|
+
f("div", Yf, [
|
|
9502
|
+
o.value ? (p(), C("div", xf, [
|
|
9503
|
+
f("div", Kf, [
|
|
9497
9504
|
M(pe, {
|
|
9498
9505
|
name: "MountainFlagOutlineRounded",
|
|
9499
9506
|
size: "sm"
|
|
9500
9507
|
}),
|
|
9501
|
-
f("span",
|
|
9508
|
+
f("span", Gf, W(i.value) + " / " + W(o.value), 1)
|
|
9502
9509
|
]),
|
|
9503
9510
|
M(ls, {
|
|
9504
9511
|
percentages: l.value,
|
|
9505
9512
|
class: "ao-card-project-phase__progress",
|
|
9506
9513
|
color: c.color
|
|
9507
9514
|
}, null, 8, ["percentages", "color"]),
|
|
9508
|
-
c.$slots.secondary ? (p(), C("div",
|
|
9515
|
+
c.$slots.secondary ? (p(), C("div", Xf, [
|
|
9509
9516
|
te(c.$slots, "secondary")
|
|
9510
9517
|
])) : O("", !0)
|
|
9511
9518
|
])) : O("", !0),
|
|
@@ -9525,7 +9532,7 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9525
9532
|
{ lazy: !0 }
|
|
9526
9533
|
]
|
|
9527
9534
|
]) : O("", !0),
|
|
9528
|
-
f("span",
|
|
9535
|
+
f("span", Qf, W(Q(Qa)(c.deadline)), 1)
|
|
9529
9536
|
], 2)
|
|
9530
9537
|
])
|
|
9531
9538
|
]),
|
|
@@ -9534,7 +9541,7 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9534
9541
|
c.isEditable ? {
|
|
9535
9542
|
name: "header",
|
|
9536
9543
|
fn: N(() => [
|
|
9537
|
-
f("div",
|
|
9544
|
+
f("div", Wf, [
|
|
9538
9545
|
M(re, {
|
|
9539
9546
|
class: "ao-card-project-phase__archive",
|
|
9540
9547
|
color: "primary",
|
|
@@ -9553,10 +9560,10 @@ const Zf = { class: "ao-card-project-phase__header" }, Wf = { class: "ao-card-pr
|
|
|
9553
9560
|
]),
|
|
9554
9561
|
key: "0"
|
|
9555
9562
|
} : void 0
|
|
9556
|
-
]), 1032, ["is-clickable"]));
|
|
9563
|
+
]), 1032, ["is-clickable", "color"]));
|
|
9557
9564
|
}
|
|
9558
9565
|
});
|
|
9559
|
-
const
|
|
9566
|
+
const eh = /* @__PURE__ */ q({
|
|
9560
9567
|
__name: "AoBadge",
|
|
9561
9568
|
props: {
|
|
9562
9569
|
color: {}
|
|
@@ -9564,26 +9571,26 @@ const Jf = /* @__PURE__ */ q({
|
|
|
9564
9571
|
setup(t) {
|
|
9565
9572
|
return (e, a) => (p(), C("span", {
|
|
9566
9573
|
class: "aoBadge",
|
|
9567
|
-
style:
|
|
9574
|
+
style: pt({ backgroundColor: e.color })
|
|
9568
9575
|
}, null, 4));
|
|
9569
9576
|
}
|
|
9570
9577
|
});
|
|
9571
|
-
const
|
|
9578
|
+
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
9579
|
key: 0,
|
|
9573
9580
|
class: "ao-card-project-item-milestone__estimation"
|
|
9574
|
-
},
|
|
9581
|
+
}, ih = {
|
|
9575
9582
|
key: 0,
|
|
9576
9583
|
class: "ao-card-project-milestone__archive"
|
|
9577
|
-
},
|
|
9584
|
+
}, 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
9585
|
key: 1,
|
|
9579
9586
|
class: "ao-card-project-milestone__secondary"
|
|
9580
|
-
},
|
|
9587
|
+
}, dh = { class: "ao-card-project-milestone__footer" }, ph = {
|
|
9581
9588
|
key: 1,
|
|
9582
9589
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9583
|
-
},
|
|
9590
|
+
}, vh = { class: "ao-field__label" }, fh = {
|
|
9584
9591
|
key: 2,
|
|
9585
9592
|
class: "ao-card-project-milestone__assignee"
|
|
9586
|
-
},
|
|
9593
|
+
}, hh = /* @__PURE__ */ q({
|
|
9587
9594
|
__name: "AoCardProjectItemMilestone",
|
|
9588
9595
|
props: {
|
|
9589
9596
|
id: {},
|
|
@@ -9624,15 +9631,15 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9624
9631
|
"is-clickable": !r.readonly,
|
|
9625
9632
|
"tag-name": "li",
|
|
9626
9633
|
"is-selected": r.isSelected,
|
|
9627
|
-
|
|
9634
|
+
color: r.phaseColor
|
|
9628
9635
|
}, {
|
|
9629
9636
|
default: N(() => [
|
|
9630
|
-
f("div",
|
|
9631
|
-
f("div",
|
|
9632
|
-
M(
|
|
9637
|
+
f("div", th, [
|
|
9638
|
+
f("div", ah, [
|
|
9639
|
+
M(eh, {
|
|
9633
9640
|
color: r.color || ""
|
|
9634
9641
|
}, null, 8, ["color"]),
|
|
9635
|
-
f("div",
|
|
9642
|
+
f("div", sh, [
|
|
9636
9643
|
M(be, {
|
|
9637
9644
|
id: r.id,
|
|
9638
9645
|
title: r.name || "",
|
|
@@ -9641,10 +9648,10 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9641
9648
|
class: "ao-card-project-milestone__title",
|
|
9642
9649
|
"onUpdate:title": l
|
|
9643
9650
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9644
|
-
s.value ? (p(), C("span",
|
|
9651
|
+
s.value ? (p(), C("span", nh, " (" + W(s.value) + ")", 1)) : O("", !0)
|
|
9645
9652
|
])
|
|
9646
9653
|
]),
|
|
9647
|
-
!r.readonly && r.isEditable ? (p(), C("div",
|
|
9654
|
+
!r.readonly && r.isEditable ? (p(), C("div", ih, [
|
|
9648
9655
|
M(re, {
|
|
9649
9656
|
color: r.isSelected ? void 0 : "primary",
|
|
9650
9657
|
variant: "ghost",
|
|
@@ -9660,15 +9667,15 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9660
9667
|
}, null, 8, ["color", "label"])
|
|
9661
9668
|
])) : O("", !0)
|
|
9662
9669
|
]),
|
|
9663
|
-
f("div",
|
|
9664
|
-
f("div",
|
|
9670
|
+
f("div", oh, [
|
|
9671
|
+
f("div", lh, [
|
|
9665
9672
|
n.value ? (p(), C(fe, { key: 0 }, [
|
|
9666
|
-
f("div",
|
|
9673
|
+
f("div", rh, [
|
|
9667
9674
|
M(pe, {
|
|
9668
9675
|
name: "SelectCheckBox",
|
|
9669
9676
|
size: "sm"
|
|
9670
9677
|
}),
|
|
9671
|
-
f("span",
|
|
9678
|
+
f("span", uh, W(o.value) + " / " + W(n.value), 1)
|
|
9672
9679
|
]),
|
|
9673
9680
|
M(ls, {
|
|
9674
9681
|
percentages: i.value,
|
|
@@ -9676,14 +9683,14 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9676
9683
|
class: "ao-card-project-milestone__progress"
|
|
9677
9684
|
}, null, 8, ["percentages", "color"])
|
|
9678
9685
|
], 64)) : O("", !0),
|
|
9679
|
-
r.$slots.secondary ? (p(), C("div",
|
|
9686
|
+
r.$slots.secondary ? (p(), C("div", ch, [
|
|
9680
9687
|
te(r.$slots, "secondary")
|
|
9681
9688
|
])) : O("", !0)
|
|
9682
9689
|
])
|
|
9683
9690
|
])
|
|
9684
9691
|
]),
|
|
9685
9692
|
footer: N(() => [
|
|
9686
|
-
f("div",
|
|
9693
|
+
f("div", dh, [
|
|
9687
9694
|
r.important ? (p(), D(pe, {
|
|
9688
9695
|
key: 0,
|
|
9689
9696
|
name: "FlagRounded",
|
|
@@ -9692,10 +9699,10 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9692
9699
|
),
|
|
9693
9700
|
size: "sm"
|
|
9694
9701
|
}, null, 8, ["class"])) : O("", !0),
|
|
9695
|
-
r.deadline ? (p(), C("label",
|
|
9696
|
-
f("span",
|
|
9702
|
+
r.deadline ? (p(), C("label", ph, [
|
|
9703
|
+
f("span", vh, W(Q(Qa)(r.deadline)), 1)
|
|
9697
9704
|
])) : O("", !0),
|
|
9698
|
-
r.assignee ? (p(), C("div",
|
|
9705
|
+
r.assignee ? (p(), C("div", fh, [
|
|
9699
9706
|
M(Je, {
|
|
9700
9707
|
"user-name": Q(Kn)(r.assignee),
|
|
9701
9708
|
"avatar-url": r.assignee.avatarUrl,
|
|
@@ -9706,7 +9713,7 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9706
9713
|
])
|
|
9707
9714
|
]),
|
|
9708
9715
|
_: 3
|
|
9709
|
-
}, 8, ["class", "is-clickable", "is-selected", "
|
|
9716
|
+
}, 8, ["class", "is-clickable", "is-selected", "color"]));
|
|
9710
9717
|
}
|
|
9711
9718
|
});
|
|
9712
9719
|
/*!
|
|
@@ -9714,10 +9721,10 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9714
9721
|
* (c) 2023
|
|
9715
9722
|
* @license MIT
|
|
9716
9723
|
*/
|
|
9717
|
-
function
|
|
9724
|
+
function kt(t) {
|
|
9718
9725
|
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 } =
|
|
9726
|
+
/#/.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);
|
|
9727
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } = Ch(e);
|
|
9721
9728
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: l, v: r };
|
|
9722
9729
|
}
|
|
9723
9730
|
function xs(t) {
|
|
@@ -9728,11 +9735,11 @@ function Ms(t, e, a, s, n, o) {
|
|
|
9728
9735
|
const i = t === "l", l = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
9729
9736
|
l.addColorStop(0.01, n), l.addColorStop(0.99, o), e.fillStyle = l, e.fillRect(0, 0, a, s);
|
|
9730
9737
|
}
|
|
9731
|
-
function
|
|
9738
|
+
function mh({ r: t, g: e, b: a }, s) {
|
|
9732
9739
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
9733
9740
|
return s ? o.toUpperCase() : o;
|
|
9734
9741
|
}
|
|
9735
|
-
function
|
|
9742
|
+
function gh(t) {
|
|
9736
9743
|
t = t.slice(1);
|
|
9737
9744
|
const e = (a) => parseInt(a, 16) || 0;
|
|
9738
9745
|
return {
|
|
@@ -9749,7 +9756,7 @@ function En(t) {
|
|
|
9749
9756
|
a: Number(t[3] ? t[3] : 1)
|
|
9750
9757
|
}) : t;
|
|
9751
9758
|
}
|
|
9752
|
-
function
|
|
9759
|
+
function Ch({ r: t, g: e, b: a }) {
|
|
9753
9760
|
t = t / 255, e = e / 255, a = a / 255;
|
|
9754
9761
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
9755
9762
|
let i = 0;
|
|
@@ -9816,8 +9823,8 @@ var Ks = q({
|
|
|
9816
9823
|
}
|
|
9817
9824
|
}
|
|
9818
9825
|
});
|
|
9819
|
-
const
|
|
9820
|
-
function
|
|
9826
|
+
const _h = { ref: "canvasSaturation" };
|
|
9827
|
+
function yh(t, e, a, s, n, o) {
|
|
9821
9828
|
return p(), D(
|
|
9822
9829
|
"div",
|
|
9823
9830
|
{
|
|
@@ -9827,7 +9834,7 @@ function _h(t, e, a, s, n, o) {
|
|
|
9827
9834
|
[
|
|
9828
9835
|
M(
|
|
9829
9836
|
"canvas",
|
|
9830
|
-
|
|
9837
|
+
_h,
|
|
9831
9838
|
null,
|
|
9832
9839
|
512
|
|
9833
9840
|
/* NEED_PATCH */
|
|
@@ -9847,7 +9854,7 @@ function _h(t, e, a, s, n, o) {
|
|
|
9847
9854
|
/* HYDRATE_EVENTS */
|
|
9848
9855
|
);
|
|
9849
9856
|
}
|
|
9850
|
-
Ks.render =
|
|
9857
|
+
Ks.render = yh;
|
|
9851
9858
|
Ks.__file = "src/color/Saturation.vue";
|
|
9852
9859
|
var Gs = q({
|
|
9853
9860
|
props: {
|
|
@@ -9902,8 +9909,8 @@ var Gs = q({
|
|
|
9902
9909
|
}
|
|
9903
9910
|
}
|
|
9904
9911
|
});
|
|
9905
|
-
const
|
|
9906
|
-
function
|
|
9912
|
+
const bh = { ref: "canvasHue" };
|
|
9913
|
+
function wh(t, e, a, s, n, o) {
|
|
9907
9914
|
return p(), D(
|
|
9908
9915
|
"div",
|
|
9909
9916
|
{
|
|
@@ -9913,7 +9920,7 @@ function bh(t, e, a, s, n, o) {
|
|
|
9913
9920
|
[
|
|
9914
9921
|
M(
|
|
9915
9922
|
"canvas",
|
|
9916
|
-
|
|
9923
|
+
bh,
|
|
9917
9924
|
null,
|
|
9918
9925
|
512
|
|
9919
9926
|
/* NEED_PATCH */
|
|
@@ -9933,7 +9940,7 @@ function bh(t, e, a, s, n, o) {
|
|
|
9933
9940
|
/* HYDRATE_EVENTS */
|
|
9934
9941
|
);
|
|
9935
9942
|
}
|
|
9936
|
-
Gs.render =
|
|
9943
|
+
Gs.render = wh;
|
|
9937
9944
|
Gs.__file = "src/color/Hue.vue";
|
|
9938
9945
|
var Xs = q({
|
|
9939
9946
|
props: {
|
|
@@ -9997,8 +10004,8 @@ var Xs = q({
|
|
|
9997
10004
|
}
|
|
9998
10005
|
}
|
|
9999
10006
|
});
|
|
10000
|
-
const
|
|
10001
|
-
function
|
|
10007
|
+
const $h = { ref: "canvasAlpha" };
|
|
10008
|
+
function kh(t, e, a, s, n, o) {
|
|
10002
10009
|
return p(), D(
|
|
10003
10010
|
"div",
|
|
10004
10011
|
{
|
|
@@ -10008,7 +10015,7 @@ function $h(t, e, a, s, n, o) {
|
|
|
10008
10015
|
[
|
|
10009
10016
|
M(
|
|
10010
10017
|
"canvas",
|
|
10011
|
-
|
|
10018
|
+
$h,
|
|
10012
10019
|
null,
|
|
10013
10020
|
512
|
|
10014
10021
|
/* NEED_PATCH */
|
|
@@ -10028,7 +10035,7 @@ function $h(t, e, a, s, n, o) {
|
|
|
10028
10035
|
/* HYDRATE_EVENTS */
|
|
10029
10036
|
);
|
|
10030
10037
|
}
|
|
10031
|
-
Xs.render =
|
|
10038
|
+
Xs.render = kh;
|
|
10032
10039
|
Xs.__file = "src/color/Alpha.vue";
|
|
10033
10040
|
var Qs = q({
|
|
10034
10041
|
props: {
|
|
@@ -10065,10 +10072,10 @@ var Qs = q({
|
|
|
10065
10072
|
}
|
|
10066
10073
|
}
|
|
10067
10074
|
});
|
|
10068
|
-
function
|
|
10075
|
+
function Sh(t, e, a, s, n, o) {
|
|
10069
10076
|
return p(), D("canvas");
|
|
10070
10077
|
}
|
|
10071
|
-
Qs.render =
|
|
10078
|
+
Qs.render = Sh;
|
|
10072
10079
|
Qs.__file = "src/color/Preview.vue";
|
|
10073
10080
|
var Js = q({
|
|
10074
10081
|
props: {
|
|
@@ -10131,19 +10138,19 @@ var Js = q({
|
|
|
10131
10138
|
}
|
|
10132
10139
|
}
|
|
10133
10140
|
});
|
|
10134
|
-
const
|
|
10141
|
+
const Ah = /* @__PURE__ */ M(
|
|
10135
10142
|
"path",
|
|
10136
10143
|
{ 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
10144
|
null,
|
|
10138
10145
|
-1
|
|
10139
10146
|
/* HOISTED */
|
|
10140
|
-
),
|
|
10147
|
+
), Mh = {
|
|
10141
10148
|
key: 1,
|
|
10142
10149
|
class: "sucker",
|
|
10143
10150
|
viewBox: "-16 -16 68 68",
|
|
10144
10151
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10145
10152
|
stroke: "#9099a4"
|
|
10146
|
-
},
|
|
10153
|
+
}, Th = /* @__PURE__ */ M(
|
|
10147
10154
|
"g",
|
|
10148
10155
|
{
|
|
10149
10156
|
fill: "none",
|
|
@@ -10175,7 +10182,7 @@ const Sh = /* @__PURE__ */ M(
|
|
|
10175
10182
|
-1
|
|
10176
10183
|
/* HOISTED */
|
|
10177
10184
|
);
|
|
10178
|
-
function
|
|
10185
|
+
function Oh(t, e, a, s, n, o) {
|
|
10179
10186
|
return p(), D("div", null, [
|
|
10180
10187
|
t.isSucking ? O("v-if", !0) : (p(), D(
|
|
10181
10188
|
"svg",
|
|
@@ -10187,17 +10194,17 @@ function Th(t, e, a, s, n, o) {
|
|
|
10187
10194
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10188
10195
|
},
|
|
10189
10196
|
[
|
|
10190
|
-
|
|
10197
|
+
Ah
|
|
10191
10198
|
],
|
|
10192
10199
|
2
|
|
10193
10200
|
/* CLASS */
|
|
10194
10201
|
)),
|
|
10195
|
-
t.isSucking ? (p(), D("svg",
|
|
10196
|
-
|
|
10202
|
+
t.isSucking ? (p(), D("svg", Mh, [
|
|
10203
|
+
Th
|
|
10197
10204
|
])) : O("v-if", !0)
|
|
10198
10205
|
]);
|
|
10199
10206
|
}
|
|
10200
|
-
Js.render =
|
|
10207
|
+
Js.render = Oh;
|
|
10201
10208
|
Js.__file = "src/color/Sucker.vue";
|
|
10202
10209
|
var en = q({
|
|
10203
10210
|
props: {
|
|
@@ -10230,12 +10237,12 @@ var en = q({
|
|
|
10230
10237
|
};
|
|
10231
10238
|
}
|
|
10232
10239
|
});
|
|
10233
|
-
const
|
|
10234
|
-
function
|
|
10235
|
-
return p(), D("div",
|
|
10240
|
+
const Eh = { class: "color-type" }, Ih = { class: "name" };
|
|
10241
|
+
function Lh(t, e, a, s, n, o) {
|
|
10242
|
+
return p(), D("div", Eh, [
|
|
10236
10243
|
M(
|
|
10237
10244
|
"span",
|
|
10238
|
-
|
|
10245
|
+
Ih,
|
|
10239
10246
|
W(t.name),
|
|
10240
10247
|
1
|
|
10241
10248
|
/* TEXT */
|
|
@@ -10256,7 +10263,7 @@ function Ih(t, e, a, s, n, o) {
|
|
|
10256
10263
|
])
|
|
10257
10264
|
]);
|
|
10258
10265
|
}
|
|
10259
|
-
en.render =
|
|
10266
|
+
en.render = Lh;
|
|
10260
10267
|
en.__file = "src/color/Box.vue";
|
|
10261
10268
|
var tn = q({
|
|
10262
10269
|
name: "ColorPicker",
|
|
@@ -10298,13 +10305,13 @@ var tn = q({
|
|
|
10298
10305
|
};
|
|
10299
10306
|
}
|
|
10300
10307
|
});
|
|
10301
|
-
const
|
|
10308
|
+
const Ph = { class: "colors" }, Hh = {
|
|
10302
10309
|
key: 0,
|
|
10303
10310
|
class: "colors history"
|
|
10304
10311
|
};
|
|
10305
|
-
function
|
|
10312
|
+
function Vh(t, e, a, s, n, o) {
|
|
10306
10313
|
return p(), D("div", null, [
|
|
10307
|
-
M("ul",
|
|
10314
|
+
M("ul", Ph, [
|
|
10308
10315
|
(p(!0), D(
|
|
10309
10316
|
fe,
|
|
10310
10317
|
null,
|
|
@@ -10338,7 +10345,7 @@ function Hh(t, e, a, s, n, o) {
|
|
|
10338
10345
|
/* KEYED_FRAGMENT */
|
|
10339
10346
|
))
|
|
10340
10347
|
]),
|
|
10341
|
-
t.colorsHistory.length ? (p(), D("ul",
|
|
10348
|
+
t.colorsHistory.length ? (p(), D("ul", Hh, [
|
|
10342
10349
|
(p(!0), D(
|
|
10343
10350
|
fe,
|
|
10344
10351
|
null,
|
|
@@ -10374,7 +10381,7 @@ function Hh(t, e, a, s, n, o) {
|
|
|
10374
10381
|
])) : O("v-if", !0)
|
|
10375
10382
|
]);
|
|
10376
10383
|
}
|
|
10377
|
-
tn.render =
|
|
10384
|
+
tn.render = Vh;
|
|
10378
10385
|
tn.__file = "src/color/Colors.vue";
|
|
10379
10386
|
var Ut = q({
|
|
10380
10387
|
components: {
|
|
@@ -10485,11 +10492,11 @@ var Ut = q({
|
|
|
10485
10492
|
return `rgba(${this.rgbaStringShort})`;
|
|
10486
10493
|
},
|
|
10487
10494
|
hexString() {
|
|
10488
|
-
return
|
|
10495
|
+
return mh(this.rgba, !0);
|
|
10489
10496
|
}
|
|
10490
10497
|
},
|
|
10491
10498
|
created() {
|
|
10492
|
-
Object.assign(this,
|
|
10499
|
+
Object.assign(this, kt(this.color)), this.setText(), this.$watch("rgba", () => {
|
|
10493
10500
|
this.$emit("changeColor", {
|
|
10494
10501
|
rgba: this.rgba,
|
|
10495
10502
|
hsv: this.hsv,
|
|
@@ -10499,7 +10506,7 @@ var Ut = q({
|
|
|
10499
10506
|
},
|
|
10500
10507
|
methods: {
|
|
10501
10508
|
selectSaturation(t) {
|
|
10502
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
10509
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
|
|
10503
10510
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText();
|
|
10504
10511
|
},
|
|
10505
10512
|
handleFocus(t) {
|
|
@@ -10509,7 +10516,7 @@ var Ut = q({
|
|
|
10509
10516
|
this.$emit("inputBlur", t);
|
|
10510
10517
|
},
|
|
10511
10518
|
selectHue(t) {
|
|
10512
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
10519
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
|
|
10513
10520
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText(), this.$nextTick(() => {
|
|
10514
10521
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide();
|
|
10515
10522
|
});
|
|
@@ -10518,13 +10525,13 @@ var Ut = q({
|
|
|
10518
10525
|
this.a = t, this.setText();
|
|
10519
10526
|
},
|
|
10520
10527
|
inputHex(t) {
|
|
10521
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10528
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10522
10529
|
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
10530
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10524
10531
|
});
|
|
10525
10532
|
},
|
|
10526
10533
|
inputRgba(t) {
|
|
10527
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10534
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10528
10535
|
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
10536
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10530
10537
|
});
|
|
@@ -10536,21 +10543,21 @@ var Ut = q({
|
|
|
10536
10543
|
this.$emit("openSucker", t);
|
|
10537
10544
|
},
|
|
10538
10545
|
selectSucker(t) {
|
|
10539
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10546
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10540
10547
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
10541
10548
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10542
10549
|
});
|
|
10543
10550
|
},
|
|
10544
10551
|
selectColor(t) {
|
|
10545
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10552
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10546
10553
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
10547
10554
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10548
10555
|
});
|
|
10549
10556
|
}
|
|
10550
10557
|
}
|
|
10551
10558
|
});
|
|
10552
|
-
const
|
|
10553
|
-
function
|
|
10559
|
+
const Dh = { class: "color-set" };
|
|
10560
|
+
function Bh(t, e, a, s, n, o) {
|
|
10554
10561
|
const i = rt("Saturation"), l = rt("Hue"), r = rt("Alpha"), c = rt("Preview"), u = rt("Sucker"), d = rt("Box"), v = rt("Colors");
|
|
10555
10562
|
return p(), D(
|
|
10556
10563
|
"div",
|
|
@@ -10559,7 +10566,7 @@ function Dh(t, e, a, s, n, o) {
|
|
|
10559
10566
|
style: { width: t.totalWidth + "px" }
|
|
10560
10567
|
},
|
|
10561
10568
|
[
|
|
10562
|
-
M("div",
|
|
10569
|
+
M("div", Dh, [
|
|
10563
10570
|
M(i, {
|
|
10564
10571
|
ref: "saturation",
|
|
10565
10572
|
color: t.rgbString,
|
|
@@ -10633,12 +10640,12 @@ function Dh(t, e, a, s, n, o) {
|
|
|
10633
10640
|
/* CLASS, STYLE */
|
|
10634
10641
|
);
|
|
10635
10642
|
}
|
|
10636
|
-
Ut.render =
|
|
10643
|
+
Ut.render = Bh;
|
|
10637
10644
|
Ut.__file = "src/color/ColorPicker.vue";
|
|
10638
10645
|
Ut.install = (t) => {
|
|
10639
10646
|
t.component(Ut.name, Ut);
|
|
10640
10647
|
};
|
|
10641
|
-
const
|
|
10648
|
+
const jh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
10642
10649
|
__name: "AoColorPicker",
|
|
10643
10650
|
props: {
|
|
10644
10651
|
color: {}
|
|
@@ -10660,7 +10667,7 @@ const Bh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10660
10667
|
const { r, g: c, b: u, a: d } = l.rgba, v = `rgba(${r}, ${c}, ${u}, ${d})`;
|
|
10661
10668
|
console.log("COLOR"), console.log(v), console.log(l), e("update:color", v);
|
|
10662
10669
|
};
|
|
10663
|
-
return (l, r) => (p(), C("div",
|
|
10670
|
+
return (l, r) => (p(), C("div", jh, [
|
|
10664
10671
|
te(l.$slots, "clickable", {
|
|
10665
10672
|
openPicker: n,
|
|
10666
10673
|
bgColor: l.color
|
|
@@ -10680,16 +10687,16 @@ const Bh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10680
10687
|
]));
|
|
10681
10688
|
}
|
|
10682
10689
|
});
|
|
10683
|
-
const
|
|
10690
|
+
const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao-card-project-item__title-line" }, Uh = {
|
|
10684
10691
|
key: 0,
|
|
10685
10692
|
class: "ao-card-project-item-phase__estimation"
|
|
10686
|
-
},
|
|
10693
|
+
}, Fh = { class: "ao-mapping-card-project-phase__footer" }, Zh = {
|
|
10687
10694
|
key: 0,
|
|
10688
10695
|
class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
|
|
10689
|
-
},
|
|
10696
|
+
}, Wh = { class: "ao-mapping-card-project-phase__subitem" }, zh = { class: "ao-mapping-card-project-phase__subitem" }, qh = {
|
|
10690
10697
|
key: 0,
|
|
10691
10698
|
class: "ao-mapping-card-project-phase__secondary"
|
|
10692
|
-
},
|
|
10699
|
+
}, Yh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, xh = /* @__PURE__ */ q({
|
|
10693
10700
|
__name: "AoCondensedCardProjectItemPhase",
|
|
10694
10701
|
props: {
|
|
10695
10702
|
id: {},
|
|
@@ -10743,10 +10750,11 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10743
10750
|
M(os, {
|
|
10744
10751
|
class: "ao-mapping-card-project-phase",
|
|
10745
10752
|
"is-clickable": d.isEditable,
|
|
10753
|
+
color: w,
|
|
10746
10754
|
onClick: (b) => u(b, m)
|
|
10747
10755
|
}, fa({
|
|
10748
10756
|
default: N(() => [
|
|
10749
|
-
f("div",
|
|
10757
|
+
f("div", Nh, [
|
|
10750
10758
|
M(be, {
|
|
10751
10759
|
id: d.id,
|
|
10752
10760
|
class: "ao-mapping-card-project-phase__title",
|
|
@@ -10755,25 +10763,25 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10755
10763
|
"is-editable": d.isEditable,
|
|
10756
10764
|
"onUpdate:title": s
|
|
10757
10765
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10758
|
-
n.value ? (p(), C("span",
|
|
10766
|
+
n.value ? (p(), C("span", Uh, " (" + W(n.value) + ")", 1)) : O("", !0)
|
|
10759
10767
|
])
|
|
10760
10768
|
]),
|
|
10761
10769
|
footer: N(() => [
|
|
10762
|
-
f("div",
|
|
10763
|
-
o.value ? (p(), C("div",
|
|
10764
|
-
f("div",
|
|
10770
|
+
f("div", Fh, [
|
|
10771
|
+
o.value ? (p(), C("div", Zh, [
|
|
10772
|
+
f("div", Wh, [
|
|
10765
10773
|
M(pe, {
|
|
10766
10774
|
name: "MountainFlagOutlineRounded",
|
|
10767
10775
|
size: "sm"
|
|
10768
10776
|
}),
|
|
10769
|
-
f("span",
|
|
10777
|
+
f("span", zh, W(i.value) + " / " + W(o.value), 1)
|
|
10770
10778
|
]),
|
|
10771
10779
|
M(ls, {
|
|
10772
10780
|
percentages: l.value,
|
|
10773
10781
|
class: "ao-mapping-card-project-phase__progress",
|
|
10774
10782
|
color: c.value
|
|
10775
10783
|
}, null, 8, ["percentages", "color"]),
|
|
10776
|
-
d.$slots.secondary ? (p(), C("div",
|
|
10784
|
+
d.$slots.secondary ? (p(), C("div", qh, [
|
|
10777
10785
|
te(d.$slots, "secondary")
|
|
10778
10786
|
])) : O("", !0)
|
|
10779
10787
|
])) : O("", !0),
|
|
@@ -10793,7 +10801,7 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10793
10801
|
{ lazy: !0 }
|
|
10794
10802
|
]
|
|
10795
10803
|
]) : O("", !0),
|
|
10796
|
-
f("span",
|
|
10804
|
+
f("span", Yh, W(Q(Qa)(d.deadline)), 1)
|
|
10797
10805
|
], 2)
|
|
10798
10806
|
])
|
|
10799
10807
|
]),
|
|
@@ -10802,7 +10810,7 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10802
10810
|
d.isEditable ? {
|
|
10803
10811
|
name: "header",
|
|
10804
10812
|
fn: N(() => [
|
|
10805
|
-
f("div",
|
|
10813
|
+
f("div", Rh, [
|
|
10806
10814
|
M(re, {
|
|
10807
10815
|
class: "ao-mapping-card-project-phase__archive",
|
|
10808
10816
|
color: "primary",
|
|
@@ -10821,25 +10829,25 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10821
10829
|
]),
|
|
10822
10830
|
key: "0"
|
|
10823
10831
|
} : void 0
|
|
10824
|
-
]), 1032, ["is-clickable", "onClick"])
|
|
10832
|
+
]), 1032, ["is-clickable", "color", "onClick"])
|
|
10825
10833
|
]),
|
|
10826
10834
|
_: 3
|
|
10827
10835
|
}, 8, ["color"]));
|
|
10828
10836
|
}
|
|
10829
10837
|
});
|
|
10830
|
-
const
|
|
10838
|
+
const Kh = { class: "ao-project-phase" }, Gh = {
|
|
10831
10839
|
key: 0,
|
|
10832
10840
|
class: "ao-project-phase__drag ao-card__drag"
|
|
10833
|
-
},
|
|
10841
|
+
}, Xh = {
|
|
10834
10842
|
key: 1,
|
|
10835
10843
|
class: "ao-project-phase__col-phase"
|
|
10836
|
-
},
|
|
10844
|
+
}, Qh = {
|
|
10837
10845
|
key: 2,
|
|
10838
10846
|
class: "ao-mapping-project-phase__col-phase"
|
|
10839
|
-
},
|
|
10847
|
+
}, Jh = {
|
|
10840
10848
|
key: 0,
|
|
10841
10849
|
class: "ao-project-phase__col-milestones"
|
|
10842
|
-
},
|
|
10850
|
+
}, e9 = { class: "ao-project-phase__milestones-list-footer" }, t9 = /* @__PURE__ */ q({
|
|
10843
10851
|
__name: "AoProjectPhase",
|
|
10844
10852
|
props: {
|
|
10845
10853
|
phase: {},
|
|
@@ -10850,7 +10858,7 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10850
10858
|
},
|
|
10851
10859
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "updatePhase", "archivePhase", "unarchivePhase"],
|
|
10852
10860
|
setup(t, { emit: e }) {
|
|
10853
|
-
const a = t, { t: s } =
|
|
10861
|
+
const a = t, { t: s } = yt();
|
|
10854
10862
|
ce(
|
|
10855
10863
|
() => a.phase.milestones,
|
|
10856
10864
|
(h, _) => {
|
|
@@ -10868,7 +10876,7 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10868
10876
|
(h) => j3(h, a.closedStatus)
|
|
10869
10877
|
)
|
|
10870
10878
|
), r = (h) => {
|
|
10871
|
-
const { name: _, rank: P } =
|
|
10879
|
+
const { name: _, rank: P } = Mt(
|
|
10872
10880
|
l.value ?? [],
|
|
10873
10881
|
"milestone",
|
|
10874
10882
|
s
|
|
@@ -10897,19 +10905,19 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10897
10905
|
var h;
|
|
10898
10906
|
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
10907
|
});
|
|
10900
|
-
return (h, _) => (p(), C("li",
|
|
10908
|
+
return (h, _) => (p(), C("li", Kh, [
|
|
10901
10909
|
f("div", {
|
|
10902
10910
|
class: "ao-project-phases__draggable-card",
|
|
10903
|
-
style:
|
|
10911
|
+
style: pt($.value)
|
|
10904
10912
|
}, [
|
|
10905
|
-
h.isEditable ? (p(), C("div",
|
|
10913
|
+
h.isEditable ? (p(), C("div", Gh, [
|
|
10906
10914
|
M(pe, {
|
|
10907
10915
|
name: "DragIndicator",
|
|
10908
10916
|
class: "ao-project-phase__drag-handle"
|
|
10909
10917
|
})
|
|
10910
10918
|
])) : O("", !0),
|
|
10911
|
-
g.value ? (p(), C("div",
|
|
10912
|
-
M(
|
|
10919
|
+
g.value ? (p(), C("div", Qh, [
|
|
10920
|
+
M(xh, {
|
|
10913
10921
|
id: h.phase.id,
|
|
10914
10922
|
milestones: l.value,
|
|
10915
10923
|
name: h.phase.name,
|
|
@@ -10923,8 +10931,8 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10923
10931
|
onUnarchivePhase: m,
|
|
10924
10932
|
onUpdatePhase: i
|
|
10925
10933
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10926
|
-
])) : (p(), C("div",
|
|
10927
|
-
M(
|
|
10934
|
+
])) : (p(), C("div", Xh, [
|
|
10935
|
+
M(Jf, {
|
|
10928
10936
|
id: h.phase.id,
|
|
10929
10937
|
milestones: l.value,
|
|
10930
10938
|
name: h.phase.name,
|
|
@@ -10939,12 +10947,12 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10939
10947
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10940
10948
|
]))
|
|
10941
10949
|
], 4),
|
|
10942
|
-
g.value ? O("", !0) : (p(), C("div",
|
|
10950
|
+
g.value ? O("", !0) : (p(), C("div", Jh, [
|
|
10943
10951
|
f("div", {
|
|
10944
10952
|
class: "ao-project-phase__milestones",
|
|
10945
|
-
style:
|
|
10953
|
+
style: pt($.value)
|
|
10946
10954
|
}, [
|
|
10947
|
-
M(Q(
|
|
10955
|
+
M(Q(gt), Ae({
|
|
10948
10956
|
class: "ao-project-phase__milestones-list",
|
|
10949
10957
|
list: l.value,
|
|
10950
10958
|
disabled: h.readonly || !h.isEditable,
|
|
@@ -10954,7 +10962,7 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10954
10962
|
item: N(({ element: P }) => {
|
|
10955
10963
|
var I;
|
|
10956
10964
|
return [
|
|
10957
|
-
M(
|
|
10965
|
+
M(hh, {
|
|
10958
10966
|
id: P.id,
|
|
10959
10967
|
name: P.name,
|
|
10960
10968
|
color: P.color,
|
|
@@ -10982,8 +10990,8 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10982
10990
|
}),
|
|
10983
10991
|
_: 1
|
|
10984
10992
|
}, 16, ["list", "disabled"]),
|
|
10985
|
-
f("div",
|
|
10986
|
-
h.isEditable ? (p(), D(
|
|
10993
|
+
f("div", e9, [
|
|
10994
|
+
h.isEditable ? (p(), D(Ct, {
|
|
10987
10995
|
key: 0,
|
|
10988
10996
|
label: h.$t("project.milestone.add"),
|
|
10989
10997
|
class: "ao-project-phase__milestone-add",
|
|
@@ -10996,10 +11004,10 @@ const xh = { class: "ao-project-phase" }, Kh = {
|
|
|
10996
11004
|
]));
|
|
10997
11005
|
}
|
|
10998
11006
|
});
|
|
10999
|
-
const
|
|
11007
|
+
const a9 = { class: "ao-project__phases" }, s9 = {
|
|
11000
11008
|
key: 0,
|
|
11001
11009
|
class: "ao-project-phase__phases-list-footer"
|
|
11002
|
-
},
|
|
11010
|
+
}, 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
11011
|
__name: "AoProjectPhases",
|
|
11004
11012
|
props: {
|
|
11005
11013
|
phases: {},
|
|
@@ -11039,8 +11047,8 @@ const t9 = { class: "ao-project__phases" }, a9 = {
|
|
|
11039
11047
|
}, d = (v) => {
|
|
11040
11048
|
e("addPhase", v);
|
|
11041
11049
|
};
|
|
11042
|
-
return (v, m) => (p(), C("div",
|
|
11043
|
-
M(Q(
|
|
11050
|
+
return (v, m) => (p(), C("div", a9, [
|
|
11051
|
+
M(Q(gt), {
|
|
11044
11052
|
class: "ao-project-phase__phases-list",
|
|
11045
11053
|
"model-value": v.phases,
|
|
11046
11054
|
"item-key": "id",
|
|
@@ -11048,7 +11056,7 @@ const t9 = { class: "ao-project__phases" }, a9 = {
|
|
|
11048
11056
|
onChange: c
|
|
11049
11057
|
}, {
|
|
11050
11058
|
item: N(({ element: w }) => [
|
|
11051
|
-
M(
|
|
11059
|
+
M(t9, {
|
|
11052
11060
|
phase: w,
|
|
11053
11061
|
"is-editable": !v.readonly && v.isEditable,
|
|
11054
11062
|
"closed-status": v.closedStatus,
|
|
@@ -11065,22 +11073,22 @@ const t9 = { class: "ao-project__phases" }, a9 = {
|
|
|
11065
11073
|
]),
|
|
11066
11074
|
_: 1
|
|
11067
11075
|
}, 8, ["model-value"]),
|
|
11068
|
-
v.isEditable ? (p(), C("div",
|
|
11069
|
-
|
|
11070
|
-
f("div",
|
|
11071
|
-
M(
|
|
11076
|
+
v.isEditable ? (p(), C("div", s9, [
|
|
11077
|
+
n9,
|
|
11078
|
+
f("div", i9, [
|
|
11079
|
+
M(Ct, {
|
|
11072
11080
|
label: v.$t("project.phases.add"),
|
|
11073
11081
|
"icon-name": "Add",
|
|
11074
11082
|
class: "ao-project-phase__add-phase",
|
|
11075
11083
|
onClick: d
|
|
11076
11084
|
}, null, 8, ["label"])
|
|
11077
11085
|
]),
|
|
11078
|
-
|
|
11086
|
+
o9
|
|
11079
11087
|
])) : O("", !0)
|
|
11080
11088
|
]));
|
|
11081
11089
|
}
|
|
11082
11090
|
});
|
|
11083
|
-
const
|
|
11091
|
+
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
11092
|
__name: "AoAddTemplateModal",
|
|
11085
11093
|
props: {
|
|
11086
11094
|
projectId: {},
|
|
@@ -11109,8 +11117,8 @@ const o9 = ["onSubmit"], l9 = { class: "ao-add-template-modal__form-body" }, r9
|
|
|
11109
11117
|
onSubmit: ve(i, ["prevent"])
|
|
11110
11118
|
}, [
|
|
11111
11119
|
f("p", null, W(l.$t("project.template.apply.notice")), 1),
|
|
11112
|
-
f("div",
|
|
11113
|
-
f("div",
|
|
11120
|
+
f("div", r9, [
|
|
11121
|
+
f("div", u9, [
|
|
11114
11122
|
M(Se, {
|
|
11115
11123
|
value: n.value,
|
|
11116
11124
|
options: s.value,
|
|
@@ -11119,7 +11127,7 @@ const o9 = ["onSubmit"], l9 = { class: "ao-add-template-modal__form-body" }, r9
|
|
|
11119
11127
|
}, null, 8, ["value", "options"])
|
|
11120
11128
|
])
|
|
11121
11129
|
]),
|
|
11122
|
-
f("footer",
|
|
11130
|
+
f("footer", c9, [
|
|
11123
11131
|
M(re, {
|
|
11124
11132
|
label: l.$t("project.template.apply.label"),
|
|
11125
11133
|
type: "submit",
|
|
@@ -11128,13 +11136,13 @@ const o9 = ["onSubmit"], l9 = { class: "ao-add-template-modal__form-body" }, r9
|
|
|
11128
11136
|
onClick: i
|
|
11129
11137
|
}, null, 8, ["label"])
|
|
11130
11138
|
])
|
|
11131
|
-
], 40,
|
|
11139
|
+
], 40, l9)
|
|
11132
11140
|
]),
|
|
11133
11141
|
_: 1
|
|
11134
11142
|
}));
|
|
11135
11143
|
}
|
|
11136
11144
|
});
|
|
11137
|
-
const
|
|
11145
|
+
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
11146
|
__name: "AoSaveTemplateModal",
|
|
11139
11147
|
props: {
|
|
11140
11148
|
phases: {}
|
|
@@ -11160,10 +11168,10 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11160
11168
|
class: "ao-save-template-modal__form",
|
|
11161
11169
|
onSubmit: ve(o, ["prevent"])
|
|
11162
11170
|
}, [
|
|
11163
|
-
f("div",
|
|
11164
|
-
f("div",
|
|
11165
|
-
f("label",
|
|
11166
|
-
f("span",
|
|
11171
|
+
f("div", p9, [
|
|
11172
|
+
f("div", v9, [
|
|
11173
|
+
f("label", f9, [
|
|
11174
|
+
f("span", h9, W(i.$t("project.template.name.label")) + ": ", 1),
|
|
11167
11175
|
De(f("input", {
|
|
11168
11176
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11169
11177
|
type: "text"
|
|
@@ -11172,9 +11180,9 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11172
11180
|
])
|
|
11173
11181
|
])
|
|
11174
11182
|
]),
|
|
11175
|
-
f("div",
|
|
11176
|
-
f("div",
|
|
11177
|
-
f("div",
|
|
11183
|
+
f("div", m9, [
|
|
11184
|
+
f("div", g9, W(i.$t("project.template.phases.label")), 1),
|
|
11185
|
+
f("div", C9, [
|
|
11178
11186
|
(p(!0), C(fe, null, _e(a.phases, (r) => (p(), C("label", {
|
|
11179
11187
|
class: "ao-field ao-field--checkbox",
|
|
11180
11188
|
key: r.id
|
|
@@ -11183,7 +11191,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11183
11191
|
type: "checkbox",
|
|
11184
11192
|
value: r.id,
|
|
11185
11193
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => n.value = c)
|
|
11186
|
-
}, null, 8,
|
|
11194
|
+
}, null, 8, _9), [
|
|
11187
11195
|
[Ui, n.value]
|
|
11188
11196
|
]),
|
|
11189
11197
|
f("span", null, W(r.name), 1)
|
|
@@ -11191,7 +11199,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11191
11199
|
])
|
|
11192
11200
|
])
|
|
11193
11201
|
]),
|
|
11194
|
-
f("footer",
|
|
11202
|
+
f("footer", y9, [
|
|
11195
11203
|
M(re, {
|
|
11196
11204
|
label: i.$t("project.template.save.label"),
|
|
11197
11205
|
type: "submit",
|
|
@@ -11200,13 +11208,13 @@ const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9
|
|
|
11200
11208
|
onClick: o
|
|
11201
11209
|
}, null, 8, ["label"])
|
|
11202
11210
|
])
|
|
11203
|
-
], 40,
|
|
11211
|
+
], 40, d9)
|
|
11204
11212
|
]),
|
|
11205
11213
|
_: 1
|
|
11206
11214
|
}));
|
|
11207
11215
|
}
|
|
11208
11216
|
});
|
|
11209
|
-
const
|
|
11217
|
+
const b9 = q({
|
|
11210
11218
|
props: {
|
|
11211
11219
|
modelValue: {
|
|
11212
11220
|
type: [String, Number],
|
|
@@ -11224,18 +11232,18 @@ const y9 = q({
|
|
|
11224
11232
|
}
|
|
11225
11233
|
}
|
|
11226
11234
|
});
|
|
11227
|
-
const
|
|
11228
|
-
function
|
|
11229
|
-
return p(), C("div",
|
|
11235
|
+
const w9 = { class: "tabbar-wrapper" }, $9 = ["onClick"];
|
|
11236
|
+
function k9(t, e, a, s, n, o) {
|
|
11237
|
+
return p(), C("div", w9, [
|
|
11230
11238
|
(p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
|
|
11231
11239
|
key: i.value,
|
|
11232
11240
|
class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11233
11241
|
type: "button",
|
|
11234
11242
|
onClick: (l) => t.selectTab(i.value)
|
|
11235
|
-
}, W(i.label), 11,
|
|
11243
|
+
}, W(i.label), 11, $9))), 128))
|
|
11236
11244
|
]);
|
|
11237
11245
|
}
|
|
11238
|
-
const an = /* @__PURE__ */ U(
|
|
11246
|
+
const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297"]]), S9 = { class: "ao-project" }, A9 = { class: "ao-project__body" }, M9 = /* @__PURE__ */ q({
|
|
11239
11247
|
__name: "AoProjectOverviewProject",
|
|
11240
11248
|
props: {
|
|
11241
11249
|
project: {},
|
|
@@ -11253,10 +11261,10 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11253
11261
|
},
|
|
11254
11262
|
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
11263
|
setup(t, { emit: e }) {
|
|
11256
|
-
const a = t, { t: s } =
|
|
11264
|
+
const a = t, { t: s } = yt(), n = A(
|
|
11257
11265
|
() => a.phases.flatMap((T) => T.milestones)
|
|
11258
11266
|
), o = () => {
|
|
11259
|
-
const { name: T, rank: k } =
|
|
11267
|
+
const { name: T, rank: k } = Mt(a.phases, "phase", s);
|
|
11260
11268
|
e("addPhase", { name: T, rank: k, projectId: a.project.id });
|
|
11261
11269
|
}, i = (T) => {
|
|
11262
11270
|
e("updatePhase", T);
|
|
@@ -11317,7 +11325,7 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11317
11325
|
const R = rt("RouterView");
|
|
11318
11326
|
return p(), C(fe, null, [
|
|
11319
11327
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11320
|
-
f("div",
|
|
11328
|
+
f("div", S9, [
|
|
11321
11329
|
M(ba, null, {
|
|
11322
11330
|
primary: N(() => [
|
|
11323
11331
|
M(an, {
|
|
@@ -11356,7 +11364,7 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11356
11364
|
]),
|
|
11357
11365
|
_: 1
|
|
11358
11366
|
}),
|
|
11359
|
-
f("div",
|
|
11367
|
+
f("div", A9, [
|
|
11360
11368
|
M(fi, {
|
|
11361
11369
|
phases: T.phases,
|
|
11362
11370
|
"closed-status": T.closedStatus,
|
|
@@ -11413,7 +11421,7 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11413
11421
|
onRemoveComment: J
|
|
11414
11422
|
}, {
|
|
11415
11423
|
default: N(({ Component: y }) => [
|
|
11416
|
-
(p(), D(
|
|
11424
|
+
(p(), D(mt(y), null, {
|
|
11417
11425
|
default: N((V) => [
|
|
11418
11426
|
te(T.$slots, "activityDetailsBody", ha(ma(V)))
|
|
11419
11427
|
]),
|
|
@@ -11443,39 +11451,39 @@ const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297
|
|
|
11443
11451
|
};
|
|
11444
11452
|
}
|
|
11445
11453
|
});
|
|
11446
|
-
const
|
|
11454
|
+
const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
11447
11455
|
key: 1,
|
|
11448
11456
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11449
|
-
},
|
|
11457
|
+
}, E9 = {
|
|
11450
11458
|
key: 2,
|
|
11451
11459
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
11452
|
-
},
|
|
11460
|
+
}, I9 = { class: "ao-card-feed__body" }, L9 = {
|
|
11453
11461
|
key: 0,
|
|
11454
11462
|
class: "ao-card-feed__breadcrumbs"
|
|
11455
|
-
},
|
|
11463
|
+
}, P9 = {
|
|
11456
11464
|
class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
|
|
11457
|
-
},
|
|
11465
|
+
}, H9 = { class: "ao-card-feed__title-line" }, V9 = {
|
|
11458
11466
|
key: 0,
|
|
11459
11467
|
class: "ao-card-feed__slug"
|
|
11460
|
-
},
|
|
11468
|
+
}, D9 = {
|
|
11461
11469
|
key: 1,
|
|
11462
11470
|
class: "ao-card-feed__deadline"
|
|
11463
|
-
},
|
|
11471
|
+
}, B9 = { class: "ao-card-feed__footer" }, j9 = { class: "ao-card-feed__footer-row" }, R9 = { class: "ao-assignees" }, N9 = {
|
|
11464
11472
|
key: 0,
|
|
11465
11473
|
class: "ao-assignee"
|
|
11466
|
-
},
|
|
11474
|
+
}, U9 = {
|
|
11467
11475
|
key: 0,
|
|
11468
11476
|
class: "ao-card-feed__subitems"
|
|
11469
|
-
},
|
|
11477
|
+
}, F9 = {
|
|
11470
11478
|
key: 0,
|
|
11471
11479
|
class: "ao-card-feed__subitem"
|
|
11472
|
-
},
|
|
11480
|
+
}, Z9 = { class: "ao-card-feed__subitem" }, W9 = {
|
|
11473
11481
|
key: 1,
|
|
11474
11482
|
class: "ao-card-feed__subitem"
|
|
11475
|
-
},
|
|
11483
|
+
}, z9 = { class: "ao-card-feed__subitem" }, q9 = { class: "ao-card-feed__footer-row" }, Y9 = {
|
|
11476
11484
|
key: 0,
|
|
11477
11485
|
class: "ao-card-feed__progress-wrapper"
|
|
11478
|
-
},
|
|
11486
|
+
}, x9 = { class: "ao-card-feed__subitem" }, K9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */ q({
|
|
11479
11487
|
__name: "AoCardFeed",
|
|
11480
11488
|
props: {
|
|
11481
11489
|
id: {},
|
|
@@ -11518,7 +11526,7 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11518
11526
|
"is-clickable": !0
|
|
11519
11527
|
}, {
|
|
11520
11528
|
header: N(() => [
|
|
11521
|
-
f("div",
|
|
11529
|
+
f("div", T9, [
|
|
11522
11530
|
s.value ? (p(), D(ra, {
|
|
11523
11531
|
key: 0,
|
|
11524
11532
|
label: s.value,
|
|
@@ -11527,7 +11535,7 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11527
11535
|
color: m.projectColor ? void 0 : "primary",
|
|
11528
11536
|
"raw-color": n.value
|
|
11529
11537
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
11530
|
-
m.isPrivate || m.important || m.isClosed ? (p(), C("div",
|
|
11538
|
+
m.isPrivate || m.important || m.isClosed ? (p(), C("div", O9, [
|
|
11531
11539
|
m.isPrivate ? (p(), D(pe, {
|
|
11532
11540
|
key: 0,
|
|
11533
11541
|
name: "Lock",
|
|
@@ -11546,17 +11554,17 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11546
11554
|
class: "ao-card-feed__closed"
|
|
11547
11555
|
})) : O("", !0)
|
|
11548
11556
|
])) : O("", !0),
|
|
11549
|
-
m.$slots.secondary ? (p(), C("div",
|
|
11557
|
+
m.$slots.secondary ? (p(), C("div", E9, [
|
|
11550
11558
|
te(m.$slots, "secondary")
|
|
11551
11559
|
])) : O("", !0)
|
|
11552
11560
|
])
|
|
11553
11561
|
]),
|
|
11554
11562
|
default: N(() => [
|
|
11555
|
-
f("div",
|
|
11556
|
-
i.value ? (p(), C("span",
|
|
11557
|
-
f("div",
|
|
11558
|
-
f("div",
|
|
11559
|
-
m.slug ? (p(), C("span",
|
|
11563
|
+
f("div", I9, [
|
|
11564
|
+
i.value ? (p(), C("span", L9, W(i.value), 1)) : O("", !0),
|
|
11565
|
+
f("div", P9, [
|
|
11566
|
+
f("div", H9, [
|
|
11567
|
+
m.slug ? (p(), C("span", V9, W(m.slug) + ": ", 1)) : O("", !0),
|
|
11560
11568
|
M(be, {
|
|
11561
11569
|
id: m.id,
|
|
11562
11570
|
title: m.name,
|
|
@@ -11567,17 +11575,17 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11567
11575
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11568
11576
|
])
|
|
11569
11577
|
]),
|
|
11570
|
-
m.deadline ? (p(), C("span",
|
|
11578
|
+
m.deadline ? (p(), C("span", D9, W(r.value), 1)) : O("", !0)
|
|
11571
11579
|
])
|
|
11572
11580
|
]),
|
|
11573
11581
|
footer: N(() => [
|
|
11574
|
-
f("div",
|
|
11575
|
-
f("div",
|
|
11576
|
-
f("ul",
|
|
11582
|
+
f("div", B9, [
|
|
11583
|
+
f("div", j9, [
|
|
11584
|
+
f("ul", R9, [
|
|
11577
11585
|
(p(!0), C(fe, null, _e(l.value, (b) => (p(), C(fe, {
|
|
11578
11586
|
key: b.id
|
|
11579
11587
|
}, [
|
|
11580
|
-
b ? (p(), C("li",
|
|
11588
|
+
b ? (p(), C("li", N9, [
|
|
11581
11589
|
M(Je, {
|
|
11582
11590
|
"user-name": Q(Kn)(b),
|
|
11583
11591
|
"avatar-url": b.avatarUrl,
|
|
@@ -11587,31 +11595,31 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11587
11595
|
])) : O("", !0)
|
|
11588
11596
|
], 64))), 128))
|
|
11589
11597
|
]),
|
|
11590
|
-
m.comments || m.attachments ? (p(), C("ul",
|
|
11591
|
-
m.comments ? (p(), C("li",
|
|
11598
|
+
m.comments || m.attachments ? (p(), C("ul", U9, [
|
|
11599
|
+
m.comments ? (p(), C("li", F9, [
|
|
11592
11600
|
M(pe, {
|
|
11593
11601
|
name: "ChatOutline",
|
|
11594
11602
|
size: "sm"
|
|
11595
11603
|
}),
|
|
11596
|
-
f("span",
|
|
11604
|
+
f("span", Z9, W(m.comments), 1)
|
|
11597
11605
|
])) : O("", !0),
|
|
11598
|
-
m.attachments ? (p(), C("li",
|
|
11606
|
+
m.attachments ? (p(), C("li", W9, [
|
|
11599
11607
|
M(pe, {
|
|
11600
11608
|
name: "AttachFileRounded",
|
|
11601
11609
|
size: "sm"
|
|
11602
11610
|
}),
|
|
11603
|
-
f("span",
|
|
11611
|
+
f("span", z9, W(m.attachments), 1)
|
|
11604
11612
|
])) : O("", !0)
|
|
11605
11613
|
])) : O("", !0)
|
|
11606
11614
|
]),
|
|
11607
|
-
f("div",
|
|
11608
|
-
m.tasks && m.tasks.length ? (p(), C("div",
|
|
11609
|
-
f("div",
|
|
11615
|
+
f("div", q9, [
|
|
11616
|
+
m.tasks && m.tasks.length ? (p(), C("div", Y9, [
|
|
11617
|
+
f("div", x9, [
|
|
11610
11618
|
M(pe, {
|
|
11611
11619
|
name: "SelectCheckBox",
|
|
11612
11620
|
size: "sm"
|
|
11613
11621
|
}),
|
|
11614
|
-
f("span",
|
|
11622
|
+
f("span", K9, W(d.value) + " / " + W(u.value), 1)
|
|
11615
11623
|
]),
|
|
11616
11624
|
M(ls, {
|
|
11617
11625
|
percentages: v.value,
|
|
@@ -11625,10 +11633,10 @@ const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
|
11625
11633
|
}, 8, ["class"]));
|
|
11626
11634
|
}
|
|
11627
11635
|
});
|
|
11628
|
-
const
|
|
11636
|
+
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
11637
|
key: 0,
|
|
11630
11638
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11631
|
-
},
|
|
11639
|
+
}, 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
11640
|
key: 0,
|
|
11633
11641
|
class: "ao-project-milestone__footer"
|
|
11634
11642
|
}, In = /* @__PURE__ */ q({
|
|
@@ -11644,7 +11652,7 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11644
11652
|
},
|
|
11645
11653
|
emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
|
|
11646
11654
|
setup(t, { emit: e }) {
|
|
11647
|
-
const a = t, { t: s } =
|
|
11655
|
+
const a = t, { t: s } = yt(), n = A(() => {
|
|
11648
11656
|
var h;
|
|
11649
11657
|
return (h = a.phases) == null ? void 0 : h.find((_) => _.id === a.phaseId);
|
|
11650
11658
|
}), o = A(
|
|
@@ -11665,7 +11673,7 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11665
11673
|
const r = (h) => {
|
|
11666
11674
|
e("close", h);
|
|
11667
11675
|
}, c = () => {
|
|
11668
|
-
const { name: h, rank: _ } =
|
|
11676
|
+
const { name: h, rank: _ } = Mt(
|
|
11669
11677
|
l.value ?? [],
|
|
11670
11678
|
"activity",
|
|
11671
11679
|
s
|
|
@@ -11735,9 +11743,9 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11735
11743
|
});
|
|
11736
11744
|
return (h, _) => {
|
|
11737
11745
|
var P;
|
|
11738
|
-
return p(), C("div",
|
|
11739
|
-
f("header",
|
|
11740
|
-
f("div",
|
|
11746
|
+
return p(), C("div", G9, [
|
|
11747
|
+
f("header", X9, [
|
|
11748
|
+
f("div", Q9, [
|
|
11741
11749
|
M(re, {
|
|
11742
11750
|
"icon-name": "CloseRounded",
|
|
11743
11751
|
variant: "ghost",
|
|
@@ -11746,8 +11754,8 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11746
11754
|
onClick: r
|
|
11747
11755
|
})
|
|
11748
11756
|
]),
|
|
11749
|
-
f("div",
|
|
11750
|
-
f("div",
|
|
11757
|
+
f("div", J9, [
|
|
11758
|
+
f("div", e4, [
|
|
11751
11759
|
M(be, {
|
|
11752
11760
|
title: ((P = i.value) == null ? void 0 : P.name) || h.milestoneId,
|
|
11753
11761
|
level: 5
|
|
@@ -11766,9 +11774,9 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11766
11774
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11767
11775
|
])
|
|
11768
11776
|
]),
|
|
11769
|
-
i.value ? (p(), C("div",
|
|
11770
|
-
f("div",
|
|
11771
|
-
f("label",
|
|
11777
|
+
i.value ? (p(), C("div", t4, [
|
|
11778
|
+
f("div", a4, [
|
|
11779
|
+
f("label", s4, [
|
|
11772
11780
|
De(f("input", {
|
|
11773
11781
|
"onUpdate:modelValue": _[1] || (_[1] = (I) => m.value = I),
|
|
11774
11782
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11783,8 +11791,8 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11783
11791
|
])
|
|
11784
11792
|
])
|
|
11785
11793
|
]),
|
|
11786
|
-
f("div",
|
|
11787
|
-
f("label",
|
|
11794
|
+
f("div", n4, [
|
|
11795
|
+
f("label", i4, [
|
|
11788
11796
|
M(Se, {
|
|
11789
11797
|
modelValue: g.value,
|
|
11790
11798
|
"onUpdate:modelValue": _[2] || (_[2] = (I) => g.value = I),
|
|
@@ -11819,17 +11827,17 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11819
11827
|
}, {
|
|
11820
11828
|
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11821
11829
|
f("button", {
|
|
11822
|
-
style:
|
|
11830
|
+
style: pt({ background: L }),
|
|
11823
11831
|
class: "color-button",
|
|
11824
11832
|
onClick: I
|
|
11825
|
-
}, null, 12,
|
|
11833
|
+
}, null, 12, o4)
|
|
11826
11834
|
]),
|
|
11827
11835
|
_: 1
|
|
11828
11836
|
}, 8, ["color"])
|
|
11829
11837
|
])) : O("", !0)
|
|
11830
11838
|
]),
|
|
11831
|
-
f("div",
|
|
11832
|
-
M(Q(
|
|
11839
|
+
f("div", l4, [
|
|
11840
|
+
M(Q(gt), Ae({
|
|
11833
11841
|
class: "ao-project-milestone__activities",
|
|
11834
11842
|
list: l.value,
|
|
11835
11843
|
disabled: !h.isEditable,
|
|
@@ -11899,8 +11907,8 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11899
11907
|
}),
|
|
11900
11908
|
_: 1
|
|
11901
11909
|
}, 16, ["list", "disabled"]),
|
|
11902
|
-
h.isEditable ? (p(), C("div",
|
|
11903
|
-
M(
|
|
11910
|
+
h.isEditable ? (p(), C("div", r4, [
|
|
11911
|
+
M(Ct, {
|
|
11904
11912
|
"icon-name": "Add",
|
|
11905
11913
|
label: h.$t("project.activity.add"),
|
|
11906
11914
|
onClick: c
|
|
@@ -11911,7 +11919,7 @@ const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
11911
11919
|
};
|
|
11912
11920
|
}
|
|
11913
11921
|
});
|
|
11914
|
-
const
|
|
11922
|
+
const u4 = /* @__PURE__ */ q({
|
|
11915
11923
|
__name: "AoProjectOverviewActivityDetails",
|
|
11916
11924
|
props: {
|
|
11917
11925
|
phaseId: {},
|
|
@@ -11998,14 +12006,14 @@ const r4 = /* @__PURE__ */ q({
|
|
|
11998
12006
|
}, 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
12007
|
};
|
|
12000
12008
|
}
|
|
12001
|
-
}),
|
|
12009
|
+
}), c4 = { class: "ao-col-header" }, d4 = /* @__PURE__ */ q({
|
|
12002
12010
|
__name: "AoColHeader",
|
|
12003
12011
|
props: {
|
|
12004
12012
|
title: {},
|
|
12005
12013
|
items: {}
|
|
12006
12014
|
},
|
|
12007
12015
|
setup(t) {
|
|
12008
|
-
return (e, a) => (p(), C("header",
|
|
12016
|
+
return (e, a) => (p(), C("header", c4, [
|
|
12009
12017
|
M(be, {
|
|
12010
12018
|
title: e.title,
|
|
12011
12019
|
class: "ao-col-header__title",
|
|
@@ -12021,17 +12029,17 @@ const r4 = /* @__PURE__ */ q({
|
|
|
12021
12029
|
]));
|
|
12022
12030
|
}
|
|
12023
12031
|
});
|
|
12024
|
-
function
|
|
12032
|
+
function p4(t) {
|
|
12025
12033
|
return Fi() ? (Zi(t), !0) : !1;
|
|
12026
12034
|
}
|
|
12027
12035
|
function za(t) {
|
|
12028
12036
|
return typeof t == "function" ? t() : Q(t);
|
|
12029
12037
|
}
|
|
12030
|
-
const
|
|
12038
|
+
const v4 = typeof window < "u" && typeof document < "u";
|
|
12031
12039
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12032
|
-
const
|
|
12040
|
+
const f4 = (t) => t != null, la = () => {
|
|
12033
12041
|
};
|
|
12034
|
-
function
|
|
12042
|
+
function h4(t, e) {
|
|
12035
12043
|
function a(...s) {
|
|
12036
12044
|
return new Promise((n, o) => {
|
|
12037
12045
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -12039,7 +12047,7 @@ function f4(t, e) {
|
|
|
12039
12047
|
}
|
|
12040
12048
|
return a;
|
|
12041
12049
|
}
|
|
12042
|
-
function
|
|
12050
|
+
function m4(t, e = {}) {
|
|
12043
12051
|
let a, s, n = la;
|
|
12044
12052
|
const o = (l) => {
|
|
12045
12053
|
clearTimeout(l), n(), n = la;
|
|
@@ -12055,9 +12063,9 @@ function h4(t, e = {}) {
|
|
|
12055
12063
|
});
|
|
12056
12064
|
};
|
|
12057
12065
|
}
|
|
12058
|
-
function
|
|
12059
|
-
return
|
|
12060
|
-
|
|
12066
|
+
function g4(t, e = 200, a = {}) {
|
|
12067
|
+
return h4(
|
|
12068
|
+
m4(e, a),
|
|
12061
12069
|
t
|
|
12062
12070
|
);
|
|
12063
12071
|
}
|
|
@@ -12066,27 +12074,27 @@ function bs(t) {
|
|
|
12066
12074
|
const a = za(t);
|
|
12067
12075
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12068
12076
|
}
|
|
12069
|
-
const
|
|
12070
|
-
function
|
|
12077
|
+
const C4 = v4 ? window : void 0;
|
|
12078
|
+
function _4() {
|
|
12071
12079
|
const t = x(!1), e = Lt();
|
|
12072
12080
|
return e && It(() => {
|
|
12073
12081
|
t.value = !0;
|
|
12074
12082
|
}, e), t;
|
|
12075
12083
|
}
|
|
12076
|
-
function
|
|
12077
|
-
const e =
|
|
12084
|
+
function y4(t) {
|
|
12085
|
+
const e = _4();
|
|
12078
12086
|
return A(() => (e.value, !!t()));
|
|
12079
12087
|
}
|
|
12080
|
-
function
|
|
12088
|
+
function b4(t, e, a = {}) {
|
|
12081
12089
|
const {
|
|
12082
12090
|
root: s,
|
|
12083
12091
|
rootMargin: n = "0px",
|
|
12084
12092
|
threshold: o = 0.1,
|
|
12085
|
-
window: i =
|
|
12093
|
+
window: i = C4,
|
|
12086
12094
|
immediate: l = !0
|
|
12087
|
-
} = a, r =
|
|
12095
|
+
} = a, r = y4(() => i && "IntersectionObserver" in i), c = A(() => {
|
|
12088
12096
|
const w = za(t);
|
|
12089
|
-
return (Array.isArray(w) ? w : [w]).map(bs).filter(
|
|
12097
|
+
return (Array.isArray(w) ? w : [w]).map(bs).filter(f4);
|
|
12090
12098
|
});
|
|
12091
12099
|
let u = la;
|
|
12092
12100
|
const d = x(l), v = r.value ? ce(
|
|
@@ -12110,7 +12118,7 @@ function y4(t, e, a = {}) {
|
|
|
12110
12118
|
) : la, m = () => {
|
|
12111
12119
|
u(), v(), d.value = !1;
|
|
12112
12120
|
};
|
|
12113
|
-
return
|
|
12121
|
+
return p4(m), {
|
|
12114
12122
|
isSupported: r,
|
|
12115
12123
|
isActive: d,
|
|
12116
12124
|
pause() {
|
|
@@ -12122,24 +12130,24 @@ function y4(t, e, a = {}) {
|
|
|
12122
12130
|
stop: m
|
|
12123
12131
|
};
|
|
12124
12132
|
}
|
|
12125
|
-
const
|
|
12133
|
+
const w4 = {
|
|
12126
12134
|
class: /* @__PURE__ */ X(["ao-list-kanban"])
|
|
12127
|
-
},
|
|
12135
|
+
}, $4 = { class: "ao-list-kanban__header" }, k4 = {
|
|
12128
12136
|
key: 0,
|
|
12129
12137
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
12130
|
-
},
|
|
12138
|
+
}, S4 = {
|
|
12131
12139
|
key: 1,
|
|
12132
12140
|
class: "ao-list-kanban__end"
|
|
12133
|
-
},
|
|
12141
|
+
}, A4 = {
|
|
12134
12142
|
key: 0,
|
|
12135
12143
|
class: "ao-list-kanban__no-more"
|
|
12136
|
-
},
|
|
12144
|
+
}, M4 = {
|
|
12137
12145
|
key: 1,
|
|
12138
12146
|
class: "ao-list-kanban__divider"
|
|
12139
|
-
},
|
|
12147
|
+
}, T4 = {
|
|
12140
12148
|
key: 1,
|
|
12141
12149
|
class: "ao-list-kanban__footer"
|
|
12142
|
-
},
|
|
12150
|
+
}, O4 = /* @__PURE__ */ q({
|
|
12143
12151
|
__name: "AoListKanban",
|
|
12144
12152
|
props: {
|
|
12145
12153
|
list: {},
|
|
@@ -12157,7 +12165,7 @@ const b4 = {
|
|
|
12157
12165
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
12158
12166
|
setup(t, { emit: e }) {
|
|
12159
12167
|
const a = t, s = x(!1), n = x(null);
|
|
12160
|
-
|
|
12168
|
+
b4(n, ([{ isIntersecting: u }]) => {
|
|
12161
12169
|
s.value = u;
|
|
12162
12170
|
}), ce(s, (u) => {
|
|
12163
12171
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12182,12 +12190,12 @@ const b4 = {
|
|
|
12182
12190
|
)
|
|
12183
12191
|
});
|
|
12184
12192
|
}, c = x(!1);
|
|
12185
|
-
return (u, d) => (p(), C("div",
|
|
12193
|
+
return (u, d) => (p(), C("div", w4, [
|
|
12186
12194
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12187
12195
|
var v;
|
|
12188
12196
|
return [
|
|
12189
|
-
f("div",
|
|
12190
|
-
u.title ? (p(), D(
|
|
12197
|
+
f("div", $4, [
|
|
12198
|
+
u.title ? (p(), D(d4, {
|
|
12191
12199
|
key: 0,
|
|
12192
12200
|
title: u.title,
|
|
12193
12201
|
level: 3,
|
|
@@ -12196,7 +12204,7 @@ const b4 = {
|
|
|
12196
12204
|
])
|
|
12197
12205
|
];
|
|
12198
12206
|
}) : O("", !0),
|
|
12199
|
-
M(Q(
|
|
12207
|
+
M(Q(gt), Ae({
|
|
12200
12208
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
12201
12209
|
list: u.list,
|
|
12202
12210
|
"item-key": "id",
|
|
@@ -12273,22 +12281,22 @@ const b4 = {
|
|
|
12273
12281
|
];
|
|
12274
12282
|
}),
|
|
12275
12283
|
footer: N(() => [
|
|
12276
|
-
u.isLoading ? (p(), C("div",
|
|
12284
|
+
u.isLoading ? (p(), C("div", k4, [
|
|
12277
12285
|
M(pe, { name: "Loading" })
|
|
12278
12286
|
])) : u.hasMore ? (p(), C("div", {
|
|
12279
12287
|
key: 2,
|
|
12280
12288
|
ref_key: "scrollEnd",
|
|
12281
12289
|
ref: n,
|
|
12282
12290
|
class: "ao-list-kanban__end"
|
|
12283
|
-
}, null, 512)) : (p(), C("div",
|
|
12284
|
-
u.noMoreLabel ? (p(), C("span",
|
|
12291
|
+
}, null, 512)) : (p(), C("div", S4, [
|
|
12292
|
+
u.noMoreLabel ? (p(), C("span", A4, W(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", M4)) : O("", !0)
|
|
12285
12293
|
]))
|
|
12286
12294
|
]),
|
|
12287
12295
|
_: 1
|
|
12288
12296
|
}, 16, ["class", "list", "disabled"]),
|
|
12289
|
-
u.$slots.footer || u.footerLabel ? (p(), C("div",
|
|
12297
|
+
u.$slots.footer || u.footerLabel ? (p(), C("div", T4, [
|
|
12290
12298
|
te(u.$slots, "footer", {}, () => [
|
|
12291
|
-
u.isEditable ? (p(), D(
|
|
12299
|
+
u.isEditable ? (p(), D(Ct, {
|
|
12292
12300
|
key: 0,
|
|
12293
12301
|
"icon-name": "AddBoxOutlineRounded",
|
|
12294
12302
|
label: u.footerLabel,
|
|
@@ -12299,7 +12307,7 @@ const b4 = {
|
|
|
12299
12307
|
]));
|
|
12300
12308
|
}
|
|
12301
12309
|
});
|
|
12302
|
-
const
|
|
12310
|
+
const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ q({
|
|
12303
12311
|
__name: "AoSearchField",
|
|
12304
12312
|
props: {
|
|
12305
12313
|
modelValue: {},
|
|
@@ -12311,10 +12319,10 @@ const O4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
12311
12319
|
const a = t, s = async (i) => {
|
|
12312
12320
|
const r = i.target.value;
|
|
12313
12321
|
e("update:modelValue", r, i);
|
|
12314
|
-
}, n =
|
|
12322
|
+
}, n = g4(s, a.delay), o = (i) => {
|
|
12315
12323
|
e("clear", i);
|
|
12316
12324
|
};
|
|
12317
|
-
return (i, l) => (p(), C("div",
|
|
12325
|
+
return (i, l) => (p(), C("div", E4, [
|
|
12318
12326
|
f("input", {
|
|
12319
12327
|
value: i.modelValue,
|
|
12320
12328
|
type: "text",
|
|
@@ -12323,7 +12331,7 @@ const O4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
12323
12331
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12324
12332
|
(...r) => Q(n) && Q(n)(...r)),
|
|
12325
12333
|
onKeypress: dt(s, ["enter"])
|
|
12326
|
-
}, null, 40,
|
|
12334
|
+
}, null, 40, I4),
|
|
12327
12335
|
M(pe, {
|
|
12328
12336
|
name: "SearchRounded",
|
|
12329
12337
|
class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12339,7 +12347,7 @@ const O4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
12339
12347
|
]));
|
|
12340
12348
|
}
|
|
12341
12349
|
});
|
|
12342
|
-
const
|
|
12350
|
+
const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { class: "ao-feed__body" }, D4 = /* @__PURE__ */ q({
|
|
12343
12351
|
__name: "AoFeed",
|
|
12344
12352
|
props: {
|
|
12345
12353
|
activities: {},
|
|
@@ -12363,7 +12371,7 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12363
12371
|
},
|
|
12364
12372
|
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
12373
|
setup(t, { emit: e }) {
|
|
12366
|
-
const a = t, { t: s } =
|
|
12374
|
+
const a = t, { t: s } = yt();
|
|
12367
12375
|
function n(k, R) {
|
|
12368
12376
|
e("toast", k, R);
|
|
12369
12377
|
}
|
|
@@ -12456,16 +12464,16 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12456
12464
|
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
12465
|
}), (k, R) => {
|
|
12458
12466
|
var y;
|
|
12459
|
-
return p(), C("div",
|
|
12467
|
+
return p(), C("div", P4, [
|
|
12460
12468
|
M(ba, null, {
|
|
12461
12469
|
primary: N(() => [
|
|
12462
|
-
f("div",
|
|
12470
|
+
f("div", H4, [
|
|
12463
12471
|
M(an, {
|
|
12464
12472
|
tabs: T,
|
|
12465
12473
|
modelValue: E.value,
|
|
12466
12474
|
"onUpdate:modelValue": R[0] || (R[0] = (V) => E.value = V)
|
|
12467
12475
|
}, null, 8, ["modelValue"]),
|
|
12468
|
-
M(
|
|
12476
|
+
M(L4, {
|
|
12469
12477
|
"model-value": k.searchText,
|
|
12470
12478
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12471
12479
|
class: "ao-feed__search",
|
|
@@ -12558,8 +12566,8 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12558
12566
|
]),
|
|
12559
12567
|
_: 1
|
|
12560
12568
|
}),
|
|
12561
|
-
f("div",
|
|
12562
|
-
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(
|
|
12569
|
+
f("div", V4, [
|
|
12570
|
+
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(O4, {
|
|
12563
12571
|
key: V.id,
|
|
12564
12572
|
status: V,
|
|
12565
12573
|
list: l.value[V.id],
|
|
@@ -12613,10 +12621,10 @@ const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { clas
|
|
|
12613
12621
|
};
|
|
12614
12622
|
}
|
|
12615
12623
|
});
|
|
12616
|
-
const
|
|
12624
|
+
const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-mapping__body" }, R4 = { class: "ao-project-mapping-mapping__phases" }, N4 = {
|
|
12617
12625
|
key: 0,
|
|
12618
12626
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12619
|
-
},
|
|
12627
|
+
}, U4 = ["src", "alt"], F4 = /* @__PURE__ */ q({
|
|
12620
12628
|
__name: "AoMapping",
|
|
12621
12629
|
props: {
|
|
12622
12630
|
project: {},
|
|
@@ -12634,8 +12642,8 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12634
12642
|
},
|
|
12635
12643
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "copyPhaseToTemplate", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
12636
12644
|
setup(t, { emit: e }) {
|
|
12637
|
-
const a = t, { t: s } =
|
|
12638
|
-
const { name: g, rank: $ } =
|
|
12645
|
+
const a = t, { t: s } = yt(), n = () => {
|
|
12646
|
+
const { name: g, rank: $ } = Mt(a.phases, "phase", s);
|
|
12639
12647
|
e("addPhase", { name: g, rank: $, projectId: a.project.id });
|
|
12640
12648
|
}, o = (g) => {
|
|
12641
12649
|
e("updatePhase", g);
|
|
@@ -12660,7 +12668,7 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12660
12668
|
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
12669
|
}), (g, $) => (p(), C(fe, null, [
|
|
12662
12670
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12663
|
-
f("div",
|
|
12671
|
+
f("div", B4, [
|
|
12664
12672
|
M(ba, null, {
|
|
12665
12673
|
primary: N(() => [
|
|
12666
12674
|
M(an, {
|
|
@@ -12699,8 +12707,8 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12699
12707
|
]),
|
|
12700
12708
|
_: 1
|
|
12701
12709
|
}),
|
|
12702
|
-
f("div",
|
|
12703
|
-
f("div",
|
|
12710
|
+
f("div", j4, [
|
|
12711
|
+
f("div", R4, [
|
|
12704
12712
|
M(fi, {
|
|
12705
12713
|
phases: g.phases,
|
|
12706
12714
|
"closed-status": g.closedStatus,
|
|
@@ -12713,12 +12721,12 @@ const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-ma
|
|
|
12713
12721
|
onCopyPhaseToTemplate: r
|
|
12714
12722
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
12715
12723
|
]),
|
|
12716
|
-
g.project.architectureImage ? (p(), C("div",
|
|
12724
|
+
g.project.architectureImage ? (p(), C("div", N4, [
|
|
12717
12725
|
f("img", {
|
|
12718
12726
|
class: "architecture-image",
|
|
12719
12727
|
src: g.project.architectureImage.url,
|
|
12720
12728
|
alt: Q(s)("architectureImage.alt")
|
|
12721
|
-
}, null, 8,
|
|
12729
|
+
}, null, 8, U4)
|
|
12722
12730
|
])) : O("", !0)
|
|
12723
12731
|
])
|
|
12724
12732
|
])
|
|
@@ -12745,7 +12753,7 @@ const jt = {
|
|
|
12745
12753
|
TEMPLATES: "templates",
|
|
12746
12754
|
TEMPLATE_DETAILS: "template_details",
|
|
12747
12755
|
TEMPLATES_LIST: "templates_list"
|
|
12748
|
-
},
|
|
12756
|
+
}, i8 = (t, e = {}) => [
|
|
12749
12757
|
{
|
|
12750
12758
|
path: t,
|
|
12751
12759
|
name: jt.TEMPLATES,
|
|
@@ -12755,7 +12763,7 @@ const jt = {
|
|
|
12755
12763
|
{
|
|
12756
12764
|
path: "",
|
|
12757
12765
|
name: jt.TEMPLATES_LIST,
|
|
12758
|
-
component:
|
|
12766
|
+
component: W4
|
|
12759
12767
|
},
|
|
12760
12768
|
{
|
|
12761
12769
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12771,7 +12779,7 @@ const jt = {
|
|
|
12771
12779
|
mapping: "AoProjectMapping",
|
|
12772
12780
|
milestone: "AoMilestone",
|
|
12773
12781
|
activity: "AoActivity"
|
|
12774
|
-
},
|
|
12782
|
+
}, o8 = (t, e = {}) => [
|
|
12775
12783
|
{
|
|
12776
12784
|
path: t,
|
|
12777
12785
|
...e,
|
|
@@ -12780,7 +12788,7 @@ const jt = {
|
|
|
12780
12788
|
{
|
|
12781
12789
|
path: "",
|
|
12782
12790
|
name: ye.project,
|
|
12783
|
-
component:
|
|
12791
|
+
component: M9,
|
|
12784
12792
|
props: !0,
|
|
12785
12793
|
children: [
|
|
12786
12794
|
{
|
|
@@ -12795,7 +12803,7 @@ const jt = {
|
|
|
12795
12803
|
props: { default: !0, modal: !0 },
|
|
12796
12804
|
components: {
|
|
12797
12805
|
default: In,
|
|
12798
|
-
modal:
|
|
12806
|
+
modal: u4
|
|
12799
12807
|
}
|
|
12800
12808
|
}
|
|
12801
12809
|
]
|
|
@@ -12803,25 +12811,25 @@ const jt = {
|
|
|
12803
12811
|
{
|
|
12804
12812
|
path: "feed",
|
|
12805
12813
|
name: ye.feed,
|
|
12806
|
-
component:
|
|
12814
|
+
component: D4,
|
|
12807
12815
|
props: !0
|
|
12808
12816
|
},
|
|
12809
12817
|
{
|
|
12810
12818
|
path: "mapping",
|
|
12811
12819
|
name: ye.mapping,
|
|
12812
|
-
component:
|
|
12820
|
+
component: F4,
|
|
12813
12821
|
props: !0
|
|
12814
12822
|
}
|
|
12815
12823
|
]
|
|
12816
12824
|
}
|
|
12817
|
-
],
|
|
12825
|
+
], Z4 = { class: "ao-templates" }, W4 = /* @__PURE__ */ q({
|
|
12818
12826
|
__name: "AoTemplatesList",
|
|
12819
12827
|
props: {
|
|
12820
12828
|
templates: {}
|
|
12821
12829
|
},
|
|
12822
12830
|
emits: ["addTemplate", "updateTemplates", "updateItem", "removeItem"],
|
|
12823
12831
|
setup(t, { emit: e }) {
|
|
12824
|
-
const a = t, { t: s } =
|
|
12832
|
+
const a = t, { t: s } = yt();
|
|
12825
12833
|
ce(() => a.templates, (r, c) => {
|
|
12826
12834
|
Xe(r, c);
|
|
12827
12835
|
});
|
|
@@ -12863,7 +12871,7 @@ const jt = {
|
|
|
12863
12871
|
});
|
|
12864
12872
|
}
|
|
12865
12873
|
};
|
|
12866
|
-
return (r, c) => (p(), C("div",
|
|
12874
|
+
return (r, c) => (p(), C("div", Z4, [
|
|
12867
12875
|
M(ba, null, {
|
|
12868
12876
|
secondary: N(() => [
|
|
12869
12877
|
M(re, {
|
|
@@ -12876,7 +12884,7 @@ const jt = {
|
|
|
12876
12884
|
]),
|
|
12877
12885
|
_: 1
|
|
12878
12886
|
}),
|
|
12879
|
-
M(Q(
|
|
12887
|
+
M(Q(gt), {
|
|
12880
12888
|
"model-value": r.templates,
|
|
12881
12889
|
class: "ao-templates__list",
|
|
12882
12890
|
"item-key": "id",
|
|
@@ -12908,7 +12916,7 @@ const jt = {
|
|
|
12908
12916
|
]));
|
|
12909
12917
|
}
|
|
12910
12918
|
});
|
|
12911
|
-
const
|
|
12919
|
+
const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
12912
12920
|
__name: "AoField",
|
|
12913
12921
|
props: {
|
|
12914
12922
|
label: {},
|
|
@@ -12918,11 +12926,11 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12918
12926
|
return (e, a) => (p(), C("label", {
|
|
12919
12927
|
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12920
12928
|
}, [
|
|
12921
|
-
f("span",
|
|
12929
|
+
f("span", z4, W(e.label), 1),
|
|
12922
12930
|
te(e.$slots, "default")
|
|
12923
12931
|
], 2));
|
|
12924
12932
|
}
|
|
12925
|
-
}),
|
|
12933
|
+
}), Y4 = ["type", "value", "disabled", "readonly"], l8 = /* @__PURE__ */ q({
|
|
12926
12934
|
__name: "AoInputField",
|
|
12927
12935
|
props: {
|
|
12928
12936
|
label: { default: "" },
|
|
@@ -12939,7 +12947,7 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12939
12947
|
), n = (o) => {
|
|
12940
12948
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12941
12949
|
};
|
|
12942
|
-
return (o, i) => (p(), D(
|
|
12950
|
+
return (o, i) => (p(), D(q4, { label: o.label }, {
|
|
12943
12951
|
default: N(() => [
|
|
12944
12952
|
f("input", Ae({
|
|
12945
12953
|
class: "ao-field__input",
|
|
@@ -12949,12 +12957,12 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12949
12957
|
readonly: o.isReadonly
|
|
12950
12958
|
}, {
|
|
12951
12959
|
[Wi(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12952
|
-
}), null, 16,
|
|
12960
|
+
}), null, 16, Y4)
|
|
12953
12961
|
]),
|
|
12954
12962
|
_: 1
|
|
12955
12963
|
}, 8, ["label"]));
|
|
12956
12964
|
}
|
|
12957
|
-
}),
|
|
12965
|
+
}), x4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = ["checked", "disabled"], r8 = /* @__PURE__ */ q({
|
|
12958
12966
|
__name: "AoCheckboxField",
|
|
12959
12967
|
props: {
|
|
12960
12968
|
label: { default: "" },
|
|
@@ -12964,8 +12972,8 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12964
12972
|
},
|
|
12965
12973
|
emits: ["update:modelValue"],
|
|
12966
12974
|
setup(t) {
|
|
12967
|
-
return (e, a) => (p(), C("label",
|
|
12968
|
-
f("span",
|
|
12975
|
+
return (e, a) => (p(), C("label", x4, [
|
|
12976
|
+
f("span", K4, W(e.label), 1),
|
|
12969
12977
|
f("input", {
|
|
12970
12978
|
class: "ao-field__input",
|
|
12971
12979
|
type: "checkbox",
|
|
@@ -12978,29 +12986,29 @@ const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
|
12978
12986
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12979
12987
|
);
|
|
12980
12988
|
})
|
|
12981
|
-
}, null, 40,
|
|
12989
|
+
}, null, 40, G4)
|
|
12982
12990
|
]));
|
|
12983
12991
|
}
|
|
12984
12992
|
});
|
|
12985
12993
|
export {
|
|
12986
12994
|
Je as AoAvatar,
|
|
12987
12995
|
gi as AoCardFeed,
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
12996
|
+
r8 as AoCheckboxField,
|
|
12997
|
+
D4 as AoFeed,
|
|
12998
|
+
q4 as AoField,
|
|
12999
|
+
l8 as AoInputField,
|
|
12992
13000
|
Se as AoMultiselect,
|
|
12993
13001
|
fi as AoProjectPhases,
|
|
12994
13002
|
Rf as AoTemplateDetails,
|
|
12995
|
-
|
|
12996
|
-
|
|
13003
|
+
t8 as AoTemplates,
|
|
13004
|
+
W4 as AoTemplatesList,
|
|
12997
13005
|
G2 as TemplateItemTypeEnum,
|
|
12998
|
-
|
|
12999
|
-
|
|
13006
|
+
s8 as activityFeedStatus,
|
|
13007
|
+
a8 as durationTypes,
|
|
13000
13008
|
Dt as feedFilterTypes,
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
|
|
13009
|
+
o8 as getProjectOverviewRoutes,
|
|
13010
|
+
i8 as getTemplateRoutes,
|
|
13011
|
+
n8 as listUpdateTypes,
|
|
13004
13012
|
Ba as milestoneStatus,
|
|
13005
13013
|
ye as projectOverviewRoutes,
|
|
13006
13014
|
Y2 as ruleComparators,
|