ovirt-ui-toolkit 0.0.97 → 0.0.98

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