@26lights/orcha 0.17.2 → 0.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +147 -145
- package/dist/orcha.umd.js +1 -1
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, openBlock as c, createBlock as R, unref as F, mergeProps as Ie, createElementBlock as m, createElementVNode as f, pushScopeId as rn, popScopeId as un, createStaticVNode as dn, computed as y, resolveDynamicComponent as at, normalizeClass as G, renderSlot as ee, toDisplayString as q, createCommentVNode as k, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as cn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Ht, onBeforeUnmount as fn, onUnmounted as da, toRefs as $e, getCurrentInstance as nt, toRef as
|
|
1
|
+
import { defineComponent as x, openBlock as c, createBlock as R, unref as F, mergeProps as Ie, createElementBlock as m, createElementVNode as f, pushScopeId as rn, popScopeId as un, createStaticVNode as dn, computed as y, resolveDynamicComponent as at, normalizeClass as G, renderSlot as ee, toDisplayString as q, createCommentVNode as k, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as cn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Ht, onBeforeUnmount as fn, onUnmounted as da, toRefs as $e, getCurrentInstance as nt, toRef as vt, normalizeProps as vn, guardReactiveProps as pn, onUpdated as hn, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
|
|
2
2
|
import { RouterView as bn } from "vue-router";
|
|
3
3
|
import Xe from "vuedraggable";
|
|
4
4
|
const a8 = /* @__PURE__ */ x({
|
|
@@ -1487,14 +1487,14 @@ function ge(a, e) {
|
|
|
1487
1487
|
if (e.length < a)
|
|
1488
1488
|
throw new TypeError(a + " argument" + (a > 1 ? "s" : "") + " required, but only " + e.length + " present");
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function Be(a) {
|
|
1491
1491
|
ge(1, arguments);
|
|
1492
1492
|
var e = Object.prototype.toString.call(a);
|
|
1493
1493
|
return a instanceof Date || Yt(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
1494
1494
|
}
|
|
1495
1495
|
function Md(a, e) {
|
|
1496
1496
|
ge(2, arguments);
|
|
1497
|
-
var t =
|
|
1497
|
+
var t = Be(a).getTime(), s = Ke(e);
|
|
1498
1498
|
return new Date(t + s);
|
|
1499
1499
|
}
|
|
1500
1500
|
var kd = {};
|
|
@@ -1512,7 +1512,7 @@ function Td(a) {
|
|
|
1512
1512
|
function ma(a) {
|
|
1513
1513
|
if (ge(1, arguments), !Td(a) && typeof a != "number")
|
|
1514
1514
|
return !1;
|
|
1515
|
-
var e =
|
|
1515
|
+
var e = Be(a);
|
|
1516
1516
|
return !isNaN(Number(e));
|
|
1517
1517
|
}
|
|
1518
1518
|
function Sd(a, e) {
|
|
@@ -1523,19 +1523,19 @@ function Sd(a, e) {
|
|
|
1523
1523
|
var Ed = 864e5;
|
|
1524
1524
|
function Id(a) {
|
|
1525
1525
|
ge(1, arguments);
|
|
1526
|
-
var e =
|
|
1526
|
+
var e = Be(a), t = e.getTime();
|
|
1527
1527
|
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
|
|
1528
1528
|
var s = e.getTime(), n = t - s;
|
|
1529
1529
|
return Math.floor(n / Ed) + 1;
|
|
1530
1530
|
}
|
|
1531
1531
|
function Kt(a) {
|
|
1532
1532
|
ge(1, arguments);
|
|
1533
|
-
var e = 1, t =
|
|
1533
|
+
var e = 1, t = Be(a), s = t.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
|
|
1534
1534
|
return t.setUTCDate(t.getUTCDate() - n), t.setUTCHours(0, 0, 0, 0), t;
|
|
1535
1535
|
}
|
|
1536
1536
|
function Ca(a) {
|
|
1537
1537
|
ge(1, arguments);
|
|
1538
|
-
var e =
|
|
1538
|
+
var e = Be(a), t = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
|
|
1539
1539
|
s.setUTCFullYear(t + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
|
|
1540
1540
|
var n = Kt(s), o = /* @__PURE__ */ new Date(0);
|
|
1541
1541
|
o.setUTCFullYear(t, 0, 4), o.setUTCHours(0, 0, 0, 0);
|
|
@@ -1552,7 +1552,7 @@ function Od(a) {
|
|
|
1552
1552
|
var Ld = 6048e5;
|
|
1553
1553
|
function Vd(a) {
|
|
1554
1554
|
ge(1, arguments);
|
|
1555
|
-
var e =
|
|
1555
|
+
var e = Be(a), t = Kt(e).getTime() - Od(e).getTime();
|
|
1556
1556
|
return Math.round(t / Ld) + 1;
|
|
1557
1557
|
}
|
|
1558
1558
|
function Gt(a, e) {
|
|
@@ -1561,13 +1561,13 @@ function Gt(a, e) {
|
|
|
1561
1561
|
var u = n1(), v = Ke((t = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
|
|
1562
1562
|
if (!(v >= 0 && v <= 6))
|
|
1563
1563
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1564
|
-
var p =
|
|
1564
|
+
var p = Be(a), C = p.getUTCDay(), w = (C < v ? 7 : 0) + C - v;
|
|
1565
1565
|
return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
|
|
1566
1566
|
}
|
|
1567
1567
|
function _a(a, e) {
|
|
1568
1568
|
var t, s, n, o, i, l, r, d;
|
|
1569
1569
|
ge(1, arguments);
|
|
1570
|
-
var u =
|
|
1570
|
+
var u = Be(a), v = u.getUTCFullYear(), p = n1(), C = Ke((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
1571
1571
|
if (!(C >= 1 && C <= 7))
|
|
1572
1572
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1573
1573
|
var w = /* @__PURE__ */ new Date(0);
|
|
@@ -1588,7 +1588,7 @@ function Hd(a, e) {
|
|
|
1588
1588
|
var Dd = 6048e5;
|
|
1589
1589
|
function Pd(a, e) {
|
|
1590
1590
|
ge(1, arguments);
|
|
1591
|
-
var t =
|
|
1591
|
+
var t = Be(a), s = Gt(t, e).getTime() - Hd(t, e).getTime();
|
|
1592
1592
|
return Math.round(s / Dd) + 1;
|
|
1593
1593
|
}
|
|
1594
1594
|
function le(a, e) {
|
|
@@ -2419,7 +2419,7 @@ var tc = {
|
|
|
2419
2419
|
return tc[e];
|
|
2420
2420
|
};
|
|
2421
2421
|
const nc = ac;
|
|
2422
|
-
function
|
|
2422
|
+
function $t(a) {
|
|
2423
2423
|
return function(e, t) {
|
|
2424
2424
|
var s = t != null && t.context ? String(t.context) : "standalone", n;
|
|
2425
2425
|
if (s === "formatting" && a.formattingValues) {
|
|
@@ -2526,26 +2526,26 @@ var sc = {
|
|
|
2526
2526
|
return s + "th";
|
|
2527
2527
|
}, cc = {
|
|
2528
2528
|
ordinalNumber: dc,
|
|
2529
|
-
era:
|
|
2529
|
+
era: $t({
|
|
2530
2530
|
values: sc,
|
|
2531
2531
|
defaultWidth: "wide"
|
|
2532
2532
|
}),
|
|
2533
|
-
quarter:
|
|
2533
|
+
quarter: $t({
|
|
2534
2534
|
values: ic,
|
|
2535
2535
|
defaultWidth: "wide",
|
|
2536
2536
|
argumentCallback: function(e) {
|
|
2537
2537
|
return e - 1;
|
|
2538
2538
|
}
|
|
2539
2539
|
}),
|
|
2540
|
-
month:
|
|
2540
|
+
month: $t({
|
|
2541
2541
|
values: oc,
|
|
2542
2542
|
defaultWidth: "wide"
|
|
2543
2543
|
}),
|
|
2544
|
-
day:
|
|
2544
|
+
day: $t({
|
|
2545
2545
|
values: lc,
|
|
2546
2546
|
defaultWidth: "wide"
|
|
2547
2547
|
}),
|
|
2548
|
-
dayPeriod:
|
|
2548
|
+
dayPeriod: $t({
|
|
2549
2549
|
values: rc,
|
|
2550
2550
|
defaultWidth: "wide",
|
|
2551
2551
|
formattingValues: uc,
|
|
@@ -2553,7 +2553,7 @@ var sc = {
|
|
|
2553
2553
|
})
|
|
2554
2554
|
};
|
|
2555
2555
|
const fc = cc;
|
|
2556
|
-
function
|
|
2556
|
+
function Mt(a) {
|
|
2557
2557
|
return function(e) {
|
|
2558
2558
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = t.width, n = s && a.matchPatterns[s] || a.matchPatterns[a.defaultMatchWidth], o = e.match(n);
|
|
2559
2559
|
if (!o)
|
|
@@ -2647,13 +2647,13 @@ var mc = /^(\d+)(th|st|nd|rd)?/i, Cc = /\d+/i, _c = {
|
|
|
2647
2647
|
return parseInt(e, 10);
|
|
2648
2648
|
}
|
|
2649
2649
|
}),
|
|
2650
|
-
era:
|
|
2650
|
+
era: Mt({
|
|
2651
2651
|
matchPatterns: _c,
|
|
2652
2652
|
defaultMatchWidth: "wide",
|
|
2653
2653
|
parsePatterns: gc,
|
|
2654
2654
|
defaultParseWidth: "any"
|
|
2655
2655
|
}),
|
|
2656
|
-
quarter:
|
|
2656
|
+
quarter: Mt({
|
|
2657
2657
|
matchPatterns: bc,
|
|
2658
2658
|
defaultMatchWidth: "wide",
|
|
2659
2659
|
parsePatterns: yc,
|
|
@@ -2662,19 +2662,19 @@ var mc = /^(\d+)(th|st|nd|rd)?/i, Cc = /\d+/i, _c = {
|
|
|
2662
2662
|
return e + 1;
|
|
2663
2663
|
}
|
|
2664
2664
|
}),
|
|
2665
|
-
month:
|
|
2665
|
+
month: Mt({
|
|
2666
2666
|
matchPatterns: wc,
|
|
2667
2667
|
defaultMatchWidth: "wide",
|
|
2668
2668
|
parsePatterns: $c,
|
|
2669
2669
|
defaultParseWidth: "any"
|
|
2670
2670
|
}),
|
|
2671
|
-
day:
|
|
2671
|
+
day: Mt({
|
|
2672
2672
|
matchPatterns: Mc,
|
|
2673
2673
|
defaultMatchWidth: "wide",
|
|
2674
2674
|
parsePatterns: kc,
|
|
2675
2675
|
defaultParseWidth: "any"
|
|
2676
2676
|
}),
|
|
2677
|
-
dayPeriod:
|
|
2677
|
+
dayPeriod: Mt({
|
|
2678
2678
|
matchPatterns: Ac,
|
|
2679
2679
|
defaultMatchWidth: "any",
|
|
2680
2680
|
parsePatterns: Tc,
|
|
@@ -2709,7 +2709,7 @@ function Bc(a, e, t) {
|
|
|
2709
2709
|
throw new RangeError("locale must contain localize property");
|
|
2710
2710
|
if (!K.formatLong)
|
|
2711
2711
|
throw new RangeError("locale must contain formatLong property");
|
|
2712
|
-
var J =
|
|
2712
|
+
var J = Be(a);
|
|
2713
2713
|
if (!ma(J))
|
|
2714
2714
|
throw new RangeError("Invalid time value");
|
|
2715
2715
|
var de = Ad(J), h = Sd(J, de), O = {
|
|
@@ -2804,13 +2804,13 @@ function zc(a, e) {
|
|
|
2804
2804
|
var t = a.match(Uc);
|
|
2805
2805
|
if (!t)
|
|
2806
2806
|
return /* @__PURE__ */ new Date(NaN);
|
|
2807
|
-
var s = !!t[4], n =
|
|
2807
|
+
var s = !!t[4], n = kt(t[1]), o = kt(t[2]) - 1, i = kt(t[3]), l = kt(t[4]), r = kt(t[5]) - 1;
|
|
2808
2808
|
if (s)
|
|
2809
2809
|
return Qc(e, l, r) ? Kc(e, l, r) : /* @__PURE__ */ new Date(NaN);
|
|
2810
2810
|
var d = /* @__PURE__ */ new Date(0);
|
|
2811
2811
|
return !xc(e, o, i) || !Xc(e, n) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, o, Math.max(n, i)), d);
|
|
2812
2812
|
}
|
|
2813
|
-
function
|
|
2813
|
+
function kt(a) {
|
|
2814
2814
|
return a ? parseInt(a) : 1;
|
|
2815
2815
|
}
|
|
2816
2816
|
function Wc(a) {
|
|
@@ -2857,7 +2857,7 @@ function Jc(a, e, t) {
|
|
|
2857
2857
|
function e0(a, e) {
|
|
2858
2858
|
return e >= 0 && e <= 59;
|
|
2859
2859
|
}
|
|
2860
|
-
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, ya = {},
|
|
2860
|
+
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, ya = {}, At = {}, Dt = {}, _t = {}, s1 = {};
|
|
2861
2861
|
Object.defineProperty(s1, "__esModule", { value: !0 });
|
|
2862
2862
|
s1.lexoHelper = void 0;
|
|
2863
2863
|
s1.lexoHelper = {
|
|
@@ -2895,8 +2895,8 @@ class a0 {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
}
|
|
2897
2897
|
Pt.default = a0;
|
|
2898
|
-
Object.defineProperty(
|
|
2899
|
-
|
|
2898
|
+
Object.defineProperty(_t, "__esModule", { value: !0 });
|
|
2899
|
+
_t.LexoInteger = void 0;
|
|
2900
2900
|
const qt = s1, n0 = Pt;
|
|
2901
2901
|
class X {
|
|
2902
2902
|
constructor(e, t, s) {
|
|
@@ -3091,7 +3091,7 @@ class X {
|
|
|
3091
3091
|
throw new Error("Expected numbers of same numeral sys");
|
|
3092
3092
|
}
|
|
3093
3093
|
}
|
|
3094
|
-
|
|
3094
|
+
_t.LexoInteger = X;
|
|
3095
3095
|
X.ZERO_MAG = [0];
|
|
3096
3096
|
X.ONE_MAG = [1];
|
|
3097
3097
|
X.NEGATIVE_SIGN = -1;
|
|
@@ -3099,23 +3099,23 @@ X.ZERO_SIGN = 0;
|
|
|
3099
3099
|
X.POSITIVE_SIGN = 1;
|
|
3100
3100
|
Object.defineProperty(Dt, "__esModule", { value: !0 });
|
|
3101
3101
|
Dt.LexoDecimal = void 0;
|
|
3102
|
-
const
|
|
3102
|
+
const Tt = _t, s0 = Pt;
|
|
3103
3103
|
class ke {
|
|
3104
3104
|
constructor(e, t) {
|
|
3105
3105
|
this.mag = e, this.sig = t;
|
|
3106
3106
|
}
|
|
3107
3107
|
static half(e) {
|
|
3108
3108
|
const t = e.getBase() / 2 | 0;
|
|
3109
|
-
return ke.make(
|
|
3109
|
+
return ke.make(Tt.LexoInteger.make(e, 1, [t]), 1);
|
|
3110
3110
|
}
|
|
3111
3111
|
static parse(e, t) {
|
|
3112
3112
|
const s = e.indexOf(t.getRadixPointChar());
|
|
3113
3113
|
if (e.lastIndexOf(t.getRadixPointChar()) !== s)
|
|
3114
3114
|
throw new Error("More than one " + t.getRadixPointChar());
|
|
3115
3115
|
if (s < 0)
|
|
3116
|
-
return ke.make(
|
|
3116
|
+
return ke.make(Tt.LexoInteger.parse(e, t), 0);
|
|
3117
3117
|
const n = e.substring(0, s) + e.substring(s + 1);
|
|
3118
|
-
return ke.make(
|
|
3118
|
+
return ke.make(Tt.LexoInteger.parse(n, t), e.length - 1 - s);
|
|
3119
3119
|
}
|
|
3120
3120
|
static from(e) {
|
|
3121
3121
|
return ke.make(e, 0);
|
|
@@ -3158,7 +3158,7 @@ class ke {
|
|
|
3158
3158
|
if (this.isExact())
|
|
3159
3159
|
return this.mag;
|
|
3160
3160
|
const e = this.floor();
|
|
3161
|
-
return e.add(
|
|
3161
|
+
return e.add(Tt.LexoInteger.one(e.getSystem()));
|
|
3162
3162
|
}
|
|
3163
3163
|
isExact() {
|
|
3164
3164
|
if (this.sig === 0)
|
|
@@ -3177,7 +3177,7 @@ class ke {
|
|
|
3177
3177
|
e < 0 && (e = 0);
|
|
3178
3178
|
const s = this.sig - e;
|
|
3179
3179
|
let n = this.mag.shiftRight(s);
|
|
3180
|
-
return t && (n = n.add(
|
|
3180
|
+
return t && (n = n.add(Tt.LexoInteger.one(n.getSystem()))), ke.make(n, e);
|
|
3181
3181
|
}
|
|
3182
3182
|
compareTo(e) {
|
|
3183
3183
|
if (this === e)
|
|
@@ -3209,7 +3209,7 @@ function wa() {
|
|
|
3209
3209
|
if (ta)
|
|
3210
3210
|
return zt;
|
|
3211
3211
|
ta = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
|
|
3212
|
-
const a =
|
|
3212
|
+
const a = _t, e = Ma();
|
|
3213
3213
|
class t {
|
|
3214
3214
|
constructor(n) {
|
|
3215
3215
|
this.value = a.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3376,8 +3376,8 @@ l1.LexoNumeralSystem64 = l0;
|
|
|
3376
3376
|
var aa;
|
|
3377
3377
|
function Ma() {
|
|
3378
3378
|
if (aa)
|
|
3379
|
-
return
|
|
3380
|
-
aa = 1, Object.defineProperty(
|
|
3379
|
+
return At;
|
|
3380
|
+
aa = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.LexoRank = void 0;
|
|
3381
3381
|
const a = Dt, e = wa(), t = Pt, s = I1;
|
|
3382
3382
|
class n {
|
|
3383
3383
|
constructor(i, l) {
|
|
@@ -3549,7 +3549,7 @@ function Ma() {
|
|
|
3549
3549
|
return this === i ? 0 : i ? this.value.localeCompare(i.value) : 1;
|
|
3550
3550
|
}
|
|
3551
3551
|
}
|
|
3552
|
-
return
|
|
3552
|
+
return At.LexoRank = n, At;
|
|
3553
3553
|
}
|
|
3554
3554
|
(function(a) {
|
|
3555
3555
|
var e = Se && Se.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -3564,7 +3564,7 @@ function Ma() {
|
|
|
3564
3564
|
for (var o in s)
|
|
3565
3565
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3566
3566
|
};
|
|
3567
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(Ma(), a), t(wa(), a), t(Dt, a), t(
|
|
3567
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(Ma(), a), t(wa(), a), t(Dt, a), t(_t, a);
|
|
3568
3568
|
})(ya);
|
|
3569
3569
|
(function(a) {
|
|
3570
3570
|
var e = Se && Se.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
@@ -3642,7 +3642,7 @@ function f0(a, e) {
|
|
|
3642
3642
|
const v0 = ["title"], p0 = {
|
|
3643
3643
|
key: 0,
|
|
3644
3644
|
className: "ao-avatar__initials"
|
|
3645
|
-
}, h0 = ["src"],
|
|
3645
|
+
}, h0 = ["src"], gt = /* @__PURE__ */ x({
|
|
3646
3646
|
__name: "AoAvatar",
|
|
3647
3647
|
props: {
|
|
3648
3648
|
userName: {},
|
|
@@ -3766,7 +3766,7 @@ const m0 = { class: "ao-card-template__subitems" }, C0 = { class: "ao-card-templ
|
|
|
3766
3766
|
f("span", V0, q(s.$t("template.updatedBy.label")), 1)
|
|
3767
3767
|
]),
|
|
3768
3768
|
f("div", H0, [
|
|
3769
|
-
T(
|
|
3769
|
+
T(gt, { "user-name": s.updatedBy }, null, 8, ["user-name"])
|
|
3770
3770
|
])
|
|
3771
3771
|
])) : k("", !0)
|
|
3772
3772
|
])
|
|
@@ -4147,7 +4147,7 @@ const Lt = Math.min, Ae = Math.max, xt = Math.round, Wt = Math.floor, Ge = (a) =
|
|
|
4147
4147
|
function V1(a, e) {
|
|
4148
4148
|
return typeof a == "function" ? a(e) : a;
|
|
4149
4149
|
}
|
|
4150
|
-
function
|
|
4150
|
+
function mt(a) {
|
|
4151
4151
|
return a.split("-")[0];
|
|
4152
4152
|
}
|
|
4153
4153
|
function u1(a) {
|
|
@@ -4160,7 +4160,7 @@ function Ta(a) {
|
|
|
4160
4160
|
return a === "y" ? "height" : "width";
|
|
4161
4161
|
}
|
|
4162
4162
|
function H1(a) {
|
|
4163
|
-
return ["top", "bottom"].includes(
|
|
4163
|
+
return ["top", "bottom"].includes(mt(a)) ? "y" : "x";
|
|
4164
4164
|
}
|
|
4165
4165
|
function Sa(a) {
|
|
4166
4166
|
return o3(H1(a));
|
|
@@ -4193,7 +4193,7 @@ function u3(a, e, t) {
|
|
|
4193
4193
|
}
|
|
4194
4194
|
function d3(a, e, t, s) {
|
|
4195
4195
|
const n = u1(a);
|
|
4196
|
-
let o = u3(
|
|
4196
|
+
let o = u3(mt(a), t === "start", s);
|
|
4197
4197
|
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map(T1)))), o;
|
|
4198
4198
|
}
|
|
4199
4199
|
function Xt(a) {
|
|
@@ -4230,7 +4230,7 @@ function na(a, e, t) {
|
|
|
4230
4230
|
reference: s,
|
|
4231
4231
|
floating: n
|
|
4232
4232
|
} = a;
|
|
4233
|
-
const o = H1(e), i = Sa(e), l = Ta(i), r =
|
|
4233
|
+
const o = H1(e), i = Sa(e), l = Ta(i), r = mt(e), d = o === "y", u = s.x + s.width / 2 - n.width / 2, v = s.y + s.height / 2 - n.height / 2, p = s[l] / 2 - n[l] / 2;
|
|
4234
4234
|
let C;
|
|
4235
4235
|
switch (r) {
|
|
4236
4236
|
case "top":
|
|
@@ -4404,7 +4404,7 @@ const p3 = function(a) {
|
|
|
4404
4404
|
} = V1(a, e);
|
|
4405
4405
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4406
4406
|
return {};
|
|
4407
|
-
const g =
|
|
4407
|
+
const g = mt(n), b = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), U = p || (b || !$ ? [Xt(l)] : r3(l));
|
|
4408
4408
|
!p && w !== "none" && U.push(...d3(l, $, w, L));
|
|
4409
4409
|
const W = [l, ...U], D = await Ea(e, A), K = [];
|
|
4410
4410
|
let te = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
@@ -4465,7 +4465,7 @@ const p3 = function(a) {
|
|
|
4465
4465
|
apply: i = () => {
|
|
4466
4466
|
},
|
|
4467
4467
|
...l
|
|
4468
|
-
} = V1(a, e), r = await Ea(e, l), d =
|
|
4468
|
+
} = V1(a, e), r = await Ea(e, l), d = mt(t), u = u1(t), v = H1(t) === "y", {
|
|
4469
4469
|
width: p,
|
|
4470
4470
|
height: C
|
|
4471
4471
|
} = s.floating;
|
|
@@ -4515,7 +4515,7 @@ function Ia(a) {
|
|
|
4515
4515
|
function je(a) {
|
|
4516
4516
|
return a instanceof Element || a instanceof we(a).Element;
|
|
4517
4517
|
}
|
|
4518
|
-
function
|
|
4518
|
+
function Pe(a) {
|
|
4519
4519
|
return a instanceof HTMLElement || a instanceof we(a).HTMLElement;
|
|
4520
4520
|
}
|
|
4521
4521
|
function sa(a) {
|
|
@@ -4538,11 +4538,11 @@ function D1(a) {
|
|
|
4538
4538
|
return t.transform !== "none" || t.perspective !== "none" || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (t.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (t.contain || "").includes(s));
|
|
4539
4539
|
}
|
|
4540
4540
|
function C3(a) {
|
|
4541
|
-
let e =
|
|
4542
|
-
for (;
|
|
4541
|
+
let e = Ct(a);
|
|
4542
|
+
for (; Pe(e) && !d1(e); ) {
|
|
4543
4543
|
if (D1(e))
|
|
4544
4544
|
return e;
|
|
4545
|
-
e =
|
|
4545
|
+
e = Ct(e);
|
|
4546
4546
|
}
|
|
4547
4547
|
return null;
|
|
4548
4548
|
}
|
|
@@ -4564,7 +4564,7 @@ function c1(a) {
|
|
|
4564
4564
|
scrollTop: a.pageYOffset
|
|
4565
4565
|
};
|
|
4566
4566
|
}
|
|
4567
|
-
function
|
|
4567
|
+
function Ct(a) {
|
|
4568
4568
|
if (xe(a) === "html")
|
|
4569
4569
|
return a;
|
|
4570
4570
|
const e = (
|
|
@@ -4577,8 +4577,8 @@ function mt(a) {
|
|
|
4577
4577
|
return sa(e) ? e.host : e;
|
|
4578
4578
|
}
|
|
4579
4579
|
function Oa(a) {
|
|
4580
|
-
const e =
|
|
4581
|
-
return d1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body :
|
|
4580
|
+
const e = Ct(a);
|
|
4581
|
+
return d1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && Nt(e) ? e : Oa(e);
|
|
4582
4582
|
}
|
|
4583
4583
|
function Vt(a, e, t) {
|
|
4584
4584
|
var s;
|
|
@@ -4589,7 +4589,7 @@ function Vt(a, e, t) {
|
|
|
4589
4589
|
function La(a) {
|
|
4590
4590
|
const e = Ee(a);
|
|
4591
4591
|
let t = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4592
|
-
const n =
|
|
4592
|
+
const n = Pe(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = xt(t) !== o || xt(s) !== i;
|
|
4593
4593
|
return l && (t = o, s = i), {
|
|
4594
4594
|
width: t,
|
|
4595
4595
|
height: s,
|
|
@@ -4599,9 +4599,9 @@ function La(a) {
|
|
|
4599
4599
|
function B1(a) {
|
|
4600
4600
|
return je(a) ? a : a.contextElement;
|
|
4601
4601
|
}
|
|
4602
|
-
function
|
|
4602
|
+
function pt(a) {
|
|
4603
4603
|
const e = B1(a);
|
|
4604
|
-
if (!
|
|
4604
|
+
if (!Pe(e))
|
|
4605
4605
|
return Ge(1);
|
|
4606
4606
|
const t = e.getBoundingClientRect(), {
|
|
4607
4607
|
width: s,
|
|
@@ -4629,14 +4629,14 @@ function tt(a, e, t, s) {
|
|
|
4629
4629
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
4630
4630
|
const n = a.getBoundingClientRect(), o = B1(a);
|
|
4631
4631
|
let i = Ge(1);
|
|
4632
|
-
e && (s ? je(s) && (i =
|
|
4632
|
+
e && (s ? je(s) && (i = pt(s)) : i = pt(a));
|
|
4633
4633
|
const l = g3(o, t, s) ? Va(o) : Ge(0);
|
|
4634
4634
|
let r = (n.left + l.x) / i.x, d = (n.top + l.y) / i.y, u = n.width / i.x, v = n.height / i.y;
|
|
4635
4635
|
if (o) {
|
|
4636
4636
|
const p = we(o), C = s && je(s) ? we(s) : s;
|
|
4637
4637
|
let w = p.frameElement;
|
|
4638
4638
|
for (; w && s && C !== p; ) {
|
|
4639
|
-
const $ =
|
|
4639
|
+
const $ = pt(w), A = w.getBoundingClientRect(), g = Ee(w), b = A.left + (w.clientLeft + parseFloat(g.paddingLeft)) * $.x, L = A.top + (w.clientTop + parseFloat(g.paddingTop)) * $.y;
|
|
4640
4640
|
r *= $.x, d *= $.y, u *= $.x, v *= $.y, r += b, d += L, w = we(w).frameElement;
|
|
4641
4641
|
}
|
|
4642
4642
|
}
|
|
@@ -4653,7 +4653,7 @@ function b3(a) {
|
|
|
4653
4653
|
offsetParent: t,
|
|
4654
4654
|
strategy: s
|
|
4655
4655
|
} = a;
|
|
4656
|
-
const n =
|
|
4656
|
+
const n = Pe(t), o = Ze(t);
|
|
4657
4657
|
if (t === o)
|
|
4658
4658
|
return e;
|
|
4659
4659
|
let i = {
|
|
@@ -4661,9 +4661,9 @@ function b3(a) {
|
|
|
4661
4661
|
scrollTop: 0
|
|
4662
4662
|
}, l = Ge(1);
|
|
4663
4663
|
const r = Ge(0);
|
|
4664
|
-
if ((n || !n && s !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = c1(t)),
|
|
4664
|
+
if ((n || !n && s !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = c1(t)), Pe(t))) {
|
|
4665
4665
|
const d = tt(t);
|
|
4666
|
-
l =
|
|
4666
|
+
l = pt(t), r.x = d.x + t.clientLeft, r.y = d.y + t.clientTop;
|
|
4667
4667
|
}
|
|
4668
4668
|
return {
|
|
4669
4669
|
width: e.width * l.x,
|
|
@@ -4705,7 +4705,7 @@ function $3(a, e) {
|
|
|
4705
4705
|
};
|
|
4706
4706
|
}
|
|
4707
4707
|
function M3(a, e) {
|
|
4708
|
-
const t = tt(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o =
|
|
4708
|
+
const t = tt(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o = Pe(a) ? pt(a) : Ge(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = n * o.x, d = s * o.y;
|
|
4709
4709
|
return {
|
|
4710
4710
|
width: i,
|
|
4711
4711
|
height: l,
|
|
@@ -4732,7 +4732,7 @@ function ia(a, e, t) {
|
|
|
4732
4732
|
return Qt(s);
|
|
4733
4733
|
}
|
|
4734
4734
|
function Da(a, e) {
|
|
4735
|
-
const t =
|
|
4735
|
+
const t = Ct(a);
|
|
4736
4736
|
return t === e || !je(t) || d1(t) ? !1 : Ee(t).position === "fixed" || Da(t, e);
|
|
4737
4737
|
}
|
|
4738
4738
|
function k3(a, e) {
|
|
@@ -4741,10 +4741,10 @@ function k3(a, e) {
|
|
|
4741
4741
|
return t;
|
|
4742
4742
|
let s = Vt(a, [], !1).filter((l) => je(l) && xe(l) !== "body"), n = null;
|
|
4743
4743
|
const o = Ee(a).position === "fixed";
|
|
4744
|
-
let i = o ?
|
|
4744
|
+
let i = o ? Ct(a) : a;
|
|
4745
4745
|
for (; je(i) && !d1(i); ) {
|
|
4746
4746
|
const l = Ee(i), r = D1(i);
|
|
4747
|
-
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Nt(i) && !r && Da(a, i)) ? s = s.filter((u) => u !== i) : n = l, i =
|
|
4747
|
+
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Nt(i) && !r && Da(a, i)) ? s = s.filter((u) => u !== i) : n = l, i = Ct(i);
|
|
4748
4748
|
}
|
|
4749
4749
|
return e.set(a, s), s;
|
|
4750
4750
|
}
|
|
@@ -4770,7 +4770,7 @@ function T3(a) {
|
|
|
4770
4770
|
return La(a);
|
|
4771
4771
|
}
|
|
4772
4772
|
function S3(a, e, t) {
|
|
4773
|
-
const s =
|
|
4773
|
+
const s = Pe(e), n = Ze(e), o = t === "fixed", i = tt(a, !0, o, e);
|
|
4774
4774
|
let l = {
|
|
4775
4775
|
scrollLeft: 0,
|
|
4776
4776
|
scrollTop: 0
|
|
@@ -4790,11 +4790,11 @@ function S3(a, e, t) {
|
|
|
4790
4790
|
};
|
|
4791
4791
|
}
|
|
4792
4792
|
function oa(a, e) {
|
|
4793
|
-
return !
|
|
4793
|
+
return !Pe(a) || Ee(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
|
|
4794
4794
|
}
|
|
4795
4795
|
function Pa(a, e) {
|
|
4796
4796
|
const t = we(a);
|
|
4797
|
-
if (!
|
|
4797
|
+
if (!Pe(a))
|
|
4798
4798
|
return t;
|
|
4799
4799
|
let s = oa(a, e);
|
|
4800
4800
|
for (; s && m3(s) && Ee(s).position === "static"; )
|
|
@@ -4828,7 +4828,7 @@ const O3 = {
|
|
|
4828
4828
|
getElementRects: E3,
|
|
4829
4829
|
getClientRects: y3,
|
|
4830
4830
|
getDimensions: T3,
|
|
4831
|
-
getScale:
|
|
4831
|
+
getScale: pt,
|
|
4832
4832
|
isElement: je,
|
|
4833
4833
|
isRTL: I3
|
|
4834
4834
|
};
|
|
@@ -5105,7 +5105,7 @@ function Z3(a, e, t) {
|
|
|
5105
5105
|
disabledProp: se,
|
|
5106
5106
|
searchStart: M,
|
|
5107
5107
|
searchFilter: Y
|
|
5108
|
-
} = $e(a), ie = nt().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize,
|
|
5108
|
+
} = $e(a), ie = nt().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, bt = Q([]), Fe = Q([]), Le = Q(!1), f1 = Q(null), v1 = Q(re.value && i.value === -1 ? 10 : i.value), j1 = y(() => r.value || d.value || !1), Fa = y(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = y(() => {
|
|
5109
5109
|
if (z.value) {
|
|
5110
5110
|
let _ = Rt.value || /* istanbul ignore next */
|
|
5111
5111
|
[], H = [];
|
|
@@ -5117,12 +5117,12 @@ function Z3(a, e, t) {
|
|
|
5117
5117
|
} else {
|
|
5118
5118
|
let _ = g1(Fe.value || /* istanbul ignore next */
|
|
5119
5119
|
[]);
|
|
5120
|
-
return
|
|
5120
|
+
return bt.value.length && (_ = _.concat(bt.value)), _;
|
|
5121
5121
|
}
|
|
5122
5122
|
}), Z1 = y(() => {
|
|
5123
5123
|
let _ = qe.value;
|
|
5124
5124
|
return ae.value && (_ = _.reverse()), lt.value.length && (_ = lt.value.concat(_)), _1(_);
|
|
5125
|
-
}),
|
|
5125
|
+
}), yt = y(() => {
|
|
5126
5126
|
let _ = Z1.value;
|
|
5127
5127
|
return v1.value > 0 && (_ = _.slice(0, v1.value)), _;
|
|
5128
5128
|
}), Rt = y(() => {
|
|
@@ -5130,9 +5130,9 @@ function Z3(a, e, t) {
|
|
|
5130
5130
|
return [];
|
|
5131
5131
|
let _ = [], H = Fe.value || /* istanbul ignore next */
|
|
5132
5132
|
[];
|
|
5133
|
-
return
|
|
5133
|
+
return bt.value.length && _.push({
|
|
5134
5134
|
[te.value]: " ",
|
|
5135
|
-
[oe.value]: [...
|
|
5135
|
+
[oe.value]: [...bt.value],
|
|
5136
5136
|
__CREATE__: !0
|
|
5137
5137
|
}), _.concat(H);
|
|
5138
5138
|
}), qa = y(() => {
|
|
@@ -5153,8 +5153,8 @@ function Z3(a, e, t) {
|
|
|
5153
5153
|
...H,
|
|
5154
5154
|
index: ne,
|
|
5155
5155
|
group: !0,
|
|
5156
|
-
[oe.value]: _1(he, !1).map((
|
|
5157
|
-
__VISIBLE__: _1(he).map((
|
|
5156
|
+
[oe.value]: _1(he, !1).map((wt) => Object.assign({}, wt, H[se.value] ? { [se.value]: !0 } : {})),
|
|
5157
|
+
__VISIBLE__: _1(he).map((wt) => Object.assign({}, wt, H[se.value] ? { [se.value]: !0 } : {}))
|
|
5158
5158
|
};
|
|
5159
5159
|
}));
|
|
5160
5160
|
}), p1 = y(() => {
|
|
@@ -5165,7 +5165,7 @@ function Z3(a, e, t) {
|
|
|
5165
5165
|
case "tags":
|
|
5166
5166
|
return !He(B.value) && B.value.length > 0;
|
|
5167
5167
|
}
|
|
5168
|
-
}), za = y(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = y(() => !qe.value.length && !Le.value && !lt.value.length), Ya = y(() => qe.value.length > 0 &&
|
|
5168
|
+
}), za = y(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = y(() => !qe.value.length && !Le.value && !lt.value.length), Ya = y(() => qe.value.length > 0 && yt.value.length == 0 && (N.value && z.value || !z.value)), lt = y(() => j1.value === !1 || !N.value ? [] : an(N.value) !== -1 ? [] : [{
|
|
5169
5169
|
[D.value]: N.value,
|
|
5170
5170
|
[Ve.value]: N.value,
|
|
5171
5171
|
[u.value]: N.value,
|
|
@@ -5179,7 +5179,7 @@ function Z3(a, e, t) {
|
|
|
5179
5179
|
return [];
|
|
5180
5180
|
}
|
|
5181
5181
|
}), Ga = y(() => $.value || Le.value), rt = (_) => {
|
|
5182
|
-
switch (typeof _ != "object" && (_ =
|
|
5182
|
+
switch (typeof _ != "object" && (_ = Re(_)), n.value) {
|
|
5183
5183
|
case "single":
|
|
5184
5184
|
Me(_);
|
|
5185
5185
|
break;
|
|
@@ -5190,7 +5190,7 @@ function Z3(a, e, t) {
|
|
|
5190
5190
|
}
|
|
5191
5191
|
e.emit("select", q1(_), _, ie);
|
|
5192
5192
|
}, ut = (_) => {
|
|
5193
|
-
switch (typeof _ != "object" && (_ =
|
|
5193
|
+
switch (typeof _ != "object" && (_ = Re(_)), n.value) {
|
|
5194
5194
|
case "single":
|
|
5195
5195
|
W1();
|
|
5196
5196
|
break;
|
|
@@ -5210,7 +5210,7 @@ function Z3(a, e, t) {
|
|
|
5210
5210
|
z1(_);
|
|
5211
5211
|
}, W1 = () => {
|
|
5212
5212
|
e.emit("clear", ie), Me(Ka.value);
|
|
5213
|
-
},
|
|
5213
|
+
}, Ne = (_) => {
|
|
5214
5214
|
if (_.group !== void 0)
|
|
5215
5215
|
return n.value === "single" ? !1 : tn(_[oe.value]) && _[oe.value].length;
|
|
5216
5216
|
switch (n.value) {
|
|
@@ -5222,7 +5222,7 @@ function Z3(a, e, t) {
|
|
|
5222
5222
|
}
|
|
5223
5223
|
}, h1 = (_) => _[se.value] === !0, m1 = () => J === void 0 || J.value === -1 || !p1.value && J.value > 0 ? !1 : B.value.length >= J.value, Xa = (_) => {
|
|
5224
5224
|
if (!h1(_)) {
|
|
5225
|
-
if (Z && Z.value && !
|
|
5225
|
+
if (Z && Z.value && !Ne(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = Z.value(_, ie), _ instanceof Promise)) {
|
|
5226
5226
|
Le.value = !0, _.then((H) => {
|
|
5227
5227
|
Le.value = !1, Y1(H);
|
|
5228
5228
|
});
|
|
@@ -5233,14 +5233,14 @@ function Z3(a, e, t) {
|
|
|
5233
5233
|
}, Y1 = (_) => {
|
|
5234
5234
|
switch (_.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__), n.value) {
|
|
5235
5235
|
case "single":
|
|
5236
|
-
if (_ &&
|
|
5236
|
+
if (_ && Ne(_)) {
|
|
5237
5237
|
E.value && ut(_), O.value && (it(), ot());
|
|
5238
5238
|
return;
|
|
5239
5239
|
}
|
|
5240
5240
|
_ && C1(_), W.value && pe(), h.value && (it(), ot()), _ && rt(_);
|
|
5241
5241
|
break;
|
|
5242
5242
|
case "multiple":
|
|
5243
|
-
if (_ &&
|
|
5243
|
+
if (_ && Ne(_)) {
|
|
5244
5244
|
ut(_), O.value && (it(), ot());
|
|
5245
5245
|
return;
|
|
5246
5246
|
}
|
|
@@ -5251,7 +5251,7 @@ function Z3(a, e, t) {
|
|
|
5251
5251
|
_ && (C1(_), rt(_)), W.value && pe(), l.value && it(), h.value && ot();
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
|
-
if (_ &&
|
|
5254
|
+
if (_ && Ne(_)) {
|
|
5255
5255
|
ut(_), O.value && (it(), ot());
|
|
5256
5256
|
return;
|
|
5257
5257
|
}
|
|
@@ -5276,21 +5276,21 @@ function Z3(a, e, t) {
|
|
|
5276
5276
|
h.value && ja();
|
|
5277
5277
|
}
|
|
5278
5278
|
}, C1 = (_) => {
|
|
5279
|
-
|
|
5279
|
+
Re(_[D.value]) === void 0 && j1.value && (e.emit("tag", _[D.value], ie), e.emit("option", _[D.value], ie), e.emit("create", _[D.value], ie), Fa.value && sn(_), pe());
|
|
5280
5280
|
}, Ja = () => {
|
|
5281
|
-
n.value !== "single" && rt(
|
|
5282
|
-
}, en = (_) => _.find((H) => !
|
|
5281
|
+
n.value !== "single" && rt(yt.value.filter((_) => !_.disabled && !Ne(_)));
|
|
5282
|
+
}, en = (_) => _.find((H) => !Ne(H) && !H[se.value]) === void 0, tn = (_) => _.find((H) => !Ne(H)) === void 0, Re = (_) => qe.value[qe.value.map((H) => String(H[D.value])).indexOf(String(_))], an = (_, H = !0) => qe.value.map((ne) => parseInt(ne[Ve.value]) == ne[Ve.value] ? parseInt(ne[Ve.value]) : ne[Ve.value]).indexOf(
|
|
5283
5283
|
parseInt(_) == _ ? parseInt(_) : _
|
|
5284
|
-
), nn = (_) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value &&
|
|
5285
|
-
|
|
5284
|
+
), nn = (_) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ne(_), sn = (_) => {
|
|
5285
|
+
bt.value.push(_);
|
|
5286
5286
|
}, on = (_) => I.value ? _.filter(
|
|
5287
5287
|
(H) => N.value ? H.__VISIBLE__.length : H[oe.value].length
|
|
5288
5288
|
) : _.filter((H) => N.value ? H.__VISIBLE__.length : !0), _1 = (_, H = !0) => {
|
|
5289
5289
|
let ne = _;
|
|
5290
5290
|
if (N.value && L.value) {
|
|
5291
5291
|
let he = Y.value;
|
|
5292
|
-
he || (he = (
|
|
5293
|
-
let G1 = $1(Za(
|
|
5292
|
+
he || (he = (wt, Q4) => {
|
|
5293
|
+
let G1 = $1(Za(wt[Ve.value]), de.value);
|
|
5294
5294
|
return M.value ? G1.startsWith($1(N.value, de.value)) : G1.indexOf($1(N.value, de.value)) !== -1;
|
|
5295
5295
|
}), ne = ne.filter(he);
|
|
5296
5296
|
}
|
|
@@ -5314,14 +5314,14 @@ function Z3(a, e, t) {
|
|
|
5314
5314
|
})), b1 = () => {
|
|
5315
5315
|
if (p1.value)
|
|
5316
5316
|
if (n.value === "single") {
|
|
5317
|
-
let _ =
|
|
5317
|
+
let _ = Re(B.value[D.value]);
|
|
5318
5318
|
if (_ !== void 0) {
|
|
5319
5319
|
let H = _[u.value];
|
|
5320
5320
|
B.value[u.value] = H, w.value && (S.value[u.value] = H);
|
|
5321
5321
|
}
|
|
5322
5322
|
} else
|
|
5323
5323
|
B.value.forEach((_, H) => {
|
|
5324
|
-
let ne =
|
|
5324
|
+
let ne = Re(B.value[H][D.value]);
|
|
5325
5325
|
if (ne !== void 0) {
|
|
5326
5326
|
let he = ne[u.value];
|
|
5327
5327
|
B.value[H][u.value] = he, w.value && (S.value[H][u.value] = he);
|
|
@@ -5329,11 +5329,11 @@ function Z3(a, e, t) {
|
|
|
5329
5329
|
});
|
|
5330
5330
|
}, ln = (_) => {
|
|
5331
5331
|
jt(_);
|
|
5332
|
-
}, Zt = (_) => He(_) ? n.value === "single" ? {} : [] : w.value ? _ : n.value === "single" ?
|
|
5332
|
+
}, Zt = (_) => He(_) ? n.value === "single" ? {} : [] : w.value ? _ : n.value === "single" ? Re(_) || (K.value ? {
|
|
5333
5333
|
[u.value]: _,
|
|
5334
5334
|
[D.value]: _,
|
|
5335
5335
|
[Ve.value]: _
|
|
5336
|
-
} : {}) : _.filter((H) => !!
|
|
5336
|
+
} : {}) : _.filter((H) => !!Re(H) || K.value).map((H) => Re(H) || {
|
|
5337
5337
|
[u.value]: H,
|
|
5338
5338
|
[D.value]: H,
|
|
5339
5339
|
[Ve.value]: H
|
|
@@ -5341,7 +5341,7 @@ function Z3(a, e, t) {
|
|
|
5341
5341
|
f1.value = ue(N, (_) => {
|
|
5342
5342
|
_.length < b.value || !_ && b.value !== 0 || (Le.value = !0, U.value && (Fe.value = []), setTimeout(() => {
|
|
5343
5343
|
_ == N.value && s.value(N.value, ie).then((H) => {
|
|
5344
|
-
(_ == N.value || !N.value) && (Fe.value = H, Ra.value =
|
|
5344
|
+
(_ == N.value || !N.value) && (Fe.value = H, Ra.value = yt.value.filter((ne) => ne[se.value] !== !0)[0] || null, Le.value = !1);
|
|
5345
5345
|
}).catch(
|
|
5346
5346
|
/* istanbul ignore next */
|
|
5347
5347
|
(H) => {
|
|
@@ -5373,8 +5373,8 @@ function Z3(a, e, t) {
|
|
|
5373
5373
|
typeof a.options == "function" ? g.value && (!H || _ && _.toString() !== H.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(), b1());
|
|
5374
5374
|
}), ue(u, b1), {
|
|
5375
5375
|
pfo: Z1,
|
|
5376
|
-
fo:
|
|
5377
|
-
filteredOptions:
|
|
5376
|
+
fo: yt,
|
|
5377
|
+
filteredOptions: yt,
|
|
5378
5378
|
hasSelected: p1,
|
|
5379
5379
|
multipleLabelText: za,
|
|
5380
5380
|
eo: qe,
|
|
@@ -5393,10 +5393,10 @@ function Z3(a, e, t) {
|
|
|
5393
5393
|
remove: z1,
|
|
5394
5394
|
selectAll: Ja,
|
|
5395
5395
|
clear: W1,
|
|
5396
|
-
isSelected:
|
|
5396
|
+
isSelected: Ne,
|
|
5397
5397
|
isDisabled: h1,
|
|
5398
5398
|
isMax: m1,
|
|
5399
|
-
getOption:
|
|
5399
|
+
getOption: Re,
|
|
5400
5400
|
handleOptionClick: Xa,
|
|
5401
5401
|
handleGroupClick: Qa,
|
|
5402
5402
|
handleTagRemove: xa,
|
|
@@ -6677,7 +6677,7 @@ const ye = /* @__PURE__ */ x({
|
|
|
6677
6677
|
appendTo: {}
|
|
6678
6678
|
},
|
|
6679
6679
|
setup(a) {
|
|
6680
|
-
const e = a, t =
|
|
6680
|
+
const e = a, t = vt(() => e.appendTo), s = Q();
|
|
6681
6681
|
return e.detached && D3({
|
|
6682
6682
|
multiselect: s,
|
|
6683
6683
|
appendTo: t.value
|
|
@@ -6838,7 +6838,7 @@ const b5 = { class: "ao-tasks" }, y5 = { class: "ao-tasks__list" }, w5 = ["id",
|
|
|
6838
6838
|
onChange: (A) => d(A, C.id)
|
|
6839
6839
|
}, {
|
|
6840
6840
|
tag: j(({ option: A, handleTagRemove: g }) => [
|
|
6841
|
-
T(
|
|
6841
|
+
T(gt, {
|
|
6842
6842
|
"user-name": A.label,
|
|
6843
6843
|
"avatar-url": A.avatar,
|
|
6844
6844
|
"is-closable": !0,
|
|
@@ -7015,7 +7015,7 @@ const H5 = { class: "ao-comment" }, D5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7015
7015
|
}), (A, g) => {
|
|
7016
7016
|
var b;
|
|
7017
7017
|
return c(), m("li", H5, [
|
|
7018
|
-
s.value ? (c(), R(
|
|
7018
|
+
s.value ? (c(), R(gt, {
|
|
7019
7019
|
key: 0,
|
|
7020
7020
|
"avatar-url": (b = A.user) == null ? void 0 : b.avatarUrl,
|
|
7021
7021
|
"user-name": s.value,
|
|
@@ -7096,7 +7096,7 @@ const U5 = {
|
|
|
7096
7096
|
Oe(() => {
|
|
7097
7097
|
n.value && (n.value.scrollTop = n.value.scrollHeight);
|
|
7098
7098
|
});
|
|
7099
|
-
const o =
|
|
7099
|
+
const o = vt(t.newComment), i = y({
|
|
7100
7100
|
get() {
|
|
7101
7101
|
return o.value;
|
|
7102
7102
|
},
|
|
@@ -7490,7 +7490,7 @@ const Y5 = {
|
|
|
7490
7490
|
option: z,
|
|
7491
7491
|
handleTagRemove: ae
|
|
7492
7492
|
}) => [
|
|
7493
|
-
T(
|
|
7493
|
+
T(gt, {
|
|
7494
7494
|
"user-name": z.label,
|
|
7495
7495
|
"avatar-url": z.avatar,
|
|
7496
7496
|
"is-closable": !0,
|
|
@@ -7646,7 +7646,7 @@ const R7 = /* @__PURE__ */ x({
|
|
|
7646
7646
|
},
|
|
7647
7647
|
emits: ["update:rule", "close"],
|
|
7648
7648
|
setup(a, { emit: e }) {
|
|
7649
|
-
const t = a, s =
|
|
7649
|
+
const t = a, s = vt(
|
|
7650
7650
|
t.rule.itemType || me.ACTIVITIES
|
|
7651
7651
|
), n = y({
|
|
7652
7652
|
get() {
|
|
@@ -7680,14 +7680,14 @@ const R7 = /* @__PURE__ */ x({
|
|
|
7680
7680
|
value: L.id,
|
|
7681
7681
|
label: L.name
|
|
7682
7682
|
}));
|
|
7683
|
-
}), r =
|
|
7683
|
+
}), r = vt(t.rule.comparator), d = y({
|
|
7684
7684
|
get() {
|
|
7685
7685
|
return r.value;
|
|
7686
7686
|
},
|
|
7687
7687
|
set(g) {
|
|
7688
7688
|
e("update:rule", { ...t.rule, comparator: g });
|
|
7689
7689
|
}
|
|
7690
|
-
}), u = y(() => Object.values(bd)), v =
|
|
7690
|
+
}), u = y(() => Object.values(bd)), v = vt(t.rule.trigger), p = y({
|
|
7691
7691
|
get() {
|
|
7692
7692
|
return v.value;
|
|
7693
7693
|
},
|
|
@@ -7806,7 +7806,7 @@ const U7 = { class: "ao-template-rules__body" }, j7 = { class: "ao-template-rule
|
|
|
7806
7806
|
}));
|
|
7807
7807
|
}
|
|
7808
7808
|
});
|
|
7809
|
-
function
|
|
7809
|
+
function ht(a, e, t) {
|
|
7810
7810
|
const s = a.length, n = a.at(-1), o = n ? Te.LexoRank.parse(n.rank).genNext() : Te.LexoRank.middle();
|
|
7811
7811
|
return {
|
|
7812
7812
|
name: t(`template.defaultName.${e}`, { idx: s + 1 }),
|
|
@@ -7895,7 +7895,7 @@ const F7 = {
|
|
|
7895
7895
|
}), C = () => {
|
|
7896
7896
|
if (!n.value)
|
|
7897
7897
|
return;
|
|
7898
|
-
const { name: I, rank: V } =
|
|
7898
|
+
const { name: I, rank: V } = ht(
|
|
7899
7899
|
n.value.phases,
|
|
7900
7900
|
"phase",
|
|
7901
7901
|
s
|
|
@@ -7935,7 +7935,7 @@ const F7 = {
|
|
|
7935
7935
|
}, b = (I) => {
|
|
7936
7936
|
if (!i.value)
|
|
7937
7937
|
return;
|
|
7938
|
-
const { name: V, rank: Z } =
|
|
7938
|
+
const { name: V, rank: Z } = ht(
|
|
7939
7939
|
i.value.milestones,
|
|
7940
7940
|
"milestone",
|
|
7941
7941
|
s
|
|
@@ -7971,7 +7971,7 @@ const F7 = {
|
|
|
7971
7971
|
const { milestoneId: V } = I;
|
|
7972
7972
|
if (!l.value)
|
|
7973
7973
|
return;
|
|
7974
|
-
const { name: Z, rank: se } =
|
|
7974
|
+
const { name: Z, rank: se } = ht(
|
|
7975
7975
|
l.value.activities,
|
|
7976
7976
|
"activity",
|
|
7977
7977
|
s
|
|
@@ -8055,7 +8055,7 @@ const F7 = {
|
|
|
8055
8055
|
return n.value ? (c(), m("div", F7, [
|
|
8056
8056
|
T(r1, {
|
|
8057
8057
|
"can-go-back": !0,
|
|
8058
|
-
onGoBack: V[1] || (V[1] = (S) => I.$router.push({ name: F(
|
|
8058
|
+
onGoBack: V[1] || (V[1] = (S) => I.$router.push({ name: F(ft).TEMPLATES_LIST }))
|
|
8059
8059
|
}, {
|
|
8060
8060
|
primary: j(() => [
|
|
8061
8061
|
T(Ce, {
|
|
@@ -8423,7 +8423,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
|
|
|
8423
8423
|
const n = (v) => {
|
|
8424
8424
|
e("updatePhase", { id: t.phase.id, name: v });
|
|
8425
8425
|
}, o = y(() => t.phase.milestones.map((v) => f0(v, t.closedStatus))), i = (v) => {
|
|
8426
|
-
const { name: p, rank: C } =
|
|
8426
|
+
const { name: p, rank: C } = ht(o.value ?? [], "milestone", s);
|
|
8427
8427
|
e("addMilestone", { name: p, rank: C, phaseId: v });
|
|
8428
8428
|
}, l = (v) => {
|
|
8429
8429
|
e("updateMilestone", v);
|
|
@@ -8477,7 +8477,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
|
|
|
8477
8477
|
"closed-status": v.closedStatus,
|
|
8478
8478
|
class: "ao-project-phase__milestone",
|
|
8479
8479
|
onClick: (w) => v.$router.push({
|
|
8480
|
-
name: F(
|
|
8480
|
+
name: F(De).milestone,
|
|
8481
8481
|
params: { phaseId: v.phase.id, milestoneId: C.id }
|
|
8482
8482
|
}),
|
|
8483
8483
|
onUpdateMilestone: l,
|
|
@@ -8697,7 +8697,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
|
|
|
8697
8697
|
const t = a, { t: s } = st(), n = y(
|
|
8698
8698
|
() => t.phases.flatMap((E) => E.milestones)
|
|
8699
8699
|
), o = () => {
|
|
8700
|
-
const { name: E, rank: J } =
|
|
8700
|
+
const { name: E, rank: J } = ht(t.phases, "phase", s);
|
|
8701
8701
|
e("addPhase", { name: E, rank: J, projectId: t.project.id });
|
|
8702
8702
|
}, i = (E) => {
|
|
8703
8703
|
e("updatePhase", E);
|
|
@@ -8748,7 +8748,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
|
|
|
8748
8748
|
"right-label": E.$t("project.switch.feed"),
|
|
8749
8749
|
"left-label": E.$t("project.switch.overview"),
|
|
8750
8750
|
"onUpdate:isLeft": J[0] || (J[0] = (h) => {
|
|
8751
|
-
h || E.$router.push({ name: F(
|
|
8751
|
+
h || E.$router.push({ name: F(De).feed });
|
|
8752
8752
|
})
|
|
8753
8753
|
}, null, 8, ["right-label", "left-label"]),
|
|
8754
8754
|
E.isEditable ? (c(), R(fe, {
|
|
@@ -8782,7 +8782,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
|
|
|
8782
8782
|
"project-name": E.project.name,
|
|
8783
8783
|
users: E.users,
|
|
8784
8784
|
"is-editable": E.isEditable,
|
|
8785
|
-
onClose: J[2] || (J[2] = (h) => E.$router.push({ name: F(
|
|
8785
|
+
onClose: J[2] || (J[2] = (h) => E.$router.push({ name: F(De).project })),
|
|
8786
8786
|
onAddActivity: v,
|
|
8787
8787
|
onUpdateActivity: p,
|
|
8788
8788
|
onArchiveActivity: C
|
|
@@ -8940,7 +8940,7 @@ const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
|
8940
8940
|
key: w.id
|
|
8941
8941
|
}, [
|
|
8942
8942
|
w ? (c(), m("li", K9, [
|
|
8943
|
-
T(
|
|
8943
|
+
T(gt, {
|
|
8944
8944
|
"user-name": l(w),
|
|
8945
8945
|
"avatar-url": w.avatarUrl,
|
|
8946
8946
|
"is-closable": !0,
|
|
@@ -9021,7 +9021,7 @@ const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
|
|
|
9021
9021
|
const r = (p) => {
|
|
9022
9022
|
e("close", p);
|
|
9023
9023
|
}, d = () => {
|
|
9024
|
-
const { name: p, rank: C } =
|
|
9024
|
+
const { name: p, rank: C } = ht(l.value ?? [], "activity", s);
|
|
9025
9025
|
e("addActivity", {
|
|
9026
9026
|
milestoneId: t.milestoneId,
|
|
9027
9027
|
name: p,
|
|
@@ -9083,7 +9083,7 @@ const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
|
|
|
9083
9083
|
"is-editable": p.isEditable,
|
|
9084
9084
|
"is-private": $.private,
|
|
9085
9085
|
onClick: (U) => p.$router.push({
|
|
9086
|
-
name: F(
|
|
9086
|
+
name: F(De).activity,
|
|
9087
9087
|
params: { milestoneId: p.milestoneId, activityId: $.id }
|
|
9088
9088
|
}),
|
|
9089
9089
|
onUpdateActivity: u,
|
|
@@ -9234,7 +9234,7 @@ function f4(a) {
|
|
|
9234
9234
|
function Jt(a) {
|
|
9235
9235
|
return typeof a == "function" ? a() : F(a);
|
|
9236
9236
|
}
|
|
9237
|
-
const v4 = typeof window < "u", p4 = (a) => a != null,
|
|
9237
|
+
const v4 = typeof window < "u", p4 = (a) => a != null, St = () => {
|
|
9238
9238
|
};
|
|
9239
9239
|
function h4(a, e) {
|
|
9240
9240
|
function t(...s) {
|
|
@@ -9245,9 +9245,9 @@ function h4(a, e) {
|
|
|
9245
9245
|
return t;
|
|
9246
9246
|
}
|
|
9247
9247
|
function m4(a, e = {}) {
|
|
9248
|
-
let t, s, n =
|
|
9248
|
+
let t, s, n = St;
|
|
9249
9249
|
const o = (l) => {
|
|
9250
|
-
clearTimeout(l), n(), n =
|
|
9250
|
+
clearTimeout(l), n(), n = St;
|
|
9251
9251
|
};
|
|
9252
9252
|
return (l) => {
|
|
9253
9253
|
const r = Jt(a), d = Jt(e.maxWait);
|
|
@@ -9293,7 +9293,7 @@ function y4(a, e, t = {}) {
|
|
|
9293
9293
|
const w = Jt(a);
|
|
9294
9294
|
return (Array.isArray(w) ? w : [w]).map(M1).filter(p4);
|
|
9295
9295
|
});
|
|
9296
|
-
let u =
|
|
9296
|
+
let u = St;
|
|
9297
9297
|
const v = Q(l), p = r.value ? ue(
|
|
9298
9298
|
() => [d.value, M1(s), v.value],
|
|
9299
9299
|
([w, $]) => {
|
|
@@ -9308,11 +9308,11 @@ function y4(a, e, t = {}) {
|
|
|
9308
9308
|
}
|
|
9309
9309
|
);
|
|
9310
9310
|
w.forEach((g) => g && A.observe(g)), u = () => {
|
|
9311
|
-
A.disconnect(), u =
|
|
9311
|
+
A.disconnect(), u = St;
|
|
9312
9312
|
};
|
|
9313
9313
|
},
|
|
9314
9314
|
{ immediate: l, flush: "post" }
|
|
9315
|
-
) :
|
|
9315
|
+
) : St, C = () => {
|
|
9316
9316
|
u(), p(), v.value = !1;
|
|
9317
9317
|
};
|
|
9318
9318
|
return f4(C), {
|
|
@@ -9566,7 +9566,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9566
9566
|
},
|
|
9567
9567
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9568
9568
|
setup(a, { emit: e }) {
|
|
9569
|
-
const t = a, { t: s } = st(), n =
|
|
9569
|
+
const t = a, { t: s } = st(), n = vt(t, "activities"), { selectActivity: o, selectedActivity: i } = D4(n), l = (M) => {
|
|
9570
9570
|
o(M), e("selectActivity", M);
|
|
9571
9571
|
}, r = Q({}), d = Q(!1), u = Q(!1);
|
|
9572
9572
|
ue(
|
|
@@ -9697,7 +9697,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9697
9697
|
"right-label": M.$t("project.switch.feed"),
|
|
9698
9698
|
"left-label": M.$t("project.switch.overview"),
|
|
9699
9699
|
"onUpdate:isLeft": Y[0] || (Y[0] = (B) => {
|
|
9700
|
-
B && M.$router.push({ name: F(
|
|
9700
|
+
B && M.$router.push({ name: F(De).project });
|
|
9701
9701
|
})
|
|
9702
9702
|
}, null, 8, ["right-label", "left-label"])) : k("", !0),
|
|
9703
9703
|
T(L4, {
|
|
@@ -9740,7 +9740,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9740
9740
|
"onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(F(dt).assignee, B))
|
|
9741
9741
|
}, {
|
|
9742
9742
|
tag: j(({ option: B, handleTagRemove: S }) => [
|
|
9743
|
-
T(
|
|
9743
|
+
T(gt, {
|
|
9744
9744
|
"user-name": B.label,
|
|
9745
9745
|
"avatar-url": B.avatar,
|
|
9746
9746
|
"is-closable": !0,
|
|
@@ -9871,30 +9871,31 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9871
9871
|
};
|
|
9872
9872
|
}
|
|
9873
9873
|
});
|
|
9874
|
-
const
|
|
9874
|
+
const ft = {
|
|
9875
9875
|
TEMPLATES: "templates",
|
|
9876
9876
|
TEMPLATE_DETAILS: "template_details",
|
|
9877
9877
|
TEMPLATES_LIST: "templates_list"
|
|
9878
9878
|
}, o8 = (a, e = {}) => [
|
|
9879
9879
|
{
|
|
9880
9880
|
path: a,
|
|
9881
|
-
name:
|
|
9881
|
+
name: ft.TEMPLATES,
|
|
9882
|
+
redirect: { name: ft.TEMPLATES_LIST },
|
|
9882
9883
|
...e,
|
|
9883
9884
|
children: [
|
|
9884
9885
|
{
|
|
9885
9886
|
path: "",
|
|
9886
|
-
name:
|
|
9887
|
+
name: ft.TEMPLATES_LIST,
|
|
9887
9888
|
component: X4
|
|
9888
9889
|
},
|
|
9889
9890
|
{
|
|
9890
9891
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
9891
|
-
name:
|
|
9892
|
+
name: ft.TEMPLATE_DETAILS,
|
|
9892
9893
|
component: x7,
|
|
9893
9894
|
props: !0
|
|
9894
9895
|
}
|
|
9895
9896
|
]
|
|
9896
9897
|
}
|
|
9897
|
-
],
|
|
9898
|
+
], De = {
|
|
9898
9899
|
project: "AoProject",
|
|
9899
9900
|
feed: "AoProjectFeed",
|
|
9900
9901
|
milestone: "AoMilestone",
|
|
@@ -9903,22 +9904,23 @@ const St = {
|
|
|
9903
9904
|
{
|
|
9904
9905
|
path: a,
|
|
9905
9906
|
...e,
|
|
9907
|
+
redirect: { name: De.project },
|
|
9906
9908
|
children: [
|
|
9907
9909
|
{
|
|
9908
9910
|
path: "",
|
|
9909
|
-
name:
|
|
9911
|
+
name: De.project,
|
|
9910
9912
|
component: N9,
|
|
9911
9913
|
props: !0,
|
|
9912
9914
|
children: [
|
|
9913
9915
|
{
|
|
9914
9916
|
path: ":phaseId/:milestoneId",
|
|
9915
|
-
name:
|
|
9917
|
+
name: De.milestone,
|
|
9916
9918
|
component: ra,
|
|
9917
9919
|
props: !0
|
|
9918
9920
|
},
|
|
9919
9921
|
{
|
|
9920
9922
|
path: ":phaseId/:milestoneId/:activityId",
|
|
9921
|
-
name:
|
|
9923
|
+
name: De.activity,
|
|
9922
9924
|
props: { default: !0, modal: !0 },
|
|
9923
9925
|
components: {
|
|
9924
9926
|
default: ra,
|
|
@@ -9929,7 +9931,7 @@ const St = {
|
|
|
9929
9931
|
},
|
|
9930
9932
|
{
|
|
9931
9933
|
path: "feed",
|
|
9932
|
-
name:
|
|
9934
|
+
name: De.feed,
|
|
9933
9935
|
component: G4,
|
|
9934
9936
|
props: !0
|
|
9935
9937
|
}
|
|
@@ -10008,7 +10010,7 @@ const St = {
|
|
|
10008
10010
|
"updated-by": d.updatedBy,
|
|
10009
10011
|
onUpdateTitle: (v) => o(d.id, v),
|
|
10010
10012
|
onClick: (v) => l.$router.push({
|
|
10011
|
-
name: F(
|
|
10013
|
+
name: F(ft).TEMPLATE_DETAILS,
|
|
10012
10014
|
params: { templateId: d.id }
|
|
10013
10015
|
})
|
|
10014
10016
|
}, null, 8, ["id", "title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
@@ -10032,10 +10034,10 @@ export {
|
|
|
10032
10034
|
o8 as getTemplateRoutes,
|
|
10033
10035
|
i8 as listUpdateTypes,
|
|
10034
10036
|
k1 as milestoneStatus,
|
|
10035
|
-
|
|
10037
|
+
De as projectOverviewRoutes,
|
|
10036
10038
|
bd as ruleComparators,
|
|
10037
10039
|
wd as ruleDurationUnits,
|
|
10038
10040
|
yd as ruleTriggerTypes,
|
|
10039
10041
|
me as templateItemType,
|
|
10040
|
-
|
|
10042
|
+
ft as templateRouteNames
|
|
10041
10043
|
};
|