ovirt-ui-toolkit 0.0.17 → 0.0.19

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.
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ interface TextareaProps {
3
+ placeholder?: string;
4
+ rows?: number;
5
+ maxLength?: number;
6
+ value?: string;
7
+ onChange?: (value: string) => void;
8
+ isDisabled?: boolean;
9
+ className?: string;
10
+ }
11
+ declare const Textarea: React.FC<TextareaProps>;
12
+ export default Textarea;
package/dist/index.d.ts CHANGED
@@ -17,5 +17,6 @@ export { default as Pagination } from './components/pagination/Pagination';
17
17
  export { default as ReloadButton } from './components/reloadButton/ReloadButtton';
18
18
  export { default as TableToolbar } from './components/tableToolbar/TableToolbar';
19
19
  export { default as Checkbox } from './components/checkbox/Checkbox';
20
+ export { default as TextArea } from './components/textarea/TextArea';
20
21
  export { default as useIntervalLoader } from './hooks/useIntervalLoader';
21
22
  export { default as SampleComp } from './Test';
@@ -1,4 +1,4 @@
1
- import Oe, { forwardRef as vr, useState as pr, useEffect as br } from "react";
1
+ import Oe, { forwardRef as pr, useState as Se, useEffect as br } from "react";
2
2
  var U = { exports: {} }, A = {};
