@26lights/orcha 0.36.40 → 0.36.42
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.es.js +551 -540
- package/dist/orcha.umd.js +3 -3
- package/dist/src/main.d.ts +1 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, 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 S, resolveDynamicComponent as ht, normalizeClass as K, 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 z, 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 S, resolveDynamicComponent as ht, normalizeClass as K, 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 A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const d8 = /* @__PURE__ */ z({
|
|
@@ -119,7 +119,7 @@ const y1 = /* @__PURE__ */ j(h1, [["render", _1]]), b1 = {}, w1 = {
|
|
|
119
119
|
function S1(t, e) {
|
|
120
120
|
return p(), g("svg", w1, k1);
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const A1 = /* @__PURE__ */ j(b1, [["render", S1]]), M1 = {}, T1 = {
|
|
123
123
|
width: "24",
|
|
124
124
|
height: "24",
|
|
125
125
|
viewBox: "0 0 24 24",
|
|
@@ -134,7 +134,7 @@ const M1 = /* @__PURE__ */ j(b1, [["render", S1]]), A1 = {}, T1 = {
|
|
|
134
134
|
function I1(t, e) {
|
|
135
135
|
return p(), g("svg", T1, E1);
|
|
136
136
|
}
|
|
137
|
-
const L1 = /* @__PURE__ */ j(
|
|
137
|
+
const L1 = /* @__PURE__ */ j(M1, [["render", I1]]), H1 = {}, D1 = {
|
|
138
138
|
width: "24",
|
|
139
139
|
height: "24",
|
|
140
140
|
viewBox: "0 0 24 24",
|
|
@@ -251,10 +251,10 @@ const bo = /* @__PURE__ */ j(mo, [["render", yo]]), wo = {}, $o = {
|
|
|
251
251
|
}, null, -1), So = [
|
|
252
252
|
ko
|
|
253
253
|
];
|
|
254
|
-
function
|
|
254
|
+
function Ao(t, e) {
|
|
255
255
|
return p(), g("svg", $o, So);
|
|
256
256
|
}
|
|
257
|
-
const
|
|
257
|
+
const Mo = /* @__PURE__ */ j(wo, [["render", Ao]]), To = {}, Oo = {
|
|
258
258
|
width: "24",
|
|
259
259
|
height: "24",
|
|
260
260
|
viewBox: "0 0 24 24",
|
|
@@ -386,10 +386,10 @@ const br = /* @__PURE__ */ j(mr, [["render", yr]]), wr = {}, $r = {
|
|
|
386
386
|
}, null, -1), Sr = [
|
|
387
387
|
kr
|
|
388
388
|
];
|
|
389
|
-
function
|
|
389
|
+
function Ar(t, e) {
|
|
390
390
|
return p(), g("svg", $r, Sr);
|
|
391
391
|
}
|
|
392
|
-
const
|
|
392
|
+
const Mr = /* @__PURE__ */ j(wr, [["render", Ar]]), Tr = {}, Or = {
|
|
393
393
|
width: "24",
|
|
394
394
|
height: "24",
|
|
395
395
|
viewBox: "0 0 24 24",
|
|
@@ -521,10 +521,10 @@ const bl = /* @__PURE__ */ j(ml, [["render", yl]]), wl = {}, $l = {
|
|
|
521
521
|
}, null, -1), Sl = [
|
|
522
522
|
kl
|
|
523
523
|
];
|
|
524
|
-
function
|
|
524
|
+
function Al(t, e) {
|
|
525
525
|
return p(), g("svg", $l, Sl);
|
|
526
526
|
}
|
|
527
|
-
const
|
|
527
|
+
const Ml = /* @__PURE__ */ j(wl, [["render", Al]]), Tl = {}, Ol = {
|
|
528
528
|
width: "24",
|
|
529
529
|
height: "24",
|
|
530
530
|
viewBox: "0 0 24 24",
|
|
@@ -617,23 +617,23 @@ function lu(t, e) {
|
|
|
617
617
|
const uu = /* @__PURE__ */ j(su, [["render", lu]]), cu = z({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const Sn = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
624
624
|
fill: "none",
|
|
625
625
|
xmlns: "http://www.w3.org/2000/svg"
|
|
626
|
-
}, pu = /* @__PURE__ */
|
|
626
|
+
}, pu = /* @__PURE__ */ Sn(() => /* @__PURE__ */ v("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), fu = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), fu = /* @__PURE__ */ Sn(() => /* @__PURE__ */ v("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), vu = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), vu = /* @__PURE__ */ Sn(() => /* @__PURE__ */ v("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -663,14 +663,14 @@ const $u = /* @__PURE__ */ j(gu, [["render", wu]]), ku = {}, Su = {
|
|
|
663
663
|
viewBox: "0 0 24 24",
|
|
664
664
|
fill: "none",
|
|
665
665
|
xmlns: "http://www.w3.org/2000/svg"
|
|
666
|
-
},
|
|
666
|
+
}, Au = /* @__PURE__ */ v("path", {
|
|
667
667
|
d: "M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 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 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",
|
|
668
668
|
fill: "black"
|
|
669
|
-
}, null, -1),
|
|
670
|
-
|
|
669
|
+
}, null, -1), Mu = [
|
|
670
|
+
Au
|
|
671
671
|
];
|
|
672
672
|
function Tu(t, e) {
|
|
673
|
-
return p(), g("svg", Su,
|
|
673
|
+
return p(), g("svg", Su, Mu);
|
|
674
674
|
}
|
|
675
675
|
const Ou = /* @__PURE__ */ j(ku, [["render", Tu]]), Eu = {}, Iu = {
|
|
676
676
|
width: "24",
|
|
@@ -798,14 +798,14 @@ const $c = /* @__PURE__ */ j(gc, [["render", wc]]), kc = {}, Sc = {
|
|
|
798
798
|
viewBox: "0 0 24 24",
|
|
799
799
|
fill: "none",
|
|
800
800
|
xmlns: "http://www.w3.org/2000/svg"
|
|
801
|
-
},
|
|
801
|
+
}, Ac = /* @__PURE__ */ v("path", {
|
|
802
802
|
d: "M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",
|
|
803
803
|
fill: "black"
|
|
804
|
-
}, null, -1),
|
|
805
|
-
|
|
804
|
+
}, null, -1), Mc = [
|
|
805
|
+
Ac
|
|
806
806
|
];
|
|
807
807
|
function Tc(t, e) {
|
|
808
|
-
return p(), g("svg", Sc,
|
|
808
|
+
return p(), g("svg", Sc, Mc);
|
|
809
809
|
}
|
|
810
810
|
const Oc = /* @__PURE__ */ j(kc, [["render", Tc]]), Ec = {}, Ic = {
|
|
811
811
|
width: "24",
|
|
@@ -930,14 +930,14 @@ const $d = /* @__PURE__ */ j(gd, [["render", wd]]), kd = {}, Sd = {
|
|
|
930
930
|
viewBox: "0 0 24 24",
|
|
931
931
|
fill: "none",
|
|
932
932
|
xmlns: "http://www.w3.org/2000/svg"
|
|
933
|
-
},
|
|
933
|
+
}, Ad = /* @__PURE__ */ v("path", {
|
|
934
934
|
d: "M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",
|
|
935
935
|
fill: "black"
|
|
936
|
-
}, null, -1),
|
|
937
|
-
|
|
936
|
+
}, null, -1), Md = [
|
|
937
|
+
Ad
|
|
938
938
|
];
|
|
939
939
|
function Td(t, e) {
|
|
940
|
-
return p(), g("svg", Sd,
|
|
940
|
+
return p(), g("svg", Sd, Md);
|
|
941
941
|
}
|
|
942
942
|
const Od = /* @__PURE__ */ j(kd, [["render", Td]]), Ed = {}, Id = {
|
|
943
943
|
width: "24",
|
|
@@ -1067,7 +1067,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1067
1067
|
AccountTreeRounded: l1,
|
|
1068
1068
|
Add: v1,
|
|
1069
1069
|
AddBoxOutlineRounded: y1,
|
|
1070
|
-
ArchiveOutlineRounded:
|
|
1070
|
+
ArchiveOutlineRounded: A1,
|
|
1071
1071
|
ArrowBackRounded: L1,
|
|
1072
1072
|
ArrowDropDownRounded: R1,
|
|
1073
1073
|
ArrowForwardRounded: W1,
|
|
@@ -1076,7 +1076,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1076
1076
|
CalendarTodayOutlineRounded: lo,
|
|
1077
1077
|
CancelRounded: ho,
|
|
1078
1078
|
ChatOutline: bo,
|
|
1079
|
-
CheckBoxOutlineBlank:
|
|
1079
|
+
CheckBoxOutlineBlank: Mo,
|
|
1080
1080
|
CheckBoxOutlineBlankSharp: Ho,
|
|
1081
1081
|
CheckBoxOutlineRounded: No,
|
|
1082
1082
|
CheckSmallRounded: qo,
|
|
@@ -1085,7 +1085,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1085
1085
|
ChevronRight: ur,
|
|
1086
1086
|
CloseRounded: hr,
|
|
1087
1087
|
ContactsOutlineRounded: br,
|
|
1088
|
-
ContentCopyOutline:
|
|
1088
|
+
ContentCopyOutline: Mr,
|
|
1089
1089
|
DeleteOutlineRounded: Hr,
|
|
1090
1090
|
DragIndicator: Nr,
|
|
1091
1091
|
EditDocumentRounded: qr,
|
|
@@ -1094,7 +1094,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1094
1094
|
FilterListRounded: ul,
|
|
1095
1095
|
FlagRounded: hl,
|
|
1096
1096
|
FlowsheetOutlineRounded: bl,
|
|
1097
|
-
GifBox:
|
|
1097
|
+
GifBox: Ml,
|
|
1098
1098
|
GroupsOutline: Hl,
|
|
1099
1099
|
HomeOutlineRounded: Nl,
|
|
1100
1100
|
ImageRounded: ql,
|
|
@@ -1139,18 +1139,18 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
1141
1141
|
XL: "xl"
|
|
1142
|
-
},
|
|
1142
|
+
}, An = {
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
1146
|
-
},
|
|
1146
|
+
}, A2 = {
|
|
1147
1147
|
WARNING: "warning",
|
|
1148
1148
|
SUCCESS: "success",
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
|
-
...
|
|
1153
|
-
...
|
|
1152
|
+
...An,
|
|
1153
|
+
...A2
|
|
1154
1154
|
});
|
|
1155
1155
|
const Os = {
|
|
1156
1156
|
ROUND: "round",
|
|
@@ -1168,10 +1168,10 @@ const Os = {
|
|
|
1168
1168
|
}, null, 8, ["class"]));
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
1171
|
-
const
|
|
1171
|
+
const M2 = ["type"], T2 = {
|
|
1172
1172
|
key: 0,
|
|
1173
1173
|
class: "ao-button__label"
|
|
1174
|
-
},
|
|
1174
|
+
}, ue = /* @__PURE__ */ z({
|
|
1175
1175
|
__name: "AoButton",
|
|
1176
1176
|
props: {
|
|
1177
1177
|
label: { default: () => "" },
|
|
@@ -1209,7 +1209,7 @@ const A2 = ["type"], T2 = {
|
|
|
1209
1209
|
class: "ao-button__icon",
|
|
1210
1210
|
size: a.value
|
|
1211
1211
|
}, null, 8, ["name", "size"])) : T("", !0)
|
|
1212
|
-
], 10,
|
|
1212
|
+
], 10, M2));
|
|
1213
1213
|
}
|
|
1214
1214
|
});
|
|
1215
1215
|
function Es(t) {
|
|
@@ -1346,21 +1346,21 @@ const O2 = {
|
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: W(() => [
|
|
1348
1348
|
n.isDraggable ? (p(), g("div", O2, [
|
|
1349
|
-
|
|
1349
|
+
A(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
|
+
A(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
|
+
A(ye, {
|
|
1364
1364
|
id: n.id,
|
|
1365
1365
|
class: "ao-card-horiz__title",
|
|
1366
1366
|
level: 4,
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const qa = /* @__PURE__ */ z({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1428,7 +1428,7 @@ const Mn = /* @__PURE__ */ z({
|
|
|
1428
1428
|
class: "ao-tag__close",
|
|
1429
1429
|
onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
|
|
1430
1430
|
}, [
|
|
1431
|
-
|
|
1431
|
+
A(pe, {
|
|
1432
1432
|
name: "CloseRounded",
|
|
1433
1433
|
size: "sm",
|
|
1434
1434
|
class: "ao-tag__close-icon"
|
|
@@ -1437,7 +1437,7 @@ const Mn = /* @__PURE__ */ z({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const Cn = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
@@ -1540,7 +1540,7 @@ function Ds(t) {
|
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function gn(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
1545
|
var a = Qe(e);
|
|
1546
1546
|
return U2(t, -a);
|
|
@@ -1616,7 +1616,7 @@ function t0(t, e) {
|
|
|
1616
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
|
-
function
|
|
1619
|
+
function ce(t, e) {
|
|
1620
1620
|
for (var a = t < 0 ? "-" : "", n = Math.abs(t).toString(); n.length < e; )
|
|
1621
1621
|
n = "0" + n;
|
|
1622
1622
|
return a + n;
|
|
@@ -1625,16 +1625,16 @@ var a0 = {
|
|
|
1625
1625
|
// Year
|
|
1626
1626
|
y: function(e, a) {
|
|
1627
1627
|
var n = e.getUTCFullYear(), s = n > 0 ? n : 1 - n;
|
|
1628
|
-
return
|
|
1628
|
+
return ce(a === "yy" ? s % 100 : s, a.length);
|
|
1629
1629
|
},
|
|
1630
1630
|
// Month
|
|
1631
1631
|
M: function(e, a) {
|
|
1632
1632
|
var n = e.getUTCMonth();
|
|
1633
|
-
return a === "M" ? String(n + 1) :
|
|
1633
|
+
return a === "M" ? String(n + 1) : ce(n + 1, 2);
|
|
1634
1634
|
},
|
|
1635
1635
|
// Day of the month
|
|
1636
1636
|
d: function(e, a) {
|
|
1637
|
-
return
|
|
1637
|
+
return ce(e.getUTCDate(), a.length);
|
|
1638
1638
|
},
|
|
1639
1639
|
// AM or PM
|
|
1640
1640
|
a: function(e, a) {
|
|
@@ -1654,24 +1654,24 @@ var a0 = {
|
|
|
1654
1654
|
},
|
|
1655
1655
|
// Hour [1-12]
|
|
1656
1656
|
h: function(e, a) {
|
|
1657
|
-
return
|
|
1657
|
+
return ce(e.getUTCHours() % 12 || 12, a.length);
|
|
1658
1658
|
},
|
|
1659
1659
|
// Hour [0-23]
|
|
1660
1660
|
H: function(e, a) {
|
|
1661
|
-
return
|
|
1661
|
+
return ce(e.getUTCHours(), a.length);
|
|
1662
1662
|
},
|
|
1663
1663
|
// Minute
|
|
1664
1664
|
m: function(e, a) {
|
|
1665
|
-
return
|
|
1665
|
+
return ce(e.getUTCMinutes(), a.length);
|
|
1666
1666
|
},
|
|
1667
1667
|
// Second
|
|
1668
1668
|
s: function(e, a) {
|
|
1669
|
-
return
|
|
1669
|
+
return ce(e.getUTCSeconds(), a.length);
|
|
1670
1670
|
},
|
|
1671
1671
|
// Fraction of second
|
|
1672
1672
|
S: function(e, a) {
|
|
1673
1673
|
var n = a.length, s = e.getUTCMilliseconds(), o = Math.floor(s * Math.pow(10, n - 3));
|
|
1674
|
-
return
|
|
1674
|
+
return ce(o, a.length);
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
1677
|
const rt = a0;
|
|
@@ -1721,16 +1721,16 @@ var Ht = {
|
|
|
1721
1721
|
var o = Vs(e, s), i = o > 0 ? o : 1 - o;
|
|
1722
1722
|
if (a === "YY") {
|
|
1723
1723
|
var r = i % 100;
|
|
1724
|
-
return
|
|
1724
|
+
return ce(r, 2);
|
|
1725
1725
|
}
|
|
1726
1726
|
return a === "Yo" ? n.ordinalNumber(i, {
|
|
1727
1727
|
unit: "year"
|
|
1728
|
-
}) :
|
|
1728
|
+
}) : ce(i, a.length);
|
|
1729
1729
|
},
|
|
1730
1730
|
// ISO week-numbering year
|
|
1731
1731
|
R: function(e, a) {
|
|
1732
1732
|
var n = Ps(e);
|
|
1733
|
-
return
|
|
1733
|
+
return ce(n, a.length);
|
|
1734
1734
|
},
|
|
1735
1735
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
1736
1736
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -1743,7 +1743,7 @@ var Ht = {
|
|
|
1743
1743
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
1744
1744
|
u: function(e, a) {
|
|
1745
1745
|
var n = e.getUTCFullYear();
|
|
1746
|
-
return
|
|
1746
|
+
return ce(n, a.length);
|
|
1747
1747
|
},
|
|
1748
1748
|
// Quarter
|
|
1749
1749
|
Q: function(e, a, n) {
|
|
@@ -1752,7 +1752,7 @@ var Ht = {
|
|
|
1752
1752
|
case "Q":
|
|
1753
1753
|
return String(s);
|
|
1754
1754
|
case "QQ":
|
|
1755
|
-
return
|
|
1755
|
+
return ce(s, 2);
|
|
1756
1756
|
case "Qo":
|
|
1757
1757
|
return n.ordinalNumber(s, {
|
|
1758
1758
|
unit: "quarter"
|
|
@@ -1782,7 +1782,7 @@ var Ht = {
|
|
|
1782
1782
|
case "q":
|
|
1783
1783
|
return String(s);
|
|
1784
1784
|
case "qq":
|
|
1785
|
-
return
|
|
1785
|
+
return ce(s, 2);
|
|
1786
1786
|
case "qo":
|
|
1787
1787
|
return n.ordinalNumber(s, {
|
|
1788
1788
|
unit: "quarter"
|
|
@@ -1841,7 +1841,7 @@ var Ht = {
|
|
|
1841
1841
|
case "L":
|
|
1842
1842
|
return String(s + 1);
|
|
1843
1843
|
case "LL":
|
|
1844
|
-
return
|
|
1844
|
+
return ce(s + 1, 2);
|
|
1845
1845
|
case "Lo":
|
|
1846
1846
|
return n.ordinalNumber(s + 1, {
|
|
1847
1847
|
unit: "month"
|
|
@@ -1869,14 +1869,14 @@ var Ht = {
|
|
|
1869
1869
|
var o = t0(e, s);
|
|
1870
1870
|
return a === "wo" ? n.ordinalNumber(o, {
|
|
1871
1871
|
unit: "week"
|
|
1872
|
-
}) :
|
|
1872
|
+
}) : ce(o, a.length);
|
|
1873
1873
|
},
|
|
1874
1874
|
// ISO week of year
|
|
1875
1875
|
I: function(e, a, n) {
|
|
1876
1876
|
var s = Q2(e);
|
|
1877
1877
|
return a === "Io" ? n.ordinalNumber(s, {
|
|
1878
1878
|
unit: "week"
|
|
1879
|
-
}) :
|
|
1879
|
+
}) : ce(s, a.length);
|
|
1880
1880
|
},
|
|
1881
1881
|
// Day of the month
|
|
1882
1882
|
d: function(e, a, n) {
|
|
@@ -1889,7 +1889,7 @@ var Ht = {
|
|
|
1889
1889
|
var s = K2(e);
|
|
1890
1890
|
return a === "Do" ? n.ordinalNumber(s, {
|
|
1891
1891
|
unit: "dayOfYear"
|
|
1892
|
-
}) :
|
|
1892
|
+
}) : ce(s, a.length);
|
|
1893
1893
|
},
|
|
1894
1894
|
// Day of week
|
|
1895
1895
|
E: function(e, a, n) {
|
|
@@ -1927,7 +1927,7 @@ var Ht = {
|
|
|
1927
1927
|
case "e":
|
|
1928
1928
|
return String(i);
|
|
1929
1929
|
case "ee":
|
|
1930
|
-
return
|
|
1930
|
+
return ce(i, 2);
|
|
1931
1931
|
case "eo":
|
|
1932
1932
|
return n.ordinalNumber(i, {
|
|
1933
1933
|
unit: "day"
|
|
@@ -1962,7 +1962,7 @@ var Ht = {
|
|
|
1962
1962
|
case "c":
|
|
1963
1963
|
return String(i);
|
|
1964
1964
|
case "cc":
|
|
1965
|
-
return
|
|
1965
|
+
return ce(i, a.length);
|
|
1966
1966
|
case "co":
|
|
1967
1967
|
return n.ordinalNumber(i, {
|
|
1968
1968
|
unit: "day"
|
|
@@ -1997,7 +1997,7 @@ var Ht = {
|
|
|
1997
1997
|
case "i":
|
|
1998
1998
|
return String(o);
|
|
1999
1999
|
case "ii":
|
|
2000
|
-
return
|
|
2000
|
+
return ce(o, a.length);
|
|
2001
2001
|
case "io":
|
|
2002
2002
|
return n.ordinalNumber(o, {
|
|
2003
2003
|
unit: "day"
|
|
@@ -2126,14 +2126,14 @@ var Ht = {
|
|
|
2126
2126
|
var s = e.getUTCHours() % 12;
|
|
2127
2127
|
return a === "Ko" ? n.ordinalNumber(s, {
|
|
2128
2128
|
unit: "hour"
|
|
2129
|
-
}) :
|
|
2129
|
+
}) : ce(s, a.length);
|
|
2130
2130
|
},
|
|
2131
2131
|
// Hour [1-24]
|
|
2132
2132
|
k: function(e, a, n) {
|
|
2133
2133
|
var s = e.getUTCHours();
|
|
2134
2134
|
return s === 0 && (s = 24), a === "ko" ? n.ordinalNumber(s, {
|
|
2135
2135
|
unit: "hour"
|
|
2136
|
-
}) :
|
|
2136
|
+
}) : ce(s, a.length);
|
|
2137
2137
|
},
|
|
2138
2138
|
// Minute
|
|
2139
2139
|
m: function(e, a, n) {
|
|
@@ -2212,12 +2212,12 @@ var Ht = {
|
|
|
2212
2212
|
// Seconds timestamp
|
|
2213
2213
|
t: function(e, a, n, s) {
|
|
2214
2214
|
var o = s._originalDate || e, i = Math.floor(o.getTime() / 1e3);
|
|
2215
|
-
return
|
|
2215
|
+
return ce(i, a.length);
|
|
2216
2216
|
},
|
|
2217
2217
|
// Milliseconds timestamp
|
|
2218
2218
|
T: function(e, a, n, s) {
|
|
2219
2219
|
var o = s._originalDate || e, i = o.getTime();
|
|
2220
|
-
return
|
|
2220
|
+
return ce(i, a.length);
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
2223
|
function ls(t, e) {
|
|
@@ -2225,17 +2225,17 @@ function ls(t, e) {
|
|
|
2225
2225
|
if (o === 0)
|
|
2226
2226
|
return a + String(s);
|
|
2227
2227
|
var i = e || "";
|
|
2228
|
-
return a + String(s) + i +
|
|
2228
|
+
return a + String(s) + i + ce(o, 2);
|
|
2229
2229
|
}
|
|
2230
2230
|
function us(t, e) {
|
|
2231
2231
|
if (t % 60 === 0) {
|
|
2232
2232
|
var a = t > 0 ? "-" : "+";
|
|
2233
|
-
return a +
|
|
2233
|
+
return a + ce(Math.abs(t) / 60, 2);
|
|
2234
2234
|
}
|
|
2235
2235
|
return $t(t, e);
|
|
2236
2236
|
}
|
|
2237
2237
|
function $t(t, e) {
|
|
2238
|
-
var a = e || "", n = t > 0 ? "-" : "+", s = Math.abs(t), o =
|
|
2238
|
+
var a = e || "", n = t > 0 ? "-" : "+", s = Math.abs(t), o = ce(Math.floor(s / 60), 2), i = ce(s % 60, 2);
|
|
2239
2239
|
return n + o + a + i;
|
|
2240
2240
|
}
|
|
2241
2241
|
const s0 = n0;
|
|
@@ -2397,7 +2397,7 @@ var p0 = {
|
|
|
2397
2397
|
return typeof o == "string" ? s = o : a === 1 ? s = o.one : s = o.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
|
|
2398
2398
|
};
|
|
2399
2399
|
const v0 = f0;
|
|
2400
|
-
function
|
|
2400
|
+
function fn(t) {
|
|
2401
2401
|
return function() {
|
|
2402
2402
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.width ? String(e.width) : t.defaultWidth, n = t.formats[a] || t.formats[t.defaultWidth];
|
|
2403
2403
|
return n;
|
|
@@ -2419,15 +2419,15 @@ var h0 = {
|
|
|
2419
2419
|
medium: "{{date}}, {{time}}",
|
|
2420
2420
|
short: "{{date}}, {{time}}"
|
|
2421
2421
|
}, g0 = {
|
|
2422
|
-
date:
|
|
2422
|
+
date: fn({
|
|
2423
2423
|
formats: h0,
|
|
2424
2424
|
defaultWidth: "full"
|
|
2425
2425
|
}),
|
|
2426
|
-
time:
|
|
2426
|
+
time: fn({
|
|
2427
2427
|
formats: m0,
|
|
2428
2428
|
defaultWidth: "full"
|
|
2429
2429
|
}),
|
|
2430
|
-
dateTime:
|
|
2430
|
+
dateTime: fn({
|
|
2431
2431
|
formats: C0,
|
|
2432
2432
|
defaultWidth: "full"
|
|
2433
2433
|
})
|
|
@@ -2470,12 +2470,12 @@ var $0 = {
|
|
|
2470
2470
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
2471
2471
|
abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
2472
2472
|
wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
2473
|
-
},
|
|
2473
|
+
}, A0 = {
|
|
2474
2474
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
2475
2475
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
2476
2476
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
2477
2477
|
wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
2478
|
-
},
|
|
2478
|
+
}, M0 = {
|
|
2479
2479
|
narrow: {
|
|
2480
2480
|
am: "a",
|
|
2481
2481
|
pm: "p",
|
|
@@ -2567,11 +2567,11 @@ var $0 = {
|
|
|
2567
2567
|
defaultWidth: "wide"
|
|
2568
2568
|
}),
|
|
2569
2569
|
day: Jt({
|
|
2570
|
-
values:
|
|
2570
|
+
values: A0,
|
|
2571
2571
|
defaultWidth: "wide"
|
|
2572
2572
|
}),
|
|
2573
2573
|
dayPeriod: Jt({
|
|
2574
|
-
values:
|
|
2574
|
+
values: M0,
|
|
2575
2575
|
defaultWidth: "wide",
|
|
2576
2576
|
formattingValues: T0,
|
|
2577
2577
|
defaultFormattingWidth: "wide"
|
|
@@ -2737,7 +2737,7 @@ function Ns(t, e, a) {
|
|
|
2737
2737
|
var O = be(t);
|
|
2738
2738
|
if (!Ds(O))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var x = ra(O), R =
|
|
2740
|
+
var x = ra(O), R = gn(O, x), Z = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
2742
2742
|
weekStartsOn: q,
|
|
2743
2743
|
locale: F,
|
|
@@ -2745,8 +2745,8 @@ function Ns(t, e, a) {
|
|
|
2745
2745
|
}, ie = L.match(X0).map(function(E) {
|
|
2746
2746
|
var N = E[0];
|
|
2747
2747
|
if (N === "p" || N === "P") {
|
|
2748
|
-
var
|
|
2749
|
-
return
|
|
2748
|
+
var M = r0[N];
|
|
2749
|
+
return M(E, F.formatLong);
|
|
2750
2750
|
}
|
|
2751
2751
|
return E;
|
|
2752
2752
|
}).join("").match(G0).map(function(E) {
|
|
@@ -2755,9 +2755,9 @@ function Ns(t, e, a) {
|
|
|
2755
2755
|
var N = E[0];
|
|
2756
2756
|
if (N === "'")
|
|
2757
2757
|
return t3(E);
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)),
|
|
2758
|
+
var M = s0[N];
|
|
2759
|
+
if (M)
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)), M(R, E, F.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 E;
|
|
@@ -2783,7 +2783,7 @@ function a3(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var C;
|
|
2785
2785
|
_ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
|
|
2786
|
-
var D =
|
|
2786
|
+
var D = gn(h, ra(h)), L = gn(w, ra(w)), H = y.formatRelative(C, D, L, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: k
|
|
2789
2789
|
});
|
|
@@ -2819,17 +2819,17 @@ function la(t, e) {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
return new Date(r + l + c);
|
|
2821
2821
|
}
|
|
2822
|
-
var
|
|
2822
|
+
var Aa = {
|
|
2823
2823
|
dateTimeDelimiter: /[T ]/,
|
|
2824
2824
|
timeZoneDelimiter: /[Z ]/i,
|
|
2825
2825
|
timezone: /([Z+-].*)$/
|
|
2826
2826
|
}, n3 = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, s3 = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, i3 = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
2827
2827
|
function o3(t) {
|
|
2828
|
-
var e = {}, a = t.split(
|
|
2828
|
+
var e = {}, a = t.split(Aa.dateTimeDelimiter), n;
|
|
2829
2829
|
if (a.length > 2)
|
|
2830
2830
|
return e;
|
|
2831
|
-
if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1],
|
|
2832
|
-
var s =
|
|
2831
|
+
if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1], Aa.timeZoneDelimiter.test(e.date) && (e.date = t.split(Aa.timeZoneDelimiter)[0], n = t.substr(e.date.length, t.length))), n) {
|
|
2832
|
+
var s = Aa.timezone.exec(n);
|
|
2833
2833
|
s ? (e.time = n.replace(s[1], ""), e.timezone = s[1]) : e.time = n;
|
|
2834
2834
|
}
|
|
2835
2835
|
return e;
|
|
@@ -2866,10 +2866,10 @@ function u3(t) {
|
|
|
2866
2866
|
var e = t.match(s3);
|
|
2867
2867
|
if (!e)
|
|
2868
2868
|
return NaN;
|
|
2869
|
-
var a =
|
|
2869
|
+
var a = vn(e[1]), n = vn(e[2]), s = vn(e[3]);
|
|
2870
2870
|
return m3(a, n, s) ? a * Hs + n * Ls + s * 1e3 : NaN;
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2872
|
+
function vn(t) {
|
|
2873
2873
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2874
2874
|
}
|
|
2875
2875
|
function c3(t) {
|
|
@@ -2906,10 +2906,10 @@ function m3(t, e, a) {
|
|
|
2906
2906
|
function C3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
|
-
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {},
|
|
2910
|
-
Object.defineProperty(
|
|
2911
|
-
|
|
2912
|
-
|
|
2909
|
+
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, za = {};
|
|
2910
|
+
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
2911
|
+
za.lexoHelper = void 0;
|
|
2912
|
+
za.lexoHelper = {
|
|
2913
2913
|
arrayCopy: g3
|
|
2914
2914
|
};
|
|
2915
2915
|
function g3(t, e, a, n, s) {
|
|
@@ -2946,7 +2946,7 @@ class _3 {
|
|
|
2946
2946
|
ma.default = _3;
|
|
2947
2947
|
Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
2948
2948
|
Yt.LexoInteger = void 0;
|
|
2949
|
-
const
|
|
2949
|
+
const Ma = za, y3 = ma;
|
|
2950
2950
|
class se {
|
|
2951
2951
|
constructor(e, a, n) {
|
|
2952
2952
|
this.sys = e, this.sign = a, this.mag = n;
|
|
@@ -2975,7 +2975,7 @@ class se {
|
|
|
2975
2975
|
if (s === n.length)
|
|
2976
2976
|
return new se(e, a, n);
|
|
2977
2977
|
const o = new Array(s).fill(0);
|
|
2978
|
-
return
|
|
2978
|
+
return Ma.lexoHelper.arrayCopy(n, 0, o, 0, s), new se(e, a, o);
|
|
2979
2979
|
}
|
|
2980
2980
|
static add(e, a, n) {
|
|
2981
2981
|
const s = Math.max(a.length, n.length), o = new Array(s).fill(0);
|
|
@@ -2992,7 +2992,7 @@ class se {
|
|
|
2992
2992
|
static extendWithCarry(e, a) {
|
|
2993
2993
|
if (a > 0) {
|
|
2994
2994
|
const n = new Array(e.length + 1).fill(0);
|
|
2995
|
-
return
|
|
2995
|
+
return Ma.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = a, n;
|
|
2996
2996
|
}
|
|
2997
2997
|
return e;
|
|
2998
2998
|
}
|
|
@@ -3076,13 +3076,13 @@ class se {
|
|
|
3076
3076
|
if (e < 0)
|
|
3077
3077
|
return this.shiftRight(Math.abs(e));
|
|
3078
3078
|
const a = new Array(this.mag.length + e).fill(0);
|
|
3079
|
-
return
|
|
3079
|
+
return Ma.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), se.make(this.sys, this.sign, a);
|
|
3080
3080
|
}
|
|
3081
3081
|
shiftRight(e = 1) {
|
|
3082
3082
|
if (this.mag.length - e <= 0)
|
|
3083
3083
|
return se.zero(this.sys);
|
|
3084
3084
|
const a = new Array(this.mag.length - e).fill(0);
|
|
3085
|
-
return
|
|
3085
|
+
return Ma.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), se.make(this.sys, this.sign, a);
|
|
3086
3086
|
}
|
|
3087
3087
|
complement() {
|
|
3088
3088
|
return this.complementDigits(this.mag.length);
|
|
@@ -3311,11 +3311,11 @@ function Us() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3314
|
+
var Mn = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
3316
|
-
var
|
|
3317
|
-
Object.defineProperty(
|
|
3318
|
-
|
|
3316
|
+
var xa = {};
|
|
3317
|
+
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
3318
|
+
xa.LexoNumeralSystem10 = void 0;
|
|
3319
3319
|
class w3 {
|
|
3320
3320
|
getBase() {
|
|
3321
3321
|
return 10;
|
|
@@ -3338,10 +3338,10 @@ class w3 {
|
|
|
3338
3338
|
return String.fromCharCode(e + 48);
|
|
3339
3339
|
}
|
|
3340
3340
|
}
|
|
3341
|
-
|
|
3342
|
-
var
|
|
3343
|
-
Object.defineProperty(
|
|
3344
|
-
|
|
3341
|
+
xa.LexoNumeralSystem10 = w3;
|
|
3342
|
+
var Ya = {};
|
|
3343
|
+
Object.defineProperty(Ya, "__esModule", { value: !0 });
|
|
3344
|
+
Ya.LexoNumeralSystem36 = void 0;
|
|
3345
3345
|
class $3 {
|
|
3346
3346
|
constructor() {
|
|
3347
3347
|
this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3369,10 +3369,10 @@ class $3 {
|
|
|
3369
3369
|
return this.DIGITS[e];
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
|
-
|
|
3373
|
-
var
|
|
3374
|
-
Object.defineProperty(
|
|
3375
|
-
|
|
3372
|
+
Ya.LexoNumeralSystem36 = $3;
|
|
3373
|
+
var Ka = {};
|
|
3374
|
+
Object.defineProperty(Ka, "__esModule", { value: !0 });
|
|
3375
|
+
Ka.LexoNumeralSystem64 = void 0;
|
|
3376
3376
|
class k3 {
|
|
3377
3377
|
constructor() {
|
|
3378
3378
|
this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
|
|
@@ -3406,7 +3406,7 @@ class k3 {
|
|
|
3406
3406
|
return this.DIGITS[e];
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
|
-
|
|
3409
|
+
Ka.LexoNumeralSystem64 = k3;
|
|
3410
3410
|
(function(t) {
|
|
3411
3411
|
var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
3412
3412
|
i === void 0 && (i = o);
|
|
@@ -3420,14 +3420,14 @@ Ya.LexoNumeralSystem64 = k3;
|
|
|
3420
3420
|
for (var o in n)
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(
|
|
3424
|
-
})(
|
|
3423
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(xa, t), a(Ya, t), a(Ka, t);
|
|
3424
|
+
})(Mn);
|
|
3425
3425
|
var fs;
|
|
3426
3426
|
function Ws() {
|
|
3427
3427
|
if (fs)
|
|
3428
3428
|
return aa;
|
|
3429
3429
|
fs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
-
const t = ha, e = Us(), a = ma, n =
|
|
3430
|
+
const t = ha, e = Us(), a = ma, n = Mn;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3628,7 +3628,7 @@ function Ws() {
|
|
|
3628
3628
|
for (var o in n)
|
|
3629
3629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3630
3630
|
};
|
|
3631
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(Mn, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
3633
|
function qs(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3642,14 +3642,14 @@ function S3(t) {
|
|
|
3642
3642
|
return e + (((n = a.milestones) == null ? void 0 : n.length) ?? 0);
|
|
3643
3643
|
}, 0)) ?? 0;
|
|
3644
3644
|
}
|
|
3645
|
-
function
|
|
3645
|
+
function A3(t) {
|
|
3646
3646
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3647
3647
|
var s;
|
|
3648
3648
|
const n = (s = a.milestones) != null && s.length ? qs(a.milestones) : 0;
|
|
3649
3649
|
return e + n;
|
|
3650
3650
|
}, 0)) ?? 0;
|
|
3651
3651
|
}
|
|
3652
|
-
function
|
|
3652
|
+
function M3(t) {
|
|
3653
3653
|
return t.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
|
|
3654
3654
|
}
|
|
3655
3655
|
function Ca(t, e) {
|
|
@@ -3686,7 +3686,7 @@ function T3(t, e) {
|
|
|
3686
3686
|
function O3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: T3(t, e) ?
|
|
3689
|
+
status: T3(t, e) ? Cn.done : Cn.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
3692
|
const zs = (t) => {
|
|
@@ -3709,7 +3709,7 @@ const zs = (t) => {
|
|
|
3709
3709
|
const a = t, n = S(() => [
|
|
3710
3710
|
`ao-avatar--${a.color}`,
|
|
3711
3711
|
...a.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${a.size}`] : ["ao-avatar", `ao-avatar--${a.size}`]
|
|
3712
|
-
]), s =
|
|
3712
|
+
]), s = M3(a.userName), o = (i) => {
|
|
3713
3713
|
e("close", i);
|
|
3714
3714
|
};
|
|
3715
3715
|
return (i, r) => (p(), g("div", {
|
|
@@ -3723,7 +3723,7 @@ const zs = (t) => {
|
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
3724
3724
|
src: i.avatarUrl
|
|
3725
3725
|
}, null, 8, L3)) : T("", !0),
|
|
3726
|
-
i.isClosable ? (p(), P(
|
|
3726
|
+
i.isClosable ? (p(), P(ue, {
|
|
3727
3727
|
key: 2,
|
|
3728
3728
|
"icon-name": "CloseRounded",
|
|
3729
3729
|
class: "ao-avatar__close",
|
|
@@ -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
|
+
A(pe, {
|
|
3772
3772
|
name: "MountainFlagOutlineRounded",
|
|
3773
3773
|
size: "sm"
|
|
3774
3774
|
}),
|
|
3775
3775
|
v("span", P3, G(n.milestones), 1)
|
|
3776
3776
|
]),
|
|
3777
3777
|
v("li", V3, [
|
|
3778
|
-
|
|
3778
|
+
A(pe, {
|
|
3779
3779
|
name: "TaskOutlineRounded",
|
|
3780
3780
|
size: "sm"
|
|
3781
3781
|
}),
|
|
@@ -3787,14 +3787,14 @@ 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
|
+
A(pe, {
|
|
3791
3791
|
name: "WaterfallChartRounded",
|
|
3792
3792
|
size: "sm"
|
|
3793
3793
|
}),
|
|
3794
3794
|
v("span", F3, G(n.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
n.phases ? (p(), g("ul", U3, [
|
|
3797
|
-
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(
|
|
3797
|
+
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(qa, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -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
|
+
A(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
3827
3827
|
])
|
|
3828
3828
|
])) : T("", !0)
|
|
3829
3829
|
])
|
|
@@ -3836,7 +3836,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3836
3836
|
const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t5 = {
|
|
3837
3837
|
key: 0,
|
|
3838
3838
|
class: "ao-page-header-secondary"
|
|
3839
|
-
},
|
|
3839
|
+
}, Ga = /* @__PURE__ */ z({
|
|
3840
3840
|
__name: "AoPageHeader",
|
|
3841
3841
|
props: {
|
|
3842
3842
|
canGoBack: { type: Boolean }
|
|
@@ -3845,7 +3845,7 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
|
|
|
3845
3845
|
setup(t) {
|
|
3846
3846
|
return (e, a) => (p(), g("header", J3, [
|
|
3847
3847
|
v("div", e5, [
|
|
3848
|
-
e.canGoBack ? (p(), P(
|
|
3848
|
+
e.canGoBack ? (p(), P(ue, {
|
|
3849
3849
|
key: 0,
|
|
3850
3850
|
"icon-name": "ArrowBackRounded",
|
|
3851
3851
|
variant: "ghost",
|
|
@@ -3869,7 +3869,7 @@ const a5 = ["type"], n5 = {
|
|
|
3869
3869
|
iconName: {},
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
|
-
color: { default: () =>
|
|
3872
|
+
color: { default: () => An.BLACK },
|
|
3873
3873
|
size: { default: () => Wa.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
3875
|
corners: { default: () => Os.ROUNDED }
|
|
@@ -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
|
+
A(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
|
+
A(ue, {
|
|
3940
3940
|
"icon-name": "DeleteOutlineRounded",
|
|
3941
3941
|
variant: "ghost",
|
|
3942
3942
|
size: "md",
|
|
@@ -4024,7 +4024,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4024
4024
|
onChange: i
|
|
4025
4025
|
}, {
|
|
4026
4026
|
header: W(() => [
|
|
4027
|
-
|
|
4027
|
+
A(ye, {
|
|
4028
4028
|
title: "Milestones",
|
|
4029
4029
|
level: 3,
|
|
4030
4030
|
class: "ao-list__title"
|
|
@@ -4049,7 +4049,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4049
4049
|
]),
|
|
4050
4050
|
footer: W(() => [
|
|
4051
4051
|
v("div", c5, [
|
|
4052
|
-
|
|
4052
|
+
A(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__ */ z({
|
|
|
4114
4114
|
onChange: i
|
|
4115
4115
|
}, {
|
|
4116
4116
|
header: W(() => [
|
|
4117
|
-
|
|
4117
|
+
A(ye, {
|
|
4118
4118
|
title: "Activities",
|
|
4119
4119
|
level: 3,
|
|
4120
4120
|
class: "ao-list__title"
|
|
@@ -4135,7 +4135,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4135
4135
|
]),
|
|
4136
4136
|
footer: W(() => [
|
|
4137
4137
|
v("div", f5, [
|
|
4138
|
-
|
|
4138
|
+
A(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__ */ z({
|
|
|
4168
4168
|
v("div", h5, [
|
|
4169
4169
|
e.$slots.header ? (p(), g("div", m5, [
|
|
4170
4170
|
v("div", C5, [
|
|
4171
|
-
|
|
4171
|
+
A(ue, {
|
|
4172
4172
|
"icon-name": "CloseRounded",
|
|
4173
4173
|
variant: "ghost",
|
|
4174
4174
|
color: "primary",
|
|
@@ -4207,7 +4207,7 @@ function Ln(t, e) {
|
|
|
4207
4207
|
function Ft(t) {
|
|
4208
4208
|
return t.split("-")[0];
|
|
4209
4209
|
}
|
|
4210
|
-
function
|
|
4210
|
+
function Xa(t) {
|
|
4211
4211
|
return t.split("-")[1];
|
|
4212
4212
|
}
|
|
4213
4213
|
function $5(t) {
|
|
@@ -4224,18 +4224,18 @@ function Ys(t) {
|
|
|
4224
4224
|
}
|
|
4225
4225
|
function k5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
4227
|
-
const n =
|
|
4227
|
+
const n = Xa(t), s = Ys(t), o = xs(s);
|
|
4228
4228
|
let i = s === "x" ? n === (a ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4229
4229
|
return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
|
|
4230
4230
|
}
|
|
4231
4231
|
function S5(t) {
|
|
4232
4232
|
const e = Ba(t);
|
|
4233
|
-
return [
|
|
4233
|
+
return [_n(t), e, _n(e)];
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function _n(t) {
|
|
4236
4236
|
return t.replace(/start|end/g, (e) => w5[e]);
|
|
4237
4237
|
}
|
|
4238
|
-
function
|
|
4238
|
+
function A5(t, e, a) {
|
|
4239
4239
|
const n = ["left", "right"], s = ["right", "left"], o = ["top", "bottom"], i = ["bottom", "top"];
|
|
4240
4240
|
switch (t) {
|
|
4241
4241
|
case "top":
|
|
@@ -4248,10 +4248,10 @@ function M5(t, e, a) {
|
|
|
4248
4248
|
return [];
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
|
-
function
|
|
4252
|
-
const s =
|
|
4253
|
-
let o =
|
|
4254
|
-
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(
|
|
4251
|
+
function M5(t, e, a, n) {
|
|
4252
|
+
const s = Xa(t);
|
|
4253
|
+
let o = A5(Ft(t), a === "start", n);
|
|
4254
|
+
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(_n)))), o;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ba(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => b5[e]);
|
|
@@ -4320,7 +4320,7 @@ function vs(t, e, a) {
|
|
|
4320
4320
|
y: n.y
|
|
4321
4321
|
};
|
|
4322
4322
|
}
|
|
4323
|
-
switch (
|
|
4323
|
+
switch (Xa(e)) {
|
|
4324
4324
|
case "start":
|
|
4325
4325
|
h[i] -= d * (a && c ? -1 : 1);
|
|
4326
4326
|
break;
|
|
@@ -4462,7 +4462,7 @@ const I5 = function(t) {
|
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const k = Ft(s), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [Ba(r)] : S5(r));
|
|
4465
|
-
!d && w !== "none" && D.push(...
|
|
4465
|
+
!d && w !== "none" && D.push(...M5(r, b, w, C));
|
|
4466
4466
|
const L = [r, ...D], H = await Ks(e, y), F = [];
|
|
4467
4467
|
let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4468
4468
|
if (u && F.push(H[k]), f) {
|
|
@@ -4490,7 +4490,7 @@ const I5 = function(t) {
|
|
|
4490
4490
|
switch (h) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var x;
|
|
4493
|
-
const E = (x = U.map((N) => [N.placement, N.overflows.filter((
|
|
4493
|
+
const E = (x = U.map((N) => [N.placement, N.overflows.filter((M) => M > 0).reduce((M, m) => M + m, 0)]).sort((N, M) => N[1] - M[1])[0]) == null ? void 0 : x[0];
|
|
4494
4494
|
E && (ie = E);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
@@ -4522,7 +4522,7 @@ const I5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u =
|
|
4525
|
+
} = Ln(t, e), l = await Ks(e, r), c = Ft(a), u = Xa(a), f = Hn(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: h
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4596,7 +4596,7 @@ function Dn(t) {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
function D5(t) {
|
|
4598
4598
|
let e = Ut(t);
|
|
4599
|
-
for (; Ue(e) && !
|
|
4599
|
+
for (; Ue(e) && !Qa(e); ) {
|
|
4600
4600
|
if (Dn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Ut(e);
|
|
@@ -4606,13 +4606,13 @@ function D5(t) {
|
|
|
4606
4606
|
function Pn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
|
-
function
|
|
4609
|
+
function Qa(t) {
|
|
4610
4610
|
return ["html", "body", "#document"].includes(ft(t));
|
|
4611
4611
|
}
|
|
4612
4612
|
function Ve(t) {
|
|
4613
4613
|
return ke(t).getComputedStyle(t);
|
|
4614
4614
|
}
|
|
4615
|
-
function
|
|
4615
|
+
function Ja(t) {
|
|
4616
4616
|
return et(t) ? {
|
|
4617
4617
|
scrollLeft: t.scrollLeft,
|
|
4618
4618
|
scrollTop: t.scrollTop
|
|
@@ -4635,7 +4635,7 @@ function Ut(t) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xs(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
4638
|
-
return
|
|
4638
|
+
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ca(t, e, a) {
|
|
4641
4641
|
var n;
|
|
@@ -4718,7 +4718,7 @@ function B5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i =
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)), Ue(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4733,10 +4733,10 @@ function R5(t) {
|
|
|
4733
4733
|
return Array.from(t.getClientRects());
|
|
4734
4734
|
}
|
|
4735
4735
|
function ei(t) {
|
|
4736
|
-
return St(at(t)).left +
|
|
4736
|
+
return St(at(t)).left + Ja(t).scrollLeft;
|
|
4737
4737
|
}
|
|
4738
4738
|
function N5(t) {
|
|
4739
|
-
const e = at(t), a =
|
|
4739
|
+
const e = at(t), a = Ja(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
4742
|
return Ve(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
|
|
@@ -4790,7 +4790,7 @@ 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) ||
|
|
4793
|
+
return a === e || !et(a) || Qa(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function U5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
@@ -4799,7 +4799,7 @@ function U5(t, e) {
|
|
|
4799
4799
|
let n = ca(t, [], !1).filter((r) => et(r) && ft(r) !== "body"), s = null;
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
|
-
for (; et(i) && !
|
|
4802
|
+
for (; et(i) && !Qa(i); ) {
|
|
4803
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
|
}
|
|
@@ -4834,7 +4834,7 @@ function q5(t, e, a) {
|
|
|
4834
4834
|
};
|
|
4835
4835
|
const l = pt(0);
|
|
4836
4836
|
if (n || !n && !o)
|
|
4837
|
-
if ((ft(e) !== "body" || ga(s)) && (r =
|
|
4837
|
+
if ((ft(e) !== "body" || ga(s)) && (r = Ja(e)), n) {
|
|
4838
4838
|
const c = St(e, !0, o, e);
|
|
4839
4839
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4840
|
} else
|
|
@@ -5042,7 +5042,7 @@ const X5 = (t, e, a) => {
|
|
|
5042
5042
|
c();
|
|
5043
5043
|
}), Ts(() => {
|
|
5044
5044
|
r.value();
|
|
5045
|
-
}),
|
|
5045
|
+
}), kn(() => {
|
|
5046
5046
|
r.value();
|
|
5047
5047
|
});
|
|
5048
5048
|
};
|
|
@@ -5050,7 +5050,7 @@ function je(t) {
|
|
|
5050
5050
|
return [null, void 0].indexOf(t) !== -1;
|
|
5051
5051
|
}
|
|
5052
5052
|
function J5(t, e, a) {
|
|
5053
|
-
const { object: n, valueProp: s, mode: o } =
|
|
5053
|
+
const { object: n, valueProp: s, mode: o } = Ae(t), i = Mt().proxy, r = a.iv, l = (f, d = !0) => {
|
|
5054
5054
|
r.value = u(f);
|
|
5055
5055
|
const h = c(f);
|
|
5056
5056
|
e.emit("change", h, i), d && (e.emit("input", h), e.emit("update:modelValue", h));
|
|
@@ -5060,7 +5060,7 @@ function J5(t, e, a) {
|
|
|
5060
5060
|
};
|
|
5061
5061
|
}
|
|
5062
5062
|
function e7(t, e) {
|
|
5063
|
-
const { value: a, modelValue: n, mode: s, valueProp: o } =
|
|
5063
|
+
const { value: a, modelValue: n, mode: s, valueProp: o } = Ae(t), i = ee(s.value !== "single" ? [] : {}), r = S(() => n && n.value !== void 0 ? n.value : a.value), l = S(() => s.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = S(() => s.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
|
|
5064
5064
|
return {
|
|
5065
5065
|
iv: i,
|
|
5066
5066
|
internalValue: i,
|
|
@@ -5071,7 +5071,7 @@ function e7(t, e) {
|
|
|
5071
5071
|
};
|
|
5072
5072
|
}
|
|
5073
5073
|
function t7(t, e, a) {
|
|
5074
|
-
const { regex: n } =
|
|
5074
|
+
const { regex: n } = Ae(t), s = Mt().proxy, o = a.isOpen, i = a.open, r = ee(null), l = () => {
|
|
5075
5075
|
r.value = "";
|
|
5076
5076
|
}, c = (d) => {
|
|
5077
5077
|
r.value = d.target.value;
|
|
@@ -5099,7 +5099,7 @@ function t7(t, e, a) {
|
|
|
5099
5099
|
};
|
|
5100
5100
|
}
|
|
5101
5101
|
function a7(t, e, a) {
|
|
5102
|
-
const { groupSelect: n, mode: s, groups: o, disabledProp: i } =
|
|
5102
|
+
const { groupSelect: n, mode: s, groups: o, disabledProp: i } = Ae(t), r = ee(null), l = (u) => {
|
|
5103
5103
|
u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (s.value === "single" || !n.value) || (r.value = u);
|
|
5104
5104
|
};
|
|
5105
5105
|
return {
|
|
@@ -5110,7 +5110,7 @@ function a7(t, e, a) {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
5112
5112
|
}
|
|
5113
|
-
function
|
|
5113
|
+
function hn(t, e = !0) {
|
|
5114
5114
|
return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5115
5115
|
}
|
|
5116
5116
|
function n7(t) {
|
|
@@ -5154,30 +5154,30 @@ function i7(t, e, a) {
|
|
|
5154
5154
|
groups: ie,
|
|
5155
5155
|
reverse: E,
|
|
5156
5156
|
infinite: N,
|
|
5157
|
-
groupOptions:
|
|
5157
|
+
groupOptions: M,
|
|
5158
5158
|
groupHideEmpty: m,
|
|
5159
5159
|
groupSelect: I,
|
|
5160
5160
|
onCreate: J,
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} =
|
|
5164
|
+
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((oe) => {
|
|
5169
|
-
|
|
5169
|
+
dn(oe[M.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
5173
5173
|
} else {
|
|
5174
|
-
let $ =
|
|
5174
|
+
let $ = dn(Ne.value || /* istanbul ignore next */
|
|
5175
5175
|
[]);
|
|
5176
5176
|
return it.value.length && ($ = $.concat(it.value)), $;
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Qt = S(() => {
|
|
5179
5179
|
let $ = Te.value;
|
|
5180
|
-
return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)),
|
|
5180
|
+
return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cn($);
|
|
5181
5181
|
}), ot = S(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
5183
|
return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
|
|
@@ -5188,32 +5188,32 @@ function i7(t, e, a) {
|
|
|
5188
5188
|
[];
|
|
5189
5189
|
return it.value.length && $.push({
|
|
5190
5190
|
[U.value]: " ",
|
|
5191
|
-
[
|
|
5191
|
+
[M.value]: [...it.value],
|
|
5192
5192
|
__CREATE__: !0
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
5194
|
}), wa = S(() => {
|
|
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][M.value] = [...Ot.value, ...$[0][M.value]] : $ = [{
|
|
5197
5197
|
[U.value]: " ",
|
|
5198
|
-
[
|
|
5198
|
+
[M.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
|
-
}),
|
|
5201
|
+
}), sn = S(() => {
|
|
5202
5202
|
if (!ie.value)
|
|
5203
5203
|
return [];
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
|
-
return
|
|
5205
|
+
return Ai(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
|
-
const me =
|
|
5207
|
+
const me = dn(B[M.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[
|
|
5213
|
-
__VISIBLE__:
|
|
5212
|
+
[M.value]: cn(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
|
|
5213
|
+
__VISIBLE__: cn(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
5216
|
-
}),
|
|
5216
|
+
}), on = S(() => {
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
5219
|
return !je(Y.value[H.value]);
|
|
@@ -5221,7 +5221,7 @@ function i7(t, e, a) {
|
|
|
5221
5221
|
case "tags":
|
|
5222
5222
|
return !je(Y.value) && Y.value.length > 0;
|
|
5223
5223
|
}
|
|
5224
|
-
}), pi = S(() => h !== void 0 && h.value !== void 0 ? h.value(Y.value, re) : Y.value && Y.value.length > 1 ? `${Y.value.length} options selected` : "1 option selected"), fi = S(() => !Te.value.length && !
|
|
5224
|
+
}), pi = S(() => h !== void 0 && h.value !== void 0 ? h.value(Y.value, re) : Y.value && Y.value.length > 1 ? `${Y.value.length} options selected` : "1 option selected"), fi = S(() => !Te.value.length && !Me.value && !Ot.value.length), vi = S(() => Te.value.length > 0 && ot.value.length == 0 && (X.value && ie.value || !ie.value)), Ot = S(() => Xt.value === !1 || !X.value ? [] : $i(X.value) !== -1 ? [] : [{
|
|
5225
5225
|
[H.value]: X.value,
|
|
5226
5226
|
[yt.value[0]]: X.value,
|
|
5227
5227
|
[u.value]: X.value,
|
|
@@ -5234,7 +5234,7 @@ function i7(t, e, a) {
|
|
|
5234
5234
|
case "tags":
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
|
-
}), mi = S(() => b.value ||
|
|
5237
|
+
}), mi = S(() => b.value || Me.value), Et = ($) => {
|
|
5238
5238
|
switch (typeof $ != "object" && ($ = xe($)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
we($);
|
|
@@ -5268,7 +5268,7 @@ function i7(t, e, a) {
|
|
|
5268
5268
|
we(hi.value), e.emit("clear", re);
|
|
5269
5269
|
}, ze = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
|
-
return s.value === "single" ? !1 : wi($[
|
|
5271
|
+
return s.value === "single" ? !1 : wi($[M.value]) && $[M.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
return !je(Y.value) && Y.value[H.value] == $[H.value];
|
|
@@ -5276,11 +5276,11 @@ function i7(t, e, a) {
|
|
|
5276
5276
|
case "multiple":
|
|
5277
5277
|
return !je(Y.value) && Y.value.map((B) => B[H.value]).indexOf($[H.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
},
|
|
5280
|
-
if (!
|
|
5279
|
+
}, rn = ($) => $[ae.value] === !0, ln = () => O === void 0 || O.value === -1 || !on.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
|
|
5280
|
+
if (!rn($)) {
|
|
5281
5281
|
if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
|
-
|
|
5283
|
-
|
|
5282
|
+
Me.value = !0, $.then((B) => {
|
|
5283
|
+
Me.value = !1, ns(B);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
@@ -5293,63 +5293,63 @@ function i7(t, e, a) {
|
|
|
5293
5293
|
q.value && It($), Z.value && (nt(), st());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
|
-
$ &&
|
|
5296
|
+
$ && un($), L.value && he(), R.value && (nt(), st()), $ && Et($);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
5299
|
if ($ && ze($)) {
|
|
5300
5300
|
It($), Z.value && (nt(), st());
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
5303
|
-
if (
|
|
5303
|
+
if (ln()) {
|
|
5304
5304
|
e.emit("max", re);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
$ && (
|
|
5307
|
+
$ && (un($), Et($)), L.value && he(), r.value && nt(), R.value && st();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
5310
|
if ($ && ze($)) {
|
|
5311
5311
|
It($), Z.value && (nt(), st());
|
|
5312
5312
|
return;
|
|
5313
5313
|
}
|
|
5314
|
-
if (
|
|
5314
|
+
if (ln()) {
|
|
5315
5315
|
e.emit("max", re);
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
$ &&
|
|
5318
|
+
$ && un($), L.value && he(), $ && Et($), r.value && nt(), R.value && st();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
R.value || _a();
|
|
5322
5322
|
}, _i = ($) => {
|
|
5323
|
-
if (!(
|
|
5323
|
+
if (!(rn($) || s.value === "single" || !I.value)) {
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
|
-
bi($[
|
|
5328
|
-
$[
|
|
5329
|
-
), r.value && Kt.value && Gt(
|
|
5327
|
+
bi($[M.value]) ? It($[M.value]) : Et(
|
|
5328
|
+
$[M.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
|
|
5329
|
+
), r.value && Kt.value && Gt(sn.value.filter((B) => !B[ae.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
5332
|
-
R.value &&
|
|
5332
|
+
R.value && nn();
|
|
5333
5333
|
}
|
|
5334
|
-
},
|
|
5334
|
+
}, un = ($) => {
|
|
5335
5335
|
xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
|
|
5336
5336
|
}, yi = () => {
|
|
5337
5337
|
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
|
|
5338
5338
|
}, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => 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 && ze($), Si = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
|
-
},
|
|
5341
|
-
(B) => X.value ? B.__VISIBLE__.length : B[
|
|
5342
|
-
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0),
|
|
5340
|
+
}, Ai = ($) => m.value ? $.filter(
|
|
5341
|
+
(B) => X.value ? B.__VISIBLE__.length : B[M.value].length
|
|
5342
|
+
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), cn = ($, B = !0) => {
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && C.value) {
|
|
5345
5345
|
let me = ne.value;
|
|
5346
5346
|
me || (me = (bt, is, r8) => yt.value.some((Ti) => {
|
|
5347
|
-
let os =
|
|
5348
|
-
return le.value ? os.startsWith(
|
|
5347
|
+
let os = hn(ya(bt[Ti]), x.value);
|
|
5348
|
+
return le.value ? os.startsWith(hn(is, x.value)) : os.indexOf(hn(is, x.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, X.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (oe = oe.filter((me) => !ki(me))), oe;
|
|
5352
|
-
},
|
|
5352
|
+
}, dn = ($) => {
|
|
5353
5353
|
let B = $;
|
|
5354
5354
|
return n7(B) && (B = Object.keys(B).map((oe) => {
|
|
5355
5355
|
let me = B[oe];
|
|
@@ -5357,16 +5357,16 @@ function i7(t, e, a) {
|
|
|
5357
5357
|
})), B = B.map((oe) => typeof oe == "object" ? oe : { [H.value]: oe, [yt.value[0]]: oe, [u.value]: oe }), B;
|
|
5358
5358
|
}, $a = () => {
|
|
5359
5359
|
je(V.value) || (Y.value = Sa(V.value));
|
|
5360
|
-
}, ka = ($) => (
|
|
5360
|
+
}, ka = ($) => (Me.value = !0, new Promise((B, oe) => {
|
|
5361
5361
|
n.value(X.value, re).then((me) => {
|
|
5362
|
-
Ne.value = me || [], typeof $ == "function" && $(me),
|
|
5362
|
+
Ne.value = me || [], typeof $ == "function" && $(me), Me.value = !1;
|
|
5363
5363
|
}).catch((me) => {
|
|
5364
|
-
console.error(me), Ne.value = [],
|
|
5364
|
+
console.error(me), Ne.value = [], Me.value = !1;
|
|
5365
5365
|
}).finally(() => {
|
|
5366
5366
|
B();
|
|
5367
5367
|
});
|
|
5368
|
-
})),
|
|
5369
|
-
if (
|
|
5368
|
+
})), pn = () => {
|
|
5369
|
+
if (on.value)
|
|
5370
5370
|
if (s.value === "single") {
|
|
5371
5371
|
let $ = xe(Y.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
@@ -5381,7 +5381,7 @@ function i7(t, e, a) {
|
|
|
5381
5381
|
Y.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
|
|
5382
5382
|
}
|
|
5383
5383
|
});
|
|
5384
|
-
},
|
|
5384
|
+
}, Mi = ($) => {
|
|
5385
5385
|
ka($);
|
|
5386
5386
|
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (F.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
@@ -5393,9 +5393,9 @@ function i7(t, e, a) {
|
|
|
5393
5393
|
[yt.value[0]]: B
|
|
5394
5394
|
}), ss = () => {
|
|
5395
5395
|
Be.value = de(X, ($) => {
|
|
5396
|
-
$.length < _.value || !$ && _.value !== 0 || (
|
|
5396
|
+
$.length < _.value || !$ && _.value !== 0 || (Me.value = !0, D.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
$ == X.value && n.value(X.value, re).then((B) => {
|
|
5398
|
-
($ == X.value || !X.value) && (Ne.value = B, Kt.value = ot.value.filter((oe) => oe[ae.value] !== !0)[0] || null,
|
|
5398
|
+
($ == X.value || !X.value) && (Ne.value = B, Kt.value = ot.value.filter((oe) => oe[ae.value] !== !0)[0] || null, Me.value = !1);
|
|
5399
5399
|
}).catch(
|
|
5400
5400
|
/* istanbul ignore next */
|
|
5401
5401
|
(B) => {
|
|
@@ -5424,24 +5424,24 @@ function i7(t, e, a) {
|
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
5427
|
-
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(),
|
|
5428
|
-
}), de(u,
|
|
5427
|
+
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), pn());
|
|
5428
|
+
}), de(u, pn), de(i, ($, B) => {
|
|
5429
5429
|
qe.value = N.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Qt,
|
|
5432
5432
|
fo: ot,
|
|
5433
5433
|
filteredOptions: ot,
|
|
5434
|
-
hasSelected:
|
|
5434
|
+
hasSelected: on,
|
|
5435
5435
|
multipleLabelText: pi,
|
|
5436
5436
|
eo: Te,
|
|
5437
5437
|
extendedOptions: Te,
|
|
5438
5438
|
eg: _t,
|
|
5439
5439
|
extendedGroups: _t,
|
|
5440
|
-
fg:
|
|
5441
|
-
filteredGroups:
|
|
5440
|
+
fg: sn,
|
|
5441
|
+
filteredGroups: sn,
|
|
5442
5442
|
noOptions: fi,
|
|
5443
5443
|
noResults: vi,
|
|
5444
|
-
resolving:
|
|
5444
|
+
resolving: Me,
|
|
5445
5445
|
busy: mi,
|
|
5446
5446
|
offset: qe,
|
|
5447
5447
|
select: Et,
|
|
@@ -5450,15 +5450,15 @@ function i7(t, e, a) {
|
|
|
5450
5450
|
selectAll: yi,
|
|
5451
5451
|
clear: as,
|
|
5452
5452
|
isSelected: ze,
|
|
5453
|
-
isDisabled:
|
|
5454
|
-
isMax:
|
|
5453
|
+
isDisabled: rn,
|
|
5454
|
+
isMax: ln,
|
|
5455
5455
|
getOption: xe,
|
|
5456
5456
|
handleOptionClick: gi,
|
|
5457
5457
|
handleGroupClick: _i,
|
|
5458
5458
|
handleTagRemove: Ci,
|
|
5459
|
-
refreshOptions:
|
|
5459
|
+
refreshOptions: Mi,
|
|
5460
5460
|
resolveOptions: ka,
|
|
5461
|
-
refreshLabels:
|
|
5461
|
+
refreshLabels: pn
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
5464
5464
|
function o7(t, e, a) {
|
|
@@ -5472,7 +5472,7 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: f
|
|
5475
|
-
} =
|
|
5475
|
+
} = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, y = a.search, k = a.pointer, _ = a.setPointer, C = a.clearPointer, D = a.multiselect, L = a.isOpen, H = S(() => d.value.filter((V) => !V[u.value])), F = S(() => h.value.filter((V) => !V[u.value])), U = S(() => l.value !== "single" && c.value), q = S(() => k.value && k.value.group), O = S(() => re(k.value)), x = S(() => {
|
|
5476
5476
|
const V = q.value ? k.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
5478
|
re(k.value)
|
|
@@ -5488,7 +5488,7 @@ function o7(t, e, a) {
|
|
|
5488
5488
|
}), N = S(() => {
|
|
5489
5489
|
const V = re(k.value).__VISIBLE__.filter((X) => !X[u.value]);
|
|
5490
5490
|
return V[V.map((X) => X[n.value]).indexOf(k.value[n.value]) + 1];
|
|
5491
|
-
}),
|
|
5491
|
+
}), M = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), I = (V) => k.value && (!V.group && k.value[n.value] === V[n.value] || V.group !== void 0 && k.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
|
|
5492
5492
|
_(H.value[0] || null);
|
|
5493
5493
|
}, ae = () => {
|
|
5494
5494
|
!k.value || k.value[u.value] === !0 || (q.value ? b(k.value) : w(k.value));
|
|
@@ -5511,8 +5511,8 @@ function o7(t, e, a) {
|
|
|
5511
5511
|
let V = H.value[H.value.length - 1];
|
|
5512
5512
|
r.value && U.value && (V = m.value, V === void 0 && (V = Z.value)), _(V || null);
|
|
5513
5513
|
} else if (r.value && U.value) {
|
|
5514
|
-
let V = q.value ?
|
|
5515
|
-
V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V =
|
|
5514
|
+
let V = q.value ? M.value : E.value;
|
|
5515
|
+
V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V = M.value, V === void 0 && (V = x.value))), _(V || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
5518
|
let V = H.value.map((X) => X[n.value]).indexOf(k.value[n.value]) - 1;
|
|
@@ -5559,7 +5559,7 @@ function Se(t) {
|
|
|
5559
5559
|
}
|
|
5560
5560
|
return t;
|
|
5561
5561
|
}
|
|
5562
|
-
function
|
|
5562
|
+
function At(t) {
|
|
5563
5563
|
var e = Se(t).Element;
|
|
5564
5564
|
return t instanceof e || t instanceof Element;
|
|
5565
5565
|
}
|
|
@@ -5574,20 +5574,20 @@ function Bn(t) {
|
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
5576
|
var kt = Math.max, Na = Math.min, Zt = Math.round;
|
|
5577
|
-
function
|
|
5577
|
+
function yn() {
|
|
5578
5578
|
var t = navigator.userAgentData;
|
|
5579
5579
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5580
5580
|
return e.brand + "/" + e.version;
|
|
5581
5581
|
}).join(" ") : navigator.userAgent;
|
|
5582
5582
|
}
|
|
5583
5583
|
function ni() {
|
|
5584
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5584
|
+
return !/^((?!chrome|android).)*safari/i.test(yn());
|
|
5585
5585
|
}
|
|
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
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
|
-
var i =
|
|
5590
|
+
var i = At(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,
|
|
5593
5593
|
height: d,
|
|
@@ -5619,7 +5619,7 @@ function Ze(t) {
|
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5620
5620
|
}
|
|
5621
5621
|
function gt(t) {
|
|
5622
|
-
return ((
|
|
5622
|
+
return ((At(t) ? t.ownerDocument : (
|
|
5623
5623
|
// $FlowFixMe[prop-missing]
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
@@ -5664,7 +5664,7 @@ function si(t) {
|
|
|
5664
5664
|
height: n
|
|
5665
5665
|
};
|
|
5666
5666
|
}
|
|
5667
|
-
function
|
|
5667
|
+
function en(t) {
|
|
5668
5668
|
return Ze(t) === "html" ? t : (
|
|
5669
5669
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5670
5670
|
// $FlowFixMe[incompatible-return]
|
|
@@ -5677,7 +5677,7 @@ function Ja(t) {
|
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(en(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
@@ -5685,7 +5685,7 @@ function ia(t, e) {
|
|
|
5685
5685
|
var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], jn(n) ? n : []) : n, r = e.concat(i);
|
|
5686
5686
|
return s ? r : (
|
|
5687
5687
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
|
-
r.concat(ia(
|
|
5688
|
+
r.concat(ia(en(i)))
|
|
5689
5689
|
);
|
|
5690
5690
|
}
|
|
5691
5691
|
function d7(t) {
|
|
@@ -5696,13 +5696,13 @@ function gs(t) {
|
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function p7(t) {
|
|
5699
|
-
var e = /firefox/i.test(
|
|
5699
|
+
var e = /firefox/i.test(yn()), a = /Trident/i.test(yn());
|
|
5700
5700
|
if (a && Pe(t)) {
|
|
5701
5701
|
var n = tt(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
|
-
var s =
|
|
5705
|
+
var s = en(t);
|
|
5706
5706
|
for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ze(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")
|
|
@@ -5711,17 +5711,17 @@ function p7(t) {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
|
-
function
|
|
5714
|
+
function tn(t) {
|
|
5715
5715
|
for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
|
|
5716
5716
|
a = gs(a);
|
|
5717
5717
|
return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto",
|
|
5719
|
+
var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", an = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ an.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
|
-
}, []), h7 = /* @__PURE__ */ [].concat(
|
|
5721
|
+
}, []), h7 = /* @__PURE__ */ [].concat(an, [Fn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
5723
|
}, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
|
|
5724
|
-
function
|
|
5724
|
+
function A7(t) {
|
|
5725
5725
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), n = [];
|
|
5726
5726
|
t.forEach(function(o) {
|
|
5727
5727
|
e.set(o.name, o);
|
|
@@ -5740,8 +5740,8 @@ function M7(t) {
|
|
|
5740
5740
|
a.has(o.name) || s(o);
|
|
5741
5741
|
}), n;
|
|
5742
5742
|
}
|
|
5743
|
-
function
|
|
5744
|
-
var e =
|
|
5743
|
+
function M7(t) {
|
|
5744
|
+
var e = A7(t);
|
|
5745
5745
|
return S7.reduce(function(a, n) {
|
|
5746
5746
|
return a.concat(e.filter(function(s) {
|
|
5747
5747
|
return s.phase === n;
|
|
@@ -5807,7 +5807,7 @@ function L7(t, e) {
|
|
|
5807
5807
|
}
|
|
5808
5808
|
return !1;
|
|
5809
5809
|
}
|
|
5810
|
-
function
|
|
5810
|
+
function bn(t) {
|
|
5811
5811
|
return Object.assign({}, t, {
|
|
5812
5812
|
left: t.x,
|
|
5813
5813
|
top: t.y,
|
|
@@ -5820,12 +5820,12 @@ function H7(t, e) {
|
|
|
5820
5820
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5821
5821
|
}
|
|
5822
5822
|
function ys(t, e, a) {
|
|
5823
|
-
return e === oi ?
|
|
5823
|
+
return e === oi ? bn(E7(t, a)) : At(e) ? H7(e, a) : bn(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
|
-
var e = ia(
|
|
5827
|
-
return
|
|
5828
|
-
return
|
|
5826
|
+
var e = ia(en(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? tn(t) : t;
|
|
5827
|
+
return At(n) ? e.filter(function(s) {
|
|
5828
|
+
return At(s) && L7(s, n) && Ze(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
5831
|
function P7(t, e, a, n) {
|
|
@@ -5909,12 +5909,12 @@ 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, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y,
|
|
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, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, an)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), F = li({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: C,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), U =
|
|
5917
|
+
}), U = bn(Object.assign({}, C, F)), q = d === sa ? U : H, O = {
|
|
5918
5918
|
top: L.top - q.top + k.top,
|
|
5919
5919
|
bottom: q.bottom - L.bottom + k.bottom,
|
|
5920
5920
|
left: L.left - q.left + k.left,
|
|
@@ -5962,10 +5962,10 @@ function R7(t) {
|
|
|
5962
5962
|
setOptions: function(k) {
|
|
5963
5963
|
var _ = typeof k == "function" ? k(u.options) : k;
|
|
5964
5964
|
b(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5965
|
-
reference:
|
|
5965
|
+
reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
|
|
5966
5966
|
popper: ia(l)
|
|
5967
5967
|
};
|
|
5968
|
-
var C =
|
|
5968
|
+
var C = M7(O7([].concat(n, u.options.modifiers)));
|
|
5969
5969
|
return u.orderedModifiers = C.filter(function(D) {
|
|
5970
5970
|
return D.enabled;
|
|
5971
5971
|
}), w(), h.update();
|
|
@@ -5980,7 +5980,7 @@ function R7(t) {
|
|
|
5980
5980
|
var k = u.elements, _ = k.reference, C = k.popper;
|
|
5981
5981
|
if (ws(_, C)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
|
-
reference: c7(_,
|
|
5983
|
+
reference: c7(_, tn(C), u.options.strategy === "fixed"),
|
|
5984
5984
|
popper: si(C)
|
|
5985
5985
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(O) {
|
|
5986
5986
|
return u.modifiersData[O.name] = Object.assign({}, O.data);
|
|
@@ -6101,7 +6101,7 @@ function $s(t) {
|
|
|
6101
6101
|
h = y.x, b = y.y;
|
|
6102
6102
|
var k = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Ge, D = Re, L = window;
|
|
6103
6103
|
if (c) {
|
|
6104
|
-
var H =
|
|
6104
|
+
var H = tn(a), F = "clientHeight", U = "clientWidth";
|
|
6105
6105
|
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6106
6106
|
D = We;
|
|
6107
6107
|
var q = f && H === L && L.visualViewport ? L.visualViewport.height : (
|
|
@@ -6238,14 +6238,14 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width",
|
|
6241
|
+
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], I = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow &&
|
|
6245
|
-
H[D] = ya, R[D] = ya -
|
|
6244
|
+
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, nn = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, nn) : m, M, h ? kt(I, st) : I);
|
|
6245
|
+
H[D] = ya, R[D] = ya - M;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge,
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = H[L], qe = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Me], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[L]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + O.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
H[L] = wa, R[L] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = R;
|
|
@@ -6281,7 +6281,7 @@ function sp(t, e) {
|
|
|
6281
6281
|
e === void 0 && (e = {});
|
|
6282
6282
|
var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? h7 : l, u = zt(n), f = u ? r ? _s : _s.filter(function(w) {
|
|
6283
6283
|
return zt(w) === u;
|
|
6284
|
-
}) :
|
|
6284
|
+
}) : an, d = f.filter(function(w) {
|
|
6285
6285
|
return c.indexOf(w) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
@@ -6322,10 +6322,10 @@ function op(t) {
|
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}),
|
|
6326
|
-
L[E] > H[E] && (
|
|
6327
|
-
var m = La(
|
|
6328
|
-
if (o && I.push(N[R] <= 0), r && I.push(N[
|
|
6325
|
+
}), M = ie ? Z ? vt : Ge : Z ? We : Re;
|
|
6326
|
+
L[E] > H[E] && (M = La(M));
|
|
6327
|
+
var m = La(M), I = [];
|
|
6328
|
+
if (o && I.push(N[R] <= 0), r && I.push(N[M] <= 0, N[m] <= 0), I.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
q = x, U = !1;
|
|
@@ -6363,7 +6363,7 @@ var rp = {
|
|
|
6363
6363
|
}
|
|
6364
6364
|
};
|
|
6365
6365
|
function lp(t, e, a) {
|
|
6366
|
-
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } =
|
|
6366
|
+
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), f = ee(null), d = ee(null), h = S(() => s.value || o.value), w = S(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), b = () => {
|
|
6367
6367
|
u.value || n.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
|
|
6368
6368
|
k();
|
|
6369
6369
|
}));
|
|
@@ -6437,7 +6437,7 @@ function lp(t, e, a) {
|
|
|
6437
6437
|
};
|
|
6438
6438
|
}
|
|
6439
6439
|
function up(t, e, a) {
|
|
6440
|
-
const { searchable: n, disabled: s, clearOnBlur: o } =
|
|
6440
|
+
const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), b = S(() => n.value || s.value ? -1 : 0), y = () => {
|
|
6441
6441
|
n.value && i.value.blur(), f.value.blur();
|
|
6442
6442
|
}, k = () => {
|
|
6443
6443
|
n.value && !s.value && i.value.focus();
|
|
@@ -6487,7 +6487,7 @@ function cp(t, e, a) {
|
|
|
6487
6487
|
createTag: f,
|
|
6488
6488
|
createOption: d,
|
|
6489
6489
|
reverse: h
|
|
6490
|
-
} =
|
|
6490
|
+
} = Ae(t), w = Mt().proxy, b = a.iv, y = a.update, k = a.deselect, _ = a.search, C = a.setPointer, D = a.selectPointer, L = a.backwardPointer, H = a.forwardPointer, F = a.multiselect, U = a.wrapper, q = a.tags, O = a.isOpen, x = a.open, R = a.blur, Z = a.fo, ie = S(() => f.value || d.value || !1), E = S(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), N = () => {
|
|
6491
6491
|
n.value === "tags" && !r.value && ie.value && i.value && !c.value && C(Z.value[Z.value.map((I) => I[l.value]).indexOf(_.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
@@ -6567,7 +6567,7 @@ function dp(t, e, a) {
|
|
|
6567
6567
|
disabled: s,
|
|
6568
6568
|
showOptions: o,
|
|
6569
6569
|
breakTags: i
|
|
6570
|
-
} =
|
|
6570
|
+
} = Ae(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, b = a.placement, y = S(() => ({
|
|
6571
6571
|
container: "multiselect",
|
|
6572
6572
|
containerDisabled: "is-disabled",
|
|
6573
6573
|
containerOpen: "is-open",
|
|
@@ -6675,7 +6675,7 @@ function pp(t, e, a) {
|
|
|
6675
6675
|
const {
|
|
6676
6676
|
limit: n,
|
|
6677
6677
|
infinite: s
|
|
6678
|
-
} =
|
|
6678
|
+
} = Ae(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = ee(null), f = ee(null), d = S(() => i.value < l.value.length), h = (b) => {
|
|
6679
6679
|
const { isIntersecting: y, target: k } = b[0];
|
|
6680
6680
|
if (y) {
|
|
6681
6681
|
const _ = k.offsetParent, C = _.scrollTop;
|
|
@@ -6709,7 +6709,7 @@ function fp(t, e, a) {
|
|
|
6709
6709
|
groupLabel: l,
|
|
6710
6710
|
aria: c,
|
|
6711
6711
|
searchable: u
|
|
6712
|
-
} =
|
|
6712
|
+
} = Ae(t), f = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, b = ee(null), y = S(() => {
|
|
6713
6713
|
let R = [];
|
|
6714
6714
|
return s && s.value && R.push(s.value), R.push("assist"), R.join("-");
|
|
6715
6715
|
}), k = S(() => {
|
|
@@ -6762,7 +6762,7 @@ function vp(t, e, a) {
|
|
|
6762
6762
|
const {
|
|
6763
6763
|
locale: n,
|
|
6764
6764
|
fallbackLocale: s
|
|
6765
|
-
} =
|
|
6765
|
+
} = Ae(t);
|
|
6766
6766
|
return {
|
|
6767
6767
|
localize: (i) => !i || typeof i != "object" ? i : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && i[s.value] ? i[s.value] : i && s.value && i[s.value.toUpperCase()] ? i[s.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
|
|
6768
6768
|
};
|
|
@@ -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"],
|
|
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"], Ap = ["id", "aria-label", "aria-selected"], Mp = ["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",
|
|
@@ -7473,7 +7473,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7473
7473
|
innerHTML: t.localize(i[a.groupLabel])
|
|
7474
7474
|
}, null, 8, Tp)
|
|
7475
7475
|
])
|
|
7476
|
-
], 42,
|
|
7476
|
+
], 42, Mp)),
|
|
7477
7477
|
v("ul", {
|
|
7478
7478
|
class: K(t.classList.groupOptions),
|
|
7479
7479
|
"aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
|
|
@@ -7513,7 +7513,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7513
7513
|
/* KEYED_FRAGMENT */
|
|
7514
7514
|
))
|
|
7515
7515
|
], 10, Op)
|
|
7516
|
-
], 10,
|
|
7516
|
+
], 10, Ap))),
|
|
7517
7517
|
128
|
|
7518
7518
|
/* KEYED_FRAGMENT */
|
|
7519
7519
|
)) : (p(!0), g(
|
|
@@ -7677,7 +7677,7 @@ function Tt() {
|
|
|
7677
7677
|
};
|
|
7678
7678
|
}
|
|
7679
7679
|
function Np() {
|
|
7680
|
-
const t =
|
|
7680
|
+
const t = Mt();
|
|
7681
7681
|
if (!t)
|
|
7682
7682
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7683
7683
|
return t;
|
|
@@ -7780,7 +7780,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7780
7780
|
key: h.id,
|
|
7781
7781
|
class: "ao-subtask"
|
|
7782
7782
|
}, [
|
|
7783
|
-
((w = f.isCheckable) == null ? void 0 : w.call(f, h)) ?? !1 ? (p(), P(
|
|
7783
|
+
((w = f.isCheckable) == null ? void 0 : w.call(f, h)) ?? !1 ? (p(), P(ue, {
|
|
7784
7784
|
key: 0,
|
|
7785
7785
|
class: "ao-subtask__check",
|
|
7786
7786
|
"icon-name": h.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -7814,7 +7814,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7814
7814
|
onChange: (y) => c(y, h.id)
|
|
7815
7815
|
}, {
|
|
7816
7816
|
tag: W(({ option: y, handleTagRemove: k }) => [
|
|
7817
|
-
|
|
7817
|
+
A(Je, {
|
|
7818
7818
|
"user-name": y.label,
|
|
7819
7819
|
"avatar-url": y.avatar,
|
|
7820
7820
|
"is-closable": !0,
|
|
@@ -7823,7 +7823,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7823
7823
|
]),
|
|
7824
7824
|
_: 2
|
|
7825
7825
|
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
|
|
7826
|
-
f.isEditable ? (p(), P(
|
|
7826
|
+
f.isEditable ? (p(), P(ue, {
|
|
7827
7827
|
key: 2,
|
|
7828
7828
|
class: "ao-subtask__delete",
|
|
7829
7829
|
"icon-name": "CancelRounded",
|
|
@@ -7836,7 +7836,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7836
7836
|
}), 128))
|
|
7837
7837
|
]),
|
|
7838
7838
|
v("div", Zp, [
|
|
7839
|
-
f.isEditable ? (p(), P(
|
|
7839
|
+
f.isEditable ? (p(), P(ue, {
|
|
7840
7840
|
key: 0,
|
|
7841
7841
|
label: f.$t("activity.tasks.add"),
|
|
7842
7842
|
"icon-name": "Add",
|
|
@@ -7869,7 +7869,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7869
7869
|
o.forEach((u) => {
|
|
7870
7870
|
document.body.addEventListener(u, (f) => f.preventDefault());
|
|
7871
7871
|
});
|
|
7872
|
-
}),
|
|
7872
|
+
}), kn(() => {
|
|
7873
7873
|
o.forEach((u) => {
|
|
7874
7874
|
document.body.removeEventListener(
|
|
7875
7875
|
u,
|
|
@@ -7919,14 +7919,14 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7919
7919
|
target: "_blank",
|
|
7920
7920
|
rel: "noopener noreferrer"
|
|
7921
7921
|
}, [
|
|
7922
|
-
|
|
7922
|
+
A(pe, {
|
|
7923
7923
|
class: "ao-file__icon",
|
|
7924
7924
|
name: "AttachFileRounded",
|
|
7925
7925
|
size: "sm"
|
|
7926
7926
|
}),
|
|
7927
7927
|
v("span", Kp, G(d.name), 1)
|
|
7928
7928
|
], 8, Yp),
|
|
7929
|
-
u.isEditable ? (p(), P(
|
|
7929
|
+
u.isEditable ? (p(), P(ue, {
|
|
7930
7930
|
key: 0,
|
|
7931
7931
|
class: "ao-files__delete-button",
|
|
7932
7932
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -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
|
+
A(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
|
b.isEditable ? (p(), g("div", lf, [
|
|
8032
8032
|
Q(o) ? (p(), g(ve, { key: 0 }, [
|
|
8033
|
-
|
|
8033
|
+
A(ue, {
|
|
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
|
+
A(ue, {
|
|
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
|
+
A(ue, {
|
|
8050
8050
|
label: b.$t("activity.comment.delete"),
|
|
8051
8051
|
size: "sm",
|
|
8052
8052
|
variant: "ghost",
|
|
8053
8053
|
color: "neutral",
|
|
8054
8054
|
onClick: h
|
|
8055
8055
|
}, null, 8, ["label"]),
|
|
8056
|
-
|
|
8056
|
+
A(ue, {
|
|
8057
8057
|
label: b.$t("activity.comment.edit"),
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
@@ -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
|
+
A(ue, {
|
|
8133
8133
|
type: "submit",
|
|
8134
8134
|
"icon-name": "SendRounded",
|
|
8135
8135
|
color: "primary",
|
|
@@ -8157,7 +8157,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
8159
8159
|
});
|
|
8160
|
-
const
|
|
8160
|
+
const wn = /* @__PURE__ */ z({
|
|
8161
8161
|
__name: "AoButtonCheck",
|
|
8162
8162
|
props: {
|
|
8163
8163
|
modelValue: { type: Boolean },
|
|
@@ -8168,8 +8168,8 @@ const bn = /* @__PURE__ */ z({
|
|
|
8168
8168
|
const a = t, n = () => {
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
|
-
return (s, o) => (p(), P(
|
|
8172
|
-
color: s.modelValue ? s.color : Q(
|
|
8171
|
+
return (s, o) => (p(), P(ue, {
|
|
8172
|
+
color: s.modelValue ? s.color : Q(An).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8183,7 +8183,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
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" },
|
|
8186
|
+
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" }, Af = { class: "ao-fieldset" }, Mf = { 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 bn = /* @__PURE__ */ z({
|
|
|
8395
8395
|
e("updateComment", m);
|
|
8396
8396
|
}, N = (m) => {
|
|
8397
8397
|
e("removeComment", m);
|
|
8398
|
-
},
|
|
8398
|
+
}, M = S(() => {
|
|
8399
8399
|
var m, I;
|
|
8400
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((I = a.activity.createdBy) == null ? void 0 : I.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
@@ -8408,8 +8408,18 @@ const bn = /* @__PURE__ */ z({
|
|
|
8408
8408
|
v("div", mf, [
|
|
8409
8409
|
v("div", Cf, [
|
|
8410
8410
|
v("div", gf, [
|
|
8411
|
+
A(ue, { class: "ao-button--primary" }, {
|
|
8412
|
+
default: W(() => [
|
|
8413
|
+
(p(), P(qa, {
|
|
8414
|
+
key: 0,
|
|
8415
|
+
label: "slug",
|
|
8416
|
+
variant: "solid"
|
|
8417
|
+
}))
|
|
8418
|
+
]),
|
|
8419
|
+
_: 1
|
|
8420
|
+
}),
|
|
8411
8421
|
m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
|
|
8412
|
-
|
|
8422
|
+
A(ye, {
|
|
8413
8423
|
title: m.activity.name || "",
|
|
8414
8424
|
level: 4,
|
|
8415
8425
|
"is-editable": n.value,
|
|
@@ -8418,7 +8428,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8418
8428
|
v("div", yf, [
|
|
8419
8429
|
U.value ? (p(), g("label", bf, [
|
|
8420
8430
|
v("span", wf, G(m.$t("activity.project.label")), 1),
|
|
8421
|
-
|
|
8431
|
+
A($e, {
|
|
8422
8432
|
options: U.value,
|
|
8423
8433
|
value: (J = m.activity.project) == null ? void 0 : J.id,
|
|
8424
8434
|
searchable: !0,
|
|
@@ -8429,7 +8439,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8429
8439
|
])) : T("", !0),
|
|
8430
8440
|
q.value ? (p(), g("label", $f, [
|
|
8431
8441
|
v("span", kf, G(m.$t("activity.milestone.label")), 1),
|
|
8432
|
-
|
|
8442
|
+
A($e, {
|
|
8433
8443
|
options: q.value,
|
|
8434
8444
|
value: (ae = m.activity.milestone) == null ? void 0 : ae.id,
|
|
8435
8445
|
searchable: !0,
|
|
@@ -8442,9 +8452,9 @@ const bn = /* @__PURE__ */ z({
|
|
|
8442
8452
|
te(m.$slots, "header")
|
|
8443
8453
|
]),
|
|
8444
8454
|
v("div", Sf, [
|
|
8445
|
-
v("fieldset",
|
|
8446
|
-
v("div",
|
|
8447
|
-
|
|
8455
|
+
v("fieldset", Af, [
|
|
8456
|
+
v("div", Mf, [
|
|
8457
|
+
A(af, {
|
|
8448
8458
|
attachments: m.activity.attachments,
|
|
8449
8459
|
"is-editable": m.attachmentEnabled && n.value && m.isTemplate !== !0 && !!m.userId,
|
|
8450
8460
|
onAdd: H,
|
|
@@ -8499,14 +8509,14 @@ const bn = /* @__PURE__ */ z({
|
|
|
8499
8509
|
]),
|
|
8500
8510
|
v("fieldset", Pf, [
|
|
8501
8511
|
v("div", Vf, [
|
|
8502
|
-
|
|
8503
|
-
|
|
8512
|
+
A(pe, { name: "SelectCheckBox" }),
|
|
8513
|
+
A(ye, {
|
|
8504
8514
|
level: 4,
|
|
8505
8515
|
title: m.$t("activity.tasks.title")
|
|
8506
8516
|
}, null, 8, ["title"])
|
|
8507
8517
|
]),
|
|
8508
8518
|
v("div", Bf, [
|
|
8509
|
-
|
|
8519
|
+
A(Wp, {
|
|
8510
8520
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8511
8521
|
tasks: m.activity.tasks || [],
|
|
8512
8522
|
"activity-id": m.activity.id,
|
|
@@ -8522,13 +8532,13 @@ const bn = /* @__PURE__ */ z({
|
|
|
8522
8532
|
]),
|
|
8523
8533
|
m.isTemplate !== !0 && m.userId ? (p(), g("div", Rf, [
|
|
8524
8534
|
v("div", Nf, [
|
|
8525
|
-
|
|
8526
|
-
|
|
8535
|
+
A(pe, { name: "ChatOutline" }),
|
|
8536
|
+
A(ye, {
|
|
8527
8537
|
level: 4,
|
|
8528
8538
|
title: m.$t("activity.comments.title")
|
|
8529
8539
|
}, null, 8, ["title"])
|
|
8530
8540
|
]),
|
|
8531
|
-
|
|
8541
|
+
A(hf, {
|
|
8532
8542
|
comments: m.activity.comments,
|
|
8533
8543
|
users: m.users,
|
|
8534
8544
|
"user-id": m.userId,
|
|
@@ -8541,7 +8551,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8541
8551
|
]),
|
|
8542
8552
|
v("div", jf, [
|
|
8543
8553
|
v("div", Ff, [
|
|
8544
|
-
|
|
8554
|
+
A(pe, {
|
|
8545
8555
|
name: "CloseRounded",
|
|
8546
8556
|
onClick: I[2] || (I[2] = (ne) => m.$emit("close"))
|
|
8547
8557
|
})
|
|
@@ -8549,7 +8559,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8549
8559
|
R.value ? (p(), g("div", Uf, [
|
|
8550
8560
|
v("label", Zf, [
|
|
8551
8561
|
v("span", Wf, G(m.$t("activity.status.label")), 1),
|
|
8552
|
-
|
|
8562
|
+
A($e, {
|
|
8553
8563
|
class: "ao-activity-details__multiselect",
|
|
8554
8564
|
options: R.value,
|
|
8555
8565
|
value: (le = m.activity.status) == null ? void 0 : le.id,
|
|
@@ -8564,7 +8574,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8564
8574
|
v("div", qf, [
|
|
8565
8575
|
v("div", zf, [
|
|
8566
8576
|
v("span", xf, G(m.$t("activity.assignee.label")), 1),
|
|
8567
|
-
|
|
8577
|
+
A($e, {
|
|
8568
8578
|
modelValue: L.value,
|
|
8569
8579
|
"onUpdate:modelValue": I[3] || (I[3] = (ne) => L.value = ne),
|
|
8570
8580
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
@@ -8581,7 +8591,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8581
8591
|
option: ne,
|
|
8582
8592
|
handleTagRemove: re
|
|
8583
8593
|
}) => [
|
|
8584
|
-
|
|
8594
|
+
A(Je, {
|
|
8585
8595
|
"user-name": ne.label,
|
|
8586
8596
|
"avatar-url": ne.avatar,
|
|
8587
8597
|
"is-closable": !0,
|
|
@@ -8615,7 +8625,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8615
8625
|
v("div", Jf, [
|
|
8616
8626
|
u.value ? (p(), g("div", ev, [
|
|
8617
8627
|
v("label", tv, [
|
|
8618
|
-
|
|
8628
|
+
A($e, {
|
|
8619
8629
|
modelValue: f.value,
|
|
8620
8630
|
"onUpdate:modelValue": I[5] || (I[5] = (ne) => f.value = ne),
|
|
8621
8631
|
class: "ao-activity-details__multiselect",
|
|
@@ -8631,7 +8641,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8631
8641
|
te(m.$slots, "default", { activity: m.activity })
|
|
8632
8642
|
]),
|
|
8633
8643
|
v("div", av, [
|
|
8634
|
-
|
|
8644
|
+
A(wn, {
|
|
8635
8645
|
modelValue: r.value,
|
|
8636
8646
|
"onUpdate:modelValue": I[6] || (I[6] = (ne) => r.value = ne),
|
|
8637
8647
|
modelModifiers: { lazy: !0 },
|
|
@@ -8646,7 +8656,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8646
8656
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8647
8657
|
]),
|
|
8648
8658
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", nv, [
|
|
8649
|
-
|
|
8659
|
+
A(wn, {
|
|
8650
8660
|
modelValue: l.value,
|
|
8651
8661
|
"onUpdate:modelValue": I[7] || (I[7] = (ne) => l.value = ne),
|
|
8652
8662
|
modelModifiers: { lazy: !0 },
|
|
@@ -8661,8 +8671,8 @@ const bn = /* @__PURE__ */ z({
|
|
|
8661
8671
|
])) : T("", !0),
|
|
8662
8672
|
v("fieldset", sv, [
|
|
8663
8673
|
v("div", iv, [
|
|
8664
|
-
|
|
8665
|
-
|
|
8674
|
+
A(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8675
|
+
A(ye, {
|
|
8666
8676
|
level: 4,
|
|
8667
8677
|
title: m.$t("activity.dependencies.title")
|
|
8668
8678
|
}, null, 8, ["title"])
|
|
@@ -8671,7 +8681,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8671
8681
|
v("div", rv, [
|
|
8672
8682
|
v("label", lv, [
|
|
8673
8683
|
v("span", uv, G(m.$t("activity.dependingOn.label")), 1),
|
|
8674
|
-
|
|
8684
|
+
A($e, {
|
|
8675
8685
|
modelValue: h.value,
|
|
8676
8686
|
"onUpdate:modelValue": I[8] || (I[8] = (ne) => h.value = ne),
|
|
8677
8687
|
class: "ao-activity-details__multiselect",
|
|
@@ -8687,7 +8697,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8687
8697
|
v("div", cv, [
|
|
8688
8698
|
v("label", dv, [
|
|
8689
8699
|
v("span", pv, G(m.$t("activity.blocking.label")), 1),
|
|
8690
|
-
|
|
8700
|
+
A($e, {
|
|
8691
8701
|
modelValue: b.value,
|
|
8692
8702
|
"onUpdate:modelValue": I[9] || (I[9] = (ne) => b.value = ne),
|
|
8693
8703
|
class: "ao-activity-details__multiselect",
|
|
@@ -8702,13 +8712,13 @@ const bn = /* @__PURE__ */ z({
|
|
|
8702
8712
|
])
|
|
8703
8713
|
])
|
|
8704
8714
|
]),
|
|
8705
|
-
m.isTemplate !== !0 &&
|
|
8715
|
+
m.isTemplate !== !0 && M.value ? (p(), g("div", fv, [
|
|
8706
8716
|
v("div", vv, [
|
|
8707
|
-
|
|
8708
|
-
"user-name":
|
|
8717
|
+
A(Je, {
|
|
8718
|
+
"user-name": M.value,
|
|
8709
8719
|
color: "black"
|
|
8710
8720
|
}, null, 8, ["user-name"]),
|
|
8711
|
-
v("span", null, G(
|
|
8721
|
+
v("span", null, G(M.value), 1)
|
|
8712
8722
|
])
|
|
8713
8723
|
])) : T("", !0)
|
|
8714
8724
|
])
|
|
@@ -8795,22 +8805,22 @@ const hv = /* @__PURE__ */ z({
|
|
|
8795
8805
|
}), y = S(() => Object.values(j2));
|
|
8796
8806
|
return (k, _) => (p(), P(ht(k.tagName), { class: "ao-rule-line" }, {
|
|
8797
8807
|
default: W(() => [
|
|
8798
|
-
|
|
8808
|
+
A(Q(lt), {
|
|
8799
8809
|
modelValue: s.value,
|
|
8800
8810
|
"onUpdate:modelValue": _[0] || (_[0] = (C) => s.value = C),
|
|
8801
8811
|
options: o.value
|
|
8802
8812
|
}, null, 8, ["modelValue", "options"]),
|
|
8803
|
-
|
|
8813
|
+
A(Q(lt), {
|
|
8804
8814
|
modelValue: i.value,
|
|
8805
8815
|
"onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
|
|
8806
8816
|
options: r.value
|
|
8807
8817
|
}, null, 8, ["modelValue", "options"]),
|
|
8808
|
-
|
|
8818
|
+
A(Q(lt), {
|
|
8809
8819
|
modelValue: d.value,
|
|
8810
8820
|
"onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
|
|
8811
8821
|
options: h.value
|
|
8812
8822
|
}, null, 8, ["modelValue", "options"]),
|
|
8813
|
-
|
|
8823
|
+
A(Q(lt), {
|
|
8814
8824
|
modelValue: c.value,
|
|
8815
8825
|
"onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
|
|
8816
8826
|
options: u.value
|
|
@@ -8827,12 +8837,12 @@ const hv = /* @__PURE__ */ z({
|
|
|
8827
8837
|
{ number: !0 }
|
|
8828
8838
|
]
|
|
8829
8839
|
]),
|
|
8830
|
-
|
|
8840
|
+
A(Q(lt), {
|
|
8831
8841
|
modelValue: b.value,
|
|
8832
8842
|
"onUpdate:modelValue": _[5] || (_[5] = (C) => b.value = C),
|
|
8833
8843
|
options: y.value
|
|
8834
8844
|
}, null, 8, ["modelValue", "options"]),
|
|
8835
|
-
|
|
8845
|
+
A(ue, {
|
|
8836
8846
|
class: "ao-rule-line__remove",
|
|
8837
8847
|
"icon-name": "CloseRounded",
|
|
8838
8848
|
variant: "ghost",
|
|
@@ -8861,7 +8871,7 @@ const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rule
|
|
|
8861
8871
|
};
|
|
8862
8872
|
return (s, o) => (p(), P(In, null, {
|
|
8863
8873
|
header: W(() => [
|
|
8864
|
-
|
|
8874
|
+
A(ye, {
|
|
8865
8875
|
title: s.$t("template.rules.title"),
|
|
8866
8876
|
level: 2
|
|
8867
8877
|
}, null, 8, ["title"])
|
|
@@ -8879,7 +8889,7 @@ const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rule
|
|
|
8879
8889
|
onClose: () => n(i.id)
|
|
8880
8890
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8881
8891
|
]),
|
|
8882
|
-
|
|
8892
|
+
A(Ct, {
|
|
8883
8893
|
label: s.$t("template.rules.add"),
|
|
8884
8894
|
"icon-name": "Add",
|
|
8885
8895
|
onClick: a
|
|
@@ -8900,7 +8910,7 @@ function Bt(t, e, a) {
|
|
|
8900
8910
|
const _v = {
|
|
8901
8911
|
key: 0,
|
|
8902
8912
|
class: "ao-template-details"
|
|
8903
|
-
}, yv = { class: "ao-template-details__body" }, bv = { class: "ao-template-details__cols" }, wv = { class: "ao-template-details__col" }, $v = { class: "ao-list__footer" }, kv = { class: "ao-template-details__col" }, Sv = { class: "ao-template-details__col" },
|
|
8913
|
+
}, yv = { class: "ao-template-details__body" }, bv = { class: "ao-template-details__cols" }, wv = { class: "ao-template-details__col" }, $v = { class: "ao-list__footer" }, kv = { class: "ao-template-details__col" }, Sv = { class: "ao-template-details__col" }, Av = /* @__PURE__ */ z({
|
|
8904
8914
|
__name: "AoTemplateDetails",
|
|
8905
8915
|
props: {
|
|
8906
8916
|
templateId: {},
|
|
@@ -8915,8 +8925,8 @@ const _v = {
|
|
|
8915
8925
|
setup(t, { emit: e }) {
|
|
8916
8926
|
const a = t, { t: n } = Tt(), s = S(
|
|
8917
8927
|
() => {
|
|
8918
|
-
var
|
|
8919
|
-
return (
|
|
8928
|
+
var M;
|
|
8929
|
+
return (M = a.templates) == null ? void 0 : M.find((m) => m.id === a.templateId);
|
|
8920
8930
|
}
|
|
8921
8931
|
), o = ee(!1);
|
|
8922
8932
|
de(
|
|
@@ -8924,50 +8934,50 @@ const _v = {
|
|
|
8924
8934
|
() => o.value = !1
|
|
8925
8935
|
), de(
|
|
8926
8936
|
() => {
|
|
8927
|
-
var
|
|
8928
|
-
return (
|
|
8937
|
+
var M;
|
|
8938
|
+
return (M = s.value) == null ? void 0 : M.phases;
|
|
8929
8939
|
},
|
|
8930
|
-
(
|
|
8931
|
-
o.value && Xe(
|
|
8940
|
+
(M, m) => {
|
|
8941
|
+
o.value && Xe(M, m);
|
|
8932
8942
|
}
|
|
8933
8943
|
);
|
|
8934
8944
|
const i = S(() => {
|
|
8935
|
-
var
|
|
8936
|
-
return (m = (
|
|
8945
|
+
var M, m;
|
|
8946
|
+
return (m = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : m.find((I) => I.id === a.phaseId);
|
|
8937
8947
|
});
|
|
8938
8948
|
de(
|
|
8939
8949
|
() => {
|
|
8940
|
-
var
|
|
8941
|
-
return (
|
|
8950
|
+
var M;
|
|
8951
|
+
return (M = i.value) == null ? void 0 : M.milestones;
|
|
8942
8952
|
},
|
|
8943
|
-
(
|
|
8944
|
-
o.value && Xe(
|
|
8953
|
+
(M, m) => {
|
|
8954
|
+
o.value && Xe(M, m);
|
|
8945
8955
|
}
|
|
8946
8956
|
);
|
|
8947
8957
|
const r = S(() => {
|
|
8948
|
-
var
|
|
8949
|
-
return (m = (
|
|
8958
|
+
var M, m;
|
|
8959
|
+
return (m = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : m.find(
|
|
8950
8960
|
(I) => I.id === a.milestoneId
|
|
8951
8961
|
);
|
|
8952
8962
|
});
|
|
8953
8963
|
de(
|
|
8954
8964
|
() => {
|
|
8955
|
-
var
|
|
8956
|
-
return (
|
|
8965
|
+
var M;
|
|
8966
|
+
return (M = r.value) == null ? void 0 : M.activities;
|
|
8957
8967
|
},
|
|
8958
|
-
(
|
|
8959
|
-
o.value && Xe(
|
|
8968
|
+
(M, m) => {
|
|
8969
|
+
o.value && Xe(M, m);
|
|
8960
8970
|
}
|
|
8961
8971
|
);
|
|
8962
8972
|
const l = S(() => {
|
|
8963
|
-
var
|
|
8964
|
-
return ((m = (
|
|
8973
|
+
var M, m;
|
|
8974
|
+
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
|
|
8965
8975
|
const ae = J.milestones || [];
|
|
8966
8976
|
return [...I, ...ae];
|
|
8967
8977
|
}, [])) || [];
|
|
8968
8978
|
}), c = S(() => {
|
|
8969
|
-
var
|
|
8970
|
-
return ((m = (
|
|
8979
|
+
var M, m;
|
|
8980
|
+
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
|
|
8971
8981
|
const le = (J.milestones || []).reduce(
|
|
8972
8982
|
(ne, re) => re.activities ? [...ne, ...re.activities] : ne,
|
|
8973
8983
|
[]
|
|
@@ -8975,17 +8985,17 @@ const _v = {
|
|
|
8975
8985
|
return [...I, ...le];
|
|
8976
8986
|
}, [])) || [];
|
|
8977
8987
|
}), u = S(() => {
|
|
8978
|
-
var
|
|
8979
|
-
return (m = (
|
|
8988
|
+
var M, m;
|
|
8989
|
+
return (m = (M = r.value) == null ? void 0 : M.activities) == null ? void 0 : m.find(
|
|
8980
8990
|
(I) => I.id === a.activityId
|
|
8981
8991
|
);
|
|
8982
8992
|
}), f = S(() => {
|
|
8983
|
-
var
|
|
8984
|
-
return ((
|
|
8993
|
+
var M;
|
|
8994
|
+
return ((M = s.value) == null ? void 0 : M.name) || a.templateId;
|
|
8985
8995
|
}), d = () => {
|
|
8986
8996
|
if (!s.value)
|
|
8987
8997
|
return;
|
|
8988
|
-
const { name:
|
|
8998
|
+
const { name: M, rank: m } = Bt(
|
|
8989
8999
|
s.value.phases,
|
|
8990
9000
|
"phase",
|
|
8991
9001
|
n
|
|
@@ -8994,35 +9004,35 @@ const _v = {
|
|
|
8994
9004
|
type: Ce.PHASES,
|
|
8995
9005
|
templateId: a.templateId,
|
|
8996
9006
|
item: {
|
|
8997
|
-
name:
|
|
9007
|
+
name: M,
|
|
8998
9008
|
rank: m
|
|
8999
9009
|
}
|
|
9000
9010
|
});
|
|
9001
|
-
}, h = (
|
|
9011
|
+
}, h = (M) => {
|
|
9002
9012
|
e("updateItem", {
|
|
9003
9013
|
templateId: a.templateId,
|
|
9004
9014
|
id: a.templateId,
|
|
9005
9015
|
itemType: Ce.TEMPLATES,
|
|
9006
|
-
data: { name:
|
|
9016
|
+
data: { name: M }
|
|
9007
9017
|
});
|
|
9008
|
-
}, w = (
|
|
9018
|
+
}, w = (M) => {
|
|
9009
9019
|
e("removeItem", {
|
|
9010
9020
|
type: Ce.PHASES,
|
|
9011
9021
|
templateId: a.templateId,
|
|
9012
9022
|
data: {
|
|
9013
|
-
id:
|
|
9023
|
+
id: M
|
|
9014
9024
|
}
|
|
9015
9025
|
});
|
|
9016
|
-
}, b = (
|
|
9026
|
+
}, b = (M, m) => {
|
|
9017
9027
|
e("updateItem", {
|
|
9018
9028
|
templateId: a.templateId,
|
|
9019
|
-
id:
|
|
9029
|
+
id: M,
|
|
9020
9030
|
itemType: Ce.PHASES,
|
|
9021
9031
|
data: { name: m }
|
|
9022
9032
|
});
|
|
9023
|
-
}, y = (
|
|
9024
|
-
e("updateItem",
|
|
9025
|
-
}, k = (
|
|
9033
|
+
}, y = (M) => {
|
|
9034
|
+
e("updateItem", M);
|
|
9035
|
+
}, k = (M) => {
|
|
9026
9036
|
if (!i.value)
|
|
9027
9037
|
return;
|
|
9028
9038
|
const { name: m, rank: I } = Bt(
|
|
@@ -9033,32 +9043,32 @@ const _v = {
|
|
|
9033
9043
|
o.value = !0, e("addItem", {
|
|
9034
9044
|
type: Ce.MILESTONES,
|
|
9035
9045
|
templateId: a.templateId,
|
|
9036
|
-
phaseId:
|
|
9046
|
+
phaseId: M.phaseId,
|
|
9037
9047
|
item: {
|
|
9038
9048
|
name: m,
|
|
9039
9049
|
rank: I,
|
|
9040
|
-
phaseId:
|
|
9050
|
+
phaseId: M.phaseId
|
|
9041
9051
|
}
|
|
9042
9052
|
});
|
|
9043
|
-
}, _ = (
|
|
9053
|
+
}, _ = (M) => {
|
|
9044
9054
|
e("removeItem", {
|
|
9045
9055
|
type: Ce.MILESTONES,
|
|
9046
9056
|
templateId: a.templateId,
|
|
9047
|
-
phaseId:
|
|
9057
|
+
phaseId: M.phaseId,
|
|
9048
9058
|
data: {
|
|
9049
|
-
id:
|
|
9059
|
+
id: M.id
|
|
9050
9060
|
}
|
|
9051
9061
|
});
|
|
9052
|
-
}, C = (
|
|
9053
|
-
const { id: m, ...I } =
|
|
9062
|
+
}, C = (M) => {
|
|
9063
|
+
const { id: m, ...I } = M;
|
|
9054
9064
|
e("updateItem", {
|
|
9055
9065
|
itemType: Ce.MILESTONES,
|
|
9056
9066
|
id: m,
|
|
9057
9067
|
templateId: a.templateId,
|
|
9058
9068
|
data: I
|
|
9059
9069
|
});
|
|
9060
|
-
}, D = (
|
|
9061
|
-
const { milestoneId: m } =
|
|
9070
|
+
}, D = (M) => {
|
|
9071
|
+
const { milestoneId: m } = M;
|
|
9062
9072
|
if (!r.value)
|
|
9063
9073
|
return;
|
|
9064
9074
|
const { name: I, rank: J } = Bt(
|
|
@@ -9072,7 +9082,7 @@ const _v = {
|
|
|
9072
9082
|
templateId: a.templateId,
|
|
9073
9083
|
item: { name: I, rank: J, milestoneId: m }
|
|
9074
9084
|
});
|
|
9075
|
-
}, L = (
|
|
9085
|
+
}, L = (M) => {
|
|
9076
9086
|
var m, I;
|
|
9077
9087
|
e("removeItem", {
|
|
9078
9088
|
type: Ce.ACTIVITIES,
|
|
@@ -9080,11 +9090,11 @@ const _v = {
|
|
|
9080
9090
|
phaseId: (m = i.value) == null ? void 0 : m.id,
|
|
9081
9091
|
milestoneId: (I = r.value) == null ? void 0 : I.id,
|
|
9082
9092
|
data: {
|
|
9083
|
-
id:
|
|
9093
|
+
id: M.id
|
|
9084
9094
|
}
|
|
9085
9095
|
});
|
|
9086
|
-
}, H = (
|
|
9087
|
-
const { id: m, ...I } =
|
|
9096
|
+
}, H = (M) => {
|
|
9097
|
+
const { id: m, ...I } = M;
|
|
9088
9098
|
e("updateItem", {
|
|
9089
9099
|
itemType: Ce.ACTIVITIES,
|
|
9090
9100
|
id: m,
|
|
@@ -9095,60 +9105,60 @@ const _v = {
|
|
|
9095
9105
|
F.value = !F.value;
|
|
9096
9106
|
}, q = () => {
|
|
9097
9107
|
e("addRule", { templateId: a.templateId });
|
|
9098
|
-
}, O = (
|
|
9099
|
-
e("removeRule", { id:
|
|
9100
|
-
}, x = (
|
|
9108
|
+
}, O = (M) => {
|
|
9109
|
+
e("removeRule", { id: M, templateId: a.templateId });
|
|
9110
|
+
}, x = (M) => {
|
|
9101
9111
|
var m;
|
|
9102
|
-
if (
|
|
9103
|
-
const I = Ca(
|
|
9112
|
+
if (M.moved) {
|
|
9113
|
+
const I = Ca(M, ((m = s.value) == null ? void 0 : m.phases) ?? []);
|
|
9104
9114
|
e("updateItem", {
|
|
9105
9115
|
itemType: Ce.PHASES,
|
|
9106
|
-
id:
|
|
9116
|
+
id: M.moved.element.id,
|
|
9107
9117
|
templateId: a.templateId,
|
|
9108
9118
|
data: {
|
|
9109
9119
|
rank: I
|
|
9110
9120
|
}
|
|
9111
9121
|
});
|
|
9112
9122
|
}
|
|
9113
|
-
}, R = (
|
|
9123
|
+
}, R = (M) => {
|
|
9114
9124
|
!i.value || !r.value || !u.value || e("addItem", {
|
|
9115
9125
|
type: Ce.TASKS,
|
|
9116
|
-
activityId:
|
|
9126
|
+
activityId: M.activityId,
|
|
9117
9127
|
milestoneId: r.value.id,
|
|
9118
9128
|
phaseId: i.value.id,
|
|
9119
9129
|
templateId: a.templateId,
|
|
9120
|
-
item:
|
|
9130
|
+
item: M
|
|
9121
9131
|
});
|
|
9122
|
-
}, Z = (
|
|
9132
|
+
}, Z = (M) => {
|
|
9123
9133
|
!i.value || !r.value || !u.value || e("updateItem", {
|
|
9124
9134
|
itemType: Ce.TASKS,
|
|
9125
|
-
id:
|
|
9135
|
+
id: M.id,
|
|
9126
9136
|
templateId: a.templateId,
|
|
9127
|
-
data:
|
|
9137
|
+
data: M
|
|
9128
9138
|
});
|
|
9129
|
-
}, ie = (
|
|
9139
|
+
}, ie = (M) => {
|
|
9130
9140
|
!i.value || !r.value || !u.value || e("removeItem", {
|
|
9131
9141
|
type: Ce.TASKS,
|
|
9132
9142
|
activityId: u.value.id,
|
|
9133
9143
|
milestoneId: r.value.id,
|
|
9134
9144
|
phaseId: i.value.id,
|
|
9135
9145
|
templateId: a.templateId,
|
|
9136
|
-
data:
|
|
9146
|
+
data: M
|
|
9137
9147
|
});
|
|
9138
|
-
}, E = (
|
|
9139
|
-
e("addFiles",
|
|
9140
|
-
}, N = (
|
|
9141
|
-
e("removeFile",
|
|
9148
|
+
}, E = (M) => {
|
|
9149
|
+
e("addFiles", M);
|
|
9150
|
+
}, N = (M) => {
|
|
9151
|
+
e("removeFile", M);
|
|
9142
9152
|
};
|
|
9143
|
-
return (
|
|
9153
|
+
return (M, m) => {
|
|
9144
9154
|
var I, J, ae, le, ne, re;
|
|
9145
9155
|
return s.value ? (p(), g("div", _v, [
|
|
9146
|
-
|
|
9156
|
+
A(Ga, {
|
|
9147
9157
|
"can-go-back": !0,
|
|
9148
|
-
onGoBack: m[1] || (m[1] = (Y) =>
|
|
9158
|
+
onGoBack: m[1] || (m[1] = (Y) => M.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
|
|
9149
9159
|
}, {
|
|
9150
9160
|
primary: W(() => [
|
|
9151
|
-
|
|
9161
|
+
A(ye, {
|
|
9152
9162
|
title: f.value,
|
|
9153
9163
|
level: 2,
|
|
9154
9164
|
"is-editable": !0,
|
|
@@ -9162,7 +9172,7 @@ const _v = {
|
|
|
9162
9172
|
v("div", yv, [
|
|
9163
9173
|
v("ol", bv, [
|
|
9164
9174
|
v("li", wv, [
|
|
9165
|
-
|
|
9175
|
+
A(Q(mt), {
|
|
9166
9176
|
"model-value": s.value.phases,
|
|
9167
9177
|
class: "ao-templates__list",
|
|
9168
9178
|
"item-key": "id",
|
|
@@ -9170,8 +9180,8 @@ const _v = {
|
|
|
9170
9180
|
onChange: x
|
|
9171
9181
|
}, {
|
|
9172
9182
|
header: W(() => [
|
|
9173
|
-
|
|
9174
|
-
title:
|
|
9183
|
+
A(ye, {
|
|
9184
|
+
title: M.$t("template.phases.title"),
|
|
9175
9185
|
level: 3,
|
|
9176
9186
|
class: "ao-list__title"
|
|
9177
9187
|
}, null, 8, ["title"])
|
|
@@ -9179,14 +9189,14 @@ const _v = {
|
|
|
9179
9189
|
item: W(({ element: Y }) => {
|
|
9180
9190
|
var V;
|
|
9181
9191
|
return [
|
|
9182
|
-
|
|
9192
|
+
A(l5, {
|
|
9183
9193
|
id: Y.id,
|
|
9184
9194
|
name: Y.name,
|
|
9185
9195
|
milestones: Y.milestones,
|
|
9186
9196
|
"is-active": ((V = i.value) == null ? void 0 : V.id) === Y.id,
|
|
9187
9197
|
"is-draggable": !0,
|
|
9188
|
-
onClick: (X) =>
|
|
9189
|
-
params: { templateId:
|
|
9198
|
+
onClick: (X) => M.$router.push({
|
|
9199
|
+
params: { templateId: M.templateId, phaseId: Y.id }
|
|
9190
9200
|
}),
|
|
9191
9201
|
"onUpdate:title": (X) => {
|
|
9192
9202
|
b(Y.id, X);
|
|
@@ -9197,9 +9207,9 @@ const _v = {
|
|
|
9197
9207
|
}),
|
|
9198
9208
|
footer: W(() => [
|
|
9199
9209
|
v("div", $v, [
|
|
9200
|
-
|
|
9210
|
+
A(Ct, {
|
|
9201
9211
|
"icon-name": "AddBoxOutlineRounded",
|
|
9202
|
-
label:
|
|
9212
|
+
label: M.$t("template.phases.add"),
|
|
9203
9213
|
onClick: d
|
|
9204
9214
|
}, null, 8, ["label"])
|
|
9205
9215
|
])
|
|
@@ -9210,7 +9220,7 @@ const _v = {
|
|
|
9210
9220
|
v("li", kv, [
|
|
9211
9221
|
i.value ? (p(), P(d5, {
|
|
9212
9222
|
key: 0,
|
|
9213
|
-
"template-id":
|
|
9223
|
+
"template-id": M.templateId,
|
|
9214
9224
|
phase: i.value,
|
|
9215
9225
|
"milestone-id": (I = r.value) == null ? void 0 : I.id,
|
|
9216
9226
|
onAddMilestone: k,
|
|
@@ -9222,7 +9232,7 @@ const _v = {
|
|
|
9222
9232
|
v("li", Sv, [
|
|
9223
9233
|
i.value && r.value ? (p(), P(v5, {
|
|
9224
9234
|
key: 0,
|
|
9225
|
-
"template-id":
|
|
9235
|
+
"template-id": M.templateId,
|
|
9226
9236
|
"phase-id": (J = i.value) == null ? void 0 : J.id,
|
|
9227
9237
|
milestone: r.value,
|
|
9228
9238
|
"activity-id": (ae = u.value) == null ? void 0 : ae.id,
|
|
@@ -9237,19 +9247,19 @@ const _v = {
|
|
|
9237
9247
|
u.value ? (p(), P(Zn, {
|
|
9238
9248
|
key: 0,
|
|
9239
9249
|
activity: u.value,
|
|
9240
|
-
"activity-types":
|
|
9250
|
+
"activity-types": M.activityTypes,
|
|
9241
9251
|
breadcrumbs: `${s.value.name} / ${(le = i.value) == null ? void 0 : le.name} / ${(ne = r.value) == null ? void 0 : ne.name}`,
|
|
9242
9252
|
"milestone-id": (re = r.value) == null ? void 0 : re.id,
|
|
9243
9253
|
"template-activities": c.value,
|
|
9244
9254
|
"template-milestones": l.value,
|
|
9245
9255
|
"is-template": !0,
|
|
9246
9256
|
"is-editable": !0,
|
|
9247
|
-
users:
|
|
9257
|
+
users: M.users,
|
|
9248
9258
|
"onUpdate:activity": m[2] || (m[2] = (Y) => {
|
|
9249
9259
|
u.value && H(Y);
|
|
9250
9260
|
}),
|
|
9251
9261
|
"attachment-enabled": !1,
|
|
9252
|
-
onClose:
|
|
9262
|
+
onClose: M.$router.back,
|
|
9253
9263
|
onAddSubtask: R,
|
|
9254
9264
|
onUpdateSubtask: Z,
|
|
9255
9265
|
onDeleteSubtask: ie,
|
|
@@ -9257,7 +9267,7 @@ const _v = {
|
|
|
9257
9267
|
onRemoveFile: N
|
|
9258
9268
|
}, {
|
|
9259
9269
|
default: W((Y) => [
|
|
9260
|
-
te(
|
|
9270
|
+
te(M.$slots, "activityDetailsBody", pa(fa(Y)))
|
|
9261
9271
|
]),
|
|
9262
9272
|
_: 3
|
|
9263
9273
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
@@ -9279,7 +9289,7 @@ const _v = {
|
|
|
9279
9289
|
};
|
|
9280
9290
|
}
|
|
9281
9291
|
});
|
|
9282
|
-
const
|
|
9292
|
+
const Mv = {
|
|
9283
9293
|
key: 0,
|
|
9284
9294
|
class: "ao-card__header"
|
|
9285
9295
|
}, Tv = { class: "ao-card__body" }, Ov = {
|
|
@@ -9303,7 +9313,7 @@ const Av = {
|
|
|
9303
9313
|
])
|
|
9304
9314
|
}, {
|
|
9305
9315
|
default: W(() => [
|
|
9306
|
-
e.$slots.header ? (p(), g("header",
|
|
9316
|
+
e.$slots.header ? (p(), g("header", Mv, [
|
|
9307
9317
|
te(e.$slots, "header")
|
|
9308
9318
|
])) : T("", !0),
|
|
9309
9319
|
v("div", Tv, [
|
|
@@ -9372,7 +9382,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9372
9382
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9373
9383
|
}), i = S(() => {
|
|
9374
9384
|
var c;
|
|
9375
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9385
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === Cn.done).length;
|
|
9376
9386
|
}), r = S(() => (i.value || 0) / (o.value || 1)), l = S({
|
|
9377
9387
|
get: () => a.deadline ?? "",
|
|
9378
9388
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9382,7 +9392,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9382
9392
|
"is-clickable": c.isEditable
|
|
9383
9393
|
}, Za({
|
|
9384
9394
|
default: W(() => [
|
|
9385
|
-
|
|
9395
|
+
A(ye, {
|
|
9386
9396
|
id: c.id,
|
|
9387
9397
|
class: "ao-card-project-phase__title",
|
|
9388
9398
|
title: s.value || "",
|
|
@@ -9395,13 +9405,13 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9395
9405
|
v("div", Iv, [
|
|
9396
9406
|
o.value ? (p(), g("div", Lv, [
|
|
9397
9407
|
v("div", Hv, [
|
|
9398
|
-
|
|
9408
|
+
A(pe, {
|
|
9399
9409
|
name: "MountainFlagOutlineRounded",
|
|
9400
9410
|
size: "sm"
|
|
9401
9411
|
}),
|
|
9402
9412
|
v("span", Dv, G(i.value) + " / " + G(o.value), 1)
|
|
9403
9413
|
]),
|
|
9404
|
-
|
|
9414
|
+
A(qn, {
|
|
9405
9415
|
percentages: r.value,
|
|
9406
9416
|
class: "ao-card-project-phase__progress"
|
|
9407
9417
|
}, null, 8, ["percentages"]),
|
|
@@ -9435,7 +9445,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9435
9445
|
name: "header",
|
|
9436
9446
|
fn: W(() => [
|
|
9437
9447
|
v("div", Ev, [
|
|
9438
|
-
|
|
9448
|
+
A(ue, {
|
|
9439
9449
|
class: "ao-card-project-phase__archive",
|
|
9440
9450
|
color: "primary",
|
|
9441
9451
|
variant: "ghost",
|
|
@@ -9521,10 +9531,10 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9521
9531
|
default: W(() => [
|
|
9522
9532
|
v("div", Nv, [
|
|
9523
9533
|
v("div", jv, [
|
|
9524
|
-
|
|
9534
|
+
A(Rv, {
|
|
9525
9535
|
color: l.color || ""
|
|
9526
9536
|
}, null, 8, ["color"]),
|
|
9527
|
-
|
|
9537
|
+
A(ye, {
|
|
9528
9538
|
id: l.id,
|
|
9529
9539
|
title: n.value || "",
|
|
9530
9540
|
level: 5,
|
|
@@ -9534,7 +9544,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9534
9544
|
}, null, 8, ["id", "title", "is-editable"])
|
|
9535
9545
|
]),
|
|
9536
9546
|
!l.readonly && l.isEditable ? (p(), g("div", Fv, [
|
|
9537
|
-
|
|
9547
|
+
A(ue, {
|
|
9538
9548
|
color: l.isSelected ? void 0 : "primary",
|
|
9539
9549
|
variant: "ghost",
|
|
9540
9550
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9550,13 +9560,13 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9550
9560
|
v("div", Zv, [
|
|
9551
9561
|
s.value ? (p(), g(ve, { key: 0 }, [
|
|
9552
9562
|
v("div", Wv, [
|
|
9553
|
-
|
|
9563
|
+
A(pe, {
|
|
9554
9564
|
name: "SelectCheckBox",
|
|
9555
9565
|
size: "sm"
|
|
9556
9566
|
}),
|
|
9557
9567
|
v("span", qv, G(o.value) + " / " + G(s.value), 1)
|
|
9558
9568
|
]),
|
|
9559
|
-
|
|
9569
|
+
A(qn, {
|
|
9560
9570
|
percentages: i.value,
|
|
9561
9571
|
class: "ao-card-project-milestone__progress"
|
|
9562
9572
|
}, null, 8, ["percentages"])
|
|
@@ -9581,7 +9591,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9581
9591
|
v("span", Kv, G(Q(Tn)(l.deadline)), 1)
|
|
9582
9592
|
])) : T("", !0),
|
|
9583
9593
|
l.assignee ? (p(), g("div", Gv, [
|
|
9584
|
-
|
|
9594
|
+
A(Je, {
|
|
9585
9595
|
"user-name": Q(zs)(l.assignee),
|
|
9586
9596
|
"avatar-url": l.assignee.avatarUrl,
|
|
9587
9597
|
color: l.isSelected ? "black" : "primary",
|
|
@@ -9655,13 +9665,13 @@ const Qv = {
|
|
|
9655
9665
|
])
|
|
9656
9666
|
}, [
|
|
9657
9667
|
d.isEditable ? (p(), g("div", Qv, [
|
|
9658
|
-
|
|
9668
|
+
A(pe, {
|
|
9659
9669
|
name: "DragIndicator",
|
|
9660
9670
|
class: "ao-project-phase__drag-handle"
|
|
9661
9671
|
})
|
|
9662
9672
|
])) : T("", !0),
|
|
9663
9673
|
v("div", Jv, [
|
|
9664
|
-
|
|
9674
|
+
A(Bv, {
|
|
9665
9675
|
id: d.phase.id,
|
|
9666
9676
|
milestones: i.value,
|
|
9667
9677
|
name: d.phase.name,
|
|
@@ -9674,7 +9684,7 @@ const Qv = {
|
|
|
9674
9684
|
]),
|
|
9675
9685
|
v("div", e9, [
|
|
9676
9686
|
v("div", t9, [
|
|
9677
|
-
|
|
9687
|
+
A(Q(mt), He({
|
|
9678
9688
|
class: "ao-project-phase__milestones-list",
|
|
9679
9689
|
list: i.value,
|
|
9680
9690
|
disabled: d.readonly || !d.isEditable,
|
|
@@ -9684,7 +9694,7 @@ const Qv = {
|
|
|
9684
9694
|
item: W(({ element: b }) => {
|
|
9685
9695
|
var y;
|
|
9686
9696
|
return [
|
|
9687
|
-
|
|
9697
|
+
A(Xv, {
|
|
9688
9698
|
id: b.id,
|
|
9689
9699
|
name: b.name,
|
|
9690
9700
|
color: b.color,
|
|
@@ -9764,7 +9774,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9764
9774
|
e("addPhase", u);
|
|
9765
9775
|
};
|
|
9766
9776
|
return (u, f) => (p(), g("div", s9, [
|
|
9767
|
-
|
|
9777
|
+
A(Q(mt), {
|
|
9768
9778
|
class: "ao-project-phase__phases-list",
|
|
9769
9779
|
"model-value": u.phases,
|
|
9770
9780
|
"item-key": "id",
|
|
@@ -9772,7 +9782,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9772
9782
|
onChange: r
|
|
9773
9783
|
}, {
|
|
9774
9784
|
item: W(({ element: d }) => [
|
|
9775
|
-
|
|
9785
|
+
A(n9, {
|
|
9776
9786
|
phase: d,
|
|
9777
9787
|
"is-editable": !u.readonly && u.isEditable,
|
|
9778
9788
|
"closed-status": u.closedStatus,
|
|
@@ -9790,7 +9800,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9790
9800
|
u.isEditable ? (p(), g("div", i9, [
|
|
9791
9801
|
o9,
|
|
9792
9802
|
v("div", r9, [
|
|
9793
|
-
|
|
9803
|
+
A(Ct, {
|
|
9794
9804
|
label: u.$t("project.phases.add"),
|
|
9795
9805
|
"icon-name": "Add",
|
|
9796
9806
|
class: "ao-project-phase__add-phase",
|
|
@@ -9820,7 +9830,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
|
|
|
9820
9830
|
};
|
|
9821
9831
|
return (r, l) => (p(), P(In, { size: "sm" }, {
|
|
9822
9832
|
header: W(() => [
|
|
9823
|
-
|
|
9833
|
+
A(ye, {
|
|
9824
9834
|
title: r.$t("project.template.add.title"),
|
|
9825
9835
|
level: 3
|
|
9826
9836
|
}, null, 8, ["title"])
|
|
@@ -9832,7 +9842,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
|
|
|
9832
9842
|
}, [
|
|
9833
9843
|
v("div", d9, [
|
|
9834
9844
|
v("div", p9, [
|
|
9835
|
-
|
|
9845
|
+
A($e, {
|
|
9836
9846
|
value: s.value,
|
|
9837
9847
|
options: n.value,
|
|
9838
9848
|
detached: !0,
|
|
@@ -9841,7 +9851,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
|
|
|
9841
9851
|
])
|
|
9842
9852
|
]),
|
|
9843
9853
|
v("footer", f9, [
|
|
9844
|
-
|
|
9854
|
+
A(ue, {
|
|
9845
9855
|
label: r.$t("project.template.add.label"),
|
|
9846
9856
|
type: "submit",
|
|
9847
9857
|
color: "primary",
|
|
@@ -9974,9 +9984,9 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
9974
9984
|
return p(), g(ve, null, [
|
|
9975
9985
|
v("div", He({ class: "ao-project-overview" }, O.$attrs), [
|
|
9976
9986
|
v("div", g9, [
|
|
9977
|
-
|
|
9987
|
+
A(Ga, null, {
|
|
9978
9988
|
primary: W(() => [
|
|
9979
|
-
|
|
9989
|
+
A(ci, {
|
|
9980
9990
|
"is-left": !0,
|
|
9981
9991
|
"right-label": O.$t("project.switch.feed"),
|
|
9982
9992
|
"left-label": O.$t("project.switch.overview"),
|
|
@@ -9984,7 +9994,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
9984
9994
|
Z || O.$router.push({ name: Q(Fe).feed });
|
|
9985
9995
|
})
|
|
9986
9996
|
}, null, 8, ["right-label", "left-label"]),
|
|
9987
|
-
|
|
9997
|
+
A(ue, {
|
|
9988
9998
|
class: "ao-feed__show-archived",
|
|
9989
9999
|
size: "sm",
|
|
9990
10000
|
"icon-name": O.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -9998,7 +10008,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
9998
10008
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
9999
10009
|
]),
|
|
10000
10010
|
secondary: W(() => [
|
|
10001
|
-
O.isEditable === !0 ? (p(), P(
|
|
10011
|
+
O.isEditable === !0 ? (p(), P(ue, {
|
|
10002
10012
|
key: 0,
|
|
10003
10013
|
class: "ao-project-overview__add-template",
|
|
10004
10014
|
color: "primary",
|
|
@@ -10009,7 +10019,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10009
10019
|
_: 1
|
|
10010
10020
|
}),
|
|
10011
10021
|
v("div", _9, [
|
|
10012
|
-
|
|
10022
|
+
A(u9, {
|
|
10013
10023
|
phases: O.phases,
|
|
10014
10024
|
"closed-status": O.closedStatus,
|
|
10015
10025
|
"is-editable": O.isEditable === !0,
|
|
@@ -10023,7 +10033,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10023
10033
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
10024
10034
|
])
|
|
10025
10035
|
]),
|
|
10026
|
-
|
|
10036
|
+
A(R, {
|
|
10027
10037
|
class: "ao-project__sidebar",
|
|
10028
10038
|
phases: O.phases,
|
|
10029
10039
|
"project-id": O.project.id,
|
|
@@ -10039,7 +10049,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10039
10049
|
onUnarchiveActivity: w
|
|
10040
10050
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
10041
10051
|
(p(), P(Nt, { to: "body" }, [
|
|
10042
|
-
|
|
10052
|
+
A(R, {
|
|
10043
10053
|
name: "modal",
|
|
10044
10054
|
activities: _.value,
|
|
10045
10055
|
"is-task-checkable": O.isTaskCheckable,
|
|
@@ -10095,9 +10105,9 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10095
10105
|
}, k9 = { class: "ao-card-feed__body" }, S9 = {
|
|
10096
10106
|
key: 0,
|
|
10097
10107
|
class: "ao-card-feed__breadcrumbs"
|
|
10098
|
-
}, M9 = {
|
|
10099
|
-
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10100
10108
|
}, A9 = {
|
|
10109
|
+
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10110
|
+
}, M9 = {
|
|
10101
10111
|
key: 1,
|
|
10102
10112
|
class: "ao-card-feed__deadline"
|
|
10103
10113
|
}, T9 = { class: "ao-card-feed__footer" }, O9 = { class: "ao-card-feed__footer-row" }, E9 = { class: "ao-assignees" }, I9 = {
|
|
@@ -10158,7 +10168,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10158
10168
|
}, {
|
|
10159
10169
|
header: W(() => [
|
|
10160
10170
|
v("div", b9, [
|
|
10161
|
-
n.value ? (p(), P(
|
|
10171
|
+
n.value ? (p(), P(qa, {
|
|
10162
10172
|
key: 0,
|
|
10163
10173
|
label: n.value,
|
|
10164
10174
|
class: "ao-card-feed__project",
|
|
@@ -10193,8 +10203,8 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10193
10203
|
default: W(() => [
|
|
10194
10204
|
v("div", k9, [
|
|
10195
10205
|
i.value ? (p(), g("span", S9, G(i.value), 1)) : T("", !0),
|
|
10196
|
-
v("div",
|
|
10197
|
-
|
|
10206
|
+
v("div", A9, [
|
|
10207
|
+
A(ye, {
|
|
10198
10208
|
id: h.id,
|
|
10199
10209
|
title: h.name,
|
|
10200
10210
|
level: 5,
|
|
@@ -10202,7 +10212,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10202
10212
|
"onUpdate:title": o
|
|
10203
10213
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10204
10214
|
]),
|
|
10205
|
-
h.deadline ? (p(), g("span",
|
|
10215
|
+
h.deadline ? (p(), g("span", M9, G(l.value), 1)) : T("", !0)
|
|
10206
10216
|
])
|
|
10207
10217
|
]),
|
|
10208
10218
|
footer: W(() => [
|
|
@@ -10213,7 +10223,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10213
10223
|
key: b.id
|
|
10214
10224
|
}, [
|
|
10215
10225
|
b ? (p(), g("li", I9, [
|
|
10216
|
-
|
|
10226
|
+
A(Je, {
|
|
10217
10227
|
"user-name": Q(zs)(b),
|
|
10218
10228
|
"avatar-url": b.avatarUrl,
|
|
10219
10229
|
"is-closable": !0,
|
|
@@ -10224,14 +10234,14 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10224
10234
|
]),
|
|
10225
10235
|
h.comments || h.attachments ? (p(), g("ul", L9, [
|
|
10226
10236
|
h.comments ? (p(), g("li", H9, [
|
|
10227
|
-
|
|
10237
|
+
A(pe, {
|
|
10228
10238
|
name: "ChatOutline",
|
|
10229
10239
|
size: "sm"
|
|
10230
10240
|
}),
|
|
10231
10241
|
v("span", D9, G(h.comments), 1)
|
|
10232
10242
|
])) : T("", !0),
|
|
10233
10243
|
h.attachments ? (p(), g("li", P9, [
|
|
10234
|
-
|
|
10244
|
+
A(pe, {
|
|
10235
10245
|
name: "AttachFileRounded",
|
|
10236
10246
|
size: "sm"
|
|
10237
10247
|
}),
|
|
@@ -10242,13 +10252,13 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10242
10252
|
v("div", B9, [
|
|
10243
10253
|
h.tasks && h.tasks.length ? (p(), g("div", R9, [
|
|
10244
10254
|
v("div", N9, [
|
|
10245
|
-
|
|
10255
|
+
A(pe, {
|
|
10246
10256
|
name: "SelectCheckBox",
|
|
10247
10257
|
size: "sm"
|
|
10248
10258
|
}),
|
|
10249
10259
|
v("span", j9, G(f.value) + " / " + G(u.value), 1)
|
|
10250
10260
|
]),
|
|
10251
|
-
|
|
10261
|
+
A(qn, {
|
|
10252
10262
|
percentages: d.value,
|
|
10253
10263
|
class: "ao-card-feed__progress"
|
|
10254
10264
|
}, null, 8, ["percentages"])
|
|
@@ -10267,7 +10277,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10267
10277
|
*/
|
|
10268
10278
|
function wt(t) {
|
|
10269
10279
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10270
|
-
/#/.test(t) ? e = U9(t) : /rgb/.test(t) ? e =
|
|
10280
|
+
/#/.test(t) ? e = U9(t) : /rgb/.test(t) ? e = As(t) : typeof t == "string" ? e = As(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10271
10281
|
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Z9(e);
|
|
10272
10282
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10273
10283
|
}
|
|
@@ -10275,7 +10285,7 @@ function zn(t) {
|
|
|
10275
10285
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10276
10286
|
return e.width = n, e.height = n, a.fillStyle = "#ffffff", a.fillRect(0, 0, n, n), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
10277
10287
|
}
|
|
10278
|
-
function
|
|
10288
|
+
function $n(t, e, a, n, s, o) {
|
|
10279
10289
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
|
|
10280
10290
|
r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
|
|
10281
10291
|
}
|
|
@@ -10292,7 +10302,7 @@ function U9(t) {
|
|
|
10292
10302
|
b: e(t.slice(4, 6))
|
|
10293
10303
|
};
|
|
10294
10304
|
}
|
|
10295
|
-
function
|
|
10305
|
+
function As(t) {
|
|
10296
10306
|
return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
|
|
10297
10307
|
r: Number(t[0]) || 0,
|
|
10298
10308
|
g: Number(t[1]) || 0,
|
|
@@ -10341,7 +10351,7 @@ var xn = z({
|
|
|
10341
10351
|
methods: {
|
|
10342
10352
|
renderColor() {
|
|
10343
10353
|
const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
|
|
10344
|
-
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e),
|
|
10354
|
+
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), $n("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), $n("p", a, e, e, "rgba(0,0,0,0)", "#000000");
|
|
10345
10355
|
},
|
|
10346
10356
|
renderSlide() {
|
|
10347
10357
|
this.slideSaturationStyle = {
|
|
@@ -10376,14 +10386,14 @@ function q9(t, e, a, n, s, o) {
|
|
|
10376
10386
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectSaturation && t.selectSaturation(...i), ["prevent", "stop"]))
|
|
10377
10387
|
},
|
|
10378
10388
|
[
|
|
10379
|
-
|
|
10389
|
+
A(
|
|
10380
10390
|
"canvas",
|
|
10381
10391
|
W9,
|
|
10382
10392
|
null,
|
|
10383
10393
|
512
|
|
10384
10394
|
/* NEED_PATCH */
|
|
10385
10395
|
),
|
|
10386
|
-
|
|
10396
|
+
A(
|
|
10387
10397
|
"div",
|
|
10388
10398
|
{
|
|
10389
10399
|
style: t.slideSaturationStyle,
|
|
@@ -10462,14 +10472,14 @@ function x9(t, e, a, n, s, o) {
|
|
|
10462
10472
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectHue && t.selectHue(...i), ["prevent", "stop"]))
|
|
10463
10473
|
},
|
|
10464
10474
|
[
|
|
10465
|
-
|
|
10475
|
+
A(
|
|
10466
10476
|
"canvas",
|
|
10467
10477
|
z9,
|
|
10468
10478
|
null,
|
|
10469
10479
|
512
|
|
10470
10480
|
/* NEED_PATCH */
|
|
10471
10481
|
),
|
|
10472
|
-
|
|
10482
|
+
A(
|
|
10473
10483
|
"div",
|
|
10474
10484
|
{
|
|
10475
10485
|
style: t.slideHueStyle,
|
|
@@ -10526,7 +10536,7 @@ var Kn = z({
|
|
|
10526
10536
|
methods: {
|
|
10527
10537
|
renderColor() {
|
|
10528
10538
|
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
|
|
10529
|
-
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a),
|
|
10539
|
+
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), $n("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10530
10540
|
},
|
|
10531
10541
|
renderSlide() {
|
|
10532
10542
|
this.slideAlphaStyle = {
|
|
@@ -10557,14 +10567,14 @@ function K9(t, e, a, n, s, o) {
|
|
|
10557
10567
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectAlpha && t.selectAlpha(...i), ["prevent", "stop"]))
|
|
10558
10568
|
},
|
|
10559
10569
|
[
|
|
10560
|
-
|
|
10570
|
+
A(
|
|
10561
10571
|
"canvas",
|
|
10562
10572
|
Y9,
|
|
10563
10573
|
null,
|
|
10564
10574
|
512
|
|
10565
10575
|
/* NEED_PATCH */
|
|
10566
10576
|
),
|
|
10567
|
-
|
|
10577
|
+
A(
|
|
10568
10578
|
"div",
|
|
10569
10579
|
{
|
|
10570
10580
|
style: t.slideAlphaStyle,
|
|
@@ -10682,7 +10692,7 @@ var Xn = z({
|
|
|
10682
10692
|
}
|
|
10683
10693
|
}
|
|
10684
10694
|
});
|
|
10685
|
-
const X9 = /* @__PURE__ */
|
|
10695
|
+
const X9 = /* @__PURE__ */ A(
|
|
10686
10696
|
"path",
|
|
10687
10697
|
{ 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" },
|
|
10688
10698
|
null,
|
|
@@ -10694,25 +10704,25 @@ const X9 = /* @__PURE__ */ M(
|
|
|
10694
10704
|
viewBox: "-16 -16 68 68",
|
|
10695
10705
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10696
10706
|
stroke: "#9099a4"
|
|
10697
|
-
}, J9 = /* @__PURE__ */
|
|
10707
|
+
}, J9 = /* @__PURE__ */ A(
|
|
10698
10708
|
"g",
|
|
10699
10709
|
{
|
|
10700
10710
|
fill: "none",
|
|
10701
10711
|
"fill-rule": "evenodd"
|
|
10702
10712
|
},
|
|
10703
10713
|
[
|
|
10704
|
-
/* @__PURE__ */
|
|
10714
|
+
/* @__PURE__ */ A("g", {
|
|
10705
10715
|
transform: "translate(1 1)",
|
|
10706
10716
|
"stroke-width": "4"
|
|
10707
10717
|
}, [
|
|
10708
|
-
/* @__PURE__ */
|
|
10718
|
+
/* @__PURE__ */ A("circle", {
|
|
10709
10719
|
"stroke-opacity": ".5",
|
|
10710
10720
|
cx: "18",
|
|
10711
10721
|
cy: "18",
|
|
10712
10722
|
r: "18"
|
|
10713
10723
|
}),
|
|
10714
|
-
/* @__PURE__ */
|
|
10715
|
-
/* @__PURE__ */
|
|
10724
|
+
/* @__PURE__ */ A("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
|
|
10725
|
+
/* @__PURE__ */ A("animateTransform", {
|
|
10716
10726
|
attributeName: "transform",
|
|
10717
10727
|
type: "rotate",
|
|
10718
10728
|
from: "0 18 18",
|
|
@@ -10784,14 +10794,14 @@ var Qn = z({
|
|
|
10784
10794
|
const t4 = { class: "color-type" }, a4 = { class: "name" };
|
|
10785
10795
|
function n4(t, e, a, n, s, o) {
|
|
10786
10796
|
return p(), P("div", t4, [
|
|
10787
|
-
|
|
10797
|
+
A(
|
|
10788
10798
|
"span",
|
|
10789
10799
|
a4,
|
|
10790
10800
|
G(t.name),
|
|
10791
10801
|
1
|
|
10792
10802
|
/* TEXT */
|
|
10793
10803
|
),
|
|
10794
|
-
Ke(
|
|
10804
|
+
Ke(A(
|
|
10795
10805
|
"input",
|
|
10796
10806
|
{
|
|
10797
10807
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
|
|
@@ -10828,7 +10838,7 @@ var Jn = z({
|
|
|
10828
10838
|
emits: ["selectColor"],
|
|
10829
10839
|
setup(t, { emit: e }) {
|
|
10830
10840
|
const a = ee(), n = ee([]), s = ee();
|
|
10831
|
-
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(),
|
|
10841
|
+
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(), kn(() => {
|
|
10832
10842
|
o(a.value);
|
|
10833
10843
|
});
|
|
10834
10844
|
function o(r) {
|
|
@@ -10855,7 +10865,7 @@ const s4 = { class: "colors" }, i4 = {
|
|
|
10855
10865
|
};
|
|
10856
10866
|
function o4(t, e, a, n, s, o) {
|
|
10857
10867
|
return p(), P("div", null, [
|
|
10858
|
-
|
|
10868
|
+
A("ul", s4, [
|
|
10859
10869
|
(p(!0), P(
|
|
10860
10870
|
ve,
|
|
10861
10871
|
null,
|
|
@@ -10864,7 +10874,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10864
10874
|
class: "item",
|
|
10865
10875
|
onClick: (r) => t.selectColor(i)
|
|
10866
10876
|
}, [
|
|
10867
|
-
|
|
10877
|
+
A(
|
|
10868
10878
|
"div",
|
|
10869
10879
|
{
|
|
10870
10880
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10874,7 +10884,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10874
10884
|
4
|
|
10875
10885
|
/* STYLE */
|
|
10876
10886
|
),
|
|
10877
|
-
|
|
10887
|
+
A(
|
|
10878
10888
|
"div",
|
|
10879
10889
|
{
|
|
10880
10890
|
style: { background: i },
|
|
@@ -10898,7 +10908,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10898
10908
|
class: "item",
|
|
10899
10909
|
onClick: (r) => t.selectColor(i)
|
|
10900
10910
|
}, [
|
|
10901
|
-
|
|
10911
|
+
A(
|
|
10902
10912
|
"div",
|
|
10903
10913
|
{
|
|
10904
10914
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10908,7 +10918,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10908
10918
|
4
|
|
10909
10919
|
/* STYLE */
|
|
10910
10920
|
),
|
|
10911
|
-
|
|
10921
|
+
A(
|
|
10912
10922
|
"div",
|
|
10913
10923
|
{
|
|
10914
10924
|
style: { background: i },
|
|
@@ -11110,22 +11120,22 @@ function l4(t, e, a, n, s, o) {
|
|
|
11110
11120
|
style: { width: t.totalWidth + "px" }
|
|
11111
11121
|
},
|
|
11112
11122
|
[
|
|
11113
|
-
|
|
11114
|
-
|
|
11123
|
+
A("div", r4, [
|
|
11124
|
+
A(i, {
|
|
11115
11125
|
ref: "saturation",
|
|
11116
11126
|
color: t.rgbString,
|
|
11117
11127
|
hsv: t.hsv,
|
|
11118
11128
|
size: t.hueHeight,
|
|
11119
11129
|
onSelectSaturation: t.selectSaturation
|
|
11120
11130
|
}, null, 8, ["color", "hsv", "size", "onSelectSaturation"]),
|
|
11121
|
-
|
|
11131
|
+
A(r, {
|
|
11122
11132
|
ref: "hue",
|
|
11123
11133
|
hsv: t.hsv,
|
|
11124
11134
|
width: t.hueWidth,
|
|
11125
11135
|
height: t.hueHeight,
|
|
11126
11136
|
onSelectHue: t.selectHue
|
|
11127
11137
|
}, null, 8, ["hsv", "width", "height", "onSelectHue"]),
|
|
11128
|
-
|
|
11138
|
+
A(l, {
|
|
11129
11139
|
ref: "alpha",
|
|
11130
11140
|
color: t.rgbString,
|
|
11131
11141
|
rgba: t.rgba,
|
|
@@ -11134,14 +11144,14 @@ function l4(t, e, a, n, s, o) {
|
|
|
11134
11144
|
onSelectAlpha: t.selectAlpha
|
|
11135
11145
|
}, null, 8, ["color", "rgba", "width", "height", "onSelectAlpha"])
|
|
11136
11146
|
]),
|
|
11137
|
-
|
|
11147
|
+
A(
|
|
11138
11148
|
"div",
|
|
11139
11149
|
{
|
|
11140
11150
|
style: { height: t.previewHeight + "px" },
|
|
11141
11151
|
class: "color-show"
|
|
11142
11152
|
},
|
|
11143
11153
|
[
|
|
11144
|
-
|
|
11154
|
+
A(c, {
|
|
11145
11155
|
color: t.rgbaString,
|
|
11146
11156
|
width: t.previewWidth,
|
|
11147
11157
|
height: t.previewHeight
|
|
@@ -11157,21 +11167,21 @@ function l4(t, e, a, n, s, o) {
|
|
|
11157
11167
|
4
|
|
11158
11168
|
/* STYLE */
|
|
11159
11169
|
),
|
|
11160
|
-
|
|
11170
|
+
A(f, {
|
|
11161
11171
|
name: "HEX",
|
|
11162
11172
|
color: t.modelHex,
|
|
11163
11173
|
onInputColor: t.inputHex,
|
|
11164
11174
|
onInputFocus: t.handleFocus,
|
|
11165
11175
|
onInputBlur: t.handleBlur
|
|
11166
11176
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11167
|
-
|
|
11177
|
+
A(f, {
|
|
11168
11178
|
name: "RGBA",
|
|
11169
11179
|
color: t.modelRgba,
|
|
11170
11180
|
onInputColor: t.inputRgba,
|
|
11171
11181
|
onInputFocus: t.handleFocus,
|
|
11172
11182
|
onInputBlur: t.handleBlur
|
|
11173
11183
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11174
|
-
|
|
11184
|
+
A(d, {
|
|
11175
11185
|
color: t.rgbaString,
|
|
11176
11186
|
"colors-default": t.colorsDefault,
|
|
11177
11187
|
"colors-history-key": t.colorsHistoryKey,
|
|
@@ -11237,7 +11247,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11237
11247
|
}, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-field--inline" }, b4 = { class: "ao-field__row ao-milestone__field-row" }, w4 = { class: "ao-field ao-milestone__field-multiselect" }, $4 = { class: "ao-project-milestone__body" }, k4 = {
|
|
11238
11248
|
key: 0,
|
|
11239
11249
|
class: "ao-project-milestone__footer"
|
|
11240
|
-
},
|
|
11250
|
+
}, Ms = /* @__PURE__ */ z({
|
|
11241
11251
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11242
11252
|
props: {
|
|
11243
11253
|
milestoneId: {},
|
|
@@ -11344,7 +11354,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11344
11354
|
return p(), g("div", f4, [
|
|
11345
11355
|
v("header", v4, [
|
|
11346
11356
|
v("div", h4, [
|
|
11347
|
-
|
|
11357
|
+
A(ue, {
|
|
11348
11358
|
"icon-name": "CloseRounded",
|
|
11349
11359
|
variant: "ghost",
|
|
11350
11360
|
size: "sm",
|
|
@@ -11354,11 +11364,11 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11354
11364
|
]),
|
|
11355
11365
|
v("div", m4, [
|
|
11356
11366
|
v("div", C4, [
|
|
11357
|
-
|
|
11367
|
+
A(ye, {
|
|
11358
11368
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11359
11369
|
level: 5
|
|
11360
11370
|
}, null, 8, ["title"]),
|
|
11361
|
-
|
|
11371
|
+
A(wn, {
|
|
11362
11372
|
modelValue: k.value,
|
|
11363
11373
|
"onUpdate:modelValue": C[0] || (C[0] = (L) => k.value = L),
|
|
11364
11374
|
modelModifiers: { lazy: !0 },
|
|
@@ -11391,7 +11401,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11391
11401
|
]),
|
|
11392
11402
|
v("div", b4, [
|
|
11393
11403
|
v("label", w4, [
|
|
11394
|
-
|
|
11404
|
+
A($e, {
|
|
11395
11405
|
modelValue: y.value,
|
|
11396
11406
|
"onUpdate:modelValue": C[2] || (C[2] = (L) => y.value = L),
|
|
11397
11407
|
options: b.value,
|
|
@@ -11408,7 +11418,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11408
11418
|
option: L,
|
|
11409
11419
|
handleTagRemove: H
|
|
11410
11420
|
}) => [
|
|
11411
|
-
|
|
11421
|
+
A(Je, {
|
|
11412
11422
|
"user-name": L.label,
|
|
11413
11423
|
"avatar-url": L.avatar,
|
|
11414
11424
|
"is-closable": !0,
|
|
@@ -11419,14 +11429,14 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11419
11429
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11420
11430
|
])
|
|
11421
11431
|
]),
|
|
11422
|
-
|
|
11432
|
+
A(p4, {
|
|
11423
11433
|
color: d.value,
|
|
11424
11434
|
"onUpdate:color": C[3] || (C[3] = (L) => d.value = L)
|
|
11425
11435
|
}, null, 8, ["color"])
|
|
11426
11436
|
])) : T("", !0)
|
|
11427
11437
|
]),
|
|
11428
11438
|
v("div", $4, [
|
|
11429
|
-
|
|
11439
|
+
A(Q(mt), He({
|
|
11430
11440
|
class: "ao-project-milestone__activities",
|
|
11431
11441
|
list: r.value,
|
|
11432
11442
|
disabled: !_.isEditable,
|
|
@@ -11436,7 +11446,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11436
11446
|
item: W(({ element: L }) => {
|
|
11437
11447
|
var H, F, U, q, O;
|
|
11438
11448
|
return [
|
|
11439
|
-
|
|
11449
|
+
A(di, {
|
|
11440
11450
|
id: L.id,
|
|
11441
11451
|
name: L.name || L.id,
|
|
11442
11452
|
"phase-name": (H = s.value) == null ? void 0 : H.name,
|
|
@@ -11462,7 +11472,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11462
11472
|
_.isEditable ? {
|
|
11463
11473
|
name: "secondary",
|
|
11464
11474
|
fn: W(() => [
|
|
11465
|
-
_.isEditable && L.active ? (p(), P(
|
|
11475
|
+
_.isEditable && L.active ? (p(), P(ue, {
|
|
11466
11476
|
key: 0,
|
|
11467
11477
|
color: "primary",
|
|
11468
11478
|
variant: "ghost",
|
|
@@ -11473,7 +11483,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11473
11483
|
label: _.$t("archive"),
|
|
11474
11484
|
onClick: fe(() => _.$emit("archiveActivity", { id: L.id }), ["stop"])
|
|
11475
11485
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11476
|
-
_.isEditable && !L.active ? (p(), P(
|
|
11486
|
+
_.isEditable && !L.active ? (p(), P(ue, {
|
|
11477
11487
|
key: 1,
|
|
11478
11488
|
color: "primary",
|
|
11479
11489
|
variant: "ghost",
|
|
@@ -11496,7 +11506,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11496
11506
|
_: 1
|
|
11497
11507
|
}, 16, ["list", "disabled"]),
|
|
11498
11508
|
_.isEditable ? (p(), g("div", k4, [
|
|
11499
|
-
|
|
11509
|
+
A(Ct, {
|
|
11500
11510
|
"icon-name": "Add",
|
|
11501
11511
|
label: _.$t("project.activity.add"),
|
|
11502
11512
|
onClick: c
|
|
@@ -11594,20 +11604,20 @@ const S4 = /* @__PURE__ */ z({
|
|
|
11594
11604
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11595
11605
|
};
|
|
11596
11606
|
}
|
|
11597
|
-
}),
|
|
11607
|
+
}), A4 = { class: "ao-col-header" }, M4 = /* @__PURE__ */ z({
|
|
11598
11608
|
__name: "AoColHeader",
|
|
11599
11609
|
props: {
|
|
11600
11610
|
title: {},
|
|
11601
11611
|
items: {}
|
|
11602
11612
|
},
|
|
11603
11613
|
setup(t) {
|
|
11604
|
-
return (e, a) => (p(), g("header",
|
|
11605
|
-
|
|
11614
|
+
return (e, a) => (p(), g("header", A4, [
|
|
11615
|
+
A(ye, {
|
|
11606
11616
|
title: e.title,
|
|
11607
11617
|
class: "ao-col-header__title",
|
|
11608
11618
|
level: 4
|
|
11609
11619
|
}, null, 8, ["title"]),
|
|
11610
|
-
e.items ? (p(), P(
|
|
11620
|
+
e.items ? (p(), P(qa, {
|
|
11611
11621
|
key: 0,
|
|
11612
11622
|
label: e.items,
|
|
11613
11623
|
class: "ao-col-header__items",
|
|
@@ -11657,14 +11667,14 @@ function H4(t, e = 200, a = {}) {
|
|
|
11657
11667
|
t
|
|
11658
11668
|
);
|
|
11659
11669
|
}
|
|
11660
|
-
function
|
|
11670
|
+
function mn(t) {
|
|
11661
11671
|
var e;
|
|
11662
11672
|
const a = ja(t);
|
|
11663
11673
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11664
11674
|
}
|
|
11665
11675
|
const D4 = O4 ? window : void 0;
|
|
11666
11676
|
function P4() {
|
|
11667
|
-
const t = ee(!1), e =
|
|
11677
|
+
const t = ee(!1), e = Mt();
|
|
11668
11678
|
return e && xt(() => {
|
|
11669
11679
|
t.value = !0;
|
|
11670
11680
|
}, e), t;
|
|
@@ -11682,18 +11692,18 @@ function B4(t, e, a = {}) {
|
|
|
11682
11692
|
immediate: r = !0
|
|
11683
11693
|
} = a, l = V4(() => i && "IntersectionObserver" in i), c = S(() => {
|
|
11684
11694
|
const w = ja(t);
|
|
11685
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
11695
|
+
return (Array.isArray(w) ? w : [w]).map(mn).filter(E4);
|
|
11686
11696
|
});
|
|
11687
11697
|
let u = oa;
|
|
11688
11698
|
const f = ee(r), d = l.value ? de(
|
|
11689
|
-
() => [c.value,
|
|
11699
|
+
() => [c.value, mn(n), f.value],
|
|
11690
11700
|
([w, b]) => {
|
|
11691
11701
|
if (u(), !f.value || !w.length)
|
|
11692
11702
|
return;
|
|
11693
11703
|
const y = new IntersectionObserver(
|
|
11694
11704
|
e,
|
|
11695
11705
|
{
|
|
11696
|
-
root:
|
|
11706
|
+
root: mn(b),
|
|
11697
11707
|
rootMargin: s,
|
|
11698
11708
|
threshold: o
|
|
11699
11709
|
}
|
|
@@ -11783,7 +11793,7 @@ const R4 = {
|
|
|
11783
11793
|
var d;
|
|
11784
11794
|
return [
|
|
11785
11795
|
v("div", N4, [
|
|
11786
|
-
u.title ? (p(), P(
|
|
11796
|
+
u.title ? (p(), P(M4, {
|
|
11787
11797
|
key: 0,
|
|
11788
11798
|
title: u.title,
|
|
11789
11799
|
level: 3,
|
|
@@ -11792,7 +11802,7 @@ const R4 = {
|
|
|
11792
11802
|
])
|
|
11793
11803
|
];
|
|
11794
11804
|
}) : T("", !0),
|
|
11795
|
-
|
|
11805
|
+
A(Q(mt), He({
|
|
11796
11806
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11797
11807
|
list: u.list,
|
|
11798
11808
|
"item-key": "id",
|
|
@@ -11813,7 +11823,7 @@ const R4 = {
|
|
|
11813
11823
|
item: W(({ element: d }) => {
|
|
11814
11824
|
var h, w, b, y, k, _, C, D, L;
|
|
11815
11825
|
return [
|
|
11816
|
-
|
|
11826
|
+
A(di, {
|
|
11817
11827
|
class: K(o(d) ? "ao-list-draggable" : ""),
|
|
11818
11828
|
id: d.id,
|
|
11819
11829
|
name: d.name,
|
|
@@ -11840,7 +11850,7 @@ const R4 = {
|
|
|
11840
11850
|
onRemoveAssignee: () => o(d) && r({ id: d.id, assigneeId: null })
|
|
11841
11851
|
}, {
|
|
11842
11852
|
secondary: W(() => [
|
|
11843
|
-
o(d) && d.active ? (p(), P(
|
|
11853
|
+
o(d) && d.active ? (p(), P(ue, {
|
|
11844
11854
|
key: 0,
|
|
11845
11855
|
color: "primary",
|
|
11846
11856
|
variant: "ghost",
|
|
@@ -11851,7 +11861,7 @@ const R4 = {
|
|
|
11851
11861
|
label: u.$t("feed.activity.archive"),
|
|
11852
11862
|
onClick: fe(() => u.$emit("archiveActivity", { id: d.id }), ["stop"])
|
|
11853
11863
|
}, null, 8, ["label", "onClick"])) : T("", !0),
|
|
11854
|
-
o(d) && !d.active ? (p(), P(
|
|
11864
|
+
o(d) && !d.active ? (p(), P(ue, {
|
|
11855
11865
|
key: 1,
|
|
11856
11866
|
color: "primary",
|
|
11857
11867
|
variant: "ghost",
|
|
@@ -11869,7 +11879,7 @@ const R4 = {
|
|
|
11869
11879
|
}),
|
|
11870
11880
|
footer: W(() => [
|
|
11871
11881
|
u.isLoading ? (p(), g("div", j4, [
|
|
11872
|
-
|
|
11882
|
+
A(pe, { name: "Loading" })
|
|
11873
11883
|
])) : u.hasMore ? (p(), g("div", {
|
|
11874
11884
|
key: 2,
|
|
11875
11885
|
ref_key: "scrollEnd",
|
|
@@ -11919,11 +11929,11 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11919
11929
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11920
11930
|
onKeypress: dt(n, ["enter"])
|
|
11921
11931
|
}, null, 40, x4),
|
|
11922
|
-
|
|
11932
|
+
A(pe, {
|
|
11923
11933
|
name: "SearchRounded",
|
|
11924
11934
|
class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
11925
11935
|
}, null, 8, ["class"]),
|
|
11926
|
-
|
|
11936
|
+
A(ue, {
|
|
11927
11937
|
"icon-name": "CloseRounded",
|
|
11928
11938
|
size: "sm",
|
|
11929
11939
|
color: "primary",
|
|
@@ -11962,7 +11972,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
11962
11972
|
de(
|
|
11963
11973
|
[() => a.statuses, () => a.activities, () => a.initialActivityId],
|
|
11964
11974
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11965
|
-
async ([E, N,
|
|
11975
|
+
async ([E, N, M], [m, I]) => {
|
|
11966
11976
|
i.value = Object.fromEntries(
|
|
11967
11977
|
E.map((J) => [
|
|
11968
11978
|
J.id,
|
|
@@ -11971,7 +11981,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
11971
11981
|
return ((le = ae.status) == null ? void 0 : le.id) === J.id;
|
|
11972
11982
|
})
|
|
11973
11983
|
])
|
|
11974
|
-
),
|
|
11984
|
+
), M && !r.value && (o(M), r.value = !0), l.value && Xe(N, I);
|
|
11975
11985
|
},
|
|
11976
11986
|
{ immediate: !0 }
|
|
11977
11987
|
);
|
|
@@ -11980,9 +11990,9 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
11980
11990
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((E = a.selectedActivity.milestone.phase) == null ? void 0 : E.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
11981
11991
|
}), f = (E) => {
|
|
11982
11992
|
var J, ae;
|
|
11983
|
-
const N = (J = a.activities) == null ? void 0 : J.at(-1),
|
|
11993
|
+
const N = (J = a.activities) == null ? void 0 : J.at(-1), M = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, I = {
|
|
11984
11994
|
name: n("activity.defaultName", { idx: m + 1 }),
|
|
11985
|
-
rank:
|
|
11995
|
+
rank: M.format(),
|
|
11986
11996
|
statusId: E.id
|
|
11987
11997
|
};
|
|
11988
11998
|
a.filters.assigneeId.length > 0 && (I.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (I.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (I.typeId = a.filters.typeId[0]), l.value = !0, e("addActivity", I);
|
|
@@ -12038,9 +12048,9 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12038
12048
|
N && e("removeComment", E);
|
|
12039
12049
|
};
|
|
12040
12050
|
return (E, N) => {
|
|
12041
|
-
var
|
|
12051
|
+
var M;
|
|
12042
12052
|
return p(), g("div", K4, [
|
|
12043
|
-
|
|
12053
|
+
A(Ga, null, {
|
|
12044
12054
|
primary: W(() => [
|
|
12045
12055
|
v("div", G4, [
|
|
12046
12056
|
a.project ? (p(), P(ci, {
|
|
@@ -12052,7 +12062,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12052
12062
|
m && E.$router.push({ name: Q(Fe).project });
|
|
12053
12063
|
})
|
|
12054
12064
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12055
|
-
|
|
12065
|
+
A(Y4, {
|
|
12056
12066
|
"model-value": E.searchText,
|
|
12057
12067
|
placeholder: E.$t("feed.search.placeholder"),
|
|
12058
12068
|
class: "ao-feed__search",
|
|
@@ -12096,7 +12106,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12096
12106
|
option: m,
|
|
12097
12107
|
handleTagRemove: I
|
|
12098
12108
|
}) => [
|
|
12099
|
-
|
|
12109
|
+
A(Je, {
|
|
12100
12110
|
"user-name": m.label,
|
|
12101
12111
|
"avatar-url": m.avatar,
|
|
12102
12112
|
"is-closable": !0,
|
|
@@ -12106,7 +12116,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12106
12116
|
_: 1
|
|
12107
12117
|
}, 8, ["model-value", "options", "placeholder"])) : T("", !0)
|
|
12108
12118
|
]),
|
|
12109
|
-
|
|
12119
|
+
A(ue, {
|
|
12110
12120
|
class: "ao-feed__only-important",
|
|
12111
12121
|
size: "sm",
|
|
12112
12122
|
"icon-name": E.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12118,7 +12128,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12118
12128
|
"aria-checked": E.showsOnlyImportant,
|
|
12119
12129
|
onClick: N[4] || (N[4] = (m) => E.$emit("update:showsOnlyImportant", !E.showsOnlyImportant))
|
|
12120
12130
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12121
|
-
|
|
12131
|
+
A(ue, {
|
|
12122
12132
|
class: "ao-feed__show-archived",
|
|
12123
12133
|
size: "sm",
|
|
12124
12134
|
"icon-name": E.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12156,7 +12166,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12156
12166
|
key: 0,
|
|
12157
12167
|
activity: E.selectedActivity,
|
|
12158
12168
|
"activity-types": E.activityTypes,
|
|
12159
|
-
"milestone-id": (
|
|
12169
|
+
"milestone-id": (M = E.selectedActivity.milestone) == null ? void 0 : M.id,
|
|
12160
12170
|
"template-activities": s.value,
|
|
12161
12171
|
users: E.users,
|
|
12162
12172
|
"user-id": E.userId,
|
|
@@ -12206,7 +12216,7 @@ const Dt = {
|
|
|
12206
12216
|
{
|
|
12207
12217
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12208
12218
|
name: Dt.TEMPLATE_DETAILS,
|
|
12209
|
-
component:
|
|
12219
|
+
component: Av,
|
|
12210
12220
|
props: !0
|
|
12211
12221
|
}
|
|
12212
12222
|
]
|
|
@@ -12231,7 +12241,7 @@ const Dt = {
|
|
|
12231
12241
|
{
|
|
12232
12242
|
path: ":phaseId/:milestoneId",
|
|
12233
12243
|
name: Fe.milestone,
|
|
12234
|
-
component:
|
|
12244
|
+
component: Ms,
|
|
12235
12245
|
props: !0
|
|
12236
12246
|
},
|
|
12237
12247
|
{
|
|
@@ -12239,7 +12249,7 @@ const Dt = {
|
|
|
12239
12249
|
name: Fe.activity,
|
|
12240
12250
|
props: { default: !0, modal: !0 },
|
|
12241
12251
|
components: {
|
|
12242
|
-
default:
|
|
12252
|
+
default: Ms,
|
|
12243
12253
|
modal: S4
|
|
12244
12254
|
}
|
|
12245
12255
|
}
|
|
@@ -12294,9 +12304,9 @@ const Dt = {
|
|
|
12294
12304
|
}
|
|
12295
12305
|
};
|
|
12296
12306
|
return (r, l) => (p(), g("div", J4, [
|
|
12297
|
-
|
|
12307
|
+
A(Ga, null, {
|
|
12298
12308
|
secondary: W(() => [
|
|
12299
|
-
|
|
12309
|
+
A(ue, {
|
|
12300
12310
|
label: r.$t("templates.new"),
|
|
12301
12311
|
color: "primary",
|
|
12302
12312
|
"icon-name": "Add",
|
|
@@ -12306,7 +12316,7 @@ const Dt = {
|
|
|
12306
12316
|
]),
|
|
12307
12317
|
_: 1
|
|
12308
12318
|
}),
|
|
12309
|
-
|
|
12319
|
+
A(Q(mt), {
|
|
12310
12320
|
"model-value": r.templates,
|
|
12311
12321
|
class: "ao-templates__list",
|
|
12312
12322
|
"item-key": "id",
|
|
@@ -12316,12 +12326,12 @@ const Dt = {
|
|
|
12316
12326
|
item: W(({ element: c }) => {
|
|
12317
12327
|
var u;
|
|
12318
12328
|
return [
|
|
12319
|
-
|
|
12329
|
+
A(Q3, {
|
|
12320
12330
|
id: c.id,
|
|
12321
12331
|
title: c.name,
|
|
12322
12332
|
phases: c.phases,
|
|
12323
12333
|
milestones: (u = c.phases) != null && u.length ? Q(S3)(c.phases) : 0,
|
|
12324
|
-
activities: c.phases ? Q(
|
|
12334
|
+
activities: c.phases ? Q(A3)(c.phases) : 0,
|
|
12325
12335
|
"updated-at": c.updatedAt,
|
|
12326
12336
|
"updated-by": c.updatedBy,
|
|
12327
12337
|
onUpdateTitle: (f) => o(c.id, f),
|
|
@@ -12412,6 +12422,7 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12412
12422
|
}
|
|
12413
12423
|
});
|
|
12414
12424
|
export {
|
|
12425
|
+
Je as AoAvatar,
|
|
12415
12426
|
di as AoCardFeed,
|
|
12416
12427
|
g8 as AoCheckboxField,
|
|
12417
12428
|
Q4 as AoFeed,
|
|
@@ -12419,7 +12430,7 @@ export {
|
|
|
12419
12430
|
C8 as AoInputField,
|
|
12420
12431
|
$e as AoMultiselect,
|
|
12421
12432
|
u9 as AoProjectPhases,
|
|
12422
|
-
|
|
12433
|
+
Av as AoTemplateDetails,
|
|
12423
12434
|
d8 as AoTemplates,
|
|
12424
12435
|
e8 as AoTemplatesList,
|
|
12425
12436
|
F2 as TemplateItemTypeEnum,
|
|
@@ -12429,7 +12440,7 @@ export {
|
|
|
12429
12440
|
m8 as getProjectOverviewRoutes,
|
|
12430
12441
|
h8 as getTemplateRoutes,
|
|
12431
12442
|
v8 as listUpdateTypes,
|
|
12432
|
-
|
|
12443
|
+
Cn as milestoneStatus,
|
|
12433
12444
|
Fe as projectOverviewRoutes,
|
|
12434
12445
|
R2 as ruleComparators,
|
|
12435
12446
|
j2 as ruleDurationUnits,
|