ovirt-ui-toolkit 0.0.95 → 0.0.97

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 Oe, { forwardRef as hr, useState as Q, useEffect as br } from "react";
2
- var U = { exports: {} }, A = {};
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 Ce;
13
- function xr() {
14
- if (Ce) return A;
15
- Ce = 1;
16
- var n = Oe, s = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function v(j, m, T) {
18
- var y, b = {}, _ = null, W = null;
19
- T !== void 0 && (_ = "" + T), m.key !== void 0 && (_ = "" + m.key), m.ref !== void 0 && (W = m.ref);
20
- for (y in m) i.call(m, y) && !f.hasOwnProperty(y) && (b[y] = m[y]);
21
- if (j && j.defaultProps) for (y in m = j.defaultProps, m) b[y] === void 0 && (b[y] = m[y]);
22
- return { $$typeof: s, type: j, key: _, ref: W, props: b, _owner: c.current };
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 A.Fragment = o, A.jsx = v, A.jsxs = v, A;
24
+ return I.Fragment = o, I.jsx = p, I.jsxs = p, I;
25
25
  }
26
- var I = {};
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 Te;
37
- function gr() {
38
- return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
39
- var n = Oe, s = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), j = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), K = Symbol.iterator, $e = "@@iterator";
40
- function De(e) {
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 = K && e[K] || e[$e];
43
+ var r = re && e[re] || e[De];
44
44
  return typeof r == "function" ? r : null;
45
45
  }
46
- var k = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function R(e) {
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), l = 1; l < r; l++)
50
- a[l - 1] = arguments[l];
51
- Fe("error", e, a);
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 Fe(e, r, a) {
54
+ function Ae(e, r, a) {
55
55
  {
56
- var l = k.ReactDebugCurrentFrame, p = l.getStackAddendum();
57
- p !== "" && (r += "%s", a = a.concat([p]));
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 Ae = !1, Ie = !1, We = !1, Ye = !1, Ve = !1, ee;
65
- ee = Symbol.for("react.module.reference");
66
- function Le(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === f || Ve || e === c || e === T || e === y || Ye || e === W || Ae || Ie || We || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === v || e.$$typeof === j || e.$$typeof === m || // This needs to include all possible module reference object
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 === ee || e.getModuleId !== void 0));
71
+ e.$$typeof === te || e.getModuleId !== void 0));
72
72
  }