3
3
  /**
4
4
  * @license React
@@ -13,15 +13,15 @@ var _e;
13
13
  function hr() {
14
14
  if (_e) return A;
15
15
  _e = 1;
16
- var a = Oe, s = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function x(T, g, C) {
18
- var p, R = {}, O = null, W = null;
19
- C !== void 0 && (O = "" + C), g.key !== void 0 && (O = "" + g.key), g.ref !== void 0 && (W = g.ref);
20
- for (p in g) l.call(g, p) && !b.hasOwnProperty(p) && (R[p] = g[p]);
21
- if (T && T.defaultProps) for (p in g = T.defaultProps, g) R[p] === void 0 && (R[p] = g[p]);
22
- return { $$typeof: s, type: T, key: O, ref: W, props: R, _owner: d.current };
16
+ var a = Oe, s = Symbol.for("react.element"), u = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, f = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function h(_, m, T) {
18
+ var p, j = {}, w = null, W = null;
19
+ T !== void 0 && (w = "" + T), m.key !== void 0 && (w = "" + m.key), m.ref !== void 0 && (W = m.ref);
20
+ for (p in m) o.call(m, p) && !b.hasOwnProperty(p) && (j[p] = m[p]);
21
+ if (_ && _.defaultProps) for (p in m = _.defaultProps, m) j[p] === void 0 && (j[p] = m[p]);
22
+ return { $$typeof: s, type: _, key: w, ref: W, props: j, _owner: f.current };
23
23
  }
24
- return A.Fragment = u, A.jsx = x, A.jsxs = x, A;
24
+ return A.Fragment = u, A.jsx = h, A.jsxs = h, A;
25
25
  }
26
26
  var I = {};
27
27
  /**
@@ -36,11 +36,11 @@ var I = {};
36
36
  var Te;
37
37
  function mr() {
38
38
  return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
39
- var a = Oe, s = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), T = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, ke = "@@iterator";
40
- function Pe(e) {
39
+ var a = Oe, s = Symbol.for("react.element"), u = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, Pe = "@@iterator";
40
+ function Ne(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var r = Q && e[Q] || e[ke];
43
+ var r = Q && e[Q] || e[Pe];
44
44
  return typeof r == "function" ? r : null;
45
45
  }
46
46
  var P = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -48,39 +48,39 @@ function mr() {
48
48
  {
49
49
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
50
50
  t[i - 1] = arguments[i];
51
- Ne("error", e, t);
51
+ $e("error", e, t);
52
52
  }
53
53
  }
54
- function Ne(e, r, t) {
54
+ function $e(e, r, t) {
55
55
  {
56
- var i = P.ReactDebugCurrentFrame, f = i.getStackAddendum();
57
- f !== "" && (r += "%s", t = t.concat([f]));
56
+ var i = P.ReactDebugCurrentFrame, d = i.getStackAddendum();
57
+ d !== "" && (r += "%s", t = t.concat([d]));
58
58
  var v = t.map(function(c) {
59
59
  return String(c);
60
60
  });
61
61
  v.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, v);
62
62
  }
63
63
  }
64
- var $e = !1, De = !1, Fe = !1, Ae = !1, Ie = !1, K;
64
+ var De = !1, Fe = !1, Ae = !1, Ie = !1, We = !1, K;
65
65
  K = Symbol.for("react.module.reference");
66
- function We(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === l || e === b || Ie || e === d || e === C || e === p || Ae || e === W || $e || De || Fe || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === R || e.$$typeof === x || e.$$typeof === T || e.$$typeof === g || // This needs to include all possible module reference object
66
+ function Ye(e) {
67
+ return !!(typeof e == "string" || typeof e == "function" || e === o || e === b || We || e === f || e === T || e === p || Ie || e === W || De || Fe || Ae || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === j || e.$$typeof === h || e.$$typeof === _ || 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
71
  e.$$typeof === K || e.getModuleId !== void 0));
72
72
  }
73
- function Ye(e, r, t) {
73
+ function Le(e, r, t) {
74
74
  var i = e.displayName;
75
75
  if (i)
76
76
  return i;
77
- var f = r.displayName || r.name || "";
78
- return f !== "" ? t + "(" + f + ")" : t;
77
+ var d = r.displayName || r.name || "";
78
+ return d !== "" ? t + "(" + d + ")" : t;
79
79
  }
80
80
  function ee(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
- function w(e) {
83
+ function O(e) {
84
84
  if (e == null)
85
85
  return null;
86
86
  if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -88,36 +88,36 @@ function mr() {
88
88
  if (typeof e == "string")
89
89
  return e;
90
90
  switch (e) {
91
- case l:
91
+ case o:
92
92
  return "Fragment";
93
93
  case u:
94
94
  return "Portal";
95
95
  case b:
96
96
  return "Profiler";
97
- case d:
97
+ case f:
98
98
  return "StrictMode";
99
- case C:
99
+ case T:
100
100
  return "Suspense";
101
101
  case p:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case T:
106
+ case _:
107
107
  var r = e;
108
108
  return ee(r) + ".Consumer";
109
- case x:
109
+ case h:
110
110
  var t = e;
111
111
  return ee(t._context) + ".Provider";
112
- case g:
113
- return Ye(e, e.render, "ForwardRef");
114
- case R:
112
+ case m:
113
+ return Le(e, e.render, "ForwardRef");
114
+ case j:
115
115
  var i = e.displayName || null;
116
- return i !== null ? i : w(e.type) || "Memo";
117
- case O: {
118
- var f = e, v = f._payload, c = f._init;
116
+ return i !== null ? i : O(e.type) || "Memo";
117
+ case w: {
118
+ var d = e, v = d._payload, c = d._init;
119
119
  try {
120
- return w(c(v));
120
+ return O(c(v));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -129,7 +129,7 @@ function mr() {
129
129
  function le() {
130
130
  }
131
131
  le.__reactDisabledLog = !0;
132
- function Le() {
132
+ function Me() {
133
133
  {
134
134
  if (D === 0) {
135
135
  re = console.log, te = console.info, ne = console.warn, ae = console.error, se = console.group, ie = console.groupCollapsed, oe = console.groupEnd;
@@ -152,7 +152,7 @@ function mr() {
152
152
  D++;
153
153
  }
154
154
  }
155
- function Me() {
155
+ function Ve() {
156
156
  {
157
157
  if (D--, D === 0) {
158
158
  var e = {
@@ -193,8 +193,8 @@ function mr() {
193
193
  if (J === void 0)
194
194
  try {
195
195
  throw Error();
196
- } catch (f) {
197
- var i = f.stack.trim().match(/\n( *(at )?)/);
196
+ } catch (d) {
197
+ var i = d.stack.trim().match(/\n( *(at )?)/);
198
198
  J = i && i[1] || "";
199
199
  }
200
200
  return `
@@ -203,8 +203,8 @@ function mr() {
203
203
  }
204
204
  var q = !1, L;
205
205
  {
206
- var Ve = typeof WeakMap == "function" ? WeakMap : Map;
207
- L = new Ve();
206
+ var Ue = typeof WeakMap == "function" ? WeakMap : Map;
207
+ L = new Ue();
208
208
  }
209
209
  function ce(e, r) {
210
210
  if (!e || q)
@@ -216,10 +216,10 @@ function mr() {
216
216
  }
217
217
  var i;
218
218
  q = !0;
219
- var f = Error.prepareStackTrace;
219
+ var d = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var v;
222
- v = B.current, B.current = null, Le();
222
+ v = B.current, B.current = null, Me();
223
223
  try {
224
224
  if (r) {
225
225
  var c = function() {
@@ -232,55 +232,55 @@ function mr() {
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
234
  Reflect.construct(c, []);
235
- } catch (E) {
236
- i = E;
235
+ } catch (R) {
236
+ i = R;
237
237
  }
238
238
  Reflect.construct(e, [], c);
239
239
  } else {
240
240
  try {
241
241
  c.call();
242
- } catch (E) {
243
- i = E;
242
+ } catch (R) {
243
+ i = R;
244
244
  }
245
245
  e.call(c.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (E) {
251
- i = E;
250
+ } catch (R) {
251
+ i = R;
252
252
  }
253
253
  e();
254
254
  }
255
- } catch (E) {
256
- if (E && i && typeof E.stack == "string") {
257
- for (var o = E.stack.split(`
258
- `), j = i.stack.split(`
259
- `), h = o.length - 1, m = j.length - 1; h >= 1 && m >= 0 && o[h] !== j[m]; )
260
- m--;
261
- for (; h >= 1 && m >= 0; h--, m--)
262
- if (o[h] !== j[m]) {
263
- if (h !== 1 || m !== 1)
255
+ } catch (R) {
256
+ if (R && i && typeof R.stack == "string") {
257
+ for (var l = R.stack.split(`
258
+ `), E = i.stack.split(`
259
+ `), x = l.length - 1, g = E.length - 1; x >= 1 && g >= 0 && l[x] !== E[g]; )
260
+ g--;
261
+ for (; x >= 1 && g >= 0; x--, g--)
262
+ if (l[x] !== E[g]) {
263
+ if (x !== 1 || g !== 1)
264
264
  do
265
- if (h--, m--, m < 0 || o[h] !== j[m]) {
266
- var _ = `
267
- ` + o[h].replace(" at new ", " at ");
268
- return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, _), _;
265
+ if (x--, g--, g < 0 || l[x] !== E[g]) {
266
+ var C = `
267
+ ` + l[x].replace(" at new ", " at ");
268
+ return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, C), C;
269
269
  }
270
- while (h >= 1 && m >= 0);
270
+ while (x >= 1 && g >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- q = !1, B.current = v, Me(), Error.prepareStackTrace = f;
275
+ q = !1, B.current = v, Ve(), Error.prepareStackTrace = d;
276
276
  }
277
277
  var $ = e ? e.displayName || e.name : "", k = $ ? Y($) : "";
278
278
  return typeof e == "function" && L.set(e, k), k;
279
279
  }
280
- function Ue(e, r, t) {
280
+ function Be(e, r, t) {
281
281
  return ce(e, !1);
282
282
  }
283
- function Be(e) {
283
+ function Je(e) {
284
284
  var r = e.prototype;
285
285
  return !!(r && r.isReactComponent);
286
286
  }
@@ -288,25 +288,25 @@ function mr() {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return ce(e, Be(e));
291
+ return ce(e, Je(e));
292
292
  if (typeof e == "string")
293
293
  return Y(e);
294
294
  switch (e) {
295
- case C:
295
+ case T:
296
296
  return Y("Suspense");
297
297
  case p:
298
298
  return Y("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
- case g:
303
- return Ue(e.render);
304
- case R:
302
+ case m:
303
+ return Be(e.render);
304
+ case j:
305
305
  return M(e.type, r, t);
306
- case O: {
307
- var i = e, f = i._payload, v = i._init;
306
+ case w: {
307
+ var i = e, d = i._payload, v = i._init;
308
308
  try {
309
- return M(v(f), r, t);
309
+ return M(v(d), r, t);
310
310
  } catch {
311
311
  }
312
312
  }
@@ -321,36 +321,36 @@ function mr() {
321
321
  } else
322
322
  fe.setExtraStackFrame(null);
323
323
  }
324
- function Je(e, r, t, i, f) {
324
+ function qe(e, r, t, i, d) {
325
325
  {
326
326
  var v = Function.call.bind(F);
327
327
  for (var c in e)
328
328
  if (v(e, c)) {
329
- var o = void 0;
329
+ var l = void 0;
330
330
  try {
331
331
  if (typeof e[c] != "function") {
332
- var j = Error((i || "React class") + ": " + t + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw j.name = "Invariant Violation", j;
332
+ var E = Error((i || "React class") + ": " + t + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ throw E.name = "Invariant Violation", E;
334
334
  }
335
- o = e[c](r, c, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (h) {
337
- o = h;
335
+ l = e[c](r, c, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ } catch (x) {
337
+ l = x;
338
338
  }
339
- o && !(o instanceof Error) && (V(f), y("%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).", i || "React class", t, c, typeof o), V(null)), o instanceof Error && !(o.message in ue) && (ue[o.message] = !0, V(f), y("Failed %s type: %s", t, o.message), V(null));
339
+ l && !(l instanceof Error) && (V(d), y("%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).", i || "React class", t, c, typeof l), V(null)), l instanceof Error && !(l.message in ue) && (ue[l.message] = !0, V(d), y("Failed %s type: %s", t, l.message), V(null));
340
340
  }
341
341
  }
342
342
  }
343
- var qe = Array.isArray;
343
+ var Ge = Array.isArray;
344
344
  function G(e) {
345
- return qe(e);
345
+ return Ge(e);
346
346
  }
347
- function Ge(e) {
347
+ function ze(e) {
348
348
  {
349
349
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
350
  return t;
351
351
  }
352
352
  }
353
- function ze(e) {
353
+ function He(e) {
354
354
  try {
355
355
  return de(e), !1;
356
356
  } catch {
@@ -361,16 +361,16 @@ function mr() {
361
361
  return "" + e;
362
362
  }
363
363
  function ve(e) {
364
- if (ze(e))
365
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ge(e)), de(e);
364
+ if (He(e))
365
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), de(e);
366
366
  }
367
- var pe = P.ReactCurrentOwner, He = {
367
+ var pe = P.ReactCurrentOwner, Xe = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
372
  }, be, he;
373
- function Xe(e) {
373
+ function Ze(e) {
374
374
  if (F.call(e, "ref")) {
375
375
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
376
376
  if (r && r.isReactWarning)
@@ -378,7 +378,7 @@ function mr() {
378
378
  }
379
379
  return e.ref !== void 0;
380
380
  }
381
- function Ze(e) {
381
+ function Qe(e) {
382
382
  if (F.call(e, "key")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
384
384
  if (r && r.isReactWarning)
@@ -386,10 +386,10 @@ function mr() {
386
386
  }
387
387
  return e.key !== void 0;
388
388
  }
389
- function Qe(e, r) {
389
+ function Ke(e, r) {
390
390
  typeof e.ref == "string" && pe.current;
391
391
  }
392
- function Ke(e, r) {
392
+ function er(e, r) {
393
393
  {
394
394
  var t = function() {
395
395
  be || (be = !0, y("%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));
@@ -400,7 +400,7 @@ function mr() {
400
400
  });
401
401
  }
402
402
  }
403
- function er(e, r) {
403
+ function rr(e, r) {
404
404
  {
405
405
  var t = function() {
406
406
  he || (he = !0, y("%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));
@@ -411,8 +411,8 @@ function mr() {
411
411
  });
412
412
  }
413
413
  }
414
- var rr = function(e, r, t, i, f, v, c) {
415
- var o = {
414
+ var tr = function(e, r, t, i, d, v, c) {
415
+ var l = {
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
@@ -423,39 +423,39 @@ function mr() {
423
423
  // Record the component responsible for creating this element.
424
424
  _owner: v
425
425
  };
426
- return o._store = {}, Object.defineProperty(o._store, "validated", {
426
+ return l._store = {}, Object.defineProperty(l._store, "validated", {
427
427
  configurable: !1,
428
428
  enumerable: !1,
429
429
  writable: !0,
430
430
  value: !1
431
- }), Object.defineProperty(o, "_self", {
431
+ }), Object.defineProperty(l, "_self", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !1,
435
435
  value: i
436
- }), Object.defineProperty(o, "_source", {
436
+ }), Object.defineProperty(l, "_source", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: f
441
- }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
440
+ value: d
441
+ }), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
442
442
  };
443
- function tr(e, r, t, i, f) {
443
+ function nr(e, r, t, i, d) {
444
444
  {
445
- var v, c = {}, o = null, j = null;
446
- t !== void 0 && (ve(t), o = "" + t), Ze(r) && (ve(r.key), o = "" + r.key), Xe(r) && (j = r.ref, Qe(r, f));
445
+ var v, c = {}, l = null, E = null;
446
+ t !== void 0 && (ve(t), l = "" + t), Qe(r) && (ve(r.key), l = "" + r.key), Ze(r) && (E = r.ref, Ke(r, d));
447
447
  for (v in r)
448
- F.call(r, v) && !He.hasOwnProperty(v) && (c[v] = r[v]);
448
+ F.call(r, v) && !Xe.hasOwnProperty(v) && (c[v] = r[v]);
449
449
  if (e && e.defaultProps) {
450
- var h = e.defaultProps;
451
- for (v in h)
452
- c[v] === void 0 && (c[v] = h[v]);
450
+ var x = e.defaultProps;
451
+ for (v in x)
452
+ c[v] === void 0 && (c[v] = x[v]);
453
453
  }
454
- if (o || j) {
455
- var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- o && Ke(c, m), j && er(c, m);
454
+ if (l || E) {
455
+ var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
+ l && er(c, g), E && rr(c, g);
457
457
  }
458
- return rr(e, o, j, f, i, pe.current, c);
458
+ return tr(e, l, E, d, i, pe.current, c);
459
459
  }
460
460
  }
461
461
  var z = P.ReactCurrentOwner, me = P.ReactDebugCurrentFrame;
@@ -474,7 +474,7 @@ function mr() {
474
474
  function xe() {
475
475
  {
476
476
  if (z.current) {
477
- var e = w(z.current.type);
477
+ var e = O(z.current.type);
478
478
  if (e)
479
479
  return `
480
480
 
@@ -483,11 +483,11 @@ Check the render method of \`` + e + "`.";
483
483
  return "";
484
484
  }
485
485
  }
486
- function nr(e) {
486
+ function ar(e) {
487
487
  return "";
488
488
  }
489
489
  var ge = {};
490
- function ar(e) {
490
+ function sr(e) {
491
491
  {
492
492
  var r = xe();
493
493
  if (!r) {
@@ -499,39 +499,39 @@ Check the top-level render call using <` + t + ">.");
499
499
  return r;
500
500
  }
501
501
  }
502
- function ye(e, r) {
502
+ function je(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 t = ar(r);
507
+ var t = sr(r);
508
508
  if (ge[t])
509
509
  return;
510
510
  ge[t] = !0;
511
511
  var i = "";
512
- e && e._owner && e._owner !== z.current && (i = " It was passed a child from " + w(e._owner.type) + "."), N(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, i), N(null);
512
+ e && e._owner && e._owner !== z.current && (i = " It was passed a child from " + O(e._owner.type) + "."), N(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, i), N(null);
513
513
  }
514
514
  }
515
- function je(e, r) {
515
+ function ye(e, r) {
516
516
  {
517
517
  if (typeof e != "object")
518
518
  return;
519
519
  if (G(e))
520
520
  for (var t = 0; t < e.length; t++) {
521
521
  var i = e[t];
522
- X(i) && ye(i, r);
522
+ X(i) && je(i, r);
523
523
  }
524
524
  else if (X(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var f = Pe(e);
528
- if (typeof f == "function" && f !== e.entries)
529
- for (var v = f.call(e), c; !(c = v.next()).done; )
530
- X(c.value) && ye(c.value, r);
527
+ var d = Ne(e);
528
+ if (typeof d == "function" && d !== e.entries)
529
+ for (var v = d.call(e), c; !(c = v.next()).done; )
530
+ X(c.value) && je(c.value, r);
531
531
  }
532
532
  }
533
533
  }
534
- function sr(e) {
534
+ function ir(e) {
535
535
  {
536
536
  var r = e.type;
537
537
  if (r == null || typeof r == "string")
@@ -539,24 +539,24 @@ Check the top-level render call using <` + t + ">.");
539
539
  var t;
540
540
  if (typeof r == "function")
541
541
  t = r.propTypes;
542
- else if (typeof r == "object" && (r.$$typeof === g || // Note: Memo only checks outer props here.
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 === R))
544
+ r.$$typeof === j))
545
545
  t = r.propTypes;
546
546
  else
547
547
  return;
548
548
  if (t) {
549
- var i = w(r);
550
- Je(t, e.props, "prop", i, e);
549
+ var i = O(r);
550
+ qe(t, e.props, "prop", i, e);
551
551
  } else if (r.PropTypes !== void 0 && !H) {
552
552
  H = !0;
553
- var f = w(r);
554
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
553
+ var d = O(r);
554
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
555
555
  }
556
556
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function ir(e) {
559
+ function or(e) {
560
560
  {
561
561
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
562
562
  var i = r[t];
@@ -569,58 +569,58 @@ Check the top-level render call using <` + t + ">.");
569
569
  }
570
570
  }
571
571
  var Ee = {};
572
- function Re(e, r, t, i, f, v) {
572
+ function Re(e, r, t, i, d, v) {
573
573
  {
574
- var c = We(e);
574
+ var c = Ye(e);
575
575
  if (!c) {
576
- var o = "";
577
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var j = nr();
579
- j ? o += j : o += xe();
580
- var h;
581
- e === null ? h = "null" : G(e) ? h = "array" : e !== void 0 && e.$$typeof === s ? (h = "<" + (w(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : h = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", h, o);
576
+ var l = "";
577
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " 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 = ar();
579
+ E ? l += E : l += xe();
580
+ var x;
581
+ e === null ? x = "null" : G(e) ? x = "array" : e !== void 0 && e.$$typeof === s ? (x = "<" + (O(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, l);
582
582
  }
583
- var m = tr(e, r, t, f, v);
584
- if (m == null)
585
- return m;
583
+ var g = nr(e, r, t, d, v);
584
+ if (g == null)
585
+ return g;
586
586
  if (c) {
587
- var _ = r.children;
588
- if (_ !== void 0)
587
+ var C = r.children;
588
+ if (C !== void 0)
589
589
  if (i)
590
- if (G(_)) {
591
- for (var $ = 0; $ < _.length; $++)
592
- je(_[$], e);
593
- Object.freeze && Object.freeze(_);
590
+ if (G(C)) {
591
+ for (var $ = 0; $ < C.length; $++)
592
+ ye(C[$], e);
593
+ Object.freeze && Object.freeze(C);
594
594
  } else
595
595
  y("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
- je(_, e);
597
+ ye(C, e);
598
598
  }
599
599
  if (F.call(r, "key")) {
600
- var k = w(e), E = Object.keys(r).filter(function(dr) {
601
- return dr !== "key";
602
- }), Z = E.length > 0 ? "{key: someKey, " + E.join(": ..., ") + ": ...}" : "{key: someKey}";
600
+ var k = O(e), R = Object.keys(r).filter(function(vr) {
601
+ return vr !== "key";
602
+ }), Z = R.length > 0 ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}";
603
603
  if (!Ee[k + Z]) {
604
- var fr = E.length > 0 ? "{" + E.join(": ..., ") + ": ...}" : "{}";
604
+ var dr = R.length > 0 ? "{" + R.join(": ..., ") + ": ...}" : "{}";
605
605
  y(`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, fr, k), Ee[k + Z] = !0;
610
+ <%s key={someKey} {...props} />`, Z, k, dr, k), Ee[k + Z] = !0;
611
611
  }
612
612
  }
613
- return e === l ? ir(m) : sr(m), m;
613
+ return e === o ? or(g) : ir(g), g;
614
614
  }
615
615
  }
616
- function or(e, r, t) {
616
+ function lr(e, r, t) {
617
617
  return Re(e, r, t, !0);
618
618
  }
619
- function lr(e, r, t) {
619
+ function cr(e, r, t) {
620
620
  return Re(e, r, t, !1);
621
621
  }
622
- var cr = lr, ur = or;
623
- I.Fragment = l, I.jsx = cr, I.jsxs = ur;
622
+ var ur = cr, fr = lr;
623
+ I.Fragment = o, I.jsx = ur, I.jsxs = fr;
624
624
  }()), I;
625
625
  }
626
626
  var Ce;
@@ -628,26 +628,26 @@ function xr() {
628
628
  return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? U.exports = hr() : U.exports = mr()), U.exports;
629
629
  }
630
630
  var n = xr();
631
- const _r = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr = ({ items: a }) => /* @__PURE__ */ n.jsx("ol", { className: "breadcrumb", children: a.map((s, u) => /* @__PURE__ */ n.jsx("li", { className: s.active ? "active" : "", children: s.active ? s.title : /* @__PURE__ */ n.jsx("a", { href: s.href, children: s.title }) }, u)) }), Se = ({
631
+ const _r = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr = ({ items: a }) => /* @__PURE__ */ n.jsx("ol", { className: "breadcrumb", children: a.map((s, u) => /* @__PURE__ */ n.jsx("li", { className: s.active ? "active" : "", children: s.active ? s.title : /* @__PURE__ */ n.jsx("a", { href: s.href, children: s.title }) }, u)) }), ke = ({
632
632
  type: a = "default",
633
633
  title: s,
634
634
  size: u,
635
- label: l,
636
- onClick: d,
635
+ label: o,
636
+ onClick: f,
637
637
  isDisabled: b = !1,
638
- children: x,
639
- className: T = ""
638
+ children: h,
639
+ className: _ = ""
640
640
  }) => {
641
- const g = `btn-${a}`, C = u ? `btn-${u}` : "", R = `${`btn ${g} ${C}`.trim()} ${T}`.trim();
641
+ const m = `btn-${a}`, T = u ? `btn-${u}` : "", j = `${`btn ${m} ${T}`.trim()} ${_}`.trim();
642
642
  return /* @__PURE__ */ n.jsx(
643
643
  "button",
644
644
  {
645
- className: R,
645
+ className: j,
646
646
  type: "button",
647
- onClick: d,
647
+ onClick: f,
648
648
  disabled: b,
649
649
  children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center", children: [
650
- x || l,
650
+ h || o,
651
651
  " ",
652
652
  s
653
653
  ] })
@@ -664,106 +664,106 @@ const _r = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
664
664
  },
665
665
  s
666
666
  ), Cr = ({ activeKey: a, onSelect: s, children: u }) => /* @__PURE__ */ n.jsxs("div", { className: "tabs-container", children: [
667
- /* @__PURE__ */ n.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: u.map(({ props: { eventKey: l, title: d } }) => /* @__PURE__ */ n.jsx("li", { className: a === l ? "active" : "", children: /* @__PURE__ */ n.jsx(
667
+ /* @__PURE__ */ n.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: u.map(({ props: { eventKey: o, title: f } }) => /* @__PURE__ */ n.jsx("li", { className: a === o ? "active" : "", children: /* @__PURE__ */ n.jsx(
668
668
  "a",
669
669
  {
670
- href: `#${l}`,
670
+ href: `#${o}`,
671
671
  onClick: (b) => {
672
- b.preventDefault(), s(l);
672
+ b.preventDefault(), s(o);
673
673
  },
674
- children: d
674
+ children: f
675
675
  }
676
- ) }, l)) }),
677
- /* @__PURE__ */ n.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ n.jsx("div", { className: "tab-content pf-c-tab-content", children: u.map(({ props: { eventKey: l, children: d } }) => /* @__PURE__ */ n.jsx(
676
+ ) }, o)) }),
677
+ /* @__PURE__ */ n.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ n.jsx("div", { className: "tab-content pf-c-tab-content", children: u.map(({ props: { eventKey: o, children: f } }) => /* @__PURE__ */ n.jsx(
678
678
  "div",
679
679
  {
680
- className: `tab-pane ${a === l ? "active" : ""}`,
681
- id: `${l}-panel`,
680
+ className: `tab-pane ${a === o ? "active" : ""}`,
681
+ id: `${o}-panel`,
682
682
  role: "tabpanel",
683
- "aria-labelledby": `${l}-tab`,
684
- children: d
683
+ "aria-labelledby": `${o}-tab`,
684
+ children: f
685
685
  },
686
- l
686
+ o
687
687
  )) }) })
688
- ] }), wr = vr(
688
+ ] }), wr = pr(
689
689
  ({
690
690
  id: a,
691
691
  type: s,
692
692
  placeholder: u = "",
693
- value: l,
694
- onChange: d,
693
+ value: o,
694
+ onChange: f,
695
695
  className: b = "form-control"
696
- }, x) => /* @__PURE__ */ n.jsx(
696
+ }, h) => /* @__PURE__ */ n.jsx(
697
697
  "input",
698
698
  {
699
699
  type: s,
700
700
  id: a,
701
701
  className: b,
702
702
  placeholder: u,
703
- value: l,
704
- onChange: d,
705
- ref: x
703
+ value: o,
704
+ onChange: f,
705
+ ref: h
706
706
  }
707
707
  )
