ovirt-ui-toolkit 0.0.97 → 0.0.98
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.es.js +464 -451
- package/dist/ovirt-ui-toolkit.umd.js +10 -10
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var U = { exports: {} },
|
|
1
|
+
import Pe, { forwardRef as xr, useState as ee, useRef as $e, useEffect as re } from "react";
|
|
2
|
+
var U = { exports: {} }, A = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,21 +9,21 @@ var U = { exports: {} }, I = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
12
|
+
var Ne;
|
|
13
13
|
function gr() {
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var n =
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
for (
|
|
21
|
-
if (
|
|
22
|
-
return { $$typeof: s, type:
|
|
14
|
+
if (Ne) return A;
|
|
15
|
+
Ne = 1;
|
|
16
|
+
var n = Pe, s = Symbol.for("react.element"), i = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function d(h, p, y) {
|
|
18
|
+
var E, x = {}, C = null, W = null;
|
|
19
|
+
y !== void 0 && (C = "" + y), p.key !== void 0 && (C = "" + p.key), p.ref !== void 0 && (W = p.ref);
|
|
20
|
+
for (E in p) o.call(p, E) && !u.hasOwnProperty(E) && (x[E] = p[E]);
|
|
21
|
+
if (h && h.defaultProps) for (E in p = h.defaultProps, p) x[E] === void 0 && (x[E] = p[E]);
|
|
22
|
+
return { $$typeof: s, type: h, key: C, ref: W, props: x, _owner: c.current };
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return A.Fragment = i, A.jsx = d, A.jsxs = d, A;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var I = {};
|
|
27
27
|
/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.development.js
|
|
@@ -33,91 +33,91 @@ var W = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
36
|
+
var Oe;
|
|
37
37
|
function jr() {
|
|
38
|
-
return
|
|
39
|
-
var n =
|
|
40
|
-
function
|
|
38
|
+
return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var n = Pe, s = Symbol.for("react.element"), i = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), h = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), te = Symbol.iterator, Fe = "@@iterator";
|
|
40
|
+
function Ae(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var r =
|
|
43
|
+
var r = te && e[te] || e[Fe];
|
|
44
44
|
return typeof r == "function" ? r : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
46
|
+
var S = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function R(e) {
|
|
48
48
|
{
|
|
49
|
-
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0),
|
|
50
|
-
a[
|
|
51
|
-
|
|
49
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), l = 1; l < r; l++)
|
|
50
|
+
a[l - 1] = arguments[l];
|
|
51
|
+
Ie("error", e, a);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Ie(e, r, a) {
|
|
55
55
|
{
|
|
56
|
-
var
|
|
57
|
-
|
|
58
|
-
var
|
|
59
|
-
return String(
|
|
56
|
+
var l = S.ReactDebugCurrentFrame, m = l.getStackAddendum();
|
|
57
|
+
m !== "" && (r += "%s", a = a.concat([m]));
|
|
58
|
+
var b = a.map(function(v) {
|
|
59
|
+
return String(v);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
b.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, b);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var
|
|
65
|
-
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
64
|
+
var We = !1, Le = !1, Ye = !1, Ve = !1, Me = !1, ne;
|
|
65
|
+
ne = Symbol.for("react.module.reference");
|
|
66
|
+
function Ue(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === u || Me || e === c || e === y || e === E || Ve || e === W || We || Le || Ye || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === x || e.$$typeof === d || e.$$typeof === h || e.$$typeof === p || // 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
|
-
e.$$typeof ===
|
|
71
|
+
e.$$typeof === ne || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
var
|
|
75
|
-
if (
|
|
76
|
-
return
|
|
77
|
-
var
|
|
78
|
-
return
|
|
73
|
+
function Be(e, r, a) {
|
|
74
|
+
var l = e.displayName;
|
|
75
|
+
if (l)
|
|
76
|
+
return l;
|
|
77
|
+
var m = r.displayName || r.name || "";
|
|
78
|
+
return m !== "" ? a + "(" + m + ")" : a;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ae(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function N(e) {
|
|
84
84
|
if (e == null)
|
|
85
85
|
return null;
|
|
86
|
-
if (typeof e.tag == "number" &&
|
|
86
|
+
if (typeof e.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
87
|
return e.displayName || e.name || null;
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case i:
|
|
92
|
-
return "Fragment";
|
|
93
91
|
case o:
|
|
92
|
+
return "Fragment";
|
|
93
|
+
case i:
|
|
94
94
|
return "Portal";
|
|
95
|
-
case
|
|
95
|
+
case u:
|
|
96
96
|
return "Profiler";
|
|
97
|
-
case
|
|
97
|
+
case c:
|
|
98
98
|
return "StrictMode";
|
|
99
|
-
case R:
|
|
100
|
-
return "Suspense";
|
|
101
99
|
case y:
|
|
100
|
+
return "Suspense";
|
|
101
|
+
case E:
|
|
102
102
|
return "SuspenseList";
|
|
103
103
|
}
|
|
104
104
|
if (typeof e == "object")
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
|
-
case
|
|
106
|
+
case h:
|
|
107
107
|
var r = e;
|
|
108
|
-
return
|
|
109
|
-
case
|
|
108
|
+
return ae(r) + ".Consumer";
|
|
109
|
+
case d:
|
|
110
110
|
var a = e;
|
|
111
|
-
return
|
|
112
|
-
case
|
|
113
|
-
return
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return
|
|
117
|
-
case
|
|
118
|
-
var
|
|
111
|
+
return ae(a._context) + ".Provider";
|
|
112
|
+
case p:
|
|
113
|
+
return Be(e, e.render, "ForwardRef");
|
|
114
|
+
case x:
|
|
115
|
+
var l = e.displayName || null;
|
|
116
|
+
return l !== null ? l : N(e.type) || "Memo";
|
|
117
|
+
case C: {
|
|
118
|
+
var m = e, b = m._payload, v = m._init;
|
|
119
119
|
try {
|
|
120
|
-
return
|
|
120
|
+
return N(v(b));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,18 +125,18 @@ function jr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
128
|
+
var O = Object.assign, D = 0, se, ie, oe, le, ce, ue, fe;
|
|
129
|
+
function de() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
de.__reactDisabledLog = !0;
|
|
132
|
+
function Je() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
135
|
-
|
|
134
|
+
if (D === 0) {
|
|
135
|
+
se = console.log, ie = console.info, oe = console.warn, le = console.error, ce = console.group, ue = console.groupCollapsed, fe = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: de,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -149,138 +149,138 @@ function jr() {
|
|
|
149
149
|
groupEnd: e
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
D++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function qe() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if (D--, D === 0) {
|
|
158
158
|
var e = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
165
|
-
value: ae
|
|
166
|
-
}),
|
|
167
|
-
info: S({}, e, {
|
|
164
|
+
log: O({}, e, {
|
|
168
165
|
value: se
|
|
169
166
|
}),
|
|
170
|
-
|
|
167
|
+
info: O({}, e, {
|
|
171
168
|
value: ie
|
|
172
169
|
}),
|
|
173
|
-
|
|
170
|
+
warn: O({}, e, {
|
|
174
171
|
value: oe
|
|
175
172
|
}),
|
|
176
|
-
|
|
173
|
+
error: O({}, e, {
|
|
177
174
|
value: le
|
|
178
175
|
}),
|
|
179
|
-
|
|
176
|
+
group: O({}, e, {
|
|
180
177
|
value: ce
|
|
181
178
|
}),
|
|
182
|
-
|
|
179
|
+
groupCollapsed: O({}, e, {
|
|
183
180
|
value: ue
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: O({}, e, {
|
|
183
|
+
value: fe
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
D < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var B =
|
|
191
|
-
function
|
|
190
|
+
var B = S.ReactCurrentDispatcher, J;
|
|
191
|
+
function L(e, r, a) {
|
|
192
192
|
{
|
|
193
193
|
if (J === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
|
-
} catch (
|
|
197
|
-
var
|
|
198
|
-
J =
|
|
196
|
+
} catch (m) {
|
|
197
|
+
var l = m.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
J = l && l[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
201
|
` + J + e;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var q = !1,
|
|
204
|
+
var q = !1, Y;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var ze = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
Y = new ze();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function ve(e, r) {
|
|
210
210
|
if (!e || q)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var a =
|
|
213
|
+
var a = Y.get(e);
|
|
214
214
|
if (a !== void 0)
|
|
215
215
|
return a;
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var l;
|
|
218
218
|
q = !0;
|
|
219
|
-
var
|
|
219
|
+
var m = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var b;
|
|
222
|
+
b = B.current, B.current = null, Je();
|
|
223
223
|
try {
|
|
224
224
|
if (r) {
|
|
225
|
-
var
|
|
225
|
+
var v = function() {
|
|
226
226
|
throw Error();
|
|
227
227
|
};
|
|
228
|
-
if (Object.defineProperty(
|
|
228
|
+
if (Object.defineProperty(v.prototype, "props", {
|
|
229
229
|
set: function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
}
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
|
-
Reflect.construct(
|
|
235
|
-
} catch (
|
|
236
|
-
|
|
234
|
+
Reflect.construct(v, []);
|
|
235
|
+
} catch (w) {
|
|
236
|
+
l = w;
|
|
237
237
|
}
|
|
238
|
-
Reflect.construct(e, [],
|
|
238
|
+
Reflect.construct(e, [], v);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
|
-
|
|
242
|
-
} catch (
|
|
243
|
-
|
|
241
|
+
v.call();
|
|
242
|
+
} catch (w) {
|
|
243
|
+
l = w;
|
|
244
244
|
}
|
|
245
|
-
e.call(
|
|
245
|
+
e.call(v.prototype);
|
|
246
246
|
}
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
|
|
250
|
+
} catch (w) {
|
|
251
|
+
l = w;
|
|
252
252
|
}
|
|
253
253
|
e();
|
|
254
254
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var
|
|
258
|
-
`), _ =
|
|
259
|
-
`), g =
|
|
255
|
+
} catch (w) {
|
|
256
|
+
if (w && l && typeof w.stack == "string") {
|
|
257
|
+
for (var f = w.stack.split(`
|
|
258
|
+
`), _ = l.stack.split(`
|
|
259
|
+
`), g = f.length - 1, j = _.length - 1; g >= 1 && j >= 0 && f[g] !== _[j]; )
|
|
260
260
|
j--;
|
|
261
261
|
for (; g >= 1 && j >= 0; g--, j--)
|
|
262
|
-
if (
|
|
262
|
+
if (f[g] !== _[j]) {
|
|
263
263
|
if (g !== 1 || j !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (g--, j--, j < 0 ||
|
|
266
|
-
var
|
|
267
|
-
` +
|
|
268
|
-
return e.displayName &&
|
|
265
|
+
if (g--, j--, j < 0 || f[g] !== _[j]) {
|
|
266
|
+
var T = `
|
|
267
|
+
` + f[g].replace(" at new ", " at ");
|
|
268
|
+
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, T), T;
|
|
269
269
|
}
|
|
270
270
|
while (g >= 1 && j >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
q = !1, B.current =
|
|
275
|
+
q = !1, B.current = b, qe(), Error.prepareStackTrace = m;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
278
|
-
return typeof e == "function" &&
|
|
277
|
+
var $ = e ? e.displayName || e.name : "", k = $ ? L($) : "";
|
|
278
|
+
return typeof e == "function" && Y.set(e, k), k;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function Ge(e, r, a) {
|
|
281
|
+
return ve(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function He(e) {
|
|
284
284
|
var r = e.prototype;
|
|
285
285
|
return !!(r && r.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,111 +288,111 @@ function jr() {
|
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return ve(e, He(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
|
-
return
|
|
293
|
+
return L(e);
|
|
294
294
|
switch (e) {
|
|
295
|
-
case R:
|
|
296
|
-
return Y("Suspense");
|
|
297
295
|
case y:
|
|
298
|
-
return
|
|
296
|
+
return L("Suspense");
|
|
297
|
+
case E:
|
|
298
|
+
return L("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
|
-
case
|
|
303
|
-
return
|
|
304
|
-
case
|
|
302
|
+
case p:
|
|
303
|
+
return Ge(e.render);
|
|
304
|
+
case x:
|
|
305
305
|
return V(e.type, r, a);
|
|
306
|
-
case
|
|
307
|
-
var
|
|
306
|
+
case C: {
|
|
307
|
+
var l = e, m = l._payload, b = l._init;
|
|
308
308
|
try {
|
|
309
|
-
return V(
|
|
309
|
+
return V(b(m), r, a);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var
|
|
316
|
+
var F = Object.prototype.hasOwnProperty, pe = {}, me = S.ReactDebugCurrentFrame;
|
|
317
317
|
function M(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var r = e._owner, a = V(e.type, e._source, r ? r.type : null);
|
|
320
|
-
|
|
320
|
+
me.setExtraStackFrame(a);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
me.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Xe(e, r, a, l, m) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
327
|
-
for (var
|
|
328
|
-
if (
|
|
329
|
-
var
|
|
326
|
+
var b = Function.call.bind(F);
|
|
327
|
+
for (var v in e)
|
|
328
|
+
if (b(e, v)) {
|
|
329
|
+
var f = void 0;
|
|
330
330
|
try {
|
|
331
|
-
if (typeof e[
|
|
332
|
-
var _ = Error((
|
|
331
|
+
if (typeof e[v] != "function") {
|
|
332
|
+
var _ = Error((l || "React class") + ": " + a + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
333
|
throw _.name = "Invariant Violation", _;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
f = e[v](r, v, l, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
336
|
} catch (g) {
|
|
337
|
-
|
|
337
|
+
f = g;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
f && !(f instanceof Error) && (M(m), R("%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).", l || "React class", a, v, typeof f), M(null)), f instanceof Error && !(f.message in pe) && (pe[f.message] = !0, M(m), R("Failed %s type: %s", a, f.message), M(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var Ze = Array.isArray;
|
|
344
344
|
function z(e) {
|
|
345
|
-
return
|
|
345
|
+
return Ze(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Qe(e) {
|
|
348
348
|
{
|
|
349
349
|
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
350
|
return a;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function Ke(e) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return he(e), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function he(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
return
|
|
363
|
+
function be(e) {
|
|
364
|
+
if (Ke(e))
|
|
365
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), he(e);
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var xe = S.ReactCurrentOwner, er = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
function
|
|
374
|
-
if (
|
|
372
|
+
}, ge, je;
|
|
373
|
+
function rr(e) {
|
|
374
|
+
if (F.call(e, "ref")) {
|
|
375
375
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (r && r.isReactWarning)
|
|
377
377
|
return !1;
|
|
378
378
|
}
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
382
|
-
if (
|
|
381
|
+
function tr(e) {
|
|
382
|
+
if (F.call(e, "key")) {
|
|
383
383
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (r && r.isReactWarning)
|
|
385
385
|
return !1;
|
|
386
386
|
}
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function tr(e, r) {
|
|
390
|
-
typeof e.ref == "string" && be.current;
|
|
391
|
-
}
|
|
392
389
|
function nr(e, r) {
|
|
390
|
+
typeof e.ref == "string" && xe.current;
|
|
391
|
+
}
|
|
392
|
+
function ar(e, r) {
|
|
393
393
|
{
|
|
394
394
|
var a = function() {
|
|
395
|
-
|
|
395
|
+
ge || (ge = !0, R("%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
397
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
398
|
get: a,
|
|
@@ -400,10 +400,10 @@ function jr() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function sr(e, r) {
|
|
404
404
|
{
|
|
405
405
|
var a = function() {
|
|
406
|
-
|
|
406
|
+
je || (je = !0, R("%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
408
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
409
|
get: a,
|
|
@@ -411,70 +411,70 @@ function jr() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var
|
|
415
|
-
var
|
|
414
|
+
var ir = function(e, r, a, l, m, b, v) {
|
|
415
|
+
var f = {
|
|
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
421
|
ref: a,
|
|
422
|
-
props:
|
|
422
|
+
props: v,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: b
|
|
425
425
|
};
|
|
426
|
-
return
|
|
426
|
+
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
428
428
|
enumerable: !1,
|
|
429
429
|
writable: !0,
|
|
430
430
|
value: !1
|
|
431
|
-
}), Object.defineProperty(
|
|
431
|
+
}), Object.defineProperty(f, "_self", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !1,
|
|
435
|
-
value:
|
|
436
|
-
}), Object.defineProperty(
|
|
435
|
+
value: l
|
|
436
|
+
}), Object.defineProperty(f, "_source", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
441
|
-
}), Object.freeze && (Object.freeze(
|
|
440
|
+
value: m
|
|
441
|
+
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function or(e, r, a, l, m) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
446
|
-
a !== void 0 && (
|
|
447
|
-
for (
|
|
448
|
-
|
|
445
|
+
var b, v = {}, f = null, _ = null;
|
|
446
|
+
a !== void 0 && (be(a), f = "" + a), tr(r) && (be(r.key), f = "" + r.key), rr(r) && (_ = r.ref, nr(r, m));
|
|
447
|
+
for (b in r)
|
|
448
|
+
F.call(r, b) && !er.hasOwnProperty(b) && (v[b] = r[b]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
450
|
var g = e.defaultProps;
|
|
451
|
-
for (
|
|
452
|
-
|
|
451
|
+
for (b in g)
|
|
452
|
+
v[b] === void 0 && (v[b] = g[b]);
|
|
453
453
|
}
|
|
454
|
-
if (
|
|
454
|
+
if (f || _) {
|
|
455
455
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
-
|
|
456
|
+
f && ar(v, j), _ && sr(v, j);
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return ir(e, f, _, m, l, xe.current, v);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var G =
|
|
462
|
-
function
|
|
461
|
+
var G = S.ReactCurrentOwner, ye = S.ReactDebugCurrentFrame;
|
|
462
|
+
function P(e) {
|
|
463
463
|
if (e) {
|
|
464
464
|
var r = e._owner, a = V(e.type, e._source, r ? r.type : null);
|
|
465
|
-
|
|
465
|
+
ye.setExtraStackFrame(a);
|
|
466
466
|
} else
|
|
467
|
-
|
|
467
|
+
ye.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
469
|
var H;
|
|
470
470
|
H = !1;
|
|
471
471
|
function X(e) {
|
|
472
472
|
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Ee() {
|
|
475
475
|
{
|
|
476
476
|
if (G.current) {
|
|
477
|
-
var e =
|
|
477
|
+
var e = N(G.current.type);
|
|
478
478
|
if (e)
|
|
479
479
|
return `
|
|
480
480
|
|
|
@@ -483,13 +483,13 @@ Check the render method of \`` + e + "`.";
|
|
|
483
483
|
return "";
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function lr(e) {
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
var Re = {};
|
|
490
|
-
function
|
|
490
|
+
function cr(e) {
|
|
491
491
|
{
|
|
492
|
-
var r =
|
|
492
|
+
var r = Ee();
|
|
493
493
|
if (!r) {
|
|
494
494
|
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
495
|
a && (r = `
|
|
@@ -499,39 +499,39 @@ Check the top-level render call using <` + a + ">.");
|
|
|
499
499
|
return r;
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function _e(e, r) {
|
|
503
503
|
{
|
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
|
505
505
|
return;
|
|
506
506
|
e._store.validated = !0;
|
|
507
|
-
var a =
|
|
507
|
+
var a = cr(r);
|
|
508
508
|
if (Re[a])
|
|
509
509
|
return;
|
|
510
510
|
Re[a] = !0;
|
|
511
|
-
var
|
|
512
|
-
e && e._owner && e._owner !== G.current && (
|
|
511
|
+
var l = "";
|
|
512
|
+
e && e._owner && e._owner !== G.current && (l = " It was passed a child from " + N(e._owner.type) + "."), P(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, l), P(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Ce(e, r) {
|
|
516
516
|
{
|
|
517
517
|
if (typeof e != "object")
|
|
518
518
|
return;
|
|
519
519
|
if (z(e))
|
|
520
520
|
for (var a = 0; a < e.length; a++) {
|
|
521
|
-
var
|
|
522
|
-
X(
|
|
521
|
+
var l = e[a];
|
|
522
|
+
X(l) && _e(l, r);
|
|
523
523
|
}
|
|
524
524
|
else if (X(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var
|
|
528
|
-
if (typeof
|
|
529
|
-
for (var
|
|
530
|
-
X(
|
|
527
|
+
var m = Ae(e);
|
|
528
|
+
if (typeof m == "function" && m !== e.entries)
|
|
529
|
+
for (var b = m.call(e), v; !(v = b.next()).done; )
|
|
530
|
+
X(v.value) && _e(v.value, r);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function ur(e) {
|
|
535
535
|
{
|
|
536
536
|
var r = e.type;
|
|
537
537
|
if (r == null || typeof r == "string")
|
|
@@ -539,96 +539,96 @@ Check the top-level render call using <` + a + ">.");
|
|
|
539
539
|
var a;
|
|
540
540
|
if (typeof r == "function")
|
|
541
541
|
a = r.propTypes;
|
|
542
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
542
|
+
else if (typeof r == "object" && (r.$$typeof === p || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
|
-
r.$$typeof ===
|
|
544
|
+
r.$$typeof === x))
|
|
545
545
|
a = r.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
548
|
if (a) {
|
|
549
|
-
var
|
|
550
|
-
|
|
549
|
+
var l = N(r);
|
|
550
|
+
Xe(a, e.props, "prop", l, e);
|
|
551
551
|
} else if (r.PropTypes !== void 0 && !H) {
|
|
552
552
|
H = !0;
|
|
553
|
-
var
|
|
554
|
-
|
|
553
|
+
var m = N(r);
|
|
554
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
555
555
|
}
|
|
556
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
556
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function fr(e) {
|
|
560
560
|
{
|
|
561
561
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
562
|
-
var
|
|
563
|
-
if (
|
|
564
|
-
|
|
562
|
+
var l = r[a];
|
|
563
|
+
if (l !== "children" && l !== "key") {
|
|
564
|
+
P(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", l), P(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
e.ref !== null && (
|
|
568
|
+
e.ref !== null && (P(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
var
|
|
572
|
-
function Te(e, r, a,
|
|
571
|
+
var we = {};
|
|
572
|
+
function Te(e, r, a, l, m, b) {
|
|
573
573
|
{
|
|
574
|
-
var
|
|
575
|
-
if (!
|
|
576
|
-
var
|
|
577
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
578
|
-
var _ =
|
|
579
|
-
_ ?
|
|
574
|
+
var v = Ue(e);
|
|
575
|
+
if (!v) {
|
|
576
|
+
var f = "";
|
|
577
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
+
var _ = lr();
|
|
579
|
+
_ ? f += _ : f += Ee();
|
|
580
580
|
var g;
|
|
581
|
-
e === null ? g = "null" : z(e) ? g = "array" : e !== void 0 && e.$$typeof === s ? (g = "<" + (
|
|
581
|
+
e === null ? g = "null" : z(e) ? g = "array" : e !== void 0 && e.$$typeof === s ? (g = "<" + (N(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, f);
|
|
582
582
|
}
|
|
583
|
-
var j =
|
|
583
|
+
var j = or(e, r, a, m, b);
|
|
584
584
|
if (j == null)
|
|
585
585
|
return j;
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
589
|
-
if (
|
|
590
|
-
if (z(
|
|
591
|
-
for (var
|
|
592
|
-
|
|
593
|
-
Object.freeze && Object.freeze(
|
|
586
|
+
if (v) {
|
|
587
|
+
var T = r.children;
|
|
588
|
+
if (T !== void 0)
|
|
589
|
+
if (l)
|
|
590
|
+
if (z(T)) {
|
|
591
|
+
for (var $ = 0; $ < T.length; $++)
|
|
592
|
+
Ce(T[$], e);
|
|
593
|
+
Object.freeze && Object.freeze(T);
|
|
594
594
|
} else
|
|
595
|
-
|
|
595
|
+
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
596
|
else
|
|
597
|
-
|
|
597
|
+
Ce(T, e);
|
|
598
598
|
}
|
|
599
|
-
if (
|
|
600
|
-
var k =
|
|
601
|
-
return
|
|
602
|
-
}), Z =
|
|
603
|
-
if (!
|
|
604
|
-
var
|
|
605
|
-
|
|
599
|
+
if (F.call(r, "key")) {
|
|
600
|
+
var k = N(e), w = Object.keys(r).filter(function(br) {
|
|
601
|
+
return br !== "key";
|
|
602
|
+
}), Z = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!we[k + Z]) {
|
|
604
|
+
var hr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
R(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`, Z, k,
|
|
610
|
+
<%s key={someKey} {...props} />`, Z, k, hr, k), we[k + Z] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return e ===
|
|
613
|
+
return e === o ? fr(j) : ur(j), j;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function dr(e, r, a) {
|
|
617
617
|
return Te(e, r, a, !0);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function vr(e, r, a) {
|
|
620
620
|
return Te(e, r, a, !1);
|
|
621
621
|
}
|
|
622
|
-
var
|
|
623
|
-
|
|
624
|
-
}()),
|
|
622
|
+
var pr = vr, mr = dr;
|
|
623
|
+
I.Fragment = o, I.jsx = pr, I.jsxs = mr;
|
|
624
|
+
}()), I;
|
|
625
625
|
}
|
|
626
|
-
var
|
|
626
|
+
var ke;
|
|
627
627
|
function yr() {
|
|
628
|
-
return
|
|
628
|
+
return ke || (ke = 1, process.env.NODE_ENV === "production" ? U.exports = gr() : U.exports = jr()), U.exports;
|
|
629
629
|
}
|
|
630
630
|
var t = yr();
|
|
631
|
-
const
|
|
631
|
+
const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), Er = ({ items: n, className: s }) => /* @__PURE__ */ t.jsx("ol", { className: `breadcrumb ${s || ""}`.trim(), children: n.map((i, o) => /* @__PURE__ */ t.jsx("li", { className: i.active ? "active" : "", children: i.active ? i.title : /* @__PURE__ */ t.jsx("a", { href: i.href, children: i.title }) }, o)) }), Rr = /* @__PURE__ */ t.jsx("span", { className: "loading-spinner mr-2", children: /* @__PURE__ */ t.jsxs(
|
|
632
632
|
"svg",
|
|
633
633
|
{
|
|
634
634
|
className: "animate-spin h-5 w-5 text-current",
|
|
@@ -660,150 +660,140 @@ const wr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), Rr =
|
|
|
660
660
|
) }), Q = ({
|
|
661
661
|
type: n = "default",
|
|
662
662
|
title: s,
|
|
663
|
-
size:
|
|
664
|
-
label:
|
|
665
|
-
onClick:
|
|
666
|
-
isDisabled:
|
|
667
|
-
children:
|
|
668
|
-
className:
|
|
669
|
-
isLoading:
|
|
663
|
+
size: i,
|
|
664
|
+
label: o,
|
|
665
|
+
onClick: c,
|
|
666
|
+
isDisabled: u = !1,
|
|
667
|
+
children: d,
|
|
668
|
+
className: h = "",
|
|
669
|
+
isLoading: p = !1
|
|
670
670
|
}) => {
|
|
671
|
-
const
|
|
671
|
+
const y = `btn-${n}`, E = i ? `btn-${i}` : "", C = `${`btn ${y} ${E}`.trim()} ${h}`.trim();
|
|
672
672
|
return /* @__PURE__ */ t.jsx(
|
|
673
673
|
"button",
|
|
674
674
|
{
|
|
675
|
-
className:
|
|
675
|
+
className: C,
|
|
676
676
|
type: "button",
|
|
677
|
-
onClick:
|
|
678
|
-
disabled:
|
|
677
|
+
onClick: c,
|
|
678
|
+
disabled: u || p,
|
|
679
679
|
children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center", children: [
|
|
680
|
-
|
|
681
|
-
|
|
680
|
+
p && Rr,
|
|
681
|
+
d || o,
|
|
682
682
|
" ",
|
|
683
683
|
s && /* @__PURE__ */ t.jsx("span", { children: s })
|
|
684
684
|
] })
|
|
685
685
|
}
|
|
686
686
|
);
|
|
687
|
-
}, Nr = ({ children: n, eventKey: s, active:
|
|
687
|
+
}, Nr = ({ children: n, eventKey: s, active: i }) => /* @__PURE__ */ t.jsx(
|
|
688
688
|
"div",
|
|
689
689
|
{
|
|
690
|
-
className: `tab-pane ${
|
|
690
|
+
className: `tab-pane ${i ? "active" : ""}`,
|
|
691
691
|
id: `${s}-panel`,
|
|
692
692
|
role: "tabpanel",
|
|
693
693
|
"aria-labelledby": `${s}-tab`,
|
|
694
694
|
children: n
|
|
695
695
|
},
|
|
696
696
|
s
|
|
697
|
-
), Or = ({ activeKey: n, onSelect: s, children:
|
|
698
|
-
/* @__PURE__ */ t.jsx("ul", { className: "nav nav-tabs", role: "tablist", children:
|
|
697
|
+
), Or = ({ activeKey: n, onSelect: s, children: i }) => /* @__PURE__ */ t.jsxs("div", { className: "tabs-container", children: [
|
|
698
|
+
/* @__PURE__ */ t.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: i.map(({ props: { eventKey: o, title: c } }) => /* @__PURE__ */ t.jsx("li", { className: n === o ? "active" : "", children: /* @__PURE__ */ t.jsx(
|
|
699
699
|
"a",
|
|
700
700
|
{
|
|
701
|
-
href: `#${
|
|
702
|
-
onClick: (
|
|
703
|
-
|
|
701
|
+
href: `#${o}`,
|
|
702
|
+
onClick: (u) => {
|
|
703
|
+
u.preventDefault(), s(o);
|
|
704
704
|
},
|
|
705
|
-
children:
|
|
705
|
+
children: c
|
|
706
706
|
}
|
|
707
|
-
) },
|
|
708
|
-
/* @__PURE__ */ t.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ t.jsx("div", { className: "tab-content pf-c-tab-content", children:
|
|
707
|
+
) }, o)) }),
|
|
708
|
+
/* @__PURE__ */ t.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ t.jsx("div", { className: "tab-content pf-c-tab-content", children: i.map(({ props: { eventKey: o, children: c } }) => /* @__PURE__ */ t.jsx(
|
|
709
709
|
"div",
|
|
710
710
|
{
|
|
711
|
-
className: `tab-pane ${n ===
|
|
712
|
-
id: `${
|
|
711
|
+
className: `tab-pane ${n === o ? "active" : ""}`,
|
|
712
|
+
id: `${o}-panel`,
|
|
713
713
|
role: "tabpanel",
|
|
714
|
-
"aria-labelledby": `${
|
|
715
|
-
children:
|
|
714
|
+
"aria-labelledby": `${o}-tab`,
|
|
715
|
+
children: c
|
|
716
716
|
},
|
|
717
|
-
|
|
717
|
+
o
|
|
718
718
|
)) }) })
|
|
719
|
-
] }),
|
|
719
|
+
] }), kr = xr(
|
|
720
720
|
({
|
|
721
721
|
id: n,
|
|
722
722
|
type: s,
|
|
723
|
-
placeholder:
|
|
724
|
-
value:
|
|
725
|
-
onChange:
|
|
726
|
-
className:
|
|
727
|
-
...
|
|
728
|
-
},
|
|
729
|
-
const
|
|
723
|
+
placeholder: i = "",
|
|
724
|
+
value: o,
|
|
725
|
+
onChange: c,
|
|
726
|
+
className: u = "form-control",
|
|
727
|
+
...d
|
|
728
|
+
}, h) => {
|
|
729
|
+
const p = `form-control ${u}`;
|
|
730
730
|
return /* @__PURE__ */ t.jsx(
|
|
731
731
|
"input",
|
|
732
732
|
{
|
|
733
733
|
type: s,
|
|
734
734
|
id: n,
|
|
735
|
-
className:
|
|
736
|
-
placeholder:
|
|
737
|
-
value:
|
|
738
|
-
onChange:
|
|
739
|
-
ref:
|
|
740
|
-
...
|
|
735
|
+
className: p,
|
|
736
|
+
placeholder: i,
|
|
737
|
+
value: o,
|
|
738
|
+
onChange: c,
|
|
739
|
+
ref: h,
|
|
740
|
+
...d
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
743
|
}
|
|
744
|
-
),
|
|
744
|
+
), Sr = ({ title: n, isOpen: s, onClose: i, children: o, size: c }) => {
|
|
745
745
|
if (!s) return null;
|
|
746
|
-
const
|
|
747
|
-
return /* @__PURE__ */ t.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ t.jsx("div", { className: `modal-dialog ${
|
|
746
|
+
const u = c ? `modal-${c}` : "";
|
|
747
|
+
return /* @__PURE__ */ t.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ t.jsx("div", { className: `modal-dialog ${u}`, role: "document", children: /* @__PURE__ */ t.jsxs("div", { className: "modal-content", children: [
|
|
748
748
|
/* @__PURE__ */ t.jsxs("div", { className: "modal-header", children: [
|
|
749
|
-
/* @__PURE__ */ t.jsx("button", { type: "button", className: "close", onClick:
|
|
749
|
+
/* @__PURE__ */ t.jsx("button", { type: "button", className: "close", onClick: i, "aria-hidden": "true", children: /* @__PURE__ */ t.jsx("span", { className: "pficon pficon-close" }) }),
|
|
750
750
|
/* @__PURE__ */ t.jsx("h4", { className: "modal-title", children: n })
|
|
751
751
|
] }),
|
|
752
|
-
/* @__PURE__ */ t.jsx("div", { className: "modal-body", children:
|
|
752
|
+
/* @__PURE__ */ t.jsx("div", { className: "modal-body", children: o })
|
|
753
753
|
] }) }) });
|
|
754
|
-
}, Pr = ({ variant: n, children: s, className:
|
|
755
|
-
const
|
|
754
|
+
}, Pr = ({ variant: n, children: s, className: i = "" }) => {
|
|
755
|
+
const o = {
|
|
756
756
|
warning: "text-yellow-600",
|
|
757
757
|
success: "text-green-600",
|
|
758
758
|
error: "text-red-600"
|
|
759
|
-
},
|
|
760
|
-
return /* @__PURE__ */ t.jsx("p", { className:
|
|
761
|
-
}, $r = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("table", { ...s, children: n }), Dr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("tbody", { ...s, children: n }), Fr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("td", { ...s, children: n }), Ar = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("th", { ...s, children: n }), Ir = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("thead", { ...s, children: n }), Wr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("tr", { ...s, children: n }),
|
|
759
|
+
}, c = i + " " + o[n] || "";
|
|
760
|
+
return /* @__PURE__ */ t.jsx("p", { className: c, children: s });
|
|
761
|
+
}, $r = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("table", { ...s, children: n }), Dr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("tbody", { ...s, children: n }), Fr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("td", { ...s, children: n }), Ar = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("th", { ...s, children: n }), Ir = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("thead", { ...s, children: n }), Wr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("tr", { ...s, children: n }), De = ({
|
|
762
762
|
items: n,
|
|
763
763
|
selected: s,
|
|
764
|
-
title:
|
|
765
|
-
isOpen:
|
|
766
|
-
setIsOpen:
|
|
767
|
-
onChange:
|
|
768
|
-
className:
|
|
764
|
+
title: i,
|
|
765
|
+
isOpen: o,
|
|
766
|
+
setIsOpen: c,
|
|
767
|
+
onChange: u,
|
|
768
|
+
className: d = ""
|
|
769
769
|
}) => {
|
|
770
|
-
const
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
};
|
|
775
|
-
return i && document.addEventListener("mousedown", x), () => {
|
|
776
|
-
document.addEventListener("mousedown", x);
|
|
777
|
-
};
|
|
778
|
-
}, [i]);
|
|
779
|
-
const m = (x) => {
|
|
780
|
-
l(!x);
|
|
781
|
-
}, R = (x) => {
|
|
782
|
-
l(!1), f(x);
|
|
770
|
+
const h = (x) => {
|
|
771
|
+
c(!x);
|
|
772
|
+
}, p = (x) => {
|
|
773
|
+
c(!1), u(x);
|
|
783
774
|
}, y = (x) => {
|
|
784
|
-
const
|
|
775
|
+
const C = x.id === s;
|
|
785
776
|
return /* @__PURE__ */ t.jsx(
|
|
786
777
|
"li",
|
|
787
778
|
{
|
|
788
|
-
onClick: () =>
|
|
789
|
-
className:
|
|
779
|
+
onClick: () => p(x),
|
|
780
|
+
className: C ? "active" : "",
|
|
790
781
|
children: /* @__PURE__ */ t.jsx("a", { href: "#", children: x.title })
|
|
791
782
|
},
|
|
792
783
|
x.id
|
|
793
784
|
);
|
|
794
|
-
},
|
|
785
|
+
}, E = `btn btn-default dropdown-toggle flex-1 ${d}`;
|
|
795
786
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
796
787
|
/* @__PURE__ */ t.jsx(
|
|
797
788
|
"button",
|
|
798
789
|
{
|
|
799
|
-
ref: b,
|
|
800
790
|
style: { marginLeft: "0px", left: "-1px" },
|
|
801
|
-
className:
|
|
802
|
-
onClick: () =>
|
|
791
|
+
className: E,
|
|
792
|
+
onClick: () => h(o),
|
|
803
793
|
"data-toggle": "dropdown",
|
|
804
794
|
type: "button",
|
|
805
795
|
children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center", children: [
|
|
806
|
-
|
|
796
|
+
i && /* @__PURE__ */ t.jsx("div", { className: "mr-2", children: i }),
|
|
807
797
|
" ",
|
|
808
798
|
/* @__PURE__ */ t.jsx("span", { className: "caret" }),
|
|
809
799
|
" "
|
|
@@ -812,36 +802,45 @@ const wr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), Rr =
|
|
|
812
802
|
),
|
|
813
803
|
/* @__PURE__ */ t.jsx("ul", { className: "dropdown-menu", role: "menu", children: n.map(y) })
|
|
814
804
|
] });
|
|
815
|
-
},
|
|
816
|
-
const [s,
|
|
817
|
-
|
|
818
|
-
|
|
805
|
+
}, Lr = (n) => {
|
|
806
|
+
const [s, i] = ee(!1), o = n.selected, c = n.items.find((d) => d.id == o);
|
|
807
|
+
n.debug && (console.log(n), console.log(c));
|
|
808
|
+
const u = $e(null);
|
|
809
|
+
return re(() => {
|
|
810
|
+
const d = (h) => {
|
|
811
|
+
console.log(h.target), u.current && !u.current.contains(h.target) && i(!1);
|
|
812
|
+
};
|
|
813
|
+
return s && document.addEventListener("mousedown", d), () => {
|
|
814
|
+
document.removeEventListener("mousedown", d);
|
|
815
|
+
};
|
|
816
|
+
}, [s]), /* @__PURE__ */ t.jsx("div", { className: `btn-group ${s ? "open" : ""}`, ref: u, children: /* @__PURE__ */ t.jsx(
|
|
817
|
+
De,
|
|
819
818
|
{
|
|
820
819
|
...n,
|
|
821
|
-
title: (
|
|
822
|
-
setIsOpen:
|
|
820
|
+
title: (c == null ? void 0 : c.title) || n.title,
|
|
821
|
+
setIsOpen: i,
|
|
823
822
|
isOpen: s
|
|
824
823
|
}
|
|
825
824
|
) });
|
|
826
825
|
}, _r = ({
|
|
827
826
|
currentPage: n,
|
|
828
827
|
total: s,
|
|
829
|
-
onPageChange:
|
|
830
|
-
onNextPage:
|
|
831
|
-
onPrevPage:
|
|
832
|
-
end:
|
|
833
|
-
pageSize:
|
|
828
|
+
onPageChange: i,
|
|
829
|
+
onNextPage: o,
|
|
830
|
+
onPrevPage: c,
|
|
831
|
+
end: u,
|
|
832
|
+
pageSize: d
|
|
834
833
|
}) => {
|
|
835
|
-
const
|
|
836
|
-
|
|
837
|
-
},
|
|
838
|
-
|
|
834
|
+
const h = Math.ceil(s / d), p = () => {
|
|
835
|
+
c ? c() : n > 1 && i(n - 1);
|
|
836
|
+
}, y = () => {
|
|
837
|
+
o ? o() : n < h && i(n + 1);
|
|
839
838
|
};
|
|
840
839
|
return /* @__PURE__ */ t.jsxs("div", { children: [
|
|
841
840
|
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsxs("span", { className: "pagination-pf-items-current", children: [
|
|
842
841
|
n,
|
|
843
842
|
" - ",
|
|
844
|
-
|
|
843
|
+
h
|
|
845
844
|
] }) }),
|
|
846
845
|
/* @__PURE__ */ t.jsxs("div", { className: "btn-group ml-2", children: [
|
|
847
846
|
/* @__PURE__ */ t.jsx(
|
|
@@ -850,7 +849,7 @@ const wr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), Rr =
|
|
|
850
849
|
type: "button",
|
|
851
850
|
className: `btn btn-default ${n === 1 ? "disabled" : ""}`,
|
|
852
851
|
disabled: n === 1,
|
|
853
|
-
onClick:
|
|
852
|
+
onClick: p,
|
|
854
853
|
children: /* @__PURE__ */ t.jsx("i", { className: "fa fa-angle-left" })
|
|
855
854
|
}
|
|
856
855
|
),
|
|
@@ -858,9 +857,9 @@ const wr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), Rr =
|
|
|
858
857
|
"button",
|
|
859
858
|
{
|
|
860
859
|
type: "button",
|
|
861
|
-
className: `btn btn-default ${n ===
|
|
862
|
-
disabled: n ===
|
|
863
|
-
onClick:
|
|
860
|
+
className: `btn btn-default ${n === h ? "disabled" : ""}`,
|
|
861
|
+
disabled: n === h || u,
|
|
862
|
+
onClick: y,
|
|
864
863
|
children: /* @__PURE__ */ t.jsx("i", { className: "fa fa-angle-right" })
|
|
865
864
|
}
|
|
866
865
|
)
|
|
@@ -869,129 +868,143 @@ const wr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), Rr =
|
|
|
869
868
|
}, K = ({
|
|
870
869
|
children: n,
|
|
871
870
|
onChange: s,
|
|
872
|
-
items:
|
|
873
|
-
selected:
|
|
874
|
-
className:
|
|
871
|
+
items: i,
|
|
872
|
+
selected: o,
|
|
873
|
+
className: c = ""
|
|
875
874
|
}) => {
|
|
876
|
-
const [
|
|
877
|
-
return
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
|
|
875
|
+
const [u, d] = ee(!1), h = $e(null);
|
|
876
|
+
return re(() => {
|
|
877
|
+
const p = (y) => {
|
|
878
|
+
console.log(y.target), h.current && !h.current.contains(y.target) && d(!1);
|
|
879
|
+
};
|
|
880
|
+
return u && document.addEventListener("mousedown", p), () => {
|
|
881
|
+
document.removeEventListener("mousedown", p);
|
|
882
|
+
};
|
|
883
|
+
}, [u]), /* @__PURE__ */ t.jsx(
|
|
884
|
+
"div",
|
|
885
|
+
{
|
|
886
|
+
className: `btn-group ${c} ${u ? "open" : ""}`,
|
|
887
|
+
ref: h,
|
|
888
|
+
children: /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
889
|
+
n,
|
|
890
|
+
/* @__PURE__ */ t.jsx(
|
|
891
|
+
De,
|
|
892
|
+
{
|
|
893
|
+
setIsOpen: d,
|
|
894
|
+
isOpen: u,
|
|
895
|
+
onChange: s,
|
|
896
|
+
items: i,
|
|
897
|
+
selected: o
|
|
898
|
+
}
|
|
899
|
+
)
|
|
900
|
+
] })
|
|
901
|
+
}
|
|
902
|
+
);
|
|
890
903
|
}, Se = [
|
|
891
904
|
{ id: 1, title: "5 сек", data: 5e3 },
|
|
892
905
|
{ id: 2, title: "10 сек", data: 1e4 },
|
|
893
906
|
{ id: 3, title: "20 сек", data: 2e4 },
|
|
894
907
|
{ id: 4, title: "30 сек", data: 3e4 },
|
|
895
908
|
{ id: 5, title: "60 сек", data: 6e4 }
|
|
896
|
-
], Cr = ({ onChange: n, value: s, onRefresh:
|
|
897
|
-
var
|
|
898
|
-
const
|
|
899
|
-
n(
|
|
900
|
-
},
|
|
901
|
-
return /* @__PURE__ */ t.jsx(K, { className: "flex", items: Se, onChange:
|
|
909
|
+
], Cr = ({ onChange: n, value: s, onRefresh: i }) => {
|
|
910
|
+
var u;
|
|
911
|
+
const o = (d) => {
|
|
912
|
+
n(d.data);
|
|
913
|
+
}, c = (u = Se.find((d) => d.data === s)) == null ? void 0 : u.id;
|
|
914
|
+
return /* @__PURE__ */ t.jsx(K, { className: "flex", items: Se, onChange: o, selected: c, children: /* @__PURE__ */ t.jsxs(Q, { className: "m-0", type: "default", onClick: i, children: [
|
|
902
915
|
" ",
|
|
903
916
|
/* @__PURE__ */ t.jsx("i", { className: "fa fa-refresh" }),
|
|
904
917
|
" "
|
|
905
918
|
] }) });
|
|
906
|
-
},
|
|
919
|
+
}, Yr = ({
|
|
907
920
|
interval: n,
|
|
908
921
|
page: s,
|
|
909
|
-
total:
|
|
910
|
-
onRefresh:
|
|
911
|
-
onChangeInterval:
|
|
912
|
-
onPageChange:
|
|
913
|
-
pageSize:
|
|
914
|
-
onNextPage:
|
|
915
|
-
onPrevPage:
|
|
916
|
-
end:
|
|
922
|
+
total: i,
|
|
923
|
+
onRefresh: o,
|
|
924
|
+
onChangeInterval: c,
|
|
925
|
+
onPageChange: u,
|
|
926
|
+
pageSize: d,
|
|
927
|
+
onNextPage: h,
|
|
928
|
+
onPrevPage: p,
|
|
929
|
+
end: y
|
|
917
930
|
}) => /* @__PURE__ */ t.jsxs("div", { className: "flex justify-between bg-[#f5f5f5] border border-[#d1d1d1]", children: [
|
|
918
931
|
/* @__PURE__ */ t.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ t.jsx(
|
|
919
932
|
Cr,
|
|
920
933
|
{
|
|
921
934
|
value: n,
|
|
922
|
-
onChange:
|
|
923
|
-
onRefresh:
|
|
935
|
+
onChange: c,
|
|
936
|
+
onRefresh: o
|
|
924
937
|
}
|
|
925
938
|
) }),
|
|
926
939
|
/* @__PURE__ */ t.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ t.jsx(
|
|
927
940
|
_r,
|
|
928
941
|
{
|
|
929
|
-
end:
|
|
930
|
-
onNextPage:
|
|
931
|
-
onPrevPage:
|
|
932
|
-
pageSize:
|
|
942
|
+
end: y,
|
|
943
|
+
onNextPage: h,
|
|
944
|
+
onPrevPage: p,
|
|
945
|
+
pageSize: d,
|
|
933
946
|
currentPage: s,
|
|
934
|
-
total:
|
|
935
|
-
onPageChange:
|
|
947
|
+
total: i,
|
|
948
|
+
onPageChange: u
|
|
936
949
|
}
|
|
937
950
|
) })
|
|
938
951
|
] }), Vr = ({
|
|
939
952
|
id: n,
|
|
940
953
|
label: s,
|
|
941
|
-
isChecked:
|
|
942
|
-
onChange:
|
|
943
|
-
className:
|
|
944
|
-
position:
|
|
945
|
-
}) => /* @__PURE__ */ t.jsx("div", { className:
|
|
946
|
-
|
|
954
|
+
isChecked: i = !1,
|
|
955
|
+
onChange: o,
|
|
956
|
+
className: c = "checkbox",
|
|
957
|
+
position: u = "right"
|
|
958
|
+
}) => /* @__PURE__ */ t.jsx("div", { className: c, children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
959
|
+
u === "left" && /* @__PURE__ */ t.jsx(
|
|
947
960
|
"input",
|
|
948
961
|
{
|
|
949
962
|
type: "checkbox",
|
|
950
963
|
id: n,
|
|
951
|
-
checked:
|
|
952
|
-
onChange:
|
|
964
|
+
checked: i,
|
|
965
|
+
onChange: o,
|
|
953
966
|
className: "cursor-pointer !mt-0"
|
|
954
967
|
}
|
|
955
968
|
),
|
|
956
969
|
/* @__PURE__ */ t.jsx("label", { htmlFor: n, className: "cursor-pointer !mb-0", children: s }),
|
|
957
|
-
|
|
970
|
+
u === "right" && /* @__PURE__ */ t.jsx(
|
|
958
971
|
"input",
|
|
959
972
|
{
|
|
960
973
|
type: "checkbox",
|
|
961
974
|
id: n,
|
|
962
|
-
checked:
|
|
963
|
-
onChange:
|
|
975
|
+
checked: i,
|
|
976
|
+
onChange: o,
|
|
964
977
|
className: "cursor-pointer !mt-0"
|
|
965
978
|
}
|
|
966
979
|
)
|
|
967
980
|
] }) }), Mr = ({
|
|
968
981
|
placeholder: n = "",
|
|
969
982
|
rows: s = 3,
|
|
970
|
-
maxLength:
|
|
971
|
-
value:
|
|
972
|
-
onChange:
|
|
973
|
-
isDisabled:
|
|
974
|
-
className:
|
|
983
|
+
maxLength: i,
|
|
984
|
+
value: o,
|
|
985
|
+
onChange: c,
|
|
986
|
+
isDisabled: u = !1,
|
|
987
|
+
className: d = ""
|
|
975
988
|
}) => {
|
|
976
|
-
const [
|
|
977
|
-
const
|
|
978
|
-
|
|
989
|
+
const [h, p] = ee(o || ""), y = o !== void 0 ? o : h, E = (x) => {
|
|
990
|
+
const C = x.target.value;
|
|
991
|
+
c ? c(C) : p(C);
|
|
979
992
|
};
|
|
980
993
|
return /* @__PURE__ */ t.jsx(
|
|
981
994
|
"textarea",
|
|
982
995
|
{
|
|
983
|
-
className:
|
|
996
|
+
className: d,
|
|
984
997
|
placeholder: n,
|
|
985
998
|
rows: s,
|
|
986
|
-
maxLength:
|
|
987
|
-
value:
|
|
988
|
-
onChange:
|
|
989
|
-
disabled:
|
|
999
|
+
maxLength: i,
|
|
1000
|
+
value: y,
|
|
1001
|
+
onChange: E,
|
|
1002
|
+
disabled: u
|
|
990
1003
|
}
|
|
991
1004
|
);
|
|
992
|
-
}, Ur = ({ variant: n, title: s, className:
|
|
993
|
-
const
|
|
994
|
-
switch (
|
|
1005
|
+
}, Ur = ({ variant: n, title: s, className: i }) => {
|
|
1006
|
+
const o = ["success", "info", "warning", "danger"], c = (d) => {
|
|
1007
|
+
switch (d) {
|
|
995
1008
|
case "success":
|
|
996
1009
|
return "pficon pficon-ok";
|
|
997
1010
|
case "info":
|
|
@@ -1004,53 +1017,53 @@ const wr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), Rr =
|
|
|
1004
1017
|
return "pficon pficon-info";
|
|
1005
1018
|
}
|
|
1006
1019
|
};
|
|
1007
|
-
|
|
1008
|
-
const
|
|
1009
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
1010
|
-
/* @__PURE__ */ t.jsx("span", { className: "!static " +
|
|
1020
|
+
o.includes(n) || (console.warn(`Unsupported alert variant: "${n}". Defaulting to "info".`), n = "info");
|
|
1021
|
+
const u = `flex pl-[20px] !static items-center alert alert-${n} ${i || ""}`.trim();
|
|
1022
|
+
return /* @__PURE__ */ t.jsxs("div", { className: u, role: "alert", children: [
|
|
1023
|
+
/* @__PURE__ */ t.jsx("span", { className: "!static " + c(n) }),
|
|
1011
1024
|
/* @__PURE__ */ t.jsx("div", { className: "ml-5", children: s })
|
|
1012
1025
|
] });
|
|
1013
|
-
}, Br = ({ variant: n, children: s, onClick:
|
|
1014
|
-
const
|
|
1026
|
+
}, Br = ({ variant: n, children: s, onClick: i }) => {
|
|
1027
|
+
const o = `label label-${n}`, c = i ? { tabIndex: 0, role: "button", "aria-pressed": !1 } : {};
|
|
1015
1028
|
return /* @__PURE__ */ t.jsx(
|
|
1016
1029
|
"span",
|
|
1017
1030
|
{
|
|
1018
|
-
className:
|
|
1019
|
-
onClick:
|
|
1020
|
-
...
|
|
1021
|
-
style: { cursor:
|
|
1031
|
+
className: o,
|
|
1032
|
+
onClick: i,
|
|
1033
|
+
...c,
|
|
1034
|
+
style: { cursor: i ? "pointer" : void 0 },
|
|
1022
1035
|
children: s
|
|
1023
1036
|
}
|
|
1024
1037
|
);
|
|
1025
1038
|
}, Jr = (n) => {
|
|
1026
|
-
const { label: s, isChecked:
|
|
1027
|
-
return /* @__PURE__ */ t.jsx("div", { className: "radio", children: /* @__PURE__ */ t.jsxs("label", { htmlFor:
|
|
1039
|
+
const { label: s, isChecked: i = !1, id: o = "radio1", onChange: c, name: u } = n;
|
|
1040
|
+
return /* @__PURE__ */ t.jsx("div", { className: "radio", children: /* @__PURE__ */ t.jsxs("label", { htmlFor: o, children: [
|
|
1028
1041
|
/* @__PURE__ */ t.jsx(
|
|
1029
1042
|
"input",
|
|
1030
1043
|
{
|
|
1031
1044
|
type: "radio",
|
|
1032
|
-
name:
|
|
1033
|
-
id:
|
|
1034
|
-
checked:
|
|
1035
|
-
onChange: (
|
|
1045
|
+
name: u,
|
|
1046
|
+
id: o,
|
|
1047
|
+
checked: i,
|
|
1048
|
+
onChange: (d) => c(d.target.checked)
|
|
1036
1049
|
}
|
|
1037
1050
|
),
|
|
1038
1051
|
s
|
|
1039
1052
|
] }) });
|
|
1040
1053
|
};
|
|
1041
1054
|
function qr(n, s) {
|
|
1042
|
-
|
|
1055
|
+
re(() => {
|
|
1043
1056
|
if (!n)
|
|
1044
1057
|
return;
|
|
1045
|
-
const
|
|
1058
|
+
const i = setInterval(() => {
|
|
1046
1059
|
s();
|
|
1047
1060
|
}, n);
|
|
1048
|
-
return () => clearInterval(
|
|
1061
|
+
return () => clearInterval(i);
|
|
1049
1062
|
}, [n]);
|
|
1050
1063
|
}
|
|
1051
1064
|
const zr = () => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
1052
1065
|
/* @__PURE__ */ t.jsx(
|
|
1053
|
-
|
|
1066
|
+
Er,
|
|
1054
1067
|
{
|
|
1055
1068
|
items: [
|
|
1056
1069
|
{ title: "Дополнения", active: !0 },
|
|
@@ -1087,30 +1100,30 @@ const zr = () => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
1087
1100
|
] });
|
|
1088
1101
|
export {
|
|
1089
1102
|
Ur as Alert,
|
|
1090
|
-
|
|
1103
|
+
Er as Breadcrumb,
|
|
1091
1104
|
Q as Button,
|
|
1092
1105
|
Vr as Checkbox,
|
|
1093
|
-
|
|
1094
|
-
|
|
1106
|
+
De as Dropdown,
|
|
1107
|
+
Lr as DropdownSelect,
|
|
1095
1108
|
K as GroupButtonContainer,
|
|
1096
1109
|
Pr as HelpText,
|
|
1097
|
-
|
|
1110
|
+
kr as Input,
|
|
1098
1111
|
Br as Label,
|
|
1099
|
-
|
|
1112
|
+
Sr as Modal,
|
|
1100
1113
|
_r as Pagination,
|
|
1101
1114
|
Jr as Radio,
|
|
1102
1115
|
Cr as ReloadButton,
|
|
1103
1116
|
zr as SampleComp,
|
|
1104
1117
|
Nr as Tab,
|
|
1105
1118
|
$r as Table,
|
|
1106
|
-
|
|
1119
|
+
Yr as TableToolbar,
|
|
1107
1120
|
Or as Tabs,
|
|
1108
1121
|
Dr as Tbody,
|
|
1109
1122
|
Fr as Td,
|
|
1110
1123
|
Mr as TextArea,
|
|
1111
1124
|
Ar as Th,
|
|
1112
1125
|
Ir as Thead,
|
|
1113
|
-
|
|
1126
|
+
Tr as ToolbarContainer,
|
|
1114
1127
|
Wr as Tr,
|
|
1115
1128
|
qr as useIntervalLoader
|
|
1116
1129
|
};
|