react-luminus-components 2.0.5-beta.r19-5 → 2.0.5-beta.r19-7
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 +34 -34
- package/dist/{FormDisabledProvider-BCV0Z3Or.js → FormDisabledProvider-Bg5UMxqT.js} +1 -1
- package/dist/{FormDisabledProvider-CTisdeq-.cjs → FormDisabledProvider-Wte4OKb3.cjs} +1 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +301 -301
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +4 -4
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +8 -9
- package/dist/main.cjs.js +9 -9
- package/dist/main.es.js +1426 -1424
- package/dist/{nivo-bar-CjwNk2vE.cjs → nivo-bar-D9jkkQXQ.cjs} +56 -56
- package/dist/{nivo-bar-C5nQpM2f.js → nivo-bar-Swmjt921.js} +4692 -4696
- package/dist/{useIsFormDirty-CRiP2oPL.cjs → useIsFormDirty-BqN7w6bo.cjs} +1 -1
- package/dist/{useIsFormDirty-DSytgWJ-.js → useIsFormDirty-DBAtEC8s.js} +1 -1
- package/dist/useLocalStorageState-BPkjfiqE.cjs +1 -0
- package/dist/{useLocalStorageState-skKtExdF.js → useLocalStorageState-CGFQxc6A.js} +39 -37
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +73 -74
- package/package.json +2 -3
- package/dist/useLocalStorageState-C1aAxlx5.cjs +0 -1
package/dist/contexts.es.js
CHANGED
|
@@ -1,86 +1,85 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { bR as
|
|
1
|
+
import { t as B, bK as re, c as M, bL as ie, Q, am as ce, bM as se, a4 as O, aj as ue, R as V, bN as fe, aq as de, ao as me, bc as le, bx as ae, be as H, ap as he, bO as Se, aD as te, bP as ge, bQ as xe, an as ye, b7 as ve, a5 as be } from "./nivo-bar-Swmjt921.js";
|
|
2
|
+
import { bR as st, ag as lt } from "./nivo-bar-Swmjt921.js";
|
|
3
3
|
import { jsxs as E, jsx as v } from "react/jsx-runtime";
|
|
4
|
-
import { useState as
|
|
5
|
-
import { EventType as
|
|
6
|
-
import { MsalProvider as
|
|
7
|
-
import "@tanstack/react-query";
|
|
4
|
+
import { useState as T, useContext as R, useEffect as G, useRef as ee, useMemo as K, useCallback as Y } from "react";
|
|
5
|
+
import { EventType as Z, InteractionRequiredAuthError as pe } from "@azure/msal-browser";
|
|
6
|
+
import { MsalProvider as Ce } from "@azure/msal-react";
|
|
8
7
|
import "react-router";
|
|
9
8
|
import "react-dom";
|
|
10
9
|
import "react-hook-form";
|
|
11
10
|
import "react-flexmonster";
|
|
12
|
-
import { L as
|
|
13
|
-
import { F as
|
|
14
|
-
import { a as
|
|
15
|
-
function
|
|
16
|
-
const e =
|
|
11
|
+
import { L as we, b as De } from "./FormDisabledProvider-Bg5UMxqT.js";
|
|
12
|
+
import { F as rt } from "./FormDisabledProvider-Bg5UMxqT.js";
|
|
13
|
+
import { a as ke, u as _e } from "./useLocalStorageState-CGFQxc6A.js";
|
|
14
|
+
function Te(t) {
|
|
15
|
+
const e = B(t);
|
|
17
16
|
return e.setHours(23, 59, 59, 999), e;
|
|
18
17
|
}
|
|
19
|
-
function
|
|
20
|
-
return
|
|
18
|
+
function Pe() {
|
|
19
|
+
return Te(Date.now());
|
|
21
20
|
}
|
|
22
|
-
function
|
|
23
|
-
const u = +
|
|
24
|
-
+
|
|
25
|
-
+
|
|
26
|
-
].sort((
|
|
21
|
+
function Le(t, e) {
|
|
22
|
+
const u = +B(t), [n, s] = [
|
|
23
|
+
+B(e.start),
|
|
24
|
+
+B(e.end)
|
|
25
|
+
].sort((r, o) => r - o);
|
|
27
26
|
return u >= n && u <= s;
|
|
28
27
|
}
|
|
29
|
-
function
|
|
30
|
-
return
|
|
28
|
+
function Ee() {
|
|
29
|
+
return re(Date.now());
|
|
31
30
|
}
|
|
32
|
-
const
|
|
33
|
-
const e =
|
|
31
|
+
const Ae = (t) => {
|
|
32
|
+
const e = M.c(10), {
|
|
34
33
|
children: u
|
|
35
|
-
} = t, [n, s] =
|
|
36
|
-
let
|
|
37
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
34
|
+
} = t, [n, s] = T(!1), [r, o] = T(""), [c, g] = T(void 0);
|
|
35
|
+
let S;
|
|
36
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (S = (y, x) => {
|
|
38
37
|
s(!0), o(y), g(x);
|
|
39
|
-
}, e[0] =
|
|
40
|
-
const m =
|
|
38
|
+
}, e[0] = S) : S = e[0];
|
|
39
|
+
const m = S;
|
|
41
40
|
let d;
|
|
42
41
|
e[1] === Symbol.for("react.memo_cache_sentinel") ? (d = () => {
|
|
43
42
|
s(!1);
|
|
44
43
|
}, e[1] = d) : d = e[1];
|
|
45
|
-
const
|
|
44
|
+
const a = d;
|
|
46
45
|
let l;
|
|
47
|
-
e[2] !== n || e[3] !==
|
|
46
|
+
e[2] !== n || e[3] !== r || e[4] !== c ? (l = {
|
|
48
47
|
show: n,
|
|
49
|
-
text:
|
|
48
|
+
text: r,
|
|
50
49
|
showConfirm: m,
|
|
51
|
-
hideConfirm:
|
|
50
|
+
hideConfirm: a,
|
|
52
51
|
textSm: c
|
|
53
|
-
}, e[2] = n, e[3] =
|
|
52
|
+
}, e[2] = n, e[3] = r, e[4] = c, e[5] = l) : l = e[5];
|
|
54
53
|
const f = l;
|
|
55
54
|
let i;
|
|
56
|
-
e[6] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ v(
|
|
57
|
-
let
|
|
58
|
-
return e[7] !== u || e[8] !== f ? (
|
|
55
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ v(He, {}), e[6] = i) : i = e[6];
|
|
56
|
+
let h;
|
|
57
|
+
return e[7] !== u || e[8] !== f ? (h = /* @__PURE__ */ E(ie.Provider, { value: f, children: [
|
|
59
58
|
i,
|
|
60
59
|
u
|
|
61
|
-
] }), e[7] = u, e[8] = f, e[9] =
|
|
62
|
-
},
|
|
63
|
-
const t =
|
|
60
|
+
] }), e[7] = u, e[8] = f, e[9] = h) : h = e[9], h;
|
|
61
|
+
}, Oe = () => {
|
|
62
|
+
const t = M.c(43), {
|
|
64
63
|
texts: e
|
|
65
|
-
} = R(
|
|
64
|
+
} = R(Q), {
|
|
66
65
|
confirm: u
|
|
67
66
|
} = e, {
|
|
68
67
|
isShown: n,
|
|
69
68
|
text: s,
|
|
70
|
-
onFinish:
|
|
71
|
-
} =
|
|
69
|
+
onFinish: r
|
|
70
|
+
} = ce(), {
|
|
72
71
|
options: o
|
|
73
|
-
} = R(
|
|
74
|
-
let
|
|
75
|
-
t[0] !==
|
|
76
|
-
|
|
77
|
-
}, t[0] =
|
|
78
|
-
const m =
|
|
72
|
+
} = R(se), [c, g] = T(o.defaultValue ?? "");
|
|
73
|
+
let S;
|
|
74
|
+
t[0] !== r ? (S = () => {
|
|
75
|
+
r(null);
|
|
76
|
+
}, t[0] = r, t[1] = S) : S = t[1];
|
|
77
|
+
const m = S;
|
|
79
78
|
let d;
|
|
80
|
-
t[2] !==
|
|
81
|
-
I.preventDefault(), !(o.required && !c) && (
|
|
82
|
-
}, t[2] =
|
|
83
|
-
const
|
|
79
|
+
t[2] !== r || t[3] !== o.required || t[4] !== c ? (d = (I) => {
|
|
80
|
+
I.preventDefault(), !(o.required && !c) && (r(c), g(""));
|
|
81
|
+
}, t[2] = r, t[3] = o.required, t[4] = c, t[5] = d) : d = t[5];
|
|
82
|
+
const a = d;
|
|
84
83
|
let l;
|
|
85
84
|
t[6] === Symbol.for("react.memo_cache_sentinel") ? (l = (I) => g(I.currentTarget.value), t[6] = l) : l = t[6];
|
|
86
85
|
let f;
|
|
@@ -92,340 +91,341 @@ const Ne = (t) => {
|
|
|
92
91
|
tabIndex: 0
|
|
93
92
|
}, t[7] = c, t[8] = f) : f = t[8];
|
|
94
93
|
const i = f;
|
|
95
|
-
let
|
|
96
|
-
t[9] !== n || t[10] !== o.defaultValue ? (
|
|
94
|
+
let h, y;
|
|
95
|
+
t[9] !== n || t[10] !== o.defaultValue ? (h = () => {
|
|
97
96
|
n === !0 && g(o.defaultValue ?? "");
|
|
98
|
-
}, y = [n, o.defaultValue], t[9] = n, t[10] = o.defaultValue, t[11] =
|
|
97
|
+
}, y = [n, o.defaultValue], t[9] = n, t[10] = o.defaultValue, t[11] = h, t[12] = y) : (h = t[11], y = t[12]), G(h, y);
|
|
99
98
|
let x;
|
|
100
|
-
t[13] !== s ? (x = /* @__PURE__ */ v(
|
|
99
|
+
t[13] !== s ? (x = /* @__PURE__ */ v(O.Header, { className: "justify-content-center", children: /* @__PURE__ */ v(O.Title, { children: s }) }), t[13] = s, t[14] = x) : x = t[14];
|
|
101
100
|
let b;
|
|
102
101
|
t[15] !== i || t[16] !== o.input ? (b = o.input === "textarea" ? /* @__PURE__ */ v("textarea", { ...i, rows: 5 }) : void 0, t[15] = i, t[16] = o.input, t[17] = b) : b = t[17];
|
|
103
102
|
let C;
|
|
104
|
-
t[18] !== i || t[19] !== o.input || t[20] !== o.type ? (C = o.input === "input" ? /* @__PURE__ */ v(
|
|
103
|
+
t[18] !== i || t[19] !== o.input || t[20] !== o.type ? (C = o.input === "input" ? /* @__PURE__ */ v(ue, { ...i, type: o.type }) : void 0, t[18] = i, t[19] = o.input, t[20] = o.type, t[21] = C) : C = t[21];
|
|
105
104
|
let p;
|
|
106
|
-
t[22] !== b || t[23] !== C ? (p = /* @__PURE__ */ E(
|
|
105
|
+
t[22] !== b || t[23] !== C ? (p = /* @__PURE__ */ E(O.Body, { children: [
|
|
107
106
|
b,
|
|
108
107
|
C
|
|
109
108
|
] }), t[22] = b, t[23] = C, t[24] = p) : p = t[24];
|
|
110
|
-
let
|
|
111
|
-
t[25] !== u.cancel || t[26] !== m ? (
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
t[28] !== u.confirm || t[29] !==
|
|
115
|
-
let A;
|
|
116
|
-
t[31] !== D || t[32] !== T ? (A = /* @__PURE__ */ E(M.Footer, { className: "w-100 d-flex gap-5", children: [
|
|
117
|
-
D,
|
|
118
|
-
T
|
|
119
|
-
] }), t[31] = D, t[32] = T, t[33] = A) : A = t[33];
|
|
109
|
+
let _;
|
|
110
|
+
t[25] !== u.cancel || t[26] !== m ? (_ = /* @__PURE__ */ v(V, { variant: "outlined", color: "secondary", onClick: m, className: "flex-grow-1", children: u.cancel }), t[25] = u.cancel, t[26] = m, t[27] = _) : _ = t[27];
|
|
111
|
+
const N = o.required && !c;
|
|
112
|
+
let w;
|
|
113
|
+
t[28] !== u.confirm || t[29] !== N ? (w = /* @__PURE__ */ v(V, { color: "primary", disabled: N, type: "submit", className: "flex-grow-1", children: u.confirm }), t[28] = u.confirm, t[29] = N, t[30] = w) : w = t[30];
|
|
120
114
|
let P;
|
|
121
|
-
t[
|
|
115
|
+
t[31] !== _ || t[32] !== w ? (P = /* @__PURE__ */ E(O.Footer, { className: "w-100 d-flex gap-5", children: [
|
|
116
|
+
_,
|
|
117
|
+
w
|
|
118
|
+
] }), t[31] = _, t[32] = w, t[33] = P) : P = t[33];
|
|
119
|
+
let D;
|
|
120
|
+
t[34] !== a || t[35] !== p || t[36] !== P ? (D = /* @__PURE__ */ E("form", { onSubmit: a, onKeyDown: Me, children: [
|
|
122
121
|
p,
|
|
123
|
-
A
|
|
124
|
-
] }), t[34] = r, t[35] = p, t[36] = A, t[37] = P) : P = t[37];
|
|
125
|
-
let w;
|
|
126
|
-
return t[38] !== n || t[39] !== m || t[40] !== P || t[41] !== x ? (w = /* @__PURE__ */ E(M, { show: n, size: "sm", centered: !0, onHide: m, children: [
|
|
127
|
-
x,
|
|
128
122
|
P
|
|
129
|
-
] }), t[
|
|
123
|
+
] }), t[34] = a, t[35] = p, t[36] = P, t[37] = D) : D = t[37];
|
|
124
|
+
let A;
|
|
125
|
+
return t[38] !== n || t[39] !== m || t[40] !== D || t[41] !== x ? (A = /* @__PURE__ */ E(O, { show: n, size: "sm", centered: !0, onHide: m, children: [
|
|
126
|
+
x,
|
|
127
|
+
D
|
|
128
|
+
] }), t[38] = n, t[39] = m, t[40] = D, t[41] = x, t[42] = A) : A = t[42], A;
|
|
130
129
|
};
|
|
131
|
-
function
|
|
130
|
+
function Me(t) {
|
|
132
131
|
return t.stopPropagation();
|
|
133
132
|
}
|
|
134
|
-
const
|
|
135
|
-
const e =
|
|
133
|
+
const Ne = (t) => {
|
|
134
|
+
const e = M.c(11), {
|
|
136
135
|
children: u
|
|
137
|
-
} = t, [n, s] =
|
|
136
|
+
} = t, [n, s] = T(!1), [r, o] = T("");
|
|
138
137
|
let c;
|
|
139
138
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
140
139
|
input: "textarea",
|
|
141
140
|
type: "text"
|
|
142
141
|
}, e[0] = c) : c = e[0];
|
|
143
|
-
const [g,
|
|
142
|
+
const [g, S] = T(c), m = ee(Ie);
|
|
144
143
|
let d;
|
|
145
144
|
e[1] === Symbol.for("react.memo_cache_sentinel") ? (d = (b) => {
|
|
146
145
|
o(b), s(!0);
|
|
147
146
|
}, e[1] = d) : d = e[1];
|
|
148
|
-
const
|
|
147
|
+
const a = d;
|
|
149
148
|
let l;
|
|
150
149
|
e[2] === Symbol.for("react.memo_cache_sentinel") ? (l = () => {
|
|
151
150
|
s(!1);
|
|
152
151
|
}, e[2] = l) : l = e[2];
|
|
153
152
|
const f = l;
|
|
154
153
|
let i;
|
|
155
|
-
e[3] !== n || e[4] !== g || e[5] !==
|
|
154
|
+
e[3] !== n || e[4] !== g || e[5] !== r ? (i = {
|
|
156
155
|
isShown: n,
|
|
157
|
-
text:
|
|
158
|
-
showPrompt:
|
|
156
|
+
text: r,
|
|
157
|
+
showPrompt: a,
|
|
159
158
|
hidePrompt: f,
|
|
160
159
|
resolveRef: m,
|
|
161
160
|
options: g,
|
|
162
|
-
setOptions:
|
|
163
|
-
}, e[3] = n, e[4] = g, e[5] =
|
|
164
|
-
const
|
|
161
|
+
setOptions: S
|
|
162
|
+
}, e[3] = n, e[4] = g, e[5] = r, e[6] = i) : i = e[6];
|
|
163
|
+
const h = i;
|
|
165
164
|
let y;
|
|
166
|
-
e[7] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ v(
|
|
165
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ v(Oe, {}), e[7] = y) : y = e[7];
|
|
167
166
|
let x;
|
|
168
|
-
return e[8] !== u || e[9] !==
|
|
167
|
+
return e[8] !== u || e[9] !== h ? (x = /* @__PURE__ */ E(se.Provider, { value: h, children: [
|
|
169
168
|
u,
|
|
170
169
|
y
|
|
171
|
-
] }), e[8] = u, e[9] =
|
|
170
|
+
] }), e[8] = u, e[9] = h, e[10] = x) : x = e[10], x;
|
|
172
171
|
};
|
|
173
|
-
function
|
|
172
|
+
function Ie() {
|
|
174
173
|
}
|
|
175
|
-
const
|
|
176
|
-
const e =
|
|
174
|
+
const We = (t) => {
|
|
175
|
+
const e = M.c(14), {
|
|
177
176
|
cookieDomain: u,
|
|
178
177
|
axiosOptions: n,
|
|
179
178
|
language: s,
|
|
180
|
-
texts:
|
|
179
|
+
texts: r,
|
|
181
180
|
ProjectIconComponent: o,
|
|
182
181
|
localizationContext: c,
|
|
183
182
|
chartColorPalette: g,
|
|
184
|
-
children:
|
|
183
|
+
children: S
|
|
185
184
|
} = t;
|
|
186
185
|
let m;
|
|
187
|
-
e[0] !== o || e[1] !== n || e[2] !== g || e[3] !== u || e[4] !== s || e[5] !== c || e[6] !==
|
|
186
|
+
e[0] !== o || e[1] !== n || e[2] !== g || e[3] !== u || e[4] !== s || e[5] !== c || e[6] !== r ? (m = {
|
|
188
187
|
axiosOptions: n,
|
|
189
188
|
cookieDomain: u,
|
|
190
189
|
language: s,
|
|
191
|
-
texts:
|
|
190
|
+
texts: r,
|
|
192
191
|
ProjectIconComponent: o,
|
|
193
192
|
localizationContext: c,
|
|
194
193
|
chartColorPalette: g
|
|
195
|
-
}, e[0] = o, e[1] = n, e[2] = g, e[3] = u, e[4] = s, e[5] = c, e[6] =
|
|
194
|
+
}, e[0] = o, e[1] = n, e[2] = g, e[3] = u, e[4] = s, e[5] = c, e[6] = r, e[7] = m) : m = e[7];
|
|
196
195
|
const d = m;
|
|
197
|
-
let
|
|
198
|
-
e[8] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
196
|
+
let a;
|
|
197
|
+
e[8] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ v(fe, {}), e[8] = a) : a = e[8];
|
|
199
198
|
let l;
|
|
200
|
-
e[9] !==
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
] }) }), e[9] =
|
|
199
|
+
e[9] !== S ? (l = /* @__PURE__ */ v(Ae, { children: /* @__PURE__ */ E(Ne, { children: [
|
|
200
|
+
a,
|
|
201
|
+
S
|
|
202
|
+
] }) }), e[9] = S, e[10] = l) : l = e[10];
|
|
204
203
|
let f;
|
|
205
|
-
return e[11] !== d || e[12] !== l ? (f = /* @__PURE__ */ v(
|
|
206
|
-
},
|
|
207
|
-
const e =
|
|
204
|
+
return e[11] !== d || e[12] !== l ? (f = /* @__PURE__ */ v(Q.Provider, { value: d, children: l }), e[11] = d, e[12] = l, e[13] = f) : f = e[13], f;
|
|
205
|
+
}, Xe = (t) => {
|
|
206
|
+
const e = M.c(15), {
|
|
208
207
|
children: u
|
|
209
|
-
} = t, [n, s] =
|
|
210
|
-
let
|
|
211
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
212
|
-
const [o] =
|
|
208
|
+
} = t, [n, s] = T(!1);
|
|
209
|
+
let r;
|
|
210
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ new Set(), e[0] = r) : r = e[0];
|
|
211
|
+
const [o] = T(r);
|
|
213
212
|
let c;
|
|
214
213
|
e[1] !== o ? (c = (i) => {
|
|
215
214
|
o.add(i), s(!0);
|
|
216
215
|
}, e[1] = o, e[2] = c) : c = e[2];
|
|
217
216
|
const g = c;
|
|
218
|
-
let
|
|
219
|
-
e[3] !== o ? (
|
|
217
|
+
let S;
|
|
218
|
+
e[3] !== o ? (S = (i) => {
|
|
220
219
|
o.delete(i), o.size === 0 && s(!1);
|
|
221
|
-
}, e[3] = o, e[4] =
|
|
222
|
-
const m =
|
|
220
|
+
}, e[3] = o, e[4] = S) : S = e[4];
|
|
221
|
+
const m = S;
|
|
223
222
|
let d;
|
|
224
223
|
e[5] !== n || e[6] !== g || e[7] !== m ? (d = {
|
|
225
224
|
isLoading: n,
|
|
226
225
|
startLoading: g,
|
|
227
226
|
stopLoading: m
|
|
228
227
|
}, e[5] = n, e[6] = g, e[7] = m, e[8] = d) : d = e[8];
|
|
229
|
-
const
|
|
228
|
+
const a = d;
|
|
230
229
|
let l;
|
|
231
|
-
e[9] !== n ? (l = n && /* @__PURE__ */ v(
|
|
230
|
+
e[9] !== n ? (l = n && /* @__PURE__ */ v(we, {}), e[9] = n, e[10] = l) : l = e[10];
|
|
232
231
|
let f;
|
|
233
|
-
return e[11] !== u || e[12] !==
|
|
232
|
+
return e[11] !== u || e[12] !== a || e[13] !== l ? (f = /* @__PURE__ */ E(de.Provider, { value: a, children: [
|
|
234
233
|
l,
|
|
235
234
|
u
|
|
236
|
-
] }), e[11] = u, e[12] =
|
|
237
|
-
},
|
|
238
|
-
const e =
|
|
235
|
+
] }), e[11] = u, e[12] = a, e[13] = l, e[14] = f) : f = e[14], f;
|
|
236
|
+
}, Ye = (t) => {
|
|
237
|
+
const e = M.c(39), {
|
|
239
238
|
children: u
|
|
240
|
-
} = t, n =
|
|
239
|
+
} = t, n = me(), {
|
|
241
240
|
msalInstance: s,
|
|
242
|
-
getToken:
|
|
243
|
-
} = R(
|
|
241
|
+
getToken: r
|
|
242
|
+
} = R(le), {
|
|
244
243
|
delegation: o,
|
|
245
244
|
setDelegation: c,
|
|
246
245
|
setAvailableDelegations: g,
|
|
247
|
-
refreshAvailableDelegations:
|
|
248
|
-
} = R(
|
|
249
|
-
let
|
|
250
|
-
e[0] !==
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
}, e[0] =
|
|
254
|
-
const l =
|
|
246
|
+
refreshAvailableDelegations: S
|
|
247
|
+
} = R(ae), [m, d] = T(null);
|
|
248
|
+
let a;
|
|
249
|
+
e[0] !== r ? (a = async () => {
|
|
250
|
+
const k = await r();
|
|
251
|
+
k && d(k.token);
|
|
252
|
+
}, e[0] = r, e[1] = a) : a = e[1];
|
|
253
|
+
const l = a;
|
|
255
254
|
let f, i;
|
|
256
255
|
e[2] !== l ? (f = () => {
|
|
257
256
|
l();
|
|
258
|
-
}, i = [l], e[2] = l, e[3] = f, e[4] = i) : (f = e[3], i = e[4]),
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
257
|
+
}, i = [l], e[2] = l, e[3] = f, e[4] = i) : (f = e[3], i = e[4]), G(f, i);
|
|
258
|
+
let h;
|
|
259
|
+
if (e[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
260
|
+
e: {
|
|
261
|
+
const k = localStorage.getItem("user") ?? null;
|
|
262
|
+
if (!k) {
|
|
263
|
+
h = null;
|
|
264
|
+
break e;
|
|
265
|
+
}
|
|
266
|
+
h = JSON.parse(k ?? "");
|
|
267
|
+
}
|
|
268
|
+
e[5] = h;
|
|
269
|
+
} else
|
|
270
|
+
h = e[5];
|
|
271
|
+
const y = h;
|
|
272
|
+
let x;
|
|
273
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (x = {
|
|
274
|
+
state: y ? H.LOGGED_IN : H.LOGGING_IN,
|
|
275
|
+
user: y
|
|
276
|
+
}, e[6] = x) : x = e[6];
|
|
277
|
+
const [b, C] = T(x);
|
|
278
|
+
let p;
|
|
279
|
+
e[7] !== n ? (p = async (k) => {
|
|
271
280
|
let L = null;
|
|
272
|
-
return await n.get("/user/detail",
|
|
281
|
+
return await n.get("/user/detail", k ? {
|
|
273
282
|
headers: {
|
|
274
|
-
Authorization: `Bearer ${
|
|
283
|
+
Authorization: `Bearer ${k}`
|
|
275
284
|
}
|
|
276
|
-
} : void 0).then((
|
|
277
|
-
L =
|
|
285
|
+
} : void 0).then((X) => {
|
|
286
|
+
L = X.data;
|
|
278
287
|
}).catch(() => {
|
|
279
288
|
L = null;
|
|
280
289
|
}), L;
|
|
281
|
-
}, e[7] = n, e[8] =
|
|
282
|
-
const
|
|
283
|
-
let
|
|
284
|
-
e[9] !== g || e[10] !== c ? (
|
|
285
|
-
localStorage.removeItem("user"),
|
|
290
|
+
}, e[7] = n, e[8] = p) : p = e[8];
|
|
291
|
+
const _ = p;
|
|
292
|
+
let N;
|
|
293
|
+
e[9] !== g || e[10] !== c ? (N = () => {
|
|
294
|
+
localStorage.removeItem("user"), C({
|
|
286
295
|
state: H.LOGGED_OUT,
|
|
287
296
|
user: null
|
|
288
297
|
}), c(null), g(null);
|
|
289
|
-
}, e[9] = g, e[10] = c, e[11] =
|
|
290
|
-
const
|
|
298
|
+
}, e[9] = g, e[10] = c, e[11] = N) : N = e[11];
|
|
299
|
+
const w = N;
|
|
291
300
|
let P;
|
|
292
|
-
e[12] !==
|
|
293
|
-
|
|
301
|
+
e[12] !== _ || e[13] !== S ? (P = async (k) => {
|
|
302
|
+
C({
|
|
294
303
|
state: H.LOGGING_IN,
|
|
295
304
|
user: null
|
|
296
305
|
});
|
|
297
|
-
const L = await
|
|
298
|
-
return L ? (
|
|
306
|
+
const L = await _(k);
|
|
307
|
+
return L ? (C({
|
|
299
308
|
state: H.LOGGED_IN,
|
|
300
309
|
user: L
|
|
301
|
-
}), localStorage.setItem("user", JSON.stringify(L)), await
|
|
310
|
+
}), localStorage.setItem("user", JSON.stringify(L)), await S(), !0) : (C({
|
|
302
311
|
state: H.LOGIN_FAILED,
|
|
303
312
|
user: null
|
|
304
313
|
}), !1);
|
|
305
|
-
}, e[12] =
|
|
306
|
-
const
|
|
307
|
-
let
|
|
308
|
-
e[15] !==
|
|
309
|
-
A();
|
|
310
|
-
}, e[15] = A, e[16] = I) : I = e[16];
|
|
311
|
-
const O = I;
|
|
312
|
-
let q;
|
|
313
|
-
e[17] !== s ? (q = () => {
|
|
314
|
+
}, e[12] = _, e[13] = S, e[14] = P) : P = e[14];
|
|
315
|
+
const D = P;
|
|
316
|
+
let A;
|
|
317
|
+
e[15] !== s ? (A = () => {
|
|
314
318
|
if (s) {
|
|
315
|
-
const
|
|
316
|
-
if (L.eventType ===
|
|
317
|
-
const
|
|
318
|
-
d(
|
|
319
|
+
const k = s.addEventCallback((L) => {
|
|
320
|
+
if (L.eventType === Z.LOGIN_SUCCESS && L.payload) {
|
|
321
|
+
const X = L.payload;
|
|
322
|
+
d(X.accessToken);
|
|
319
323
|
}
|
|
320
324
|
});
|
|
321
325
|
return () => {
|
|
322
|
-
|
|
326
|
+
k && s.removeEventCallback(k);
|
|
323
327
|
};
|
|
324
328
|
}
|
|
325
|
-
return
|
|
326
|
-
}, e[
|
|
329
|
+
return Ge;
|
|
330
|
+
}, e[15] = s, e[16] = A) : A = e[16];
|
|
331
|
+
let I;
|
|
332
|
+
e[17] !== D || e[18] !== w || e[19] !== s ? (I = [s, D, w], e[17] = D, e[18] = w, e[19] = s, e[20] = I) : I = e[20], G(A, I);
|
|
333
|
+
let U;
|
|
334
|
+
e[21] !== D || e[22] !== w || e[23] !== c ? (U = async (k) => {
|
|
335
|
+
k && await D(k).catch(() => {
|
|
336
|
+
w(), c(null);
|
|
337
|
+
});
|
|
338
|
+
}, e[21] = D, e[22] = w, e[23] = c, e[24] = U) : U = e[24];
|
|
339
|
+
const $ = U;
|
|
340
|
+
let q;
|
|
341
|
+
e[25] !== m || e[26] !== $ ? (q = () => {
|
|
342
|
+
$(m);
|
|
343
|
+
}, e[25] = m, e[26] = $, e[27] = q) : q = e[27];
|
|
344
|
+
const J = o == null ? void 0 : o.id;
|
|
327
345
|
let F;
|
|
328
|
-
e[
|
|
346
|
+
e[28] !== m || e[29] !== $ || e[30] !== J ? (F = [m, J, $], e[28] = m, e[29] = $, e[30] = J, e[31] = F) : F = e[31], G(q, F);
|
|
329
347
|
let z;
|
|
330
|
-
e[
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
348
|
+
e[32] !== D || e[33] !== w || e[34] !== b ? (z = {
|
|
349
|
+
user: b.user,
|
|
350
|
+
userLoginState: b,
|
|
351
|
+
loginUser: D,
|
|
352
|
+
logoutUser: w
|
|
353
|
+
}, e[32] = D, e[33] = w, e[34] = b, e[35] = z) : z = e[35];
|
|
354
|
+
const W = z;
|
|
336
355
|
let j;
|
|
337
|
-
e[
|
|
338
|
-
$(m);
|
|
339
|
-
}, e[27] = m, e[28] = $, e[29] = j) : j = e[29];
|
|
340
|
-
const Y = o == null ? void 0 : o.id;
|
|
341
|
-
let K;
|
|
342
|
-
e[30] !== m || e[31] !== $ || e[32] !== Y ? (K = [m, Y, $], e[30] = m, e[31] = $, e[32] = Y, e[33] = K) : K = e[33], U(j, K);
|
|
343
|
-
let B;
|
|
344
|
-
e[34] !== w || e[35] !== O || e[36] !== C ? (B = {
|
|
345
|
-
user: C.user,
|
|
346
|
-
userLoginState: C,
|
|
347
|
-
loginUser: w,
|
|
348
|
-
logoutUser: O
|
|
349
|
-
}, e[34] = w, e[35] = O, e[36] = C, e[37] = B) : B = e[37];
|
|
350
|
-
const Z = B;
|
|
351
|
-
let V;
|
|
352
|
-
return e[38] !== u || e[39] !== Z ? (V = /* @__PURE__ */ v(xe.Provider, { value: Z, children: u }), e[38] = u, e[39] = Z, e[40] = V) : V = e[40], V;
|
|
356
|
+
return e[36] !== u || e[37] !== W ? (j = /* @__PURE__ */ v(he.Provider, { value: W, children: u }), e[36] = u, e[37] = W, e[38] = j) : j = e[38], j;
|
|
353
357
|
};
|
|
354
|
-
function
|
|
355
|
-
const t = localStorage.getItem("user") ?? null;
|
|
356
|
-
return t ? JSON.parse(t ?? "") : null;
|
|
357
|
-
}
|
|
358
|
-
function Re() {
|
|
358
|
+
function Ge() {
|
|
359
359
|
}
|
|
360
|
-
const
|
|
360
|
+
const Ze = ({
|
|
361
361
|
...t
|
|
362
362
|
}) => {
|
|
363
363
|
const {
|
|
364
364
|
cookieDomain: e
|
|
365
|
-
} = R(
|
|
365
|
+
} = R(Q), [, u] = Se(["Authorization"]), n = K(
|
|
366
366
|
() => t.useMsal ? t.msalInstance : null,
|
|
367
367
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
368
368
|
[t.useMsal, t.useMsal ? t.msalInstance : null]
|
|
369
|
-
), s =
|
|
369
|
+
), s = K(
|
|
370
370
|
() => t.useMsal ? t.msalScopes : [],
|
|
371
371
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
372
372
|
[t.useMsal, t.useMsal ? t.msalScopes : null]
|
|
373
|
-
),
|
|
373
|
+
), r = K(
|
|
374
374
|
() => t.useMsal ? t.msalExtraScopes : [],
|
|
375
375
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
376
376
|
[t.useMsal, t.useMsal ? t.msalExtraScopes : null]
|
|
377
|
-
), o =
|
|
377
|
+
), o = ee(null), c = Y(() => {
|
|
378
378
|
const d = localStorage.getItem("token");
|
|
379
379
|
return d ? {
|
|
380
380
|
token: d,
|
|
381
|
-
expiresOn:
|
|
381
|
+
expiresOn: De(new Date(Date.now()), 1)
|
|
382
382
|
} : null;
|
|
383
|
-
}, []), g =
|
|
383
|
+
}, []), g = Y(async () => {
|
|
384
384
|
var f;
|
|
385
385
|
if (o.current) return o.current;
|
|
386
|
-
const d = n == null ? void 0 : n.getActiveAccount(),
|
|
387
|
-
if (!
|
|
388
|
-
d || n == null || n.setActiveAccount(
|
|
386
|
+
const d = n == null ? void 0 : n.getActiveAccount(), a = d ?? ((f = n == null ? void 0 : n.getAllAccounts()) == null ? void 0 : f.at(0)) ?? void 0;
|
|
387
|
+
if (!a) return null;
|
|
388
|
+
d || n == null || n.setActiveAccount(a);
|
|
389
389
|
const l = n == null ? void 0 : n.acquireTokenSilent({
|
|
390
390
|
scopes: s,
|
|
391
|
-
account:
|
|
391
|
+
account: a
|
|
392
392
|
}).then((i) => ({
|
|
393
393
|
token: i.accessToken,
|
|
394
394
|
expiresOn: i.expiresOn ?? new Date(Date.now())
|
|
395
395
|
})).catch((i) => {
|
|
396
|
-
if (console.error("Error acquiring token", i), i instanceof
|
|
396
|
+
if (console.error("Error acquiring token", i), i instanceof pe)
|
|
397
397
|
return console.log("Silent token acquisition failed. Acquiring token using redirect"), n == null || n.acquireTokenRedirect({
|
|
398
398
|
scopes: s,
|
|
399
|
-
extraScopesToConsent:
|
|
399
|
+
extraScopesToConsent: r
|
|
400
400
|
}), null;
|
|
401
401
|
throw i;
|
|
402
402
|
}).finally(() => {
|
|
403
403
|
o.current = null;
|
|
404
404
|
});
|
|
405
405
|
return o.current = l ?? null, l ?? null;
|
|
406
|
-
}, [n, s,
|
|
406
|
+
}, [n, s, r]), S = Y(async () => t.useMsal ? g() : c(), [c, g, t.useMsal]), m = K(() => ({
|
|
407
407
|
useMsal: t.useMsal ?? !1,
|
|
408
408
|
msalInstance: n,
|
|
409
409
|
msalScopes: s,
|
|
410
|
-
msalExtraScopes:
|
|
411
|
-
getToken:
|
|
412
|
-
}), [t.useMsal, n, s,
|
|
413
|
-
return
|
|
410
|
+
msalExtraScopes: r,
|
|
411
|
+
getToken: S
|
|
412
|
+
}), [t.useMsal, n, s, r, S]);
|
|
413
|
+
return G(() => {
|
|
414
414
|
if (t.useMsal && n) {
|
|
415
|
-
const d = n.addEventCallback((
|
|
416
|
-
if (
|
|
417
|
-
const l =
|
|
415
|
+
const d = n.addEventCallback((a) => {
|
|
416
|
+
if (a.eventType === Z.LOGIN_SUCCESS || a.eventType === Z.ACQUIRE_TOKEN_SUCCESS && a.payload) {
|
|
417
|
+
const l = a.payload, f = l.account;
|
|
418
418
|
n.setActiveAccount(f);
|
|
419
|
-
const i = l.accessToken,
|
|
419
|
+
const i = l.accessToken, h = l.expiresOn;
|
|
420
420
|
u("Authorization", i, {
|
|
421
421
|
path: "/",
|
|
422
422
|
secure: !0,
|
|
423
423
|
sameSite: "none",
|
|
424
424
|
domain: e,
|
|
425
|
-
expires:
|
|
425
|
+
expires: h ?? void 0
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
|
-
|
|
428
|
+
a.error && console.error("AuthProvider MSAL Error", a);
|
|
429
429
|
});
|
|
430
430
|
return () => {
|
|
431
431
|
d && n.removeEventCallback(d);
|
|
@@ -433,123 +433,123 @@ const st = ({
|
|
|
433
433
|
}
|
|
434
434
|
return () => {
|
|
435
435
|
};
|
|
436
|
-
}, [t.useMsal, n, u, e]), /* @__PURE__ */ v(
|
|
437
|
-
},
|
|
438
|
-
const e =
|
|
436
|
+
}, [t.useMsal, n, u, e]), /* @__PURE__ */ v(le.Provider, { value: m, children: t.useMsal ? /* @__PURE__ */ v(Ce, { instance: t.msalInstance, children: t.children }) : t.children });
|
|
437
|
+
}, et = (t) => {
|
|
438
|
+
const e = M.c(18), {
|
|
439
439
|
children: u,
|
|
440
440
|
relativeEndpoint: n
|
|
441
|
-
} = t, [s,
|
|
441
|
+
} = t, [s, r, o] = ke("user-delegation", null);
|
|
442
442
|
let c;
|
|
443
443
|
e: {
|
|
444
444
|
if (!s) {
|
|
445
445
|
c = null;
|
|
446
446
|
break e;
|
|
447
447
|
}
|
|
448
|
-
const p = s.from ?
|
|
449
|
-
if (!
|
|
448
|
+
const p = s.from ? te(s.from) : Ee(), _ = s.to ? te(s.to) : Pe();
|
|
449
|
+
if (!Le(new Date(Date.now()), {
|
|
450
450
|
start: p,
|
|
451
|
-
end:
|
|
451
|
+
end: _
|
|
452
452
|
})) {
|
|
453
|
-
|
|
453
|
+
r(null), c = null;
|
|
454
454
|
break e;
|
|
455
455
|
}
|
|
456
456
|
c = s;
|
|
457
457
|
}
|
|
458
458
|
const g = c;
|
|
459
|
-
let
|
|
460
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
459
|
+
let S;
|
|
460
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (S = {
|
|
461
461
|
nullStateBeforeLoad: !1,
|
|
462
462
|
nullStateOnFail: !0
|
|
463
|
-
}, e[0] =
|
|
463
|
+
}, e[0] = S) : S = e[0];
|
|
464
464
|
const {
|
|
465
465
|
data: m,
|
|
466
466
|
setData: d,
|
|
467
|
-
reloadData:
|
|
468
|
-
} =
|
|
467
|
+
reloadData: a
|
|
468
|
+
} = _e(n, S), l = ee(null);
|
|
469
469
|
let f, i;
|
|
470
|
-
e[1] !==
|
|
470
|
+
e[1] !== a ? (f = () => {
|
|
471
471
|
const p = () => {
|
|
472
|
-
|
|
472
|
+
a(), l.current = window.setTimeout(p, ge() + 5e3);
|
|
473
473
|
};
|
|
474
474
|
return p(), () => {
|
|
475
475
|
l.current !== null && window.clearTimeout(l.current);
|
|
476
476
|
};
|
|
477
|
-
}, i = [
|
|
478
|
-
let
|
|
479
|
-
e[4] !== o ? (
|
|
477
|
+
}, i = [a], e[1] = a, e[2] = f, e[3] = i) : (f = e[2], i = e[3]), G(f, i);
|
|
478
|
+
let h;
|
|
479
|
+
e[4] !== o ? (h = () => {
|
|
480
480
|
const p = () => {
|
|
481
481
|
o();
|
|
482
482
|
};
|
|
483
483
|
return window.addEventListener("focus", p), () => {
|
|
484
484
|
window.removeEventListener("focus", p);
|
|
485
485
|
};
|
|
486
|
-
}, e[4] = o, e[5] =
|
|
486
|
+
}, e[4] = o, e[5] = h) : h = e[5];
|
|
487
487
|
let y;
|
|
488
|
-
e[6] !== o || e[7] !==
|
|
488
|
+
e[6] !== o || e[7] !== a ? (y = [o, a], e[6] = o, e[7] = a, e[8] = y) : y = e[8], G(h, y);
|
|
489
489
|
let x;
|
|
490
|
-
e[9] !== m || e[10] !==
|
|
490
|
+
e[9] !== m || e[10] !== a || e[11] !== d || e[12] !== r || e[13] !== g ? (x = {
|
|
491
491
|
delegation: g,
|
|
492
|
-
setDelegation:
|
|
492
|
+
setDelegation: r,
|
|
493
493
|
availableDelegations: m,
|
|
494
494
|
setAvailableDelegations: d,
|
|
495
|
-
refreshAvailableDelegations:
|
|
496
|
-
}, e[9] = m, e[10] =
|
|
495
|
+
refreshAvailableDelegations: a
|
|
496
|
+
}, e[9] = m, e[10] = a, e[11] = d, e[12] = r, e[13] = g, e[14] = x) : x = e[14];
|
|
497
497
|
const b = x;
|
|
498
498
|
let C;
|
|
499
|
-
return e[15] !== u || e[16] !== b ? (C = /* @__PURE__ */ v(
|
|
500
|
-
},
|
|
501
|
-
const e =
|
|
499
|
+
return e[15] !== u || e[16] !== b ? (C = /* @__PURE__ */ v(ae.Provider, { value: b, children: u }), e[15] = u, e[16] = b, e[17] = C) : C = e[17], C;
|
|
500
|
+
}, ne = (t, e) => t ? `${t} | ${e}` : e, tt = (t) => {
|
|
501
|
+
const e = M.c(18), {
|
|
502
502
|
defaultHelmet: u,
|
|
503
503
|
children: n,
|
|
504
504
|
helmetPrefix: s
|
|
505
|
-
} = t,
|
|
505
|
+
} = t, r = s ?? "";
|
|
506
506
|
let o;
|
|
507
|
-
e[0] !== u || e[1] !==
|
|
507
|
+
e[0] !== u || e[1] !== r ? (o = ne(r, u), e[0] = u, e[1] = r, e[2] = o) : o = e[2];
|
|
508
508
|
let c;
|
|
509
509
|
e[3] !== o ? (c = [o], e[3] = o, e[4] = c) : c = e[4];
|
|
510
|
-
const [g,
|
|
510
|
+
const [g, S] = T(c);
|
|
511
511
|
let m;
|
|
512
512
|
e[5] !== s ? (m = (C) => {
|
|
513
|
-
|
|
513
|
+
S((p) => [...p, ne(s ?? "", C)]);
|
|
514
514
|
}, e[5] = s, e[6] = m) : m = e[6];
|
|
515
515
|
const d = m;
|
|
516
|
-
let
|
|
517
|
-
e[7] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
518
|
-
|
|
519
|
-
}, e[7] =
|
|
520
|
-
const l =
|
|
516
|
+
let a;
|
|
517
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (a = () => {
|
|
518
|
+
S($e);
|
|
519
|
+
}, e[7] = a) : a = e[7];
|
|
520
|
+
const l = a;
|
|
521
521
|
let f;
|
|
522
522
|
e[8] !== g ? (f = g.at(-1) ?? "", e[8] = g, e[9] = f) : f = e[9];
|
|
523
523
|
const i = f;
|
|
524
|
-
let
|
|
525
|
-
e[10] !== d ? (
|
|
524
|
+
let h;
|
|
525
|
+
e[10] !== d ? (h = {
|
|
526
526
|
addHelmet: d,
|
|
527
527
|
removeHelmet: l
|
|
528
|
-
}, e[10] = d, e[11] =
|
|
529
|
-
const y =
|
|
528
|
+
}, e[10] = d, e[11] = h) : h = e[11];
|
|
529
|
+
const y = h;
|
|
530
530
|
let x;
|
|
531
531
|
e[12] !== i ? (x = /* @__PURE__ */ v("title", { children: i }), e[12] = i, e[13] = x) : x = e[13];
|
|
532
532
|
let b;
|
|
533
|
-
return e[14] !== n || e[15] !== y || e[16] !== x ? (b = /* @__PURE__ */ E(
|
|
533
|
+
return e[14] !== n || e[15] !== y || e[16] !== x ? (b = /* @__PURE__ */ E(xe.Provider, { value: y, children: [
|
|
534
534
|
x,
|
|
535
535
|
n
|
|
536
536
|
] }), e[14] = n, e[15] = y, e[16] = x, e[17] = b) : b = e[17], b;
|
|
537
537
|
};
|
|
538
|
-
function
|
|
538
|
+
function $e(t) {
|
|
539
539
|
return t.length > 1 ? t.slice(0, -1) : t;
|
|
540
540
|
}
|
|
541
|
-
const
|
|
542
|
-
const t =
|
|
541
|
+
const oe = 50, He = () => {
|
|
542
|
+
const t = M.c(22), {
|
|
543
543
|
texts: e
|
|
544
|
-
} = R(
|
|
544
|
+
} = R(Q), {
|
|
545
545
|
confirm: u
|
|
546
546
|
} = e, {
|
|
547
547
|
onConfirm: n,
|
|
548
548
|
onCancel: s,
|
|
549
|
-
text:
|
|
549
|
+
text: r,
|
|
550
550
|
show: o,
|
|
551
551
|
textSm: c
|
|
552
|
-
} =
|
|
552
|
+
} = ye(), g = c === void 0 ? r.length > oe : c, S = r.length > oe;
|
|
553
553
|
let m;
|
|
554
554
|
t[0] !== s || t[1] !== n || t[2] !== o ? (m = (x) => {
|
|
555
555
|
if (o)
|
|
@@ -563,39 +563,39 @@ const re = 50, Fe = () => {
|
|
|
563
563
|
break e;
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
}, t[0] = s, t[1] = n, t[2] = o, t[3] = m) : m = t[3],
|
|
567
|
-
const
|
|
566
|
+
}, t[0] = s, t[1] = n, t[2] = o, t[3] = m) : m = t[3], ve(m);
|
|
567
|
+
const a = S ? void 0 : "sm";
|
|
568
568
|
let l;
|
|
569
|
-
t[4] !== g || t[5] !==
|
|
569
|
+
t[4] !== g || t[5] !== r ? (l = /* @__PURE__ */ v(O.Header, { className: "justify-content-center", children: g ? /* @__PURE__ */ v(be, { variant: "body", children: r }) : /* @__PURE__ */ v(O.Title, { children: r }) }), t[4] = g, t[5] = r, t[6] = l) : l = t[6];
|
|
570
570
|
let f;
|
|
571
|
-
t[7] !== u.no || t[8] !== s ? (f = /* @__PURE__ */ v(
|
|
571
|
+
t[7] !== u.no || t[8] !== s ? (f = /* @__PURE__ */ v(V, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: s, children: u.no }), t[7] = u.no, t[8] = s, t[9] = f) : f = t[9];
|
|
572
572
|
let i;
|
|
573
|
-
t[10] !== u.yes || t[11] !== n ? (i = /* @__PURE__ */ v(
|
|
574
|
-
let
|
|
575
|
-
t[13] !== f || t[14] !== i ? (
|
|
573
|
+
t[10] !== u.yes || t[11] !== n ? (i = /* @__PURE__ */ v(V, { type: "button", color: "primary", onClick: n, className: "w-100 ml", children: u.yes }), t[10] = u.yes, t[11] = n, t[12] = i) : i = t[12];
|
|
574
|
+
let h;
|
|
575
|
+
t[13] !== f || t[14] !== i ? (h = /* @__PURE__ */ v(O.Body, { children: /* @__PURE__ */ E("div", { className: "w-100 d-flex gap-5", children: [
|
|
576
576
|
f,
|
|
577
577
|
i
|
|
578
|
-
] }) }), t[13] = f, t[14] = i, t[15] =
|
|
578
|
+
] }) }), t[13] = f, t[14] = i, t[15] = h) : h = t[15];
|
|
579
579
|
let y;
|
|
580
|
-
return t[16] !== s || t[17] !== o || t[18] !==
|
|
580
|
+
return t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== l || t[20] !== h ? (y = /* @__PURE__ */ E(O, { show: o, size: a, centered: !0, onHide: s, children: [
|
|
581
581
|
l,
|
|
582
|
-
|
|
583
|
-
] }), t[16] = s, t[17] = o, t[18] =
|
|
582
|
+
h
|
|
583
|
+
] }), t[16] = s, t[17] = o, t[18] = a, t[19] = l, t[20] = h, t[21] = y) : y = t[21], y;
|
|
584
584
|
};
|
|
585
585
|
export {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
586
|
+
le as AuthContext,
|
|
587
|
+
Ze as AuthProvider,
|
|
588
|
+
ae as DelegationContext,
|
|
589
|
+
et as DelegationProvider,
|
|
590
|
+
st as FormDisabledContext,
|
|
591
|
+
rt as FormDisabledProvider,
|
|
592
|
+
xe as HelmetContext,
|
|
593
|
+
tt as HelmetProvider,
|
|
594
|
+
de as LoadingContext,
|
|
595
|
+
Xe as LoadingProvider,
|
|
596
|
+
Q as LuminusComponentsContext,
|
|
597
|
+
We as LuminusComponentsProvider,
|
|
598
|
+
he as UserContext,
|
|
599
|
+
Ye as UserProvider,
|
|
600
|
+
lt as useFormDisabledContext
|
|
601
601
|
};
|