react-luminus-components 2.0.30 → 2.0.31
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/README.md +349 -349
- package/dist/.vite/manifest.json +44 -44
- package/dist/FormDisabledProvider-DFCB4DVo.cjs +1 -0
- package/dist/{FormDisabledProvider-BdVAJaqG.js → FormDisabledProvider-DYgNxt_V.js} +1 -1
- package/dist/ShortcutLinksContext-BGLfiUxG.cjs +285 -0
- package/dist/{nivo-bar-BsmDtzXw.js → ShortcutLinksContext-Bu12oYeg.js} +20928 -20928
- package/dist/components/common/NotificationCenter/Actions/NotificationActions.d.ts +23 -0
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/ActionTemplates.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/Recipients/NotificationRecipients.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/modals/NotificationTargetModal.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +3 -3
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationActionAddModal.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationTemplateAddModal.d.ts +2 -2
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationTemplateEditModal.d.ts +2 -2
- package/dist/components/common/NotificationCenter/NotifStyles/NotifStyles.d.ts +8 -0
- package/dist/components/common/NotificationCenter/Users/NotificationUsers.d.ts +12 -0
- package/dist/components/{NotifCenter → common/NotificationCenter}/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +2 -2
- package/dist/components/{NotifCenter → common/NotificationCenter}/index.d.ts +1 -1
- package/dist/components/common/index.d.ts +3 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +150 -150
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +44 -44
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +214 -208
- package/dist/{localStorageUtils-D2opn367.js → localStorageUtils-CZ4HDRzi.js} +2 -2
- package/dist/main.cjs.js +15 -15
- package/dist/main.d.ts +1 -3
- package/dist/main.es.js +13096 -13062
- package/dist/style.css +1 -1
- package/dist/{useIsFormDirty-Pdd8CdTQ.js → useIsFormDirty-D61PZNiu.js} +5 -5
- package/dist/useIsFormDirty-DQrsSiIC.cjs +1 -0
- package/dist/{useLocalStorageState-Byzo2ssr.js → useLocalStorageState-C9vgpAvX.js} +30 -30
- package/dist/useLocalStorageState-DnWPyDKJ.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +17 -17
- package/dist/variables.scss +165 -165
- package/package.json +128 -128
- package/dist/FormDisabledProvider-DyO7R2kE.cjs +0 -1
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +0 -22
- package/dist/components/NotifCenter/NotifStyles/NotifStyles.d.ts +0 -10
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleFormSchema.d.ts +0 -20
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleTableColumns.d.ts +0 -7
- package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +0 -10
- package/dist/nivo-bar-CdrSgzV1.cjs +0 -285
- package/dist/useIsFormDirty-CzwHpad1.cjs +0 -1
- package/dist/useLocalStorageState-CbsbIUSp.cjs +0 -1
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/index.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/index.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/hooks/useNotifTemplateUtils.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/types/NotificationKindFullModel.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Users/components/index.d.ts +0 -0
package/dist/contexts.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as se, bR as $e, c as N, bS as Ne, R as ce,
|
|
2
|
-
import { ck as dn,
|
|
1
|
+
import { t as se, bR as $e, c as N, bS as Ne, R as ce, bB as He, bT as Ae, a1 as O, bj as Oe, S as re, bU as Ue, a_ as We, aA as je, au as ge, bl as De, ax as K, aw as Fe, bV as Be, aS as me, bW as ze, bX as Ge, bY as R, bZ as Ve, b_ as U, b$ as l, c0 as _e, c1 as Le, c2 as z, c3 as E, c4 as Q, c5 as ie, c6 as Re, c7 as Xe, c8 as we, c9 as Ke, ca as Je, cb as Qe, cc as Ye, cd as Se, ce as B, cf as Ie, cg as be, ch as qe, ci as Ze, cj as et, aU as tt, al as nt, a3 as ot } from "./ShortcutLinksContext-Bu12oYeg.js";
|
|
2
|
+
import { ck as dn, bg as fn } from "./ShortcutLinksContext-Bu12oYeg.js";
|
|
3
3
|
import { jsxs as I, jsx as v } from "react/jsx-runtime";
|
|
4
4
|
import { useState as L, useContext as V, useEffect as W, useRef as ae, useMemo as J, useCallback as ne, useSyncExternalStore as st } from "react";
|
|
5
|
-
import { EventType as fe, InteractionStatus as
|
|
5
|
+
import { EventType as fe, InteractionStatus as ye, InteractionRequiredAuthError as rt } from "@azure/msal-browser";
|
|
6
6
|
import { useMsal as it, MsalProvider as at } from "@azure/msal-react";
|
|
7
7
|
import "react-router";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "react-flexmonster";
|
|
11
|
-
import { L as ct, b as lt } from "./FormDisabledProvider-
|
|
12
|
-
import { F as
|
|
13
|
-
import { a as ht, u as ut } from "./useLocalStorageState-
|
|
11
|
+
import { L as ct, b as lt } from "./FormDisabledProvider-DYgNxt_V.js";
|
|
12
|
+
import { F as _n } from "./FormDisabledProvider-DYgNxt_V.js";
|
|
13
|
+
import { a as ht, u as ut } from "./useLocalStorageState-C9vgpAvX.js";
|
|
14
14
|
function dt(t) {
|
|
15
15
|
const e = se(t);
|
|
16
16
|
return e.setHours(23, 59, 59, 999), e;
|
|
@@ -25,10 +25,10 @@ function gt(t, e) {
|
|
|
25
25
|
].sort((r, i) => r - i);
|
|
26
26
|
return n >= s && n <= o;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function _t() {
|
|
29
29
|
return $e(Date.now());
|
|
30
30
|
}
|
|
31
|
-
const
|
|
31
|
+
const pt = (t) => {
|
|
32
32
|
const e = N.c(10), {
|
|
33
33
|
children: n
|
|
34
34
|
} = t, [s, o] = L(!1), [r, i] = L(""), [a, c] = L(void 0);
|
|
@@ -41,23 +41,23 @@ const _t = (t) => {
|
|
|
41
41
|
e[1] === Symbol.for("react.memo_cache_sentinel") ? (g = () => {
|
|
42
42
|
o(!1);
|
|
43
43
|
}, e[1] = g) : g = e[1];
|
|
44
|
-
const
|
|
44
|
+
const _ = g;
|
|
45
45
|
let f;
|
|
46
46
|
e[2] !== s || e[3] !== r || e[4] !== a ? (f = {
|
|
47
47
|
show: s,
|
|
48
48
|
text: r,
|
|
49
49
|
showConfirm: h,
|
|
50
|
-
hideConfirm:
|
|
50
|
+
hideConfirm: _,
|
|
51
51
|
textSm: a
|
|
52
52
|
}, e[2] = s, e[3] = r, e[4] = a, e[5] = f) : f = e[5];
|
|
53
|
-
const
|
|
53
|
+
const p = f;
|
|
54
54
|
let w;
|
|
55
55
|
e[6] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ v(Bt, {}), e[6] = w) : w = e[6];
|
|
56
56
|
let d;
|
|
57
|
-
return e[7] !== n || e[8] !==
|
|
57
|
+
return e[7] !== n || e[8] !== p ? (d = /* @__PURE__ */ I(Ne.Provider, { value: p, children: [
|
|
58
58
|
w,
|
|
59
59
|
n
|
|
60
|
-
] }), e[7] = n, e[8] =
|
|
60
|
+
] }), e[7] = n, e[8] = p, e[9] = d) : d = e[9], d;
|
|
61
61
|
}, mt = () => {
|
|
62
62
|
const t = N.c(43), {
|
|
63
63
|
texts: e
|
|
@@ -79,33 +79,33 @@ const _t = (t) => {
|
|
|
79
79
|
t[2] !== r || t[3] !== i.required || t[4] !== a ? (g = (F) => {
|
|
80
80
|
F.preventDefault(), !(i.required && !a) && (r(a), c(""));
|
|
81
81
|
}, t[2] = r, t[3] = i.required, t[4] = a, t[5] = g) : g = t[5];
|
|
82
|
-
const
|
|
82
|
+
const _ = g;
|
|
83
83
|
let f;
|
|
84
84
|
t[6] === Symbol.for("react.memo_cache_sentinel") ? (f = (F) => c(F.currentTarget.value), t[6] = f) : f = t[6];
|
|
85
|
-
let
|
|
86
|
-
t[7] !== a ? (
|
|
85
|
+
let p;
|
|
86
|
+
t[7] !== a ? (p = {
|
|
87
87
|
value: a,
|
|
88
88
|
onChange: f,
|
|
89
89
|
className: "w-100",
|
|
90
90
|
autoFocus: !0,
|
|
91
91
|
tabIndex: 0
|
|
92
|
-
}, t[7] = a, t[8] =
|
|
93
|
-
const w =
|
|
92
|
+
}, t[7] = a, t[8] = p) : p = t[8];
|
|
93
|
+
const w = p;
|
|
94
94
|
let d, S;
|
|
95
95
|
t[9] !== s || t[10] !== i.defaultValue ? (d = () => {
|
|
96
96
|
s === !0 && c(i.defaultValue ?? "");
|
|
97
97
|
}, S = [s, i.defaultValue], t[9] = s, t[10] = i.defaultValue, t[11] = d, t[12] = S) : (d = t[11], S = t[12]), W(d, S);
|
|
98
98
|
let m;
|
|
99
99
|
t[13] !== o ? (m = /* @__PURE__ */ v(O.Header, { className: "justify-content-center", children: /* @__PURE__ */ v(O.Title, { children: o }) }), t[13] = o, t[14] = m) : m = t[14];
|
|
100
|
-
let
|
|
101
|
-
t[15] !== w || t[16] !== i.input ? (
|
|
100
|
+
let C;
|
|
101
|
+
t[15] !== w || t[16] !== i.input ? (C = i.input === "textarea" ? /* @__PURE__ */ v("textarea", { ...w, rows: 5 }) : void 0, t[15] = w, t[16] = i.input, t[17] = C) : C = t[17];
|
|
102
102
|
let b;
|
|
103
103
|
t[18] !== w || t[19] !== i.input || t[20] !== i.type ? (b = i.input === "input" ? /* @__PURE__ */ v(Oe, { ...w, type: i.type }) : void 0, t[18] = w, t[19] = i.input, t[20] = i.type, t[21] = b) : b = t[21];
|
|
104
|
-
let
|
|
105
|
-
t[22] !==
|
|
106
|
-
|
|
104
|
+
let y;
|
|
105
|
+
t[22] !== C || t[23] !== b ? (y = /* @__PURE__ */ I(O.Body, { children: [
|
|
106
|
+
C,
|
|
107
107
|
b
|
|
108
|
-
] }), t[22] =
|
|
108
|
+
] }), t[22] = C, t[23] = b, t[24] = y) : y = t[24];
|
|
109
109
|
let k;
|
|
110
110
|
t[25] !== n.cancel || t[26] !== h ? (k = /* @__PURE__ */ v(re, { variant: "outlined", color: "secondary", onClick: h, className: "flex-grow-1", children: n.cancel }), t[25] = n.cancel, t[26] = h, t[27] = k) : k = t[27];
|
|
111
111
|
const j = i.required && !a;
|
|
@@ -117,10 +117,10 @@ const _t = (t) => {
|
|
|
117
117
|
P
|
|
118
118
|
] }), t[31] = k, t[32] = P, t[33] = M) : M = t[33];
|
|
119
119
|
let x;
|
|
120
|
-
t[34] !==
|
|
121
|
-
|
|
120
|
+
t[34] !== _ || t[35] !== y || t[36] !== M ? (x = /* @__PURE__ */ I("form", { onSubmit: _, onKeyDown: wt, children: [
|
|
121
|
+
y,
|
|
122
122
|
M
|
|
123
|
-
] }), t[34] =
|
|
123
|
+
] }), t[34] = _, t[35] = y, t[36] = M, t[37] = x) : x = t[37];
|
|
124
124
|
let H;
|
|
125
125
|
return t[38] !== s || t[39] !== h || t[40] !== x || t[41] !== m ? (H = /* @__PURE__ */ I(O, { show: s, size: "sm", centered: !0, onHide: h, children: [
|
|
126
126
|
m,
|
|
@@ -141,21 +141,21 @@ const St = (t) => {
|
|
|
141
141
|
}, e[0] = a) : a = e[0];
|
|
142
142
|
const [c, u] = L(a), h = ae(bt);
|
|
143
143
|
let g;
|
|
144
|
-
e[1] === Symbol.for("react.memo_cache_sentinel") ? (g = (
|
|
145
|
-
i(
|
|
144
|
+
e[1] === Symbol.for("react.memo_cache_sentinel") ? (g = (C) => {
|
|
145
|
+
i(C), o(!0);
|
|
146
146
|
}, e[1] = g) : g = e[1];
|
|
147
|
-
const
|
|
147
|
+
const _ = g;
|
|
148
148
|
let f;
|
|
149
149
|
e[2] === Symbol.for("react.memo_cache_sentinel") ? (f = () => {
|
|
150
150
|
o(!1);
|
|
151
151
|
}, e[2] = f) : f = e[2];
|
|
152
|
-
const
|
|
152
|
+
const p = f;
|
|
153
153
|
let w;
|
|
154
154
|
e[3] !== s || e[4] !== c || e[5] !== r ? (w = {
|
|
155
155
|
isShown: s,
|
|
156
156
|
text: r,
|
|
157
|
-
showPrompt:
|
|
158
|
-
hidePrompt:
|
|
157
|
+
showPrompt: _,
|
|
158
|
+
hidePrompt: p,
|
|
159
159
|
resolveRef: h,
|
|
160
160
|
options: c,
|
|
161
161
|
setOptions: u
|
|
@@ -193,15 +193,15 @@ const tn = (t) => {
|
|
|
193
193
|
chartColorPalette: c
|
|
194
194
|
}, e[0] = i, e[1] = s, e[2] = c, e[3] = n, e[4] = o, e[5] = a, e[6] = r, e[7] = h) : h = e[7];
|
|
195
195
|
const g = h;
|
|
196
|
-
let
|
|
197
|
-
e[8] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
196
|
+
let _;
|
|
197
|
+
e[8] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ v(Ue, {}), e[8] = _) : _ = e[8];
|
|
198
198
|
let f;
|
|
199
|
-
e[9] !== u ? (f = /* @__PURE__ */ v(
|
|
200
|
-
|
|
199
|
+
e[9] !== u ? (f = /* @__PURE__ */ v(pt, { children: /* @__PURE__ */ I(St, { children: [
|
|
200
|
+
_,
|
|
201
201
|
u
|
|
202
202
|
] }) }), e[9] = u, e[10] = f) : f = e[10];
|
|
203
|
-
let
|
|
204
|
-
return e[11] !== g || e[12] !== f ? (
|
|
203
|
+
let p;
|
|
204
|
+
return e[11] !== g || e[12] !== f ? (p = /* @__PURE__ */ v(ce.Provider, { value: g, children: f }), e[11] = g, e[12] = f, e[13] = p) : p = e[13], p;
|
|
205
205
|
}, nn = (t) => {
|
|
206
206
|
const e = N.c(15), {
|
|
207
207
|
children: n
|
|
@@ -225,14 +225,14 @@ const tn = (t) => {
|
|
|
225
225
|
startLoading: c,
|
|
226
226
|
stopLoading: h
|
|
227
227
|
}, e[5] = s, e[6] = c, e[7] = h, e[8] = g) : g = e[8];
|
|
228
|
-
const
|
|
228
|
+
const _ = g;
|
|
229
229
|
let f;
|
|
230
230
|
e[9] !== s ? (f = s && /* @__PURE__ */ v(ct, {}), e[9] = s, e[10] = f) : f = e[10];
|
|
231
|
-
let
|
|
232
|
-
return e[11] !== n || e[12] !==
|
|
231
|
+
let p;
|
|
232
|
+
return e[11] !== n || e[12] !== _ || e[13] !== f ? (p = /* @__PURE__ */ I(We.Provider, { value: _, children: [
|
|
233
233
|
f,
|
|
234
234
|
n
|
|
235
|
-
] }), e[11] = n, e[12] =
|
|
235
|
+
] }), e[11] = n, e[12] = _, e[13] = f, e[14] = p) : p = e[14], p;
|
|
236
236
|
}, on = (t) => {
|
|
237
237
|
const e = N.c(39), {
|
|
238
238
|
children: n
|
|
@@ -245,16 +245,16 @@ const tn = (t) => {
|
|
|
245
245
|
setAvailableDelegations: c,
|
|
246
246
|
refreshAvailableDelegations: u
|
|
247
247
|
} = V(De), [h, g] = L(null);
|
|
248
|
-
let
|
|
249
|
-
e[0] !== r ? (
|
|
248
|
+
let _;
|
|
249
|
+
e[0] !== r ? (_ = async () => {
|
|
250
250
|
const A = await r();
|
|
251
251
|
A && g(A.token);
|
|
252
|
-
}, e[0] = r, e[1] =
|
|
253
|
-
const f =
|
|
254
|
-
let
|
|
255
|
-
e[2] !== f ? (
|
|
252
|
+
}, e[0] = r, e[1] = _) : _ = e[1];
|
|
253
|
+
const f = _;
|
|
254
|
+
let p, w;
|
|
255
|
+
e[2] !== f ? (p = () => {
|
|
256
256
|
f();
|
|
257
|
-
}, w = [f], e[2] = f, e[3] =
|
|
257
|
+
}, w = [f], e[2] = f, e[3] = p, e[4] = w) : (p = e[3], w = e[4]), W(p, w);
|
|
258
258
|
let d;
|
|
259
259
|
if (e[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
260
260
|
e: {
|
|
@@ -274,9 +274,9 @@ const tn = (t) => {
|
|
|
274
274
|
state: S ? K.LOGGED_IN : K.LOGGED_OUT,
|
|
275
275
|
user: S
|
|
276
276
|
}, e[6] = m) : m = e[6];
|
|
277
|
-
const [
|
|
278
|
-
let
|
|
279
|
-
e[7] !== s ? (
|
|
277
|
+
const [C, b] = L(m);
|
|
278
|
+
let y;
|
|
279
|
+
e[7] !== s ? (y = async (A) => {
|
|
280
280
|
let $ = null;
|
|
281
281
|
return await s.get("/user/detail", A ? {
|
|
282
282
|
headers: {
|
|
@@ -287,8 +287,8 @@ const tn = (t) => {
|
|
|
287
287
|
}).catch(() => {
|
|
288
288
|
$ = null;
|
|
289
289
|
}), $;
|
|
290
|
-
}, e[7] = s, e[8] =
|
|
291
|
-
const k =
|
|
290
|
+
}, e[7] = s, e[8] = y) : y = e[8];
|
|
291
|
+
const k = y;
|
|
292
292
|
let j;
|
|
293
293
|
e[9] !== c || e[10] !== a ? (j = () => {
|
|
294
294
|
localStorage.removeItem("user"), b({
|
|
@@ -326,38 +326,38 @@ const tn = (t) => {
|
|
|
326
326
|
A && o.removeEventCallback(A);
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
|
-
return
|
|
329
|
+
return yt;
|
|
330
330
|
}, e[15] = o, e[16] = H) : H = e[16];
|
|
331
331
|
let F;
|
|
332
332
|
e[17] !== x || e[18] !== P || e[19] !== o ? (F = [o, x, P], e[17] = x, e[18] = P, e[19] = o, e[20] = F) : F = e[20], W(H, F);
|
|
333
|
-
let
|
|
334
|
-
e[21] !== x || e[22] !== P || e[23] !== a ? (
|
|
333
|
+
let Y;
|
|
334
|
+
e[21] !== x || e[22] !== P || e[23] !== a ? (Y = async (A) => {
|
|
335
335
|
A && await x(A).catch(() => {
|
|
336
336
|
P(), a(null);
|
|
337
337
|
});
|
|
338
|
-
}, e[21] = x, e[22] = P, e[23] = a, e[24] =
|
|
339
|
-
const X =
|
|
340
|
-
let
|
|
341
|
-
e[25] !== h || e[26] !== X ? (
|
|
338
|
+
}, e[21] = x, e[22] = P, e[23] = a, e[24] = Y) : Y = e[24];
|
|
339
|
+
const X = Y;
|
|
340
|
+
let q;
|
|
341
|
+
e[25] !== h || e[26] !== X ? (q = () => {
|
|
342
342
|
X(h);
|
|
343
|
-
}, e[25] = h, e[26] = X, e[27] =
|
|
343
|
+
}, e[25] = h, e[26] = X, e[27] = q) : q = e[27];
|
|
344
344
|
const he = i == null ? void 0 : i.id;
|
|
345
345
|
let Z;
|
|
346
|
-
e[28] !== h || e[29] !== X || e[30] !== he ? (Z = [h, he, X], e[28] = h, e[29] = X, e[30] = he, e[31] = Z) : Z = e[31], W(
|
|
346
|
+
e[28] !== h || e[29] !== X || e[30] !== he ? (Z = [h, he, X], e[28] = h, e[29] = X, e[30] = he, e[31] = Z) : Z = e[31], W(q, Z);
|
|
347
347
|
let ee;
|
|
348
|
-
e[32] !== x || e[33] !== P || e[34] !==
|
|
349
|
-
user:
|
|
350
|
-
userLoginState:
|
|
348
|
+
e[32] !== x || e[33] !== P || e[34] !== C ? (ee = {
|
|
349
|
+
user: C.user,
|
|
350
|
+
userLoginState: C,
|
|
351
351
|
loginUser: x,
|
|
352
352
|
logoutUser: P
|
|
353
|
-
}, e[32] = x, e[33] = P, e[34] =
|
|
353
|
+
}, e[32] = x, e[33] = P, e[34] = C, e[35] = ee) : ee = e[35];
|
|
354
354
|
const ue = ee;
|
|
355
355
|
let te;
|
|
356
356
|
return e[36] !== n || e[37] !== ue ? (te = /* @__PURE__ */ v(Fe.Provider, { value: ue, children: n }), e[36] = n, e[37] = ue, e[38] = te) : te = e[38], te;
|
|
357
357
|
};
|
|
358
|
-
function
|
|
358
|
+
function yt() {
|
|
359
359
|
}
|
|
360
|
-
const
|
|
360
|
+
const Ce = () => {
|
|
361
361
|
const t = N.c(2);
|
|
362
362
|
let e;
|
|
363
363
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ v("p", { children: "Redirecting..." }), t[0] = e) : e = t[0];
|
|
@@ -370,7 +370,7 @@ const ye = () => {
|
|
|
370
370
|
/* @__PURE__ */ v("a", { href: window.location.href.replace("/blank", "/"), children: "here" })
|
|
371
371
|
] })
|
|
372
372
|
] }), t[1] = n) : n = t[1], n;
|
|
373
|
-
},
|
|
373
|
+
}, Ct = (t) => {
|
|
374
374
|
const e = t == null ? void 0 : t.getActiveAccount();
|
|
375
375
|
console.log("getTokenMsal activeAccount", e);
|
|
376
376
|
const n = t == null ? void 0 : t.getAllAccounts();
|
|
@@ -408,9 +408,9 @@ const ye = () => {
|
|
|
408
408
|
if (a.current)
|
|
409
409
|
return console.log("getTokenMsal returning tokenRequestPromise.current", a.current), a.current;
|
|
410
410
|
const d = new Promise((S, m) => {
|
|
411
|
-
const
|
|
412
|
-
const
|
|
413
|
-
if (!
|
|
411
|
+
const C = (b) => {
|
|
412
|
+
const y = Ct(o);
|
|
413
|
+
if (!y) {
|
|
414
414
|
console.log("getTokenMsal no account found. Redirecting to login"), o == null || o.loginRedirect({
|
|
415
415
|
scopes: r,
|
|
416
416
|
extraScopesToConsent: i
|
|
@@ -419,7 +419,7 @@ const ye = () => {
|
|
|
419
419
|
}
|
|
420
420
|
o == null || o.acquireTokenSilent({
|
|
421
421
|
scopes: r,
|
|
422
|
-
account:
|
|
422
|
+
account: y,
|
|
423
423
|
redirectUri: t.useMsal ? t.msalSilentRedirectUri : void 0
|
|
424
424
|
}).then((k) => {
|
|
425
425
|
b(), S({
|
|
@@ -435,15 +435,15 @@ const ye = () => {
|
|
|
435
435
|
b(), m(new Error("No access token returned from handleRedirectPromise"));
|
|
436
436
|
});
|
|
437
437
|
};
|
|
438
|
-
if (console.log("getTokenMsal promise"), e !==
|
|
438
|
+
if (console.log("getTokenMsal promise"), e !== ye.None) {
|
|
439
439
|
console.log("getTokenMsal rejecting because inProgress !== InteractionStatus.None", e), m(new Error("Authentication in progress"));
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
|
-
c.current ?
|
|
442
|
+
c.current ? C(() => {
|
|
443
443
|
a.current = null;
|
|
444
444
|
}) : o.handleRedirectPromise().then((b) => {
|
|
445
445
|
if (console.log("getTokenMsal tokenResponse", b), !(b != null && b.accessToken)) {
|
|
446
|
-
|
|
446
|
+
C(() => {
|
|
447
447
|
a.current = null, c.current = !0;
|
|
448
448
|
});
|
|
449
449
|
return;
|
|
@@ -455,33 +455,33 @@ const ye = () => {
|
|
|
455
455
|
});
|
|
456
456
|
});
|
|
457
457
|
return a.current = d, d;
|
|
458
|
-
}, [e, i, o, r, t.msalSilentRedirectUri, t.useMsal]), g = ne(async () => t.useMsal ? h() : u(), [u, h, t.useMsal]),
|
|
458
|
+
}, [e, i, o, r, t.msalSilentRedirectUri, t.useMsal]), g = ne(async () => t.useMsal ? h() : u(), [u, h, t.useMsal]), _ = ne((d) => t.useMsal ? () => {
|
|
459
459
|
} : (window.addEventListener("storage", d), window.addEventListener("dev-auth-change", d), () => {
|
|
460
460
|
window.removeEventListener("storage", d), window.removeEventListener("dev-auth-change", d);
|
|
461
|
-
}), [t.useMsal]), f = st(
|
|
461
|
+
}), [t.useMsal]), f = st(_, () => localStorage.getItem("token") !== null ? "AUTH_OK" : "NO_AUTH"), p = J(() => {
|
|
462
462
|
var d;
|
|
463
|
-
return t.useMsal ? e !==
|
|
463
|
+
return t.useMsal ? e !== ye.None ? "AUTH_IN_PROGRESS" : (o == null ? void 0 : o.getActiveAccount()) ?? ((d = o == null ? void 0 : o.getAllAccounts()) == null ? void 0 : d[0]) ?? null ? "AUTH_OK" : "NO_AUTH" : f;
|
|
464
464
|
}, [f, e, o, t.useMsal]), w = J(() => ({
|
|
465
465
|
useMsal: t.useMsal ?? !1,
|
|
466
466
|
msalInstance: o,
|
|
467
467
|
msalScopes: r,
|
|
468
468
|
msalExtraScopes: i,
|
|
469
469
|
getToken: g,
|
|
470
|
-
authState:
|
|
471
|
-
}), [t.useMsal, o, r, i, g,
|
|
470
|
+
authState: p
|
|
471
|
+
}), [t.useMsal, o, r, i, g, p]);
|
|
472
472
|
return W(() => {
|
|
473
473
|
if (t.useMsal && o) {
|
|
474
474
|
const d = o.addEventCallback((S) => {
|
|
475
475
|
if (S.eventType === fe.LOGIN_SUCCESS || S.eventType === fe.ACQUIRE_TOKEN_SUCCESS && S.payload) {
|
|
476
|
-
const m = S.payload,
|
|
477
|
-
o.setActiveAccount(
|
|
478
|
-
const b = m.accessToken,
|
|
476
|
+
const m = S.payload, C = m.account;
|
|
477
|
+
o.setActiveAccount(C);
|
|
478
|
+
const b = m.accessToken, y = m.expiresOn;
|
|
479
479
|
s("Authorization", b, {
|
|
480
480
|
path: "/",
|
|
481
481
|
secure: !0,
|
|
482
482
|
sameSite: "none",
|
|
483
483
|
domain: n,
|
|
484
|
-
expires:
|
|
484
|
+
expires: y ?? void 0
|
|
485
485
|
});
|
|
486
486
|
}
|
|
487
487
|
S.error && console.error("AuthProvider MSAL Error", S);
|
|
@@ -492,7 +492,7 @@ const ye = () => {
|
|
|
492
492
|
}
|
|
493
493
|
return () => {
|
|
494
494
|
};
|
|
495
|
-
}, [t.useMsal, o, s, n]), /* @__PURE__ */ v(ge.Provider, { value: w, children: t.useMsal ? /* @__PURE__ */ v(at, { instance: t.msalInstance, children: window.location.pathname === "/blank" ? /* @__PURE__ */ v(
|
|
495
|
+
}, [t.useMsal, o, s, n]), /* @__PURE__ */ v(ge.Provider, { value: w, children: t.useMsal ? /* @__PURE__ */ v(at, { instance: t.msalInstance, children: window.location.pathname === "/blank" ? /* @__PURE__ */ v(Ce, {}) : t.children }) : window.location.pathname === "/blank" ? /* @__PURE__ */ v(Ce, {}) : t.children });
|
|
496
496
|
}, rn = (t) => {
|
|
497
497
|
const e = N.c(18), {
|
|
498
498
|
children: n,
|
|
@@ -504,9 +504,9 @@ const ye = () => {
|
|
|
504
504
|
a = null;
|
|
505
505
|
break e;
|
|
506
506
|
}
|
|
507
|
-
const
|
|
507
|
+
const y = o.from ? me(o.from) : _t(), k = o.to ? me(o.to) : ft();
|
|
508
508
|
if (!gt(new Date(Date.now()), {
|
|
509
|
-
start:
|
|
509
|
+
start: y,
|
|
510
510
|
end: k
|
|
511
511
|
})) {
|
|
512
512
|
r(null), a = null;
|
|
@@ -523,39 +523,39 @@ const ye = () => {
|
|
|
523
523
|
const {
|
|
524
524
|
data: h,
|
|
525
525
|
setData: g,
|
|
526
|
-
reloadData:
|
|
526
|
+
reloadData: _
|
|
527
527
|
} = ut(s, u), f = ae(null);
|
|
528
|
-
let
|
|
529
|
-
e[1] !==
|
|
530
|
-
const
|
|
531
|
-
|
|
528
|
+
let p, w;
|
|
529
|
+
e[1] !== _ ? (p = () => {
|
|
530
|
+
const y = () => {
|
|
531
|
+
_(), f.current = window.setTimeout(y, ze() + 5e3);
|
|
532
532
|
};
|
|
533
|
-
return
|
|
533
|
+
return y(), () => {
|
|
534
534
|
f.current !== null && window.clearTimeout(f.current);
|
|
535
535
|
};
|
|
536
|
-
}, w = [
|
|
536
|
+
}, w = [_], e[1] = _, e[2] = p, e[3] = w) : (p = e[2], w = e[3]), W(p, w);
|
|
537
537
|
let d;
|
|
538
538
|
e[4] !== i ? (d = () => {
|
|
539
|
-
const
|
|
539
|
+
const y = () => {
|
|
540
540
|
i();
|
|
541
541
|
};
|
|
542
|
-
return window.addEventListener("focus",
|
|
543
|
-
window.removeEventListener("focus",
|
|
542
|
+
return window.addEventListener("focus", y), () => {
|
|
543
|
+
window.removeEventListener("focus", y);
|
|
544
544
|
};
|
|
545
545
|
}, e[4] = i, e[5] = d) : d = e[5];
|
|
546
546
|
let S;
|
|
547
|
-
e[6] !== i || e[7] !==
|
|
547
|
+
e[6] !== i || e[7] !== _ ? (S = [i, _], e[6] = i, e[7] = _, e[8] = S) : S = e[8], W(d, S);
|
|
548
548
|
let m;
|
|
549
|
-
e[9] !== h || e[10] !==
|
|
549
|
+
e[9] !== h || e[10] !== _ || e[11] !== g || e[12] !== r || e[13] !== c ? (m = {
|
|
550
550
|
delegation: c,
|
|
551
551
|
setDelegation: r,
|
|
552
552
|
availableDelegations: h,
|
|
553
553
|
setAvailableDelegations: g,
|
|
554
|
-
refreshAvailableDelegations:
|
|
555
|
-
}, e[9] = h, e[10] =
|
|
556
|
-
const
|
|
554
|
+
refreshAvailableDelegations: _
|
|
555
|
+
}, e[9] = h, e[10] = _, e[11] = g, e[12] = r, e[13] = c, e[14] = m) : m = e[14];
|
|
556
|
+
const C = m;
|
|
557
557
|
let b;
|
|
558
|
-
return e[15] !== n || e[16] !==
|
|
558
|
+
return e[15] !== n || e[16] !== C ? (b = /* @__PURE__ */ v(De.Provider, { value: C, children: n }), e[15] = n, e[16] = C, e[17] = b) : b = e[17], b;
|
|
559
559
|
}, ve = (t, e) => t ? `${t} | ${e}` : e, an = (t) => {
|
|
560
560
|
const e = N.c(18), {
|
|
561
561
|
defaultHelmet: n,
|
|
@@ -569,17 +569,17 @@ const ye = () => {
|
|
|
569
569
|
const [c, u] = L(a);
|
|
570
570
|
let h;
|
|
571
571
|
e[5] !== o ? (h = (b) => {
|
|
572
|
-
u((
|
|
572
|
+
u((y) => [...y, ve(o ?? "", b)]);
|
|
573
573
|
}, e[5] = o, e[6] = h) : h = e[6];
|
|
574
574
|
const g = h;
|
|
575
|
-
let p;
|
|
576
|
-
e[7] === Symbol.for("react.memo_cache_sentinel") ? (p = () => {
|
|
577
|
-
u(vt);
|
|
578
|
-
}, e[7] = p) : p = e[7];
|
|
579
|
-
const f = p;
|
|
580
575
|
let _;
|
|
581
|
-
e[
|
|
582
|
-
|
|
576
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (_ = () => {
|
|
577
|
+
u(vt);
|
|
578
|
+
}, e[7] = _) : _ = e[7];
|
|
579
|
+
const f = _;
|
|
580
|
+
let p;
|
|
581
|
+
e[8] !== c ? (p = c.at(-1) ?? "", e[8] = c, e[9] = p) : p = e[9];
|
|
582
|
+
const w = p;
|
|
583
583
|
let d;
|
|
584
584
|
e[10] !== g ? (d = {
|
|
585
585
|
addHelmet: g,
|
|
@@ -588,11 +588,11 @@ const ye = () => {
|
|
|
588
588
|
const S = d;
|
|
589
589
|
let m;
|
|
590
590
|
e[12] !== w ? (m = /* @__PURE__ */ v("title", { children: w }), e[12] = w, e[13] = m) : m = e[13];
|
|
591
|
-
let
|
|
592
|
-
return e[14] !== s || e[15] !== S || e[16] !== m ? (
|
|
591
|
+
let C;
|
|
592
|
+
return e[14] !== s || e[15] !== S || e[16] !== m ? (C = /* @__PURE__ */ I(Ge.Provider, { value: S, children: [
|
|
593
593
|
m,
|
|
594
594
|
s
|
|
595
|
-
] }), e[14] = s, e[15] = S, e[16] = m, e[17] =
|
|
595
|
+
] }), e[14] = s, e[15] = S, e[16] = m, e[17] = C) : C = e[17], C;
|
|
596
596
|
};
|
|
597
597
|
function vt(t) {
|
|
598
598
|
return t.length > 1 ? t.slice(0, -1) : t;
|
|
@@ -664,7 +664,7 @@ class kt extends le {
|
|
|
664
664
|
if (e.timeout) {
|
|
665
665
|
const c = e.timeout;
|
|
666
666
|
o = setTimeout(() => {
|
|
667
|
-
n.abort(), this._logger.log(l.Warning, "Timeout from HTTP request."), s = new
|
|
667
|
+
n.abort(), this._logger.log(l.Warning, "Timeout from HTTP request."), s = new _e();
|
|
668
668
|
}, c);
|
|
669
669
|
}
|
|
670
670
|
e.content === "" && (e.content = void 0), e.content && (e.headers = e.headers || {}, Le(e.content) ? e.headers["Content-Type"] = "application/octet-stream" : e.headers["Content-Type"] = "text/plain;charset=UTF-8");
|
|
@@ -738,7 +738,7 @@ class Tt extends le {
|
|
|
738
738
|
}, o.onerror = () => {
|
|
739
739
|
this._logger.log(l.Warning, `Error from HTTP request. ${o.status}: ${o.statusText}.`), s(new z(o.statusText, o.status));
|
|
740
740
|
}, o.ontimeout = () => {
|
|
741
|
-
this._logger.log(l.Warning, "Timeout from HTTP request."), s(new
|
|
741
|
+
this._logger.log(l.Warning, "Timeout from HTTP request."), s(new _e());
|
|
742
742
|
}, o.send(e.content);
|
|
743
743
|
}) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
|
|
744
744
|
}
|
|
@@ -845,7 +845,7 @@ class Ee {
|
|
|
845
845
|
const o = await this._httpClient.get(s, n);
|
|
846
846
|
o.statusCode === 204 ? (this._logger.log(l.Information, "(LongPolling transport) Poll terminated by server."), this._running = !1) : o.statusCode !== 200 ? (this._logger.log(l.Error, `(LongPolling transport) Unexpected response code: ${o.statusCode}.`), this._closeError = new z(o.statusText || "", o.statusCode), this._running = !1) : o.content ? (this._logger.log(l.Trace, `(LongPolling transport) data received. ${ie(o.content, this._options.logMessageContent)}.`), this.onreceive && this.onreceive(o.content)) : this._logger.log(l.Trace, "(LongPolling transport) Poll timed out, reissuing.");
|
|
847
847
|
} catch (s) {
|
|
848
|
-
this._running ? s instanceof
|
|
848
|
+
this._running ? s instanceof _e ? this._logger.log(l.Trace, "(LongPolling transport) Poll timed out, reissuing.") : (this._closeError = s, this._running = !1) : this._logger.log(l.Trace, `(LongPolling transport) Poll errored after shutdown: ${s.message}`);
|
|
849
849
|
}
|
|
850
850
|
} finally {
|
|
851
851
|
this._logger.log(l.Trace, "(LongPolling transport) Polling complete."), this.pollAborted || this._raiseOnClose();
|
|
@@ -1020,7 +1020,7 @@ class Rt {
|
|
|
1020
1020
|
this._connectionStarted = !0;
|
|
1021
1021
|
}
|
|
1022
1022
|
send(e) {
|
|
1023
|
-
return this._connectionState !== "Connected" ? Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")) : (this._sendQueue || (this._sendQueue = new
|
|
1023
|
+
return this._connectionState !== "Connected" ? Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")) : (this._sendQueue || (this._sendQueue = new pe(this.transport)), this._sendQueue.send(e));
|
|
1024
1024
|
}
|
|
1025
1025
|
async stop(e) {
|
|
1026
1026
|
if (this._connectionState === "Disconnected")
|
|
@@ -1130,8 +1130,8 @@ class Rt {
|
|
|
1130
1130
|
return;
|
|
1131
1131
|
} catch (g) {
|
|
1132
1132
|
if (this._logger.log(l.Error, `Failed to start the transport '${u.transport}': ${g}`), c = void 0, i.push(new Ke(`${u.transport} failed: ${g}`, T[u.transport])), this._connectionState !== "Connecting") {
|
|
1133
|
-
const
|
|
1134
|
-
return this._logger.log(l.Debug,
|
|
1133
|
+
const _ = "Failed to select transport before stop() was called.";
|
|
1134
|
+
return this._logger.log(l.Debug, _), Promise.reject(new U(_));
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
@@ -1187,7 +1187,7 @@ class Rt {
|
|
|
1187
1187
|
} else
|
|
1188
1188
|
return this._logger.log(l.Debug, `Skipping transport '${T[r]}' because it does not support the requested transfer format '${D[s]}'.`), new Error(`'${T[r]}' does not support ${D[s]}.`);
|
|
1189
1189
|
else
|
|
1190
|
-
return this._logger.log(l.Debug, `Skipping transport '${T[r]}' because it was disabled by the client.`), new
|
|
1190
|
+
return this._logger.log(l.Debug, `Skipping transport '${T[r]}' because it was disabled by the client.`), new Ye(`'${T[r]}' is disabled by the client.`, r);
|
|
1191
1191
|
}
|
|
1192
1192
|
_isITransport(e) {
|
|
1193
1193
|
return e && typeof e == "object" && "connect" in e;
|
|
@@ -1228,7 +1228,7 @@ class Rt {
|
|
|
1228
1228
|
function It(t, e) {
|
|
1229
1229
|
return !t || (e & t) !== 0;
|
|
1230
1230
|
}
|
|
1231
|
-
class
|
|
1231
|
+
class pe {
|
|
1232
1232
|
constructor(e) {
|
|
1233
1233
|
this._transport = e, this._buffer = [], this._executing = !0, this._sendBufferedData = new oe(), this._transportResult = new oe(), this._sendLoopPromise = this._sendLoop();
|
|
1234
1234
|
}
|
|
@@ -1252,7 +1252,7 @@ class _e {
|
|
|
1252
1252
|
this._sendBufferedData = new oe();
|
|
1253
1253
|
const e = this._transportResult;
|
|
1254
1254
|
this._transportResult = void 0;
|
|
1255
|
-
const n = typeof this._buffer[0] == "string" ? this._buffer.join("") :
|
|
1255
|
+
const n = typeof this._buffer[0] == "string" ? this._buffer.join("") : pe._concatBuffers(this._buffer);
|
|
1256
1256
|
this._buffer.length = 0;
|
|
1257
1257
|
try {
|
|
1258
1258
|
await this._transport.send(n), e.resolve();
|
|
@@ -1438,7 +1438,7 @@ class Ot {
|
|
|
1438
1438
|
if (e.logger === void 0 && (e.logger = this.logger), !this.url)
|
|
1439
1439
|
throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
1440
1440
|
const n = new Rt(this.url, e);
|
|
1441
|
-
return
|
|
1441
|
+
return qe.create(n, this.logger || Ie.instance, this.protocol || new $t(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
1442
1442
|
}
|
|
1443
1443
|
}
|
|
1444
1444
|
function Ut(t) {
|
|
@@ -1457,27 +1457,27 @@ const Wt = 15 * 1e3, ln = (t) => {
|
|
|
1457
1457
|
nextRetryDelayInMilliseconds: jt
|
|
1458
1458
|
}).build(), e[0] = s, e[1] = o, e[2] = i) : i = e[2];
|
|
1459
1459
|
const [a] = L(i), [c, u] = L(a.state), [h, g] = L(!1);
|
|
1460
|
-
let
|
|
1461
|
-
e[3] !== r || e[4] !== a ? (
|
|
1460
|
+
let _, f;
|
|
1461
|
+
e[3] !== r || e[4] !== a ? (_ = () => {
|
|
1462
1462
|
if (r !== "AUTH_OK")
|
|
1463
1463
|
return;
|
|
1464
|
-
const
|
|
1464
|
+
const y = () => u(a.state);
|
|
1465
1465
|
a.on("Connected", Ft), a.onreconnecting((k) => {
|
|
1466
|
-
console.log("Reconnecting...", k),
|
|
1466
|
+
console.log("Reconnecting...", k), y(), g(!0);
|
|
1467
1467
|
}), a.onreconnected(() => {
|
|
1468
|
-
console.log("Reconnected"),
|
|
1468
|
+
console.log("Reconnected"), y(), g(!1);
|
|
1469
1469
|
}), a.onclose((k) => {
|
|
1470
|
-
console.log("Connection closed", k),
|
|
1470
|
+
console.log("Connection closed", k), y(), g(!0);
|
|
1471
1471
|
}), a.start().then(() => {
|
|
1472
|
-
console.log("Connection started"),
|
|
1472
|
+
console.log("Connection started"), y(), g(!1);
|
|
1473
1473
|
}).catch((k) => {
|
|
1474
|
-
console.log("Error starting connection:", k),
|
|
1474
|
+
console.log("Error starting connection:", k), y(), g(!0);
|
|
1475
1475
|
});
|
|
1476
|
-
}, f = [r, a], e[3] = r, e[4] = a, e[5] =
|
|
1477
|
-
let
|
|
1478
|
-
e[7] !== r || e[8] !== a ? (
|
|
1476
|
+
}, f = [r, a], e[3] = r, e[4] = a, e[5] = _, e[6] = f) : (_ = e[5], f = e[6]), W(_, f);
|
|
1477
|
+
let p, w;
|
|
1478
|
+
e[7] !== r || e[8] !== a ? (p = () => {
|
|
1479
1479
|
r !== "AUTH_OK" && a.stop();
|
|
1480
|
-
}, w = [r, a], e[7] = r, e[8] = a, e[9] =
|
|
1480
|
+
}, w = [r, a], e[7] = r, e[8] = a, e[9] = p, e[10] = w) : (p = e[9], w = e[10]), W(p, w);
|
|
1481
1481
|
const d = c === Ze.Connected, S = r === "AUTH_OK";
|
|
1482
1482
|
let m;
|
|
1483
1483
|
e[11] !== c || e[12] !== h || e[13] !== d || e[14] !== S ? (m = {
|
|
@@ -1486,9 +1486,9 @@ const Wt = 15 * 1e3, ln = (t) => {
|
|
|
1486
1486
|
connectionState: c,
|
|
1487
1487
|
hasLastConnectionEnded: h
|
|
1488
1488
|
}, e[11] = c, e[12] = h, e[13] = d, e[14] = S, e[15] = m) : m = e[15];
|
|
1489
|
-
const
|
|
1489
|
+
const C = m;
|
|
1490
1490
|
let b;
|
|
1491
|
-
return e[16] !== n || e[17] !==
|
|
1491
|
+
return e[16] !== n || e[17] !== C ? (b = /* @__PURE__ */ v(et.Provider, { value: C, children: n }), e[16] = n, e[17] = C, e[18] = b) : b = e[18], b;
|
|
1492
1492
|
};
|
|
1493
1493
|
function jt(t) {
|
|
1494
1494
|
return Math.min(1e3 * 2 ** t.previousRetryCount, Wt);
|
|
@@ -1522,23 +1522,23 @@ const xe = 50, Bt = () => {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
}
|
|
1524
1524
|
}, t[0] = o, t[1] = s, t[2] = i, t[3] = h) : h = t[3], nt(h);
|
|
1525
|
-
const
|
|
1525
|
+
const _ = u ? void 0 : "sm";
|
|
1526
1526
|
let f;
|
|
1527
1527
|
t[4] !== c || t[5] !== r ? (f = /* @__PURE__ */ v(O.Header, { className: "justify-content-center", children: c ? /* @__PURE__ */ v(ot, { variant: "body", children: r }) : /* @__PURE__ */ v(O.Title, { children: r }) }), t[4] = c, t[5] = r, t[6] = f) : f = t[6];
|
|
1528
|
-
let
|
|
1529
|
-
t[7] !== n.no || t[8] !== o ? (
|
|
1528
|
+
let p;
|
|
1529
|
+
t[7] !== n.no || t[8] !== o ? (p = /* @__PURE__ */ v(re, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: o, children: n.no }), t[7] = n.no, t[8] = o, t[9] = p) : p = t[9];
|
|
1530
1530
|
let w;
|
|
1531
1531
|
t[10] !== n.yes || t[11] !== s ? (w = /* @__PURE__ */ v(re, { type: "button", color: "primary", onClick: s, className: "w-100 ml", children: n.yes }), t[10] = n.yes, t[11] = s, t[12] = w) : w = t[12];
|
|
1532
1532
|
let d;
|
|
1533
|
-
t[13] !==
|
|
1534
|
-
|
|
1533
|
+
t[13] !== p || t[14] !== w ? (d = /* @__PURE__ */ v(O.Body, { children: /* @__PURE__ */ I("div", { className: "w-100 d-flex gap-5", children: [
|
|
1534
|
+
p,
|
|
1535
1535
|
w
|
|
1536
|
-
] }) }), t[13] =
|
|
1536
|
+
] }) }), t[13] = p, t[14] = w, t[15] = d) : d = t[15];
|
|
1537
1537
|
let S;
|
|
1538
|
-
return t[16] !== o || t[17] !== i || t[18] !==
|
|
1538
|
+
return t[16] !== o || t[17] !== i || t[18] !== _ || t[19] !== f || t[20] !== d ? (S = /* @__PURE__ */ I(O, { show: i, size: _, centered: !0, onHide: o, children: [
|
|
1539
1539
|
f,
|
|
1540
1540
|
d
|
|
1541
|
-
] }), t[16] = o, t[17] = i, t[18] =
|
|
1541
|
+
] }), t[16] = o, t[17] = i, t[18] = _, t[19] = f, t[20] = d, t[21] = S) : S = t[21], S;
|
|
1542
1542
|
};
|
|
1543
1543
|
export {
|
|
1544
1544
|
et as ApiWebSocketContext,
|
|
@@ -1548,7 +1548,7 @@ export {
|
|
|
1548
1548
|
De as DelegationContext,
|
|
1549
1549
|
rn as DelegationProvider,
|
|
1550
1550
|
dn as FormDisabledContext,
|
|
1551
|
-
|
|
1551
|
+
_n as FormDisabledProvider,
|
|
1552
1552
|
Ge as HelmetContext,
|
|
1553
1553
|
an as HelmetProvider,
|
|
1554
1554
|
We as LoadingContext,
|