@genai-fi/base 4.0.2 → 4.0.3
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/{Button-CGKw9sMz.js → Button-BeUmwrlS.js} +91 -91
- package/dist/{CircularProgress-C6sMwjDC.js → CircularProgress-DgKnRiq7.js} +2 -2
- package/dist/DefaultPropsProvider-BurgXZzw.js +533 -0
- package/dist/{DialogQR-wJru73YO.js → DialogQR-C2SNQ9Uf.js} +1 -1
- package/dist/{FlashWifi-CYp0UP0B.js → FlashWifi-DkGhdWqj.js} +1 -1
- package/dist/{Portal-BqkDy0Wc.js → Portal-CcDjyHU0.js} +183 -178
- package/dist/components/AlertPara/AlertPara.js +1 -1
- package/dist/components/Application/Application.js +774 -892
- package/dist/components/BusyButton/BusyButton.js +1 -1
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/ConnectionStatus/ConnectionStatus.js +2 -2
- package/dist/components/ConnectionStatus/FlashWifi.js +1 -1
- package/dist/components/LangSelect/LangSelect.js +1 -1
- package/dist/components/Motd/Motd.js +1 -1
- package/dist/components/PieScore/PieScore.js +5 -5
- package/dist/components/QRCode/DialogQR.js +1 -1
- package/dist/components/QRCode/QRCode.js +1 -1
- package/dist/components/Webcam/Webcam.js +54 -54
- package/dist/components/WorkflowLayout/Widget.js +794 -784
- package/dist/{createSvgIcon-DmrVEdN7.js → createSvgIcon-DQhMxTx4.js} +2 -2
- package/dist/createTheme-DV959X3d.js +2974 -0
- package/dist/style/theme.js +1 -1
- package/package.json +13 -13
- package/dist/DefaultPropsProvider-D2IJ8Qbs.js +0 -524
- package/dist/createTheme-a85zdZWm.js +0 -2899
|
@@ -1,78 +1,83 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
|
-
import { i as H,
|
|
3
|
-
import { jsx as
|
|
4
|
-
import {
|
|
5
|
-
import { Global as
|
|
6
|
-
import { u as
|
|
7
|
-
import * as
|
|
2
|
+
import { i as H, d as L, P as s, b as W, g as A, a as m } from "./createTheme-DV959X3d.js";
|
|
3
|
+
import { jsx as y, jsxs as G } from "react/jsx-runtime";
|
|
4
|
+
import { i as U, d as $, T as k, g as Z, u as Y, s as w, c as N, a as q, m as C } from "./DefaultPropsProvider-BurgXZzw.js";
|
|
5
|
+
import { Global as J, ThemeContext as K } from "@emotion/react";
|
|
6
|
+
import { u as Q, B as X, c as R, C as F, a as ee, b as D, d as B } from "./CircularProgress-DgKnRiq7.js";
|
|
7
|
+
import * as ne from "react-dom";
|
|
8
8
|
const te = (e) => {
|
|
9
9
|
var o;
|
|
10
|
-
const
|
|
10
|
+
const n = {
|
|
11
11
|
systemProps: {},
|
|
12
12
|
otherProps: {}
|
|
13
|
-
},
|
|
13
|
+
}, t = ((o = e == null ? void 0 : e.theme) == null ? void 0 : o.unstable_sxConfig) ?? L;
|
|
14
14
|
return Object.keys(e).forEach((r) => {
|
|
15
|
-
|
|
16
|
-
}),
|
|
15
|
+
t[r] ? n.systemProps[r] = e[r] : n.otherProps[r] = e[r];
|
|
16
|
+
}), n;
|
|
17
17
|
};
|
|
18
|
-
function
|
|
18
|
+
function oe(e) {
|
|
19
19
|
const {
|
|
20
|
-
sx:
|
|
21
|
-
...
|
|
20
|
+
sx: n,
|
|
21
|
+
...t
|
|
22
22
|
} = e, {
|
|
23
23
|
systemProps: o,
|
|
24
24
|
otherProps: r
|
|
25
|
-
} = te(
|
|
25
|
+
} = te(t);
|
|
26
26
|
let a;
|
|
27
|
-
return Array.isArray(
|
|
28
|
-
const u =
|
|
27
|
+
return Array.isArray(n) ? a = [o, ...n] : typeof n == "function" ? a = (...i) => {
|
|
28
|
+
const u = n(...i);
|
|
29
29
|
return H(u) ? {
|
|
30
30
|
...o,
|
|
31
31
|
...u
|
|
32
32
|
} : o;
|
|
33
33
|
} : a = {
|
|
34
34
|
...o,
|
|
35
|
-
...
|
|
35
|
+
...n
|
|
36
36
|
}, {
|
|
37
37
|
...r,
|
|
38
38
|
sx: a
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function se(e) {
|
|
42
42
|
return e == null || Object.keys(e).length === 0;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function V(e) {
|
|
45
45
|
const {
|
|
46
|
-
styles:
|
|
47
|
-
defaultTheme:
|
|
46
|
+
styles: n,
|
|
47
|
+
defaultTheme: t = {}
|
|
48
48
|
} = e;
|
|
49
|
-
return /* @__PURE__ */
|
|
50
|
-
styles: typeof
|
|
49
|
+
return /* @__PURE__ */ y(J, {
|
|
50
|
+
styles: typeof n == "function" ? (r) => n(se(r) ? t : r) : n
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
process.env.NODE_ENV !== "production" && (
|
|
53
|
+
process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
54
54
|
defaultTheme: s.object,
|
|
55
55
|
styles: s.oneOfType([s.array, s.string, s.object, s.func])
|
|
56
56
|
});
|
|
57
|
-
function
|
|
57
|
+
function re(e) {
|
|
58
58
|
return Object.keys(e).length === 0;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
const
|
|
62
|
-
return !
|
|
60
|
+
function ae(e = null) {
|
|
61
|
+
const n = c.useContext(K);
|
|
62
|
+
return !n || re(n) ? e : n;
|
|
63
|
+
}
|
|
64
|
+
const ie = W();
|
|
65
|
+
function P(e = ie) {
|
|
66
|
+
return ae(e);
|
|
63
67
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
return
|
|
68
|
+
function O(e) {
|
|
69
|
+
const n = U(e);
|
|
70
|
+
return e !== n && n.styles ? (n.styles.match(/^@layer\s+[^{]*$/) || (n.styles = `@layer global{${n.styles}}`), n) : e;
|
|
67
71
|
}
|
|
68
72
|
function _({
|
|
69
73
|
styles: e,
|
|
70
|
-
themeId:
|
|
71
|
-
defaultTheme:
|
|
74
|
+
themeId: n,
|
|
75
|
+
defaultTheme: t = {}
|
|
72
76
|
}) {
|
|
73
|
-
const o = P(
|
|
74
|
-
|
|
75
|
-
|
|
77
|
+
const o = P(t), r = n && o[n] || o;
|
|
78
|
+
let a = typeof e == "function" ? e(r) : e;
|
|
79
|
+
return r.modularCssLayers && (Array.isArray(a) ? a = a.map((i) => O(typeof i == "function" ? i(r) : i)) : a = O(a)), /* @__PURE__ */ y(V, {
|
|
80
|
+
styles: a
|
|
76
81
|
});
|
|
77
82
|
}
|
|
78
83
|
process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
@@ -93,28 +98,28 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
93
98
|
*/
|
|
94
99
|
themeId: s.string
|
|
95
100
|
});
|
|
96
|
-
const
|
|
97
|
-
function
|
|
101
|
+
const le = "exact-prop: ";
|
|
102
|
+
function ce(e) {
|
|
98
103
|
return process.env.NODE_ENV === "production" ? e : {
|
|
99
104
|
...e,
|
|
100
|
-
[
|
|
101
|
-
const
|
|
102
|
-
return
|
|
105
|
+
[le]: (n) => {
|
|
106
|
+
const t = Object.keys(n).filter((o) => !e.hasOwnProperty(o));
|
|
107
|
+
return t.length > 0 ? new Error(`The following props are not supported: ${t.map((o) => `\`${o}\``).join(", ")}. Please remove them.`) : null;
|
|
103
108
|
}
|
|
104
109
|
};
|
|
105
110
|
}
|
|
106
|
-
const
|
|
111
|
+
const ue = /* @__PURE__ */ c.createContext();
|
|
107
112
|
process.env.NODE_ENV !== "production" && (s.node, s.bool);
|
|
108
|
-
const
|
|
109
|
-
function
|
|
110
|
-
const e = P(
|
|
111
|
-
return process.env.NODE_ENV !== "production" && c.useDebugValue(e), e[
|
|
113
|
+
const je = () => c.useContext(ue) ?? !1;
|
|
114
|
+
function xe() {
|
|
115
|
+
const e = P($);
|
|
116
|
+
return process.env.NODE_ENV !== "production" && c.useDebugValue(e), e[k] || e;
|
|
112
117
|
}
|
|
113
118
|
function M(e) {
|
|
114
|
-
return /* @__PURE__ */
|
|
119
|
+
return /* @__PURE__ */ y(_, {
|
|
115
120
|
...e,
|
|
116
|
-
defaultTheme:
|
|
117
|
-
themeId:
|
|
121
|
+
defaultTheme: $,
|
|
122
|
+
themeId: k
|
|
118
123
|
});
|
|
119
124
|
}
|
|
120
125
|
process.env.NODE_ENV !== "production" && (M.propTypes = {
|
|
@@ -127,58 +132,58 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
|
|
|
127
132
|
*/
|
|
128
133
|
styles: s.oneOfType([s.array, s.func, s.number, s.object, s.string, s.bool])
|
|
129
134
|
});
|
|
130
|
-
function
|
|
131
|
-
return function(
|
|
135
|
+
function $e(e) {
|
|
136
|
+
return function(t) {
|
|
132
137
|
return (
|
|
133
138
|
// Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
|
|
134
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ y(M, {
|
|
135
140
|
styles: typeof e == "function" ? (o) => e({
|
|
136
141
|
theme: o,
|
|
137
|
-
...
|
|
142
|
+
...t
|
|
138
143
|
}) : e
|
|
139
144
|
})
|
|
140
145
|
);
|
|
141
146
|
};
|
|
142
147
|
}
|
|
143
148
|
function ke() {
|
|
144
|
-
return
|
|
149
|
+
return oe;
|
|
145
150
|
}
|
|
146
|
-
function
|
|
151
|
+
function fe(e) {
|
|
147
152
|
return e && e.ownerDocument || document;
|
|
148
153
|
}
|
|
149
|
-
function
|
|
150
|
-
return
|
|
154
|
+
function we(e) {
|
|
155
|
+
return fe(e).defaultView || window;
|
|
151
156
|
}
|
|
152
|
-
function
|
|
153
|
-
typeof e == "function" ? e(
|
|
157
|
+
function z(e, n) {
|
|
158
|
+
typeof e == "function" ? e(n) : e && (e.current = n);
|
|
154
159
|
}
|
|
155
160
|
function de(e) {
|
|
156
161
|
return A("MuiIconButton", e);
|
|
157
162
|
}
|
|
158
|
-
const j =
|
|
163
|
+
const j = Z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), pe = (e) => {
|
|
159
164
|
const {
|
|
160
|
-
classes:
|
|
161
|
-
disabled:
|
|
165
|
+
classes: n,
|
|
166
|
+
disabled: t,
|
|
162
167
|
color: o,
|
|
163
168
|
edge: r,
|
|
164
169
|
size: a,
|
|
165
170
|
loading: i
|
|
166
171
|
} = e, u = {
|
|
167
|
-
root: ["root", i && "loading",
|
|
172
|
+
root: ["root", i && "loading", t && "disabled", o !== "default" && `color${m(o)}`, r && `edge${m(r)}`, `size${m(a)}`],
|
|
168
173
|
loadingIndicator: ["loadingIndicator"],
|
|
169
174
|
loadingWrapper: ["loadingWrapper"]
|
|
170
175
|
};
|
|
171
|
-
return
|
|
172
|
-
},
|
|
176
|
+
return q(u, de, n);
|
|
177
|
+
}, ye = w(X, {
|
|
173
178
|
name: "MuiIconButton",
|
|
174
179
|
slot: "Root",
|
|
175
|
-
overridesResolver: (e,
|
|
180
|
+
overridesResolver: (e, n) => {
|
|
176
181
|
const {
|
|
177
|
-
ownerState:
|
|
182
|
+
ownerState: t
|
|
178
183
|
} = e;
|
|
179
|
-
return [
|
|
184
|
+
return [n.root, t.loading && n.loading, t.color !== "default" && n[`color${m(t.color)}`], t.edge && n[`edge${m(t.edge)}`], n[`size${m(t.size)}`]];
|
|
180
185
|
}
|
|
181
|
-
})(
|
|
186
|
+
})(C(({
|
|
182
187
|
theme: e
|
|
183
188
|
}) => ({
|
|
184
189
|
textAlign: "center",
|
|
@@ -191,9 +196,9 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
|
|
|
191
196
|
duration: e.transitions.duration.shortest
|
|
192
197
|
}),
|
|
193
198
|
variants: [{
|
|
194
|
-
props: (
|
|
199
|
+
props: (n) => !n.disableRipple,
|
|
195
200
|
style: {
|
|
196
|
-
"--IconButton-hoverBg": e.
|
|
201
|
+
"--IconButton-hoverBg": e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
|
|
197
202
|
"&:hover": {
|
|
198
203
|
backgroundColor: "var(--IconButton-hoverBg)",
|
|
199
204
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -233,7 +238,7 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
|
|
|
233
238
|
marginRight: -3
|
|
234
239
|
}
|
|
235
240
|
}]
|
|
236
|
-
})),
|
|
241
|
+
})), C(({
|
|
237
242
|
theme: e
|
|
238
243
|
}) => ({
|
|
239
244
|
variants: [{
|
|
@@ -243,19 +248,19 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
|
|
|
243
248
|
style: {
|
|
244
249
|
color: "inherit"
|
|
245
250
|
}
|
|
246
|
-
}, ...Object.entries(e.palette).filter(
|
|
251
|
+
}, ...Object.entries(e.palette).filter(R()).map(([n]) => ({
|
|
247
252
|
props: {
|
|
248
|
-
color:
|
|
253
|
+
color: n
|
|
249
254
|
},
|
|
250
255
|
style: {
|
|
251
|
-
color: (e.vars || e).palette[
|
|
256
|
+
color: (e.vars || e).palette[n].main
|
|
252
257
|
}
|
|
253
|
-
})), ...Object.entries(e.palette).filter(
|
|
258
|
+
})), ...Object.entries(e.palette).filter(R()).map(([n]) => ({
|
|
254
259
|
props: {
|
|
255
|
-
color:
|
|
260
|
+
color: n
|
|
256
261
|
},
|
|
257
262
|
style: {
|
|
258
|
-
"--IconButton-hoverBg": e.
|
|
263
|
+
"--IconButton-hoverBg": e.alpha((e.vars || e).palette[n].main, (e.vars || e).palette.action.hoverOpacity)
|
|
259
264
|
}
|
|
260
265
|
})), {
|
|
261
266
|
props: {
|
|
@@ -281,7 +286,7 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
|
|
|
281
286
|
[`&.${j.loading}`]: {
|
|
282
287
|
color: "transparent"
|
|
283
288
|
}
|
|
284
|
-
}))), ge =
|
|
289
|
+
}))), ge = w("span", {
|
|
285
290
|
name: "MuiIconButton",
|
|
286
291
|
slot: "LoadingIndicator"
|
|
287
292
|
})(({
|
|
@@ -302,60 +307,60 @@ const j = U("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
|
|
|
302
307
|
display: "flex"
|
|
303
308
|
}
|
|
304
309
|
}]
|
|
305
|
-
})),
|
|
306
|
-
const o =
|
|
307
|
-
props:
|
|
310
|
+
})), me = /* @__PURE__ */ c.forwardRef(function(n, t) {
|
|
311
|
+
const o = Y({
|
|
312
|
+
props: n,
|
|
308
313
|
name: "MuiIconButton"
|
|
309
314
|
}), {
|
|
310
315
|
edge: r = !1,
|
|
311
316
|
children: a,
|
|
312
317
|
className: i,
|
|
313
318
|
color: u = "default",
|
|
314
|
-
disabled:
|
|
319
|
+
disabled: d = !1,
|
|
315
320
|
disableFocusRipple: l = !1,
|
|
316
321
|
size: b = "medium",
|
|
317
322
|
id: p,
|
|
318
|
-
loading:
|
|
319
|
-
loadingIndicator:
|
|
320
|
-
...
|
|
321
|
-
} = o,
|
|
322
|
-
"aria-labelledby":
|
|
323
|
+
loading: f = null,
|
|
324
|
+
loadingIndicator: h,
|
|
325
|
+
...v
|
|
326
|
+
} = o, g = Q(p), S = h ?? /* @__PURE__ */ y(F, {
|
|
327
|
+
"aria-labelledby": g,
|
|
323
328
|
color: "inherit",
|
|
324
329
|
size: 16
|
|
325
330
|
}), E = {
|
|
326
331
|
...o,
|
|
327
332
|
edge: r,
|
|
328
333
|
color: u,
|
|
329
|
-
disabled:
|
|
334
|
+
disabled: d,
|
|
330
335
|
disableFocusRipple: l,
|
|
331
|
-
loading:
|
|
332
|
-
loadingIndicator:
|
|
336
|
+
loading: f,
|
|
337
|
+
loadingIndicator: S,
|
|
333
338
|
size: b
|
|
334
|
-
},
|
|
335
|
-
return /* @__PURE__ */ G(
|
|
336
|
-
id:
|
|
337
|
-
className: T
|
|
339
|
+
}, T = pe(E);
|
|
340
|
+
return /* @__PURE__ */ G(ye, {
|
|
341
|
+
id: f ? g : p,
|
|
342
|
+
className: N(T.root, i),
|
|
338
343
|
centerRipple: !0,
|
|
339
344
|
focusRipple: !l,
|
|
340
|
-
disabled:
|
|
341
|
-
ref:
|
|
342
|
-
...
|
|
345
|
+
disabled: d || f,
|
|
346
|
+
ref: t,
|
|
347
|
+
...v,
|
|
343
348
|
ownerState: E,
|
|
344
|
-
children: [typeof
|
|
345
|
-
/* @__PURE__ */
|
|
346
|
-
className:
|
|
349
|
+
children: [typeof f == "boolean" && // use plain HTML span to minimize the runtime overhead
|
|
350
|
+
/* @__PURE__ */ y("span", {
|
|
351
|
+
className: T.loadingWrapper,
|
|
347
352
|
style: {
|
|
348
353
|
display: "contents"
|
|
349
354
|
},
|
|
350
|
-
children: /* @__PURE__ */
|
|
351
|
-
className:
|
|
355
|
+
children: /* @__PURE__ */ y(ge, {
|
|
356
|
+
className: T.loadingIndicator,
|
|
352
357
|
ownerState: E,
|
|
353
|
-
children:
|
|
358
|
+
children: f && S
|
|
354
359
|
})
|
|
355
360
|
}), a]
|
|
356
361
|
});
|
|
357
362
|
});
|
|
358
|
-
process.env.NODE_ENV !== "production" && (
|
|
363
|
+
process.env.NODE_ENV !== "production" && (me.propTypes = {
|
|
359
364
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
360
365
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
361
366
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -363,7 +368,7 @@ process.env.NODE_ENV !== "production" && (ye.propTypes = {
|
|
|
363
368
|
/**
|
|
364
369
|
* The icon to display.
|
|
365
370
|
*/
|
|
366
|
-
children:
|
|
371
|
+
children: ee(s.node, (e) => c.Children.toArray(e.children).some((t) => /* @__PURE__ */ c.isValidElement(t) && t.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
367
372
|
`)) : null),
|
|
368
373
|
/**
|
|
369
374
|
* Override or extend the styles applied to the component.
|
|
@@ -434,137 +439,137 @@ process.env.NODE_ENV !== "production" && (ye.propTypes = {
|
|
|
434
439
|
*/
|
|
435
440
|
sx: s.oneOfType([s.arrayOf(s.oneOfType([s.func, s.object, s.bool])), s.func, s.object])
|
|
436
441
|
});
|
|
437
|
-
function
|
|
442
|
+
function be(e) {
|
|
438
443
|
return typeof e == "string";
|
|
439
444
|
}
|
|
440
|
-
function
|
|
441
|
-
return e === void 0 ||
|
|
442
|
-
...
|
|
445
|
+
function he(e, n, t) {
|
|
446
|
+
return e === void 0 || be(e) ? n : {
|
|
447
|
+
...n,
|
|
443
448
|
ownerState: {
|
|
444
|
-
...
|
|
445
|
-
...
|
|
449
|
+
...n.ownerState,
|
|
450
|
+
...t
|
|
446
451
|
}
|
|
447
452
|
};
|
|
448
453
|
}
|
|
449
|
-
function ve(e,
|
|
450
|
-
return typeof e == "function" ? e(
|
|
454
|
+
function ve(e, n, t) {
|
|
455
|
+
return typeof e == "function" ? e(n, t) : e;
|
|
451
456
|
}
|
|
452
|
-
function
|
|
457
|
+
function Ee(e, n = []) {
|
|
453
458
|
if (e === void 0)
|
|
454
459
|
return {};
|
|
455
|
-
const
|
|
456
|
-
return Object.keys(e).filter((o) => o.match(/^on[A-Z]/) && typeof e[o] == "function" && !
|
|
457
|
-
|
|
458
|
-
}),
|
|
460
|
+
const t = {};
|
|
461
|
+
return Object.keys(e).filter((o) => o.match(/^on[A-Z]/) && typeof e[o] == "function" && !n.includes(o)).forEach((o) => {
|
|
462
|
+
t[o] = e[o];
|
|
463
|
+
}), t;
|
|
459
464
|
}
|
|
460
465
|
function x(e) {
|
|
461
466
|
if (e === void 0)
|
|
462
467
|
return {};
|
|
463
|
-
const
|
|
464
|
-
return Object.keys(e).filter((
|
|
465
|
-
t
|
|
466
|
-
}),
|
|
468
|
+
const n = {};
|
|
469
|
+
return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((t) => {
|
|
470
|
+
n[t] = e[t];
|
|
471
|
+
}), n;
|
|
467
472
|
}
|
|
468
|
-
function
|
|
473
|
+
function Te(e) {
|
|
469
474
|
const {
|
|
470
|
-
getSlotProps:
|
|
471
|
-
additionalProps:
|
|
475
|
+
getSlotProps: n,
|
|
476
|
+
additionalProps: t,
|
|
472
477
|
externalSlotProps: o,
|
|
473
478
|
externalForwardedProps: r,
|
|
474
479
|
className: a
|
|
475
480
|
} = e;
|
|
476
|
-
if (!
|
|
477
|
-
const
|
|
478
|
-
...
|
|
481
|
+
if (!n) {
|
|
482
|
+
const h = N(t == null ? void 0 : t.className, a, r == null ? void 0 : r.className, o == null ? void 0 : o.className), v = {
|
|
483
|
+
...t == null ? void 0 : t.style,
|
|
479
484
|
...r == null ? void 0 : r.style,
|
|
480
485
|
...o == null ? void 0 : o.style
|
|
481
|
-
},
|
|
482
|
-
...
|
|
486
|
+
}, g = {
|
|
487
|
+
...t,
|
|
483
488
|
...r,
|
|
484
489
|
...o
|
|
485
490
|
};
|
|
486
|
-
return
|
|
487
|
-
props:
|
|
491
|
+
return h.length > 0 && (g.className = h), Object.keys(v).length > 0 && (g.style = v), {
|
|
492
|
+
props: g,
|
|
488
493
|
internalRef: void 0
|
|
489
494
|
};
|
|
490
495
|
}
|
|
491
|
-
const i =
|
|
496
|
+
const i = Ee({
|
|
492
497
|
...r,
|
|
493
498
|
...o
|
|
494
|
-
}), u = x(o),
|
|
499
|
+
}), u = x(o), d = x(r), l = n(i), b = N(l == null ? void 0 : l.className, t == null ? void 0 : t.className, a, r == null ? void 0 : r.className, o == null ? void 0 : o.className), p = {
|
|
495
500
|
...l == null ? void 0 : l.style,
|
|
496
|
-
...
|
|
501
|
+
...t == null ? void 0 : t.style,
|
|
497
502
|
...r == null ? void 0 : r.style,
|
|
498
503
|
...o == null ? void 0 : o.style
|
|
499
|
-
},
|
|
504
|
+
}, f = {
|
|
500
505
|
...l,
|
|
501
|
-
...
|
|
502
|
-
...
|
|
506
|
+
...t,
|
|
507
|
+
...d,
|
|
503
508
|
...u
|
|
504
509
|
};
|
|
505
|
-
return b.length > 0 && (
|
|
506
|
-
props:
|
|
510
|
+
return b.length > 0 && (f.className = b), Object.keys(p).length > 0 && (f.style = p), {
|
|
511
|
+
props: f,
|
|
507
512
|
internalRef: l.ref
|
|
508
513
|
};
|
|
509
514
|
}
|
|
510
515
|
function Oe(e) {
|
|
511
|
-
var
|
|
512
|
-
return parseInt(c.version, 10) >= 19 ? ((
|
|
516
|
+
var n;
|
|
517
|
+
return parseInt(c.version, 10) >= 19 ? ((n = e == null ? void 0 : e.props) == null ? void 0 : n.ref) || null : (e == null ? void 0 : e.ref) || null;
|
|
513
518
|
}
|
|
514
|
-
function
|
|
519
|
+
function Ne(e, n, t, o, r) {
|
|
515
520
|
if (process.env.NODE_ENV === "production")
|
|
516
521
|
return null;
|
|
517
|
-
const a = e[
|
|
518
|
-
return a == null ? null : a && a.nodeType !== 1 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${
|
|
522
|
+
const a = e[n], i = r || n;
|
|
523
|
+
return a == null ? null : a && a.nodeType !== 1 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${t}\`. Expected an HTMLElement.`) : null;
|
|
519
524
|
}
|
|
520
525
|
function De(e) {
|
|
521
526
|
var p;
|
|
522
527
|
const {
|
|
523
|
-
elementType:
|
|
524
|
-
externalSlotProps:
|
|
528
|
+
elementType: n,
|
|
529
|
+
externalSlotProps: t,
|
|
525
530
|
ownerState: o,
|
|
526
531
|
skipResolvingSlotProps: r = !1,
|
|
527
532
|
...a
|
|
528
|
-
} = e, i = r ? {} : ve(
|
|
533
|
+
} = e, i = r ? {} : ve(t, o), {
|
|
529
534
|
props: u,
|
|
530
|
-
internalRef:
|
|
531
|
-
} =
|
|
535
|
+
internalRef: d
|
|
536
|
+
} = Te({
|
|
532
537
|
...a,
|
|
533
538
|
externalSlotProps: i
|
|
534
|
-
}), l =
|
|
535
|
-
return
|
|
539
|
+
}), l = D(d, i == null ? void 0 : i.ref, (p = e.additionalProps) == null ? void 0 : p.ref);
|
|
540
|
+
return he(n, {
|
|
536
541
|
...u,
|
|
537
542
|
ref: l
|
|
538
543
|
}, o);
|
|
539
544
|
}
|
|
540
|
-
function
|
|
545
|
+
function Ie(e) {
|
|
541
546
|
return typeof e == "function" ? e() : e;
|
|
542
547
|
}
|
|
543
|
-
const
|
|
548
|
+
const I = /* @__PURE__ */ c.forwardRef(function(n, t) {
|
|
544
549
|
const {
|
|
545
550
|
children: o,
|
|
546
551
|
container: r,
|
|
547
552
|
disablePortal: a = !1
|
|
548
|
-
} =
|
|
553
|
+
} = n, [i, u] = c.useState(null), d = D(/* @__PURE__ */ c.isValidElement(o) ? Oe(o) : null, t);
|
|
549
554
|
if (B(() => {
|
|
550
|
-
a || u(
|
|
555
|
+
a || u(Ie(r) || document.body);
|
|
551
556
|
}, [r, a]), B(() => {
|
|
552
557
|
if (i && !a)
|
|
553
|
-
return
|
|
554
|
-
|
|
558
|
+
return z(t, i), () => {
|
|
559
|
+
z(t, null);
|
|
555
560
|
};
|
|
556
|
-
}, [
|
|
561
|
+
}, [t, i, a]), a) {
|
|
557
562
|
if (/* @__PURE__ */ c.isValidElement(o)) {
|
|
558
563
|
const l = {
|
|
559
|
-
ref:
|
|
564
|
+
ref: d
|
|
560
565
|
};
|
|
561
566
|
return /* @__PURE__ */ c.cloneElement(o, l);
|
|
562
567
|
}
|
|
563
568
|
return o;
|
|
564
569
|
}
|
|
565
|
-
return i && /* @__PURE__ */
|
|
570
|
+
return i && /* @__PURE__ */ ne.createPortal(o, i);
|
|
566
571
|
});
|
|
567
|
-
process.env.NODE_ENV !== "production" && (
|
|
572
|
+
process.env.NODE_ENV !== "production" && (I.propTypes = {
|
|
568
573
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
569
574
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
570
575
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -583,31 +588,31 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
|
|
|
583
588
|
* By default, it uses the body of the top-level document object,
|
|
584
589
|
* so it's simply `document.body` most of the time.
|
|
585
590
|
*/
|
|
586
|
-
container: s.oneOfType([
|
|
591
|
+
container: s.oneOfType([Ne, s.func]),
|
|
587
592
|
/**
|
|
588
593
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
589
594
|
* @default false
|
|
590
595
|
*/
|
|
591
596
|
disablePortal: s.bool
|
|
592
597
|
});
|
|
593
|
-
process.env.NODE_ENV !== "production" && (
|
|
598
|
+
process.env.NODE_ENV !== "production" && (I.propTypes = ce(I.propTypes));
|
|
594
599
|
export {
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
+
Ne as H,
|
|
601
|
+
me as I,
|
|
602
|
+
I as P,
|
|
603
|
+
he as a,
|
|
604
|
+
fe as b,
|
|
600
605
|
Oe as c,
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
606
|
+
Ee as d,
|
|
607
|
+
ce as e,
|
|
608
|
+
je as f,
|
|
609
|
+
$e as g,
|
|
605
610
|
De as h,
|
|
606
611
|
P as i,
|
|
607
|
-
|
|
612
|
+
ae as j,
|
|
608
613
|
ke as k,
|
|
609
|
-
|
|
610
|
-
|
|
614
|
+
Te as m,
|
|
615
|
+
we as o,
|
|
611
616
|
ve as r,
|
|
612
|
-
|
|
617
|
+
xe as u
|
|
613
618
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../createSvgIcon-
|
|
2
|
+
import { c as a } from "../../createSvgIcon-DQhMxTx4.js";
|
|
3
3
|
import '../../assets/AlertPara.css';const _ = a(/* @__PURE__ */ t("path", {
|
|
4
4
|
d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
|
|
5
5
|
}), "InfoOutlined"), c = "_alert_ur25l_1", i = "_isolated_ur25l_13", f = "_none_ur25l_19 _alert_ur25l_1", u = "_info_ur25l_23 _alert_ur25l_1", n = {
|