@26lights/orcha 0.36.44 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.es.js +136 -142
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as
|
|
1
|
+
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const d8 = /* @__PURE__ */ z({
|
|
@@ -617,23 +617,23 @@ function lu(t, e) {
|
|
|
617
617
|
const uu = /* @__PURE__ */ j(su, [["render", lu]]), cu = z({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const kn = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
|
|
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
|
-
}, pu = /* @__PURE__ */
|
|
626
|
+
}, pu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), fu = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), fu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), vu = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), vu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -1139,7 +1139,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
1141
1141
|
XL: "xl"
|
|
1142
|
-
},
|
|
1142
|
+
}, Sn = {
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
@@ -1149,7 +1149,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
|
-
...
|
|
1152
|
+
...Sn,
|
|
1153
1153
|
...A2
|
|
1154
1154
|
});
|
|
1155
1155
|
const Os = {
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const An = /* @__PURE__ */ z({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1437,7 +1437,7 @@ const qa = /* @__PURE__ */ z({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const mn = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
@@ -1540,7 +1540,7 @@ function Ds(t) {
|
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function Cn(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
1545
|
var a = Qe(e);
|
|
1546
1546
|
return U2(t, -a);
|
|
@@ -2397,7 +2397,7 @@ var p0 = {
|
|
|
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 v0 = f0;
|
|
2400
|
-
function
|
|
2400
|
+
function pn(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 h0 = {
|
|
|
2419
2419
|
medium: "{{date}}, {{time}}",
|
|
2420
2420
|
short: "{{date}}, {{time}}"
|
|
2421
2421
|
}, g0 = {
|
|
2422
|
-
date:
|
|
2422
|
+
date: pn({
|
|
2423
2423
|
formats: h0,
|
|
2424
2424
|
defaultWidth: "full"
|
|
2425
2425
|
}),
|
|
2426
|
-
time:
|
|
2426
|
+
time: pn({
|
|
2427
2427
|
formats: m0,
|
|
2428
2428
|
defaultWidth: "full"
|
|
2429
2429
|
}),
|
|
2430
|
-
dateTime:
|
|
2430
|
+
dateTime: pn({
|
|
2431
2431
|
formats: C0,
|
|
2432
2432
|
defaultWidth: "full"
|
|
2433
2433
|
})
|
|
@@ -2737,7 +2737,7 @@ function Ns(t, e, a) {
|
|
|
2737
2737
|
var O = be(t);
|
|
2738
2738
|
if (!Ds(O))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var x = ra(O), R =
|
|
2740
|
+
var x = ra(O), R = Cn(O, x), Z = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
2742
2742
|
weekStartsOn: q,
|
|
2743
2743
|
locale: F,
|
|
@@ -2783,7 +2783,7 @@ function a3(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var C;
|
|
2785
2785
|
_ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
|
|
2786
|
-
var D =
|
|
2786
|
+
var D = Cn(h, ra(h)), L = Cn(w, ra(w)), H = y.formatRelative(C, D, L, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: k
|
|
2789
2789
|
});
|
|
@@ -2866,10 +2866,10 @@ function u3(t) {
|
|
|
2866
2866
|
var e = t.match(s3);
|
|
2867
2867
|
if (!e)
|
|
2868
2868
|
return NaN;
|
|
2869
|
-
var a =
|
|
2869
|
+
var a = fn(e[1]), n = fn(e[2]), s = fn(e[3]);
|
|
2870
2870
|
return m3(a, n, s) ? a * Hs + n * Ls + s * 1e3 : NaN;
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2872
|
+
function fn(t) {
|
|
2873
2873
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2874
2874
|
}
|
|
2875
2875
|
function c3(t) {
|
|
@@ -2906,10 +2906,10 @@ function m3(t, e, a) {
|
|
|
2906
2906
|
function C3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
|
-
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {},
|
|
2910
|
-
Object.defineProperty(
|
|
2911
|
-
|
|
2912
|
-
|
|
2909
|
+
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, qa = {};
|
|
2910
|
+
Object.defineProperty(qa, "__esModule", { value: !0 });
|
|
2911
|
+
qa.lexoHelper = void 0;
|
|
2912
|
+
qa.lexoHelper = {
|
|
2913
2913
|
arrayCopy: g3
|
|
2914
2914
|
};
|
|
2915
2915
|
function g3(t, e, a, n, s) {
|
|
@@ -2946,7 +2946,7 @@ class _3 {
|
|
|
2946
2946
|
ma.default = _3;
|
|
2947
2947
|
Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
2948
2948
|
Yt.LexoInteger = void 0;
|
|
2949
|
-
const Ma =
|
|
2949
|
+
const Ma = qa, y3 = ma;
|
|
2950
2950
|
class se {
|
|
2951
2951
|
constructor(e, a, n) {
|
|
2952
2952
|
this.sys = e, this.sign = a, this.mag = n;
|
|
@@ -3313,9 +3313,9 @@ function Us() {
|
|
|
3313
3313
|
}
|
|
3314
3314
|
var Mn = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
3316
|
-
var
|
|
3317
|
-
Object.defineProperty(
|
|
3318
|
-
|
|
3316
|
+
var za = {};
|
|
3317
|
+
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
3318
|
+
za.LexoNumeralSystem10 = void 0;
|
|
3319
3319
|
class w3 {
|
|
3320
3320
|
getBase() {
|
|
3321
3321
|
return 10;
|
|
@@ -3338,10 +3338,10 @@ class w3 {
|
|
|
3338
3338
|
return String.fromCharCode(e + 48);
|
|
3339
3339
|
}
|
|
3340
3340
|
}
|
|
3341
|
-
|
|
3342
|
-
var
|
|
3343
|
-
Object.defineProperty(
|
|
3344
|
-
|
|
3341
|
+
za.LexoNumeralSystem10 = w3;
|
|
3342
|
+
var xa = {};
|
|
3343
|
+
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
3344
|
+
xa.LexoNumeralSystem36 = void 0;
|
|
3345
3345
|
class $3 {
|
|
3346
3346
|
constructor() {
|
|
3347
3347
|
this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3369,10 +3369,10 @@ class $3 {
|
|
|
3369
3369
|
return this.DIGITS[e];
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
|
-
|
|
3373
|
-
var
|
|
3374
|
-
Object.defineProperty(
|
|
3375
|
-
|
|
3372
|
+
xa.LexoNumeralSystem36 = $3;
|
|
3373
|
+
var Ya = {};
|
|
3374
|
+
Object.defineProperty(Ya, "__esModule", { value: !0 });
|
|
3375
|
+
Ya.LexoNumeralSystem64 = void 0;
|
|
3376
3376
|
class k3 {
|
|
3377
3377
|
constructor() {
|
|
3378
3378
|
this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3406,7 +3406,7 @@ class k3 {
|
|
|
3406
3406
|
return this.DIGITS[e];
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
|
-
|
|
3409
|
+
Ya.LexoNumeralSystem64 = k3;
|
|
3410
3410
|
(function(t) {
|
|
3411
3411
|
var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
3412
3412
|
i === void 0 && (i = o);
|
|
@@ -3420,7 +3420,7 @@ Ka.LexoNumeralSystem64 = k3;
|
|
|
3420
3420
|
for (var o in n)
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(
|
|
3423
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(za, t), a(xa, t), a(Ya, t);
|
|
3424
3424
|
})(Mn);
|
|
3425
3425
|
var fs;
|
|
3426
3426
|
function Ws() {
|
|
@@ -3686,7 +3686,7 @@ function T3(t, e) {
|
|
|
3686
3686
|
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: T3(t, e) ?
|
|
3689
|
+
status: T3(t, e) ? mn.done : mn.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const zs = (t) => {
|
|
@@ -3794,7 +3794,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3794
3794
|
v("span", F3, G(n.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
n.phases ? (p(), g("ul", U3, [
|
|
3797
|
-
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(
|
|
3797
|
+
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(An, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -3836,7 +3836,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3836
3836
|
const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t5 = {
|
|
3837
3837
|
key: 0,
|
|
3838
3838
|
class: "ao-page-header-secondary"
|
|
3839
|
-
},
|
|
3839
|
+
}, Ka = /* @__PURE__ */ z({
|
|
3840
3840
|
__name: "AoPageHeader",
|
|
3841
3841
|
props: {
|
|
3842
3842
|
canGoBack: { type: Boolean }
|
|
@@ -3869,7 +3869,7 @@ const a5 = ["type"], n5 = {
|
|
|
3869
3869
|
iconName: {},
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
|
-
color: { default: () =>
|
|
3872
|
+
color: { default: () => Sn.BLACK },
|
|
3873
3873
|
size: { default: () => Wa.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Os.ROUNDED }
|
|
@@ -4207,7 +4207,7 @@ function Ln(t, e) {
|
|
|
4207
4207
|
function Ft(t) {
|
|
4208
4208
|
return t.split("-")[0];
|
|
4209
4209
|
}
|
|
4210
|
-
function
|
|
4210
|
+
function Ga(t) {
|
|
4211
4211
|
return t.split("-")[1];
|
|
4212
4212
|
}
|
|
4213
4213
|
function $5(t) {
|
|
@@ -4224,15 +4224,15 @@ function Ys(t) {
|
|
|
4224
4224
|
}
|
|
4225
4225
|
function k5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
4227
|
-
const n =
|
|
4227
|
+
const n = Ga(t), s = Ys(t), o = xs(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 = Ba(i)), [i, Ba(i)];
|
|
4230
4230
|
}
|
|
4231
4231
|
function S5(t) {
|
|
4232
4232
|
const e = Ba(t);
|
|
4233
|
-
return [
|
|
4233
|
+
return [gn(t), e, gn(e)];
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function gn(t) {
|
|
4236
4236
|
return t.replace(/start|end/g, (e) => w5[e]);
|
|
4237
4237
|
}
|
|
4238
4238
|
function A5(t, e, a) {
|
|
@@ -4249,9 +4249,9 @@ function A5(t, e, a) {
|
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
4251
|
function M5(t, e, a, n) {
|
|
4252
|
-
const s =
|
|
4252
|
+
const s = Ga(t);
|
|
4253
4253
|
let o = A5(Ft(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(gn)))), o;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ba(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => b5[e]);
|
|
@@ -4320,7 +4320,7 @@ function vs(t, e, a) {
|
|
|
4320
4320
|
y: n.y
|
|
4321
4321
|
};
|
|
4322
4322
|
}
|
|
4323
|
-
switch (
|
|
4323
|
+
switch (Ga(e)) {
|
|
4324
4324
|
case "start":
|
|
4325
4325
|
h[i] -= d * (a && c ? -1 : 1);
|
|
4326
4326
|
break;
|
|
@@ -4522,7 +4522,7 @@ const I5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u =
|
|
4525
|
+
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u = Ga(a), f = Hn(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: h
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4596,7 +4596,7 @@ function Dn(t) {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
function D5(t) {
|
|
4598
4598
|
let e = Ut(t);
|
|
4599
|
-
for (; Ue(e) && !
|
|
4599
|
+
for (; Ue(e) && !Xa(e); ) {
|
|
4600
4600
|
if (Dn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Ut(e);
|
|
@@ -4606,13 +4606,13 @@ function D5(t) {
|
|
|
4606
4606
|
function Pn() {
|
|
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(ft(t));
|
|
4611
4611
|
}
|
|
4612
4612
|
function Ve(t) {
|
|
4613
4613
|
return ke(t).getComputedStyle(t);
|
|
4614
4614
|
}
|
|
4615
|
-
function
|
|
4615
|
+
function Qa(t) {
|
|
4616
4616
|
return et(t) ? {
|
|
4617
4617
|
scrollLeft: t.scrollLeft,
|
|
4618
4618
|
scrollTop: t.scrollTop
|
|
@@ -4635,7 +4635,7 @@ function Ut(t) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
4638
|
-
return
|
|
4638
|
+
return Xa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ca(t, e, a) {
|
|
4641
4641
|
var n;
|
|
@@ -4718,7 +4718,7 @@ function B5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i =
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Qa(a)), Ue(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4733,10 +4733,10 @@ function R5(t) {
|
|
|
4733
4733
|
return Array.from(t.getClientRects());
|
|
4734
4734
|
}
|
|
4735
4735
|
function ei(t) {
|
|
4736
|
-
return St(at(t)).left +
|
|
4736
|
+
return St(at(t)).left + Qa(t).scrollLeft;
|
|
4737
4737
|
}
|
|
4738
4738
|
function N5(t) {
|
|
4739
|
-
const e = at(t), a =
|
|
4739
|
+
const e = at(t), a = Qa(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 + ei(t);
|
|
4741
4741
|
const r = -a.scrollTop;
|
|
4742
4742
|
return Ve(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
|
|
@@ -4790,7 +4790,7 @@ function ms(t, e, a) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
function ti(t, e) {
|
|
4792
4792
|
const a = Ut(t);
|
|
4793
|
-
return a === e || !et(a) ||
|
|
4793
|
+
return a === e || !et(a) || Xa(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function U5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
@@ -4799,7 +4799,7 @@ function U5(t, e) {
|
|
|
4799
4799
|
let n = ca(t, [], !1).filter((r) => et(r) && ft(r) !== "body"), s = null;
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
|
-
for (; et(i) && !
|
|
4802
|
+
for (; et(i) && !Xa(i); ) {
|
|
4803
4803
|
const r = Ve(i), l = Dn(i);
|
|
4804
4804
|
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
|
|
4805
4805
|
}
|
|
@@ -4834,7 +4834,7 @@ function q5(t, e, a) {
|
|
|
4834
4834
|
};
|
|
4835
4835
|
const l = pt(0);
|
|
4836
4836
|
if (n || !n && !o)
|
|
4837
|
-
if ((ft(e) !== "body" || ga(s)) && (r =
|
|
4837
|
+
if ((ft(e) !== "body" || ga(s)) && (r = Qa(e)), n) {
|
|
4838
4838
|
const c = St(e, !0, o, e);
|
|
4839
4839
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4840
|
} else
|
|
@@ -5042,7 +5042,7 @@ const X5 = (t, e, a) => {
|
|
|
5042
5042
|
c();
|
|
5043
5043
|
}), Ts(() => {
|
|
5044
5044
|
r.value();
|
|
5045
|
-
}),
|
|
5045
|
+
}), $n(() => {
|
|
5046
5046
|
r.value();
|
|
5047
5047
|
});
|
|
5048
5048
|
};
|
|
@@ -5110,7 +5110,7 @@ function a7(t, e, a) {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
5112
5112
|
}
|
|
5113
|
-
function
|
|
5113
|
+
function vn(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 n7(t) {
|
|
@@ -5161,23 +5161,23 @@ function i7(t, e, a) {
|
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus,
|
|
5164
|
+
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, an = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((oe) => {
|
|
5169
|
-
|
|
5169
|
+
cn(oe[M.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
5173
5173
|
} else {
|
|
5174
|
-
let $ =
|
|
5174
|
+
let $ = cn(Ne.value || /* istanbul ignore next */
|
|
5175
5175
|
[]);
|
|
5176
5176
|
return it.value.length && ($ = $.concat(it.value)), $;
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Qt = S(() => {
|
|
5179
5179
|
let $ = Te.value;
|
|
5180
|
-
return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)),
|
|
5180
|
+
return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), un($);
|
|
5181
5181
|
}), ot = S(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
5183
|
return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
|
|
@@ -5198,22 +5198,22 @@ function i7(t, e, a) {
|
|
|
5198
5198
|
[M.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
|
-
}),
|
|
5201
|
+
}), nn = S(() => {
|
|
5202
5202
|
if (!ie.value)
|
|
5203
5203
|
return [];
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
5205
|
return Ai(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
|
-
const me =
|
|
5207
|
+
const me = cn(B[M.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[M.value]:
|
|
5213
|
-
__VISIBLE__:
|
|
5212
|
+
[M.value]: un(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
|
|
5213
|
+
__VISIBLE__: un(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
5216
|
-
}),
|
|
5216
|
+
}), sn = S(() => {
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
5219
|
return !je(Y.value[H.value]);
|
|
@@ -5276,8 +5276,8 @@ function i7(t, e, a) {
|
|
|
5276
5276
|
case "multiple":
|
|
5277
5277
|
return !je(Y.value) && Y.value.map((B) => B[H.value]).indexOf($[H.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
},
|
|
5280
|
-
if (!
|
|
5279
|
+
}, on = ($) => $[ae.value] === !0, rn = () => O === void 0 || O.value === -1 || !sn.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
|
|
5280
|
+
if (!on($)) {
|
|
5281
5281
|
if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
5282
|
Me.value = !0, $.then((B) => {
|
|
5283
5283
|
Me.value = !1, ns(B);
|
|
@@ -5293,45 +5293,45 @@ function i7(t, e, a) {
|
|
|
5293
5293
|
q.value && It($), Z.value && (nt(), st());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
|
-
$ &&
|
|
5296
|
+
$ && ln($), L.value && he(), R.value && (nt(), st()), $ && Et($);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
5299
|
if ($ && ze($)) {
|
|
5300
5300
|
It($), Z.value && (nt(), st());
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
5303
|
-
if (
|
|
5303
|
+
if (rn()) {
|
|
5304
5304
|
e.emit("max", re);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
$ && (
|
|
5307
|
+
$ && (ln($), Et($)), L.value && he(), r.value && nt(), R.value && st();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
5310
|
if ($ && ze($)) {
|
|
5311
5311
|
It($), Z.value && (nt(), st());
|
|
5312
5312
|
return;
|
|
5313
5313
|
}
|
|
5314
|
-
if (
|
|
5314
|
+
if (rn()) {
|
|
5315
5315
|
e.emit("max", re);
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
$ &&
|
|
5318
|
+
$ && ln($), L.value && he(), $ && Et($), r.value && nt(), R.value && st();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
R.value || _a();
|
|
5322
5322
|
}, _i = ($) => {
|
|
5323
|
-
if (!(
|
|
5323
|
+
if (!(on($) || s.value === "single" || !I.value)) {
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
5327
|
bi($[M.value]) ? It($[M.value]) : Et(
|
|
5328
5328
|
$[M.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
|
|
5329
|
-
), r.value && Kt.value && Gt(
|
|
5329
|
+
), r.value && Kt.value && Gt(nn.value.filter((B) => !B[ae.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
5332
|
-
R.value &&
|
|
5332
|
+
R.value && an();
|
|
5333
5333
|
}
|
|
5334
|
-
},
|
|
5334
|
+
}, ln = ($) => {
|
|
5335
5335
|
xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
|
|
5336
5336
|
}, yi = () => {
|
|
5337
5337
|
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
|
|
@@ -5339,17 +5339,17 @@ function i7(t, e, a) {
|
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Ai = ($) => m.value ? $.filter(
|
|
5341
5341
|
(B) => X.value ? B.__VISIBLE__.length : B[M.value].length
|
|
5342
|
-
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0),
|
|
5342
|
+
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), un = ($, B = !0) => {
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && C.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
5346
|
me || (me = (bt, is, r8) => yt.value.some((Ti) => {
|
|
5347
|
-
let os =
|
|
5348
|
-
return le.value ? os.startsWith(
|
|
5347
|
+
let os = vn(ya(bt[Ti]), x.value);
|
|
5348
|
+
return le.value ? os.startsWith(vn(is, x.value)) : os.indexOf(vn(is, x.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (oe = oe.filter((me) => !ki(me))), oe;
|
|
5352
|
-
},
|
|
5352
|
+
}, cn = ($) => {
|
|
5353
5353
|
let B = $;
|
|
5354
5354
|
return n7(B) && (B = Object.keys(B).map((oe) => {
|
|
5355
5355
|
let me = B[oe];
|
|
@@ -5365,8 +5365,8 @@ function i7(t, e, a) {
|
|
|
5365
5365
|
}).finally(() => {
|
|
5366
5366
|
B();
|
|
5367
5367
|
});
|
|
5368
|
-
})),
|
|
5369
|
-
if (
|
|
5368
|
+
})), dn = () => {
|
|
5369
|
+
if (sn.value)
|
|
5370
5370
|
if (s.value === "single") {
|
|
5371
5371
|
let $ = xe(Y.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
@@ -5424,21 +5424,21 @@ function i7(t, e, a) {
|
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
5427
|
-
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(),
|
|
5428
|
-
}), de(u,
|
|
5427
|
+
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), dn());
|
|
5428
|
+
}), de(u, dn), de(i, ($, B) => {
|
|
5429
5429
|
qe.value = N.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Qt,
|
|
5432
5432
|
fo: ot,
|
|
5433
5433
|
filteredOptions: ot,
|
|
5434
|
-
hasSelected:
|
|
5434
|
+
hasSelected: sn,
|
|
5435
5435
|
multipleLabelText: pi,
|
|
5436
5436
|
eo: Te,
|
|
5437
5437
|
extendedOptions: Te,
|
|
5438
5438
|
eg: _t,
|
|
5439
5439
|
extendedGroups: _t,
|
|
5440
|
-
fg:
|
|
5441
|
-
filteredGroups:
|
|
5440
|
+
fg: nn,
|
|
5441
|
+
filteredGroups: nn,
|
|
5442
5442
|
noOptions: fi,
|
|
5443
5443
|
noResults: vi,
|
|
5444
5444
|
resolving: Me,
|
|
@@ -5450,15 +5450,15 @@ function i7(t, e, a) {
|
|
|
5450
5450
|
selectAll: yi,
|
|
5451
5451
|
clear: as,
|
|
5452
5452
|
isSelected: ze,
|
|
5453
|
-
isDisabled:
|
|
5454
|
-
isMax:
|
|
5453
|
+
isDisabled: on,
|
|
5454
|
+
isMax: rn,
|
|
5455
5455
|
getOption: xe,
|
|
5456
5456
|
handleOptionClick: gi,
|
|
5457
5457
|
handleGroupClick: _i,
|
|
5458
5458
|
handleTagRemove: Ci,
|
|
5459
5459
|
refreshOptions: Mi,
|
|
5460
5460
|
resolveOptions: ka,
|
|
5461
|
-
refreshLabels:
|
|
5461
|
+
refreshLabels: dn
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
5464
5464
|
function o7(t, e, a) {
|
|
@@ -5574,14 +5574,14 @@ function Bn(t) {
|
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
5576
|
var kt = Math.max, Na = Math.min, Zt = Math.round;
|
|
5577
|
-
function
|
|
5577
|
+
function _n() {
|
|
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 ni() {
|
|
5584
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5584
|
+
return !/^((?!chrome|android).)*safari/i.test(_n());
|
|
5585
5585
|
}
|
|
5586
5586
|
function Wt(t, e, a) {
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
@@ -5664,7 +5664,7 @@ function si(t) {
|
|
|
5664
5664
|
height: n
|
|
5665
5665
|
};
|
|
5666
5666
|
}
|
|
5667
|
-
function
|
|
5667
|
+
function Ja(t) {
|
|
5668
5668
|
return Ze(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 en(t) {
|
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Ja(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
@@ -5685,7 +5685,7 @@ function ia(t, e) {
|
|
|
5685
5685
|
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], jn(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(ia(
|
|
5688
|
+
r.concat(ia(Ja(i)))
|
|
5689
5689
|
);
|
|
5690
5690
|
}
|
|
5691
5691
|
function d7(t) {
|
|
@@ -5696,13 +5696,13 @@ function gs(t) {
|
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function p7(t) {
|
|
5699
|
-
var e = /firefox/i.test(
|
|
5699
|
+
var e = /firefox/i.test(_n()), a = /Trident/i.test(_n());
|
|
5700
5700
|
if (a && Pe(t)) {
|
|
5701
5701
|
var n = tt(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
|
-
var s =
|
|
5705
|
+
var s = Ja(t);
|
|
5706
5706
|
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ze(s)) < 0; ) {
|
|
5707
5707
|
var o = tt(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 p7(t) {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
|
-
function
|
|
5714
|
+
function en(t) {
|
|
5715
5715
|
for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
|
|
5716
5716
|
a = gs(a);
|
|
5717
5717
|
return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto",
|
|
5719
|
+
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", tn = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ tn.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
|
-
}, []), h7 = /* @__PURE__ */ [].concat(
|
|
5721
|
+
}, []), h7 = /* @__PURE__ */ [].concat(tn, [Fn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
5723
|
}, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
|
|
5724
5724
|
function A7(t) {
|
|
@@ -5807,7 +5807,7 @@ function L7(t, e) {
|
|
|
5807
5807
|
}
|
|
5808
5808
|
return !1;
|
|
5809
5809
|
}
|
|
5810
|
-
function
|
|
5810
|
+
function yn(t) {
|
|
5811
5811
|
return Object.assign({}, t, {
|
|
5812
5812
|
left: t.x,
|
|
5813
5813
|
top: t.y,
|
|
@@ -5820,10 +5820,10 @@ function H7(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 ys(t, e, a) {
|
|
5823
|
-
return e === oi ?
|
|
5823
|
+
return e === oi ? yn(E7(t, a)) : At(e) ? H7(e, a) : yn(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
|
-
var e = ia(
|
|
5826
|
+
var e = ia(Ja(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? en(t) : t;
|
|
5827
5827
|
return At(n) ? e.filter(function(s) {
|
|
5828
5828
|
return At(s) && L7(s, n) && Ze(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
@@ -5909,12 +5909,12 @@ function B7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Un(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 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(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 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, tn)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), F = li({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: C,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), U =
|
|
5917
|
+
}), U = yn(Object.assign({}, C, F)), q = d === sa ? U : H, O = {
|
|
5918
5918
|
top: L.top - q.top + k.top,
|
|
5919
5919
|
bottom: q.bottom - L.bottom + k.bottom,
|
|
5920
5920
|
left: L.left - q.left + k.left,
|
|
@@ -5980,7 +5980,7 @@ function R7(t) {
|
|
|
5980
5980
|
var k = u.elements, _ = k.reference, C = k.popper;
|
|
5981
5981
|
if (ws(_, C)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
|
-
reference: c7(_,
|
|
5983
|
+
reference: c7(_, en(C), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: si(C)
|
|
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 $s(t) {
|
|
|
6101
6101
|
h = y.x, b = y.y;
|
|
6102
6102
|
var k = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Ge, D = Re, L = window;
|
|
6103
6103
|
if (c) {
|
|
6104
|
-
var H =
|
|
6104
|
+
var H = en(a), F = "clientHeight", U = "clientWidth";
|
|
6105
6105
|
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6106
6106
|
D = We;
|
|
6107
6107
|
var q = f && H === L && L.visualViewport ? L.visualViewport.height : (
|
|
@@ -6241,7 +6241,7 @@ function ep(t) {
|
|
|
6241
6241
|
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], I = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow &&
|
|
6244
|
+
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && en(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, an = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, an) : m, M, h ? kt(I, st) : I);
|
|
6245
6245
|
H[D] = ya, R[D] = ya - M;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
@@ -6281,7 +6281,7 @@ function sp(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 ? h7 : l, u = zt(n), f = u ? r ? _s : _s.filter(function(w) {
|
|
6283
6283
|
return zt(w) === u;
|
|
6284
|
-
}) :
|
|
6284
|
+
}) : tn, d = f.filter(function(w) {
|
|
6285
6285
|
return c.indexOf(w) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
@@ -7869,7 +7869,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7869
7869
|
o.forEach((u) => {
|
|
7870
7870
|
document.body.addEventListener(u, (f) => f.preventDefault());
|
|
7871
7871
|
});
|
|
7872
|
-
}),
|
|
7872
|
+
}), $n(() => {
|
|
7873
7873
|
o.forEach((u) => {
|
|
7874
7874
|
document.body.removeEventListener(
|
|
7875
7875
|
u,
|
|
@@ -8157,7 +8157,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
8159
8159
|
});
|
|
8160
|
-
const
|
|
8160
|
+
const bn = /* @__PURE__ */ z({
|
|
8161
8161
|
__name: "AoButtonCheck",
|
|
8162
8162
|
props: {
|
|
8163
8163
|
modelValue: { type: Boolean },
|
|
@@ -8169,13 +8169,13 @@ const wn = /* @__PURE__ */ z({
|
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
8171
|
return (s, o) => (p(), P(ce, {
|
|
8172
|
-
color: s.modelValue ? s.color : Q(
|
|
8172
|
+
color: s.modelValue ? s.color : Q(Sn).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
8176
8176
|
}
|
|
8177
8177
|
}), mf = { class: "ao-activity-details" }, Cf = { class: "ao-activity-details__main" }, gf = { class: "ao-activity-details__header" }, _f = {
|
|
8178
|
-
key:
|
|
8178
|
+
key: 0,
|
|
8179
8179
|
class: "ao-activity__category"
|
|
8180
8180
|
}, yf = { class: "ao-feed__activity-details__header" }, bf = {
|
|
8181
8181
|
key: 0,
|
|
@@ -8408,12 +8408,6 @@ const wn = /* @__PURE__ */ z({
|
|
|
8408
8408
|
v("div", mf, [
|
|
8409
8409
|
v("div", Cf, [
|
|
8410
8410
|
v("div", gf, [
|
|
8411
|
-
(p(), P(qa, {
|
|
8412
|
-
key: 0,
|
|
8413
|
-
label: "slug",
|
|
8414
|
-
variant: "solid",
|
|
8415
|
-
"raw-color": "'#7183FF'"
|
|
8416
|
-
})),
|
|
8417
8411
|
m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
|
|
8418
8412
|
A(ye, {
|
|
8419
8413
|
title: m.activity.name || "",
|
|
@@ -8637,7 +8631,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8637
8631
|
te(m.$slots, "default", { activity: m.activity })
|
|
8638
8632
|
]),
|
|
8639
8633
|
v("div", av, [
|
|
8640
|
-
A(
|
|
8634
|
+
A(bn, {
|
|
8641
8635
|
modelValue: r.value,
|
|
8642
8636
|
"onUpdate:modelValue": I[6] || (I[6] = (ne) => r.value = ne),
|
|
8643
8637
|
modelModifiers: { lazy: !0 },
|
|
@@ -8652,7 +8646,7 @@ const wn = /* @__PURE__ */ z({
|
|
|
8652
8646
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8653
8647
|
]),
|
|
8654
8648
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", nv, [
|
|
8655
|
-
A(
|
|
8649
|
+
A(bn, {
|
|
8656
8650
|
modelValue: l.value,
|
|
8657
8651
|
"onUpdate:modelValue": I[7] || (I[7] = (ne) => l.value = ne),
|
|
8658
8652
|
modelModifiers: { lazy: !0 },
|
|
@@ -9149,7 +9143,7 @@ const _v = {
|
|
|
9149
9143
|
return (M, m) => {
|
|
9150
9144
|
var I, J, ae, le, ne, re;
|
|
9151
9145
|
return s.value ? (p(), g("div", _v, [
|
|
9152
|
-
A(
|
|
9146
|
+
A(Ka, {
|
|
9153
9147
|
"can-go-back": !0,
|
|
9154
9148
|
onGoBack: m[1] || (m[1] = (Y) => M.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
|
|
9155
9149
|
}, {
|
|
@@ -9378,7 +9372,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9378
9372
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9379
9373
|
}), i = S(() => {
|
|
9380
9374
|
var c;
|
|
9381
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9375
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === mn.done).length;
|
|
9382
9376
|
}), r = S(() => (i.value || 0) / (o.value || 1)), l = S({
|
|
9383
9377
|
get: () => a.deadline ?? "",
|
|
9384
9378
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9980,7 +9974,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
9980
9974
|
return p(), g(ve, null, [
|
|
9981
9975
|
v("div", He({ class: "ao-project-overview" }, O.$attrs), [
|
|
9982
9976
|
v("div", g9, [
|
|
9983
|
-
A(
|
|
9977
|
+
A(Ka, null, {
|
|
9984
9978
|
primary: W(() => [
|
|
9985
9979
|
A(ci, {
|
|
9986
9980
|
"is-left": !0,
|
|
@@ -10164,7 +10158,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10164
10158
|
}, {
|
|
10165
10159
|
header: W(() => [
|
|
10166
10160
|
v("div", b9, [
|
|
10167
|
-
n.value ? (p(), P(
|
|
10161
|
+
n.value ? (p(), P(An, {
|
|
10168
10162
|
key: 0,
|
|
10169
10163
|
label: n.value,
|
|
10170
10164
|
class: "ao-card-feed__project",
|
|
@@ -10281,7 +10275,7 @@ function zn(t) {
|
|
|
10281
10275
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10282
10276
|
return e.width = n, e.height = n, a.fillStyle = "#ffffff", a.fillRect(0, 0, n, n), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
10283
10277
|
}
|
|
10284
|
-
function
|
|
10278
|
+
function wn(t, e, a, n, s, o) {
|
|
10285
10279
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
|
|
10286
10280
|
r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
|
|
10287
10281
|
}
|
|
@@ -10347,7 +10341,7 @@ var xn = z({
|
|
|
10347
10341
|
methods: {
|
|
10348
10342
|
renderColor() {
|
|
10349
10343
|
const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
|
|
10350
|
-
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e),
|
|
10344
|
+
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), wn("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), wn("p", a, e, e, "rgba(0,0,0,0)", "#000000");
|
|
10351
10345
|
},
|
|
10352
10346
|
renderSlide() {
|
|
10353
10347
|
this.slideSaturationStyle = {
|
|
@@ -10532,7 +10526,7 @@ var Kn = z({
|
|
|
10532
10526
|
methods: {
|
|
10533
10527
|
renderColor() {
|
|
10534
10528
|
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
|
|
10535
|
-
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a),
|
|
10529
|
+
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), wn("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10536
10530
|
},
|
|
10537
10531
|
renderSlide() {
|
|
10538
10532
|
this.slideAlphaStyle = {
|
|
@@ -10834,7 +10828,7 @@ var Jn = z({
|
|
|
10834
10828
|
emits: ["selectColor"],
|
|
10835
10829
|
setup(t, { emit: e }) {
|
|
10836
10830
|
const a = ee(), n = ee([]), s = ee();
|
|
10837
|
-
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(),
|
|
10831
|
+
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(), $n(() => {
|
|
10838
10832
|
o(a.value);
|
|
10839
10833
|
});
|
|
10840
10834
|
function o(r) {
|
|
@@ -11364,7 +11358,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11364
11358
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11365
11359
|
level: 5
|
|
11366
11360
|
}, null, 8, ["title"]),
|
|
11367
|
-
A(
|
|
11361
|
+
A(bn, {
|
|
11368
11362
|
modelValue: k.value,
|
|
11369
11363
|
"onUpdate:modelValue": C[0] || (C[0] = (L) => k.value = L),
|
|
11370
11364
|
modelModifiers: { lazy: !0 },
|
|
@@ -11613,7 +11607,7 @@ const S4 = /* @__PURE__ */ z({
|
|
|
11613
11607
|
class: "ao-col-header__title",
|
|
11614
11608
|
level: 4
|
|
11615
11609
|
}, null, 8, ["title"]),
|
|
11616
|
-
e.items ? (p(), P(
|
|
11610
|
+
e.items ? (p(), P(An, {
|
|
11617
11611
|
key: 0,
|
|
11618
11612
|
label: e.items,
|
|
11619
11613
|
class: "ao-col-header__items",
|
|
@@ -11663,7 +11657,7 @@ function H4(t, e = 200, a = {}) {
|
|
|
11663
11657
|
t
|
|
11664
11658
|
);
|
|
11665
11659
|
}
|
|
11666
|
-
function
|
|
11660
|
+
function hn(t) {
|
|
11667
11661
|
var e;
|
|
11668
11662
|
const a = ja(t);
|
|
11669
11663
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
@@ -11688,18 +11682,18 @@ function B4(t, e, a = {}) {
|
|
|
11688
11682
|
immediate: r = !0
|
|
11689
11683
|
} = a, l = V4(() => i && "IntersectionObserver" in i), c = S(() => {
|
|
11690
11684
|
const w = ja(t);
|
|
11691
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
11685
|
+
return (Array.isArray(w) ? w : [w]).map(hn).filter(E4);
|
|
11692
11686
|
});
|
|
11693
11687
|
let u = oa;
|
|
11694
11688
|
const f = ee(r), d = l.value ? de(
|
|
11695
|
-
() => [c.value,
|
|
11689
|
+
() => [c.value, hn(n), f.value],
|
|
11696
11690
|
([w, b]) => {
|
|
11697
11691
|
if (u(), !f.value || !w.length)
|
|
11698
11692
|
return;
|
|
11699
11693
|
const y = new IntersectionObserver(
|
|
11700
11694
|
e,
|
|
11701
11695
|
{
|
|
11702
|
-
root:
|
|
11696
|
+
root: hn(b),
|
|
11703
11697
|
rootMargin: s,
|
|
11704
11698
|
threshold: o
|
|
11705
11699
|
}
|
|
@@ -12046,7 +12040,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12046
12040
|
return (E, N) => {
|
|
12047
12041
|
var M;
|
|
12048
12042
|
return p(), g("div", K4, [
|
|
12049
|
-
A(
|
|
12043
|
+
A(Ka, null, {
|
|
12050
12044
|
primary: W(() => [
|
|
12051
12045
|
v("div", G4, [
|
|
12052
12046
|
a.project ? (p(), P(ci, {
|
|
@@ -12300,7 +12294,7 @@ const Dt = {
|
|
|
12300
12294
|
}
|
|
12301
12295
|
};
|
|
12302
12296
|
return (r, l) => (p(), g("div", J4, [
|
|
12303
|
-
A(
|
|
12297
|
+
A(Ka, null, {
|
|
12304
12298
|
secondary: W(() => [
|
|
12305
12299
|
A(ce, {
|
|
12306
12300
|
label: r.$t("templates.new"),
|
|
@@ -12436,7 +12430,7 @@ export {
|
|
|
12436
12430
|
m8 as getProjectOverviewRoutes,
|
|
12437
12431
|
h8 as getTemplateRoutes,
|
|
12438
12432
|
v8 as listUpdateTypes,
|
|
12439
|
-
|
|
12433
|
+
mn as milestoneStatus,
|
|
12440
12434
|
Fe as projectOverviewRoutes,
|
|
12441
12435
|
R2 as ruleComparators,
|
|
12442
12436
|
j2 as ruleDurationUnits,
|