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