@26lights/orcha 0.35.4 → 0.35.6
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 +119 -136
- package/dist/orcha.umd.js +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -617,23 +617,23 @@ function Kl(t, e) {
|
|
|
617
617
|
const Xl = /* @__PURE__ */ j(zl, [["render", Kl]]), Ql = J({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const gn = (t) => (hs("data-v-ad6da4a9"), t = t(), Cs(), t), Jl = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
624
624
|
fill: "none",
|
|
625
625
|
xmlns: "http://www.w3.org/2000/svg"
|
|
626
|
-
}, eu = /* @__PURE__ */
|
|
626
|
+
}, eu = /* @__PURE__ */ gn(() => /* @__PURE__ */ p("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), tu = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), tu = /* @__PURE__ */ gn(() => /* @__PURE__ */ p("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), au = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), au = /* @__PURE__ */ gn(() => /* @__PURE__ */ p("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -1139,7 +1139,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
1141
1141
|
XL: "xl"
|
|
1142
|
-
},
|
|
1142
|
+
}, _n = {
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
@@ -1149,7 +1149,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
|
-
...
|
|
1152
|
+
..._n,
|
|
1153
1153
|
...p2
|
|
1154
1154
|
});
|
|
1155
1155
|
const m1 = {
|
|
@@ -1390,7 +1390,7 @@ const C2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const yn = /* @__PURE__ */ J({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1437,7 +1437,7 @@ const bn = /* @__PURE__ */ J({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const fn = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
@@ -1540,7 +1540,7 @@ function y1(t) {
|
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function vn(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
1545
|
var a = Ke(e);
|
|
1546
1546
|
return E2(t, -a);
|
|
@@ -2397,7 +2397,7 @@ var e0 = {
|
|
|
2397
2397
|
return typeof o == "string" ? s = o : a === 1 ? s = o.one : s = o.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
|
|
2398
2398
|
};
|
|
2399
2399
|
const a0 = t0;
|
|
2400
|
-
function
|
|
2400
|
+
function ln(t) {
|
|
2401
2401
|
return function() {
|
|
2402
2402
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.width ? String(e.width) : t.defaultWidth, n = t.formats[a] || t.formats[t.defaultWidth];
|
|
2403
2403
|
return n;
|
|
@@ -2419,15 +2419,15 @@ var n0 = {
|
|
|
2419
2419
|
medium: "{{date}}, {{time}}",
|
|
2420
2420
|
short: "{{date}}, {{time}}"
|
|
2421
2421
|
}, o0 = {
|
|
2422
|
-
date:
|
|
2422
|
+
date: ln({
|
|
2423
2423
|
formats: n0,
|
|
2424
2424
|
defaultWidth: "full"
|
|
2425
2425
|
}),
|
|
2426
|
-
time:
|
|
2426
|
+
time: ln({
|
|
2427
2427
|
formats: s0,
|
|
2428
2428
|
defaultWidth: "full"
|
|
2429
2429
|
}),
|
|
2430
|
-
dateTime:
|
|
2430
|
+
dateTime: ln({
|
|
2431
2431
|
formats: i0,
|
|
2432
2432
|
defaultWidth: "full"
|
|
2433
2433
|
})
|
|
@@ -2737,7 +2737,7 @@ function M1(t, e, a) {
|
|
|
2737
2737
|
var O = be(t);
|
|
2738
2738
|
if (!y1(O))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var Y = sa(O), B =
|
|
2740
|
+
var Y = sa(O), B = vn(O, Y), F = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
2742
2742
|
weekStartsOn: W,
|
|
2743
2743
|
locale: Z,
|
|
@@ -2783,7 +2783,7 @@ function q0(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var w;
|
|
2785
2785
|
A < -6 ? w = "other" : A < -1 ? w = "lastWeek" : A < 0 ? w = "yesterday" : A < 1 ? w = "today" : A < 2 ? w = "tomorrow" : A < 7 ? w = "nextWeek" : w = "other";
|
|
2786
|
-
var S =
|
|
2786
|
+
var S = vn(C, sa(C)), D = vn($, sa($)), L = y.formatRelative(w, S, D, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: m
|
|
2789
2789
|
});
|
|
@@ -2866,10 +2866,10 @@ function X0(t) {
|
|
|
2866
2866
|
var e = t.match(z0);
|
|
2867
2867
|
if (!e)
|
|
2868
2868
|
return NaN;
|
|
2869
|
-
var a =
|
|
2869
|
+
var a = un(e[1]), n = un(e[2]), s = un(e[3]);
|
|
2870
2870
|
return s3(a, n, s) ? a * _1 + n * g1 + s * 1e3 : NaN;
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2872
|
+
function un(t) {
|
|
2873
2873
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2874
2874
|
}
|
|
2875
2875
|
function Q0(t) {
|
|
@@ -3311,7 +3311,7 @@ function S1() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ma.default = a, Ma;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3314
|
+
var bn = {}, O1 = {};
|
|
3315
3315
|
Object.defineProperty(O1, "__esModule", { value: !0 });
|
|
3316
3316
|
var Za = {};
|
|
3317
3317
|
Object.defineProperty(Za, "__esModule", { value: !0 });
|
|
@@ -3421,13 +3421,13 @@ qa.LexoNumeralSystem64 = f3;
|
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
3423
|
Object.defineProperty(t, "__esModule", { value: !0 }), a(O1, t), a(Za, t), a(Fa, t), a(qa, t);
|
|
3424
|
-
})(
|
|
3424
|
+
})(bn);
|
|
3425
3425
|
var Qn;
|
|
3426
3426
|
function E1() {
|
|
3427
3427
|
if (Qn)
|
|
3428
3428
|
return Jt;
|
|
3429
3429
|
Qn = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.LexoRank = void 0;
|
|
3430
|
-
const t = fa, e = S1(), a = va, n =
|
|
3430
|
+
const t = fa, e = S1(), a = va, n = bn;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3628,7 +3628,7 @@ function E1() {
|
|
|
3628
3628
|
for (var o in n)
|
|
3629
3629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3630
3630
|
};
|
|
3631
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(T1, t), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(T1, t), a(bn, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
3633
|
function I1(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3677,16 +3677,16 @@ function L1(t, e = "dd/MM/yyyy") {
|
|
|
3677
3677
|
const a = ia(t);
|
|
3678
3678
|
return y1(a) ? M1(a, e) : "";
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3680
|
+
function wn(t, e) {
|
|
3681
3681
|
return t.status.id === e.id;
|
|
3682
3682
|
}
|
|
3683
3683
|
function h3(t, e) {
|
|
3684
|
-
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !
|
|
3684
|
+
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !wn(a, e));
|
|
3685
3685
|
}
|
|
3686
3686
|
function C3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: h3(t, e) ?
|
|
3689
|
+
status: h3(t, e) ? fn.done : fn.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const V1 = (t) => {
|
|
@@ -3794,7 +3794,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
|
|
|
3794
3794
|
p("span", O3, K(n.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
n.phases ? (v(), g("ul", E3, [
|
|
3797
|
-
(v(!0), g(Ce, null, ye(n.phases, (o) => (v(), R(
|
|
3797
|
+
(v(!0), g(Ce, null, ye(n.phases, (o) => (v(), R(yn, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -3836,7 +3836,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
|
|
|
3836
3836
|
const U3 = { class: "ao-page-header" }, Z3 = { class: "ao-page-header-main" }, F3 = {
|
|
3837
3837
|
key: 0,
|
|
3838
3838
|
class: "ao-page-header-secondary"
|
|
3839
|
-
},
|
|
3839
|
+
}, Wa = /* @__PURE__ */ J({
|
|
3840
3840
|
__name: "AoPageHeader",
|
|
3841
3841
|
props: {
|
|
3842
3842
|
canGoBack: { type: Boolean }
|
|
@@ -3869,7 +3869,7 @@ const q3 = ["type"], W3 = {
|
|
|
3869
3869
|
iconName: {},
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
|
-
color: { default: () =>
|
|
3872
|
+
color: { default: () => _n.BLACK },
|
|
3873
3873
|
size: { default: () => ja.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => m1.ROUNDED }
|
|
@@ -4207,7 +4207,7 @@ function Mn(t, e) {
|
|
|
4207
4207
|
function Rt(t) {
|
|
4208
4208
|
return t.split("-")[0];
|
|
4209
4209
|
}
|
|
4210
|
-
function
|
|
4210
|
+
function za(t) {
|
|
4211
4211
|
return t.split("-")[1];
|
|
4212
4212
|
}
|
|
4213
4213
|
function c5(t) {
|
|
@@ -4224,15 +4224,15 @@ function P1(t) {
|
|
|
4224
4224
|
}
|
|
4225
4225
|
function f5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
4227
|
-
const n =
|
|
4227
|
+
const n = za(t), s = P1(t), o = D1(s);
|
|
4228
4228
|
let i = s === "x" ? n === (a ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4229
4229
|
return e.reference[o] > e.floating[o] && (i = Da(i)), [i, Da(i)];
|
|
4230
4230
|
}
|
|
4231
4231
|
function v5(t) {
|
|
4232
4232
|
const e = Da(t);
|
|
4233
|
-
return [
|
|
4233
|
+
return [pn(t), e, pn(e)];
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function pn(t) {
|
|
4236
4236
|
return t.replace(/start|end/g, (e) => d5[e]);
|
|
4237
4237
|
}
|
|
4238
4238
|
function p5(t, e, a) {
|
|
@@ -4249,9 +4249,9 @@ function p5(t, e, a) {
|
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
4251
|
function m5(t, e, a, n) {
|
|
4252
|
-
const s =
|
|
4252
|
+
const s = za(t);
|
|
4253
4253
|
let o = p5(Rt(t), a === "start", n);
|
|
4254
|
-
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(
|
|
4254
|
+
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(pn)))), o;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Da(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => u5[e]);
|
|
@@ -4320,7 +4320,7 @@ function Jn(t, e, a) {
|
|
|
4320
4320
|
y: n.y
|
|
4321
4321
|
};
|
|
4322
4322
|
}
|
|
4323
|
-
switch (
|
|
4323
|
+
switch (za(e)) {
|
|
4324
4324
|
case "start":
|
|
4325
4325
|
C[i] -= f * (a && c ? -1 : 1);
|
|
4326
4326
|
break;
|
|
@@ -4522,7 +4522,7 @@ const _5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} = Mn(t, e), l = await H1(e, r), c = Rt(a), u =
|
|
4525
|
+
} = Mn(t, e), l = await H1(e, r), c = Rt(a), u = za(a), d = An(a) === "y", {
|
|
4526
4526
|
width: f,
|
|
4527
4527
|
height: C
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4596,7 +4596,7 @@ function Tn(t) {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
function w5(t) {
|
|
4598
4598
|
let e = Nt(t);
|
|
4599
|
-
for (; Ze(e) && !
|
|
4599
|
+
for (; Ze(e) && !xa(e); ) {
|
|
4600
4600
|
if (Tn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Nt(e);
|
|
@@ -4606,13 +4606,13 @@ function w5(t) {
|
|
|
4606
4606
|
function Sn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
|
-
function
|
|
4609
|
+
function xa(t) {
|
|
4610
4610
|
return ["html", "body", "#document"].includes(ct(t));
|
|
4611
4611
|
}
|
|
4612
4612
|
function He(t) {
|
|
4613
4613
|
return ke(t).getComputedStyle(t);
|
|
4614
4614
|
}
|
|
4615
|
-
function
|
|
4615
|
+
function Ya(t) {
|
|
4616
4616
|
return Qe(t) ? {
|
|
4617
4617
|
scrollLeft: t.scrollLeft,
|
|
4618
4618
|
scrollTop: t.scrollTop
|
|
@@ -4635,7 +4635,7 @@ function Nt(t) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
function R1(t) {
|
|
4637
4637
|
const e = Nt(t);
|
|
4638
|
-
return
|
|
4638
|
+
return xa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && ma(e) ? e : R1(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ra(t, e, a) {
|
|
4641
4641
|
var n;
|
|
@@ -4718,7 +4718,7 @@ function M5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = dt(1);
|
|
4720
4720
|
const l = dt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((ct(a) !== "body" || ma(o)) && (i =
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((ct(a) !== "body" || ma(o)) && (i = Ya(a)), Ze(a))) {
|
|
4722
4722
|
const c = $t(a);
|
|
4723
4723
|
r = Dt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4733,10 +4733,10 @@ function A5(t) {
|
|
|
4733
4733
|
return Array.from(t.getClientRects());
|
|
4734
4734
|
}
|
|
4735
4735
|
function U1(t) {
|
|
4736
|
-
return $t(et(t)).left +
|
|
4736
|
+
return $t(et(t)).left + Ya(t).scrollLeft;
|
|
4737
4737
|
}
|
|
4738
4738
|
function T5(t) {
|
|
4739
|
-
const e = et(t), a =
|
|
4739
|
+
const e = et(t), a = Ya(t), n = t.ownerDocument.body, s = Ee(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ee(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4740
4740
|
let i = -a.scrollLeft + U1(t);
|
|
4741
4741
|
const r = -a.scrollTop;
|
|
4742
4742
|
return He(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
|
|
@@ -4790,7 +4790,7 @@ function t1(t, e, a) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
function Z1(t, e) {
|
|
4792
4792
|
const a = Nt(t);
|
|
4793
|
-
return a === e || !Qe(a) ||
|
|
4793
|
+
return a === e || !Qe(a) || xa(a) ? !1 : He(a).position === "fixed" || Z1(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function E5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
@@ -4799,7 +4799,7 @@ function E5(t, e) {
|
|
|
4799
4799
|
let n = ra(t, [], !1).filter((r) => Qe(r) && ct(r) !== "body"), s = null;
|
|
4800
4800
|
const o = He(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Nt(t) : t;
|
|
4802
|
-
for (; Qe(i) && !
|
|
4802
|
+
for (; Qe(i) && !xa(i); ) {
|
|
4803
4803
|
const r = He(i), l = Tn(i);
|
|
4804
4804
|
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ma(i) && !l && Z1(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Nt(i);
|
|
4805
4805
|
}
|
|
@@ -4834,7 +4834,7 @@ function V5(t, e, a) {
|
|
|
4834
4834
|
};
|
|
4835
4835
|
const l = dt(0);
|
|
4836
4836
|
if (n || !n && !o)
|
|
4837
|
-
if ((ct(e) !== "body" || ma(s)) && (r =
|
|
4837
|
+
if ((ct(e) !== "body" || ma(s)) && (r = Ya(e)), n) {
|
|
4838
4838
|
const c = $t(e, !0, o, e);
|
|
4839
4839
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4840
|
} else
|
|
@@ -5110,7 +5110,7 @@ function q5(t, e, a) {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
5112
5112
|
}
|
|
5113
|
-
function
|
|
5113
|
+
function dn(t, e = !0) {
|
|
5114
5114
|
return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5115
5115
|
}
|
|
5116
5116
|
function W5(t) {
|
|
@@ -5161,23 +5161,23 @@ function x5(t, e, a) {
|
|
|
5161
5161
|
disabledProp: ne,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: se
|
|
5164
|
-
} = Ae(t), re = Mt().proxy, z = a.iv, P = a.ev, G = a.search, ve = a.clearSearch, we = a.update, zt = a.pointer, xt = a.setPointer, tt = a.clearPointer, ha = a.focus,
|
|
5164
|
+
} = Ae(t), re = Mt().proxy, z = a.iv, P = a.ev, G = a.search, ve = a.clearSearch, we = a.update, zt = a.pointer, xt = a.setPointer, tt = a.clearPointer, ha = a.focus, Qa = a.deactivate, at = a.close, Ca = a.localize, nt = ae([]), Ne = ae([]), Te = ae(!1), Be = ae(null), We = ae(X.value && i.value === -1 ? 10 : i.value), Yt = M(() => l.value || c.value || !1), ga = M(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), Se = M(() => {
|
|
5165
5165
|
if (E.value) {
|
|
5166
5166
|
let b = Ct.value || /* istanbul ignore next */
|
|
5167
5167
|
[], H = [];
|
|
5168
5168
|
return b.forEach((oe) => {
|
|
5169
|
-
|
|
5169
|
+
on(oe[k.value]).forEach((pe) => {
|
|
5170
5170
|
H.push(Object.assign({}, pe, oe[ne.value] ? { [ne.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), H;
|
|
5173
5173
|
} else {
|
|
5174
|
-
let b =
|
|
5174
|
+
let b = on(Ne.value || /* istanbul ignore next */
|
|
5175
5175
|
[]);
|
|
5176
5176
|
return nt.value.length && (b = b.concat(nt.value)), b;
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Gt = M(() => {
|
|
5179
5179
|
let b = Se.value;
|
|
5180
|
-
return N.value && (b = b.reverse()), Tt.value.length && (b = Tt.value.concat(b)),
|
|
5180
|
+
return N.value && (b = b.reverse()), Tt.value.length && (b = Tt.value.concat(b)), sn(b);
|
|
5181
5181
|
}), st = M(() => {
|
|
5182
5182
|
let b = Gt.value;
|
|
5183
5183
|
return We.value > 0 && (b = b.slice(0, We.value)), b;
|
|
@@ -5198,22 +5198,22 @@ function x5(t, e, a) {
|
|
|
5198
5198
|
[k.value]: [...Tt.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat(b)), b;
|
|
5201
|
-
}),
|
|
5201
|
+
}), Ja = M(() => {
|
|
5202
5202
|
if (!E.value)
|
|
5203
5203
|
return [];
|
|
5204
5204
|
let b = _a.value;
|
|
5205
5205
|
return vs((b || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((H, oe) => {
|
|
5207
|
-
const pe =
|
|
5207
|
+
const pe = on(H[k.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...H,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[k.value]:
|
|
5213
|
-
__VISIBLE__:
|
|
5212
|
+
[k.value]: sn(pe, !1).map((_t) => Object.assign({}, _t, H[ne.value] ? { [ne.value]: !0 } : {})),
|
|
5213
|
+
__VISIBLE__: sn(pe).map((_t) => Object.assign({}, _t, H[ne.value] ? { [ne.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
5216
|
-
}),
|
|
5216
|
+
}), en = M(() => {
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
5219
|
return !je(z.value[L.value]);
|
|
@@ -5276,8 +5276,8 @@ function x5(t, e, a) {
|
|
|
5276
5276
|
case "multiple":
|
|
5277
5277
|
return !je(z.value) && z.value.map((H) => H[L.value]).indexOf(b[L.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
},
|
|
5280
|
-
if (!
|
|
5279
|
+
}, tn = (b) => b[ne.value] === !0, an = () => O === void 0 || O.value === -1 || !en.value && O.value > 0 ? !1 : z.value.length >= O.value, is = (b) => {
|
|
5280
|
+
if (!tn(b)) {
|
|
5281
5281
|
if (ee && ee.value && !ze(b) && b.__CREATE__ && (b = { ...b }, delete b.__CREATE__, b = ee.value(b, re), b instanceof Promise)) {
|
|
5282
5282
|
Te.value = !0, b.then((H) => {
|
|
5283
5283
|
Te.value = !1, Zn(H);
|
|
@@ -5293,45 +5293,45 @@ function x5(t, e, a) {
|
|
|
5293
5293
|
W.value && Ot(b), F.value && (tt(), at());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
|
-
b &&
|
|
5296
|
+
b && nn(b), D.value && ve(), B.value && (tt(), at()), b && St(b);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
5299
|
if (b && ze(b)) {
|
|
5300
5300
|
Ot(b), F.value && (tt(), at());
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
5303
|
-
if (
|
|
5303
|
+
if (an()) {
|
|
5304
5304
|
e.emit("max", re);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
b && (
|
|
5307
|
+
b && (nn(b), St(b)), D.value && ve(), r.value && tt(), B.value && at();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
5310
|
if (b && ze(b)) {
|
|
5311
5311
|
Ot(b), F.value && (tt(), at());
|
|
5312
5312
|
return;
|
|
5313
5313
|
}
|
|
5314
|
-
if (
|
|
5314
|
+
if (an()) {
|
|
5315
5315
|
e.emit("max", re);
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
b &&
|
|
5318
|
+
b && nn(b), D.value && ve(), b && St(b), r.value && tt(), B.value && at();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
B.value || ha();
|
|
5322
5322
|
}, os = (b) => {
|
|
5323
|
-
if (!(
|
|
5323
|
+
if (!(tn(b) || s.value === "single" || !I.value)) {
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
5327
|
ls(b[k.value]) ? Ot(b[k.value]) : St(
|
|
5328
5328
|
b[k.value].filter((H) => z.value.map((oe) => oe[L.value]).indexOf(H[L.value]) === -1).filter((H) => !H[ne.value]).filter((H, oe) => z.value.length + 1 + oe <= O.value || O.value === -1)
|
|
5329
|
-
), r.value && zt.value && xt(
|
|
5329
|
+
), r.value && zt.value && xt(Ja.value.filter((H) => !H[ne.value])[zt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
5332
|
-
B.value &&
|
|
5332
|
+
B.value && Qa();
|
|
5333
5333
|
}
|
|
5334
|
-
},
|
|
5334
|
+
}, nn = (b) => {
|
|
5335
5335
|
xe(b[L.value]) === void 0 && Yt.value && (e.emit("tag", b[L.value], re), e.emit("option", b[L.value], re), e.emit("create", b[L.value], re), ga.value && fs(b), ve());
|
|
5336
5336
|
}, rs = () => {
|
|
5337
5337
|
s.value !== "single" && St(st.value.filter((b) => !b.disabled && !ze(b)));
|
|
@@ -5339,17 +5339,17 @@ function x5(t, e, a) {
|
|
|
5339
5339
|
nt.value.push(b);
|
|
5340
5340
|
}, vs = (b) => h.value ? b.filter(
|
|
5341
5341
|
(H) => G.value ? H.__VISIBLE__.length : H[k.value].length
|
|
5342
|
-
) : b.filter((H) => G.value ? H.__VISIBLE__.length : !0),
|
|
5342
|
+
) : b.filter((H) => G.value ? H.__VISIBLE__.length : !0), sn = (b, H = !0) => {
|
|
5343
5343
|
let oe = b;
|
|
5344
5344
|
if (G.value && w.value) {
|
|
5345
5345
|
let pe = se.value;
|
|
5346
5346
|
pe || (pe = (_t, qn, bv) => gt.value.some((ms) => {
|
|
5347
|
-
let Wn =
|
|
5348
|
-
return le.value ? Wn.startsWith(
|
|
5347
|
+
let Wn = dn(Ca(_t[ms]), Y.value);
|
|
5348
|
+
return le.value ? Wn.startsWith(dn(qn, Y.value)) : Wn.indexOf(dn(qn, Y.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((_t) => pe(_t, G.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && H && (oe = oe.filter((pe) => !cs(pe))), oe;
|
|
5352
|
-
},
|
|
5352
|
+
}, on = (b) => {
|
|
5353
5353
|
let H = b;
|
|
5354
5354
|
return W5(H) && (H = Object.keys(H).map((oe) => {
|
|
5355
5355
|
let pe = H[oe];
|
|
@@ -5365,8 +5365,8 @@ function x5(t, e, a) {
|
|
|
5365
5365
|
}).finally(() => {
|
|
5366
5366
|
H();
|
|
5367
5367
|
});
|
|
5368
|
-
})),
|
|
5369
|
-
if (
|
|
5368
|
+
})), rn = () => {
|
|
5369
|
+
if (en.value)
|
|
5370
5370
|
if (s.value === "single") {
|
|
5371
5371
|
let b = xe(z.value[L.value]);
|
|
5372
5372
|
if (b !== void 0) {
|
|
@@ -5424,21 +5424,21 @@ function x5(t, e, a) {
|
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), ce(n, (b, H) => {
|
|
5427
|
-
typeof t.options == "function" ? m.value && (!H || b && b.toString() !== H.toString()) && ba() : (Ne.value = t.options, Object.keys(z.value).length || ya(),
|
|
5428
|
-
}), ce(u,
|
|
5427
|
+
typeof t.options == "function" ? m.value && (!H || b && b.toString() !== H.toString()) && ba() : (Ne.value = t.options, Object.keys(z.value).length || ya(), rn());
|
|
5428
|
+
}), ce(u, rn), ce(i, (b, H) => {
|
|
5429
5429
|
We.value = X.value && b === -1 ? 10 : b;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Gt,
|
|
5432
5432
|
fo: st,
|
|
5433
5433
|
filteredOptions: st,
|
|
5434
|
-
hasSelected:
|
|
5434
|
+
hasSelected: en,
|
|
5435
5435
|
multipleLabelText: J1,
|
|
5436
5436
|
eo: Se,
|
|
5437
5437
|
extendedOptions: Se,
|
|
5438
5438
|
eg: Ct,
|
|
5439
5439
|
extendedGroups: Ct,
|
|
5440
|
-
fg:
|
|
5441
|
-
filteredGroups:
|
|
5440
|
+
fg: Ja,
|
|
5441
|
+
filteredGroups: Ja,
|
|
5442
5442
|
noOptions: es,
|
|
5443
5443
|
noResults: ts,
|
|
5444
5444
|
resolving: Te,
|
|
@@ -5450,15 +5450,15 @@ function x5(t, e, a) {
|
|
|
5450
5450
|
selectAll: rs,
|
|
5451
5451
|
clear: Un,
|
|
5452
5452
|
isSelected: ze,
|
|
5453
|
-
isDisabled:
|
|
5454
|
-
isMax:
|
|
5453
|
+
isDisabled: tn,
|
|
5454
|
+
isMax: an,
|
|
5455
5455
|
getOption: xe,
|
|
5456
5456
|
handleOptionClick: is,
|
|
5457
5457
|
handleGroupClick: os,
|
|
5458
5458
|
handleTagRemove: ss,
|
|
5459
5459
|
refreshOptions: ps,
|
|
5460
5460
|
resolveOptions: ba,
|
|
5461
|
-
refreshLabels:
|
|
5461
|
+
refreshLabels: rn
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
5464
5464
|
function Y5(t, e, a) {
|
|
@@ -5574,14 +5574,14 @@ function En(t) {
|
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
5576
|
var wt = Math.max, Ha = Math.min, jt = Math.round;
|
|
5577
|
-
function
|
|
5577
|
+
function mn() {
|
|
5578
5578
|
var t = navigator.userAgentData;
|
|
5579
5579
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5580
5580
|
return e.brand + "/" + e.version;
|
|
5581
5581
|
}).join(" ") : navigator.userAgent;
|
|
5582
5582
|
}
|
|
5583
5583
|
function q1() {
|
|
5584
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5584
|
+
return !/^((?!chrome|android).)*safari/i.test(mn());
|
|
5585
5585
|
}
|
|
5586
5586
|
function Ut(t, e, a) {
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
@@ -5664,7 +5664,7 @@ function W1(t) {
|
|
|
5664
5664
|
height: n
|
|
5665
5665
|
};
|
|
5666
5666
|
}
|
|
5667
|
-
function
|
|
5667
|
+
function Ga(t) {
|
|
5668
5668
|
return Fe(t) === "html" ? t : (
|
|
5669
5669
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5670
5670
|
// $FlowFixMe[incompatible-return]
|
|
@@ -5677,7 +5677,7 @@ function Ka(t) {
|
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function z1(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Fe(t)) >= 0 ? t.ownerDocument.body : Pe(t) && Vn(t) ? t : z1(
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Fe(t)) >= 0 ? t.ownerDocument.body : Pe(t) && Vn(t) ? t : z1(Ga(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function aa(t, e) {
|
|
5683
5683
|
var a;
|
|
@@ -5685,7 +5685,7 @@ function aa(t, e) {
|
|
|
5685
5685
|
var n = z1(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Me(n), i = s ? [o].concat(o.visualViewport || [], Vn(n) ? n : []) : n, r = e.concat(i);
|
|
5686
5686
|
return s ? r : (
|
|
5687
5687
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
|
-
r.concat(aa(
|
|
5688
|
+
r.concat(aa(Ga(i)))
|
|
5689
5689
|
);
|
|
5690
5690
|
}
|
|
5691
5691
|
function J5(t) {
|
|
@@ -5696,13 +5696,13 @@ function n1(t) {
|
|
|
5696
5696
|
Je(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function e7(t) {
|
|
5699
|
-
var e = /firefox/i.test(
|
|
5699
|
+
var e = /firefox/i.test(mn()), a = /Trident/i.test(mn());
|
|
5700
5700
|
if (a && Pe(t)) {
|
|
5701
5701
|
var n = Je(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
|
-
var s =
|
|
5705
|
+
var s = Ga(t);
|
|
5706
5706
|
for (En(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Fe(s)) < 0; ) {
|
|
5707
5707
|
var o = Je(s);
|
|
5708
5708
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
@@ -5711,14 +5711,14 @@ function e7(t) {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
|
-
function
|
|
5714
|
+
function Ka(t) {
|
|
5715
5715
|
for (var e = Me(t), a = n1(t); a && J5(a) && Je(a).position === "static"; )
|
|
5716
5716
|
a = n1(a);
|
|
5717
5717
|
return a && (Fe(a) === "html" || Fe(a) === "body" && Je(a).position === "static") ? e : a || e7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", qe = "bottom", ft = "right", Ye = "left", Dn = "auto",
|
|
5719
|
+
var Re = "top", qe = "bottom", ft = "right", Ye = "left", Dn = "auto", Xa = [Re, qe, ft, Ye], Zt = "start", la = "end", t7 = "clippingParents", x1 = "viewport", ta = "popper", a7 = "reference", s1 = /* @__PURE__ */ Xa.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + Zt, e + "-" + la]);
|
|
5721
|
-
}, []), n7 = /* @__PURE__ */ [].concat(
|
|
5721
|
+
}, []), n7 = /* @__PURE__ */ [].concat(Xa, [Dn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + Zt, e + "-" + la]);
|
|
5723
5723
|
}, []), s7 = "beforeRead", i7 = "read", o7 = "afterRead", r7 = "beforeMain", l7 = "main", u7 = "afterMain", d7 = "beforeWrite", c7 = "write", f7 = "afterWrite", v7 = [s7, i7, o7, r7, l7, u7, d7, c7, f7];
|
|
5724
5724
|
function p7(t) {
|
|
@@ -5807,7 +5807,7 @@ function y7(t, e) {
|
|
|
5807
5807
|
}
|
|
5808
5808
|
return !1;
|
|
5809
5809
|
}
|
|
5810
|
-
function
|
|
5810
|
+
function hn(t) {
|
|
5811
5811
|
return Object.assign({}, t, {
|
|
5812
5812
|
left: t.x,
|
|
5813
5813
|
top: t.y,
|
|
@@ -5820,10 +5820,10 @@ function b7(t, e) {
|
|
|
5820
5820
|
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;
|
|
5821
5821
|
}
|
|
5822
5822
|
function i1(t, e, a) {
|
|
5823
|
-
return e === x1 ?
|
|
5823
|
+
return e === x1 ? hn(g7(t, a)) : kt(e) ? b7(e, a) : hn(_7(ht(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function w7(t) {
|
|
5826
|
-
var e = aa(
|
|
5826
|
+
var e = aa(Ga(t)), a = ["absolute", "fixed"].indexOf(Je(t).position) >= 0, n = a && Pe(t) ? Ka(t) : t;
|
|
5827
5827
|
return kt(n) ? e.filter(function(s) {
|
|
5828
5828
|
return kt(s) && y7(s, n) && Fe(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
@@ -5909,12 +5909,12 @@ function M7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Pn(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
|
-
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? t7 : r, c = a.rootBoundary, u = c === void 0 ? x1 : c, d = a.elementContext, f = d === void 0 ? ta : d, C = a.altBoundary, $ = C === void 0 ? !1 : C, _ = a.padding, y = _ === void 0 ? 0 : _, m = k7(typeof y != "number" ? y : M7(y,
|
|
5912
|
+
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? t7 : r, c = a.rootBoundary, u = c === void 0 ? x1 : c, d = a.elementContext, f = d === void 0 ? ta : d, C = a.altBoundary, $ = C === void 0 ? !1 : C, _ = a.padding, y = _ === void 0 ? 0 : _, m = k7(typeof y != "number" ? y : M7(y, Xa)), A = f === ta ? a7 : ta, w = t.rects.popper, S = t.elements[$ ? A : f], D = $7(kt(S) ? S : S.contextElement || ht(t.elements.popper), l, u, i), L = Ut(t.elements.reference), Z = G1({
|
|
5913
5913
|
reference: L,
|
|
5914
5914
|
element: w,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), U =
|
|
5917
|
+
}), U = hn(Object.assign({}, w, Z)), W = f === ta ? U : L, O = {
|
|
5918
5918
|
top: D.top - W.top + m.top,
|
|
5919
5919
|
bottom: W.bottom - D.bottom + m.bottom,
|
|
5920
5920
|
left: D.left - W.left + m.left,
|
|
@@ -5980,7 +5980,7 @@ function A7(t) {
|
|
|
5980
5980
|
var m = u.elements, A = m.reference, w = m.popper;
|
|
5981
5981
|
if (r1(A, w)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
|
-
reference: Q5(A,
|
|
5983
|
+
reference: Q5(A, Ka(w), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: W1(w)
|
|
5985
5985
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(O) {
|
|
5986
5986
|
return u.modifiersData[O.name] = Object.assign({}, O.data);
|
|
@@ -6101,7 +6101,7 @@ function l1(t) {
|
|
|
6101
6101
|
C = y.x, _ = y.y;
|
|
6102
6102
|
var m = i.hasOwnProperty("x"), A = i.hasOwnProperty("y"), w = Ye, S = Re, D = window;
|
|
6103
6103
|
if (c) {
|
|
6104
|
-
var L =
|
|
6104
|
+
var L = Ka(a), Z = "clientHeight", U = "clientWidth";
|
|
6105
6105
|
if (L === Me(a) && (L = ht(a), Je(L).position !== "static" && r === "absolute" && (Z = "scrollHeight", U = "scrollWidth")), L = L, s === Re || (s === Ye || s === ft) && o === la) {
|
|
6106
6106
|
S = qe;
|
|
6107
6107
|
var W = d && L === D && D.visualViewport ? D.visualViewport.height : (
|
|
@@ -6241,7 +6241,7 @@ function Z7(t) {
|
|
|
6241
6241
|
var F, E = S === "y" ? Re : Ye, N = S === "y" ? qe : ft, X = S === "y" ? "height" : "width", k = L[S], h = k + y[E], I = k - y[N], ee = C ? -U[X] / 2 : 0, ne = A === Zt ? Z[X] : U[X], le = A === Zt ? -U[X] : -Z[X], se = e.elements.arrow, re = C && se ? W1(se) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : K1(), P = z[E], G = z[N], ve = Sa(0, Z[X], re[X]), we = w ? Z[X] / 2 - ee - ve - P - O.mainAxis : ne - ve - P - O.mainAxis, zt = w ? -Z[X] / 2 + ee + ve + G + O.mainAxis : le + ve + G + O.mainAxis, xt = e.elements.arrow &&
|
|
6244
|
+
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : K1(), P = z[E], G = z[N], ve = Sa(0, Z[X], re[X]), we = w ? Z[X] / 2 - ee - ve - P - O.mainAxis : ne - ve - P - O.mainAxis, zt = w ? -Z[X] / 2 + ee + ve + G + O.mainAxis : le + ve + G + O.mainAxis, xt = e.elements.arrow && Ka(e.elements.arrow), tt = xt ? S === "y" ? xt.clientTop || 0 : xt.clientLeft || 0 : 0, ha = (F = Y == null ? void 0 : Y[S]) != null ? F : 0, Qa = k + we - ha - tt, at = k + zt - ha, Ca = Sa(C ? Ha(h, Qa) : h, k, C ? wt(I, at) : I);
|
|
6245
6245
|
L[S] = Ca, B[S] = Ca - k;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
@@ -6281,7 +6281,7 @@ function z7(t, e) {
|
|
|
6281
6281
|
e === void 0 && (e = {});
|
|
6282
6282
|
var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? n7 : l, u = Ft(n), d = u ? r ? s1 : s1.filter(function($) {
|
|
6283
6283
|
return Ft($) === u;
|
|
6284
|
-
}) :
|
|
6284
|
+
}) : Xa, f = d.filter(function($) {
|
|
6285
6285
|
return c.indexOf($) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
f.length === 0 && (f = d);
|
|
@@ -8157,7 +8157,7 @@ const X9 = { class: "ao-comments__header" }, Q9 = ["onSubmit"], J9 = ["placehold
|
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
8159
8159
|
});
|
|
8160
|
-
const
|
|
8160
|
+
const Cn = /* @__PURE__ */ J({
|
|
8161
8161
|
__name: "AoButtonCheck",
|
|
8162
8162
|
props: {
|
|
8163
8163
|
modelValue: { type: Boolean },
|
|
@@ -8169,7 +8169,7 @@ const gn = /* @__PURE__ */ J({
|
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
8171
|
return (s, o) => (v(), R(de, {
|
|
8172
|
-
color: s.modelValue ? s.color : Q(
|
|
8172
|
+
color: s.modelValue ? s.color : Q(_n).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8631,7 +8631,7 @@ const gn = /* @__PURE__ */ J({
|
|
|
8631
8631
|
te(h.$slots, "default", { activity: h.activity })
|
|
8632
8632
|
]),
|
|
8633
8633
|
p("div", F4, [
|
|
8634
|
-
V(
|
|
8634
|
+
V(Cn, {
|
|
8635
8635
|
modelValue: r.value,
|
|
8636
8636
|
"onUpdate:modelValue": I[6] || (I[6] = (se) => r.value = se),
|
|
8637
8637
|
modelModifiers: { lazy: !0 },
|
|
@@ -8646,7 +8646,7 @@ const gn = /* @__PURE__ */ J({
|
|
|
8646
8646
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8647
8647
|
]),
|
|
8648
8648
|
h.isTemplate !== !0 && h.activity.createdBy.id === h.userId ? (v(), g("div", q4, [
|
|
8649
|
-
V(
|
|
8649
|
+
V(Cn, {
|
|
8650
8650
|
modelValue: l.value,
|
|
8651
8651
|
"onUpdate:modelValue": I[7] || (I[7] = (se) => l.value = se),
|
|
8652
8652
|
modelModifiers: { lazy: !0 },
|
|
@@ -9143,7 +9143,7 @@ const rf = {
|
|
|
9143
9143
|
return (k, h) => {
|
|
9144
9144
|
var I, ee, ne, le, se, re;
|
|
9145
9145
|
return s.value ? (v(), g("div", rf, [
|
|
9146
|
-
V(
|
|
9146
|
+
V(Wa, {
|
|
9147
9147
|
"can-go-back": !0,
|
|
9148
9148
|
onGoBack: h[1] || (h[1] = (z) => k.$router.push({ name: Q(Lt).TEMPLATES_LIST }))
|
|
9149
9149
|
}, {
|
|
@@ -9357,29 +9357,12 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9357
9357
|
setup(t, { emit: e }) {
|
|
9358
9358
|
const a = t, n = (l) => {
|
|
9359
9359
|
e("update:title", l);
|
|
9360
|
-
}
|
|
9361
|
-
M(() => {
|
|
9362
|
-
var l;
|
|
9363
|
-
return (l = a.milestones) == null ? void 0 : l.reduce(
|
|
9364
|
-
(c, u) => {
|
|
9365
|
-
var d;
|
|
9366
|
-
return c + (((d = u.activities) == null ? void 0 : d.filter((f) => Wa(f, a.closedStatus)).length) || 0);
|
|
9367
|
-
},
|
|
9368
|
-
0
|
|
9369
|
-
);
|
|
9370
|
-
}), M(() => {
|
|
9371
|
-
var l;
|
|
9372
|
-
return (l = a.milestones) == null ? void 0 : l.reduce((c, u) => {
|
|
9373
|
-
var d;
|
|
9374
|
-
return c + (((d = u.activities) == null ? void 0 : d.length) || 0);
|
|
9375
|
-
}, 0);
|
|
9376
|
-
});
|
|
9377
|
-
const s = M(() => {
|
|
9360
|
+
}, s = M(() => {
|
|
9378
9361
|
var l;
|
|
9379
9362
|
return (l = a.milestones) == null ? void 0 : l.length;
|
|
9380
9363
|
}), o = M(() => {
|
|
9381
9364
|
var l;
|
|
9382
|
-
return (l = a.milestones) == null ? void 0 : l.filter((c) => c.status ===
|
|
9365
|
+
return (l = a.milestones) == null ? void 0 : l.filter((c) => c.status === fn.done).length;
|
|
9383
9366
|
}), i = M(() => (o.value || 0) / (s.value || 1)), r = M({
|
|
9384
9367
|
get: () => a.deadline ?? "",
|
|
9385
9368
|
set: (l) => e("update:deadline", l != null && l.length ? l : null)
|
|
@@ -9494,7 +9477,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9494
9477
|
}), s = M(() => {
|
|
9495
9478
|
var r;
|
|
9496
9479
|
return (r = a.activities) == null ? void 0 : r.filter(
|
|
9497
|
-
(l) =>
|
|
9480
|
+
(l) => wn(l, a.closedStatus)
|
|
9498
9481
|
).length;
|
|
9499
9482
|
}), o = M(() => (s.value || 0) / (n.value || 1)), i = (r) => {
|
|
9500
9483
|
e("updateMilestone", { id: a.id, name: r });
|
|
@@ -9958,7 +9941,7 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
|
|
|
9958
9941
|
return v(), g(Ce, null, [
|
|
9959
9942
|
p("div", Ve({ class: "ao-project-overview" }, O.$attrs), [
|
|
9960
9943
|
p("div", s8, [
|
|
9961
|
-
V(
|
|
9944
|
+
V(Wa, null, {
|
|
9962
9945
|
primary: q(() => [
|
|
9963
9946
|
V(X1, {
|
|
9964
9947
|
"is-left": !0,
|
|
@@ -10141,7 +10124,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10141
10124
|
}, {
|
|
10142
10125
|
header: q(() => [
|
|
10143
10126
|
p("div", r8, [
|
|
10144
|
-
(d.isFeedView ? d.milestoneName : d.projectName) ? (v(), R(
|
|
10127
|
+
(d.isFeedView ? d.milestoneName : d.projectName) ? (v(), R(yn, {
|
|
10145
10128
|
key: 0,
|
|
10146
10129
|
label: (d.isFeedView ? d.milestoneName : d.projectName) ?? "",
|
|
10147
10130
|
class: "ao-card-feed__project",
|
|
@@ -10312,7 +10295,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10312
10295
|
deadline: m != null && m.length ? m : null
|
|
10313
10296
|
});
|
|
10314
10297
|
}
|
|
10315
|
-
}), C = (m) => a.closedStatus ?
|
|
10298
|
+
}), C = (m) => a.closedStatus ? wn(m, a.closedStatus) : !1, $ = M(() => {
|
|
10316
10299
|
var m;
|
|
10317
10300
|
return ((m = a.users) == null ? void 0 : m.map((A) => ({
|
|
10318
10301
|
label: `${A.firstName} ${A.lastName}`,
|
|
@@ -10359,7 +10342,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10359
10342
|
title: ((w = i.value) == null ? void 0 : w.name) || m.milestoneId,
|
|
10360
10343
|
level: 5
|
|
10361
10344
|
}, null, 8, ["title"]),
|
|
10362
|
-
V(
|
|
10345
|
+
V(Cn, {
|
|
10363
10346
|
modelValue: y.value,
|
|
10364
10347
|
"onUpdate:modelValue": A[0] || (A[0] = (S) => y.value = S),
|
|
10365
10348
|
modelModifiers: { lazy: !0 },
|
|
@@ -10603,7 +10586,7 @@ const N8 = /* @__PURE__ */ J({
|
|
|
10603
10586
|
class: "ao-col-header__title",
|
|
10604
10587
|
level: 4
|
|
10605
10588
|
}, null, 8, ["title"]),
|
|
10606
|
-
e.items ? (v(), R(
|
|
10589
|
+
e.items ? (v(), R(yn, {
|
|
10607
10590
|
key: 0,
|
|
10608
10591
|
label: e.items,
|
|
10609
10592
|
class: "ao-col-header__items",
|
|
@@ -10653,7 +10636,7 @@ function x8(t, e = 200, a = {}) {
|
|
|
10653
10636
|
t
|
|
10654
10637
|
);
|
|
10655
10638
|
}
|
|
10656
|
-
function
|
|
10639
|
+
function cn(t) {
|
|
10657
10640
|
var e;
|
|
10658
10641
|
const a = Ba(t);
|
|
10659
10642
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
@@ -10678,18 +10661,18 @@ function X8(t, e, a = {}) {
|
|
|
10678
10661
|
immediate: r = !0
|
|
10679
10662
|
} = a, l = K8(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
10680
10663
|
const $ = Ba(t);
|
|
10681
|
-
return (Array.isArray($) ? $ : [$]).map(
|
|
10664
|
+
return (Array.isArray($) ? $ : [$]).map(cn).filter(q8);
|
|
10682
10665
|
});
|
|
10683
10666
|
let u = na;
|
|
10684
10667
|
const d = ae(r), f = l.value ? ce(
|
|
10685
|
-
() => [c.value,
|
|
10668
|
+
() => [c.value, cn(n), d.value],
|
|
10686
10669
|
([$, _]) => {
|
|
10687
10670
|
if (u(), !d.value || !$.length)
|
|
10688
10671
|
return;
|
|
10689
10672
|
const y = new IntersectionObserver(
|
|
10690
10673
|
e,
|
|
10691
10674
|
{
|
|
10692
|
-
root:
|
|
10675
|
+
root: cn(_),
|
|
10693
10676
|
rootMargin: s,
|
|
10694
10677
|
threshold: o
|
|
10695
10678
|
}
|
|
@@ -11035,7 +11018,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11035
11018
|
return (E, N) => {
|
|
11036
11019
|
var X;
|
|
11037
11020
|
return v(), g("div", uv, [
|
|
11038
|
-
V(
|
|
11021
|
+
V(Wa, null, {
|
|
11039
11022
|
primary: q(() => [
|
|
11040
11023
|
p("div", dv, [
|
|
11041
11024
|
a.project ? (v(), R(X1, {
|
|
@@ -11289,7 +11272,7 @@ const Lt = {
|
|
|
11289
11272
|
}
|
|
11290
11273
|
};
|
|
11291
11274
|
return (r, l) => (v(), g("div", vv, [
|
|
11292
|
-
V(
|
|
11275
|
+
V(Wa, null, {
|
|
11293
11276
|
secondary: q(() => [
|
|
11294
11277
|
V(de, {
|
|
11295
11278
|
label: r.$t("templates.new"),
|
|
@@ -11424,7 +11407,7 @@ export {
|
|
|
11424
11407
|
Ev as getProjectOverviewRoutes,
|
|
11425
11408
|
Ov as getTemplateRoutes,
|
|
11426
11409
|
Sv as listUpdateTypes,
|
|
11427
|
-
|
|
11410
|
+
fn as milestoneStatus,
|
|
11428
11411
|
Ue as projectOverviewRoutes,
|
|
11429
11412
|
A2 as ruleComparators,
|
|
11430
11413
|
S2 as ruleDurationUnits,
|