@26lights/orcha 0.31.1 → 0.31.3
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.css +1 -1
- package/dist/orcha.es.js +616 -597
- package/dist/orcha.umd.js +2 -2
- package/dist/src/types/index.d.ts +6 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Qe, normalizeClass as G, renderSlot as X, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ke, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as Ye, vModelText as mt, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
|
|
2
2
|
import { RouterView as ys } from "vue-router";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import Je from "vuedraggable";
|
|
4
|
+
const d8 = /* @__PURE__ */ K({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -23,13 +23,13 @@ const o8 = /* @__PURE__ */ K({
|
|
|
23
23
|
}, $s = /* @__PURE__ */ v("path", {
|
|
24
24
|
d: "M12 13C12.9667 13 13.7917 12.6583 14.475 11.975C15.1583 11.2917 15.5 10.4667 15.5 9.5C15.5 8.53333 15.1583 7.70833 14.475 7.025C13.7917 6.34167 12.9667 6 12 6C11.0333 6 10.2083 6.34167 9.525 7.025C8.84167 7.70833 8.5 8.53333 8.5 9.5C8.5 10.4667 8.84167 11.2917 9.525 11.975C10.2083 12.6583 11.0333 13 12 13ZM3 21V3H21V21H3ZM5 19H19V17.85C18.1 16.9667 17.054 16.271 15.862 15.763C14.67 15.255 13.3827 15.0007 12 15C10.6167 15 9.329 15.2543 8.137 15.763C6.945 16.2717 5.89933 16.9673 5 17.85V19Z",
|
|
25
25
|
fill: "black"
|
|
26
|
-
}, null, -1),
|
|
26
|
+
}, null, -1), ks = [
|
|
27
27
|
$s
|
|
28
28
|
];
|
|
29
|
-
function
|
|
30
|
-
return f(), h("svg", ws,
|
|
29
|
+
function Ms(t, e) {
|
|
30
|
+
return f(), h("svg", ws, ks);
|
|
31
31
|
}
|
|
32
|
-
const As = /* @__PURE__ */ B(bs, [["render",
|
|
32
|
+
const As = /* @__PURE__ */ B(bs, [["render", Ms]]), Ts = {}, Ss = {
|
|
33
33
|
width: "24",
|
|
34
34
|
height: "24",
|
|
35
35
|
viewBox: "0 0 24 24",
|
|
@@ -155,14 +155,14 @@ const bn = /* @__PURE__ */ B(mn, [["render", yn]]), wn = {}, $n = {
|
|
|
155
155
|
viewBox: "0 0 24 24",
|
|
156
156
|
fill: "none",
|
|
157
157
|
xmlns: "http://www.w3.org/2000/svg"
|
|
158
|
-
},
|
|
158
|
+
}, kn = /* @__PURE__ */ v("path", {
|
|
159
159
|
d: "M11.3 19.3C11.1167 19.1167 11.0207 18.8834 11.012 18.6C11.004 18.3167 11.0917 18.0834 11.275 17.9L16.175 13H5C4.71667 13 4.479 12.904 4.287 12.712C4.09567 12.5207 4 12.2834 4 12C4 11.7167 4.09567 11.479 4.287 11.287C4.479 11.0957 4.71667 11 5 11H16.175L11.275 6.10005C11.0917 5.91672 11.004 5.68338 11.012 5.40005C11.0207 5.11672 11.1167 4.88338 11.3 4.70005C11.4833 4.51672 11.7167 4.42505 12 4.42505C12.2833 4.42505 12.5167 4.51672 12.7 4.70005L19.3 11.3C19.4 11.3834 19.471 11.4874 19.513 11.612C19.5543 11.7374 19.575 11.8667 19.575 12C19.575 12.1334 19.5543 12.2584 19.513 12.375C19.471 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4834 12.2833 19.575 12 19.575C11.7167 19.575 11.4833 19.4834 11.3 19.3V19.3Z",
|
|
160
160
|
fill: "black"
|
|
161
|
-
}, null, -1),
|
|
162
|
-
|
|
161
|
+
}, null, -1), Mn = [
|
|
162
|
+
kn
|
|
163
163
|
];
|
|
164
164
|
function An(t, e) {
|
|
165
|
-
return f(), h("svg", $n,
|
|
165
|
+
return f(), h("svg", $n, Mn);
|
|
166
166
|
}
|
|
167
167
|
const Tn = /* @__PURE__ */ B(wn, [["render", An]]), Sn = {}, En = {
|
|
168
168
|
width: "24",
|
|
@@ -290,14 +290,14 @@ const bi = /* @__PURE__ */ B(mi, [["render", yi]]), wi = {}, $i = {
|
|
|
290
290
|
viewBox: "0 0 24 24",
|
|
291
291
|
fill: "none",
|
|
292
292
|
xmlns: "http://www.w3.org/2000/svg"
|
|
293
|
-
},
|
|
293
|
+
}, ki = /* @__PURE__ */ v("path", {
|
|
294
294
|
d: "M10 13.6L15.9 7.70005C16.0834 7.51672 16.3167 7.42505 16.6 7.42505C16.8834 7.42505 17.1167 7.51672 17.3 7.70005C17.4834 7.88338 17.575 8.11671 17.575 8.40005C17.575 8.68338 17.4834 8.91672 17.3 9.10005L10.7 15.7C10.5 15.9 10.2667 16 10 16C9.73338 16 9.50005 15.9 9.30005 15.7L6.70005 13.1C6.51672 12.9167 6.42505 12.6834 6.42505 12.4C6.42505 12.1167 6.51672 11.8834 6.70005 11.7C6.88338 11.5167 7.11672 11.425 7.40005 11.425C7.68338 11.425 7.91672 11.5167 8.10005 11.7L10 13.6Z",
|
|
295
295
|
fill: "black"
|
|
296
|
-
}, null, -1),
|
|
297
|
-
|
|
296
|
+
}, null, -1), Mi = [
|
|
297
|
+
ki
|
|
298
298
|
];
|
|
299
299
|
function Ai(t, e) {
|
|
300
|
-
return f(), h("svg", $i,
|
|
300
|
+
return f(), h("svg", $i, Mi);
|
|
301
301
|
}
|
|
302
302
|
const Ti = /* @__PURE__ */ B(wi, [["render", Ai]]), Si = {}, Ei = {
|
|
303
303
|
width: "24",
|
|
@@ -419,20 +419,20 @@ const mo = /* @__PURE__ */ B(co, [["render", ho]]), Co = {}, _o = {
|
|
|
419
419
|
function bo(t, e) {
|
|
420
420
|
return f(), h("svg", _o, yo);
|
|
421
421
|
}
|
|
422
|
-
const wo = /* @__PURE__ */ B(Co, [["render", bo]]), $o = {},
|
|
422
|
+
const wo = /* @__PURE__ */ B(Co, [["render", bo]]), $o = {}, ko = {
|
|
423
423
|
width: "24",
|
|
424
424
|
height: "24",
|
|
425
425
|
viewBox: "0 0 24 24",
|
|
426
426
|
fill: "none",
|
|
427
427
|
xmlns: "http://www.w3.org/2000/svg"
|
|
428
|
-
},
|
|
428
|
+
}, Mo = /* @__PURE__ */ v("path", {
|
|
429
429
|
d: "M6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",
|
|
430
430
|
fill: "black"
|
|
431
431
|
}, null, -1), Ao = [
|
|
432
|
-
|
|
432
|
+
Mo
|
|
433
433
|
];
|
|
434
434
|
function To(t, e) {
|
|
435
|
-
return f(), h("svg",
|
|
435
|
+
return f(), h("svg", ko, Ao);
|
|
436
436
|
}
|
|
437
437
|
const So = /* @__PURE__ */ B($o, [["render", To]]), Eo = {}, Io = {
|
|
438
438
|
width: "24",
|
|
@@ -554,20 +554,20 @@ const ml = /* @__PURE__ */ B(cl, [["render", hl]]), Cl = {}, _l = {
|
|
|
554
554
|
function bl(t, e) {
|
|
555
555
|
return f(), h("svg", _l, yl);
|
|
556
556
|
}
|
|
557
|
-
const wl = /* @__PURE__ */ B(Cl, [["render", bl]]), $l = {},
|
|
557
|
+
const wl = /* @__PURE__ */ B(Cl, [["render", bl]]), $l = {}, kl = {
|
|
558
558
|
width: "24",
|
|
559
559
|
height: "24",
|
|
560
560
|
viewBox: "0 0 24 24",
|
|
561
561
|
fill: "none",
|
|
562
562
|
xmlns: "http://www.w3.org/2000/svg"
|
|
563
|
-
},
|
|
563
|
+
}, Ml = /* @__PURE__ */ v("path", {
|
|
564
564
|
d: "M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",
|
|
565
565
|
fill: "black"
|
|
566
566
|
}, null, -1), Al = [
|
|
567
|
-
|
|
567
|
+
Ml
|
|
568
568
|
];
|
|
569
569
|
function Tl(t, e) {
|
|
570
|
-
return f(), h("svg",
|
|
570
|
+
return f(), h("svg", kl, Al);
|
|
571
571
|
}
|
|
572
572
|
const Sl = /* @__PURE__ */ B($l, [["render", Tl]]), El = {}, Il = {
|
|
573
573
|
width: "24",
|
|
@@ -702,7 +702,7 @@ const _r = /* @__PURE__ */ B(vr, [["render", Cr]]), gr = {}, yr = {
|
|
|
702
702
|
function $r(t, e) {
|
|
703
703
|
return f(), h("svg", yr, wr);
|
|
704
704
|
}
|
|
705
|
-
const
|
|
705
|
+
const kr = /* @__PURE__ */ B(gr, [["render", $r]]), Mr = {}, Ar = {
|
|
706
706
|
width: "24",
|
|
707
707
|
height: "24",
|
|
708
708
|
viewBox: "0 0 24 24",
|
|
@@ -717,7 +717,7 @@ const Mr = /* @__PURE__ */ B(gr, [["render", $r]]), kr = {}, Ar = {
|
|
|
717
717
|
function Er(t, e) {
|
|
718
718
|
return f(), h("svg", Ar, Sr);
|
|
719
719
|
}
|
|
720
|
-
const Ir = /* @__PURE__ */ B(
|
|
720
|
+
const Ir = /* @__PURE__ */ B(Mr, [["render", Er]]), Or = {}, Lr = {
|
|
721
721
|
width: "24",
|
|
722
722
|
height: "24",
|
|
723
723
|
viewBox: "0 0 24 24",
|
|
@@ -837,7 +837,7 @@ const _2 = /* @__PURE__ */ B(v2, [["render", C2]]), g2 = {}, y2 = {
|
|
|
837
837
|
function $2(t, e) {
|
|
838
838
|
return f(), h("svg", y2, w2);
|
|
839
839
|
}
|
|
840
|
-
const
|
|
840
|
+
const k2 = /* @__PURE__ */ B(g2, [["render", $2]]), M2 = {}, A2 = {
|
|
841
841
|
width: "26",
|
|
842
842
|
height: "29",
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
@@ -849,7 +849,7 @@ const M2 = /* @__PURE__ */ B(g2, [["render", $2]]), k2 = {}, A2 = {
|
|
|
849
849
|
function E2(t, e) {
|
|
850
850
|
return f(), h("svg", A2, S2);
|
|
851
851
|
}
|
|
852
|
-
const I2 = /* @__PURE__ */ B(
|
|
852
|
+
const I2 = /* @__PURE__ */ B(M2, [["render", E2]]), O2 = {}, L2 = {
|
|
853
853
|
width: "24",
|
|
854
854
|
height: "24",
|
|
855
855
|
viewBox: "0 0 24 24",
|
|
@@ -969,7 +969,7 @@ const _u = /* @__PURE__ */ B(vu, [["render", Cu]]), gu = {}, yu = {
|
|
|
969
969
|
function $u(t, e) {
|
|
970
970
|
return f(), h("svg", yu, wu);
|
|
971
971
|
}
|
|
972
|
-
const
|
|
972
|
+
const ku = /* @__PURE__ */ B(gu, [["render", $u]]), Mu = {}, Au = {
|
|
973
973
|
width: "24",
|
|
974
974
|
height: "24",
|
|
975
975
|
viewBox: "0 0 24 24",
|
|
@@ -984,7 +984,7 @@ const Mu = /* @__PURE__ */ B(gu, [["render", $u]]), ku = {}, Au = {
|
|
|
984
984
|
function Eu(t, e) {
|
|
985
985
|
return f(), h("svg", Au, Su);
|
|
986
986
|
}
|
|
987
|
-
const Iu = /* @__PURE__ */ B(
|
|
987
|
+
const Iu = /* @__PURE__ */ B(Mu, [["render", Eu]]), Ou = {}, Lu = {
|
|
988
988
|
width: "24",
|
|
989
989
|
height: "24",
|
|
990
990
|
viewBox: "0 0 24 24",
|
|
@@ -1105,7 +1105,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1105
1105
|
Lock: or,
|
|
1106
1106
|
LogoutRounded: fr,
|
|
1107
1107
|
Menu: _r,
|
|
1108
|
-
MoreHoriz:
|
|
1108
|
+
MoreHoriz: kr,
|
|
1109
1109
|
MoreTimeRounded: Ir,
|
|
1110
1110
|
MoreVert: Pr,
|
|
1111
1111
|
MountainFlagOutlineRounded: Zr,
|
|
@@ -1114,7 +1114,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1114
1114
|
RadioButtonChecked: o2,
|
|
1115
1115
|
RadioButtonCheckedOutline: f2,
|
|
1116
1116
|
RadioButtonUnchecked: _2,
|
|
1117
|
-
RemoveRounded:
|
|
1117
|
+
RemoveRounded: k2,
|
|
1118
1118
|
SearchRounded: I2,
|
|
1119
1119
|
SelectCheckBox: P2,
|
|
1120
1120
|
SendRounded: Z2,
|
|
@@ -1123,7 +1123,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1123
1123
|
Target: ou,
|
|
1124
1124
|
TaskOutlineRounded: fu,
|
|
1125
1125
|
TextSnippetRounded: _u,
|
|
1126
|
-
TimerOutline:
|
|
1126
|
+
TimerOutline: ku,
|
|
1127
1127
|
ViewComfyAltRounded: Iu,
|
|
1128
1128
|
ViewCompactAltRounded: Pu,
|
|
1129
1129
|
ViewTimelineRounded: Zu,
|
|
@@ -1154,7 +1154,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1154
1154
|
},
|
|
1155
1155
|
setup(t) {
|
|
1156
1156
|
const e = t, a = b(() => ld[e.name]);
|
|
1157
|
-
return (n, s) => (f(), N(
|
|
1157
|
+
return (n, s) => (f(), N(Qe(a.value), {
|
|
1158
1158
|
class: G(["ao-icon", `ao-icon--${n.size}`])
|
|
1159
1159
|
}, null, 8, ["class"]));
|
|
1160
1160
|
}
|
|
@@ -1246,49 +1246,49 @@ const Ce = /* @__PURE__ */ K({
|
|
|
1246
1246
|
setup(t, { emit: e }) {
|
|
1247
1247
|
const a = t, n = Q(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } = pa(n), d = b(() => s.value ? "input" : a.tag || `h${a.level}`), r = b(() => a.isEditable ? s.value ? {
|
|
1248
1248
|
change: c,
|
|
1249
|
-
click: (
|
|
1249
|
+
click: (M) => M.stopPropagation(),
|
|
1250
1250
|
blur: p
|
|
1251
1251
|
} : {
|
|
1252
1252
|
click: w,
|
|
1253
1253
|
focus: w
|
|
1254
|
-
} : {}), c = i((
|
|
1254
|
+
} : {}), c = i((M, _) => {
|
|
1255
1255
|
const y = _.target.value;
|
|
1256
1256
|
e("update:title", y);
|
|
1257
1257
|
}), u = l(), p = async () => {
|
|
1258
1258
|
s.value && o(!1);
|
|
1259
1259
|
}, m = () => {
|
|
1260
1260
|
e("toggle-is-editing", !1);
|
|
1261
|
-
}, w = (
|
|
1262
|
-
|
|
1261
|
+
}, w = (M) => {
|
|
1262
|
+
M.stopPropagation(), s.value || o(!0);
|
|
1263
1263
|
};
|
|
1264
1264
|
return ue(
|
|
1265
1265
|
() => a.isEditable,
|
|
1266
|
-
(
|
|
1267
|
-
|
|
1266
|
+
(M) => {
|
|
1267
|
+
M || u();
|
|
1268
1268
|
}
|
|
1269
|
-
), (
|
|
1270
|
-
id:
|
|
1269
|
+
), (M, _) => (f(), N(Qe(d.value), Ee({
|
|
1270
|
+
id: M.id,
|
|
1271
1271
|
ref_key: "target",
|
|
1272
1272
|
ref: n,
|
|
1273
1273
|
class: [
|
|
1274
1274
|
"ao-title",
|
|
1275
|
-
`ao-title--${
|
|
1275
|
+
`ao-title--${M.level}`,
|
|
1276
1276
|
{
|
|
1277
|
-
[`ao-title--${
|
|
1278
|
-
"ao-title--editable":
|
|
1277
|
+
[`ao-title--${M.color}`]: !!M.color,
|
|
1278
|
+
"ao-title--editable": M.isEditable,
|
|
1279
1279
|
"ao-field__input ao-title--editing": z(s),
|
|
1280
1280
|
"ao-title--readonly": !z(s)
|
|
1281
1281
|
}
|
|
1282
1282
|
],
|
|
1283
1283
|
type: z(s) ? "text" : null,
|
|
1284
|
-
value: z(s) ?
|
|
1284
|
+
value: z(s) ? M.title : null,
|
|
1285
1285
|
tabindex: "0",
|
|
1286
|
-
onKeyup:
|
|
1286
|
+
onKeyup: Ke(m, ["enter"])
|
|
1287
1287
|
}, fs(r.value), {
|
|
1288
|
-
onKeydown:
|
|
1288
|
+
onKeydown: Ke(z(u), ["esc"])
|
|
1289
1289
|
}), {
|
|
1290
1290
|
default: U(() => [
|
|
1291
|
-
a1(q(
|
|
1291
|
+
a1(q(M.title), 1)
|
|
1292
1292
|
]),
|
|
1293
1293
|
_: 1
|
|
1294
1294
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1332,7 +1332,7 @@ const fd = {
|
|
|
1332
1332
|
const a = (n) => {
|
|
1333
1333
|
e("update:title", n);
|
|
1334
1334
|
};
|
|
1335
|
-
return (n, s) => (f(), N(
|
|
1335
|
+
return (n, s) => (f(), N(Qe(n.tagName), {
|
|
1336
1336
|
class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1337
1337
|
}, {
|
|
1338
1338
|
default: U(() => [
|
|
@@ -1406,7 +1406,7 @@ const O1 = /* @__PURE__ */ K({
|
|
|
1406
1406
|
]),
|
|
1407
1407
|
style: ca(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1408
1408
|
}, [
|
|
1409
|
-
(f(), N(
|
|
1409
|
+
(f(), N(Qe(a.value), Ee({ class: "ao-tag__label" }, n.value, {
|
|
1410
1410
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1411
1411
|
}), {
|
|
1412
1412
|
default: U(() => [
|
|
@@ -1432,11 +1432,11 @@ const T1 = {
|
|
|
1432
1432
|
todo: "todo",
|
|
1433
1433
|
done: "done",
|
|
1434
1434
|
archived: "archived"
|
|
1435
|
-
},
|
|
1435
|
+
}, c8 = {
|
|
1436
1436
|
months: "months",
|
|
1437
1437
|
weeks: "weeks",
|
|
1438
1438
|
days: "days"
|
|
1439
|
-
},
|
|
1439
|
+
}, f8 = {
|
|
1440
1440
|
future: "future",
|
|
1441
1441
|
this_month: "this_month",
|
|
1442
1442
|
this_week: "this_week",
|
|
@@ -1459,8 +1459,8 @@ const T1 = {
|
|
|
1459
1459
|
ACTIVITIES: "activities",
|
|
1460
1460
|
TASKS: "tasks"
|
|
1461
1461
|
};
|
|
1462
|
-
var
|
|
1463
|
-
const
|
|
1462
|
+
var kd = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(kd || {});
|
|
1463
|
+
const v8 = {
|
|
1464
1464
|
add: "add",
|
|
1465
1465
|
remove: "remove",
|
|
1466
1466
|
moved: "moved"
|
|
@@ -1477,7 +1477,7 @@ function Gt(t) {
|
|
|
1477
1477
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1478
1478
|
}, Gt(t);
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function Ge(t) {
|
|
1481
1481
|
if (t === null || t === !0 || t === !1)
|
|
1482
1482
|
return NaN;
|
|
1483
1483
|
var e = Number(t);
|
|
@@ -1492,9 +1492,9 @@ function Be(t) {
|
|
|
1492
1492
|
var e = Object.prototype.toString.call(t);
|
|
1493
1493
|
return t instanceof Date || Gt(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function Md(t, e) {
|
|
1496
1496
|
ge(2, arguments);
|
|
1497
|
-
var a = Be(t).getTime(), n =
|
|
1497
|
+
var a = Be(t).getTime(), n = Ge(e);
|
|
1498
1498
|
return new Date(a + n);
|
|
1499
1499
|
}
|
|
1500
1500
|
var Ad = {};
|
|
@@ -1517,8 +1517,8 @@ function _a(t) {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
function Ed(t, e) {
|
|
1519
1519
|
ge(2, arguments);
|
|
1520
|
-
var a =
|
|
1521
|
-
return
|
|
1520
|
+
var a = Ge(e);
|
|
1521
|
+
return Md(t, -a);
|
|
1522
1522
|
}
|
|
1523
1523
|
var Id = 864e5;
|
|
1524
1524
|
function Od(t) {
|
|
@@ -1558,7 +1558,7 @@ function Dd(t) {
|
|
|
1558
1558
|
function xt(t, e) {
|
|
1559
1559
|
var a, n, s, o, i, l, d, r;
|
|
1560
1560
|
ge(1, arguments);
|
|
1561
|
-
var c = i1(), u =
|
|
1561
|
+
var c = i1(), u = Ge((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : c.weekStartsOn) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1562
1562
|
if (!(u >= 0 && u <= 6))
|
|
1563
1563
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1564
1564
|
var p = Be(t), m = p.getUTCDay(), w = (m < u ? 7 : 0) + m - u;
|
|
@@ -1567,20 +1567,20 @@ function xt(t, e) {
|
|
|
1567
1567
|
function ya(t, e) {
|
|
1568
1568
|
var a, n, s, o, i, l, d, r;
|
|
1569
1569
|
ge(1, arguments);
|
|
1570
|
-
var c = Be(t), u = c.getUTCFullYear(), p = i1(), m =
|
|
1570
|
+
var c = Be(t), u = c.getUTCFullYear(), p = i1(), m = Ge((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = p.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1571
1571
|
if (!(m >= 1 && m <= 7))
|
|
1572
1572
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1573
1573
|
var w = /* @__PURE__ */ new Date(0);
|
|
1574
1574
|
w.setUTCFullYear(u + 1, 0, m), w.setUTCHours(0, 0, 0, 0);
|
|
1575
|
-
var
|
|
1575
|
+
var M = xt(w, e), _ = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
_.setUTCFullYear(u, 0, m), _.setUTCHours(0, 0, 0, 0);
|
|
1577
|
-
var
|
|
1578
|
-
return c.getTime() >=
|
|
1577
|
+
var k = xt(_, e);
|
|
1578
|
+
return c.getTime() >= M.getTime() ? u + 1 : c.getTime() >= k.getTime() ? u : u - 1;
|
|
1579
1579
|
}
|
|
1580
1580
|
function Hd(t, e) {
|
|
1581
1581
|
var a, n, s, o, i, l, d, r;
|
|
1582
1582
|
ge(1, arguments);
|
|
1583
|
-
var c = i1(), u =
|
|
1583
|
+
var c = i1(), u = Ge((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = ya(t, e), m = /* @__PURE__ */ new Date(0);
|
|
1584
1584
|
m.setUTCFullYear(p, 0, u), m.setUTCHours(0, 0, 0, 0);
|
|
1585
1585
|
var w = xt(m, e);
|
|
1586
1586
|
return w;
|
|
@@ -2136,11 +2136,11 @@ var ct = {
|
|
|
2136
2136
|
return ea(i);
|
|
2137
2137
|
case "XXXX":
|
|
2138
2138
|
case "XX":
|
|
2139
|
-
return
|
|
2139
|
+
return tt(i);
|
|
2140
2140
|
case "XXXXX":
|
|
2141
2141
|
case "XXX":
|
|
2142
2142
|
default:
|
|
2143
|
-
return
|
|
2143
|
+
return tt(i, ":");
|
|
2144
2144
|
}
|
|
2145
2145
|
},
|
|
2146
2146
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -2151,11 +2151,11 @@ var ct = {
|
|
|
2151
2151
|
return ea(i);
|
|
2152
2152
|
case "xxxx":
|
|
2153
2153
|
case "xx":
|
|
2154
|
-
return
|
|
2154
|
+
return tt(i);
|
|
2155
2155
|
case "xxxxx":
|
|
2156
2156
|
case "xxx":
|
|
2157
2157
|
default:
|
|
2158
|
-
return
|
|
2158
|
+
return tt(i, ":");
|
|
2159
2159
|
}
|
|
2160
2160
|
},
|
|
2161
2161
|
// Timezone (GMT)
|
|
@@ -2168,7 +2168,7 @@ var ct = {
|
|
|
2168
2168
|
return "GMT" + J1(i, ":");
|
|
2169
2169
|
case "OOOO":
|
|
2170
2170
|
default:
|
|
2171
|
-
return "GMT" +
|
|
2171
|
+
return "GMT" + tt(i, ":");
|
|
2172
2172
|
}
|
|
2173
2173
|
},
|
|
2174
2174
|
// Timezone (specific non-location)
|
|
@@ -2181,7 +2181,7 @@ var ct = {
|
|
|
2181
2181
|
return "GMT" + J1(i, ":");
|
|
2182
2182
|
case "zzzz":
|
|
2183
2183
|
default:
|
|
2184
|
-
return "GMT" +
|
|
2184
|
+
return "GMT" + tt(i, ":");
|
|
2185
2185
|
}
|
|
2186
2186
|
},
|
|
2187
2187
|
// Seconds timestamp
|
|
@@ -2207,9 +2207,9 @@ function ea(t, e) {
|
|
|
2207
2207
|
var a = t > 0 ? "-" : "+";
|
|
2208
2208
|
return a + le(Math.abs(t) / 60, 2);
|
|
2209
2209
|
}
|
|
2210
|
-
return
|
|
2210
|
+
return tt(t, e);
|
|
2211
2211
|
}
|
|
2212
|
-
function
|
|
2212
|
+
function tt(t, e) {
|
|
2213
2213
|
var a = e || "", n = t > 0 ? "-" : "+", s = Math.abs(t), o = le(Math.floor(s / 60), 2), i = le(s % 60, 2);
|
|
2214
2214
|
return n + o + a + i;
|
|
2215
2215
|
}
|
|
@@ -2419,7 +2419,7 @@ var ac = {
|
|
|
2419
2419
|
return ac[e];
|
|
2420
2420
|
};
|
|
2421
2421
|
const nc = sc;
|
|
2422
|
-
function
|
|
2422
|
+
function kt(t) {
|
|
2423
2423
|
return function(e, a) {
|
|
2424
2424
|
var n = a != null && a.context ? String(a.context) : "standalone", s;
|
|
2425
2425
|
if (n === "formatting" && t.formattingValues) {
|
|
@@ -2526,26 +2526,26 @@ var ic = {
|
|
|
2526
2526
|
return n + "th";
|
|
2527
2527
|
}, fc = {
|
|
2528
2528
|
ordinalNumber: cc,
|
|
2529
|
-
era:
|
|
2529
|
+
era: kt({
|
|
2530
2530
|
values: ic,
|
|
2531
2531
|
defaultWidth: "wide"
|
|
2532
2532
|
}),
|
|
2533
|
-
quarter:
|
|
2533
|
+
quarter: kt({
|
|
2534
2534
|
values: oc,
|
|
2535
2535
|
defaultWidth: "wide",
|
|
2536
2536
|
argumentCallback: function(e) {
|
|
2537
2537
|
return e - 1;
|
|
2538
2538
|
}
|
|
2539
2539
|
}),
|
|
2540
|
-
month:
|
|
2540
|
+
month: kt({
|
|
2541
2541
|
values: lc,
|
|
2542
2542
|
defaultWidth: "wide"
|
|
2543
2543
|
}),
|
|
2544
|
-
day:
|
|
2544
|
+
day: kt({
|
|
2545
2545
|
values: rc,
|
|
2546
2546
|
defaultWidth: "wide"
|
|
2547
2547
|
}),
|
|
2548
|
-
dayPeriod:
|
|
2548
|
+
dayPeriod: kt({
|
|
2549
2549
|
values: uc,
|
|
2550
2550
|
defaultWidth: "wide",
|
|
2551
2551
|
formattingValues: dc,
|
|
@@ -2614,10 +2614,10 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
|
|
|
2614
2614
|
narrow: /^[jfmasond]/i,
|
|
2615
2615
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
2616
2616
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
2617
|
-
},
|
|
2617
|
+
}, kc = {
|
|
2618
2618
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
2619
2619
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
2620
|
-
},
|
|
2620
|
+
}, Mc = {
|
|
2621
2621
|
narrow: /^[smtwf]/i,
|
|
2622
2622
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
2623
2623
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
@@ -2665,11 +2665,11 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
|
|
|
2665
2665
|
month: Mt({
|
|
2666
2666
|
matchPatterns: $c,
|
|
2667
2667
|
defaultMatchWidth: "wide",
|
|
2668
|
-
parsePatterns:
|
|
2668
|
+
parsePatterns: kc,
|
|
2669
2669
|
defaultParseWidth: "any"
|
|
2670
2670
|
}),
|
|
2671
2671
|
day: Mt({
|
|
2672
|
-
matchPatterns:
|
|
2672
|
+
matchPatterns: Mc,
|
|
2673
2673
|
defaultMatchWidth: "wide",
|
|
2674
2674
|
parsePatterns: Ac,
|
|
2675
2675
|
defaultParseWidth: "any"
|
|
@@ -2697,12 +2697,12 @@ var Oc = {
|
|
|
2697
2697
|
const Lc = Oc;
|
|
2698
2698
|
var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hc = /^'([^]*?)'?$/, Pc = /''/g, Bc = /[a-zA-Z]/;
|
|
2699
2699
|
function Nc(t, e, a) {
|
|
2700
|
-
var n, s, o, i, l, d, r, c, u, p, m, w,
|
|
2700
|
+
var n, s, o, i, l, d, r, c, u, p, m, w, M, _, k, y, L, Z;
|
|
2701
2701
|
ge(2, arguments);
|
|
2702
|
-
var W = String(e), V = i1(), x = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te =
|
|
2702
|
+
var W = String(e), V = i1(), x = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te = Ge((o = (i = (l = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (r = a.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = V.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2703
2703
|
if (!(te >= 1 && te <= 7))
|
|
2704
2704
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2705
|
-
var I =
|
|
2705
|
+
var I = Ge((m = (w = (M = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (k = a.locale) === null || k === void 0 || (y = k.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && M !== void 0 ? M : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
|
|
2706
2706
|
if (!(I >= 0 && I <= 6))
|
|
2707
2707
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2708
2708
|
if (!x.localize)
|
|
@@ -2720,8 +2720,8 @@ function Nc(t, e, a) {
|
|
|
2720
2720
|
}, ce = W.match(Dc).map(function(se) {
|
|
2721
2721
|
var re = se[0];
|
|
2722
2722
|
if (re === "p" || re === "P") {
|
|
2723
|
-
var
|
|
2724
|
-
return
|
|
2723
|
+
var A = Fd[re];
|
|
2724
|
+
return A(se, x.formatLong);
|
|
2725
2725
|
}
|
|
2726
2726
|
return se;
|
|
2727
2727
|
}).join("").match(Vc).map(function(se) {
|
|
@@ -2730,9 +2730,9 @@ function Nc(t, e, a) {
|
|
|
2730
2730
|
var re = se[0];
|
|
2731
2731
|
if (re === "'")
|
|
2732
2732
|
return Rc(se);
|
|
2733
|
-
var
|
|
2734
|
-
if (
|
|
2735
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)),
|
|
2733
|
+
var A = Ud[re];
|
|
2734
|
+
if (A)
|
|
2735
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), A(S, se, x.localize, P);
|
|
2736
2736
|
if (re.match(Bc))
|
|
2737
2737
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
|
|
2738
2738
|
return se;
|
|
@@ -2746,7 +2746,7 @@ function Rc(t) {
|
|
|
2746
2746
|
function Uc(t, e) {
|
|
2747
2747
|
var a;
|
|
2748
2748
|
ge(1, arguments);
|
|
2749
|
-
var n =
|
|
2749
|
+
var n = Ge((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
2750
2750
|
if (n !== 2 && n !== 1 && n !== 0)
|
|
2751
2751
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
2752
2752
|
if (!(typeof t == "string" || Object.prototype.toString.call(t) === "[object String]"))
|
|
@@ -2804,23 +2804,23 @@ function Wc(t, e) {
|
|
|
2804
2804
|
var a = t.match(jc);
|
|
2805
2805
|
if (!a)
|
|
2806
2806
|
return /* @__PURE__ */ new Date(NaN);
|
|
2807
|
-
var n = !!a[4], s =
|
|
2807
|
+
var n = !!a[4], s = At(a[1]), o = At(a[2]) - 1, i = At(a[3]), l = At(a[4]), d = At(a[5]) - 1;
|
|
2808
2808
|
if (n)
|
|
2809
2809
|
return Jc(e, l, d) ? Gc(e, l, d) : /* @__PURE__ */ new Date(NaN);
|
|
2810
2810
|
var r = /* @__PURE__ */ new Date(0);
|
|
2811
2811
|
return !xc(e, o, i) || !Qc(e, s) ? /* @__PURE__ */ new Date(NaN) : (r.setUTCFullYear(e, o, Math.max(s, i)), r);
|
|
2812
2812
|
}
|
|
2813
|
-
function
|
|
2813
|
+
function At(t) {
|
|
2814
2814
|
return t ? parseInt(t) : 1;
|
|
2815
2815
|
}
|
|
2816
2816
|
function Yc(t) {
|
|
2817
2817
|
var e = t.match(Zc);
|
|
2818
2818
|
if (!e)
|
|
2819
2819
|
return NaN;
|
|
2820
|
-
var a =
|
|
2820
|
+
var a = k1(e[1]), n = k1(e[2]), s = k1(e[3]);
|
|
2821
2821
|
return e0(a, n, s) ? a * Ca + n * ma + s * 1e3 : NaN;
|
|
2822
2822
|
}
|
|
2823
|
-
function
|
|
2823
|
+
function k1(t) {
|
|
2824
2824
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2825
2825
|
}
|
|
2826
2826
|
function Kc(t) {
|
|
@@ -2857,7 +2857,7 @@ function e0(t, e, a) {
|
|
|
2857
2857
|
function t0(t, e) {
|
|
2858
2858
|
return e >= 0 && e <= 59;
|
|
2859
2859
|
}
|
|
2860
|
-
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {},
|
|
2860
|
+
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {}, Tt = {}, Bt = {}, gt = {}, o1 = {};
|
|
2861
2861
|
Object.defineProperty(o1, "__esModule", { value: !0 });
|
|
2862
2862
|
o1.lexoHelper = void 0;
|
|
2863
2863
|
o1.lexoHelper = {
|
|
@@ -2895,8 +2895,8 @@ class s0 {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
}
|
|
2897
2897
|
Nt.default = s0;
|
|
2898
|
-
Object.defineProperty(
|
|
2899
|
-
|
|
2898
|
+
Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
2899
|
+
gt.LexoInteger = void 0;
|
|
2900
2900
|
const Wt = o1, n0 = Nt;
|
|
2901
2901
|
class ee {
|
|
2902
2902
|
constructor(e, a, n) {
|
|
@@ -3091,7 +3091,7 @@ class ee {
|
|
|
3091
3091
|
throw new Error("Expected numbers of same numeral sys");
|
|
3092
3092
|
}
|
|
3093
3093
|
}
|
|
3094
|
-
|
|
3094
|
+
gt.LexoInteger = ee;
|
|
3095
3095
|
ee.ZERO_MAG = [0];
|
|
3096
3096
|
ee.ONE_MAG = [1];
|
|
3097
3097
|
ee.NEGATIVE_SIGN = -1;
|
|
@@ -3099,35 +3099,35 @@ ee.ZERO_SIGN = 0;
|
|
|
3099
3099
|
ee.POSITIVE_SIGN = 1;
|
|
3100
3100
|
Object.defineProperty(Bt, "__esModule", { value: !0 });
|
|
3101
3101
|
Bt.LexoDecimal = void 0;
|
|
3102
|
-
const
|
|
3103
|
-
class
|
|
3102
|
+
const St = gt, i0 = Nt;
|
|
3103
|
+
class Me {
|
|
3104
3104
|
constructor(e, a) {
|
|
3105
3105
|
this.mag = e, this.sig = a;
|
|
3106
3106
|
}
|
|
3107
3107
|
static half(e) {
|
|
3108
3108
|
const a = e.getBase() / 2 | 0;
|
|
3109
|
-
return
|
|
3109
|
+
return Me.make(St.LexoInteger.make(e, 1, [a]), 1);
|
|
3110
3110
|
}
|
|
3111
3111
|
static parse(e, a) {
|
|
3112
3112
|
const n = e.indexOf(a.getRadixPointChar());
|
|
3113
3113
|
if (e.lastIndexOf(a.getRadixPointChar()) !== n)
|
|
3114
3114
|
throw new Error("More than one " + a.getRadixPointChar());
|
|
3115
3115
|
if (n < 0)
|
|
3116
|
-
return
|
|
3116
|
+
return Me.make(St.LexoInteger.parse(e, a), 0);
|
|
3117
3117
|
const s = e.substring(0, n) + e.substring(n + 1);
|
|
3118
|
-
return
|
|
3118
|
+
return Me.make(St.LexoInteger.parse(s, a), e.length - 1 - n);
|
|
3119
3119
|
}
|
|
3120
3120
|
static from(e) {
|
|
3121
|
-
return
|
|
3121
|
+
return Me.make(e, 0);
|
|
3122
3122
|
}
|
|
3123
3123
|
static make(e, a) {
|
|
3124
3124
|
if (e.isZero())
|
|
3125
|
-
return new
|
|
3125
|
+
return new Me(e, 0);
|
|
3126
3126
|
let n = 0;
|
|
3127
3127
|
for (let i = 0; i < a && e.getMag(i) === 0; ++i)
|
|
3128
3128
|
++n;
|
|
3129
3129
|
const s = e.shiftRight(n), o = a - n;
|
|
3130
|
-
return new
|
|
3130
|
+
return new Me(s, o);
|
|
3131
3131
|
}
|
|
3132
3132
|
getSystem() {
|
|
3133
3133
|
return this.mag.getSystem();
|
|
@@ -3138,7 +3138,7 @@ class ke {
|
|
|
3138
3138
|
a = a.shiftLeft();
|
|
3139
3139
|
for (; n > o; )
|
|
3140
3140
|
s = s.shiftLeft(), ++o;
|
|
3141
|
-
return
|
|
3141
|
+
return Me.make(a.add(s), n);
|
|
3142
3142
|
}
|
|
3143
3143
|
subtract(e) {
|
|
3144
3144
|
let a = this.mag, n = this.sig, s = e.mag, o;
|
|
@@ -3146,10 +3146,10 @@ class ke {
|
|
|
3146
3146
|
a = a.shiftLeft();
|
|
3147
3147
|
for (; n > o; )
|
|
3148
3148
|
s = s.shiftLeft(), ++o;
|
|
3149
|
-
return
|
|
3149
|
+
return Me.make(a.subtract(s), n);
|
|
3150
3150
|
}
|
|
3151
3151
|
multiply(e) {
|
|
3152
|
-
return
|
|
3152
|
+
return Me.make(this.mag.multiply(e.mag), this.sig + e.sig);
|
|
3153
3153
|
}
|
|
3154
3154
|
floor() {
|
|
3155
3155
|
return this.mag.shiftRight(this.sig);
|
|
@@ -3158,7 +3158,7 @@ class ke {
|
|
|
3158
3158
|
if (this.isExact())
|
|
3159
3159
|
return this.mag;
|
|
3160
3160
|
const e = this.floor();
|
|
3161
|
-
return e.add(
|
|
3161
|
+
return e.add(St.LexoInteger.one(e.getSystem()));
|
|
3162
3162
|
}
|
|
3163
3163
|
isExact() {
|
|
3164
3164
|
if (this.sig === 0)
|
|
@@ -3177,7 +3177,7 @@ class ke {
|
|
|
3177
3177
|
e < 0 && (e = 0);
|
|
3178
3178
|
const n = this.sig - e;
|
|
3179
3179
|
let s = this.mag.shiftRight(n);
|
|
3180
|
-
return a && (s = s.add(
|
|
3180
|
+
return a && (s = s.add(St.LexoInteger.one(s.getSystem()))), Me.make(s, e);
|
|
3181
3181
|
}
|
|
3182
3182
|
compareTo(e) {
|
|
3183
3183
|
if (this === e)
|
|
@@ -3203,13 +3203,13 @@ class ke {
|
|
|
3203
3203
|
return this.format();
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
|
-
Bt.LexoDecimal =
|
|
3206
|
+
Bt.LexoDecimal = Me;
|
|
3207
3207
|
var Yt = {}, sa;
|
|
3208
|
-
function
|
|
3208
|
+
function ka() {
|
|
3209
3209
|
if (sa)
|
|
3210
3210
|
return Yt;
|
|
3211
3211
|
sa = 1, Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
3212
|
-
const t =
|
|
3212
|
+
const t = gt, e = Aa();
|
|
3213
3213
|
class a {
|
|
3214
3214
|
constructor(s) {
|
|
3215
3215
|
this.value = t.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3262,8 +3262,8 @@ function Ma() {
|
|
|
3262
3262
|
}
|
|
3263
3263
|
return Yt.default = a, Yt;
|
|
3264
3264
|
}
|
|
3265
|
-
var L1 = {},
|
|
3266
|
-
Object.defineProperty(
|
|
3265
|
+
var L1 = {}, Ma = {};
|
|
3266
|
+
Object.defineProperty(Ma, "__esModule", { value: !0 });
|
|
3267
3267
|
var l1 = {};
|
|
3268
3268
|
Object.defineProperty(l1, "__esModule", { value: !0 });
|
|
3269
3269
|
l1.LexoNumeralSystem10 = void 0;
|
|
@@ -3371,14 +3371,14 @@ u1.LexoNumeralSystem64 = r0;
|
|
|
3371
3371
|
for (var o in n)
|
|
3372
3372
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3373
3373
|
};
|
|
3374
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3374
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Ma, t), a(l1, t), a(r1, t), a(u1, t);
|
|
3375
3375
|
})(L1);
|
|
3376
3376
|
var na;
|
|
3377
3377
|
function Aa() {
|
|
3378
3378
|
if (na)
|
|
3379
|
-
return
|
|
3380
|
-
na = 1, Object.defineProperty(
|
|
3381
|
-
const t = Bt, e =
|
|
3379
|
+
return Tt;
|
|
3380
|
+
na = 1, Object.defineProperty(Tt, "__esModule", { value: !0 }), Tt.LexoRank = void 0;
|
|
3381
|
+
const t = Bt, e = ka(), a = Nt, n = L1;
|
|
3382
3382
|
class s {
|
|
3383
3383
|
constructor(i, l) {
|
|
3384
3384
|
this.value = i.format() + "|" + s.formatDecimal(l), this.bucket = i, this.decimal = l;
|
|
@@ -3439,20 +3439,20 @@ function Aa() {
|
|
|
3439
3439
|
}
|
|
3440
3440
|
let u;
|
|
3441
3441
|
for (let w = d.getScale(); w > 0; r = u) {
|
|
3442
|
-
const
|
|
3443
|
-
if (u = r.setScale(
|
|
3442
|
+
const M = w - 1, _ = d.setScale(M, !0);
|
|
3443
|
+
if (u = r.setScale(M, !1), _.compareTo(u) === 0)
|
|
3444
3444
|
return s.checkMid(i, l, _);
|
|
3445
3445
|
if (_.compareTo(u) > 0)
|
|
3446
3446
|
break;
|
|
3447
|
-
w =
|
|
3447
|
+
w = M, d = _;
|
|
3448
3448
|
}
|
|
3449
3449
|
let p = s.middleInternal(i, l, d, r), m;
|
|
3450
3450
|
for (let w = p.getScale(); w > 0; w = m) {
|
|
3451
3451
|
m = w - 1;
|
|
3452
|
-
const
|
|
3453
|
-
if (i.compareTo(
|
|
3452
|
+
const M = p.setScale(m);
|
|
3453
|
+
if (i.compareTo(M) >= 0 || M.compareTo(l) >= 0)
|
|
3454
3454
|
break;
|
|
3455
|
-
p =
|
|
3455
|
+
p = M;
|
|
3456
3456
|
}
|
|
3457
3457
|
return p;
|
|
3458
3458
|
}
|
|
@@ -3549,7 +3549,7 @@ function Aa() {
|
|
|
3549
3549
|
return this === i ? 0 : i ? this.value.localeCompare(i.value) : 1;
|
|
3550
3550
|
}
|
|
3551
3551
|
}
|
|
3552
|
-
return
|
|
3552
|
+
return Tt.LexoRank = s, Tt;
|
|
3553
3553
|
}
|
|
3554
3554
|
(function(t) {
|
|
3555
3555
|
var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
@@ -3564,7 +3564,7 @@ function Aa() {
|
|
|
3564
3564
|
for (var o in n)
|
|
3565
3565
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3566
3566
|
};
|
|
3567
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Aa(), t), a(
|
|
3567
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Aa(), t), a(ka(), t), a(Bt, t), a(gt, t);
|
|
3568
3568
|
})($a);
|
|
3569
3569
|
(function(t) {
|
|
3570
3570
|
var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
@@ -3643,7 +3643,7 @@ function v0(t, e) {
|
|
|
3643
3643
|
const p0 = ["title"], h0 = {
|
|
3644
3644
|
key: 0,
|
|
3645
3645
|
className: "ao-avatar__initials"
|
|
3646
|
-
}, m0 = ["src"],
|
|
3646
|
+
}, m0 = ["src"], yt = /* @__PURE__ */ K({
|
|
3647
3647
|
__name: "AoAvatar",
|
|
3648
3648
|
props: {
|
|
3649
3649
|
userName: {},
|
|
@@ -3678,7 +3678,7 @@ const p0 = ["title"], h0 = {
|
|
|
3678
3678
|
], 10, p0));
|
|
3679
3679
|
}
|
|
3680
3680
|
});
|
|
3681
|
-
const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-template__subitem" }, g0 = { class: "ao-card-template__subitem-number" }, y0 = { class: "ao-card-template__subitem" }, b0 = { class: "ao-card-template__subitem" }, w0 = { class: "ao-card-template__body" }, $0 = { class: "ao-card-template__col ao-card-template__col--phases" },
|
|
3681
|
+
const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-template__subitem" }, g0 = { class: "ao-card-template__subitem-number" }, y0 = { class: "ao-card-template__subitem" }, b0 = { class: "ao-card-template__subitem" }, w0 = { class: "ao-card-template__body" }, $0 = { class: "ao-card-template__col ao-card-template__col--phases" }, k0 = { class: "ao-card-template__col-title" }, M0 = { class: "ao-card-template__col-label" }, A0 = {
|
|
3682
3682
|
key: 0,
|
|
3683
3683
|
class: "ao-card-template__col-body ao-card-template__phases-list"
|
|
3684
3684
|
}, T0 = { class: "ao-card-template__footer" }, S0 = {
|
|
@@ -3730,12 +3730,12 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3730
3730
|
default: U(() => [
|
|
3731
3731
|
v("div", w0, [
|
|
3732
3732
|
v("div", $0, [
|
|
3733
|
-
v("div",
|
|
3733
|
+
v("div", k0, [
|
|
3734
3734
|
E(fe, {
|
|
3735
3735
|
name: "WaterfallChartRounded",
|
|
3736
3736
|
size: "sm"
|
|
3737
3737
|
}),
|
|
3738
|
-
v("span",
|
|
3738
|
+
v("span", M0, q(n.$t("template.phases.title")), 1)
|
|
3739
3739
|
]),
|
|
3740
3740
|
n.phases ? (f(), h("ul", A0, [
|
|
3741
3741
|
(f(!0), h(ve, null, ye(n.phases, (o) => (f(), N(O1, {
|
|
@@ -3767,7 +3767,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
|
|
|
3767
3767
|
v("span", D0, q(n.$t("template.updatedBy.label")), 1)
|
|
3768
3768
|
]),
|
|
3769
3769
|
v("div", H0, [
|
|
3770
|
-
E(
|
|
3770
|
+
E(yt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
3771
3771
|
])
|
|
3772
3772
|
])) : T("", !0)
|
|
3773
3773
|
])
|
|
@@ -3806,7 +3806,7 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
|
|
|
3806
3806
|
const U0 = ["type"], j0 = {
|
|
3807
3807
|
key: 0,
|
|
3808
3808
|
class: "ao-button-card__label"
|
|
3809
|
-
},
|
|
3809
|
+
}, et = /* @__PURE__ */ K({
|
|
3810
3810
|
__name: "AoButtonCard",
|
|
3811
3811
|
props: {
|
|
3812
3812
|
label: { default: () => "" },
|
|
@@ -3958,7 +3958,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3958
3958
|
});
|
|
3959
3959
|
}
|
|
3960
3960
|
};
|
|
3961
|
-
return (l, d) => l.phase ? (f(), N(z(
|
|
3961
|
+
return (l, d) => l.phase ? (f(), N(z(Je), {
|
|
3962
3962
|
key: 0,
|
|
3963
3963
|
"model-value": l.phase.milestones,
|
|
3964
3964
|
class: "ao-templates__list",
|
|
@@ -3993,7 +3993,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3993
3993
|
]),
|
|
3994
3994
|
footer: U(() => [
|
|
3995
3995
|
v("div", K0, [
|
|
3996
|
-
E(
|
|
3996
|
+
E(et, {
|
|
3997
3997
|
"icon-name": "AddBoxOutlineRounded",
|
|
3998
3998
|
label: l.$t("template.milestones.add"),
|
|
3999
3999
|
onClick: n
|
|
@@ -4048,7 +4048,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4048
4048
|
});
|
|
4049
4049
|
}
|
|
4050
4050
|
};
|
|
4051
|
-
return (l, d) => l.milestone ? (f(), N(z(
|
|
4051
|
+
return (l, d) => l.milestone ? (f(), N(z(Je), {
|
|
4052
4052
|
key: 0,
|
|
4053
4053
|
"model-value": l.milestone.activities,
|
|
4054
4054
|
title: l.$t("template.activities.title"),
|
|
@@ -4079,7 +4079,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4079
4079
|
]),
|
|
4080
4080
|
footer: U(() => [
|
|
4081
4081
|
v("div", x0, [
|
|
4082
|
-
E(
|
|
4082
|
+
E(et, {
|
|
4083
4083
|
"icon-name": "AddBoxOutlineRounded",
|
|
4084
4084
|
label: l.$t("template.activities.add"),
|
|
4085
4085
|
onClick: n
|
|
@@ -4133,7 +4133,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4133
4133
|
], 2));
|
|
4134
4134
|
}
|
|
4135
4135
|
});
|
|
4136
|
-
const Lt = Math.min, Ae = Math.max, Qt = Math.round, Kt = Math.floor,
|
|
4136
|
+
const Lt = Math.min, Ae = Math.max, Qt = Math.round, Kt = Math.floor, Xe = (t) => ({
|
|
4137
4137
|
x: t,
|
|
4138
4138
|
y: t
|
|
4139
4139
|
}), i3 = {
|
|
@@ -4148,7 +4148,7 @@ const Lt = Math.min, Ae = Math.max, Qt = Math.round, Kt = Math.floor, Ge = (t) =
|
|
|
4148
4148
|
function H1(t, e) {
|
|
4149
4149
|
return typeof t == "function" ? t(e) : t;
|
|
4150
4150
|
}
|
|
4151
|
-
function
|
|
4151
|
+
function Ct(t) {
|
|
4152
4152
|
return t.split("-")[0];
|
|
4153
4153
|
}
|
|
4154
4154
|
function c1(t) {
|
|
@@ -4161,7 +4161,7 @@ function Ea(t) {
|
|
|
4161
4161
|
return t === "y" ? "height" : "width";
|
|
4162
4162
|
}
|
|
4163
4163
|
function P1(t) {
|
|
4164
|
-
return ["top", "bottom"].includes(
|
|
4164
|
+
return ["top", "bottom"].includes(Ct(t)) ? "y" : "x";
|
|
4165
4165
|
}
|
|
4166
4166
|
function Ia(t) {
|
|
4167
4167
|
return l3(P1(t));
|
|
@@ -4194,7 +4194,7 @@ function d3(t, e, a) {
|
|
|
4194
4194
|
}
|
|
4195
4195
|
function c3(t, e, a, n) {
|
|
4196
4196
|
const s = c1(t);
|
|
4197
|
-
let o = d3(
|
|
4197
|
+
let o = d3(Ct(t), a === "start", n);
|
|
4198
4198
|
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(E1)))), o;
|
|
4199
4199
|
}
|
|
4200
4200
|
function Jt(t) {
|
|
@@ -4231,7 +4231,7 @@ function ia(t, e, a) {
|
|
|
4231
4231
|
reference: n,
|
|
4232
4232
|
floating: s
|
|
4233
4233
|
} = t;
|
|
4234
|
-
const o = P1(e), i = Ia(e), l = Ea(i), d =
|
|
4234
|
+
const o = P1(e), i = Ia(e), l = Ea(i), d = Ct(e), r = o === "y", c = n.x + n.width / 2 - s.width / 2, u = n.y + n.height / 2 - s.height / 2, p = n[l] / 2 - s[l] / 2;
|
|
4235
4235
|
let m;
|
|
4236
4236
|
switch (d) {
|
|
4237
4237
|
case "top":
|
|
@@ -4289,16 +4289,16 @@ const p3 = async (t, e, a) => {
|
|
|
4289
4289
|
x: c,
|
|
4290
4290
|
y: u
|
|
4291
4291
|
} = ia(r, n, d), p = n, m = {}, w = 0;
|
|
4292
|
-
for (let
|
|
4292
|
+
for (let M = 0; M < l.length; M++) {
|
|
4293
4293
|
const {
|
|
4294
4294
|
name: _,
|
|
4295
|
-
fn:
|
|
4296
|
-
} = l[
|
|
4295
|
+
fn: k
|
|
4296
|
+
} = l[M], {
|
|
4297
4297
|
x: y,
|
|
4298
4298
|
y: L,
|
|
4299
4299
|
data: Z,
|
|
4300
4300
|
reset: W
|
|
4301
|
-
} = await
|
|
4301
|
+
} = await k({
|
|
4302
4302
|
x: c,
|
|
4303
4303
|
y: u,
|
|
4304
4304
|
initialPlacement: n,
|
|
@@ -4326,7 +4326,7 @@ const p3 = async (t, e, a) => {
|
|
|
4326
4326
|
}) : W.rects), {
|
|
4327
4327
|
x: c,
|
|
4328
4328
|
y: u
|
|
4329
|
-
} = ia(r, p, d)),
|
|
4329
|
+
} = ia(r, p, d)), M = -1;
|
|
4330
4330
|
continue;
|
|
4331
4331
|
}
|
|
4332
4332
|
}
|
|
@@ -4354,7 +4354,7 @@ async function Oa(t, e) {
|
|
|
4354
4354
|
elementContext: u = "floating",
|
|
4355
4355
|
altBoundary: p = !1,
|
|
4356
4356
|
padding: m = 0
|
|
4357
|
-
} = H1(e, t), w = v3(m), _ = l[p ? u === "floating" ? "reference" : "floating" : u],
|
|
4357
|
+
} = H1(e, t), w = v3(m), _ = l[p ? u === "floating" ? "reference" : "floating" : u], k = e1(await o.getClippingRect({
|
|
4358
4358
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
4359
4359
|
boundary: r,
|
|
4360
4360
|
rootBoundary: c,
|
|
@@ -4375,10 +4375,10 @@ async function Oa(t, e) {
|
|
|
4375
4375
|
strategy: d
|
|
4376
4376
|
}) : y);
|
|
4377
4377
|
return {
|
|
4378
|
-
top: (
|
|
4379
|
-
bottom: (W.bottom -
|
|
4380
|
-
left: (
|
|
4381
|
-
right: (W.right -
|
|
4378
|
+
top: (k.top - W.top + w.top) / Z.y,
|
|
4379
|
+
bottom: (W.bottom - k.bottom + w.bottom) / Z.y,
|
|
4380
|
+
left: (k.left - W.left + w.left) / Z.x,
|
|
4381
|
+
right: (W.right - k.right + w.right) / Z.x
|
|
4382
4382
|
};
|
|
4383
4383
|
}
|
|
4384
4384
|
const h3 = function(t) {
|
|
@@ -4400,16 +4400,16 @@ const h3 = function(t) {
|
|
|
4400
4400
|
fallbackPlacements: p,
|
|
4401
4401
|
fallbackStrategy: m = "bestFit",
|
|
4402
4402
|
fallbackAxisSideDirection: w = "none",
|
|
4403
|
-
flipAlignment:
|
|
4403
|
+
flipAlignment: M = !0,
|
|
4404
4404
|
..._
|
|
4405
4405
|
} = H1(t, e);
|
|
4406
4406
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4407
4407
|
return {};
|
|
4408
|
-
const
|
|
4409
|
-
!p && w !== "none" && Z.push(...c3(l,
|
|
4408
|
+
const k = Ct(s), y = Ct(l) === l, L = await (d.isRTL == null ? void 0 : d.isRTL(r.floating)), Z = p || (y || !M ? [Jt(l)] : u3(l));
|
|
4409
|
+
!p && w !== "none" && Z.push(...c3(l, M, w, L));
|
|
4410
4410
|
const W = [l, ...Z], V = await Oa(e, _), x = [];
|
|
4411
4411
|
let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4412
|
-
if (c && x.push(V[
|
|
4412
|
+
if (c && x.push(V[k]), u) {
|
|
4413
4413
|
const S = r3(s, i, L);
|
|
4414
4414
|
x.push(V[S[0]], V[S[1]]);
|
|
4415
4415
|
}
|
|
@@ -4434,7 +4434,7 @@ const h3 = function(t) {
|
|
|
4434
4434
|
switch (m) {
|
|
4435
4435
|
case "bestFit": {
|
|
4436
4436
|
var g;
|
|
4437
|
-
const se = (g = te.map((re) => [re.placement, re.overflows.filter((
|
|
4437
|
+
const se = (g = te.map((re) => [re.placement, re.overflows.filter((A) => A > 0).reduce((A, F) => A + F, 0)]).sort((re, A) => re[1] - A[1])[0]) == null ? void 0 : g[0];
|
|
4438
4438
|
se && (ce = se);
|
|
4439
4439
|
break;
|
|
4440
4440
|
}
|
|
@@ -4466,17 +4466,17 @@ const h3 = function(t) {
|
|
|
4466
4466
|
apply: i = () => {
|
|
4467
4467
|
},
|
|
4468
4468
|
...l
|
|
4469
|
-
} = H1(t, e), d = await Oa(e, l), r =
|
|
4469
|
+
} = H1(t, e), d = await Oa(e, l), r = Ct(a), c = c1(a), u = P1(a) === "y", {
|
|
4470
4470
|
width: p,
|
|
4471
4471
|
height: m
|
|
4472
4472
|
} = n.floating;
|
|
4473
|
-
let w,
|
|
4474
|
-
r === "top" || r === "bottom" ? (w = r,
|
|
4475
|
-
const _ = m - d[w],
|
|
4476
|
-
let L = _, Z =
|
|
4473
|
+
let w, M;
|
|
4474
|
+
r === "top" || r === "bottom" ? (w = r, M = c === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (M = r, w = c === "end" ? "top" : "bottom");
|
|
4475
|
+
const _ = m - d[w], k = p - d[M], y = !e.middlewareData.shift;
|
|
4476
|
+
let L = _, Z = k;
|
|
4477
4477
|
if (u) {
|
|
4478
4478
|
const V = p - d.left - d.right;
|
|
4479
|
-
Z = c || y ? Lt(
|
|
4479
|
+
Z = c || y ? Lt(k, V) : V;
|
|
4480
4480
|
} else {
|
|
4481
4481
|
const V = m - d.top - d.bottom;
|
|
4482
4482
|
L = c || y ? Lt(_, V) : V;
|
|
@@ -4499,7 +4499,7 @@ const h3 = function(t) {
|
|
|
4499
4499
|
}
|
|
4500
4500
|
};
|
|
4501
4501
|
};
|
|
4502
|
-
function
|
|
4502
|
+
function xe(t) {
|
|
4503
4503
|
return La(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4504
4504
|
}
|
|
4505
4505
|
function we(t) {
|
|
@@ -4532,18 +4532,18 @@ function Ut(t) {
|
|
|
4532
4532
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + a) && !["inline", "contents"].includes(s);
|
|
4533
4533
|
}
|
|
4534
4534
|
function C3(t) {
|
|
4535
|
-
return ["table", "td", "th"].includes(
|
|
4535
|
+
return ["table", "td", "th"].includes(xe(t));
|
|
4536
4536
|
}
|
|
4537
4537
|
function B1(t) {
|
|
4538
4538
|
const e = N1(), a = Ie(t);
|
|
4539
4539
|
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((n) => (a.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (a.contain || "").includes(n));
|
|
4540
4540
|
}
|
|
4541
4541
|
function _3(t) {
|
|
4542
|
-
let e =
|
|
4542
|
+
let e = _t(t);
|
|
4543
4543
|
for (; Pe(e) && !f1(e); ) {
|
|
4544
4544
|
if (B1(e))
|
|
4545
4545
|
return e;
|
|
4546
|
-
e =
|
|
4546
|
+
e = _t(e);
|
|
4547
4547
|
}
|
|
4548
4548
|
return null;
|
|
4549
4549
|
}
|
|
@@ -4551,7 +4551,7 @@ function N1() {
|
|
|
4551
4551
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4552
4552
|
}
|
|
4553
4553
|
function f1(t) {
|
|
4554
|
-
return ["html", "body", "#document"].includes(
|
|
4554
|
+
return ["html", "body", "#document"].includes(xe(t));
|
|
4555
4555
|
}
|
|
4556
4556
|
function Ie(t) {
|
|
4557
4557
|
return we(t).getComputedStyle(t);
|
|
@@ -4565,8 +4565,8 @@ function v1(t) {
|
|
|
4565
4565
|
scrollTop: t.pageYOffset
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
4568
|
-
function
|
|
4569
|
-
if (
|
|
4568
|
+
function _t(t) {
|
|
4569
|
+
if (xe(t) === "html")
|
|
4570
4570
|
return t;
|
|
4571
4571
|
const e = (
|
|
4572
4572
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -4578,7 +4578,7 @@ function Ct(t) {
|
|
|
4578
4578
|
return oa(e) ? e.host : e;
|
|
4579
4579
|
}
|
|
4580
4580
|
function Va(t) {
|
|
4581
|
-
const e =
|
|
4581
|
+
const e = _t(t);
|
|
4582
4582
|
return f1(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Pe(e) && Ut(e) ? e : Va(e);
|
|
4583
4583
|
}
|
|
4584
4584
|
function Vt(t, e, a) {
|
|
@@ -4603,7 +4603,7 @@ function R1(t) {
|
|
|
4603
4603
|
function pt(t) {
|
|
4604
4604
|
const e = R1(t);
|
|
4605
4605
|
if (!Pe(e))
|
|
4606
|
-
return
|
|
4606
|
+
return Xe(1);
|
|
4607
4607
|
const a = e.getBoundingClientRect(), {
|
|
4608
4608
|
width: n,
|
|
4609
4609
|
height: s,
|
|
@@ -4615,7 +4615,7 @@ function pt(t) {
|
|
|
4615
4615
|
y: l
|
|
4616
4616
|
};
|
|
4617
4617
|
}
|
|
4618
|
-
const g3 = /* @__PURE__ */
|
|
4618
|
+
const g3 = /* @__PURE__ */ Xe(0);
|
|
4619
4619
|
function Ha(t) {
|
|
4620
4620
|
const e = we(t);
|
|
4621
4621
|
return !N1() || !e.visualViewport ? g3 : {
|
|
@@ -4629,16 +4629,16 @@ function y3(t, e, a) {
|
|
|
4629
4629
|
function at(t, e, a, n) {
|
|
4630
4630
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4631
4631
|
const s = t.getBoundingClientRect(), o = R1(t);
|
|
4632
|
-
let i =
|
|
4632
|
+
let i = Xe(1);
|
|
4633
4633
|
e && (n ? je(n) && (i = pt(n)) : i = pt(t));
|
|
4634
|
-
const l = y3(o, a, n) ? Ha(o) :
|
|
4634
|
+
const l = y3(o, a, n) ? Ha(o) : Xe(0);
|
|
4635
4635
|
let d = (s.left + l.x) / i.x, r = (s.top + l.y) / i.y, c = s.width / i.x, u = s.height / i.y;
|
|
4636
4636
|
if (o) {
|
|
4637
4637
|
const p = we(o), m = n && je(n) ? we(n) : n;
|
|
4638
4638
|
let w = p.frameElement;
|
|
4639
4639
|
for (; w && n && m !== p; ) {
|
|
4640
|
-
const
|
|
4641
|
-
d *=
|
|
4640
|
+
const M = pt(w), _ = w.getBoundingClientRect(), k = Ie(w), y = _.left + (w.clientLeft + parseFloat(k.paddingLeft)) * M.x, L = _.top + (w.clientTop + parseFloat(k.paddingTop)) * M.y;
|
|
4641
|
+
d *= M.x, r *= M.y, c *= M.x, u *= M.y, d += y, r += L, w = we(w).frameElement;
|
|
4642
4642
|
}
|
|
4643
4643
|
}
|
|
4644
4644
|
return e1({
|
|
@@ -4660,9 +4660,9 @@ function b3(t) {
|
|
|
4660
4660
|
let i = {
|
|
4661
4661
|
scrollLeft: 0,
|
|
4662
4662
|
scrollTop: 0
|
|
4663
|
-
}, l =
|
|
4664
|
-
const d =
|
|
4665
|
-
if ((s || !s && n !== "fixed") && ((
|
|
4663
|
+
}, l = Xe(1);
|
|
4664
|
+
const d = Xe(0);
|
|
4665
|
+
if ((s || !s && n !== "fixed") && ((xe(a) !== "body" || Ut(o)) && (i = v1(a)), Pe(a))) {
|
|
4666
4666
|
const r = at(a);
|
|
4667
4667
|
l = pt(a), d.x = r.x + a.clientLeft, d.y = r.y + a.clientTop;
|
|
4668
4668
|
}
|
|
@@ -4690,7 +4690,7 @@ function $3(t) {
|
|
|
4690
4690
|
y: l
|
|
4691
4691
|
};
|
|
4692
4692
|
}
|
|
4693
|
-
function
|
|
4693
|
+
function k3(t, e) {
|
|
4694
4694
|
const a = we(t), n = Ze(t), s = a.visualViewport;
|
|
4695
4695
|
let o = n.clientWidth, i = n.clientHeight, l = 0, d = 0;
|
|
4696
4696
|
if (s) {
|
|
@@ -4705,8 +4705,8 @@ function M3(t, e) {
|
|
|
4705
4705
|
y: d
|
|
4706
4706
|
};
|
|
4707
4707
|
}
|
|
4708
|
-
function
|
|
4709
|
-
const a = at(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Pe(t) ? pt(t) :
|
|
4708
|
+
function M3(t, e) {
|
|
4709
|
+
const a = at(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Pe(t) ? pt(t) : Xe(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, d = s * o.x, r = n * o.y;
|
|
4710
4710
|
return {
|
|
4711
4711
|
width: i,
|
|
4712
4712
|
height: l,
|
|
@@ -4717,11 +4717,11 @@ function k3(t, e) {
|
|
|
4717
4717
|
function la(t, e, a) {
|
|
4718
4718
|
let n;
|
|
4719
4719
|
if (e === "viewport")
|
|
4720
|
-
n =
|
|
4720
|
+
n = k3(t, a);
|
|
4721
4721
|
else if (e === "document")
|
|
4722
4722
|
n = $3(Ze(t));
|
|
4723
4723
|
else if (je(e))
|
|
4724
|
-
n =
|
|
4724
|
+
n = M3(e, a);
|
|
4725
4725
|
else {
|
|
4726
4726
|
const s = Ha(t);
|
|
4727
4727
|
n = {
|
|
@@ -4733,19 +4733,19 @@ function la(t, e, a) {
|
|
|
4733
4733
|
return e1(n);
|
|
4734
4734
|
}
|
|
4735
4735
|
function Ba(t, e) {
|
|
4736
|
-
const a =
|
|
4736
|
+
const a = _t(t);
|
|
4737
4737
|
return a === e || !je(a) || f1(a) ? !1 : Ie(a).position === "fixed" || Ba(a, e);
|
|
4738
4738
|
}
|
|
4739
4739
|
function A3(t, e) {
|
|
4740
4740
|
const a = e.get(t);
|
|
4741
4741
|
if (a)
|
|
4742
4742
|
return a;
|
|
4743
|
-
let n = Vt(t, [], !1).filter((l) => je(l) &&
|
|
4743
|
+
let n = Vt(t, [], !1).filter((l) => je(l) && xe(l) !== "body"), s = null;
|
|
4744
4744
|
const o = Ie(t).position === "fixed";
|
|
4745
|
-
let i = o ?
|
|
4745
|
+
let i = o ? _t(t) : t;
|
|
4746
4746
|
for (; je(i) && !f1(i); ) {
|
|
4747
4747
|
const l = Ie(i), d = B1(i);
|
|
4748
|
-
!d && l.position === "fixed" && (s = null), (o ? !d && !s : !d && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Ut(i) && !d && Ba(t, i)) ? n = n.filter((c) => c !== i) : s = l, i =
|
|
4748
|
+
!d && l.position === "fixed" && (s = null), (o ? !d && !s : !d && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Ut(i) && !d && Ba(t, i)) ? n = n.filter((c) => c !== i) : s = l, i = _t(i);
|
|
4749
4749
|
}
|
|
4750
4750
|
return e.set(t, n), n;
|
|
4751
4751
|
}
|
|
@@ -4776,9 +4776,9 @@ function E3(t, e, a) {
|
|
|
4776
4776
|
scrollLeft: 0,
|
|
4777
4777
|
scrollTop: 0
|
|
4778
4778
|
};
|
|
4779
|
-
const d =
|
|
4779
|
+
const d = Xe(0);
|
|
4780
4780
|
if (n || !n && !o)
|
|
4781
|
-
if ((
|
|
4781
|
+
if ((xe(e) !== "body" || Ut(s)) && (l = v1(e)), n) {
|
|
4782
4782
|
const r = at(e, !0, o, e);
|
|
4783
4783
|
d.x = r.x + e.clientLeft, d.y = r.y + e.clientTop;
|
|
4784
4784
|
} else
|
|
@@ -4800,7 +4800,7 @@ function Na(t, e) {
|
|
|
4800
4800
|
let n = ra(t, e);
|
|
4801
4801
|
for (; n && C3(n) && Ie(n).position === "static"; )
|
|
4802
4802
|
n = ra(n, e);
|
|
4803
|
-
return n && (
|
|
4803
|
+
return n && (xe(n) === "html" || xe(n) === "body" && Ie(n).position === "static" && !B1(n)) ? a : n || _3(t) || a;
|
|
4804
4804
|
}
|
|
4805
4805
|
const I3 = async function(t) {
|
|
4806
4806
|
let {
|
|
@@ -4849,8 +4849,8 @@ function V3(t, e) {
|
|
|
4849
4849
|
} = t.getBoundingClientRect();
|
|
4850
4850
|
if (l || e(), !u || !p)
|
|
4851
4851
|
return;
|
|
4852
|
-
const m = Kt(c), w = Kt(s.clientWidth - (r + u)),
|
|
4853
|
-
rootMargin: -m + "px " + -w + "px " + -
|
|
4852
|
+
const m = Kt(c), w = Kt(s.clientWidth - (r + u)), M = Kt(s.clientHeight - (c + p)), _ = Kt(r), y = {
|
|
4853
|
+
rootMargin: -m + "px " + -w + "px " + -M + "px " + -_ + "px",
|
|
4854
4854
|
threshold: Ae(0, Lt(1, d)) || 1
|
|
4855
4855
|
};
|
|
4856
4856
|
let L = !0;
|
|
@@ -4887,28 +4887,28 @@ function D3(t, e, a, n) {
|
|
|
4887
4887
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
4888
4888
|
animationFrame: d = !1
|
|
4889
4889
|
} = n, r = R1(t), c = s || o ? [...r ? Vt(r) : [], ...Vt(e)] : [];
|
|
4890
|
-
c.forEach((
|
|
4891
|
-
s &&
|
|
4890
|
+
c.forEach((k) => {
|
|
4891
|
+
s && k.addEventListener("scroll", a, {
|
|
4892
4892
|
passive: !0
|
|
4893
|
-
}), o &&
|
|
4893
|
+
}), o && k.addEventListener("resize", a);
|
|
4894
4894
|
});
|
|
4895
4895
|
const u = r && l ? V3(r, a) : null;
|
|
4896
4896
|
let p = -1, m = null;
|
|
4897
|
-
i && (m = new ResizeObserver((
|
|
4898
|
-
let [y] =
|
|
4897
|
+
i && (m = new ResizeObserver((k) => {
|
|
4898
|
+
let [y] = k;
|
|
4899
4899
|
y && y.target === r && m && (m.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
4900
4900
|
m && m.observe(e);
|
|
4901
4901
|
})), a();
|
|
4902
4902
|
}), r && !d && m.observe(r), m.observe(e));
|
|
4903
|
-
let w,
|
|
4903
|
+
let w, M = d ? at(t) : null;
|
|
4904
4904
|
d && _();
|
|
4905
4905
|
function _() {
|
|
4906
|
-
const
|
|
4907
|
-
|
|
4906
|
+
const k = at(t);
|
|
4907
|
+
M && (k.x !== M.x || k.y !== M.y || k.width !== M.width || k.height !== M.height) && a(), M = k, w = requestAnimationFrame(_);
|
|
4908
4908
|
}
|
|
4909
4909
|
return a(), () => {
|
|
4910
|
-
c.forEach((
|
|
4911
|
-
s &&
|
|
4910
|
+
c.forEach((k) => {
|
|
4911
|
+
s && k.removeEventListener("scroll", a), o && k.removeEventListener("resize", a);
|
|
4912
4912
|
}), u && u(), m && m.disconnect(), m = null, d && cancelAnimationFrame(w);
|
|
4913
4913
|
};
|
|
4914
4914
|
}
|
|
@@ -5026,9 +5026,9 @@ function R3(t, e, a) {
|
|
|
5026
5026
|
}
|
|
5027
5027
|
}, p = (m) => {
|
|
5028
5028
|
if (n && n.value) {
|
|
5029
|
-
let
|
|
5029
|
+
let M = (m.clipboardData || /* istanbul ignore next */
|
|
5030
5030
|
window.clipboardData).getData("Text"), _ = n.value;
|
|
5031
|
-
typeof _ == "string" && (_ = new RegExp(_)),
|
|
5031
|
+
typeof _ == "string" && (_ = new RegExp(_)), M.split("").every((k) => !!k.match(_)) || m.preventDefault();
|
|
5032
5032
|
}
|
|
5033
5033
|
e.emit("paste", m, s);
|
|
5034
5034
|
};
|
|
@@ -5055,7 +5055,7 @@ function U3(t, e, a) {
|
|
|
5055
5055
|
}
|
|
5056
5056
|
};
|
|
5057
5057
|
}
|
|
5058
|
-
function
|
|
5058
|
+
function M1(t, e = !0) {
|
|
5059
5059
|
return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5060
5060
|
}
|
|
5061
5061
|
function j3(t) {
|
|
@@ -5081,9 +5081,9 @@ function F3(t, e, a) {
|
|
|
5081
5081
|
appendNewOption: p,
|
|
5082
5082
|
multipleLabel: m,
|
|
5083
5083
|
object: w,
|
|
5084
|
-
loading:
|
|
5084
|
+
loading: M,
|
|
5085
5085
|
delay: _,
|
|
5086
|
-
resolveOnLoad:
|
|
5086
|
+
resolveOnLoad: k,
|
|
5087
5087
|
minChars: y,
|
|
5088
5088
|
filterResults: L,
|
|
5089
5089
|
clearOnSearch: Z,
|
|
@@ -5099,31 +5099,31 @@ function F3(t, e, a) {
|
|
|
5099
5099
|
groups: ce,
|
|
5100
5100
|
reverse: se,
|
|
5101
5101
|
infinite: re,
|
|
5102
|
-
groupOptions:
|
|
5102
|
+
groupOptions: A,
|
|
5103
5103
|
groupHideEmpty: F,
|
|
5104
5104
|
groupSelect: j,
|
|
5105
5105
|
onCreate: ae,
|
|
5106
5106
|
disabledProp: oe,
|
|
5107
5107
|
searchStart: $,
|
|
5108
5108
|
searchFilter: Y
|
|
5109
|
-
} = $e(t), ie = st().proxy, H = a.iv, O = a.ev, R = a.search, me = a.clearSearch,
|
|
5109
|
+
} = $e(t), ie = st().proxy, H = a.iv, O = a.ev, R = a.search, me = a.clearSearch, ke = a.update, ja = a.pointer, it = a.clearPointer, Za = a.focus, Fa = a.deactivate, ot = a.close, qa = a.localize, bt = Q([]), Fe = Q([]), Le = Q(!1), p1 = Q(null), h1 = Q(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => d.value || r.value || !1), za = b(() => u.value !== void 0 ? u.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
|
|
5110
5110
|
if (ce.value) {
|
|
5111
5111
|
let C = jt.value || /* istanbul ignore next */
|
|
5112
5112
|
[], D = [];
|
|
5113
5113
|
return C.forEach((ne) => {
|
|
5114
|
-
b1(ne[
|
|
5114
|
+
b1(ne[A.value]).forEach((pe) => {
|
|
5115
5115
|
D.push(Object.assign({}, pe, ne[oe.value] ? { [oe.value]: !0 } : {}));
|
|
5116
5116
|
});
|
|
5117
5117
|
}), D;
|
|
5118
5118
|
} else {
|
|
5119
5119
|
let C = b1(Fe.value || /* istanbul ignore next */
|
|
5120
5120
|
[]);
|
|
5121
|
-
return
|
|
5121
|
+
return bt.value.length && (C = C.concat(bt.value)), C;
|
|
5122
5122
|
}
|
|
5123
5123
|
}), q1 = b(() => {
|
|
5124
5124
|
let C = qe.value;
|
|
5125
5125
|
return se.value && (C = C.reverse()), lt.value.length && (C = lt.value.concat(C)), y1(C);
|
|
5126
|
-
}),
|
|
5126
|
+
}), wt = b(() => {
|
|
5127
5127
|
let C = q1.value;
|
|
5128
5128
|
return h1.value > 0 && (C = C.slice(0, h1.value)), C;
|
|
5129
5129
|
}), jt = b(() => {
|
|
@@ -5131,16 +5131,16 @@ function F3(t, e, a) {
|
|
|
5131
5131
|
return [];
|
|
5132
5132
|
let C = [], D = Fe.value || /* istanbul ignore next */
|
|
5133
5133
|
[];
|
|
5134
|
-
return
|
|
5134
|
+
return bt.value.length && C.push({
|
|
5135
5135
|
[te.value]: " ",
|
|
5136
|
-
[
|
|
5136
|
+
[A.value]: [...bt.value],
|
|
5137
5137
|
__CREATE__: !0
|
|
5138
5138
|
}), C.concat(D);
|
|
5139
5139
|
}), Wa = b(() => {
|
|
5140
5140
|
let C = [...jt.value].map((D) => ({ ...D }));
|
|
5141
|
-
return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][
|
|
5141
|
+
return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][A.value] = [...lt.value, ...C[0][A.value]] : C = [{
|
|
5142
5142
|
[te.value]: " ",
|
|
5143
|
-
[
|
|
5143
|
+
[A.value]: [...lt.value],
|
|
5144
5144
|
__CREATE__: !0
|
|
5145
5145
|
}].concat(C)), C;
|
|
5146
5146
|
}), z1 = b(() => {
|
|
@@ -5149,13 +5149,13 @@ function F3(t, e, a) {
|
|
|
5149
5149
|
let C = Wa.value;
|
|
5150
5150
|
return ls((C || /* istanbul ignore next */
|
|
5151
5151
|
[]).map((D, ne) => {
|
|
5152
|
-
const pe = b1(D[
|
|
5152
|
+
const pe = b1(D[A.value]);
|
|
5153
5153
|
return {
|
|
5154
5154
|
...D,
|
|
5155
5155
|
index: ne,
|
|
5156
5156
|
group: !0,
|
|
5157
|
-
[
|
|
5158
|
-
__VISIBLE__: y1(pe).map((
|
|
5157
|
+
[A.value]: y1(pe, !1).map(($t) => Object.assign({}, $t, D[oe.value] ? { [oe.value]: !0 } : {})),
|
|
5158
|
+
__VISIBLE__: y1(pe).map(($t) => Object.assign({}, $t, D[oe.value] ? { [oe.value]: !0 } : {}))
|
|
5159
5159
|
};
|
|
5160
5160
|
}));
|
|
5161
5161
|
}), m1 = b(() => {
|
|
@@ -5166,7 +5166,7 @@ function F3(t, e, a) {
|
|
|
5166
5166
|
case "tags":
|
|
5167
5167
|
return !De(H.value) && H.value.length > 0;
|
|
5168
5168
|
}
|
|
5169
|
-
}), Ya = b(() => m !== void 0 && m.value !== void 0 ? m.value(H.value, ie) : H.value && H.value.length > 1 ? `${H.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 &&
|
|
5169
|
+
}), Ya = b(() => m !== void 0 && m.value !== void 0 ? m.value(H.value, ie) : H.value && H.value.length > 1 ? `${H.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && wt.value.length == 0 && (R.value && ce.value || !ce.value)), lt = b(() => F1.value === !1 || !R.value ? [] : ns(R.value) !== -1 ? [] : [{
|
|
5170
5170
|
[V.value]: R.value,
|
|
5171
5171
|
[Ve.value]: R.value,
|
|
5172
5172
|
[c.value]: R.value,
|
|
@@ -5179,14 +5179,14 @@ function F3(t, e, a) {
|
|
|
5179
5179
|
case "tags":
|
|
5180
5180
|
return [];
|
|
5181
5181
|
}
|
|
5182
|
-
}), xa = b(() =>
|
|
5182
|
+
}), xa = b(() => M.value || Le.value), rt = (C) => {
|
|
5183
5183
|
switch (typeof C != "object" && (C = Re(C)), s.value) {
|
|
5184
5184
|
case "single":
|
|
5185
|
-
|
|
5185
|
+
ke(C);
|
|
5186
5186
|
break;
|
|
5187
5187
|
case "multiple":
|
|
5188
5188
|
case "tags":
|
|
5189
|
-
|
|
5189
|
+
ke(H.value.concat(C));
|
|
5190
5190
|
break;
|
|
5191
5191
|
}
|
|
5192
5192
|
e.emit("select", W1(C), C, ie);
|
|
@@ -5197,7 +5197,7 @@ function F3(t, e, a) {
|
|
|
5197
5197
|
break;
|
|
5198
5198
|
case "tags":
|
|
5199
5199
|
case "multiple":
|
|
5200
|
-
|
|
5200
|
+
ke(Array.isArray(C) ? H.value.filter((D) => C.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1) : H.value.filter((D) => D[V.value] != C[V.value]));
|
|
5201
5201
|
break;
|
|
5202
5202
|
}
|
|
5203
5203
|
e.emit("deselect", W1(C), C, ie);
|
|
@@ -5210,10 +5210,10 @@ function F3(t, e, a) {
|
|
|
5210
5210
|
}
|
|
5211
5211
|
Y1(C);
|
|
5212
5212
|
}, K1 = () => {
|
|
5213
|
-
e.emit("clear", ie),
|
|
5213
|
+
e.emit("clear", ie), ke(Xa.value);
|
|
5214
5214
|
}, Ne = (C) => {
|
|
5215
5215
|
if (C.group !== void 0)
|
|
5216
|
-
return s.value === "single" ? !1 : ss(C[
|
|
5216
|
+
return s.value === "single" ? !1 : ss(C[A.value]) && C[A.value].length;
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
5219
|
return !De(H.value) && H.value[V.value] == C[V.value];
|
|
@@ -5269,8 +5269,8 @@ function F3(t, e, a) {
|
|
|
5269
5269
|
switch (s.value) {
|
|
5270
5270
|
case "multiple":
|
|
5271
5271
|
case "tags":
|
|
5272
|
-
as(C[
|
|
5273
|
-
C[
|
|
5272
|
+
as(C[A.value]) ? ut(C[A.value]) : rt(
|
|
5273
|
+
C[A.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= J.value || J.value === -1)
|
|
5274
5274
|
);
|
|
5275
5275
|
break;
|
|
5276
5276
|
}
|
|
@@ -5279,20 +5279,20 @@ function F3(t, e, a) {
|
|
|
5279
5279
|
}, g1 = (C) => {
|
|
5280
5280
|
Re(C[V.value]) === void 0 && F1.value && (e.emit("tag", C[V.value], ie), e.emit("option", C[V.value], ie), e.emit("create", C[V.value], ie), za.value && os(C), me());
|
|
5281
5281
|
}, ts = () => {
|
|
5282
|
-
s.value !== "single" && rt(
|
|
5282
|
+
s.value !== "single" && rt(wt.value.filter((C) => !C.disabled && !Ne(C)));
|
|
5283
5283
|
}, as = (C) => C.find((D) => !Ne(D) && !D[oe.value]) === void 0, ss = (C) => C.find((D) => !Ne(D)) === void 0, Re = (C) => qe.value[qe.value.map((D) => String(D[V.value])).indexOf(String(C))], ns = (C, D = !0) => qe.value.map((ne) => parseInt(ne[Ve.value]) == ne[Ve.value] ? parseInt(ne[Ve.value]) : ne[Ve.value]).indexOf(
|
|
5284
5284
|
parseInt(C) == C ? parseInt(C) : C
|
|
5285
5285
|
), is = (C) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(C), os = (C) => {
|
|
5286
|
-
|
|
5286
|
+
bt.value.push(C);
|
|
5287
5287
|
}, ls = (C) => F.value ? C.filter(
|
|
5288
|
-
(D) => R.value ? D.__VISIBLE__.length : D[
|
|
5288
|
+
(D) => R.value ? D.__VISIBLE__.length : D[A.value].length
|
|
5289
5289
|
) : C.filter((D) => R.value ? D.__VISIBLE__.length : !0), y1 = (C, D = !0) => {
|
|
5290
5290
|
let ne = C;
|
|
5291
5291
|
if (R.value && L.value) {
|
|
5292
5292
|
let pe = Y.value;
|
|
5293
|
-
pe || (pe = (
|
|
5294
|
-
let x1 =
|
|
5295
|
-
return $.value ? x1.startsWith(
|
|
5293
|
+
pe || (pe = ($t, o8) => {
|
|
5294
|
+
let x1 = M1(qa($t[Ve.value]), g.value);
|
|
5295
|
+
return $.value ? x1.startsWith(M1(R.value, g.value)) : x1.indexOf(M1(R.value, g.value)) !== -1;
|
|
5296
5296
|
}), ne = ne.filter(pe);
|
|
5297
5297
|
}
|
|
5298
5298
|
return l.value && D && (ne = ne.filter((pe) => !is(pe))), ne;
|
|
@@ -5342,7 +5342,7 @@ function F3(t, e, a) {
|
|
|
5342
5342
|
p1.value = ue(R, (C) => {
|
|
5343
5343
|
C.length < y.value || !C && y.value !== 0 || (Le.value = !0, Z.value && (Fe.value = []), setTimeout(() => {
|
|
5344
5344
|
C == R.value && n.value(R.value, ie).then((D) => {
|
|
5345
|
-
(C == R.value || !R.value) && (Fe.value = D, ja.value =
|
|
5345
|
+
(C == R.value || !R.value) && (Fe.value = D, ja.value = wt.value.filter((ne) => ne[oe.value] !== !0)[0] || null, Le.value = !1);
|
|
5346
5346
|
}).catch(
|
|
5347
5347
|
/* istanbul ignore next */
|
|
5348
5348
|
(D) => {
|
|
@@ -5354,28 +5354,28 @@ function F3(t, e, a) {
|
|
|
5354
5354
|
};
|
|
5355
5355
|
if (s.value !== "single" && !De(O.value) && !Array.isArray(O.value))
|
|
5356
5356
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5357
|
-
return n && typeof n.value == "function" ?
|
|
5357
|
+
return n && typeof n.value == "function" ? k.value ? Ft(Zt) : w.value == !0 && Zt() : (Fe.value = n.value, Zt()), _.value > -1 && X1(), ue(_, (C, D) => {
|
|
5358
5358
|
p1.value && p1.value(), C >= 0 && X1();
|
|
5359
5359
|
}), ue(O, (C) => {
|
|
5360
5360
|
if (De(C)) {
|
|
5361
|
-
|
|
5361
|
+
ke(qt(C), !1);
|
|
5362
5362
|
return;
|
|
5363
5363
|
}
|
|
5364
5364
|
switch (s.value) {
|
|
5365
5365
|
case "single":
|
|
5366
|
-
(w.value ? C[V.value] != H.value[V.value] : C != H.value[V.value]) &&
|
|
5366
|
+
(w.value ? C[V.value] != H.value[V.value] : C != H.value[V.value]) && ke(qt(C), !1);
|
|
5367
5367
|
break;
|
|
5368
5368
|
case "multiple":
|
|
5369
5369
|
case "tags":
|
|
5370
|
-
Z3(w.value ? C.map((D) => D[V.value]) : C, H.value.map((D) => D[V.value])) ||
|
|
5370
|
+
Z3(w.value ? C.map((D) => D[V.value]) : C, H.value.map((D) => D[V.value])) || ke(qt(C), !1);
|
|
5371
5371
|
break;
|
|
5372
5372
|
}
|
|
5373
5373
|
}, { deep: !0 }), ue(n, (C, D) => {
|
|
5374
|
-
typeof t.options == "function" ?
|
|
5374
|
+
typeof t.options == "function" ? k.value && (!D || C && C.toString() !== D.toString()) && Ft() : (Fe.value = t.options, Object.keys(H.value).length || Zt(), w1());
|
|
5375
5375
|
}), ue(c, w1), {
|
|
5376
5376
|
pfo: q1,
|
|
5377
|
-
fo:
|
|
5378
|
-
filteredOptions:
|
|
5377
|
+
fo: wt,
|
|
5378
|
+
filteredOptions: wt,
|
|
5379
5379
|
hasSelected: m1,
|
|
5380
5380
|
multipleLabelText: Ya,
|
|
5381
5381
|
eo: qe,
|
|
@@ -5417,50 +5417,50 @@ function q3(t, e, a) {
|
|
|
5417
5417
|
groupSelect: r,
|
|
5418
5418
|
disabledProp: c,
|
|
5419
5419
|
groupOptions: u
|
|
5420
|
-
} = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick,
|
|
5421
|
-
const O = I.value ?
|
|
5420
|
+
} = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, M = a.handleGroupClick, _ = a.search, k = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), x = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), I = b(() => k.value && k.value.group), J = b(() => ie(k.value)), g = b(() => {
|
|
5421
|
+
const O = I.value ? k.value : (
|
|
5422
5422
|
/* istanbul ignore next */
|
|
5423
|
-
ie(
|
|
5424
|
-
), R = x.value.map((
|
|
5423
|
+
ie(k.value)
|
|
5424
|
+
), R = x.value.map((ke) => ke[i.value]).indexOf(O[i.value]);
|
|
5425
5425
|
let me = x.value[R - 1];
|
|
5426
5426
|
return me === void 0 && (me = P.value), me;
|
|
5427
5427
|
}), S = b(() => {
|
|
5428
|
-
let O = x.value.map((R) => R.label).indexOf(I.value ?
|
|
5428
|
+
let O = x.value.map((R) => R.label).indexOf(I.value ? k.value[i.value] : ie(k.value)[i.value]) + 1;
|
|
5429
5429
|
return x.value.length <= O && (O = 0), x.value[O];
|
|
5430
|
-
}), P = b(() => [...x.value].slice(-1)[0]), ce = b(() =>
|
|
5430
|
+
}), P = b(() => [...x.value].slice(-1)[0]), ce = b(() => k.value.__VISIBLE__.filter((O) => !O[c.value])[0]), se = b(() => {
|
|
5431
5431
|
const O = J.value.__VISIBLE__.filter((R) => !R[c.value]);
|
|
5432
|
-
return O[O.map((R) => R[n.value]).indexOf(
|
|
5432
|
+
return O[O.map((R) => R[n.value]).indexOf(k.value[n.value]) - 1];
|
|
5433
5433
|
}), re = b(() => {
|
|
5434
|
-
const O = ie(
|
|
5435
|
-
return O[O.map((R) => R[n.value]).indexOf(
|
|
5436
|
-
}),
|
|
5434
|
+
const O = ie(k.value).__VISIBLE__.filter((R) => !R[c.value]);
|
|
5435
|
+
return O[O.map((R) => R[n.value]).indexOf(k.value[n.value]) + 1];
|
|
5436
|
+
}), A = b(() => [...g.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), F = b(() => [...P.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), j = (O) => k.value && (!O.group && k.value[n.value] === O[n.value] || O.group !== void 0 && k.value[i.value] === O[i.value]) ? !0 : void 0, ae = () => {
|
|
5437
5437
|
y(V.value[0] || null);
|
|
5438
5438
|
}, oe = () => {
|
|
5439
|
-
!
|
|
5439
|
+
!k.value || k.value[c.value] === !0 || (I.value ? M(k.value) : w(k.value));
|
|
5440
5440
|
}, $ = () => {
|
|
5441
|
-
if (
|
|
5441
|
+
if (k.value === null)
|
|
5442
5442
|
y((l.value && te.value ? x.value[0].__CREATE__ ? V.value[0] : x.value[0] : V.value[0]) || null);
|
|
5443
5443
|
else if (l.value && te.value) {
|
|
5444
5444
|
let O = I.value ? ce.value : re.value;
|
|
5445
5445
|
O === void 0 && (O = S.value, O.__CREATE__ && (O = O[u.value][0])), y(O || /* istanbul ignore next */
|
|
5446
5446
|
null);
|
|
5447
5447
|
} else {
|
|
5448
|
-
let O = V.value.map((R) => R[n.value]).indexOf(
|
|
5448
|
+
let O = V.value.map((R) => R[n.value]).indexOf(k.value[n.value]) + 1;
|
|
5449
5449
|
V.value.length <= O && (O = 0), y(V.value[O] || null);
|
|
5450
5450
|
}
|
|
5451
5451
|
Oe(() => {
|
|
5452
5452
|
H();
|
|
5453
5453
|
});
|
|
5454
5454
|
}, Y = () => {
|
|
5455
|
-
if (
|
|
5455
|
+
if (k.value === null) {
|
|
5456
5456
|
let O = V.value[V.value.length - 1];
|
|
5457
5457
|
l.value && te.value && (O = F.value, O === void 0 && (O = P.value)), y(O || null);
|
|
5458
5458
|
} else if (l.value && te.value) {
|
|
5459
|
-
let O = I.value ?
|
|
5460
|
-
O === void 0 && (O = I.value ? g.value : J.value, O.__CREATE__ && (O =
|
|
5459
|
+
let O = I.value ? A.value : se.value;
|
|
5460
|
+
O === void 0 && (O = I.value ? g.value : J.value, O.__CREATE__ && (O = A.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
|
|
5461
5461
|
null);
|
|
5462
5462
|
} else {
|
|
5463
|
-
let O = V.value.map((R) => R[n.value]).indexOf(
|
|
5463
|
+
let O = V.value.map((R) => R[n.value]).indexOf(k.value[n.value]) - 1;
|
|
5464
5464
|
O < 0 && (O = V.value.length - 1), y(V.value[O] || null);
|
|
5465
5465
|
}
|
|
5466
5466
|
Oe(() => {
|
|
@@ -5486,7 +5486,7 @@ function q3(t, e, a) {
|
|
|
5486
5486
|
});
|
|
5487
5487
|
}
|
|
5488
5488
|
}), {
|
|
5489
|
-
pointer:
|
|
5489
|
+
pointer: k,
|
|
5490
5490
|
canPointGroups: te,
|
|
5491
5491
|
isPointed: j,
|
|
5492
5492
|
setPointerFirst: ae,
|
|
@@ -5508,7 +5508,7 @@ function z3(t, e, a) {
|
|
|
5508
5508
|
};
|
|
5509
5509
|
}
|
|
5510
5510
|
function W3(t, e, a) {
|
|
5511
|
-
const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1),
|
|
5511
|
+
const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1), M = Q(!1), _ = b(() => n.value || s.value ? -1 : 0), k = () => {
|
|
5512
5512
|
n.value && i.value.blur(), p.value.blur();
|
|
5513
5513
|
}, y = () => {
|
|
5514
5514
|
n.value && !s.value && i.value.focus();
|
|
@@ -5525,25 +5525,25 @@ function W3(t, e, a) {
|
|
|
5525
5525
|
tags: m,
|
|
5526
5526
|
tabindex: _,
|
|
5527
5527
|
isActive: w,
|
|
5528
|
-
mouseClicked:
|
|
5529
|
-
blur:
|
|
5528
|
+
mouseClicked: M,
|
|
5529
|
+
blur: k,
|
|
5530
5530
|
focus: y,
|
|
5531
5531
|
activate: L,
|
|
5532
5532
|
deactivate: Z,
|
|
5533
5533
|
handleFocusIn: (I) => {
|
|
5534
|
-
I.target.closest("[data-tags]") && I.target.nodeName !== "INPUT" || I.target.closest("[data-clear]") || L(
|
|
5534
|
+
I.target.closest("[data-tags]") && I.target.nodeName !== "INPUT" || I.target.closest("[data-clear]") || L(M.value);
|
|
5535
5535
|
},
|
|
5536
5536
|
handleFocusOut: () => {
|
|
5537
5537
|
Z();
|
|
5538
5538
|
},
|
|
5539
5539
|
handleCaretClick: () => {
|
|
5540
|
-
Z(),
|
|
5540
|
+
Z(), k();
|
|
5541
5541
|
},
|
|
5542
5542
|
handleMousedown: (I) => {
|
|
5543
|
-
|
|
5543
|
+
M.value = !0, c.value && (I.target.isEqualNode(p.value) || I.target.isEqualNode(m.value)) ? setTimeout(() => {
|
|
5544
5544
|
Z();
|
|
5545
5545
|
}, 0) : document.activeElement.isEqualNode(p.value) && !c.value && L(), setTimeout(() => {
|
|
5546
|
-
|
|
5546
|
+
M.value = !1;
|
|
5547
5547
|
}, 0);
|
|
5548
5548
|
}
|
|
5549
5549
|
};
|
|
@@ -5561,8 +5561,8 @@ function Y3(t, e, a) {
|
|
|
5561
5561
|
createTag: u,
|
|
5562
5562
|
createOption: p,
|
|
5563
5563
|
reverse: m
|
|
5564
|
-
} = $e(t), w = st().proxy,
|
|
5565
|
-
n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf(
|
|
5564
|
+
} = $e(t), w = st().proxy, M = a.iv, _ = a.update, k = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, x = a.wrapper, te = a.tags, I = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), ce = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
|
|
5565
|
+
n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf(k.value)]);
|
|
5566
5566
|
}, re = (j) => {
|
|
5567
5567
|
let ae = j.length - 1;
|
|
5568
5568
|
for (; ae >= 0 && (j[ae].remove === !1 || j[ae].disabled); )
|
|
@@ -5575,15 +5575,15 @@ function Y3(t, e, a) {
|
|
|
5575
5575
|
let ae, oe;
|
|
5576
5576
|
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(j.key) !== -1 && n.value === "tags" && (ae = [...V.value.querySelectorAll("[data-tags] > *")].filter(($) => $ !== te.value), oe = ae.findIndex(($) => $ === document.activeElement)), j.key) {
|
|
5577
5577
|
case "Backspace":
|
|
5578
|
-
if (n.value === "single" || i.value && [null, ""].indexOf(
|
|
5578
|
+
if (n.value === "single" || i.value && [null, ""].indexOf(k.value) === -1 || M.value.length === 0)
|
|
5579
5579
|
return;
|
|
5580
|
-
_(re([...
|
|
5580
|
+
_(re([...M.value]));
|
|
5581
5581
|
break;
|
|
5582
5582
|
case "Enter":
|
|
5583
5583
|
if (j.preventDefault(), j.keyCode === 229)
|
|
5584
5584
|
return;
|
|
5585
5585
|
if (oe !== -1 && oe !== void 0) {
|
|
5586
|
-
_([...
|
|
5586
|
+
_([...M.value].filter(($, Y) => Y !== oe)), oe === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : x.value.focus());
|
|
5587
5587
|
return;
|
|
5588
5588
|
}
|
|
5589
5589
|
if (ce.value.indexOf("enter") === -1 && P.value)
|
|
@@ -5622,12 +5622,12 @@ function Y3(t, e, a) {
|
|
|
5622
5622
|
I.value || J(), W();
|
|
5623
5623
|
break;
|
|
5624
5624
|
case "ArrowLeft":
|
|
5625
|
-
if (i.value && te.value && te.value.querySelector("input").selectionStart || j.shiftKey || n.value !== "tags" || !
|
|
5625
|
+
if (i.value && te.value && te.value.querySelector("input").selectionStart || j.shiftKey || n.value !== "tags" || !M.value || !M.value.length)
|
|
5626
5626
|
return;
|
|
5627
5627
|
j.preventDefault(), oe === -1 ? ae[ae.length - 1].focus() : oe > 0 && ae[oe - 1].focus();
|
|
5628
5628
|
break;
|
|
5629
5629
|
case "ArrowRight":
|
|
5630
|
-
if (oe === -1 || j.shiftKey || n.value !== "tags" || !
|
|
5630
|
+
if (oe === -1 || j.shiftKey || n.value !== "tags" || !M.value || !M.value.length)
|
|
5631
5631
|
return;
|
|
5632
5632
|
j.preventDefault(), ae.length > oe + 1 ? ae[oe + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || x.value.focus();
|
|
5633
5633
|
break;
|
|
@@ -5645,7 +5645,7 @@ function K3(t, e, a) {
|
|
|
5645
5645
|
disabled: s,
|
|
5646
5646
|
openDirection: o,
|
|
5647
5647
|
showOptions: i
|
|
5648
|
-
} = $e(t), l = a.isOpen, d = a.isPointed, r = a.isSelected, c = a.isDisabled, u = a.isActive, p = a.canPointGroups, m = a.resolving, w = a.fo,
|
|
5648
|
+
} = $e(t), l = a.isOpen, d = a.isPointed, r = a.isSelected, c = a.isDisabled, u = a.isActive, p = a.canPointGroups, m = a.resolving, w = a.fo, M = b(() => ({
|
|
5649
5649
|
container: "multiselect",
|
|
5650
5650
|
containerDisabled: "is-disabled",
|
|
5651
5651
|
containerOpen: "is-open",
|
|
@@ -5701,7 +5701,7 @@ function K3(t, e, a) {
|
|
|
5701
5701
|
})), _ = b(() => !!(l.value && i.value && (!m.value || m.value && w.value.length)));
|
|
5702
5702
|
return {
|
|
5703
5703
|
classList: b(() => {
|
|
5704
|
-
const y =
|
|
5704
|
+
const y = M.value;
|
|
5705
5705
|
return {
|
|
5706
5706
|
container: [y.container].concat(s.value ? y.containerDisabled : []).concat(_.value && o.value === "top" ? y.containerOpenTop : []).concat(_.value && o.value !== "top" ? y.containerOpen : []).concat(u.value ? y.containerActive : []),
|
|
5707
5707
|
wrapper: y.wrapper,
|
|
@@ -5750,10 +5750,10 @@ function G3(t, e, a) {
|
|
|
5750
5750
|
const {
|
|
5751
5751
|
limit: n,
|
|
5752
5752
|
infinite: s
|
|
5753
|
-
} = $e(t), o = a.isOpen, i = a.offset, l = a.search, d = a.pfo, r = a.eo, c = Q(null), u = Q(null), p = b(() => i.value < d.value.length), m = (
|
|
5754
|
-
const { isIntersecting: _, target:
|
|
5753
|
+
} = $e(t), o = a.isOpen, i = a.offset, l = a.search, d = a.pfo, r = a.eo, c = Q(null), u = Q(null), p = b(() => i.value < d.value.length), m = (M) => {
|
|
5754
|
+
const { isIntersecting: _, target: k } = M[0];
|
|
5755
5755
|
if (_) {
|
|
5756
|
-
const y =
|
|
5756
|
+
const y = k.offsetParent, L = y.scrollTop;
|
|
5757
5757
|
i.value += n.value == -1 ? 10 : n.value, Oe(() => {
|
|
5758
5758
|
y.scrollTop = L;
|
|
5759
5759
|
});
|
|
@@ -5784,10 +5784,10 @@ function X3(t, e, a) {
|
|
|
5784
5784
|
groupLabel: d,
|
|
5785
5785
|
aria: r,
|
|
5786
5786
|
searchable: c
|
|
5787
|
-
} = $e(t), u = a.pointer, p = a.iv, m = a.hasSelected, w = a.multipleLabelText,
|
|
5787
|
+
} = $e(t), u = a.pointer, p = a.iv, m = a.hasSelected, w = a.multipleLabelText, M = Q(null), _ = b(() => {
|
|
5788
5788
|
let S = [];
|
|
5789
5789
|
return s && s.value && S.push(s.value), S.push("assist"), S.join("-");
|
|
5790
|
-
}),
|
|
5790
|
+
}), k = b(() => {
|
|
5791
5791
|
let S = [];
|
|
5792
5792
|
return s && s.value && S.push(s.value), S.push("multiselect-options"), S.join("-");
|
|
5793
5793
|
}), y = b(() => {
|
|
@@ -5816,13 +5816,13 @@ function X3(t, e, a) {
|
|
|
5816
5816
|
return Dt(() => {
|
|
5817
5817
|
if (s && s.value && document && document.querySelector) {
|
|
5818
5818
|
let S = document.querySelector(`[for="${s.value}"]`);
|
|
5819
|
-
|
|
5819
|
+
M.value = S ? S.innerText : null;
|
|
5820
5820
|
}
|
|
5821
5821
|
}), {
|
|
5822
5822
|
arias: V,
|
|
5823
5823
|
ariaLabel: W,
|
|
5824
5824
|
ariaAssist: _,
|
|
5825
|
-
ariaControls:
|
|
5825
|
+
ariaControls: k,
|
|
5826
5826
|
ariaPlaceholder: L,
|
|
5827
5827
|
ariaMultiselectable: Z,
|
|
5828
5828
|
ariaActiveDescendant: y,
|
|
@@ -6273,7 +6273,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6273
6273
|
i.disabled ? t.classList.tagDisabled : null
|
|
6274
6274
|
]),
|
|
6275
6275
|
tabindex: "-1",
|
|
6276
|
-
onKeyup:
|
|
6276
|
+
onKeyup: Ke((r) => t.handleTagRemove(i, r), ["enter"]),
|
|
6277
6277
|
key: d,
|
|
6278
6278
|
"aria-label": t.ariaTagLabel(t.localize(i[a.label]))
|
|
6279
6279
|
}, [
|
|
@@ -6426,7 +6426,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6426
6426
|
"aria-roledescription": "❎",
|
|
6427
6427
|
class: G(t.classList.clear),
|
|
6428
6428
|
onClick: e[6] || (e[6] = (...i) => t.clear && t.clear(...i)),
|
|
6429
|
-
onKeyup: e[7] || (e[7] =
|
|
6429
|
+
onKeyup: e[7] || (e[7] = Ke((...i) => t.clear && t.clear(...i), ["enter"]))
|
|
6430
6430
|
},
|
|
6431
6431
|
[
|
|
6432
6432
|
v(
|
|
@@ -6747,7 +6747,7 @@ async function Ue(t, e) {
|
|
|
6747
6747
|
i == null || i.select();
|
|
6748
6748
|
}
|
|
6749
6749
|
}
|
|
6750
|
-
const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"],
|
|
6750
|
+
const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], k5 = { class: "ao-tasks__list-footer" }, M5 = /* @__PURE__ */ K({
|
|
6751
6751
|
__name: "AoActivityTasks",
|
|
6752
6752
|
props: {
|
|
6753
6753
|
activityId: {},
|
|
@@ -6803,7 +6803,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6803
6803
|
return (u, p) => (f(), h("div", b5, [
|
|
6804
6804
|
v("ul", w5, [
|
|
6805
6805
|
(f(!0), h(ve, null, ye(u.tasks, (m) => {
|
|
6806
|
-
var w,
|
|
6806
|
+
var w, M;
|
|
6807
6807
|
return f(), h("li", {
|
|
6808
6808
|
key: m.id,
|
|
6809
6809
|
class: "ao-subtask"
|
|
@@ -6823,11 +6823,11 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6823
6823
|
class: "ao-field__input ao-subtask__field",
|
|
6824
6824
|
type: "text",
|
|
6825
6825
|
onChange: (_) => i(_, m.id),
|
|
6826
|
-
onKeyup:
|
|
6826
|
+
onKeyup: Ke(c, ["enter"])
|
|
6827
6827
|
}, null, 40, $5),
|
|
6828
6828
|
!u.isTemplate && u.users ? (f(), N(be, {
|
|
6829
6829
|
key: 1,
|
|
6830
|
-
value: (
|
|
6830
|
+
value: (M = m.assignee) != null && M.id ? [m.assignee.id] : [],
|
|
6831
6831
|
options: s.value,
|
|
6832
6832
|
"close-on-select": !0,
|
|
6833
6833
|
searchable: !0,
|
|
@@ -6839,12 +6839,12 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6839
6839
|
caret: u.isEditable,
|
|
6840
6840
|
onChange: (_) => r(_, m.id)
|
|
6841
6841
|
}, {
|
|
6842
|
-
tag: U(({ option: _, handleTagRemove:
|
|
6843
|
-
E(
|
|
6842
|
+
tag: U(({ option: _, handleTagRemove: k }) => [
|
|
6843
|
+
E(yt, {
|
|
6844
6844
|
"user-name": _.label,
|
|
6845
6845
|
"avatar-url": _.avatar,
|
|
6846
6846
|
"is-closable": !0,
|
|
6847
|
-
onClose: (y) =>
|
|
6847
|
+
onClose: (y) => k(_, y)
|
|
6848
6848
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
6849
6849
|
]),
|
|
6850
6850
|
_: 2
|
|
@@ -6861,7 +6861,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6861
6861
|
]);
|
|
6862
6862
|
}), 128))
|
|
6863
6863
|
]),
|
|
6864
|
-
v("div",
|
|
6864
|
+
v("div", k5, [
|
|
6865
6865
|
u.isEditable ? (f(), N(de, {
|
|
6866
6866
|
key: 0,
|
|
6867
6867
|
label: u.$t("activity.tasks.add"),
|
|
@@ -7005,19 +7005,19 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7005
7005
|
e("edit", _);
|
|
7006
7006
|
}), w = () => {
|
|
7007
7007
|
e("remove");
|
|
7008
|
-
},
|
|
7008
|
+
}, M = Q(2);
|
|
7009
7009
|
return ps(() => {
|
|
7010
7010
|
Oe(() => {
|
|
7011
7011
|
var _;
|
|
7012
7012
|
if (!o.value) {
|
|
7013
|
-
const
|
|
7014
|
-
|
|
7013
|
+
const k = (_ = s.value) == null ? void 0 : _.getClientRects().length;
|
|
7014
|
+
M.value = k || 2;
|
|
7015
7015
|
}
|
|
7016
7016
|
});
|
|
7017
|
-
}), (_,
|
|
7017
|
+
}), (_, k) => {
|
|
7018
7018
|
var y;
|
|
7019
7019
|
return f(), h("li", H5, [
|
|
7020
|
-
n.value ? (f(), N(
|
|
7020
|
+
n.value ? (f(), N(yt, {
|
|
7021
7021
|
key: 0,
|
|
7022
7022
|
"avatar-url": (y = _.user) == null ? void 0 : y.avatarUrl,
|
|
7023
7023
|
"user-name": n.value,
|
|
@@ -7025,15 +7025,15 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7025
7025
|
}, null, 8, ["avatar-url", "user-name"])) : T("", !0),
|
|
7026
7026
|
v("div", P5, [
|
|
7027
7027
|
v("div", B5, [
|
|
7028
|
-
(f(), N(
|
|
7028
|
+
(f(), N(Qe(u.value), {
|
|
7029
7029
|
ref_key: "commentContent",
|
|
7030
7030
|
ref: s,
|
|
7031
7031
|
class: "ao-comment__content",
|
|
7032
7032
|
value: z(o) ? _.content : null,
|
|
7033
|
-
rows: z(o) ?
|
|
7033
|
+
rows: z(o) ? M.value : null,
|
|
7034
7034
|
onKeyup: [
|
|
7035
|
-
|
|
7036
|
-
|
|
7035
|
+
Ke(z(p), ["esc"]),
|
|
7036
|
+
Ke(_e(z(m), ["ctrl"]), ["enter"])
|
|
7037
7037
|
]
|
|
7038
7038
|
}, {
|
|
7039
7039
|
default: U(() => [
|
|
@@ -7143,13 +7143,13 @@ const j5 = {
|
|
|
7143
7143
|
}, [
|
|
7144
7144
|
v("label", q5, [
|
|
7145
7145
|
v("span", z5, q(c.$t("activity.comment.label")), 1),
|
|
7146
|
-
|
|
7146
|
+
Ye(v("textarea", {
|
|
7147
7147
|
"onUpdate:modelValue": u[0] || (u[0] = (m) => i.value = m),
|
|
7148
7148
|
rows: "4",
|
|
7149
7149
|
class: "ao-field__textarea"
|
|
7150
7150
|
}, null, 512), [
|
|
7151
7151
|
[
|
|
7152
|
-
|
|
7152
|
+
mt,
|
|
7153
7153
|
i.value,
|
|
7154
7154
|
void 0,
|
|
7155
7155
|
{ trim: !0 }
|
|
@@ -7183,7 +7183,7 @@ const K5 = {
|
|
|
7183
7183
|
}, c7 = { class: "ao-field__label" }, f7 = ["disabled"], v7 = {
|
|
7184
7184
|
key: 0,
|
|
7185
7185
|
class: "ao-fieldset"
|
|
7186
|
-
}, p7 = { class: "ao-fieldset__title" }, h7 = { class: "ao-fieldset__body" }, m7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-fieldset" }, g7 = { class: "ao-fieldset__title" }, y7 = { class: "ao-fieldset__body" }, b7 = { class: "ao-fieldset" }, w7 = { class: "ao-fieldset__title" }, $7 = { class: "ao-fieldset__body" },
|
|
7186
|
+
}, p7 = { class: "ao-fieldset__title" }, h7 = { class: "ao-fieldset__body" }, m7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-fieldset" }, g7 = { class: "ao-fieldset__title" }, y7 = { class: "ao-fieldset__body" }, b7 = { class: "ao-fieldset" }, w7 = { class: "ao-fieldset__title" }, $7 = { class: "ao-fieldset__body" }, k7 = { class: "ao-field__row" }, M7 = { class: "ao-field ao-field--multiselect" }, A7 = { class: "ao-field__label" }, T7 = { class: "ao-field__row" }, S7 = { class: "ao-field ao-field--multiselect" }, E7 = { class: "ao-field__label" }, I7 = { class: "ao-fieldset" }, O7 = {
|
|
7187
7187
|
key: 0,
|
|
7188
7188
|
class: "ao-field__row"
|
|
7189
7189
|
}, L7 = { class: "ao-field ao-field--multiselect" }, V7 = { class: "ao-field__label" }, D7 = {
|
|
@@ -7293,11 +7293,11 @@ const K5 = {
|
|
|
7293
7293
|
(P) => P.id === g.value
|
|
7294
7294
|
)
|
|
7295
7295
|
};
|
|
7296
|
-
})),
|
|
7296
|
+
})), M = (g) => {
|
|
7297
7297
|
e("addSubtask", g);
|
|
7298
7298
|
}, _ = (g) => {
|
|
7299
7299
|
e("updateSubtask", g);
|
|
7300
|
-
},
|
|
7300
|
+
}, k = (g) => {
|
|
7301
7301
|
e("deleteSubtask", g);
|
|
7302
7302
|
}, y = b(() => {
|
|
7303
7303
|
var g;
|
|
@@ -7384,14 +7384,14 @@ const K5 = {
|
|
|
7384
7384
|
v("div", J5, [
|
|
7385
7385
|
v("label", e7, [
|
|
7386
7386
|
v("span", t7, q(g.$t("activity.description.label")), 1),
|
|
7387
|
-
|
|
7387
|
+
Ye(v("textarea", {
|
|
7388
7388
|
"onUpdate:modelValue": S[0] || (S[0] = (P) => s.value = P),
|
|
7389
7389
|
readonly: !g.isEditable,
|
|
7390
7390
|
rows: "4",
|
|
7391
7391
|
class: "ao-field__textarea"
|
|
7392
7392
|
}, null, 8, a7), [
|
|
7393
7393
|
[
|
|
7394
|
-
|
|
7394
|
+
mt,
|
|
7395
7395
|
s.value,
|
|
7396
7396
|
void 0,
|
|
7397
7397
|
{
|
|
@@ -7405,7 +7405,7 @@ const K5 = {
|
|
|
7405
7405
|
v("div", s7, [
|
|
7406
7406
|
v("label", n7, [
|
|
7407
7407
|
v("span", i7, q(g.$t("activity.estimation.label")), 1),
|
|
7408
|
-
|
|
7408
|
+
Ye(v("input", {
|
|
7409
7409
|
"onUpdate:modelValue": S[1] || (S[1] = (P) => o.value = P),
|
|
7410
7410
|
readonly: !g.isEditable,
|
|
7411
7411
|
class: "ao-field__input",
|
|
@@ -7413,7 +7413,7 @@ const K5 = {
|
|
|
7413
7413
|
min: "0"
|
|
7414
7414
|
}, null, 8, o7), [
|
|
7415
7415
|
[
|
|
7416
|
-
|
|
7416
|
+
mt,
|
|
7417
7417
|
o.value,
|
|
7418
7418
|
void 0,
|
|
7419
7419
|
{
|
|
@@ -7425,7 +7425,7 @@ const K5 = {
|
|
|
7425
7425
|
]),
|
|
7426
7426
|
v("label", l7, [
|
|
7427
7427
|
v("span", r7, q(g.$t("activity.important.label")), 1),
|
|
7428
|
-
|
|
7428
|
+
Ye(v("input", {
|
|
7429
7429
|
"onUpdate:modelValue": S[2] || (S[2] = (P) => i.value = P),
|
|
7430
7430
|
disabled: !g.isEditable,
|
|
7431
7431
|
class: "ao-field__input",
|
|
@@ -7441,7 +7441,7 @@ const K5 = {
|
|
|
7441
7441
|
]),
|
|
7442
7442
|
g.isTemplate !== !0 && g.activity.createdBy.id === g.userId ? (f(), h("label", d7, [
|
|
7443
7443
|
v("span", c7, q(g.$t("activity.private.label")), 1),
|
|
7444
|
-
|
|
7444
|
+
Ye(v("input", {
|
|
7445
7445
|
"onUpdate:modelValue": S[3] || (S[3] = (P) => l.value = P),
|
|
7446
7446
|
disabled: !g.isEditable,
|
|
7447
7447
|
class: "ao-field__input",
|
|
@@ -7485,7 +7485,7 @@ const K5 = {
|
|
|
7485
7485
|
option: P,
|
|
7486
7486
|
handleTagRemove: ce
|
|
7487
7487
|
}) => [
|
|
7488
|
-
E(
|
|
7488
|
+
E(yt, {
|
|
7489
7489
|
"user-name": P.label,
|
|
7490
7490
|
"avatar-url": P.avatar,
|
|
7491
7491
|
"is-closable": !0,
|
|
@@ -7507,7 +7507,7 @@ const K5 = {
|
|
|
7507
7507
|
}, null, 8, ["title"])
|
|
7508
7508
|
]),
|
|
7509
7509
|
v("div", y7, [
|
|
7510
|
-
E(
|
|
7510
|
+
E(M5, {
|
|
7511
7511
|
class: "ao-activity-details__tasks ao-field__row",
|
|
7512
7512
|
tasks: g.activity.tasks || [],
|
|
7513
7513
|
"activity-id": g.activity.id,
|
|
@@ -7515,9 +7515,9 @@ const K5 = {
|
|
|
7515
7515
|
"is-checkable": g.isTaskCheckable,
|
|
7516
7516
|
"is-editable": g.isEditable,
|
|
7517
7517
|
"is-template": g.isTemplate,
|
|
7518
|
-
onAdd:
|
|
7518
|
+
onAdd: M,
|
|
7519
7519
|
onUpdate: _,
|
|
7520
|
-
onDelete:
|
|
7520
|
+
onDelete: k
|
|
7521
7521
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
7522
7522
|
])
|
|
7523
7523
|
]),
|
|
@@ -7530,8 +7530,8 @@ const K5 = {
|
|
|
7530
7530
|
}, null, 8, ["title"])
|
|
7531
7531
|
]),
|
|
7532
7532
|
v("div", $7, [
|
|
7533
|
-
v("div",
|
|
7534
|
-
v("label",
|
|
7533
|
+
v("div", k7, [
|
|
7534
|
+
v("label", M7, [
|
|
7535
7535
|
v("span", A7, q(g.$t("activity.dependingOn.label")), 1),
|
|
7536
7536
|
E(be, {
|
|
7537
7537
|
modelValue: u.value,
|
|
@@ -7633,10 +7633,10 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7633
7633
|
get() {
|
|
7634
7634
|
return n.value;
|
|
7635
7635
|
},
|
|
7636
|
-
set(
|
|
7637
|
-
n.value =
|
|
7636
|
+
set(k) {
|
|
7637
|
+
n.value = k, e("update:rule", {
|
|
7638
7638
|
...a.rule,
|
|
7639
|
-
itemType:
|
|
7639
|
+
itemType: k,
|
|
7640
7640
|
subItemId: void 0
|
|
7641
7641
|
});
|
|
7642
7642
|
}
|
|
@@ -7644,10 +7644,10 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7644
7644
|
get() {
|
|
7645
7645
|
return a.rule.subItemId;
|
|
7646
7646
|
},
|
|
7647
|
-
set(
|
|
7647
|
+
set(k) {
|
|
7648
7648
|
e("update:rule", {
|
|
7649
7649
|
...a.rule,
|
|
7650
|
-
subItemId:
|
|
7650
|
+
subItemId: k,
|
|
7651
7651
|
itemType: a.rule.itemType || s.value
|
|
7652
7652
|
});
|
|
7653
7653
|
}
|
|
@@ -7665,32 +7665,32 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7665
7665
|
get() {
|
|
7666
7666
|
return d.value;
|
|
7667
7667
|
},
|
|
7668
|
-
set(
|
|
7669
|
-
e("update:rule", { ...a.rule, comparator:
|
|
7668
|
+
set(k) {
|
|
7669
|
+
e("update:rule", { ...a.rule, comparator: k });
|
|
7670
7670
|
}
|
|
7671
7671
|
}), c = b(() => Object.values(bd)), u = vt(a.rule.trigger), p = b({
|
|
7672
7672
|
get() {
|
|
7673
7673
|
return u.value;
|
|
7674
7674
|
},
|
|
7675
|
-
set(
|
|
7676
|
-
e("update:rule", { ...a.rule, trigger:
|
|
7675
|
+
set(k) {
|
|
7676
|
+
e("update:rule", { ...a.rule, trigger: k });
|
|
7677
7677
|
}
|
|
7678
7678
|
}), m = b(() => Object.values(wd)), w = b({
|
|
7679
7679
|
get() {
|
|
7680
7680
|
return a.rule.duration;
|
|
7681
7681
|
},
|
|
7682
|
-
set(
|
|
7683
|
-
e("update:rule", { ...a.rule, duration:
|
|
7682
|
+
set(k) {
|
|
7683
|
+
e("update:rule", { ...a.rule, duration: k });
|
|
7684
7684
|
}
|
|
7685
|
-
}),
|
|
7685
|
+
}), M = b({
|
|
7686
7686
|
get() {
|
|
7687
7687
|
return a.rule.durationUnit;
|
|
7688
7688
|
},
|
|
7689
|
-
set(
|
|
7690
|
-
e("update:rule", { ...a.rule, durationUnit:
|
|
7689
|
+
set(k) {
|
|
7690
|
+
e("update:rule", { ...a.rule, durationUnit: k });
|
|
7691
7691
|
}
|
|
7692
7692
|
}), _ = b(() => Object.values($d));
|
|
7693
|
-
return (
|
|
7693
|
+
return (k, y) => (f(), N(Qe(k.tagName), { class: "ao-rule-line" }, {
|
|
7694
7694
|
default: U(() => [
|
|
7695
7695
|
E(z(We), {
|
|
7696
7696
|
modelValue: s.value,
|
|
@@ -7712,28 +7712,28 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7712
7712
|
"onUpdate:modelValue": y[3] || (y[3] = (L) => r.value = L),
|
|
7713
7713
|
options: c.value
|
|
7714
7714
|
}, null, 8, ["modelValue", "options"]),
|
|
7715
|
-
|
|
7715
|
+
Ye(v("input", {
|
|
7716
7716
|
"onUpdate:modelValue": y[4] || (y[4] = (L) => w.value = L),
|
|
7717
7717
|
type: "number",
|
|
7718
7718
|
min: "0"
|
|
7719
7719
|
}, null, 512), [
|
|
7720
7720
|
[
|
|
7721
|
-
|
|
7721
|
+
mt,
|
|
7722
7722
|
w.value,
|
|
7723
7723
|
void 0,
|
|
7724
7724
|
{ number: !0 }
|
|
7725
7725
|
]
|
|
7726
7726
|
]),
|
|
7727
7727
|
E(z(We), {
|
|
7728
|
-
modelValue:
|
|
7729
|
-
"onUpdate:modelValue": y[5] || (y[5] = (L) =>
|
|
7728
|
+
modelValue: M.value,
|
|
7729
|
+
"onUpdate:modelValue": y[5] || (y[5] = (L) => M.value = L),
|
|
7730
7730
|
options: _.value
|
|
7731
7731
|
}, null, 8, ["modelValue", "options"]),
|
|
7732
7732
|
E(de, {
|
|
7733
7733
|
class: "ao-rule-line__remove",
|
|
7734
7734
|
"icon-name": "CloseRounded",
|
|
7735
7735
|
variant: "ghost",
|
|
7736
|
-
onClick: y[6] || (y[6] = (L) =>
|
|
7736
|
+
onClick: y[6] || (y[6] = (L) => k.$emit("close"))
|
|
7737
7737
|
})
|
|
7738
7738
|
]),
|
|
7739
7739
|
_: 1
|
|
@@ -7776,7 +7776,7 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
|
|
|
7776
7776
|
onClose: () => n(i.id)
|
|
7777
7777
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
7778
7778
|
]),
|
|
7779
|
-
E(
|
|
7779
|
+
E(et, {
|
|
7780
7780
|
label: s.$t("template.rules.add"),
|
|
7781
7781
|
"icon-name": "Add",
|
|
7782
7782
|
onClick: a
|
|
@@ -7812,8 +7812,8 @@ const j7 = {
|
|
|
7812
7812
|
setup(t, { emit: e }) {
|
|
7813
7813
|
const a = t, { t: n } = nt(), s = b(
|
|
7814
7814
|
() => {
|
|
7815
|
-
var
|
|
7816
|
-
return (
|
|
7815
|
+
var A;
|
|
7816
|
+
return (A = a.templates) == null ? void 0 : A.find((F) => F.id === a.templateId);
|
|
7817
7817
|
}
|
|
7818
7818
|
), o = Q(!1);
|
|
7819
7819
|
ue(
|
|
@@ -7821,50 +7821,50 @@ const j7 = {
|
|
|
7821
7821
|
() => o.value = !1
|
|
7822
7822
|
), ue(
|
|
7823
7823
|
() => {
|
|
7824
|
-
var
|
|
7825
|
-
return (
|
|
7824
|
+
var A;
|
|
7825
|
+
return (A = s.value) == null ? void 0 : A.phases;
|
|
7826
7826
|
},
|
|
7827
|
-
(
|
|
7828
|
-
o.value && Ue(
|
|
7827
|
+
(A, F) => {
|
|
7828
|
+
o.value && Ue(A, F);
|
|
7829
7829
|
}
|
|
7830
7830
|
);
|
|
7831
7831
|
const i = b(() => {
|
|
7832
|
-
var
|
|
7833
|
-
return (F = (
|
|
7832
|
+
var A, F;
|
|
7833
|
+
return (F = (A = s == null ? void 0 : s.value) == null ? void 0 : A.phases) == null ? void 0 : F.find((j) => j.id === a.phaseId);
|
|
7834
7834
|
});
|
|
7835
7835
|
ue(
|
|
7836
7836
|
() => {
|
|
7837
|
-
var
|
|
7838
|
-
return (
|
|
7837
|
+
var A;
|
|
7838
|
+
return (A = i.value) == null ? void 0 : A.milestones;
|
|
7839
7839
|
},
|
|
7840
|
-
(
|
|
7841
|
-
o.value && Ue(
|
|
7840
|
+
(A, F) => {
|
|
7841
|
+
o.value && Ue(A, F);
|
|
7842
7842
|
}
|
|
7843
7843
|
);
|
|
7844
7844
|
const l = b(() => {
|
|
7845
|
-
var
|
|
7846
|
-
return (F = (
|
|
7845
|
+
var A, F;
|
|
7846
|
+
return (F = (A = i.value) == null ? void 0 : A.milestones) == null ? void 0 : F.find(
|
|
7847
7847
|
(j) => j.id === a.milestoneId
|
|
7848
7848
|
);
|
|
7849
7849
|
});
|
|
7850
7850
|
ue(
|
|
7851
7851
|
() => {
|
|
7852
|
-
var
|
|
7853
|
-
return (
|
|
7852
|
+
var A;
|
|
7853
|
+
return (A = l.value) == null ? void 0 : A.activities;
|
|
7854
7854
|
},
|
|
7855
|
-
(
|
|
7856
|
-
o.value && Ue(
|
|
7855
|
+
(A, F) => {
|
|
7856
|
+
o.value && Ue(A, F);
|
|
7857
7857
|
}
|
|
7858
7858
|
);
|
|
7859
7859
|
const d = b(() => {
|
|
7860
|
-
var
|
|
7861
|
-
return ((F = (
|
|
7860
|
+
var A, F;
|
|
7861
|
+
return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((j, ae) => {
|
|
7862
7862
|
const oe = ae.milestones || [];
|
|
7863
7863
|
return [...j, ...oe];
|
|
7864
7864
|
}, [])) || [];
|
|
7865
7865
|
}), r = b(() => {
|
|
7866
|
-
var
|
|
7867
|
-
return ((F = (
|
|
7866
|
+
var A, F;
|
|
7867
|
+
return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((j, ae) => {
|
|
7868
7868
|
const $ = (ae.milestones || []).reduce(
|
|
7869
7869
|
(Y, ie) => ie.activities ? [...Y, ...ie.activities] : Y,
|
|
7870
7870
|
[]
|
|
@@ -7872,17 +7872,17 @@ const j7 = {
|
|
|
7872
7872
|
return [...j, ...$];
|
|
7873
7873
|
}, [])) || [];
|
|
7874
7874
|
}), c = b(() => {
|
|
7875
|
-
var
|
|
7876
|
-
return (F = (
|
|
7875
|
+
var A, F;
|
|
7876
|
+
return (F = (A = l.value) == null ? void 0 : A.activities) == null ? void 0 : F.find(
|
|
7877
7877
|
(j) => j.id === a.activityId
|
|
7878
7878
|
);
|
|
7879
7879
|
}), u = b(() => {
|
|
7880
|
-
var
|
|
7881
|
-
return ((
|
|
7880
|
+
var A;
|
|
7881
|
+
return ((A = s.value) == null ? void 0 : A.name) || a.templateId;
|
|
7882
7882
|
}), p = () => {
|
|
7883
7883
|
if (!s.value)
|
|
7884
7884
|
return;
|
|
7885
|
-
const { name:
|
|
7885
|
+
const { name: A, rank: F } = ht(
|
|
7886
7886
|
s.value.phases,
|
|
7887
7887
|
"phase",
|
|
7888
7888
|
n
|
|
@@ -7891,35 +7891,35 @@ const j7 = {
|
|
|
7891
7891
|
type: he.PHASES,
|
|
7892
7892
|
templateId: a.templateId,
|
|
7893
7893
|
item: {
|
|
7894
|
-
name:
|
|
7894
|
+
name: A,
|
|
7895
7895
|
rank: F
|
|
7896
7896
|
}
|
|
7897
7897
|
});
|
|
7898
|
-
}, m = (
|
|
7898
|
+
}, m = (A) => {
|
|
7899
7899
|
e("updateItem", {
|
|
7900
7900
|
templateId: a.templateId,
|
|
7901
7901
|
id: a.templateId,
|
|
7902
7902
|
itemType: he.TEMPLATES,
|
|
7903
|
-
data: { name:
|
|
7903
|
+
data: { name: A }
|
|
7904
7904
|
});
|
|
7905
|
-
}, w = (
|
|
7905
|
+
}, w = (A) => {
|
|
7906
7906
|
e("removeItem", {
|
|
7907
7907
|
type: he.PHASES,
|
|
7908
7908
|
templateId: a.templateId,
|
|
7909
7909
|
data: {
|
|
7910
|
-
id:
|
|
7910
|
+
id: A
|
|
7911
7911
|
}
|
|
7912
7912
|
});
|
|
7913
|
-
},
|
|
7913
|
+
}, M = (A, F) => {
|
|
7914
7914
|
e("updateItem", {
|
|
7915
7915
|
templateId: a.templateId,
|
|
7916
|
-
id:
|
|
7916
|
+
id: A,
|
|
7917
7917
|
itemType: he.PHASES,
|
|
7918
7918
|
data: { name: F }
|
|
7919
7919
|
});
|
|
7920
|
-
}, _ = (
|
|
7921
|
-
e("updateItem",
|
|
7922
|
-
},
|
|
7920
|
+
}, _ = (A) => {
|
|
7921
|
+
e("updateItem", A);
|
|
7922
|
+
}, k = (A) => {
|
|
7923
7923
|
if (!i.value)
|
|
7924
7924
|
return;
|
|
7925
7925
|
const { name: F, rank: j } = ht(
|
|
@@ -7930,32 +7930,32 @@ const j7 = {
|
|
|
7930
7930
|
o.value = !0, e("addItem", {
|
|
7931
7931
|
type: he.MILESTONES,
|
|
7932
7932
|
templateId: a.templateId,
|
|
7933
|
-
phaseId:
|
|
7933
|
+
phaseId: A.phaseId,
|
|
7934
7934
|
item: {
|
|
7935
7935
|
name: F,
|
|
7936
7936
|
rank: j,
|
|
7937
|
-
phaseId:
|
|
7937
|
+
phaseId: A.phaseId
|
|
7938
7938
|
}
|
|
7939
7939
|
});
|
|
7940
|
-
}, y = (
|
|
7940
|
+
}, y = (A) => {
|
|
7941
7941
|
e("removeItem", {
|
|
7942
7942
|
type: he.MILESTONES,
|
|
7943
7943
|
templateId: a.templateId,
|
|
7944
|
-
phaseId:
|
|
7944
|
+
phaseId: A.phaseId,
|
|
7945
7945
|
data: {
|
|
7946
|
-
id:
|
|
7946
|
+
id: A.id
|
|
7947
7947
|
}
|
|
7948
7948
|
});
|
|
7949
|
-
}, L = (
|
|
7950
|
-
const { id: F, ...j } =
|
|
7949
|
+
}, L = (A) => {
|
|
7950
|
+
const { id: F, ...j } = A;
|
|
7951
7951
|
e("updateItem", {
|
|
7952
7952
|
itemType: he.MILESTONES,
|
|
7953
7953
|
id: F,
|
|
7954
7954
|
templateId: a.templateId,
|
|
7955
7955
|
data: j
|
|
7956
7956
|
});
|
|
7957
|
-
}, Z = (
|
|
7958
|
-
const { milestoneId: F } =
|
|
7957
|
+
}, Z = (A) => {
|
|
7958
|
+
const { milestoneId: F } = A;
|
|
7959
7959
|
if (!l.value)
|
|
7960
7960
|
return;
|
|
7961
7961
|
const { name: j, rank: ae } = ht(
|
|
@@ -7969,7 +7969,7 @@ const j7 = {
|
|
|
7969
7969
|
templateId: a.templateId,
|
|
7970
7970
|
item: { name: j, rank: ae, milestoneId: F }
|
|
7971
7971
|
});
|
|
7972
|
-
}, W = (
|
|
7972
|
+
}, W = (A) => {
|
|
7973
7973
|
var F, j;
|
|
7974
7974
|
e("removeItem", {
|
|
7975
7975
|
type: he.ACTIVITIES,
|
|
@@ -7977,11 +7977,11 @@ const j7 = {
|
|
|
7977
7977
|
phaseId: (F = i.value) == null ? void 0 : F.id,
|
|
7978
7978
|
milestoneId: (j = l.value) == null ? void 0 : j.id,
|
|
7979
7979
|
data: {
|
|
7980
|
-
id:
|
|
7980
|
+
id: A.id
|
|
7981
7981
|
}
|
|
7982
7982
|
});
|
|
7983
|
-
}, V = (
|
|
7984
|
-
const { id: F, ...j } =
|
|
7983
|
+
}, V = (A) => {
|
|
7984
|
+
const { id: F, ...j } = A;
|
|
7985
7985
|
e("updateItem", {
|
|
7986
7986
|
itemType: he.ACTIVITIES,
|
|
7987
7987
|
id: F,
|
|
@@ -7992,57 +7992,57 @@ const j7 = {
|
|
|
7992
7992
|
x.value = !x.value;
|
|
7993
7993
|
}, I = () => {
|
|
7994
7994
|
e("addRule", { templateId: a.templateId });
|
|
7995
|
-
}, J = (
|
|
7996
|
-
e("removeRule", { id:
|
|
7997
|
-
}, g = (
|
|
7995
|
+
}, J = (A) => {
|
|
7996
|
+
e("removeRule", { id: A, templateId: a.templateId });
|
|
7997
|
+
}, g = (A) => {
|
|
7998
7998
|
var F;
|
|
7999
|
-
if (
|
|
8000
|
-
const j = Rt(
|
|
7999
|
+
if (A.moved) {
|
|
8000
|
+
const j = Rt(A, ((F = s.value) == null ? void 0 : F.phases) ?? []);
|
|
8001
8001
|
e("updateItem", {
|
|
8002
8002
|
itemType: he.PHASES,
|
|
8003
|
-
id:
|
|
8003
|
+
id: A.moved.element.id,
|
|
8004
8004
|
templateId: a.templateId,
|
|
8005
8005
|
data: {
|
|
8006
8006
|
rank: j
|
|
8007
8007
|
}
|
|
8008
8008
|
});
|
|
8009
8009
|
}
|
|
8010
|
-
}, S = (
|
|
8010
|
+
}, S = (A) => {
|
|
8011
8011
|
!i.value || !l.value || !c.value || e("addItem", {
|
|
8012
8012
|
type: he.TASKS,
|
|
8013
|
-
activityId:
|
|
8013
|
+
activityId: A.activityId,
|
|
8014
8014
|
milestoneId: l.value.id,
|
|
8015
8015
|
phaseId: i.value.id,
|
|
8016
8016
|
templateId: a.templateId,
|
|
8017
|
-
item:
|
|
8017
|
+
item: A
|
|
8018
8018
|
});
|
|
8019
|
-
}, P = (
|
|
8019
|
+
}, P = (A) => {
|
|
8020
8020
|
!i.value || !l.value || !c.value || e("updateItem", {
|
|
8021
8021
|
itemType: he.TASKS,
|
|
8022
|
-
id:
|
|
8022
|
+
id: A.id,
|
|
8023
8023
|
templateId: a.templateId,
|
|
8024
|
-
data:
|
|
8024
|
+
data: A
|
|
8025
8025
|
});
|
|
8026
|
-
}, ce = (
|
|
8026
|
+
}, ce = (A) => {
|
|
8027
8027
|
!i.value || !l.value || !c.value || e("removeItem", {
|
|
8028
8028
|
type: he.TASKS,
|
|
8029
8029
|
activityId: c.value.id,
|
|
8030
8030
|
milestoneId: l.value.id,
|
|
8031
8031
|
phaseId: i.value.id,
|
|
8032
8032
|
templateId: a.templateId,
|
|
8033
|
-
data:
|
|
8033
|
+
data: A
|
|
8034
8034
|
});
|
|
8035
|
-
}, se = (
|
|
8036
|
-
e("addFiles",
|
|
8037
|
-
}, re = (
|
|
8038
|
-
e("removeFile",
|
|
8035
|
+
}, se = (A) => {
|
|
8036
|
+
e("addFiles", A);
|
|
8037
|
+
}, re = (A) => {
|
|
8038
|
+
e("removeFile", A);
|
|
8039
8039
|
};
|
|
8040
|
-
return (
|
|
8040
|
+
return (A, F) => {
|
|
8041
8041
|
var j, ae, oe, $, Y, ie;
|
|
8042
8042
|
return s.value ? (f(), h("div", j7, [
|
|
8043
8043
|
E(d1, {
|
|
8044
8044
|
"can-go-back": !0,
|
|
8045
|
-
onGoBack: F[1] || (F[1] = (H) =>
|
|
8045
|
+
onGoBack: F[1] || (F[1] = (H) => A.$router.push({ name: z(ft).TEMPLATES_LIST }))
|
|
8046
8046
|
}, {
|
|
8047
8047
|
primary: U(() => [
|
|
8048
8048
|
E(Ce, {
|
|
@@ -8059,7 +8059,7 @@ const j7 = {
|
|
|
8059
8059
|
v("div", Z7, [
|
|
8060
8060
|
v("ol", F7, [
|
|
8061
8061
|
v("li", q7, [
|
|
8062
|
-
E(z(
|
|
8062
|
+
E(z(Je), {
|
|
8063
8063
|
"model-value": s.value.phases,
|
|
8064
8064
|
class: "ao-templates__list",
|
|
8065
8065
|
"item-key": "id",
|
|
@@ -8068,7 +8068,7 @@ const j7 = {
|
|
|
8068
8068
|
}, {
|
|
8069
8069
|
header: U(() => [
|
|
8070
8070
|
E(Ce, {
|
|
8071
|
-
title:
|
|
8071
|
+
title: A.$t("template.phases.title"),
|
|
8072
8072
|
level: 3,
|
|
8073
8073
|
class: "ao-list__title"
|
|
8074
8074
|
}, null, 8, ["title"])
|
|
@@ -8082,11 +8082,11 @@ const j7 = {
|
|
|
8082
8082
|
milestones: H.milestones,
|
|
8083
8083
|
"is-active": ((O = i.value) == null ? void 0 : O.id) === H.id,
|
|
8084
8084
|
"is-draggable": !0,
|
|
8085
|
-
onClick: (R) =>
|
|
8086
|
-
params: { templateId:
|
|
8085
|
+
onClick: (R) => A.$router.push({
|
|
8086
|
+
params: { templateId: A.templateId, phaseId: H.id }
|
|
8087
8087
|
}),
|
|
8088
8088
|
"onUpdate:title": (R) => {
|
|
8089
|
-
|
|
8089
|
+
M(H.id, R);
|
|
8090
8090
|
},
|
|
8091
8091
|
onRemove: () => w(H.id)
|
|
8092
8092
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
@@ -8094,9 +8094,9 @@ const j7 = {
|
|
|
8094
8094
|
}),
|
|
8095
8095
|
footer: U(() => [
|
|
8096
8096
|
v("div", z7, [
|
|
8097
|
-
E(
|
|
8097
|
+
E(et, {
|
|
8098
8098
|
"icon-name": "AddBoxOutlineRounded",
|
|
8099
|
-
label:
|
|
8099
|
+
label: A.$t("template.phases.add"),
|
|
8100
8100
|
onClick: p
|
|
8101
8101
|
}, null, 8, ["label"])
|
|
8102
8102
|
])
|
|
@@ -8107,10 +8107,10 @@ const j7 = {
|
|
|
8107
8107
|
v("li", W7, [
|
|
8108
8108
|
i.value ? (f(), N(G0, {
|
|
8109
8109
|
key: 0,
|
|
8110
|
-
"template-id":
|
|
8110
|
+
"template-id": A.templateId,
|
|
8111
8111
|
phase: i.value,
|
|
8112
8112
|
"milestone-id": (j = l.value) == null ? void 0 : j.id,
|
|
8113
|
-
onAddMilestone:
|
|
8113
|
+
onAddMilestone: k,
|
|
8114
8114
|
onUpdateMilestone: L,
|
|
8115
8115
|
onUpdatePhase: _,
|
|
8116
8116
|
onRemoveMilestone: y
|
|
@@ -8119,7 +8119,7 @@ const j7 = {
|
|
|
8119
8119
|
v("li", Y7, [
|
|
8120
8120
|
i.value && l.value ? (f(), N(Q0, {
|
|
8121
8121
|
key: 0,
|
|
8122
|
-
"template-id":
|
|
8122
|
+
"template-id": A.templateId,
|
|
8123
8123
|
"phase-id": (ae = i.value) == null ? void 0 : ae.id,
|
|
8124
8124
|
milestone: l.value,
|
|
8125
8125
|
"activity-id": (oe = c.value) == null ? void 0 : oe.id,
|
|
@@ -8134,18 +8134,18 @@ const j7 = {
|
|
|
8134
8134
|
c.value ? (f(), N(U1, {
|
|
8135
8135
|
key: 0,
|
|
8136
8136
|
activity: c.value,
|
|
8137
|
-
"activity-types":
|
|
8137
|
+
"activity-types": A.activityTypes,
|
|
8138
8138
|
breadcrumbs: `${s.value.name} / ${($ = i.value) == null ? void 0 : $.name} / ${(Y = l.value) == null ? void 0 : Y.name}`,
|
|
8139
8139
|
"milestone-id": (ie = l.value) == null ? void 0 : ie.id,
|
|
8140
8140
|
"template-activities": r.value,
|
|
8141
8141
|
"template-milestones": d.value,
|
|
8142
8142
|
"is-template": !0,
|
|
8143
8143
|
"is-editable": !0,
|
|
8144
|
-
users:
|
|
8144
|
+
users: A.users,
|
|
8145
8145
|
"onUpdate:activity": F[2] || (F[2] = (H) => {
|
|
8146
8146
|
c.value && V(H);
|
|
8147
8147
|
}),
|
|
8148
|
-
onClose:
|
|
8148
|
+
onClose: A.$router.back,
|
|
8149
8149
|
onAddSubtask: S,
|
|
8150
8150
|
onUpdateSubtask: P,
|
|
8151
8151
|
onDeleteSubtask: ce,
|
|
@@ -8153,7 +8153,7 @@ const j7 = {
|
|
|
8153
8153
|
onRemoveFile: re
|
|
8154
8154
|
}, {
|
|
8155
8155
|
default: U((H) => [
|
|
8156
|
-
X(
|
|
8156
|
+
X(A.$slots, "activityDetailsBody", Ht(Pt(H)))
|
|
8157
8157
|
]),
|
|
8158
8158
|
_: 3
|
|
8159
8159
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
@@ -8188,7 +8188,7 @@ const G7 = {
|
|
|
8188
8188
|
tagName: { default: "div" }
|
|
8189
8189
|
},
|
|
8190
8190
|
setup(t) {
|
|
8191
|
-
return (e, a) => (f(), N(
|
|
8191
|
+
return (e, a) => (f(), N(Qe(e.tagName), {
|
|
8192
8192
|
class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
8193
8193
|
}, {
|
|
8194
8194
|
default: U(() => [
|
|
@@ -8442,7 +8442,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8442
8442
|
]),
|
|
8443
8443
|
v("div", m9, [
|
|
8444
8444
|
v("div", C9, [
|
|
8445
|
-
E(z(
|
|
8445
|
+
E(z(Je), Ee({
|
|
8446
8446
|
class: "ao-project-phase__milestones-list",
|
|
8447
8447
|
list: o.value,
|
|
8448
8448
|
disabled: !u.isEditable,
|
|
@@ -8469,7 +8469,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8469
8469
|
_: 1
|
|
8470
8470
|
}, 16, ["list", "disabled"]),
|
|
8471
8471
|
v("div", _9, [
|
|
8472
|
-
u.isEditable ? (f(), N(
|
|
8472
|
+
u.isEditable ? (f(), N(et, {
|
|
8473
8473
|
key: 0,
|
|
8474
8474
|
label: u.$t("project.milestone.add"),
|
|
8475
8475
|
class: "ao-project-phase__milestone-add",
|
|
@@ -8485,7 +8485,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
|
|
|
8485
8485
|
const y9 = { class: "ao-project__phases" }, b9 = {
|
|
8486
8486
|
key: 0,
|
|
8487
8487
|
class: "ao-project-phase__phases-list-footer"
|
|
8488
|
-
}, w9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), $9 = { class: "ao-project-phase__col-phase" },
|
|
8488
|
+
}, w9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), $9 = { class: "ao-project-phase__col-phase" }, k9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), M9 = /* @__PURE__ */ K({
|
|
8489
8489
|
__name: "AoProjectPhases",
|
|
8490
8490
|
props: {
|
|
8491
8491
|
phases: {},
|
|
@@ -8520,7 +8520,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
|
|
|
8520
8520
|
e("addPhase", c);
|
|
8521
8521
|
};
|
|
8522
8522
|
return (c, u) => (f(), h("div", y9, [
|
|
8523
|
-
E(z(
|
|
8523
|
+
E(z(Je), {
|
|
8524
8524
|
class: "ao-project-phase__phases-list",
|
|
8525
8525
|
"model-value": c.phases,
|
|
8526
8526
|
"item-key": "id",
|
|
@@ -8544,14 +8544,14 @@ const y9 = { class: "ao-project__phases" }, b9 = {
|
|
|
8544
8544
|
c.isEditable ? (f(), h("div", b9, [
|
|
8545
8545
|
w9,
|
|
8546
8546
|
v("div", $9, [
|
|
8547
|
-
E(
|
|
8547
|
+
E(et, {
|
|
8548
8548
|
label: c.$t("project.phases.add"),
|
|
8549
8549
|
"icon-name": "Add",
|
|
8550
8550
|
class: "ao-project-phase__add-phase",
|
|
8551
8551
|
onClick: r
|
|
8552
8552
|
}, null, 8, ["label"])
|
|
8553
8553
|
]),
|
|
8554
|
-
|
|
8554
|
+
k9
|
|
8555
8555
|
])) : T("", !0)
|
|
8556
8556
|
]));
|
|
8557
8557
|
}
|
|
@@ -8701,11 +8701,11 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8701
8701
|
e("archiveActivity", I);
|
|
8702
8702
|
}, w = (I) => {
|
|
8703
8703
|
e("addSubtask", I);
|
|
8704
|
-
},
|
|
8704
|
+
}, M = (I) => {
|
|
8705
8705
|
e("updateSubtask", I);
|
|
8706
8706
|
}, _ = (I) => {
|
|
8707
8707
|
e("deleteSubtask", I);
|
|
8708
|
-
},
|
|
8708
|
+
}, k = b(
|
|
8709
8709
|
() => s.value.flatMap((I) => I.activities)
|
|
8710
8710
|
), y = (I) => {
|
|
8711
8711
|
e("addFiles", I);
|
|
@@ -8758,7 +8758,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8758
8758
|
_: 1
|
|
8759
8759
|
}),
|
|
8760
8760
|
v("div", H9, [
|
|
8761
|
-
E(
|
|
8761
|
+
E(M9, {
|
|
8762
8762
|
phases: I.phases,
|
|
8763
8763
|
"closed-status": I.closedStatus,
|
|
8764
8764
|
"is-editable": I.isEditable,
|
|
@@ -8786,7 +8786,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8786
8786
|
(f(), N(It, { to: "body" }, [
|
|
8787
8787
|
E(g, {
|
|
8788
8788
|
name: "modal",
|
|
8789
|
-
activities:
|
|
8789
|
+
activities: k.value,
|
|
8790
8790
|
"is-task-checkable": I.isTaskCheckable,
|
|
8791
8791
|
statuses: I.statuses,
|
|
8792
8792
|
"activity-types": I.activityTypes,
|
|
@@ -8796,7 +8796,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8796
8796
|
"is-editable": I.isEditable,
|
|
8797
8797
|
"onUpdate:activity": p,
|
|
8798
8798
|
onAddSubtask: w,
|
|
8799
|
-
onUpdateSubtask:
|
|
8799
|
+
onUpdateSubtask: M,
|
|
8800
8800
|
onDeleteSubtask: _,
|
|
8801
8801
|
onAddFiles: y,
|
|
8802
8802
|
onRemoveFile: L,
|
|
@@ -8805,7 +8805,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8805
8805
|
onRemoveComment: V
|
|
8806
8806
|
}, {
|
|
8807
8807
|
default: U(({ Component: S }) => [
|
|
8808
|
-
(f(), N(
|
|
8808
|
+
(f(), N(Qe(S), null, {
|
|
8809
8809
|
default: U((P) => [
|
|
8810
8810
|
X(I.$slots, "activityDetailsBody", Ht(Pt(P)))
|
|
8811
8811
|
]),
|
|
@@ -8947,7 +8947,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8947
8947
|
key: w.id
|
|
8948
8948
|
}, [
|
|
8949
8949
|
w ? (f(), h("li", W9, [
|
|
8950
|
-
E(
|
|
8950
|
+
E(yt, {
|
|
8951
8951
|
"user-name": l(w),
|
|
8952
8952
|
"avatar-url": w.avatarUrl,
|
|
8953
8953
|
"is-closable": !0,
|
|
@@ -8994,7 +8994,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8994
8994
|
}));
|
|
8995
8995
|
}
|
|
8996
8996
|
});
|
|
8997
|
-
const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-milestone__header" }, n4 = { class: "ao-project-
|
|
8997
|
+
const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-milestone__header" }, n4 = { class: "ao-project-milestone__header_line" }, i4 = { class: "ao-project-milestone__title" }, o4 = { key: 0 }, l4 = { class: "ao-field" }, r4 = { class: "ao-field__label" }, u4 = { class: "ao-project-milestone__body" }, d4 = {
|
|
8998
8998
|
key: 0,
|
|
8999
8999
|
class: "ao-project-milestone__footer"
|
|
9000
9000
|
}, da = /* @__PURE__ */ K({
|
|
@@ -9051,49 +9051,68 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9051
9051
|
return f(), h("div", a4, [
|
|
9052
9052
|
v("header", s4, [
|
|
9053
9053
|
v("div", n4, [
|
|
9054
|
-
v("
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9054
|
+
v("div", i4, [
|
|
9055
|
+
v("span", null, q(p.$t("project.milestone.title")), 1),
|
|
9056
|
+
E(Ce, {
|
|
9057
|
+
title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
|
|
9058
|
+
level: 5
|
|
9059
|
+
}, null, 8, ["title"])
|
|
9060
|
+
]),
|
|
9061
|
+
E(de, {
|
|
9062
|
+
"icon-name": "CloseRounded",
|
|
9063
|
+
variant: "ghost",
|
|
9064
|
+
onClick: d
|
|
9065
|
+
})
|
|
9059
9066
|
]),
|
|
9060
|
-
|
|
9061
|
-
"
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9067
|
+
i.value ? (f(), h("div", o4, [
|
|
9068
|
+
v("label", l4, [
|
|
9069
|
+
v("span", r4, q(p.$t("activity.deadline.label")), 1),
|
|
9070
|
+
Ye(v("input", {
|
|
9071
|
+
"onUpdate:modelValue": m[0] || (m[0] = (M) => i.value.deadline = M),
|
|
9072
|
+
class: "ao-field__input",
|
|
9073
|
+
type: "date"
|
|
9074
|
+
}, null, 512), [
|
|
9075
|
+
[
|
|
9076
|
+
mt,
|
|
9077
|
+
i.value.deadline,
|
|
9078
|
+
void 0,
|
|
9079
|
+
{ lazy: !0 }
|
|
9080
|
+
]
|
|
9081
|
+
])
|
|
9082
|
+
])
|
|
9083
|
+
])) : T("", !0)
|
|
9065
9084
|
]),
|
|
9066
|
-
v("div",
|
|
9067
|
-
E(z(
|
|
9085
|
+
v("div", u4, [
|
|
9086
|
+
E(z(Je), Ee({
|
|
9068
9087
|
class: "ao-project-milestone__activities",
|
|
9069
9088
|
list: l.value,
|
|
9070
9089
|
disabled: !p.isEditable,
|
|
9071
9090
|
"item-key": "id",
|
|
9072
9091
|
group: "kanban"
|
|
9073
9092
|
}, p.$attrs, { onChange: u }), {
|
|
9074
|
-
item: U(({ element:
|
|
9075
|
-
var _,
|
|
9093
|
+
item: U(({ element: M }) => {
|
|
9094
|
+
var _, k, y, L;
|
|
9076
9095
|
return [
|
|
9077
9096
|
E(Ua, {
|
|
9078
|
-
id:
|
|
9079
|
-
name:
|
|
9097
|
+
id: M.id,
|
|
9098
|
+
name: M.name || M.id,
|
|
9080
9099
|
"phase-name": (_ = s.value) == null ? void 0 : _.name,
|
|
9081
|
-
"milestone-name": (
|
|
9082
|
-
deadline:
|
|
9083
|
-
important:
|
|
9100
|
+
"milestone-name": (k = i.value) == null ? void 0 : k.name,
|
|
9101
|
+
deadline: M.deadline,
|
|
9102
|
+
important: M.important,
|
|
9084
9103
|
users: p.users,
|
|
9085
|
-
assignee:
|
|
9086
|
-
comments: (y =
|
|
9087
|
-
attachments: (L =
|
|
9088
|
-
tasks:
|
|
9104
|
+
assignee: M.assignee,
|
|
9105
|
+
comments: (y = M.comments) == null ? void 0 : y.length,
|
|
9106
|
+
attachments: (L = M.attachments) == null ? void 0 : L.length,
|
|
9107
|
+
tasks: M.tasks,
|
|
9089
9108
|
"is-editable": p.isEditable,
|
|
9090
|
-
"is-private":
|
|
9109
|
+
"is-private": M.private,
|
|
9091
9110
|
onClick: (Z) => p.$router.push({
|
|
9092
9111
|
name: z(He).activity,
|
|
9093
|
-
params: { milestoneId: p.milestoneId, activityId:
|
|
9112
|
+
params: { milestoneId: p.milestoneId, activityId: M.id }
|
|
9094
9113
|
}),
|
|
9095
9114
|
onUpdateActivity: c,
|
|
9096
|
-
onRemoveAssignee: () => c({ id:
|
|
9115
|
+
onRemoveAssignee: () => c({ id: M.id, assigneeId: null })
|
|
9097
9116
|
}, s1({ _: 2 }, [
|
|
9098
9117
|
p.isEditable ? {
|
|
9099
9118
|
name: "secondary",
|
|
@@ -9106,7 +9125,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9106
9125
|
"icon-position": "start",
|
|
9107
9126
|
corners: "round",
|
|
9108
9127
|
label: p.$t("archive"),
|
|
9109
|
-
onClick: _e(() => p.$emit("archiveActivity", { id:
|
|
9128
|
+
onClick: _e(() => p.$emit("archiveActivity", { id: M.id }), ["stop"])
|
|
9110
9129
|
}, null, 8, ["label", "onClick"])
|
|
9111
9130
|
]),
|
|
9112
9131
|
key: "0"
|
|
@@ -9116,8 +9135,8 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9116
9135
|
}),
|
|
9117
9136
|
_: 1
|
|
9118
9137
|
}, 16, ["list", "disabled"]),
|
|
9119
|
-
p.isEditable ? (f(), h("div",
|
|
9120
|
-
E(
|
|
9138
|
+
p.isEditable ? (f(), h("div", d4, [
|
|
9139
|
+
E(et, {
|
|
9121
9140
|
"icon-name": "Add",
|
|
9122
9141
|
label: p.$t("project.activity.add"),
|
|
9123
9142
|
onClick: r
|
|
@@ -9128,7 +9147,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
|
|
|
9128
9147
|
};
|
|
9129
9148
|
}
|
|
9130
9149
|
});
|
|
9131
|
-
const
|
|
9150
|
+
const c4 = /* @__PURE__ */ K({
|
|
9132
9151
|
__name: "AoProjectOverviewActivityDetails",
|
|
9133
9152
|
props: {
|
|
9134
9153
|
phaseId: {},
|
|
@@ -9148,18 +9167,18 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9148
9167
|
setup(t, { emit: e }) {
|
|
9149
9168
|
const a = t, n = b(() => {
|
|
9150
9169
|
var _;
|
|
9151
|
-
return (_ = a.phases) == null ? void 0 : _.find((
|
|
9170
|
+
return (_ = a.phases) == null ? void 0 : _.find((k) => k.id === a.phaseId);
|
|
9152
9171
|
}), s = b(
|
|
9153
9172
|
() => {
|
|
9154
9173
|
var _;
|
|
9155
|
-
return (_ = a.phases) == null ? void 0 : _.flatMap((
|
|
9174
|
+
return (_ = a.phases) == null ? void 0 : _.flatMap((k) => k.milestones);
|
|
9156
9175
|
}
|
|
9157
9176
|
), o = b(() => {
|
|
9158
9177
|
var _;
|
|
9159
|
-
return (_ = s.value) == null ? void 0 : _.find((
|
|
9178
|
+
return (_ = s.value) == null ? void 0 : _.find((k) => k.id === a.milestoneId);
|
|
9160
9179
|
}), i = b(() => {
|
|
9161
9180
|
var _;
|
|
9162
|
-
return (_ = a.activities) == null ? void 0 : _.find((
|
|
9181
|
+
return (_ = a.activities) == null ? void 0 : _.find((k) => k.id === a.activityId);
|
|
9163
9182
|
}), l = (_) => {
|
|
9164
9183
|
e("update:activity", _);
|
|
9165
9184
|
}, d = (_) => {
|
|
@@ -9176,10 +9195,10 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9176
9195
|
e("addComment", _);
|
|
9177
9196
|
}, w = (_) => {
|
|
9178
9197
|
e("updateComment", _);
|
|
9179
|
-
},
|
|
9198
|
+
}, M = (_) => {
|
|
9180
9199
|
e("removeComment", _);
|
|
9181
9200
|
};
|
|
9182
|
-
return (_,
|
|
9201
|
+
return (_, k) => {
|
|
9183
9202
|
var y, L;
|
|
9184
9203
|
return i.value ? (f(), N(U1, {
|
|
9185
9204
|
key: 0,
|
|
@@ -9203,7 +9222,7 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9203
9222
|
onRemoveFile: p,
|
|
9204
9223
|
onAddComment: m,
|
|
9205
9224
|
onUpdateComment: w,
|
|
9206
|
-
onRemoveComment:
|
|
9225
|
+
onRemoveComment: M
|
|
9207
9226
|
}, {
|
|
9208
9227
|
default: U((Z) => [
|
|
9209
9228
|
X(_.$slots, "default", Ht(Pt(Z)))
|
|
@@ -9212,14 +9231,14 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9212
9231
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : T("", !0);
|
|
9213
9232
|
};
|
|
9214
9233
|
}
|
|
9215
|
-
}),
|
|
9234
|
+
}), f4 = { class: "ao-col-header" }, v4 = /* @__PURE__ */ K({
|
|
9216
9235
|
__name: "AoColHeader",
|
|
9217
9236
|
props: {
|
|
9218
9237
|
title: {},
|
|
9219
9238
|
items: {}
|
|
9220
9239
|
},
|
|
9221
9240
|
setup(t) {
|
|
9222
|
-
return (e, a) => (f(), h("header",
|
|
9241
|
+
return (e, a) => (f(), h("header", f4, [
|
|
9223
9242
|
E(Ce, {
|
|
9224
9243
|
title: e.title,
|
|
9225
9244
|
class: "ao-col-header__title",
|
|
@@ -9235,15 +9254,15 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9235
9254
|
]));
|
|
9236
9255
|
}
|
|
9237
9256
|
});
|
|
9238
|
-
function
|
|
9257
|
+
function p4(t) {
|
|
9239
9258
|
return ms() ? (Cs(t), !0) : !1;
|
|
9240
9259
|
}
|
|
9241
9260
|
function t1(t) {
|
|
9242
9261
|
return typeof t == "function" ? t() : z(t);
|
|
9243
9262
|
}
|
|
9244
|
-
const
|
|
9263
|
+
const h4 = typeof window < "u", m4 = (t) => t != null, Et = () => {
|
|
9245
9264
|
};
|
|
9246
|
-
function
|
|
9265
|
+
function C4(t, e) {
|
|
9247
9266
|
function a(...n) {
|
|
9248
9267
|
return new Promise((s, o) => {
|
|
9249
9268
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -9251,10 +9270,10 @@ function v4(t, e) {
|
|
|
9251
9270
|
}
|
|
9252
9271
|
return a;
|
|
9253
9272
|
}
|
|
9254
|
-
function
|
|
9255
|
-
let a, n, s =
|
|
9273
|
+
function _4(t, e = {}) {
|
|
9274
|
+
let a, n, s = Et;
|
|
9256
9275
|
const o = (l) => {
|
|
9257
|
-
clearTimeout(l), s(), s =
|
|
9276
|
+
clearTimeout(l), s(), s = Et;
|
|
9258
9277
|
};
|
|
9259
9278
|
return (l) => {
|
|
9260
9279
|
const d = t1(t), r = t1(e.maxWait);
|
|
@@ -9267,9 +9286,9 @@ function p4(t, e = {}) {
|
|
|
9267
9286
|
});
|
|
9268
9287
|
};
|
|
9269
9288
|
}
|
|
9270
|
-
function
|
|
9271
|
-
return
|
|
9272
|
-
|
|
9289
|
+
function g4(t, e = 200, a = {}) {
|
|
9290
|
+
return C4(
|
|
9291
|
+
_4(e, a),
|
|
9273
9292
|
t
|
|
9274
9293
|
);
|
|
9275
9294
|
}
|
|
@@ -9278,51 +9297,51 @@ function A1(t) {
|
|
|
9278
9297
|
const a = t1(t);
|
|
9279
9298
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
9280
9299
|
}
|
|
9281
|
-
const
|
|
9282
|
-
function
|
|
9300
|
+
const y4 = h4 ? window : void 0;
|
|
9301
|
+
function b4() {
|
|
9283
9302
|
const t = Q(!1);
|
|
9284
9303
|
return st() && Dt(() => {
|
|
9285
9304
|
t.value = !0;
|
|
9286
9305
|
}), t;
|
|
9287
9306
|
}
|
|
9288
|
-
function
|
|
9289
|
-
const e =
|
|
9307
|
+
function w4(t) {
|
|
9308
|
+
const e = b4();
|
|
9290
9309
|
return b(() => (e.value, !!t()));
|
|
9291
9310
|
}
|
|
9292
|
-
function
|
|
9311
|
+
function $4(t, e, a = {}) {
|
|
9293
9312
|
const {
|
|
9294
9313
|
root: n,
|
|
9295
9314
|
rootMargin: s = "0px",
|
|
9296
9315
|
threshold: o = 0.1,
|
|
9297
|
-
window: i =
|
|
9316
|
+
window: i = y4,
|
|
9298
9317
|
immediate: l = !0
|
|
9299
|
-
} = a, d =
|
|
9318
|
+
} = a, d = w4(() => i && "IntersectionObserver" in i), r = b(() => {
|
|
9300
9319
|
const w = t1(t);
|
|
9301
|
-
return (Array.isArray(w) ? w : [w]).map(A1).filter(
|
|
9320
|
+
return (Array.isArray(w) ? w : [w]).map(A1).filter(m4);
|
|
9302
9321
|
});
|
|
9303
|
-
let c =
|
|
9322
|
+
let c = Et;
|
|
9304
9323
|
const u = Q(l), p = d.value ? ue(
|
|
9305
9324
|
() => [r.value, A1(n), u.value],
|
|
9306
|
-
([w,
|
|
9325
|
+
([w, M]) => {
|
|
9307
9326
|
if (c(), !u.value || !w.length)
|
|
9308
9327
|
return;
|
|
9309
9328
|
const _ = new IntersectionObserver(
|
|
9310
9329
|
e,
|
|
9311
9330
|
{
|
|
9312
|
-
root: A1(
|
|
9331
|
+
root: A1(M),
|
|
9313
9332
|
rootMargin: s,
|
|
9314
9333
|
threshold: o
|
|
9315
9334
|
}
|
|
9316
9335
|
);
|
|
9317
|
-
w.forEach((
|
|
9318
|
-
_.disconnect(), c =
|
|
9336
|
+
w.forEach((k) => k && _.observe(k)), c = () => {
|
|
9337
|
+
_.disconnect(), c = Et;
|
|
9319
9338
|
};
|
|
9320
9339
|
},
|
|
9321
9340
|
{ immediate: l, flush: "post" }
|
|
9322
|
-
) :
|
|
9341
|
+
) : Et, m = () => {
|
|
9323
9342
|
c(), p(), u.value = !1;
|
|
9324
9343
|
};
|
|
9325
|
-
return
|
|
9344
|
+
return p4(m), {
|
|
9326
9345
|
isSupported: d,
|
|
9327
9346
|
isActive: u,
|
|
9328
9347
|
pause() {
|
|
@@ -9334,24 +9353,24 @@ function g4(t, e, a = {}) {
|
|
|
9334
9353
|
stop: m
|
|
9335
9354
|
};
|
|
9336
9355
|
}
|
|
9337
|
-
const
|
|
9356
|
+
const k4 = {
|
|
9338
9357
|
class: /* @__PURE__ */ G(["ao-list-kanban"])
|
|
9339
|
-
},
|
|
9358
|
+
}, M4 = { class: "ao-list-kanban__header" }, A4 = {
|
|
9340
9359
|
key: 0,
|
|
9341
9360
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
9342
|
-
},
|
|
9361
|
+
}, T4 = {
|
|
9343
9362
|
key: 1,
|
|
9344
9363
|
class: "ao-list-kanban__end"
|
|
9345
|
-
},
|
|
9364
|
+
}, S4 = {
|
|
9346
9365
|
key: 0,
|
|
9347
9366
|
class: "ao-list-kanban__no-more"
|
|
9348
|
-
},
|
|
9367
|
+
}, E4 = {
|
|
9349
9368
|
key: 1,
|
|
9350
9369
|
class: "ao-list-kanban__divider"
|
|
9351
|
-
},
|
|
9370
|
+
}, I4 = {
|
|
9352
9371
|
key: 1,
|
|
9353
9372
|
class: "ao-list-kanban__footer"
|
|
9354
|
-
},
|
|
9373
|
+
}, O4 = /* @__PURE__ */ K({
|
|
9355
9374
|
__name: "AoListKanban",
|
|
9356
9375
|
props: {
|
|
9357
9376
|
list: {},
|
|
@@ -9367,7 +9386,7 @@ const y4 = {
|
|
|
9367
9386
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
|
|
9368
9387
|
setup(t, { emit: e }) {
|
|
9369
9388
|
const a = t, n = Q(!1), s = Q(null);
|
|
9370
|
-
|
|
9389
|
+
$4(s, ([{ isIntersecting: r }]) => {
|
|
9371
9390
|
n.value = r;
|
|
9372
9391
|
}), ue(n, (r) => {
|
|
9373
9392
|
r && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -9389,12 +9408,12 @@ const y4 = {
|
|
|
9389
9408
|
)
|
|
9390
9409
|
});
|
|
9391
9410
|
}, d = Q(!1);
|
|
9392
|
-
return (r, c) => (f(), h("div",
|
|
9411
|
+
return (r, c) => (f(), h("div", k4, [
|
|
9393
9412
|
r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
|
|
9394
9413
|
var u;
|
|
9395
9414
|
return [
|
|
9396
|
-
v("div",
|
|
9397
|
-
r.title ? (f(), N(
|
|
9415
|
+
v("div", M4, [
|
|
9416
|
+
r.title ? (f(), N(v4, {
|
|
9398
9417
|
key: 0,
|
|
9399
9418
|
title: r.title,
|
|
9400
9419
|
level: 3,
|
|
@@ -9403,7 +9422,7 @@ const y4 = {
|
|
|
9403
9422
|
])
|
|
9404
9423
|
];
|
|
9405
9424
|
}) : T("", !0),
|
|
9406
|
-
E(z(
|
|
9425
|
+
E(z(Je), Ee({
|
|
9407
9426
|
class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
|
|
9408
9427
|
list: r.list,
|
|
9409
9428
|
"item-key": "id",
|
|
@@ -9421,17 +9440,17 @@ const y4 = {
|
|
|
9421
9440
|
}
|
|
9422
9441
|
}), {
|
|
9423
9442
|
item: U(({ element: u }) => {
|
|
9424
|
-
var p, m, w,
|
|
9443
|
+
var p, m, w, M, _, k, y, L;
|
|
9425
9444
|
return [
|
|
9426
9445
|
E(Ua, {
|
|
9427
9446
|
id: u.id,
|
|
9428
9447
|
name: u.name,
|
|
9429
9448
|
"project-name": (p = u.project) == null ? void 0 : p.name,
|
|
9430
9449
|
"project-color": (m = u.project) == null ? void 0 : m.color,
|
|
9431
|
-
"phase-name": (
|
|
9450
|
+
"phase-name": (M = (w = u.milestone) == null ? void 0 : w.phase) == null ? void 0 : M.name,
|
|
9432
9451
|
"milestone-name": (_ = u.milestone) == null ? void 0 : _.name,
|
|
9433
9452
|
deadline: u.deadline,
|
|
9434
|
-
rules: ((
|
|
9453
|
+
rules: ((k = u.rules) == null ? void 0 : k.length) || 0,
|
|
9435
9454
|
tasks: u.tasks,
|
|
9436
9455
|
description: u.description,
|
|
9437
9456
|
important: u.important,
|
|
@@ -9467,22 +9486,22 @@ const y4 = {
|
|
|
9467
9486
|
];
|
|
9468
9487
|
}),
|
|
9469
9488
|
footer: U(() => [
|
|
9470
|
-
r.isLoading ? (f(), h("div",
|
|
9489
|
+
r.isLoading ? (f(), h("div", A4, [
|
|
9471
9490
|
E(fe, { name: "Loading" })
|
|
9472
9491
|
])) : r.hasMore ? (f(), h("div", {
|
|
9473
9492
|
key: 2,
|
|
9474
9493
|
ref_key: "scrollEnd",
|
|
9475
9494
|
ref: s,
|
|
9476
9495
|
class: "ao-list-kanban__end"
|
|
9477
|
-
}, null, 512)) : (f(), h("div",
|
|
9478
|
-
r.noMoreLabel ? (f(), h("span",
|
|
9496
|
+
}, null, 512)) : (f(), h("div", T4, [
|
|
9497
|
+
r.noMoreLabel ? (f(), h("span", S4, q(r.noMoreLabel), 1)) : r.isEditable ? (f(), h("span", E4)) : T("", !0)
|
|
9479
9498
|
]))
|
|
9480
9499
|
]),
|
|
9481
9500
|
_: 1
|
|
9482
9501
|
}, 16, ["class", "list", "disabled"]),
|
|
9483
|
-
r.$slots.footer || r.footerLabel ? (f(), h("div",
|
|
9502
|
+
r.$slots.footer || r.footerLabel ? (f(), h("div", I4, [
|
|
9484
9503
|
X(r.$slots, "footer", {}, () => [
|
|
9485
|
-
r.isEditable ? (f(), N(
|
|
9504
|
+
r.isEditable ? (f(), N(et, {
|
|
9486
9505
|
key: 0,
|
|
9487
9506
|
"icon-name": "AddBoxOutlineRounded",
|
|
9488
9507
|
label: r.footerLabel,
|
|
@@ -9493,7 +9512,7 @@ const y4 = {
|
|
|
9493
9512
|
]));
|
|
9494
9513
|
}
|
|
9495
9514
|
});
|
|
9496
|
-
const
|
|
9515
|
+
const L4 = { class: "ao-field ao-search-field" }, V4 = ["value", "placeholder", "onKeypress"], D4 = /* @__PURE__ */ K({
|
|
9497
9516
|
__name: "AoSearchField",
|
|
9498
9517
|
props: {
|
|
9499
9518
|
modelValue: {},
|
|
@@ -9505,10 +9524,10 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
9505
9524
|
const a = t, n = async (i) => {
|
|
9506
9525
|
const d = i.target.value;
|
|
9507
9526
|
e("update:modelValue", d, i);
|
|
9508
|
-
}, s =
|
|
9527
|
+
}, s = g4(n, a.delay), o = (i) => {
|
|
9509
9528
|
e("clear", i);
|
|
9510
9529
|
};
|
|
9511
|
-
return (i, l) => (f(), h("div",
|
|
9530
|
+
return (i, l) => (f(), h("div", L4, [
|
|
9512
9531
|
v("input", {
|
|
9513
9532
|
value: i.modelValue,
|
|
9514
9533
|
type: "text",
|
|
@@ -9516,8 +9535,8 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
9516
9535
|
placeholder: i.placeholder,
|
|
9517
9536
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
9518
9537
|
(...d) => z(s) && z(s)(...d)),
|
|
9519
|
-
onKeypress:
|
|
9520
|
-
}, null, 40,
|
|
9538
|
+
onKeypress: Ke(n, ["enter"])
|
|
9539
|
+
}, null, 40, V4),
|
|
9521
9540
|
E(fe, {
|
|
9522
9541
|
name: "SearchRounded",
|
|
9523
9542
|
class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -9533,7 +9552,7 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
|
|
|
9533
9552
|
]));
|
|
9534
9553
|
}
|
|
9535
9554
|
});
|
|
9536
|
-
function
|
|
9555
|
+
function H4(t) {
|
|
9537
9556
|
const e = Q(), a = b(
|
|
9538
9557
|
() => t.value.find(
|
|
9539
9558
|
(s) => s.id === e.value
|
|
@@ -9547,21 +9566,21 @@ function O4(t) {
|
|
|
9547
9566
|
}
|
|
9548
9567
|
};
|
|
9549
9568
|
}
|
|
9550
|
-
const
|
|
9551
|
-
function
|
|
9552
|
-
const e =
|
|
9553
|
-
return _s(
|
|
9569
|
+
const P4 = Symbol.for("FeedStore");
|
|
9570
|
+
function B4(t) {
|
|
9571
|
+
const e = H4(t);
|
|
9572
|
+
return _s(P4, e), e;
|
|
9554
9573
|
}
|
|
9555
|
-
const
|
|
9574
|
+
const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { class: "ao-feed__body" }, j4 = { class: "ao-feed__activity-details__header" }, Z4 = {
|
|
9556
9575
|
key: 0,
|
|
9557
9576
|
class: "ao-field ao-feed__activity-details__project"
|
|
9558
|
-
},
|
|
9577
|
+
}, F4 = { class: "ao-field__label" }, q4 = {
|
|
9559
9578
|
key: 1,
|
|
9560
9579
|
class: "ao-field ao-feed__activity-details__project"
|
|
9561
|
-
},
|
|
9580
|
+
}, z4 = { class: "ao-field__label" }, W4 = {
|
|
9562
9581
|
key: 2,
|
|
9563
9582
|
class: "ao-field ao-feed__activity-details__status"
|
|
9564
|
-
},
|
|
9583
|
+
}, Y4 = { class: "ao-field__label" }, K4 = { class: "ao-field__row" }, G4 = { class: "ao-field" }, X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
9565
9584
|
__name: "AoFeed",
|
|
9566
9585
|
props: {
|
|
9567
9586
|
activities: {},
|
|
@@ -9581,7 +9600,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9581
9600
|
},
|
|
9582
9601
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9583
9602
|
setup(t, { emit: e }) {
|
|
9584
|
-
const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } =
|
|
9603
|
+
const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } = B4(s), l = async ($) => {
|
|
9585
9604
|
o($), await e("selectActivity", $);
|
|
9586
9605
|
}, d = Q({}), r = Q(!1), c = Q(!1);
|
|
9587
9606
|
ue(
|
|
@@ -9592,8 +9611,8 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9592
9611
|
$.map((R) => [
|
|
9593
9612
|
R.id,
|
|
9594
9613
|
Y.filter((me) => {
|
|
9595
|
-
var
|
|
9596
|
-
return ((
|
|
9614
|
+
var ke;
|
|
9615
|
+
return ((ke = me.status) == null ? void 0 : ke.id) === R.id;
|
|
9597
9616
|
})
|
|
9598
9617
|
])
|
|
9599
9618
|
), ie && !r.value && (l(ie), r.value = !0), c.value && Ue(Y, O);
|
|
@@ -9615,7 +9634,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9615
9634
|
c.value = !1, e("update:filters", { ...a.filters, [$]: Y });
|
|
9616
9635
|
}, w = b(
|
|
9617
9636
|
() => a.project ? [a.project] : a.projects ?? []
|
|
9618
|
-
),
|
|
9637
|
+
), M = b(() => w.value.map(($) => ({
|
|
9619
9638
|
value: $.id,
|
|
9620
9639
|
label: $.name
|
|
9621
9640
|
}))), _ = b(() => {
|
|
@@ -9624,7 +9643,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9624
9643
|
value: Y.id,
|
|
9625
9644
|
label: Y.name
|
|
9626
9645
|
}));
|
|
9627
|
-
}),
|
|
9646
|
+
}), k = b(() => a.users.map(($) => ({
|
|
9628
9647
|
value: $.id,
|
|
9629
9648
|
label: `${$.firstName} ${$.lastName}`,
|
|
9630
9649
|
avatar: $.avatarUrl
|
|
@@ -9673,7 +9692,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9673
9692
|
}, re = b(() => w.value.map(($) => ({
|
|
9674
9693
|
value: $.id,
|
|
9675
9694
|
label: $.name
|
|
9676
|
-
}))),
|
|
9695
|
+
}))), A = b(() => {
|
|
9677
9696
|
var Y, ie, H;
|
|
9678
9697
|
const $ = (H = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : H.reduce(
|
|
9679
9698
|
(O, R) => [...O, ...R.milestones],
|
|
@@ -9707,10 +9726,10 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9707
9726
|
};
|
|
9708
9727
|
return ($, Y) => {
|
|
9709
9728
|
var ie;
|
|
9710
|
-
return f(), h("div",
|
|
9729
|
+
return f(), h("div", N4, [
|
|
9711
9730
|
E(d1, null, {
|
|
9712
9731
|
primary: U(() => [
|
|
9713
|
-
v("div",
|
|
9732
|
+
v("div", R4, [
|
|
9714
9733
|
a.project ? (f(), N(Ra, {
|
|
9715
9734
|
key: 0,
|
|
9716
9735
|
"is-left": !1,
|
|
@@ -9720,7 +9739,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9720
9739
|
H && $.$router.push({ name: z(He).project });
|
|
9721
9740
|
})
|
|
9722
9741
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
9723
|
-
E(
|
|
9742
|
+
E(D4, {
|
|
9724
9743
|
"model-value": $.searchText,
|
|
9725
9744
|
placeholder: $.$t("feed.search.placeholder"),
|
|
9726
9745
|
class: "ao-feed__search",
|
|
@@ -9731,7 +9750,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9731
9750
|
key: 1,
|
|
9732
9751
|
"model-value": $.filters[z(dt).project],
|
|
9733
9752
|
mode: "tags",
|
|
9734
|
-
options:
|
|
9753
|
+
options: M.value,
|
|
9735
9754
|
"close-on-select": !1,
|
|
9736
9755
|
searchable: !0,
|
|
9737
9756
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
@@ -9752,7 +9771,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9752
9771
|
E(be, {
|
|
9753
9772
|
"model-value": $.filters[z(dt).assignee],
|
|
9754
9773
|
mode: "tags",
|
|
9755
|
-
options:
|
|
9774
|
+
options: k.value,
|
|
9756
9775
|
"close-on-select": !1,
|
|
9757
9776
|
searchable: !0,
|
|
9758
9777
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
@@ -9763,7 +9782,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9763
9782
|
option: H,
|
|
9764
9783
|
handleTagRemove: O
|
|
9765
9784
|
}) => [
|
|
9766
|
-
E(
|
|
9785
|
+
E(yt, {
|
|
9767
9786
|
"user-name": H.label,
|
|
9768
9787
|
"avatar-url": H.avatar,
|
|
9769
9788
|
"is-closable": !0,
|
|
@@ -9800,8 +9819,8 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9800
9819
|
]),
|
|
9801
9820
|
_: 1
|
|
9802
9821
|
}),
|
|
9803
|
-
v("div",
|
|
9804
|
-
(f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(
|
|
9822
|
+
v("div", U4, [
|
|
9823
|
+
(f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(O4, {
|
|
9805
9824
|
key: H.id,
|
|
9806
9825
|
status: H,
|
|
9807
9826
|
list: d.value[H.id],
|
|
@@ -9842,9 +9861,9 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9842
9861
|
header: U(() => {
|
|
9843
9862
|
var H, O, R;
|
|
9844
9863
|
return [
|
|
9845
|
-
v("div",
|
|
9846
|
-
re.value && !a.project ? (f(), h("label",
|
|
9847
|
-
v("span",
|
|
9864
|
+
v("div", j4, [
|
|
9865
|
+
re.value && !a.project ? (f(), h("label", Z4, [
|
|
9866
|
+
v("span", F4, q($.$t("activity.project.label")), 1),
|
|
9848
9867
|
E(be, {
|
|
9849
9868
|
options: re.value,
|
|
9850
9869
|
value: (H = z(i).project) == null ? void 0 : H.id,
|
|
@@ -9854,10 +9873,10 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9854
9873
|
onChange: F
|
|
9855
9874
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9856
9875
|
])) : T("", !0),
|
|
9857
|
-
|
|
9858
|
-
v("span",
|
|
9876
|
+
A.value ? (f(), h("label", q4, [
|
|
9877
|
+
v("span", z4, q($.$t("activity.milestone.label")), 1),
|
|
9859
9878
|
E(be, {
|
|
9860
|
-
options:
|
|
9879
|
+
options: A.value,
|
|
9861
9880
|
value: (O = z(i).milestone) == null ? void 0 : O.id,
|
|
9862
9881
|
searchable: !0,
|
|
9863
9882
|
disabled: !$.isEditable,
|
|
@@ -9865,8 +9884,8 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9865
9884
|
onChange: j
|
|
9866
9885
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9867
9886
|
])) : T("", !0),
|
|
9868
|
-
ae.value ? (f(), h("label",
|
|
9869
|
-
v("span",
|
|
9887
|
+
ae.value ? (f(), h("label", W4, [
|
|
9888
|
+
v("span", Y4, q($.$t("activity.status.label")), 1),
|
|
9870
9889
|
E(be, {
|
|
9871
9890
|
options: ae.value,
|
|
9872
9891
|
value: (R = z(i).status) == null ? void 0 : R.id,
|
|
@@ -9881,16 +9900,16 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9881
9900
|
];
|
|
9882
9901
|
}),
|
|
9883
9902
|
default: U((H) => [
|
|
9884
|
-
v("div",
|
|
9885
|
-
v("label",
|
|
9886
|
-
v("span",
|
|
9887
|
-
|
|
9903
|
+
v("div", K4, [
|
|
9904
|
+
v("label", G4, [
|
|
9905
|
+
v("span", X4, q($.$t("activity.deadline.label")), 1),
|
|
9906
|
+
Ye(v("input", {
|
|
9888
9907
|
"onUpdate:modelValue": Y[6] || (Y[6] = (O) => W.value = O),
|
|
9889
9908
|
class: "ao-field__input",
|
|
9890
9909
|
type: "date"
|
|
9891
9910
|
}, null, 512), [
|
|
9892
9911
|
[
|
|
9893
|
-
|
|
9912
|
+
mt,
|
|
9894
9913
|
W.value,
|
|
9895
9914
|
void 0,
|
|
9896
9915
|
{ lazy: !0 }
|
|
@@ -9911,7 +9930,7 @@ const ft = {
|
|
|
9911
9930
|
TEMPLATES: "templates",
|
|
9912
9931
|
TEMPLATE_DETAILS: "template_details",
|
|
9913
9932
|
TEMPLATES_LIST: "templates_list"
|
|
9914
|
-
},
|
|
9933
|
+
}, p8 = (t, e = {}) => [
|
|
9915
9934
|
{
|
|
9916
9935
|
path: t,
|
|
9917
9936
|
name: ft.TEMPLATES,
|
|
@@ -9921,7 +9940,7 @@ const ft = {
|
|
|
9921
9940
|
{
|
|
9922
9941
|
path: "",
|
|
9923
9942
|
name: ft.TEMPLATES_LIST,
|
|
9924
|
-
component:
|
|
9943
|
+
component: J4
|
|
9925
9944
|
},
|
|
9926
9945
|
{
|
|
9927
9946
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -9936,7 +9955,7 @@ const ft = {
|
|
|
9936
9955
|
feed: "AoProjectFeed",
|
|
9937
9956
|
milestone: "AoMilestone",
|
|
9938
9957
|
activity: "AoActivity"
|
|
9939
|
-
},
|
|
9958
|
+
}, h8 = (t, e = {}) => [
|
|
9940
9959
|
{
|
|
9941
9960
|
path: t,
|
|
9942
9961
|
...e,
|
|
@@ -9960,7 +9979,7 @@ const ft = {
|
|
|
9960
9979
|
props: { default: !0, modal: !0 },
|
|
9961
9980
|
components: {
|
|
9962
9981
|
default: da,
|
|
9963
|
-
modal:
|
|
9982
|
+
modal: c4
|
|
9964
9983
|
}
|
|
9965
9984
|
}
|
|
9966
9985
|
]
|
|
@@ -9968,12 +9987,12 @@ const ft = {
|
|
|
9968
9987
|
{
|
|
9969
9988
|
path: "feed",
|
|
9970
9989
|
name: He.feed,
|
|
9971
|
-
component:
|
|
9990
|
+
component: x4,
|
|
9972
9991
|
props: !0
|
|
9973
9992
|
}
|
|
9974
9993
|
]
|
|
9975
9994
|
}
|
|
9976
|
-
],
|
|
9995
|
+
], Q4 = { class: "ao-templates" }, J4 = /* @__PURE__ */ K({
|
|
9977
9996
|
__name: "AoTemplatesList",
|
|
9978
9997
|
props: {
|
|
9979
9998
|
templates: {}
|
|
@@ -10013,7 +10032,7 @@ const ft = {
|
|
|
10013
10032
|
});
|
|
10014
10033
|
}
|
|
10015
10034
|
};
|
|
10016
|
-
return (l, d) => (f(), h("div",
|
|
10035
|
+
return (l, d) => (f(), h("div", Q4, [
|
|
10017
10036
|
E(d1, null, {
|
|
10018
10037
|
secondary: U(() => [
|
|
10019
10038
|
E(de, {
|
|
@@ -10026,7 +10045,7 @@ const ft = {
|
|
|
10026
10045
|
]),
|
|
10027
10046
|
_: 1
|
|
10028
10047
|
}),
|
|
10029
|
-
E(z(
|
|
10048
|
+
E(z(Je), {
|
|
10030
10049
|
"model-value": l.templates,
|
|
10031
10050
|
class: "ao-templates__list",
|
|
10032
10051
|
"item-key": "id",
|
|
@@ -10057,7 +10076,7 @@ const ft = {
|
|
|
10057
10076
|
]));
|
|
10058
10077
|
}
|
|
10059
10078
|
});
|
|
10060
|
-
const
|
|
10079
|
+
const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ K({
|
|
10061
10080
|
__name: "AoField",
|
|
10062
10081
|
props: {
|
|
10063
10082
|
label: {},
|
|
@@ -10067,11 +10086,11 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10067
10086
|
return (e, a) => (f(), h("label", {
|
|
10068
10087
|
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
10069
10088
|
}, [
|
|
10070
|
-
v("span",
|
|
10089
|
+
v("span", e8, q(e.label), 1),
|
|
10071
10090
|
X(e.$slots, "default")
|
|
10072
10091
|
], 2));
|
|
10073
10092
|
}
|
|
10074
|
-
}),
|
|
10093
|
+
}), a8 = ["type", "value", "disabled", "readonly"], m8 = /* @__PURE__ */ K({
|
|
10075
10094
|
__name: "AoInputField",
|
|
10076
10095
|
props: {
|
|
10077
10096
|
label: { default: "" },
|
|
@@ -10088,7 +10107,7 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10088
10107
|
), s = (o) => {
|
|
10089
10108
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
10090
10109
|
};
|
|
10091
|
-
return (o, i) => (f(), N(
|
|
10110
|
+
return (o, i) => (f(), N(t8, { label: o.label }, {
|
|
10092
10111
|
default: U(() => [
|
|
10093
10112
|
v("input", Ee({
|
|
10094
10113
|
class: "ao-field__input",
|
|
@@ -10098,12 +10117,12 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10098
10117
|
readonly: o.isReadonly
|
|
10099
10118
|
}, {
|
|
10100
10119
|
[gs(n.value)]: i[0] || (i[0] = (l) => s(l.target.value))
|
|
10101
|
-
}), null, 16,
|
|
10120
|
+
}), null, 16, a8)
|
|
10102
10121
|
]),
|
|
10103
10122
|
_: 1
|
|
10104
10123
|
}, 8, ["label"]));
|
|
10105
10124
|
}
|
|
10106
|
-
}),
|
|
10125
|
+
}), s8 = { class: "ao-field" }, n8 = { class: "ao-field__label" }, i8 = ["checked", "disabled"], C8 = /* @__PURE__ */ K({
|
|
10107
10126
|
__name: "AoCheckboxField",
|
|
10108
10127
|
props: {
|
|
10109
10128
|
label: { default: "" },
|
|
@@ -10113,8 +10132,8 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10113
10132
|
},
|
|
10114
10133
|
emits: ["update:modelValue"],
|
|
10115
10134
|
setup(t) {
|
|
10116
|
-
return (e, a) => (f(), h("label",
|
|
10117
|
-
v("span",
|
|
10135
|
+
return (e, a) => (f(), h("label", s8, [
|
|
10136
|
+
v("span", n8, q(e.label), 1),
|
|
10118
10137
|
v("input", {
|
|
10119
10138
|
class: "ao-field__input",
|
|
10120
10139
|
type: "checkbox",
|
|
@@ -10127,27 +10146,27 @@ const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
|
10127
10146
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
10128
10147
|
);
|
|
10129
10148
|
})
|
|
10130
|
-
}, null, 40,
|
|
10149
|
+
}, null, 40, i8)
|
|
10131
10150
|
]));
|
|
10132
10151
|
}
|
|
10133
10152
|
});
|
|
10134
10153
|
export {
|
|
10135
10154
|
Ua as AoCardFeed,
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10155
|
+
C8 as AoCheckboxField,
|
|
10156
|
+
x4 as AoFeed,
|
|
10157
|
+
t8 as AoField,
|
|
10158
|
+
m8 as AoInputField,
|
|
10140
10159
|
be as AoMultiselect,
|
|
10141
10160
|
K7 as AoTemplateDetails,
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10161
|
+
d8 as AoTemplates,
|
|
10162
|
+
J4 as AoTemplatesList,
|
|
10163
|
+
kd as TemplateItemTypeEnum,
|
|
10164
|
+
f8 as activityFeedStatus,
|
|
10165
|
+
c8 as durationTypes,
|
|
10147
10166
|
dt as feedFilterTypes,
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10167
|
+
h8 as getProjectOverviewRoutes,
|
|
10168
|
+
p8 as getTemplateRoutes,
|
|
10169
|
+
v8 as listUpdateTypes,
|
|
10151
10170
|
T1 as milestoneStatus,
|
|
10152
10171
|
He as projectOverviewRoutes,
|
|
10153
10172
|
bd as ruleComparators,
|