react-luminus-components 2.1.0 → 2.1.2
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/.vite/manifest.json +40 -40
- package/dist/{FormDisabledProvider-DT0dU-kQ.cjs → FormDisabledProvider-BmGT82vd.cjs} +1 -1
- package/dist/{FormDisabledProvider-CixhRdLK.js → FormDisabledProvider-faatkj2d.js} +4 -4
- package/dist/components/Documents/Documents.d.ts +4 -1
- package/dist/components/Documents/components/DocumentsModals/DocumentsModals.d.ts +4 -1
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/EditFileModal.d.ts +2 -1
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/EditFileModalInner.d.ts +2 -1
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/components/HookFormRecipient.d.ts +12 -0
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/components/index.d.ts +1 -0
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +15 -0
- package/dist/components/Documents/utils/documentsConstants.d.ts +3 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +103 -103
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +82 -82
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +92 -92
- package/dist/localStorageUtils-CmHKDfSh.cjs +1 -0
- package/dist/{localStorageUtils-CZ4HDRzi.js → localStorageUtils-Dm59KUwC.js} +10 -29
- package/dist/main.cjs.js +7 -15
- package/dist/main.es.js +7467 -8369
- package/dist/models/api/documents/DocumentFileModel.d.ts +8 -0
- package/dist/models/api/employee/EmployeeLookupModel.d.ts +18 -0
- package/dist/models/texts/DocumentsTexts.d.ts +8 -0
- package/dist/models/texts/NotifCentrumTexts.d.ts +1 -0
- package/dist/models/types/notifCenter/NotificationTemplate.d.ts +1 -0
- package/dist/nivo-bar-CYwXuVs2.cjs +293 -0
- package/dist/{nivo-bar-BkbzRnZi.js → nivo-bar-Dvo_C4bb.js} +15283 -14104
- package/dist/{useIsFormDirty-C2-K6Xed.cjs → useIsFormDirty-C53Kh2XN.cjs} +1 -1
- package/dist/{useIsFormDirty-DZBIvp4X.js → useIsFormDirty-DrM6JmtY.js} +1 -1
- package/dist/useLocalStorageState-CzdQutCi.js +25 -0
- package/dist/useLocalStorageState-hUZJI1T5.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +55 -55
- package/package.json +1 -1
- package/dist/localStorageUtils-CkZslzIU.cjs +0 -1
- package/dist/nivo-bar-CFkvCosn.cjs +0 -285
- package/dist/useLocalStorageState-B1kFYGzD.js +0 -91
- package/dist/useLocalStorageState-E2HAjd0z.cjs +0 -1
package/dist/contexts.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as re,
|
|
2
|
-
import {
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { useState as I, useContext as z, useEffect as B, useRef as Q, useMemo as F, useCallback as
|
|
5
|
-
import { EventType as ge, InteractionStatus as
|
|
6
|
-
import { MsalProvider as
|
|
1
|
+
import { t as re, b$ as Ne, c as N, c0 as Oe, R as ae, an as He, c1 as Ae, a5 as H, al as Ue, S as ie, c2 as We, ar as je, ap as Fe, bi as pe, bD as De, bk as J, aq as Be, c3 as ze, aG as we, av as Ge, c4 as Ve, c5 as Xe, c6 as L, c7 as Ke, c8 as U, c9 as l, ca as _e, cb as Ie, cc as V, cd as E, ce as Y, cf as ce, cg as Le, ch as Je, ci as Se, cj as Qe, ck as qe, cl as Ye, cm as Ze, cn as be, co as G, cp as Re, cq as Ce, cr as et, cs as fe, ct as Me, ao as tt, bd as nt, a6 as ot } from "./nivo-bar-Dvo_C4bb.js";
|
|
2
|
+
import { cu as pn, ae as _n } from "./nivo-bar-Dvo_C4bb.js";
|
|
3
|
+
import { jsxs as R, jsx as y } from "react/jsx-runtime";
|
|
4
|
+
import { useState as I, useContext as z, useEffect as B, useRef as Q, useMemo as F, useCallback as q, useSyncExternalStore as st } from "react";
|
|
5
|
+
import { EventType as ge, InteractionStatus as rt, InteractionRequiredAuthError as it } from "@azure/msal-browser";
|
|
6
|
+
import { MsalProvider as ct, useMsal 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
|
|
12
|
-
import { F as wn } from "./FormDisabledProvider-
|
|
13
|
-
import {
|
|
11
|
+
import { L as lt, b as ht } from "./FormDisabledProvider-faatkj2d.js";
|
|
12
|
+
import { F as wn } from "./FormDisabledProvider-faatkj2d.js";
|
|
13
|
+
import { u as ut } from "./useLocalStorageState-CzdQutCi.js";
|
|
14
14
|
import { u as dt } from "./useIsBrowserOnline-RAirIO4c.js";
|
|
15
15
|
function ft(t) {
|
|
16
16
|
const e = re(t);
|
|
@@ -55,7 +55,7 @@ const mt = (t) => {
|
|
|
55
55
|
let b;
|
|
56
56
|
e[6] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ y(zt, {}), e[6] = b) : b = e[6];
|
|
57
57
|
let d;
|
|
58
|
-
return e[7] !== n || e[8] !== w ? (d = /* @__PURE__ */
|
|
58
|
+
return e[7] !== n || e[8] !== w ? (d = /* @__PURE__ */ R(Oe.Provider, { value: w, children: [
|
|
59
59
|
b,
|
|
60
60
|
n
|
|
61
61
|
] }), e[7] = n, e[8] = w, e[9] = d) : d = e[9], d;
|
|
@@ -103,27 +103,27 @@ const mt = (t) => {
|
|
|
103
103
|
let _;
|
|
104
104
|
t[18] !== b || t[19] !== r.input || t[20] !== r.type ? (_ = r.input === "input" ? /* @__PURE__ */ y(Ue, { ...b, type: r.type }) : void 0, t[18] = b, t[19] = r.input, t[20] = r.type, t[21] = _) : _ = t[21];
|
|
105
105
|
let v;
|
|
106
|
-
t[22] !== C || t[23] !== _ ? (v = /* @__PURE__ */
|
|
106
|
+
t[22] !== C || t[23] !== _ ? (v = /* @__PURE__ */ R(H.Body, { children: [
|
|
107
107
|
C,
|
|
108
108
|
_
|
|
109
109
|
] }), t[22] = C, t[23] = _, t[24] = v) : v = t[24];
|
|
110
|
-
let
|
|
111
|
-
t[25] !== n.cancel || t[26] !== u ? (
|
|
110
|
+
let k;
|
|
111
|
+
t[25] !== n.cancel || t[26] !== u ? (k = /* @__PURE__ */ y(ie, { variant: "outlined", color: "secondary", onClick: u, className: "flex-grow-1", children: n.cancel }), t[25] = n.cancel, t[26] = u, t[27] = k) : k = t[27];
|
|
112
112
|
const W = r.required && !c;
|
|
113
113
|
let P;
|
|
114
114
|
t[28] !== n.confirm || t[29] !== W ? (P = /* @__PURE__ */ y(ie, { color: "primary", disabled: W, type: "submit", className: "flex-grow-1", children: n.confirm }), t[28] = n.confirm, t[29] = W, t[30] = P) : P = t[30];
|
|
115
115
|
let M;
|
|
116
|
-
t[31] !==
|
|
117
|
-
|
|
116
|
+
t[31] !== k || t[32] !== P ? (M = /* @__PURE__ */ R(H.Footer, { className: "w-100 d-flex gap-5", children: [
|
|
117
|
+
k,
|
|
118
118
|
P
|
|
119
|
-
] }), t[31] =
|
|
119
|
+
] }), t[31] = k, t[32] = P, t[33] = M) : M = t[33];
|
|
120
120
|
let x;
|
|
121
|
-
t[34] !== f || t[35] !== v || t[36] !== M ? (x = /* @__PURE__ */
|
|
121
|
+
t[34] !== f || t[35] !== v || t[36] !== M ? (x = /* @__PURE__ */ R("form", { onSubmit: f, onKeyDown: St, children: [
|
|
122
122
|
v,
|
|
123
123
|
M
|
|
124
124
|
] }), t[34] = f, t[35] = v, t[36] = M, t[37] = x) : x = t[37];
|
|
125
125
|
let O;
|
|
126
|
-
return t[38] !== s || t[39] !== u || t[40] !== x || t[41] !== p ? (O = /* @__PURE__ */
|
|
126
|
+
return t[38] !== s || t[39] !== u || t[40] !== x || t[41] !== p ? (O = /* @__PURE__ */ R(H, { show: s, size: "sm", centered: !0, onHide: u, children: [
|
|
127
127
|
p,
|
|
128
128
|
x
|
|
129
129
|
] }), t[38] = s, t[39] = u, t[40] = x, t[41] = p, t[42] = O) : O = t[42], O;
|
|
@@ -165,7 +165,7 @@ const bt = (t) => {
|
|
|
165
165
|
let S;
|
|
166
166
|
e[7] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ y(wt, {}), e[7] = S) : S = e[7];
|
|
167
167
|
let p;
|
|
168
|
-
return e[8] !== n || e[9] !== d ? (p = /* @__PURE__ */
|
|
168
|
+
return e[8] !== n || e[9] !== d ? (p = /* @__PURE__ */ R(Ae.Provider, { value: d, children: [
|
|
169
169
|
n,
|
|
170
170
|
S
|
|
171
171
|
] }), e[8] = n, e[9] = d, e[10] = p) : p = e[10], p;
|
|
@@ -197,7 +197,7 @@ const on = (t) => {
|
|
|
197
197
|
let f;
|
|
198
198
|
e[8] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ y(We, {}), e[8] = f) : f = e[8];
|
|
199
199
|
let g;
|
|
200
|
-
e[9] !== h ? (g = /* @__PURE__ */ y(mt, { children: /* @__PURE__ */
|
|
200
|
+
e[9] !== h ? (g = /* @__PURE__ */ y(mt, { children: /* @__PURE__ */ R(bt, { children: [
|
|
201
201
|
f,
|
|
202
202
|
h
|
|
203
203
|
] }) }), e[9] = h, e[10] = g) : g = e[10];
|
|
@@ -228,9 +228,9 @@ const on = (t) => {
|
|
|
228
228
|
}, e[5] = s, e[6] = a, e[7] = u, e[8] = m) : m = e[8];
|
|
229
229
|
const f = m;
|
|
230
230
|
let g;
|
|
231
|
-
e[9] !== s ? (g = s && /* @__PURE__ */ y(
|
|
231
|
+
e[9] !== s ? (g = s && /* @__PURE__ */ y(lt, {}), e[9] = s, e[10] = g) : g = e[10];
|
|
232
232
|
let w;
|
|
233
|
-
return e[11] !== n || e[12] !== f || e[13] !== g ? (w = /* @__PURE__ */
|
|
233
|
+
return e[11] !== n || e[12] !== f || e[13] !== g ? (w = /* @__PURE__ */ R(je.Provider, { value: f, children: [
|
|
234
234
|
g,
|
|
235
235
|
n
|
|
236
236
|
] }), e[11] = n, e[12] = f, e[13] = g, e[14] = w) : w = e[14], w;
|
|
@@ -289,7 +289,7 @@ const on = (t) => {
|
|
|
289
289
|
$ = null;
|
|
290
290
|
}), $;
|
|
291
291
|
}, e[7] = s, e[8] = v) : v = e[8];
|
|
292
|
-
const
|
|
292
|
+
const k = v;
|
|
293
293
|
let W;
|
|
294
294
|
e[9] !== a || e[10] !== c ? (W = () => {
|
|
295
295
|
localStorage.removeItem("user"), _({
|
|
@@ -299,12 +299,12 @@ const on = (t) => {
|
|
|
299
299
|
}, e[9] = a, e[10] = c, e[11] = W) : W = e[11];
|
|
300
300
|
const P = W;
|
|
301
301
|
let M;
|
|
302
|
-
e[12] !==
|
|
302
|
+
e[12] !== k || e[13] !== h ? (M = async (A) => {
|
|
303
303
|
_({
|
|
304
304
|
state: J.LOGGING_IN,
|
|
305
305
|
user: null
|
|
306
306
|
});
|
|
307
|
-
const $ = await
|
|
307
|
+
const $ = await k(A);
|
|
308
308
|
return $ ? (_({
|
|
309
309
|
state: J.LOGGED_IN,
|
|
310
310
|
user: $
|
|
@@ -312,7 +312,7 @@ const on = (t) => {
|
|
|
312
312
|
state: J.LOGIN_FAILED,
|
|
313
313
|
user: null
|
|
314
314
|
}), !1);
|
|
315
|
-
}, e[12] =
|
|
315
|
+
}, e[12] = k, e[13] = h, e[14] = M) : M = e[14];
|
|
316
316
|
const x = M;
|
|
317
317
|
let O;
|
|
318
318
|
e[15] !== o ? (O = () => {
|
|
@@ -363,15 +363,15 @@ const vt = () => {
|
|
|
363
363
|
let e;
|
|
364
364
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ y("p", { children: "Redirecting..." }), t[0] = e) : e = t[0];
|
|
365
365
|
let n;
|
|
366
|
-
return t[1] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */
|
|
366
|
+
return t[1] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ R("div", { children: [
|
|
367
367
|
e,
|
|
368
|
-
/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ R("p", { children: [
|
|
369
369
|
"If you are not redirected within 10 seconds, please click",
|
|
370
370
|
" ",
|
|
371
371
|
/* @__PURE__ */ y("a", { href: window.location.href.replace("/blank", "/"), children: "here" })
|
|
372
372
|
] })
|
|
373
373
|
] }), t[1] = n) : n = t[1], n;
|
|
374
|
-
},
|
|
374
|
+
}, kt = (t) => {
|
|
375
375
|
const e = t == null ? void 0 : t.getActiveAccount();
|
|
376
376
|
console.log("getTokenMsal activeAccount", e);
|
|
377
377
|
const n = t == null ? void 0 : t.getAllAccounts();
|
|
@@ -383,7 +383,7 @@ const vt = () => {
|
|
|
383
383
|
}) => {
|
|
384
384
|
const {
|
|
385
385
|
inProgress: e
|
|
386
|
-
} =
|
|
386
|
+
} = at(), {
|
|
387
387
|
cookieDomain: n
|
|
388
388
|
} = z(ae), [, s] = ze(["Authorization"]), o = F(
|
|
389
389
|
() => t.useMsal ? t.msalInstance : null,
|
|
@@ -397,20 +397,20 @@ const vt = () => {
|
|
|
397
397
|
() => t.useMsal ? t.msalExtraScopes : [],
|
|
398
398
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
399
399
|
[t.useMsal, t.useMsal ? t.msalExtraScopes : null]
|
|
400
|
-
), c = Q(null), a = Q(!1), h =
|
|
400
|
+
), c = Q(null), a = Q(!1), h = q(() => {
|
|
401
401
|
const d = localStorage.getItem("token");
|
|
402
402
|
return d ? {
|
|
403
403
|
token: d,
|
|
404
|
-
expiresOn:
|
|
404
|
+
expiresOn: ht(new Date(Date.now()), 1)
|
|
405
405
|
} : null;
|
|
406
|
-
}, []), u =
|
|
406
|
+
}, []), u = q(async () => {
|
|
407
407
|
if (console.log("getTokenMsal"), o == null)
|
|
408
408
|
throw console.log("getTokenMsal throwing error because msalInstance is null"), new Error("getTokenMsal: msalInstance is null");
|
|
409
409
|
if (c.current)
|
|
410
410
|
return console.log("getTokenMsal returning tokenRequestPromise.current", c.current), c.current;
|
|
411
411
|
const d = new Promise((S, p) => {
|
|
412
412
|
const C = (_) => {
|
|
413
|
-
const v =
|
|
413
|
+
const v = kt(o);
|
|
414
414
|
if (!v) {
|
|
415
415
|
console.log("getTokenMsal no account found. Redirecting to login"), o == null || o.loginRedirect({
|
|
416
416
|
scopes: i,
|
|
@@ -422,16 +422,16 @@ const vt = () => {
|
|
|
422
422
|
scopes: i,
|
|
423
423
|
account: v,
|
|
424
424
|
redirectUri: t.useMsal ? t.msalSilentRedirectUri : void 0
|
|
425
|
-
}).then((
|
|
425
|
+
}).then((k) => {
|
|
426
426
|
_(), S({
|
|
427
|
-
token:
|
|
428
|
-
expiresOn:
|
|
427
|
+
token: k.accessToken,
|
|
428
|
+
expiresOn: k.expiresOn ?? new Date(Date.now())
|
|
429
429
|
});
|
|
430
|
-
}).catch((
|
|
431
|
-
console.error("Error acquiring token",
|
|
430
|
+
}).catch((k) => {
|
|
431
|
+
console.error("Error acquiring token", k), k instanceof it && (console.log("Silent token acquisition failed. Acquiring token using redirect"), o == null || o.acquireTokenRedirect({
|
|
432
432
|
scopes: i,
|
|
433
433
|
extraScopesToConsent: r
|
|
434
|
-
}), _(), S(null)), _(), p(
|
|
434
|
+
}), _(), S(null)), _(), p(k);
|
|
435
435
|
}).finally(() => {
|
|
436
436
|
_(), p(new Error("No access token returned from handleRedirectPromise"));
|
|
437
437
|
});
|
|
@@ -452,12 +452,12 @@ const vt = () => {
|
|
|
452
452
|
});
|
|
453
453
|
});
|
|
454
454
|
return c.current = d, d;
|
|
455
|
-
}, [r, o, i, t.msalSilentRedirectUri, t.useMsal]), m =
|
|
455
|
+
}, [r, o, i, t.msalSilentRedirectUri, t.useMsal]), m = q(async () => t.useMsal ? u() : h(), [h, u, t.useMsal]), f = q((d) => t.useMsal ? () => {
|
|
456
456
|
} : (window.addEventListener("storage", d), window.addEventListener("dev-auth-change", d), () => {
|
|
457
457
|
window.removeEventListener("storage", d), window.removeEventListener("dev-auth-change", d);
|
|
458
|
-
}), [t.useMsal]), g =
|
|
458
|
+
}), [t.useMsal]), g = st(f, () => localStorage.getItem("token") !== null ? "AUTH_OK" : "NO_AUTH"), w = F(() => {
|
|
459
459
|
var d;
|
|
460
|
-
return t.useMsal ? e !==
|
|
460
|
+
return t.useMsal ? e !== rt.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" : g;
|
|
461
461
|
}, [g, e, o, t.useMsal]), b = F(() => ({
|
|
462
462
|
useMsal: t.useMsal ?? !1,
|
|
463
463
|
msalInstance: o,
|
|
@@ -499,7 +499,7 @@ const vt = () => {
|
|
|
499
499
|
let o;
|
|
500
500
|
e[2] !== n ? (o = /* @__PURE__ */ y(ye, { ...n }), e[2] = n, e[3] = o) : o = e[3];
|
|
501
501
|
let i;
|
|
502
|
-
return e[4] !== n.msalInstance || e[5] !== o ? (i = /* @__PURE__ */ y(
|
|
502
|
+
return e[4] !== n.msalInstance || e[5] !== o ? (i = /* @__PURE__ */ y(ct, { instance: n.msalInstance, children: o }), e[4] = n.msalInstance, e[5] = o, e[6] = i) : i = e[6], i;
|
|
503
503
|
}
|
|
504
504
|
let s;
|
|
505
505
|
return e[7] !== n ? (s = /* @__PURE__ */ y(ye, { ...n }), e[7] = n, e[8] = s) : s = e[8], s;
|
|
@@ -507,17 +507,17 @@ const vt = () => {
|
|
|
507
507
|
const e = N.c(18), {
|
|
508
508
|
children: n,
|
|
509
509
|
relativeEndpoint: s
|
|
510
|
-
} = t, [o, i, r] =
|
|
510
|
+
} = t, [o, i, r] = ut("user-delegation", null);
|
|
511
511
|
let c;
|
|
512
512
|
e: {
|
|
513
513
|
if (!o) {
|
|
514
514
|
c = null;
|
|
515
515
|
break e;
|
|
516
516
|
}
|
|
517
|
-
const v = o.from ? we(o.from) : _t(),
|
|
517
|
+
const v = o.from ? we(o.from) : _t(), k = o.to ? we(o.to) : gt();
|
|
518
518
|
if (!pt(new Date(Date.now()), {
|
|
519
519
|
start: v,
|
|
520
|
-
end:
|
|
520
|
+
end: k
|
|
521
521
|
})) {
|
|
522
522
|
i(null), c = null;
|
|
523
523
|
break e;
|
|
@@ -534,11 +534,11 @@ const vt = () => {
|
|
|
534
534
|
data: u,
|
|
535
535
|
setData: m,
|
|
536
536
|
reloadData: f
|
|
537
|
-
} =
|
|
537
|
+
} = Ge(s, h), g = Q(null);
|
|
538
538
|
let w, b;
|
|
539
539
|
e[1] !== f ? (w = () => {
|
|
540
540
|
const v = () => {
|
|
541
|
-
f(), g.current = window.setTimeout(v,
|
|
541
|
+
f(), g.current = window.setTimeout(v, Ve() + 5e3);
|
|
542
542
|
};
|
|
543
543
|
return v(), () => {
|
|
544
544
|
g.current !== null && window.clearTimeout(g.current);
|
|
@@ -584,7 +584,7 @@ const vt = () => {
|
|
|
584
584
|
const m = u;
|
|
585
585
|
let f;
|
|
586
586
|
e[7] === Symbol.for("react.memo_cache_sentinel") ? (f = () => {
|
|
587
|
-
h(
|
|
587
|
+
h(Tt);
|
|
588
588
|
}, e[7] = f) : f = e[7];
|
|
589
589
|
const g = f;
|
|
590
590
|
let w;
|
|
@@ -599,12 +599,12 @@ const vt = () => {
|
|
|
599
599
|
let p;
|
|
600
600
|
e[12] !== b ? (p = /* @__PURE__ */ y("title", { children: b }), e[12] = b, e[13] = p) : p = e[13];
|
|
601
601
|
let C;
|
|
602
|
-
return e[14] !== s || e[15] !== S || e[16] !== p ? (C = /* @__PURE__ */
|
|
602
|
+
return e[14] !== s || e[15] !== S || e[16] !== p ? (C = /* @__PURE__ */ R(Xe.Provider, { value: S, children: [
|
|
603
603
|
p,
|
|
604
604
|
s
|
|
605
605
|
] }), e[14] = s, e[15] = S, e[16] = p, e[17] = C) : C = e[17], C;
|
|
606
606
|
};
|
|
607
|
-
function
|
|
607
|
+
function Tt(t) {
|
|
608
608
|
return t.length > 1 ? t.slice(0, -1) : t;
|
|
609
609
|
}
|
|
610
610
|
class $e {
|
|
@@ -646,11 +646,11 @@ class le {
|
|
|
646
646
|
}
|
|
647
647
|
class Et extends le {
|
|
648
648
|
constructor(e) {
|
|
649
|
-
if (super(), this._logger = e, typeof fetch > "u" ||
|
|
649
|
+
if (super(), this._logger = e, typeof fetch > "u" || L.isNode) {
|
|
650
650
|
const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
651
651
|
this._jar = new (n("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = n("node-fetch") : this._fetchType = fetch, this._fetchType = n("fetch-cookie")(this._fetchType, this._jar);
|
|
652
652
|
} else
|
|
653
|
-
this._fetchType = fetch.bind(
|
|
653
|
+
this._fetchType = fetch.bind(Ke());
|
|
654
654
|
if (typeof AbortController > "u") {
|
|
655
655
|
const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
656
656
|
this._abortControllerType = n("abort-controller");
|
|
@@ -699,18 +699,18 @@ class Et extends le {
|
|
|
699
699
|
o && clearTimeout(o), e.abortSignal && (e.abortSignal.onabort = null);
|
|
700
700
|
}
|
|
701
701
|
if (!i.ok) {
|
|
702
|
-
const a = await
|
|
702
|
+
const a = await ke(i, "text");
|
|
703
703
|
throw new V(a || i.statusText, i.status);
|
|
704
704
|
}
|
|
705
|
-
const c = await
|
|
705
|
+
const c = await ke(i, e.responseType);
|
|
706
706
|
return new $e(i.status, i.statusText, c);
|
|
707
707
|
}
|
|
708
708
|
getCookieString(e) {
|
|
709
709
|
let n = "";
|
|
710
|
-
return
|
|
710
|
+
return L.isNode && this._jar && this._jar.getCookies(e, (s, o) => n = o.join("; ")), n;
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function ke(t, e) {
|
|
714
714
|
let n;
|
|
715
715
|
switch (e) {
|
|
716
716
|
case "arraybuffer":
|
|
@@ -756,7 +756,7 @@ class Pt extends le {
|
|
|
756
756
|
class xt extends le {
|
|
757
757
|
/** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
|
|
758
758
|
constructor(e) {
|
|
759
|
-
if (super(), typeof fetch < "u" ||
|
|
759
|
+
if (super(), typeof fetch < "u" || L.isNode)
|
|
760
760
|
this._httpClient = new Et(e);
|
|
761
761
|
else if (typeof XMLHttpRequest < "u")
|
|
762
762
|
this._httpClient = new Pt(e);
|
|
@@ -772,7 +772,7 @@ class xt extends le {
|
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
774
|
const At = [0, 2e3, 1e4, 3e4, null];
|
|
775
|
-
class
|
|
775
|
+
class Te {
|
|
776
776
|
constructor(e) {
|
|
777
777
|
this._retryDelays = e !== void 0 ? [...e, null] : At;
|
|
778
778
|
}
|
|
@@ -801,10 +801,10 @@ class Dt extends le {
|
|
|
801
801
|
return this._innerClient.getCookieString(e);
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
|
-
var
|
|
804
|
+
var T;
|
|
805
805
|
(function(t) {
|
|
806
806
|
t[t.None = 0] = "None", t[t.WebSockets = 1] = "WebSockets", t[t.ServerSentEvents = 2] = "ServerSentEvents", t[t.LongPolling = 4] = "LongPolling";
|
|
807
|
-
})(
|
|
807
|
+
})(T || (T = {}));
|
|
808
808
|
var D;
|
|
809
809
|
(function(t) {
|
|
810
810
|
t[t.Text = 1] = "Text", t[t.Binary = 2] = "Binary";
|
|
@@ -834,7 +834,7 @@ class Ee {
|
|
|
834
834
|
async connect(e, n) {
|
|
835
835
|
if (E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, D, "transferFormat"), this._url = e, this._logger.log(l.Trace, "(LongPolling transport) Connecting."), n === D.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
836
836
|
throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
|
|
837
|
-
const [s, o] =
|
|
837
|
+
const [s, o] = Y(), i = { [s]: o, ...this._options.headers }, r = {
|
|
838
838
|
abortSignal: this._pollAbort.signal,
|
|
839
839
|
headers: i,
|
|
840
840
|
timeout: 1e5,
|
|
@@ -862,13 +862,13 @@ class Ee {
|
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
async send(e) {
|
|
865
|
-
return this._running ?
|
|
865
|
+
return this._running ? Le(this._logger, "LongPolling", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
|
|
866
866
|
}
|
|
867
867
|
async stop() {
|
|
868
868
|
this._logger.log(l.Trace, "(LongPolling transport) Stopping polling."), this._running = !1, this._pollAbort.abort();
|
|
869
869
|
try {
|
|
870
870
|
await this._receiving, this._logger.log(l.Trace, `(LongPolling transport) sending DELETE request to ${this._url}.`);
|
|
871
|
-
const e = {}, [n, s] =
|
|
871
|
+
const e = {}, [n, s] = Y();
|
|
872
872
|
e[n] = s;
|
|
873
873
|
const o = {
|
|
874
874
|
headers: { ...e, ...this._options.headers },
|
|
@@ -893,7 +893,7 @@ class Ee {
|
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
895
|
}
|
|
896
|
-
class
|
|
896
|
+
class Lt {
|
|
897
897
|
constructor(e, n, s, o) {
|
|
898
898
|
this._httpClient = e, this._accessToken = n, this._logger = s, this._options = o, this.onreceive = null, this.onclose = null;
|
|
899
899
|
}
|
|
@@ -905,12 +905,12 @@ class Rt {
|
|
|
905
905
|
return;
|
|
906
906
|
}
|
|
907
907
|
let r;
|
|
908
|
-
if (
|
|
908
|
+
if (L.isBrowser || L.isWebWorker)
|
|
909
909
|
r = new this._options.EventSource(e, { withCredentials: this._options.withCredentials });
|
|
910
910
|
else {
|
|
911
911
|
const c = this._httpClient.getCookieString(e), a = {};
|
|
912
912
|
a.Cookie = c;
|
|
913
|
-
const [h, u] =
|
|
913
|
+
const [h, u] = Y();
|
|
914
914
|
a[h] = u, r = new this._options.EventSource(e, { withCredentials: this._options.withCredentials, headers: { ...a, ...this._options.headers } });
|
|
915
915
|
}
|
|
916
916
|
try {
|
|
@@ -934,7 +934,7 @@ class Rt {
|
|
|
934
934
|
});
|
|
935
935
|
}
|
|
936
936
|
async send(e) {
|
|
937
|
-
return this._eventSource ?
|
|
937
|
+
return this._eventSource ? Le(this._logger, "SSE", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
|
|
938
938
|
}
|
|
939
939
|
stop() {
|
|
940
940
|
return this._close(), Promise.resolve();
|
|
@@ -943,7 +943,7 @@ class Rt {
|
|
|
943
943
|
this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(e));
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
|
-
class
|
|
946
|
+
class Rt {
|
|
947
947
|
constructor(e, n, s, o, i, r) {
|
|
948
948
|
this._logger = s, this._accessTokenFactory = n, this._logMessageContent = o, this._webSocketConstructor = i, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = r;
|
|
949
949
|
}
|
|
@@ -955,8 +955,8 @@ class Lt {
|
|
|
955
955
|
let r;
|
|
956
956
|
const c = this._httpClient.getCookieString(e);
|
|
957
957
|
let a = !1;
|
|
958
|
-
if (
|
|
959
|
-
const h = {}, [u, m] =
|
|
958
|
+
if (L.isNode || L.isReactNative) {
|
|
959
|
+
const h = {}, [u, m] = Y();
|
|
960
960
|
h[u] = m, s && (h[X.Authorization] = `Bearer ${s}`), c && (h[X.Cookie] = c), r = new this._webSocketConstructor(e, void 0, {
|
|
961
961
|
headers: { ...h, ...this._headers }
|
|
962
962
|
});
|
|
@@ -1005,17 +1005,17 @@ const Pe = 100;
|
|
|
1005
1005
|
class Mt {
|
|
1006
1006
|
constructor(e, n = {}) {
|
|
1007
1007
|
if (this._stopPromiseResolver = () => {
|
|
1008
|
-
}, this.features = {}, this._negotiateVersion = 1, E.isRequired(e, "url"), this._logger =
|
|
1008
|
+
}, this.features = {}, this._negotiateVersion = 1, E.isRequired(e, "url"), this._logger = Je(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
|
|
1009
1009
|
n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
|
|
1010
1010
|
else
|
|
1011
1011
|
throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
|
|
1012
1012
|
n.timeout = n.timeout === void 0 ? 100 * 1e3 : n.timeout;
|
|
1013
1013
|
let s = null, o = null;
|
|
1014
|
-
if (
|
|
1014
|
+
if (L.isNode && typeof require < "u") {
|
|
1015
1015
|
const i = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
1016
1016
|
s = i("ws"), o = i("eventsource");
|
|
1017
1017
|
}
|
|
1018
|
-
!
|
|
1018
|
+
!L.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : L.isNode && !n.WebSocket && s && (n.WebSocket = s), !L.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : L.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new Dt(n.httpClient || new xt(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
|
|
1019
1019
|
}
|
|
1020
1020
|
async start(e) {
|
|
1021
1021
|
if (e = e || D.Binary, E.isIn(e, D, "transferFormat"), this._logger.log(l.Debug, `Starting connection with transfer format '${D[e]}'.`), this._connectionState !== "Disconnected")
|
|
@@ -1062,8 +1062,8 @@ class Mt {
|
|
|
1062
1062
|
this._accessTokenFactory = this._options.accessTokenFactory, this._httpClient._accessTokenFactory = this._accessTokenFactory;
|
|
1063
1063
|
try {
|
|
1064
1064
|
if (this._options.skipNegotiation)
|
|
1065
|
-
if (this._options.transport ===
|
|
1066
|
-
this.transport = this._constructTransport(
|
|
1065
|
+
if (this._options.transport === T.WebSockets)
|
|
1066
|
+
this.transport = this._constructTransport(T.WebSockets), await this._startTransport(n, e);
|
|
1067
1067
|
else
|
|
1068
1068
|
throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");
|
|
1069
1069
|
else {
|
|
@@ -1091,7 +1091,7 @@ class Mt {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
1093
|
async _getNegotiationResponse(e) {
|
|
1094
|
-
const n = {}, [s, o] =
|
|
1094
|
+
const n = {}, [s, o] = Y();
|
|
1095
1095
|
n[s] = o;
|
|
1096
1096
|
const i = this._resolveNegotiateUrl(e);
|
|
1097
1097
|
this._logger.log(l.Debug, `Sending negotiation request: ${i}.`);
|
|
@@ -1139,26 +1139,26 @@ class Mt {
|
|
|
1139
1139
|
await this._startTransport(i, o), this.connectionId = a.connectionId;
|
|
1140
1140
|
return;
|
|
1141
1141
|
} catch (m) {
|
|
1142
|
-
if (this._logger.log(l.Error, `Failed to start the transport '${h.transport}': ${m}`), a = void 0, r.push(new
|
|
1142
|
+
if (this._logger.log(l.Error, `Failed to start the transport '${h.transport}': ${m}`), a = void 0, r.push(new Qe(`${h.transport} failed: ${m}`, T[h.transport])), this._connectionState !== "Connecting") {
|
|
1143
1143
|
const f = "Failed to select transport before stop() was called.";
|
|
1144
1144
|
return this._logger.log(l.Debug, f), Promise.reject(new U(f));
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
|
-
return r.length > 0 ? Promise.reject(new
|
|
1149
|
+
return r.length > 0 ? Promise.reject(new qe(`Unable to connect to the server with any of the available transports. ${r.join(" ")}`, r)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
|
|
1150
1150
|
}
|
|
1151
1151
|
_constructTransport(e) {
|
|
1152
1152
|
switch (e) {
|
|
1153
|
-
case
|
|
1153
|
+
case T.WebSockets:
|
|
1154
1154
|
if (!this._options.WebSocket)
|
|
1155
1155
|
throw new Error("'WebSocket' is not supported in your environment.");
|
|
1156
|
-
return new
|
|
1157
|
-
case
|
|
1156
|
+
return new Rt(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
|
|
1157
|
+
case T.ServerSentEvents:
|
|
1158
1158
|
if (!this._options.EventSource)
|
|
1159
1159
|
throw new Error("'EventSource' is not supported in your environment.");
|
|
1160
|
-
return new
|
|
1161
|
-
case
|
|
1160
|
+
return new Lt(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
|
|
1161
|
+
case T.LongPolling:
|
|
1162
1162
|
return new Ee(this._httpClient, this._logger, this._options);
|
|
1163
1163
|
default:
|
|
1164
1164
|
throw new Error(`Unknown transport: ${e}.`);
|
|
@@ -1181,23 +1181,23 @@ class Mt {
|
|
|
1181
1181
|
} : this.transport.onclose = (s) => this._stopConnection(s), this.transport.connect(e, n);
|
|
1182
1182
|
}
|
|
1183
1183
|
_resolveTransportOrError(e, n, s, o) {
|
|
1184
|
-
const i =
|
|
1184
|
+
const i = T[e.transport];
|
|
1185
1185
|
if (i == null)
|
|
1186
1186
|
return this._logger.log(l.Debug, `Skipping transport '${e.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);
|
|
1187
1187
|
if ($t(n, i))
|
|
1188
1188
|
if (e.transferFormats.map((c) => D[c]).indexOf(s) >= 0) {
|
|
1189
|
-
if (i ===
|
|
1190
|
-
return this._logger.log(l.Debug, `Skipping transport '${
|
|
1191
|
-
this._logger.log(l.Debug, `Selecting transport '${
|
|
1189
|
+
if (i === T.WebSockets && !this._options.WebSocket || i === T.ServerSentEvents && !this._options.EventSource)
|
|
1190
|
+
return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it is not supported in your environment.'`), new Ye(`'${T[i]}' is not supported in your environment.`, i);
|
|
1191
|
+
this._logger.log(l.Debug, `Selecting transport '${T[i]}'.`);
|
|
1192
1192
|
try {
|
|
1193
|
-
return this.features.reconnect = i ===
|
|
1193
|
+
return this.features.reconnect = i === T.WebSockets ? o : void 0, this._constructTransport(i);
|
|
1194
1194
|
} catch (c) {
|
|
1195
1195
|
return c;
|
|
1196
1196
|
}
|
|
1197
1197
|
} else
|
|
1198
|
-
return this._logger.log(l.Debug, `Skipping transport '${
|
|
1198
|
+
return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it does not support the requested transfer format '${D[s]}'.`), new Error(`'${T[i]}' does not support ${D[s]}.`);
|
|
1199
1199
|
else
|
|
1200
|
-
return this._logger.log(l.Debug, `Skipping transport '${
|
|
1200
|
+
return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it was disabled by the client.`), new Ze(`'${T[i]}' is disabled by the client.`, i);
|
|
1201
1201
|
}
|
|
1202
1202
|
_isITransport(e) {
|
|
1203
1203
|
return e && typeof e == "object" && "connect" in e;
|
|
@@ -1223,7 +1223,7 @@ class Mt {
|
|
|
1223
1223
|
_resolveUrl(e) {
|
|
1224
1224
|
if (e.lastIndexOf("https://", 0) === 0 || e.lastIndexOf("http://", 0) === 0)
|
|
1225
1225
|
return e;
|
|
1226
|
-
if (!
|
|
1226
|
+
if (!L.isBrowser)
|
|
1227
1227
|
throw new Error(`Cannot resolve '${e}'.`);
|
|
1228
1228
|
const n = window.document.createElement("a");
|
|
1229
1229
|
return n.href = e, this._logger.log(l.Information, `Normalizing '${e}' to '${n.href}'.`), n.href;
|
|
@@ -1305,7 +1305,7 @@ class Ot {
|
|
|
1305
1305
|
throw new Error("Invalid input for JSON hub protocol. Expected a string.");
|
|
1306
1306
|
if (!e)
|
|
1307
1307
|
return [];
|
|
1308
|
-
n === null && (n =
|
|
1308
|
+
n === null && (n = Re.instance);
|
|
1309
1309
|
const s = be.parse(e), o = [];
|
|
1310
1310
|
for (const i of s) {
|
|
1311
1311
|
const r = JSON.parse(i);
|
|
@@ -1416,7 +1416,7 @@ class Wt {
|
|
|
1416
1416
|
withAutomaticReconnect(e) {
|
|
1417
1417
|
if (this.reconnectPolicy)
|
|
1418
1418
|
throw new Error("A reconnectPolicy has already been set.");
|
|
1419
|
-
return e ? Array.isArray(e) ? this.reconnectPolicy = new
|
|
1419
|
+
return e ? Array.isArray(e) ? this.reconnectPolicy = new Te(e) : this.reconnectPolicy = e : this.reconnectPolicy = new Te(), this;
|
|
1420
1420
|
}
|
|
1421
1421
|
/** Configures {@link @microsoft/signalr.HubConnection.serverTimeoutInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
|
|
1422
1422
|
*
|
|
@@ -1448,7 +1448,7 @@ class Wt {
|
|
|
1448
1448
|
if (e.logger === void 0 && (e.logger = this.logger), !this.url)
|
|
1449
1449
|
throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
1450
1450
|
const n = new Mt(this.url, e);
|
|
1451
|
-
return
|
|
1451
|
+
return et.create(n, this.logger || Re.instance, this.protocol || new Ot(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
1454
|
function jt(t) {
|
|
@@ -1464,7 +1464,7 @@ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
|
|
|
1464
1464
|
getToken: o
|
|
1465
1465
|
} = z(pe), i = dt(), [r, c] = I(fe.Disconnected), [a, h] = I(!1), u = Q(null), m = Q(o);
|
|
1466
1466
|
m.current = o;
|
|
1467
|
-
const f =
|
|
1467
|
+
const f = q(() => {
|
|
1468
1468
|
var d;
|
|
1469
1469
|
return c(((d = u.current) == null ? void 0 : d.state) ?? fe.Disconnected);
|
|
1470
1470
|
}, []);
|
|
@@ -1528,7 +1528,7 @@ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
|
|
|
1528
1528
|
text: i,
|
|
1529
1529
|
show: r,
|
|
1530
1530
|
textSm: c
|
|
1531
|
-
} =
|
|
1531
|
+
} = tt(), a = c === void 0 ? i.length > xe : c, h = i.length > xe;
|
|
1532
1532
|
let u;
|
|
1533
1533
|
t[0] !== o || t[1] !== s || t[2] !== r ? (u = (p) => {
|
|
1534
1534
|
if (r)
|
|
@@ -1542,21 +1542,21 @@ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
|
|
|
1542
1542
|
break e;
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
|
-
}, t[0] = o, t[1] = s, t[2] = r, t[3] = u) : u = t[3],
|
|
1545
|
+
}, t[0] = o, t[1] = s, t[2] = r, t[3] = u) : u = t[3], nt(u);
|
|
1546
1546
|
const f = h ? void 0 : "sm";
|
|
1547
1547
|
let g;
|
|
1548
|
-
t[4] !== a || t[5] !== i ? (g = /* @__PURE__ */ y(H.Header, { className: "justify-content-center", children: a ? /* @__PURE__ */ y(
|
|
1548
|
+
t[4] !== a || t[5] !== i ? (g = /* @__PURE__ */ y(H.Header, { className: "justify-content-center", children: a ? /* @__PURE__ */ y(ot, { variant: "body", children: i }) : /* @__PURE__ */ y(H.Title, { children: i }) }), t[4] = a, t[5] = i, t[6] = g) : g = t[6];
|
|
1549
1549
|
let w;
|
|
1550
1550
|
t[7] !== n.no || t[8] !== o ? (w = /* @__PURE__ */ y(ie, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: o, children: n.no }), t[7] = n.no, t[8] = o, t[9] = w) : w = t[9];
|
|
1551
1551
|
let b;
|
|
1552
1552
|
t[10] !== n.yes || t[11] !== s ? (b = /* @__PURE__ */ y(ie, { type: "button", color: "primary", onClick: s, className: "w-100 ml", children: n.yes }), t[10] = n.yes, t[11] = s, t[12] = b) : b = t[12];
|
|
1553
1553
|
let d;
|
|
1554
|
-
t[13] !== w || t[14] !== b ? (d = /* @__PURE__ */ y(H.Body, { children: /* @__PURE__ */
|
|
1554
|
+
t[13] !== w || t[14] !== b ? (d = /* @__PURE__ */ y(H.Body, { children: /* @__PURE__ */ R("div", { className: "w-100 d-flex gap-5", children: [
|
|
1555
1555
|
w,
|
|
1556
1556
|
b
|
|
1557
1557
|
] }) }), t[13] = w, t[14] = b, t[15] = d) : d = t[15];
|
|
1558
1558
|
let S;
|
|
1559
|
-
return t[16] !== o || t[17] !== r || t[18] !== f || t[19] !== g || t[20] !== d ? (S = /* @__PURE__ */
|
|
1559
|
+
return t[16] !== o || t[17] !== r || t[18] !== f || t[19] !== g || t[20] !== d ? (S = /* @__PURE__ */ R(H, { show: r, size: f, centered: !0, onHide: o, children: [
|
|
1560
1560
|
g,
|
|
1561
1561
|
d
|
|
1562
1562
|
] }), t[16] = o, t[17] = r, t[18] = f, t[19] = g, t[20] = d, t[21] = S) : S = t[21], S;
|
|
@@ -1570,7 +1570,7 @@ export {
|
|
|
1570
1570
|
an as DelegationProvider,
|
|
1571
1571
|
pn as FormDisabledContext,
|
|
1572
1572
|
wn as FormDisabledProvider,
|
|
1573
|
-
|
|
1573
|
+
Xe as HelmetContext,
|
|
1574
1574
|
ln as HelmetProvider,
|
|
1575
1575
|
je as LoadingContext,
|
|
1576
1576
|
sn as LoadingProvider,
|