ovirt-ui-toolkit 0.0.36 → 0.0.38
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/ovirt-ui-toolkit.css +1 -1
- package/dist/ovirt-ui-toolkit.es.js +263 -232
- package/dist/ovirt-ui-toolkit.umd.js +9 -9
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Se, { forwardRef as pr, useState as ke, useEffect as
|
|
1
|
+
import Se, { forwardRef as pr, useState as ke, useEffect as hr } from "react";
|
|
2
2
|
var U = { exports: {} }, F = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -10,18 +10,18 @@ var U = { exports: {} }, F = {};
|
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
12
|
var Ce;
|
|
13
|
-
function
|
|
13
|
+
function br() {
|
|
14
14
|
if (Ce) return F;
|
|
15
15
|
Ce = 1;
|
|
16
16
|
var a = Se, s = Symbol.for("react.element"), l = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, f = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
-
function
|
|
18
|
-
var j,
|
|
19
|
-
|
|
20
|
-
for (j in
|
|
21
|
-
if (
|
|
22
|
-
return { $$typeof: s, type:
|
|
17
|
+
function h(C, b, T) {
|
|
18
|
+
var j, m = {}, R = null, W = null;
|
|
19
|
+
T !== void 0 && (R = "" + T), b.key !== void 0 && (R = "" + b.key), b.ref !== void 0 && (W = b.ref);
|
|
20
|
+
for (j in b) o.call(b, j) && !p.hasOwnProperty(j) && (m[j] = b[j]);
|
|
21
|
+
if (C && C.defaultProps) for (j in b = C.defaultProps, b) m[j] === void 0 && (m[j] = b[j]);
|
|
22
|
+
return { $$typeof: s, type: C, key: R, ref: W, props: m, _owner: f.current };
|
|
23
23
|
}
|
|
24
|
-
return F.Fragment = l, F.jsx =
|
|
24
|
+
return F.Fragment = l, F.jsx = h, F.jsxs = h, F;
|
|
25
25
|
}
|
|
26
26
|
var I = {};
|
|
27
27
|
/**
|
|
@@ -36,7 +36,7 @@ var I = {};
|
|
|
36
36
|
var Te;
|
|
37
37
|
function mr() {
|
|
38
38
|
return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
-
var a = Se, s = Symbol.for("react.element"), l = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"),
|
|
39
|
+
var a = Se, s = Symbol.for("react.element"), l = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), C = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), K = Symbol.iterator, Ne = "@@iterator";
|
|
40
40
|
function Pe(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
@@ -46,16 +46,16 @@ function mr() {
|
|
|
46
46
|
var N = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
47
|
function y(e) {
|
|
48
48
|
{
|
|
49
|
-
for (var r = arguments.length,
|
|
50
|
-
|
|
51
|
-
$e("error", e,
|
|
49
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
50
|
+
n[i - 1] = arguments[i];
|
|
51
|
+
$e("error", e, n);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function $e(e, r,
|
|
54
|
+
function $e(e, r, n) {
|
|
55
55
|
{
|
|
56
56
|
var i = N.ReactDebugCurrentFrame, d = i.getStackAddendum();
|
|
57
|
-
d !== "" && (r += "%s",
|
|
58
|
-
var v =
|
|
57
|
+
d !== "" && (r += "%s", n = n.concat([d]));
|
|
58
|
+
var v = n.map(function(u) {
|
|
59
59
|
return String(u);
|
|
60
60
|
});
|
|
61
61
|
v.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, v);
|
|
@@ -64,18 +64,18 @@ function mr() {
|
|
|
64
64
|
var De = !1, Ae = !1, Fe = !1, Ie = !1, We = !1, ee;
|
|
65
65
|
ee = Symbol.for("react.module.reference");
|
|
66
66
|
function Ye(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e === o || e === p || We || e === f || e ===
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === p || We || e === f || e === T || e === j || Ie || e === W || De || Ae || Fe || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === m || e.$$typeof === h || e.$$typeof === C || e.$$typeof === b || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
71
71
|
e.$$typeof === ee || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function Ve(e, r,
|
|
73
|
+
function Ve(e, r, n) {
|
|
74
74
|
var i = e.displayName;
|
|
75
75
|
if (i)
|
|
76
76
|
return i;
|
|
77
77
|
var d = r.displayName || r.name || "";
|
|
78
|
-
return d !== "" ?
|
|
78
|
+
return d !== "" ? n + "(" + d + ")" : n;
|
|
79
79
|
}
|
|
80
80
|
function re(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
@@ -96,25 +96,25 @@ function mr() {
|
|
|
96
96
|
return "Profiler";
|
|
97
97
|
case f:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case
|
|
99
|
+
case T:
|
|
100
100
|
return "Suspense";
|
|
101
101
|
case j:
|
|
102
102
|
return "SuspenseList";
|
|
103
103
|
}
|
|
104
104
|
if (typeof e == "object")
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
|
-
case
|
|
106
|
+
case C:
|
|
107
107
|
var r = e;
|
|
108
108
|
return re(r) + ".Consumer";
|
|
109
|
+
case h:
|
|
110
|
+
var n = e;
|
|
111
|
+
return re(n._context) + ".Provider";
|
|
109
112
|
case b:
|
|
110
|
-
var t = e;
|
|
111
|
-
return re(t._context) + ".Provider";
|
|
112
|
-
case m:
|
|
113
113
|
return Ve(e, e.render, "ForwardRef");
|
|
114
|
-
case
|
|
114
|
+
case m:
|
|
115
115
|
var i = e.displayName || null;
|
|
116
116
|
return i !== null ? i : O(e.type) || "Memo";
|
|
117
|
-
case
|
|
117
|
+
case R: {
|
|
118
118
|
var d = e, v = d._payload, u = d._init;
|
|
119
119
|
try {
|
|
120
120
|
return O(u(v));
|
|
@@ -129,7 +129,7 @@ function mr() {
|
|
|
129
129
|
function ce() {
|
|
130
130
|
}
|
|
131
131
|
ce.__reactDisabledLog = !0;
|
|
132
|
-
function
|
|
132
|
+
function Me() {
|
|
133
133
|
{
|
|
134
134
|
if (D === 0) {
|
|
135
135
|
te = console.log, ne = console.info, ae = console.warn, se = console.error, ie = console.group, oe = console.groupCollapsed, le = console.groupEnd;
|
|
@@ -152,7 +152,7 @@ function mr() {
|
|
|
152
152
|
D++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Le() {
|
|
156
156
|
{
|
|
157
157
|
if (D--, D === 0) {
|
|
158
158
|
var e = {
|
|
@@ -188,7 +188,7 @@ function mr() {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
var B = N.ReactCurrentDispatcher, J;
|
|
191
|
-
function Y(e, r,
|
|
191
|
+
function Y(e, r, n) {
|
|
192
192
|
{
|
|
193
193
|
if (J === void 0)
|
|
194
194
|
try {
|
|
@@ -210,16 +210,16 @@ function mr() {
|
|
|
210
210
|
if (!e || q)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
if (
|
|
215
|
-
return
|
|
213
|
+
var n = V.get(e);
|
|
214
|
+
if (n !== void 0)
|
|
215
|
+
return n;
|
|
216
216
|
}
|
|
217
217
|
var i;
|
|
218
218
|
q = !0;
|
|
219
219
|
var d = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var v;
|
|
222
|
-
v = B.current, B.current = null,
|
|
222
|
+
v = B.current, B.current = null, Me();
|
|
223
223
|
try {
|
|
224
224
|
if (r) {
|
|
225
225
|
var u = function() {
|
|
@@ -232,29 +232,29 @@ function mr() {
|
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
234
|
Reflect.construct(u, []);
|
|
235
|
-
} catch (
|
|
236
|
-
i =
|
|
235
|
+
} catch (_) {
|
|
236
|
+
i = _;
|
|
237
237
|
}
|
|
238
238
|
Reflect.construct(e, [], u);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
241
|
u.call();
|
|
242
|
-
} catch (
|
|
243
|
-
i =
|
|
242
|
+
} catch (_) {
|
|
243
|
+
i = _;
|
|
244
244
|
}
|
|
245
245
|
e.call(u.prototype);
|
|
246
246
|
}
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
i =
|
|
250
|
+
} catch (_) {
|
|
251
|
+
i = _;
|
|
252
252
|
}
|
|
253
253
|
e();
|
|
254
254
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var c =
|
|
255
|
+
} catch (_) {
|
|
256
|
+
if (_ && i && typeof _.stack == "string") {
|
|
257
|
+
for (var c = _.stack.split(`
|
|
258
258
|
`), E = i.stack.split(`
|
|
259
259
|
`), x = c.length - 1, g = E.length - 1; x >= 1 && g >= 0 && c[x] !== E[g]; )
|
|
260
260
|
g--;
|
|
@@ -272,19 +272,19 @@ function mr() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
q = !1, B.current = v,
|
|
275
|
+
q = !1, B.current = v, Le(), Error.prepareStackTrace = d;
|
|
276
276
|
}
|
|
277
277
|
var $ = e ? e.displayName || e.name : "", k = $ ? Y($) : "";
|
|
278
278
|
return typeof e == "function" && V.set(e, k), k;
|
|
279
279
|
}
|
|
280
|
-
function Be(e, r,
|
|
280
|
+
function Be(e, r, n) {
|
|
281
281
|
return ue(e, !1);
|
|
282
282
|
}
|
|
283
283
|
function Je(e) {
|
|
284
284
|
var r = e.prototype;
|
|
285
285
|
return !!(r && r.isReactComponent);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function M(e, r, n) {
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
@@ -292,21 +292,21 @@ function mr() {
|
|
|
292
292
|
if (typeof e == "string")
|
|
293
293
|
return Y(e);
|
|
294
294
|
switch (e) {
|
|
295
|
-
case
|
|
295
|
+
case T:
|
|
296
296
|
return Y("Suspense");
|
|
297
297
|
case j:
|
|
298
298
|
return Y("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
|
-
case
|
|
302
|
+
case b:
|
|
303
303
|
return Be(e.render);
|
|
304
|
-
case
|
|
305
|
-
return
|
|
306
|
-
case
|
|
304
|
+
case m:
|
|
305
|
+
return M(e.type, r, n);
|
|
306
|
+
case R: {
|
|
307
307
|
var i = e, d = i._payload, v = i._init;
|
|
308
308
|
try {
|
|
309
|
-
return
|
|
309
|
+
return M(v(d), r, n);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
@@ -314,14 +314,14 @@ function mr() {
|
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
316
|
var A = Object.prototype.hasOwnProperty, fe = {}, de = N.ReactDebugCurrentFrame;
|
|
317
|
-
function
|
|
317
|
+
function L(e) {
|
|
318
318
|
if (e) {
|
|
319
|
-
var r = e._owner,
|
|
320
|
-
de.setExtraStackFrame(
|
|
319
|
+
var r = e._owner, n = M(e.type, e._source, r ? r.type : null);
|
|
320
|
+
de.setExtraStackFrame(n);
|
|
321
321
|
} else
|
|
322
322
|
de.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function qe(e, r,
|
|
324
|
+
function qe(e, r, n, i, d) {
|
|
325
325
|
{
|
|
326
326
|
var v = Function.call.bind(A);
|
|
327
327
|
for (var u in e)
|
|
@@ -329,28 +329,28 @@ function mr() {
|
|
|
329
329
|
var c = void 0;
|
|
330
330
|
try {
|
|
331
331
|
if (typeof e[u] != "function") {
|
|
332
|
-
var E = Error((i || "React class") + ": " +
|
|
332
|
+
var E = Error((i || "React class") + ": " + n + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
333
|
throw E.name = "Invariant Violation", E;
|
|
334
334
|
}
|
|
335
|
-
c = e[u](r, u, i,
|
|
335
|
+
c = e[u](r, u, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
336
|
} catch (x) {
|
|
337
337
|
c = x;
|
|
338
338
|
}
|
|
339
|
-
c && !(c instanceof Error) && (
|
|
339
|
+
c && !(c instanceof Error) && (L(d), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, u, typeof c), L(null)), c instanceof Error && !(c.message in fe) && (fe[c.message] = !0, L(d), y("Failed %s type: %s", n, c.message), L(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
344
|
-
function
|
|
345
|
-
return
|
|
343
|
+
var ze = Array.isArray;
|
|
344
|
+
function z(e) {
|
|
345
|
+
return ze(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Ge(e) {
|
|
348
348
|
{
|
|
349
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag,
|
|
350
|
-
return
|
|
349
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
|
+
return n;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function He(e) {
|
|
354
354
|
try {
|
|
355
355
|
return ve(e), !1;
|
|
356
356
|
} catch {
|
|
@@ -361,15 +361,15 @@ function mr() {
|
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
363
|
function pe(e) {
|
|
364
|
-
if (
|
|
365
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
364
|
+
if (He(e))
|
|
365
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ge(e)), ve(e);
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var he = N.ReactCurrentOwner, Xe = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
372
|
+
}, be, me;
|
|
373
373
|
function Ze(e) {
|
|
374
374
|
if (A.call(e, "ref")) {
|
|
375
375
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -387,38 +387,38 @@ function mr() {
|
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
389
|
function Ke(e, r) {
|
|
390
|
-
typeof e.ref == "string" &&
|
|
390
|
+
typeof e.ref == "string" && he.current;
|
|
391
391
|
}
|
|
392
392
|
function er(e, r) {
|
|
393
393
|
{
|
|
394
|
-
var
|
|
395
|
-
|
|
394
|
+
var n = function() {
|
|
395
|
+
be || (be = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
396
396
|
};
|
|
397
|
-
|
|
398
|
-
get:
|
|
397
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
|
+
get: n,
|
|
399
399
|
configurable: !0
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
function rr(e, r) {
|
|
404
404
|
{
|
|
405
|
-
var
|
|
405
|
+
var n = function() {
|
|
406
406
|
me || (me = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
407
407
|
};
|
|
408
|
-
|
|
409
|
-
get:
|
|
408
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
|
+
get: n,
|
|
410
410
|
configurable: !0
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var tr = function(e, r,
|
|
414
|
+
var tr = function(e, r, n, i, d, v, u) {
|
|
415
415
|
var c = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: s,
|
|
418
418
|
// Built-in properties that belong on the element
|
|
419
419
|
type: e,
|
|
420
420
|
key: r,
|
|
421
|
-
ref:
|
|
421
|
+
ref: n,
|
|
422
422
|
props: u,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
424
|
_owner: v
|
|
@@ -440,10 +440,10 @@ function mr() {
|
|
|
440
440
|
value: d
|
|
441
441
|
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
442
442
|
};
|
|
443
|
-
function nr(e, r,
|
|
443
|
+
function nr(e, r, n, i, d) {
|
|
444
444
|
{
|
|
445
445
|
var v, u = {}, c = null, E = null;
|
|
446
|
-
|
|
446
|
+
n !== void 0 && (pe(n), c = "" + n), Qe(r) && (pe(r.key), c = "" + r.key), Ze(r) && (E = r.ref, Ke(r, d));
|
|
447
447
|
for (v in r)
|
|
448
448
|
A.call(r, v) && !Xe.hasOwnProperty(v) && (u[v] = r[v]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
@@ -455,26 +455,26 @@ function mr() {
|
|
|
455
455
|
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
456
|
c && er(u, g), E && rr(u, g);
|
|
457
457
|
}
|
|
458
|
-
return tr(e, c, E, d, i,
|
|
458
|
+
return tr(e, c, E, d, i, he.current, u);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var G = N.ReactCurrentOwner, xe = N.ReactDebugCurrentFrame;
|
|
462
462
|
function P(e) {
|
|
463
463
|
if (e) {
|
|
464
|
-
var r = e._owner,
|
|
465
|
-
xe.setExtraStackFrame(
|
|
464
|
+
var r = e._owner, n = M(e.type, e._source, r ? r.type : null);
|
|
465
|
+
xe.setExtraStackFrame(n);
|
|
466
466
|
} else
|
|
467
467
|
xe.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
|
-
var
|
|
470
|
-
|
|
469
|
+
var H;
|
|
470
|
+
H = !1;
|
|
471
471
|
function X(e) {
|
|
472
472
|
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
473
473
|
}
|
|
474
474
|
function ge() {
|
|
475
475
|
{
|
|
476
|
-
if (
|
|
477
|
-
var e = O(
|
|
476
|
+
if (G.current) {
|
|
477
|
+
var e = O(G.current.type);
|
|
478
478
|
if (e)
|
|
479
479
|
return `
|
|
480
480
|
|
|
@@ -491,10 +491,10 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
{
|
|
492
492
|
var r = ge();
|
|
493
493
|
if (!r) {
|
|
494
|
-
var
|
|
495
|
-
|
|
494
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
|
+
n && (r = `
|
|
496
496
|
|
|
497
|
-
Check the top-level render call using <` +
|
|
497
|
+
Check the top-level render call using <` + n + ">.");
|
|
498
498
|
}
|
|
499
499
|
return r;
|
|
500
500
|
}
|
|
@@ -504,21 +504,21 @@ Check the top-level render call using <` + t + ">.");
|
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var
|
|
508
|
-
if (je[
|
|
507
|
+
var n = sr(r);
|
|
508
|
+
if (je[n])
|
|
509
509
|
return;
|
|
510
|
-
je[
|
|
510
|
+
je[n] = !0;
|
|
511
511
|
var i = "";
|
|
512
|
-
e && e._owner && e._owner !==
|
|
512
|
+
e && e._owner && e._owner !== G.current && (i = " It was passed a child from " + O(e._owner.type) + "."), P(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), P(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function Ee(e, r) {
|
|
516
516
|
{
|
|
517
517
|
if (typeof e != "object")
|
|
518
518
|
return;
|
|
519
|
-
if (
|
|
520
|
-
for (var
|
|
521
|
-
var i = e[
|
|
519
|
+
if (z(e))
|
|
520
|
+
for (var n = 0; n < e.length; n++) {
|
|
521
|
+
var i = e[n];
|
|
522
522
|
X(i) && ye(i, r);
|
|
523
523
|
}
|
|
524
524
|
else if (X(e))
|
|
@@ -536,20 +536,20 @@ Check the top-level render call using <` + t + ">.");
|
|
|
536
536
|
var r = e.type;
|
|
537
537
|
if (r == null || typeof r == "string")
|
|
538
538
|
return;
|
|
539
|
-
var
|
|
539
|
+
var n;
|
|
540
540
|
if (typeof r == "function")
|
|
541
|
-
|
|
542
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
541
|
+
n = r.propTypes;
|
|
542
|
+
else if (typeof r == "object" && (r.$$typeof === b || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
|
-
r.$$typeof ===
|
|
545
|
-
|
|
544
|
+
r.$$typeof === m))
|
|
545
|
+
n = r.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
|
-
if (
|
|
548
|
+
if (n) {
|
|
549
549
|
var i = O(r);
|
|
550
|
-
qe(
|
|
551
|
-
} else if (r.PropTypes !== void 0 && !
|
|
552
|
-
|
|
550
|
+
qe(n, e.props, "prop", i, e);
|
|
551
|
+
} else if (r.PropTypes !== void 0 && !H) {
|
|
552
|
+
H = !0;
|
|
553
553
|
var d = O(r);
|
|
554
554
|
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
555
555
|
}
|
|
@@ -558,8 +558,8 @@ Check the top-level render call using <` + t + ">.");
|
|
|
558
558
|
}
|
|
559
559
|
function or(e) {
|
|
560
560
|
{
|
|
561
|
-
for (var r = Object.keys(e.props),
|
|
562
|
-
var i = r[
|
|
561
|
+
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
562
|
+
var i = r[n];
|
|
563
563
|
if (i !== "children" && i !== "key") {
|
|
564
564
|
P(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), P(null);
|
|
565
565
|
break;
|
|
@@ -569,7 +569,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var Re = {};
|
|
572
|
-
function _e(e, r,
|
|
572
|
+
function _e(e, r, n, i, d, v) {
|
|
573
573
|
{
|
|
574
574
|
var u = Ye(e);
|
|
575
575
|
if (!u) {
|
|
@@ -578,16 +578,16 @@ Check the top-level render call using <` + t + ">.");
|
|
|
578
578
|
var E = ar();
|
|
579
579
|
E ? c += E : c += ge();
|
|
580
580
|
var x;
|
|
581
|
-
e === null ? x = "null" :
|
|
581
|
+
e === null ? x = "null" : z(e) ? x = "array" : e !== void 0 && e.$$typeof === s ? (x = "<" + (O(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, c);
|
|
582
582
|
}
|
|
583
|
-
var g = nr(e, r,
|
|
583
|
+
var g = nr(e, r, n, d, v);
|
|
584
584
|
if (g == null)
|
|
585
585
|
return g;
|
|
586
586
|
if (u) {
|
|
587
587
|
var w = r.children;
|
|
588
588
|
if (w !== void 0)
|
|
589
589
|
if (i)
|
|
590
|
-
if (
|
|
590
|
+
if (z(w)) {
|
|
591
591
|
for (var $ = 0; $ < w.length; $++)
|
|
592
592
|
Ee(w[$], e);
|
|
593
593
|
Object.freeze && Object.freeze(w);
|
|
@@ -597,11 +597,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
597
597
|
Ee(w, e);
|
|
598
598
|
}
|
|
599
599
|
if (A.call(r, "key")) {
|
|
600
|
-
var k = O(e),
|
|
600
|
+
var k = O(e), _ = Object.keys(r).filter(function(vr) {
|
|
601
601
|
return vr !== "key";
|
|
602
|
-
}), Z =
|
|
602
|
+
}), Z = _.length > 0 ? "{key: someKey, " + _.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
603
|
if (!Re[k + Z]) {
|
|
604
|
-
var dr =
|
|
604
|
+
var dr = _.length > 0 ? "{" + _.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
@@ -613,11 +613,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
613
613
|
return e === o ? or(g) : ir(g), g;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function lr(e, r,
|
|
617
|
-
return _e(e, r,
|
|
616
|
+
function lr(e, r, n) {
|
|
617
|
+
return _e(e, r, n, !0);
|
|
618
618
|
}
|
|
619
|
-
function cr(e, r,
|
|
620
|
-
return _e(e, r,
|
|
619
|
+
function cr(e, r, n) {
|
|
620
|
+
return _e(e, r, n, !1);
|
|
621
621
|
}
|
|
622
622
|
var ur = cr, fr = lr;
|
|
623
623
|
I.Fragment = o, I.jsx = ur, I.jsxs = fr;
|
|
@@ -625,35 +625,66 @@ React keys must be passed directly to JSX without using spread:
|
|
|
625
625
|
}
|
|
626
626
|
var we;
|
|
627
627
|
function xr() {
|
|
628
|
-
return we || (we = 1, process.env.NODE_ENV === "production" ? U.exports =
|
|
628
|
+
return we || (we = 1, process.env.NODE_ENV === "production" ? U.exports = br() : U.exports = mr()), U.exports;
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
const
|
|
630
|
+
var t = xr();
|
|
631
|
+
const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), gr = ({ items: a, className: s }) => /* @__PURE__ */ t.jsx("ol", { className: `breadcrumb ${s || ""}`.trim(), children: a.map((l, o) => /* @__PURE__ */ t.jsx("li", { className: l.active ? "active" : "", children: l.active ? l.title : /* @__PURE__ */ t.jsx("a", { href: l.href, children: l.title }) }, o)) }), jr = /* @__PURE__ */ t.jsx("span", { className: "loading-spinner mr-2", children: /* @__PURE__ */ t.jsxs(
|
|
632
|
+
"svg",
|
|
633
|
+
{
|
|
634
|
+
className: "animate-spin h-5 w-5 text-current",
|
|
635
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
636
|
+
fill: "none",
|
|
637
|
+
viewBox: "0 0 24 24",
|
|
638
|
+
children: [
|
|
639
|
+
/* @__PURE__ */ t.jsx(
|
|
640
|
+
"circle",
|
|
641
|
+
{
|
|
642
|
+
className: "opacity-25",
|
|
643
|
+
cx: "12",
|
|
644
|
+
cy: "12",
|
|
645
|
+
r: "10",
|
|
646
|
+
stroke: "currentColor",
|
|
647
|
+
strokeWidth: "4"
|
|
648
|
+
}
|
|
649
|
+
),
|
|
650
|
+
/* @__PURE__ */ t.jsx(
|
|
651
|
+
"path",
|
|
652
|
+
{
|
|
653
|
+
className: "opacity-75",
|
|
654
|
+
fill: "currentColor",
|
|
655
|
+
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
656
|
+
}
|
|
657
|
+
)
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
) }), Q = ({
|
|
632
661
|
type: a = "default",
|
|
633
662
|
title: s,
|
|
634
663
|
size: l,
|
|
635
664
|
label: o,
|
|
636
665
|
onClick: f,
|
|
637
666
|
isDisabled: p = !1,
|
|
638
|
-
children:
|
|
639
|
-
className:
|
|
667
|
+
children: h,
|
|
668
|
+
className: C = "",
|
|
669
|
+
isLoading: b = !1
|
|
640
670
|
}) => {
|
|
641
|
-
const
|
|
642
|
-
return /* @__PURE__ */
|
|
671
|
+
const T = `btn-${a}`, j = l ? `btn-${l}` : "", R = `${`btn ${T} ${j}`.trim()} ${C}`.trim();
|
|
672
|
+
return /* @__PURE__ */ t.jsx(
|
|
643
673
|
"button",
|
|
644
674
|
{
|
|
645
|
-
className:
|
|
675
|
+
className: R,
|
|
646
676
|
type: "button",
|
|
647
677
|
onClick: f,
|
|
648
|
-
disabled: p,
|
|
649
|
-
children: /* @__PURE__ */
|
|
650
|
-
b
|
|
678
|
+
disabled: p || b,
|
|
679
|
+
children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center", children: [
|
|
680
|
+
b && jr,
|
|
681
|
+
h || o,
|
|
651
682
|
" ",
|
|
652
|
-
s
|
|
683
|
+
s && /* @__PURE__ */ t.jsx("span", { children: s })
|
|
653
684
|
] })
|
|
654
685
|
}
|
|
655
686
|
);
|
|
656
|
-
},
|
|
687
|
+
}, wr = ({ children: a, eventKey: s, active: l }) => /* @__PURE__ */ t.jsx(
|
|
657
688
|
"div",
|
|
658
689
|
{
|
|
659
690
|
className: `tab-pane ${l ? "active" : ""}`,
|
|
@@ -663,8 +694,8 @@ const Cr = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
|
|
|
663
694
|
children: a
|
|
664
695
|
},
|
|
665
696
|
s
|
|
666
|
-
),
|
|
667
|
-
/* @__PURE__ */
|
|
697
|
+
), Or = ({ activeKey: a, onSelect: s, children: l }) => /* @__PURE__ */ t.jsxs("div", { className: "tabs-container", children: [
|
|
698
|
+
/* @__PURE__ */ t.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: l.map(({ props: { eventKey: o, title: f } }) => /* @__PURE__ */ t.jsx("li", { className: a === o ? "active" : "", children: /* @__PURE__ */ t.jsx(
|
|
668
699
|
"a",
|
|
669
700
|
{
|
|
670
701
|
href: `#${o}`,
|
|
@@ -674,7 +705,7 @@ const Cr = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
|
|
|
674
705
|
children: f
|
|
675
706
|
}
|
|
676
707
|
) }, o)) }),
|
|
677
|
-
/* @__PURE__ */
|
|
708
|
+
/* @__PURE__ */ t.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ t.jsx("div", { className: "tab-content pf-c-tab-content", children: l.map(({ props: { eventKey: o, children: f } }) => /* @__PURE__ */ t.jsx(
|
|
678
709
|
"div",
|
|
679
710
|
{
|
|
680
711
|
className: `tab-pane ${a === o ? "active" : ""}`,
|
|
@@ -685,7 +716,7 @@ const Cr = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
|
|
|
685
716
|
},
|
|
686
717
|
o
|
|
687
718
|
)) }) })
|
|
688
|
-
] }),
|
|
719
|
+
] }), Sr = pr(
|
|
689
720
|
({
|
|
690
721
|
id: a,
|
|
691
722
|
type: s,
|
|
@@ -693,7 +724,7 @@ const Cr = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
|
|
|
693
724
|
value: o,
|
|
694
725
|
onChange: f,
|
|
695
726
|
className: p = "form-control"
|
|
696
|
-
},
|
|
727
|
+
}, h) => /* @__PURE__ */ t.jsx(
|
|
697
728
|
"input",
|
|
698
729
|
{
|
|
699
730
|
type: s,
|
|
@@ -702,90 +733,90 @@ const Cr = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
|
|
|
702
733
|
placeholder: l,
|
|
703
734
|
value: o,
|
|
704
735
|
onChange: f,
|
|
705
|
-
ref:
|
|
736
|
+
ref: h
|
|
706
737
|
}
|
|
707
738
|
)
|
|
708
|
-
),
|
|
739
|
+
), kr = ({ title: a, isOpen: s, onClose: l, children: o, size: f }) => {
|
|
709
740
|
if (!s) return null;
|
|
710
741
|
const p = f ? `modal-${f}` : "";
|
|
711
|
-
return /* @__PURE__ */
|
|
712
|
-
/* @__PURE__ */
|
|
713
|
-
/* @__PURE__ */
|
|
714
|
-
/* @__PURE__ */
|
|
742
|
+
return /* @__PURE__ */ t.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ t.jsx("div", { className: `modal-dialog ${p}`, role: "document", children: /* @__PURE__ */ t.jsxs("div", { className: "modal-content", children: [
|
|
743
|
+
/* @__PURE__ */ t.jsxs("div", { className: "modal-header", children: [
|
|
744
|
+
/* @__PURE__ */ t.jsx("button", { type: "button", className: "close", onClick: l, "aria-hidden": "true", children: /* @__PURE__ */ t.jsx("span", { className: "pficon pficon-close" }) }),
|
|
745
|
+
/* @__PURE__ */ t.jsx("h4", { className: "modal-title", children: a })
|
|
715
746
|
] }),
|
|
716
|
-
/* @__PURE__ */
|
|
747
|
+
/* @__PURE__ */ t.jsx("div", { className: "modal-body", children: o })
|
|
717
748
|
] }) }) });
|
|
718
|
-
},
|
|
749
|
+
}, Nr = ({ variant: a, children: s }) => {
|
|
719
750
|
const o = {
|
|
720
751
|
warning: "text-yellow-600",
|
|
721
752
|
success: "text-green-600",
|
|
722
753
|
error: "text-red-600"
|
|
723
754
|
}[a] || "";
|
|
724
|
-
return /* @__PURE__ */
|
|
725
|
-
},
|
|
726
|
-
const [p,
|
|
727
|
-
|
|
728
|
-
},
|
|
729
|
-
|
|
730
|
-
},
|
|
731
|
-
const
|
|
732
|
-
return /* @__PURE__ */
|
|
755
|
+
return /* @__PURE__ */ t.jsx("p", { className: o, children: s });
|
|
756
|
+
}, Pr = ({ children: a, ...s }) => /* @__PURE__ */ t.jsx("table", { ...s, children: a }), $r = ({ children: a, ...s }) => /* @__PURE__ */ t.jsx("tbody", { ...s, children: a }), Dr = ({ children: a, ...s }) => /* @__PURE__ */ t.jsx("td", { ...s, children: a }), Ar = ({ children: a, ...s }) => /* @__PURE__ */ t.jsx("th", { ...s, children: a }), Fr = ({ children: a, ...s }) => /* @__PURE__ */ t.jsx("thead", { ...s, children: a }), Ir = ({ children: a, ...s }) => /* @__PURE__ */ t.jsx("tr", { ...s, children: a }), yr = ({ items: a, selected: s, title: l, onChange: o, isDisabled: f }) => {
|
|
757
|
+
const [p, h] = ke(!1), C = () => {
|
|
758
|
+
h((m) => !m);
|
|
759
|
+
}, b = (m) => {
|
|
760
|
+
h(!1), o(m);
|
|
761
|
+
}, T = (m) => {
|
|
762
|
+
const R = m.id === s;
|
|
763
|
+
return /* @__PURE__ */ t.jsx(
|
|
733
764
|
"li",
|
|
734
765
|
{
|
|
735
|
-
onClick: () => m
|
|
736
|
-
className:
|
|
737
|
-
children: /* @__PURE__ */
|
|
766
|
+
onClick: () => b(m),
|
|
767
|
+
className: R ? "active" : "",
|
|
768
|
+
children: /* @__PURE__ */ t.jsx("a", { href: "#", children: m.title })
|
|
738
769
|
},
|
|
739
|
-
|
|
770
|
+
m.id
|
|
740
771
|
);
|
|
741
772
|
}, j = p ? "dropdown open" : "dropdown";
|
|
742
|
-
return /* @__PURE__ */
|
|
743
|
-
/* @__PURE__ */
|
|
773
|
+
return /* @__PURE__ */ t.jsxs("div", { className: j, style: { display: "inline-block" }, children: [
|
|
774
|
+
/* @__PURE__ */ t.jsx(
|
|
744
775
|
"button",
|
|
745
776
|
{
|
|
746
777
|
type: "button",
|
|
747
778
|
disabled: f,
|
|
748
779
|
className: "btn btn-default dropdown-toggle",
|
|
749
|
-
onClick:
|
|
750
|
-
children: /* @__PURE__ */
|
|
751
|
-
l && /* @__PURE__ */
|
|
752
|
-
/* @__PURE__ */
|
|
780
|
+
onClick: C,
|
|
781
|
+
children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center", children: [
|
|
782
|
+
l && /* @__PURE__ */ t.jsx("div", { className: "mr-2", children: l }),
|
|
783
|
+
/* @__PURE__ */ t.jsx("span", { className: "caret" })
|
|
753
784
|
] })
|
|
754
785
|
}
|
|
755
786
|
),
|
|
756
|
-
p && /* @__PURE__ */
|
|
787
|
+
p && /* @__PURE__ */ t.jsx("ul", { className: "dropdown-menu", children: a.map(T) })
|
|
757
788
|
] });
|
|
758
|
-
},
|
|
789
|
+
}, Er = ({ currentPage: a, total: s, onPageChange: l, pageSize: o }) => {
|
|
759
790
|
const f = Math.ceil(s / o), p = () => {
|
|
760
791
|
a > 1 && l(a - 1);
|
|
761
|
-
},
|
|
792
|
+
}, h = () => {
|
|
762
793
|
a < f && l(a + 1);
|
|
763
794
|
};
|
|
764
|
-
return /* @__PURE__ */
|
|
765
|
-
/* @__PURE__ */
|
|
795
|
+
return /* @__PURE__ */ t.jsxs("div", { children: [
|
|
796
|
+
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsxs("span", { className: "pagination-pf-items-current", children: [
|
|
766
797
|
a,
|
|
767
798
|
" - ",
|
|
768
799
|
f
|
|
769
800
|
] }) }),
|
|
770
|
-
/* @__PURE__ */
|
|
771
|
-
/* @__PURE__ */
|
|
801
|
+
/* @__PURE__ */ t.jsxs("div", { className: "btn-group ml-2", children: [
|
|
802
|
+
/* @__PURE__ */ t.jsx(
|
|
772
803
|
"button",
|
|
773
804
|
{
|
|
774
805
|
type: "button",
|
|
775
806
|
className: `btn btn-default ${a === 1 ? "disabled" : ""}`,
|
|
776
807
|
disabled: a === 1,
|
|
777
808
|
onClick: p,
|
|
778
|
-
children: /* @__PURE__ */
|
|
809
|
+
children: /* @__PURE__ */ t.jsx("i", { className: "fa fa-angle-left" })
|
|
779
810
|
}
|
|
780
811
|
),
|
|
781
|
-
/* @__PURE__ */
|
|
812
|
+
/* @__PURE__ */ t.jsx(
|
|
782
813
|
"button",
|
|
783
814
|
{
|
|
784
815
|
type: "button",
|
|
785
816
|
className: `btn btn-default ${a === f ? "disabled" : ""}`,
|
|
786
817
|
disabled: a === f,
|
|
787
|
-
onClick:
|
|
788
|
-
children: /* @__PURE__ */
|
|
818
|
+
onClick: h,
|
|
819
|
+
children: /* @__PURE__ */ t.jsx("i", { className: "fa fa-angle-right" })
|
|
789
820
|
}
|
|
790
821
|
)
|
|
791
822
|
] })
|
|
@@ -796,49 +827,49 @@ const Cr = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
|
|
|
796
827
|
{ id: 3, title: "20 сек", data: 2e4 },
|
|
797
828
|
{ id: 4, title: "30 сек", data: 3e4 },
|
|
798
829
|
{ id: 5, title: "60 сек", data: 6e4 }
|
|
799
|
-
],
|
|
830
|
+
], Rr = ({ onChange: a, value: s, onRefresh: l }) => {
|
|
800
831
|
var p;
|
|
801
|
-
const o = (
|
|
802
|
-
a(
|
|
803
|
-
}, f = (p = Oe.find((
|
|
804
|
-
return /* @__PURE__ */
|
|
805
|
-
/* @__PURE__ */
|
|
806
|
-
/* @__PURE__ */
|
|
832
|
+
const o = (h) => {
|
|
833
|
+
a(h.data);
|
|
834
|
+
}, f = (p = Oe.find((h) => h.data === s)) == null ? void 0 : p.id;
|
|
835
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "flex", children: [
|
|
836
|
+
/* @__PURE__ */ t.jsx(Q, { type: "default", onClick: l, children: /* @__PURE__ */ t.jsx("i", { className: "fa fa-refresh" }) }),
|
|
837
|
+
/* @__PURE__ */ t.jsx(yr, { onChange: o, items: Oe, selected: f })
|
|
807
838
|
] });
|
|
808
|
-
},
|
|
839
|
+
}, Wr = ({
|
|
809
840
|
interval: a,
|
|
810
841
|
page: s,
|
|
811
842
|
total: l,
|
|
812
843
|
onRefresh: o,
|
|
813
844
|
onChangeInterval: f,
|
|
814
845
|
onPageChange: p,
|
|
815
|
-
pageSize:
|
|
816
|
-
}) => /* @__PURE__ */
|
|
817
|
-
/* @__PURE__ */
|
|
818
|
-
|
|
846
|
+
pageSize: h
|
|
847
|
+
}) => /* @__PURE__ */ t.jsxs("div", { className: "flex justify-between bg-[#f5f5f5] border border-[#d1d1d1]", children: [
|
|
848
|
+
/* @__PURE__ */ t.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ t.jsx(
|
|
849
|
+
Rr,
|
|
819
850
|
{
|
|
820
851
|
value: a,
|
|
821
852
|
onChange: f,
|
|
822
853
|
onRefresh: o
|
|
823
854
|
}
|
|
824
855
|
) }),
|
|
825
|
-
/* @__PURE__ */
|
|
826
|
-
|
|
856
|
+
/* @__PURE__ */ t.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ t.jsx(
|
|
857
|
+
Er,
|
|
827
858
|
{
|
|
828
|
-
pageSize:
|
|
859
|
+
pageSize: h,
|
|
829
860
|
currentPage: s,
|
|
830
861
|
total: l,
|
|
831
862
|
onPageChange: p
|
|
832
863
|
}
|
|
833
864
|
) })
|
|
834
|
-
] }),
|
|
865
|
+
] }), Yr = ({
|
|
835
866
|
id: a,
|
|
836
867
|
label: s,
|
|
837
868
|
isChecked: l = !1,
|
|
838
869
|
onChange: o,
|
|
839
870
|
className: f = "checkbox"
|
|
840
|
-
}) => /* @__PURE__ */
|
|
841
|
-
/* @__PURE__ */
|
|
871
|
+
}) => /* @__PURE__ */ t.jsx("div", { className: f, children: /* @__PURE__ */ t.jsxs("label", { htmlFor: a, children: [
|
|
872
|
+
/* @__PURE__ */ t.jsx(
|
|
842
873
|
"input",
|
|
843
874
|
{
|
|
844
875
|
type: "checkbox",
|
|
@@ -848,37 +879,37 @@ const Cr = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
|
|
|
848
879
|
}
|
|
849
880
|
),
|
|
850
881
|
` ${s}`
|
|
851
|
-
] }) }),
|
|
882
|
+
] }) }), Vr = ({
|
|
852
883
|
placeholder: a = "",
|
|
853
884
|
rows: s = 3,
|
|
854
885
|
maxLength: l,
|
|
855
886
|
value: o,
|
|
856
887
|
onChange: f,
|
|
857
888
|
isDisabled: p = !1,
|
|
858
|
-
className:
|
|
889
|
+
className: h = ""
|
|
859
890
|
}) => {
|
|
860
|
-
const [
|
|
861
|
-
const
|
|
862
|
-
f ? f(
|
|
891
|
+
const [C, b] = ke(o || ""), T = o !== void 0 ? o : C, j = (m) => {
|
|
892
|
+
const R = m.target.value;
|
|
893
|
+
f ? f(R) : b(R);
|
|
863
894
|
};
|
|
864
|
-
return /* @__PURE__ */
|
|
895
|
+
return /* @__PURE__ */ t.jsx(
|
|
865
896
|
"textarea",
|
|
866
897
|
{
|
|
867
|
-
className:
|
|
898
|
+
className: h,
|
|
868
899
|
placeholder: a,
|
|
869
900
|
rows: s,
|
|
870
901
|
maxLength: l,
|
|
871
|
-
value:
|
|
902
|
+
value: T,
|
|
872
903
|
onChange: j,
|
|
873
904
|
disabled: p
|
|
874
905
|
}
|
|
875
906
|
);
|
|
876
|
-
},
|
|
907
|
+
}, Mr = ({ variant: a, title: s, className: l }) => {
|
|
877
908
|
const o = `alert alert-${a} ${l || ""}`;
|
|
878
|
-
return ["success", "info", "warning", "danger"].includes(a) || (console.warn(`Unsupported alert variant: "${a}". Defaulting to "info".`), a = "info"), /* @__PURE__ */
|
|
909
|
+
return ["success", "info", "warning", "danger"].includes(a) || (console.warn(`Unsupported alert variant: "${a}". Defaulting to "info".`), a = "info"), /* @__PURE__ */ t.jsx("div", { className: o.trim(), role: "alert", children: s });
|
|
879
910
|
};
|
|
880
911
|
function Lr(a, s) {
|
|
881
|
-
|
|
912
|
+
hr(() => {
|
|
882
913
|
if (!a)
|
|
883
914
|
return;
|
|
884
915
|
const l = setInterval(() => {
|
|
@@ -887,10 +918,10 @@ function Lr(a, s) {
|
|
|
887
918
|
return () => clearInterval(l);
|
|
888
919
|
}, [a]);
|
|
889
920
|
}
|
|
890
|
-
const
|
|
921
|
+
const _r = ({
|
|
891
922
|
children: a
|
|
892
|
-
}) => /* @__PURE__ */
|
|
893
|
-
/* @__PURE__ */
|
|
923
|
+
}) => /* @__PURE__ */ t.jsx("div", { className: "btn-group", children: a }), Ur = () => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
924
|
+
/* @__PURE__ */ t.jsx(
|
|
894
925
|
gr,
|
|
895
926
|
{
|
|
896
927
|
items: [
|
|
@@ -899,33 +930,33 @@ const Rr = ({
|
|
|
899
930
|
]
|
|
900
931
|
}
|
|
901
932
|
),
|
|
902
|
-
/* @__PURE__ */
|
|
903
|
-
/* @__PURE__ */
|
|
904
|
-
/* @__PURE__ */
|
|
933
|
+
/* @__PURE__ */ t.jsxs(_r, { children: [
|
|
934
|
+
/* @__PURE__ */ t.jsx(Q, { children: "Hello" }),
|
|
935
|
+
/* @__PURE__ */ t.jsx(Q, { children: "Hello" })
|
|
905
936
|
] })
|
|
906
937
|
] });
|
|
907
938
|
export {
|
|
908
|
-
|
|
939
|
+
Mr as Alert,
|
|
909
940
|
gr as Breadcrumb,
|
|
910
941
|
Q as Button,
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
942
|
+
Yr as Checkbox,
|
|
943
|
+
yr as Dropdown,
|
|
944
|
+
Nr as HelpText,
|
|
945
|
+
Sr as Input,
|
|
946
|
+
kr as Modal,
|
|
947
|
+
Er as Pagination,
|
|
948
|
+
Rr as ReloadButton,
|
|
949
|
+
Ur as SampleComp,
|
|
950
|
+
wr as Tab,
|
|
951
|
+
Pr as Table,
|
|
952
|
+
Wr as TableToolbar,
|
|
953
|
+
Or as Tabs,
|
|
954
|
+
$r as Tbody,
|
|
955
|
+
Dr as Td,
|
|
956
|
+
Vr as TextArea,
|
|
957
|
+
Ar as Th,
|
|
958
|
+
Fr as Thead,
|
|
959
|
+
Tr as ToolbarContainer,
|
|
960
|
+
Ir as Tr,
|
|
930
961
|
Lr as useIntervalLoader
|
|
931
962
|
};
|