jplan-pack 0.6.64 → 0.6.65
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-B4KTS7aH.mjs +30 -0
- package/dist/AuthFailRoute-j1qMBtuq.js +1 -0
- package/dist/AuthFailRoute.css +1 -1
- package/dist/{AuthRoute-CTcbi_qZ.mjs → AuthRoute-CK4JFGMi.mjs} +1 -1
- package/dist/{AuthRoute-eQhRFqYp.js → AuthRoute-DrMtcqU_.js} +1 -1
- package/dist/{index-eI0zzZkX.js → index-BdF_8MIR.js} +10 -10
- package/dist/{index-DyWUAz88.mjs → index-D99YHXC9.mjs} +582 -576
- package/dist/index.css +1 -1
- 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 +1 -1
- package/dist/types/index.d.ts +1 -2
- package/dist/types/shims-vue.d.ts +5 -0
- package/dist/types/types/components.d.ts +65 -0
- package/package.json +1 -1
- package/dist/AuthFailRoute-DAX2xE3E.mjs +0 -27
- package/dist/AuthFailRoute-izl_EVg1.js +0 -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
|
]),
|
@@ -2841,6 +2841,7 @@ const gO = /* @__PURE__ */ Ee({
|
|
2841
2841
|
"return-object": "",
|
2842
2842
|
"show-select": "",
|
2843
2843
|
"sort-by": i.sortBy,
|
2844
|
+
height: "calc(100vh - 320px)",
|
2844
2845
|
class: "customize-table"
|
2845
2846
|
}, {
|
2846
2847
|
top: k(() => s[1] || (s[1] = [
|
@@ -4103,8 +4104,8 @@ function wP(r, e, t) {
|
|
4103
4104
|
}
|
4104
4105
|
const _P = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, CP = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, TP = /^'([^]*?)'?$/, EP = /''/g, AP = /[a-zA-Z]/;
|
4105
4106
|
function bP(r, e, t) {
|
4106
|
-
var g, w, p, T, _,
|
4107
|
-
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);
|
4108
4109
|
if (!RO(u))
|
4109
4110
|
throw new RangeError("Invalid time value");
|
4110
4111
|
let h = e.match(CP).map((K) => {
|
@@ -5351,7 +5352,7 @@ const dM = {
|
|
5351
5352
|
class: "d-flex mt-4 flex-column align-center justify-center w-100"
|
5352
5353
|
}, hM = {
|
5353
5354
|
key: 1,
|
5354
|
-
class: "mt-4 rounded-sm"
|
5355
|
+
class: "mt-4 h-100 rounded-sm"
|
5355
5356
|
}, fM = { class: "d-inline-flex" }, gM = { class: "d-inline-flex" }, mM = { class: "d-inline-flex" }, pM = /* @__PURE__ */ Ee({
|
5356
5357
|
__name: "TableAdvanced",
|
5357
5358
|
props: /* @__PURE__ */ Ri({
|
@@ -5385,13 +5386,13 @@ const dM = {
|
|
5385
5386
|
p.preventDefault(), f.value = T, h.value = uM(p), u.value = !0;
|
5386
5387
|
};
|
5387
5388
|
function w(p, { item: T }) {
|
5388
|
-
var
|
5389
|
-
if (i("rowClick", T), !n.selectOnRowClick || !((
|
5390
|
-
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);
|
5391
5392
|
return _ !== -1 ? c.value.splice(_, 1) : c.value.push(T), T;
|
5392
5393
|
}
|
5393
5394
|
return (p, T) => !p.loading && p.items.length === 0 ? (U(), se("div", dM, [
|
5394
|
-
|
5395
|
+
A(gh, {
|
5395
5396
|
"lazy-src": ue(Cp),
|
5396
5397
|
src: ue(Cp),
|
5397
5398
|
height: "600",
|
@@ -5399,7 +5400,7 @@ const dM = {
|
|
5399
5400
|
}, null, 8, ["lazy-src", "src"]),
|
5400
5401
|
T[2] || (T[2] = Z("p", { class: "text-center text-body-1 w-100" }, "No records found.", -1))
|
5401
5402
|
])) : (U(), se("div", hM, [
|
5402
|
-
|
5403
|
+
A(mh, {
|
5403
5404
|
modelValue: u.value,
|
5404
5405
|
"onUpdate:modelValue": T[0] || (T[0] = (_) => u.value = _),
|
5405
5406
|
"close-on-content-click": !1,
|
@@ -5415,7 +5416,7 @@ const dM = {
|
|
5415
5416
|
]),
|
5416
5417
|
_: 3
|
5417
5418
|
}, 8, ["modelValue", "style"]),
|
5418
|
-
|
5419
|
+
A(Wv, {
|
5419
5420
|
modelValue: c.value,
|
5420
5421
|
"onUpdate:modelValue": T[1] || (T[1] = (_) => c.value = _),
|
5421
5422
|
"fixed-header": "",
|
@@ -5430,6 +5431,7 @@ const dM = {
|
|
5430
5431
|
"sort-by": p.sortBy,
|
5431
5432
|
search: p.search,
|
5432
5433
|
"filter-keys": p.filterKeys,
|
5434
|
+
height: "calc(100vh - 320px)",
|
5433
5435
|
class: "customize-table bg-containerBg",
|
5434
5436
|
"onContextmenu:row": g,
|
5435
5437
|
"onClick:row": w,
|
@@ -5462,16 +5464,16 @@ const dM = {
|
|
5462
5464
|
}, [
|
5463
5465
|
oo(p.customFields, (_) => ({
|
5464
5466
|
name: `item.${_}`,
|
5465
|
-
fn: k(({ item:
|
5467
|
+
fn: k(({ item: b }) => [
|
5466
5468
|
Z("div", fM, [
|
5467
|
-
Te(p.$slots, _, { item:
|
5469
|
+
Te(p.$slots, _, { item: b })
|
5468
5470
|
])
|
5469
5471
|
])
|
5470
5472
|
})),
|
5471
5473
|
oo(p.dateFields, (_) => ({
|
5472
5474
|
name: `item.${_}`,
|
5473
|
-
fn: k(({ item:
|
5474
|
-
Z("div", mM, Ce(ue(lM)(
|
5475
|
+
fn: k(({ item: b }) => [
|
5476
|
+
Z("div", mM, Ce(ue(lM)(b[_])), 1)
|
5475
5477
|
])
|
5476
5478
|
}))
|
5477
5479
|
]), 1032, ["modelValue", "headers", "items", "items-length", "loading", "sort-by", "search", "filter-keys"])
|
@@ -5499,7 +5501,7 @@ const dM = {
|
|
5499
5501
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
|
5500
5502
|
}, {
|
5501
5503
|
"prepend-inner": k(() => [
|
5502
|
-
|
5504
|
+
A(ue(hO), {
|
5503
5505
|
size: "15",
|
5504
5506
|
class: "ma-1 me-1"
|
5505
5507
|
})
|
@@ -5522,20 +5524,20 @@ const dM = {
|
|
5522
5524
|
return (f, g) => {
|
5523
5525
|
const w = dr("SearchIcon");
|
5524
5526
|
return U(), se("div", null, [
|
5525
|
-
|
5527
|
+
A(ue(Ky), {
|
5526
5528
|
modelValue: f.columns,
|
5527
5529
|
"onUpdate:modelValue": g[0] || (g[0] = (p) => f.columns = p)
|
5528
5530
|
}, null, 8, ["modelValue"]),
|
5529
|
-
|
5531
|
+
A(hr, {
|
5530
5532
|
"no-gutters": "",
|
5531
5533
|
align: "center"
|
5532
5534
|
}, {
|
5533
5535
|
default: k(() => [
|
5534
|
-
|
5536
|
+
A(qt, { cols: "4" }, {
|
5535
5537
|
default: k(() => [
|
5536
5538
|
Z("div", vM, [
|
5537
5539
|
Z("div", null, [
|
5538
|
-
|
5540
|
+
A(ue(sO), {
|
5539
5541
|
class: "mt-2 me-2",
|
5540
5542
|
color: "rgb(var(--v-theme-lightprimary))"
|
5541
5543
|
})
|
@@ -5555,25 +5557,25 @@ const dM = {
|
|
5555
5557
|
multiple: "",
|
5556
5558
|
clearable: ""
|
5557
5559
|
})),
|
5558
|
-
|
5560
|
+
A(je, {
|
5559
5561
|
icon: "",
|
5560
5562
|
variant: "text"
|
5561
5563
|
}, {
|
5562
5564
|
default: k(() => [
|
5563
|
-
|
5565
|
+
A(ue(dO), {
|
5564
5566
|
onClick: g[1] || (g[1] = (p) => t("refresh")),
|
5565
5567
|
color: "rgb(var(--v-theme-secondary))"
|
5566
5568
|
})
|
5567
5569
|
]),
|
5568
5570
|
_: 1
|
5569
5571
|
}),
|
5570
|
-
|
5572
|
+
A(je, {
|
5571
5573
|
class: "ms-1",
|
5572
5574
|
icon: "",
|
5573
5575
|
variant: "text"
|
5574
5576
|
}, {
|
5575
5577
|
default: k(() => [
|
5576
|
-
|
5578
|
+
A(ue(iO), { color: "rgb(var(--v-theme-secondary))" })
|
5577
5579
|
]),
|
5578
5580
|
_: 1
|
5579
5581
|
}),
|
@@ -5582,8 +5584,8 @@ const dM = {
|
|
5582
5584
|
]),
|
5583
5585
|
_: 3
|
5584
5586
|
}),
|
5585
|
-
|
5586
|
-
|
5587
|
+
A(xa),
|
5588
|
+
A(qt, {
|
5587
5589
|
cols: "12",
|
5588
5590
|
md: "6",
|
5589
5591
|
class: "d-flex align-center justify-end"
|
@@ -5592,25 +5594,25 @@ const dM = {
|
|
5592
5594
|
Z("div", yM, [
|
5593
5595
|
Te(f.$slots, "top-right", {}, void 0, !0),
|
5594
5596
|
Z("div", wM, [
|
5595
|
-
|
5597
|
+
A(je, {
|
5596
5598
|
icon: "",
|
5597
5599
|
variant: "text",
|
5598
5600
|
onClick: ue(i)
|
5599
5601
|
}, {
|
5600
5602
|
default: k(() => [
|
5601
|
-
|
5603
|
+
A(ue(uO), { color: "rgb(var(--v-theme-secondary))" })
|
5602
5604
|
]),
|
5603
5605
|
_: 1
|
5604
5606
|
}, 8, ["onClick"])
|
5605
5607
|
])
|
5606
5608
|
]),
|
5607
|
-
|
5609
|
+
A(Eh, {
|
5608
5610
|
class: "me-2 top-J-_Field",
|
5609
5611
|
modelValue: n.value,
|
5610
5612
|
"onUpdate:modelValue": g[2] || (g[2] = (p) => n.value = p)
|
5611
5613
|
}, null, 8, ["modelValue"]),
|
5612
5614
|
Z("div", null, [
|
5613
|
-
|
5615
|
+
A(w, {
|
5614
5616
|
class: "mt-1 me-2",
|
5615
5617
|
color: "rgb(var(--v-theme-lightprimary))"
|
5616
5618
|
})
|
@@ -5621,13 +5623,11 @@ const dM = {
|
|
5621
5623
|
]),
|
5622
5624
|
_: 3
|
5623
5625
|
}),
|
5624
|
-
|
5625
|
-
|
5626
|
-
justify: "space-between",
|
5627
|
-
class: "align-center"
|
5628
|
-
}, {
|
5626
|
+
A(Po, { class: "my-4" }),
|
5627
|
+
A(hr, { class: "align-center" }, {
|
5629
5628
|
default: k(() => [
|
5630
|
-
|
5629
|
+
A(qt, {
|
5630
|
+
md: "3",
|
5631
5631
|
cols: "6",
|
5632
5632
|
"no-gutters": ""
|
5633
5633
|
}, {
|
@@ -5641,26 +5641,27 @@ const dM = {
|
|
5641
5641
|
]),
|
5642
5642
|
_: 3
|
5643
5643
|
}),
|
5644
|
-
|
5645
|
-
|
5644
|
+
A(xa),
|
5645
|
+
A(hr, {
|
5646
5646
|
justify: "end",
|
5647
|
-
class: "align-center",
|
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
|
+
md: "7",
|
5653
5654
|
cols: "12",
|
5654
|
-
class: "d-flex justify-end align-center
|
5655
|
+
class: "d-flex justify-end align-center border"
|
5655
5656
|
}, {
|
5656
5657
|
default: k(() => [
|
5657
5658
|
Z("div", null, [
|
5658
|
-
|
5659
|
+
A(ue(fO), {
|
5659
5660
|
class: "me-2",
|
5660
5661
|
color: "rgb(var(--v-theme-secondary))"
|
5661
5662
|
})
|
5662
5663
|
]),
|
5663
|
-
|
5664
|
+
A(Ea, {
|
5664
5665
|
items: [],
|
5665
5666
|
"item-value": "key",
|
5666
5667
|
variant: "solo",
|
@@ -5674,12 +5675,12 @@ const dM = {
|
|
5674
5675
|
clearable: ""
|
5675
5676
|
}),
|
5676
5677
|
Z("div", null, [
|
5677
|
-
|
5678
|
+
A(ue(lO), {
|
5678
5679
|
class: "me-2",
|
5679
5680
|
color: "rgb(var(--v-theme-secondary))"
|
5680
5681
|
})
|
5681
5682
|
]),
|
5682
|
-
|
5683
|
+
A(Ea, {
|
5683
5684
|
items: ["Move data", "Copy", "Duplicate", "Loop"],
|
5684
5685
|
variant: "solo",
|
5685
5686
|
"bg-color": "containerBg",
|
@@ -5702,7 +5703,7 @@ const dM = {
|
|
5702
5703
|
]);
|
5703
5704
|
};
|
5704
5705
|
}
|
5705
|
-
}), CM = /* @__PURE__ */ ja(_M, [["__scopeId", "data-v-
|
5706
|
+
}), CM = /* @__PURE__ */ ja(_M, [["__scopeId", "data-v-c63a0eeb"]]);
|
5706
5707
|
/*!
|
5707
5708
|
* vue-draggable-next v2.2.0
|
5708
5709
|
* (c) 2023 Anish George
|
@@ -5879,8 +5880,8 @@ function pt(r, e, t, n, i) {
|
|
5879
5880
|
}
|
5880
5881
|
while (i = i.parentNode);
|
5881
5882
|
if (n && r !== window) {
|
5882
|
-
var T = Ai(i || r), _ = T && T.a,
|
5883
|
-
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);
|
5884
5885
|
}
|
5885
5886
|
return {
|
5886
5887
|
top: c,
|
@@ -6026,8 +6027,8 @@ function PM() {
|
|
6026
6027
|
}
|
6027
6028
|
var s = !1, c = 0;
|
6028
6029
|
r.forEach(function(u) {
|
6029
|
-
var h = 0, f = u.target, g = f.fromRect, w = pt(f), p = f.prevFromRect, T = f.prevToRect, _ = u.rect,
|
6030
|
-
|
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
|
6031
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() {
|
6032
6033
|
f.animationTime = 0, f.prevFromRect = null, f.fromRect = null, f.prevToRect = null, f.thisAnimationDuration = null;
|
6033
6034
|
}, h), f.thisAnimationDuration = h);
|
@@ -6107,15 +6108,15 @@ var ai = [], td = {
|
|
6107
6108
|
function DM(r) {
|
6108
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;
|
6109
6110
|
if (e = e || t && t[pn], !!e) {
|
6110
|
-
var
|
6111
|
-
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, {
|
6112
6113
|
bubbles: !0,
|
6113
6114
|
cancelable: !0
|
6114
|
-
}) : (
|
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;
|
6115
6116
|
var K = vr(vr({}, _), Ja.getEventProperties(n, e));
|
6116
6117
|
for (var $ in K)
|
6117
|
-
|
6118
|
-
t && t.dispatchEvent(
|
6118
|
+
b[$] = K[$];
|
6119
|
+
t && t.dispatchEvent(b), P[W] && P[W].call(e, b);
|
6119
6120
|
}
|
6120
6121
|
}
|
6121
6122
|
var xM = ["evt"], Xt = function(e, t) {
|
@@ -6485,9 +6486,9 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6485
6486
|
},
|
6486
6487
|
// Returns true - if no further action is needed (either inserted or another condition)
|
6487
6488
|
_onDragOver: function(e) {
|
6488
|
-
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;
|
6489
6490
|
if (xd) return;
|
6490
|
-
function
|
6491
|
+
function P(ct, Mt) {
|
6491
6492
|
Xt(ct, _, vr({
|
6492
6493
|
evt: e,
|
6493
6494
|
isOwner: g,
|
@@ -6506,14 +6507,14 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6506
6507
|
}, Mt));
|
6507
6508
|
}
|
6508
6509
|
function W() {
|
6509
|
-
|
6510
|
+
P("dragOverAnimationCapture"), _.captureAnimationState(), _ !== p && p.captureAnimationState();
|
6510
6511
|
}
|
6511
6512
|
function K(ct) {
|
6512
|
-
return
|
6513
|
+
return P("dragOverCompleted", {
|
6513
6514
|
insertion: ct
|
6514
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() {
|
6515
|
-
|
6516
|
-
}), _ !== 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;
|
6517
6518
|
}
|
6518
6519
|
function $() {
|
6519
6520
|
un = Ln(V), Zr = Ln(V, u.draggable), Vt({
|
@@ -6525,13 +6526,13 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6525
6526
|
originalEvent: e
|
6526
6527
|
});
|
6527
6528
|
}
|
6528
|
-
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;
|
6529
6530
|
if (V.contains(e.target) || n.animated && n.animatingX && n.animatingY || _._ignoreWhileAnimating === n)
|
6530
6531
|
return K(!1);
|
6531
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))) {
|
6532
|
-
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;
|
6533
6534
|
if (c)
|
6534
|
-
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);
|
6535
6536
|
var ne = Ah(t, u.draggable);
|
6536
6537
|
if (!ne || zM(e, T, this) && !ne.animated) {
|
6537
6538
|
if (ne === V)
|
@@ -6892,9 +6893,9 @@ var cd = My(function(r, e, t, n) {
|
|
6892
6893
|
Ud !== t && (Ud = t, Ec(), ma = e.scroll, g = e.scrollFn, ma === !0 && (ma = no(t, !0)));
|
6893
6894
|
var w = 0, p = ma;
|
6894
6895
|
do {
|
6895
|
-
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;
|
6896
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"));
|
6897
|
-
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);
|
6898
6899
|
if (!lt[w])
|
6899
6900
|
for (var Pt = 0; Pt <= w; Pt++)
|
6900
6901
|
lt[Pt] || (lt[Pt] = {});
|
@@ -7261,13 +7262,13 @@ const aN = {
|
|
7261
7262
|
title: "Column settings"
|
7262
7263
|
}, {
|
7263
7264
|
default: k(() => [
|
7264
|
-
|
7265
|
+
A(Eh, {
|
7265
7266
|
modelValue: t.value,
|
7266
7267
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => t.value = u)
|
7267
7268
|
}, null, 8, ["modelValue"]),
|
7268
|
-
|
7269
|
+
A(Vv, null, {
|
7269
7270
|
default: k(() => [
|
7270
|
-
|
7271
|
+
A(ue(sN), {
|
7271
7272
|
list: n.value,
|
7272
7273
|
animation: 200,
|
7273
7274
|
"ghost-class": "ghost-card"
|
@@ -7279,19 +7280,19 @@ const aN = {
|
|
7279
7280
|
}, {
|
7280
7281
|
default: k(() => [
|
7281
7282
|
Z("div", cN, [
|
7282
|
-
|
7283
|
-
|
7283
|
+
A(ue(cO), { class: "cursor-grab mb-2" }),
|
7284
|
+
A(vk, null, {
|
7284
7285
|
default: k(() => [
|
7285
|
-
|
7286
|
+
A(wk, {
|
7286
7287
|
modelValue: u.checked,
|
7287
7288
|
"onUpdate:modelValue": (h) => u.checked = h
|
7288
7289
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
7289
7290
|
]),
|
7290
7291
|
_: 2
|
7291
7292
|
}, 1024),
|
7292
|
-
|
7293
|
+
A(c, null, {
|
7293
7294
|
default: k(() => [
|
7294
|
-
|
7295
|
+
A(Ta, { class: "mb-1" }, {
|
7295
7296
|
default: k(() => [
|
7296
7297
|
H(Ce(u.title) + " ", 1)
|
7297
7298
|
]),
|
@@ -7355,9 +7356,9 @@ const aN = {
|
|
7355
7356
|
class: "d-flex flex-column pa-4pa-4 bg-containerBg"
|
7356
7357
|
}, {
|
7357
7358
|
default: k(() => [
|
7358
|
-
|
7359
|
+
A(_a, null, {
|
7359
7360
|
default: k(() => [
|
7360
|
-
|
7361
|
+
A(hr, {
|
7361
7362
|
"no-gutters": "",
|
7362
7363
|
align: "center",
|
7363
7364
|
justify: "end"
|
@@ -7370,9 +7371,9 @@ const aN = {
|
|
7370
7371
|
]),
|
7371
7372
|
_: 3
|
7372
7373
|
}),
|
7373
|
-
|
7374
|
+
A(fh, null, {
|
7374
7375
|
default: k(() => [
|
7375
|
-
|
7376
|
+
A(hr, {
|
7376
7377
|
"no-gutters": "",
|
7377
7378
|
align: "center",
|
7378
7379
|
justify: "center"
|
@@ -7393,8 +7394,8 @@ const aN = {
|
|
7393
7394
|
}),
|
7394
7395
|
t() ? (U(), se("div", uN, Ce(i.item[t()]), 1)) : we("", !0),
|
7395
7396
|
n() ? (U(), se("div", dN, Ce(i.item[n()]), 1)) : we("", !0),
|
7396
|
-
|
7397
|
-
|
7397
|
+
A(Po, { class: "ma-3" }),
|
7398
|
+
A(Da, { class: "d-flex flex-column align-center pa-4 pt-1" }, {
|
7398
7399
|
default: k(() => [
|
7399
7400
|
(U(!0), se(kt, null, oo(i.columns, (c) => (U(), se(kt, {
|
7400
7401
|
key: c.key
|
@@ -7442,7 +7443,7 @@ const aN = {
|
|
7442
7443
|
key: n[e.itemKey]
|
7443
7444
|
}, {
|
7444
7445
|
default: k(() => [
|
7445
|
-
|
7446
|
+
A(zy, {
|
7446
7447
|
item: n,
|
7447
7448
|
columns: e.columns,
|
7448
7449
|
size: e.size
|
@@ -7529,7 +7530,7 @@ const aN = {
|
|
7529
7530
|
},
|
7530
7531
|
setup(r) {
|
7531
7532
|
return (e, t) => (U(), se("div", wN, [
|
7532
|
-
|
7533
|
+
A(hr, {
|
7533
7534
|
"no-gutters": "",
|
7534
7535
|
class: "align-end ga-3",
|
7535
7536
|
align: "center",
|
@@ -7547,7 +7548,7 @@ const aN = {
|
|
7547
7548
|
Z("b", CN, Ce(e.id.title) + ": ", 1),
|
7548
7549
|
Z("span", TN, Ce(e.id.key || "-"), 1),
|
7549
7550
|
Z("span", null, [
|
7550
|
-
|
7551
|
+
A(ph, {
|
7551
7552
|
"content-to-copy": e.id.key,
|
7552
7553
|
size: 15
|
7553
7554
|
}, null, 8, ["content-to-copy"])
|
@@ -7560,7 +7561,7 @@ const aN = {
|
|
7560
7561
|
]),
|
7561
7562
|
_: 1
|
7562
7563
|
})) : we("", !0),
|
7563
|
-
|
7564
|
+
A(qt, {
|
7564
7565
|
cols: "auto",
|
7565
7566
|
class: "d-flex flex-column align-baseline px-2 mt-1"
|
7566
7567
|
}, {
|
@@ -7764,36 +7765,36 @@ const aN = {
|
|
7764
7765
|
Z("div", PN, [
|
7765
7766
|
Te(n.$slots, "default")
|
7766
7767
|
]),
|
7767
|
-
|
7768
|
+
A(Da, { class: "pa-0 mx-0 align-content-end" }, {
|
7768
7769
|
default: k(() => [
|
7769
|
-
|
7770
|
+
A(hr, {
|
7770
7771
|
justify: "space-between",
|
7771
7772
|
class: "mt-4"
|
7772
7773
|
}, {
|
7773
7774
|
default: k(() => [
|
7774
|
-
|
7775
|
+
A(qt, {
|
7775
7776
|
cols: "auto",
|
7776
7777
|
class: "text-sm-subtitle-2 text-medium-emphasis"
|
7777
7778
|
}, {
|
7778
7779
|
default: k(() => [
|
7779
|
-
|
7780
|
+
A(Ih, {
|
7780
7781
|
id: n.id,
|
7781
7782
|
meta: n.metadata
|
7782
7783
|
}, null, 8, ["id", "meta"])
|
7783
7784
|
]),
|
7784
7785
|
_: 1
|
7785
7786
|
}),
|
7786
|
-
|
7787
|
-
|
7787
|
+
A(xa),
|
7788
|
+
A(qt, {
|
7788
7789
|
cols: "auto",
|
7789
7790
|
class: "align-content-end"
|
7790
7791
|
}, {
|
7791
7792
|
default: k(() => [
|
7792
|
-
|
7793
|
+
A(Wy, {
|
7793
7794
|
"cancel-return": n.cancelReturn,
|
7794
7795
|
onCancel: i[0] || (i[0] = (s) => t("onCancel"))
|
7795
7796
|
}, null, 8, ["cancel-return"]),
|
7796
|
-
|
7797
|
+
A(qy, {
|
7797
7798
|
onOnSave: i[1] || (i[1] = (s) => t("onSave"))
|
7798
7799
|
})
|
7799
7800
|
]),
|
@@ -7832,14 +7833,14 @@ const aN = {
|
|
7832
7833
|
g.id ? (U(), se("div", DN, [
|
7833
7834
|
w[0] || (w[0] = Z("b", null, "ID:", -1)),
|
7834
7835
|
Z("span", xN, Ce(g.id), 1),
|
7835
|
-
|
7836
|
+
A(ph, {
|
7836
7837
|
"content-to-copy": g.id,
|
7837
7838
|
size: 20
|
7838
7839
|
}, null, 8, ["content-to-copy"])
|
7839
7840
|
])) : we("", !0),
|
7840
|
-
|
7841
|
+
A(xa),
|
7841
7842
|
Z("div", LN, [
|
7842
|
-
|
7843
|
+
A(je, {
|
7843
7844
|
onClick: h,
|
7844
7845
|
variant: "text"
|
7845
7846
|
}, {
|
@@ -7849,7 +7850,7 @@ const aN = {
|
|
7849
7850
|
size: "11",
|
7850
7851
|
class: "me-2"
|
7851
7852
|
})) : we("", !0),
|
7852
|
-
|
7853
|
+
A(Oc, { class: "me-2" }, {
|
7853
7854
|
default: k(() => w[1] || (w[1] = [
|
7854
7855
|
H("mdi-delete-outline")
|
7855
7856
|
])),
|
@@ -7860,12 +7861,12 @@ const aN = {
|
|
7860
7861
|
_: 1
|
7861
7862
|
}),
|
7862
7863
|
Z("div", UN, [
|
7863
|
-
|
7864
|
+
A(Po, {
|
7864
7865
|
class: "mx-2 my-1",
|
7865
7866
|
vertical: ""
|
7866
7867
|
}),
|
7867
7868
|
Z("div", HN, [
|
7868
|
-
Xm(
|
7869
|
+
Xm(A(je, {
|
7869
7870
|
onClick: u,
|
7870
7871
|
variant: "text",
|
7871
7872
|
color: "secondary",
|
@@ -7879,14 +7880,14 @@ const aN = {
|
|
7879
7880
|
}, 512), [
|
7880
7881
|
[Zm, !c.value]
|
7881
7882
|
]),
|
7882
|
-
Xm(
|
7883
|
+
Xm(A(je, {
|
7883
7884
|
onClick: u,
|
7884
7885
|
variant: "text",
|
7885
7886
|
color: "secondary",
|
7886
7887
|
width: "95"
|
7887
7888
|
}, {
|
7888
7889
|
default: k(() => [
|
7889
|
-
|
7890
|
+
A(Oc, { class: "pt-1 pe-2" }, {
|
7890
7891
|
default: k(() => w[3] || (w[3] = [
|
7891
7892
|
H("mdi-close")
|
7892
7893
|
])),
|
@@ -7921,18 +7922,18 @@ const aN = {
|
|
7921
7922
|
])
|
7922
7923
|
]),
|
7923
7924
|
Z("div", KN, [
|
7924
|
-
|
7925
|
+
A(hr, {
|
7925
7926
|
"no-gutters": "",
|
7926
7927
|
justify: "space-between",
|
7927
7928
|
class: "w-100"
|
7928
7929
|
}, {
|
7929
7930
|
default: k(() => [
|
7930
|
-
|
7931
|
+
A(qt, {
|
7931
7932
|
cols: "auto",
|
7932
7933
|
class: "text-sm-subtitle-2 text-medium-emphasis"
|
7933
7934
|
}, {
|
7934
7935
|
default: k(() => [
|
7935
|
-
|
7936
|
+
A(Ih, {
|
7936
7937
|
id: i.id,
|
7937
7938
|
meta: i.metadata
|
7938
7939
|
}, null, 8, ["id", "meta"])
|
@@ -8602,8 +8603,8 @@ function sl(r, e, t, n, i) {
|
|
8602
8603
|
};
|
8603
8604
|
}
|
8604
8605
|
function cl(r, e, t, n, i, s, c, u, h, f, g, w, p, T, _) {
|
8605
|
-
var
|
8606
|
-
const
|
8606
|
+
var P, W;
|
8607
|
+
const b = {
|
8607
8608
|
homeAccountId: r,
|
8608
8609
|
credentialType: le.ACCESS_TOKEN,
|
8609
8610
|
secret: t,
|
@@ -8616,18 +8617,18 @@ function cl(r, e, t, n, i, s, c, u, h, f, g, w, p, T, _) {
|
|
8616
8617
|
target: s,
|
8617
8618
|
tokenType: g || $e.BEARER
|
8618
8619
|
};
|
8619
|
-
if (w && (
|
8620
|
-
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) {
|
8621
8622
|
case $e.POP:
|
8622
8623
|
const K = Ho(t, h);
|
8623
8624
|
if (!((W = K == null ? void 0 : K.cnf) != null && W.kid))
|
8624
8625
|
throw B(cw);
|
8625
|
-
|
8626
|
+
b.keyId = K.cnf.kid;
|
8626
8627
|
break;
|
8627
8628
|
case $e.SSH:
|
8628
|
-
|
8629
|
+
b.keyId = p;
|
8629
8630
|
}
|
8630
|
-
return
|
8631
|
+
return b;
|
8631
8632
|
}
|
8632
8633
|
function gw(r, e, t, n, i, s, c) {
|
8633
8634
|
const u = {
|
@@ -9102,8 +9103,8 @@ class vt {
|
|
9102
9103
|
if (i.username = u || h || "", i.name = ((_ = e.idTokenClaims) == null ? void 0 : _.name) || "", i.cloudGraphHostName = e.cloudGraphHostName, i.msGraphHost = e.msGraphHost, e.tenantProfiles)
|
9103
9104
|
i.tenantProfiles = e.tenantProfiles;
|
9104
9105
|
else {
|
9105
|
-
const
|
9106
|
-
i.tenantProfiles = [
|
9106
|
+
const b = zh(e.homeAccountId, i.localAccountId, i.realm, e.idTokenClaims);
|
9107
|
+
i.tenantProfiles = [b];
|
9107
9108
|
}
|
9108
9109
|
return i;
|
9109
9110
|
}
|
@@ -9788,8 +9789,8 @@ class Mi {
|
|
9788
9789
|
}, w = n && n.accessToken || this.getTokenKeys().accessToken, p = [];
|
9789
9790
|
w.forEach((_) => {
|
9790
9791
|
if (this.accessTokenKeyMatchesFilter(_, g, !0)) {
|
9791
|
-
const
|
9792
|
-
|
9792
|
+
const b = this.getAccessTokenCredential(_);
|
9793
|
+
b && this.credentialMatchesFilter(b, g) && p.push(b);
|
9793
9794
|
}
|
9794
9795
|
});
|
9795
9796
|
const T = p.length;
|
@@ -11967,10 +11968,10 @@ ${c}`);
|
|
11967
11968
|
if (g = Ho(e.id_token || N.EMPTY_STRING, this.cryptoObj.base64Decode), s && s.nonce && g.nonce !== s.nonce)
|
11968
11969
|
throw B(tw);
|
11969
11970
|
if (i.maxAge || i.maxAge === 0) {
|
11970
|
-
const
|
11971
|
-
if (!
|
11971
|
+
const b = g.auth_time;
|
11972
|
+
if (!b)
|
11972
11973
|
throw B(Mh);
|
11973
|
-
fw(
|
11974
|
+
fw(b, i.maxAge);
|
11974
11975
|
}
|
11975
11976
|
}
|
11976
11977
|
this.homeAccountIdentifier = vt.generateHomeAccountId(e.client_info || N.EMPTY_STRING, t.authorityType, this.logger, this.cryptoObj, g);
|
@@ -11980,8 +11981,8 @@ ${c}`);
|
|
11980
11981
|
let T;
|
11981
11982
|
try {
|
11982
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) {
|
11983
|
-
const
|
11984
|
-
if (!this.cacheStorage.getAccount(
|
11984
|
+
const b = p.account.generateAccountKey();
|
11985
|
+
if (!this.cacheStorage.getAccount(b, this.logger))
|
11985
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);
|
11986
11987
|
}
|
11987
11988
|
await this.cacheStorage.saveCacheRecord(p, i.storeInCache, i.correlationId);
|
@@ -12018,17 +12019,17 @@ ${c}`);
|
|
12018
12019
|
));
|
12019
12020
|
let p = null;
|
12020
12021
|
if (e.access_token) {
|
12021
|
-
const
|
12022
|
-
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);
|
12023
12024
|
}
|
12024
12025
|
let T = null;
|
12025
12026
|
if (e.refresh_token) {
|
12026
|
-
let
|
12027
|
+
let b;
|
12027
12028
|
if (e.refresh_token_expires_in) {
|
12028
|
-
const
|
12029
|
-
|
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;
|
12030
12031
|
}
|
12031
|
-
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);
|
12032
12033
|
}
|
12033
12034
|
let _ = null;
|
12034
12035
|
return e.foci && (_ = {
|
@@ -12055,7 +12056,7 @@ ${c}`);
|
|
12055
12056
|
*/
|
12056
12057
|
static async generateAuthenticationResult(e, t, n, i, s, c, u, h, f) {
|
12057
12058
|
var $, ne, me, Me, G;
|
12058
|
-
let g = N.EMPTY_STRING, w = [], p = null, T, _,
|
12059
|
+
let g = N.EMPTY_STRING, w = [], p = null, T, _, b = N.EMPTY_STRING;
|
12059
12060
|
if (n.accessToken) {
|
12060
12061
|
if (n.accessToken.tokenType === $e.POP && !s.popKid) {
|
12061
12062
|
const ht = new Ni(e), { secret: Ne, keyId: Q } = n.accessToken;
|
@@ -12066,8 +12067,8 @@ ${c}`);
|
|
12066
12067
|
g = n.accessToken.secret;
|
12067
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));
|
12068
12069
|
}
|
12069
|
-
n.appMetadata && (
|
12070
|
-
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) || "";
|
12071
12072
|
h != null && h.spa_accountid && n.account && (n.account.nativeAccountId = h == null ? void 0 : h.spa_accountid);
|
12072
12073
|
const K = n.account ? Vh(
|
12073
12074
|
n.account.getAccountInfo(),
|
@@ -12078,7 +12079,7 @@ ${c}`);
|
|
12078
12079
|
) : null;
|
12079
12080
|
return {
|
12080
12081
|
authority: t.canonicalAuthority,
|
12081
|
-
uniqueId:
|
12082
|
+
uniqueId: P,
|
12082
12083
|
tenantId: W,
|
12083
12084
|
scopes: w,
|
12084
12085
|
account: K,
|
@@ -12091,7 +12092,7 @@ ${c}`);
|
|
12091
12092
|
refreshOn: _,
|
12092
12093
|
correlationId: s.correlationId,
|
12093
12094
|
requestId: f || N.EMPTY_STRING,
|
12094
|
-
familyId:
|
12095
|
+
familyId: b,
|
12095
12096
|
tokenType: ((me = n.accessToken) == null ? void 0 : me.tokenType) || N.EMPTY_STRING,
|
12096
12097
|
state: u ? u.userRequestState : N.EMPTY_STRING,
|
12097
12098
|
cloudGraphHostName: ((Me = n.account) == null ? void 0 : Me.cloudGraphHostName) || N.EMPTY_STRING,
|
@@ -12114,12 +12115,12 @@ function Jh(r, e, t, n, i, s, c, u, h, f, g) {
|
|
12114
12115
|
cloudGraphHostName: h == null ? void 0 : h.cloud_graph_host_name,
|
12115
12116
|
msGraphHost: h == null ? void 0 : h.msgraph_host,
|
12116
12117
|
nativeAccountId: f
|
12117
|
-
}, e, n),
|
12118
|
-
if (
|
12119
|
-
const W = zh(t, _.localAccountId,
|
12120
|
-
|
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);
|
12121
12122
|
}
|
12122
|
-
return _.tenantProfiles =
|
12123
|
+
return _.tenantProfiles = b, _;
|
12123
12124
|
}
|
12124
12125
|
/*! @azure/msal-common v14.16.0 2024-11-05 */
|
12125
12126
|
async function Fw(r, e, t) {
|
@@ -13816,7 +13817,7 @@ class Di {
|
|
13816
13817
|
e.cnf = {
|
13817
13818
|
jwk: JSON.parse(h)
|
13818
13819
|
};
|
13819
|
-
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}`;
|
13820
13821
|
return s && s.end({
|
13821
13822
|
success: !0
|
13822
13823
|
}), K;
|
@@ -15968,8 +15969,8 @@ class rU extends Ui {
|
|
15968
15969
|
isNativeBroker: !0
|
15969
15970
|
}), !this.nativeMessageHandler)
|
15970
15971
|
throw J(Za);
|
15971
|
-
const
|
15972
|
-
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({
|
15973
15974
|
...i,
|
15974
15975
|
state: W,
|
15975
15976
|
prompt: void 0
|
@@ -16104,9 +16105,9 @@ class rU extends Ui {
|
|
16104
16105
|
* @returns
|
16105
16106
|
*/
|
16106
16107
|
openSizedPopup(e, { popupName: t, popupWindowAttributes: n, popupWindowParent: i }) {
|
16107
|
-
var T, _,
|
16108
|
+
var T, _, b, P;
|
16108
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;
|
16109
|
-
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;
|
16110
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`);
|
16111
16112
|
}
|
16112
16113
|
/**
|
@@ -18074,17 +18075,17 @@ function L_() {
|
|
18074
18075
|
const c = async () => new Promise((p, T) => {
|
18075
18076
|
try {
|
18076
18077
|
localStorage.clear();
|
18077
|
-
const _ = process.env.JPLAN_WEBAPP__URL_AUTH
|
18078
|
-
if (!
|
18078
|
+
const _ = process.env.JPLAN_WEBAPP__URL_AUTH, b = window.open(_);
|
18079
|
+
if (!b) {
|
18079
18080
|
console.error("Failed to open authentication window"), T("Failed to open authentication window");
|
18080
18081
|
return;
|
18081
18082
|
}
|
18082
|
-
const
|
18083
|
-
if (Date.now() -
|
18083
|
+
const P = Date.now(), W = 6e4, K = setInterval(() => {
|
18084
|
+
if (Date.now() - P > W || b.closed) {
|
18084
18085
|
clearInterval(K), console.error("Authentication canceled or timeout reached."), T("Authentication canceled or timeout reached.");
|
18085
18086
|
return;
|
18086
18087
|
}
|
18087
|
-
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());
|
18088
18089
|
}, 500);
|
18089
18090
|
} catch (_) {
|
18090
18091
|
console.error("Error in handleRedirect:", _), T(_);
|
@@ -18461,8 +18462,8 @@ function Tl(r, e, t) {
|
|
18461
18462
|
metaTokens: !0,
|
18462
18463
|
dots: !1,
|
18463
18464
|
indexes: !1
|
18464
|
-
}, !1, function(
|
18465
|
-
return !M.isUndefined(
|
18465
|
+
}, !1, function(b, P) {
|
18466
|
+
return !M.isUndefined(P[b]);
|
18466
18467
|
});
|
18467
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);
|
18468
18469
|
if (!M.isFunction(i))
|
@@ -18475,39 +18476,39 @@ function Tl(r, e, t) {
|
|
18475
18476
|
throw new ye("Blob is not supported. Use a Buffer instead.");
|
18476
18477
|
return M.isArrayBuffer(_) || M.isTypedArray(_) ? h && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
|
18477
18478
|
}
|
18478
|
-
function g(_,
|
18479
|
+
function g(_, b, P) {
|
18479
18480
|
let W = _;
|
18480
|
-
if (_ && !
|
18481
|
-
if (M.endsWith(
|
18482
|
-
|
18483
|
-
else if (M.isArray(_) && c2(_) || (M.isFileList(_) || M.endsWith(
|
18484
|
-
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) {
|
18485
18486
|
!(M.isUndefined($) || $ === null) && e.append(
|
18486
18487
|
// eslint-disable-next-line no-nested-ternary
|
18487
|
-
c === !0 ? mv([
|
18488
|
+
c === !0 ? mv([b], ne, s) : c === null ? b : b + "[]",
|
18488
18489
|
f($)
|
18489
18490
|
);
|
18490
18491
|
}), !1;
|
18491
18492
|
}
|
18492
|
-
return ah(_) ? !0 : (e.append(mv(
|
18493
|
+
return ah(_) ? !0 : (e.append(mv(P, b, s), f(_)), !1);
|
18493
18494
|
}
|
18494
18495
|
const w = [], p = Object.assign(l2, {
|
18495
18496
|
defaultVisitor: g,
|
18496
18497
|
convertValue: f,
|
18497
18498
|
isVisitable: ah
|
18498
18499
|
});
|
18499
|
-
function T(_,
|
18500
|
+
function T(_, b) {
|
18500
18501
|
if (!M.isUndefined(_)) {
|
18501
18502
|
if (w.indexOf(_) !== -1)
|
18502
|
-
throw Error("Circular reference detected in " +
|
18503
|
+
throw Error("Circular reference detected in " + b.join("."));
|
18503
18504
|
w.push(_), M.forEach(_, function(W, K) {
|
18504
18505
|
(!(M.isUndefined(W) || W === null) && i.call(
|
18505
18506
|
e,
|
18506
18507
|
W,
|
18507
18508
|
M.isString(K) ? K.trim() : K,
|
18508
|
-
|
18509
|
+
b,
|
18509
18510
|
p
|
18510
|
-
)) === !0 && T(W,
|
18511
|
+
)) === !0 && T(W, b ? b.concat(K) : [K]);
|
18511
18512
|
}), w.pop();
|
18512
18513
|
}
|
18513
18514
|
}
|
@@ -19161,56 +19162,56 @@ const tC = (r) => {
|
|
19161
19162
|
let s = i.data;
|
19162
19163
|
const c = en.from(i.headers).normalize();
|
19163
19164
|
let { responseType: u, onUploadProgress: h, onDownloadProgress: f } = i, g, w, p, T, _;
|
19164
|
-
function
|
19165
|
+
function b() {
|
19165
19166
|
T && T(), _ && _(), i.cancelToken && i.cancelToken.unsubscribe(g), i.signal && i.signal.removeEventListener("abort", g);
|
19166
19167
|
}
|
19167
|
-
let
|
19168
|
-
|
19168
|
+
let P = new XMLHttpRequest();
|
19169
|
+
P.open(i.method.toUpperCase(), i.url, !0), P.timeout = i.timeout;
|
19169
19170
|
function W() {
|
19170
|
-
if (!
|
19171
|
+
if (!P)
|
19171
19172
|
return;
|
19172
19173
|
const $ = en.from(
|
19173
|
-
"getAllResponseHeaders" in
|
19174
|
+
"getAllResponseHeaders" in P && P.getAllResponseHeaders()
|
19174
19175
|
), me = {
|
19175
|
-
data: !u || u === "text" || u === "json" ?
|
19176
|
-
status:
|
19177
|
-
statusText:
|
19176
|
+
data: !u || u === "text" || u === "json" ? P.responseText : P.response,
|
19177
|
+
status: P.status,
|
19178
|
+
statusText: P.statusText,
|
19178
19179
|
headers: $,
|
19179
19180
|
config: r,
|
19180
|
-
request:
|
19181
|
+
request: P
|
19181
19182
|
};
|
19182
19183
|
Z_(function(G) {
|
19183
|
-
t(G),
|
19184
|
+
t(G), b();
|
19184
19185
|
}, function(G) {
|
19185
|
-
n(G),
|
19186
|
-
}, me),
|
19187
|
-
}
|
19188
|
-
"onloadend" in
|
19189
|
-
!
|
19190
|
-
},
|
19191
|
-
|
19192
|
-
},
|
19193
|
-
n(new ye("Network Error", ye.ERR_NETWORK, r,
|
19194
|
-
},
|
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() {
|
19195
19196
|
let ne = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
|
19196
19197
|
const me = i.transitional || J_;
|
19197
19198
|
i.timeoutErrorMessage && (ne = i.timeoutErrorMessage), n(new ye(
|
19198
19199
|
ne,
|
19199
19200
|
me.clarifyTimeoutError ? ye.ETIMEDOUT : ye.ECONNABORTED,
|
19200
19201
|
r,
|
19201
|
-
|
19202
|
-
)),
|
19203
|
-
}, s === void 0 && c.setContentType(null), "setRequestHeader" in
|
19204
|
-
|
19205
|
-
}), M.isUndefined(i.withCredentials) || (
|
19206
|
-
|
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);
|
19207
19208
|
}, i.cancelToken && i.cancelToken.subscribe(g), i.signal && (i.signal.aborted ? g() : i.signal.addEventListener("abort", g)));
|
19208
19209
|
const K = k2(i.url);
|
19209
19210
|
if (K && Bt.protocols.indexOf(K) === -1) {
|
19210
19211
|
n(new ye("Unsupported protocol " + K + ":", ye.ERR_BAD_REQUEST, r));
|
19211
19212
|
return;
|
19212
19213
|
}
|
19213
|
-
|
19214
|
+
P.send(s || null);
|
19214
19215
|
});
|
19215
19216
|
}, H2 = (r, e) => {
|
19216
19217
|
const { length: t } = r = r ? r.filter(Boolean) : [];
|
@@ -19352,12 +19353,12 @@ const V2 = async (r) => {
|
|
19352
19353
|
} = tC(r);
|
19353
19354
|
f = f ? (f + "").toLowerCase() : "text";
|
19354
19355
|
let T = H2([i, s && s.toAbortSignal()], c), _;
|
19355
|
-
const
|
19356
|
+
const b = T && T.unsubscribe && (() => {
|
19356
19357
|
T.unsubscribe();
|
19357
19358
|
});
|
19358
|
-
let
|
19359
|
+
let P;
|
19359
19360
|
try {
|
19360
|
-
if (h && z2 && t !== "get" && t !== "head" && (
|
19361
|
+
if (h && z2 && t !== "get" && t !== "head" && (P = await W2(g, n)) !== 0) {
|
19361
19362
|
let me = new Request(e, {
|
19362
19363
|
method: "POST",
|
19363
19364
|
body: n,
|
@@ -19365,7 +19366,7 @@ const V2 = async (r) => {
|
|
19365
19366
|
}), Me;
|
19366
19367
|
if (M.isFormData(n) && (Me = me.headers.get("content-type")) && g.setContentType(Me), me.body) {
|
19367
19368
|
const [G, ht] = wv(
|
19368
|
-
|
19369
|
+
P,
|
19369
19370
|
Qc(_v(h))
|
19370
19371
|
);
|
19371
19372
|
n = Tv(me.body, Ev, G, ht);
|
@@ -19384,7 +19385,7 @@ const V2 = async (r) => {
|
|
19384
19385
|
});
|
19385
19386
|
let K = await fetch(_);
|
19386
19387
|
const $ = ch && (f === "stream" || f === "response");
|
19387
|
-
if (ch && (u || $ &&
|
19388
|
+
if (ch && (u || $ && b)) {
|
19388
19389
|
const me = {};
|
19389
19390
|
["status", "statusText", "headers"].forEach((Ne) => {
|
19390
19391
|
me[Ne] = K[Ne];
|
@@ -19395,14 +19396,14 @@ const V2 = async (r) => {
|
|
19395
19396
|
) || [];
|
19396
19397
|
K = new Response(
|
19397
19398
|
Tv(K.body, Ev, G, () => {
|
19398
|
-
ht && ht(),
|
19399
|
+
ht && ht(), b && b();
|
19399
19400
|
}),
|
19400
19401
|
me
|
19401
19402
|
);
|
19402
19403
|
}
|
19403
19404
|
f = f || "text";
|
19404
19405
|
let ne = await Xc[M.findKey(Xc, f) || "text"](K, r);
|
19405
|
-
return !$ &&
|
19406
|
+
return !$ && b && b(), await new Promise((me, Me) => {
|
19406
19407
|
Z_(me, Me, {
|
19407
19408
|
data: ne,
|
19408
19409
|
headers: en.from(K.headers),
|
@@ -19413,7 +19414,7 @@ const V2 = async (r) => {
|
|
19413
19414
|
});
|
19414
19415
|
});
|
19415
19416
|
} catch (W) {
|
19416
|
-
throw
|
19417
|
+
throw b && b(), W && W.name === "TypeError" && /fetch/i.test(W.message) ? Object.assign(
|
19417
19418
|
new ye("Network Error", ye.ERR_NETWORK, r, _),
|
19418
19419
|
{
|
19419
19420
|
cause: W.cause || W
|
@@ -19596,12 +19597,12 @@ class Mo {
|
|
19596
19597
|
), t.headers = en.concat(c, s);
|
19597
19598
|
const u = [];
|
19598
19599
|
let h = !0;
|
19599
|
-
this.interceptors.request.forEach(function(
|
19600
|
-
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));
|
19601
19602
|
});
|
19602
19603
|
const f = [];
|
19603
|
-
this.interceptors.response.forEach(function(
|
19604
|
-
f.push(
|
19604
|
+
this.interceptors.response.forEach(function(b) {
|
19605
|
+
f.push(b.fulfilled, b.rejected);
|
19605
19606
|
});
|
19606
19607
|
let g, w = 0, p;
|
19607
19608
|
if (!h) {
|
@@ -19613,11 +19614,11 @@ class Mo {
|
|
19613
19614
|
p = u.length;
|
19614
19615
|
let T = t;
|
19615
19616
|
for (w = 0; w < p; ) {
|
19616
|
-
const _ = u[w++],
|
19617
|
+
const _ = u[w++], b = u[w++];
|
19617
19618
|
try {
|
19618
19619
|
T = _(T);
|
19619
|
-
} catch (
|
19620
|
-
|
19620
|
+
} catch (P) {
|
19621
|
+
b.call(this, P);
|
19621
19622
|
break;
|
19622
19623
|
}
|
19623
19624
|
}
|
@@ -19923,66 +19924,71 @@ const { jToken: Iv } = D_(), sC = () => {
|
|
19923
19924
|
});
|
19924
19925
|
}, { request: Rv } = sC(), kv = te(null), Ov = te("default"), Cd = te(null), Td = te({ scope_type: "org" });
|
19925
19926
|
function wf() {
|
19926
|
-
var
|
19927
|
-
const { handleRedirect: r, account: e, logout: t } = L_()
|
19928
|
-
|
19929
|
-
|
19930
|
-
|
19931
|
-
|
19932
|
-
|
19933
|
-
|
19934
|
-
|
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();
|
19935
19941
|
try {
|
19936
|
-
await
|
19942
|
+
await c(), await u();
|
19937
19943
|
} catch {
|
19938
19944
|
}
|
19939
19945
|
}
|
19940
|
-
async function
|
19941
|
-
var
|
19946
|
+
async function c() {
|
19947
|
+
var T, _;
|
19942
19948
|
try {
|
19943
|
-
const
|
19944
|
-
if (!
|
19945
|
-
const
|
19946
|
-
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}`,
|
19947
19953
|
method: "GET"
|
19948
19954
|
});
|
19949
|
-
Cd.value =
|
19950
|
-
} catch (
|
19951
|
-
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);
|
19952
19958
|
}
|
19953
19959
|
}
|
19954
|
-
async function
|
19955
|
-
var
|
19960
|
+
async function u() {
|
19961
|
+
var T;
|
19956
19962
|
try {
|
19957
|
-
if (!((
|
19958
|
-
const
|
19963
|
+
if (!((T = Cd.value) != null && T.email)) throw new Error("User email is undefined");
|
19964
|
+
const _ = await Rv({
|
19959
19965
|
url: "https://api.jplan.com.br/platform/user/domain/",
|
19960
19966
|
method: "GET"
|
19961
19967
|
});
|
19962
|
-
kv.value =
|
19963
|
-
} catch (
|
19964
|
-
console.error("Failed to fetch user domains:",
|
19968
|
+
kv.value = _.data.data ?? [];
|
19969
|
+
} catch (_) {
|
19970
|
+
console.error("Failed to fetch user domains:", _);
|
19965
19971
|
}
|
19966
19972
|
}
|
19967
|
-
function
|
19968
|
-
Td.value =
|
19973
|
+
function h(T) {
|
19974
|
+
Td.value = T;
|
19969
19975
|
}
|
19970
|
-
function
|
19971
|
-
Ov.value =
|
19976
|
+
function f(T) {
|
19977
|
+
Ov.value = T, h(n.value);
|
19972
19978
|
}
|
19973
|
-
async function
|
19974
|
-
const
|
19975
|
-
await Lt.loginRedirect(
|
19979
|
+
async function g(T, _) {
|
19980
|
+
const b = N_(T, { request_domain: _ });
|
19981
|
+
await Lt.loginRedirect(b);
|
19976
19982
|
}
|
19977
19983
|
return {
|
19978
|
-
__init__:
|
19984
|
+
__init__: s,
|
19979
19985
|
user: Cd,
|
19980
19986
|
userDomains: kv,
|
19981
|
-
setEnv:
|
19982
|
-
setScope:
|
19983
|
-
changeDomain:
|
19984
|
-
session:
|
19985
|
-
scope:
|
19987
|
+
setEnv: f,
|
19988
|
+
setScope: h,
|
19989
|
+
changeDomain: g,
|
19990
|
+
session: n,
|
19991
|
+
scope: i,
|
19986
19992
|
logout: t
|
19987
19993
|
};
|
19988
19994
|
}
|
@@ -20003,9 +20009,9 @@ var X2 = ya.exports, Pv;
|
|
20003
20009
|
function Z2() {
|
20004
20010
|
return Pv || (Pv = 1, function(r, e) {
|
20005
20011
|
(function() {
|
20006
|
-
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 = [
|
20007
20013
|
["ary", G],
|
20008
|
-
["bind",
|
20014
|
+
["bind", P],
|
20009
20015
|
["bindKey", W],
|
20010
20016
|
["curry", $],
|
20011
20017
|
["curryRight", ne],
|
@@ -20276,84 +20282,84 @@ function Z2() {
|
|
20276
20282
|
} catch {
|
20277
20283
|
}
|
20278
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;
|
20279
|
-
function nn(S, D,
|
20280
|
-
switch (
|
20285
|
+
function nn(S, D, O) {
|
20286
|
+
switch (O.length) {
|
20281
20287
|
case 0:
|
20282
20288
|
return S.call(D);
|
20283
20289
|
case 1:
|
20284
|
-
return S.call(D,
|
20290
|
+
return S.call(D, O[0]);
|
20285
20291
|
case 2:
|
20286
|
-
return S.call(D,
|
20292
|
+
return S.call(D, O[0], O[1]);
|
20287
20293
|
case 3:
|
20288
|
-
return S.call(D,
|
20294
|
+
return S.call(D, O[0], O[1], O[2]);
|
20289
20295
|
}
|
20290
|
-
return S.apply(D,
|
20296
|
+
return S.apply(D, O);
|
20291
20297
|
}
|
20292
|
-
function yT(S, D,
|
20298
|
+
function yT(S, D, O, j) {
|
20293
20299
|
for (var ge = -1, xe = S == null ? 0 : S.length; ++ge < xe; ) {
|
20294
20300
|
var ft = S[ge];
|
20295
|
-
D(j, ft,
|
20301
|
+
D(j, ft, O(ft), S);
|
20296
20302
|
}
|
20297
20303
|
return j;
|
20298
20304
|
}
|
20299
20305
|
function Cn(S, D) {
|
20300
|
-
for (var
|
20306
|
+
for (var O = -1, j = S == null ? 0 : S.length; ++O < j && D(S[O], O, S) !== !1; )
|
20301
20307
|
;
|
20302
20308
|
return S;
|
20303
20309
|
}
|
20304
20310
|
function wT(S, D) {
|
20305
|
-
for (var
|
20311
|
+
for (var O = S == null ? 0 : S.length; O-- && D(S[O], O, S) !== !1; )
|
20306
20312
|
;
|
20307
20313
|
return S;
|
20308
20314
|
}
|
20309
20315
|
function Xf(S, D) {
|
20310
|
-
for (var
|
20311
|
-
if (!D(S[
|
20316
|
+
for (var O = -1, j = S == null ? 0 : S.length; ++O < j; )
|
20317
|
+
if (!D(S[O], O, S))
|
20312
20318
|
return !1;
|
20313
20319
|
return !0;
|
20314
20320
|
}
|
20315
20321
|
function $r(S, D) {
|
20316
|
-
for (var
|
20317
|
-
var ft = S[
|
20318
|
-
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);
|
20319
20325
|
}
|
20320
20326
|
return xe;
|
20321
20327
|
}
|
20322
20328
|
function hs(S, D) {
|
20323
|
-
var
|
20324
|
-
return !!
|
20329
|
+
var O = S == null ? 0 : S.length;
|
20330
|
+
return !!O && zo(S, D, 0) > -1;
|
20325
20331
|
}
|
20326
|
-
function Vl(S, D,
|
20332
|
+
function Vl(S, D, O) {
|
20327
20333
|
for (var j = -1, ge = S == null ? 0 : S.length; ++j < ge; )
|
20328
|
-
if (
|
20334
|
+
if (O(D, S[j]))
|
20329
20335
|
return !0;
|
20330
20336
|
return !1;
|
20331
20337
|
}
|
20332
20338
|
function Je(S, D) {
|
20333
|
-
for (var
|
20334
|
-
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);
|
20335
20341
|
return ge;
|
20336
20342
|
}
|
20337
20343
|
function Kr(S, D) {
|
20338
|
-
for (var
|
20339
|
-
S[ge +
|
20344
|
+
for (var O = -1, j = D.length, ge = S.length; ++O < j; )
|
20345
|
+
S[ge + O] = D[O];
|
20340
20346
|
return S;
|
20341
20347
|
}
|
20342
|
-
function Wl(S, D,
|
20348
|
+
function Wl(S, D, O, j) {
|
20343
20349
|
var ge = -1, xe = S == null ? 0 : S.length;
|
20344
|
-
for (j && xe && (
|
20345
|
-
|
20346
|
-
return
|
20350
|
+
for (j && xe && (O = S[++ge]); ++ge < xe; )
|
20351
|
+
O = D(O, S[ge], ge, S);
|
20352
|
+
return O;
|
20347
20353
|
}
|
20348
|
-
function _T(S, D,
|
20354
|
+
function _T(S, D, O, j) {
|
20349
20355
|
var ge = S == null ? 0 : S.length;
|
20350
|
-
for (j && ge && (
|
20351
|
-
|
20352
|
-
return
|
20356
|
+
for (j && ge && (O = S[--ge]); ge--; )
|
20357
|
+
O = D(O, S[ge], ge, S);
|
20358
|
+
return O;
|
20353
20359
|
}
|
20354
20360
|
function ql(S, D) {
|
20355
|
-
for (var
|
20356
|
-
if (D(S[
|
20361
|
+
for (var O = -1, j = S == null ? 0 : S.length; ++O < j; )
|
20362
|
+
if (D(S[O], O, S))
|
20357
20363
|
return !0;
|
20358
20364
|
return !1;
|
20359
20365
|
}
|
@@ -20364,24 +20370,24 @@ function Z2() {
|
|
20364
20370
|
function ET(S) {
|
20365
20371
|
return S.match(PC) || [];
|
20366
20372
|
}
|
20367
|
-
function Zf(S, D,
|
20373
|
+
function Zf(S, D, O) {
|
20368
20374
|
var j;
|
20369
|
-
return
|
20375
|
+
return O(S, function(ge, xe, ft) {
|
20370
20376
|
if (D(ge, xe, ft))
|
20371
20377
|
return j = xe, !1;
|
20372
20378
|
}), j;
|
20373
20379
|
}
|
20374
|
-
function fs(S, D,
|
20375
|
-
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; )
|
20376
20382
|
if (D(S[xe], xe, S))
|
20377
20383
|
return xe;
|
20378
20384
|
return -1;
|
20379
20385
|
}
|
20380
|
-
function zo(S, D,
|
20381
|
-
return D === D ? xT(S, D,
|
20386
|
+
function zo(S, D, O) {
|
20387
|
+
return D === D ? xT(S, D, O) : fs(S, eg, O);
|
20382
20388
|
}
|
20383
|
-
function AT(S, D,
|
20384
|
-
for (var ge =
|
20389
|
+
function AT(S, D, O, j) {
|
20390
|
+
for (var ge = O - 1, xe = S.length; ++ge < xe; )
|
20385
20391
|
if (j(S[ge], D))
|
20386
20392
|
return ge;
|
20387
20393
|
return -1;
|
@@ -20390,8 +20396,8 @@ function Z2() {
|
|
20390
20396
|
return S !== S;
|
20391
20397
|
}
|
20392
20398
|
function tg(S, D) {
|
20393
|
-
var
|
20394
|
-
return
|
20399
|
+
var O = S == null ? 0 : S.length;
|
20400
|
+
return O ? Yl(S, D) / O : $i;
|
20395
20401
|
}
|
20396
20402
|
function Gl(S) {
|
20397
20403
|
return function(D) {
|
@@ -20403,32 +20409,32 @@ function Z2() {
|
|
20403
20409
|
return S == null ? t : S[D];
|
20404
20410
|
};
|
20405
20411
|
}
|
20406
|
-
function ng(S, D,
|
20412
|
+
function ng(S, D, O, j, ge) {
|
20407
20413
|
return ge(S, function(xe, ft, Ke) {
|
20408
|
-
|
20409
|
-
}),
|
20414
|
+
O = j ? (j = !1, xe) : D(O, xe, ft, Ke);
|
20415
|
+
}), O;
|
20410
20416
|
}
|
20411
20417
|
function bT(S, D) {
|
20412
|
-
var
|
20413
|
-
for (S.sort(D);
|
20414
|
-
S[
|
20418
|
+
var O = S.length;
|
20419
|
+
for (S.sort(D); O--; )
|
20420
|
+
S[O] = S[O].value;
|
20415
20421
|
return S;
|
20416
20422
|
}
|
20417
20423
|
function Yl(S, D) {
|
20418
|
-
for (var
|
20424
|
+
for (var O, j = -1, ge = S.length; ++j < ge; ) {
|
20419
20425
|
var xe = D(S[j]);
|
20420
|
-
xe !== t && (
|
20426
|
+
xe !== t && (O = O === t ? xe : O + xe);
|
20421
20427
|
}
|
20422
|
-
return
|
20428
|
+
return O;
|
20423
20429
|
}
|
20424
20430
|
function Jl(S, D) {
|
20425
|
-
for (var
|
20426
|
-
j[
|
20431
|
+
for (var O = -1, j = Array(S); ++O < S; )
|
20432
|
+
j[O] = D(O);
|
20427
20433
|
return j;
|
20428
20434
|
}
|
20429
20435
|
function ST(S, D) {
|
20430
|
-
return Je(D, function(
|
20431
|
-
return [
|
20436
|
+
return Je(D, function(O) {
|
20437
|
+
return [O, S[O]];
|
20432
20438
|
});
|
20433
20439
|
}
|
20434
20440
|
function rg(S) {
|
@@ -20440,26 +20446,26 @@ function Z2() {
|
|
20440
20446
|
};
|
20441
20447
|
}
|
20442
20448
|
function Ql(S, D) {
|
20443
|
-
return Je(D, function(
|
20444
|
-
return S[
|
20449
|
+
return Je(D, function(O) {
|
20450
|
+
return S[O];
|
20445
20451
|
});
|
20446
20452
|
}
|
20447
20453
|
function Yi(S, D) {
|
20448
20454
|
return S.has(D);
|
20449
20455
|
}
|
20450
20456
|
function og(S, D) {
|
20451
|
-
for (var
|
20457
|
+
for (var O = -1, j = S.length; ++O < j && zo(D, S[O], 0) > -1; )
|
20452
20458
|
;
|
20453
|
-
return
|
20459
|
+
return O;
|
20454
20460
|
}
|
20455
20461
|
function ig(S, D) {
|
20456
|
-
for (var
|
20462
|
+
for (var O = S.length; O-- && zo(D, S[O], 0) > -1; )
|
20457
20463
|
;
|
20458
|
-
return
|
20464
|
+
return O;
|
20459
20465
|
}
|
20460
20466
|
function IT(S, D) {
|
20461
|
-
for (var
|
20462
|
-
S[
|
20467
|
+
for (var O = S.length, j = 0; O--; )
|
20468
|
+
S[O] === D && ++j;
|
20463
20469
|
return j;
|
20464
20470
|
}
|
20465
20471
|
var RT = jl(dT), kT = jl(hT);
|
@@ -20476,48 +20482,48 @@ function Z2() {
|
|
20476
20482
|
return cT.test(S);
|
20477
20483
|
}
|
20478
20484
|
function NT(S) {
|
20479
|
-
for (var D,
|
20480
|
-
|
20481
|
-
return
|
20485
|
+
for (var D, O = []; !(D = S.next()).done; )
|
20486
|
+
O.push(D.value);
|
20487
|
+
return O;
|
20482
20488
|
}
|
20483
20489
|
function Xl(S) {
|
20484
|
-
var D = -1,
|
20490
|
+
var D = -1, O = Array(S.size);
|
20485
20491
|
return S.forEach(function(j, ge) {
|
20486
|
-
|
20487
|
-
}),
|
20492
|
+
O[++D] = [ge, j];
|
20493
|
+
}), O;
|
20488
20494
|
}
|
20489
20495
|
function ag(S, D) {
|
20490
|
-
return function(
|
20491
|
-
return S(D(
|
20496
|
+
return function(O) {
|
20497
|
+
return S(D(O));
|
20492
20498
|
};
|
20493
20499
|
}
|
20494
20500
|
function zr(S, D) {
|
20495
|
-
for (var
|
20496
|
-
var ft = S[
|
20497
|
-
(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);
|
20498
20504
|
}
|
20499
20505
|
return xe;
|
20500
20506
|
}
|
20501
20507
|
function gs(S) {
|
20502
|
-
var D = -1,
|
20508
|
+
var D = -1, O = Array(S.size);
|
20503
20509
|
return S.forEach(function(j) {
|
20504
|
-
|
20505
|
-
}),
|
20510
|
+
O[++D] = j;
|
20511
|
+
}), O;
|
20506
20512
|
}
|
20507
20513
|
function DT(S) {
|
20508
|
-
var D = -1,
|
20514
|
+
var D = -1, O = Array(S.size);
|
20509
20515
|
return S.forEach(function(j) {
|
20510
|
-
|
20511
|
-
}),
|
20516
|
+
O[++D] = [j, j];
|
20517
|
+
}), O;
|
20512
20518
|
}
|
20513
|
-
function xT(S, D,
|
20514
|
-
for (var j =
|
20519
|
+
function xT(S, D, O) {
|
20520
|
+
for (var j = O - 1, ge = S.length; ++j < ge; )
|
20515
20521
|
if (S[j] === D)
|
20516
20522
|
return j;
|
20517
20523
|
return -1;
|
20518
20524
|
}
|
20519
|
-
function LT(S, D,
|
20520
|
-
for (var j =
|
20525
|
+
function LT(S, D, O) {
|
20526
|
+
for (var j = O + 1; j--; )
|
20521
20527
|
if (S[j] === D)
|
20522
20528
|
return j;
|
20523
20529
|
return j;
|
@@ -20547,7 +20553,7 @@ function Z2() {
|
|
20547
20553
|
}
|
20548
20554
|
var $T = function S(D) {
|
20549
20555
|
D = D == null ? Et : qo.defaults(Et.Object(), D, qo.pick(Et, lT));
|
20550
|
-
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() {
|
20551
20557
|
var o = /[^.]+$/.exec(ps && ps.keys && ps.keys.IE_PROTO || "");
|
20552
20558
|
return o ? "Symbol(src)_1." + o : "";
|
20553
20559
|
}(), ys = Go.toString, WT = vs.call(Ke), qT = Et._, GT = Zl(
|
@@ -20851,7 +20857,7 @@ function Z2() {
|
|
20851
20857
|
}) : o[a] = l;
|
20852
20858
|
}
|
20853
20859
|
function ou(o, a) {
|
20854
|
-
for (var l = -1, d = a.length, m =
|
20860
|
+
for (var l = -1, d = a.length, m = O(d), y = o == null; ++l < d; )
|
20855
20861
|
m[l] = y ? t : Hu(o, a[l]);
|
20856
20862
|
return m;
|
20857
20863
|
}
|
@@ -21009,7 +21015,7 @@ function Z2() {
|
|
21009
21015
|
return o >= Nt(a, l) && o < gt(a, l);
|
21010
21016
|
}
|
21011
21017
|
function cu(o, a, l) {
|
21012
|
-
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--; ) {
|
21013
21019
|
var L = o[C];
|
21014
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;
|
21015
21021
|
}
|
@@ -21093,7 +21099,7 @@ function Z2() {
|
|
21093
21099
|
var F = new zn();
|
21094
21100
|
if (d)
|
21095
21101
|
var q = d(x, L, I, o, a, F);
|
21096
|
-
if (!(q === t ? oa(L, x, _ |
|
21102
|
+
if (!(q === t ? oa(L, x, _ | b, d, F) : q))
|
21097
21103
|
return !1;
|
21098
21104
|
}
|
21099
21105
|
}
|
@@ -21137,7 +21143,7 @@ function Z2() {
|
|
21137
21143
|
return o < a;
|
21138
21144
|
}
|
21139
21145
|
function Rg(o, a) {
|
21140
|
-
var l = -1, d = Yt(o) ?
|
21146
|
+
var l = -1, d = Yt(o) ? O(o.length) : [];
|
21141
21147
|
return Wr(o, function(m, y, C) {
|
21142
21148
|
d[++l] = a(m, y, C);
|
21143
21149
|
}), d;
|
@@ -21151,7 +21157,7 @@ function Z2() {
|
|
21151
21157
|
function Og(o, a) {
|
21152
21158
|
return Ru(o) && cm(a) ? lm(or(o), a) : function(l) {
|
21153
21159
|
var d = Hu(l, o);
|
21154
|
-
return d === t && d === a ? Fu(l, o) : oa(a, d, _ |
|
21160
|
+
return d === t && d === a ? Fu(l, o) : oa(a, d, _ | b);
|
21155
21161
|
};
|
21156
21162
|
}
|
21157
21163
|
function Ms(o, a, l, d, m) {
|
@@ -21238,7 +21244,7 @@ function Z2() {
|
|
21238
21244
|
return o + bs(gg() * (a - o + 1));
|
21239
21245
|
}
|
21240
21246
|
function tA(o, a, l, d) {
|
21241
|
-
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--; )
|
21242
21248
|
C[d ? y : ++m] = o, o += l;
|
21243
21249
|
return C;
|
21244
21250
|
}
|
@@ -21293,7 +21299,7 @@ function Z2() {
|
|
21293
21299
|
function bn(o, a, l) {
|
21294
21300
|
var d = -1, m = o.length;
|
21295
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;
|
21296
|
-
for (var y =
|
21302
|
+
for (var y = O(m); ++d < m; )
|
21297
21303
|
y[d] = o[d + a];
|
21298
21304
|
return y;
|
21299
21305
|
}
|
@@ -21395,7 +21401,7 @@ function Z2() {
|
|
21395
21401
|
var d = o.length;
|
21396
21402
|
if (d < 2)
|
21397
21403
|
return d ? qr(o[0]) : [];
|
21398
|
-
for (var m = -1, y =
|
21404
|
+
for (var m = -1, y = O(d); ++m < d; )
|
21399
21405
|
for (var C = o[m], E = -1; ++E < d; )
|
21400
21406
|
E != m && (y[m] = na(y[m] || C, o[E], a, l));
|
21401
21407
|
return qr(At(y, 1), a, l);
|
@@ -21472,7 +21478,7 @@ function Z2() {
|
|
21472
21478
|
return o.index - a.index;
|
21473
21479
|
}
|
21474
21480
|
function Wg(o, a, l, d) {
|
21475
|
-
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; )
|
21476
21482
|
L[E] = a[E];
|
21477
21483
|
for (; ++m < C; )
|
21478
21484
|
(F || m < y) && (L[l[m]] = o[m]);
|
@@ -21481,7 +21487,7 @@ function Z2() {
|
|
21481
21487
|
return L;
|
21482
21488
|
}
|
21483
21489
|
function qg(o, a, l, d) {
|
21484
|
-
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; )
|
21485
21491
|
F[m] = o[m];
|
21486
21492
|
for (var X = m; ++I < x; )
|
21487
21493
|
F[X + I] = a[I];
|
@@ -21491,7 +21497,7 @@ function Z2() {
|
|
21491
21497
|
}
|
21492
21498
|
function jt(o, a) {
|
21493
21499
|
var l = -1, d = o.length;
|
21494
|
-
for (a || (a =
|
21500
|
+
for (a || (a = O(d)); ++l < d; )
|
21495
21501
|
a[l] = o[l];
|
21496
21502
|
return a;
|
21497
21503
|
}
|
@@ -21548,7 +21554,7 @@ function Z2() {
|
|
21548
21554
|
};
|
21549
21555
|
}
|
21550
21556
|
function gA(o, a, l) {
|
21551
|
-
var d = a &
|
21557
|
+
var d = a & P, m = aa(o);
|
21552
21558
|
function y() {
|
21553
21559
|
var C = this && this !== Et && this instanceof y ? m : o;
|
21554
21560
|
return C.apply(d ? l : this, arguments);
|
@@ -21595,7 +21601,7 @@ function Z2() {
|
|
21595
21601
|
function mA(o, a, l) {
|
21596
21602
|
var d = aa(o);
|
21597
21603
|
function m() {
|
21598
|
-
for (var y = arguments.length, C =
|
21604
|
+
for (var y = arguments.length, C = O(y), E = y, I = Zo(m); E--; )
|
21599
21605
|
C[E] = arguments[E];
|
21600
21606
|
var x = y < 3 && C[0] !== I && C[y - 1] !== I ? [] : zr(C, I);
|
21601
21607
|
if (y -= x.length, y < l)
|
@@ -21655,9 +21661,9 @@ function Z2() {
|
|
21655
21661
|
});
|
21656
21662
|
}
|
21657
21663
|
function Ls(o, a, l, d, m, y, C, E, I, x) {
|
21658
|
-
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);
|
21659
21665
|
function ae() {
|
21660
|
-
for (var Ie = arguments.length, ke =
|
21666
|
+
for (var Ie = arguments.length, ke = O(Ie), sn = Ie; sn--; )
|
21661
21667
|
ke[sn] = arguments[sn];
|
21662
21668
|
if (X)
|
21663
21669
|
var zt = Zo(ae), cn = IT(ke, zt);
|
@@ -21718,9 +21724,9 @@ function Z2() {
|
|
21718
21724
|
return Vo(a) ? jr(Kn(d), 0, o).join("") : d.slice(0, o);
|
21719
21725
|
}
|
21720
21726
|
function pA(o, a, l, d) {
|
21721
|
-
var m = a &
|
21727
|
+
var m = a & P, y = aa(o);
|
21722
21728
|
function C() {
|
21723
|
-
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; )
|
21724
21730
|
F[x] = d[x];
|
21725
21731
|
for (; I--; )
|
21726
21732
|
F[x++] = arguments[++E];
|
@@ -21740,7 +21746,7 @@ function Z2() {
|
|
21740
21746
|
}
|
21741
21747
|
function em(o, a, l, d, m, y, C, E, I, x) {
|
21742
21748
|
var L = a & $, F = L ? C : t, q = L ? t : C, X = L ? y : t, ie = L ? t : y;
|
21743
|
-
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));
|
21744
21750
|
var Ae = [
|
21745
21751
|
o,
|
21746
21752
|
a,
|
@@ -21795,9 +21801,9 @@ function Z2() {
|
|
21795
21801
|
C,
|
21796
21802
|
E
|
21797
21803
|
];
|
21798
|
-
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)
|
21799
21805
|
var ie = gA(o, a, l);
|
21800
|
-
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);
|
21801
21807
|
var Ae = q ? xg : hm;
|
21802
21808
|
return fm(Ae(ie, X), o, a);
|
21803
21809
|
}
|
@@ -21817,7 +21823,7 @@ function Z2() {
|
|
21817
21823
|
var x = y.get(o), L = y.get(a);
|
21818
21824
|
if (x && L)
|
21819
21825
|
return x == a && L == o;
|
21820
|
-
var F = -1, q = !0, X = l &
|
21826
|
+
var F = -1, q = !0, X = l & b ? new ho() : t;
|
21821
21827
|
for (y.set(o, a), y.set(a, o); ++F < E; ) {
|
21822
21828
|
var ie = o[F], Ae = a[F];
|
21823
21829
|
if (d)
|
@@ -21869,7 +21875,7 @@ function Z2() {
|
|
21869
21875
|
var x = C.get(o);
|
21870
21876
|
if (x)
|
21871
21877
|
return x == a;
|
21872
|
-
d |=
|
21878
|
+
d |= b, C.set(o, a);
|
21873
21879
|
var L = om(E(o), E(a), d, m, y, C);
|
21874
21880
|
return C.delete(o), L;
|
21875
21881
|
case cs:
|
@@ -22126,10 +22132,10 @@ function Z2() {
|
|
22126
22132
|
return a;
|
22127
22133
|
}
|
22128
22134
|
function MA(o, a) {
|
22129
|
-
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 == $;
|
22130
22136
|
if (!(y || C))
|
22131
22137
|
return o;
|
22132
|
-
d &
|
22138
|
+
d & P && (o[2] = a[2], m |= l & P ? 0 : K);
|
22133
22139
|
var E = a[3];
|
22134
22140
|
if (E) {
|
22135
22141
|
var I = o[3];
|
@@ -22149,10 +22155,10 @@ function Z2() {
|
|
22149
22155
|
}
|
22150
22156
|
function um(o, a, l) {
|
22151
22157
|
return a = gt(a === t ? o.length - 1 : a, 0), function() {
|
22152
|
-
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; )
|
22153
22159
|
C[m] = d[a + m];
|
22154
22160
|
m = -1;
|
22155
|
-
for (var E =
|
22161
|
+
for (var E = O(a + 1); ++m < a; )
|
22156
22162
|
E[m] = d[m];
|
22157
22163
|
return E[a] = l(C), nn(o, this, E);
|
22158
22164
|
};
|
@@ -22240,7 +22246,7 @@ function Z2() {
|
|
22240
22246
|
var d = o == null ? 0 : o.length;
|
22241
22247
|
if (!d || a < 1)
|
22242
22248
|
return [];
|
22243
|
-
for (var m = 0, y = 0, C =
|
22249
|
+
for (var m = 0, y = 0, C = O(As(d / a)); m < d; )
|
22244
22250
|
C[y++] = bn(o, m, m += a);
|
22245
22251
|
return C;
|
22246
22252
|
}
|
@@ -22255,7 +22261,7 @@ function Z2() {
|
|
22255
22261
|
var o = arguments.length;
|
22256
22262
|
if (!o)
|
22257
22263
|
return [];
|
22258
|
-
for (var a =
|
22264
|
+
for (var a = O(o - 1), l = arguments[0], d = o; d--; )
|
22259
22265
|
a[d - 1] = arguments[d];
|
22260
22266
|
return Kr(pe(l) ? jt(l) : [l], At(a, 1));
|
22261
22267
|
}
|
@@ -22603,7 +22609,7 @@ function Z2() {
|
|
22603
22609
|
return l < 0 && (l = gt(m + l, 0)), Ys(o) ? l <= m && o.indexOf(a, l) > -1 : !!m && zo(o, a, l) > -1;
|
22604
22610
|
}
|
22605
22611
|
var rS = be(function(o, a, l) {
|
22606
|
-
var d = -1, m = typeof a == "function", y = Yt(o) ?
|
22612
|
+
var d = -1, m = typeof a == "function", y = Yt(o) ? O(o.length) : [];
|
22607
22613
|
return Wr(o, function(C) {
|
22608
22614
|
y[++d] = m ? nn(a, C, l) : ra(C, a, l);
|
22609
22615
|
}), y;
|
@@ -22687,14 +22693,14 @@ function Z2() {
|
|
22687
22693
|
};
|
22688
22694
|
}
|
22689
22695
|
var Du = be(function(o, a, l) {
|
22690
|
-
var d =
|
22696
|
+
var d = P;
|
22691
22697
|
if (l.length) {
|
22692
22698
|
var m = zr(l, Zo(Du));
|
22693
22699
|
d |= me;
|
22694
22700
|
}
|
22695
22701
|
return Ar(o, d, a, l, m);
|
22696
22702
|
}), Rm = be(function(o, a, l) {
|
22697
|
-
var d =
|
22703
|
+
var d = P | W;
|
22698
22704
|
if (l.length) {
|
22699
22705
|
var m = zr(l, Zo(Rm));
|
22700
22706
|
d |= me;
|
@@ -22876,7 +22882,7 @@ function Z2() {
|
|
22876
22882
|
return arguments;
|
22877
22883
|
}()) ? bg : function(o) {
|
22878
22884
|
return tt(o) && He.call(o, "callee") && !dg.call(o, "callee");
|
22879
|
-
}, pe =
|
22885
|
+
}, pe = O.isArray, LS = qf ? rn(qf) : VE;
|
22880
22886
|
function Yt(o) {
|
22881
22887
|
return o != null && js(o.length) && !Ir(o);
|
22882
22888
|
}
|
@@ -23666,36 +23672,36 @@ function print() { __p += __j.call(arguments, '') }
|
|
23666
23672
|
var Bi = Z2();
|
23667
23673
|
const Rc = /* @__PURE__ */ Q2(Bi), eH = {
|
23668
23674
|
path: "/_/dashboard",
|
23669
|
-
component: () => import("./AuthRoute-
|
23675
|
+
component: () => import("./AuthRoute-CK4JFGMi.mjs"),
|
23670
23676
|
meta: { requiresAuth: !1 }
|
23671
23677
|
}, tH = {
|
23672
23678
|
path: "/jplan-auth-fail",
|
23673
|
-
component: () => import("./AuthFailRoute-
|
23679
|
+
component: () => import("./AuthFailRoute-B4KTS7aH.mjs"),
|
23674
23680
|
meta: { requiresAuth: !1 }
|
23675
23681
|
}, { isAuthenticated: Mv, handleRedirect: nH } = L_(), rH = wf();
|
23676
|
-
function QH(r, e) {
|
23677
|
-
r.addRoute(eH), r.addRoute(tH), r.beforeEach(async (
|
23678
|
-
function
|
23679
|
-
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);
|
23680
23686
|
}
|
23681
|
-
if (!
|
23682
|
-
return
|
23687
|
+
if (!c(n))
|
23688
|
+
return s();
|
23683
23689
|
if (!Mv.value) {
|
23684
23690
|
fe.value = !0;
|
23685
23691
|
try {
|
23686
|
-
await nH(e,
|
23687
|
-
} catch (
|
23688
|
-
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");
|
23689
23695
|
}
|
23690
23696
|
fe.value = !1;
|
23691
23697
|
}
|
23692
23698
|
if (Mv.value) {
|
23693
23699
|
if (localStorage.getItem("returnRoute") && localStorage.getItem("returnRoute") !== null) {
|
23694
|
-
const
|
23695
|
-
console.log("trying to go to saved route:",
|
23700
|
+
const h = localStorage.getItem("returnRoute") ?? "/";
|
23701
|
+
console.log("trying to go to saved route:", h), s(h), localStorage.removeItem("returnRoute");
|
23696
23702
|
return;
|
23697
23703
|
}
|
23698
|
-
|
23704
|
+
t && await t(), s();
|
23699
23705
|
}
|
23700
23706
|
});
|
23701
23707
|
}
|
@@ -24048,17 +24054,17 @@ let dc = !1;
|
|
24048
24054
|
const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te([]), uH = () => {
|
24049
24055
|
const r = wr(), e = async (_) => {
|
24050
24056
|
Ed.value = !0;
|
24051
|
-
const
|
24052
|
-
|
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;
|
24053
24059
|
}, t = async (_) => {
|
24054
|
-
var
|
24055
|
-
return (
|
24060
|
+
var b;
|
24061
|
+
return (b = Rn.value) != null && b.length || await e(_), Rn.value;
|
24056
24062
|
};
|
24057
24063
|
function n(_) {
|
24058
24064
|
if (!Rn.value)
|
24059
24065
|
throw new Error("Data not stored yet");
|
24060
|
-
const
|
24061
|
-
return _ !== "" ?
|
24066
|
+
const b = os(Rn.value, _, ["name", "description"]);
|
24067
|
+
return _ !== "" ? b : Rn.value;
|
24062
24068
|
}
|
24063
24069
|
const i = (_) => {
|
24064
24070
|
Dv.value = _;
|
@@ -24073,17 +24079,17 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
|
|
24073
24079
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24074
24080
|
const _ = await Eo.updateOrg(nt.value);
|
24075
24081
|
if (dc && (_ != null && _.data.__id)) {
|
24076
|
-
const
|
24077
|
-
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;
|
24078
24084
|
}
|
24079
24085
|
} else
|
24080
24086
|
fe.value = !1, r.error("Unable to update item");
|
24081
24087
|
}, f = async () => {
|
24082
24088
|
if (fe.value = !0, nt.value && nt.value.created_at) {
|
24083
24089
|
if (await Eo.deactivateOrg(nt.value.__id), dc) {
|
24084
|
-
const _ = Rn.value.findIndex((
|
24085
|
-
var
|
24086
|
-
return
|
24090
|
+
const _ = Rn.value.findIndex((b) => {
|
24091
|
+
var P;
|
24092
|
+
return b.__id === ((P = nt.value) == null ? void 0 : P.__id);
|
24087
24093
|
});
|
24088
24094
|
if (_ !== -1)
|
24089
24095
|
return Rn.value.splice(_, 1), nt.value;
|
@@ -24096,25 +24102,25 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
|
|
24096
24102
|
fe.value = !0;
|
24097
24103
|
try {
|
24098
24104
|
if (nt.value && nt.value.__id) {
|
24099
|
-
const
|
24100
|
-
if (!await Ao.updateBranch(
|
24105
|
+
const b = { ..._, organization: nt.value.__id };
|
24106
|
+
if (!await Ao.updateBranch(b)) {
|
24101
24107
|
fe.value = !1;
|
24102
24108
|
return;
|
24103
24109
|
}
|
24104
24110
|
if (ui.value.findIndex((K) => K.__id === _.__id) === -1)
|
24105
|
-
return r.success("Branch added successfully."), ui.value.push(
|
24111
|
+
return r.success("Branch added successfully."), ui.value.push(b), b;
|
24106
24112
|
r.info("Branch already added.");
|
24107
24113
|
}
|
24108
|
-
} catch (
|
24109
|
-
console.error(
|
24114
|
+
} catch (b) {
|
24115
|
+
console.error(b);
|
24110
24116
|
} finally {
|
24111
24117
|
fe.value = !1;
|
24112
24118
|
}
|
24113
24119
|
}
|
24114
24120
|
async function w(_) {
|
24115
24121
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24116
|
-
const
|
24117
|
-
if (!await Ao.updateBranch(
|
24122
|
+
const b = { ..._, organization: null };
|
24123
|
+
if (!await Ao.updateBranch(b)) {
|
24118
24124
|
fe.value = !1;
|
24119
24125
|
return;
|
24120
24126
|
}
|
@@ -24129,25 +24135,25 @@ const Ed = te(!1), Rn = te([]), Dv = te([]), nt = te(null), ui = te([]), di = te
|
|
24129
24135
|
fe.value = !0;
|
24130
24136
|
try {
|
24131
24137
|
if (nt.value && nt.value.__id) {
|
24132
|
-
const
|
24133
|
-
if (!await Un.updateTeam(
|
24138
|
+
const b = { ..._, organization: nt.value.__id };
|
24139
|
+
if (!await Un.updateTeam(b)) {
|
24134
24140
|
fe.value = !1;
|
24135
24141
|
return;
|
24136
24142
|
}
|
24137
24143
|
if (di.value.findIndex((K) => K.__id === _.__id) === -1)
|
24138
|
-
return r.success("Team added successfully."), di.value.push(
|
24144
|
+
return r.success("Team added successfully."), di.value.push(b), b;
|
24139
24145
|
r.info("Team already added.");
|
24140
24146
|
}
|
24141
|
-
} catch (
|
24142
|
-
console.error(
|
24147
|
+
} catch (b) {
|
24148
|
+
console.error(b);
|
24143
24149
|
} finally {
|
24144
24150
|
fe.value = !1;
|
24145
24151
|
}
|
24146
24152
|
}
|
24147
24153
|
async function T(_) {
|
24148
24154
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24149
|
-
const
|
24150
|
-
if (!await Un.updateTeam(
|
24155
|
+
const b = { ..._, organization: null };
|
24156
|
+
if (!await Un.updateTeam(b)) {
|
24151
24157
|
fe.value = !1;
|
24152
24158
|
return;
|
24153
24159
|
}
|
@@ -24225,18 +24231,18 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24225
24231
|
async function g(p) {
|
24226
24232
|
var T;
|
24227
24233
|
if (fe.value = !0, (T = mt.value) != null && T.__id)
|
24228
|
-
if (hi.value.findIndex((
|
24234
|
+
if (hi.value.findIndex((b) => b.__id === p.__id) === -1)
|
24229
24235
|
try {
|
24230
|
-
const
|
24236
|
+
const b = await Un.linkManageUser(mt.value.__id, {
|
24231
24237
|
team: mt.value.__id,
|
24232
24238
|
user: p.__id,
|
24233
24239
|
role: "string",
|
24234
24240
|
joined_at: "string",
|
24235
24241
|
comments: "string"
|
24236
|
-
}),
|
24237
|
-
return
|
24238
|
-
} catch (
|
24239
|
-
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.");
|
24240
24246
|
} finally {
|
24241
24247
|
fe.value = !1;
|
24242
24248
|
}
|
@@ -24276,14 +24282,14 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24276
24282
|
}, hH = /* @__PURE__ */ Ee({
|
24277
24283
|
__name: "GlobalScopeFilter",
|
24278
24284
|
setup(r) {
|
24279
|
-
var
|
24285
|
+
var b, P, W;
|
24280
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);
|
24281
24287
|
lk(async () => {
|
24282
24288
|
g.value = !0, await c(), await h(), g.value = !1;
|
24283
24289
|
});
|
24284
24290
|
const w = te({
|
24285
|
-
scope_type: (
|
24286
|
-
organization: ((
|
24291
|
+
scope_type: (b = n.value) == null ? void 0 : b.scope_type,
|
24292
|
+
organization: ((P = n.value) == null ? void 0 : P.organization) ?? "org",
|
24287
24293
|
team: (W = n.value) == null ? void 0 : W.team
|
24288
24294
|
});
|
24289
24295
|
function p() {
|
@@ -24313,7 +24319,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24313
24319
|
((K = n.value) == null ? void 0 : K.scope_type) !== "" && s(w.value);
|
24314
24320
|
}
|
24315
24321
|
return (K, $) => (U(), se(kt, null, [
|
24316
|
-
|
24322
|
+
A(je, {
|
24317
24323
|
onClick: p,
|
24318
24324
|
icon: "",
|
24319
24325
|
class: "text-secondary",
|
@@ -24327,7 +24333,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24327
24333
|
]),
|
24328
24334
|
_: 1
|
24329
24335
|
}),
|
24330
|
-
|
24336
|
+
A(ue(nl), {
|
24331
24337
|
loading: g.value,
|
24332
24338
|
title: "Scope",
|
24333
24339
|
"dd-id": "global-scope__J-",
|
@@ -24335,22 +24341,22 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24335
24341
|
}, {
|
24336
24342
|
default: k(() => [
|
24337
24343
|
Z("div", null, [
|
24338
|
-
|
24344
|
+
A(hr, null, {
|
24339
24345
|
default: k(() => [
|
24340
|
-
|
24346
|
+
A(qt, {
|
24341
24347
|
cols: "4",
|
24342
24348
|
class: "d-flex flex-row align-center"
|
24343
24349
|
}, {
|
24344
24350
|
default: k(() => [
|
24345
|
-
|
24351
|
+
A(Ca, null, {
|
24346
24352
|
default: k(() => [
|
24347
|
-
|
24353
|
+
A(Ta, null, {
|
24348
24354
|
default: k(() => $[3] || ($[3] = [
|
24349
24355
|
H(" User")
|
24350
24356
|
])),
|
24351
24357
|
_: 1
|
24352
24358
|
}),
|
24353
|
-
|
24359
|
+
A(ju, null, {
|
24354
24360
|
default: k(() => {
|
24355
24361
|
var ne;
|
24356
24362
|
return [
|
@@ -24365,17 +24371,17 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24365
24371
|
]),
|
24366
24372
|
_: 1
|
24367
24373
|
}),
|
24368
|
-
|
24374
|
+
A(qt, { cols: "4" }, {
|
24369
24375
|
default: k(() => [
|
24370
|
-
|
24376
|
+
A(Ca, null, {
|
24371
24377
|
default: k(() => [
|
24372
|
-
|
24378
|
+
A(Ta, null, {
|
24373
24379
|
default: k(() => $[4] || ($[4] = [
|
24374
24380
|
H(" Domain")
|
24375
24381
|
])),
|
24376
24382
|
_: 1
|
24377
24383
|
}),
|
24378
|
-
|
24384
|
+
A(ju, null, {
|
24379
24385
|
default: k(() => [
|
24380
24386
|
H(Ce(ue(i).domain), 1)
|
24381
24387
|
]),
|
@@ -24387,17 +24393,17 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24387
24393
|
]),
|
24388
24394
|
_: 1
|
24389
24395
|
}),
|
24390
|
-
|
24396
|
+
A(qt, { cols: "4" }, {
|
24391
24397
|
default: k(() => [
|
24392
|
-
|
24398
|
+
A(Ca, null, {
|
24393
24399
|
default: k(() => [
|
24394
|
-
|
24400
|
+
A(Ta, null, {
|
24395
24401
|
default: k(() => $[5] || ($[5] = [
|
24396
24402
|
H(" Environment")
|
24397
24403
|
])),
|
24398
24404
|
_: 1
|
24399
24405
|
}),
|
24400
|
-
|
24406
|
+
A(ju, null, {
|
24401
24407
|
default: k(() => [
|
24402
24408
|
H(Ce(ue(i).environment), 1)
|
24403
24409
|
]),
|
@@ -24412,7 +24418,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24412
24418
|
]),
|
24413
24419
|
_: 1
|
24414
24420
|
}),
|
24415
|
-
|
24421
|
+
A(Tk, {
|
24416
24422
|
density: "compact",
|
24417
24423
|
variant: "outlined",
|
24418
24424
|
modelValue: w.value.scope_type,
|
@@ -24420,7 +24426,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24420
24426
|
class: "d-flex justify-center my-4"
|
24421
24427
|
}, {
|
24422
24428
|
default: k(() => [
|
24423
|
-
|
24429
|
+
A(je, {
|
24424
24430
|
value: "org",
|
24425
24431
|
label: "Organizational",
|
24426
24432
|
color: "secondary",
|
@@ -24431,7 +24437,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24431
24437
|
])),
|
24432
24438
|
_: 1
|
24433
24439
|
}),
|
24434
|
-
|
24440
|
+
A(je, {
|
24435
24441
|
value: "team",
|
24436
24442
|
label: "Team",
|
24437
24443
|
color: "secondary",
|
@@ -24442,7 +24448,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24442
24448
|
])),
|
24443
24449
|
_: 1
|
24444
24450
|
}),
|
24445
|
-
|
24451
|
+
A(je, {
|
24446
24452
|
value: "user",
|
24447
24453
|
label: "User",
|
24448
24454
|
color: "secondary",
|
@@ -24453,7 +24459,7 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24453
24459
|
])),
|
24454
24460
|
_: 1
|
24455
24461
|
}),
|
24456
|
-
|
24462
|
+
A(je, {
|
24457
24463
|
value: "",
|
24458
24464
|
label: "None",
|
24459
24465
|
color: "lightext",
|
@@ -24468,13 +24474,13 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24468
24474
|
_: 1
|
24469
24475
|
}, 8, ["modelValue"]),
|
24470
24476
|
Z("div", null, [
|
24471
|
-
|
24477
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24472
24478
|
default: k(() => $[10] || ($[10] = [
|
24473
24479
|
H("Organization")
|
24474
24480
|
])),
|
24475
24481
|
_: 1
|
24476
24482
|
}),
|
24477
|
-
|
24483
|
+
A(Ea, {
|
24478
24484
|
items: ue(u),
|
24479
24485
|
"item-title": "name",
|
24480
24486
|
"item-value": "__id",
|
@@ -24487,13 +24493,13 @@ const kn = te([]), xv = te([]), mt = te(null), Ad = te(!1), hi = te([]), dH = ()
|
|
24487
24493
|
"onUpdate:modelValue": $[1] || ($[1] = (ne) => w.value.organization = ne),
|
24488
24494
|
clearable: ""
|
24489
24495
|
}, null, 8, ["items", "modelValue"]),
|
24490
|
-
|
24496
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24491
24497
|
default: k(() => $[11] || ($[11] = [
|
24492
24498
|
H("Team")
|
24493
24499
|
])),
|
24494
24500
|
_: 1
|
24495
24501
|
}),
|
24496
|
-
|
24502
|
+
A(Ea, {
|
24497
24503
|
items: ue(f),
|
24498
24504
|
"item-title": "name",
|
24499
24505
|
"item-value": "__id",
|
@@ -24563,16 +24569,16 @@ const pH = /* @__PURE__ */ ja(fH, [["render", mH], ["__scopeId", "data-v-00d7a69
|
|
24563
24569
|
density: "compact"
|
24564
24570
|
}, {
|
24565
24571
|
append: k(() => [
|
24566
|
-
|
24572
|
+
A(ue(YN))
|
24567
24573
|
]),
|
24568
24574
|
default: k(() => [
|
24569
|
-
|
24575
|
+
A(Ta, null, {
|
24570
24576
|
default: k(() => [
|
24571
24577
|
H(Ce(n.title), 1)
|
24572
24578
|
]),
|
24573
24579
|
_: 1
|
24574
24580
|
}),
|
24575
|
-
|
24581
|
+
A(mh, {
|
24576
24582
|
activator: "parent",
|
24577
24583
|
"open-on-hover": "",
|
24578
24584
|
submenu: "",
|
@@ -24676,7 +24682,7 @@ const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), ZH = ()
|
|
24676
24682
|
r.error("Unable to link team");
|
24677
24683
|
return;
|
24678
24684
|
}
|
24679
|
-
if (fi.value.findIndex((
|
24685
|
+
if (fi.value.findIndex((P) => P.__id === p.__id) === -1)
|
24680
24686
|
return r.success("Team added successfully."), fi.value.push(T), T;
|
24681
24687
|
r.info("Team already added.");
|
24682
24688
|
} else
|
@@ -24692,9 +24698,9 @@ const Sd = te(!1), On = te([]), Lv = te([]), bt = te(null), fi = te([]), ZH = ()
|
|
24692
24698
|
const T = { ...p, branch: null };
|
24693
24699
|
if (!await Un.updateTeam(T))
|
24694
24700
|
return;
|
24695
|
-
const
|
24696
|
-
if (
|
24697
|
-
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;
|
24698
24704
|
throw new Error("Item not found to remove");
|
24699
24705
|
}
|
24700
24706
|
fe.value = !1;
|
@@ -24835,7 +24841,7 @@ const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), eF = ()
|
|
24835
24841
|
try {
|
24836
24842
|
if (St.value && St.value.__id) {
|
24837
24843
|
const T = { ...p, division: St.value.__id };
|
24838
|
-
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;
|
24839
24845
|
} else
|
24840
24846
|
throw new Error("Item is not defined");
|
24841
24847
|
} catch (T) {
|
@@ -24849,9 +24855,9 @@ const Rd = te(!1), Pn = te([]), Uv = te([]), St = te(null), gi = te([]), eF = ()
|
|
24849
24855
|
const T = { ...p, division: null };
|
24850
24856
|
if (!await Eo.updateOrg(T))
|
24851
24857
|
return;
|
24852
|
-
const
|
24853
|
-
if (
|
24854
|
-
gi.value.splice(
|
24858
|
+
const b = gi.value.findIndex((P) => P.__id === p.__id);
|
24859
|
+
if (b !== -1)
|
24860
|
+
gi.value.splice(b, 1);
|
24855
24861
|
else
|
24856
24862
|
throw new Error("Item não encontrado para remoção");
|
24857
24863
|
} else
|
@@ -25021,18 +25027,18 @@ const Mn = te([]), Hv = te([]), Nn = te(null), bH = te(null), SH = te([]), tF =
|
|
25021
25027
|
}, nF = { install: IH };
|
25022
25028
|
export {
|
25023
25029
|
Eo as $,
|
25024
|
-
|
25025
|
-
|
25030
|
+
pO as A,
|
25031
|
+
vO as B,
|
25026
25032
|
wO as C,
|
25027
|
-
|
25028
|
-
|
25033
|
+
nl as D,
|
25034
|
+
wH as E,
|
25029
25035
|
VN as F,
|
25030
|
-
|
25031
|
-
|
25032
|
-
|
25033
|
-
|
25034
|
-
|
25035
|
-
|
25036
|
+
hH as G,
|
25037
|
+
yH as H,
|
25038
|
+
YH as I,
|
25039
|
+
Zc as J,
|
25040
|
+
wr as K,
|
25041
|
+
fe as L,
|
25036
25042
|
XH as M,
|
25037
25043
|
os as N,
|
25038
25044
|
lM as O,
|
@@ -25048,7 +25054,7 @@ export {
|
|
25048
25054
|
_h as Y,
|
25049
25055
|
da as Z,
|
25050
25056
|
ja as _,
|
25051
|
-
|
25057
|
+
L_ as a,
|
25052
25058
|
Ao as a0,
|
25053
25059
|
Un as a1,
|
25054
25060
|
ha as a2,
|
@@ -25058,29 +25064,29 @@ export {
|
|
25058
25064
|
dH as a6,
|
25059
25065
|
tF as a7,
|
25060
25066
|
rs as a8,
|
25061
|
-
|
25067
|
+
CO as b,
|
25062
25068
|
sC as c,
|
25063
|
-
|
25064
|
-
|
25065
|
-
|
25066
|
-
|
25067
|
-
|
25069
|
+
pM as d,
|
25070
|
+
Ky as e,
|
25071
|
+
zy as f,
|
25072
|
+
mN as g,
|
25073
|
+
Eh as h,
|
25068
25074
|
nF as i,
|
25069
|
-
|
25070
|
-
|
25071
|
-
|
25075
|
+
mO as j,
|
25076
|
+
ph as k,
|
25077
|
+
gO as l,
|
25072
25078
|
Lt as m,
|
25073
|
-
|
25074
|
-
|
25075
|
-
|
25076
|
-
|
25077
|
-
|
25079
|
+
Ih as n,
|
25080
|
+
Sk as o,
|
25081
|
+
Ay as p,
|
25082
|
+
tO as q,
|
25083
|
+
bk as r,
|
25078
25084
|
QH as s,
|
25079
|
-
|
25085
|
+
IN as t,
|
25080
25086
|
wf as u,
|
25081
|
-
|
25082
|
-
|
25083
|
-
|
25084
|
-
|
25085
|
-
|
25087
|
+
ON as v,
|
25088
|
+
yN as w,
|
25089
|
+
MN as x,
|
25090
|
+
FN as y,
|
25091
|
+
Ch as z
|
25086
25092
|
};
|