@26lights/orcha 0.36.12 → 0.36.14
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.css +1 -1
- package/dist/orcha.es.js +198 -197
- 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 q, 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 k, resolveDynamicComponent as ht, normalizeClass as Y, 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 M, normalizeStyle as
|
|
1
|
+
import { defineComponent as q, 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 k, resolveDynamicComponent as ht, normalizeClass as Y, 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 M, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as xe, 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 u8 = /* @__PURE__ */ q({
|
|
@@ -617,23 +617,23 @@ function lu(t, e) {
|
|
|
617
617
|
const uu = /* @__PURE__ */ j(su, [["render", lu]]), cu = q({
|
|
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
|
...M2
|
|
1154
1154
|
});
|
|
1155
1155
|
const Os = {
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const Mn = /* @__PURE__ */ q({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1413,7 +1413,7 @@ const Sn = /* @__PURE__ */ q({
|
|
|
1413
1413
|
s.closable ? "ao-tag--closable" : "",
|
|
1414
1414
|
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1415
1415
|
]),
|
|
1416
|
-
style:
|
|
1416
|
+
style: wn(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1417
1417
|
}, [
|
|
1418
1418
|
(p(), P(ht(a.value), He({ class: "ao-tag__label" }, n.value, {
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
@@ -1514,7 +1514,7 @@ function ra(t) {
|
|
|
1514
1514
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1515
1515
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function rs(t) {
|
|
1518
1518
|
ge(1, arguments);
|
|
1519
1519
|
var e = be(t);
|
|
1520
1520
|
return e.setHours(0, 0, 0, 0), e;
|
|
@@ -1522,7 +1522,7 @@ function os(t) {
|
|
|
1522
1522
|
var W2 = 864e5;
|
|
1523
1523
|
function q2(t, e) {
|
|
1524
1524
|
ge(2, arguments);
|
|
1525
|
-
var a =
|
|
1525
|
+
var a = rs(t), n = rs(e), s = a.getTime() - ra(a), o = n.getTime() - ra(n);
|
|
1526
1526
|
return Math.round((s - o) / W2);
|
|
1527
1527
|
}
|
|
1528
1528
|
function z2(t, e) {
|
|
@@ -2158,7 +2158,7 @@ var Ht = {
|
|
|
2158
2158
|
return "Z";
|
|
2159
2159
|
switch (a) {
|
|
2160
2160
|
case "X":
|
|
2161
|
-
return
|
|
2161
|
+
return us(i);
|
|
2162
2162
|
case "XXXX":
|
|
2163
2163
|
case "XX":
|
|
2164
2164
|
return $t(i);
|
|
@@ -2173,7 +2173,7 @@ var Ht = {
|
|
|
2173
2173
|
var o = s._originalDate || e, i = o.getTimezoneOffset();
|
|
2174
2174
|
switch (a) {
|
|
2175
2175
|
case "x":
|
|
2176
|
-
return
|
|
2176
|
+
return us(i);
|
|
2177
2177
|
case "xxxx":
|
|
2178
2178
|
case "xx":
|
|
2179
2179
|
return $t(i);
|
|
@@ -2190,7 +2190,7 @@ var Ht = {
|
|
|
2190
2190
|
case "O":
|
|
2191
2191
|
case "OO":
|
|
2192
2192
|
case "OOO":
|
|
2193
|
-
return "GMT" +
|
|
2193
|
+
return "GMT" + ls(i, ":");
|
|
2194
2194
|
case "OOOO":
|
|
2195
2195
|
default:
|
|
2196
2196
|
return "GMT" + $t(i, ":");
|
|
@@ -2203,7 +2203,7 @@ var Ht = {
|
|
|
2203
2203
|
case "z":
|
|
2204
2204
|
case "zz":
|
|
2205
2205
|
case "zzz":
|
|
2206
|
-
return "GMT" +
|
|
2206
|
+
return "GMT" + ls(i, ":");
|
|
2207
2207
|
case "zzzz":
|
|
2208
2208
|
default:
|
|
2209
2209
|
return "GMT" + $t(i, ":");
|
|
@@ -2220,14 +2220,14 @@ var Ht = {
|
|
|
2220
2220
|
return ue(i, a.length);
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
|
-
function
|
|
2223
|
+
function ls(t, e) {
|
|
2224
2224
|
var a = t > 0 ? "-" : "+", n = Math.abs(t), s = Math.floor(n / 60), o = n % 60;
|
|
2225
2225
|
if (o === 0)
|
|
2226
2226
|
return a + String(s);
|
|
2227
2227
|
var i = e || "";
|
|
2228
2228
|
return a + String(s) + i + ue(o, 2);
|
|
2229
2229
|
}
|
|
2230
|
-
function
|
|
2230
|
+
function us(t, e) {
|
|
2231
2231
|
if (t % 60 === 0) {
|
|
2232
2232
|
var a = t > 0 ? "-" : "+";
|
|
2233
2233
|
return a + ue(Math.abs(t) / 60, 2);
|
|
@@ -2239,7 +2239,7 @@ function $t(t, e) {
|
|
|
2239
2239
|
return n + o + a + i;
|
|
2240
2240
|
}
|
|
2241
2241
|
const s0 = n0;
|
|
2242
|
-
var
|
|
2242
|
+
var cs = function(e, a) {
|
|
2243
2243
|
switch (e) {
|
|
2244
2244
|
case "P":
|
|
2245
2245
|
return a.date({
|
|
@@ -2282,7 +2282,7 @@ var us = function(e, a) {
|
|
|
2282
2282
|
}, i0 = function(e, a) {
|
|
2283
2283
|
var n = e.match(/(P+)(p+)?/) || [], s = n[1], o = n[2];
|
|
2284
2284
|
if (!o)
|
|
2285
|
-
return
|
|
2285
|
+
return cs(e, a);
|
|
2286
2286
|
var i;
|
|
2287
2287
|
switch (s) {
|
|
2288
2288
|
case "P":
|
|
@@ -2307,7 +2307,7 @@ var us = function(e, a) {
|
|
|
2307
2307
|
});
|
|
2308
2308
|
break;
|
|
2309
2309
|
}
|
|
2310
|
-
return i.replace("{{date}}",
|
|
2310
|
+
return i.replace("{{date}}", cs(s, a)).replace("{{time}}", Bs(o, a));
|
|
2311
2311
|
}, o0 = {
|
|
2312
2312
|
p: Bs,
|
|
2313
2313
|
P: i0
|
|
@@ -2320,7 +2320,7 @@ function c0(t) {
|
|
|
2320
2320
|
function d0(t) {
|
|
2321
2321
|
return u0.indexOf(t) !== -1;
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function ds(t, e, a) {
|
|
2324
2324
|
if (t === "YYYY")
|
|
2325
2325
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
2326
2326
|
if (t === "YY")
|
|
@@ -2757,7 +2757,7 @@ function Ns(t, e, a) {
|
|
|
2757
2757
|
return t3(O);
|
|
2758
2758
|
var S = s0[N];
|
|
2759
2759
|
if (S)
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) &&
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) && ds(O, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(O) && ds(O, e, String(t)), S(R, O, U.localize, Z);
|
|
2761
2761
|
if (N.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
|
|
2763
2763
|
return O;
|
|
@@ -3253,11 +3253,11 @@ class Oe {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
3255
|
ha.LexoDecimal = Oe;
|
|
3256
|
-
var Ta = {},
|
|
3256
|
+
var Ta = {}, ps;
|
|
3257
3257
|
function Us() {
|
|
3258
|
-
if (
|
|
3258
|
+
if (ps)
|
|
3259
3259
|
return Ta;
|
|
3260
|
-
|
|
3260
|
+
ps = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
|
|
3261
3261
|
const t = Yt, e = Ws();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
@@ -3311,7 +3311,7 @@ function Us() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3314
|
+
var An = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
3316
3316
|
var qa = {};
|
|
3317
3317
|
Object.defineProperty(qa, "__esModule", { value: !0 });
|
|
@@ -3421,13 +3421,13 @@ xa.LexoNumeralSystem64 = k3;
|
|
|
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(Zs, t), a(qa, t), a(za, t), a(xa, t);
|
|
3424
|
-
})(
|
|
3425
|
-
var
|
|
3424
|
+
})(An);
|
|
3425
|
+
var fs;
|
|
3426
3426
|
function Ws() {
|
|
3427
|
-
if (
|
|
3427
|
+
if (fs)
|
|
3428
3428
|
return aa;
|
|
3429
|
-
|
|
3430
|
-
const t = ha, e = Us(), a = ma, n =
|
|
3429
|
+
fs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
+
const t = ha, e = Us(), a = ma, n = An;
|
|
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 Ws() {
|
|
|
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(Fs, t), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(An, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
3633
|
function qs(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3671,17 +3671,17 @@ function jt(t, e) {
|
|
|
3671
3671
|
return Ie.LexoRank.parse(n.rank).between(Ie.LexoRank.parse(a.rank)).format();
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
function
|
|
3674
|
+
function Tn(t, e = "dd/MM/yyyy") {
|
|
3675
3675
|
if (!t)
|
|
3676
3676
|
return "";
|
|
3677
3677
|
const a = la(t);
|
|
3678
3678
|
return Ds(a) ? Ns(a, e) : "";
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3680
|
+
function On(t, e) {
|
|
3681
3681
|
return t.status.id === e.id;
|
|
3682
3682
|
}
|
|
3683
3683
|
function T3(t, e) {
|
|
3684
|
-
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !
|
|
3684
|
+
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !On(a, e));
|
|
3685
3685
|
}
|
|
3686
3686
|
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
@@ -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(Mn, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -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: () => Za.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Os.ROUNDED }
|
|
@@ -3900,7 +3900,7 @@ const a5 = ["type"], n5 = {
|
|
|
3900
3900
|
const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" },
|
|
3903
|
+
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" }, En = /* @__PURE__ */ q({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3961,7 +3961,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
3961
3961
|
var s;
|
|
3962
3962
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3963
3963
|
}), n = k(() => e.milestones ? qs(e.milestones) : 0);
|
|
3964
|
-
return (s, o) => (p(), P(
|
|
3964
|
+
return (s, o) => (p(), P(En, He({
|
|
3965
3965
|
id: s.id,
|
|
3966
3966
|
title: s.name,
|
|
3967
3967
|
activities: n.value,
|
|
@@ -3983,7 +3983,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
3983
3983
|
var n;
|
|
3984
3984
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3985
3985
|
});
|
|
3986
|
-
return (n, s) => (p(), P(
|
|
3986
|
+
return (n, s) => (p(), P(En, { activities: a.value }, {
|
|
3987
3987
|
default: W(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
@@ -4070,7 +4070,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4070
4070
|
var n;
|
|
4071
4071
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4072
4072
|
});
|
|
4073
|
-
return (n, s) => (p(), P(
|
|
4073
|
+
return (n, s) => (p(), P(En, { tasks: a.value }, {
|
|
4074
4074
|
default: W(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
@@ -4151,7 +4151,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4151
4151
|
}, C5 = { class: "ao-modal__header-meta" }, g5 = { class: "ao-modal__title-group" }, _5 = { class: "ao-modal__body" }, y5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
|
-
},
|
|
4154
|
+
}, In = /* @__PURE__ */ q({
|
|
4155
4155
|
__name: "AoModal",
|
|
4156
4156
|
props: {
|
|
4157
4157
|
size: { default: "md" }
|
|
@@ -4201,7 +4201,7 @@ const ua = Math.min, Ee = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) =
|
|
|
4201
4201
|
start: "end",
|
|
4202
4202
|
end: "start"
|
|
4203
4203
|
};
|
|
4204
|
-
function
|
|
4204
|
+
function Ln(t, e) {
|
|
4205
4205
|
return typeof t == "function" ? t(e) : t;
|
|
4206
4206
|
}
|
|
4207
4207
|
function Ft(t) {
|
|
@@ -4216,11 +4216,11 @@ function $5(t) {
|
|
|
4216
4216
|
function xs(t) {
|
|
4217
4217
|
return t === "y" ? "height" : "width";
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function Hn(t) {
|
|
4220
4220
|
return ["top", "bottom"].includes(Ft(t)) ? "y" : "x";
|
|
4221
4221
|
}
|
|
4222
4222
|
function Ys(t) {
|
|
4223
|
-
return $5(
|
|
4223
|
+
return $5(Hn(t));
|
|
4224
4224
|
}
|
|
4225
4225
|
function k5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
@@ -4282,12 +4282,12 @@ function Ra(t) {
|
|
|
4282
4282
|
bottom: t.y + t.height
|
|
4283
4283
|
};
|
|
4284
4284
|
}
|
|
4285
|
-
function
|
|
4285
|
+
function vs(t, e, a) {
|
|
4286
4286
|
let {
|
|
4287
4287
|
reference: n,
|
|
4288
4288
|
floating: s
|
|
4289
4289
|
} = t;
|
|
4290
|
-
const o =
|
|
4290
|
+
const o = Hn(e), i = Ys(e), r = xs(i), l = Ft(e), c = o === "y", u = n.x + n.width / 2 - s.width / 2, f = n.y + n.height / 2 - s.height / 2, d = n[r] / 2 - s[r] / 2;
|
|
4291
4291
|
let C;
|
|
4292
4292
|
switch (l) {
|
|
4293
4293
|
case "top":
|
|
@@ -4344,7 +4344,7 @@ const E5 = async (t, e, a) => {
|
|
|
4344
4344
|
}), {
|
|
4345
4345
|
x: u,
|
|
4346
4346
|
y: f
|
|
4347
|
-
} =
|
|
4347
|
+
} = vs(c, n, l), d = n, C = {}, b = 0;
|
|
4348
4348
|
for (let y = 0; y < r.length; y++) {
|
|
4349
4349
|
const {
|
|
4350
4350
|
name: _,
|
|
@@ -4382,7 +4382,7 @@ const E5 = async (t, e, a) => {
|
|
|
4382
4382
|
}) : D.rects), {
|
|
4383
4383
|
x: u,
|
|
4384
4384
|
y: f
|
|
4385
|
-
} =
|
|
4385
|
+
} = vs(c, d, l)), y = -1;
|
|
4386
4386
|
continue;
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
@@ -4410,7 +4410,7 @@ async function Ks(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: C = 0
|
|
4413
|
-
} =
|
|
4413
|
+
} = Ln(e, t), b = O5(C), _ = r[d ? f === "floating" ? "reference" : "floating" : f], h = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4458,7 +4458,7 @@ const I5 = function(t) {
|
|
|
4458
4458
|
fallbackAxisSideDirection: b = "none",
|
|
4459
4459
|
flipAlignment: y = !0,
|
|
4460
4460
|
..._
|
|
4461
|
-
} =
|
|
4461
|
+
} = Ln(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const h = Ft(s), A = Ft(r) === r, w = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = d || (A || !y ? [Ba(r)] : S5(r));
|
|
@@ -4522,7 +4522,7 @@ const I5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} =
|
|
4525
|
+
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u = Ka(a), f = Hn(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: C
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4575,7 +4575,7 @@ function et(t) {
|
|
|
4575
4575
|
function Fe(t) {
|
|
4576
4576
|
return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
|
-
function
|
|
4578
|
+
function hs(t) {
|
|
4579
4579
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof ke(t).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
4581
|
function ga(t) {
|
|
@@ -4590,20 +4590,20 @@ function ga(t) {
|
|
|
4590
4590
|
function H5(t) {
|
|
4591
4591
|
return ["table", "td", "th"].includes(ft(t));
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4594
|
-
const e =
|
|
4593
|
+
function Dn(t) {
|
|
4594
|
+
const e = Pn(), a = Ve(t);
|
|
4595
4595
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (a.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (a.contain || "").includes(n));
|
|
4596
4596
|
}
|
|
4597
4597
|
function D5(t) {
|
|
4598
4598
|
let e = Ut(t);
|
|
4599
4599
|
for (; Fe(e) && !Ga(e); ) {
|
|
4600
|
-
if (
|
|
4600
|
+
if (Dn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Ut(e);
|
|
4603
4603
|
}
|
|
4604
4604
|
return null;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Pn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
4609
|
function Ga(t) {
|
|
@@ -4628,10 +4628,10 @@ function Ut(t) {
|
|
|
4628
4628
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4629
4629
|
t.assignedSlot || // DOM Element detected.
|
|
4630
4630
|
t.parentNode || // ShadowRoot detected.
|
|
4631
|
-
|
|
4631
|
+
hs(t) && t.host || // Fallback.
|
|
4632
4632
|
at(t)
|
|
4633
4633
|
);
|
|
4634
|
-
return
|
|
4634
|
+
return hs(e) ? e.host : e;
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
@@ -4653,11 +4653,11 @@ function Qs(t) {
|
|
|
4653
4653
|
$: r
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
|
-
function
|
|
4656
|
+
function Vn(t) {
|
|
4657
4657
|
return et(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
4659
|
function Vt(t) {
|
|
4660
|
-
const e =
|
|
4660
|
+
const e = Vn(t);
|
|
4661
4661
|
if (!Fe(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
@@ -4674,7 +4674,7 @@ function Vt(t) {
|
|
|
4674
4674
|
const P5 = /* @__PURE__ */ pt(0);
|
|
4675
4675
|
function Js(t) {
|
|
4676
4676
|
const e = ke(t);
|
|
4677
|
-
return !
|
|
4677
|
+
return !Pn() || !e.visualViewport ? P5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
@@ -4684,7 +4684,7 @@ function V5(t, e, a) {
|
|
|
4684
4684
|
}
|
|
4685
4685
|
function St(t, e, a, n) {
|
|
4686
4686
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4687
|
-
const s = t.getBoundingClientRect(), o =
|
|
4687
|
+
const s = t.getBoundingClientRect(), o = Vn(t);
|
|
4688
4688
|
let i = pt(1);
|
|
4689
4689
|
e && (n ? et(n) && (i = Vt(n)) : i = Vt(t));
|
|
4690
4690
|
const r = V5(o, a, n) ? Js(o) : pt(0);
|
|
@@ -4751,7 +4751,7 @@ function j5(t, e) {
|
|
|
4751
4751
|
let o = n.clientWidth, i = n.clientHeight, r = 0, l = 0;
|
|
4752
4752
|
if (s) {
|
|
4753
4753
|
o = s.width, i = s.height;
|
|
4754
|
-
const c =
|
|
4754
|
+
const c = Pn();
|
|
4755
4755
|
(!c || c && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
4756
4756
|
}
|
|
4757
4757
|
return {
|
|
@@ -4770,7 +4770,7 @@ function F5(t, e) {
|
|
|
4770
4770
|
y: c
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function ms(t, e, a) {
|
|
4774
4774
|
let n;
|
|
4775
4775
|
if (e === "viewport")
|
|
4776
4776
|
n = j5(t, a);
|
|
@@ -4800,7 +4800,7 @@ function U5(t, e) {
|
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
4802
|
for (; et(i) && !Ga(i); ) {
|
|
4803
|
-
const r = Ve(i), l =
|
|
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
|
}
|
|
4806
4806
|
return e.set(t, n), n;
|
|
@@ -4813,9 +4813,9 @@ function Z5(t) {
|
|
|
4813
4813
|
strategy: s
|
|
4814
4814
|
} = t;
|
|
4815
4815
|
const i = [...a === "clippingAncestors" ? U5(e, this._c) : [].concat(a), n], r = i[0], l = i.reduce((c, u) => {
|
|
4816
|
-
const f =
|
|
4816
|
+
const f = ms(e, u, s);
|
|
4817
4817
|
return c.top = Ee(f.top, c.top), c.right = ua(f.right, c.right), c.bottom = ua(f.bottom, c.bottom), c.left = Ee(f.left, c.left), c;
|
|
4818
|
-
},
|
|
4818
|
+
}, ms(e, r, s));
|
|
4819
4819
|
return {
|
|
4820
4820
|
width: l.right - l.left,
|
|
4821
4821
|
height: l.bottom - l.top,
|
|
@@ -4846,17 +4846,17 @@ function q5(t, e, a) {
|
|
|
4846
4846
|
height: i.height
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4849
|
+
function Cs(t, e) {
|
|
4850
4850
|
return !Fe(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ai(t, e) {
|
|
4853
4853
|
const a = ke(t);
|
|
4854
4854
|
if (!Fe(t))
|
|
4855
4855
|
return a;
|
|
4856
|
-
let n =
|
|
4856
|
+
let n = Cs(t, e);
|
|
4857
4857
|
for (; n && H5(n) && Ve(n).position === "static"; )
|
|
4858
|
-
n =
|
|
4859
|
-
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !
|
|
4858
|
+
n = Cs(n, e);
|
|
4859
|
+
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !Dn(n)) ? a : n || D5(t) || a;
|
|
4860
4860
|
}
|
|
4861
4861
|
const z5 = async function(t) {
|
|
4862
4862
|
let {
|
|
@@ -4942,7 +4942,7 @@ function G5(t, e, a, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
|
-
} = n, c =
|
|
4945
|
+
} = n, c = Vn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
4946
|
u.forEach((h) => {
|
|
4947
4947
|
s && h.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
@@ -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
|
};
|
|
@@ -5244,27 +5244,27 @@ function i7(t, e, a) {
|
|
|
5244
5244
|
we(x.value.concat($));
|
|
5245
5245
|
break;
|
|
5246
5246
|
}
|
|
5247
|
-
e.emit("select",
|
|
5247
|
+
e.emit("select", es($), $, re);
|
|
5248
5248
|
}, It = ($) => {
|
|
5249
5249
|
switch (typeof $ != "object" && ($ = ze($)), s.value) {
|
|
5250
5250
|
case "single":
|
|
5251
|
-
|
|
5251
|
+
as();
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
5254
|
case "multiple":
|
|
5255
5255
|
we(Array.isArray($) ? x.value.filter((B) => $.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1) : x.value.filter((B) => B[H.value] != $[H.value]));
|
|
5256
5256
|
break;
|
|
5257
5257
|
}
|
|
5258
|
-
e.emit("deselect",
|
|
5259
|
-
},
|
|
5258
|
+
e.emit("deselect", es($), $, re);
|
|
5259
|
+
}, es = ($) => b.value ? $ : $[H.value], ts = ($) => {
|
|
5260
5260
|
It($);
|
|
5261
5261
|
}, Ci = ($, B) => {
|
|
5262
5262
|
if (B.button !== 0) {
|
|
5263
5263
|
B.preventDefault();
|
|
5264
5264
|
return;
|
|
5265
5265
|
}
|
|
5266
|
-
|
|
5267
|
-
},
|
|
5266
|
+
ts($);
|
|
5267
|
+
}, as = () => {
|
|
5268
5268
|
we(hi.value), e.emit("clear", re);
|
|
5269
5269
|
}, qe = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
@@ -5280,13 +5280,13 @@ function i7(t, e, a) {
|
|
|
5280
5280
|
if (!sn($)) {
|
|
5281
5281
|
if (J && J.value && !qe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
5282
|
Ae.value = !0, $.then((B) => {
|
|
5283
|
-
Ae.value = !1,
|
|
5283
|
+
Ae.value = !1, ns(B);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
5287
|
-
|
|
5287
|
+
ns($);
|
|
5288
5288
|
}
|
|
5289
|
-
},
|
|
5289
|
+
}, ns = ($) => {
|
|
5290
5290
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
5292
|
if ($ && qe($)) {
|
|
@@ -5343,9 +5343,9 @@ function i7(t, e, a) {
|
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && w.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
|
-
me || (me = (bt,
|
|
5347
|
-
let
|
|
5348
|
-
return le.value ?
|
|
5346
|
+
me || (me = (bt, is, i8) => yt.value.some((Ti) => {
|
|
5347
|
+
let os = fn(ya(bt[Ti]), K.value);
|
|
5348
|
+
return le.value ? os.startsWith(fn(is, K.value)) : os.indexOf(fn(is, K.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;
|
|
@@ -5391,7 +5391,7 @@ function i7(t, e, a) {
|
|
|
5391
5391
|
[u.value]: B,
|
|
5392
5392
|
[H.value]: B,
|
|
5393
5393
|
[yt.value[0]]: B
|
|
5394
|
-
}),
|
|
5394
|
+
}), ss = () => {
|
|
5395
5395
|
Be.value = de(X, ($) => {
|
|
5396
5396
|
$.length < A.value || !$ && A.value !== 0 || (Ae.value = !0, E.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
$ == X.value && n.value(X.value, re).then((B) => {
|
|
@@ -5407,8 +5407,8 @@ function i7(t, e, a) {
|
|
|
5407
5407
|
};
|
|
5408
5408
|
if (s.value !== "single" && !je(V.value) && !Array.isArray(V.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ? h.value ? ka($a) : b.value == !0 && $a() : (Ne.value = n.value, $a()), _.value > -1 &&
|
|
5411
|
-
Be.value && Be.value(), $ >= 0 &&
|
|
5410
|
+
return n && typeof n.value == "function" ? h.value ? ka($a) : b.value == !0 && $a() : (Ne.value = n.value, $a()), _.value > -1 && ss(), de(_, ($, B) => {
|
|
5411
|
+
Be.value && Be.value(), $ >= 0 && ss();
|
|
5412
5412
|
}), de(V, ($) => {
|
|
5413
5413
|
if (je($)) {
|
|
5414
5414
|
we(Sa($), !1);
|
|
@@ -5446,9 +5446,9 @@ function i7(t, e, a) {
|
|
|
5446
5446
|
offset: We,
|
|
5447
5447
|
select: Et,
|
|
5448
5448
|
deselect: It,
|
|
5449
|
-
remove:
|
|
5449
|
+
remove: ts,
|
|
5450
5450
|
selectAll: yi,
|
|
5451
|
-
clear:
|
|
5451
|
+
clear: as,
|
|
5452
5452
|
isSelected: qe,
|
|
5453
5453
|
isDisabled: sn,
|
|
5454
5454
|
isMax: on,
|
|
@@ -5567,7 +5567,7 @@ function Pe(t) {
|
|
|
5567
5567
|
var e = Se(t).HTMLElement;
|
|
5568
5568
|
return t instanceof e || t instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
5570
|
-
function
|
|
5570
|
+
function Bn(t) {
|
|
5571
5571
|
if (typeof ShadowRoot > "u")
|
|
5572
5572
|
return !1;
|
|
5573
5573
|
var e = Se(t).ShadowRoot;
|
|
@@ -5599,7 +5599,7 @@ function Wt(t, e, a) {
|
|
|
5599
5599
|
y: u
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
|
-
function
|
|
5602
|
+
function Rn(t) {
|
|
5603
5603
|
var e = Se(t), a = e.pageXOffset, n = e.pageYOffset;
|
|
5604
5604
|
return {
|
|
5605
5605
|
scrollLeft: a,
|
|
@@ -5613,7 +5613,7 @@ function r7(t) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function l7(t) {
|
|
5616
|
-
return t === Se(t) || !Pe(t) ?
|
|
5616
|
+
return t === Se(t) || !Pe(t) ? Rn(t) : r7(t);
|
|
5617
5617
|
}
|
|
5618
5618
|
function Ue(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -5624,13 +5624,13 @@ function gt(t) {
|
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5628
|
-
return Wt(gt(t)).left +
|
|
5627
|
+
function Nn(t) {
|
|
5628
|
+
return Wt(gt(t)).left + Rn(t).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
5630
|
function tt(t) {
|
|
5631
5631
|
return Se(t).getComputedStyle(t);
|
|
5632
5632
|
}
|
|
5633
|
-
function
|
|
5633
|
+
function jn(t) {
|
|
5634
5634
|
var e = tt(t), a = e.overflow, n = e.overflowX, s = e.overflowY;
|
|
5635
5635
|
return /auto|scroll|overlay|hidden/.test(a + s + n);
|
|
5636
5636
|
}
|
|
@@ -5648,7 +5648,7 @@ function c7(t, e, a) {
|
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
5650
|
return (n || !n && !a) && ((Ue(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
-
|
|
5651
|
+
jn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Nn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
5654
5654
|
width: i.width,
|
|
@@ -5671,18 +5671,18 @@ function Qa(t) {
|
|
|
5671
5671
|
// $FlowFixMe[prop-missing]
|
|
5672
5672
|
t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
5673
5673
|
t.parentNode || // DOM Element detected
|
|
5674
|
-
(
|
|
5674
|
+
(Bn(t) ? t.host : null) || // ShadowRoot detected
|
|
5675
5675
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5676
5676
|
gt(t)
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Pe(t) &&
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Qa(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
5684
5684
|
e === void 0 && (e = []);
|
|
5685
|
-
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [],
|
|
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
5688
|
r.concat(ia(Qa(i)))
|
|
@@ -5691,7 +5691,7 @@ function ia(t, e) {
|
|
|
5691
5691
|
function d7(t) {
|
|
5692
5692
|
return ["table", "td", "th"].indexOf(Ue(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
|
-
function
|
|
5694
|
+
function gs(t) {
|
|
5695
5695
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
@@ -5703,7 +5703,7 @@ function p7(t) {
|
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var s = Qa(t);
|
|
5706
|
-
for (
|
|
5706
|
+
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ue(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")
|
|
5709
5709
|
return s;
|
|
@@ -5712,13 +5712,13 @@ function p7(t) {
|
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
5714
|
function Ja(t) {
|
|
5715
|
-
for (var e = Se(t), a =
|
|
5716
|
-
a =
|
|
5715
|
+
for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
|
|
5716
|
+
a = gs(a);
|
|
5717
5717
|
return a && (Ue(a) === "html" || Ue(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", Ze = "bottom", vt = "right", Ge = "left",
|
|
5719
|
+
var Re = "top", Ze = "bottom", vt = "right", Ge = "left", Fn = "auto", en = [Re, Ze, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ en.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
|
-
}, []), h7 = /* @__PURE__ */ [].concat(en, [
|
|
5721
|
+
}, []), h7 = /* @__PURE__ */ [].concat(en, [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 M7(t) {
|
|
@@ -5780,12 +5780,12 @@ function E7(t, e) {
|
|
|
5780
5780
|
return {
|
|
5781
5781
|
width: o,
|
|
5782
5782
|
height: i,
|
|
5783
|
-
x: r +
|
|
5783
|
+
x: r + Nn(t),
|
|
5784
5784
|
y: l
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function I7(t) {
|
|
5788
|
-
var e, a = gt(t), n =
|
|
5788
|
+
var e, a = gt(t), n = Rn(t), s = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), r = -n.scrollLeft + Nn(t), l = -n.scrollTop;
|
|
5789
5789
|
return tt(s || a).direction === "rtl" && (r += kt(a.clientWidth, s ? s.clientWidth : 0) - o), {
|
|
5790
5790
|
width: o,
|
|
5791
5791
|
height: i,
|
|
@@ -5797,7 +5797,7 @@ function L7(t, e) {
|
|
|
5797
5797
|
var a = e.getRootNode && e.getRootNode();
|
|
5798
5798
|
if (t.contains(e))
|
|
5799
5799
|
return !0;
|
|
5800
|
-
if (a &&
|
|
5800
|
+
if (a && Bn(a)) {
|
|
5801
5801
|
var n = e;
|
|
5802
5802
|
do {
|
|
5803
5803
|
if (n && t.isSameNode(n))
|
|
@@ -5819,7 +5819,7 @@ function H7(t, e) {
|
|
|
5819
5819
|
var a = Wt(t, !1, e === "fixed");
|
|
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
|
-
function
|
|
5822
|
+
function ys(t, e, a) {
|
|
5823
5823
|
return e === oi ? _n(E7(t, a)) : Mt(e) ? H7(e, a) : _n(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
@@ -5830,9 +5830,9 @@ function D7(t) {
|
|
|
5830
5830
|
}
|
|
5831
5831
|
function P7(t, e, a, n) {
|
|
5832
5832
|
var s = e === "clippingParents" ? D7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(l, c) {
|
|
5833
|
-
var u =
|
|
5833
|
+
var u = ys(t, c, n);
|
|
5834
5834
|
return l.top = kt(u.top, l.top), l.right = Na(u.right, l.right), l.bottom = Na(u.bottom, l.bottom), l.left = kt(u.left, l.left), l;
|
|
5835
|
-
},
|
|
5835
|
+
}, ys(t, i, n));
|
|
5836
5836
|
return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
5837
5837
|
}
|
|
5838
5838
|
function ct(t) {
|
|
@@ -5907,7 +5907,7 @@ function B7(t, e) {
|
|
|
5907
5907
|
return a[n] = t, a;
|
|
5908
5908
|
}, {});
|
|
5909
5909
|
}
|
|
5910
|
-
function
|
|
5910
|
+
function Un(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
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, C = a.altBoundary, b = C === void 0 ? !1 : C, y = a.padding, _ = y === void 0 ? 0 : y, h = V7(typeof _ != "number" ? _ : B7(_, en)), A = d === sa ? v7 : sa, w = t.rects.popper, E = t.elements[b ? A : d], D = P7(Mt(E) ? E : E.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), U = li({
|
|
5913
5913
|
reference: H,
|
|
@@ -5929,12 +5929,12 @@ function Fn(t, e) {
|
|
|
5929
5929
|
}
|
|
5930
5930
|
return I;
|
|
5931
5931
|
}
|
|
5932
|
-
var
|
|
5932
|
+
var bs = {
|
|
5933
5933
|
placement: "bottom",
|
|
5934
5934
|
modifiers: [],
|
|
5935
5935
|
strategy: "absolute"
|
|
5936
5936
|
};
|
|
5937
|
-
function
|
|
5937
|
+
function ws() {
|
|
5938
5938
|
for (var t = arguments.length, e = new Array(t), a = 0; a < t; a++)
|
|
5939
5939
|
e[a] = arguments[a];
|
|
5940
5940
|
return !e.some(function(n) {
|
|
@@ -5943,13 +5943,13 @@ function bs() {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function R7(t) {
|
|
5945
5945
|
t === void 0 && (t = {});
|
|
5946
|
-
var e = t, a = e.defaultModifiers, n = a === void 0 ? [] : a, s = e.defaultOptions, o = s === void 0 ?
|
|
5946
|
+
var e = t, a = e.defaultModifiers, n = a === void 0 ? [] : a, s = e.defaultOptions, o = s === void 0 ? bs : s;
|
|
5947
5947
|
return function(r, l, c) {
|
|
5948
5948
|
c === void 0 && (c = o);
|
|
5949
5949
|
var u = {
|
|
5950
5950
|
placement: "bottom",
|
|
5951
5951
|
orderedModifiers: [],
|
|
5952
|
-
options: Object.assign({},
|
|
5952
|
+
options: Object.assign({}, bs, o),
|
|
5953
5953
|
modifiersData: {},
|
|
5954
5954
|
elements: {
|
|
5955
5955
|
reference: r,
|
|
@@ -5978,7 +5978,7 @@ function R7(t) {
|
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!d) {
|
|
5980
5980
|
var h = u.elements, A = h.reference, w = h.popper;
|
|
5981
|
-
if (
|
|
5981
|
+
if (ws(A, w)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
5983
|
reference: c7(A, Ja(w), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: si(w)
|
|
@@ -6012,7 +6012,7 @@ function R7(t) {
|
|
|
6012
6012
|
y(), d = !0;
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
|
-
if (!
|
|
6015
|
+
if (!ws(r, l))
|
|
6016
6016
|
return C;
|
|
6017
6017
|
C.setOptions(c).then(function(_) {
|
|
6018
6018
|
!d && c.onFirstUpdate && c.onFirstUpdate(_);
|
|
@@ -6090,7 +6090,7 @@ function W7(t, e) {
|
|
|
6090
6090
|
y: Zt(n * s) / s || 0
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6093
|
+
function $s(t) {
|
|
6094
6094
|
var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, d = i.x, C = d === void 0 ? 0 : d, b = i.y, y = b === void 0 ? 0 : b, _ = typeof u == "function" ? u({
|
|
6095
6095
|
x: C,
|
|
6096
6096
|
y
|
|
@@ -6143,12 +6143,12 @@ function q7(t) {
|
|
|
6143
6143
|
gpuAcceleration: s,
|
|
6144
6144
|
isFixed: e.options.strategy === "fixed"
|
|
6145
6145
|
};
|
|
6146
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
6146
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, $s(Object.assign({}, c, {
|
|
6147
6147
|
offsets: e.modifiersData.popperOffsets,
|
|
6148
6148
|
position: e.options.strategy,
|
|
6149
6149
|
adaptive: i,
|
|
6150
6150
|
roundOffsets: l
|
|
6151
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
6151
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, $s(Object.assign({}, c, {
|
|
6152
6152
|
offsets: e.modifiersData.arrow,
|
|
6153
6153
|
position: "absolute",
|
|
6154
6154
|
adaptive: !1,
|
|
@@ -6219,7 +6219,7 @@ function J7(t, e, a) {
|
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function ep(t) {
|
|
6222
|
-
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, C = d === void 0 ? !0 : d, b = a.tetherOffset, y = b === void 0 ? 0 : b, _ =
|
|
6222
|
+
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, C = d === void 0 ? !0 : d, b = a.tetherOffset, y = b === void 0 ? 0 : b, _ = Un(e, {
|
|
6223
6223
|
boundary: l,
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: f,
|
|
@@ -6272,21 +6272,21 @@ var np = {
|
|
|
6272
6272
|
start: "end",
|
|
6273
6273
|
end: "start"
|
|
6274
6274
|
};
|
|
6275
|
-
function
|
|
6275
|
+
function ks(t) {
|
|
6276
6276
|
return t.replace(/start|end/g, function(e) {
|
|
6277
6277
|
return np[e];
|
|
6278
6278
|
});
|
|
6279
6279
|
}
|
|
6280
6280
|
function sp(t, e) {
|
|
6281
6281
|
e === void 0 && (e = {});
|
|
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 ?
|
|
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(b) {
|
|
6283
6283
|
return zt(b) === u;
|
|
6284
6284
|
}) : en, d = f.filter(function(b) {
|
|
6285
6285
|
return c.indexOf(b) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
6288
6288
|
var C = d.reduce(function(b, y) {
|
|
6289
|
-
return b[y] =
|
|
6289
|
+
return b[y] = Un(t, {
|
|
6290
6290
|
placement: y,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
@@ -6298,16 +6298,16 @@ function sp(t, e) {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function ip(t) {
|
|
6301
|
-
if (ct(t) ===
|
|
6301
|
+
if (ct(t) === Fn)
|
|
6302
6302
|
return [];
|
|
6303
6303
|
var e = La(t);
|
|
6304
|
-
return [
|
|
6304
|
+
return [ks(t), e, ks(e)];
|
|
6305
6305
|
}
|
|
6306
6306
|
function op(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
6309
|
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, C = a.flipVariations, b = C === void 0 ? !0 : C, y = a.allowedAutoPlacements, _ = e.options.placement, h = ct(_), A = h === _, w = l || (A || !b ? [La(_)] : ip(_)), E = [_].concat(w).reduce(function(re, x) {
|
|
6310
|
-
return re.concat(ct(x) ===
|
|
6310
|
+
return re.concat(ct(x) === Fn ? sp(e, {
|
|
6311
6311
|
placement: x,
|
|
6312
6312
|
boundary: u,
|
|
6313
6313
|
rootBoundary: f,
|
|
@@ -6316,7 +6316,7 @@ function op(t) {
|
|
|
6316
6316
|
allowedAutoPlacements: y
|
|
6317
6317
|
}) : x);
|
|
6318
6318
|
}, []), D = e.rects.reference, H = e.rects.popper, U = /* @__PURE__ */ new Map(), F = !0, z = E[0], I = 0; I < E.length; I++) {
|
|
6319
|
-
var K = E[I], R = ct(K), Z = zt(K) === qt, ie = [Re, Ze].indexOf(R) >= 0, O = ie ? "width" : "height", N =
|
|
6319
|
+
var K = E[I], R = ct(K), Z = zt(K) === qt, ie = [Re, Ze].indexOf(R) >= 0, O = ie ? "width" : "height", N = Un(e, {
|
|
6320
6320
|
placement: K,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: f,
|
|
@@ -7668,7 +7668,7 @@ const $e = /* @__PURE__ */ q({
|
|
|
7668
7668
|
]), 1536));
|
|
7669
7669
|
}
|
|
7670
7670
|
});
|
|
7671
|
-
var
|
|
7671
|
+
var Ss;
|
|
7672
7672
|
function Tt() {
|
|
7673
7673
|
const t = Np(), e = t.appContext.config.globalProperties;
|
|
7674
7674
|
return {
|
|
@@ -7693,10 +7693,10 @@ q({
|
|
|
7693
7693
|
return () => {
|
|
7694
7694
|
const a = t.translation, n = [];
|
|
7695
7695
|
let s, o = 0;
|
|
7696
|
-
for (; (s =
|
|
7696
|
+
for (; (s = Ss.exec(a)) !== null; ) {
|
|
7697
7697
|
n.push(a.substring(o, s.index));
|
|
7698
7698
|
const i = e[s[1]];
|
|
7699
|
-
i ? n.push(...i()) : n.push(s[0]), o =
|
|
7699
|
+
i ? n.push(...i()) : n.push(s[0]), o = Ss.lastIndex;
|
|
7700
7700
|
}
|
|
7701
7701
|
return n.push(a.substring(o)), n;
|
|
7702
7702
|
};
|
|
@@ -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,
|
|
@@ -8169,7 +8169,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
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"]));
|
|
@@ -8201,7 +8201,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8201
8201
|
}, s9 = { class: "ao-fieldset ao-activity-details__aside-section" }, i9 = { class: "ao-fieldset__title" }, o9 = { class: "ao-fieldset__body" }, r9 = { class: "ao-field__row" }, l9 = { class: "ao-field ao-field--multiselect" }, u9 = { class: "ao-field__label" }, c9 = { class: "ao-field__row" }, d9 = { class: "ao-field ao-field--multiselect" }, p9 = { class: "ao-field__label" }, f9 = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
}, v9 = { class: "ao-activity__created-by" },
|
|
8204
|
+
}, v9 = { class: "ao-activity__created-by" }, Zn = /* @__PURE__ */ q({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8399,7 +8399,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8399
8399
|
var m, L;
|
|
8400
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((L = a.activity.createdBy) == null ? void 0 : L.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
8402
|
-
return (m, L) => (p(), P(
|
|
8402
|
+
return (m, L) => (p(), P(In, {
|
|
8403
8403
|
onClose: L[10] || (L[10] = (J) => m.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
8405
|
default: W(() => {
|
|
@@ -8859,7 +8859,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8859
8859
|
}, n = (s) => {
|
|
8860
8860
|
e("removeRule", s);
|
|
8861
8861
|
};
|
|
8862
|
-
return (s, o) => (p(), P(
|
|
8862
|
+
return (s, o) => (p(), P(In, null, {
|
|
8863
8863
|
header: W(() => [
|
|
8864
8864
|
M(ye, {
|
|
8865
8865
|
title: s.$t("template.rules.title"),
|
|
@@ -9234,7 +9234,7 @@ const _9 = {
|
|
|
9234
9234
|
])
|
|
9235
9235
|
]),
|
|
9236
9236
|
(p(), P(Nt, { to: "body" }, [
|
|
9237
|
-
u.value ? (p(), P(
|
|
9237
|
+
u.value ? (p(), P(Zn, {
|
|
9238
9238
|
key: 0,
|
|
9239
9239
|
activity: u.value,
|
|
9240
9240
|
"activity-types": S.activityTypes,
|
|
@@ -9285,7 +9285,7 @@ const A9 = {
|
|
|
9285
9285
|
}, T9 = { class: "ao-card__body" }, O9 = {
|
|
9286
9286
|
key: 1,
|
|
9287
9287
|
class: "ao-card__footer"
|
|
9288
|
-
},
|
|
9288
|
+
}, Wn = /* @__PURE__ */ q({
|
|
9289
9289
|
__name: "AoCard",
|
|
9290
9290
|
props: {
|
|
9291
9291
|
isClickable: { type: Boolean },
|
|
@@ -9317,7 +9317,7 @@ const A9 = {
|
|
|
9317
9317
|
}, 8, ["class"]));
|
|
9318
9318
|
}
|
|
9319
9319
|
});
|
|
9320
|
-
const
|
|
9320
|
+
const qn = /* @__PURE__ */ q({
|
|
9321
9321
|
__name: "AoProgress",
|
|
9322
9322
|
props: {
|
|
9323
9323
|
percentages: {},
|
|
@@ -9332,7 +9332,7 @@ const Wn = /* @__PURE__ */ q({
|
|
|
9332
9332
|
(p(!0), g(ve, null, _e(a.value, (o) => (p(), g("div", {
|
|
9333
9333
|
key: o,
|
|
9334
9334
|
class: Y(["ao-progress__progress"]),
|
|
9335
|
-
style:
|
|
9335
|
+
style: wn({ width: `${o * 100}%` })
|
|
9336
9336
|
}, null, 4))), 128))
|
|
9337
9337
|
], 2));
|
|
9338
9338
|
}
|
|
@@ -9377,7 +9377,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9377
9377
|
get: () => a.deadline ?? "",
|
|
9378
9378
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
9379
9379
|
});
|
|
9380
|
-
return (c, u) => (p(), P(
|
|
9380
|
+
return (c, u) => (p(), P(Wn, {
|
|
9381
9381
|
class: "ao-card-project-phase",
|
|
9382
9382
|
"is-clickable": c.isEditable
|
|
9383
9383
|
}, Ua({
|
|
@@ -9401,7 +9401,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9401
9401
|
}),
|
|
9402
9402
|
v("span", D9, G(i.value) + " / " + G(o.value), 1)
|
|
9403
9403
|
]),
|
|
9404
|
-
M(
|
|
9404
|
+
M(qn, {
|
|
9405
9405
|
percentages: r.value,
|
|
9406
9406
|
class: "ao-card-project-phase__progress"
|
|
9407
9407
|
}, null, 8, ["percentages"]),
|
|
@@ -9425,7 +9425,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9425
9425
|
{ lazy: !0 }
|
|
9426
9426
|
]
|
|
9427
9427
|
]) : T("", !0),
|
|
9428
|
-
v("span", V9, G(Q(
|
|
9428
|
+
v("span", V9, G(Q(Tn)(c.deadline)), 1)
|
|
9429
9429
|
], 2)
|
|
9430
9430
|
])
|
|
9431
9431
|
]),
|
|
@@ -9491,12 +9491,12 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9491
9491
|
}), o = k(() => {
|
|
9492
9492
|
var l;
|
|
9493
9493
|
return (l = a.activities) == null ? void 0 : l.filter(
|
|
9494
|
-
(c) =>
|
|
9494
|
+
(c) => On(c, a.closedStatus)
|
|
9495
9495
|
).length;
|
|
9496
9496
|
}), i = k(() => (o.value || 0) / (s.value || 1)), r = (l) => {
|
|
9497
9497
|
e("updateMilestone", { id: a.id, name: l });
|
|
9498
9498
|
};
|
|
9499
|
-
return (l, c) => (p(), P(
|
|
9499
|
+
return (l, c) => (p(), P(Wn, {
|
|
9500
9500
|
class: Y([
|
|
9501
9501
|
"ao-card-project-milestone",
|
|
9502
9502
|
{ "ao-card-project-milestone--selected": l.isSelected }
|
|
@@ -9538,7 +9538,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9538
9538
|
}),
|
|
9539
9539
|
v("span", Z9, G(o.value) + " / " + G(s.value), 1)
|
|
9540
9540
|
]),
|
|
9541
|
-
M(
|
|
9541
|
+
M(qn, {
|
|
9542
9542
|
percentages: i.value,
|
|
9543
9543
|
class: "ao-card-project-milestone__progress"
|
|
9544
9544
|
}, null, 8, ["percentages"])
|
|
@@ -9560,7 +9560,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9560
9560
|
size: "sm"
|
|
9561
9561
|
}, null, 8, ["class"])) : T("", !0),
|
|
9562
9562
|
l.deadline ? (p(), g("label", z9, [
|
|
9563
|
-
v("span", x9, G(Q(
|
|
9563
|
+
v("span", x9, G(Q(Tn)(l.deadline)), 1)
|
|
9564
9564
|
])) : T("", !0),
|
|
9565
9565
|
l.assignee ? (p(), g("div", Y9, [
|
|
9566
9566
|
M(Je, {
|
|
@@ -9799,7 +9799,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9799
9799
|
}, i = () => {
|
|
9800
9800
|
s.value && e("apply", s.value, a.projectId);
|
|
9801
9801
|
};
|
|
9802
|
-
return (r, l) => (p(), P(
|
|
9802
|
+
return (r, l) => (p(), P(In, { size: "sm" }, {
|
|
9803
9803
|
header: W(() => [
|
|
9804
9804
|
M(ye, {
|
|
9805
9805
|
title: r.$t("project.template.add.title"),
|
|
@@ -10123,7 +10123,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10123
10123
|
id: a.id,
|
|
10124
10124
|
name: d
|
|
10125
10125
|
});
|
|
10126
|
-
}, o = k(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), i = k(() => a.assignee ? [a.assignee] : []), r = k(() =>
|
|
10126
|
+
}, o = k(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), i = k(() => a.assignee ? [a.assignee] : []), r = k(() => Tn(a.deadline)), l = (d) => {
|
|
10127
10127
|
e("removeAssignee", d);
|
|
10128
10128
|
}, c = k(() => {
|
|
10129
10129
|
var d;
|
|
@@ -10132,13 +10132,13 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10132
10132
|
var d;
|
|
10133
10133
|
return (d = a.tasks) == null ? void 0 : d.filter((C) => C.isDone).length;
|
|
10134
10134
|
}), f = k(() => (u.value || 0) / (c.value || 1));
|
|
10135
|
-
return (d, C) => (p(), P(
|
|
10135
|
+
return (d, C) => (p(), P(Wn, {
|
|
10136
10136
|
class: Y(["ao-card-feed", { "ao-card-feed--closed": d.isClosed }]),
|
|
10137
10137
|
"is-clickable": !0
|
|
10138
10138
|
}, {
|
|
10139
10139
|
header: W(() => [
|
|
10140
10140
|
v("div", _v, [
|
|
10141
|
-
n.value ? (p(), P(
|
|
10141
|
+
n.value ? (p(), P(Mn, {
|
|
10142
10142
|
key: 0,
|
|
10143
10143
|
label: n.value,
|
|
10144
10144
|
class: "ao-card-feed__project",
|
|
@@ -10228,7 +10228,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10228
10228
|
}),
|
|
10229
10229
|
v("span", Rv, G(u.value) + " / " + G(c.value), 1)
|
|
10230
10230
|
]),
|
|
10231
|
-
M(
|
|
10231
|
+
M(qn, {
|
|
10232
10232
|
percentages: f.value,
|
|
10233
10233
|
class: "ao-card-feed__progress"
|
|
10234
10234
|
}, null, 8, ["percentages"])
|
|
@@ -10247,11 +10247,11 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10247
10247
|
*/
|
|
10248
10248
|
function wt(t) {
|
|
10249
10249
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10250
|
-
/#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e =
|
|
10250
|
+
/#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10251
10251
|
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Fv(e);
|
|
10252
10252
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10253
10253
|
}
|
|
10254
|
-
function
|
|
10254
|
+
function zn(t) {
|
|
10255
10255
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10256
10256
|
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;
|
|
10257
10257
|
}
|
|
@@ -10272,7 +10272,7 @@ function jv(t) {
|
|
|
10272
10272
|
b: e(t.slice(4, 6))
|
|
10273
10273
|
};
|
|
10274
10274
|
}
|
|
10275
|
-
function
|
|
10275
|
+
function Ms(t) {
|
|
10276
10276
|
return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
|
|
10277
10277
|
r: Number(t[0]) || 0,
|
|
10278
10278
|
g: Number(t[1]) || 0,
|
|
@@ -10288,7 +10288,7 @@ function Fv({ r: t, g: e, b: a }) {
|
|
|
10288
10288
|
let r = parseFloat((n === 0 ? 0 : 1 - s / n).toFixed(2)), l = parseFloat(n.toFixed(2));
|
|
10289
10289
|
return { h: i, s: r, v: l };
|
|
10290
10290
|
}
|
|
10291
|
-
var
|
|
10291
|
+
var xn = q({
|
|
10292
10292
|
props: {
|
|
10293
10293
|
color: {
|
|
10294
10294
|
type: String,
|
|
@@ -10378,9 +10378,9 @@ function Zv(t, e, a, n, s, o) {
|
|
|
10378
10378
|
/* HYDRATE_EVENTS */
|
|
10379
10379
|
);
|
|
10380
10380
|
}
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
var
|
|
10381
|
+
xn.render = Zv;
|
|
10382
|
+
xn.__file = "src/color/Saturation.vue";
|
|
10383
|
+
var Yn = q({
|
|
10384
10384
|
props: {
|
|
10385
10385
|
hsv: {
|
|
10386
10386
|
type: Object,
|
|
@@ -10464,9 +10464,9 @@ function qv(t, e, a, n, s, o) {
|
|
|
10464
10464
|
/* HYDRATE_EVENTS */
|
|
10465
10465
|
);
|
|
10466
10466
|
}
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
var
|
|
10467
|
+
Yn.render = qv;
|
|
10468
|
+
Yn.__file = "src/color/Hue.vue";
|
|
10469
|
+
var Kn = q({
|
|
10470
10470
|
props: {
|
|
10471
10471
|
color: {
|
|
10472
10472
|
type: String,
|
|
@@ -10505,7 +10505,7 @@ var Yn = q({
|
|
|
10505
10505
|
},
|
|
10506
10506
|
methods: {
|
|
10507
10507
|
renderColor() {
|
|
10508
|
-
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10508
|
+
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
|
|
10509
10509
|
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), bn("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10510
10510
|
},
|
|
10511
10511
|
renderSlide() {
|
|
@@ -10559,9 +10559,9 @@ function xv(t, e, a, n, s, o) {
|
|
|
10559
10559
|
/* HYDRATE_EVENTS */
|
|
10560
10560
|
);
|
|
10561
10561
|
}
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
var
|
|
10562
|
+
Kn.render = xv;
|
|
10563
|
+
Kn.__file = "src/color/Alpha.vue";
|
|
10564
|
+
var Gn = q({
|
|
10565
10565
|
props: {
|
|
10566
10566
|
color: {
|
|
10567
10567
|
type: String,
|
|
@@ -10591,7 +10591,7 @@ var Kn = q({
|
|
|
10591
10591
|
},
|
|
10592
10592
|
methods: {
|
|
10593
10593
|
renderColor() {
|
|
10594
|
-
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s =
|
|
10594
|
+
const t = this.$el, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
|
|
10595
10595
|
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), o.fillStyle = this.color, o.fillRect(0, 0, e, a);
|
|
10596
10596
|
}
|
|
10597
10597
|
}
|
|
@@ -10599,9 +10599,9 @@ var Kn = q({
|
|
|
10599
10599
|
function Yv(t, e, a, n, s, o) {
|
|
10600
10600
|
return p(), P("canvas");
|
|
10601
10601
|
}
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
var
|
|
10602
|
+
Gn.render = Yv;
|
|
10603
|
+
Gn.__file = "src/color/Preview.vue";
|
|
10604
|
+
var Xn = q({
|
|
10605
10605
|
props: {
|
|
10606
10606
|
suckerCanvas: {
|
|
10607
10607
|
type: Object,
|
|
@@ -10728,9 +10728,9 @@ function Qv(t, e, a, n, s, o) {
|
|
|
10728
10728
|
])) : T("v-if", !0)
|
|
10729
10729
|
]);
|
|
10730
10730
|
}
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
var
|
|
10731
|
+
Xn.render = Qv;
|
|
10732
|
+
Xn.__file = "src/color/Sucker.vue";
|
|
10733
|
+
var Qn = q({
|
|
10734
10734
|
props: {
|
|
10735
10735
|
name: {
|
|
10736
10736
|
type: String,
|
|
@@ -10787,9 +10787,9 @@ function t4(t, e, a, n, s, o) {
|
|
|
10787
10787
|
])
|
|
10788
10788
|
]);
|
|
10789
10789
|
}
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
var
|
|
10790
|
+
Qn.render = t4;
|
|
10791
|
+
Qn.__file = "src/color/Box.vue";
|
|
10792
|
+
var Jn = q({
|
|
10793
10793
|
name: "ColorPicker",
|
|
10794
10794
|
props: {
|
|
10795
10795
|
color: {
|
|
@@ -10808,7 +10808,7 @@ var Qn = q({
|
|
|
10808
10808
|
emits: ["selectColor"],
|
|
10809
10809
|
setup(t, { emit: e }) {
|
|
10810
10810
|
const a = ee(), n = ee([]), s = ee();
|
|
10811
|
-
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value =
|
|
10811
|
+
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(), $n(() => {
|
|
10812
10812
|
o(a.value);
|
|
10813
10813
|
});
|
|
10814
10814
|
function o(r) {
|
|
@@ -10905,17 +10905,17 @@ function s4(t, e, a, n, s, o) {
|
|
|
10905
10905
|
])) : T("v-if", !0)
|
|
10906
10906
|
]);
|
|
10907
10907
|
}
|
|
10908
|
-
|
|
10909
|
-
|
|
10908
|
+
Jn.render = s4;
|
|
10909
|
+
Jn.__file = "src/color/Colors.vue";
|
|
10910
10910
|
var Rt = q({
|
|
10911
10911
|
components: {
|
|
10912
|
-
Saturation:
|
|
10913
|
-
Hue:
|
|
10914
|
-
Alpha:
|
|
10915
|
-
Preview:
|
|
10916
|
-
Sucker:
|
|
10917
|
-
Box:
|
|
10918
|
-
Colors:
|
|
10912
|
+
Saturation: xn,
|
|
10913
|
+
Hue: Yn,
|
|
10914
|
+
Alpha: Kn,
|
|
10915
|
+
Preview: Gn,
|
|
10916
|
+
Sucker: Xn,
|
|
10917
|
+
Box: Qn,
|
|
10918
|
+
Colors: Jn
|
|
10919
10919
|
},
|
|
10920
10920
|
emits: ["changeColor", "openSucker", "inputFocus", "inputBlur"],
|
|
10921
10921
|
props: {
|
|
@@ -11196,9 +11196,10 @@ function u4(t, e, a, n, s, o) {
|
|
|
11196
11196
|
const i = xe("ColorPicker");
|
|
11197
11197
|
return p(), g("div", l4, [
|
|
11198
11198
|
v("button", {
|
|
11199
|
+
style: wn({ backgroundColor: s.color }),
|
|
11199
11200
|
class: "color-button",
|
|
11200
11201
|
onClick: e[0] || (e[0] = (...r) => o.togglePicker && o.togglePicker(...r))
|
|
11201
|
-
}),
|
|
11202
|
+
}, null, 4),
|
|
11202
11203
|
s.showPicker ? (p(), P(i, {
|
|
11203
11204
|
key: 0,
|
|
11204
11205
|
class: "color-picker",
|
|
@@ -11214,7 +11215,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
|
|
|
11214
11215
|
}, C4 = { class: "ao-field__row ao-milestone__field-row" }, g4 = { class: "ao-field ao-field--inline" }, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-milestone__field-multiselect" }, b4 = { class: "ao-project-milestone__body" }, w4 = {
|
|
11215
11216
|
key: 0,
|
|
11216
11217
|
class: "ao-project-milestone__footer"
|
|
11217
|
-
},
|
|
11218
|
+
}, As = /* @__PURE__ */ q({
|
|
11218
11219
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11219
11220
|
props: {
|
|
11220
11221
|
milestoneId: {},
|
|
@@ -11277,7 +11278,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
|
|
|
11277
11278
|
deadline: h != null && h.length ? h : null
|
|
11278
11279
|
});
|
|
11279
11280
|
}
|
|
11280
|
-
}), C = (h) => a.closedStatus ?
|
|
11281
|
+
}), C = (h) => a.closedStatus ? On(h, a.closedStatus) : !1, b = k(() => {
|
|
11281
11282
|
var h;
|
|
11282
11283
|
return ((h = a.users) == null ? void 0 : h.map((A) => ({
|
|
11283
11284
|
label: `${A.firstName} ${A.lastName}`,
|
|
@@ -11523,7 +11524,7 @@ const $4 = /* @__PURE__ */ q({
|
|
|
11523
11524
|
};
|
|
11524
11525
|
return (_, h) => {
|
|
11525
11526
|
var A, w;
|
|
11526
|
-
return i.value ? (p(), P(
|
|
11527
|
+
return i.value ? (p(), P(Zn, {
|
|
11527
11528
|
key: 0,
|
|
11528
11529
|
activity: i.value,
|
|
11529
11530
|
"activity-types": _.activityTypes,
|
|
@@ -11569,7 +11570,7 @@ const $4 = /* @__PURE__ */ q({
|
|
|
11569
11570
|
class: "ao-col-header__title",
|
|
11570
11571
|
level: 4
|
|
11571
11572
|
}, null, 8, ["title"]),
|
|
11572
|
-
e.items ? (p(), P(
|
|
11573
|
+
e.items ? (p(), P(Mn, {
|
|
11573
11574
|
key: 0,
|
|
11574
11575
|
label: e.items,
|
|
11575
11576
|
class: "ao-col-header__items",
|
|
@@ -12113,7 +12114,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
|
|
|
12113
12114
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12114
12115
|
]),
|
|
12115
12116
|
(p(), P(Nt, { to: "body" }, [
|
|
12116
|
-
O.selectedActivity ? (p(), P(
|
|
12117
|
+
O.selectedActivity ? (p(), P(Zn, {
|
|
12117
12118
|
key: 0,
|
|
12118
12119
|
activity: O.selectedActivity,
|
|
12119
12120
|
"activity-types": O.activityTypes,
|
|
@@ -12192,7 +12193,7 @@ const Dt = {
|
|
|
12192
12193
|
{
|
|
12193
12194
|
path: ":phaseId/:milestoneId",
|
|
12194
12195
|
name: Ye.milestone,
|
|
12195
|
-
component:
|
|
12196
|
+
component: As,
|
|
12196
12197
|
props: !0
|
|
12197
12198
|
},
|
|
12198
12199
|
{
|
|
@@ -12200,7 +12201,7 @@ const Dt = {
|
|
|
12200
12201
|
name: Ye.activity,
|
|
12201
12202
|
props: { default: !0, modal: !0 },
|
|
12202
12203
|
components: {
|
|
12203
|
-
default:
|
|
12204
|
+
default: As,
|
|
12204
12205
|
modal: $4
|
|
12205
12206
|
}
|
|
12206
12207
|
}
|