@26lights/orcha 0.14.9 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +366 -366
- package/dist/orcha.umd.js +1 -1
- package/dist/src/helpers.d.ts +1 -1
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, openBlock as c, createBlock as N, unref as q, mergeProps as Ve, createElementBlock as h, createElementVNode as v, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as w, resolveDynamicComponent as tt, normalizeClass as G, renderSlot as te, toDisplayString as z, createCommentVNode as
|
|
1
|
+
import { defineComponent as x, openBlock as c, createBlock as N, unref as q, mergeProps as Ve, createElementBlock as h, createElementVNode as v, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as w, resolveDynamicComponent as tt, normalizeClass as G, renderSlot as te, toDisplayString as z, createCommentVNode as k, ref as J, watch as re, nextTick as Ee, withKeys as Ye, toHandlers as dn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ra, withModifiers as _e, createSlots as t1, Fragment as fe, renderList as be, onMounted as Dt, onBeforeUnmount as cn, onUnmounted as ua, toRefs as $e, getCurrentInstance as at, toRef as ct, normalizeProps as fn, guardReactiveProps as vn, onUpdated as pn, withDirectives as ft, vModelText as Et, vModelCheckbox as hn, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
|
|
2
2
|
import { RouterView as bn } from "vue-router";
|
|
3
3
|
import Xe from "vuedraggable";
|
|
4
4
|
const Y4 = /* @__PURE__ */ x({
|
|
@@ -1180,14 +1180,14 @@ const nd = ["type"], sd = {
|
|
|
1180
1180
|
])
|
|
1181
1181
|
}, [
|
|
1182
1182
|
te(n.$slots, "default", {}, () => [
|
|
1183
|
-
n.label ? (c(), h("span", sd, z(n.label), 1)) :
|
|
1183
|
+
n.label ? (c(), h("span", sd, z(n.label), 1)) : k("", !0)
|
|
1184
1184
|
]),
|
|
1185
1185
|
s.value ? (c(), N(ce, {
|
|
1186
1186
|
key: 0,
|
|
1187
1187
|
name: s.value,
|
|
1188
1188
|
class: "ao-button__icon",
|
|
1189
1189
|
size: t.value
|
|
1190
|
-
}, null, 8, ["name", "size"])) :
|
|
1190
|
+
}, null, 8, ["name", "size"])) : k("", !0)
|
|
1191
1191
|
], 10, nd));
|
|
1192
1192
|
}
|
|
1193
1193
|
});
|
|
@@ -1329,7 +1329,7 @@ const id = {
|
|
|
1329
1329
|
name: "DragIndicator",
|
|
1330
1330
|
class: "ao-card-horiz__drag-handle"
|
|
1331
1331
|
})
|
|
1332
|
-
])) :
|
|
1332
|
+
])) : k("", !0),
|
|
1333
1333
|
v("div", od, [
|
|
1334
1334
|
s.icon ? (c(), h("div", ld, [
|
|
1335
1335
|
T(ce, {
|
|
@@ -1337,7 +1337,7 @@ const id = {
|
|
|
1337
1337
|
name: s.icon,
|
|
1338
1338
|
size: "xl"
|
|
1339
1339
|
}, null, 8, ["name"])
|
|
1340
|
-
])) :
|
|
1340
|
+
])) : k("", !0),
|
|
1341
1341
|
v("div", rd, [
|
|
1342
1342
|
T(me, {
|
|
1343
1343
|
id: s.id,
|
|
@@ -1348,22 +1348,22 @@ const id = {
|
|
|
1348
1348
|
"onUpdate:title": t
|
|
1349
1349
|
}, null, 8, ["id", "title"]),
|
|
1350
1350
|
te(s.$slots, "subtitle", {}, () => [
|
|
1351
|
-
s.subtitle ? (c(), h("span", ud, z(s.subtitle), 1)) :
|
|
1351
|
+
s.subtitle ? (c(), h("span", ud, z(s.subtitle), 1)) : k("", !0)
|
|
1352
1352
|
])
|
|
1353
1353
|
]),
|
|
1354
1354
|
s.$slots.header ? (c(), h("div", dd, [
|
|
1355
1355
|
te(s.$slots, "header")
|
|
1356
|
-
])) :
|
|
1356
|
+
])) : k("", !0)
|
|
1357
1357
|
]),
|
|
1358
1358
|
s.$slots.default ? (c(), h("div", cd, [
|
|
1359
1359
|
te(s.$slots, "default")
|
|
1360
|
-
])) :
|
|
1360
|
+
])) : k("", !0),
|
|
1361
1361
|
s.$slots.footer ? (c(), h("div", fd, [
|
|
1362
1362
|
te(s.$slots, "footer")
|
|
1363
|
-
])) :
|
|
1363
|
+
])) : k("", !0),
|
|
1364
1364
|
s.$slots.secondary ? (c(), h("div", vd, [
|
|
1365
1365
|
te(s.$slots, "secondary")
|
|
1366
|
-
])) :
|
|
1366
|
+
])) : k("", !0)
|
|
1367
1367
|
]),
|
|
1368
1368
|
_: 3
|
|
1369
1369
|
}, 8, ["class"]));
|
|
@@ -1412,7 +1412,7 @@ const E1 = /* @__PURE__ */ x({
|
|
|
1412
1412
|
size: "sm",
|
|
1413
1413
|
class: "ao-tag__close-icon"
|
|
1414
1414
|
})
|
|
1415
|
-
])) :
|
|
1415
|
+
])) : k("", !0)
|
|
1416
1416
|
], 6));
|
|
1417
1417
|
}
|
|
1418
1418
|
});
|
|
@@ -2700,7 +2700,7 @@ function Oc(a, e, t) {
|
|
|
2700
2700
|
var ee = He(a);
|
|
2701
2701
|
if (!ha(ee))
|
|
2702
2702
|
throw new RangeError("Invalid time value");
|
|
2703
|
-
var b = bd(ee),
|
|
2703
|
+
var b = bd(ee), A = wd(ee, b), P = {
|
|
2704
2704
|
firstWeekContainsDate: ae,
|
|
2705
2705
|
weekStartsOn: I,
|
|
2706
2706
|
locale: X,
|
|
@@ -2720,7 +2720,7 @@ function Oc(a, e, t) {
|
|
|
2720
2720
|
return Lc(ne);
|
|
2721
2721
|
var ie = Vd[le];
|
|
2722
2722
|
if (ie)
|
|
2723
|
-
return !(t != null && t.useAdditionalWeekYearTokens) && Ud(ne) && J1(ne, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Rd(ne) && J1(ne, e, String(a)), ie(
|
|
2723
|
+
return !(t != null && t.useAdditionalWeekYearTokens) && Ud(ne) && J1(ne, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Rd(ne) && J1(ne, e, String(a)), ie(A, ne, X.localize, P);
|
|
2724
2724
|
if (le.match(Ic))
|
|
2725
2725
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + le + "`");
|
|
2726
2726
|
return ne;
|
|
@@ -3281,7 +3281,7 @@ i1.LexoNumeralSystem10 = Jc;
|
|
|
3281
3281
|
var o1 = {};
|
|
3282
3282
|
Object.defineProperty(o1, "__esModule", { value: !0 });
|
|
3283
3283
|
o1.LexoNumeralSystem36 = void 0;
|
|
3284
|
-
class
|
|
3284
|
+
class e0 {
|
|
3285
3285
|
constructor() {
|
|
3286
3286
|
this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
|
|
3287
3287
|
}
|
|
@@ -3308,11 +3308,11 @@ class e3 {
|
|
|
3308
3308
|
return this.DIGITS[e];
|
|
3309
3309
|
}
|
|
3310
3310
|
}
|
|
3311
|
-
o1.LexoNumeralSystem36 =
|
|
3311
|
+
o1.LexoNumeralSystem36 = e0;
|
|
3312
3312
|
var l1 = {};
|
|
3313
3313
|
Object.defineProperty(l1, "__esModule", { value: !0 });
|
|
3314
3314
|
l1.LexoNumeralSystem64 = void 0;
|
|
3315
|
-
class
|
|
3315
|
+
class t0 {
|
|
3316
3316
|
constructor() {
|
|
3317
3317
|
this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
|
|
3318
3318
|
}
|
|
@@ -3345,7 +3345,7 @@ class t3 {
|
|
|
3345
3345
|
return this.DIGITS[e];
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
3348
|
-
l1.LexoNumeralSystem64 =
|
|
3348
|
+
l1.LexoNumeralSystem64 = t0;
|
|
3349
3349
|
(function(a) {
|
|
3350
3350
|
var e = Se && Se.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3351
3351
|
i === void 0 && (i = o);
|
|
@@ -3575,20 +3575,20 @@ function Ma(a) {
|
|
|
3575
3575
|
return e + (((s = t.activities) == null ? void 0 : s.length) ?? 0);
|
|
3576
3576
|
}, 0)) ?? 0;
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function a0(a) {
|
|
3579
3579
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3580
3580
|
var s;
|
|
3581
3581
|
return e + (((s = t.milestones) == null ? void 0 : s.length) ?? 0);
|
|
3582
3582
|
}, 0)) ?? 0;
|
|
3583
3583
|
}
|
|
3584
|
-
function
|
|
3584
|
+
function n0(a) {
|
|
3585
3585
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3586
3586
|
var n;
|
|
3587
3587
|
const s = (n = t.milestones) != null && n.length ? Ma(t.milestones) : 0;
|
|
3588
3588
|
return e + s;
|
|
3589
3589
|
}, 0)) ?? 0;
|
|
3590
3590
|
}
|
|
3591
|
-
function
|
|
3591
|
+
function s0(a) {
|
|
3592
3592
|
return a.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
|
|
3593
3593
|
}
|
|
3594
3594
|
function Bt(a, e) {
|
|
@@ -3618,19 +3618,19 @@ function A1(a, e = "dd/MM/yyyy") {
|
|
|
3618
3618
|
function ka(a, e) {
|
|
3619
3619
|
return a.status.id === e.id;
|
|
3620
3620
|
}
|
|
3621
|
-
function
|
|
3622
|
-
return !a.activities.some((t) => !ka(t, e));
|
|
3621
|
+
function i0(a, e) {
|
|
3622
|
+
return a.activities.length === 0 ? !1 : !a.activities.some((t) => !ka(t, e));
|
|
3623
3623
|
}
|
|
3624
|
-
function
|
|
3624
|
+
function o0(a, e) {
|
|
3625
3625
|
return {
|
|
3626
3626
|
...a,
|
|
3627
|
-
status:
|
|
3627
|
+
status: i0(a, e) ? k1.done : k1.todo
|
|
3628
3628
|
};
|
|
3629
3629
|
}
|
|
3630
|
-
const
|
|
3630
|
+
const l0 = ["title"], r0 = {
|
|
3631
3631
|
key: 0,
|
|
3632
3632
|
className: "ao-avatar__initials"
|
|
3633
|
-
},
|
|
3633
|
+
}, u0 = ["src"], _t = /* @__PURE__ */ x({
|
|
3634
3634
|
__name: "AoAvatar",
|
|
3635
3635
|
props: {
|
|
3636
3636
|
userName: {},
|
|
@@ -3640,7 +3640,7 @@ const l3 = ["title"], r3 = {
|
|
|
3640
3640
|
},
|
|
3641
3641
|
emits: ["close"],
|
|
3642
3642
|
setup(a, { emit: e }) {
|
|
3643
|
-
const s =
|
|
3643
|
+
const s = s0(a.userName), n = (o) => {
|
|
3644
3644
|
e("close", o);
|
|
3645
3645
|
};
|
|
3646
3646
|
return (o, i) => (c(), h("div", {
|
|
@@ -3648,12 +3648,12 @@ const l3 = ["title"], r3 = {
|
|
|
3648
3648
|
class: G(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
|
|
3649
3649
|
title: o.userName
|
|
3650
3650
|
}, [
|
|
3651
|
-
o.avatarUrl ?
|
|
3651
|
+
o.avatarUrl ? k("", !0) : (c(), h("span", r0, z(q(s)), 1)),
|
|
3652
3652
|
o.avatarUrl ? (c(), h("img", {
|
|
3653
3653
|
key: 1,
|
|
3654
3654
|
className: "ao-avatar__image",
|
|
3655
3655
|
src: o.avatarUrl
|
|
3656
|
-
}, null, 8,
|
|
3656
|
+
}, null, 8, u0)) : k("", !0),
|
|
3657
3657
|
o.isClosable ? (c(), N(de, {
|
|
3658
3658
|
key: 2,
|
|
3659
3659
|
"icon-name": "CloseRounded",
|
|
@@ -3661,20 +3661,20 @@ const l3 = ["title"], r3 = {
|
|
|
3661
3661
|
color: "primary",
|
|
3662
3662
|
corners: "round",
|
|
3663
3663
|
onClick: _e(n, ["stop"])
|
|
3664
|
-
}, null, 8, ["onClick"])) :
|
|
3665
|
-
], 10,
|
|
3664
|
+
}, null, 8, ["onClick"])) : k("", !0)
|
|
3665
|
+
], 10, l0));
|
|
3666
3666
|
}
|
|
3667
3667
|
});
|
|
3668
|
-
const
|
|
3668
|
+
const d0 = { class: "ao-card-template__subitems" }, c0 = { class: "ao-card-template__subitem" }, f0 = { class: "ao-card-template__subitem-number" }, v0 = { class: "ao-card-template__subitem" }, p0 = { class: "ao-card-template__subitem" }, h0 = { class: "ao-card-template__body" }, m0 = { class: "ao-card-template__col ao-card-template__col--phases" }, C0 = { class: "ao-card-template__col-title" }, _0 = { class: "ao-card-template__col-label" }, g0 = {
|
|
3669
3669
|
key: 0,
|
|
3670
3670
|
class: "ao-card-template__col-body ao-card-template__phases-list"
|
|
3671
|
-
},
|
|
3671
|
+
}, b0 = { class: "ao-card-template__footer" }, y0 = {
|
|
3672
3672
|
key: 0,
|
|
3673
3673
|
class: "ao-card-template__col ao-card-template__col--updated-at"
|
|
3674
|
-
},
|
|
3674
|
+
}, w0 = { class: "ao-card-template__col-title" }, $0 = { class: "ao-card-template__col-label" }, M0 = { class: "ao-card-template__col-body" }, k0 = {
|
|
3675
3675
|
key: 1,
|
|
3676
3676
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
3677
|
-
},
|
|
3677
|
+
}, A0 = { class: "ao-card-template__col-title" }, S0 = { class: "ao-card-template__col-label" }, T0 = { class: "ao-card-template__col-body" }, E0 = /* @__PURE__ */ x({
|
|
3678
3678
|
__name: "AoCardTemplate",
|
|
3679
3679
|
props: {
|
|
3680
3680
|
id: {},
|
|
@@ -3697,41 +3697,41 @@ const d3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
|
|
|
3697
3697
|
"onUpdate:title": t
|
|
3698
3698
|
}, t1({
|
|
3699
3699
|
subtitle: j(() => [
|
|
3700
|
-
v("ul",
|
|
3701
|
-
v("li",
|
|
3700
|
+
v("ul", d0, [
|
|
3701
|
+
v("li", c0, [
|
|
3702
3702
|
T(ce, {
|
|
3703
3703
|
name: "MountainFlagOutlineRounded",
|
|
3704
3704
|
size: "sm"
|
|
3705
3705
|
}),
|
|
3706
|
-
v("span",
|
|
3706
|
+
v("span", f0, z(s.milestones), 1)
|
|
3707
3707
|
]),
|
|
3708
|
-
v("li",
|
|
3708
|
+
v("li", v0, [
|
|
3709
3709
|
T(ce, {
|
|
3710
3710
|
name: "TaskOutlineRounded",
|
|
3711
3711
|
size: "sm"
|
|
3712
3712
|
}),
|
|
3713
|
-
v("span",
|
|
3713
|
+
v("span", p0, z(s.activities), 1)
|
|
3714
3714
|
])
|
|
3715
3715
|
])
|
|
3716
3716
|
]),
|
|
3717
3717
|
default: j(() => [
|
|
3718
|
-
v("div",
|
|
3719
|
-
v("div",
|
|
3720
|
-
v("div",
|
|
3718
|
+
v("div", h0, [
|
|
3719
|
+
v("div", m0, [
|
|
3720
|
+
v("div", C0, [
|
|
3721
3721
|
T(ce, {
|
|
3722
3722
|
name: "WaterfallChartRounded",
|
|
3723
3723
|
size: "sm"
|
|
3724
3724
|
}),
|
|
3725
|
-
v("span",
|
|
3725
|
+
v("span", _0, z(s.$t("template.phases.title")), 1)
|
|
3726
3726
|
]),
|
|
3727
|
-
s.phases ? (c(), h("ul",
|
|
3727
|
+
s.phases ? (c(), h("ul", g0, [
|
|
3728
3728
|
(c(!0), h(fe, null, be(s.phases, (o) => (c(), N(E1, {
|
|
3729
3729
|
key: o.id,
|
|
3730
3730
|
label: o.name || o.id,
|
|
3731
3731
|
color: "primary",
|
|
3732
3732
|
variant: "solid"
|
|
3733
3733
|
}, null, 8, ["label"]))), 128))
|
|
3734
|
-
])) :
|
|
3734
|
+
])) : k("", !0)
|
|
3735
3735
|
])
|
|
3736
3736
|
])
|
|
3737
3737
|
]),
|
|
@@ -3740,23 +3740,23 @@ const d3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
|
|
|
3740
3740
|
s.updatedBy || s.updatedAt ? {
|
|
3741
3741
|
name: "footer",
|
|
3742
3742
|
fn: j(() => [
|
|
3743
|
-
v("div",
|
|
3744
|
-
s.updatedAt ? (c(), h("div",
|
|
3745
|
-
v("div",
|
|
3746
|
-
v("span", $
|
|
3743
|
+
v("div", b0, [
|
|
3744
|
+
s.updatedAt ? (c(), h("div", y0, [
|
|
3745
|
+
v("div", w0, [
|
|
3746
|
+
v("span", $0, z(s.$t("template.updatedAt.label")), 1)
|
|
3747
3747
|
]),
|
|
3748
|
-
v("div",
|
|
3748
|
+
v("div", M0, [
|
|
3749
3749
|
v("span", null, z(s.updatedAt), 1)
|
|
3750
3750
|
])
|
|
3751
|
-
])) :
|
|
3752
|
-
s.updatedBy ? (c(), h("div",
|
|
3753
|
-
v("div",
|
|
3754
|
-
v("span",
|
|
3751
|
+
])) : k("", !0),
|
|
3752
|
+
s.updatedBy ? (c(), h("div", k0, [
|
|
3753
|
+
v("div", A0, [
|
|
3754
|
+
v("span", S0, z(s.$t("template.updatedBy.label")), 1)
|
|
3755
3755
|
]),
|
|
3756
|
-
v("div",
|
|
3756
|
+
v("div", T0, [
|
|
3757
3757
|
T(_t, { "user-name": s.updatedBy }, null, 8, ["user-name"])
|
|
3758
3758
|
])
|
|
3759
|
-
])) :
|
|
3759
|
+
])) : k("", !0)
|
|
3760
3760
|
])
|
|
3761
3761
|
]),
|
|
3762
3762
|
key: "0"
|
|
@@ -3764,7 +3764,7 @@ const d3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
|
|
|
3764
3764
|
]), 1032, ["id", "title"]));
|
|
3765
3765
|
}
|
|
3766
3766
|
});
|
|
3767
|
-
const
|
|
3767
|
+
const I0 = { class: "ao-page-header" }, O0 = { class: "ao-page-header-main" }, L0 = {
|
|
3768
3768
|
key: 0,
|
|
3769
3769
|
class: "ao-page-header-secondary"
|
|
3770
3770
|
}, r1 = /* @__PURE__ */ x({
|
|
@@ -3774,23 +3774,23 @@ const I3 = { class: "ao-page-header" }, O3 = { class: "ao-page-header-main" }, L
|
|
|
3774
3774
|
},
|
|
3775
3775
|
emits: ["goBack"],
|
|
3776
3776
|
setup(a) {
|
|
3777
|
-
return (e, t) => (c(), h("header",
|
|
3778
|
-
v("div",
|
|
3777
|
+
return (e, t) => (c(), h("header", I0, [
|
|
3778
|
+
v("div", O0, [
|
|
3779
3779
|
e.canGoBack ? (c(), N(de, {
|
|
3780
3780
|
key: 0,
|
|
3781
3781
|
"icon-name": "ArrowBackRounded",
|
|
3782
3782
|
variant: "ghost",
|
|
3783
3783
|
onClick: t[0] || (t[0] = (s) => e.$emit("goBack"))
|
|
3784
|
-
})) :
|
|
3784
|
+
})) : k("", !0),
|
|
3785
3785
|
te(e.$slots, "primary")
|
|
3786
3786
|
]),
|
|
3787
|
-
e.$slots.secondary ? (c(), h("div",
|
|
3787
|
+
e.$slots.secondary ? (c(), h("div", L0, [
|
|
3788
3788
|
te(e.$slots, "secondary")
|
|
3789
|
-
])) :
|
|
3789
|
+
])) : k("", !0)
|
|
3790
3790
|
]));
|
|
3791
3791
|
}
|
|
3792
3792
|
});
|
|
3793
|
-
const
|
|
3793
|
+
const V0 = ["type"], D0 = {
|
|
3794
3794
|
key: 0,
|
|
3795
3795
|
class: "ao-button-card__label"
|
|
3796
3796
|
}, Qe = /* @__PURE__ */ x({
|
|
@@ -3817,21 +3817,21 @@ const V3 = ["type"], D3 = {
|
|
|
3817
3817
|
])
|
|
3818
3818
|
}, [
|
|
3819
3819
|
te(n.$slots, "default", {}, () => [
|
|
3820
|
-
n.label ? (c(), h("span",
|
|
3820
|
+
n.label ? (c(), h("span", D0, z(n.label), 1)) : k("", !0)
|
|
3821
3821
|
]),
|
|
3822
3822
|
s.value ? (c(), N(ce, {
|
|
3823
3823
|
key: 0,
|
|
3824
3824
|
name: s.value,
|
|
3825
3825
|
class: "ao-button-card__icon",
|
|
3826
3826
|
size: t.value
|
|
3827
|
-
}, null, 8, ["name", "size"])) :
|
|
3828
|
-
], 10,
|
|
3827
|
+
}, null, 8, ["name", "size"])) : k("", !0)
|
|
3828
|
+
], 10, V0));
|
|
3829
3829
|
}
|
|
3830
3830
|
});
|
|
3831
|
-
const
|
|
3831
|
+
const H0 = { class: "ao-card-template-item__footer" }, P0 = {
|
|
3832
3832
|
key: 0,
|
|
3833
3833
|
class: "ao-card-template-item__subitem"
|
|
3834
|
-
},
|
|
3834
|
+
}, B0 = { class: "ao-card-template-item__subitem-number" }, N0 = { class: "ao-card-template-item__secondary" }, O1 = /* @__PURE__ */ x({
|
|
3835
3835
|
__name: "AoCardTemplateItem",
|
|
3836
3836
|
props: {
|
|
3837
3837
|
milestones: {},
|
|
@@ -3853,20 +3853,20 @@ const H3 = { class: "ao-card-template-item__footer" }, P3 = {
|
|
|
3853
3853
|
};
|
|
3854
3854
|
return (i, l) => (c(), N(fa, { "onUpdate:title": t }, {
|
|
3855
3855
|
footer: j(() => [
|
|
3856
|
-
v("ul",
|
|
3856
|
+
v("ul", H0, [
|
|
3857
3857
|
(c(), h(fe, null, be(s, (r) => (c(), h(fe, { key: r }, [
|
|
3858
|
-
i.$props[r] ? (c(), h("li",
|
|
3858
|
+
i.$props[r] ? (c(), h("li", P0, [
|
|
3859
3859
|
T(ce, {
|
|
3860
3860
|
name: n[r],
|
|
3861
3861
|
size: "sm"
|
|
3862
3862
|
}, null, 8, ["name"]),
|
|
3863
|
-
v("span",
|
|
3864
|
-
])) :
|
|
3863
|
+
v("span", B0, z(i.$props[r]), 1)
|
|
3864
|
+
])) : k("", !0)
|
|
3865
3865
|
], 64))), 64))
|
|
3866
3866
|
])
|
|
3867
3867
|
]),
|
|
3868
3868
|
secondary: j(() => [
|
|
3869
|
-
v("div",
|
|
3869
|
+
v("div", N0, [
|
|
3870
3870
|
T(de, {
|
|
3871
3871
|
"icon-name": "DeleteOutlineRounded",
|
|
3872
3872
|
variant: "ghost",
|
|
@@ -3880,7 +3880,7 @@ const H3 = { class: "ao-card-template-item__footer" }, P3 = {
|
|
|
3880
3880
|
}));
|
|
3881
3881
|
}
|
|
3882
3882
|
});
|
|
3883
|
-
const
|
|
3883
|
+
const R0 = /* @__PURE__ */ x({
|
|
3884
3884
|
__name: "AoCardTemplateItemPhase",
|
|
3885
3885
|
props: {
|
|
3886
3886
|
id: {},
|
|
@@ -3904,7 +3904,7 @@ const R3 = /* @__PURE__ */ x({
|
|
|
3904
3904
|
_: 3
|
|
3905
3905
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
3906
3906
|
}
|
|
3907
|
-
}),
|
|
3907
|
+
}), U0 = /* @__PURE__ */ x({
|
|
3908
3908
|
__name: "AoCardTemplateItemMilestone",
|
|
3909
3909
|
props: {
|
|
3910
3910
|
activities: {}
|
|
@@ -3921,7 +3921,7 @@ const R3 = /* @__PURE__ */ x({
|
|
|
3921
3921
|
_: 3
|
|
3922
3922
|
}, 8, ["activities"]));
|
|
3923
3923
|
}
|
|
3924
|
-
}),
|
|
3924
|
+
}), j0 = { class: "ao-list__footer" }, Z0 = /* @__PURE__ */ x({
|
|
3925
3925
|
__name: "AoTemplateDetailsMilestones",
|
|
3926
3926
|
props: {
|
|
3927
3927
|
templateId: {},
|
|
@@ -3962,7 +3962,7 @@ const R3 = /* @__PURE__ */ x({
|
|
|
3962
3962
|
})
|
|
3963
3963
|
]),
|
|
3964
3964
|
item: j(({ element: d }) => [
|
|
3965
|
-
(c(), N(
|
|
3965
|
+
(c(), N(U0, {
|
|
3966
3966
|
id: d.id,
|
|
3967
3967
|
key: d.id,
|
|
3968
3968
|
title: d.name,
|
|
@@ -3979,7 +3979,7 @@ const R3 = /* @__PURE__ */ x({
|
|
|
3979
3979
|
}, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
3980
3980
|
]),
|
|
3981
3981
|
footer: j(() => [
|
|
3982
|
-
v("div",
|
|
3982
|
+
v("div", j0, [
|
|
3983
3983
|
T(Qe, {
|
|
3984
3984
|
"icon-name": "AddBoxOutlineRounded",
|
|
3985
3985
|
label: l.$t("template.milestones.add"),
|
|
@@ -3988,9 +3988,9 @@ const R3 = /* @__PURE__ */ x({
|
|
|
3988
3988
|
])
|
|
3989
3989
|
]),
|
|
3990
3990
|
_: 1
|
|
3991
|
-
}, 8, ["model-value", "title"])) :
|
|
3991
|
+
}, 8, ["model-value", "title"])) : k("", !0);
|
|
3992
3992
|
}
|
|
3993
|
-
}),
|
|
3993
|
+
}), F0 = /* @__PURE__ */ x({
|
|
3994
3994
|
__name: "AoCardTemplateItemActivity",
|
|
3995
3995
|
props: {
|
|
3996
3996
|
name: {},
|
|
@@ -4008,7 +4008,7 @@ const R3 = /* @__PURE__ */ x({
|
|
|
4008
4008
|
_: 3
|
|
4009
4009
|
}, 8, ["tasks"]));
|
|
4010
4010
|
}
|
|
4011
|
-
}),
|
|
4011
|
+
}), q0 = { class: "ao-list__footer" }, W0 = /* @__PURE__ */ x({
|
|
4012
4012
|
__name: "AoTemplateDetailsActivities",
|
|
4013
4013
|
props: {
|
|
4014
4014
|
templateId: {},
|
|
@@ -4052,7 +4052,7 @@ const R3 = /* @__PURE__ */ x({
|
|
|
4052
4052
|
})
|
|
4053
4053
|
]),
|
|
4054
4054
|
item: j(({ element: d }) => [
|
|
4055
|
-
(c(), N(
|
|
4055
|
+
(c(), N(F0, {
|
|
4056
4056
|
id: d.id,
|
|
4057
4057
|
key: d.id,
|
|
4058
4058
|
title: d.name,
|
|
@@ -4065,7 +4065,7 @@ const R3 = /* @__PURE__ */ x({
|
|
|
4065
4065
|
}, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4066
4066
|
]),
|
|
4067
4067
|
footer: j(() => [
|
|
4068
|
-
v("div",
|
|
4068
|
+
v("div", q0, [
|
|
4069
4069
|
T(Qe, {
|
|
4070
4070
|
"icon-name": "AddBoxOutlineRounded",
|
|
4071
4071
|
label: l.$t("template.activities.add"),
|
|
@@ -4074,12 +4074,12 @@ const R3 = /* @__PURE__ */ x({
|
|
|
4074
4074
|
])
|
|
4075
4075
|
]),
|
|
4076
4076
|
_: 1
|
|
4077
|
-
}, 8, ["model-value", "title"])) :
|
|
4077
|
+
}, 8, ["model-value", "title"])) : k("", !0);
|
|
4078
4078
|
}
|
|
4079
|
-
}),
|
|
4079
|
+
}), z0 = { class: "ao-modal" }, Y0 = { class: "ao-modal__header" }, K0 = { class: "ao-modal__header-meta" }, G0 = {
|
|
4080
4080
|
key: 0,
|
|
4081
4081
|
class: "ao-modal__title-group"
|
|
4082
|
-
},
|
|
4082
|
+
}, x0 = { class: "ao-modal__body" }, X0 = {
|
|
4083
4083
|
key: 0,
|
|
4084
4084
|
class: "ao-modal__footer"
|
|
4085
4085
|
}, L1 = /* @__PURE__ */ x({
|
|
@@ -4096,9 +4096,9 @@ const R3 = /* @__PURE__ */ x({
|
|
|
4096
4096
|
class: "ao-modal__backdrop",
|
|
4097
4097
|
onClick: t[0] || (t[0] = (s) => e.$emit("close"))
|
|
4098
4098
|
}),
|
|
4099
|
-
v("div",
|
|
4100
|
-
v("div",
|
|
4101
|
-
v("div",
|
|
4099
|
+
v("div", z0, [
|
|
4100
|
+
v("div", Y0, [
|
|
4101
|
+
v("div", K0, [
|
|
4102
4102
|
T(de, {
|
|
4103
4103
|
"icon-name": "CloseRounded",
|
|
4104
4104
|
variant: "ghost",
|
|
@@ -4106,16 +4106,16 @@ const R3 = /* @__PURE__ */ x({
|
|
|
4106
4106
|
onClick: t[1] || (t[1] = (s) => e.$emit("close"))
|
|
4107
4107
|
})
|
|
4108
4108
|
]),
|
|
4109
|
-
e.$slots.header ? (c(), h("header",
|
|
4109
|
+
e.$slots.header ? (c(), h("header", G0, [
|
|
4110
4110
|
te(e.$slots, "header")
|
|
4111
|
-
])) :
|
|
4111
|
+
])) : k("", !0)
|
|
4112
4112
|
]),
|
|
4113
|
-
v("div",
|
|
4113
|
+
v("div", x0, [
|
|
4114
4114
|
te(e.$slots, "default")
|
|
4115
4115
|
]),
|
|
4116
|
-
e.$slots.footer ? (c(), h("footer",
|
|
4116
|
+
e.$slots.footer ? (c(), h("footer", X0, [
|
|
4117
4117
|
te(e.$slots, "footer")
|
|
4118
|
-
])) :
|
|
4118
|
+
])) : k("", !0)
|
|
4119
4119
|
])
|
|
4120
4120
|
], 2));
|
|
4121
4121
|
}
|
|
@@ -4123,12 +4123,12 @@ const R3 = /* @__PURE__ */ x({
|
|
|
4123
4123
|
const Lt = Math.min, ke = Math.max, xt = Math.round, zt = Math.floor, Ge = (a) => ({
|
|
4124
4124
|
x: a,
|
|
4125
4125
|
y: a
|
|
4126
|
-
}),
|
|
4126
|
+
}), Q0 = {
|
|
4127
4127
|
left: "right",
|
|
4128
4128
|
right: "left",
|
|
4129
4129
|
bottom: "top",
|
|
4130
4130
|
top: "bottom"
|
|
4131
|
-
},
|
|
4131
|
+
}, J0 = {
|
|
4132
4132
|
start: "end",
|
|
4133
4133
|
end: "start"
|
|
4134
4134
|
};
|
|
@@ -4141,7 +4141,7 @@ function ht(a) {
|
|
|
4141
4141
|
function u1(a) {
|
|
4142
4142
|
return a.split("-")[1];
|
|
4143
4143
|
}
|
|
4144
|
-
function
|
|
4144
|
+
function e3(a) {
|
|
4145
4145
|
return a === "x" ? "y" : "x";
|
|
4146
4146
|
}
|
|
4147
4147
|
function Aa(a) {
|
|
@@ -4151,22 +4151,22 @@ function D1(a) {
|
|
|
4151
4151
|
return ["top", "bottom"].includes(ht(a)) ? "y" : "x";
|
|
4152
4152
|
}
|
|
4153
4153
|
function Sa(a) {
|
|
4154
|
-
return
|
|
4154
|
+
return e3(D1(a));
|
|
4155
4155
|
}
|
|
4156
|
-
function
|
|
4156
|
+
function t3(a, e, t) {
|
|
4157
4157
|
t === void 0 && (t = !1);
|
|
4158
4158
|
const s = u1(a), n = Sa(a), o = Aa(n);
|
|
4159
4159
|
let i = n === "x" ? s === (t ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4160
4160
|
return e.reference[o] > e.floating[o] && (i = Xt(i)), [i, Xt(i)];
|
|
4161
4161
|
}
|
|
4162
|
-
function
|
|
4162
|
+
function a3(a) {
|
|
4163
4163
|
const e = Xt(a);
|
|
4164
4164
|
return [S1(a), e, S1(e)];
|
|
4165
4165
|
}
|
|
4166
4166
|
function S1(a) {
|
|
4167
|
-
return a.replace(/start|end/g, (e) =>
|
|
4167
|
+
return a.replace(/start|end/g, (e) => J0[e]);
|
|
4168
4168
|
}
|
|
4169
|
-
function
|
|
4169
|
+
function n3(a, e, t) {
|
|
4170
4170
|
const s = ["left", "right"], n = ["right", "left"], o = ["top", "bottom"], i = ["bottom", "top"];
|
|
4171
4171
|
switch (a) {
|
|
4172
4172
|
case "top":
|
|
@@ -4179,15 +4179,15 @@ function n0(a, e, t) {
|
|
|
4179
4179
|
return [];
|
|
4180
4180
|
}
|
|
4181
4181
|
}
|
|
4182
|
-
function
|
|
4182
|
+
function s3(a, e, t, s) {
|
|
4183
4183
|
const n = u1(a);
|
|
4184
|
-
let o =
|
|
4184
|
+
let o = n3(ht(a), t === "start", s);
|
|
4185
4185
|
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map(S1)))), o;
|
|
4186
4186
|
}
|
|
4187
4187
|
function Xt(a) {
|
|
4188
|
-
return a.replace(/left|right|bottom|top/g, (e) =>
|
|
4188
|
+
return a.replace(/left|right|bottom|top/g, (e) => Q0[e]);
|
|
4189
4189
|
}
|
|
4190
|
-
function
|
|
4190
|
+
function i3(a) {
|
|
4191
4191
|
return {
|
|
4192
4192
|
top: 0,
|
|
4193
4193
|
right: 0,
|
|
@@ -4196,8 +4196,8 @@ function i0(a) {
|
|
|
4196
4196
|
...a
|
|
4197
4197
|
};
|
|
4198
4198
|
}
|
|
4199
|
-
function
|
|
4200
|
-
return typeof a != "number" ?
|
|
4199
|
+
function o3(a) {
|
|
4200
|
+
return typeof a != "number" ? i3(a) : {
|
|
4201
4201
|
top: a,
|
|
4202
4202
|
right: a,
|
|
4203
4203
|
bottom: a,
|
|
@@ -4261,7 +4261,7 @@ function aa(a, e, t) {
|
|
|
4261
4261
|
}
|
|
4262
4262
|
return C;
|
|
4263
4263
|
}
|
|
4264
|
-
const
|
|
4264
|
+
const l3 = async (a, e, t) => {
|
|
4265
4265
|
const {
|
|
4266
4266
|
placement: s = "bottom",
|
|
4267
4267
|
strategy: n = "absolute",
|
|
@@ -4341,7 +4341,7 @@ async function Ta(a, e) {
|
|
|
4341
4341
|
elementContext: f = "floating",
|
|
4342
4342
|
altBoundary: p = !1,
|
|
4343
4343
|
padding: C = 0
|
|
4344
|
-
} = V1(e, a), $ =
|
|
4344
|
+
} = V1(e, a), $ = o3(C), S = l[p ? f === "floating" ? "reference" : "floating" : f], _ = Qt(await o.getClippingRect({
|
|
4345
4345
|
element: (t = await (o.isElement == null ? void 0 : o.isElement(S))) == null || t ? S : S.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
4346
4346
|
boundary: d,
|
|
4347
4347
|
rootBoundary: u,
|
|
@@ -4368,7 +4368,7 @@ async function Ta(a, e) {
|
|
|
4368
4368
|
right: (K.right - _.right + $.right) / R.x
|
|
4369
4369
|
};
|
|
4370
4370
|
}
|
|
4371
|
-
const
|
|
4371
|
+
const r3 = function(a) {
|
|
4372
4372
|
return a === void 0 && (a = {}), {
|
|
4373
4373
|
name: "flip",
|
|
4374
4374
|
options: a,
|
|
@@ -4392,24 +4392,24 @@ const r0 = function(a) {
|
|
|
4392
4392
|
} = V1(a, e);
|
|
4393
4393
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4394
4394
|
return {};
|
|
4395
|
-
const _ = ht(n), g = ht(l) === l, V = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), R = p || (g || !M ? [Xt(l)] :
|
|
4396
|
-
!p && $ !== "none" && R.push(...
|
|
4395
|
+
const _ = ht(n), g = ht(l) === l, V = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), R = p || (g || !M ? [Xt(l)] : a3(l));
|
|
4396
|
+
!p && $ !== "none" && R.push(...s3(l, M, $, V));
|
|
4397
4397
|
const K = [l, ...R], D = await Ta(e, S), X = [];
|
|
4398
4398
|
let ae = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4399
4399
|
if (u && X.push(D[_]), f) {
|
|
4400
|
-
const
|
|
4401
|
-
X.push(D[
|
|
4400
|
+
const A = t3(n, i, V);
|
|
4401
|
+
X.push(D[A[0]], D[A[1]]);
|
|
4402
4402
|
}
|
|
4403
4403
|
if (ae = [...ae, {
|
|
4404
4404
|
placement: n,
|
|
4405
4405
|
overflows: X
|
|
4406
|
-
}], !X.every((
|
|
4406
|
+
}], !X.every((A) => A <= 0)) {
|
|
4407
4407
|
var I, ee;
|
|
4408
|
-
const
|
|
4408
|
+
const A = (((I = o.flip) == null ? void 0 : I.index) || 0) + 1, P = K[A];
|
|
4409
4409
|
if (P)
|
|
4410
4410
|
return {
|
|
4411
4411
|
data: {
|
|
4412
|
-
index:
|
|
4412
|
+
index: A,
|
|
4413
4413
|
overflows: ae
|
|
4414
4414
|
},
|
|
4415
4415
|
reset: {
|
|
@@ -4439,7 +4439,7 @@ const r0 = function(a) {
|
|
|
4439
4439
|
return {};
|
|
4440
4440
|
}
|
|
4441
4441
|
};
|
|
4442
|
-
},
|
|
4442
|
+
}, u3 = function(a) {
|
|
4443
4443
|
return a === void 0 && (a = {}), {
|
|
4444
4444
|
name: "size",
|
|
4445
4445
|
options: a,
|
|
@@ -4518,14 +4518,14 @@ function Nt(a) {
|
|
|
4518
4518
|
} = Te(a);
|
|
4519
4519
|
return /auto|scroll|overlay|hidden|clip/.test(e + s + t) && !["inline", "contents"].includes(n);
|
|
4520
4520
|
}
|
|
4521
|
-
function
|
|
4521
|
+
function d3(a) {
|
|
4522
4522
|
return ["table", "td", "th"].includes(xe(a));
|
|
4523
4523
|
}
|
|
4524
4524
|
function H1(a) {
|
|
4525
4525
|
const e = P1(), t = Te(a);
|
|
4526
4526
|
return t.transform !== "none" || t.perspective !== "none" || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (t.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (t.contain || "").includes(s));
|
|
4527
4527
|
}
|
|
4528
|
-
function
|
|
4528
|
+
function c3(a) {
|
|
4529
4529
|
let e = mt(a);
|
|
4530
4530
|
for (; De(e) && !d1(e); ) {
|
|
4531
4531
|
if (H1(e))
|
|
@@ -4602,15 +4602,15 @@ function vt(a) {
|
|
|
4602
4602
|
y: l
|
|
4603
4603
|
};
|
|
4604
4604
|
}
|
|
4605
|
-
const
|
|
4605
|
+
const f3 = /* @__PURE__ */ Ge(0);
|
|
4606
4606
|
function La(a) {
|
|
4607
4607
|
const e = we(a);
|
|
4608
|
-
return !P1() || !e.visualViewport ?
|
|
4608
|
+
return !P1() || !e.visualViewport ? f3 : {
|
|
4609
4609
|
x: e.visualViewport.offsetLeft,
|
|
4610
4610
|
y: e.visualViewport.offsetTop
|
|
4611
4611
|
};
|
|
4612
4612
|
}
|
|
4613
|
-
function
|
|
4613
|
+
function v3(a, e, t) {
|
|
4614
4614
|
return e === void 0 && (e = !1), !t || e && t !== we(a) ? !1 : e;
|
|
4615
4615
|
}
|
|
4616
4616
|
function et(a, e, t, s) {
|
|
@@ -4618,7 +4618,7 @@ function et(a, e, t, s) {
|
|
|
4618
4618
|
const n = a.getBoundingClientRect(), o = B1(a);
|
|
4619
4619
|
let i = Ge(1);
|
|
4620
4620
|
e && (s ? je(s) && (i = vt(s)) : i = vt(a));
|
|
4621
|
-
const l =
|
|
4621
|
+
const l = v3(o, t, s) ? La(o) : Ge(0);
|
|
4622
4622
|
let r = (n.left + l.x) / i.x, d = (n.top + l.y) / i.y, u = n.width / i.x, f = n.height / i.y;
|
|
4623
4623
|
if (o) {
|
|
4624
4624
|
const p = we(o), C = s && je(s) ? we(s) : s;
|
|
@@ -4635,7 +4635,7 @@ function et(a, e, t, s) {
|
|
|
4635
4635
|
y: d
|
|
4636
4636
|
});
|
|
4637
4637
|
}
|
|
4638
|
-
function
|
|
4638
|
+
function p3(a) {
|
|
4639
4639
|
let {
|
|
4640
4640
|
rect: e,
|
|
4641
4641
|
offsetParent: t,
|
|
@@ -4660,13 +4660,13 @@ function p0(a) {
|
|
|
4660
4660
|
y: e.y * l.y - i.scrollTop * l.y + r.y
|
|
4661
4661
|
};
|
|
4662
4662
|
}
|
|
4663
|
-
function
|
|
4663
|
+
function h3(a) {
|
|
4664
4664
|
return Array.from(a.getClientRects());
|
|
4665
4665
|
}
|
|
4666
4666
|
function Va(a) {
|
|
4667
4667
|
return et(Ze(a)).left + c1(a).scrollLeft;
|
|
4668
4668
|
}
|
|
4669
|
-
function
|
|
4669
|
+
function m3(a) {
|
|
4670
4670
|
const e = Ze(a), t = c1(a), s = a.ownerDocument.body, n = ke(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = ke(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4671
4671
|
let i = -t.scrollLeft + Va(a);
|
|
4672
4672
|
const l = -t.scrollTop;
|
|
@@ -4677,7 +4677,7 @@ function m0(a) {
|
|
|
4677
4677
|
y: l
|
|
4678
4678
|
};
|
|
4679
4679
|
}
|
|
4680
|
-
function
|
|
4680
|
+
function C3(a, e) {
|
|
4681
4681
|
const t = we(a), s = Ze(a), n = t.visualViewport;
|
|
4682
4682
|
let o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
|
|
4683
4683
|
if (n) {
|
|
@@ -4692,7 +4692,7 @@ function C0(a, e) {
|
|
|
4692
4692
|
y: r
|
|
4693
4693
|
};
|
|
4694
4694
|
}
|
|
4695
|
-
function
|
|
4695
|
+
function _3(a, e) {
|
|
4696
4696
|
const t = et(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o = De(a) ? vt(a) : Ge(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = n * o.x, d = s * o.y;
|
|
4697
4697
|
return {
|
|
4698
4698
|
width: i,
|
|
@@ -4704,11 +4704,11 @@ function _0(a, e) {
|
|
|
4704
4704
|
function sa(a, e, t) {
|
|
4705
4705
|
let s;
|
|
4706
4706
|
if (e === "viewport")
|
|
4707
|
-
s =
|
|
4707
|
+
s = C3(a, t);
|
|
4708
4708
|
else if (e === "document")
|
|
4709
|
-
s =
|
|
4709
|
+
s = m3(Ze(a));
|
|
4710
4710
|
else if (je(e))
|
|
4711
|
-
s =
|
|
4711
|
+
s = _3(e, t);
|
|
4712
4712
|
else {
|
|
4713
4713
|
const n = La(a);
|
|
4714
4714
|
s = {
|
|
@@ -4723,7 +4723,7 @@ function Da(a, e) {
|
|
|
4723
4723
|
const t = mt(a);
|
|
4724
4724
|
return t === e || !je(t) || d1(t) ? !1 : Te(t).position === "fixed" || Da(t, e);
|
|
4725
4725
|
}
|
|
4726
|
-
function
|
|
4726
|
+
function g3(a, e) {
|
|
4727
4727
|
const t = e.get(a);
|
|
4728
4728
|
if (t)
|
|
4729
4729
|
return t;
|
|
@@ -4736,14 +4736,14 @@ function g0(a, e) {
|
|
|
4736
4736
|
}
|
|
4737
4737
|
return e.set(a, s), s;
|
|
4738
4738
|
}
|
|
4739
|
-
function
|
|
4739
|
+
function b3(a) {
|
|
4740
4740
|
let {
|
|
4741
4741
|
element: e,
|
|
4742
4742
|
boundary: t,
|
|
4743
4743
|
rootBoundary: s,
|
|
4744
4744
|
strategy: n
|
|
4745
4745
|
} = a;
|
|
4746
|
-
const i = [...t === "clippingAncestors" ?
|
|
4746
|
+
const i = [...t === "clippingAncestors" ? g3(e, this._c) : [].concat(t), s], l = i[0], r = i.reduce((d, u) => {
|
|
4747
4747
|
const f = sa(e, u, n);
|
|
4748
4748
|
return d.top = ke(f.top, d.top), d.right = Lt(f.right, d.right), d.bottom = Lt(f.bottom, d.bottom), d.left = ke(f.left, d.left), d;
|
|
4749
4749
|
}, sa(e, l, n));
|
|
@@ -4754,10 +4754,10 @@ function b0(a) {
|
|
|
4754
4754
|
y: r.top
|
|
4755
4755
|
};
|
|
4756
4756
|
}
|
|
4757
|
-
function
|
|
4757
|
+
function y3(a) {
|
|
4758
4758
|
return Oa(a);
|
|
4759
4759
|
}
|
|
4760
|
-
function
|
|
4760
|
+
function w3(a, e, t) {
|
|
4761
4761
|
const s = De(e), n = Ze(e), o = t === "fixed", i = et(a, !0, o, e);
|
|
4762
4762
|
let l = {
|
|
4763
4763
|
scrollLeft: 0,
|
|
@@ -4785,11 +4785,11 @@ function Ha(a, e) {
|
|
|
4785
4785
|
if (!De(a))
|
|
4786
4786
|
return t;
|
|
4787
4787
|
let s = ia(a, e);
|
|
4788
|
-
for (; s &&
|
|
4788
|
+
for (; s && d3(s) && Te(s).position === "static"; )
|
|
4789
4789
|
s = ia(s, e);
|
|
4790
|
-
return s && (xe(s) === "html" || xe(s) === "body" && Te(s).position === "static" && !H1(s)) ? t : s ||
|
|
4790
|
+
return s && (xe(s) === "html" || xe(s) === "body" && Te(s).position === "static" && !H1(s)) ? t : s || c3(a) || t;
|
|
4791
4791
|
}
|
|
4792
|
-
const $
|
|
4792
|
+
const $3 = async function(a) {
|
|
4793
4793
|
let {
|
|
4794
4794
|
reference: e,
|
|
4795
4795
|
floating: t,
|
|
@@ -4797,7 +4797,7 @@ const $0 = async function(a) {
|
|
|
4797
4797
|
} = a;
|
|
4798
4798
|
const n = this.getOffsetParent || Ha, o = this.getDimensions;
|
|
4799
4799
|
return {
|
|
4800
|
-
reference:
|
|
4800
|
+
reference: w3(e, await n(t), s),
|
|
4801
4801
|
floating: {
|
|
4802
4802
|
x: 0,
|
|
4803
4803
|
y: 0,
|
|
@@ -4805,22 +4805,22 @@ const $0 = async function(a) {
|
|
|
4805
4805
|
}
|
|
4806
4806
|
};
|
|
4807
4807
|
};
|
|
4808
|
-
function
|
|
4808
|
+
function M3(a) {
|
|
4809
4809
|
return Te(a).direction === "rtl";
|
|
4810
4810
|
}
|
|
4811
|
-
const
|
|
4812
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4811
|
+
const k3 = {
|
|
4812
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: p3,
|
|
4813
4813
|
getDocumentElement: Ze,
|
|
4814
|
-
getClippingRect:
|
|
4814
|
+
getClippingRect: b3,
|
|
4815
4815
|
getOffsetParent: Ha,
|
|
4816
|
-
getElementRects: $
|
|
4817
|
-
getClientRects:
|
|
4818
|
-
getDimensions:
|
|
4816
|
+
getElementRects: $3,
|
|
4817
|
+
getClientRects: h3,
|
|
4818
|
+
getDimensions: y3,
|
|
4819
4819
|
getScale: vt,
|
|
4820
4820
|
isElement: je,
|
|
4821
|
-
isRTL:
|
|
4821
|
+
isRTL: M3
|
|
4822
4822
|
};
|
|
4823
|
-
function
|
|
4823
|
+
function A3(a, e) {
|
|
4824
4824
|
let t = null, s;
|
|
4825
4825
|
const n = Ze(a);
|
|
4826
4826
|
function o() {
|
|
@@ -4865,7 +4865,7 @@ function A0(a, e) {
|
|
|
4865
4865
|
}
|
|
4866
4866
|
return i(!0), o;
|
|
4867
4867
|
}
|
|
4868
|
-
function
|
|
4868
|
+
function S3(a, e, t, s) {
|
|
4869
4869
|
s === void 0 && (s = {});
|
|
4870
4870
|
const {
|
|
4871
4871
|
ancestorScroll: n = !0,
|
|
@@ -4879,7 +4879,7 @@ function S0(a, e, t, s) {
|
|
|
4879
4879
|
passive: !0
|
|
4880
4880
|
}), o && _.addEventListener("resize", t);
|
|
4881
4881
|
});
|
|
4882
|
-
const f = d && l ?
|
|
4882
|
+
const f = d && l ? A3(d, t) : null;
|
|
4883
4883
|
let p = -1, C = null;
|
|
4884
4884
|
i && (C = new ResizeObserver((_) => {
|
|
4885
4885
|
let [g] = _;
|
|
@@ -4899,19 +4899,19 @@ function S0(a, e, t, s) {
|
|
|
4899
4899
|
}), f && f(), C && C.disconnect(), C = null, r && cancelAnimationFrame($);
|
|
4900
4900
|
};
|
|
4901
4901
|
}
|
|
4902
|
-
const
|
|
4902
|
+
const T3 = (a, e, t) => {
|
|
4903
4903
|
const s = /* @__PURE__ */ new Map(), n = {
|
|
4904
|
-
platform:
|
|
4904
|
+
platform: k3,
|
|
4905
4905
|
...t
|
|
4906
4906
|
}, o = {
|
|
4907
4907
|
...n.platform,
|
|
4908
4908
|
_c: s
|
|
4909
4909
|
};
|
|
4910
|
-
return
|
|
4910
|
+
return l3(a, e, {
|
|
4911
4911
|
...n,
|
|
4912
4912
|
platform: o
|
|
4913
4913
|
});
|
|
4914
|
-
},
|
|
4914
|
+
}, E3 = (a) => {
|
|
4915
4915
|
const e = J(!1), t = J(), s = J(), n = J(0);
|
|
4916
4916
|
function o() {
|
|
4917
4917
|
const f = q(a.appendTo);
|
|
@@ -4936,21 +4936,21 @@ const T0 = (a, e, t) => {
|
|
|
4936
4936
|
transform: "none",
|
|
4937
4937
|
marginTop: 0
|
|
4938
4938
|
}), i.appendChild(p), a.multiselect.value.handleFocusOut = r;
|
|
4939
|
-
const $ =
|
|
4939
|
+
const $ = S3(t.value, s.value, u);
|
|
4940
4940
|
l.value = () => {
|
|
4941
4941
|
s.value && i.contains(s.value) && i.removeChild(s.value), $();
|
|
4942
4942
|
};
|
|
4943
4943
|
}
|
|
4944
4944
|
function u() {
|
|
4945
|
-
!s.value || !t.value ||
|
|
4945
|
+
!s.value || !t.value || T3(t.value, s.value, {
|
|
4946
4946
|
strategy: "absolute",
|
|
4947
4947
|
placement: "bottom-start",
|
|
4948
4948
|
middleware: [
|
|
4949
|
-
|
|
4949
|
+
r3({
|
|
4950
4950
|
fallbackStrategy: "initialPlacement",
|
|
4951
4951
|
fallbackPlacements: ["top-start", "bottom-start"]
|
|
4952
4952
|
}),
|
|
4953
|
-
|
|
4953
|
+
u3({
|
|
4954
4954
|
apply({ availableWidth: f, availableHeight: p, elements: C, rects: $ }) {
|
|
4955
4955
|
Object.assign(C.floating.style, {
|
|
4956
4956
|
minHeight: `${n.value}px`,
|
|
@@ -4980,7 +4980,7 @@ const T0 = (a, e, t) => {
|
|
|
4980
4980
|
function Le(a) {
|
|
4981
4981
|
return [null, void 0].indexOf(a) !== -1;
|
|
4982
4982
|
}
|
|
4983
|
-
function
|
|
4983
|
+
function I3(a, e, t) {
|
|
4984
4984
|
const { object: s, valueProp: n, mode: o } = $e(a), i = at().proxy, l = t.iv, r = (f, p = !0) => {
|
|
4985
4985
|
l.value = u(f);
|
|
4986
4986
|
const C = d(f);
|
|
@@ -4990,7 +4990,7 @@ function I0(a, e, t) {
|
|
|
4990
4990
|
update: r
|
|
4991
4991
|
};
|
|
4992
4992
|
}
|
|
4993
|
-
function
|
|
4993
|
+
function O3(a, e) {
|
|
4994
4994
|
const { value: t, modelValue: s, mode: n, valueProp: o } = $e(a), i = J(n.value !== "single" ? [] : {}), l = s && s.value !== void 0 ? s : t, r = w(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), d = w(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
|
|
4995
4995
|
return {
|
|
4996
4996
|
iv: i,
|
|
@@ -5001,7 +5001,7 @@ function O0(a, e) {
|
|
|
5001
5001
|
plainValue: r
|
|
5002
5002
|
};
|
|
5003
5003
|
}
|
|
5004
|
-
function
|
|
5004
|
+
function L3(a, e, t) {
|
|
5005
5005
|
const { regex: s } = $e(a), n = at().proxy, o = t.isOpen, i = t.open, l = J(null), r = J(null), d = () => {
|
|
5006
5006
|
l.value = "";
|
|
5007
5007
|
}, u = (C) => {
|
|
@@ -5030,7 +5030,7 @@ function L0(a, e, t) {
|
|
|
5030
5030
|
handlePaste: p
|
|
5031
5031
|
};
|
|
5032
5032
|
}
|
|
5033
|
-
function
|
|
5033
|
+
function V3(a, e, t) {
|
|
5034
5034
|
const { groupSelect: s, mode: n, groups: o, disabledProp: i } = $e(a), l = J(null), r = (u) => {
|
|
5035
5035
|
u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (l.value = u);
|
|
5036
5036
|
};
|
|
@@ -5045,16 +5045,16 @@ function V0(a, e, t) {
|
|
|
5045
5045
|
function $1(a, e = !0) {
|
|
5046
5046
|
return e ? String(a).toLowerCase().trim() : String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5047
5047
|
}
|
|
5048
|
-
function
|
|
5048
|
+
function D3(a) {
|
|
5049
5049
|
return Object.prototype.toString.call(a) === "[object Object]";
|
|
5050
5050
|
}
|
|
5051
|
-
function
|
|
5051
|
+
function H3(a, e) {
|
|
5052
5052
|
const t = e.slice().sort();
|
|
5053
5053
|
return a.length === e.length && a.slice().sort().every(function(s, n) {
|
|
5054
5054
|
return s === t[n];
|
|
5055
5055
|
});
|
|
5056
5056
|
}
|
|
5057
|
-
function
|
|
5057
|
+
function P3(a, e, t) {
|
|
5058
5058
|
const {
|
|
5059
5059
|
options: s,
|
|
5060
5060
|
mode: n,
|
|
@@ -5081,7 +5081,7 @@ function P0(a, e, t) {
|
|
|
5081
5081
|
canDeselect: I,
|
|
5082
5082
|
max: ee,
|
|
5083
5083
|
strict: b,
|
|
5084
|
-
closeOnSelect:
|
|
5084
|
+
closeOnSelect: A,
|
|
5085
5085
|
closeOnDeselect: P,
|
|
5086
5086
|
groups: ue,
|
|
5087
5087
|
reverse: ne,
|
|
@@ -5225,7 +5225,7 @@ function P0(a, e, t) {
|
|
|
5225
5225
|
I.value && rt(m), P.value && (st(), it());
|
|
5226
5226
|
return;
|
|
5227
5227
|
}
|
|
5228
|
-
m && C1(m), K.value && Ce(),
|
|
5228
|
+
m && C1(m), K.value && Ce(), A.value && (st(), it()), m && lt(m);
|
|
5229
5229
|
break;
|
|
5230
5230
|
case "multiple":
|
|
5231
5231
|
if (m && Be(m)) {
|
|
@@ -5236,7 +5236,7 @@ function P0(a, e, t) {
|
|
|
5236
5236
|
e.emit("max", Z);
|
|
5237
5237
|
return;
|
|
5238
5238
|
}
|
|
5239
|
-
m && (C1(m), lt(m)), K.value && Ce(), l.value && st(),
|
|
5239
|
+
m && (C1(m), lt(m)), K.value && Ce(), l.value && st(), A.value && it();
|
|
5240
5240
|
break;
|
|
5241
5241
|
case "tags":
|
|
5242
5242
|
if (m && Be(m)) {
|
|
@@ -5247,10 +5247,10 @@ function P0(a, e, t) {
|
|
|
5247
5247
|
e.emit("max", Z);
|
|
5248
5248
|
return;
|
|
5249
5249
|
}
|
|
5250
|
-
m && C1(m), K.value && Ce(), m && lt(m), l.value && st(),
|
|
5250
|
+
m && C1(m), K.value && Ce(), m && lt(m), l.value && st(), A.value && it();
|
|
5251
5251
|
break;
|
|
5252
5252
|
}
|
|
5253
|
-
|
|
5253
|
+
A.value || Ra();
|
|
5254
5254
|
}, Xa = (m) => {
|
|
5255
5255
|
if (!(h1(m) || n.value === "single" || !L.value)) {
|
|
5256
5256
|
switch (n.value) {
|
|
@@ -5261,7 +5261,7 @@ function P0(a, e, t) {
|
|
|
5261
5261
|
);
|
|
5262
5262
|
break;
|
|
5263
5263
|
}
|
|
5264
|
-
|
|
5264
|
+
A.value && Ua();
|
|
5265
5265
|
}
|
|
5266
5266
|
}, C1 = (m) => {
|
|
5267
5267
|
Ne(m[D.value]) === void 0 && j1.value && (e.emit("tag", m[D.value], Z), e.emit("option", m[D.value], Z), e.emit("create", m[D.value], Z), Za.value && nn(m), Ce());
|
|
@@ -5285,7 +5285,7 @@ function P0(a, e, t) {
|
|
|
5285
5285
|
return l.value && H && (se = se.filter((ve) => !an(ve))), se;
|
|
5286
5286
|
}, g1 = (m) => {
|
|
5287
5287
|
let H = m;
|
|
5288
|
-
return
|
|
5288
|
+
return D3(H) && (H = Object.keys(H).map((se) => {
|
|
5289
5289
|
let ve = H[se];
|
|
5290
5290
|
return { [D.value]: se, [Oe.value]: ve, [u.value]: ve };
|
|
5291
5291
|
})), H = H.map((se) => typeof se == "object" ? se : { [D.value]: se, [Oe.value]: se, [u.value]: se }), H;
|
|
@@ -5354,7 +5354,7 @@ function P0(a, e, t) {
|
|
|
5354
5354
|
break;
|
|
5355
5355
|
case "multiple":
|
|
5356
5356
|
case "tags":
|
|
5357
|
-
|
|
5357
|
+
H3($.value ? m.map((H) => H[D.value]) : m, F.value.map((H) => H[D.value])) || Pe(Zt(m), !1);
|
|
5358
5358
|
break;
|
|
5359
5359
|
}
|
|
5360
5360
|
}, { deep: !0 }), re(s, (m, H) => {
|
|
@@ -5393,7 +5393,7 @@ function P0(a, e, t) {
|
|
|
5393
5393
|
refreshLabels: b1
|
|
5394
5394
|
};
|
|
5395
5395
|
}
|
|
5396
|
-
function
|
|
5396
|
+
function B3(a, e, t) {
|
|
5397
5397
|
const {
|
|
5398
5398
|
valueProp: s,
|
|
5399
5399
|
showOptions: n,
|
|
@@ -5411,7 +5411,7 @@ function B0(a, e, t) {
|
|
|
5411
5411
|
), U = X.value.map((Pe) => Pe[i.value]).indexOf(E[i.value]);
|
|
5412
5412
|
let Ce = X.value[U - 1];
|
|
5413
5413
|
return Ce === void 0 && (Ce = P.value), Ce;
|
|
5414
|
-
}),
|
|
5414
|
+
}), A = w(() => {
|
|
5415
5415
|
let E = X.value.map((U) => U.label).indexOf(I.value ? _.value[i.value] : Z(_.value)[i.value]) + 1;
|
|
5416
5416
|
return X.value.length <= E && (E = 0), X.value[E];
|
|
5417
5417
|
}), P = w(() => [...X.value].slice(-1)[0]), ue = w(() => _.value.__VISIBLE__.filter((E) => !E[u.value])[0]), ne = w(() => {
|
|
@@ -5429,7 +5429,7 @@ function B0(a, e, t) {
|
|
|
5429
5429
|
g((l.value && ae.value ? X.value[0].__CREATE__ ? D.value[0] : X.value[0] : D.value[0]) || null);
|
|
5430
5430
|
else if (l.value && ae.value) {
|
|
5431
5431
|
let E = I.value ? ue.value : le.value;
|
|
5432
|
-
E === void 0 && (E =
|
|
5432
|
+
E === void 0 && (E = A.value, E.__CREATE__ && (E = E[f.value][0])), g(E || /* istanbul ignore next */
|
|
5433
5433
|
null);
|
|
5434
5434
|
} else {
|
|
5435
5435
|
let E = D.value.map((U) => U[s.value]).indexOf(_.value[s.value]) + 1;
|
|
@@ -5482,7 +5482,7 @@ function B0(a, e, t) {
|
|
|
5482
5482
|
backwardPointer: he
|
|
5483
5483
|
};
|
|
5484
5484
|
}
|
|
5485
|
-
function
|
|
5485
|
+
function N3(a, e, t) {
|
|
5486
5486
|
const { disabled: s } = $e(a), n = at().proxy, o = J(!1);
|
|
5487
5487
|
return {
|
|
5488
5488
|
isOpen: o,
|
|
@@ -5494,7 +5494,7 @@ function N0(a, e, t) {
|
|
|
5494
5494
|
}
|
|
5495
5495
|
};
|
|
5496
5496
|
}
|
|
5497
|
-
function
|
|
5497
|
+
function R3(a, e, t) {
|
|
5498
5498
|
const { searchable: s, disabled: n, clearOnBlur: o } = $e(a), i = t.input, l = t.open, r = t.close, d = t.clearSearch, u = t.isOpen, f = J(null), p = J(null), C = J(null), $ = J(!1), M = J(!1), S = w(() => s.value || n.value ? -1 : 0), _ = () => {
|
|
5499
5499
|
s.value && i.value.blur(), p.value.blur();
|
|
5500
5500
|
}, g = () => {
|
|
@@ -5535,7 +5535,7 @@ function R0(a, e, t) {
|
|
|
5535
5535
|
}
|
|
5536
5536
|
};
|
|
5537
5537
|
}
|
|
5538
|
-
function
|
|
5538
|
+
function U3(a, e, t) {
|
|
5539
5539
|
const {
|
|
5540
5540
|
mode: s,
|
|
5541
5541
|
addTagOn: n,
|
|
@@ -5548,8 +5548,8 @@ function U0(a, e, t) {
|
|
|
5548
5548
|
createTag: f,
|
|
5549
5549
|
createOption: p,
|
|
5550
5550
|
reverse: C
|
|
5551
|
-
} = $e(a), $ = at().proxy, M = t.iv, S = t.update, _ = t.search, g = t.setPointer, V = t.selectPointer, R = t.backwardPointer, K = t.forwardPointer, D = t.multiselect, X = t.wrapper, ae = t.tags, I = t.isOpen, ee = t.open, b = t.blur,
|
|
5552
|
-
s.value === "tags" && !l.value && P.value && i.value && !d.value && g(
|
|
5551
|
+
} = $e(a), $ = at().proxy, M = t.iv, S = t.update, _ = t.search, g = t.setPointer, V = t.selectPointer, R = t.backwardPointer, K = t.forwardPointer, D = t.multiselect, X = t.wrapper, ae = t.tags, I = t.isOpen, ee = t.open, b = t.blur, A = t.fo, P = w(() => f.value || p.value || !1), ue = w(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ne = () => {
|
|
5552
|
+
s.value === "tags" && !l.value && P.value && i.value && !d.value && g(A.value[A.value.map((L) => L[r.value]).indexOf(_.value)]);
|
|
5553
5553
|
}, le = (L) => {
|
|
5554
5554
|
let W = L.length - 1;
|
|
5555
5555
|
for (; W >= 0 && (L[W].remove === !1 || L[W].disabled); )
|
|
@@ -5626,7 +5626,7 @@ function U0(a, e, t) {
|
|
|
5626
5626
|
preparePointer: ne
|
|
5627
5627
|
};
|
|
5628
5628
|
}
|
|
5629
|
-
function
|
|
5629
|
+
function j3(a, e, t) {
|
|
5630
5630
|
const {
|
|
5631
5631
|
classes: s,
|
|
5632
5632
|
disabled: n,
|
|
@@ -5733,7 +5733,7 @@ function j0(a, e, t) {
|
|
|
5733
5733
|
showDropdown: S
|
|
5734
5734
|
};
|
|
5735
5735
|
}
|
|
5736
|
-
function
|
|
5736
|
+
function Z3(a, e, t) {
|
|
5737
5737
|
const {
|
|
5738
5738
|
limit: s,
|
|
5739
5739
|
infinite: n
|
|
@@ -5761,7 +5761,7 @@ function Z0(a, e, t) {
|
|
|
5761
5761
|
infiniteLoader: f
|
|
5762
5762
|
};
|
|
5763
5763
|
}
|
|
5764
|
-
function
|
|
5764
|
+
function F3(a, e, t) {
|
|
5765
5765
|
const {
|
|
5766
5766
|
placeholder: s,
|
|
5767
5767
|
id: n,
|
|
@@ -5772,38 +5772,38 @@ function F0(a, e, t) {
|
|
|
5772
5772
|
aria: d,
|
|
5773
5773
|
searchable: u
|
|
5774
5774
|
} = $e(a), f = t.pointer, p = t.iv, C = t.hasSelected, $ = t.multipleLabelText, M = J(null), S = w(() => {
|
|
5775
|
-
let
|
|
5776
|
-
return n && n.value &&
|
|
5775
|
+
let A = [];
|
|
5776
|
+
return n && n.value && A.push(n.value), A.push("assist"), A.join("-");
|
|
5777
5777
|
}), _ = w(() => {
|
|
5778
|
-
let
|
|
5779
|
-
return n && n.value &&
|
|
5778
|
+
let A = [];
|
|
5779
|
+
return n && n.value && A.push(n.value), A.push("multiselect-options"), A.join("-");
|
|
5780
5780
|
}), g = w(() => {
|
|
5781
|
-
let
|
|
5782
|
-
if (n && n.value &&
|
|
5783
|
-
return
|
|
5781
|
+
let A = [];
|
|
5782
|
+
if (n && n.value && A.push(n.value), f.value)
|
|
5783
|
+
return A.push(f.value.group ? "multiselect-group" : "multiselect-option"), A.push(f.value.group ? f.value.index : f.value[o.value]), A.join("-");
|
|
5784
5784
|
}), V = w(() => s.value), R = w(() => l.value !== "single"), K = w(() => {
|
|
5785
|
-
let
|
|
5786
|
-
return l.value === "single" && C.value && (
|
|
5785
|
+
let A = "";
|
|
5786
|
+
return l.value === "single" && C.value && (A += p.value[i.value]), l.value === "multiple" && C.value && (A += $.value), l.value === "tags" && C.value && (A += p.value.map((P) => P[i.value]).join(", ")), A;
|
|
5787
5787
|
}), D = w(() => {
|
|
5788
|
-
let
|
|
5789
|
-
return u.value && (
|
|
5790
|
-
}), X = (
|
|
5788
|
+
let A = { ...d.value };
|
|
5789
|
+
return u.value && (A["aria-labelledby"] = A["aria-labelledby"] ? `${S.value} ${A["aria-labelledby"]}` : S.value, K.value && A["aria-label"] && (A["aria-label"] = `${K.value}, ${A["aria-label"]}`)), A;
|
|
5790
|
+
}), X = (A) => {
|
|
5791
5791
|
let P = [];
|
|
5792
|
-
return n && n.value && P.push(n.value), P.push("multiselect-option"), P.push(
|
|
5793
|
-
}, ae = (
|
|
5792
|
+
return n && n.value && P.push(n.value), P.push("multiselect-option"), P.push(A[o.value]), P.join("-");
|
|
5793
|
+
}, ae = (A) => {
|
|
5794
5794
|
let P = [];
|
|
5795
|
-
return n && n.value && P.push(n.value), P.push("multiselect-group"), P.push(
|
|
5796
|
-
}, I = (
|
|
5795
|
+
return n && n.value && P.push(n.value), P.push("multiselect-group"), P.push(A.index), P.join("-");
|
|
5796
|
+
}, I = (A) => {
|
|
5797
5797
|
let P = [];
|
|
5798
|
-
return P.push(
|
|
5799
|
-
}, ee = (
|
|
5798
|
+
return P.push(A), P.join(" ");
|
|
5799
|
+
}, ee = (A) => {
|
|
5800
5800
|
let P = [];
|
|
5801
|
-
return P.push(
|
|
5802
|
-
}, b = (
|
|
5801
|
+
return P.push(A), P.join(" ");
|
|
5802
|
+
}, b = (A) => `${A} ❎`;
|
|
5803
5803
|
return Dt(() => {
|
|
5804
5804
|
if (n && n.value && document && document.querySelector) {
|
|
5805
|
-
let
|
|
5806
|
-
M.value =
|
|
5805
|
+
let A = document.querySelector(`[for="${n.value}"]`);
|
|
5806
|
+
M.value = A ? A.innerText : null;
|
|
5807
5807
|
}
|
|
5808
5808
|
}), {
|
|
5809
5809
|
arias: D,
|
|
@@ -5820,7 +5820,7 @@ function F0(a, e, t) {
|
|
|
5820
5820
|
ariaTagLabel: b
|
|
5821
5821
|
};
|
|
5822
5822
|
}
|
|
5823
|
-
function
|
|
5823
|
+
function q3(a, e, t) {
|
|
5824
5824
|
const {
|
|
5825
5825
|
locale: s,
|
|
5826
5826
|
fallbackLocale: n
|
|
@@ -5829,7 +5829,7 @@ function q0(a, e, t) {
|
|
|
5829
5829
|
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]] : ""
|
|
5830
5830
|
};
|
|
5831
5831
|
}
|
|
5832
|
-
function
|
|
5832
|
+
function W3(a, e, t, s = {}) {
|
|
5833
5833
|
return t.forEach((n) => {
|
|
5834
5834
|
n && (s = {
|
|
5835
5835
|
...s,
|
|
@@ -6173,24 +6173,24 @@ var ze = {
|
|
|
6173
6173
|
}
|
|
6174
6174
|
},
|
|
6175
6175
|
setup(a, e) {
|
|
6176
|
-
return
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6176
|
+
return W3(a, e, [
|
|
6177
|
+
q3,
|
|
6178
|
+
O3,
|
|
6179
|
+
V3,
|
|
6180
|
+
N3,
|
|
6181
|
+
L3,
|
|
6182
|
+
I3,
|
|
6183
|
+
R3,
|
|
6184
|
+
P3,
|
|
6185
|
+
Z3,
|
|
6186
|
+
B3,
|
|
6187
|
+
U3,
|
|
6188
|
+
j3,
|
|
6189
|
+
F3
|
|
6190
6190
|
]);
|
|
6191
6191
|
}
|
|
6192
6192
|
};
|
|
6193
|
-
const
|
|
6193
|
+
const z3 = ["id", "dir"], Y3 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], K3 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], G3 = ["onKeyup", "aria-label"], x3 = ["onClick"], X3 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Q3 = ["innerHTML"], J3 = ["id"], e5 = ["id", "aria-label", "aria-selected"], t5 = ["data-pointed", "onMouseenter", "onClick"], a5 = ["innerHTML"], n5 = ["aria-label"], s5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], i5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], o5 = ["innerHTML"], l5 = ["innerHTML"], r5 = ["value"], u5 = ["name", "value"], d5 = ["name", "value"], c5 = ["id"];
|
|
6194
6194
|
function f5(a, e, t, s, n, o) {
|
|
6195
6195
|
return c(), h("div", {
|
|
6196
6196
|
ref: "multiselect",
|
|
@@ -6214,7 +6214,7 @@ function f5(a, e, t, s, n, o) {
|
|
|
6214
6214
|
"aria-multiselectable": t.searchable ? void 0 : a.ariaMultiselectable,
|
|
6215
6215
|
role: t.searchable ? void 0 : "combobox"
|
|
6216
6216
|
}, t.searchable ? {} : a.arias), [
|
|
6217
|
-
|
|
6217
|
+
k(" Search "),
|
|
6218
6218
|
t.mode !== "tags" && t.searchable && !t.disabled ? (c(), h("input", Ve({
|
|
6219
6219
|
key: 0,
|
|
6220
6220
|
type: t.inputType,
|
|
@@ -6236,8 +6236,8 @@ function f5(a, e, t, s, n, o) {
|
|
|
6236
6236
|
}, {
|
|
6237
6237
|
...t.attrs,
|
|
6238
6238
|
...a.arias
|
|
6239
|
-
}), null, 16,
|
|
6240
|
-
|
|
6239
|
+
}), null, 16, K3)) : k("v-if", !0),
|
|
6240
|
+
k(" Tags (with search) "),
|
|
6241
6241
|
t.mode == "tags" ? (c(), h(
|
|
6242
6242
|
"div",
|
|
6243
6243
|
{
|
|
@@ -6283,8 +6283,8 @@ function f5(a, e, t, s, n, o) {
|
|
|
6283
6283
|
2
|
|
6284
6284
|
/* CLASS */
|
|
6285
6285
|
)
|
|
6286
|
-
], 10,
|
|
6287
|
-
], 42,
|
|
6286
|
+
], 10, x3)) : k("v-if", !0)
|
|
6287
|
+
], 42, G3))
|
|
6288
6288
|
])),
|
|
6289
6289
|
256
|
|
6290
6290
|
/* UNKEYED_FRAGMENT */
|
|
@@ -6296,7 +6296,7 @@ function f5(a, e, t, s, n, o) {
|
|
|
6296
6296
|
ref: "tags"
|
|
6297
6297
|
},
|
|
6298
6298
|
[
|
|
6299
|
-
|
|
6299
|
+
k(" Used for measuring search width "),
|
|
6300
6300
|
v(
|
|
6301
6301
|
"span",
|
|
6302
6302
|
{
|
|
@@ -6306,7 +6306,7 @@ function f5(a, e, t, s, n, o) {
|
|
|
6306
6306
|
3
|
|
6307
6307
|
/* TEXT, CLASS */
|
|
6308
6308
|
),
|
|
6309
|
-
|
|
6309
|
+
k(" Actual search input "),
|
|
6310
6310
|
t.searchable && !t.disabled ? (c(), h("input", Ve({
|
|
6311
6311
|
key: 0,
|
|
6312
6312
|
type: t.inputType,
|
|
@@ -6328,7 +6328,7 @@ function f5(a, e, t, s, n, o) {
|
|
|
6328
6328
|
}, {
|
|
6329
6329
|
...t.attrs,
|
|
6330
6330
|
...a.arias
|
|
6331
|
-
}), null, 16,
|
|
6331
|
+
}), null, 16, X3)) : k("v-if", !0)
|
|
6332
6332
|
],
|
|
6333
6333
|
2
|
|
6334
6334
|
/* CLASS */
|
|
@@ -6336,8 +6336,8 @@ function f5(a, e, t, s, n, o) {
|
|
|
6336
6336
|
],
|
|
6337
6337
|
2
|
|
6338
6338
|
/* CLASS */
|
|
6339
|
-
)) :
|
|
6340
|
-
|
|
6339
|
+
)) : k("v-if", !0),
|
|
6340
|
+
k(" Single label "),
|
|
6341
6341
|
t.mode == "single" && a.hasSelected && !a.search && a.iv ? te(a.$slots, "singlelabel", {
|
|
6342
6342
|
key: 2,
|
|
6343
6343
|
value: a.iv
|
|
@@ -6361,8 +6361,8 @@ function f5(a, e, t, s, n, o) {
|
|
|
6361
6361
|
2
|
|
6362
6362
|
/* CLASS */
|
|
6363
6363
|
)
|
|
6364
|
-
]) :
|
|
6365
|
-
|
|
6364
|
+
]) : k("v-if", !0),
|
|
6365
|
+
k(" Multiple label "),
|
|
6366
6366
|
t.mode == "multiple" && a.hasSelected && !a.search ? te(a.$slots, "multiplelabel", {
|
|
6367
6367
|
key: 3,
|
|
6368
6368
|
values: a.iv
|
|
@@ -6370,9 +6370,9 @@ function f5(a, e, t, s, n, o) {
|
|
|
6370
6370
|
v("div", {
|
|
6371
6371
|
class: G(a.classList.multipleLabel),
|
|
6372
6372
|
innerHTML: a.multipleLabelText
|
|
6373
|
-
}, null, 10,
|
|
6374
|
-
]) :
|
|
6375
|
-
|
|
6373
|
+
}, null, 10, Q3)
|
|
6374
|
+
]) : k("v-if", !0),
|
|
6375
|
+
k(" Placeholder "),
|
|
6376
6376
|
t.placeholder && !a.hasSelected && !a.search ? te(a.$slots, "placeholder", { key: 4 }, () => [
|
|
6377
6377
|
v(
|
|
6378
6378
|
"div",
|
|
@@ -6384,8 +6384,8 @@ function f5(a, e, t, s, n, o) {
|
|
|
6384
6384
|
3
|
|
6385
6385
|
/* TEXT, CLASS */
|
|
6386
6386
|
)
|
|
6387
|
-
]) :
|
|
6388
|
-
|
|
6387
|
+
]) : k("v-if", !0),
|
|
6388
|
+
k(" Spinner "),
|
|
6389
6389
|
t.loading || a.resolving ? te(a.$slots, "spinner", { key: 5 }, () => [
|
|
6390
6390
|
v(
|
|
6391
6391
|
"span",
|
|
@@ -6397,8 +6397,8 @@ function f5(a, e, t, s, n, o) {
|
|
|
6397
6397
|
2
|
|
6398
6398
|
/* CLASS */
|
|
6399
6399
|
)
|
|
6400
|
-
]) :
|
|
6401
|
-
|
|
6400
|
+
]) : k("v-if", !0),
|
|
6401
|
+
k(" Clear "),
|
|
6402
6402
|
a.hasSelected && !t.disabled && t.canClear && !a.busy ? te(a.$slots, "clear", {
|
|
6403
6403
|
key: 6,
|
|
6404
6404
|
clear: a.clear
|
|
@@ -6429,8 +6429,8 @@ function f5(a, e, t, s, n, o) {
|
|
|
6429
6429
|
34
|
|
6430
6430
|
/* CLASS, HYDRATE_EVENTS */
|
|
6431
6431
|
)
|
|
6432
|
-
]) :
|
|
6433
|
-
|
|
6432
|
+
]) : k("v-if", !0),
|
|
6433
|
+
k(" Caret "),
|
|
6434
6434
|
t.caret && t.showOptions ? te(a.$slots, "caret", { key: 7 }, () => [
|
|
6435
6435
|
v(
|
|
6436
6436
|
"span",
|
|
@@ -6443,9 +6443,9 @@ function f5(a, e, t, s, n, o) {
|
|
|
6443
6443
|
2
|
|
6444
6444
|
/* CLASS */
|
|
6445
6445
|
)
|
|
6446
|
-
]) :
|
|
6447
|
-
], 16,
|
|
6448
|
-
|
|
6446
|
+
]) : k("v-if", !0)
|
|
6447
|
+
], 16, Y3),
|
|
6448
|
+
k(" Options "),
|
|
6449
6449
|
v(
|
|
6450
6450
|
"div",
|
|
6451
6451
|
{
|
|
@@ -6470,7 +6470,7 @@ function f5(a, e, t, s, n, o) {
|
|
|
6470
6470
|
"aria-selected": a.isSelected(i),
|
|
6471
6471
|
role: "option"
|
|
6472
6472
|
}, [
|
|
6473
|
-
i.__CREATE__ ?
|
|
6473
|
+
i.__CREATE__ ? k("v-if", !0) : (c(), h("div", {
|
|
6474
6474
|
key: 0,
|
|
6475
6475
|
class: G(a.classList.groupLabel(i)),
|
|
6476
6476
|
"data-pointed": a.isPointed(i),
|
|
@@ -6562,19 +6562,19 @@ function f5(a, e, t, s, n, o) {
|
|
|
6562
6562
|
128
|
|
6563
6563
|
/* KEYED_FRAGMENT */
|
|
6564
6564
|
))
|
|
6565
|
-
], 10,
|
|
6565
|
+
], 10, J3),
|
|
6566
6566
|
a.noOptions ? te(a.$slots, "nooptions", { key: 0 }, () => [
|
|
6567
6567
|
v("div", {
|
|
6568
6568
|
class: G(a.classList.noOptions),
|
|
6569
6569
|
innerHTML: a.localize(t.noOptionsText)
|
|
6570
6570
|
}, null, 10, o5)
|
|
6571
|
-
]) :
|
|
6571
|
+
]) : k("v-if", !0),
|
|
6572
6572
|
a.noResults ? te(a.$slots, "noresults", { key: 1 }, () => [
|
|
6573
6573
|
v("div", {
|
|
6574
6574
|
class: G(a.classList.noResults),
|
|
6575
6575
|
innerHTML: a.localize(t.noResultsText)
|
|
6576
6576
|
}, null, 10, l5)
|
|
6577
|
-
]) :
|
|
6577
|
+
]) : k("v-if", !0),
|
|
6578
6578
|
t.infinite && a.hasMore ? (c(), h(
|
|
6579
6579
|
"div",
|
|
6580
6580
|
{
|
|
@@ -6597,21 +6597,21 @@ function f5(a, e, t, s, n, o) {
|
|
|
6597
6597
|
],
|
|
6598
6598
|
2
|
|
6599
6599
|
/* CLASS */
|
|
6600
|
-
)) :
|
|
6600
|
+
)) : k("v-if", !0),
|
|
6601
6601
|
te(a.$slots, "afterlist", { options: a.fo })
|
|
6602
6602
|
],
|
|
6603
6603
|
2
|
|
6604
6604
|
/* CLASS */
|
|
6605
6605
|
),
|
|
6606
|
-
|
|
6606
|
+
k(" Hacky input element to show HTML5 required warning "),
|
|
6607
6607
|
t.required ? (c(), h("input", {
|
|
6608
6608
|
key: 0,
|
|
6609
6609
|
class: G(a.classList.fakeInput),
|
|
6610
6610
|
tabindex: "-1",
|
|
6611
6611
|
value: a.textValue,
|
|
6612
6612
|
required: ""
|
|
6613
|
-
}, null, 10, r5)) :
|
|
6614
|
-
|
|
6613
|
+
}, null, 10, r5)) : k("v-if", !0),
|
|
6614
|
+
k(" Native input support "),
|
|
6615
6615
|
t.nativeSupport ? (c(), h(
|
|
6616
6616
|
fe,
|
|
6617
6617
|
{ key: 1 },
|
|
@@ -6636,15 +6636,15 @@ function f5(a, e, t, s, n, o) {
|
|
|
6636
6636
|
],
|
|
6637
6637
|
64
|
|
6638
6638
|
/* STABLE_FRAGMENT */
|
|
6639
|
-
)) :
|
|
6640
|
-
|
|
6639
|
+
)) : k("v-if", !0),
|
|
6640
|
+
k(" Screen reader assistive text "),
|
|
6641
6641
|
t.searchable && a.hasSelected ? (c(), h("div", {
|
|
6642
6642
|
key: 2,
|
|
6643
6643
|
class: G(a.classList.assist),
|
|
6644
6644
|
id: a.ariaAssist,
|
|
6645
6645
|
"aria-hidden": "true"
|
|
6646
|
-
}, z(a.ariaLabel), 11, c5)) :
|
|
6647
|
-
|
|
6646
|
+
}, z(a.ariaLabel), 11, c5)) : k("v-if", !0),
|
|
6647
|
+
k(" Create height for empty input "),
|
|
6648
6648
|
v(
|
|
6649
6649
|
"div",
|
|
6650
6650
|
{
|
|
@@ -6654,7 +6654,7 @@ function f5(a, e, t, s, n, o) {
|
|
|
6654
6654
|
2
|
|
6655
6655
|
/* CLASS */
|
|
6656
6656
|
)
|
|
6657
|
-
], 42,
|
|
6657
|
+
], 42, z3);
|
|
6658
6658
|
}
|
|
6659
6659
|
ze.render = f5;
|
|
6660
6660
|
ze.__file = "src/Multiselect.vue";
|
|
@@ -6666,7 +6666,7 @@ const ye = /* @__PURE__ */ x({
|
|
|
6666
6666
|
},
|
|
6667
6667
|
setup(a) {
|
|
6668
6668
|
const e = a, t = ct(() => e.appendTo), s = J();
|
|
6669
|
-
return e.detached &&
|
|
6669
|
+
return e.detached && E3({
|
|
6670
6670
|
multiselect: s,
|
|
6671
6671
|
appendTo: t.value
|
|
6672
6672
|
}), (n, o) => (c(), N(q(ze), {
|
|
@@ -6801,7 +6801,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6801
6801
|
disabled: !f.isEditable,
|
|
6802
6802
|
variant: "ghost",
|
|
6803
6803
|
onClick: () => l(C.id, !C.isDone)
|
|
6804
|
-
}, null, 8, ["icon-name", "disabled", "onClick"])) :
|
|
6804
|
+
}, null, 8, ["icon-name", "disabled", "onClick"])) : k("", !0),
|
|
6805
6805
|
v("input", {
|
|
6806
6806
|
id: C.id,
|
|
6807
6807
|
value: C.name,
|
|
@@ -6834,7 +6834,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6834
6834
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
6835
6835
|
]),
|
|
6836
6836
|
_: 2
|
|
6837
|
-
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) :
|
|
6837
|
+
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : k("", !0),
|
|
6838
6838
|
f.isEditable ? (c(), N(de, {
|
|
6839
6839
|
key: 2,
|
|
6840
6840
|
class: "ao-subtask__delete",
|
|
@@ -6843,7 +6843,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6843
6843
|
variant: "ghost",
|
|
6844
6844
|
color: "neutral",
|
|
6845
6845
|
onClick: () => r(C.id)
|
|
6846
|
-
}, null, 8, ["onClick"])) :
|
|
6846
|
+
}, null, 8, ["onClick"])) : k("", !0)
|
|
6847
6847
|
]);
|
|
6848
6848
|
}), 128))
|
|
6849
6849
|
]),
|
|
@@ -6855,7 +6855,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6855
6855
|
variant: "ghost",
|
|
6856
6856
|
color: "primary",
|
|
6857
6857
|
onClick: o
|
|
6858
|
-
}, null, 8, ["label"])) :
|
|
6858
|
+
}, null, 8, ["label"])) : k("", !0)
|
|
6859
6859
|
])
|
|
6860
6860
|
]));
|
|
6861
6861
|
}
|
|
@@ -6949,9 +6949,9 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], b5 = {
|
|
|
6949
6949
|
size: "md",
|
|
6950
6950
|
corners: "round",
|
|
6951
6951
|
onClick: () => t(p)
|
|
6952
|
-
}, null, 8, ["onClick"])) :
|
|
6952
|
+
}, null, 8, ["onClick"])) : k("", !0)
|
|
6953
6953
|
]))), 128))
|
|
6954
|
-
])) :
|
|
6954
|
+
])) : k("", !0),
|
|
6955
6955
|
d.isEditable ? (c(), h("div", $5, [
|
|
6956
6956
|
v("label", M5, [
|
|
6957
6957
|
v("span", k5, z(d.$t("activity.attachment.button.resting")), 1),
|
|
@@ -6965,7 +6965,7 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], b5 = {
|
|
|
6965
6965
|
}, null, 32)
|
|
6966
6966
|
]),
|
|
6967
6967
|
v("span", A5, z(d.$t("activity.attachment.placeholder.resting")), 1)
|
|
6968
|
-
])) :
|
|
6968
|
+
])) : k("", !0)
|
|
6969
6969
|
], 42, g5);
|
|
6970
6970
|
};
|
|
6971
6971
|
}
|
|
@@ -7008,7 +7008,7 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
7008
7008
|
"avatar-url": (g = S.user) == null ? void 0 : g.avatarUrl,
|
|
7009
7009
|
"user-name": s.value,
|
|
7010
7010
|
class: "ao-comment__avatar"
|
|
7011
|
-
}, null, 8, ["avatar-url", "user-name"])) :
|
|
7011
|
+
}, null, 8, ["avatar-url", "user-name"])) : k("", !0),
|
|
7012
7012
|
v("div", E5, [
|
|
7013
7013
|
v("div", I5, [
|
|
7014
7014
|
(c(), N(tt(f.value), {
|
|
@@ -7062,7 +7062,7 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
7062
7062
|
onClick: q(i)
|
|
7063
7063
|
}, null, 8, ["label", "onClick"])
|
|
7064
7064
|
], 64))
|
|
7065
|
-
])) :
|
|
7065
|
+
])) : k("", !0)
|
|
7066
7066
|
]);
|
|
7067
7067
|
};
|
|
7068
7068
|
}
|
|
@@ -7121,7 +7121,7 @@ const D5 = {
|
|
|
7121
7121
|
onEdit: ($) => r(C.id, $),
|
|
7122
7122
|
onRemove: () => d(C.id)
|
|
7123
7123
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
7124
|
-
])) :
|
|
7124
|
+
])) : k("", !0),
|
|
7125
7125
|
v("div", H5, [
|
|
7126
7126
|
v("form", {
|
|
7127
7127
|
class: "ao-comments__form",
|
|
@@ -7227,7 +7227,7 @@ const j5 = {
|
|
|
7227
7227
|
}))), d = w({
|
|
7228
7228
|
get() {
|
|
7229
7229
|
var b;
|
|
7230
|
-
return (b = t.activity.dependingOn) == null ? void 0 : b.map((
|
|
7230
|
+
return (b = t.activity.dependingOn) == null ? void 0 : b.map((A) => A.id);
|
|
7231
7231
|
},
|
|
7232
7232
|
set(b) {
|
|
7233
7233
|
b && e("update:activity", {
|
|
@@ -7236,15 +7236,15 @@ const j5 = {
|
|
|
7236
7236
|
});
|
|
7237
7237
|
}
|
|
7238
7238
|
}), u = w(() => r.value.map((b) => {
|
|
7239
|
-
var
|
|
7239
|
+
var A;
|
|
7240
7240
|
return {
|
|
7241
7241
|
...b,
|
|
7242
|
-
disabled: (
|
|
7242
|
+
disabled: (A = t.activity.blocking) == null ? void 0 : A.some((P) => P.id === b.value)
|
|
7243
7243
|
};
|
|
7244
7244
|
})), f = w({
|
|
7245
7245
|
get() {
|
|
7246
7246
|
var b;
|
|
7247
|
-
return (b = t.activity.blocking) == null ? void 0 : b.map((
|
|
7247
|
+
return (b = t.activity.blocking) == null ? void 0 : b.map((A) => A.id);
|
|
7248
7248
|
},
|
|
7249
7249
|
set(b) {
|
|
7250
7250
|
b && e("update:activity", {
|
|
@@ -7253,14 +7253,14 @@ const j5 = {
|
|
|
7253
7253
|
});
|
|
7254
7254
|
}
|
|
7255
7255
|
}), p = w(() => r.value.map((b) => {
|
|
7256
|
-
var
|
|
7256
|
+
var A;
|
|
7257
7257
|
return {
|
|
7258
7258
|
...b,
|
|
7259
|
-
disabled: (
|
|
7259
|
+
disabled: (A = t.activity.dependingOn) == null ? void 0 : A.some((P) => P.id === b.value)
|
|
7260
7260
|
};
|
|
7261
|
-
})), C = w(() => (t.templateMilestones || []).filter((
|
|
7262
|
-
label:
|
|
7263
|
-
value:
|
|
7261
|
+
})), C = w(() => (t.templateMilestones || []).filter((A) => A.id !== t.milestoneId).map((A) => ({
|
|
7262
|
+
label: A.name,
|
|
7263
|
+
value: A.id
|
|
7264
7264
|
}))), $ = w({
|
|
7265
7265
|
get() {
|
|
7266
7266
|
return t.activity.dependingMilestones;
|
|
@@ -7279,15 +7279,15 @@ const j5 = {
|
|
|
7279
7279
|
e("deleteSubtask", b);
|
|
7280
7280
|
}, g = w(() => {
|
|
7281
7281
|
var b;
|
|
7282
|
-
return ((b = t.users) == null ? void 0 : b.map((
|
|
7283
|
-
label: `${
|
|
7284
|
-
value:
|
|
7285
|
-
avatar:
|
|
7282
|
+
return ((b = t.users) == null ? void 0 : b.map((A) => ({
|
|
7283
|
+
label: `${A.firstName} ${A.lastName}`,
|
|
7284
|
+
value: A.id,
|
|
7285
|
+
avatar: A.avatarUrl
|
|
7286
7286
|
}))) || [];
|
|
7287
7287
|
}), V = w({
|
|
7288
7288
|
get() {
|
|
7289
|
-
var b,
|
|
7290
|
-
return (b = t.activity.assignee) != null && b.id ? [(
|
|
7289
|
+
var b, A;
|
|
7290
|
+
return (b = t.activity.assignee) != null && b.id ? [(A = t.activity.assignee) == null ? void 0 : A.id] : [];
|
|
7291
7291
|
},
|
|
7292
7292
|
set(b) {
|
|
7293
7293
|
e("update:activity", {
|
|
@@ -7307,9 +7307,9 @@ const j5 = {
|
|
|
7307
7307
|
});
|
|
7308
7308
|
}, D = w(() => {
|
|
7309
7309
|
var b;
|
|
7310
|
-
return (b = t.statuses) == null ? void 0 : b.map((
|
|
7311
|
-
value:
|
|
7312
|
-
label:
|
|
7310
|
+
return (b = t.statuses) == null ? void 0 : b.map((A) => ({
|
|
7311
|
+
value: A.id,
|
|
7312
|
+
label: A.name
|
|
7313
7313
|
}));
|
|
7314
7314
|
}), X = (b) => {
|
|
7315
7315
|
e("update:activity", {
|
|
@@ -7326,11 +7326,11 @@ const j5 = {
|
|
|
7326
7326
|
}, ee = (b) => {
|
|
7327
7327
|
e("removeComment", b);
|
|
7328
7328
|
};
|
|
7329
|
-
return (b,
|
|
7330
|
-
onClose:
|
|
7329
|
+
return (b, A) => (c(), N(L1, {
|
|
7330
|
+
onClose: A[8] || (A[8] = (P) => b.$emit("close"))
|
|
7331
7331
|
}, {
|
|
7332
7332
|
header: j(() => [
|
|
7333
|
-
b.breadcrumbs ? (c(), h("div", j5, z(b.breadcrumbs), 1)) :
|
|
7333
|
+
b.breadcrumbs ? (c(), h("div", j5, z(b.breadcrumbs), 1)) : k("", !0),
|
|
7334
7334
|
T(me, {
|
|
7335
7335
|
title: b.activity.name || "",
|
|
7336
7336
|
level: 4,
|
|
@@ -7351,7 +7351,7 @@ const j5 = {
|
|
|
7351
7351
|
caret: b.isEditable,
|
|
7352
7352
|
onChange: X
|
|
7353
7353
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
7354
|
-
])) :
|
|
7354
|
+
])) : k("", !0)
|
|
7355
7355
|
];
|
|
7356
7356
|
})
|
|
7357
7357
|
]),
|
|
@@ -7362,7 +7362,7 @@ const j5 = {
|
|
|
7362
7362
|
v("label", Y5, [
|
|
7363
7363
|
v("span", K5, z(b.$t("activity.description.label")), 1),
|
|
7364
7364
|
ft(v("textarea", {
|
|
7365
|
-
"onUpdate:modelValue":
|
|
7365
|
+
"onUpdate:modelValue": A[0] || (A[0] = (P) => n.value = P),
|
|
7366
7366
|
readonly: !b.isEditable,
|
|
7367
7367
|
rows: "4",
|
|
7368
7368
|
class: "ao-field__textarea"
|
|
@@ -7383,7 +7383,7 @@ const j5 = {
|
|
|
7383
7383
|
v("label", X5, [
|
|
7384
7384
|
v("span", Q5, z(b.$t("activity.estimation.label")), 1),
|
|
7385
7385
|
ft(v("input", {
|
|
7386
|
-
"onUpdate:modelValue":
|
|
7386
|
+
"onUpdate:modelValue": A[1] || (A[1] = (P) => o.value = P),
|
|
7387
7387
|
readonly: !b.isEditable,
|
|
7388
7388
|
class: "ao-field__input",
|
|
7389
7389
|
type: "number",
|
|
@@ -7403,7 +7403,7 @@ const j5 = {
|
|
|
7403
7403
|
v("label", e7, [
|
|
7404
7404
|
v("span", t7, z(b.$t("activity.important.label")), 1),
|
|
7405
7405
|
ft(v("input", {
|
|
7406
|
-
"onUpdate:modelValue":
|
|
7406
|
+
"onUpdate:modelValue": A[2] || (A[2] = (P) => i.value = P),
|
|
7407
7407
|
disabled: !b.isEditable,
|
|
7408
7408
|
class: "ao-field__input",
|
|
7409
7409
|
type: "checkbox"
|
|
@@ -7431,7 +7431,7 @@ const j5 = {
|
|
|
7431
7431
|
v("div", l7, [
|
|
7432
7432
|
T(ye, {
|
|
7433
7433
|
modelValue: V.value,
|
|
7434
|
-
"onUpdate:modelValue":
|
|
7434
|
+
"onUpdate:modelValue": A[3] || (A[3] = (P) => V.value = P),
|
|
7435
7435
|
options: g.value,
|
|
7436
7436
|
"close-on-select": !1,
|
|
7437
7437
|
searchable: !0,
|
|
@@ -7492,7 +7492,7 @@ const j5 = {
|
|
|
7492
7492
|
v("span", m7, z(b.$t("activity.dependingOn.label")), 1),
|
|
7493
7493
|
T(ye, {
|
|
7494
7494
|
modelValue: d.value,
|
|
7495
|
-
"onUpdate:modelValue":
|
|
7495
|
+
"onUpdate:modelValue": A[4] || (A[4] = (P) => d.value = P),
|
|
7496
7496
|
mode: "tags",
|
|
7497
7497
|
"close-on-select": !1,
|
|
7498
7498
|
searchable: !0,
|
|
@@ -7507,7 +7507,7 @@ const j5 = {
|
|
|
7507
7507
|
v("span", g7, z(b.$t("activity.blocking.label")), 1),
|
|
7508
7508
|
T(ye, {
|
|
7509
7509
|
modelValue: f.value,
|
|
7510
|
-
"onUpdate:modelValue":
|
|
7510
|
+
"onUpdate:modelValue": A[5] || (A[5] = (P) => f.value = P),
|
|
7511
7511
|
mode: "tags",
|
|
7512
7512
|
"close-on-select": !1,
|
|
7513
7513
|
searchable: !0,
|
|
@@ -7522,7 +7522,7 @@ const j5 = {
|
|
|
7522
7522
|
v("span", w7, z(b.$t("activity.dependingMilestone.label")), 1),
|
|
7523
7523
|
T(ye, {
|
|
7524
7524
|
modelValue: $.value,
|
|
7525
|
-
"onUpdate:modelValue":
|
|
7525
|
+
"onUpdate:modelValue": A[6] || (A[6] = (P) => $.value = P),
|
|
7526
7526
|
mode: "tags",
|
|
7527
7527
|
"close-on-select": !1,
|
|
7528
7528
|
searchable: !0,
|
|
@@ -7540,7 +7540,7 @@ const j5 = {
|
|
|
7540
7540
|
v("span", A7, z(b.$t("activity.type.label")), 1),
|
|
7541
7541
|
T(ye, {
|
|
7542
7542
|
modelValue: l.value,
|
|
7543
|
-
"onUpdate:modelValue":
|
|
7543
|
+
"onUpdate:modelValue": A[7] || (A[7] = (P) => l.value = P),
|
|
7544
7544
|
mode: "single",
|
|
7545
7545
|
searchable: !0,
|
|
7546
7546
|
options: b.activityTypes,
|
|
@@ -7549,7 +7549,7 @@ const j5 = {
|
|
|
7549
7549
|
caret: b.isEditable
|
|
7550
7550
|
}, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
7551
7551
|
])
|
|
7552
|
-
])) :
|
|
7552
|
+
])) : k("", !0),
|
|
7553
7553
|
te(b.$slots, "default")
|
|
7554
7554
|
])
|
|
7555
7555
|
]),
|
|
@@ -7582,7 +7582,7 @@ const j5 = {
|
|
|
7582
7582
|
onUpdateComment: I,
|
|
7583
7583
|
onRemoveComment: ee
|
|
7584
7584
|
}, null, 8, ["comments", "users", "user-id"])
|
|
7585
|
-
])) :
|
|
7585
|
+
])) : k("", !0)
|
|
7586
7586
|
]),
|
|
7587
7587
|
_: 3
|
|
7588
7588
|
}));
|
|
@@ -7960,7 +7960,7 @@ const D7 = {
|
|
|
7960
7960
|
e("addRule", { templateId: t.templateId });
|
|
7961
7961
|
}, b = (O) => {
|
|
7962
7962
|
e("removeRule", { id: O, templateId: t.templateId });
|
|
7963
|
-
},
|
|
7963
|
+
}, A = (O) => {
|
|
7964
7964
|
var L;
|
|
7965
7965
|
if (O.moved) {
|
|
7966
7966
|
const W = Bt(O, ((L = n.value) == null ? void 0 : L.phases) ?? []);
|
|
@@ -8039,7 +8039,7 @@ const D7 = {
|
|
|
8039
8039
|
class: "ao-templates__list",
|
|
8040
8040
|
"item-key": "id",
|
|
8041
8041
|
handle: ".ao-card__drag",
|
|
8042
|
-
onChange:
|
|
8042
|
+
onChange: A
|
|
8043
8043
|
}, {
|
|
8044
8044
|
header: j(() => [
|
|
8045
8045
|
T(me, {
|
|
@@ -8051,7 +8051,7 @@ const D7 = {
|
|
|
8051
8051
|
item: j(({ element: E }) => {
|
|
8052
8052
|
var U;
|
|
8053
8053
|
return [
|
|
8054
|
-
T(
|
|
8054
|
+
T(R0, {
|
|
8055
8055
|
id: E.id,
|
|
8056
8056
|
name: E.name,
|
|
8057
8057
|
milestones: E.milestones,
|
|
@@ -8080,7 +8080,7 @@ const D7 = {
|
|
|
8080
8080
|
}, 8, ["model-value"])
|
|
8081
8081
|
]),
|
|
8082
8082
|
v("li", R7, [
|
|
8083
|
-
i.value ? (c(), N(
|
|
8083
|
+
i.value ? (c(), N(Z0, {
|
|
8084
8084
|
key: 0,
|
|
8085
8085
|
"template-id": O.templateId,
|
|
8086
8086
|
phase: i.value,
|
|
@@ -8089,10 +8089,10 @@ const D7 = {
|
|
|
8089
8089
|
onUpdateMilestone: R,
|
|
8090
8090
|
onUpdatePhase: _,
|
|
8091
8091
|
onRemoveMilestone: V
|
|
8092
|
-
}, null, 8, ["template-id", "phase", "milestone-id"])) :
|
|
8092
|
+
}, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
|
|
8093
8093
|
]),
|
|
8094
8094
|
v("li", U7, [
|
|
8095
|
-
i.value && l.value ? (c(), N(
|
|
8095
|
+
i.value && l.value ? (c(), N(W0, {
|
|
8096
8096
|
key: 0,
|
|
8097
8097
|
"template-id": O.templateId,
|
|
8098
8098
|
"phase-id": (y = i.value) == null ? void 0 : y.id,
|
|
@@ -8101,7 +8101,7 @@ const D7 = {
|
|
|
8101
8101
|
onAddActivity: K,
|
|
8102
8102
|
onUpdateActivity: X,
|
|
8103
8103
|
onRemoveActivity: D
|
|
8104
|
-
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) :
|
|
8104
|
+
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : k("", !0)
|
|
8105
8105
|
])
|
|
8106
8106
|
])
|
|
8107
8107
|
]),
|
|
@@ -8125,7 +8125,7 @@ const D7 = {
|
|
|
8125
8125
|
onDeleteSubtask: ne,
|
|
8126
8126
|
onAddFiles: le,
|
|
8127
8127
|
onRemoveFile: ie
|
|
8128
|
-
}, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) :
|
|
8128
|
+
}, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : k("", !0)
|
|
8129
8129
|
])),
|
|
8130
8130
|
(c(), N(It, { to: "body" }, [
|
|
8131
8131
|
ae.value ? (c(), N(V7, {
|
|
@@ -8138,9 +8138,9 @@ const D7 = {
|
|
|
8138
8138
|
onClose: I,
|
|
8139
8139
|
onAddRule: ee,
|
|
8140
8140
|
onRemoveRule: b
|
|
8141
|
-
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) :
|
|
8141
|
+
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : k("", !0)
|
|
8142
8142
|
]))
|
|
8143
|
-
])) :
|
|
8143
|
+
])) : k("", !0);
|
|
8144
8144
|
};
|
|
8145
8145
|
}
|
|
8146
8146
|
});
|
|
@@ -8163,13 +8163,13 @@ const Z7 = {
|
|
|
8163
8163
|
default: j(() => [
|
|
8164
8164
|
e.$slots.header ? (c(), h("header", Z7, [
|
|
8165
8165
|
te(e.$slots, "header")
|
|
8166
|
-
])) :
|
|
8166
|
+
])) : k("", !0),
|
|
8167
8167
|
v("div", F7, [
|
|
8168
8168
|
te(e.$slots, "default")
|
|
8169
8169
|
]),
|
|
8170
8170
|
e.$slots.footer ? (c(), h("footer", q7, [
|
|
8171
8171
|
te(e.$slots, "footer")
|
|
8172
|
-
])) :
|
|
8172
|
+
])) : k("", !0)
|
|
8173
8173
|
]),
|
|
8174
8174
|
_: 3
|
|
8175
8175
|
}, 8, ["class"]));
|
|
@@ -8244,10 +8244,10 @@ const W7 = { class: "ao-card-project-phase__header" }, z7 = { class: "ao-card-pr
|
|
|
8244
8244
|
percentages: i.value,
|
|
8245
8245
|
class: "ao-card-project-phase__progress"
|
|
8246
8246
|
}, null, 8, ["percentages"])
|
|
8247
|
-
], 64)) :
|
|
8247
|
+
], 64)) : k("", !0),
|
|
8248
8248
|
l.$slots.secondary ? (c(), h("div", x7, [
|
|
8249
8249
|
te(l.$slots, "secondary")
|
|
8250
|
-
])) :
|
|
8250
|
+
])) : k("", !0)
|
|
8251
8251
|
])
|
|
8252
8252
|
])
|
|
8253
8253
|
]),
|
|
@@ -8327,7 +8327,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8327
8327
|
label: l.$t("archive"),
|
|
8328
8328
|
onClick: r[0] || (r[0] = _e(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
|
|
8329
8329
|
}, null, 8, ["label"])
|
|
8330
|
-
])) :
|
|
8330
|
+
])) : k("", !0)
|
|
8331
8331
|
])
|
|
8332
8332
|
]),
|
|
8333
8333
|
footer: j(() => [
|
|
@@ -8345,10 +8345,10 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8345
8345
|
percentages: o.value,
|
|
8346
8346
|
class: "ao-card-project-phase__progress"
|
|
8347
8347
|
}, null, 8, ["percentages"])
|
|
8348
|
-
], 64)) :
|
|
8348
|
+
], 64)) : k("", !0),
|
|
8349
8349
|
l.$slots.secondary ? (c(), h("div", s9, [
|
|
8350
8350
|
te(l.$slots, "secondary")
|
|
8351
|
-
])) :
|
|
8351
|
+
])) : k("", !0)
|
|
8352
8352
|
])
|
|
8353
8353
|
])
|
|
8354
8354
|
]),
|
|
@@ -8374,7 +8374,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
|
|
|
8374
8374
|
});
|
|
8375
8375
|
const n = (f) => {
|
|
8376
8376
|
e("updatePhase", { id: t.phase.id, name: f });
|
|
8377
|
-
}, o = w(() => t.phase.milestones.map((f) =>
|
|
8377
|
+
}, o = w(() => t.phase.milestones.map((f) => o0(f, t.closedStatus))), i = (f) => {
|
|
8378
8378
|
const { name: p, rank: C } = pt(o.value ?? [], "milestone", s);
|
|
8379
8379
|
e("addMilestone", { name: p, rank: C, phaseId: f });
|
|
8380
8380
|
}, l = (f) => {
|
|
@@ -8399,7 +8399,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
|
|
|
8399
8399
|
name: "DragIndicator",
|
|
8400
8400
|
class: "ao-project-phase__drag-handle"
|
|
8401
8401
|
})
|
|
8402
|
-
])) :
|
|
8402
|
+
])) : k("", !0),
|
|
8403
8403
|
v("div", r9, [
|
|
8404
8404
|
T(X7, {
|
|
8405
8405
|
id: f.phase.id,
|
|
@@ -8445,7 +8445,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
|
|
|
8445
8445
|
class: "ao-project-phase__milestone-add",
|
|
8446
8446
|
"icon-name": "Add",
|
|
8447
8447
|
onClick: p[0] || (p[0] = () => i(f.phase.id))
|
|
8448
|
-
}, null, 8, ["label"])) :
|
|
8448
|
+
}, null, 8, ["label"])) : k("", !0)
|
|
8449
8449
|
])
|
|
8450
8450
|
])
|
|
8451
8451
|
])
|
|
@@ -8522,7 +8522,7 @@ const v9 = { class: "ao-project__phases" }, p9 = {
|
|
|
8522
8522
|
}, null, 8, ["label"])
|
|
8523
8523
|
]),
|
|
8524
8524
|
C9
|
|
8525
|
-
])) :
|
|
8525
|
+
])) : k("", !0)
|
|
8526
8526
|
]));
|
|
8527
8527
|
}
|
|
8528
8528
|
});
|
|
@@ -8699,8 +8699,8 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8699
8699
|
"is-left": !0,
|
|
8700
8700
|
"right-label": I.$t("project.switch.feed"),
|
|
8701
8701
|
"left-label": I.$t("project.switch.overview"),
|
|
8702
|
-
"onUpdate:isLeft": ee[0] || (ee[0] = (
|
|
8703
|
-
|
|
8702
|
+
"onUpdate:isLeft": ee[0] || (ee[0] = (A) => {
|
|
8703
|
+
A || I.$router.push({ name: q(Re).feed });
|
|
8704
8704
|
})
|
|
8705
8705
|
}, null, 8, ["right-label", "left-label"]),
|
|
8706
8706
|
I.isEditable ? (c(), N(de, {
|
|
@@ -8708,8 +8708,8 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8708
8708
|
class: "ao-project-overview__add-template",
|
|
8709
8709
|
color: "primary",
|
|
8710
8710
|
label: I.$t("project.template.add.label"),
|
|
8711
|
-
onClick: ee[1] || (ee[1] = (
|
|
8712
|
-
}, null, 8, ["label"])) :
|
|
8711
|
+
onClick: ee[1] || (ee[1] = (A) => X.value = !0)
|
|
8712
|
+
}, null, 8, ["label"])) : k("", !0)
|
|
8713
8713
|
]),
|
|
8714
8714
|
_: 1
|
|
8715
8715
|
}),
|
|
@@ -8734,7 +8734,7 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8734
8734
|
"project-name": I.project.name,
|
|
8735
8735
|
users: I.users,
|
|
8736
8736
|
"is-editable": I.isEditable,
|
|
8737
|
-
onClose: ee[2] || (ee[2] = (
|
|
8737
|
+
onClose: ee[2] || (ee[2] = (A) => I.$router.push({ name: q(Re).project })),
|
|
8738
8738
|
onAddActivity: f,
|
|
8739
8739
|
onUpdateActivity: p,
|
|
8740
8740
|
onArchiveActivity: C
|
|
@@ -8766,9 +8766,9 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8766
8766
|
key: 0,
|
|
8767
8767
|
"project-id": I.project.id,
|
|
8768
8768
|
templates: I.templates,
|
|
8769
|
-
onClose: ee[3] || (ee[3] = (
|
|
8769
|
+
onClose: ee[3] || (ee[3] = (A) => X.value = !1),
|
|
8770
8770
|
onApply: ae
|
|
8771
|
-
}, null, 8, ["project-id", "templates"])) :
|
|
8771
|
+
}, null, 8, ["project-id", "templates"])) : k("", !0)
|
|
8772
8772
|
]))
|
|
8773
8773
|
], 64);
|
|
8774
8774
|
};
|
|
@@ -8847,21 +8847,21 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8847
8847
|
variant: "solid",
|
|
8848
8848
|
color: p.projectColor ? void 0 : "primary",
|
|
8849
8849
|
"raw-color": p.projectColor
|
|
8850
|
-
}, null, 8, ["label", "color", "raw-color"])) :
|
|
8850
|
+
}, null, 8, ["label", "color", "raw-color"])) : k("", !0),
|
|
8851
8851
|
p.important ? (c(), N(ce, {
|
|
8852
8852
|
key: 1,
|
|
8853
8853
|
name: "FlagRounded",
|
|
8854
8854
|
class: "ao-card-feed__important ao-card-feed__header-secondary",
|
|
8855
8855
|
size: "sm"
|
|
8856
|
-
})) :
|
|
8856
|
+
})) : k("", !0),
|
|
8857
8857
|
p.$slots.secondary ? (c(), h("div", L9, [
|
|
8858
8858
|
te(p.$slots, "secondary")
|
|
8859
|
-
])) :
|
|
8859
|
+
])) : k("", !0)
|
|
8860
8860
|
])
|
|
8861
8861
|
]),
|
|
8862
8862
|
default: j(() => [
|
|
8863
8863
|
v("div", V9, [
|
|
8864
|
-
n.value ? (c(), h("span", D9, z(n.value), 1)) :
|
|
8864
|
+
n.value ? (c(), h("span", D9, z(n.value), 1)) : k("", !0),
|
|
8865
8865
|
T(me, {
|
|
8866
8866
|
id: p.id,
|
|
8867
8867
|
title: p.name,
|
|
@@ -8869,7 +8869,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8869
8869
|
"is-editable": p.isEditable,
|
|
8870
8870
|
"onUpdate:title": s
|
|
8871
8871
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8872
|
-
p.deadline ? (c(), h("span", H9, z(i.value), 1)) :
|
|
8872
|
+
p.deadline ? (c(), h("span", H9, z(i.value), 1)) : k("", !0)
|
|
8873
8873
|
])
|
|
8874
8874
|
]),
|
|
8875
8875
|
footer: j(() => [
|
|
@@ -8886,7 +8886,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8886
8886
|
"is-closable": !0,
|
|
8887
8887
|
onClose: () => r($.id)
|
|
8888
8888
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
8889
|
-
])) :
|
|
8889
|
+
])) : k("", !0)
|
|
8890
8890
|
], 64))), 128))
|
|
8891
8891
|
]),
|
|
8892
8892
|
p.comments || p.attachments ? (c(), h("ul", U9, [
|
|
@@ -8896,15 +8896,15 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8896
8896
|
size: "sm"
|
|
8897
8897
|
}),
|
|
8898
8898
|
v("span", Z9, z(p.comments), 1)
|
|
8899
|
-
])) :
|
|
8899
|
+
])) : k("", !0),
|
|
8900
8900
|
p.attachments ? (c(), h("li", F9, [
|
|
8901
8901
|
T(ce, {
|
|
8902
8902
|
name: "AttachFileRounded",
|
|
8903
8903
|
size: "sm"
|
|
8904
8904
|
}),
|
|
8905
8905
|
v("span", q9, z(p.attachments), 1)
|
|
8906
|
-
])) :
|
|
8907
|
-
])) :
|
|
8906
|
+
])) : k("", !0)
|
|
8907
|
+
])) : k("", !0)
|
|
8908
8908
|
]),
|
|
8909
8909
|
v("div", W9, [
|
|
8910
8910
|
p.tasks && p.tasks.length ? (c(), h("div", z9, [
|
|
@@ -8919,7 +8919,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8919
8919
|
percentages: f.value,
|
|
8920
8920
|
class: "ao-card-feed__progress"
|
|
8921
8921
|
}, null, 8, ["percentages"])
|
|
8922
|
-
])) :
|
|
8922
|
+
])) : k("", !0)
|
|
8923
8923
|
])
|
|
8924
8924
|
])
|
|
8925
8925
|
]),
|
|
@@ -9055,7 +9055,7 @@ const G9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
|
|
|
9055
9055
|
label: p.$t("project.activity.add"),
|
|
9056
9056
|
onClick: d
|
|
9057
9057
|
}, null, 8, ["label"])
|
|
9058
|
-
])) :
|
|
9058
|
+
])) : k("", !0)
|
|
9059
9059
|
])
|
|
9060
9060
|
]);
|
|
9061
9061
|
};
|
|
@@ -9141,7 +9141,7 @@ const e4 = /* @__PURE__ */ x({
|
|
|
9141
9141
|
onAddComment: $,
|
|
9142
9142
|
onUpdateComment: M,
|
|
9143
9143
|
onRemoveComment: S
|
|
9144
|
-
}, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) :
|
|
9144
|
+
}, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
|
|
9145
9145
|
};
|
|
9146
9146
|
}
|
|
9147
9147
|
}), t4 = { class: "ao-col-header" }, a4 = /* @__PURE__ */ x({
|
|
@@ -9163,7 +9163,7 @@ const e4 = /* @__PURE__ */ x({
|
|
|
9163
9163
|
class: "ao-col-header__items",
|
|
9164
9164
|
variant: "solid",
|
|
9165
9165
|
color: "primary"
|
|
9166
|
-
}, null, 8, ["label"])) :
|
|
9166
|
+
}, null, 8, ["label"])) : k("", !0)
|
|
9167
9167
|
]));
|
|
9168
9168
|
}
|
|
9169
9169
|
});
|
|
@@ -9332,10 +9332,10 @@ const v4 = {
|
|
|
9332
9332
|
title: r.title,
|
|
9333
9333
|
level: 3,
|
|
9334
9334
|
items: (u = r.list) == null ? void 0 : u.length
|
|
9335
|
-
}, null, 8, ["title", "items"])) :
|
|
9335
|
+
}, null, 8, ["title", "items"])) : k("", !0)
|
|
9336
9336
|
])
|
|
9337
9337
|
];
|
|
9338
|
-
}) :
|
|
9338
|
+
}) : k("", !0),
|
|
9339
9339
|
T(q(Xe), Ve({
|
|
9340
9340
|
class: "ao-list-kanban__list",
|
|
9341
9341
|
list: r.list,
|
|
@@ -9381,7 +9381,7 @@ const v4 = {
|
|
|
9381
9381
|
corners: "round",
|
|
9382
9382
|
label: r.$t("feed.activity.archive"),
|
|
9383
9383
|
onClick: _e(() => r.$emit("archiveActivity", { id: u.id }), ["stop"])
|
|
9384
|
-
}, null, 8, ["label", "onClick"])) :
|
|
9384
|
+
}, null, 8, ["label", "onClick"])) : k("", !0)
|
|
9385
9385
|
]),
|
|
9386
9386
|
_: 2
|
|
9387
9387
|
}, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "onClick", "onRemoveAssignee"])
|
|
@@ -9396,7 +9396,7 @@ const v4 = {
|
|
|
9396
9396
|
ref: n,
|
|
9397
9397
|
class: "ao-list-kanban__end"
|
|
9398
9398
|
}, null, 512)) : (c(), h("div", m4, [
|
|
9399
|
-
r.noMoreLabel ? (c(), h("span", C4, z(r.noMoreLabel), 1)) : (c(), h("span", _4))
|
|
9399
|
+
r.noMoreLabel ? (c(), h("span", C4, z(r.noMoreLabel), 1)) : r.isEditable ? (c(), h("span", _4)) : k("", !0)
|
|
9400
9400
|
]))
|
|
9401
9401
|
]),
|
|
9402
9402
|
_: 1
|
|
@@ -9408,9 +9408,9 @@ const v4 = {
|
|
|
9408
9408
|
"icon-name": "AddBoxOutlineRounded",
|
|
9409
9409
|
label: r.footerLabel,
|
|
9410
9410
|
onClick: d[1] || (d[1] = (u) => r.$emit("add"))
|
|
9411
|
-
}, null, 8, ["label"])) :
|
|
9411
|
+
}, null, 8, ["label"])) : k("", !0)
|
|
9412
9412
|
])
|
|
9413
|
-
])) :
|
|
9413
|
+
])) : k("", !0)
|
|
9414
9414
|
]));
|
|
9415
9415
|
}
|
|
9416
9416
|
});
|
|
@@ -9576,7 +9576,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9576
9576
|
e("addFiles", y);
|
|
9577
9577
|
}, b = (y) => {
|
|
9578
9578
|
e("removeFile", y);
|
|
9579
|
-
},
|
|
9579
|
+
}, A = (y) => {
|
|
9580
9580
|
i.value && e("addComment", {
|
|
9581
9581
|
...y,
|
|
9582
9582
|
activityId: i.value.id
|
|
@@ -9633,7 +9633,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9633
9633
|
"onUpdate:isLeft": Y[0] || (Y[0] = (Z) => {
|
|
9634
9634
|
Z && y.$router.push({ name: q(Re).project });
|
|
9635
9635
|
})
|
|
9636
|
-
}, null, 8, ["right-label", "left-label"])) :
|
|
9636
|
+
}, null, 8, ["right-label", "left-label"])) : k("", !0),
|
|
9637
9637
|
T($4, {
|
|
9638
9638
|
"model-value": y.searchText,
|
|
9639
9639
|
placeholder: y.$t("feed.search.placeholder"),
|
|
@@ -9641,7 +9641,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9641
9641
|
"onUpdate:modelValue": K,
|
|
9642
9642
|
onClear: D
|
|
9643
9643
|
}, null, 8, ["model-value", "placeholder"]),
|
|
9644
|
-
t.project ?
|
|
9644
|
+
t.project ? k("", !0) : (c(), N(ye, {
|
|
9645
9645
|
key: 1,
|
|
9646
9646
|
"model-value": y.filters[q(ut).project],
|
|
9647
9647
|
mode: "tags",
|
|
@@ -9662,7 +9662,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9662
9662
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
9663
9663
|
placeholder: y.$t("feed.filters.activityType.placeholder"),
|
|
9664
9664
|
"onUpdate:modelValue": Y[2] || (Y[2] = (Z) => p(q(ut).type, Z))
|
|
9665
|
-
}, null, 8, ["model-value", "options", "placeholder"])) :
|
|
9665
|
+
}, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
|
|
9666
9666
|
T(ye, {
|
|
9667
9667
|
"model-value": y.filters[q(ut).assignee],
|
|
9668
9668
|
mode: "tags",
|
|
@@ -9734,7 +9734,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9734
9734
|
onDeleteSubtask: I,
|
|
9735
9735
|
onAddFiles: ee,
|
|
9736
9736
|
onRemoveFile: b,
|
|
9737
|
-
onAddComment:
|
|
9737
|
+
onAddComment: A,
|
|
9738
9738
|
onUpdateComment: P,
|
|
9739
9739
|
onRemoveComment: ue
|
|
9740
9740
|
}, {
|
|
@@ -9752,7 +9752,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9752
9752
|
caret: y.isEditable,
|
|
9753
9753
|
onChange: ie
|
|
9754
9754
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9755
|
-
])) :
|
|
9755
|
+
])) : k("", !0),
|
|
9756
9756
|
le.value ? (c(), h("label", V4, [
|
|
9757
9757
|
v("span", D4, z(y.$t("activity.milestone.label")), 1),
|
|
9758
9758
|
T(ye, {
|
|
@@ -9763,7 +9763,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9763
9763
|
caret: y.isEditable,
|
|
9764
9764
|
onChange: O
|
|
9765
9765
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9766
|
-
])) :
|
|
9766
|
+
])) : k("", !0),
|
|
9767
9767
|
L.value ? (c(), h("label", H4, [
|
|
9768
9768
|
v("span", P4, z(y.$t("activity.status.label")), 1),
|
|
9769
9769
|
T(ye, {
|
|
@@ -9775,7 +9775,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9775
9775
|
caret: y.isEditable,
|
|
9776
9776
|
onChange: W
|
|
9777
9777
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9778
|
-
])) :
|
|
9778
|
+
])) : k("", !0)
|
|
9779
9779
|
])
|
|
9780
9780
|
];
|
|
9781
9781
|
}),
|
|
@@ -9799,7 +9799,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9799
9799
|
])
|
|
9800
9800
|
]),
|
|
9801
9801
|
_: 1
|
|
9802
|
-
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) :
|
|
9802
|
+
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
|
|
9803
9803
|
]))
|
|
9804
9804
|
]);
|
|
9805
9805
|
};
|
|
@@ -9932,12 +9932,12 @@ const Tt = {
|
|
|
9932
9932
|
item: j(({ element: d }) => {
|
|
9933
9933
|
var u;
|
|
9934
9934
|
return [
|
|
9935
|
-
T(
|
|
9935
|
+
T(E0, {
|
|
9936
9936
|
id: d.id,
|
|
9937
9937
|
title: d.name,
|
|
9938
9938
|
phases: d.phases,
|
|
9939
|
-
milestones: (u = d.phases) != null && u.length ? q(
|
|
9940
|
-
activities: d.phases ? q(
|
|
9939
|
+
milestones: (u = d.phases) != null && u.length ? q(a0)(d.phases) : 0,
|
|
9940
|
+
activities: d.phases ? q(n0)(d.phases) : 0,
|
|
9941
9941
|
"updated-at": d.updatedAt,
|
|
9942
9942
|
"updated-by": d.updatedBy,
|
|
9943
9943
|
onUpdateTitle: (f) => o(d.id, f),
|