ovirt-ui-toolkit 0.0.7 → 0.0.10

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,4 +1,4 @@
1
- import Oe from "react";
1
+ import Oe, { useState as vr } from "react";
2
2
  var U = { exports: {} }, A = {};
3
3
  /**
4
4
  * @license React
@@ -9,19 +9,19 @@ 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 je;
13
- function fr() {
14
- if (je) return A;
15
- je = 1;
16
- var v = Oe, u = Symbol.for("react.element"), p = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, m = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function O(j, b, T) {
18
- var E, x = {}, S = null, W = null;
19
- T !== void 0 && (S = "" + T), b.key !== void 0 && (S = "" + b.key), b.ref !== void 0 && (W = b.ref);
20
- for (E in b) c.call(b, E) && !R.hasOwnProperty(E) && (x[E] = b[E]);
21
- if (j && j.defaultProps) for (E in b = j.defaultProps, b) x[E] === void 0 && (x[E] = b[E]);
22
- return { $$typeof: u, type: j, key: S, ref: W, props: x, _owner: m.current };
12
+ var _e;
13
+ function pr() {
14
+ if (_e) return A;
15
+ _e = 1;
16
+ var i = Oe, a = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function E(T, x, C) {
18
+ var p, R = {}, O = null, W = null;
19
+ C !== void 0 && (O = "" + C), x.key !== void 0 && (O = "" + x.key), x.ref !== void 0 && (W = x.ref);
20
+ for (p in x) c.call(x, p) && !h.hasOwnProperty(p) && (R[p] = x[p]);
21
+ if (T && T.defaultProps) for (p in x = T.defaultProps, x) R[p] === void 0 && (R[p] = x[p]);
22
+ return { $$typeof: a, type: T, key: O, ref: W, props: R, _owner: v.current };
23
23
  }
24
- return A.Fragment = p, A.jsx = O, A.jsxs = O, A;
24
+ return A.Fragment = f, A.jsx = E, A.jsxs = E, A;
25
25
  }
26
26
  var I = {};
27
27
  /**
@@ -34,90 +34,90 @@ var I = {};
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
36
  var Te;
37
- function dr() {
37
+ function br() {
38
38
  return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
39
- var v = Oe, u = Symbol.for("react.element"), p = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), j = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, Se = "@@iterator";
40
- function we(e) {
39
+ var i = Oe, a = Symbol.for("react.element"), f = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), T = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, ke = "@@iterator";
40
+ function Ne(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var r = Q && e[Q] || e[Se];
43
+ var r = Q && e[Q] || e[ke];
44
44
  return typeof r == "function" ? r : null;
45
45
  }
46
- var k = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function h(e) {
46
+ var N = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
+ function g(e) {
48
48
  {
49
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
50
- t[a - 1] = arguments[a];
49
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
50
+ t[s - 1] = arguments[s];
51
51
  Pe("error", e, t);
52
52
  }
53
53
  }
54
54
  function Pe(e, r, t) {
55
55
  {
56
- var a = k.ReactDebugCurrentFrame, o = a.getStackAddendum();
57
- o !== "" && (r += "%s", t = t.concat([o]));
58
- var s = t.map(function(i) {
59
- return String(i);
56
+ var s = N.ReactDebugCurrentFrame, u = s.getStackAddendum();
57
+ u !== "" && (r += "%s", t = t.concat([u]));
58
+ var d = t.map(function(l) {
59
+ return String(l);
60
60
  });
61
- s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
61
+ d.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, d);
62
62
  }
63
63
  }
64
- var ke = !1, $e = !1, De = !1, Fe = !1, Ne = !1, K;
64
+ var $e = !1, De = !1, Fe = !1, Ae = !1, Ie = !1, K;
65
65
  K = Symbol.for("react.module.reference");
66
- function Ae(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === R || Ne || e === m || e === T || e === E || Fe || e === W || ke || $e || De || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === O || e.$$typeof === j || e.$$typeof === b || // This needs to include all possible module reference object
66
+ function We(e) {
67
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === h || Ie || e === v || e === C || e === p || Ae || e === W || $e || De || Fe || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === R || e.$$typeof === E || e.$$typeof === T || e.$$typeof === x || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
71
  e.$$typeof === K || e.getModuleId !== void 0));
72
72
  }
73
- function Ie(e, r, t) {
74
- var a = e.displayName;
75
- if (a)
76
- return a;
77
- var o = r.displayName || r.name || "";
78
- return o !== "" ? t + "(" + o + ")" : t;
73
+ function Ye(e, r, t) {
74
+ var s = e.displayName;
75
+ if (s)
76
+ return s;
77
+ var u = r.displayName || r.name || "";
78
+ return u !== "" ? t + "(" + u + ")" : t;
79
79
  }
80
80
  function ee(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
- function C(e) {
83
+ function w(e) {
84
84
  if (e == null)
85
85
  return null;
86
- if (typeof e.tag == "number" && h("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
86
+ if (typeof e.tag == "number" && g("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
91
  case c:
92
92
  return "Fragment";
93
- case p:
93
+ case f:
94
94
  return "Portal";
95
- case R:
95
+ case h:
96
96
  return "Profiler";
97
- case m:
97
+ case v:
98
98
  return "StrictMode";
99
- case T:
99
+ case C:
100
100
  return "Suspense";
101
- case E:
101
+ case p:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case j:
106
+ case T:
107
107
  var r = e;
108
108
  return ee(r) + ".Consumer";
109
- case O:
109
+ case E:
110
110
  var t = e;
111
111
  return ee(t._context) + ".Provider";
112
- case b:
113
- return Ie(e, e.render, "ForwardRef");
114
112
  case x:
115
- var a = e.displayName || null;
116
- return a !== null ? a : C(e.type) || "Memo";
117
- case S: {
118
- var o = e, s = o._payload, i = o._init;
113
+ return Ye(e, e.render, "ForwardRef");
114
+ case R:
115
+ var s = e.displayName || null;
116
+ return s !== null ? s : w(e.type) || "Memo";
117
+ case O: {
118
+ var u = e, d = u._payload, l = u._init;
119
119
  try {
120
- return C(i(s));
120
+ return w(l(d));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,14 +125,14 @@ function dr() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var w = Object.assign, F = 0, re, te, ae, ne, ie, oe, se;
128
+ var S = Object.assign, D = 0, re, te, ne, ae, ie, se, oe;
129
129
  function le() {
130
130
  }
131
131
  le.__reactDisabledLog = !0;
132
- function We() {
132
+ function Le() {
133
133
  {
134
- if (F === 0) {
135
- re = console.log, te = console.info, ae = console.warn, ne = console.error, ie = console.group, oe = console.groupCollapsed, se = console.groupEnd;
134
+ if (D === 0) {
135
+ re = console.log, te = console.info, ne = console.warn, ae = console.error, ie = console.group, se = console.groupCollapsed, oe = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
@@ -149,53 +149,53 @@ function dr() {
149
149
  groupEnd: e
150
150
  });
151
151
  }
152
- F++;
152
+ D++;
153
153
  }
154
154
  }
155
- function Ye() {
155
+ function Me() {
156
156
  {
157
- if (F--, F === 0) {
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: w({}, e, {
164
+ log: S({}, e, {
165
165
  value: re
166
166
  }),
167
- info: w({}, e, {
167
+ info: S({}, e, {
168
168
  value: te
169
169
  }),
170
- warn: w({}, e, {
171
- value: ae
172
- }),
173
- error: w({}, e, {
170
+ warn: S({}, e, {
174
171
  value: ne
175
172
  }),
176
- group: w({}, e, {
177
- value: ie
173
+ error: S({}, e, {
174
+ value: ae
178
175
  }),
179
- groupCollapsed: w({}, e, {
180
- value: oe
176
+ group: S({}, e, {
177
+ value: ie
181
178
  }),
182
- groupEnd: w({}, e, {
179
+ groupCollapsed: S({}, e, {
183
180
  value: se
181
+ }),
182
+ groupEnd: S({}, e, {
183
+ value: oe
184
184
  })
185
185
  });
186
186
  }
187
- F < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ D < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var B = k.ReactCurrentDispatcher, J;
190
+ var B = N.ReactCurrentDispatcher, J;
191
191
  function Y(e, r, t) {
192
192
  {
193
193
  if (J === void 0)
194
194
  try {
195
195
  throw Error();
196
- } catch (o) {
197
- var a = o.stack.trim().match(/\n( *(at )?)/);
198
- J = a && a[1] || "";
196
+ } catch (u) {
197
+ var s = u.stack.trim().match(/\n( *(at )?)/);
198
+ J = s && s[1] || "";
199
199
  }
200
200
  return `
201
201
  ` + J + e;
@@ -203,10 +203,10 @@ function dr() {
203
203
  }
204
204
  var q = !1, L;
205
205
  {
206
- var Le = typeof WeakMap == "function" ? WeakMap : Map;
207
- L = new Le();
206
+ var Ve = typeof WeakMap == "function" ? WeakMap : Map;
207
+ L = new Ve();
208
208
  }
209
- function ue(e, r) {
209
+ function ce(e, r) {
210
210
  if (!e || q)
211
211
  return "";
212
212
  {
@@ -214,73 +214,73 @@ function dr() {
214
214
  if (t !== void 0)
215
215
  return t;
216
216
  }
217
- var a;
217
+ var s;
218
218
  q = !0;
219
- var o = Error.prepareStackTrace;
219
+ var u = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var s;
222
- s = B.current, B.current = null, We();
221
+ var d;
222
+ d = B.current, B.current = null, Le();
223
223
  try {
224
224
  if (r) {
225
- var i = function() {
225
+ var l = function() {
226
226
  throw Error();
227
227
  };
228
- if (Object.defineProperty(i.prototype, "props", {
228
+ if (Object.defineProperty(l.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(i, []);
235
- } catch (y) {
236
- a = y;
234
+ Reflect.construct(l, []);
235
+ } catch (j) {
236
+ s = j;
237
237
  }
238
- Reflect.construct(e, [], i);
238
+ Reflect.construct(e, [], l);
239
239
  } else {
240
240
  try {
241
- i.call();
242
- } catch (y) {
243
- a = y;
241
+ l.call();
242
+ } catch (j) {
243
+ s = j;
244
244
  }
245
- e.call(i.prototype);
245
+ e.call(l.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (y) {
251
- a = y;
250
+ } catch (j) {
251
+ s = j;
252
252
  }
253
253
  e();
254
254
  }
255
- } catch (y) {
256
- if (y && a && typeof y.stack == "string") {
257
- for (var n = y.stack.split(`
258
- `), g = a.stack.split(`
259
- `), f = n.length - 1, d = g.length - 1; f >= 1 && d >= 0 && n[f] !== g[d]; )
260
- d--;
261
- for (; f >= 1 && d >= 0; f--, d--)
262
- if (n[f] !== g[d]) {
263
- if (f !== 1 || d !== 1)
255
+ } catch (j) {
256
+ if (j && s && typeof j.stack == "string") {
257
+ for (var o = j.stack.split(`
258
+ `), y = s.stack.split(`
259
+ `), b = o.length - 1, m = y.length - 1; b >= 1 && m >= 0 && o[b] !== y[m]; )
260
+ m--;
261
+ for (; b >= 1 && m >= 0; b--, m--)
262
+ if (o[b] !== y[m]) {
263
+ if (b !== 1 || m !== 1)
264
264
  do
265
- if (f--, d--, d < 0 || n[f] !== g[d]) {
265
+ if (b--, m--, m < 0 || o[b] !== y[m]) {
266
266
  var _ = `
267
- ` + n[f].replace(" at new ", " at ");
267
+ ` + o[b].replace(" at new ", " at ");
268
268
  return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, _), _;
269
269
  }
270
- while (f >= 1 && d >= 0);
270
+ while (b >= 1 && m >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- q = !1, B.current = s, Ye(), Error.prepareStackTrace = o;
275
+ q = !1, B.current = d, Me(), Error.prepareStackTrace = u;
276
276
  }
277
- var D = e ? e.displayName || e.name : "", P = D ? Y(D) : "";
278
- return typeof e == "function" && L.set(e, P), P;
277
+ var $ = e ? e.displayName || e.name : "", k = $ ? Y($) : "";
278
+ return typeof e == "function" && L.set(e, k), k;
279
279
  }
280
- function Me(e, r, t) {
281
- return ue(e, !1);
280
+ function Ue(e, r, t) {
281
+ return ce(e, !1);
282
282
  }
283
- function Ve(e) {
283
+ function Be(e) {
284
284
  var r = e.prototype;
285
285
  return !!(r && r.isReactComponent);
286
286
  }
@@ -288,32 +288,32 @@ function dr() {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return ue(e, Ve(e));
291
+ return ce(e, Be(e));
292
292
  if (typeof e == "string")
293
293
  return Y(e);
294
294
  switch (e) {
295
- case T:
295
+ case C:
296
296
  return Y("Suspense");
297
- case E:
297
+ case p:
298
298
  return Y("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
- case b:
303
- return Me(e.render);
304
302
  case x:
303
+ return Ue(e.render);
304
+ case R:
305
305
  return M(e.type, r, t);
306
- case S: {
307
- var a = e, o = a._payload, s = a._init;
306
+ case O: {
307
+ var s = e, u = s._payload, d = s._init;
308
308
  try {
309
- return M(s(o), r, t);
309
+ return M(d(u), r, t);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var N = Object.prototype.hasOwnProperty, ce = {}, fe = k.ReactDebugCurrentFrame;
316
+ var F = Object.prototype.hasOwnProperty, ue = {}, fe = N.ReactDebugCurrentFrame;
317
317
  function V(e) {
318
318
  if (e) {
319
319
  var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
@@ -321,36 +321,36 @@ function dr() {
321
321
  } else
322
322
  fe.setExtraStackFrame(null);
323
323
  }
324
- function Ue(e, r, t, a, o) {
324
+ function Je(e, r, t, s, u) {
325
325
  {
326
- var s = Function.call.bind(N);
327
- for (var i in e)
328
- if (s(e, i)) {
329
- var n = void 0;
326
+ var d = Function.call.bind(F);
327
+ for (var l in e)
328
+ if (d(e, l)) {
329
+ var o = void 0;
330
330
  try {
331
- if (typeof e[i] != "function") {
332
- var g = Error((a || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw g.name = "Invariant Violation", g;
331
+ if (typeof e[l] != "function") {
332
+ var y = Error((s || "React class") + ": " + t + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ throw y.name = "Invariant Violation", y;
334
334
  }
335
- n = e[i](r, i, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (f) {
337
- n = f;
335
+ o = e[l](r, l, s, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ } catch (b) {
337
+ o = b;
338
338
  }
339
- n && !(n instanceof Error) && (V(o), h("%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).", a || "React class", t, i, typeof n), V(null)), n instanceof Error && !(n.message in ce) && (ce[n.message] = !0, V(o), h("Failed %s type: %s", t, n.message), V(null));
339
+ o && !(o instanceof Error) && (V(u), g("%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).", s || "React class", t, l, typeof o), V(null)), o instanceof Error && !(o.message in ue) && (ue[o.message] = !0, V(u), g("Failed %s type: %s", t, o.message), V(null));
340
340
  }
341
341
  }
342
342
  }
343
- var Be = Array.isArray;
343
+ var qe = Array.isArray;
344
344
  function G(e) {
345
- return Be(e);
345
+ return qe(e);
346
346
  }
347
- function Je(e) {
347
+ function Ge(e) {
348
348
  {
349
349
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
350
  return t;
351
351
  }
352
352
  }
353
- function qe(e) {
353
+ function ze(e) {
354
354
  try {
355
355
  return de(e), !1;
356
356
  } catch {
@@ -361,38 +361,38 @@ function dr() {
361
361
  return "" + e;
362
362
  }
363
363
  function ve(e) {
364
- if (qe(e))
365
- return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), de(e);
364
+ if (ze(e))
365
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ge(e)), de(e);
366
366
  }
367
- var pe = k.ReactCurrentOwner, Ge = {
367
+ var pe = N.ReactCurrentOwner, He = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, be, me;
373
- function ze(e) {
374
- if (N.call(e, "ref")) {
372
+ }, be, he;
373
+ function Xe(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 He(e) {
382
- if (N.call(e, "key")) {
381
+ function Ze(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 Xe(e, r) {
389
+ function Qe(e, r) {
390
390
  typeof e.ref == "string" && pe.current;
391
391
  }
392
- function Ze(e, r) {
392
+ function Ke(e, r) {
393
393
  {
394
394
  var t = function() {
395
- be || (be = !0, h("%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));
395
+ be || (be = !0, g("%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
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
398
398
  get: t,
@@ -400,10 +400,10 @@ function dr() {
400
400
  });
401
401
  }
402
402
  }
403
- function Qe(e, r) {
403
+ function er(e, r) {
404
404
  {
405
405
  var t = function() {
406
- me || (me = !0, h("%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));
406
+ he || (he = !0, g("%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
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
409
  get: t,
@@ -411,70 +411,70 @@ function dr() {
411
411
  });
412
412
  }
413
413
  }
414
- var Ke = function(e, r, t, a, o, s, i) {
415
- var n = {
414
+ var rr = function(e, r, t, s, u, d, l) {
415
+ var o = {
416
416
  // This tag allows us to uniquely identify this as a React Element
417
- $$typeof: u,
417
+ $$typeof: a,
418
418
  // Built-in properties that belong on the element
419
419
  type: e,
420
420
  key: r,
421
421
  ref: t,
422
- props: i,
422
+ props: l,
423
423
  // Record the component responsible for creating this element.
424
- _owner: s
424
+ _owner: d
425
425
  };
426
- return n._store = {}, Object.defineProperty(n._store, "validated", {
426
+ return o._store = {}, Object.defineProperty(o._store, "validated", {
427
427
  configurable: !1,
428
428
  enumerable: !1,
429
429
  writable: !0,
430
430
  value: !1
431
- }), Object.defineProperty(n, "_self", {
431
+ }), Object.defineProperty(o, "_self", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !1,
435
- value: a
436
- }), Object.defineProperty(n, "_source", {
435
+ value: s
436
+ }), Object.defineProperty(o, "_source", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: o
441
- }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
440
+ value: u
441
+ }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
442
442
  };
443
- function er(e, r, t, a, o) {
443
+ function tr(e, r, t, s, u) {
444
444
  {
445
- var s, i = {}, n = null, g = null;
446
- t !== void 0 && (ve(t), n = "" + t), He(r) && (ve(r.key), n = "" + r.key), ze(r) && (g = r.ref, Xe(r, o));
447
- for (s in r)
448
- N.call(r, s) && !Ge.hasOwnProperty(s) && (i[s] = r[s]);
445
+ var d, l = {}, o = null, y = null;
446
+ t !== void 0 && (ve(t), o = "" + t), Ze(r) && (ve(r.key), o = "" + r.key), Xe(r) && (y = r.ref, Qe(r, u));
447
+ for (d in r)
448
+ F.call(r, d) && !He.hasOwnProperty(d) && (l[d] = r[d]);
449
449
  if (e && e.defaultProps) {
450
- var f = e.defaultProps;
451
- for (s in f)
452
- i[s] === void 0 && (i[s] = f[s]);
450
+ var b = e.defaultProps;
451
+ for (d in b)
452
+ l[d] === void 0 && (l[d] = b[d]);
453
453
  }
454
- if (n || g) {
455
- var d = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- n && Ze(i, d), g && Qe(i, d);
454
+ if (o || y) {
455
+ var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
+ o && Ke(l, m), y && er(l, m);
457
457
  }
458
- return Ke(e, n, g, o, a, pe.current, i);
458
+ return rr(e, o, y, u, s, pe.current, l);
459
459
  }
460
460
  }
461
- var z = k.ReactCurrentOwner, he = k.ReactDebugCurrentFrame;
462
- function $(e) {
461
+ var z = N.ReactCurrentOwner, me = N.ReactDebugCurrentFrame;
462
+ function P(e) {
463
463
  if (e) {
464
464
  var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
465
- he.setExtraStackFrame(t);
465
+ me.setExtraStackFrame(t);
466
466
  } else
467
- he.setExtraStackFrame(null);
467
+ me.setExtraStackFrame(null);
468
468
  }
469
469
  var H;
470
470
  H = !1;
471
471
  function X(e) {
472
- return typeof e == "object" && e !== null && e.$$typeof === u;
472
+ return typeof e == "object" && e !== null && e.$$typeof === a;
473
473
  }
474
- function ge() {
474
+ function xe() {
475
475
  {
476
476
  if (z.current) {
477
- var e = C(z.current.type);
477
+ var e = w(z.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 rr(e) {
486
+ function nr(e) {
487
487
  return "";
488
488
  }
489
- var Ee = {};
490
- function tr(e) {
489
+ var ge = {};
490
+ function ar(e) {
491
491
  {
492
- var r = ge();
492
+ var r = xe();
493
493
  if (!r) {
494
494
  var t = typeof e == "string" ? e : e.displayName || e.name;
495
495
  t && (r = `
@@ -504,34 +504,34 @@ Check the top-level render call using <` + t + ">.");
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
- var t = tr(r);
508
- if (Ee[t])
507
+ var t = ar(r);
508
+ if (ge[t])
509
509
  return;
510
- Ee[t] = !0;
511
- var a = "";
512
- e && e._owner && e._owner !== z.current && (a = " It was passed a child from " + C(e._owner.type) + "."), $(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), $(null);
510
+ ge[t] = !0;
511
+ var s = "";
512
+ e && e._owner && e._owner !== z.current && (s = " It was passed a child from " + w(e._owner.type) + "."), P(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, s), P(null);
513
513
  }
514
514
  }
515
- function Re(e, r) {
515
+ function je(e, r) {
516
516
  {
517
517
  if (typeof e != "object")
518
518
  return;
519
519
  if (G(e))
520
520
  for (var t = 0; t < e.length; t++) {
521
- var a = e[t];
522
- X(a) && ye(a, r);
521
+ var s = e[t];
522
+ X(s) && ye(s, r);
523
523
  }
524
524
  else if (X(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var o = we(e);
528
- if (typeof o == "function" && o !== e.entries)
529
- for (var s = o.call(e), i; !(i = s.next()).done; )
530
- X(i.value) && ye(i.value, r);
527
+ var u = Ne(e);
528
+ if (typeof u == "function" && u !== e.entries)
529
+ for (var d = u.call(e), l; !(l = d.next()).done; )
530
+ X(l.value) && ye(l.value, r);
531
531
  }
532
532
  }
533
533
  }
534
- function ar(e) {
534
+ function ir(e) {
535
535
  {
536
536
  var r = e.type;
537
537
  if (r == null || typeof r == "string")
@@ -539,189 +539,294 @@ Check the top-level render call using <` + t + ">.");
539
539
  var t;
540
540
  if (typeof r == "function")
541
541
  t = r.propTypes;
542
- else if (typeof r == "object" && (r.$$typeof === b || // Note: Memo only checks outer props here.
542
+ else if (typeof r == "object" && (r.$$typeof === x || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
- r.$$typeof === x))
544
+ r.$$typeof === R))
545
545
  t = r.propTypes;
546
546
  else
547
547
  return;
548
548
  if (t) {
549
- var a = C(r);
550
- Ue(t, e.props, "prop", a, e);
549
+ var s = w(r);
550
+ Je(t, e.props, "prop", s, e);
551
551
  } else if (r.PropTypes !== void 0 && !H) {
552
552
  H = !0;
553
- var o = C(r);
554
- h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
553
+ var u = w(r);
554
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
555
555
  }
556
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
556
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function nr(e) {
559
+ function sr(e) {
560
560
  {
561
561
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
562
- var a = r[t];
563
- if (a !== "children" && a !== "key") {
564
- $(e), h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), $(null);
562
+ var s = r[t];
563
+ if (s !== "children" && s !== "key") {
564
+ P(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), P(null);
565
565
  break;
566
566
  }
567
567
  }
568
- e.ref !== null && ($(e), h("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
568
+ e.ref !== null && (P(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
569
569
  }
570
570
  }
571
- var _e = {};
572
- function xe(e, r, t, a, o, s) {
571
+ var Ee = {};
572
+ function Re(e, r, t, s, u, d) {
573
573
  {
574
- var i = Ae(e);
575
- if (!i) {
576
- var n = "";
577
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (n += " 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 g = rr();
579
- g ? n += g : n += ge();
580
- var f;
581
- e === null ? f = "null" : G(e) ? f = "array" : e !== void 0 && e.$$typeof === u ? (f = "<" + (C(e.type) || "Unknown") + " />", n = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, n);
574
+ var l = We(e);
575
+ if (!l) {
576
+ var o = "";
577
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " 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 y = nr();
579
+ y ? o += y : o += xe();
580
+ var b;
581
+ e === null ? b = "null" : G(e) ? b = "array" : e !== void 0 && e.$$typeof === a ? (b = "<" + (w(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, o);
582
582
  }
583
- var d = er(e, r, t, o, s);
584
- if (d == null)
585
- return d;
586
- if (i) {
583
+ var m = tr(e, r, t, u, d);
584
+ if (m == null)
585
+ return m;
586
+ if (l) {
587
587
  var _ = r.children;
588
588
  if (_ !== void 0)
589
- if (a)
589
+ if (s)
590
590
  if (G(_)) {
591
- for (var D = 0; D < _.length; D++)
592
- Re(_[D], e);
591
+ for (var $ = 0; $ < _.length; $++)
592
+ je(_[$], e);
593
593
  Object.freeze && Object.freeze(_);
594
594
  } else
595
- h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
595
+ g("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
- Re(_, e);
597
+ je(_, e);
598
598
  }
599
- if (N.call(r, "key")) {
600
- var P = C(e), y = Object.keys(r).filter(function(cr) {
601
- return cr !== "key";
602
- }), Z = y.length > 0 ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!_e[P + Z]) {
604
- var ur = y.length > 0 ? "{" + y.join(": ..., ") + ": ...}" : "{}";
605
- h(`A props object containing a "key" prop is being spread into JSX:
599
+ if (F.call(r, "key")) {
600
+ var k = w(e), j = Object.keys(r).filter(function(dr) {
601
+ return dr !== "key";
602
+ }), Z = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ if (!Ee[k + Z]) {
604
+ var fr = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
605
+ g(`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, P, ur, P), _e[P + Z] = !0;
610
+ <%s key={someKey} {...props} />`, Z, k, fr, k), Ee[k + Z] = !0;
611
611
  }
612
612
  }
613
- return e === c ? nr(d) : ar(d), d;
613
+ return e === c ? sr(m) : ir(m), m;
614
614
  }
615
615
  }
616
- function ir(e, r, t) {
617
- return xe(e, r, t, !0);
618
- }
619
616
  function or(e, r, t) {
620
- return xe(e, r, t, !1);
617
+ return Re(e, r, t, !0);
621
618
  }
622
- var sr = or, lr = ir;
623
- I.Fragment = c, I.jsx = sr, I.jsxs = lr;
619
+ function lr(e, r, t) {
620
+ return Re(e, r, t, !1);
621
+ }
622
+ var cr = lr, ur = or;
623
+ I.Fragment = c, I.jsx = cr, I.jsxs = ur;
624
624
  }()), I;
625
625
  }
626
626
  var Ce;
627
- function vr() {
628
- return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? U.exports = fr() : U.exports = dr()), U.exports;
627
+ function hr() {
628
+ return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? U.exports = pr() : U.exports = br()), U.exports;
629
629
  }
630
- var l = vr();
631
- const pr = ({
632
- type: v = "default",
633
- title: u,
634
- size: p,
630
+ var n = hr();
631
+ const Se = ({
632
+ type: i = "default",
633
+ title: a,
634
+ size: f,
635
635
  label: c,
636
- onClick: m,
637
- isDisabled: R = !1,
638
- children: O,
639
- className: j = ""
636
+ onClick: v,
637
+ isDisabled: h = !1,
638
+ children: E,
639
+ className: T = ""
640
640
  }) => {
641
- const b = `btn-${v}`, T = p ? `btn-${p}` : "", x = `${`btn ${b} ${T}`.trim()} ${j}`.trim();
642
- return /* @__PURE__ */ l.jsx(
641
+ const x = `btn-${i}`, C = f ? `btn-${f}` : "", R = `${`btn ${x} ${C}`.trim()} ${T}`.trim();
642
+ return /* @__PURE__ */ n.jsx(
643
643
  "button",
644
644
  {
645
- className: x,
645
+ className: R,
646
646
  type: "button",
647
- onClick: m,
648
- disabled: R,
649
- children: /* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
650
- O || c,
647
+ onClick: v,
648
+ disabled: h,
649
+ children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center", children: [
650
+ E || c,
651
651
  " ",
652
- u
652
+ a
653
653
  ] })
654
654
  }
655
655
  );
656
- }, hr = ({ children: v, eventKey: u, active: p }) => /* @__PURE__ */ l.jsx(
656
+ }, Er = ({ children: i, eventKey: a, active: f }) => /* @__PURE__ */ n.jsx(
657
657
  "div",
658
658
  {
659
- className: `tab-pane ${p ? "active" : ""}`,
660
- id: `${u}-panel`,
659
+ className: `tab-pane ${f ? "active" : ""}`,
660
+ id: `${a}-panel`,
661
661
  role: "tabpanel",
662
- "aria-labelledby": `${u}-tab`,
663
- children: v
662
+ "aria-labelledby": `${a}-tab`,
663
+ children: i
664
664
  },
665
- u
666
- ), gr = ({ activeKey: v, onSelect: u, children: p }) => /* @__PURE__ */ l.jsxs("div", { className: "tabs-container", children: [
667
- /* @__PURE__ */ l.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: p.map(({ props: { eventKey: c, title: m } }) => /* @__PURE__ */ l.jsx("li", { className: v === c ? "active" : "", children: /* @__PURE__ */ l.jsx(
665
+ a
666
+ ), Rr = ({ activeKey: i, onSelect: a, children: f }) => /* @__PURE__ */ n.jsxs("div", { className: "tabs-container", children: [
667
+ /* @__PURE__ */ n.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: f.map(({ props: { eventKey: c, title: v } }) => /* @__PURE__ */ n.jsx("li", { className: i === c ? "active" : "", children: /* @__PURE__ */ n.jsx(
668
668
  "a",
669
669
  {
670
670
  href: `#${c}`,
671
- onClick: (R) => {
672
- R.preventDefault(), u(c);
671
+ onClick: (h) => {
672
+ h.preventDefault(), a(c);
673
673
  },
674
- children: m
674
+ children: v
675
675
  }
676
676
  ) }, c)) }),
677
- /* @__PURE__ */ l.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ l.jsx("div", { className: "tab-content pf-c-tab-content", children: p.map(({ props: { eventKey: c, children: m } }) => /* @__PURE__ */ l.jsx(
677
+ /* @__PURE__ */ n.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ n.jsx("div", { className: "tab-content pf-c-tab-content", children: f.map(({ props: { eventKey: c, children: v } }) => /* @__PURE__ */ n.jsx(
678
678
  "div",
679
679
  {
680
- className: `tab-pane ${v === c ? "active" : ""}`,
680
+ className: `tab-pane ${i === c ? "active" : ""}`,
681
681
  id: `${c}-panel`,
682
682
  role: "tabpanel",
683
683
  "aria-labelledby": `${c}-tab`,
684
- children: m
684
+ children: v
685
685
  },
686
686
  c
687
687
  )) }) })
688
- ] }), Er = ({
689
- id: v,
690
- type: u,
691
- placeholder: p = "",
688
+ ] }), _r = ({
689
+ id: i,
690
+ type: a,
691
+ placeholder: f = "",
692
692
  value: c,
693
- onChange: m,
694
- className: R = "form-control"
695
- }) => /* @__PURE__ */ l.jsx(
693
+ onChange: v,
694
+ className: h = "form-control"
695
+ }) => /* @__PURE__ */ n.jsx(
696
696
  "input",
697
697
  {
698
- type: u,
699
- id: v,
700
- className: R,
701
- placeholder: p,
698
+ type: a,
699
+ id: i,
700
+ className: h,
701
+ placeholder: f,
702
702
  value: c,
703
- onChange: m
703
+ onChange: v
704
704
  }
705
- ), yr = ({ title: v, isOpen: u, onClose: p, children: c, size: m }) => {
706
- if (!u) return null;
707
- const R = m ? `modal-${m}` : "";
708
- return /* @__PURE__ */ l.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ l.jsx("div", { className: `modal-dialog ${R}`, role: "document", children: /* @__PURE__ */ l.jsxs("div", { className: "modal-content", children: [
709
- /* @__PURE__ */ l.jsxs("div", { className: "modal-header", children: [
710
- /* @__PURE__ */ l.jsx("button", { type: "button", className: "close", onClick: p, "aria-hidden": "true", children: /* @__PURE__ */ l.jsx("span", { className: "pficon pficon-close" }) }),
711
- /* @__PURE__ */ l.jsx("h4", { className: "modal-title", children: v })
705
+ ), Tr = ({ title: i, isOpen: a, onClose: f, children: c, size: v }) => {
706
+ if (!a) return null;
707
+ const h = v ? `modal-${v}` : "";
708
+ return /* @__PURE__ */ n.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ n.jsx("div", { className: `modal-dialog ${h}`, role: "document", children: /* @__PURE__ */ n.jsxs("div", { className: "modal-content", children: [
709
+ /* @__PURE__ */ n.jsxs("div", { className: "modal-header", children: [
710
+ /* @__PURE__ */ n.jsx("button", { type: "button", className: "close", onClick: f, "aria-hidden": "true", children: /* @__PURE__ */ n.jsx("span", { className: "pficon pficon-close" }) }),
711
+ /* @__PURE__ */ n.jsx("h4", { className: "modal-title", children: i })
712
712
  ] }),
713
- /* @__PURE__ */ l.jsx("div", { className: "modal-body", children: c })
713
+ /* @__PURE__ */ n.jsx("div", { className: "modal-body", children: c })
714
714
  ] }) }) });
715
- }, Rr = ({ variant: v, children: u }) => {
715
+ }, Cr = ({ variant: i, children: a }) => {
716
716
  const c = {
717
717
  warning: "text-yellow-600",
718
718
  success: "text-green-600",
719
719
  error: "text-red-600"
720
- }[v] || "";
721
- return /* @__PURE__ */ l.jsx("p", { className: c, children: u });
722
- }, br = ({ items: v }) => /* @__PURE__ */ l.jsx("ol", { className: "breadcrumb", children: v.map((u, p) => /* @__PURE__ */ l.jsx("li", { className: u.active ? "active" : "", children: u.active ? u.title : /* @__PURE__ */ l.jsx("a", { href: u.href, children: u.title }) }, p)) }), _r = () => /* @__PURE__ */ l.jsxs("div", { children: [
723
- /* @__PURE__ */ l.jsx(
724
- br,
720
+ }[i] || "";
721
+ return /* @__PURE__ */ n.jsx("p", { className: c, children: a });
722
+ }, wr = ({ children: i, ...a }) => /* @__PURE__ */ n.jsx("table", { ...a, children: i }), Or = ({ children: i, ...a }) => /* @__PURE__ */ n.jsx("tbody", { ...a, children: i }), Sr = ({ children: i, ...a }) => /* @__PURE__ */ n.jsx("td", { ...a, children: i }), kr = ({ children: i, ...a }) => /* @__PURE__ */ n.jsx("th", { ...a, children: i }), Nr = ({ children: i, ...a }) => /* @__PURE__ */ n.jsx("thead", { ...a, children: i }), Pr = ({ children: i, ...a }) => /* @__PURE__ */ n.jsx("tr", { ...a, children: i }), mr = ({ items: i, selected: a, title: f, onChange: c }) => {
723
+ const [v, h] = vr(!1), E = () => {
724
+ h((p) => !p);
725
+ }, T = (p) => {
726
+ h(!1), c(p);
727
+ }, x = (p) => {
728
+ const R = p.id === a;
729
+ return /* @__PURE__ */ n.jsx(
730
+ "li",
731
+ {
732
+ onClick: () => T(p),
733
+ className: R ? "active" : "",
734
+ children: /* @__PURE__ */ n.jsx("a", { href: "#", children: p.title })
735
+ },
736
+ p.id
737
+ );
738
+ }, C = v ? "dropdown open" : "dropdown";
739
+ return /* @__PURE__ */ n.jsxs("div", { className: C, style: { display: "inline-block" }, children: [
740
+ /* @__PURE__ */ n.jsxs(
741
+ "button",
742
+ {
743
+ className: "btn btn-default dropdown-toggle",
744
+ onClick: E,
745
+ children: [
746
+ f,
747
+ /* @__PURE__ */ n.jsx("span", { className: "caret" })
748
+ ]
749
+ }
750
+ ),
751
+ v && /* @__PURE__ */ n.jsx("ul", { className: "dropdown-menu", children: i.map(x) })
752
+ ] });
753
+ }, xr = ({ currentPage: i, totalPages: a, onPageChange: f }) => {
754
+ const c = () => {
755
+ i > 1 && f(i - 1);
756
+ }, v = () => {
757
+ i < a && f(i + 1);
758
+ };
759
+ return /* @__PURE__ */ n.jsxs("div", { children: [
760
+ /* @__PURE__ */ n.jsx("span", { children: /* @__PURE__ */ n.jsxs("span", { className: "pagination-pf-items-current", children: [
761
+ i,
762
+ " - ",
763
+ a
764
+ ] }) }),
765
+ /* @__PURE__ */ n.jsxs("div", { className: "btn-group ml-2", children: [
766
+ /* @__PURE__ */ n.jsx(
767
+ "button",
768
+ {
769
+ type: "button",
770
+ className: `btn btn-default ${i === 1 ? "disabled" : ""}`,
771
+ disabled: i === 1,
772
+ onClick: c,
773
+ children: /* @__PURE__ */ n.jsx("i", { className: "fa fa-angle-left" })
774
+ }
775
+ ),
776
+ /* @__PURE__ */ n.jsx(
777
+ "button",
778
+ {
779
+ type: "button",
780
+ className: `btn btn-default ${i === a ? "disabled" : ""}`,
781
+ disabled: i === a,
782
+ onClick: v,
783
+ children: /* @__PURE__ */ n.jsx("i", { className: "fa fa-angle-right" })
784
+ }
785
+ )
786
+ ] })
787
+ ] });
788
+ }, we = [
789
+ { id: 1, title: "5 сек", data: 5e3 },
790
+ { id: 2, title: "10 сек", data: 1e4 },
791
+ { id: 3, title: "20 сек", data: 2e4 },
792
+ { id: 4, title: "30 сек", data: 3e4 },
793
+ { id: 5, title: "60 сек", data: 6e4 }
794
+ ], gr = ({ onChange: i, value: a, onRefresh: f }) => {
795
+ var h;
796
+ const c = (E) => {
797
+ i(E.data);
798
+ }, v = (h = we.find((E) => E.data === a)) == null ? void 0 : h.id;
799
+ return /* @__PURE__ */ n.jsxs("div", { className: "flex", children: [
800
+ /* @__PURE__ */ n.jsx(Se, { type: "default", onClick: f, children: /* @__PURE__ */ n.jsx("i", { className: "fa fa-refresh" }) }),
801
+ /* @__PURE__ */ n.jsx(mr, { onChange: c, items: we, selected: v })
802
+ ] });
803
+ }, $r = ({
804
+ interval: i,
805
+ page: a,
806
+ totalPages: f,
807
+ onRefresh: c,
808
+ onChangeInterval: v,
809
+ onPageChange: h
810
+ }) => /* @__PURE__ */ n.jsxs("div", { className: "flex justify-between bg-[#f5f5f5] border border-[#d1d1d1]", children: [
811
+ /* @__PURE__ */ n.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ n.jsx(
812
+ gr,
813
+ {
814
+ value: i,
815
+ onChange: v,
816
+ onRefresh: c
817
+ }
818
+ ) }),
819
+ /* @__PURE__ */ n.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ n.jsx(
820
+ xr,
821
+ {
822
+ currentPage: a,
823
+ totalPages: f,
824
+ onPageChange: h
825
+ }
826
+ ) })
827
+ ] }), yr = ({ items: i }) => /* @__PURE__ */ n.jsx("ol", { className: "breadcrumb", children: i.map((a, f) => /* @__PURE__ */ n.jsx("li", { className: a.active ? "active" : "", children: a.active ? a.title : /* @__PURE__ */ n.jsx("a", { href: a.href, children: a.title }) }, f)) }), Dr = () => /* @__PURE__ */ n.jsxs("div", { children: [
828
+ /* @__PURE__ */ n.jsx(
829
+ yr,
725
830
  {
726
831
  items: [
727
832
  { title: "Дополнения", active: !0 },
@@ -729,14 +834,24 @@ const pr = ({
729
834
  ]
730
835
  }
731
836
  ),
732
- /* @__PURE__ */ l.jsx(pr, { children: "Hello" })
837
+ /* @__PURE__ */ n.jsx(Se, { children: "Hello" })
733
838
  ] });
734
839
  export {
735
- pr as Button,
736
- Rr as HelpText,
737
- Er as Input,
738
- yr as Modal,
739
- _r as SampleComp,
740
- hr as Tab,
741
- gr as Tabs
840
+ Se as Button,
841
+ mr as Dropdown,
842
+ Cr as HelpText,
843
+ _r as Input,
844
+ Tr as Modal,
845
+ xr as Pagination,
846
+ gr as ReloadButton,
847
+ Dr as SampleComp,
848
+ Er as Tab,
849
+ wr as Table,
850
+ $r as TableToolbar,
851
+ Rr as Tabs,
852
+ Or as Tbody,
853
+ Sr as Td,
854
+ kr as Th,
855
+ Nr as Thead,
856
+ Pr as Tr
742
857
  };