@26lights/orcha 0.31.0 → 0.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +186 -186
- package/dist/orcha.umd.js +1 -1
- package/dist/src/types/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as xe, normalizeClass as G, renderSlot as X, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
|
|
2
2
|
import { RouterView as ys } from "vue-router";
|
|
3
3
|
import Qe from "vuedraggable";
|
|
4
4
|
const o8 = /* @__PURE__ */ K({
|
|
@@ -89,7 +89,7 @@ const qs = /* @__PURE__ */ B(Rs, [["render", Fs]]), zs = {}, Ws = {
|
|
|
89
89
|
function Gs(t, e) {
|
|
90
90
|
return f(), h("svg", Ws, Ks);
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const Xs = /* @__PURE__ */ B(zs, [["render", Gs]]), xs = {}, Qs = {
|
|
93
93
|
width: "24",
|
|
94
94
|
height: "24",
|
|
95
95
|
viewBox: "0 0 24 24",
|
|
@@ -104,7 +104,7 @@ const xs = /* @__PURE__ */ B(zs, [["render", Gs]]), Xs = {}, Qs = {
|
|
|
104
104
|
function tn(t, e) {
|
|
105
105
|
return f(), h("svg", Qs, en);
|
|
106
106
|
}
|
|
107
|
-
const an = /* @__PURE__ */ B(
|
|
107
|
+
const an = /* @__PURE__ */ B(xs, [["render", tn]]), sn = {}, nn = {
|
|
108
108
|
width: "24",
|
|
109
109
|
height: "24",
|
|
110
110
|
viewBox: "0 0 24 24",
|
|
@@ -221,10 +221,10 @@ const zn = /* @__PURE__ */ B(Un, [["render", qn]]), Wn = {}, Yn = {
|
|
|
221
221
|
}, null, -1), Gn = [
|
|
222
222
|
Kn
|
|
223
223
|
];
|
|
224
|
-
function
|
|
224
|
+
function Xn(t, e) {
|
|
225
225
|
return f(), h("svg", Yn, Gn);
|
|
226
226
|
}
|
|
227
|
-
const
|
|
227
|
+
const xn = /* @__PURE__ */ B(Wn, [["render", Xn]]), Qn = {}, Jn = {
|
|
228
228
|
width: "24",
|
|
229
229
|
height: "24",
|
|
230
230
|
viewBox: "0 0 24 24",
|
|
@@ -356,10 +356,10 @@ const zi = /* @__PURE__ */ B(Ui, [["render", qi]]), Wi = {}, Yi = {
|
|
|
356
356
|
}, null, -1), Gi = [
|
|
357
357
|
Ki
|
|
358
358
|
];
|
|
359
|
-
function
|
|
359
|
+
function Xi(t, e) {
|
|
360
360
|
return f(), h("svg", Yi, Gi);
|
|
361
361
|
}
|
|
362
|
-
const
|
|
362
|
+
const xi = /* @__PURE__ */ B(Wi, [["render", Xi]]), Qi = {}, Ji = {
|
|
363
363
|
width: "24",
|
|
364
364
|
height: "24",
|
|
365
365
|
viewBox: "0 0 24 24",
|
|
@@ -488,13 +488,13 @@ const Wo = /* @__PURE__ */ B(jo, [["render", zo]]), Yo = {}, Ko = {
|
|
|
488
488
|
}, Go = /* @__PURE__ */ v("path", {
|
|
489
489
|
d: "M6 21C5.71667 21 5.479 20.904 5.287 20.712C5.095 20.52 4.99934 20.2827 5 20V5C5 4.71667 5.096 4.479 5.288 4.287C5.48 4.095 5.71734 3.99934 6 4H13.175C13.4083 4 13.6167 4.075 13.8 4.225C13.9833 4.375 14.1 4.56667 14.15 4.8L14.4 6H19C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71734 20 7V15C20 15.2833 19.904 15.521 19.712 15.713C19.52 15.905 19.2827 16.0007 19 16H13.825C13.5917 16 13.3833 15.925 13.2 15.775C13.0167 15.625 12.9 15.4333 12.85 15.2L12.6 14H7V20C7 20.2833 6.904 20.521 6.712 20.713C6.52 20.905 6.28267 21.0007 6 21Z",
|
|
490
490
|
fill: "black"
|
|
491
|
-
}, null, -1),
|
|
491
|
+
}, null, -1), Xo = [
|
|
492
492
|
Go
|
|
493
493
|
];
|
|
494
|
-
function
|
|
495
|
-
return f(), h("svg", Ko,
|
|
494
|
+
function xo(t, e) {
|
|
495
|
+
return f(), h("svg", Ko, Xo);
|
|
496
496
|
}
|
|
497
|
-
const Qo = /* @__PURE__ */ B(Yo, [["render",
|
|
497
|
+
const Qo = /* @__PURE__ */ B(Yo, [["render", xo]]), Jo = {}, el = {
|
|
498
498
|
width: "24",
|
|
499
499
|
height: "24",
|
|
500
500
|
viewBox: "0 0 24 24",
|
|
@@ -628,20 +628,20 @@ const I1 = (t) => (us("data-v-ad6da4a9"), t = t(), ds(), t), Kl = {
|
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)),
|
|
631
|
+
}, null, -1)), Xl = /* @__PURE__ */ I1(() => /* @__PURE__ */ v("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)),
|
|
636
|
+
}, null, -1)), xl = /* @__PURE__ */ I1(() => /* @__PURE__ */ v("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
640
640
|
r: "2"
|
|
641
641
|
}, null, -1)), Ql = [
|
|
642
642
|
Gl,
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
Xl,
|
|
644
|
+
xl
|
|
645
645
|
];
|
|
646
646
|
function Jl(t, e, a, n, s, o) {
|
|
647
647
|
return f(), h("svg", Kl, Ql);
|
|
@@ -762,20 +762,20 @@ const Zr = /* @__PURE__ */ B(Br, [["render", jr]]), Fr = {}, qr = {
|
|
|
762
762
|
function Yr(t, e) {
|
|
763
763
|
return f(), h("svg", qr, Wr);
|
|
764
764
|
}
|
|
765
|
-
const Kr = /* @__PURE__ */ B(Fr, [["render", Yr]]), Gr = {},
|
|
765
|
+
const Kr = /* @__PURE__ */ B(Fr, [["render", Yr]]), Gr = {}, Xr = {
|
|
766
766
|
width: "24",
|
|
767
767
|
height: "24",
|
|
768
768
|
viewBox: "0 0 24 24",
|
|
769
769
|
fill: "none",
|
|
770
770
|
xmlns: "http://www.w3.org/2000/svg"
|
|
771
|
-
},
|
|
771
|
+
}, xr = /* @__PURE__ */ v("path", {
|
|
772
772
|
d: "M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",
|
|
773
773
|
fill: "black"
|
|
774
774
|
}, null, -1), Qr = [
|
|
775
|
-
|
|
775
|
+
xr
|
|
776
776
|
];
|
|
777
777
|
function Jr(t, e) {
|
|
778
|
-
return f(), h("svg",
|
|
778
|
+
return f(), h("svg", Xr, Qr);
|
|
779
779
|
}
|
|
780
780
|
const e2 = /* @__PURE__ */ B(Gr, [["render", Jr]]), t2 = {}, a2 = {
|
|
781
781
|
width: "24",
|
|
@@ -894,20 +894,20 @@ const Z2 = /* @__PURE__ */ B(B2, [["render", j2]]), F2 = {}, q2 = {
|
|
|
894
894
|
function Y2(t, e) {
|
|
895
895
|
return f(), h("svg", q2, W2);
|
|
896
896
|
}
|
|
897
|
-
const K2 = /* @__PURE__ */ B(F2, [["render", Y2]]), G2 = {},
|
|
897
|
+
const K2 = /* @__PURE__ */ B(F2, [["render", Y2]]), G2 = {}, X2 = {
|
|
898
898
|
width: "24",
|
|
899
899
|
height: "24",
|
|
900
900
|
viewBox: "0 0 24 24",
|
|
901
901
|
fill: "none",
|
|
902
902
|
xmlns: "http://www.w3.org/2000/svg"
|
|
903
|
-
},
|
|
903
|
+
}, x2 = /* @__PURE__ */ v("path", {
|
|
904
904
|
d: "M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",
|
|
905
905
|
fill: "black"
|
|
906
906
|
}, null, -1), Q2 = [
|
|
907
|
-
|
|
907
|
+
x2
|
|
908
908
|
];
|
|
909
909
|
function J2(t, e) {
|
|
910
|
-
return f(), h("svg",
|
|
910
|
+
return f(), h("svg", X2, Q2);
|
|
911
911
|
}
|
|
912
912
|
const eu = /* @__PURE__ */ B(G2, [["render", J2]]), tu = {}, au = {
|
|
913
913
|
width: "24",
|
|
@@ -1029,20 +1029,20 @@ const Zu = /* @__PURE__ */ B(Bu, [["render", ju]]), Fu = {}, qu = {
|
|
|
1029
1029
|
function Yu(t, e) {
|
|
1030
1030
|
return f(), h("svg", qu, Wu);
|
|
1031
1031
|
}
|
|
1032
|
-
const Ku = /* @__PURE__ */ B(Fu, [["render", Yu]]), Gu = {},
|
|
1032
|
+
const Ku = /* @__PURE__ */ B(Fu, [["render", Yu]]), Gu = {}, Xu = {
|
|
1033
1033
|
width: "24",
|
|
1034
1034
|
height: "24",
|
|
1035
1035
|
viewBox: "0 0 24 24",
|
|
1036
1036
|
fill: "none",
|
|
1037
1037
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1038
|
-
},
|
|
1038
|
+
}, xu = /* @__PURE__ */ v("path", {
|
|
1039
1039
|
d: "M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",
|
|
1040
1040
|
fill: "black"
|
|
1041
1041
|
}, null, -1), Qu = [
|
|
1042
|
-
|
|
1042
|
+
xu
|
|
1043
1043
|
];
|
|
1044
1044
|
function Ju(t, e) {
|
|
1045
|
-
return f(), h("svg",
|
|
1045
|
+
return f(), h("svg", Xu, Qu);
|
|
1046
1046
|
}
|
|
1047
1047
|
const ed = /* @__PURE__ */ B(Gu, [["render", Ju]]), td = {}, ad = {
|
|
1048
1048
|
width: "24",
|
|
@@ -1065,7 +1065,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1065
1065
|
AccountCircle: Ls,
|
|
1066
1066
|
AccountTreeOutlineRounded: Ns,
|
|
1067
1067
|
AccountTreeRounded: qs,
|
|
1068
|
-
Add:
|
|
1068
|
+
Add: Xs,
|
|
1069
1069
|
AddBoxOutlineRounded: an,
|
|
1070
1070
|
ArchiveOutlineRounded: un,
|
|
1071
1071
|
ArrowBackRounded: hn,
|
|
@@ -1074,7 +1074,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1074
1074
|
AssignmentOutlineRounded: Vn,
|
|
1075
1075
|
AttachFileRounded: Rn,
|
|
1076
1076
|
CalendarTodayOutlineRounded: zn,
|
|
1077
|
-
CancelRounded:
|
|
1077
|
+
CancelRounded: xn,
|
|
1078
1078
|
ChatOutline: si,
|
|
1079
1079
|
CheckBoxOutlineBlank: ui,
|
|
1080
1080
|
CheckBoxOutlineBlankSharp: hi,
|
|
@@ -1083,7 +1083,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1083
1083
|
ChecklistRounded: Vi,
|
|
1084
1084
|
ChevronLeft: Ri,
|
|
1085
1085
|
ChevronRight: zi,
|
|
1086
|
-
CloseRounded:
|
|
1086
|
+
CloseRounded: xi,
|
|
1087
1087
|
ContactsOutlineRounded: so,
|
|
1088
1088
|
ContentCopyOutline: uo,
|
|
1089
1089
|
DeleteOutlineRounded: mo,
|
|
@@ -1154,7 +1154,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
|
|
|
1154
1154
|
},
|
|
1155
1155
|
setup(t) {
|
|
1156
1156
|
const e = t, a = b(() => ld[e.name]);
|
|
1157
|
-
return (n, s) => (f(), N(
|
|
1157
|
+
return (n, s) => (f(), N(xe(a.value), {
|
|
1158
1158
|
class: G(["ao-icon", `ao-icon--${n.size}`])
|
|
1159
1159
|
}, null, 8, ["class"]));
|
|
1160
1160
|
}
|
|
@@ -1191,7 +1191,7 @@ const dd = ["type"], cd = {
|
|
|
1191
1191
|
s.$attrs.disabled ? "ao-button--is-disabled" : ""
|
|
1192
1192
|
])
|
|
1193
1193
|
}, [
|
|
1194
|
-
|
|
1194
|
+
X(s.$slots, "default", {}, () => [
|
|
1195
1195
|
s.label ? (f(), h("span", cd, q(s.label), 1)) : T("", !0)
|
|
1196
1196
|
]),
|
|
1197
1197
|
n.value ? (f(), N(fe, {
|
|
@@ -1266,7 +1266,7 @@ const Ce = /* @__PURE__ */ K({
|
|
|
1266
1266
|
(A) => {
|
|
1267
1267
|
A || u();
|
|
1268
1268
|
}
|
|
1269
|
-
), (A, _) => (f(), N(
|
|
1269
|
+
), (A, _) => (f(), N(xe(d.value), Ee({
|
|
1270
1270
|
id: A.id,
|
|
1271
1271
|
ref_key: "target",
|
|
1272
1272
|
ref: n,
|
|
@@ -1332,7 +1332,7 @@ const fd = {
|
|
|
1332
1332
|
const a = (n) => {
|
|
1333
1333
|
e("update:title", n);
|
|
1334
1334
|
};
|
|
1335
|
-
return (n, s) => (f(), N(
|
|
1335
|
+
return (n, s) => (f(), N(xe(n.tagName), {
|
|
1336
1336
|
class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1337
1337
|
}, {
|
|
1338
1338
|
default: U(() => [
|
|
@@ -1359,22 +1359,22 @@ const fd = {
|
|
|
1359
1359
|
"is-editable": !0,
|
|
1360
1360
|
"onUpdate:title": a
|
|
1361
1361
|
}, null, 8, ["id", "title"]),
|
|
1362
|
-
|
|
1362
|
+
X(n.$slots, "subtitle", {}, () => [
|
|
1363
1363
|
n.subtitle ? (f(), h("span", md, q(n.subtitle), 1)) : T("", !0)
|
|
1364
1364
|
])
|
|
1365
1365
|
]),
|
|
1366
1366
|
n.$slots.header ? (f(), h("div", Cd, [
|
|
1367
|
-
|
|
1367
|
+
X(n.$slots, "header")
|
|
1368
1368
|
])) : T("", !0)
|
|
1369
1369
|
]),
|
|
1370
1370
|
n.$slots.default ? (f(), h("div", _d, [
|
|
1371
|
-
|
|
1371
|
+
X(n.$slots, "default")
|
|
1372
1372
|
])) : T("", !0),
|
|
1373
1373
|
n.$slots.footer ? (f(), h("div", gd, [
|
|
1374
|
-
|
|
1374
|
+
X(n.$slots, "footer")
|
|
1375
1375
|
])) : T("", !0),
|
|
1376
1376
|
n.$slots.secondary ? (f(), h("div", yd, [
|
|
1377
|
-
|
|
1377
|
+
X(n.$slots, "secondary")
|
|
1378
1378
|
])) : T("", !0)
|
|
1379
1379
|
]),
|
|
1380
1380
|
_: 3
|
|
@@ -1406,7 +1406,7 @@ const O1 = /* @__PURE__ */ K({
|
|
|
1406
1406
|
]),
|
|
1407
1407
|
style: ca(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1408
1408
|
}, [
|
|
1409
|
-
(f(), N(
|
|
1409
|
+
(f(), N(xe(a.value), Ee({ class: "ao-tag__label" }, n.value, {
|
|
1410
1410
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1411
1411
|
}), {
|
|
1412
1412
|
default: U(() => [
|
|
@@ -1528,7 +1528,7 @@ function Od(t) {
|
|
|
1528
1528
|
var n = e.getTime(), s = a - n;
|
|
1529
1529
|
return Math.floor(s / Id) + 1;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Xt(t) {
|
|
1532
1532
|
ge(1, arguments);
|
|
1533
1533
|
var e = 1, a = Be(t), n = a.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1534
1534
|
return a.setUTCDate(a.getUTCDate() - s), a.setUTCHours(0, 0, 0, 0), a;
|
|
@@ -1537,25 +1537,25 @@ function ga(t) {
|
|
|
1537
1537
|
ge(1, arguments);
|
|
1538
1538
|
var e = Be(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1539
1539
|
n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
1540
|
-
var s =
|
|
1540
|
+
var s = Xt(n), o = /* @__PURE__ */ new Date(0);
|
|
1541
1541
|
o.setUTCFullYear(a, 0, 4), o.setUTCHours(0, 0, 0, 0);
|
|
1542
|
-
var i =
|
|
1542
|
+
var i = Xt(o);
|
|
1543
1543
|
return e.getTime() >= s.getTime() ? a + 1 : e.getTime() >= i.getTime() ? a : a - 1;
|
|
1544
1544
|
}
|
|
1545
1545
|
function Ld(t) {
|
|
1546
1546
|
ge(1, arguments);
|
|
1547
1547
|
var e = ga(t), a = /* @__PURE__ */ new Date(0);
|
|
1548
1548
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1549
|
-
var n =
|
|
1549
|
+
var n = Xt(a);
|
|
1550
1550
|
return n;
|
|
1551
1551
|
}
|
|
1552
1552
|
var Vd = 6048e5;
|
|
1553
1553
|
function Dd(t) {
|
|
1554
1554
|
ge(1, arguments);
|
|
1555
|
-
var e = Be(t), a =
|
|
1555
|
+
var e = Be(t), a = Xt(e).getTime() - Ld(e).getTime();
|
|
1556
1556
|
return Math.round(a / Vd) + 1;
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function xt(t, e) {
|
|
1559
1559
|
var a, n, s, o, i, l, d, r;
|
|
1560
1560
|
ge(1, arguments);
|
|
1561
1561
|
var c = i1(), u = Ke((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : c.weekStartsOn) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
@@ -1572,9 +1572,9 @@ function ya(t, e) {
|
|
|
1572
1572
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1573
1573
|
var w = /* @__PURE__ */ new Date(0);
|
|
1574
1574
|
w.setUTCFullYear(u + 1, 0, m), w.setUTCHours(0, 0, 0, 0);
|
|
1575
|
-
var A =
|
|
1575
|
+
var A = xt(w, e), _ = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
_.setUTCFullYear(u, 0, m), _.setUTCHours(0, 0, 0, 0);
|
|
1577
|
-
var M =
|
|
1577
|
+
var M = xt(_, e);
|
|
1578
1578
|
return c.getTime() >= A.getTime() ? u + 1 : c.getTime() >= M.getTime() ? u : u - 1;
|
|
1579
1579
|
}
|
|
1580
1580
|
function Hd(t, e) {
|
|
@@ -1582,13 +1582,13 @@ function Hd(t, e) {
|
|
|
1582
1582
|
ge(1, arguments);
|
|
1583
1583
|
var c = i1(), u = Ke((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = ya(t, e), m = /* @__PURE__ */ new Date(0);
|
|
1584
1584
|
m.setUTCFullYear(p, 0, u), m.setUTCHours(0, 0, 0, 0);
|
|
1585
|
-
var w =
|
|
1585
|
+
var w = xt(m, e);
|
|
1586
1586
|
return w;
|
|
1587
1587
|
}
|
|
1588
1588
|
var Pd = 6048e5;
|
|
1589
1589
|
function Bd(t, e) {
|
|
1590
1590
|
ge(1, arguments);
|
|
1591
|
-
var a = Be(t), n =
|
|
1591
|
+
var a = Be(t), n = xt(a, e).getTime() - Hd(a, e).getTime();
|
|
1592
1592
|
return Math.round(n / Pd) + 1;
|
|
1593
1593
|
}
|
|
1594
1594
|
function le(t, e) {
|
|
@@ -2371,14 +2371,14 @@ var Kd = {
|
|
|
2371
2371
|
var s, o = Kd[e];
|
|
2372
2372
|
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;
|
|
2373
2373
|
};
|
|
2374
|
-
const
|
|
2374
|
+
const Xd = Gd;
|
|
2375
2375
|
function $1(t) {
|
|
2376
2376
|
return function() {
|
|
2377
2377
|
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];
|
|
2378
2378
|
return n;
|
|
2379
2379
|
};
|
|
2380
2380
|
}
|
|
2381
|
-
var
|
|
2381
|
+
var xd = {
|
|
2382
2382
|
full: "EEEE, MMMM do, y",
|
|
2383
2383
|
long: "MMMM do, y",
|
|
2384
2384
|
medium: "MMM d, y",
|
|
@@ -2395,7 +2395,7 @@ var Xd = {
|
|
|
2395
2395
|
short: "{{date}}, {{time}}"
|
|
2396
2396
|
}, ec = {
|
|
2397
2397
|
date: $1({
|
|
2398
|
-
formats:
|
|
2398
|
+
formats: xd,
|
|
2399
2399
|
defaultWidth: "full"
|
|
2400
2400
|
}),
|
|
2401
2401
|
time: $1({
|
|
@@ -2684,7 +2684,7 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
|
|
|
2684
2684
|
const Ic = Ec;
|
|
2685
2685
|
var Oc = {
|
|
2686
2686
|
code: "en-US",
|
|
2687
|
-
formatDistance:
|
|
2687
|
+
formatDistance: Xd,
|
|
2688
2688
|
formatLong: tc,
|
|
2689
2689
|
formatRelative: nc,
|
|
2690
2690
|
localize: vc,
|
|
@@ -2699,15 +2699,15 @@ var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|
|
|
|
2699
2699
|
function Nc(t, e, a) {
|
|
2700
2700
|
var n, s, o, i, l, d, r, c, u, p, m, w, A, _, M, y, L, Z;
|
|
2701
2701
|
ge(2, arguments);
|
|
2702
|
-
var W = String(e), V = i1(),
|
|
2702
|
+
var W = String(e), V = i1(), x = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (r = a.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = V.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2703
2703
|
if (!(te >= 1 && te <= 7))
|
|
2704
2704
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2705
2705
|
var I = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (M = a.locale) === null || M === void 0 || (y = M.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && A !== void 0 ? A : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
|
|
2706
2706
|
if (!(I >= 0 && I <= 6))
|
|
2707
2707
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2708
|
-
if (!
|
|
2708
|
+
if (!x.localize)
|
|
2709
2709
|
throw new RangeError("locale must contain localize property");
|
|
2710
|
-
if (!
|
|
2710
|
+
if (!x.formatLong)
|
|
2711
2711
|
throw new RangeError("locale must contain formatLong property");
|
|
2712
2712
|
var J = Be(t);
|
|
2713
2713
|
if (!_a(J))
|
|
@@ -2715,13 +2715,13 @@ function Nc(t, e, a) {
|
|
|
2715
2715
|
var g = Td(J), S = Ed(J, g), P = {
|
|
2716
2716
|
firstWeekContainsDate: te,
|
|
2717
2717
|
weekStartsOn: I,
|
|
2718
|
-
locale:
|
|
2718
|
+
locale: x,
|
|
2719
2719
|
_originalDate: J
|
|
2720
2720
|
}, ce = W.match(Dc).map(function(se) {
|
|
2721
2721
|
var re = se[0];
|
|
2722
2722
|
if (re === "p" || re === "P") {
|
|
2723
2723
|
var k = Fd[re];
|
|
2724
|
-
return k(se,
|
|
2724
|
+
return k(se, x.formatLong);
|
|
2725
2725
|
}
|
|
2726
2726
|
return se;
|
|
2727
2727
|
}).join("").match(Vc).map(function(se) {
|
|
@@ -2732,7 +2732,7 @@ function Nc(t, e, a) {
|
|
|
2732
2732
|
return Rc(se);
|
|
2733
2733
|
var k = Ud[re];
|
|
2734
2734
|
if (k)
|
|
2735
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), k(S, se,
|
|
2735
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), k(S, se, x.localize, P);
|
|
2736
2736
|
if (re.match(Bc))
|
|
2737
2737
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
|
|
2738
2738
|
return se;
|
|
@@ -2808,7 +2808,7 @@ function Wc(t, e) {
|
|
|
2808
2808
|
if (n)
|
|
2809
2809
|
return Jc(e, l, d) ? Gc(e, l, d) : /* @__PURE__ */ new Date(NaN);
|
|
2810
2810
|
var r = /* @__PURE__ */ new Date(0);
|
|
2811
|
-
return !
|
|
2811
|
+
return !xc(e, o, i) || !Qc(e, s) ? /* @__PURE__ */ new Date(NaN) : (r.setUTCFullYear(e, o, Math.max(s, i)), r);
|
|
2812
2812
|
}
|
|
2813
2813
|
function kt(t) {
|
|
2814
2814
|
return t ? parseInt(t) : 1;
|
|
@@ -2838,12 +2838,12 @@ function Gc(t, e, a) {
|
|
|
2838
2838
|
var s = n.getUTCDay() || 7, o = (e - 1) * 7 + a + 1 - s;
|
|
2839
2839
|
return n.setUTCDate(n.getUTCDate() + o), n;
|
|
2840
2840
|
}
|
|
2841
|
-
var
|
|
2841
|
+
var Xc = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2842
2842
|
function wa(t) {
|
|
2843
2843
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
2844
2844
|
}
|
|
2845
|
-
function
|
|
2846
|
-
return e >= 0 && e <= 11 && a >= 1 && a <= (
|
|
2845
|
+
function xc(t, e, a) {
|
|
2846
|
+
return e >= 0 && e <= 11 && a >= 1 && a <= (Xc[e] || (wa(t) ? 29 : 28));
|
|
2847
2847
|
}
|
|
2848
2848
|
function Qc(t, e) {
|
|
2849
2849
|
return e >= 1 && e <= (wa(t) ? 366 : 365);
|
|
@@ -3795,10 +3795,10 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
|
|
|
3795
3795
|
variant: "ghost",
|
|
3796
3796
|
onClick: a[0] || (a[0] = (n) => e.$emit("goBack"))
|
|
3797
3797
|
})) : T("", !0),
|
|
3798
|
-
|
|
3798
|
+
X(e.$slots, "primary")
|
|
3799
3799
|
]),
|
|
3800
3800
|
e.$slots.secondary ? (f(), h("div", R0, [
|
|
3801
|
-
|
|
3801
|
+
X(e.$slots, "secondary")
|
|
3802
3802
|
])) : T("", !0)
|
|
3803
3803
|
]));
|
|
3804
3804
|
}
|
|
@@ -3829,7 +3829,7 @@ const U0 = ["type"], j0 = {
|
|
|
3829
3829
|
s.$attrs.disabled ? "ao-button-card--is-disabled" : ""
|
|
3830
3830
|
])
|
|
3831
3831
|
}, [
|
|
3832
|
-
|
|
3832
|
+
X(s.$slots, "default", {}, () => [
|
|
3833
3833
|
s.label ? (f(), h("span", j0, q(s.label), 1)) : T("", !0)
|
|
3834
3834
|
]),
|
|
3835
3835
|
n.value ? (f(), N(fe, {
|
|
@@ -3912,7 +3912,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3912
3912
|
milestones: a.value
|
|
3913
3913
|
}, s.$attrs), {
|
|
3914
3914
|
default: U(() => [
|
|
3915
|
-
|
|
3915
|
+
X(s.$slots, "default")
|
|
3916
3916
|
]),
|
|
3917
3917
|
_: 3
|
|
3918
3918
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
@@ -3929,7 +3929,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
3929
3929
|
});
|
|
3930
3930
|
return (n, s) => (f(), N(V1, { activities: a.value }, {
|
|
3931
3931
|
default: U(() => [
|
|
3932
|
-
|
|
3932
|
+
X(n.$slots, "default")
|
|
3933
3933
|
]),
|
|
3934
3934
|
_: 3
|
|
3935
3935
|
}, 8, ["activities"]));
|
|
@@ -4003,7 +4003,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4003
4003
|
_: 1
|
|
4004
4004
|
}, 8, ["model-value", "title"])) : T("", !0);
|
|
4005
4005
|
}
|
|
4006
|
-
}),
|
|
4006
|
+
}), X0 = /* @__PURE__ */ K({
|
|
4007
4007
|
__name: "AoCardTemplateItemActivity",
|
|
4008
4008
|
props: {
|
|
4009
4009
|
name: {},
|
|
@@ -4016,12 +4016,12 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4016
4016
|
});
|
|
4017
4017
|
return (n, s) => (f(), N(V1, { tasks: a.value }, {
|
|
4018
4018
|
default: U(() => [
|
|
4019
|
-
|
|
4019
|
+
X(n.$slots, "default")
|
|
4020
4020
|
]),
|
|
4021
4021
|
_: 3
|
|
4022
4022
|
}, 8, ["tasks"]));
|
|
4023
4023
|
}
|
|
4024
|
-
}),
|
|
4024
|
+
}), x0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ K({
|
|
4025
4025
|
__name: "AoTemplateDetailsActivities",
|
|
4026
4026
|
props: {
|
|
4027
4027
|
templateId: {},
|
|
@@ -4065,7 +4065,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4065
4065
|
})
|
|
4066
4066
|
]),
|
|
4067
4067
|
item: U(({ element: r }) => [
|
|
4068
|
-
(f(), N(
|
|
4068
|
+
(f(), N(X0, {
|
|
4069
4069
|
id: r.id,
|
|
4070
4070
|
key: r.id,
|
|
4071
4071
|
title: r.name,
|
|
@@ -4078,7 +4078,7 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4078
4078
|
}, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
4079
4079
|
]),
|
|
4080
4080
|
footer: U(() => [
|
|
4081
|
-
v("div",
|
|
4081
|
+
v("div", x0, [
|
|
4082
4082
|
E(Je, {
|
|
4083
4083
|
"icon-name": "AddBoxOutlineRounded",
|
|
4084
4084
|
label: l.$t("template.activities.add"),
|
|
@@ -4120,14 +4120,14 @@ const W0 = /* @__PURE__ */ K({
|
|
|
4120
4120
|
})
|
|
4121
4121
|
]),
|
|
4122
4122
|
e.$slots.header ? (f(), h("header", a3, [
|
|
4123
|
-
|
|
4123
|
+
X(e.$slots, "header")
|
|
4124
4124
|
])) : T("", !0)
|
|
4125
4125
|
]),
|
|
4126
4126
|
v("div", s3, [
|
|
4127
|
-
|
|
4127
|
+
X(e.$slots, "default")
|
|
4128
4128
|
]),
|
|
4129
4129
|
e.$slots.footer ? (f(), h("footer", n3, [
|
|
4130
|
-
|
|
4130
|
+
X(e.$slots, "footer")
|
|
4131
4131
|
])) : T("", !0)
|
|
4132
4132
|
])
|
|
4133
4133
|
], 2));
|
|
@@ -4407,16 +4407,16 @@ const h3 = function(t) {
|
|
|
4407
4407
|
return {};
|
|
4408
4408
|
const M = mt(s), y = mt(l) === l, L = await (d.isRTL == null ? void 0 : d.isRTL(r.floating)), Z = p || (y || !A ? [Jt(l)] : u3(l));
|
|
4409
4409
|
!p && w !== "none" && Z.push(...c3(l, A, w, L));
|
|
4410
|
-
const W = [l, ...Z], V = await Oa(e, _),
|
|
4410
|
+
const W = [l, ...Z], V = await Oa(e, _), x = [];
|
|
4411
4411
|
let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4412
|
-
if (c &&
|
|
4412
|
+
if (c && x.push(V[M]), u) {
|
|
4413
4413
|
const S = r3(s, i, L);
|
|
4414
|
-
|
|
4414
|
+
x.push(V[S[0]], V[S[1]]);
|
|
4415
4415
|
}
|
|
4416
4416
|
if (te = [...te, {
|
|
4417
4417
|
placement: s,
|
|
4418
|
-
overflows:
|
|
4419
|
-
}], !
|
|
4418
|
+
overflows: x
|
|
4419
|
+
}], !x.every((S) => S <= 0)) {
|
|
4420
4420
|
var I, J;
|
|
4421
4421
|
const S = (((I = o.flip) == null ? void 0 : I.index) || 0) + 1, P = W[S];
|
|
4422
4422
|
if (P)
|
|
@@ -4482,8 +4482,8 @@ const h3 = function(t) {
|
|
|
4482
4482
|
L = c || y ? Lt(_, V) : V;
|
|
4483
4483
|
}
|
|
4484
4484
|
if (y && !c) {
|
|
4485
|
-
const V = Ae(d.left, 0),
|
|
4486
|
-
u ? Z = p - 2 * (V !== 0 ||
|
|
4485
|
+
const V = Ae(d.left, 0), x = Ae(d.right, 0), te = Ae(d.top, 0), I = Ae(d.bottom, 0);
|
|
4486
|
+
u ? Z = p - 2 * (V !== 0 || x !== 0 ? V + x : Ae(d.left, d.right)) : L = m - 2 * (te !== 0 || I !== 0 ? te + I : Ae(d.top, d.bottom));
|
|
4487
4487
|
}
|
|
4488
4488
|
await i({
|
|
4489
4489
|
...e,
|
|
@@ -4499,7 +4499,7 @@ const h3 = function(t) {
|
|
|
4499
4499
|
}
|
|
4500
4500
|
};
|
|
4501
4501
|
};
|
|
4502
|
-
function
|
|
4502
|
+
function Xe(t) {
|
|
4503
4503
|
return La(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4504
4504
|
}
|
|
4505
4505
|
function we(t) {
|
|
@@ -4532,7 +4532,7 @@ function Ut(t) {
|
|
|
4532
4532
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + a) && !["inline", "contents"].includes(s);
|
|
4533
4533
|
}
|
|
4534
4534
|
function C3(t) {
|
|
4535
|
-
return ["table", "td", "th"].includes(
|
|
4535
|
+
return ["table", "td", "th"].includes(Xe(t));
|
|
4536
4536
|
}
|
|
4537
4537
|
function B1(t) {
|
|
4538
4538
|
const e = N1(), a = Ie(t);
|
|
@@ -4551,7 +4551,7 @@ function N1() {
|
|
|
4551
4551
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4552
4552
|
}
|
|
4553
4553
|
function f1(t) {
|
|
4554
|
-
return ["html", "body", "#document"].includes(
|
|
4554
|
+
return ["html", "body", "#document"].includes(Xe(t));
|
|
4555
4555
|
}
|
|
4556
4556
|
function Ie(t) {
|
|
4557
4557
|
return we(t).getComputedStyle(t);
|
|
@@ -4566,7 +4566,7 @@ function v1(t) {
|
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
4568
4568
|
function Ct(t) {
|
|
4569
|
-
if (
|
|
4569
|
+
if (Xe(t) === "html")
|
|
4570
4570
|
return t;
|
|
4571
4571
|
const e = (
|
|
4572
4572
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -4662,7 +4662,7 @@ function b3(t) {
|
|
|
4662
4662
|
scrollTop: 0
|
|
4663
4663
|
}, l = Ge(1);
|
|
4664
4664
|
const d = Ge(0);
|
|
4665
|
-
if ((s || !s && n !== "fixed") && ((
|
|
4665
|
+
if ((s || !s && n !== "fixed") && ((Xe(a) !== "body" || Ut(o)) && (i = v1(a)), Pe(a))) {
|
|
4666
4666
|
const r = at(a);
|
|
4667
4667
|
l = pt(a), d.x = r.x + a.clientLeft, d.y = r.y + a.clientTop;
|
|
4668
4668
|
}
|
|
@@ -4740,7 +4740,7 @@ function A3(t, e) {
|
|
|
4740
4740
|
const a = e.get(t);
|
|
4741
4741
|
if (a)
|
|
4742
4742
|
return a;
|
|
4743
|
-
let n = Vt(t, [], !1).filter((l) => je(l) &&
|
|
4743
|
+
let n = Vt(t, [], !1).filter((l) => je(l) && Xe(l) !== "body"), s = null;
|
|
4744
4744
|
const o = Ie(t).position === "fixed";
|
|
4745
4745
|
let i = o ? Ct(t) : t;
|
|
4746
4746
|
for (; je(i) && !f1(i); ) {
|
|
@@ -4778,7 +4778,7 @@ function E3(t, e, a) {
|
|
|
4778
4778
|
};
|
|
4779
4779
|
const d = Ge(0);
|
|
4780
4780
|
if (n || !n && !o)
|
|
4781
|
-
if ((
|
|
4781
|
+
if ((Xe(e) !== "body" || Ut(s)) && (l = v1(e)), n) {
|
|
4782
4782
|
const r = at(e, !0, o, e);
|
|
4783
4783
|
d.x = r.x + e.clientLeft, d.y = r.y + e.clientTop;
|
|
4784
4784
|
} else
|
|
@@ -4800,7 +4800,7 @@ function Na(t, e) {
|
|
|
4800
4800
|
let n = ra(t, e);
|
|
4801
4801
|
for (; n && C3(n) && Ie(n).position === "static"; )
|
|
4802
4802
|
n = ra(n, e);
|
|
4803
|
-
return n && (
|
|
4803
|
+
return n && (Xe(n) === "html" || Xe(n) === "body" && Ie(n).position === "static" && !B1(n)) ? a : n || _3(t) || a;
|
|
4804
4804
|
}
|
|
4805
4805
|
const I3 = async function(t) {
|
|
4806
4806
|
let {
|
|
@@ -5089,7 +5089,7 @@ function F3(t, e, a) {
|
|
|
5089
5089
|
clearOnSearch: Z,
|
|
5090
5090
|
clearOnSelect: W,
|
|
5091
5091
|
valueProp: V,
|
|
5092
|
-
allowAbsent:
|
|
5092
|
+
allowAbsent: x,
|
|
5093
5093
|
groupLabel: te,
|
|
5094
5094
|
canDeselect: I,
|
|
5095
5095
|
max: J,
|
|
@@ -5171,7 +5171,7 @@ function F3(t, e, a) {
|
|
|
5171
5171
|
[Ve.value]: R.value,
|
|
5172
5172
|
[c.value]: R.value,
|
|
5173
5173
|
__CREATE__: !0
|
|
5174
|
-
}]), Ve = b(() => o.value || c.value),
|
|
5174
|
+
}]), Ve = b(() => o.value || c.value), Xa = b(() => {
|
|
5175
5175
|
switch (s.value) {
|
|
5176
5176
|
case "single":
|
|
5177
5177
|
return null;
|
|
@@ -5179,7 +5179,7 @@ function F3(t, e, a) {
|
|
|
5179
5179
|
case "tags":
|
|
5180
5180
|
return [];
|
|
5181
5181
|
}
|
|
5182
|
-
}),
|
|
5182
|
+
}), xa = b(() => A.value || Le.value), rt = (C) => {
|
|
5183
5183
|
switch (typeof C != "object" && (C = Re(C)), s.value) {
|
|
5184
5184
|
case "single":
|
|
5185
5185
|
Me(C);
|
|
@@ -5210,7 +5210,7 @@ function F3(t, e, a) {
|
|
|
5210
5210
|
}
|
|
5211
5211
|
Y1(C);
|
|
5212
5212
|
}, K1 = () => {
|
|
5213
|
-
e.emit("clear", ie), Me(
|
|
5213
|
+
e.emit("clear", ie), Me(Xa.value);
|
|
5214
5214
|
}, Ne = (C) => {
|
|
5215
5215
|
if (C.group !== void 0)
|
|
5216
5216
|
return s.value === "single" ? !1 : ss(C[k.value]) && C[k.value].length;
|
|
@@ -5291,8 +5291,8 @@ function F3(t, e, a) {
|
|
|
5291
5291
|
if (R.value && L.value) {
|
|
5292
5292
|
let pe = Y.value;
|
|
5293
5293
|
pe || (pe = (wt, a8) => {
|
|
5294
|
-
let
|
|
5295
|
-
return $.value ?
|
|
5294
|
+
let x1 = k1(qa(wt[Ve.value]), g.value);
|
|
5295
|
+
return $.value ? x1.startsWith(k1(R.value, g.value)) : x1.indexOf(k1(R.value, g.value)) !== -1;
|
|
5296
5296
|
}), ne = ne.filter(pe);
|
|
5297
5297
|
}
|
|
5298
5298
|
return l.value && D && (ne = ne.filter((pe) => !is(pe))), ne;
|
|
@@ -5330,15 +5330,15 @@ function F3(t, e, a) {
|
|
|
5330
5330
|
});
|
|
5331
5331
|
}, rs = (C) => {
|
|
5332
5332
|
Ft(C);
|
|
5333
|
-
}, qt = (C) => De(C) ? s.value === "single" ? {} : [] : w.value ? C : s.value === "single" ? Re(C) || (
|
|
5333
|
+
}, qt = (C) => De(C) ? s.value === "single" ? {} : [] : w.value ? C : s.value === "single" ? Re(C) || (x.value ? {
|
|
5334
5334
|
[c.value]: C,
|
|
5335
5335
|
[V.value]: C,
|
|
5336
5336
|
[Ve.value]: C
|
|
5337
|
-
} : {}) : C.filter((D) => !!Re(D) ||
|
|
5337
|
+
} : {}) : C.filter((D) => !!Re(D) || x.value).map((D) => Re(D) || {
|
|
5338
5338
|
[c.value]: D,
|
|
5339
5339
|
[V.value]: D,
|
|
5340
5340
|
[Ve.value]: D
|
|
5341
|
-
}),
|
|
5341
|
+
}), X1 = () => {
|
|
5342
5342
|
p1.value = ue(R, (C) => {
|
|
5343
5343
|
C.length < y.value || !C && y.value !== 0 || (Le.value = !0, Z.value && (Fe.value = []), setTimeout(() => {
|
|
5344
5344
|
C == R.value && n.value(R.value, ie).then((D) => {
|
|
@@ -5354,8 +5354,8 @@ function F3(t, e, a) {
|
|
|
5354
5354
|
};
|
|
5355
5355
|
if (s.value !== "single" && !De(O.value) && !Array.isArray(O.value))
|
|
5356
5356
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5357
|
-
return n && typeof n.value == "function" ? M.value ? Ft(Zt) : w.value == !0 && Zt() : (Fe.value = n.value, Zt()), _.value > -1 &&
|
|
5358
|
-
p1.value && p1.value(), C >= 0 &&
|
|
5357
|
+
return n && typeof n.value == "function" ? M.value ? Ft(Zt) : w.value == !0 && Zt() : (Fe.value = n.value, Zt()), _.value > -1 && X1(), ue(_, (C, D) => {
|
|
5358
|
+
p1.value && p1.value(), C >= 0 && X1();
|
|
5359
5359
|
}), ue(O, (C) => {
|
|
5360
5360
|
if (De(C)) {
|
|
5361
5361
|
Me(qt(C), !1);
|
|
@@ -5387,7 +5387,7 @@ function F3(t, e, a) {
|
|
|
5387
5387
|
noOptions: Ka,
|
|
5388
5388
|
noResults: Ga,
|
|
5389
5389
|
resolving: Le,
|
|
5390
|
-
busy:
|
|
5390
|
+
busy: xa,
|
|
5391
5391
|
offset: h1,
|
|
5392
5392
|
select: rt,
|
|
5393
5393
|
deselect: ut,
|
|
@@ -5417,17 +5417,17 @@ function q3(t, e, a) {
|
|
|
5417
5417
|
groupSelect: r,
|
|
5418
5418
|
disabledProp: c,
|
|
5419
5419
|
groupOptions: u
|
|
5420
|
-
} = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, M = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])),
|
|
5420
|
+
} = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, M = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), x = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), I = b(() => M.value && M.value.group), J = b(() => ie(M.value)), g = b(() => {
|
|
5421
5421
|
const O = I.value ? M.value : (
|
|
5422
5422
|
/* istanbul ignore next */
|
|
5423
5423
|
ie(M.value)
|
|
5424
|
-
), R =
|
|
5425
|
-
let me =
|
|
5424
|
+
), R = x.value.map((Me) => Me[i.value]).indexOf(O[i.value]);
|
|
5425
|
+
let me = x.value[R - 1];
|
|
5426
5426
|
return me === void 0 && (me = P.value), me;
|
|
5427
5427
|
}), S = b(() => {
|
|
5428
|
-
let O =
|
|
5429
|
-
return
|
|
5430
|
-
}), P = b(() => [...
|
|
5428
|
+
let O = x.value.map((R) => R.label).indexOf(I.value ? M.value[i.value] : ie(M.value)[i.value]) + 1;
|
|
5429
|
+
return x.value.length <= O && (O = 0), x.value[O];
|
|
5430
|
+
}), P = b(() => [...x.value].slice(-1)[0]), ce = b(() => M.value.__VISIBLE__.filter((O) => !O[c.value])[0]), se = b(() => {
|
|
5431
5431
|
const O = J.value.__VISIBLE__.filter((R) => !R[c.value]);
|
|
5432
5432
|
return O[O.map((R) => R[n.value]).indexOf(M.value[n.value]) - 1];
|
|
5433
5433
|
}), re = b(() => {
|
|
@@ -5439,7 +5439,7 @@ function q3(t, e, a) {
|
|
|
5439
5439
|
!M.value || M.value[c.value] === !0 || (I.value ? A(M.value) : w(M.value));
|
|
5440
5440
|
}, $ = () => {
|
|
5441
5441
|
if (M.value === null)
|
|
5442
|
-
y((l.value && te.value ?
|
|
5442
|
+
y((l.value && te.value ? x.value[0].__CREATE__ ? V.value[0] : x.value[0] : V.value[0]) || null);
|
|
5443
5443
|
else if (l.value && te.value) {
|
|
5444
5444
|
let O = I.value ? ce.value : re.value;
|
|
5445
5445
|
O === void 0 && (O = S.value, O.__CREATE__ && (O = O[u.value][0])), y(O || /* istanbul ignore next */
|
|
@@ -5466,7 +5466,7 @@ function q3(t, e, a) {
|
|
|
5466
5466
|
Oe(() => {
|
|
5467
5467
|
H();
|
|
5468
5468
|
});
|
|
5469
|
-
}, ie = (O) =>
|
|
5469
|
+
}, ie = (O) => x.value.find((R) => R.__VISIBLE__.map((me) => me[n.value]).indexOf(O[n.value]) !== -1), H = () => {
|
|
5470
5470
|
let O = Z.value.querySelector("[data-pointed]");
|
|
5471
5471
|
if (!O)
|
|
5472
5472
|
return;
|
|
@@ -5561,7 +5561,7 @@ function Y3(t, e, a) {
|
|
|
5561
5561
|
createTag: u,
|
|
5562
5562
|
createOption: p,
|
|
5563
5563
|
reverse: m
|
|
5564
|
-
} = $e(t), w = st().proxy, A = a.iv, _ = a.update, M = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect,
|
|
5564
|
+
} = $e(t), w = st().proxy, A = a.iv, _ = a.update, M = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, x = a.wrapper, te = a.tags, I = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), ce = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
|
|
5565
5565
|
n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf(M.value)]);
|
|
5566
5566
|
}, re = (j) => {
|
|
5567
5567
|
let ae = j.length - 1;
|
|
@@ -5583,7 +5583,7 @@ function Y3(t, e, a) {
|
|
|
5583
5583
|
if (j.preventDefault(), j.keyCode === 229)
|
|
5584
5584
|
return;
|
|
5585
5585
|
if (oe !== -1 && oe !== void 0) {
|
|
5586
|
-
_([...A.value].filter(($, Y) => Y !== oe)), oe === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? te.value.querySelector("input").focus() :
|
|
5586
|
+
_([...A.value].filter(($, Y) => Y !== oe)), oe === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : x.value.focus());
|
|
5587
5587
|
return;
|
|
5588
5588
|
}
|
|
5589
5589
|
if (ce.value.indexOf("enter") === -1 && P.value)
|
|
@@ -5629,7 +5629,7 @@ function Y3(t, e, a) {
|
|
|
5629
5629
|
case "ArrowRight":
|
|
5630
5630
|
if (oe === -1 || j.shiftKey || n.value !== "tags" || !A.value || !A.value.length)
|
|
5631
5631
|
return;
|
|
5632
|
-
j.preventDefault(), ae.length > oe + 1 ? ae[oe + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value ||
|
|
5632
|
+
j.preventDefault(), ae.length > oe + 1 ? ae[oe + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || x.value.focus();
|
|
5633
5633
|
break;
|
|
5634
5634
|
}
|
|
5635
5635
|
},
|
|
@@ -5774,7 +5774,7 @@ function G3(t, e, a) {
|
|
|
5774
5774
|
infiniteLoader: u
|
|
5775
5775
|
};
|
|
5776
5776
|
}
|
|
5777
|
-
function
|
|
5777
|
+
function X3(t, e, a) {
|
|
5778
5778
|
const {
|
|
5779
5779
|
placeholder: n,
|
|
5780
5780
|
id: s,
|
|
@@ -5800,7 +5800,7 @@ function x3(t, e, a) {
|
|
|
5800
5800
|
}), V = b(() => {
|
|
5801
5801
|
let S = { ...r.value };
|
|
5802
5802
|
return c.value && (S["aria-labelledby"] = S["aria-labelledby"] ? `${_.value} ${S["aria-labelledby"]}` : _.value, W.value && S["aria-label"] && (S["aria-label"] = `${W.value}, ${S["aria-label"]}`)), S;
|
|
5803
|
-
}),
|
|
5803
|
+
}), x = (S) => {
|
|
5804
5804
|
let P = [];
|
|
5805
5805
|
return s && s.value && P.push(s.value), P.push("multiselect-option"), P.push(S[o.value]), P.join("-");
|
|
5806
5806
|
}, te = (S) => {
|
|
@@ -5826,14 +5826,14 @@ function x3(t, e, a) {
|
|
|
5826
5826
|
ariaPlaceholder: L,
|
|
5827
5827
|
ariaMultiselectable: Z,
|
|
5828
5828
|
ariaActiveDescendant: y,
|
|
5829
|
-
ariaOptionId:
|
|
5829
|
+
ariaOptionId: x,
|
|
5830
5830
|
ariaOptionLabel: I,
|
|
5831
5831
|
ariaGroupId: te,
|
|
5832
5832
|
ariaGroupLabel: J,
|
|
5833
5833
|
ariaTagLabel: g
|
|
5834
5834
|
};
|
|
5835
5835
|
}
|
|
5836
|
-
function
|
|
5836
|
+
function x3(t, e, a) {
|
|
5837
5837
|
const {
|
|
5838
5838
|
locale: n,
|
|
5839
5839
|
fallbackLocale: s
|
|
@@ -6187,7 +6187,7 @@ var We = {
|
|
|
6187
6187
|
},
|
|
6188
6188
|
setup(t, e) {
|
|
6189
6189
|
return Q3(t, e, [
|
|
6190
|
-
|
|
6190
|
+
x3,
|
|
6191
6191
|
N3,
|
|
6192
6192
|
U3,
|
|
6193
6193
|
z3,
|
|
@@ -6199,7 +6199,7 @@ var We = {
|
|
|
6199
6199
|
q3,
|
|
6200
6200
|
Y3,
|
|
6201
6201
|
K3,
|
|
6202
|
-
|
|
6202
|
+
X3
|
|
6203
6203
|
]);
|
|
6204
6204
|
}
|
|
6205
6205
|
};
|
|
@@ -6262,7 +6262,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6262
6262
|
(f(!0), h(
|
|
6263
6263
|
ve,
|
|
6264
6264
|
null,
|
|
6265
|
-
ye(t.iv, (i, l, d) =>
|
|
6265
|
+
ye(t.iv, (i, l, d) => X(t.$slots, "tag", {
|
|
6266
6266
|
option: i,
|
|
6267
6267
|
handleTagRemove: t.handleTagRemove,
|
|
6268
6268
|
disabled: a.disabled
|
|
@@ -6351,7 +6351,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6351
6351
|
/* CLASS */
|
|
6352
6352
|
)) : T("v-if", !0),
|
|
6353
6353
|
T(" Single label "),
|
|
6354
|
-
a.mode == "single" && t.hasSelected && !t.search && t.iv ?
|
|
6354
|
+
a.mode == "single" && t.hasSelected && !t.search && t.iv ? X(t.$slots, "singlelabel", {
|
|
6355
6355
|
key: 2,
|
|
6356
6356
|
value: t.iv
|
|
6357
6357
|
}, () => [
|
|
@@ -6376,7 +6376,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6376
6376
|
)
|
|
6377
6377
|
]) : T("v-if", !0),
|
|
6378
6378
|
T(" Multiple label "),
|
|
6379
|
-
a.mode == "multiple" && t.hasSelected && !t.search ?
|
|
6379
|
+
a.mode == "multiple" && t.hasSelected && !t.search ? X(t.$slots, "multiplelabel", {
|
|
6380
6380
|
key: 3,
|
|
6381
6381
|
values: t.iv
|
|
6382
6382
|
}, () => [
|
|
@@ -6386,7 +6386,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6386
6386
|
}, null, 10, i5)
|
|
6387
6387
|
]) : T("v-if", !0),
|
|
6388
6388
|
T(" Placeholder "),
|
|
6389
|
-
a.placeholder && !t.hasSelected && !t.search ?
|
|
6389
|
+
a.placeholder && !t.hasSelected && !t.search ? X(t.$slots, "placeholder", { key: 4 }, () => [
|
|
6390
6390
|
v(
|
|
6391
6391
|
"div",
|
|
6392
6392
|
{
|
|
@@ -6399,7 +6399,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6399
6399
|
)
|
|
6400
6400
|
]) : T("v-if", !0),
|
|
6401
6401
|
T(" Spinner "),
|
|
6402
|
-
a.loading || t.resolving ?
|
|
6402
|
+
a.loading || t.resolving ? X(t.$slots, "spinner", { key: 5 }, () => [
|
|
6403
6403
|
v(
|
|
6404
6404
|
"span",
|
|
6405
6405
|
{
|
|
@@ -6412,7 +6412,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6412
6412
|
)
|
|
6413
6413
|
]) : T("v-if", !0),
|
|
6414
6414
|
T(" Clear "),
|
|
6415
|
-
t.hasSelected && !a.disabled && a.canClear && !t.busy ?
|
|
6415
|
+
t.hasSelected && !a.disabled && a.canClear && !t.busy ? X(t.$slots, "clear", {
|
|
6416
6416
|
key: 6,
|
|
6417
6417
|
clear: t.clear
|
|
6418
6418
|
}, () => [
|
|
@@ -6444,7 +6444,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6444
6444
|
)
|
|
6445
6445
|
]) : T("v-if", !0),
|
|
6446
6446
|
T(" Caret "),
|
|
6447
|
-
a.caret && a.showOptions ?
|
|
6447
|
+
a.caret && a.showOptions ? X(t.$slots, "caret", { key: 7 }, () => [
|
|
6448
6448
|
v(
|
|
6449
6449
|
"span",
|
|
6450
6450
|
{
|
|
@@ -6466,7 +6466,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6466
6466
|
tabindex: "-1"
|
|
6467
6467
|
},
|
|
6468
6468
|
[
|
|
6469
|
-
|
|
6469
|
+
X(t.$slots, "beforelist", { options: t.fo }),
|
|
6470
6470
|
v("ul", {
|
|
6471
6471
|
class: G(t.classList.options),
|
|
6472
6472
|
id: t.ariaControls,
|
|
@@ -6490,7 +6490,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6490
6490
|
onMouseenter: (r) => t.setPointer(i, l),
|
|
6491
6491
|
onClick: (r) => t.handleGroupClick(i)
|
|
6492
6492
|
}, [
|
|
6493
|
-
|
|
6493
|
+
X(t.$slots, "grouplabel", {
|
|
6494
6494
|
group: i,
|
|
6495
6495
|
isSelected: t.isSelected,
|
|
6496
6496
|
isPointed: t.isPointed
|
|
@@ -6520,7 +6520,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6520
6520
|
"aria-label": t.ariaOptionLabel(t.localize(r[a.label])),
|
|
6521
6521
|
role: "option"
|
|
6522
6522
|
}, [
|
|
6523
|
-
|
|
6523
|
+
X(t.$slots, "option", {
|
|
6524
6524
|
option: r,
|
|
6525
6525
|
isSelected: t.isSelected,
|
|
6526
6526
|
isPointed: t.isPointed,
|
|
@@ -6557,7 +6557,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6557
6557
|
"aria-label": t.ariaOptionLabel(t.localize(i[a.label])),
|
|
6558
6558
|
role: "option"
|
|
6559
6559
|
}, [
|
|
6560
|
-
|
|
6560
|
+
X(t.$slots, "option", {
|
|
6561
6561
|
option: i,
|
|
6562
6562
|
isSelected: t.isSelected,
|
|
6563
6563
|
isPointed: t.isPointed,
|
|
@@ -6576,13 +6576,13 @@ function g5(t, e, a, n, s, o) {
|
|
|
6576
6576
|
/* KEYED_FRAGMENT */
|
|
6577
6577
|
))
|
|
6578
6578
|
], 10, o5),
|
|
6579
|
-
t.noOptions ?
|
|
6579
|
+
t.noOptions ? X(t.$slots, "nooptions", { key: 0 }, () => [
|
|
6580
6580
|
v("div", {
|
|
6581
6581
|
class: G(t.classList.noOptions),
|
|
6582
6582
|
innerHTML: t.localize(a.noOptionsText)
|
|
6583
6583
|
}, null, 10, v5)
|
|
6584
6584
|
]) : T("v-if", !0),
|
|
6585
|
-
t.noResults ?
|
|
6585
|
+
t.noResults ? X(t.$slots, "noresults", { key: 1 }, () => [
|
|
6586
6586
|
v("div", {
|
|
6587
6587
|
class: G(t.classList.noResults),
|
|
6588
6588
|
innerHTML: t.localize(a.noResultsText)
|
|
@@ -6596,7 +6596,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6596
6596
|
ref: "infiniteLoader"
|
|
6597
6597
|
},
|
|
6598
6598
|
[
|
|
6599
|
-
|
|
6599
|
+
X(t.$slots, "infinite", {}, () => [
|
|
6600
6600
|
v(
|
|
6601
6601
|
"span",
|
|
6602
6602
|
{
|
|
@@ -6611,7 +6611,7 @@ function g5(t, e, a, n, s, o) {
|
|
|
6611
6611
|
2
|
|
6612
6612
|
/* CLASS */
|
|
6613
6613
|
)) : T("v-if", !0),
|
|
6614
|
-
|
|
6614
|
+
X(t.$slots, "afterlist", { options: t.fo })
|
|
6615
6615
|
],
|
|
6616
6616
|
2
|
|
6617
6617
|
/* CLASS */
|
|
@@ -6690,7 +6690,7 @@ const be = /* @__PURE__ */ K({
|
|
|
6690
6690
|
ye(s.$slots, (i, l) => ({
|
|
6691
6691
|
name: l,
|
|
6692
6692
|
fn: U((d) => [
|
|
6693
|
-
|
|
6693
|
+
X(s.$slots, l, Ht(Pt(d ?? {})))
|
|
6694
6694
|
])
|
|
6695
6695
|
}))
|
|
6696
6696
|
]), 1536));
|
|
@@ -6794,7 +6794,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
|
|
|
6794
6794
|
}, r = (u, p) => {
|
|
6795
6795
|
e("update", {
|
|
6796
6796
|
id: p,
|
|
6797
|
-
assigneeId: u[0]
|
|
6797
|
+
assigneeId: u[0] ?? null
|
|
6798
6798
|
});
|
|
6799
6799
|
}, c = (u) => {
|
|
6800
6800
|
const p = u.target;
|
|
@@ -7025,7 +7025,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
|
|
|
7025
7025
|
}, null, 8, ["avatar-url", "user-name"])) : T("", !0),
|
|
7026
7026
|
v("div", P5, [
|
|
7027
7027
|
v("div", B5, [
|
|
7028
|
-
(f(), N(
|
|
7028
|
+
(f(), N(xe(u.value), {
|
|
7029
7029
|
ref_key: "commentContent",
|
|
7030
7030
|
ref: s,
|
|
7031
7031
|
class: "ao-comment__content",
|
|
@@ -7177,7 +7177,7 @@ const K5 = {
|
|
|
7177
7177
|
}, G5 = {
|
|
7178
7178
|
key: 0,
|
|
7179
7179
|
class: "ao-field"
|
|
7180
|
-
},
|
|
7180
|
+
}, X5 = { class: "ao-field__label" }, x5 = { class: "ao-activity-details__content" }, Q5 = { class: "ao-fieldset" }, J5 = { class: "ao-field__row" }, e7 = { class: "ao-field ao-field--full" }, t7 = { class: "ao-field__label" }, a7 = ["readonly"], s7 = { class: "ao-field__row" }, n7 = { class: "ao-field" }, i7 = { class: "ao-field__label" }, o7 = ["readonly"], l7 = { class: "ao-field" }, r7 = { class: "ao-field__label" }, u7 = ["disabled"], d7 = {
|
|
7181
7181
|
key: 0,
|
|
7182
7182
|
class: "ao-field"
|
|
7183
7183
|
}, c7 = { class: "ao-field__label" }, f7 = ["disabled"], v7 = {
|
|
@@ -7334,7 +7334,7 @@ const K5 = {
|
|
|
7334
7334
|
value: S.id,
|
|
7335
7335
|
label: S.name
|
|
7336
7336
|
}));
|
|
7337
|
-
}),
|
|
7337
|
+
}), x = (g) => {
|
|
7338
7338
|
e("update:activity", {
|
|
7339
7339
|
id: a.activity.id,
|
|
7340
7340
|
statusId: g
|
|
@@ -7360,11 +7360,11 @@ const K5 = {
|
|
|
7360
7360
|
"is-editable": g.isEditable,
|
|
7361
7361
|
"onUpdate:title": n
|
|
7362
7362
|
}, null, 8, ["title", "is-editable"]),
|
|
7363
|
-
|
|
7363
|
+
X(g.$slots, "header", {}, () => {
|
|
7364
7364
|
var P;
|
|
7365
7365
|
return [
|
|
7366
7366
|
V.value ? (f(), h("label", G5, [
|
|
7367
|
-
v("span",
|
|
7367
|
+
v("span", X5, q(g.$t("activity.status.label")), 1),
|
|
7368
7368
|
E(be, {
|
|
7369
7369
|
options: V.value,
|
|
7370
7370
|
value: (P = g.activity.status) == null ? void 0 : P.id,
|
|
@@ -7372,14 +7372,14 @@ const K5 = {
|
|
|
7372
7372
|
"can-deselect": !1,
|
|
7373
7373
|
disabled: !g.isEditable,
|
|
7374
7374
|
caret: g.isEditable,
|
|
7375
|
-
onChange:
|
|
7375
|
+
onChange: x
|
|
7376
7376
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
7377
7377
|
])) : T("", !0)
|
|
7378
7378
|
];
|
|
7379
7379
|
})
|
|
7380
7380
|
]),
|
|
7381
7381
|
default: U(() => [
|
|
7382
|
-
v("div",
|
|
7382
|
+
v("div", x5, [
|
|
7383
7383
|
v("fieldset", Q5, [
|
|
7384
7384
|
v("div", J5, [
|
|
7385
7385
|
v("label", e7, [
|
|
@@ -7457,7 +7457,7 @@ const K5 = {
|
|
|
7457
7457
|
])) : T("", !0)
|
|
7458
7458
|
])
|
|
7459
7459
|
]),
|
|
7460
|
-
|
|
7460
|
+
g.isTemplate !== !0 && !l.value ? (f(), h("fieldset", v7, [
|
|
7461
7461
|
v("div", p7, [
|
|
7462
7462
|
E(fe, { name: "AccountBoxSharp" }),
|
|
7463
7463
|
E(Ce, {
|
|
@@ -7497,7 +7497,7 @@ const K5 = {
|
|
|
7497
7497
|
])
|
|
7498
7498
|
])
|
|
7499
7499
|
])
|
|
7500
|
-
])),
|
|
7500
|
+
])) : T("", !0),
|
|
7501
7501
|
v("fieldset", _7, [
|
|
7502
7502
|
v("div", g7, [
|
|
7503
7503
|
E(fe, { name: "SelectCheckBox" }),
|
|
@@ -7578,7 +7578,7 @@ const K5 = {
|
|
|
7578
7578
|
}, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
7579
7579
|
])
|
|
7580
7580
|
])) : T("", !0),
|
|
7581
|
-
|
|
7581
|
+
X(g.$slots, "default", { activity: g.activity })
|
|
7582
7582
|
])
|
|
7583
7583
|
]),
|
|
7584
7584
|
g.isTemplate !== !0 && g.userId ? (f(), h("div", D7, [
|
|
@@ -7690,7 +7690,7 @@ const B7 = /* @__PURE__ */ K({
|
|
|
7690
7690
|
e("update:rule", { ...a.rule, durationUnit: M });
|
|
7691
7691
|
}
|
|
7692
7692
|
}), _ = b(() => Object.values($d));
|
|
7693
|
-
return (M, y) => (f(), N(
|
|
7693
|
+
return (M, y) => (f(), N(xe(M.tagName), { class: "ao-rule-line" }, {
|
|
7694
7694
|
default: U(() => [
|
|
7695
7695
|
E(z(We), {
|
|
7696
7696
|
modelValue: s.value,
|
|
@@ -7988,8 +7988,8 @@ const j7 = {
|
|
|
7988
7988
|
templateId: a.templateId,
|
|
7989
7989
|
data: j
|
|
7990
7990
|
});
|
|
7991
|
-
},
|
|
7992
|
-
|
|
7991
|
+
}, x = Q(!1), te = () => {
|
|
7992
|
+
x.value = !x.value;
|
|
7993
7993
|
}, I = () => {
|
|
7994
7994
|
e("addRule", { templateId: a.templateId });
|
|
7995
7995
|
}, J = (k) => {
|
|
@@ -8153,13 +8153,13 @@ const j7 = {
|
|
|
8153
8153
|
onRemoveFile: re
|
|
8154
8154
|
}, {
|
|
8155
8155
|
default: U((H) => [
|
|
8156
|
-
|
|
8156
|
+
X(k.$slots, "activityDetailsBody", Ht(Pt(H)))
|
|
8157
8157
|
]),
|
|
8158
8158
|
_: 3
|
|
8159
8159
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
8160
8160
|
])),
|
|
8161
8161
|
(f(), N(It, { to: "body" }, [
|
|
8162
|
-
|
|
8162
|
+
x.value ? (f(), N(U7, {
|
|
8163
8163
|
key: 0,
|
|
8164
8164
|
"template-id": s.value.id,
|
|
8165
8165
|
rules: s.value.rules || [],
|
|
@@ -8178,7 +8178,7 @@ const j7 = {
|
|
|
8178
8178
|
const G7 = {
|
|
8179
8179
|
key: 0,
|
|
8180
8180
|
class: "ao-card__header"
|
|
8181
|
-
},
|
|
8181
|
+
}, X7 = { class: "ao-card__body" }, x7 = {
|
|
8182
8182
|
key: 1,
|
|
8183
8183
|
class: "ao-card__footer"
|
|
8184
8184
|
}, j1 = /* @__PURE__ */ K({
|
|
@@ -8188,18 +8188,18 @@ const G7 = {
|
|
|
8188
8188
|
tagName: { default: "div" }
|
|
8189
8189
|
},
|
|
8190
8190
|
setup(t) {
|
|
8191
|
-
return (e, a) => (f(), N(
|
|
8191
|
+
return (e, a) => (f(), N(xe(e.tagName), {
|
|
8192
8192
|
class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
8193
8193
|
}, {
|
|
8194
8194
|
default: U(() => [
|
|
8195
8195
|
e.$slots.header ? (f(), h("header", G7, [
|
|
8196
|
-
|
|
8196
|
+
X(e.$slots, "header")
|
|
8197
8197
|
])) : T("", !0),
|
|
8198
|
-
v("div",
|
|
8199
|
-
|
|
8198
|
+
v("div", X7, [
|
|
8199
|
+
X(e.$slots, "default")
|
|
8200
8200
|
]),
|
|
8201
|
-
e.$slots.footer ? (f(), h("footer",
|
|
8202
|
-
|
|
8201
|
+
e.$slots.footer ? (f(), h("footer", x7, [
|
|
8202
|
+
X(e.$slots, "footer")
|
|
8203
8203
|
])) : T("", !0)
|
|
8204
8204
|
]),
|
|
8205
8205
|
_: 3
|
|
@@ -8277,7 +8277,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
|
|
|
8277
8277
|
}, null, 8, ["percentages"])
|
|
8278
8278
|
], 64)) : T("", !0),
|
|
8279
8279
|
l.$slots.secondary ? (f(), h("div", s9, [
|
|
8280
|
-
|
|
8280
|
+
X(l.$slots, "secondary")
|
|
8281
8281
|
])) : T("", !0)
|
|
8282
8282
|
])
|
|
8283
8283
|
])
|
|
@@ -8378,7 +8378,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
|
|
|
8378
8378
|
}, null, 8, ["percentages"])
|
|
8379
8379
|
], 64)) : T("", !0),
|
|
8380
8380
|
l.$slots.secondary ? (f(), h("div", c9, [
|
|
8381
|
-
|
|
8381
|
+
X(l.$slots, "secondary")
|
|
8382
8382
|
])) : T("", !0)
|
|
8383
8383
|
])
|
|
8384
8384
|
])
|
|
@@ -8717,8 +8717,8 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8717
8717
|
e("updateComment", I);
|
|
8718
8718
|
}, V = (I) => {
|
|
8719
8719
|
e("removeComment", I);
|
|
8720
|
-
},
|
|
8721
|
-
e("applyTemplate", { templateId: I, projectId: J }),
|
|
8720
|
+
}, x = Q(!1), te = (I, J) => {
|
|
8721
|
+
e("applyTemplate", { templateId: I, projectId: J }), x.value = !1;
|
|
8722
8722
|
};
|
|
8723
8723
|
return (I, J) => {
|
|
8724
8724
|
const g = hs("RouterView");
|
|
@@ -8752,7 +8752,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8752
8752
|
class: "ao-project-overview__add-template",
|
|
8753
8753
|
color: "primary",
|
|
8754
8754
|
label: I.$t("project.template.add.label"),
|
|
8755
|
-
onClick: J[2] || (J[2] = (S) =>
|
|
8755
|
+
onClick: J[2] || (J[2] = (S) => x.value = !0)
|
|
8756
8756
|
}, null, 8, ["label"])) : T("", !0)
|
|
8757
8757
|
]),
|
|
8758
8758
|
_: 1
|
|
@@ -8805,9 +8805,9 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8805
8805
|
onRemoveComment: V
|
|
8806
8806
|
}, {
|
|
8807
8807
|
default: U(({ Component: S }) => [
|
|
8808
|
-
(f(), N(
|
|
8808
|
+
(f(), N(xe(S), null, {
|
|
8809
8809
|
default: U((P) => [
|
|
8810
|
-
|
|
8810
|
+
X(I.$slots, "activityDetailsBody", Ht(Pt(P)))
|
|
8811
8811
|
]),
|
|
8812
8812
|
_: 2
|
|
8813
8813
|
}, 1024))
|
|
@@ -8817,11 +8817,11 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
|
|
|
8817
8817
|
]))
|
|
8818
8818
|
], 16),
|
|
8819
8819
|
(f(), N(It, { to: "body" }, [
|
|
8820
|
-
|
|
8820
|
+
x.value ? (f(), N(I9, {
|
|
8821
8821
|
key: 0,
|
|
8822
8822
|
"project-id": I.project.id,
|
|
8823
8823
|
templates: I.templates,
|
|
8824
|
-
onClose: J[4] || (J[4] = (S) =>
|
|
8824
|
+
onClose: J[4] || (J[4] = (S) => x.value = !1),
|
|
8825
8825
|
onApply: te
|
|
8826
8826
|
}, null, 8, ["project-id", "templates"])) : T("", !0)
|
|
8827
8827
|
]))
|
|
@@ -8850,10 +8850,10 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8850
8850
|
}, K9 = {
|
|
8851
8851
|
key: 0,
|
|
8852
8852
|
class: "ao-card-feed__subitem"
|
|
8853
|
-
}, G9 = { class: "ao-card-feed__subitem" },
|
|
8853
|
+
}, G9 = { class: "ao-card-feed__subitem" }, X9 = {
|
|
8854
8854
|
key: 1,
|
|
8855
8855
|
class: "ao-card-feed__subitem"
|
|
8856
|
-
},
|
|
8856
|
+
}, x9 = { class: "ao-card-feed__subitem" }, Q9 = { class: "ao-card-feed__footer-row" }, J9 = {
|
|
8857
8857
|
key: 0,
|
|
8858
8858
|
class: "ao-card-feed__progress-wrapper"
|
|
8859
8859
|
}, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ K({
|
|
@@ -8922,7 +8922,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8922
8922
|
})) : T("", !0)
|
|
8923
8923
|
])) : T("", !0),
|
|
8924
8924
|
p.$slots.secondary ? (f(), h("div", R9, [
|
|
8925
|
-
|
|
8925
|
+
X(p.$slots, "secondary")
|
|
8926
8926
|
])) : T("", !0)
|
|
8927
8927
|
])
|
|
8928
8928
|
]),
|
|
@@ -8964,12 +8964,12 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
|
|
|
8964
8964
|
}),
|
|
8965
8965
|
v("span", G9, q(p.comments), 1)
|
|
8966
8966
|
])) : T("", !0),
|
|
8967
|
-
p.attachments ? (f(), h("li",
|
|
8967
|
+
p.attachments ? (f(), h("li", X9, [
|
|
8968
8968
|
E(fe, {
|
|
8969
8969
|
name: "AttachFileRounded",
|
|
8970
8970
|
size: "sm"
|
|
8971
8971
|
}),
|
|
8972
|
-
v("span",
|
|
8972
|
+
v("span", x9, q(p.attachments), 1)
|
|
8973
8973
|
])) : T("", !0)
|
|
8974
8974
|
])) : T("", !0)
|
|
8975
8975
|
]),
|
|
@@ -9206,7 +9206,7 @@ const l4 = /* @__PURE__ */ K({
|
|
|
9206
9206
|
onRemoveComment: A
|
|
9207
9207
|
}, {
|
|
9208
9208
|
default: U((Z) => [
|
|
9209
|
-
|
|
9209
|
+
X(_.$slots, "default", Ht(Pt(Z)))
|
|
9210
9210
|
]),
|
|
9211
9211
|
_: 3
|
|
9212
9212
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : T("", !0);
|
|
@@ -9390,7 +9390,7 @@ const y4 = {
|
|
|
9390
9390
|
});
|
|
9391
9391
|
}, d = Q(!1);
|
|
9392
9392
|
return (r, c) => (f(), h("div", y4, [
|
|
9393
|
-
r.title || r.$slots.header ?
|
|
9393
|
+
r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
|
|
9394
9394
|
var u;
|
|
9395
9395
|
return [
|
|
9396
9396
|
v("div", b4, [
|
|
@@ -9481,7 +9481,7 @@ const y4 = {
|
|
|
9481
9481
|
_: 1
|
|
9482
9482
|
}, 16, ["class", "list", "disabled"]),
|
|
9483
9483
|
r.$slots.footer || r.footerLabel ? (f(), h("div", A4, [
|
|
9484
|
-
|
|
9484
|
+
X(r.$slots, "footer", {}, () => [
|
|
9485
9485
|
r.isEditable ? (f(), N(Je, {
|
|
9486
9486
|
key: 0,
|
|
9487
9487
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -9642,12 +9642,12 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9642
9642
|
set($) {
|
|
9643
9643
|
i.value && y({
|
|
9644
9644
|
id: i.value.id,
|
|
9645
|
-
deadline: $
|
|
9645
|
+
deadline: $ != null && $.length ? $ : null
|
|
9646
9646
|
});
|
|
9647
9647
|
}
|
|
9648
9648
|
}), V = ($) => {
|
|
9649
9649
|
c.value = !1, e("update:searchText", $);
|
|
9650
|
-
},
|
|
9650
|
+
}, x = ($) => {
|
|
9651
9651
|
c.value = !1, e("clear:searchText", $);
|
|
9652
9652
|
}, te = ($) => {
|
|
9653
9653
|
i.value && e("addSubtask", $);
|
|
@@ -9725,7 +9725,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9725
9725
|
placeholder: $.$t("feed.search.placeholder"),
|
|
9726
9726
|
class: "ao-feed__search",
|
|
9727
9727
|
"onUpdate:modelValue": V,
|
|
9728
|
-
onClear:
|
|
9728
|
+
onClear: x
|
|
9729
9729
|
}, null, 8, ["model-value", "placeholder"]),
|
|
9730
9730
|
a.project ? T("", !0) : (f(), N(be, {
|
|
9731
9731
|
key: 1,
|
|
@@ -9898,7 +9898,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
9898
9898
|
])
|
|
9899
9899
|
])
|
|
9900
9900
|
]),
|
|
9901
|
-
|
|
9901
|
+
X($.$slots, "activityDetailsBody", Ht(Pt(H)))
|
|
9902
9902
|
]),
|
|
9903
9903
|
_: 3
|
|
9904
9904
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : T("", !0)
|
|
@@ -10057,7 +10057,7 @@ const ft = {
|
|
|
10057
10057
|
]));
|
|
10058
10058
|
}
|
|
10059
10059
|
});
|
|
10060
|
-
const
|
|
10060
|
+
const X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
|
|
10061
10061
|
__name: "AoField",
|
|
10062
10062
|
props: {
|
|
10063
10063
|
label: {},
|
|
@@ -10067,8 +10067,8 @@ const x4 = { class: "ao-field__label" }, X4 = /* @__PURE__ */ K({
|
|
|
10067
10067
|
return (e, a) => (f(), h("label", {
|
|
10068
10068
|
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
10069
10069
|
}, [
|
|
10070
|
-
v("span",
|
|
10071
|
-
|
|
10070
|
+
v("span", X4, q(e.label), 1),
|
|
10071
|
+
X(e.$slots, "default")
|
|
10072
10072
|
], 2));
|
|
10073
10073
|
}
|
|
10074
10074
|
}), Q4 = ["type", "value", "disabled", "readonly"], f8 = /* @__PURE__ */ K({
|
|
@@ -10088,7 +10088,7 @@ const x4 = { class: "ao-field__label" }, X4 = /* @__PURE__ */ K({
|
|
|
10088
10088
|
), s = (o) => {
|
|
10089
10089
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
10090
10090
|
};
|
|
10091
|
-
return (o, i) => (f(), N(
|
|
10091
|
+
return (o, i) => (f(), N(x4, { label: o.label }, {
|
|
10092
10092
|
default: U(() => [
|
|
10093
10093
|
v("input", Ee({
|
|
10094
10094
|
class: "ao-field__input",
|
|
@@ -10135,7 +10135,7 @@ export {
|
|
|
10135
10135
|
Ua as AoCardFeed,
|
|
10136
10136
|
v8 as AoCheckboxField,
|
|
10137
10137
|
Y4 as AoFeed,
|
|
10138
|
-
|
|
10138
|
+
x4 as AoField,
|
|
10139
10139
|
f8 as AoInputField,
|
|
10140
10140
|
be as AoMultiselect,
|
|
10141
10141
|
K7 as AoTemplateDetails,
|