@26lights/orcha 0.38.32 → 0.38.34
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 +765 -762
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as Y, openBlock as p, createBlock as P, unref as J, mergeProps as He, createElementBlock as m, createElementVNode as f, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as M, resolveDynamicComponent as ht, normalizeClass as Q, renderSlot as ae, toDisplayString as z, createCommentVNode as O, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as Z, createTextVNode as Ua, createVNode as T, normalizeStyle as Fa, withModifiers as ve,
|
|
1
|
+
import { defineComponent as Y, openBlock as p, createBlock as P, unref as J, mergeProps as He, createElementBlock as m, createElementVNode as f, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as M, resolveDynamicComponent as ht, normalizeClass as Q, renderSlot as ae, toDisplayString as z, createCommentVNode as O, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as Z, createTextVNode as Ua, createVNode as T, normalizeStyle as Fa, withModifiers as ve, Fragment as fe, renderList as _e, onMounted as Mt, onBeforeUnmount as Tn, onUnmounted as $s, Teleport as jt, toRefs as Me, getCurrentInstance as Tt, toRef as Vt, createSlots as ks, normalizeProps as pa, guardReactiveProps as va, withDirectives as Re, vShow as Hi, onUpdated as Di, vModelText as Ge, vModelCheckbox as Pi, resolveComponent as Ke, getCurrentScope as Vi, onScopeDispose as Bi, toHandlerKey as Ri } from "vue";
|
|
2
2
|
import { RouterView as Ni } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const I8 = /* @__PURE__ */ Y({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1134,7 +1134,7 @@ const k2 = /* @__PURE__ */ j(_2, [["render", $2]]), S2 = /* @__PURE__ */ Object.
|
|
|
1134
1134
|
SOLID: "solid",
|
|
1135
1135
|
GHOST: "ghost",
|
|
1136
1136
|
OUTLINE: "outline"
|
|
1137
|
-
},
|
|
1137
|
+
}, Za = {
|
|
1138
1138
|
SM: "sm",
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
@@ -1159,7 +1159,7 @@ const On = {
|
|
|
1159
1159
|
__name: "AoIcon",
|
|
1160
1160
|
props: {
|
|
1161
1161
|
name: {},
|
|
1162
|
-
size: { default:
|
|
1162
|
+
size: { default: Za.MD }
|
|
1163
1163
|
},
|
|
1164
1164
|
setup(t) {
|
|
1165
1165
|
const e = t, a = M(() => S2[e.name]);
|
|
@@ -1181,7 +1181,7 @@ const T2 = ["type"], O2 = {
|
|
|
1181
1181
|
type: { default: () => "button" },
|
|
1182
1182
|
color: {},
|
|
1183
1183
|
footer: { type: Boolean, default: () => !1 },
|
|
1184
|
-
size: { default: () =>
|
|
1184
|
+
size: { default: () => Za.MD },
|
|
1185
1185
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1186
1186
|
corners: { default: () => On.ROUNDED }
|
|
1187
1187
|
},
|
|
@@ -1390,7 +1390,7 @@ const E2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const Wa = /* @__PURE__ */ Y({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1437,15 +1437,15 @@ const qa = /* @__PURE__ */ Y({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const ms = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, L8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, H8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const Cs = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const D8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1540,7 +1540,7 @@ function Dn(t) {
|
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function Cs(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
1545
|
var a = Je(e);
|
|
1546
1546
|
return Z2(t, -a);
|
|
@@ -2397,7 +2397,7 @@ var v0 = {
|
|
|
2397
2397
|
return typeof o == "string" ? n = o : a === 1 ? n = o.one : n = o.other.replace("{{count}}", a.toString()), s != null && s.addSuffix ? s.comparison && s.comparison > 0 ? "in " + n : n + " ago" : n;
|
|
2398
2398
|
};
|
|
2399
2399
|
const h0 = f0;
|
|
2400
|
-
function
|
|
2400
|
+
function ps(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, s = t.formats[a] || t.formats[t.defaultWidth];
|
|
2403
2403
|
return s;
|
|
@@ -2419,15 +2419,15 @@ var m0 = {
|
|
|
2419
2419
|
medium: "{{date}}, {{time}}",
|
|
2420
2420
|
short: "{{date}}, {{time}}"
|
|
2421
2421
|
}, _0 = {
|
|
2422
|
-
date:
|
|
2422
|
+
date: ps({
|
|
2423
2423
|
formats: m0,
|
|
2424
2424
|
defaultWidth: "full"
|
|
2425
2425
|
}),
|
|
2426
|
-
time:
|
|
2426
|
+
time: ps({
|
|
2427
2427
|
formats: C0,
|
|
2428
2428
|
defaultWidth: "full"
|
|
2429
2429
|
}),
|
|
2430
|
-
dateTime:
|
|
2430
|
+
dateTime: ps({
|
|
2431
2431
|
formats: g0,
|
|
2432
2432
|
defaultWidth: "full"
|
|
2433
2433
|
})
|
|
@@ -2737,7 +2737,7 @@ function Nn(t, e, a) {
|
|
|
2737
2737
|
var G = be(t);
|
|
2738
2738
|
if (!Dn(G))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var se = ra(G), N =
|
|
2740
|
+
var se = ra(G), N = Cs(G, se), E = {
|
|
2741
2741
|
firstWeekContainsDate: W,
|
|
2742
2742
|
weekStartsOn: x,
|
|
2743
2743
|
locale: F,
|
|
@@ -2783,7 +2783,7 @@ function s3(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 = Cs(h, ra(h)), I = Cs(w, ra(w)), L = b.formatRelative(C, D, I, {
|
|
2787
2787
|
locale: b,
|
|
2788
2788
|
weekStartsOn: S
|
|
2789
2789
|
});
|
|
@@ -2866,10 +2866,10 @@ function c3(t) {
|
|
|
2866
2866
|
var e = t.match(i3);
|
|
2867
2867
|
if (!e)
|
|
2868
2868
|
return NaN;
|
|
2869
|
-
var a =
|
|
2869
|
+
var a = vs(e[1]), s = vs(e[2]), n = vs(e[3]);
|
|
2870
2870
|
return C3(a, s, n) ? a * Hn + s * Ln + n * 1e3 : NaN;
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2872
|
+
function vs(t) {
|
|
2873
2873
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2874
2874
|
}
|
|
2875
2875
|
function d3(t) {
|
|
@@ -2906,10 +2906,10 @@ function C3(t, e, a) {
|
|
|
2906
2906
|
function g3(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 : {}, we = {}, Un = {}, 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 : {}, we = {}, Un = {}, aa = {}, ha = {}, Yt = {}, qa = {};
|
|
2910
|
+
Object.defineProperty(qa, "__esModule", { value: !0 });
|
|
2911
|
+
qa.lexoHelper = void 0;
|
|
2912
|
+
qa.lexoHelper = {
|
|
2913
2913
|
arrayCopy: _3
|
|
2914
2914
|
};
|
|
2915
2915
|
function _3(t, e, a, s, n) {
|
|
@@ -2946,7 +2946,7 @@ class y3 {
|
|
|
2946
2946
|
ma.default = y3;
|
|
2947
2947
|
Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
2948
2948
|
Yt.LexoInteger = void 0;
|
|
2949
|
-
const Ma =
|
|
2949
|
+
const Ma = qa, b3 = ma;
|
|
2950
2950
|
class ne {
|
|
2951
2951
|
constructor(e, a, s) {
|
|
2952
2952
|
this.sys = e, this.sign = a, this.mag = s;
|
|
@@ -3313,9 +3313,9 @@ function Fn() {
|
|
|
3313
3313
|
}
|
|
3314
3314
|
var Ms = {}, Zn = {};
|
|
3315
3315
|
Object.defineProperty(Zn, "__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 $3 {
|
|
3320
3320
|
getBase() {
|
|
3321
3321
|
return 10;
|
|
@@ -3338,10 +3338,10 @@ class $3 {
|
|
|
3338
3338
|
return String.fromCharCode(e + 48);
|
|
3339
3339
|
}
|
|
3340
3340
|
}
|
|
3341
|
-
|
|
3342
|
-
var
|
|
3343
|
-
Object.defineProperty(
|
|
3344
|
-
|
|
3341
|
+
za.LexoNumeralSystem10 = $3;
|
|
3342
|
+
var xa = {};
|
|
3343
|
+
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
3344
|
+
xa.LexoNumeralSystem36 = void 0;
|
|
3345
3345
|
class k3 {
|
|
3346
3346
|
constructor() {
|
|
3347
3347
|
this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3369,10 +3369,10 @@ class k3 {
|
|
|
3369
3369
|
return this.DIGITS[e];
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
|
-
|
|
3373
|
-
var
|
|
3374
|
-
Object.defineProperty(
|
|
3375
|
-
|
|
3372
|
+
xa.LexoNumeralSystem36 = k3;
|
|
3373
|
+
var Ya = {};
|
|
3374
|
+
Object.defineProperty(Ya, "__esModule", { value: !0 });
|
|
3375
|
+
Ya.LexoNumeralSystem64 = void 0;
|
|
3376
3376
|
class S3 {
|
|
3377
3377
|
constructor() {
|
|
3378
3378
|
this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3406,7 +3406,7 @@ class S3 {
|
|
|
3406
3406
|
return this.DIGITS[e];
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
|
-
|
|
3409
|
+
Ya.LexoNumeralSystem64 = S3;
|
|
3410
3410
|
(function(t) {
|
|
3411
3411
|
var e = Le && Le.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3412
3412
|
i === void 0 && (i = o);
|
|
@@ -3420,7 +3420,7 @@ Ka.LexoNumeralSystem64 = S3;
|
|
|
3420
3420
|
for (var o in s)
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3422
3422
|
};
|
|
3423
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zn, t), a(
|
|
3423
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zn, t), a(za, t), a(xa, t), a(Ya, t);
|
|
3424
3424
|
})(Ms);
|
|
3425
3425
|
var vn;
|
|
3426
3426
|
function Wn() {
|
|
@@ -3686,7 +3686,7 @@ function O3(t, e) {
|
|
|
3686
3686
|
function E3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: O3(t, e) ?
|
|
3689
|
+
status: O3(t, e) ? ms.done : ms.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const zn = (t) => {
|
|
@@ -3701,7 +3701,7 @@ const zn = (t) => {
|
|
|
3701
3701
|
userName: {},
|
|
3702
3702
|
avatarUrl: {},
|
|
3703
3703
|
isClosable: { type: Boolean },
|
|
3704
|
-
size: { default:
|
|
3704
|
+
size: { default: Za.MD },
|
|
3705
3705
|
color: { default: "primary" }
|
|
3706
3706
|
},
|
|
3707
3707
|
emits: ["close"],
|
|
@@ -3737,13 +3737,13 @@ const zn = (t) => {
|
|
|
3737
3737
|
const D3 = { class: "ao-card-template__subitems" }, P3 = { class: "ao-card-template__subitem" }, V3 = { class: "ao-card-template__subitem-number" }, B3 = { class: "ao-card-template__subitem" }, R3 = { class: "ao-card-template__subitem" }, N3 = { class: "ao-card-template__body" }, j3 = { class: "ao-card-template__col ao-card-template__col--phases" }, U3 = { class: "ao-card-template__col-title" }, F3 = { class: "ao-card-template__col-label" }, Z3 = {
|
|
3738
3738
|
key: 0,
|
|
3739
3739
|
class: "ao-card-template__col-body ao-card-template__phases-list"
|
|
3740
|
-
}, W3 = { class: "ao-card-template__footer" }, q3 = {
|
|
3740
|
+
}, W3 = { class: "ao-card-template__footer" }, q3 = { key: 0 }, z3 = {
|
|
3741
3741
|
key: 0,
|
|
3742
3742
|
class: "ao-card-template__col ao-card-template__col--updated-at"
|
|
3743
|
-
},
|
|
3743
|
+
}, x3 = { class: "ao-card-template__col-title" }, Y3 = { class: "ao-card-template__col-label" }, K3 = { class: "ao-card-template__col-body" }, G3 = {
|
|
3744
3744
|
key: 1,
|
|
3745
3745
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
3746
|
-
},
|
|
3746
|
+
}, X3 = { class: "ao-card-template__col-title" }, Q3 = { class: "ao-card-template__col-label" }, J3 = { class: "ao-card-template__col-body" }, e5 = /* @__PURE__ */ Y({
|
|
3747
3747
|
__name: "AoCardTemplate",
|
|
3748
3748
|
props: {
|
|
3749
3749
|
id: {},
|
|
@@ -3764,7 +3764,7 @@ const D3 = { class: "ao-card-template__subitems" }, P3 = { class: "ao-card-templ
|
|
|
3764
3764
|
title: s.title,
|
|
3765
3765
|
"is-draggable": !0,
|
|
3766
3766
|
"onUpdate:title": a
|
|
3767
|
-
},
|
|
3767
|
+
}, {
|
|
3768
3768
|
subtitle: Z(() => [
|
|
3769
3769
|
f("ul", D3, [
|
|
3770
3770
|
f("li", P3, [
|
|
@@ -3794,7 +3794,7 @@ const D3 = { class: "ao-card-template__subitems" }, P3 = { class: "ao-card-templ
|
|
|
3794
3794
|
f("span", F3, z(s.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
s.phases ? (p(), m("ul", Z3, [
|
|
3797
|
-
(p(!0), m(fe, null, _e(s.phases, (o) => (p(), P(
|
|
3797
|
+
(p(!0), m(fe, null, _e(s.phases, (o) => (p(), P(Wa, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -3804,47 +3804,50 @@ const D3 = { class: "ao-card-template__subitems" }, P3 = { class: "ao-card-templ
|
|
|
3804
3804
|
])
|
|
3805
3805
|
])
|
|
3806
3806
|
]),
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
s.updatedAt ? (p(), m("div", q3, [
|
|
3814
|
-
f("div", z3, [
|
|
3815
|
-
f("span", x3, z(s.$t("template.updatedAt.label")), 1)
|
|
3807
|
+
footer: Z(() => [
|
|
3808
|
+
f("div", W3, [
|
|
3809
|
+
s.updatedBy || s.updatedAt ? (p(), m("div", q3, [
|
|
3810
|
+
s.updatedAt ? (p(), m("div", z3, [
|
|
3811
|
+
f("div", x3, [
|
|
3812
|
+
f("span", Y3, z(s.$t("template.updatedAt.label")), 1)
|
|
3816
3813
|
]),
|
|
3817
|
-
f("div",
|
|
3814
|
+
f("div", K3, [
|
|
3818
3815
|
f("span", null, z(s.updatedAt), 1)
|
|
3819
3816
|
])
|
|
3820
3817
|
])) : O("", !0),
|
|
3821
|
-
s.updatedBy ? (p(), m("div",
|
|
3822
|
-
f("div",
|
|
3823
|
-
f("span",
|
|
3818
|
+
s.updatedBy ? (p(), m("div", G3, [
|
|
3819
|
+
f("div", X3, [
|
|
3820
|
+
f("span", Q3, z(s.$t("template.updatedBy.label")), 1)
|
|
3824
3821
|
]),
|
|
3825
|
-
f("div",
|
|
3822
|
+
f("div", J3, [
|
|
3826
3823
|
T(et, { "user-name": s.updatedBy }, null, 8, ["user-name"])
|
|
3827
3824
|
])
|
|
3828
3825
|
])) : O("", !0)
|
|
3829
|
-
])
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3826
|
+
])) : O("", !0),
|
|
3827
|
+
T(ue, {
|
|
3828
|
+
"icon-name": "DeleteOutlineRounded",
|
|
3829
|
+
variant: "ghost",
|
|
3830
|
+
size: "md",
|
|
3831
|
+
corners: "round"
|
|
3832
|
+
})
|
|
3833
|
+
])
|
|
3834
|
+
]),
|
|
3835
|
+
_: 1
|
|
3836
|
+
}, 8, ["id", "title"]));
|
|
3834
3837
|
}
|
|
3835
3838
|
});
|
|
3836
|
-
const
|
|
3839
|
+
const t5 = { class: "ao-page-header" }, a5 = { class: "ao-page-header-main" }, s5 = {
|
|
3837
3840
|
key: 0,
|
|
3838
3841
|
class: "ao-page-header-secondary"
|
|
3839
|
-
},
|
|
3842
|
+
}, Ka = /* @__PURE__ */ Y({
|
|
3840
3843
|
__name: "AoPageHeader",
|
|
3841
3844
|
props: {
|
|
3842
3845
|
canGoBack: { type: Boolean }
|
|
3843
3846
|
},
|
|
3844
3847
|
emits: ["goBack"],
|
|
3845
3848
|
setup(t) {
|
|
3846
|
-
return (e, a) => (p(), m("header",
|
|
3847
|
-
f("div",
|
|
3849
|
+
return (e, a) => (p(), m("header", t5, [
|
|
3850
|
+
f("div", a5, [
|
|
3848
3851
|
e.canGoBack ? (p(), P(ue, {
|
|
3849
3852
|
key: 0,
|
|
3850
3853
|
"icon-name": "ArrowBackRounded",
|
|
@@ -3853,13 +3856,13 @@ const e5 = { class: "ao-page-header" }, t5 = { class: "ao-page-header-main" }, a
|
|
|
3853
3856
|
})) : O("", !0),
|
|
3854
3857
|
ae(e.$slots, "primary")
|
|
3855
3858
|
]),
|
|
3856
|
-
e.$slots.secondary ? (p(), m("div",
|
|
3859
|
+
e.$slots.secondary ? (p(), m("div", s5, [
|
|
3857
3860
|
ae(e.$slots, "secondary")
|
|
3858
3861
|
])) : O("", !0)
|
|
3859
3862
|
]));
|
|
3860
3863
|
}
|
|
3861
3864
|
});
|
|
3862
|
-
const
|
|
3865
|
+
const n5 = ["type"], i5 = {
|
|
3863
3866
|
key: 0,
|
|
3864
3867
|
class: "ao-button-card__label"
|
|
3865
3868
|
}, Ct = /* @__PURE__ */ Y({
|
|
@@ -3870,7 +3873,7 @@ const s5 = ["type"], n5 = {
|
|
|
3870
3873
|
iconPosition: {},
|
|
3871
3874
|
type: { default: () => "button" },
|
|
3872
3875
|
color: { default: () => As.BLACK },
|
|
3873
|
-
size: { default: () =>
|
|
3876
|
+
size: { default: () => Za.MD },
|
|
3874
3877
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3878
|
corners: { default: () => On.ROUNDED }
|
|
3876
3879
|
},
|
|
@@ -3886,7 +3889,7 @@ const s5 = ["type"], n5 = {
|
|
|
3886
3889
|
])
|
|
3887
3890
|
}, [
|
|
3888
3891
|
ae(n.$slots, "default", {}, () => [
|
|
3889
|
-
n.label ? (p(), m("span",
|
|
3892
|
+
n.label ? (p(), m("span", i5, z(n.label), 1)) : O("", !0)
|
|
3890
3893
|
]),
|
|
3891
3894
|
s.value ? (p(), P(pe, {
|
|
3892
3895
|
key: 0,
|
|
@@ -3894,13 +3897,13 @@ const s5 = ["type"], n5 = {
|
|
|
3894
3897
|
class: "ao-button-card__icon",
|
|
3895
3898
|
size: a.value
|
|
3896
3899
|
}, null, 8, ["name", "size"])) : O("", !0)
|
|
3897
|
-
], 10,
|
|
3900
|
+
], 10, n5));
|
|
3898
3901
|
}
|
|
3899
3902
|
});
|
|
3900
|
-
const
|
|
3903
|
+
const o5 = { class: "ao-card-template-item__footer" }, r5 = {
|
|
3901
3904
|
key: 0,
|
|
3902
3905
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
},
|
|
3906
|
+
}, l5 = { class: "ao-card-template-item__subitem-number" }, u5 = { class: "ao-card-template-item__secondary" }, Es = /* @__PURE__ */ Y({
|
|
3904
3907
|
__name: "AoCardTemplateItem",
|
|
3905
3908
|
props: {
|
|
3906
3909
|
milestones: {},
|
|
@@ -3922,20 +3925,20 @@ const i5 = { class: "ao-card-template-item__footer" }, o5 = {
|
|
|
3922
3925
|
};
|
|
3923
3926
|
return (i, r) => (p(), P(In, { "onUpdate:title": a }, {
|
|
3924
3927
|
footer: Z(() => [
|
|
3925
|
-
f("ul",
|
|
3928
|
+
f("ul", o5, [
|
|
3926
3929
|
(p(), m(fe, null, _e(s, (l) => (p(), m(fe, { key: l }, [
|
|
3927
|
-
i.$props[l] ? (p(), m("li",
|
|
3930
|
+
i.$props[l] ? (p(), m("li", r5, [
|
|
3928
3931
|
T(pe, {
|
|
3929
3932
|
name: n[l],
|
|
3930
3933
|
size: "sm"
|
|
3931
3934
|
}, null, 8, ["name"]),
|
|
3932
|
-
f("span",
|
|
3935
|
+
f("span", l5, z(i.$props[l]), 1)
|
|
3933
3936
|
])) : O("", !0)
|
|
3934
3937
|
], 64))), 64))
|
|
3935
3938
|
])
|
|
3936
3939
|
]),
|
|
3937
3940
|
secondary: Z(() => [
|
|
3938
|
-
f("div",
|
|
3941
|
+
f("div", u5, [
|
|
3939
3942
|
T(ue, {
|
|
3940
3943
|
"icon-name": "DeleteOutlineRounded",
|
|
3941
3944
|
variant: "ghost",
|
|
@@ -3949,7 +3952,7 @@ const i5 = { class: "ao-card-template-item__footer" }, o5 = {
|
|
|
3949
3952
|
}));
|
|
3950
3953
|
}
|
|
3951
3954
|
});
|
|
3952
|
-
const
|
|
3955
|
+
const c5 = /* @__PURE__ */ Y({
|
|
3953
3956
|
__name: "AoCardTemplateItemPhase",
|
|
3954
3957
|
props: {
|
|
3955
3958
|
id: {},
|
|
@@ -3973,7 +3976,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
3973
3976
|
_: 3
|
|
3974
3977
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
3975
3978
|
}
|
|
3976
|
-
}),
|
|
3979
|
+
}), d5 = /* @__PURE__ */ Y({
|
|
3977
3980
|
__name: "AoCardTemplateItemMilestone",
|
|
3978
3981
|
props: {
|
|
3979
3982
|
activities: {}
|
|
@@ -3990,7 +3993,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
3990
3993
|
_: 3
|
|
3991
3994
|
}, 8, ["activities"]));
|
|
3992
3995
|
}
|
|
3993
|
-
}),
|
|
3996
|
+
}), p5 = { class: "ao-list__footer" }, v5 = /* @__PURE__ */ Y({
|
|
3994
3997
|
__name: "AoTemplateDetailsMilestones",
|
|
3995
3998
|
props: {
|
|
3996
3999
|
templateId: {},
|
|
@@ -4031,7 +4034,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4031
4034
|
})
|
|
4032
4035
|
]),
|
|
4033
4036
|
item: Z(({ element: c }) => [
|
|
4034
|
-
(p(), P(
|
|
4037
|
+
(p(), P(d5, {
|
|
4035
4038
|
id: c.id,
|
|
4036
4039
|
key: c.id,
|
|
4037
4040
|
title: c.name,
|
|
@@ -4048,7 +4051,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4048
4051
|
}, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4049
4052
|
]),
|
|
4050
4053
|
footer: Z(() => [
|
|
4051
|
-
f("div",
|
|
4054
|
+
f("div", p5, [
|
|
4052
4055
|
T(Ct, {
|
|
4053
4056
|
"icon-name": "AddBoxOutlineRounded",
|
|
4054
4057
|
label: r.$t("template.milestones.add"),
|
|
@@ -4059,7 +4062,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4059
4062
|
_: 1
|
|
4060
4063
|
}, 8, ["model-value", "title"])) : O("", !0);
|
|
4061
4064
|
}
|
|
4062
|
-
}),
|
|
4065
|
+
}), f5 = /* @__PURE__ */ Y({
|
|
4063
4066
|
__name: "AoCardTemplateItemActivity",
|
|
4064
4067
|
props: {
|
|
4065
4068
|
name: {},
|
|
@@ -4077,7 +4080,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4077
4080
|
_: 3
|
|
4078
4081
|
}, 8, ["tasks"]));
|
|
4079
4082
|
}
|
|
4080
|
-
}),
|
|
4083
|
+
}), h5 = { class: "ao-list__footer" }, m5 = /* @__PURE__ */ Y({
|
|
4081
4084
|
__name: "AoTemplateDetailsActivities",
|
|
4082
4085
|
props: {
|
|
4083
4086
|
templateId: {},
|
|
@@ -4121,7 +4124,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4121
4124
|
})
|
|
4122
4125
|
]),
|
|
4123
4126
|
item: Z(({ element: c }) => [
|
|
4124
|
-
(p(), P(
|
|
4127
|
+
(p(), P(f5, {
|
|
4125
4128
|
id: c.id,
|
|
4126
4129
|
key: c.id,
|
|
4127
4130
|
title: c.name,
|
|
@@ -4134,7 +4137,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4134
4137
|
}, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4135
4138
|
]),
|
|
4136
4139
|
footer: Z(() => [
|
|
4137
|
-
f("div",
|
|
4140
|
+
f("div", h5, [
|
|
4138
4141
|
T(Ct, {
|
|
4139
4142
|
"icon-name": "AddBoxOutlineRounded",
|
|
4140
4143
|
label: r.$t("template.activities.add"),
|
|
@@ -4145,13 +4148,13 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4145
4148
|
_: 1
|
|
4146
4149
|
}, 8, ["model-value", "title"])) : O("", !0);
|
|
4147
4150
|
}
|
|
4148
|
-
}),
|
|
4151
|
+
}), C5 = { class: "ao-modal" }, g5 = {
|
|
4149
4152
|
key: 0,
|
|
4150
4153
|
class: "ao-modal__header"
|
|
4151
|
-
},
|
|
4154
|
+
}, _5 = { class: "ao-modal__header-meta" }, y5 = { class: "ao-modal__title-group" }, b5 = { class: "ao-modal__body" }, w5 = {
|
|
4152
4155
|
key: 1,
|
|
4153
4156
|
class: "ao-modal__footer"
|
|
4154
|
-
},
|
|
4157
|
+
}, Ga = /* @__PURE__ */ Y({
|
|
4155
4158
|
__name: "AoModal",
|
|
4156
4159
|
props: {
|
|
4157
4160
|
size: { default: "md" }
|
|
@@ -4165,9 +4168,9 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4165
4168
|
class: "ao-modal__backdrop",
|
|
4166
4169
|
onClick: a[0] || (a[0] = (s) => e.$emit("close"))
|
|
4167
4170
|
}),
|
|
4168
|
-
f("div",
|
|
4169
|
-
e.$slots.header ? (p(), m("div",
|
|
4170
|
-
f("div",
|
|
4171
|
+
f("div", C5, [
|
|
4172
|
+
e.$slots.header ? (p(), m("div", g5, [
|
|
4173
|
+
f("div", _5, [
|
|
4171
4174
|
T(ue, {
|
|
4172
4175
|
"icon-name": "CloseRounded",
|
|
4173
4176
|
variant: "ghost",
|
|
@@ -4175,14 +4178,14 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4175
4178
|
onClick: a[1] || (a[1] = (s) => e.$emit("close"))
|
|
4176
4179
|
})
|
|
4177
4180
|
]),
|
|
4178
|
-
f("header",
|
|
4181
|
+
f("header", y5, [
|
|
4179
4182
|
ae(e.$slots, "header")
|
|
4180
4183
|
])
|
|
4181
4184
|
])) : O("", !0),
|
|
4182
|
-
f("div",
|
|
4185
|
+
f("div", b5, [
|
|
4183
4186
|
ae(e.$slots, "default")
|
|
4184
4187
|
]),
|
|
4185
|
-
e.$slots.footer ? (p(), m("footer",
|
|
4188
|
+
e.$slots.footer ? (p(), m("footer", w5, [
|
|
4186
4189
|
ae(e.$slots, "footer")
|
|
4187
4190
|
])) : O("", !0)
|
|
4188
4191
|
])
|
|
@@ -4192,12 +4195,12 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4192
4195
|
const ua = Math.min, Ie = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) => ({
|
|
4193
4196
|
x: t,
|
|
4194
4197
|
y: t
|
|
4195
|
-
}),
|
|
4198
|
+
}), $5 = {
|
|
4196
4199
|
left: "right",
|
|
4197
4200
|
right: "left",
|
|
4198
4201
|
bottom: "top",
|
|
4199
4202
|
top: "bottom"
|
|
4200
|
-
},
|
|
4203
|
+
}, k5 = {
|
|
4201
4204
|
start: "end",
|
|
4202
4205
|
end: "start"
|
|
4203
4206
|
};
|
|
@@ -4207,10 +4210,10 @@ function Is(t, e) {
|
|
|
4207
4210
|
function Ft(t) {
|
|
4208
4211
|
return t.split("-")[0];
|
|
4209
4212
|
}
|
|
4210
|
-
function
|
|
4213
|
+
function Xa(t) {
|
|
4211
4214
|
return t.split("-")[1];
|
|
4212
4215
|
}
|
|
4213
|
-
function
|
|
4216
|
+
function S5(t) {
|
|
4214
4217
|
return t === "x" ? "y" : "x";
|
|
4215
4218
|
}
|
|
4216
4219
|
function xn(t) {
|
|
@@ -4220,22 +4223,22 @@ function Ls(t) {
|
|
|
4220
4223
|
return ["top", "bottom"].includes(Ft(t)) ? "y" : "x";
|
|
4221
4224
|
}
|
|
4222
4225
|
function Yn(t) {
|
|
4223
|
-
return
|
|
4226
|
+
return S5(Ls(t));
|
|
4224
4227
|
}
|
|
4225
|
-
function
|
|
4228
|
+
function A5(t, e, a) {
|
|
4226
4229
|
a === void 0 && (a = !1);
|
|
4227
|
-
const s =
|
|
4230
|
+
const s = Xa(t), n = Yn(t), o = xn(n);
|
|
4228
4231
|
let i = n === "x" ? s === (a ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4229
4232
|
return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
|
|
4230
4233
|
}
|
|
4231
|
-
function
|
|
4234
|
+
function M5(t) {
|
|
4232
4235
|
const e = Ba(t);
|
|
4233
|
-
return [
|
|
4236
|
+
return [gs(t), e, gs(e)];
|
|
4234
4237
|
}
|
|
4235
|
-
function
|
|
4236
|
-
return t.replace(/start|end/g, (e) =>
|
|
4238
|
+
function gs(t) {
|
|
4239
|
+
return t.replace(/start|end/g, (e) => k5[e]);
|
|
4237
4240
|
}
|
|
4238
|
-
function
|
|
4241
|
+
function T5(t, e, a) {
|
|
4239
4242
|
const s = ["left", "right"], n = ["right", "left"], o = ["top", "bottom"], i = ["bottom", "top"];
|
|
4240
4243
|
switch (t) {
|
|
4241
4244
|
case "top":
|
|
@@ -4248,15 +4251,15 @@ function M5(t, e, a) {
|
|
|
4248
4251
|
return [];
|
|
4249
4252
|
}
|
|
4250
4253
|
}
|
|
4251
|
-
function
|
|
4252
|
-
const n =
|
|
4253
|
-
let o =
|
|
4254
|
-
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map(
|
|
4254
|
+
function O5(t, e, a, s) {
|
|
4255
|
+
const n = Xa(t);
|
|
4256
|
+
let o = T5(Ft(t), a === "start", s);
|
|
4257
|
+
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map(gs)))), o;
|
|
4255
4258
|
}
|
|
4256
4259
|
function Ba(t) {
|
|
4257
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
4260
|
+
return t.replace(/left|right|bottom|top/g, (e) => $5[e]);
|
|
4258
4261
|
}
|
|
4259
|
-
function
|
|
4262
|
+
function E5(t) {
|
|
4260
4263
|
return {
|
|
4261
4264
|
top: 0,
|
|
4262
4265
|
right: 0,
|
|
@@ -4265,8 +4268,8 @@ function O5(t) {
|
|
|
4265
4268
|
...t
|
|
4266
4269
|
};
|
|
4267
4270
|
}
|
|
4268
|
-
function
|
|
4269
|
-
return typeof t != "number" ?
|
|
4271
|
+
function I5(t) {
|
|
4272
|
+
return typeof t != "number" ? E5(t) : {
|
|
4270
4273
|
top: t,
|
|
4271
4274
|
right: t,
|
|
4272
4275
|
bottom: t,
|
|
@@ -4320,7 +4323,7 @@ function fn(t, e, a) {
|
|
|
4320
4323
|
y: s.y
|
|
4321
4324
|
};
|
|
4322
4325
|
}
|
|
4323
|
-
switch (
|
|
4326
|
+
switch (Xa(e)) {
|
|
4324
4327
|
case "start":
|
|
4325
4328
|
h[i] -= d * (a && c ? -1 : 1);
|
|
4326
4329
|
break;
|
|
@@ -4330,7 +4333,7 @@ function fn(t, e, a) {
|
|
|
4330
4333
|
}
|
|
4331
4334
|
return h;
|
|
4332
4335
|
}
|
|
4333
|
-
const
|
|
4336
|
+
const L5 = async (t, e, a) => {
|
|
4334
4337
|
const {
|
|
4335
4338
|
placement: s = "bottom",
|
|
4336
4339
|
strategy: n = "absolute",
|
|
@@ -4410,7 +4413,7 @@ async function Kn(t, e) {
|
|
|
4410
4413
|
elementContext: v = "floating",
|
|
4411
4414
|
altBoundary: d = !1,
|
|
4412
4415
|
padding: h = 0
|
|
4413
|
-
} = Is(e, t), w =
|
|
4416
|
+
} = Is(e, t), w = I5(h), b = r[d ? v === "floating" ? "reference" : "floating" : v], S = Ra(await o.getClippingRect({
|
|
4414
4417
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(b))) == null || a ? b : b.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4418
|
boundary: c,
|
|
4416
4419
|
rootBoundary: u,
|
|
@@ -4437,7 +4440,7 @@ async function Kn(t, e) {
|
|
|
4437
4440
|
right: (I.right - S.right + w.right) / D.x
|
|
4438
4441
|
};
|
|
4439
4442
|
}
|
|
4440
|
-
const
|
|
4443
|
+
const H5 = function(t) {
|
|
4441
4444
|
return t === void 0 && (t = {}), {
|
|
4442
4445
|
name: "flip",
|
|
4443
4446
|
options: t,
|
|
@@ -4461,12 +4464,12 @@ const L5 = function(t) {
|
|
|
4461
4464
|
} = Is(t, e);
|
|
4462
4465
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4466
|
return {};
|
|
4464
|
-
const S = Ft(n), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !g ? [Ba(r)] :
|
|
4465
|
-
!d && w !== "none" && D.push(...
|
|
4467
|
+
const S = Ft(n), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !g ? [Ba(r)] : M5(r));
|
|
4468
|
+
!d && w !== "none" && D.push(...O5(r, g, w, C));
|
|
4466
4469
|
const I = [r, ...D], L = await Kn(e, b), F = [];
|
|
4467
4470
|
let W = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4468
4471
|
if (u && F.push(L[S]), v) {
|
|
4469
|
-
const N =
|
|
4472
|
+
const N = A5(n, i, C);
|
|
4470
4473
|
F.push(L[N[0]], L[N[1]]);
|
|
4471
4474
|
}
|
|
4472
4475
|
if (W = [...W, {
|
|
@@ -4508,7 +4511,7 @@ const L5 = function(t) {
|
|
|
4508
4511
|
return {};
|
|
4509
4512
|
}
|
|
4510
4513
|
};
|
|
4511
|
-
},
|
|
4514
|
+
}, D5 = function(t) {
|
|
4512
4515
|
return t === void 0 && (t = {}), {
|
|
4513
4516
|
name: "size",
|
|
4514
4517
|
options: t,
|
|
@@ -4522,7 +4525,7 @@ const L5 = function(t) {
|
|
|
4522
4525
|
apply: i = () => {
|
|
4523
4526
|
},
|
|
4524
4527
|
...r
|
|
4525
|
-
} = Is(t, e), l = await Kn(e, r), c = Ft(a), u =
|
|
4528
|
+
} = Is(t, e), l = await Kn(e, r), c = Ft(a), u = Xa(a), v = Ls(a) === "y", {
|
|
4526
4529
|
width: d,
|
|
4527
4530
|
height: h
|
|
4528
4531
|
} = s.floating;
|
|
@@ -4587,16 +4590,16 @@ function ga(t) {
|
|
|
4587
4590
|
} = Ve(t);
|
|
4588
4591
|
return /auto|scroll|overlay|hidden|clip/.test(e + s + a) && !["inline", "contents"].includes(n);
|
|
4589
4592
|
}
|
|
4590
|
-
function
|
|
4593
|
+
function P5(t) {
|
|
4591
4594
|
return ["table", "td", "th"].includes(vt(t));
|
|
4592
4595
|
}
|
|
4593
4596
|
function Hs(t) {
|
|
4594
4597
|
const e = Ds(), a = Ve(t);
|
|
4595
4598
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (a.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (a.contain || "").includes(s));
|
|
4596
4599
|
}
|
|
4597
|
-
function
|
|
4600
|
+
function V5(t) {
|
|
4598
4601
|
let e = Zt(t);
|
|
4599
|
-
for (; Ze(e) && !
|
|
4602
|
+
for (; Ze(e) && !Qa(e); ) {
|
|
4600
4603
|
if (Hs(e))
|
|
4601
4604
|
return e;
|
|
4602
4605
|
e = Zt(e);
|
|
@@ -4606,13 +4609,13 @@ function P5(t) {
|
|
|
4606
4609
|
function Ds() {
|
|
4607
4610
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4611
|
}
|
|
4609
|
-
function
|
|
4612
|
+
function Qa(t) {
|
|
4610
4613
|
return ["html", "body", "#document"].includes(vt(t));
|
|
4611
4614
|
}
|
|
4612
4615
|
function Ve(t) {
|
|
4613
4616
|
return Se(t).getComputedStyle(t);
|
|
4614
4617
|
}
|
|
4615
|
-
function
|
|
4618
|
+
function Ja(t) {
|
|
4616
4619
|
return tt(t) ? {
|
|
4617
4620
|
scrollLeft: t.scrollLeft,
|
|
4618
4621
|
scrollTop: t.scrollTop
|
|
@@ -4635,7 +4638,7 @@ function Zt(t) {
|
|
|
4635
4638
|
}
|
|
4636
4639
|
function Xn(t) {
|
|
4637
4640
|
const e = Zt(t);
|
|
4638
|
-
return
|
|
4641
|
+
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && ga(e) ? e : Xn(e);
|
|
4639
4642
|
}
|
|
4640
4643
|
function ca(t, e, a) {
|
|
4641
4644
|
var s;
|
|
@@ -4671,15 +4674,15 @@ function Bt(t) {
|
|
|
4671
4674
|
y: r
|
|
4672
4675
|
};
|
|
4673
4676
|
}
|
|
4674
|
-
const
|
|
4677
|
+
const B5 = /* @__PURE__ */ pt(0);
|
|
4675
4678
|
function Jn(t) {
|
|
4676
4679
|
const e = Se(t);
|
|
4677
|
-
return !Ds() || !e.visualViewport ?
|
|
4680
|
+
return !Ds() || !e.visualViewport ? B5 : {
|
|
4678
4681
|
x: e.visualViewport.offsetLeft,
|
|
4679
4682
|
y: e.visualViewport.offsetTop
|
|
4680
4683
|
};
|
|
4681
4684
|
}
|
|
4682
|
-
function
|
|
4685
|
+
function R5(t, e, a) {
|
|
4683
4686
|
return e === void 0 && (e = !1), !a || e && a !== Se(t) ? !1 : e;
|
|
4684
4687
|
}
|
|
4685
4688
|
function St(t, e, a, s) {
|
|
@@ -4687,7 +4690,7 @@ function St(t, e, a, s) {
|
|
|
4687
4690
|
const n = t.getBoundingClientRect(), o = Ps(t);
|
|
4688
4691
|
let i = pt(1);
|
|
4689
4692
|
e && (s ? tt(s) && (i = Bt(s)) : i = Bt(t));
|
|
4690
|
-
const r =
|
|
4693
|
+
const r = R5(o, a, s) ? Jn(o) : pt(0);
|
|
4691
4694
|
let l = (n.left + r.x) / i.x, c = (n.top + r.y) / i.y, u = n.width / i.x, v = n.height / i.y;
|
|
4692
4695
|
if (o) {
|
|
4693
4696
|
const d = Se(o), h = s && tt(s) ? Se(s) : s;
|
|
@@ -4704,7 +4707,7 @@ function St(t, e, a, s) {
|
|
|
4704
4707
|
y: c
|
|
4705
4708
|
});
|
|
4706
4709
|
}
|
|
4707
|
-
function
|
|
4710
|
+
function N5(t) {
|
|
4708
4711
|
let {
|
|
4709
4712
|
rect: e,
|
|
4710
4713
|
offsetParent: a,
|
|
@@ -4718,7 +4721,7 @@ function R5(t) {
|
|
|
4718
4721
|
scrollTop: 0
|
|
4719
4722
|
}, r = pt(1);
|
|
4720
4723
|
const l = pt(0);
|
|
4721
|
-
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || ga(o)) && (i =
|
|
4724
|
+
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || ga(o)) && (i = Ja(a)), Ze(a))) {
|
|
4722
4725
|
const c = St(a);
|
|
4723
4726
|
r = Bt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4727
|
}
|
|
@@ -4729,14 +4732,14 @@ function R5(t) {
|
|
|
4729
4732
|
y: e.y * r.y - i.scrollTop * r.y + l.y
|
|
4730
4733
|
};
|
|
4731
4734
|
}
|
|
4732
|
-
function
|
|
4735
|
+
function j5(t) {
|
|
4733
4736
|
return Array.from(t.getClientRects());
|
|
4734
4737
|
}
|
|
4735
4738
|
function ei(t) {
|
|
4736
|
-
return St(st(t)).left +
|
|
4739
|
+
return St(st(t)).left + Ja(t).scrollLeft;
|
|
4737
4740
|
}
|
|
4738
|
-
function
|
|
4739
|
-
const e = st(t), a =
|
|
4741
|
+
function U5(t) {
|
|
4742
|
+
const e = st(t), a = Ja(t), s = t.ownerDocument.body, n = Ie(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = Ie(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4740
4743
|
let i = -a.scrollLeft + ei(t);
|
|
4741
4744
|
const r = -a.scrollTop;
|
|
4742
4745
|
return Ve(s).direction === "rtl" && (i += Ie(e.clientWidth, s.clientWidth) - n), {
|
|
@@ -4746,7 +4749,7 @@ function j5(t) {
|
|
|
4746
4749
|
y: r
|
|
4747
4750
|
};
|
|
4748
4751
|
}
|
|
4749
|
-
function
|
|
4752
|
+
function F5(t, e) {
|
|
4750
4753
|
const a = Se(t), s = st(t), n = a.visualViewport;
|
|
4751
4754
|
let o = s.clientWidth, i = s.clientHeight, r = 0, l = 0;
|
|
4752
4755
|
if (n) {
|
|
@@ -4761,7 +4764,7 @@ function U5(t, e) {
|
|
|
4761
4764
|
y: l
|
|
4762
4765
|
};
|
|
4763
4766
|
}
|
|
4764
|
-
function
|
|
4767
|
+
function Z5(t, e) {
|
|
4765
4768
|
const a = St(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = Ze(t) ? Bt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = n * o.x, c = s * o.y;
|
|
4766
4769
|
return {
|
|
4767
4770
|
width: i,
|
|
@@ -4773,11 +4776,11 @@ function F5(t, e) {
|
|
|
4773
4776
|
function mn(t, e, a) {
|
|
4774
4777
|
let s;
|
|
4775
4778
|
if (e === "viewport")
|
|
4776
|
-
s =
|
|
4779
|
+
s = F5(t, a);
|
|
4777
4780
|
else if (e === "document")
|
|
4778
|
-
s =
|
|
4781
|
+
s = U5(st(t));
|
|
4779
4782
|
else if (tt(e))
|
|
4780
|
-
s =
|
|
4783
|
+
s = Z5(e, a);
|
|
4781
4784
|
else {
|
|
4782
4785
|
const n = Jn(t);
|
|
4783
4786
|
s = {
|
|
@@ -4790,29 +4793,29 @@ function mn(t, e, a) {
|
|
|
4790
4793
|
}
|
|
4791
4794
|
function ti(t, e) {
|
|
4792
4795
|
const a = Zt(t);
|
|
4793
|
-
return a === e || !tt(a) ||
|
|
4796
|
+
return a === e || !tt(a) || Qa(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4794
4797
|
}
|
|
4795
|
-
function
|
|
4798
|
+
function W5(t, e) {
|
|
4796
4799
|
const a = e.get(t);
|
|
4797
4800
|
if (a)
|
|
4798
4801
|
return a;
|
|
4799
4802
|
let s = ca(t, [], !1).filter((r) => tt(r) && vt(r) !== "body"), n = null;
|
|
4800
4803
|
const o = Ve(t).position === "fixed";
|
|
4801
4804
|
let i = o ? Zt(t) : t;
|
|
4802
|
-
for (; tt(i) && !
|
|
4805
|
+
for (; tt(i) && !Qa(i); ) {
|
|
4803
4806
|
const r = Ve(i), l = Hs(i);
|
|
4804
4807
|
!l && r.position === "fixed" && (n = null), (o ? !l && !n : !l && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || ga(i) && !l && ti(t, i)) ? s = s.filter((u) => u !== i) : n = r, i = Zt(i);
|
|
4805
4808
|
}
|
|
4806
4809
|
return e.set(t, s), s;
|
|
4807
4810
|
}
|
|
4808
|
-
function
|
|
4811
|
+
function q5(t) {
|
|
4809
4812
|
let {
|
|
4810
4813
|
element: e,
|
|
4811
4814
|
boundary: a,
|
|
4812
4815
|
rootBoundary: s,
|
|
4813
4816
|
strategy: n
|
|
4814
4817
|
} = t;
|
|
4815
|
-
const i = [...a === "clippingAncestors" ?
|
|
4818
|
+
const i = [...a === "clippingAncestors" ? W5(e, this._c) : [].concat(a), s], r = i[0], l = i.reduce((c, u) => {
|
|
4816
4819
|
const v = mn(e, u, n);
|
|
4817
4820
|
return c.top = Ie(v.top, c.top), c.right = ua(v.right, c.right), c.bottom = ua(v.bottom, c.bottom), c.left = Ie(v.left, c.left), c;
|
|
4818
4821
|
}, mn(e, r, n));
|
|
@@ -4823,10 +4826,10 @@ function W5(t) {
|
|
|
4823
4826
|
y: l.top
|
|
4824
4827
|
};
|
|
4825
4828
|
}
|
|
4826
|
-
function
|
|
4829
|
+
function z5(t) {
|
|
4827
4830
|
return Qn(t);
|
|
4828
4831
|
}
|
|
4829
|
-
function
|
|
4832
|
+
function x5(t, e, a) {
|
|
4830
4833
|
const s = Ze(e), n = st(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4831
4834
|
let r = {
|
|
4832
4835
|
scrollLeft: 0,
|
|
@@ -4834,7 +4837,7 @@ function z5(t, e, a) {
|
|
|
4834
4837
|
};
|
|
4835
4838
|
const l = pt(0);
|
|
4836
4839
|
if (s || !s && !o)
|
|
4837
|
-
if ((vt(e) !== "body" || ga(n)) && (r =
|
|
4840
|
+
if ((vt(e) !== "body" || ga(n)) && (r = Ja(e)), s) {
|
|
4838
4841
|
const c = St(e, !0, o, e);
|
|
4839
4842
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4843
|
} else
|
|
@@ -4854,11 +4857,11 @@ function ai(t, e) {
|
|
|
4854
4857
|
if (!Ze(t))
|
|
4855
4858
|
return a;
|
|
4856
4859
|
let s = Cn(t, e);
|
|
4857
|
-
for (; s &&
|
|
4860
|
+
for (; s && P5(s) && Ve(s).position === "static"; )
|
|
4858
4861
|
s = Cn(s, e);
|
|
4859
|
-
return s && (vt(s) === "html" || vt(s) === "body" && Ve(s).position === "static" && !Hs(s)) ? a : s ||
|
|
4862
|
+
return s && (vt(s) === "html" || vt(s) === "body" && Ve(s).position === "static" && !Hs(s)) ? a : s || V5(t) || a;
|
|
4860
4863
|
}
|
|
4861
|
-
const
|
|
4864
|
+
const Y5 = async function(t) {
|
|
4862
4865
|
let {
|
|
4863
4866
|
reference: e,
|
|
4864
4867
|
floating: a,
|
|
@@ -4866,7 +4869,7 @@ const x5 = async function(t) {
|
|
|
4866
4869
|
} = t;
|
|
4867
4870
|
const n = this.getOffsetParent || ai, o = this.getDimensions;
|
|
4868
4871
|
return {
|
|
4869
|
-
reference:
|
|
4872
|
+
reference: x5(e, await n(a), s),
|
|
4870
4873
|
floating: {
|
|
4871
4874
|
x: 0,
|
|
4872
4875
|
y: 0,
|
|
@@ -4874,22 +4877,22 @@ const x5 = async function(t) {
|
|
|
4874
4877
|
}
|
|
4875
4878
|
};
|
|
4876
4879
|
};
|
|
4877
|
-
function
|
|
4880
|
+
function K5(t) {
|
|
4878
4881
|
return Ve(t).direction === "rtl";
|
|
4879
4882
|
}
|
|
4880
|
-
const
|
|
4881
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4883
|
+
const G5 = {
|
|
4884
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: N5,
|
|
4882
4885
|
getDocumentElement: st,
|
|
4883
|
-
getClippingRect:
|
|
4886
|
+
getClippingRect: q5,
|
|
4884
4887
|
getOffsetParent: ai,
|
|
4885
|
-
getElementRects:
|
|
4886
|
-
getClientRects:
|
|
4887
|
-
getDimensions:
|
|
4888
|
+
getElementRects: Y5,
|
|
4889
|
+
getClientRects: j5,
|
|
4890
|
+
getDimensions: z5,
|
|
4888
4891
|
getScale: Bt,
|
|
4889
4892
|
isElement: tt,
|
|
4890
|
-
isRTL:
|
|
4893
|
+
isRTL: K5
|
|
4891
4894
|
};
|
|
4892
|
-
function
|
|
4895
|
+
function X5(t, e) {
|
|
4893
4896
|
let a = null, s;
|
|
4894
4897
|
const n = st(t);
|
|
4895
4898
|
function o() {
|
|
@@ -4934,7 +4937,7 @@ function G5(t, e) {
|
|
|
4934
4937
|
}
|
|
4935
4938
|
return i(!0), o;
|
|
4936
4939
|
}
|
|
4937
|
-
function
|
|
4940
|
+
function Q5(t, e, a, s) {
|
|
4938
4941
|
s === void 0 && (s = {});
|
|
4939
4942
|
const {
|
|
4940
4943
|
ancestorScroll: n = !0,
|
|
@@ -4948,7 +4951,7 @@ function X5(t, e, a, s) {
|
|
|
4948
4951
|
passive: !0
|
|
4949
4952
|
}), o && S.addEventListener("resize", a);
|
|
4950
4953
|
});
|
|
4951
|
-
const v = c && r ?
|
|
4954
|
+
const v = c && r ? X5(c, a) : null;
|
|
4952
4955
|
let d = -1, h = null;
|
|
4953
4956
|
i && (h = new ResizeObserver((S) => {
|
|
4954
4957
|
let [_] = S;
|
|
@@ -4968,19 +4971,19 @@ function X5(t, e, a, s) {
|
|
|
4968
4971
|
}), v && v(), h && h.disconnect(), h = null, l && cancelAnimationFrame(w);
|
|
4969
4972
|
};
|
|
4970
4973
|
}
|
|
4971
|
-
const
|
|
4974
|
+
const J5 = (t, e, a) => {
|
|
4972
4975
|
const s = /* @__PURE__ */ new Map(), n = {
|
|
4973
|
-
platform:
|
|
4976
|
+
platform: G5,
|
|
4974
4977
|
...a
|
|
4975
4978
|
}, o = {
|
|
4976
4979
|
...n.platform,
|
|
4977
4980
|
_c: s
|
|
4978
4981
|
};
|
|
4979
|
-
return
|
|
4982
|
+
return L5(t, e, {
|
|
4980
4983
|
...n,
|
|
4981
4984
|
platform: o
|
|
4982
4985
|
});
|
|
4983
|
-
},
|
|
4986
|
+
}, e7 = (t) => {
|
|
4984
4987
|
const e = ee(!1), a = ee(), s = ee(), n = ee(0);
|
|
4985
4988
|
function o() {
|
|
4986
4989
|
const v = J(t.appendTo);
|
|
@@ -5005,21 +5008,21 @@ const Q5 = (t, e, a) => {
|
|
|
5005
5008
|
transform: "none",
|
|
5006
5009
|
marginTop: 0
|
|
5007
5010
|
}), i.appendChild(d), t.multiselect.value.handleFocusOut = l;
|
|
5008
|
-
const w =
|
|
5011
|
+
const w = Q5(a.value, s.value, u);
|
|
5009
5012
|
r.value = () => {
|
|
5010
5013
|
s.value && i.contains(s.value) && i.removeChild(s.value), w();
|
|
5011
5014
|
};
|
|
5012
5015
|
}
|
|
5013
5016
|
function u() {
|
|
5014
|
-
!s.value || !a.value ||
|
|
5017
|
+
!s.value || !a.value || J5(a.value, s.value, {
|
|
5015
5018
|
strategy: "absolute",
|
|
5016
5019
|
placement: "bottom-start",
|
|
5017
5020
|
middleware: [
|
|
5018
|
-
|
|
5021
|
+
H5({
|
|
5019
5022
|
fallbackStrategy: "initialPlacement",
|
|
5020
5023
|
fallbackPlacements: ["top-start", "bottom-start"]
|
|
5021
5024
|
}),
|
|
5022
|
-
|
|
5025
|
+
D5({
|
|
5023
5026
|
apply({ availableWidth: v, availableHeight: d, elements: h, rects: w }) {
|
|
5024
5027
|
Object.assign(h.floating.style, {
|
|
5025
5028
|
minHeight: `${n.value}px`,
|
|
@@ -5042,14 +5045,14 @@ const Q5 = (t, e, a) => {
|
|
|
5042
5045
|
c();
|
|
5043
5046
|
}), Tn(() => {
|
|
5044
5047
|
r.value();
|
|
5045
|
-
}),
|
|
5048
|
+
}), $s(() => {
|
|
5046
5049
|
r.value();
|
|
5047
5050
|
});
|
|
5048
5051
|
};
|
|
5049
5052
|
function Ue(t) {
|
|
5050
5053
|
return [null, void 0].indexOf(t) !== -1;
|
|
5051
5054
|
}
|
|
5052
|
-
function
|
|
5055
|
+
function t7(t, e, a) {
|
|
5053
5056
|
const { object: s, valueProp: n, mode: o } = Me(t), i = Tt().proxy, r = a.iv, l = (v, d = !0) => {
|
|
5054
5057
|
r.value = u(v);
|
|
5055
5058
|
const h = c(v);
|
|
@@ -5059,7 +5062,7 @@ function e7(t, e, a) {
|
|
|
5059
5062
|
update: l
|
|
5060
5063
|
};
|
|
5061
5064
|
}
|
|
5062
|
-
function
|
|
5065
|
+
function a7(t, e) {
|
|
5063
5066
|
const { value: a, modelValue: s, mode: n, valueProp: o } = Me(t), i = ee(n.value !== "single" ? [] : {}), r = M(() => s && s.value !== void 0 ? s.value : a.value), l = M(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = M(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
|
|
5064
5067
|
return {
|
|
5065
5068
|
iv: i,
|
|
@@ -5070,7 +5073,7 @@ function t7(t, e) {
|
|
|
5070
5073
|
plainValue: l
|
|
5071
5074
|
};
|
|
5072
5075
|
}
|
|
5073
|
-
function
|
|
5076
|
+
function s7(t, e, a) {
|
|
5074
5077
|
const { regex: s } = Me(t), n = Tt().proxy, o = a.isOpen, i = a.open, r = ee(null), l = () => {
|
|
5075
5078
|
r.value = "";
|
|
5076
5079
|
}, c = (d) => {
|
|
@@ -5098,7 +5101,7 @@ function a7(t, e, a) {
|
|
|
5098
5101
|
handlePaste: v
|
|
5099
5102
|
};
|
|
5100
5103
|
}
|
|
5101
|
-
function
|
|
5104
|
+
function n7(t, e, a) {
|
|
5102
5105
|
const { groupSelect: s, mode: n, groups: o, disabledProp: i } = Me(t), r = ee(null), l = (u) => {
|
|
5103
5106
|
u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (r.value = u);
|
|
5104
5107
|
};
|
|
@@ -5110,19 +5113,19 @@ function s7(t, e, a) {
|
|
|
5110
5113
|
}
|
|
5111
5114
|
};
|
|
5112
5115
|
}
|
|
5113
|
-
function
|
|
5116
|
+
function fs(t, e = !0) {
|
|
5114
5117
|
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
5118
|
}
|
|
5116
|
-
function
|
|
5119
|
+
function i7(t) {
|
|
5117
5120
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
5118
5121
|
}
|
|
5119
|
-
function
|
|
5122
|
+
function o7(t, e) {
|
|
5120
5123
|
const a = e.slice().sort();
|
|
5121
5124
|
return t.length === e.length && t.slice().sort().every(function(s, n) {
|
|
5122
5125
|
return s === a[n];
|
|
5123
5126
|
});
|
|
5124
5127
|
}
|
|
5125
|
-
function
|
|
5128
|
+
function r7(t, e, a) {
|
|
5126
5129
|
const {
|
|
5127
5130
|
options: s,
|
|
5128
5131
|
mode: n,
|
|
@@ -5161,23 +5164,23 @@ function o7(t, e, a) {
|
|
|
5161
5164
|
disabledProp: y,
|
|
5162
5165
|
searchStart: R,
|
|
5163
5166
|
searchFilter: le
|
|
5164
|
-
} = Me(t), oe = Tt().proxy, q = a.iv, H = a.ev, X = a.search, he = a.clearSearch, $e = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus,
|
|
5167
|
+
} = Me(t), oe = Tt().proxy, q = a.iv, H = a.ev, X = a.search, he = a.clearSearch, $e = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, ss = a.deactivate, it = a.close, ya = a.localize, ot = ee([]), je = ee([]), Te = ee(!1), Be = ee(null), ze = ee(A.value && i.value === -1 ? 10 : i.value), Xt = M(() => l.value || c.value || !1), ba = M(() => v.value !== void 0 ? v.value : d.value !== void 0 ? d.value : !0), Oe = M(() => {
|
|
5165
5168
|
if (K.value) {
|
|
5166
5169
|
let k = _t.value || /* istanbul ignore next */
|
|
5167
5170
|
[], B = [];
|
|
5168
5171
|
return k.forEach((re) => {
|
|
5169
|
-
|
|
5172
|
+
cs(re[$.value]).forEach((me) => {
|
|
5170
5173
|
B.push(Object.assign({}, me, re[y.value] ? { [y.value]: !0 } : {}));
|
|
5171
5174
|
});
|
|
5172
5175
|
}), B;
|
|
5173
5176
|
} else {
|
|
5174
|
-
let k =
|
|
5177
|
+
let k = cs(je.value || /* istanbul ignore next */
|
|
5175
5178
|
[]);
|
|
5176
5179
|
return ot.value.length && (k = k.concat(ot.value)), k;
|
|
5177
5180
|
}
|
|
5178
5181
|
}), Qt = M(() => {
|
|
5179
5182
|
let k = Oe.value;
|
|
5180
|
-
return te.value && (k = k.reverse()), Et.value.length && (k = Et.value.concat(k)),
|
|
5183
|
+
return te.value && (k = k.reverse()), Et.value.length && (k = Et.value.concat(k)), us(k);
|
|
5181
5184
|
}), rt = M(() => {
|
|
5182
5185
|
let k = Qt.value;
|
|
5183
5186
|
return ze.value > 0 && (k = k.slice(0, ze.value)), k;
|
|
@@ -5198,22 +5201,22 @@ function o7(t, e, a) {
|
|
|
5198
5201
|
[$.value]: [...Et.value],
|
|
5199
5202
|
__CREATE__: !0
|
|
5200
5203
|
}].concat(k)), k;
|
|
5201
|
-
}),
|
|
5204
|
+
}), ns = M(() => {
|
|
5202
5205
|
if (!K.value)
|
|
5203
5206
|
return [];
|
|
5204
5207
|
let k = wa.value;
|
|
5205
5208
|
return Ai((k || /* istanbul ignore next */
|
|
5206
5209
|
[]).map((B, re) => {
|
|
5207
|
-
const me =
|
|
5210
|
+
const me = cs(B[$.value]);
|
|
5208
5211
|
return {
|
|
5209
5212
|
...B,
|
|
5210
5213
|
index: re,
|
|
5211
5214
|
group: !0,
|
|
5212
|
-
[$.value]:
|
|
5213
|
-
__VISIBLE__:
|
|
5215
|
+
[$.value]: us(me, !1).map((bt) => Object.assign({}, bt, B[y.value] ? { [y.value]: !0 } : {})),
|
|
5216
|
+
__VISIBLE__: us(me).map((bt) => Object.assign({}, bt, B[y.value] ? { [y.value]: !0 } : {}))
|
|
5214
5217
|
};
|
|
5215
5218
|
}));
|
|
5216
|
-
}),
|
|
5219
|
+
}), is = M(() => {
|
|
5217
5220
|
switch (n.value) {
|
|
5218
5221
|
case "single":
|
|
5219
5222
|
return !Ue(q.value[L.value]);
|
|
@@ -5276,8 +5279,8 @@ function o7(t, e, a) {
|
|
|
5276
5279
|
case "multiple":
|
|
5277
5280
|
return !Ue(q.value) && q.value.map((B) => B[L.value]).indexOf(k[L.value]) !== -1;
|
|
5278
5281
|
}
|
|
5279
|
-
},
|
|
5280
|
-
if (!
|
|
5282
|
+
}, os = (k) => k[y.value] === !0, rs = () => G === void 0 || G.value === -1 || !is.value && G.value > 0 ? !1 : q.value.length >= G.value, gi = (k) => {
|
|
5283
|
+
if (!os(k)) {
|
|
5281
5284
|
if (ie && ie.value && !xe(k) && k.__CREATE__ && (k = { ...k }, delete k.__CREATE__, k = ie.value(k, oe), k instanceof Promise)) {
|
|
5282
5285
|
Te.value = !0, k.then((B) => {
|
|
5283
5286
|
Te.value = !1, an(B);
|
|
@@ -5293,45 +5296,45 @@ function o7(t, e, a) {
|
|
|
5293
5296
|
x.value && Lt(k), E.value && (nt(), it());
|
|
5294
5297
|
return;
|
|
5295
5298
|
}
|
|
5296
|
-
k &&
|
|
5299
|
+
k && ls(k), I.value && he(), N.value && (nt(), it()), k && It(k);
|
|
5297
5300
|
break;
|
|
5298
5301
|
case "multiple":
|
|
5299
5302
|
if (k && xe(k)) {
|
|
5300
5303
|
Lt(k), E.value && (nt(), it());
|
|
5301
5304
|
return;
|
|
5302
5305
|
}
|
|
5303
|
-
if (
|
|
5306
|
+
if (rs()) {
|
|
5304
5307
|
e.emit("max", oe);
|
|
5305
5308
|
return;
|
|
5306
5309
|
}
|
|
5307
|
-
k && (
|
|
5310
|
+
k && (ls(k), It(k)), I.value && he(), r.value && nt(), N.value && it();
|
|
5308
5311
|
break;
|
|
5309
5312
|
case "tags":
|
|
5310
5313
|
if (k && xe(k)) {
|
|
5311
5314
|
Lt(k), E.value && (nt(), it());
|
|
5312
5315
|
return;
|
|
5313
5316
|
}
|
|
5314
|
-
if (
|
|
5317
|
+
if (rs()) {
|
|
5315
5318
|
e.emit("max", oe);
|
|
5316
5319
|
return;
|
|
5317
5320
|
}
|
|
5318
|
-
k &&
|
|
5321
|
+
k && ls(k), I.value && he(), k && It(k), r.value && nt(), N.value && it();
|
|
5319
5322
|
break;
|
|
5320
5323
|
}
|
|
5321
5324
|
N.value || _a();
|
|
5322
5325
|
}, _i = (k) => {
|
|
5323
|
-
if (!(
|
|
5326
|
+
if (!(os(k) || n.value === "single" || !V.value)) {
|
|
5324
5327
|
switch (n.value) {
|
|
5325
5328
|
case "multiple":
|
|
5326
5329
|
case "tags":
|
|
5327
5330
|
bi(k[$.value]) ? Lt(k[$.value]) : It(
|
|
5328
5331
|
k[$.value].filter((B) => q.value.map((re) => re[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, re) => q.value.length + 1 + re <= G.value || G.value === -1)
|
|
5329
|
-
), r.value && Kt.value && Gt(
|
|
5332
|
+
), r.value && Kt.value && Gt(ns.value.filter((B) => !B[y.value])[Kt.value.index]);
|
|
5330
5333
|
break;
|
|
5331
5334
|
}
|
|
5332
|
-
N.value &&
|
|
5335
|
+
N.value && ss();
|
|
5333
5336
|
}
|
|
5334
|
-
},
|
|
5337
|
+
}, ls = (k) => {
|
|
5335
5338
|
Ye(k[L.value]) === void 0 && Xt.value && (e.emit("tag", k[L.value], oe), e.emit("option", k[L.value], oe), e.emit("create", k[L.value], oe), ba.value && Si(k), he());
|
|
5336
5339
|
}, yi = () => {
|
|
5337
5340
|
n.value !== "single" && It(rt.value.filter((k) => !k.disabled && !xe(k)));
|
|
@@ -5339,19 +5342,19 @@ function o7(t, e, a) {
|
|
|
5339
5342
|
ot.value.push(k);
|
|
5340
5343
|
}, Ai = (k) => U.value ? k.filter(
|
|
5341
5344
|
(B) => X.value ? B.__VISIBLE__.length : B[$.value].length
|
|
5342
|
-
) : k.filter((B) => X.value ? B.__VISIBLE__.length : !0),
|
|
5345
|
+
) : k.filter((B) => X.value ? B.__VISIBLE__.length : !0), us = (k, B = !0) => {
|
|
5343
5346
|
let re = k;
|
|
5344
5347
|
if (X.value && C.value) {
|
|
5345
5348
|
let me = le.value;
|
|
5346
|
-
me || (me = (bt, nn,
|
|
5347
|
-
let on =
|
|
5348
|
-
return R.value ? on.startsWith(
|
|
5349
|
+
me || (me = (bt, nn, M8) => yt.value.some((Ti) => {
|
|
5350
|
+
let on = fs(ya(bt[Ti]), se.value);
|
|
5351
|
+
return R.value ? on.startsWith(fs(nn, se.value)) : on.indexOf(fs(nn, se.value)) !== -1;
|
|
5349
5352
|
})), re = re.filter((bt) => me(bt, X.value, oe));
|
|
5350
5353
|
}
|
|
5351
5354
|
return r.value && B && (re = re.filter((me) => !ki(me))), re;
|
|
5352
|
-
},
|
|
5355
|
+
}, cs = (k) => {
|
|
5353
5356
|
let B = k;
|
|
5354
|
-
return
|
|
5357
|
+
return i7(B) && (B = Object.keys(B).map((re) => {
|
|
5355
5358
|
let me = B[re];
|
|
5356
5359
|
return { [L.value]: re, [yt.value[0]]: me, [u.value]: me };
|
|
5357
5360
|
})), B = B.map((re) => typeof re == "object" ? re : { [L.value]: re, [yt.value[0]]: re, [u.value]: re }), B;
|
|
@@ -5365,8 +5368,8 @@ function o7(t, e, a) {
|
|
|
5365
5368
|
}).finally(() => {
|
|
5366
5369
|
B();
|
|
5367
5370
|
});
|
|
5368
|
-
})),
|
|
5369
|
-
if (
|
|
5371
|
+
})), ds = () => {
|
|
5372
|
+
if (is.value)
|
|
5370
5373
|
if (n.value === "single") {
|
|
5371
5374
|
let k = Ye(q.value[L.value]);
|
|
5372
5375
|
if (k !== void 0) {
|
|
@@ -5420,25 +5423,25 @@ function o7(t, e, a) {
|
|
|
5420
5423
|
break;
|
|
5421
5424
|
case "multiple":
|
|
5422
5425
|
case "tags":
|
|
5423
|
-
|
|
5426
|
+
o7(w.value ? k.map((B) => B[L.value]) : k, q.value.map((B) => B[L.value])) || $e(Sa(k), !1);
|
|
5424
5427
|
break;
|
|
5425
5428
|
}
|
|
5426
5429
|
}, { deep: !0 }), de(s, (k, B) => {
|
|
5427
|
-
typeof t.options == "function" ? S.value && (!B || k && k.toString() !== B.toString()) && ka() : (je.value = t.options, Object.keys(q.value).length || $a(),
|
|
5428
|
-
}), de(u,
|
|
5430
|
+
typeof t.options == "function" ? S.value && (!B || k && k.toString() !== B.toString()) && ka() : (je.value = t.options, Object.keys(q.value).length || $a(), ds());
|
|
5431
|
+
}), de(u, ds), de(i, (k, B) => {
|
|
5429
5432
|
ze.value = A.value && k === -1 ? 10 : k;
|
|
5430
5433
|
}), {
|
|
5431
5434
|
pfo: Qt,
|
|
5432
5435
|
fo: rt,
|
|
5433
5436
|
filteredOptions: rt,
|
|
5434
|
-
hasSelected:
|
|
5437
|
+
hasSelected: is,
|
|
5435
5438
|
multipleLabelText: pi,
|
|
5436
5439
|
eo: Oe,
|
|
5437
5440
|
extendedOptions: Oe,
|
|
5438
5441
|
eg: _t,
|
|
5439
5442
|
extendedGroups: _t,
|
|
5440
|
-
fg:
|
|
5441
|
-
filteredGroups:
|
|
5443
|
+
fg: ns,
|
|
5444
|
+
filteredGroups: ns,
|
|
5442
5445
|
noOptions: vi,
|
|
5443
5446
|
noResults: fi,
|
|
5444
5447
|
resolving: Te,
|
|
@@ -5450,18 +5453,18 @@ function o7(t, e, a) {
|
|
|
5450
5453
|
selectAll: yi,
|
|
5451
5454
|
clear: tn,
|
|
5452
5455
|
isSelected: xe,
|
|
5453
|
-
isDisabled:
|
|
5454
|
-
isMax:
|
|
5456
|
+
isDisabled: os,
|
|
5457
|
+
isMax: rs,
|
|
5455
5458
|
getOption: Ye,
|
|
5456
5459
|
handleOptionClick: gi,
|
|
5457
5460
|
handleGroupClick: _i,
|
|
5458
5461
|
handleTagRemove: Ci,
|
|
5459
5462
|
refreshOptions: Mi,
|
|
5460
5463
|
resolveOptions: ka,
|
|
5461
|
-
refreshLabels:
|
|
5464
|
+
refreshLabels: ds
|
|
5462
5465
|
};
|
|
5463
5466
|
}
|
|
5464
|
-
function
|
|
5467
|
+
function l7(t, e, a) {
|
|
5465
5468
|
const {
|
|
5466
5469
|
valueProp: s,
|
|
5467
5470
|
showOptions: n,
|
|
@@ -5574,14 +5577,14 @@ function Vs(t) {
|
|
|
5574
5577
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5578
|
}
|
|
5576
5579
|
var kt = Math.max, Na = Math.min, Wt = Math.round;
|
|
5577
|
-
function
|
|
5580
|
+
function _s() {
|
|
5578
5581
|
var t = navigator.userAgentData;
|
|
5579
5582
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5580
5583
|
return e.brand + "/" + e.version;
|
|
5581
5584
|
}).join(" ") : navigator.userAgent;
|
|
5582
5585
|
}
|
|
5583
5586
|
function si() {
|
|
5584
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5587
|
+
return !/^((?!chrome|android).)*safari/i.test(_s());
|
|
5585
5588
|
}
|
|
5586
5589
|
function qt(t, e, a) {
|
|
5587
5590
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
@@ -5606,14 +5609,14 @@ function Bs(t) {
|
|
|
5606
5609
|
scrollTop: s
|
|
5607
5610
|
};
|
|
5608
5611
|
}
|
|
5609
|
-
function
|
|
5612
|
+
function u7(t) {
|
|
5610
5613
|
return {
|
|
5611
5614
|
scrollLeft: t.scrollLeft,
|
|
5612
5615
|
scrollTop: t.scrollTop
|
|
5613
5616
|
};
|
|
5614
5617
|
}
|
|
5615
|
-
function
|
|
5616
|
-
return t === Ae(t) || !Pe(t) ? Bs(t) :
|
|
5618
|
+
function c7(t) {
|
|
5619
|
+
return t === Ae(t) || !Pe(t) ? Bs(t) : u7(t);
|
|
5617
5620
|
}
|
|
5618
5621
|
function We(t) {
|
|
5619
5622
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -5634,13 +5637,13 @@ function Ns(t) {
|
|
|
5634
5637
|
var e = at(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
|
|
5635
5638
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5636
5639
|
}
|
|
5637
|
-
function
|
|
5640
|
+
function d7(t) {
|
|
5638
5641
|
var e = t.getBoundingClientRect(), a = Wt(e.width) / t.offsetWidth || 1, s = Wt(e.height) / t.offsetHeight || 1;
|
|
5639
5642
|
return a !== 1 || s !== 1;
|
|
5640
5643
|
}
|
|
5641
|
-
function
|
|
5644
|
+
function p7(t, e, a) {
|
|
5642
5645
|
a === void 0 && (a = !1);
|
|
5643
|
-
var s = Pe(e), n = Pe(e) &&
|
|
5646
|
+
var s = Pe(e), n = Pe(e) && d7(e), o = gt(e), i = qt(t, n, a), r = {
|
|
5644
5647
|
scrollLeft: 0,
|
|
5645
5648
|
scrollTop: 0
|
|
5646
5649
|
}, l = {
|
|
@@ -5648,7 +5651,7 @@ function d7(t, e, a) {
|
|
|
5648
5651
|
y: 0
|
|
5649
5652
|
};
|
|
5650
5653
|
return (s || !s && !a) && ((We(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
-
Ns(o)) && (r =
|
|
5654
|
+
Ns(o)) && (r = c7(e)), Pe(e) ? (l = qt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Rs(o))), {
|
|
5652
5655
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5656
|
y: i.top + r.scrollTop - l.y,
|
|
5654
5657
|
width: i.width,
|
|
@@ -5664,7 +5667,7 @@ function ni(t) {
|
|
|
5664
5667
|
height: s
|
|
5665
5668
|
};
|
|
5666
5669
|
}
|
|
5667
|
-
function
|
|
5670
|
+
function es(t) {
|
|
5668
5671
|
return We(t) === "html" ? t : (
|
|
5669
5672
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5670
5673
|
// $FlowFixMe[incompatible-return]
|
|
@@ -5677,7 +5680,7 @@ function ts(t) {
|
|
|
5677
5680
|
);
|
|
5678
5681
|
}
|
|
5679
5682
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(We(t)) >= 0 ? t.ownerDocument.body : Pe(t) && Ns(t) ? t : ii(
|
|
5683
|
+
return ["html", "body", "#document"].indexOf(We(t)) >= 0 ? t.ownerDocument.body : Pe(t) && Ns(t) ? t : ii(es(t));
|
|
5681
5684
|
}
|
|
5682
5685
|
function ia(t, e) {
|
|
5683
5686
|
var a;
|
|
@@ -5685,24 +5688,24 @@ function ia(t, e) {
|
|
|
5685
5688
|
var s = ii(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Ae(s), i = n ? [o].concat(o.visualViewport || [], Ns(s) ? s : []) : s, r = e.concat(i);
|
|
5686
5689
|
return n ? r : (
|
|
5687
5690
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
|
-
r.concat(ia(
|
|
5691
|
+
r.concat(ia(es(i)))
|
|
5689
5692
|
);
|
|
5690
5693
|
}
|
|
5691
|
-
function
|
|
5694
|
+
function v7(t) {
|
|
5692
5695
|
return ["table", "td", "th"].indexOf(We(t)) >= 0;
|
|
5693
5696
|
}
|
|
5694
5697
|
function gn(t) {
|
|
5695
5698
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5699
|
at(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5700
|
}
|
|
5698
|
-
function
|
|
5699
|
-
var e = /firefox/i.test(
|
|
5701
|
+
function f7(t) {
|
|
5702
|
+
var e = /firefox/i.test(_s()), a = /Trident/i.test(_s());
|
|
5700
5703
|
if (a && Pe(t)) {
|
|
5701
5704
|
var s = at(t);
|
|
5702
5705
|
if (s.position === "fixed")
|
|
5703
5706
|
return null;
|
|
5704
5707
|
}
|
|
5705
|
-
var n =
|
|
5708
|
+
var n = es(t);
|
|
5706
5709
|
for (Vs(n) && (n = n.host); Pe(n) && ["html", "body"].indexOf(We(n)) < 0; ) {
|
|
5707
5710
|
var o = at(n);
|
|
5708
5711
|
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,17 +5714,17 @@ function v7(t) {
|
|
|
5711
5714
|
}
|
|
5712
5715
|
return null;
|
|
5713
5716
|
}
|
|
5714
|
-
function
|
|
5715
|
-
for (var e = Ae(t), a = gn(t); a &&
|
|
5717
|
+
function ts(t) {
|
|
5718
|
+
for (var e = Ae(t), a = gn(t); a && v7(a) && at(a).position === "static"; )
|
|
5716
5719
|
a = gn(a);
|
|
5717
|
-
return a && (We(a) === "html" || We(a) === "body" && at(a).position === "static") ? e : a ||
|
|
5720
|
+
return a && (We(a) === "html" || We(a) === "body" && at(a).position === "static") ? e : a || f7(t) || e;
|
|
5718
5721
|
}
|
|
5719
|
-
var Ne = "top", qe = "bottom", ft = "right", Xe = "left", js = "auto",
|
|
5722
|
+
var Ne = "top", qe = "bottom", ft = "right", Xe = "left", js = "auto", as = [Ne, qe, ft, Xe], zt = "start", da = "end", h7 = "clippingParents", oi = "viewport", na = "popper", m7 = "reference", _n = /* @__PURE__ */ as.reduce(function(t, e) {
|
|
5720
5723
|
return t.concat([e + "-" + zt, e + "-" + da]);
|
|
5721
|
-
}, []),
|
|
5724
|
+
}, []), C7 = /* @__PURE__ */ [].concat(as, [js]).reduce(function(t, e) {
|
|
5722
5725
|
return t.concat([e, e + "-" + zt, e + "-" + da]);
|
|
5723
|
-
}, []),
|
|
5724
|
-
function
|
|
5726
|
+
}, []), g7 = "beforeRead", _7 = "read", y7 = "afterRead", b7 = "beforeMain", w7 = "main", $7 = "afterMain", k7 = "beforeWrite", S7 = "write", A7 = "afterWrite", M7 = [g7, _7, y7, b7, w7, $7, k7, S7, A7];
|
|
5727
|
+
function T7(t) {
|
|
5725
5728
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
5726
5729
|
t.forEach(function(o) {
|
|
5727
5730
|
e.set(o.name, o);
|
|
@@ -5740,15 +5743,15 @@ function M7(t) {
|
|
|
5740
5743
|
a.has(o.name) || n(o);
|
|
5741
5744
|
}), s;
|
|
5742
5745
|
}
|
|
5743
|
-
function
|
|
5744
|
-
var e =
|
|
5745
|
-
return
|
|
5746
|
+
function O7(t) {
|
|
5747
|
+
var e = T7(t);
|
|
5748
|
+
return M7.reduce(function(a, s) {
|
|
5746
5749
|
return a.concat(e.filter(function(n) {
|
|
5747
5750
|
return n.phase === s;
|
|
5748
5751
|
}));
|
|
5749
5752
|
}, []);
|
|
5750
5753
|
}
|
|
5751
|
-
function
|
|
5754
|
+
function E7(t) {
|
|
5752
5755
|
var e;
|
|
5753
5756
|
return function() {
|
|
5754
5757
|
return e || (e = new Promise(function(a) {
|
|
@@ -5758,7 +5761,7 @@ function O7(t) {
|
|
|
5758
5761
|
})), e;
|
|
5759
5762
|
};
|
|
5760
5763
|
}
|
|
5761
|
-
function
|
|
5764
|
+
function I7(t) {
|
|
5762
5765
|
var e = t.reduce(function(a, s) {
|
|
5763
5766
|
var n = a[s.name];
|
|
5764
5767
|
return a[s.name] = n ? Object.assign({}, n, s, {
|
|
@@ -5770,7 +5773,7 @@ function E7(t) {
|
|
|
5770
5773
|
return e[a];
|
|
5771
5774
|
});
|
|
5772
5775
|
}
|
|
5773
|
-
function
|
|
5776
|
+
function L7(t, e) {
|
|
5774
5777
|
var a = Ae(t), s = gt(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, r = 0, l = 0;
|
|
5775
5778
|
if (n) {
|
|
5776
5779
|
o = n.width, i = n.height;
|
|
@@ -5784,7 +5787,7 @@ function I7(t, e) {
|
|
|
5784
5787
|
y: l
|
|
5785
5788
|
};
|
|
5786
5789
|
}
|
|
5787
|
-
function
|
|
5790
|
+
function H7(t) {
|
|
5788
5791
|
var e, a = gt(t), s = Bs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), r = -s.scrollLeft + Rs(t), l = -s.scrollTop;
|
|
5789
5792
|
return at(n || a).direction === "rtl" && (r += kt(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5790
5793
|
width: o,
|
|
@@ -5793,7 +5796,7 @@ function L7(t) {
|
|
|
5793
5796
|
y: l
|
|
5794
5797
|
};
|
|
5795
5798
|
}
|
|
5796
|
-
function
|
|
5799
|
+
function D7(t, e) {
|
|
5797
5800
|
var a = e.getRootNode && e.getRootNode();
|
|
5798
5801
|
if (t.contains(e))
|
|
5799
5802
|
return !0;
|
|
@@ -5807,7 +5810,7 @@ function H7(t, e) {
|
|
|
5807
5810
|
}
|
|
5808
5811
|
return !1;
|
|
5809
5812
|
}
|
|
5810
|
-
function
|
|
5813
|
+
function ys(t) {
|
|
5811
5814
|
return Object.assign({}, t, {
|
|
5812
5815
|
left: t.x,
|
|
5813
5816
|
top: t.y,
|
|
@@ -5815,21 +5818,21 @@ function bs(t) {
|
|
|
5815
5818
|
bottom: t.y + t.height
|
|
5816
5819
|
});
|
|
5817
5820
|
}
|
|
5818
|
-
function
|
|
5821
|
+
function P7(t, e) {
|
|
5819
5822
|
var a = qt(t, !1, e === "fixed");
|
|
5820
5823
|
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
5824
|
}
|
|
5822
5825
|
function yn(t, e, a) {
|
|
5823
|
-
return e === oi ?
|
|
5826
|
+
return e === oi ? ys(L7(t, a)) : At(e) ? P7(e, a) : ys(H7(gt(t)));
|
|
5824
5827
|
}
|
|
5825
|
-
function
|
|
5826
|
-
var e = ia(
|
|
5828
|
+
function V7(t) {
|
|
5829
|
+
var e = ia(es(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a && Pe(t) ? ts(t) : t;
|
|
5827
5830
|
return At(s) ? e.filter(function(n) {
|
|
5828
|
-
return At(n) &&
|
|
5831
|
+
return At(n) && D7(n, s) && We(n) !== "body";
|
|
5829
5832
|
}) : [];
|
|
5830
5833
|
}
|
|
5831
|
-
function
|
|
5832
|
-
var n = e === "clippingParents" ?
|
|
5834
|
+
function B7(t, e, a, s) {
|
|
5835
|
+
var n = e === "clippingParents" ? V7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], r = o.reduce(function(l, c) {
|
|
5833
5836
|
var u = yn(t, c, s);
|
|
5834
5837
|
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
5838
|
}, yn(t, i, s));
|
|
@@ -5899,22 +5902,22 @@ function ui() {
|
|
|
5899
5902
|
left: 0
|
|
5900
5903
|
};
|
|
5901
5904
|
}
|
|
5902
|
-
function
|
|
5905
|
+
function R7(t) {
|
|
5903
5906
|
return Object.assign({}, ui(), t);
|
|
5904
5907
|
}
|
|
5905
|
-
function
|
|
5908
|
+
function N7(t, e) {
|
|
5906
5909
|
return e.reduce(function(a, s) {
|
|
5907
5910
|
return a[s] = t, a;
|
|
5908
5911
|
}, {});
|
|
5909
5912
|
}
|
|
5910
5913
|
function Us(t, e) {
|
|
5911
5914
|
e === void 0 && (e = {});
|
|
5912
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ?
|
|
5915
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? h7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, v = a.elementContext, d = v === void 0 ? na : v, h = a.altBoundary, w = h === void 0 ? !1 : h, g = a.padding, b = g === void 0 ? 0 : g, S = R7(typeof b != "number" ? b : N7(b, as)), _ = d === na ? m7 : na, C = t.rects.popper, D = t.elements[w ? _ : d], I = B7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), L = qt(t.elements.reference), F = li({
|
|
5913
5916
|
reference: L,
|
|
5914
5917
|
element: C,
|
|
5915
5918
|
strategy: "absolute",
|
|
5916
5919
|
placement: n
|
|
5917
|
-
}), W =
|
|
5920
|
+
}), W = ys(Object.assign({}, C, F)), x = d === na ? W : L, G = {
|
|
5918
5921
|
top: I.top - x.top + S.top,
|
|
5919
5922
|
bottom: x.bottom - I.bottom + S.bottom,
|
|
5920
5923
|
left: I.left - x.left + S.left,
|
|
@@ -5941,7 +5944,7 @@ function wn() {
|
|
|
5941
5944
|
return !(s && typeof s.getBoundingClientRect == "function");
|
|
5942
5945
|
});
|
|
5943
5946
|
}
|
|
5944
|
-
function
|
|
5947
|
+
function j7(t) {
|
|
5945
5948
|
t === void 0 && (t = {});
|
|
5946
5949
|
var e = t, a = e.defaultModifiers, s = a === void 0 ? [] : a, n = e.defaultOptions, o = n === void 0 ? bn : n;
|
|
5947
5950
|
return function(r, l, c) {
|
|
@@ -5965,7 +5968,7 @@ function N7(t) {
|
|
|
5965
5968
|
reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
|
|
5966
5969
|
popper: ia(l)
|
|
5967
5970
|
};
|
|
5968
|
-
var C =
|
|
5971
|
+
var C = O7(I7([].concat(s, u.options.modifiers)));
|
|
5969
5972
|
return u.orderedModifiers = C.filter(function(D) {
|
|
5970
5973
|
return D.enabled;
|
|
5971
5974
|
}), w(), h.update();
|
|
@@ -5980,7 +5983,7 @@ function N7(t) {
|
|
|
5980
5983
|
var S = u.elements, _ = S.reference, C = S.popper;
|
|
5981
5984
|
if (wn(_, C)) {
|
|
5982
5985
|
u.rects = {
|
|
5983
|
-
reference:
|
|
5986
|
+
reference: p7(_, ts(C), u.options.strategy === "fixed"),
|
|
5984
5987
|
popper: ni(C)
|
|
5985
5988
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(G) {
|
|
5986
5989
|
return u.modifiersData[G.name] = Object.assign({}, G.data);
|
|
@@ -6003,7 +6006,7 @@ function N7(t) {
|
|
|
6003
6006
|
},
|
|
6004
6007
|
// Async and optimistically optimized update – it will not be executed if
|
|
6005
6008
|
// not necessary (debounced to run at most once-per-tick)
|
|
6006
|
-
update:
|
|
6009
|
+
update: E7(function() {
|
|
6007
6010
|
return new Promise(function(b) {
|
|
6008
6011
|
h.forceUpdate(), b(u);
|
|
6009
6012
|
});
|
|
@@ -6043,7 +6046,7 @@ function N7(t) {
|
|
|
6043
6046
|
var Ea = {
|
|
6044
6047
|
passive: !0
|
|
6045
6048
|
};
|
|
6046
|
-
function
|
|
6049
|
+
function U7(t) {
|
|
6047
6050
|
var e = t.state, a = t.instance, s = t.options, n = s.scroll, o = n === void 0 ? !0 : n, i = s.resize, r = i === void 0 ? !0 : i, l = Ae(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
6048
6051
|
return o && c.forEach(function(u) {
|
|
6049
6052
|
u.addEventListener("scroll", a.update, Ea);
|
|
@@ -6053,16 +6056,16 @@ function j7(t) {
|
|
|
6053
6056
|
}), r && l.removeEventListener("resize", a.update, Ea);
|
|
6054
6057
|
};
|
|
6055
6058
|
}
|
|
6056
|
-
var
|
|
6059
|
+
var F7 = {
|
|
6057
6060
|
name: "eventListeners",
|
|
6058
6061
|
enabled: !0,
|
|
6059
6062
|
phase: "write",
|
|
6060
6063
|
fn: function() {
|
|
6061
6064
|
},
|
|
6062
|
-
effect:
|
|
6065
|
+
effect: U7,
|
|
6063
6066
|
data: {}
|
|
6064
6067
|
};
|
|
6065
|
-
function
|
|
6068
|
+
function Z7(t) {
|
|
6066
6069
|
var e = t.state, a = t.name;
|
|
6067
6070
|
e.modifiersData[a] = li({
|
|
6068
6071
|
reference: e.rects.reference,
|
|
@@ -6071,19 +6074,19 @@ function F7(t) {
|
|
|
6071
6074
|
placement: e.placement
|
|
6072
6075
|
});
|
|
6073
6076
|
}
|
|
6074
|
-
var
|
|
6077
|
+
var W7 = {
|
|
6075
6078
|
name: "popperOffsets",
|
|
6076
6079
|
enabled: !0,
|
|
6077
6080
|
phase: "read",
|
|
6078
|
-
fn:
|
|
6081
|
+
fn: Z7,
|
|
6079
6082
|
data: {}
|
|
6080
|
-
},
|
|
6083
|
+
}, q7 = {
|
|
6081
6084
|
top: "auto",
|
|
6082
6085
|
right: "auto",
|
|
6083
6086
|
bottom: "auto",
|
|
6084
6087
|
left: "auto"
|
|
6085
6088
|
};
|
|
6086
|
-
function
|
|
6089
|
+
function z7(t, e) {
|
|
6087
6090
|
var a = t.x, s = t.y, n = e.devicePixelRatio || 1;
|
|
6088
6091
|
return {
|
|
6089
6092
|
x: Wt(a * n) / n || 0,
|
|
@@ -6101,7 +6104,7 @@ function $n(t) {
|
|
|
6101
6104
|
h = b.x, g = b.y;
|
|
6102
6105
|
var S = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Xe, D = Ne, I = window;
|
|
6103
6106
|
if (c) {
|
|
6104
|
-
var L =
|
|
6107
|
+
var L = ts(a), F = "clientHeight", W = "clientWidth";
|
|
6105
6108
|
if (L === Ae(a) && (L = gt(a), at(L).position !== "static" && r === "absolute" && (F = "scrollHeight", W = "scrollWidth")), L = L, n === Ne || (n === Xe || n === ft) && o === da) {
|
|
6106
6109
|
D = qe;
|
|
6107
6110
|
var x = v && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
@@ -6121,7 +6124,7 @@ function $n(t) {
|
|
|
6121
6124
|
}
|
|
6122
6125
|
var se = Object.assign({
|
|
6123
6126
|
position: r
|
|
6124
|
-
}, c &&
|
|
6127
|
+
}, c && q7), N = u === !0 ? z7({
|
|
6125
6128
|
x: h,
|
|
6126
6129
|
y: g
|
|
6127
6130
|
}, Ae(a)) : {
|
|
@@ -6134,7 +6137,7 @@ function $n(t) {
|
|
|
6134
6137
|
}
|
|
6135
6138
|
return Object.assign({}, se, (e = {}, e[D] = _ ? g + "px" : "", e[C] = S ? h + "px" : "", e.transform = "", e));
|
|
6136
6139
|
}
|
|
6137
|
-
function
|
|
6140
|
+
function x7(t) {
|
|
6138
6141
|
var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, l = r === void 0 ? !0 : r, c = {
|
|
6139
6142
|
placement: ct(e.placement),
|
|
6140
6143
|
variation: xt(e.placement),
|
|
@@ -6157,14 +6160,14 @@ function z7(t) {
|
|
|
6157
6160
|
"data-popper-placement": e.placement
|
|
6158
6161
|
});
|
|
6159
6162
|
}
|
|
6160
|
-
var
|
|
6163
|
+
var Y7 = {
|
|
6161
6164
|
name: "computeStyles",
|
|
6162
6165
|
enabled: !0,
|
|
6163
6166
|
phase: "beforeWrite",
|
|
6164
|
-
fn:
|
|
6167
|
+
fn: x7,
|
|
6165
6168
|
data: {}
|
|
6166
6169
|
};
|
|
6167
|
-
function
|
|
6170
|
+
function K7(t) {
|
|
6168
6171
|
var e = t.state;
|
|
6169
6172
|
Object.keys(e.elements).forEach(function(a) {
|
|
6170
6173
|
var s = e.styles[a] || {}, n = e.attributes[a] || {}, o = e.elements[a];
|
|
@@ -6174,7 +6177,7 @@ function Y7(t) {
|
|
|
6174
6177
|
}));
|
|
6175
6178
|
});
|
|
6176
6179
|
}
|
|
6177
|
-
function
|
|
6180
|
+
function G7(t) {
|
|
6178
6181
|
var e = t.state, a = {
|
|
6179
6182
|
popper: {
|
|
6180
6183
|
position: e.options.strategy,
|
|
@@ -6198,33 +6201,33 @@ function K7(t) {
|
|
|
6198
6201
|
});
|
|
6199
6202
|
};
|
|
6200
6203
|
}
|
|
6201
|
-
var
|
|
6204
|
+
var X7 = {
|
|
6202
6205
|
name: "applyStyles",
|
|
6203
6206
|
enabled: !0,
|
|
6204
6207
|
phase: "write",
|
|
6205
|
-
fn:
|
|
6206
|
-
effect:
|
|
6208
|
+
fn: K7,
|
|
6209
|
+
effect: G7,
|
|
6207
6210
|
requires: ["computeStyles"]
|
|
6208
|
-
},
|
|
6209
|
-
defaultModifiers:
|
|
6211
|
+
}, Q7 = [F7, W7, Y7, X7], J7 = /* @__PURE__ */ j7({
|
|
6212
|
+
defaultModifiers: Q7
|
|
6210
6213
|
});
|
|
6211
|
-
function
|
|
6214
|
+
function ep(t) {
|
|
6212
6215
|
return t === "x" ? "y" : "x";
|
|
6213
6216
|
}
|
|
6214
6217
|
function Ia(t, e, a) {
|
|
6215
6218
|
return kt(t, Na(e, a));
|
|
6216
6219
|
}
|
|
6217
|
-
function
|
|
6220
|
+
function tp(t, e, a) {
|
|
6218
6221
|
var s = Ia(t, e, a);
|
|
6219
6222
|
return s > a ? a : s;
|
|
6220
6223
|
}
|
|
6221
|
-
function
|
|
6224
|
+
function ap(t) {
|
|
6222
6225
|
var e = t.state, a = t.options, s = t.name, n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, v = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, g = w === void 0 ? 0 : w, b = Us(e, {
|
|
6223
6226
|
boundary: l,
|
|
6224
6227
|
rootBoundary: c,
|
|
6225
6228
|
padding: v,
|
|
6226
6229
|
altBoundary: u
|
|
6227
|
-
}), S = ct(e.placement), _ = xt(e.placement), C = !_, D = ri(S), I =
|
|
6230
|
+
}), S = ct(e.placement), _ = xt(e.placement), C = !_, D = ri(S), I = ep(D), L = e.modifiersData.popperOffsets, F = e.rects.reference, W = e.rects.popper, x = typeof g == "function" ? g(Object.assign({}, e.rects, {
|
|
6228
6231
|
placement: e.placement
|
|
6229
6232
|
})) : g, G = typeof x == "number" ? {
|
|
6230
6233
|
mainAxis: x,
|
|
@@ -6241,23 +6244,23 @@ function tp(t) {
|
|
|
6241
6244
|
var E, K = D === "y" ? Ne : Xe, te = D === "y" ? qe : ft, A = D === "y" ? "height" : "width", $ = L[D], U = $ + b[K], V = $ - b[te], ie = h ? -W[A] / 2 : 0, y = _ === zt ? F[A] : W[A], R = _ === zt ? -W[A] : -F[A], le = e.elements.arrow, oe = h && le ? ni(le) : {
|
|
6242
6245
|
width: 0,
|
|
6243
6246
|
height: 0
|
|
6244
|
-
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[K], X = q[te], he = Ia(0, F[A], oe[A]), $e = C ? F[A] / 2 - ie - he - H - G.mainAxis : y - he - H - G.mainAxis, Kt = C ? -F[A] / 2 + ie + he + X + G.mainAxis : R + he + X + G.mainAxis, Gt = e.elements.arrow &&
|
|
6247
|
+
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[K], X = q[te], he = Ia(0, F[A], oe[A]), $e = C ? F[A] / 2 - ie - he - H - G.mainAxis : y - he - H - G.mainAxis, Kt = C ? -F[A] / 2 + ie + he + X + G.mainAxis : R + he + X + G.mainAxis, Gt = e.elements.arrow && ts(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (E = se == null ? void 0 : se[D]) != null ? E : 0, ss = $ + $e - _a - nt, it = $ + Kt - _a, ya = Ia(h ? Na(U, ss) : U, $, h ? kt(V, it) : V);
|
|
6245
6248
|
L[D] = ya, N[D] = ya - $;
|
|
6246
6249
|
}
|
|
6247
6250
|
if (r) {
|
|
6248
|
-
var ot, je = D === "x" ? Ne : Xe, Te = D === "x" ? qe : ft, Be = L[I], ze = I === "y" ? "height" : "width", Xt = Be + b[je], ba = Be - b[Te], Oe = [Ne, Xe].indexOf(S) !== -1, Qt = (ot = se == null ? void 0 : se[I]) != null ? ot : 0, rt = Oe ? Xt : Be - F[ze] - W[ze] - Qt + G.altAxis, _t = Oe ? Be + F[ze] + W[ze] - Qt - G.altAxis : ba, wa = h && Oe ?
|
|
6251
|
+
var ot, je = D === "x" ? Ne : Xe, Te = D === "x" ? qe : ft, Be = L[I], ze = I === "y" ? "height" : "width", Xt = Be + b[je], ba = Be - b[Te], Oe = [Ne, Xe].indexOf(S) !== -1, Qt = (ot = se == null ? void 0 : se[I]) != null ? ot : 0, rt = Oe ? Xt : Be - F[ze] - W[ze] - Qt + G.altAxis, _t = Oe ? Be + F[ze] + W[ze] - Qt - G.altAxis : ba, wa = h && Oe ? tp(rt, Be, _t) : Ia(h ? rt : Xt, Be, h ? _t : ba);
|
|
6249
6252
|
L[I] = wa, N[I] = wa - Be;
|
|
6250
6253
|
}
|
|
6251
6254
|
e.modifiersData[s] = N;
|
|
6252
6255
|
}
|
|
6253
6256
|
}
|
|
6254
|
-
var
|
|
6257
|
+
var sp = {
|
|
6255
6258
|
name: "preventOverflow",
|
|
6256
6259
|
enabled: !0,
|
|
6257
6260
|
phase: "main",
|
|
6258
|
-
fn:
|
|
6261
|
+
fn: ap,
|
|
6259
6262
|
requiresIfExists: ["offset"]
|
|
6260
|
-
},
|
|
6263
|
+
}, np = {
|
|
6261
6264
|
left: "right",
|
|
6262
6265
|
right: "left",
|
|
6263
6266
|
bottom: "top",
|
|
@@ -6265,23 +6268,23 @@ var ap = {
|
|
|
6265
6268
|
};
|
|
6266
6269
|
function La(t) {
|
|
6267
6270
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
6268
|
-
return
|
|
6271
|
+
return np[e];
|
|
6269
6272
|
});
|
|
6270
6273
|
}
|
|
6271
|
-
var
|
|
6274
|
+
var ip = {
|
|
6272
6275
|
start: "end",
|
|
6273
6276
|
end: "start"
|
|
6274
6277
|
};
|
|
6275
6278
|
function kn(t) {
|
|
6276
6279
|
return t.replace(/start|end/g, function(e) {
|
|
6277
|
-
return
|
|
6280
|
+
return ip[e];
|
|
6278
6281
|
});
|
|
6279
6282
|
}
|
|
6280
|
-
function
|
|
6283
|
+
function op(t, e) {
|
|
6281
6284
|
e === void 0 && (e = {});
|
|
6282
|
-
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ?
|
|
6285
|
+
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? C7 : l, u = xt(s), v = u ? r ? _n : _n.filter(function(w) {
|
|
6283
6286
|
return xt(w) === u;
|
|
6284
|
-
}) :
|
|
6287
|
+
}) : as, d = v.filter(function(w) {
|
|
6285
6288
|
return c.indexOf(w) >= 0;
|
|
6286
6289
|
});
|
|
6287
6290
|
d.length === 0 && (d = v);
|
|
@@ -6297,17 +6300,17 @@ function ip(t, e) {
|
|
|
6297
6300
|
return h[w] - h[g];
|
|
6298
6301
|
});
|
|
6299
6302
|
}
|
|
6300
|
-
function
|
|
6303
|
+
function rp(t) {
|
|
6301
6304
|
if (ct(t) === js)
|
|
6302
6305
|
return [];
|
|
6303
6306
|
var e = La(t);
|
|
6304
6307
|
return [kn(t), e, kn(e)];
|
|
6305
6308
|
}
|
|
6306
|
-
function
|
|
6309
|
+
function lp(t) {
|
|
6307
6310
|
var e = t.state, a = t.options, s = t.name;
|
|
6308
6311
|
if (!e.modifiersData[s]._skip) {
|
|
6309
|
-
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, v = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, g = a.allowedAutoPlacements, b = e.options.placement, S = ct(b), _ = S === b, C = l || (_ || !w ? [La(b)] :
|
|
6310
|
-
return oe.concat(ct(q) === js ?
|
|
6312
|
+
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, v = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, g = a.allowedAutoPlacements, b = e.options.placement, S = ct(b), _ = S === b, C = l || (_ || !w ? [La(b)] : rp(b)), D = [b].concat(C).reduce(function(oe, q) {
|
|
6313
|
+
return oe.concat(ct(q) === js ? op(e, {
|
|
6311
6314
|
placement: q,
|
|
6312
6315
|
boundary: u,
|
|
6313
6316
|
rootBoundary: v,
|
|
@@ -6352,17 +6355,17 @@ function rp(t) {
|
|
|
6352
6355
|
e.placement !== x && (e.modifiersData[s]._skip = !0, e.placement = x, e.reset = !0);
|
|
6353
6356
|
}
|
|
6354
6357
|
}
|
|
6355
|
-
var
|
|
6358
|
+
var up = {
|
|
6356
6359
|
name: "flip",
|
|
6357
6360
|
enabled: !0,
|
|
6358
6361
|
phase: "main",
|
|
6359
|
-
fn:
|
|
6362
|
+
fn: lp,
|
|
6360
6363
|
requiresIfExists: ["offset"],
|
|
6361
6364
|
data: {
|
|
6362
6365
|
_skip: !1
|
|
6363
6366
|
}
|
|
6364
6367
|
};
|
|
6365
|
-
function
|
|
6368
|
+
function cp(t, e, a) {
|
|
6366
6369
|
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Me(t), r = Tt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), v = ee(null), d = ee(null), h = M(() => n.value || o.value), w = M(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), g = () => {
|
|
6367
6370
|
u.value || s.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
|
|
6368
6371
|
S();
|
|
@@ -6394,15 +6397,15 @@ function up(t, e, a) {
|
|
|
6394
6397
|
return !1;
|
|
6395
6398
|
};
|
|
6396
6399
|
return Mt(() => {
|
|
6397
|
-
h.value && (v.value =
|
|
6400
|
+
h.value && (v.value = J7(l.value, c.value, {
|
|
6398
6401
|
strategy: _(l.value) ? (
|
|
6399
6402
|
/* istanbul ignore next: UI feature */
|
|
6400
6403
|
"fixed"
|
|
6401
6404
|
) : void 0,
|
|
6402
6405
|
placement: i.value,
|
|
6403
6406
|
modifiers: [
|
|
6404
|
-
|
|
6405
|
-
|
|
6407
|
+
sp,
|
|
6408
|
+
up,
|
|
6406
6409
|
{
|
|
6407
6410
|
name: "sameWidth",
|
|
6408
6411
|
enabled: !0,
|
|
@@ -6436,7 +6439,7 @@ function up(t, e, a) {
|
|
|
6436
6439
|
updatePopper: S
|
|
6437
6440
|
};
|
|
6438
6441
|
}
|
|
6439
|
-
function
|
|
6442
|
+
function dp(t, e, a) {
|
|
6440
6443
|
const { searchable: s, disabled: n, clearOnBlur: o } = Me(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, v = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), g = M(() => s.value || n.value ? -1 : 0), b = () => {
|
|
6441
6444
|
s.value && i.value.blur(), v.value.blur();
|
|
6442
6445
|
}, S = () => {
|
|
@@ -6474,7 +6477,7 @@ function cp(t, e, a) {
|
|
|
6474
6477
|
}
|
|
6475
6478
|
};
|
|
6476
6479
|
}
|
|
6477
|
-
function
|
|
6480
|
+
function pp(t, e, a) {
|
|
6478
6481
|
const {
|
|
6479
6482
|
mode: s,
|
|
6480
6483
|
addTagOn: n,
|
|
@@ -6561,7 +6564,7 @@ function dp(t, e, a) {
|
|
|
6561
6564
|
preparePointer: A
|
|
6562
6565
|
};
|
|
6563
6566
|
}
|
|
6564
|
-
function
|
|
6567
|
+
function vp(t, e, a) {
|
|
6565
6568
|
const {
|
|
6566
6569
|
classes: s,
|
|
6567
6570
|
disabled: n,
|
|
@@ -6671,7 +6674,7 @@ function pp(t, e, a) {
|
|
|
6671
6674
|
showDropdown: S
|
|
6672
6675
|
};
|
|
6673
6676
|
}
|
|
6674
|
-
function
|
|
6677
|
+
function fp(t, e, a) {
|
|
6675
6678
|
const {
|
|
6676
6679
|
limit: s,
|
|
6677
6680
|
infinite: n
|
|
@@ -6699,7 +6702,7 @@ function vp(t, e, a) {
|
|
|
6699
6702
|
infiniteLoader: v
|
|
6700
6703
|
};
|
|
6701
6704
|
}
|
|
6702
|
-
function
|
|
6705
|
+
function hp(t, e, a) {
|
|
6703
6706
|
const {
|
|
6704
6707
|
placeholder: s,
|
|
6705
6708
|
id: n,
|
|
@@ -6758,7 +6761,7 @@ function fp(t, e, a) {
|
|
|
6758
6761
|
ariaTagLabel: se
|
|
6759
6762
|
};
|
|
6760
6763
|
}
|
|
6761
|
-
function
|
|
6764
|
+
function mp(t, e, a) {
|
|
6762
6765
|
const {
|
|
6763
6766
|
locale: s,
|
|
6764
6767
|
fallbackLocale: n
|
|
@@ -6767,7 +6770,7 @@ function hp(t, e, a) {
|
|
|
6767
6770
|
localize: (i) => !i || typeof i != "object" ? i : i && i[s.value] ? i[s.value] : i && s.value && i[s.value.toUpperCase()] ? i[s.value.toUpperCase()] : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
|
|
6768
6771
|
};
|
|
6769
6772
|
}
|
|
6770
|
-
function
|
|
6773
|
+
function Cp(t, e, a) {
|
|
6771
6774
|
const s = ee(null), n = ee(null), o = ee(null), i = ee(null), r = ee(null);
|
|
6772
6775
|
return {
|
|
6773
6776
|
multiselect: s,
|
|
@@ -6777,7 +6780,7 @@ function mp(t, e, a) {
|
|
|
6777
6780
|
dropdown: r
|
|
6778
6781
|
};
|
|
6779
6782
|
}
|
|
6780
|
-
function
|
|
6783
|
+
function gp(t, e, a, s = {}) {
|
|
6781
6784
|
return a.forEach((n) => {
|
|
6782
6785
|
n && (s = {
|
|
6783
6786
|
...s,
|
|
@@ -7140,21 +7143,21 @@ var ut = {
|
|
|
7140
7143
|
}
|
|
7141
7144
|
},
|
|
7142
7145
|
setup(t, e) {
|
|
7143
|
-
return
|
|
7146
|
+
return gp(t, e, [
|
|
7147
|
+
Cp,
|
|
7144
7148
|
mp,
|
|
7145
|
-
hp,
|
|
7146
|
-
t7,
|
|
7147
|
-
s7,
|
|
7148
|
-
up,
|
|
7149
7149
|
a7,
|
|
7150
|
-
|
|
7150
|
+
n7,
|
|
7151
7151
|
cp,
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
r7,
|
|
7152
|
+
s7,
|
|
7153
|
+
t7,
|
|
7155
7154
|
dp,
|
|
7155
|
+
r7,
|
|
7156
|
+
fp,
|
|
7157
|
+
l7,
|
|
7156
7158
|
pp,
|
|
7157
|
-
|
|
7159
|
+
vp,
|
|
7160
|
+
hp
|
|
7158
7161
|
]);
|
|
7159
7162
|
},
|
|
7160
7163
|
beforeMount() {
|
|
@@ -7166,8 +7169,8 @@ var ut = {
|
|
|
7166
7169
|
}));
|
|
7167
7170
|
}
|
|
7168
7171
|
};
|
|
7169
|
-
const
|
|
7170
|
-
function
|
|
7172
|
+
const _p = ["id", "dir"], yp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], bp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], wp = ["onKeyup", "aria-label"], $p = ["onClick"], kp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Sp = ["innerHTML"], Ap = ["id"], Mp = ["id"], Tp = ["id", "aria-label", "aria-selected"], Op = ["data-pointed", "onMouseenter", "onMousedown"], Ep = ["innerHTML"], Ip = ["aria-label"], Lp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Hp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Dp = ["innerHTML"], Pp = ["innerHTML"], Vp = ["value"], Bp = ["name", "value"], Rp = ["name", "value"], Np = ["id"];
|
|
7173
|
+
function jp(t, e, a, s, n, o) {
|
|
7171
7174
|
return p(), m("div", {
|
|
7172
7175
|
ref: "multiselect",
|
|
7173
7176
|
class: Q(t.classList.container),
|
|
@@ -7212,7 +7215,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7212
7215
|
}, {
|
|
7213
7216
|
...a.attrs,
|
|
7214
7217
|
...t.arias
|
|
7215
|
-
}), null, 16,
|
|
7218
|
+
}), null, 16, bp)) : O("v-if", !0),
|
|
7216
7219
|
O(" Tags (with search) "),
|
|
7217
7220
|
a.mode == "tags" ? (p(), m(
|
|
7218
7221
|
"div",
|
|
@@ -7263,8 +7266,8 @@ function Np(t, e, a, s, n, o) {
|
|
|
7263
7266
|
2
|
|
7264
7267
|
/* CLASS */
|
|
7265
7268
|
)
|
|
7266
|
-
], 10,
|
|
7267
|
-
], 42,
|
|
7269
|
+
], 10, $p)) : O("v-if", !0)
|
|
7270
|
+
], 42, wp))
|
|
7268
7271
|
])),
|
|
7269
7272
|
256
|
|
7270
7273
|
/* UNKEYED_FRAGMENT */
|
|
@@ -7308,7 +7311,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7308
7311
|
}, {
|
|
7309
7312
|
...a.attrs,
|
|
7310
7313
|
...t.arias
|
|
7311
|
-
}), null, 16,
|
|
7314
|
+
}), null, 16, kp)) : O("v-if", !0)
|
|
7312
7315
|
],
|
|
7313
7316
|
2
|
|
7314
7317
|
/* CLASS */
|
|
@@ -7350,7 +7353,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7350
7353
|
f("div", {
|
|
7351
7354
|
class: Q(t.classList.multipleLabel),
|
|
7352
7355
|
innerHTML: t.multipleLabelText
|
|
7353
|
-
}, null, 10,
|
|
7356
|
+
}, null, 10, Sp)
|
|
7354
7357
|
]) : O("v-if", !0),
|
|
7355
7358
|
O(" Placeholder "),
|
|
7356
7359
|
a.placeholder && !t.hasSelected && !t.search ? ae(t.$slots, "placeholder", { key: 4 }, () => [
|
|
@@ -7428,7 +7431,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7428
7431
|
/* CLASS */
|
|
7429
7432
|
)
|
|
7430
7433
|
]) : O("v-if", !0)
|
|
7431
|
-
], 16,
|
|
7434
|
+
], 16, yp),
|
|
7432
7435
|
O(" Options "),
|
|
7433
7436
|
(p(), P(jt, {
|
|
7434
7437
|
to: a.appendTo || "body",
|
|
@@ -7471,9 +7474,9 @@ function Np(t, e, a, s, n, o) {
|
|
|
7471
7474
|
}, () => [
|
|
7472
7475
|
f("span", {
|
|
7473
7476
|
innerHTML: t.localize(i[a.groupLabel])
|
|
7474
|
-
}, null, 8,
|
|
7477
|
+
}, null, 8, Ep)
|
|
7475
7478
|
])
|
|
7476
|
-
], 42,
|
|
7479
|
+
], 42, Op)),
|
|
7477
7480
|
f("ul", {
|
|
7478
7481
|
class: Q(t.classList.groupOptions),
|
|
7479
7482
|
"aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
|
|
@@ -7508,12 +7511,12 @@ function Np(t, e, a, s, n, o) {
|
|
|
7508
7511
|
/* TEXT */
|
|
7509
7512
|
)
|
|
7510
7513
|
])
|
|
7511
|
-
], 42,
|
|
7514
|
+
], 42, Lp))),
|
|
7512
7515
|
128
|
|
7513
7516
|
/* KEYED_FRAGMENT */
|
|
7514
7517
|
))
|
|
7515
|
-
], 10,
|
|
7516
|
-
], 10,
|
|
7518
|
+
], 10, Ip)
|
|
7519
|
+
], 10, Tp))),
|
|
7517
7520
|
128
|
|
7518
7521
|
/* KEYED_FRAGMENT */
|
|
7519
7522
|
)) : (p(!0), m(
|
|
@@ -7545,22 +7548,22 @@ function Np(t, e, a, s, n, o) {
|
|
|
7545
7548
|
/* TEXT */
|
|
7546
7549
|
)
|
|
7547
7550
|
])
|
|
7548
|
-
], 42,
|
|
7551
|
+
], 42, Hp))),
|
|
7549
7552
|
128
|
|
7550
7553
|
/* KEYED_FRAGMENT */
|
|
7551
7554
|
))
|
|
7552
|
-
], 10,
|
|
7555
|
+
], 10, Mp),
|
|
7553
7556
|
t.noOptions ? ae(t.$slots, "nooptions", { key: 0 }, () => [
|
|
7554
7557
|
f("div", {
|
|
7555
7558
|
class: Q(t.classList.noOptions),
|
|
7556
7559
|
innerHTML: t.localize(a.noOptionsText)
|
|
7557
|
-
}, null, 10,
|
|
7560
|
+
}, null, 10, Dp)
|
|
7558
7561
|
]) : O("v-if", !0),
|
|
7559
7562
|
t.noResults ? ae(t.$slots, "noresults", { key: 1 }, () => [
|
|
7560
7563
|
f("div", {
|
|
7561
7564
|
class: Q(t.classList.noResults),
|
|
7562
7565
|
innerHTML: t.localize(a.noResultsText)
|
|
7563
|
-
}, null, 10,
|
|
7566
|
+
}, null, 10, Pp)
|
|
7564
7567
|
]) : O("v-if", !0),
|
|
7565
7568
|
a.infinite && t.hasMore ? (p(), m(
|
|
7566
7569
|
"div",
|
|
@@ -7586,7 +7589,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7586
7589
|
/* CLASS */
|
|
7587
7590
|
)) : O("v-if", !0),
|
|
7588
7591
|
ae(t.$slots, "afterlist", { options: t.fo })
|
|
7589
|
-
], 10,
|
|
7592
|
+
], 10, Ap)
|
|
7590
7593
|
], 8, ["to", "disabled"])),
|
|
7591
7594
|
O(" Hacky input element to show HTML5 required warning "),
|
|
7592
7595
|
a.required ? (p(), m("input", {
|
|
@@ -7595,7 +7598,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7595
7598
|
tabindex: "-1",
|
|
7596
7599
|
value: t.textValue,
|
|
7597
7600
|
required: ""
|
|
7598
|
-
}, null, 10,
|
|
7601
|
+
}, null, 10, Vp)) : O("v-if", !0),
|
|
7599
7602
|
O(" Native input support "),
|
|
7600
7603
|
a.nativeSupport ? (p(), m(
|
|
7601
7604
|
fe,
|
|
@@ -7606,7 +7609,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7606
7609
|
type: "hidden",
|
|
7607
7610
|
name: a.name,
|
|
7608
7611
|
value: t.plainValue !== void 0 ? t.plainValue : ""
|
|
7609
|
-
}, null, 8,
|
|
7612
|
+
}, null, 8, Bp)) : (p(!0), m(
|
|
7610
7613
|
fe,
|
|
7611
7614
|
{ key: 1 },
|
|
7612
7615
|
_e(t.plainValue, (i, r) => (p(), m("input", {
|
|
@@ -7614,7 +7617,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7614
7617
|
name: `${a.name}[]`,
|
|
7615
7618
|
value: i,
|
|
7616
7619
|
key: r
|
|
7617
|
-
}, null, 8,
|
|
7620
|
+
}, null, 8, Rp))),
|
|
7618
7621
|
128
|
|
7619
7622
|
/* KEYED_FRAGMENT */
|
|
7620
7623
|
))
|
|
@@ -7628,7 +7631,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7628
7631
|
class: Q(t.classList.assist),
|
|
7629
7632
|
id: t.ariaAssist,
|
|
7630
7633
|
"aria-hidden": "true"
|
|
7631
|
-
}, z(t.ariaLabel), 11,
|
|
7634
|
+
}, z(t.ariaLabel), 11, Np)) : O("v-if", !0),
|
|
7632
7635
|
O(" Create height for empty input "),
|
|
7633
7636
|
f(
|
|
7634
7637
|
"div",
|
|
@@ -7639,9 +7642,9 @@ function Np(t, e, a, s, n, o) {
|
|
|
7639
7642
|
2
|
|
7640
7643
|
/* CLASS */
|
|
7641
7644
|
)
|
|
7642
|
-
], 42,
|
|
7645
|
+
], 42, _p);
|
|
7643
7646
|
}
|
|
7644
|
-
ut.render =
|
|
7647
|
+
ut.render = jp;
|
|
7645
7648
|
ut.__file = "src/Multiselect.vue";
|
|
7646
7649
|
const ke = /* @__PURE__ */ Y({
|
|
7647
7650
|
__name: "AoMultiselect",
|
|
@@ -7651,14 +7654,14 @@ const ke = /* @__PURE__ */ Y({
|
|
|
7651
7654
|
},
|
|
7652
7655
|
setup(t) {
|
|
7653
7656
|
const e = t, a = Vt(() => e.appendTo), s = ee();
|
|
7654
|
-
return e.detached &&
|
|
7657
|
+
return e.detached && e7({
|
|
7655
7658
|
multiselect: s,
|
|
7656
7659
|
appendTo: a.value
|
|
7657
7660
|
}), (n, o) => (p(), P(J(ut), {
|
|
7658
7661
|
ref_key: "multiselectRef",
|
|
7659
7662
|
ref: s,
|
|
7660
7663
|
class: "ao-multiselect"
|
|
7661
|
-
},
|
|
7664
|
+
}, ks({ _: 2 }, [
|
|
7662
7665
|
_e(n.$slots, (i, r) => ({
|
|
7663
7666
|
name: r,
|
|
7664
7667
|
fn: Z((l) => [
|
|
@@ -7670,13 +7673,13 @@ const ke = /* @__PURE__ */ Y({
|
|
|
7670
7673
|
});
|
|
7671
7674
|
var Sn;
|
|
7672
7675
|
function Ot() {
|
|
7673
|
-
const t =
|
|
7676
|
+
const t = Up(), e = t.appContext.config.globalProperties;
|
|
7674
7677
|
return {
|
|
7675
7678
|
i18next: e.$i18next,
|
|
7676
7679
|
t: e.$t.bind(t.proxy)
|
|
7677
7680
|
};
|
|
7678
7681
|
}
|
|
7679
|
-
function
|
|
7682
|
+
function Up() {
|
|
7680
7683
|
const t = Tt();
|
|
7681
7684
|
if (!t)
|
|
7682
7685
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
@@ -7719,7 +7722,7 @@ async function Qe(t, e) {
|
|
|
7719
7722
|
i == null || i.select();
|
|
7720
7723
|
}
|
|
7721
7724
|
}
|
|
7722
|
-
const
|
|
7725
|
+
const Fp = { class: "ao-tasks" }, Zp = { class: "ao-tasks__list" }, Wp = ["id", "value", "readonly", "onChange", "onKeyup"], qp = { class: "ao-tasks__list-footer" }, zp = /* @__PURE__ */ Y({
|
|
7723
7726
|
__name: "AoActivityTasks",
|
|
7724
7727
|
props: {
|
|
7725
7728
|
activityId: {},
|
|
@@ -7772,8 +7775,8 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7772
7775
|
const d = v.target;
|
|
7773
7776
|
d == null || d.blur();
|
|
7774
7777
|
};
|
|
7775
|
-
return (v, d) => (p(), m("div",
|
|
7776
|
-
f("ul",
|
|
7778
|
+
return (v, d) => (p(), m("div", Fp, [
|
|
7779
|
+
f("ul", Zp, [
|
|
7777
7780
|
(p(!0), m(fe, null, _e(v.tasks, (h) => {
|
|
7778
7781
|
var w, g;
|
|
7779
7782
|
return p(), m("li", {
|
|
@@ -7797,7 +7800,7 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7797
7800
|
type: "text",
|
|
7798
7801
|
onChange: (b) => i(b, h.id),
|
|
7799
7802
|
onKeyup: dt(u, ["enter"])
|
|
7800
|
-
}, null, 42,
|
|
7803
|
+
}, null, 42, Wp),
|
|
7801
7804
|
Ua(". "),
|
|
7802
7805
|
!v.isTemplate && v.users ? (p(), P(ke, {
|
|
7803
7806
|
key: 1,
|
|
@@ -7835,7 +7838,7 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7835
7838
|
]);
|
|
7836
7839
|
}), 128))
|
|
7837
7840
|
]),
|
|
7838
|
-
f("div",
|
|
7841
|
+
f("div", qp, [
|
|
7839
7842
|
v.isEditable ? (p(), P(ue, {
|
|
7840
7843
|
key: 0,
|
|
7841
7844
|
label: v.$t("activity.tasks.add"),
|
|
@@ -7848,10 +7851,10 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7848
7851
|
]));
|
|
7849
7852
|
}
|
|
7850
7853
|
});
|
|
7851
|
-
const
|
|
7854
|
+
const xp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Yp = { class: "ao-files__placeholder" }, Kp = {
|
|
7852
7855
|
key: 0,
|
|
7853
7856
|
class: "ao-files__list"
|
|
7854
|
-
},
|
|
7857
|
+
}, Gp = ["href"], Xp = { class: "ao-file__title" }, Qp = { key: 0 }, Jp = { class: "ao-files__input" }, ev = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, tv = { class: "ao-button__label" }, av = { class: "ao-files__dropzone" }, sv = { class: "ao-files__dropzone-label" }, nv = /* @__PURE__ */ Y({
|
|
7855
7858
|
__name: "AoActivityDetailsFiles",
|
|
7856
7859
|
props: {
|
|
7857
7860
|
attachments: {},
|
|
@@ -7869,7 +7872,7 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7869
7872
|
o.forEach((u) => {
|
|
7870
7873
|
document.body.addEventListener(u, (v) => v.preventDefault());
|
|
7871
7874
|
});
|
|
7872
|
-
}),
|
|
7875
|
+
}), $s(() => {
|
|
7873
7876
|
o.forEach((u) => {
|
|
7874
7877
|
document.body.removeEventListener(
|
|
7875
7878
|
u,
|
|
@@ -7906,9 +7909,9 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7906
7909
|
onDragleave: ve(l, ["prevent"])
|
|
7907
7910
|
}, [
|
|
7908
7911
|
ae(u.$slots, "default", {}, () => [
|
|
7909
|
-
f("span",
|
|
7912
|
+
f("span", Yp, z(u.$t("activity.attachment.placeholder.resting")), 1)
|
|
7910
7913
|
]),
|
|
7911
|
-
u.attachments ? (p(), m("ul",
|
|
7914
|
+
u.attachments ? (p(), m("ul", Kp, [
|
|
7912
7915
|
(p(!0), m(fe, null, _e(u.attachments, (d) => (p(), m("li", {
|
|
7913
7916
|
key: d.id,
|
|
7914
7917
|
class: "ao-file"
|
|
@@ -7924,8 +7927,8 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7924
7927
|
name: "AttachFileRounded",
|
|
7925
7928
|
size: "sm"
|
|
7926
7929
|
}),
|
|
7927
|
-
f("span",
|
|
7928
|
-
], 8,
|
|
7930
|
+
f("span", Xp, z(d.name), 1)
|
|
7931
|
+
], 8, Gp),
|
|
7929
7932
|
u.isEditable ? (p(), P(ue, {
|
|
7930
7933
|
key: 0,
|
|
7931
7934
|
class: "ao-files__delete-button",
|
|
@@ -7937,14 +7940,14 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7937
7940
|
onClick: () => s(d)
|
|
7938
7941
|
}, null, 8, ["onClick"])) : O("", !0)
|
|
7939
7942
|
]))), 128)),
|
|
7940
|
-
u.isEditable ? (p(), m("li",
|
|
7941
|
-
f("label",
|
|
7942
|
-
f("div",
|
|
7943
|
+
u.isEditable ? (p(), m("li", Qp, [
|
|
7944
|
+
f("label", Jp, [
|
|
7945
|
+
f("div", ev, [
|
|
7943
7946
|
T(pe, {
|
|
7944
7947
|
name: "Add",
|
|
7945
7948
|
size: "sm"
|
|
7946
7949
|
}),
|
|
7947
|
-
f("span",
|
|
7950
|
+
f("span", tv, z(u.$t("activity.attachment.button.resting")), 1)
|
|
7948
7951
|
]),
|
|
7949
7952
|
f("input", {
|
|
7950
7953
|
class: "input-field",
|
|
@@ -7957,18 +7960,18 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7957
7960
|
])
|
|
7958
7961
|
])) : O("", !0)
|
|
7959
7962
|
])) : O("", !0),
|
|
7960
|
-
Re(f("div",
|
|
7961
|
-
f("span",
|
|
7963
|
+
Re(f("div", av, [
|
|
7964
|
+
f("span", sv, z(u.$t("activity.attachment.placeholder.active")), 1)
|
|
7962
7965
|
], 512), [
|
|
7963
7966
|
[Hi, i.value]
|
|
7964
7967
|
])
|
|
7965
|
-
], 42,
|
|
7968
|
+
], 42, xp));
|
|
7966
7969
|
}
|
|
7967
7970
|
});
|
|
7968
|
-
const
|
|
7971
|
+
const iv = { class: "ao-comment" }, ov = { class: "ao-comment__created-at" }, rv = { class: "ao-comment__body" }, lv = { class: "ao-comment__content-wrapper" }, uv = {
|
|
7969
7972
|
key: 1,
|
|
7970
7973
|
class: "ao-comment__footer"
|
|
7971
|
-
},
|
|
7974
|
+
}, cv = /* @__PURE__ */ Y({
|
|
7972
7975
|
__name: "AoComment",
|
|
7973
7976
|
props: {
|
|
7974
7977
|
user: {},
|
|
@@ -8000,16 +8003,16 @@ const nv = { class: "ao-comment" }, iv = { class: "ao-comment__created-at" }, ov
|
|
|
8000
8003
|
});
|
|
8001
8004
|
}), (g, b) => {
|
|
8002
8005
|
var S;
|
|
8003
|
-
return p(), m("li",
|
|
8006
|
+
return p(), m("li", iv, [
|
|
8004
8007
|
s.value ? (p(), P(et, {
|
|
8005
8008
|
key: 0,
|
|
8006
8009
|
"avatar-url": (S = g.user) == null ? void 0 : S.avatarUrl,
|
|
8007
8010
|
"user-name": s.value,
|
|
8008
8011
|
class: "ao-comment__avatar"
|
|
8009
8012
|
}, null, 8, ["avatar-url", "user-name"])) : O("", !0),
|
|
8010
|
-
f("span",
|
|
8011
|
-
f("div",
|
|
8012
|
-
f("div",
|
|
8013
|
+
f("span", ov, z(c.value), 1),
|
|
8014
|
+
f("div", rv, [
|
|
8015
|
+
f("div", lv, [
|
|
8013
8016
|
(p(), P(ht(u.value), {
|
|
8014
8017
|
ref_key: "commentContent",
|
|
8015
8018
|
ref: n,
|
|
@@ -8028,7 +8031,7 @@ const nv = { class: "ao-comment" }, iv = { class: "ao-comment__created-at" }, ov
|
|
|
8028
8031
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
8029
8032
|
])
|
|
8030
8033
|
]),
|
|
8031
|
-
g.isEditable ? (p(), m("div",
|
|
8034
|
+
g.isEditable ? (p(), m("div", uv, [
|
|
8032
8035
|
J(o) ? (p(), m(fe, { key: 0 }, [
|
|
8033
8036
|
T(ue, {
|
|
8034
8037
|
"icon-name": "CloseRounded",
|
|
@@ -8066,10 +8069,10 @@ const nv = { class: "ao-comment" }, iv = { class: "ao-comment__created-at" }, ov
|
|
|
8066
8069
|
};
|
|
8067
8070
|
}
|
|
8068
8071
|
});
|
|
8069
|
-
const
|
|
8072
|
+
const dv = { class: "ao-comments__header" }, pv = ["onSubmit"], vv = ["placeholder"], fv = { class: "ao-comments__form-submit" }, hv = {
|
|
8070
8073
|
key: 0,
|
|
8071
8074
|
class: "ao-comments__list"
|
|
8072
|
-
},
|
|
8075
|
+
}, mv = /* @__PURE__ */ Y({
|
|
8073
8076
|
__name: "AoActivityDetailsComments",
|
|
8074
8077
|
props: {
|
|
8075
8078
|
comments: { default: () => [] },
|
|
@@ -8110,7 +8113,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8110
8113
|
ref: o,
|
|
8111
8114
|
class: "ao-comments"
|
|
8112
8115
|
}, [
|
|
8113
|
-
f("div",
|
|
8116
|
+
f("div", dv, [
|
|
8114
8117
|
f("form", {
|
|
8115
8118
|
class: "ao-comments__form",
|
|
8116
8119
|
onSubmit: ve(l, ["prevent"])
|
|
@@ -8120,7 +8123,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8120
8123
|
rows: "2",
|
|
8121
8124
|
class: "ao-field__textarea ao-comments__form-textarea",
|
|
8122
8125
|
placeholder: v.$t("activity.comment.label")
|
|
8123
|
-
}, null, 8,
|
|
8126
|
+
}, null, 8, vv), [
|
|
8124
8127
|
[
|
|
8125
8128
|
Ge,
|
|
8126
8129
|
r.value,
|
|
@@ -8128,7 +8131,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8128
8131
|
{ trim: !0 }
|
|
8129
8132
|
]
|
|
8130
8133
|
]),
|
|
8131
|
-
f("div",
|
|
8134
|
+
f("div", fv, [
|
|
8132
8135
|
T(ue, {
|
|
8133
8136
|
type: "submit",
|
|
8134
8137
|
"icon-name": "SendRounded",
|
|
@@ -8138,10 +8141,10 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8138
8141
|
size: "sm"
|
|
8139
8142
|
})
|
|
8140
8143
|
])
|
|
8141
|
-
], 40,
|
|
8144
|
+
], 40, pv)
|
|
8142
8145
|
]),
|
|
8143
|
-
((h = s.value) == null ? void 0 : h.length) > 0 ? (p(), m("ul",
|
|
8144
|
-
(p(!0), m(fe, null, _e(s.value, (w) => (p(), P(
|
|
8146
|
+
((h = s.value) == null ? void 0 : h.length) > 0 ? (p(), m("ul", hv, [
|
|
8147
|
+
(p(!0), m(fe, null, _e(s.value, (w) => (p(), P(cv, {
|
|
8145
8148
|
key: w.id,
|
|
8146
8149
|
user: n(w.author.id),
|
|
8147
8150
|
content: w.message,
|
|
@@ -8157,7 +8160,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8157
8160
|
};
|
|
8158
8161
|
}
|
|
8159
8162
|
});
|
|
8160
|
-
const
|
|
8163
|
+
const bs = /* @__PURE__ */ Y({
|
|
8161
8164
|
__name: "AoButtonCheck",
|
|
8162
8165
|
props: {
|
|
8163
8166
|
modelValue: { type: Boolean },
|
|
@@ -8174,34 +8177,34 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8174
8177
|
onClick: o[0] || (o[0] = () => s())
|
|
8175
8178
|
}, null, 8, ["color"]));
|
|
8176
8179
|
}
|
|
8177
|
-
}),
|
|
8180
|
+
}), Cv = { class: "ao-activity-details" }, gv = { class: "ao-activity-details__main" }, _v = { class: "ao-activity-details__header" }, yv = {
|
|
8178
8181
|
key: 1,
|
|
8179
8182
|
class: "ao-activity__category"
|
|
8180
|
-
},
|
|
8183
|
+
}, bv = { class: "ao-feed__activity-details__header" }, wv = {
|
|
8181
8184
|
key: 0,
|
|
8182
8185
|
class: "ao-field ao-feed__activity-details__project"
|
|
8183
|
-
},
|
|
8186
|
+
}, $v = { class: "ao-field__label" }, kv = {
|
|
8184
8187
|
key: 1,
|
|
8185
8188
|
class: "ao-field ao-feed__activity-details__project"
|
|
8186
|
-
},
|
|
8189
|
+
}, Sv = { class: "ao-field__label" }, Av = { class: "ao-activity-details__content" }, Mv = { class: "ao-fieldset" }, Tv = { class: "ao-field__row" }, Ov = { class: "ao-field ao-field--full" }, Ev = { class: "ao-field__label" }, Iv = ["readonly"], Lv = { class: "ao-field__row" }, Hv = { class: "ao-field ao-field--inline" }, Dv = { class: "ao-field__label" }, Pv = ["readonly"], Vv = { class: "ao-fieldset" }, Bv = { class: "ao-fieldset__title" }, Rv = { class: "ao-fieldset__body" }, Nv = {
|
|
8187
8190
|
key: 0,
|
|
8188
8191
|
class: "ao-fieldset"
|
|
8189
|
-
},
|
|
8192
|
+
}, jv = { class: "ao-fieldset__title" }, Uv = { class: "ao-activity-details__aside" }, Fv = { class: "ao-activity-details__close-button" }, Zv = {
|
|
8190
8193
|
key: 0,
|
|
8191
8194
|
class: "ao-activity-details__aside-section"
|
|
8192
|
-
},
|
|
8195
|
+
}, Wv = { class: "ao-field" }, qv = { class: "ao-field__label" }, zv = { class: "ao-activity-details__aside-section" }, xv = { class: "ao-field ao-field--multiselect" }, Yv = { class: "assignee-inline" }, Kv = { class: "ao-field__label" }, Gv = { class: "ao-activity-details__aside-section" }, Xv = {
|
|
8193
8196
|
key: 0,
|
|
8194
8197
|
class: "ao-field__row"
|
|
8195
|
-
},
|
|
8198
|
+
}, Qv = { class: "ao-field" }, Jv = { class: "ao-field__label" }, ef = ["readonly"], tf = { class: "ao-activity-details__aside-section" }, af = {
|
|
8196
8199
|
key: 0,
|
|
8197
8200
|
class: "ao-field__row"
|
|
8198
|
-
},
|
|
8201
|
+
}, sf = { class: "ao-field ao-field--multiselect" }, nf = { class: "ao-activity-details__aside-section" }, of = {
|
|
8199
8202
|
key: 1,
|
|
8200
8203
|
class: "ao-activity-details__aside-section"
|
|
8201
|
-
},
|
|
8204
|
+
}, rf = { class: "ao-fieldset ao-activity-details__aside-section" }, lf = { class: "ao-fieldset__title" }, uf = { class: "ao-fieldset__body" }, cf = { class: "ao-field__row" }, df = { class: "ao-field ao-field--multiselect" }, pf = { class: "ao-field__label" }, vf = { class: "ao-field__row" }, ff = { class: "ao-field ao-field--multiselect" }, hf = { class: "ao-field__label" }, mf = {
|
|
8202
8205
|
key: 2,
|
|
8203
8206
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
},
|
|
8207
|
+
}, Cf = { class: "ao-activity__created-by" }, Fs = /* @__PURE__ */ Y({
|
|
8205
8208
|
__name: "AoActivityDetails",
|
|
8206
8209
|
props: {
|
|
8207
8210
|
activity: {},
|
|
@@ -8414,16 +8417,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8414
8417
|
console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
|
|
8415
8418
|
});
|
|
8416
8419
|
}
|
|
8417
|
-
return (y, R) => (p(), P(
|
|
8420
|
+
return (y, R) => (p(), P(Ga, {
|
|
8418
8421
|
onClose: R[10] || (R[10] = (le) => y.$emit("close"))
|
|
8419
8422
|
}, {
|
|
8420
8423
|
default: Z(() => {
|
|
8421
8424
|
var le, oe, q;
|
|
8422
8425
|
return [
|
|
8423
|
-
f("div",
|
|
8424
|
-
f("div",
|
|
8425
|
-
f("div",
|
|
8426
|
-
y.activity.slug ? (p(), P(
|
|
8426
|
+
f("div", Cv, [
|
|
8427
|
+
f("div", gv, [
|
|
8428
|
+
f("div", _v, [
|
|
8429
|
+
y.activity.slug ? (p(), P(Wa, {
|
|
8427
8430
|
key: 0,
|
|
8428
8431
|
label: y.activity.slug,
|
|
8429
8432
|
clickable: !0,
|
|
@@ -8432,16 +8435,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8432
8435
|
class: "ao-activity__ao-tag",
|
|
8433
8436
|
onClick: ie
|
|
8434
8437
|
}, null, 8, ["label"])) : O("", !0),
|
|
8435
|
-
y.breadcrumbs ? (p(), m("div",
|
|
8438
|
+
y.breadcrumbs ? (p(), m("div", yv, z(y.breadcrumbs), 1)) : O("", !0),
|
|
8436
8439
|
T(ye, {
|
|
8437
8440
|
title: y.activity.name || "",
|
|
8438
8441
|
level: 4,
|
|
8439
8442
|
"is-editable": s.value,
|
|
8440
8443
|
"onUpdate:title": n
|
|
8441
8444
|
}, null, 8, ["title", "is-editable"]),
|
|
8442
|
-
f("div",
|
|
8443
|
-
G.value ? (p(), m("label",
|
|
8444
|
-
f("span",
|
|
8445
|
+
f("div", bv, [
|
|
8446
|
+
G.value ? (p(), m("label", wv, [
|
|
8447
|
+
f("span", $v, z(y.$t("activity.project.label")), 1),
|
|
8445
8448
|
T(ke, {
|
|
8446
8449
|
options: G.value,
|
|
8447
8450
|
value: (le = y.activity.project) == null ? void 0 : le.id,
|
|
@@ -8451,8 +8454,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8451
8454
|
onChange: N
|
|
8452
8455
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8453
8456
|
])) : O("", !0),
|
|
8454
|
-
se.value ? (p(), m("label",
|
|
8455
|
-
f("span",
|
|
8457
|
+
se.value ? (p(), m("label", kv, [
|
|
8458
|
+
f("span", Sv, z(y.$t("activity.milestone.label")), 1),
|
|
8456
8459
|
T(ke, {
|
|
8457
8460
|
options: se.value,
|
|
8458
8461
|
value: (oe = y.activity.milestone) == null ? void 0 : oe.id,
|
|
@@ -8465,24 +8468,24 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8465
8468
|
]),
|
|
8466
8469
|
ae(y.$slots, "header")
|
|
8467
8470
|
]),
|
|
8468
|
-
f("div",
|
|
8469
|
-
f("fieldset",
|
|
8470
|
-
f("div",
|
|
8471
|
-
T(
|
|
8471
|
+
f("div", Av, [
|
|
8472
|
+
f("fieldset", Mv, [
|
|
8473
|
+
f("div", Tv, [
|
|
8474
|
+
T(nv, {
|
|
8472
8475
|
attachments: y.activity.attachments,
|
|
8473
8476
|
"is-editable": y.attachmentEnabled && s.value && y.isTemplate !== !0 && !!y.userId,
|
|
8474
8477
|
onAdd: W,
|
|
8475
8478
|
onRemove: x
|
|
8476
8479
|
}, {
|
|
8477
8480
|
default: Z(() => [
|
|
8478
|
-
f("label",
|
|
8479
|
-
f("span",
|
|
8481
|
+
f("label", Ov, [
|
|
8482
|
+
f("span", Ev, z(y.$t("activity.description.label")), 1),
|
|
8480
8483
|
Re(f("textarea", {
|
|
8481
8484
|
"onUpdate:modelValue": R[0] || (R[0] = (H) => o.value = H),
|
|
8482
8485
|
readonly: !s.value,
|
|
8483
8486
|
rows: "4",
|
|
8484
8487
|
class: "ao-field__textarea"
|
|
8485
|
-
}, null, 8,
|
|
8488
|
+
}, null, 8, Iv), [
|
|
8486
8489
|
[
|
|
8487
8490
|
Ge,
|
|
8488
8491
|
o.value,
|
|
@@ -8498,16 +8501,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8498
8501
|
_: 1
|
|
8499
8502
|
}, 8, ["attachments", "is-editable"])
|
|
8500
8503
|
]),
|
|
8501
|
-
f("div",
|
|
8502
|
-
f("label",
|
|
8503
|
-
f("span",
|
|
8504
|
+
f("div", Lv, [
|
|
8505
|
+
f("label", Hv, [
|
|
8506
|
+
f("span", Dv, z(y.$t("activity.estimation.label")), 1),
|
|
8504
8507
|
Re(f("input", {
|
|
8505
8508
|
"onUpdate:modelValue": R[1] || (R[1] = (H) => i.value = H),
|
|
8506
8509
|
readonly: !s.value,
|
|
8507
8510
|
class: "ao-field__input ao-field__input--estim",
|
|
8508
8511
|
type: "number",
|
|
8509
8512
|
min: "0"
|
|
8510
|
-
}, null, 8,
|
|
8513
|
+
}, null, 8, Pv), [
|
|
8511
8514
|
[
|
|
8512
8515
|
Ge,
|
|
8513
8516
|
i.value,
|
|
@@ -8521,16 +8524,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8521
8524
|
])
|
|
8522
8525
|
])
|
|
8523
8526
|
]),
|
|
8524
|
-
f("fieldset",
|
|
8525
|
-
f("div",
|
|
8527
|
+
f("fieldset", Vv, [
|
|
8528
|
+
f("div", Bv, [
|
|
8526
8529
|
T(pe, { name: "SelectCheckBox" }),
|
|
8527
8530
|
T(ye, {
|
|
8528
8531
|
level: 4,
|
|
8529
8532
|
title: y.$t("activity.tasks.title")
|
|
8530
8533
|
}, null, 8, ["title"])
|
|
8531
8534
|
]),
|
|
8532
|
-
f("div",
|
|
8533
|
-
T(
|
|
8535
|
+
f("div", Rv, [
|
|
8536
|
+
T(zp, {
|
|
8534
8537
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8535
8538
|
tasks: y.activity.tasks || [],
|
|
8536
8539
|
"activity-id": y.activity.id,
|
|
@@ -8544,15 +8547,15 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8544
8547
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
8545
8548
|
])
|
|
8546
8549
|
]),
|
|
8547
|
-
y.isTemplate !== !0 && y.userId ? (p(), m("div",
|
|
8548
|
-
f("div",
|
|
8550
|
+
y.isTemplate !== !0 && y.userId ? (p(), m("div", Nv, [
|
|
8551
|
+
f("div", jv, [
|
|
8549
8552
|
T(pe, { name: "ChatOutline" }),
|
|
8550
8553
|
T(ye, {
|
|
8551
8554
|
level: 4,
|
|
8552
8555
|
title: y.$t("activity.comments.title")
|
|
8553
8556
|
}, null, 8, ["title"])
|
|
8554
8557
|
]),
|
|
8555
|
-
T(
|
|
8558
|
+
T(mv, {
|
|
8556
8559
|
comments: y.activity.comments,
|
|
8557
8560
|
users: y.users,
|
|
8558
8561
|
"user-id": y.userId,
|
|
@@ -8563,16 +8566,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8563
8566
|
])) : O("", !0)
|
|
8564
8567
|
])
|
|
8565
8568
|
]),
|
|
8566
|
-
f("div",
|
|
8567
|
-
f("div",
|
|
8569
|
+
f("div", Uv, [
|
|
8570
|
+
f("div", Fv, [
|
|
8568
8571
|
T(pe, {
|
|
8569
8572
|
name: "CloseRounded",
|
|
8570
8573
|
onClick: R[2] || (R[2] = (H) => y.$emit("close"))
|
|
8571
8574
|
})
|
|
8572
8575
|
]),
|
|
8573
|
-
K.value ? (p(), m("div",
|
|
8574
|
-
f("label",
|
|
8575
|
-
f("span",
|
|
8576
|
+
K.value ? (p(), m("div", Zv, [
|
|
8577
|
+
f("label", Wv, [
|
|
8578
|
+
f("span", qv, z(y.$t("activity.status.label")), 1),
|
|
8576
8579
|
T(ke, {
|
|
8577
8580
|
class: "ao-activity-details__multiselect",
|
|
8578
8581
|
options: K.value,
|
|
@@ -8585,10 +8588,10 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8585
8588
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8586
8589
|
])
|
|
8587
8590
|
])) : O("", !0),
|
|
8588
|
-
f("div",
|
|
8589
|
-
f("div",
|
|
8590
|
-
f("div",
|
|
8591
|
-
f("span",
|
|
8591
|
+
f("div", zv, [
|
|
8592
|
+
f("div", xv, [
|
|
8593
|
+
f("div", Yv, [
|
|
8594
|
+
f("span", Kv, z(y.$t("activity.assignee.label")), 1),
|
|
8592
8595
|
T(ue, {
|
|
8593
8596
|
label: y.$t("activity.assignee.toMe"),
|
|
8594
8597
|
type: "button",
|
|
@@ -8626,16 +8629,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8626
8629
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
8627
8630
|
])
|
|
8628
8631
|
]),
|
|
8629
|
-
f("div",
|
|
8630
|
-
y.isTemplate !== !0 && y.userId ? (p(), m("div",
|
|
8631
|
-
f("label",
|
|
8632
|
-
f("span",
|
|
8632
|
+
f("div", Gv, [
|
|
8633
|
+
y.isTemplate !== !0 && y.userId ? (p(), m("div", Xv, [
|
|
8634
|
+
f("label", Qv, [
|
|
8635
|
+
f("span", Jv, z(y.$t("activity.deadline.label")), 1),
|
|
8633
8636
|
Re(f("input", {
|
|
8634
8637
|
"onUpdate:modelValue": R[4] || (R[4] = (H) => c.value = H),
|
|
8635
8638
|
readonly: !s.value,
|
|
8636
8639
|
class: "ao-field__input",
|
|
8637
8640
|
type: "date"
|
|
8638
|
-
}, null, 8,
|
|
8641
|
+
}, null, 8, ef), [
|
|
8639
8642
|
[
|
|
8640
8643
|
Ge,
|
|
8641
8644
|
c.value,
|
|
@@ -8646,9 +8649,9 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8646
8649
|
])
|
|
8647
8650
|
])) : O("", !0)
|
|
8648
8651
|
]),
|
|
8649
|
-
f("div",
|
|
8650
|
-
u.value ? (p(), m("div",
|
|
8651
|
-
f("label",
|
|
8652
|
+
f("div", tf, [
|
|
8653
|
+
u.value ? (p(), m("div", af, [
|
|
8654
|
+
f("label", sf, [
|
|
8652
8655
|
T(ke, {
|
|
8653
8656
|
modelValue: v.value,
|
|
8654
8657
|
"onUpdate:modelValue": R[5] || (R[5] = (H) => v.value = H),
|
|
@@ -8664,8 +8667,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8664
8667
|
])) : O("", !0),
|
|
8665
8668
|
ae(y.$slots, "default", { activity: y.activity })
|
|
8666
8669
|
]),
|
|
8667
|
-
f("div",
|
|
8668
|
-
T(
|
|
8670
|
+
f("div", nf, [
|
|
8671
|
+
T(bs, {
|
|
8669
8672
|
modelValue: r.value,
|
|
8670
8673
|
"onUpdate:modelValue": R[6] || (R[6] = (H) => r.value = H),
|
|
8671
8674
|
modelModifiers: { lazy: !0 },
|
|
@@ -8679,8 +8682,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8679
8682
|
size: "sm"
|
|
8680
8683
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8681
8684
|
]),
|
|
8682
|
-
y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (p(), m("div",
|
|
8683
|
-
T(
|
|
8685
|
+
y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (p(), m("div", of, [
|
|
8686
|
+
T(bs, {
|
|
8684
8687
|
modelValue: l.value,
|
|
8685
8688
|
"onUpdate:modelValue": R[7] || (R[7] = (H) => l.value = H),
|
|
8686
8689
|
modelModifiers: { lazy: !0 },
|
|
@@ -8693,18 +8696,18 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8693
8696
|
size: "sm"
|
|
8694
8697
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8695
8698
|
])) : O("", !0),
|
|
8696
|
-
f("fieldset",
|
|
8697
|
-
f("div",
|
|
8699
|
+
f("fieldset", rf, [
|
|
8700
|
+
f("div", lf, [
|
|
8698
8701
|
T(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8699
8702
|
T(ye, {
|
|
8700
8703
|
level: 4,
|
|
8701
8704
|
title: y.$t("activity.dependencies.title")
|
|
8702
8705
|
}, null, 8, ["title"])
|
|
8703
8706
|
]),
|
|
8704
|
-
f("div",
|
|
8705
|
-
f("div",
|
|
8706
|
-
f("label",
|
|
8707
|
-
f("span",
|
|
8707
|
+
f("div", uf, [
|
|
8708
|
+
f("div", cf, [
|
|
8709
|
+
f("label", df, [
|
|
8710
|
+
f("span", pf, z(y.$t("activity.dependingOn.label")), 1),
|
|
8708
8711
|
T(ke, {
|
|
8709
8712
|
modelValue: h.value,
|
|
8710
8713
|
"onUpdate:modelValue": R[8] || (R[8] = (H) => h.value = H),
|
|
@@ -8718,9 +8721,9 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8718
8721
|
}, null, 8, ["modelValue", "options", "disabled", "caret"])
|
|
8719
8722
|
])
|
|
8720
8723
|
]),
|
|
8721
|
-
f("div",
|
|
8722
|
-
f("label",
|
|
8723
|
-
f("span",
|
|
8724
|
+
f("div", vf, [
|
|
8725
|
+
f("label", ff, [
|
|
8726
|
+
f("span", hf, z(y.$t("activity.blocking.label")), 1),
|
|
8724
8727
|
T(ke, {
|
|
8725
8728
|
modelValue: g.value,
|
|
8726
8729
|
"onUpdate:modelValue": R[9] || (R[9] = (H) => g.value = H),
|
|
@@ -8736,8 +8739,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8736
8739
|
])
|
|
8737
8740
|
])
|
|
8738
8741
|
]),
|
|
8739
|
-
y.isTemplate !== !0 && V.value ? (p(), m("div",
|
|
8740
|
-
f("div",
|
|
8742
|
+
y.isTemplate !== !0 && V.value ? (p(), m("div", mf, [
|
|
8743
|
+
f("div", Cf, [
|
|
8741
8744
|
T(et, {
|
|
8742
8745
|
"user-name": V.value,
|
|
8743
8746
|
color: "black"
|
|
@@ -8753,7 +8756,7 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8753
8756
|
}));
|
|
8754
8757
|
}
|
|
8755
8758
|
});
|
|
8756
|
-
const
|
|
8759
|
+
const gf = /* @__PURE__ */ Y({
|
|
8757
8760
|
__name: "AoRuleLine",
|
|
8758
8761
|
props: {
|
|
8759
8762
|
rule: {},
|
|
@@ -8877,7 +8880,7 @@ const Cf = /* @__PURE__ */ Y({
|
|
|
8877
8880
|
}));
|
|
8878
8881
|
}
|
|
8879
8882
|
});
|
|
8880
|
-
const
|
|
8883
|
+
const _f = { class: "ao-template-rules__body" }, yf = { class: "ao-template-rules__list" }, bf = /* @__PURE__ */ Y({
|
|
8881
8884
|
__name: "AoTemplateRules",
|
|
8882
8885
|
props: {
|
|
8883
8886
|
templateId: {},
|
|
@@ -8893,7 +8896,7 @@ const gf = { class: "ao-template-rules__body" }, _f = { class: "ao-template-rule
|
|
|
8893
8896
|
}, s = (n) => {
|
|
8894
8897
|
e("removeRule", n);
|
|
8895
8898
|
};
|
|
8896
|
-
return (n, o) => (p(), P(
|
|
8899
|
+
return (n, o) => (p(), P(Ga, null, {
|
|
8897
8900
|
header: Z(() => [
|
|
8898
8901
|
T(ye, {
|
|
8899
8902
|
title: n.$t("template.rules.title"),
|
|
@@ -8901,9 +8904,9 @@ const gf = { class: "ao-template-rules__body" }, _f = { class: "ao-template-rule
|
|
|
8901
8904
|
}, null, 8, ["title"])
|
|
8902
8905
|
]),
|
|
8903
8906
|
default: Z(() => [
|
|
8904
|
-
f("div",
|
|
8905
|
-
f("ul",
|
|
8906
|
-
(p(!0), m(fe, null, _e(n.rules, (i) => (p(), P(
|
|
8907
|
+
f("div", _f, [
|
|
8908
|
+
f("ul", yf, [
|
|
8909
|
+
(p(!0), m(fe, null, _e(n.rules, (i) => (p(), P(gf, {
|
|
8907
8910
|
key: i.id,
|
|
8908
8911
|
rule: i,
|
|
8909
8912
|
"template-phases": n.templatePhases,
|
|
@@ -8931,10 +8934,10 @@ function Rt(t, e, a) {
|
|
|
8931
8934
|
rank: o.format()
|
|
8932
8935
|
};
|
|
8933
8936
|
}
|
|
8934
|
-
const
|
|
8937
|
+
const wf = {
|
|
8935
8938
|
key: 0,
|
|
8936
8939
|
class: "ao-template-details"
|
|
8937
|
-
},
|
|
8940
|
+
}, $f = { class: "ao-template-details__body" }, kf = { class: "ao-template-details__cols" }, Sf = { class: "ao-template-details__col" }, Af = { class: "ao-list__footer" }, Mf = { class: "ao-template-details__col" }, Tf = { class: "ao-template-details__col" }, Of = /* @__PURE__ */ Y({
|
|
8938
8941
|
__name: "AoTemplateDetails",
|
|
8939
8942
|
props: {
|
|
8940
8943
|
templateId: {},
|
|
@@ -9176,8 +9179,8 @@ const bf = {
|
|
|
9176
9179
|
};
|
|
9177
9180
|
return ($, U) => {
|
|
9178
9181
|
var V, ie, y, R, le, oe;
|
|
9179
|
-
return n.value ? (p(), m("div",
|
|
9180
|
-
T(
|
|
9182
|
+
return n.value ? (p(), m("div", wf, [
|
|
9183
|
+
T(Ka, {
|
|
9181
9184
|
"can-go-back": !0,
|
|
9182
9185
|
onGoBack: U[1] || (U[1] = (q) => $.$router.push({ name: J(Pt).TEMPLATES_LIST }))
|
|
9183
9186
|
}, {
|
|
@@ -9193,9 +9196,9 @@ const bf = {
|
|
|
9193
9196
|
]),
|
|
9194
9197
|
_: 1
|
|
9195
9198
|
}),
|
|
9196
|
-
f("div",
|
|
9197
|
-
f("ol",
|
|
9198
|
-
f("li",
|
|
9199
|
+
f("div", $f, [
|
|
9200
|
+
f("ol", kf, [
|
|
9201
|
+
f("li", Sf, [
|
|
9199
9202
|
T(J(mt), {
|
|
9200
9203
|
"model-value": n.value.phases,
|
|
9201
9204
|
class: "ao-templates__list",
|
|
@@ -9213,7 +9216,7 @@ const bf = {
|
|
|
9213
9216
|
item: Z(({ element: q }) => {
|
|
9214
9217
|
var H;
|
|
9215
9218
|
return [
|
|
9216
|
-
T(
|
|
9219
|
+
T(c5, {
|
|
9217
9220
|
id: q.id,
|
|
9218
9221
|
name: q.name,
|
|
9219
9222
|
milestones: q.milestones,
|
|
@@ -9230,7 +9233,7 @@ const bf = {
|
|
|
9230
9233
|
];
|
|
9231
9234
|
}),
|
|
9232
9235
|
footer: Z(() => [
|
|
9233
|
-
f("div",
|
|
9236
|
+
f("div", Af, [
|
|
9234
9237
|
T(Ct, {
|
|
9235
9238
|
"icon-name": "AddBoxOutlineRounded",
|
|
9236
9239
|
label: $.$t("template.phases.add"),
|
|
@@ -9241,8 +9244,8 @@ const bf = {
|
|
|
9241
9244
|
_: 1
|
|
9242
9245
|
}, 8, ["model-value"])
|
|
9243
9246
|
]),
|
|
9244
|
-
f("li",
|
|
9245
|
-
i.value ? (p(), P(
|
|
9247
|
+
f("li", Mf, [
|
|
9248
|
+
i.value ? (p(), P(v5, {
|
|
9246
9249
|
key: 0,
|
|
9247
9250
|
"template-id": $.templateId,
|
|
9248
9251
|
phase: i.value,
|
|
@@ -9253,8 +9256,8 @@ const bf = {
|
|
|
9253
9256
|
onRemoveMilestone: _
|
|
9254
9257
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : O("", !0)
|
|
9255
9258
|
]),
|
|
9256
|
-
f("li",
|
|
9257
|
-
i.value && r.value ? (p(), P(
|
|
9259
|
+
f("li", Tf, [
|
|
9260
|
+
i.value && r.value ? (p(), P(m5, {
|
|
9258
9261
|
key: 0,
|
|
9259
9262
|
"template-id": $.templateId,
|
|
9260
9263
|
"phase-id": (ie = i.value) == null ? void 0 : ie.id,
|
|
@@ -9297,7 +9300,7 @@ const bf = {
|
|
|
9297
9300
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
9298
9301
|
])),
|
|
9299
9302
|
(p(), P(jt, { to: "body" }, [
|
|
9300
|
-
F.value ? (p(), P(
|
|
9303
|
+
F.value ? (p(), P(bf, {
|
|
9301
9304
|
key: 0,
|
|
9302
9305
|
"template-id": n.value.id,
|
|
9303
9306
|
rules: n.value.rules || [],
|
|
@@ -9313,10 +9316,10 @@ const bf = {
|
|
|
9313
9316
|
};
|
|
9314
9317
|
}
|
|
9315
9318
|
});
|
|
9316
|
-
const
|
|
9319
|
+
const Ef = {
|
|
9317
9320
|
key: 0,
|
|
9318
9321
|
class: "ao-card__header"
|
|
9319
|
-
},
|
|
9322
|
+
}, If = { class: "ao-card__body" }, Lf = {
|
|
9320
9323
|
key: 1,
|
|
9321
9324
|
class: "ao-card__footer"
|
|
9322
9325
|
}, Zs = /* @__PURE__ */ Y({
|
|
@@ -9337,13 +9340,13 @@ const Of = {
|
|
|
9337
9340
|
])
|
|
9338
9341
|
}, {
|
|
9339
9342
|
default: Z(() => [
|
|
9340
|
-
e.$slots.header ? (p(), m("header",
|
|
9343
|
+
e.$slots.header ? (p(), m("header", Ef, [
|
|
9341
9344
|
ae(e.$slots, "header")
|
|
9342
9345
|
])) : O("", !0),
|
|
9343
|
-
f("div",
|
|
9346
|
+
f("div", If, [
|
|
9344
9347
|
ae(e.$slots, "default")
|
|
9345
9348
|
]),
|
|
9346
|
-
e.$slots.footer ? (p(), m("footer",
|
|
9349
|
+
e.$slots.footer ? (p(), m("footer", Lf, [
|
|
9347
9350
|
ae(e.$slots, "footer")
|
|
9348
9351
|
])) : O("", !0)
|
|
9349
9352
|
]),
|
|
@@ -9371,16 +9374,16 @@ const Ws = /* @__PURE__ */ Y({
|
|
|
9371
9374
|
], 2));
|
|
9372
9375
|
}
|
|
9373
9376
|
});
|
|
9374
|
-
const
|
|
9377
|
+
const Hf = { class: "ao-card-project-phase__header" }, Df = { class: "ao-card-project-item__title-line" }, Pf = {
|
|
9375
9378
|
key: 0,
|
|
9376
9379
|
class: "ao-card-project-item-phase__estimation"
|
|
9377
|
-
},
|
|
9380
|
+
}, Vf = { class: "ao-card-project-phase__footer" }, Bf = {
|
|
9378
9381
|
key: 0,
|
|
9379
9382
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9380
|
-
},
|
|
9383
|
+
}, Rf = { class: "ao-card-project-phase__subitem" }, Nf = { class: "ao-card-project-phase__subitem" }, jf = {
|
|
9381
9384
|
key: 0,
|
|
9382
9385
|
class: "ao-card-project-phase__secondary"
|
|
9383
|
-
},
|
|
9386
|
+
}, Uf = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Ff = /* @__PURE__ */ Y({
|
|
9384
9387
|
__name: "AoCardProjectItemPhase",
|
|
9385
9388
|
props: {
|
|
9386
9389
|
id: {},
|
|
@@ -9408,7 +9411,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9408
9411
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9409
9412
|
}), i = M(() => {
|
|
9410
9413
|
var c;
|
|
9411
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9414
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === ms.done).length;
|
|
9412
9415
|
}), r = M(() => (i.value || 0) / (o.value || 1)), l = M({
|
|
9413
9416
|
get: () => a.deadline ?? "",
|
|
9414
9417
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9416,9 +9419,9 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9416
9419
|
return (c, u) => (p(), P(Zs, {
|
|
9417
9420
|
class: "ao-card-project-phase",
|
|
9418
9421
|
"is-clickable": c.isEditable
|
|
9419
|
-
},
|
|
9422
|
+
}, ks({
|
|
9420
9423
|
default: Z(() => [
|
|
9421
|
-
f("div",
|
|
9424
|
+
f("div", Df, [
|
|
9422
9425
|
T(ye, {
|
|
9423
9426
|
id: c.id,
|
|
9424
9427
|
class: "ao-card-project-phase__title",
|
|
@@ -9427,24 +9430,24 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9427
9430
|
"is-editable": c.isEditable,
|
|
9428
9431
|
"onUpdate:title": s
|
|
9429
9432
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9430
|
-
n.value ? (p(), m("span",
|
|
9433
|
+
n.value ? (p(), m("span", Pf, " (" + z(n.value) + ")", 1)) : O("", !0)
|
|
9431
9434
|
])
|
|
9432
9435
|
]),
|
|
9433
9436
|
footer: Z(() => [
|
|
9434
|
-
f("div",
|
|
9435
|
-
o.value ? (p(), m("div",
|
|
9436
|
-
f("div",
|
|
9437
|
+
f("div", Vf, [
|
|
9438
|
+
o.value ? (p(), m("div", Bf, [
|
|
9439
|
+
f("div", Rf, [
|
|
9437
9440
|
T(pe, {
|
|
9438
9441
|
name: "MountainFlagOutlineRounded",
|
|
9439
9442
|
size: "sm"
|
|
9440
9443
|
}),
|
|
9441
|
-
f("span",
|
|
9444
|
+
f("span", Nf, z(i.value) + " / " + z(o.value), 1)
|
|
9442
9445
|
]),
|
|
9443
9446
|
T(Ws, {
|
|
9444
9447
|
percentages: r.value,
|
|
9445
9448
|
class: "ao-card-project-phase__progress"
|
|
9446
9449
|
}, null, 8, ["percentages"]),
|
|
9447
|
-
c.$slots.secondary ? (p(), m("div",
|
|
9450
|
+
c.$slots.secondary ? (p(), m("div", jf, [
|
|
9448
9451
|
ae(c.$slots, "secondary")
|
|
9449
9452
|
])) : O("", !0)
|
|
9450
9453
|
])) : O("", !0),
|
|
@@ -9464,7 +9467,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9464
9467
|
{ lazy: !0 }
|
|
9465
9468
|
]
|
|
9466
9469
|
]) : O("", !0),
|
|
9467
|
-
f("span",
|
|
9470
|
+
f("span", Uf, z(J(Ts)(c.deadline)), 1)
|
|
9468
9471
|
], 2)
|
|
9469
9472
|
])
|
|
9470
9473
|
]),
|
|
@@ -9473,7 +9476,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9473
9476
|
c.isEditable ? {
|
|
9474
9477
|
name: "header",
|
|
9475
9478
|
fn: Z(() => [
|
|
9476
|
-
f("div",
|
|
9479
|
+
f("div", Hf, [
|
|
9477
9480
|
T(ue, {
|
|
9478
9481
|
class: "ao-card-project-phase__archive",
|
|
9479
9482
|
color: "primary",
|
|
@@ -9492,7 +9495,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9492
9495
|
]), 1032, ["is-clickable"]));
|
|
9493
9496
|
}
|
|
9494
9497
|
});
|
|
9495
|
-
const
|
|
9498
|
+
const Zf = /* @__PURE__ */ Y({
|
|
9496
9499
|
__name: "AoBadge",
|
|
9497
9500
|
props: {
|
|
9498
9501
|
color: {}
|
|
@@ -9504,22 +9507,22 @@ const Ff = /* @__PURE__ */ Y({
|
|
|
9504
9507
|
}, null, 4));
|
|
9505
9508
|
}
|
|
9506
9509
|
});
|
|
9507
|
-
const
|
|
9510
|
+
const Wf = { class: "ao-card-project-milestone__default" }, qf = { class: "ao-title-with-badge-wrapper" }, zf = { class: "ao-card-project-item__title-line" }, xf = {
|
|
9508
9511
|
key: 0,
|
|
9509
9512
|
class: "ao-card-project-item-milestone__estimation"
|
|
9510
|
-
},
|
|
9513
|
+
}, Yf = {
|
|
9511
9514
|
key: 0,
|
|
9512
9515
|
class: "ao-card-project-milestone__archive"
|
|
9513
|
-
},
|
|
9516
|
+
}, Kf = { class: "ao-card-project-milestone__activities" }, Gf = { class: "ao-card-project-milestone__activities-row" }, Xf = { class: "ao-card-project-milestone__subitem" }, Qf = { class: "ao-card-project-milestone__subitem" }, Jf = {
|
|
9514
9517
|
key: 1,
|
|
9515
9518
|
class: "ao-card-project-milestone__secondary"
|
|
9516
|
-
},
|
|
9519
|
+
}, e9 = { class: "ao-card-project-milestone__footer" }, t9 = {
|
|
9517
9520
|
key: 1,
|
|
9518
9521
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9519
|
-
},
|
|
9522
|
+
}, a9 = { class: "ao-field__label" }, s9 = {
|
|
9520
9523
|
key: 2,
|
|
9521
9524
|
class: "ao-card-project-milestone__assignee"
|
|
9522
|
-
},
|
|
9525
|
+
}, n9 = /* @__PURE__ */ Y({
|
|
9523
9526
|
__name: "AoCardProjectItemMilestone",
|
|
9524
9527
|
props: {
|
|
9525
9528
|
id: {},
|
|
@@ -9560,12 +9563,12 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9560
9563
|
"is-selected": l.isSelected
|
|
9561
9564
|
}, {
|
|
9562
9565
|
default: Z(() => [
|
|
9563
|
-
f("div",
|
|
9564
|
-
f("div",
|
|
9565
|
-
T(
|
|
9566
|
+
f("div", Wf, [
|
|
9567
|
+
f("div", qf, [
|
|
9568
|
+
T(Zf, {
|
|
9566
9569
|
color: l.color || ""
|
|
9567
9570
|
}, null, 8, ["color"]),
|
|
9568
|
-
f("div",
|
|
9571
|
+
f("div", zf, [
|
|
9569
9572
|
T(ye, {
|
|
9570
9573
|
id: l.id,
|
|
9571
9574
|
title: l.name || "",
|
|
@@ -9574,10 +9577,10 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9574
9577
|
class: "ao-card-project-milestone__title",
|
|
9575
9578
|
"onUpdate:title": r
|
|
9576
9579
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9577
|
-
s.value ? (p(), m("span",
|
|
9580
|
+
s.value ? (p(), m("span", xf, " (" + z(s.value) + ")", 1)) : O("", !0)
|
|
9578
9581
|
])
|
|
9579
9582
|
]),
|
|
9580
|
-
!l.readonly && l.isEditable ? (p(), m("div",
|
|
9583
|
+
!l.readonly && l.isEditable ? (p(), m("div", Yf, [
|
|
9581
9584
|
T(ue, {
|
|
9582
9585
|
color: l.isSelected ? void 0 : "primary",
|
|
9583
9586
|
variant: "ghost",
|
|
@@ -9590,29 +9593,29 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9590
9593
|
}, null, 8, ["color", "label"])
|
|
9591
9594
|
])) : O("", !0)
|
|
9592
9595
|
]),
|
|
9593
|
-
f("div",
|
|
9594
|
-
f("div",
|
|
9596
|
+
f("div", Kf, [
|
|
9597
|
+
f("div", Gf, [
|
|
9595
9598
|
n.value ? (p(), m(fe, { key: 0 }, [
|
|
9596
|
-
f("div",
|
|
9599
|
+
f("div", Xf, [
|
|
9597
9600
|
T(pe, {
|
|
9598
9601
|
name: "SelectCheckBox",
|
|
9599
9602
|
size: "sm"
|
|
9600
9603
|
}),
|
|
9601
|
-
f("span",
|
|
9604
|
+
f("span", Qf, z(o.value) + " / " + z(n.value), 1)
|
|
9602
9605
|
]),
|
|
9603
9606
|
T(Ws, {
|
|
9604
9607
|
percentages: i.value,
|
|
9605
9608
|
class: "ao-card-project-milestone__progress"
|
|
9606
9609
|
}, null, 8, ["percentages"])
|
|
9607
9610
|
], 64)) : O("", !0),
|
|
9608
|
-
l.$slots.secondary ? (p(), m("div",
|
|
9611
|
+
l.$slots.secondary ? (p(), m("div", Jf, [
|
|
9609
9612
|
ae(l.$slots, "secondary")
|
|
9610
9613
|
])) : O("", !0)
|
|
9611
9614
|
])
|
|
9612
9615
|
])
|
|
9613
9616
|
]),
|
|
9614
9617
|
footer: Z(() => [
|
|
9615
|
-
f("div",
|
|
9618
|
+
f("div", e9, [
|
|
9616
9619
|
l.important ? (p(), P(pe, {
|
|
9617
9620
|
key: 0,
|
|
9618
9621
|
name: "FlagRounded",
|
|
@@ -9621,10 +9624,10 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9621
9624
|
),
|
|
9622
9625
|
size: "sm"
|
|
9623
9626
|
}, null, 8, ["class"])) : O("", !0),
|
|
9624
|
-
l.deadline ? (p(), m("label",
|
|
9625
|
-
f("span",
|
|
9627
|
+
l.deadline ? (p(), m("label", t9, [
|
|
9628
|
+
f("span", a9, z(J(Ts)(l.deadline)), 1)
|
|
9626
9629
|
])) : O("", !0),
|
|
9627
|
-
l.assignee ? (p(), m("div",
|
|
9630
|
+
l.assignee ? (p(), m("div", s9, [
|
|
9628
9631
|
T(et, {
|
|
9629
9632
|
"user-name": J(zn)(l.assignee),
|
|
9630
9633
|
"avatar-url": l.assignee.avatarUrl,
|
|
@@ -9638,10 +9641,10 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9638
9641
|
}, 8, ["class", "is-clickable", "is-selected"]));
|
|
9639
9642
|
}
|
|
9640
9643
|
});
|
|
9641
|
-
const
|
|
9644
|
+
const i9 = {
|
|
9642
9645
|
key: 0,
|
|
9643
9646
|
class: "ao-project-phase__drag ao-card__drag"
|
|
9644
|
-
},
|
|
9647
|
+
}, o9 = { class: "ao-project-phase__col-phase" }, r9 = { class: "ao-project-phase__col-milestones" }, l9 = { class: "ao-project-phase__milestones" }, u9 = { class: "ao-project-phase__milestones-list-footer" }, c9 = /* @__PURE__ */ Y({
|
|
9645
9648
|
__name: "AoProjectPhase",
|
|
9646
9649
|
props: {
|
|
9647
9650
|
phase: {},
|
|
@@ -9698,14 +9701,14 @@ const n9 = {
|
|
|
9698
9701
|
{ "ao-project-phase--selected": d.phase.id === ((w = d.$route.params) == null ? void 0 : w.phaseId) }
|
|
9699
9702
|
])
|
|
9700
9703
|
}, [
|
|
9701
|
-
d.isEditable ? (p(), m("div",
|
|
9704
|
+
d.isEditable ? (p(), m("div", i9, [
|
|
9702
9705
|
T(pe, {
|
|
9703
9706
|
name: "DragIndicator",
|
|
9704
9707
|
class: "ao-project-phase__drag-handle"
|
|
9705
9708
|
})
|
|
9706
9709
|
])) : O("", !0),
|
|
9707
|
-
f("div",
|
|
9708
|
-
T(
|
|
9710
|
+
f("div", o9, [
|
|
9711
|
+
T(Ff, {
|
|
9709
9712
|
id: d.phase.id,
|
|
9710
9713
|
milestones: i.value,
|
|
9711
9714
|
name: d.phase.name,
|
|
@@ -9716,8 +9719,8 @@ const n9 = {
|
|
|
9716
9719
|
onArchivePhase: u
|
|
9717
9720
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
9718
9721
|
]),
|
|
9719
|
-
f("div",
|
|
9720
|
-
f("div",
|
|
9722
|
+
f("div", r9, [
|
|
9723
|
+
f("div", l9, [
|
|
9721
9724
|
T(J(mt), He({
|
|
9722
9725
|
class: "ao-project-phase__milestones-list",
|
|
9723
9726
|
list: i.value,
|
|
@@ -9728,7 +9731,7 @@ const n9 = {
|
|
|
9728
9731
|
item: Z(({ element: g }) => {
|
|
9729
9732
|
var b;
|
|
9730
9733
|
return [
|
|
9731
|
-
T(
|
|
9734
|
+
T(n9, {
|
|
9732
9735
|
id: g.id,
|
|
9733
9736
|
name: g.name,
|
|
9734
9737
|
color: g.color,
|
|
@@ -9753,7 +9756,7 @@ const n9 = {
|
|
|
9753
9756
|
}),
|
|
9754
9757
|
_: 1
|
|
9755
9758
|
}, 16, ["list", "disabled"]),
|
|
9756
|
-
f("div",
|
|
9759
|
+
f("div", u9, [
|
|
9757
9760
|
d.isEditable ? (p(), P(Ct, {
|
|
9758
9761
|
key: 0,
|
|
9759
9762
|
label: d.$t("project.milestone.add"),
|
|
@@ -9768,10 +9771,10 @@ const n9 = {
|
|
|
9768
9771
|
};
|
|
9769
9772
|
}
|
|
9770
9773
|
});
|
|
9771
|
-
const
|
|
9774
|
+
const d9 = { class: "ao-project__phases" }, p9 = {
|
|
9772
9775
|
key: 0,
|
|
9773
9776
|
class: "ao-project-phase__phases-list-footer"
|
|
9774
|
-
},
|
|
9777
|
+
}, v9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), f9 = { class: "ao-project-phase__col-phase" }, h9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), m9 = /* @__PURE__ */ Y({
|
|
9775
9778
|
__name: "AoProjectPhases",
|
|
9776
9779
|
props: {
|
|
9777
9780
|
phases: {},
|
|
@@ -9807,7 +9810,7 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9807
9810
|
}, c = (u) => {
|
|
9808
9811
|
e("addPhase", u);
|
|
9809
9812
|
};
|
|
9810
|
-
return (u, v) => (p(), m("div",
|
|
9813
|
+
return (u, v) => (p(), m("div", d9, [
|
|
9811
9814
|
T(J(mt), {
|
|
9812
9815
|
class: "ao-project-phase__phases-list",
|
|
9813
9816
|
"model-value": u.phases,
|
|
@@ -9816,7 +9819,7 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9816
9819
|
onChange: r
|
|
9817
9820
|
}, {
|
|
9818
9821
|
item: Z(({ element: d }) => [
|
|
9819
|
-
T(
|
|
9822
|
+
T(c9, {
|
|
9820
9823
|
phase: d,
|
|
9821
9824
|
"is-editable": !u.readonly && u.isEditable,
|
|
9822
9825
|
"closed-status": u.closedStatus,
|
|
@@ -9831,9 +9834,9 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9831
9834
|
]),
|
|
9832
9835
|
_: 1
|
|
9833
9836
|
}, 8, ["model-value"]),
|
|
9834
|
-
u.isEditable ? (p(), m("div",
|
|
9835
|
-
|
|
9836
|
-
f("div",
|
|
9837
|
+
u.isEditable ? (p(), m("div", p9, [
|
|
9838
|
+
v9,
|
|
9839
|
+
f("div", f9, [
|
|
9837
9840
|
T(Ct, {
|
|
9838
9841
|
label: u.$t("project.phases.add"),
|
|
9839
9842
|
"icon-name": "Add",
|
|
@@ -9841,12 +9844,12 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9841
9844
|
onClick: c
|
|
9842
9845
|
}, null, 8, ["label"])
|
|
9843
9846
|
]),
|
|
9844
|
-
|
|
9847
|
+
h9
|
|
9845
9848
|
])) : O("", !0)
|
|
9846
9849
|
]));
|
|
9847
9850
|
}
|
|
9848
9851
|
});
|
|
9849
|
-
const
|
|
9852
|
+
const C9 = ["onSubmit"], g9 = { class: "ao-add-template-modal__form-body" }, _9 = { class: "field__row" }, y9 = { class: "ao-add-template-modal__form-footer" }, b9 = /* @__PURE__ */ Y({
|
|
9850
9853
|
__name: "AoAddTemplateModal",
|
|
9851
9854
|
props: {
|
|
9852
9855
|
projectId: {},
|
|
@@ -9862,7 +9865,7 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9862
9865
|
}, i = () => {
|
|
9863
9866
|
n.value && e("apply", n.value, a.projectId);
|
|
9864
9867
|
};
|
|
9865
|
-
return (r, l) => (p(), P(
|
|
9868
|
+
return (r, l) => (p(), P(Ga, { size: "sm" }, {
|
|
9866
9869
|
header: Z(() => [
|
|
9867
9870
|
T(ye, {
|
|
9868
9871
|
title: r.$t("project.template.add.title"),
|
|
@@ -9874,8 +9877,8 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9874
9877
|
class: "ao-add-template-modal__form",
|
|
9875
9878
|
onSubmit: ve(i, ["prevent"])
|
|
9876
9879
|
}, [
|
|
9877
|
-
f("div",
|
|
9878
|
-
f("div",
|
|
9880
|
+
f("div", g9, [
|
|
9881
|
+
f("div", _9, [
|
|
9879
9882
|
T(ke, {
|
|
9880
9883
|
value: n.value,
|
|
9881
9884
|
options: s.value,
|
|
@@ -9884,7 +9887,7 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9884
9887
|
}, null, 8, ["value", "options"])
|
|
9885
9888
|
])
|
|
9886
9889
|
]),
|
|
9887
|
-
f("footer",
|
|
9890
|
+
f("footer", y9, [
|
|
9888
9891
|
T(ue, {
|
|
9889
9892
|
label: r.$t("project.template.add.label"),
|
|
9890
9893
|
type: "submit",
|
|
@@ -9893,13 +9896,13 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9893
9896
|
onClick: i
|
|
9894
9897
|
}, null, 8, ["label"])
|
|
9895
9898
|
])
|
|
9896
|
-
], 40,
|
|
9899
|
+
], 40, C9)
|
|
9897
9900
|
]),
|
|
9898
9901
|
_: 1
|
|
9899
9902
|
}));
|
|
9900
9903
|
}
|
|
9901
9904
|
});
|
|
9902
|
-
const
|
|
9905
|
+
const w9 = ["onSubmit"], $9 = { class: "ao-save-template-modal__form-body" }, k9 = { class: "field__row" }, S9 = { class: "ao-field ao-field--inline" }, A9 = { class: "ao-field__label" }, M9 = { class: "ao-save-template-modal__phases" }, T9 = { class: "ao-field__label" }, O9 = { class: "ao-save-template-modal__phases-list" }, E9 = ["value"], I9 = { class: "ao-save-template-modal__form-footer" }, L9 = /* @__PURE__ */ Y({
|
|
9903
9906
|
__name: "AoSaveTemplateModal",
|
|
9904
9907
|
props: {
|
|
9905
9908
|
phases: {}
|
|
@@ -9913,7 +9916,7 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9913
9916
|
const o = () => {
|
|
9914
9917
|
s.value && e("save", s.value, n.value);
|
|
9915
9918
|
};
|
|
9916
|
-
return (i, r) => (p(), P(
|
|
9919
|
+
return (i, r) => (p(), P(Ga, { size: "sm" }, {
|
|
9917
9920
|
header: Z(() => [
|
|
9918
9921
|
T(ye, {
|
|
9919
9922
|
title: i.$t("project.template.save.title"),
|
|
@@ -9925,10 +9928,10 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9925
9928
|
class: "ao-save-template-modal__form",
|
|
9926
9929
|
onSubmit: ve(o, ["prevent"])
|
|
9927
9930
|
}, [
|
|
9928
|
-
f("div",
|
|
9929
|
-
f("div",
|
|
9930
|
-
f("label",
|
|
9931
|
-
f("span",
|
|
9931
|
+
f("div", $9, [
|
|
9932
|
+
f("div", k9, [
|
|
9933
|
+
f("label", S9, [
|
|
9934
|
+
f("span", A9, z(i.$t("project.template.name.label")) + ": ", 1),
|
|
9932
9935
|
Re(f("input", {
|
|
9933
9936
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => s.value = l),
|
|
9934
9937
|
type: "text"
|
|
@@ -9937,9 +9940,9 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9937
9940
|
])
|
|
9938
9941
|
])
|
|
9939
9942
|
]),
|
|
9940
|
-
f("div",
|
|
9941
|
-
f("div",
|
|
9942
|
-
f("div",
|
|
9943
|
+
f("div", M9, [
|
|
9944
|
+
f("div", T9, z(i.$t("project.template.phases.label")), 1),
|
|
9945
|
+
f("div", O9, [
|
|
9943
9946
|
(p(!0), m(fe, null, _e(a.phases, (l) => (p(), m("label", {
|
|
9944
9947
|
class: "ao-field ao-field--checkbox",
|
|
9945
9948
|
key: l.id
|
|
@@ -9948,7 +9951,7 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9948
9951
|
type: "checkbox",
|
|
9949
9952
|
value: l.id,
|
|
9950
9953
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => n.value = c)
|
|
9951
|
-
}, null, 8,
|
|
9954
|
+
}, null, 8, E9), [
|
|
9952
9955
|
[Pi, n.value]
|
|
9953
9956
|
]),
|
|
9954
9957
|
f("span", null, z(l.name), 1)
|
|
@@ -9956,7 +9959,7 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9956
9959
|
])
|
|
9957
9960
|
])
|
|
9958
9961
|
]),
|
|
9959
|
-
f("footer",
|
|
9962
|
+
f("footer", I9, [
|
|
9960
9963
|
T(ue, {
|
|
9961
9964
|
label: i.$t("project.template.save.label"),
|
|
9962
9965
|
type: "submit",
|
|
@@ -9965,13 +9968,13 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9965
9968
|
onClick: o
|
|
9966
9969
|
}, null, 8, ["label"])
|
|
9967
9970
|
])
|
|
9968
|
-
], 40,
|
|
9971
|
+
], 40, w9)
|
|
9969
9972
|
]),
|
|
9970
9973
|
_: 1
|
|
9971
9974
|
}));
|
|
9972
9975
|
}
|
|
9973
9976
|
});
|
|
9974
|
-
const
|
|
9977
|
+
const H9 = Y({
|
|
9975
9978
|
props: {
|
|
9976
9979
|
isLeft: {
|
|
9977
9980
|
type: Boolean,
|
|
@@ -10000,9 +10003,9 @@ const L9 = Y({
|
|
|
10000
10003
|
}
|
|
10001
10004
|
}
|
|
10002
10005
|
});
|
|
10003
|
-
const
|
|
10004
|
-
function
|
|
10005
|
-
return p(), m("div",
|
|
10006
|
+
const D9 = { class: "toggle-wrapper" };
|
|
10007
|
+
function P9(t, e, a, s, n, o) {
|
|
10008
|
+
return p(), m("div", D9, [
|
|
10006
10009
|
f("button", {
|
|
10007
10010
|
class: Q({
|
|
10008
10011
|
button: !0,
|
|
@@ -10023,7 +10026,7 @@ function D9(t, e, a, s, n, o) {
|
|
|
10023
10026
|
}, z(t.rightLabel), 3)
|
|
10024
10027
|
]);
|
|
10025
10028
|
}
|
|
10026
|
-
const ci = /* @__PURE__ */ j(
|
|
10029
|
+
const ci = /* @__PURE__ */ j(H9, [["render", P9], ["__scopeId", "data-v-cbe33527"]]), V9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, R9 = /* @__PURE__ */ Y({
|
|
10027
10030
|
__name: "AoProjectOverviewProject",
|
|
10028
10031
|
props: {
|
|
10029
10032
|
project: {},
|
|
@@ -10095,8 +10098,8 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10095
10098
|
const te = Ke("RouterView");
|
|
10096
10099
|
return p(), m(fe, null, [
|
|
10097
10100
|
f("div", He({ class: "ao-project-overview" }, E.$attrs), [
|
|
10098
|
-
f("div",
|
|
10099
|
-
T(
|
|
10101
|
+
f("div", V9, [
|
|
10102
|
+
T(Ka, null, {
|
|
10100
10103
|
primary: Z(() => [
|
|
10101
10104
|
T(ci, {
|
|
10102
10105
|
"is-left": !0,
|
|
@@ -10137,8 +10140,8 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10137
10140
|
]),
|
|
10138
10141
|
_: 1
|
|
10139
10142
|
}),
|
|
10140
|
-
f("div",
|
|
10141
|
-
T(
|
|
10143
|
+
f("div", B9, [
|
|
10144
|
+
T(m9, {
|
|
10142
10145
|
phases: E.phases,
|
|
10143
10146
|
"closed-status": E.closedStatus,
|
|
10144
10147
|
"is-editable": E.isEditable === !0,
|
|
@@ -10204,13 +10207,13 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10204
10207
|
]))
|
|
10205
10208
|
], 16),
|
|
10206
10209
|
(p(), P(jt, { to: "body" }, [
|
|
10207
|
-
G.value ? (p(), P(
|
|
10210
|
+
G.value ? (p(), P(L9, {
|
|
10208
10211
|
key: 0,
|
|
10209
10212
|
phases: E.phases,
|
|
10210
10213
|
onClose: K[5] || (K[5] = (A) => G.value = !1),
|
|
10211
10214
|
onSave: N
|
|
10212
10215
|
}, null, 8, ["phases"])) : O("", !0),
|
|
10213
|
-
x.value ? (p(), P(
|
|
10216
|
+
x.value ? (p(), P(b9, {
|
|
10214
10217
|
key: 1,
|
|
10215
10218
|
"project-id": E.project.id,
|
|
10216
10219
|
templates: E.templates,
|
|
@@ -10222,39 +10225,39 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10222
10225
|
};
|
|
10223
10226
|
}
|
|
10224
10227
|
});
|
|
10225
|
-
const
|
|
10228
|
+
const N9 = { class: "ao-card-feed__header" }, j9 = {
|
|
10226
10229
|
key: 1,
|
|
10227
10230
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10228
|
-
},
|
|
10231
|
+
}, U9 = {
|
|
10229
10232
|
key: 2,
|
|
10230
10233
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10231
|
-
},
|
|
10234
|
+
}, F9 = { class: "ao-card-feed__body" }, Z9 = {
|
|
10232
10235
|
key: 0,
|
|
10233
10236
|
class: "ao-card-feed__breadcrumbs"
|
|
10234
|
-
},
|
|
10237
|
+
}, W9 = {
|
|
10235
10238
|
class: /* @__PURE__ */ Q(["ao-card-feed__title-group"])
|
|
10236
|
-
},
|
|
10239
|
+
}, q9 = { class: "ao-card-feed__title-line" }, z9 = {
|
|
10237
10240
|
key: 0,
|
|
10238
10241
|
class: "ao-card-feed__slug"
|
|
10239
|
-
},
|
|
10242
|
+
}, x9 = {
|
|
10240
10243
|
key: 1,
|
|
10241
10244
|
class: "ao-card-feed__deadline"
|
|
10242
|
-
},
|
|
10245
|
+
}, Y9 = { class: "ao-card-feed__footer" }, K9 = { class: "ao-card-feed__footer-row" }, G9 = { class: "ao-assignees" }, X9 = {
|
|
10243
10246
|
key: 0,
|
|
10244
10247
|
class: "ao-assignee"
|
|
10245
|
-
},
|
|
10248
|
+
}, Q9 = {
|
|
10246
10249
|
key: 0,
|
|
10247
10250
|
class: "ao-card-feed__subitems"
|
|
10248
|
-
},
|
|
10251
|
+
}, J9 = {
|
|
10249
10252
|
key: 0,
|
|
10250
10253
|
class: "ao-card-feed__subitem"
|
|
10251
|
-
},
|
|
10254
|
+
}, e4 = { class: "ao-card-feed__subitem" }, t4 = {
|
|
10252
10255
|
key: 1,
|
|
10253
10256
|
class: "ao-card-feed__subitem"
|
|
10254
|
-
},
|
|
10257
|
+
}, a4 = { class: "ao-card-feed__subitem" }, s4 = { class: "ao-card-feed__footer-row" }, n4 = {
|
|
10255
10258
|
key: 0,
|
|
10256
10259
|
class: "ao-card-feed__progress-wrapper"
|
|
10257
|
-
},
|
|
10260
|
+
}, i4 = { class: "ao-card-feed__subitem" }, o4 = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ Y({
|
|
10258
10261
|
__name: "AoCardFeed",
|
|
10259
10262
|
props: {
|
|
10260
10263
|
id: {},
|
|
@@ -10297,8 +10300,8 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10297
10300
|
"is-clickable": !0
|
|
10298
10301
|
}, {
|
|
10299
10302
|
header: Z(() => [
|
|
10300
|
-
f("div",
|
|
10301
|
-
s.value ? (p(), P(
|
|
10303
|
+
f("div", N9, [
|
|
10304
|
+
s.value ? (p(), P(Wa, {
|
|
10302
10305
|
key: 0,
|
|
10303
10306
|
label: s.value,
|
|
10304
10307
|
class: "ao-card-feed__project",
|
|
@@ -10306,7 +10309,7 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10306
10309
|
color: h.projectColor ? void 0 : "primary",
|
|
10307
10310
|
"raw-color": n.value
|
|
10308
10311
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
10309
|
-
h.isPrivate || h.important || h.isClosed ? (p(), m("div",
|
|
10312
|
+
h.isPrivate || h.important || h.isClosed ? (p(), m("div", j9, [
|
|
10310
10313
|
h.isPrivate ? (p(), P(pe, {
|
|
10311
10314
|
key: 0,
|
|
10312
10315
|
name: "Lock",
|
|
@@ -10325,17 +10328,17 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10325
10328
|
class: "ao-card-feed__closed"
|
|
10326
10329
|
})) : O("", !0)
|
|
10327
10330
|
])) : O("", !0),
|
|
10328
|
-
h.$slots.secondary ? (p(), m("div",
|
|
10331
|
+
h.$slots.secondary ? (p(), m("div", U9, [
|
|
10329
10332
|
ae(h.$slots, "secondary")
|
|
10330
10333
|
])) : O("", !0)
|
|
10331
10334
|
])
|
|
10332
10335
|
]),
|
|
10333
10336
|
default: Z(() => [
|
|
10334
|
-
f("div",
|
|
10335
|
-
i.value ? (p(), m("span",
|
|
10336
|
-
f("div",
|
|
10337
|
-
f("div",
|
|
10338
|
-
h.slug ? (p(), m("span",
|
|
10337
|
+
f("div", F9, [
|
|
10338
|
+
i.value ? (p(), m("span", Z9, z(i.value), 1)) : O("", !0),
|
|
10339
|
+
f("div", W9, [
|
|
10340
|
+
f("div", q9, [
|
|
10341
|
+
h.slug ? (p(), m("span", z9, z(h.slug) + ": ", 1)) : O("", !0),
|
|
10339
10342
|
T(ye, {
|
|
10340
10343
|
id: h.id,
|
|
10341
10344
|
title: h.name,
|
|
@@ -10346,17 +10349,17 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10346
10349
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10347
10350
|
])
|
|
10348
10351
|
]),
|
|
10349
|
-
h.deadline ? (p(), m("span",
|
|
10352
|
+
h.deadline ? (p(), m("span", x9, z(l.value), 1)) : O("", !0)
|
|
10350
10353
|
])
|
|
10351
10354
|
]),
|
|
10352
10355
|
footer: Z(() => [
|
|
10353
|
-
f("div",
|
|
10354
|
-
f("div",
|
|
10355
|
-
f("ul",
|
|
10356
|
+
f("div", Y9, [
|
|
10357
|
+
f("div", K9, [
|
|
10358
|
+
f("ul", G9, [
|
|
10356
10359
|
(p(!0), m(fe, null, _e(r.value, (g) => (p(), m(fe, {
|
|
10357
10360
|
key: g.id
|
|
10358
10361
|
}, [
|
|
10359
|
-
g ? (p(), m("li",
|
|
10362
|
+
g ? (p(), m("li", X9, [
|
|
10360
10363
|
T(et, {
|
|
10361
10364
|
"user-name": J(zn)(g),
|
|
10362
10365
|
"avatar-url": g.avatarUrl,
|
|
@@ -10366,31 +10369,31 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10366
10369
|
])) : O("", !0)
|
|
10367
10370
|
], 64))), 128))
|
|
10368
10371
|
]),
|
|
10369
|
-
h.comments || h.attachments ? (p(), m("ul",
|
|
10370
|
-
h.comments ? (p(), m("li",
|
|
10372
|
+
h.comments || h.attachments ? (p(), m("ul", Q9, [
|
|
10373
|
+
h.comments ? (p(), m("li", J9, [
|
|
10371
10374
|
T(pe, {
|
|
10372
10375
|
name: "ChatOutline",
|
|
10373
10376
|
size: "sm"
|
|
10374
10377
|
}),
|
|
10375
|
-
f("span",
|
|
10378
|
+
f("span", e4, z(h.comments), 1)
|
|
10376
10379
|
])) : O("", !0),
|
|
10377
|
-
h.attachments ? (p(), m("li",
|
|
10380
|
+
h.attachments ? (p(), m("li", t4, [
|
|
10378
10381
|
T(pe, {
|
|
10379
10382
|
name: "AttachFileRounded",
|
|
10380
10383
|
size: "sm"
|
|
10381
10384
|
}),
|
|
10382
|
-
f("span",
|
|
10385
|
+
f("span", a4, z(h.attachments), 1)
|
|
10383
10386
|
])) : O("", !0)
|
|
10384
10387
|
])) : O("", !0)
|
|
10385
10388
|
]),
|
|
10386
|
-
f("div",
|
|
10387
|
-
h.tasks && h.tasks.length ? (p(), m("div",
|
|
10388
|
-
f("div",
|
|
10389
|
+
f("div", s4, [
|
|
10390
|
+
h.tasks && h.tasks.length ? (p(), m("div", n4, [
|
|
10391
|
+
f("div", i4, [
|
|
10389
10392
|
T(pe, {
|
|
10390
10393
|
name: "SelectCheckBox",
|
|
10391
10394
|
size: "sm"
|
|
10392
10395
|
}),
|
|
10393
|
-
f("span",
|
|
10396
|
+
f("span", o4, z(v.value) + " / " + z(u.value), 1)
|
|
10394
10397
|
]),
|
|
10395
10398
|
T(Ws, {
|
|
10396
10399
|
percentages: d.value,
|
|
@@ -10411,23 +10414,23 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10411
10414
|
*/
|
|
10412
10415
|
function wt(t) {
|
|
10413
10416
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10414
|
-
/#/.test(t) ? e =
|
|
10415
|
-
const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } =
|
|
10417
|
+
/#/.test(t) ? e = l4(t) : /rgb/.test(t) ? e = An(t) : typeof t == "string" ? e = An(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10418
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } = u4(e);
|
|
10416
10419
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10417
10420
|
}
|
|
10418
10421
|
function qs(t) {
|
|
10419
10422
|
const e = document.createElement("canvas"), a = e.getContext("2d"), s = t * 2;
|
|
10420
10423
|
return e.width = s, e.height = s, a.fillStyle = "#ffffff", a.fillRect(0, 0, s, s), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
10421
10424
|
}
|
|
10422
|
-
function
|
|
10425
|
+
function ws(t, e, a, s, n, o) {
|
|
10423
10426
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
10424
10427
|
r.addColorStop(0.01, n), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, s);
|
|
10425
10428
|
}
|
|
10426
|
-
function
|
|
10429
|
+
function r4({ r: t, g: e, b: a }, s) {
|
|
10427
10430
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
10428
10431
|
return s ? o.toUpperCase() : o;
|
|
10429
10432
|
}
|
|
10430
|
-
function
|
|
10433
|
+
function l4(t) {
|
|
10431
10434
|
t = t.slice(1);
|
|
10432
10435
|
const e = (a) => parseInt(a, 16) || 0;
|
|
10433
10436
|
return {
|
|
@@ -10444,7 +10447,7 @@ function An(t) {
|
|
|
10444
10447
|
a: Number(t[3] ? t[3] : 1)
|
|
10445
10448
|
}) : t;
|
|
10446
10449
|
}
|
|
10447
|
-
function
|
|
10450
|
+
function u4({ r: t, g: e, b: a }) {
|
|
10448
10451
|
t = t / 255, e = e / 255, a = a / 255;
|
|
10449
10452
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
10450
10453
|
let i = 0;
|
|
@@ -10485,7 +10488,7 @@ var zs = Y({
|
|
|
10485
10488
|
methods: {
|
|
10486
10489
|
renderColor() {
|
|
10487
10490
|
const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
|
|
10488
|
-
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e),
|
|
10491
|
+
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), ws("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), ws("p", a, e, e, "rgba(0,0,0,0)", "#000000");
|
|
10489
10492
|
},
|
|
10490
10493
|
renderSlide() {
|
|
10491
10494
|
this.slideSaturationStyle = {
|
|
@@ -10511,8 +10514,8 @@ var zs = Y({
|
|
|
10511
10514
|
}
|
|
10512
10515
|
}
|
|
10513
10516
|
});
|
|
10514
|
-
const
|
|
10515
|
-
function
|
|
10517
|
+
const c4 = { ref: "canvasSaturation" };
|
|
10518
|
+
function d4(t, e, a, s, n, o) {
|
|
10516
10519
|
return p(), P(
|
|
10517
10520
|
"div",
|
|
10518
10521
|
{
|
|
@@ -10522,7 +10525,7 @@ function c4(t, e, a, s, n, o) {
|
|
|
10522
10525
|
[
|
|
10523
10526
|
T(
|
|
10524
10527
|
"canvas",
|
|
10525
|
-
|
|
10528
|
+
c4,
|
|
10526
10529
|
null,
|
|
10527
10530
|
512
|
|
10528
10531
|
/* NEED_PATCH */
|
|
@@ -10542,7 +10545,7 @@ function c4(t, e, a, s, n, o) {
|
|
|
10542
10545
|
/* HYDRATE_EVENTS */
|
|
10543
10546
|
);
|
|
10544
10547
|
}
|
|
10545
|
-
zs.render =
|
|
10548
|
+
zs.render = d4;
|
|
10546
10549
|
zs.__file = "src/color/Saturation.vue";
|
|
10547
10550
|
var xs = Y({
|
|
10548
10551
|
props: {
|
|
@@ -10597,8 +10600,8 @@ var xs = Y({
|
|
|
10597
10600
|
}
|
|
10598
10601
|
}
|
|
10599
10602
|
});
|
|
10600
|
-
const
|
|
10601
|
-
function
|
|
10603
|
+
const p4 = { ref: "canvasHue" };
|
|
10604
|
+
function v4(t, e, a, s, n, o) {
|
|
10602
10605
|
return p(), P(
|
|
10603
10606
|
"div",
|
|
10604
10607
|
{
|
|
@@ -10608,7 +10611,7 @@ function p4(t, e, a, s, n, o) {
|
|
|
10608
10611
|
[
|
|
10609
10612
|
T(
|
|
10610
10613
|
"canvas",
|
|
10611
|
-
|
|
10614
|
+
p4,
|
|
10612
10615
|
null,
|
|
10613
10616
|
512
|
|
10614
10617
|
/* NEED_PATCH */
|
|
@@ -10628,7 +10631,7 @@ function p4(t, e, a, s, n, o) {
|
|
|
10628
10631
|
/* HYDRATE_EVENTS */
|
|
10629
10632
|
);
|
|
10630
10633
|
}
|
|
10631
|
-
xs.render =
|
|
10634
|
+
xs.render = v4;
|
|
10632
10635
|
xs.__file = "src/color/Hue.vue";
|
|
10633
10636
|
var Ys = Y({
|
|
10634
10637
|
props: {
|
|
@@ -10670,7 +10673,7 @@ var Ys = Y({
|
|
|
10670
10673
|
methods: {
|
|
10671
10674
|
renderColor() {
|
|
10672
10675
|
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, s = this.alphaSize, n = qs(s), o = t.getContext("2d");
|
|
10673
|
-
t.width = e, t.height = a, o.fillStyle = o.createPattern(n, "repeat"), o.fillRect(0, 0, e, a),
|
|
10676
|
+
t.width = e, t.height = a, o.fillStyle = o.createPattern(n, "repeat"), o.fillRect(0, 0, e, a), ws("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10674
10677
|
},
|
|
10675
10678
|
renderSlide() {
|
|
10676
10679
|
this.slideAlphaStyle = {
|
|
@@ -10692,8 +10695,8 @@ var Ys = Y({
|
|
|
10692
10695
|
}
|
|
10693
10696
|
}
|
|
10694
10697
|
});
|
|
10695
|
-
const
|
|
10696
|
-
function
|
|
10698
|
+
const f4 = { ref: "canvasAlpha" };
|
|
10699
|
+
function h4(t, e, a, s, n, o) {
|
|
10697
10700
|
return p(), P(
|
|
10698
10701
|
"div",
|
|
10699
10702
|
{
|
|
@@ -10703,7 +10706,7 @@ function f4(t, e, a, s, n, o) {
|
|
|
10703
10706
|
[
|
|
10704
10707
|
T(
|
|
10705
10708
|
"canvas",
|
|
10706
|
-
|
|
10709
|
+
f4,
|
|
10707
10710
|
null,
|
|
10708
10711
|
512
|
|
10709
10712
|
/* NEED_PATCH */
|
|
@@ -10723,7 +10726,7 @@ function f4(t, e, a, s, n, o) {
|
|
|
10723
10726
|
/* HYDRATE_EVENTS */
|
|
10724
10727
|
);
|
|
10725
10728
|
}
|
|
10726
|
-
Ys.render =
|
|
10729
|
+
Ys.render = h4;
|
|
10727
10730
|
Ys.__file = "src/color/Alpha.vue";
|
|
10728
10731
|
var Ks = Y({
|
|
10729
10732
|
props: {
|
|
@@ -10760,10 +10763,10 @@ var Ks = Y({
|
|
|
10760
10763
|
}
|
|
10761
10764
|
}
|
|
10762
10765
|
});
|
|
10763
|
-
function
|
|
10766
|
+
function m4(t, e, a, s, n, o) {
|
|
10764
10767
|
return p(), P("canvas");
|
|
10765
10768
|
}
|
|
10766
|
-
Ks.render =
|
|
10769
|
+
Ks.render = m4;
|
|
10767
10770
|
Ks.__file = "src/color/Preview.vue";
|
|
10768
10771
|
var Gs = Y({
|
|
10769
10772
|
props: {
|
|
@@ -10826,19 +10829,19 @@ var Gs = Y({
|
|
|
10826
10829
|
}
|
|
10827
10830
|
}
|
|
10828
10831
|
});
|
|
10829
|
-
const
|
|
10832
|
+
const C4 = /* @__PURE__ */ T(
|
|
10830
10833
|
"path",
|
|
10831
10834
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10832
10835
|
null,
|
|
10833
10836
|
-1
|
|
10834
10837
|
/* HOISTED */
|
|
10835
|
-
),
|
|
10838
|
+
), g4 = {
|
|
10836
10839
|
key: 1,
|
|
10837
10840
|
class: "sucker",
|
|
10838
10841
|
viewBox: "-16 -16 68 68",
|
|
10839
10842
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10840
10843
|
stroke: "#9099a4"
|
|
10841
|
-
},
|
|
10844
|
+
}, _4 = /* @__PURE__ */ T(
|
|
10842
10845
|
"g",
|
|
10843
10846
|
{
|
|
10844
10847
|
fill: "none",
|
|
@@ -10870,7 +10873,7 @@ const m4 = /* @__PURE__ */ T(
|
|
|
10870
10873
|
-1
|
|
10871
10874
|
/* HOISTED */
|
|
10872
10875
|
);
|
|
10873
|
-
function
|
|
10876
|
+
function y4(t, e, a, s, n, o) {
|
|
10874
10877
|
return p(), P("div", null, [
|
|
10875
10878
|
t.isSucking ? O("v-if", !0) : (p(), P(
|
|
10876
10879
|
"svg",
|
|
@@ -10882,17 +10885,17 @@ function _4(t, e, a, s, n, o) {
|
|
|
10882
10885
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10883
10886
|
},
|
|
10884
10887
|
[
|
|
10885
|
-
|
|
10888
|
+
C4
|
|
10886
10889
|
],
|
|
10887
10890
|
2
|
|
10888
10891
|
/* CLASS */
|
|
10889
10892
|
)),
|
|
10890
|
-
t.isSucking ? (p(), P("svg",
|
|
10891
|
-
|
|
10893
|
+
t.isSucking ? (p(), P("svg", g4, [
|
|
10894
|
+
_4
|
|
10892
10895
|
])) : O("v-if", !0)
|
|
10893
10896
|
]);
|
|
10894
10897
|
}
|
|
10895
|
-
Gs.render =
|
|
10898
|
+
Gs.render = y4;
|
|
10896
10899
|
Gs.__file = "src/color/Sucker.vue";
|
|
10897
10900
|
var Xs = Y({
|
|
10898
10901
|
props: {
|
|
@@ -10925,12 +10928,12 @@ var Xs = Y({
|
|
|
10925
10928
|
};
|
|
10926
10929
|
}
|
|
10927
10930
|
});
|
|
10928
|
-
const
|
|
10929
|
-
function
|
|
10930
|
-
return p(), P("div",
|
|
10931
|
+
const b4 = { class: "color-type" }, w4 = { class: "name" };
|
|
10932
|
+
function $4(t, e, a, s, n, o) {
|
|
10933
|
+
return p(), P("div", b4, [
|
|
10931
10934
|
T(
|
|
10932
10935
|
"span",
|
|
10933
|
-
|
|
10936
|
+
w4,
|
|
10934
10937
|
z(t.name),
|
|
10935
10938
|
1
|
|
10936
10939
|
/* TEXT */
|
|
@@ -10951,7 +10954,7 @@ function w4(t, e, a, s, n, o) {
|
|
|
10951
10954
|
])
|
|
10952
10955
|
]);
|
|
10953
10956
|
}
|
|
10954
|
-
Xs.render =
|
|
10957
|
+
Xs.render = $4;
|
|
10955
10958
|
Xs.__file = "src/color/Box.vue";
|
|
10956
10959
|
var Qs = Y({
|
|
10957
10960
|
name: "ColorPicker",
|
|
@@ -10972,7 +10975,7 @@ var Qs = Y({
|
|
|
10972
10975
|
emits: ["selectColor"],
|
|
10973
10976
|
setup(t, { emit: e }) {
|
|
10974
10977
|
const a = ee(), s = ee([]), n = ee();
|
|
10975
|
-
t.colorsHistoryKey && localStorage && (s.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), n.value = qs(4).toDataURL(),
|
|
10978
|
+
t.colorsHistoryKey && localStorage && (s.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), n.value = qs(4).toDataURL(), $s(() => {
|
|
10976
10979
|
o(a.value);
|
|
10977
10980
|
});
|
|
10978
10981
|
function o(r) {
|
|
@@ -10993,13 +10996,13 @@ var Qs = Y({
|
|
|
10993
10996
|
};
|
|
10994
10997
|
}
|
|
10995
10998
|
});
|
|
10996
|
-
const
|
|
10999
|
+
const k4 = { class: "colors" }, S4 = {
|
|
10997
11000
|
key: 0,
|
|
10998
11001
|
class: "colors history"
|
|
10999
11002
|
};
|
|
11000
|
-
function
|
|
11003
|
+
function A4(t, e, a, s, n, o) {
|
|
11001
11004
|
return p(), P("div", null, [
|
|
11002
|
-
T("ul",
|
|
11005
|
+
T("ul", k4, [
|
|
11003
11006
|
(p(!0), P(
|
|
11004
11007
|
fe,
|
|
11005
11008
|
null,
|
|
@@ -11033,7 +11036,7 @@ function S4(t, e, a, s, n, o) {
|
|
|
11033
11036
|
/* KEYED_FRAGMENT */
|
|
11034
11037
|
))
|
|
11035
11038
|
]),
|
|
11036
|
-
t.colorsHistory.length ? (p(), P("ul",
|
|
11039
|
+
t.colorsHistory.length ? (p(), P("ul", S4, [
|
|
11037
11040
|
(p(!0), P(
|
|
11038
11041
|
fe,
|
|
11039
11042
|
null,
|
|
@@ -11069,7 +11072,7 @@ function S4(t, e, a, s, n, o) {
|
|
|
11069
11072
|
])) : O("v-if", !0)
|
|
11070
11073
|
]);
|
|
11071
11074
|
}
|
|
11072
|
-
Qs.render =
|
|
11075
|
+
Qs.render = A4;
|
|
11073
11076
|
Qs.__file = "src/color/Colors.vue";
|
|
11074
11077
|
var Nt = Y({
|
|
11075
11078
|
components: {
|
|
@@ -11180,7 +11183,7 @@ var Nt = Y({
|
|
|
11180
11183
|
return `rgba(${this.rgbaStringShort})`;
|
|
11181
11184
|
},
|
|
11182
11185
|
hexString() {
|
|
11183
|
-
return
|
|
11186
|
+
return r4(this.rgba, !0);
|
|
11184
11187
|
}
|
|
11185
11188
|
},
|
|
11186
11189
|
created() {
|
|
@@ -11244,8 +11247,8 @@ var Nt = Y({
|
|
|
11244
11247
|
}
|
|
11245
11248
|
}
|
|
11246
11249
|
});
|
|
11247
|
-
const
|
|
11248
|
-
function
|
|
11250
|
+
const M4 = { class: "color-set" };
|
|
11251
|
+
function T4(t, e, a, s, n, o) {
|
|
11249
11252
|
const i = Ke("Saturation"), r = Ke("Hue"), l = Ke("Alpha"), c = Ke("Preview"), u = Ke("Sucker"), v = Ke("Box"), d = Ke("Colors");
|
|
11250
11253
|
return p(), P(
|
|
11251
11254
|
"div",
|
|
@@ -11254,7 +11257,7 @@ function M4(t, e, a, s, n, o) {
|
|
|
11254
11257
|
style: { width: t.totalWidth + "px" }
|
|
11255
11258
|
},
|
|
11256
11259
|
[
|
|
11257
|
-
T("div",
|
|
11260
|
+
T("div", M4, [
|
|
11258
11261
|
T(i, {
|
|
11259
11262
|
ref: "saturation",
|
|
11260
11263
|
color: t.rgbString,
|
|
@@ -11328,12 +11331,12 @@ function M4(t, e, a, s, n, o) {
|
|
|
11328
11331
|
/* CLASS, STYLE */
|
|
11329
11332
|
);
|
|
11330
11333
|
}
|
|
11331
|
-
Nt.render =
|
|
11334
|
+
Nt.render = T4;
|
|
11332
11335
|
Nt.__file = "src/color/ColorPicker.vue";
|
|
11333
11336
|
Nt.install = (t) => {
|
|
11334
11337
|
t.component(Nt.name, Nt);
|
|
11335
11338
|
};
|
|
11336
|
-
const
|
|
11339
|
+
const O4 = {
|
|
11337
11340
|
props: {
|
|
11338
11341
|
color: {
|
|
11339
11342
|
type: String,
|
|
@@ -11357,10 +11360,10 @@ const T4 = {
|
|
|
11357
11360
|
this.$emit("update:color", o);
|
|
11358
11361
|
}
|
|
11359
11362
|
}
|
|
11360
|
-
},
|
|
11361
|
-
function
|
|
11363
|
+
}, E4 = { class: "color-picker-wrapper" };
|
|
11364
|
+
function I4(t, e, a, s, n, o) {
|
|
11362
11365
|
const i = Ke("ColorPicker");
|
|
11363
|
-
return p(), m("div",
|
|
11366
|
+
return p(), m("div", E4, [
|
|
11364
11367
|
f("button", {
|
|
11365
11368
|
style: Fa({ backgroundColor: a.color }),
|
|
11366
11369
|
class: "color-button",
|
|
@@ -11375,10 +11378,10 @@ function E4(t, e, a, s, n, o) {
|
|
|
11375
11378
|
}, null, 8, ["color", "onChangeColor"])) : O("", !0)
|
|
11376
11379
|
]);
|
|
11377
11380
|
}
|
|
11378
|
-
const
|
|
11381
|
+
const L4 = /* @__PURE__ */ j(O4, [["render", I4]]), H4 = { class: "ao-project-milestone" }, D4 = { class: "ao-project-milestone__header" }, P4 = { class: "ao-project-milestone__header_line" }, V4 = { class: "ao-project-milestone__header_line" }, B4 = { class: "ao-project-milestone__title" }, R4 = {
|
|
11379
11382
|
key: 0,
|
|
11380
11383
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11381
|
-
},
|
|
11384
|
+
}, N4 = { class: "ao-field__row ao-milestone__field-row" }, j4 = { class: "ao-field ao-field--inline" }, U4 = { class: "ao-field__row ao-milestone__field-row" }, F4 = { class: "ao-field ao-milestone__field-multiselect" }, Z4 = { class: "ao-project-milestone__body" }, W4 = {
|
|
11382
11385
|
key: 0,
|
|
11383
11386
|
class: "ao-project-milestone__footer"
|
|
11384
11387
|
}, Mn = /* @__PURE__ */ Y({
|
|
@@ -11485,9 +11488,9 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11485
11488
|
});
|
|
11486
11489
|
return (_, C) => {
|
|
11487
11490
|
var D;
|
|
11488
|
-
return p(), m("div",
|
|
11489
|
-
f("header",
|
|
11490
|
-
f("div",
|
|
11491
|
+
return p(), m("div", H4, [
|
|
11492
|
+
f("header", D4, [
|
|
11493
|
+
f("div", P4, [
|
|
11491
11494
|
T(ue, {
|
|
11492
11495
|
"icon-name": "CloseRounded",
|
|
11493
11496
|
variant: "ghost",
|
|
@@ -11496,13 +11499,13 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11496
11499
|
onClick: l
|
|
11497
11500
|
})
|
|
11498
11501
|
]),
|
|
11499
|
-
f("div",
|
|
11500
|
-
f("div",
|
|
11502
|
+
f("div", V4, [
|
|
11503
|
+
f("div", B4, [
|
|
11501
11504
|
T(ye, {
|
|
11502
11505
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11503
11506
|
level: 5
|
|
11504
11507
|
}, null, 8, ["title"]),
|
|
11505
|
-
T(
|
|
11508
|
+
T(bs, {
|
|
11506
11509
|
modelValue: S.value,
|
|
11507
11510
|
"onUpdate:modelValue": C[0] || (C[0] = (I) => S.value = I),
|
|
11508
11511
|
modelModifiers: { lazy: !0 },
|
|
@@ -11516,9 +11519,9 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11516
11519
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11517
11520
|
])
|
|
11518
11521
|
]),
|
|
11519
|
-
i.value ? (p(), m("div",
|
|
11520
|
-
f("div",
|
|
11521
|
-
f("label",
|
|
11522
|
+
i.value ? (p(), m("div", R4, [
|
|
11523
|
+
f("div", N4, [
|
|
11524
|
+
f("label", j4, [
|
|
11522
11525
|
Re(f("input", {
|
|
11523
11526
|
"onUpdate:modelValue": C[1] || (C[1] = (I) => h.value = I),
|
|
11524
11527
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11533,8 +11536,8 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11533
11536
|
])
|
|
11534
11537
|
])
|
|
11535
11538
|
]),
|
|
11536
|
-
f("div",
|
|
11537
|
-
f("label",
|
|
11539
|
+
f("div", U4, [
|
|
11540
|
+
f("label", F4, [
|
|
11538
11541
|
T(ke, {
|
|
11539
11542
|
modelValue: b.value,
|
|
11540
11543
|
"onUpdate:modelValue": C[2] || (C[2] = (I) => b.value = I),
|
|
@@ -11563,13 +11566,13 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11563
11566
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11564
11567
|
])
|
|
11565
11568
|
]),
|
|
11566
|
-
T(
|
|
11569
|
+
T(L4, {
|
|
11567
11570
|
color: d.value,
|
|
11568
11571
|
"onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
|
|
11569
11572
|
}, null, 8, ["color"])
|
|
11570
11573
|
])) : O("", !0)
|
|
11571
11574
|
]),
|
|
11572
|
-
f("div",
|
|
11575
|
+
f("div", Z4, [
|
|
11573
11576
|
T(J(mt), He({
|
|
11574
11577
|
class: "ao-project-milestone__activities",
|
|
11575
11578
|
list: r.value,
|
|
@@ -11603,7 +11606,7 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11603
11606
|
}),
|
|
11604
11607
|
onUpdateActivity: u,
|
|
11605
11608
|
onRemoveAssignee: () => u({ id: I.id, assigneeId: null })
|
|
11606
|
-
},
|
|
11609
|
+
}, ks({ _: 2 }, [
|
|
11607
11610
|
_.isEditable ? {
|
|
11608
11611
|
name: "secondary",
|
|
11609
11612
|
fn: Z(() => [
|
|
@@ -11640,7 +11643,7 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11640
11643
|
}),
|
|
11641
11644
|
_: 1
|
|
11642
11645
|
}, 16, ["list", "disabled"]),
|
|
11643
|
-
_.isEditable ? (p(), m("div",
|
|
11646
|
+
_.isEditable ? (p(), m("div", W4, [
|
|
11644
11647
|
T(Ct, {
|
|
11645
11648
|
"icon-name": "Add",
|
|
11646
11649
|
label: _.$t("project.activity.add"),
|
|
@@ -11652,7 +11655,7 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11652
11655
|
};
|
|
11653
11656
|
}
|
|
11654
11657
|
});
|
|
11655
|
-
const
|
|
11658
|
+
const q4 = /* @__PURE__ */ Y({
|
|
11656
11659
|
__name: "AoProjectOverviewActivityDetails",
|
|
11657
11660
|
props: {
|
|
11658
11661
|
phaseId: {},
|
|
@@ -11739,20 +11742,20 @@ const W4 = /* @__PURE__ */ Y({
|
|
|
11739
11742
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
11740
11743
|
};
|
|
11741
11744
|
}
|
|
11742
|
-
}),
|
|
11745
|
+
}), z4 = { class: "ao-col-header" }, x4 = /* @__PURE__ */ Y({
|
|
11743
11746
|
__name: "AoColHeader",
|
|
11744
11747
|
props: {
|
|
11745
11748
|
title: {},
|
|
11746
11749
|
items: {}
|
|
11747
11750
|
},
|
|
11748
11751
|
setup(t) {
|
|
11749
|
-
return (e, a) => (p(), m("header",
|
|
11752
|
+
return (e, a) => (p(), m("header", z4, [
|
|
11750
11753
|
T(ye, {
|
|
11751
11754
|
title: e.title,
|
|
11752
11755
|
class: "ao-col-header__title",
|
|
11753
11756
|
level: 4
|
|
11754
11757
|
}, null, 8, ["title"]),
|
|
11755
|
-
e.items ? (p(), P(
|
|
11758
|
+
e.items ? (p(), P(Wa, {
|
|
11756
11759
|
key: 0,
|
|
11757
11760
|
label: e.items,
|
|
11758
11761
|
class: "ao-col-header__items",
|
|
@@ -11762,17 +11765,17 @@ const W4 = /* @__PURE__ */ Y({
|
|
|
11762
11765
|
]));
|
|
11763
11766
|
}
|
|
11764
11767
|
});
|
|
11765
|
-
function
|
|
11768
|
+
function Y4(t) {
|
|
11766
11769
|
return Vi() ? (Bi(t), !0) : !1;
|
|
11767
11770
|
}
|
|
11768
11771
|
function ja(t) {
|
|
11769
11772
|
return typeof t == "function" ? t() : J(t);
|
|
11770
11773
|
}
|
|
11771
|
-
const
|
|
11774
|
+
const K4 = typeof window < "u" && typeof document < "u";
|
|
11772
11775
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11773
|
-
const
|
|
11776
|
+
const G4 = (t) => t != null, oa = () => {
|
|
11774
11777
|
};
|
|
11775
|
-
function
|
|
11778
|
+
function X4(t, e) {
|
|
11776
11779
|
function a(...s) {
|
|
11777
11780
|
return new Promise((n, o) => {
|
|
11778
11781
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -11780,7 +11783,7 @@ function G4(t, e) {
|
|
|
11780
11783
|
}
|
|
11781
11784
|
return a;
|
|
11782
11785
|
}
|
|
11783
|
-
function
|
|
11786
|
+
function Q4(t, e = {}) {
|
|
11784
11787
|
let a, s, n = oa;
|
|
11785
11788
|
const o = (r) => {
|
|
11786
11789
|
clearTimeout(r), n(), n = oa;
|
|
@@ -11796,49 +11799,49 @@ function X4(t, e = {}) {
|
|
|
11796
11799
|
});
|
|
11797
11800
|
};
|
|
11798
11801
|
}
|
|
11799
|
-
function
|
|
11800
|
-
return
|
|
11801
|
-
|
|
11802
|
+
function J4(t, e = 200, a = {}) {
|
|
11803
|
+
return X4(
|
|
11804
|
+
Q4(e, a),
|
|
11802
11805
|
t
|
|
11803
11806
|
);
|
|
11804
11807
|
}
|
|
11805
|
-
function
|
|
11808
|
+
function hs(t) {
|
|
11806
11809
|
var e;
|
|
11807
11810
|
const a = ja(t);
|
|
11808
11811
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11809
11812
|
}
|
|
11810
|
-
const
|
|
11811
|
-
function
|
|
11813
|
+
const e8 = K4 ? window : void 0;
|
|
11814
|
+
function t8() {
|
|
11812
11815
|
const t = ee(!1), e = Tt();
|
|
11813
11816
|
return e && Mt(() => {
|
|
11814
11817
|
t.value = !0;
|
|
11815
11818
|
}, e), t;
|
|
11816
11819
|
}
|
|
11817
|
-
function
|
|
11818
|
-
const e =
|
|
11820
|
+
function a8(t) {
|
|
11821
|
+
const e = t8();
|
|
11819
11822
|
return M(() => (e.value, !!t()));
|
|
11820
11823
|
}
|
|
11821
|
-
function
|
|
11824
|
+
function s8(t, e, a = {}) {
|
|
11822
11825
|
const {
|
|
11823
11826
|
root: s,
|
|
11824
11827
|
rootMargin: n = "0px",
|
|
11825
11828
|
threshold: o = 0.1,
|
|
11826
|
-
window: i =
|
|
11829
|
+
window: i = e8,
|
|
11827
11830
|
immediate: r = !0
|
|
11828
|
-
} = a, l =
|
|
11831
|
+
} = a, l = a8(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
11829
11832
|
const w = ja(t);
|
|
11830
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
11833
|
+
return (Array.isArray(w) ? w : [w]).map(hs).filter(G4);
|
|
11831
11834
|
});
|
|
11832
11835
|
let u = oa;
|
|
11833
11836
|
const v = ee(r), d = l.value ? de(
|
|
11834
|
-
() => [c.value,
|
|
11837
|
+
() => [c.value, hs(s), v.value],
|
|
11835
11838
|
([w, g]) => {
|
|
11836
11839
|
if (u(), !v.value || !w.length)
|
|
11837
11840
|
return;
|
|
11838
11841
|
const b = new IntersectionObserver(
|
|
11839
11842
|
e,
|
|
11840
11843
|
{
|
|
11841
|
-
root:
|
|
11844
|
+
root: hs(g),
|
|
11842
11845
|
rootMargin: n,
|
|
11843
11846
|
threshold: o
|
|
11844
11847
|
}
|
|
@@ -11851,7 +11854,7 @@ function a8(t, e, a = {}) {
|
|
|
11851
11854
|
) : oa, h = () => {
|
|
11852
11855
|
u(), d(), v.value = !1;
|
|
11853
11856
|
};
|
|
11854
|
-
return
|
|
11857
|
+
return Y4(h), {
|
|
11855
11858
|
isSupported: l,
|
|
11856
11859
|
isActive: v,
|
|
11857
11860
|
pause() {
|
|
@@ -11863,24 +11866,24 @@ function a8(t, e, a = {}) {
|
|
|
11863
11866
|
stop: h
|
|
11864
11867
|
};
|
|
11865
11868
|
}
|
|
11866
|
-
const
|
|
11869
|
+
const n8 = {
|
|
11867
11870
|
class: /* @__PURE__ */ Q(["ao-list-kanban"])
|
|
11868
|
-
},
|
|
11871
|
+
}, i8 = { class: "ao-list-kanban__header" }, o8 = {
|
|
11869
11872
|
key: 0,
|
|
11870
11873
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11871
|
-
},
|
|
11874
|
+
}, r8 = {
|
|
11872
11875
|
key: 1,
|
|
11873
11876
|
class: "ao-list-kanban__end"
|
|
11874
|
-
},
|
|
11877
|
+
}, l8 = {
|
|
11875
11878
|
key: 0,
|
|
11876
11879
|
class: "ao-list-kanban__no-more"
|
|
11877
|
-
},
|
|
11880
|
+
}, u8 = {
|
|
11878
11881
|
key: 1,
|
|
11879
11882
|
class: "ao-list-kanban__divider"
|
|
11880
|
-
},
|
|
11883
|
+
}, c8 = {
|
|
11881
11884
|
key: 1,
|
|
11882
11885
|
class: "ao-list-kanban__footer"
|
|
11883
|
-
},
|
|
11886
|
+
}, d8 = /* @__PURE__ */ Y({
|
|
11884
11887
|
__name: "AoListKanban",
|
|
11885
11888
|
props: {
|
|
11886
11889
|
list: {},
|
|
@@ -11898,7 +11901,7 @@ const s8 = {
|
|
|
11898
11901
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11899
11902
|
setup(t, { emit: e }) {
|
|
11900
11903
|
const a = t, s = ee(!1), n = ee(null);
|
|
11901
|
-
|
|
11904
|
+
s8(n, ([{ isIntersecting: u }]) => {
|
|
11902
11905
|
s.value = u;
|
|
11903
11906
|
}), de(s, (u) => {
|
|
11904
11907
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11923,12 +11926,12 @@ const s8 = {
|
|
|
11923
11926
|
)
|
|
11924
11927
|
});
|
|
11925
11928
|
}, c = ee(!1);
|
|
11926
|
-
return (u, v) => (p(), m("div",
|
|
11929
|
+
return (u, v) => (p(), m("div", n8, [
|
|
11927
11930
|
u.title || u.$slots.header ? ae(u.$slots, "header", { key: 0 }, () => {
|
|
11928
11931
|
var d;
|
|
11929
11932
|
return [
|
|
11930
|
-
f("div",
|
|
11931
|
-
u.title ? (p(), P(
|
|
11933
|
+
f("div", i8, [
|
|
11934
|
+
u.title ? (p(), P(x4, {
|
|
11932
11935
|
key: 0,
|
|
11933
11936
|
title: u.title,
|
|
11934
11937
|
level: 3,
|
|
@@ -12014,20 +12017,20 @@ const s8 = {
|
|
|
12014
12017
|
];
|
|
12015
12018
|
}),
|
|
12016
12019
|
footer: Z(() => [
|
|
12017
|
-
u.isLoading ? (p(), m("div",
|
|
12020
|
+
u.isLoading ? (p(), m("div", o8, [
|
|
12018
12021
|
T(pe, { name: "Loading" })
|
|
12019
12022
|
])) : u.hasMore ? (p(), m("div", {
|
|
12020
12023
|
key: 2,
|
|
12021
12024
|
ref_key: "scrollEnd",
|
|
12022
12025
|
ref: n,
|
|
12023
12026
|
class: "ao-list-kanban__end"
|
|
12024
|
-
}, null, 512)) : (p(), m("div",
|
|
12025
|
-
u.noMoreLabel ? (p(), m("span",
|
|
12027
|
+
}, null, 512)) : (p(), m("div", r8, [
|
|
12028
|
+
u.noMoreLabel ? (p(), m("span", l8, z(u.noMoreLabel), 1)) : u.isEditable ? (p(), m("span", u8)) : O("", !0)
|
|
12026
12029
|
]))
|
|
12027
12030
|
]),
|
|
12028
12031
|
_: 1
|
|
12029
12032
|
}, 16, ["class", "list", "disabled"]),
|
|
12030
|
-
u.$slots.footer || u.footerLabel ? (p(), m("div",
|
|
12033
|
+
u.$slots.footer || u.footerLabel ? (p(), m("div", c8, [
|
|
12031
12034
|
ae(u.$slots, "footer", {}, () => [
|
|
12032
12035
|
u.isEditable ? (p(), P(Ct, {
|
|
12033
12036
|
key: 0,
|
|
@@ -12040,7 +12043,7 @@ const s8 = {
|
|
|
12040
12043
|
]));
|
|
12041
12044
|
}
|
|
12042
12045
|
});
|
|
12043
|
-
const
|
|
12046
|
+
const p8 = { class: "ao-field ao-search-field" }, v8 = ["value", "placeholder", "onKeypress"], f8 = /* @__PURE__ */ Y({
|
|
12044
12047
|
__name: "AoSearchField",
|
|
12045
12048
|
props: {
|
|
12046
12049
|
modelValue: {},
|
|
@@ -12052,10 +12055,10 @@ const d8 = { class: "ao-field ao-search-field" }, p8 = ["value", "placeholder",
|
|
|
12052
12055
|
const a = t, s = async (i) => {
|
|
12053
12056
|
const l = i.target.value;
|
|
12054
12057
|
e("update:modelValue", l, i);
|
|
12055
|
-
}, n =
|
|
12058
|
+
}, n = J4(s, a.delay), o = (i) => {
|
|
12056
12059
|
e("clear", i);
|
|
12057
12060
|
};
|
|
12058
|
-
return (i, r) => (p(), m("div",
|
|
12061
|
+
return (i, r) => (p(), m("div", p8, [
|
|
12059
12062
|
f("input", {
|
|
12060
12063
|
value: i.modelValue,
|
|
12061
12064
|
type: "text",
|
|
@@ -12064,7 +12067,7 @@ const d8 = { class: "ao-field ao-search-field" }, p8 = ["value", "placeholder",
|
|
|
12064
12067
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
12065
12068
|
(...l) => J(n) && J(n)(...l)),
|
|
12066
12069
|
onKeypress: dt(s, ["enter"])
|
|
12067
|
-
}, null, 40,
|
|
12070
|
+
}, null, 40, v8),
|
|
12068
12071
|
T(pe, {
|
|
12069
12072
|
name: "SearchRounded",
|
|
12070
12073
|
class: Q(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12080,7 +12083,7 @@ const d8 = { class: "ao-field ao-search-field" }, p8 = ["value", "placeholder",
|
|
|
12080
12083
|
]));
|
|
12081
12084
|
}
|
|
12082
12085
|
});
|
|
12083
|
-
const
|
|
12086
|
+
const h8 = { class: "ao-feed" }, m8 = { class: "ao-feed__filters" }, C8 = { class: "ao-feed__body" }, g8 = /* @__PURE__ */ Y({
|
|
12084
12087
|
__name: "AoFeed",
|
|
12085
12088
|
props: {
|
|
12086
12089
|
activities: {},
|
|
@@ -12191,10 +12194,10 @@ const f8 = { class: "ao-feed" }, h8 = { class: "ao-feed__filters" }, m8 = { clas
|
|
|
12191
12194
|
};
|
|
12192
12195
|
return (A, $) => {
|
|
12193
12196
|
var U;
|
|
12194
|
-
return p(), m("div",
|
|
12195
|
-
T(
|
|
12197
|
+
return p(), m("div", h8, [
|
|
12198
|
+
T(Ka, null, {
|
|
12196
12199
|
primary: Z(() => [
|
|
12197
|
-
f("div",
|
|
12200
|
+
f("div", m8, [
|
|
12198
12201
|
a.project ? (p(), P(ci, {
|
|
12199
12202
|
key: 0,
|
|
12200
12203
|
"is-left": !1,
|
|
@@ -12204,7 +12207,7 @@ const f8 = { class: "ao-feed" }, h8 = { class: "ao-feed__filters" }, m8 = { clas
|
|
|
12204
12207
|
V && A.$router.push({ name: J(Fe).project });
|
|
12205
12208
|
})
|
|
12206
12209
|
}, null, 8, ["right-label", "left-label"])) : O("", !0),
|
|
12207
|
-
T(
|
|
12210
|
+
T(f8, {
|
|
12208
12211
|
"model-value": A.searchText,
|
|
12209
12212
|
placeholder: A.$t("feed.search.placeholder"),
|
|
12210
12213
|
class: "ao-feed__search",
|
|
@@ -12297,8 +12300,8 @@ const f8 = { class: "ao-feed" }, h8 = { class: "ao-feed__filters" }, m8 = { clas
|
|
|
12297
12300
|
]),
|
|
12298
12301
|
_: 1
|
|
12299
12302
|
}),
|
|
12300
|
-
f("div",
|
|
12301
|
-
(p(!0), m(fe, null, _e(A.statuses, (V) => (p(), P(
|
|
12303
|
+
f("div", C8, [
|
|
12304
|
+
(p(!0), m(fe, null, _e(A.statuses, (V) => (p(), P(d8, {
|
|
12302
12305
|
key: V.id,
|
|
12303
12306
|
status: V,
|
|
12304
12307
|
list: r.value[V.id],
|
|
@@ -12356,7 +12359,7 @@ const Pt = {
|
|
|
12356
12359
|
TEMPLATES: "templates",
|
|
12357
12360
|
TEMPLATE_DETAILS: "template_details",
|
|
12358
12361
|
TEMPLATES_LIST: "templates_list"
|
|
12359
|
-
},
|
|
12362
|
+
}, P8 = (t, e = {}) => [
|
|
12360
12363
|
{
|
|
12361
12364
|
path: t,
|
|
12362
12365
|
name: Pt.TEMPLATES,
|
|
@@ -12366,12 +12369,12 @@ const Pt = {
|
|
|
12366
12369
|
{
|
|
12367
12370
|
path: "",
|
|
12368
12371
|
name: Pt.TEMPLATES_LIST,
|
|
12369
|
-
component:
|
|
12372
|
+
component: y8
|
|
12370
12373
|
},
|
|
12371
12374
|
{
|
|
12372
12375
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12373
12376
|
name: Pt.TEMPLATE_DETAILS,
|
|
12374
|
-
component:
|
|
12377
|
+
component: Of,
|
|
12375
12378
|
props: !0
|
|
12376
12379
|
}
|
|
12377
12380
|
]
|
|
@@ -12381,7 +12384,7 @@ const Pt = {
|
|
|
12381
12384
|
feed: "AoProjectFeed",
|
|
12382
12385
|
milestone: "AoMilestone",
|
|
12383
12386
|
activity: "AoActivity"
|
|
12384
|
-
},
|
|
12387
|
+
}, V8 = (t, e = {}) => [
|
|
12385
12388
|
{
|
|
12386
12389
|
path: t,
|
|
12387
12390
|
...e,
|
|
@@ -12390,7 +12393,7 @@ const Pt = {
|
|
|
12390
12393
|
{
|
|
12391
12394
|
path: "",
|
|
12392
12395
|
name: Fe.project,
|
|
12393
|
-
component:
|
|
12396
|
+
component: R9,
|
|
12394
12397
|
props: !0,
|
|
12395
12398
|
children: [
|
|
12396
12399
|
{
|
|
@@ -12405,7 +12408,7 @@ const Pt = {
|
|
|
12405
12408
|
props: { default: !0, modal: !0 },
|
|
12406
12409
|
components: {
|
|
12407
12410
|
default: Mn,
|
|
12408
|
-
modal:
|
|
12411
|
+
modal: q4
|
|
12409
12412
|
}
|
|
12410
12413
|
}
|
|
12411
12414
|
]
|
|
@@ -12413,12 +12416,12 @@ const Pt = {
|
|
|
12413
12416
|
{
|
|
12414
12417
|
path: "feed",
|
|
12415
12418
|
name: Fe.feed,
|
|
12416
|
-
component:
|
|
12419
|
+
component: g8,
|
|
12417
12420
|
props: !0
|
|
12418
12421
|
}
|
|
12419
12422
|
]
|
|
12420
12423
|
}
|
|
12421
|
-
],
|
|
12424
|
+
], _8 = { class: "ao-templates" }, y8 = /* @__PURE__ */ Y({
|
|
12422
12425
|
__name: "AoTemplatesList",
|
|
12423
12426
|
props: {
|
|
12424
12427
|
templates: {}
|
|
@@ -12458,8 +12461,8 @@ const Pt = {
|
|
|
12458
12461
|
});
|
|
12459
12462
|
}
|
|
12460
12463
|
};
|
|
12461
|
-
return (r, l) => (p(), m("div",
|
|
12462
|
-
T(
|
|
12464
|
+
return (r, l) => (p(), m("div", _8, [
|
|
12465
|
+
T(Ka, null, {
|
|
12463
12466
|
secondary: Z(() => [
|
|
12464
12467
|
T(ue, {
|
|
12465
12468
|
label: r.$t("templates.new"),
|
|
@@ -12481,7 +12484,7 @@ const Pt = {
|
|
|
12481
12484
|
item: Z(({ element: c }) => {
|
|
12482
12485
|
var u;
|
|
12483
12486
|
return [
|
|
12484
|
-
T(
|
|
12487
|
+
T(e5, {
|
|
12485
12488
|
id: c.id,
|
|
12486
12489
|
title: c.name,
|
|
12487
12490
|
phases: c.phases,
|
|
@@ -12502,7 +12505,7 @@ const Pt = {
|
|
|
12502
12505
|
]));
|
|
12503
12506
|
}
|
|
12504
12507
|
});
|
|
12505
|
-
const
|
|
12508
|
+
const b8 = { class: "ao-field__label" }, w8 = /* @__PURE__ */ Y({
|
|
12506
12509
|
__name: "AoField",
|
|
12507
12510
|
props: {
|
|
12508
12511
|
label: {},
|
|
@@ -12512,11 +12515,11 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12512
12515
|
return (e, a) => (p(), m("label", {
|
|
12513
12516
|
class: Q(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12514
12517
|
}, [
|
|
12515
|
-
f("span",
|
|
12518
|
+
f("span", b8, z(e.label), 1),
|
|
12516
12519
|
ae(e.$slots, "default")
|
|
12517
12520
|
], 2));
|
|
12518
12521
|
}
|
|
12519
|
-
}),
|
|
12522
|
+
}), $8 = ["type", "value", "disabled", "readonly"], B8 = /* @__PURE__ */ Y({
|
|
12520
12523
|
__name: "AoInputField",
|
|
12521
12524
|
props: {
|
|
12522
12525
|
label: { default: "" },
|
|
@@ -12533,7 +12536,7 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12533
12536
|
), n = (o) => {
|
|
12534
12537
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12535
12538
|
};
|
|
12536
|
-
return (o, i) => (p(), P(
|
|
12539
|
+
return (o, i) => (p(), P(w8, { label: o.label }, {
|
|
12537
12540
|
default: Z(() => [
|
|
12538
12541
|
f("input", He({
|
|
12539
12542
|
class: "ao-field__input",
|
|
@@ -12543,12 +12546,12 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12543
12546
|
readonly: o.isReadonly
|
|
12544
12547
|
}, {
|
|
12545
12548
|
[Ri(s.value)]: i[0] || (i[0] = (r) => n(r.target.value))
|
|
12546
|
-
}), null, 16,
|
|
12549
|
+
}), null, 16, $8)
|
|
12547
12550
|
]),
|
|
12548
12551
|
_: 1
|
|
12549
12552
|
}, 8, ["label"]));
|
|
12550
12553
|
}
|
|
12551
|
-
}),
|
|
12554
|
+
}), k8 = { class: "ao-field" }, S8 = { class: "ao-field__label" }, A8 = ["checked", "disabled"], R8 = /* @__PURE__ */ Y({
|
|
12552
12555
|
__name: "AoCheckboxField",
|
|
12553
12556
|
props: {
|
|
12554
12557
|
label: { default: "" },
|
|
@@ -12558,8 +12561,8 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12558
12561
|
},
|
|
12559
12562
|
emits: ["update:modelValue"],
|
|
12560
12563
|
setup(t) {
|
|
12561
|
-
return (e, a) => (p(), m("label",
|
|
12562
|
-
f("span",
|
|
12564
|
+
return (e, a) => (p(), m("label", k8, [
|
|
12565
|
+
f("span", S8, z(e.label), 1),
|
|
12563
12566
|
f("input", {
|
|
12564
12567
|
class: "ao-field__input",
|
|
12565
12568
|
type: "checkbox",
|
|
@@ -12572,30 +12575,30 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12572
12575
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12573
12576
|
);
|
|
12574
12577
|
})
|
|
12575
|
-
}, null, 40,
|
|
12578
|
+
}, null, 40, A8)
|
|
12576
12579
|
]));
|
|
12577
12580
|
}
|
|
12578
12581
|
});
|
|
12579
12582
|
export {
|
|
12580
12583
|
et as AoAvatar,
|
|
12581
12584
|
di as AoCardFeed,
|
|
12582
|
-
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
|
|
12585
|
+
R8 as AoCheckboxField,
|
|
12586
|
+
g8 as AoFeed,
|
|
12587
|
+
w8 as AoField,
|
|
12588
|
+
B8 as AoInputField,
|
|
12586
12589
|
ke as AoMultiselect,
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12590
|
+
m9 as AoProjectPhases,
|
|
12591
|
+
Of as AoTemplateDetails,
|
|
12592
|
+
I8 as AoTemplates,
|
|
12593
|
+
y8 as AoTemplatesList,
|
|
12591
12594
|
F2 as TemplateItemTypeEnum,
|
|
12592
|
-
|
|
12593
|
-
|
|
12595
|
+
H8 as activityFeedStatus,
|
|
12596
|
+
L8 as durationTypes,
|
|
12594
12597
|
Ht as feedFilterTypes,
|
|
12595
|
-
|
|
12596
|
-
|
|
12597
|
-
|
|
12598
|
-
|
|
12598
|
+
V8 as getProjectOverviewRoutes,
|
|
12599
|
+
P8 as getTemplateRoutes,
|
|
12600
|
+
D8 as listUpdateTypes,
|
|
12601
|
+
ms as milestoneStatus,
|
|
12599
12602
|
Fe as projectOverviewRoutes,
|
|
12600
12603
|
N2 as ruleComparators,
|
|
12601
12604
|
U2 as ruleDurationUnits,
|