@26lights/orcha 0.41.64 → 0.41.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +186 -181
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as A, normalizeStyle as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as A, normalizeStyle as Mt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const X4 = /* @__PURE__ */ q({
|
|
@@ -1419,7 +1419,7 @@ const ra = /* @__PURE__ */ q({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: Mt(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
1424
|
(p(), D(ht(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
@@ -1485,7 +1485,7 @@ const e8 = {
|
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
1488
|
-
},
|
|
1488
|
+
}, Dt = {
|
|
1489
1489
|
project: "projectId",
|
|
1490
1490
|
type: "typeId",
|
|
1491
1491
|
assignee: "assigneeId"
|
|
@@ -1687,7 +1687,7 @@ var d0 = {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
};
|
|
1689
1689
|
const lt = d0;
|
|
1690
|
-
var
|
|
1690
|
+
var Bt = {
|
|
1691
1691
|
am: "am",
|
|
1692
1692
|
pm: "pm",
|
|
1693
1693
|
midnight: "midnight",
|
|
@@ -2068,7 +2068,7 @@ var Dt = {
|
|
|
2068
2068
|
// AM, PM, midnight, noon
|
|
2069
2069
|
b: function(e, a, s) {
|
|
2070
2070
|
var n = e.getUTCHours(), o;
|
|
2071
|
-
switch (n === 12 ? o =
|
|
2071
|
+
switch (n === 12 ? o = Bt.noon : n === 0 ? o = Bt.midnight : o = n / 12 >= 1 ? "pm" : "am", a) {
|
|
2072
2072
|
case "b":
|
|
2073
2073
|
case "bb":
|
|
2074
2074
|
return s.dayPeriod(o, {
|
|
@@ -2096,7 +2096,7 @@ var Dt = {
|
|
|
2096
2096
|
// in the morning, in the afternoon, in the evening, at night
|
|
2097
2097
|
B: function(e, a, s) {
|
|
2098
2098
|
var n = e.getUTCHours(), o;
|
|
2099
|
-
switch (n >= 17 ? o =
|
|
2099
|
+
switch (n >= 17 ? o = Bt.evening : n >= 12 ? o = Bt.afternoon : n >= 4 ? o = Bt.morning : o = Bt.night, a) {
|
|
2100
2100
|
case "B":
|
|
2101
2101
|
case "BB":
|
|
2102
2102
|
case "BBB":
|
|
@@ -3666,9 +3666,9 @@ function D3(t) {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
function ya(t, e) {
|
|
3668
3668
|
if (t.moved)
|
|
3669
|
-
return
|
|
3669
|
+
return Ft(e, t.moved.newIndex);
|
|
3670
3670
|
}
|
|
3671
|
-
function
|
|
3671
|
+
function Ft(t, e) {
|
|
3672
3672
|
if (e === 0)
|
|
3673
3673
|
if (t.length > 1) {
|
|
3674
3674
|
const a = t[e + 1];
|
|
@@ -4238,7 +4238,7 @@ const da = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor, pt = (t) =
|
|
|
4238
4238
|
function Ds(t, e) {
|
|
4239
4239
|
return typeof t == "function" ? t(e) : t;
|
|
4240
4240
|
}
|
|
4241
|
-
function
|
|
4241
|
+
function Zt(t) {
|
|
4242
4242
|
return t.split("-")[0];
|
|
4243
4243
|
}
|
|
4244
4244
|
function es(t) {
|
|
@@ -4251,7 +4251,7 @@ function Gn(t) {
|
|
|
4251
4251
|
return t === "y" ? "height" : "width";
|
|
4252
4252
|
}
|
|
4253
4253
|
function Bs(t) {
|
|
4254
|
-
return ["top", "bottom"].includes(
|
|
4254
|
+
return ["top", "bottom"].includes(Zt(t)) ? "y" : "x";
|
|
4255
4255
|
}
|
|
4256
4256
|
function Xn(t) {
|
|
4257
4257
|
return P5(Bs(t));
|
|
@@ -4284,7 +4284,7 @@ function D5(t, e, a) {
|
|
|
4284
4284
|
}
|
|
4285
4285
|
function B5(t, e, a, s) {
|
|
4286
4286
|
const n = es(t);
|
|
4287
|
-
let o = D5(
|
|
4287
|
+
let o = D5(Zt(t), a === "start", s);
|
|
4288
4288
|
return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map($s)))), o;
|
|
4289
4289
|
}
|
|
4290
4290
|
function Fa(t) {
|
|
@@ -4321,7 +4321,7 @@ function Cn(t, e, a) {
|
|
|
4321
4321
|
reference: s,
|
|
4322
4322
|
floating: n
|
|
4323
4323
|
} = t;
|
|
4324
|
-
const o = Bs(e), i = Xn(e), l = Gn(i), r =
|
|
4324
|
+
const o = Bs(e), i = Xn(e), l = Gn(i), r = Zt(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, d = s.y + s.height / 2 - n.height / 2, v = s[l] / 2 - n[l] / 2;
|
|
4325
4325
|
let h;
|
|
4326
4326
|
switch (r) {
|
|
4327
4327
|
case "top":
|
|
@@ -4495,7 +4495,7 @@ const U5 = function(t) {
|
|
|
4495
4495
|
} = Ds(t, e);
|
|
4496
4496
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4497
4497
|
return {};
|
|
4498
|
-
const m =
|
|
4498
|
+
const m = Zt(n), _ = Zt(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), P = v || (_ || !w ? [Fa(l)] : V5(l));
|
|
4499
4499
|
!v && $ !== "none" && P.push(...B5(l, w, $, y));
|
|
4500
4500
|
const I = [l, ...P], L = await Qn(e, g), F = [];
|
|
4501
4501
|
let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
@@ -4556,7 +4556,7 @@ const U5 = function(t) {
|
|
|
4556
4556
|
apply: i = () => {
|
|
4557
4557
|
},
|
|
4558
4558
|
...l
|
|
4559
|
-
} = Ds(t, e), r = await Qn(e, l), c =
|
|
4559
|
+
} = Ds(t, e), r = await Qn(e, l), c = Zt(a), u = es(a), d = Bs(a) === "y", {
|
|
4560
4560
|
width: v,
|
|
4561
4561
|
height: h
|
|
4562
4562
|
} = s.floating;
|
|
@@ -4629,11 +4629,11 @@ function js(t) {
|
|
|
4629
4629
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (a.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (a.contain || "").includes(s));
|
|
4630
4630
|
}
|
|
4631
4631
|
function W5(t) {
|
|
4632
|
-
let e =
|
|
4632
|
+
let e = Wt(t);
|
|
4633
4633
|
for (; We(e) && !ts(e); ) {
|
|
4634
4634
|
if (js(e))
|
|
4635
4635
|
return e;
|
|
4636
|
-
e =
|
|
4636
|
+
e = Wt(e);
|
|
4637
4637
|
}
|
|
4638
4638
|
return null;
|
|
4639
4639
|
}
|
|
@@ -4655,7 +4655,7 @@ function as(t) {
|
|
|
4655
4655
|
scrollTop: t.pageYOffset
|
|
4656
4656
|
};
|
|
4657
4657
|
}
|
|
4658
|
-
function
|
|
4658
|
+
function Wt(t) {
|
|
4659
4659
|
if (vt(t) === "html")
|
|
4660
4660
|
return t;
|
|
4661
4661
|
const e = (
|
|
@@ -4668,7 +4668,7 @@ function Zt(t) {
|
|
|
4668
4668
|
return _n(e) ? e.host : e;
|
|
4669
4669
|
}
|
|
4670
4670
|
function ei(t) {
|
|
4671
|
-
const e =
|
|
4671
|
+
const e = Wt(t);
|
|
4672
4672
|
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && wa(e) ? e : ei(e);
|
|
4673
4673
|
}
|
|
4674
4674
|
function pa(t, e, a) {
|
|
@@ -4690,7 +4690,7 @@ function ti(t) {
|
|
|
4690
4690
|
function Ns(t) {
|
|
4691
4691
|
return et(t) ? t : t.contextElement;
|
|
4692
4692
|
}
|
|
4693
|
-
function
|
|
4693
|
+
function Nt(t) {
|
|
4694
4694
|
const e = Ns(t);
|
|
4695
4695
|
if (!We(e))
|
|
4696
4696
|
return pt(1);
|
|
@@ -4716,18 +4716,18 @@ function ai(t) {
|
|
|
4716
4716
|
function q5(t, e, a) {
|
|
4717
4717
|
return e === void 0 && (e = !1), !a || e && a !== Te(t) ? !1 : e;
|
|
4718
4718
|
}
|
|
4719
|
-
function
|
|
4719
|
+
function Ot(t, e, a, s) {
|
|
4720
4720
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4721
4721
|
const n = t.getBoundingClientRect(), o = Ns(t);
|
|
4722
4722
|
let i = pt(1);
|
|
4723
|
-
e && (s ? et(s) && (i =
|
|
4723
|
+
e && (s ? et(s) && (i = Nt(s)) : i = Nt(t));
|
|
4724
4724
|
const l = q5(o, a, s) ? ai(o) : pt(0);
|
|
4725
4725
|
let r = (n.left + l.x) / i.x, c = (n.top + l.y) / i.y, u = n.width / i.x, d = n.height / i.y;
|
|
4726
4726
|
if (o) {
|
|
4727
4727
|
const v = Te(o), h = s && et(s) ? Te(s) : s;
|
|
4728
4728
|
let $ = v.frameElement;
|
|
4729
4729
|
for (; $ && s && h !== v; ) {
|
|
4730
|
-
const w =
|
|
4730
|
+
const w = Nt($), g = $.getBoundingClientRect(), m = je($), _ = g.left + ($.clientLeft + parseFloat(m.paddingLeft)) * w.x, y = g.top + ($.clientTop + parseFloat(m.paddingTop)) * w.y;
|
|
4731
4731
|
r *= w.x, c *= w.y, u *= w.x, d *= w.y, r += _, c += y, $ = Te($).frameElement;
|
|
4732
4732
|
}
|
|
4733
4733
|
}
|
|
@@ -4753,8 +4753,8 @@ function Y5(t) {
|
|
|
4753
4753
|
}, l = pt(1);
|
|
4754
4754
|
const r = pt(0);
|
|
4755
4755
|
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || wa(o)) && (i = as(a)), We(a))) {
|
|
4756
|
-
const c =
|
|
4757
|
-
l =
|
|
4756
|
+
const c = Ot(a);
|
|
4757
|
+
l = Nt(a), r.x = c.x + a.clientLeft, r.y = c.y + a.clientTop;
|
|
4758
4758
|
}
|
|
4759
4759
|
return {
|
|
4760
4760
|
width: e.width * l.x,
|
|
@@ -4767,7 +4767,7 @@ function x5(t) {
|
|
|
4767
4767
|
return Array.from(t.getClientRects());
|
|
4768
4768
|
}
|
|
4769
4769
|
function si(t) {
|
|
4770
|
-
return
|
|
4770
|
+
return Ot(at(t)).left + as(t).scrollLeft;
|
|
4771
4771
|
}
|
|
4772
4772
|
function K5(t) {
|
|
4773
4773
|
const e = at(t), a = as(t), s = t.ownerDocument.body, n = He(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = He(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
@@ -4796,7 +4796,7 @@ function G5(t, e) {
|
|
|
4796
4796
|
};
|
|
4797
4797
|
}
|
|
4798
4798
|
function X5(t, e) {
|
|
4799
|
-
const a =
|
|
4799
|
+
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) : pt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, c = s * o.y;
|
|
4800
4800
|
return {
|
|
4801
4801
|
width: i,
|
|
4802
4802
|
height: l,
|
|
@@ -4823,7 +4823,7 @@ function yn(t, e, a) {
|
|
|
4823
4823
|
return Za(s);
|
|
4824
4824
|
}
|
|
4825
4825
|
function ni(t, e) {
|
|
4826
|
-
const a =
|
|
4826
|
+
const a = Wt(t);
|
|
4827
4827
|
return a === e || !et(a) || ts(a) ? !1 : je(a).position === "fixed" || ni(a, e);
|
|
4828
4828
|
}
|
|
4829
4829
|
function Q5(t, e) {
|
|
@@ -4832,10 +4832,10 @@ function Q5(t, e) {
|
|
|
4832
4832
|
return a;
|
|
4833
4833
|
let s = pa(t, [], !1).filter((l) => et(l) && vt(l) !== "body"), n = null;
|
|
4834
4834
|
const o = je(t).position === "fixed";
|
|
4835
|
-
let i = o ?
|
|
4835
|
+
let i = o ? Wt(t) : t;
|
|
4836
4836
|
for (; et(i) && !ts(i); ) {
|
|
4837
4837
|
const l = je(i), r = js(i);
|
|
4838
|
-
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(i) && !r && ni(t, i)) ? s = s.filter((u) => u !== i) : n = l, i =
|
|
4838
|
+
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(i) && !r && ni(t, i)) ? s = s.filter((u) => u !== i) : n = l, i = Wt(i);
|
|
4839
4839
|
}
|
|
4840
4840
|
return e.set(t, s), s;
|
|
4841
4841
|
}
|
|
@@ -4861,7 +4861,7 @@ function e7(t) {
|
|
|
4861
4861
|
return ti(t);
|
|
4862
4862
|
}
|
|
4863
4863
|
function t7(t, e, a) {
|
|
4864
|
-
const s = We(e), n = at(e), o = a === "fixed", i =
|
|
4864
|
+
const s = We(e), n = at(e), o = a === "fixed", i = Ot(t, !0, o, e);
|
|
4865
4865
|
let l = {
|
|
4866
4866
|
scrollLeft: 0,
|
|
4867
4867
|
scrollTop: 0
|
|
@@ -4869,7 +4869,7 @@ function t7(t, e, a) {
|
|
|
4869
4869
|
const r = pt(0);
|
|
4870
4870
|
if (s || !s && !o)
|
|
4871
4871
|
if ((vt(e) !== "body" || wa(n)) && (l = as(e)), s) {
|
|
4872
|
-
const c =
|
|
4872
|
+
const c = Ot(e, !0, o, e);
|
|
4873
4873
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4874
4874
|
} else
|
|
4875
4875
|
n && (r.x = si(n));
|
|
@@ -4919,7 +4919,7 @@ const n7 = {
|
|
|
4919
4919
|
getElementRects: a7,
|
|
4920
4920
|
getClientRects: x5,
|
|
4921
4921
|
getDimensions: e7,
|
|
4922
|
-
getScale:
|
|
4922
|
+
getScale: Nt,
|
|
4923
4923
|
isElement: et,
|
|
4924
4924
|
isRTL: s7
|
|
4925
4925
|
};
|
|
@@ -4990,10 +4990,10 @@ function o7(t, e, a, s) {
|
|
|
4990
4990
|
h && h.observe(e);
|
|
4991
4991
|
})), a();
|
|
4992
4992
|
}), c && !r && h.observe(c), h.observe(e));
|
|
4993
|
-
let $, w = r ?
|
|
4993
|
+
let $, w = r ? Ot(t) : null;
|
|
4994
4994
|
r && g();
|
|
4995
4995
|
function g() {
|
|
4996
|
-
const m =
|
|
4996
|
+
const m = Ot(t);
|
|
4997
4997
|
w && (m.x !== w.x || m.y !== w.y || m.width !== w.width || m.height !== w.height) && a(), w = m, $ = requestAnimationFrame(g);
|
|
4998
4998
|
}
|
|
4999
4999
|
return a(), () => {
|
|
@@ -5072,7 +5072,7 @@ const l7 = (t, e, a) => {
|
|
|
5072
5072
|
});
|
|
5073
5073
|
});
|
|
5074
5074
|
}
|
|
5075
|
-
|
|
5075
|
+
It(() => {
|
|
5076
5076
|
c();
|
|
5077
5077
|
}), Ts(() => {
|
|
5078
5078
|
l.value();
|
|
@@ -5084,7 +5084,7 @@ function Fe(t) {
|
|
|
5084
5084
|
return [null, void 0].indexOf(t) !== -1;
|
|
5085
5085
|
}
|
|
5086
5086
|
function u7(t, e, a) {
|
|
5087
|
-
const { object: s, valueProp: n, mode: o } = Ee(t), i =
|
|
5087
|
+
const { object: s, valueProp: n, mode: o } = Ee(t), i = Lt().proxy, l = a.iv, r = (d, v = !0) => {
|
|
5088
5088
|
l.value = u(d);
|
|
5089
5089
|
const h = c(d);
|
|
5090
5090
|
e.emit("change", h, i), v && (e.emit("input", h), e.emit("update:modelValue", h));
|
|
@@ -5105,7 +5105,7 @@ function c7(t, e) {
|
|
|
5105
5105
|
};
|
|
5106
5106
|
}
|
|
5107
5107
|
function d7(t, e, a) {
|
|
5108
|
-
const { regex: s } = Ee(t), n =
|
|
5108
|
+
const { regex: s } = Ee(t), n = Lt().proxy, o = a.isOpen, i = a.open, l = x(null), r = () => {
|
|
5109
5109
|
l.value = "";
|
|
5110
5110
|
}, c = (v) => {
|
|
5111
5111
|
l.value = v.target.value;
|
|
@@ -5195,7 +5195,7 @@ function h7(t, e, a) {
|
|
|
5195
5195
|
disabledProp: b,
|
|
5196
5196
|
searchStart: V,
|
|
5197
5197
|
searchFilter: oe
|
|
5198
|
-
} = Ee(t), ne =
|
|
5198
|
+
} = Ee(t), ne = Lt().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, st = a.clearPointer, $a = a.focus, rs = a.deactivate, nt = a.close, ka = a.localize, it = x([]), Ue = x([]), Ie = x(!1), Re = x(null), Ye = x(ee.value && i.value === -1 ? 10 : i.value), Qt = M(() => r.value || c.value || !1), Sa = M(() => d.value !== void 0 ? d.value : v.value !== void 0 ? v.value : !0), Le = M(() => {
|
|
5199
5199
|
if (le.value) {
|
|
5200
5200
|
let S = yt.value || /* istanbul ignore next */
|
|
5201
5201
|
[], B = [];
|
|
@@ -5211,7 +5211,7 @@ function h7(t, e, a) {
|
|
|
5211
5211
|
}
|
|
5212
5212
|
}), Jt = M(() => {
|
|
5213
5213
|
let S = Le.value;
|
|
5214
|
-
return se.value && (S = S.reverse()),
|
|
5214
|
+
return se.value && (S = S.reverse()), Pt.value.length && (S = Pt.value.concat(S)), fs(S);
|
|
5215
5215
|
}), ot = M(() => {
|
|
5216
5216
|
let S = Jt.value;
|
|
5217
5217
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
@@ -5227,9 +5227,9 @@ function h7(t, e, a) {
|
|
|
5227
5227
|
}), S.concat(B);
|
|
5228
5228
|
}), Aa = M(() => {
|
|
5229
5229
|
let S = [...yt.value].map((B) => ({ ...B }));
|
|
5230
|
-
return
|
|
5230
|
+
return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][E.value] = [...Pt.value, ...S[0][E.value]] : S = [{
|
|
5231
5231
|
[z.value]: " ",
|
|
5232
|
-
[E.value]: [...
|
|
5232
|
+
[E.value]: [...Pt.value],
|
|
5233
5233
|
__CREATE__: !0
|
|
5234
5234
|
}].concat(S)), S;
|
|
5235
5235
|
}), us = M(() => {
|
|
@@ -5255,7 +5255,7 @@ function h7(t, e, a) {
|
|
|
5255
5255
|
case "tags":
|
|
5256
5256
|
return !Fe(Z.value) && Z.value.length > 0;
|
|
5257
5257
|
}
|
|
5258
|
-
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !
|
|
5258
|
+
}), Ci = M(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = M(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = M(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Pt = M(() => Qt.value === !1 || !Y.value ? [] : Oi(Y.value) !== -1 ? [] : [{
|
|
5259
5259
|
[L.value]: Y.value,
|
|
5260
5260
|
[bt.value[0]]: Y.value,
|
|
5261
5261
|
[u.value]: Y.value,
|
|
@@ -5268,7 +5268,7 @@ function h7(t, e, a) {
|
|
|
5268
5268
|
case "tags":
|
|
5269
5269
|
return [];
|
|
5270
5270
|
}
|
|
5271
|
-
}), wi = M(() => w.value || Ie.value),
|
|
5271
|
+
}), wi = M(() => w.value || Ie.value), Ht = (S) => {
|
|
5272
5272
|
switch (typeof S != "object" && (S = Ke(S)), n.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
ke(S);
|
|
@@ -5279,7 +5279,7 @@ function h7(t, e, a) {
|
|
|
5279
5279
|
break;
|
|
5280
5280
|
}
|
|
5281
5281
|
e.emit("select", sn(S), S, ne);
|
|
5282
|
-
},
|
|
5282
|
+
}, Vt = (S) => {
|
|
5283
5283
|
switch (typeof S != "object" && (S = Ke(S)), n.value) {
|
|
5284
5284
|
case "single":
|
|
5285
5285
|
on();
|
|
@@ -5291,7 +5291,7 @@ function h7(t, e, a) {
|
|
|
5291
5291
|
}
|
|
5292
5292
|
e.emit("deselect", sn(S), S, ne);
|
|
5293
5293
|
}, sn = (S) => $.value ? S : S[L.value], nn = (S) => {
|
|
5294
|
-
|
|
5294
|
+
Vt(S);
|
|
5295
5295
|
}, $i = (S, B) => {
|
|
5296
5296
|
if (B.button !== 0) {
|
|
5297
5297
|
B.preventDefault();
|
|
@@ -5324,32 +5324,32 @@ function h7(t, e, a) {
|
|
|
5324
5324
|
switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
|
|
5325
5325
|
case "single":
|
|
5326
5326
|
if (S && xe(S)) {
|
|
5327
|
-
K.value &&
|
|
5327
|
+
K.value && Vt(S), G.value && (st(), nt());
|
|
5328
5328
|
return;
|
|
5329
5329
|
}
|
|
5330
|
-
S && vs(S), I.value && he(), j.value && (st(), nt()), S &&
|
|
5330
|
+
S && vs(S), I.value && he(), j.value && (st(), nt()), S && Ht(S);
|
|
5331
5331
|
break;
|
|
5332
5332
|
case "multiple":
|
|
5333
5333
|
if (S && xe(S)) {
|
|
5334
|
-
|
|
5334
|
+
Vt(S), G.value && (st(), nt());
|
|
5335
5335
|
return;
|
|
5336
5336
|
}
|
|
5337
5337
|
if (ps()) {
|
|
5338
5338
|
e.emit("max", ne);
|
|
5339
5339
|
return;
|
|
5340
5340
|
}
|
|
5341
|
-
S && (vs(S),
|
|
5341
|
+
S && (vs(S), Ht(S)), I.value && he(), l.value && st(), j.value && nt();
|
|
5342
5342
|
break;
|
|
5343
5343
|
case "tags":
|
|
5344
5344
|
if (S && xe(S)) {
|
|
5345
|
-
|
|
5345
|
+
Vt(S), G.value && (st(), nt());
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
5348
|
if (ps()) {
|
|
5349
5349
|
e.emit("max", ne);
|
|
5350
5350
|
return;
|
|
5351
5351
|
}
|
|
5352
|
-
S && vs(S), I.value && he(), S &&
|
|
5352
|
+
S && vs(S), I.value && he(), S && Ht(S), l.value && st(), j.value && nt();
|
|
5353
5353
|
break;
|
|
5354
5354
|
}
|
|
5355
5355
|
j.value || $a();
|
|
@@ -5358,7 +5358,7 @@ function h7(t, e, a) {
|
|
|
5358
5358
|
switch (n.value) {
|
|
5359
5359
|
case "multiple":
|
|
5360
5360
|
case "tags":
|
|
5361
|
-
Mi(S[E.value]) ?
|
|
5361
|
+
Mi(S[E.value]) ? Vt(S[E.value]) : Ht(
|
|
5362
5362
|
S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[b.value]).filter((B, ue) => Z.value.length + 1 + ue <= J.value || J.value === -1)
|
|
5363
5363
|
), l.value && Gt.value && Xt(us.value.filter((B) => !B[b.value])[Gt.value.index]);
|
|
5364
5364
|
break;
|
|
@@ -5368,7 +5368,7 @@ function h7(t, e, a) {
|
|
|
5368
5368
|
}, vs = (S) => {
|
|
5369
5369
|
Ke(S[L.value]) === void 0 && Qt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), Sa.value && Ii(S), he());
|
|
5370
5370
|
}, Ai = () => {
|
|
5371
|
-
n.value !== "single" &&
|
|
5371
|
+
n.value !== "single" && Ht(ot.value.filter((S) => !S.disabled && !xe(S)));
|
|
5372
5372
|
}, Mi = (S) => S.find((B) => !xe(B) && !B[b.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => bt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
5373
5373
|
it.value.push(S);
|
|
5374
5374
|
}, Li = (S) => T.value ? S.filter(
|
|
@@ -5478,8 +5478,8 @@ function h7(t, e, a) {
|
|
|
5478
5478
|
resolving: Ie,
|
|
5479
5479
|
busy: wi,
|
|
5480
5480
|
offset: Ye,
|
|
5481
|
-
select:
|
|
5482
|
-
deselect:
|
|
5481
|
+
select: Ht,
|
|
5482
|
+
deselect: Vt,
|
|
5483
5483
|
remove: nn,
|
|
5484
5484
|
selectAll: Ai,
|
|
5485
5485
|
clear: on,
|
|
@@ -5593,7 +5593,7 @@ function Oe(t) {
|
|
|
5593
5593
|
}
|
|
5594
5594
|
return t;
|
|
5595
5595
|
}
|
|
5596
|
-
function
|
|
5596
|
+
function Et(t) {
|
|
5597
5597
|
var e = Oe(t).Element;
|
|
5598
5598
|
return t instanceof e || t instanceof Element;
|
|
5599
5599
|
}
|
|
@@ -5607,7 +5607,7 @@ function Us(t) {
|
|
|
5607
5607
|
var e = Oe(t).ShadowRoot;
|
|
5608
5608
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5609
5609
|
}
|
|
5610
|
-
var St = Math.max, Wa = Math.min,
|
|
5610
|
+
var St = Math.max, Wa = Math.min, zt = Math.round;
|
|
5611
5611
|
function ks() {
|
|
5612
5612
|
var t = navigator.userAgentData;
|
|
5613
5613
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5617,11 +5617,11 @@ function ks() {
|
|
|
5617
5617
|
function oi() {
|
|
5618
5618
|
return !/^((?!chrome|android).)*safari/i.test(ks());
|
|
5619
5619
|
}
|
|
5620
|
-
function
|
|
5620
|
+
function qt(t, e, a) {
|
|
5621
5621
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5622
5622
|
var s = t.getBoundingClientRect(), n = 1, o = 1;
|
|
5623
|
-
e && Be(t) && (n = t.offsetWidth > 0 &&
|
|
5624
|
-
var i =
|
|
5623
|
+
e && Be(t) && (n = t.offsetWidth > 0 && zt(s.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && zt(s.height) / t.offsetHeight || 1);
|
|
5624
|
+
var i = Et(t) ? Oe(t) : window, l = i.visualViewport, r = !oi() && a, c = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / o, d = s.width / n, v = s.height / o;
|
|
5625
5625
|
return {
|
|
5626
5626
|
width: d,
|
|
5627
5627
|
height: v,
|
|
@@ -5653,13 +5653,13 @@ function ze(t) {
|
|
|
5653
5653
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5654
5654
|
}
|
|
5655
5655
|
function Ct(t) {
|
|
5656
|
-
return ((
|
|
5656
|
+
return ((Et(t) ? t.ownerDocument : (
|
|
5657
5657
|
// $FlowFixMe[prop-missing]
|
|
5658
5658
|
t.document
|
|
5659
5659
|
)) || window.document).documentElement;
|
|
5660
5660
|
}
|
|
5661
5661
|
function Zs(t) {
|
|
5662
|
-
return
|
|
5662
|
+
return qt(Ct(t)).left + Fs(t).scrollLeft;
|
|
5663
5663
|
}
|
|
5664
5664
|
function tt(t) {
|
|
5665
5665
|
return Oe(t).getComputedStyle(t);
|
|
@@ -5669,12 +5669,12 @@ function Ws(t) {
|
|
|
5669
5669
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5670
5670
|
}
|
|
5671
5671
|
function _7(t) {
|
|
5672
|
-
var e = t.getBoundingClientRect(), a =
|
|
5672
|
+
var e = t.getBoundingClientRect(), a = zt(e.width) / t.offsetWidth || 1, s = zt(e.height) / t.offsetHeight || 1;
|
|
5673
5673
|
return a !== 1 || s !== 1;
|
|
5674
5674
|
}
|
|
5675
5675
|
function y7(t, e, a) {
|
|
5676
5676
|
a === void 0 && (a = !1);
|
|
5677
|
-
var s = Be(e), n = Be(e) && _7(e), o = Ct(e), i =
|
|
5677
|
+
var s = Be(e), n = Be(e) && _7(e), o = Ct(e), i = qt(t, n, a), l = {
|
|
5678
5678
|
scrollLeft: 0,
|
|
5679
5679
|
scrollTop: 0
|
|
5680
5680
|
}, r = {
|
|
@@ -5682,7 +5682,7 @@ function y7(t, e, a) {
|
|
|
5682
5682
|
y: 0
|
|
5683
5683
|
};
|
|
5684
5684
|
return (s || !s && !a) && ((ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5685
|
-
Ws(o)) && (l = C7(e)), Be(e) ? (r =
|
|
5685
|
+
Ws(o)) && (l = C7(e)), Be(e) ? (r = qt(e, !0), r.x += e.clientLeft, r.y += e.clientTop) : o && (r.x = Zs(o))), {
|
|
5686
5686
|
x: i.left + l.scrollLeft - r.x,
|
|
5687
5687
|
y: i.top + l.scrollTop - r.y,
|
|
5688
5688
|
width: i.width,
|
|
@@ -5690,7 +5690,7 @@ function y7(t, e, a) {
|
|
|
5690
5690
|
};
|
|
5691
5691
|
}
|
|
5692
5692
|
function li(t) {
|
|
5693
|
-
var e =
|
|
5693
|
+
var e = qt(t), a = t.offsetWidth, s = t.offsetHeight;
|
|
5694
5694
|
return Math.abs(e.width - a) <= 1 && (a = e.width), Math.abs(e.height - s) <= 1 && (s = e.height), {
|
|
5695
5695
|
x: t.offsetLeft,
|
|
5696
5696
|
y: t.offsetTop,
|
|
@@ -5750,10 +5750,10 @@ function ns(t) {
|
|
|
5750
5750
|
a = wn(a);
|
|
5751
5751
|
return a && (ze(a) === "html" || ze(a) === "body" && tt(a).position === "static") ? e : a || w7(t) || e;
|
|
5752
5752
|
}
|
|
5753
|
-
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge],
|
|
5754
|
-
return t.concat([e + "-" +
|
|
5753
|
+
var Ne = "top", qe = "bottom", ft = "right", Ge = "left", zs = "auto", is = [Ne, qe, ft, Ge], Yt = "start", va = "end", $7 = "clippingParents", ui = "viewport", ia = "popper", k7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5754
|
+
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
5755
5755
|
}, []), S7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5756
|
-
return t.concat([e, e + "-" +
|
|
5756
|
+
return t.concat([e, e + "-" + Yt, e + "-" + va]);
|
|
5757
5757
|
}, []), A7 = "beforeRead", M7 = "read", T7 = "afterRead", O7 = "beforeMain", E7 = "main", I7 = "afterMain", L7 = "beforeWrite", P7 = "write", H7 = "afterWrite", V7 = [A7, M7, T7, O7, E7, I7, L7, P7, H7];
|
|
5758
5758
|
function D7(t) {
|
|
5759
5759
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
@@ -5850,16 +5850,16 @@ function Ss(t) {
|
|
|
5850
5850
|
});
|
|
5851
5851
|
}
|
|
5852
5852
|
function Z7(t, e) {
|
|
5853
|
-
var a =
|
|
5853
|
+
var a = qt(t, !1, e === "fixed");
|
|
5854
5854
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5855
5855
|
}
|
|
5856
5856
|
function kn(t, e, a) {
|
|
5857
|
-
return e === ui ? Ss(N7(t, a)) :
|
|
5857
|
+
return e === ui ? Ss(N7(t, a)) : Et(e) ? Z7(e, a) : Ss(U7(Ct(t)));
|
|
5858
5858
|
}
|
|
5859
5859
|
function W7(t) {
|
|
5860
5860
|
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5861
|
-
return
|
|
5862
|
-
return
|
|
5861
|
+
return Et(s) ? e.filter(function(n) {
|
|
5862
|
+
return Et(n) && F7(n, s) && ze(n) !== "body";
|
|
5863
5863
|
}) : [];
|
|
5864
5864
|
}
|
|
5865
5865
|
function z7(t, e, a, s) {
|
|
@@ -5872,14 +5872,14 @@ function z7(t, e, a, s) {
|
|
|
5872
5872
|
function ct(t) {
|
|
5873
5873
|
return t.split("-")[0];
|
|
5874
5874
|
}
|
|
5875
|
-
function
|
|
5875
|
+
function xt(t) {
|
|
5876
5876
|
return t.split("-")[1];
|
|
5877
5877
|
}
|
|
5878
5878
|
function ci(t) {
|
|
5879
5879
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5880
5880
|
}
|
|
5881
5881
|
function di(t) {
|
|
5882
|
-
var e = t.reference, a = t.element, s = t.placement, n = s ? ct(s) : null, o = s ?
|
|
5882
|
+
var e = t.reference, a = t.element, s = t.placement, n = s ? ct(s) : null, o = s ? xt(s) : null, i = e.x + e.width / 2 - a.width / 2, l = e.y + e.height / 2 - a.height / 2, r;
|
|
5883
5883
|
switch (n) {
|
|
5884
5884
|
case Ne:
|
|
5885
5885
|
r = {
|
|
@@ -5915,7 +5915,7 @@ function di(t) {
|
|
|
5915
5915
|
if (c != null) {
|
|
5916
5916
|
var u = c === "y" ? "height" : "width";
|
|
5917
5917
|
switch (o) {
|
|
5918
|
-
case
|
|
5918
|
+
case Yt:
|
|
5919
5919
|
r[c] = r[c] - (e[u] / 2 - a[u] / 2);
|
|
5920
5920
|
break;
|
|
5921
5921
|
case va:
|
|
@@ -5943,7 +5943,7 @@ function Y7(t, e) {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function qs(t, e) {
|
|
5945
5945
|
e === void 0 && (e = {});
|
|
5946
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, h = a.altBoundary, $ = h === void 0 ? !1 : h, w = a.padding, g = w === void 0 ? 0 : w, m = q7(typeof g != "number" ? g : Y7(g, is)), _ = v === ia ? k7 : ia, y = t.rects.popper, P = t.elements[$ ? _ : v], I = z7(
|
|
5946
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? $7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, h = a.altBoundary, $ = h === void 0 ? !1 : h, w = a.padding, g = w === void 0 ? 0 : w, m = q7(typeof g != "number" ? g : Y7(g, is)), _ = v === ia ? k7 : ia, y = t.rects.popper, P = t.elements[$ ? _ : v], I = z7(Et(P) ? P : P.contextElement || Ct(t.elements.popper), r, u, i), L = qt(t.elements.reference), F = di({
|
|
5947
5947
|
reference: L,
|
|
5948
5948
|
element: y,
|
|
5949
5949
|
strategy: "absolute",
|
|
@@ -5996,7 +5996,7 @@ function x7(t) {
|
|
|
5996
5996
|
setOptions: function(m) {
|
|
5997
5997
|
var _ = typeof m == "function" ? m(u.options) : m;
|
|
5998
5998
|
w(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5999
|
-
reference:
|
|
5999
|
+
reference: Et(l) ? oa(l) : l.contextElement ? oa(l.contextElement) : [],
|
|
6000
6000
|
popper: oa(r)
|
|
6001
6001
|
};
|
|
6002
6002
|
var y = B7(R7([].concat(s, u.options.modifiers)));
|
|
@@ -6120,8 +6120,8 @@ var Q7 = {
|
|
|
6120
6120
|
function ep(t, e) {
|
|
6121
6121
|
var a = t.x, s = t.y, n = e.devicePixelRatio || 1;
|
|
6122
6122
|
return {
|
|
6123
|
-
x:
|
|
6124
|
-
y:
|
|
6123
|
+
x: zt(a * n) / n || 0,
|
|
6124
|
+
y: zt(s * n) / n || 0
|
|
6125
6125
|
};
|
|
6126
6126
|
}
|
|
6127
6127
|
function Mn(t) {
|
|
@@ -6171,7 +6171,7 @@ function Mn(t) {
|
|
|
6171
6171
|
function tp(t) {
|
|
6172
6172
|
var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, o = a.adaptive, i = o === void 0 ? !0 : o, l = a.roundOffsets, r = l === void 0 ? !0 : l, c = {
|
|
6173
6173
|
placement: ct(e.placement),
|
|
6174
|
-
variation:
|
|
6174
|
+
variation: xt(e.placement),
|
|
6175
6175
|
popper: e.elements.popper,
|
|
6176
6176
|
popperRect: e.rects.popper,
|
|
6177
6177
|
gpuAcceleration: n,
|
|
@@ -6258,7 +6258,7 @@ function cp(t) {
|
|
|
6258
6258
|
rootBoundary: c,
|
|
6259
6259
|
padding: d,
|
|
6260
6260
|
altBoundary: u
|
|
6261
|
-
}), m = ct(e.placement), _ =
|
|
6261
|
+
}), m = ct(e.placement), _ = xt(e.placement), y = !_, P = ci(m), I = rp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof w == "function" ? w(Object.assign({}, e.rects, {
|
|
6262
6262
|
placement: e.placement
|
|
6263
6263
|
})) : w, J = typeof K == "number" ? {
|
|
6264
6264
|
mainAxis: K,
|
|
@@ -6272,7 +6272,7 @@ function cp(t) {
|
|
|
6272
6272
|
};
|
|
6273
6273
|
if (L) {
|
|
6274
6274
|
if (o) {
|
|
6275
|
-
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ft, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -z[ee] / 2 : 0, b = _ ===
|
|
6275
|
+
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ft, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -z[ee] / 2 : 0, b = _ === Yt ? F[ee] : z[ee], V = _ === Yt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? li(oe) : {
|
|
6276
6276
|
width: 0,
|
|
6277
6277
|
height: 0
|
|
6278
6278
|
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = y ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(h ? Wa(T, rs) : T, E, h ? St(k, nt) : k);
|
|
@@ -6313,8 +6313,8 @@ function Tn(t) {
|
|
|
6313
6313
|
}
|
|
6314
6314
|
function fp(t, e) {
|
|
6315
6315
|
e === void 0 && (e = {});
|
|
6316
|
-
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, c = r === void 0 ? S7 : r, u =
|
|
6317
|
-
return
|
|
6316
|
+
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, c = r === void 0 ? S7 : r, u = xt(s), d = u ? l ? $n : $n.filter(function($) {
|
|
6317
|
+
return xt($) === u;
|
|
6318
6318
|
}) : is, v = d.filter(function($) {
|
|
6319
6319
|
return c.indexOf($) >= 0;
|
|
6320
6320
|
});
|
|
@@ -6350,7 +6350,7 @@ function mp(t) {
|
|
|
6350
6350
|
allowedAutoPlacements: w
|
|
6351
6351
|
}) : Z);
|
|
6352
6352
|
}, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0], J = 0; J < P.length; J++) {
|
|
6353
|
-
var ae = P[J], j = ct(ae), G =
|
|
6353
|
+
var ae = P[J], j = ct(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
|
|
6354
6354
|
placement: ae,
|
|
6355
6355
|
boundary: u,
|
|
6356
6356
|
rootBoundary: d,
|
|
@@ -6397,7 +6397,7 @@ var gp = {
|
|
|
6397
6397
|
}
|
|
6398
6398
|
};
|
|
6399
6399
|
function Cp(t, e, a) {
|
|
6400
|
-
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l =
|
|
6400
|
+
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, c = a.dropdown, u = x(!1), d = x(null), v = x(null), h = M(() => n.value || o.value), $ = M(() => i.value === "top" && v.value === "bottom" || i.value === "bottom" && v.value !== "top" ? "bottom" : "top"), w = () => {
|
|
6401
6401
|
u.value || s.value || (u.value = !0, e.emit("open", l), h.value && Me(() => {
|
|
6402
6402
|
m();
|
|
6403
6403
|
}));
|
|
@@ -6427,7 +6427,7 @@ function Cp(t, e, a) {
|
|
|
6427
6427
|
}
|
|
6428
6428
|
return !1;
|
|
6429
6429
|
};
|
|
6430
|
-
return
|
|
6430
|
+
return It(() => {
|
|
6431
6431
|
h.value && (d.value = lp(r.value, c.value, {
|
|
6432
6432
|
strategy: _(r.value) ? (
|
|
6433
6433
|
/* istanbul ignore next: UI feature */
|
|
@@ -6521,7 +6521,7 @@ function yp(t, e, a) {
|
|
|
6521
6521
|
createTag: d,
|
|
6522
6522
|
createOption: v,
|
|
6523
6523
|
reverse: h
|
|
6524
|
-
} = Ee(t), $ =
|
|
6524
|
+
} = Ee(t), $ = Lt().proxy, w = a.iv, g = a.update, m = a.deselect, _ = a.search, y = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = M(() => d.value || v.value || !1), se = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
|
|
6525
6525
|
s.value === "tags" && !l.value && le.value && i.value && !c.value && y(G.value[G.value.map((k) => k[r.value]).indexOf(_.value)]);
|
|
6526
6526
|
};
|
|
6527
6527
|
return {
|
|
@@ -6726,7 +6726,7 @@ function wp(t, e, a) {
|
|
|
6726
6726
|
n.value && (i.value = s.value, $());
|
|
6727
6727
|
}, { flush: "post" }), ce(c, () => {
|
|
6728
6728
|
n.value && $();
|
|
6729
|
-
}, { immediate: !1, flush: "post" }),
|
|
6729
|
+
}, { immediate: !1, flush: "post" }), It(() => {
|
|
6730
6730
|
window && window.IntersectionObserver && (u.value = new IntersectionObserver(h));
|
|
6731
6731
|
}), {
|
|
6732
6732
|
hasMore: v,
|
|
@@ -6772,7 +6772,7 @@ function $p(t, e, a) {
|
|
|
6772
6772
|
let G = [];
|
|
6773
6773
|
return G.push(j), G.join(" ");
|
|
6774
6774
|
}, ae = (j) => `${j} ❎`;
|
|
6775
|
-
return
|
|
6775
|
+
return It(() => {
|
|
6776
6776
|
if (n && n.value && document && document.querySelector) {
|
|
6777
6777
|
let j = document.querySelector(`[for="${n.value}"]`);
|
|
6778
6778
|
w.value = j ? j.innerText : null;
|
|
@@ -7464,7 +7464,7 @@ function xp(t, e, a, s, n, o) {
|
|
|
7464
7464
|
]) : O("v-if", !0)
|
|
7465
7465
|
], 16, Tp),
|
|
7466
7466
|
O(" Options "),
|
|
7467
|
-
(p(), D(
|
|
7467
|
+
(p(), D(Tt, {
|
|
7468
7468
|
to: a.appendTo || "body",
|
|
7469
7469
|
disabled: !a.appendToBody && !a.appendTo
|
|
7470
7470
|
}, [
|
|
@@ -7684,7 +7684,7 @@ const Se = /* @__PURE__ */ q({
|
|
|
7684
7684
|
appendTo: {}
|
|
7685
7685
|
},
|
|
7686
7686
|
setup(t) {
|
|
7687
|
-
const e = t, a =
|
|
7687
|
+
const e = t, a = Rt(() => e.appendTo), s = x();
|
|
7688
7688
|
return e.detached && r7({
|
|
7689
7689
|
multiselect: s,
|
|
7690
7690
|
appendTo: a.value
|
|
@@ -7711,7 +7711,7 @@ function _t() {
|
|
|
7711
7711
|
};
|
|
7712
7712
|
}
|
|
7713
7713
|
function Kp() {
|
|
7714
|
-
const t =
|
|
7714
|
+
const t = Lt();
|
|
7715
7715
|
if (!t)
|
|
7716
7716
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7717
7717
|
return t;
|
|
@@ -7899,7 +7899,7 @@ const tv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], av = { class:
|
|
|
7899
7899
|
const d = u.target, v = Array.from(d.files ?? []);
|
|
7900
7900
|
e("add", v);
|
|
7901
7901
|
}, o = ["dragenter", "dragover", "dragleave", "drop"];
|
|
7902
|
-
|
|
7902
|
+
It(() => {
|
|
7903
7903
|
o.forEach((u) => {
|
|
7904
7904
|
document.body.addEventListener(u, (d) => d.preventDefault());
|
|
7905
7905
|
});
|
|
@@ -8119,7 +8119,7 @@ const _v = { class: "ao-comments__header" }, yv = ["onSubmit"], bv = ["placehold
|
|
|
8119
8119
|
Me(() => {
|
|
8120
8120
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
8121
8121
|
});
|
|
8122
|
-
const i =
|
|
8122
|
+
const i = Rt(a.newComment), l = M({
|
|
8123
8123
|
get() {
|
|
8124
8124
|
return i.value;
|
|
8125
8125
|
},
|
|
@@ -8799,7 +8799,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
8799
8799
|
},
|
|
8800
8800
|
emits: ["update:rule", "close"],
|
|
8801
8801
|
setup(t, { emit: e }) {
|
|
8802
|
-
const a = t, s =
|
|
8802
|
+
const a = t, s = Rt(
|
|
8803
8803
|
a.rule.itemType || me.ACTIVITIES
|
|
8804
8804
|
), n = M({
|
|
8805
8805
|
get() {
|
|
@@ -8833,14 +8833,14 @@ const Af = /* @__PURE__ */ q({
|
|
|
8833
8833
|
value: y.id,
|
|
8834
8834
|
label: y.name
|
|
8835
8835
|
}));
|
|
8836
|
-
}), r =
|
|
8836
|
+
}), r = Rt(a.rule.comparator), c = M({
|
|
8837
8837
|
get() {
|
|
8838
8838
|
return r.value;
|
|
8839
8839
|
},
|
|
8840
8840
|
set(m) {
|
|
8841
8841
|
e("update:rule", { ...a.rule, comparator: m });
|
|
8842
8842
|
}
|
|
8843
|
-
}), u = M(() => Object.values(Y2)), d =
|
|
8843
|
+
}), u = M(() => Object.values(Y2)), d = Rt(a.rule.trigger), v = M({
|
|
8844
8844
|
get() {
|
|
8845
8845
|
return d.value;
|
|
8846
8846
|
},
|
|
@@ -9214,7 +9214,7 @@ const Ef = {
|
|
|
9214
9214
|
return n.value ? (p(), C("div", Ef, [
|
|
9215
9215
|
A(ba, {
|
|
9216
9216
|
"can-go-back": !0,
|
|
9217
|
-
onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: Q(
|
|
9217
|
+
onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: Q(jt).TEMPLATES_LIST }))
|
|
9218
9218
|
}, {
|
|
9219
9219
|
primary: N(() => [
|
|
9220
9220
|
A(be, {
|
|
@@ -9302,7 +9302,7 @@ const Ef = {
|
|
|
9302
9302
|
])
|
|
9303
9303
|
])
|
|
9304
9304
|
]),
|
|
9305
|
-
(p(), D(
|
|
9305
|
+
(p(), D(Tt, { to: "body" }, [
|
|
9306
9306
|
u.value ? (p(), D(Ys, {
|
|
9307
9307
|
key: 0,
|
|
9308
9308
|
activity: u.value,
|
|
@@ -9331,7 +9331,7 @@ const Ef = {
|
|
|
9331
9331
|
_: 3
|
|
9332
9332
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
9333
9333
|
])),
|
|
9334
|
-
(p(), D(
|
|
9334
|
+
(p(), D(Tt, { to: "body" }, [
|
|
9335
9335
|
F.value ? (p(), D(Of, {
|
|
9336
9336
|
key: 0,
|
|
9337
9337
|
"template-id": n.value.id,
|
|
@@ -9401,7 +9401,7 @@ const ls = /* @__PURE__ */ q({
|
|
|
9401
9401
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9402
9402
|
key: o,
|
|
9403
9403
|
class: X(["ao-progress__progress"]),
|
|
9404
|
-
style:
|
|
9404
|
+
style: Mt({ width: `${o * 100}%` })
|
|
9405
9405
|
}, null, 4))), 128))
|
|
9406
9406
|
], 2));
|
|
9407
9407
|
}
|
|
@@ -9539,7 +9539,7 @@ const Xf = /* @__PURE__ */ q({
|
|
|
9539
9539
|
setup(t) {
|
|
9540
9540
|
return (e, a) => (p(), C("span", {
|
|
9541
9541
|
class: "aoBadge",
|
|
9542
|
-
style:
|
|
9542
|
+
style: Mt({ backgroundColor: e.color })
|
|
9543
9543
|
}, null, 4));
|
|
9544
9544
|
}
|
|
9545
9545
|
});
|
|
@@ -10348,7 +10348,7 @@ function Lh(t, e, a, s, n, o) {
|
|
|
10348
10348
|
}
|
|
10349
10349
|
tn.render = Lh;
|
|
10350
10350
|
tn.__file = "src/color/Colors.vue";
|
|
10351
|
-
var
|
|
10351
|
+
var Ut = q({
|
|
10352
10352
|
components: {
|
|
10353
10353
|
Saturation: Ks,
|
|
10354
10354
|
Hue: Gs,
|
|
@@ -10605,10 +10605,10 @@ function Hh(t, e, a, s, n, o) {
|
|
|
10605
10605
|
/* CLASS, STYLE */
|
|
10606
10606
|
);
|
|
10607
10607
|
}
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
t.component(
|
|
10608
|
+
Ut.render = Hh;
|
|
10609
|
+
Ut.__file = "src/color/ColorPicker.vue";
|
|
10610
|
+
Ut.install = (t) => {
|
|
10611
|
+
t.component(Ut.name, Ut);
|
|
10612
10612
|
};
|
|
10613
10613
|
const Vh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
10614
10614
|
__name: "AoColorPicker",
|
|
@@ -10642,7 +10642,7 @@ const Vh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10642
10642
|
ref_key: "pickerRef",
|
|
10643
10643
|
ref: s
|
|
10644
10644
|
}, [
|
|
10645
|
-
A(Q(
|
|
10645
|
+
A(Q(Ut), {
|
|
10646
10646
|
class: "color-picker",
|
|
10647
10647
|
theme: "light",
|
|
10648
10648
|
color: l.color,
|
|
@@ -10716,7 +10716,7 @@ const Dh = { class: "ao-mapping-card-project-phase__header" }, Bh = { class: "ao
|
|
|
10716
10716
|
class: "ao-mapping-card-project-phase",
|
|
10717
10717
|
"is-clickable": d.isEditable,
|
|
10718
10718
|
onClick: (w) => u(w, h),
|
|
10719
|
-
style:
|
|
10719
|
+
style: Mt({ "--ao-card-custom-bg": $ })
|
|
10720
10720
|
}, fa({
|
|
10721
10721
|
default: N(() => [
|
|
10722
10722
|
f("div", Bh, [
|
|
@@ -10800,14 +10800,14 @@ const Dh = { class: "ao-mapping-card-project-phase__header" }, Bh = { class: "ao
|
|
|
10800
10800
|
}
|
|
10801
10801
|
});
|
|
10802
10802
|
const qh = {
|
|
10803
|
+
key: 0,
|
|
10804
|
+
class: "ao-project-phase__drag ao-card__drag"
|
|
10805
|
+
}, Yh = {
|
|
10803
10806
|
key: 1,
|
|
10804
10807
|
class: "ao-project-phase__col-phase"
|
|
10805
|
-
},
|
|
10808
|
+
}, xh = {
|
|
10806
10809
|
key: 2,
|
|
10807
10810
|
class: "ao-mapping-project-phase__col-phase"
|
|
10808
|
-
}, xh = {
|
|
10809
|
-
key: 3,
|
|
10810
|
-
class: "ao-project-phase__col-milestones"
|
|
10811
10811
|
}, Kh = { class: "ao-project-phase__milestones" }, Gh = { class: "ao-project-phase__milestones-list-footer" }, Xh = /* @__PURE__ */ q({
|
|
10812
10812
|
__name: "AoProjectPhase",
|
|
10813
10813
|
props: {
|
|
@@ -10857,10 +10857,10 @@ const qh = {
|
|
|
10857
10857
|
"added" in m ? e("updateMilestone", {
|
|
10858
10858
|
id: m.added.element.id,
|
|
10859
10859
|
phaseId: a.phase.id,
|
|
10860
|
-
rank:
|
|
10860
|
+
rank: Ft(l.value, m.added.newIndex)
|
|
10861
10861
|
}) : "removed" in m || "moved" in m && e("updateMilestone", {
|
|
10862
10862
|
id: m.moved.element.id,
|
|
10863
|
-
rank:
|
|
10863
|
+
rank: Ft(l.value, m.moved.newIndex)
|
|
10864
10864
|
});
|
|
10865
10865
|
}, w = qi(), g = M(() => w.path.includes("/mapping"));
|
|
10866
10866
|
return (m, _) => {
|
|
@@ -10871,45 +10871,50 @@ const qh = {
|
|
|
10871
10871
|
{ "ao-project-phase--selected": m.phase.id === ((y = m.$route.params) == null ? void 0 : y.phaseId) }
|
|
10872
10872
|
])
|
|
10873
10873
|
}, [
|
|
10874
|
-
|
|
10874
|
+
f("div", {
|
|
10875
|
+
class: "ao-project-phases__draggable-card",
|
|
10876
|
+
style: Mt({ backgroundColor: m.phase.color || "var(--ao-color-sheet)" })
|
|
10877
|
+
}, [
|
|
10878
|
+
m.isEditable ? (p(), C("div", qh, [
|
|
10879
|
+
A(pe, {
|
|
10880
|
+
name: "DragIndicator",
|
|
10881
|
+
class: "ao-project-phase__drag-handle"
|
|
10882
|
+
})
|
|
10883
|
+
])) : O("", !0),
|
|
10884
|
+
g.value ? (p(), C("div", xh, [
|
|
10885
|
+
A(zh, {
|
|
10886
|
+
id: m.phase.id,
|
|
10887
|
+
milestones: l.value,
|
|
10888
|
+
name: m.phase.name,
|
|
10889
|
+
deadline: m.phase.deadline,
|
|
10890
|
+
active: m.phase.active,
|
|
10891
|
+
"is-editable": m.isEditable,
|
|
10892
|
+
"onUpdate:deadline": o,
|
|
10893
|
+
"onUpdate:title": n,
|
|
10894
|
+
onArchivePhase: v,
|
|
10895
|
+
onUnarchivePhase: h,
|
|
10896
|
+
onUpdatePhase: i
|
|
10897
|
+
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10898
|
+
])) : (p(), C("div", Yh, [
|
|
10899
|
+
A(Gf, {
|
|
10900
|
+
id: m.phase.id,
|
|
10901
|
+
milestones: l.value,
|
|
10902
|
+
name: m.phase.name,
|
|
10903
|
+
deadline: m.phase.deadline,
|
|
10904
|
+
active: m.phase.active,
|
|
10905
|
+
"is-editable": m.isEditable,
|
|
10906
|
+
"onUpdate:deadline": o,
|
|
10907
|
+
"onUpdate:title": n,
|
|
10908
|
+
onArchivePhase: v,
|
|
10909
|
+
onUnarchivePhase: h
|
|
10910
|
+
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10911
|
+
]))
|
|
10912
|
+
], 4),
|
|
10913
|
+
g.value ? O("", !0) : (p(), C("div", {
|
|
10875
10914
|
key: 0,
|
|
10876
|
-
class: "ao-project-
|
|
10877
|
-
style:
|
|
10915
|
+
class: "ao-project-phase__col-milestones",
|
|
10916
|
+
style: Mt({ backgroundColor: m.phase.color || "var(--ao-color-sheet)" })
|
|
10878
10917
|
}, [
|
|
10879
|
-
A(pe, {
|
|
10880
|
-
name: "DragIndicator",
|
|
10881
|
-
class: "ao-project-phase__drag-handle"
|
|
10882
|
-
})
|
|
10883
|
-
], 4)) : O("", !0),
|
|
10884
|
-
g.value ? (p(), C("div", Yh, [
|
|
10885
|
-
A(zh, {
|
|
10886
|
-
id: m.phase.id,
|
|
10887
|
-
milestones: l.value,
|
|
10888
|
-
name: m.phase.name,
|
|
10889
|
-
deadline: m.phase.deadline,
|
|
10890
|
-
active: m.phase.active,
|
|
10891
|
-
"is-editable": m.isEditable,
|
|
10892
|
-
"onUpdate:deadline": o,
|
|
10893
|
-
"onUpdate:title": n,
|
|
10894
|
-
onArchivePhase: v,
|
|
10895
|
-
onUnarchivePhase: h,
|
|
10896
|
-
onUpdatePhase: i
|
|
10897
|
-
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10898
|
-
])) : (p(), C("div", qh, [
|
|
10899
|
-
A(Gf, {
|
|
10900
|
-
id: m.phase.id,
|
|
10901
|
-
milestones: l.value,
|
|
10902
|
-
name: m.phase.name,
|
|
10903
|
-
deadline: m.phase.deadline,
|
|
10904
|
-
active: m.phase.active,
|
|
10905
|
-
"is-editable": m.isEditable,
|
|
10906
|
-
"onUpdate:deadline": o,
|
|
10907
|
-
"onUpdate:title": n,
|
|
10908
|
-
onArchivePhase: v,
|
|
10909
|
-
onUnarchivePhase: h
|
|
10910
|
-
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10911
|
-
])),
|
|
10912
|
-
g.value ? O("", !0) : (p(), C("div", xh, [
|
|
10913
10918
|
f("div", Kh, [
|
|
10914
10919
|
A(Q(mt), Ae({
|
|
10915
10920
|
class: "ao-project-phase__milestones-list",
|
|
@@ -10958,7 +10963,7 @@ const qh = {
|
|
|
10958
10963
|
}, null, 8, ["label"])) : O("", !0)
|
|
10959
10964
|
])
|
|
10960
10965
|
])
|
|
10961
|
-
]))
|
|
10966
|
+
], 4))
|
|
10962
10967
|
], 2);
|
|
10963
10968
|
};
|
|
10964
10969
|
}
|
|
@@ -11109,7 +11114,7 @@ const l9 = ["onSubmit"], r9 = { class: "ao-save-template-modal__form-body" }, u9
|
|
|
11109
11114
|
emits: ["save"],
|
|
11110
11115
|
setup(t, { emit: e }) {
|
|
11111
11116
|
const a = t, s = x(""), n = x([]);
|
|
11112
|
-
|
|
11117
|
+
It(() => {
|
|
11113
11118
|
n.value = a.phases.map((i) => i.id);
|
|
11114
11119
|
});
|
|
11115
11120
|
const o = () => {
|
|
@@ -11356,7 +11361,7 @@ const an = /* @__PURE__ */ U(g9, [["render", y9], ["__scopeId", "data-v-ff4e3297
|
|
|
11356
11361
|
onArchiveActivity: g,
|
|
11357
11362
|
onUnarchiveActivity: m
|
|
11358
11363
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
11359
|
-
(p(), D(
|
|
11364
|
+
(p(), D(Tt, { to: "body" }, [
|
|
11360
11365
|
A(R, {
|
|
11361
11366
|
name: "modal",
|
|
11362
11367
|
activities: I.value,
|
|
@@ -11391,7 +11396,7 @@ const an = /* @__PURE__ */ U(g9, [["render", y9], ["__scopeId", "data-v-ff4e3297
|
|
|
11391
11396
|
}, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
|
|
11392
11397
|
]))
|
|
11393
11398
|
], 16),
|
|
11394
|
-
(p(), D(
|
|
11399
|
+
(p(), D(Tt, { to: "body" }, [
|
|
11395
11400
|
j.value ? (p(), D(mi, {
|
|
11396
11401
|
key: 0,
|
|
11397
11402
|
phases: T.phases,
|
|
@@ -11648,7 +11653,7 @@ const q9 = { class: "ao-project-milestone" }, Y9 = { class: "ao-project-mileston
|
|
|
11648
11653
|
}, d = (_) => {
|
|
11649
11654
|
l.value && "moved" in _ && e("updateActivity", {
|
|
11650
11655
|
id: _.moved.element.id,
|
|
11651
|
-
rank:
|
|
11656
|
+
rank: Ft(l.value, _.moved.newIndex)
|
|
11652
11657
|
});
|
|
11653
11658
|
}, v = M({
|
|
11654
11659
|
get: () => {
|
|
@@ -11786,7 +11791,7 @@ const q9 = { class: "ao-project-milestone" }, Y9 = { class: "ao-project-mileston
|
|
|
11786
11791
|
}, {
|
|
11787
11792
|
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11788
11793
|
f("button", {
|
|
11789
|
-
style:
|
|
11794
|
+
style: Mt({ background: L }),
|
|
11790
11795
|
class: "color-button",
|
|
11791
11796
|
onClick: I
|
|
11792
11797
|
}, null, 12, a4)
|
|
@@ -12035,8 +12040,8 @@ function bs(t) {
|
|
|
12035
12040
|
}
|
|
12036
12041
|
const f4 = u4 ? window : void 0;
|
|
12037
12042
|
function h4() {
|
|
12038
|
-
const t = x(!1), e =
|
|
12039
|
-
return e &&
|
|
12043
|
+
const t = x(!1), e = Lt();
|
|
12044
|
+
return e && It(() => {
|
|
12040
12045
|
t.value = !0;
|
|
12041
12046
|
}, e), t;
|
|
12042
12047
|
}
|
|
@@ -12140,10 +12145,10 @@ const C4 = {
|
|
|
12140
12145
|
"added" in u ? e("updateActivity", {
|
|
12141
12146
|
id: u.added.element.id,
|
|
12142
12147
|
statusId: a.status.id,
|
|
12143
|
-
rank:
|
|
12148
|
+
rank: Ft(a.list, u.added.newIndex)
|
|
12144
12149
|
}) : "removed" in u || "moved" in u && e("updateActivity", {
|
|
12145
12150
|
id: u.moved.element.id,
|
|
12146
|
-
rank:
|
|
12151
|
+
rank: Ft(
|
|
12147
12152
|
a.list,
|
|
12148
12153
|
u.moved.newIndex
|
|
12149
12154
|
)
|
|
@@ -12334,7 +12339,7 @@ const O4 = { class: "ao-feed" }, E4 = { class: "ao-feed__filters" }, I4 = { clas
|
|
|
12334
12339
|
function n(k, R) {
|
|
12335
12340
|
e("toast", k, R);
|
|
12336
12341
|
}
|
|
12337
|
-
const o =
|
|
12342
|
+
const o = Rt(a, "activities"), i = async (k, R) => {
|
|
12338
12343
|
await e("selectActivity", k, R);
|
|
12339
12344
|
}, l = x({}), r = x(!1), c = x(!1), u = M(() => a.project ? "milestone" : "project");
|
|
12340
12345
|
ce(
|
|
@@ -12441,36 +12446,36 @@ const O4 = { class: "ao-feed" }, E4 = { class: "ao-feed__filters" }, I4 = { clas
|
|
|
12441
12446
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12442
12447
|
a.project ? O("", !0) : (p(), D(Se, {
|
|
12443
12448
|
key: 0,
|
|
12444
|
-
"model-value": k.filters[Q(
|
|
12449
|
+
"model-value": k.filters[Q(Dt).project],
|
|
12445
12450
|
mode: "tags",
|
|
12446
12451
|
options: w.value,
|
|
12447
12452
|
"close-on-select": !1,
|
|
12448
12453
|
searchable: !0,
|
|
12449
12454
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12450
12455
|
placeholder: k.$t("feed.filters.project.placeholder"),
|
|
12451
|
-
"onUpdate:modelValue": R[1] || (R[1] = (V) => h(Q(
|
|
12456
|
+
"onUpdate:modelValue": R[1] || (R[1] = (V) => h(Q(Dt).project, V))
|
|
12452
12457
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12453
12458
|
g.value ? (p(), D(Se, {
|
|
12454
12459
|
key: 1,
|
|
12455
|
-
"model-value": k.filters[Q(
|
|
12460
|
+
"model-value": k.filters[Q(Dt).type],
|
|
12456
12461
|
mode: "tags",
|
|
12457
12462
|
options: g.value,
|
|
12458
12463
|
"close-on-select": !1,
|
|
12459
12464
|
searchable: !0,
|
|
12460
12465
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12461
12466
|
placeholder: k.$t("feed.filters.activityType.placeholder"),
|
|
12462
|
-
"onUpdate:modelValue": R[2] || (R[2] = (V) => h(Q(
|
|
12467
|
+
"onUpdate:modelValue": R[2] || (R[2] = (V) => h(Q(Dt).type, V))
|
|
12463
12468
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12464
12469
|
m.value.length ? (p(), D(Se, {
|
|
12465
12470
|
key: 2,
|
|
12466
|
-
"model-value": k.filters[Q(
|
|
12471
|
+
"model-value": k.filters[Q(Dt).assignee],
|
|
12467
12472
|
mode: "tags",
|
|
12468
12473
|
options: m.value,
|
|
12469
12474
|
"close-on-select": !1,
|
|
12470
12475
|
searchable: !0,
|
|
12471
12476
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12472
12477
|
placeholder: k.$t("feed.filters.assignee.placeholder"),
|
|
12473
|
-
"onUpdate:modelValue": R[3] || (R[3] = (V) => h(Q(
|
|
12478
|
+
"onUpdate:modelValue": R[3] || (R[3] = (V) => h(Q(Dt).assignee, V))
|
|
12474
12479
|
}, {
|
|
12475
12480
|
tag: N(({
|
|
12476
12481
|
option: V,
|
|
@@ -12543,7 +12548,7 @@ const O4 = { class: "ao-feed" }, E4 = { class: "ao-feed__filters" }, I4 = { clas
|
|
|
12543
12548
|
onUpdateActivity: y
|
|
12544
12549
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12545
12550
|
]),
|
|
12546
|
-
(p(), D(
|
|
12551
|
+
(p(), D(Tt, { to: "body" }, [
|
|
12547
12552
|
k.selectedActivity ? (p(), D(Ys, {
|
|
12548
12553
|
key: 0,
|
|
12549
12554
|
activity: k.selectedActivity,
|
|
@@ -12690,7 +12695,7 @@ const P4 = { class: "ao-project-mapping" }, H4 = { class: "ao-project-mapping-ma
|
|
|
12690
12695
|
])
|
|
12691
12696
|
])
|
|
12692
12697
|
], 16),
|
|
12693
|
-
(p(), D(
|
|
12698
|
+
(p(), D(Tt, { to: "body" }, [
|
|
12694
12699
|
u.value ? (p(), D(mi, {
|
|
12695
12700
|
key: 0,
|
|
12696
12701
|
phases: g.phases,
|
|
@@ -12708,25 +12713,25 @@ const P4 = { class: "ao-project-mapping" }, H4 = { class: "ao-project-mapping-ma
|
|
|
12708
12713
|
], 64));
|
|
12709
12714
|
}
|
|
12710
12715
|
});
|
|
12711
|
-
const
|
|
12716
|
+
const jt = {
|
|
12712
12717
|
TEMPLATES: "templates",
|
|
12713
12718
|
TEMPLATE_DETAILS: "template_details",
|
|
12714
12719
|
TEMPLATES_LIST: "templates_list"
|
|
12715
12720
|
}, t8 = (t, e = {}) => [
|
|
12716
12721
|
{
|
|
12717
12722
|
path: t,
|
|
12718
|
-
name:
|
|
12719
|
-
redirect: { name:
|
|
12723
|
+
name: jt.TEMPLATES,
|
|
12724
|
+
redirect: { name: jt.TEMPLATES_LIST },
|
|
12720
12725
|
...e,
|
|
12721
12726
|
children: [
|
|
12722
12727
|
{
|
|
12723
12728
|
path: "",
|
|
12724
|
-
name:
|
|
12729
|
+
name: jt.TEMPLATES_LIST,
|
|
12725
12730
|
component: N4
|
|
12726
12731
|
},
|
|
12727
12732
|
{
|
|
12728
12733
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12729
|
-
name:
|
|
12734
|
+
name: jt.TEMPLATE_DETAILS,
|
|
12730
12735
|
component: Bf,
|
|
12731
12736
|
props: !0
|
|
12732
12737
|
}
|
|
@@ -12863,7 +12868,7 @@ const Bt = {
|
|
|
12863
12868
|
"updated-by": u.updatedBy,
|
|
12864
12869
|
onUpdateTitle: (v) => o(u.id, v),
|
|
12865
12870
|
onClick: (v) => r.$router.push({
|
|
12866
|
-
name: Q(
|
|
12871
|
+
name: Q(jt).TEMPLATE_DETAILS,
|
|
12867
12872
|
params: { templateId: u.id }
|
|
12868
12873
|
}),
|
|
12869
12874
|
onDeleteItem: c[0] || (c[0] = (v, h) => i(v, h))
|
|
@@ -12964,7 +12969,7 @@ export {
|
|
|
12964
12969
|
G2 as TemplateItemTypeEnum,
|
|
12965
12970
|
J4 as activityFeedStatus,
|
|
12966
12971
|
Q4 as durationTypes,
|
|
12967
|
-
|
|
12972
|
+
Dt as feedFilterTypes,
|
|
12968
12973
|
a8 as getProjectOverviewRoutes,
|
|
12969
12974
|
t8 as getTemplateRoutes,
|
|
12970
12975
|
e8 as listUpdateTypes,
|
|
@@ -12974,5 +12979,5 @@ export {
|
|
|
12974
12979
|
K2 as ruleDurationUnits,
|
|
12975
12980
|
x2 as ruleTriggerTypes,
|
|
12976
12981
|
me as templateItemType,
|
|
12977
|
-
|
|
12982
|
+
jt as templateRouteNames
|
|
12978
12983
|
};
|