@26lights/orcha 0.39.1 → 0.40.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 +154 -158
- package/dist/orcha.umd.js +1 -1
- package/dist/src/components/AoTag.vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, openBlock as p, createBlock as P, unref as J, mergeProps as He, createElementBlock as m, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as A, resolveDynamicComponent as ht, normalizeClass as Q, renderSlot as te, toDisplayString as x, createCommentVNode as O, ref as ee, watch as
|
|
1
|
+
import { defineComponent as Y, openBlock as p, createBlock as P, unref as J, mergeProps as He, createElementBlock as m, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as A, resolveDynamicComponent as ht, normalizeClass as Q, renderSlot as te, toDisplayString as x, createCommentVNode as O, ref as ee, watch as pe, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as z, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as he, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const g8 = /* @__PURE__ */ Y({
|
|
@@ -1155,7 +1155,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1155
1155
|
const Os = {
|
|
1156
1156
|
ROUND: "round",
|
|
1157
1157
|
ROUNDED: "rounded"
|
|
1158
|
-
},
|
|
1158
|
+
}, de = /* @__PURE__ */ Y({
|
|
1159
1159
|
__name: "AoIcon",
|
|
1160
1160
|
props: {
|
|
1161
1161
|
name: {},
|
|
@@ -1203,7 +1203,7 @@ const M2 = ["type"], T2 = {
|
|
|
1203
1203
|
te(s.$slots, "default", {}, () => [
|
|
1204
1204
|
s.label ? (p(), m("span", T2, x(s.label), 1)) : O("", !0)
|
|
1205
1205
|
]),
|
|
1206
|
-
n.value ? (p(), P(
|
|
1206
|
+
n.value ? (p(), P(de, {
|
|
1207
1207
|
key: 0,
|
|
1208
1208
|
name: n.value,
|
|
1209
1209
|
class: "ao-button__icon",
|
|
@@ -1227,7 +1227,7 @@ function Es(t) {
|
|
|
1227
1227
|
l(u, c);
|
|
1228
1228
|
});
|
|
1229
1229
|
};
|
|
1230
|
-
return
|
|
1230
|
+
return pe(e, async (l) => {
|
|
1231
1231
|
await De(() => {
|
|
1232
1232
|
setTimeout(() => {
|
|
1233
1233
|
t.value && l && (t.value.focus(), a.value = t.value[n.value]);
|
|
@@ -1270,7 +1270,7 @@ const ye = /* @__PURE__ */ Y({
|
|
|
1270
1270
|
}, w = (g) => {
|
|
1271
1271
|
g.stopPropagation(), s.value || o(!0);
|
|
1272
1272
|
};
|
|
1273
|
-
return
|
|
1273
|
+
return pe(
|
|
1274
1274
|
() => a.isEditable,
|
|
1275
1275
|
(g) => {
|
|
1276
1276
|
g || f();
|
|
@@ -1346,14 +1346,14 @@ const O2 = {
|
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: z(() => [
|
|
1348
1348
|
n.isDraggable ? (p(), m("div", O2, [
|
|
1349
|
-
M(
|
|
1349
|
+
M(de, {
|
|
1350
1350
|
name: "DragIndicator",
|
|
1351
1351
|
class: "ao-card-horiz__drag-handle"
|
|
1352
1352
|
})
|
|
1353
1353
|
])) : O("", !0),
|
|
1354
1354
|
v("div", E2, [
|
|
1355
1355
|
n.icon ? (p(), m("div", I2, [
|
|
1356
|
-
M(
|
|
1356
|
+
M(de, {
|
|
1357
1357
|
class: "ao-card-horiz__icon",
|
|
1358
1358
|
name: n.icon,
|
|
1359
1359
|
size: "xl"
|
|
@@ -1406,46 +1406,42 @@ const qa = /* @__PURE__ */ Y({
|
|
|
1406
1406
|
const e = t, a = A(() => e.clickable ? "button" : "span"), n = A(
|
|
1407
1407
|
() => a.value === "button" ? { type: "button" } : {}
|
|
1408
1408
|
);
|
|
1409
|
-
return (s, o) => {
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1409
|
+
return (s, o) => (p(), m("div", {
|
|
1410
|
+
class: Q([
|
|
1411
|
+
"ao-tag",
|
|
1412
|
+
s.color ? `ao-tag--${s.color}` : "",
|
|
1413
|
+
s.clickable ? "ao-tag--clickable" : "",
|
|
1414
|
+
s.closable ? "ao-tag--closable" : "",
|
|
1415
|
+
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1416
|
+
]),
|
|
1417
|
+
style: Ua(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1418
|
+
}, [
|
|
1419
|
+
(p(), P(ht(a.value), He({ class: "ao-tag__label" }, n.value, {
|
|
1420
|
+
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1421
|
+
}), {
|
|
1422
|
+
default: z(() => [
|
|
1423
|
+
Fa(x(s.label), 1)
|
|
1418
1424
|
]),
|
|
1419
|
-
|
|
1425
|
+
_: 1
|
|
1426
|
+
}, 16)),
|
|
1427
|
+
s.iconName ? (p(), P(de, {
|
|
1428
|
+
key: 0,
|
|
1429
|
+
name: s.iconName,
|
|
1430
|
+
class: "ao-tag__icon",
|
|
1431
|
+
size: "sm"
|
|
1432
|
+
}, null, 8, ["name"])) : O("", !0),
|
|
1433
|
+
s.closable ? (p(), m("button", {
|
|
1434
|
+
key: 1,
|
|
1435
|
+
class: "ao-tag__close",
|
|
1436
|
+
onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
|
|
1420
1437
|
}, [
|
|
1421
|
-
(
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
}, 16)),
|
|
1429
|
-
s.iconName ? (p(), P(i, {
|
|
1430
|
-
key: 0,
|
|
1431
|
-
icon: s.iconName,
|
|
1432
|
-
class: "ao-tag__icon",
|
|
1433
|
-
width: 16,
|
|
1434
|
-
height: 16
|
|
1435
|
-
}, null, 8, ["icon"])) : O("", !0),
|
|
1436
|
-
s.closable ? (p(), m("button", {
|
|
1437
|
-
key: 1,
|
|
1438
|
-
class: "ao-tag__close",
|
|
1439
|
-
onClick: o[1] || (o[1] = (r) => s.$emit("close", r))
|
|
1440
|
-
}, [
|
|
1441
|
-
M(pe, {
|
|
1442
|
-
name: "CloseRounded",
|
|
1443
|
-
size: "sm",
|
|
1444
|
-
class: "ao-tag__close-icon"
|
|
1445
|
-
})
|
|
1446
|
-
])) : O("", !0)
|
|
1447
|
-
], 6);
|
|
1448
|
-
};
|
|
1438
|
+
M(de, {
|
|
1439
|
+
name: "CloseRounded",
|
|
1440
|
+
size: "sm",
|
|
1441
|
+
class: "ao-tag__close-icon"
|
|
1442
|
+
})
|
|
1443
|
+
])) : O("", !0)
|
|
1444
|
+
], 6));
|
|
1449
1445
|
}
|
|
1450
1446
|
});
|
|
1451
1447
|
const Cn = {
|
|
@@ -3779,14 +3775,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3779
3775
|
subtitle: z(() => [
|
|
3780
3776
|
v("ul", H3, [
|
|
3781
3777
|
v("li", D3, [
|
|
3782
|
-
M(
|
|
3778
|
+
M(de, {
|
|
3783
3779
|
name: "MountainFlagOutlineRounded",
|
|
3784
3780
|
size: "sm"
|
|
3785
3781
|
}),
|
|
3786
3782
|
v("span", P3, x(n.milestones), 1)
|
|
3787
3783
|
]),
|
|
3788
3784
|
v("li", V3, [
|
|
3789
|
-
M(
|
|
3785
|
+
M(de, {
|
|
3790
3786
|
name: "TaskOutlineRounded",
|
|
3791
3787
|
size: "sm"
|
|
3792
3788
|
}),
|
|
@@ -3798,7 +3794,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3798
3794
|
v("div", R3, [
|
|
3799
3795
|
v("div", N3, [
|
|
3800
3796
|
v("div", j3, [
|
|
3801
|
-
M(
|
|
3797
|
+
M(de, {
|
|
3802
3798
|
name: "WaterfallChartRounded",
|
|
3803
3799
|
size: "sm"
|
|
3804
3800
|
}),
|
|
@@ -3899,7 +3895,7 @@ const a5 = ["type"], n5 = {
|
|
|
3899
3895
|
te(s.$slots, "default", {}, () => [
|
|
3900
3896
|
s.label ? (p(), m("span", n5, x(s.label), 1)) : O("", !0)
|
|
3901
3897
|
]),
|
|
3902
|
-
n.value ? (p(), P(
|
|
3898
|
+
n.value ? (p(), P(de, {
|
|
3903
3899
|
key: 0,
|
|
3904
3900
|
name: n.value,
|
|
3905
3901
|
class: "ao-button-card__icon",
|
|
@@ -3936,7 +3932,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3936
3932
|
v("ul", s5, [
|
|
3937
3933
|
(p(), m(he, null, _e(n, (l) => (p(), m(he, { key: l }, [
|
|
3938
3934
|
i.$props[l] ? (p(), m("li", i5, [
|
|
3939
|
-
M(
|
|
3935
|
+
M(de, {
|
|
3940
3936
|
name: s[l],
|
|
3941
3937
|
size: "sm"
|
|
3942
3938
|
}, null, 8, ["name"]),
|
|
@@ -4583,7 +4579,7 @@ function Gs(t) {
|
|
|
4583
4579
|
function et(t) {
|
|
4584
4580
|
return t instanceof Element || t instanceof ke(t).Element;
|
|
4585
4581
|
}
|
|
4586
|
-
function
|
|
4582
|
+
function Ue(t) {
|
|
4587
4583
|
return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
|
|
4588
4584
|
}
|
|
4589
4585
|
function hs(t) {
|
|
@@ -4607,7 +4603,7 @@ function Dn(t) {
|
|
|
4607
4603
|
}
|
|
4608
4604
|
function D5(t) {
|
|
4609
4605
|
let e = Ut(t);
|
|
4610
|
-
for (;
|
|
4606
|
+
for (; Ue(e) && !Qa(e); ) {
|
|
4611
4607
|
if (Dn(e))
|
|
4612
4608
|
return e;
|
|
4613
4609
|
e = Ut(e);
|
|
@@ -4646,7 +4642,7 @@ function Ut(t) {
|
|
|
4646
4642
|
}
|
|
4647
4643
|
function Xs(t) {
|
|
4648
4644
|
const e = Ut(t);
|
|
4649
|
-
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
4645
|
+
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
|
|
4650
4646
|
}
|
|
4651
4647
|
function ca(t, e, a) {
|
|
4652
4648
|
var n;
|
|
@@ -4657,7 +4653,7 @@ function ca(t, e, a) {
|
|
|
4657
4653
|
function Qs(t) {
|
|
4658
4654
|
const e = Ve(t);
|
|
4659
4655
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4660
|
-
const s =
|
|
4656
|
+
const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
|
|
4661
4657
|
return r && (a = o, n = i), {
|
|
4662
4658
|
width: a,
|
|
4663
4659
|
height: n,
|
|
@@ -4669,7 +4665,7 @@ function Vn(t) {
|
|
|
4669
4665
|
}
|
|
4670
4666
|
function Vt(t) {
|
|
4671
4667
|
const e = Vn(t);
|
|
4672
|
-
if (!
|
|
4668
|
+
if (!Ue(e))
|
|
4673
4669
|
return pt(1);
|
|
4674
4670
|
const a = e.getBoundingClientRect(), {
|
|
4675
4671
|
width: n,
|
|
@@ -4721,7 +4717,7 @@ function B5(t) {
|
|
|
4721
4717
|
offsetParent: a,
|
|
4722
4718
|
strategy: n
|
|
4723
4719
|
} = t;
|
|
4724
|
-
const s =
|
|
4720
|
+
const s = Ue(a), o = at(a);
|
|
4725
4721
|
if (a === o)
|
|
4726
4722
|
return e;
|
|
4727
4723
|
let i = {
|
|
@@ -4729,7 +4725,7 @@ function B5(t) {
|
|
|
4729
4725
|
scrollTop: 0
|
|
4730
4726
|
}, r = pt(1);
|
|
4731
4727
|
const l = pt(0);
|
|
4732
|
-
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)),
|
|
4728
|
+
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)), Ue(a))) {
|
|
4733
4729
|
const c = St(a);
|
|
4734
4730
|
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4735
4731
|
}
|
|
@@ -4773,7 +4769,7 @@ function j5(t, e) {
|
|
|
4773
4769
|
};
|
|
4774
4770
|
}
|
|
4775
4771
|
function F5(t, e) {
|
|
4776
|
-
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o =
|
|
4772
|
+
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ue(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
|
|
4777
4773
|
return {
|
|
4778
4774
|
width: i,
|
|
4779
4775
|
height: r,
|
|
@@ -4838,7 +4834,7 @@ function W5(t) {
|
|
|
4838
4834
|
return Qs(t);
|
|
4839
4835
|
}
|
|
4840
4836
|
function q5(t, e, a) {
|
|
4841
|
-
const n =
|
|
4837
|
+
const n = Ue(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4842
4838
|
let r = {
|
|
4843
4839
|
scrollLeft: 0,
|
|
4844
4840
|
scrollTop: 0
|
|
@@ -4858,11 +4854,11 @@ function q5(t, e, a) {
|
|
|
4858
4854
|
};
|
|
4859
4855
|
}
|
|
4860
4856
|
function Cs(t, e) {
|
|
4861
|
-
return !
|
|
4857
|
+
return !Ue(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4862
4858
|
}
|
|
4863
4859
|
function ai(t, e) {
|
|
4864
4860
|
const a = ke(t);
|
|
4865
|
-
if (!
|
|
4861
|
+
if (!Ue(t))
|
|
4866
4862
|
return a;
|
|
4867
4863
|
let n = Cs(t, e);
|
|
4868
4864
|
for (; n && H5(n) && Ve(n).position === "static"; )
|
|
@@ -5099,7 +5095,7 @@ function t7(t, e, a) {
|
|
|
5099
5095
|
}
|
|
5100
5096
|
e.emit("paste", d, s);
|
|
5101
5097
|
};
|
|
5102
|
-
return
|
|
5098
|
+
return pe(r, (d) => {
|
|
5103
5099
|
!o.value && d && i(), e.emit("search-change", d, s);
|
|
5104
5100
|
}), {
|
|
5105
5101
|
search: r,
|
|
@@ -5172,7 +5168,7 @@ function i7(t, e, a) {
|
|
|
5172
5168
|
disabledProp: y,
|
|
5173
5169
|
searchStart: R,
|
|
5174
5170
|
searchFilter: le
|
|
5175
|
-
} = Ae(t), ie = Mt().proxy, q = a.iv, H = a.ev, X = a.search, ve = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null),
|
|
5171
|
+
} = Ae(t), ie = Mt().proxy, q = a.iv, H = a.ev, X = a.search, ve = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(T.value && i.value === -1 ? 10 : i.value), Xt = A(() => l.value || c.value || !1), ba = A(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = A(() => {
|
|
5176
5172
|
if (oe.value) {
|
|
5177
5173
|
let $ = _t.value || /* istanbul ignore next */
|
|
5178
5174
|
[], B = [];
|
|
@@ -5191,7 +5187,7 @@ function i7(t, e, a) {
|
|
|
5191
5187
|
return ne.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cn($);
|
|
5192
5188
|
}), ot = A(() => {
|
|
5193
5189
|
let $ = Qt.value;
|
|
5194
|
-
return
|
|
5190
|
+
return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
|
|
5195
5191
|
}), _t = A(() => {
|
|
5196
5192
|
if (!oe.value)
|
|
5197
5193
|
return [];
|
|
@@ -5246,7 +5242,7 @@ function i7(t, e, a) {
|
|
|
5246
5242
|
return [];
|
|
5247
5243
|
}
|
|
5248
5244
|
}), mi = A(() => g.value || Me.value), Et = ($) => {
|
|
5249
|
-
switch (typeof $ != "object" && ($ =
|
|
5245
|
+
switch (typeof $ != "object" && ($ = xe($)), s.value) {
|
|
5250
5246
|
case "single":
|
|
5251
5247
|
we($);
|
|
5252
5248
|
break;
|
|
@@ -5257,7 +5253,7 @@ function i7(t, e, a) {
|
|
|
5257
5253
|
}
|
|
5258
5254
|
e.emit("select", es($), $, ie);
|
|
5259
5255
|
}, It = ($) => {
|
|
5260
|
-
switch (typeof $ != "object" && ($ =
|
|
5256
|
+
switch (typeof $ != "object" && ($ = xe($)), s.value) {
|
|
5261
5257
|
case "single":
|
|
5262
5258
|
as();
|
|
5263
5259
|
break;
|
|
@@ -5277,7 +5273,7 @@ function i7(t, e, a) {
|
|
|
5277
5273
|
ts($);
|
|
5278
5274
|
}, as = () => {
|
|
5279
5275
|
we(hi.value), e.emit("clear", ie);
|
|
5280
|
-
},
|
|
5276
|
+
}, ze = ($) => {
|
|
5281
5277
|
if ($.group !== void 0)
|
|
5282
5278
|
return s.value === "single" ? !1 : wi($[k.value]) && $[k.value].length;
|
|
5283
5279
|
switch (s.value) {
|
|
@@ -5289,7 +5285,7 @@ function i7(t, e, a) {
|
|
|
5289
5285
|
}
|
|
5290
5286
|
}, rn = ($) => $[y.value] === !0, ln = () => E === void 0 || E.value === -1 || !on.value && E.value > 0 ? !1 : q.value.length >= E.value, gi = ($) => {
|
|
5291
5287
|
if (!rn($)) {
|
|
5292
|
-
if (se && se.value && !
|
|
5288
|
+
if (se && se.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = se.value($, ie), $ instanceof Promise)) {
|
|
5293
5289
|
Me.value = !0, $.then((B) => {
|
|
5294
5290
|
Me.value = !1, ns(B);
|
|
5295
5291
|
});
|
|
@@ -5300,14 +5296,14 @@ function i7(t, e, a) {
|
|
|
5300
5296
|
}, ns = ($) => {
|
|
5301
5297
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
|
|
5302
5298
|
case "single":
|
|
5303
|
-
if ($ &&
|
|
5299
|
+
if ($ && ze($)) {
|
|
5304
5300
|
K.value && It($), W.value && (nt(), st());
|
|
5305
5301
|
return;
|
|
5306
5302
|
}
|
|
5307
5303
|
$ && un($), I.value && ve(), N.value && (nt(), st()), $ && Et($);
|
|
5308
5304
|
break;
|
|
5309
5305
|
case "multiple":
|
|
5310
|
-
if ($ &&
|
|
5306
|
+
if ($ && ze($)) {
|
|
5311
5307
|
It($), W.value && (nt(), st());
|
|
5312
5308
|
return;
|
|
5313
5309
|
}
|
|
@@ -5318,7 +5314,7 @@ function i7(t, e, a) {
|
|
|
5318
5314
|
$ && (un($), Et($)), I.value && ve(), r.value && nt(), N.value && st();
|
|
5319
5315
|
break;
|
|
5320
5316
|
case "tags":
|
|
5321
|
-
if ($ &&
|
|
5317
|
+
if ($ && ze($)) {
|
|
5322
5318
|
It($), W.value && (nt(), st());
|
|
5323
5319
|
return;
|
|
5324
5320
|
}
|
|
@@ -5343,10 +5339,10 @@ function i7(t, e, a) {
|
|
|
5343
5339
|
N.value && nn();
|
|
5344
5340
|
}
|
|
5345
5341
|
}, un = ($) => {
|
|
5346
|
-
|
|
5342
|
+
xe($[L.value]) === void 0 && Xt.value && (e.emit("tag", $[L.value], ie), e.emit("option", $[L.value], ie), e.emit("create", $[L.value], ie), ba.value && Si($), ve());
|
|
5347
5343
|
}, yi = () => {
|
|
5348
|
-
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !
|
|
5349
|
-
}, bi = ($) => $.find((B) => !
|
|
5344
|
+
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
|
|
5345
|
+
}, bi = ($) => $.find((B) => !ze(B) && !B[y.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[L.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((re) => (parseInt(B[re]) == B[re] ? parseInt(B[re]) : B[re]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
|
|
5350
5346
|
it.value.push($);
|
|
5351
5347
|
}, Ai = ($) => F.value ? $.filter(
|
|
5352
5348
|
(B) => X.value ? B.__VISIBLE__.length : B[k.value].length
|
|
@@ -5379,14 +5375,14 @@ function i7(t, e, a) {
|
|
|
5379
5375
|
})), pn = () => {
|
|
5380
5376
|
if (on.value)
|
|
5381
5377
|
if (s.value === "single") {
|
|
5382
|
-
let $ =
|
|
5378
|
+
let $ = xe(q.value[L.value]);
|
|
5383
5379
|
if ($ !== void 0) {
|
|
5384
5380
|
let B = $[u.value];
|
|
5385
5381
|
q.value[u.value] = B, w.value && (H.value[u.value] = B);
|
|
5386
5382
|
}
|
|
5387
5383
|
} else
|
|
5388
5384
|
q.value.forEach(($, B) => {
|
|
5389
|
-
let re =
|
|
5385
|
+
let re = xe(q.value[B][L.value]);
|
|
5390
5386
|
if (re !== void 0) {
|
|
5391
5387
|
let me = re[u.value];
|
|
5392
5388
|
q.value[B][u.value] = me, w.value && (H.value[B][u.value] = me);
|
|
@@ -5394,16 +5390,16 @@ function i7(t, e, a) {
|
|
|
5394
5390
|
});
|
|
5395
5391
|
}, Mi = ($) => {
|
|
5396
5392
|
ka($);
|
|
5397
|
-
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ?
|
|
5393
|
+
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (U.value ? {
|
|
5398
5394
|
[u.value]: $,
|
|
5399
5395
|
[L.value]: $,
|
|
5400
5396
|
[yt.value[0]]: $
|
|
5401
|
-
} : {}) : $.filter((B) => !!
|
|
5397
|
+
} : {}) : $.filter((B) => !!xe(B) || U.value).map((B) => xe(B) || {
|
|
5402
5398
|
[u.value]: B,
|
|
5403
5399
|
[L.value]: B,
|
|
5404
5400
|
[yt.value[0]]: B
|
|
5405
5401
|
}), ss = () => {
|
|
5406
|
-
Be.value =
|
|
5402
|
+
Be.value = pe(X, ($) => {
|
|
5407
5403
|
$.length < _.value || !$ && _.value !== 0 || (Me.value = !0, D.value && (Ne.value = []), setTimeout(() => {
|
|
5408
5404
|
$ == X.value && n.value(X.value, ie).then((B) => {
|
|
5409
5405
|
($ == X.value || !X.value) && (Ne.value = B, Kt.value = ot.value.filter((re) => re[y.value] !== !0)[0] || null, Me.value = !1);
|
|
@@ -5418,9 +5414,9 @@ function i7(t, e, a) {
|
|
|
5418
5414
|
};
|
|
5419
5415
|
if (s.value !== "single" && !je(H.value) && !Array.isArray(H.value))
|
|
5420
5416
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5421
|
-
return n && typeof n.value == "function" ? S.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), b.value > -1 && ss(),
|
|
5417
|
+
return n && typeof n.value == "function" ? S.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), b.value > -1 && ss(), pe(b, ($, B) => {
|
|
5422
5418
|
Be.value && Be.value(), $ >= 0 && ss();
|
|
5423
|
-
}),
|
|
5419
|
+
}), pe(H, ($) => {
|
|
5424
5420
|
if (je($)) {
|
|
5425
5421
|
we(Sa($), !1);
|
|
5426
5422
|
return;
|
|
@@ -5434,10 +5430,10 @@ function i7(t, e, a) {
|
|
|
5434
5430
|
s7(w.value ? $.map((B) => B[L.value]) : $, q.value.map((B) => B[L.value])) || we(Sa($), !1);
|
|
5435
5431
|
break;
|
|
5436
5432
|
}
|
|
5437
|
-
}, { deep: !0 }),
|
|
5433
|
+
}, { deep: !0 }), pe(n, ($, B) => {
|
|
5438
5434
|
typeof t.options == "function" ? S.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(q.value).length || $a(), pn());
|
|
5439
|
-
}),
|
|
5440
|
-
|
|
5435
|
+
}), pe(u, pn), pe(i, ($, B) => {
|
|
5436
|
+
qe.value = T.value && $ === -1 ? 10 : $;
|
|
5441
5437
|
}), {
|
|
5442
5438
|
pfo: Qt,
|
|
5443
5439
|
fo: ot,
|
|
@@ -5454,16 +5450,16 @@ function i7(t, e, a) {
|
|
|
5454
5450
|
noResults: vi,
|
|
5455
5451
|
resolving: Me,
|
|
5456
5452
|
busy: mi,
|
|
5457
|
-
offset:
|
|
5453
|
+
offset: qe,
|
|
5458
5454
|
select: Et,
|
|
5459
5455
|
deselect: It,
|
|
5460
5456
|
remove: ts,
|
|
5461
5457
|
selectAll: yi,
|
|
5462
5458
|
clear: as,
|
|
5463
|
-
isSelected:
|
|
5459
|
+
isSelected: ze,
|
|
5464
5460
|
isDisabled: rn,
|
|
5465
5461
|
isMax: ln,
|
|
5466
|
-
getOption:
|
|
5462
|
+
getOption: xe,
|
|
5467
5463
|
handleOptionClick: gi,
|
|
5468
5464
|
handleGroupClick: _i,
|
|
5469
5465
|
handleTagRemove: Ci,
|
|
@@ -5539,9 +5535,9 @@ function o7(t, e, a) {
|
|
|
5539
5535
|
let X = H.parentElement.parentElement;
|
|
5540
5536
|
r.value && (X = K.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > X.clientHeight + X.scrollTop && (X.scrollTop = H.offsetTop + H.offsetHeight - X.clientHeight), H.offsetTop < X.scrollTop && (X.scrollTop = H.offsetTop);
|
|
5541
5537
|
};
|
|
5542
|
-
return
|
|
5538
|
+
return pe(b, (H) => {
|
|
5543
5539
|
o.value && (H.length && s.value ? se() : C());
|
|
5544
|
-
}),
|
|
5540
|
+
}), pe(I, (H) => {
|
|
5545
5541
|
if (H) {
|
|
5546
5542
|
let X = D.value.querySelectorAll("[data-selected]")[0];
|
|
5547
5543
|
if (!X)
|
|
@@ -5626,7 +5622,7 @@ function r7(t) {
|
|
|
5626
5622
|
function l7(t) {
|
|
5627
5623
|
return t === Se(t) || !Pe(t) ? Rn(t) : r7(t);
|
|
5628
5624
|
}
|
|
5629
|
-
function
|
|
5625
|
+
function Ze(t) {
|
|
5630
5626
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5631
5627
|
}
|
|
5632
5628
|
function gt(t) {
|
|
@@ -5658,7 +5654,7 @@ function c7(t, e, a) {
|
|
|
5658
5654
|
x: 0,
|
|
5659
5655
|
y: 0
|
|
5660
5656
|
};
|
|
5661
|
-
return (n || !n && !a) && ((
|
|
5657
|
+
return (n || !n && !a) && ((Ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5662
5658
|
jn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Nn(o))), {
|
|
5663
5659
|
x: i.left + r.scrollLeft - l.x,
|
|
5664
5660
|
y: i.top + r.scrollTop - l.y,
|
|
@@ -5676,7 +5672,7 @@ function si(t) {
|
|
|
5676
5672
|
};
|
|
5677
5673
|
}
|
|
5678
5674
|
function en(t) {
|
|
5679
|
-
return
|
|
5675
|
+
return Ze(t) === "html" ? t : (
|
|
5680
5676
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5681
5677
|
// $FlowFixMe[incompatible-return]
|
|
5682
5678
|
// $FlowFixMe[prop-missing]
|
|
@@ -5688,7 +5684,7 @@ function en(t) {
|
|
|
5688
5684
|
);
|
|
5689
5685
|
}
|
|
5690
5686
|
function ii(t) {
|
|
5691
|
-
return ["html", "body", "#document"].indexOf(
|
|
5687
|
+
return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(en(t));
|
|
5692
5688
|
}
|
|
5693
5689
|
function ia(t, e) {
|
|
5694
5690
|
var a;
|
|
@@ -5700,7 +5696,7 @@ function ia(t, e) {
|
|
|
5700
5696
|
);
|
|
5701
5697
|
}
|
|
5702
5698
|
function d7(t) {
|
|
5703
|
-
return ["table", "td", "th"].indexOf(
|
|
5699
|
+
return ["table", "td", "th"].indexOf(Ze(t)) >= 0;
|
|
5704
5700
|
}
|
|
5705
5701
|
function gs(t) {
|
|
5706
5702
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
@@ -5714,7 +5710,7 @@ function p7(t) {
|
|
|
5714
5710
|
return null;
|
|
5715
5711
|
}
|
|
5716
5712
|
var s = en(t);
|
|
5717
|
-
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(
|
|
5713
|
+
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ze(s)) < 0; ) {
|
|
5718
5714
|
var o = tt(s);
|
|
5719
5715
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5720
5716
|
return s;
|
|
@@ -5725,9 +5721,9 @@ function p7(t) {
|
|
|
5725
5721
|
function tn(t) {
|
|
5726
5722
|
for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
|
|
5727
5723
|
a = gs(a);
|
|
5728
|
-
return a && (
|
|
5724
|
+
return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5729
5725
|
}
|
|
5730
|
-
var Re = "top",
|
|
5726
|
+
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", an = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ an.reduce(function(t, e) {
|
|
5731
5727
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5732
5728
|
}, []), h7 = /* @__PURE__ */ [].concat(an, [Fn]).reduce(function(t, e) {
|
|
5733
5729
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
@@ -5836,7 +5832,7 @@ function ys(t, e, a) {
|
|
|
5836
5832
|
function D7(t) {
|
|
5837
5833
|
var e = ia(en(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? tn(t) : t;
|
|
5838
5834
|
return At(n) ? e.filter(function(s) {
|
|
5839
|
-
return At(s) && L7(s, n) &&
|
|
5835
|
+
return At(s) && L7(s, n) && Ze(s) !== "body";
|
|
5840
5836
|
}) : [];
|
|
5841
5837
|
}
|
|
5842
5838
|
function P7(t, e, a, n) {
|
|
@@ -5864,7 +5860,7 @@ function li(t) {
|
|
|
5864
5860
|
y: e.y - a.height
|
|
5865
5861
|
};
|
|
5866
5862
|
break;
|
|
5867
|
-
case
|
|
5863
|
+
case We:
|
|
5868
5864
|
l = {
|
|
5869
5865
|
x: i,
|
|
5870
5866
|
y: e.y + e.height
|
|
@@ -5934,7 +5930,7 @@ function Un(t, e) {
|
|
|
5934
5930
|
if (d === sa && G) {
|
|
5935
5931
|
var N = G[s];
|
|
5936
5932
|
Object.keys(E).forEach(function(W) {
|
|
5937
|
-
var oe = [vt,
|
|
5933
|
+
var oe = [vt, We].indexOf(W) >= 0 ? 1 : -1, ne = [Re, We].indexOf(W) >= 0 ? "y" : "x";
|
|
5938
5934
|
E[W] += N[ne] * oe;
|
|
5939
5935
|
});
|
|
5940
5936
|
}
|
|
@@ -6114,14 +6110,14 @@ function $s(t) {
|
|
|
6114
6110
|
if (c) {
|
|
6115
6111
|
var L = tn(a), U = "clientHeight", Z = "clientWidth";
|
|
6116
6112
|
if (L === Se(a) && (L = gt(a), tt(L).position !== "static" && r === "absolute" && (U = "scrollHeight", Z = "scrollWidth")), L = L, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6117
|
-
D =
|
|
6113
|
+
D = We;
|
|
6118
6114
|
var K = f && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6119
6115
|
// $FlowFixMe[prop-missing]
|
|
6120
6116
|
L[U]
|
|
6121
6117
|
);
|
|
6122
6118
|
g -= K - n.height, g *= l ? 1 : -1;
|
|
6123
6119
|
}
|
|
6124
|
-
if (s === Ge || (s === Re || s ===
|
|
6120
|
+
if (s === Ge || (s === Re || s === We) && o === da) {
|
|
6125
6121
|
C = vt;
|
|
6126
6122
|
var E = f && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6127
6123
|
// $FlowFixMe[prop-missing]
|
|
@@ -6179,7 +6175,7 @@ function x7(t) {
|
|
|
6179
6175
|
var e = t.state;
|
|
6180
6176
|
Object.keys(e.elements).forEach(function(a) {
|
|
6181
6177
|
var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
|
|
6182
|
-
!Pe(o) || !
|
|
6178
|
+
!Pe(o) || !Ze(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
|
|
6183
6179
|
var r = s[i];
|
|
6184
6180
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6185
6181
|
}));
|
|
@@ -6203,7 +6199,7 @@ function Y7(t) {
|
|
|
6203
6199
|
var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
|
|
6204
6200
|
return l[c] = "", l;
|
|
6205
6201
|
}, {});
|
|
6206
|
-
!Pe(s) || !
|
|
6202
|
+
!Pe(s) || !Ze(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
|
|
6207
6203
|
s.removeAttribute(l);
|
|
6208
6204
|
}));
|
|
6209
6205
|
});
|
|
@@ -6249,14 +6245,14 @@ function ep(t) {
|
|
|
6249
6245
|
};
|
|
6250
6246
|
if (L) {
|
|
6251
6247
|
if (o) {
|
|
6252
|
-
var W, oe = D === "y" ? Re : Ge, ne = D === "y" ?
|
|
6248
|
+
var W, oe = D === "y" ? Re : Ge, ne = D === "y" ? We : vt, T = D === "y" ? "height" : "width", k = L[D], F = k + b[oe], V = k - b[ne], se = h ? -Z[T] / 2 : 0, y = _ === qt ? U[T] : Z[T], R = _ === qt ? -Z[T] : -U[T], le = e.elements.arrow, ie = h && le ? si(le) : {
|
|
6253
6249
|
width: 0,
|
|
6254
6250
|
height: 0
|
|
6255
6251
|
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[oe], X = q[ne], ve = Ia(0, U[T], ie[T]), we = C ? U[T] / 2 - se - ve - H - E.mainAxis : y - ve - H - E.mainAxis, Kt = C ? -U[T] / 2 + se + ve + X + E.mainAxis : R + ve + X + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (W = G == null ? void 0 : G[D]) != null ? W : 0, nn = k + we - _a - nt, st = k + Kt - _a, ya = Ia(h ? Na(F, nn) : F, k, h ? kt(V, st) : V);
|
|
6256
6252
|
L[D] = ya, N[D] = ya - k;
|
|
6257
6253
|
}
|
|
6258
6254
|
if (r) {
|
|
6259
|
-
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ?
|
|
6255
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = L[I], qe = I === "y" ? "height" : "width", Xt = Be + b[Ne], ba = Be - b[Me], Te = [Re, Ge].indexOf(S) !== -1, Qt = (it = G == null ? void 0 : G[I]) != null ? it : 0, ot = Te ? Xt : Be - U[qe] - Z[qe] - Qt + E.altAxis, _t = Te ? Be + U[qe] + Z[qe] - Qt - E.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6260
6256
|
L[I] = wa, N[I] = wa - Be;
|
|
6261
6257
|
}
|
|
6262
6258
|
e.modifiersData[n] = N;
|
|
@@ -6327,13 +6323,13 @@ function op(t) {
|
|
|
6327
6323
|
allowedAutoPlacements: g
|
|
6328
6324
|
}) : q);
|
|
6329
6325
|
}, []), I = e.rects.reference, L = e.rects.popper, U = /* @__PURE__ */ new Map(), Z = !0, K = D[0], E = 0; E < D.length; E++) {
|
|
6330
|
-
var G = D[E], N = ct(G), W = zt(G) === qt, oe = [Re,
|
|
6326
|
+
var G = D[E], N = ct(G), W = zt(G) === qt, oe = [Re, We].indexOf(N) >= 0, ne = oe ? "width" : "height", T = Un(e, {
|
|
6331
6327
|
placement: G,
|
|
6332
6328
|
boundary: u,
|
|
6333
6329
|
rootBoundary: f,
|
|
6334
6330
|
altBoundary: d,
|
|
6335
6331
|
padding: c
|
|
6336
|
-
}), k = oe ? W ? vt : Ge : W ?
|
|
6332
|
+
}), k = oe ? W ? vt : Ge : W ? We : Re;
|
|
6337
6333
|
I[ne] > L[ne] && (k = La(k));
|
|
6338
6334
|
var F = La(k), V = [];
|
|
6339
6335
|
if (o && V.push(T[N] <= 0), r && V.push(T[k] <= 0, T[F] <= 0), V.every(function(ie) {
|
|
@@ -6697,11 +6693,11 @@ function pp(t, e, a) {
|
|
|
6697
6693
|
}, w = () => {
|
|
6698
6694
|
o.value && i.value < l.value.length ? u.value.observe(f.value) : !o.value && u.value && u.value.disconnect();
|
|
6699
6695
|
};
|
|
6700
|
-
return
|
|
6696
|
+
return pe(o, () => {
|
|
6701
6697
|
s.value && w();
|
|
6702
|
-
}),
|
|
6698
|
+
}), pe(r, () => {
|
|
6703
6699
|
s.value && (i.value = n.value, w());
|
|
6704
|
-
}, { flush: "post" }),
|
|
6700
|
+
}, { flush: "post" }), pe(c, () => {
|
|
6705
6701
|
s.value && w();
|
|
6706
6702
|
}, { immediate: !1, flush: "post" }), xt(() => {
|
|
6707
6703
|
window && window.IntersectionObserver && (u.value = new IntersectionObserver(h));
|
|
@@ -7743,7 +7739,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7743
7739
|
emits: ["add", "delete", "update"],
|
|
7744
7740
|
setup(t, { emit: e }) {
|
|
7745
7741
|
const a = t, { t: n } = Tt();
|
|
7746
|
-
|
|
7742
|
+
pe(() => a.tasks, (f, d) => {
|
|
7747
7743
|
Xe(f, d);
|
|
7748
7744
|
});
|
|
7749
7745
|
const s = A(
|
|
@@ -7895,7 +7891,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7895
7891
|
function l() {
|
|
7896
7892
|
i.value = !1;
|
|
7897
7893
|
}
|
|
7898
|
-
|
|
7894
|
+
pe(i, (u) => {
|
|
7899
7895
|
e("toggleIsDropActive", u);
|
|
7900
7896
|
});
|
|
7901
7897
|
function c(u) {
|
|
@@ -7930,7 +7926,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7930
7926
|
target: "_blank",
|
|
7931
7927
|
rel: "noopener noreferrer"
|
|
7932
7928
|
}, [
|
|
7933
|
-
M(
|
|
7929
|
+
M(de, {
|
|
7934
7930
|
class: "ao-file__icon",
|
|
7935
7931
|
name: "AttachFileRounded",
|
|
7936
7932
|
size: "sm"
|
|
@@ -7951,7 +7947,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7951
7947
|
u.isEditable ? (p(), m("li", Gp, [
|
|
7952
7948
|
v("label", Xp, [
|
|
7953
7949
|
v("div", Qp, [
|
|
7954
|
-
M(
|
|
7950
|
+
M(de, {
|
|
7955
7951
|
name: "Add",
|
|
7956
7952
|
size: "sm"
|
|
7957
7953
|
}),
|
|
@@ -8440,7 +8436,7 @@ const wn = /* @__PURE__ */ Y({
|
|
|
8440
8436
|
clickable: !0,
|
|
8441
8437
|
variant: "solid",
|
|
8442
8438
|
color: "primary",
|
|
8443
|
-
"icon-name": "
|
|
8439
|
+
"icon-name": "ContentCopyOutline",
|
|
8444
8440
|
class: "ao-activity__ao-tag",
|
|
8445
8441
|
onClick: se
|
|
8446
8442
|
}, null, 8, ["label"])) : O("", !0),
|
|
@@ -8535,7 +8531,7 @@ const wn = /* @__PURE__ */ Y({
|
|
|
8535
8531
|
]),
|
|
8536
8532
|
v("fieldset", Pf, [
|
|
8537
8533
|
v("div", Vf, [
|
|
8538
|
-
M(
|
|
8534
|
+
M(de, { name: "SelectCheckBox" }),
|
|
8539
8535
|
M(ye, {
|
|
8540
8536
|
level: 4,
|
|
8541
8537
|
title: y.$t("activity.tasks.title")
|
|
@@ -8558,7 +8554,7 @@ const wn = /* @__PURE__ */ Y({
|
|
|
8558
8554
|
]),
|
|
8559
8555
|
y.isTemplate !== !0 && y.userId ? (p(), m("div", Rf, [
|
|
8560
8556
|
v("div", Nf, [
|
|
8561
|
-
M(
|
|
8557
|
+
M(de, { name: "ChatOutline" }),
|
|
8562
8558
|
M(ye, {
|
|
8563
8559
|
level: 4,
|
|
8564
8560
|
title: y.$t("activity.comments.title")
|
|
@@ -8577,7 +8573,7 @@ const wn = /* @__PURE__ */ Y({
|
|
|
8577
8573
|
]),
|
|
8578
8574
|
v("div", jf, [
|
|
8579
8575
|
v("div", Ff, [
|
|
8580
|
-
M(
|
|
8576
|
+
M(de, {
|
|
8581
8577
|
name: "CloseRounded",
|
|
8582
8578
|
onClick: R[2] || (R[2] = (H) => y.$emit("close"))
|
|
8583
8579
|
})
|
|
@@ -8707,7 +8703,7 @@ const wn = /* @__PURE__ */ Y({
|
|
|
8707
8703
|
])) : O("", !0),
|
|
8708
8704
|
v("fieldset", iv, [
|
|
8709
8705
|
v("div", ov, [
|
|
8710
|
-
M(
|
|
8706
|
+
M(de, { name: "FlowsheetOutlineRounded" }),
|
|
8711
8707
|
M(ye, {
|
|
8712
8708
|
level: 4,
|
|
8713
8709
|
title: y.$t("activity.dependencies.title")
|
|
@@ -8965,10 +8961,10 @@ const yv = {
|
|
|
8965
8961
|
return (k = a.templates) == null ? void 0 : k.find((F) => F.id === a.templateId);
|
|
8966
8962
|
}
|
|
8967
8963
|
), o = ee(!1);
|
|
8968
|
-
|
|
8964
|
+
pe(
|
|
8969
8965
|
() => [a.templateId, a.phaseId, a.milestoneId],
|
|
8970
8966
|
() => o.value = !1
|
|
8971
|
-
),
|
|
8967
|
+
), pe(
|
|
8972
8968
|
() => {
|
|
8973
8969
|
var k;
|
|
8974
8970
|
return (k = s.value) == null ? void 0 : k.phases;
|
|
@@ -8981,7 +8977,7 @@ const yv = {
|
|
|
8981
8977
|
var k, F;
|
|
8982
8978
|
return (F = (k = s == null ? void 0 : s.value) == null ? void 0 : k.phases) == null ? void 0 : F.find((V) => V.id === a.phaseId);
|
|
8983
8979
|
});
|
|
8984
|
-
|
|
8980
|
+
pe(
|
|
8985
8981
|
() => {
|
|
8986
8982
|
var k;
|
|
8987
8983
|
return (k = i.value) == null ? void 0 : k.milestones;
|
|
@@ -8996,7 +8992,7 @@ const yv = {
|
|
|
8996
8992
|
(V) => V.id === a.milestoneId
|
|
8997
8993
|
);
|
|
8998
8994
|
});
|
|
8999
|
-
|
|
8995
|
+
pe(
|
|
9000
8996
|
() => {
|
|
9001
8997
|
var k;
|
|
9002
8998
|
return (k = r.value) == null ? void 0 : k.activities;
|
|
@@ -9446,7 +9442,7 @@ const Iv = { class: "ao-card-project-phase__header" }, Lv = { class: "ao-card-pr
|
|
|
9446
9442
|
v("div", Dv, [
|
|
9447
9443
|
o.value ? (p(), m("div", Pv, [
|
|
9448
9444
|
v("div", Vv, [
|
|
9449
|
-
M(
|
|
9445
|
+
M(de, {
|
|
9450
9446
|
name: "MountainFlagOutlineRounded",
|
|
9451
9447
|
size: "sm"
|
|
9452
9448
|
}),
|
|
@@ -9606,7 +9602,7 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
|
|
|
9606
9602
|
v("div", Yv, [
|
|
9607
9603
|
s.value ? (p(), m(he, { key: 0 }, [
|
|
9608
9604
|
v("div", Kv, [
|
|
9609
|
-
M(
|
|
9605
|
+
M(de, {
|
|
9610
9606
|
name: "SelectCheckBox",
|
|
9611
9607
|
size: "sm"
|
|
9612
9608
|
}),
|
|
@@ -9625,7 +9621,7 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
|
|
|
9625
9621
|
]),
|
|
9626
9622
|
footer: z(() => [
|
|
9627
9623
|
v("div", Qv, [
|
|
9628
|
-
l.important ? (p(), P(
|
|
9624
|
+
l.important ? (p(), P(de, {
|
|
9629
9625
|
key: 0,
|
|
9630
9626
|
name: "FlagRounded",
|
|
9631
9627
|
class: Q(
|
|
@@ -9665,7 +9661,7 @@ const n9 = {
|
|
|
9665
9661
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "updatePhase", "archivePhase"],
|
|
9666
9662
|
setup(t, { emit: e }) {
|
|
9667
9663
|
const a = t, { t: n } = Tt();
|
|
9668
|
-
|
|
9664
|
+
pe(
|
|
9669
9665
|
() => a.phase.milestones,
|
|
9670
9666
|
(d, h) => {
|
|
9671
9667
|
Xe(d, h);
|
|
@@ -9711,7 +9707,7 @@ const n9 = {
|
|
|
9711
9707
|
])
|
|
9712
9708
|
}, [
|
|
9713
9709
|
d.isEditable ? (p(), m("div", n9, [
|
|
9714
|
-
M(
|
|
9710
|
+
M(de, {
|
|
9715
9711
|
name: "DragIndicator",
|
|
9716
9712
|
class: "ao-project-phase__drag-handle"
|
|
9717
9713
|
})
|
|
@@ -9755,7 +9751,7 @@ const n9 = {
|
|
|
9755
9751
|
readonly: d.readonly,
|
|
9756
9752
|
class: Q(["ao-project-phase__milestone"]),
|
|
9757
9753
|
onClick: (S) => !d.readonly && d.$router.push({
|
|
9758
|
-
name: J(
|
|
9754
|
+
name: J(Fe).milestone,
|
|
9759
9755
|
params: { phaseId: d.phase.id, milestoneId: g.id }
|
|
9760
9756
|
}),
|
|
9761
9757
|
onUpdateMilestone: l,
|
|
@@ -9795,7 +9791,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
|
|
|
9795
9791
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "addPhase", "updatePhase", "archivePhase"],
|
|
9796
9792
|
setup(t, { emit: e }) {
|
|
9797
9793
|
const a = t;
|
|
9798
|
-
|
|
9794
|
+
pe(() => a.phases, (u, f) => {
|
|
9799
9795
|
Xe(u, f);
|
|
9800
9796
|
});
|
|
9801
9797
|
const n = (u) => {
|
|
@@ -10026,7 +10022,7 @@ const ci = /* @__PURE__ */ j(y9, [["render", w9], ["__scopeId", "data-v-cbe33527
|
|
|
10026
10022
|
e("applyTemplate", { templateId: E, projectId: G }), Z.value = !1;
|
|
10027
10023
|
};
|
|
10028
10024
|
return (E, G) => {
|
|
10029
|
-
const N =
|
|
10025
|
+
const N = Ye("RouterView");
|
|
10030
10026
|
return p(), m(he, null, [
|
|
10031
10027
|
v("div", He({ class: "ao-project-overview" }, E.$attrs), [
|
|
10032
10028
|
v("div", $9, [
|
|
@@ -10037,7 +10033,7 @@ const ci = /* @__PURE__ */ j(y9, [["render", w9], ["__scopeId", "data-v-cbe33527
|
|
|
10037
10033
|
"right-label": E.$t("project.switch.feed"),
|
|
10038
10034
|
"left-label": E.$t("project.switch.overview"),
|
|
10039
10035
|
"onUpdate:isLeft": G[0] || (G[0] = (W) => {
|
|
10040
|
-
W || E.$router.push({ name: J(
|
|
10036
|
+
W || E.$router.push({ name: J(Fe).feed });
|
|
10041
10037
|
})
|
|
10042
10038
|
}, null, 8, ["right-label", "left-label"]),
|
|
10043
10039
|
M(ue, {
|
|
@@ -10087,7 +10083,7 @@ const ci = /* @__PURE__ */ j(y9, [["render", w9], ["__scopeId", "data-v-cbe33527
|
|
|
10087
10083
|
users: E.users,
|
|
10088
10084
|
"is-editable": E.isEditable === !0,
|
|
10089
10085
|
"closed-status": E.closedStatus,
|
|
10090
|
-
onClose: G[3] || (G[3] = (W) => E.$router.push({ name: J(
|
|
10086
|
+
onClose: G[3] || (G[3] = (W) => E.$router.push({ name: J(Fe).project })),
|
|
10091
10087
|
onUpdateMilestone: c,
|
|
10092
10088
|
onAddActivity: f,
|
|
10093
10089
|
onUpdateActivity: d,
|
|
@@ -10227,19 +10223,19 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
10227
10223
|
"raw-color": s.value
|
|
10228
10224
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
10229
10225
|
h.isPrivate || h.important || h.isClosed ? (p(), m("div", M9, [
|
|
10230
|
-
h.isPrivate ? (p(), P(
|
|
10226
|
+
h.isPrivate ? (p(), P(de, {
|
|
10231
10227
|
key: 0,
|
|
10232
10228
|
name: "Lock",
|
|
10233
10229
|
class: "ao-card-feed__warning",
|
|
10234
10230
|
size: "sm"
|
|
10235
10231
|
})) : O("", !0),
|
|
10236
|
-
h.important ? (p(), P(
|
|
10232
|
+
h.important ? (p(), P(de, {
|
|
10237
10233
|
key: 1,
|
|
10238
10234
|
name: "FlagRounded",
|
|
10239
10235
|
class: "ao-card-feed__important",
|
|
10240
10236
|
size: "sm"
|
|
10241
10237
|
})) : O("", !0),
|
|
10242
|
-
h.isClosed ? (p(), P(
|
|
10238
|
+
h.isClosed ? (p(), P(de, {
|
|
10243
10239
|
key: 2,
|
|
10244
10240
|
name: "CheckSmallRounded",
|
|
10245
10241
|
class: "ao-card-feed__closed"
|
|
@@ -10288,14 +10284,14 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
10288
10284
|
]),
|
|
10289
10285
|
h.comments || h.attachments ? (p(), m("ul", N9, [
|
|
10290
10286
|
h.comments ? (p(), m("li", j9, [
|
|
10291
|
-
M(
|
|
10287
|
+
M(de, {
|
|
10292
10288
|
name: "ChatOutline",
|
|
10293
10289
|
size: "sm"
|
|
10294
10290
|
}),
|
|
10295
10291
|
v("span", F9, x(h.comments), 1)
|
|
10296
10292
|
])) : O("", !0),
|
|
10297
10293
|
h.attachments ? (p(), m("li", U9, [
|
|
10298
|
-
M(
|
|
10294
|
+
M(de, {
|
|
10299
10295
|
name: "AttachFileRounded",
|
|
10300
10296
|
size: "sm"
|
|
10301
10297
|
}),
|
|
@@ -10306,7 +10302,7 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
10306
10302
|
v("div", W9, [
|
|
10307
10303
|
h.tasks && h.tasks.length ? (p(), m("div", q9, [
|
|
10308
10304
|
v("div", z9, [
|
|
10309
|
-
M(
|
|
10305
|
+
M(de, {
|
|
10310
10306
|
name: "SelectCheckBox",
|
|
10311
10307
|
size: "sm"
|
|
10312
10308
|
}),
|
|
@@ -11166,7 +11162,7 @@ var Rt = Y({
|
|
|
11166
11162
|
});
|
|
11167
11163
|
const v4 = { class: "color-set" };
|
|
11168
11164
|
function h4(t, e, a, n, s, o) {
|
|
11169
|
-
const i =
|
|
11165
|
+
const i = Ye("Saturation"), r = Ye("Hue"), l = Ye("Alpha"), c = Ye("Preview"), u = Ye("Sucker"), f = Ye("Box"), d = Ye("Colors");
|
|
11170
11166
|
return p(), P(
|
|
11171
11167
|
"div",
|
|
11172
11168
|
{
|
|
@@ -11279,7 +11275,7 @@ const m4 = {
|
|
|
11279
11275
|
}
|
|
11280
11276
|
}, C4 = { class: "color-picker-wrapper" };
|
|
11281
11277
|
function g4(t, e, a, n, s, o) {
|
|
11282
|
-
const i =
|
|
11278
|
+
const i = Ye("ColorPicker");
|
|
11283
11279
|
return p(), m("div", C4, [
|
|
11284
11280
|
v("button", {
|
|
11285
11281
|
style: Ua({ backgroundColor: a.color }),
|
|
@@ -11329,7 +11325,7 @@ const _4 = /* @__PURE__ */ j(m4, [["render", g4]]), y4 = { class: "ao-project-mi
|
|
|
11329
11325
|
var _;
|
|
11330
11326
|
return (_ = i.value) == null ? void 0 : _.activities;
|
|
11331
11327
|
});
|
|
11332
|
-
|
|
11328
|
+
pe(r, (_, C) => {
|
|
11333
11329
|
Xe(_, C);
|
|
11334
11330
|
});
|
|
11335
11331
|
const l = (_) => {
|
|
@@ -11518,7 +11514,7 @@ const _4 = /* @__PURE__ */ j(m4, [["render", g4]]), y4 = { class: "ao-project-mi
|
|
|
11518
11514
|
"is-private": I.private,
|
|
11519
11515
|
"is-closed": w(I),
|
|
11520
11516
|
onClick: (G) => _.$router.push({
|
|
11521
|
-
name: J(
|
|
11517
|
+
name: J(Fe).activity,
|
|
11522
11518
|
params: { milestoneId: _.milestoneId, activityId: I.id }
|
|
11523
11519
|
}),
|
|
11524
11520
|
onUpdateActivity: u,
|
|
@@ -11750,7 +11746,7 @@ function W4(t, e, a = {}) {
|
|
|
11750
11746
|
return (Array.isArray(w) ? w : [w]).map(mn).filter(B4);
|
|
11751
11747
|
});
|
|
11752
11748
|
let u = oa;
|
|
11753
|
-
const f = ee(r), d = l.value ?
|
|
11749
|
+
const f = ee(r), d = l.value ? pe(
|
|
11754
11750
|
() => [c.value, mn(n), f.value],
|
|
11755
11751
|
([w, g]) => {
|
|
11756
11752
|
if (u(), !f.value || !w.length)
|
|
@@ -11820,7 +11816,7 @@ const q4 = {
|
|
|
11820
11816
|
const a = t, n = ee(!1), s = ee(null);
|
|
11821
11817
|
W4(s, ([{ isIntersecting: u }]) => {
|
|
11822
11818
|
n.value = u;
|
|
11823
|
-
}),
|
|
11819
|
+
}), pe(n, (u) => {
|
|
11824
11820
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
11825
11821
|
});
|
|
11826
11822
|
const o = (u) => {
|
|
@@ -11935,7 +11931,7 @@ const q4 = {
|
|
|
11935
11931
|
}),
|
|
11936
11932
|
footer: z(() => [
|
|
11937
11933
|
u.isLoading ? (p(), m("div", x4, [
|
|
11938
|
-
M(
|
|
11934
|
+
M(de, { name: "Loading" })
|
|
11939
11935
|
])) : u.hasMore ? (p(), m("div", {
|
|
11940
11936
|
key: 2,
|
|
11941
11937
|
ref_key: "scrollEnd",
|
|
@@ -11985,7 +11981,7 @@ const J4 = { class: "ao-field ao-search-field" }, e8 = ["value", "placeholder",
|
|
|
11985
11981
|
(...l) => J(s) && J(s)(...l)),
|
|
11986
11982
|
onKeypress: dt(n, ["enter"])
|
|
11987
11983
|
}, null, 40, e8),
|
|
11988
|
-
M(
|
|
11984
|
+
M(de, {
|
|
11989
11985
|
name: "SearchRounded",
|
|
11990
11986
|
class: Q(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
11991
11987
|
}, null, 8, ["class"]),
|
|
@@ -12031,7 +12027,7 @@ const a8 = { class: "ao-feed" }, n8 = { class: "ao-feed__filters" }, s8 = { clas
|
|
|
12031
12027
|
const o = Pt(a, "activities"), i = async (T, k) => {
|
|
12032
12028
|
await e("selectActivity", T, k);
|
|
12033
12029
|
}, r = ee({}), l = ee(!1), c = ee(!1), u = A(() => a.project ? "milestone" : "project");
|
|
12034
|
-
|
|
12030
|
+
pe(
|
|
12035
12031
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12036
12032
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12037
12033
|
async ([T, k, F, V], [se, y]) => {
|
|
@@ -12121,7 +12117,7 @@ const a8 = { class: "ao-feed" }, n8 = { class: "ao-feed__filters" }, s8 = { clas
|
|
|
12121
12117
|
"right-label": T.$t("project.switch.feed"),
|
|
12122
12118
|
"left-label": T.$t("project.switch.overview"),
|
|
12123
12119
|
"onUpdate:isLeft": k[0] || (k[0] = (V) => {
|
|
12124
|
-
V && T.$router.push({ name: J(
|
|
12120
|
+
V && T.$router.push({ name: J(Fe).project });
|
|
12125
12121
|
})
|
|
12126
12122
|
}, null, 8, ["right-label", "left-label"])) : O("", !0),
|
|
12127
12123
|
M(t8, {
|
|
@@ -12296,7 +12292,7 @@ const Dt = {
|
|
|
12296
12292
|
}
|
|
12297
12293
|
]
|
|
12298
12294
|
}
|
|
12299
|
-
],
|
|
12295
|
+
], Fe = {
|
|
12300
12296
|
project: "AoProject",
|
|
12301
12297
|
feed: "AoProjectFeed",
|
|
12302
12298
|
milestone: "AoMilestone",
|
|
@@ -12305,23 +12301,23 @@ const Dt = {
|
|
|
12305
12301
|
{
|
|
12306
12302
|
path: t,
|
|
12307
12303
|
...e,
|
|
12308
|
-
redirect: { name:
|
|
12304
|
+
redirect: { name: Fe.project },
|
|
12309
12305
|
children: [
|
|
12310
12306
|
{
|
|
12311
12307
|
path: "",
|
|
12312
|
-
name:
|
|
12308
|
+
name: Fe.project,
|
|
12313
12309
|
component: S9,
|
|
12314
12310
|
props: !0,
|
|
12315
12311
|
children: [
|
|
12316
12312
|
{
|
|
12317
12313
|
path: ":phaseId/:milestoneId",
|
|
12318
|
-
name:
|
|
12314
|
+
name: Fe.milestone,
|
|
12319
12315
|
component: Ms,
|
|
12320
12316
|
props: !0
|
|
12321
12317
|
},
|
|
12322
12318
|
{
|
|
12323
12319
|
path: ":phaseId/:milestoneId/:activityId",
|
|
12324
|
-
name:
|
|
12320
|
+
name: Fe.activity,
|
|
12325
12321
|
props: { default: !0, modal: !0 },
|
|
12326
12322
|
components: {
|
|
12327
12323
|
default: Ms,
|
|
@@ -12332,7 +12328,7 @@ const Dt = {
|
|
|
12332
12328
|
},
|
|
12333
12329
|
{
|
|
12334
12330
|
path: "feed",
|
|
12335
|
-
name:
|
|
12331
|
+
name: Fe.feed,
|
|
12336
12332
|
component: i8,
|
|
12337
12333
|
props: !0
|
|
12338
12334
|
}
|
|
@@ -12346,7 +12342,7 @@ const Dt = {
|
|
|
12346
12342
|
emits: ["addTemplate", "updateTemplates", "updateItem"],
|
|
12347
12343
|
setup(t, { emit: e }) {
|
|
12348
12344
|
const a = t, { t: n } = Tt();
|
|
12349
|
-
|
|
12345
|
+
pe(() => a.templates, (r, l) => {
|
|
12350
12346
|
Xe(r, l);
|
|
12351
12347
|
});
|
|
12352
12348
|
const s = () => {
|
|
@@ -12516,7 +12512,7 @@ export {
|
|
|
12516
12512
|
w8 as getTemplateRoutes,
|
|
12517
12513
|
b8 as listUpdateTypes,
|
|
12518
12514
|
Cn as milestoneStatus,
|
|
12519
|
-
|
|
12515
|
+
Fe as projectOverviewRoutes,
|
|
12520
12516
|
R2 as ruleComparators,
|
|
12521
12517
|
j2 as ruleDurationUnits,
|
|
12522
12518
|
N2 as ruleTriggerTypes,
|