ovirt-ui-toolkit 0.0.3 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import Ce from "react";
2
- var M = { exports: {} }, D = {};
1
+ import Oe from "react";
2
+ var U = { exports: {} }, A = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,21 +9,21 @@ var M = { exports: {} }, D = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Te;
12
+ var je;
13
13
  function fr() {
14
- if (Te) return D;
15
- Te = 1;
16
- var P = Ce, w = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, A = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function j(y, f, T) {
18
- var p, E = {}, R = null, $ = null;
19
- T !== void 0 && (R = "" + T), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && ($ = f.ref);
20
- for (p in f) m.call(f, p) && !I.hasOwnProperty(p) && (E[p] = f[p]);
21
- if (y && y.defaultProps) for (p in f = y.defaultProps, f) E[p] === void 0 && (E[p] = f[p]);
22
- return { $$typeof: w, type: y, key: R, ref: $, props: E, _owner: A.current };
14
+ if (je) return A;
15
+ je = 1;
16
+ var b = Oe, u = Symbol.for("react.element"), v = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, m = b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function O(j, p, T) {
18
+ var E, x = {}, S = null, W = null;
19
+ T !== void 0 && (S = "" + T), p.key !== void 0 && (S = "" + p.key), p.ref !== void 0 && (W = p.ref);
20
+ for (E in p) c.call(p, E) && !_.hasOwnProperty(E) && (x[E] = p[E]);
21
+ if (j && j.defaultProps) for (E in p = j.defaultProps, p) x[E] === void 0 && (x[E] = p[E]);
22
+ return { $$typeof: u, type: j, key: S, ref: W, props: x, _owner: m.current };
23
23
  }
24
- return D.Fragment = U, D.jsx = j, D.jsxs = j, D;
24
+ return A.Fragment = v, A.jsx = O, A.jsxs = O, A;
25
25
  }
26
- var F = {};
26
+ var I = {};
27
27
  /**
28
28
  * @license React
29
29
  * react-jsx-runtime.development.js
@@ -33,91 +33,91 @@ var F = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var Oe;
37
- function cr() {
38
- return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
39
- var P = Ce, w = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), H = Symbol.iterator, Pe = "@@iterator";
40
- function we(e) {
36
+ var Te;
37
+ function dr() {
38
+ return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var b = Oe, u = Symbol.for("react.element"), v = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), j = Symbol.for("react.context"), p = 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";
40
+ function Pe(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var r = H && e[H] || e[Pe];
43
+ var r = Q && e[Q] || e[Se];
44
44
  return typeof r == "function" ? r : null;
45
45
  }
46
- var O = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function c(e) {
46
+ var k = b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
+ function h(e) {
48
48
  {
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
- je("error", e, t);
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];
51
+ we("error", e, t);
52
52
  }
53
53
  }
54
- function je(e, r, t) {
54
+ function we(e, r, t) {
55
55
  {
56
- var n = O.ReactDebugCurrentFrame, o = n.getStackAddendum();
56
+ var a = k.ReactDebugCurrentFrame, o = a.getStackAddendum();
57
57
  o !== "" && (r += "%s", t = t.concat([o]));
58
- var u = t.map(function(i) {
58
+ var s = t.map(function(i) {
59
59
  return String(i);
60
60
  });
61
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
61
+ s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
62
62
  }
63
63
  }
64
- var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, Z;
65
- Z = Symbol.for("react.module.reference");
66
- function Ie(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === I || Ae || e === A || e === T || e === p || Fe || e === $ || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === E || e.$$typeof === j || e.$$typeof === y || e.$$typeof === f || // This needs to include all possible module reference object
64
+ var ke = !1, $e = !1, De = !1, Fe = !1, Ne = !1, K;
65
+ K = Symbol.for("react.module.reference");
66
+ function Ae(e) {
67
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === _ || 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 === p || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
- e.$$typeof === Z || e.getModuleId !== void 0));
71
+ e.$$typeof === K || e.getModuleId !== void 0));
72
72
  }
73
- function $e(e, r, t) {
74
- var n = e.displayName;
75
- if (n)
76
- return n;
73
+ function Ie(e, r, t) {
74
+ var a = e.displayName;
75
+ if (a)
76
+ return a;
77
77
  var o = r.displayName || r.name || "";
78
78
  return o !== "" ? t + "(" + o + ")" : t;
79
79
  }
80
- function Q(e) {
80
+ function ee(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
- function h(e) {
83
+ function C(e) {
84
84
  if (e == null)
85
85
  return null;
86
- if (typeof e.tag == "number" && c("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" && h("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 m:
91
+ case c:
92
92
  return "Fragment";
93
- case U:
93
+ case v:
94
94
  return "Portal";
95
- case I:
95
+ case _:
96
96
  return "Profiler";
97
- case A:
97
+ case m:
98
98
  return "StrictMode";
99
99
  case T:
100
100
  return "Suspense";
101
- case p:
101
+ case E:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case y:
107
- var r = e;
108
- return Q(r) + ".Consumer";
109
106
  case j:
107
+ var r = e;
108
+ return ee(r) + ".Consumer";
109
+ case O:
110
110
  var t = e;
111
- return Q(t._context) + ".Provider";
112
- case f:
113
- return $e(e, e.render, "ForwardRef");
114
- case E:
115
- var n = e.displayName || null;
116
- return n !== null ? n : h(e.type) || "Memo";
117
- case R: {
118
- var o = e, u = o._payload, i = o._init;
111
+ return ee(t._context) + ".Provider";
112
+ case p:
113
+ return Ie(e, e.render, "ForwardRef");
114
+ case x:
115
+ var a = e.displayName || null;
116
+ return a !== null ? a : C(e.type) || "Memo";
117
+ case S: {
118
+ var o = e, s = o._payload, i = o._init;
119
119
  try {
120
- return h(i(u));
120
+ return C(i(s));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,18 +125,18 @@ function cr() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var _ = Object.assign, x = 0, ee, re, te, ne, ae, ie, oe;
129
- function ue() {
128
+ var P = Object.assign, F = 0, re, te, ae, ne, ie, oe, se;
129
+ function le() {
130
130
  }
131
- ue.__reactDisabledLog = !0;
131
+ le.__reactDisabledLog = !0;
132
132
  function We() {
133
133
  {
134
- if (x === 0) {
135
- ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, ie = console.groupCollapsed, oe = console.groupEnd;
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;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
139
- value: ue,
139
+ value: le,
140
140
  writable: !0
141
141
  };
142
142
  Object.defineProperties(console, {
@@ -149,77 +149,77 @@ function cr() {
149
149
  groupEnd: e
150
150
  });
151
151
  }
152
- x++;
152
+ F++;
153
153
  }
154
154
  }
155
155
  function Ye() {
156
156
  {
157
- if (x--, x === 0) {
157
+ if (F--, F === 0) {
158
158
  var e = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
161
161
  writable: !0
162
162
  };
163
163
  Object.defineProperties(console, {
164
- log: _({}, e, {
165
- value: ee
166
- }),
167
- info: _({}, e, {
164
+ log: P({}, e, {
168
165
  value: re
169
166
  }),
170
- warn: _({}, e, {
167
+ info: P({}, e, {
171
168
  value: te
172
169
  }),
173
- error: _({}, e, {
174
- value: ne
175
- }),
176
- group: _({}, e, {
170
+ warn: P({}, e, {
177
171
  value: ae
178
172
  }),
179
- groupCollapsed: _({}, e, {
173
+ error: P({}, e, {
174
+ value: ne
175
+ }),
176
+ group: P({}, e, {
180
177
  value: ie
181
178
  }),
182
- groupEnd: _({}, e, {
179
+ groupCollapsed: P({}, e, {
183
180
  value: oe
181
+ }),
182
+ groupEnd: P({}, e, {
183
+ value: se
184
184
  })
185
185
  });
186
186
  }
187
- x < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ F < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var N = O.ReactCurrentDispatcher, J;
191
- function W(e, r, t) {
190
+ var B = k.ReactCurrentDispatcher, J;
191
+ function Y(e, r, t) {
192
192
  {
193
193
  if (J === void 0)
194
194
  try {
195
195
  throw Error();
196
196
  } catch (o) {
197
- var n = o.stack.trim().match(/\n( *(at )?)/);
198
- J = n && n[1] || "";
197
+ var a = o.stack.trim().match(/\n( *(at )?)/);
198
+ J = a && a[1] || "";
199
199
  }
200
200
  return `
201
201
  ` + J + e;
202
202
  }
203
203
  }
204
- var q = !1, Y;
204
+ var q = !1, L;
205
205
  {
206
206
  var Le = typeof WeakMap == "function" ? WeakMap : Map;
207
- Y = new Le();
207
+ L = new Le();
208
208
  }
209
- function se(e, r) {
209
+ function ue(e, r) {
210
210
  if (!e || q)
211
211
  return "";
212
212
  {
213
- var t = Y.get(e);
213
+ var t = L.get(e);
214
214
  if (t !== void 0)
215
215
  return t;
216
216
  }
217
- var n;
217
+ var a;
218
218
  q = !0;
219
219
  var o = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var u;
222
- u = N.current, N.current = null, We();
221
+ var s;
222
+ s = B.current, B.current = null, We();
223
223
  try {
224
224
  if (r) {
225
225
  var i = function() {
@@ -232,117 +232,117 @@ function cr() {
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
234
  Reflect.construct(i, []);
235
- } catch (d) {
236
- n = d;
235
+ } catch (R) {
236
+ a = R;
237
237
  }
238
238
  Reflect.construct(e, [], i);
239
239
  } else {
240
240
  try {
241
241
  i.call();
242
- } catch (d) {
243
- n = d;
242
+ } catch (R) {
243
+ a = R;
244
244
  }
245
245
  e.call(i.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (d) {
251
- n = d;
250
+ } catch (R) {
251
+ a = R;
252
252
  }
253
253
  e();
254
254
  }
255
- } catch (d) {
256
- if (d && n && typeof d.stack == "string") {
257
- for (var a = d.stack.split(`
258
- `), v = n.stack.split(`
259
- `), s = a.length - 1, l = v.length - 1; s >= 1 && l >= 0 && a[s] !== v[l]; )
260
- l--;
261
- for (; s >= 1 && l >= 0; s--, l--)
262
- if (a[s] !== v[l]) {
263
- if (s !== 1 || l !== 1)
255
+ } catch (R) {
256
+ if (R && a && typeof R.stack == "string") {
257
+ for (var n = R.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)
264
264
  do
265
- if (s--, l--, l < 0 || a[s] !== v[l]) {
266
- var g = `
267
- ` + a[s].replace(" at new ", " at ");
268
- return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, g), g;
265
+ if (f--, d--, d < 0 || n[f] !== g[d]) {
266
+ var y = `
267
+ ` + n[f].replace(" at new ", " at ");
268
+ return e.displayName && y.includes("<anonymous>") && (y = y.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, y), y;
269
269
  }
270
- while (s >= 1 && l >= 0);
270
+ while (f >= 1 && d >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- q = !1, N.current = u, Ye(), Error.prepareStackTrace = o;
275
+ q = !1, B.current = s, Ye(), Error.prepareStackTrace = o;
276
276
  }
277
- var C = e ? e.displayName || e.name : "", b = C ? W(C) : "";
278
- return typeof e == "function" && Y.set(e, b), b;
277
+ var D = e ? e.displayName || e.name : "", w = D ? Y(D) : "";
278
+ return typeof e == "function" && L.set(e, w), w;
279
279
  }
280
- function Ve(e, r, t) {
281
- return se(e, !1);
280
+ function Me(e, r, t) {
281
+ return ue(e, !1);
282
282
  }
283
- function Me(e) {
283
+ function Ve(e) {
284
284
  var r = e.prototype;
285
285
  return !!(r && r.isReactComponent);
286
286
  }
287
- function L(e, r, t) {
287
+ function M(e, r, t) {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return se(e, Me(e));
291
+ return ue(e, Ve(e));
292
292
  if (typeof e == "string")
293
- return W(e);
293
+ return Y(e);
294
294
  switch (e) {
295
295
  case T:
296
- return W("Suspense");
297
- case p:
298
- return W("SuspenseList");
296
+ return Y("Suspense");
297
+ case E:
298
+ return Y("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
- case f:
303
- return Ve(e.render);
304
- case E:
305
- return L(e.type, r, t);
306
- case R: {
307
- var n = e, o = n._payload, u = n._init;
302
+ case p:
303
+ return Me(e.render);
304
+ case x:
305
+ return M(e.type, r, t);
306
+ case S: {
307
+ var a = e, o = a._payload, s = a._init;
308
308
  try {
309
- return L(u(o), r, t);
309
+ return M(s(o), r, t);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var k = Object.prototype.hasOwnProperty, le = {}, fe = O.ReactDebugCurrentFrame;
316
+ var N = Object.prototype.hasOwnProperty, ce = {}, fe = k.ReactDebugCurrentFrame;
317
317
  function V(e) {
318
318
  if (e) {
319
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
319
+ var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
320
320
  fe.setExtraStackFrame(t);
321
321
  } else
322
322
  fe.setExtraStackFrame(null);
323
323
  }
324
- function Ue(e, r, t, n, o) {
324
+ function Ue(e, r, t, a, o) {
325
325
  {
326
- var u = Function.call.bind(k);
326
+ var s = Function.call.bind(N);
327
327
  for (var i in e)
328
- if (u(e, i)) {
329
- var a = void 0;
328
+ if (s(e, i)) {
329
+ var n = void 0;
330
330
  try {
331
331
  if (typeof e[i] != "function") {
332
- var v = 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`.");
333
- throw v.name = "Invariant Violation", v;
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`.");
333
+ throw g.name = "Invariant Violation", g;
334
334
  }
335
- a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (s) {
337
- a = s;
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;
338
338
  }
339
- a && !(a instanceof Error) && (V(o), c("%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), V(null)), a instanceof Error && !(a.message in le) && (le[a.message] = !0, V(o), c("Failed %s type: %s", t, a.message), V(null));
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));
340
340
  }
341
341
  }
342
342
  }
343
- var Ne = Array.isArray;
344
- function B(e) {
345
- return Ne(e);
343
+ var Be = Array.isArray;
344
+ function G(e) {
345
+ return Be(e);
346
346
  }
347
347
  function Je(e) {
348
348
  {
@@ -352,47 +352,47 @@ function cr() {
352
352
  }
353
353
  function qe(e) {
354
354
  try {
355
- return ce(e), !1;
355
+ return de(e), !1;
356
356
  } catch {
357
357
  return !0;
358
358
  }
359
359
  }
360
- function ce(e) {
360
+ function de(e) {
361
361
  return "" + e;
362
362
  }
363
363
  function ve(e) {
364
364
  if (qe(e))
365
- return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), ce(e);
365
+ return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), de(e);
366
366
  }
367
- var de = O.ReactCurrentOwner, Be = {
367
+ var pe = k.ReactCurrentOwner, Ge = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, pe, ge;
373
- function Ke(e) {
374
- if (k.call(e, "ref")) {
372
+ }, be, me;
373
+ function ze(e) {
374
+ if (N.call(e, "ref")) {
375
375
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
376
376
  if (r && r.isReactWarning)
377
377
  return !1;
378
378
  }
379
379
  return e.ref !== void 0;
380
380
  }
381
- function Ge(e) {
382
- if (k.call(e, "key")) {
381
+ function Xe(e) {
382
+ if (N.call(e, "key")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
384
384
  if (r && r.isReactWarning)
385
385
  return !1;
386
386
  }
387
387
  return e.key !== void 0;
388
388
  }
389
- function ze(e, r) {
390
- typeof e.ref == "string" && de.current;
389
+ function He(e, r) {
390
+ typeof e.ref == "string" && pe.current;
391
391
  }
392
- function Xe(e, r) {
392
+ function Ze(e, r) {
393
393
  {
394
394
  var t = function() {
395
- pe || (pe = !0, c("%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, 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));
396
396
  };
397
397
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
398
398
  get: t,
@@ -400,10 +400,10 @@ function cr() {
400
400
  });
401
401
  }
402
402
  }
403
- function He(e, r) {
403
+ function Qe(e, r) {
404
404
  {
405
405
  var t = function() {
406
- ge || (ge = !0, c("%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
+ me || (me = !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));
407
407
  };
408
408
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
409
  get: t,
@@ -411,70 +411,70 @@ function cr() {
411
411
  });
412
412
  }
413
413
  }
414
- var Ze = function(e, r, t, n, o, u, i) {
415
- var a = {
414
+ var Ke = function(e, r, t, a, o, s, i) {
415
+ var n = {
416
416
  // This tag allows us to uniquely identify this as a React Element
417
- $$typeof: w,
417
+ $$typeof: u,
418
418
  // Built-in properties that belong on the element
419
419
  type: e,
420
420
  key: r,
421
421
  ref: t,
422
422
  props: i,
423
423
  // Record the component responsible for creating this element.
424
- _owner: u
424
+ _owner: s
425
425
  };
426
- return a._store = {}, Object.defineProperty(a._store, "validated", {
426
+ return n._store = {}, Object.defineProperty(n._store, "validated", {
427
427
  configurable: !1,
428
428
  enumerable: !1,
429
429
  writable: !0,
430
430
  value: !1
431
- }), Object.defineProperty(a, "_self", {
431
+ }), Object.defineProperty(n, "_self", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !1,
435
- value: n
436
- }), Object.defineProperty(a, "_source", {
435
+ value: a
436
+ }), Object.defineProperty(n, "_source", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
440
  value: o
441
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
441
+ }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
442
442
  };
443
- function Qe(e, r, t, n, o) {
443
+ function er(e, r, t, a, o) {
444
444
  {
445
- var u, i = {}, a = null, v = null;
446
- t !== void 0 && (ve(t), a = "" + t), Ge(r) && (ve(r.key), a = "" + r.key), Ke(r) && (v = r.ref, ze(r, o));
447
- for (u in r)
448
- k.call(r, u) && !Be.hasOwnProperty(u) && (i[u] = r[u]);
445
+ var s, i = {}, n = null, g = null;
446
+ t !== void 0 && (ve(t), n = "" + t), Xe(r) && (ve(r.key), n = "" + r.key), ze(r) && (g = r.ref, He(r, o));
447
+ for (s in r)
448
+ N.call(r, s) && !Ge.hasOwnProperty(s) && (i[s] = r[s]);
449
449
  if (e && e.defaultProps) {
450
- var s = e.defaultProps;
451
- for (u in s)
452
- i[u] === void 0 && (i[u] = s[u]);
450
+ var f = e.defaultProps;
451
+ for (s in f)
452
+ i[s] === void 0 && (i[s] = f[s]);
453
453
  }
454
- if (a || v) {
455
- var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- a && Xe(i, l), v && He(i, l);
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);
457
457
  }
458
- return Ze(e, a, v, o, n, de.current, i);
458
+ return Ke(e, n, g, o, a, pe.current, i);
459
459
  }
460
460
  }
461
- var K = O.ReactCurrentOwner, Ee = O.ReactDebugCurrentFrame;
462
- function S(e) {
461
+ var z = k.ReactCurrentOwner, he = k.ReactDebugCurrentFrame;
462
+ function $(e) {
463
463
  if (e) {
464
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
465
- Ee.setExtraStackFrame(t);
464
+ var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
465
+ he.setExtraStackFrame(t);
466
466
  } else
467
- Ee.setExtraStackFrame(null);
467
+ he.setExtraStackFrame(null);
468
468
  }
469
- var G;
470
- G = !1;
471
- function z(e) {
472
- return typeof e == "object" && e !== null && e.$$typeof === w;
469
+ var X;
470
+ X = !1;
471
+ function H(e) {
472
+ return typeof e == "object" && e !== null && e.$$typeof === u;
473
473
  }
474
- function he() {
474
+ function ge() {
475
475
  {
476
- if (K.current) {
477
- var e = h(K.current.type);
476
+ if (z.current) {
477
+ var e = C(z.current.type);
478
478
  if (e)
479
479
  return `
480
480
 
@@ -483,13 +483,13 @@ Check the render method of \`` + e + "`.";
483
483
  return "";
484
484
  }
485
485
  }
486
- function er(e) {
486
+ function rr(e) {
487
487
  return "";
488
488
  }
489
- var ye = {};
490
- function rr(e) {
489
+ var Ee = {};
490
+ function tr(e) {
491
491
  {
492
- var r = he();
492
+ var r = ge();
493
493
  if (!r) {
494
494
  var t = typeof e == "string" ? e : e.displayName || e.name;
495
495
  t && (r = `
@@ -504,34 +504,34 @@ Check the top-level render call using <` + t + ">.");
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
- var t = rr(r);
508
- if (ye[t])
507
+ var t = tr(r);
508
+ if (Ee[t])
509
509
  return;
510
- ye[t] = !0;
511
- var n = "";
512
- e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + h(e._owner.type) + "."), S(e), c('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), S(null);
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);
513
513
  }
514
514
  }
515
515
  function _e(e, r) {
516
516
  {
517
517
  if (typeof e != "object")
518
518
  return;
519
- if (B(e))
519
+ if (G(e))
520
520
  for (var t = 0; t < e.length; t++) {
521
- var n = e[t];
522
- z(n) && Re(n, r);
521
+ var a = e[t];
522
+ H(a) && Re(a, r);
523
523
  }
524
- else if (z(e))
524
+ else if (H(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var o = we(e);
527
+ var o = Pe(e);
528
528
  if (typeof o == "function" && o !== e.entries)
529
- for (var u = o.call(e), i; !(i = u.next()).done; )
530
- z(i.value) && Re(i.value, r);
529
+ for (var s = o.call(e), i; !(i = s.next()).done; )
530
+ H(i.value) && Re(i.value, r);
531
531
  }
532
532
  }
533
533
  }
534
- function tr(e) {
534
+ function ar(e) {
535
535
  {
536
536
  var r = e.type;
537
537
  if (r == null || typeof r == "string")
@@ -539,96 +539,196 @@ Check the top-level render call using <` + t + ">.");
539
539
  var t;
540
540
  if (typeof r == "function")
541
541
  t = r.propTypes;
542
- else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
542
+ else if (typeof r == "object" && (r.$$typeof === p || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
- r.$$typeof === E))
544
+ r.$$typeof === x))
545
545
  t = r.propTypes;
546
546
  else
547
547
  return;
548
548
  if (t) {
549
- var n = h(r);
550
- Ue(t, e.props, "prop", n, e);
551
- } else if (r.PropTypes !== void 0 && !G) {
552
- G = !0;
553
- var o = h(r);
554
- c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
549
+ var a = C(r);
550
+ Ue(t, e.props, "prop", a, e);
551
+ } else if (r.PropTypes !== void 0 && !X) {
552
+ X = !0;
553
+ var o = C(r);
554
+ h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
555
555
  }
556
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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
559
  function nr(e) {
560
560
  {
561
561
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
562
- var n = r[t];
563
- if (n !== "children" && n !== "key") {
564
- S(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
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);
565
565
  break;
566
566
  }
567
567
  }
568
- e.ref !== null && (S(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
568
+ e.ref !== null && ($(e), h("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
569
569
  }
570
570
  }
571
- var be = {};
572
- function me(e, r, t, n, o, u) {
571
+ var ye = {};
572
+ function xe(e, r, t, a, o, s) {
573
573
  {
574
- var i = Ie(e);
574
+ var i = Ae(e);
575
575
  if (!i) {
576
- var a = "";
577
- (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.");
578
- var v = er();
579
- v ? a += v : a += he();
580
- var s;
581
- e === null ? s = "null" : B(e) ? s = "array" : e !== void 0 && e.$$typeof === w ? (s = "<" + (h(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
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.");
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);
582
582
  }
583
- var l = Qe(e, r, t, o, u);
584
- if (l == null)
585
- return l;
583
+ var d = er(e, r, t, o, s);
584
+ if (d == null)
585
+ return d;
586
586
  if (i) {
587
- var g = r.children;
588
- if (g !== void 0)
589
- if (n)
590
- if (B(g)) {
591
- for (var C = 0; C < g.length; C++)
592
- _e(g[C], e);
593
- Object.freeze && Object.freeze(g);
587
+ var y = r.children;
588
+ if (y !== void 0)
589
+ if (a)
590
+ if (G(y)) {
591
+ for (var D = 0; D < y.length; D++)
592
+ _e(y[D], e);
593
+ Object.freeze && Object.freeze(y);
594
594
  } else
595
- c("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
+ 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.");
596
596
  else
597
- _e(g, e);
597
+ _e(y, e);
598
598
  }
599
- if (k.call(r, "key")) {
600
- var b = h(e), d = Object.keys(r).filter(function(lr) {
601
- return lr !== "key";
602
- }), X = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!be[b + X]) {
604
- var sr = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
605
- c(`A props object containing a "key" prop is being spread into JSX:
599
+ if (N.call(r, "key")) {
600
+ var w = C(e), R = Object.keys(r).filter(function(cr) {
601
+ return cr !== "key";
602
+ }), Z = R.length > 0 ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ if (!ye[w + Z]) {
604
+ var ur = R.length > 0 ? "{" + R.join(": ..., ") + ": ...}" : "{}";
605
+ h(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
608
608
  React keys must be passed directly to JSX without using spread:
609
609
  let props = %s;
610
- <%s key={someKey} {...props} />`, X, b, sr, b), be[b + X] = !0;
610
+ <%s key={someKey} {...props} />`, Z, w, ur, w), ye[w + Z] = !0;
611
611
  }
612
612
  }
613
- return e === m ? nr(l) : tr(l), l;
613
+ return e === c ? nr(d) : ar(d), d;
614
614
  }
615
615
  }
616
- function ar(e, r, t) {
617
- return me(e, r, t, !0);
618
- }
619
616
  function ir(e, r, t) {
620
- return me(e, r, t, !1);
617
+ return xe(e, r, t, !0);
618
+ }
619
+ function or(e, r, t) {
620
+ return xe(e, r, t, !1);
621
621
  }
622
- var or = ir, ur = ar;
623
- F.Fragment = m, F.jsx = or, F.jsxs = ur;
624
- }()), F;
622
+ var sr = or, lr = ir;
623
+ I.Fragment = c, I.jsx = sr, I.jsxs = lr;
624
+ }()), I;
625
625
  }
626
- var Se;
626
+ var Ce;
627
627
  function vr() {
628
- return Se || (Se = 1, process.env.NODE_ENV === "production" ? M.exports = fr() : M.exports = cr()), M.exports;
628
+ return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? U.exports = fr() : U.exports = dr()), U.exports;
629
629
  }
630
- var dr = vr();
631
- const gr = ({ text: P }) => /* @__PURE__ */ dr.jsx("div", { children: P });
630
+ var l = vr();
631
+ const pr = ({
632
+ type: b = "default",
633
+ title: u,
634
+ size: v,
635
+ label: c,
636
+ onClick: m,
637
+ isDisabled: _ = !1,
638
+ children: O,
639
+ className: j = ""
640
+ }) => {
641
+ const p = `btn-${b}`, T = v ? `btn-${v}` : "", x = `${`btn ${p} ${T}`.trim()} ${j}`.trim();
642
+ return /* @__PURE__ */ l.jsx(
643
+ "button",
644
+ {
645
+ className: x,
646
+ type: "button",
647
+ onClick: m,
648
+ disabled: _,
649
+ children: /* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
650
+ O || c,
651
+ " ",
652
+ u
653
+ ] })
654
+ }
655
+ );
656
+ }, hr = ({ children: b, eventKey: u, active: v }) => /* @__PURE__ */ l.jsx(
657
+ "div",
658
+ {
659
+ className: `tab-pane ${v ? "active" : ""}`,
660
+ id: `${u}-panel`,
661
+ role: "tabpanel",
662
+ "aria-labelledby": `${u}-tab`,
663
+ children: b
664
+ },
665
+ u
666
+ ), gr = ({ activeKey: b, onSelect: u, children: v }) => /* @__PURE__ */ l.jsxs("div", { className: "tabs-container", children: [
667
+ /* @__PURE__ */ l.jsx("ul", { className: "nav nav-tabs", role: "tablist", children: v.map(({ props: { eventKey: c, title: m } }) => /* @__PURE__ */ l.jsx("li", { className: b === c ? "active" : "", children: /* @__PURE__ */ l.jsx(
668
+ "a",
669
+ {
670
+ href: `#${c}`,
671
+ onClick: (_) => {
672
+ _.preventDefault(), u(c);
673
+ },
674
+ children: m
675
+ }
676
+ ) }, c)) }),
677
+ /* @__PURE__ */ l.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ l.jsx("div", { className: "tab-content pf-c-tab-content", children: v.map(({ props: { eventKey: c, children: m } }) => /* @__PURE__ */ l.jsx(
678
+ "div",
679
+ {
680
+ className: `tab-pane ${b === c ? "active" : ""}`,
681
+ id: `${c}-panel`,
682
+ role: "tabpanel",
683
+ "aria-labelledby": `${c}-tab`,
684
+ children: m
685
+ },
686
+ c
687
+ )) }) })
688
+ ] }), Er = ({
689
+ id: b,
690
+ type: u,
691
+ placeholder: v = "",
692
+ value: c,
693
+ onChange: m,
694
+ className: _ = "form-control"
695
+ }) => /* @__PURE__ */ l.jsx(
696
+ "input",
697
+ {
698
+ type: u,
699
+ id: b,
700
+ className: _,
701
+ placeholder: v,
702
+ value: c,
703
+ onChange: m
704
+ }
705
+ ), Rr = ({ title: b, isOpen: u, onClose: v, children: c, size: m }) => {
706
+ if (!u) return null;
707
+ const _ = 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 ${_}`, 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: v, "aria-hidden": "true", children: /* @__PURE__ */ l.jsx("span", { className: "pficon pficon-close" }) }),
711
+ /* @__PURE__ */ l.jsx("h4", { className: "modal-title", children: b })
712
+ ] }),
713
+ /* @__PURE__ */ l.jsx("div", { className: "modal-body", children: c })
714
+ ] }) }) });
715
+ }, br = ({ items: b }) => /* @__PURE__ */ l.jsx("ol", { className: "breadcrumb", children: b.map((u, v) => /* @__PURE__ */ l.jsx("li", { className: u.active ? "active" : "", children: u.active ? u.title : /* @__PURE__ */ l.jsx("a", { href: u.href, children: u.title }) }, v)) }), _r = () => /* @__PURE__ */ l.jsxs("div", { children: [
716
+ /* @__PURE__ */ l.jsx(
717
+ br,
718
+ {
719
+ items: [
720
+ { title: "Дополнения", active: !0 },
721
+ { title: "Название плагина", href: "#Название плагина" }
722
+ ]
723
+ }
724
+ ),
725
+ /* @__PURE__ */ l.jsx(pr, { children: "Hello" })
726
+ ] });
632
727
  export {
633
- gr as SampleComp
728
+ pr as Button,
729
+ Er as Input,
730
+ Rr as Modal,
731
+ _r as SampleComp,
732
+ hr as Tab,
733
+ gr as Tabs
634
734
  };