73
- function Me(e, r, a) {
74
- var l = e.displayName;
75
- if (l)
76
- return l;
77
- var p = r.displayName || r.name || "";
78
- return p !== "" ? a + "(" + p + ")" : a;
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 re(e) {
80
+ function ne(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
- function N(e) {
83
+ function O(e) {
84
84
  if (e == null)
85
85
  return null;
86
- if (typeof e.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
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 c:
97
+ case l:
98
98
  return "StrictMode";
99
- case T:
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 j:
106
+ case b:
107
107
  var r = e;
108
- return re(r) + ".Consumer";
109
- case v:
108
+ return ne(r) + ".Consumer";
109
+ case p:
110
110
  var a = e;
111
- return re(a._context) + ".Provider";
111
+ return ne(a._context) + ".Provider";
112
112
  case m:
113
- return Me(e, e.render, "ForwardRef");
114
- case b:
115
- var l = e.displayName || null;
116
- return l !== null ? l : N(e.type) || "Memo";
117
- case _: {
118
- var p = e, h = p._payload, d = p._init;
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 N(d(h));
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 O = Object.assign, D = 0, te, ne, ae, se, ie, oe, le;
129
- function ce() {
128
+ var S = Object.assign, F = 0, ae, se, ie, oe, le, ce, ue;
129
+ function fe() {
130
130
  }
131
- ce.__reactDisabledLog = !0;
132
- function Ue() {
131
+ fe.__reactDisabledLog = !0;
132
+ function Be() {
133
133
  {
134
- if (D === 0) {
135
- te = console.log, ne = console.info, ae = console.warn, se = console.error, ie = console.group, oe = console.groupCollapsed, le = console.groupEnd;
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: ce,
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
- D++;
152
+ F++;
153
153
  }
154
154
  }
155
- function Be() {
155
+ function Je() {
156
156
  {
157
- if (D--, D === 0) {
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: O({}, e, {
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
- error: O({}, e, {
167
+ info: S({}, e, {
174
168
  value: se
175
169
  }),
176
- group: O({}, e, {
170
+ warn: S({}, e, {
177
171
  value: ie
178
172
  }),
179
- groupCollapsed: O({}, e, {
173
+ error: S({}, e, {
180
174
  value: oe
181
175
  }),
182
- groupEnd: O({}, e, {
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
- D < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
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 = k.ReactCurrentDispatcher, J;
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 (p) {
197
- var l = p.stack.trim().match(/\n( *(at )?)/);
198
- J = l && l[1] || "";
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, V;
204
+ var q = !1, L;
205
205
  {
206
- var Je = typeof WeakMap == "function" ? WeakMap : Map;
207
- V = new Je();
206
+ var qe = typeof WeakMap == "function" ? WeakMap : Map;
207
+ L = new qe();
208
208
  }
209
- function ue(e, r) {
209
+ function de(e, r) {
210
210
  if (!e || q)
211
211
  return "";
212
212
  {
213
- var a = V.get(e);
213
+ var a = L.get(e);
214
214
  if (a !== void 0)
215
215
  return a;
216
216
  }
217
- var l;
217
+ var c;
218
218
  q = !0;
219
- var p = Error.prepareStackTrace;
219
+ var v = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var h;
222
- h = B.current, B.current = null, Ue();
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 (C) {
236
- l = C;
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 (C) {
243
- l = C;
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 (C) {
251
- l = C;
250
+ } catch (T) {
251
+ c = T;
252
252
  }
253
253
  e();
254
254
  }
255
- } catch (C) {
256
- if (C && l && typeof C.stack == "string") {
257
- for (var u = C.stack.split(`
258
- `), E = l.stack.split(`
259
- `), x = u.length - 1, g = E.length - 1; x >= 1 && g >= 0 && u[x] !== E[g]; )
260
- g--;
261
- for (; x >= 1 && g >= 0; x--, g--)
262
- if (u[x] !== E[g]) {
263
- if (x !== 1 || g !== 1)
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 (x--, g--, g < 0 || u[x] !== E[g]) {
265
+ if (g--, j--, j < 0 || u[g] !== _[j]) {
266
266
  var w = `
267
- ` + u[x].replace(" at new ", " at ");
268
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && V.set(e, w), w;
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 (x >= 1 && g >= 0);
270
+ while (g >= 1 && j >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- q = !1, B.current = h, Be(), Error.prepareStackTrace = p;
275
+ q = !1, B.current = h, Je(), Error.prepareStackTrace = v;
276
276
  }
277
- var $ = e ? e.displayName || e.name : "", S = $ ? Y($) : "";
278
- return typeof e == "function" && V.set(e, S), S;
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 qe(e, r, a) {
281
- return ue(e, !1);
280
+ function ze(e, r, a) {
281
+ return de(e, !1);
282
282
  }
283
- function ze(e) {
283
+ function Ge(e) {
284
284
  var r = e.prototype;
285
285
  return !!(r && r.isReactComponent);
286
286
  }
287
- function L(e, r, a) {
287
+ function V(e, r, a) {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return ue(e, ze(e));
291
+ return de(e, Ge(e));
292
292
  if (typeof e == "string")
293
293
  return Y(e);
294
294
  switch (e) {
295
- case T:
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 qe(e.render);
304
- case b:
305
- return L(e.type, r, a);
306
- case _: {
307
- var l = e, p = l._payload, h = l._init;
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 L(h(p), r, a);
309
+ return V(h(v), r, a);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var F = Object.prototype.hasOwnProperty, fe = {}, de = k.ReactDebugCurrentFrame;
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 = L(e.type, e._source, r ? r.type : null);
320
- de.setExtraStackFrame(a);
319
+ var r = e._owner, a = V(e.type, e._source, r ? r.type : null);
320
+ pe.setExtraStackFrame(a);
321
321
  } else
322
- de.setExtraStackFrame(null);
322
+ pe.setExtraStackFrame(null);
323
323
  }
324
- function Ge(e, r, a, l, p) {
324
+ function He(e, r, a, c, v) {
325
325
  {
326
- var h = Function.call.bind(F);
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 E = Error((l || "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 E.name = "Invariant Violation", E;
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, l, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (x) {
337
- u = x;
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(p), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", l || "React class", a, d, typeof u), M(null)), u instanceof Error && !(u.message in fe) && (fe[u.message] = !0, M(p), R("Failed %s type: %s", a, u.message), M(null));
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 He = Array.isArray;
343
+ var Xe = Array.isArray;
344
344
  function z(e) {
345
- return He(e);
345
+ return Xe(e);
346
346
  }
347
- function Xe(e) {
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 Ze(e) {
353
+ function Qe(e) {
354
354
  try {
355
- return ve(e), !1;
355
+ return me(e), !1;
356
356
  } catch {
357
357
  return !0;
358
358
  }
359
359
  }
360
- function ve(e) {
360
+ function me(e) {
361
361
  return "" + e;
362
362
  }
363
- function pe(e) {
364
- if (Ze(e))
365
- return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Xe(e)), ve(e);
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 me = k.ReactCurrentOwner, Qe = {
367
+ var be = P.ReactCurrentOwner, Ke = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, he, be;
373
- function Ke(e) {
374
- if (F.call(e, "ref")) {
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 er(e) {
382
- if (F.call(e, "key")) {
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
- he || (he = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
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 nr(e, r) {
403
+ function ar(e, r) {
404
404
  {
405
405
  var a = function() {
406
- be || (be = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
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 ar = function(e, r, a, l, p, h, d) {
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: l
435
+ value: c
436
436
  }), Object.defineProperty(u, "_source", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: p
440
+ value: v
441
441
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
442
442
  };
443
- function sr(e, r, a, l, p) {
443
+ function ir(e, r, a, c, v) {
444
444
  {
445
- var h, d = {}, u = null, E = null;
446
- a !== void 0 && (pe(a), u = "" + a), er(r) && (pe(r.key), u = "" + r.key), Ke(r) && (E = r.ref, rr(r, p));
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
- F.call(r, h) && !Qe.hasOwnProperty(h) && (d[h] = r[h]);
448
+ A.call(r, h) && !Ke.hasOwnProperty(h) && (d[h] = r[h]);
449
449
  if (e && e.defaultProps) {
450
- var x = e.defaultProps;
451
- for (h in x)
452
- d[h] === void 0 && (d[h] = x[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 || E) {
455
- var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- u && tr(d, g), E && nr(d, g);
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 ar(e, u, E, p, l, me.current, d);
458
+ return sr(e, u, _, v, c, be.current, d);
459
459
  }
460
460
  }
461
- var G = k.ReactCurrentOwner, xe = k.ReactDebugCurrentFrame;
462
- function P(e) {
461
+ var G = P.ReactCurrentOwner, je = P.ReactDebugCurrentFrame;
462
+ function $(e) {
463
463
  if (e) {
464
- var r = e._owner, a = L(e.type, e._source, r ? r.type : null);
465
- xe.setExtraStackFrame(a);
464
+ var r = e._owner, a = V(e.type, e._source, r ? r.type : null);
465
+ je.setExtraStackFrame(a);
466
466
  } else
467
- xe.setExtraStackFrame(null);
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 ge() {
474
+ function ye() {
475
475
  {
476
476
  if (G.current) {
477
- var e = N(G.current.type);
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 ir(e) {
486
+ function or(e) {
487
487
  return "";
488
488
  }
489
- var je = {};
490
- function or(e) {
489
+ var Re = {};
490
+ function lr(e) {
491
491
  {
492
- var r = ge();
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 ye(e, r) {
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 = or(r);
508
- if (je[a])
507
+ var a = lr(r);
508
+ if (Re[a])
509
509
  return;
510
- je[a] = !0;
511
- var l = "";
512
- e && e._owner && e._owner !== G.current && (l = " It was passed a child from " + N(e._owner.type) + "."), P(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, l), P(null);
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 Re(e, r) {
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 l = e[a];
522
- X(l) && ye(l, r);
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 p = De(e);
528
- if (typeof p == "function" && p !== e.entries)
529
- for (var h = p.call(e), d; !(d = h.next()).done; )
530
- X(d.value) && ye(d.value, r);
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 lr(e) {
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 === b))
544
+ r.$$typeof === C))
545
545
  a = r.propTypes;
546
546
  else
547
547
  return;
548
548
  if (a) {
549
- var l = N(r);
550
- Ge(a, e.props, "prop", l, e);
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 p = N(r);
554
- R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
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 && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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 cr(e) {
559
+ function ur(e) {
560
560
  {
561
561
  for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
562
- var l = r[a];
563
- if (l !== "children" && l !== "key") {
564
- P(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", l), P(null);
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 && (P(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
568
+ e.ref !== null && ($(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
569
569
  }
570
570
  }
571
- var Ee = {};
572
- function _e(e, r, a, l, p, h) {
571
+ var Ce = {};
572
+ function Te(e, r, a, c, v, h) {
573
573
  {
574
- var d = Le(e);
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 E = ir();
579
- E ? u += E : u += ge();
580
- var x;
581
- e === null ? x = "null" : z(e) ? x = "array" : e !== void 0 && e.$$typeof === s ? (x = "<" + (N(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, u);
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 g = sr(e, r, a, p, h);
584
- if (g == null)
585
- return g;
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 (l)
589
+ if (c)
590
590
  if (z(w)) {
591
- for (var $ = 0; $ < w.length; $++)
592
- Re(w[$], e);
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
- R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
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
- Re(w, e);
597
+ _e(w, e);
598
598
  }
599
- if (F.call(r, "key")) {
600
- var S = N(e), C = Object.keys(r).filter(function(mr) {
601
- return mr !== "key";
602
- }), Z = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Ee[S + Z]) {
604
- var pr = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
605
- R(`A props object containing a "key" prop is being spread into JSX:
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, S, pr, S), Ee[S + Z] = !0;
610
+ <%s key={someKey} {...props} />`, Z, k, mr, k), Ce[k + Z] = !0;
611
611
  }
612
612
  }
613
- return e === i ? cr(g) : lr(g), g;
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 _e(e, r, a, !1);
617
+ return Te(e, r, a, !0);
621
618
  }
622
- var dr = fr, vr = ur;
623
- I.Fragment = i, I.jsx = dr, I.jsxs = vr;
624
- }()), I;
619
+ function dr(e, r, a) {
620
+ return Te(e, r, a, !1);
621
+ }
622
+ var vr = dr, pr = fr;
623
+ W.Fragment = i, W.jsx = vr, W.jsxs = pr;
624
+ }()), W;
625
625
  }
626
- var we;
627
- function jr() {
628
- return we || (we = 1, process.env.NODE_ENV === "production" ? U.exports = xr() : U.exports = gr()), U.exports;
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 = jr();
631
- const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), yr = ({ 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)) }), Rr = /* @__PURE__ */ t.jsx("span", { className: "loading-spinner mr-2", children: /* @__PURE__ */ t.jsxs(
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
- ) }), Se = ({
660
+ ) }), Q = ({
661
661
  type: n = "default",
662
662
  title: s,
663
663
  size: o,
664
664
  label: i,
665
- onClick: c,
665
+ onClick: l,
666
666
  isDisabled: f = !1,
667
- children: v,
668
- className: j = "",
667
+ children: p,
668
+ className: b = "",
669
669
  isLoading: m = !1
670
670
  }) => {
671
- const T = `btn-${n}`, y = o ? `btn-${o}` : "", _ = `${`btn ${T} ${y}`.trim()} ${j}`.trim();
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: c,
677
+ onClick: l,
678
678
  disabled: f || m,
679
679
  children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center", children: [
680
- m && Rr,
681
- v || i,
680
+ m && Er,
681
+ p || i,
682
682
  " ",
683
683
  s && /* @__PURE__ */ t.jsx("span", { children: s })
684
684
  ] })
685
685
  }
686
686
  );
687
- }, wr = ({ children: n, eventKey: s, active: o }) => /* @__PURE__ */ t.jsx(
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
- ), Nr = ({ 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: c } }) => /* @__PURE__ */ t.jsx("li", { className: n === i ? "active" : "", children: /* @__PURE__ */ t.jsx(
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: c
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: c } }) => /* @__PURE__ */ t.jsx(
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: c
715
+ children: l
716
716
  },
717
717
  i
718
718
  )) }) })
719
- ] }), Or = hr(
719
+ ] }), Sr = br(
720
720
  ({
721
721
  id: n,
722
722
  type: s,
723
723
  placeholder: o = "",
724
724
  value: i,
725
- onChange: c,
725
+ onChange: l,
726
726
  className: f = "form-control",
727
- ...v
728
- }, j) => {
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: c,
739
- ref: j,
740
- ...v
738
+ onChange: l,
739
+ ref: b,
740
+ ...p
741
741
  }
742
742
  );
743
743
  }
744
- ), Sr = ({ title: n, isOpen: s, onClose: o, children: i, size: c }) => {
744
+ ), kr = ({ title: n, isOpen: s, onClose: o, children: i, size: l }) => {
745
745
  if (!s) return null;
746
- const f = c ? `modal-${c}` : "";
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
- }, kr = ({ variant: n, children: s, className: o = "" }) => {
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
- }, c = o + " " + i[n] || "";
760
- return /* @__PURE__ */ t.jsx("p", { className: c, children: s });
761
- }, Pr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("table", { ...s, children: n }), $r = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("tbody", { ...s, children: n }), Dr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("td", { ...s, children: n }), Fr = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("th", { ...s, children: n }), Ar = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("thead", { ...s, children: n }), Ir = ({ children: n, ...s }) => /* @__PURE__ */ t.jsx("tr", { ...s, children: n }), ke = ({
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: c,
766
+ setIsOpen: l,
767
767
  onChange: f,
768
- className: v = ""
768
+ className: p = ""
769
769
  }) => {
770
- const j = (b) => {
771
- c(!b);
772
- }, m = (b) => {
773
- c(!1), f(b);
774
- }, T = (b) => {
775
- const _ = b.id === s;
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: () => m(b),
780
- className: _ ? "active" : "",
781
- children: /* @__PURE__ */ t.jsx("a", { href: "#", children: b.title })
788
+ onClick: () => R(x),
789
+ className: N ? "active" : "",
790
+ children: /* @__PURE__ */ t.jsx("a", { href: "#", children: x.title })
782
791
  },
783
- b.id
792
+ x.id
784
793
  );
785
- }, y = `btn btn-default dropdown-toggle flex-1 ${v}`;
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: y,
792
- onClick: () => j(i),
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(T) })
813
+ /* @__PURE__ */ t.jsx("ul", { className: "dropdown-menu", role: "menu", children: n.map(y) })
804
814
  ] });
805
- }, Wr = (n) => {
806
- const [s, o] = Q(!1), i = n.selected, c = n.items.find((f) => f.id == i);
807
- return n.debug && (console.log(n), console.log(c)), /* @__PURE__ */ t.jsx("div", { className: `btn-group ${s ? "open" : ""}`, children: /* @__PURE__ */ t.jsx(
808
- ke,
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: (c == null ? void 0 : c.title) || n.title,
821
+ title: (l == null ? void 0 : l.title) || n.title,
812
822
  setIsOpen: o,
813
823
  isOpen: s
814
824
  }
815
825
  ) });
816
- }, Er = ({
826
+ }, _r = ({
817
827
  currentPage: n,
818
828
  total: s,
819
829
  onPageChange: o,
820
830
  onNextPage: i,
821
- onPrevPage: c,
822
- pageSize: f
831
+ onPrevPage: l,
832
+ end: f,
833
+ pageSize: p
823
834
  }) => {
824
- const v = Math.ceil(s / f), j = () => {
825
- c ? c() : n > 1 && o(n - 1);
826
- }, m = () => {
827
- i ? i() : n < v && o(n + 1);
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
- v
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: j,
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 === v ? "disabled" : ""}`,
851
- disabled: n === v,
852
- onClick: m,
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
- }, Pe = ({
869
+ }, K = ({
859
870
  children: n,
860
871
  onChange: s,
861
872
  items: o,
862
873
  selected: i,
863
- className: c = ""
874
+ className: l = ""
864
875
  }) => {
865
- const [f, v] = Q(!1);
866
- return /* @__PURE__ */ t.jsx("div", { className: `btn-group ${c} ${f ? "open" : ""}`, children: /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
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
- ke,
880
+ $e,
870
881
  {
871
- setIsOpen: v,
882
+ setIsOpen: p,
872
883
  isOpen: f,
873
884
  onChange: s,
874
885
  items: o,
@@ -876,43 +887,49 @@ const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), yr =
876
887
  }
877
888
  )
878
889
  ] }) });
879
- }, Ne = [
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
- ], _r = ({ onChange: n, value: s, onRefresh: o }) => {
896
+ ], Cr = ({ onChange: n, value: s, onRefresh: o }) => {
886
897
  var f;
887
- const i = (v) => {
888
- n(v.data);
889
- }, c = (f = Ne.find((v) => v.data === s)) == null ? void 0 : f.id;
890
- return /* @__PURE__ */ t.jsx(Pe, { className: "flex", items: Ne, onChange: i, selected: c, children: /* @__PURE__ */ t.jsx(Se, { className: "m-0", type: "default", onClick: o, children: /* @__PURE__ */ t.jsx("i", { className: "fa fa-refresh" }) }) });
891
- }, Yr = ({
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.jsxs(Q, { className: "m-0", type: "default", onClick: o, children: [
902
+ " ",
903
+ /* @__PURE__ */ t.jsx("i", { className: "fa fa-refresh" }),
904
+ " "
905
+ ] }) });
906
+ }, Lr = ({
892
907
  interval: n,
893
908
  page: s,
894
909
  total: o,
895
910
  onRefresh: i,
896
- onChangeInterval: c,
911
+ onChangeInterval: l,
897
912
  onPageChange: f,
898
- pageSize: v,
899
- onNextPage: j,
900
- onPrevPage: m
913
+ pageSize: p,
914
+ onNextPage: b,
915
+ onPrevPage: m,
916
+ end: R
901
917
  }) => /* @__PURE__ */ t.jsxs("div", { className: "flex justify-between bg-[#f5f5f5] border border-[#d1d1d1]", children: [
902
918
  /* @__PURE__ */ t.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ t.jsx(
903
- _r,
919
+ Cr,
904
920
  {
905
921
  value: n,
906
- onChange: c,
922
+ onChange: l,
907
923
  onRefresh: i
908
924
  }
909
925
  ) }),
910
926
  /* @__PURE__ */ t.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ t.jsx(
911
- Er,
927
+ _r,
912
928
  {
913
- onNextPage: j,
929
+ end: R,
930
+ onNextPage: b,
914
931
  onPrevPage: m,
915
- pageSize: v,
932
+ pageSize: p,
916
933
  currentPage: s,
917
934
  total: o,
918
935
  onPageChange: f
@@ -923,9 +940,9 @@ const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), yr =
923
940
  label: s,
924
941
  isChecked: o = !1,
925
942
  onChange: i,
926
- className: c = "checkbox",
943
+ className: l = "checkbox",
927
944
  position: f = "right"
928
- }) => /* @__PURE__ */ t.jsx("div", { className: c, children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
945
+ }) => /* @__PURE__ */ t.jsx("div", { className: l, children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
929
946
  f === "left" && /* @__PURE__ */ t.jsx(
930
947
  "input",
931
948
  {
@@ -947,34 +964,34 @@ const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), yr =
947
964
  className: "cursor-pointer !mt-0"
948
965
  }
949
966
  )
950
- ] }) }), Lr = ({
967
+ ] }) }), Mr = ({
951
968
  placeholder: n = "",
952
969
  rows: s = 3,
953
970
  maxLength: o,
954
971
  value: i,
955
- onChange: c,
972
+ onChange: l,
956
973
  isDisabled: f = !1,
957
- className: v = ""
974
+ className: p = ""
958
975
  }) => {
959
- const [j, m] = Q(i || ""), T = i !== void 0 ? i : j, y = (b) => {
960
- const _ = b.target.value;
961
- c ? c(_) : m(_);
976
+ const [b, m] = ee(i || ""), R = i !== void 0 ? i : b, y = (C) => {
977
+ const x = C.target.value;
978
+ l ? l(x) : m(x);
962
979
  };
963
980
  return /* @__PURE__ */ t.jsx(
964
981
  "textarea",
965
982
  {
966
- className: v,
983
+ className: p,
967
984
  placeholder: n,
968
985
  rows: s,
969
986
  maxLength: o,
970
- value: T,
987
+ value: R,
971
988
  onChange: y,
972
989
  disabled: f
973
990
  }
974
991
  );
975
- }, Mr = ({ variant: n, title: s, className: o }) => {
976
- const i = ["success", "info", "warning", "danger"], c = (v) => {
977
- switch (v) {
992
+ }, Ur = ({ variant: n, title: s, className: o }) => {
993
+ const i = ["success", "info", "warning", "danger"], l = (p) => {
994
+ switch (p) {
978
995
  case "success":
979
996
  return "pficon pficon-ok";
980
997
  case "info":
@@ -990,23 +1007,23 @@ const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), yr =
990
1007
  i.includes(n) || (console.warn(`Unsupported alert variant: "${n}". Defaulting to "info".`), n = "info");
991
1008
  const f = `flex pl-[20px] !static items-center alert alert-${n} ${o || ""}`.trim();
992
1009
  return /* @__PURE__ */ t.jsxs("div", { className: f, role: "alert", children: [
993
- /* @__PURE__ */ t.jsx("span", { className: "!static " + c(n) }),
1010
+ /* @__PURE__ */ t.jsx("span", { className: "!static " + l(n) }),
994
1011
  /* @__PURE__ */ t.jsx("div", { className: "ml-5", children: s })
995
1012
  ] });
996
- }, Ur = ({ variant: n, children: s, onClick: o }) => {
997
- const i = `label label-${n}`, c = o ? { tabIndex: 0, role: "button", "aria-pressed": !1 } : {};
1013
+ }, Br = ({ variant: n, children: s, onClick: o }) => {
1014
+ const i = `label label-${n}`, l = o ? { tabIndex: 0, role: "button", "aria-pressed": !1 } : {};
998
1015
  return /* @__PURE__ */ t.jsx(
999
1016
  "span",
1000
1017
  {
1001
1018
  className: i,
1002
1019
  onClick: o,
1003
- ...c,
1020
+ ...l,
1004
1021
  style: { cursor: o ? "pointer" : void 0 },
1005
1022
  children: s
1006
1023
  }
1007
1024
  );
1008
- }, Br = (n) => {
1009
- const { label: s, isChecked: o = !1, id: i = "radio1", onChange: c, name: f } = n;
1025
+ }, Jr = (n) => {
1026
+ const { label: s, isChecked: o = !1, id: i = "radio1", onChange: l, name: f } = n;
1010
1027
  return /* @__PURE__ */ t.jsx("div", { className: "radio", children: /* @__PURE__ */ t.jsxs("label", { htmlFor: i, children: [
1011
1028
  /* @__PURE__ */ t.jsx(
1012
1029
  "input",
@@ -1015,14 +1032,14 @@ const Tr = () => /* @__PURE__ */ t.jsx("div", { className: "toolbar-pf" }), yr =
1015
1032
  name: f,
1016
1033
  id: i,
1017
1034
  checked: o,
1018
- onChange: (v) => c(v.target.checked)
1035
+ onChange: (p) => l(p.target.checked)
1019
1036
  }
1020
1037
  ),
1021
1038
  s
1022
1039
  ] }) });
1023
1040
  };
1024
- function Jr(n, s) {
1025
- br(() => {
1041
+ function qr(n, s) {
1042
+ Pe(() => {
1026
1043
  if (!n)
1027
1044
  return;
1028
1045
  const o = setInterval(() => {
@@ -1031,9 +1048,9 @@ function Jr(n, s) {
1031
1048
  return () => clearInterval(o);
1032
1049
  }, [n]);
1033
1050
  }
1034
- const qr = () => /* @__PURE__ */ t.jsxs("div", { children: [
1051
+ const zr = () => /* @__PURE__ */ t.jsxs("div", { children: [
1035
1052
  /* @__PURE__ */ t.jsx(
1036
- yr,
1053
+ Rr,
1037
1054
  {
1038
1055
  items: [
1039
1056
  { title: "Дополнения", active: !0 },
@@ -1042,7 +1059,20 @@ const qr = () => /* @__PURE__ */ t.jsxs("div", { children: [
1042
1059
  }
1043
1060
  ),
1044
1061
  /* @__PURE__ */ t.jsx(
1045
- Pe,
1062
+ K,
1063
+ {
1064
+ onChange: () => {
1065
+ },
1066
+ items: [
1067
+ { id: 0, title: "5 сек" },
1068
+ { id: 1, title: "10 сек" },
1069
+ { id: 2, title: "20 сек" }
1070
+ ],
1071
+ children: /* @__PURE__ */ t.jsx(Q, { children: "Hello" })
1072
+ }
1073
+ ),
1074
+ /* @__PURE__ */ t.jsx(
1075
+ K,
1046
1076
  {
1047
1077
  onChange: () => {
1048
1078
  },
@@ -1051,36 +1081,36 @@ const qr = () => /* @__PURE__ */ t.jsxs("div", { children: [
1051
1081
  { id: 1, title: "10 сек" },
1052
1082
  { id: 2, title: "20 сек" }
1053
1083
  ],
1054
- children: /* @__PURE__ */ t.jsx(Se, { children: "Hello" })
1084
+ children: /* @__PURE__ */ t.jsx(Q, { children: "Hello" })
1055
1085
  }
1056
1086
  )
1057
1087
  ] });
1058
1088
  export {
1059
- Mr as Alert,
1060
- yr as Breadcrumb,
1061
- Se as Button,
1089
+ Ur as Alert,
1090
+ Rr as Breadcrumb,
1091
+ Q as Button,
1062
1092
  Vr as Checkbox,
1063
- ke as Dropdown,
1064
- Wr as DropdownSelect,
1065
- Pe as GroupButtonContainer,
1066
- kr as HelpText,
1067
- Or as Input,
1068
- Ur as Label,
1069
- Sr as Modal,
1070
- Er as Pagination,
1071
- Br as Radio,
1072
- _r as ReloadButton,
1073
- qr as SampleComp,
1074
- wr as Tab,
1075
- Pr as Table,
1076
- Yr as TableToolbar,
1077
- Nr as Tabs,
1078
- $r as Tbody,
1079
- Dr as Td,
1080
- Lr as TextArea,
1081
- Fr as Th,
1082
- Ar as Thead,
1083
- Tr as ToolbarContainer,
1084
- Ir as Tr,
1085
- Jr as useIntervalLoader
1093
+ $e as Dropdown,
1094
+ Yr as DropdownSelect,
1095
+ K as GroupButtonContainer,
1096
+ Pr as HelpText,
1097
+ Sr as Input,
1098
+ Br as Label,
1099
+ kr as Modal,
1100
+ _r as Pagination,
1101
+ Jr as Radio,
1102
+ Cr as ReloadButton,
1103
+ zr as SampleComp,
1104
+ Nr as Tab,
1105
+ $r as Table,
1106
+ Lr as TableToolbar,
1107
+ Or as Tabs,
1108
+ Dr as Tbody,
1109
+ Fr as Td,
1110
+ Mr as TextArea,
1111
+ Ar as Th,
1112
+ Ir as Thead,
1113
+ wr as ToolbarContainer,
1114
+ Wr as Tr,
1115
+ qr as useIntervalLoader
1086
1116
  };