@26lights/orcha 0.41.63 → 0.41.65
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 +428 -422
- package/dist/orcha.umd.js +3 -3
- 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 Mt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import 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: Mt(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,11 +1481,11 @@ 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"
|
|
1488
|
-
},
|
|
1488
|
+
}, Dt = {
|
|
1489
1489
|
project: "projectId",
|
|
1490
1490
|
type: "typeId",
|
|
1491
1491
|
assignee: "assigneeId"
|
|
@@ -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) {
|
|
@@ -1687,7 +1687,7 @@ var d0 = {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
};
|
|
1689
1689
|
const lt = d0;
|
|
1690
|
-
var
|
|
1690
|
+
var Bt = {
|
|
1691
1691
|
am: "am",
|
|
1692
1692
|
pm: "pm",
|
|
1693
1693
|
midnight: "midnight",
|
|
@@ -2068,7 +2068,7 @@ var Dt = {
|
|
|
2068
2068
|
// AM, PM, midnight, noon
|
|
2069
2069
|
b: function(e, a, s) {
|
|
2070
2070
|
var n = e.getUTCHours(), o;
|
|
2071
|
-
switch (n === 12 ? o =
|
|
2071
|
+
switch (n === 12 ? o = Bt.noon : n === 0 ? o = Bt.midnight : o = n / 12 >= 1 ? "pm" : "am", a) {
|
|
2072
2072
|
case "b":
|
|
2073
2073
|
case "bb":
|
|
2074
2074
|
return s.dayPeriod(o, {
|
|
@@ -2096,7 +2096,7 @@ var Dt = {
|
|
|
2096
2096
|
// in the morning, in the afternoon, in the evening, at night
|
|
2097
2097
|
B: function(e, a, s) {
|
|
2098
2098
|
var n = e.getUTCHours(), o;
|
|
2099
|
-
switch (n >= 17 ? o =
|
|
2099
|
+
switch (n >= 17 ? o = Bt.evening : n >= 12 ? o = Bt.afternoon : n >= 4 ? o = Bt.morning : o = Bt.night, a) {
|
|
2100
2100
|
case "B":
|
|
2101
2101
|
case "BB":
|
|
2102
2102
|
case "BBB":
|
|
@@ -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) {
|
|
@@ -3666,9 +3666,9 @@ function D3(t) {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
function ya(t, e) {
|
|
3668
3668
|
if (t.moved)
|
|
3669
|
-
return
|
|
3669
|
+
return Ft(e, t.moved.newIndex);
|
|
3670
3670
|
}
|
|
3671
|
-
function
|
|
3671
|
+
function Ft(t, e) {
|
|
3672
3672
|
if (e === 0)
|
|
3673
3673
|
if (t.length > 1) {
|
|
3674
3674
|
const a = t[e + 1];
|
|
@@ -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 = {
|
|
@@ -4238,7 +4238,7 @@ const ca = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor, pt = (t) =
|
|
|
4238
4238
|
function Ds(t, e) {
|
|
4239
4239
|
return typeof t == "function" ? t(e) : t;
|
|
4240
4240
|
}
|
|
4241
|
-
function
|
|
4241
|
+
function Zt(t) {
|
|
4242
4242
|
return t.split("-")[0];
|
|
4243
4243
|
}
|
|
4244
4244
|
function es(t) {
|
|
@@ -4251,7 +4251,7 @@ function Gn(t) {
|
|
|
4251
4251
|
return t === "y" ? "height" : "width";
|
|
4252
4252
|
}
|
|
4253
4253
|
function Bs(t) {
|
|
4254
|
-
return ["top", "bottom"].includes(
|
|
4254
|
+
return ["top", "bottom"].includes(Zt(t)) ? "y" : "x";
|
|
4255
4255
|
}
|
|
4256
4256
|
function Xn(t) {
|
|
4257
4257
|
return P5(Bs(t));
|
|
@@ -4284,7 +4284,7 @@ function D5(t, e, a) {
|
|
|
4284
4284
|
}
|
|
4285
4285
|
function B5(t, e, a, s) {
|
|
4286
4286
|
const n = es(t);
|
|
4287
|
-
let o = D5(
|
|
4287
|
+
let o = D5(Zt(t), a === "start", s);
|
|
4288
4288
|
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map($s)))), o;
|
|
4289
4289
|
}
|
|
4290
4290
|
function Fa(t) {
|
|
@@ -4321,7 +4321,7 @@ function Cn(t, e, a) {
|
|
|
4321
4321
|
reference: s,
|
|
4322
4322
|
floating: n
|
|
4323
4323
|
} = t;
|
|
4324
|
-
const o = Bs(e), i = Xn(e), l = Gn(i), r =
|
|
4324
|
+
const o = Bs(e), i = Xn(e), l = Gn(i), r = Zt(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, d = s.y + s.height / 2 - n.height / 2, v = s[l] / 2 - n[l] / 2;
|
|
4325
4325
|
let h;
|
|
4326
4326
|
switch (r) {
|
|
4327
4327
|
case "top":
|
|
@@ -4495,7 +4495,7 @@ const U5 = function(t) {
|
|
|
4495
4495
|
} = Ds(t, e);
|
|
4496
4496
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4497
4497
|
return {};
|
|
4498
|
-
const m =
|
|
4498
|
+
const m = Zt(n), _ = Zt(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), P = v || (_ || !w ? [Fa(l)] : V5(l));
|
|
4499
4499
|
!v && $ !== "none" && P.push(...B5(l, w, $, y));
|
|
4500
4500
|
const I = [l, ...P], L = await Qn(e, g), F = [];
|
|
4501
4501
|
let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
@@ -4556,7 +4556,7 @@ const U5 = function(t) {
|
|
|
4556
4556
|
apply: i = () => {
|
|
4557
4557
|
},
|
|
4558
4558
|
...l
|
|
4559
|
-
} = Ds(t, e), r = await Qn(e, l), c =
|
|
4559
|
+
} = Ds(t, e), r = await Qn(e, l), c = Zt(a), u = es(a), d = Bs(a) === "y", {
|
|
4560
4560
|
width: v,
|
|
4561
4561
|
height: h
|
|
4562
4562
|
} = s.floating;
|
|
@@ -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);
|
|
@@ -4629,11 +4629,11 @@ function js(t) {
|
|
|
4629
4629
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (a.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (a.contain || "").includes(s));
|
|
4630
4630
|
}
|
|
4631
4631
|
function W5(t) {
|
|
4632
|
-
let e =
|
|
4632
|
+
let e = Wt(t);
|
|
4633
4633
|
for (; We(e) && !ts(e); ) {
|
|
4634
4634
|
if (js(e))
|
|
4635
4635
|
return e;
|
|
4636
|
-
e =
|
|
4636
|
+
e = Wt(e);
|
|
4637
4637
|
}
|
|
4638
4638
|
return null;
|
|
4639
4639
|
}
|
|
@@ -4655,7 +4655,7 @@ function as(t) {
|
|
|
4655
4655
|
scrollTop: t.pageYOffset
|
|
4656
4656
|
};
|
|
4657
4657
|
}
|
|
4658
|
-
function
|
|
4658
|
+
function Wt(t) {
|
|
4659
4659
|
if (vt(t) === "html")
|
|
4660
4660
|
return t;
|
|
4661
4661
|
const e = (
|
|
@@ -4668,14 +4668,14 @@ function Zt(t) {
|
|
|
4668
4668
|
return _n(e) ? e.host : e;
|
|
4669
4669
|
}
|
|
4670
4670
|
function ei(t) {
|
|
4671
|
-
const e =
|
|
4671
|
+
const e = Wt(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);
|
|
@@ -4690,7 +4690,7 @@ function ti(t) {
|
|
|
4690
4690
|
function Ns(t) {
|
|
4691
4691
|
return et(t) ? t : t.contextElement;
|
|
4692
4692
|
}
|
|
4693
|
-
function
|
|
4693
|
+
function Nt(t) {
|
|
4694
4694
|
const e = Ns(t);
|
|
4695
4695
|
if (!We(e))
|
|
4696
4696
|
return pt(1);
|
|
@@ -4716,18 +4716,18 @@ function ai(t) {
|
|
|
4716
4716
|
function q5(t, e, a) {
|
|
4717
4717
|
return e === void 0 && (e = !1), !a || e && a !== Te(t) ? !1 : e;
|
|
4718
4718
|
}
|
|
4719
|
-
function
|
|
4719
|
+
function Ot(t, e, a, s) {
|
|
4720
4720
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4721
4721
|
const n = t.getBoundingClientRect(), o = Ns(t);
|
|
4722
4722
|
let i = pt(1);
|
|
4723
|
-
e && (s ? et(s) && (i =
|
|
4723
|
+
e && (s ? et(s) && (i = Nt(s)) : i = Nt(t));
|
|
4724
4724
|
const l = q5(o, a, s) ? ai(o) : pt(0);
|
|
4725
4725
|
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;
|
|
4726
4726
|
if (o) {
|
|
4727
4727
|
const v = Te(o), h = s && et(s) ? Te(s) : s;
|
|
4728
4728
|
let $ = v.frameElement;
|
|
4729
4729
|
for (; $ && s && h !== v; ) {
|
|
4730
|
-
const w =
|
|
4730
|
+
const w = Nt($), g = $.getBoundingClientRect(), m = je($), _ = g.left + ($.clientLeft + parseFloat(m.paddingLeft)) * w.x, y = g.top + ($.clientTop + parseFloat(m.paddingTop)) * w.y;
|
|
4731
4731
|
r *= w.x, c *= w.y, u *= w.x, d *= w.y, r += _, c += y, $ = Te($).frameElement;
|
|
4732
4732
|
}
|
|
4733
4733
|
}
|
|
@@ -4753,8 +4753,8 @@ function Y5(t) {
|
|
|
4753
4753
|
}, l = pt(1);
|
|
4754
4754
|
const r = pt(0);
|
|
4755
4755
|
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || wa(o)) && (i = as(a)), We(a))) {
|
|
4756
|
-
const c =
|
|
4757
|
-
l =
|
|
4756
|
+
const c = Ot(a);
|
|
4757
|
+
l = Nt(a), r.x = c.x + a.clientLeft, r.y = c.y + a.clientTop;
|
|
4758
4758
|
}
|
|
4759
4759
|
return {
|
|
4760
4760
|
width: e.width * l.x,
|
|
@@ -4767,7 +4767,7 @@ function x5(t) {
|
|
|
4767
4767
|
return Array.from(t.getClientRects());
|
|
4768
4768
|
}
|
|
4769
4769
|
function si(t) {
|
|
4770
|
-
return
|
|
4770
|
+
return Ot(at(t)).left + as(t).scrollLeft;
|
|
4771
4771
|
}
|
|
4772
4772
|
function K5(t) {
|
|
4773
4773
|
const e = at(t), a = as(t), s = t.ownerDocument.body, n = He(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = He(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
@@ -4796,7 +4796,7 @@ function G5(t, e) {
|
|
|
4796
4796
|
};
|
|
4797
4797
|
}
|
|
4798
4798
|
function X5(t, e) {
|
|
4799
|
-
const a =
|
|
4799
|
+
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) : pt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, c = s * o.y;
|
|
4800
4800
|
return {
|
|
4801
4801
|
width: i,
|
|
4802
4802
|
height: l,
|
|
@@ -4823,19 +4823,19 @@ function yn(t, e, a) {
|
|
|
4823
4823
|
return Za(s);
|
|
4824
4824
|
}
|
|
4825
4825
|
function ni(t, e) {
|
|
4826
|
-
const a =
|
|
4826
|
+
const a = Wt(t);
|
|
4827
4827
|
return a === e || !et(a) || ts(a) ? !1 : je(a).position === "fixed" || ni(a, e);
|
|
4828
4828
|
}
|
|
4829
4829
|
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
|
-
let i = o ?
|
|
4835
|
+
let i = o ? Wt(t) : t;
|
|
4836
4836
|
for (; et(i) && !ts(i); ) {
|
|
4837
4837
|
const l = je(i), r = js(i);
|
|
4838
|
-
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(i) && !r && ni(t, i)) ? s = s.filter((u) => u !== i) : n = l, i =
|
|
4838
|
+
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(i) && !r && ni(t, i)) ? s = s.filter((u) => u !== i) : n = l, i = Wt(i);
|
|
4839
4839
|
}
|
|
4840
4840
|
return e.set(t, s), s;
|
|
4841
4841
|
}
|
|
@@ -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,
|
|
@@ -4861,7 +4861,7 @@ function e7(t) {
|
|
|
4861
4861
|
return ti(t);
|
|
4862
4862
|
}
|
|
4863
4863
|
function t7(t, e, a) {
|
|
4864
|
-
const s = We(e), n = at(e), o = a === "fixed", i =
|
|
4864
|
+
const s = We(e), n = at(e), o = a === "fixed", i = Ot(t, !0, o, e);
|
|
4865
4865
|
let l = {
|
|
4866
4866
|
scrollLeft: 0,
|
|
4867
4867
|
scrollTop: 0
|
|
@@ -4869,7 +4869,7 @@ function t7(t, e, a) {
|
|
|
4869
4869
|
const r = pt(0);
|
|
4870
4870
|
if (s || !s && !o)
|
|
4871
4871
|
if ((vt(e) !== "body" || wa(n)) && (l = as(e)), s) {
|
|
4872
|
-
const c =
|
|
4872
|
+
const c = Ot(e, !0, o, e);
|
|
4873
4873
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4874
4874
|
} else
|
|
4875
4875
|
n && (r.x = si(n));
|
|
@@ -4919,7 +4919,7 @@ const n7 = {
|
|
|
4919
4919
|
getElementRects: a7,
|
|
4920
4920
|
getClientRects: x5,
|
|
4921
4921
|
getDimensions: e7,
|
|
4922
|
-
getScale:
|
|
4922
|
+
getScale: Nt,
|
|
4923
4923
|
isElement: et,
|
|
4924
4924
|
isRTL: s7
|
|
4925
4925
|
};
|
|
@@ -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
|
|
@@ -4990,10 +4990,10 @@ function o7(t, e, a, s) {
|
|
|
4990
4990
|
h && h.observe(e);
|
|
4991
4991
|
})), a();
|
|
4992
4992
|
}), c && !r && h.observe(c), h.observe(e));
|
|
4993
|
-
let $, w = r ?
|
|
4993
|
+
let $, w = r ? Ot(t) : null;
|
|
4994
4994
|
r && g();
|
|
4995
4995
|
function g() {
|
|
4996
|
-
const m =
|
|
4996
|
+
const m = Ot(t);
|
|
4997
4997
|
w && (m.x !== w.x || m.y !== w.y || m.width !== w.width || m.height !== w.height) && a(), w = m, $ = requestAnimationFrame(g);
|
|
4998
4998
|
}
|
|
4999
4999
|
return a(), () => {
|
|
@@ -5072,7 +5072,7 @@ const l7 = (t, e, a) => {
|
|
|
5072
5072
|
});
|
|
5073
5073
|
});
|
|
5074
5074
|
}
|
|
5075
|
-
|
|
5075
|
+
It(() => {
|
|
5076
5076
|
c();
|
|
5077
5077
|
}), Ts(() => {
|
|
5078
5078
|
l.value();
|
|
@@ -5084,7 +5084,7 @@ function Fe(t) {
|
|
|
5084
5084
|
return [null, void 0].indexOf(t) !== -1;
|
|
5085
5085
|
}
|
|
5086
5086
|
function u7(t, e, a) {
|
|
5087
|
-
const { object: s, valueProp: n, mode: o } = Ee(t), i =
|
|
5087
|
+
const { object: s, valueProp: n, mode: o } = Ee(t), i = Lt().proxy, l = a.iv, r = (d, v = !0) => {
|
|
5088
5088
|
l.value = u(d);
|
|
5089
5089
|
const h = c(d);
|
|
5090
5090
|
e.emit("change", h, i), v && (e.emit("input", h), e.emit("update:modelValue", h));
|
|
@@ -5105,7 +5105,7 @@ function c7(t, e) {
|
|
|
5105
5105
|
};
|
|
5106
5106
|
}
|
|
5107
5107
|
function d7(t, e, a) {
|
|
5108
|
-
const { regex: s } = Ee(t), n =
|
|
5108
|
+
const { regex: s } = Ee(t), n = Lt().proxy, o = a.isOpen, i = a.open, l = x(null), r = () => {
|
|
5109
5109
|
l.value = "";
|
|
5110
5110
|
}, c = (v) => {
|
|
5111
5111
|
l.value = v.target.value;
|
|
@@ -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 =
|
|
5198
|
+
} = 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 = 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
|
-
return se.value && (S = S.reverse()),
|
|
5214
|
+
return se.value && (S = S.reverse()), Pt.value.length && (S = Pt.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)
|
|
@@ -5227,9 +5227,9 @@ function h7(t, e, a) {
|
|
|
5227
5227
|
}), S.concat(B);
|
|
5228
5228
|
}), Aa = M(() => {
|
|
5229
5229
|
let S = [...yt.value].map((B) => ({ ...B }));
|
|
5230
|
-
return
|
|
5230
|
+
return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][E.value] = [...Pt.value, ...S[0][E.value]] : S = [{
|
|
5231
5231
|
[z.value]: " ",
|
|
5232
|
-
[E.value]: [...
|
|
5232
|
+
[E.value]: [...Pt.value],
|
|
5233
5233
|
__CREATE__: !0
|
|
5234
5234
|
}].concat(S)), S;
|
|
5235
5235
|
}), us = M(() => {
|
|
@@ -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 && !
|
|
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 && !Pt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Pt = 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,
|
|
@@ -5268,7 +5268,7 @@ function h7(t, e, a) {
|
|
|
5268
5268
|
case "tags":
|
|
5269
5269
|
return [];
|
|
5270
5270
|
}
|
|
5271
|
-
}), wi = M(() => w.value || Ie.value),
|
|
5271
|
+
}), wi = M(() => w.value || Ie.value), Ht = (S) => {
|
|
5272
5272
|
switch (typeof S != "object" && (S = Ke(S)), n.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
ke(S);
|
|
@@ -5279,7 +5279,7 @@ function h7(t, e, a) {
|
|
|
5279
5279
|
break;
|
|
5280
5280
|
}
|
|
5281
5281
|
e.emit("select", sn(S), S, ne);
|
|
5282
|
-
},
|
|
5282
|
+
}, Vt = (S) => {
|
|
5283
5283
|
switch (typeof S != "object" && (S = Ke(S)), n.value) {
|
|
5284
5284
|
case "single":
|
|
5285
5285
|
on();
|
|
@@ -5291,7 +5291,7 @@ function h7(t, e, a) {
|
|
|
5291
5291
|
}
|
|
5292
5292
|
e.emit("deselect", sn(S), S, ne);
|
|
5293
5293
|
}, sn = (S) => $.value ? S : S[L.value], nn = (S) => {
|
|
5294
|
-
|
|
5294
|
+
Vt(S);
|
|
5295
5295
|
}, $i = (S, B) => {
|
|
5296
5296
|
if (B.button !== 0) {
|
|
5297
5297
|
B.preventDefault();
|
|
@@ -5324,32 +5324,32 @@ function h7(t, e, a) {
|
|
|
5324
5324
|
switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
|
|
5325
5325
|
case "single":
|
|
5326
5326
|
if (S && xe(S)) {
|
|
5327
|
-
K.value &&
|
|
5327
|
+
K.value && Vt(S), G.value && (st(), nt());
|
|
5328
5328
|
return;
|
|
5329
5329
|
}
|
|
5330
|
-
S && vs(S), I.value && he(), j.value && (st(), nt()), S &&
|
|
5330
|
+
S && vs(S), I.value && he(), j.value && (st(), nt()), S && Ht(S);
|
|
5331
5331
|
break;
|
|
5332
5332
|
case "multiple":
|
|
5333
5333
|
if (S && xe(S)) {
|
|
5334
|
-
|
|
5334
|
+
Vt(S), G.value && (st(), nt());
|
|
5335
5335
|
return;
|
|
5336
5336
|
}
|
|
5337
5337
|
if (ps()) {
|
|
5338
5338
|
e.emit("max", ne);
|
|
5339
5339
|
return;
|
|
5340
5340
|
}
|
|
5341
|
-
S && (vs(S),
|
|
5341
|
+
S && (vs(S), Ht(S)), I.value && he(), l.value && st(), j.value && nt();
|
|
5342
5342
|
break;
|
|
5343
5343
|
case "tags":
|
|
5344
5344
|
if (S && xe(S)) {
|
|
5345
|
-
|
|
5345
|
+
Vt(S), G.value && (st(), nt());
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
5348
|
if (ps()) {
|
|
5349
5349
|
e.emit("max", ne);
|
|
5350
5350
|
return;
|
|
5351
5351
|
}
|
|
5352
|
-
S && vs(S), I.value && he(), S &&
|
|
5352
|
+
S && vs(S), I.value && he(), S && Ht(S), l.value && st(), j.value && nt();
|
|
5353
5353
|
break;
|
|
5354
5354
|
}
|
|
5355
5355
|
j.value || $a();
|
|
@@ -5358,17 +5358,17 @@ function h7(t, e, a) {
|
|
|
5358
5358
|
switch (n.value) {
|
|
5359
5359
|
case "multiple":
|
|
5360
5360
|
case "tags":
|
|
5361
|
-
Mi(S[E.value]) ?
|
|
5361
|
+
Mi(S[E.value]) ? Vt(S[E.value]) : Ht(
|
|
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
|
-
n.value !== "single" &&
|
|
5371
|
+
n.value !== "single" && Ht(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) => {
|
|
5373
5373
|
it.value.push(S);
|
|
5374
5374
|
}, Li = (S) => T.value ? S.filter(
|
|
@@ -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,
|
|
@@ -5478,8 +5478,8 @@ function h7(t, e, a) {
|
|
|
5478
5478
|
resolving: Ie,
|
|
5479
5479
|
busy: wi,
|
|
5480
5480
|
offset: Ye,
|
|
5481
|
-
select:
|
|
5482
|
-
deselect:
|
|
5481
|
+
select: Ht,
|
|
5482
|
+
deselect: Vt,
|
|
5483
5483
|
remove: nn,
|
|
5484
5484
|
selectAll: Ai,
|
|
5485
5485
|
clear: on,
|
|
@@ -5593,7 +5593,7 @@ function Oe(t) {
|
|
|
5593
5593
|
}
|
|
5594
5594
|
return t;
|
|
5595
5595
|
}
|
|
5596
|
-
function
|
|
5596
|
+
function Et(t) {
|
|
5597
5597
|
var e = Oe(t).Element;
|
|
5598
5598
|
return t instanceof e || t instanceof Element;
|
|
5599
5599
|
}
|
|
@@ -5607,7 +5607,7 @@ function Us(t) {
|
|
|
5607
5607
|
var e = Oe(t).ShadowRoot;
|
|
5608
5608
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5609
5609
|
}
|
|
5610
|
-
var St = Math.max, Wa = Math.min,
|
|
5610
|
+
var St = Math.max, Wa = Math.min, zt = Math.round;
|
|
5611
5611
|
function ks() {
|
|
5612
5612
|
var t = navigator.userAgentData;
|
|
5613
5613
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5617,11 +5617,11 @@ function ks() {
|
|
|
5617
5617
|
function oi() {
|
|
5618
5618
|
return !/^((?!chrome|android).)*safari/i.test(ks());
|
|
5619
5619
|
}
|
|
5620
|
-
function
|
|
5620
|
+
function qt(t, e, a) {
|
|
5621
5621
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5622
5622
|
var s = t.getBoundingClientRect(), n = 1, o = 1;
|
|
5623
|
-
e && Be(t) && (n = t.offsetWidth > 0 &&
|
|
5624
|
-
var i =
|
|
5623
|
+
e && Be(t) && (n = t.offsetWidth > 0 && zt(s.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && zt(s.height) / t.offsetHeight || 1);
|
|
5624
|
+
var i = Et(t) ? Oe(t) : window, l = i.visualViewport, r = !oi() && a, c = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / o, d = s.width / n, v = s.height / o;
|
|
5625
5625
|
return {
|
|
5626
5626
|
width: d,
|
|
5627
5627
|
height: v,
|
|
@@ -5653,13 +5653,13 @@ function ze(t) {
|
|
|
5653
5653
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5654
5654
|
}
|
|
5655
5655
|
function Ct(t) {
|
|
5656
|
-
return ((
|
|
5656
|
+
return ((Et(t) ? t.ownerDocument : (
|
|
5657
5657
|
// $FlowFixMe[prop-missing]
|
|
5658
5658
|
t.document
|
|
5659
5659
|
)) || window.document).documentElement;
|
|
5660
5660
|
}
|
|
5661
5661
|
function Zs(t) {
|
|
5662
|
-
return
|
|
5662
|
+
return qt(Ct(t)).left + Fs(t).scrollLeft;
|
|
5663
5663
|
}
|
|
5664
5664
|
function tt(t) {
|
|
5665
5665
|
return Oe(t).getComputedStyle(t);
|
|
@@ -5669,12 +5669,12 @@ function Ws(t) {
|
|
|
5669
5669
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5670
5670
|
}
|
|
5671
5671
|
function _7(t) {
|
|
5672
|
-
var e = t.getBoundingClientRect(), a =
|
|
5672
|
+
var e = t.getBoundingClientRect(), a = zt(e.width) / t.offsetWidth || 1, s = zt(e.height) / t.offsetHeight || 1;
|
|
5673
5673
|
return a !== 1 || s !== 1;
|
|
5674
5674
|
}
|
|
5675
5675
|
function y7(t, e, a) {
|
|
5676
5676
|
a === void 0 && (a = !1);
|
|
5677
|
-
var s = Be(e), n = Be(e) && _7(e), o = Ct(e), i =
|
|
5677
|
+
var s = Be(e), n = Be(e) && _7(e), o = Ct(e), i = qt(t, n, a), l = {
|
|
5678
5678
|
scrollLeft: 0,
|
|
5679
5679
|
scrollTop: 0
|
|
5680
5680
|
}, r = {
|
|
@@ -5682,7 +5682,7 @@ function y7(t, e, a) {
|
|
|
5682
5682
|
y: 0
|
|
5683
5683
|
};
|
|
5684
5684
|
return (s || !s && !a) && ((ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5685
|
-
Ws(o)) && (l = C7(e)), Be(e) ? (r =
|
|
5685
|
+
Ws(o)) && (l = C7(e)), Be(e) ? (r = qt(e, !0), r.x += e.clientLeft, r.y += e.clientTop) : o && (r.x = Zs(o))), {
|
|
5686
5686
|
x: i.left + l.scrollLeft - r.x,
|
|
5687
5687
|
y: i.top + l.scrollTop - r.y,
|
|
5688
5688
|
width: i.width,
|
|
@@ -5690,7 +5690,7 @@ function y7(t, e, a) {
|
|
|
5690
5690
|
};
|
|
5691
5691
|
}
|
|
5692
5692
|
function li(t) {
|
|
5693
|
-
var e =
|
|
5693
|
+
var e = qt(t), a = t.offsetWidth, s = t.offsetHeight;
|
|
5694
5694
|
return Math.abs(e.width - a) <= 1 && (a = e.width), Math.abs(e.height - s) <= 1 && (s = e.height), {
|
|
5695
5695
|
x: t.offsetLeft,
|
|
5696
5696
|
y: t.offsetTop,
|
|
@@ -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],
|
|
5754
|
-
return t.concat([e + "-" +
|
|
5753
|
+
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], Yt = "start", va = "end", $7 = "clippingParents", ui = "viewport", ia = "popper", k7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5754
|
+
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
5755
5755
|
}, []), S7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5756
|
-
return t.concat([e, e + "-" +
|
|
5756
|
+
return t.concat([e, e + "-" + Yt, 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 = [];
|
|
@@ -5850,16 +5850,16 @@ function Ss(t) {
|
|
|
5850
5850
|
});
|
|
5851
5851
|
}
|
|
5852
5852
|
function Z7(t, e) {
|
|
5853
|
-
var a =
|
|
5853
|
+
var a = qt(t, !1, e === "fixed");
|
|
5854
5854
|
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;
|
|
5855
5855
|
}
|
|
5856
5856
|
function kn(t, e, a) {
|
|
5857
|
-
return e === ui ? Ss(N7(t, a)) :
|
|
5857
|
+
return e === ui ? Ss(N7(t, a)) : Et(e) ? Z7(e, a) : Ss(U7(Ct(t)));
|
|
5858
5858
|
}
|
|
5859
5859
|
function W7(t) {
|
|
5860
|
-
var e =
|
|
5861
|
-
return
|
|
5862
|
-
return
|
|
5860
|
+
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5861
|
+
return Et(s) ? e.filter(function(n) {
|
|
5862
|
+
return Et(n) && F7(n, s) && ze(n) !== "body";
|
|
5863
5863
|
}) : [];
|
|
5864
5864
|
}
|
|
5865
5865
|
function z7(t, e, a, s) {
|
|
@@ -5872,14 +5872,14 @@ function z7(t, e, a, s) {
|
|
|
5872
5872
|
function ct(t) {
|
|
5873
5873
|
return t.split("-")[0];
|
|
5874
5874
|
}
|
|
5875
|
-
function
|
|
5875
|
+
function xt(t) {
|
|
5876
5876
|
return t.split("-")[1];
|
|
5877
5877
|
}
|
|
5878
5878
|
function ci(t) {
|
|
5879
5879
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5880
5880
|
}
|
|
5881
5881
|
function di(t) {
|
|
5882
|
-
var e = t.reference, a = t.element, s = t.placement, n = s ? ct(s) : null, o = s ?
|
|
5882
|
+
var e = t.reference, a = t.element, s = t.placement, n = s ? ct(s) : null, o = s ? xt(s) : null, i = e.x + e.width / 2 - a.width / 2, l = e.y + e.height / 2 - a.height / 2, r;
|
|
5883
5883
|
switch (n) {
|
|
5884
5884
|
case Ne:
|
|
5885
5885
|
r = {
|
|
@@ -5915,10 +5915,10 @@ function di(t) {
|
|
|
5915
5915
|
if (c != null) {
|
|
5916
5916
|
var u = c === "y" ? "height" : "width";
|
|
5917
5917
|
switch (o) {
|
|
5918
|
-
case
|
|
5918
|
+
case Yt:
|
|
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(Et(P) ? P : P.contextElement || Ct(t.elements.popper), r, u, i), L = qt(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:
|
|
6000
|
-
popper:
|
|
5999
|
+
reference: Et(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) {
|
|
@@ -6120,8 +6120,8 @@ var Q7 = {
|
|
|
6120
6120
|
function ep(t, e) {
|
|
6121
6121
|
var a = t.x, s = t.y, n = e.devicePixelRatio || 1;
|
|
6122
6122
|
return {
|
|
6123
|
-
x:
|
|
6124
|
-
y:
|
|
6123
|
+
x: zt(a * n) / n || 0,
|
|
6124
|
+
y: zt(s * n) / n || 0
|
|
6125
6125
|
};
|
|
6126
6126
|
}
|
|
6127
6127
|
function Mn(t) {
|
|
@@ -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]
|
|
@@ -6171,7 +6171,7 @@ function Mn(t) {
|
|
|
6171
6171
|
function tp(t) {
|
|
6172
6172
|
var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, o = a.adaptive, i = o === void 0 ? !0 : o, l = a.roundOffsets, r = l === void 0 ? !0 : l, c = {
|
|
6173
6173
|
placement: ct(e.placement),
|
|
6174
|
-
variation:
|
|
6174
|
+
variation: xt(e.placement),
|
|
6175
6175
|
popper: e.elements.popper,
|
|
6176
6176
|
popperRect: e.rects.popper,
|
|
6177
6177
|
gpuAcceleration: n,
|
|
@@ -6258,7 +6258,7 @@ function cp(t) {
|
|
|
6258
6258
|
rootBoundary: c,
|
|
6259
6259
|
padding: d,
|
|
6260
6260
|
altBoundary: u
|
|
6261
|
-
}), m = ct(e.placement), _ =
|
|
6261
|
+
}), m = ct(e.placement), _ = xt(e.placement), y = !_, P = ci(m), I = rp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof w == "function" ? w(Object.assign({}, e.rects, {
|
|
6262
6262
|
placement: e.placement
|
|
6263
6263
|
})) : w, J = typeof K == "number" ? {
|
|
6264
6264
|
mainAxis: K,
|
|
@@ -6272,14 +6272,14 @@ function cp(t) {
|
|
|
6272
6272
|
};
|
|
6273
6273
|
if (L) {
|
|
6274
6274
|
if (o) {
|
|
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 = _ ===
|
|
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 = _ === Yt ? F[ee] : z[ee], V = _ === Yt ? -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;
|
|
@@ -6313,8 +6313,8 @@ function Tn(t) {
|
|
|
6313
6313
|
}
|
|
6314
6314
|
function fp(t, e) {
|
|
6315
6315
|
e === void 0 && (e = {});
|
|
6316
|
-
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, c = r === void 0 ? S7 : r, u =
|
|
6317
|
-
return
|
|
6316
|
+
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, c = r === void 0 ? S7 : r, u = xt(s), d = u ? l ? $n : $n.filter(function($) {
|
|
6317
|
+
return xt($) === u;
|
|
6318
6318
|
}) : is, v = d.filter(function($) {
|
|
6319
6319
|
return c.indexOf($) >= 0;
|
|
6320
6320
|
});
|
|
@@ -6350,7 +6350,7 @@ function mp(t) {
|
|
|
6350
6350
|
allowedAutoPlacements: w
|
|
6351
6351
|
}) : Z);
|
|
6352
6352
|
}, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0], J = 0; J < P.length; J++) {
|
|
6353
|
-
var ae = P[J], j = ct(ae), G =
|
|
6353
|
+
var ae = P[J], j = ct(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
|
|
6354
6354
|
placement: ae,
|
|
6355
6355
|
boundary: u,
|
|
6356
6356
|
rootBoundary: d,
|
|
@@ -6397,7 +6397,7 @@ var gp = {
|
|
|
6397
6397
|
}
|
|
6398
6398
|
};
|
|
6399
6399
|
function Cp(t, e, a) {
|
|
6400
|
-
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l =
|
|
6400
|
+
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, c = a.dropdown, u = x(!1), d = x(null), v = x(null), h = M(() => n.value || o.value), $ = M(() => i.value === "top" && v.value === "bottom" || i.value === "bottom" && v.value !== "top" ? "bottom" : "top"), w = () => {
|
|
6401
6401
|
u.value || s.value || (u.value = !0, e.emit("open", l), h.value && Me(() => {
|
|
6402
6402
|
m();
|
|
6403
6403
|
}));
|
|
@@ -6427,7 +6427,7 @@ function Cp(t, e, a) {
|
|
|
6427
6427
|
}
|
|
6428
6428
|
return !1;
|
|
6429
6429
|
};
|
|
6430
|
-
return
|
|
6430
|
+
return It(() => {
|
|
6431
6431
|
h.value && (d.value = lp(r.value, c.value, {
|
|
6432
6432
|
strategy: _(r.value) ? (
|
|
6433
6433
|
/* istanbul ignore next: UI feature */
|
|
@@ -6521,7 +6521,7 @@ function yp(t, e, a) {
|
|
|
6521
6521
|
createTag: d,
|
|
6522
6522
|
createOption: v,
|
|
6523
6523
|
reverse: h
|
|
6524
|
-
} = Ee(t), $ =
|
|
6524
|
+
} = Ee(t), $ = Lt().proxy, w = a.iv, g = a.update, m = a.deselect, _ = a.search, y = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = M(() => d.value || v.value || !1), se = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
|
|
6525
6525
|
s.value === "tags" && !l.value && le.value && i.value && !c.value && y(G.value[G.value.map((k) => k[r.value]).indexOf(_.value)]);
|
|
6526
6526
|
};
|
|
6527
6527
|
return {
|
|
@@ -6726,7 +6726,7 @@ function wp(t, e, a) {
|
|
|
6726
6726
|
n.value && (i.value = s.value, $());
|
|
6727
6727
|
}, { flush: "post" }), ce(c, () => {
|
|
6728
6728
|
n.value && $();
|
|
6729
|
-
}, { immediate: !1, flush: "post" }),
|
|
6729
|
+
}, { immediate: !1, flush: "post" }), It(() => {
|
|
6730
6730
|
window && window.IntersectionObserver && (u.value = new IntersectionObserver(h));
|
|
6731
6731
|
}), {
|
|
6732
6732
|
hasMore: v,
|
|
@@ -6772,7 +6772,7 @@ function $p(t, e, a) {
|
|
|
6772
6772
|
let G = [];
|
|
6773
6773
|
return G.push(j), G.join(" ");
|
|
6774
6774
|
}, ae = (j) => `${j} ❎`;
|
|
6775
|
-
return
|
|
6775
|
+
return It(() => {
|
|
6776
6776
|
if (n && n.value && document && document.querySelector) {
|
|
6777
6777
|
let j = document.querySelector(`[for="${n.value}"]`);
|
|
6778
6778
|
w.value = j ? j.innerText : null;
|
|
@@ -7464,7 +7464,7 @@ function xp(t, e, a, s, n, o) {
|
|
|
7464
7464
|
]) : O("v-if", !0)
|
|
7465
7465
|
], 16, Tp),
|
|
7466
7466
|
O(" Options "),
|
|
7467
|
-
(p(), D(
|
|
7467
|
+
(p(), D(Tt, {
|
|
7468
7468
|
to: a.appendTo || "body",
|
|
7469
7469
|
disabled: !a.appendToBody && !a.appendTo
|
|
7470
7470
|
}, [
|
|
@@ -7684,7 +7684,7 @@ const Se = /* @__PURE__ */ q({
|
|
|
7684
7684
|
appendTo: {}
|
|
7685
7685
|
},
|
|
7686
7686
|
setup(t) {
|
|
7687
|
-
const e = t, a =
|
|
7687
|
+
const e = t, a = Rt(() => e.appendTo), s = x();
|
|
7688
7688
|
return e.detached && r7({
|
|
7689
7689
|
multiselect: s,
|
|
7690
7690
|
appendTo: a.value
|
|
@@ -7711,7 +7711,7 @@ function _t() {
|
|
|
7711
7711
|
};
|
|
7712
7712
|
}
|
|
7713
7713
|
function Kp() {
|
|
7714
|
-
const t =
|
|
7714
|
+
const t = Lt();
|
|
7715
7715
|
if (!t)
|
|
7716
7716
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7717
7717
|
return t;
|
|
@@ -7899,7 +7899,7 @@ const tv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], av = { class:
|
|
|
7899
7899
|
const d = u.target, v = Array.from(d.files ?? []);
|
|
7900
7900
|
e("add", v);
|
|
7901
7901
|
}, o = ["dragenter", "dragover", "dragleave", "drop"];
|
|
7902
|
-
|
|
7902
|
+
It(() => {
|
|
7903
7903
|
o.forEach((u) => {
|
|
7904
7904
|
document.body.addEventListener(u, (d) => d.preventDefault());
|
|
7905
7905
|
});
|
|
@@ -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,12 +8114,12 @@ 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);
|
|
8121
8121
|
});
|
|
8122
|
-
const i =
|
|
8122
|
+
const i = Rt(a.newComment), l = M({
|
|
8123
8123
|
get() {
|
|
8124
8124
|
return i.value;
|
|
8125
8125
|
},
|
|
@@ -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,
|
|
@@ -8799,7 +8799,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
8799
8799
|
},
|
|
8800
8800
|
emits: ["update:rule", "close"],
|
|
8801
8801
|
setup(t, { emit: e }) {
|
|
8802
|
-
const a = t, s =
|
|
8802
|
+
const a = t, s = Rt(
|
|
8803
8803
|
a.rule.itemType || me.ACTIVITIES
|
|
8804
8804
|
), n = M({
|
|
8805
8805
|
get() {
|
|
@@ -8833,14 +8833,14 @@ const Af = /* @__PURE__ */ q({
|
|
|
8833
8833
|
value: y.id,
|
|
8834
8834
|
label: y.name
|
|
8835
8835
|
}));
|
|
8836
|
-
}), r =
|
|
8836
|
+
}), r = Rt(a.rule.comparator), c = M({
|
|
8837
8837
|
get() {
|
|
8838
8838
|
return r.value;
|
|
8839
8839
|
},
|
|
8840
8840
|
set(m) {
|
|
8841
8841
|
e("update:rule", { ...a.rule, comparator: m });
|
|
8842
8842
|
}
|
|
8843
|
-
}), u = M(() => Object.values(Y2)), d =
|
|
8843
|
+
}), u = M(() => Object.values(Y2)), d = Rt(a.rule.trigger), v = M({
|
|
8844
8844
|
get() {
|
|
8845
8845
|
return d.value;
|
|
8846
8846
|
},
|
|
@@ -9214,7 +9214,7 @@ const Ef = {
|
|
|
9214
9214
|
return n.value ? (p(), C("div", Ef, [
|
|
9215
9215
|
A(ba, {
|
|
9216
9216
|
"can-go-back": !0,
|
|
9217
|
-
onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: Q(
|
|
9217
|
+
onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: Q(jt).TEMPLATES_LIST }))
|
|
9218
9218
|
}, {
|
|
9219
9219
|
primary: N(() => [
|
|
9220
9220
|
A(be, {
|
|
@@ -9302,7 +9302,7 @@ const Ef = {
|
|
|
9302
9302
|
])
|
|
9303
9303
|
])
|
|
9304
9304
|
]),
|
|
9305
|
-
(p(), D(
|
|
9305
|
+
(p(), D(Tt, { to: "body" }, [
|
|
9306
9306
|
u.value ? (p(), D(Ys, {
|
|
9307
9307
|
key: 0,
|
|
9308
9308
|
activity: u.value,
|
|
@@ -9331,7 +9331,7 @@ const Ef = {
|
|
|
9331
9331
|
_: 3
|
|
9332
9332
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
9333
9333
|
])),
|
|
9334
|
-
(p(), D(
|
|
9334
|
+
(p(), D(Tt, { to: "body" }, [
|
|
9335
9335
|
F.value ? (p(), D(Of, {
|
|
9336
9336
|
key: 0,
|
|
9337
9337
|
"template-id": n.value.id,
|
|
@@ -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: Mt({ 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: Mt({ backgroundColor: e.color })
|
|
9543
9543
|
}, null, 4));
|
|
9544
9544
|
}
|
|
9545
9545
|
});
|
|
@@ -10348,7 +10348,7 @@ function Lh(t, e, a, s, n, o) {
|
|
|
10348
10348
|
}
|
|
10349
10349
|
tn.render = Lh;
|
|
10350
10350
|
tn.__file = "src/color/Colors.vue";
|
|
10351
|
-
var
|
|
10351
|
+
var Ut = q({
|
|
10352
10352
|
components: {
|
|
10353
10353
|
Saturation: Ks,
|
|
10354
10354
|
Hue: Gs,
|
|
@@ -10605,10 +10605,10 @@ function Hh(t, e, a, s, n, o) {
|
|
|
10605
10605
|
/* CLASS, STYLE */
|
|
10606
10606
|
);
|
|
10607
10607
|
}
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
t.component(
|
|
10608
|
+
Ut.render = Hh;
|
|
10609
|
+
Ut.__file = "src/color/ColorPicker.vue";
|
|
10610
|
+
Ut.install = (t) => {
|
|
10611
|
+
t.component(Ut.name, Ut);
|
|
10612
10612
|
};
|
|
10613
10613
|
const Vh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
10614
10614
|
__name: "AoColorPicker",
|
|
@@ -10642,7 +10642,7 @@ const Vh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10642
10642
|
ref_key: "pickerRef",
|
|
10643
10643
|
ref: s
|
|
10644
10644
|
}, [
|
|
10645
|
-
A(Q(
|
|
10645
|
+
A(Q(Ut), {
|
|
10646
10646
|
class: "color-picker",
|
|
10647
10647
|
theme: "light",
|
|
10648
10648
|
color: l.color,
|
|
@@ -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: Mt({ "--ao-card-custom-bg": $ })
|
|
10720
10720
|
}, fa({
|
|
10721
10721
|
default: N(() => [
|
|
10722
10722
|
f("div", Bh, [
|
|
@@ -10808,10 +10808,7 @@ const qh = {
|
|
|
10808
10808
|
}, xh = {
|
|
10809
10809
|
key: 2,
|
|
10810
10810
|
class: "ao-mapping-project-phase__col-phase"
|
|
10811
|
-
}, Kh = {
|
|
10812
|
-
key: 3,
|
|
10813
|
-
class: "ao-project-phase__col-milestones"
|
|
10814
|
-
}, Gh = { class: "ao-project-phase__milestones" }, Xh = { class: "ao-project-phase__milestones-list-footer" }, Qh = /* @__PURE__ */ q({
|
|
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: {},
|
|
@@ -10860,10 +10857,10 @@ const qh = {
|
|
|
10860
10857
|
"added" in m ? e("updateMilestone", {
|
|
10861
10858
|
id: m.added.element.id,
|
|
10862
10859
|
phaseId: a.phase.id,
|
|
10863
|
-
rank:
|
|
10860
|
+
rank: Ft(l.value, m.added.newIndex)
|
|
10864
10861
|
}) : "removed" in m || "moved" in m && e("updateMilestone", {
|
|
10865
10862
|
id: m.moved.element.id,
|
|
10866
|
-
rank:
|
|
10863
|
+
rank: Ft(l.value, m.moved.newIndex)
|
|
10867
10864
|
});
|
|
10868
10865
|
}, w = qi(), g = M(() => w.path.includes("/mapping"));
|
|
10869
10866
|
return (m, _) => {
|
|
@@ -10874,42 +10871,51 @@ 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
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
milestones
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10874
|
+
f("div", {
|
|
10875
|
+
class: "ao-project-phases__draggable-card",
|
|
10876
|
+
style: Mt({ backgroundColor: m.phase.color || "var(--ao-color-sheet)" })
|
|
10877
|
+
}, [
|
|
10878
|
+
m.isEditable ? (p(), C("div", qh, [
|
|
10879
|
+
A(pe, {
|
|
10880
|
+
name: "DragIndicator",
|
|
10881
|
+
class: "ao-project-phase__drag-handle"
|
|
10882
|
+
})
|
|
10883
|
+
])) : O("", !0),
|
|
10884
|
+
g.value ? (p(), C("div", xh, [
|
|
10885
|
+
A(zh, {
|
|
10886
|
+
id: m.phase.id,
|
|
10887
|
+
milestones: l.value,
|
|
10888
|
+
name: m.phase.name,
|
|
10889
|
+
deadline: m.phase.deadline,
|
|
10890
|
+
active: m.phase.active,
|
|
10891
|
+
"is-editable": m.isEditable,
|
|
10892
|
+
"onUpdate:deadline": o,
|
|
10893
|
+
"onUpdate:title": n,
|
|
10894
|
+
onArchivePhase: v,
|
|
10895
|
+
onUnarchivePhase: h,
|
|
10896
|
+
onUpdatePhase: i
|
|
10897
|
+
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10898
|
+
])) : (p(), C("div", Yh, [
|
|
10899
|
+
A(Gf, {
|
|
10900
|
+
id: m.phase.id,
|
|
10901
|
+
milestones: l.value,
|
|
10902
|
+
name: m.phase.name,
|
|
10903
|
+
deadline: m.phase.deadline,
|
|
10904
|
+
active: m.phase.active,
|
|
10905
|
+
"is-editable": m.isEditable,
|
|
10906
|
+
"onUpdate:deadline": o,
|
|
10907
|
+
"onUpdate:title": n,
|
|
10908
|
+
onArchivePhase: v,
|
|
10909
|
+
onUnarchivePhase: h
|
|
10910
|
+
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10911
|
+
]))
|
|
10912
|
+
], 4),
|
|
10913
|
+
g.value ? O("", !0) : (p(), C("div", {
|
|
10914
|
+
key: 0,
|
|
10915
|
+
class: "ao-project-phase__col-milestones",
|
|
10916
|
+
style: Mt({ backgroundColor: m.phase.color || "var(--ao-color-sheet)" })
|
|
10917
|
+
}, [
|
|
10918
|
+
f("div", Kh, [
|
|
10913
10919
|
A(Q(mt), Ae({
|
|
10914
10920
|
class: "ao-project-phase__milestones-list",
|
|
10915
10921
|
list: l.value,
|
|
@@ -10947,7 +10953,7 @@ const qh = {
|
|
|
10947
10953
|
}),
|
|
10948
10954
|
_: 1
|
|
10949
10955
|
}, 16, ["list", "disabled"]),
|
|
10950
|
-
f("div",
|
|
10956
|
+
f("div", Gh, [
|
|
10951
10957
|
m.isEditable ? (p(), D(gt, {
|
|
10952
10958
|
key: 0,
|
|
10953
10959
|
label: m.$t("project.milestone.add"),
|
|
@@ -10957,15 +10963,15 @@ const qh = {
|
|
|
10957
10963
|
}, null, 8, ["label"])) : O("", !0)
|
|
10958
10964
|
])
|
|
10959
10965
|
])
|
|
10960
|
-
]))
|
|
10966
|
+
], 4))
|
|
10961
10967
|
], 2);
|
|
10962
10968
|
};
|
|
10963
10969
|
}
|
|
10964
10970
|
});
|
|
10965
|
-
const
|
|
10971
|
+
const Qh = { class: "ao-project__phases" }, Jh = {
|
|
10966
10972
|
key: 0,
|
|
10967
10973
|
class: "ao-project-phase__phases-list-footer"
|
|
10968
|
-
},
|
|
10974
|
+
}, 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
10975
|
__name: "AoProjectPhases",
|
|
10970
10976
|
props: {
|
|
10971
10977
|
phases: {},
|
|
@@ -11005,7 +11011,7 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11005
11011
|
}, d = (v) => {
|
|
11006
11012
|
e("addPhase", v);
|
|
11007
11013
|
};
|
|
11008
|
-
return (v, h) => (p(), C("div",
|
|
11014
|
+
return (v, h) => (p(), C("div", Qh, [
|
|
11009
11015
|
A(Q(mt), {
|
|
11010
11016
|
class: "ao-project-phase__phases-list",
|
|
11011
11017
|
"model-value": v.phases,
|
|
@@ -11014,7 +11020,7 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11014
11020
|
onChange: c
|
|
11015
11021
|
}, {
|
|
11016
11022
|
item: N(({ element: $ }) => [
|
|
11017
|
-
A(
|
|
11023
|
+
A(Xh, {
|
|
11018
11024
|
phase: $,
|
|
11019
11025
|
"is-editable": !v.readonly && v.isEditable,
|
|
11020
11026
|
"closed-status": v.closedStatus,
|
|
@@ -11031,9 +11037,9 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11031
11037
|
]),
|
|
11032
11038
|
_: 1
|
|
11033
11039
|
}, 8, ["model-value"]),
|
|
11034
|
-
v.isEditable ? (p(), C("div",
|
|
11035
|
-
|
|
11036
|
-
f("div",
|
|
11040
|
+
v.isEditable ? (p(), C("div", Jh, [
|
|
11041
|
+
e9,
|
|
11042
|
+
f("div", t9, [
|
|
11037
11043
|
A(gt, {
|
|
11038
11044
|
label: v.$t("project.phases.add"),
|
|
11039
11045
|
"icon-name": "Add",
|
|
@@ -11041,12 +11047,12 @@ const Jh = { class: "ao-project__phases" }, e9 = {
|
|
|
11041
11047
|
onClick: d
|
|
11042
11048
|
}, null, 8, ["label"])
|
|
11043
11049
|
]),
|
|
11044
|
-
|
|
11050
|
+
a9
|
|
11045
11051
|
])) : O("", !0)
|
|
11046
11052
|
]));
|
|
11047
11053
|
}
|
|
11048
11054
|
});
|
|
11049
|
-
const
|
|
11055
|
+
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
11056
|
__name: "AoAddTemplateModal",
|
|
11051
11057
|
props: {
|
|
11052
11058
|
projectId: {},
|
|
@@ -11075,8 +11081,8 @@ const n9 = ["onSubmit"], i9 = { class: "ao-add-template-modal__form-body" }, o9
|
|
|
11075
11081
|
onSubmit: ve(i, ["prevent"])
|
|
11076
11082
|
}, [
|
|
11077
11083
|
f("p", null, W(l.$t("project.template.apply.notice")), 1),
|
|
11078
|
-
f("div",
|
|
11079
|
-
f("div",
|
|
11084
|
+
f("div", n9, [
|
|
11085
|
+
f("div", i9, [
|
|
11080
11086
|
A(Se, {
|
|
11081
11087
|
value: n.value,
|
|
11082
11088
|
options: s.value,
|
|
@@ -11085,7 +11091,7 @@ const n9 = ["onSubmit"], i9 = { class: "ao-add-template-modal__form-body" }, o9
|
|
|
11085
11091
|
}, null, 8, ["value", "options"])
|
|
11086
11092
|
])
|
|
11087
11093
|
]),
|
|
11088
|
-
f("footer",
|
|
11094
|
+
f("footer", o9, [
|
|
11089
11095
|
A(re, {
|
|
11090
11096
|
label: l.$t("project.template.apply.label"),
|
|
11091
11097
|
type: "submit",
|
|
@@ -11094,13 +11100,13 @@ const n9 = ["onSubmit"], i9 = { class: "ao-add-template-modal__form-body" }, o9
|
|
|
11094
11100
|
onClick: i
|
|
11095
11101
|
}, null, 8, ["label"])
|
|
11096
11102
|
])
|
|
11097
|
-
], 40,
|
|
11103
|
+
], 40, s9)
|
|
11098
11104
|
]),
|
|
11099
11105
|
_: 1
|
|
11100
11106
|
}));
|
|
11101
11107
|
}
|
|
11102
11108
|
});
|
|
11103
|
-
const
|
|
11109
|
+
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
11110
|
__name: "AoSaveTemplateModal",
|
|
11105
11111
|
props: {
|
|
11106
11112
|
phases: {}
|
|
@@ -11108,7 +11114,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11108
11114
|
emits: ["save"],
|
|
11109
11115
|
setup(t, { emit: e }) {
|
|
11110
11116
|
const a = t, s = x(""), n = x([]);
|
|
11111
|
-
|
|
11117
|
+
It(() => {
|
|
11112
11118
|
n.value = a.phases.map((i) => i.id);
|
|
11113
11119
|
});
|
|
11114
11120
|
const o = () => {
|
|
@@ -11126,10 +11132,10 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11126
11132
|
class: "ao-save-template-modal__form",
|
|
11127
11133
|
onSubmit: ve(o, ["prevent"])
|
|
11128
11134
|
}, [
|
|
11129
|
-
f("div",
|
|
11130
|
-
f("div",
|
|
11131
|
-
f("label",
|
|
11132
|
-
f("span",
|
|
11135
|
+
f("div", r9, [
|
|
11136
|
+
f("div", u9, [
|
|
11137
|
+
f("label", c9, [
|
|
11138
|
+
f("span", d9, W(i.$t("project.template.name.label")) + ": ", 1),
|
|
11133
11139
|
De(f("input", {
|
|
11134
11140
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11135
11141
|
type: "text"
|
|
@@ -11138,9 +11144,9 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11138
11144
|
])
|
|
11139
11145
|
])
|
|
11140
11146
|
]),
|
|
11141
|
-
f("div",
|
|
11142
|
-
f("div",
|
|
11143
|
-
f("div",
|
|
11147
|
+
f("div", p9, [
|
|
11148
|
+
f("div", v9, W(i.$t("project.template.phases.label")), 1),
|
|
11149
|
+
f("div", f9, [
|
|
11144
11150
|
(p(!0), C(fe, null, _e(a.phases, (r) => (p(), C("label", {
|
|
11145
11151
|
class: "ao-field ao-field--checkbox",
|
|
11146
11152
|
key: r.id
|
|
@@ -11149,7 +11155,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11149
11155
|
type: "checkbox",
|
|
11150
11156
|
value: r.id,
|
|
11151
11157
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => n.value = c)
|
|
11152
|
-
}, null, 8,
|
|
11158
|
+
}, null, 8, h9), [
|
|
11153
11159
|
[Ui, n.value]
|
|
11154
11160
|
]),
|
|
11155
11161
|
f("span", null, W(r.name), 1)
|
|
@@ -11157,7 +11163,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11157
11163
|
])
|
|
11158
11164
|
])
|
|
11159
11165
|
]),
|
|
11160
|
-
f("footer",
|
|
11166
|
+
f("footer", m9, [
|
|
11161
11167
|
A(re, {
|
|
11162
11168
|
label: i.$t("project.template.save.label"),
|
|
11163
11169
|
type: "submit",
|
|
@@ -11166,13 +11172,13 @@ const r9 = ["onSubmit"], u9 = { class: "ao-save-template-modal__form-body" }, c9
|
|
|
11166
11172
|
onClick: o
|
|
11167
11173
|
}, null, 8, ["label"])
|
|
11168
11174
|
])
|
|
11169
|
-
], 40,
|
|
11175
|
+
], 40, l9)
|
|
11170
11176
|
]),
|
|
11171
11177
|
_: 1
|
|
11172
11178
|
}));
|
|
11173
11179
|
}
|
|
11174
11180
|
});
|
|
11175
|
-
const
|
|
11181
|
+
const g9 = q({
|
|
11176
11182
|
props: {
|
|
11177
11183
|
modelValue: {
|
|
11178
11184
|
type: [String, Number],
|
|
@@ -11190,18 +11196,18 @@ const C9 = q({
|
|
|
11190
11196
|
}
|
|
11191
11197
|
}
|
|
11192
11198
|
});
|
|
11193
|
-
const
|
|
11194
|
-
function
|
|
11195
|
-
return p(), C("div",
|
|
11199
|
+
const C9 = { class: "tabbar-wrapper" }, _9 = ["onClick"];
|
|
11200
|
+
function y9(t, e, a, s, n, o) {
|
|
11201
|
+
return p(), C("div", C9, [
|
|
11196
11202
|
(p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
|
|
11197
11203
|
key: i.value,
|
|
11198
11204
|
class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11199
11205
|
type: "button",
|
|
11200
11206
|
onClick: (l) => t.selectTab(i.value)
|
|
11201
|
-
}, W(i.label), 11,
|
|
11207
|
+
}, W(i.label), 11, _9))), 128))
|
|
11202
11208
|
]);
|
|
11203
11209
|
}
|
|
11204
|
-
const an = /* @__PURE__ */ U(
|
|
11210
|
+
const an = /* @__PURE__ */ U(g9, [["render", y9], ["__scopeId", "data-v-ff4e3297"]]), b9 = { class: "ao-project" }, w9 = { class: "ao-project__body" }, $9 = /* @__PURE__ */ q({
|
|
11205
11211
|
__name: "AoProjectOverviewProject",
|
|
11206
11212
|
props: {
|
|
11207
11213
|
project: {},
|
|
@@ -11283,7 +11289,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11283
11289
|
const R = rt("RouterView");
|
|
11284
11290
|
return p(), C(fe, null, [
|
|
11285
11291
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11286
|
-
f("div",
|
|
11292
|
+
f("div", b9, [
|
|
11287
11293
|
A(ba, null, {
|
|
11288
11294
|
primary: N(() => [
|
|
11289
11295
|
A(an, {
|
|
@@ -11322,7 +11328,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11322
11328
|
]),
|
|
11323
11329
|
_: 1
|
|
11324
11330
|
}),
|
|
11325
|
-
f("div",
|
|
11331
|
+
f("div", w9, [
|
|
11326
11332
|
A(fi, {
|
|
11327
11333
|
phases: T.phases,
|
|
11328
11334
|
"closed-status": T.closedStatus,
|
|
@@ -11355,7 +11361,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11355
11361
|
onArchiveActivity: g,
|
|
11356
11362
|
onUnarchiveActivity: m
|
|
11357
11363
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
11358
|
-
(p(), D(
|
|
11364
|
+
(p(), D(Tt, { to: "body" }, [
|
|
11359
11365
|
A(R, {
|
|
11360
11366
|
name: "modal",
|
|
11361
11367
|
activities: I.value,
|
|
@@ -11390,7 +11396,7 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11390
11396
|
}, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
|
|
11391
11397
|
]))
|
|
11392
11398
|
], 16),
|
|
11393
|
-
(p(), D(
|
|
11399
|
+
(p(), D(Tt, { to: "body" }, [
|
|
11394
11400
|
j.value ? (p(), D(mi, {
|
|
11395
11401
|
key: 0,
|
|
11396
11402
|
phases: T.phases,
|
|
@@ -11409,39 +11415,39 @@ const an = /* @__PURE__ */ U(C9, [["render", b9], ["__scopeId", "data-v-ff4e3297
|
|
|
11409
11415
|
};
|
|
11410
11416
|
}
|
|
11411
11417
|
});
|
|
11412
|
-
const
|
|
11418
|
+
const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
11413
11419
|
key: 1,
|
|
11414
11420
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11415
|
-
},
|
|
11421
|
+
}, A9 = {
|
|
11416
11422
|
key: 2,
|
|
11417
11423
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
11418
|
-
},
|
|
11424
|
+
}, M9 = { class: "ao-card-feed__body" }, T9 = {
|
|
11419
11425
|
key: 0,
|
|
11420
11426
|
class: "ao-card-feed__breadcrumbs"
|
|
11421
|
-
},
|
|
11427
|
+
}, O9 = {
|
|
11422
11428
|
class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
|
|
11423
|
-
},
|
|
11429
|
+
}, E9 = { class: "ao-card-feed__title-line" }, I9 = {
|
|
11424
11430
|
key: 0,
|
|
11425
11431
|
class: "ao-card-feed__slug"
|
|
11426
|
-
},
|
|
11432
|
+
}, L9 = {
|
|
11427
11433
|
key: 1,
|
|
11428
11434
|
class: "ao-card-feed__deadline"
|
|
11429
|
-
},
|
|
11435
|
+
}, P9 = { class: "ao-card-feed__footer" }, H9 = { class: "ao-card-feed__footer-row" }, V9 = { class: "ao-assignees" }, D9 = {
|
|
11430
11436
|
key: 0,
|
|
11431
11437
|
class: "ao-assignee"
|
|
11432
|
-
},
|
|
11438
|
+
}, B9 = {
|
|
11433
11439
|
key: 0,
|
|
11434
11440
|
class: "ao-card-feed__subitems"
|
|
11435
|
-
},
|
|
11441
|
+
}, j9 = {
|
|
11436
11442
|
key: 0,
|
|
11437
11443
|
class: "ao-card-feed__subitem"
|
|
11438
|
-
},
|
|
11444
|
+
}, R9 = { class: "ao-card-feed__subitem" }, N9 = {
|
|
11439
11445
|
key: 1,
|
|
11440
11446
|
class: "ao-card-feed__subitem"
|
|
11441
|
-
},
|
|
11447
|
+
}, U9 = { class: "ao-card-feed__subitem" }, F9 = { class: "ao-card-feed__footer-row" }, Z9 = {
|
|
11442
11448
|
key: 0,
|
|
11443
11449
|
class: "ao-card-feed__progress-wrapper"
|
|
11444
|
-
},
|
|
11450
|
+
}, W9 = { class: "ao-card-feed__subitem" }, z9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */ q({
|
|
11445
11451
|
__name: "AoCardFeed",
|
|
11446
11452
|
props: {
|
|
11447
11453
|
id: {},
|
|
@@ -11484,8 +11490,8 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11484
11490
|
"is-clickable": !0
|
|
11485
11491
|
}, {
|
|
11486
11492
|
header: N(() => [
|
|
11487
|
-
f("div",
|
|
11488
|
-
s.value ? (p(), D(
|
|
11493
|
+
f("div", k9, [
|
|
11494
|
+
s.value ? (p(), D(ra, {
|
|
11489
11495
|
key: 0,
|
|
11490
11496
|
label: s.value,
|
|
11491
11497
|
class: "ao-card-feed__project",
|
|
@@ -11493,7 +11499,7 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11493
11499
|
color: h.projectColor ? void 0 : "primary",
|
|
11494
11500
|
"raw-color": n.value
|
|
11495
11501
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
11496
|
-
h.isPrivate || h.important || h.isClosed ? (p(), C("div",
|
|
11502
|
+
h.isPrivate || h.important || h.isClosed ? (p(), C("div", S9, [
|
|
11497
11503
|
h.isPrivate ? (p(), D(pe, {
|
|
11498
11504
|
key: 0,
|
|
11499
11505
|
name: "Lock",
|
|
@@ -11512,17 +11518,17 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11512
11518
|
class: "ao-card-feed__closed"
|
|
11513
11519
|
})) : O("", !0)
|
|
11514
11520
|
])) : O("", !0),
|
|
11515
|
-
h.$slots.secondary ? (p(), C("div",
|
|
11521
|
+
h.$slots.secondary ? (p(), C("div", A9, [
|
|
11516
11522
|
te(h.$slots, "secondary")
|
|
11517
11523
|
])) : O("", !0)
|
|
11518
11524
|
])
|
|
11519
11525
|
]),
|
|
11520
11526
|
default: N(() => [
|
|
11521
|
-
f("div",
|
|
11522
|
-
i.value ? (p(), C("span",
|
|
11523
|
-
f("div",
|
|
11524
|
-
f("div",
|
|
11525
|
-
h.slug ? (p(), C("span",
|
|
11527
|
+
f("div", M9, [
|
|
11528
|
+
i.value ? (p(), C("span", T9, W(i.value), 1)) : O("", !0),
|
|
11529
|
+
f("div", O9, [
|
|
11530
|
+
f("div", E9, [
|
|
11531
|
+
h.slug ? (p(), C("span", I9, W(h.slug) + ": ", 1)) : O("", !0),
|
|
11526
11532
|
A(be, {
|
|
11527
11533
|
id: h.id,
|
|
11528
11534
|
title: h.name,
|
|
@@ -11533,17 +11539,17 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11533
11539
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11534
11540
|
])
|
|
11535
11541
|
]),
|
|
11536
|
-
h.deadline ? (p(), C("span",
|
|
11542
|
+
h.deadline ? (p(), C("span", L9, W(r.value), 1)) : O("", !0)
|
|
11537
11543
|
])
|
|
11538
11544
|
]),
|
|
11539
11545
|
footer: N(() => [
|
|
11540
|
-
f("div",
|
|
11541
|
-
f("div",
|
|
11542
|
-
f("ul",
|
|
11546
|
+
f("div", P9, [
|
|
11547
|
+
f("div", H9, [
|
|
11548
|
+
f("ul", V9, [
|
|
11543
11549
|
(p(!0), C(fe, null, _e(l.value, (w) => (p(), C(fe, {
|
|
11544
11550
|
key: w.id
|
|
11545
11551
|
}, [
|
|
11546
|
-
w ? (p(), C("li",
|
|
11552
|
+
w ? (p(), C("li", D9, [
|
|
11547
11553
|
A(Je, {
|
|
11548
11554
|
"user-name": Q(Kn)(w),
|
|
11549
11555
|
"avatar-url": w.avatarUrl,
|
|
@@ -11553,31 +11559,31 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11553
11559
|
])) : O("", !0)
|
|
11554
11560
|
], 64))), 128))
|
|
11555
11561
|
]),
|
|
11556
|
-
h.comments || h.attachments ? (p(), C("ul",
|
|
11557
|
-
h.comments ? (p(), C("li",
|
|
11562
|
+
h.comments || h.attachments ? (p(), C("ul", B9, [
|
|
11563
|
+
h.comments ? (p(), C("li", j9, [
|
|
11558
11564
|
A(pe, {
|
|
11559
11565
|
name: "ChatOutline",
|
|
11560
11566
|
size: "sm"
|
|
11561
11567
|
}),
|
|
11562
|
-
f("span",
|
|
11568
|
+
f("span", R9, W(h.comments), 1)
|
|
11563
11569
|
])) : O("", !0),
|
|
11564
|
-
h.attachments ? (p(), C("li",
|
|
11570
|
+
h.attachments ? (p(), C("li", N9, [
|
|
11565
11571
|
A(pe, {
|
|
11566
11572
|
name: "AttachFileRounded",
|
|
11567
11573
|
size: "sm"
|
|
11568
11574
|
}),
|
|
11569
|
-
f("span",
|
|
11575
|
+
f("span", U9, W(h.attachments), 1)
|
|
11570
11576
|
])) : O("", !0)
|
|
11571
11577
|
])) : O("", !0)
|
|
11572
11578
|
]),
|
|
11573
|
-
f("div",
|
|
11574
|
-
h.tasks && h.tasks.length ? (p(), C("div",
|
|
11575
|
-
f("div",
|
|
11579
|
+
f("div", F9, [
|
|
11580
|
+
h.tasks && h.tasks.length ? (p(), C("div", Z9, [
|
|
11581
|
+
f("div", W9, [
|
|
11576
11582
|
A(pe, {
|
|
11577
11583
|
name: "SelectCheckBox",
|
|
11578
11584
|
size: "sm"
|
|
11579
11585
|
}),
|
|
11580
|
-
f("span",
|
|
11586
|
+
f("span", z9, W(d.value) + " / " + W(u.value), 1)
|
|
11581
11587
|
]),
|
|
11582
11588
|
A(ls, {
|
|
11583
11589
|
percentages: v.value,
|
|
@@ -11591,10 +11597,10 @@ const S9 = { class: "ao-card-feed__header" }, A9 = {
|
|
|
11591
11597
|
}, 8, ["class"]));
|
|
11592
11598
|
}
|
|
11593
11599
|
});
|
|
11594
|
-
const
|
|
11600
|
+
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
11601
|
key: 0,
|
|
11596
11602
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11597
|
-
},
|
|
11603
|
+
}, 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
11604
|
key: 0,
|
|
11599
11605
|
class: "ao-project-milestone__footer"
|
|
11600
11606
|
}, In = /* @__PURE__ */ q({
|
|
@@ -11647,7 +11653,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11647
11653
|
}, d = (_) => {
|
|
11648
11654
|
l.value && "moved" in _ && e("updateActivity", {
|
|
11649
11655
|
id: _.moved.element.id,
|
|
11650
|
-
rank:
|
|
11656
|
+
rank: Ft(l.value, _.moved.newIndex)
|
|
11651
11657
|
});
|
|
11652
11658
|
}, v = M({
|
|
11653
11659
|
get: () => {
|
|
@@ -11701,9 +11707,9 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11701
11707
|
});
|
|
11702
11708
|
return (_, y) => {
|
|
11703
11709
|
var P;
|
|
11704
|
-
return p(), C("div",
|
|
11705
|
-
f("header",
|
|
11706
|
-
f("div",
|
|
11710
|
+
return p(), C("div", q9, [
|
|
11711
|
+
f("header", Y9, [
|
|
11712
|
+
f("div", x9, [
|
|
11707
11713
|
A(re, {
|
|
11708
11714
|
"icon-name": "CloseRounded",
|
|
11709
11715
|
variant: "ghost",
|
|
@@ -11712,8 +11718,8 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11712
11718
|
onClick: r
|
|
11713
11719
|
})
|
|
11714
11720
|
]),
|
|
11715
|
-
f("div",
|
|
11716
|
-
f("div",
|
|
11721
|
+
f("div", K9, [
|
|
11722
|
+
f("div", G9, [
|
|
11717
11723
|
A(be, {
|
|
11718
11724
|
title: ((P = i.value) == null ? void 0 : P.name) || _.milestoneId,
|
|
11719
11725
|
level: 5
|
|
@@ -11732,9 +11738,9 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11732
11738
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11733
11739
|
])
|
|
11734
11740
|
]),
|
|
11735
|
-
i.value ? (p(), C("div",
|
|
11736
|
-
f("div",
|
|
11737
|
-
f("label",
|
|
11741
|
+
i.value ? (p(), C("div", X9, [
|
|
11742
|
+
f("div", Q9, [
|
|
11743
|
+
f("label", J9, [
|
|
11738
11744
|
De(f("input", {
|
|
11739
11745
|
"onUpdate:modelValue": y[1] || (y[1] = (I) => h.value = I),
|
|
11740
11746
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11749,8 +11755,8 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11749
11755
|
])
|
|
11750
11756
|
])
|
|
11751
11757
|
]),
|
|
11752
|
-
f("div",
|
|
11753
|
-
f("label",
|
|
11758
|
+
f("div", e4, [
|
|
11759
|
+
f("label", t4, [
|
|
11754
11760
|
A(Se, {
|
|
11755
11761
|
modelValue: g.value,
|
|
11756
11762
|
"onUpdate:modelValue": y[2] || (y[2] = (I) => g.value = I),
|
|
@@ -11785,16 +11791,16 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11785
11791
|
}, {
|
|
11786
11792
|
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11787
11793
|
f("button", {
|
|
11788
|
-
style:
|
|
11794
|
+
style: Mt({ background: L }),
|
|
11789
11795
|
class: "color-button",
|
|
11790
11796
|
onClick: I
|
|
11791
|
-
}, null, 12,
|
|
11797
|
+
}, null, 12, a4)
|
|
11792
11798
|
]),
|
|
11793
11799
|
_: 1
|
|
11794
11800
|
}, 8, ["color"])
|
|
11795
11801
|
])) : O("", !0)
|
|
11796
11802
|
]),
|
|
11797
|
-
f("div",
|
|
11803
|
+
f("div", s4, [
|
|
11798
11804
|
A(Q(mt), Ae({
|
|
11799
11805
|
class: "ao-project-milestone__activities",
|
|
11800
11806
|
list: l.value,
|
|
@@ -11865,7 +11871,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11865
11871
|
}),
|
|
11866
11872
|
_: 1
|
|
11867
11873
|
}, 16, ["list", "disabled"]),
|
|
11868
|
-
_.isEditable ? (p(), C("div",
|
|
11874
|
+
_.isEditable ? (p(), C("div", n4, [
|
|
11869
11875
|
A(gt, {
|
|
11870
11876
|
"icon-name": "Add",
|
|
11871
11877
|
label: _.$t("project.activity.add"),
|
|
@@ -11877,7 +11883,7 @@ const Y9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
11877
11883
|
};
|
|
11878
11884
|
}
|
|
11879
11885
|
});
|
|
11880
|
-
const
|
|
11886
|
+
const i4 = /* @__PURE__ */ q({
|
|
11881
11887
|
__name: "AoProjectOverviewActivityDetails",
|
|
11882
11888
|
props: {
|
|
11883
11889
|
phaseId: {},
|
|
@@ -11964,20 +11970,20 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11964
11970
|
}, 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
11971
|
};
|
|
11966
11972
|
}
|
|
11967
|
-
}),
|
|
11973
|
+
}), o4 = { class: "ao-col-header" }, l4 = /* @__PURE__ */ q({
|
|
11968
11974
|
__name: "AoColHeader",
|
|
11969
11975
|
props: {
|
|
11970
11976
|
title: {},
|
|
11971
11977
|
items: {}
|
|
11972
11978
|
},
|
|
11973
11979
|
setup(t) {
|
|
11974
|
-
return (e, a) => (p(), C("header",
|
|
11980
|
+
return (e, a) => (p(), C("header", o4, [
|
|
11975
11981
|
A(be, {
|
|
11976
11982
|
title: e.title,
|
|
11977
11983
|
class: "ao-col-header__title",
|
|
11978
11984
|
level: 4
|
|
11979
11985
|
}, null, 8, ["title"]),
|
|
11980
|
-
e.items ? (p(), D(
|
|
11986
|
+
e.items ? (p(), D(ra, {
|
|
11981
11987
|
key: 0,
|
|
11982
11988
|
label: e.items,
|
|
11983
11989
|
class: "ao-col-header__items",
|
|
@@ -11987,17 +11993,17 @@ const o4 = /* @__PURE__ */ q({
|
|
|
11987
11993
|
]));
|
|
11988
11994
|
}
|
|
11989
11995
|
});
|
|
11990
|
-
function
|
|
11996
|
+
function r4(t) {
|
|
11991
11997
|
return Fi() ? (Zi(t), !0) : !1;
|
|
11992
11998
|
}
|
|
11993
11999
|
function za(t) {
|
|
11994
12000
|
return typeof t == "function" ? t() : Q(t);
|
|
11995
12001
|
}
|
|
11996
|
-
const
|
|
12002
|
+
const u4 = typeof window < "u" && typeof document < "u";
|
|
11997
12003
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11998
|
-
const
|
|
12004
|
+
const c4 = (t) => t != null, la = () => {
|
|
11999
12005
|
};
|
|
12000
|
-
function
|
|
12006
|
+
function d4(t, e) {
|
|
12001
12007
|
function a(...s) {
|
|
12002
12008
|
return new Promise((n, o) => {
|
|
12003
12009
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -12005,10 +12011,10 @@ function p4(t, e) {
|
|
|
12005
12011
|
}
|
|
12006
12012
|
return a;
|
|
12007
12013
|
}
|
|
12008
|
-
function
|
|
12009
|
-
let a, s, n =
|
|
12014
|
+
function p4(t, e = {}) {
|
|
12015
|
+
let a, s, n = la;
|
|
12010
12016
|
const o = (l) => {
|
|
12011
|
-
clearTimeout(l), n(), n =
|
|
12017
|
+
clearTimeout(l), n(), n = la;
|
|
12012
12018
|
};
|
|
12013
12019
|
return (l) => {
|
|
12014
12020
|
const r = za(t), c = za(e.maxWait);
|
|
@@ -12021,9 +12027,9 @@ function v4(t, e = {}) {
|
|
|
12021
12027
|
});
|
|
12022
12028
|
};
|
|
12023
12029
|
}
|
|
12024
|
-
function
|
|
12025
|
-
return
|
|
12026
|
-
|
|
12030
|
+
function v4(t, e = 200, a = {}) {
|
|
12031
|
+
return d4(
|
|
12032
|
+
p4(e, a),
|
|
12027
12033
|
t
|
|
12028
12034
|
);
|
|
12029
12035
|
}
|
|
@@ -12032,29 +12038,29 @@ function bs(t) {
|
|
|
12032
12038
|
const a = za(t);
|
|
12033
12039
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12034
12040
|
}
|
|
12035
|
-
const
|
|
12036
|
-
function
|
|
12037
|
-
const t = x(!1), e =
|
|
12038
|
-
return e &&
|
|
12041
|
+
const f4 = u4 ? window : void 0;
|
|
12042
|
+
function h4() {
|
|
12043
|
+
const t = x(!1), e = Lt();
|
|
12044
|
+
return e && It(() => {
|
|
12039
12045
|
t.value = !0;
|
|
12040
12046
|
}, e), t;
|
|
12041
12047
|
}
|
|
12042
|
-
function
|
|
12043
|
-
const e =
|
|
12048
|
+
function m4(t) {
|
|
12049
|
+
const e = h4();
|
|
12044
12050
|
return M(() => (e.value, !!t()));
|
|
12045
12051
|
}
|
|
12046
|
-
function
|
|
12052
|
+
function g4(t, e, a = {}) {
|
|
12047
12053
|
const {
|
|
12048
12054
|
root: s,
|
|
12049
12055
|
rootMargin: n = "0px",
|
|
12050
12056
|
threshold: o = 0.1,
|
|
12051
|
-
window: i =
|
|
12057
|
+
window: i = f4,
|
|
12052
12058
|
immediate: l = !0
|
|
12053
|
-
} = a, r =
|
|
12059
|
+
} = a, r = m4(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
12054
12060
|
const $ = za(t);
|
|
12055
|
-
return (Array.isArray($) ? $ : [$]).map(bs).filter(
|
|
12061
|
+
return (Array.isArray($) ? $ : [$]).map(bs).filter(c4);
|
|
12056
12062
|
});
|
|
12057
|
-
let u =
|
|
12063
|
+
let u = la;
|
|
12058
12064
|
const d = x(l), v = r.value ? ce(
|
|
12059
12065
|
() => [c.value, bs(s), d.value],
|
|
12060
12066
|
([$, w]) => {
|
|
@@ -12069,14 +12075,14 @@ function C4(t, e, a = {}) {
|
|
|
12069
12075
|
}
|
|
12070
12076
|
);
|
|
12071
12077
|
$.forEach((m) => m && g.observe(m)), u = () => {
|
|
12072
|
-
g.disconnect(), u =
|
|
12078
|
+
g.disconnect(), u = la;
|
|
12073
12079
|
};
|
|
12074
12080
|
},
|
|
12075
12081
|
{ immediate: l, flush: "post" }
|
|
12076
|
-
) :
|
|
12082
|
+
) : la, h = () => {
|
|
12077
12083
|
u(), v(), d.value = !1;
|
|
12078
12084
|
};
|
|
12079
|
-
return
|
|
12085
|
+
return r4(h), {
|
|
12080
12086
|
isSupported: r,
|
|
12081
12087
|
isActive: d,
|
|
12082
12088
|
pause() {
|
|
@@ -12088,24 +12094,24 @@ function C4(t, e, a = {}) {
|
|
|
12088
12094
|
stop: h
|
|
12089
12095
|
};
|
|
12090
12096
|
}
|
|
12091
|
-
const
|
|
12097
|
+
const C4 = {
|
|
12092
12098
|
class: /* @__PURE__ */ X(["ao-list-kanban"])
|
|
12093
|
-
},
|
|
12099
|
+
}, _4 = { class: "ao-list-kanban__header" }, y4 = {
|
|
12094
12100
|
key: 0,
|
|
12095
12101
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
12096
|
-
},
|
|
12102
|
+
}, b4 = {
|
|
12097
12103
|
key: 1,
|
|
12098
12104
|
class: "ao-list-kanban__end"
|
|
12099
|
-
},
|
|
12105
|
+
}, w4 = {
|
|
12100
12106
|
key: 0,
|
|
12101
12107
|
class: "ao-list-kanban__no-more"
|
|
12102
|
-
},
|
|
12108
|
+
}, $4 = {
|
|
12103
12109
|
key: 1,
|
|
12104
12110
|
class: "ao-list-kanban__divider"
|
|
12105
|
-
},
|
|
12111
|
+
}, k4 = {
|
|
12106
12112
|
key: 1,
|
|
12107
12113
|
class: "ao-list-kanban__footer"
|
|
12108
|
-
},
|
|
12114
|
+
}, S4 = /* @__PURE__ */ q({
|
|
12109
12115
|
__name: "AoListKanban",
|
|
12110
12116
|
props: {
|
|
12111
12117
|
list: {},
|
|
@@ -12123,7 +12129,7 @@ const _4 = {
|
|
|
12123
12129
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
12124
12130
|
setup(t, { emit: e }) {
|
|
12125
12131
|
const a = t, s = x(!1), n = x(null);
|
|
12126
|
-
|
|
12132
|
+
g4(n, ([{ isIntersecting: u }]) => {
|
|
12127
12133
|
s.value = u;
|
|
12128
12134
|
}), ce(s, (u) => {
|
|
12129
12135
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12139,21 +12145,21 @@ const _4 = {
|
|
|
12139
12145
|
"added" in u ? e("updateActivity", {
|
|
12140
12146
|
id: u.added.element.id,
|
|
12141
12147
|
statusId: a.status.id,
|
|
12142
|
-
rank:
|
|
12148
|
+
rank: Ft(a.list, u.added.newIndex)
|
|
12143
12149
|
}) : "removed" in u || "moved" in u && e("updateActivity", {
|
|
12144
12150
|
id: u.moved.element.id,
|
|
12145
|
-
rank:
|
|
12151
|
+
rank: Ft(
|
|
12146
12152
|
a.list,
|
|
12147
12153
|
u.moved.newIndex
|
|
12148
12154
|
)
|
|
12149
12155
|
});
|
|
12150
12156
|
}, c = x(!1);
|
|
12151
|
-
return (u, d) => (p(), C("div",
|
|
12157
|
+
return (u, d) => (p(), C("div", C4, [
|
|
12152
12158
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12153
12159
|
var v;
|
|
12154
12160
|
return [
|
|
12155
|
-
f("div",
|
|
12156
|
-
u.title ? (p(), D(
|
|
12161
|
+
f("div", _4, [
|
|
12162
|
+
u.title ? (p(), D(l4, {
|
|
12157
12163
|
key: 0,
|
|
12158
12164
|
title: u.title,
|
|
12159
12165
|
level: 3,
|
|
@@ -12239,20 +12245,20 @@ const _4 = {
|
|
|
12239
12245
|
];
|
|
12240
12246
|
}),
|
|
12241
12247
|
footer: N(() => [
|
|
12242
|
-
u.isLoading ? (p(), C("div",
|
|
12248
|
+
u.isLoading ? (p(), C("div", y4, [
|
|
12243
12249
|
A(pe, { name: "Loading" })
|
|
12244
12250
|
])) : u.hasMore ? (p(), C("div", {
|
|
12245
12251
|
key: 2,
|
|
12246
12252
|
ref_key: "scrollEnd",
|
|
12247
12253
|
ref: n,
|
|
12248
12254
|
class: "ao-list-kanban__end"
|
|
12249
|
-
}, null, 512)) : (p(), C("div",
|
|
12250
|
-
u.noMoreLabel ? (p(), C("span",
|
|
12255
|
+
}, null, 512)) : (p(), C("div", b4, [
|
|
12256
|
+
u.noMoreLabel ? (p(), C("span", w4, W(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", $4)) : O("", !0)
|
|
12251
12257
|
]))
|
|
12252
12258
|
]),
|
|
12253
12259
|
_: 1
|
|
12254
12260
|
}, 16, ["class", "list", "disabled"]),
|
|
12255
|
-
u.$slots.footer || u.footerLabel ? (p(), C("div",
|
|
12261
|
+
u.$slots.footer || u.footerLabel ? (p(), C("div", k4, [
|
|
12256
12262
|
te(u.$slots, "footer", {}, () => [
|
|
12257
12263
|
u.isEditable ? (p(), D(gt, {
|
|
12258
12264
|
key: 0,
|
|
@@ -12265,7 +12271,7 @@ const _4 = {
|
|
|
12265
12271
|
]));
|
|
12266
12272
|
}
|
|
12267
12273
|
});
|
|
12268
|
-
const
|
|
12274
|
+
const A4 = { class: "ao-field ao-search-field" }, M4 = ["value", "placeholder", "onKeypress"], T4 = /* @__PURE__ */ q({
|
|
12269
12275
|
__name: "AoSearchField",
|
|
12270
12276
|
props: {
|
|
12271
12277
|
modelValue: {},
|
|
@@ -12277,10 +12283,10 @@ const M4 = { class: "ao-field ao-search-field" }, T4 = ["value", "placeholder",
|
|
|
12277
12283
|
const a = t, s = async (i) => {
|
|
12278
12284
|
const r = i.target.value;
|
|
12279
12285
|
e("update:modelValue", r, i);
|
|
12280
|
-
}, n =
|
|
12286
|
+
}, n = v4(s, a.delay), o = (i) => {
|
|
12281
12287
|
e("clear", i);
|
|
12282
12288
|
};
|
|
12283
|
-
return (i, l) => (p(), C("div",
|
|
12289
|
+
return (i, l) => (p(), C("div", A4, [
|
|
12284
12290
|
f("input", {
|
|
12285
12291
|
value: i.modelValue,
|
|
12286
12292
|
type: "text",
|
|
@@ -12289,7 +12295,7 @@ const M4 = { class: "ao-field ao-search-field" }, T4 = ["value", "placeholder",
|
|
|
12289
12295
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12290
12296
|
(...r) => Q(n) && Q(n)(...r)),
|
|
12291
12297
|
onKeypress: dt(s, ["enter"])
|
|
12292
|
-
}, null, 40,
|
|
12298
|
+
}, null, 40, M4),
|
|
12293
12299
|
A(pe, {
|
|
12294
12300
|
name: "SearchRounded",
|
|
12295
12301
|
class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12305,7 +12311,7 @@ const M4 = { class: "ao-field ao-search-field" }, T4 = ["value", "placeholder",
|
|
|
12305
12311
|
]));
|
|
12306
12312
|
}
|
|
12307
12313
|
});
|
|
12308
|
-
const
|
|
12314
|
+
const O4 = { class: "ao-feed" }, E4 = { class: "ao-feed__filters" }, I4 = { class: "ao-feed__body" }, L4 = /* @__PURE__ */ q({
|
|
12309
12315
|
__name: "AoFeed",
|
|
12310
12316
|
props: {
|
|
12311
12317
|
activities: {},
|
|
@@ -12333,7 +12339,7 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12333
12339
|
function n(k, R) {
|
|
12334
12340
|
e("toast", k, R);
|
|
12335
12341
|
}
|
|
12336
|
-
const o =
|
|
12342
|
+
const o = Rt(a, "activities"), i = async (k, R) => {
|
|
12337
12343
|
await e("selectActivity", k, R);
|
|
12338
12344
|
}, l = x({}), r = x(!1), c = x(!1), u = M(() => a.project ? "milestone" : "project");
|
|
12339
12345
|
ce(
|
|
@@ -12422,16 +12428,16 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12422
12428
|
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
12429
|
}), (k, R) => {
|
|
12424
12430
|
var b;
|
|
12425
|
-
return p(), C("div",
|
|
12431
|
+
return p(), C("div", O4, [
|
|
12426
12432
|
A(ba, null, {
|
|
12427
12433
|
primary: N(() => [
|
|
12428
|
-
f("div",
|
|
12434
|
+
f("div", E4, [
|
|
12429
12435
|
A(an, {
|
|
12430
12436
|
tabs: T,
|
|
12431
12437
|
modelValue: E.value,
|
|
12432
12438
|
"onUpdate:modelValue": R[0] || (R[0] = (V) => E.value = V)
|
|
12433
12439
|
}, null, 8, ["modelValue"]),
|
|
12434
|
-
A(
|
|
12440
|
+
A(T4, {
|
|
12435
12441
|
"model-value": k.searchText,
|
|
12436
12442
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12437
12443
|
class: "ao-feed__search",
|
|
@@ -12440,36 +12446,36 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12440
12446
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12441
12447
|
a.project ? O("", !0) : (p(), D(Se, {
|
|
12442
12448
|
key: 0,
|
|
12443
|
-
"model-value": k.filters[Q(
|
|
12449
|
+
"model-value": k.filters[Q(Dt).project],
|
|
12444
12450
|
mode: "tags",
|
|
12445
12451
|
options: w.value,
|
|
12446
12452
|
"close-on-select": !1,
|
|
12447
12453
|
searchable: !0,
|
|
12448
12454
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12449
12455
|
placeholder: k.$t("feed.filters.project.placeholder"),
|
|
12450
|
-
"onUpdate:modelValue": R[1] || (R[1] = (V) => h(Q(
|
|
12456
|
+
"onUpdate:modelValue": R[1] || (R[1] = (V) => h(Q(Dt).project, V))
|
|
12451
12457
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12452
12458
|
g.value ? (p(), D(Se, {
|
|
12453
12459
|
key: 1,
|
|
12454
|
-
"model-value": k.filters[Q(
|
|
12460
|
+
"model-value": k.filters[Q(Dt).type],
|
|
12455
12461
|
mode: "tags",
|
|
12456
12462
|
options: g.value,
|
|
12457
12463
|
"close-on-select": !1,
|
|
12458
12464
|
searchable: !0,
|
|
12459
12465
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12460
12466
|
placeholder: k.$t("feed.filters.activityType.placeholder"),
|
|
12461
|
-
"onUpdate:modelValue": R[2] || (R[2] = (V) => h(Q(
|
|
12467
|
+
"onUpdate:modelValue": R[2] || (R[2] = (V) => h(Q(Dt).type, V))
|
|
12462
12468
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12463
12469
|
m.value.length ? (p(), D(Se, {
|
|
12464
12470
|
key: 2,
|
|
12465
|
-
"model-value": k.filters[Q(
|
|
12471
|
+
"model-value": k.filters[Q(Dt).assignee],
|
|
12466
12472
|
mode: "tags",
|
|
12467
12473
|
options: m.value,
|
|
12468
12474
|
"close-on-select": !1,
|
|
12469
12475
|
searchable: !0,
|
|
12470
12476
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12471
12477
|
placeholder: k.$t("feed.filters.assignee.placeholder"),
|
|
12472
|
-
"onUpdate:modelValue": R[3] || (R[3] = (V) => h(Q(
|
|
12478
|
+
"onUpdate:modelValue": R[3] || (R[3] = (V) => h(Q(Dt).assignee, V))
|
|
12473
12479
|
}, {
|
|
12474
12480
|
tag: N(({
|
|
12475
12481
|
option: V,
|
|
@@ -12524,8 +12530,8 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12524
12530
|
]),
|
|
12525
12531
|
_: 1
|
|
12526
12532
|
}),
|
|
12527
|
-
f("div",
|
|
12528
|
-
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(
|
|
12533
|
+
f("div", I4, [
|
|
12534
|
+
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(S4, {
|
|
12529
12535
|
key: V.id,
|
|
12530
12536
|
status: V,
|
|
12531
12537
|
list: l.value[V.id],
|
|
@@ -12542,7 +12548,7 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12542
12548
|
onUpdateActivity: y
|
|
12543
12549
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12544
12550
|
]),
|
|
12545
|
-
(p(), D(
|
|
12551
|
+
(p(), D(Tt, { to: "body" }, [
|
|
12546
12552
|
k.selectedActivity ? (p(), D(Ys, {
|
|
12547
12553
|
key: 0,
|
|
12548
12554
|
activity: k.selectedActivity,
|
|
@@ -12579,10 +12585,10 @@ const E4 = { class: "ao-feed" }, I4 = { class: "ao-feed__filters" }, L4 = { clas
|
|
|
12579
12585
|
};
|
|
12580
12586
|
}
|
|
12581
12587
|
});
|
|
12582
|
-
const
|
|
12588
|
+
const P4 = { class: "ao-project-mapping" }, H4 = { class: "ao-project-mapping-mapping__body" }, V4 = { class: "ao-project-mapping-mapping__phases" }, D4 = {
|
|
12583
12589
|
key: 0,
|
|
12584
12590
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12585
|
-
},
|
|
12591
|
+
}, B4 = ["src", "alt"], j4 = /* @__PURE__ */ q({
|
|
12586
12592
|
__name: "AoMapping",
|
|
12587
12593
|
props: {
|
|
12588
12594
|
project: {},
|
|
@@ -12626,7 +12632,7 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12626
12632
|
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
12633
|
}), (g, m) => (p(), C(fe, null, [
|
|
12628
12634
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12629
|
-
f("div",
|
|
12635
|
+
f("div", P4, [
|
|
12630
12636
|
A(ba, null, {
|
|
12631
12637
|
primary: N(() => [
|
|
12632
12638
|
A(an, {
|
|
@@ -12665,8 +12671,8 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12665
12671
|
]),
|
|
12666
12672
|
_: 1
|
|
12667
12673
|
}),
|
|
12668
|
-
f("div",
|
|
12669
|
-
f("div",
|
|
12674
|
+
f("div", H4, [
|
|
12675
|
+
f("div", V4, [
|
|
12670
12676
|
A(fi, {
|
|
12671
12677
|
phases: g.phases,
|
|
12672
12678
|
"closed-status": g.closedStatus,
|
|
@@ -12679,17 +12685,17 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12679
12685
|
onCopyPhaseToTemplate: r
|
|
12680
12686
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
12681
12687
|
]),
|
|
12682
|
-
g.project.architectureImage ? (p(), C("div",
|
|
12688
|
+
g.project.architectureImage ? (p(), C("div", D4, [
|
|
12683
12689
|
f("img", {
|
|
12684
12690
|
class: "architecture-image",
|
|
12685
12691
|
src: g.project.architectureImage.url,
|
|
12686
12692
|
alt: Q(s)("architectureImage.alt")
|
|
12687
|
-
}, null, 8,
|
|
12693
|
+
}, null, 8, B4)
|
|
12688
12694
|
])) : O("", !0)
|
|
12689
12695
|
])
|
|
12690
12696
|
])
|
|
12691
12697
|
], 16),
|
|
12692
|
-
(p(), D(
|
|
12698
|
+
(p(), D(Tt, { to: "body" }, [
|
|
12693
12699
|
u.value ? (p(), D(mi, {
|
|
12694
12700
|
key: 0,
|
|
12695
12701
|
phases: g.phases,
|
|
@@ -12707,25 +12713,25 @@ const H4 = { class: "ao-project-mapping" }, V4 = { class: "ao-project-mapping-ma
|
|
|
12707
12713
|
], 64));
|
|
12708
12714
|
}
|
|
12709
12715
|
});
|
|
12710
|
-
const
|
|
12716
|
+
const jt = {
|
|
12711
12717
|
TEMPLATES: "templates",
|
|
12712
12718
|
TEMPLATE_DETAILS: "template_details",
|
|
12713
12719
|
TEMPLATES_LIST: "templates_list"
|
|
12714
|
-
},
|
|
12720
|
+
}, t8 = (t, e = {}) => [
|
|
12715
12721
|
{
|
|
12716
12722
|
path: t,
|
|
12717
|
-
name:
|
|
12718
|
-
redirect: { name:
|
|
12723
|
+
name: jt.TEMPLATES,
|
|
12724
|
+
redirect: { name: jt.TEMPLATES_LIST },
|
|
12719
12725
|
...e,
|
|
12720
12726
|
children: [
|
|
12721
12727
|
{
|
|
12722
12728
|
path: "",
|
|
12723
|
-
name:
|
|
12724
|
-
component:
|
|
12729
|
+
name: jt.TEMPLATES_LIST,
|
|
12730
|
+
component: N4
|
|
12725
12731
|
},
|
|
12726
12732
|
{
|
|
12727
12733
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12728
|
-
name:
|
|
12734
|
+
name: jt.TEMPLATE_DETAILS,
|
|
12729
12735
|
component: Bf,
|
|
12730
12736
|
props: !0
|
|
12731
12737
|
}
|
|
@@ -12737,7 +12743,7 @@ const Bt = {
|
|
|
12737
12743
|
mapping: "AoProjectMapping",
|
|
12738
12744
|
milestone: "AoMilestone",
|
|
12739
12745
|
activity: "AoActivity"
|
|
12740
|
-
},
|
|
12746
|
+
}, a8 = (t, e = {}) => [
|
|
12741
12747
|
{
|
|
12742
12748
|
path: t,
|
|
12743
12749
|
...e,
|
|
@@ -12746,7 +12752,7 @@ const Bt = {
|
|
|
12746
12752
|
{
|
|
12747
12753
|
path: "",
|
|
12748
12754
|
name: ye.project,
|
|
12749
|
-
component:
|
|
12755
|
+
component: $9,
|
|
12750
12756
|
props: !0,
|
|
12751
12757
|
children: [
|
|
12752
12758
|
{
|
|
@@ -12761,7 +12767,7 @@ const Bt = {
|
|
|
12761
12767
|
props: { default: !0, modal: !0 },
|
|
12762
12768
|
components: {
|
|
12763
12769
|
default: In,
|
|
12764
|
-
modal:
|
|
12770
|
+
modal: i4
|
|
12765
12771
|
}
|
|
12766
12772
|
}
|
|
12767
12773
|
]
|
|
@@ -12769,18 +12775,18 @@ const Bt = {
|
|
|
12769
12775
|
{
|
|
12770
12776
|
path: "feed",
|
|
12771
12777
|
name: ye.feed,
|
|
12772
|
-
component:
|
|
12778
|
+
component: L4,
|
|
12773
12779
|
props: !0
|
|
12774
12780
|
},
|
|
12775
12781
|
{
|
|
12776
12782
|
path: "mapping",
|
|
12777
12783
|
name: ye.mapping,
|
|
12778
|
-
component:
|
|
12784
|
+
component: j4,
|
|
12779
12785
|
props: !0
|
|
12780
12786
|
}
|
|
12781
12787
|
]
|
|
12782
12788
|
}
|
|
12783
|
-
],
|
|
12789
|
+
], R4 = { class: "ao-templates" }, N4 = /* @__PURE__ */ q({
|
|
12784
12790
|
__name: "AoTemplatesList",
|
|
12785
12791
|
props: {
|
|
12786
12792
|
templates: {}
|
|
@@ -12829,7 +12835,7 @@ const Bt = {
|
|
|
12829
12835
|
});
|
|
12830
12836
|
}
|
|
12831
12837
|
};
|
|
12832
|
-
return (r, c) => (p(), C("div",
|
|
12838
|
+
return (r, c) => (p(), C("div", R4, [
|
|
12833
12839
|
A(ba, null, {
|
|
12834
12840
|
secondary: N(() => [
|
|
12835
12841
|
A(re, {
|
|
@@ -12862,7 +12868,7 @@ const Bt = {
|
|
|
12862
12868
|
"updated-by": u.updatedBy,
|
|
12863
12869
|
onUpdateTitle: (v) => o(u.id, v),
|
|
12864
12870
|
onClick: (v) => r.$router.push({
|
|
12865
|
-
name: Q(
|
|
12871
|
+
name: Q(jt).TEMPLATE_DETAILS,
|
|
12866
12872
|
params: { templateId: u.id }
|
|
12867
12873
|
}),
|
|
12868
12874
|
onDeleteItem: c[0] || (c[0] = (v, h) => i(v, h))
|
|
@@ -12874,7 +12880,7 @@ const Bt = {
|
|
|
12874
12880
|
]));
|
|
12875
12881
|
}
|
|
12876
12882
|
});
|
|
12877
|
-
const
|
|
12883
|
+
const U4 = { class: "ao-field__label" }, F4 = /* @__PURE__ */ q({
|
|
12878
12884
|
__name: "AoField",
|
|
12879
12885
|
props: {
|
|
12880
12886
|
label: {},
|
|
@@ -12884,11 +12890,11 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12884
12890
|
return (e, a) => (p(), C("label", {
|
|
12885
12891
|
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12886
12892
|
}, [
|
|
12887
|
-
f("span",
|
|
12893
|
+
f("span", U4, W(e.label), 1),
|
|
12888
12894
|
te(e.$slots, "default")
|
|
12889
12895
|
], 2));
|
|
12890
12896
|
}
|
|
12891
|
-
}),
|
|
12897
|
+
}), Z4 = ["type", "value", "disabled", "readonly"], s8 = /* @__PURE__ */ q({
|
|
12892
12898
|
__name: "AoInputField",
|
|
12893
12899
|
props: {
|
|
12894
12900
|
label: { default: "" },
|
|
@@ -12905,7 +12911,7 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12905
12911
|
), n = (o) => {
|
|
12906
12912
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12907
12913
|
};
|
|
12908
|
-
return (o, i) => (p(), D(
|
|
12914
|
+
return (o, i) => (p(), D(F4, { label: o.label }, {
|
|
12909
12915
|
default: N(() => [
|
|
12910
12916
|
f("input", Ae({
|
|
12911
12917
|
class: "ao-field__input",
|
|
@@ -12915,12 +12921,12 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12915
12921
|
readonly: o.isReadonly
|
|
12916
12922
|
}, {
|
|
12917
12923
|
[Wi(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12918
|
-
}), null, 16,
|
|
12924
|
+
}), null, 16, Z4)
|
|
12919
12925
|
]),
|
|
12920
12926
|
_: 1
|
|
12921
12927
|
}, 8, ["label"]));
|
|
12922
12928
|
}
|
|
12923
|
-
}),
|
|
12929
|
+
}), W4 = { class: "ao-field" }, z4 = { class: "ao-field__label" }, q4 = ["checked", "disabled"], n8 = /* @__PURE__ */ q({
|
|
12924
12930
|
__name: "AoCheckboxField",
|
|
12925
12931
|
props: {
|
|
12926
12932
|
label: { default: "" },
|
|
@@ -12930,8 +12936,8 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12930
12936
|
},
|
|
12931
12937
|
emits: ["update:modelValue"],
|
|
12932
12938
|
setup(t) {
|
|
12933
|
-
return (e, a) => (p(), C("label",
|
|
12934
|
-
f("span",
|
|
12939
|
+
return (e, a) => (p(), C("label", W4, [
|
|
12940
|
+
f("span", z4, W(e.label), 1),
|
|
12935
12941
|
f("input", {
|
|
12936
12942
|
class: "ao-field__input",
|
|
12937
12943
|
type: "checkbox",
|
|
@@ -12944,34 +12950,34 @@ const F4 = { class: "ao-field__label" }, Z4 = /* @__PURE__ */ q({
|
|
|
12944
12950
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12945
12951
|
);
|
|
12946
12952
|
})
|
|
12947
|
-
}, null, 40,
|
|
12953
|
+
}, null, 40, q4)
|
|
12948
12954
|
]));
|
|
12949
12955
|
}
|
|
12950
12956
|
});
|
|
12951
12957
|
export {
|
|
12952
12958
|
Je as AoAvatar,
|
|
12953
12959
|
gi as AoCardFeed,
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12960
|
+
n8 as AoCheckboxField,
|
|
12961
|
+
L4 as AoFeed,
|
|
12962
|
+
F4 as AoField,
|
|
12963
|
+
s8 as AoInputField,
|
|
12958
12964
|
Se as AoMultiselect,
|
|
12959
12965
|
fi as AoProjectPhases,
|
|
12960
12966
|
Bf as AoTemplateDetails,
|
|
12961
|
-
|
|
12962
|
-
|
|
12967
|
+
X4 as AoTemplates,
|
|
12968
|
+
N4 as AoTemplatesList,
|
|
12963
12969
|
G2 as TemplateItemTypeEnum,
|
|
12964
|
-
|
|
12965
|
-
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
|
|
12970
|
+
J4 as activityFeedStatus,
|
|
12971
|
+
Q4 as durationTypes,
|
|
12972
|
+
Dt as feedFilterTypes,
|
|
12973
|
+
a8 as getProjectOverviewRoutes,
|
|
12974
|
+
t8 as getTemplateRoutes,
|
|
12975
|
+
e8 as listUpdateTypes,
|
|
12970
12976
|
Ba as milestoneStatus,
|
|
12971
12977
|
ye as projectOverviewRoutes,
|
|
12972
12978
|
Y2 as ruleComparators,
|
|
12973
12979
|
K2 as ruleDurationUnits,
|
|
12974
12980
|
x2 as ruleTriggerTypes,
|
|
12975
12981
|
me as templateItemType,
|
|
12976
|
-
|
|
12982
|
+
jt as templateRouteNames
|
|
12977
12983
|
};
|