@26lights/orcha 0.36.9 → 0.36.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +484 -470
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as k, resolveDynamicComponent as ht, normalizeClass as Y, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as k, resolveDynamicComponent as ht, normalizeClass as Y, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as M, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as xe, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const u8 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -140,14 +140,14 @@ const L1 = /* @__PURE__ */ j(A1, [["render", I1]]), H1 = {}, D1 = {
|
|
|
140
140
|
viewBox: "0 0 24 24",
|
|
141
141
|
fill: "none",
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg"
|
|
143
|
-
},
|
|
143
|
+
}, P1 = /* @__PURE__ */ v("path", {
|
|
144
144
|
d: "M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",
|
|
145
145
|
fill: "black"
|
|
146
|
-
}, null, -1),
|
|
147
|
-
|
|
146
|
+
}, null, -1), V1 = [
|
|
147
|
+
P1
|
|
148
148
|
];
|
|
149
149
|
function B1(t, e) {
|
|
150
|
-
return p(), g("svg", D1,
|
|
150
|
+
return p(), g("svg", D1, V1);
|
|
151
151
|
}
|
|
152
152
|
const R1 = /* @__PURE__ */ j(H1, [["render", B1]]), N1 = {}, j1 = {
|
|
153
153
|
width: "24",
|
|
@@ -269,20 +269,20 @@ const Ao = /* @__PURE__ */ j(wo, [["render", Mo]]), To = {}, Oo = {
|
|
|
269
269
|
function Lo(t, e) {
|
|
270
270
|
return p(), g("svg", Oo, Io);
|
|
271
271
|
}
|
|
272
|
-
const Ho = /* @__PURE__ */ j(To, [["render", Lo]]), Do = {},
|
|
272
|
+
const Ho = /* @__PURE__ */ j(To, [["render", Lo]]), Do = {}, Po = {
|
|
273
273
|
width: "24",
|
|
274
274
|
height: "24",
|
|
275
275
|
viewBox: "0 0 24 24",
|
|
276
276
|
fill: "none",
|
|
277
277
|
xmlns: "http://www.w3.org/2000/svg"
|
|
278
|
-
},
|
|
278
|
+
}, Vo = /* @__PURE__ */ v("path", {
|
|
279
279
|
d: "M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 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 21H5ZM5 19H19V5H5V19Z",
|
|
280
280
|
fill: "black"
|
|
281
281
|
}, null, -1), Bo = [
|
|
282
|
-
|
|
282
|
+
Vo
|
|
283
283
|
];
|
|
284
284
|
function Ro(t, e) {
|
|
285
|
-
return p(), g("svg",
|
|
285
|
+
return p(), g("svg", Po, Bo);
|
|
286
286
|
}
|
|
287
287
|
const No = /* @__PURE__ */ j(Do, [["render", Ro]]), jo = {}, Fo = {
|
|
288
288
|
width: "24",
|
|
@@ -404,20 +404,20 @@ const Ar = /* @__PURE__ */ j(wr, [["render", Mr]]), Tr = {}, Or = {
|
|
|
404
404
|
function Lr(t, e) {
|
|
405
405
|
return p(), g("svg", Or, Ir);
|
|
406
406
|
}
|
|
407
|
-
const Hr = /* @__PURE__ */ j(Tr, [["render", Lr]]), Dr = {},
|
|
407
|
+
const Hr = /* @__PURE__ */ j(Tr, [["render", Lr]]), Dr = {}, Pr = {
|
|
408
408
|
width: "24",
|
|
409
409
|
height: "24",
|
|
410
410
|
viewBox: "0 0 24 24",
|
|
411
411
|
fill: "none",
|
|
412
412
|
xmlns: "http://www.w3.org/2000/svg"
|
|
413
|
-
},
|
|
413
|
+
}, Vr = /* @__PURE__ */ v("path", {
|
|
414
414
|
d: "M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",
|
|
415
415
|
fill: "black"
|
|
416
416
|
}, null, -1), Br = [
|
|
417
|
-
|
|
417
|
+
Vr
|
|
418
418
|
];
|
|
419
419
|
function Rr(t, e) {
|
|
420
|
-
return p(), g("svg",
|
|
420
|
+
return p(), g("svg", Pr, Br);
|
|
421
421
|
}
|
|
422
422
|
const Nr = /* @__PURE__ */ j(Dr, [["render", Rr]]), jr = {}, Fr = {
|
|
423
423
|
width: "24",
|
|
@@ -539,20 +539,20 @@ const Al = /* @__PURE__ */ j(wl, [["render", Ml]]), Tl = {}, Ol = {
|
|
|
539
539
|
function Ll(t, e) {
|
|
540
540
|
return p(), g("svg", Ol, Il);
|
|
541
541
|
}
|
|
542
|
-
const Hl = /* @__PURE__ */ j(Tl, [["render", Ll]]), Dl = {},
|
|
542
|
+
const Hl = /* @__PURE__ */ j(Tl, [["render", Ll]]), Dl = {}, Pl = {
|
|
543
543
|
width: "24",
|
|
544
544
|
height: "24",
|
|
545
545
|
viewBox: "0 0 24 24",
|
|
546
546
|
fill: "none",
|
|
547
547
|
xmlns: "http://www.w3.org/2000/svg"
|
|
548
|
-
},
|
|
548
|
+
}, Vl = /* @__PURE__ */ v("path", {
|
|
549
549
|
d: "M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",
|
|
550
550
|
fill: "black"
|
|
551
551
|
}, null, -1), Bl = [
|
|
552
|
-
|
|
552
|
+
Vl
|
|
553
553
|
];
|
|
554
554
|
function Rl(t, e) {
|
|
555
|
-
return p(), g("svg",
|
|
555
|
+
return p(), g("svg", Pl, Bl);
|
|
556
556
|
}
|
|
557
557
|
const Nl = /* @__PURE__ */ j(Dl, [["render", Rl]]), jl = {}, Fl = {
|
|
558
558
|
width: "24",
|
|
@@ -687,7 +687,7 @@ const Ou = /* @__PURE__ */ j(ku, [["render", Tu]]), Eu = {}, Iu = {
|
|
|
687
687
|
function Du(t, e) {
|
|
688
688
|
return p(), g("svg", Iu, Hu);
|
|
689
689
|
}
|
|
690
|
-
const
|
|
690
|
+
const Pu = /* @__PURE__ */ j(Eu, [["render", Du]]), Vu = {}, Bu = {
|
|
691
691
|
width: "24",
|
|
692
692
|
height: "24",
|
|
693
693
|
viewBox: "0 0 24 24",
|
|
@@ -702,7 +702,7 @@ const Vu = /* @__PURE__ */ j(Eu, [["render", Du]]), Pu = {}, Bu = {
|
|
|
702
702
|
function ju(t, e) {
|
|
703
703
|
return p(), g("svg", Bu, Nu);
|
|
704
704
|
}
|
|
705
|
-
const Fu = /* @__PURE__ */ j(
|
|
705
|
+
const Fu = /* @__PURE__ */ j(Vu, [["render", ju]]), Uu = {}, Zu = {
|
|
706
706
|
width: "24",
|
|
707
707
|
height: "24",
|
|
708
708
|
viewBox: "0 0 24 24",
|
|
@@ -822,7 +822,7 @@ const Oc = /* @__PURE__ */ j(kc, [["render", Tc]]), Ec = {}, Ic = {
|
|
|
822
822
|
function Dc(t, e) {
|
|
823
823
|
return p(), g("svg", Ic, Hc);
|
|
824
824
|
}
|
|
825
|
-
const
|
|
825
|
+
const Pc = /* @__PURE__ */ j(Ec, [["render", Dc]]), Vc = {}, Bc = {
|
|
826
826
|
width: "24",
|
|
827
827
|
height: "24",
|
|
828
828
|
viewBox: "0 0 24 24",
|
|
@@ -837,7 +837,7 @@ const Vc = /* @__PURE__ */ j(Ec, [["render", Dc]]), Pc = {}, Bc = {
|
|
|
837
837
|
function jc(t, e) {
|
|
838
838
|
return p(), g("svg", Bc, Nc);
|
|
839
839
|
}
|
|
840
|
-
const Fc = /* @__PURE__ */ j(
|
|
840
|
+
const Fc = /* @__PURE__ */ j(Vc, [["render", jc]]), Uc = {}, Zc = {
|
|
841
841
|
width: "26",
|
|
842
842
|
height: "29",
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
@@ -954,7 +954,7 @@ const Od = /* @__PURE__ */ j(kd, [["render", Td]]), Ed = {}, Id = {
|
|
|
954
954
|
function Dd(t, e) {
|
|
955
955
|
return p(), g("svg", Id, Hd);
|
|
956
956
|
}
|
|
957
|
-
const
|
|
957
|
+
const Pd = /* @__PURE__ */ j(Ed, [["render", Dd]]), Vd = {}, Bd = {
|
|
958
958
|
width: "24",
|
|
959
959
|
height: "24",
|
|
960
960
|
viewBox: "0 0 24 24",
|
|
@@ -969,7 +969,7 @@ const Vd = /* @__PURE__ */ j(Ed, [["render", Dd]]), Pd = {}, Bd = {
|
|
|
969
969
|
function jd(t, e) {
|
|
970
970
|
return p(), g("svg", Bd, Nd);
|
|
971
971
|
}
|
|
972
|
-
const Fd = /* @__PURE__ */ j(
|
|
972
|
+
const Fd = /* @__PURE__ */ j(Vd, [["render", jd]]), Ud = {}, Zd = {
|
|
973
973
|
width: "24",
|
|
974
974
|
height: "24",
|
|
975
975
|
viewBox: "0 0 24 24",
|
|
@@ -1104,7 +1104,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1104
1104
|
Loading: Cu,
|
|
1105
1105
|
Lock: $u,
|
|
1106
1106
|
LogoutRounded: Ou,
|
|
1107
|
-
Menu:
|
|
1107
|
+
Menu: Pu,
|
|
1108
1108
|
MoreHoriz: Fu,
|
|
1109
1109
|
MoreTimeRounded: xu,
|
|
1110
1110
|
MoreVert: Ju,
|
|
@@ -1113,7 +1113,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1113
1113
|
PictureAsPdfRounded: Cc,
|
|
1114
1114
|
RadioButtonChecked: $c,
|
|
1115
1115
|
RadioButtonCheckedOutline: Oc,
|
|
1116
|
-
RadioButtonUnchecked:
|
|
1116
|
+
RadioButtonUnchecked: Pc,
|
|
1117
1117
|
RemoveRounded: Fc,
|
|
1118
1118
|
SearchRounded: xc,
|
|
1119
1119
|
SelectCheckBox: Jc,
|
|
@@ -1122,7 +1122,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1122
1122
|
SlideshowRounded: Cd,
|
|
1123
1123
|
Target: $d,
|
|
1124
1124
|
TaskOutlineRounded: Od,
|
|
1125
|
-
TextSnippetRounded:
|
|
1125
|
+
TextSnippetRounded: Pd,
|
|
1126
1126
|
TimerOutline: Fd,
|
|
1127
1127
|
ViewComfyAltRounded: xd,
|
|
1128
1128
|
ViewCompactAltRounded: Jd,
|
|
@@ -1315,10 +1315,10 @@ const O2 = {
|
|
|
1315
1315
|
}, D2 = {
|
|
1316
1316
|
key: 1,
|
|
1317
1317
|
class: "ao-card-horiz__header"
|
|
1318
|
-
},
|
|
1318
|
+
}, P2 = {
|
|
1319
1319
|
key: 1,
|
|
1320
1320
|
class: "ao-card-horiz__body"
|
|
1321
|
-
},
|
|
1321
|
+
}, V2 = {
|
|
1322
1322
|
key: 2,
|
|
1323
1323
|
class: "ao-card-horiz__footer"
|
|
1324
1324
|
}, B2 = {
|
|
@@ -1346,21 +1346,21 @@ const O2 = {
|
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: W(() => [
|
|
1348
1348
|
n.isDraggable ? (p(), g("div", O2, [
|
|
1349
|
-
|
|
1349
|
+
M(pe, {
|
|
1350
1350
|
name: "DragIndicator",
|
|
1351
1351
|
class: "ao-card-horiz__drag-handle"
|
|
1352
1352
|
})
|
|
1353
1353
|
])) : T("", !0),
|
|
1354
1354
|
v("div", E2, [
|
|
1355
1355
|
n.icon ? (p(), g("div", I2, [
|
|
1356
|
-
|
|
1356
|
+
M(pe, {
|
|
1357
1357
|
class: "ao-card-horiz__icon",
|
|
1358
1358
|
name: n.icon,
|
|
1359
1359
|
size: "xl"
|
|
1360
1360
|
}, null, 8, ["name"])
|
|
1361
1361
|
])) : T("", !0),
|
|
1362
1362
|
v("div", L2, [
|
|
1363
|
-
|
|
1363
|
+
M(ye, {
|
|
1364
1364
|
id: n.id,
|
|
1365
1365
|
class: "ao-card-horiz__title",
|
|
1366
1366
|
level: 4,
|
|
@@ -1376,10 +1376,10 @@ const O2 = {
|
|
|
1376
1376
|
te(n.$slots, "header")
|
|
1377
1377
|
])) : T("", !0)
|
|
1378
1378
|
]),
|
|
1379
|
-
n.$slots.default ? (p(), g("div",
|
|
1379
|
+
n.$slots.default ? (p(), g("div", P2, [
|
|
1380
1380
|
te(n.$slots, "default")
|
|
1381
1381
|
])) : T("", !0),
|
|
1382
|
-
n.$slots.footer ? (p(), g("div",
|
|
1382
|
+
n.$slots.footer ? (p(), g("div", V2, [
|
|
1383
1383
|
te(n.$slots, "footer")
|
|
1384
1384
|
])) : T("", !0),
|
|
1385
1385
|
n.$slots.secondary ? (p(), g("div", B2, [
|
|
@@ -1428,7 +1428,7 @@ const Mn = /* @__PURE__ */ q({
|
|
|
1428
1428
|
class: "ao-tag__close",
|
|
1429
1429
|
onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
|
|
1430
1430
|
}, [
|
|
1431
|
-
|
|
1431
|
+
M(pe, {
|
|
1432
1432
|
name: "CloseRounded",
|
|
1433
1433
|
size: "sm",
|
|
1434
1434
|
class: "ao-tag__close-icon"
|
|
@@ -1441,11 +1441,11 @@ const hn = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, c8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, d8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const hn = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const p8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1558,7 +1558,7 @@ function Da(t) {
|
|
|
1558
1558
|
var e = 1, a = be(t), n = a.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1559
1559
|
return a.setUTCDate(a.getUTCDate() - s), a.setUTCHours(0, 0, 0, 0), a;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Ps(t) {
|
|
1562
1562
|
ge(1, arguments);
|
|
1563
1563
|
var e = be(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1564
1564
|
n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
@@ -1569,7 +1569,7 @@ function Vs(t) {
|
|
|
1569
1569
|
}
|
|
1570
1570
|
function G2(t) {
|
|
1571
1571
|
ge(1, arguments);
|
|
1572
|
-
var e =
|
|
1572
|
+
var e = Ps(t), a = /* @__PURE__ */ new Date(0);
|
|
1573
1573
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1574
1574
|
var n = Da(a);
|
|
1575
1575
|
return n;
|
|
@@ -1580,7 +1580,7 @@ function Q2(t) {
|
|
|
1580
1580
|
var e = be(t), a = Da(e).getTime() - G2(e).getTime();
|
|
1581
1581
|
return Math.round(a / X2) + 1;
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function Pa(t, e) {
|
|
1584
1584
|
var a, n, s, o, i, r, l, c;
|
|
1585
1585
|
ge(1, arguments);
|
|
1586
1586
|
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
@@ -1589,7 +1589,7 @@ function Va(t, e) {
|
|
|
1589
1589
|
var d = be(t), C = d.getUTCDay(), b = (C < f ? 7 : 0) + C - f;
|
|
1590
1590
|
return d.setUTCDate(d.getUTCDate() - b), d.setUTCHours(0, 0, 0, 0), d;
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function Vs(t, e) {
|
|
1593
1593
|
var a, n, s, o, i, r, l, c;
|
|
1594
1594
|
ge(1, arguments);
|
|
1595
1595
|
var u = be(t), f = u.getUTCFullYear(), d = va(), C = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
@@ -1597,23 +1597,23 @@ function Ps(t, e) {
|
|
|
1597
1597
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1598
1598
|
var b = /* @__PURE__ */ new Date(0);
|
|
1599
1599
|
b.setUTCFullYear(f + 1, 0, C), b.setUTCHours(0, 0, 0, 0);
|
|
1600
|
-
var y =
|
|
1600
|
+
var y = Pa(b, e), _ = /* @__PURE__ */ new Date(0);
|
|
1601
1601
|
_.setUTCFullYear(f, 0, C), _.setUTCHours(0, 0, 0, 0);
|
|
1602
|
-
var h =
|
|
1602
|
+
var h = Pa(_, e);
|
|
1603
1603
|
return u.getTime() >= y.getTime() ? f + 1 : u.getTime() >= h.getTime() ? f : f - 1;
|
|
1604
1604
|
}
|
|
1605
1605
|
function J2(t, e) {
|
|
1606
1606
|
var a, n, s, o, i, r, l, c;
|
|
1607
1607
|
ge(1, arguments);
|
|
1608
|
-
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d =
|
|
1608
|
+
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Vs(t, e), C = /* @__PURE__ */ new Date(0);
|
|
1609
1609
|
C.setUTCFullYear(d, 0, f), C.setUTCHours(0, 0, 0, 0);
|
|
1610
|
-
var b =
|
|
1610
|
+
var b = Pa(C, e);
|
|
1611
1611
|
return b;
|
|
1612
1612
|
}
|
|
1613
1613
|
var e0 = 6048e5;
|
|
1614
1614
|
function t0(t, e) {
|
|
1615
1615
|
ge(1, arguments);
|
|
1616
|
-
var a = be(t), n =
|
|
1616
|
+
var a = be(t), n = Pa(a, e).getTime() - J2(a, e).getTime();
|
|
1617
1617
|
return Math.round(n / e0) + 1;
|
|
1618
1618
|
}
|
|
1619
1619
|
function ue(t, e) {
|
|
@@ -1718,7 +1718,7 @@ var Ht = {
|
|
|
1718
1718
|
},
|
|
1719
1719
|
// Local week-numbering year
|
|
1720
1720
|
Y: function(e, a, n, s) {
|
|
1721
|
-
var o =
|
|
1721
|
+
var o = Vs(e, s), i = o > 0 ? o : 1 - o;
|
|
1722
1722
|
if (a === "YY") {
|
|
1723
1723
|
var r = i % 100;
|
|
1724
1724
|
return ue(r, 2);
|
|
@@ -1729,7 +1729,7 @@ var Ht = {
|
|
|
1729
1729
|
},
|
|
1730
1730
|
// ISO week-numbering year
|
|
1731
1731
|
R: function(e, a) {
|
|
1732
|
-
var n =
|
|
1732
|
+
var n = Ps(e);
|
|
1733
1733
|
return ue(n, a.length);
|
|
1734
1734
|
},
|
|
1735
1735
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2623,7 +2623,7 @@ function D0(t) {
|
|
|
2623
2623
|
};
|
|
2624
2624
|
};
|
|
2625
2625
|
}
|
|
2626
|
-
var
|
|
2626
|
+
var P0 = /^(\d+)(th|st|nd|rd)?/i, V0 = /\d+/i, B0 = {
|
|
2627
2627
|
narrow: /^(b|a)/i,
|
|
2628
2628
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
2629
2629
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
@@ -2666,8 +2666,8 @@ var V0 = /^(\d+)(th|st|nd|rd)?/i, P0 = /\d+/i, B0 = {
|
|
|
2666
2666
|
}
|
|
2667
2667
|
}, x0 = {
|
|
2668
2668
|
ordinalNumber: D0({
|
|
2669
|
-
matchPattern:
|
|
2670
|
-
parsePattern:
|
|
2669
|
+
matchPattern: P0,
|
|
2670
|
+
parsePattern: V0,
|
|
2671
2671
|
valueCallback: function(e) {
|
|
2672
2672
|
return parseInt(e, 10);
|
|
2673
2673
|
}
|
|
@@ -2745,8 +2745,8 @@ function Ns(t, e, a) {
|
|
|
2745
2745
|
}, ie = D.match(X0).map(function(O) {
|
|
2746
2746
|
var N = O[0];
|
|
2747
2747
|
if (N === "p" || N === "P") {
|
|
2748
|
-
var
|
|
2749
|
-
return
|
|
2748
|
+
var S = r0[N];
|
|
2749
|
+
return S(O, U.formatLong);
|
|
2750
2750
|
}
|
|
2751
2751
|
return O;
|
|
2752
2752
|
}).join("").match(G0).map(function(O) {
|
|
@@ -2755,9 +2755,9 @@ function Ns(t, e, a) {
|
|
|
2755
2755
|
var N = O[0];
|
|
2756
2756
|
if (N === "'")
|
|
2757
2757
|
return t3(O);
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) && ds(O, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(O) && ds(O, e, String(t)),
|
|
2758
|
+
var S = s0[N];
|
|
2759
|
+
if (S)
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(O) && ds(O, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(O) && ds(O, e, String(t)), S(R, O, U.localize, Z);
|
|
2761
2761
|
if (N.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
|
|
2763
2763
|
return O;
|
|
@@ -3734,7 +3734,7 @@ const zs = (t) => {
|
|
|
3734
3734
|
], 10, E3));
|
|
3735
3735
|
}
|
|
3736
3736
|
});
|
|
3737
|
-
const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-template__subitem" },
|
|
3737
|
+
const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-template__subitem" }, P3 = { class: "ao-card-template__subitem-number" }, V3 = { class: "ao-card-template__subitem" }, B3 = { class: "ao-card-template__subitem" }, R3 = { class: "ao-card-template__body" }, N3 = { class: "ao-card-template__col ao-card-template__col--phases" }, j3 = { class: "ao-card-template__col-title" }, F3 = { class: "ao-card-template__col-label" }, U3 = {
|
|
3738
3738
|
key: 0,
|
|
3739
3739
|
class: "ao-card-template__col-body ao-card-template__phases-list"
|
|
3740
3740
|
}, Z3 = { class: "ao-card-template__footer" }, W3 = {
|
|
@@ -3768,14 +3768,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3768
3768
|
subtitle: W(() => [
|
|
3769
3769
|
v("ul", H3, [
|
|
3770
3770
|
v("li", D3, [
|
|
3771
|
-
|
|
3771
|
+
M(pe, {
|
|
3772
3772
|
name: "MountainFlagOutlineRounded",
|
|
3773
3773
|
size: "sm"
|
|
3774
3774
|
}),
|
|
3775
|
-
v("span",
|
|
3775
|
+
v("span", P3, G(n.milestones), 1)
|
|
3776
3776
|
]),
|
|
3777
|
-
v("li",
|
|
3778
|
-
|
|
3777
|
+
v("li", V3, [
|
|
3778
|
+
M(pe, {
|
|
3779
3779
|
name: "TaskOutlineRounded",
|
|
3780
3780
|
size: "sm"
|
|
3781
3781
|
}),
|
|
@@ -3787,7 +3787,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3787
3787
|
v("div", R3, [
|
|
3788
3788
|
v("div", N3, [
|
|
3789
3789
|
v("div", j3, [
|
|
3790
|
-
|
|
3790
|
+
M(pe, {
|
|
3791
3791
|
name: "WaterfallChartRounded",
|
|
3792
3792
|
size: "sm"
|
|
3793
3793
|
}),
|
|
@@ -3823,7 +3823,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3823
3823
|
v("span", G3, G(n.$t("template.updatedBy.label")), 1)
|
|
3824
3824
|
]),
|
|
3825
3825
|
v("div", X3, [
|
|
3826
|
-
|
|
3826
|
+
M(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
3827
3827
|
])
|
|
3828
3828
|
])) : T("", !0)
|
|
3829
3829
|
])
|
|
@@ -3925,7 +3925,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3925
3925
|
v("ul", s5, [
|
|
3926
3926
|
(p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
|
|
3927
3927
|
i.$props[l] ? (p(), g("li", i5, [
|
|
3928
|
-
|
|
3928
|
+
M(pe, {
|
|
3929
3929
|
name: s[l],
|
|
3930
3930
|
size: "sm"
|
|
3931
3931
|
}, null, 8, ["name"]),
|
|
@@ -3936,7 +3936,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3936
3936
|
]),
|
|
3937
3937
|
secondary: W(() => [
|
|
3938
3938
|
v("div", r5, [
|
|
3939
|
-
|
|
3939
|
+
M(ce, {
|
|
3940
3940
|
"icon-name": "DeleteOutlineRounded",
|
|
3941
3941
|
variant: "ghost",
|
|
3942
3942
|
size: "md",
|
|
@@ -4024,7 +4024,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4024
4024
|
onChange: i
|
|
4025
4025
|
}, {
|
|
4026
4026
|
header: W(() => [
|
|
4027
|
-
|
|
4027
|
+
M(ye, {
|
|
4028
4028
|
title: "Milestones",
|
|
4029
4029
|
level: 3,
|
|
4030
4030
|
class: "ao-list__title"
|
|
@@ -4049,7 +4049,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4049
4049
|
]),
|
|
4050
4050
|
footer: W(() => [
|
|
4051
4051
|
v("div", c5, [
|
|
4052
|
-
|
|
4052
|
+
M(Ct, {
|
|
4053
4053
|
"icon-name": "AddBoxOutlineRounded",
|
|
4054
4054
|
label: r.$t("template.milestones.add"),
|
|
4055
4055
|
onClick: n
|
|
@@ -4114,7 +4114,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4114
4114
|
onChange: i
|
|
4115
4115
|
}, {
|
|
4116
4116
|
header: W(() => [
|
|
4117
|
-
|
|
4117
|
+
M(ye, {
|
|
4118
4118
|
title: "Activities",
|
|
4119
4119
|
level: 3,
|
|
4120
4120
|
class: "ao-list__title"
|
|
@@ -4135,7 +4135,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4135
4135
|
]),
|
|
4136
4136
|
footer: W(() => [
|
|
4137
4137
|
v("div", f5, [
|
|
4138
|
-
|
|
4138
|
+
M(Ct, {
|
|
4139
4139
|
"icon-name": "AddBoxOutlineRounded",
|
|
4140
4140
|
label: r.$t("template.activities.add"),
|
|
4141
4141
|
onClick: n
|
|
@@ -4168,7 +4168,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4168
4168
|
v("div", h5, [
|
|
4169
4169
|
e.$slots.header ? (p(), g("div", m5, [
|
|
4170
4170
|
v("div", C5, [
|
|
4171
|
-
|
|
4171
|
+
M(ce, {
|
|
4172
4172
|
"icon-name": "CloseRounded",
|
|
4173
4173
|
variant: "ghost",
|
|
4174
4174
|
color: "primary",
|
|
@@ -4189,7 +4189,7 @@ const l5 = /* @__PURE__ */ q({
|
|
|
4189
4189
|
], 2));
|
|
4190
4190
|
}
|
|
4191
4191
|
});
|
|
4192
|
-
const ua = Math.min, Ee = Math.max,
|
|
4192
|
+
const ua = Math.min, Ee = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) => ({
|
|
4193
4193
|
x: t,
|
|
4194
4194
|
y: t
|
|
4195
4195
|
}), b5 = {
|
|
@@ -4490,7 +4490,7 @@ const I5 = function(t) {
|
|
|
4490
4490
|
switch (C) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var K;
|
|
4493
|
-
const O = (K = F.map((N) => [N.placement, N.overflows.filter((
|
|
4493
|
+
const O = (K = F.map((N) => [N.placement, N.overflows.filter((S) => S > 0).reduce((S, m) => S + m, 0)]).sort((N, S) => N[1] - S[1])[0]) == null ? void 0 : K[0];
|
|
4494
4494
|
O && (ie = O);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
@@ -4584,14 +4584,14 @@ function ga(t) {
|
|
|
4584
4584
|
overflowX: a,
|
|
4585
4585
|
overflowY: n,
|
|
4586
4586
|
display: s
|
|
4587
|
-
} =
|
|
4587
|
+
} = Ve(t);
|
|
4588
4588
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + a) && !["inline", "contents"].includes(s);
|
|
4589
4589
|
}
|
|
4590
4590
|
function H5(t) {
|
|
4591
4591
|
return ["table", "td", "th"].includes(ft(t));
|
|
4592
4592
|
}
|
|
4593
4593
|
function Dn(t) {
|
|
4594
|
-
const e =
|
|
4594
|
+
const e = Pn(), a = Ve(t);
|
|
4595
4595
|
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));
|
|
4596
4596
|
}
|
|
4597
4597
|
function D5(t) {
|
|
@@ -4603,13 +4603,13 @@ function D5(t) {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
return null;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Pn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
4609
|
function Ga(t) {
|
|
4610
4610
|
return ["html", "body", "#document"].includes(ft(t));
|
|
4611
4611
|
}
|
|
4612
|
-
function
|
|
4612
|
+
function Ve(t) {
|
|
4613
4613
|
return ke(t).getComputedStyle(t);
|
|
4614
4614
|
}
|
|
4615
4615
|
function Xa(t) {
|
|
@@ -4644,20 +4644,20 @@ function ca(t, e, a) {
|
|
|
4644
4644
|
return o ? e.concat(i, i.visualViewport || [], ga(s) ? s : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(s, ca(s));
|
|
4645
4645
|
}
|
|
4646
4646
|
function Qs(t) {
|
|
4647
|
-
const e =
|
|
4647
|
+
const e = Ve(t);
|
|
4648
4648
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4649
|
-
const s = Fe(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r =
|
|
4649
|
+
const s = Fe(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
|
|
4650
4650
|
return r && (a = o, n = i), {
|
|
4651
4651
|
width: a,
|
|
4652
4652
|
height: n,
|
|
4653
4653
|
$: r
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
|
-
function
|
|
4656
|
+
function Vn(t) {
|
|
4657
4657
|
return et(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
|
-
function
|
|
4660
|
-
const e =
|
|
4659
|
+
function Vt(t) {
|
|
4660
|
+
const e = Vn(t);
|
|
4661
4661
|
if (!Fe(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
@@ -4665,35 +4665,35 @@ function Pt(t) {
|
|
|
4665
4665
|
height: s,
|
|
4666
4666
|
$: o
|
|
4667
4667
|
} = Qs(e);
|
|
4668
|
-
let i = (o ?
|
|
4668
|
+
let i = (o ? Va(a.width) : a.width) / n, r = (o ? Va(a.height) : a.height) / s;
|
|
4669
4669
|
return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
4670
4670
|
x: i,
|
|
4671
4671
|
y: r
|
|
4672
4672
|
};
|
|
4673
4673
|
}
|
|
4674
|
-
const
|
|
4674
|
+
const P5 = /* @__PURE__ */ pt(0);
|
|
4675
4675
|
function Js(t) {
|
|
4676
4676
|
const e = ke(t);
|
|
4677
|
-
return !
|
|
4677
|
+
return !Pn() || !e.visualViewport ? P5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
4681
4681
|
}
|
|
4682
|
-
function
|
|
4682
|
+
function V5(t, e, a) {
|
|
4683
4683
|
return e === void 0 && (e = !1), !a || e && a !== ke(t) ? !1 : e;
|
|
4684
4684
|
}
|
|
4685
4685
|
function St(t, e, a, n) {
|
|
4686
4686
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4687
|
-
const s = t.getBoundingClientRect(), o =
|
|
4687
|
+
const s = t.getBoundingClientRect(), o = Vn(t);
|
|
4688
4688
|
let i = pt(1);
|
|
4689
|
-
e && (n ? et(n) && (i =
|
|
4690
|
-
const r =
|
|
4689
|
+
e && (n ? et(n) && (i = Vt(n)) : i = Vt(t));
|
|
4690
|
+
const r = V5(o, a, n) ? Js(o) : pt(0);
|
|
4691
4691
|
let l = (s.left + r.x) / i.x, c = (s.top + r.y) / i.y, u = s.width / i.x, f = s.height / i.y;
|
|
4692
4692
|
if (o) {
|
|
4693
4693
|
const d = ke(o), C = n && et(n) ? ke(n) : n;
|
|
4694
4694
|
let b = d.frameElement;
|
|
4695
4695
|
for (; b && n && C !== d; ) {
|
|
4696
|
-
const y =
|
|
4696
|
+
const y = Vt(b), _ = b.getBoundingClientRect(), h = Ve(b), A = _.left + (b.clientLeft + parseFloat(h.paddingLeft)) * y.x, w = _.top + (b.clientTop + parseFloat(h.paddingTop)) * y.y;
|
|
4697
4697
|
l *= y.x, c *= y.y, u *= y.x, f *= y.y, l += A, c += w, b = ke(b).frameElement;
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
@@ -4720,7 +4720,7 @@ function B5(t) {
|
|
|
4720
4720
|
const l = pt(0);
|
|
4721
4721
|
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Xa(a)), Fe(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
|
-
r =
|
|
4723
|
+
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
4725
4725
|
return {
|
|
4726
4726
|
width: e.width * r.x,
|
|
@@ -4739,7 +4739,7 @@ function N5(t) {
|
|
|
4739
4739
|
const e = at(t), a = Xa(t), n = t.ownerDocument.body, s = Ee(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ee(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4740
4740
|
let i = -a.scrollLeft + ei(t);
|
|
4741
4741
|
const r = -a.scrollTop;
|
|
4742
|
-
return
|
|
4742
|
+
return Ve(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
|
|
4743
4743
|
width: s,
|
|
4744
4744
|
height: o,
|
|
4745
4745
|
x: i,
|
|
@@ -4751,7 +4751,7 @@ function j5(t, e) {
|
|
|
4751
4751
|
let o = n.clientWidth, i = n.clientHeight, r = 0, l = 0;
|
|
4752
4752
|
if (s) {
|
|
4753
4753
|
o = s.width, i = s.height;
|
|
4754
|
-
const c =
|
|
4754
|
+
const c = Pn();
|
|
4755
4755
|
(!c || c && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
4756
4756
|
}
|
|
4757
4757
|
return {
|
|
@@ -4762,7 +4762,7 @@ function j5(t, e) {
|
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
4764
4764
|
function F5(t, e) {
|
|
4765
|
-
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Fe(t) ?
|
|
4765
|
+
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Fe(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
|
|
4766
4766
|
return {
|
|
4767
4767
|
width: i,
|
|
4768
4768
|
height: r,
|
|
@@ -4790,17 +4790,17 @@ function ms(t, e, a) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
function ti(t, e) {
|
|
4792
4792
|
const a = Ut(t);
|
|
4793
|
-
return a === e || !et(a) || Ga(a) ? !1 :
|
|
4793
|
+
return a === e || !et(a) || Ga(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function U5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
4797
4797
|
if (a)
|
|
4798
4798
|
return a;
|
|
4799
4799
|
let n = ca(t, [], !1).filter((r) => et(r) && ft(r) !== "body"), s = null;
|
|
4800
|
-
const o =
|
|
4800
|
+
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
4802
|
for (; et(i) && !Ga(i); ) {
|
|
4803
|
-
const r =
|
|
4803
|
+
const r = Ve(i), l = Dn(i);
|
|
4804
4804
|
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
|
|
4805
4805
|
}
|
|
4806
4806
|
return e.set(t, n), n;
|
|
@@ -4847,16 +4847,16 @@ function q5(t, e, a) {
|
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
4849
|
function Cs(t, e) {
|
|
4850
|
-
return !Fe(t) ||
|
|
4850
|
+
return !Fe(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ai(t, e) {
|
|
4853
4853
|
const a = ke(t);
|
|
4854
4854
|
if (!Fe(t))
|
|
4855
4855
|
return a;
|
|
4856
4856
|
let n = Cs(t, e);
|
|
4857
|
-
for (; n && H5(n) &&
|
|
4857
|
+
for (; n && H5(n) && Ve(n).position === "static"; )
|
|
4858
4858
|
n = Cs(n, e);
|
|
4859
|
-
return n && (ft(n) === "html" || ft(n) === "body" &&
|
|
4859
|
+
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !Dn(n)) ? a : n || D5(t) || a;
|
|
4860
4860
|
}
|
|
4861
4861
|
const z5 = async function(t) {
|
|
4862
4862
|
let {
|
|
@@ -4875,7 +4875,7 @@ const z5 = async function(t) {
|
|
|
4875
4875
|
};
|
|
4876
4876
|
};
|
|
4877
4877
|
function x5(t) {
|
|
4878
|
-
return
|
|
4878
|
+
return Ve(t).direction === "rtl";
|
|
4879
4879
|
}
|
|
4880
4880
|
const Y5 = {
|
|
4881
4881
|
convertOffsetParentRelativeRectToViewportRelativeRect: B5,
|
|
@@ -4885,7 +4885,7 @@ const Y5 = {
|
|
|
4885
4885
|
getElementRects: z5,
|
|
4886
4886
|
getClientRects: R5,
|
|
4887
4887
|
getDimensions: W5,
|
|
4888
|
-
getScale:
|
|
4888
|
+
getScale: Vt,
|
|
4889
4889
|
isElement: et,
|
|
4890
4890
|
isRTL: x5
|
|
4891
4891
|
};
|
|
@@ -4942,7 +4942,7 @@ function G5(t, e, a, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
|
-
} = n, c =
|
|
4945
|
+
} = n, c = Vn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
4946
|
u.forEach((h) => {
|
|
4947
4947
|
s && h.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
@@ -5154,7 +5154,7 @@ function i7(t, e, a) {
|
|
|
5154
5154
|
groups: ie,
|
|
5155
5155
|
reverse: O,
|
|
5156
5156
|
infinite: N,
|
|
5157
|
-
groupOptions:
|
|
5157
|
+
groupOptions: S,
|
|
5158
5158
|
groupHideEmpty: m,
|
|
5159
5159
|
groupSelect: L,
|
|
5160
5160
|
onCreate: J,
|
|
@@ -5166,7 +5166,7 @@ function i7(t, e, a) {
|
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((oe) => {
|
|
5169
|
-
un(oe[
|
|
5169
|
+
un(oe[S.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
@@ -5188,14 +5188,14 @@ function i7(t, e, a) {
|
|
|
5188
5188
|
[];
|
|
5189
5189
|
return it.value.length && $.push({
|
|
5190
5190
|
[F.value]: " ",
|
|
5191
|
-
[
|
|
5191
|
+
[S.value]: [...it.value],
|
|
5192
5192
|
__CREATE__: !0
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
5194
|
}), wa = k(() => {
|
|
5195
5195
|
let $ = [..._t.value].map((B) => ({ ...B }));
|
|
5196
|
-
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][
|
|
5196
|
+
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][S.value] = [...Ot.value, ...$[0][S.value]] : $ = [{
|
|
5197
5197
|
[F.value]: " ",
|
|
5198
|
-
[
|
|
5198
|
+
[S.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
5201
|
}), an = k(() => {
|
|
@@ -5204,12 +5204,12 @@ function i7(t, e, a) {
|
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
5205
|
return Mi(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
|
-
const me = un(B[
|
|
5207
|
+
const me = un(B[S.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[
|
|
5212
|
+
[S.value]: ln(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
|
|
5213
5213
|
__VISIBLE__: ln(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
@@ -5268,7 +5268,7 @@ function i7(t, e, a) {
|
|
|
5268
5268
|
we(hi.value), e.emit("clear", re);
|
|
5269
5269
|
}, qe = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
|
-
return s.value === "single" ? !1 : wi($[
|
|
5271
|
+
return s.value === "single" ? !1 : wi($[S.value]) && $[S.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
return !je(x.value) && x.value[H.value] == $[H.value];
|
|
@@ -5324,8 +5324,8 @@ function i7(t, e, a) {
|
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
|
-
bi($[
|
|
5328
|
-
$[
|
|
5327
|
+
bi($[S.value]) ? It($[S.value]) : Et(
|
|
5328
|
+
$[S.value].filter((B) => x.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => x.value.length + 1 + oe <= I.value || I.value === -1)
|
|
5329
5329
|
), r.value && Kt.value && Gt(an.value.filter((B) => !B[ae.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
@@ -5338,12 +5338,12 @@ function i7(t, e, a) {
|
|
|
5338
5338
|
}, bi = ($) => $.find((B) => !qe(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !qe(B)) === void 0, ze = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && qe($), Si = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Mi = ($) => m.value ? $.filter(
|
|
5341
|
-
(B) => X.value ? B.__VISIBLE__.length : B[
|
|
5341
|
+
(B) => X.value ? B.__VISIBLE__.length : B[S.value].length
|
|
5342
5342
|
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), ln = ($, B = !0) => {
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && w.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
|
-
me || (me = (bt, is,
|
|
5346
|
+
me || (me = (bt, is, i8) => yt.value.some((Ti) => {
|
|
5347
5347
|
let os = fn(ya(bt[Ti]), K.value);
|
|
5348
5348
|
return le.value ? os.startsWith(fn(is, K.value)) : os.indexOf(fn(is, K.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
@@ -5488,7 +5488,7 @@ function o7(t, e, a) {
|
|
|
5488
5488
|
}), N = k(() => {
|
|
5489
5489
|
const V = re(h.value).__VISIBLE__.filter((X) => !X[u.value]);
|
|
5490
5490
|
return V[V.map((X) => X[n.value]).indexOf(h.value[n.value]) + 1];
|
|
5491
|
-
}),
|
|
5491
|
+
}), S = k(() => [...K.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = k(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), L = (V) => h.value && (!V.group && h.value[n.value] === V[n.value] || V.group !== void 0 && h.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
|
|
5492
5492
|
A(H.value[0] || null);
|
|
5493
5493
|
}, ae = () => {
|
|
5494
5494
|
!h.value || h.value[u.value] === !0 || (z.value ? y(h.value) : b(h.value));
|
|
@@ -5511,8 +5511,8 @@ function o7(t, e, a) {
|
|
|
5511
5511
|
let V = H.value[H.value.length - 1];
|
|
5512
5512
|
r.value && F.value && (V = m.value, V === void 0 && (V = Z.value)), A(V || null);
|
|
5513
5513
|
} else if (r.value && F.value) {
|
|
5514
|
-
let V = z.value ?
|
|
5515
|
-
V === void 0 && (V = z.value ? K.value : I.value, V.__CREATE__ && (V =
|
|
5514
|
+
let V = z.value ? S.value : O.value;
|
|
5515
|
+
V === void 0 && (V = z.value ? K.value : I.value, V.__CREATE__ && (V = S.value, V === void 0 && (V = K.value))), A(V || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
5518
|
let V = H.value.map((X) => X[n.value]).indexOf(h.value[n.value]) - 1;
|
|
@@ -5563,7 +5563,7 @@ function Mt(t) {
|
|
|
5563
5563
|
var e = Se(t).Element;
|
|
5564
5564
|
return t instanceof e || t instanceof Element;
|
|
5565
5565
|
}
|
|
5566
|
-
function
|
|
5566
|
+
function Pe(t) {
|
|
5567
5567
|
var e = Se(t).HTMLElement;
|
|
5568
5568
|
return t instanceof e || t instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
@@ -5586,7 +5586,7 @@ function ni() {
|
|
|
5586
5586
|
function Wt(t, e, a) {
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5588
5588
|
var n = t.getBoundingClientRect(), s = 1, o = 1;
|
|
5589
|
-
e &&
|
|
5589
|
+
e && Pe(t) && (s = t.offsetWidth > 0 && Zt(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Zt(n.height) / t.offsetHeight || 1);
|
|
5590
5590
|
var i = Mt(t) ? Se(t) : window, r = i.visualViewport, l = !ni() && a, c = (n.left + (l && r ? r.offsetLeft : 0)) / s, u = (n.top + (l && r ? r.offsetTop : 0)) / o, f = n.width / s, d = n.height / o;
|
|
5591
5591
|
return {
|
|
5592
5592
|
width: f,
|
|
@@ -5613,7 +5613,7 @@ function r7(t) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function l7(t) {
|
|
5616
|
-
return t === Se(t) || !
|
|
5616
|
+
return t === Se(t) || !Pe(t) ? Rn(t) : r7(t);
|
|
5617
5617
|
}
|
|
5618
5618
|
function Ue(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -5640,7 +5640,7 @@ function u7(t) {
|
|
|
5640
5640
|
}
|
|
5641
5641
|
function c7(t, e, a) {
|
|
5642
5642
|
a === void 0 && (a = !1);
|
|
5643
|
-
var n =
|
|
5643
|
+
var n = Pe(e), s = Pe(e) && u7(e), o = gt(e), i = Wt(t, s, a), r = {
|
|
5644
5644
|
scrollLeft: 0,
|
|
5645
5645
|
scrollTop: 0
|
|
5646
5646
|
}, l = {
|
|
@@ -5648,7 +5648,7 @@ function c7(t, e, a) {
|
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
5650
|
return (n || !n && !a) && ((Ue(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
-
jn(o)) && (r = l7(e)),
|
|
5651
|
+
jn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Nn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
5654
5654
|
width: i.width,
|
|
@@ -5677,7 +5677,7 @@ function Qa(t) {
|
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body :
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Qa(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
@@ -5692,18 +5692,18 @@ function d7(t) {
|
|
|
5692
5692
|
return ["table", "td", "th"].indexOf(Ue(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
5694
|
function gs(t) {
|
|
5695
|
-
return !
|
|
5695
|
+
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function p7(t) {
|
|
5699
5699
|
var e = /firefox/i.test(gn()), a = /Trident/i.test(gn());
|
|
5700
|
-
if (a &&
|
|
5700
|
+
if (a && Pe(t)) {
|
|
5701
5701
|
var n = tt(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var s = Qa(t);
|
|
5706
|
-
for (Bn(s) && (s = s.host);
|
|
5706
|
+
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ue(s)) < 0; ) {
|
|
5707
5707
|
var o = tt(s);
|
|
5708
5708
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5709
5709
|
return s;
|
|
@@ -5823,12 +5823,12 @@ function ys(t, e, a) {
|
|
|
5823
5823
|
return e === oi ? _n(E7(t, a)) : Mt(e) ? H7(e, a) : _n(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
|
-
var e = ia(Qa(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a &&
|
|
5826
|
+
var e = ia(Qa(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? Ja(t) : t;
|
|
5827
5827
|
return Mt(n) ? e.filter(function(s) {
|
|
5828
5828
|
return Mt(s) && L7(s, n) && Ue(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
|
-
function
|
|
5831
|
+
function P7(t, e, a, n) {
|
|
5832
5832
|
var s = e === "clippingParents" ? D7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(l, c) {
|
|
5833
5833
|
var u = ys(t, c, n);
|
|
5834
5834
|
return l.top = kt(u.top, l.top), l.right = Na(u.right, l.right), l.bottom = Na(u.bottom, l.bottom), l.left = kt(u.left, l.left), l;
|
|
@@ -5899,7 +5899,7 @@ function ui() {
|
|
|
5899
5899
|
left: 0
|
|
5900
5900
|
};
|
|
5901
5901
|
}
|
|
5902
|
-
function
|
|
5902
|
+
function V7(t) {
|
|
5903
5903
|
return Object.assign({}, ui(), t);
|
|
5904
5904
|
}
|
|
5905
5905
|
function B7(t, e) {
|
|
@@ -5909,7 +5909,7 @@ function B7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Un(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
|
-
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, C = a.altBoundary, b = C === void 0 ? !1 : C, y = a.padding, _ = y === void 0 ? 0 : y, h =
|
|
5912
|
+
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, C = a.altBoundary, b = C === void 0 ? !1 : C, y = a.padding, _ = y === void 0 ? 0 : y, h = V7(typeof _ != "number" ? _ : B7(_, en)), A = d === sa ? v7 : sa, w = t.rects.popper, E = t.elements[b ? A : d], D = P7(Mt(E) ? E : E.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), U = li({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: w,
|
|
5915
5915
|
strategy: "absolute",
|
|
@@ -6168,7 +6168,7 @@ function x7(t) {
|
|
|
6168
6168
|
var e = t.state;
|
|
6169
6169
|
Object.keys(e.elements).forEach(function(a) {
|
|
6170
6170
|
var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
|
|
6171
|
-
!
|
|
6171
|
+
!Pe(o) || !Ue(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
|
|
6172
6172
|
var r = s[i];
|
|
6173
6173
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6174
6174
|
}));
|
|
@@ -6192,7 +6192,7 @@ function Y7(t) {
|
|
|
6192
6192
|
var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
|
|
6193
6193
|
return l[c] = "", l;
|
|
6194
6194
|
}, {});
|
|
6195
|
-
!
|
|
6195
|
+
!Pe(s) || !Ue(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
|
|
6196
6196
|
s.removeAttribute(l);
|
|
6197
6197
|
}));
|
|
6198
6198
|
});
|
|
@@ -6238,11 +6238,11 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var Z, ie = E === "y" ? Re : Ge, O = E === "y" ? Ze : vt, N = E === "y" ? "height" : "width",
|
|
6241
|
+
var Z, ie = E === "y" ? Re : Ge, O = E === "y" ? Ze : vt, N = E === "y" ? "height" : "width", S = H[E], m = S + _[ie], L = S - _[O], J = C ? -F[N] / 2 : 0, ae = A === qt ? U[N] : F[N], le = A === qt ? -F[N] : -U[N], ne = e.elements.arrow, re = C && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = x[ie], X = x[O], he = Ia(0, U[N], re[N]), we = w ? U[N] / 2 - J - he - V - I.mainAxis : ae - he - V - I.mainAxis, Kt = w ? -U[N] / 2 + J + he + X + I.mainAxis : le + he + X + I.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? E === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = K == null ? void 0 : K[E]) != null ? Z : 0, tn =
|
|
6245
|
-
H[E] = ya, R[E] = ya -
|
|
6244
|
+
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = x[ie], X = x[O], he = Ia(0, U[N], re[N]), we = w ? U[N] / 2 - J - he - V - I.mainAxis : ae - he - V - I.mainAxis, Kt = w ? -U[N] / 2 + J + he + X + I.mainAxis : le + he + X + I.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? E === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = K == null ? void 0 : K[E]) != null ? Z : 0, tn = S + we - _a - nt, st = S + Kt - _a, ya = Ia(C ? Na(m, tn) : m, S, C ? kt(L, st) : L);
|
|
6245
|
+
H[E] = ya, R[E] = ya - S;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
6248
|
var it, Ne = E === "x" ? Re : Ge, Ae = E === "x" ? Ze : vt, Be = H[D], We = D === "y" ? "height" : "width", Xt = Be + _[Ne], ba = Be - _[Ae], Te = [Re, Ge].indexOf(h) !== -1, Qt = (it = K == null ? void 0 : K[D]) != null ? it : 0, ot = Te ? Xt : Be - U[We] - F[We] - Qt + I.altAxis, _t = Te ? Be + U[We] + F[We] - Qt - I.altAxis : ba, wa = C && Te ? J7(ot, Be, _t) : Ia(C ? ot : Xt, Be, C ? _t : ba);
|
|
@@ -6322,10 +6322,10 @@ function op(t) {
|
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}),
|
|
6326
|
-
D[O] > H[O] && (
|
|
6327
|
-
var m = La(
|
|
6328
|
-
if (o && L.push(N[R] <= 0), r && L.push(N[
|
|
6325
|
+
}), S = ie ? Z ? vt : Ge : Z ? Ze : Re;
|
|
6326
|
+
D[O] > H[O] && (S = La(S));
|
|
6327
|
+
var m = La(S), L = [];
|
|
6328
|
+
if (o && L.push(N[R] <= 0), r && L.push(N[S] <= 0, N[m] <= 0), L.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
z = K, F = !1;
|
|
@@ -7166,7 +7166,7 @@ var lt = {
|
|
|
7166
7166
|
}));
|
|
7167
7167
|
}
|
|
7168
7168
|
};
|
|
7169
|
-
const Cp = ["id", "dir"], gp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], _p = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], yp = ["onKeyup", "aria-label"], bp = ["onClick"], wp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], $p = ["innerHTML"], kp = ["id"], Sp = ["id"], Mp = ["id", "aria-label", "aria-selected"], Ap = ["data-pointed", "onMouseenter", "onMousedown"], Tp = ["innerHTML"], Op = ["aria-label"], Ep = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Ip = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Lp = ["innerHTML"], Hp = ["innerHTML"], Dp = ["value"],
|
|
7169
|
+
const Cp = ["id", "dir"], gp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], _p = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], yp = ["onKeyup", "aria-label"], bp = ["onClick"], wp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], $p = ["innerHTML"], kp = ["id"], Sp = ["id"], Mp = ["id", "aria-label", "aria-selected"], Ap = ["data-pointed", "onMouseenter", "onMousedown"], Tp = ["innerHTML"], Op = ["aria-label"], Ep = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Ip = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Lp = ["innerHTML"], Hp = ["innerHTML"], Dp = ["value"], Pp = ["name", "value"], Vp = ["name", "value"], Bp = ["id"];
|
|
7170
7170
|
function Rp(t, e, a, n, s, o) {
|
|
7171
7171
|
return p(), g("div", {
|
|
7172
7172
|
ref: "multiselect",
|
|
@@ -7606,7 +7606,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7606
7606
|
type: "hidden",
|
|
7607
7607
|
name: a.name,
|
|
7608
7608
|
value: t.plainValue !== void 0 ? t.plainValue : ""
|
|
7609
|
-
}, null, 8,
|
|
7609
|
+
}, null, 8, Pp)) : (p(!0), g(
|
|
7610
7610
|
ve,
|
|
7611
7611
|
{ key: 1 },
|
|
7612
7612
|
_e(t.plainValue, (i, r) => (p(), g("input", {
|
|
@@ -7614,7 +7614,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7614
7614
|
name: `${a.name}[]`,
|
|
7615
7615
|
value: i,
|
|
7616
7616
|
key: r
|
|
7617
|
-
}, null, 8,
|
|
7617
|
+
}, null, 8, Vp))),
|
|
7618
7618
|
128
|
|
7619
7619
|
/* KEYED_FRAGMENT */
|
|
7620
7620
|
))
|
|
@@ -7650,7 +7650,7 @@ const $e = /* @__PURE__ */ q({
|
|
|
7650
7650
|
appendTo: {}
|
|
7651
7651
|
},
|
|
7652
7652
|
setup(t) {
|
|
7653
|
-
const e = t, a =
|
|
7653
|
+
const e = t, a = Pt(() => e.appendTo), n = ee();
|
|
7654
7654
|
return e.detached && Q5({
|
|
7655
7655
|
multiselect: n,
|
|
7656
7656
|
appendTo: a.value
|
|
@@ -7814,7 +7814,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7814
7814
|
onChange: (_) => c(_, C.id)
|
|
7815
7815
|
}, {
|
|
7816
7816
|
tag: W(({ option: _, handleTagRemove: h }) => [
|
|
7817
|
-
|
|
7817
|
+
M(Je, {
|
|
7818
7818
|
"user-name": _.label,
|
|
7819
7819
|
"avatar-url": _.avatar,
|
|
7820
7820
|
"is-closable": !0,
|
|
@@ -7919,7 +7919,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7919
7919
|
target: "_blank",
|
|
7920
7920
|
rel: "noopener noreferrer"
|
|
7921
7921
|
}, [
|
|
7922
|
-
|
|
7922
|
+
M(pe, {
|
|
7923
7923
|
class: "ao-file__icon",
|
|
7924
7924
|
name: "AttachFileRounded",
|
|
7925
7925
|
size: "sm"
|
|
@@ -7940,7 +7940,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7940
7940
|
u.isEditable ? (p(), g("li", Gp, [
|
|
7941
7941
|
v("label", Xp, [
|
|
7942
7942
|
v("div", Qp, [
|
|
7943
|
-
|
|
7943
|
+
M(pe, {
|
|
7944
7944
|
name: "Add",
|
|
7945
7945
|
size: "sm"
|
|
7946
7946
|
}),
|
|
@@ -8030,14 +8030,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8030
8030
|
]),
|
|
8031
8031
|
y.isEditable ? (p(), g("div", lf, [
|
|
8032
8032
|
Q(o) ? (p(), g(ve, { key: 0 }, [
|
|
8033
|
-
|
|
8033
|
+
M(ce, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
8035
8035
|
size: "sm",
|
|
8036
8036
|
variant: "ghost",
|
|
8037
8037
|
color: "neutral",
|
|
8038
8038
|
onClick: Q(f)
|
|
8039
8039
|
}, null, 8, ["onClick"]),
|
|
8040
|
-
|
|
8040
|
+
M(ce, {
|
|
8041
8041
|
"icon-name": "CheckSmallRounded",
|
|
8042
8042
|
size: "sm",
|
|
8043
8043
|
variant: "solid",
|
|
@@ -8046,14 +8046,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8046
8046
|
onClick: Q(d)
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (p(), g(ve, { key: 1 }, [
|
|
8049
|
-
|
|
8049
|
+
M(ce, {
|
|
8050
8050
|
label: y.$t("activity.comment.delete"),
|
|
8051
8051
|
size: "sm",
|
|
8052
8052
|
variant: "ghost",
|
|
8053
8053
|
color: "neutral",
|
|
8054
8054
|
onClick: C
|
|
8055
8055
|
}, null, 8, ["label"]),
|
|
8056
|
-
|
|
8056
|
+
M(ce, {
|
|
8057
8057
|
label: y.$t("activity.comment.edit"),
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
@@ -8085,7 +8085,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8085
8085
|
De(() => {
|
|
8086
8086
|
o.value && (o.value.scrollTop = o.value.scrollHeight);
|
|
8087
8087
|
});
|
|
8088
|
-
const i =
|
|
8088
|
+
const i = Pt(a.newComment), r = k({
|
|
8089
8089
|
get() {
|
|
8090
8090
|
return i.value;
|
|
8091
8091
|
},
|
|
@@ -8129,7 +8129,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8129
8129
|
]
|
|
8130
8130
|
]),
|
|
8131
8131
|
v("div", ff, [
|
|
8132
|
-
|
|
8132
|
+
M(ce, {
|
|
8133
8133
|
type: "submit",
|
|
8134
8134
|
"icon-name": "SendRounded",
|
|
8135
8135
|
color: "primary",
|
|
@@ -8183,7 +8183,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8183
8183
|
}, wf = { class: "ao-field__label" }, $f = {
|
|
8184
8184
|
key: 1,
|
|
8185
8185
|
class: "ao-field ao-feed__activity-details__project"
|
|
8186
|
-
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" }, Mf = { class: "ao-fieldset" }, Af = { class: "ao-field__row" }, Tf = { class: "ao-field ao-field--full" }, Of = { class: "ao-field__label" }, Ef = ["readonly"], If = { class: "ao-field__row" }, Lf = { class: "ao-field ao-field--inline" }, Hf = { class: "ao-field__label" }, Df = ["readonly"],
|
|
8186
|
+
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" }, Mf = { class: "ao-fieldset" }, Af = { class: "ao-field__row" }, Tf = { class: "ao-field ao-field--full" }, Of = { class: "ao-field__label" }, Ef = ["readonly"], If = { class: "ao-field__row" }, Lf = { class: "ao-field ao-field--inline" }, Hf = { class: "ao-field__label" }, Df = ["readonly"], Pf = { class: "ao-fieldset" }, Vf = { class: "ao-fieldset__title" }, Bf = { class: "ao-fieldset__body" }, Rf = {
|
|
8187
8187
|
key: 0,
|
|
8188
8188
|
class: "ao-fieldset"
|
|
8189
8189
|
}, Nf = { class: "ao-fieldset__title" }, jf = { class: "ao-activity-details__aside" }, Ff = { class: "ao-activity-details__close-button" }, Uf = {
|
|
@@ -8395,7 +8395,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8395
8395
|
e("updateComment", m);
|
|
8396
8396
|
}, N = (m) => {
|
|
8397
8397
|
e("removeComment", m);
|
|
8398
|
-
},
|
|
8398
|
+
}, S = k(() => {
|
|
8399
8399
|
var m, L;
|
|
8400
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((L = a.activity.createdBy) == null ? void 0 : L.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
@@ -8409,7 +8409,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8409
8409
|
v("div", Cf, [
|
|
8410
8410
|
v("div", gf, [
|
|
8411
8411
|
m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
|
|
8412
|
-
|
|
8412
|
+
M(ye, {
|
|
8413
8413
|
title: m.activity.name || "",
|
|
8414
8414
|
level: 4,
|
|
8415
8415
|
"is-editable": n.value,
|
|
@@ -8418,7 +8418,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8418
8418
|
v("div", yf, [
|
|
8419
8419
|
F.value ? (p(), g("label", bf, [
|
|
8420
8420
|
v("span", wf, G(m.$t("activity.project.label")), 1),
|
|
8421
|
-
|
|
8421
|
+
M($e, {
|
|
8422
8422
|
options: F.value,
|
|
8423
8423
|
value: (J = m.activity.project) == null ? void 0 : J.id,
|
|
8424
8424
|
searchable: !0,
|
|
@@ -8429,7 +8429,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8429
8429
|
])) : T("", !0),
|
|
8430
8430
|
z.value ? (p(), g("label", $f, [
|
|
8431
8431
|
v("span", kf, G(m.$t("activity.milestone.label")), 1),
|
|
8432
|
-
|
|
8432
|
+
M($e, {
|
|
8433
8433
|
options: z.value,
|
|
8434
8434
|
value: (ae = m.activity.milestone) == null ? void 0 : ae.id,
|
|
8435
8435
|
searchable: !0,
|
|
@@ -8444,7 +8444,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8444
8444
|
v("div", Sf, [
|
|
8445
8445
|
v("fieldset", Mf, [
|
|
8446
8446
|
v("div", Af, [
|
|
8447
|
-
|
|
8447
|
+
M(af, {
|
|
8448
8448
|
attachments: m.activity.attachments,
|
|
8449
8449
|
"is-editable": m.attachmentEnabled && n.value && m.isTemplate !== !0 && !!m.userId,
|
|
8450
8450
|
onAdd: H,
|
|
@@ -8497,16 +8497,16 @@ const yn = /* @__PURE__ */ q({
|
|
|
8497
8497
|
])
|
|
8498
8498
|
])
|
|
8499
8499
|
]),
|
|
8500
|
-
v("fieldset",
|
|
8501
|
-
v("div",
|
|
8502
|
-
|
|
8503
|
-
|
|
8500
|
+
v("fieldset", Pf, [
|
|
8501
|
+
v("div", Vf, [
|
|
8502
|
+
M(pe, { name: "SelectCheckBox" }),
|
|
8503
|
+
M(ye, {
|
|
8504
8504
|
level: 4,
|
|
8505
8505
|
title: m.$t("activity.tasks.title")
|
|
8506
8506
|
}, null, 8, ["title"])
|
|
8507
8507
|
]),
|
|
8508
8508
|
v("div", Bf, [
|
|
8509
|
-
|
|
8509
|
+
M(Wp, {
|
|
8510
8510
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8511
8511
|
tasks: m.activity.tasks || [],
|
|
8512
8512
|
"activity-id": m.activity.id,
|
|
@@ -8522,13 +8522,13 @@ const yn = /* @__PURE__ */ q({
|
|
|
8522
8522
|
]),
|
|
8523
8523
|
m.isTemplate !== !0 && m.userId ? (p(), g("div", Rf, [
|
|
8524
8524
|
v("div", Nf, [
|
|
8525
|
-
|
|
8526
|
-
|
|
8525
|
+
M(pe, { name: "ChatOutline" }),
|
|
8526
|
+
M(ye, {
|
|
8527
8527
|
level: 4,
|
|
8528
8528
|
title: m.$t("activity.comments.title")
|
|
8529
8529
|
}, null, 8, ["title"])
|
|
8530
8530
|
]),
|
|
8531
|
-
|
|
8531
|
+
M(hf, {
|
|
8532
8532
|
comments: m.activity.comments,
|
|
8533
8533
|
users: m.users,
|
|
8534
8534
|
"user-id": m.userId,
|
|
@@ -8541,7 +8541,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8541
8541
|
]),
|
|
8542
8542
|
v("div", jf, [
|
|
8543
8543
|
v("div", Ff, [
|
|
8544
|
-
|
|
8544
|
+
M(pe, {
|
|
8545
8545
|
name: "CloseRounded",
|
|
8546
8546
|
onClick: L[2] || (L[2] = (ne) => m.$emit("close"))
|
|
8547
8547
|
})
|
|
@@ -8549,7 +8549,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8549
8549
|
R.value ? (p(), g("div", Uf, [
|
|
8550
8550
|
v("label", Zf, [
|
|
8551
8551
|
v("span", Wf, G(m.$t("activity.status.label")), 1),
|
|
8552
|
-
|
|
8552
|
+
M($e, {
|
|
8553
8553
|
class: "ao-activity-details__multiselect",
|
|
8554
8554
|
options: R.value,
|
|
8555
8555
|
value: (le = m.activity.status) == null ? void 0 : le.id,
|
|
@@ -8564,7 +8564,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8564
8564
|
v("div", qf, [
|
|
8565
8565
|
v("div", zf, [
|
|
8566
8566
|
v("span", xf, G(m.$t("activity.assignee.label")), 1),
|
|
8567
|
-
|
|
8567
|
+
M($e, {
|
|
8568
8568
|
modelValue: D.value,
|
|
8569
8569
|
"onUpdate:modelValue": L[3] || (L[3] = (ne) => D.value = ne),
|
|
8570
8570
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
@@ -8581,7 +8581,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8581
8581
|
option: ne,
|
|
8582
8582
|
handleTagRemove: re
|
|
8583
8583
|
}) => [
|
|
8584
|
-
|
|
8584
|
+
M(Je, {
|
|
8585
8585
|
"user-name": ne.label,
|
|
8586
8586
|
"avatar-url": ne.avatar,
|
|
8587
8587
|
"is-closable": !0,
|
|
@@ -8615,7 +8615,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8615
8615
|
v("div", Jf, [
|
|
8616
8616
|
u.value ? (p(), g("div", e9, [
|
|
8617
8617
|
v("label", t9, [
|
|
8618
|
-
|
|
8618
|
+
M($e, {
|
|
8619
8619
|
modelValue: f.value,
|
|
8620
8620
|
"onUpdate:modelValue": L[5] || (L[5] = (ne) => f.value = ne),
|
|
8621
8621
|
class: "ao-activity-details__multiselect",
|
|
@@ -8631,7 +8631,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8631
8631
|
te(m.$slots, "default", { activity: m.activity })
|
|
8632
8632
|
]),
|
|
8633
8633
|
v("div", a9, [
|
|
8634
|
-
|
|
8634
|
+
M(yn, {
|
|
8635
8635
|
modelValue: r.value,
|
|
8636
8636
|
"onUpdate:modelValue": L[6] || (L[6] = (ne) => r.value = ne),
|
|
8637
8637
|
modelModifiers: { lazy: !0 },
|
|
@@ -8646,7 +8646,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8646
8646
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8647
8647
|
]),
|
|
8648
8648
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", n9, [
|
|
8649
|
-
|
|
8649
|
+
M(yn, {
|
|
8650
8650
|
modelValue: l.value,
|
|
8651
8651
|
"onUpdate:modelValue": L[7] || (L[7] = (ne) => l.value = ne),
|
|
8652
8652
|
modelModifiers: { lazy: !0 },
|
|
@@ -8661,8 +8661,8 @@ const yn = /* @__PURE__ */ q({
|
|
|
8661
8661
|
])) : T("", !0),
|
|
8662
8662
|
v("fieldset", s9, [
|
|
8663
8663
|
v("div", i9, [
|
|
8664
|
-
|
|
8665
|
-
|
|
8664
|
+
M(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8665
|
+
M(ye, {
|
|
8666
8666
|
level: 4,
|
|
8667
8667
|
title: m.$t("activity.dependencies.title")
|
|
8668
8668
|
}, null, 8, ["title"])
|
|
@@ -8671,7 +8671,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8671
8671
|
v("div", r9, [
|
|
8672
8672
|
v("label", l9, [
|
|
8673
8673
|
v("span", u9, G(m.$t("activity.dependingOn.label")), 1),
|
|
8674
|
-
|
|
8674
|
+
M($e, {
|
|
8675
8675
|
modelValue: C.value,
|
|
8676
8676
|
"onUpdate:modelValue": L[8] || (L[8] = (ne) => C.value = ne),
|
|
8677
8677
|
class: "ao-activity-details__multiselect",
|
|
@@ -8687,7 +8687,7 @@ const yn = /* @__PURE__ */ q({
|
|
|
8687
8687
|
v("div", c9, [
|
|
8688
8688
|
v("label", d9, [
|
|
8689
8689
|
v("span", p9, G(m.$t("activity.blocking.label")), 1),
|
|
8690
|
-
|
|
8690
|
+
M($e, {
|
|
8691
8691
|
modelValue: y.value,
|
|
8692
8692
|
"onUpdate:modelValue": L[9] || (L[9] = (ne) => y.value = ne),
|
|
8693
8693
|
class: "ao-activity-details__multiselect",
|
|
@@ -8702,13 +8702,13 @@ const yn = /* @__PURE__ */ q({
|
|
|
8702
8702
|
])
|
|
8703
8703
|
])
|
|
8704
8704
|
]),
|
|
8705
|
-
m.isTemplate !== !0 &&
|
|
8705
|
+
m.isTemplate !== !0 && S.value ? (p(), g("div", f9, [
|
|
8706
8706
|
v("div", v9, [
|
|
8707
|
-
|
|
8708
|
-
"user-name":
|
|
8707
|
+
M(Je, {
|
|
8708
|
+
"user-name": S.value,
|
|
8709
8709
|
color: "black"
|
|
8710
8710
|
}, null, 8, ["user-name"]),
|
|
8711
|
-
v("span", null, G(
|
|
8711
|
+
v("span", null, G(S.value), 1)
|
|
8712
8712
|
])
|
|
8713
8713
|
])) : T("", !0)
|
|
8714
8714
|
])
|
|
@@ -8730,7 +8730,7 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8730
8730
|
},
|
|
8731
8731
|
emits: ["update:rule", "close"],
|
|
8732
8732
|
setup(t, { emit: e }) {
|
|
8733
|
-
const a = t, n =
|
|
8733
|
+
const a = t, n = Pt(
|
|
8734
8734
|
a.rule.itemType || Ce.ACTIVITIES
|
|
8735
8735
|
), s = k({
|
|
8736
8736
|
get() {
|
|
@@ -8764,14 +8764,14 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8764
8764
|
value: w.id,
|
|
8765
8765
|
label: w.name
|
|
8766
8766
|
}));
|
|
8767
|
-
}), l =
|
|
8767
|
+
}), l = Pt(a.rule.comparator), c = k({
|
|
8768
8768
|
get() {
|
|
8769
8769
|
return l.value;
|
|
8770
8770
|
},
|
|
8771
8771
|
set(h) {
|
|
8772
8772
|
e("update:rule", { ...a.rule, comparator: h });
|
|
8773
8773
|
}
|
|
8774
|
-
}), u = k(() => Object.values(R2)), f =
|
|
8774
|
+
}), u = k(() => Object.values(R2)), f = Pt(a.rule.trigger), d = k({
|
|
8775
8775
|
get() {
|
|
8776
8776
|
return f.value;
|
|
8777
8777
|
},
|
|
@@ -8795,22 +8795,22 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8795
8795
|
}), _ = k(() => Object.values(j2));
|
|
8796
8796
|
return (h, A) => (p(), P(ht(h.tagName), { class: "ao-rule-line" }, {
|
|
8797
8797
|
default: W(() => [
|
|
8798
|
-
|
|
8798
|
+
M(Q(lt), {
|
|
8799
8799
|
modelValue: s.value,
|
|
8800
8800
|
"onUpdate:modelValue": A[0] || (A[0] = (w) => s.value = w),
|
|
8801
8801
|
options: o.value
|
|
8802
8802
|
}, null, 8, ["modelValue", "options"]),
|
|
8803
|
-
|
|
8803
|
+
M(Q(lt), {
|
|
8804
8804
|
modelValue: i.value,
|
|
8805
8805
|
"onUpdate:modelValue": A[1] || (A[1] = (w) => i.value = w),
|
|
8806
8806
|
options: r.value
|
|
8807
8807
|
}, null, 8, ["modelValue", "options"]),
|
|
8808
|
-
|
|
8808
|
+
M(Q(lt), {
|
|
8809
8809
|
modelValue: d.value,
|
|
8810
8810
|
"onUpdate:modelValue": A[2] || (A[2] = (w) => d.value = w),
|
|
8811
8811
|
options: C.value
|
|
8812
8812
|
}, null, 8, ["modelValue", "options"]),
|
|
8813
|
-
|
|
8813
|
+
M(Q(lt), {
|
|
8814
8814
|
modelValue: c.value,
|
|
8815
8815
|
"onUpdate:modelValue": A[3] || (A[3] = (w) => c.value = w),
|
|
8816
8816
|
options: u.value
|
|
@@ -8827,12 +8827,12 @@ const h9 = /* @__PURE__ */ q({
|
|
|
8827
8827
|
{ number: !0 }
|
|
8828
8828
|
]
|
|
8829
8829
|
]),
|
|
8830
|
-
|
|
8830
|
+
M(Q(lt), {
|
|
8831
8831
|
modelValue: y.value,
|
|
8832
8832
|
"onUpdate:modelValue": A[5] || (A[5] = (w) => y.value = w),
|
|
8833
8833
|
options: _.value
|
|
8834
8834
|
}, null, 8, ["modelValue", "options"]),
|
|
8835
|
-
|
|
8835
|
+
M(ce, {
|
|
8836
8836
|
class: "ao-rule-line__remove",
|
|
8837
8837
|
"icon-name": "CloseRounded",
|
|
8838
8838
|
variant: "ghost",
|
|
@@ -8861,7 +8861,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8861
8861
|
};
|
|
8862
8862
|
return (s, o) => (p(), P(In, null, {
|
|
8863
8863
|
header: W(() => [
|
|
8864
|
-
|
|
8864
|
+
M(ye, {
|
|
8865
8865
|
title: s.$t("template.rules.title"),
|
|
8866
8866
|
level: 2
|
|
8867
8867
|
}, null, 8, ["title"])
|
|
@@ -8879,7 +8879,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
|
|
|
8879
8879
|
onClose: () => n(i.id)
|
|
8880
8880
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8881
8881
|
]),
|
|
8882
|
-
|
|
8882
|
+
M(Ct, {
|
|
8883
8883
|
label: s.$t("template.rules.add"),
|
|
8884
8884
|
"icon-name": "Add",
|
|
8885
8885
|
onClick: a
|
|
@@ -8915,8 +8915,8 @@ const _9 = {
|
|
|
8915
8915
|
setup(t, { emit: e }) {
|
|
8916
8916
|
const a = t, { t: n } = Tt(), s = k(
|
|
8917
8917
|
() => {
|
|
8918
|
-
var
|
|
8919
|
-
return (
|
|
8918
|
+
var S;
|
|
8919
|
+
return (S = a.templates) == null ? void 0 : S.find((m) => m.id === a.templateId);
|
|
8920
8920
|
}
|
|
8921
8921
|
), o = ee(!1);
|
|
8922
8922
|
de(
|
|
@@ -8924,50 +8924,50 @@ const _9 = {
|
|
|
8924
8924
|
() => o.value = !1
|
|
8925
8925
|
), de(
|
|
8926
8926
|
() => {
|
|
8927
|
-
var
|
|
8928
|
-
return (
|
|
8927
|
+
var S;
|
|
8928
|
+
return (S = s.value) == null ? void 0 : S.phases;
|
|
8929
8929
|
},
|
|
8930
|
-
(
|
|
8931
|
-
o.value && Xe(
|
|
8930
|
+
(S, m) => {
|
|
8931
|
+
o.value && Xe(S, m);
|
|
8932
8932
|
}
|
|
8933
8933
|
);
|
|
8934
8934
|
const i = k(() => {
|
|
8935
|
-
var
|
|
8936
|
-
return (m = (
|
|
8935
|
+
var S, m;
|
|
8936
|
+
return (m = (S = s == null ? void 0 : s.value) == null ? void 0 : S.phases) == null ? void 0 : m.find((L) => L.id === a.phaseId);
|
|
8937
8937
|
});
|
|
8938
8938
|
de(
|
|
8939
8939
|
() => {
|
|
8940
|
-
var
|
|
8941
|
-
return (
|
|
8940
|
+
var S;
|
|
8941
|
+
return (S = i.value) == null ? void 0 : S.milestones;
|
|
8942
8942
|
},
|
|
8943
|
-
(
|
|
8944
|
-
o.value && Xe(
|
|
8943
|
+
(S, m) => {
|
|
8944
|
+
o.value && Xe(S, m);
|
|
8945
8945
|
}
|
|
8946
8946
|
);
|
|
8947
8947
|
const r = k(() => {
|
|
8948
|
-
var
|
|
8949
|
-
return (m = (
|
|
8948
|
+
var S, m;
|
|
8949
|
+
return (m = (S = i.value) == null ? void 0 : S.milestones) == null ? void 0 : m.find(
|
|
8950
8950
|
(L) => L.id === a.milestoneId
|
|
8951
8951
|
);
|
|
8952
8952
|
});
|
|
8953
8953
|
de(
|
|
8954
8954
|
() => {
|
|
8955
|
-
var
|
|
8956
|
-
return (
|
|
8955
|
+
var S;
|
|
8956
|
+
return (S = r.value) == null ? void 0 : S.activities;
|
|
8957
8957
|
},
|
|
8958
|
-
(
|
|
8959
|
-
o.value && Xe(
|
|
8958
|
+
(S, m) => {
|
|
8959
|
+
o.value && Xe(S, m);
|
|
8960
8960
|
}
|
|
8961
8961
|
);
|
|
8962
8962
|
const l = k(() => {
|
|
8963
|
-
var
|
|
8964
|
-
return ((m = (
|
|
8963
|
+
var S, m;
|
|
8964
|
+
return ((m = (S = s.value) == null ? void 0 : S.phases) == null ? void 0 : m.reduce((L, J) => {
|
|
8965
8965
|
const ae = J.milestones || [];
|
|
8966
8966
|
return [...L, ...ae];
|
|
8967
8967
|
}, [])) || [];
|
|
8968
8968
|
}), c = k(() => {
|
|
8969
|
-
var
|
|
8970
|
-
return ((m = (
|
|
8969
|
+
var S, m;
|
|
8970
|
+
return ((m = (S = s.value) == null ? void 0 : S.phases) == null ? void 0 : m.reduce((L, J) => {
|
|
8971
8971
|
const le = (J.milestones || []).reduce(
|
|
8972
8972
|
(ne, re) => re.activities ? [...ne, ...re.activities] : ne,
|
|
8973
8973
|
[]
|
|
@@ -8975,17 +8975,17 @@ const _9 = {
|
|
|
8975
8975
|
return [...L, ...le];
|
|
8976
8976
|
}, [])) || [];
|
|
8977
8977
|
}), u = k(() => {
|
|
8978
|
-
var
|
|
8979
|
-
return (m = (
|
|
8978
|
+
var S, m;
|
|
8979
|
+
return (m = (S = r.value) == null ? void 0 : S.activities) == null ? void 0 : m.find(
|
|
8980
8980
|
(L) => L.id === a.activityId
|
|
8981
8981
|
);
|
|
8982
8982
|
}), f = k(() => {
|
|
8983
|
-
var
|
|
8984
|
-
return ((
|
|
8983
|
+
var S;
|
|
8984
|
+
return ((S = s.value) == null ? void 0 : S.name) || a.templateId;
|
|
8985
8985
|
}), d = () => {
|
|
8986
8986
|
if (!s.value)
|
|
8987
8987
|
return;
|
|
8988
|
-
const { name:
|
|
8988
|
+
const { name: S, rank: m } = Bt(
|
|
8989
8989
|
s.value.phases,
|
|
8990
8990
|
"phase",
|
|
8991
8991
|
n
|
|
@@ -8994,35 +8994,35 @@ const _9 = {
|
|
|
8994
8994
|
type: Ce.PHASES,
|
|
8995
8995
|
templateId: a.templateId,
|
|
8996
8996
|
item: {
|
|
8997
|
-
name:
|
|
8997
|
+
name: S,
|
|
8998
8998
|
rank: m
|
|
8999
8999
|
}
|
|
9000
9000
|
});
|
|
9001
|
-
}, C = (
|
|
9001
|
+
}, C = (S) => {
|
|
9002
9002
|
e("updateItem", {
|
|
9003
9003
|
templateId: a.templateId,
|
|
9004
9004
|
id: a.templateId,
|
|
9005
9005
|
itemType: Ce.TEMPLATES,
|
|
9006
|
-
data: { name:
|
|
9006
|
+
data: { name: S }
|
|
9007
9007
|
});
|
|
9008
|
-
}, b = (
|
|
9008
|
+
}, b = (S) => {
|
|
9009
9009
|
e("removeItem", {
|
|
9010
9010
|
type: Ce.PHASES,
|
|
9011
9011
|
templateId: a.templateId,
|
|
9012
9012
|
data: {
|
|
9013
|
-
id:
|
|
9013
|
+
id: S
|
|
9014
9014
|
}
|
|
9015
9015
|
});
|
|
9016
|
-
}, y = (
|
|
9016
|
+
}, y = (S, m) => {
|
|
9017
9017
|
e("updateItem", {
|
|
9018
9018
|
templateId: a.templateId,
|
|
9019
|
-
id:
|
|
9019
|
+
id: S,
|
|
9020
9020
|
itemType: Ce.PHASES,
|
|
9021
9021
|
data: { name: m }
|
|
9022
9022
|
});
|
|
9023
|
-
}, _ = (
|
|
9024
|
-
e("updateItem",
|
|
9025
|
-
}, h = (
|
|
9023
|
+
}, _ = (S) => {
|
|
9024
|
+
e("updateItem", S);
|
|
9025
|
+
}, h = (S) => {
|
|
9026
9026
|
if (!i.value)
|
|
9027
9027
|
return;
|
|
9028
9028
|
const { name: m, rank: L } = Bt(
|
|
@@ -9033,32 +9033,32 @@ const _9 = {
|
|
|
9033
9033
|
o.value = !0, e("addItem", {
|
|
9034
9034
|
type: Ce.MILESTONES,
|
|
9035
9035
|
templateId: a.templateId,
|
|
9036
|
-
phaseId:
|
|
9036
|
+
phaseId: S.phaseId,
|
|
9037
9037
|
item: {
|
|
9038
9038
|
name: m,
|
|
9039
9039
|
rank: L,
|
|
9040
|
-
phaseId:
|
|
9040
|
+
phaseId: S.phaseId
|
|
9041
9041
|
}
|
|
9042
9042
|
});
|
|
9043
|
-
}, A = (
|
|
9043
|
+
}, A = (S) => {
|
|
9044
9044
|
e("removeItem", {
|
|
9045
9045
|
type: Ce.MILESTONES,
|
|
9046
9046
|
templateId: a.templateId,
|
|
9047
|
-
phaseId:
|
|
9047
|
+
phaseId: S.phaseId,
|
|
9048
9048
|
data: {
|
|
9049
|
-
id:
|
|
9049
|
+
id: S.id
|
|
9050
9050
|
}
|
|
9051
9051
|
});
|
|
9052
|
-
}, w = (
|
|
9053
|
-
const { id: m, ...L } =
|
|
9052
|
+
}, w = (S) => {
|
|
9053
|
+
const { id: m, ...L } = S;
|
|
9054
9054
|
e("updateItem", {
|
|
9055
9055
|
itemType: Ce.MILESTONES,
|
|
9056
9056
|
id: m,
|
|
9057
9057
|
templateId: a.templateId,
|
|
9058
9058
|
data: L
|
|
9059
9059
|
});
|
|
9060
|
-
}, E = (
|
|
9061
|
-
const { milestoneId: m } =
|
|
9060
|
+
}, E = (S) => {
|
|
9061
|
+
const { milestoneId: m } = S;
|
|
9062
9062
|
if (!r.value)
|
|
9063
9063
|
return;
|
|
9064
9064
|
const { name: L, rank: J } = Bt(
|
|
@@ -9072,7 +9072,7 @@ const _9 = {
|
|
|
9072
9072
|
templateId: a.templateId,
|
|
9073
9073
|
item: { name: L, rank: J, milestoneId: m }
|
|
9074
9074
|
});
|
|
9075
|
-
}, D = (
|
|
9075
|
+
}, D = (S) => {
|
|
9076
9076
|
var m, L;
|
|
9077
9077
|
e("removeItem", {
|
|
9078
9078
|
type: Ce.ACTIVITIES,
|
|
@@ -9080,11 +9080,11 @@ const _9 = {
|
|
|
9080
9080
|
phaseId: (m = i.value) == null ? void 0 : m.id,
|
|
9081
9081
|
milestoneId: (L = r.value) == null ? void 0 : L.id,
|
|
9082
9082
|
data: {
|
|
9083
|
-
id:
|
|
9083
|
+
id: S.id
|
|
9084
9084
|
}
|
|
9085
9085
|
});
|
|
9086
|
-
}, H = (
|
|
9087
|
-
const { id: m, ...L } =
|
|
9086
|
+
}, H = (S) => {
|
|
9087
|
+
const { id: m, ...L } = S;
|
|
9088
9088
|
e("updateItem", {
|
|
9089
9089
|
itemType: Ce.ACTIVITIES,
|
|
9090
9090
|
id: m,
|
|
@@ -9095,60 +9095,60 @@ const _9 = {
|
|
|
9095
9095
|
U.value = !U.value;
|
|
9096
9096
|
}, z = () => {
|
|
9097
9097
|
e("addRule", { templateId: a.templateId });
|
|
9098
|
-
}, I = (
|
|
9099
|
-
e("removeRule", { id:
|
|
9100
|
-
}, K = (
|
|
9098
|
+
}, I = (S) => {
|
|
9099
|
+
e("removeRule", { id: S, templateId: a.templateId });
|
|
9100
|
+
}, K = (S) => {
|
|
9101
9101
|
var m;
|
|
9102
|
-
if (
|
|
9103
|
-
const L = Ca(
|
|
9102
|
+
if (S.moved) {
|
|
9103
|
+
const L = Ca(S, ((m = s.value) == null ? void 0 : m.phases) ?? []);
|
|
9104
9104
|
e("updateItem", {
|
|
9105
9105
|
itemType: Ce.PHASES,
|
|
9106
|
-
id:
|
|
9106
|
+
id: S.moved.element.id,
|
|
9107
9107
|
templateId: a.templateId,
|
|
9108
9108
|
data: {
|
|
9109
9109
|
rank: L
|
|
9110
9110
|
}
|
|
9111
9111
|
});
|
|
9112
9112
|
}
|
|
9113
|
-
}, R = (
|
|
9113
|
+
}, R = (S) => {
|
|
9114
9114
|
!i.value || !r.value || !u.value || e("addItem", {
|
|
9115
9115
|
type: Ce.TASKS,
|
|
9116
|
-
activityId:
|
|
9116
|
+
activityId: S.activityId,
|
|
9117
9117
|
milestoneId: r.value.id,
|
|
9118
9118
|
phaseId: i.value.id,
|
|
9119
9119
|
templateId: a.templateId,
|
|
9120
|
-
item:
|
|
9120
|
+
item: S
|
|
9121
9121
|
});
|
|
9122
|
-
}, Z = (
|
|
9122
|
+
}, Z = (S) => {
|
|
9123
9123
|
!i.value || !r.value || !u.value || e("updateItem", {
|
|
9124
9124
|
itemType: Ce.TASKS,
|
|
9125
|
-
id:
|
|
9125
|
+
id: S.id,
|
|
9126
9126
|
templateId: a.templateId,
|
|
9127
|
-
data:
|
|
9127
|
+
data: S
|
|
9128
9128
|
});
|
|
9129
|
-
}, ie = (
|
|
9129
|
+
}, ie = (S) => {
|
|
9130
9130
|
!i.value || !r.value || !u.value || e("removeItem", {
|
|
9131
9131
|
type: Ce.TASKS,
|
|
9132
9132
|
activityId: u.value.id,
|
|
9133
9133
|
milestoneId: r.value.id,
|
|
9134
9134
|
phaseId: i.value.id,
|
|
9135
9135
|
templateId: a.templateId,
|
|
9136
|
-
data:
|
|
9136
|
+
data: S
|
|
9137
9137
|
});
|
|
9138
|
-
}, O = (
|
|
9139
|
-
e("addFiles",
|
|
9140
|
-
}, N = (
|
|
9141
|
-
e("removeFile",
|
|
9138
|
+
}, O = (S) => {
|
|
9139
|
+
e("addFiles", S);
|
|
9140
|
+
}, N = (S) => {
|
|
9141
|
+
e("removeFile", S);
|
|
9142
9142
|
};
|
|
9143
|
-
return (
|
|
9143
|
+
return (S, m) => {
|
|
9144
9144
|
var L, J, ae, le, ne, re;
|
|
9145
9145
|
return s.value ? (p(), g("div", _9, [
|
|
9146
|
-
|
|
9146
|
+
M(Ya, {
|
|
9147
9147
|
"can-go-back": !0,
|
|
9148
|
-
onGoBack: m[1] || (m[1] = (x) =>
|
|
9148
|
+
onGoBack: m[1] || (m[1] = (x) => S.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
|
|
9149
9149
|
}, {
|
|
9150
9150
|
primary: W(() => [
|
|
9151
|
-
|
|
9151
|
+
M(ye, {
|
|
9152
9152
|
title: f.value,
|
|
9153
9153
|
level: 2,
|
|
9154
9154
|
"is-editable": !0,
|
|
@@ -9162,7 +9162,7 @@ const _9 = {
|
|
|
9162
9162
|
v("div", y9, [
|
|
9163
9163
|
v("ol", b9, [
|
|
9164
9164
|
v("li", w9, [
|
|
9165
|
-
|
|
9165
|
+
M(Q(mt), {
|
|
9166
9166
|
"model-value": s.value.phases,
|
|
9167
9167
|
class: "ao-templates__list",
|
|
9168
9168
|
"item-key": "id",
|
|
@@ -9170,8 +9170,8 @@ const _9 = {
|
|
|
9170
9170
|
onChange: K
|
|
9171
9171
|
}, {
|
|
9172
9172
|
header: W(() => [
|
|
9173
|
-
|
|
9174
|
-
title:
|
|
9173
|
+
M(ye, {
|
|
9174
|
+
title: S.$t("template.phases.title"),
|
|
9175
9175
|
level: 3,
|
|
9176
9176
|
class: "ao-list__title"
|
|
9177
9177
|
}, null, 8, ["title"])
|
|
@@ -9179,14 +9179,14 @@ const _9 = {
|
|
|
9179
9179
|
item: W(({ element: x }) => {
|
|
9180
9180
|
var V;
|
|
9181
9181
|
return [
|
|
9182
|
-
|
|
9182
|
+
M(l5, {
|
|
9183
9183
|
id: x.id,
|
|
9184
9184
|
name: x.name,
|
|
9185
9185
|
milestones: x.milestones,
|
|
9186
9186
|
"is-active": ((V = i.value) == null ? void 0 : V.id) === x.id,
|
|
9187
9187
|
"is-draggable": !0,
|
|
9188
|
-
onClick: (X) =>
|
|
9189
|
-
params: { templateId:
|
|
9188
|
+
onClick: (X) => S.$router.push({
|
|
9189
|
+
params: { templateId: S.templateId, phaseId: x.id }
|
|
9190
9190
|
}),
|
|
9191
9191
|
"onUpdate:title": (X) => {
|
|
9192
9192
|
y(x.id, X);
|
|
@@ -9197,9 +9197,9 @@ const _9 = {
|
|
|
9197
9197
|
}),
|
|
9198
9198
|
footer: W(() => [
|
|
9199
9199
|
v("div", $9, [
|
|
9200
|
-
|
|
9200
|
+
M(Ct, {
|
|
9201
9201
|
"icon-name": "AddBoxOutlineRounded",
|
|
9202
|
-
label:
|
|
9202
|
+
label: S.$t("template.phases.add"),
|
|
9203
9203
|
onClick: d
|
|
9204
9204
|
}, null, 8, ["label"])
|
|
9205
9205
|
])
|
|
@@ -9210,7 +9210,7 @@ const _9 = {
|
|
|
9210
9210
|
v("li", k9, [
|
|
9211
9211
|
i.value ? (p(), P(d5, {
|
|
9212
9212
|
key: 0,
|
|
9213
|
-
"template-id":
|
|
9213
|
+
"template-id": S.templateId,
|
|
9214
9214
|
phase: i.value,
|
|
9215
9215
|
"milestone-id": (L = r.value) == null ? void 0 : L.id,
|
|
9216
9216
|
onAddMilestone: h,
|
|
@@ -9222,7 +9222,7 @@ const _9 = {
|
|
|
9222
9222
|
v("li", S9, [
|
|
9223
9223
|
i.value && r.value ? (p(), P(v5, {
|
|
9224
9224
|
key: 0,
|
|
9225
|
-
"template-id":
|
|
9225
|
+
"template-id": S.templateId,
|
|
9226
9226
|
"phase-id": (J = i.value) == null ? void 0 : J.id,
|
|
9227
9227
|
milestone: r.value,
|
|
9228
9228
|
"activity-id": (ae = u.value) == null ? void 0 : ae.id,
|
|
@@ -9237,19 +9237,19 @@ const _9 = {
|
|
|
9237
9237
|
u.value ? (p(), P(Zn, {
|
|
9238
9238
|
key: 0,
|
|
9239
9239
|
activity: u.value,
|
|
9240
|
-
"activity-types":
|
|
9240
|
+
"activity-types": S.activityTypes,
|
|
9241
9241
|
breadcrumbs: `${s.value.name} / ${(le = i.value) == null ? void 0 : le.name} / ${(ne = r.value) == null ? void 0 : ne.name}`,
|
|
9242
9242
|
"milestone-id": (re = r.value) == null ? void 0 : re.id,
|
|
9243
9243
|
"template-activities": c.value,
|
|
9244
9244
|
"template-milestones": l.value,
|
|
9245
9245
|
"is-template": !0,
|
|
9246
9246
|
"is-editable": !0,
|
|
9247
|
-
users:
|
|
9247
|
+
users: S.users,
|
|
9248
9248
|
"onUpdate:activity": m[2] || (m[2] = (x) => {
|
|
9249
9249
|
u.value && H(x);
|
|
9250
9250
|
}),
|
|
9251
9251
|
"attachment-enabled": !1,
|
|
9252
|
-
onClose:
|
|
9252
|
+
onClose: S.$router.back,
|
|
9253
9253
|
onAddSubtask: R,
|
|
9254
9254
|
onUpdateSubtask: Z,
|
|
9255
9255
|
onDeleteSubtask: ie,
|
|
@@ -9257,7 +9257,7 @@ const _9 = {
|
|
|
9257
9257
|
onRemoveFile: N
|
|
9258
9258
|
}, {
|
|
9259
9259
|
default: W((x) => [
|
|
9260
|
-
te(
|
|
9260
|
+
te(S.$slots, "activityDetailsBody", pa(fa(x)))
|
|
9261
9261
|
]),
|
|
9262
9262
|
_: 3
|
|
9263
9263
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
@@ -9340,10 +9340,10 @@ const qn = /* @__PURE__ */ q({
|
|
|
9340
9340
|
const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-project-phase__footer" }, L9 = {
|
|
9341
9341
|
key: 0,
|
|
9342
9342
|
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9343
|
-
}, H9 = { class: "ao-card-project-phase__subitem" }, D9 = { class: "ao-card-project-phase__subitem" },
|
|
9343
|
+
}, H9 = { class: "ao-card-project-phase__subitem" }, D9 = { class: "ao-card-project-phase__subitem" }, P9 = {
|
|
9344
9344
|
key: 0,
|
|
9345
9345
|
class: "ao-card-project-phase__secondary"
|
|
9346
|
-
},
|
|
9346
|
+
}, V9 = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, B9 = /* @__PURE__ */ q({
|
|
9347
9347
|
__name: "AoCardProjectItemPhase",
|
|
9348
9348
|
props: {
|
|
9349
9349
|
id: {},
|
|
@@ -9382,7 +9382,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9382
9382
|
"is-clickable": c.isEditable
|
|
9383
9383
|
}, Ua({
|
|
9384
9384
|
default: W(() => [
|
|
9385
|
-
|
|
9385
|
+
M(ye, {
|
|
9386
9386
|
id: c.id,
|
|
9387
9387
|
class: "ao-card-project-phase__title",
|
|
9388
9388
|
title: s.value || "",
|
|
@@ -9395,17 +9395,17 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9395
9395
|
v("div", I9, [
|
|
9396
9396
|
o.value ? (p(), g("div", L9, [
|
|
9397
9397
|
v("div", H9, [
|
|
9398
|
-
|
|
9398
|
+
M(pe, {
|
|
9399
9399
|
name: "MountainFlagOutlineRounded",
|
|
9400
9400
|
size: "sm"
|
|
9401
9401
|
}),
|
|
9402
9402
|
v("span", D9, G(i.value) + " / " + G(o.value), 1)
|
|
9403
9403
|
]),
|
|
9404
|
-
|
|
9404
|
+
M(qn, {
|
|
9405
9405
|
percentages: r.value,
|
|
9406
9406
|
class: "ao-card-project-phase__progress"
|
|
9407
9407
|
}, null, 8, ["percentages"]),
|
|
9408
|
-
c.$slots.secondary ? (p(), g("div",
|
|
9408
|
+
c.$slots.secondary ? (p(), g("div", P9, [
|
|
9409
9409
|
te(c.$slots, "secondary")
|
|
9410
9410
|
])) : T("", !0)
|
|
9411
9411
|
])) : T("", !0),
|
|
@@ -9425,7 +9425,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9425
9425
|
{ lazy: !0 }
|
|
9426
9426
|
]
|
|
9427
9427
|
]) : T("", !0),
|
|
9428
|
-
v("span",
|
|
9428
|
+
v("span", V9, G(Q(Tn)(c.deadline)), 1)
|
|
9429
9429
|
], 2)
|
|
9430
9430
|
])
|
|
9431
9431
|
]),
|
|
@@ -9435,7 +9435,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
|
|
|
9435
9435
|
name: "header",
|
|
9436
9436
|
fn: W(() => [
|
|
9437
9437
|
v("div", E9, [
|
|
9438
|
-
|
|
9438
|
+
M(ce, {
|
|
9439
9439
|
class: "ao-card-project-phase__archive",
|
|
9440
9440
|
color: "primary",
|
|
9441
9441
|
variant: "ghost",
|
|
@@ -9507,7 +9507,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9507
9507
|
}, {
|
|
9508
9508
|
default: W(() => [
|
|
9509
9509
|
v("div", R9, [
|
|
9510
|
-
|
|
9510
|
+
M(ye, {
|
|
9511
9511
|
id: l.id,
|
|
9512
9512
|
title: n.value || "",
|
|
9513
9513
|
level: 5,
|
|
@@ -9516,7 +9516,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9516
9516
|
"onUpdate:title": r
|
|
9517
9517
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9518
9518
|
!l.readonly && l.isEditable ? (p(), g("div", N9, [
|
|
9519
|
-
|
|
9519
|
+
M(ce, {
|
|
9520
9520
|
color: l.isSelected ? void 0 : "primary",
|
|
9521
9521
|
variant: "ghost",
|
|
9522
9522
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9532,13 +9532,13 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9532
9532
|
v("div", F9, [
|
|
9533
9533
|
s.value ? (p(), g(ve, { key: 0 }, [
|
|
9534
9534
|
v("div", U9, [
|
|
9535
|
-
|
|
9535
|
+
M(pe, {
|
|
9536
9536
|
name: "SelectCheckBox",
|
|
9537
9537
|
size: "sm"
|
|
9538
9538
|
}),
|
|
9539
9539
|
v("span", Z9, G(o.value) + " / " + G(s.value), 1)
|
|
9540
9540
|
]),
|
|
9541
|
-
|
|
9541
|
+
M(qn, {
|
|
9542
9542
|
percentages: i.value,
|
|
9543
9543
|
class: "ao-card-project-milestone__progress"
|
|
9544
9544
|
}, null, 8, ["percentages"])
|
|
@@ -9563,7 +9563,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
|
|
|
9563
9563
|
v("span", x9, G(Q(Tn)(l.deadline)), 1)
|
|
9564
9564
|
])) : T("", !0),
|
|
9565
9565
|
l.assignee ? (p(), g("div", Y9, [
|
|
9566
|
-
|
|
9566
|
+
M(Je, {
|
|
9567
9567
|
"user-name": Q(zs)(l.assignee),
|
|
9568
9568
|
"avatar-url": l.assignee.avatarUrl,
|
|
9569
9569
|
color: l.isSelected ? "black" : "primary",
|
|
@@ -9637,13 +9637,13 @@ const G9 = {
|
|
|
9637
9637
|
])
|
|
9638
9638
|
}, [
|
|
9639
9639
|
d.isEditable ? (p(), g("div", G9, [
|
|
9640
|
-
|
|
9640
|
+
M(pe, {
|
|
9641
9641
|
name: "DragIndicator",
|
|
9642
9642
|
class: "ao-project-phase__drag-handle"
|
|
9643
9643
|
})
|
|
9644
9644
|
])) : T("", !0),
|
|
9645
9645
|
v("div", X9, [
|
|
9646
|
-
|
|
9646
|
+
M(B9, {
|
|
9647
9647
|
id: d.phase.id,
|
|
9648
9648
|
milestones: i.value,
|
|
9649
9649
|
name: d.phase.name,
|
|
@@ -9656,7 +9656,7 @@ const G9 = {
|
|
|
9656
9656
|
]),
|
|
9657
9657
|
v("div", Q9, [
|
|
9658
9658
|
v("div", J9, [
|
|
9659
|
-
|
|
9659
|
+
M(Q(mt), He({
|
|
9660
9660
|
class: "ao-project-phase__milestones-list",
|
|
9661
9661
|
list: i.value,
|
|
9662
9662
|
disabled: d.readonly || !d.isEditable,
|
|
@@ -9666,7 +9666,7 @@ const G9 = {
|
|
|
9666
9666
|
item: W(({ element: y }) => {
|
|
9667
9667
|
var _;
|
|
9668
9668
|
return [
|
|
9669
|
-
|
|
9669
|
+
M(K9, {
|
|
9670
9670
|
id: y.id,
|
|
9671
9671
|
name: y.name,
|
|
9672
9672
|
activities: y.activities,
|
|
@@ -9745,7 +9745,7 @@ const av = { class: "ao-project__phases" }, nv = {
|
|
|
9745
9745
|
e("addPhase", u);
|
|
9746
9746
|
};
|
|
9747
9747
|
return (u, f) => (p(), g("div", av, [
|
|
9748
|
-
|
|
9748
|
+
M(Q(mt), {
|
|
9749
9749
|
class: "ao-project-phase__phases-list",
|
|
9750
9750
|
"model-value": u.phases,
|
|
9751
9751
|
"item-key": "id",
|
|
@@ -9753,7 +9753,7 @@ const av = { class: "ao-project__phases" }, nv = {
|
|
|
9753
9753
|
onChange: r
|
|
9754
9754
|
}, {
|
|
9755
9755
|
item: W(({ element: d }) => [
|
|
9756
|
-
|
|
9756
|
+
M(tv, {
|
|
9757
9757
|
phase: d,
|
|
9758
9758
|
"is-editable": !u.readonly && u.isEditable,
|
|
9759
9759
|
"closed-status": u.closedStatus,
|
|
@@ -9771,7 +9771,7 @@ const av = { class: "ao-project__phases" }, nv = {
|
|
|
9771
9771
|
u.isEditable ? (p(), g("div", nv, [
|
|
9772
9772
|
sv,
|
|
9773
9773
|
v("div", iv, [
|
|
9774
|
-
|
|
9774
|
+
M(Ct, {
|
|
9775
9775
|
label: u.$t("project.phases.add"),
|
|
9776
9776
|
"icon-name": "Add",
|
|
9777
9777
|
class: "ao-project-phase__add-phase",
|
|
@@ -9801,7 +9801,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9801
9801
|
};
|
|
9802
9802
|
return (r, l) => (p(), P(In, { size: "sm" }, {
|
|
9803
9803
|
header: W(() => [
|
|
9804
|
-
|
|
9804
|
+
M(ye, {
|
|
9805
9805
|
title: r.$t("project.template.add.title"),
|
|
9806
9806
|
level: 3
|
|
9807
9807
|
}, null, 8, ["title"])
|
|
@@ -9813,7 +9813,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9813
9813
|
}, [
|
|
9814
9814
|
v("div", uv, [
|
|
9815
9815
|
v("div", cv, [
|
|
9816
|
-
|
|
9816
|
+
M($e, {
|
|
9817
9817
|
value: s.value,
|
|
9818
9818
|
options: n.value,
|
|
9819
9819
|
detached: !0,
|
|
@@ -9822,7 +9822,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
|
|
|
9822
9822
|
])
|
|
9823
9823
|
]),
|
|
9824
9824
|
v("footer", dv, [
|
|
9825
|
-
|
|
9825
|
+
M(ce, {
|
|
9826
9826
|
label: r.$t("project.template.add.label"),
|
|
9827
9827
|
type: "submit",
|
|
9828
9828
|
color: "primary",
|
|
@@ -9955,9 +9955,9 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9955
9955
|
return p(), g(ve, null, [
|
|
9956
9956
|
v("div", He({ class: "ao-project-overview" }, I.$attrs), [
|
|
9957
9957
|
v("div", mv, [
|
|
9958
|
-
|
|
9958
|
+
M(Ya, null, {
|
|
9959
9959
|
primary: W(() => [
|
|
9960
|
-
|
|
9960
|
+
M(ci, {
|
|
9961
9961
|
"is-left": !0,
|
|
9962
9962
|
"right-label": I.$t("project.switch.feed"),
|
|
9963
9963
|
"left-label": I.$t("project.switch.overview"),
|
|
@@ -9965,7 +9965,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9965
9965
|
Z || I.$router.push({ name: Q(Ye).feed });
|
|
9966
9966
|
})
|
|
9967
9967
|
}, null, 8, ["right-label", "left-label"]),
|
|
9968
|
-
|
|
9968
|
+
M(ce, {
|
|
9969
9969
|
class: "ao-feed__show-archived",
|
|
9970
9970
|
size: "sm",
|
|
9971
9971
|
"icon-name": I.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -9990,7 +9990,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
9990
9990
|
_: 1
|
|
9991
9991
|
}),
|
|
9992
9992
|
v("div", Cv, [
|
|
9993
|
-
|
|
9993
|
+
M(rv, {
|
|
9994
9994
|
phases: I.phases,
|
|
9995
9995
|
"closed-status": I.closedStatus,
|
|
9996
9996
|
"is-editable": I.isEditable === !0,
|
|
@@ -10004,7 +10004,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10004
10004
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
10005
10005
|
])
|
|
10006
10006
|
]),
|
|
10007
|
-
|
|
10007
|
+
M(R, {
|
|
10008
10008
|
class: "ao-project__sidebar",
|
|
10009
10009
|
phases: I.phases,
|
|
10010
10010
|
"project-id": I.project.id,
|
|
@@ -10020,7 +10020,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
|
|
|
10020
10020
|
onUnarchiveActivity: b
|
|
10021
10021
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
10022
10022
|
(p(), P(Nt, { to: "body" }, [
|
|
10023
|
-
|
|
10023
|
+
M(R, {
|
|
10024
10024
|
name: "modal",
|
|
10025
10025
|
activities: A.value,
|
|
10026
10026
|
"is-task-checkable": I.isTaskCheckable,
|
|
@@ -10093,7 +10093,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10093
10093
|
}, Lv = { class: "ao-card-feed__subitem" }, Hv = {
|
|
10094
10094
|
key: 1,
|
|
10095
10095
|
class: "ao-card-feed__subitem"
|
|
10096
|
-
}, Dv = { class: "ao-card-feed__subitem" },
|
|
10096
|
+
}, Dv = { class: "ao-card-feed__subitem" }, Pv = { class: "ao-card-feed__footer-row" }, Vv = {
|
|
10097
10097
|
key: 0,
|
|
10098
10098
|
class: "ao-card-feed__progress-wrapper"
|
|
10099
10099
|
}, Bv = { class: "ao-card-feed__subitem" }, Rv = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ q({
|
|
@@ -10174,7 +10174,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10174
10174
|
v("div", wv, [
|
|
10175
10175
|
o.value ? (p(), g("span", $v, G(o.value), 1)) : T("", !0),
|
|
10176
10176
|
v("div", kv, [
|
|
10177
|
-
|
|
10177
|
+
M(ye, {
|
|
10178
10178
|
id: d.id,
|
|
10179
10179
|
title: d.name,
|
|
10180
10180
|
level: 5,
|
|
@@ -10193,7 +10193,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10193
10193
|
key: b.id
|
|
10194
10194
|
}, [
|
|
10195
10195
|
b ? (p(), g("li", Ov, [
|
|
10196
|
-
|
|
10196
|
+
M(Je, {
|
|
10197
10197
|
"user-name": Q(zs)(b),
|
|
10198
10198
|
"avatar-url": b.avatarUrl,
|
|
10199
10199
|
"is-closable": !0,
|
|
@@ -10204,14 +10204,14 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10204
10204
|
]),
|
|
10205
10205
|
d.comments || d.attachments ? (p(), g("ul", Ev, [
|
|
10206
10206
|
d.comments ? (p(), g("li", Iv, [
|
|
10207
|
-
|
|
10207
|
+
M(pe, {
|
|
10208
10208
|
name: "ChatOutline",
|
|
10209
10209
|
size: "sm"
|
|
10210
10210
|
}),
|
|
10211
10211
|
v("span", Lv, G(d.comments), 1)
|
|
10212
10212
|
])) : T("", !0),
|
|
10213
10213
|
d.attachments ? (p(), g("li", Hv, [
|
|
10214
|
-
|
|
10214
|
+
M(pe, {
|
|
10215
10215
|
name: "AttachFileRounded",
|
|
10216
10216
|
size: "sm"
|
|
10217
10217
|
}),
|
|
@@ -10219,16 +10219,16 @@ const _v = { class: "ao-card-feed__header" }, yv = {
|
|
|
10219
10219
|
])) : T("", !0)
|
|
10220
10220
|
])) : T("", !0)
|
|
10221
10221
|
]),
|
|
10222
|
-
v("div",
|
|
10223
|
-
d.tasks && d.tasks.length ? (p(), g("div",
|
|
10222
|
+
v("div", Pv, [
|
|
10223
|
+
d.tasks && d.tasks.length ? (p(), g("div", Vv, [
|
|
10224
10224
|
v("div", Bv, [
|
|
10225
|
-
|
|
10225
|
+
M(pe, {
|
|
10226
10226
|
name: "SelectCheckBox",
|
|
10227
10227
|
size: "sm"
|
|
10228
10228
|
}),
|
|
10229
10229
|
v("span", Rv, G(u.value) + " / " + G(c.value), 1)
|
|
10230
10230
|
]),
|
|
10231
|
-
|
|
10231
|
+
M(qn, {
|
|
10232
10232
|
percentages: f.value,
|
|
10233
10233
|
class: "ao-card-feed__progress"
|
|
10234
10234
|
}, null, 8, ["percentages"])
|
|
@@ -10356,14 +10356,14 @@ function Zv(t, e, a, n, s, o) {
|
|
|
10356
10356
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectSaturation && t.selectSaturation(...i), ["prevent", "stop"]))
|
|
10357
10357
|
},
|
|
10358
10358
|
[
|
|
10359
|
-
|
|
10359
|
+
M(
|
|
10360
10360
|
"canvas",
|
|
10361
10361
|
Uv,
|
|
10362
10362
|
null,
|
|
10363
10363
|
512
|
|
10364
10364
|
/* NEED_PATCH */
|
|
10365
10365
|
),
|
|
10366
|
-
|
|
10366
|
+
M(
|
|
10367
10367
|
"div",
|
|
10368
10368
|
{
|
|
10369
10369
|
style: t.slideSaturationStyle,
|
|
@@ -10442,14 +10442,14 @@ function qv(t, e, a, n, s, o) {
|
|
|
10442
10442
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectHue && t.selectHue(...i), ["prevent", "stop"]))
|
|
10443
10443
|
},
|
|
10444
10444
|
[
|
|
10445
|
-
|
|
10445
|
+
M(
|
|
10446
10446
|
"canvas",
|
|
10447
10447
|
Wv,
|
|
10448
10448
|
null,
|
|
10449
10449
|
512
|
|
10450
10450
|
/* NEED_PATCH */
|
|
10451
10451
|
),
|
|
10452
|
-
|
|
10452
|
+
M(
|
|
10453
10453
|
"div",
|
|
10454
10454
|
{
|
|
10455
10455
|
style: t.slideHueStyle,
|
|
@@ -10537,14 +10537,14 @@ function xv(t, e, a, n, s, o) {
|
|
|
10537
10537
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectAlpha && t.selectAlpha(...i), ["prevent", "stop"]))
|
|
10538
10538
|
},
|
|
10539
10539
|
[
|
|
10540
|
-
|
|
10540
|
+
M(
|
|
10541
10541
|
"canvas",
|
|
10542
10542
|
zv,
|
|
10543
10543
|
null,
|
|
10544
10544
|
512
|
|
10545
10545
|
/* NEED_PATCH */
|
|
10546
10546
|
),
|
|
10547
|
-
|
|
10547
|
+
M(
|
|
10548
10548
|
"div",
|
|
10549
10549
|
{
|
|
10550
10550
|
style: t.slideAlphaStyle,
|
|
@@ -10662,7 +10662,7 @@ var Xn = q({
|
|
|
10662
10662
|
}
|
|
10663
10663
|
}
|
|
10664
10664
|
});
|
|
10665
|
-
const Kv = /* @__PURE__ */
|
|
10665
|
+
const Kv = /* @__PURE__ */ M(
|
|
10666
10666
|
"path",
|
|
10667
10667
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10668
10668
|
null,
|
|
@@ -10674,25 +10674,25 @@ const Kv = /* @__PURE__ */ S(
|
|
|
10674
10674
|
viewBox: "-16 -16 68 68",
|
|
10675
10675
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10676
10676
|
stroke: "#9099a4"
|
|
10677
|
-
}, Xv = /* @__PURE__ */
|
|
10677
|
+
}, Xv = /* @__PURE__ */ M(
|
|
10678
10678
|
"g",
|
|
10679
10679
|
{
|
|
10680
10680
|
fill: "none",
|
|
10681
10681
|
"fill-rule": "evenodd"
|
|
10682
10682
|
},
|
|
10683
10683
|
[
|
|
10684
|
-
/* @__PURE__ */
|
|
10684
|
+
/* @__PURE__ */ M("g", {
|
|
10685
10685
|
transform: "translate(1 1)",
|
|
10686
10686
|
"stroke-width": "4"
|
|
10687
10687
|
}, [
|
|
10688
|
-
/* @__PURE__ */
|
|
10688
|
+
/* @__PURE__ */ M("circle", {
|
|
10689
10689
|
"stroke-opacity": ".5",
|
|
10690
10690
|
cx: "18",
|
|
10691
10691
|
cy: "18",
|
|
10692
10692
|
r: "18"
|
|
10693
10693
|
}),
|
|
10694
|
-
/* @__PURE__ */
|
|
10695
|
-
/* @__PURE__ */
|
|
10694
|
+
/* @__PURE__ */ M("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
|
|
10695
|
+
/* @__PURE__ */ M("animateTransform", {
|
|
10696
10696
|
attributeName: "transform",
|
|
10697
10697
|
type: "rotate",
|
|
10698
10698
|
from: "0 18 18",
|
|
@@ -10764,14 +10764,14 @@ var Qn = q({
|
|
|
10764
10764
|
const Jv = { class: "color-type" }, e4 = { class: "name" };
|
|
10765
10765
|
function t4(t, e, a, n, s, o) {
|
|
10766
10766
|
return p(), P("div", Jv, [
|
|
10767
|
-
|
|
10767
|
+
M(
|
|
10768
10768
|
"span",
|
|
10769
10769
|
e4,
|
|
10770
10770
|
G(t.name),
|
|
10771
10771
|
1
|
|
10772
10772
|
/* TEXT */
|
|
10773
10773
|
),
|
|
10774
|
-
Ke(
|
|
10774
|
+
Ke(M(
|
|
10775
10775
|
"input",
|
|
10776
10776
|
{
|
|
10777
10777
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
|
|
@@ -10835,7 +10835,7 @@ const a4 = { class: "colors" }, n4 = {
|
|
|
10835
10835
|
};
|
|
10836
10836
|
function s4(t, e, a, n, s, o) {
|
|
10837
10837
|
return p(), P("div", null, [
|
|
10838
|
-
|
|
10838
|
+
M("ul", a4, [
|
|
10839
10839
|
(p(!0), P(
|
|
10840
10840
|
ve,
|
|
10841
10841
|
null,
|
|
@@ -10844,7 +10844,7 @@ function s4(t, e, a, n, s, o) {
|
|
|
10844
10844
|
class: "item",
|
|
10845
10845
|
onClick: (r) => t.selectColor(i)
|
|
10846
10846
|
}, [
|
|
10847
|
-
|
|
10847
|
+
M(
|
|
10848
10848
|
"div",
|
|
10849
10849
|
{
|
|
10850
10850
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10854,7 +10854,7 @@ function s4(t, e, a, n, s, o) {
|
|
|
10854
10854
|
4
|
|
10855
10855
|
/* STYLE */
|
|
10856
10856
|
),
|
|
10857
|
-
|
|
10857
|
+
M(
|
|
10858
10858
|
"div",
|
|
10859
10859
|
{
|
|
10860
10860
|
style: { background: i },
|
|
@@ -10878,7 +10878,7 @@ function s4(t, e, a, n, s, o) {
|
|
|
10878
10878
|
class: "item",
|
|
10879
10879
|
onClick: (r) => t.selectColor(i)
|
|
10880
10880
|
}, [
|
|
10881
|
-
|
|
10881
|
+
M(
|
|
10882
10882
|
"div",
|
|
10883
10883
|
{
|
|
10884
10884
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10888,7 +10888,7 @@ function s4(t, e, a, n, s, o) {
|
|
|
10888
10888
|
4
|
|
10889
10889
|
/* STYLE */
|
|
10890
10890
|
),
|
|
10891
|
-
|
|
10891
|
+
M(
|
|
10892
10892
|
"div",
|
|
10893
10893
|
{
|
|
10894
10894
|
style: { background: i },
|
|
@@ -11090,22 +11090,22 @@ function o4(t, e, a, n, s, o) {
|
|
|
11090
11090
|
style: { width: t.totalWidth + "px" }
|
|
11091
11091
|
},
|
|
11092
11092
|
[
|
|
11093
|
-
|
|
11094
|
-
|
|
11093
|
+
M("div", i4, [
|
|
11094
|
+
M(i, {
|
|
11095
11095
|
ref: "saturation",
|
|
11096
11096
|
color: t.rgbString,
|
|
11097
11097
|
hsv: t.hsv,
|
|
11098
11098
|
size: t.hueHeight,
|
|
11099
11099
|
onSelectSaturation: t.selectSaturation
|
|
11100
11100
|
}, null, 8, ["color", "hsv", "size", "onSelectSaturation"]),
|
|
11101
|
-
|
|
11101
|
+
M(r, {
|
|
11102
11102
|
ref: "hue",
|
|
11103
11103
|
hsv: t.hsv,
|
|
11104
11104
|
width: t.hueWidth,
|
|
11105
11105
|
height: t.hueHeight,
|
|
11106
11106
|
onSelectHue: t.selectHue
|
|
11107
11107
|
}, null, 8, ["hsv", "width", "height", "onSelectHue"]),
|
|
11108
|
-
|
|
11108
|
+
M(l, {
|
|
11109
11109
|
ref: "alpha",
|
|
11110
11110
|
color: t.rgbString,
|
|
11111
11111
|
rgba: t.rgba,
|
|
@@ -11114,14 +11114,14 @@ function o4(t, e, a, n, s, o) {
|
|
|
11114
11114
|
onSelectAlpha: t.selectAlpha
|
|
11115
11115
|
}, null, 8, ["color", "rgba", "width", "height", "onSelectAlpha"])
|
|
11116
11116
|
]),
|
|
11117
|
-
|
|
11117
|
+
M(
|
|
11118
11118
|
"div",
|
|
11119
11119
|
{
|
|
11120
11120
|
style: { height: t.previewHeight + "px" },
|
|
11121
11121
|
class: "color-show"
|
|
11122
11122
|
},
|
|
11123
11123
|
[
|
|
11124
|
-
|
|
11124
|
+
M(c, {
|
|
11125
11125
|
color: t.rgbaString,
|
|
11126
11126
|
width: t.previewWidth,
|
|
11127
11127
|
height: t.previewHeight
|
|
@@ -11137,21 +11137,21 @@ function o4(t, e, a, n, s, o) {
|
|
|
11137
11137
|
4
|
|
11138
11138
|
/* STYLE */
|
|
11139
11139
|
),
|
|
11140
|
-
|
|
11140
|
+
M(f, {
|
|
11141
11141
|
name: "HEX",
|
|
11142
11142
|
color: t.modelHex,
|
|
11143
11143
|
onInputColor: t.inputHex,
|
|
11144
11144
|
onInputFocus: t.handleFocus,
|
|
11145
11145
|
onInputBlur: t.handleBlur
|
|
11146
11146
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11147
|
-
|
|
11147
|
+
M(f, {
|
|
11148
11148
|
name: "RGBA",
|
|
11149
11149
|
color: t.modelRgba,
|
|
11150
11150
|
onInputColor: t.inputRgba,
|
|
11151
11151
|
onInputFocus: t.handleFocus,
|
|
11152
11152
|
onInputBlur: t.handleBlur
|
|
11153
11153
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11154
|
-
|
|
11154
|
+
M(d, {
|
|
11155
11155
|
color: t.rgbaString,
|
|
11156
11156
|
"colors-default": t.colorsDefault,
|
|
11157
11157
|
"colors-history-key": t.colorsHistoryKey,
|
|
@@ -11175,34 +11175,48 @@ const r4 = {
|
|
|
11175
11175
|
},
|
|
11176
11176
|
data() {
|
|
11177
11177
|
return {
|
|
11178
|
-
color: "#59c7f9"
|
|
11178
|
+
color: "#59c7f9",
|
|
11179
|
+
showPicker: !1
|
|
11179
11180
|
};
|
|
11180
11181
|
},
|
|
11181
11182
|
methods: {
|
|
11183
|
+
togglePicker() {
|
|
11184
|
+
this.showPicker = !this.showPicker;
|
|
11185
|
+
},
|
|
11182
11186
|
changeColor(t) {
|
|
11183
11187
|
const { r: e, g: a, b: n, a: s } = t.rgba;
|
|
11184
11188
|
this.color = `rgba(${e}, ${a}, ${n}, ${s})`;
|
|
11185
|
-
},
|
|
11186
|
-
openSucker(t) {
|
|
11187
11189
|
}
|
|
11188
11190
|
}
|
|
11191
|
+
}, l4 = {
|
|
11192
|
+
class: "color-picker-wrapper",
|
|
11193
|
+
ref: "wrapper"
|
|
11189
11194
|
};
|
|
11190
|
-
function
|
|
11195
|
+
function u4(t, e, a, n, s, o) {
|
|
11191
11196
|
const i = xe("ColorPicker");
|
|
11192
|
-
return p(), g("div",
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11197
|
+
return p(), g("div", l4, [
|
|
11198
|
+
v("button", {
|
|
11199
|
+
class: "color-button",
|
|
11200
|
+
onClick: e[0] || (e[0] = (...r) => o.togglePicker && o.togglePicker(...r))
|
|
11201
|
+
}, [
|
|
11202
|
+
v("span", {
|
|
11203
|
+
style: wn({ backgroundColor: s.color }),
|
|
11204
|
+
class: "color-preview"
|
|
11205
|
+
}, null, 4)
|
|
11206
|
+
]),
|
|
11207
|
+
s.showPicker ? (p(), P(i, {
|
|
11208
|
+
key: 0,
|
|
11209
|
+
class: "color-picker",
|
|
11196
11210
|
theme: "light",
|
|
11197
11211
|
color: s.color,
|
|
11198
11212
|
onChangeColor: o.changeColor
|
|
11199
|
-
}, null, 8, ["color", "onChangeColor"])
|
|
11200
|
-
],
|
|
11213
|
+
}, null, 8, ["color", "onChangeColor"])) : T("", !0)
|
|
11214
|
+
], 512);
|
|
11201
11215
|
}
|
|
11202
|
-
const
|
|
11216
|
+
const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-milestone" }, p4 = { class: "ao-project-milestone__header" }, f4 = { class: "ao-project-milestone__header_line" }, v4 = { class: "ao-project-milestone__header_line" }, h4 = { class: "ao-project-milestone__title" }, m4 = {
|
|
11203
11217
|
key: 0,
|
|
11204
11218
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11205
|
-
},
|
|
11219
|
+
}, C4 = { class: "ao-field__row ao-milestone__field-row" }, g4 = { class: "ao-field ao-field--inline" }, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-milestone__field-multiselect" }, b4 = { class: "ao-project-milestone__body" }, w4 = {
|
|
11206
11220
|
key: 0,
|
|
11207
11221
|
class: "ao-project-milestone__footer"
|
|
11208
11222
|
}, As = /* @__PURE__ */ q({
|
|
@@ -11298,10 +11312,10 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11298
11312
|
});
|
|
11299
11313
|
return (h, A) => {
|
|
11300
11314
|
var w;
|
|
11301
|
-
return p(), g("div",
|
|
11302
|
-
v("header",
|
|
11303
|
-
v("div",
|
|
11304
|
-
|
|
11315
|
+
return p(), g("div", d4, [
|
|
11316
|
+
v("header", p4, [
|
|
11317
|
+
v("div", f4, [
|
|
11318
|
+
M(ce, {
|
|
11305
11319
|
"icon-name": "CloseRounded",
|
|
11306
11320
|
variant: "ghost",
|
|
11307
11321
|
size: "sm",
|
|
@@ -11309,13 +11323,13 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11309
11323
|
onClick: l
|
|
11310
11324
|
})
|
|
11311
11325
|
]),
|
|
11312
|
-
v("div",
|
|
11313
|
-
v("div",
|
|
11314
|
-
|
|
11326
|
+
v("div", v4, [
|
|
11327
|
+
v("div", h4, [
|
|
11328
|
+
M(ye, {
|
|
11315
11329
|
title: ((w = i.value) == null ? void 0 : w.name) || h.milestoneId,
|
|
11316
11330
|
level: 5
|
|
11317
11331
|
}, null, 8, ["title"]),
|
|
11318
|
-
|
|
11332
|
+
M(yn, {
|
|
11319
11333
|
modelValue: _.value,
|
|
11320
11334
|
"onUpdate:modelValue": A[0] || (A[0] = (E) => _.value = E),
|
|
11321
11335
|
modelModifiers: { lazy: !0 },
|
|
@@ -11329,9 +11343,9 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11329
11343
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11330
11344
|
])
|
|
11331
11345
|
]),
|
|
11332
|
-
i.value ? (p(), g("div",
|
|
11333
|
-
v("div",
|
|
11334
|
-
v("label",
|
|
11346
|
+
i.value ? (p(), g("div", m4, [
|
|
11347
|
+
v("div", C4, [
|
|
11348
|
+
v("label", g4, [
|
|
11335
11349
|
Ke(v("input", {
|
|
11336
11350
|
"onUpdate:modelValue": A[1] || (A[1] = (E) => d.value = E),
|
|
11337
11351
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11346,9 +11360,9 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11346
11360
|
])
|
|
11347
11361
|
])
|
|
11348
11362
|
]),
|
|
11349
|
-
v("div",
|
|
11350
|
-
v("label",
|
|
11351
|
-
|
|
11363
|
+
v("div", _4, [
|
|
11364
|
+
v("label", y4, [
|
|
11365
|
+
M($e, {
|
|
11352
11366
|
modelValue: y.value,
|
|
11353
11367
|
"onUpdate:modelValue": A[2] || (A[2] = (E) => y.value = E),
|
|
11354
11368
|
options: b.value,
|
|
@@ -11365,7 +11379,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11365
11379
|
option: E,
|
|
11366
11380
|
handleTagRemove: D
|
|
11367
11381
|
}) => [
|
|
11368
|
-
|
|
11382
|
+
M(Je, {
|
|
11369
11383
|
"user-name": E.label,
|
|
11370
11384
|
"avatar-url": E.avatar,
|
|
11371
11385
|
"is-closable": !0,
|
|
@@ -11376,11 +11390,11 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11376
11390
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11377
11391
|
])
|
|
11378
11392
|
]),
|
|
11379
|
-
|
|
11393
|
+
M(c4)
|
|
11380
11394
|
])) : T("", !0)
|
|
11381
11395
|
]),
|
|
11382
|
-
v("div",
|
|
11383
|
-
|
|
11396
|
+
v("div", b4, [
|
|
11397
|
+
M(Q(mt), He({
|
|
11384
11398
|
class: "ao-project-milestone__activities",
|
|
11385
11399
|
list: r.value,
|
|
11386
11400
|
disabled: !h.isEditable,
|
|
@@ -11390,7 +11404,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11390
11404
|
item: W(({ element: E }) => {
|
|
11391
11405
|
var D, H, U, F;
|
|
11392
11406
|
return [
|
|
11393
|
-
|
|
11407
|
+
M(di, {
|
|
11394
11408
|
id: E.id,
|
|
11395
11409
|
name: E.name || E.id,
|
|
11396
11410
|
"phase-name": (D = s.value) == null ? void 0 : D.name,
|
|
@@ -11448,8 +11462,8 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11448
11462
|
}),
|
|
11449
11463
|
_: 1
|
|
11450
11464
|
}, 16, ["list", "disabled"]),
|
|
11451
|
-
h.isEditable ? (p(), g("div",
|
|
11452
|
-
|
|
11465
|
+
h.isEditable ? (p(), g("div", w4, [
|
|
11466
|
+
M(Ct, {
|
|
11453
11467
|
"icon-name": "Add",
|
|
11454
11468
|
label: h.$t("project.activity.add"),
|
|
11455
11469
|
onClick: c
|
|
@@ -11460,7 +11474,7 @@ const u4 = /* @__PURE__ */ j(r4, [["render", l4]]), c4 = { class: "ao-project-mi
|
|
|
11460
11474
|
};
|
|
11461
11475
|
}
|
|
11462
11476
|
});
|
|
11463
|
-
const
|
|
11477
|
+
const $4 = /* @__PURE__ */ q({
|
|
11464
11478
|
__name: "AoProjectOverviewActivityDetails",
|
|
11465
11479
|
props: {
|
|
11466
11480
|
phaseId: {},
|
|
@@ -11547,15 +11561,15 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11547
11561
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11548
11562
|
};
|
|
11549
11563
|
}
|
|
11550
|
-
}),
|
|
11564
|
+
}), k4 = { class: "ao-col-header" }, S4 = /* @__PURE__ */ q({
|
|
11551
11565
|
__name: "AoColHeader",
|
|
11552
11566
|
props: {
|
|
11553
11567
|
title: {},
|
|
11554
11568
|
items: {}
|
|
11555
11569
|
},
|
|
11556
11570
|
setup(t) {
|
|
11557
|
-
return (e, a) => (p(), g("header",
|
|
11558
|
-
|
|
11571
|
+
return (e, a) => (p(), g("header", k4, [
|
|
11572
|
+
M(ye, {
|
|
11559
11573
|
title: e.title,
|
|
11560
11574
|
class: "ao-col-header__title",
|
|
11561
11575
|
level: 4
|
|
@@ -11570,17 +11584,17 @@ const w4 = /* @__PURE__ */ q({
|
|
|
11570
11584
|
]));
|
|
11571
11585
|
}
|
|
11572
11586
|
});
|
|
11573
|
-
function
|
|
11574
|
-
return
|
|
11587
|
+
function M4(t) {
|
|
11588
|
+
return Pi() ? (Vi(t), !0) : !1;
|
|
11575
11589
|
}
|
|
11576
11590
|
function ja(t) {
|
|
11577
11591
|
return typeof t == "function" ? t() : Q(t);
|
|
11578
11592
|
}
|
|
11579
|
-
const
|
|
11593
|
+
const A4 = typeof window < "u" && typeof document < "u";
|
|
11580
11594
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11581
|
-
const
|
|
11595
|
+
const T4 = (t) => t != null, oa = () => {
|
|
11582
11596
|
};
|
|
11583
|
-
function
|
|
11597
|
+
function O4(t, e) {
|
|
11584
11598
|
function a(...n) {
|
|
11585
11599
|
return new Promise((s, o) => {
|
|
11586
11600
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -11588,7 +11602,7 @@ function T4(t, e) {
|
|
|
11588
11602
|
}
|
|
11589
11603
|
return a;
|
|
11590
11604
|
}
|
|
11591
|
-
function
|
|
11605
|
+
function E4(t, e = {}) {
|
|
11592
11606
|
let a, n, s = oa;
|
|
11593
11607
|
const o = (r) => {
|
|
11594
11608
|
clearTimeout(r), s(), s = oa;
|
|
@@ -11604,9 +11618,9 @@ function O4(t, e = {}) {
|
|
|
11604
11618
|
});
|
|
11605
11619
|
};
|
|
11606
11620
|
}
|
|
11607
|
-
function
|
|
11608
|
-
return
|
|
11609
|
-
|
|
11621
|
+
function I4(t, e = 200, a = {}) {
|
|
11622
|
+
return O4(
|
|
11623
|
+
E4(e, a),
|
|
11610
11624
|
t
|
|
11611
11625
|
);
|
|
11612
11626
|
}
|
|
@@ -11615,27 +11629,27 @@ function vn(t) {
|
|
|
11615
11629
|
const a = ja(t);
|
|
11616
11630
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11617
11631
|
}
|
|
11618
|
-
const
|
|
11619
|
-
function
|
|
11632
|
+
const L4 = A4 ? window : void 0;
|
|
11633
|
+
function H4() {
|
|
11620
11634
|
const t = ee(!1), e = At();
|
|
11621
11635
|
return e && xt(() => {
|
|
11622
11636
|
t.value = !0;
|
|
11623
11637
|
}, e), t;
|
|
11624
11638
|
}
|
|
11625
|
-
function
|
|
11626
|
-
const e =
|
|
11639
|
+
function D4(t) {
|
|
11640
|
+
const e = H4();
|
|
11627
11641
|
return k(() => (e.value, !!t()));
|
|
11628
11642
|
}
|
|
11629
|
-
function
|
|
11643
|
+
function P4(t, e, a = {}) {
|
|
11630
11644
|
const {
|
|
11631
11645
|
root: n,
|
|
11632
11646
|
rootMargin: s = "0px",
|
|
11633
11647
|
threshold: o = 0.1,
|
|
11634
|
-
window: i =
|
|
11648
|
+
window: i = L4,
|
|
11635
11649
|
immediate: r = !0
|
|
11636
|
-
} = a, l =
|
|
11650
|
+
} = a, l = D4(() => i && "IntersectionObserver" in i), c = k(() => {
|
|
11637
11651
|
const b = ja(t);
|
|
11638
|
-
return (Array.isArray(b) ? b : [b]).map(vn).filter(
|
|
11652
|
+
return (Array.isArray(b) ? b : [b]).map(vn).filter(T4);
|
|
11639
11653
|
});
|
|
11640
11654
|
let u = oa;
|
|
11641
11655
|
const f = ee(r), d = l.value ? de(
|
|
@@ -11659,7 +11673,7 @@ function D4(t, e, a = {}) {
|
|
|
11659
11673
|
) : oa, C = () => {
|
|
11660
11674
|
u(), d(), f.value = !1;
|
|
11661
11675
|
};
|
|
11662
|
-
return
|
|
11676
|
+
return M4(C), {
|
|
11663
11677
|
isSupported: l,
|
|
11664
11678
|
isActive: f,
|
|
11665
11679
|
pause() {
|
|
@@ -11673,22 +11687,22 @@ function D4(t, e, a = {}) {
|
|
|
11673
11687
|
}
|
|
11674
11688
|
const V4 = {
|
|
11675
11689
|
class: /* @__PURE__ */ Y(["ao-list-kanban"])
|
|
11676
|
-
},
|
|
11690
|
+
}, B4 = { class: "ao-list-kanban__header" }, R4 = {
|
|
11677
11691
|
key: 0,
|
|
11678
11692
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11679
|
-
},
|
|
11693
|
+
}, N4 = {
|
|
11680
11694
|
key: 1,
|
|
11681
11695
|
class: "ao-list-kanban__end"
|
|
11682
|
-
},
|
|
11696
|
+
}, j4 = {
|
|
11683
11697
|
key: 0,
|
|
11684
11698
|
class: "ao-list-kanban__no-more"
|
|
11685
|
-
},
|
|
11699
|
+
}, F4 = {
|
|
11686
11700
|
key: 1,
|
|
11687
11701
|
class: "ao-list-kanban__divider"
|
|
11688
|
-
},
|
|
11702
|
+
}, U4 = {
|
|
11689
11703
|
key: 1,
|
|
11690
11704
|
class: "ao-list-kanban__footer"
|
|
11691
|
-
},
|
|
11705
|
+
}, Z4 = /* @__PURE__ */ q({
|
|
11692
11706
|
__name: "AoListKanban",
|
|
11693
11707
|
props: {
|
|
11694
11708
|
list: {},
|
|
@@ -11706,7 +11720,7 @@ const V4 = {
|
|
|
11706
11720
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11707
11721
|
setup(t, { emit: e }) {
|
|
11708
11722
|
const a = t, n = ee(!1), s = ee(null);
|
|
11709
|
-
|
|
11723
|
+
P4(s, ([{ isIntersecting: u }]) => {
|
|
11710
11724
|
n.value = u;
|
|
11711
11725
|
}), de(n, (u) => {
|
|
11712
11726
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11735,8 +11749,8 @@ const V4 = {
|
|
|
11735
11749
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
11736
11750
|
var d;
|
|
11737
11751
|
return [
|
|
11738
|
-
v("div",
|
|
11739
|
-
u.title ? (p(), P(
|
|
11752
|
+
v("div", B4, [
|
|
11753
|
+
u.title ? (p(), P(S4, {
|
|
11740
11754
|
key: 0,
|
|
11741
11755
|
title: u.title,
|
|
11742
11756
|
level: 3,
|
|
@@ -11745,7 +11759,7 @@ const V4 = {
|
|
|
11745
11759
|
])
|
|
11746
11760
|
];
|
|
11747
11761
|
}) : T("", !0),
|
|
11748
|
-
|
|
11762
|
+
M(Q(mt), He({
|
|
11749
11763
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11750
11764
|
list: u.list,
|
|
11751
11765
|
"item-key": "id",
|
|
@@ -11766,7 +11780,7 @@ const V4 = {
|
|
|
11766
11780
|
item: W(({ element: d }) => {
|
|
11767
11781
|
var C, b, y, _, h, A, w, E;
|
|
11768
11782
|
return [
|
|
11769
|
-
|
|
11783
|
+
M(di, {
|
|
11770
11784
|
class: Y(o(d) ? "ao-list-draggable" : ""),
|
|
11771
11785
|
id: d.id,
|
|
11772
11786
|
name: d.name,
|
|
@@ -11820,20 +11834,20 @@ const V4 = {
|
|
|
11820
11834
|
];
|
|
11821
11835
|
}),
|
|
11822
11836
|
footer: W(() => [
|
|
11823
|
-
u.isLoading ? (p(), g("div",
|
|
11824
|
-
|
|
11837
|
+
u.isLoading ? (p(), g("div", R4, [
|
|
11838
|
+
M(pe, { name: "Loading" })
|
|
11825
11839
|
])) : u.hasMore ? (p(), g("div", {
|
|
11826
11840
|
key: 2,
|
|
11827
11841
|
ref_key: "scrollEnd",
|
|
11828
11842
|
ref: s,
|
|
11829
11843
|
class: "ao-list-kanban__end"
|
|
11830
|
-
}, null, 512)) : (p(), g("div",
|
|
11831
|
-
u.noMoreLabel ? (p(), g("span",
|
|
11844
|
+
}, null, 512)) : (p(), g("div", N4, [
|
|
11845
|
+
u.noMoreLabel ? (p(), g("span", j4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", F4)) : T("", !0)
|
|
11832
11846
|
]))
|
|
11833
11847
|
]),
|
|
11834
11848
|
_: 1
|
|
11835
11849
|
}, 16, ["class", "list", "disabled"]),
|
|
11836
|
-
u.$slots.footer || u.footerLabel ? (p(), g("div",
|
|
11850
|
+
u.$slots.footer || u.footerLabel ? (p(), g("div", U4, [
|
|
11837
11851
|
te(u.$slots, "footer", {}, () => [
|
|
11838
11852
|
u.isEditable ? (p(), P(Ct, {
|
|
11839
11853
|
key: 0,
|
|
@@ -11846,7 +11860,7 @@ const V4 = {
|
|
|
11846
11860
|
]));
|
|
11847
11861
|
}
|
|
11848
11862
|
});
|
|
11849
|
-
const
|
|
11863
|
+
const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder", "onKeypress"], z4 = /* @__PURE__ */ q({
|
|
11850
11864
|
__name: "AoSearchField",
|
|
11851
11865
|
props: {
|
|
11852
11866
|
modelValue: {},
|
|
@@ -11858,10 +11872,10 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11858
11872
|
const a = t, n = async (i) => {
|
|
11859
11873
|
const l = i.target.value;
|
|
11860
11874
|
e("update:modelValue", l, i);
|
|
11861
|
-
}, s =
|
|
11875
|
+
}, s = I4(n, a.delay), o = (i) => {
|
|
11862
11876
|
e("clear", i);
|
|
11863
11877
|
};
|
|
11864
|
-
return (i, r) => (p(), g("div",
|
|
11878
|
+
return (i, r) => (p(), g("div", W4, [
|
|
11865
11879
|
v("input", {
|
|
11866
11880
|
value: i.modelValue,
|
|
11867
11881
|
type: "text",
|
|
@@ -11870,12 +11884,12 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11870
11884
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11871
11885
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11872
11886
|
onKeypress: dt(n, ["enter"])
|
|
11873
|
-
}, null, 40,
|
|
11874
|
-
|
|
11887
|
+
}, null, 40, q4),
|
|
11888
|
+
M(pe, {
|
|
11875
11889
|
name: "SearchRounded",
|
|
11876
11890
|
class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
11877
11891
|
}, null, 8, ["class"]),
|
|
11878
|
-
|
|
11892
|
+
M(ce, {
|
|
11879
11893
|
"icon-name": "CloseRounded",
|
|
11880
11894
|
size: "sm",
|
|
11881
11895
|
color: "primary",
|
|
@@ -11886,7 +11900,7 @@ const Z4 = { class: "ao-field ao-search-field" }, W4 = ["value", "placeholder",
|
|
|
11886
11900
|
]));
|
|
11887
11901
|
}
|
|
11888
11902
|
});
|
|
11889
|
-
const
|
|
11903
|
+
const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { class: "ao-feed__body" }, G4 = /* @__PURE__ */ q({
|
|
11890
11904
|
__name: "AoFeed",
|
|
11891
11905
|
props: {
|
|
11892
11906
|
activities: {},
|
|
@@ -11908,13 +11922,13 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11908
11922
|
},
|
|
11909
11923
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
11910
11924
|
setup(t, { emit: e }) {
|
|
11911
|
-
const a = t, { t: n } = Tt(), s =
|
|
11925
|
+
const a = t, { t: n } = Tt(), s = Pt(a, "activities"), o = async (O) => {
|
|
11912
11926
|
await e("selectActivity", O);
|
|
11913
11927
|
}, i = ee({}), r = ee(!1), l = ee(!1), c = k(() => a.project ? "milestone" : "project");
|
|
11914
11928
|
de(
|
|
11915
11929
|
[() => a.statuses, () => a.activities, () => a.initialActivityId],
|
|
11916
11930
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11917
|
-
async ([O, N,
|
|
11931
|
+
async ([O, N, S], [m, L]) => {
|
|
11918
11932
|
i.value = Object.fromEntries(
|
|
11919
11933
|
O.map((J) => [
|
|
11920
11934
|
J.id,
|
|
@@ -11923,7 +11937,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11923
11937
|
return ((le = ae.status) == null ? void 0 : le.id) === J.id;
|
|
11924
11938
|
})
|
|
11925
11939
|
])
|
|
11926
|
-
),
|
|
11940
|
+
), S && !r.value && (o(S), r.value = !0), l.value && Xe(N, L);
|
|
11927
11941
|
},
|
|
11928
11942
|
{ immediate: !0 }
|
|
11929
11943
|
);
|
|
@@ -11932,9 +11946,9 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11932
11946
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((O = a.selectedActivity.milestone.phase) == null ? void 0 : O.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
11933
11947
|
}), f = (O) => {
|
|
11934
11948
|
var J, ae;
|
|
11935
|
-
const N = (J = a.activities) == null ? void 0 : J.at(-1),
|
|
11949
|
+
const N = (J = a.activities) == null ? void 0 : J.at(-1), S = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, L = {
|
|
11936
11950
|
name: n("activity.defaultName", { idx: m + 1 }),
|
|
11937
|
-
rank:
|
|
11951
|
+
rank: S.format(),
|
|
11938
11952
|
statusId: O.id
|
|
11939
11953
|
};
|
|
11940
11954
|
a.filters.assigneeId.length > 0 && (L.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (L.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (L.typeId = a.filters.typeId[0]), l.value = !0, e("addActivity", L);
|
|
@@ -11990,11 +12004,11 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
11990
12004
|
N && e("removeComment", O);
|
|
11991
12005
|
};
|
|
11992
12006
|
return (O, N) => {
|
|
11993
|
-
var
|
|
11994
|
-
return p(), g("div",
|
|
11995
|
-
|
|
12007
|
+
var S;
|
|
12008
|
+
return p(), g("div", x4, [
|
|
12009
|
+
M(Ya, null, {
|
|
11996
12010
|
primary: W(() => [
|
|
11997
|
-
v("div",
|
|
12011
|
+
v("div", Y4, [
|
|
11998
12012
|
a.project ? (p(), P(ci, {
|
|
11999
12013
|
key: 0,
|
|
12000
12014
|
"is-left": !1,
|
|
@@ -12004,7 +12018,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12004
12018
|
m && O.$router.push({ name: Q(Ye).project });
|
|
12005
12019
|
})
|
|
12006
12020
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12007
|
-
|
|
12021
|
+
M(z4, {
|
|
12008
12022
|
"model-value": O.searchText,
|
|
12009
12023
|
placeholder: O.$t("feed.search.placeholder"),
|
|
12010
12024
|
class: "ao-feed__search",
|
|
@@ -12048,7 +12062,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12048
12062
|
option: m,
|
|
12049
12063
|
handleTagRemove: L
|
|
12050
12064
|
}) => [
|
|
12051
|
-
|
|
12065
|
+
M(Je, {
|
|
12052
12066
|
"user-name": m.label,
|
|
12053
12067
|
"avatar-url": m.avatar,
|
|
12054
12068
|
"is-closable": !0,
|
|
@@ -12058,7 +12072,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12058
12072
|
_: 1
|
|
12059
12073
|
}, 8, ["model-value", "options", "placeholder"])) : T("", !0)
|
|
12060
12074
|
]),
|
|
12061
|
-
|
|
12075
|
+
M(ce, {
|
|
12062
12076
|
class: "ao-feed__only-important",
|
|
12063
12077
|
size: "sm",
|
|
12064
12078
|
"icon-name": O.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12070,7 +12084,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12070
12084
|
"aria-checked": O.showsOnlyImportant,
|
|
12071
12085
|
onClick: N[4] || (N[4] = (m) => O.$emit("update:showsOnlyImportant", !O.showsOnlyImportant))
|
|
12072
12086
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12073
|
-
|
|
12087
|
+
M(ce, {
|
|
12074
12088
|
class: "ao-feed__show-archived",
|
|
12075
12089
|
size: "sm",
|
|
12076
12090
|
"icon-name": O.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12085,8 +12099,8 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12085
12099
|
]),
|
|
12086
12100
|
_: 1
|
|
12087
12101
|
}),
|
|
12088
|
-
v("div",
|
|
12089
|
-
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(), P(
|
|
12102
|
+
v("div", K4, [
|
|
12103
|
+
(p(!0), g(ve, null, _e(O.statuses, (m) => (p(), P(Z4, {
|
|
12090
12104
|
key: m.id,
|
|
12091
12105
|
status: m,
|
|
12092
12106
|
list: i.value[m.id],
|
|
@@ -12108,7 +12122,7 @@ const z4 = { class: "ao-feed" }, x4 = { class: "ao-feed__filters" }, Y4 = { clas
|
|
|
12108
12122
|
key: 0,
|
|
12109
12123
|
activity: O.selectedActivity,
|
|
12110
12124
|
"activity-types": O.activityTypes,
|
|
12111
|
-
"milestone-id": (
|
|
12125
|
+
"milestone-id": (S = O.selectedActivity.milestone) == null ? void 0 : S.id,
|
|
12112
12126
|
"template-activities": s.value,
|
|
12113
12127
|
users: O.users,
|
|
12114
12128
|
"user-id": O.userId,
|
|
@@ -12143,7 +12157,7 @@ const Dt = {
|
|
|
12143
12157
|
TEMPLATES: "templates",
|
|
12144
12158
|
TEMPLATE_DETAILS: "template_details",
|
|
12145
12159
|
TEMPLATES_LIST: "templates_list"
|
|
12146
|
-
},
|
|
12160
|
+
}, f8 = (t, e = {}) => [
|
|
12147
12161
|
{
|
|
12148
12162
|
path: t,
|
|
12149
12163
|
name: Dt.TEMPLATES,
|
|
@@ -12153,7 +12167,7 @@ const Dt = {
|
|
|
12153
12167
|
{
|
|
12154
12168
|
path: "",
|
|
12155
12169
|
name: Dt.TEMPLATES_LIST,
|
|
12156
|
-
component:
|
|
12170
|
+
component: Q4
|
|
12157
12171
|
},
|
|
12158
12172
|
{
|
|
12159
12173
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12168,7 +12182,7 @@ const Dt = {
|
|
|
12168
12182
|
feed: "AoProjectFeed",
|
|
12169
12183
|
milestone: "AoMilestone",
|
|
12170
12184
|
activity: "AoActivity"
|
|
12171
|
-
},
|
|
12185
|
+
}, v8 = (t, e = {}) => [
|
|
12172
12186
|
{
|
|
12173
12187
|
path: t,
|
|
12174
12188
|
...e,
|
|
@@ -12192,7 +12206,7 @@ const Dt = {
|
|
|
12192
12206
|
props: { default: !0, modal: !0 },
|
|
12193
12207
|
components: {
|
|
12194
12208
|
default: As,
|
|
12195
|
-
modal:
|
|
12209
|
+
modal: $4
|
|
12196
12210
|
}
|
|
12197
12211
|
}
|
|
12198
12212
|
]
|
|
@@ -12200,12 +12214,12 @@ const Dt = {
|
|
|
12200
12214
|
{
|
|
12201
12215
|
path: "feed",
|
|
12202
12216
|
name: Ye.feed,
|
|
12203
|
-
component:
|
|
12217
|
+
component: G4,
|
|
12204
12218
|
props: !0
|
|
12205
12219
|
}
|
|
12206
12220
|
]
|
|
12207
12221
|
}
|
|
12208
|
-
],
|
|
12222
|
+
], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ q({
|
|
12209
12223
|
__name: "AoTemplatesList",
|
|
12210
12224
|
props: {
|
|
12211
12225
|
templates: {}
|
|
@@ -12245,10 +12259,10 @@ const Dt = {
|
|
|
12245
12259
|
});
|
|
12246
12260
|
}
|
|
12247
12261
|
};
|
|
12248
|
-
return (r, l) => (p(), g("div",
|
|
12249
|
-
|
|
12262
|
+
return (r, l) => (p(), g("div", X4, [
|
|
12263
|
+
M(Ya, null, {
|
|
12250
12264
|
secondary: W(() => [
|
|
12251
|
-
|
|
12265
|
+
M(ce, {
|
|
12252
12266
|
label: r.$t("templates.new"),
|
|
12253
12267
|
color: "primary",
|
|
12254
12268
|
"icon-name": "Add",
|
|
@@ -12258,7 +12272,7 @@ const Dt = {
|
|
|
12258
12272
|
]),
|
|
12259
12273
|
_: 1
|
|
12260
12274
|
}),
|
|
12261
|
-
|
|
12275
|
+
M(Q(mt), {
|
|
12262
12276
|
"model-value": r.templates,
|
|
12263
12277
|
class: "ao-templates__list",
|
|
12264
12278
|
"item-key": "id",
|
|
@@ -12268,7 +12282,7 @@ const Dt = {
|
|
|
12268
12282
|
item: W(({ element: c }) => {
|
|
12269
12283
|
var u;
|
|
12270
12284
|
return [
|
|
12271
|
-
|
|
12285
|
+
M(Q3, {
|
|
12272
12286
|
id: c.id,
|
|
12273
12287
|
title: c.name,
|
|
12274
12288
|
phases: c.phases,
|
|
@@ -12289,7 +12303,7 @@ const Dt = {
|
|
|
12289
12303
|
]));
|
|
12290
12304
|
}
|
|
12291
12305
|
});
|
|
12292
|
-
const
|
|
12306
|
+
const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ q({
|
|
12293
12307
|
__name: "AoField",
|
|
12294
12308
|
props: {
|
|
12295
12309
|
label: {},
|
|
@@ -12299,11 +12313,11 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12299
12313
|
return (e, a) => (p(), g("label", {
|
|
12300
12314
|
class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12301
12315
|
}, [
|
|
12302
|
-
v("span",
|
|
12316
|
+
v("span", J4, G(e.label), 1),
|
|
12303
12317
|
te(e.$slots, "default")
|
|
12304
12318
|
], 2));
|
|
12305
12319
|
}
|
|
12306
|
-
}),
|
|
12320
|
+
}), t8 = ["type", "value", "disabled", "readonly"], h8 = /* @__PURE__ */ q({
|
|
12307
12321
|
__name: "AoInputField",
|
|
12308
12322
|
props: {
|
|
12309
12323
|
label: { default: "" },
|
|
@@ -12320,7 +12334,7 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12320
12334
|
), s = (o) => {
|
|
12321
12335
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12322
12336
|
};
|
|
12323
|
-
return (o, i) => (p(), P(
|
|
12337
|
+
return (o, i) => (p(), P(e8, { label: o.label }, {
|
|
12324
12338
|
default: W(() => [
|
|
12325
12339
|
v("input", He({
|
|
12326
12340
|
class: "ao-field__input",
|
|
@@ -12330,12 +12344,12 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12330
12344
|
readonly: o.isReadonly
|
|
12331
12345
|
}, {
|
|
12332
12346
|
[Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
12333
|
-
}), null, 16,
|
|
12347
|
+
}), null, 16, t8)
|
|
12334
12348
|
]),
|
|
12335
12349
|
_: 1
|
|
12336
12350
|
}, 8, ["label"]));
|
|
12337
12351
|
}
|
|
12338
|
-
}),
|
|
12352
|
+
}), a8 = { class: "ao-field" }, n8 = { class: "ao-field__label" }, s8 = ["checked", "disabled"], m8 = /* @__PURE__ */ q({
|
|
12339
12353
|
__name: "AoCheckboxField",
|
|
12340
12354
|
props: {
|
|
12341
12355
|
label: { default: "" },
|
|
@@ -12345,8 +12359,8 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12345
12359
|
},
|
|
12346
12360
|
emits: ["update:modelValue"],
|
|
12347
12361
|
setup(t) {
|
|
12348
|
-
return (e, a) => (p(), g("label",
|
|
12349
|
-
v("span",
|
|
12362
|
+
return (e, a) => (p(), g("label", a8, [
|
|
12363
|
+
v("span", n8, G(e.label), 1),
|
|
12350
12364
|
v("input", {
|
|
12351
12365
|
class: "ao-field__input",
|
|
12352
12366
|
type: "checkbox",
|
|
@@ -12359,28 +12373,28 @@ const Q4 = { class: "ao-field__label" }, J4 = /* @__PURE__ */ q({
|
|
|
12359
12373
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
12360
12374
|
);
|
|
12361
12375
|
})
|
|
12362
|
-
}, null, 40,
|
|
12376
|
+
}, null, 40, s8)
|
|
12363
12377
|
]));
|
|
12364
12378
|
}
|
|
12365
12379
|
});
|
|
12366
12380
|
export {
|
|
12367
12381
|
di as AoCardFeed,
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12382
|
+
m8 as AoCheckboxField,
|
|
12383
|
+
G4 as AoFeed,
|
|
12384
|
+
e8 as AoField,
|
|
12385
|
+
h8 as AoInputField,
|
|
12372
12386
|
$e as AoMultiselect,
|
|
12373
12387
|
rv as AoProjectPhases,
|
|
12374
12388
|
M9 as AoTemplateDetails,
|
|
12375
|
-
|
|
12376
|
-
|
|
12389
|
+
u8 as AoTemplates,
|
|
12390
|
+
Q4 as AoTemplatesList,
|
|
12377
12391
|
F2 as TemplateItemTypeEnum,
|
|
12378
|
-
|
|
12379
|
-
|
|
12392
|
+
d8 as activityFeedStatus,
|
|
12393
|
+
c8 as durationTypes,
|
|
12380
12394
|
Lt as feedFilterTypes,
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
|
|
12395
|
+
v8 as getProjectOverviewRoutes,
|
|
12396
|
+
f8 as getTemplateRoutes,
|
|
12397
|
+
p8 as listUpdateTypes,
|
|
12384
12398
|
hn as milestoneStatus,
|
|
12385
12399
|
Ye as projectOverviewRoutes,
|
|
12386
12400
|
R2 as ruleComparators,
|