@26lights/orcha 0.41.63 → 0.41.64
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.es.js +268 -267
- package/dist/orcha.umd.js +2 -2
- package/dist/src/types/index.d.ts +1 -0
- 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 M, resolveDynamicComponent as ht, 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 A, normalizeStyle 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 M, resolveDynamicComponent as ht, 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 A, normalizeStyle as xt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as Et, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Mt, toRefs as Ee, getCurrentInstance as It, toRef as jt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const X4 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1395,7 +1395,7 @@ const j2 = {
|
|
|
1395
1395
|
}, 8, ["class"]));
|
|
1396
1396
|
}
|
|
1397
1397
|
});
|
|
1398
|
-
const
|
|
1398
|
+
const ra = /* @__PURE__ */ q({
|
|
1399
1399
|
__name: "AoTag",
|
|
1400
1400
|
props: {
|
|
1401
1401
|
label: {},
|
|
@@ -1419,7 +1419,7 @@ const la = /* @__PURE__ */ q({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: xt(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
1424
|
(p(), D(ht(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
@@ -1453,11 +1453,11 @@ const Ba = {
|
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
1456
|
-
},
|
|
1456
|
+
}, Q4 = {
|
|
1457
1457
|
months: "months",
|
|
1458
1458
|
weeks: "weeks",
|
|
1459
1459
|
days: "days"
|
|
1460
|
-
},
|
|
1460
|
+
}, J4 = {
|
|
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 e8 = {
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
@@ -1522,7 +1522,7 @@ var Q2 = {};
|
|
|
1522
1522
|
function ga() {
|
|
1523
1523
|
return Q2;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function ua(t) {
|
|
1526
1526
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1527
1527
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1528
1528
|
}
|
|
@@ -1534,7 +1534,7 @@ function dn(t) {
|
|
|
1534
1534
|
var J2 = 864e5;
|
|
1535
1535
|
function e0(t, e) {
|
|
1536
1536
|
Ce(2, arguments);
|
|
1537
|
-
var a = dn(t), s = dn(e), n = a.getTime() -
|
|
1537
|
+
var a = dn(t), s = dn(e), n = a.getTime() - ua(a), o = s.getTime() - ua(s);
|
|
1538
1538
|
return Math.round((n - o) / J2);
|
|
1539
1539
|
}
|
|
1540
1540
|
function t0(t, e) {
|
|
@@ -2456,7 +2456,7 @@ var O0 = {
|
|
|
2456
2456
|
return O0[e];
|
|
2457
2457
|
};
|
|
2458
2458
|
const I0 = E0;
|
|
2459
|
-
function
|
|
2459
|
+
function ea(t) {
|
|
2460
2460
|
return function(e, a) {
|
|
2461
2461
|
var s = a != null && a.context ? String(a.context) : "standalone", n;
|
|
2462
2462
|
if (s === "formatting" && t.formattingValues) {
|
|
@@ -2563,26 +2563,26 @@ var L0 = {
|
|
|
2563
2563
|
return s + "th";
|
|
2564
2564
|
}, R0 = {
|
|
2565
2565
|
ordinalNumber: j0,
|
|
2566
|
-
era:
|
|
2566
|
+
era: ea({
|
|
2567
2567
|
values: L0,
|
|
2568
2568
|
defaultWidth: "wide"
|
|
2569
2569
|
}),
|
|
2570
|
-
quarter:
|
|
2570
|
+
quarter: ea({
|
|
2571
2571
|
values: P0,
|
|
2572
2572
|
defaultWidth: "wide",
|
|
2573
2573
|
argumentCallback: function(e) {
|
|
2574
2574
|
return e - 1;
|
|
2575
2575
|
}
|
|
2576
2576
|
}),
|
|
2577
|
-
month:
|
|
2577
|
+
month: ea({
|
|
2578
2578
|
values: H0,
|
|
2579
2579
|
defaultWidth: "wide"
|
|
2580
2580
|
}),
|
|
2581
|
-
day:
|
|
2581
|
+
day: ea({
|
|
2582
2582
|
values: V0,
|
|
2583
2583
|
defaultWidth: "wide"
|
|
2584
2584
|
}),
|
|
2585
|
-
dayPeriod:
|
|
2585
|
+
dayPeriod: ea({
|
|
2586
2586
|
values: D0,
|
|
2587
2587
|
defaultWidth: "wide",
|
|
2588
2588
|
formattingValues: B0,
|
|
@@ -2590,7 +2590,7 @@ var L0 = {
|
|
|
2590
2590
|
})
|
|
2591
2591
|
};
|
|
2592
2592
|
const N0 = R0;
|
|
2593
|
-
function
|
|
2593
|
+
function ta(t) {
|
|
2594
2594
|
return function(e) {
|
|
2595
2595
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = a.width, n = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], o = e.match(n);
|
|
2596
2596
|
if (!o)
|
|
@@ -2684,13 +2684,13 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
2684
2684
|
return parseInt(e, 10);
|
|
2685
2685
|
}
|
|
2686
2686
|
}),
|
|
2687
|
-
era:
|
|
2687
|
+
era: ta({
|
|
2688
2688
|
matchPatterns: q0,
|
|
2689
2689
|
defaultMatchWidth: "wide",
|
|
2690
2690
|
parsePatterns: Y0,
|
|
2691
2691
|
defaultParseWidth: "any"
|
|
2692
2692
|
}),
|
|
2693
|
-
quarter:
|
|
2693
|
+
quarter: ta({
|
|
2694
2694
|
matchPatterns: x0,
|
|
2695
2695
|
defaultMatchWidth: "wide",
|
|
2696
2696
|
parsePatterns: K0,
|
|
@@ -2699,19 +2699,19 @@ var W0 = /^(\d+)(th|st|nd|rd)?/i, z0 = /\d+/i, q0 = {
|
|
|
2699
2699
|
return e + 1;
|
|
2700
2700
|
}
|
|
2701
2701
|
}),
|
|
2702
|
-
month:
|
|
2702
|
+
month: ta({
|
|
2703
2703
|
matchPatterns: G0,
|
|
2704
2704
|
defaultMatchWidth: "wide",
|
|
2705
2705
|
parsePatterns: X0,
|
|
2706
2706
|
defaultParseWidth: "any"
|
|
2707
2707
|
}),
|
|
2708
|
-
day:
|
|
2708
|
+
day: ta({
|
|
2709
2709
|
matchPatterns: Q0,
|
|
2710
2710
|
defaultMatchWidth: "wide",
|
|
2711
2711
|
parsePatterns: J0,
|
|
2712
2712
|
defaultParseWidth: "any"
|
|
2713
2713
|
}),
|
|
2714
|
-
dayPeriod:
|
|
2714
|
+
dayPeriod: ta({
|
|
2715
2715
|
matchPatterns: e3,
|
|
2716
2716
|
defaultMatchWidth: "any",
|
|
2717
2717
|
parsePatterns: t3,
|
|
@@ -2749,7 +2749,7 @@ function Fn(t, e, a) {
|
|
|
2749
2749
|
var J = $e(t);
|
|
2750
2750
|
if (!Bn(J))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
|
-
var ae =
|
|
2752
|
+
var ae = ua(J), j = ws(J, ae), G = {
|
|
2753
2753
|
firstWeekContainsDate: z,
|
|
2754
2754
|
weekStartsOn: K,
|
|
2755
2755
|
locale: F,
|
|
@@ -2795,7 +2795,7 @@ function d3(t, e, a) {
|
|
|
2795
2795
|
throw new RangeError("Invalid time value");
|
|
2796
2796
|
var y;
|
|
2797
2797
|
_ < -6 ? y = "other" : _ < -1 ? y = "lastWeek" : _ < 0 ? y = "yesterday" : _ < 1 ? y = "today" : _ < 2 ? y = "tomorrow" : _ < 7 ? y = "nextWeek" : y = "other";
|
|
2798
|
-
var P = ws(h,
|
|
2798
|
+
var P = ws(h, ua(h)), I = ws($, ua($)), L = g.formatRelative(y, P, I, {
|
|
2799
2799
|
locale: g,
|
|
2800
2800
|
weekStartsOn: m
|
|
2801
2801
|
});
|
|
@@ -2804,7 +2804,7 @@ function d3(t, e, a) {
|
|
|
2804
2804
|
weekStartsOn: m
|
|
2805
2805
|
});
|
|
2806
2806
|
}
|
|
2807
|
-
function
|
|
2807
|
+
function ca(t, e) {
|
|
2808
2808
|
var a;
|
|
2809
2809
|
Ce(1, arguments);
|
|
2810
2810
|
var s = Qe((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
@@ -2865,13 +2865,13 @@ function g3(t, e) {
|
|
|
2865
2865
|
var a = t.match(p3);
|
|
2866
2866
|
if (!a)
|
|
2867
2867
|
return /* @__PURE__ */ new Date(NaN);
|
|
2868
|
-
var s = !!a[4], n =
|
|
2868
|
+
var s = !!a[4], n = aa(a[1]), o = aa(a[2]) - 1, i = aa(a[3]), l = aa(a[4]), r = aa(a[5]) - 1;
|
|
2869
2869
|
if (s)
|
|
2870
2870
|
return k3(e, l, r) ? y3(e, l, r) : /* @__PURE__ */ new Date(NaN);
|
|
2871
2871
|
var c = /* @__PURE__ */ new Date(0);
|
|
2872
2872
|
return !w3(e, o, i) || !$3(e, n) ? /* @__PURE__ */ new Date(NaN) : (c.setUTCFullYear(e, o, Math.max(n, i)), c);
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function aa(t) {
|
|
2875
2875
|
return t ? parseInt(t) : 1;
|
|
2876
2876
|
}
|
|
2877
2877
|
function C3(t) {
|
|
@@ -2918,7 +2918,7 @@ function S3(t, e, a) {
|
|
|
2918
2918
|
function A3(t, e) {
|
|
2919
2919
|
return e >= 0 && e <= 59;
|
|
2920
2920
|
}
|
|
2921
|
-
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {},
|
|
2921
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {}, sa = {}, Ca = {}, Kt = {}, xa = {};
|
|
2922
2922
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
2923
2923
|
xa.lexoHelper = void 0;
|
|
2924
2924
|
xa.lexoHelper = {
|
|
@@ -2956,8 +2956,8 @@ class T3 {
|
|
|
2956
2956
|
}
|
|
2957
2957
|
}
|
|
2958
2958
|
_a.default = T3;
|
|
2959
|
-
Object.defineProperty(
|
|
2960
|
-
|
|
2959
|
+
Object.defineProperty(Kt, "__esModule", { value: !0 });
|
|
2960
|
+
Kt.LexoInteger = void 0;
|
|
2961
2961
|
const Ia = xa, O3 = _a;
|
|
2962
2962
|
class ie {
|
|
2963
2963
|
constructor(e, a, s) {
|
|
@@ -3152,7 +3152,7 @@ class ie {
|
|
|
3152
3152
|
throw new Error("Expected numbers of same numeral sys");
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
|
-
|
|
3155
|
+
Kt.LexoInteger = ie;
|
|
3156
3156
|
ie.ZERO_MAG = [0];
|
|
3157
3157
|
ie.ONE_MAG = [1];
|
|
3158
3158
|
ie.NEGATIVE_SIGN = -1;
|
|
@@ -3160,23 +3160,23 @@ ie.ZERO_SIGN = 0;
|
|
|
3160
3160
|
ie.POSITIVE_SIGN = 1;
|
|
3161
3161
|
Object.defineProperty(Ca, "__esModule", { value: !0 });
|
|
3162
3162
|
Ca.LexoDecimal = void 0;
|
|
3163
|
-
const
|
|
3163
|
+
const na = Kt, E3 = _a;
|
|
3164
3164
|
class Pe {
|
|
3165
3165
|
constructor(e, a) {
|
|
3166
3166
|
this.mag = e, this.sig = a;
|
|
3167
3167
|
}
|
|
3168
3168
|
static half(e) {
|
|
3169
3169
|
const a = e.getBase() / 2 | 0;
|
|
3170
|
-
return Pe.make(
|
|
3170
|
+
return Pe.make(na.LexoInteger.make(e, 1, [a]), 1);
|
|
3171
3171
|
}
|
|
3172
3172
|
static parse(e, a) {
|
|
3173
3173
|
const s = e.indexOf(a.getRadixPointChar());
|
|
3174
3174
|
if (e.lastIndexOf(a.getRadixPointChar()) !== s)
|
|
3175
3175
|
throw new Error("More than one " + a.getRadixPointChar());
|
|
3176
3176
|
if (s < 0)
|
|
3177
|
-
return Pe.make(
|
|
3177
|
+
return Pe.make(na.LexoInteger.parse(e, a), 0);
|
|
3178
3178
|
const n = e.substring(0, s) + e.substring(s + 1);
|
|
3179
|
-
return Pe.make(
|
|
3179
|
+
return Pe.make(na.LexoInteger.parse(n, a), e.length - 1 - s);
|
|
3180
3180
|
}
|
|
3181
3181
|
static from(e) {
|
|
3182
3182
|
return Pe.make(e, 0);
|
|
@@ -3219,7 +3219,7 @@ class Pe {
|
|
|
3219
3219
|
if (this.isExact())
|
|
3220
3220
|
return this.mag;
|
|
3221
3221
|
const e = this.floor();
|
|
3222
|
-
return e.add(
|
|
3222
|
+
return e.add(na.LexoInteger.one(e.getSystem()));
|
|
3223
3223
|
}
|
|
3224
3224
|
isExact() {
|
|
3225
3225
|
if (this.sig === 0)
|
|
@@ -3238,7 +3238,7 @@ class Pe {
|
|
|
3238
3238
|
e < 0 && (e = 0);
|
|
3239
3239
|
const s = this.sig - e;
|
|
3240
3240
|
let n = this.mag.shiftRight(s);
|
|
3241
|
-
return a && (n = n.add(
|
|
3241
|
+
return a && (n = n.add(na.LexoInteger.one(n.getSystem()))), Pe.make(n, e);
|
|
3242
3242
|
}
|
|
3243
3243
|
compareTo(e) {
|
|
3244
3244
|
if (this === e)
|
|
@@ -3270,7 +3270,7 @@ function zn() {
|
|
|
3270
3270
|
if (mn)
|
|
3271
3271
|
return La;
|
|
3272
3272
|
mn = 1, Object.defineProperty(La, "__esModule", { value: !0 });
|
|
3273
|
-
const t =
|
|
3273
|
+
const t = Kt, e = Yn();
|
|
3274
3274
|
class a {
|
|
3275
3275
|
constructor(n) {
|
|
3276
3276
|
this.value = t.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3437,8 +3437,8 @@ Xa.LexoNumeralSystem64 = P3;
|
|
|
3437
3437
|
var gn;
|
|
3438
3438
|
function Yn() {
|
|
3439
3439
|
if (gn)
|
|
3440
|
-
return
|
|
3441
|
-
gn = 1, Object.defineProperty(
|
|
3440
|
+
return sa;
|
|
3441
|
+
gn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.LexoRank = void 0;
|
|
3442
3442
|
const t = Ca, e = zn(), a = _a, s = Ps;
|
|
3443
3443
|
class n {
|
|
3444
3444
|
constructor(i, l) {
|
|
@@ -3610,7 +3610,7 @@ function Yn() {
|
|
|
3610
3610
|
return this === i ? 0 : i ? this.value.localeCompare(i.value) : 1;
|
|
3611
3611
|
}
|
|
3612
3612
|
}
|
|
3613
|
-
return
|
|
3613
|
+
return sa.LexoRank = n, sa;
|
|
3614
3614
|
}
|
|
3615
3615
|
(function(t) {
|
|
3616
3616
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -3625,7 +3625,7 @@ function Yn() {
|
|
|
3625
3625
|
for (var o in s)
|
|
3626
3626
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3627
3627
|
};
|
|
3628
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(zn(), t), a(Ca, t), a(
|
|
3628
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(zn(), t), a(Ca, t), a(Kt, t);
|
|
3629
3629
|
})(Wn);
|
|
3630
3630
|
(function(t) {
|
|
3631
3631
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -3686,7 +3686,7 @@ function Ut(t, e) {
|
|
|
3686
3686
|
function Qa(t, e = "dd/MM/yyyy") {
|
|
3687
3687
|
if (!t)
|
|
3688
3688
|
return "";
|
|
3689
|
-
const a =
|
|
3689
|
+
const a = ca(t);
|
|
3690
3690
|
return Bn(a) ? Fn(a, e) : "";
|
|
3691
3691
|
}
|
|
3692
3692
|
function Hs(t, e) {
|
|
@@ -3811,13 +3811,13 @@ const F3 = { class: "ao-card-template__subitems" }, Z3 = { class: "ao-card-templ
|
|
|
3811
3811
|
f("span", G3, W(l.$t("template.phases.title")), 1)
|
|
3812
3812
|
]),
|
|
3813
3813
|
l.phases ? (p(), C("ul", X3, [
|
|
3814
|
-
(p(!0), C(fe, null, _e(o.value, (c) => (p(), D(
|
|
3814
|
+
(p(!0), C(fe, null, _e(o.value, (c) => (p(), D(ra, {
|
|
3815
3815
|
key: c.id,
|
|
3816
3816
|
label: c.name || c.id,
|
|
3817
3817
|
color: "primary",
|
|
3818
3818
|
variant: "solid"
|
|
3819
3819
|
}, null, 8, ["label"]))), 128)),
|
|
3820
|
-
i.value > 0 ? (p(), D(
|
|
3820
|
+
i.value > 0 ? (p(), D(ra, {
|
|
3821
3821
|
key: 0,
|
|
3822
3822
|
label: `+${i.value} more`,
|
|
3823
3823
|
color: "primary-lighter",
|
|
@@ -4223,7 +4223,7 @@ const C5 = /* @__PURE__ */ q({
|
|
|
4223
4223
|
], 2));
|
|
4224
4224
|
}
|
|
4225
4225
|
});
|
|
4226
|
-
const
|
|
4226
|
+
const da = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor, pt = (t) => ({
|
|
4227
4227
|
x: t,
|
|
4228
4228
|
y: t
|
|
4229
4229
|
}), I5 = {
|
|
@@ -4566,10 +4566,10 @@ const U5 = function(t) {
|
|
|
4566
4566
|
let y = g, P = m;
|
|
4567
4567
|
if (d) {
|
|
4568
4568
|
const L = v - r.left - r.right;
|
|
4569
|
-
P = u || _ ?
|
|
4569
|
+
P = u || _ ? da(m, L) : L;
|
|
4570
4570
|
} else {
|
|
4571
4571
|
const L = h - r.top - r.bottom;
|
|
4572
|
-
y = u || _ ?
|
|
4572
|
+
y = u || _ ? da(g, L) : L;
|
|
4573
4573
|
}
|
|
4574
4574
|
if (_ && !u) {
|
|
4575
4575
|
const L = He(r.left, 0), F = He(r.right, 0), z = He(r.top, 0), K = He(r.bottom, 0);
|
|
@@ -4671,11 +4671,11 @@ function ei(t) {
|
|
|
4671
4671
|
const e = Zt(t);
|
|
4672
4672
|
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && wa(e) ? e : ei(e);
|
|
4673
4673
|
}
|
|
4674
|
-
function
|
|
4674
|
+
function pa(t, e, a) {
|
|
4675
4675
|
var s;
|
|
4676
4676
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4677
4677
|
const n = ei(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Te(n);
|
|
4678
|
-
return o ? e.concat(i, i.visualViewport || [], wa(n) ? n : [], i.frameElement && a ?
|
|
4678
|
+
return o ? e.concat(i, i.visualViewport || [], wa(n) ? n : [], i.frameElement && a ? pa(i.frameElement) : []) : e.concat(n, pa(n));
|
|
4679
4679
|
}
|
|
4680
4680
|
function ti(t) {
|
|
4681
4681
|
const e = je(t);
|
|
@@ -4830,7 +4830,7 @@ function Q5(t, e) {
|
|
|
4830
4830
|
const a = e.get(t);
|
|
4831
4831
|
if (a)
|
|
4832
4832
|
return a;
|
|
4833
|
-
let s =
|
|
4833
|
+
let s = pa(t, [], !1).filter((l) => et(l) && vt(l) !== "body"), n = null;
|
|
4834
4834
|
const o = je(t).position === "fixed";
|
|
4835
4835
|
let i = o ? Zt(t) : t;
|
|
4836
4836
|
for (; et(i) && !ts(i); ) {
|
|
@@ -4848,7 +4848,7 @@ function J5(t) {
|
|
|
4848
4848
|
} = t;
|
|
4849
4849
|
const i = [...a === "clippingAncestors" ? Q5(e, this._c) : [].concat(a), s], l = i[0], r = i.reduce((c, u) => {
|
|
4850
4850
|
const d = yn(e, u, n);
|
|
4851
|
-
return c.top = He(d.top, c.top), c.right =
|
|
4851
|
+
return c.top = He(d.top, c.top), c.right = da(d.right, c.right), c.bottom = da(d.bottom, c.bottom), c.left = He(d.left, c.left), c;
|
|
4852
4852
|
}, yn(e, l, n));
|
|
4853
4853
|
return {
|
|
4854
4854
|
width: r.right - r.left,
|
|
@@ -4941,7 +4941,7 @@ function i7(t, e) {
|
|
|
4941
4941
|
return;
|
|
4942
4942
|
const h = Pa(u), $ = Pa(n.clientWidth - (c + d)), w = Pa(n.clientHeight - (u + v)), g = Pa(c), _ = {
|
|
4943
4943
|
rootMargin: -h + "px " + -$ + "px " + -w + "px " + -g + "px",
|
|
4944
|
-
threshold: He(0,
|
|
4944
|
+
threshold: He(0, da(1, r)) || 1
|
|
4945
4945
|
};
|
|
4946
4946
|
let y = !0;
|
|
4947
4947
|
function P(I) {
|
|
@@ -4976,7 +4976,7 @@ function o7(t, e, a, s) {
|
|
|
4976
4976
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4977
4977
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
4978
4978
|
animationFrame: r = !1
|
|
4979
|
-
} = s, c = Ns(t), u = n || o ? [...c ?
|
|
4979
|
+
} = s, c = Ns(t), u = n || o ? [...c ? pa(c) : [], ...pa(e)] : [];
|
|
4980
4980
|
u.forEach((m) => {
|
|
4981
4981
|
n && m.addEventListener("scroll", a, {
|
|
4982
4982
|
passive: !0
|
|
@@ -5195,7 +5195,7 @@ function h7(t, e, a) {
|
|
|
5195
5195
|
disabledProp: b,
|
|
5196
5196
|
searchStart: V,
|
|
5197
5197
|
searchFilter: oe
|
|
5198
|
-
} = Ee(t), ne = It().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update,
|
|
5198
|
+
} = Ee(t), ne = It().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 = M(() => r.value || c.value || !1), Sa = M(() => d.value !== void 0 ? d.value : v.value !== void 0 ? v.value : !0), Le = M(() => {
|
|
5199
5199
|
if (le.value) {
|
|
5200
5200
|
let S = yt.value || /* istanbul ignore next */
|
|
5201
5201
|
[], B = [];
|
|
@@ -5209,11 +5209,11 @@ function h7(t, e, a) {
|
|
|
5209
5209
|
[]);
|
|
5210
5210
|
return it.value.length && (S = S.concat(it.value)), S;
|
|
5211
5211
|
}
|
|
5212
|
-
}),
|
|
5212
|
+
}), Jt = M(() => {
|
|
5213
5213
|
let S = Le.value;
|
|
5214
5214
|
return se.value && (S = S.reverse()), Lt.value.length && (S = Lt.value.concat(S)), fs(S);
|
|
5215
5215
|
}), ot = M(() => {
|
|
5216
|
-
let S =
|
|
5216
|
+
let S = Jt.value;
|
|
5217
5217
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5218
5218
|
}), yt = M(() => {
|
|
5219
5219
|
if (!le.value)
|
|
@@ -5255,7 +5255,7 @@ function h7(t, e, a) {
|
|
|
5255
5255
|
case "tags":
|
|
5256
5256
|
return !Fe(Z.value) && Z.value.length > 0;
|
|
5257
5257
|
}
|
|
5258
|
-
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !Lt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Lt = M(() =>
|
|
5258
|
+
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !Lt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Lt = M(() => Qt.value === !1 || !Y.value ? [] : Oi(Y.value) !== -1 ? [] : [{
|
|
5259
5259
|
[L.value]: Y.value,
|
|
5260
5260
|
[bt.value[0]]: Y.value,
|
|
5261
5261
|
[u.value]: Y.value,
|
|
@@ -5360,13 +5360,13 @@ function h7(t, e, a) {
|
|
|
5360
5360
|
case "tags":
|
|
5361
5361
|
Mi(S[E.value]) ? Ht(S[E.value]) : Pt(
|
|
5362
5362
|
S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[b.value]).filter((B, ue) => Z.value.length + 1 + ue <= J.value || J.value === -1)
|
|
5363
|
-
), l.value &&
|
|
5363
|
+
), l.value && Gt.value && Xt(us.value.filter((B) => !B[b.value])[Gt.value.index]);
|
|
5364
5364
|
break;
|
|
5365
5365
|
}
|
|
5366
5366
|
j.value && rs();
|
|
5367
5367
|
}
|
|
5368
5368
|
}, vs = (S) => {
|
|
5369
|
-
Ke(S[L.value]) === void 0 &&
|
|
5369
|
+
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());
|
|
5370
5370
|
}, Ai = () => {
|
|
5371
5371
|
n.value !== "single" && Pt(ot.value.filter((S) => !S.disabled && !xe(S)));
|
|
5372
5372
|
}, Mi = (S) => S.find((B) => !xe(B) && !B[b.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) => bt.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) => {
|
|
@@ -5377,7 +5377,7 @@ function h7(t, e, a) {
|
|
|
5377
5377
|
let ue = S;
|
|
5378
5378
|
if (Y.value && y.value) {
|
|
5379
5379
|
let ge = oe.value;
|
|
5380
|
-
ge || (ge = (wt, un,
|
|
5380
|
+
ge || (ge = (wt, un, Y4) => bt.value.some((Hi) => {
|
|
5381
5381
|
let cn = ys(ka(wt[Hi]), ae.value);
|
|
5382
5382
|
return V.value ? cn.startsWith(ys(un, ae.value)) : cn.indexOf(ys(un, ae.value)) !== -1;
|
|
5383
5383
|
})), ue = ue.filter((wt) => ge(wt, Y.value, ne));
|
|
@@ -5429,7 +5429,7 @@ function h7(t, e, a) {
|
|
|
5429
5429
|
Re.value = ce(Y, (S) => {
|
|
5430
5430
|
S.length < _.value || !S && _.value !== 0 || (Ie.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
5431
5431
|
S == Y.value && s.value(Y.value, ne).then((B) => {
|
|
5432
|
-
(S == Y.value || !Y.value) && (Ue.value = B,
|
|
5432
|
+
(S == Y.value || !Y.value) && (Ue.value = B, Gt.value = ot.value.filter((ue) => ue[b.value] !== !0)[0] || null, Ie.value = !1);
|
|
5433
5433
|
}).catch(
|
|
5434
5434
|
/* istanbul ignore next */
|
|
5435
5435
|
(B) => {
|
|
@@ -5462,7 +5462,7 @@ function h7(t, e, a) {
|
|
|
5462
5462
|
}), ce(u, ms), ce(i, (S, B) => {
|
|
5463
5463
|
Ye.value = ee.value && S === -1 ? 10 : S;
|
|
5464
5464
|
}), {
|
|
5465
|
-
pfo:
|
|
5465
|
+
pfo: Jt,
|
|
5466
5466
|
fo: ot,
|
|
5467
5467
|
filteredOptions: ot,
|
|
5468
5468
|
hasSelected: cs,
|
|
@@ -5713,13 +5713,13 @@ function ss(t) {
|
|
|
5713
5713
|
function ri(t) {
|
|
5714
5714
|
return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t : ri(ss(t));
|
|
5715
5715
|
}
|
|
5716
|
-
function
|
|
5716
|
+
function oa(t, e) {
|
|
5717
5717
|
var a;
|
|
5718
5718
|
e === void 0 && (e = []);
|
|
5719
5719
|
var s = ri(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Oe(s), i = n ? [o].concat(o.visualViewport || [], Ws(s) ? s : []) : s, l = e.concat(i);
|
|
5720
5720
|
return n ? l : (
|
|
5721
5721
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5722
|
-
l.concat(
|
|
5722
|
+
l.concat(oa(ss(i)))
|
|
5723
5723
|
);
|
|
5724
5724
|
}
|
|
5725
5725
|
function b7(t) {
|
|
@@ -5750,10 +5750,10 @@ function ns(t) {
|
|
|
5750
5750
|
a = wn(a);
|
|
5751
5751
|
return a && (ze(a) === "html" || ze(a) === "body" && tt(a).position === "static") ? e : a || w7(t) || e;
|
|
5752
5752
|
}
|
|
5753
|
-
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], qt = "start",
|
|
5754
|
-
return t.concat([e + "-" + qt, e + "-" +
|
|
5753
|
+
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], qt = "start", va = "end", $7 = "clippingParents", ui = "viewport", ia = "popper", k7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5754
|
+
return t.concat([e + "-" + qt, e + "-" + va]);
|
|
5755
5755
|
}, []), S7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5756
|
-
return t.concat([e, e + "-" + qt, e + "-" +
|
|
5756
|
+
return t.concat([e, e + "-" + qt, e + "-" + va]);
|
|
5757
5757
|
}, []), A7 = "beforeRead", M7 = "read", T7 = "afterRead", O7 = "beforeMain", E7 = "main", I7 = "afterMain", L7 = "beforeWrite", P7 = "write", H7 = "afterWrite", V7 = [A7, M7, T7, O7, E7, I7, L7, P7, H7];
|
|
5758
5758
|
function D7(t) {
|
|
5759
5759
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
@@ -5857,7 +5857,7 @@ function kn(t, e, a) {
|
|
|
5857
5857
|
return e === ui ? Ss(N7(t, a)) : Ot(e) ? Z7(e, a) : Ss(U7(Ct(t)));
|
|
5858
5858
|
}
|
|
5859
5859
|
function W7(t) {
|
|
5860
|
-
var e =
|
|
5860
|
+
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5861
5861
|
return Ot(s) ? e.filter(function(n) {
|
|
5862
5862
|
return Ot(n) && F7(n, s) && ze(n) !== "body";
|
|
5863
5863
|
}) : [];
|
|
@@ -5918,7 +5918,7 @@ function di(t) {
|
|
|
5918
5918
|
case qt:
|
|
5919
5919
|
r[c] = r[c] - (e[u] / 2 - a[u] / 2);
|
|
5920
5920
|
break;
|
|
5921
|
-
case
|
|
5921
|
+
case va:
|
|
5922
5922
|
r[c] = r[c] + (e[u] / 2 - a[u] / 2);
|
|
5923
5923
|
break;
|
|
5924
5924
|
}
|
|
@@ -5943,18 +5943,18 @@ function Y7(t, e) {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function qs(t, e) {
|
|
5945
5945
|
e === void 0 && (e = {});
|
|
5946
|
-
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 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ?
|
|
5946
|
+
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 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, h = a.altBoundary, $ = h === void 0 ? !1 : h, w = a.padding, g = w === void 0 ? 0 : w, m = q7(typeof g != "number" ? g : Y7(g, is)), _ = v === ia ? k7 : ia, y = t.rects.popper, P = t.elements[$ ? _ : v], I = z7(Ot(P) ? P : P.contextElement || Ct(t.elements.popper), r, u, i), L = zt(t.elements.reference), F = di({
|
|
5947
5947
|
reference: L,
|
|
5948
5948
|
element: y,
|
|
5949
5949
|
strategy: "absolute",
|
|
5950
5950
|
placement: n
|
|
5951
|
-
}), z = Ss(Object.assign({}, y, F)), K = v ===
|
|
5951
|
+
}), z = Ss(Object.assign({}, y, F)), K = v === ia ? z : L, J = {
|
|
5952
5952
|
top: I.top - K.top + m.top,
|
|
5953
5953
|
bottom: K.bottom - I.bottom + m.bottom,
|
|
5954
5954
|
left: I.left - K.left + m.left,
|
|
5955
5955
|
right: K.right - I.right + m.right
|
|
5956
5956
|
}, ae = t.modifiersData.offset;
|
|
5957
|
-
if (v ===
|
|
5957
|
+
if (v === ia && ae) {
|
|
5958
5958
|
var j = ae[n];
|
|
5959
5959
|
Object.keys(J).forEach(function(G) {
|
|
5960
5960
|
var le = [ft, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
|
|
@@ -5996,8 +5996,8 @@ function x7(t) {
|
|
|
5996
5996
|
setOptions: function(m) {
|
|
5997
5997
|
var _ = typeof m == "function" ? m(u.options) : m;
|
|
5998
5998
|
w(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5999
|
-
reference: Ot(l) ?
|
|
6000
|
-
popper:
|
|
5999
|
+
reference: Ot(l) ? oa(l) : l.contextElement ? oa(l.contextElement) : [],
|
|
6000
|
+
popper: oa(r)
|
|
6001
6001
|
};
|
|
6002
6002
|
var y = B7(R7([].concat(s, u.options.modifiers)));
|
|
6003
6003
|
return u.orderedModifiers = y.filter(function(P) {
|
|
@@ -6136,7 +6136,7 @@ function Mn(t) {
|
|
|
6136
6136
|
var m = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), y = Ge, P = Ne, I = window;
|
|
6137
6137
|
if (c) {
|
|
6138
6138
|
var L = ns(a), F = "clientHeight", z = "clientWidth";
|
|
6139
|
-
if (L === Oe(a) && (L = Ct(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ft) && o ===
|
|
6139
|
+
if (L === Oe(a) && (L = Ct(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ft) && o === va) {
|
|
6140
6140
|
P = qe;
|
|
6141
6141
|
var K = d && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6142
6142
|
// $FlowFixMe[prop-missing]
|
|
@@ -6144,7 +6144,7 @@ function Mn(t) {
|
|
|
6144
6144
|
);
|
|
6145
6145
|
w -= K - s.height, w *= r ? 1 : -1;
|
|
6146
6146
|
}
|
|
6147
|
-
if (n === Ge || (n === Ne || n === qe) && o ===
|
|
6147
|
+
if (n === Ge || (n === Ne || n === qe) && o === va) {
|
|
6148
6148
|
y = ft;
|
|
6149
6149
|
var J = d && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6150
6150
|
// $FlowFixMe[prop-missing]
|
|
@@ -6275,11 +6275,11 @@ function cp(t) {
|
|
|
6275
6275
|
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ft, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -z[ee] / 2 : 0, b = _ === qt ? F[ee] : z[ee], V = _ === qt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? li(oe) : {
|
|
6276
6276
|
width: 0,
|
|
6277
6277
|
height: 0
|
|
6278
|
-
}, 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 = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis,
|
|
6278
|
+
}, 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 = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = y ? -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(h ? Wa(T, rs) : T, E, h ? St(k, nt) : k);
|
|
6279
6279
|
L[P] = ka, j[P] = ka - E;
|
|
6280
6280
|
}
|
|
6281
6281
|
if (l) {
|
|
6282
|
-
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width",
|
|
6282
|
+
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf(m) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt + J.altAxis, yt = Le ? Re + F[Ye] + z[Ye] - Jt - J.altAxis : Sa, Aa = h && Le ? up(ot, Re, yt) : Va(h ? ot : Qt, Re, h ? yt : Sa);
|
|
6283
6283
|
L[I] = Aa, j[I] = Aa - Re;
|
|
6284
6284
|
}
|
|
6285
6285
|
e.modifiersData[s] = j;
|
|
@@ -8017,7 +8017,7 @@ const vv = { class: "ao-comment" }, fv = { class: "ao-comment__created-at" }, hv
|
|
|
8017
8017
|
const w = a.user;
|
|
8018
8018
|
return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
|
|
8019
8019
|
}), n = x(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Pn(n), c = M(() => {
|
|
8020
|
-
const w = a.editedAt &&
|
|
8020
|
+
const w = a.editedAt && ca(a.editedAt), g = ca(a.createdAt), m = /* @__PURE__ */ new Date(), _ = w ?? g;
|
|
8021
8021
|
return _ && d3(_, m);
|
|
8022
8022
|
}), u = M(() => o.value ? "textarea" : "p"), d = r(), v = l((w) => {
|
|
8023
8023
|
e("edit", w);
|
|
@@ -8114,7 +8114,7 @@ const _v = { class: "ao-comments__header" }, yv = ["onSubmit"], bv = ["placehold
|
|
|
8114
8114
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
8115
8115
|
setup(t, { emit: e }) {
|
|
8116
8116
|
const a = t, s = M(() => (a.comments || []).toSorted(
|
|
8117
|
-
(v, h) => t0(
|
|
8117
|
+
(v, h) => t0(ca(v.createdAt), ca(h.createdAt))
|
|
8118
8118
|
)), n = (d) => a.users.find((h) => h.id === d), o = x();
|
|
8119
8119
|
Me(() => {
|
|
8120
8120
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
@@ -8457,7 +8457,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8457
8457
|
f("div", Sv, [
|
|
8458
8458
|
f("div", Av, [
|
|
8459
8459
|
f("div", Mv, [
|
|
8460
|
-
b.activity.slug ? (p(), D(
|
|
8460
|
+
b.activity.slug ? (p(), D(ra, {
|
|
8461
8461
|
key: 0,
|
|
8462
8462
|
label: b.activity.slug,
|
|
8463
8463
|
clickable: !0,
|
|
@@ -9401,7 +9401,7 @@ const ls = /* @__PURE__ */ q({
|
|
|
9401
9401
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9402
9402
|
key: o,
|
|
9403
9403
|
class: X(["ao-progress__progress"]),
|
|
9404
|
-
style:
|
|
9404
|
+
style: xt({ width: `${o * 100}%` })
|
|
9405
9405
|
}, null, 4))), 128))
|
|
9406
9406
|
], 2));
|
|
9407
9407
|
}
|
|
@@ -9539,7 +9539,7 @@ const Xf = /* @__PURE__ */ q({
|
|
|
9539
9539
|
setup(t) {
|
|
9540
9540
|
return (e, a) => (p(), C("span", {
|
|
9541
9541
|
class: "aoBadge",
|
|
9542
|
-
style:
|
|
9542
|
+
style: xt({ backgroundColor: e.color })
|
|
9543
9543
|
}, null, 4));
|
|
9544
9544
|
}
|
|
9545
9545
|
});
|
|
@@ -10716,7 +10716,7 @@ const Dh = { class: "ao-mapping-card-project-phase__header" }, Bh = { class: "ao
|
|
|
10716
10716
|
class: "ao-mapping-card-project-phase",
|
|
10717
10717
|
"is-clickable": d.isEditable,
|
|
10718
10718
|
onClick: (w) => u(w, h),
|
|
10719
|
-
style:
|
|
10719
|
+
style: xt({ "--ao-card-custom-bg": $ })
|
|
10720
10720
|
}, fa({
|
|
10721
10721
|
default: N(() => [
|
|
10722
10722
|
f("div", Bh, [
|
|
@@ -10800,18 +10800,15 @@ const Dh = { class: "ao-mapping-card-project-phase__header" }, Bh = { class: "ao
|
|
|
10800
10800
|
}
|
|
10801
10801
|
});
|
|
10802
10802
|
const qh = {
|
|
10803
|
-
key: 0,
|
|
10804
|
-
class: "ao-project-phase__drag ao-card__drag"
|
|
10805
|
-
}, Yh = {
|
|
10806
10803
|
key: 1,
|
|
10807
10804
|
class: "ao-project-phase__col-phase"
|
|
10808
|
-
},
|
|
10805
|
+
}, Yh = {
|
|
10809
10806
|
key: 2,
|
|
10810
10807
|
class: "ao-mapping-project-phase__col-phase"
|
|
10811
|
-
},
|
|
10808
|
+
}, xh = {
|
|
10812
10809
|
key: 3,
|
|
10813
10810
|
class: "ao-project-phase__col-milestones"
|
|
10814
|
-
},
|
|
10811
|
+
}, Kh = { class: "ao-project-phase__milestones" }, Gh = { class: "ao-project-phase__milestones-list-footer" }, Xh = /* @__PURE__ */ q({
|
|
10815
10812
|
__name: "AoProjectPhase",
|
|
10816
10813
|
props: {
|
|
10817
10814
|
phase: {},
|
|
@@ -10874,13 +10871,17 @@ const qh = {
|
|
|
10874
10871
|
{ "ao-project-phase--selected": m.phase.id === ((y = m.$route.params) == null ? void 0 : y.phaseId) }
|
|
10875
10872
|
])
|
|
10876
10873
|
}, [
|
|
10877
|
-
m.isEditable ? (p(), C("div",
|
|
10874
|
+
m.isEditable ? (p(), C("div", {
|
|
10875
|
+
key: 0,
|
|
10876
|
+
class: "ao-project-phase__drag ao-card__drag",
|
|
10877
|
+
style: xt({ backgroundColor: m.phase.color || "var(--ao-color-primary-lightest)" })
|
|
10878
|
+
}, [
|
|
10878
10879
|
A(pe, {
|
|
10879
10880
|
name: "DragIndicator",
|
|
10880
10881
|
class: "ao-project-phase__drag-handle"
|
|
10881
10882
|
})
|
|
10882
|
-
])) : O("", !0),
|
|
10883
|
-
g.value ? (p(), C("div",
|
|
10883
|
+
], 4)) : O("", !0),
|
|
10884
|
+
g.value ? (p(), C("div", Yh, [
|
|
10884
10885
|
A(zh, {
|
|
10885
10886
|
id: m.phase.id,
|
|
10886
10887
|
milestones: l.value,
|
|
@@ -10894,7 +10895,7 @@ const qh = {
|
|
|
10894
10895
|
onUnarchivePhase: h,
|
|
10895
10896
|
onUpdatePhase: i
|
|
10896
10897
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10897
|
-
])) : (p(), C("div",
|
|
10898
|
+
])) : (p(), C("div", qh, [
|
|
10898
10899
|
A(Gf, {
|
|
10899
10900
|
id: m.phase.id,
|
|
10900
10901
|
milestones: l.value,
|
|
@@ -10908,8 +10909,8 @@ const qh = {
|
|
|
10908
10909
|
onUnarchivePhase: h
|
|
10909
10910
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10910
10911
|
])),
|
|
10911
|
-
g.value ? O("", !0) : (p(), C("div",
|
|
10912
|
-
f("div",
|
|
10912
|
+
g.value ? O("", !0) : (p(), C("div", xh, [
|
|
10913
|
+
f("div", Kh, [
|
|
10913
10914
|
A(Q(mt), Ae({
|
|
10914
10915
|
class: "ao-project-phase__milestones-list",
|
|
10915
10916
|
list: l.value,
|
|
@@ -10947,7 +10948,7 @@ const qh = {
|
|
|
10947
10948
|
}),
|
|
10948
10949
|
_: 1
|
|
10949
10950
|
}, 16, ["list", "disabled"]),
|
|
10950
|
-
f("div",
|
|
10951
|
+
f("div", Gh, [
|
|
10951
10952
|
m.isEditable ? (p(), D(gt, {
|
|
10952
10953
|
key: 0,
|
|
10953
10954
|
label: m.$t("project.milestone.add"),
|
|
@@ -10962,10 +10963,10 @@ const qh = {
|
|
|
10962
10963
|
};
|
|
10963
10964
|
}
|
|
10964
10965
|
});
|
|
10965
|
-
const
|
|
10966
|
+
const Qh = { class: "ao-project__phases" }, Jh = {
|
|
10966
10967
|
key: 0,
|
|
10967
10968
|
class: "ao-project-phase__phases-list-footer"
|
|
10968
|
-
},
|
|
10969
|
+
}, e9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), t9 = { class: "ao-project-phase__col-phase" }, a9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), fi = /* @__PURE__ */ q({
|
|
10969
10970
|
__name: "AoProjectPhases",
|
|
10970
10971
|
props: {
|
|
10971
10972
|
phases: {},
|
|
@@ -11005,7 +11006,7 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11005
11006
|
}, d = (v) => {
|
|
11006
11007
|
e("addPhase", v);
|
|
11007
11008
|
};
|
|
11008
|
-
return (v, h) => (p(), C("div",
|
|
11009
|
+
return (v, h) => (p(), C("div", Qh, [
|
|
11009
11010
|
A(Q(mt), {
|
|
11010
11011
|
class: "ao-project-phase__phases-list",
|
|
11011
11012
|
"model-value": v.phases,
|
|
@@ -11014,7 +11015,7 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11014
11015
|
onChange: c
|
|
11015
11016
|
}, {
|
|
11016
11017
|
item: N(({ element: $ }) => [
|
|
11017
|
-
A(
|
|
11018
|
+
A(Xh, {
|
|
11018
11019
|
phase: $,
|
|
11019
11020
|
"is-editable": !v.readonly && v.isEditable,
|
|
11020
11021
|
"closed-status": v.closedStatus,
|
|
@@ -11031,9 +11032,9 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11031
11032
|
]),
|
|
11032
11033
|
_: 1
|
|
11033
11034
|
}, 8, ["model-value"]),
|
|
11034
|
-
v.isEditable ? (p(), C("div",
|
|
11035
|
-
|
|
11036
|
-
f("div",
|
|
11035
|
+
v.isEditable ? (p(), C("div", Jh, [
|
|
11036
|
+
e9,
|
|
11037
|
+
f("div", t9, [
|
|
11037
11038
|
A(gt, {
|
|
11038
11039
|
label: v.$t("project.phases.add"),
|
|
11039
11040
|
"icon-name": "Add",
|
|
@@ -11041,12 +11042,12 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11041
11042
|
onClick: d
|
|
11042
11043
|
}, null, 8, ["label"])
|
|
11043
11044
|
]),
|
|
11044
|
-
|
|
11045
|
+
a9
|
|
11045
11046
|
])) : O("", !0)
|
|
11046
11047
|
]));
|
|
11047
11048
|
}
|
|
11048
11049
|
});
|
|
11049
|
-
const
|
|
11050
|
+
const s9 = ["onSubmit"], n9 = { class: "ao-add-template-modal__form-body" }, i9 = { class: "field__row" }, o9 = { class: "ao-add-template-modal__form-footer" }, hi = /* @__PURE__ */ q({
|
|
11050
11051
|
__name: "AoAddTemplateModal",
|
|
11051
11052
|
props: {
|
|
11052
11053
|
projectId: {},
|
|
@@ -11075,8 +11076,8 @@ const n9 = ["onSubmit"], i9 = { class: "ao-add-template-modal__form-body" }, o9
|
|
|
11075
11076
|
onSubmit: ve(i, ["prevent"])
|
|
11076
11077
|
}, [
|
|
11077
11078
|
f("p", null, W(l.$t("project.template.apply.notice")), 1),
|
|
11078
|
-
f("div",
|
|
11079
|
-
f("div",
|
|
11079
|
+
f("div", n9, [
|
|
11080
|
+
f("div", i9, [
|
|
11080
11081
|
A(Se, {
|
|
11081
11082
|
value: n.value,
|
|
11082
11083
|
options: s.value,
|
|
@@ -11085,7 +11086,7 @@ const n9 = ["onSubmit"], i9 = { class: "ao-add-template-modal__form-body" }, o9
|
|
|
11085
11086
|
}, null, 8, ["value", "options"])
|
|
11086
11087
|
])
|
|
11087
11088
|
]),
|
|
11088
|
-
f("footer",
|
|
11089
|
+
f("footer", o9, [
|
|
11089
11090
|
A(re, {
|
|
11090
11091
|
label: l.$t("project.template.apply.label"),
|
|
11091
11092
|
type: "submit",
|
|
@@ -11094,13 +11095,13 @@ const n9 = ["onSubmit"], i9 = { class: "ao-add-template-modal__form-body" }, o9
|
|
|
11094
11095
|
onClick: i
|
|
11095
11096
|
}, null, 8, ["label"])
|
|
11096
11097
|
])
|
|
11097
|
-
], 40,
|
|
11098
|
+
], 40, s9)
|
|
11098
11099
|
]),
|
|
11099
11100
|
_: 1
|
|
11100
11101
|
}));
|
|
11101
11102
|
}
|
|
11102
11103
|
});
|
|
11103
|
-
const
|
|
11104
|
+
const l9 = ["onSubmit"], r9 = { class: "ao-save-template-modal__form-body" }, u9 = { class: "field__row" }, c9 = { class: "ao-field ao-field--inline" }, d9 = { class: "ao-field__label" }, p9 = { class: "ao-save-template-modal__phases" }, v9 = { class: "ao-field__label" }, f9 = { class: "ao-save-template-modal__phases-list" }, h9 = ["value"], m9 = { class: "ao-save-template-modal__form-footer" }, mi = /* @__PURE__ */ q({
|
|
11104
11105
|
__name: "AoSaveTemplateModal",
|
|
11105
11106
|
props: {
|
|
11106
11107
|
phases: {}
|
|
@@ -11126,10 +11127,10 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11126
11127
|
class: "ao-save-template-modal__form",
|
|
11127
11128
|
onSubmit: ve(o, ["prevent"])
|
|
11128
11129
|
}, [
|
|
11129
|
-
f("div",
|
|
11130
|
-
f("div",
|
|
11131
|
-
f("label",
|
|
11132
|
-
f("span",
|
|
11130
|
+
f("div", r9, [
|
|
11131
|
+
f("div", u9, [
|
|
11132
|
+
f("label", c9, [
|
|
11133
|
+
f("span", d9, W(i.$t("project.template.name.label")) + ": ", 1),
|
|
11133
11134
|
De(f("input", {
|
|
11134
11135
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11135
11136
|
type: "text"
|
|
@@ -11138,9 +11139,9 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11138
11139
|
])
|
|
11139
11140
|
])
|
|
11140
11141
|
]),
|
|
11141
|
-
f("div",
|
|
11142
|
-
f("div",
|
|
11143
|
-
f("div",
|
|
11142
|
+
f("div", p9, [
|
|
11143
|
+
f("div", v9, W(i.$t("project.template.phases.label")), 1),
|
|
11144
|
+
f("div", f9, [
|
|
11144
11145
|
(p(!0), C(fe, null, _e(a.phases, (r) => (p(), C("label", {
|
|
11145
11146
|
class: "ao-field ao-field--checkbox",
|
|
11146
11147
|
key: r.id
|
|
@@ -11149,7 +11150,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11149
11150
|
type: "checkbox",
|
|
11150
11151
|
value: r.id,
|
|
11151
11152
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => n.value = c)
|
|
11152
|
-
}, null, 8,
|
|
11153
|
+
}, null, 8, h9), [
|
|
11153
11154
|
[Ui, n.value]
|
|
11154
11155
|
]),
|
|
11155
11156
|
f("span", null, W(r.name), 1)
|
|
@@ -11157,7 +11158,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11157
11158
|
])
|
|
11158
11159
|
])
|
|
11159
11160
|
]),
|
|
11160
|
-
f("footer",
|
|
11161
|
+
f("footer", m9, [
|
|
11161
11162
|
A(re, {
|
|
11162
11163
|
label: i.$t("project.template.save.label"),
|
|
11163
11164
|
type: "submit",
|
|
@@ -11166,13 +11167,13 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11166
11167
|
onClick: o
|
|
11167
11168
|
}, null, 8, ["label"])
|
|
11168
11169
|
])
|
|
11169
|
-
], 40,
|
|
11170
|
+
], 40, l9)
|
|
11170
11171
|
]),
|
|
11171
11172
|
_: 1
|
|
11172
11173
|
}));
|
|
11173
11174
|
}
|
|
11174
11175
|
});
|
|
11175
|
-
const
|
|
11176
|
+
const g9 = q({
|
|
11176
11177
|
props: {
|
|
11177
11178
|
modelValue: {
|
|
11178
11179
|
type: [String, Number],
|
|
@@ -11190,18 +11191,18 @@ const C9 = q({
|
|
|
11190
11191
|
}
|
|
11191
11192
|
}
|
|
11192
11193
|
});
|
|
11193
|
-
const
|
|
11194
|
-
function
|
|
11195
|
-
return p(), C("div",
|
|
11194
|
+
const C9 = { class: "tabbar-wrapper" }, _9 = ["onClick"];
|
|
11195
|
+
function y9(t, e, a, s, n, o) {
|
|
11196
|
+
return p(), C("div", C9, [
|
|
11196
11197
|
(p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
|
|
11197
11198
|
key: i.value,
|
|
11198
11199
|
class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11199
11200
|
type: "button",
|
|
11200
11201
|
onClick: (l) => t.selectTab(i.value)
|
|
11201
|
-
}, W(i.label), 11,
|
|
11202
|
+
}, W(i.label), 11, _9))), 128))
|
|
11202
11203
|
]);
|
|
11203
11204
|
}
|
|
11204
|
-
const an = /* @__PURE__ */ U(
|
|
11205
|
+
const an = /* @__PURE__ */ U(g9, [["render", y9], ["__scopeId", "data-v-ff4e3297"]]), b9 = { class: "ao-project" }, w9 = { class: "ao-project__body" }, $9 = /* @__PURE__ */ q({
|
|
11205
11206
|
__name: "AoProjectOverviewProject",
|
|
11206
11207
|
props: {
|
|
11207
11208
|
project: {},
|
|
@@ -11283,7 +11284,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11283
11284
|
const R = rt("RouterView");
|
|
11284
11285
|
return p(), C(fe, null, [
|
|
11285
11286
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11286
|
-
f("div",
|
|
11287
|
+
f("div", b9, [
|
|
11287
11288
|
A(ba, null, {
|
|
11288
11289
|
primary: N(() => [
|
|
11289
11290
|
A(an, {
|
|
@@ -11322,7 +11323,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11322
11323
|
]),
|
|
11323
11324
|
_: 1
|
|
11324
11325
|
}),
|
|
11325
|
-
f("div",
|
|
11326
|
+
f("div", w9, [
|
|
11326
11327
|
A(fi, {
|
|
11327
11328
|
phases: T.phases,
|
|
11328
11329
|
"closed-status": T.closedStatus,
|
|
@@ -11409,39 +11410,39 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11409
11410
|
};
|
|
11410
11411
|
}
|
|
11411
11412
|
});
|
|
11412
|
-
const
|
|
11413
|
+
const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
11413
11414
|
key: 1,
|
|
11414
11415
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11415
|
-
},
|
|
11416
|
+
}, A9 = {
|
|
11416
11417
|
key: 2,
|
|
11417
11418
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
11418
|
-
},
|
|
11419
|
+
}, M9 = { class: "ao-card-feed__body" }, T9 = {
|
|
11419
11420
|
key: 0,
|
|
11420
11421
|
class: "ao-card-feed__breadcrumbs"
|
|
11421
|
-
},
|
|
11422
|
+
}, O9 = {
|
|
11422
11423
|
class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
|
|
11423
|
-
},
|
|
11424
|
+
}, E9 = { class: "ao-card-feed__title-line" }, I9 = {
|
|
11424
11425
|
key: 0,
|
|
11425
11426
|
class: "ao-card-feed__slug"
|
|
11426
|
-
},
|
|
11427
|
+
}, L9 = {
|
|
11427
11428
|
key: 1,
|
|
11428
11429
|
class: "ao-card-feed__deadline"
|
|
11429
|
-
},
|
|
11430
|
+
}, P9 = { class: "ao-card-feed__footer" }, H9 = { class: "ao-card-feed__footer-row" }, V9 = { class: "ao-assignees" }, D9 = {
|
|
11430
11431
|
key: 0,
|
|
11431
11432
|
class: "ao-assignee"
|
|
11432
|
-
},
|
|
11433
|
+
}, B9 = {
|
|
11433
11434
|
key: 0,
|
|
11434
11435
|
class: "ao-card-feed__subitems"
|
|
11435
|
-
},
|
|
11436
|
+
}, j9 = {
|
|
11436
11437
|
key: 0,
|
|
11437
11438
|
class: "ao-card-feed__subitem"
|
|
11438
|
-
},
|
|
11439
|
+
}, R9 = { class: "ao-card-feed__subitem" }, N9 = {
|
|
11439
11440
|
key: 1,
|
|
11440
11441
|
class: "ao-card-feed__subitem"
|
|
11441
|
-
},
|
|
11442
|
+
}, U9 = { class: "ao-card-feed__subitem" }, F9 = { class: "ao-card-feed__footer-row" }, Z9 = {
|
|
11442
11443
|
key: 0,
|
|
11443
11444
|
class: "ao-card-feed__progress-wrapper"
|
|
11444
|
-
},
|
|
11445
|
+
}, W9 = { class: "ao-card-feed__subitem" }, z9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */ q({
|
|
11445
11446
|
__name: "AoCardFeed",
|
|
11446
11447
|
props: {
|
|
11447
11448
|
id: {},
|
|
@@ -11484,8 +11485,8 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11484
11485
|
"is-clickable": !0
|
|
11485
11486
|
}, {
|
|
11486
11487
|
header: N(() => [
|
|
11487
|
-
f("div",
|
|
11488
|
-
s.value ? (p(), D(
|
|
11488
|
+
f("div", k9, [
|
|
11489
|
+
s.value ? (p(), D(ra, {
|
|
11489
11490
|
key: 0,
|
|
11490
11491
|
label: s.value,
|
|
11491
11492
|
class: "ao-card-feed__project",
|
|
@@ -11493,7 +11494,7 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11493
11494
|
color: h.projectColor ? void 0 : "primary",
|
|
11494
11495
|
"raw-color": n.value
|
|
11495
11496
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
11496
|
-
h.isPrivate || h.important || h.isClosed ? (p(), C("div",
|
|
11497
|
+
h.isPrivate || h.important || h.isClosed ? (p(), C("div", S9, [
|
|
11497
11498
|
h.isPrivate ? (p(), D(pe, {
|
|
11498
11499
|
key: 0,
|
|
11499
11500
|
name: "Lock",
|
|
@@ -11512,17 +11513,17 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11512
11513
|
class: "ao-card-feed__closed"
|
|
11513
11514
|
})) : O("", !0)
|
|
11514
11515
|
])) : O("", !0),
|
|
11515
|
-
h.$slots.secondary ? (p(), C("div",
|
|
11516
|
+
h.$slots.secondary ? (p(), C("div", A9, [
|
|
11516
11517
|
te(h.$slots, "secondary")
|
|
11517
11518
|
])) : O("", !0)
|
|
11518
11519
|
])
|
|
11519
11520
|
]),
|
|
11520
11521
|
default: N(() => [
|
|
11521
|
-
f("div",
|
|
11522
|
-
i.value ? (p(), C("span",
|
|
11523
|
-
f("div",
|
|
11524
|
-
f("div",
|
|
11525
|
-
h.slug ? (p(), C("span",
|
|
11522
|
+
f("div", M9, [
|
|
11523
|
+
i.value ? (p(), C("span", T9, W(i.value), 1)) : O("", !0),
|
|
11524
|
+
f("div", O9, [
|
|
11525
|
+
f("div", E9, [
|
|
11526
|
+
h.slug ? (p(), C("span", I9, W(h.slug) + ": ", 1)) : O("", !0),
|
|
11526
11527
|
A(be, {
|
|
11527
11528
|
id: h.id,
|
|
11528
11529
|
title: h.name,
|
|
@@ -11533,17 +11534,17 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11533
11534
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11534
11535
|
])
|
|
11535
11536
|
]),
|
|
11536
|
-
h.deadline ? (p(), C("span",
|
|
11537
|
+
h.deadline ? (p(), C("span", L9, W(r.value), 1)) : O("", !0)
|
|
11537
11538
|
])
|
|
11538
11539
|
]),
|
|
11539
11540
|
footer: N(() => [
|
|
11540
|
-
f("div",
|
|
11541
|
-
f("div",
|
|
11542
|
-
f("ul",
|
|
11541
|
+
f("div", P9, [
|
|
11542
|
+
f("div", H9, [
|
|
11543
|
+
f("ul", V9, [
|
|
11543
11544
|
(p(!0), C(fe, null, _e(l.value, (w) => (p(), C(fe, {
|
|
11544
11545
|
key: w.id
|
|
11545
11546
|
}, [
|
|
11546
|
-
w ? (p(), C("li",
|
|
11547
|
+
w ? (p(), C("li", D9, [
|
|
11547
11548
|
A(Je, {
|
|
11548
11549
|
"user-name": Q(Kn)(w),
|
|
11549
11550
|
"avatar-url": w.avatarUrl,
|
|
@@ -11553,31 +11554,31 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11553
11554
|
])) : O("", !0)
|
|
11554
11555
|
], 64))), 128))
|
|
11555
11556
|
]),
|
|
11556
|
-
h.comments || h.attachments ? (p(), C("ul",
|
|
11557
|
-
h.comments ? (p(), C("li",
|
|
11557
|
+
h.comments || h.attachments ? (p(), C("ul", B9, [
|
|
11558
|
+
h.comments ? (p(), C("li", j9, [
|
|
11558
11559
|
A(pe, {
|
|
11559
11560
|
name: "ChatOutline",
|
|
11560
11561
|
size: "sm"
|
|
11561
11562
|
}),
|
|
11562
|
-
f("span",
|
|
11563
|
+
f("span", R9, W(h.comments), 1)
|
|
11563
11564
|
])) : O("", !0),
|
|
11564
|
-
h.attachments ? (p(), C("li",
|
|
11565
|
+
h.attachments ? (p(), C("li", N9, [
|
|
11565
11566
|
A(pe, {
|
|
11566
11567
|
name: "AttachFileRounded",
|
|
11567
11568
|
size: "sm"
|
|
11568
11569
|
}),
|
|
11569
|
-
f("span",
|
|
11570
|
+
f("span", U9, W(h.attachments), 1)
|
|
11570
11571
|
])) : O("", !0)
|
|
11571
11572
|
])) : O("", !0)
|
|
11572
11573
|
]),
|
|
11573
|
-
f("div",
|
|
11574
|
-
h.tasks && h.tasks.length ? (p(), C("div",
|
|
11575
|
-
f("div",
|
|
11574
|
+
f("div", F9, [
|
|
11575
|
+
h.tasks && h.tasks.length ? (p(), C("div", Z9, [
|
|
11576
|
+
f("div", W9, [
|
|
11576
11577
|
A(pe, {
|
|
11577
11578
|
name: "SelectCheckBox",
|
|
11578
11579
|
size: "sm"
|
|
11579
11580
|
}),
|
|
11580
|
-
f("span",
|
|
11581
|
+
f("span", z9, W(d.value) + " / " + W(u.value), 1)
|
|
11581
11582
|
]),
|
|
11582
11583
|
A(ls, {
|
|
11583
11584
|
percentages: v.value,
|
|
@@ -11591,10 +11592,10 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11591
11592
|
}, 8, ["class"]));
|
|
11592
11593
|
}
|
|
11593
11594
|
});
|
|
11594
|
-
const
|
|
11595
|
+
const q9 = { class: "ao-project-milestone" }, Y9 = { class: "ao-project-milestone__header" }, x9 = { class: "ao-project-milestone__header_line" }, K9 = { class: "ao-project-milestone__header_line" }, G9 = { class: "ao-project-milestone__title" }, X9 = {
|
|
11595
11596
|
key: 0,
|
|
11596
11597
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11597
|
-
},
|
|
11598
|
+
}, Q9 = { class: "ao-field__row ao-milestone__field-row" }, J9 = { class: "ao-field ao-field--inline" }, e4 = { class: "ao-field__row ao-milestone__field-row" }, t4 = { class: "ao-field ao-milestone__field-multiselect" }, a4 = ["onClick"], s4 = { class: "ao-project-milestone__body" }, n4 = {
|
|
11598
11599
|
key: 0,
|
|
11599
11600
|
class: "ao-project-milestone__footer"
|
|
11600
11601
|
}, In = /* @__PURE__ */ q({
|
|
@@ -11701,9 +11702,9 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11701
11702
|
});
|
|
11702
11703
|
return (_, y) => {
|
|
11703
11704
|
var P;
|
|
11704
|
-
return p(), C("div",
|
|
11705
|
-
f("header",
|
|
11706
|
-
f("div",
|
|
11705
|
+
return p(), C("div", q9, [
|
|
11706
|
+
f("header", Y9, [
|
|
11707
|
+
f("div", x9, [
|
|
11707
11708
|
A(re, {
|
|
11708
11709
|
"icon-name": "CloseRounded",
|
|
11709
11710
|
variant: "ghost",
|
|
@@ -11712,8 +11713,8 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11712
11713
|
onClick: r
|
|
11713
11714
|
})
|
|
11714
11715
|
]),
|
|
11715
|
-
f("div",
|
|
11716
|
-
f("div",
|
|
11716
|
+
f("div", K9, [
|
|
11717
|
+
f("div", G9, [
|
|
11717
11718
|
A(be, {
|
|
11718
11719
|
title: ((P = i.value) == null ? void 0 : P.name) || _.milestoneId,
|
|
11719
11720
|
level: 5
|
|
@@ -11732,9 +11733,9 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11732
11733
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11733
11734
|
])
|
|
11734
11735
|
]),
|
|
11735
|
-
i.value ? (p(), C("div",
|
|
11736
|
-
f("div",
|
|
11737
|
-
f("label",
|
|
11736
|
+
i.value ? (p(), C("div", X9, [
|
|
11737
|
+
f("div", Q9, [
|
|
11738
|
+
f("label", J9, [
|
|
11738
11739
|
De(f("input", {
|
|
11739
11740
|
"onUpdate:modelValue": y[1] || (y[1] = (I) => h.value = I),
|
|
11740
11741
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11749,8 +11750,8 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11749
11750
|
])
|
|
11750
11751
|
])
|
|
11751
11752
|
]),
|
|
11752
|
-
f("div",
|
|
11753
|
-
f("label",
|
|
11753
|
+
f("div", e4, [
|
|
11754
|
+
f("label", t4, [
|
|
11754
11755
|
A(Se, {
|
|
11755
11756
|
modelValue: g.value,
|
|
11756
11757
|
"onUpdate:modelValue": y[2] || (y[2] = (I) => g.value = I),
|
|
@@ -11785,16 +11786,16 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11785
11786
|
}, {
|
|
11786
11787
|
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11787
11788
|
f("button", {
|
|
11788
|
-
style:
|
|
11789
|
+
style: xt({ background: L }),
|
|
11789
11790
|
class: "color-button",
|
|
11790
11791
|
onClick: I
|
|
11791
|
-
}, null, 12,
|
|
11792
|
+
}, null, 12, a4)
|
|
11792
11793
|
]),
|
|
11793
11794
|
_: 1
|
|
11794
11795
|
}, 8, ["color"])
|
|
11795
11796
|
])) : O("", !0)
|
|
11796
11797
|
]),
|
|
11797
|
-
f("div",
|
|
11798
|
+
f("div", s4, [
|
|
11798
11799
|
A(Q(mt), Ae({
|
|
11799
11800
|
class: "ao-project-milestone__activities",
|
|
11800
11801
|
list: l.value,
|
|
@@ -11865,7 +11866,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11865
11866
|
}),
|
|
11866
11867
|
_: 1
|
|
11867
11868
|
}, 16, ["list", "disabled"]),
|
|
11868
|
-
_.isEditable ? (p(), C("div",
|
|
11869
|
+
_.isEditable ? (p(), C("div", n4, [
|
|
11869
11870
|
A(gt, {
|
|
11870
11871
|
"icon-name": "Add",
|
|
11871
11872
|
label: _.$t("project.activity.add"),
|
|
@@ -11877,7 +11878,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11877
11878
|
};
|
|
11878
11879
|
}
|
|
11879
11880
|
});
|
|
11880
|
-
const
|
|
11881
|
+
const i4 = /* @__PURE__ */ q({
|
|
11881
11882
|
__name: "AoProjectOverviewActivityDetails",
|
|
11882
11883
|
props: {
|
|
11883
11884
|
phaseId: {},
|
|
@@ -11964,20 +11965,20 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11964
11965
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
11965
11966
|
};
|
|
11966
11967
|
}
|
|
11967
|
-
}),
|
|
11968
|
+
}), o4 = { class: "ao-col-header" }, l4 = /* @__PURE__ */ q({
|
|
11968
11969
|
__name: "AoColHeader",
|
|
11969
11970
|
props: {
|
|
11970
11971
|
title: {},
|
|
11971
11972
|
items: {}
|
|
11972
11973
|
},
|
|
11973
11974
|
setup(t) {
|
|
11974
|
-
return (e, a) => (p(), C("header",
|
|
11975
|
+
return (e, a) => (p(), C("header", o4, [
|
|
11975
11976
|
A(be, {
|
|
11976
11977
|
title: e.title,
|
|
11977
11978
|
class: "ao-col-header__title",
|
|
11978
11979
|
level: 4
|
|
11979
11980
|
}, null, 8, ["title"]),
|
|
11980
|
-
e.items ? (p(), D(
|
|
11981
|
+
e.items ? (p(), D(ra, {
|
|
11981
11982
|
key: 0,
|
|
11982
11983
|
label: e.items,
|
|
11983
11984
|
class: "ao-col-header__items",
|
|
@@ -11987,17 +11988,17 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11987
11988
|
]));
|
|
11988
11989
|
}
|
|
11989
11990
|
});
|
|
11990
|
-
function
|
|
11991
|
+
function r4(t) {
|
|
11991
11992
|
return Fi() ? (Zi(t), !0) : !1;
|
|
11992
11993
|
}
|
|
11993
11994
|
function za(t) {
|
|
11994
11995
|
return typeof t == "function" ? t() : Q(t);
|
|
11995
11996
|
}
|
|
11996
|
-
const
|
|
11997
|
+
const u4 = typeof window < "u" && typeof document < "u";
|
|
11997
11998
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11998
|
-
const
|
|
11999
|
+
const c4 = (t) => t != null, la = () => {
|
|
11999
12000
|
};
|
|
12000
|
-
function
|
|
12001
|
+
function d4(t, e) {
|
|
12001
12002
|
function a(...s) {
|
|
12002
12003
|
return new Promise((n, o) => {
|
|
12003
12004
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -12005,10 +12006,10 @@ function p4(t, e) {
|
|
|
12005
12006
|
}
|
|
12006
12007
|
return a;
|
|
12007
12008
|
}
|
|
12008
|
-
function
|
|
12009
|
-
let a, s, n =
|
|
12009
|
+
function p4(t, e = {}) {
|
|
12010
|
+
let a, s, n = la;
|
|
12010
12011
|
const o = (l) => {
|
|
12011
|
-
clearTimeout(l), n(), n =
|
|
12012
|
+
clearTimeout(l), n(), n = la;
|
|
12012
12013
|
};
|
|
12013
12014
|
return (l) => {
|
|
12014
12015
|
const r = za(t), c = za(e.maxWait);
|
|
@@ -12021,9 +12022,9 @@ function v4(t, e = {}) {
|
|
|
12021
12022
|
});
|
|
12022
12023
|
};
|
|
12023
12024
|
}
|
|
12024
|
-
function
|
|
12025
|
-
return
|
|
12026
|
-
|
|
12025
|
+
function v4(t, e = 200, a = {}) {
|
|
12026
|
+
return d4(
|
|
12027
|
+
p4(e, a),
|
|
12027
12028
|
t
|
|
12028
12029
|
);
|
|
12029
12030
|
}
|
|
@@ -12032,29 +12033,29 @@ function bs(t) {
|
|
|
12032
12033
|
const a = za(t);
|
|
12033
12034
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12034
12035
|
}
|
|
12035
|
-
const
|
|
12036
|
-
function
|
|
12036
|
+
const f4 = u4 ? window : void 0;
|
|
12037
|
+
function h4() {
|
|
12037
12038
|
const t = x(!1), e = It();
|
|
12038
12039
|
return e && Et(() => {
|
|
12039
12040
|
t.value = !0;
|
|
12040
12041
|
}, e), t;
|
|
12041
12042
|
}
|
|
12042
|
-
function
|
|
12043
|
-
const e =
|
|
12043
|
+
function m4(t) {
|
|
12044
|
+
const e = h4();
|
|
12044
12045
|
return M(() => (e.value, !!t()));
|
|
12045
12046
|
}
|
|
12046
|
-
function
|
|
12047
|
+
function g4(t, e, a = {}) {
|
|
12047
12048
|
const {
|
|
12048
12049
|
root: s,
|
|
12049
12050
|
rootMargin: n = "0px",
|
|
12050
12051
|
threshold: o = 0.1,
|
|
12051
|
-
window: i =
|
|
12052
|
+
window: i = f4,
|
|
12052
12053
|
immediate: l = !0
|
|
12053
|
-
} = a, r =
|
|
12054
|
+
} = a, r = m4(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
12054
12055
|
const $ = za(t);
|
|
12055
|
-
return (Array.isArray($) ? $ : [$]).map(bs).filter(
|
|
12056
|
+
return (Array.isArray($) ? $ : [$]).map(bs).filter(c4);
|
|
12056
12057
|
});
|
|
12057
|
-
let u =
|
|
12058
|
+
let u = la;
|
|
12058
12059
|
const d = x(l), v = r.value ? ce(
|
|
12059
12060
|
() => [c.value, bs(s), d.value],
|
|
12060
12061
|
([$, w]) => {
|
|
@@ -12069,14 +12070,14 @@ function C4(t, e, a = {}) {
|
|
|
12069
12070
|
}
|
|
12070
12071
|
);
|
|
12071
12072
|
$.forEach((m) => m && g.observe(m)), u = () => {
|
|
12072
|
-
g.disconnect(), u =
|
|
12073
|
+
g.disconnect(), u = la;
|
|
12073
12074
|
};
|
|
12074
12075
|
},
|
|
12075
12076
|
{ immediate: l, flush: "post" }
|
|
12076
|
-
) :
|
|
12077
|
+
) : la, h = () => {
|
|
12077
12078
|
u(), v(), d.value = !1;
|
|
12078
12079
|
};
|
|
12079
|
-
return
|
|
12080
|
+
return r4(h), {
|
|
12080
12081
|
isSupported: r,
|
|
12081
12082
|
isActive: d,
|
|
12082
12083
|
pause() {
|
|
@@ -12088,24 +12089,24 @@ function C4(t, e, a = {}) {
|
|
|
12088
12089
|
stop: h
|
|
12089
12090
|
};
|
|
12090
12091
|
}
|
|
12091
|
-
const
|
|
12092
|
+
const C4 = {
|
|
12092
12093
|
class: /* @__PURE__ */ X(["ao-list-kanban"])
|
|
12093
|
-
},
|
|
12094
|
+
}, _4 = { class: "ao-list-kanban__header" }, y4 = {
|
|
12094
12095
|
key: 0,
|
|
12095
12096
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
12096
|
-
},
|
|
12097
|
+
}, b4 = {
|
|
12097
12098
|
key: 1,
|
|
12098
12099
|
class: "ao-list-kanban__end"
|
|
12099
|
-
},
|
|
12100
|
+
}, w4 = {
|
|
12100
12101
|
key: 0,
|
|
12101
12102
|
class: "ao-list-kanban__no-more"
|
|
12102
|
-
},
|
|
12103
|
+
}, $4 = {
|
|
12103
12104
|
key: 1,
|
|
12104
12105
|
class: "ao-list-kanban__divider"
|
|
12105
|
-
},
|
|
12106
|
+
}, k4 = {
|
|
12106
12107
|
key: 1,
|
|
12107
12108
|
class: "ao-list-kanban__footer"
|
|
12108
|
-
},
|
|
12109
|
+
}, S4 = /* @__PURE__ */ q({
|
|
12109
12110
|
__name: "AoListKanban",
|
|
12110
12111
|
props: {
|
|
12111
12112
|
list: {},
|
|
@@ -12123,7 +12124,7 @@ const _4 = {
|
|
|
12123
12124
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
12124
12125
|
setup(t, { emit: e }) {
|
|
12125
12126
|
const a = t, s = x(!1), n = x(null);
|
|
12126
|
-
|
|
12127
|
+
g4(n, ([{ isIntersecting: u }]) => {
|
|
12127
12128
|
s.value = u;
|
|
12128
12129
|
}), ce(s, (u) => {
|
|
12129
12130
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12148,12 +12149,12 @@ const _4 = {
|
|
|
12148
12149
|
)
|
|
12149
12150
|
});
|
|
12150
12151
|
}, c = x(!1);
|
|
12151
|
-
return (u, d) => (p(), C("div",
|
|
12152
|
+
return (u, d) => (p(), C("div", C4, [
|
|
12152
12153
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12153
12154
|
var v;
|
|
12154
12155
|
return [
|
|
12155
|
-
f("div",
|
|
12156
|
-
u.title ? (p(), D(
|
|
12156
|
+
f("div", _4, [
|
|
12157
|
+
u.title ? (p(), D(l4, {
|
|
12157
12158
|
key: 0,
|
|
12158
12159
|
title: u.title,
|
|
12159
12160
|
level: 3,
|
|
@@ -12239,20 +12240,20 @@ const _4 = {
|
|
|
12239
12240
|
];
|
|
12240
12241
|
}),
|
|
12241
12242
|
footer: N(() => [
|
|
12242
|
-
u.isLoading ? (p(), C("div",
|
|
12243
|
+
u.isLoading ? (p(), C("div", y4, [
|
|
12243
12244
|
A(pe, { name: "Loading" })
|
|
12244
12245
|
])) : u.hasMore ? (p(), C("div", {
|
|
12245
12246
|
key: 2,
|
|
12246
12247
|
ref_key: "scrollEnd",
|
|
12247
12248
|
ref: n,
|
|
12248
12249
|
class: "ao-list-kanban__end"
|
|
12249
|
-
}, null, 512)) : (p(), C("div",
|
|
12250
|
-
u.noMoreLabel ? (p(), C("span",
|
|
12250
|
+
}, null, 512)) : (p(), C("div", b4, [
|
|
12251
|
+
u.noMoreLabel ? (p(), C("span", w4, W(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", $4)) : O("", !0)
|
|
12251
12252
|
]))
|
|
12252
12253
|
]),
|
|
12253
12254
|
_: 1
|
|
12254
12255
|
}, 16, ["class", "list", "disabled"]),
|
|
12255
|
-
u.$slots.footer || u.footerLabel ? (p(), C("div",
|
|
12256
|
+
u.$slots.footer || u.footerLabel ? (p(), C("div", k4, [
|
|
12256
12257
|
te(u.$slots, "footer", {}, () => [
|
|
12257
12258
|
u.isEditable ? (p(), D(gt, {
|
|
12258
12259
|
key: 0,
|
|
@@ -12265,7 +12266,7 @@ const _4 = {
|
|
|
12265
12266
|
]));
|
|
12266
12267
|
}
|
|
12267
12268
|
});
|
|
12268
|
-
const
|
|
12269
|
+
const A4 = { class: "ao-field ao-search-field" }, M4 = ["value", "placeholder", "onKeypress"], T4 = /* @__PURE__ */ q({
|
|
12269
12270
|
__name: "AoSearchField",
|
|
12270
12271
|
props: {
|
|
12271
12272
|
modelValue: {},
|
|
@@ -12277,10 +12278,10 @@ const M4 = { class: "ao-field ao-search-field" }, T4 = ["value", "placeholder",
|
|
|
12277
12278
|
const a = t, s = async (i) => {
|
|
12278
12279
|
const r = i.target.value;
|
|
12279
12280
|
e("update:modelValue", r, i);
|
|
12280
|
-
}, n =
|
|
12281
|
+
}, n = v4(s, a.delay), o = (i) => {
|
|
12281
12282
|
e("clear", i);
|
|
12282
12283
|
};
|
|
12283
|
-
return (i, l) => (p(), C("div",
|
|
12284
|
+
return (i, l) => (p(), C("div", A4, [
|
|
12284
12285
|
f("input", {
|
|
12285
12286
|
value: i.modelValue,
|
|
12286
12287
|
type: "text",
|
|
@@ -12289,7 +12290,7 @@ const M4 = { class: "ao-field ao-search-field" }, T4 = ["value", "placeholder",
|
|
|
12289
12290
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12290
12291
|
(...r) => Q(n) && Q(n)(...r)),
|
|
12291
12292
|
onKeypress: dt(s, ["enter"])
|
|
12292
|
-
}, null, 40,
|
|
12293
|
+
}, null, 40, M4),
|
|
12293
12294
|
A(pe, {
|
|
12294
12295
|
name: "SearchRounded",
|
|
12295
12296
|
class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12305,7 +12306,7 @@ const M4 = { class: "ao-field ao-search-field" }, T4 = ["value", "placeholder",
|
|
|
12305
12306
|
]));
|
|
12306
12307
|
}
|
|
12307
12308
|
});
|
|
12308
|
-
const
|
|
12309
|
+
const O4 = { class: "ao-feed" }, E4 = { class: "ao-feed__filters" }, I4 = { class: "ao-feed__body" }, L4 = /* @__PURE__ */ q({
|
|
12309
12310
|
__name: "AoFeed",
|
|
12310
12311
|
props: {
|
|
12311
12312
|
activities: {},
|
|
@@ -12422,16 +12423,16 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12422
12423
|
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..."));
|
|
12423
12424
|
}), (k, R) => {
|
|
12424
12425
|
var b;
|
|
12425
|
-
return p(), C("div",
|
|
12426
|
+
return p(), C("div", O4, [
|
|
12426
12427
|
A(ba, null, {
|
|
12427
12428
|
primary: N(() => [
|
|
12428
|
-
f("div",
|
|
12429
|
+
f("div", E4, [
|
|
12429
12430
|
A(an, {
|
|
12430
12431
|
tabs: T,
|
|
12431
12432
|
modelValue: E.value,
|
|
12432
12433
|
"onUpdate:modelValue": R[0] || (R[0] = (V) => E.value = V)
|
|
12433
12434
|
}, null, 8, ["modelValue"]),
|
|
12434
|
-
A(
|
|
12435
|
+
A(T4, {
|
|
12435
12436
|
"model-value": k.searchText,
|
|
12436
12437
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12437
12438
|
class: "ao-feed__search",
|
|
@@ -12524,8 +12525,8 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12524
12525
|
]),
|
|
12525
12526
|
_: 1
|
|
12526
12527
|
}),
|
|
12527
|
-
f("div",
|
|
12528
|
-
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(
|
|
12528
|
+
f("div", I4, [
|
|
12529
|
+
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(S4, {
|
|
12529
12530
|
key: V.id,
|
|
12530
12531
|
status: V,
|
|
12531
12532
|
list: l.value[V.id],
|
|
@@ -12579,10 +12580,10 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12579
12580
|
};
|
|
12580
12581
|
}
|
|
12581
12582
|
});
|
|
12582
|
-
const
|
|
12583
|
+
const P4 = { class: "ao-project-mapping" }, H4 = { class: "ao-project-mapping-mapping__body" }, V4 = { class: "ao-project-mapping-mapping__phases" }, D4 = {
|
|
12583
12584
|
key: 0,
|
|
12584
12585
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12585
|
-
},
|
|
12586
|
+
}, B4 = ["src", "alt"], j4 = /* @__PURE__ */ q({
|
|
12586
12587
|
__name: "AoMapping",
|
|
12587
12588
|
props: {
|
|
12588
12589
|
project: {},
|
|
@@ -12626,7 +12627,7 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12626
12627
|
g === "feed" ? (h.push({ name: ye.feed }), console.log("Navigating to feed...")) : g === "overview" ? (h.push({ name: ye.project }), console.log("Navigating to feed...")) : g === "mapping" && (h.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12627
12628
|
}), (g, m) => (p(), C(fe, null, [
|
|
12628
12629
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12629
|
-
f("div",
|
|
12630
|
+
f("div", P4, [
|
|
12630
12631
|
A(ba, null, {
|
|
12631
12632
|
primary: N(() => [
|
|
12632
12633
|
A(an, {
|
|
@@ -12665,8 +12666,8 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12665
12666
|
]),
|
|
12666
12667
|
_: 1
|
|
12667
12668
|
}),
|
|
12668
|
-
f("div",
|
|
12669
|
-
f("div",
|
|
12669
|
+
f("div", H4, [
|
|
12670
|
+
f("div", V4, [
|
|
12670
12671
|
A(fi, {
|
|
12671
12672
|
phases: g.phases,
|
|
12672
12673
|
"closed-status": g.closedStatus,
|
|
@@ -12679,12 +12680,12 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12679
12680
|
onCopyPhaseToTemplate: r
|
|
12680
12681
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
12681
12682
|
]),
|
|
12682
|
-
g.project.architectureImage ? (p(), C("div",
|
|
12683
|
+
g.project.architectureImage ? (p(), C("div", D4, [
|
|
12683
12684
|
f("img", {
|
|
12684
12685
|
class: "architecture-image",
|
|
12685
12686
|
src: g.project.architectureImage.url,
|
|
12686
12687
|
alt: Q(s)("architectureImage.alt")
|
|
12687
|
-
}, null, 8,
|
|
12688
|
+
}, null, 8, B4)
|
|
12688
12689
|
])) : O("", !0)
|
|
12689
12690
|
])
|
|
12690
12691
|
])
|
|
@@ -12711,7 +12712,7 @@ const Bt = {
|
|
|
12711
12712
|
TEMPLATES: "templates",
|
|
12712
12713
|
TEMPLATE_DETAILS: "template_details",
|
|
12713
12714
|
TEMPLATES_LIST: "templates_list"
|
|
12714
|
-
},
|
|
12715
|
+
}, t8 = (t, e = {}) => [
|
|
12715
12716
|
{
|
|
12716
12717
|
path: t,
|
|
12717
12718
|
name: Bt.TEMPLATES,
|
|
@@ -12721,7 +12722,7 @@ const Bt = {
|
|
|
12721
12722
|
{
|
|
12722
12723
|
path: "",
|
|
12723
12724
|
name: Bt.TEMPLATES_LIST,
|
|
12724
|
-
component:
|
|
12725
|
+
component: N4
|
|
12725
12726
|
},
|
|
12726
12727
|
{
|
|
12727
12728
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12737,7 +12738,7 @@ const Bt = {
|
|
|
12737
12738
|
mapping: "AoProjectMapping",
|
|
12738
12739
|
milestone: "AoMilestone",
|
|
12739
12740
|
activity: "AoActivity"
|
|
12740
|
-
},
|
|
12741
|
+
}, a8 = (t, e = {}) => [
|
|
12741
12742
|
{
|
|
12742
12743
|
path: t,
|
|
12743
12744
|
...e,
|
|
@@ -12746,7 +12747,7 @@ const Bt = {
|
|
|
12746
12747
|
{
|
|
12747
12748
|
path: "",
|
|
12748
12749
|
name: ye.project,
|
|
12749
|
-
component:
|
|
12750
|
+
component: $9,
|
|
12750
12751
|
props: !0,
|
|
12751
12752
|
children: [
|
|
12752
12753
|
{
|
|
@@ -12761,7 +12762,7 @@ const Bt = {
|
|
|
12761
12762
|
props: { default: !0, modal: !0 },
|
|
12762
12763
|
components: {
|
|
12763
12764
|
default: In,
|
|
12764
|
-
modal:
|
|
12765
|
+
modal: i4
|
|
12765
12766
|
}
|
|
12766
12767
|
}
|
|
12767
12768
|
]
|
|
@@ -12769,18 +12770,18 @@ const Bt = {
|
|
|
12769
12770
|
{
|
|
12770
12771
|
path: "feed",
|
|
12771
12772
|
name: ye.feed,
|
|
12772
|
-
component:
|
|
12773
|
+
component: L4,
|
|
12773
12774
|
props: !0
|
|
12774
12775
|
},
|
|
12775
12776
|
{
|
|
12776
12777
|
path: "mapping",
|
|
12777
12778
|
name: ye.mapping,
|
|
12778
|
-
component:
|
|
12779
|
+
component: j4,
|
|
12779
12780
|
props: !0
|
|
12780
12781
|
}
|
|
12781
12782
|
]
|
|
12782
12783
|
}
|
|
12783
|
-
],
|
|
12784
|
+
], R4 = { class: "ao-templates" }, N4 = /* @__PURE__ */ q({
|
|
12784
12785
|
__name: "AoTemplatesList",
|
|
12785
12786
|
props: {
|
|
12786
12787
|
templates: {}
|
|
@@ -12829,7 +12830,7 @@ const Bt = {
|
|
|
12829
12830
|
});
|
|
12830
12831
|
}
|
|
12831
12832
|
};
|
|
12832
|
-
return (r, c) => (p(), C("div",
|
|
12833
|
+
return (r, c) => (p(), C("div", R4, [
|
|
12833
12834
|
A(ba, null, {
|
|
12834
12835
|
secondary: N(() => [
|
|
12835
12836
|
A(re, {
|
|
@@ -12874,7 +12875,7 @@ const Bt = {
|
|
|
12874
12875
|
]));
|
|
12875
12876
|
}
|
|
12876
12877
|
});
|
|
12877
|
-
const
|
|
12878
|
+
const U4 = { class: "ao-field__label" }, F4 = /* @__PURE__ */ q({
|
|
12878
12879
|
__name: "AoField",
|
|
12879
12880
|
props: {
|
|
12880
12881
|
label: {},
|
|
@@ -12884,11 +12885,11 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12884
12885
|
return (e, a) => (p(), C("label", {
|
|
12885
12886
|
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12886
12887
|
}, [
|
|
12887
|
-
f("span",
|
|
12888
|
+
f("span", U4, W(e.label), 1),
|
|
12888
12889
|
te(e.$slots, "default")
|
|
12889
12890
|
], 2));
|
|
12890
12891
|
}
|
|
12891
|
-
}),
|
|
12892
|
+
}), Z4 = ["type", "value", "disabled", "readonly"], s8 = /* @__PURE__ */ q({
|
|
12892
12893
|
__name: "AoInputField",
|
|
12893
12894
|
props: {
|
|
12894
12895
|
label: { default: "" },
|
|
@@ -12905,7 +12906,7 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12905
12906
|
), n = (o) => {
|
|
12906
12907
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12907
12908
|
};
|
|
12908
|
-
return (o, i) => (p(), D(
|
|
12909
|
+
return (o, i) => (p(), D(F4, { label: o.label }, {
|
|
12909
12910
|
default: N(() => [
|
|
12910
12911
|
f("input", Ae({
|
|
12911
12912
|
class: "ao-field__input",
|
|
@@ -12915,12 +12916,12 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12915
12916
|
readonly: o.isReadonly
|
|
12916
12917
|
}, {
|
|
12917
12918
|
[Wi(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12918
|
-
}), null, 16,
|
|
12919
|
+
}), null, 16, Z4)
|
|
12919
12920
|
]),
|
|
12920
12921
|
_: 1
|
|
12921
12922
|
}, 8, ["label"]));
|
|
12922
12923
|
}
|
|
12923
|
-
}),
|
|
12924
|
+
}), W4 = { class: "ao-field" }, z4 = { class: "ao-field__label" }, q4 = ["checked", "disabled"], n8 = /* @__PURE__ */ q({
|
|
12924
12925
|
__name: "AoCheckboxField",
|
|
12925
12926
|
props: {
|
|
12926
12927
|
label: { default: "" },
|
|
@@ -12930,8 +12931,8 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12930
12931
|
},
|
|
12931
12932
|
emits: ["update:modelValue"],
|
|
12932
12933
|
setup(t) {
|
|
12933
|
-
return (e, a) => (p(), C("label",
|
|
12934
|
-
f("span",
|
|
12934
|
+
return (e, a) => (p(), C("label", W4, [
|
|
12935
|
+
f("span", z4, W(e.label), 1),
|
|
12935
12936
|
f("input", {
|
|
12936
12937
|
class: "ao-field__input",
|
|
12937
12938
|
type: "checkbox",
|
|
@@ -12944,29 +12945,29 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12944
12945
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12945
12946
|
);
|
|
12946
12947
|
})
|
|
12947
|
-
}, null, 40,
|
|
12948
|
+
}, null, 40, q4)
|
|
12948
12949
|
]));
|
|
12949
12950
|
}
|
|
12950
12951
|
});
|
|
12951
12952
|
export {
|
|
12952
12953
|
Je as AoAvatar,
|
|
12953
12954
|
gi as AoCardFeed,
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12955
|
+
n8 as AoCheckboxField,
|
|
12956
|
+
L4 as AoFeed,
|
|
12957
|
+
F4 as AoField,
|
|
12958
|
+
s8 as AoInputField,
|
|
12958
12959
|
Se as AoMultiselect,
|
|
12959
12960
|
fi as AoProjectPhases,
|
|
12960
12961
|
Bf as AoTemplateDetails,
|
|
12961
|
-
|
|
12962
|
-
|
|
12962
|
+
X4 as AoTemplates,
|
|
12963
|
+
N4 as AoTemplatesList,
|
|
12963
12964
|
G2 as TemplateItemTypeEnum,
|
|
12964
|
-
|
|
12965
|
-
|
|
12965
|
+
J4 as activityFeedStatus,
|
|
12966
|
+
Q4 as durationTypes,
|
|
12966
12967
|
Vt as feedFilterTypes,
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
|
|
12968
|
+
a8 as getProjectOverviewRoutes,
|
|
12969
|
+
t8 as getTemplateRoutes,
|
|
12970
|
+
e8 as listUpdateTypes,
|
|
12970
12971
|
Ba as milestoneStatus,
|
|
12971
12972
|
ye as projectOverviewRoutes,
|
|
12972
12973
|
Y2 as ruleComparators,
|