708
- ), Or = ({ title: a, isOpen: s, onClose: u, children: l, size: d }) => {
708
+ ), Or = ({ title: a, isOpen: s, onClose: u, children: o, size: f }) => {
709
709
  if (!s) return null;
710
- const b = d ? `modal-${d}` : "";
710
+ const b = f ? `modal-${f}` : "";
711
711
  return /* @__PURE__ */ n.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ n.jsx("div", { className: `modal-dialog ${b}`, role: "document", children: /* @__PURE__ */ n.jsxs("div", { className: "modal-content", children: [
712
712
  /* @__PURE__ */ n.jsxs("div", { className: "modal-header", children: [
713
713
  /* @__PURE__ */ n.jsx("button", { type: "button", className: "close", onClick: u, "aria-hidden": "true", children: /* @__PURE__ */ n.jsx("span", { className: "pficon pficon-close" }) }),
714
714
  /* @__PURE__ */ n.jsx("h4", { className: "modal-title", children: a })
715
715
  ] }),
716
- /* @__PURE__ */ n.jsx("div", { className: "modal-body", children: l })
716
+ /* @__PURE__ */ n.jsx("div", { className: "modal-body", children: o })
717
717
  ] }) }) });
718
718
  }, Sr = ({ variant: a, children: s }) => {
719
- const l = {
719
+ const o = {
720
720
  warning: "text-yellow-600",
721
721
  success: "text-green-600",
722
722
  error: "text-red-600"
723
723
  }[a] || "";
724
- return /* @__PURE__ */ n.jsx("p", { className: l, children: s });
725
- }, kr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("table", { ...s, children: a }), Pr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("tbody", { ...s, children: a }), Nr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("td", { ...s, children: a }), $r = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("th", { ...s, children: a }), Dr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("thead", { ...s, children: a }), Fr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("tr", { ...s, children: a }), yr = ({ items: a, selected: s, title: u, onChange: l }) => {
726
- const [d, b] = pr(!1), x = () => {
724
+ return /* @__PURE__ */ n.jsx("p", { className: o, children: s });
725
+ }, kr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("table", { ...s, children: a }), Pr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("tbody", { ...s, children: a }), Nr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("td", { ...s, children: a }), $r = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("th", { ...s, children: a }), Dr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("thead", { ...s, children: a }), Fr = ({ children: a, ...s }) => /* @__PURE__ */ n.jsx("tr", { ...s, children: a }), jr = ({ items: a, selected: s, title: u, onChange: o }) => {
726
+ const [f, b] = Se(!1), h = () => {
727
727
  b((p) => !p);
728
- }, T = (p) => {
729
- b(!1), l(p);
730
- }, g = (p) => {
731
- const R = p.id === s;
728
+ }, _ = (p) => {
729
+ b(!1), o(p);
730
+ }, m = (p) => {
731
+ const j = p.id === s;
732
732
  return /* @__PURE__ */ n.jsx(
733
733
  "li",
734
734
  {
735
- onClick: () => T(p),
736
- className: R ? "active" : "",
735
+ onClick: () => _(p),
736
+ className: j ? "active" : "",
737
737
  children: /* @__PURE__ */ n.jsx("a", { href: "#", children: p.title })
738
738
  },
739
739
  p.id
740
740
  );
741
- }, C = d ? "dropdown open" : "dropdown";
742
- return /* @__PURE__ */ n.jsxs("div", { className: C, style: { display: "inline-block" }, children: [
741
+ }, T = f ? "dropdown open" : "dropdown";
742
+ return /* @__PURE__ */ n.jsxs("div", { className: T, style: { display: "inline-block" }, children: [
743
743
  /* @__PURE__ */ n.jsxs(
744
744
  "button",
745
745
  {
746
746
  className: "btn btn-default dropdown-toggle",
747
- onClick: x,
747
+ onClick: h,
748
748
  children: [
749
749
  u,
750
750
  /* @__PURE__ */ n.jsx("span", { className: "caret" })
751
751
  ]
752
752
  }
753
753
  ),
754
- d && /* @__PURE__ */ n.jsx("ul", { className: "dropdown-menu", children: a.map(g) })
754
+ f && /* @__PURE__ */ n.jsx("ul", { className: "dropdown-menu", children: a.map(m) })
755
755
  ] });
756
- }, jr = ({ currentPage: a, total: s, onPageChange: u, pageSize: l }) => {
757
- const d = Math.ceil(s / l), b = () => {
756
+ }, yr = ({ currentPage: a, total: s, onPageChange: u, pageSize: o }) => {
757
+ const f = Math.ceil(s / o), b = () => {
758
758
  a > 1 && u(a - 1);
759
- }, x = () => {
760
- a < d && u(a + 1);
759
+ }, h = () => {
760
+ a < f && u(a + 1);
761
761
  };
762
762
  return /* @__PURE__ */ n.jsxs("div", { children: [
763
763
  /* @__PURE__ */ n.jsx("span", { children: /* @__PURE__ */ n.jsxs("span", { className: "pagination-pf-items-current", children: [
764
764
  a,
765
765
  " - ",
766
- d
766
+ f
767
767
  ] }) }),
768
768
  /* @__PURE__ */ n.jsxs("div", { className: "btn-group ml-2", children: [
769
769
  /* @__PURE__ */ n.jsx(
@@ -780,9 +780,9 @@ const _r = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
780
780
  "button",
781
781
  {
782
782
  type: "button",
783
- className: `btn btn-default ${a === d ? "disabled" : ""}`,
784
- disabled: a === d,
785
- onClick: x,
783
+ className: `btn btn-default ${a === f ? "disabled" : ""}`,
784
+ disabled: a === f,
785
+ onClick: h,
786
786
  children: /* @__PURE__ */ n.jsx("i", { className: "fa fa-angle-right" })
787
787
  }
788
788
  )
@@ -796,34 +796,34 @@ const _r = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
796
796
  { id: 5, title: "60 сек", data: 6e4 }
797
797
  ], Er = ({ onChange: a, value: s, onRefresh: u }) => {
798
798
  var b;
799
- const l = (x) => {
800
- a(x.data);
801
- }, d = (b = we.find((x) => x.data === s)) == null ? void 0 : b.id;
799
+ const o = (h) => {
800
+ a(h.data);
801
+ }, f = (b = we.find((h) => h.data === s)) == null ? void 0 : b.id;
802
802
  return /* @__PURE__ */ n.jsxs("div", { className: "flex", children: [
803
- /* @__PURE__ */ n.jsx(Se, { type: "default", onClick: u, children: /* @__PURE__ */ n.jsx("i", { className: "fa fa-refresh" }) }),
804
- /* @__PURE__ */ n.jsx(yr, { onChange: l, items: we, selected: d })
803
+ /* @__PURE__ */ n.jsx(ke, { type: "default", onClick: u, children: /* @__PURE__ */ n.jsx("i", { className: "fa fa-refresh" }) }),
804
+ /* @__PURE__ */ n.jsx(jr, { onChange: o, items: we, selected: f })
805
805
  ] });
806
806
  }, Ar = ({
807
807
  interval: a,
808
808
  page: s,
809
809
  total: u,
810
- onRefresh: l,
811
- onChangeInterval: d,
810
+ onRefresh: o,
811
+ onChangeInterval: f,
812
812
  onPageChange: b,
813
- pageSize: x
813
+ pageSize: h
814
814
  }) => /* @__PURE__ */ n.jsxs("div", { className: "flex justify-between bg-[#f5f5f5] border border-[#d1d1d1]", children: [
815
815
  /* @__PURE__ */ n.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ n.jsx(
816
816
  Er,
817
817
  {
818
818
  value: a,
819
- onChange: d,
820
- onRefresh: l
819
+ onChange: f,
820
+ onRefresh: o
821
821
  }
822
822
  ) }),
823
823
  /* @__PURE__ */ n.jsx("div", { className: "m-[5px]", children: /* @__PURE__ */ n.jsx(
824
- jr,
824
+ yr,
825
825
  {
826
- pageSize: x,
826
+ pageSize: h,
827
827
  currentPage: s,
828
828
  total: u,
829
829
  onPageChange: b
@@ -833,21 +833,46 @@ const _r = () => /* @__PURE__ */ n.jsx("div", { className: "toolbar-pf" }), gr =
833
833
  id: a,
834
834
  label: s,
835
835
  isChecked: u = !1,
836
- onChange: l,
837
- className: d = "checkbox"
838
- }) => /* @__PURE__ */ n.jsx("div", { className: d, children: /* @__PURE__ */ n.jsxs("label", { htmlFor: a, children: [
836
+ onChange: o,
837
+ className: f = "checkbox"
838
+ }) => /* @__PURE__ */ n.jsx("div", { className: f, children: /* @__PURE__ */ n.jsxs("label", { htmlFor: a, children: [
839
839
  /* @__PURE__ */ n.jsx(
840
840
  "input",
841
841
  {
842
842
  type: "checkbox",
843
843
  id: a,
844
844
  checked: u,
845
- onChange: l
845
+ onChange: o
846
846
  }
847
847
  ),
848
848
  ` ${s}`
849
- ] }) });
850
- function Wr(a, s) {
849
+ ] }) }), Wr = ({
850
+ placeholder: a = "",
851
+ rows: s = 3,
852
+ maxLength: u,
853
+ value: o,
854
+ onChange: f,
855
+ isDisabled: b = !1,
856
+ className: h = ""
857
+ }) => {
858
+ const [_, m] = Se(o || ""), T = o !== void 0 ? o : _, p = (j) => {
859
+ const w = j.target.value;
860
+ f ? f(w) : m(w);
861
+ };
862
+ return /* @__PURE__ */ n.jsx(
863
+ "textarea",
864
+ {
865
+ className: h,
866
+ placeholder: a,
867
+ rows: s,
868
+ maxLength: u,
869
+ value: T,
870
+ onChange: p,
871
+ disabled: b
872
+ }
873
+ );
874
+ };
875
+ function Yr(a, s) {
851
876
  br(() => {
852
877
  if (!a)
853
878
  return;
@@ -857,7 +882,7 @@ function Wr(a, s) {
857
882
  return () => clearInterval(u);
858
883
  }, [a]);
859
884
  }
860
- const Yr = () => /* @__PURE__ */ n.jsxs("div", { children: [
885
+ const Lr = () => /* @__PURE__ */ n.jsxs("div", { children: [
861
886
  /* @__PURE__ */ n.jsx(
862
887
  gr,
863
888
  {
@@ -867,28 +892,29 @@ const Yr = () => /* @__PURE__ */ n.jsxs("div", { children: [
867
892
  ]
868
893
  }
869
894
  ),
870
- /* @__PURE__ */ n.jsx(Se, { children: "Hello" })
895
+ /* @__PURE__ */ n.jsx(ke, { children: "Hello" })
871
896
  ] });
872
897
  export {
873
898
  gr as Breadcrumb,
874
- Se as Button,
899
+ ke as Button,
875
900
  Ir as Checkbox,
876
- yr as Dropdown,
901
+ jr as Dropdown,
877
902
  Sr as HelpText,
878
903
  wr as Input,
879
904
  Or as Modal,
880
- jr as Pagination,
905
+ yr as Pagination,
881
906
  Er as ReloadButton,
882
- Yr as SampleComp,
907
+ Lr as SampleComp,
883
908
  Tr as Tab,
884
909
  kr as Table,
885
910
  Ar as TableToolbar,
886
911
  Cr as Tabs,
887
912
  Pr as Tbody,
888
913
  Nr as Td,
914
+ Wr as TextArea,
889
915
  $r as Th,
890
916
  Dr as Thead,
891
917
  _r as ToolbarContainer,
892
918
  Fr as Tr,
893
- Wr as useIntervalLoader
919
+ Yr as useIntervalLoader
894
920
  };
@@ -1,4 +1,4 @@
1
- (function(v,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],O):(v=typeof globalThis<"u"?globalThis:v||self,O(v["ovirt-ui-toolkit"]={},v.React))})(this,function(v,O){"use strict";var M={exports:{}},A={};/**
1
+ (function(v,S){typeof exports=="object"&&typeof module<"u"?S(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],S):(v=typeof globalThis<"u"?globalThis:v||self,S(v["ovirt-ui-toolkit"]={},v.React))})(this,function(v,S){"use strict";var M={exports:{}},A={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var re;function Ie(){if(re)return A;re=1;var a=O,i=Symbol.for("react.element"),u=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,d=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function y(C,j,w){var b,_={},k=null,L=null;w!==void 0&&(k=""+w),j.key!==void 0&&(k=""+j.key),j.ref!==void 0&&(L=j.ref);for(b in j)l.call(j,b)&&!h.hasOwnProperty(b)&&(_[b]=j[b]);if(C&&C.defaultProps)for(b in j=C.defaultProps,j)_[b]===void 0&&(_[b]=j[b]);return{$$typeof:i,type:C,key:k,ref:L,props:_,_owner:d.current}}return A.Fragment=u,A.jsx=y,A.jsxs=y,A}var $={};/**
9
+ */var re;function Fe(){if(re)return A;re=1;var a=S,i=Symbol.for("react.element"),u=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,f=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function m(T,g,C){var b,x={},O=null,L=null;C!==void 0&&(O=""+C),g.key!==void 0&&(O=""+g.key),g.ref!==void 0&&(L=g.ref);for(b in g)o.call(g,b)&&!h.hasOwnProperty(b)&&(x[b]=g[b]);if(T&&T.defaultProps)for(b in g=T.defaultProps,g)x[b]===void 0&&(x[b]=g[b]);return{$$typeof:i,type:T,key:O,ref:L,props:x,_owner:f.current}}return A.Fragment=u,A.jsx=m,A.jsxs=m,A}var $={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,17 +14,17 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var te;function Ae(){return te||(te=1,process.env.NODE_ENV!=="production"&&function(){var a=O,i=Symbol.for("react.element"),u=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),C=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),ce=Symbol.iterator,er="@@iterator";function rr(e){if(e===null||typeof e!="object")return null;var r=ce&&e[ce]||e[er];return typeof r=="function"?r:null}var D=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];tr("error",e,t)}}function tr(e,r,t){{var o=D.ReactDebugCurrentFrame,f=o.getStackAddendum();f!==""&&(r+="%s",t=t.concat([f]));var p=t.map(function(c){return String(c)});p.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,p)}}var nr=!1,ar=!1,ir=!1,or=!1,sr=!1,ue;ue=Symbol.for("react.module.reference");function lr(e){return!!(typeof e=="string"||typeof e=="function"||e===l||e===h||sr||e===d||e===w||e===b||or||e===L||nr||ar||ir||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===_||e.$$typeof===y||e.$$typeof===C||e.$$typeof===j||e.$$typeof===ue||e.getModuleId!==void 0))}function cr(e,r,t){var o=e.displayName;if(o)return o;var f=r.displayName||r.name||"";return f!==""?t+"("+f+")":t}function fe(e){return e.displayName||"Context"}function S(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case l:return"Fragment";case u:return"Portal";case h:return"Profiler";case d:return"StrictMode";case w:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case C:var r=e;return fe(r)+".Consumer";case y:var t=e;return fe(t._context)+".Provider";case j:return cr(e,e.render,"ForwardRef");case _:var o=e.displayName||null;return o!==null?o:S(e.type)||"Memo";case k:{var f=e,p=f._payload,c=f._init;try{return S(c(p))}catch{return null}}}return null}var P=Object.assign,W=0,de,ve,pe,be,he,me,ge;function ye(){}ye.__reactDisabledLog=!0;function ur(){{if(W===0){de=console.log,ve=console.info,pe=console.warn,be=console.error,he=console.group,me=console.groupCollapsed,ge=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ye,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function fr(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:de}),info:P({},e,{value:ve}),warn:P({},e,{value:pe}),error:P({},e,{value:be}),group:P({},e,{value:he}),groupCollapsed:P({},e,{value:me}),groupEnd:P({},e,{value:ge})})}W<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var G=D.ReactCurrentDispatcher,H;function V(e,r,t){{if(H===void 0)try{throw Error()}catch(f){var o=f.stack.trim().match(/\n( *(at )?)/);H=o&&o[1]||""}return`
18
- `+H+e}}var z=!1,B;{var dr=typeof WeakMap=="function"?WeakMap:Map;B=new dr}function je(e,r){if(!e||z)return"";{var t=B.get(e);if(t!==void 0)return t}var o;z=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=G.current,G.current=null,ur();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(E){o=E}Reflect.construct(e,[],c)}else{try{c.call()}catch(E){o=E}e.call(c.prototype)}}else{try{throw Error()}catch(E){o=E}e()}}catch(E){if(E&&o&&typeof E.stack=="string"){for(var s=E.stack.split(`
19
- `),R=o.stack.split(`
20
- `),m=s.length-1,g=R.length-1;m>=1&&g>=0&&s[m]!==R[g];)g--;for(;m>=1&&g>=0;m--,g--)if(s[m]!==R[g]){if(m!==1||g!==1)do if(m--,g--,g<0||s[m]!==R[g]){var T=`
21
- `+s[m].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&B.set(e,T),T}while(m>=1&&g>=0);break}}}finally{z=!1,G.current=p,fr(),Error.prepareStackTrace=f}var I=e?e.displayName||e.name:"",N=I?V(I):"";return typeof e=="function"&&B.set(e,N),N}function vr(e,r,t){return je(e,!1)}function pr(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return je(e,pr(e));if(typeof e=="string")return V(e);switch(e){case w:return V("Suspense");case b:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case j:return vr(e.render);case _:return U(e.type,r,t);case k:{var o=e,f=o._payload,p=o._init;try{return U(p(f),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,xe={},Re=D.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}function br(e,r,t,o,f){{var p=Function.call.bind(Y);for(var c in e)if(p(e,c)){var s=void 0;try{if(typeof e[c]!="function"){var R=Error((o||"React class")+": "+t+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}s=e[c](r,c,o,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){s=m}s&&!(s instanceof Error)&&(J(f),x("%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).",o||"React class",t,c,typeof s),J(null)),s instanceof Error&&!(s.message in xe)&&(xe[s.message]=!0,J(f),x("Failed %s type: %s",t,s.message),J(null))}}}var hr=Array.isArray;function X(e){return hr(e)}function mr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function gr(e){try{return Ee(e),!1}catch{return!0}}function Ee(e){return""+e}function _e(e){if(gr(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",mr(e)),Ee(e)}var Te=D.ReactCurrentOwner,yr={key:!0,ref:!0,__self:!0,__source:!0},Ce,we;function jr(e){if(Y.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function xr(e){if(Y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Rr(e,r){typeof e.ref=="string"&&Te.current}function Er(e,r){{var t=function(){Ce||(Ce=!0,x("%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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function _r(e,r){{var t=function(){we||(we=!0,x("%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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Tr=function(e,r,t,o,f,p,c){var s={$$typeof:i,type:e,key:r,ref:t,props:c,_owner:p};return s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function Cr(e,r,t,o,f){{var p,c={},s=null,R=null;t!==void 0&&(_e(t),s=""+t),xr(r)&&(_e(r.key),s=""+r.key),jr(r)&&(R=r.ref,Rr(r,f));for(p in r)Y.call(r,p)&&!yr.hasOwnProperty(p)&&(c[p]=r[p]);if(e&&e.defaultProps){var m=e.defaultProps;for(p in m)c[p]===void 0&&(c[p]=m[p])}if(s||R){var g=typeof e=="function"?e.displayName||e.name||"Unknown":e;s&&Er(c,g),R&&_r(c,g)}return Tr(e,s,R,f,o,Te.current,c)}}var Z=D.ReactCurrentOwner,Oe=D.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);Oe.setExtraStackFrame(t)}else Oe.setExtraStackFrame(null)}var Q;Q=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Se(){{if(Z.current){var e=S(Z.current.type);if(e)return`
17
+ */var te;function Ae(){return te||(te=1,process.env.NODE_ENV!=="production"&&function(){var a=S,i=Symbol.for("react.element"),u=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),T=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),ce=Symbol.iterator,rr="@@iterator";function tr(e){if(e===null||typeof e!="object")return null;var r=ce&&e[ce]||e[rr];return typeof r=="function"?r:null}var D=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),s=1;s<r;s++)t[s-1]=arguments[s];nr("error",e,t)}}function nr(e,r,t){{var s=D.ReactDebugCurrentFrame,d=s.getStackAddendum();d!==""&&(r+="%s",t=t.concat([d]));var p=t.map(function(c){return String(c)});p.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,p)}}var ar=!1,ir=!1,sr=!1,or=!1,lr=!1,ue;ue=Symbol.for("react.module.reference");function cr(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===h||lr||e===f||e===C||e===b||or||e===L||ar||ir||sr||typeof e=="object"&&e!==null&&(e.$$typeof===O||e.$$typeof===x||e.$$typeof===m||e.$$typeof===T||e.$$typeof===g||e.$$typeof===ue||e.getModuleId!==void 0))}function ur(e,r,t){var s=e.displayName;if(s)return s;var d=r.displayName||r.name||"";return d!==""?t+"("+d+")":t}function fe(e){return e.displayName||"Context"}function k(e){if(e==null)return null;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")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o:return"Fragment";case u:return"Portal";case h:return"Profiler";case f:return"StrictMode";case C:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case T:var r=e;return fe(r)+".Consumer";case m:var t=e;return fe(t._context)+".Provider";case g:return ur(e,e.render,"ForwardRef");case x:var s=e.displayName||null;return s!==null?s:k(e.type)||"Memo";case O:{var d=e,p=d._payload,c=d._init;try{return k(c(p))}catch{return null}}}return null}var P=Object.assign,W=0,de,ve,pe,be,he,me,ge;function ye(){}ye.__reactDisabledLog=!0;function fr(){{if(W===0){de=console.log,ve=console.info,pe=console.warn,be=console.error,he=console.group,me=console.groupCollapsed,ge=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ye,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function dr(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:de}),info:P({},e,{value:ve}),warn:P({},e,{value:pe}),error:P({},e,{value:be}),group:P({},e,{value:he}),groupCollapsed:P({},e,{value:me}),groupEnd:P({},e,{value:ge})})}W<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var H=D.ReactCurrentDispatcher,q;function V(e,r,t){{if(q===void 0)try{throw Error()}catch(d){var s=d.stack.trim().match(/\n( *(at )?)/);q=s&&s[1]||""}return`
18
+ `+q+e}}var z=!1,B;{var vr=typeof WeakMap=="function"?WeakMap:Map;B=new vr}function je(e,r){if(!e||z)return"";{var t=B.get(e);if(t!==void 0)return t}var s;z=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=H.current,H.current=null,fr();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(_){s=_}Reflect.construct(e,[],c)}else{try{c.call()}catch(_){s=_}e.call(c.prototype)}}else{try{throw Error()}catch(_){s=_}e()}}catch(_){if(_&&s&&typeof _.stack=="string"){for(var l=_.stack.split(`
19
+ `),E=s.stack.split(`
20
+ `),y=l.length-1,j=E.length-1;y>=1&&j>=0&&l[y]!==E[j];)j--;for(;y>=1&&j>=0;y--,j--)if(l[y]!==E[j]){if(y!==1||j!==1)do if(y--,j--,j<0||l[y]!==E[j]){var w=`
21
+ `+l[y].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),typeof e=="function"&&B.set(e,w),w}while(y>=1&&j>=0);break}}}finally{z=!1,H.current=p,dr(),Error.prepareStackTrace=d}var F=e?e.displayName||e.name:"",N=F?V(F):"";return typeof e=="function"&&B.set(e,N),N}function pr(e,r,t){return je(e,!1)}function br(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return je(e,br(e));if(typeof e=="string")return V(e);switch(e){case C:return V("Suspense");case b:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return pr(e.render);case x:return U(e.type,r,t);case O:{var s=e,d=s._payload,p=s._init;try{return U(p(d),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,xe={},Re=D.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}function hr(e,r,t,s,d){{var p=Function.call.bind(Y);for(var c in e)if(p(e,c)){var l=void 0;try{if(typeof e[c]!="function"){var E=Error((s||"React class")+": "+t+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}l=e[c](r,c,s,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){l=y}l&&!(l instanceof Error)&&(J(d),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).",s||"React class",t,c,typeof l),J(null)),l instanceof Error&&!(l.message in xe)&&(xe[l.message]=!0,J(d),R("Failed %s type: %s",t,l.message),J(null))}}}var mr=Array.isArray;function X(e){return mr(e)}function gr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function yr(e){try{return Ee(e),!1}catch{return!0}}function Ee(e){return""+e}function _e(e){if(yr(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",gr(e)),Ee(e)}var Te=D.ReactCurrentOwner,jr={key:!0,ref:!0,__self:!0,__source:!0},Ce,we;function xr(e){if(Y.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Rr(e){if(Y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Er(e,r){typeof e.ref=="string"&&Te.current}function _r(e,r){{var t=function(){Ce||(Ce=!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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Tr(e,r){{var t=function(){we||(we=!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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Cr=function(e,r,t,s,d,p,c){var l={$$typeof:i,type:e,key:r,ref:t,props:c,_owner:p};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:d}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function wr(e,r,t,s,d){{var p,c={},l=null,E=null;t!==void 0&&(_e(t),l=""+t),Rr(r)&&(_e(r.key),l=""+r.key),xr(r)&&(E=r.ref,Er(r,d));for(p in r)Y.call(r,p)&&!jr.hasOwnProperty(p)&&(c[p]=r[p]);if(e&&e.defaultProps){var y=e.defaultProps;for(p in y)c[p]===void 0&&(c[p]=y[p])}if(l||E){var j=typeof e=="function"?e.displayName||e.name||"Unknown":e;l&&_r(c,j),E&&Tr(c,j)}return Cr(e,l,E,d,s,Te.current,c)}}var Z=D.ReactCurrentOwner,Se=D.ReactDebugCurrentFrame;function I(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}var Q;Q=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Oe(){{if(Z.current){var e=k(Z.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function wr(e){return""}var ke={};function Or(e){{var r=Se();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
23
+ Check the render method of \``+e+"`."}return""}}function Sr(e){return""}var ke={};function Or(e){{var r=Oe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
24
24
 
25
- Check the top-level render call using <`+t+">.")}return r}}function Pe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Or(r);if(ke[t])return;ke[t]=!0;var o="";e&&e._owner&&e._owner!==Z.current&&(o=" It was passed a child from "+S(e._owner.type)+"."),F(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,o),F(null)}}function Ne(e,r){{if(typeof e!="object")return;if(X(e))for(var t=0;t<e.length;t++){var o=e[t];K(o)&&Pe(o,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var f=rr(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),c;!(c=p.next()).done;)K(c.value)&&Pe(c.value,r)}}}function Sr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===j||r.$$typeof===_))t=r.propTypes;else return;if(t){var o=S(r);br(t,e.props,"prop",o,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var f=S(r);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function kr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var o=r[t];if(o!=="children"&&o!=="key"){F(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),F(null);break}}e.ref!==null&&(F(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}var De={};function Fe(e,r,t,o,f,p){{var c=lr(e);if(!c){var s="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var R=wr();R?s+=R:s+=Se();var m;e===null?m="null":X(e)?m="array":e!==void 0&&e.$$typeof===i?(m="<"+(S(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,s)}var g=Cr(e,r,t,f,p);if(g==null)return g;if(c){var T=r.children;if(T!==void 0)if(o)if(X(T)){for(var I=0;I<T.length;I++)Ne(T[I],e);Object.freeze&&Object.freeze(T)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ne(T,e)}if(Y.call(r,"key")){var N=S(e),E=Object.keys(r).filter(function(Ar){return Ar!=="key"}),ee=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!De[N+ee]){var Ir=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+t+">.")}return r}}function Pe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Or(r);if(ke[t])return;ke[t]=!0;var s="";e&&e._owner&&e._owner!==Z.current&&(s=" It was passed a child from "+k(e._owner.type)+"."),I(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.',t,s),I(null)}}function Ne(e,r){{if(typeof e!="object")return;if(X(e))for(var t=0;t<e.length;t++){var s=e[t];K(s)&&Pe(s,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var d=tr(e);if(typeof d=="function"&&d!==e.entries)for(var p=d.call(e),c;!(c=p.next()).done;)K(c.value)&&Pe(c.value,r)}}}function kr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===g||r.$$typeof===x))t=r.propTypes;else return;if(t){var s=k(r);hr(t,e.props,"prop",s,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var d=k(r);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",d||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var s=r[t];if(s!=="children"&&s!=="key"){I(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),I(null);break}}e.ref!==null&&(I(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),I(null))}}var De={};function Ie(e,r,t,s,d,p){{var c=cr(e);if(!c){var l="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=Sr();E?l+=E:l+=Oe();var y;e===null?y="null":X(e)?y="array":e!==void 0&&e.$$typeof===i?(y="<"+(k(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):y=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",y,l)}var j=wr(e,r,t,d,p);if(j==null)return j;if(c){var w=r.children;if(w!==void 0)if(s)if(X(w)){for(var F=0;F<w.length;F++)Ne(w[F],e);Object.freeze&&Object.freeze(w)}else 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.");else Ne(w,e)}if(Y.call(r,"key")){var N=k(e),_=Object.keys(r).filter(function($r){return $r!=="key"}),ee=_.length>0?"{key: someKey, "+_.join(": ..., ")+": ...}":"{key: someKey}";if(!De[N+ee]){var Ar=_.length>0?"{"+_.join(": ..., ")+": ...}":"{}";R(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,ee,N,Ir,N),De[N+ee]=!0}}return e===l?kr(g):Sr(g),g}}function Pr(e,r,t){return Fe(e,r,t,!0)}function Nr(e,r,t){return Fe(e,r,t,!1)}var Dr=Nr,Fr=Pr;$.Fragment=l,$.jsx=Dr,$.jsxs=Fr}()),$}var ne;function $e(){return ne||(ne=1,process.env.NODE_ENV==="production"?M.exports=Ie():M.exports=Ae()),M.exports}var n=$e();const We=()=>n.jsx("div",{className:"toolbar-pf"}),ae=({items:a})=>n.jsx("ol",{className:"breadcrumb",children:a.map((i,u)=>n.jsx("li",{className:i.active?"active":"",children:i.active?i.title:n.jsx("a",{href:i.href,children:i.title})},u))}),q=({type:a="default",title:i,size:u,label:l,onClick:d,isDisabled:h=!1,children:y,className:C=""})=>{const j=`btn-${a}`,w=u?`btn-${u}`:"",_=`${`btn ${j} ${w}`.trim()} ${C}`.trim();return n.jsx("button",{className:_,type:"button",onClick:d,disabled:h,children:n.jsxs("div",{className:"flex items-center",children:[y||l," ",i]})})},Ye=({children:a,eventKey:i,active:u})=>n.jsx("div",{className:`tab-pane ${u?"active":""}`,id:`${i}-panel`,role:"tabpanel","aria-labelledby":`${i}-tab`,children:a},i),Me=({activeKey:a,onSelect:i,children:u})=>n.jsxs("div",{className:"tabs-container",children:[n.jsx("ul",{className:"nav nav-tabs",role:"tablist",children:u.map(({props:{eventKey:l,title:d}})=>n.jsx("li",{className:a===l?"active":"",children:n.jsx("a",{href:`#${l}`,onClick:h=>{h.preventDefault(),i(l)},children:d})},l))}),n.jsx("div",{className:"tabs-container",children:n.jsx("div",{className:"tab-content pf-c-tab-content",children:u.map(({props:{eventKey:l,children:d}})=>n.jsx("div",{className:`tab-pane ${a===l?"active":""}`,id:`${l}-panel`,role:"tabpanel","aria-labelledby":`${l}-tab`,children:d},l))})})]}),Le=O.forwardRef(({id:a,type:i,placeholder:u="",value:l,onChange:d,className:h="form-control"},y)=>n.jsx("input",{type:i,id:a,className:h,placeholder:u,value:l,onChange:d,ref:y})),Ve=({title:a,isOpen:i,onClose:u,children:l,size:d})=>{if(!i)return null;const h=d?`modal-${d}`:"";return n.jsx("div",{className:"modal fade in",style:{display:"block"},tabIndex:-1,role:"dialog",children:n.jsx("div",{className:`modal-dialog ${h}`,role:"document",children:n.jsxs("div",{className:"modal-content",children:[n.jsxs("div",{className:"modal-header",children:[n.jsx("button",{type:"button",className:"close",onClick:u,"aria-hidden":"true",children:n.jsx("span",{className:"pficon pficon-close"})}),n.jsx("h4",{className:"modal-title",children:a})]}),n.jsx("div",{className:"modal-body",children:l})]})})})},Be=({variant:a,children:i})=>{const l={warning:"text-yellow-600",success:"text-green-600",error:"text-red-600"}[a]||"";return n.jsx("p",{className:l,children:i})},Ue=({children:a,...i})=>n.jsx("table",{...i,children:a}),Je=({children:a,...i})=>n.jsx("tbody",{...i,children:a}),qe=({children:a,...i})=>n.jsx("td",{...i,children:a}),Ge=({children:a,...i})=>n.jsx("th",{...i,children:a}),He=({children:a,...i})=>n.jsx("thead",{...i,children:a}),ze=({children:a,...i})=>n.jsx("tr",{...i,children:a}),ie=({items:a,selected:i,title:u,onChange:l})=>{const[d,h]=O.useState(!1),y=()=>{h(b=>!b)},C=b=>{h(!1),l(b)},j=b=>{const _=b.id===i;return n.jsx("li",{onClick:()=>C(b),className:_?"active":"",children:n.jsx("a",{href:"#",children:b.title})},b.id)},w=d?"dropdown open":"dropdown";return n.jsxs("div",{className:w,style:{display:"inline-block"},children:[n.jsxs("button",{className:"btn btn-default dropdown-toggle",onClick:y,children:[u,n.jsx("span",{className:"caret"})]}),d&&n.jsx("ul",{className:"dropdown-menu",children:a.map(j)})]})},oe=({currentPage:a,total:i,onPageChange:u,pageSize:l})=>{const d=Math.ceil(i/l),h=()=>{a>1&&u(a-1)},y=()=>{a<d&&u(a+1)};return n.jsxs("div",{children:[n.jsx("span",{children:n.jsxs("span",{className:"pagination-pf-items-current",children:[a," - ",d]})}),n.jsxs("div",{className:"btn-group ml-2",children:[n.jsx("button",{type:"button",className:`btn btn-default ${a===1?"disabled":""}`,disabled:a===1,onClick:h,children:n.jsx("i",{className:"fa fa-angle-left"})}),n.jsx("button",{type:"button",className:`btn btn-default ${a===d?"disabled":""}`,disabled:a===d,onClick:y,children:n.jsx("i",{className:"fa fa-angle-right"})})]})]})},se=[{id:1,title:"5 сек",data:5e3},{id:2,title:"10 сек",data:1e4},{id:3,title:"20 сек",data:2e4},{id:4,title:"30 сек",data:3e4},{id:5,title:"60 сек",data:6e4}],le=({onChange:a,value:i,onRefresh:u})=>{var h;const l=y=>{a(y.data)},d=(h=se.find(y=>y.data===i))==null?void 0:h.id;return n.jsxs("div",{className:"flex",children:[n.jsx(q,{type:"default",onClick:u,children:n.jsx("i",{className:"fa fa-refresh"})}),n.jsx(ie,{onChange:l,items:se,selected:d})]})},Xe=({interval:a,page:i,total:u,onRefresh:l,onChangeInterval:d,onPageChange:h,pageSize:y})=>n.jsxs("div",{className:"flex justify-between bg-[#f5f5f5] border border-[#d1d1d1]",children:[n.jsx("div",{className:"m-[5px]",children:n.jsx(le,{value:a,onChange:d,onRefresh:l})}),n.jsx("div",{className:"m-[5px]",children:n.jsx(oe,{pageSize:y,currentPage:i,total:u,onPageChange:h})})]}),Ze=({id:a,label:i,isChecked:u=!1,onChange:l,className:d="checkbox"})=>n.jsx("div",{className:d,children:n.jsxs("label",{htmlFor:a,children:[n.jsx("input",{type:"checkbox",id:a,checked:u,onChange:l}),` ${i}`]})});function Qe(a,i){O.useEffect(()=>{if(!a)return;const u=setInterval(()=>{i()},a);return()=>clearInterval(u)},[a])}const Ke=()=>n.jsxs("div",{children:[n.jsx(ae,{items:[{title:"Дополнения",active:!0},{title:"Название плагина",href:"#Название плагина"}]}),n.jsx(q,{children:"Hello"})]});v.Breadcrumb=ae,v.Button=q,v.Checkbox=Ze,v.Dropdown=ie,v.HelpText=Be,v.Input=Le,v.Modal=Ve,v.Pagination=oe,v.ReloadButton=le,v.SampleComp=Ke,v.Tab=Ye,v.Table=Ue,v.TableToolbar=Xe,v.Tabs=Me,v.Tbody=Je,v.Td=qe,v.Th=Ge,v.Thead=He,v.ToolbarContainer=We,v.Tr=ze,v.useIntervalLoader=Qe,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
30
+ <%s key={someKey} {...props} />`,ee,N,Ar,N),De[N+ee]=!0}}return e===o?Pr(j):kr(j),j}}function Nr(e,r,t){return Ie(e,r,t,!0)}function Dr(e,r,t){return Ie(e,r,t,!1)}var Ir=Dr,Fr=Nr;$.Fragment=o,$.jsx=Ir,$.jsxs=Fr}()),$}var ne;function $e(){return ne||(ne=1,process.env.NODE_ENV==="production"?M.exports=Fe():M.exports=Ae()),M.exports}var n=$e();const We=()=>n.jsx("div",{className:"toolbar-pf"}),ae=({items:a})=>n.jsx("ol",{className:"breadcrumb",children:a.map((i,u)=>n.jsx("li",{className:i.active?"active":"",children:i.active?i.title:n.jsx("a",{href:i.href,children:i.title})},u))}),G=({type:a="default",title:i,size:u,label:o,onClick:f,isDisabled:h=!1,children:m,className:T=""})=>{const g=`btn-${a}`,C=u?`btn-${u}`:"",x=`${`btn ${g} ${C}`.trim()} ${T}`.trim();return n.jsx("button",{className:x,type:"button",onClick:f,disabled:h,children:n.jsxs("div",{className:"flex items-center",children:[m||o," ",i]})})},Ye=({children:a,eventKey:i,active:u})=>n.jsx("div",{className:`tab-pane ${u?"active":""}`,id:`${i}-panel`,role:"tabpanel","aria-labelledby":`${i}-tab`,children:a},i),Me=({activeKey:a,onSelect:i,children:u})=>n.jsxs("div",{className:"tabs-container",children:[n.jsx("ul",{className:"nav nav-tabs",role:"tablist",children:u.map(({props:{eventKey:o,title:f}})=>n.jsx("li",{className:a===o?"active":"",children:n.jsx("a",{href:`#${o}`,onClick:h=>{h.preventDefault(),i(o)},children:f})},o))}),n.jsx("div",{className:"tabs-container",children:n.jsx("div",{className:"tab-content pf-c-tab-content",children:u.map(({props:{eventKey:o,children:f}})=>n.jsx("div",{className:`tab-pane ${a===o?"active":""}`,id:`${o}-panel`,role:"tabpanel","aria-labelledby":`${o}-tab`,children:f},o))})})]}),Le=S.forwardRef(({id:a,type:i,placeholder:u="",value:o,onChange:f,className:h="form-control"},m)=>n.jsx("input",{type:i,id:a,className:h,placeholder:u,value:o,onChange:f,ref:m})),Ve=({title:a,isOpen:i,onClose:u,children:o,size:f})=>{if(!i)return null;const h=f?`modal-${f}`:"";return n.jsx("div",{className:"modal fade in",style:{display:"block"},tabIndex:-1,role:"dialog",children:n.jsx("div",{className:`modal-dialog ${h}`,role:"document",children:n.jsxs("div",{className:"modal-content",children:[n.jsxs("div",{className:"modal-header",children:[n.jsx("button",{type:"button",className:"close",onClick:u,"aria-hidden":"true",children:n.jsx("span",{className:"pficon pficon-close"})}),n.jsx("h4",{className:"modal-title",children:a})]}),n.jsx("div",{className:"modal-body",children:o})]})})})},Be=({variant:a,children:i})=>{const o={warning:"text-yellow-600",success:"text-green-600",error:"text-red-600"}[a]||"";return n.jsx("p",{className:o,children:i})},Ue=({children:a,...i})=>n.jsx("table",{...i,children:a}),Je=({children:a,...i})=>n.jsx("tbody",{...i,children:a}),Ge=({children:a,...i})=>n.jsx("td",{...i,children:a}),He=({children:a,...i})=>n.jsx("th",{...i,children:a}),qe=({children:a,...i})=>n.jsx("thead",{...i,children:a}),ze=({children:a,...i})=>n.jsx("tr",{...i,children:a}),ie=({items:a,selected:i,title:u,onChange:o})=>{const[f,h]=S.useState(!1),m=()=>{h(b=>!b)},T=b=>{h(!1),o(b)},g=b=>{const x=b.id===i;return n.jsx("li",{onClick:()=>T(b),className:x?"active":"",children:n.jsx("a",{href:"#",children:b.title})},b.id)},C=f?"dropdown open":"dropdown";return n.jsxs("div",{className:C,style:{display:"inline-block"},children:[n.jsxs("button",{className:"btn btn-default dropdown-toggle",onClick:m,children:[u,n.jsx("span",{className:"caret"})]}),f&&n.jsx("ul",{className:"dropdown-menu",children:a.map(g)})]})},se=({currentPage:a,total:i,onPageChange:u,pageSize:o})=>{const f=Math.ceil(i/o),h=()=>{a>1&&u(a-1)},m=()=>{a<f&&u(a+1)};return n.jsxs("div",{children:[n.jsx("span",{children:n.jsxs("span",{className:"pagination-pf-items-current",children:[a," - ",f]})}),n.jsxs("div",{className:"btn-group ml-2",children:[n.jsx("button",{type:"button",className:`btn btn-default ${a===1?"disabled":""}`,disabled:a===1,onClick:h,children:n.jsx("i",{className:"fa fa-angle-left"})}),n.jsx("button",{type:"button",className:`btn btn-default ${a===f?"disabled":""}`,disabled:a===f,onClick:m,children:n.jsx("i",{className:"fa fa-angle-right"})})]})]})},oe=[{id:1,title:"5 сек",data:5e3},{id:2,title:"10 сек",data:1e4},{id:3,title:"20 сек",data:2e4},{id:4,title:"30 сек",data:3e4},{id:5,title:"60 сек",data:6e4}],le=({onChange:a,value:i,onRefresh:u})=>{var h;const o=m=>{a(m.data)},f=(h=oe.find(m=>m.data===i))==null?void 0:h.id;return n.jsxs("div",{className:"flex",children:[n.jsx(G,{type:"default",onClick:u,children:n.jsx("i",{className:"fa fa-refresh"})}),n.jsx(ie,{onChange:o,items:oe,selected:f})]})},Xe=({interval:a,page:i,total:u,onRefresh:o,onChangeInterval:f,onPageChange:h,pageSize:m})=>n.jsxs("div",{className:"flex justify-between bg-[#f5f5f5] border border-[#d1d1d1]",children:[n.jsx("div",{className:"m-[5px]",children:n.jsx(le,{value:a,onChange:f,onRefresh:o})}),n.jsx("div",{className:"m-[5px]",children:n.jsx(se,{pageSize:m,currentPage:i,total:u,onPageChange:h})})]}),Ze=({id:a,label:i,isChecked:u=!1,onChange:o,className:f="checkbox"})=>n.jsx("div",{className:f,children:n.jsxs("label",{htmlFor:a,children:[n.jsx("input",{type:"checkbox",id:a,checked:u,onChange:o}),` ${i}`]})}),Qe=({placeholder:a="",rows:i=3,maxLength:u,value:o,onChange:f,isDisabled:h=!1,className:m=""})=>{const[T,g]=S.useState(o||""),C=o!==void 0?o:T,b=x=>{const O=x.target.value;f?f(O):g(O)};return n.jsx("textarea",{className:m,placeholder:a,rows:i,maxLength:u,value:C,onChange:b,disabled:h})};function Ke(a,i){S.useEffect(()=>{if(!a)return;const u=setInterval(()=>{i()},a);return()=>clearInterval(u)},[a])}const er=()=>n.jsxs("div",{children:[n.jsx(ae,{items:[{title:"Дополнения",active:!0},{title:"Название плагина",href:"#Название плагина"}]}),n.jsx(G,{children:"Hello"})]});v.Breadcrumb=ae,v.Button=G,v.Checkbox=Ze,v.Dropdown=ie,v.HelpText=Be,v.Input=Le,v.Modal=Ve,v.Pagination=se,v.ReloadButton=le,v.SampleComp=er,v.Tab=Ye,v.Table=Ue,v.TableToolbar=Xe,v.Tabs=Me,v.Tbody=Je,v.Td=Ge,v.TextArea=Qe,v.Th=He,v.Thead=qe,v.ToolbarContainer=We,v.Tr=ze,v.useIntervalLoader=Ke,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ovirt-ui-toolkit",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "type": "module",
5
5
  "main": "./dist/ovirt-ui-toolkit.umd.js",
6
6
  "module": "./dist/ovirt-ui-toolkit.es.js",