@dev-blinq/ui-systems 1.0.65 → 1.0.67
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.
- package/dist/components/CustomInput/CustomInputProps.d.ts +2 -0
- package/dist/index.js +9 -9
- package/dist/index.mjs +298 -276
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Ln from "react";
|
|
2
2
|
import J, { useRef as Ae, useState as I, useEffect as Se } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { Tooltip as Ee, Typography as Re } from "@mui/material";
|
|
4
4
|
function Me(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
@@ -18,15 +18,15 @@ var Gn;
|
|
|
18
18
|
function Ne() {
|
|
19
19
|
if (Gn) return w;
|
|
20
20
|
Gn = 1;
|
|
21
|
-
var e = J, o = Symbol.for("react.element"),
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
D !== void 0 && (
|
|
25
|
-
for (
|
|
26
|
-
if (
|
|
27
|
-
return { $$typeof: o, type:
|
|
21
|
+
var e = J, o = Symbol.for("react.element"), d = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function g(f, s, D) {
|
|
23
|
+
var m, A = {}, R = null, B = null;
|
|
24
|
+
D !== void 0 && (R = "" + D), s.key !== void 0 && (R = "" + s.key), s.ref !== void 0 && (B = s.ref);
|
|
25
|
+
for (m in s) l.call(s, m) && !h.hasOwnProperty(m) && (A[m] = s[m]);
|
|
26
|
+
if (f && f.defaultProps) for (m in s = f.defaultProps, s) A[m] === void 0 && (A[m] = s[m]);
|
|
27
|
+
return { $$typeof: o, type: f, key: R, ref: B, props: A, _owner: v.current };
|
|
28
28
|
}
|
|
29
|
-
return w.Fragment =
|
|
29
|
+
return w.Fragment = d, w.jsx = g, w.jsxs = g, w;
|
|
30
30
|
}
|
|
31
31
|
var V = {};
|
|
32
32
|
/**
|
|
@@ -41,14 +41,14 @@ var V = {};
|
|
|
41
41
|
var In;
|
|
42
42
|
function De() {
|
|
43
43
|
return In || (In = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var e = J, o = Symbol.for("react.element"),
|
|
44
|
+
var e = J, o = Symbol.for("react.element"), d = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), f = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), O = Symbol.iterator, H = "@@iterator";
|
|
45
45
|
function _(n) {
|
|
46
46
|
if (n === null || typeof n != "object")
|
|
47
47
|
return null;
|
|
48
48
|
var a = O && n[O] || n[H];
|
|
49
49
|
return typeof a == "function" ? a : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var F = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function E(n) {
|
|
53
53
|
{
|
|
54
54
|
for (var a = arguments.length, r = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++)
|
|
@@ -58,18 +58,18 @@ function De() {
|
|
|
58
58
|
}
|
|
59
59
|
function Kn(n, a, r) {
|
|
60
60
|
{
|
|
61
|
-
var i =
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
61
|
+
var i = F.ReactDebugCurrentFrame, p = i.getStackAddendum();
|
|
62
|
+
p !== "" && (a += "%s", r = r.concat([p]));
|
|
63
|
+
var y = r.map(function(c) {
|
|
64
|
+
return String(c);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
y.unshift("Warning: " + a), Function.prototype.apply.call(console[n], console, y);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
var jn = !1, wn = !1, Vn = !1, Hn = !1, _n = !1, sn;
|
|
70
70
|
sn = Symbol.for("react.module.reference");
|
|
71
71
|
function Wn(n) {
|
|
72
|
-
return !!(typeof n == "string" || typeof n == "function" || n ===
|
|
72
|
+
return !!(typeof n == "string" || typeof n == "function" || n === l || n === h || _n || n === v || n === D || n === m || Hn || n === B || jn || wn || Vn || typeof n == "object" && n !== null && (n.$$typeof === R || n.$$typeof === A || n.$$typeof === g || n.$$typeof === f || n.$$typeof === s || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
@@ -79,8 +79,8 @@ function De() {
|
|
|
79
79
|
var i = n.displayName;
|
|
80
80
|
if (i)
|
|
81
81
|
return i;
|
|
82
|
-
var
|
|
83
|
-
return
|
|
82
|
+
var p = a.displayName || a.name || "";
|
|
83
|
+
return p !== "" ? r + "(" + p + ")" : r;
|
|
84
84
|
}
|
|
85
85
|
function pn(n) {
|
|
86
86
|
return n.displayName || "Context";
|
|
@@ -93,36 +93,36 @@ function De() {
|
|
|
93
93
|
if (typeof n == "string")
|
|
94
94
|
return n;
|
|
95
95
|
switch (n) {
|
|
96
|
-
case
|
|
96
|
+
case l:
|
|
97
97
|
return "Fragment";
|
|
98
|
-
case
|
|
98
|
+
case d:
|
|
99
99
|
return "Portal";
|
|
100
|
-
case
|
|
100
|
+
case h:
|
|
101
101
|
return "Profiler";
|
|
102
|
-
case
|
|
102
|
+
case v:
|
|
103
103
|
return "StrictMode";
|
|
104
104
|
case D:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case m:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof n == "object")
|
|
110
110
|
switch (n.$$typeof) {
|
|
111
|
-
case
|
|
111
|
+
case f:
|
|
112
112
|
var a = n;
|
|
113
113
|
return pn(a) + ".Consumer";
|
|
114
|
-
case
|
|
114
|
+
case g:
|
|
115
115
|
var r = n;
|
|
116
116
|
return pn(r._context) + ".Provider";
|
|
117
|
-
case
|
|
117
|
+
case s:
|
|
118
118
|
return Yn(n, n.render, "ForwardRef");
|
|
119
|
-
case
|
|
119
|
+
case A:
|
|
120
120
|
var i = n.displayName || null;
|
|
121
121
|
return i !== null ? i : b(n.type) || "Memo";
|
|
122
|
-
case
|
|
123
|
-
var
|
|
122
|
+
case R: {
|
|
123
|
+
var p = n, y = p._payload, c = p._init;
|
|
124
124
|
try {
|
|
125
|
-
return b(
|
|
125
|
+
return b(c(y));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -192,14 +192,14 @@ function De() {
|
|
|
192
192
|
k < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var z =
|
|
195
|
+
var z = F.ReactCurrentDispatcher, X;
|
|
196
196
|
function W(n, a, r) {
|
|
197
197
|
{
|
|
198
198
|
if (X === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var i =
|
|
201
|
+
} catch (p) {
|
|
202
|
+
var i = p.stack.trim().match(/\n( *(at )?)/);
|
|
203
203
|
X = i && i[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
@@ -221,63 +221,63 @@ function De() {
|
|
|
221
221
|
}
|
|
222
222
|
var i;
|
|
223
223
|
q = !0;
|
|
224
|
-
var
|
|
224
|
+
var p = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var y;
|
|
227
|
+
y = z.current, z.current = null, Zn();
|
|
228
228
|
try {
|
|
229
229
|
if (a) {
|
|
230
|
-
var
|
|
230
|
+
var c = function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
233
|
+
if (Object.defineProperty(c.prototype, "props", {
|
|
234
234
|
set: function() {
|
|
235
235
|
throw Error();
|
|
236
236
|
}
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
-
} catch (
|
|
241
|
-
i =
|
|
239
|
+
Reflect.construct(c, []);
|
|
240
|
+
} catch (N) {
|
|
241
|
+
i = N;
|
|
242
242
|
}
|
|
243
|
-
Reflect.construct(n, [],
|
|
243
|
+
Reflect.construct(n, [], c);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
|
-
|
|
247
|
-
} catch (
|
|
248
|
-
i =
|
|
246
|
+
c.call();
|
|
247
|
+
} catch (N) {
|
|
248
|
+
i = N;
|
|
249
249
|
}
|
|
250
|
-
n.call(
|
|
250
|
+
n.call(c.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
i =
|
|
255
|
+
} catch (N) {
|
|
256
|
+
i = N;
|
|
257
257
|
}
|
|
258
258
|
n();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var u =
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (u[
|
|
268
|
-
if (
|
|
260
|
+
} catch (N) {
|
|
261
|
+
if (N && i && typeof N.stack == "string") {
|
|
262
|
+
for (var u = N.stack.split(`
|
|
263
|
+
`), M = i.stack.split(`
|
|
264
|
+
`), C = u.length - 1, S = M.length - 1; C >= 1 && S >= 0 && u[C] !== M[S]; )
|
|
265
|
+
S--;
|
|
266
|
+
for (; C >= 1 && S >= 0; C--, S--)
|
|
267
|
+
if (u[C] !== M[S]) {
|
|
268
|
+
if (C !== 1 || S !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
270
|
+
if (C--, S--, S < 0 || u[C] !== M[S]) {
|
|
271
271
|
var T = `
|
|
272
|
-
` + u[
|
|
272
|
+
` + u[C].replace(" at new ", " at ");
|
|
273
273
|
return n.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", n.displayName)), typeof n == "function" && Y.set(n, T), T;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (C >= 1 && S >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
q = !1, z.current =
|
|
280
|
+
q = !1, z.current = y, $n(), Error.prepareStackTrace = p;
|
|
281
281
|
}
|
|
282
282
|
var G = n ? n.displayName || n.name : "", x = G ? W(G) : "";
|
|
283
283
|
return typeof n == "function" && Y.set(n, x), x;
|
|
@@ -299,26 +299,26 @@ function De() {
|
|
|
299
299
|
switch (n) {
|
|
300
300
|
case D:
|
|
301
301
|
return W("Suspense");
|
|
302
|
-
case
|
|
302
|
+
case m:
|
|
303
303
|
return W("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof n == "object")
|
|
306
306
|
switch (n.$$typeof) {
|
|
307
|
-
case
|
|
307
|
+
case s:
|
|
308
308
|
return zn(n.render);
|
|
309
|
-
case
|
|
309
|
+
case A:
|
|
310
310
|
return Z(n.type, a, r);
|
|
311
|
-
case
|
|
312
|
-
var i = n,
|
|
311
|
+
case R: {
|
|
312
|
+
var i = n, p = i._payload, y = i._init;
|
|
313
313
|
try {
|
|
314
|
-
return Z(
|
|
314
|
+
return Z(y(p), a, r);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var K = Object.prototype.hasOwnProperty, Sn = {}, En =
|
|
321
|
+
var K = Object.prototype.hasOwnProperty, Sn = {}, En = F.ReactDebugCurrentFrame;
|
|
322
322
|
function $(n) {
|
|
323
323
|
if (n) {
|
|
324
324
|
var a = n._owner, r = Z(n.type, n._source, a ? a.type : null);
|
|
@@ -326,22 +326,22 @@ function De() {
|
|
|
326
326
|
} else
|
|
327
327
|
En.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function qn(n, a, r, i,
|
|
329
|
+
function qn(n, a, r, i, p) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
331
|
+
var y = Function.call.bind(K);
|
|
332
|
+
for (var c in n)
|
|
333
|
+
if (y(n, c)) {
|
|
334
334
|
var u = void 0;
|
|
335
335
|
try {
|
|
336
|
-
if (typeof n[
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
336
|
+
if (typeof n[c] != "function") {
|
|
337
|
+
var M = Error((i || "React class") + ": " + r + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw M.name = "Invariant Violation", M;
|
|
339
339
|
}
|
|
340
|
-
u = n[
|
|
341
|
-
} catch (
|
|
342
|
-
u =
|
|
340
|
+
u = n[c](a, c, i, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (C) {
|
|
342
|
+
u = C;
|
|
343
343
|
}
|
|
344
|
-
u && !(u instanceof Error) && ($(
|
|
344
|
+
u && !(u instanceof Error) && ($(p), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", r, c, typeof u), $(null)), u instanceof Error && !(u.message in Sn) && (Sn[u.message] = !0, $(p), E("Failed %s type: %s", r, u.message), $(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -369,7 +369,7 @@ function De() {
|
|
|
369
369
|
if (ee(n))
|
|
370
370
|
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ne(n)), Rn(n);
|
|
371
371
|
}
|
|
372
|
-
var j =
|
|
372
|
+
var j = F.ReactCurrentOwner, ae = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
@@ -420,7 +420,7 @@ function De() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var ce = function(n, a, r, i,
|
|
423
|
+
var ce = function(n, a, r, i, p, y, c) {
|
|
424
424
|
var u = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: o,
|
|
@@ -428,9 +428,9 @@ function De() {
|
|
|
428
428
|
type: n,
|
|
429
429
|
key: a,
|
|
430
430
|
ref: r,
|
|
431
|
-
props:
|
|
431
|
+
props: c,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
433
|
+
_owner: y
|
|
434
434
|
};
|
|
435
435
|
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
436
436
|
configurable: !1,
|
|
@@ -446,28 +446,28 @@ function De() {
|
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
|
-
value:
|
|
449
|
+
value: p
|
|
450
450
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
451
451
|
};
|
|
452
|
-
function le(n, a, r, i,
|
|
452
|
+
function le(n, a, r, i, p) {
|
|
453
453
|
{
|
|
454
|
-
var
|
|
455
|
-
r !== void 0 && (Mn(r), u = "" + r), re(a) && (Mn(a.key), u = "" + a.key), te(a) && (
|
|
456
|
-
for (
|
|
457
|
-
K.call(a,
|
|
454
|
+
var y, c = {}, u = null, M = null;
|
|
455
|
+
r !== void 0 && (Mn(r), u = "" + r), re(a) && (Mn(a.key), u = "" + a.key), te(a) && (M = a.ref, ie(a, p));
|
|
456
|
+
for (y in a)
|
|
457
|
+
K.call(a, y) && !ae.hasOwnProperty(y) && (c[y] = a[y]);
|
|
458
458
|
if (n && n.defaultProps) {
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
|
|
459
|
+
var C = n.defaultProps;
|
|
460
|
+
for (y in C)
|
|
461
|
+
c[y] === void 0 && (c[y] = C[y]);
|
|
462
462
|
}
|
|
463
|
-
if (u ||
|
|
464
|
-
var
|
|
465
|
-
u && ue(
|
|
463
|
+
if (u || M) {
|
|
464
|
+
var S = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
465
|
+
u && ue(c, S), M && oe(c, S);
|
|
466
466
|
}
|
|
467
|
-
return ce(n, u,
|
|
467
|
+
return ce(n, u, M, p, i, j.current, c);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var en =
|
|
470
|
+
var en = F.ReactCurrentOwner, Tn = F.ReactDebugCurrentFrame;
|
|
471
471
|
function L(n) {
|
|
472
472
|
if (n) {
|
|
473
473
|
var a = n._owner, r = Z(n.type, n._source, a ? a.type : null);
|
|
@@ -533,10 +533,10 @@ Check the top-level render call using <` + r + ">.");
|
|
|
533
533
|
else if (tn(n))
|
|
534
534
|
n._store && (n._store.validated = !0);
|
|
535
535
|
else if (n) {
|
|
536
|
-
var
|
|
537
|
-
if (typeof
|
|
538
|
-
for (var
|
|
539
|
-
tn(
|
|
536
|
+
var p = _(n);
|
|
537
|
+
if (typeof p == "function" && p !== n.entries)
|
|
538
|
+
for (var y = p.call(n), c; !(c = y.next()).done; )
|
|
539
|
+
tn(c.value) && Fn(c.value, a);
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
}
|
|
@@ -548,9 +548,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
548
548
|
var r;
|
|
549
549
|
if (typeof a == "function")
|
|
550
550
|
r = a.propTypes;
|
|
551
|
-
else if (typeof a == "object" && (a.$$typeof ===
|
|
551
|
+
else if (typeof a == "object" && (a.$$typeof === s || // Note: Memo only checks outer props here.
|
|
552
552
|
// Inner props are checked in the reconciler.
|
|
553
|
-
a.$$typeof ===
|
|
553
|
+
a.$$typeof === A))
|
|
554
554
|
r = a.propTypes;
|
|
555
555
|
else
|
|
556
556
|
return;
|
|
@@ -559,8 +559,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
559
559
|
qn(r, n.props, "prop", i, n);
|
|
560
560
|
} else if (a.PropTypes !== void 0 && !an) {
|
|
561
561
|
an = !0;
|
|
562
|
-
var
|
|
563
|
-
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
562
|
+
var p = b(a);
|
|
563
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
564
564
|
}
|
|
565
565
|
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
566
|
}
|
|
@@ -578,21 +578,21 @@ Check the top-level render call using <` + r + ">.");
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
var Pn = {};
|
|
581
|
-
function xn(n, a, r, i,
|
|
581
|
+
function xn(n, a, r, i, p, y) {
|
|
582
582
|
{
|
|
583
|
-
var
|
|
584
|
-
if (!
|
|
583
|
+
var c = Wn(n);
|
|
584
|
+
if (!c) {
|
|
585
585
|
var u = "";
|
|
586
586
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
587
|
-
var
|
|
588
|
-
|
|
589
|
-
var
|
|
590
|
-
n === null ?
|
|
587
|
+
var M = se();
|
|
588
|
+
M ? u += M : u += bn();
|
|
589
|
+
var C;
|
|
590
|
+
n === null ? C = "null" : Q(n) ? C = "array" : n !== void 0 && n.$$typeof === o ? (C = "<" + (b(n.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : C = typeof n, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, u);
|
|
591
591
|
}
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
594
|
-
return
|
|
595
|
-
if (
|
|
592
|
+
var S = le(n, a, r, p, y);
|
|
593
|
+
if (S == null)
|
|
594
|
+
return S;
|
|
595
|
+
if (c) {
|
|
596
596
|
var T = a.children;
|
|
597
597
|
if (T !== void 0)
|
|
598
598
|
if (i)
|
|
@@ -606,11 +606,11 @@ Check the top-level render call using <` + r + ">.");
|
|
|
606
606
|
Un(T, n);
|
|
607
607
|
}
|
|
608
608
|
if (K.call(a, "key")) {
|
|
609
|
-
var x = b(n),
|
|
609
|
+
var x = b(n), N = Object.keys(a).filter(function(Ce) {
|
|
610
610
|
return Ce !== "key";
|
|
611
|
-
}), rn =
|
|
611
|
+
}), rn = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
612
|
if (!Pn[x + rn]) {
|
|
613
|
-
var fe =
|
|
613
|
+
var fe = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
614
614
|
E(`A props object containing a "key" prop is being spread into JSX:
|
|
615
615
|
let props = %s;
|
|
616
616
|
<%s {...props} />
|
|
@@ -619,7 +619,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
619
619
|
<%s key={someKey} {...props} />`, rn, x, fe, x), Pn[x + rn] = !0;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
return n ===
|
|
622
|
+
return n === l ? de(S) : ge(S), S;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
function he(n, a, r) {
|
|
@@ -629,72 +629,92 @@ React keys must be passed directly to JSX without using spread:
|
|
|
629
629
|
return xn(n, a, r, !1);
|
|
630
630
|
}
|
|
631
631
|
var ye = me, ve = he;
|
|
632
|
-
V.Fragment =
|
|
632
|
+
V.Fragment = l, V.jsx = ye, V.jsxs = ve;
|
|
633
633
|
}()), V;
|
|
634
634
|
}
|
|
635
635
|
process.env.NODE_ENV === "production" ? un.exports = Ne() : un.exports = De();
|
|
636
636
|
var t = un.exports;
|
|
637
|
-
const
|
|
638
|
-
Ee,
|
|
639
|
-
{
|
|
640
|
-
className: "TypographyCustom",
|
|
641
|
-
"data-size": o,
|
|
642
|
-
"data-category": p,
|
|
643
|
-
"data-bold": c,
|
|
644
|
-
sx: { fontFamily: 'var(--font-family, "Plus Jakarta Sans", sans-serif)', ...y },
|
|
645
|
-
...g,
|
|
646
|
-
children: e
|
|
647
|
-
}
|
|
648
|
-
), Ye = ({
|
|
637
|
+
const Ye = ({
|
|
649
638
|
size: e = "lg",
|
|
650
639
|
colorHierarchy: o = "brand/primary",
|
|
651
|
-
disabled:
|
|
652
|
-
text:
|
|
653
|
-
leftIcon:
|
|
654
|
-
rightIcon:
|
|
640
|
+
disabled: d = !1,
|
|
641
|
+
text: l,
|
|
642
|
+
leftIcon: v,
|
|
643
|
+
rightIcon: h,
|
|
655
644
|
// onClick,
|
|
656
|
-
...
|
|
657
|
-
}) =>
|
|
645
|
+
...g
|
|
646
|
+
}) => {
|
|
647
|
+
let f = "18px", s = "24px";
|
|
648
|
+
switch (e) {
|
|
649
|
+
case "sm":
|
|
650
|
+
f = "14px", s = "20px";
|
|
651
|
+
break;
|
|
652
|
+
case "md":
|
|
653
|
+
f = "16px", s = "22px";
|
|
654
|
+
break;
|
|
655
|
+
case "lg":
|
|
656
|
+
f = "18px", s = "24px";
|
|
657
|
+
break;
|
|
658
|
+
case "xl":
|
|
659
|
+
f = "20px", s = "28px";
|
|
660
|
+
break;
|
|
661
|
+
default:
|
|
662
|
+
f = "18px", s = "24px";
|
|
663
|
+
}
|
|
664
|
+
return /* @__PURE__ */ t.jsx(Ee, { title: g.title, children: /* @__PURE__ */ t.jsxs(
|
|
665
|
+
"button",
|
|
666
|
+
{
|
|
667
|
+
"data-size": e,
|
|
668
|
+
"data-colorHierarchy": o,
|
|
669
|
+
disabled: d,
|
|
670
|
+
...g,
|
|
671
|
+
className: `button ${l ? "" : "buttonText"} ${g.className}`,
|
|
672
|
+
style: {
|
|
673
|
+
fontSize: f,
|
|
674
|
+
fontWeight: "bold",
|
|
675
|
+
lineHeight: s,
|
|
676
|
+
fontFamily: 'var(--font-family, "Plus Jakarta Sans", sans-serif)',
|
|
677
|
+
...g.style
|
|
678
|
+
},
|
|
679
|
+
children: [
|
|
680
|
+
v && /* @__PURE__ */ t.jsx(
|
|
681
|
+
"span",
|
|
682
|
+
{
|
|
683
|
+
style: {
|
|
684
|
+
display: "flex",
|
|
685
|
+
alignItems: "center",
|
|
686
|
+
justifyContent: "center",
|
|
687
|
+
height: "100%"
|
|
688
|
+
},
|
|
689
|
+
children: v
|
|
690
|
+
}
|
|
691
|
+
),
|
|
692
|
+
l,
|
|
693
|
+
h && /* @__PURE__ */ t.jsx(
|
|
694
|
+
"span",
|
|
695
|
+
{
|
|
696
|
+
style: {
|
|
697
|
+
display: "flex",
|
|
698
|
+
alignItems: "center",
|
|
699
|
+
justifyContent: "center",
|
|
700
|
+
height: "100%"
|
|
701
|
+
},
|
|
702
|
+
children: h
|
|
703
|
+
}
|
|
704
|
+
)
|
|
705
|
+
]
|
|
706
|
+
}
|
|
707
|
+
) });
|
|
708
|
+
}, U = ({ children: e, Size: o, category: d, bold: l, sx: v, ...h }) => /* @__PURE__ */ t.jsx(
|
|
658
709
|
Re,
|
|
659
710
|
{
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
...d,
|
|
668
|
-
className: `button ${c ? "" : "buttonText"} ${d.className}`,
|
|
669
|
-
children: [
|
|
670
|
-
y && /* @__PURE__ */ t.jsx(
|
|
671
|
-
"span",
|
|
672
|
-
{
|
|
673
|
-
style: {
|
|
674
|
-
display: "flex",
|
|
675
|
-
alignItems: "center",
|
|
676
|
-
justifyContent: "center",
|
|
677
|
-
height: "100%"
|
|
678
|
-
},
|
|
679
|
-
children: y
|
|
680
|
-
}
|
|
681
|
-
),
|
|
682
|
-
c && /* @__PURE__ */ t.jsx(B, { className: "input-typography", category: "text", Size: e, bold: "bold", children: c }),
|
|
683
|
-
g && /* @__PURE__ */ t.jsx(
|
|
684
|
-
"span",
|
|
685
|
-
{
|
|
686
|
-
style: {
|
|
687
|
-
display: "flex",
|
|
688
|
-
alignItems: "center",
|
|
689
|
-
justifyContent: "center",
|
|
690
|
-
height: "100%"
|
|
691
|
-
},
|
|
692
|
-
children: g
|
|
693
|
-
}
|
|
694
|
-
)
|
|
695
|
-
]
|
|
696
|
-
}
|
|
697
|
-
)
|
|
711
|
+
className: "TypographyCustom",
|
|
712
|
+
"data-size": o,
|
|
713
|
+
"data-category": d,
|
|
714
|
+
"data-bold": l,
|
|
715
|
+
sx: { fontFamily: 'var(--font-family, "Plus Jakarta Sans", sans-serif)', ...v },
|
|
716
|
+
...h,
|
|
717
|
+
children: e
|
|
698
718
|
}
|
|
699
719
|
), On = (e) => /* @__PURE__ */ t.jsxs(
|
|
700
720
|
"div",
|
|
@@ -746,14 +766,14 @@ const B = ({ children: e, Size: o, category: p, bold: c, sx: y, ...g }) => /* @_
|
|
|
746
766
|
),
|
|
747
767
|
/* @__PURE__ */ t.jsxs("div", { className: "grey-box grey-right-box", children: [
|
|
748
768
|
/* @__PURE__ */ t.jsx(
|
|
749
|
-
|
|
769
|
+
U,
|
|
750
770
|
{
|
|
751
771
|
category: "text",
|
|
752
772
|
Size: "sm",
|
|
753
773
|
bold: "medium",
|
|
754
774
|
onClick: () => {
|
|
755
|
-
var
|
|
756
|
-
e.onAction && e.onAction((
|
|
775
|
+
var d;
|
|
776
|
+
e.onAction && e.onAction((d = o.current) == null ? void 0 : d.value);
|
|
757
777
|
},
|
|
758
778
|
children: e.actionLabel
|
|
759
779
|
}
|
|
@@ -960,22 +980,22 @@ const on = Ue;
|
|
|
960
980
|
ln.exports = function(o) {
|
|
961
981
|
if (typeof o != "string")
|
|
962
982
|
return;
|
|
963
|
-
const
|
|
964
|
-
if (Object.prototype.hasOwnProperty.call(on,
|
|
965
|
-
return on[
|
|
983
|
+
const d = o.toUpperCase();
|
|
984
|
+
if (Object.prototype.hasOwnProperty.call(on, d))
|
|
985
|
+
return on[d];
|
|
966
986
|
};
|
|
967
987
|
ln.exports.currencySymbolMap = on;
|
|
968
988
|
var Pe = ln.exports;
|
|
969
989
|
const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
970
|
-
const [o,
|
|
990
|
+
const [o, d] = I(""), [l, v] = I("USD"), [h, g] = I([]), f = J.useRef(null);
|
|
971
991
|
Se(() => {
|
|
972
|
-
const
|
|
973
|
-
|
|
992
|
+
const m = [...new Set(Object.values(cn).map((A) => A.currency))];
|
|
993
|
+
g(m);
|
|
974
994
|
}, []);
|
|
975
|
-
const
|
|
976
|
-
|
|
977
|
-
}, D = (
|
|
978
|
-
|
|
995
|
+
const s = (m) => {
|
|
996
|
+
d(m.target.value);
|
|
997
|
+
}, D = (m) => {
|
|
998
|
+
v(m.target.value);
|
|
979
999
|
};
|
|
980
1000
|
return /* @__PURE__ */ t.jsx("div", { className: "currency-input-container", children: /* @__PURE__ */ t.jsxs(
|
|
981
1001
|
"div",
|
|
@@ -985,23 +1005,23 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
985
1005
|
"data-error": e.errExists,
|
|
986
1006
|
style: { ...e.style, ...e.sx },
|
|
987
1007
|
children: [
|
|
988
|
-
/* @__PURE__ */ t.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ t.jsx(
|
|
1008
|
+
/* @__PURE__ */ t.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ t.jsx(U, { category: "text", Size: "sm", bold: "semibold", children: xe(l) || "$" }) }),
|
|
989
1009
|
/* @__PURE__ */ t.jsx(
|
|
990
1010
|
"input",
|
|
991
1011
|
{
|
|
992
1012
|
type: "text",
|
|
993
1013
|
placeholder: "amount",
|
|
994
1014
|
style: { marginLeft: "12px" },
|
|
995
|
-
onChange:
|
|
1015
|
+
onChange: s,
|
|
996
1016
|
disabled: e.disabled,
|
|
997
|
-
ref:
|
|
1017
|
+
ref: f,
|
|
998
1018
|
...e.props
|
|
999
1019
|
}
|
|
1000
1020
|
),
|
|
1001
1021
|
/* @__PURE__ */ t.jsx("div", { className: "grey-box grey-right-box", children: /* @__PURE__ */ t.jsx(
|
|
1002
1022
|
"select",
|
|
1003
1023
|
{
|
|
1004
|
-
value:
|
|
1024
|
+
value: l,
|
|
1005
1025
|
onChange: D,
|
|
1006
1026
|
className: "currency-select",
|
|
1007
1027
|
style: {
|
|
@@ -1011,7 +1031,7 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1011
1031
|
border: "none",
|
|
1012
1032
|
background: "transparent"
|
|
1013
1033
|
},
|
|
1014
|
-
children:
|
|
1034
|
+
children: h.map((m) => /* @__PURE__ */ t.jsx("option", { value: m, children: m }, m))
|
|
1015
1035
|
}
|
|
1016
1036
|
) })
|
|
1017
1037
|
]
|
|
@@ -1085,7 +1105,7 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1085
1105
|
"data-error": e.errExists,
|
|
1086
1106
|
style: { ...e.style, ...e.sx },
|
|
1087
1107
|
children: [
|
|
1088
|
-
/* @__PURE__ */ t.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ t.jsx(
|
|
1108
|
+
/* @__PURE__ */ t.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ t.jsx(U, { category: "text", Size: "sm", bold: "medium", children: "https://" }) }),
|
|
1089
1109
|
/* @__PURE__ */ t.jsx(
|
|
1090
1110
|
"input",
|
|
1091
1111
|
{
|
|
@@ -1224,59 +1244,61 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1224
1244
|
}, He = (e) => /* @__PURE__ */ Ln.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ Ln.createElement("path", { d: "M13.5306 8.53065L8.5306 13.5307C8.46083 13.6004 8.37801 13.6558 8.28686 13.6935C8.19571 13.7313 8.09801 13.7507 7.99935 13.7507C7.90069 13.7507 7.80299 13.7313 7.71184 13.6935C7.62069 13.6558 7.53786 13.6004 7.4681 13.5307C7.39833 13.4609 7.34299 13.3781 7.30524 13.2869C7.26748 13.1958 7.24805 13.0981 7.24805 12.9994C7.24805 12.9007 7.26748 12.803 7.30524 12.7119C7.34299 12.6207 7.39833 12.5379 7.4681 12.4682L12.4681 7.46815C12.5379 7.39839 12.6207 7.34304 12.7118 7.30529C12.803 7.26753 12.9007 7.2481 12.9993 7.2481C13.098 7.2481 13.1957 7.26753 13.2869 7.30529C13.378 7.34304 13.4608 7.39839 13.5306 7.46815C13.6004 7.53791 13.6557 7.62074 13.6935 7.71189C13.7312 7.80304 13.7506 7.90074 13.7506 7.9994C13.7506 8.09806 13.7312 8.19576 13.6935 8.28691C13.6557 8.37806 13.6004 8.46089 13.5306 8.53065ZM12.5306 1.96815C12.4609 1.89823 12.3781 1.84275 12.287 1.8049C12.1958 1.76704 12.0981 1.74756 11.9993 1.74756C11.9006 1.74756 11.8029 1.76704 11.7117 1.8049C11.6206 1.84275 11.5378 1.89823 11.4681 1.96815L1.9681 11.4682C1.8272 11.609 1.74805 11.8001 1.74805 11.9994C1.74805 12.1987 1.8272 12.3898 1.9681 12.5307C2.10899 12.6715 2.30009 12.7507 2.49935 12.7507C2.69861 12.7507 2.8897 12.6715 3.0306 12.5307L12.5306 3.03065C12.6003 2.961 12.6556 2.87828 12.6934 2.78723C12.7311 2.69618 12.7506 2.59859 12.7506 2.50003C12.7506 2.40146 12.7311 2.30387 12.6934 2.21282C12.6556 2.12177 12.6003 2.03905 12.5306 1.9694V1.96815Z", fill: "#717076" })), Ze = ({
|
|
1225
1245
|
size: e = "lg",
|
|
1226
1246
|
designType: o = "default",
|
|
1227
|
-
disabled:
|
|
1228
|
-
label:
|
|
1229
|
-
errExists:
|
|
1247
|
+
disabled: d = !1,
|
|
1248
|
+
label: l = "",
|
|
1249
|
+
errExists: v = !1,
|
|
1250
|
+
errorMsg: h = "",
|
|
1230
1251
|
placeholder: g,
|
|
1231
|
-
leftIcon:
|
|
1232
|
-
rightIcon:
|
|
1233
|
-
style:
|
|
1234
|
-
onAction:
|
|
1235
|
-
...
|
|
1252
|
+
leftIcon: f,
|
|
1253
|
+
rightIcon: s,
|
|
1254
|
+
style: D,
|
|
1255
|
+
onAction: m,
|
|
1256
|
+
...A
|
|
1236
1257
|
}) => {
|
|
1237
|
-
const
|
|
1258
|
+
const R = {
|
|
1238
1259
|
designType: o,
|
|
1239
1260
|
placeholder: g,
|
|
1240
|
-
disabled:
|
|
1241
|
-
errExists:
|
|
1242
|
-
leftIcon:
|
|
1243
|
-
rightIcon:
|
|
1244
|
-
style:
|
|
1245
|
-
onAction:
|
|
1261
|
+
disabled: d,
|
|
1262
|
+
errExists: v,
|
|
1263
|
+
leftIcon: f,
|
|
1264
|
+
rightIcon: s,
|
|
1265
|
+
style: D,
|
|
1266
|
+
onAction: m,
|
|
1246
1267
|
// application if type is action
|
|
1247
|
-
props:
|
|
1268
|
+
props: A
|
|
1248
1269
|
};
|
|
1249
1270
|
return /* @__PURE__ */ t.jsxs("div", { children: [
|
|
1250
|
-
|
|
1251
|
-
/* @__PURE__ */ t.jsx(Ve, { ...
|
|
1271
|
+
l && /* @__PURE__ */ t.jsx(U, { category: "text", Size: "sm", bold: "semibold", children: l }),
|
|
1272
|
+
/* @__PURE__ */ t.jsx(Ve, { ...R }),
|
|
1273
|
+
v && /* @__PURE__ */ t.jsx("p", { className: "error-message-input", children: h })
|
|
1252
1274
|
] });
|
|
1253
1275
|
}, $e = ({
|
|
1254
1276
|
placeholder: e,
|
|
1255
1277
|
disabled: o = !1,
|
|
1256
|
-
errExists:
|
|
1257
|
-
label:
|
|
1258
|
-
counterVisibility:
|
|
1259
|
-
...
|
|
1278
|
+
errExists: d = !1,
|
|
1279
|
+
label: l,
|
|
1280
|
+
counterVisibility: v = !0,
|
|
1281
|
+
...h
|
|
1260
1282
|
}) => {
|
|
1261
|
-
const [
|
|
1262
|
-
D((
|
|
1263
|
-
const
|
|
1264
|
-
return
|
|
1283
|
+
const [g, f] = J.useState(""), [s, D] = I(h.rows || 8), m = (A) => {
|
|
1284
|
+
D((R) => {
|
|
1285
|
+
const B = A === "down" ? R + 1 : R - 1;
|
|
1286
|
+
return B < 2 ? 2 : B;
|
|
1265
1287
|
});
|
|
1266
1288
|
};
|
|
1267
1289
|
return /* @__PURE__ */ t.jsxs("div", { children: [
|
|
1268
|
-
/* @__PURE__ */ t.jsx(
|
|
1269
|
-
/* @__PURE__ */ t.jsxs("div", { className: "text-area-container", "data-error":
|
|
1290
|
+
/* @__PURE__ */ t.jsx(U, { category: "text", Size: "sm", bold: "bold", children: l }),
|
|
1291
|
+
/* @__PURE__ */ t.jsxs("div", { className: "text-area-container", "data-error": d, children: [
|
|
1270
1292
|
/* @__PURE__ */ t.jsx(
|
|
1271
1293
|
"textarea",
|
|
1272
1294
|
{
|
|
1273
1295
|
placeholder: e || "Enter your text here...",
|
|
1274
|
-
maxLength:
|
|
1296
|
+
maxLength: v ? 300 : void 0,
|
|
1275
1297
|
disabled: o,
|
|
1276
|
-
...
|
|
1277
|
-
rows:
|
|
1278
|
-
onChange: (
|
|
1279
|
-
|
|
1298
|
+
...h,
|
|
1299
|
+
rows: s,
|
|
1300
|
+
onChange: (A) => {
|
|
1301
|
+
f(A.target.value), h.onChange && h.onChange(A);
|
|
1280
1302
|
},
|
|
1281
1303
|
style: {
|
|
1282
1304
|
width: "100%",
|
|
@@ -1286,7 +1308,7 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1286
1308
|
fontFamily: 'var(--font-family, "Plus Jakarta Sans", sans-serif)',
|
|
1287
1309
|
// fontWeight: "600"
|
|
1288
1310
|
// props.style
|
|
1289
|
-
...
|
|
1311
|
+
...h.style
|
|
1290
1312
|
}
|
|
1291
1313
|
}
|
|
1292
1314
|
),
|
|
@@ -1299,21 +1321,21 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1299
1321
|
alignItems: "center"
|
|
1300
1322
|
},
|
|
1301
1323
|
children: [
|
|
1302
|
-
|
|
1303
|
-
|
|
1324
|
+
v && /* @__PURE__ */ t.jsxs(U, { category: "text", Size: "sm", bold: "medium", children: [
|
|
1325
|
+
g.length,
|
|
1304
1326
|
"/300"
|
|
1305
1327
|
] }),
|
|
1306
1328
|
/* @__PURE__ */ t.jsx(
|
|
1307
1329
|
He,
|
|
1308
1330
|
{
|
|
1309
1331
|
style: { cursor: "ns-resize", marginLeft: "auto" },
|
|
1310
|
-
onMouseDown: (
|
|
1311
|
-
let
|
|
1312
|
-
const
|
|
1313
|
-
const
|
|
1314
|
-
if (Math.abs(
|
|
1315
|
-
const E =
|
|
1316
|
-
|
|
1332
|
+
onMouseDown: (A) => {
|
|
1333
|
+
let R = A.clientY;
|
|
1334
|
+
const B = 10, O = (_) => {
|
|
1335
|
+
const F = _.clientY - R;
|
|
1336
|
+
if (Math.abs(F) > B) {
|
|
1337
|
+
const E = F > 0 ? "down" : "up";
|
|
1338
|
+
m(E), R = _.clientY;
|
|
1317
1339
|
}
|
|
1318
1340
|
}, H = () => {
|
|
1319
1341
|
document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", H);
|
|
@@ -1330,69 +1352,69 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1330
1352
|
}, Je = ({
|
|
1331
1353
|
size: e = "md",
|
|
1332
1354
|
disabled: o = !1,
|
|
1333
|
-
children:
|
|
1334
|
-
...
|
|
1355
|
+
children: d,
|
|
1356
|
+
...l
|
|
1335
1357
|
}) => {
|
|
1336
|
-
const [
|
|
1337
|
-
|
|
1358
|
+
const [v, h] = I(l.defaultChecked || !1), g = () => {
|
|
1359
|
+
h(!v), l.onChange && l.onChange();
|
|
1338
1360
|
};
|
|
1339
1361
|
return /* @__PURE__ */ t.jsxs("label", { className: "blinq-checkbox", children: [
|
|
1340
1362
|
/* @__PURE__ */ t.jsx(
|
|
1341
1363
|
"input",
|
|
1342
1364
|
{
|
|
1343
1365
|
type: "checkbox",
|
|
1344
|
-
checked:
|
|
1345
|
-
onChange:
|
|
1366
|
+
checked: v,
|
|
1367
|
+
onChange: g,
|
|
1346
1368
|
"data-size": e,
|
|
1347
1369
|
disabled: o,
|
|
1348
|
-
...
|
|
1370
|
+
...l
|
|
1349
1371
|
}
|
|
1350
1372
|
),
|
|
1351
1373
|
/* @__PURE__ */ t.jsx("span", { className: "checkmark" }),
|
|
1352
|
-
|
|
1374
|
+
d
|
|
1353
1375
|
] });
|
|
1354
1376
|
}, ze = ({
|
|
1355
1377
|
size: e = "md",
|
|
1356
1378
|
disabled: o = !1,
|
|
1357
|
-
children:
|
|
1358
|
-
...
|
|
1379
|
+
children: d,
|
|
1380
|
+
...l
|
|
1359
1381
|
}) => {
|
|
1360
|
-
const [
|
|
1361
|
-
|
|
1382
|
+
const [v, h] = I(l.checked || !1), g = () => {
|
|
1383
|
+
h(!v), l.onChange && l.onChange();
|
|
1362
1384
|
};
|
|
1363
1385
|
return /* @__PURE__ */ t.jsxs("label", { className: "blinq-radio-button", children: [
|
|
1364
1386
|
/* @__PURE__ */ t.jsx(
|
|
1365
1387
|
"input",
|
|
1366
1388
|
{
|
|
1367
1389
|
type: "radio",
|
|
1368
|
-
checked:
|
|
1369
|
-
onChange:
|
|
1390
|
+
checked: v,
|
|
1391
|
+
onChange: g,
|
|
1370
1392
|
"data-size": e,
|
|
1371
1393
|
disabled: o,
|
|
1372
|
-
...
|
|
1394
|
+
...l
|
|
1373
1395
|
}
|
|
1374
1396
|
),
|
|
1375
1397
|
/* @__PURE__ */ t.jsx("span", { className: "checkmark" }),
|
|
1376
|
-
|
|
1398
|
+
d
|
|
1377
1399
|
] });
|
|
1378
1400
|
}, Xe = ({
|
|
1379
1401
|
left: e,
|
|
1380
1402
|
right: o,
|
|
1381
|
-
onToggle:
|
|
1382
|
-
value:
|
|
1383
|
-
customToggleSwitchs:
|
|
1403
|
+
onToggle: d,
|
|
1404
|
+
value: l,
|
|
1405
|
+
customToggleSwitchs: v
|
|
1384
1406
|
}) => {
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1407
|
+
const h = (g, f) => {
|
|
1408
|
+
f.stopPropagation(), d(g);
|
|
1387
1409
|
};
|
|
1388
1410
|
return /* @__PURE__ */ t.jsxs("div", { className: "toggle-switch", children: [
|
|
1389
1411
|
/* @__PURE__ */ t.jsx(
|
|
1390
1412
|
"div",
|
|
1391
1413
|
{
|
|
1392
|
-
className: `toggle-option ${
|
|
1393
|
-
onClick: (
|
|
1414
|
+
className: `toggle-option ${l === e ? "active" : ""}`,
|
|
1415
|
+
onClick: (g) => h(e, g),
|
|
1394
1416
|
children: /* @__PURE__ */ t.jsx(
|
|
1395
|
-
|
|
1417
|
+
U,
|
|
1396
1418
|
{
|
|
1397
1419
|
bold: "bold",
|
|
1398
1420
|
color: "textSecondary",
|
|
@@ -1406,10 +1428,10 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1406
1428
|
/* @__PURE__ */ t.jsx(
|
|
1407
1429
|
"div",
|
|
1408
1430
|
{
|
|
1409
|
-
className: `toggle-option ${
|
|
1410
|
-
onClick: (
|
|
1431
|
+
className: `toggle-option ${l === o ? "active" : ""}`,
|
|
1432
|
+
onClick: (g) => h(o, g),
|
|
1411
1433
|
children: /* @__PURE__ */ t.jsx(
|
|
1412
|
-
|
|
1434
|
+
U,
|
|
1413
1435
|
{
|
|
1414
1436
|
bold: "bold",
|
|
1415
1437
|
color: "textSecondary",
|
|
@@ -1420,30 +1442,30 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
|
|
|
1420
1442
|
)
|
|
1421
1443
|
}
|
|
1422
1444
|
),
|
|
1423
|
-
|
|
1445
|
+
v && v.map(({ text: g, place: f }) => /* @__PURE__ */ t.jsx(
|
|
1424
1446
|
"div",
|
|
1425
1447
|
{
|
|
1426
|
-
className: `toggle-option ${
|
|
1427
|
-
onClick: (
|
|
1448
|
+
className: `toggle-option ${l === f ? "active" : ""}`,
|
|
1449
|
+
onClick: (s) => h(f, s),
|
|
1428
1450
|
children: /* @__PURE__ */ t.jsx(
|
|
1429
|
-
|
|
1451
|
+
U,
|
|
1430
1452
|
{
|
|
1431
1453
|
bold: "bold",
|
|
1432
1454
|
color: "textSecondary",
|
|
1433
1455
|
category: "text",
|
|
1434
1456
|
Size: "sm",
|
|
1435
|
-
children:
|
|
1457
|
+
children: g
|
|
1436
1458
|
}
|
|
1437
1459
|
)
|
|
1438
1460
|
},
|
|
1439
|
-
|
|
1461
|
+
f
|
|
1440
1462
|
))
|
|
1441
1463
|
] });
|
|
1442
1464
|
};
|
|
1443
1465
|
function qe({
|
|
1444
1466
|
showFirst: e,
|
|
1445
1467
|
firstComponent: o,
|
|
1446
|
-
secondComponent:
|
|
1468
|
+
secondComponent: d
|
|
1447
1469
|
}) {
|
|
1448
1470
|
return /* @__PURE__ */ t.jsxs(
|
|
1449
1471
|
"div",
|
|
@@ -1478,7 +1500,7 @@ function qe({
|
|
|
1478
1500
|
display: "flex",
|
|
1479
1501
|
alignItems: "center"
|
|
1480
1502
|
},
|
|
1481
|
-
children:
|
|
1503
|
+
children: d
|
|
1482
1504
|
}
|
|
1483
1505
|
)
|
|
1484
1506
|
]
|
|
@@ -1499,7 +1521,7 @@ export {
|
|
|
1499
1521
|
$e as CustomTextArea,
|
|
1500
1522
|
Xe as CustomToggleSwitch,
|
|
1501
1523
|
qe as Transitioner,
|
|
1502
|
-
|
|
1524
|
+
U as TypographyCustom,
|
|
1503
1525
|
na as isTextLarge,
|
|
1504
1526
|
Qe as textShortner
|
|
1505
1527
|
};
|