ovirt-ui-toolkit 0.0.15 → 0.0.16

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