@26lights/orcha 0.38.33 → 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 +766 -769
- package/dist/orcha.umd.js +2 -2
- 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",
|
|
@@ -3802,55 +3802,52 @@ const D3 = { class: "ao-card-template__subitems" }, P3 = { class: "ao-card-templ
|
|
|
3802
3802
|
}, null, 8, ["label"]))), 128))
|
|
3803
3803
|
])) : O("", !0)
|
|
3804
3804
|
])
|
|
3805
|
-
])
|
|
3806
|
-
T(ue, {
|
|
3807
|
-
"icon-name": "DeleteOutlineRounded",
|
|
3808
|
-
variant: "ghost",
|
|
3809
|
-
size: "md",
|
|
3810
|
-
corners: "round"
|
|
3811
|
-
})
|
|
3805
|
+
])
|
|
3812
3806
|
]),
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
s.updatedAt ? (p(), m("div", q3, [
|
|
3820
|
-
f("div", z3, [
|
|
3821
|
-
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)
|
|
3822
3813
|
]),
|
|
3823
|
-
f("div",
|
|
3814
|
+
f("div", K3, [
|
|
3824
3815
|
f("span", null, z(s.updatedAt), 1)
|
|
3825
3816
|
])
|
|
3826
3817
|
])) : O("", !0),
|
|
3827
|
-
s.updatedBy ? (p(), m("div",
|
|
3828
|
-
f("div",
|
|
3829
|
-
f("span",
|
|
3818
|
+
s.updatedBy ? (p(), m("div", G3, [
|
|
3819
|
+
f("div", X3, [
|
|
3820
|
+
f("span", Q3, z(s.$t("template.updatedBy.label")), 1)
|
|
3830
3821
|
]),
|
|
3831
|
-
f("div",
|
|
3822
|
+
f("div", J3, [
|
|
3832
3823
|
T(et, { "user-name": s.updatedBy }, null, 8, ["user-name"])
|
|
3833
3824
|
])
|
|
3834
3825
|
])) : O("", !0)
|
|
3835
|
-
])
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
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"]));
|
|
3840
3837
|
}
|
|
3841
3838
|
});
|
|
3842
|
-
const
|
|
3839
|
+
const t5 = { class: "ao-page-header" }, a5 = { class: "ao-page-header-main" }, s5 = {
|
|
3843
3840
|
key: 0,
|
|
3844
3841
|
class: "ao-page-header-secondary"
|
|
3845
|
-
},
|
|
3842
|
+
}, Ka = /* @__PURE__ */ Y({
|
|
3846
3843
|
__name: "AoPageHeader",
|
|
3847
3844
|
props: {
|
|
3848
3845
|
canGoBack: { type: Boolean }
|
|
3849
3846
|
},
|
|
3850
3847
|
emits: ["goBack"],
|
|
3851
3848
|
setup(t) {
|
|
3852
|
-
return (e, a) => (p(), m("header",
|
|
3853
|
-
f("div",
|
|
3849
|
+
return (e, a) => (p(), m("header", t5, [
|
|
3850
|
+
f("div", a5, [
|
|
3854
3851
|
e.canGoBack ? (p(), P(ue, {
|
|
3855
3852
|
key: 0,
|
|
3856
3853
|
"icon-name": "ArrowBackRounded",
|
|
@@ -3859,13 +3856,13 @@ const e5 = { class: "ao-page-header" }, t5 = { class: "ao-page-header-main" }, a
|
|
|
3859
3856
|
})) : O("", !0),
|
|
3860
3857
|
ae(e.$slots, "primary")
|
|
3861
3858
|
]),
|
|
3862
|
-
e.$slots.secondary ? (p(), m("div",
|
|
3859
|
+
e.$slots.secondary ? (p(), m("div", s5, [
|
|
3863
3860
|
ae(e.$slots, "secondary")
|
|
3864
3861
|
])) : O("", !0)
|
|
3865
3862
|
]));
|
|
3866
3863
|
}
|
|
3867
3864
|
});
|
|
3868
|
-
const
|
|
3865
|
+
const n5 = ["type"], i5 = {
|
|
3869
3866
|
key: 0,
|
|
3870
3867
|
class: "ao-button-card__label"
|
|
3871
3868
|
}, Ct = /* @__PURE__ */ Y({
|
|
@@ -3876,7 +3873,7 @@ const s5 = ["type"], n5 = {
|
|
|
3876
3873
|
iconPosition: {},
|
|
3877
3874
|
type: { default: () => "button" },
|
|
3878
3875
|
color: { default: () => As.BLACK },
|
|
3879
|
-
size: { default: () =>
|
|
3876
|
+
size: { default: () => Za.MD },
|
|
3880
3877
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3881
3878
|
corners: { default: () => On.ROUNDED }
|
|
3882
3879
|
},
|
|
@@ -3892,7 +3889,7 @@ const s5 = ["type"], n5 = {
|
|
|
3892
3889
|
])
|
|
3893
3890
|
}, [
|
|
3894
3891
|
ae(n.$slots, "default", {}, () => [
|
|
3895
|
-
n.label ? (p(), m("span",
|
|
3892
|
+
n.label ? (p(), m("span", i5, z(n.label), 1)) : O("", !0)
|
|
3896
3893
|
]),
|
|
3897
3894
|
s.value ? (p(), P(pe, {
|
|
3898
3895
|
key: 0,
|
|
@@ -3900,13 +3897,13 @@ const s5 = ["type"], n5 = {
|
|
|
3900
3897
|
class: "ao-button-card__icon",
|
|
3901
3898
|
size: a.value
|
|
3902
3899
|
}, null, 8, ["name", "size"])) : O("", !0)
|
|
3903
|
-
], 10,
|
|
3900
|
+
], 10, n5));
|
|
3904
3901
|
}
|
|
3905
3902
|
});
|
|
3906
|
-
const
|
|
3903
|
+
const o5 = { class: "ao-card-template-item__footer" }, r5 = {
|
|
3907
3904
|
key: 0,
|
|
3908
3905
|
class: "ao-card-template-item__subitem"
|
|
3909
|
-
},
|
|
3906
|
+
}, l5 = { class: "ao-card-template-item__subitem-number" }, u5 = { class: "ao-card-template-item__secondary" }, Es = /* @__PURE__ */ Y({
|
|
3910
3907
|
__name: "AoCardTemplateItem",
|
|
3911
3908
|
props: {
|
|
3912
3909
|
milestones: {},
|
|
@@ -3928,20 +3925,20 @@ const i5 = { class: "ao-card-template-item__footer" }, o5 = {
|
|
|
3928
3925
|
};
|
|
3929
3926
|
return (i, r) => (p(), P(In, { "onUpdate:title": a }, {
|
|
3930
3927
|
footer: Z(() => [
|
|
3931
|
-
f("ul",
|
|
3928
|
+
f("ul", o5, [
|
|
3932
3929
|
(p(), m(fe, null, _e(s, (l) => (p(), m(fe, { key: l }, [
|
|
3933
|
-
i.$props[l] ? (p(), m("li",
|
|
3930
|
+
i.$props[l] ? (p(), m("li", r5, [
|
|
3934
3931
|
T(pe, {
|
|
3935
3932
|
name: n[l],
|
|
3936
3933
|
size: "sm"
|
|
3937
3934
|
}, null, 8, ["name"]),
|
|
3938
|
-
f("span",
|
|
3935
|
+
f("span", l5, z(i.$props[l]), 1)
|
|
3939
3936
|
])) : O("", !0)
|
|
3940
3937
|
], 64))), 64))
|
|
3941
3938
|
])
|
|
3942
3939
|
]),
|
|
3943
3940
|
secondary: Z(() => [
|
|
3944
|
-
f("div",
|
|
3941
|
+
f("div", u5, [
|
|
3945
3942
|
T(ue, {
|
|
3946
3943
|
"icon-name": "DeleteOutlineRounded",
|
|
3947
3944
|
variant: "ghost",
|
|
@@ -3955,7 +3952,7 @@ const i5 = { class: "ao-card-template-item__footer" }, o5 = {
|
|
|
3955
3952
|
}));
|
|
3956
3953
|
}
|
|
3957
3954
|
});
|
|
3958
|
-
const
|
|
3955
|
+
const c5 = /* @__PURE__ */ Y({
|
|
3959
3956
|
__name: "AoCardTemplateItemPhase",
|
|
3960
3957
|
props: {
|
|
3961
3958
|
id: {},
|
|
@@ -3979,7 +3976,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
3979
3976
|
_: 3
|
|
3980
3977
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
3981
3978
|
}
|
|
3982
|
-
}),
|
|
3979
|
+
}), d5 = /* @__PURE__ */ Y({
|
|
3983
3980
|
__name: "AoCardTemplateItemMilestone",
|
|
3984
3981
|
props: {
|
|
3985
3982
|
activities: {}
|
|
@@ -3996,7 +3993,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
3996
3993
|
_: 3
|
|
3997
3994
|
}, 8, ["activities"]));
|
|
3998
3995
|
}
|
|
3999
|
-
}),
|
|
3996
|
+
}), p5 = { class: "ao-list__footer" }, v5 = /* @__PURE__ */ Y({
|
|
4000
3997
|
__name: "AoTemplateDetailsMilestones",
|
|
4001
3998
|
props: {
|
|
4002
3999
|
templateId: {},
|
|
@@ -4037,7 +4034,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4037
4034
|
})
|
|
4038
4035
|
]),
|
|
4039
4036
|
item: Z(({ element: c }) => [
|
|
4040
|
-
(p(), P(
|
|
4037
|
+
(p(), P(d5, {
|
|
4041
4038
|
id: c.id,
|
|
4042
4039
|
key: c.id,
|
|
4043
4040
|
title: c.name,
|
|
@@ -4054,7 +4051,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4054
4051
|
}, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4055
4052
|
]),
|
|
4056
4053
|
footer: Z(() => [
|
|
4057
|
-
f("div",
|
|
4054
|
+
f("div", p5, [
|
|
4058
4055
|
T(Ct, {
|
|
4059
4056
|
"icon-name": "AddBoxOutlineRounded",
|
|
4060
4057
|
label: r.$t("template.milestones.add"),
|
|
@@ -4065,7 +4062,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4065
4062
|
_: 1
|
|
4066
4063
|
}, 8, ["model-value", "title"])) : O("", !0);
|
|
4067
4064
|
}
|
|
4068
|
-
}),
|
|
4065
|
+
}), f5 = /* @__PURE__ */ Y({
|
|
4069
4066
|
__name: "AoCardTemplateItemActivity",
|
|
4070
4067
|
props: {
|
|
4071
4068
|
name: {},
|
|
@@ -4083,7 +4080,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4083
4080
|
_: 3
|
|
4084
4081
|
}, 8, ["tasks"]));
|
|
4085
4082
|
}
|
|
4086
|
-
}),
|
|
4083
|
+
}), h5 = { class: "ao-list__footer" }, m5 = /* @__PURE__ */ Y({
|
|
4087
4084
|
__name: "AoTemplateDetailsActivities",
|
|
4088
4085
|
props: {
|
|
4089
4086
|
templateId: {},
|
|
@@ -4127,7 +4124,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4127
4124
|
})
|
|
4128
4125
|
]),
|
|
4129
4126
|
item: Z(({ element: c }) => [
|
|
4130
|
-
(p(), P(
|
|
4127
|
+
(p(), P(f5, {
|
|
4131
4128
|
id: c.id,
|
|
4132
4129
|
key: c.id,
|
|
4133
4130
|
title: c.name,
|
|
@@ -4140,7 +4137,7 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4140
4137
|
}, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4141
4138
|
]),
|
|
4142
4139
|
footer: Z(() => [
|
|
4143
|
-
f("div",
|
|
4140
|
+
f("div", h5, [
|
|
4144
4141
|
T(Ct, {
|
|
4145
4142
|
"icon-name": "AddBoxOutlineRounded",
|
|
4146
4143
|
label: r.$t("template.activities.add"),
|
|
@@ -4151,13 +4148,13 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4151
4148
|
_: 1
|
|
4152
4149
|
}, 8, ["model-value", "title"])) : O("", !0);
|
|
4153
4150
|
}
|
|
4154
|
-
}),
|
|
4151
|
+
}), C5 = { class: "ao-modal" }, g5 = {
|
|
4155
4152
|
key: 0,
|
|
4156
4153
|
class: "ao-modal__header"
|
|
4157
|
-
},
|
|
4154
|
+
}, _5 = { class: "ao-modal__header-meta" }, y5 = { class: "ao-modal__title-group" }, b5 = { class: "ao-modal__body" }, w5 = {
|
|
4158
4155
|
key: 1,
|
|
4159
4156
|
class: "ao-modal__footer"
|
|
4160
|
-
},
|
|
4157
|
+
}, Ga = /* @__PURE__ */ Y({
|
|
4161
4158
|
__name: "AoModal",
|
|
4162
4159
|
props: {
|
|
4163
4160
|
size: { default: "md" }
|
|
@@ -4171,9 +4168,9 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4171
4168
|
class: "ao-modal__backdrop",
|
|
4172
4169
|
onClick: a[0] || (a[0] = (s) => e.$emit("close"))
|
|
4173
4170
|
}),
|
|
4174
|
-
f("div",
|
|
4175
|
-
e.$slots.header ? (p(), m("div",
|
|
4176
|
-
f("div",
|
|
4171
|
+
f("div", C5, [
|
|
4172
|
+
e.$slots.header ? (p(), m("div", g5, [
|
|
4173
|
+
f("div", _5, [
|
|
4177
4174
|
T(ue, {
|
|
4178
4175
|
"icon-name": "CloseRounded",
|
|
4179
4176
|
variant: "ghost",
|
|
@@ -4181,14 +4178,14 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4181
4178
|
onClick: a[1] || (a[1] = (s) => e.$emit("close"))
|
|
4182
4179
|
})
|
|
4183
4180
|
]),
|
|
4184
|
-
f("header",
|
|
4181
|
+
f("header", y5, [
|
|
4185
4182
|
ae(e.$slots, "header")
|
|
4186
4183
|
])
|
|
4187
4184
|
])) : O("", !0),
|
|
4188
|
-
f("div",
|
|
4185
|
+
f("div", b5, [
|
|
4189
4186
|
ae(e.$slots, "default")
|
|
4190
4187
|
]),
|
|
4191
|
-
e.$slots.footer ? (p(), m("footer",
|
|
4188
|
+
e.$slots.footer ? (p(), m("footer", w5, [
|
|
4192
4189
|
ae(e.$slots, "footer")
|
|
4193
4190
|
])) : O("", !0)
|
|
4194
4191
|
])
|
|
@@ -4198,12 +4195,12 @@ const u5 = /* @__PURE__ */ Y({
|
|
|
4198
4195
|
const ua = Math.min, Ie = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) => ({
|
|
4199
4196
|
x: t,
|
|
4200
4197
|
y: t
|
|
4201
|
-
}),
|
|
4198
|
+
}), $5 = {
|
|
4202
4199
|
left: "right",
|
|
4203
4200
|
right: "left",
|
|
4204
4201
|
bottom: "top",
|
|
4205
4202
|
top: "bottom"
|
|
4206
|
-
},
|
|
4203
|
+
}, k5 = {
|
|
4207
4204
|
start: "end",
|
|
4208
4205
|
end: "start"
|
|
4209
4206
|
};
|
|
@@ -4213,10 +4210,10 @@ function Is(t, e) {
|
|
|
4213
4210
|
function Ft(t) {
|
|
4214
4211
|
return t.split("-")[0];
|
|
4215
4212
|
}
|
|
4216
|
-
function
|
|
4213
|
+
function Xa(t) {
|
|
4217
4214
|
return t.split("-")[1];
|
|
4218
4215
|
}
|
|
4219
|
-
function
|
|
4216
|
+
function S5(t) {
|
|
4220
4217
|
return t === "x" ? "y" : "x";
|
|
4221
4218
|
}
|
|
4222
4219
|
function xn(t) {
|
|
@@ -4226,22 +4223,22 @@ function Ls(t) {
|
|
|
4226
4223
|
return ["top", "bottom"].includes(Ft(t)) ? "y" : "x";
|
|
4227
4224
|
}
|
|
4228
4225
|
function Yn(t) {
|
|
4229
|
-
return
|
|
4226
|
+
return S5(Ls(t));
|
|
4230
4227
|
}
|
|
4231
|
-
function
|
|
4228
|
+
function A5(t, e, a) {
|
|
4232
4229
|
a === void 0 && (a = !1);
|
|
4233
|
-
const s =
|
|
4230
|
+
const s = Xa(t), n = Yn(t), o = xn(n);
|
|
4234
4231
|
let i = n === "x" ? s === (a ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4235
4232
|
return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
|
|
4236
4233
|
}
|
|
4237
|
-
function
|
|
4234
|
+
function M5(t) {
|
|
4238
4235
|
const e = Ba(t);
|
|
4239
|
-
return [
|
|
4236
|
+
return [gs(t), e, gs(e)];
|
|
4240
4237
|
}
|
|
4241
|
-
function
|
|
4242
|
-
return t.replace(/start|end/g, (e) =>
|
|
4238
|
+
function gs(t) {
|
|
4239
|
+
return t.replace(/start|end/g, (e) => k5[e]);
|
|
4243
4240
|
}
|
|
4244
|
-
function
|
|
4241
|
+
function T5(t, e, a) {
|
|
4245
4242
|
const s = ["left", "right"], n = ["right", "left"], o = ["top", "bottom"], i = ["bottom", "top"];
|
|
4246
4243
|
switch (t) {
|
|
4247
4244
|
case "top":
|
|
@@ -4254,15 +4251,15 @@ function M5(t, e, a) {
|
|
|
4254
4251
|
return [];
|
|
4255
4252
|
}
|
|
4256
4253
|
}
|
|
4257
|
-
function
|
|
4258
|
-
const n =
|
|
4259
|
-
let o =
|
|
4260
|
-
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;
|
|
4261
4258
|
}
|
|
4262
4259
|
function Ba(t) {
|
|
4263
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
4260
|
+
return t.replace(/left|right|bottom|top/g, (e) => $5[e]);
|
|
4264
4261
|
}
|
|
4265
|
-
function
|
|
4262
|
+
function E5(t) {
|
|
4266
4263
|
return {
|
|
4267
4264
|
top: 0,
|
|
4268
4265
|
right: 0,
|
|
@@ -4271,8 +4268,8 @@ function O5(t) {
|
|
|
4271
4268
|
...t
|
|
4272
4269
|
};
|
|
4273
4270
|
}
|
|
4274
|
-
function
|
|
4275
|
-
return typeof t != "number" ?
|
|
4271
|
+
function I5(t) {
|
|
4272
|
+
return typeof t != "number" ? E5(t) : {
|
|
4276
4273
|
top: t,
|
|
4277
4274
|
right: t,
|
|
4278
4275
|
bottom: t,
|
|
@@ -4326,7 +4323,7 @@ function fn(t, e, a) {
|
|
|
4326
4323
|
y: s.y
|
|
4327
4324
|
};
|
|
4328
4325
|
}
|
|
4329
|
-
switch (
|
|
4326
|
+
switch (Xa(e)) {
|
|
4330
4327
|
case "start":
|
|
4331
4328
|
h[i] -= d * (a && c ? -1 : 1);
|
|
4332
4329
|
break;
|
|
@@ -4336,7 +4333,7 @@ function fn(t, e, a) {
|
|
|
4336
4333
|
}
|
|
4337
4334
|
return h;
|
|
4338
4335
|
}
|
|
4339
|
-
const
|
|
4336
|
+
const L5 = async (t, e, a) => {
|
|
4340
4337
|
const {
|
|
4341
4338
|
placement: s = "bottom",
|
|
4342
4339
|
strategy: n = "absolute",
|
|
@@ -4416,7 +4413,7 @@ async function Kn(t, e) {
|
|
|
4416
4413
|
elementContext: v = "floating",
|
|
4417
4414
|
altBoundary: d = !1,
|
|
4418
4415
|
padding: h = 0
|
|
4419
|
-
} = Is(e, t), w =
|
|
4416
|
+
} = Is(e, t), w = I5(h), b = r[d ? v === "floating" ? "reference" : "floating" : v], S = Ra(await o.getClippingRect({
|
|
4420
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)),
|
|
4421
4418
|
boundary: c,
|
|
4422
4419
|
rootBoundary: u,
|
|
@@ -4443,7 +4440,7 @@ async function Kn(t, e) {
|
|
|
4443
4440
|
right: (I.right - S.right + w.right) / D.x
|
|
4444
4441
|
};
|
|
4445
4442
|
}
|
|
4446
|
-
const
|
|
4443
|
+
const H5 = function(t) {
|
|
4447
4444
|
return t === void 0 && (t = {}), {
|
|
4448
4445
|
name: "flip",
|
|
4449
4446
|
options: t,
|
|
@@ -4467,12 +4464,12 @@ const L5 = function(t) {
|
|
|
4467
4464
|
} = Is(t, e);
|
|
4468
4465
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4469
4466
|
return {};
|
|
4470
|
-
const S = Ft(n), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !g ? [Ba(r)] :
|
|
4471
|
-
!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));
|
|
4472
4469
|
const I = [r, ...D], L = await Kn(e, b), F = [];
|
|
4473
4470
|
let W = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4474
4471
|
if (u && F.push(L[S]), v) {
|
|
4475
|
-
const N =
|
|
4472
|
+
const N = A5(n, i, C);
|
|
4476
4473
|
F.push(L[N[0]], L[N[1]]);
|
|
4477
4474
|
}
|
|
4478
4475
|
if (W = [...W, {
|
|
@@ -4514,7 +4511,7 @@ const L5 = function(t) {
|
|
|
4514
4511
|
return {};
|
|
4515
4512
|
}
|
|
4516
4513
|
};
|
|
4517
|
-
},
|
|
4514
|
+
}, D5 = function(t) {
|
|
4518
4515
|
return t === void 0 && (t = {}), {
|
|
4519
4516
|
name: "size",
|
|
4520
4517
|
options: t,
|
|
@@ -4528,7 +4525,7 @@ const L5 = function(t) {
|
|
|
4528
4525
|
apply: i = () => {
|
|
4529
4526
|
},
|
|
4530
4527
|
...r
|
|
4531
|
-
} = 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", {
|
|
4532
4529
|
width: d,
|
|
4533
4530
|
height: h
|
|
4534
4531
|
} = s.floating;
|
|
@@ -4593,16 +4590,16 @@ function ga(t) {
|
|
|
4593
4590
|
} = Ve(t);
|
|
4594
4591
|
return /auto|scroll|overlay|hidden|clip/.test(e + s + a) && !["inline", "contents"].includes(n);
|
|
4595
4592
|
}
|
|
4596
|
-
function
|
|
4593
|
+
function P5(t) {
|
|
4597
4594
|
return ["table", "td", "th"].includes(vt(t));
|
|
4598
4595
|
}
|
|
4599
4596
|
function Hs(t) {
|
|
4600
4597
|
const e = Ds(), a = Ve(t);
|
|
4601
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));
|
|
4602
4599
|
}
|
|
4603
|
-
function
|
|
4600
|
+
function V5(t) {
|
|
4604
4601
|
let e = Zt(t);
|
|
4605
|
-
for (; Ze(e) && !
|
|
4602
|
+
for (; Ze(e) && !Qa(e); ) {
|
|
4606
4603
|
if (Hs(e))
|
|
4607
4604
|
return e;
|
|
4608
4605
|
e = Zt(e);
|
|
@@ -4612,13 +4609,13 @@ function P5(t) {
|
|
|
4612
4609
|
function Ds() {
|
|
4613
4610
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4614
4611
|
}
|
|
4615
|
-
function
|
|
4612
|
+
function Qa(t) {
|
|
4616
4613
|
return ["html", "body", "#document"].includes(vt(t));
|
|
4617
4614
|
}
|
|
4618
4615
|
function Ve(t) {
|
|
4619
4616
|
return Se(t).getComputedStyle(t);
|
|
4620
4617
|
}
|
|
4621
|
-
function
|
|
4618
|
+
function Ja(t) {
|
|
4622
4619
|
return tt(t) ? {
|
|
4623
4620
|
scrollLeft: t.scrollLeft,
|
|
4624
4621
|
scrollTop: t.scrollTop
|
|
@@ -4641,7 +4638,7 @@ function Zt(t) {
|
|
|
4641
4638
|
}
|
|
4642
4639
|
function Xn(t) {
|
|
4643
4640
|
const e = Zt(t);
|
|
4644
|
-
return
|
|
4641
|
+
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && ga(e) ? e : Xn(e);
|
|
4645
4642
|
}
|
|
4646
4643
|
function ca(t, e, a) {
|
|
4647
4644
|
var s;
|
|
@@ -4677,15 +4674,15 @@ function Bt(t) {
|
|
|
4677
4674
|
y: r
|
|
4678
4675
|
};
|
|
4679
4676
|
}
|
|
4680
|
-
const
|
|
4677
|
+
const B5 = /* @__PURE__ */ pt(0);
|
|
4681
4678
|
function Jn(t) {
|
|
4682
4679
|
const e = Se(t);
|
|
4683
|
-
return !Ds() || !e.visualViewport ?
|
|
4680
|
+
return !Ds() || !e.visualViewport ? B5 : {
|
|
4684
4681
|
x: e.visualViewport.offsetLeft,
|
|
4685
4682
|
y: e.visualViewport.offsetTop
|
|
4686
4683
|
};
|
|
4687
4684
|
}
|
|
4688
|
-
function
|
|
4685
|
+
function R5(t, e, a) {
|
|
4689
4686
|
return e === void 0 && (e = !1), !a || e && a !== Se(t) ? !1 : e;
|
|
4690
4687
|
}
|
|
4691
4688
|
function St(t, e, a, s) {
|
|
@@ -4693,7 +4690,7 @@ function St(t, e, a, s) {
|
|
|
4693
4690
|
const n = t.getBoundingClientRect(), o = Ps(t);
|
|
4694
4691
|
let i = pt(1);
|
|
4695
4692
|
e && (s ? tt(s) && (i = Bt(s)) : i = Bt(t));
|
|
4696
|
-
const r =
|
|
4693
|
+
const r = R5(o, a, s) ? Jn(o) : pt(0);
|
|
4697
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;
|
|
4698
4695
|
if (o) {
|
|
4699
4696
|
const d = Se(o), h = s && tt(s) ? Se(s) : s;
|
|
@@ -4710,7 +4707,7 @@ function St(t, e, a, s) {
|
|
|
4710
4707
|
y: c
|
|
4711
4708
|
});
|
|
4712
4709
|
}
|
|
4713
|
-
function
|
|
4710
|
+
function N5(t) {
|
|
4714
4711
|
let {
|
|
4715
4712
|
rect: e,
|
|
4716
4713
|
offsetParent: a,
|
|
@@ -4724,7 +4721,7 @@ function R5(t) {
|
|
|
4724
4721
|
scrollTop: 0
|
|
4725
4722
|
}, r = pt(1);
|
|
4726
4723
|
const l = pt(0);
|
|
4727
|
-
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))) {
|
|
4728
4725
|
const c = St(a);
|
|
4729
4726
|
r = Bt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4730
4727
|
}
|
|
@@ -4735,14 +4732,14 @@ function R5(t) {
|
|
|
4735
4732
|
y: e.y * r.y - i.scrollTop * r.y + l.y
|
|
4736
4733
|
};
|
|
4737
4734
|
}
|
|
4738
|
-
function
|
|
4735
|
+
function j5(t) {
|
|
4739
4736
|
return Array.from(t.getClientRects());
|
|
4740
4737
|
}
|
|
4741
4738
|
function ei(t) {
|
|
4742
|
-
return St(st(t)).left +
|
|
4739
|
+
return St(st(t)).left + Ja(t).scrollLeft;
|
|
4743
4740
|
}
|
|
4744
|
-
function
|
|
4745
|
-
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);
|
|
4746
4743
|
let i = -a.scrollLeft + ei(t);
|
|
4747
4744
|
const r = -a.scrollTop;
|
|
4748
4745
|
return Ve(s).direction === "rtl" && (i += Ie(e.clientWidth, s.clientWidth) - n), {
|
|
@@ -4752,7 +4749,7 @@ function j5(t) {
|
|
|
4752
4749
|
y: r
|
|
4753
4750
|
};
|
|
4754
4751
|
}
|
|
4755
|
-
function
|
|
4752
|
+
function F5(t, e) {
|
|
4756
4753
|
const a = Se(t), s = st(t), n = a.visualViewport;
|
|
4757
4754
|
let o = s.clientWidth, i = s.clientHeight, r = 0, l = 0;
|
|
4758
4755
|
if (n) {
|
|
@@ -4767,7 +4764,7 @@ function U5(t, e) {
|
|
|
4767
4764
|
y: l
|
|
4768
4765
|
};
|
|
4769
4766
|
}
|
|
4770
|
-
function
|
|
4767
|
+
function Z5(t, e) {
|
|
4771
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;
|
|
4772
4769
|
return {
|
|
4773
4770
|
width: i,
|
|
@@ -4779,11 +4776,11 @@ function F5(t, e) {
|
|
|
4779
4776
|
function mn(t, e, a) {
|
|
4780
4777
|
let s;
|
|
4781
4778
|
if (e === "viewport")
|
|
4782
|
-
s =
|
|
4779
|
+
s = F5(t, a);
|
|
4783
4780
|
else if (e === "document")
|
|
4784
|
-
s =
|
|
4781
|
+
s = U5(st(t));
|
|
4785
4782
|
else if (tt(e))
|
|
4786
|
-
s =
|
|
4783
|
+
s = Z5(e, a);
|
|
4787
4784
|
else {
|
|
4788
4785
|
const n = Jn(t);
|
|
4789
4786
|
s = {
|
|
@@ -4796,29 +4793,29 @@ function mn(t, e, a) {
|
|
|
4796
4793
|
}
|
|
4797
4794
|
function ti(t, e) {
|
|
4798
4795
|
const a = Zt(t);
|
|
4799
|
-
return a === e || !tt(a) ||
|
|
4796
|
+
return a === e || !tt(a) || Qa(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4800
4797
|
}
|
|
4801
|
-
function
|
|
4798
|
+
function W5(t, e) {
|
|
4802
4799
|
const a = e.get(t);
|
|
4803
4800
|
if (a)
|
|
4804
4801
|
return a;
|
|
4805
4802
|
let s = ca(t, [], !1).filter((r) => tt(r) && vt(r) !== "body"), n = null;
|
|
4806
4803
|
const o = Ve(t).position === "fixed";
|
|
4807
4804
|
let i = o ? Zt(t) : t;
|
|
4808
|
-
for (; tt(i) && !
|
|
4805
|
+
for (; tt(i) && !Qa(i); ) {
|
|
4809
4806
|
const r = Ve(i), l = Hs(i);
|
|
4810
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);
|
|
4811
4808
|
}
|
|
4812
4809
|
return e.set(t, s), s;
|
|
4813
4810
|
}
|
|
4814
|
-
function
|
|
4811
|
+
function q5(t) {
|
|
4815
4812
|
let {
|
|
4816
4813
|
element: e,
|
|
4817
4814
|
boundary: a,
|
|
4818
4815
|
rootBoundary: s,
|
|
4819
4816
|
strategy: n
|
|
4820
4817
|
} = t;
|
|
4821
|
-
const i = [...a === "clippingAncestors" ?
|
|
4818
|
+
const i = [...a === "clippingAncestors" ? W5(e, this._c) : [].concat(a), s], r = i[0], l = i.reduce((c, u) => {
|
|
4822
4819
|
const v = mn(e, u, n);
|
|
4823
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;
|
|
4824
4821
|
}, mn(e, r, n));
|
|
@@ -4829,10 +4826,10 @@ function W5(t) {
|
|
|
4829
4826
|
y: l.top
|
|
4830
4827
|
};
|
|
4831
4828
|
}
|
|
4832
|
-
function
|
|
4829
|
+
function z5(t) {
|
|
4833
4830
|
return Qn(t);
|
|
4834
4831
|
}
|
|
4835
|
-
function
|
|
4832
|
+
function x5(t, e, a) {
|
|
4836
4833
|
const s = Ze(e), n = st(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4837
4834
|
let r = {
|
|
4838
4835
|
scrollLeft: 0,
|
|
@@ -4840,7 +4837,7 @@ function z5(t, e, a) {
|
|
|
4840
4837
|
};
|
|
4841
4838
|
const l = pt(0);
|
|
4842
4839
|
if (s || !s && !o)
|
|
4843
|
-
if ((vt(e) !== "body" || ga(n)) && (r =
|
|
4840
|
+
if ((vt(e) !== "body" || ga(n)) && (r = Ja(e)), s) {
|
|
4844
4841
|
const c = St(e, !0, o, e);
|
|
4845
4842
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4846
4843
|
} else
|
|
@@ -4860,11 +4857,11 @@ function ai(t, e) {
|
|
|
4860
4857
|
if (!Ze(t))
|
|
4861
4858
|
return a;
|
|
4862
4859
|
let s = Cn(t, e);
|
|
4863
|
-
for (; s &&
|
|
4860
|
+
for (; s && P5(s) && Ve(s).position === "static"; )
|
|
4864
4861
|
s = Cn(s, e);
|
|
4865
|
-
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;
|
|
4866
4863
|
}
|
|
4867
|
-
const
|
|
4864
|
+
const Y5 = async function(t) {
|
|
4868
4865
|
let {
|
|
4869
4866
|
reference: e,
|
|
4870
4867
|
floating: a,
|
|
@@ -4872,7 +4869,7 @@ const x5 = async function(t) {
|
|
|
4872
4869
|
} = t;
|
|
4873
4870
|
const n = this.getOffsetParent || ai, o = this.getDimensions;
|
|
4874
4871
|
return {
|
|
4875
|
-
reference:
|
|
4872
|
+
reference: x5(e, await n(a), s),
|
|
4876
4873
|
floating: {
|
|
4877
4874
|
x: 0,
|
|
4878
4875
|
y: 0,
|
|
@@ -4880,22 +4877,22 @@ const x5 = async function(t) {
|
|
|
4880
4877
|
}
|
|
4881
4878
|
};
|
|
4882
4879
|
};
|
|
4883
|
-
function
|
|
4880
|
+
function K5(t) {
|
|
4884
4881
|
return Ve(t).direction === "rtl";
|
|
4885
4882
|
}
|
|
4886
|
-
const
|
|
4887
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4883
|
+
const G5 = {
|
|
4884
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: N5,
|
|
4888
4885
|
getDocumentElement: st,
|
|
4889
|
-
getClippingRect:
|
|
4886
|
+
getClippingRect: q5,
|
|
4890
4887
|
getOffsetParent: ai,
|
|
4891
|
-
getElementRects:
|
|
4892
|
-
getClientRects:
|
|
4893
|
-
getDimensions:
|
|
4888
|
+
getElementRects: Y5,
|
|
4889
|
+
getClientRects: j5,
|
|
4890
|
+
getDimensions: z5,
|
|
4894
4891
|
getScale: Bt,
|
|
4895
4892
|
isElement: tt,
|
|
4896
|
-
isRTL:
|
|
4893
|
+
isRTL: K5
|
|
4897
4894
|
};
|
|
4898
|
-
function
|
|
4895
|
+
function X5(t, e) {
|
|
4899
4896
|
let a = null, s;
|
|
4900
4897
|
const n = st(t);
|
|
4901
4898
|
function o() {
|
|
@@ -4940,7 +4937,7 @@ function G5(t, e) {
|
|
|
4940
4937
|
}
|
|
4941
4938
|
return i(!0), o;
|
|
4942
4939
|
}
|
|
4943
|
-
function
|
|
4940
|
+
function Q5(t, e, a, s) {
|
|
4944
4941
|
s === void 0 && (s = {});
|
|
4945
4942
|
const {
|
|
4946
4943
|
ancestorScroll: n = !0,
|
|
@@ -4954,7 +4951,7 @@ function X5(t, e, a, s) {
|
|
|
4954
4951
|
passive: !0
|
|
4955
4952
|
}), o && S.addEventListener("resize", a);
|
|
4956
4953
|
});
|
|
4957
|
-
const v = c && r ?
|
|
4954
|
+
const v = c && r ? X5(c, a) : null;
|
|
4958
4955
|
let d = -1, h = null;
|
|
4959
4956
|
i && (h = new ResizeObserver((S) => {
|
|
4960
4957
|
let [_] = S;
|
|
@@ -4974,19 +4971,19 @@ function X5(t, e, a, s) {
|
|
|
4974
4971
|
}), v && v(), h && h.disconnect(), h = null, l && cancelAnimationFrame(w);
|
|
4975
4972
|
};
|
|
4976
4973
|
}
|
|
4977
|
-
const
|
|
4974
|
+
const J5 = (t, e, a) => {
|
|
4978
4975
|
const s = /* @__PURE__ */ new Map(), n = {
|
|
4979
|
-
platform:
|
|
4976
|
+
platform: G5,
|
|
4980
4977
|
...a
|
|
4981
4978
|
}, o = {
|
|
4982
4979
|
...n.platform,
|
|
4983
4980
|
_c: s
|
|
4984
4981
|
};
|
|
4985
|
-
return
|
|
4982
|
+
return L5(t, e, {
|
|
4986
4983
|
...n,
|
|
4987
4984
|
platform: o
|
|
4988
4985
|
});
|
|
4989
|
-
},
|
|
4986
|
+
}, e7 = (t) => {
|
|
4990
4987
|
const e = ee(!1), a = ee(), s = ee(), n = ee(0);
|
|
4991
4988
|
function o() {
|
|
4992
4989
|
const v = J(t.appendTo);
|
|
@@ -5011,21 +5008,21 @@ const Q5 = (t, e, a) => {
|
|
|
5011
5008
|
transform: "none",
|
|
5012
5009
|
marginTop: 0
|
|
5013
5010
|
}), i.appendChild(d), t.multiselect.value.handleFocusOut = l;
|
|
5014
|
-
const w =
|
|
5011
|
+
const w = Q5(a.value, s.value, u);
|
|
5015
5012
|
r.value = () => {
|
|
5016
5013
|
s.value && i.contains(s.value) && i.removeChild(s.value), w();
|
|
5017
5014
|
};
|
|
5018
5015
|
}
|
|
5019
5016
|
function u() {
|
|
5020
|
-
!s.value || !a.value ||
|
|
5017
|
+
!s.value || !a.value || J5(a.value, s.value, {
|
|
5021
5018
|
strategy: "absolute",
|
|
5022
5019
|
placement: "bottom-start",
|
|
5023
5020
|
middleware: [
|
|
5024
|
-
|
|
5021
|
+
H5({
|
|
5025
5022
|
fallbackStrategy: "initialPlacement",
|
|
5026
5023
|
fallbackPlacements: ["top-start", "bottom-start"]
|
|
5027
5024
|
}),
|
|
5028
|
-
|
|
5025
|
+
D5({
|
|
5029
5026
|
apply({ availableWidth: v, availableHeight: d, elements: h, rects: w }) {
|
|
5030
5027
|
Object.assign(h.floating.style, {
|
|
5031
5028
|
minHeight: `${n.value}px`,
|
|
@@ -5048,14 +5045,14 @@ const Q5 = (t, e, a) => {
|
|
|
5048
5045
|
c();
|
|
5049
5046
|
}), Tn(() => {
|
|
5050
5047
|
r.value();
|
|
5051
|
-
}),
|
|
5048
|
+
}), $s(() => {
|
|
5052
5049
|
r.value();
|
|
5053
5050
|
});
|
|
5054
5051
|
};
|
|
5055
5052
|
function Ue(t) {
|
|
5056
5053
|
return [null, void 0].indexOf(t) !== -1;
|
|
5057
5054
|
}
|
|
5058
|
-
function
|
|
5055
|
+
function t7(t, e, a) {
|
|
5059
5056
|
const { object: s, valueProp: n, mode: o } = Me(t), i = Tt().proxy, r = a.iv, l = (v, d = !0) => {
|
|
5060
5057
|
r.value = u(v);
|
|
5061
5058
|
const h = c(v);
|
|
@@ -5065,7 +5062,7 @@ function e7(t, e, a) {
|
|
|
5065
5062
|
update: l
|
|
5066
5063
|
};
|
|
5067
5064
|
}
|
|
5068
|
-
function
|
|
5065
|
+
function a7(t, e) {
|
|
5069
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]);
|
|
5070
5067
|
return {
|
|
5071
5068
|
iv: i,
|
|
@@ -5076,7 +5073,7 @@ function t7(t, e) {
|
|
|
5076
5073
|
plainValue: l
|
|
5077
5074
|
};
|
|
5078
5075
|
}
|
|
5079
|
-
function
|
|
5076
|
+
function s7(t, e, a) {
|
|
5080
5077
|
const { regex: s } = Me(t), n = Tt().proxy, o = a.isOpen, i = a.open, r = ee(null), l = () => {
|
|
5081
5078
|
r.value = "";
|
|
5082
5079
|
}, c = (d) => {
|
|
@@ -5104,7 +5101,7 @@ function a7(t, e, a) {
|
|
|
5104
5101
|
handlePaste: v
|
|
5105
5102
|
};
|
|
5106
5103
|
}
|
|
5107
|
-
function
|
|
5104
|
+
function n7(t, e, a) {
|
|
5108
5105
|
const { groupSelect: s, mode: n, groups: o, disabledProp: i } = Me(t), r = ee(null), l = (u) => {
|
|
5109
5106
|
u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (r.value = u);
|
|
5110
5107
|
};
|
|
@@ -5116,19 +5113,19 @@ function s7(t, e, a) {
|
|
|
5116
5113
|
}
|
|
5117
5114
|
};
|
|
5118
5115
|
}
|
|
5119
|
-
function
|
|
5116
|
+
function fs(t, e = !0) {
|
|
5120
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, "");
|
|
5121
5118
|
}
|
|
5122
|
-
function
|
|
5119
|
+
function i7(t) {
|
|
5123
5120
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
5124
5121
|
}
|
|
5125
|
-
function
|
|
5122
|
+
function o7(t, e) {
|
|
5126
5123
|
const a = e.slice().sort();
|
|
5127
5124
|
return t.length === e.length && t.slice().sort().every(function(s, n) {
|
|
5128
5125
|
return s === a[n];
|
|
5129
5126
|
});
|
|
5130
5127
|
}
|
|
5131
|
-
function
|
|
5128
|
+
function r7(t, e, a) {
|
|
5132
5129
|
const {
|
|
5133
5130
|
options: s,
|
|
5134
5131
|
mode: n,
|
|
@@ -5167,23 +5164,23 @@ function o7(t, e, a) {
|
|
|
5167
5164
|
disabledProp: y,
|
|
5168
5165
|
searchStart: R,
|
|
5169
5166
|
searchFilter: le
|
|
5170
|
-
} = 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(() => {
|
|
5171
5168
|
if (K.value) {
|
|
5172
5169
|
let k = _t.value || /* istanbul ignore next */
|
|
5173
5170
|
[], B = [];
|
|
5174
5171
|
return k.forEach((re) => {
|
|
5175
|
-
|
|
5172
|
+
cs(re[$.value]).forEach((me) => {
|
|
5176
5173
|
B.push(Object.assign({}, me, re[y.value] ? { [y.value]: !0 } : {}));
|
|
5177
5174
|
});
|
|
5178
5175
|
}), B;
|
|
5179
5176
|
} else {
|
|
5180
|
-
let k =
|
|
5177
|
+
let k = cs(je.value || /* istanbul ignore next */
|
|
5181
5178
|
[]);
|
|
5182
5179
|
return ot.value.length && (k = k.concat(ot.value)), k;
|
|
5183
5180
|
}
|
|
5184
5181
|
}), Qt = M(() => {
|
|
5185
5182
|
let k = Oe.value;
|
|
5186
|
-
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);
|
|
5187
5184
|
}), rt = M(() => {
|
|
5188
5185
|
let k = Qt.value;
|
|
5189
5186
|
return ze.value > 0 && (k = k.slice(0, ze.value)), k;
|
|
@@ -5204,22 +5201,22 @@ function o7(t, e, a) {
|
|
|
5204
5201
|
[$.value]: [...Et.value],
|
|
5205
5202
|
__CREATE__: !0
|
|
5206
5203
|
}].concat(k)), k;
|
|
5207
|
-
}),
|
|
5204
|
+
}), ns = M(() => {
|
|
5208
5205
|
if (!K.value)
|
|
5209
5206
|
return [];
|
|
5210
5207
|
let k = wa.value;
|
|
5211
5208
|
return Ai((k || /* istanbul ignore next */
|
|
5212
5209
|
[]).map((B, re) => {
|
|
5213
|
-
const me =
|
|
5210
|
+
const me = cs(B[$.value]);
|
|
5214
5211
|
return {
|
|
5215
5212
|
...B,
|
|
5216
5213
|
index: re,
|
|
5217
5214
|
group: !0,
|
|
5218
|
-
[$.value]:
|
|
5219
|
-
__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 } : {}))
|
|
5220
5217
|
};
|
|
5221
5218
|
}));
|
|
5222
|
-
}),
|
|
5219
|
+
}), is = M(() => {
|
|
5223
5220
|
switch (n.value) {
|
|
5224
5221
|
case "single":
|
|
5225
5222
|
return !Ue(q.value[L.value]);
|
|
@@ -5282,8 +5279,8 @@ function o7(t, e, a) {
|
|
|
5282
5279
|
case "multiple":
|
|
5283
5280
|
return !Ue(q.value) && q.value.map((B) => B[L.value]).indexOf(k[L.value]) !== -1;
|
|
5284
5281
|
}
|
|
5285
|
-
},
|
|
5286
|
-
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)) {
|
|
5287
5284
|
if (ie && ie.value && !xe(k) && k.__CREATE__ && (k = { ...k }, delete k.__CREATE__, k = ie.value(k, oe), k instanceof Promise)) {
|
|
5288
5285
|
Te.value = !0, k.then((B) => {
|
|
5289
5286
|
Te.value = !1, an(B);
|
|
@@ -5299,45 +5296,45 @@ function o7(t, e, a) {
|
|
|
5299
5296
|
x.value && Lt(k), E.value && (nt(), it());
|
|
5300
5297
|
return;
|
|
5301
5298
|
}
|
|
5302
|
-
k &&
|
|
5299
|
+
k && ls(k), I.value && he(), N.value && (nt(), it()), k && It(k);
|
|
5303
5300
|
break;
|
|
5304
5301
|
case "multiple":
|
|
5305
5302
|
if (k && xe(k)) {
|
|
5306
5303
|
Lt(k), E.value && (nt(), it());
|
|
5307
5304
|
return;
|
|
5308
5305
|
}
|
|
5309
|
-
if (
|
|
5306
|
+
if (rs()) {
|
|
5310
5307
|
e.emit("max", oe);
|
|
5311
5308
|
return;
|
|
5312
5309
|
}
|
|
5313
|
-
k && (
|
|
5310
|
+
k && (ls(k), It(k)), I.value && he(), r.value && nt(), N.value && it();
|
|
5314
5311
|
break;
|
|
5315
5312
|
case "tags":
|
|
5316
5313
|
if (k && xe(k)) {
|
|
5317
5314
|
Lt(k), E.value && (nt(), it());
|
|
5318
5315
|
return;
|
|
5319
5316
|
}
|
|
5320
|
-
if (
|
|
5317
|
+
if (rs()) {
|
|
5321
5318
|
e.emit("max", oe);
|
|
5322
5319
|
return;
|
|
5323
5320
|
}
|
|
5324
|
-
k &&
|
|
5321
|
+
k && ls(k), I.value && he(), k && It(k), r.value && nt(), N.value && it();
|
|
5325
5322
|
break;
|
|
5326
5323
|
}
|
|
5327
5324
|
N.value || _a();
|
|
5328
5325
|
}, _i = (k) => {
|
|
5329
|
-
if (!(
|
|
5326
|
+
if (!(os(k) || n.value === "single" || !V.value)) {
|
|
5330
5327
|
switch (n.value) {
|
|
5331
5328
|
case "multiple":
|
|
5332
5329
|
case "tags":
|
|
5333
5330
|
bi(k[$.value]) ? Lt(k[$.value]) : It(
|
|
5334
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)
|
|
5335
|
-
), r.value && Kt.value && Gt(
|
|
5332
|
+
), r.value && Kt.value && Gt(ns.value.filter((B) => !B[y.value])[Kt.value.index]);
|
|
5336
5333
|
break;
|
|
5337
5334
|
}
|
|
5338
|
-
N.value &&
|
|
5335
|
+
N.value && ss();
|
|
5339
5336
|
}
|
|
5340
|
-
},
|
|
5337
|
+
}, ls = (k) => {
|
|
5341
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());
|
|
5342
5339
|
}, yi = () => {
|
|
5343
5340
|
n.value !== "single" && It(rt.value.filter((k) => !k.disabled && !xe(k)));
|
|
@@ -5345,19 +5342,19 @@ function o7(t, e, a) {
|
|
|
5345
5342
|
ot.value.push(k);
|
|
5346
5343
|
}, Ai = (k) => U.value ? k.filter(
|
|
5347
5344
|
(B) => X.value ? B.__VISIBLE__.length : B[$.value].length
|
|
5348
|
-
) : k.filter((B) => X.value ? B.__VISIBLE__.length : !0),
|
|
5345
|
+
) : k.filter((B) => X.value ? B.__VISIBLE__.length : !0), us = (k, B = !0) => {
|
|
5349
5346
|
let re = k;
|
|
5350
5347
|
if (X.value && C.value) {
|
|
5351
5348
|
let me = le.value;
|
|
5352
|
-
me || (me = (bt, nn,
|
|
5353
|
-
let on =
|
|
5354
|
-
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;
|
|
5355
5352
|
})), re = re.filter((bt) => me(bt, X.value, oe));
|
|
5356
5353
|
}
|
|
5357
5354
|
return r.value && B && (re = re.filter((me) => !ki(me))), re;
|
|
5358
|
-
},
|
|
5355
|
+
}, cs = (k) => {
|
|
5359
5356
|
let B = k;
|
|
5360
|
-
return
|
|
5357
|
+
return i7(B) && (B = Object.keys(B).map((re) => {
|
|
5361
5358
|
let me = B[re];
|
|
5362
5359
|
return { [L.value]: re, [yt.value[0]]: me, [u.value]: me };
|
|
5363
5360
|
})), B = B.map((re) => typeof re == "object" ? re : { [L.value]: re, [yt.value[0]]: re, [u.value]: re }), B;
|
|
@@ -5371,8 +5368,8 @@ function o7(t, e, a) {
|
|
|
5371
5368
|
}).finally(() => {
|
|
5372
5369
|
B();
|
|
5373
5370
|
});
|
|
5374
|
-
})),
|
|
5375
|
-
if (
|
|
5371
|
+
})), ds = () => {
|
|
5372
|
+
if (is.value)
|
|
5376
5373
|
if (n.value === "single") {
|
|
5377
5374
|
let k = Ye(q.value[L.value]);
|
|
5378
5375
|
if (k !== void 0) {
|
|
@@ -5426,25 +5423,25 @@ function o7(t, e, a) {
|
|
|
5426
5423
|
break;
|
|
5427
5424
|
case "multiple":
|
|
5428
5425
|
case "tags":
|
|
5429
|
-
|
|
5426
|
+
o7(w.value ? k.map((B) => B[L.value]) : k, q.value.map((B) => B[L.value])) || $e(Sa(k), !1);
|
|
5430
5427
|
break;
|
|
5431
5428
|
}
|
|
5432
5429
|
}, { deep: !0 }), de(s, (k, B) => {
|
|
5433
|
-
typeof t.options == "function" ? S.value && (!B || k && k.toString() !== B.toString()) && ka() : (je.value = t.options, Object.keys(q.value).length || $a(),
|
|
5434
|
-
}), 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) => {
|
|
5435
5432
|
ze.value = A.value && k === -1 ? 10 : k;
|
|
5436
5433
|
}), {
|
|
5437
5434
|
pfo: Qt,
|
|
5438
5435
|
fo: rt,
|
|
5439
5436
|
filteredOptions: rt,
|
|
5440
|
-
hasSelected:
|
|
5437
|
+
hasSelected: is,
|
|
5441
5438
|
multipleLabelText: pi,
|
|
5442
5439
|
eo: Oe,
|
|
5443
5440
|
extendedOptions: Oe,
|
|
5444
5441
|
eg: _t,
|
|
5445
5442
|
extendedGroups: _t,
|
|
5446
|
-
fg:
|
|
5447
|
-
filteredGroups:
|
|
5443
|
+
fg: ns,
|
|
5444
|
+
filteredGroups: ns,
|
|
5448
5445
|
noOptions: vi,
|
|
5449
5446
|
noResults: fi,
|
|
5450
5447
|
resolving: Te,
|
|
@@ -5456,18 +5453,18 @@ function o7(t, e, a) {
|
|
|
5456
5453
|
selectAll: yi,
|
|
5457
5454
|
clear: tn,
|
|
5458
5455
|
isSelected: xe,
|
|
5459
|
-
isDisabled:
|
|
5460
|
-
isMax:
|
|
5456
|
+
isDisabled: os,
|
|
5457
|
+
isMax: rs,
|
|
5461
5458
|
getOption: Ye,
|
|
5462
5459
|
handleOptionClick: gi,
|
|
5463
5460
|
handleGroupClick: _i,
|
|
5464
5461
|
handleTagRemove: Ci,
|
|
5465
5462
|
refreshOptions: Mi,
|
|
5466
5463
|
resolveOptions: ka,
|
|
5467
|
-
refreshLabels:
|
|
5464
|
+
refreshLabels: ds
|
|
5468
5465
|
};
|
|
5469
5466
|
}
|
|
5470
|
-
function
|
|
5467
|
+
function l7(t, e, a) {
|
|
5471
5468
|
const {
|
|
5472
5469
|
valueProp: s,
|
|
5473
5470
|
showOptions: n,
|
|
@@ -5580,14 +5577,14 @@ function Vs(t) {
|
|
|
5580
5577
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5581
5578
|
}
|
|
5582
5579
|
var kt = Math.max, Na = Math.min, Wt = Math.round;
|
|
5583
|
-
function
|
|
5580
|
+
function _s() {
|
|
5584
5581
|
var t = navigator.userAgentData;
|
|
5585
5582
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5586
5583
|
return e.brand + "/" + e.version;
|
|
5587
5584
|
}).join(" ") : navigator.userAgent;
|
|
5588
5585
|
}
|
|
5589
5586
|
function si() {
|
|
5590
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5587
|
+
return !/^((?!chrome|android).)*safari/i.test(_s());
|
|
5591
5588
|
}
|
|
5592
5589
|
function qt(t, e, a) {
|
|
5593
5590
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
@@ -5612,14 +5609,14 @@ function Bs(t) {
|
|
|
5612
5609
|
scrollTop: s
|
|
5613
5610
|
};
|
|
5614
5611
|
}
|
|
5615
|
-
function
|
|
5612
|
+
function u7(t) {
|
|
5616
5613
|
return {
|
|
5617
5614
|
scrollLeft: t.scrollLeft,
|
|
5618
5615
|
scrollTop: t.scrollTop
|
|
5619
5616
|
};
|
|
5620
5617
|
}
|
|
5621
|
-
function
|
|
5622
|
-
return t === Ae(t) || !Pe(t) ? Bs(t) :
|
|
5618
|
+
function c7(t) {
|
|
5619
|
+
return t === Ae(t) || !Pe(t) ? Bs(t) : u7(t);
|
|
5623
5620
|
}
|
|
5624
5621
|
function We(t) {
|
|
5625
5622
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -5640,13 +5637,13 @@ function Ns(t) {
|
|
|
5640
5637
|
var e = at(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
|
|
5641
5638
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5642
5639
|
}
|
|
5643
|
-
function
|
|
5640
|
+
function d7(t) {
|
|
5644
5641
|
var e = t.getBoundingClientRect(), a = Wt(e.width) / t.offsetWidth || 1, s = Wt(e.height) / t.offsetHeight || 1;
|
|
5645
5642
|
return a !== 1 || s !== 1;
|
|
5646
5643
|
}
|
|
5647
|
-
function
|
|
5644
|
+
function p7(t, e, a) {
|
|
5648
5645
|
a === void 0 && (a = !1);
|
|
5649
|
-
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 = {
|
|
5650
5647
|
scrollLeft: 0,
|
|
5651
5648
|
scrollTop: 0
|
|
5652
5649
|
}, l = {
|
|
@@ -5654,7 +5651,7 @@ function d7(t, e, a) {
|
|
|
5654
5651
|
y: 0
|
|
5655
5652
|
};
|
|
5656
5653
|
return (s || !s && !a) && ((We(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5657
|
-
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))), {
|
|
5658
5655
|
x: i.left + r.scrollLeft - l.x,
|
|
5659
5656
|
y: i.top + r.scrollTop - l.y,
|
|
5660
5657
|
width: i.width,
|
|
@@ -5670,7 +5667,7 @@ function ni(t) {
|
|
|
5670
5667
|
height: s
|
|
5671
5668
|
};
|
|
5672
5669
|
}
|
|
5673
|
-
function
|
|
5670
|
+
function es(t) {
|
|
5674
5671
|
return We(t) === "html" ? t : (
|
|
5675
5672
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5676
5673
|
// $FlowFixMe[incompatible-return]
|
|
@@ -5683,7 +5680,7 @@ function ts(t) {
|
|
|
5683
5680
|
);
|
|
5684
5681
|
}
|
|
5685
5682
|
function ii(t) {
|
|
5686
|
-
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));
|
|
5687
5684
|
}
|
|
5688
5685
|
function ia(t, e) {
|
|
5689
5686
|
var a;
|
|
@@ -5691,24 +5688,24 @@ function ia(t, e) {
|
|
|
5691
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);
|
|
5692
5689
|
return n ? r : (
|
|
5693
5690
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5694
|
-
r.concat(ia(
|
|
5691
|
+
r.concat(ia(es(i)))
|
|
5695
5692
|
);
|
|
5696
5693
|
}
|
|
5697
|
-
function
|
|
5694
|
+
function v7(t) {
|
|
5698
5695
|
return ["table", "td", "th"].indexOf(We(t)) >= 0;
|
|
5699
5696
|
}
|
|
5700
5697
|
function gn(t) {
|
|
5701
5698
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5702
5699
|
at(t).position === "fixed" ? null : t.offsetParent;
|
|
5703
5700
|
}
|
|
5704
|
-
function
|
|
5705
|
-
var e = /firefox/i.test(
|
|
5701
|
+
function f7(t) {
|
|
5702
|
+
var e = /firefox/i.test(_s()), a = /Trident/i.test(_s());
|
|
5706
5703
|
if (a && Pe(t)) {
|
|
5707
5704
|
var s = at(t);
|
|
5708
5705
|
if (s.position === "fixed")
|
|
5709
5706
|
return null;
|
|
5710
5707
|
}
|
|
5711
|
-
var n =
|
|
5708
|
+
var n = es(t);
|
|
5712
5709
|
for (Vs(n) && (n = n.host); Pe(n) && ["html", "body"].indexOf(We(n)) < 0; ) {
|
|
5713
5710
|
var o = at(n);
|
|
5714
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")
|
|
@@ -5717,17 +5714,17 @@ function v7(t) {
|
|
|
5717
5714
|
}
|
|
5718
5715
|
return null;
|
|
5719
5716
|
}
|
|
5720
|
-
function
|
|
5721
|
-
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"; )
|
|
5722
5719
|
a = gn(a);
|
|
5723
|
-
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;
|
|
5724
5721
|
}
|
|
5725
|
-
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) {
|
|
5726
5723
|
return t.concat([e + "-" + zt, e + "-" + da]);
|
|
5727
|
-
}, []),
|
|
5724
|
+
}, []), C7 = /* @__PURE__ */ [].concat(as, [js]).reduce(function(t, e) {
|
|
5728
5725
|
return t.concat([e, e + "-" + zt, e + "-" + da]);
|
|
5729
|
-
}, []),
|
|
5730
|
-
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) {
|
|
5731
5728
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
5732
5729
|
t.forEach(function(o) {
|
|
5733
5730
|
e.set(o.name, o);
|
|
@@ -5746,15 +5743,15 @@ function M7(t) {
|
|
|
5746
5743
|
a.has(o.name) || n(o);
|
|
5747
5744
|
}), s;
|
|
5748
5745
|
}
|
|
5749
|
-
function
|
|
5750
|
-
var e =
|
|
5751
|
-
return
|
|
5746
|
+
function O7(t) {
|
|
5747
|
+
var e = T7(t);
|
|
5748
|
+
return M7.reduce(function(a, s) {
|
|
5752
5749
|
return a.concat(e.filter(function(n) {
|
|
5753
5750
|
return n.phase === s;
|
|
5754
5751
|
}));
|
|
5755
5752
|
}, []);
|
|
5756
5753
|
}
|
|
5757
|
-
function
|
|
5754
|
+
function E7(t) {
|
|
5758
5755
|
var e;
|
|
5759
5756
|
return function() {
|
|
5760
5757
|
return e || (e = new Promise(function(a) {
|
|
@@ -5764,7 +5761,7 @@ function O7(t) {
|
|
|
5764
5761
|
})), e;
|
|
5765
5762
|
};
|
|
5766
5763
|
}
|
|
5767
|
-
function
|
|
5764
|
+
function I7(t) {
|
|
5768
5765
|
var e = t.reduce(function(a, s) {
|
|
5769
5766
|
var n = a[s.name];
|
|
5770
5767
|
return a[s.name] = n ? Object.assign({}, n, s, {
|
|
@@ -5776,7 +5773,7 @@ function E7(t) {
|
|
|
5776
5773
|
return e[a];
|
|
5777
5774
|
});
|
|
5778
5775
|
}
|
|
5779
|
-
function
|
|
5776
|
+
function L7(t, e) {
|
|
5780
5777
|
var a = Ae(t), s = gt(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, r = 0, l = 0;
|
|
5781
5778
|
if (n) {
|
|
5782
5779
|
o = n.width, i = n.height;
|
|
@@ -5790,7 +5787,7 @@ function I7(t, e) {
|
|
|
5790
5787
|
y: l
|
|
5791
5788
|
};
|
|
5792
5789
|
}
|
|
5793
|
-
function
|
|
5790
|
+
function H7(t) {
|
|
5794
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;
|
|
5795
5792
|
return at(n || a).direction === "rtl" && (r += kt(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5796
5793
|
width: o,
|
|
@@ -5799,7 +5796,7 @@ function L7(t) {
|
|
|
5799
5796
|
y: l
|
|
5800
5797
|
};
|
|
5801
5798
|
}
|
|
5802
|
-
function
|
|
5799
|
+
function D7(t, e) {
|
|
5803
5800
|
var a = e.getRootNode && e.getRootNode();
|
|
5804
5801
|
if (t.contains(e))
|
|
5805
5802
|
return !0;
|
|
@@ -5813,7 +5810,7 @@ function H7(t, e) {
|
|
|
5813
5810
|
}
|
|
5814
5811
|
return !1;
|
|
5815
5812
|
}
|
|
5816
|
-
function
|
|
5813
|
+
function ys(t) {
|
|
5817
5814
|
return Object.assign({}, t, {
|
|
5818
5815
|
left: t.x,
|
|
5819
5816
|
top: t.y,
|
|
@@ -5821,21 +5818,21 @@ function bs(t) {
|
|
|
5821
5818
|
bottom: t.y + t.height
|
|
5822
5819
|
});
|
|
5823
5820
|
}
|
|
5824
|
-
function
|
|
5821
|
+
function P7(t, e) {
|
|
5825
5822
|
var a = qt(t, !1, e === "fixed");
|
|
5826
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;
|
|
5827
5824
|
}
|
|
5828
5825
|
function yn(t, e, a) {
|
|
5829
|
-
return e === oi ?
|
|
5826
|
+
return e === oi ? ys(L7(t, a)) : At(e) ? P7(e, a) : ys(H7(gt(t)));
|
|
5830
5827
|
}
|
|
5831
|
-
function
|
|
5832
|
-
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;
|
|
5833
5830
|
return At(s) ? e.filter(function(n) {
|
|
5834
|
-
return At(n) &&
|
|
5831
|
+
return At(n) && D7(n, s) && We(n) !== "body";
|
|
5835
5832
|
}) : [];
|
|
5836
5833
|
}
|
|
5837
|
-
function
|
|
5838
|
-
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) {
|
|
5839
5836
|
var u = yn(t, c, s);
|
|
5840
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;
|
|
5841
5838
|
}, yn(t, i, s));
|
|
@@ -5905,22 +5902,22 @@ function ui() {
|
|
|
5905
5902
|
left: 0
|
|
5906
5903
|
};
|
|
5907
5904
|
}
|
|
5908
|
-
function
|
|
5905
|
+
function R7(t) {
|
|
5909
5906
|
return Object.assign({}, ui(), t);
|
|
5910
5907
|
}
|
|
5911
|
-
function
|
|
5908
|
+
function N7(t, e) {
|
|
5912
5909
|
return e.reduce(function(a, s) {
|
|
5913
5910
|
return a[s] = t, a;
|
|
5914
5911
|
}, {});
|
|
5915
5912
|
}
|
|
5916
5913
|
function Us(t, e) {
|
|
5917
5914
|
e === void 0 && (e = {});
|
|
5918
|
-
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({
|
|
5919
5916
|
reference: L,
|
|
5920
5917
|
element: C,
|
|
5921
5918
|
strategy: "absolute",
|
|
5922
5919
|
placement: n
|
|
5923
|
-
}), W =
|
|
5920
|
+
}), W = ys(Object.assign({}, C, F)), x = d === na ? W : L, G = {
|
|
5924
5921
|
top: I.top - x.top + S.top,
|
|
5925
5922
|
bottom: x.bottom - I.bottom + S.bottom,
|
|
5926
5923
|
left: I.left - x.left + S.left,
|
|
@@ -5947,7 +5944,7 @@ function wn() {
|
|
|
5947
5944
|
return !(s && typeof s.getBoundingClientRect == "function");
|
|
5948
5945
|
});
|
|
5949
5946
|
}
|
|
5950
|
-
function
|
|
5947
|
+
function j7(t) {
|
|
5951
5948
|
t === void 0 && (t = {});
|
|
5952
5949
|
var e = t, a = e.defaultModifiers, s = a === void 0 ? [] : a, n = e.defaultOptions, o = n === void 0 ? bn : n;
|
|
5953
5950
|
return function(r, l, c) {
|
|
@@ -5971,7 +5968,7 @@ function N7(t) {
|
|
|
5971
5968
|
reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
|
|
5972
5969
|
popper: ia(l)
|
|
5973
5970
|
};
|
|
5974
|
-
var C =
|
|
5971
|
+
var C = O7(I7([].concat(s, u.options.modifiers)));
|
|
5975
5972
|
return u.orderedModifiers = C.filter(function(D) {
|
|
5976
5973
|
return D.enabled;
|
|
5977
5974
|
}), w(), h.update();
|
|
@@ -5986,7 +5983,7 @@ function N7(t) {
|
|
|
5986
5983
|
var S = u.elements, _ = S.reference, C = S.popper;
|
|
5987
5984
|
if (wn(_, C)) {
|
|
5988
5985
|
u.rects = {
|
|
5989
|
-
reference:
|
|
5986
|
+
reference: p7(_, ts(C), u.options.strategy === "fixed"),
|
|
5990
5987
|
popper: ni(C)
|
|
5991
5988
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(G) {
|
|
5992
5989
|
return u.modifiersData[G.name] = Object.assign({}, G.data);
|
|
@@ -6009,7 +6006,7 @@ function N7(t) {
|
|
|
6009
6006
|
},
|
|
6010
6007
|
// Async and optimistically optimized update – it will not be executed if
|
|
6011
6008
|
// not necessary (debounced to run at most once-per-tick)
|
|
6012
|
-
update:
|
|
6009
|
+
update: E7(function() {
|
|
6013
6010
|
return new Promise(function(b) {
|
|
6014
6011
|
h.forceUpdate(), b(u);
|
|
6015
6012
|
});
|
|
@@ -6049,7 +6046,7 @@ function N7(t) {
|
|
|
6049
6046
|
var Ea = {
|
|
6050
6047
|
passive: !0
|
|
6051
6048
|
};
|
|
6052
|
-
function
|
|
6049
|
+
function U7(t) {
|
|
6053
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);
|
|
6054
6051
|
return o && c.forEach(function(u) {
|
|
6055
6052
|
u.addEventListener("scroll", a.update, Ea);
|
|
@@ -6059,16 +6056,16 @@ function j7(t) {
|
|
|
6059
6056
|
}), r && l.removeEventListener("resize", a.update, Ea);
|
|
6060
6057
|
};
|
|
6061
6058
|
}
|
|
6062
|
-
var
|
|
6059
|
+
var F7 = {
|
|
6063
6060
|
name: "eventListeners",
|
|
6064
6061
|
enabled: !0,
|
|
6065
6062
|
phase: "write",
|
|
6066
6063
|
fn: function() {
|
|
6067
6064
|
},
|
|
6068
|
-
effect:
|
|
6065
|
+
effect: U7,
|
|
6069
6066
|
data: {}
|
|
6070
6067
|
};
|
|
6071
|
-
function
|
|
6068
|
+
function Z7(t) {
|
|
6072
6069
|
var e = t.state, a = t.name;
|
|
6073
6070
|
e.modifiersData[a] = li({
|
|
6074
6071
|
reference: e.rects.reference,
|
|
@@ -6077,19 +6074,19 @@ function F7(t) {
|
|
|
6077
6074
|
placement: e.placement
|
|
6078
6075
|
});
|
|
6079
6076
|
}
|
|
6080
|
-
var
|
|
6077
|
+
var W7 = {
|
|
6081
6078
|
name: "popperOffsets",
|
|
6082
6079
|
enabled: !0,
|
|
6083
6080
|
phase: "read",
|
|
6084
|
-
fn:
|
|
6081
|
+
fn: Z7,
|
|
6085
6082
|
data: {}
|
|
6086
|
-
},
|
|
6083
|
+
}, q7 = {
|
|
6087
6084
|
top: "auto",
|
|
6088
6085
|
right: "auto",
|
|
6089
6086
|
bottom: "auto",
|
|
6090
6087
|
left: "auto"
|
|
6091
6088
|
};
|
|
6092
|
-
function
|
|
6089
|
+
function z7(t, e) {
|
|
6093
6090
|
var a = t.x, s = t.y, n = e.devicePixelRatio || 1;
|
|
6094
6091
|
return {
|
|
6095
6092
|
x: Wt(a * n) / n || 0,
|
|
@@ -6107,7 +6104,7 @@ function $n(t) {
|
|
|
6107
6104
|
h = b.x, g = b.y;
|
|
6108
6105
|
var S = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Xe, D = Ne, I = window;
|
|
6109
6106
|
if (c) {
|
|
6110
|
-
var L =
|
|
6107
|
+
var L = ts(a), F = "clientHeight", W = "clientWidth";
|
|
6111
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) {
|
|
6112
6109
|
D = qe;
|
|
6113
6110
|
var x = v && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
@@ -6127,7 +6124,7 @@ function $n(t) {
|
|
|
6127
6124
|
}
|
|
6128
6125
|
var se = Object.assign({
|
|
6129
6126
|
position: r
|
|
6130
|
-
}, c &&
|
|
6127
|
+
}, c && q7), N = u === !0 ? z7({
|
|
6131
6128
|
x: h,
|
|
6132
6129
|
y: g
|
|
6133
6130
|
}, Ae(a)) : {
|
|
@@ -6140,7 +6137,7 @@ function $n(t) {
|
|
|
6140
6137
|
}
|
|
6141
6138
|
return Object.assign({}, se, (e = {}, e[D] = _ ? g + "px" : "", e[C] = S ? h + "px" : "", e.transform = "", e));
|
|
6142
6139
|
}
|
|
6143
|
-
function
|
|
6140
|
+
function x7(t) {
|
|
6144
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 = {
|
|
6145
6142
|
placement: ct(e.placement),
|
|
6146
6143
|
variation: xt(e.placement),
|
|
@@ -6163,14 +6160,14 @@ function z7(t) {
|
|
|
6163
6160
|
"data-popper-placement": e.placement
|
|
6164
6161
|
});
|
|
6165
6162
|
}
|
|
6166
|
-
var
|
|
6163
|
+
var Y7 = {
|
|
6167
6164
|
name: "computeStyles",
|
|
6168
6165
|
enabled: !0,
|
|
6169
6166
|
phase: "beforeWrite",
|
|
6170
|
-
fn:
|
|
6167
|
+
fn: x7,
|
|
6171
6168
|
data: {}
|
|
6172
6169
|
};
|
|
6173
|
-
function
|
|
6170
|
+
function K7(t) {
|
|
6174
6171
|
var e = t.state;
|
|
6175
6172
|
Object.keys(e.elements).forEach(function(a) {
|
|
6176
6173
|
var s = e.styles[a] || {}, n = e.attributes[a] || {}, o = e.elements[a];
|
|
@@ -6180,7 +6177,7 @@ function Y7(t) {
|
|
|
6180
6177
|
}));
|
|
6181
6178
|
});
|
|
6182
6179
|
}
|
|
6183
|
-
function
|
|
6180
|
+
function G7(t) {
|
|
6184
6181
|
var e = t.state, a = {
|
|
6185
6182
|
popper: {
|
|
6186
6183
|
position: e.options.strategy,
|
|
@@ -6204,33 +6201,33 @@ function K7(t) {
|
|
|
6204
6201
|
});
|
|
6205
6202
|
};
|
|
6206
6203
|
}
|
|
6207
|
-
var
|
|
6204
|
+
var X7 = {
|
|
6208
6205
|
name: "applyStyles",
|
|
6209
6206
|
enabled: !0,
|
|
6210
6207
|
phase: "write",
|
|
6211
|
-
fn:
|
|
6212
|
-
effect:
|
|
6208
|
+
fn: K7,
|
|
6209
|
+
effect: G7,
|
|
6213
6210
|
requires: ["computeStyles"]
|
|
6214
|
-
},
|
|
6215
|
-
defaultModifiers:
|
|
6211
|
+
}, Q7 = [F7, W7, Y7, X7], J7 = /* @__PURE__ */ j7({
|
|
6212
|
+
defaultModifiers: Q7
|
|
6216
6213
|
});
|
|
6217
|
-
function
|
|
6214
|
+
function ep(t) {
|
|
6218
6215
|
return t === "x" ? "y" : "x";
|
|
6219
6216
|
}
|
|
6220
6217
|
function Ia(t, e, a) {
|
|
6221
6218
|
return kt(t, Na(e, a));
|
|
6222
6219
|
}
|
|
6223
|
-
function
|
|
6220
|
+
function tp(t, e, a) {
|
|
6224
6221
|
var s = Ia(t, e, a);
|
|
6225
6222
|
return s > a ? a : s;
|
|
6226
6223
|
}
|
|
6227
|
-
function
|
|
6224
|
+
function ap(t) {
|
|
6228
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, {
|
|
6229
6226
|
boundary: l,
|
|
6230
6227
|
rootBoundary: c,
|
|
6231
6228
|
padding: v,
|
|
6232
6229
|
altBoundary: u
|
|
6233
|
-
}), 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, {
|
|
6234
6231
|
placement: e.placement
|
|
6235
6232
|
})) : g, G = typeof x == "number" ? {
|
|
6236
6233
|
mainAxis: x,
|
|
@@ -6247,23 +6244,23 @@ function tp(t) {
|
|
|
6247
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) : {
|
|
6248
6245
|
width: 0,
|
|
6249
6246
|
height: 0
|
|
6250
|
-
}, 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);
|
|
6251
6248
|
L[D] = ya, N[D] = ya - $;
|
|
6252
6249
|
}
|
|
6253
6250
|
if (r) {
|
|
6254
|
-
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);
|
|
6255
6252
|
L[I] = wa, N[I] = wa - Be;
|
|
6256
6253
|
}
|
|
6257
6254
|
e.modifiersData[s] = N;
|
|
6258
6255
|
}
|
|
6259
6256
|
}
|
|
6260
|
-
var
|
|
6257
|
+
var sp = {
|
|
6261
6258
|
name: "preventOverflow",
|
|
6262
6259
|
enabled: !0,
|
|
6263
6260
|
phase: "main",
|
|
6264
|
-
fn:
|
|
6261
|
+
fn: ap,
|
|
6265
6262
|
requiresIfExists: ["offset"]
|
|
6266
|
-
},
|
|
6263
|
+
}, np = {
|
|
6267
6264
|
left: "right",
|
|
6268
6265
|
right: "left",
|
|
6269
6266
|
bottom: "top",
|
|
@@ -6271,23 +6268,23 @@ var ap = {
|
|
|
6271
6268
|
};
|
|
6272
6269
|
function La(t) {
|
|
6273
6270
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
6274
|
-
return
|
|
6271
|
+
return np[e];
|
|
6275
6272
|
});
|
|
6276
6273
|
}
|
|
6277
|
-
var
|
|
6274
|
+
var ip = {
|
|
6278
6275
|
start: "end",
|
|
6279
6276
|
end: "start"
|
|
6280
6277
|
};
|
|
6281
6278
|
function kn(t) {
|
|
6282
6279
|
return t.replace(/start|end/g, function(e) {
|
|
6283
|
-
return
|
|
6280
|
+
return ip[e];
|
|
6284
6281
|
});
|
|
6285
6282
|
}
|
|
6286
|
-
function
|
|
6283
|
+
function op(t, e) {
|
|
6287
6284
|
e === void 0 && (e = {});
|
|
6288
|
-
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) {
|
|
6289
6286
|
return xt(w) === u;
|
|
6290
|
-
}) :
|
|
6287
|
+
}) : as, d = v.filter(function(w) {
|
|
6291
6288
|
return c.indexOf(w) >= 0;
|
|
6292
6289
|
});
|
|
6293
6290
|
d.length === 0 && (d = v);
|
|
@@ -6303,17 +6300,17 @@ function ip(t, e) {
|
|
|
6303
6300
|
return h[w] - h[g];
|
|
6304
6301
|
});
|
|
6305
6302
|
}
|
|
6306
|
-
function
|
|
6303
|
+
function rp(t) {
|
|
6307
6304
|
if (ct(t) === js)
|
|
6308
6305
|
return [];
|
|
6309
6306
|
var e = La(t);
|
|
6310
6307
|
return [kn(t), e, kn(e)];
|
|
6311
6308
|
}
|
|
6312
|
-
function
|
|
6309
|
+
function lp(t) {
|
|
6313
6310
|
var e = t.state, a = t.options, s = t.name;
|
|
6314
6311
|
if (!e.modifiersData[s]._skip) {
|
|
6315
|
-
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)] :
|
|
6316
|
-
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, {
|
|
6317
6314
|
placement: q,
|
|
6318
6315
|
boundary: u,
|
|
6319
6316
|
rootBoundary: v,
|
|
@@ -6358,17 +6355,17 @@ function rp(t) {
|
|
|
6358
6355
|
e.placement !== x && (e.modifiersData[s]._skip = !0, e.placement = x, e.reset = !0);
|
|
6359
6356
|
}
|
|
6360
6357
|
}
|
|
6361
|
-
var
|
|
6358
|
+
var up = {
|
|
6362
6359
|
name: "flip",
|
|
6363
6360
|
enabled: !0,
|
|
6364
6361
|
phase: "main",
|
|
6365
|
-
fn:
|
|
6362
|
+
fn: lp,
|
|
6366
6363
|
requiresIfExists: ["offset"],
|
|
6367
6364
|
data: {
|
|
6368
6365
|
_skip: !1
|
|
6369
6366
|
}
|
|
6370
6367
|
};
|
|
6371
|
-
function
|
|
6368
|
+
function cp(t, e, a) {
|
|
6372
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 = () => {
|
|
6373
6370
|
u.value || s.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
|
|
6374
6371
|
S();
|
|
@@ -6400,15 +6397,15 @@ function up(t, e, a) {
|
|
|
6400
6397
|
return !1;
|
|
6401
6398
|
};
|
|
6402
6399
|
return Mt(() => {
|
|
6403
|
-
h.value && (v.value =
|
|
6400
|
+
h.value && (v.value = J7(l.value, c.value, {
|
|
6404
6401
|
strategy: _(l.value) ? (
|
|
6405
6402
|
/* istanbul ignore next: UI feature */
|
|
6406
6403
|
"fixed"
|
|
6407
6404
|
) : void 0,
|
|
6408
6405
|
placement: i.value,
|
|
6409
6406
|
modifiers: [
|
|
6410
|
-
|
|
6411
|
-
|
|
6407
|
+
sp,
|
|
6408
|
+
up,
|
|
6412
6409
|
{
|
|
6413
6410
|
name: "sameWidth",
|
|
6414
6411
|
enabled: !0,
|
|
@@ -6442,7 +6439,7 @@ function up(t, e, a) {
|
|
|
6442
6439
|
updatePopper: S
|
|
6443
6440
|
};
|
|
6444
6441
|
}
|
|
6445
|
-
function
|
|
6442
|
+
function dp(t, e, a) {
|
|
6446
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 = () => {
|
|
6447
6444
|
s.value && i.value.blur(), v.value.blur();
|
|
6448
6445
|
}, S = () => {
|
|
@@ -6480,7 +6477,7 @@ function cp(t, e, a) {
|
|
|
6480
6477
|
}
|
|
6481
6478
|
};
|
|
6482
6479
|
}
|
|
6483
|
-
function
|
|
6480
|
+
function pp(t, e, a) {
|
|
6484
6481
|
const {
|
|
6485
6482
|
mode: s,
|
|
6486
6483
|
addTagOn: n,
|
|
@@ -6567,7 +6564,7 @@ function dp(t, e, a) {
|
|
|
6567
6564
|
preparePointer: A
|
|
6568
6565
|
};
|
|
6569
6566
|
}
|
|
6570
|
-
function
|
|
6567
|
+
function vp(t, e, a) {
|
|
6571
6568
|
const {
|
|
6572
6569
|
classes: s,
|
|
6573
6570
|
disabled: n,
|
|
@@ -6677,7 +6674,7 @@ function pp(t, e, a) {
|
|
|
6677
6674
|
showDropdown: S
|
|
6678
6675
|
};
|
|
6679
6676
|
}
|
|
6680
|
-
function
|
|
6677
|
+
function fp(t, e, a) {
|
|
6681
6678
|
const {
|
|
6682
6679
|
limit: s,
|
|
6683
6680
|
infinite: n
|
|
@@ -6705,7 +6702,7 @@ function vp(t, e, a) {
|
|
|
6705
6702
|
infiniteLoader: v
|
|
6706
6703
|
};
|
|
6707
6704
|
}
|
|
6708
|
-
function
|
|
6705
|
+
function hp(t, e, a) {
|
|
6709
6706
|
const {
|
|
6710
6707
|
placeholder: s,
|
|
6711
6708
|
id: n,
|
|
@@ -6764,7 +6761,7 @@ function fp(t, e, a) {
|
|
|
6764
6761
|
ariaTagLabel: se
|
|
6765
6762
|
};
|
|
6766
6763
|
}
|
|
6767
|
-
function
|
|
6764
|
+
function mp(t, e, a) {
|
|
6768
6765
|
const {
|
|
6769
6766
|
locale: s,
|
|
6770
6767
|
fallbackLocale: n
|
|
@@ -6773,7 +6770,7 @@ function hp(t, e, a) {
|
|
|
6773
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]] : ""
|
|
6774
6771
|
};
|
|
6775
6772
|
}
|
|
6776
|
-
function
|
|
6773
|
+
function Cp(t, e, a) {
|
|
6777
6774
|
const s = ee(null), n = ee(null), o = ee(null), i = ee(null), r = ee(null);
|
|
6778
6775
|
return {
|
|
6779
6776
|
multiselect: s,
|
|
@@ -6783,7 +6780,7 @@ function mp(t, e, a) {
|
|
|
6783
6780
|
dropdown: r
|
|
6784
6781
|
};
|
|
6785
6782
|
}
|
|
6786
|
-
function
|
|
6783
|
+
function gp(t, e, a, s = {}) {
|
|
6787
6784
|
return a.forEach((n) => {
|
|
6788
6785
|
n && (s = {
|
|
6789
6786
|
...s,
|
|
@@ -7146,21 +7143,21 @@ var ut = {
|
|
|
7146
7143
|
}
|
|
7147
7144
|
},
|
|
7148
7145
|
setup(t, e) {
|
|
7149
|
-
return
|
|
7146
|
+
return gp(t, e, [
|
|
7147
|
+
Cp,
|
|
7150
7148
|
mp,
|
|
7151
|
-
hp,
|
|
7152
|
-
t7,
|
|
7153
|
-
s7,
|
|
7154
|
-
up,
|
|
7155
7149
|
a7,
|
|
7156
|
-
|
|
7150
|
+
n7,
|
|
7157
7151
|
cp,
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
r7,
|
|
7152
|
+
s7,
|
|
7153
|
+
t7,
|
|
7161
7154
|
dp,
|
|
7155
|
+
r7,
|
|
7156
|
+
fp,
|
|
7157
|
+
l7,
|
|
7162
7158
|
pp,
|
|
7163
|
-
|
|
7159
|
+
vp,
|
|
7160
|
+
hp
|
|
7164
7161
|
]);
|
|
7165
7162
|
},
|
|
7166
7163
|
beforeMount() {
|
|
@@ -7172,8 +7169,8 @@ var ut = {
|
|
|
7172
7169
|
}));
|
|
7173
7170
|
}
|
|
7174
7171
|
};
|
|
7175
|
-
const
|
|
7176
|
-
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) {
|
|
7177
7174
|
return p(), m("div", {
|
|
7178
7175
|
ref: "multiselect",
|
|
7179
7176
|
class: Q(t.classList.container),
|
|
@@ -7218,7 +7215,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7218
7215
|
}, {
|
|
7219
7216
|
...a.attrs,
|
|
7220
7217
|
...t.arias
|
|
7221
|
-
}), null, 16,
|
|
7218
|
+
}), null, 16, bp)) : O("v-if", !0),
|
|
7222
7219
|
O(" Tags (with search) "),
|
|
7223
7220
|
a.mode == "tags" ? (p(), m(
|
|
7224
7221
|
"div",
|
|
@@ -7269,8 +7266,8 @@ function Np(t, e, a, s, n, o) {
|
|
|
7269
7266
|
2
|
|
7270
7267
|
/* CLASS */
|
|
7271
7268
|
)
|
|
7272
|
-
], 10,
|
|
7273
|
-
], 42,
|
|
7269
|
+
], 10, $p)) : O("v-if", !0)
|
|
7270
|
+
], 42, wp))
|
|
7274
7271
|
])),
|
|
7275
7272
|
256
|
|
7276
7273
|
/* UNKEYED_FRAGMENT */
|
|
@@ -7314,7 +7311,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7314
7311
|
}, {
|
|
7315
7312
|
...a.attrs,
|
|
7316
7313
|
...t.arias
|
|
7317
|
-
}), null, 16,
|
|
7314
|
+
}), null, 16, kp)) : O("v-if", !0)
|
|
7318
7315
|
],
|
|
7319
7316
|
2
|
|
7320
7317
|
/* CLASS */
|
|
@@ -7356,7 +7353,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7356
7353
|
f("div", {
|
|
7357
7354
|
class: Q(t.classList.multipleLabel),
|
|
7358
7355
|
innerHTML: t.multipleLabelText
|
|
7359
|
-
}, null, 10,
|
|
7356
|
+
}, null, 10, Sp)
|
|
7360
7357
|
]) : O("v-if", !0),
|
|
7361
7358
|
O(" Placeholder "),
|
|
7362
7359
|
a.placeholder && !t.hasSelected && !t.search ? ae(t.$slots, "placeholder", { key: 4 }, () => [
|
|
@@ -7434,7 +7431,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7434
7431
|
/* CLASS */
|
|
7435
7432
|
)
|
|
7436
7433
|
]) : O("v-if", !0)
|
|
7437
|
-
], 16,
|
|
7434
|
+
], 16, yp),
|
|
7438
7435
|
O(" Options "),
|
|
7439
7436
|
(p(), P(jt, {
|
|
7440
7437
|
to: a.appendTo || "body",
|
|
@@ -7477,9 +7474,9 @@ function Np(t, e, a, s, n, o) {
|
|
|
7477
7474
|
}, () => [
|
|
7478
7475
|
f("span", {
|
|
7479
7476
|
innerHTML: t.localize(i[a.groupLabel])
|
|
7480
|
-
}, null, 8,
|
|
7477
|
+
}, null, 8, Ep)
|
|
7481
7478
|
])
|
|
7482
|
-
], 42,
|
|
7479
|
+
], 42, Op)),
|
|
7483
7480
|
f("ul", {
|
|
7484
7481
|
class: Q(t.classList.groupOptions),
|
|
7485
7482
|
"aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
|
|
@@ -7514,12 +7511,12 @@ function Np(t, e, a, s, n, o) {
|
|
|
7514
7511
|
/* TEXT */
|
|
7515
7512
|
)
|
|
7516
7513
|
])
|
|
7517
|
-
], 42,
|
|
7514
|
+
], 42, Lp))),
|
|
7518
7515
|
128
|
|
7519
7516
|
/* KEYED_FRAGMENT */
|
|
7520
7517
|
))
|
|
7521
|
-
], 10,
|
|
7522
|
-
], 10,
|
|
7518
|
+
], 10, Ip)
|
|
7519
|
+
], 10, Tp))),
|
|
7523
7520
|
128
|
|
7524
7521
|
/* KEYED_FRAGMENT */
|
|
7525
7522
|
)) : (p(!0), m(
|
|
@@ -7551,22 +7548,22 @@ function Np(t, e, a, s, n, o) {
|
|
|
7551
7548
|
/* TEXT */
|
|
7552
7549
|
)
|
|
7553
7550
|
])
|
|
7554
|
-
], 42,
|
|
7551
|
+
], 42, Hp))),
|
|
7555
7552
|
128
|
|
7556
7553
|
/* KEYED_FRAGMENT */
|
|
7557
7554
|
))
|
|
7558
|
-
], 10,
|
|
7555
|
+
], 10, Mp),
|
|
7559
7556
|
t.noOptions ? ae(t.$slots, "nooptions", { key: 0 }, () => [
|
|
7560
7557
|
f("div", {
|
|
7561
7558
|
class: Q(t.classList.noOptions),
|
|
7562
7559
|
innerHTML: t.localize(a.noOptionsText)
|
|
7563
|
-
}, null, 10,
|
|
7560
|
+
}, null, 10, Dp)
|
|
7564
7561
|
]) : O("v-if", !0),
|
|
7565
7562
|
t.noResults ? ae(t.$slots, "noresults", { key: 1 }, () => [
|
|
7566
7563
|
f("div", {
|
|
7567
7564
|
class: Q(t.classList.noResults),
|
|
7568
7565
|
innerHTML: t.localize(a.noResultsText)
|
|
7569
|
-
}, null, 10,
|
|
7566
|
+
}, null, 10, Pp)
|
|
7570
7567
|
]) : O("v-if", !0),
|
|
7571
7568
|
a.infinite && t.hasMore ? (p(), m(
|
|
7572
7569
|
"div",
|
|
@@ -7592,7 +7589,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7592
7589
|
/* CLASS */
|
|
7593
7590
|
)) : O("v-if", !0),
|
|
7594
7591
|
ae(t.$slots, "afterlist", { options: t.fo })
|
|
7595
|
-
], 10,
|
|
7592
|
+
], 10, Ap)
|
|
7596
7593
|
], 8, ["to", "disabled"])),
|
|
7597
7594
|
O(" Hacky input element to show HTML5 required warning "),
|
|
7598
7595
|
a.required ? (p(), m("input", {
|
|
@@ -7601,7 +7598,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7601
7598
|
tabindex: "-1",
|
|
7602
7599
|
value: t.textValue,
|
|
7603
7600
|
required: ""
|
|
7604
|
-
}, null, 10,
|
|
7601
|
+
}, null, 10, Vp)) : O("v-if", !0),
|
|
7605
7602
|
O(" Native input support "),
|
|
7606
7603
|
a.nativeSupport ? (p(), m(
|
|
7607
7604
|
fe,
|
|
@@ -7612,7 +7609,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7612
7609
|
type: "hidden",
|
|
7613
7610
|
name: a.name,
|
|
7614
7611
|
value: t.plainValue !== void 0 ? t.plainValue : ""
|
|
7615
|
-
}, null, 8,
|
|
7612
|
+
}, null, 8, Bp)) : (p(!0), m(
|
|
7616
7613
|
fe,
|
|
7617
7614
|
{ key: 1 },
|
|
7618
7615
|
_e(t.plainValue, (i, r) => (p(), m("input", {
|
|
@@ -7620,7 +7617,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7620
7617
|
name: `${a.name}[]`,
|
|
7621
7618
|
value: i,
|
|
7622
7619
|
key: r
|
|
7623
|
-
}, null, 8,
|
|
7620
|
+
}, null, 8, Rp))),
|
|
7624
7621
|
128
|
|
7625
7622
|
/* KEYED_FRAGMENT */
|
|
7626
7623
|
))
|
|
@@ -7634,7 +7631,7 @@ function Np(t, e, a, s, n, o) {
|
|
|
7634
7631
|
class: Q(t.classList.assist),
|
|
7635
7632
|
id: t.ariaAssist,
|
|
7636
7633
|
"aria-hidden": "true"
|
|
7637
|
-
}, z(t.ariaLabel), 11,
|
|
7634
|
+
}, z(t.ariaLabel), 11, Np)) : O("v-if", !0),
|
|
7638
7635
|
O(" Create height for empty input "),
|
|
7639
7636
|
f(
|
|
7640
7637
|
"div",
|
|
@@ -7645,9 +7642,9 @@ function Np(t, e, a, s, n, o) {
|
|
|
7645
7642
|
2
|
|
7646
7643
|
/* CLASS */
|
|
7647
7644
|
)
|
|
7648
|
-
], 42,
|
|
7645
|
+
], 42, _p);
|
|
7649
7646
|
}
|
|
7650
|
-
ut.render =
|
|
7647
|
+
ut.render = jp;
|
|
7651
7648
|
ut.__file = "src/Multiselect.vue";
|
|
7652
7649
|
const ke = /* @__PURE__ */ Y({
|
|
7653
7650
|
__name: "AoMultiselect",
|
|
@@ -7657,14 +7654,14 @@ const ke = /* @__PURE__ */ Y({
|
|
|
7657
7654
|
},
|
|
7658
7655
|
setup(t) {
|
|
7659
7656
|
const e = t, a = Vt(() => e.appendTo), s = ee();
|
|
7660
|
-
return e.detached &&
|
|
7657
|
+
return e.detached && e7({
|
|
7661
7658
|
multiselect: s,
|
|
7662
7659
|
appendTo: a.value
|
|
7663
7660
|
}), (n, o) => (p(), P(J(ut), {
|
|
7664
7661
|
ref_key: "multiselectRef",
|
|
7665
7662
|
ref: s,
|
|
7666
7663
|
class: "ao-multiselect"
|
|
7667
|
-
},
|
|
7664
|
+
}, ks({ _: 2 }, [
|
|
7668
7665
|
_e(n.$slots, (i, r) => ({
|
|
7669
7666
|
name: r,
|
|
7670
7667
|
fn: Z((l) => [
|
|
@@ -7676,13 +7673,13 @@ const ke = /* @__PURE__ */ Y({
|
|
|
7676
7673
|
});
|
|
7677
7674
|
var Sn;
|
|
7678
7675
|
function Ot() {
|
|
7679
|
-
const t =
|
|
7676
|
+
const t = Up(), e = t.appContext.config.globalProperties;
|
|
7680
7677
|
return {
|
|
7681
7678
|
i18next: e.$i18next,
|
|
7682
7679
|
t: e.$t.bind(t.proxy)
|
|
7683
7680
|
};
|
|
7684
7681
|
}
|
|
7685
|
-
function
|
|
7682
|
+
function Up() {
|
|
7686
7683
|
const t = Tt();
|
|
7687
7684
|
if (!t)
|
|
7688
7685
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
@@ -7725,7 +7722,7 @@ async function Qe(t, e) {
|
|
|
7725
7722
|
i == null || i.select();
|
|
7726
7723
|
}
|
|
7727
7724
|
}
|
|
7728
|
-
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({
|
|
7729
7726
|
__name: "AoActivityTasks",
|
|
7730
7727
|
props: {
|
|
7731
7728
|
activityId: {},
|
|
@@ -7778,8 +7775,8 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7778
7775
|
const d = v.target;
|
|
7779
7776
|
d == null || d.blur();
|
|
7780
7777
|
};
|
|
7781
|
-
return (v, d) => (p(), m("div",
|
|
7782
|
-
f("ul",
|
|
7778
|
+
return (v, d) => (p(), m("div", Fp, [
|
|
7779
|
+
f("ul", Zp, [
|
|
7783
7780
|
(p(!0), m(fe, null, _e(v.tasks, (h) => {
|
|
7784
7781
|
var w, g;
|
|
7785
7782
|
return p(), m("li", {
|
|
@@ -7803,7 +7800,7 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7803
7800
|
type: "text",
|
|
7804
7801
|
onChange: (b) => i(b, h.id),
|
|
7805
7802
|
onKeyup: dt(u, ["enter"])
|
|
7806
|
-
}, null, 42,
|
|
7803
|
+
}, null, 42, Wp),
|
|
7807
7804
|
Ua(". "),
|
|
7808
7805
|
!v.isTemplate && v.users ? (p(), P(ke, {
|
|
7809
7806
|
key: 1,
|
|
@@ -7841,7 +7838,7 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7841
7838
|
]);
|
|
7842
7839
|
}), 128))
|
|
7843
7840
|
]),
|
|
7844
|
-
f("div",
|
|
7841
|
+
f("div", qp, [
|
|
7845
7842
|
v.isEditable ? (p(), P(ue, {
|
|
7846
7843
|
key: 0,
|
|
7847
7844
|
label: v.$t("activity.tasks.add"),
|
|
@@ -7854,10 +7851,10 @@ const Up = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Zp = ["id",
|
|
|
7854
7851
|
]));
|
|
7855
7852
|
}
|
|
7856
7853
|
});
|
|
7857
|
-
const
|
|
7854
|
+
const xp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Yp = { class: "ao-files__placeholder" }, Kp = {
|
|
7858
7855
|
key: 0,
|
|
7859
7856
|
class: "ao-files__list"
|
|
7860
|
-
},
|
|
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({
|
|
7861
7858
|
__name: "AoActivityDetailsFiles",
|
|
7862
7859
|
props: {
|
|
7863
7860
|
attachments: {},
|
|
@@ -7875,7 +7872,7 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7875
7872
|
o.forEach((u) => {
|
|
7876
7873
|
document.body.addEventListener(u, (v) => v.preventDefault());
|
|
7877
7874
|
});
|
|
7878
|
-
}),
|
|
7875
|
+
}), $s(() => {
|
|
7879
7876
|
o.forEach((u) => {
|
|
7880
7877
|
document.body.removeEventListener(
|
|
7881
7878
|
u,
|
|
@@ -7912,9 +7909,9 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7912
7909
|
onDragleave: ve(l, ["prevent"])
|
|
7913
7910
|
}, [
|
|
7914
7911
|
ae(u.$slots, "default", {}, () => [
|
|
7915
|
-
f("span",
|
|
7912
|
+
f("span", Yp, z(u.$t("activity.attachment.placeholder.resting")), 1)
|
|
7916
7913
|
]),
|
|
7917
|
-
u.attachments ? (p(), m("ul",
|
|
7914
|
+
u.attachments ? (p(), m("ul", Kp, [
|
|
7918
7915
|
(p(!0), m(fe, null, _e(u.attachments, (d) => (p(), m("li", {
|
|
7919
7916
|
key: d.id,
|
|
7920
7917
|
class: "ao-file"
|
|
@@ -7930,8 +7927,8 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7930
7927
|
name: "AttachFileRounded",
|
|
7931
7928
|
size: "sm"
|
|
7932
7929
|
}),
|
|
7933
|
-
f("span",
|
|
7934
|
-
], 8,
|
|
7930
|
+
f("span", Xp, z(d.name), 1)
|
|
7931
|
+
], 8, Gp),
|
|
7935
7932
|
u.isEditable ? (p(), P(ue, {
|
|
7936
7933
|
key: 0,
|
|
7937
7934
|
class: "ao-files__delete-button",
|
|
@@ -7943,14 +7940,14 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7943
7940
|
onClick: () => s(d)
|
|
7944
7941
|
}, null, 8, ["onClick"])) : O("", !0)
|
|
7945
7942
|
]))), 128)),
|
|
7946
|
-
u.isEditable ? (p(), m("li",
|
|
7947
|
-
f("label",
|
|
7948
|
-
f("div",
|
|
7943
|
+
u.isEditable ? (p(), m("li", Qp, [
|
|
7944
|
+
f("label", Jp, [
|
|
7945
|
+
f("div", ev, [
|
|
7949
7946
|
T(pe, {
|
|
7950
7947
|
name: "Add",
|
|
7951
7948
|
size: "sm"
|
|
7952
7949
|
}),
|
|
7953
|
-
f("span",
|
|
7950
|
+
f("span", tv, z(u.$t("activity.attachment.button.resting")), 1)
|
|
7954
7951
|
]),
|
|
7955
7952
|
f("input", {
|
|
7956
7953
|
class: "input-field",
|
|
@@ -7963,18 +7960,18 @@ const zp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], xp = { class:
|
|
|
7963
7960
|
])
|
|
7964
7961
|
])) : O("", !0)
|
|
7965
7962
|
])) : O("", !0),
|
|
7966
|
-
Re(f("div",
|
|
7967
|
-
f("span",
|
|
7963
|
+
Re(f("div", av, [
|
|
7964
|
+
f("span", sv, z(u.$t("activity.attachment.placeholder.active")), 1)
|
|
7968
7965
|
], 512), [
|
|
7969
7966
|
[Hi, i.value]
|
|
7970
7967
|
])
|
|
7971
|
-
], 42,
|
|
7968
|
+
], 42, xp));
|
|
7972
7969
|
}
|
|
7973
7970
|
});
|
|
7974
|
-
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 = {
|
|
7975
7972
|
key: 1,
|
|
7976
7973
|
class: "ao-comment__footer"
|
|
7977
|
-
},
|
|
7974
|
+
}, cv = /* @__PURE__ */ Y({
|
|
7978
7975
|
__name: "AoComment",
|
|
7979
7976
|
props: {
|
|
7980
7977
|
user: {},
|
|
@@ -8006,16 +8003,16 @@ const nv = { class: "ao-comment" }, iv = { class: "ao-comment__created-at" }, ov
|
|
|
8006
8003
|
});
|
|
8007
8004
|
}), (g, b) => {
|
|
8008
8005
|
var S;
|
|
8009
|
-
return p(), m("li",
|
|
8006
|
+
return p(), m("li", iv, [
|
|
8010
8007
|
s.value ? (p(), P(et, {
|
|
8011
8008
|
key: 0,
|
|
8012
8009
|
"avatar-url": (S = g.user) == null ? void 0 : S.avatarUrl,
|
|
8013
8010
|
"user-name": s.value,
|
|
8014
8011
|
class: "ao-comment__avatar"
|
|
8015
8012
|
}, null, 8, ["avatar-url", "user-name"])) : O("", !0),
|
|
8016
|
-
f("span",
|
|
8017
|
-
f("div",
|
|
8018
|
-
f("div",
|
|
8013
|
+
f("span", ov, z(c.value), 1),
|
|
8014
|
+
f("div", rv, [
|
|
8015
|
+
f("div", lv, [
|
|
8019
8016
|
(p(), P(ht(u.value), {
|
|
8020
8017
|
ref_key: "commentContent",
|
|
8021
8018
|
ref: n,
|
|
@@ -8034,7 +8031,7 @@ const nv = { class: "ao-comment" }, iv = { class: "ao-comment__created-at" }, ov
|
|
|
8034
8031
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
8035
8032
|
])
|
|
8036
8033
|
]),
|
|
8037
|
-
g.isEditable ? (p(), m("div",
|
|
8034
|
+
g.isEditable ? (p(), m("div", uv, [
|
|
8038
8035
|
J(o) ? (p(), m(fe, { key: 0 }, [
|
|
8039
8036
|
T(ue, {
|
|
8040
8037
|
"icon-name": "CloseRounded",
|
|
@@ -8072,10 +8069,10 @@ const nv = { class: "ao-comment" }, iv = { class: "ao-comment__created-at" }, ov
|
|
|
8072
8069
|
};
|
|
8073
8070
|
}
|
|
8074
8071
|
});
|
|
8075
|
-
const
|
|
8072
|
+
const dv = { class: "ao-comments__header" }, pv = ["onSubmit"], vv = ["placeholder"], fv = { class: "ao-comments__form-submit" }, hv = {
|
|
8076
8073
|
key: 0,
|
|
8077
8074
|
class: "ao-comments__list"
|
|
8078
|
-
},
|
|
8075
|
+
}, mv = /* @__PURE__ */ Y({
|
|
8079
8076
|
__name: "AoActivityDetailsComments",
|
|
8080
8077
|
props: {
|
|
8081
8078
|
comments: { default: () => [] },
|
|
@@ -8116,7 +8113,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8116
8113
|
ref: o,
|
|
8117
8114
|
class: "ao-comments"
|
|
8118
8115
|
}, [
|
|
8119
|
-
f("div",
|
|
8116
|
+
f("div", dv, [
|
|
8120
8117
|
f("form", {
|
|
8121
8118
|
class: "ao-comments__form",
|
|
8122
8119
|
onSubmit: ve(l, ["prevent"])
|
|
@@ -8126,7 +8123,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8126
8123
|
rows: "2",
|
|
8127
8124
|
class: "ao-field__textarea ao-comments__form-textarea",
|
|
8128
8125
|
placeholder: v.$t("activity.comment.label")
|
|
8129
|
-
}, null, 8,
|
|
8126
|
+
}, null, 8, vv), [
|
|
8130
8127
|
[
|
|
8131
8128
|
Ge,
|
|
8132
8129
|
r.value,
|
|
@@ -8134,7 +8131,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8134
8131
|
{ trim: !0 }
|
|
8135
8132
|
]
|
|
8136
8133
|
]),
|
|
8137
|
-
f("div",
|
|
8134
|
+
f("div", fv, [
|
|
8138
8135
|
T(ue, {
|
|
8139
8136
|
type: "submit",
|
|
8140
8137
|
"icon-name": "SendRounded",
|
|
@@ -8144,10 +8141,10 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8144
8141
|
size: "sm"
|
|
8145
8142
|
})
|
|
8146
8143
|
])
|
|
8147
|
-
], 40,
|
|
8144
|
+
], 40, pv)
|
|
8148
8145
|
]),
|
|
8149
|
-
((h = s.value) == null ? void 0 : h.length) > 0 ? (p(), m("ul",
|
|
8150
|
-
(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, {
|
|
8151
8148
|
key: w.id,
|
|
8152
8149
|
user: n(w.author.id),
|
|
8153
8150
|
content: w.message,
|
|
@@ -8163,7 +8160,7 @@ const cv = { class: "ao-comments__header" }, dv = ["onSubmit"], pv = ["placehold
|
|
|
8163
8160
|
};
|
|
8164
8161
|
}
|
|
8165
8162
|
});
|
|
8166
|
-
const
|
|
8163
|
+
const bs = /* @__PURE__ */ Y({
|
|
8167
8164
|
__name: "AoButtonCheck",
|
|
8168
8165
|
props: {
|
|
8169
8166
|
modelValue: { type: Boolean },
|
|
@@ -8180,34 +8177,34 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8180
8177
|
onClick: o[0] || (o[0] = () => s())
|
|
8181
8178
|
}, null, 8, ["color"]));
|
|
8182
8179
|
}
|
|
8183
|
-
}),
|
|
8180
|
+
}), Cv = { class: "ao-activity-details" }, gv = { class: "ao-activity-details__main" }, _v = { class: "ao-activity-details__header" }, yv = {
|
|
8184
8181
|
key: 1,
|
|
8185
8182
|
class: "ao-activity__category"
|
|
8186
|
-
},
|
|
8183
|
+
}, bv = { class: "ao-feed__activity-details__header" }, wv = {
|
|
8187
8184
|
key: 0,
|
|
8188
8185
|
class: "ao-field ao-feed__activity-details__project"
|
|
8189
|
-
},
|
|
8186
|
+
}, $v = { class: "ao-field__label" }, kv = {
|
|
8190
8187
|
key: 1,
|
|
8191
8188
|
class: "ao-field ao-feed__activity-details__project"
|
|
8192
|
-
},
|
|
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 = {
|
|
8193
8190
|
key: 0,
|
|
8194
8191
|
class: "ao-fieldset"
|
|
8195
|
-
},
|
|
8192
|
+
}, jv = { class: "ao-fieldset__title" }, Uv = { class: "ao-activity-details__aside" }, Fv = { class: "ao-activity-details__close-button" }, Zv = {
|
|
8196
8193
|
key: 0,
|
|
8197
8194
|
class: "ao-activity-details__aside-section"
|
|
8198
|
-
},
|
|
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 = {
|
|
8199
8196
|
key: 0,
|
|
8200
8197
|
class: "ao-field__row"
|
|
8201
|
-
},
|
|
8198
|
+
}, Qv = { class: "ao-field" }, Jv = { class: "ao-field__label" }, ef = ["readonly"], tf = { class: "ao-activity-details__aside-section" }, af = {
|
|
8202
8199
|
key: 0,
|
|
8203
8200
|
class: "ao-field__row"
|
|
8204
|
-
},
|
|
8201
|
+
}, sf = { class: "ao-field ao-field--multiselect" }, nf = { class: "ao-activity-details__aside-section" }, of = {
|
|
8205
8202
|
key: 1,
|
|
8206
8203
|
class: "ao-activity-details__aside-section"
|
|
8207
|
-
},
|
|
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 = {
|
|
8208
8205
|
key: 2,
|
|
8209
8206
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8210
|
-
},
|
|
8207
|
+
}, Cf = { class: "ao-activity__created-by" }, Fs = /* @__PURE__ */ Y({
|
|
8211
8208
|
__name: "AoActivityDetails",
|
|
8212
8209
|
props: {
|
|
8213
8210
|
activity: {},
|
|
@@ -8420,16 +8417,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8420
8417
|
console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
|
|
8421
8418
|
});
|
|
8422
8419
|
}
|
|
8423
|
-
return (y, R) => (p(), P(
|
|
8420
|
+
return (y, R) => (p(), P(Ga, {
|
|
8424
8421
|
onClose: R[10] || (R[10] = (le) => y.$emit("close"))
|
|
8425
8422
|
}, {
|
|
8426
8423
|
default: Z(() => {
|
|
8427
8424
|
var le, oe, q;
|
|
8428
8425
|
return [
|
|
8429
|
-
f("div",
|
|
8430
|
-
f("div",
|
|
8431
|
-
f("div",
|
|
8432
|
-
y.activity.slug ? (p(), P(
|
|
8426
|
+
f("div", Cv, [
|
|
8427
|
+
f("div", gv, [
|
|
8428
|
+
f("div", _v, [
|
|
8429
|
+
y.activity.slug ? (p(), P(Wa, {
|
|
8433
8430
|
key: 0,
|
|
8434
8431
|
label: y.activity.slug,
|
|
8435
8432
|
clickable: !0,
|
|
@@ -8438,16 +8435,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8438
8435
|
class: "ao-activity__ao-tag",
|
|
8439
8436
|
onClick: ie
|
|
8440
8437
|
}, null, 8, ["label"])) : O("", !0),
|
|
8441
|
-
y.breadcrumbs ? (p(), m("div",
|
|
8438
|
+
y.breadcrumbs ? (p(), m("div", yv, z(y.breadcrumbs), 1)) : O("", !0),
|
|
8442
8439
|
T(ye, {
|
|
8443
8440
|
title: y.activity.name || "",
|
|
8444
8441
|
level: 4,
|
|
8445
8442
|
"is-editable": s.value,
|
|
8446
8443
|
"onUpdate:title": n
|
|
8447
8444
|
}, null, 8, ["title", "is-editable"]),
|
|
8448
|
-
f("div",
|
|
8449
|
-
G.value ? (p(), m("label",
|
|
8450
|
-
f("span",
|
|
8445
|
+
f("div", bv, [
|
|
8446
|
+
G.value ? (p(), m("label", wv, [
|
|
8447
|
+
f("span", $v, z(y.$t("activity.project.label")), 1),
|
|
8451
8448
|
T(ke, {
|
|
8452
8449
|
options: G.value,
|
|
8453
8450
|
value: (le = y.activity.project) == null ? void 0 : le.id,
|
|
@@ -8457,8 +8454,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8457
8454
|
onChange: N
|
|
8458
8455
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8459
8456
|
])) : O("", !0),
|
|
8460
|
-
se.value ? (p(), m("label",
|
|
8461
|
-
f("span",
|
|
8457
|
+
se.value ? (p(), m("label", kv, [
|
|
8458
|
+
f("span", Sv, z(y.$t("activity.milestone.label")), 1),
|
|
8462
8459
|
T(ke, {
|
|
8463
8460
|
options: se.value,
|
|
8464
8461
|
value: (oe = y.activity.milestone) == null ? void 0 : oe.id,
|
|
@@ -8471,24 +8468,24 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8471
8468
|
]),
|
|
8472
8469
|
ae(y.$slots, "header")
|
|
8473
8470
|
]),
|
|
8474
|
-
f("div",
|
|
8475
|
-
f("fieldset",
|
|
8476
|
-
f("div",
|
|
8477
|
-
T(
|
|
8471
|
+
f("div", Av, [
|
|
8472
|
+
f("fieldset", Mv, [
|
|
8473
|
+
f("div", Tv, [
|
|
8474
|
+
T(nv, {
|
|
8478
8475
|
attachments: y.activity.attachments,
|
|
8479
8476
|
"is-editable": y.attachmentEnabled && s.value && y.isTemplate !== !0 && !!y.userId,
|
|
8480
8477
|
onAdd: W,
|
|
8481
8478
|
onRemove: x
|
|
8482
8479
|
}, {
|
|
8483
8480
|
default: Z(() => [
|
|
8484
|
-
f("label",
|
|
8485
|
-
f("span",
|
|
8481
|
+
f("label", Ov, [
|
|
8482
|
+
f("span", Ev, z(y.$t("activity.description.label")), 1),
|
|
8486
8483
|
Re(f("textarea", {
|
|
8487
8484
|
"onUpdate:modelValue": R[0] || (R[0] = (H) => o.value = H),
|
|
8488
8485
|
readonly: !s.value,
|
|
8489
8486
|
rows: "4",
|
|
8490
8487
|
class: "ao-field__textarea"
|
|
8491
|
-
}, null, 8,
|
|
8488
|
+
}, null, 8, Iv), [
|
|
8492
8489
|
[
|
|
8493
8490
|
Ge,
|
|
8494
8491
|
o.value,
|
|
@@ -8504,16 +8501,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8504
8501
|
_: 1
|
|
8505
8502
|
}, 8, ["attachments", "is-editable"])
|
|
8506
8503
|
]),
|
|
8507
|
-
f("div",
|
|
8508
|
-
f("label",
|
|
8509
|
-
f("span",
|
|
8504
|
+
f("div", Lv, [
|
|
8505
|
+
f("label", Hv, [
|
|
8506
|
+
f("span", Dv, z(y.$t("activity.estimation.label")), 1),
|
|
8510
8507
|
Re(f("input", {
|
|
8511
8508
|
"onUpdate:modelValue": R[1] || (R[1] = (H) => i.value = H),
|
|
8512
8509
|
readonly: !s.value,
|
|
8513
8510
|
class: "ao-field__input ao-field__input--estim",
|
|
8514
8511
|
type: "number",
|
|
8515
8512
|
min: "0"
|
|
8516
|
-
}, null, 8,
|
|
8513
|
+
}, null, 8, Pv), [
|
|
8517
8514
|
[
|
|
8518
8515
|
Ge,
|
|
8519
8516
|
i.value,
|
|
@@ -8527,16 +8524,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8527
8524
|
])
|
|
8528
8525
|
])
|
|
8529
8526
|
]),
|
|
8530
|
-
f("fieldset",
|
|
8531
|
-
f("div",
|
|
8527
|
+
f("fieldset", Vv, [
|
|
8528
|
+
f("div", Bv, [
|
|
8532
8529
|
T(pe, { name: "SelectCheckBox" }),
|
|
8533
8530
|
T(ye, {
|
|
8534
8531
|
level: 4,
|
|
8535
8532
|
title: y.$t("activity.tasks.title")
|
|
8536
8533
|
}, null, 8, ["title"])
|
|
8537
8534
|
]),
|
|
8538
|
-
f("div",
|
|
8539
|
-
T(
|
|
8535
|
+
f("div", Rv, [
|
|
8536
|
+
T(zp, {
|
|
8540
8537
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8541
8538
|
tasks: y.activity.tasks || [],
|
|
8542
8539
|
"activity-id": y.activity.id,
|
|
@@ -8550,15 +8547,15 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8550
8547
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
8551
8548
|
])
|
|
8552
8549
|
]),
|
|
8553
|
-
y.isTemplate !== !0 && y.userId ? (p(), m("div",
|
|
8554
|
-
f("div",
|
|
8550
|
+
y.isTemplate !== !0 && y.userId ? (p(), m("div", Nv, [
|
|
8551
|
+
f("div", jv, [
|
|
8555
8552
|
T(pe, { name: "ChatOutline" }),
|
|
8556
8553
|
T(ye, {
|
|
8557
8554
|
level: 4,
|
|
8558
8555
|
title: y.$t("activity.comments.title")
|
|
8559
8556
|
}, null, 8, ["title"])
|
|
8560
8557
|
]),
|
|
8561
|
-
T(
|
|
8558
|
+
T(mv, {
|
|
8562
8559
|
comments: y.activity.comments,
|
|
8563
8560
|
users: y.users,
|
|
8564
8561
|
"user-id": y.userId,
|
|
@@ -8569,16 +8566,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8569
8566
|
])) : O("", !0)
|
|
8570
8567
|
])
|
|
8571
8568
|
]),
|
|
8572
|
-
f("div",
|
|
8573
|
-
f("div",
|
|
8569
|
+
f("div", Uv, [
|
|
8570
|
+
f("div", Fv, [
|
|
8574
8571
|
T(pe, {
|
|
8575
8572
|
name: "CloseRounded",
|
|
8576
8573
|
onClick: R[2] || (R[2] = (H) => y.$emit("close"))
|
|
8577
8574
|
})
|
|
8578
8575
|
]),
|
|
8579
|
-
K.value ? (p(), m("div",
|
|
8580
|
-
f("label",
|
|
8581
|
-
f("span",
|
|
8576
|
+
K.value ? (p(), m("div", Zv, [
|
|
8577
|
+
f("label", Wv, [
|
|
8578
|
+
f("span", qv, z(y.$t("activity.status.label")), 1),
|
|
8582
8579
|
T(ke, {
|
|
8583
8580
|
class: "ao-activity-details__multiselect",
|
|
8584
8581
|
options: K.value,
|
|
@@ -8591,10 +8588,10 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8591
8588
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8592
8589
|
])
|
|
8593
8590
|
])) : O("", !0),
|
|
8594
|
-
f("div",
|
|
8595
|
-
f("div",
|
|
8596
|
-
f("div",
|
|
8597
|
-
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),
|
|
8598
8595
|
T(ue, {
|
|
8599
8596
|
label: y.$t("activity.assignee.toMe"),
|
|
8600
8597
|
type: "button",
|
|
@@ -8632,16 +8629,16 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8632
8629
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
8633
8630
|
])
|
|
8634
8631
|
]),
|
|
8635
|
-
f("div",
|
|
8636
|
-
y.isTemplate !== !0 && y.userId ? (p(), m("div",
|
|
8637
|
-
f("label",
|
|
8638
|
-
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),
|
|
8639
8636
|
Re(f("input", {
|
|
8640
8637
|
"onUpdate:modelValue": R[4] || (R[4] = (H) => c.value = H),
|
|
8641
8638
|
readonly: !s.value,
|
|
8642
8639
|
class: "ao-field__input",
|
|
8643
8640
|
type: "date"
|
|
8644
|
-
}, null, 8,
|
|
8641
|
+
}, null, 8, ef), [
|
|
8645
8642
|
[
|
|
8646
8643
|
Ge,
|
|
8647
8644
|
c.value,
|
|
@@ -8652,9 +8649,9 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8652
8649
|
])
|
|
8653
8650
|
])) : O("", !0)
|
|
8654
8651
|
]),
|
|
8655
|
-
f("div",
|
|
8656
|
-
u.value ? (p(), m("div",
|
|
8657
|
-
f("label",
|
|
8652
|
+
f("div", tf, [
|
|
8653
|
+
u.value ? (p(), m("div", af, [
|
|
8654
|
+
f("label", sf, [
|
|
8658
8655
|
T(ke, {
|
|
8659
8656
|
modelValue: v.value,
|
|
8660
8657
|
"onUpdate:modelValue": R[5] || (R[5] = (H) => v.value = H),
|
|
@@ -8670,8 +8667,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8670
8667
|
])) : O("", !0),
|
|
8671
8668
|
ae(y.$slots, "default", { activity: y.activity })
|
|
8672
8669
|
]),
|
|
8673
|
-
f("div",
|
|
8674
|
-
T(
|
|
8670
|
+
f("div", nf, [
|
|
8671
|
+
T(bs, {
|
|
8675
8672
|
modelValue: r.value,
|
|
8676
8673
|
"onUpdate:modelValue": R[6] || (R[6] = (H) => r.value = H),
|
|
8677
8674
|
modelModifiers: { lazy: !0 },
|
|
@@ -8685,8 +8682,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8685
8682
|
size: "sm"
|
|
8686
8683
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8687
8684
|
]),
|
|
8688
|
-
y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (p(), m("div",
|
|
8689
|
-
T(
|
|
8685
|
+
y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (p(), m("div", of, [
|
|
8686
|
+
T(bs, {
|
|
8690
8687
|
modelValue: l.value,
|
|
8691
8688
|
"onUpdate:modelValue": R[7] || (R[7] = (H) => l.value = H),
|
|
8692
8689
|
modelModifiers: { lazy: !0 },
|
|
@@ -8699,18 +8696,18 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8699
8696
|
size: "sm"
|
|
8700
8697
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8701
8698
|
])) : O("", !0),
|
|
8702
|
-
f("fieldset",
|
|
8703
|
-
f("div",
|
|
8699
|
+
f("fieldset", rf, [
|
|
8700
|
+
f("div", lf, [
|
|
8704
8701
|
T(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8705
8702
|
T(ye, {
|
|
8706
8703
|
level: 4,
|
|
8707
8704
|
title: y.$t("activity.dependencies.title")
|
|
8708
8705
|
}, null, 8, ["title"])
|
|
8709
8706
|
]),
|
|
8710
|
-
f("div",
|
|
8711
|
-
f("div",
|
|
8712
|
-
f("label",
|
|
8713
|
-
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),
|
|
8714
8711
|
T(ke, {
|
|
8715
8712
|
modelValue: h.value,
|
|
8716
8713
|
"onUpdate:modelValue": R[8] || (R[8] = (H) => h.value = H),
|
|
@@ -8724,9 +8721,9 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8724
8721
|
}, null, 8, ["modelValue", "options", "disabled", "caret"])
|
|
8725
8722
|
])
|
|
8726
8723
|
]),
|
|
8727
|
-
f("div",
|
|
8728
|
-
f("label",
|
|
8729
|
-
f("span",
|
|
8724
|
+
f("div", vf, [
|
|
8725
|
+
f("label", ff, [
|
|
8726
|
+
f("span", hf, z(y.$t("activity.blocking.label")), 1),
|
|
8730
8727
|
T(ke, {
|
|
8731
8728
|
modelValue: g.value,
|
|
8732
8729
|
"onUpdate:modelValue": R[9] || (R[9] = (H) => g.value = H),
|
|
@@ -8742,8 +8739,8 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8742
8739
|
])
|
|
8743
8740
|
])
|
|
8744
8741
|
]),
|
|
8745
|
-
y.isTemplate !== !0 && V.value ? (p(), m("div",
|
|
8746
|
-
f("div",
|
|
8742
|
+
y.isTemplate !== !0 && V.value ? (p(), m("div", mf, [
|
|
8743
|
+
f("div", Cf, [
|
|
8747
8744
|
T(et, {
|
|
8748
8745
|
"user-name": V.value,
|
|
8749
8746
|
color: "black"
|
|
@@ -8759,7 +8756,7 @@ const ws = /* @__PURE__ */ Y({
|
|
|
8759
8756
|
}));
|
|
8760
8757
|
}
|
|
8761
8758
|
});
|
|
8762
|
-
const
|
|
8759
|
+
const gf = /* @__PURE__ */ Y({
|
|
8763
8760
|
__name: "AoRuleLine",
|
|
8764
8761
|
props: {
|
|
8765
8762
|
rule: {},
|
|
@@ -8883,7 +8880,7 @@ const Cf = /* @__PURE__ */ Y({
|
|
|
8883
8880
|
}));
|
|
8884
8881
|
}
|
|
8885
8882
|
});
|
|
8886
|
-
const
|
|
8883
|
+
const _f = { class: "ao-template-rules__body" }, yf = { class: "ao-template-rules__list" }, bf = /* @__PURE__ */ Y({
|
|
8887
8884
|
__name: "AoTemplateRules",
|
|
8888
8885
|
props: {
|
|
8889
8886
|
templateId: {},
|
|
@@ -8899,7 +8896,7 @@ const gf = { class: "ao-template-rules__body" }, _f = { class: "ao-template-rule
|
|
|
8899
8896
|
}, s = (n) => {
|
|
8900
8897
|
e("removeRule", n);
|
|
8901
8898
|
};
|
|
8902
|
-
return (n, o) => (p(), P(
|
|
8899
|
+
return (n, o) => (p(), P(Ga, null, {
|
|
8903
8900
|
header: Z(() => [
|
|
8904
8901
|
T(ye, {
|
|
8905
8902
|
title: n.$t("template.rules.title"),
|
|
@@ -8907,9 +8904,9 @@ const gf = { class: "ao-template-rules__body" }, _f = { class: "ao-template-rule
|
|
|
8907
8904
|
}, null, 8, ["title"])
|
|
8908
8905
|
]),
|
|
8909
8906
|
default: Z(() => [
|
|
8910
|
-
f("div",
|
|
8911
|
-
f("ul",
|
|
8912
|
-
(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, {
|
|
8913
8910
|
key: i.id,
|
|
8914
8911
|
rule: i,
|
|
8915
8912
|
"template-phases": n.templatePhases,
|
|
@@ -8937,10 +8934,10 @@ function Rt(t, e, a) {
|
|
|
8937
8934
|
rank: o.format()
|
|
8938
8935
|
};
|
|
8939
8936
|
}
|
|
8940
|
-
const
|
|
8937
|
+
const wf = {
|
|
8941
8938
|
key: 0,
|
|
8942
8939
|
class: "ao-template-details"
|
|
8943
|
-
},
|
|
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({
|
|
8944
8941
|
__name: "AoTemplateDetails",
|
|
8945
8942
|
props: {
|
|
8946
8943
|
templateId: {},
|
|
@@ -9182,8 +9179,8 @@ const bf = {
|
|
|
9182
9179
|
};
|
|
9183
9180
|
return ($, U) => {
|
|
9184
9181
|
var V, ie, y, R, le, oe;
|
|
9185
|
-
return n.value ? (p(), m("div",
|
|
9186
|
-
T(
|
|
9182
|
+
return n.value ? (p(), m("div", wf, [
|
|
9183
|
+
T(Ka, {
|
|
9187
9184
|
"can-go-back": !0,
|
|
9188
9185
|
onGoBack: U[1] || (U[1] = (q) => $.$router.push({ name: J(Pt).TEMPLATES_LIST }))
|
|
9189
9186
|
}, {
|
|
@@ -9199,9 +9196,9 @@ const bf = {
|
|
|
9199
9196
|
]),
|
|
9200
9197
|
_: 1
|
|
9201
9198
|
}),
|
|
9202
|
-
f("div",
|
|
9203
|
-
f("ol",
|
|
9204
|
-
f("li",
|
|
9199
|
+
f("div", $f, [
|
|
9200
|
+
f("ol", kf, [
|
|
9201
|
+
f("li", Sf, [
|
|
9205
9202
|
T(J(mt), {
|
|
9206
9203
|
"model-value": n.value.phases,
|
|
9207
9204
|
class: "ao-templates__list",
|
|
@@ -9219,7 +9216,7 @@ const bf = {
|
|
|
9219
9216
|
item: Z(({ element: q }) => {
|
|
9220
9217
|
var H;
|
|
9221
9218
|
return [
|
|
9222
|
-
T(
|
|
9219
|
+
T(c5, {
|
|
9223
9220
|
id: q.id,
|
|
9224
9221
|
name: q.name,
|
|
9225
9222
|
milestones: q.milestones,
|
|
@@ -9236,7 +9233,7 @@ const bf = {
|
|
|
9236
9233
|
];
|
|
9237
9234
|
}),
|
|
9238
9235
|
footer: Z(() => [
|
|
9239
|
-
f("div",
|
|
9236
|
+
f("div", Af, [
|
|
9240
9237
|
T(Ct, {
|
|
9241
9238
|
"icon-name": "AddBoxOutlineRounded",
|
|
9242
9239
|
label: $.$t("template.phases.add"),
|
|
@@ -9247,8 +9244,8 @@ const bf = {
|
|
|
9247
9244
|
_: 1
|
|
9248
9245
|
}, 8, ["model-value"])
|
|
9249
9246
|
]),
|
|
9250
|
-
f("li",
|
|
9251
|
-
i.value ? (p(), P(
|
|
9247
|
+
f("li", Mf, [
|
|
9248
|
+
i.value ? (p(), P(v5, {
|
|
9252
9249
|
key: 0,
|
|
9253
9250
|
"template-id": $.templateId,
|
|
9254
9251
|
phase: i.value,
|
|
@@ -9259,8 +9256,8 @@ const bf = {
|
|
|
9259
9256
|
onRemoveMilestone: _
|
|
9260
9257
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : O("", !0)
|
|
9261
9258
|
]),
|
|
9262
|
-
f("li",
|
|
9263
|
-
i.value && r.value ? (p(), P(
|
|
9259
|
+
f("li", Tf, [
|
|
9260
|
+
i.value && r.value ? (p(), P(m5, {
|
|
9264
9261
|
key: 0,
|
|
9265
9262
|
"template-id": $.templateId,
|
|
9266
9263
|
"phase-id": (ie = i.value) == null ? void 0 : ie.id,
|
|
@@ -9303,7 +9300,7 @@ const bf = {
|
|
|
9303
9300
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
9304
9301
|
])),
|
|
9305
9302
|
(p(), P(jt, { to: "body" }, [
|
|
9306
|
-
F.value ? (p(), P(
|
|
9303
|
+
F.value ? (p(), P(bf, {
|
|
9307
9304
|
key: 0,
|
|
9308
9305
|
"template-id": n.value.id,
|
|
9309
9306
|
rules: n.value.rules || [],
|
|
@@ -9319,10 +9316,10 @@ const bf = {
|
|
|
9319
9316
|
};
|
|
9320
9317
|
}
|
|
9321
9318
|
});
|
|
9322
|
-
const
|
|
9319
|
+
const Ef = {
|
|
9323
9320
|
key: 0,
|
|
9324
9321
|
class: "ao-card__header"
|
|
9325
|
-
},
|
|
9322
|
+
}, If = { class: "ao-card__body" }, Lf = {
|
|
9326
9323
|
key: 1,
|
|
9327
9324
|
class: "ao-card__footer"
|
|
9328
9325
|
}, Zs = /* @__PURE__ */ Y({
|
|
@@ -9343,13 +9340,13 @@ const Of = {
|
|
|
9343
9340
|
])
|
|
9344
9341
|
}, {
|
|
9345
9342
|
default: Z(() => [
|
|
9346
|
-
e.$slots.header ? (p(), m("header",
|
|
9343
|
+
e.$slots.header ? (p(), m("header", Ef, [
|
|
9347
9344
|
ae(e.$slots, "header")
|
|
9348
9345
|
])) : O("", !0),
|
|
9349
|
-
f("div",
|
|
9346
|
+
f("div", If, [
|
|
9350
9347
|
ae(e.$slots, "default")
|
|
9351
9348
|
]),
|
|
9352
|
-
e.$slots.footer ? (p(), m("footer",
|
|
9349
|
+
e.$slots.footer ? (p(), m("footer", Lf, [
|
|
9353
9350
|
ae(e.$slots, "footer")
|
|
9354
9351
|
])) : O("", !0)
|
|
9355
9352
|
]),
|
|
@@ -9377,16 +9374,16 @@ const Ws = /* @__PURE__ */ Y({
|
|
|
9377
9374
|
], 2));
|
|
9378
9375
|
}
|
|
9379
9376
|
});
|
|
9380
|
-
const
|
|
9377
|
+
const Hf = { class: "ao-card-project-phase__header" }, Df = { class: "ao-card-project-item__title-line" }, Pf = {
|
|
9381
9378
|
key: 0,
|
|
9382
9379
|
class: "ao-card-project-item-phase__estimation"
|
|
9383
|
-
},
|
|
9380
|
+
}, Vf = { class: "ao-card-project-phase__footer" }, Bf = {
|
|
9384
9381
|
key: 0,
|
|
9385
9382
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9386
|
-
},
|
|
9383
|
+
}, Rf = { class: "ao-card-project-phase__subitem" }, Nf = { class: "ao-card-project-phase__subitem" }, jf = {
|
|
9387
9384
|
key: 0,
|
|
9388
9385
|
class: "ao-card-project-phase__secondary"
|
|
9389
|
-
},
|
|
9386
|
+
}, Uf = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Ff = /* @__PURE__ */ Y({
|
|
9390
9387
|
__name: "AoCardProjectItemPhase",
|
|
9391
9388
|
props: {
|
|
9392
9389
|
id: {},
|
|
@@ -9414,7 +9411,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9414
9411
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9415
9412
|
}), i = M(() => {
|
|
9416
9413
|
var c;
|
|
9417
|
-
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;
|
|
9418
9415
|
}), r = M(() => (i.value || 0) / (o.value || 1)), l = M({
|
|
9419
9416
|
get: () => a.deadline ?? "",
|
|
9420
9417
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9422,9 +9419,9 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9422
9419
|
return (c, u) => (p(), P(Zs, {
|
|
9423
9420
|
class: "ao-card-project-phase",
|
|
9424
9421
|
"is-clickable": c.isEditable
|
|
9425
|
-
},
|
|
9422
|
+
}, ks({
|
|
9426
9423
|
default: Z(() => [
|
|
9427
|
-
f("div",
|
|
9424
|
+
f("div", Df, [
|
|
9428
9425
|
T(ye, {
|
|
9429
9426
|
id: c.id,
|
|
9430
9427
|
class: "ao-card-project-phase__title",
|
|
@@ -9433,24 +9430,24 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9433
9430
|
"is-editable": c.isEditable,
|
|
9434
9431
|
"onUpdate:title": s
|
|
9435
9432
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9436
|
-
n.value ? (p(), m("span",
|
|
9433
|
+
n.value ? (p(), m("span", Pf, " (" + z(n.value) + ")", 1)) : O("", !0)
|
|
9437
9434
|
])
|
|
9438
9435
|
]),
|
|
9439
9436
|
footer: Z(() => [
|
|
9440
|
-
f("div",
|
|
9441
|
-
o.value ? (p(), m("div",
|
|
9442
|
-
f("div",
|
|
9437
|
+
f("div", Vf, [
|
|
9438
|
+
o.value ? (p(), m("div", Bf, [
|
|
9439
|
+
f("div", Rf, [
|
|
9443
9440
|
T(pe, {
|
|
9444
9441
|
name: "MountainFlagOutlineRounded",
|
|
9445
9442
|
size: "sm"
|
|
9446
9443
|
}),
|
|
9447
|
-
f("span",
|
|
9444
|
+
f("span", Nf, z(i.value) + " / " + z(o.value), 1)
|
|
9448
9445
|
]),
|
|
9449
9446
|
T(Ws, {
|
|
9450
9447
|
percentages: r.value,
|
|
9451
9448
|
class: "ao-card-project-phase__progress"
|
|
9452
9449
|
}, null, 8, ["percentages"]),
|
|
9453
|
-
c.$slots.secondary ? (p(), m("div",
|
|
9450
|
+
c.$slots.secondary ? (p(), m("div", jf, [
|
|
9454
9451
|
ae(c.$slots, "secondary")
|
|
9455
9452
|
])) : O("", !0)
|
|
9456
9453
|
])) : O("", !0),
|
|
@@ -9470,7 +9467,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9470
9467
|
{ lazy: !0 }
|
|
9471
9468
|
]
|
|
9472
9469
|
]) : O("", !0),
|
|
9473
|
-
f("span",
|
|
9470
|
+
f("span", Uf, z(J(Ts)(c.deadline)), 1)
|
|
9474
9471
|
], 2)
|
|
9475
9472
|
])
|
|
9476
9473
|
]),
|
|
@@ -9479,7 +9476,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9479
9476
|
c.isEditable ? {
|
|
9480
9477
|
name: "header",
|
|
9481
9478
|
fn: Z(() => [
|
|
9482
|
-
f("div",
|
|
9479
|
+
f("div", Hf, [
|
|
9483
9480
|
T(ue, {
|
|
9484
9481
|
class: "ao-card-project-phase__archive",
|
|
9485
9482
|
color: "primary",
|
|
@@ -9498,7 +9495,7 @@ const Lf = { class: "ao-card-project-phase__header" }, Hf = { class: "ao-card-pr
|
|
|
9498
9495
|
]), 1032, ["is-clickable"]));
|
|
9499
9496
|
}
|
|
9500
9497
|
});
|
|
9501
|
-
const
|
|
9498
|
+
const Zf = /* @__PURE__ */ Y({
|
|
9502
9499
|
__name: "AoBadge",
|
|
9503
9500
|
props: {
|
|
9504
9501
|
color: {}
|
|
@@ -9510,22 +9507,22 @@ const Ff = /* @__PURE__ */ Y({
|
|
|
9510
9507
|
}, null, 4));
|
|
9511
9508
|
}
|
|
9512
9509
|
});
|
|
9513
|
-
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 = {
|
|
9514
9511
|
key: 0,
|
|
9515
9512
|
class: "ao-card-project-item-milestone__estimation"
|
|
9516
|
-
},
|
|
9513
|
+
}, Yf = {
|
|
9517
9514
|
key: 0,
|
|
9518
9515
|
class: "ao-card-project-milestone__archive"
|
|
9519
|
-
},
|
|
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 = {
|
|
9520
9517
|
key: 1,
|
|
9521
9518
|
class: "ao-card-project-milestone__secondary"
|
|
9522
|
-
},
|
|
9519
|
+
}, e9 = { class: "ao-card-project-milestone__footer" }, t9 = {
|
|
9523
9520
|
key: 1,
|
|
9524
9521
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9525
|
-
},
|
|
9522
|
+
}, a9 = { class: "ao-field__label" }, s9 = {
|
|
9526
9523
|
key: 2,
|
|
9527
9524
|
class: "ao-card-project-milestone__assignee"
|
|
9528
|
-
},
|
|
9525
|
+
}, n9 = /* @__PURE__ */ Y({
|
|
9529
9526
|
__name: "AoCardProjectItemMilestone",
|
|
9530
9527
|
props: {
|
|
9531
9528
|
id: {},
|
|
@@ -9566,12 +9563,12 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9566
9563
|
"is-selected": l.isSelected
|
|
9567
9564
|
}, {
|
|
9568
9565
|
default: Z(() => [
|
|
9569
|
-
f("div",
|
|
9570
|
-
f("div",
|
|
9571
|
-
T(
|
|
9566
|
+
f("div", Wf, [
|
|
9567
|
+
f("div", qf, [
|
|
9568
|
+
T(Zf, {
|
|
9572
9569
|
color: l.color || ""
|
|
9573
9570
|
}, null, 8, ["color"]),
|
|
9574
|
-
f("div",
|
|
9571
|
+
f("div", zf, [
|
|
9575
9572
|
T(ye, {
|
|
9576
9573
|
id: l.id,
|
|
9577
9574
|
title: l.name || "",
|
|
@@ -9580,10 +9577,10 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9580
9577
|
class: "ao-card-project-milestone__title",
|
|
9581
9578
|
"onUpdate:title": r
|
|
9582
9579
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9583
|
-
s.value ? (p(), m("span",
|
|
9580
|
+
s.value ? (p(), m("span", xf, " (" + z(s.value) + ")", 1)) : O("", !0)
|
|
9584
9581
|
])
|
|
9585
9582
|
]),
|
|
9586
|
-
!l.readonly && l.isEditable ? (p(), m("div",
|
|
9583
|
+
!l.readonly && l.isEditable ? (p(), m("div", Yf, [
|
|
9587
9584
|
T(ue, {
|
|
9588
9585
|
color: l.isSelected ? void 0 : "primary",
|
|
9589
9586
|
variant: "ghost",
|
|
@@ -9596,29 +9593,29 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9596
9593
|
}, null, 8, ["color", "label"])
|
|
9597
9594
|
])) : O("", !0)
|
|
9598
9595
|
]),
|
|
9599
|
-
f("div",
|
|
9600
|
-
f("div",
|
|
9596
|
+
f("div", Kf, [
|
|
9597
|
+
f("div", Gf, [
|
|
9601
9598
|
n.value ? (p(), m(fe, { key: 0 }, [
|
|
9602
|
-
f("div",
|
|
9599
|
+
f("div", Xf, [
|
|
9603
9600
|
T(pe, {
|
|
9604
9601
|
name: "SelectCheckBox",
|
|
9605
9602
|
size: "sm"
|
|
9606
9603
|
}),
|
|
9607
|
-
f("span",
|
|
9604
|
+
f("span", Qf, z(o.value) + " / " + z(n.value), 1)
|
|
9608
9605
|
]),
|
|
9609
9606
|
T(Ws, {
|
|
9610
9607
|
percentages: i.value,
|
|
9611
9608
|
class: "ao-card-project-milestone__progress"
|
|
9612
9609
|
}, null, 8, ["percentages"])
|
|
9613
9610
|
], 64)) : O("", !0),
|
|
9614
|
-
l.$slots.secondary ? (p(), m("div",
|
|
9611
|
+
l.$slots.secondary ? (p(), m("div", Jf, [
|
|
9615
9612
|
ae(l.$slots, "secondary")
|
|
9616
9613
|
])) : O("", !0)
|
|
9617
9614
|
])
|
|
9618
9615
|
])
|
|
9619
9616
|
]),
|
|
9620
9617
|
footer: Z(() => [
|
|
9621
|
-
f("div",
|
|
9618
|
+
f("div", e9, [
|
|
9622
9619
|
l.important ? (p(), P(pe, {
|
|
9623
9620
|
key: 0,
|
|
9624
9621
|
name: "FlagRounded",
|
|
@@ -9627,10 +9624,10 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9627
9624
|
),
|
|
9628
9625
|
size: "sm"
|
|
9629
9626
|
}, null, 8, ["class"])) : O("", !0),
|
|
9630
|
-
l.deadline ? (p(), m("label",
|
|
9631
|
-
f("span",
|
|
9627
|
+
l.deadline ? (p(), m("label", t9, [
|
|
9628
|
+
f("span", a9, z(J(Ts)(l.deadline)), 1)
|
|
9632
9629
|
])) : O("", !0),
|
|
9633
|
-
l.assignee ? (p(), m("div",
|
|
9630
|
+
l.assignee ? (p(), m("div", s9, [
|
|
9634
9631
|
T(et, {
|
|
9635
9632
|
"user-name": J(zn)(l.assignee),
|
|
9636
9633
|
"avatar-url": l.assignee.avatarUrl,
|
|
@@ -9644,10 +9641,10 @@ const Zf = { class: "ao-card-project-milestone__default" }, Wf = { class: "ao-ti
|
|
|
9644
9641
|
}, 8, ["class", "is-clickable", "is-selected"]));
|
|
9645
9642
|
}
|
|
9646
9643
|
});
|
|
9647
|
-
const
|
|
9644
|
+
const i9 = {
|
|
9648
9645
|
key: 0,
|
|
9649
9646
|
class: "ao-project-phase__drag ao-card__drag"
|
|
9650
|
-
},
|
|
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({
|
|
9651
9648
|
__name: "AoProjectPhase",
|
|
9652
9649
|
props: {
|
|
9653
9650
|
phase: {},
|
|
@@ -9704,14 +9701,14 @@ const n9 = {
|
|
|
9704
9701
|
{ "ao-project-phase--selected": d.phase.id === ((w = d.$route.params) == null ? void 0 : w.phaseId) }
|
|
9705
9702
|
])
|
|
9706
9703
|
}, [
|
|
9707
|
-
d.isEditable ? (p(), m("div",
|
|
9704
|
+
d.isEditable ? (p(), m("div", i9, [
|
|
9708
9705
|
T(pe, {
|
|
9709
9706
|
name: "DragIndicator",
|
|
9710
9707
|
class: "ao-project-phase__drag-handle"
|
|
9711
9708
|
})
|
|
9712
9709
|
])) : O("", !0),
|
|
9713
|
-
f("div",
|
|
9714
|
-
T(
|
|
9710
|
+
f("div", o9, [
|
|
9711
|
+
T(Ff, {
|
|
9715
9712
|
id: d.phase.id,
|
|
9716
9713
|
milestones: i.value,
|
|
9717
9714
|
name: d.phase.name,
|
|
@@ -9722,8 +9719,8 @@ const n9 = {
|
|
|
9722
9719
|
onArchivePhase: u
|
|
9723
9720
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
9724
9721
|
]),
|
|
9725
|
-
f("div",
|
|
9726
|
-
f("div",
|
|
9722
|
+
f("div", r9, [
|
|
9723
|
+
f("div", l9, [
|
|
9727
9724
|
T(J(mt), He({
|
|
9728
9725
|
class: "ao-project-phase__milestones-list",
|
|
9729
9726
|
list: i.value,
|
|
@@ -9734,7 +9731,7 @@ const n9 = {
|
|
|
9734
9731
|
item: Z(({ element: g }) => {
|
|
9735
9732
|
var b;
|
|
9736
9733
|
return [
|
|
9737
|
-
T(
|
|
9734
|
+
T(n9, {
|
|
9738
9735
|
id: g.id,
|
|
9739
9736
|
name: g.name,
|
|
9740
9737
|
color: g.color,
|
|
@@ -9759,7 +9756,7 @@ const n9 = {
|
|
|
9759
9756
|
}),
|
|
9760
9757
|
_: 1
|
|
9761
9758
|
}, 16, ["list", "disabled"]),
|
|
9762
|
-
f("div",
|
|
9759
|
+
f("div", u9, [
|
|
9763
9760
|
d.isEditable ? (p(), P(Ct, {
|
|
9764
9761
|
key: 0,
|
|
9765
9762
|
label: d.$t("project.milestone.add"),
|
|
@@ -9774,10 +9771,10 @@ const n9 = {
|
|
|
9774
9771
|
};
|
|
9775
9772
|
}
|
|
9776
9773
|
});
|
|
9777
|
-
const
|
|
9774
|
+
const d9 = { class: "ao-project__phases" }, p9 = {
|
|
9778
9775
|
key: 0,
|
|
9779
9776
|
class: "ao-project-phase__phases-list-footer"
|
|
9780
|
-
},
|
|
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({
|
|
9781
9778
|
__name: "AoProjectPhases",
|
|
9782
9779
|
props: {
|
|
9783
9780
|
phases: {},
|
|
@@ -9813,7 +9810,7 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9813
9810
|
}, c = (u) => {
|
|
9814
9811
|
e("addPhase", u);
|
|
9815
9812
|
};
|
|
9816
|
-
return (u, v) => (p(), m("div",
|
|
9813
|
+
return (u, v) => (p(), m("div", d9, [
|
|
9817
9814
|
T(J(mt), {
|
|
9818
9815
|
class: "ao-project-phase__phases-list",
|
|
9819
9816
|
"model-value": u.phases,
|
|
@@ -9822,7 +9819,7 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9822
9819
|
onChange: r
|
|
9823
9820
|
}, {
|
|
9824
9821
|
item: Z(({ element: d }) => [
|
|
9825
|
-
T(
|
|
9822
|
+
T(c9, {
|
|
9826
9823
|
phase: d,
|
|
9827
9824
|
"is-editable": !u.readonly && u.isEditable,
|
|
9828
9825
|
"closed-status": u.closedStatus,
|
|
@@ -9837,9 +9834,9 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9837
9834
|
]),
|
|
9838
9835
|
_: 1
|
|
9839
9836
|
}, 8, ["model-value"]),
|
|
9840
|
-
u.isEditable ? (p(), m("div",
|
|
9841
|
-
|
|
9842
|
-
f("div",
|
|
9837
|
+
u.isEditable ? (p(), m("div", p9, [
|
|
9838
|
+
v9,
|
|
9839
|
+
f("div", f9, [
|
|
9843
9840
|
T(Ct, {
|
|
9844
9841
|
label: u.$t("project.phases.add"),
|
|
9845
9842
|
"icon-name": "Add",
|
|
@@ -9847,12 +9844,12 @@ const c9 = { class: "ao-project__phases" }, d9 = {
|
|
|
9847
9844
|
onClick: c
|
|
9848
9845
|
}, null, 8, ["label"])
|
|
9849
9846
|
]),
|
|
9850
|
-
|
|
9847
|
+
h9
|
|
9851
9848
|
])) : O("", !0)
|
|
9852
9849
|
]));
|
|
9853
9850
|
}
|
|
9854
9851
|
});
|
|
9855
|
-
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({
|
|
9856
9853
|
__name: "AoAddTemplateModal",
|
|
9857
9854
|
props: {
|
|
9858
9855
|
projectId: {},
|
|
@@ -9868,7 +9865,7 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9868
9865
|
}, i = () => {
|
|
9869
9866
|
n.value && e("apply", n.value, a.projectId);
|
|
9870
9867
|
};
|
|
9871
|
-
return (r, l) => (p(), P(
|
|
9868
|
+
return (r, l) => (p(), P(Ga, { size: "sm" }, {
|
|
9872
9869
|
header: Z(() => [
|
|
9873
9870
|
T(ye, {
|
|
9874
9871
|
title: r.$t("project.template.add.title"),
|
|
@@ -9880,8 +9877,8 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9880
9877
|
class: "ao-add-template-modal__form",
|
|
9881
9878
|
onSubmit: ve(i, ["prevent"])
|
|
9882
9879
|
}, [
|
|
9883
|
-
f("div",
|
|
9884
|
-
f("div",
|
|
9880
|
+
f("div", g9, [
|
|
9881
|
+
f("div", _9, [
|
|
9885
9882
|
T(ke, {
|
|
9886
9883
|
value: n.value,
|
|
9887
9884
|
options: s.value,
|
|
@@ -9890,7 +9887,7 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9890
9887
|
}, null, 8, ["value", "options"])
|
|
9891
9888
|
])
|
|
9892
9889
|
]),
|
|
9893
|
-
f("footer",
|
|
9890
|
+
f("footer", y9, [
|
|
9894
9891
|
T(ue, {
|
|
9895
9892
|
label: r.$t("project.template.add.label"),
|
|
9896
9893
|
type: "submit",
|
|
@@ -9899,13 +9896,13 @@ const m9 = ["onSubmit"], C9 = { class: "ao-add-template-modal__form-body" }, g9
|
|
|
9899
9896
|
onClick: i
|
|
9900
9897
|
}, null, 8, ["label"])
|
|
9901
9898
|
])
|
|
9902
|
-
], 40,
|
|
9899
|
+
], 40, C9)
|
|
9903
9900
|
]),
|
|
9904
9901
|
_: 1
|
|
9905
9902
|
}));
|
|
9906
9903
|
}
|
|
9907
9904
|
});
|
|
9908
|
-
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({
|
|
9909
9906
|
__name: "AoSaveTemplateModal",
|
|
9910
9907
|
props: {
|
|
9911
9908
|
phases: {}
|
|
@@ -9919,7 +9916,7 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9919
9916
|
const o = () => {
|
|
9920
9917
|
s.value && e("save", s.value, n.value);
|
|
9921
9918
|
};
|
|
9922
|
-
return (i, r) => (p(), P(
|
|
9919
|
+
return (i, r) => (p(), P(Ga, { size: "sm" }, {
|
|
9923
9920
|
header: Z(() => [
|
|
9924
9921
|
T(ye, {
|
|
9925
9922
|
title: i.$t("project.template.save.title"),
|
|
@@ -9931,10 +9928,10 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9931
9928
|
class: "ao-save-template-modal__form",
|
|
9932
9929
|
onSubmit: ve(o, ["prevent"])
|
|
9933
9930
|
}, [
|
|
9934
|
-
f("div",
|
|
9935
|
-
f("div",
|
|
9936
|
-
f("label",
|
|
9937
|
-
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),
|
|
9938
9935
|
Re(f("input", {
|
|
9939
9936
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => s.value = l),
|
|
9940
9937
|
type: "text"
|
|
@@ -9943,9 +9940,9 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9943
9940
|
])
|
|
9944
9941
|
])
|
|
9945
9942
|
]),
|
|
9946
|
-
f("div",
|
|
9947
|
-
f("div",
|
|
9948
|
-
f("div",
|
|
9943
|
+
f("div", M9, [
|
|
9944
|
+
f("div", T9, z(i.$t("project.template.phases.label")), 1),
|
|
9945
|
+
f("div", O9, [
|
|
9949
9946
|
(p(!0), m(fe, null, _e(a.phases, (l) => (p(), m("label", {
|
|
9950
9947
|
class: "ao-field ao-field--checkbox",
|
|
9951
9948
|
key: l.id
|
|
@@ -9954,7 +9951,7 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9954
9951
|
type: "checkbox",
|
|
9955
9952
|
value: l.id,
|
|
9956
9953
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => n.value = c)
|
|
9957
|
-
}, null, 8,
|
|
9954
|
+
}, null, 8, E9), [
|
|
9958
9955
|
[Pi, n.value]
|
|
9959
9956
|
]),
|
|
9960
9957
|
f("span", null, z(l.name), 1)
|
|
@@ -9962,7 +9959,7 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9962
9959
|
])
|
|
9963
9960
|
])
|
|
9964
9961
|
]),
|
|
9965
|
-
f("footer",
|
|
9962
|
+
f("footer", I9, [
|
|
9966
9963
|
T(ue, {
|
|
9967
9964
|
label: i.$t("project.template.save.label"),
|
|
9968
9965
|
type: "submit",
|
|
@@ -9971,13 +9968,13 @@ const b9 = ["onSubmit"], w9 = { class: "ao-save-template-modal__form-body" }, $9
|
|
|
9971
9968
|
onClick: o
|
|
9972
9969
|
}, null, 8, ["label"])
|
|
9973
9970
|
])
|
|
9974
|
-
], 40,
|
|
9971
|
+
], 40, w9)
|
|
9975
9972
|
]),
|
|
9976
9973
|
_: 1
|
|
9977
9974
|
}));
|
|
9978
9975
|
}
|
|
9979
9976
|
});
|
|
9980
|
-
const
|
|
9977
|
+
const H9 = Y({
|
|
9981
9978
|
props: {
|
|
9982
9979
|
isLeft: {
|
|
9983
9980
|
type: Boolean,
|
|
@@ -10006,9 +10003,9 @@ const L9 = Y({
|
|
|
10006
10003
|
}
|
|
10007
10004
|
}
|
|
10008
10005
|
});
|
|
10009
|
-
const
|
|
10010
|
-
function
|
|
10011
|
-
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, [
|
|
10012
10009
|
f("button", {
|
|
10013
10010
|
class: Q({
|
|
10014
10011
|
button: !0,
|
|
@@ -10029,7 +10026,7 @@ function D9(t, e, a, s, n, o) {
|
|
|
10029
10026
|
}, z(t.rightLabel), 3)
|
|
10030
10027
|
]);
|
|
10031
10028
|
}
|
|
10032
|
-
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({
|
|
10033
10030
|
__name: "AoProjectOverviewProject",
|
|
10034
10031
|
props: {
|
|
10035
10032
|
project: {},
|
|
@@ -10101,8 +10098,8 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10101
10098
|
const te = Ke("RouterView");
|
|
10102
10099
|
return p(), m(fe, null, [
|
|
10103
10100
|
f("div", He({ class: "ao-project-overview" }, E.$attrs), [
|
|
10104
|
-
f("div",
|
|
10105
|
-
T(
|
|
10101
|
+
f("div", V9, [
|
|
10102
|
+
T(Ka, null, {
|
|
10106
10103
|
primary: Z(() => [
|
|
10107
10104
|
T(ci, {
|
|
10108
10105
|
"is-left": !0,
|
|
@@ -10143,8 +10140,8 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10143
10140
|
]),
|
|
10144
10141
|
_: 1
|
|
10145
10142
|
}),
|
|
10146
|
-
f("div",
|
|
10147
|
-
T(
|
|
10143
|
+
f("div", B9, [
|
|
10144
|
+
T(m9, {
|
|
10148
10145
|
phases: E.phases,
|
|
10149
10146
|
"closed-status": E.closedStatus,
|
|
10150
10147
|
"is-editable": E.isEditable === !0,
|
|
@@ -10210,13 +10207,13 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10210
10207
|
]))
|
|
10211
10208
|
], 16),
|
|
10212
10209
|
(p(), P(jt, { to: "body" }, [
|
|
10213
|
-
G.value ? (p(), P(
|
|
10210
|
+
G.value ? (p(), P(L9, {
|
|
10214
10211
|
key: 0,
|
|
10215
10212
|
phases: E.phases,
|
|
10216
10213
|
onClose: K[5] || (K[5] = (A) => G.value = !1),
|
|
10217
10214
|
onSave: N
|
|
10218
10215
|
}, null, 8, ["phases"])) : O("", !0),
|
|
10219
|
-
x.value ? (p(), P(
|
|
10216
|
+
x.value ? (p(), P(b9, {
|
|
10220
10217
|
key: 1,
|
|
10221
10218
|
"project-id": E.project.id,
|
|
10222
10219
|
templates: E.templates,
|
|
@@ -10228,39 +10225,39 @@ const ci = /* @__PURE__ */ j(L9, [["render", D9], ["__scopeId", "data-v-cbe33527
|
|
|
10228
10225
|
};
|
|
10229
10226
|
}
|
|
10230
10227
|
});
|
|
10231
|
-
const
|
|
10228
|
+
const N9 = { class: "ao-card-feed__header" }, j9 = {
|
|
10232
10229
|
key: 1,
|
|
10233
10230
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10234
|
-
},
|
|
10231
|
+
}, U9 = {
|
|
10235
10232
|
key: 2,
|
|
10236
10233
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10237
|
-
},
|
|
10234
|
+
}, F9 = { class: "ao-card-feed__body" }, Z9 = {
|
|
10238
10235
|
key: 0,
|
|
10239
10236
|
class: "ao-card-feed__breadcrumbs"
|
|
10240
|
-
},
|
|
10237
|
+
}, W9 = {
|
|
10241
10238
|
class: /* @__PURE__ */ Q(["ao-card-feed__title-group"])
|
|
10242
|
-
},
|
|
10239
|
+
}, q9 = { class: "ao-card-feed__title-line" }, z9 = {
|
|
10243
10240
|
key: 0,
|
|
10244
10241
|
class: "ao-card-feed__slug"
|
|
10245
|
-
},
|
|
10242
|
+
}, x9 = {
|
|
10246
10243
|
key: 1,
|
|
10247
10244
|
class: "ao-card-feed__deadline"
|
|
10248
|
-
},
|
|
10245
|
+
}, Y9 = { class: "ao-card-feed__footer" }, K9 = { class: "ao-card-feed__footer-row" }, G9 = { class: "ao-assignees" }, X9 = {
|
|
10249
10246
|
key: 0,
|
|
10250
10247
|
class: "ao-assignee"
|
|
10251
|
-
},
|
|
10248
|
+
}, Q9 = {
|
|
10252
10249
|
key: 0,
|
|
10253
10250
|
class: "ao-card-feed__subitems"
|
|
10254
|
-
},
|
|
10251
|
+
}, J9 = {
|
|
10255
10252
|
key: 0,
|
|
10256
10253
|
class: "ao-card-feed__subitem"
|
|
10257
|
-
},
|
|
10254
|
+
}, e4 = { class: "ao-card-feed__subitem" }, t4 = {
|
|
10258
10255
|
key: 1,
|
|
10259
10256
|
class: "ao-card-feed__subitem"
|
|
10260
|
-
},
|
|
10257
|
+
}, a4 = { class: "ao-card-feed__subitem" }, s4 = { class: "ao-card-feed__footer-row" }, n4 = {
|
|
10261
10258
|
key: 0,
|
|
10262
10259
|
class: "ao-card-feed__progress-wrapper"
|
|
10263
|
-
},
|
|
10260
|
+
}, i4 = { class: "ao-card-feed__subitem" }, o4 = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ Y({
|
|
10264
10261
|
__name: "AoCardFeed",
|
|
10265
10262
|
props: {
|
|
10266
10263
|
id: {},
|
|
@@ -10303,8 +10300,8 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10303
10300
|
"is-clickable": !0
|
|
10304
10301
|
}, {
|
|
10305
10302
|
header: Z(() => [
|
|
10306
|
-
f("div",
|
|
10307
|
-
s.value ? (p(), P(
|
|
10303
|
+
f("div", N9, [
|
|
10304
|
+
s.value ? (p(), P(Wa, {
|
|
10308
10305
|
key: 0,
|
|
10309
10306
|
label: s.value,
|
|
10310
10307
|
class: "ao-card-feed__project",
|
|
@@ -10312,7 +10309,7 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10312
10309
|
color: h.projectColor ? void 0 : "primary",
|
|
10313
10310
|
"raw-color": n.value
|
|
10314
10311
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
10315
|
-
h.isPrivate || h.important || h.isClosed ? (p(), m("div",
|
|
10312
|
+
h.isPrivate || h.important || h.isClosed ? (p(), m("div", j9, [
|
|
10316
10313
|
h.isPrivate ? (p(), P(pe, {
|
|
10317
10314
|
key: 0,
|
|
10318
10315
|
name: "Lock",
|
|
@@ -10331,17 +10328,17 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10331
10328
|
class: "ao-card-feed__closed"
|
|
10332
10329
|
})) : O("", !0)
|
|
10333
10330
|
])) : O("", !0),
|
|
10334
|
-
h.$slots.secondary ? (p(), m("div",
|
|
10331
|
+
h.$slots.secondary ? (p(), m("div", U9, [
|
|
10335
10332
|
ae(h.$slots, "secondary")
|
|
10336
10333
|
])) : O("", !0)
|
|
10337
10334
|
])
|
|
10338
10335
|
]),
|
|
10339
10336
|
default: Z(() => [
|
|
10340
|
-
f("div",
|
|
10341
|
-
i.value ? (p(), m("span",
|
|
10342
|
-
f("div",
|
|
10343
|
-
f("div",
|
|
10344
|
-
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),
|
|
10345
10342
|
T(ye, {
|
|
10346
10343
|
id: h.id,
|
|
10347
10344
|
title: h.name,
|
|
@@ -10352,17 +10349,17 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10352
10349
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10353
10350
|
])
|
|
10354
10351
|
]),
|
|
10355
|
-
h.deadline ? (p(), m("span",
|
|
10352
|
+
h.deadline ? (p(), m("span", x9, z(l.value), 1)) : O("", !0)
|
|
10356
10353
|
])
|
|
10357
10354
|
]),
|
|
10358
10355
|
footer: Z(() => [
|
|
10359
|
-
f("div",
|
|
10360
|
-
f("div",
|
|
10361
|
-
f("ul",
|
|
10356
|
+
f("div", Y9, [
|
|
10357
|
+
f("div", K9, [
|
|
10358
|
+
f("ul", G9, [
|
|
10362
10359
|
(p(!0), m(fe, null, _e(r.value, (g) => (p(), m(fe, {
|
|
10363
10360
|
key: g.id
|
|
10364
10361
|
}, [
|
|
10365
|
-
g ? (p(), m("li",
|
|
10362
|
+
g ? (p(), m("li", X9, [
|
|
10366
10363
|
T(et, {
|
|
10367
10364
|
"user-name": J(zn)(g),
|
|
10368
10365
|
"avatar-url": g.avatarUrl,
|
|
@@ -10372,31 +10369,31 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10372
10369
|
])) : O("", !0)
|
|
10373
10370
|
], 64))), 128))
|
|
10374
10371
|
]),
|
|
10375
|
-
h.comments || h.attachments ? (p(), m("ul",
|
|
10376
|
-
h.comments ? (p(), m("li",
|
|
10372
|
+
h.comments || h.attachments ? (p(), m("ul", Q9, [
|
|
10373
|
+
h.comments ? (p(), m("li", J9, [
|
|
10377
10374
|
T(pe, {
|
|
10378
10375
|
name: "ChatOutline",
|
|
10379
10376
|
size: "sm"
|
|
10380
10377
|
}),
|
|
10381
|
-
f("span",
|
|
10378
|
+
f("span", e4, z(h.comments), 1)
|
|
10382
10379
|
])) : O("", !0),
|
|
10383
|
-
h.attachments ? (p(), m("li",
|
|
10380
|
+
h.attachments ? (p(), m("li", t4, [
|
|
10384
10381
|
T(pe, {
|
|
10385
10382
|
name: "AttachFileRounded",
|
|
10386
10383
|
size: "sm"
|
|
10387
10384
|
}),
|
|
10388
|
-
f("span",
|
|
10385
|
+
f("span", a4, z(h.attachments), 1)
|
|
10389
10386
|
])) : O("", !0)
|
|
10390
10387
|
])) : O("", !0)
|
|
10391
10388
|
]),
|
|
10392
|
-
f("div",
|
|
10393
|
-
h.tasks && h.tasks.length ? (p(), m("div",
|
|
10394
|
-
f("div",
|
|
10389
|
+
f("div", s4, [
|
|
10390
|
+
h.tasks && h.tasks.length ? (p(), m("div", n4, [
|
|
10391
|
+
f("div", i4, [
|
|
10395
10392
|
T(pe, {
|
|
10396
10393
|
name: "SelectCheckBox",
|
|
10397
10394
|
size: "sm"
|
|
10398
10395
|
}),
|
|
10399
|
-
f("span",
|
|
10396
|
+
f("span", o4, z(v.value) + " / " + z(u.value), 1)
|
|
10400
10397
|
]),
|
|
10401
10398
|
T(Ws, {
|
|
10402
10399
|
percentages: d.value,
|
|
@@ -10417,23 +10414,23 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
10417
10414
|
*/
|
|
10418
10415
|
function wt(t) {
|
|
10419
10416
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10420
|
-
/#/.test(t) ? e =
|
|
10421
|
-
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);
|
|
10422
10419
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10423
10420
|
}
|
|
10424
10421
|
function qs(t) {
|
|
10425
10422
|
const e = document.createElement("canvas"), a = e.getContext("2d"), s = t * 2;
|
|
10426
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;
|
|
10427
10424
|
}
|
|
10428
|
-
function
|
|
10425
|
+
function ws(t, e, a, s, n, o) {
|
|
10429
10426
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
10430
10427
|
r.addColorStop(0.01, n), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, s);
|
|
10431
10428
|
}
|
|
10432
|
-
function
|
|
10429
|
+
function r4({ r: t, g: e, b: a }, s) {
|
|
10433
10430
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
10434
10431
|
return s ? o.toUpperCase() : o;
|
|
10435
10432
|
}
|
|
10436
|
-
function
|
|
10433
|
+
function l4(t) {
|
|
10437
10434
|
t = t.slice(1);
|
|
10438
10435
|
const e = (a) => parseInt(a, 16) || 0;
|
|
10439
10436
|
return {
|
|
@@ -10450,7 +10447,7 @@ function An(t) {
|
|
|
10450
10447
|
a: Number(t[3] ? t[3] : 1)
|
|
10451
10448
|
}) : t;
|
|
10452
10449
|
}
|
|
10453
|
-
function
|
|
10450
|
+
function u4({ r: t, g: e, b: a }) {
|
|
10454
10451
|
t = t / 255, e = e / 255, a = a / 255;
|
|
10455
10452
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
10456
10453
|
let i = 0;
|
|
@@ -10491,7 +10488,7 @@ var zs = Y({
|
|
|
10491
10488
|
methods: {
|
|
10492
10489
|
renderColor() {
|
|
10493
10490
|
const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
|
|
10494
|
-
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");
|
|
10495
10492
|
},
|
|
10496
10493
|
renderSlide() {
|
|
10497
10494
|
this.slideSaturationStyle = {
|
|
@@ -10517,8 +10514,8 @@ var zs = Y({
|
|
|
10517
10514
|
}
|
|
10518
10515
|
}
|
|
10519
10516
|
});
|
|
10520
|
-
const
|
|
10521
|
-
function
|
|
10517
|
+
const c4 = { ref: "canvasSaturation" };
|
|
10518
|
+
function d4(t, e, a, s, n, o) {
|
|
10522
10519
|
return p(), P(
|
|
10523
10520
|
"div",
|
|
10524
10521
|
{
|
|
@@ -10528,7 +10525,7 @@ function c4(t, e, a, s, n, o) {
|
|
|
10528
10525
|
[
|
|
10529
10526
|
T(
|
|
10530
10527
|
"canvas",
|
|
10531
|
-
|
|
10528
|
+
c4,
|
|
10532
10529
|
null,
|
|
10533
10530
|
512
|
|
10534
10531
|
/* NEED_PATCH */
|
|
@@ -10548,7 +10545,7 @@ function c4(t, e, a, s, n, o) {
|
|
|
10548
10545
|
/* HYDRATE_EVENTS */
|
|
10549
10546
|
);
|
|
10550
10547
|
}
|
|
10551
|
-
zs.render =
|
|
10548
|
+
zs.render = d4;
|
|
10552
10549
|
zs.__file = "src/color/Saturation.vue";
|
|
10553
10550
|
var xs = Y({
|
|
10554
10551
|
props: {
|
|
@@ -10603,8 +10600,8 @@ var xs = Y({
|
|
|
10603
10600
|
}
|
|
10604
10601
|
}
|
|
10605
10602
|
});
|
|
10606
|
-
const
|
|
10607
|
-
function
|
|
10603
|
+
const p4 = { ref: "canvasHue" };
|
|
10604
|
+
function v4(t, e, a, s, n, o) {
|
|
10608
10605
|
return p(), P(
|
|
10609
10606
|
"div",
|
|
10610
10607
|
{
|
|
@@ -10614,7 +10611,7 @@ function p4(t, e, a, s, n, o) {
|
|
|
10614
10611
|
[
|
|
10615
10612
|
T(
|
|
10616
10613
|
"canvas",
|
|
10617
|
-
|
|
10614
|
+
p4,
|
|
10618
10615
|
null,
|
|
10619
10616
|
512
|
|
10620
10617
|
/* NEED_PATCH */
|
|
@@ -10634,7 +10631,7 @@ function p4(t, e, a, s, n, o) {
|
|
|
10634
10631
|
/* HYDRATE_EVENTS */
|
|
10635
10632
|
);
|
|
10636
10633
|
}
|
|
10637
|
-
xs.render =
|
|
10634
|
+
xs.render = v4;
|
|
10638
10635
|
xs.__file = "src/color/Hue.vue";
|
|
10639
10636
|
var Ys = Y({
|
|
10640
10637
|
props: {
|
|
@@ -10676,7 +10673,7 @@ var Ys = Y({
|
|
|
10676
10673
|
methods: {
|
|
10677
10674
|
renderColor() {
|
|
10678
10675
|
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, s = this.alphaSize, n = qs(s), o = t.getContext("2d");
|
|
10679
|
-
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);
|
|
10680
10677
|
},
|
|
10681
10678
|
renderSlide() {
|
|
10682
10679
|
this.slideAlphaStyle = {
|
|
@@ -10698,8 +10695,8 @@ var Ys = Y({
|
|
|
10698
10695
|
}
|
|
10699
10696
|
}
|
|
10700
10697
|
});
|
|
10701
|
-
const
|
|
10702
|
-
function
|
|
10698
|
+
const f4 = { ref: "canvasAlpha" };
|
|
10699
|
+
function h4(t, e, a, s, n, o) {
|
|
10703
10700
|
return p(), P(
|
|
10704
10701
|
"div",
|
|
10705
10702
|
{
|
|
@@ -10709,7 +10706,7 @@ function f4(t, e, a, s, n, o) {
|
|
|
10709
10706
|
[
|
|
10710
10707
|
T(
|
|
10711
10708
|
"canvas",
|
|
10712
|
-
|
|
10709
|
+
f4,
|
|
10713
10710
|
null,
|
|
10714
10711
|
512
|
|
10715
10712
|
/* NEED_PATCH */
|
|
@@ -10729,7 +10726,7 @@ function f4(t, e, a, s, n, o) {
|
|
|
10729
10726
|
/* HYDRATE_EVENTS */
|
|
10730
10727
|
);
|
|
10731
10728
|
}
|
|
10732
|
-
Ys.render =
|
|
10729
|
+
Ys.render = h4;
|
|
10733
10730
|
Ys.__file = "src/color/Alpha.vue";
|
|
10734
10731
|
var Ks = Y({
|
|
10735
10732
|
props: {
|
|
@@ -10766,10 +10763,10 @@ var Ks = Y({
|
|
|
10766
10763
|
}
|
|
10767
10764
|
}
|
|
10768
10765
|
});
|
|
10769
|
-
function
|
|
10766
|
+
function m4(t, e, a, s, n, o) {
|
|
10770
10767
|
return p(), P("canvas");
|
|
10771
10768
|
}
|
|
10772
|
-
Ks.render =
|
|
10769
|
+
Ks.render = m4;
|
|
10773
10770
|
Ks.__file = "src/color/Preview.vue";
|
|
10774
10771
|
var Gs = Y({
|
|
10775
10772
|
props: {
|
|
@@ -10832,19 +10829,19 @@ var Gs = Y({
|
|
|
10832
10829
|
}
|
|
10833
10830
|
}
|
|
10834
10831
|
});
|
|
10835
|
-
const
|
|
10832
|
+
const C4 = /* @__PURE__ */ T(
|
|
10836
10833
|
"path",
|
|
10837
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" },
|
|
10838
10835
|
null,
|
|
10839
10836
|
-1
|
|
10840
10837
|
/* HOISTED */
|
|
10841
|
-
),
|
|
10838
|
+
), g4 = {
|
|
10842
10839
|
key: 1,
|
|
10843
10840
|
class: "sucker",
|
|
10844
10841
|
viewBox: "-16 -16 68 68",
|
|
10845
10842
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10846
10843
|
stroke: "#9099a4"
|
|
10847
|
-
},
|
|
10844
|
+
}, _4 = /* @__PURE__ */ T(
|
|
10848
10845
|
"g",
|
|
10849
10846
|
{
|
|
10850
10847
|
fill: "none",
|
|
@@ -10876,7 +10873,7 @@ const m4 = /* @__PURE__ */ T(
|
|
|
10876
10873
|
-1
|
|
10877
10874
|
/* HOISTED */
|
|
10878
10875
|
);
|
|
10879
|
-
function
|
|
10876
|
+
function y4(t, e, a, s, n, o) {
|
|
10880
10877
|
return p(), P("div", null, [
|
|
10881
10878
|
t.isSucking ? O("v-if", !0) : (p(), P(
|
|
10882
10879
|
"svg",
|
|
@@ -10888,17 +10885,17 @@ function _4(t, e, a, s, n, o) {
|
|
|
10888
10885
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10889
10886
|
},
|
|
10890
10887
|
[
|
|
10891
|
-
|
|
10888
|
+
C4
|
|
10892
10889
|
],
|
|
10893
10890
|
2
|
|
10894
10891
|
/* CLASS */
|
|
10895
10892
|
)),
|
|
10896
|
-
t.isSucking ? (p(), P("svg",
|
|
10897
|
-
|
|
10893
|
+
t.isSucking ? (p(), P("svg", g4, [
|
|
10894
|
+
_4
|
|
10898
10895
|
])) : O("v-if", !0)
|
|
10899
10896
|
]);
|
|
10900
10897
|
}
|
|
10901
|
-
Gs.render =
|
|
10898
|
+
Gs.render = y4;
|
|
10902
10899
|
Gs.__file = "src/color/Sucker.vue";
|
|
10903
10900
|
var Xs = Y({
|
|
10904
10901
|
props: {
|
|
@@ -10931,12 +10928,12 @@ var Xs = Y({
|
|
|
10931
10928
|
};
|
|
10932
10929
|
}
|
|
10933
10930
|
});
|
|
10934
|
-
const
|
|
10935
|
-
function
|
|
10936
|
-
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, [
|
|
10937
10934
|
T(
|
|
10938
10935
|
"span",
|
|
10939
|
-
|
|
10936
|
+
w4,
|
|
10940
10937
|
z(t.name),
|
|
10941
10938
|
1
|
|
10942
10939
|
/* TEXT */
|
|
@@ -10957,7 +10954,7 @@ function w4(t, e, a, s, n, o) {
|
|
|
10957
10954
|
])
|
|
10958
10955
|
]);
|
|
10959
10956
|
}
|
|
10960
|
-
Xs.render =
|
|
10957
|
+
Xs.render = $4;
|
|
10961
10958
|
Xs.__file = "src/color/Box.vue";
|
|
10962
10959
|
var Qs = Y({
|
|
10963
10960
|
name: "ColorPicker",
|
|
@@ -10978,7 +10975,7 @@ var Qs = Y({
|
|
|
10978
10975
|
emits: ["selectColor"],
|
|
10979
10976
|
setup(t, { emit: e }) {
|
|
10980
10977
|
const a = ee(), s = ee([]), n = ee();
|
|
10981
|
-
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(() => {
|
|
10982
10979
|
o(a.value);
|
|
10983
10980
|
});
|
|
10984
10981
|
function o(r) {
|
|
@@ -10999,13 +10996,13 @@ var Qs = Y({
|
|
|
10999
10996
|
};
|
|
11000
10997
|
}
|
|
11001
10998
|
});
|
|
11002
|
-
const
|
|
10999
|
+
const k4 = { class: "colors" }, S4 = {
|
|
11003
11000
|
key: 0,
|
|
11004
11001
|
class: "colors history"
|
|
11005
11002
|
};
|
|
11006
|
-
function
|
|
11003
|
+
function A4(t, e, a, s, n, o) {
|
|
11007
11004
|
return p(), P("div", null, [
|
|
11008
|
-
T("ul",
|
|
11005
|
+
T("ul", k4, [
|
|
11009
11006
|
(p(!0), P(
|
|
11010
11007
|
fe,
|
|
11011
11008
|
null,
|
|
@@ -11039,7 +11036,7 @@ function S4(t, e, a, s, n, o) {
|
|
|
11039
11036
|
/* KEYED_FRAGMENT */
|
|
11040
11037
|
))
|
|
11041
11038
|
]),
|
|
11042
|
-
t.colorsHistory.length ? (p(), P("ul",
|
|
11039
|
+
t.colorsHistory.length ? (p(), P("ul", S4, [
|
|
11043
11040
|
(p(!0), P(
|
|
11044
11041
|
fe,
|
|
11045
11042
|
null,
|
|
@@ -11075,7 +11072,7 @@ function S4(t, e, a, s, n, o) {
|
|
|
11075
11072
|
])) : O("v-if", !0)
|
|
11076
11073
|
]);
|
|
11077
11074
|
}
|
|
11078
|
-
Qs.render =
|
|
11075
|
+
Qs.render = A4;
|
|
11079
11076
|
Qs.__file = "src/color/Colors.vue";
|
|
11080
11077
|
var Nt = Y({
|
|
11081
11078
|
components: {
|
|
@@ -11186,7 +11183,7 @@ var Nt = Y({
|
|
|
11186
11183
|
return `rgba(${this.rgbaStringShort})`;
|
|
11187
11184
|
},
|
|
11188
11185
|
hexString() {
|
|
11189
|
-
return
|
|
11186
|
+
return r4(this.rgba, !0);
|
|
11190
11187
|
}
|
|
11191
11188
|
},
|
|
11192
11189
|
created() {
|
|
@@ -11250,8 +11247,8 @@ var Nt = Y({
|
|
|
11250
11247
|
}
|
|
11251
11248
|
}
|
|
11252
11249
|
});
|
|
11253
|
-
const
|
|
11254
|
-
function
|
|
11250
|
+
const M4 = { class: "color-set" };
|
|
11251
|
+
function T4(t, e, a, s, n, o) {
|
|
11255
11252
|
const i = Ke("Saturation"), r = Ke("Hue"), l = Ke("Alpha"), c = Ke("Preview"), u = Ke("Sucker"), v = Ke("Box"), d = Ke("Colors");
|
|
11256
11253
|
return p(), P(
|
|
11257
11254
|
"div",
|
|
@@ -11260,7 +11257,7 @@ function M4(t, e, a, s, n, o) {
|
|
|
11260
11257
|
style: { width: t.totalWidth + "px" }
|
|
11261
11258
|
},
|
|
11262
11259
|
[
|
|
11263
|
-
T("div",
|
|
11260
|
+
T("div", M4, [
|
|
11264
11261
|
T(i, {
|
|
11265
11262
|
ref: "saturation",
|
|
11266
11263
|
color: t.rgbString,
|
|
@@ -11334,12 +11331,12 @@ function M4(t, e, a, s, n, o) {
|
|
|
11334
11331
|
/* CLASS, STYLE */
|
|
11335
11332
|
);
|
|
11336
11333
|
}
|
|
11337
|
-
Nt.render =
|
|
11334
|
+
Nt.render = T4;
|
|
11338
11335
|
Nt.__file = "src/color/ColorPicker.vue";
|
|
11339
11336
|
Nt.install = (t) => {
|
|
11340
11337
|
t.component(Nt.name, Nt);
|
|
11341
11338
|
};
|
|
11342
|
-
const
|
|
11339
|
+
const O4 = {
|
|
11343
11340
|
props: {
|
|
11344
11341
|
color: {
|
|
11345
11342
|
type: String,
|
|
@@ -11363,10 +11360,10 @@ const T4 = {
|
|
|
11363
11360
|
this.$emit("update:color", o);
|
|
11364
11361
|
}
|
|
11365
11362
|
}
|
|
11366
|
-
},
|
|
11367
|
-
function
|
|
11363
|
+
}, E4 = { class: "color-picker-wrapper" };
|
|
11364
|
+
function I4(t, e, a, s, n, o) {
|
|
11368
11365
|
const i = Ke("ColorPicker");
|
|
11369
|
-
return p(), m("div",
|
|
11366
|
+
return p(), m("div", E4, [
|
|
11370
11367
|
f("button", {
|
|
11371
11368
|
style: Fa({ backgroundColor: a.color }),
|
|
11372
11369
|
class: "color-button",
|
|
@@ -11381,10 +11378,10 @@ function E4(t, e, a, s, n, o) {
|
|
|
11381
11378
|
}, null, 8, ["color", "onChangeColor"])) : O("", !0)
|
|
11382
11379
|
]);
|
|
11383
11380
|
}
|
|
11384
|
-
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 = {
|
|
11385
11382
|
key: 0,
|
|
11386
11383
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11387
|
-
},
|
|
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 = {
|
|
11388
11385
|
key: 0,
|
|
11389
11386
|
class: "ao-project-milestone__footer"
|
|
11390
11387
|
}, Mn = /* @__PURE__ */ Y({
|
|
@@ -11491,9 +11488,9 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11491
11488
|
});
|
|
11492
11489
|
return (_, C) => {
|
|
11493
11490
|
var D;
|
|
11494
|
-
return p(), m("div",
|
|
11495
|
-
f("header",
|
|
11496
|
-
f("div",
|
|
11491
|
+
return p(), m("div", H4, [
|
|
11492
|
+
f("header", D4, [
|
|
11493
|
+
f("div", P4, [
|
|
11497
11494
|
T(ue, {
|
|
11498
11495
|
"icon-name": "CloseRounded",
|
|
11499
11496
|
variant: "ghost",
|
|
@@ -11502,13 +11499,13 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11502
11499
|
onClick: l
|
|
11503
11500
|
})
|
|
11504
11501
|
]),
|
|
11505
|
-
f("div",
|
|
11506
|
-
f("div",
|
|
11502
|
+
f("div", V4, [
|
|
11503
|
+
f("div", B4, [
|
|
11507
11504
|
T(ye, {
|
|
11508
11505
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11509
11506
|
level: 5
|
|
11510
11507
|
}, null, 8, ["title"]),
|
|
11511
|
-
T(
|
|
11508
|
+
T(bs, {
|
|
11512
11509
|
modelValue: S.value,
|
|
11513
11510
|
"onUpdate:modelValue": C[0] || (C[0] = (I) => S.value = I),
|
|
11514
11511
|
modelModifiers: { lazy: !0 },
|
|
@@ -11522,9 +11519,9 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11522
11519
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11523
11520
|
])
|
|
11524
11521
|
]),
|
|
11525
|
-
i.value ? (p(), m("div",
|
|
11526
|
-
f("div",
|
|
11527
|
-
f("label",
|
|
11522
|
+
i.value ? (p(), m("div", R4, [
|
|
11523
|
+
f("div", N4, [
|
|
11524
|
+
f("label", j4, [
|
|
11528
11525
|
Re(f("input", {
|
|
11529
11526
|
"onUpdate:modelValue": C[1] || (C[1] = (I) => h.value = I),
|
|
11530
11527
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11539,8 +11536,8 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11539
11536
|
])
|
|
11540
11537
|
])
|
|
11541
11538
|
]),
|
|
11542
|
-
f("div",
|
|
11543
|
-
f("label",
|
|
11539
|
+
f("div", U4, [
|
|
11540
|
+
f("label", F4, [
|
|
11544
11541
|
T(ke, {
|
|
11545
11542
|
modelValue: b.value,
|
|
11546
11543
|
"onUpdate:modelValue": C[2] || (C[2] = (I) => b.value = I),
|
|
@@ -11569,13 +11566,13 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11569
11566
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11570
11567
|
])
|
|
11571
11568
|
]),
|
|
11572
|
-
T(
|
|
11569
|
+
T(L4, {
|
|
11573
11570
|
color: d.value,
|
|
11574
11571
|
"onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
|
|
11575
11572
|
}, null, 8, ["color"])
|
|
11576
11573
|
])) : O("", !0)
|
|
11577
11574
|
]),
|
|
11578
|
-
f("div",
|
|
11575
|
+
f("div", Z4, [
|
|
11579
11576
|
T(J(mt), He({
|
|
11580
11577
|
class: "ao-project-milestone__activities",
|
|
11581
11578
|
list: r.value,
|
|
@@ -11609,7 +11606,7 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11609
11606
|
}),
|
|
11610
11607
|
onUpdateActivity: u,
|
|
11611
11608
|
onRemoveAssignee: () => u({ id: I.id, assigneeId: null })
|
|
11612
|
-
},
|
|
11609
|
+
}, ks({ _: 2 }, [
|
|
11613
11610
|
_.isEditable ? {
|
|
11614
11611
|
name: "secondary",
|
|
11615
11612
|
fn: Z(() => [
|
|
@@ -11646,7 +11643,7 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11646
11643
|
}),
|
|
11647
11644
|
_: 1
|
|
11648
11645
|
}, 16, ["list", "disabled"]),
|
|
11649
|
-
_.isEditable ? (p(), m("div",
|
|
11646
|
+
_.isEditable ? (p(), m("div", W4, [
|
|
11650
11647
|
T(Ct, {
|
|
11651
11648
|
"icon-name": "Add",
|
|
11652
11649
|
label: _.$t("project.activity.add"),
|
|
@@ -11658,7 +11655,7 @@ const I4 = /* @__PURE__ */ j(T4, [["render", E4]]), L4 = { class: "ao-project-mi
|
|
|
11658
11655
|
};
|
|
11659
11656
|
}
|
|
11660
11657
|
});
|
|
11661
|
-
const
|
|
11658
|
+
const q4 = /* @__PURE__ */ Y({
|
|
11662
11659
|
__name: "AoProjectOverviewActivityDetails",
|
|
11663
11660
|
props: {
|
|
11664
11661
|
phaseId: {},
|
|
@@ -11745,20 +11742,20 @@ const W4 = /* @__PURE__ */ Y({
|
|
|
11745
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);
|
|
11746
11743
|
};
|
|
11747
11744
|
}
|
|
11748
|
-
}),
|
|
11745
|
+
}), z4 = { class: "ao-col-header" }, x4 = /* @__PURE__ */ Y({
|
|
11749
11746
|
__name: "AoColHeader",
|
|
11750
11747
|
props: {
|
|
11751
11748
|
title: {},
|
|
11752
11749
|
items: {}
|
|
11753
11750
|
},
|
|
11754
11751
|
setup(t) {
|
|
11755
|
-
return (e, a) => (p(), m("header",
|
|
11752
|
+
return (e, a) => (p(), m("header", z4, [
|
|
11756
11753
|
T(ye, {
|
|
11757
11754
|
title: e.title,
|
|
11758
11755
|
class: "ao-col-header__title",
|
|
11759
11756
|
level: 4
|
|
11760
11757
|
}, null, 8, ["title"]),
|
|
11761
|
-
e.items ? (p(), P(
|
|
11758
|
+
e.items ? (p(), P(Wa, {
|
|
11762
11759
|
key: 0,
|
|
11763
11760
|
label: e.items,
|
|
11764
11761
|
class: "ao-col-header__items",
|
|
@@ -11768,17 +11765,17 @@ const W4 = /* @__PURE__ */ Y({
|
|
|
11768
11765
|
]));
|
|
11769
11766
|
}
|
|
11770
11767
|
});
|
|
11771
|
-
function
|
|
11768
|
+
function Y4(t) {
|
|
11772
11769
|
return Vi() ? (Bi(t), !0) : !1;
|
|
11773
11770
|
}
|
|
11774
11771
|
function ja(t) {
|
|
11775
11772
|
return typeof t == "function" ? t() : J(t);
|
|
11776
11773
|
}
|
|
11777
|
-
const
|
|
11774
|
+
const K4 = typeof window < "u" && typeof document < "u";
|
|
11778
11775
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11779
|
-
const
|
|
11776
|
+
const G4 = (t) => t != null, oa = () => {
|
|
11780
11777
|
};
|
|
11781
|
-
function
|
|
11778
|
+
function X4(t, e) {
|
|
11782
11779
|
function a(...s) {
|
|
11783
11780
|
return new Promise((n, o) => {
|
|
11784
11781
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -11786,7 +11783,7 @@ function G4(t, e) {
|
|
|
11786
11783
|
}
|
|
11787
11784
|
return a;
|
|
11788
11785
|
}
|
|
11789
|
-
function
|
|
11786
|
+
function Q4(t, e = {}) {
|
|
11790
11787
|
let a, s, n = oa;
|
|
11791
11788
|
const o = (r) => {
|
|
11792
11789
|
clearTimeout(r), n(), n = oa;
|
|
@@ -11802,49 +11799,49 @@ function X4(t, e = {}) {
|
|
|
11802
11799
|
});
|
|
11803
11800
|
};
|
|
11804
11801
|
}
|
|
11805
|
-
function
|
|
11806
|
-
return
|
|
11807
|
-
|
|
11802
|
+
function J4(t, e = 200, a = {}) {
|
|
11803
|
+
return X4(
|
|
11804
|
+
Q4(e, a),
|
|
11808
11805
|
t
|
|
11809
11806
|
);
|
|
11810
11807
|
}
|
|
11811
|
-
function
|
|
11808
|
+
function hs(t) {
|
|
11812
11809
|
var e;
|
|
11813
11810
|
const a = ja(t);
|
|
11814
11811
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11815
11812
|
}
|
|
11816
|
-
const
|
|
11817
|
-
function
|
|
11813
|
+
const e8 = K4 ? window : void 0;
|
|
11814
|
+
function t8() {
|
|
11818
11815
|
const t = ee(!1), e = Tt();
|
|
11819
11816
|
return e && Mt(() => {
|
|
11820
11817
|
t.value = !0;
|
|
11821
11818
|
}, e), t;
|
|
11822
11819
|
}
|
|
11823
|
-
function
|
|
11824
|
-
const e =
|
|
11820
|
+
function a8(t) {
|
|
11821
|
+
const e = t8();
|
|
11825
11822
|
return M(() => (e.value, !!t()));
|
|
11826
11823
|
}
|
|
11827
|
-
function
|
|
11824
|
+
function s8(t, e, a = {}) {
|
|
11828
11825
|
const {
|
|
11829
11826
|
root: s,
|
|
11830
11827
|
rootMargin: n = "0px",
|
|
11831
11828
|
threshold: o = 0.1,
|
|
11832
|
-
window: i =
|
|
11829
|
+
window: i = e8,
|
|
11833
11830
|
immediate: r = !0
|
|
11834
|
-
} = a, l =
|
|
11831
|
+
} = a, l = a8(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
11835
11832
|
const w = ja(t);
|
|
11836
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
11833
|
+
return (Array.isArray(w) ? w : [w]).map(hs).filter(G4);
|
|
11837
11834
|
});
|
|
11838
11835
|
let u = oa;
|
|
11839
11836
|
const v = ee(r), d = l.value ? de(
|
|
11840
|
-
() => [c.value,
|
|
11837
|
+
() => [c.value, hs(s), v.value],
|
|
11841
11838
|
([w, g]) => {
|
|
11842
11839
|
if (u(), !v.value || !w.length)
|
|
11843
11840
|
return;
|
|
11844
11841
|
const b = new IntersectionObserver(
|
|
11845
11842
|
e,
|
|
11846
11843
|
{
|
|
11847
|
-
root:
|
|
11844
|
+
root: hs(g),
|
|
11848
11845
|
rootMargin: n,
|
|
11849
11846
|
threshold: o
|
|
11850
11847
|
}
|
|
@@ -11857,7 +11854,7 @@ function a8(t, e, a = {}) {
|
|
|
11857
11854
|
) : oa, h = () => {
|
|
11858
11855
|
u(), d(), v.value = !1;
|
|
11859
11856
|
};
|
|
11860
|
-
return
|
|
11857
|
+
return Y4(h), {
|
|
11861
11858
|
isSupported: l,
|
|
11862
11859
|
isActive: v,
|
|
11863
11860
|
pause() {
|
|
@@ -11869,24 +11866,24 @@ function a8(t, e, a = {}) {
|
|
|
11869
11866
|
stop: h
|
|
11870
11867
|
};
|
|
11871
11868
|
}
|
|
11872
|
-
const
|
|
11869
|
+
const n8 = {
|
|
11873
11870
|
class: /* @__PURE__ */ Q(["ao-list-kanban"])
|
|
11874
|
-
},
|
|
11871
|
+
}, i8 = { class: "ao-list-kanban__header" }, o8 = {
|
|
11875
11872
|
key: 0,
|
|
11876
11873
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11877
|
-
},
|
|
11874
|
+
}, r8 = {
|
|
11878
11875
|
key: 1,
|
|
11879
11876
|
class: "ao-list-kanban__end"
|
|
11880
|
-
},
|
|
11877
|
+
}, l8 = {
|
|
11881
11878
|
key: 0,
|
|
11882
11879
|
class: "ao-list-kanban__no-more"
|
|
11883
|
-
},
|
|
11880
|
+
}, u8 = {
|
|
11884
11881
|
key: 1,
|
|
11885
11882
|
class: "ao-list-kanban__divider"
|
|
11886
|
-
},
|
|
11883
|
+
}, c8 = {
|
|
11887
11884
|
key: 1,
|
|
11888
11885
|
class: "ao-list-kanban__footer"
|
|
11889
|
-
},
|
|
11886
|
+
}, d8 = /* @__PURE__ */ Y({
|
|
11890
11887
|
__name: "AoListKanban",
|
|
11891
11888
|
props: {
|
|
11892
11889
|
list: {},
|
|
@@ -11904,7 +11901,7 @@ const s8 = {
|
|
|
11904
11901
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11905
11902
|
setup(t, { emit: e }) {
|
|
11906
11903
|
const a = t, s = ee(!1), n = ee(null);
|
|
11907
|
-
|
|
11904
|
+
s8(n, ([{ isIntersecting: u }]) => {
|
|
11908
11905
|
s.value = u;
|
|
11909
11906
|
}), de(s, (u) => {
|
|
11910
11907
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11929,12 +11926,12 @@ const s8 = {
|
|
|
11929
11926
|
)
|
|
11930
11927
|
});
|
|
11931
11928
|
}, c = ee(!1);
|
|
11932
|
-
return (u, v) => (p(), m("div",
|
|
11929
|
+
return (u, v) => (p(), m("div", n8, [
|
|
11933
11930
|
u.title || u.$slots.header ? ae(u.$slots, "header", { key: 0 }, () => {
|
|
11934
11931
|
var d;
|
|
11935
11932
|
return [
|
|
11936
|
-
f("div",
|
|
11937
|
-
u.title ? (p(), P(
|
|
11933
|
+
f("div", i8, [
|
|
11934
|
+
u.title ? (p(), P(x4, {
|
|
11938
11935
|
key: 0,
|
|
11939
11936
|
title: u.title,
|
|
11940
11937
|
level: 3,
|
|
@@ -12020,20 +12017,20 @@ const s8 = {
|
|
|
12020
12017
|
];
|
|
12021
12018
|
}),
|
|
12022
12019
|
footer: Z(() => [
|
|
12023
|
-
u.isLoading ? (p(), m("div",
|
|
12020
|
+
u.isLoading ? (p(), m("div", o8, [
|
|
12024
12021
|
T(pe, { name: "Loading" })
|
|
12025
12022
|
])) : u.hasMore ? (p(), m("div", {
|
|
12026
12023
|
key: 2,
|
|
12027
12024
|
ref_key: "scrollEnd",
|
|
12028
12025
|
ref: n,
|
|
12029
12026
|
class: "ao-list-kanban__end"
|
|
12030
|
-
}, null, 512)) : (p(), m("div",
|
|
12031
|
-
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)
|
|
12032
12029
|
]))
|
|
12033
12030
|
]),
|
|
12034
12031
|
_: 1
|
|
12035
12032
|
}, 16, ["class", "list", "disabled"]),
|
|
12036
|
-
u.$slots.footer || u.footerLabel ? (p(), m("div",
|
|
12033
|
+
u.$slots.footer || u.footerLabel ? (p(), m("div", c8, [
|
|
12037
12034
|
ae(u.$slots, "footer", {}, () => [
|
|
12038
12035
|
u.isEditable ? (p(), P(Ct, {
|
|
12039
12036
|
key: 0,
|
|
@@ -12046,7 +12043,7 @@ const s8 = {
|
|
|
12046
12043
|
]));
|
|
12047
12044
|
}
|
|
12048
12045
|
});
|
|
12049
|
-
const
|
|
12046
|
+
const p8 = { class: "ao-field ao-search-field" }, v8 = ["value", "placeholder", "onKeypress"], f8 = /* @__PURE__ */ Y({
|
|
12050
12047
|
__name: "AoSearchField",
|
|
12051
12048
|
props: {
|
|
12052
12049
|
modelValue: {},
|
|
@@ -12058,10 +12055,10 @@ const d8 = { class: "ao-field ao-search-field" }, p8 = ["value", "placeholder",
|
|
|
12058
12055
|
const a = t, s = async (i) => {
|
|
12059
12056
|
const l = i.target.value;
|
|
12060
12057
|
e("update:modelValue", l, i);
|
|
12061
|
-
}, n =
|
|
12058
|
+
}, n = J4(s, a.delay), o = (i) => {
|
|
12062
12059
|
e("clear", i);
|
|
12063
12060
|
};
|
|
12064
|
-
return (i, r) => (p(), m("div",
|
|
12061
|
+
return (i, r) => (p(), m("div", p8, [
|
|
12065
12062
|
f("input", {
|
|
12066
12063
|
value: i.modelValue,
|
|
12067
12064
|
type: "text",
|
|
@@ -12070,7 +12067,7 @@ const d8 = { class: "ao-field ao-search-field" }, p8 = ["value", "placeholder",
|
|
|
12070
12067
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
12071
12068
|
(...l) => J(n) && J(n)(...l)),
|
|
12072
12069
|
onKeypress: dt(s, ["enter"])
|
|
12073
|
-
}, null, 40,
|
|
12070
|
+
}, null, 40, v8),
|
|
12074
12071
|
T(pe, {
|
|
12075
12072
|
name: "SearchRounded",
|
|
12076
12073
|
class: Q(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12086,7 +12083,7 @@ const d8 = { class: "ao-field ao-search-field" }, p8 = ["value", "placeholder",
|
|
|
12086
12083
|
]));
|
|
12087
12084
|
}
|
|
12088
12085
|
});
|
|
12089
|
-
const
|
|
12086
|
+
const h8 = { class: "ao-feed" }, m8 = { class: "ao-feed__filters" }, C8 = { class: "ao-feed__body" }, g8 = /* @__PURE__ */ Y({
|
|
12090
12087
|
__name: "AoFeed",
|
|
12091
12088
|
props: {
|
|
12092
12089
|
activities: {},
|
|
@@ -12197,10 +12194,10 @@ const f8 = { class: "ao-feed" }, h8 = { class: "ao-feed__filters" }, m8 = { clas
|
|
|
12197
12194
|
};
|
|
12198
12195
|
return (A, $) => {
|
|
12199
12196
|
var U;
|
|
12200
|
-
return p(), m("div",
|
|
12201
|
-
T(
|
|
12197
|
+
return p(), m("div", h8, [
|
|
12198
|
+
T(Ka, null, {
|
|
12202
12199
|
primary: Z(() => [
|
|
12203
|
-
f("div",
|
|
12200
|
+
f("div", m8, [
|
|
12204
12201
|
a.project ? (p(), P(ci, {
|
|
12205
12202
|
key: 0,
|
|
12206
12203
|
"is-left": !1,
|
|
@@ -12210,7 +12207,7 @@ const f8 = { class: "ao-feed" }, h8 = { class: "ao-feed__filters" }, m8 = { clas
|
|
|
12210
12207
|
V && A.$router.push({ name: J(Fe).project });
|
|
12211
12208
|
})
|
|
12212
12209
|
}, null, 8, ["right-label", "left-label"])) : O("", !0),
|
|
12213
|
-
T(
|
|
12210
|
+
T(f8, {
|
|
12214
12211
|
"model-value": A.searchText,
|
|
12215
12212
|
placeholder: A.$t("feed.search.placeholder"),
|
|
12216
12213
|
class: "ao-feed__search",
|
|
@@ -12303,8 +12300,8 @@ const f8 = { class: "ao-feed" }, h8 = { class: "ao-feed__filters" }, m8 = { clas
|
|
|
12303
12300
|
]),
|
|
12304
12301
|
_: 1
|
|
12305
12302
|
}),
|
|
12306
|
-
f("div",
|
|
12307
|
-
(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, {
|
|
12308
12305
|
key: V.id,
|
|
12309
12306
|
status: V,
|
|
12310
12307
|
list: r.value[V.id],
|
|
@@ -12362,7 +12359,7 @@ const Pt = {
|
|
|
12362
12359
|
TEMPLATES: "templates",
|
|
12363
12360
|
TEMPLATE_DETAILS: "template_details",
|
|
12364
12361
|
TEMPLATES_LIST: "templates_list"
|
|
12365
|
-
},
|
|
12362
|
+
}, P8 = (t, e = {}) => [
|
|
12366
12363
|
{
|
|
12367
12364
|
path: t,
|
|
12368
12365
|
name: Pt.TEMPLATES,
|
|
@@ -12372,12 +12369,12 @@ const Pt = {
|
|
|
12372
12369
|
{
|
|
12373
12370
|
path: "",
|
|
12374
12371
|
name: Pt.TEMPLATES_LIST,
|
|
12375
|
-
component:
|
|
12372
|
+
component: y8
|
|
12376
12373
|
},
|
|
12377
12374
|
{
|
|
12378
12375
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12379
12376
|
name: Pt.TEMPLATE_DETAILS,
|
|
12380
|
-
component:
|
|
12377
|
+
component: Of,
|
|
12381
12378
|
props: !0
|
|
12382
12379
|
}
|
|
12383
12380
|
]
|
|
@@ -12387,7 +12384,7 @@ const Pt = {
|
|
|
12387
12384
|
feed: "AoProjectFeed",
|
|
12388
12385
|
milestone: "AoMilestone",
|
|
12389
12386
|
activity: "AoActivity"
|
|
12390
|
-
},
|
|
12387
|
+
}, V8 = (t, e = {}) => [
|
|
12391
12388
|
{
|
|
12392
12389
|
path: t,
|
|
12393
12390
|
...e,
|
|
@@ -12396,7 +12393,7 @@ const Pt = {
|
|
|
12396
12393
|
{
|
|
12397
12394
|
path: "",
|
|
12398
12395
|
name: Fe.project,
|
|
12399
|
-
component:
|
|
12396
|
+
component: R9,
|
|
12400
12397
|
props: !0,
|
|
12401
12398
|
children: [
|
|
12402
12399
|
{
|
|
@@ -12411,7 +12408,7 @@ const Pt = {
|
|
|
12411
12408
|
props: { default: !0, modal: !0 },
|
|
12412
12409
|
components: {
|
|
12413
12410
|
default: Mn,
|
|
12414
|
-
modal:
|
|
12411
|
+
modal: q4
|
|
12415
12412
|
}
|
|
12416
12413
|
}
|
|
12417
12414
|
]
|
|
@@ -12419,12 +12416,12 @@ const Pt = {
|
|
|
12419
12416
|
{
|
|
12420
12417
|
path: "feed",
|
|
12421
12418
|
name: Fe.feed,
|
|
12422
|
-
component:
|
|
12419
|
+
component: g8,
|
|
12423
12420
|
props: !0
|
|
12424
12421
|
}
|
|
12425
12422
|
]
|
|
12426
12423
|
}
|
|
12427
|
-
],
|
|
12424
|
+
], _8 = { class: "ao-templates" }, y8 = /* @__PURE__ */ Y({
|
|
12428
12425
|
__name: "AoTemplatesList",
|
|
12429
12426
|
props: {
|
|
12430
12427
|
templates: {}
|
|
@@ -12464,8 +12461,8 @@ const Pt = {
|
|
|
12464
12461
|
});
|
|
12465
12462
|
}
|
|
12466
12463
|
};
|
|
12467
|
-
return (r, l) => (p(), m("div",
|
|
12468
|
-
T(
|
|
12464
|
+
return (r, l) => (p(), m("div", _8, [
|
|
12465
|
+
T(Ka, null, {
|
|
12469
12466
|
secondary: Z(() => [
|
|
12470
12467
|
T(ue, {
|
|
12471
12468
|
label: r.$t("templates.new"),
|
|
@@ -12487,7 +12484,7 @@ const Pt = {
|
|
|
12487
12484
|
item: Z(({ element: c }) => {
|
|
12488
12485
|
var u;
|
|
12489
12486
|
return [
|
|
12490
|
-
T(
|
|
12487
|
+
T(e5, {
|
|
12491
12488
|
id: c.id,
|
|
12492
12489
|
title: c.name,
|
|
12493
12490
|
phases: c.phases,
|
|
@@ -12508,7 +12505,7 @@ const Pt = {
|
|
|
12508
12505
|
]));
|
|
12509
12506
|
}
|
|
12510
12507
|
});
|
|
12511
|
-
const
|
|
12508
|
+
const b8 = { class: "ao-field__label" }, w8 = /* @__PURE__ */ Y({
|
|
12512
12509
|
__name: "AoField",
|
|
12513
12510
|
props: {
|
|
12514
12511
|
label: {},
|
|
@@ -12518,11 +12515,11 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12518
12515
|
return (e, a) => (p(), m("label", {
|
|
12519
12516
|
class: Q(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12520
12517
|
}, [
|
|
12521
|
-
f("span",
|
|
12518
|
+
f("span", b8, z(e.label), 1),
|
|
12522
12519
|
ae(e.$slots, "default")
|
|
12523
12520
|
], 2));
|
|
12524
12521
|
}
|
|
12525
|
-
}),
|
|
12522
|
+
}), $8 = ["type", "value", "disabled", "readonly"], B8 = /* @__PURE__ */ Y({
|
|
12526
12523
|
__name: "AoInputField",
|
|
12527
12524
|
props: {
|
|
12528
12525
|
label: { default: "" },
|
|
@@ -12539,7 +12536,7 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12539
12536
|
), n = (o) => {
|
|
12540
12537
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12541
12538
|
};
|
|
12542
|
-
return (o, i) => (p(), P(
|
|
12539
|
+
return (o, i) => (p(), P(w8, { label: o.label }, {
|
|
12543
12540
|
default: Z(() => [
|
|
12544
12541
|
f("input", He({
|
|
12545
12542
|
class: "ao-field__input",
|
|
@@ -12549,12 +12546,12 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12549
12546
|
readonly: o.isReadonly
|
|
12550
12547
|
}, {
|
|
12551
12548
|
[Ri(s.value)]: i[0] || (i[0] = (r) => n(r.target.value))
|
|
12552
|
-
}), null, 16,
|
|
12549
|
+
}), null, 16, $8)
|
|
12553
12550
|
]),
|
|
12554
12551
|
_: 1
|
|
12555
12552
|
}, 8, ["label"]));
|
|
12556
12553
|
}
|
|
12557
|
-
}),
|
|
12554
|
+
}), k8 = { class: "ao-field" }, S8 = { class: "ao-field__label" }, A8 = ["checked", "disabled"], R8 = /* @__PURE__ */ Y({
|
|
12558
12555
|
__name: "AoCheckboxField",
|
|
12559
12556
|
props: {
|
|
12560
12557
|
label: { default: "" },
|
|
@@ -12564,8 +12561,8 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12564
12561
|
},
|
|
12565
12562
|
emits: ["update:modelValue"],
|
|
12566
12563
|
setup(t) {
|
|
12567
|
-
return (e, a) => (p(), m("label",
|
|
12568
|
-
f("span",
|
|
12564
|
+
return (e, a) => (p(), m("label", k8, [
|
|
12565
|
+
f("span", S8, z(e.label), 1),
|
|
12569
12566
|
f("input", {
|
|
12570
12567
|
class: "ao-field__input",
|
|
12571
12568
|
type: "checkbox",
|
|
@@ -12578,30 +12575,30 @@ const y8 = { class: "ao-field__label" }, b8 = /* @__PURE__ */ Y({
|
|
|
12578
12575
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12579
12576
|
);
|
|
12580
12577
|
})
|
|
12581
|
-
}, null, 40,
|
|
12578
|
+
}, null, 40, A8)
|
|
12582
12579
|
]));
|
|
12583
12580
|
}
|
|
12584
12581
|
});
|
|
12585
12582
|
export {
|
|
12586
12583
|
et as AoAvatar,
|
|
12587
12584
|
di as AoCardFeed,
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12585
|
+
R8 as AoCheckboxField,
|
|
12586
|
+
g8 as AoFeed,
|
|
12587
|
+
w8 as AoField,
|
|
12588
|
+
B8 as AoInputField,
|
|
12592
12589
|
ke as AoMultiselect,
|
|
12593
|
-
|
|
12594
|
-
|
|
12595
|
-
|
|
12596
|
-
|
|
12590
|
+
m9 as AoProjectPhases,
|
|
12591
|
+
Of as AoTemplateDetails,
|
|
12592
|
+
I8 as AoTemplates,
|
|
12593
|
+
y8 as AoTemplatesList,
|
|
12597
12594
|
F2 as TemplateItemTypeEnum,
|
|
12598
|
-
|
|
12599
|
-
|
|
12595
|
+
H8 as activityFeedStatus,
|
|
12596
|
+
L8 as durationTypes,
|
|
12600
12597
|
Ht as feedFilterTypes,
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
|
|
12598
|
+
V8 as getProjectOverviewRoutes,
|
|
12599
|
+
P8 as getTemplateRoutes,
|
|
12600
|
+
D8 as listUpdateTypes,
|
|
12601
|
+
ms as milestoneStatus,
|
|
12605
12602
|
Fe as projectOverviewRoutes,
|
|
12606
12603
|
N2 as ruleComparators,
|
|
12607
12604
|
U2 as ruleDurationUnits,
|