jplan-pack 0.6.648 → 0.6.651
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/{AuthFailRoute-DCzpANr6.js → AuthFailRoute-COZFjiHF.js} +1 -1
- package/dist/{AuthFailRoute-Ct1I1O68.mjs → AuthFailRoute-HUjY0mMS.mjs} +1 -1
- package/dist/{AuthRoute-CH-5MxLn.js → AuthRoute-Cp3CGBRc.js} +1 -1
- package/dist/{AuthRoute-Us7VCQhg.mjs → AuthRoute-DMtUqrRB.mjs} +1 -1
- package/dist/{index-B-YiH2bB.mjs → index-CHsIW2pp.mjs} +574 -569
- package/dist/{index-ua1r-VP9.js → index-Dclpx-l8.js} +10 -10
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +1 -1
- package/dist/types/_auth/navigation-guard/authGuard.d.ts +4 -2
- package/dist/types/index.d.ts +1 -2
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as Ee, resolveComponent as dr, unref as ue, openBlock as U, createElementBlock as se, createVNode as
|
1
|
+
import { defineComponent as Ee, resolveComponent as dr, unref as ue, openBlock as U, createElementBlock as se, createVNode as A, withCtx as k, normalizeStyle as za, createCommentVNode as we, Fragment as kt, createBlock as ee, resolveDynamicComponent as Va, createTextVNode as H, toDisplayString as Ce, useSlots as YR, mergeProps as Ot, renderSlot as Te, effectScope as Fv, ref as te, markRaw as bo, toRaw as Ii, watch as xi, hasInjectionContext as JR, inject as Bv, getCurrentInstance as Wa, reactive as QR, isRef as Oo, isReactive as dh, toRef as Gu, nextTick as Pd, computed as Tt, getCurrentScope as XR, onScopeDispose as ZR, toRefs as Qm, onUnmounted as hh, onMounted as $v, normalizeClass as Ma, createElementVNode as Z, toHandlers as ek, withModifiers as Kv, TransitionGroup as tk, renderList as oo, provide as nk, createApp as rk, normalizeProps as ok, guardReactiveProps as ik, mergeModels as Ri, useModel as qa, createSlots as ak, h as wa, withKeys as sk, withDirectives as Xm, vShow as Zm, useAttrs as ck, onBeforeMount as lk } from "vue";
|
2
2
|
import * as uk from "@vueuse/core";
|
3
3
|
import { useClipboard as dk, useIntervalFn as hk } from "@vueuse/core";
|
4
4
|
import { VBtn as je } from "vuetify/lib/components/VBtn/index.mjs";
|
@@ -32,7 +32,7 @@ const Ek = { key: 0 }, Ak = { key: 1 }, ph = /* @__PURE__ */ Ee({
|
|
32
32
|
return (s, c) => {
|
33
33
|
const u = dr("CopyIcon");
|
34
34
|
return ue(i) ? (U(), se("span", Ek, [
|
35
|
-
|
35
|
+
A(je, {
|
36
36
|
icon: "",
|
37
37
|
variant: "text",
|
38
38
|
onClick: c[0] || (c[0] = (h) => ue(t)(e.contentToCopy)),
|
@@ -40,7 +40,7 @@ const Ek = { key: 0 }, Ak = { key: 1 }, ph = /* @__PURE__ */ Ee({
|
|
40
40
|
color: s.color
|
41
41
|
}, {
|
42
42
|
default: k(() => [
|
43
|
-
|
43
|
+
A(u, { size: s.size }, null, 8, ["size"])
|
44
44
|
]),
|
45
45
|
_: 1
|
46
46
|
}, 8, ["size", "color"]),
|
@@ -100,7 +100,7 @@ const Ek = { key: 0 }, Ak = { key: 1 }, ph = /* @__PURE__ */ Ee({
|
|
100
100
|
"open-delay": "1000"
|
101
101
|
}, {
|
102
102
|
activator: k(({ props: s }) => [
|
103
|
-
|
103
|
+
A(ue(kc), Ot(s, {
|
104
104
|
variant: n.variant,
|
105
105
|
color: n.color,
|
106
106
|
icon: "",
|
@@ -906,8 +906,8 @@ function e0(r, e, t = {}, n, i, s) {
|
|
906
906
|
f ? T = Q : f == !1 && !G._hotUpdating && (Array.isArray(T) ? T.push(Q) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
907
907
|
});
|
908
908
|
let f, g, w = [], p = [], T;
|
909
|
-
const _ = n.state.value[r],
|
910
|
-
let
|
909
|
+
const _ = n.state.value[r], b = te({});
|
910
|
+
let P;
|
911
911
|
function W(Q) {
|
912
912
|
let Y;
|
913
913
|
f = g = !1, process.env.NODE_ENV !== "production" && (T = []), typeof Q == "function" ? (Q(n.state.value[r]), Y = {
|
@@ -920,9 +920,9 @@ function e0(r, e, t = {}, n, i, s) {
|
|
920
920
|
storeId: r,
|
921
921
|
events: T
|
922
922
|
});
|
923
|
-
const De =
|
923
|
+
const De = P = Symbol();
|
924
924
|
Pd().then(() => {
|
925
|
-
|
925
|
+
P === De && (f = !0);
|
926
926
|
}), g = !0, ri(w, Y, n.state.value[r]);
|
927
927
|
}
|
928
928
|
const K = function() {
|
@@ -966,7 +966,7 @@ function e0(r, e, t = {}, n, i, s) {
|
|
966
966
|
actions: {},
|
967
967
|
getters: {},
|
968
968
|
state: [],
|
969
|
-
hotState:
|
969
|
+
hotState: b
|
970
970
|
}), Me = {
|
971
971
|
_p: n,
|
972
972
|
// _s: scope,
|
@@ -1000,7 +1000,7 @@ function e0(r, e, t = {}, n, i, s) {
|
|
1000
1000
|
for (const Q in Ne) {
|
1001
1001
|
const Y = Ne[Q];
|
1002
1002
|
if (Oo(Y) && !ip(Y) || dh(Y))
|
1003
|
-
process.env.NODE_ENV !== "production" && i && Qs(
|
1003
|
+
process.env.NODE_ENV !== "production" && i && Qs(b.value, Q, Gu(Ne, Q)), process.env.NODE_ENV !== "production" && me.state.push(Q);
|
1004
1004
|
else if (typeof Y == "function") {
|
1005
1005
|
const De = process.env.NODE_ENV !== "production" && i ? Y : ne(Y, Q);
|
1006
1006
|
Ne[Q] = De, process.env.NODE_ENV !== "production" && (me.actions[Q] = Y), u.actions[Q] = Y;
|
@@ -1009,7 +1009,7 @@ function e0(r, e, t = {}, n, i, s) {
|
|
1009
1009
|
(Ne._getters = bo([]))).push(Q));
|
1010
1010
|
}
|
1011
1011
|
if (Dn(G, Ne), Dn(Ii(G), Ne), Object.defineProperty(G, "$state", {
|
1012
|
-
get: () => process.env.NODE_ENV !== "production" && i ?
|
1012
|
+
get: () => process.env.NODE_ENV !== "production" && i ? b.value : n.state.value[r],
|
1013
1013
|
set: (Q) => {
|
1014
1014
|
if (process.env.NODE_ENV !== "production" && i)
|
1015
1015
|
throw new Error("cannot set hotState");
|
@@ -1800,7 +1800,7 @@ function G0(r, e) {
|
|
1800
1800
|
const t = dr("Toast"), n = dr("VtTransition");
|
1801
1801
|
return U(), se("div", null, [
|
1802
1802
|
(U(!0), se(kt, null, oo(r.positions, (i) => (U(), se("div", { key: i }, [
|
1803
|
-
|
1803
|
+
A(n, {
|
1804
1804
|
transition: r.defaults.transition,
|
1805
1805
|
class: Ma(r.getClasses(i))
|
1806
1806
|
}, {
|
@@ -1914,19 +1914,19 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
1914
1914
|
"onClick:outside": u
|
1915
1915
|
}, {
|
1916
1916
|
default: k(() => [
|
1917
|
-
|
1917
|
+
A(Na, {
|
1918
1918
|
rounded: "",
|
1919
1919
|
loading: i.value
|
1920
1920
|
}, {
|
1921
1921
|
default: k(() => [
|
1922
|
-
|
1922
|
+
A(fh, { class: "mt-2 px-5 d-flex" }, {
|
1923
1923
|
default: k(() => [
|
1924
1924
|
Z("div", X0, [
|
1925
1925
|
f.$slots.title ? Te(f.$slots, "title", { key: 0 }) : (U(), se("div", Z0, Ce(t.title), 1))
|
1926
1926
|
]),
|
1927
1927
|
Z("div", eO, [
|
1928
1928
|
Te(f.$slots, "heading-actions"),
|
1929
|
-
|
1929
|
+
A(je, {
|
1930
1930
|
class: "ms-auto",
|
1931
1931
|
icon: "mdi-window-close",
|
1932
1932
|
onClick: u,
|
@@ -1936,16 +1936,16 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
1936
1936
|
]),
|
1937
1937
|
_: 3
|
1938
1938
|
}),
|
1939
|
-
|
1940
|
-
|
1939
|
+
A(Po, { class: "mx-5" }),
|
1940
|
+
A(Da, { class: "overflow-y-scroll" }, {
|
1941
1941
|
default: k(() => [
|
1942
1942
|
Te(f.$slots, "default")
|
1943
1943
|
]),
|
1944
1944
|
_: 3
|
1945
1945
|
}),
|
1946
1946
|
f.$slots.footer ? (U(), se(kt, { key: 0 }, [
|
1947
|
-
|
1948
|
-
|
1947
|
+
A(Po, { class: "mx-5 mt-2" }),
|
1948
|
+
A(_a, null, {
|
1949
1949
|
default: k(() => [
|
1950
1950
|
Te(f.$slots, "footer")
|
1951
1951
|
]),
|
@@ -1953,8 +1953,8 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
1953
1953
|
})
|
1954
1954
|
], 64)) : we("", !0),
|
1955
1955
|
t.buttons ? (U(), se(kt, { key: 1 }, [
|
1956
|
-
|
1957
|
-
|
1956
|
+
A(Po, { class: "mx-5 mt-2" }),
|
1957
|
+
A(_a, null, {
|
1958
1958
|
default: k(() => [
|
1959
1959
|
f.$slots.metadata ? (U(), ee(qt, {
|
1960
1960
|
key: 0,
|
@@ -1966,8 +1966,8 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
1966
1966
|
]),
|
1967
1967
|
_: 3
|
1968
1968
|
})) : we("", !0),
|
1969
|
-
|
1970
|
-
|
1969
|
+
A(xa),
|
1970
|
+
A(je, {
|
1971
1971
|
class: "j-btn-form",
|
1972
1972
|
variant: "outlined",
|
1973
1973
|
color: "secondary",
|
@@ -1978,7 +1978,7 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
1978
1978
|
])),
|
1979
1979
|
_: 1
|
1980
1980
|
}),
|
1981
|
-
|
1981
|
+
A(je, {
|
1982
1982
|
class: "j-btn-form",
|
1983
1983
|
variant: "flat",
|
1984
1984
|
color: "secondary",
|
@@ -2009,17 +2009,17 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
2009
2009
|
"onClick:outside": u
|
2010
2010
|
}, {
|
2011
2011
|
default: k(() => [
|
2012
|
-
|
2012
|
+
A(Na, {
|
2013
2013
|
loading: i.value,
|
2014
2014
|
title: t.title,
|
2015
2015
|
rounded: "",
|
2016
2016
|
"min-height": "300"
|
2017
2017
|
}, {
|
2018
2018
|
prepend: k(() => [
|
2019
|
-
|
2019
|
+
A(w, { color: "rgb(var(--v-theme-secondary))" })
|
2020
2020
|
]),
|
2021
2021
|
append: k(() => [
|
2022
|
-
|
2022
|
+
A(je, {
|
2023
2023
|
class: "ms-auto",
|
2024
2024
|
icon: "mdi-window-close",
|
2025
2025
|
onClick: u,
|
@@ -2027,15 +2027,15 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
2027
2027
|
})
|
2028
2028
|
]),
|
2029
2029
|
default: k(() => [
|
2030
|
-
|
2030
|
+
A(Da, { class: "text-center mt-7" }, {
|
2031
2031
|
default: k(() => [
|
2032
2032
|
H(Ce(t.text), 1)
|
2033
2033
|
]),
|
2034
2034
|
_: 1
|
2035
2035
|
}),
|
2036
|
-
|
2036
|
+
A(_a, { class: "d-flex" }, {
|
2037
2037
|
default: k(() => [
|
2038
|
-
|
2038
|
+
A(je, {
|
2039
2039
|
class: "flex-grow-1",
|
2040
2040
|
variant: "outlined",
|
2041
2041
|
color: "secondary",
|
@@ -2046,7 +2046,7 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
2046
2046
|
])),
|
2047
2047
|
_: 1
|
2048
2048
|
}),
|
2049
|
-
|
2049
|
+
A(je, {
|
2050
2050
|
class: "flex-grow-1",
|
2051
2051
|
variant: "flat",
|
2052
2052
|
color: "secondary",
|
@@ -2088,14 +2088,14 @@ const fe = te(!1), X0 = { class: "d-flex align-center" }, Z0 = { key: 1 }, eO =
|
|
2088
2088
|
setup(r, { emit: e }) {
|
2089
2089
|
const { openDialog: t } = Zc("delete-all-__J"), n = e;
|
2090
2090
|
return (i, s) => (U(), se(kt, null, [
|
2091
|
-
|
2091
|
+
A(nl, {
|
2092
2092
|
"dd-id": "delete-all-__J",
|
2093
2093
|
variant: "confirm",
|
2094
2094
|
title: "Confirm delete",
|
2095
2095
|
text: "Are you sure you want to delete all selected items?",
|
2096
2096
|
"on-save": () => n("removeAll")
|
2097
2097
|
}, null, 8, ["on-save"]),
|
2098
|
-
|
2098
|
+
A(je, {
|
2099
2099
|
onClick: ue(t),
|
2100
2100
|
variant: "plain",
|
2101
2101
|
color: "secondary",
|
@@ -2139,7 +2139,7 @@ var nO = {
|
|
2139
2139
|
width: e.width || r,
|
2140
2140
|
height: e.height || r
|
2141
2141
|
};
|
2142
|
-
return
|
2142
|
+
return A("svg", Ot({
|
2143
2143
|
xmlns: "http://www.w3.org/2000/svg",
|
2144
2144
|
class: "icon-tabler icon-tabler-circle-off",
|
2145
2145
|
width: "24",
|
@@ -2150,13 +2150,13 @@ var nO = {
|
|
2150
2150
|
fill: "none",
|
2151
2151
|
"stroke-linecap": "round",
|
2152
2152
|
"stroke-linejoin": "round"
|
2153
|
-
}, t), [H(" "),
|
2153
|
+
}, t), [H(" "), A("path", {
|
2154
2154
|
stroke: "none",
|
2155
2155
|
d: "M0 0h24v24H0z",
|
2156
2156
|
fill: "none"
|
2157
|
-
}, null), H(" "),
|
2157
|
+
}, null), H(" "), A("path", {
|
2158
2158
|
d: "M20.042 16.045a9 9 0 0 0 -12.087 -12.087m-2.318 1.677a9 9 0 1 0 12.725 12.73"
|
2159
|
-
}, null), H(" "),
|
2159
|
+
}, null), H(" "), A("path", {
|
2160
2160
|
d: "M3 3l18 18"
|
2161
2161
|
}, null), H(" ")]);
|
2162
2162
|
}
|
@@ -2173,7 +2173,7 @@ var nO = {
|
|
2173
2173
|
width: e.width || r,
|
2174
2174
|
height: e.height || r
|
2175
2175
|
};
|
2176
|
-
return
|
2176
|
+
return A("svg", Ot({
|
2177
2177
|
xmlns: "http://www.w3.org/2000/svg",
|
2178
2178
|
class: "icon-tabler icon-tabler-dots-vertical",
|
2179
2179
|
width: "24",
|
@@ -2184,15 +2184,15 @@ var nO = {
|
|
2184
2184
|
fill: "none",
|
2185
2185
|
"stroke-linecap": "round",
|
2186
2186
|
"stroke-linejoin": "round"
|
2187
|
-
}, t), [H(" "),
|
2187
|
+
}, t), [H(" "), A("path", {
|
2188
2188
|
stroke: "none",
|
2189
2189
|
d: "M0 0h24v24H0z",
|
2190
2190
|
fill: "none"
|
2191
|
-
}, null), H(" "),
|
2191
|
+
}, null), H(" "), A("path", {
|
2192
2192
|
d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2193
|
-
}, null), H(" "),
|
2193
|
+
}, null), H(" "), A("path", {
|
2194
2194
|
d: "M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2195
|
-
}, null), H(" "),
|
2195
|
+
}, null), H(" "), A("path", {
|
2196
2196
|
d: "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2197
2197
|
}, null), H(" ")]);
|
2198
2198
|
}
|
@@ -2209,7 +2209,7 @@ var nO = {
|
|
2209
2209
|
width: e.width || r,
|
2210
2210
|
height: e.height || r
|
2211
2211
|
};
|
2212
|
-
return
|
2212
|
+
return A("svg", Ot({
|
2213
2213
|
xmlns: "http://www.w3.org/2000/svg",
|
2214
2214
|
class: "icon-tabler icon-tabler-dots",
|
2215
2215
|
width: "24",
|
@@ -2220,15 +2220,15 @@ var nO = {
|
|
2220
2220
|
fill: "none",
|
2221
2221
|
"stroke-linecap": "round",
|
2222
2222
|
"stroke-linejoin": "round"
|
2223
|
-
}, t), [H(" "),
|
2223
|
+
}, t), [H(" "), A("path", {
|
2224
2224
|
stroke: "none",
|
2225
2225
|
d: "M0 0h24v24H0z",
|
2226
2226
|
fill: "none"
|
2227
|
-
}, null), H(" "),
|
2227
|
+
}, null), H(" "), A("path", {
|
2228
2228
|
d: "M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2229
|
-
}, null), H(" "),
|
2229
|
+
}, null), H(" "), A("path", {
|
2230
2230
|
d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2231
|
-
}, null), H(" "),
|
2231
|
+
}, null), H(" "), A("path", {
|
2232
2232
|
d: "M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2233
2233
|
}, null), H(" ")]);
|
2234
2234
|
}
|
@@ -2245,7 +2245,7 @@ var nO = {
|
|
2245
2245
|
width: e.width || r,
|
2246
2246
|
height: e.height || r
|
2247
2247
|
};
|
2248
|
-
return
|
2248
|
+
return A("svg", Ot({
|
2249
2249
|
xmlns: "http://www.w3.org/2000/svg",
|
2250
2250
|
class: "icon-tabler icon-tabler-eraser",
|
2251
2251
|
width: "24",
|
@@ -2256,13 +2256,13 @@ var nO = {
|
|
2256
2256
|
fill: "none",
|
2257
2257
|
"stroke-linecap": "round",
|
2258
2258
|
"stroke-linejoin": "round"
|
2259
|
-
}, t), [H(" "),
|
2259
|
+
}, t), [H(" "), A("path", {
|
2260
2260
|
stroke: "none",
|
2261
2261
|
d: "M0 0h24v24H0z",
|
2262
2262
|
fill: "none"
|
2263
|
-
}, null), H(" "),
|
2263
|
+
}, null), H(" "), A("path", {
|
2264
2264
|
d: "M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3"
|
2265
|
-
}, null), H(" "),
|
2265
|
+
}, null), H(" "), A("path", {
|
2266
2266
|
d: "M18 13.3l-6.3 -6.3"
|
2267
2267
|
}, null), H(" ")]);
|
2268
2268
|
}
|
@@ -2279,7 +2279,7 @@ var nO = {
|
|
2279
2279
|
width: e.width || r,
|
2280
2280
|
height: e.height || r
|
2281
2281
|
};
|
2282
|
-
return
|
2282
|
+
return A("svg", Ot({
|
2283
2283
|
xmlns: "http://www.w3.org/2000/svg",
|
2284
2284
|
class: "icon-tabler icon-tabler-exclamation-circle",
|
2285
2285
|
width: "24",
|
@@ -2290,15 +2290,15 @@ var nO = {
|
|
2290
2290
|
fill: "none",
|
2291
2291
|
"stroke-linecap": "round",
|
2292
2292
|
"stroke-linejoin": "round"
|
2293
|
-
}, t), [H(" "),
|
2293
|
+
}, t), [H(" "), A("path", {
|
2294
2294
|
stroke: "none",
|
2295
2295
|
d: "M0 0h24v24H0z",
|
2296
2296
|
fill: "none"
|
2297
|
-
}, null), H(" "),
|
2297
|
+
}, null), H(" "), A("path", {
|
2298
2298
|
d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"
|
2299
|
-
}, null), H(" "),
|
2299
|
+
}, null), H(" "), A("path", {
|
2300
2300
|
d: "M12 9v4"
|
2301
|
-
}, null), H(" "),
|
2301
|
+
}, null), H(" "), A("path", {
|
2302
2302
|
d: "M12 16v.01"
|
2303
2303
|
}, null), H(" ")]);
|
2304
2304
|
}
|
@@ -2315,7 +2315,7 @@ var nO = {
|
|
2315
2315
|
width: e.width || r,
|
2316
2316
|
height: e.height || r
|
2317
2317
|
};
|
2318
|
-
return
|
2318
|
+
return A("svg", Ot({
|
2319
2319
|
xmlns: "http://www.w3.org/2000/svg",
|
2320
2320
|
class: "icon-tabler icon-tabler-filter",
|
2321
2321
|
width: "24",
|
@@ -2326,11 +2326,11 @@ var nO = {
|
|
2326
2326
|
fill: "none",
|
2327
2327
|
"stroke-linecap": "round",
|
2328
2328
|
"stroke-linejoin": "round"
|
2329
|
-
}, t), [H(" "),
|
2329
|
+
}, t), [H(" "), A("path", {
|
2330
2330
|
stroke: "none",
|
2331
2331
|
d: "M0 0h24v24H0z",
|
2332
2332
|
fill: "none"
|
2333
|
-
}, null), H(" "),
|
2333
|
+
}, null), H(" "), A("path", {
|
2334
2334
|
d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z"
|
2335
2335
|
}, null), H(" ")]);
|
2336
2336
|
}
|
@@ -2347,7 +2347,7 @@ var nO = {
|
|
2347
2347
|
width: e.width || r,
|
2348
2348
|
height: e.height || r
|
2349
2349
|
};
|
2350
|
-
return
|
2350
|
+
return A("svg", Ot({
|
2351
2351
|
xmlns: "http://www.w3.org/2000/svg",
|
2352
2352
|
class: "icon-tabler icon-tabler-grip-vertical",
|
2353
2353
|
width: "24",
|
@@ -2358,21 +2358,21 @@ var nO = {
|
|
2358
2358
|
fill: "none",
|
2359
2359
|
"stroke-linecap": "round",
|
2360
2360
|
"stroke-linejoin": "round"
|
2361
|
-
}, t), [H(" "),
|
2361
|
+
}, t), [H(" "), A("path", {
|
2362
2362
|
stroke: "none",
|
2363
2363
|
d: "M0 0h24v24H0z",
|
2364
2364
|
fill: "none"
|
2365
|
-
}, null), H(" "),
|
2365
|
+
}, null), H(" "), A("path", {
|
2366
2366
|
d: "M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2367
|
-
}, null), H(" "),
|
2367
|
+
}, null), H(" "), A("path", {
|
2368
2368
|
d: "M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2369
|
-
}, null), H(" "),
|
2369
|
+
}, null), H(" "), A("path", {
|
2370
2370
|
d: "M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2371
|
-
}, null), H(" "),
|
2371
|
+
}, null), H(" "), A("path", {
|
2372
2372
|
d: "M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2373
|
-
}, null), H(" "),
|
2373
|
+
}, null), H(" "), A("path", {
|
2374
2374
|
d: "M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2375
|
-
}, null), H(" "),
|
2375
|
+
}, null), H(" "), A("path", {
|
2376
2376
|
d: "M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"
|
2377
2377
|
}, null), H(" ")]);
|
2378
2378
|
}
|
@@ -2389,7 +2389,7 @@ var nO = {
|
|
2389
2389
|
width: e.width || r,
|
2390
2390
|
height: e.height || r
|
2391
2391
|
};
|
2392
|
-
return
|
2392
|
+
return A("svg", Ot({
|
2393
2393
|
xmlns: "http://www.w3.org/2000/svg",
|
2394
2394
|
class: "icon-tabler icon-tabler-hierarchy",
|
2395
2395
|
width: "24",
|
@@ -2400,19 +2400,19 @@ var nO = {
|
|
2400
2400
|
fill: "none",
|
2401
2401
|
"stroke-linecap": "round",
|
2402
2402
|
"stroke-linejoin": "round"
|
2403
|
-
}, t), [H(" "),
|
2403
|
+
}, t), [H(" "), A("path", {
|
2404
2404
|
stroke: "none",
|
2405
2405
|
d: "M0 0h24v24H0z",
|
2406
2406
|
fill: "none"
|
2407
|
-
}, null), H(" "),
|
2407
|
+
}, null), H(" "), A("path", {
|
2408
2408
|
d: "M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
|
2409
|
-
}, null), H(" "),
|
2409
|
+
}, null), H(" "), A("path", {
|
2410
2410
|
d: "M5 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
|
2411
|
-
}, null), H(" "),
|
2411
|
+
}, null), H(" "), A("path", {
|
2412
2412
|
d: "M19 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
|
2413
|
-
}, null), H(" "),
|
2413
|
+
}, null), H(" "), A("path", {
|
2414
2414
|
d: "M6.5 17.5l5.5 -4.5l5.5 4.5"
|
2415
|
-
}, null), H(" "),
|
2415
|
+
}, null), H(" "), A("path", {
|
2416
2416
|
d: "M12 7l0 6"
|
2417
2417
|
}, null), H(" ")]);
|
2418
2418
|
}
|
@@ -2429,7 +2429,7 @@ var nO = {
|
|
2429
2429
|
width: e.width || r,
|
2430
2430
|
height: e.height || r
|
2431
2431
|
};
|
2432
|
-
return
|
2432
|
+
return A("svg", Ot({
|
2433
2433
|
xmlns: "http://www.w3.org/2000/svg",
|
2434
2434
|
class: "icon-tabler icon-tabler-layout-sidebar-right-collapse",
|
2435
2435
|
width: "24",
|
@@ -2440,15 +2440,15 @@ var nO = {
|
|
2440
2440
|
fill: "none",
|
2441
2441
|
"stroke-linecap": "round",
|
2442
2442
|
"stroke-linejoin": "round"
|
2443
|
-
}, t), [H(" "),
|
2443
|
+
}, t), [H(" "), A("path", {
|
2444
2444
|
stroke: "none",
|
2445
2445
|
d: "M0 0h24v24H0z",
|
2446
2446
|
fill: "none"
|
2447
|
-
}, null), H(" "),
|
2447
|
+
}, null), H(" "), A("path", {
|
2448
2448
|
d: "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"
|
2449
|
-
}, null), H(" "),
|
2449
|
+
}, null), H(" "), A("path", {
|
2450
2450
|
d: "M15 4v16"
|
2451
|
-
}, null), H(" "),
|
2451
|
+
}, null), H(" "), A("path", {
|
2452
2452
|
d: "M9 10l2 2l-2 2"
|
2453
2453
|
}, null), H(" ")]);
|
2454
2454
|
}
|
@@ -2465,7 +2465,7 @@ var nO = {
|
|
2465
2465
|
width: e.width || r,
|
2466
2466
|
height: e.height || r
|
2467
2467
|
};
|
2468
|
-
return
|
2468
|
+
return A("svg", Ot({
|
2469
2469
|
xmlns: "http://www.w3.org/2000/svg",
|
2470
2470
|
class: "icon-tabler icon-tabler-refresh",
|
2471
2471
|
width: "24",
|
@@ -2476,13 +2476,13 @@ var nO = {
|
|
2476
2476
|
fill: "none",
|
2477
2477
|
"stroke-linecap": "round",
|
2478
2478
|
"stroke-linejoin": "round"
|
2479
|
-
}, t), [H(" "),
|
2479
|
+
}, t), [H(" "), A("path", {
|
2480
2480
|
stroke: "none",
|
2481
2481
|
d: "M0 0h24v24H0z",
|
2482
2482
|
fill: "none"
|
2483
|
-
}, null), H(" "),
|
2483
|
+
}, null), H(" "), A("path", {
|
2484
2484
|
d: "M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"
|
2485
|
-
}, null), H(" "),
|
2485
|
+
}, null), H(" "), A("path", {
|
2486
2486
|
d: "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"
|
2487
2487
|
}, null), H(" ")]);
|
2488
2488
|
}
|
@@ -2499,7 +2499,7 @@ var nO = {
|
|
2499
2499
|
width: e.width || r,
|
2500
2500
|
height: e.height || r
|
2501
2501
|
};
|
2502
|
-
return
|
2502
|
+
return A("svg", Ot({
|
2503
2503
|
xmlns: "http://www.w3.org/2000/svg",
|
2504
2504
|
class: "icon-tabler icon-tabler-search",
|
2505
2505
|
width: "24",
|
@@ -2510,13 +2510,13 @@ var nO = {
|
|
2510
2510
|
fill: "none",
|
2511
2511
|
"stroke-linecap": "round",
|
2512
2512
|
"stroke-linejoin": "round"
|
2513
|
-
}, t), [H(" "),
|
2513
|
+
}, t), [H(" "), A("path", {
|
2514
2514
|
stroke: "none",
|
2515
2515
|
d: "M0 0h24v24H0z",
|
2516
2516
|
fill: "none"
|
2517
|
-
}, null), H(" "),
|
2517
|
+
}, null), H(" "), A("path", {
|
2518
2518
|
d: "M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"
|
2519
|
-
}, null), H(" "),
|
2519
|
+
}, null), H(" "), A("path", {
|
2520
2520
|
d: "M21 21l-6 -6"
|
2521
2521
|
}, null), H(" ")]);
|
2522
2522
|
}
|
@@ -2533,7 +2533,7 @@ var nO = {
|
|
2533
2533
|
width: e.width || r,
|
2534
2534
|
height: e.height || r
|
2535
2535
|
};
|
2536
|
-
return
|
2536
|
+
return A("svg", Ot({
|
2537
2537
|
xmlns: "http://www.w3.org/2000/svg",
|
2538
2538
|
class: "icon-tabler icon-tabler-table",
|
2539
2539
|
width: "24",
|
@@ -2544,15 +2544,15 @@ var nO = {
|
|
2544
2544
|
fill: "none",
|
2545
2545
|
"stroke-linecap": "round",
|
2546
2546
|
"stroke-linejoin": "round"
|
2547
|
-
}, t), [H(" "),
|
2547
|
+
}, t), [H(" "), A("path", {
|
2548
2548
|
stroke: "none",
|
2549
2549
|
d: "M0 0h24v24H0z",
|
2550
2550
|
fill: "none"
|
2551
|
-
}, null), H(" "),
|
2551
|
+
}, null), H(" "), A("path", {
|
2552
2552
|
d: "M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"
|
2553
|
-
}, null), H(" "),
|
2553
|
+
}, null), H(" "), A("path", {
|
2554
2554
|
d: "M3 10h18"
|
2555
|
-
}, null), H(" "),
|
2555
|
+
}, null), H(" "), A("path", {
|
2556
2556
|
d: "M10 3v18"
|
2557
2557
|
}, null), H(" ")]);
|
2558
2558
|
}
|
@@ -2568,7 +2568,7 @@ const gO = /* @__PURE__ */ Ee({
|
|
2568
2568
|
setup(r) {
|
2569
2569
|
return (e, t) => (U(), ee(ue(gk), { "close-on-content-click": !0 }, {
|
2570
2570
|
activator: k(({ props: n }) => [
|
2571
|
-
|
2571
|
+
A(ue(kc), Ot({ variant: e.variant }, n, { icon: "" }), {
|
2572
2572
|
default: k(() => [
|
2573
2573
|
e.orientation === "y" ? (U(), ee(ue(rO), {
|
2574
2574
|
key: 0,
|
@@ -2661,17 +2661,17 @@ const gO = /* @__PURE__ */ Ee({
|
|
2661
2661
|
Te(h.$slots, "button", ok(ik({ isActive: g, props: w })))
|
2662
2662
|
]),
|
2663
2663
|
default: k(({ isActive: g }) => [
|
2664
|
-
|
2664
|
+
A(Na, {
|
2665
2665
|
loading: i.value,
|
2666
2666
|
title: t.title,
|
2667
2667
|
rounded: "",
|
2668
2668
|
"min-height": "300"
|
2669
2669
|
}, {
|
2670
2670
|
prepend: k(() => [
|
2671
|
-
|
2671
|
+
A(ue(aO), { color: "rgb(var(--v-theme-secondary))" })
|
2672
2672
|
]),
|
2673
2673
|
append: k(() => [
|
2674
|
-
|
2674
|
+
A(je, {
|
2675
2675
|
class: "ms-auto",
|
2676
2676
|
icon: "mdi-window-close",
|
2677
2677
|
onClick: c,
|
@@ -2679,15 +2679,15 @@ const gO = /* @__PURE__ */ Ee({
|
|
2679
2679
|
})
|
2680
2680
|
]),
|
2681
2681
|
default: k(() => [
|
2682
|
-
|
2682
|
+
A(Da, { class: "text-center mt-7" }, {
|
2683
2683
|
default: k(() => [
|
2684
2684
|
H(Ce(t.text), 1)
|
2685
2685
|
]),
|
2686
2686
|
_: 1
|
2687
2687
|
}),
|
2688
|
-
|
2688
|
+
A(_a, { class: "d-flex" }, {
|
2689
2689
|
default: k(() => [
|
2690
|
-
|
2690
|
+
A(je, {
|
2691
2691
|
class: "flex-grow-1",
|
2692
2692
|
variant: "outlined",
|
2693
2693
|
color: "secondary",
|
@@ -2698,7 +2698,7 @@ const gO = /* @__PURE__ */ Ee({
|
|
2698
2698
|
])),
|
2699
2699
|
_: 1
|
2700
2700
|
}),
|
2701
|
-
|
2701
|
+
A(je, {
|
2702
2702
|
class: "flex-grow-1",
|
2703
2703
|
variant: "flat",
|
2704
2704
|
color: "secondary",
|
@@ -2731,7 +2731,7 @@ const gO = /* @__PURE__ */ Ee({
|
|
2731
2731
|
}
|
2732
2732
|
return (s, c) => (U(), ee(zv, { size: "50" }, {
|
2733
2733
|
default: k(() => [
|
2734
|
-
|
2734
|
+
A(gh, {
|
2735
2735
|
src: n.value,
|
2736
2736
|
"lazy-src": Xu,
|
2737
2737
|
onError: i,
|
@@ -2755,7 +2755,7 @@ const gO = /* @__PURE__ */ Ee({
|
|
2755
2755
|
}
|
2756
2756
|
return (s, c) => (U(), ee(zv, { size: s.size }, {
|
2757
2757
|
default: k(() => [
|
2758
|
-
|
2758
|
+
A(gh, {
|
2759
2759
|
src: n.value,
|
2760
2760
|
"lazy-src": Zu,
|
2761
2761
|
onError: i,
|
@@ -2783,13 +2783,13 @@ const gO = /* @__PURE__ */ Ee({
|
|
2783
2783
|
class: "relative w-full h-full"
|
2784
2784
|
}, [
|
2785
2785
|
Te(s.$slots, "default", {}, void 0, !0),
|
2786
|
-
|
2786
|
+
A(mh, {
|
2787
2787
|
modelValue: e.value,
|
2788
2788
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => e.value = u),
|
2789
2789
|
style: za({ top: `${t.value.y}px`, left: `${t.value.x}px`, position: "absolute" })
|
2790
2790
|
}, {
|
2791
2791
|
default: k(() => [
|
2792
|
-
|
2792
|
+
A(Vv, null, {
|
2793
2793
|
default: k(() => [
|
2794
2794
|
Te(s.$slots, "actions", {}, void 0, !0)
|
2795
2795
|
]),
|
@@ -4104,8 +4104,8 @@ function wP(r, e, t) {
|
|
4104
4104
|
}
|
4105
4105
|
const _P = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, CP = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, TP = /^'([^]*?)'?$/, EP = /''/g, AP = /[a-zA-Z]/;
|
4106
4106
|
function bP(r, e, t) {
|
4107
|
-
var g, w, p, T, _,
|
4108
|
-
const n = rl(), i = (t == null ? void 0 : t.locale) ?? n.locale ?? Th, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (g = t == null ? void 0 : t.locale) == null ? void 0 : g.options) == null ? void 0 : w.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((T = (p = n.locale) == null ? void 0 : p.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, c = (t == null ? void 0 : t.weekStartsOn) ?? ((
|
4107
|
+
var g, w, p, T, _, b, P, W;
|
4108
|
+
const n = rl(), i = (t == null ? void 0 : t.locale) ?? n.locale ?? Th, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (g = t == null ? void 0 : t.locale) == null ? void 0 : g.options) == null ? void 0 : w.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((T = (p = n.locale) == null ? void 0 : p.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, c = (t == null ? void 0 : t.weekStartsOn) ?? ((b = (_ = t == null ? void 0 : t.locale) == null ? void 0 : _.options) == null ? void 0 : b.weekStartsOn) ?? n.weekStartsOn ?? ((W = (P = n.locale) == null ? void 0 : P.options) == null ? void 0 : W.weekStartsOn) ?? 0, u = er(r, t == null ? void 0 : t.in);
|
4109
4109
|
if (!RO(u))
|
4110
4110
|
throw new RangeError("Invalid time value");
|
4111
4111
|
let h = e.match(CP).map((K) => {
|
@@ -5386,13 +5386,13 @@ const dM = {
|
|
5386
5386
|
p.preventDefault(), f.value = T, h.value = uM(p), u.value = !0;
|
5387
5387
|
};
|
5388
5388
|
function w(p, { item: T }) {
|
5389
|
-
var
|
5390
|
-
if (i("rowClick", T), !n.selectOnRowClick || !((
|
5391
|
-
const _ = c.value.findIndex((
|
5389
|
+
var b;
|
5390
|
+
if (i("rowClick", T), !n.selectOnRowClick || !((b = c.value) != null && b.length)) return;
|
5391
|
+
const _ = c.value.findIndex((P) => P === T);
|
5392
5392
|
return _ !== -1 ? c.value.splice(_, 1) : c.value.push(T), T;
|
5393
5393
|
}
|
5394
5394
|
return (p, T) => !p.loading && p.items.length === 0 ? (U(), se("div", dM, [
|
5395
|
-
|
5395
|
+
A(gh, {
|
5396
5396
|
"lazy-src": ue(Cp),
|
5397
5397
|
src: ue(Cp),
|
5398
5398
|
height: "600",
|
@@ -5400,7 +5400,7 @@ const dM = {
|
|
5400
5400
|
}, null, 8, ["lazy-src", "src"]),
|
5401
5401
|
T[2] || (T[2] = Z("p", { class: "text-center text-body-1 w-100" }, "No records found.", -1))
|
5402
5402
|
])) : (U(), se("div", hM, [
|
5403
|
-
|
5403
|
+
A(mh, {
|
5404
5404
|
modelValue: u.value,
|
5405
5405
|
"onUpdate:modelValue": T[0] || (T[0] = (_) => u.value = _),
|
5406
5406
|
"close-on-content-click": !1,
|
@@ -5416,7 +5416,7 @@ const dM = {
|
|
5416
5416
|
]),
|
5417
5417
|
_: 3
|
5418
5418
|
}, 8, ["modelValue", "style"]),
|
5419
|
-
|
5419
|
+
A(Wv, {
|
5420
5420
|
modelValue: c.value,
|
5421
5421
|
"onUpdate:modelValue": T[1] || (T[1] = (_) => c.value = _),
|
5422
5422
|
"fixed-header": "",
|
@@ -5464,16 +5464,16 @@ const dM = {
|
|
5464
5464
|
}, [
|
5465
5465
|
oo(p.customFields, (_) => ({
|
5466
5466
|
name: `item.${_}`,
|
5467
|
-
fn: k(({ item:
|
5467
|
+
fn: k(({ item: b }) => [
|
5468
5468
|
Z("div", fM, [
|
5469
|
-
Te(p.$slots, _, { item:
|
5469
|
+
Te(p.$slots, _, { item: b })
|
5470
5470
|
])
|
5471
5471
|
])
|
5472
5472
|
})),
|
5473
5473
|
oo(p.dateFields, (_) => ({
|
5474
5474
|
name: `item.${_}`,
|
5475
|
-
fn: k(({ item:
|
5476
|
-
Z("div", mM, Ce(ue(lM)(
|
5475
|
+
fn: k(({ item: b }) => [
|
5476
|
+
Z("div", mM, Ce(ue(lM)(b[_])), 1)
|
5477
5477
|
])
|
5478
5478
|
}))
|
5479
5479
|
]), 1032, ["modelValue", "headers", "items", "items-length", "loading", "sort-by", "search", "filter-keys"])
|
@@ -5501,7 +5501,7 @@ const dM = {
|
|
5501
5501
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
|
5502
5502
|
}, {
|
5503
5503
|
"prepend-inner": k(() => [
|
5504
|
-
|
5504
|
+
A(ue(hO), {
|
5505
5505
|
size: "15",
|
5506
5506
|
class: "ma-1 me-1"
|
5507
5507
|
})
|
@@ -5524,20 +5524,20 @@ const dM = {
|
|
5524
5524
|
return (f, g) => {
|
5525
5525
|
const w = dr("SearchIcon");
|
5526
5526
|
return U(), se("div", null, [
|
5527
|
-
|
5527
|
+
A(ue(Ky), {
|
5528
5528
|
modelValue: f.columns,
|
5529
5529
|
"onUpdate:modelValue": g[0] || (g[0] = (p) => f.columns = p)
|
5530
5530
|
}, null, 8, ["modelValue"]),
|
5531
|
-
|
5531
|
+
A(hr, {
|
5532
5532
|
"no-gutters": "",
|
5533
5533
|
align: "center"
|
5534
5534
|
}, {
|
5535
5535
|
default: k(() => [
|
5536
|
-
|
5536
|
+
A(qt, { cols: "4" }, {
|
5537
5537
|
default: k(() => [
|
5538
5538
|
Z("div", vM, [
|
5539
5539
|
Z("div", null, [
|
5540
|
-
|
5540
|
+
A(ue(sO), {
|
5541
5541
|
class: "mt-2 me-2",
|
5542
5542
|
color: "rgb(var(--v-theme-lightprimary))"
|
5543
5543
|
})
|
@@ -5557,25 +5557,25 @@ const dM = {
|
|
5557
5557
|
multiple: "",
|
5558
5558
|
clearable: ""
|
5559
5559
|
})),
|
5560
|
-
|
5560
|
+
A(je, {
|
5561
5561
|
icon: "",
|
5562
5562
|
variant: "text"
|
5563
5563
|
}, {
|
5564
5564
|
default: k(() => [
|
5565
|
-
|
5565
|
+
A(ue(dO), {
|
5566
5566
|
onClick: g[1] || (g[1] = (p) => t("refresh")),
|
5567
5567
|
color: "rgb(var(--v-theme-secondary))"
|
5568
5568
|
})
|
5569
5569
|
]),
|
5570
5570
|
_: 1
|
5571
5571
|
}),
|
5572
|
-
|
5572
|
+
A(je, {
|
5573
5573
|
class: "ms-1",
|
5574
5574
|
icon: "",
|
5575
5575
|
variant: "text"
|
5576
5576
|
}, {
|
5577
5577
|
default: k(() => [
|
5578
|
-
|
5578
|
+
A(ue(iO), { color: "rgb(var(--v-theme-secondary))" })
|
5579
5579
|
]),
|
5580
5580
|
_: 1
|
5581
5581
|
}),
|
@@ -5584,8 +5584,8 @@ const dM = {
|
|
5584
5584
|
]),
|
5585
5585
|
_: 3
|
5586
5586
|
}),
|
5587
|
-
|
5588
|
-
|
5587
|
+
A(xa),
|
5588
|
+
A(qt, {
|
5589
5589
|
cols: "12",
|
5590
5590
|
md: "6",
|
5591
5591
|
class: "d-flex align-center justify-end"
|
@@ -5594,25 +5594,25 @@ const dM = {
|
|
5594
5594
|
Z("div", yM, [
|
5595
5595
|
Te(f.$slots, "top-right", {}, void 0, !0),
|
5596
5596
|
Z("div", wM, [
|
5597
|
-
|
5597
|
+
A(je, {
|
5598
5598
|
icon: "",
|
5599
5599
|
variant: "text",
|
5600
5600
|
onClick: ue(i)
|
5601
5601
|
}, {
|
5602
5602
|
default: k(() => [
|
5603
|
-
|
5603
|
+
A(ue(uO), { color: "rgb(var(--v-theme-secondary))" })
|
5604
5604
|
]),
|
5605
5605
|
_: 1
|
5606
5606
|
}, 8, ["onClick"])
|
5607
5607
|
])
|
5608
5608
|
]),
|
5609
|
-
|
5609
|
+
A(Eh, {
|
5610
5610
|
class: "me-2 top-J-_Field",
|
5611
5611
|
modelValue: n.value,
|
5612
5612
|
"onUpdate:modelValue": g[2] || (g[2] = (p) => n.value = p)
|
5613
5613
|
}, null, 8, ["modelValue"]),
|
5614
5614
|
Z("div", null, [
|
5615
|
-
|
5615
|
+
A(w, {
|
5616
5616
|
class: "mt-1 me-2",
|
5617
5617
|
color: "rgb(var(--v-theme-lightprimary))"
|
5618
5618
|
})
|
@@ -5623,10 +5623,10 @@ const dM = {
|
|
5623
5623
|
]),
|
5624
5624
|
_: 3
|
5625
5625
|
}),
|
5626
|
-
|
5627
|
-
|
5626
|
+
A(Po, { class: "my-4" }),
|
5627
|
+
A(hr, { class: "align-center" }, {
|
5628
5628
|
default: k(() => [
|
5629
|
-
|
5629
|
+
A(qt, {
|
5630
5630
|
md: "3",
|
5631
5631
|
cols: "6",
|
5632
5632
|
"no-gutters": ""
|
@@ -5641,27 +5641,27 @@ const dM = {
|
|
5641
5641
|
]),
|
5642
5642
|
_: 3
|
5643
5643
|
}),
|
5644
|
-
|
5645
|
-
|
5644
|
+
A(xa),
|
5645
|
+
A(hr, {
|
5646
5646
|
justify: "end",
|
5647
5647
|
class: "align-center min-h-_JTable-sub-header",
|
5648
5648
|
"no-gutters": ""
|
5649
5649
|
}, {
|
5650
5650
|
default: k(() => [
|
5651
5651
|
Te(f.$slots, "right-prepend", {}, void 0, !0),
|
5652
|
-
|
5652
|
+
A(qt, {
|
5653
5653
|
md: "7",
|
5654
5654
|
cols: "12",
|
5655
5655
|
class: "d-flex justify-end align-center border"
|
5656
5656
|
}, {
|
5657
5657
|
default: k(() => [
|
5658
5658
|
Z("div", null, [
|
5659
|
-
|
5659
|
+
A(ue(fO), {
|
5660
5660
|
class: "me-2",
|
5661
5661
|
color: "rgb(var(--v-theme-secondary))"
|
5662
5662
|
})
|
5663
5663
|
]),
|
5664
|
-
|
5664
|
+
A(Ea, {
|
5665
5665
|
items: [],
|
5666
5666
|
"item-value": "key",
|
5667
5667
|
variant: "solo",
|
@@ -5675,12 +5675,12 @@ const dM = {
|
|
5675
5675
|
clearable: ""
|
5676
5676
|
}),
|
5677
5677
|
Z("div", null, [
|
5678
|
-
|
5678
|
+
A(ue(lO), {
|
5679
5679
|
class: "me-2",
|
5680
5680
|
color: "rgb(var(--v-theme-secondary))"
|
5681
5681
|
})
|
5682
5682
|
]),
|
5683
|
-
|
5683
|
+
A(Ea, {
|
5684
5684
|
items: ["Move data", "Copy", "Duplicate", "Loop"],
|
5685
5685
|
variant: "solo",
|
5686
5686
|
"bg-color": "containerBg",
|
@@ -5880,8 +5880,8 @@ function pt(r, e, t, n, i) {
|
|
5880
5880
|
}
|
5881
5881
|
while (i = i.parentNode);
|
5882
5882
|
if (n && r !== window) {
|
5883
|
-
var T = Ai(i || r), _ = T && T.a,
|
5884
|
-
T && (c /=
|
5883
|
+
var T = Ai(i || r), _ = T && T.a, b = T && T.d;
|
5884
|
+
T && (c /= b, u /= _, w /= _, g /= b, h = c + g, f = u + w);
|
5885
5885
|
}
|
5886
5886
|
return {
|
5887
5887
|
top: c,
|
@@ -6027,8 +6027,8 @@ function PM() {
|
|
6027
6027
|
}
|
6028
6028
|
var s = !1, c = 0;
|
6029
6029
|
r.forEach(function(u) {
|
6030
|
-
var h = 0, f = u.target, g = f.fromRect, w = pt(f), p = f.prevFromRect, T = f.prevToRect, _ = u.rect,
|
6031
|
-
|
6030
|
+
var h = 0, f = u.target, g = f.fromRect, w = pt(f), p = f.prevFromRect, T = f.prevToRect, _ = u.rect, b = Ai(f, !0);
|
6031
|
+
b && (w.top -= b.f, w.left -= b.e), f.toRect = w, f.thisAnimationDuration && ed(p, w) && !ed(g, w) && // Make sure animatingRect is on line between toRect & fromRect
|
6032
6032
|
(_.top - w.top) / (_.left - w.left) === (g.top - w.top) / (g.left - w.left) && (h = NM(_, p, T, i.options)), ed(w, g) || (f.prevFromRect = g, f.prevToRect = w, h || (h = i.options.animation), i.animate(f, _, w, h)), h && (s = !0, c = Math.max(c, h), clearTimeout(f.animationResetTimer), f.animationResetTimer = setTimeout(function() {
|
6033
6033
|
f.animationTime = 0, f.prevFromRect = null, f.fromRect = null, f.prevToRect = null, f.thisAnimationDuration = null;
|
6034
6034
|
}, h), f.thisAnimationDuration = h);
|
@@ -6108,15 +6108,15 @@ var ai = [], td = {
|
|
6108
6108
|
function DM(r) {
|
6109
6109
|
var e = r.sortable, t = r.rootEl, n = r.name, i = r.targetEl, s = r.cloneEl, c = r.toEl, u = r.fromEl, h = r.oldIndex, f = r.newIndex, g = r.oldDraggableIndex, w = r.newDraggableIndex, p = r.originalEvent, T = r.putSortable, _ = r.extraEventProperties;
|
6110
6110
|
if (e = e || t && t[pn], !!e) {
|
6111
|
-
var
|
6112
|
-
window.CustomEvent && !Br && !Ya ?
|
6111
|
+
var b, P = e.options, W = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
6112
|
+
window.CustomEvent && !Br && !Ya ? b = new CustomEvent(n, {
|
6113
6113
|
bubbles: !0,
|
6114
6114
|
cancelable: !0
|
6115
|
-
}) : (
|
6115
|
+
}) : (b = document.createEvent("Event"), b.initEvent(n, !0, !0)), b.to = c || t, b.from = u || t, b.item = i || t, b.clone = s, b.oldIndex = h, b.newIndex = f, b.oldDraggableIndex = g, b.newDraggableIndex = w, b.originalEvent = p, b.pullMode = T ? T.lastPutMode : void 0;
|
6116
6116
|
var K = vr(vr({}, _), Ja.getEventProperties(n, e));
|
6117
6117
|
for (var $ in K)
|
6118
|
-
|
6119
|
-
t && t.dispatchEvent(
|
6118
|
+
b[$] = K[$];
|
6119
|
+
t && t.dispatchEvent(b), P[W] && P[W].call(e, b);
|
6120
6120
|
}
|
6121
6121
|
}
|
6122
6122
|
var xM = ["evt"], Xt = function(e, t) {
|
@@ -6486,9 +6486,9 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6486
6486
|
},
|
6487
6487
|
// Returns true - if no further action is needed (either inserted or another condition)
|
6488
6488
|
_onDragOver: function(e) {
|
6489
|
-
var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g = Xs === h, w = u.sort, p = Rt || f, T, _ = this,
|
6489
|
+
var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g = Xs === h, w = u.sort, p = Rt || f, T, _ = this, b = !1;
|
6490
6490
|
if (xd) return;
|
6491
|
-
function
|
6491
|
+
function P(ct, Mt) {
|
6492
6492
|
Xt(ct, _, vr({
|
6493
6493
|
evt: e,
|
6494
6494
|
isOwner: g,
|
@@ -6507,14 +6507,14 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6507
6507
|
}, Mt));
|
6508
6508
|
}
|
6509
6509
|
function W() {
|
6510
|
-
|
6510
|
+
P("dragOverAnimationCapture"), _.captureAnimationState(), _ !== p && p.captureAnimationState();
|
6511
6511
|
}
|
6512
6512
|
function K(ct) {
|
6513
|
-
return
|
6513
|
+
return P("dragOverCompleted", {
|
6514
6514
|
insertion: ct
|
6515
6515
|
}), ct && (g ? f._hideClone() : f._showClone(_), _ !== p && (ln(V, Rt ? Rt.options.ghostClass : f.options.ghostClass, !1), ln(V, u.ghostClass, !0)), Rt !== _ && _ !== he.active ? Rt = _ : _ === he.active && Rt && (Rt = null), p === _ && (_._ignoreWhileAnimating = n), _.animateAll(function() {
|
6516
|
-
|
6517
|
-
}), _ !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === V && !V.animated || n === t && !n.animated) && (si = null), !u.dragoverBubble && !e.rootEl && n !== document && (V.parentNode[pn]._isOutsideThisEl(e.target), !ct && wo(e)), !u.dragoverBubble && e.stopPropagation && e.stopPropagation(),
|
6516
|
+
P("dragOverAnimationComplete"), _._ignoreWhileAnimating = null;
|
6517
|
+
}), _ !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === V && !V.animated || n === t && !n.animated) && (si = null), !u.dragoverBubble && !e.rootEl && n !== document && (V.parentNode[pn]._isOutsideThisEl(e.target), !ct && wo(e)), !u.dragoverBubble && e.stopPropagation && e.stopPropagation(), b = !0;
|
6518
6518
|
}
|
6519
6519
|
function $() {
|
6520
6520
|
un = Ln(V), Zr = Ln(V, u.draggable), Vt({
|
@@ -6526,13 +6526,13 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6526
6526
|
originalEvent: e
|
6527
6527
|
});
|
6528
6528
|
}
|
6529
|
-
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = sr(n, u.draggable, t, !0),
|
6529
|
+
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = sr(n, u.draggable, t, !0), P("dragOver"), he.eventCanceled) return b;
|
6530
6530
|
if (V.contains(e.target) || n.animated && n.animatingX && n.animatingY || _._ignoreWhileAnimating === n)
|
6531
6531
|
return K(!1);
|
6532
6532
|
if (Lc = !1, f && !u.disabled && (g ? w || (c = rt !== Qe) : Rt === this || (this.lastPutMode = Xs.checkPull(this, f, V, e)) && h.checkPut(this, f, V, e))) {
|
6533
|
-
if (T = this._getDirection(e, n) === "vertical", i = pt(V),
|
6533
|
+
if (T = this._getDirection(e, n) === "vertical", i = pt(V), P("dragOverValid"), he.eventCanceled) return b;
|
6534
6534
|
if (c)
|
6535
|
-
return rt = Qe, W(), this._hideClone(),
|
6535
|
+
return rt = Qe, W(), this._hideClone(), P("revert"), he.eventCanceled || (To ? Qe.insertBefore(V, To) : Qe.appendChild(V)), K(!0);
|
6536
6536
|
var ne = Ah(t, u.draggable);
|
6537
6537
|
if (!ne || zM(e, T, this) && !ne.animated) {
|
6538
6538
|
if (ne === V)
|
@@ -6893,9 +6893,9 @@ var cd = My(function(r, e, t, n) {
|
|
6893
6893
|
Ud !== t && (Ud = t, Ec(), ma = e.scroll, g = e.scrollFn, ma === !0 && (ma = no(t, !0)));
|
6894
6894
|
var w = 0, p = ma;
|
6895
6895
|
do {
|
6896
|
-
var T = p, _ = pt(T),
|
6896
|
+
var T = p, _ = pt(T), b = _.top, P = _.bottom, W = _.left, K = _.right, $ = _.width, ne = _.height, me = void 0, Me = void 0, G = T.scrollWidth, ht = T.scrollHeight, Ne = de(T), Q = T.scrollLeft, Y = T.scrollTop;
|
6897
6897
|
T === h ? (me = $ < G && (Ne.overflowX === "auto" || Ne.overflowX === "scroll" || Ne.overflowX === "visible"), Me = ne < ht && (Ne.overflowY === "auto" || Ne.overflowY === "scroll" || Ne.overflowY === "visible")) : (me = $ < G && (Ne.overflowX === "auto" || Ne.overflowX === "scroll"), Me = ne < ht && (Ne.overflowY === "auto" || Ne.overflowY === "scroll"));
|
6898
|
-
var De = me && (Math.abs(K - i) <= c && Q + $ < G) - (Math.abs(W - i) <= c && !!Q), Ye = Me && (Math.abs(
|
6898
|
+
var De = me && (Math.abs(K - i) <= c && Q + $ < G) - (Math.abs(W - i) <= c && !!Q), Ye = Me && (Math.abs(P - s) <= c && Y + ne < ht) - (Math.abs(b - s) <= c && !!Y);
|
6899
6899
|
if (!lt[w])
|
6900
6900
|
for (var Pt = 0; Pt <= w; Pt++)
|
6901
6901
|
lt[Pt] || (lt[Pt] = {});
|
@@ -7262,13 +7262,13 @@ const aN = {
|
|
7262
7262
|
title: "Column settings"
|
7263
7263
|
}, {
|
7264
7264
|
default: k(() => [
|
7265
|
-
|
7265
|
+
A(Eh, {
|
7266
7266
|
modelValue: t.value,
|
7267
7267
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => t.value = u)
|
7268
7268
|
}, null, 8, ["modelValue"]),
|
7269
|
-
|
7269
|
+
A(Vv, null, {
|
7270
7270
|
default: k(() => [
|
7271
|
-
|
7271
|
+
A(ue(sN), {
|
7272
7272
|
list: n.value,
|
7273
7273
|
animation: 200,
|
7274
7274
|
"ghost-class": "ghost-card"
|
@@ -7280,19 +7280,19 @@ const aN = {
|
|
7280
7280
|
}, {
|
7281
7281
|
default: k(() => [
|
7282
7282
|
Z("div", cN, [
|
7283
|
-
|
7284
|
-
|
7283
|
+
A(ue(cO), { class: "cursor-grab mb-2" }),
|
7284
|
+
A(vk, null, {
|
7285
7285
|
default: k(() => [
|
7286
|
-
|
7286
|
+
A(wk, {
|
7287
7287
|
modelValue: u.checked,
|
7288
7288
|
"onUpdate:modelValue": (h) => u.checked = h
|
7289
7289
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
7290
7290
|
]),
|
7291
7291
|
_: 2
|
7292
7292
|
}, 1024),
|
7293
|
-
|
7293
|
+
A(c, null, {
|
7294
7294
|
default: k(() => [
|
7295
|
-
|
7295
|
+
A(Ta, { class: "mb-1" }, {
|
7296
7296
|
default: k(() => [
|
7297
7297
|
H(Ce(u.title) + " ", 1)
|
7298
7298
|
]),
|
@@ -7356,9 +7356,9 @@ const aN = {
|
|
7356
7356
|
class: "d-flex flex-column pa-4pa-4 bg-containerBg"
|
7357
7357
|
}, {
|
7358
7358
|
default: k(() => [
|
7359
|
-
|
7359
|
+
A(_a, null, {
|
7360
7360
|
default: k(() => [
|
7361
|
-
|
7361
|
+
A(hr, {
|
7362
7362
|
"no-gutters": "",
|
7363
7363
|
align: "center",
|
7364
7364
|
justify: "end"
|
@@ -7371,9 +7371,9 @@ const aN = {
|
|
7371
7371
|
]),
|
7372
7372
|
_: 3
|
7373
7373
|
}),
|
7374
|
-
|
7374
|
+
A(fh, null, {
|
7375
7375
|
default: k(() => [
|
7376
|
-
|
7376
|
+
A(hr, {
|
7377
7377
|
"no-gutters": "",
|
7378
7378
|
align: "center",
|
7379
7379
|
justify: "center"
|
@@ -7394,8 +7394,8 @@ const aN = {
|
|
7394
7394
|
}),
|
7395
7395
|
t() ? (U(), se("div", uN, Ce(i.item[t()]), 1)) : we("", !0),
|
7396
7396
|
n() ? (U(), se("div", dN, Ce(i.item[n()]), 1)) : we("", !0),
|
7397
|
-
|
7398
|
-
|
7397
|
+
A(Po, { class: "ma-3" }),
|
7398
|
+
A(Da, { class: "d-flex flex-column align-center pa-4 pt-1" }, {
|
7399
7399
|
default: k(() => [
|
7400
7400
|
(U(!0), se(kt, null, oo(i.columns, (c) => (U(), se(kt, {
|
7401
7401
|
key: c.key
|
@@ -7443,7 +7443,7 @@ const aN = {
|
|
7443
7443
|
key: n[e.itemKey]
|
7444
7444
|
}, {
|
7445
7445
|
default: k(() => [
|
7446
|
-
|
7446
|
+
A(zy, {
|
7447
7447
|
item: n,
|
7448
7448
|
columns: e.columns,
|
7449
7449
|
size: e.size
|
@@ -7530,7 +7530,7 @@ const aN = {
|
|
7530
7530
|
},
|
7531
7531
|
setup(r) {
|
7532
7532
|
return (e, t) => (U(), se("div", wN, [
|
7533
|
-
|
7533
|
+
A(hr, {
|
7534
7534
|
"no-gutters": "",
|
7535
7535
|
class: "align-end ga-3",
|
7536
7536
|
align: "center",
|
@@ -7548,7 +7548,7 @@ const aN = {
|
|
7548
7548
|
Z("b", CN, Ce(e.id.title) + ": ", 1),
|
7549
7549
|
Z("span", TN, Ce(e.id.key || "-"), 1),
|
7550
7550
|
Z("span", null, [
|
7551
|
-
|
7551
|
+
A(ph, {
|
7552
7552
|
"content-to-copy": e.id.key,
|
7553
7553
|
size: 15
|
7554
7554
|
}, null, 8, ["content-to-copy"])
|
@@ -7561,7 +7561,7 @@ const aN = {
|
|
7561
7561
|
]),
|
7562
7562
|
_: 1
|
7563
7563
|
})) : we("", !0),
|
7564
|
-
|
7564
|
+
A(qt, {
|
7565
7565
|
cols: "auto",
|
7566
7566
|
class: "d-flex flex-column align-baseline px-2 mt-1"
|
7567
7567
|
}, {
|
@@ -7765,36 +7765,36 @@ const aN = {
|
|
7765
7765
|
Z("div", PN, [
|
7766
7766
|
Te(n.$slots, "default")
|
7767
7767
|
]),
|
7768
|
-
|
7768
|
+
A(Da, { class: "pa-0 mx-0 align-content-end" }, {
|
7769
7769
|
default: k(() => [
|
7770
|
-
|
7770
|
+
A(hr, {
|
7771
7771
|
justify: "space-between",
|
7772
7772
|
class: "mt-4"
|
7773
7773
|
}, {
|
7774
7774
|
default: k(() => [
|
7775
|
-
|
7775
|
+
A(qt, {
|
7776
7776
|
cols: "auto",
|
7777
7777
|
class: "text-sm-subtitle-2 text-medium-emphasis"
|
7778
7778
|
}, {
|
7779
7779
|
default: k(() => [
|
7780
|
-
|
7780
|
+
A(Ih, {
|
7781
7781
|
id: n.id,
|
7782
7782
|
meta: n.metadata
|
7783
7783
|
}, null, 8, ["id", "meta"])
|
7784
7784
|
]),
|
7785
7785
|
_: 1
|
7786
7786
|
}),
|
7787
|
-
|
7788
|
-
|
7787
|
+
A(xa),
|
7788
|
+
A(qt, {
|
7789
7789
|
cols: "auto",
|
7790
7790
|
class: "align-content-end"
|
7791
7791
|
}, {
|
7792
7792
|
default: k(() => [
|
7793
|
-
|
7793
|
+
A(Wy, {
|
7794
7794
|
"cancel-return": n.cancelReturn,
|
7795
7795
|
onCancel: i[0] || (i[0] = (s) => t("onCancel"))
|
7796
7796
|
}, null, 8, ["cancel-return"]),
|
7797
|
-
|
7797
|
+
A(qy, {
|
7798
7798
|
onOnSave: i[1] || (i[1] = (s) => t("onSave"))
|
7799
7799
|
})
|
7800
7800
|
]),
|
@@ -7833,14 +7833,14 @@ const aN = {
|
|
7833
7833
|
g.id ? (U(), se("div", DN, [
|
7834
7834
|
w[0] || (w[0] = Z("b", null, "ID:", -1)),
|
7835
7835
|
Z("span", xN, Ce(g.id), 1),
|
7836
|
-
|
7836
|
+
A(ph, {
|
7837
7837
|
"content-to-copy": g.id,
|
7838
7838
|
size: 20
|
7839
7839
|
}, null, 8, ["content-to-copy"])
|
7840
7840
|
])) : we("", !0),
|
7841
|
-
|
7841
|
+
A(xa),
|
7842
7842
|
Z("div", LN, [
|
7843
|
-
|
7843
|
+
A(je, {
|
7844
7844
|
onClick: h,
|
7845
7845
|
variant: "text"
|
7846
7846
|
}, {
|
@@ -7850,7 +7850,7 @@ const aN = {
|
|
7850
7850
|
size: "11",
|
7851
7851
|
class: "me-2"
|
7852
7852
|
})) : we("", !0),
|
7853
|
-
|
7853
|
+
A(Oc, { class: "me-2" }, {
|
7854
7854
|
default: k(() => w[1] || (w[1] = [
|
7855
7855
|
H("mdi-delete-outline")
|
7856
7856
|
])),
|
@@ -7861,12 +7861,12 @@ const aN = {
|
|
7861
7861
|
_: 1
|
7862
7862
|
}),
|
7863
7863
|
Z("div", UN, [
|
7864
|
-
|
7864
|
+
A(Po, {
|
7865
7865
|
class: "mx-2 my-1",
|
7866
7866
|
vertical: ""
|
7867
7867
|
}),
|
7868
7868
|
Z("div", HN, [
|
7869
|
-
Xm(
|
7869
|
+
Xm(A(je, {
|
7870
7870
|
onClick: u,
|
7871
7871
|
variant: "text",
|
7872
7872
|
color: "secondary",
|
@@ -7880,14 +7880,14 @@ const aN = {
|
|
7880
7880
|
}, 512), [
|
7881
7881
|
[Zm, !c.value]
|
7882
7882
|
]),
|
7883
|
-
Xm(
|
7883
|
+
Xm(A(je, {
|
7884
7884
|
onClick: u,
|
7885
7885
|
variant: "text",
|
7886
7886
|
color: "secondary",
|
7887
7887
|
width: "95"
|
7888
7888
|
}, {
|
7889
7889
|
default: k(() => [
|
7890
|
-
|
7890
|
+
A(Oc, { class: "pt-1 pe-2" }, {
|
7891
7891
|
default: k(() => w[3] || (w[3] = [
|
7892
7892
|
H("mdi-close")
|
7893
7893
|
])),
|
@@ -7922,18 +7922,18 @@ const aN = {
|
|
7922
7922
|
])
|
7923
7923
|
]),
|
7924
7924
|
Z("div", KN, [
|
7925
|
-
|
7925
|
+
A(hr, {
|
7926
7926
|
"no-gutters": "",
|
7927
7927
|
justify: "space-between",
|
7928
7928
|
class: "w-100"
|
7929
7929
|
}, {
|
7930
7930
|
default: k(() => [
|
7931
|
-
|
7931
|
+
A(qt, {
|
7932
7932
|
cols: "auto",
|
7933
7933
|
class: "text-sm-subtitle-2 text-medium-emphasis"
|
7934
7934
|
}, {
|
7935
7935
|
default: k(() => [
|
7936
|
-
|
7936
|
+
A(Ih, {
|
7937
7937
|
id: i.id,
|
7938
7938
|
meta: i.metadata
|
7939
7939
|
}, null, 8, ["id", "meta"])
|
@@ -8603,8 +8603,8 @@ function sl(r, e, t, n, i) {
|
|
8603
8603
|
};
|
8604
8604
|
}
|
8605
8605
|
function cl(r, e, t, n, i, s, c, u, h, f, g, w, p, T, _) {
|
8606
|
-
var
|
8607
|
-
const
|
8606
|
+
var P, W;
|
8607
|
+
const b = {
|
8608
8608
|
homeAccountId: r,
|
8609
8609
|
credentialType: le.ACCESS_TOKEN,
|
8610
8610
|
secret: t,
|
@@ -8617,18 +8617,18 @@ function cl(r, e, t, n, i, s, c, u, h, f, g, w, p, T, _) {
|
|
8617
8617
|
target: s,
|
8618
8618
|
tokenType: g || $e.BEARER
|
8619
8619
|
};
|
8620
|
-
if (w && (
|
8621
|
-
switch (
|
8620
|
+
if (w && (b.userAssertionHash = w), f && (b.refreshOn = f.toString()), T && (b.requestedClaims = T, b.requestedClaimsHash = _), ((P = b.tokenType) == null ? void 0 : P.toLowerCase()) !== $e.BEARER.toLowerCase())
|
8621
|
+
switch (b.credentialType = le.ACCESS_TOKEN_WITH_AUTH_SCHEME, b.tokenType) {
|
8622
8622
|
case $e.POP:
|
8623
8623
|
const K = Ho(t, h);
|
8624
8624
|
if (!((W = K == null ? void 0 : K.cnf) != null && W.kid))
|
8625
8625
|
throw B(cw);
|
8626
|
-
|
8626
|
+
b.keyId = K.cnf.kid;
|
8627
8627
|
break;
|
8628
8628
|
case $e.SSH:
|
8629
|
-
|
8629
|
+
b.keyId = p;
|
8630
8630
|
}
|
8631
|
-
return
|
8631
|
+
return b;
|
8632
8632
|
}
|
8633
8633
|
function gw(r, e, t, n, i, s, c) {
|
8634
8634
|
const u = {
|
@@ -9103,8 +9103,8 @@ class vt {
|
|
9103
9103
|
if (i.username = u || h || "", i.name = ((_ = e.idTokenClaims) == null ? void 0 : _.name) || "", i.cloudGraphHostName = e.cloudGraphHostName, i.msGraphHost = e.msGraphHost, e.tenantProfiles)
|
9104
9104
|
i.tenantProfiles = e.tenantProfiles;
|
9105
9105
|
else {
|
9106
|
-
const
|
9107
|
-
i.tenantProfiles = [
|
9106
|
+
const b = zh(e.homeAccountId, i.localAccountId, i.realm, e.idTokenClaims);
|
9107
|
+
i.tenantProfiles = [b];
|
9108
9108
|
}
|
9109
9109
|
return i;
|
9110
9110
|
}
|
@@ -9789,8 +9789,8 @@ class Mi {
|
|
9789
9789
|
}, w = n && n.accessToken || this.getTokenKeys().accessToken, p = [];
|
9790
9790
|
w.forEach((_) => {
|
9791
9791
|
if (this.accessTokenKeyMatchesFilter(_, g, !0)) {
|
9792
|
-
const
|
9793
|
-
|
9792
|
+
const b = this.getAccessTokenCredential(_);
|
9793
|
+
b && this.credentialMatchesFilter(b, g) && p.push(b);
|
9794
9794
|
}
|
9795
9795
|
});
|
9796
9796
|
const T = p.length;
|
@@ -11968,10 +11968,10 @@ ${c}`);
|
|
11968
11968
|
if (g = Ho(e.id_token || N.EMPTY_STRING, this.cryptoObj.base64Decode), s && s.nonce && g.nonce !== s.nonce)
|
11969
11969
|
throw B(tw);
|
11970
11970
|
if (i.maxAge || i.maxAge === 0) {
|
11971
|
-
const
|
11972
|
-
if (!
|
11971
|
+
const b = g.auth_time;
|
11972
|
+
if (!b)
|
11973
11973
|
throw B(Mh);
|
11974
|
-
fw(
|
11974
|
+
fw(b, i.maxAge);
|
11975
11975
|
}
|
11976
11976
|
}
|
11977
11977
|
this.homeAccountIdentifier = vt.generateHomeAccountId(e.client_info || N.EMPTY_STRING, t.authorityType, this.logger, this.cryptoObj, g);
|
@@ -11981,8 +11981,8 @@ ${c}`);
|
|
11981
11981
|
let T;
|
11982
11982
|
try {
|
11983
11983
|
if (this.persistencePlugin && this.serializableCache && (this.logger.verbose("Persistence enabled, calling beforeCacheAccess"), T = new Lx(this.serializableCache, !0), await this.persistencePlugin.beforeCacheAccess(T)), u && !h && p.account) {
|
11984
|
-
const
|
11985
|
-
if (!this.cacheStorage.getAccount(
|
11984
|
+
const b = p.account.generateAccountKey();
|
11985
|
+
if (!this.cacheStorage.getAccount(b, this.logger))
|
11986
11986
|
return this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"), await Do.generateAuthenticationResult(this.cryptoObj, t, p, !1, i, g, w, void 0, f);
|
11987
11987
|
}
|
11988
11988
|
await this.cacheStorage.saveCacheRecord(p, i.storeInCache, i.correlationId);
|
@@ -12019,17 +12019,17 @@ ${c}`);
|
|
12019
12019
|
));
|
12020
12020
|
let p = null;
|
12021
12021
|
if (e.access_token) {
|
12022
|
-
const
|
12023
|
-
p = cl(this.homeAccountIdentifier, h, e.access_token, this.clientId, f || t.tenant || "",
|
12022
|
+
const b = e.scope ? st.fromString(e.scope) : new st(i.scopes || []), P = (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, W = (typeof e.ext_expires_in == "string" ? parseInt(e.ext_expires_in, 10) : e.ext_expires_in) || 0, K = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, $ = n + P, ne = $ + W, me = K && K > 0 ? n + K : void 0;
|
12023
|
+
p = cl(this.homeAccountIdentifier, h, e.access_token, this.clientId, f || t.tenant || "", b.printScopes(), $, ne, this.cryptoObj.base64Decode, me, e.token_type, c, e.key_id, i.claims, i.requestedClaimsHash);
|
12024
12024
|
}
|
12025
12025
|
let T = null;
|
12026
12026
|
if (e.refresh_token) {
|
12027
|
-
let
|
12027
|
+
let b;
|
12028
12028
|
if (e.refresh_token_expires_in) {
|
12029
|
-
const
|
12030
|
-
|
12029
|
+
const P = typeof e.refresh_token_expires_in == "string" ? parseInt(e.refresh_token_expires_in, 10) : e.refresh_token_expires_in;
|
12030
|
+
b = n + P;
|
12031
12031
|
}
|
12032
|
-
T = gw(this.homeAccountIdentifier, h, e.refresh_token, this.clientId, e.foci, c,
|
12032
|
+
T = gw(this.homeAccountIdentifier, h, e.refresh_token, this.clientId, e.foci, c, b);
|
12033
12033
|
}
|
12034
12034
|
let _ = null;
|
12035
12035
|
return e.foci && (_ = {
|
@@ -12056,7 +12056,7 @@ ${c}`);
|
|
12056
12056
|
*/
|
12057
12057
|
static async generateAuthenticationResult(e, t, n, i, s, c, u, h, f) {
|
12058
12058
|
var $, ne, me, Me, G;
|
12059
|
-
let g = N.EMPTY_STRING, w = [], p = null, T, _,
|
12059
|
+
let g = N.EMPTY_STRING, w = [], p = null, T, _, b = N.EMPTY_STRING;
|
12060
12060
|
if (n.accessToken) {
|
12061
12061
|
if (n.accessToken.tokenType === $e.POP && !s.popKid) {
|
12062
12062
|
const ht = new Ni(e), { secret: Ne, keyId: Q } = n.accessToken;
|
@@ -12067,8 +12067,8 @@ ${c}`);
|
|
12067
12067
|
g = n.accessToken.secret;
|
12068
12068
|
w = st.fromString(n.accessToken.target).asArray(), p = new Date(Number(n.accessToken.expiresOn) * 1e3), T = new Date(Number(n.accessToken.extendedExpiresOn) * 1e3), n.accessToken.refreshOn && (_ = new Date(Number(n.accessToken.refreshOn) * 1e3));
|
12069
12069
|
}
|
12070
|
-
n.appMetadata && (
|
12071
|
-
const
|
12070
|
+
n.appMetadata && (b = n.appMetadata.familyId === ka ? ka : "");
|
12071
|
+
const P = (c == null ? void 0 : c.oid) || (c == null ? void 0 : c.sub) || "", W = (c == null ? void 0 : c.tid) || "";
|
12072
12072
|
h != null && h.spa_accountid && n.account && (n.account.nativeAccountId = h == null ? void 0 : h.spa_accountid);
|
12073
12073
|
const K = n.account ? Vh(
|
12074
12074
|
n.account.getAccountInfo(),
|
@@ -12079,7 +12079,7 @@ ${c}`);
|
|
12079
12079
|
) : null;
|
12080
12080
|
return {
|
12081
12081
|
authority: t.canonicalAuthority,
|
12082
|
-
uniqueId:
|
12082
|
+
uniqueId: P,
|
12083
12083
|
tenantId: W,
|
12084
12084
|
scopes: w,
|
12085
12085
|
account: K,
|
@@ -12092,7 +12092,7 @@ ${c}`);
|
|
12092
12092
|
refreshOn: _,
|
12093
12093
|
correlationId: s.correlationId,
|
12094
12094
|
requestId: f || N.EMPTY_STRING,
|
12095
|
-
familyId:
|
12095
|
+
familyId: b,
|
12096
12096
|
tokenType: ((me = n.accessToken) == null ? void 0 : me.tokenType) || N.EMPTY_STRING,
|
12097
12097
|
state: u ? u.userRequestState : N.EMPTY_STRING,
|
12098
12098
|
cloudGraphHostName: ((Me = n.account) == null ? void 0 : Me.cloudGraphHostName) || N.EMPTY_STRING,
|
@@ -12115,12 +12115,12 @@ function Jh(r, e, t, n, i, s, c, u, h, f, g) {
|
|
12115
12115
|
cloudGraphHostName: h == null ? void 0 : h.cloud_graph_host_name,
|
12116
12116
|
msGraphHost: h == null ? void 0 : h.msgraph_host,
|
12117
12117
|
nativeAccountId: f
|
12118
|
-
}, e, n),
|
12119
|
-
if (
|
12120
|
-
const W = zh(t, _.localAccountId,
|
12121
|
-
|
12118
|
+
}, e, n), b = _.tenantProfiles || [], P = u || _.realm;
|
12119
|
+
if (P && !b.find((W) => W.tenantId === P)) {
|
12120
|
+
const W = zh(t, _.localAccountId, P, i);
|
12121
|
+
b.push(W);
|
12122
12122
|
}
|
12123
|
-
return _.tenantProfiles =
|
12123
|
+
return _.tenantProfiles = b, _;
|
12124
12124
|
}
|
12125
12125
|
/*! @azure/msal-common v14.16.0 2024-11-05 */
|
12126
12126
|
async function Fw(r, e, t) {
|
@@ -13817,7 +13817,7 @@ class Di {
|
|
13817
13817
|
e.cnf = {
|
13818
13818
|
jwk: JSON.parse(h)
|
13819
13819
|
};
|
13820
|
-
const p = cc(JSON.stringify(e)), T = `${w}.${p}`,
|
13820
|
+
const p = cc(JSON.stringify(e)), T = `${w}.${p}`, b = new TextEncoder().encode(T), P = await uL(c.privateKey, b), W = pl(new Uint8Array(P)), K = `${T}.${W}`;
|
13821
13821
|
return s && s.end({
|
13822
13822
|
success: !0
|
13823
13823
|
}), K;
|
@@ -15969,8 +15969,8 @@ class rU extends Ui {
|
|
15969
15969
|
isNativeBroker: !0
|
15970
15970
|
}), !this.nativeMessageHandler)
|
15971
15971
|
throw J(Za);
|
15972
|
-
const
|
15973
|
-
return await
|
15972
|
+
const P = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, _.accountId, this.nativeStorage, i.correlationId), { userRequestState: W } = Xn.parseRequestState(this.browserCrypto, i.state);
|
15973
|
+
return await P.acquireToken({
|
15974
15974
|
...i,
|
15975
15975
|
state: W,
|
15976
15976
|
prompt: void 0
|
@@ -16105,9 +16105,9 @@ class rU extends Ui {
|
|
16105
16105
|
* @returns
|
16106
16106
|
*/
|
16107
16107
|
openSizedPopup(e, { popupName: t, popupWindowAttributes: n, popupWindowParent: i }) {
|
16108
|
-
var T, _,
|
16108
|
+
var T, _, b, P;
|
16109
16109
|
const s = i.screenLeft ? i.screenLeft : i.screenX, c = i.screenTop ? i.screenTop : i.screenY, u = i.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, h = i.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
|
16110
|
-
let f = (T = n.popupSize) == null ? void 0 : T.width, g = (_ = n.popupSize) == null ? void 0 : _.height, w = (
|
16110
|
+
let f = (T = n.popupSize) == null ? void 0 : T.width, g = (_ = n.popupSize) == null ? void 0 : _.height, w = (b = n.popupPosition) == null ? void 0 : b.top, p = (P = n.popupPosition) == null ? void 0 : P.left;
|
16111
16111
|
return (!f || f < 0 || f > u) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), f = fn.POPUP_WIDTH), (!g || g < 0 || g > h) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), g = fn.POPUP_HEIGHT), (!w || w < 0 || w > h) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), w = Math.max(0, h / 2 - fn.POPUP_HEIGHT / 2 + c)), (!p || p < 0 || p > u) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), p = Math.max(0, u / 2 - fn.POPUP_WIDTH / 2 + s)), i.open(e, t, `width=${f}, height=${g}, top=${w}, left=${p}, scrollbars=yes`);
|
16112
16112
|
}
|
16113
16113
|
/**
|
@@ -18075,17 +18075,17 @@ function L_() {
|
|
18075
18075
|
const c = async () => new Promise((p, T) => {
|
18076
18076
|
try {
|
18077
18077
|
localStorage.clear();
|
18078
|
-
const _ = process.env.JPLAN_WEBAPP__URL_AUTH,
|
18079
|
-
if (!
|
18078
|
+
const _ = process.env.JPLAN_WEBAPP__URL_AUTH, b = window.open(_);
|
18079
|
+
if (!b) {
|
18080
18080
|
console.error("Failed to open authentication window"), T("Failed to open authentication window");
|
18081
18081
|
return;
|
18082
18082
|
}
|
18083
|
-
const
|
18084
|
-
if (Date.now() -
|
18083
|
+
const P = Date.now(), W = 6e4, K = setInterval(() => {
|
18084
|
+
if (Date.now() - P > W || b.closed) {
|
18085
18085
|
clearInterval(K), console.error("Authentication canceled or timeout reached."), T("Authentication canceled or timeout reached.");
|
18086
18086
|
return;
|
18087
18087
|
}
|
18088
|
-
Object.keys(localStorage).some((ne) => ne.startsWith("msal.account.keys")) && (clearInterval(K), u(),
|
18088
|
+
Object.keys(localStorage).some((ne) => ne.startsWith("msal.account.keys")) && (clearInterval(K), u(), b.close(), p());
|
18089
18089
|
}, 500);
|
18090
18090
|
} catch (_) {
|
18091
18091
|
console.error("Error in handleRedirect:", _), T(_);
|
@@ -18462,8 +18462,8 @@ function Tl(r, e, t) {
|
|
18462
18462
|
metaTokens: !0,
|
18463
18463
|
dots: !1,
|
18464
18464
|
indexes: !1
|
18465
|
-
}, !1, function(
|
18466
|
-
return !M.isUndefined(
|
18465
|
+
}, !1, function(b, P) {
|
18466
|
+
return !M.isUndefined(P[b]);
|
18467
18467
|
});
|
18468
18468
|
const n = t.metaTokens, i = t.visitor || g, s = t.dots, c = t.indexes, h = (t.Blob || typeof Blob < "u" && Blob) && M.isSpecCompliantForm(e);
|
18469
18469
|
if (!M.isFunction(i))
|
@@ -18476,39 +18476,39 @@ function Tl(r, e, t) {
|
|
18476
18476
|
throw new ye("Blob is not supported. Use a Buffer instead.");
|
18477
18477
|
return M.isArrayBuffer(_) || M.isTypedArray(_) ? h && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
|
18478
18478
|
}
|
18479
|
-
function g(_,
|
18479
|
+
function g(_, b, P) {
|
18480
18480
|
let W = _;
|
18481
|
-
if (_ && !
|
18482
|
-
if (M.endsWith(
|
18483
|
-
|
18484
|
-
else if (M.isArray(_) && c2(_) || (M.isFileList(_) || M.endsWith(
|
18485
|
-
return
|
18481
|
+
if (_ && !P && typeof _ == "object") {
|
18482
|
+
if (M.endsWith(b, "{}"))
|
18483
|
+
b = n ? b : b.slice(0, -2), _ = JSON.stringify(_);
|
18484
|
+
else if (M.isArray(_) && c2(_) || (M.isFileList(_) || M.endsWith(b, "[]")) && (W = M.toArray(_)))
|
18485
|
+
return b = G_(b), W.forEach(function($, ne) {
|
18486
18486
|
!(M.isUndefined($) || $ === null) && e.append(
|
18487
18487
|
// eslint-disable-next-line no-nested-ternary
|
18488
|
-
c === !0 ? mv([
|
18488
|
+
c === !0 ? mv([b], ne, s) : c === null ? b : b + "[]",
|
18489
18489
|
f($)
|
18490
18490
|
);
|
18491
18491
|
}), !1;
|
18492
18492
|
}
|
18493
|
-
return ah(_) ? !0 : (e.append(mv(
|
18493
|
+
return ah(_) ? !0 : (e.append(mv(P, b, s), f(_)), !1);
|
18494
18494
|
}
|
18495
18495
|
const w = [], p = Object.assign(l2, {
|
18496
18496
|
defaultVisitor: g,
|
18497
18497
|
convertValue: f,
|
18498
18498
|
isVisitable: ah
|
18499
18499
|
});
|
18500
|
-
function T(_,
|
18500
|
+
function T(_, b) {
|
18501
18501
|
if (!M.isUndefined(_)) {
|
18502
18502
|
if (w.indexOf(_) !== -1)
|
18503
|
-
throw Error("Circular reference detected in " +
|
18503
|
+
throw Error("Circular reference detected in " + b.join("."));
|
18504
18504
|
w.push(_), M.forEach(_, function(W, K) {
|
18505
18505
|
(!(M.isUndefined(W) || W === null) && i.call(
|
18506
18506
|
e,
|
18507
18507
|
W,
|
18508
18508
|
M.isString(K) ? K.trim() : K,
|
18509
|
-
|
18509
|
+
b,
|
18510
18510
|
p
|
18511
|
-
)) === !0 && T(W,
|
18511
|
+
)) === !0 && T(W, b ? b.concat(K) : [K]);
|
18512
18512
|
}), w.pop();
|
18513
18513
|
}
|
18514
18514
|
}
|
@@ -19162,56 +19162,56 @@ const tC = (r) => {
|
|
19162
19162
|
let s = i.data;
|
19163
19163
|
const c = en.from(i.headers).normalize();
|
19164
19164
|
let { responseType: u, onUploadProgress: h, onDownloadProgress: f } = i, g, w, p, T, _;
|
19165
|
-
function
|
19165
|
+
function b() {
|
19166
19166
|
T && T(), _ && _(), i.cancelToken && i.cancelToken.unsubscribe(g), i.signal && i.signal.removeEventListener("abort", g);
|
19167
19167
|
}
|
19168
|
-
let
|
19169
|
-
|
19168
|
+
let P = new XMLHttpRequest();
|
19169
|
+
P.open(i.method.toUpperCase(), i.url, !0), P.timeout = i.timeout;
|
19170
19170
|
function W() {
|
19171
|
-
if (!
|
19171
|
+
if (!P)
|
19172
19172
|
return;
|
19173
19173
|
const $ = en.from(
|
19174
|
-
"getAllResponseHeaders" in
|
19174
|
+
"getAllResponseHeaders" in P && P.getAllResponseHeaders()
|
19175
19175
|
), me = {
|
19176
|
-
data: !u || u === "text" || u === "json" ?
|
19177
|
-
status:
|
19178
|
-
statusText:
|
19176
|
+
data: !u || u === "text" || u === "json" ? P.responseText : P.response,
|
19177
|
+
status: P.status,
|
19178
|
+
statusText: P.statusText,
|
19179
19179
|
headers: $,
|
19180
19180
|
config: r,
|
19181
|
-
request:
|
19181
|
+
request: P
|
19182
19182
|
};
|
19183
19183
|
Z_(function(G) {
|
19184
|
-
t(G),
|
19184
|
+
t(G), b();
|
19185
19185
|
}, function(G) {
|
19186
|
-
n(G),
|
19187
|
-
}, me),
|
19188
|
-
}
|
19189
|
-
"onloadend" in
|
19190
|
-
!
|
19191
|
-
},
|
19192
|
-
|
19193
|
-
},
|
19194
|
-
n(new ye("Network Error", ye.ERR_NETWORK, r,
|
19195
|
-
},
|
19186
|
+
n(G), b();
|
19187
|
+
}, me), P = null;
|
19188
|
+
}
|
19189
|
+
"onloadend" in P ? P.onloadend = W : P.onreadystatechange = function() {
|
19190
|
+
!P || P.readyState !== 4 || P.status === 0 && !(P.responseURL && P.responseURL.indexOf("file:") === 0) || setTimeout(W);
|
19191
|
+
}, P.onabort = function() {
|
19192
|
+
P && (n(new ye("Request aborted", ye.ECONNABORTED, r, P)), P = null);
|
19193
|
+
}, P.onerror = function() {
|
19194
|
+
n(new ye("Network Error", ye.ERR_NETWORK, r, P)), P = null;
|
19195
|
+
}, P.ontimeout = function() {
|
19196
19196
|
let ne = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
|
19197
19197
|
const me = i.transitional || J_;
|
19198
19198
|
i.timeoutErrorMessage && (ne = i.timeoutErrorMessage), n(new ye(
|
19199
19199
|
ne,
|
19200
19200
|
me.clarifyTimeoutError ? ye.ETIMEDOUT : ye.ECONNABORTED,
|
19201
19201
|
r,
|
19202
|
-
|
19203
|
-
)),
|
19204
|
-
}, s === void 0 && c.setContentType(null), "setRequestHeader" in
|
19205
|
-
|
19206
|
-
}), M.isUndefined(i.withCredentials) || (
|
19207
|
-
|
19202
|
+
P
|
19203
|
+
)), P = null;
|
19204
|
+
}, s === void 0 && c.setContentType(null), "setRequestHeader" in P && M.forEach(c.toJSON(), function(ne, me) {
|
19205
|
+
P.setRequestHeader(me, ne);
|
19206
|
+
}), M.isUndefined(i.withCredentials) || (P.withCredentials = !!i.withCredentials), u && u !== "json" && (P.responseType = i.responseType), f && ([p, _] = Qc(f, !0), P.addEventListener("progress", p)), h && P.upload && ([w, T] = Qc(h), P.upload.addEventListener("progress", w), P.upload.addEventListener("loadend", T)), (i.cancelToken || i.signal) && (g = ($) => {
|
19207
|
+
P && (n(!$ || $.type ? new Fi(null, r, P) : $), P.abort(), P = null);
|
19208
19208
|
}, i.cancelToken && i.cancelToken.subscribe(g), i.signal && (i.signal.aborted ? g() : i.signal.addEventListener("abort", g)));
|
19209
19209
|
const K = k2(i.url);
|
19210
19210
|
if (K && Bt.protocols.indexOf(K) === -1) {
|
19211
19211
|
n(new ye("Unsupported protocol " + K + ":", ye.ERR_BAD_REQUEST, r));
|
19212
19212
|
return;
|
19213
19213
|
}
|
19214
|
-
|
19214
|
+
P.send(s || null);
|
19215
19215
|
});
|
19216
19216
|
}, H2 = (r, e) => {
|
19217
19217
|
const { length: t } = r = r ? r.filter(Boolean) : [];
|
@@ -19353,12 +19353,12 @@ const V2 = async (r) => {
|
|
19353
19353
|
} = tC(r);
|
19354
19354
|
f = f ? (f + "").toLowerCase() : "text";
|
19355
19355
|
let T = H2([i, s && s.toAbortSignal()], c), _;
|
19356
|
-
const
|
19356
|
+
const b = T && T.unsubscribe && (() => {
|
19357
19357
|
T.unsubscribe();
|
19358
19358
|
});
|
19359
|
-
let
|
19359
|
+
let P;
|
19360
19360
|
try {
|
19361
|
-
if (h && z2 && t !== "get" && t !== "head" && (
|
19361
|
+
if (h && z2 && t !== "get" && t !== "head" && (P = await W2(g, n)) !== 0) {
|
19362
19362
|
let me = new Request(e, {
|
19363
19363
|
method: "POST",
|
19364
19364
|
body: n,
|
@@ -19366,7 +19366,7 @@ const V2 = async (r) => {
|
|
19366
19366
|
}), Me;
|
19367
19367
|
if (M.isFormData(n) && (Me = me.headers.get("content-type")) && g.setContentType(Me), me.body) {
|
19368
19368
|
const [G, ht] = wv(
|
19369
|
-
|
19369
|
+
P,
|
19370
19370
|
Qc(_v(h))
|
19371
19371
|
);
|
19372
19372
|
n = Tv(me.body, Ev, G, ht);
|
@@ -19385,7 +19385,7 @@ const V2 = async (r) => {
|
|
19385
19385
|
});
|
19386
19386
|
let K = await fetch(_);
|
19387
19387
|
const $ = ch && (f === "stream" || f === "response");
|
19388
|
-
if (ch && (u || $ &&
|
19388
|
+
if (ch && (u || $ && b)) {
|
19389
19389
|
const me = {};
|
19390
19390
|
["status", "statusText", "headers"].forEach((Ne) => {
|
19391
19391
|
me[Ne] = K[Ne];
|
@@ -19396,14 +19396,14 @@ const V2 = async (r) => {
|
|
19396
19396
|
) || [];
|
19397
19397
|
K = new Response(
|
19398
19398
|
Tv(K.body, Ev, G, () => {
|
19399
|
-
ht && ht(),
|
19399
|
+
ht && ht(), b && b();
|
19400
19400
|
}),
|
19401
19401
|
me
|
19402
19402
|
);
|
19403
19403
|
}
|
19404
19404
|
f = f || "text";
|
19405
19405
|
let ne = await Xc[M.findKey(Xc, f) || "text"](K, r);
|
19406
|
-
return !$ &&
|
19406
|
+
return !$ && b && b(), await new Promise((me, Me) => {
|
19407
19407
|
Z_(me, Me, {
|
19408
19408
|
data: ne,
|
19409
19409
|
headers: en.from(K.headers),
|
@@ -19414,7 +19414,7 @@ const V2 = async (r) => {
|
|
19414
19414
|
});
|
19415
19415
|
});
|
19416
19416
|
} catch (W) {
|
19417
|
-
throw
|
19417
|
+
throw b && b(), W && W.name === "TypeError" && /fetch/i.test(W.message) ? Object.assign(
|
19418
19418
|
new ye("Network Error", ye.ERR_NETWORK, r, _),
|
19419
19419
|
{
|
19420
19420
|
cause: W.cause || W
|
@@ -19597,12 +19597,12 @@ class Mo {
|
|
19597
19597
|
), t.headers = en.concat(c, s);
|
19598
19598
|
const u = [];
|
19599
19599
|
let h = !0;
|
19600
|
-
this.interceptors.request.forEach(function(
|
19601
|
-
typeof
|
19600
|
+
this.interceptors.request.forEach(function(b) {
|
19601
|
+
typeof b.runWhen == "function" && b.runWhen(t) === !1 || (h = h && b.synchronous, u.unshift(b.fulfilled, b.rejected));
|
19602
19602
|
});
|
19603
19603
|
const f = [];
|
19604
|
-
this.interceptors.response.forEach(function(
|
19605
|
-
f.push(
|
19604
|
+
this.interceptors.response.forEach(function(b) {
|
19605
|
+
f.push(b.fulfilled, b.rejected);
|
19606
19606
|
});
|
19607
19607
|
let g, w = 0, p;
|
19608
19608
|
if (!h) {
|
@@ -19614,11 +19614,11 @@ class Mo {
|
|
19614
19614
|
p = u.length;
|
19615
19615
|
let T = t;
|
19616
19616
|
for (w = 0; w < p; ) {
|
19617
|
-
const _ = u[w++],
|
19617
|
+
const _ = u[w++], b = u[w++];
|
19618
19618
|
try {
|
19619
19619
|
T = _(T);
|
19620
|
-
} catch (
|
19621
|
-
|
19620
|
+
} catch (P) {
|
19621
|
+
b.call(this, P);
|
19622
19622
|
break;
|
19623
19623
|
}
|
19624
19624
|
}
|
@@ -19924,66 +19924,71 @@ const { jToken: Iv } = D_(), sC = () => {
|
|
19924
19924
|
});
|
19925
19925
|
}, { request: Rv } = sC(), kv = te(null), Ov = te("default"), Cd = te(null), Td = te({ scope_type: "org" });
|
19926
19926
|
function wf() {
|
19927
|
-
var
|
19928
|
-
const { handleRedirect: r, account: e, logout: t } = L_()
|
19929
|
-
|
19930
|
-
|
19931
|
-
|
19932
|
-
|
19933
|
-
|
19934
|
-
|
19935
|
-
|
19927
|
+
var w, p;
|
19928
|
+
const { handleRedirect: r, account: e, logout: t } = L_();
|
19929
|
+
(p = (w = e.value) == null ? void 0 : w.idTokenClaims) == null || p.domain;
|
19930
|
+
const n = Tt(() => {
|
19931
|
+
var T, _;
|
19932
|
+
return {
|
19933
|
+
domain: (_ = (T = e.value) == null ? void 0 : T.idTokenClaims) == null ? void 0 : _.domain,
|
19934
|
+
environment: Ov.value,
|
19935
|
+
...Td.value
|
19936
|
+
};
|
19937
|
+
}), i = Tt(() => Td.value);
|
19938
|
+
async function s() {
|
19939
|
+
var T;
|
19940
|
+
(!e.value || !((T = e.value.idTokenClaims) != null && T.email)) && await r();
|
19936
19941
|
try {
|
19937
|
-
await
|
19942
|
+
await c(), await u();
|
19938
19943
|
} catch {
|
19939
19944
|
}
|
19940
19945
|
}
|
19941
|
-
async function
|
19942
|
-
var
|
19946
|
+
async function c() {
|
19947
|
+
var T, _;
|
19943
19948
|
try {
|
19944
|
-
const
|
19945
|
-
if (!
|
19946
|
-
const
|
19947
|
-
url: `https://api.jplan.com.br/platform/user/profile/?email=${
|
19949
|
+
const b = (_ = (T = e.value) == null ? void 0 : T.idTokenClaims) == null ? void 0 : _.email;
|
19950
|
+
if (!b) throw new Error("Email is undefined");
|
19951
|
+
const P = await Rv({
|
19952
|
+
url: `https://api.jplan.com.br/platform/user/profile/?email=${b}`,
|
19948
19953
|
method: "GET"
|
19949
19954
|
});
|
19950
|
-
Cd.value =
|
19951
|
-
} catch (
|
19952
|
-
console.error("Failed to fetch user profile:",
|
19955
|
+
Cd.value = P.data ?? null;
|
19956
|
+
} catch (b) {
|
19957
|
+
console.error("Failed to fetch user profile:", b);
|
19953
19958
|
}
|
19954
19959
|
}
|
19955
|
-
async function
|
19956
|
-
var
|
19960
|
+
async function u() {
|
19961
|
+
var T;
|
19957
19962
|
try {
|
19958
|
-
if (!((
|
19959
|
-
const
|
19963
|
+
if (!((T = Cd.value) != null && T.email)) throw new Error("User email is undefined");
|
19964
|
+
const _ = await Rv({
|
19960
19965
|
url: "https://api.jplan.com.br/platform/user/domain/",
|
19961
19966
|
method: "GET"
|
19962
19967
|
});
|
19963
|
-
kv.value =
|
19964
|
-
} catch (
|
19965
|
-
console.error("Failed to fetch user domains:",
|
19968
|
+
kv.value = _.data.data ?? [];
|
19969
|
+
} catch (_) {
|
19970
|
+
console.error("Failed to fetch user domains:", _);
|
19966
19971
|
}
|
19967
19972
|
}
|
19968
|
-
function
|
19969
|
-
Td.value =
|
19973
|
+
function h(T) {
|
19974
|
+
Td.value = T;
|
19970
19975
|
}
|
19971
|
-
function
|
19972
|
-
Ov.value =
|
19976
|
+
function f(T) {
|
19977
|
+
Ov.value = T, h(n.value);
|
19973
19978
|
}
|
19974
|
-
async function
|
19975
|
-
const
|
19976
|
-
await Lt.loginRedirect(
|
19979
|
+
async function g(T, _) {
|
19980
|
+
const b = N_(T, { request_domain: _ });
|
19981
|
+
await Lt.loginRedirect(b);
|
19977
19982
|
}
|
19978
19983
|
return {
|
19979
|
-
__init__:
|
19984
|
+
__init__: s,
|
19980
19985
|
user: Cd,
|
19981
19986
|
userDomains: kv,
|
19982
|
-
setEnv:
|
19983
|
-
setScope:
|
19984
|
-
changeDomain:
|
19985
|
-
session:
|
19986
|
-
scope:
|
19987
|
+
setEnv: f,
|
19988
|
+
setScope: h,
|
19989
|
+
changeDomain: g,
|
19990
|
+
session: n,
|
19991
|
+
scope: i,
|
19987
19992
|
logout: t
|
19988
19993
|
};
|
19989
19994
|
}
|
@@ -20004,9 +20009,9 @@ var X2 = ya.exports, Pv;
|
|
20004
20009
|
function Z2() {
|
20005
20010
|
return Pv || (Pv = 1, function(r, e) {
|
20006
20011
|
(function() {
|
20007
|
-
var t, n = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", u = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", f = 500, g = "__lodash_placeholder__", w = 1, p = 2, T = 4, _ = 1,
|
20012
|
+
var t, n = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", u = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", f = 500, g = "__lodash_placeholder__", w = 1, p = 2, T = 4, _ = 1, b = 2, P = 1, W = 2, K = 4, $ = 8, ne = 16, me = 32, Me = 64, G = 128, ht = 256, Ne = 512, Q = 30, Y = "...", De = 800, Ye = 16, Pt = 1, Fn = 2, wn = 3, Gt = 1 / 0, ct = 9007199254740991, Mt = 17976931348623157e292, $i = NaN, tn = 4294967295, bl = tn - 1, cC = tn >>> 1, lC = [
|
20008
20013
|
["ary", G],
|
20009
|
-
["bind",
|
20014
|
+
["bind", P],
|
20010
20015
|
["bindKey", W],
|
20011
20016
|
["curry", $],
|
20012
20017
|
["curryRight", ne],
|
@@ -20277,84 +20282,84 @@ function Z2() {
|
|
20277
20282
|
} catch {
|
20278
20283
|
}
|
20279
20284
|
}(), qf = _n && _n.isArrayBuffer, Gf = _n && _n.isDate, jf = _n && _n.isMap, Yf = _n && _n.isRegExp, Jf = _n && _n.isSet, Qf = _n && _n.isTypedArray;
|
20280
|
-
function nn(S, D,
|
20281
|
-
switch (
|
20285
|
+
function nn(S, D, O) {
|
20286
|
+
switch (O.length) {
|
20282
20287
|
case 0:
|
20283
20288
|
return S.call(D);
|
20284
20289
|
case 1:
|
20285
|
-
return S.call(D,
|
20290
|
+
return S.call(D, O[0]);
|
20286
20291
|
case 2:
|
20287
|
-
return S.call(D,
|
20292
|
+
return S.call(D, O[0], O[1]);
|
20288
20293
|
case 3:
|
20289
|
-
return S.call(D,
|
20294
|
+
return S.call(D, O[0], O[1], O[2]);
|
20290
20295
|
}
|
20291
|
-
return S.apply(D,
|
20296
|
+
return S.apply(D, O);
|
20292
20297
|
}
|
20293
|
-
function yT(S, D,
|
20298
|
+
function yT(S, D, O, j) {
|
20294
20299
|
for (var ge = -1, xe = S == null ? 0 : S.length; ++ge < xe; ) {
|
20295
20300
|
var ft = S[ge];
|
20296
|
-
D(j, ft,
|
20301
|
+
D(j, ft, O(ft), S);
|
20297
20302
|
}
|
20298
20303
|
return j;
|
20299
20304
|
}
|
20300
20305
|
function Cn(S, D) {
|
20301
|
-
for (var
|
20306
|
+
for (var O = -1, j = S == null ? 0 : S.length; ++O < j && D(S[O], O, S) !== !1; )
|
20302
20307
|
;
|
20303
20308
|
return S;
|
20304
20309
|
}
|
20305
20310
|
function wT(S, D) {
|
20306
|
-
for (var
|
20311
|
+
for (var O = S == null ? 0 : S.length; O-- && D(S[O], O, S) !== !1; )
|
20307
20312
|
;
|
20308
20313
|
return S;
|
20309
20314
|
}
|
20310
20315
|
function Xf(S, D) {
|
20311
|
-
for (var
|
20312
|
-
if (!D(S[
|
20316
|
+
for (var O = -1, j = S == null ? 0 : S.length; ++O < j; )
|
20317
|
+
if (!D(S[O], O, S))
|
20313
20318
|
return !1;
|
20314
20319
|
return !0;
|
20315
20320
|
}
|
20316
20321
|
function $r(S, D) {
|
20317
|
-
for (var
|
20318
|
-
var ft = S[
|
20319
|
-
D(ft,
|
20322
|
+
for (var O = -1, j = S == null ? 0 : S.length, ge = 0, xe = []; ++O < j; ) {
|
20323
|
+
var ft = S[O];
|
20324
|
+
D(ft, O, S) && (xe[ge++] = ft);
|
20320
20325
|
}
|
20321
20326
|
return xe;
|
20322
20327
|
}
|
20323
20328
|
function hs(S, D) {
|
20324
|
-
var
|
20325
|
-
return !!
|
20329
|
+
var O = S == null ? 0 : S.length;
|
20330
|
+
return !!O && zo(S, D, 0) > -1;
|
20326
20331
|
}
|
20327
|
-
function Vl(S, D,
|
20332
|
+
function Vl(S, D, O) {
|
20328
20333
|
for (var j = -1, ge = S == null ? 0 : S.length; ++j < ge; )
|
20329
|
-
if (
|
20334
|
+
if (O(D, S[j]))
|
20330
20335
|
return !0;
|
20331
20336
|
return !1;
|
20332
20337
|
}
|
20333
20338
|
function Je(S, D) {
|
20334
|
-
for (var
|
20335
|
-
ge[
|
20339
|
+
for (var O = -1, j = S == null ? 0 : S.length, ge = Array(j); ++O < j; )
|
20340
|
+
ge[O] = D(S[O], O, S);
|
20336
20341
|
return ge;
|
20337
20342
|
}
|
20338
20343
|
function Kr(S, D) {
|
20339
|
-
for (var
|
20340
|
-
S[ge +
|
20344
|
+
for (var O = -1, j = D.length, ge = S.length; ++O < j; )
|
20345
|
+
S[ge + O] = D[O];
|
20341
20346
|
return S;
|
20342
20347
|
}
|
20343
|
-
function Wl(S, D,
|
20348
|
+
function Wl(S, D, O, j) {
|
20344
20349
|
var ge = -1, xe = S == null ? 0 : S.length;
|
20345
|
-
for (j && xe && (
|
20346
|
-
|
20347
|
-
return
|
20350
|
+
for (j && xe && (O = S[++ge]); ++ge < xe; )
|
20351
|
+
O = D(O, S[ge], ge, S);
|
20352
|
+
return O;
|
20348
20353
|
}
|
20349
|
-
function _T(S, D,
|
20354
|
+
function _T(S, D, O, j) {
|
20350
20355
|
var ge = S == null ? 0 : S.length;
|
20351
|
-
for (j && ge && (
|
20352
|
-
|
20353
|
-
return
|
20356
|
+
for (j && ge && (O = S[--ge]); ge--; )
|
20357
|
+
O = D(O, S[ge], ge, S);
|
20358
|
+
return O;
|
20354
20359
|
}
|
20355
20360
|
function ql(S, D) {
|
20356
|
-
for (var
|
20357
|
-
if (D(S[
|
20361
|
+
for (var O = -1, j = S == null ? 0 : S.length; ++O < j; )
|
20362
|
+
if (D(S[O], O, S))
|
20358
20363
|
return !0;
|
20359
20364
|
return !1;
|
20360
20365
|
}
|
@@ -20365,24 +20370,24 @@ function Z2() {
|
|
20365
20370
|
function ET(S) {
|
20366
20371
|
return S.match(PC) || [];
|
20367
20372
|
}
|
20368
|
-
function Zf(S, D,
|
20373
|
+
function Zf(S, D, O) {
|
20369
20374
|
var j;
|
20370
|
-
return
|
20375
|
+
return O(S, function(ge, xe, ft) {
|
20371
20376
|
if (D(ge, xe, ft))
|
20372
20377
|
return j = xe, !1;
|
20373
20378
|
}), j;
|
20374
20379
|
}
|
20375
|
-
function fs(S, D,
|
20376
|
-
for (var ge = S.length, xe =
|
20380
|
+
function fs(S, D, O, j) {
|
20381
|
+
for (var ge = S.length, xe = O + (j ? 1 : -1); j ? xe-- : ++xe < ge; )
|
20377
20382
|
if (D(S[xe], xe, S))
|
20378
20383
|
return xe;
|
20379
20384
|
return -1;
|
20380
20385
|
}
|
20381
|
-
function zo(S, D,
|
20382
|
-
return D === D ? xT(S, D,
|
20386
|
+
function zo(S, D, O) {
|
20387
|
+
return D === D ? xT(S, D, O) : fs(S, eg, O);
|
20383
20388
|
}
|
20384
|
-
function AT(S, D,
|
20385
|
-
for (var ge =
|
20389
|
+
function AT(S, D, O, j) {
|
20390
|
+
for (var ge = O - 1, xe = S.length; ++ge < xe; )
|
20386
20391
|
if (j(S[ge], D))
|
20387
20392
|
return ge;
|
20388
20393
|
return -1;
|
@@ -20391,8 +20396,8 @@ function Z2() {
|
|
20391
20396
|
return S !== S;
|
20392
20397
|
}
|
20393
20398
|
function tg(S, D) {
|
20394
|
-
var
|
20395
|
-
return
|
20399
|
+
var O = S == null ? 0 : S.length;
|
20400
|
+
return O ? Yl(S, D) / O : $i;
|
20396
20401
|
}
|
20397
20402
|
function Gl(S) {
|
20398
20403
|
return function(D) {
|
@@ -20404,32 +20409,32 @@ function Z2() {
|
|
20404
20409
|
return S == null ? t : S[D];
|
20405
20410
|
};
|
20406
20411
|
}
|
20407
|
-
function ng(S, D,
|
20412
|
+
function ng(S, D, O, j, ge) {
|
20408
20413
|
return ge(S, function(xe, ft, Ke) {
|
20409
|
-
|
20410
|
-
}),
|
20414
|
+
O = j ? (j = !1, xe) : D(O, xe, ft, Ke);
|
20415
|
+
}), O;
|
20411
20416
|
}
|
20412
20417
|
function bT(S, D) {
|
20413
|
-
var
|
20414
|
-
for (S.sort(D);
|
20415
|
-
S[
|
20418
|
+
var O = S.length;
|
20419
|
+
for (S.sort(D); O--; )
|
20420
|
+
S[O] = S[O].value;
|
20416
20421
|
return S;
|
20417
20422
|
}
|
20418
20423
|
function Yl(S, D) {
|
20419
|
-
for (var
|
20424
|
+
for (var O, j = -1, ge = S.length; ++j < ge; ) {
|
20420
20425
|
var xe = D(S[j]);
|
20421
|
-
xe !== t && (
|
20426
|
+
xe !== t && (O = O === t ? xe : O + xe);
|
20422
20427
|
}
|
20423
|
-
return
|
20428
|
+
return O;
|
20424
20429
|
}
|
20425
20430
|
function Jl(S, D) {
|
20426
|
-
for (var
|
20427
|
-
j[
|
20431
|
+
for (var O = -1, j = Array(S); ++O < S; )
|
20432
|
+
j[O] = D(O);
|
20428
20433
|
return j;
|
20429
20434
|
}
|
20430
20435
|
function ST(S, D) {
|
20431
|
-
return Je(D, function(
|
20432
|
-
return [
|
20436
|
+
return Je(D, function(O) {
|
20437
|
+
return [O, S[O]];
|
20433
20438
|
});
|
20434
20439
|
}
|
20435
20440
|
function rg(S) {
|
@@ -20441,26 +20446,26 @@ function Z2() {
|
|
20441
20446
|
};
|
20442
20447
|
}
|
20443
20448
|
function Ql(S, D) {
|
20444
|
-
return Je(D, function(
|
20445
|
-
return S[
|
20449
|
+
return Je(D, function(O) {
|
20450
|
+
return S[O];
|
20446
20451
|
});
|
20447
20452
|
}
|
20448
20453
|
function Yi(S, D) {
|
20449
20454
|
return S.has(D);
|
20450
20455
|
}
|
20451
20456
|
function og(S, D) {
|
20452
|
-
for (var
|
20457
|
+
for (var O = -1, j = S.length; ++O < j && zo(D, S[O], 0) > -1; )
|
20453
20458
|
;
|
20454
|
-
return
|
20459
|
+
return O;
|
20455
20460
|
}
|
20456
20461
|
function ig(S, D) {
|
20457
|
-
for (var
|
20462
|
+
for (var O = S.length; O-- && zo(D, S[O], 0) > -1; )
|
20458
20463
|
;
|
20459
|
-
return
|
20464
|
+
return O;
|
20460
20465
|
}
|
20461
20466
|
function IT(S, D) {
|
20462
|
-
for (var
|
20463
|
-
S[
|
20467
|
+
for (var O = S.length, j = 0; O--; )
|
20468
|
+
S[O] === D && ++j;
|
20464
20469
|
return j;
|
20465
20470
|
}
|
20466
20471
|
var RT = jl(dT), kT = jl(hT);
|
@@ -20477,48 +20482,48 @@ function Z2() {
|
|
20477
20482
|
return cT.test(S);
|
20478
20483
|
}
|
20479
20484
|
function NT(S) {
|
20480
|
-
for (var D,
|
20481
|
-
|
20482
|
-
return
|
20485
|
+
for (var D, O = []; !(D = S.next()).done; )
|
20486
|
+
O.push(D.value);
|
20487
|
+
return O;
|
20483
20488
|
}
|
20484
20489
|
function Xl(S) {
|
20485
|
-
var D = -1,
|
20490
|
+
var D = -1, O = Array(S.size);
|
20486
20491
|
return S.forEach(function(j, ge) {
|
20487
|
-
|
20488
|
-
}),
|
20492
|
+
O[++D] = [ge, j];
|
20493
|
+
}), O;
|
20489
20494
|
}
|
20490
20495
|
function ag(S, D) {
|
20491
|
-
return function(
|
20492
|
-
return S(D(
|
20496
|
+
return function(O) {
|
20497
|
+
return S(D(O));
|
20493
20498
|
};
|
20494
20499
|
}
|
20495
20500
|
function zr(S, D) {
|
20496
|
-
for (var
|
20497
|
-
var ft = S[
|
20498
|
-
(ft === D || ft === g) && (S[
|
20501
|
+
for (var O = -1, j = S.length, ge = 0, xe = []; ++O < j; ) {
|
20502
|
+
var ft = S[O];
|
20503
|
+
(ft === D || ft === g) && (S[O] = g, xe[ge++] = O);
|
20499
20504
|
}
|
20500
20505
|
return xe;
|
20501
20506
|
}
|
20502
20507
|
function gs(S) {
|
20503
|
-
var D = -1,
|
20508
|
+
var D = -1, O = Array(S.size);
|
20504
20509
|
return S.forEach(function(j) {
|
20505
|
-
|
20506
|
-
}),
|
20510
|
+
O[++D] = j;
|
20511
|
+
}), O;
|
20507
20512
|
}
|
20508
20513
|
function DT(S) {
|
20509
|
-
var D = -1,
|
20514
|
+
var D = -1, O = Array(S.size);
|
20510
20515
|
return S.forEach(function(j) {
|
20511
|
-
|
20512
|
-
}),
|
20516
|
+
O[++D] = [j, j];
|
20517
|
+
}), O;
|
20513
20518
|
}
|
20514
|
-
function xT(S, D,
|
20515
|
-
for (var j =
|
20519
|
+
function xT(S, D, O) {
|
20520
|
+
for (var j = O - 1, ge = S.length; ++j < ge; )
|
20516
20521
|
if (S[j] === D)
|
20517
20522
|
return j;
|
20518
20523
|
return -1;
|
20519
20524
|
}
|
20520
|
-
function LT(S, D,
|
20521
|
-
for (var j =
|
20525
|
+
function LT(S, D, O) {
|
20526
|
+
for (var j = O + 1; j--; )
|
20522
20527
|
if (S[j] === D)
|
20523
20528
|
return j;
|
20524
20529
|
return j;
|
@@ -20548,7 +20553,7 @@ function Z2() {
|
|
20548
20553
|
}
|
20549
20554
|
var $T = function S(D) {
|
20550
20555
|
D = D == null ? Et : qo.defaults(Et.Object(), D, qo.pick(Et, lT));
|
20551
|
-
var
|
20556
|
+
var O = D.Array, j = D.Date, ge = D.Error, xe = D.Function, ft = D.Math, Ke = D.Object, Zl = D.RegExp, KT = D.String, Tn = D.TypeError, ms = O.prototype, zT = xe.prototype, Go = Ke.prototype, ps = D["__core-js_shared__"], vs = zT.toString, He = Go.hasOwnProperty, VT = 0, cg = function() {
|
20552
20557
|
var o = /[^.]+$/.exec(ps && ps.keys && ps.keys.IE_PROTO || "");
|
20553
20558
|
return o ? "Symbol(src)_1." + o : "";
|
20554
20559
|
}(), ys = Go.toString, WT = vs.call(Ke), qT = Et._, GT = Zl(
|
@@ -20852,7 +20857,7 @@ function Z2() {
|
|
20852
20857
|
}) : o[a] = l;
|
20853
20858
|
}
|
20854
20859
|
function ou(o, a) {
|
20855
|
-
for (var l = -1, d = a.length, m =
|
20860
|
+
for (var l = -1, d = a.length, m = O(d), y = o == null; ++l < d; )
|
20856
20861
|
m[l] = y ? t : Hu(o, a[l]);
|
20857
20862
|
return m;
|
20858
20863
|
}
|
@@ -21010,7 +21015,7 @@ function Z2() {
|
|
21010
21015
|
return o >= Nt(a, l) && o < gt(a, l);
|
21011
21016
|
}
|
21012
21017
|
function cu(o, a, l) {
|
21013
|
-
for (var d = l ? Vl : hs, m = o[0].length, y = o.length, C = y, E =
|
21018
|
+
for (var d = l ? Vl : hs, m = o[0].length, y = o.length, C = y, E = O(y), I = 1 / 0, x = []; C--; ) {
|
21014
21019
|
var L = o[C];
|
21015
21020
|
C && a && (L = Je(L, rn(a))), I = Nt(L.length, I), E[C] = !l && (a || m >= 120 && L.length >= 120) ? new ho(C && L) : t;
|
21016
21021
|
}
|
@@ -21094,7 +21099,7 @@ function Z2() {
|
|
21094
21099
|
var F = new zn();
|
21095
21100
|
if (d)
|
21096
21101
|
var q = d(x, L, I, o, a, F);
|
21097
|
-
if (!(q === t ? oa(L, x, _ |
|
21102
|
+
if (!(q === t ? oa(L, x, _ | b, d, F) : q))
|
21098
21103
|
return !1;
|
21099
21104
|
}
|
21100
21105
|
}
|
@@ -21138,7 +21143,7 @@ function Z2() {
|
|
21138
21143
|
return o < a;
|
21139
21144
|
}
|
21140
21145
|
function Rg(o, a) {
|
21141
|
-
var l = -1, d = Yt(o) ?
|
21146
|
+
var l = -1, d = Yt(o) ? O(o.length) : [];
|
21142
21147
|
return Wr(o, function(m, y, C) {
|
21143
21148
|
d[++l] = a(m, y, C);
|
21144
21149
|
}), d;
|
@@ -21152,7 +21157,7 @@ function Z2() {
|
|
21152
21157
|
function Og(o, a) {
|
21153
21158
|
return Ru(o) && cm(a) ? lm(or(o), a) : function(l) {
|
21154
21159
|
var d = Hu(l, o);
|
21155
|
-
return d === t && d === a ? Fu(l, o) : oa(a, d, _ |
|
21160
|
+
return d === t && d === a ? Fu(l, o) : oa(a, d, _ | b);
|
21156
21161
|
};
|
21157
21162
|
}
|
21158
21163
|
function Ms(o, a, l, d, m) {
|
@@ -21239,7 +21244,7 @@ function Z2() {
|
|
21239
21244
|
return o + bs(gg() * (a - o + 1));
|
21240
21245
|
}
|
21241
21246
|
function tA(o, a, l, d) {
|
21242
|
-
for (var m = -1, y = gt(As((a - o) / (l || 1)), 0), C =
|
21247
|
+
for (var m = -1, y = gt(As((a - o) / (l || 1)), 0), C = O(y); y--; )
|
21243
21248
|
C[d ? y : ++m] = o, o += l;
|
21244
21249
|
return C;
|
21245
21250
|
}
|
@@ -21294,7 +21299,7 @@ function Z2() {
|
|
21294
21299
|
function bn(o, a, l) {
|
21295
21300
|
var d = -1, m = o.length;
|
21296
21301
|
a < 0 && (a = -a > m ? 0 : m + a), l = l > m ? m : l, l < 0 && (l += m), m = a > l ? 0 : l - a >>> 0, a >>>= 0;
|
21297
|
-
for (var y =
|
21302
|
+
for (var y = O(m); ++d < m; )
|
21298
21303
|
y[d] = o[d + a];
|
21299
21304
|
return y;
|
21300
21305
|
}
|
@@ -21396,7 +21401,7 @@ function Z2() {
|
|
21396
21401
|
var d = o.length;
|
21397
21402
|
if (d < 2)
|
21398
21403
|
return d ? qr(o[0]) : [];
|
21399
|
-
for (var m = -1, y =
|
21404
|
+
for (var m = -1, y = O(d); ++m < d; )
|
21400
21405
|
for (var C = o[m], E = -1; ++E < d; )
|
21401
21406
|
E != m && (y[m] = na(y[m] || C, o[E], a, l));
|
21402
21407
|
return qr(At(y, 1), a, l);
|
@@ -21473,7 +21478,7 @@ function Z2() {
|
|
21473
21478
|
return o.index - a.index;
|
21474
21479
|
}
|
21475
21480
|
function Wg(o, a, l, d) {
|
21476
|
-
for (var m = -1, y = o.length, C = l.length, E = -1, I = a.length, x = gt(y - C, 0), L =
|
21481
|
+
for (var m = -1, y = o.length, C = l.length, E = -1, I = a.length, x = gt(y - C, 0), L = O(I + x), F = !d; ++E < I; )
|
21477
21482
|
L[E] = a[E];
|
21478
21483
|
for (; ++m < C; )
|
21479
21484
|
(F || m < y) && (L[l[m]] = o[m]);
|
@@ -21482,7 +21487,7 @@ function Z2() {
|
|
21482
21487
|
return L;
|
21483
21488
|
}
|
21484
21489
|
function qg(o, a, l, d) {
|
21485
|
-
for (var m = -1, y = o.length, C = -1, E = l.length, I = -1, x = a.length, L = gt(y - E, 0), F =
|
21490
|
+
for (var m = -1, y = o.length, C = -1, E = l.length, I = -1, x = a.length, L = gt(y - E, 0), F = O(L + x), q = !d; ++m < L; )
|
21486
21491
|
F[m] = o[m];
|
21487
21492
|
for (var X = m; ++I < x; )
|
21488
21493
|
F[X + I] = a[I];
|
@@ -21492,7 +21497,7 @@ function Z2() {
|
|
21492
21497
|
}
|
21493
21498
|
function jt(o, a) {
|
21494
21499
|
var l = -1, d = o.length;
|
21495
|
-
for (a || (a =
|
21500
|
+
for (a || (a = O(d)); ++l < d; )
|
21496
21501
|
a[l] = o[l];
|
21497
21502
|
return a;
|
21498
21503
|
}
|
@@ -21549,7 +21554,7 @@ function Z2() {
|
|
21549
21554
|
};
|
21550
21555
|
}
|
21551
21556
|
function gA(o, a, l) {
|
21552
|
-
var d = a &
|
21557
|
+
var d = a & P, m = aa(o);
|
21553
21558
|
function y() {
|
21554
21559
|
var C = this && this !== Et && this instanceof y ? m : o;
|
21555
21560
|
return C.apply(d ? l : this, arguments);
|
@@ -21596,7 +21601,7 @@ function Z2() {
|
|
21596
21601
|
function mA(o, a, l) {
|
21597
21602
|
var d = aa(o);
|
21598
21603
|
function m() {
|
21599
|
-
for (var y = arguments.length, C =
|
21604
|
+
for (var y = arguments.length, C = O(y), E = y, I = Zo(m); E--; )
|
21600
21605
|
C[E] = arguments[E];
|
21601
21606
|
var x = y < 3 && C[0] !== I && C[y - 1] !== I ? [] : zr(C, I);
|
21602
21607
|
if (y -= x.length, y < l)
|
@@ -21656,9 +21661,9 @@ function Z2() {
|
|
21656
21661
|
});
|
21657
21662
|
}
|
21658
21663
|
function Ls(o, a, l, d, m, y, C, E, I, x) {
|
21659
|
-
var L = a & G, F = a &
|
21664
|
+
var L = a & G, F = a & P, q = a & W, X = a & ($ | ne), ie = a & Ne, Ae = q ? t : aa(o);
|
21660
21665
|
function ae() {
|
21661
|
-
for (var Ie = arguments.length, ke =
|
21666
|
+
for (var Ie = arguments.length, ke = O(Ie), sn = Ie; sn--; )
|
21662
21667
|
ke[sn] = arguments[sn];
|
21663
21668
|
if (X)
|
21664
21669
|
var zt = Zo(ae), cn = IT(ke, zt);
|
@@ -21719,9 +21724,9 @@ function Z2() {
|
|
21719
21724
|
return Vo(a) ? jr(Kn(d), 0, o).join("") : d.slice(0, o);
|
21720
21725
|
}
|
21721
21726
|
function pA(o, a, l, d) {
|
21722
|
-
var m = a &
|
21727
|
+
var m = a & P, y = aa(o);
|
21723
21728
|
function C() {
|
21724
|
-
for (var E = -1, I = arguments.length, x = -1, L = d.length, F =
|
21729
|
+
for (var E = -1, I = arguments.length, x = -1, L = d.length, F = O(L + I), q = this && this !== Et && this instanceof C ? y : o; ++x < L; )
|
21725
21730
|
F[x] = d[x];
|
21726
21731
|
for (; I--; )
|
21727
21732
|
F[x++] = arguments[++E];
|
@@ -21741,7 +21746,7 @@ function Z2() {
|
|
21741
21746
|
}
|
21742
21747
|
function em(o, a, l, d, m, y, C, E, I, x) {
|
21743
21748
|
var L = a & $, F = L ? C : t, q = L ? t : C, X = L ? y : t, ie = L ? t : y;
|
21744
|
-
a |= L ? me : Me, a &= ~(L ? Me : me), a & K || (a &= ~(
|
21749
|
+
a |= L ? me : Me, a &= ~(L ? Me : me), a & K || (a &= ~(P | W));
|
21745
21750
|
var Ae = [
|
21746
21751
|
o,
|
21747
21752
|
a,
|
@@ -21796,9 +21801,9 @@ function Z2() {
|
|
21796
21801
|
C,
|
21797
21802
|
E
|
21798
21803
|
];
|
21799
|
-
if (q && MA(X, q), o = X[0], a = X[1], l = X[2], d = X[3], m = X[4], E = X[9] = X[9] === t ? I ? 0 : o.length : gt(X[9] - x, 0), !E && a & ($ | ne) && (a &= ~($ | ne)), !a || a ==
|
21804
|
+
if (q && MA(X, q), o = X[0], a = X[1], l = X[2], d = X[3], m = X[4], E = X[9] = X[9] === t ? I ? 0 : o.length : gt(X[9] - x, 0), !E && a & ($ | ne) && (a &= ~($ | ne)), !a || a == P)
|
21800
21805
|
var ie = gA(o, a, l);
|
21801
|
-
else a == $ || a == ne ? ie = mA(o, a, E) : (a == me || a == (
|
21806
|
+
else a == $ || a == ne ? ie = mA(o, a, E) : (a == me || a == (P | me)) && !m.length ? ie = pA(o, a, l, d) : ie = Ls.apply(t, X);
|
21802
21807
|
var Ae = q ? xg : hm;
|
21803
21808
|
return fm(Ae(ie, X), o, a);
|
21804
21809
|
}
|
@@ -21818,7 +21823,7 @@ function Z2() {
|
|
21818
21823
|
var x = y.get(o), L = y.get(a);
|
21819
21824
|
if (x && L)
|
21820
21825
|
return x == a && L == o;
|
21821
|
-
var F = -1, q = !0, X = l &
|
21826
|
+
var F = -1, q = !0, X = l & b ? new ho() : t;
|
21822
21827
|
for (y.set(o, a), y.set(a, o); ++F < E; ) {
|
21823
21828
|
var ie = o[F], Ae = a[F];
|
21824
21829
|
if (d)
|
@@ -21870,7 +21875,7 @@ function Z2() {
|
|
21870
21875
|
var x = C.get(o);
|
21871
21876
|
if (x)
|
21872
21877
|
return x == a;
|
21873
|
-
d |=
|
21878
|
+
d |= b, C.set(o, a);
|
21874
21879
|
var L = om(E(o), E(a), d, m, y, C);
|
21875
21880
|
return C.delete(o), L;
|
21876
21881
|
case cs:
|
@@ -22127,10 +22132,10 @@ function Z2() {
|
|
22127
22132
|
return a;
|
22128
22133
|
}
|
22129
22134
|
function MA(o, a) {
|
22130
|
-
var l = o[1], d = a[1], m = l | d, y = m < (
|
22135
|
+
var l = o[1], d = a[1], m = l | d, y = m < (P | W | G), C = d == G && l == $ || d == G && l == ht && o[7].length <= a[8] || d == (G | ht) && a[7].length <= a[8] && l == $;
|
22131
22136
|
if (!(y || C))
|
22132
22137
|
return o;
|
22133
|
-
d &
|
22138
|
+
d & P && (o[2] = a[2], m |= l & P ? 0 : K);
|
22134
22139
|
var E = a[3];
|
22135
22140
|
if (E) {
|
22136
22141
|
var I = o[3];
|
@@ -22150,10 +22155,10 @@ function Z2() {
|
|
22150
22155
|
}
|
22151
22156
|
function um(o, a, l) {
|
22152
22157
|
return a = gt(a === t ? o.length - 1 : a, 0), function() {
|
22153
|
-
for (var d = arguments, m = -1, y = gt(d.length - a, 0), C =
|
22158
|
+
for (var d = arguments, m = -1, y = gt(d.length - a, 0), C = O(y); ++m < y; )
|
22154
22159
|
C[m] = d[a + m];
|
22155
22160
|
m = -1;
|
22156
|
-
for (var E =
|
22161
|
+
for (var E = O(a + 1); ++m < a; )
|
22157
22162
|
E[m] = d[m];
|
22158
22163
|
return E[a] = l(C), nn(o, this, E);
|
22159
22164
|
};
|
@@ -22241,7 +22246,7 @@ function Z2() {
|
|
22241
22246
|
var d = o == null ? 0 : o.length;
|
22242
22247
|
if (!d || a < 1)
|
22243
22248
|
return [];
|
22244
|
-
for (var m = 0, y = 0, C =
|
22249
|
+
for (var m = 0, y = 0, C = O(As(d / a)); m < d; )
|
22245
22250
|
C[y++] = bn(o, m, m += a);
|
22246
22251
|
return C;
|
22247
22252
|
}
|
@@ -22256,7 +22261,7 @@ function Z2() {
|
|
22256
22261
|
var o = arguments.length;
|
22257
22262
|
if (!o)
|
22258
22263
|
return [];
|
22259
|
-
for (var a =
|
22264
|
+
for (var a = O(o - 1), l = arguments[0], d = o; d--; )
|
22260
22265
|
a[d - 1] = arguments[d];
|
22261
22266
|
return Kr(pe(l) ? jt(l) : [l], At(a, 1));
|
22262
22267
|
}
|
@@ -22604,7 +22609,7 @@ function Z2() {
|
|
22604
22609
|
return l < 0 && (l = gt(m + l, 0)), Ys(o) ? l <= m && o.indexOf(a, l) > -1 : !!m && zo(o, a, l) > -1;
|
22605
22610
|
}
|
22606
22611
|
var rS = be(function(o, a, l) {
|
22607
|
-
var d = -1, m = typeof a == "function", y = Yt(o) ?
|
22612
|
+
var d = -1, m = typeof a == "function", y = Yt(o) ? O(o.length) : [];
|
22608
22613
|
return Wr(o, function(C) {
|
22609
22614
|
y[++d] = m ? nn(a, C, l) : ra(C, a, l);
|
22610
22615
|
}), y;
|
@@ -22688,14 +22693,14 @@ function Z2() {
|
|
22688
22693
|
};
|
22689
22694
|
}
|
22690
22695
|
var Du = be(function(o, a, l) {
|
22691
|
-
var d =
|
22696
|
+
var d = P;
|
22692
22697
|
if (l.length) {
|
22693
22698
|
var m = zr(l, Zo(Du));
|
22694
22699
|
d |= me;
|
22695
22700
|
}
|
22696
22701
|
return Ar(o, d, a, l, m);
|
22697
22702
|
}), Rm = be(function(o, a, l) {
|
22698
|
-
var d =
|
22703
|
+
var d = P | W;
|
22699
22704
|
if (l.length) {
|
22700
22705
|
var m = zr(l, Zo(Rm));
|
22701
22706
|
d |= me;
|
@@ -22877,7 +22882,7 @@ function Z2() {
|
|
22877
22882
|
return arguments;
|
22878
22883
|
}()) ? bg : function(o) {
|
22879
22884
|
return tt(o) && He.call(o, "callee") && !dg.call(o, "callee");
|
22880
|
-
}, pe =
|
22885
|
+
}, pe = O.isArray, LS = qf ? rn(qf) : VE;
|
22881
22886
|
function Yt(o) {
|
22882
22887
|
return o != null && js(o.length) && !Ir(o);
|
22883
22888
|
}
|
@@ -23667,36 +23672,36 @@ function print() { __p += __j.call(arguments, '') }
|
|
23667
23672
|
var Bi = Z2();
|
23668
23673
|
const Rc = /* @__PURE__ */ Q2(Bi), eH = {
|
23669
23674
|
path: "/_/dashboard",
|
23670
|
-
component: () => import("./AuthRoute-
|
23675
|
+
component: () => import("./AuthRoute-DMtUqrRB.mjs"),
|
23671
23676
|
meta: { requiresAuth: !1 }
|
23672
23677
|
}, tH = {
|
23673
23678
|
path: "/jplan-auth-fail",
|
23674
|
-
component: () => import("./AuthFailRoute-
|
23679
|
+
component: () => import("./AuthFailRoute-HUjY0mMS.mjs"),
|
23675
23680
|
meta: { requiresAuth: !1 }
|
23676
23681
|
}, { isAuthenticated: Mv, handleRedirect: nH } = L_(), rH = wf();
|
23677
|
-
function QH(r, e) {
|
23678
|
-
r.addRoute(eH), r.addRoute(tH), r.beforeEach(async (
|
23679
|
-
function
|
23680
|
-
return
|
23682
|
+
function QH(r, e, t) {
|
23683
|
+
r.addRoute(eH), r.addRoute(tH), r.beforeEach(async (n, i, s) => {
|
23684
|
+
function c(h) {
|
23685
|
+
return h.matched.some((f) => f.meta.requiresAuth);
|
23681
23686
|
}
|
23682
|
-
if (!
|
23683
|
-
return
|
23687
|
+
if (!c(n))
|
23688
|
+
return s();
|
23684
23689
|
if (!Mv.value) {
|
23685
23690
|
fe.value = !0;
|
23686
23691
|
try {
|
23687
|
-
await nH(e,
|
23688
|
-
} catch (
|
23689
|
-
console.error("Fail to authenticate",
|
23692
|
+
await nH(e, n.fullPath), await rH.__init__();
|
23693
|
+
} catch (h) {
|
23694
|
+
console.error("Fail to authenticate", h), await r.push("/jplan-auth-fail");
|
23690
23695
|
}
|
23691
23696
|
fe.value = !1;
|
23692
23697
|
}
|
23693
23698
|
if (Mv.value) {
|
23694
23699
|
if (localStorage.getItem("returnRoute") && localStorage.getItem("returnRoute") !== null) {
|
23695
|
-
const
|
23696
|
-
|
23700
|
+
const h = localStorage.getItem("returnRoute") ?? "/";
|
23701
|
+
t ? await t(n, i) : s(h), s(h), localStorage.removeItem("returnRoute");
|
23697
23702
|
return;
|
23698
23703
|
}
|
23699
|
-
|
23704
|
+
s();
|
23700
23705
|
}
|
23701
23706
|
});
|
23702
23707
|
}
|
@@ -24049,17 +24054,17 @@ let dc = !1;
|
|
24049
24054
|
const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te([]), uH = () => {
|
24050
24055
|
const r = wr(), e = async (_) => {
|
24051
24056
|
Ed.value = !0;
|
24052
|
-
const
|
24053
|
-
|
24057
|
+
const b = _ ? `_active eq true and ${_}` : "_active eq true", P = await Eo.getOrgList(b);
|
24058
|
+
P && (Rn.value = P, dc = !0), Ed.value = !1;
|
24054
24059
|
}, t = async (_) => {
|
24055
|
-
var
|
24056
|
-
return (
|
24060
|
+
var b;
|
24061
|
+
return (b = Rn.value) != null && b.length || await e(_), Rn.value;
|
24057
24062
|
};
|
24058
24063
|
function n(_) {
|
24059
24064
|
if (!Rn.value)
|
24060
24065
|
throw new Error("Data not stored yet");
|
24061
|
-
const
|
24062
|
-
return _ !== "" ?
|
24066
|
+
const b = os(Rn.value, _, ["name", "description"]);
|
24067
|
+
return _ !== "" ? b : Rn.value;
|
24063
24068
|
}
|
24064
24069
|
const i = (_) => {
|
24065
24070
|
Dv.value = _;
|
@@ -24074,17 +24079,17 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
|
|
24074
24079
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24075
24080
|
const _ = await Eo.updateOrg(nt.value);
|
24076
24081
|
if (dc && (_ != null && _.data.__id)) {
|
24077
|
-
const
|
24078
|
-
return
|
24082
|
+
const b = Rn.value.findIndex((P) => P.__id === _.data.__id);
|
24083
|
+
return b !== -1 ? (Rn.value[b] = _.data, r.success("Organization updated.")) : r.error("Unable to update item"), fe.value = !1, _.data;
|
24079
24084
|
}
|
24080
24085
|
} else
|
24081
24086
|
fe.value = !1, r.error("Unable to update item");
|
24082
24087
|
}, f = async () => {
|
24083
24088
|
if (fe.value = !0, nt.value && nt.value.created_at) {
|
24084
24089
|
if (await Eo.deactivateOrg(nt.value.__id), dc) {
|
24085
|
-
const _ = Rn.value.findIndex((
|
24086
|
-
var
|
24087
|
-
return
|
24090
|
+
const _ = Rn.value.findIndex((b) => {
|
24091
|
+
var P;
|
24092
|
+
return b.__id === ((P = nt.value) == null ? void 0 : P.__id);
|
24088
24093
|
});
|
24089
24094
|
if (_ !== -1)
|
24090
24095
|
return Rn.value.splice(_, 1), nt.value;
|
@@ -24097,25 +24102,25 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
|
|
24097
24102
|
fe.value = !0;
|
24098
24103
|
try {
|
24099
24104
|
if (nt.value && nt.value.__id) {
|
24100
|
-
const
|
24101
|
-
if (!await Ao.updateBranch(
|
24105
|
+
const b = { ..._, organization: nt.value.__id };
|
24106
|
+
if (!await Ao.updateBranch(b)) {
|
24102
24107
|
fe.value = !1;
|
24103
24108
|
return;
|
24104
24109
|
}
|
24105
24110
|
if (ui.value.findIndex((K) => K.__id === _.__id) === -1)
|
24106
|
-
return r.success("Branch added successfully."), ui.value.push(
|
24111
|
+
return r.success("Branch added successfully."), ui.value.push(b), b;
|
24107
24112
|
r.info("Branch already added.");
|
24108
24113
|
}
|
24109
|
-
} catch (
|
24110
|
-
console.error(
|
24114
|
+
} catch (b) {
|
24115
|
+
console.error(b);
|
24111
24116
|
} finally {
|
24112
24117
|
fe.value = !1;
|
24113
24118
|
}
|
24114
24119
|
}
|
24115
24120
|
async function w(_) {
|
24116
24121
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24117
|
-
const
|
24118
|
-
if (!await Ao.updateBranch(
|
24122
|
+
const b = { ..._, organization: null };
|
24123
|
+
if (!await Ao.updateBranch(b)) {
|
24119
24124
|
fe.value = !1;
|
24120
24125
|
return;
|
24121
24126
|
}
|
@@ -24130,25 +24135,25 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
|
|
24130
24135
|
fe.value = !0;
|
24131
24136
|
try {
|
24132
24137
|
if (nt.value && nt.value.__id) {
|
24133
|
-
const
|
24134
|
-
if (!await Un.updateTeam(
|
24138
|
+
const b = { ..._, organization: nt.value.__id };
|
24139
|
+
if (!await Un.updateTeam(b)) {
|
24135
24140
|
fe.value = !1;
|
24136
24141
|
return;
|
24137
24142
|
}
|
24138
24143
|
if (di.value.findIndex((K) => K.__id === _.__id) === -1)
|
24139
|
-
return r.success("Team added successfully."), di.value.push(
|
24144
|
+
return r.success("Team added successfully."), di.value.push(b), b;
|
24140
24145
|
r.info("Team already added.");
|
24141
24146
|
}
|
24142
|
-
} catch (
|
24143
|
-
console.error(
|
24147
|
+
} catch (b) {
|
24148
|
+
console.error(b);
|
24144
24149
|
} finally {
|
24145
24150
|
fe.value = !1;
|
24146
24151
|
}
|
24147
24152
|
}
|
24148
24153
|
async function T(_) {
|
24149
24154
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24150
|
-
const
|
24151
|
-
if (!await Un.updateTeam(
|
24155
|
+
const b = { ..._, organization: null };
|
24156
|
+
if (!await Un.updateTeam(b)) {
|
24152
24157
|
fe.value = !1;
|
24153
24158
|
return;
|
24154
24159
|
}
|
@@ -24226,18 +24231,18 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24226
24231
|
async function g(p) {
|
24227
24232
|
var T;
|
24228
24233
|
if (fe.value = !0, (T = mt.value) != null && T.__id)
|
24229
|
-
if (hi.value.findIndex((
|
24234
|
+
if (hi.value.findIndex((b) => b.__id === p.__id) === -1)
|
24230
24235
|
try {
|
24231
|
-
const
|
24236
|
+
const b = await Un.linkManageUser(mt.value.__id, {
|
24232
24237
|
team: mt.value.__id,
|
24233
24238
|
user: p.__id,
|
24234
24239
|
role: "string",
|
24235
24240
|
joined_at: "string",
|
24236
24241
|
comments: "string"
|
24237
|
-
}),
|
24238
|
-
return
|
24239
|
-
} catch (
|
24240
|
-
console.error(
|
24242
|
+
}), P = await Un.getTeamUserList(mt.value.__id);
|
24243
|
+
return P && (hi.value = P), r.success("User added successfully."), b;
|
24244
|
+
} catch (b) {
|
24245
|
+
console.error(b), r.error("Unable to add User.");
|
24241
24246
|
} finally {
|
24242
24247
|
fe.value = !1;
|
24243
24248
|
}
|
@@ -24277,14 +24282,14 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24277
24282
|
}, hH = /* @__PURE__ */ Ee({
|
24278
24283
|
__name: "GlobalScopeFilter",
|
24279
24284
|
setup(r) {
|
24280
|
-
var
|
24285
|
+
var b, P, W;
|
24281
24286
|
const { openDialog: e } = Zc("global-scope__J-"), { user: t, scope: n, session: i, setScope: s } = wf(), { getData: c, data: u } = uH(), { getData: h, data: f } = dH(), g = te(!1);
|
24282
24287
|
lk(async () => {
|
24283
24288
|
g.value = !0, await c(), await h(), g.value = !1;
|
24284
24289
|
});
|
24285
24290
|
const w = te({
|
24286
|
-
scope_type: (
|
24287
|
-
organization: ((
|
24291
|
+
scope_type: (b = n.value) == null ? void 0 : b.scope_type,
|
24292
|
+
organization: ((P = n.value) == null ? void 0 : P.organization) ?? "org",
|
24288
24293
|
team: (W = n.value) == null ? void 0 : W.team
|
24289
24294
|
});
|
24290
24295
|
function p() {
|
@@ -24314,7 +24319,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24314
24319
|
((K = n.value) == null ? void 0 : K.scope_type) !== "" && s(w.value);
|
24315
24320
|
}
|
24316
24321
|
return (K, $) => (U(), se(kt, null, [
|
24317
|
-
|
24322
|
+
A(je, {
|
24318
24323
|
onClick: p,
|
24319
24324
|
icon: "",
|
24320
24325
|
class: "text-secondary",
|
@@ -24328,7 +24333,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24328
24333
|
]),
|
24329
24334
|
_: 1
|
24330
24335
|
}),
|
24331
|
-
|
24336
|
+
A(ue(nl), {
|
24332
24337
|
loading: g.value,
|
24333
24338
|
title: "Scope",
|
24334
24339
|
"dd-id": "global-scope__J-",
|
@@ -24336,22 +24341,22 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24336
24341
|
}, {
|
24337
24342
|
default: k(() => [
|
24338
24343
|
Z("div", null, [
|
24339
|
-
|
24344
|
+
A(hr, null, {
|
24340
24345
|
default: k(() => [
|
24341
|
-
|
24346
|
+
A(qt, {
|
24342
24347
|
cols: "4",
|
24343
24348
|
class: "d-flex flex-row align-center"
|
24344
24349
|
}, {
|
24345
24350
|
default: k(() => [
|
24346
|
-
|
24351
|
+
A(Ca, null, {
|
24347
24352
|
default: k(() => [
|
24348
|
-
|
24353
|
+
A(Ta, null, {
|
24349
24354
|
default: k(() => $[3] || ($[3] = [
|
24350
24355
|
H(" User")
|
24351
24356
|
])),
|
24352
24357
|
_: 1
|
24353
24358
|
}),
|
24354
|
-
|
24359
|
+
A(ju, null, {
|
24355
24360
|
default: k(() => {
|
24356
24361
|
var ne;
|
24357
24362
|
return [
|
@@ -24366,17 +24371,17 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24366
24371
|
]),
|
24367
24372
|
_: 1
|
24368
24373
|
}),
|
24369
|
-
|
24374
|
+
A(qt, { cols: "4" }, {
|
24370
24375
|
default: k(() => [
|
24371
|
-
|
24376
|
+
A(Ca, null, {
|
24372
24377
|
default: k(() => [
|
24373
|
-
|
24378
|
+
A(Ta, null, {
|
24374
24379
|
default: k(() => $[4] || ($[4] = [
|
24375
24380
|
H(" Domain")
|
24376
24381
|
])),
|
24377
24382
|
_: 1
|
24378
24383
|
}),
|
24379
|
-
|
24384
|
+
A(ju, null, {
|
24380
24385
|
default: k(() => [
|
24381
24386
|
H(Ce(ue(i).domain), 1)
|
24382
24387
|
]),
|
@@ -24388,17 +24393,17 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24388
24393
|
]),
|
24389
24394
|
_: 1
|
24390
24395
|
}),
|
24391
|
-
|
24396
|
+
A(qt, { cols: "4" }, {
|
24392
24397
|
default: k(() => [
|
24393
|
-
|
24398
|
+
A(Ca, null, {
|
24394
24399
|
default: k(() => [
|
24395
|
-
|
24400
|
+
A(Ta, null, {
|
24396
24401
|
default: k(() => $[5] || ($[5] = [
|
24397
24402
|
H(" Environment")
|
24398
24403
|
])),
|
24399
24404
|
_: 1
|
24400
24405
|
}),
|
24401
|
-
|
24406
|
+
A(ju, null, {
|
24402
24407
|
default: k(() => [
|
24403
24408
|
H(Ce(ue(i).environment), 1)
|
24404
24409
|
]),
|
@@ -24413,7 +24418,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24413
24418
|
]),
|
24414
24419
|
_: 1
|
24415
24420
|
}),
|
24416
|
-
|
24421
|
+
A(Tk, {
|
24417
24422
|
density: "compact",
|
24418
24423
|
variant: "outlined",
|
24419
24424
|
modelValue: w.value.scope_type,
|
@@ -24421,7 +24426,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24421
24426
|
class: "d-flex justify-center my-4"
|
24422
24427
|
}, {
|
24423
24428
|
default: k(() => [
|
24424
|
-
|
24429
|
+
A(je, {
|
24425
24430
|
value: "org",
|
24426
24431
|
label: "Organizational",
|
24427
24432
|
color: "secondary",
|
@@ -24432,7 +24437,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24432
24437
|
])),
|
24433
24438
|
_: 1
|
24434
24439
|
}),
|
24435
|
-
|
24440
|
+
A(je, {
|
24436
24441
|
value: "team",
|
24437
24442
|
label: "Team",
|
24438
24443
|
color: "secondary",
|
@@ -24443,7 +24448,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24443
24448
|
])),
|
24444
24449
|
_: 1
|
24445
24450
|
}),
|
24446
|
-
|
24451
|
+
A(je, {
|
24447
24452
|
value: "user",
|
24448
24453
|
label: "User",
|
24449
24454
|
color: "secondary",
|
@@ -24454,7 +24459,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24454
24459
|
])),
|
24455
24460
|
_: 1
|
24456
24461
|
}),
|
24457
|
-
|
24462
|
+
A(je, {
|
24458
24463
|
value: "",
|
24459
24464
|
label: "None",
|
24460
24465
|
color: "lightext",
|
@@ -24469,13 +24474,13 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24469
24474
|
_: 1
|
24470
24475
|
}, 8, ["modelValue"]),
|
24471
24476
|
Z("div", null, [
|
24472
|
-
|
24477
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24473
24478
|
default: k(() => $[10] || ($[10] = [
|
24474
24479
|
H("Organization")
|
24475
24480
|
])),
|
24476
24481
|
_: 1
|
24477
24482
|
}),
|
24478
|
-
|
24483
|
+
A(Ea, {
|
24479
24484
|
items: ue(u),
|
24480
24485
|
"item-title": "name",
|
24481
24486
|
"item-value": "__id",
|
@@ -24488,13 +24493,13 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24488
24493
|
"onUpdate:modelValue": $[1] || ($[1] = (ne) => w.value.organization = ne),
|
24489
24494
|
clearable: ""
|
24490
24495
|
}, null, 8, ["items", "modelValue"]),
|
24491
|
-
|
24496
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24492
24497
|
default: k(() => $[11] || ($[11] = [
|
24493
24498
|
H("Team")
|
24494
24499
|
])),
|
24495
24500
|
_: 1
|
24496
24501
|
}),
|
24497
|
-
|
24502
|
+
A(Ea, {
|
24498
24503
|
items: ue(f),
|
24499
24504
|
"item-title": "name",
|
24500
24505
|
"item-value": "__id",
|
@@ -24564,16 +24569,16 @@ const pH = /* @__PURE__ */ ja(fH, [["render", mH], ["__scopeId", "data-v-00d7a69
|
|
24564
24569
|
density: "compact"
|
24565
24570
|
}, {
|
24566
24571
|
append: k(() => [
|
24567
|
-
|
24572
|
+
A(ue(YN))
|
24568
24573
|
]),
|
24569
24574
|
default: k(() => [
|
24570
|
-
|
24575
|
+
A(Ta, null, {
|
24571
24576
|
default: k(() => [
|
24572
24577
|
H(Ce(n.title), 1)
|
24573
24578
|
]),
|
24574
24579
|
_: 1
|
24575
24580
|
}),
|
24576
|
-
|
24581
|
+
A(mh, {
|
24577
24582
|
activator: "parent",
|
24578
24583
|
"open-on-hover": "",
|
24579
24584
|
submenu: "",
|
@@ -24677,7 +24682,7 @@ const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), ZH = ()
|
|
24677
24682
|
r.error("Unable to link team");
|
24678
24683
|
return;
|
24679
24684
|
}
|
24680
|
-
if (fi.value.findIndex((
|
24685
|
+
if (fi.value.findIndex((P) => P.__id === p.__id) === -1)
|
24681
24686
|
return r.success("Team added successfully."), fi.value.push(T), T;
|
24682
24687
|
r.info("Team already added.");
|
24683
24688
|
} else
|
@@ -24693,9 +24698,9 @@ const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), ZH = ()
|
|
24693
24698
|
const T = { ...p, branch: null };
|
24694
24699
|
if (!await Un.updateTeam(T))
|
24695
24700
|
return;
|
24696
|
-
const
|
24697
|
-
if (
|
24698
|
-
return fi.value.splice(
|
24701
|
+
const b = fi.value.findIndex((P) => P.__id === p.__id);
|
24702
|
+
if (b !== -1)
|
24703
|
+
return fi.value.splice(b, 1), fe.value = !1, fi.value;
|
24699
24704
|
throw new Error("Item not found to remove");
|
24700
24705
|
}
|
24701
24706
|
fe.value = !1;
|
@@ -24836,7 +24841,7 @@ const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), eF = ()
|
|
24836
24841
|
try {
|
24837
24842
|
if (St.value && St.value.__id) {
|
24838
24843
|
const T = { ...p, division: St.value.__id };
|
24839
|
-
return await Eo.updateOrg(T) ? (gi.value.findIndex((
|
24844
|
+
return await Eo.updateOrg(T) ? (gi.value.findIndex((P) => P.__id === p.__id) === -1 ? (r.success("Organization added successfully."), gi.value.push(T)) : r.info("Organization already added."), T) : void 0;
|
24840
24845
|
} else
|
24841
24846
|
throw new Error("Item is not defined");
|
24842
24847
|
} catch (T) {
|
@@ -24850,9 +24855,9 @@ const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), eF = ()
|
|
24850
24855
|
const T = { ...p, division: null };
|
24851
24856
|
if (!await Eo.updateOrg(T))
|
24852
24857
|
return;
|
24853
|
-
const
|
24854
|
-
if (
|
24855
|
-
gi.value.splice(
|
24858
|
+
const b = gi.value.findIndex((P) => P.__id === p.__id);
|
24859
|
+
if (b !== -1)
|
24860
|
+
gi.value.splice(b, 1);
|
24856
24861
|
else
|
24857
24862
|
throw new Error("Item não encontrado para remoção");
|
24858
24863
|
} else
|
@@ -25022,18 +25027,18 @@ const Mn = te([]), Hv = te([]), Nn = te(null), bH = te(null), SH = te([]), tF =
|
|
25022
25027
|
}, nF = { install: IH };
|
25023
25028
|
export {
|
25024
25029
|
Eo as $,
|
25025
|
-
|
25026
|
-
|
25030
|
+
pO as A,
|
25031
|
+
vO as B,
|
25027
25032
|
wO as C,
|
25028
|
-
|
25029
|
-
|
25033
|
+
nl as D,
|
25034
|
+
wH as E,
|
25030
25035
|
VN as F,
|
25031
|
-
|
25032
|
-
|
25033
|
-
|
25034
|
-
|
25035
|
-
|
25036
|
-
|
25036
|
+
hH as G,
|
25037
|
+
yH as H,
|
25038
|
+
YH as I,
|
25039
|
+
Zc as J,
|
25040
|
+
wr as K,
|
25041
|
+
fe as L,
|
25037
25042
|
XH as M,
|
25038
25043
|
os as N,
|
25039
25044
|
lM as O,
|
@@ -25049,7 +25054,7 @@ export {
|
|
25049
25054
|
_h as Y,
|
25050
25055
|
da as Z,
|
25051
25056
|
ja as _,
|
25052
|
-
|
25057
|
+
L_ as a,
|
25053
25058
|
Ao as a0,
|
25054
25059
|
Un as a1,
|
25055
25060
|
ha as a2,
|
@@ -25059,29 +25064,29 @@ export {
|
|
25059
25064
|
dH as a6,
|
25060
25065
|
tF as a7,
|
25061
25066
|
rs as a8,
|
25062
|
-
|
25067
|
+
CO as b,
|
25063
25068
|
sC as c,
|
25064
|
-
|
25065
|
-
|
25066
|
-
|
25067
|
-
|
25068
|
-
|
25069
|
+
pM as d,
|
25070
|
+
Ky as e,
|
25071
|
+
zy as f,
|
25072
|
+
mN as g,
|
25073
|
+
Eh as h,
|
25069
25074
|
nF as i,
|
25070
|
-
|
25071
|
-
|
25072
|
-
|
25075
|
+
mO as j,
|
25076
|
+
ph as k,
|
25077
|
+
gO as l,
|
25073
25078
|
Lt as m,
|
25074
|
-
|
25075
|
-
|
25076
|
-
|
25077
|
-
|
25078
|
-
|
25079
|
+
Ih as n,
|
25080
|
+
Sk as o,
|
25081
|
+
Ay as p,
|
25082
|
+
tO as q,
|
25083
|
+
bk as r,
|
25079
25084
|
QH as s,
|
25080
|
-
|
25085
|
+
IN as t,
|
25081
25086
|
wf as u,
|
25082
|
-
|
25083
|
-
|
25084
|
-
|
25085
|
-
|
25086
|
-
|
25087
|
+
ON as v,
|
25088
|
+
yN as w,
|
25089
|
+
MN as x,
|
25090
|
+
FN as y,
|
25091
|
+
Ch as z
|
25087
25092
|
};
|