ovirt-ui-toolkit 0.0.7 → 0.0.8

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,11 @@
1
+ import { default as React } from 'react';
2
+ interface InputProps {
3
+ id: string;
4
+ type: 'text' | 'email' | 'password' | 'number' | 'date' | 'search';
5
+ placeholder?: string;
6
+ value?: string | number;
7
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
8
+ className?: string;
9
+ }
10
+ declare const Input: React.FC<InputProps>;
11
+ export default Input;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const Table: React.FC<TableProps>;
6
+ export default Table;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface TbodyProps extends React.HTMLAttributes<HTMLTableSectionElement> {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const Tbody: React.FC<TbodyProps>;
6
+ export default Tbody;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface TdProps extends React.HTMLAttributes<HTMLTableCellElement> {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const Td: React.FC<TdProps>;
6
+ export default Td;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface ThProps extends React.HTMLAttributes<HTMLTableCaptionElement> {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const Th: React.FC<ThProps>;
6
+ export default Th;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface TheadProps extends React.HTMLAttributes<HTMLTableSectionElement> {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const Thead: React.FC<TheadProps>;
6
+ export default Thead;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface TrProps extends React.HTMLAttributes<HTMLTableRowElement> {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const Tr: React.FC<TrProps>;
6
+ export default Tr;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,13 @@
1
- export { default as Button } from './components/Button/Button';
2
- export { default as Tab } from './components/Tab/Tab';
3
- export { default as Tabs } from './components/Tab/Tabs';
4
- export { default as Input } from './components/Input/Input';
5
- export { default as Modal } from './components/Modal/Modal';
6
- export { default as HelpText } from './components/HelpText/HelpText';
1
+ export { default as Button } from './components/button/Button';
2
+ export { default as Tab } from './components/tab/Tab';
3
+ export { default as Tabs } from './components/tab/Tabs';
4
+ export { default as Input } from './components/input/Input';
5
+ export { default as Modal } from './components/modal/Modal';
6
+ export { default as HelpText } from './components/helpText/HelpText';
7
+ export { default as Table } from './components/table/Table';
8
+ export { default as Tbody } from './components/table/Tbody';
9
+ export { default as Td } from './components/table/Td';
10
+ export { default as Th } from './components/table/Th';
11
+ export { default as Thead } from './components/table/Thead';
12
+ export { default as Tr } from './components/table/Tr';
7
13
  export { default as SampleComp } from './Test';
@@ -13,13 +13,13 @@ var je;
13
13
  function fr() {
14
14
  if (je) return A;
15
15
  je = 1;
16
- var v = Oe, u = Symbol.for("react.element"), p = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, m = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
16
+ var l = Oe, a = Symbol.for("react.element"), p = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, m = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
17
17
  function O(j, b, T) {
18
- var E, x = {}, S = null, W = null;
18
+ var y, x = {}, S = null, W = null;
19
19
  T !== void 0 && (S = "" + T), b.key !== void 0 && (S = "" + b.key), b.ref !== void 0 && (W = b.ref);
20
- for (E in b) c.call(b, E) && !R.hasOwnProperty(E) && (x[E] = b[E]);
21
- if (j && j.defaultProps) for (E in b = j.defaultProps, b) x[E] === void 0 && (x[E] = b[E]);
22
- return { $$typeof: u, type: j, key: S, ref: W, props: x, _owner: m.current };
20
+ for (y in b) f.call(b, y) && !R.hasOwnProperty(y) && (x[y] = b[y]);
21
+ if (j && j.defaultProps) for (y in b = j.defaultProps, b) x[y] === void 0 && (x[y] = b[y]);
22
+ return { $$typeof: a, type: j, key: S, ref: W, props: x, _owner: m.current };
23
23
  }
24
24
  return A.Fragment = p, A.jsx = O, A.jsxs = O, A;
25
25
  }
@@ -36,46 +36,46 @@ var I = {};
36
36
  var Te;
37
37
  function dr() {
38
38
  return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
39
- var v = Oe, u = Symbol.for("react.element"), p = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), j = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, Se = "@@iterator";
39
+ var l = Oe, a = Symbol.for("react.element"), p = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), j = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, Se = "@@iterator";
40
40
  function we(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
43
  var r = Q && e[Q] || e[Se];
44
44
  return typeof r == "function" ? r : null;
45
45
  }
46
- var k = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
46
+ var k = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
47
  function h(e) {
48
48
  {
49
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
50
- t[a - 1] = arguments[a];
49
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
50
+ t[n - 1] = arguments[n];
51
51
  Pe("error", e, t);
52
52
  }
53
53
  }
54
54
  function Pe(e, r, t) {
55
55
  {
56
- var a = k.ReactDebugCurrentFrame, o = a.getStackAddendum();
57
- o !== "" && (r += "%s", t = t.concat([o]));
58
- var s = t.map(function(i) {
59
- return String(i);
56
+ var n = k.ReactDebugCurrentFrame, u = n.getStackAddendum();
57
+ u !== "" && (r += "%s", t = t.concat([u]));
58
+ var c = t.map(function(o) {
59
+ return String(o);
60
60
  });
61
- s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
61
+ c.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, c);
62
62
  }
63
63
  }
64
64
  var ke = !1, $e = !1, De = !1, Fe = !1, Ne = !1, K;
65
65
  K = Symbol.for("react.module.reference");
66
66
  function Ae(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === R || Ne || e === m || e === T || e === E || Fe || e === W || ke || $e || De || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === O || e.$$typeof === j || e.$$typeof === b || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === R || Ne || e === m || e === T || e === y || Fe || e === W || ke || $e || De || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === O || e.$$typeof === j || e.$$typeof === b || // This needs to include all possible module reference object
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 Ie(e, r, t) {
74
- var a = e.displayName;
75
- if (a)
76
- return a;
77
- var o = r.displayName || r.name || "";
78
- return o !== "" ? t + "(" + o + ")" : t;
74
+ var n = e.displayName;
75
+ if (n)
76
+ return n;
77
+ var u = r.displayName || r.name || "";
78
+ return u !== "" ? t + "(" + u + ")" : t;
79
79
  }
80
80
  function ee(e) {
81
81
  return e.displayName || "Context";
@@ -88,7 +88,7 @@ function dr() {
88
88
  if (typeof e == "string")
89
89
  return e;
90
90
  switch (e) {
91
- case c:
91
+ case f:
92
92
  return "Fragment";
93
93
  case p:
94
94
  return "Portal";
@@ -98,7 +98,7 @@ function dr() {
98
98
  return "StrictMode";
99
99
  case T:
100
100
  return "Suspense";
101
- case E:
101
+ case y:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
@@ -112,12 +112,12 @@ function dr() {
112
112
  case b:
113
113
  return Ie(e, e.render, "ForwardRef");
114
114
  case x:
115
- var a = e.displayName || null;
116
- return a !== null ? a : C(e.type) || "Memo";
115
+ var n = e.displayName || null;
116
+ return n !== null ? n : C(e.type) || "Memo";
117
117
  case S: {
118
- var o = e, s = o._payload, i = o._init;
118
+ var u = e, c = u._payload, o = u._init;
119
119
  try {
120
- return C(i(s));
120
+ return C(o(c));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,14 +125,14 @@ function dr() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var w = Object.assign, F = 0, re, te, ae, ne, ie, oe, se;
128
+ var w = Object.assign, F = 0, re, te, ne, ae, ie, oe, se;
129
129
  function le() {
130
130
  }
131
131
  le.__reactDisabledLog = !0;
132
132
  function We() {
133
133
  {
134
134
  if (F === 0) {
135
- re = console.log, te = console.info, ae = console.warn, ne = console.error, ie = console.group, oe = console.groupCollapsed, se = console.groupEnd;
135
+ re = console.log, te = console.info, ne = console.warn, ae = console.error, ie = console.group, oe = console.groupCollapsed, se = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
@@ -168,10 +168,10 @@ function dr() {
168
168
  value: te
169
169
  }),
170
170
  warn: w({}, e, {
171
- value: ae
171
+ value: ne
172
172
  }),
173
173
  error: w({}, e, {
174
- value: ne
174
+ value: ae
175
175
  }),
176
176
  group: w({}, e, {
177
177
  value: ie
@@ -193,9 +193,9 @@ function dr() {
193
193
  if (J === void 0)
194
194
  try {
195
195
  throw Error();
196
- } catch (o) {
197
- var a = o.stack.trim().match(/\n( *(at )?)/);
198
- J = a && a[1] || "";
196
+ } catch (u) {
197
+ var n = u.stack.trim().match(/\n( *(at )?)/);
198
+ J = n && n[1] || "";
199
199
  }
200
200
  return `
201
201
  ` + J + e;
@@ -214,65 +214,65 @@ function dr() {
214
214
  if (t !== void 0)
215
215
  return t;
216
216
  }
217
- var a;
217
+ var n;
218
218
  q = !0;
219
- var o = Error.prepareStackTrace;
219
+ var u = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var s;
222
- s = B.current, B.current = null, We();
221
+ var c;
222
+ c = B.current, B.current = null, We();
223
223
  try {
224
224
  if (r) {
225
- var i = function() {
225
+ var o = function() {
226
226
  throw Error();
227
227
  };
228
- if (Object.defineProperty(i.prototype, "props", {
228
+ if (Object.defineProperty(o.prototype, "props", {
229
229
  set: function() {
230
230
  throw Error();
231
231
  }
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
- Reflect.construct(i, []);
235
- } catch (y) {
236
- a = y;
234
+ Reflect.construct(o, []);
235
+ } catch (E) {
236
+ n = E;
237
237
  }
238
- Reflect.construct(e, [], i);
238
+ Reflect.construct(e, [], o);
239
239
  } else {
240
240
  try {
241
- i.call();
242
- } catch (y) {
243
- a = y;
241
+ o.call();
242
+ } catch (E) {
243
+ n = E;
244
244
  }
245
- e.call(i.prototype);
245
+ e.call(o.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (y) {
251
- a = y;
250
+ } catch (E) {
251
+ n = E;
252
252
  }
253
253
  e();
254
254
  }
255
- } catch (y) {
256
- if (y && a && typeof y.stack == "string") {
257
- for (var n = y.stack.split(`
258
- `), g = a.stack.split(`
259
- `), f = n.length - 1, d = g.length - 1; f >= 1 && d >= 0 && n[f] !== g[d]; )
260
- d--;
261
- for (; f >= 1 && d >= 0; f--, d--)
262
- if (n[f] !== g[d]) {
263
- if (f !== 1 || d !== 1)
255
+ } catch (E) {
256
+ if (E && n && typeof E.stack == "string") {
257
+ for (var i = E.stack.split(`
258
+ `), g = n.stack.split(`
259
+ `), d = i.length - 1, v = g.length - 1; d >= 1 && v >= 0 && i[d] !== g[v]; )
260
+ v--;
261
+ for (; d >= 1 && v >= 0; d--, v--)
262
+ if (i[d] !== g[v]) {
263
+ if (d !== 1 || v !== 1)
264
264
  do
265
- if (f--, d--, d < 0 || n[f] !== g[d]) {
265
+ if (d--, v--, v < 0 || i[d] !== g[v]) {
266
266
  var _ = `
267
- ` + n[f].replace(" at new ", " at ");
267
+ ` + i[d].replace(" at new ", " at ");
268
268
  return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, _), _;
269
269
  }
270
- while (f >= 1 && d >= 0);
270
+ while (d >= 1 && v >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- q = !1, B.current = s, Ye(), Error.prepareStackTrace = o;
275
+ q = !1, B.current = c, Ye(), Error.prepareStackTrace = u;
276
276
  }
277
277
  var D = e ? e.displayName || e.name : "", P = D ? Y(D) : "";
278
278
  return typeof e == "function" && L.set(e, P), P;
@@ -294,7 +294,7 @@ function dr() {
294
294
  switch (e) {
295
295
  case T:
296
296
  return Y("Suspense");
297
- case E:
297
+ case y:
298
298
  return Y("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
@@ -304,9 +304,9 @@ function dr() {
304
304
  case x:
305
305
  return M(e.type, r, t);
306
306
  case S: {
307
- var a = e, o = a._payload, s = a._init;
307
+ var n = e, u = n._payload, c = n._init;
308
308
  try {
309
- return M(s(o), r, t);
309
+ return M(c(u), r, t);
310
310
  } catch {
311
311
  }
312
312
  }
@@ -321,22 +321,22 @@ function dr() {
321
321
  } else
322
322
  fe.setExtraStackFrame(null);
323
323
  }
324
- function Ue(e, r, t, a, o) {
324
+ function Ue(e, r, t, n, u) {
325
325
  {
326
- var s = Function.call.bind(N);
327
- for (var i in e)
328
- if (s(e, i)) {
329
- var n = void 0;
326
+ var c = Function.call.bind(N);
327
+ for (var o in e)
328
+ if (c(e, o)) {
329
+ var i = void 0;
330
330
  try {
331
- if (typeof e[i] != "function") {
332
- var g = Error((a || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
331
+ if (typeof e[o] != "function") {
332
+ var g = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
333
  throw g.name = "Invariant Violation", g;
334
334
  }
335
- n = e[i](r, i, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (f) {
337
- n = f;
335
+ i = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ } catch (d) {
337
+ i = d;
338
338
  }
339
- n && !(n instanceof Error) && (V(o), h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", t, i, typeof n), V(null)), n instanceof Error && !(n.message in ce) && (ce[n.message] = !0, V(o), h("Failed %s type: %s", t, n.message), V(null));
339
+ i && !(i instanceof Error) && (V(u), h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof i), V(null)), i instanceof Error && !(i.message in ce) && (ce[i.message] = !0, V(u), h("Failed %s type: %s", t, i.message), V(null));
340
340
  }
341
341
  }
342
342
  }
@@ -411,51 +411,51 @@ function dr() {
411
411
  });
412
412
  }
413
413
  }
414
- var Ke = function(e, r, t, a, o, s, i) {
415
- var n = {
414
+ var Ke = function(e, r, t, n, u, c, o) {
415
+ var i = {
416
416
  // This tag allows us to uniquely identify this as a React Element
417
- $$typeof: u,
417
+ $$typeof: a,
418
418
  // Built-in properties that belong on the element
419
419
  type: e,
420
420
  key: r,
421
421
  ref: t,
422
- props: i,
422
+ props: o,
423
423
  // Record the component responsible for creating this element.
424
- _owner: s
424
+ _owner: c
425
425
  };
426
- return n._store = {}, Object.defineProperty(n._store, "validated", {
426
+ return i._store = {}, Object.defineProperty(i._store, "validated", {
427
427
  configurable: !1,
428
428
  enumerable: !1,
429
429
  writable: !0,
430
430
  value: !1
431
- }), Object.defineProperty(n, "_self", {
431
+ }), Object.defineProperty(i, "_self", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !1,
435
- value: a
436
- }), Object.defineProperty(n, "_source", {
435
+ value: n
436
+ }), Object.defineProperty(i, "_source", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: o
441
- }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
440
+ value: u
441
+ }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
442
442
  };
443
- function er(e, r, t, a, o) {
443
+ function er(e, r, t, n, u) {
444
444
  {
445
- var s, i = {}, n = null, g = null;
446
- t !== void 0 && (ve(t), n = "" + t), He(r) && (ve(r.key), n = "" + r.key), ze(r) && (g = r.ref, Xe(r, o));
447
- for (s in r)
448
- N.call(r, s) && !Ge.hasOwnProperty(s) && (i[s] = r[s]);
445
+ var c, o = {}, i = null, g = null;
446
+ t !== void 0 && (ve(t), i = "" + t), He(r) && (ve(r.key), i = "" + r.key), ze(r) && (g = r.ref, Xe(r, u));
447
+ for (c in r)
448
+ N.call(r, c) && !Ge.hasOwnProperty(c) && (o[c] = r[c]);
449
449
  if (e && e.defaultProps) {
450
- var f = e.defaultProps;
451
- for (s in f)
452
- i[s] === void 0 && (i[s] = f[s]);
450
+ var d = e.defaultProps;
451
+ for (c in d)
452
+ o[c] === void 0 && (o[c] = d[c]);
453
453
  }
454
- if (n || g) {
455
- var d = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- n && Ze(i, d), g && Qe(i, d);
454
+ if (i || g) {
455
+ var v = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
+ i && Ze(o, v), g && Qe(o, v);
457
457
  }
458
- return Ke(e, n, g, o, a, pe.current, i);
458
+ return Ke(e, i, g, u, n, pe.current, o);
459
459
  }
460
460
  }
461
461
  var z = k.ReactCurrentOwner, he = k.ReactDebugCurrentFrame;
@@ -469,7 +469,7 @@ function dr() {
469
469
  var H;
470
470
  H = !1;
471
471
  function X(e) {
472
- return typeof e == "object" && e !== null && e.$$typeof === u;
472
+ return typeof e == "object" && e !== null && e.$$typeof === a;
473
473
  }
474
474
  function ge() {
475
475
  {
@@ -486,7 +486,7 @@ Check the render method of \`` + e + "`.";
486
486
  function rr(e) {
487
487
  return "";
488
488
  }
489
- var Ee = {};
489
+ var ye = {};
490
490
  function tr(e) {
491
491
  {
492
492
  var r = ge();
@@ -499,17 +499,17 @@ Check the top-level render call using <` + t + ">.");
499
499
  return r;
500
500
  }
501
501
  }
502
- function ye(e, r) {
502
+ function Ee(e, r) {
503
503
  {
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
507
  var t = tr(r);
508
- if (Ee[t])
508
+ if (ye[t])
509
509
  return;
510
- Ee[t] = !0;
511
- var a = "";
512
- e && e._owner && e._owner !== z.current && (a = " It was passed a child from " + C(e._owner.type) + "."), $(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), $(null);
510
+ ye[t] = !0;
511
+ var n = "";
512
+ e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + C(e._owner.type) + "."), $(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), $(null);
513
513
  }
514
514
  }
515
515
  function Re(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 a = e[t];
522
- X(a) && ye(a, r);
521
+ var n = e[t];
522
+ X(n) && Ee(n, r);
523
523
  }
524
524
  else if (X(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var o = we(e);
528
- if (typeof o == "function" && o !== e.entries)
529
- for (var s = o.call(e), i; !(i = s.next()).done; )
530
- X(i.value) && ye(i.value, r);
527
+ var u = we(e);
528
+ if (typeof u == "function" && u !== e.entries)
529
+ for (var c = u.call(e), o; !(o = c.next()).done; )
530
+ X(o.value) && Ee(o.value, r);
531
531
  }
532
532
  }
533
533
  }
534
- function ar(e) {
534
+ function nr(e) {
535
535
  {
536
536
  var r = e.type;
537
537
  if (r == null || typeof r == "string")
@@ -546,22 +546,22 @@ Check the top-level render call using <` + t + ">.");
546
546
  else
547
547
  return;
548
548
  if (t) {
549
- var a = C(r);
550
- Ue(t, e.props, "prop", a, e);
549
+ var n = C(r);
550
+ Ue(t, e.props, "prop", n, e);
551
551
  } else if (r.PropTypes !== void 0 && !H) {
552
552
  H = !0;
553
- var o = C(r);
554
- h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
553
+ var u = C(r);
554
+ h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
555
555
  }
556
556
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function nr(e) {
559
+ function ar(e) {
560
560
  {
561
561
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
562
- var a = r[t];
563
- if (a !== "children" && a !== "key") {
564
- $(e), h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), $(null);
562
+ var n = r[t];
563
+ if (n !== "children" && n !== "key") {
564
+ $(e), h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), $(null);
565
565
  break;
566
566
  }
567
567
  }
@@ -569,24 +569,24 @@ Check the top-level render call using <` + t + ">.");
569
569
  }
570
570
  }
571
571
  var _e = {};
572
- function xe(e, r, t, a, o, s) {
572
+ function xe(e, r, t, n, u, c) {
573
573
  {
574
- var i = Ae(e);
575
- if (!i) {
576
- var n = "";
577
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (n += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
574
+ var o = Ae(e);
575
+ if (!o) {
576
+ var i = "";
577
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " 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
578
  var g = rr();
579
- g ? n += g : n += ge();
580
- var f;
581
- e === null ? f = "null" : G(e) ? f = "array" : e !== void 0 && e.$$typeof === u ? (f = "<" + (C(e.type) || "Unknown") + " />", n = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, n);
579
+ g ? i += g : i += ge();
580
+ var d;
581
+ e === null ? d = "null" : G(e) ? d = "array" : e !== void 0 && e.$$typeof === a ? (d = "<" + (C(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, i);
582
582
  }
583
- var d = er(e, r, t, o, s);
584
- if (d == null)
585
- return d;
586
- if (i) {
583
+ var v = er(e, r, t, u, c);
584
+ if (v == null)
585
+ return v;
586
+ if (o) {
587
587
  var _ = r.children;
588
588
  if (_ !== void 0)
589
- if (a)
589
+ if (n)
590
590
  if (G(_)) {
591
591
  for (var D = 0; D < _.length; D++)
592
592
  Re(_[D], e);
@@ -597,11 +597,11 @@ Check the top-level render call using <` + t + ">.");
597
597
  Re(_, e);
598
598
  }
599
599
  if (N.call(r, "key")) {
600
- var P = C(e), y = Object.keys(r).filter(function(cr) {
600
+ var P = C(e), E = Object.keys(r).filter(function(cr) {
601
601
  return cr !== "key";
602
- }), Z = y.length > 0 ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}";
602
+ }), Z = E.length > 0 ? "{key: someKey, " + E.join(": ..., ") + ": ...}" : "{key: someKey}";
603
603
  if (!_e[P + Z]) {
604
- var ur = y.length > 0 ? "{" + y.join(": ..., ") + ": ...}" : "{}";
604
+ var ur = E.length > 0 ? "{" + E.join(": ..., ") + ": ...}" : "{}";
605
605
  h(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
@@ -610,7 +610,7 @@ React keys must be passed directly to JSX without using spread:
610
610
  <%s key={someKey} {...props} />`, Z, P, ur, P), _e[P + Z] = !0;
611
611
  }
612
612
  }
613
- return e === c ? nr(d) : ar(d), d;
613
+ return e === f ? ar(v) : nr(v), v;
614
614
  }
615
615
  }
616
616
  function ir(e, r, t) {
@@ -620,107 +620,107 @@ React keys must be passed directly to JSX without using spread:
620
620
  return xe(e, r, t, !1);
621
621
  }
622
622
  var sr = or, lr = ir;
623
- I.Fragment = c, I.jsx = sr, I.jsxs = lr;
623
+ I.Fragment = f, I.jsx = sr, I.jsxs = lr;
624
624
  }()), I;
625
625
  }
626
626
  var Ce;
627
627
  function vr() {
628
628
  return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? U.exports = fr() : U.exports = dr()), U.exports;
629
629
  }
630
- var l = vr();
630
+ var s = vr();
631
631
  const pr = ({
632
- type: v = "default",
633
- title: u,
632
+ type: l = "default",
633
+ title: a,
634
634
  size: p,
635
- label: c,
635
+ label: f,
636
636
  onClick: m,
637
637
  isDisabled: R = !1,
638
638
  children: O,
639
639
  className: j = ""
640
640
  }) => {
641
- const b = `btn-${v}`, T = p ? `btn-${p}` : "", x = `${`btn ${b} ${T}`.trim()} ${j}`.trim();
642
- return /* @__PURE__ */ l.jsx(
641
+ const b = `btn-${l}`, T = p ? `btn-${p}` : "", x = `${`btn ${b} ${T}`.trim()} ${j}`.trim();
642
+ return /* @__PURE__ */ s.jsx(
643
643
  "button",
644
644
  {
645
645
  className: x,
646
646
  type: "button",
647
647
  onClick: m,
648
648
  disabled: R,
649
- children: /* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
650
- O || c,
649
+ children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center", children: [
650
+ O || f,
651
651
  " ",
652
- u
652
+ a
653
653
  ] })
654
654
  }
655
655
  );
656
- }, hr = ({ children: v, eventKey: u, active: p }) => /* @__PURE__ */ l.jsx(
656
+ }, hr = ({ children: l, eventKey: a, active: p }) => /* @__PURE__ */ s.jsx(
657
657
  "div",
658
658
  {
659
659
  className: `tab-pane ${p ? "active" : ""}`,
660
- id: `${u}-panel`,
660
+ id: `${a}-panel`,
661
661
  role: "tabpanel",
662
- "aria-labelledby": `${u}-tab`,
663
- children: v
662
+ "aria-labelledby": `${a}-tab`,
663
+ children: l
664
664
  },
665
- u
666
- ), gr = ({ activeKey: v, onSelect: u, children: p }) => /* @__PURE__ */ l.jsxs("div", { className: "tabs-container", children: [
667
- /* @__PURE__ */ l.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: p.map(({ props: { eventKey: c, title: m } }) => /* @__PURE__ */ l.jsx("li", { className: v === c ? "active" : "", children: /* @__PURE__ */ l.jsx(
665
+ a
666
+ ), gr = ({ activeKey: l, onSelect: a, children: p }) => /* @__PURE__ */ s.jsxs("div", { className: "tabs-container", children: [
667
+ /* @__PURE__ */ s.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: p.map(({ props: { eventKey: f, title: m } }) => /* @__PURE__ */ s.jsx("li", { className: l === f ? "active" : "", children: /* @__PURE__ */ s.jsx(
668
668
  "a",
669
669
  {
670
- href: `#${c}`,
670
+ href: `#${f}`,
671
671
  onClick: (R) => {
672
- R.preventDefault(), u(c);
672
+ R.preventDefault(), a(f);
673
673
  },
674
674
  children: m
675
675
  }
676
- ) }, c)) }),
677
- /* @__PURE__ */ l.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ l.jsx("div", { className: "tab-content pf-c-tab-content", children: p.map(({ props: { eventKey: c, children: m } }) => /* @__PURE__ */ l.jsx(
676
+ ) }, f)) }),
677
+ /* @__PURE__ */ s.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ s.jsx("div", { className: "tab-content pf-c-tab-content", children: p.map(({ props: { eventKey: f, children: m } }) => /* @__PURE__ */ s.jsx(
678
678
  "div",
679
679
  {
680
- className: `tab-pane ${v === c ? "active" : ""}`,
681
- id: `${c}-panel`,
680
+ className: `tab-pane ${l === f ? "active" : ""}`,
681
+ id: `${f}-panel`,
682
682
  role: "tabpanel",
683
- "aria-labelledby": `${c}-tab`,
683
+ "aria-labelledby": `${f}-tab`,
684
684
  children: m
685
685
  },
686
- c
686
+ f
687
687
  )) }) })
688
- ] }), Er = ({
689
- id: v,
690
- type: u,
688
+ ] }), yr = ({
689
+ id: l,
690
+ type: a,
691
691
  placeholder: p = "",
692
- value: c,
692
+ value: f,
693
693
  onChange: m,
694
694
  className: R = "form-control"
695
- }) => /* @__PURE__ */ l.jsx(
695
+ }) => /* @__PURE__ */ s.jsx(
696
696
  "input",
697
697
  {
698
- type: u,
699
- id: v,
698
+ type: a,
699
+ id: l,
700
700
  className: R,
701
701
  placeholder: p,
702
- value: c,
702
+ value: f,
703
703
  onChange: m
704
704
  }
705
- ), yr = ({ title: v, isOpen: u, onClose: p, children: c, size: m }) => {
706
- if (!u) return null;
705
+ ), Er = ({ title: l, isOpen: a, onClose: p, children: f, size: m }) => {
706
+ if (!a) return null;
707
707
  const R = m ? `modal-${m}` : "";
708
- return /* @__PURE__ */ l.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ l.jsx("div", { className: `modal-dialog ${R}`, role: "document", children: /* @__PURE__ */ l.jsxs("div", { className: "modal-content", children: [
709
- /* @__PURE__ */ l.jsxs("div", { className: "modal-header", children: [
710
- /* @__PURE__ */ l.jsx("button", { type: "button", className: "close", onClick: p, "aria-hidden": "true", children: /* @__PURE__ */ l.jsx("span", { className: "pficon pficon-close" }) }),
711
- /* @__PURE__ */ l.jsx("h4", { className: "modal-title", children: v })
708
+ return /* @__PURE__ */ s.jsx("div", { className: "modal fade in", style: { display: "block" }, tabIndex: -1, role: "dialog", children: /* @__PURE__ */ s.jsx("div", { className: `modal-dialog ${R}`, role: "document", children: /* @__PURE__ */ s.jsxs("div", { className: "modal-content", children: [
709
+ /* @__PURE__ */ s.jsxs("div", { className: "modal-header", children: [
710
+ /* @__PURE__ */ s.jsx("button", { type: "button", className: "close", onClick: p, "aria-hidden": "true", children: /* @__PURE__ */ s.jsx("span", { className: "pficon pficon-close" }) }),
711
+ /* @__PURE__ */ s.jsx("h4", { className: "modal-title", children: l })
712
712
  ] }),
713
- /* @__PURE__ */ l.jsx("div", { className: "modal-body", children: c })
713
+ /* @__PURE__ */ s.jsx("div", { className: "modal-body", children: f })
714
714
  ] }) }) });
715
- }, Rr = ({ variant: v, children: u }) => {
716
- const c = {
715
+ }, Rr = ({ variant: l, children: a }) => {
716
+ const f = {
717
717
  warning: "text-yellow-600",
718
718
  success: "text-green-600",
719
719
  error: "text-red-600"
720
- }[v] || "";
721
- return /* @__PURE__ */ l.jsx("p", { className: c, children: u });
722
- }, br = ({ items: v }) => /* @__PURE__ */ l.jsx("ol", { className: "breadcrumb", children: v.map((u, p) => /* @__PURE__ */ l.jsx("li", { className: u.active ? "active" : "", children: u.active ? u.title : /* @__PURE__ */ l.jsx("a", { href: u.href, children: u.title }) }, p)) }), _r = () => /* @__PURE__ */ l.jsxs("div", { children: [
723
- /* @__PURE__ */ l.jsx(
720
+ }[l] || "";
721
+ return /* @__PURE__ */ s.jsx("p", { className: f, children: a });
722
+ }, _r = ({ children: l, ...a }) => /* @__PURE__ */ s.jsx("table", { ...a, children: l }), xr = ({ children: l, ...a }) => /* @__PURE__ */ s.jsx("tbody", { ...a, children: l }), jr = ({ children: l, ...a }) => /* @__PURE__ */ s.jsx("td", { ...a, children: l }), Tr = ({ children: l, ...a }) => /* @__PURE__ */ s.jsx("th", { ...a, children: l }), Cr = ({ children: l, ...a }) => /* @__PURE__ */ s.jsx("thead", { ...a, children: l }), Or = ({ children: l, ...a }) => /* @__PURE__ */ s.jsx("tr", { ...a, children: l }), br = ({ items: l }) => /* @__PURE__ */ s.jsx("ol", { className: "breadcrumb", children: l.map((a, p) => /* @__PURE__ */ s.jsx("li", { className: a.active ? "active" : "", children: a.active ? a.title : /* @__PURE__ */ s.jsx("a", { href: a.href, children: a.title }) }, p)) }), Sr = () => /* @__PURE__ */ s.jsxs("div", { children: [
723
+ /* @__PURE__ */ s.jsx(
724
724
  br,
725
725
  {
726
726
  items: [
@@ -729,14 +729,20 @@ const pr = ({
729
729
  ]
730
730
  }
731
731
  ),
732
- /* @__PURE__ */ l.jsx(pr, { children: "Hello" })
732
+ /* @__PURE__ */ s.jsx(pr, { children: "Hello" })
733
733
  ] });
734
734
  export {
735
735
  pr as Button,
736
736
  Rr as HelpText,
737
- Er as Input,
738
- yr as Modal,
739
- _r as SampleComp,
737
+ yr as Input,
738
+ Er as Modal,
739
+ Sr as SampleComp,
740
740
  hr as Tab,
741
- gr as Tabs
741
+ _r as Table,
742
+ gr as Tabs,
743
+ xr as Tbody,
744
+ jr as Td,
745
+ Tr as Th,
746
+ Cr as Thead,
747
+ Or as Tr
742
748
  };
@@ -1,4 +1,4 @@
1
- (function(R,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],D):(R=typeof globalThis<"u"?globalThis:R||self,D(R["ovirt-ui-toolkit"]={},R.React))})(this,function(R,D){"use strict";var M={exports:{}},A={};/**
1
+ (function(p,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],D):(p=typeof globalThis<"u"?globalThis:p||self,D(p["ovirt-ui-toolkit"]={},p.React))})(this,function(p,D){"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 ee;function we(){if(ee)return A;ee=1;var v=D,u=Symbol.for("react.element"),p=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,m=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_={key:!0,ref:!0,__self:!0,__source:!0};function S(T,b,C){var y,x={},P=null,L=null;C!==void 0&&(P=""+C),b.key!==void 0&&(P=""+b.key),b.ref!==void 0&&(L=b.ref);for(y in b)c.call(b,y)&&!_.hasOwnProperty(y)&&(x[y]=b[y]);if(T&&T.defaultProps)for(y in b=T.defaultProps,b)x[y]===void 0&&(x[y]=b[y]);return{$$typeof:u,type:T,key:P,ref:L,props:x,_owner:m.current}}return A.Fragment=p,A.jsx=S,A.jsxs=S,A}var I={};/**
9
+ */var ee;function we(){if(ee)return A;ee=1;var l=D,a=Symbol.for("react.element"),b=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,m=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_={key:!0,ref:!0,__self:!0,__source:!0};function S(x,h,C){var E,j={},P=null,L=null;C!==void 0&&(P=""+C),h.key!==void 0&&(P=""+h.key),h.ref!==void 0&&(L=h.ref);for(E in h)f.call(h,E)&&!_.hasOwnProperty(E)&&(j[E]=h[E]);if(x&&x.defaultProps)for(E in h=x.defaultProps,h)j[E]===void 0&&(j[E]=h[E]);return{$$typeof:a,type:x,key:P,ref:L,props:j,_owner:m.current}}return A.Fragment=b,A.jsx=S,A.jsxs=S,A}var I={};/**
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 re;function ke(){return re||(re=1,process.env.NODE_ENV!=="production"&&function(){var v=D,u=Symbol.for("react.element"),p=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),T=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),ae=Symbol.iterator,Me="@@iterator";function Le(e){if(e===null||typeof e!="object")return null;var r=ae&&e[ae]||e[Me];return typeof r=="function"?r:null}var F=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function h(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ve("error",e,t)}}function Ve(e,r,t){{var n=F.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var s=t.map(function(i){return String(i)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var Ue=!1,Be=!1,Je=!1,qe=!1,Ge=!1,ie;ie=Symbol.for("react.module.reference");function He(e){return!!(typeof e=="string"||typeof e=="function"||e===c||e===_||Ge||e===m||e===C||e===y||qe||e===L||Ue||Be||Je||typeof e=="object"&&e!==null&&(e.$$typeof===P||e.$$typeof===x||e.$$typeof===S||e.$$typeof===T||e.$$typeof===b||e.$$typeof===ie||e.getModuleId!==void 0))}function ze(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function oe(e){return e.displayName||"Context"}function O(e){if(e==null)return null;if(typeof e.tag=="number"&&h("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case c:return"Fragment";case p:return"Portal";case _:return"Profiler";case m:return"StrictMode";case C:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case T:var r=e;return oe(r)+".Consumer";case S:var t=e;return oe(t._context)+".Provider";case b:return ze(e,e.render,"ForwardRef");case x:var n=e.displayName||null;return n!==null?n:O(e.type)||"Memo";case P:{var o=e,s=o._payload,i=o._init;try{return O(i(s))}catch{return null}}}return null}var w=Object.assign,W=0,se,le,ue,ce,fe,de,ve;function pe(){}pe.__reactDisabledLog=!0;function Xe(){{if(W===0){se=console.log,le=console.info,ue=console.warn,ce=console.error,fe=console.group,de=console.groupCollapsed,ve=console.groupEnd;var e={configurable:!0,enumerable:!0,value:pe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function Ze(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:w({},e,{value:se}),info:w({},e,{value:le}),warn:w({},e,{value:ue}),error:w({},e,{value:ce}),group:w({},e,{value:fe}),groupCollapsed:w({},e,{value:de}),groupEnd:w({},e,{value:ve})})}W<0&&h("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=F.ReactCurrentDispatcher,G;function V(e,r,t){{if(G===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);G=n&&n[1]||""}return`
18
- `+G+e}}var H=!1,U;{var Qe=typeof WeakMap=="function"?WeakMap:Map;U=new Qe}function be(e,r){if(!e||H)return"";{var t=U.get(e);if(t!==void 0)return t}var n;H=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=q.current,q.current=null,Xe();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(E){n=E}Reflect.construct(e,[],i)}else{try{i.call()}catch(E){n=E}e.call(i.prototype)}}else{try{throw Error()}catch(E){n=E}e()}}catch(E){if(E&&n&&typeof E.stack=="string"){for(var a=E.stack.split(`
19
- `),g=n.stack.split(`
20
- `),f=a.length-1,d=g.length-1;f>=1&&d>=0&&a[f]!==g[d];)d--;for(;f>=1&&d>=0;f--,d--)if(a[f]!==g[d]){if(f!==1||d!==1)do if(f--,d--,d<0||a[f]!==g[d]){var j=`
21
- `+a[f].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),typeof e=="function"&&U.set(e,j),j}while(f>=1&&d>=0);break}}}finally{H=!1,q.current=s,Ze(),Error.prepareStackTrace=o}var $=e?e.displayName||e.name:"",k=$?V($):"";return typeof e=="function"&&U.set(e,k),k}function Ke(e,r,t){return be(e,!1)}function er(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function B(e,r,t){if(e==null)return"";if(typeof e=="function")return be(e,er(e));if(typeof e=="string")return V(e);switch(e){case C:return V("Suspense");case y:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case b:return Ke(e.render);case x:return B(e.type,r,t);case P:{var n=e,o=n._payload,s=n._init;try{return B(s(o),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,me={},he=F.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function rr(e,r,t,n,o){{var s=Function.call.bind(Y);for(var i in e)if(s(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var g=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(f){a=f}a&&!(a instanceof Error)&&(J(o),h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),J(null)),a instanceof Error&&!(a.message in me)&&(me[a.message]=!0,J(o),h("Failed %s type: %s",t,a.message),J(null))}}}var tr=Array.isArray;function z(e){return tr(e)}function nr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ar(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function ye(e){if(ar(e))return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",nr(e)),ge(e)}var Ee=F.ReactCurrentOwner,ir={key:!0,ref:!0,__self:!0,__source:!0},Re,_e;function or(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 sr(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 lr(e,r){typeof e.ref=="string"&&Ee.current}function ur(e,r){{var t=function(){Re||(Re=!0,h("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function cr(e,r){{var t=function(){_e||(_e=!0,h("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var fr=function(e,r,t,n,o,s,i){var a={$$typeof:u,type:e,key:r,ref:t,props:i,_owner:s};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function dr(e,r,t,n,o){{var s,i={},a=null,g=null;t!==void 0&&(ye(t),a=""+t),sr(r)&&(ye(r.key),a=""+r.key),or(r)&&(g=r.ref,lr(r,o));for(s in r)Y.call(r,s)&&!ir.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var f=e.defaultProps;for(s in f)i[s]===void 0&&(i[s]=f[s])}if(a||g){var d=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ur(i,d),g&&cr(i,d)}return fr(e,a,g,o,n,Ee.current,i)}}var X=F.ReactCurrentOwner,je=F.ReactDebugCurrentFrame;function N(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);je.setExtraStackFrame(t)}else je.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function xe(){{if(X.current){var e=O(X.current.type);if(e)return`
17
+ */var re;function ke(){return re||(re=1,process.env.NODE_ENV!=="production"&&function(){var l=D,a=Symbol.for("react.element"),b=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),x=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),ae=Symbol.iterator,qe="@@iterator";function Ge(e){if(e===null||typeof e!="object")return null;var r=ae&&e[ae]||e[qe];return typeof r=="function"?r:null}var F=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];He("error",e,t)}}function He(e,r,t){{var n=F.ReactDebugCurrentFrame,u=n.getStackAddendum();u!==""&&(r+="%s",t=t.concat([u]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var ze=!1,Xe=!1,Ze=!1,Qe=!1,Ke=!1,ie;ie=Symbol.for("react.module.reference");function er(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===_||Ke||e===m||e===C||e===E||Qe||e===L||ze||Xe||Ze||typeof e=="object"&&e!==null&&(e.$$typeof===P||e.$$typeof===j||e.$$typeof===S||e.$$typeof===x||e.$$typeof===h||e.$$typeof===ie||e.getModuleId!==void 0))}function rr(e,r,t){var n=e.displayName;if(n)return n;var u=r.displayName||r.name||"";return u!==""?t+"("+u+")":t}function oe(e){return e.displayName||"Context"}function O(e){if(e==null)return null;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")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case b:return"Portal";case _:return"Profiler";case m:return"StrictMode";case C:return"Suspense";case E:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case x:var r=e;return oe(r)+".Consumer";case S:var t=e;return oe(t._context)+".Provider";case h:return rr(e,e.render,"ForwardRef");case j:var n=e.displayName||null;return n!==null?n:O(e.type)||"Memo";case P:{var u=e,c=u._payload,o=u._init;try{return O(o(c))}catch{return null}}}return null}var w=Object.assign,W=0,se,le,ue,ce,fe,de,ve;function pe(){}pe.__reactDisabledLog=!0;function tr(){{if(W===0){se=console.log,le=console.info,ue=console.warn,ce=console.error,fe=console.group,de=console.groupCollapsed,ve=console.groupEnd;var e={configurable:!0,enumerable:!0,value:pe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function nr(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:w({},e,{value:se}),info:w({},e,{value:le}),warn:w({},e,{value:ue}),error:w({},e,{value:ce}),group:w({},e,{value:fe}),groupCollapsed:w({},e,{value:de}),groupEnd:w({},e,{value:ve})})}W<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=F.ReactCurrentDispatcher,G;function V(e,r,t){{if(G===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);G=n&&n[1]||""}return`
18
+ `+G+e}}var H=!1,U;{var ar=typeof WeakMap=="function"?WeakMap:Map;U=new ar}function be(e,r){if(!e||H)return"";{var t=U.get(e);if(t!==void 0)return t}var n;H=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=q.current,q.current=null,tr();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(R){n=R}Reflect.construct(e,[],o)}else{try{o.call()}catch(R){n=R}e.call(o.prototype)}}else{try{throw Error()}catch(R){n=R}e()}}catch(R){if(R&&n&&typeof R.stack=="string"){for(var i=R.stack.split(`
19
+ `),y=n.stack.split(`
20
+ `),d=i.length-1,v=y.length-1;d>=1&&v>=0&&i[d]!==y[v];)v--;for(;d>=1&&v>=0;d--,v--)if(i[d]!==y[v]){if(d!==1||v!==1)do if(d--,v--,v<0||i[d]!==y[v]){var T=`
21
+ `+i[d].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&U.set(e,T),T}while(d>=1&&v>=0);break}}}finally{H=!1,q.current=c,nr(),Error.prepareStackTrace=u}var $=e?e.displayName||e.name:"",k=$?V($):"";return typeof e=="function"&&U.set(e,k),k}function ir(e,r,t){return be(e,!1)}function or(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function B(e,r,t){if(e==null)return"";if(typeof e=="function")return be(e,or(e));if(typeof e=="string")return V(e);switch(e){case C:return V("Suspense");case E:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case h:return ir(e.render);case j:return B(e.type,r,t);case P:{var n=e,u=n._payload,c=n._init;try{return B(c(u),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,he={},me=F.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);me.setExtraStackFrame(t)}else me.setExtraStackFrame(null)}function sr(e,r,t,n,u){{var c=Function.call.bind(Y);for(var o in e)if(c(e,o)){var i=void 0;try{if(typeof e[o]!="function"){var y=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}i=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){i=d}i&&!(i instanceof Error)&&(J(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).",n||"React class",t,o,typeof i),J(null)),i instanceof Error&&!(i.message in he)&&(he[i.message]=!0,J(u),g("Failed %s type: %s",t,i.message),J(null))}}}var lr=Array.isArray;function z(e){return lr(e)}function ur(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function cr(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function ye(e){if(cr(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ur(e)),ge(e)}var Ee=F.ReactCurrentOwner,fr={key:!0,ref:!0,__self:!0,__source:!0},Re,_e;function dr(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 vr(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 pr(e,r){typeof e.ref=="string"&&Ee.current}function br(e,r){{var t=function(){Re||(Re=!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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function hr(e,r){{var t=function(){_e||(_e=!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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var mr=function(e,r,t,n,u,c,o){var i={$$typeof:a,type:e,key:r,ref:t,props:o,_owner:c};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function gr(e,r,t,n,u){{var c,o={},i=null,y=null;t!==void 0&&(ye(t),i=""+t),vr(r)&&(ye(r.key),i=""+r.key),dr(r)&&(y=r.ref,pr(r,u));for(c in r)Y.call(r,c)&&!fr.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var d=e.defaultProps;for(c in d)o[c]===void 0&&(o[c]=d[c])}if(i||y){var v=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&br(o,v),y&&hr(o,v)}return mr(e,i,y,u,n,Ee.current,o)}}var X=F.ReactCurrentOwner,Te=F.ReactDebugCurrentFrame;function N(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);Te.setExtraStackFrame(t)}else Te.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===a}function je(){{if(X.current){var e=O(X.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function vr(e){return""}var Te={};function pr(e){{var r=xe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
23
+ Check the render method of \``+e+"`."}return""}}function yr(e){return""}var xe={};function Er(e){{var r=je();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 Ce(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=pr(r);if(Te[t])return;Te[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+O(e._owner.type)+"."),N(e),h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),N(null)}}function Oe(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&Ce(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var o=Le(e);if(typeof o=="function"&&o!==e.entries)for(var s=o.call(e),i;!(i=s.next()).done;)Q(i.value)&&Ce(i.value,r)}}}function br(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===b||r.$$typeof===x))t=r.propTypes;else return;if(t){var n=O(r);rr(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var o=O(r);h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function mr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){N(e),h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),N(null);break}}e.ref!==null&&(N(e),h("Invalid attribute `ref` supplied to `React.Fragment`."),N(null))}}var Se={};function Pe(e,r,t,n,o,s){{var i=He(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 g=vr();g?a+=g:a+=xe();var f;e===null?f="null":z(e)?f="array":e!==void 0&&e.$$typeof===u?(f="<"+(O(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):f=typeof e,h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",f,a)}var d=dr(e,r,t,o,s);if(d==null)return d;if(i){var j=r.children;if(j!==void 0)if(n)if(z(j)){for(var $=0;$<j.length;$++)Oe(j[$],e);Object.freeze&&Object.freeze(j)}else h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Oe(j,e)}if(Y.call(r,"key")){var k=O(e),E=Object.keys(r).filter(function(_r){return _r!=="key"}),K=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!Se[k+K]){var Rr=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";h(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+t+">.")}return r}}function Ce(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Er(r);if(xe[t])return;xe[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+O(e._owner.type)+"."),N(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,n),N(null)}}function Oe(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&Ce(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var u=Ge(e);if(typeof u=="function"&&u!==e.entries)for(var c=u.call(e),o;!(o=c.next()).done;)Q(o.value)&&Ce(o.value,r)}}}function Rr(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===h||r.$$typeof===j))t=r.propTypes;else return;if(t){var n=O(r);sr(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var u=O(r);g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function _r(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){N(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),N(null);break}}e.ref!==null&&(N(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),N(null))}}var Se={};function Pe(e,r,t,n,u,c){{var o=er(e);if(!o){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" 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 y=yr();y?i+=y:i+=je();var d;e===null?d="null":z(e)?d="array":e!==void 0&&e.$$typeof===a?(d="<"+(O(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):d=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",d,i)}var v=gr(e,r,t,u,c);if(v==null)return v;if(o){var T=r.children;if(T!==void 0)if(n)if(z(T)){for(var $=0;$<T.length;$++)Oe(T[$],e);Object.freeze&&Object.freeze(T)}else 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.");else Oe(T,e)}if(Y.call(r,"key")){var k=O(e),R=Object.keys(r).filter(function(Sr){return Sr!=="key"}),K=R.length>0?"{key: someKey, "+R.join(": ..., ")+": ...}":"{key: someKey}";if(!Se[k+K]){var Or=R.length>0?"{"+R.join(": ..., ")+": ...}":"{}";g(`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} />`,K,k,Rr,k),Se[k+K]=!0}}return e===c?mr(d):br(d),d}}function hr(e,r,t){return Pe(e,r,t,!0)}function gr(e,r,t){return Pe(e,r,t,!1)}var yr=gr,Er=hr;I.Fragment=c,I.jsx=yr,I.jsxs=Er}()),I}var te;function De(){return te||(te=1,process.env.NODE_ENV==="production"?M.exports=we():M.exports=ke()),M.exports}var l=De();const ne=({type:v="default",title:u,size:p,label:c,onClick:m,isDisabled:_=!1,children:S,className:T=""})=>{const b=`btn-${v}`,C=p?`btn-${p}`:"",x=`${`btn ${b} ${C}`.trim()} ${T}`.trim();return l.jsx("button",{className:x,type:"button",onClick:m,disabled:_,children:l.jsxs("div",{className:"flex items-center",children:[S||c," ",u]})})},Fe=({children:v,eventKey:u,active:p})=>l.jsx("div",{className:`tab-pane ${p?"active":""}`,id:`${u}-panel`,role:"tabpanel","aria-labelledby":`${u}-tab`,children:v},u),Ne=({activeKey:v,onSelect:u,children:p})=>l.jsxs("div",{className:"tabs-container",children:[l.jsx("ul",{className:"nav nav-tabs",role:"tablist",children:p.map(({props:{eventKey:c,title:m}})=>l.jsx("li",{className:v===c?"active":"",children:l.jsx("a",{href:`#${c}`,onClick:_=>{_.preventDefault(),u(c)},children:m})},c))}),l.jsx("div",{className:"tabs-container",children:l.jsx("div",{className:"tab-content pf-c-tab-content",children:p.map(({props:{eventKey:c,children:m}})=>l.jsx("div",{className:`tab-pane ${v===c?"active":""}`,id:`${c}-panel`,role:"tabpanel","aria-labelledby":`${c}-tab`,children:m},c))})})]}),$e=({id:v,type:u,placeholder:p="",value:c,onChange:m,className:_="form-control"})=>l.jsx("input",{type:u,id:v,className:_,placeholder:p,value:c,onChange:m}),Ae=({title:v,isOpen:u,onClose:p,children:c,size:m})=>{if(!u)return null;const _=m?`modal-${m}`:"";return l.jsx("div",{className:"modal fade in",style:{display:"block"},tabIndex:-1,role:"dialog",children:l.jsx("div",{className:`modal-dialog ${_}`,role:"document",children:l.jsxs("div",{className:"modal-content",children:[l.jsxs("div",{className:"modal-header",children:[l.jsx("button",{type:"button",className:"close",onClick:p,"aria-hidden":"true",children:l.jsx("span",{className:"pficon pficon-close"})}),l.jsx("h4",{className:"modal-title",children:v})]}),l.jsx("div",{className:"modal-body",children:c})]})})})},Ie=({variant:v,children:u})=>{const c={warning:"text-yellow-600",success:"text-green-600",error:"text-red-600"}[v]||"";return l.jsx("p",{className:c,children:u})},We=({items:v})=>l.jsx("ol",{className:"breadcrumb",children:v.map((u,p)=>l.jsx("li",{className:u.active?"active":"",children:u.active?u.title:l.jsx("a",{href:u.href,children:u.title})},p))}),Ye=()=>l.jsxs("div",{children:[l.jsx(We,{items:[{title:"Дополнения",active:!0},{title:"Название плагина",href:"#Название плагина"}]}),l.jsx(ne,{children:"Hello"})]});R.Button=ne,R.HelpText=Ie,R.Input=$e,R.Modal=Ae,R.SampleComp=Ye,R.Tab=Fe,R.Tabs=Ne,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
30
+ <%s key={someKey} {...props} />`,K,k,Or,k),Se[k+K]=!0}}return e===f?_r(v):Rr(v),v}}function Tr(e,r,t){return Pe(e,r,t,!0)}function jr(e,r,t){return Pe(e,r,t,!1)}var xr=jr,Cr=Tr;I.Fragment=f,I.jsx=xr,I.jsxs=Cr}()),I}var te;function De(){return te||(te=1,process.env.NODE_ENV==="production"?M.exports=we():M.exports=ke()),M.exports}var s=De();const ne=({type:l="default",title:a,size:b,label:f,onClick:m,isDisabled:_=!1,children:S,className:x=""})=>{const h=`btn-${l}`,C=b?`btn-${b}`:"",j=`${`btn ${h} ${C}`.trim()} ${x}`.trim();return s.jsx("button",{className:j,type:"button",onClick:m,disabled:_,children:s.jsxs("div",{className:"flex items-center",children:[S||f," ",a]})})},Fe=({children:l,eventKey:a,active:b})=>s.jsx("div",{className:`tab-pane ${b?"active":""}`,id:`${a}-panel`,role:"tabpanel","aria-labelledby":`${a}-tab`,children:l},a),Ne=({activeKey:l,onSelect:a,children:b})=>s.jsxs("div",{className:"tabs-container",children:[s.jsx("ul",{className:"nav nav-tabs",role:"tablist",children:b.map(({props:{eventKey:f,title:m}})=>s.jsx("li",{className:l===f?"active":"",children:s.jsx("a",{href:`#${f}`,onClick:_=>{_.preventDefault(),a(f)},children:m})},f))}),s.jsx("div",{className:"tabs-container",children:s.jsx("div",{className:"tab-content pf-c-tab-content",children:b.map(({props:{eventKey:f,children:m}})=>s.jsx("div",{className:`tab-pane ${l===f?"active":""}`,id:`${f}-panel`,role:"tabpanel","aria-labelledby":`${f}-tab`,children:m},f))})})]}),$e=({id:l,type:a,placeholder:b="",value:f,onChange:m,className:_="form-control"})=>s.jsx("input",{type:a,id:l,className:_,placeholder:b,value:f,onChange:m}),Ae=({title:l,isOpen:a,onClose:b,children:f,size:m})=>{if(!a)return null;const _=m?`modal-${m}`:"";return s.jsx("div",{className:"modal fade in",style:{display:"block"},tabIndex:-1,role:"dialog",children:s.jsx("div",{className:`modal-dialog ${_}`,role:"document",children:s.jsxs("div",{className:"modal-content",children:[s.jsxs("div",{className:"modal-header",children:[s.jsx("button",{type:"button",className:"close",onClick:b,"aria-hidden":"true",children:s.jsx("span",{className:"pficon pficon-close"})}),s.jsx("h4",{className:"modal-title",children:l})]}),s.jsx("div",{className:"modal-body",children:f})]})})})},Ie=({variant:l,children:a})=>{const f={warning:"text-yellow-600",success:"text-green-600",error:"text-red-600"}[l]||"";return s.jsx("p",{className:f,children:a})},We=({children:l,...a})=>s.jsx("table",{...a,children:l}),Ye=({children:l,...a})=>s.jsx("tbody",{...a,children:l}),Me=({children:l,...a})=>s.jsx("td",{...a,children:l}),Le=({children:l,...a})=>s.jsx("th",{...a,children:l}),Ve=({children:l,...a})=>s.jsx("thead",{...a,children:l}),Ue=({children:l,...a})=>s.jsx("tr",{...a,children:l}),Be=({items:l})=>s.jsx("ol",{className:"breadcrumb",children:l.map((a,b)=>s.jsx("li",{className:a.active?"active":"",children:a.active?a.title:s.jsx("a",{href:a.href,children:a.title})},b))}),Je=()=>s.jsxs("div",{children:[s.jsx(Be,{items:[{title:"Дополнения",active:!0},{title:"Название плагина",href:"#Название плагина"}]}),s.jsx(ne,{children:"Hello"})]});p.Button=ne,p.HelpText=Ie,p.Input=$e,p.Modal=Ae,p.SampleComp=Je,p.Tab=Fe,p.Table=We,p.Tabs=Ne,p.Tbody=Ye,p.Td=Me,p.Th=Le,p.Thead=Ve,p.Tr=Ue,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ovirt-ui-toolkit",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "main": "./dist/ovirt-ui-toolkit.umd.js",
6
6
  "module": "./dist/ovirt-ui-toolkit.es.js",
File without changes
File without changes
File without changes
File without changes
File without changes